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

 Copyright Google LLC All Rights Reserved.

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

 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.
*/
/*
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var g,aa=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,aa);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b);this.reportErrorToServer=!0},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");aa.call(this,c+a[d])},ba=function(a,b){if(a)throw Error("u");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,k,q,t;b<c;)h=a[b++],128>h?e.push(h):224>h?b>=c?ba(d,e):(k=a[b++],194>h||128!==(k&192)?(b--,ba(d,e)):e.push((h&31)<<6|k&63)):240>h?b>=c-1?ba(d,e):(k=a[b++],128!==(k&192)||224===h&&160>k||237===h&&160<=k||128!==((q=a[b++])&192)?(b--,ba(d,e)):e.push((h&15)<<12|(k&63)<<6|q&63)):244>=h?b>=c-2?ba(d,e):(k=a[b++],128!==(k&192)||0!==(h<<28)+(k-144)>>30||128!==((q=a[b++])&192)||128!==((t=a[b++])&192)?(b--,ba(d,e)):(h=(h&7)<<18|(k&63)<<12|(q&63)<<6|t&63,h-=65536,e.push((h>>10&1023)+55296,(h&1023)+
56320))):ba(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("v");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("v");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},da=function(a){ca.setTimeout(function(){throw a;},0)},ea=function(){var a=ca.navigator;return a&&(a=a.userAgent)?a:""},laa=function(a){return fa?ha?ha.brands.some(function(b){return(b=b.brand)&&ia(b,a)}):!1:!1},ka=function(a){return ia(ea(),a)},ma=function(){return fa?!!ha&&0<ha.brands.length:!1},maa=function(){return ma()?!1:ka("Opera")},naa=function(){return ma()?
!1:ka("Trident")||ka("MSIE")},oaa=function(){return ka("Firefox")||ka("FxiOS")},qaa=function(){return ka("Safari")&&!(paa()||(ma()?0:ka("Coast"))||maa()||(ma()?0:ka("Edge"))||(ma()?laa("Microsoft Edge"):ka("Edg/"))||(ma()?laa("Opera"):ka("OPR"))||oaa()||ka("Silk")||ka("Android"))},paa=function(){return ma()?laa("Chromium"):(ka("Chrome")||ka("CriOS"))&&!(ma()?0:ka("Edge"))||ka("Silk")},raa=function(){return ka("Android")&&!(paa()||oaa()||maa()||ka("Silk"))},saa=function(){var a=ea();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(ma()){var a=ha.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])},na=function(){return fa?!!ha&&!!ha.platform:!1},uaa=function(){return na()?"Android"===ha.platform:ka("Android")},vaa=function(){return ka("iPhone")&&!ka("iPod")&&!ka("iPad")},pa=function(){return vaa()||ka("iPad")||ka("iPod")},waa=function(){return na()?"macOS"===ha.platform:ka("Macintosh")},qa=function(a){return a[a.length-1]},xaa=function(a,b){var c=0;ra(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},sa=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},ua=function(a,b){b=zaa(a,b);var c;(c=0<=b)&&ta(a,b);return c},ta=function(a,b){Array.prototype.splice.call(a,b,1)},va=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&&ta(a,b)},wa=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(xa(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 za(q)?"o"+Aa(q):
(typeof q).charAt(0)+q};c=c||d;for(var e=d=0,f={};e<a.length;){var h=a[e++],k=c(h);Object.prototype.hasOwnProperty.call(f,k)||(f[k]=!0,b[d++]=h)}b.length=d},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},
Ba=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?Ca():new Da(a,Ea)},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===Da)return{buffer:Ha(a)||Uaa(),isImmutable:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),isImmutable:!1};throw Error("I");},Yaa=function(){return"function"===typeof BigInt},Ka=function(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&(c=l(Zaa(c,a)),b=c.next().value,a=c.next().value,c=b);Ia=c>>>0;Ja=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},La=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=Ia,b=Ja;b&2147483648?Yaa()?
a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=l(Zaa(a,b)),a=b.next().value,b=b.next().value,a="-"+La(a,b)):a=La(a,b);return a},cba=function(a){if(16>a.length)Ka(Number(a));else if(Yaa())a=BigInt(a),Ia=Number(a&BigInt(4294967295))>>>0,Ja=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+("-"===a[0]);Ja=Ia=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)),Ja*=1E6,Ia=1E6*Ia+d,4294967296<=Ia&&(Ja+=Math.trunc(Ia/4294967296),Ja>>>=0,Ia>>>=0);b&&(b=l(Zaa(Ia,Ja)),a=b.next().value,
b=b.next().value,Ia=a,Ja=b)}},Zaa=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]},Ma=function(a){return Array.prototype.slice.call(a)},dba=function(a){return"function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():a},eba=function(a){var b=Oa(a);1!==(b&1)&&(Object.isFrozen(a)&&(a=Ma(a)),Qa(a,b|1))},Ra=function(a,b,c){return c?a|b:a&~b},gba=function(){var a=[];fba(a,1);return a},Sa=function(a){return!!(Oa(a)&2)},Ua=function(a){fba(a,34);return a},hba=function(a){fba(a,32);return a},iba=function(a,
b){Qa(b,(a|0)&-14591)},jba=function(a,b){Qa(b,(a|34)&-14557)},kba=function(a){a=a>>14&1023;return 0===a?536870912:a},Va=function(a){return+!!(a&512)-1},mba=function(a){return!(!a||"object"!==typeof a||a.mapPrototypeMarker!==lba)},Xa=function(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object},$a=function(a,b,c,d){if(null==a){if(!c)throw Error();}else if("string"===typeof a)a=a?new Da(a,Ea):Ca();else if(a.constructor!==Da)if(Ba(a))a=a.length?new Da(d?a:new Uint8Array(a),
Ea):Ca();else{if(!b)throw Error();a=void 0}return a},ab=function(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=Oa(a);if(d&1)return!0;if(!(b&&(Array.isArray(b)?b.includes(c):b.has(c))))return!1;Qa(a,d|1);return!0},bb=function(a){if(a&2)throw Error();},db=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();},oba=function(a,b){(b=eb?b[eb]:void 0)&&(a[eb]=Ma(b))},qba=function(a){var b=a.repeatedFields;return b?
Array.isArray(b)?a.repeatedFields=new Set(b):b:pba||(pba=new Set)},rba=function(a){var b=a.mapFields;return b?Array.isArray(b)?a.mapFields=new Set(b):b:pba||(pba=new Set)},fb=function(){return sba||(sba=Symbol())},uba=function(){var a=Error();tba(a,"incident");da(a)},hb=function(a){a=Error(a);tba(a,"warning");return a},vba=function(a){if("number"!==typeof a)throw Error("J`"+typeof a+"`"+a);return a},ib=function(a){return null==a?a:vba(a)},wba=function(a){if(null==a||"number"===typeof a)return a;if("NaN"===
a||"Infinity"===a||"-Infinity"===a)return Number(a)},xba=function(a){if("boolean"!==typeof a)throw Error("K`"+jb(a)+"`"+a);return a},kb=function(a){return null==a?a:xba(a)},yba=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:zba.test(a)},Aba=function(a){if(!Number.isFinite(a))throw hb("enum");return a|0},Bba=function(a){return null==a?a:Aba(a)},Cba=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},nb=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},Dba=function(){if(!Number.isFinite(0))throw hb("uint32");return 0},Eba=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},ob=function(a,
b){b=!!b;if(!lb(a))throw hb("int64");return"string"===typeof a?Fba(a):b?Gba(a):Hba(a)},qb=function(a){return null==a?a:ob(a)},Iba=function(a){return"-"===a[0]?!1:20>a.length?!0:20===a.length&&184467>Number(a.substring(0,6))},Jba=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))},Kba=function(a){if(0>a){Ka(a);var b=La(Ia,Ja);a=Number(b);return Number.isSafeInteger(a)?a:b}if(Iba(String(a)))return a;
Ka(a);return 4294967296*Ja+(Ia>>>0)},Hba=function(a){a=Math.trunc(a);Number.isSafeInteger(a)||(Ka(a),a=$aa(Ia,Ja));return a},Lba=function(a){a=Math.trunc(a);return 0<=a&&Number.isSafeInteger(a)?a:Kba(a)},Gba=function(a){a=Math.trunc(a);if(Number.isSafeInteger(a))a=String(a);else{var b=String(a);Jba(b)?a=b:(Ka(a),a=bba())}return a},Mba=function(a){a=Math.trunc(a);if(0<=a&&Number.isSafeInteger(a))a=String(a);else{var b=String(a);Iba(b)?a=b:(Ka(a),a=La(Ia,Ja))}return a},Fba=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));Jba(a)||(cba(a),a=bba());return a},Nba=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));Iba(a)||(cba(a),a=La(Ia,Ja));return a},Oba=function(a){if(null==a)return a;if(lb(a)){var b;"number"===typeof a?b=Hba(a):b=Fba(a);return b}},Pba=function(a,b){b=void 0===b?!1:b;if(null==a)return a;if(lb(a))return"string"===typeof a?Fba(a):
b?Gba(a):Hba(a)},Qba=function(a){var b=!!b;if(!lb(a))throw hb("uint64");return"string"===typeof a?Nba(a):b?Mba(a):Lba(a)},rb=function(a){if("string"!==typeof a)throw Error();return a},Rba=function(a){if(null!=a&&"string"!==typeof a)throw Error();return a},Sba=function(a){return null==a||"string"===typeof a?a:void 0},Uba=function(a,b,c,d){if(null!=a&&"object"===typeof a&&a.messagePrototypeMarker===tb)return a;if(!Array.isArray(a))return c?d&2?Tba(b):new b:void 0;var e=c=Oa(a);0===e&&(e|=d&32);e|=d&
2;e!==c&&Qa(a,e);return new b(a)},Tba=function(a){var b=a[Vba];if(b)return b;b=new a;Ua(b.internalArray_);return a[Vba]=b},Wba=function(a,b,c){if(b)return xba(a);var d;return null!=(d=yba(a))?d:c?!1:void 0},Xba=function(a,b,c){a=b?mb(a):nb(a);return null==a?c?0:void 0:a|0},Yba=function(a,b,c){a=b?ob(a):Oba(a);b=null==a?c?0:void 0:a;return"string"===typeof b&&(c=+b,Number.isSafeInteger(c))?c:b},ub=function(a,b,c){if(b)return rb(a);var d;return null!=(d=Sba(a))?d:c?"":void 0},Zba=function(a,b,c){a=
b?Aba(a):Cba(a);return null==a?c?0:void 0:a},aca=function(a,b){$ba=b;a=new a(b);$ba=void 0;return a},dca=function(a){switch(typeof a){case "boolean":return bca||(bca=[0,void 0,!0]);case "number":return 0<a?void 0:0===a?cca||(cca=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}},m=function(a,b,c){null==a&&(a=$ba);$ba=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();d=Oa(a);if(d&64)return a;d|=64;if(c&&
(d|=512,c!==a[0]))throw Error();a:{c=a;var e=c.length;if(e){var f=e-1;if(Xa(c[f])){d|=256;b=f-Va(d);if(1024<=b)throw Error();d=d&-16760833|(b&1023)<<14;break a}}if(b){b=Math.max(b,e-Va(d));if(1024<b)throw Error();d=d&-16760833|(b&1023)<<14}}}Qa(a,d);return a},eca=function(a,b){if("string"===typeof b)try{b=Raa(b)}catch(c){return!1}return Ba(b)&&Vaa(a,b)},fca=function(a,b){if(a.messagePrototypeMarker===tb){var c=a.constructor.repeatedFields_;a=a.internalArray_}else if(!Array.isArray(a))return!1;if(b.messagePrototypeMarker===
tb)c=c||b.constructor.repeatedFields_,b=b.internalArray_;else if(!Array.isArray(b))return!1;var d;return wb(a,b,null!=(d=c)?d:xb)},wb=function(a,b,c){if(a===b||null==a&&null==b)return!0;if(a instanceof yb)return gca(a,b);if(b instanceof yb)return gca(b,a);if(null==a||null==b)return!1;if(a instanceof Da)return hca(a,b);if(b instanceof Da)return hca(b,a);if(Ba(a))return eca(a,b);if(Ba(b))return eca(b,a);var d=typeof a,e=typeof b;if("object"!==d||"object"!==e)return Number.isNaN(a)||Number.isNaN(b)?
String(a)===String(b):"string"===d&&"number"===e||"number"===d&&"string"===e?+a===+b:"boolean"===d&&"number"===e||"number"===d&&"boolean"===e?!a===!b:!1;if(a.messagePrototypeMarker===tb||b.messagePrototypeMarker===tb)return fca(a,b);if(a.constructor!=b.constructor)return!1;if(a.constructor===Array){e=Oa(a);var f=Oa(b),h=a.length,k=b.length,q=Math.max(h,k);d=Va(e|f);var t=!!((e|f)&1);if(!t&&(e=fb(),e=a[e]||b[e])){e.updateForArrayComparison(a,b);var w=rba(e);c=qba(e)}e=h&&a[h-1];f=k&&b[k-1];Xa(e)||
(e=null);Xa(f)||(f=null);h=h-d-+!!e;k=k-d-+!!f;for(var z=0;z<q;z++)if(!ica(z-d,a,e,h,b,f,k,d,c,w,t))return!1;if(e)for(var F in e){q=a;t=e;z=h;var J=b,H=f,O=k,P=d,U=c,Z=w,la=+F;if(!(!Number.isFinite(la)||la<z||la<O||ica(la,q,t,z,J,H,O,P,U,Z,!1)))return!1}if(f)for(var oa in f)if((F=e&&oa in e)||(F=a,q=e,t=h,z=b,J=f,H=k,O=d,P=c,U=w,Z=+oa,F=!Number.isFinite(Z)||Z<t||Z<H?!0:ica(Z,F,q,t,z,J,H,O,P,U,!1)),!F)return!1;return!0}if(a.constructor===Object)return wb([a],[b]);throw Error();},ica=function(a,b,c,
d,e,f,h,k,q,t,w){b=jca(a,b,c,d,k);e=jca(a,e,f,h,k);if(null==e){if(ab(b,q,a))return!0;zb||q||!Array.isArray(b)||b.length||(f=Oa(b),w||f&64||b[fb()]||zb++)}if(null==b){if(ab(e,q,a))return!0;zb||q||!Array.isArray(e)||e.length||(q=Oa(e),w||q&64||e[fb()]||zb++)}if(null==t?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 kca(b,e)}return wb(b,e)},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]},lca=function(a){return a},mca=function(a,b,c,d,e,f){a=Uba(a,d,c,f);e&&(a=Ab(a));return a},nca=function(a){return a},oca=function(a,b){if(a.size!=b.size)return!1;var c=!0;a.forEach(function(d,e){wb(d,b.get(e))||(c=!1)});return c},pca=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},qca=function(a,b){if(null==b)return 0===a.size;if(!Array.isArray(b)||a.size>b.length)return!1;b=Array.prototype.slice.call(b);b.sort(pca);
for(var c=0,d=void 0,e=b.length-1;0<=e;e--){var f=b[e];if(!f||!Array.isArray(f)||2!==f.length)return!1;var h=f[0];if(h!==d){if(!wb(a.get(h),f[1]))return!1;d=h;c++}}return c===a.size},kca=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(pca);b.sort(pca);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,k=a[e];if(!Array.isArray(k))return!1;for(var q=k[0];e<c-1&&(h=a[e+1])[0]===
q;)e++,k=h;h=void 0;var t=b[f];if(!Array.isArray(t))return!1;for(var w=t[0];f<d-1&&(h=b[f+1])[0]===w;)f++,t=h;if(q!==w||!wb(k[1],t[1]))return!1;e++;f++}return e>=c&&f>=d},rca=function(a){return[a,this.get(a)]},uca=function(){return sca||(sca=new yb(Ua([]),void 0,void 0,void 0,tca))},wca=function(a,b){return vca(b)},vca=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))return xca||!ab(a,void 0,9999)?a:void 0;
if(Ba(a))return Maa(a);if(a instanceof Da)return yca(a);if(a instanceof yb)return a=zca(a),Aca||0!==a.length?a:void 0}}return a},Bca=function(a,b,c){var d=Ma(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])}oba(d,a);return d},Dca=function(a,b,c,d,e,f){if(null!=a){if(Array.isArray(a))a=e&&0==a.length&&Oa(a)&1?void 0:f&&Oa(a)&2?a:Cca(a,b,c,void 0!==d,e,f);else if(Xa(a)){var h={},k;for(k in a)h[k]=Dca(a[k],b,c,d,e,f);a=h}else a=
b(a,d);return a}},Cca=function(a,b,c,d,e,f){var h=d||c?Oa(a):0;d=d?!!(h&32):void 0;for(var k=Ma(a),q=0;q<k.length;q++)k[q]=Dca(k[q],b,c,d,e,f);c&&(oba(k,a),c(h,k));return k},Fca=function(a){return Dca(a,Eca,void 0,void 0,!1,!1)},Eca=function(a){return a.messagePrototypeMarker===tb?a.toJSON():a instanceof yb?zca(a,Fca):vca(a)},Gca=function(a,b,c){c=void 0===c?jba:c;if(null!=a){if(Saa&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=Oa(a);if(d&2)return a;b&&(b=0===d||
!!(d&32)&&!(d&64||!(d&16)));return b?Qa(a,(d|34)&-12293):Cca(a,Gca,d&4?jba:c,!0,!1,!0)}a.messagePrototypeMarker===tb?(c=a.internalArray_,d=Bb(c),a=d&2?a:aca(a.constructor,Hca(c,d,!0))):a instanceof yb&&!(a.arrayState&2)&&(c=Ua(Ica(a,Gca)),a=new yb(c,a.valueCtor,a.keyToApi,a.valueToApi));return a}},Hca=function(a,b,c){var d=c||b&2?jba:iba,e=!!(b&32);a=Bca(a,b,function(f){return Gca(f,e,d)});fba(a,32|(c?2:0));return a},Ab=function(a){var b=a.internalArray_,c=Bb(b);return c&2?aca(a.constructor,Hca(b,
c,!1)):a},Kca=function(a,b,c){if(!(4&b))return!0;if(null==c)return!1;0===c&&(4096&b||8192&b)&&5>(a.constructor[Jca]=(a.constructor[Jca]|0)+1)&&uba();return 0===c?!1:!(c&b)},Cb=function(a,b,c,d,e){var f=kba(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&&Qa(a,h);return h}a[c+Va(b)]=d;b&256&&(a=a[a.length-1],c in a&&delete a[c]);return b},Lca=function(a,b,c,d){var e=b&2,f=Db(a,b,c,d);Array.isArray(f)||(f=xb);var h=
!!(b&32),k=Oa(f);0===k&&h&&!e?(k|=33,Qa(f,k)):k&1||(k|=1,Qa(f,k));if(e)k&2||Ua(f),Object.freeze(f);else if(2&k||2048&k)f=Ma(f),e=1,h&&(e|=32),Qa(f,e),Cb(a,b,c,f,d);return f},Hb=function(a,b,c,d,e,f,h){var k=a.internalArray_,q=Bb(k);d=2&q?1:d;f=!!f;var t=Mca(k,q,b,e),w=Oa(t);if(Kca(a,w,h)){if(4&w||Object.isFrozen(t))t=Ma(t),w=Eb(w,q,f),q=Cb(k,q,b,t,e);for(var z=a=0;a<t.length;a++){var F=c(t[a]);null!=F&&(t[z++]=F)}z<a&&(t.length=z);w=Nca(w,q,f);w=Ra(w,20,!0);w=Ra(w,4096,!1);w=Ra(w,8192,!1);h&&(w=Ra(w,
h,!0));Qa(t,w);2&w&&Object.freeze(t)}Gb(w)||(h=w,(c=1===d)?w=Ra(w,2,!0):f||(w=Ra(w,32,!1)),w!==h&&Qa(t,w),c&&Object.freeze(t));2===d&&Gb(w)&&(t=Ma(t),w=Eb(w,q,f),Qa(t,w),Cb(k,q,b,t,e));return t},Mca=function(a,b,c,d){a=Db(a,b,c,d);return Array.isArray(a)?a:xb},Nca=function(a,b,c){0===a&&(a=Eb(a,b,c));return a=Ra(a,1,!0)},Gb=function(a){return!!(2&a)&&!!(4&a)||!!(2048&a)},Oca=function(a){return $a(a,!0,!0,!0)},Pca=function(a){return $a(a,!0,!0,!1)},Qca=function(a,b,c,d,e,f,h){var k=b&2;a:{var q=c,
t=b&2;c=!1;if(null==q){if(t){a=uca();break a}q=[]}else if(q.constructor===yb){if(0==(q.arrayState&2)||t){a=q;break a}q=Ica(q)}else Array.isArray(q)?c=Sa(q):q=[];if(t){if(!q.length){a=uca();break a}c||(c=!0,Ua(q))}else if(c){c=!1;t=Ma(q);for(q=0;q<t.length;q++){var w=t[q]=Ma(t[q]);Array.isArray(w[1])&&(w[1]=Ua(w[1]))}q=t}c||(Oa(q)&64?Ib(q,32):32&b&&hba(q));f=new yb(q,e,f,h);Cb(a,b,d,f,!1);a=f}if(null==a)return a;!k&&e&&(a.callToMutableOnAccess=!0);return a},Jb=function(a,b,c){a=a.internalArray_;var d=
Bb(a);return Qca(a,d,Db(a,d,b),b,void 0,ub,c)},Kb=function(a,b,c,d){a=a.internalArray_;var e=Bb(a);return Qca(a,e,Db(a,e,b),b,c,d)},Lb=function(a,b,c,d){var e=a.internalArray_,f=Bb(e);bb(f);if(null==c)return Cb(e,f,b),a;var h=Oa(c),k=h,q=!!(2&h)||Object.isFrozen(c),t=!q&&!1;if(Kca(a,h))for(h=21,q&&(c=Ma(c),k=0,h=Eb(h,f,!0)),q=0;q<c.length;q++)c[q]=d(c[q]);t&&(c=Ma(c),k=0,h=Eb(h,f,!0));h!==k&&Qa(c,h);Cb(e,f,b,c);return a},Mb=function(a,b,c,d){var e=a.internalArray_,f=Bb(e);bb(f);Cb(e,f,b,("0"===d?
0===Number(c):c===d)?void 0:c);return a},Nb=function(a,b,c,d,e){var f=a.internalArray_,h=Bb(f);bb(h);b=Lca(f,h,b);f=Oa(b);d=c(d,!!(4&f)&&!!(4096&f));void 0!=e?b.splice(e,0,d):b.push(d);return a},Ob=function(a,b,c,d,e,f){bb(Bb(a.internalArray_));b=f(a,b,2,void 0,!0);nba(b,d);f=Oa(b);b[d]=c(e,!!(4&f)&&!!(4096&f));return a},Rca=function(a,b,c){for(var d=0,e=0;e<c.length;e++){var f=c[e];null!=Db(a,b,f)&&(0!==d&&(b=Cb(a,b,d)),d=f)}return d},Sca=function(a,b,c,d){a=a.internalArray_;var e=Bb(a),f=Db(a,e,
c,d);b=Uba(f,b,!1,e);b!==f&&null!=b&&Cb(a,e,c,b,d);return b},Tca=function(a,b,c,d,e,f,h,k){var q=!!(2&b),t=q?1:e;e=1===t;t=2===t;h=!!h;k&&(k=!q);q=Mca(a,b,d,f);var w=Oa(q),z=!!(4&w);if(!z){w=Nca(w,b,h);var F=q,J=b,H=!!(2&w);H&&(J=Ra(J,2,!0));for(var O=!H,P=!0,U=0,Z=0;U<F.length;U++){var la=Uba(F[U],c,!1,J);if(la instanceof c){if(!H){var oa=Sa(la.internalArray_);O&&(O=!oa);P&&(P=oa)}F[Z++]=la}}Z<U&&(F.length=Z);w=Ra(w,4,!0);w=Ra(w,16,P);w=Ra(w,8,O);Qa(F,w);H&&Object.freeze(F)}c=!!(8&w)||e&&!q.length;
if(k&&!c){Gb(w)&&(q=Ma(q),w=Eb(w,b,h),b=Cb(a,b,d,q,f));k=q;c=w;for(F=0;F<k.length;F++)w=k[F],J=Ab(w),w!==J&&(k[F]=J);c=Ra(c,8,!0);c=Ra(c,16,!k.length);Qa(k,c);w=c}Gb(w)||(k=w,e?w=Ra(w,!q.length||16&w&&(!z||32&w)?2:2048,!0):h||(w=Ra(w,32,!1)),w!==k&&Qa(q,w),e&&Object.freeze(q));t&&Gb(w)&&(q=Ma(q),w=Eb(w,b,h),Qa(q,w),Cb(a,b,d,q,f));return q},Eb=function(a,b,c){a=Ra(a,2,!!(2&b));a=Ra(a,32,!!(32&b)&&c);return a=Ra(a,2048,!1)},Uca=function(a,b,c,d,e,f,h){a=a.internalArray_;var k=Bb(a);bb(k);b=Tca(a,k,
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_)?Ib(b,8):Ib(b,16);return c},Pb=function(a,b){return null!=a?a:b},Vca=function(a){return $a(a,!1,!1,!1)},Xca=function(a,b,c){var d=a.constructor.repeatedFields_,e=Bb(c?a.internalArray_:b),f=kba(e),h=!1;if(d&&xca){if(!c){b=Ma(b);var k;if(b.length&&Xa(k=b[b.length-1]))for(h=0;h<d.length;h++)if(d[h]>=f){Object.assign(b[b.length-1]={},k);break}h=!0}f=b;c=!c;k=Bb(a.internalArray_);a=kba(k);k=Va(k);for(var q,
t,w=0;w<d.length;w++)if(t=d[w],t<a){t+=k;var z=f[t];null==z?f[t]=c?xb:gba():c&&z!==xb&&eba(z)}else q||(z=void 0,f.length&&Xa(z=f[f.length-1])?q=z:f.push(q={})),z=q[t],null==q[t]?q[t]=c?xb:gba():c&&z!==xb&&eba(z)}q=b.length;if(!q)return b;var F;if(Xa(f=b[q-1])){a:{var J=f;c={};a=!1;for(var H in J){k=J[H];if(Array.isArray(k)){w=k;if(!Wca&&ab(k,d,+H)||!Aca&&mba(k)&&0===k.size)k=null;k!=w&&(a=!0)}null!=k?c[H]=k:a=!0}if(a){for(var O in c){J=c;break a}J=null}}J!=f&&(F=!0);q--}for(e=Va(e);0<q;q--){H=q-1;
f=b[H];if(!(null==f||!Wca&&ab(f,d,H-e)||!Aca&&mba(f)&&0===f.size))break;var P=!0}if(!F&&!P)return b;var U;h?U=b:U=Array.prototype.slice.call(b,0,q);b=U;h&&(b.length=q);J&&b.push(J);return b},Zca=function(a){return Array.isArray(a)?a[0]instanceof Qb?a:[Yca,a]:[a,void 0]},hda=function(a){var b=a[$ca];if(!b){var c=ada(a),d=bda(a),e=d.deserializeBinaryMessageSet;b=e?function(f,h){return e(f,h,d)}:function(f,h){for(;cda(h)&&4!=h.nextWireType_;){var k=h.nextField_,q=d[k];if(!q){var t=d.extensions;t&&(t=
t[k])&&(q=d[k]=dda(t))}q&&q(h,f,k)||(q=h,k=q.fieldCursor_,eda(q),q.discardUnknownFields?q=void 0:(t=q.decoder_.getCursor()-k,q.decoder_.cursor_=k,q=q.decoder_.readByteString(t)),k=f,q&&(eb||(eb=Symbol()),(t=k[eb])?t.push(q):k[eb]=[q]))}c===fda||c===gda||c.onlySubmessages||(f[fb()]=c)};a[$ca]=b}return b},dda=function(a){a=Zca(a);var b=a[0].$$binaryReaderFn;if(a=a[1]){var c=hda(a),d=bda(a).messageMetadata;return function(e,f,h){return b(e,f,h,d,c)}}return b},ida=function(){},kda=function(a,b){jda(this,
a);jda(this,b)},oda=function(a,b,c,d){a in c&&!(a in d)&&(c=Zca(c[a]),lda(d,a,mda(c[0],c[1])),d[a]?nda(a,d,b):d[a]=null)},jda=function(a,b){for(var c=a.extensions,d=a.messageMetadata[1]?0:-1,e=b.length,f=0;f<e;f++){var h=b[f];if(h&&"object"===typeof h)if(f===e-1&&Xa(h))for(var k in h){var q=+k;if(!Number.isNaN(q)){var t=h[k];t&&"object"===typeof t&&oda(q,t,c,a)}}else oda(f-d,h,c,a)}},lda=function(a,b,c){var d=c[1];if(d){var e=d[pda];var f=e?e.messageMetadata:dca(d[0]);a[b]=null!=e?e:d}f&&f===bca?
(a=a.mapFields||(a.mapFields=[]),Array.isArray(a)?a.push(b):a.add(b)):c[0]&&(a=a.repeatedFields||(a.repeatedFields=[]),Array.isArray(a)?a.push(b):a.add(b))},mda=function(a,b){return[a.$$isRepeated,!b||0<b[0]?void 0:b]},ada=function(a){var b=a[pda];if(b)return b;b=qda(a,a[pda]={},mda,mda,lda);if(b.extensions)b.updateForArrayComparison=kda;else if(b.updateForArrayComparison=ida,!b.repeatedFields&&!b.mapFields){var c=!0,d;for(d in b){isNaN(d)||(c=!1);break}c?(b=dca(a[0])===bca,b=a[pda]=b?gda||(gda={updateForArrayComparison:ida,
messageMetadata:dca(!0)}):fda||(fda={updateForArrayComparison:ida})):b.onlySubmessages=!0}return b},rda=function(a,b){var c=b[a];if(c)return Array.isArray(c)&&(b[a]=c=ada(c)),c},nda=function(a,b,c){var d=rda(a,b);if(d)if(c instanceof yb){var e=rda(2,d);e&&c.forEach(function(f){sda(f.internalArray_,e)})}else if(qba(b).has(a)||rba(b).has(a)){if(Array.isArray(c))for(a=0;a<c.length;a++){b=c[a];if(b instanceof n)b=b.internalArray_;else if(!Array.isArray(b))throw Error();sda(b,d)}}else{if(c instanceof n)c=
c.internalArray_;else if(!Array.isArray(c))throw Error();sda(c,d)}},sda=function(a,b){if(b!==fda&&b!==gda){b.onlySubmessages||(a[fb()]=b);for(var c=a.length,d=b.messageMetadata[1]?0:-1,e=0;e<a.length;e++){var f=a[e];if(f&&"object"===typeof f)if(e===c-1&&Xa(f))for(var h in f){var k=+h;if(!Number.isNaN(k)){var q=f[h];q&&"object"===typeof q&&nda(k,b,q)}}else nda(e-d,b,f)}}},tda=function(a,b,c){a[b]=c},uda=function(a){return Array.isArray(a)&&"number"===typeof a[0]&&0<a[0]},qda=function(a,b,c,d,e){e=
void 0===e?tda:e;b.messageMetadata=dca(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 k={};uda(h);){for(var q=0;q<h.length;q++)k[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 Qb)var w=h;else w=vda,f--;if(w.$$isMsg){h=a[++f];t=a;var z=f;"function"==typeof h&&(h=h(),t[z]=h);t=h}h=a[++f];z=q+1;"number"===
typeof h&&0>h&&(z-=h,h=a[++f]);for(;q<z;q++){var F=k[q];e(b,q,t?d(w,t,F):c(w,F))}}return b},zda=function(a){var b=a[xda];if(!b){var c=Rb(a);b=function(d,e){return yda(d,e,c)};a[xda]=b}return b},Ada=function(a){return a.$$binaryWriterFn},Bda=function(a,b){var c,d,e=a.$$binaryWriterFn;return function(f,h,k){return e(f,h,k,d||(d=Rb(b).messageMetadata),c||(c=zda(b)))}},Rb=function(a){var b=a[Cda];if(b)return b;b=qda(a,a[Cda]={},Ada,Bda);Dda in a&&Cda in a&&(a.length=0);return b},Eda=function(a,b){var c=
a.$$binaryReaderFn;return b?function(d,e,f){return c(d,e,f,b)}:c},Fda=function(a,b,c){var d=a.$$binaryReaderFn,e,f;return function(h,k,q){return d(h,k,q,f||(f=bda(b).messageMetadata),e||(e=hda(b)),c)}},bda=function(a){var b=a[Dda];if(b)return b;ada(a);b=qda(a,a[Dda]={},Eda,Fda);Dda in a&&Cda in a&&(a.length=0);return b},Gda=function(a,b){var c=a[b];if(c)return c;if(c=a.extensions)if(c=c[b]){c=Zca(c);var d=c[0].$$binaryWriterFn;if(c=c[1]){var e=zda(c),f=Rb(c).messageMetadata;c=(c=a.makeMessageSetExtensionWriterFn)?
c(f,e):function(h,k,q){return d(h,k,q,f,e)}}else c=d;return a[b]=c}},yda=function(a,b,c){for(var d=Bb(a),e=Va(d),f=a.length,h=f+(d&256?-1:0),k=d&512?1:0;k<h;k++){var q=a[k];if(null!=q){var t=k-e,w=Gda(c,t);w&&w(b,q,t)}}if(d&256){d=a[f-1];for(var z in d)e=+z,Number.isNaN(e)||(f=d[z],null!=f&&(h=Gda(c,e))&&h(b,f,e))}if(a=eb?a[eb]:void 0)for(Sb(b,b.encoder_.end()),c=0;c<a.length;c++)Sb(b,Ha(a[c])||Uaa())},Tb=function(a,b){return new Qb(a,b,!1,!1)},Ub=function(a,b,c){Cb(a,Bb(a),b,c)},Hda=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){Wb(a,c,2);c=a.encoder_.end();Sb(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_++}},Ida=function(a){null!=a&&(a=a.value_||"",a="string"===typeof a?a:new Uint8Array(a));return a},Lda=function(a,b){return function(c,d){a:{if(Jda.length){var e=Jda.pop();e.setOptions(d);e.decoder_.init(c,void 0,void 0,
d);c=e}else c=new Kda(c,d);try{var f=new a,h=f.internalArray_;hda(b)(h,c);var k=f;break a}finally{c.free()}k=void 0}return k}},Mda=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("M`"+jb(b)+"`"+b);Ua(b);return new a(b)}},Xb=function(a){return function(b){return Nda(a,b)}},Yb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},$b=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Oda=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,
a[d],d,a);return c},Pda=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Qda=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Rda=function(a,b){return null!==a&&b in a},Sda=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c},Tda=function(a,b){return(b=Sda(a,b))&&a[b]},bc=function(a){for(var b in a)return!1;return!0},Uda=function(a){for(var b in a)delete a[b]},cc=function(a,b){b in a&&delete a[b]},Vda=function(a,b){return null!==a&&b in a?a[b]:void 0},
dc=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Xda=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Wda.length;f++)c=Wda[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},Yda=function(a){var b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return Yda.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c},fc=function(a){return a instanceof ec},Zda=function(a,b){return Zone.current.wrap(a,b)},$da=
function(a,b){for(var c=a.length-1;0<=c;c--)"function"===typeof a[c]&&(a[c]=Zda(a[c],b+"_"+c));return a},bea=function(a){for(var b=["getCurrentPosition","watchPosition"],c=a.constructor.name,d={},e=0;e<b.length;d={name$jscomp$147:void 0},e++){d.name$jscomp$147=b[e];var f=a[d.name$jscomp$147];if(f){var h=gc(a,d.name$jscomp$147);aea(h)&&(a[d.name$jscomp$147]=function(k){return function(q){var t=function(){return q.apply(this,$da(arguments,c+"."+k.name$jscomp$147))};hc(t,q);return t}}(d)(f))}}},aea=
function(a){return a?!1===a.writable?!1:!("function"===typeof a.get&&"undefined"===typeof a.set):!0},fea=function(a,b,c){var d=gc(a,b);!d&&c&&gc(c,b)&&(d={enumerable:!0,configurable:!0});if(d&&d.configurable&&(c=ic("on"+b+"patched"),!a.hasOwnProperty(c)||!a[c])){delete d.writable;delete d.value;var e=d.get,f=d.set,h=b.slice(2),k=cea[h];k||(k=cea[h]=ic("ON_PROPERTY"+h));d.set=function(q){var t=this;t||a!==jc||(t=jc);t&&("function"===typeof t[k]&&t.removeEventListener(h,dea),f&&f.call(t,null),t[k]=
q,"function"===typeof q&&t.addEventListener(h,dea,!1))};d.get=function(){var q=this;q||a!==jc||(q=jc);if(!q)return null;var t=q[k];return t?t:e&&(t=e.call(this))?(d.set.call(this,t),"function"===typeof q.removeAttribute&&q.removeAttribute(b),t):null};eea(a,b,d);a[c]=!0}},gea=function(a,b,c){if(b)for(var d=0;d<b.length;d++)fea(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++)fea(a,b[d],c)}},lc=function(a){var b=jc[a];if(b){jc[ic(a)]=b;jc[a]=function(){var e=
$da(arguments,a);switch(e.length){case 0:this[kc]=new b;break;case 1:this[kc]=new b(e[0]);break;case 2:this[kc]=new b(e[0],e[1]);break;case 3:this[kc]=new b(e[0],e[1],e[2]);break;case 4:this[kc]=new b(e[0],e[1],e[2],e[3]);break;default:throw Error("da");}};hc(jc[a],b);var c=new b(function(){}),d;for(d in c)"XMLHttpRequest"===a&&"responseBlob"===d||function(e){"function"===typeof c[e]?jc[a].prototype[e]=function(){return this[kc][e].apply(this[kc],arguments)}:eea(jc[a].prototype,e,{set:function(f){"function"===
typeof f?(this[kc][e]=Zda(f,a+"."+e),hc(this[kc][e],f)):this[kc][e]=f},get:function(){return this[kc][e]}})}(d);for(d in b)"prototype"!==d&&b.hasOwnProperty(d)&&(jc[a][d]=b[d])}},mc=function(a,b,c){for(var d=a;d&&!d.hasOwnProperty(b);)d=hea(d);!d&&a[b]&&(d=a);a=ic(b);var e=null;if(d&&(!(e=d[a])||!d.hasOwnProperty(a))){e=d[a]=d[b];var f=d&&gc(d,b);if(aea(f)){var h=c(e,a,b);d[b]=function(){return h(this,arguments)};hc(d[b],e)}}return e},iea=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=mc(a,b,function(f){return function(h,k){var q=c(h,k);return 0<=q.cbIdx&&"function"===typeof k[q.cbIdx]?Zone.current.scheduleMacroTask(q.name,k[q.cbIdx],q,d,void 0):f.apply(h,k)}})},hc=function(a,b){a[ic("OriginalDelegate")]=b},lea=function(){if(jea)return kea;jea=!0;try{var a=nc.navigator.userAgent;if(-1!==a.indexOf("MSIE ")||-1!==a.indexOf("Trident/")||-1!==a.indexOf("Edge/"))kea=!0}catch(b){}return kea},mea=
function(a,b){var c=(b?b(a):a)+"false";b=(b?b(a):a)+"true";c=oc+c;b=oc+b;pc[a]={};pc[a]["false"]=c;pc[a]["true"]=b},tea=function(a,b,c,d){function e(U,Z,la){if(Z=Z||a.event){U=U||Z.target||a;var oa=U[pc[Z.type][la?"true":"false"]];if(oa){la=[];if(1===oa.length)(Z=F(oa[0],U,Z))&&la.push(Z);else{oa=oa.slice();for(var Fa=0;Fa<oa.length&&(!Z||!0!==Z[nea]);Fa++){var Ta=F(oa[Fa],U,Z);Ta&&la.push(Ta)}}if(1===la.length)throw la[0];Z={};for(U=0;U<la.length;Z={err$jscomp$21:void 0},U++)Z.err$jscomp$21=la[U],
b.nativeScheduleMicroTask(function(Pa){return function(){throw Pa.err$jscomp$21;}}(Z))}}}function f(U,Z){function la(vb,Zb){return!qc&&"object"===typeof vb&&vb?!!vb.capture:qc&&Zb?"boolean"===typeof vb?{capture:vb,passive:!0}:vb?"object"===typeof vb&&!1!==vb.passive?Object.assign({},vb,{passive:!0}):vb:{passive:!0}:vb}if(!U)return!1;var oa=!0;Z&&void 0!==Z.useG&&(oa=Z.useG);var Fa=Z&&Z.vh,Ta=!0;Z&&void 0!==Z.chkDup&&(Ta=Z.chkDup);var Pa=!1;Z&&void 0!==Z.rt&&(Pa=Z.rt);for(var Ya=U;Ya&&!Ya.hasOwnProperty(h);)Ya=
hea(Ya);!Ya&&U[h]&&(Ya=U);if(!Ya||Ya[w])return!1;var sb=Z&&Z.eventNameToString,Na={},ja=Ya[w]=Ya[h],ya=Ya[ic(k)]=Ya[k];U=Ya[ic(q)]=Ya[q];var Ga=Ya[ic(t)]=Ya[t],gb;Z&&Z.prepend&&(gb=Ya[ic(Z.prepend)]=Ya[Z.prepend]);var Wa=function(vb){if(!vb.isRemoved){var Zb=pc[vb.eventName],sc;Zb&&(sc=Zb[vb.capture?"true":"false"]);if(Zb=sc&&vb.target[sc])for(var Vb=0;Vb<Zb.length;Vb++)if(Zb[Vb]===vb){Zb.splice(Vb,1);vb.isRemoved=!0;0===Zb.length&&(vb.allRemoved=!0,vb.target[sc]=null);break}}if(vb.allRemoved)return ya.call(vb.target,
vb.eventName,vb.capture?H:J,vb.options)},zc=function(vb){return ja.call(Na.target,Na.eventName,vb.invoke,Na.options)},cb=function(vb){return gb.call(Na.target,Na.eventName,vb.invoke,Na.options)},pb=function(vb){return ya.call(vb.target,vb.eventName,vb.invoke,vb.options)};zc=oa?function(){if(!Na.isExisting)return ja.call(Na.target,Na.eventName,Na.capture?H:J,Na.options)}:zc;Wa=oa?Wa:pb;pb=function(vb,Zb){var sc=typeof Zb;return"function"===sc&&vb.callback===Zb||"object"===sc&&vb.originalDelegate===
Zb};var Za=Z&&Z.diff?Z.diff:pb,Fb=Zone[ic("UNPATCHED_EVENTS")],ac=a[ic("PASSIVE_EVENTS")];pb=function(vb,Zb,sc,Vb,Pc,Td){Pc=void 0===Pc?!1:Pc;Td=void 0===Td?!1:Td;return function(){var we=this||a,Ig=arguments[0];Z&&Z.transferEventName&&(Ig=Z.transferEventName(Ig));var qt=arguments[1];if(!qt||oea&&"uncaughtException"===Ig)return vb.apply(this,arguments);var NR=!1;if("function"!==typeof qt){if(!qt.handleEvent)return vb.apply(this,arguments);NR=!0}if(!Fa||Fa(vb,qt,we,arguments)){var OR=qc&&!!ac&&-1!==
ac.indexOf(Ig),uk=la(arguments[2],OR),PR=uk&&"object"===typeof uk&&uk.signal&&"object"===typeof uk.signal?uk.signal:void 0;if(null==PR||!PR.aborted){if(Fb)for(var QR=0;QR<Fb.length;QR++)if(Ig===Fb[QR])return OR?vb.call(we,Ig,qt,uk):vb.apply(this,arguments);OR=uk?"boolean"===typeof uk?!0:uk.capture:!1;QR=uk&&"object"===typeof uk?uk.once:!1;var jib=Zone.current,rt=pc[Ig];rt||(mea(Ig,sb),rt=pc[Ig]);var Rw=rt[OR?"true":"false"];rt=we[Rw];var uI=!1;if(rt){if(uI=!0,Ta)for(Rw=0;Rw<rt.length;Rw++)if(Za(rt[Rw],
qt))return}else rt=we[Rw]=[];var wda;Rw=we.constructor.name;var YJa=pea[Rw];YJa&&(wda=YJa[Ig]);wda||(wda=Rw+Zb+(sb?sb(Ig):Ig));Na.options=uk;QR&&(Na.options.once=!1);Na.target=we;Na.capture=OR;Na.eventName=Ig;Na.isExisting=uI;if(uI=oa?qea:void 0)uI.taskData=Na;PR&&(Na.options.signal=void 0);var st=jib.scheduleEventTask(wda,qt,uI,sc,Vb);PR&&(Na.options.signal=PR,vb.call(PR,"abort",function(){st.zone.cancelTask(st)},{once:!0}));Na.target=null;uI&&(uI.taskData=null);QR&&(uk.once=!0);if(qc||"boolean"!==
typeof st.options)st.options=uk;st.target=we;st.capture=OR;st.eventName=Ig;NR&&(st.originalDelegate=qt);Td?rt.unshift(st):rt.push(st);if(Pc)return we}}}};Ya[h]=pb(ja,z,zc,Wa,Pa);gb&&(Ya.prependListener=pb(gb,".prependListener:",cb,Wa,Pa,!0));Ya[k]=function(){var vb=this||a,Zb=arguments[0];Z&&Z.transferEventName&&(Zb=Z.transferEventName(Zb));var sc=arguments[2],Vb=sc?"boolean"===typeof sc?!0:sc.capture:!1;sc=arguments[1];if(!sc)return ya.apply(this,arguments);if(!Fa||Fa(ya,sc,vb,arguments)){var Pc=
pc[Zb],Td;Pc&&(Td=Pc[Vb?"true":"false"]);if(Vb=Td&&vb[Td])for(Pc=0;Pc<Vb.length;Pc++){var we=Vb[Pc];if(Za(we,sc)){Vb.splice(Pc,1);we.isRemoved=!0;0===Vb.length&&(we.allRemoved=!0,vb[Td]=null,"string"===typeof Zb&&(vb[oc+"ON_PROPERTY"+Zb]=null));we.zone.cancelTask(we);if(Pa)return vb;return}}return ya.apply(this,arguments)}};Ya[q]=function(vb){var Zb=this||a,sc=vb;Z&&Z.transferEventName&&(sc=Z.transferEventName(sc));vb=[];Zb=rea(Zb,sb?sb(sc):sc);for(sc=0;sc<Zb.length;sc++){var Vb=Zb[sc];vb.push(Vb.originalDelegate?
Vb.originalDelegate:Vb.callback)}return vb};Ya[t]=function(vb){var Zb=this||a;if(vb){Z&&Z.transferEventName&&(vb=Z.transferEventName(vb));var sc=pc[vb];if(sc){var Vb=Zb[sc["false"]];Zb=Zb[sc["true"]];if(Vb)for(Vb=Vb.slice(),sc=0;sc<Vb.length;sc++){var Pc=Vb[sc];this[k].call(this,vb,Pc.originalDelegate?Pc.originalDelegate:Pc.callback,Pc.options)}if(Zb)for(Zb=Zb.slice(),Vb=0;Vb<Zb.length;Vb++)sc=Zb[Vb],this[k].call(this,vb,sc.originalDelegate?sc.originalDelegate:sc.callback,sc.options)}}else{vb=Object.keys(Zb);
for(Zb=0;Zb<vb.length;Zb++)(Vb=(Vb=sea.exec(vb[Zb]))&&Vb[1])&&"removeListener"!==Vb&&this[t].call(this,Vb);this[t].call(this,"removeListener")}if(Pa)return this};hc(Ya[h],ja);hc(Ya[k],ya);Ga&&hc(Ya[t],Ga);U&&hc(Ya[q],U);return!0}for(var h=d&&d.add||"addEventListener",k=d&&d.rm||"removeEventListener",q=d&&d.listeners||"eventListeners",t=d&&d.rmAll||"removeAllListeners",w=ic(h),z="."+h+":",F=function(U,Z,la){if(!U.isRemoved){var oa=U.callback;"object"===typeof oa&&oa.handleEvent&&(U.callback=function(Pa){return oa.handleEvent(Pa)},
U.originalDelegate=oa);try{U.invoke(U,Z,[la])}catch(Pa){var Fa=Pa}var Ta=U.options;Ta&&"object"===typeof Ta&&Ta.once&&Z[k].call(Z,la.type,U.originalDelegate?U.originalDelegate:U.callback,Ta);return Fa}},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},rea=function(a,b){if(!b){var c=[],d;for(d in a){var e=sea.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=pc[b];c||(mea(b),c=pc[b]);
b=a[c["false"]];a=a[c["true"]];return b?a?b.concat(a):b.slice():a?a.slice():[]},uea=function(a,b){(a=a.Event)&&a.prototype&&b.patchMethod(a.prototype,"stopImmediatePropagation",function(c){return function(d,e){d[nea]=!0;c&&c.apply(d,e)}})},vea=function(a,b){b.patchMethod(a,"queueMicrotask",function(){return function(c,d){Zone.current.scheduleMicroTask("queueMicrotask",d[0])}})},rc=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 k.call(a,t.data.handleId)}var h=null,k=null;b+=d;c+=d;var q={};h=mc(a,b,function(t){return function(w,z){if("function"===typeof z[0]){var F={isPeriodic:"Interval"===d,delay:"Timeout"===d||"Interval"===d?z[1]||0:void 0,args:z},J=z[0];z[0]=function(){try{return J.apply(this,arguments)}finally{F.isPeriodic||("number"===typeof F.handleId?delete q[F.handleId]:F.handleId&&(F.handleId[wea]=null))}};w=Zone.current.scheduleMacroTask(b,z[0],F,e,f);if(!w)return w;z=w.data.handleId;
"number"===typeof z?q[z]=w:z&&(z[wea]=w);z&&z.ref&&z.unref&&"function"===typeof z.ref&&"function"===typeof z.unref&&(w.ref=z.ref.bind(z),w.unref=z.unref.bind(z));return"number"===typeof z||z?z:w}return t.apply(a,z)}});k=mc(a,c,function(t){return function(w,z){w=z[0];if("number"===typeof w)var F=q[w];else(F=w&&w[wea])||(F=w);F&&"string"===typeof F.type?"notScheduled"!==F.state&&(F.cancelFn&&F.data.isPeriodic||0===F.runCount)&&("number"===typeof w?delete q[w]:w&&(w[wea]=null),F.zone.cancelTask(F)):
t.apply(a,z)}})},xea=function(a,b,c,d,e){var f=Zone.__symbol__(d);if(!b[f]){var h=b[f]=b[d];b[d]=function(k,q,t){q&&q.prototype&&e.forEach(function(w){var z=c+"."+d+"::"+w,F=q.prototype;try{if(F.hasOwnProperty(w)){var J=a.ObjectGetOwnPropertyDescriptor(F,w);J&&J.value?(J.value=a.wrapWithCurrentZone(J.value,z),a._redefineProperty(q.prototype,w,J)):F[w]&&(F[w]=a.wrapWithCurrentZone(F[w],z))}else F[w]&&(F[w]=a.wrapWithCurrentZone(F[w],z))}catch(H){}});return h.call(b,k,q,t)};a.attachOriginToPatched(b[d],
h)}},yea=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)})},zea=function(a){return Object.getOwnPropertyNames(a).filter(function(b){return b.startsWith("on")&&2<b.length}).map(function(b){return b.substring(2)})},Gea=function(){Aea=Zone.__symbol__;Bea=Object[Aea("defineProperty")]=Object.defineProperty;Cea=Object[Aea("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor;
Dea=Object.create;tc=Aea("unconfigurables");Object.defineProperty=function(a,b,c){if(a&&a[tc]&&a[tc][b])throw new TypeError("ha`"+b+"`"+a);var d=c.configurable;"prototype"!==b&&(c=Eea(a,b,c));return Fea(a,b,c,d)};Object.defineProperties=function(a,b){Object.keys(b).forEach(function(f){Object.defineProperty(a,f,b[f])});for(var c=l(Object.getOwnPropertySymbols(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0;(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]=Eea(a,c,b[c])});return Dea(a,b)};Object.getOwnPropertyDescriptor=function(a,b){var c=Cea(a,b);c&&a&&a[tc]&&a[tc][b]&&(c.configurable=!1);return c}},Hea=function(a,b,c){var d=c.configurable;c=Eea(a,b,c);return Fea(a,b,c,d)},Eea=function(a,b,c){Object.isFrozen(c)||(c.configurable=!0);c.configurable||(a[tc]||Object.isFrozen(a)||Bea(a,tc,{writable:!0,value:{}}),a[tc]&&(a[tc][b]=
!0));return c},Fea=function(a,b,c,d){try{return Bea(a,b,c)}catch(e){if(c.configurable){"undefined"==typeof d?delete c.configurable:c.configurable=d;try{return Bea(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;}},Iea=
function(a,b){var c=b.getGlobalObjects(),d=c.eventNames,e=c.globalSources,f=c.zoneSymbolEventNames,h=c.TRUE_STR,k=c.FALSE_STR,q=c.ZONE_SYMBOL_PREFIX,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(Z){return"HTML"+Z+"Element"}).concat(t):
a.EventTarget?c.push("EventTarget"):c=t;var z=a.__Zone_disable_IE_check||!1,F=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+k),U=q+(O+h);f[O]={};f[O][k]=P;f[O][h]=U}for(f=0;f<w.length;f++)for(h=
w[f],k=e[h]={},q=0;q<d.length;q++)t=d[q],k[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(Z,la,oa,Fa){if(!z&&J)if(F)try{var Ta=la.toString();if("[object FunctionWrapper]"===Ta||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==Ta)return Z.apply(oa,Fa),!1}catch(Pa){return Z.apply(oa,Fa),!1}else{if(la=la.toString(),"[object FunctionWrapper]"===la||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==
la)return Z.apply(oa,Fa),!1}else if(F)try{la.toString()}catch(Pa){return Z.apply(oa,Fa),!1}return!0},transferEventName:function(Z){return H[Z]||Z}});Zone[b.symbol("patchEventTarget")]=!!a.EventTarget},Jea=function(a,b){var c=a.getGlobalObjects(),d=c.ADD_EVENT_LISTENER_STR,e=c.REMOVE_EVENT_LISTENER_STR,f=b.WebSocket;b.EventTarget||a.patchEventTarget(b,a,[f.prototype]);b.WebSocket=function(k,q){var t=1<arguments.length?new f(k,q):new f(k),w=a.ObjectGetOwnPropertyDescriptor(t,"onmessage");if(w&&!1===
w.configurable){var z=a.ObjectCreate(t);var F=t;[d,e,"send","close"].forEach(function(J){z[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]=z[O])}return t[J].apply(t,H)}})}else z=t;a.patchOnProperties(z,["close","error","message","open"],F);return z};c=b.WebSocket;for(var h in f)c[h]=f[h]},Kea=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},Mea=function(a){for(var b=a.symbol("unbound"),c={},d=0;d<Lea.length;c={onproperty:void 0},
d++){var e=Lea[d];c.onproperty="on"+e;self.addEventListener(e,function(f){return function(h){h=h.target;var k;for(k=h?h.constructor.name+"."+f.onproperty:"unknown."+f.onproperty;h;){if(h[f.onproperty]&&!h[f.onproperty][b]){var q=a.wrapWithCurrentZone(h[f.onproperty],k);q[b]=h[f.onproperty];h[f.onproperty]=q}h=h.parentElement}}}(c),!0)}},uc=function(a){for(var b in a)if(a[b]===uc)return b;throw Error("ia");},vc=function(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}},
wc=function(a){return{providers:a.providers||[],imports:a.imports||[]}},Pea=function(a){var b;(b=a.hasOwnProperty(Nea)?a[Nea]:null)||(b=a.hasOwnProperty(Oea)?a[Oea]:null);return b},Qea=function(a){return(a=a&&(a[Nea]||a[Oea]))?a:null},Tea=function(a){return a&&(a.hasOwnProperty(Rea)||a.hasOwnProperty(Sea))?a[Rea]:null},xc=function(a){return"string"===typeof a?a:null==a?"":String(a)},yc=function(a){if("string"===typeof a)return a;if(Array.isArray(a))return"["+a.map(yc).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)},Uea=function(a,b){return null==a||""===a?null===b?"":b:null==b||""===b?a:a+" "+b},Vea=function(){throw new Ac(-201,!1);},Bc=function(a){var b=Wea;Wea=a;return b},Xea=function(a,b,c){if((a=Pea(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;Vea()},Cc=function(a){a.__forward_ref__=
Cc;a.toString=function(){return yc(this())};return a},Dc=function(a){return Yea(a)?a():a},Yea=function(a){return"function"===typeof a&&a.hasOwnProperty(Zea)&&a.__forward_ref__===Cc},Fc=function(a){var b=Ec;Ec=a;return b},$ea=function(a,b){b=void 0===b?0:b;if(void 0===Ec)throw new Ac(-203,!1);return null===Ec?Xea(a,void 0,b):Ec.get(a,b&8?null:void 0,b)},p=function(a,b){b=void 0===b?0:b;return(Wea||$ea)(Dc(a),b)},Gc=function(a,b){return p(a,afa(void 0===b?0:b))},afa=function(a){return"undefined"===
typeof a||"number"===typeof a?a:0|(a.optional&&8)|(a.host&&1)|(a.self&&2)|(a.skipSelf&&4)},bfa=function(a){for(var b=[],c=0;c<a.length;c++){var d=Dc(a[c]);if(Array.isArray(d)){if(0===d.length)throw new Ac(900,!1);for(var e=void 0,f=0,h=0;h<d.length;h++){var k=d[h],q=k.__NG_DI_FLAG__;"number"===typeof q?-1===q?e=k.token:f|=q:e=k}b.push(p(e,f))}else b.push(p(d))}return b},Hc=function(a,b){a.__NG_DI_FLAG__=b;a.prototype.__NG_DI_FLAG__=b;return a},cfa=function(a,b){for(var c=0,d=a.length;;){c=a.indexOf(b,
c);if(-1===c)return c;if(0===c||32>=a.charCodeAt(c-1)){var e=b.length;if(c+e===d||32>=a.charCodeAt(c+e))return c}c+=1}},dfa=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++}},Ic=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?efa(a,c,e,b[++d]):efa(a,c,e,null))}return a},efa=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)},ffa=function(a,b,c){var d=4,e=a.attrs||[],f;a:{for(f=0;f<e.length;f++){var h=
e[f];if(3===h||4===h||6===h)break a}f=e.length}h=!1;for(var k=0;k<b.length;k++){var q=b[k];if("number"===typeof q){if(!h&&0!==(d&1)&&0!==(q&1))return!1;h&&0===(q&1)||(h=!1,d=q|d&1)}else if(!h)if(d&4){if(d=2|d&1,""!==q&&q!==(4!==a.type||c?a.value:"ng-template")||""===q&&1===b.length){if(0===(d&1))return!1;h=!0}}else{var t=d&8?q:b[++k];if(d&8&&null!==a.attrs){a:{q=a.attrs;for(var w=c,z=0,F=!0;z<q.length;){var J=q[z++];if("string"===typeof J&&F){var H=q[z++];if(w&&"class"===J&&-1!==cfa(H.toLowerCase(),
t)){t=!0;break a}}else if(1===J){for(;z<q.length&&"string"==typeof(J=q[z++]);)if(J.toLowerCase()===t){t=!0;break a}break}else"number"===typeof J&&(F=!1)}t=!1}if(!t){if(0===(d&1))return!1;h=!0}}else{a:if(q=d&8?"class":q,null===e)q=-1;else if(w=0,c||4!==a.type||"ng-template"===a.value){for(z=!1;w<e.length;){F=e[w];if(F===q){q=w;break a}if(3===F||6===F)z=!0;else if(1===F||2===F){for(F=e[++w];"string"===typeof F;)F=e[++w];continue}else if(4===F)break;else if(0===F){w+=4;continue}w+=z?1:2}q=-1}else b:{w=
e;z=w.indexOf(4);if(-1<z)for(z++;z<w.length;){F=w[z];if("number"===typeof F)break;if(F===q){q=z;break b}z++}q=-1}if(-1===q){if(0===(d&1))return!1;h=!0}else if(""!==t&&(q=q>f?"":e[q+1].toLowerCase(),(w=d&8?q:null)&&-1!==cfa(w,t)||d&2&&t!==q)){if(0===(d&1))return!1;h=!0}}}}return 0===(d&1)||h},gfa=function(a,b,c){c=void 0===c?!1:c;for(var d=0;d<b.length;d++)if(ffa(a,b[d],c))return!0;return!1},hfa=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 k=
a[++c];e+="["+h+(0<k.length?'="'+k+'"':"")+"]"}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},Jc=function(a){return{toString:a}.toString()},Lc=function(a){return Jc(function(){var b=ifa(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||Kc,_:null,schemas:a.schemas||null,tView:null,id:""});jfa(b);c=a.dependencies;b.directiveDefs=kfa(c,!1);b.pipeDefs=kfa(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=l(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})},mfa=function(a){return a[Mc]||a[lfa]||null},nfa=function(a){return null!==a},Nc=function(a){return Jc(function(){return{type:a.type,bootstrap:a.bootstrap||Kc,declarations:a.declarations||Kc,imports:a.imports||Kc,exports:a.exports||Kc,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null}})},ofa=function(a,b){if(null==a)return Oc;
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 k=void 0;e=null!=(k=e[2])?k:h}else h=e;b?(c[h]=0!==f?[d,f]:d,b[h]=e):c[h]=d}return c},Qc=function(a){return Jc(function(){var b=ifa(a);jfa(b);return b})},Rc=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}},qfa=function(a){return a[pfa]||null},ifa=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||Oc,exportAs:a.exportAs||null,standalone:!0===a.standalone,signals:!0===a.signals,selectors:a.selectors||Kc,viewQuery:a.viewQuery||null,features:a.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ofa(a.inputs,b),outputs:ofa(a.outputs),debugInfo:null}},jfa=function(a){var b;
null==(b=a.features)||b.forEach(function(c){return c(a)})},kfa=function(a,b){if(!a)return null;var c=b?qfa:mfa;return function(){return("function"===typeof a?a():a).map(function(d){return c(d)}).filter(nfa)}},Sc=function(a){return a.hasOwnProperty(rfa)?a[rfa]:null},sfa=function(a,b){a.forEach(function(c){return Array.isArray(c)?sfa(c,b):b(c)})},tfa=function(a,b){return b>=a.length-1?a.pop():a.splice(b,1)[0]},Uc=function(a,b,c){var d=Tc(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},ufa=function(a,b){b=Tc(a,b);if(0<=b)return a[b|1]},Tc=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)},wfa=function(){return{"\u0275providers":vfa(!0,Vc.apply(0,arguments)),"\u0275fromNgModule":!0}},vfa=function(a){var b=[],c=new Set,d,e=function(f){b.push(f)};sfa(Vc.apply(1,arguments),function(f){xfa(f,
e,[],c)&&(d||(d=[]),d.push(f))});void 0!==d&&yfa(d,e);return b},yfa=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;zfa(c.providers$jscomp$2,function(f){return function(h){b(h,f.ngModule)}}(c))}},xfa=function(a,b,c,d){a=Dc(a);if(!a)return!1;var e=null,f=Tea(a),h=!f&&(a[Mc]||null);if(f||h){if(h&&!h.standalone)return!1;e=a}else{var k=a.ngModule;if(f=Tea(k))e=k;else return!1}k=d.has(e);if(h){if(k)return!1;
d.add(e);if(h.dependencies)for(f="function"===typeof h.dependencies?h.dependencies():h.dependencies,f=l(f),k=f.next();!k.done;k=f.next())xfa(k.value,b,c,d)}else if(f){if(null!=f.imports&&!k){d.add(e);var q;sfa(f.imports,function(w){xfa(w,b,c,d)&&(q||(q=[]),q.push(w))});void 0!==q&&yfa(q,b)}k||(h=Sc(e)||function(){return new e},b({provide:e,useFactory:h,deps:Kc},e),b({provide:Afa,useValue:e,multi:!0},e),b({provide:Bfa,useValue:function(){return p(e)},multi:!0},e));f=f.providers;if(null!=f&&!k){var t=
a;zfa(f,function(w){b(w,t)})}}else return!1;return e!==a&&void 0!==a.providers},zfa=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next())(c=c.value)&&c.\u0275providers&&(c=c.\u0275providers),Array.isArray(c)?zfa(c,b):b(c)},Dfa=function(a){return null!==a&&"object"==typeof a&&Cfa in a},Wc=function(a){return"function"===typeof a},Gfa=function(){void 0===Efa&&(Efa=new Ffa);return Efa},Ifa=function(a){var b=Pea(a);b=null!==b?b.factory:Sc(a);if(null!==b)return b;if(a instanceof Xc)throw new Ac(204,
!1);if(a instanceof Function)return Hfa(a);throw new Ac(204,!1);},Hfa=function(a){if(0<a.length)throw new Ac(204,!1);var b=Qea(a);return null!==b?function(){return b.factory(a)}:function(){return new a}},Lfa=function(a){if(Dfa(a))return Yc(void 0,a.useValue);a=Jfa(a);return Yc(a,Kfa)},Jfa=function(a){var b=void 0;if(Wc(a))return b=Dc(a),Sc(b)||Ifa(b);if(Dfa(a))b=function(){return Dc(a.useValue)};else if(a&&a.useFactory)b=function(){return a.useFactory.apply(a,r(bfa(a.deps||[])))};else if(a&&a.useExisting)b=
function(){return p(Dc(a.useExisting))};else{var c=Dc(a&&(a.useClass||a.provide));if(a.deps)b=function(){return new (Function.prototype.bind.apply(c,[null].concat(r(bfa(a.deps)))))};else return Sc(c)||Ifa(c)}return b},Yc=function(a,b,c){return{factory:a,value:b,multi:(void 0===c?0:c)?[]:void 0}},Mfa=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Array.isArray(c)?Mfa(c,b):c&&c&&c.\u0275providers?Mfa(c.\u0275providers,b):b(c)},$c=function(a,b){a instanceof Zc&&Nfa(a);a=Fc(a);var c=
Bc();try{return b()}finally{Fc(a),Bc(c)}},Ofa=function(a){return function(){var b=Vc.apply(0,arguments);if(a){b=a.apply(null,r(b));for(var c in b)this[c]=b[c]}}},ad=function(a){return Jc(function(){function b(){function d(h,k,q){for(k=h.hasOwnProperty("__parameters__")?h.__parameters__:Object.defineProperty(h,"__parameters__",{value:[]}).__parameters__;k.length<=q;)k.push(null);(k[q]=k[q]||[]).push(f);return h}var e=Vc.apply(0,arguments);if(this instanceof b)return c.apply(this,e),this;var f=new (Function.prototype.bind.apply(b,
[null].concat(r(e))));d.annotation=f;return d}var c=Ofa(a);return b})},bd=function(a){return Array.isArray(a)&&"object"===typeof a[1]},cd=function(a){return Array.isArray(a)&&!0===a[1]},Pfa=function(a,b){return Object.is(a,b)},dd=function(a){var b=Qfa;Qfa=a;return b},Rfa=function(a){if(void 0!==a.liveConsumerNode){a=l(a.liveConsumerNode);for(var b=a.next();!b.done;b=a.next())if(b=b.value,!b.dirty){var c=void 0;b.dirty=!0;Rfa(b);null==(c=b.consumerMarkedDirty)||c.call(b,b)}}},Sfa=function(a){a&&(a.nextProducerIndex=
0);return dd(a)},Vfa=function(a,b){dd(b);if(a&&void 0!==a.producerNode&&void 0!==a.producerIndexOfThis&&void 0!==a.producerLastReadVersion){if(Tfa(a))for(b=a.nextProducerIndex;b<a.producerNode.length;b++)Ufa(a.producerNode[b],a.producerIndexOfThis[b]);for(;a.producerNode.length>a.nextProducerIndex;)a.producerNode.pop(),a.producerLastReadVersion.pop(),a.producerIndexOfThis.pop()}},Yfa=function(a){Wfa(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(!Tfa(c)||c.dirty)if(c.dirty||c.lastCleanEpoch!==Xfa)(c.producerMustRecompute(c)||Yfa(c))&&c.producerRecomputeValue(c),c.dirty=!1,c.lastCleanEpoch=Xfa;if(d!==c.version)return!0}return!1},Ufa=function(a,b){null!=a.liveConsumerNode||(a.liveConsumerNode=[]);null!=a.liveConsumerIndexOfThis||(a.liveConsumerIndexOfThis=[]);Wfa(a);if(1===a.liveConsumerNode.length)for(var c=0;c<a.producerNode.length;c++)Ufa(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],Wfa(a),a.producerIndexOfThis[c]=b)},Tfa=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)},Wfa=function(a){null!=a.producerNode||(a.producerNode=[]);null!=a.producerIndexOfThis||
(a.producerIndexOfThis=[]);null!=a.producerLastReadVersion||(a.producerLastReadVersion=[])},ed=function(){return Zfa},Zfa=function(a){a.type.prototype.ngOnChanges&&(a.setInput=$fa);return aga},aga=function(){var a=this.__ngSimpleChanges__||null,b=null==a?void 0:a.current;if(b){var c=a.previous;if(c===Oc)a.previous=b;else for(var d in b)c[d]=b[d];a.current=null;this.ngOnChanges(b)}},$fa=function(a,b,c,d,e){d=this.declaredInputs[d];var f;(f=a.__ngSimpleChanges__||null)||(f=a.__ngSimpleChanges__={previous:Oc,
current:null});var h=f;f=h.current||(h.current={});h=h.previous;var k=h[d];f[d]=new bga(k&&k.currentValue,c,h===Oc);null!==b?b.applyValueToInputSignal(b,c):a[e]=c},fd=function(a){for(;Array.isArray(a);)a=a[0];return a},gd=function(a,b){return fd(b[a.index])},hd=function(a,b){a=b[a];return bd(a)?a:a[0]},id=function(a,b){return null===b||void 0===b?null:a[b]},cga=function(a){var b;return a[2]&9216||(null==(b=a[23])?void 0:b.dirty)},ega=function(a){if(cga(a))dga(a);else if(a[2]&64){var b;null==(b=a[10].changeDetectionScheduler)||
b.notify()}},dga=function(a){var b;null==(b=a[10].changeDetectionScheduler)||b.notify();for(a=jd(a);null!==a&&!(a[2]&8192);){a[2]|=8192;if(128!==(a[2]&128))break;a=jd(a)}},fga=function(a,b){if(256===(a[2]&256))throw new Ac(911,!1);null===a[21]&&(a[21]=[]);a[21].push(b)},jd=function(a){a=a[3];return cd(a)?a[3]:a},u=function(){return kd.lView},v=function(a){kd.contextLView=a;return a[8]},x=function(a){kd.contextLView=null;return a},ld=function(){for(var a=kd.currentTNode;null!==a&&64===a.type;)a=a.parent;
return a},md=function(a,b){var c=kd;c.currentTNode=a;c.isParent=b},nd=function(){var a=kd,b=a.bindingRootIndex;-1===b&&(b=a.bindingRootIndex=a.tView.bindingStartIndex);return b},od=function(a){var b=kd,c=b.bindingIndex;b.bindingIndex+=a;return c},gga=function(a){var b=kd.currentDirectiveIndex;return-1===b?null:a[b]},iga=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=
kd=hga();c.currentTNode=b;c.lView=a;return!0},jga=function(a){var b=hga(),c=a[1];kd=b;b.currentTNode=c.firstChild;b.lView=a;b.tView=c;b.contextLView=a;b.bindingIndex=c.bindingStartIndex;b.inI18n=!1},hga=function(){var a=kd,b=null===a?null:a.child;return null===b?kga(a):b},kga=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},lga=function(){var a=kd;kd=a.parent;a.currentTNode=null;a.lView=null;return a},mga=function(){var a=lga();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},pd=function(){var a=kd;return a.tView.data[a.selectedIndex]},qd=function(){kd.currentNamespace="svg"},rd=function(){kd.currentNamespace=
null},nga=function(a,b){var c=b.directiveStart;for(b=b.directiveEnd;c<b;c++){var d=a.data[c].type.prototype,e=d.ngAfterContentInit,f=d.ngAfterContentChecked,h=d.ngAfterViewInit,k=d.ngAfterViewChecked;d=d.ngOnDestroy;if(e){var q=void 0,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));k&&(f=h=void 0,(null!=(f=(h=a).viewHooks)?f:h.viewHooks=[]).push(c,k),f=h=void 0,(null!=(f=(h=a).viewCheckHooks)?f:h.viewCheckHooks=[]).push(c,k));null!=d&&(h=k=void 0,(null!=(h=(k=a).destroyHooks)?h:k.destroyHooks=[]).push(c,d))}},oga=function(a,b,c,d){(a[2]&3)===c&&sd(a,b,c,d)},pga=function(a,b){var c=a[2];(c&3)===b&&(a[2]=(c&16383)+1)},sd=function(a,b,c,d){for(var e=null!=d?d:-1,f=b.length-1,h=0,k=void 0!==d?a[17]&65535:0;k<f;k++)if("number"===typeof b[k+1]){if(h=
b[k],null!=d&&h>=d)break}else{0>b[k]&&(a[17]+=65536);if(h<e||-1==e){var q=0>b[k],t=b[k+1],w=a[q?-b[k]:b[k]];q?a[2]>>14<a[17]>>16&&(a[2]&3)===c&&(a[2]+=16384,qga(w,t)):qga(w,t);a[17]=(a[17]&4294901760)+k+2}k++}},qga=function(a,b){var c=dd(null);try{b.call(a)}finally{dd(c)}},rga=function(a,b){for(a>>=16;0<a;)b=b[14],a--;return b},tga=function(a){var b=sga;sga=a;return b},vga=function(a,b,c){var d;"string"===typeof c?d=c.charCodeAt(0)||0:c.hasOwnProperty(td)&&(d=c[td]);null==d&&(d=c[td]=uga++);c=d&255;
b.data[a+(c>>5)]|=1<<c},zga=function(a,b){var c=wga(a,b);if(-1!==c)return c;c=b[1];c.firstCreatePass&&(a.injectorIndex=b.length,xga(c.data,a),xga(b,null),xga(c.blueprint,null));c=yga(a,b);a=a.injectorIndex;if(-1!==c)for(var d=c&32767,e=rga(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},xga=function(a,b){a.push(0,0,0,0,0,0,0,0,b)},wga=function(a,b){return-1===a.injectorIndex||a.parent&&a.parent.injectorIndex===a.injectorIndex||null===b[a.injectorIndex+8]?-1:a.injectorIndex},yga=
function(a,b){if(a.parent&&-1!==a.parent.injectorIndex)return a.parent.injectorIndex;a=0;for(var c=b;null!==c;){b=Aga(c);if(null===b)break;a++;c=c[14];if(-1!==b.injectorIndex)return b.injectorIndex|a<<16}return-1},ud=function(a){var b=ld();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},
Bga=function(a,b,c,d){c&8&&void 0===d&&(d=null);if(0===(c&3)){a=a[9];var e=Bc();try{return a?a.get(b,d,c&8):Xea(b,d,c&8)}finally{Bc(e)}}c&8||void 0!==d?b=d:(Vea(),b=void 0);return b},Dga=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=vd,k=a,q=b;null!==k&&null!==q&&q[2]&2048&&!(q[2]&512);){var t=Cga(k,q,c,f|2);if(t!==vd){f=t;break a}k=k.parent;if(!k){if(k=q[20])if(k=k.get(c,vd,f),k!==vd){f=k;break a}k=Aga(q);q=q[14]}}f=h}if(f!==vd)return f}a=Cga(a,b,c,
d);if(a!==vd)return a}return Bga(b,c,d,e)},Cga=function(a,b,c,d){var e=vd;if("string"===typeof c)var f=c.charCodeAt(0)||0;else f=c.hasOwnProperty(td)?c[td]:void 0,f="number"===typeof f?0<=f?f&255:Ega:f;if("function"===typeof f){if(!iga(b,a,d))return d&1?d&8||void 0!==e?b=e:(Vea(),b=void 0):b=Bga(b,c,d,e),b;try{var h=f(d);if(null!=h||d&8)return h;Vea()}finally{lga()}}else if("number"===typeof f){h=null;var k=wga(a,b),q=d&1?b[15][5]:null;if(-1===k||d&4){var t=-1===k?yga(a,b):b[k+8];-1===t||d&2?k=-1:
(h=b[1],k=t&32767,b=rga(t,b))}for(;-1!==k;){a=b[1];if(a.data[k+(f>>5)]&1<<f){t=b[1];var w=t.data[k+8],z=Fga(w,t,c,null==h?-1<w.componentOffset&&sga:h!=t&&0!==(w.type&3),d&1&&q===w);t=null!==z?wd(b,t,z,w):vd;if(t!==vd)return t}t=b[k+8];-1!==t&&!(d&2||d&1&&b[1].data[k+8]===q)&&b[k+(f>>5)]&1<<f?(h=a,k=t&32767,b=rga(t,b)):k=-1}}return e},Fga=function(a,b,c,d,e){var f=a.providerIndexes,h=b.data,k=f&1048575;b=a.directiveStart;a=a.directiveEnd;var q=f>>20;f=e?k+q:a;for(d=d?k:k+q;d<f;d++)if(k=h[d],d<b&&c===
k||d>=b&&k.type===c)return d;return e&&(e=h[b])&&e.template&&e.type===c?b:null},wd=function(a,b,c,d){var e=a[c],f=b.data;if(e instanceof xd){var h=e;if(h.resolving)throw a=f[c],new Ac(-200,"Circular dependency in DI detected for "+("function"===typeof a?a.name||a.toString():"object"===typeof a&&null!=a&&"function"===typeof a.type?a.type.name||a.type.toString():xc(a)));var k=tga(h.canSeeViewProviders);h.resolving=!0;var q=h.injectImpl?Bc(h.injectImpl):null;iga(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,z=w.ngOnInit,F=w.ngDoCheck;if(w.ngOnChanges){var J=Zfa(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(z){var P;(null!=(P=b.preOrderHooks)?P:b.preOrderHooks=[]).push(-c,z)}if(F){var U;(null!=(U=b.preOrderHooks)?U:b.preOrderHooks=[]).push(c,F);var Z;(null!=(Z=b.preOrderCheckHooks)?Z:b.preOrderCheckHooks=[]).push(c,F)}}}finally{null!==
q&&Bc(q),tga(k),h.resolving=!1,lga()}}return e},Ega=function(){return new yd(ld(),u())},zd=function(a){return Jc(function(){var b=a.prototype.constructor;b=b[rfa]||Gga(b);for(var c=Object.prototype,d=Object.getPrototypeOf(a.prototype).constructor;d&&d!==c;){var e=d[rfa]||Gga(d);if(e&&e!==b)return e;d=Object.getPrototypeOf(d)}return function(f){return new f}})},Gga=function(a){return Yea(a)?function(){var b=Gga(Dc(a));return b&&b()}:Sc(a)},Aga=function(a){var b=a[1],c=b.type;return 2===c?b.declTNode:
1===c?a[5]:null},Jga=function(a,b,c,d){a=Hga(a,void 0===b?null:b,void 0===c?null:c,d);Iga(a);return a},Hga=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)||Kc,wfa(a)];d=d||("object"===typeof a?void 0:yc(a));return new Zc(c,b||Gfa(),d||null,e)},Lga=function(){if(void 0!==Kga)return Kga;if("undefined"!==typeof document)return document;throw new Ac(210,!1);},Bd=function(a,b){return new Ad(gd(a,b))},Mga=function(a){return a instanceof Ad?a.nativeElement:a},Cd=function(a,
b){bd(b)?(a.__ngContext__=b[19],Nga.set(b[19],b)):a.__ngContext__=b},Qga=function(){return"".replace(Oga,function(a){return a.replace(Pga,"\u200b$1\u200b")})},Dd=function(a,b,c,d,e){if(null!=d){var f=!1;if(cd(d))var h=d;else bd(d)&&(f=!0,d=d[0]);d=fd(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 k=b.parentNode(d);k&&b.removeChild(k,d,f)}else 3===a&&b.destroyNode(d);if(null!=h)for(d=h[7],f=fd(h),
d!==f&&Dd(a,b,c,d,e),e=10;e<h.length;e++)f=h[e],Ed(b,a,f[1].firstChild,f,c,d,!1)}},Rga=function(a,b){a=a[9];b=a.indexOf(b);a.splice(b,1)},Fd=function(a,b){if(!(10>=a.length)){var c=10+b,d=a[c];if(d){var e=d[16];null!==e&&e!==a&&Rga(e,d);0<b&&(a[c-1][4]=d[4]);a=tfa(a,10+b);Ed(d[11],2,d[1].firstChild,d,null,null,!1);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}},Tga=function(a,b){if(!(b[2]&256)){var c=b[11];c.destroyNode&&Ed(c,3,a.firstChild,b,null,
null,!1);if(a=b[12])for(;a;){c=null;if(bd(a))c=a[12];else{var d=a[10];d&&(c=d)}if(!c){for(;a&&!a[4]&&a!==b;)bd(a)&&Sga(a[1],a),a=a[3];null===a&&(a=b);bd(a)&&Sga(a[1],a);c=a&&a[4]}a=c}else Sga(b[1],b)}},Sga=function(a,b){if(!(b[2]&256)){b[2]&=-129;b[2]|=256;if(b[23]){var c=b[23];Wfa(c);if(Tfa(c))for(var d=0;d<c.producerNode.length;d++)Ufa(c.producerNode[d],c.producerIndexOfThis[d]);c.producerNode.length=c.producerLastReadVersion.length=c.producerIndexOfThis.length=0;c.liveConsumerNode&&(c.liveConsumerNode.length=
c.liveConsumerIndexOfThis.length=0)}var e;if(null!=a&&null!=(e=a.destroyHooks))for(c=0;c<e.length;c+=2)if(d=b[e[c]],!(d instanceof xd)){var f=e[c+1];if(Array.isArray(f))for(var h=0;h<f.length;h+=2)f[h+1].call(d[f[h]]);else f.call(d)}e=a.cleanup;c=b[7];if(null!==e)for(d=0;d<e.length-1;d+=2)if("string"===typeof e[d]){f=e[d+3];if(0<=f)c[f]();else c[-f].unsubscribe();d+=2}else e[d].call(c[e[d+1]]);null!==c&&(b[7]=null);e=b[21];if(null!==e)for(b[21]=null,c=0;c<e.length;c++)(0,e[c])();1===b[1].type&&b[11].destroy();
e=b[16];null!==e&&cd(b[3])&&(e!==b[3]&&Rga(e,b),e=b[18],null!==e&&e.detachView(a));Nga.delete(b[19])}},Uga=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:gd(b,c)},Vga=function(a,b,c,d){a=Uga(a,d.parent,b);var e=b[11];d=d.parent||b[5];b=d.type&40?gd(d,b):null;if(null!=a)if(Array.isArray(c))for(d=0;d<c.length;d++){var f=e,h=a,k=c[d];null!==b?f.insertBefore(h,k,b,!1):f.appendChild(h,
k)}else null!==b?e.insertBefore(a,c,b,!1):e.appendChild(a,c)},Xga=function(a,b){if(null!==b){var c=b.type;if(c&3)return gd(b,a);if(c&4)return Wga(-1,a[b.index]);if(c&8){c=b.child;if(null!==c)return Xga(a,c);a=a[b.index];return cd(a)?Wga(-1,a):fd(a)}if(c&32)return(void 0)(b,a)()||fd(a[b.index]);c=null!==b?a[15][5].projection[b.projection]:null;if(null!==c){if(Array.isArray(c))return c[0];a=jd(a[15]);return Xga(a,c)}return Xga(a,b.next)}return null},Wga=function(a,b){a+=11;if(a<b.length){a=b[a];var c=
a[1].firstChild;if(null!==c)return Xga(a,c)}return b[7]},Ed=function(a,b,c,d,e,f,h){for(;null!=c;){var k=d[c.index],q=c.type;h&&0===b&&(k&&Cd(fd(k),d),c.flags|=2);if(32!==(c.flags&32))if(q&8)Ed(a,b,c.child,d,e,f,!1),Dd(b,a,e,k,f);else if(q&32){q=(void 0)(c,d);for(var t;t=q();)Dd(b,a,e,t,f);Dd(b,a,e,k,f)}else q&16?Yga(a,b,d,c,e,f):Dd(b,a,e,k,f);c=h?c.projectionNext:c.next}},Yga=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++)Dd(b,a,e,c[d],
f);else h=h[3],128===(d.flags&128)&&(c.flags|=128),Ed(a,b,c,h,e,f,!0)},Zga=function(a,b,c){var d=c.mergedAttrs,e=c.classes;c=c.styles;null!==d&&dfa(a,b,d);null!==e&&(""===e?a.removeAttribute(b,"class"):a.setAttribute(b,"class",e));null!==c&&a.setAttribute(b,"style",c)},$ga=function(a,b,c,d,e){for(e=void 0===e?!1:e;null!==c;){var f=b[c.index];null!==f&&d.push(fd(f));if(cd(f)){for(var h=d,k=10;k<f.length;k++){var q=f[k],t=q[1].firstChild;null!==t&&$ga(q[1],q,t,h)}f[7]!==f[0]&&h.push(f[7])}f=c.type;
if(f&8)$ga(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,r(f)):(h=jd(b[15]),$ga(h[1],h,f,d,!0)));c=e?c.projectionNext:c.next}return d},Gd=function(a){return a.ownerDocument.defaultView},aha=function(a){return a.ownerDocument},y=function(a){bha(kd.tView,u(),kd.selectedIndex+(void 0===a?1:a))},bha=function(a,b,c){3===(b[2]&3)?(a=a.preOrderCheckHooks,null!==a&&sd(b,a,3,c)):(a=a.preOrderHooks,
null!==a&&oga(b,a,0,c));kd.selectedIndex=c},A=function(a,b){b=void 0===b?0:b;var c=u();return null===c?p(a,b):Dga(ld(),c,Dc(a),b)},Hd=function(){throw Error("sa");},dha=function(a,b,c,d,e,f){var h=dd(null);try{var k=null;0!==(e&1)&&(k=b[d][cha]);null!==k&&void 0!==k.transformFn&&(f=k.transformFn(f));0!==(e&2)&&(f=a.inputTransforms[d].call(b,f));null!==a.setInput?a.setInput(b,k,f,c,d):(a=k,null!==a?a.applyValueToInputSignal(a,f):b[d]=f)}finally{dd(h)}},Jd=function(a){return a instanceof Id?a.changingThisBreaksApplicationSecurity:
a},Kd=function(a,b){a=a instanceof Id&&a.getTypeName()||null;if(null!=a&&a!==b){if("ResourceURL"===a&&"URL"===b)return!0;throw Error("ta`"+b+"`"+a);}return a===b},fha=function(){if(void 0===eha&&(eha=null,Ld.trustedTypes))try{eha=Ld.trustedTypes.createPolicy("angular",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return eha},gha=function(a){var b;return(null==(b=fha())?void 0:b.createHTML(a))||a},iha=function(a){a=String(a);
return a.match(hha)?a:"unsafe:"+a},Md=function(a){var b={};a=l(a.split(","));for(var c=a.next();!c.done;c=a.next())b[c.value]=!0;return b},Nd=function(){for(var a={},b=l(Vc.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},lha=function(a){return a.replace(/&/g,"&amp;").replace(jha,function(b){return"&#"+(1024*(b.charCodeAt(0)-55296)+(b.charCodeAt(1)-56320)+65536)+";"}).replace(kha,function(b){return"&#"+b.charCodeAt(0)+";"}).replace(/</g,
"&lt;").replace(/>/g,"&gt;")},vha=function(a,b){var c=null;try{var d;if(!(d=mha)){var e=new nha(a);try{var f=!!(new window.DOMParser).parseFromString(gha(""),"text/html")}catch(P){f=!1}d=f?new oha(e):e}mha=d;var h=b?String(b):"";c=mha.getInertBodyElement(h);a=5;b=h;do{if(0===a)throw Error("va");a--;h=b;b=c.innerHTML;c=mha.getInertBodyElement(h)}while(h!==b);var k=new pha,q=(("content"in c&&c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName?c.content:null)||c).firstChild;for(h=!0;q;){if(q.nodeType===
Node.ELEMENT_NODE){a=k;b=q;var t=b.nodeName.toLowerCase();if(qha.hasOwnProperty(t)){a.buf.push("<");a.buf.push(t);var w=b.attributes;for(b=0;b<w.length;b++){var z=w.item(b),F=z.name,J=F.toLowerCase();if(rha.hasOwnProperty(J)){var H=z.value;sha[J]&&(H=iha(H));a.buf.push(" ",F,'="',lha(H),'"')}}a.buf.push(">");h=!0}else h=!tha.hasOwnProperty(t)}else q.nodeType===Node.TEXT_NODE&&k.buf.push(lha(q.nodeValue));if(h&&q.firstChild)q=q.firstChild;else for(;q;){q.nodeType===Node.ELEMENT_NODE&&k.endElement(q);
var O=uha(q,q.nextSibling);if(O){q=O;break}q=uha(q,q.parentNode)}}return gha(k.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)}},xha=function(){if(void 0===wha&&(wha=null,Ld.trustedTypes))try{wha=Ld.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return wha},yha=
function(a){var b;return(null==(b=xha())?void 0:b.createHTML(a))||a},zha=function(a){var b;return(null==(b=xha())?void 0:b.createScriptURL(a))||a},Od=function(a){var b=Aha();return b?yha(b.sanitize(1,a)||""):Kd(a,"HTML")?yha(Jd(a)):vha(Lga(),xc(a))},Bha=function(a){var b=Aha();return b?b.sanitize(2,a)||"":Kd(a,"Style")?Jd(a):xc(a)},Pd=function(a){var b=Aha();return b?b.sanitize(4,a)||"":Kd(a,"URL")?Jd(a):iha(xc(a))},Cha=function(a){var b=Aha();if(b)return zha(b.sanitize(5,a)||"");if(Kd(a,"ResourceURL"))return zha(Jd(a));
throw new Ac(904,!1);},Aha=function(){var a=u();return a&&a[10].sanitizer},Eha=function(a,b,c,d,e,f,h,k,q,t,w){var z=b.blueprint.slice();z[0]=e;z[2]=d|204;if(null!==t||a&&a[2]&2048)z[2]|=2048;z[17]=0;z[3]=z[14]=a;z[8]=c;z[10]=h||a&&a[10];z[11]=k||a&&a[11];z[9]=q||a&&a[9]||null;z[5]=f;z[19]=Dha++;z[6]=w;z[20]=t;z[15]=2==b.type?a[15]:z;return z},Qd=function(a,b,c,d,e){var f=a.data[b];if(null===f){f=kd.currentTNode;var h=kd.isParent,k=a.data,q=h?f:f&&f.parent,t=q?q.injectorIndex:-1,w=0;null!==Fha&&(w|=
128);b=k[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;kd.inI18n&&(f.flags|=32)}else f.type&64&&(f.type=c,f.value=d,f.attrs=e,a=kd,b=a.currentTNode,a=a.isParent?b:b.parent,f.injectorIndex=null===a?-1:a.injectorIndex);md(f,!0);return f},Gha=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},Hha=function(a,b,c,d,e){var f=kd.selectedIndex;
try{kd.selectedIndex=-1,d&2&&25<b.length&&bha(a,b,25),c(d,e)}finally{kd.selectedIndex=f}},Iha=function(a,b,c){if(0!==(b.flags&4)){var d=dd(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{dd(d)}}},Mha=function(a,b,c){var d=gd(c,b),e=c.directiveStart,f=c.directiveEnd;if(-1<c.componentOffset){var h=a.data[e+c.componentOffset],k=gd(c,b),q=Jha(h),t=b[10].rendererFactory,w=16;h.signals?w=4096:h.onPush&&(w=64);h=Kha(b,Eha(b,
q,null,w,k,c,null,t.createRenderer(k,h),null,null,null));b[c.index]=h}a.firstCreatePass||zga(c,b);Cd(d,b);d=c.initialInputs;for(h=e;h<f;h++){k=a.data[h];q=wd(b,a,h,c);Cd(q,b);if(null!==d&&(t=d[h-e],null!==t))for(w=0;w<t.length;){var z=t[w++],F=t[w++],J=t[w++],H=t[w++];dha(k,q,z,F,J,H)}k.template&&(hd(c.index,b)[8]=wd(b,a,h,c))}64===(c.flags&64)&&Lha(a,b,c)},Nha=function(a,b,c){c=void 0===c?gd: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}},Jha=function(a){var b=a.tView;return null===b||b.incompleteFirstPass?a.tView=Oha(1,null,a.template,a.decls,a.vars,a.directiveDefs,a.pipeDefs,a.viewQuery,a.schemas,a.consts,a.id):b},Oha=function(a,b,c,d,e,f,h,k,q,t,w){d=25+d;e=d+e;for(var z=[],F=0;F<e;F++)z.push(F<d?null:Rd);t="function"===typeof t?t():t;return z[1]={type:a,blueprint:z,template:c,queries:null,viewQuery:k,declTNode:b,data:z.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}},Qha=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 k=0;if(Array.isArray(h)){var q=h[0];k=h[1]}else q=h;h=f;if(null!==e){if(!e.hasOwnProperty(f))continue;h=e[f]}0===a?Pha(d,c,h,q,k):Pha(d,c,h,q)}}return d},Pha=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)},Sd=function(a,b,c,d,e,f,h,k){var q=gd(b,c),t=b.inputs,w;!k&&null!=t&&(w=t[d])?(Rha(a,c,w,d,e),-1<b.componentOffset&&(a=hd(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))},Uha=function(a,b,c,d){var e=null===d?null:{"":-1};var f=a.directiveRegistry;var h=null,k=null;if(f)for(var q=0;q<f.length;q++){var t=f[q];if(gfa(c,t.selectors,!1))if(h||(h=[]),t.template)if(null!==t.findHostDirectiveDefs){var w=[];k=k||new Map;t.findHostDirectiveDefs(t,w,k);h.unshift.apply(h,[].concat(r(w),[t]));Sha(a,c,w.length)}else h.unshift(t),Sha(a,c,0);else{k=
k||new Map;var z=w=void 0;null==(z=(w=t).findHostDirectiveDefs)||z.call(w,t,h,k);h.push(t)}}f=null===h?null:[h,k];null===f?f=h=null:(h=l(f),f=h.next().value,h=h.next().value);null!==f&&Tha(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 Ac(-301,!1);a.push(d[b],f)}c.mergedAttrs=Ic(c.mergedAttrs,c.attrs)},Tha=function(a,b,c,d,e,f){for(var h=0;h<d.length;h++){var k=zga(c,b);vga(k,a,d[h].type)}h=a.data.length;k=d.length;c.flags|=1;c.directiveStart=h;c.directiveEnd=
h+k;c.providerIndexes=h;for(h=0;h<d.length;h++)k=d[h],k.providersResolver&&k.providersResolver(k);var q=!1,t=!1;h=Gha(a,b,d.length,null);for(k=0;k<d.length;k++){var w=d[k];c.mergedAttrs=Ic(c.mergedAttrs,w.hostAttrs);var z=a,F=c,J=b,H=h;z.data[H]=w;var O=w.factory||(w.factory=Sc(w.type));O=new xd(O,!!w.template);z.blueprint[H]=O;J[H]=O;O=z;var P=F;z=Gha(z,J,w.hostVars,Rd);if(J=w.hostBindings){F=O.hostBindingOpCodes;null===F&&(F=O.hostBindingOpCodes=[]);O=~P.index;a:{for(P=F.length;0<P;){var U=F[--P];
if("number"===typeof U&&0>U){P=U;break a}}P=0}P!=O&&F.push(O);F.push(H,z,J)}H=h;O=w;if(z=e){if(O.exportAs)for(J=0;J<O.exportAs.length;J++)z[O.exportAs[J]]=H;O.template&&(z[""]=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=[];k=h=null;for(q=c.directiveStart;q<b;q++){t=a[q];H=(w=f?f.get(t):null)?w.outputs:null;h=Qha(0,t.inputs,q,h,w?w.inputs:null);k=Qha(1,t.outputs,q,k,H);if(null===h||null===d||4===c.type&&"ng-template"!==c.value)t=null;else{t=h;w=q;H=null;for(O=0;O<d.length;)if(z=d[O],0===z)O+=4;else{if(5!==z){if("number"===typeof z)break;if(t.hasOwnProperty(z))for(null===H&&(H=[]),J=t[z],F=0;F<J.length;F+=3)if(J[F]===w){H.push(z,
J[F+1],J[F+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=k},Lha=function(a,b,c){var d=c.directiveStart,e=c.directiveEnd,f=c.index;c=kd.currentDirectiveIndex;try{for(kd.selectedIndex=f;d<e;d++){var h=a.data[d],k=b[d];kd.currentDirectiveIndex=d;null===h.hostBindings&&0===h.hostVars&&null===h.hostAttrs||null===h.hostBindings||h.hostBindings(1,k)}}finally{kd.selectedIndex=-1,kd.currentDirectiveIndex=
c}},Sha=function(a,b,c){b.componentOffset=c;var d;(null!=(d=a.components)?d:a.components=[]).push(b.index)},Vha=function(a,b,c,d,e,f){var h=gd(a,b);b=b[11];a=a.value;null==d?b.removeAttribute(h,c,f):(d=null==e?xc(d):e(d,a||"",c),b.setAttribute(h,c,d,f))},Wha=function(a,b){var c=a.contentQueries;if(null!==c){var d=dd(null);try{for(var e=0;e<c.length;e+=2){var f=c[e],h=c[e+1];if(-1!==h){var k=a.data[h];kd.currentQueryIndex=f;k.contentQueries(2,b[h],h)}}}finally{dd(d)}}},Kha=function(a,b){a[12]?a[13][4]=
b:a[12]=b;return a[13]=b},Xha=function(a,b,c){kd.currentQueryIndex=0;var d=dd(null);try{b(a,c)}finally{dd(d)}},Yha=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]},Zha=function(a,b){(a=(a=a[9])?a.get(Ud,null):null)&&a.handleError(b)},Rha=function(a,b,c,d,e){for(var f=0;f<c.length;){var h=c[f++],k=c[f++],q=c[f++];dha(a.data[h],b[h],d,k,q,e)}},$ha=function(a,b){var c=fd(a[kd.selectedIndex]);a[11].setValue(c,
b)},aia=function(a){for(;null!==a&&!cd(a);)a=a[4];return a},cia=function(a,b){for(a=aia(a[12]);null!==a;a=aia(a[4]))for(var c=10;c<a.length;c++){var d=a[c];128===(d[2]&128)&&bia(d,b)}},bia=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)&&Yfa(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();jga(a);d=h=null;if(2!==c.type){if(null!=(h=
a[23]))var k=h;else h=null!=(k=dia.pop())?k:Object.create(eia),h.lView=a,k=h;d=k;h=Sfa(d)}try{a[17]=0;kd.bindingIndex=c.bindingStartIndex;null!==e&&Hha(c,a,e,2,b);if(k=3===(f&3)){var q=c.preOrderCheckHooks;null!==q&&sd(a,q,3,null)}else{var t=c.preOrderHooks;null!==t&&oga(a,t,0,null);pga(a,0)}for(var w=aia(a[12]);null!==w;w=aia(w[4]))if(w[2]&2){var z=w[9];for(q=0;q<z.length;q++){var F=z[q];F[2]&1024||(F[2]|=1024,128===(F[2]&128)&&dga(F))}}cia(a,0);null!==c.contentQueries&&Wha(c,a);if(k){var J=c.contentCheckHooks;
null!==J&&sd(a,J,3)}else{var H=c.contentHooks;null!==H&&oga(a,H,1);pga(a,1)}var O=c.hostBindingOpCodes;if(null!==O)try{for(w=0;w<O.length;w++){var P=O[w];if(0>P)kd.selectedIndex=~P;else{z=P;var U=O[++w],Z=O[++w];F=kd;F.bindingIndex=F.bindingRootIndex=U;kd.currentDirectiveIndex=z;Z(2,a[z])}}}finally{kd.selectedIndex=-1}var la=c.components;null!==la&&fia(a,la,0);var oa=c.viewQuery;null!==oa&&Xha(2,oa,b);if(k){var Fa=c.viewCheckHooks;null!==Fa&&sd(a,Fa,3)}else{var Ta=c.viewHooks;null!==Ta&&oga(a,Ta,
2);pga(a,2)}!0===c.firstUpdatePass&&(c.firstUpdatePass=!1);if(a[22]){for(var Pa=l(a[22]),Ya=Pa.next();!Ya.done;Ya=Pa.next()){var sb=Ya.value;sb()}a[22]=null}a[2]&=-73}catch(Na){throw dga(a),Na;}finally{null!==d&&(Vfa(d,h),a=d,a.lView[23]!==a&&(a.lView=null,dia.push(a))),mga()}}}else d&8192&&(cia(a,1),c=c.components,null!==c&&fia(a,c,1))},fia=function(a,b,c){for(var d=0;d<b.length;d++){var e=c,f=hd(b[d],a);128===(f[2]&128)&&bia(f,e)}},gia=function(a){var b;for(null==(b=a[10].changeDetectionScheduler)||
b.notify();a;){a[2]|=64;b=jd(a);if(0!==(a[2]&512)&&!b)break;a=b}},hia=function(a){var b=ld(),c=u();-1<b.componentOffset&&16!==(a&16)?(a=hd(b.index,c),a=new Vd(a,a)):a=b.type&47?new Vd(c[15],c):null;return a},jia=function(a){return iia(a)?Array.isArray(a)||!(a instanceof Map)&&Symbol.iterator in a:!1},kia=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)},iia=function(a){return null!==a&&("function"===typeof a||"object"===
typeof a)},lia=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},mia=function(){return new Wd(u())},nia=function(a){var b=dd(null);try{return a()}finally{dd(b)}},pia=function(a){if(!oia.has(a)){oia.add(a);var b,c;null==(b=performance)||null==(c=b.mark)||c.call(b,"mark_feature_usage",{detail:{feature:a}})}},Xd=function(a){setTimeout(function(){throw a;},0)},Yd=function(a){return"function"===typeof a},qia=function(a){return null!==a&&"object"===typeof a},
ria=function(a){return a instanceof Zd||a&&"closed"in a&&"function"===typeof a.remove&&"function"===typeof a.add&&"function"===typeof a.unsubscribe},sia=function(a){return a.reduce(function(b,c){return b.concat(c instanceof $d?c.errors:c)},[])},tia=function(a){for(;a;){var b=a,c=b.destination,d=b.isStopped;if(b.closed||d)return!1;c&&c instanceof ae?a=c:a=null}return!0},be=function(a){return a},uia=function(a){return 0===a.length?be:1===a.length?a[0]:function(b){return a.reduce(function(c,d){return d(c)},
b)}},via=function(a){return a&&"function"===typeof a.next&&"function"===typeof a.error&&"function"===typeof a.complete},wia=function(a){a||(a=ce.Promise||Promise);if(!a)throw Error("ya");return a},xia=function(a){return new de(function(b){return a.schedule(function(){return b.complete()})})},yia=function(a,b){return new de(function(c){var d=new Zd,e=0;d.add(b.schedule(function(){e===a.length?c.complete():(c.next(a[e++]),c.closed||d.add(this.schedule()))}));return d})},ee=function(a,b){return b?yia(a,
b):new de(zia(a))},fe=function(a){return a&&"function"===typeof a.schedule},Aia=function(){var a=Vc.apply(0,arguments),b=a[a.length-1];return fe(b)?(a.pop(),yia(a,b)):ee(a)},Bia=function(a){a.subscriber.error(a.error)},ge=function(a,b){if(a&&"function"===typeof a.lift)return a.lift(b);throw new TypeError("za");},Cia=function(a,b,c){if(a&&"function"===typeof a.lift)return a.lift.call(b,c);throw new TypeError("za");},he=function(){return function(a){return ge(a,new Dia)}},B=function(a){return function(b){if("function"!==
typeof a)throw new TypeError("Aa");return ge(b,new Eia(a))}},Fia=function(a,b,c){if(b)if(fe(b))c=b;else return function(){return Fia(a,c).apply(null,r(Vc.apply(0,arguments))).pipe(B(function(d){return ie(d)?b.apply(null,r(d)):b(d)}))};return function(){var d=Vc.apply(0,arguments),e=this,f,h={context:e,subject:void 0,callbackFunc:a,scheduler:c};return new de(function(k){if(c)return c.schedule(Gia,0,{args:d,subscriber:k,params:h});if(!f){f=new je;var q=function(){var t=Vc.apply(0,arguments);f.next(1>=
t.length?t[0]:t);f.complete()};try{a.apply(e,[].concat(r(d),[q]))}catch(t){tia(f)?f.error(t):console.warn(t)}}return f.subscribe(k)})}},Gia=function(a){var b=this,c=a.args,d=a.subscriber,e=a.params;a=e.callbackFunc;var f=e.context,h=e.scheduler,k=e.subject;if(!k){k=e.subject=new je;e=function(){var q=Vc.apply(0,arguments);b.add(h.schedule(Hia,0,{value:1>=q.length?q[0]:q,subject:k}))};try{a.apply(f,[].concat(r(c),[e]))}catch(q){k.error(q)}}this.add(k.subscribe(d))},Hia=function(a){var b=a.subject;
b.next(a.value);b.complete()},Iia=function(a,b,c){if(b)if(fe(b))c=b;else return function(){return Iia(a,c).apply(null,r(Vc.apply(0,arguments))).pipe(B(function(d){return ie(d)?b.apply(null,r(d)):b(d)}))};return function(){var d=Vc.apply(0,arguments),e={subject:void 0,args:d,callbackFunc:a,scheduler:c,context:this};return new de(function(f){var h=e.context,k=e.subject;if(c)return c.schedule(Jia,0,{params:e,subscriber:f,context:h});if(!k){k=e.subject=new je;var q=function(){var t=Vc.apply(0,arguments),
w=t.shift();w?k.error(w):(k.next(1>=t.length?t[0]:t),k.complete())};try{a.apply(h,[].concat(r(d),[q]))}catch(t){tia(k)?k.error(t):console.warn(t)}}return k.subscribe(f)})}},Jia=function(a){var b=this,c=a.params,d=a.subscriber;a=a.context;var e=c.callbackFunc,f=c.args,h=c.scheduler,k=c.subject;if(!k){k=c.subject=new je;c=function(){var q=Vc.apply(0,arguments),t=q.shift();t?b.add(h.schedule(Kia,0,{err:t,subject:k})):b.add(h.schedule(Lia,0,{value:1>=q.length?q[0]:q,subject:k}))};try{e.apply(a,[].concat(r(f),
[c]))}catch(q){this.add(h.schedule(Kia,0,{err:q,subject:k}))}}this.add(k.subscribe(d))},Lia=function(a){var b=a.subject;b.next(a.value);b.complete()},Kia=function(a){a.subject.error(a.err)},Mia=function(a){return!!a&&"function"!==typeof a.subscribe&&"function"===typeof a.then},Oia=function(a){return function(b){Nia(a,b).catch(function(c){return b.error(c)})}},Nia=function(a,b){var c,d,e,f,h,k;return ke(function(q){switch(q.nextAddress){case 1:le(q,2,3);var t=a[Symbol.asyncIterator];f=void 0!==t?t.call(a):
new Pia(l(a));case 5:return me(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:ne(q);q.catchAddress_=0;q.finallyAddress_=9;if(!d||d.done||!(e=f.return)){q.jumpTo(9);break}return me(q,e.call(f),9);case 9:ne(q,0,0,1);if(c)throw c.error;oe(q,10,1);break;case 10:oe(q,4);break;case 2:k=pe(q);c={error:k};q.jumpTo(3);break;case 4:b.complete(),qe(q)}})},re=function(a,b){if(!b.closed)return a instanceof de?a.subscribe(b):Qia(a)(b)},Ria=function(a,
b){if(!a)throw Error("Da");return new de(function(c){var d=new Zd;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})},Sia=function(a,b){if(!a)throw Error("Da");return new de(function(c){var d=new Zd,e;d.add(function(){e&&"function"===typeof e.return&&e.return()});d.add(b.schedule(function(){e=a[se]();d.add(b.schedule(function(){if(!c.closed){try{var f=e.next();
var h=f.value;var k=f.done}catch(q){c.error(q);return}k?c.complete():(c.next(h),this.schedule())}}))}));return d})},Tia=function(a,b){return new de(function(c){var d=new Zd;d.add(b.schedule(function(){var e=a[te]();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})},Uia=function(a,b){return new de(function(c){var d=
new Zd;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})},Wia=function(a,b){if(null!=a){if(a&&"function"===typeof a[te])return Tia(a,b);if(Mia(a))return Uia(a,b);if(Via(a))return yia(a,b);if(a&&"function"===typeof a[se]||"string"===typeof a)return Sia(a,b);if(Symbol&&Symbol.asyncIterator&&"function"===typeof a[Symbol.asyncIterator])return Ria(a,
b)}throw new TypeError("Ea`"+(null!==a&&typeof a||a));},ue=function(a,b){return b?Wia(a,b):a instanceof de?a:new de(Qia(a))},ve=function(a,b){var c=void 0===c?Infinity:c;if("function"===typeof b)return function(d){return d.pipe(ve(function(e,f){return ue(a(e,f)).pipe(B(function(h,k){return b(e,h,f,k)}))},c))};"number"===typeof b&&(c=b);return function(d){return ge(d,new Xia(a,c))}},xe=function(a){a=void 0===a?Infinity:a;return ve(be,a)},ye=function(){return xe(1)(Aia.apply(null,r(Vc.apply(0,arguments))))},
Yia=function(a){return new de(function(b){try{var c=a()}catch(d){b.error(d);return}return ue(c).subscribe(b)})},aja=function(a){return new de(function(b){var c=a||Zia,d=c.now(),e=function(h){var k=c.now();b.next({timestamp:a?k:h,elapsed:k-d});b.closed||(f=$ia(e))};var f=$ia(e);return function(){return f.unsubscribe()}})},bja=function(a,b){return new de(function(c){var d=a.length;if(0===d)c.complete();else for(var e=Array(d),f=0,h=0,k={i$jscomp$323:0};k.i$jscomp$323<d;k={hasValue:void 0,i$jscomp$323:k.i$jscomp$323},
k.i$jscomp$323++){var q=ue(a[k.i$jscomp$323]);k.hasValue=!1;c.add(q.subscribe({next:function(t){return function(w){t.hasValue||(t.hasValue=!0,h++);e[t.i$jscomp$323]=w}}(k),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,z,F){return w[z]=e[F],w},{}):e),c.complete())}}(k)}))}})},cja=function(a,b,c,d){Yd(c)&&(d=c,c=void 0);return d?cja(a,b,c).pipe(B(function(e){return ie(e)?d.apply(null,r(e)):d(e)})):new de(function(e){dja(a,
b,function(f){1<arguments.length?e.next(Array.prototype.slice.call(arguments)):e.next(f)},e,c)})},dja=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,k=a.length;h<k;h++)dja(a[h],b,c,d,e);else throw new TypeError("Fa");d.add(f)},eja=function(a,b,c){return c?eja(a,b).pipe(B(function(d){return ie(d)?c.apply(null,r(d)):c(d)})):new de(function(d){var e=function(){var h=Vc.apply(0,arguments);return d.next(1===h.length?h[0]:h)};try{var f=a(e)}catch(h){d.error(h);return}if(Yd(b))return function(){return b(e,f)}})},fja=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)}},gja=function(a){return!ie(a)&&0<=a-parseFloat(a)+1},hja=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(){},ija=function(){var a=Vc.apply(0,arguments);if(0===a.length)return Ae;
var b=l(a),c=b.next().value,d=Be(b);return 1===a.length&&ie(c)?ija.apply(null,r(c)):new de(function(e){var f=function(){return e.add(ija.apply(null,r(d)).subscribe(e))};return ue(c).subscribe({next:function(h){e.next(h)},error:f,complete:f})})},jja=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 ge(c,
new kja(a,b))}},lja=function(a,b){function c(){return!c.pred.apply(c.thisArg,arguments)}c.pred=a;c.thisArg=b;return c},nja=function(){var a=Vc.apply(0,arguments);if(1===a.length)if(ie(a[0]))a=a[0];else return ue(a[0]);return ge(ee(a),new mja)},oja=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)))},pja=function(a){return a instanceof Date&&!isNaN(a)},rja=function(a,b,c){a=void 0===a?0:a;var d=-1;null!=b&&(fe(b)?
c=b:d=b);fe(c)||(c=De);return new de(function(e){var f=Math.max(0,pja(a)?+a-c.now():a);return c.schedule(qja,f,{counter:0,period:d,subscriber:e})})},qja=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(pja(a))var k=a;else if("number"===typeof a)d=a;else{k=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:sja;if(null==k&&null==d)throw new TypeError("Ha");return ge(c,function(w){var z=this,F=new Zd,J,H=null,O=null,P=0,U=function(Z){F.add(H=b.schedule(function(){var la={meta:f,lastValue:O,seen:P};try{var oa=ue(e(la))}catch(Fa){z.error(Fa);return}J.unsubscribe();F.add(oa.subscribe(z))},Z))};F.add(J=w.subscribe({next:function(Z){var la;null==(la=H)||la.unsubscribe();H=null;P++;O=Z;null!=d&&0<d&&U(d);z.next(Z)},error:function(Z){return z.error(Z)},complete:function(){return z.complete()}}));
w=null!=k?"number"===typeof k?k:+k-b.now():d;U(w);return F})}},sja=function(a){throw new tja(a);},vja=function(a){return a in uja?(delete uja[a],!0):!1},wja=function(a){return function(b){setTimeout(a,void 0,b)}},xja=function(){},yja=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}}},Aja=function(a){a.isCheckStableRunning||
-1!==a.lastRequestAnimationFrameId||(a.lastRequestAnimationFrameId=a.nativeRequestAnimationFrame.call(Ld,function(){a.fakeTopEventTask||(a.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){a.lastRequestAnimationFrameId=-1;zja(a);a.isCheckStableRunning=!0;yja(a);a.isCheckStableRunning=!1},void 0,function(){},function(){}));a.fakeTopEventTask.invoke()}),zja(a))},Cja=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 k;c=!0===(null==(k=h[0].data)?void 0:k.__ignore_ng_zone__)}else c=!1;if(c)return b.invokeTask(d,e,f,h);try{return Bja(a),b.invokeTask(d,e,f,h)}finally{(a.shouldCoalesceEventChangeDetection&&"eventTask"===e.type||a.shouldCoalesceRunChangeDetection)&&Aja(a),a._nesting--,yja(a)}},onInvoke:function(b,c,d,e,f,h,k){try{return Bja(a),b.invoke(d,e,f,h,k)}finally{a.shouldCoalesceRunChangeDetection&&Aja(a),a._nesting--,yja(a)}},onHasTask:function(b,c,d,e){b.hasTask(d,
e);c===d&&("microTask"==e.change?(a._hasPendingMicrotasks=e.microTask,zja(a),yja(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}})},zja=function(a){a.hasPendingMicrotasks=a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&-1!==a.lastRequestAnimationFrameId?!0:!1},Bja=function(a){a._nesting++;a.isStable&&(a.isStable=
!1,a.onUnstable.emit(null))},Dja=function(a,b){a=void 0===a?"zone.js":a;return"noop"===a?new Fe:"zone.js"===a?new Ge(b):a},Fja=function(a,b){if(!b&&!Wea&&!Ec)throw new Ac(-203,!1);var c,d=null!=(c=null==b?void 0:b.injector)?c:Gc(He);if("browser"===(null!=d?d:Gc(He)).get(Ie)){pia("NgAfterNextRender");var e,f,h=null!=(f=(e=d.get(Je)).handler)?f:e.handler=new Ke,k;b=null!=(k=null==b?void 0:b.phase)?k:2;var q=function(){h.unregister(w);t()},t=d.get(Le).onDestroy(q),w=new Eja(d,b,function(){q();a()});
h.register(w)}},Gja=function(a,b,c){jga(b);try{var d=a.viewQuery;null!==d&&Xha(1,d,c);var e=a.template;null!==e&&Hha(a,b,e,1,c);a.firstCreatePass&&(a.firstCreatePass=!1);a.staticContentQueries&&Wha(a,b);a.staticViewQueries&&Xha(2,a.viewQuery,c);var f=a.components;if(null!==f)for(c=0;c<f.length;c++){var h=hd(f[c],b),k=h[1];d=k;e=h;for(var q=e.length;q<d.blueprint.length;q++)e.push(d.blueprint[q]);null!==h[0]&&null===h[6]&&(h[6]=null);Gja(k,h,h[8])}}catch(t){throw a.firstCreatePass&&(a.incompleteFirstPass=
!0,a.firstCreatePass=!1),t;}finally{b[2]&=-5,mga()}},Hja=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 k=b[h];if("number"===typeof k)f=k;else if(1==f)e=Uea(e,k);else if(2==f){var q=b[++h];d=Uea(d,k+": "+q+";")}}c?a.styles=d:a.stylesWithoutHost=d;c?a.classes=e:a.classesWithoutHost=e},Ija=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},Jja=function(){nga(u()[1],
ld())},Kja=function(a,b,c){return new Me(a,b,c)},Mja=function(a,b,c){return(new Lja({providers:a,parent:b,debugName:void 0===c?null:c,runEnvironmentInitializers:!0})).injector},Ne=function(a){return!!a&&"function"===typeof a.then},Nja=function(a){return!!a&&"function"===typeof a.subscribe},Pja=function(a){return function(b){return ge(b,new Oja(a))}},Oe=function(a,b){b=void 0===b?De:b;return Pja(function(){return rja(a,b)})},Rja=function(a){return function(b){return ge(b,new Qja(a))}},Pe=function(a){return function(b){return ge(b,
function(c){var d=this,e=new Zd,f=null,h=!1,k;f=c.subscribe({next:function(q){return d.next(q)},error:function(q){try{k=ue(a(q,Pe(a)(c)))}catch(t){d.error(t)}k&&(f?(f.unsubscribe(),f=null,e.add(k.subscribe(d))):h=!0)},complete:function(){return d.complete()}});h?(f.unsubscribe(),f=null,e.add(k.subscribe(d))):e.add(f);return e})}},Tja=function(){var a=Vc.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());1===a.length&&ie(a[0])&&(a=a[0].slice());return function(c){return Cia(c,
ue([c].concat(r(a))),new Sja(b))}},Qe=function(){return Tja.apply(null,r(Vc.apply(0,arguments)))},Uja=function(){var a=Vc.apply(0,arguments);return function(b){return Cia(b,ye.apply(null,[b].concat(r(a))))}},Vja=function(){var a=Vc.apply(0,arguments);return function(b){return Cia(b,ye.apply(null,[b].concat(r(a))))}},Xja=function(a){return function(b){return ge(b,new Wja(a))}},Re=function(a,b){b=void 0===b?De:b;return function(c){return ge(c,new Yja(a,b))}},$ja=function(a){Zja(a)},bka=function(a){a=
void 0===a?null:a;return function(b){return ge(b,new aka(a))}},Se=function(a,b){b=void 0===b?De:b;var c=pja(a)?+a-b.now():Math.abs(a);return function(d){return ge(d,new cka(c,b))}},Te=function(a){return function(b){return ge(b,new dka(a))}},Ue=function(){if(isNaN(1))throw new TypeError("Ja");return function(a){return ge(a,new eka)}},hka=function(a){a=void 0===a?fka:a;return function(b){return ge(b,new gka(a))}},fka=function(){return new Ve},We=function(a){return function(b){return ge(b,new ika(a))}},
Xe=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?Ce(function(e,f){return a(e,f,d)}):be,Ue(),c?bka(b):hka(function(){return new Ve}))}},kka=function(){return function(a){return ge(a,new jka)}},mka=function(){if(isNaN(1))throw new TypeError("Ja");return function(a){return ge(a,new lka)}},nka=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?Ce(function(e,f){return a(e,f,d)}):be,mka(),c?bka(b):hka(function(){return new Ve}))}},Ye=function(a){return function(b){return ge(b,
new oka(a))}},qka=function(a,b){var c=!1;2<=arguments.length&&(c=!0);return function(d){return ge(d,new pka(a,b,c))}},ska=function(a){return function(b){var c="function"===typeof a?a:function(){return a};var d=Object.create(b,rka);d.source=b;d.subjectFactory=c;return d}},tka=function(){var a=new Ze(1,void 0,void 0);return function(b){return ska(function(){return a})(b)}},uka=function(){var a=Vc.apply(0,arguments);return function(b){return 0===a.length?b:Cia(b,nja.apply(null,[b].concat(r(a))))}},vka=
function(){return new $e},wka=function(){return function(a){return he()(ska(vka)(a))}},af=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 ge(c,xka(b))}},xka=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,k;return function(q){h++;if(f)var t=f.subscribe(this);else f=new Ze(b,c,e),t=f.subscribe(this),k=q.subscribe({next:function(w){f.next(w)},
error:function(w){var z=f;f=k=void 0;z.error(w)},complete:function(){k=void 0;f.complete()}}),k.closed&&(k=void 0);this.add(function(){h--;t.unsubscribe();d&&0===h&&k&&(k.unsubscribe(),f=k=void 0)})}},bf=function(a){return function(b){return ge(b,new yka(a))}},cf=function(){var a=Vc.apply(0,arguments),b=a[a.length-1];return fe(b)?(a.pop(),function(c){return ye(a,c,b)}):function(c){return ye(a,c)}},df=function(a){return function(b){return ge(b,new zka(a))}},Aka=function(a){return df(function(){return a})},
ef=function(a){return function(b){return ge(b,new Bka(a))}},Dka=function(a){var b=void 0===b?!1:b;return function(c){return ge(c,new Cka(a,b))}},ff=function(a,b){return function(c){return ge(c,new Eka(a,b))}},Hka=function(a){var b=void 0===b?Fka:b;return function(c){return ge(c,new Gka(a,!!b.leading,!!b.trailing))}},gf=function(){var a=Vc.apply(0,arguments);return function(b){var c;"function"===typeof a[a.length-1]&&(c=a.pop());return ge(b,new Ika(a,c))}},Kka=function(){Jka=function(){throw new Ac(600,
!1);}},Lka=function(a,b,c){try{var d=c();return Ne(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;}},Mka=function(a,b){return Array.isArray(b)?b.reduce(Mka,a):Object.assign({},a,b)},Nka=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)},Oka=function(a,b,c,d){var e=b.tView,f,h,k=Eha(a,e,c,a[2]&4096?4096:16,null,b,null,null,null,null!=(f=null==d?void 0:d.injector)?f:null,null!=(h=null==
d?void 0:d.dehydratedView)?h:null);k[16]=a[b.index];a=a[18];null!==a&&(k[18]=a.createEmbeddedView(e));Gja(e,k,c);return k},Pka=function(a,b){b=10+b;if(b<a.length)return a[b]},Qka=function(a,b){return!b||null===b.firstChild||128===(a.flags&128)},Ska=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&&Rka(f,e);ega(b);b[2]|=128;d&&(c=Wga(c,a),d=b[11],f=d.parentNode(a[7]),null!==f&&(a=a[5],b[0]=f,b[5]=a,Ed(d,1,e.firstChild,b,f,c,!1)));b=b[6];null!==b&&null!==b.firstChild&&(b.firstChild=null)},Uka=function(){return Tka(ld(),u())},Vka=function(a){return a[8]||(a[8]=[])},Tka=function(a,b){var c=b[a.index];if(cd(c))var d=c;else d=[c,!0,0,b,null,a,null,null,null,null],b[a.index]=d,Kha(b,d);Wka(d,b,a,c);return new hf(d,a,b)},Xka=function(a,b,c,d){if(!a[7]){if(c.type&8)d=
fd(d);else{d=b[11];var e=d.createComment("");c=gd(c,b);b=d.parentNode(c);c=d.nextSibling(c);d.insertBefore(b,e,c,!1);d=e}a[7]=d}},jf=function(a,b,c){return a[b]=c},kf=function(a,b,c){if(Object.is(a[b],c))return!1;a[b]=c;return!0},lf=function(a,b,c,d){c=kf(a,b,c);return kf(a,b+1,d)||c},C=function(a,b,c,d,e,f,h,k){var q=u(),t=kd.tView,w=a+25;if(t.firstCreatePass){var z=t.consts;e=Qd(t,w,4,e||null,id(z,f));Uha(t,q,e,id(z,h));nga(t,e);b=e.tView=Oha(2,e,b,c,d,t.directiveRegistry,t.pipeRegistry,null,t.schemas,
z,null);null!==t.queries&&(t.queries.template(t,e),b.queries=t.queries.embeddedTView(e));b=e}else b=t.data[w];md(b,!1);a=Yka(t,q,b,a);mf&&Vga(t,q,a,b);Cd(a,q);a=[a,!0,0,q,null,b,null,a,null,null];q[w]=a;Kha(q,a);1===(b.flags&1)&&Mha(t,q,b);null!=h&&Nha(q,b,k);return C},Zka=function(a,b){mf=!0;return b[11].createComment("")},nf=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 Ac(903,!1);
e=b.\u0275dir}if(e){if(c){d.push(e);var f=a;f.inputs=$ka(a.inputs);f.inputTransforms=$ka(a.inputTransforms);f.declaredInputs=$ka(a.declaredInputs);f.outputs=$ka(a.outputs);(f=e.hostBindings)&&ala(a,f);f=e.viewQuery;var h=e.contentQueries;f&&bla(a,f);h&&cla(a,h);f=void 0;h=a;var k=e;for(f in k.inputs)if(k.inputs.hasOwnProperty(f)&&!h.inputs.hasOwnProperty(f)){var q=k.inputs[f];if(void 0!==q&&(h.inputs[f]=q,h.declaredInputs[f]=k.declaredInputs[f],null!==k.inputTransforms&&(q=Array.isArray(q)?q[0]:q,
k.inputTransforms.hasOwnProperty(q)))){var t=void 0;null!=(t=h).inputTransforms||(t.inputTransforms={});h.inputTransforms[q]=k.inputTransforms[q]}}f=void 0;h=a.outputs;k=e.outputs;for(f in k)k.hasOwnProperty(f)&&!h.hasOwnProperty(f)&&(h[f]=k[f]);e.template&&e.data.animation&&(f=a.data,f.animation=(f.animation||[]).concat(e.data.animation))}if(e=e.features)for(f=0;f<e.length;f++)(h=e[f])&&h.ngInherit&&h(a),h===nf&&(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=Ic(e.hostAttrs,b=Ic(b,e.hostAttrs))},$ka=function(a){return a===Oc?{}:a===Kc?[]:a},bla=function(a,b){var c=a.viewQuery;a.viewQuery=c?function(d,e){b(d,e);c(d,e)}:b},cla=function(a,b){var c=a.contentQueries;a.contentQueries=c?function(d,e,f){b(d,e,f);c(d,e,f)}:b},ala=function(a,b){var c=a.hostBindings;a.hostBindings=c?function(d,e){b(d,e);c(d,e)}:b},of=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},pf=function(a,b,c,d){var e=u(),f=kd.bindingIndex++;kf(e,f,b)&&(f=pd(),Vha(f,e,a,b,c,d));return pf},qf=function(a,b,c,d){return kf(a,kd.bindingIndex++,c)?b+xc(c)+d:Rd},dla=function(a,b,c,d,e,f){a=lf(a,kd.bindingIndex,c,e);od(2);return a?b+xc(c)+d+xc(e)+f:Rd},rf=function(a,b,c,d,e,f){var h=u();b=qf(h,b,c,d);b!==Rd&&(c=pd(),Vha(c,h,a,b,e,f));return rf},sf=function(a,b,c,d,e,f,h,k){var q=u();b=dla(q,b,c,d,e,f);b!==Rd&&(c=pd(),Vha(c,q,a,b,h,k));return sf},ela=function(a,b,c,d,e,f,h,k,q,t){var w=u();
var z=kd.bindingIndex;var F=lf(w,z,c,e);z=kf(w,z+2,h)||F;od(3);b=z?b+xc(c)+d+xc(e)+f+xc(h)+k:Rd;b!==Rd&&(c=pd(),Vha(c,w,a,b,q,t));return ela},D=function(a,b,c){var d=u(),e=kd.bindingIndex++;if(kf(d,e,b)){e=kd.tView;var f=pd();Sd(e,f,d,a,b,d[11],c,!1)}return D},fla=function(a,b,c,d,e){e=e?"class":"style";Rha(a,c,b.inputs[e],e,d)},gla=function(a,b,c,d){for(var e=a[c+1],f=null===b,h=d?e>>17&32767:(e&131068)>>2,k=!1;0!==h&&(!1===k||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<=Tc(t,w))k=!0,a[h+1]=d?q|1:q|2;h=d?q>>17&32767:(q&131068)>>2}k&&(a[c+1]=d?e|2:e|1)},hla=function(a,b){var c=tf;if(c===b)return-1;for(b=uf=b;b<c&&32<a.charCodeAt(b);)b++;b=vf=b;return wf(a,b,c)},mla=function(a,b){var c=tf;b=uf=wf(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=vf=b;b=ila(a,b,c);d=b=jla=wf(a,b,c);for(var e=b=-1,f=-1,h=d,k=h;h<c;){var q=a.charCodeAt(h++);if(59===
q)break;else 34===q||39===q?k=h=kla(a,q,h,c):d===h-4&&85===f&&82===e&&76===b&&40===q?k=h=kla(a,41,h,c):32<q&&(k=h);f=e;e=b;b=q&-33}b=lla=k;return ila(a,b,c)},wf=function(a,b,c){for(;b<c&&32>=a.charCodeAt(b);)b++;return b},ila=function(a,b,c){b=wf(a,b,c);b<c&&b++;return b},kla=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();},xf=function(a,b,c){nla(a,b,c,!1);return xf},yf=function(a,b){nla(a,b,null,!0);return yf},pla=function(a,
b){var c;lla=jla=vf=uf=0;tf=b.length;for(c=mla(b,wf(b,0,tf));0<=c;c=mla(b,c))ola(a,b.substring(uf,vf),b.substring(jla,lla))},zf=function(a){qla(rla,sla,a,!0)},sla=function(a,b){var c;lla=jla=vf=uf=0;tf=b.length;for(c=hla(b,wf(b,0,tf));0<=c;c=hla(b,c))Uc(a,b.substring(uf,vf),!0)},nla=function(a,b,c,d){var e=u(),f=kd.tView,h=od(2);f.firstUpdatePass&&tla(f,a,h,d);if(b!==Rd&&kf(e,h,b)){var k=f.data[kd.selectedIndex],q=e[11];null!=b&&""!==b&&("string"===typeof c?b+=c:"object"===typeof b&&(b=yc(Jd(b))));
ula(f,k,e,q,a,e[h+1]=b,d,h)}},qla=function(a,b,c,d){var e=kd.tView,f=od(2);e.firstUpdatePass&&tla(e,null,f,d);var h=u();if(c!==Rd&&kf(h,f,c)){var k=e.data[kd.selectedIndex];if(0===(k.flags&(d?8:16))||f>=e.expandoStartIndex){var q=h[11],t=h[f+1];if(null==c||""===c)a=Kc;else{var w=[];c=Jd(c);if(Array.isArray(c))for(b=0;b<c.length;b++)a(w,c[b],!0);else if("object"===typeof c)for(var z in c)c.hasOwnProperty(z)&&a(w,z,c[z]);else"string"===typeof c&&b(w,c);a=w}a=h[f+1]=a;t===Rd&&(t=Kc);b=w=0;c=0<t.length?
t[0]:null;for(z=0<a.length?a[0]:null;null!==c||null!==z;){var F=w<t.length?t[w+1]:void 0,J=b<a.length?a[b+1]:void 0,H=null,O=void 0;c===z?(w+=2,b+=2,F!==J&&(H=z,O=J)):null===z||null!==c&&c<z?(w+=2,H=c):(b+=2,H=z,O=J);null!==H&&ula(e,k,h,q,H,O,d,f);c=w<t.length?t[w]:null;z=b<a.length?a[b]:null}}else f=d?k.classesWithoutHost:k.stylesWithoutHost,null!==f&&(c=Uea(f,c?c:"")),fla(e,k,h,c,d)}},tla=function(a,b,c,d){var e=a.data;if(null===e[c+1]){var f=e[kd.selectedIndex];a=c>=a.expandoStartIndex;0!==(f.flags&
(d?8:16))&&null===b&&!a&&(b=!1);var h=gga(e),k=d?f.residualClasses:f.residualStyles;if(null===h)0===(d?f.classBindings:f.styleBindings)&&(b=vla(null,e,f,b,d),b=Af(b,f.attrs,d),k=null);else{var q=f.directiveStylingLast;if(-1===q||e[q]!==h)if(b=vla(h,e,f,b,d),null===k)h=d?f.classBindings:f.styleBindings,h=0!==(h&131068)>>2?e[h>>17&32767]:void 0,void 0!==h&&Array.isArray(h)&&(h=vla(null,e,f,h[1],d),h=Af(h,f.attrs,d),e[(d?f.classBindings:f.styleBindings)>>17&32767]=h);else{k=void 0;h=f.directiveEnd;for(q=
1+f.directiveStylingLast;q<h;q++)k=Af(k,e[q].hostAttrs,d);k=Af(k,f.attrs,d)}}void 0!==k&&(d?f.residualClasses=k:f.residualStyles=k);h=b;k=d?f.classBindings:f.styleBindings;b=k>>17&32767;k=(k&131068)>>2;e[c]=h;q=!1;if(Array.isArray(h)){var t=h[1];if(null===t||0<Tc(h,t))q=!0}else t=h;a?0!==k?(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]=k<<17|0,0===b?b=c:e[k+1]=e[k+1]&-131069|c<<
2,k=c);q&&(e[c+1]|=2);gla(e,t,c,!0);gla(e,t,c,!1);a=t;h=d?f.residualClasses:f.residualStyles;null!=h&&"string"==typeof a&&0<=Tc(h,a)&&(e[c+1]|=1);k=b<<17|k<<2;d?f.classBindings=k:f.styleBindings=k}},vla=function(a,b,c,d,e){var f=c.directiveEnd,h=c.directiveStylingLast;for(-1===h?h=c.directiveStart:h++;h<f;){var k=b[h];d=Af(d,k.hostAttrs,e);if(k===a)break;h++}null!==a&&(c.directiveStylingLast=h);return d},Af=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]),Uc(a,h,c?!0:b[++f]))}return void 0===a?null:a},ola=function(a,b,c){Uc(a,b,Jd(c))},rla=function(a,b,c){b=String(b);""===b||b.includes(" ")||Uc(a,b,c)},ula=function(a,b,c,d,e,f,h,k){if(b.type&3){a=a.data;var q=a[k+1];void 0===(1===(q&1)?wla(a,b,c,e,(q&131068)>>2,h):void 0)&&(void 0!==f||2==(q&2)&&(f=wla(a,null,c,e,k,h)),b=fd(c[kd.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))))}},wla=function(a,b,c,d,e,f){for(var h=null===b,k=void 0;0<e;){var q=a[e],t=Array.isArray(q),w=t?q[1]:q,z=null===w,F=c[e+1];F===Rd&&(F=z?Kc:void 0);w=z?ufa(F,d):w===d?F:void 0;t&&void 0===w&&(w=ufa(q,d));if(void 0!==w&&(k=w,h))return k;e=a[e+1];e=h?e>>17&32767:(e&131068)>>2}null!==b&&(a=f?b.residualClasses:b.residualStyles,null!=a&&(k=ufa(a,d)));return k},Bf=function(a,b,c){a=qf(u(),a,b,c);qla(Uc,sla,
a,!0)},xla=function(a,b,c,d,e){return a===c&&Object.is(b,d)?1:Object.is(e(a,b),e(c,d))?-1:0},Dla=function(a,b,c){var d=void 0,e=void 0,f=0,h=a.length-1;if(Array.isArray(b)){for(var k=b.length-1;f<=h&&f<=k;){var q=a.at(f),t=b[f],w=xla(f,q,f,t,c);if(0!==w)0>w&&a.updateValue(f,t),f++;else{var z=a.at(h);w=b[k];var F=xla(h,z,k,w,c);0!==F?(0>F&&a.updateValue(h,w),h--,k--):(q=c(f,q),z=c(h,z),F=c(f,t),Object.is(F,z)?(z=c(k,w),Object.is(z,q)?(yla(a,f,h),a.updateValue(h,w),k--,h--):a.move(h,f),a.updateValue(f,
t),f++):(null!=d||(d=new zla),null!=e||(e=Ala(a,f,h,c)),Bla(a,d,f,F)?(a.updateValue(f,t),f++,h++):e.has(F)?(d.set(q,a.detach(f)),h--):(t=a.create(f,b[f]),a.attach(f,t),f++,h++)))}}for(;f<=k;)Cla(a,d,c,f,b[f]),f++}else if(null!=b){b=b[Symbol.iterator]();for(k=b.next();!k.done&&f<=h;)t=a.at(f),w=k.value,q=xla(f,t,f,w,c),0!==q?(0>q&&a.updateValue(f,w),f++,k=b.next()):(null!=d||(d=new zla),null!=e||(e=Ala(a,f,h,c)),q=c(f,w),Bla(a,d,f,q)?(a.updateValue(f,w),f++,h++,k=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++,k=b.next()));for(;!k.done;)Cla(a,d,c,a.length,k.value),k=b.next()}for(;f<=h;)a.destroy(a.detach(h--));var J;null==(J=d)||J.forEach(function(H){a.destroy(H)})},Bla=function(a,b,c,d){return void 0!==b&&b.has(d)?(a.attach(c,b.get(d)),b.delete(d),!0):!1},Cla=function(a,b,c,d,e){Bla(a,b,d,c(d,e))?a.updateValue(d,e):(b=a.create(d,e),a.attach(d,b))},Ala=function(a,b,c,d){for(var e=new Set;b<=c;b++)e.add(d(b,a.at(b)));return e},Cf=function(a,b,c){pia("NgControlFlow");
var d=u(),e=kd.bindingIndex++;a=d[25+a];if(kf(d,e,b)){e=dd(null);try{var f=Fd(a,0);void 0!==f&&Tga(f[1],f);if(-1!==b){var h=d[1].data[25+b],k=Oka(d,h,c,{dehydratedView:null});Ska(a,k,0,Qka(h,null))}}finally{dd(e)}}else b=Pka(a,0),void 0!==b&&(b[8]=c)},Ela=function(a){return a},Df=function(a,b){return b},Ef=function(a,b,c,d,e,f,h){pia("NgControlFlow");u()[25+a]=new Fla(h);C(a+1,b,c,d,e,f)},Ff=function(a){var b=dd(null),c=kd.selectedIndex;try{var d=u(),e=d[1],f=d[c];void 0===f.liveCollection?(c+=1,
f.liveCollection=new Gla(d[c],d,e.data[c])):f.liveCollection.reset();var h=f.liveCollection;Dla(h,a,f.trackByFn);if(h.needsIndexUpdate)for(a=0;a<h.length;a++)Pka(h.lContainer,a)[8].$index=a}finally{dd(b)}},E=function(a,b,c,d){var e=u(),f=kd.tView,h=25+a;a=e[11];if(f.firstCreatePass){var k=f.consts;c=id(k,c);c=Qd(f,h,2,b,c);Uha(f,e,c,id(k,d));null!==c.attrs&&Hja(c,c.attrs,!1);null!==c.mergedAttrs&&Hja(c,c.mergedAttrs,!0);null!==f.queries&&f.queries.elementStart(f,c);k=c}else k=f.data[h];mf=!0;b=a.createElement(b,
kd.currentNamespace);e[h]=b;h=1===(k.flags&1);md(k,!0);Zga(a,b,k);32!==(k.flags&32)&&mf&&Vga(f,e,b,k);0===kd.elementDepthCount&&Cd(b,e);kd.elementDepthCount++;h&&(Mha(f,e,k),Iha(f,k,e));null!==d&&Nha(e,k);return E},G=function(){var a=ld();kd.isParent?kd.isParent=!1:(a=a.parent,md(a,!1));var b=a;Fha===b&&(Fha=null);kd.elementDepthCount--;var c=kd.tView;c.firstCreatePass&&(nga(c,a),0!==(a.flags&4)&&c.queries.elementEnd(a));null!=b.classesWithoutHost&&0!==(b.flags&8)&&fla(c,b,u(),b.classesWithoutHost,
!0);null!=b.stylesWithoutHost&&0!==(b.flags&16)&&fla(c,b,u(),b.stylesWithoutHost,!1);return G},I=function(a,b,c,d){E(a,b,c,d);G();return I},K=function(a,b,c){var d=u(),e=kd.tView;a+=25;if(e.firstCreatePass){var f=e.consts;var h=id(f,b);b=Qd(e,a,8,"ng-container",h);null!==h&&Hja(b,h,!0);f=id(f,c);Uha(e,d,b,f);null!==e.queries&&e.queries.elementStart(e,b);f=b}else f=e.data[a];md(f,!0);mf=!0;b=d[11].createComment(Qga());d[a]=b;mf&&Vga(e,d,b,f);Cd(b,d);1===(f.flags&1)&&(Mha(e,d,f),Iha(e,f,d));null!=c&&
Nha(d,f);return K},L=function(){var a=ld(),b=kd.tView;kd.isParent?kd.isParent=!1:(a=a.parent,md(a,!1));b.firstCreatePass&&(nga(b,a),0!==(a.flags&4)&&b.queries.elementEnd(a));return L},Gf=function(a,b,c){K(a,b,c);L();return Gf},Hf=function(a,b,c){var d=u(),e=kd.bindingIndex++;if(kf(d,e,b)){e=kd.tView;var f=pd();Sd(e,f,d,a,b,d[11],c,!0)}return Hf},If=function(a,b,c){var d=u(),e=kd.bindingIndex++;if(kf(d,e,b)){e=kd.tView;var f=pd(),h=Yha(gga(e.data),f,d);Sd(e,f,d,a,b,h,c,!0)}return If},Jf=function(a){var b=
a.toLowerCase().replace(/_/g,"-");if(a=Hla(b))return a;b=b.split("-")[0];if(a=Hla(b))return a;if("en"===b)return Ila;throw new Ac(701,!1);},Hla=function(a){a in Jla||(Jla[a]=Ld.ng&&Ld.ng.common&&Ld.ng.common.locales&&Ld.ng.common.locales[a]);return Jla[a]},M=function(a,b,c,d){c=u();Kla(kd.tView,c,c[11],ld(),a,b,d);return M},Kf=function(a,b){var c=ld(),d=u(),e=kd.tView,f=Yha(gga(e.data),c,d);Kla(e,d,f,c,a,b);return Kf},Lla=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},Kla=function(a,b,c,d,e,f,h){var k=1===(d.flags&1),q=a.firstCreatePass&&(a.cleanup||(a.cleanup=[])),t=b[7]||(b[7]=[]),w=!0;if(d.type&3||h){var z=gd(d,b),F=h?h(z):z;z=t.length;var J=h?function(P){return h(fd(P[d.index]))}:d.index,H=null;!h&&k&&(H=Lla(a,b,e,d.index));null!==H?((H.__ngLastListenerFn__||H).__ngNextListenerFn__=f,H.__ngLastListenerFn__=f,w=!1):(f=Mla(d,b,f),a=c.listen(F,e,f),t.push(f,
a),q&&q.push(e,J,z,z+1))}else f=Mla(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),k=t.length,t.push(f,c),q&&q.push(e,d.index,k,-(k+1))},Nla=function(a,b,c){try{return!1!==b(c)}catch(d){return Zha(a,d),!1}finally{}},Mla=function(a,b,c){return function f(e){if(e===Function)return c;var h=-1<a.componentOffset?hd(a.index,b):b;gia(h);h=Nla(b,c,e);for(var k=f.__ngNextListenerFn__;k;)h=Nla(b,k,e)&&h,k=k.__ngNextListenerFn__;return h}},N=function(a){a=
void 0===a?1:a;for(var b=kd.contextLView;0<a;)b=b[14],a--;return(kd.contextLView=b)[8]},Lf=function(a){var b=u()[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 k=e.attrs;if(null!=k){var q=k.indexOf(5);if(0===(q&1)){k=k[q+1];break b}}k=null}for(q=0;q<f.length;q++){var t=f[q];if("*"===t)h=q;else{if(null===k)t=gfa(e,t,!0);else b:{var w=0;c:for(;w<t.length;w++){var z=t[w];if(k.length===
z.length){for(var F=0;F<k.length;F++)if(k[F]!==z[F])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}}},Mf=function(a,b,c){b=void 0===b?0:b;var d=u(),e=kd.tView;a=Qd(e,25+a,16,null,c||null);null===a.projection&&(a.projection=b);kd.isParent=!1;d[6]&&null===Fha||32===(a.flags&32)||(b=d[11],e=Uga(e,a.parent,d),c=a.parent||d[5],c=c.type&40?gd(c,d):null,Yga(b,0,d,a,e,c))},Of=function(a,b,c){Nf(a,"",b,"",c);return Of},Nf=function(a,
b,c,d,e){var f=u();b=qf(f,b,c,d);b!==Rd&&(c=kd.tView,d=pd(),Sd(c,d,f,a,b,f[11],e,!1));return Nf},Pf=function(a,b,c,d,e,f,h){var k=u();b=dla(k,b,c,d,e,f);b!==Rd&&(c=kd.tView,d=pd(),Sd(c,d,k,a,b,k[11],h,!1));return Pf},Ola=function(){return this._results[Symbol.iterator]()},Qla=function(){return Pla(ld(),u())},Pla=function(a,b){return a.type&4?new Qf(b,a,Bd(a,b)):null},Rla=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;h<e.length;h+=2){var k=e[h];if(0>
k)f.push(null);else{var q=f,t=q.push,w=b,z=a[k],F=e[h+1];k=c.metadata.read;-1===F?(k=z,w=k.type&11?Bd(k,w):k.type&4?Pla(k,w):null):-2===F?w=k===Ad?Bd(z,w):k===Rf?Pla(z,w):k===Sf?Tka(z,w):void 0:w=wd(w,w[1],F,z);t.call(q,w)}}d.matches=f}return d.matches},Sla=function(a,b,c,d){var e=a.queries.queries[c],f=e.matches;if(null!==f)for(a=Rla(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 k=10;k<h.length;k++){var q=h[k];q[16]===q[3]&&Sla(q[1],q,e,d)}if(null!==
h[9])for(h=h[9],k=0;k<h.length;k++)q=h[k],Sla(q[1],q,e,d)}}return d},Vla=function(a,b){var c=u();b=new Tf(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 Tla).queries.push(new Ula(b))},Uf=function(a,b,c){var d=kd.tView;d.firstCreatePass&&(Wla(d,new Xla(a,b,c),-1),2===(b&2)&&(d.staticViewQueries=!0));Vla(d,b)},Vf=function(a,b,c,d){var e=kd.tView;if(e.firstCreatePass){var f=ld();Wla(e,new Xla(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)}Vla(e,c)},Yla=function(a){return a.split(",").map(function(b){return b.trim()})},Wla=function(a,b,c){null===a.queries&&(a.queries=new Zla);a.queries.track(new Wf(b,c))},Yf=function(a){var b=u(),c=kd.tView,d=kd.currentQueryIndex;kd.currentQueryIndex=d+1;var e=c.queries.queries[d];return a.dirty&&4===(b[2]&4)===(2===(e.metadata.flags&2))?(null===
e.matches?a.reset([]):(b=e.crossesNgTemplate?Sla(c,b,d,[]):Rla(c,b,e,d),a.reset(b,Mga),Xf(a)),!0):!1},Zf=function(){return u()[18].queries[kd.currentQueryIndex].queryList},Q=function(a){return kd.contextLView[25+a]},R=function(a,b){b=void 0===b?"":b;var c=u(),d=kd.tView;a+=25;var e=d.firstCreatePass?Qd(d,a,1,b,null):d.data[a];mf=!0;b=c[11].createText(b);c[a]=b;mf&&Vga(d,c,b,e);md(e,!1)},$f=function(a){S("",a,"");return $f},S=function(a,b,c){var d=u();a=qf(d,a,b,c);a!==Rd&&$ha(d,a);return S},ag=function(a,
b,c,d,e){var f=u();a=dla(f,a,b,c,d,e);a!==Rd&&$ha(f,a);return ag},$la=function(a,b,c,d,e,f,h,k,q){var t=u();var w=kd.bindingIndex;var z=lf(t,w,b,d);w=lf(t,w+2,f,k)||z;od(4);a=w?a+xc(b)+c+xc(d)+e+xc(f)+h+xc(k)+q:Rd;a!==Rd&&$ha(t,a);return $la},ama=function(a,b,c,d,e){a=Dc(a);if(Array.isArray(a))for(var f=0;f<a.length;f++)ama(a[f],b,c,d,e);else{f=kd.tView;var h=u(),k=ld(),q=Wc(a)?a:Dc(a.provide),t=Jfa(a),w=k.providerIndexes&1048575,z=k.directiveStart,F=k.providerIndexes>>20;if(Wc(a)||!a.multi)d=new xd(t,
e),t=bma(q,b,e?w:w+F,z),-1===t?(t=zga(k,h),vga(t,f,q),cma(f,a,b.length),b.push(q),k.directiveStart++,k.directiveEnd++,e&&(k.providerIndexes+=1048576),c.push(d),h.push(d)):(c[t]=d,h[t]=d);else{z=bma(q,b,w+F,z);w=bma(q,b,w,w+F);var J=0<=z&&c[z];F=0<=w&&c[w];e&&!F||!e&&!J?(z=zga(k,h),vga(z,f,q),z=c.length,J=new xd(e?dma:ema,e),J.multi=[],J.index=z,J.componentProviders=0,d&&!e&&J.componentProviders++,J.multi.push(t),!e&&F&&(c[w].providerFactory=J),cma(f,a,b.length,0),b.push(q),k.directiveStart++,k.directiveEnd++,
e&&(k.providerIndexes+=1048576),c.push(J),h.push(J)):(b=c[e?w:z],!e&&d&&b.componentProviders++,b=b.multi.push(t)-1,cma(f,a,-1<z?z:w,b));!e&&d&&F&&c[w].componentProviders++}}},cma=function(a,b,c,d){var e=Wc(b),f=!!b.useClass;if(e||f)if(f=(f?Dc(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)},bma=function(a,b,c,d){for(;c<d;c++)if(b[c]===a)return c;return-1},ema=function(){return fma(this.multi,
[])},dma=function(a,b,c,d){b=this.multi;if(this.providerFactory){var e=this.providerFactory.componentProviders;d=wd(c,c[1],this.providerFactory.index,d);c=d.slice(0,e);fma(b,c);for(b=e;b<d.length;b++)c.push(d[b])}else c=[],fma(b,c);return c},fma=function(a,b){for(var c=0;c<a.length;c++)b.push((0,a[c])());return b},bg=function(a){var b=void 0===b?[]:b;return function(c){c.providersResolver=function(d,e){e=e?e(a):a;var f=kd.tView;f.firstCreatePass&&(d=!!d.template,ama(b,f.data,f.blueprint,d,!0),ama(e,
f.data,f.blueprint,d,!1))}}},dg=function(a){pia("NgStandalone");a.getStandaloneInjector=function(b){b=b.get(cg);if(a.standalone){if(!b.cachedInjectors.has(a)){var c=vfa(!1,a.type);c=0<c.length?Mja([c],b._injector,"Standalone["+a.type.name+"]"):null;b.cachedInjectors.set(a,c)}b=b.cachedInjectors.get(a)}else b=null;return b}},eg=function(a,b){a=nd()+a;var c=u();return c[a]===Rd?jf(c,a,b()):c[a]},fg=function(a,b,c){return gma(u(),nd(),a,b,c)},gg=function(a,b,c,d){return hma(u(),nd(),a,b,c,d)},hg=function(a,
b,c,d){return ima(u(),nd(),2,a,b,c,d)},kma=function(a,b,c,d,e,f){var h=jma,k=nd()+8,q=u();var t=lf(q,k,a,b);t=lf(q,k+2,c,d)||t;return lf(q,k+4,e,f)||t?jf(q,k+6,h(a,b,c,d,e,f)):q[k+6]},lma=function(a,b){a=a[b];return a===Rd?void 0:a},gma=function(a,b,c,d,e,f){b+=c;return kf(a,b,e)?jf(a,b+1,f?d.call(f,e):d(e)):lma(a,b+1)},hma=function(a,b,c,d,e,f,h){b+=c;return lf(a,b,e,f)?jf(a,b+2,h?d.call(h,e,f):d(e,f)):lma(a,b+2)},ima=function(a,b,c,d,e,f,h,k){b+=c;c=lf(a,b,e,f);return kf(a,b+2,h)||c?jf(a,b+3,k?
d.call(k,e,f,h):d(e,f,h)):lma(a,b+3)},T=function(a,b){var c=kd.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=Sc(b.type));b=Bc(A);try{var k=tga(!1),q=h();tga(k);var t=u();a>=c.data.length&&(c.data[a]=null,c.blueprint[a]=null);t[a]=q}finally{Bc(b)}},V=function(a,b,
c){a+=25;var d=u(),e=d[a];return d[1].data[a].pure?gma(d,nd(),b,e.transform,c,e):e.transform(c)},ig=function(a,b,c,d){a+=25;var e=u(),f=e[a];return e[1].data[a].pure?hma(e,nd(),b,f.transform,c,d,f):f.transform(c,d)},mma=function(a,b,c,d){a+=25;var e=u(),f=e[a];return e[1].data[a].pure?ima(e,nd(),b,f.transform,c,0,d,f):f.transform(c,0,d)},nma=function(a,b){a=a.\u0275cmp;a.directiveDefs=kfa(b,!1);a.pipeDefs=kfa([],!0)},jg=function(a,b){return Pla(a,b)},qma=function(a){return[{provide:Ge,useFactory:a},
{provide:Bfa,multi:!0,useFactory:function(){var b=Gc(kg,{optional:!0});return function(){return b.initialize()}}},{provide:Bfa,multi:!0,useFactory:function(){var b=Gc(lg);return function(){b.initialize()}}},{provide:oma,useFactory:pma}]},pma=function(){var a=Gc(Ge),b=Gc(Ud);return function(c){return a.runOutsideAngular(function(){return b.handleError(c)})}},rma=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}},wma=function(a,b,c){c=void 0===c?[]:c;var d="Platform: "+b,e=new Xc(d);return function(f){f=void 0===f?[]:f;var h=sma();if(!h||h.injector.get(tma,!1))if(f=[].concat(r(c),r(f),[{provide:e,useValue:!0}]),a)a(f);else{f=uma(f,d);if(mg&&!mg.get(tma,!1))throw new Ac(400,!1);Kka();mg=f;f.get(ng);vma(f)}f=sma();if(!f)throw new Ac(401,!1);return f}},uma=function(a,b){a=void 0===a?[]:a;return og({name:b,providers:[{provide:xma,useValue:"platform"},{provide:yma,useValue:new Set([function(){return mg=
null}])}].concat(r(a))})},sma=function(){var a,b;return null!=(b=null==(a=mg)?void 0:a.get(ng))?b:null},vma=function(a){var b;null==(b=a.get(zma,null))||b.forEach(function(c){return c()})},pg=function(a){return"boolean"===typeof a?a:null!=a&&"false"!==a},qg=function(a,b){b=void 0===b?NaN:b;return isNaN(parseFloat(a))||isNaN(Number(a))?b:Number(a)},Ama=function(a,b){a=a[Mc]||null;var c=b.elementInjector||Gfa();return(new rg(a)).create(c,b.projectableNodes,b.hostElement,b.environmentInjector)},Bma=
function(a){var b=a[Mc]||null;if(!b)return null;var c=new rg(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}}},Cma=function(a,b){if(b&&!b.createEmbeddedView)throw Error("La`"+a+"`"+yc(b));},Dma=function(a,b,c){a=Jf(a);b=sg([a[1],a[2]],b);return sg(b,c)},Ema=function(a,b,c){a=Jf(a);
b=sg([a[3],a[4]],b);return sg(b,c)},Fma=function(a,b,c){a=Jf(a);b=sg([a[5],a[6]],b);return sg(b,c)},Gma=function(a,b){a=Jf(a)[7];return sg(a,b)},Hma=function(a,b){a=Jf(a);return sg(a[10],b)},Ima=function(a,b){a=Jf(a);return sg(a[11],b)},Jma=function(a,b){a=Jf(a)[12];return sg(a,b)},tg=function(a,b){a=Jf(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},Kma=function(a){if(!a[21])throw Error("Ma`"+a[0]);},Mma=function(a){a=Jf(a);Kma(a);return(a[21][2]||
[]).map(function(b){return"string"===typeof b?Lma(b):[Lma(b[0]),Lma(b[1])]})},Nma=function(a,b,c){a=Jf(a);Kma(a);b=sg([a[21][0],a[21][1]],b)||[];return sg(b,c)||[]},sg=function(a,b){for(;-1<b;b--)if("undefined"!==typeof a[b])return a[b];throw Error("Na");},Lma=function(a){var b=l(a.split(":"));a=b.next().value;b=b.next().value;return{hours:+a,minutes:+b}},ug=function(){return new Ac(2100,!1)},Wma=function(a,b,c,d){var e=Oma(a);b=vg(c,b)||b;a=[];for(var f;b;)if(f=Pma.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=Qma(d,h),e=Rma(e,d));var k="";a.forEach(function(q){a:if(Sma[q])var t=Sma[q];else{switch(q){case "G":case "GG":case "GGG":t=wg(3,1);break;case "GGGG":t=wg(3,2);break;case "GGGGG":t=wg(3,0);break;case "y":t=xg(0,1,0,!1,!0);break;case "yy":t=xg(0,2,0,!0,!0);break;case "yyy":t=xg(0,3,0,!1,!0);break;case "yyyy":t=xg(0,4,0,!1,!0);break;case "Y":t=Tma(1);break;case "YY":t=Tma(2,!0);break;case "YYY":t=Tma(3);break;case "YYYY":t=Tma(4);
break;case "M":case "L":t=xg(1,1,1);break;case "MM":case "LL":t=xg(1,2,1);break;case "MMM":t=wg(2,1);break;case "MMMM":t=wg(2,2);break;case "MMMMM":t=wg(2,0);break;case "LLL":t=wg(2,1,1);break;case "LLLL":t=wg(2,2,1);break;case "LLLLL":t=wg(2,0,1);break;case "w":t=Uma(1);break;case "ww":t=Uma(2);break;case "W":t=Uma(1,!0);break;case "d":t=xg(2,1);break;case "dd":t=xg(2,2);break;case "c":case "cc":t=xg(7,1);break;case "ccc":t=wg(1,1,1);break;case "cccc":t=wg(1,2,1);break;case "ccccc":t=wg(1,0,1);break;
case "cccccc":t=wg(1,3,1);break;case "E":case "EE":case "EEE":t=wg(1,1);break;case "EEEE":t=wg(1,2);break;case "EEEEE":t=wg(1,0);break;case "EEEEEE":t=wg(1,3);break;case "a":case "aa":case "aaa":t=wg(0,1);break;case "aaaa":t=wg(0,2);break;case "aaaaa":t=wg(0,0);break;case "b":case "bb":case "bbb":t=wg(0,1,1,!0);break;case "bbbb":t=wg(0,2,1,!0);break;case "bbbbb":t=wg(0,0,1,!0);break;case "B":case "BB":case "BBB":t=wg(0,1,0,!0);break;case "BBBB":t=wg(0,2,0,!0);break;case "BBBBB":t=wg(0,0,0,!0);break;
case "h":t=xg(3,1,-12);break;case "hh":t=xg(3,2,-12);break;case "H":t=xg(3,1);break;case "HH":t=xg(3,2);break;case "m":t=xg(4,1);break;case "mm":t=xg(4,2);break;case "s":t=xg(5,1);break;case "ss":t=xg(5,2);break;case "S":t=xg(6,1);break;case "SS":t=xg(6,2);break;case "SSS":t=xg(6,3);break;case "Z":case "ZZ":case "ZZZ":t=Vma(0);break;case "ZZZZZ":t=Vma(3);break;case "O":case "OO":case "OOO":case "z":case "zz":case "zzz":t=Vma(1);break;case "OOOO":case "ZZZZ":case "zzzz":t=Vma(2);break;default:t=null;
break a}Sma[q]=t}k+=t?t(e,c,h):"''"===q?"'":q.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return k},Xma=function(a,b,c){var d=new Date(0);d.setFullYear(a,b,c);d.setHours(0,0,0);return d},vg=function(a,b){var c=Jf(a)[0];null!=yg[c]||(yg[c]={});if(yg[c][b])return yg[c][b];var d="";switch(b){case "shortDate":d=Hma(a,0);break;case "mediumDate":d=Hma(a,1);break;case "longDate":d=Hma(a,2);break;case "fullDate":d=Hma(a,3);break;case "shortTime":d=Ima(a,0);break;case "mediumTime":d=Ima(a,1);break;case "longTime":d=
Ima(a,2);break;case "fullTime":d=Ima(a,3);break;case "short":d=vg(a,"shortTime");var e=vg(a,"shortDate");d=Yma(Jma(a,0),[d,e]);break;case "medium":d=vg(a,"mediumTime");e=vg(a,"mediumDate");d=Yma(Jma(a,1),[d,e]);break;case "long":d=vg(a,"longTime");e=vg(a,"longDate");d=Yma(Jma(a,2),[d,e]);break;case "full":d=vg(a,"fullTime"),e=vg(a,"fullDate"),d=Yma(Jma(a,3),[d,e])}d&&(yg[c][b]=d);return d},Yma=function(a,b){b&&(a=a.replace(/\{([^}]+)}/g,function(c,d){return null!=b&&d in b?b[d]:c}));return a},zg=
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},xg=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=Zma(a,f);if(0<c||f>-c)f+=c;if(3===a)0===f&&-12===c&&(f=12);else if(6===a)return zg(f,3).substring(0,b);h=tg(h,5);return zg(f,b,h,d,e)}},Zma=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("Oa`"+a);}},wg=function(a,b,c,d){c=void 0===c?0:c;d=void 0===d?!1:d;return function(e,f){return $ma(e,f,a,b,c,d)}},$ma=function(a,b,c,d,e,f){switch(c){case 2:return Fma(b,e,d)[a.getMonth()];case 1:return Ema(b,e,d)[a.getDay()];case 0:var h=a.getHours(),k=a.getMinutes();return f&&(c=Mma(b),a=Nma(b,e,d),c=c.findIndex(function(q){if(Array.isArray(q)){var t=
l(q);q=t.next().value;t=t.next().value;var w=h>=q.hours&&k>=q.minutes,z=h<t.hours||h===t.hours&&k<t.minutes;if(q.hours<t.hours){if(w&&z)return!0}else if(w||z)return!0}else if(q.hours===h&&q.minutes===k)return!0;return!1}),-1!==c)?a[c]:Dma(b,e,d)[12>h?0:1];case 3:return Gma(b,d)[0>=a.getFullYear()?0:1];default:throw Error("Pa`"+c);}},Vma=function(a){return function(b,c,d){b=-1*d;c=tg(c,5);var e=0<b?Math.floor(b/60):Math.ceil(b/60);switch(a){case 0:return(0<=b?"+":"")+zg(e,2,c)+zg(Math.abs(b%60),2,
c);case 1:return"GMT"+(0<=b?"+":"")+zg(e,1,c);case 2:return"GMT"+(0<=b?"+":"")+zg(e,2,c)+":"+zg(Math.abs(b%60),2,c);case 3:return 0===d?"Z":(0<=b?"+":"")+zg(e,2,c)+":"+zg(Math.abs(b%60),2,c);default:throw Error("Qa`"+a);}}},ana=function(a){return Xma(a.getFullYear(),a.getMonth(),a.getDate()+(4-a.getDay()))},Uma=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=ana(c);c=e.getFullYear();
var f=Xma(c,0,1).getDay();c=Xma(c,0,1+(4>=f?4:11)-f);e=1+Math.round((e.getTime()-c.getTime())/6048E5)}return zg(e,a,tg(d,5))}},Tma=function(a,b){b=void 0===b?!1:b;return function(c,d){c=ana(c).getFullYear();return zg(c,a,tg(d,5),b)}},Qma=function(a,b){a=a.replace(/:/g,"");a=Date.parse("Jan 01, 1970 00:00:00 "+a)/6E4;return isNaN(a)?b:a},Rma=function(a,b){var c=a.getTimezoneOffset();b=Qma(b,c);a=new Date(a.getTime());a.setMinutes(a.getMinutes()+-1*(b-c));return a},Oma=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=l(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 Xma(a,c-1,void 0===b?1:b)}b=parseFloat(a);if(!isNaN(a-b))return new Date(b);if(b=a.match(bna))return cna(b)}b=new Date(a);if(!(b instanceof Date)||isNaN(b.valueOf()))throw Error("Ra`"+a);return b},cna=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},dna=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},jna=function(a,b,c,d){var e=void 0===e?!1:e;var f="",h=!1;if(isFinite(a)){h=ena(a);e&&(h=fna(h));f=b.minInt;e=b.minFrac;var k=b.maxFrac;if(d){var q=d.match(gna);if(null===q)throw Error("Sa`"+d);d=q[1];var t=q[3];q=q[5];null!=d&&(f=hna(d));null!=t&&(e=hna(t));null!=q?k=hna(q):null!=t&&e>k&&(k=e)}ina(h,e,k);d=h.digits;q=h.integerLen;e=h.exponent;
k=[];for(h=d.every(function(w){return!w});q<f;q++)d.unshift(0);for(;0>q;q++)d.unshift(0);0<q?k=d.splice(q,d.length):(k=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(tg(c,1));k.length&&(f+=tg(c,0)+k.join(""));e&&(f+=tg(c,6)+"+"+e)}else f=tg(c,9);return f=0>a&&!h?b.negPre+f+b.negSuf:b.posPre+f+b.posSuf},fna=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},ena=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}},ina=function(a,b,c){if(b>c)throw Error("Ta`"+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 k=f;k<d.length;k++)d[k]=0}else for(e=Math.max(0,e),a.integerLen=1,d.length=Math.max(1,f=c+1),d[0]=0,k=1;k<f;k++)d[k]=0;if(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,z,F,J){z+=w;J[F]=10>z?z:z-10;q&&(0===J[F]&&F>=t?J.pop():q=!1);return 10<=z?1:0},0))d.unshift(b),a.integerLen++},hna=function(a){var b=parseInt(a);if(isNaN(b))throw Error("Ua`"+a);return b},kna=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},lna=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)},Ag=function(a){return a&&"?"!==a[0]?"?"+a:a},mna=function(a){return RegExp("^(https?:)?//").test(a)?(a=l(a.split(/\/\/[^\/]+/)),a.next(),a.next().value):a},nna=function(a){return null==a||("string"===typeof a||Array.isArray(a))&&0===a.length},ona=function(a){return function(b){if(nna(b.value)||nna(a))return null;var c=parseFloat(b.value);return!isNaN(c)&&c<a?{min:{min:a,actual:b.value}}:null}},pna=function(a){return nna(a.value)?{required:!0}:null},qna=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}},sna=function(a){if(!a)return rna;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(nna(d.value))return null;d=d.value;return c.test(d)?null:{pattern:{requiredPattern:b,actualValue:d}}}},rna=function(){return null},tna=function(a){return null!=a},una=
function(a){return Ne(a)?(0,W.from)(a):a},vna=function(a){var b={};a.forEach(function(c){b=null!=c?Object.assign({},b,c):b});return 0===Object.keys(b).length?null:b},wna=function(a,b){return b.map(function(c){return c(a)})},xna=function(a){return a.map(function(b){return b.validate?function(c){return b.validate(c)}:b})},yna=function(a){if(!a)return null;var b=a.filter(tna);return 0==b.length?null:function(c){return vna(wna(c,b))}},zna=function(a){return null!=a?yna(xna(a)):null},Ana=function(a){if(!a)return null;
var b=a.filter(tna);return 0==b.length?null:function(c){c=wna(c,b).map(una);return(0,W.forkJoin)(c).pipe(B(vna))}},Bna=function(a){return null!=a?Ana(xna(a)):null},Cna=function(a,b){return null===a?[b]:Array.isArray(a)?[].concat(r(a),[b]):[a,b]},Dna=function(a,b){return[].concat(r(b.path),[a])},Bg=function(a,b,c){c=void 0===c?"whenDisabledForLegacyCode":c;Ena(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)}Fna(a,
b);Gna(a,b);Hna(a,b);Ina(a,b)},Kna=function(a,b){var c=function(){};b.valueAccessor&&(b.valueAccessor.registerOnChange(c),b.valueAccessor.registerOnTouched(c));Jna(a,b);a&&(b._invokeOnDestroyCallbacks(),a._registerOnCollectionChange(function(){}))},Lna=function(a,b){a.forEach(function(c){c.registerOnValidatorChange&&c.registerOnValidatorChange(b)})},Ina=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)})}},
Ena=function(a,b){var c=a._rawValidators;null!==b.validator?Mna(a,Cna(c,b.validator)):"function"===typeof c&&Mna(a,[c]);c=a._rawAsyncValidators;null!==b.asyncValidator?Nna(a,Cna(c,b.asyncValidator)):"function"===typeof c&&Nna(a,[c]);c=function(){return Cg(a)};Lna(b._rawValidators,c);Lna(b._rawAsyncValidators,c)},Jna=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(){};Lna(b._rawValidators,a);Lna(b._rawAsyncValidators,a);return c},Fna=function(a,b){b.valueAccessor.registerOnChange(function(c){a._pendingValue=c;a._pendingChange=!0;a._pendingDirty=!0;"change"===a.updateOn&&Ona(a,b)})},Hna=function(a,b){b.valueAccessor.registerOnTouched(function(){a._pendingTouched=
!0;"blur"===a.updateOn&&a._pendingChange&&Ona(a,b);"submit"!==a.updateOn&&Pna(a)})},Ona=function(a,b){a._pendingDirty&&Qna(a);a.setValue(a._pendingValue,{emitModelToViewChange:!1});b.viewToModelUpdate(a._pendingValue);a._pendingChange=!1},Gna=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)})},Rna=function(a,b){if(!a.hasOwnProperty("model"))return!1;a=a.model;return a.isFirstChange()?
!0:!Object.is(b,a.currentValue)},Sna=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)})},Tna=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===Dg?b=e:Object.getPrototypeOf(e.constructor)===Eg?c=e:d=e});return d?d:c?c:b?b:null},Una=function(a){return(Fg(a)?a.validators:a)||null},Fg=function(a){return null!=
a&&!Array.isArray(a)&&"object"===typeof a},Vna=function(a,b){a._forEachChild(function(c,d){if(void 0===b[d])throw new Ac(1002,"");})},Wna=function(a){return"object"===typeof a&&null!==a&&2===Object.keys(a).length&&"value"in a&&"disabled"in a},Zna=function(){if(Xna)return Xna;if("object"!==typeof document||!document)return Xna=new Set(Yna);var a=document.createElement("input");return Xna=new Set(Yna.filter(function(b){a.setAttribute("type",b);return a.type===b}))},$na=function(){if(null==Gg&&"undefined"!==
typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Gg=!0}}))}finally{Gg=Gg||!1}return Gg},Hg=function(a){return $na()?a:!!a.capture},aoa=function(){if(null==Jg){if("object"!==typeof document||!document||"function"!==typeof Element||!Element)return Jg=!1;if("scrollBehavior"in document.documentElement.style)Jg=!0;else{var a=Element.prototype.scrollTo;Jg=a?!/\{\s*\[native code\]\s*\}/.test(a.toString()):!1}}return Jg},coa=function(){if("object"!==
typeof document||!document)return 0;if(null==boa){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);boa=0;0===a.scrollLeft&&(a.scrollLeft=1,boa=0===a.scrollLeft?1:2);a.remove()}return boa},eoa=function(a){if(null==doa){var b="undefined"!==typeof document?document.head:null;
doa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return doa&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},Kg=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},Lg=function(a){return a.composedPath?a.composedPath()[0]:a.target},foa=function(){return"undefined"!==typeof __karma__&&!!__karma__||"undefined"!==typeof jasmine&&
!!jasmine||"undefined"!==typeof jest&&!!jest||"undefined"!==typeof Mocha&&!!Mocha},goa=function(a){if(!a.hasAttribute("tabindex")||void 0===a.tabIndex)return!1;a=a.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))},hoa=function(a){if(!goa(a))return null;a=parseInt(a.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a},ioa=function(a){return 0===a.buttons||0===a.detail},joa=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)},Mg=function(a){var b=Vc.apply(1,arguments);return b.length?b.some(function(c){return a[c]}):a.altKey||a.shiftKey||a.ctrlKey||a.metaKey},Ng=function(a){return Array.isArray(a)?a:[a]},Og=function(a){return null!=a&&"false"!==""+a},Pg=function(a){return null==a?"":"string"===typeof a?a:a+"px"},Qg=function(a){return a instanceof Ad?a.nativeElement:a},Rg=function(a,b){return isNaN(parseFloat(a))||isNaN(Number(a))?void 0===b?0:b:Number(a)},koa=
function(a){var b=void 0===b?/\s+/:b;var c=[];if(null!=a)for(a=Array.isArray(a)?a:(""+a).split(b),a=l(a),b=a.next();!b.done;b=a.next())(b=(""+b.value).trim())&&c.push(b);return c},loa=function(a){return{matches:"all"===a||""===a,media:a,addListener:function(){},removeListener:function(){}}},moa=function(a){return a.map(function(b){return b.split(",")}).reduce(function(b,c){return b.concat(c)}).map(function(b){return b.trim()})},noa=function(){return null},poa=function(a,b,c){var d=ooa(a,b);c=c.trim();
d.some(function(e){return e.trim()===c})||(d.push(c),a.setAttribute(b,d.join(" ")))},Sg=function(a,b,c){var d=ooa(a,b);c=c.trim();d=d.filter(function(e){return e!==c});d.length?a.setAttribute(b,d.join(" ")):a.removeAttribute(b)},ooa=function(a,b){var c,d;return null!=(d=null==(c=a.getAttribute(b))?void 0:c.match(/\S+/g))?d:[]},qoa=function(a,b){return"string"===typeof a?(b||"")+"/"+a:a},soa=function(a,b){a.id||(a.id="cdk-describedby-message-"+b+"-"+roa++)},toa=function(){return Gc(Tg)},uoa=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})},voa=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})},woa=function(a){return a&&"function"===typeof a.connect&&!(a instanceof W.ConnectableObservable)},Ug=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},yoa=function(a){if("number"!==typeof a&&null!=a){var b=l(a.split(xoa));a=b.next().value;
return(b=b.next().value)&&"px"!==b?null:parseFloat(a)}return a||null},zoa=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)}},Wg=function(a,b){var c=function(){var d=a.apply(this,[].concat(r(Vc.apply(0,arguments))))||this;d.defaultColor=b;d.color=b;return d};X(c,a);Vg.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},Xg=function(a){var b=function(){var c=a.apply(this,[].concat(r(Vc.apply(0,arguments))))||this;c._disableRipple=!1;return c};X(b,a);Vg.Object.defineProperties(b.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(c){this._disableRipple=
Og(c)}}});return b},Yg=function(a){var b=function(){var c=a.apply(this,[].concat(r(Vc.apply(0,arguments))))||this;c._disabled=!1;return c};X(b,a);Vg.Object.defineProperties(b.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(c){this._disabled=Og(c)}}});return b},Boa=function(a){var b=function(){return a.apply(this,[].concat(r(Vc.apply(0,arguments))))||this};X(b,a);b.prototype.updateErrorState=function(){this._getTracker().updateErrorState()};b.prototype._getTracker=
function(){this._tracker||(this._tracker=new Aoa(this._defaultErrorStateMatcher,this.ngControl,this._parentFormGroup,this._parentForm,this.stateChanges));return this._tracker};Vg.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},Coa=function(a){var b=function(){var c=a.apply(this,[].concat(r(Vc.apply(0,arguments))))||this;c._isInitialized=!1;c._pendingSubscribers=[];c.initialized=new W.Observable(function(d){c._isInitialized?c._notifySubscriber(d):c._pendingSubscribers.push(d)});return c};X(b,a);b.prototype._markInitialized=function(){this._isInitialized=!0;this._pendingSubscribers.forEach(this._notifySubscriber);this._pendingSubscribers=null};b.prototype._notifySubscriber=function(c){c.next();c.complete()};
return b},Doa=function(a){var b=void 0===b?0:b;var c=function(){var d=a.apply(this,[].concat(r(Vc.apply(0,arguments))))||this;d._tabIndex=b;d.defaultTabIndex=b;return d};X(c,a);Vg.Object.defineProperties(c.prototype,{tabIndex:{configurable:!0,enumerable:!0,get:function(){return this.disabled?-1:this._tabIndex},set:function(d){this._tabIndex=null!=d?Rg(d):this.defaultTabIndex}}});return c},Eoa=function(){return Gc(Zg)},Foa=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)},Goa=function(a){a&1&&I(0,"mat-pseudo-checkbox",6);a&2&&(a=N(),D("disabled",a.disabled)("state",a.selected?"checked":"unchecked"))},Hoa=function(a){a&1&&I(0,"mat-pseudo-checkbox",7);a&2&&(a=N(),D("disabled",a.disabled))},Ioa=function(a){a&1&&(E(0,"span",8),R(1),G());a&2&&(a=N(),y(),S("(",a.group.label,")"))},Joa=function(){return{color:"accent"}},Koa=function(a){a&1&&(E(0,"tr",0)(1,"td",2),R(2),G()());a&2&&(a=N(),y(),xf("padding-top",a._cellPadding)("padding-bottom",
a._cellPadding),pf("colspan",a.numCols),y(),S(" ",a.label," "))},Loa=function(a){a&1&&(E(0,"td",2),R(1),G());a&2&&(a=N(2),xf("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),pf("colspan",a._firstRowOffset),y(),S(" ",a._firstRowOffset>=a.labelMinRequiredCells?a.label:""," "))},Moa=function(a,b){if(a&1){var c=u();E(0,"td",5)(1,"button",6);M("click",function(f){var h=v(c).$implicit,k=N(2);return x(k._cellClicked(h,f))})("focus",function(f){var h=v(c).$implicit,k=N(2);return x(k._emitActiveDateChange(h,
f))});E(2,"span",7);R(3);G();I(4,"span",8);G()()}if(a&2){a=b.$implicit;b=b.$index;var d=N().$index,e=N();xf("width",e._cellWidth)("padding-top",e._cellPadding)("padding-bottom",e._cellPadding);pf("data-mat-row",d)("data-mat-col",b);y();yf("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));D("ngClass",a.cssClasses)("tabindex",e._isActiveCell(d,b)?0:-1);pf("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));y();yf("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);y();S(" ",a.displayValue," ")}},Noa=function(a,b){a&1&&(E(0,"tr",3),C(1,Loa,2,6,"td",4),Ef(2,Moa,5,48,"td",9,Df),G());if(a&2){a=b.$implicit;b=b.$index;var c=N();y();Cf(1,0===b&&c._firstRowOffset?1:-1);y();Ff(a)}},Ooa=function(a){return"TD"===(null==a?void 0:a.nodeName)},Poa=function(a){if(Ooa(a))var b=a;else if(Ooa(a.parentNode))b=a.parentNode;else{var c;Ooa(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},Qoa=function(a,b,c){return null!==c&&b!==c&&a<c&&a===b},Roa=function(a,b,c){return null!==b&&b!==c&&a>=b&&a===c},Soa=function(a,b,c,d){return d&&null!==b&&null!==c&&b!==c&&a>=b&&a<=c},Toa=function(a){a=a.changedTouches[0];return document.elementFromPoint(a.clientX,a.clientY)},Uoa=function(a,b){a&1&&(E(0,"th",4)(1,"span",5),R(2),G(),E(3,"span",6),R(4),G()());a&2&&(a=b.$implicit,y(2),$f(a.long),y(2),$f(a.narrow))},Woa=function(a,b,c,d,e){b=a.getYear(b);c=a.getYear(c);a=Voa(a,d,e);return Math.floor((b-
a)/24)===Math.floor((c-a)/24)},$g=function(a,b,c,d){return((a.getYear(b)-Voa(a,c,d))%24+24)%24},Voa=function(a,b,c){var d=0;c?d=a.getYear(c)-24+1:b&&(d=a.getYear(b));return d},Xoa=function(){},Yoa=function(a){if(a&1){var b=u();E(0,"mat-month-view",2);M("activeDateChange",function(c){v(b);var d=N();return x(d.activeDate=c)})("_userSelection",function(c){v(b);var d=N();return x(d._dateSelected(c))})("dragStarted",function(c){v(b);var d=N();return x(d._dragStarted(c))})("dragEnded",function(c){v(b);
var d=N();return x(d._dragEnded(c))});G()}a&2&&(a=N(),D("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass)("comparisonStart",a.comparisonStart)("comparisonEnd",a.comparisonEnd)("startDateAccessibleName",a.startDateAccessibleName)("endDateAccessibleName",a.endDateAccessibleName)("activeDrag",a._activeDrag))},Zoa=function(a){if(a&1){var b=u();E(0,"mat-year-view",3);M("activeDateChange",function(c){v(b);var d=
N();return x(d.activeDate=c)})("monthSelected",function(c){v(b);var d=N();return x(d._monthSelectedInYearView(c))})("selectedChange",function(c){v(b);var d=N();return x(d._goToDateInView(c,"month"))});G()}a&2&&(a=N(),D("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},$oa=function(a){if(a&1){var b=u();E(0,"mat-multi-year-view",4);M("activeDateChange",function(c){v(b);var d=N();return x(d.activeDate=c)})("yearSelected",
function(c){v(b);var d=N();return x(d._yearSelectedInMultiYearView(c))})("selectedChange",function(c){v(b);var d=N();return x(d._goToDateInView(c,"year"))});G()}a&2&&(a=N(),D("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},bpa=function(a,b){return b.map(function(c){return c.replace(apa,a)})},cpa=function(a){var b=new Map;0<a.length&&a.replace(/^\?/,"").split("&").forEach(function(c){var d=c.indexOf("=");
d=l(-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},fpa=function(a){return encodeURIComponent(a).replace(dpa,function(b,c){var d;return null!=(d=epa[c])?d:b})},gpa=function(a){return""+a},hpa=function(a){return"undefined"!==typeof ArrayBuffer&&a instanceof ArrayBuffer},ipa=function(a){return"undefined"!==typeof Blob&&a instanceof Blob},jpa=function(a){return"undefined"!==
typeof FormData&&a instanceof FormData},kpa=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}},lpa=function(a,b){return b(a)},mpa=function(a,b){return function(c,d){return b.intercept(c,{handle:function(e){return a(e,d)}})}},npa=function(a,b,c){return function(d,e){return $c(c,function(){return b(d,function(f){return a(f,e)})})}},
rpa=function(a,b){var c=a.url.toLowerCase();if(!Gc(opa)||"GET"===a.method||"HEAD"===a.method||c.startsWith("http://")||c.startsWith("https://"))return b(a);c=Gc(ppa).getToken();var d=Gc(qpa);null==c||a.headers.has(d)||(a=a.clone({headers:a.headers.set(d,c)}));return b(a)},spa=function(a){return-1===a.toString().indexOf("`")},ah=function(a){return new tpa(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})},dh=function(a){var b=void 0===b?upa:b;a:if(b=void 0===b?upa:b,!(a instanceof bh)){for(var c=
0;c<b.length;++c){var d=b[c];if(d instanceof tpa&&d.isValid(a)){a=new bh(a,ch);break a}}a=void 0}return a||vpa},xpa=function(a){a:if(wpa){try{var b=new URL(a)}catch(c){b="https:";break a}b=b.protocol}else b:{b=document.createElement("a");try{b.href=a}catch(c){b=void 0;break b}b=b.protocol;b=":"===b||""===b?"https:":b}if("javascript:"!==b)return a},ypa=function(a){return a instanceof bh?eh(a):xpa(a)},gh=function(a,b){b=void 0===b?{}:b;if(fc(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 fh(a)},ih=function(a){var b=gh("");return fh(a.map(function(c){return hh(gh(c))}).join(hh(b).toString()))},Bpa=function(a){if(!zpa.test(a))throw Error("na");if(-1!==Apa.indexOf(a.toUpperCase()))throw Error("na");},jh=
function(a,b,c){Bpa(a);var d="<"+a;b&&(d+=Cpa(b));Array.isArray(c)||(c=void 0===c?[]:[c]);-1!==Dpa.indexOf(a.toUpperCase())?d+=">":(b=ih(c.map(function(e){return fc(e)?e:gh(String(e))})),d+=">"+b.toString()+"</"+a+">");return fh(d)},Cpa=function(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],f=a[e];if(!zpa.test(e))throw Error("na");if(void 0!==f&&null!==f){if(/^on/i.test(e))throw Error("na");-1!==Epa.indexOf(e.toLowerCase())&&(f=f instanceof bh?f.toString():xpa(String(f))||"about:invalid#zClosurez");
f=e+'="'+gh(String(f))+'"';b+=" "+f}}return b},lh=function(a){var b=Vc.apply(1,arguments);if(0===b.length)return kh(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return kh(c)},Fpa=function(){return new Ac(3008,!1)},mh=function(a,b){return{type:7,name:a,definitions:b,options:{}}},nh=function(a,b){return{type:4,styles:void 0===b?null:b,timings:a}},Gpa=function(a){return{type:3,steps:a,options:null}},oh=function(a){return{type:6,styles:a,offset:null}},ph=function(a,b){return{type:0,
name:a,styles:b,options:void 0}},qh=function(a){return{type:5,steps:a}},rh=function(a,b,c){return{type:1,expr:a,animation:b,options:void 0===c?null:c}},sh=function(){return{type:9,options:null}},th=function(a,b){var c={optional:!0};return{type:11,selector:a,animation:b,options:void 0===c?null:c}},uh=function(a){if("number"==typeof a)return a;a=a.match(/^(-?[\.\d]+)(m?s)/);return!a||2>a.length?0:Hpa(parseFloat(a[1]),a[2])},Hpa=function(a,b){switch(b){case "s":return 1E3*a;default:return a}},Ipa=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 Ac(3E3,!1));b={duration:0,delay:0,easing:""};break a}a=Hpa(parseFloat(d[1]),d[2]);var h=d[3];null!=h&&(e=Hpa(parseFloat(h),d[4]));(d=d[5])&&(f=d)}c||(c=!1,d=b.length,0>a&&(b.push(new Ac(3100,!1)),c=!0),0>e&&(b.push(new Ac(3101,!1)),c=!0),c&&b.splice(d,0,new Ac(3E3,!1)));b={duration:a,delay:e,easing:f}}return b},
Jpa=function(a){return a.length?a[0]instanceof Map?a:a.map(function(b){return new Map(Object.entries(b))}):[]},vh=function(a,b,c){b.forEach(function(d,e){var f=Kpa(e);c&&!c.has(e)&&c.set(e,a.style[f]);a.style[f]=d})},wh=function(a,b){b.forEach(function(c,d){d=Kpa(d);a.style[d]=""})},xh=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},Mpa=function(a,b,c){var d=b.params||{};a=Lpa(a);a.length&&a.forEach(function(e){d.hasOwnProperty(e)||c.push(new Ac(3001,
!1))})},Lpa=function(a){var b=[];if("string"===typeof a){for(var c;c=Npa.exec(a);)b.push(c[1]);Npa.lastIndex=0}return b},yh=function(a,b,c){var d=""+a,e=d.replace(Npa,function(f,h){h=b[h];null==h&&(c.push(new Ac(3003,!1)),h="");return h.toString()});return e==d?a:e},Kpa=function(a){return a.replace(Opa,function(){return Vc.apply(0,arguments)[1].toUpperCase()})},Qpa=function(a,b,c){if(c.size&&b.length){var d=b[0],e=[];c.forEach(function(h,k){d.has(k)||e.push(k);d.set(k,h)});if(e.length){c={};for(var f=
1;f<b.length;c={kf$jscomp$1:void 0},f++)c.kf$jscomp$1=b[f],e.forEach(function(h){return function(k){return h.kf$jscomp$1.set(k,Ppa(a,k))}}(c))}}return b},zh=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 Ac(3004,!1);}},Ppa=function(a,b){return window.getComputedStyle(a)[b]},Bh=function(a){switch(a.length){case 0:return new Ah;case 1:return a[0];default:return new Rpa(a)}},Tpa=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(k){var q=k.get("offset"),t=q==f,w=t&&h||new Map;k.forEach(function(z,F){var J=F;if("offset"!==
F)switch(J=Kpa(J),z){case "!":z=b.get(F);break;case "*":z=c.get(F);break;default:z=Spa(J,z,d)}w.set(J,z)});t||e.push(w);h=w;f=q});if(d.length)throw new Ac(3502,!1);return e},Vpa=function(a,b,c,d){switch(b){case "start":a.onStart(function(){return d(c&&Upa(c,"start",a))});break;case "done":a.onDone(function(){return d(c&&Upa(c,"done",a))});break;case "destroy":a.onDestroy(function(){return d(c&&Upa(c,"destroy",a))})}},Upa=function(a,b,c){var d=c.totalTime;b=Wpa(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},Wpa=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}},Ch=function(a,b,c){var d=a.get(b);d||a.set(b,d=c);return d},Xpa=function(a){var b=a.indexOf(":");return[a.substring(1,b),a.slice(b+1)]},Zpa=function(a){a=a.parentNode||a.host||null;return a===Ypa?null:a},$pa=function(a,b){for(;b;){if(b===a)return!0;
b=Zpa(b)}return!1},aqa=function(a,b,c){return c?Array.from(a.querySelectorAll(b)):(a=a.querySelector(b))?[a]:[]},dqa=function(a,b){var c=[];"string"==typeof a?a.split(/\s*,\s*/).forEach(function(d){a:{if(":"==d[0]&&(d=bqa(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 Ac(3015,!1)),d=c;else{d=e[1];var f=e[2];e=e[3];c.push(cqa(d,e));"<"!=f[0]||"*"==d&&"*"==e||c.push(cqa(e,d));d=void 0}}return d}):c.push(a);
return c},bqa=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 Ac(3016,!1)),"* => *"}},cqa=function(a,b){var c=eqa.has(a)||fqa.has(a),d=eqa.has(b)||fqa.has(b);return function(e,f){var h="*"==a||a==e,k="*"==b||b==f;!h&&c&&"boolean"===typeof e&&(h=e?eqa.has(a):fqa.has(a));!k&&d&&"boolean"===
typeof f&&(k=f?eqa.has(b):fqa.has(b));return h&&k}},hqa=function(a){var b=a.split(/\s*,\s*/).find(function(c){return":self"==c})?!0:!1;b&&(a=a.replace(gqa,""));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]},iqa=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},jqa=function(a,b){if(a.hasOwnProperty("duration"))return a;if("number"==typeof a)return{duration:Ipa(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=Ipa(a,b);return{duration:a.duration,delay:a.delay,easing:a.easing}},Dh=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},kqa=function(a,b,c,d,e,f,h,k){return{type:1,element:a,keyframes:b,preStyleProps:c,postStyleProps:d,duration:e,delay:f,totalTime:e+f,easing:void 0===h?null:h,subTimeline:void 0===k?!1:k}},mqa=function(a,b,c,d,e,f,h,k,q,t){f=void 0===f?new Map:f;h=void 0===h?new Map:h;t=void 0===t?[]:t;return(new lqa).buildKeyframes(a,b,c,d,e,f,h,k,q,t)},nqa=function(a){var b=Math.pow(10,2);return Math.round(a*b)/b},oqa=function(a,b){var c=new Map,
d;a.forEach(function(e){if("*"===e){null!=d||(d=b.keys());e=l(d);for(var f=e.next();!f.done;f=e.next())c.set(f.value,"*")}else for(e=l(e),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;c.set(f,h)}});return c},pqa=function(a,b,c,d,e,f,h,k,q,t,w,z,F){return{type:0,element:a,triggerName:b,isRemovalTransition:e,fromState:c,fromStyles:f,toState:d,toStyles:h,timelines:k,queriedElements:q,preStyleProps:t,postStyleProps:w,totalTime:z,errors:F}},qqa=function(a,b,c,d,e){return a.some(function(f){return f(b,
c,d,e)})},rqa=function(a,b){var c=Object.assign({},b);Object.entries(a).forEach(function(d){var e=l(d);d=e.next().value;e=e.next().value;null!=e&&(c[d]=e)});return c},sqa=function(a,b){return new Eh(a,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(){return!0}],options:null,queryCount:0,depCount:0},b)},tqa=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))},uqa=function(a){return a&&1===a.nodeType},vqa=function(a,b){var c=a.style.display;a.style.display=
null!=b?b:"none";return c},xqa=function(a,b,c,d,e){var f=[];c.forEach(function(q){return f.push(vqa(q))});var h=[];d.forEach(function(q,t){var w=new Map;q.forEach(function(z){var F=b.computeStyle(t,z,e);w.set(z,F);F&&0!=F.length||(t.__ng_removed=wqa,h.push(t))});a.set(t,w)});var k=0;c.forEach(function(q){return vqa(q,f[k++])});return h},yqa=function(a,b){function c(h){if(!h)return 1;var k=f.get(h);if(k)return k;var q=h.parentNode;d.has(q)?k=q:e.has(q)?k=1:k=c(q);f.set(h,k);return k}var d=new Map;
a.forEach(function(h){return d.set(h,[])});if(0==b.length)return d;var e=new Set(b),f=new Map;b.forEach(function(h){var k=c(h);1!==k&&d.get(k).push(h)});return d},Fh=function(a,b){var c;null==(c=a.classList)||c.add(b)},Gh=function(a,b){var c;null==(c=a.classList)||c.remove(b)},zqa=function(a,b,c){Bh(c).onDone(function(){return Hh(a,b)})},Bqa=function(a){var b=[];Aqa(a,b);return b},Aqa=function(a,b){for(var c=0;c<a.length;c++){var d=a[c];d instanceof Rpa?Aqa(d.players,b):b.push(d)}},Cqa=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},Dqa=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},Gqa=function(a,b){var c=null,d=null;Array.isArray(b)&&b.length?(c=Eqa(b[0]),1<b.length&&(d=Eqa(b[b.length-1]))):b instanceof Map&&(c=Eqa(b));return c||d?new Fqa(a,c,d):null},Eqa=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},Hqa=function(a){switch(a){case "body":return document.body;case "document":return document;case "window":return window;default:return a}},Iqa=function(a){var b=a.indexOf(".");return[a.substring(0,b),a.slice(b+1)]},Jqa=function(a){var b=function(){var c=a.apply(this,[].concat(r(Vc.apply(0,arguments))))||this;c._disableRipple=!1;return c};X(b,a);Vg.Object.defineProperties(b.prototype,{disableRipple:{configurable:!0,
enumerable:!0,get:function(){return this._disableRipple},set:function(c){this._disableRipple=Og(c)}}});return b},Kqa=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},Lqa=function(a,b,c,d){return a<c?a:a+b>c+d?Math.max(0,a-d+b):c},Mqa=function(a){a&1&&I(0,"mat-pseudo-checkbox",5);a&2&&(a=N(),D("state",a.selected?"checked":"unchecked")("disabled",a.disabled))},Nqa=function(a){a&1&&(E(0,"span",6),R(1),G());a&2&&(a=
N(),y(),S("(",a.group.label,")"))},Oqa=function(){},Pqa=function(a,b){for(var c=a.length;c--;)b(a[c])},Qqa=function(){},Rqa=function(a){return null==a?null:"number"===typeof a?a:a.endsWith("ms")?Rg(a.substring(0,a.length-2)):a.endsWith("s")?1E3*Rg(a.substring(0,a.length-1)):"0"===a?0:null},Sqa=function(){},Tqa=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},Uqa=function(a){a&
1&&I(0,"span",16)},Vqa=function(a){a&1&&(E(0,"label",14),Mf(1,1),C(2,Uqa,1,0,"span",15),G());a&2&&(a=N(2),D("floating",a._shouldLabelFloat())("monitorResize",a._hasOutline())("id",a._labelId),pf("for",a._control.id),y(2),Cf(2,!a.hideRequiredMarker&&a._control.required?2:-1))},Wqa=function(a){a&1&&C(0,Vqa,3,5,"label",14);a&2&&(a=N(),Cf(0,a._hasFloatingLabel()?0:-1))},Xqa=function(a){a&1&&I(0,"div",17)},Yqa=function(){},Zqa=function(a){a&1&&C(0,Yqa,0,0,"ng-template",9);if(a&2){N(2);var b=Q(1);D("ngTemplateOutlet",
b)}},$qa=function(a){a&1&&(E(0,"div",5),C(1,Zqa,1,1,null,9),G());a&2&&(a=N(),D("matFormFieldNotchedOutlineOpen",a._shouldLabelFloat()),y(),Cf(1,a._forceDisplayInfixLabel()?-1:1))},ara=function(a){a&1&&(E(0,"div",18,19),Mf(2,2),G())},bra=function(a){a&1&&(E(0,"div",20,21),Mf(2,3),G())},cra=function(){},dra=function(a){a&1&&C(0,cra,0,0,"ng-template",9);if(a&2){N();var b=Q(1);D("ngTemplateOutlet",b)}},era=function(a){a&1&&(E(0,"div",22),Mf(1,4),G())},fra=function(a){a&1&&(E(0,"div",23),Mf(1,5),G())},
gra=function(a){a&1&&I(0,"div",12)},hra=function(a){a&1&&(E(0,"div",24),Mf(1,6),G());a&2&&(a=N(),D("@transitionMessages",a._subscriptAnimationState))},ira=function(a){a&1&&(E(0,"mat-hint",26),R(1),G());a&2&&(a=N(2),D("id",a._hintLabelId),y(),$f(a.hintLabel))},jra=function(a){a&1&&(E(0,"div",25),C(1,ira,2,2,"mat-hint",26),Mf(2,7),I(3,"div",27),Mf(4,8),G());a&2&&(a=N(),D("@transitionMessages",a._subscriptAnimationState),y(),Cf(1,a.hintLabel?1:-1))},kra=function(a){a&1&&(K(0),E(1,"div",14),I(2,"div",
15)(3,"div",16)(4,"div",17),G(),E(5,"div",18),I(6,"div",15)(7,"div",16)(8,"div",17),G(),L())},lra=function(a){if(a&1){var b=u();E(0,"div",19);M("cdkObserveContent",function(){v(b);var c=N();return x(Ih(c))});Mf(1,1);G()}a&2&&(a=N(),D("cdkObserveContentDisabled","outline"!=a.appearance))},mra=function(a){a&1&&(K(0),Mf(1,2),E(2,"span"),R(3),G(),L());a&2&&(a=N(2),y(3),$f(a._control.placeholder))},nra=function(a){a&1&&Mf(0,3,["*ngSwitchCase","true"])},ora=function(a){a&1&&(E(0,"span",23),R(1," *"),G())},
pra=function(a){if(a&1){var b=u();E(0,"label",20,21);M("cdkObserveContent",function(){v(b);var c=N();return x(Ih(c))});C(2,mra,4,1,"ng-container",12)(3,nra,1,0,"ng-content",12)(4,ora,2,0,"span",22);G()}a&2&&(a=N(),yf("mat-empty",a._control.empty&&!a._shouldAlwaysFloat())("mat-form-field-empty",a._control.empty&&!a._shouldAlwaysFloat())("mat-accent","accent"==a.color)("mat-warn","warn"==a.color),D("cdkObserveContentDisabled","outline"!=a.appearance)("id",a._labelId)("ngSwitch",a._hasLabel()),pf("for",
a._control.id)("aria-owns",a._control.id),y(2),D("ngSwitchCase",!1),y(),D("ngSwitchCase",!0),y(),D("ngIf",!a.hideRequiredMarker&&a._control.required&&!a._control.disabled))},qra=function(a){a&1&&(E(0,"div",24),Mf(1,4),G())},rra=function(a){a&1&&(E(0,"div",25),I(1,"span",26),G());a&2&&(a=N(),y(),yf("mat-accent","accent"==a.color)("mat-warn","warn"==a.color))},sra=function(a){a&1&&(E(0,"div"),Mf(1,5),G());a&2&&(a=N(),D("@transitionMessages",a._subscriptAnimationState))},tra=function(a){a&1&&(E(0,"div",
30),R(1),G());a&2&&(a=N(2),D("id",a._hintLabelId),y(),$f(a.hintLabel))},ura=function(a){a&1&&(E(0,"div",27),C(1,tra,2,2,"div",28),Mf(2,6),I(3,"div",29),Mf(4,7),G());a&2&&(a=N(),D("@transitionMessages",a._subscriptAnimationState),y(),D("ngIf",a.hintLabel))},wra=function(){if(void 0===vra&&(vra=null,"undefined"!==typeof window)){var a=window;void 0!==a.trustedTypes&&(vra=a.trustedTypes.createPolicy("angular#components",{createHTML:function(b){return b}}))}return vra},xra=function(a){var b;return(null==
(b=wra())?void 0:b.createHTML(a))||a},yra=function(){var a=Gc(Tg),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},zra=function(a){a&1&&(E(0,"mat-icon",9),R(1),G());a&2&&(a=N(2),y(),$f(a.actionBtnIcon))},Ara=function(a){if(a&1){var b=u();E(0,"button",6);M("click",function(){v(b);var c=N();return x(c.action.emit())});E(1,"span",7);R(2);C(3,zra,2,1,"mat-icon",8);G()()}a&2&&(a=N(),y(2),S(" ",a.actionBtnText," "),y(),D("ngIf",a.actionBtnIcon))},Bra=function(a){if(a&
1){var b=u();E(0,"onedev-feature-tooltip-body",1);M("action",function(){v(b);var c=N();return x(c.action.emit())})("dismiss",function(){v(b);var c=N();c.hideFeatureTooltip();c.dismiss.emit();return x()});Mf(1);G()}a&2&&(a=N(),D("actionBtnText",a.actionBtnText)("actionBtnIcon",a.actionBtnIcon)("color",a.color)("pointerPosition",a.pointerPosition)("widthOffset",a.widthOffset))},Jh=function(a){a&&"function"==typeof a.dispose&&a.dispose()},Cra=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=
arguments[b];xa(d)?Cra.apply(null,d):Jh(d)}},Dra=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;w=t=0}function b(z){for(var F=h,J=0;64>J;J+=4)F[J/4]=z[J]<<24|z[J+1]<<16|z[J+2]<<8|z[J+3];for(J=16;80>J;J++)z=F[J-3]^F[J-8]^F[J-14]^F[J-16],F[J]=(z<<1|z>>>31)&4294967295;z=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 Z=P^H&(O^P);var la=1518500249}else Z=H^O^P,la=1859775393;else 60>J?(Z=H&O|P&(H|O),la=2400959708):(Z=H^
O^P,la=3395469782);Z=((z<<5|z>>>27)&4294967295)+Z+U+la+F[J]&4294967295;U=P;P=O;O=(H<<30|H>>>2)&4294967295;H=z;z=Z}e[0]=e[0]+z&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(z,F){if("string"===typeof z){z=unescape(encodeURIComponent(z));for(var J=[],H=0,O=z.length;H<O;++H)J.push(z.charCodeAt(H));z=J}F||(F=z.length);J=0;if(0==t)for(;J+64<F;)b(z.slice(J,J+64)),J+=64,w+=64;for(;J<F;)if(f[t++]=z[J++],w++,64==t)for(t=0,b(f);J+64<F;)b(z.slice(J,
J+64)),J+=64,w+=64}function d(){var z=[],F=8*w;56>t?c(k,56-t):c(k,64-(t-56));for(var J=63;56<=J;J--)f[J]=F&255,F>>>=8;b(f);for(J=F=0;5>J;J++)for(var H=24;0<=H;H-=8)z[F++]=e[J]>>H&255;return z}for(var e=[],f=[],h=[],k=[128],q=1;64>q;++q)k[q]=0;var t,w;a();return{reset:a,update:c,digest:d,digestString:function(){for(var z=d(),F="",J=0;J<z.length;J++)F+="0123456789ABCDEF".charAt(Math.floor(z[J]/16))+"0123456789ABCDEF".charAt(z[J]%16);return F}}},Ira=function(a,b){b=void 0===b?Era:b;if(!Fra){var c;a=
null==(c=a.navigator)?void 0:c.userAgentData;if(!a||"function"!==typeof a.getHighEntropyValues)return Promise.reject(Error("yb"));c=(a.brands||[]).map(function(d){var e=new Kh;return Lh(e,1,d.brand).setVersion(d.version)});Gra(Mh(Hra,2,a.mobile),c);Fra=a.getHighEntropyValues(b)}return Fra.then(function(d){var e=Hra.clone();b.includes("platform")&&e.setPlatform(d.platform);b.includes("platformVersion")&&Lh(e,4,d.platformVersion);b.includes("architecture")&&Lh(e,5,d.architecture);b.includes("model")&&
e.setModel(d.model);b.includes("uaFullVersion")&&Lh(e,7,d.uaFullVersion);return e}).catch(function(){return Hra.clone()})},Jra=function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}},Kra=function(a){a&1&&(qd(),E(0,"svg",3),I(1,"polygon",4),G())},Lra=function(a){a&1&&(qd(),E(0,"svg",2),I(1,"polygon",3),G())},Mra=function(a){if(a&1){var b=u();E(0,"div",0);M("keydown",function(c){v(b);var d=N();return x(d._handleKeydown(c))})("click",
function(){v(b);var c=N();return x(c.closed.emit("click"))})("@transformMenu.start",function(c){v(b);var d=N();return x(d._onAnimationStart(c))})("@transformMenu.done",function(c){v(b);var d=N();return x(d._onAnimationDone(c))});E(1,"div",1);Mf(2);G()()}a&2&&(a=N(),D("id",a.panelId)("ngClass",a._classList)("@transformMenu",a._panelAnimationState),pf("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},Nh=function(a,b){throw Error(void 0===
b?"unexpected value "+a+"!":b);},Pra=function(a){var b=Oh(a,"Content-Type");if(!b)return null;b=b.toLowerCase();if(b.startsWith("application/json"))return b.startsWith("application/json+protobuf")?new Nra:new Ora;if(b.startsWith("application/x-protobuf")){a=Oh(a,"Content-Transfer-Encoding");if(!a)return new Ph;if("base64"==a.toLowerCase())return new Qh}return null},Qra=function(){},Rra=function(a){a&1&&(qd(),E(0,"svg",3),I(1,"path",4),G())},Sra=function(a){return"nonprod"===a.environment?"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com":
"https://devopsconsole-pa-googleapis.corp.google.com"},Tra=function(a){a=a.tagName;if("SCRIPT"===a||"STYLE"===a)throw Error("na");},Ura=function(a,b){a.src=Rh(b).toString()},Vra=function(a,b,c){b=ypa(b);void 0!==b&&a.open(b,c,void 0)},Wra=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")||"":""},Sh=function(a,b){a.src=Rh(b);(b=Wra(a.ownerDocument&&a.ownerDocument.defaultView||window))&&a.setAttribute("nonce",b)},
Xra=function(a,b){return a.size!==b.size?!1:[].concat(r(a)).every(function(c){return b.has(c)})},Yra=function(a){var b=new Set;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=l(c.value);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b},Zra=function(a,b){if(!Xra(a,b)){var c=[].concat(r(b)).filter(function(e){return!a.has(e)}),d=[].concat(r(a)).filter(function(e){return!b.has(e)});return{added:c,removed:d}}},$ra=function(a,b){var c=a.size>b.size?a:b;return new Set([].concat(r(a===c?b:a)).filter(function(d){return c.has(d)}))},
asa=function(a,b){return a.size>=b.size&&[].concat(r(b)).every(function(c){return a.has(c)})},Th=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(!Th(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?Xra(a,b):!1;if(fc(a)||fc(b))return fc(a)&&fc(b)?a===b||a.toString()===b.toString():!1;if(a instanceof n||b instanceof n)return a instanceof n&&b instanceof n?(zb=0,c=a==b||!(!a||!b)&&a instanceof b.constructor&&fca(a,b),a&&b&&a.constructor===b.constructor&&!c&&0<zb&&!bsa++&&uba(),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(!csa.call(b,f)||!Th(a[f],b[f]))return!1}return!0}return!1},
dsa=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=!1,e=l(b),f=e.next();!f.done;f=e.next())if(Th(c,f.value)){d=!0;break}d||b.push(c)}return b},esa=function(a,b){for(var c=a.length-1;0<=c;c--)Th(a[c],b)&&a.splice(c,1)},fsa=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},hsa=function(a){return Object.assign.apply(Object,[{}].concat(r(gsa.map(function(b){var c={};return c[b]=a[b],c}))))},Uh=function(a){if(null!==a&&void 0!==a&&-1===["boolean","function","number","string"].indexOf(typeof a))if(Array.isArray(a)){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())b.push(Uh(c.value));a=b}else if(a instanceof Date)a=new Date(a.getTime());else if(a instanceof Map){b=new Map;a=l(a);for(c=a.next();!c.done;c=a.next()){var d=
l(c.value);c=d.next().value;d=d.next().value;b.set(Uh(c),Uh(d))}a=b}else if(!fc(a))if(a instanceof n)a=a.clone();else{b={};c=l(Object.entries(a));for(d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b[d]=Uh(e)}Object.setPrototypeOf(b,Object.getPrototypeOf(a));a=b}return a},isa=function(a){return"number"===typeof a},Vh=function(a){return"string"===typeof a},Wh=function(a){return Array.isArray(a)&&a.every(Vh)},jsa=function(a){return Array.isArray(a)&&a.every(isa)},ksa=
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},Xh=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},$h=function(a){if(a){if(isa(a)){var b=new Date(a);47E3<b.getFullYear()&&(b=new Date(a/1E3));return new Yh(b)}b=a.split("/");if(3===b.length)return a=Zh(b[2]),50>a?a+=2E3:100>a&&(a+=1900),new Yh(a,Zh(b[0])-1,Zh(b[1]));if(1===b.length)return $h(Number(a))}return new Yh},
lsa=function(a){return a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"")},msa=function(a){return!(!a||!a.startsWith("text/")&&!a.startsWith("image/")&&"application/pdf"!==a)},nsa=function(a,b){return a.map(function(c){return c[b]})},osa=function(a,b){return a.filter(function(c){return!b.has(c)})},psa=function(a,b){for(var c=l(a),d=c.next();!d.done;d=c.next())if(!b.has(d.value))return!1;b=l(b);for(c=b.next();!c.done;c=b.next())if(!a.has(c.value))return!1;return!0},ai=function(a,b){return osa(a,new Set(b))},
qsa=function(a,b){var c=/[,;]/;(void 0===b||b)&&(c=/[\s,;]/);return a.split(c).map(bi).filter(function(d){return!!d})},rsa=function(a,b){a=new URL(a);return a.host+a.pathname+b},ci=function(a){return void 0!==a.user},di=function(a){return void 0!==a.group},ssa=function(a){switch(a){case "public_non_google":return"Public (non-google.com)";case "googlers_unrestricted":return"Full-time Googlers";default:return ei(a.replace(/_/g," ").toLowerCase())}},vsa=function(a){var b,c;a=fi(a,tsa,5);return{output:null!=
(c=null==(b=gi(a,usa,1,hi())[0])?void 0:b.getOutput())?c:""}},ysa=function(){null==ii&&(ii=new wsa(xsa.buganizerSessionJspb));if(!ji(ii,ki,2)){var a=ii,b=new ki;li(a,ki,2,b)}ji(ii,mi,9)||(a=ii,b=new mi,li(a,mi,9,b));ii.hasUser()||ii.setUser(new ni);ji(ii,oi,7)||(a=ii,b=new oi,li(a,oi,7,b));return ii},pi=function(a){var b,c;return null!=(c=null==(b=ysa().getConfig())?void 0:Jb(b,4,Wba).get(a))?c:!1},zsa=function(a){var b=a.getId(),c=qi(a,3);var d=ri(a,2,hi());a=si(a,4,hi());return ti({id:b,std_offset:c,
names:d,transitions:a||[]})},vi=function(a){var b=a.emailAddress,c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new ui;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:Nh(a)}return e},wi=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("Rb`"+c);}a=a.getAliasesList();if(null==a?0:a.length)b.aliases=a;return b},xi=function(a){if(null!=a&&(a=String(a),""!==a.trim()))return a=Number(a),isNaN(a)?void 0:a},yi=function(a){if(null!=a)return String(a)},Asa=function(a){if(null!=
a&&"0"!==a)return a},zi=function(a){return null==a?void 0:a},Bsa=function(a){return null==a?null:a},Ai=function(a){return function(b){return null==b?a:b}},Bi=function(a){return null!=a},Csa=function(a){if(null!=a)return a/1E3},Di=function(a){return function(){var b=Ci.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}}},Dsa=function(a){return function(b){!0===b?Ci.setItem(a,"1"):Ci.removeItem(a)}},Ei=
function(a,b){return function(c,d){return Esa(c,a,b,d)}},Esa=function(a,b,c,d){d=void 0===d?"":d;return""===d?a:[].concat(r(a)).sort(function(e,f){var h="asc"===d?1:-1;return c(b(e),b(f))*h})},Fi=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},Fsa=function(a,b){return null==a||null==b?null==a&&null==b?0:null==a?1:null==b?-1:0:a.localeCompare(b)},Hsa=function(a,b){var c=void 0===c?function(e){return e}:c;if(Gsa()&&
(a=c(a),b=c(b),!Th(a,b))){var d=function(e,f){if(f instanceof Array)return f;if(!(f instanceof Object))return f;e=Ei(function(h){h=l(h);var k=h.next().value;h.next();return k},Fsa)([].concat(r(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})}},Isa=function(a){if(!a)return!1;
a=a.userGaiaStatus;return!a||"ACTIVE"===a||"UNSPECIFIED"===a},Hi=function(a){return a?a.map(Gi):[]},Ii=function(a){a=Hi(a);a.sort();return a},Gi=function(a){return a&&a.getUserGaiaStatus?Jsa(Ji(a)):Jsa(a)},Jsa=function(a){return a?"DELETED"===a.userGaiaStatus?"[Deleted User]":"UNAVAILABLE"===a.userGaiaStatus?"[Unavailable User]":Isa(a)?Ksa(a)||"[No Data]":"[No Data]":""},Ki=function(a){return a&&a.getUserGaiaStatus?Ksa(Ji(a)):Ksa(a)},Ksa=function(a){if(a)return a.emailAddress||a.obfuscatedEmailAddress||
""},Ji=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=Lsa[c];(c=a.getAliasesList(Li))&&0<c.length&&(b.aliases=c);return b}},Msa=function(a){if(!a)return null;var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())(c=Ji(c.value))&&b.push(c);return b},Ni=function(a){var b=a.emailAddress,c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new Mi;b&&e.setEmailAddress(b);
c&&e.setObfuscatedEmailAddress(c);d&&e.setAliasesList(d);a&&e.setUserGaiaStatus(Nsa[a]);return e},Oi=function(a){return a?{emailAddress:a.trim(),userGaiaStatus:"ACTIVE"}:null},Osa=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())b.push(Oi(c.value));return b},Rsa=function(a){var b=a.getTrackerId_asString(),c=a.getName(),d=a.getComponentId_asString(),e=a.getAssociatedTrackerIdsList();var f=a.getBranding();f=null!=f?{logoUrl:f.getLogoUrl(),cocUrl:f.getCocUrl(),theme:Psa[f.getTheme()]}:
void 0;b={trackerId:b,name:c,componentId:d,associatedTrackerIds:e,branding:null!=f?f:null,internalBaseUrl:Pi(a,6)?a.getInternalBaseUrl():void 0,externalBaseUrl:Pi(a,7)?a.getExternalBaseUrl():void 0,collaboratorGroups:0<a.getCollaboratorGroupsList().length?Msa(a.getCollaboratorGroupsList()):void 0};if(Qsa&&a.hasIt()){a=a.getIt();c=a.getTrackerId_asString();d=a.getName();e=a.getComponentId_asString();f=a.getAssociatedTrackerIdsList().map(String);var h=a.getBranding();h=null!=h?{logoUrl:h.getLogoUrl(),
cocUrl:h.getCocUrl(),theme:Psa[h.getTheme()]}:void 0;a={trackerId:c,name:d,componentId:e,associatedTrackerIds:f,branding:null!=h?h:null,internalBaseUrl:a.getInternalBaseUrl()||void 0,externalBaseUrl:a.getExternalBaseUrl()||void 0,collaboratorGroups:0<a.getCollaboratorGroupsList().length?a.getCollaboratorGroupsList().map(wi):void 0};Hsa(b,a);return a}return b},Ssa=function(a){var b;return(null!=(b=a.getTrackersList())?b:[]).map(Rsa)},Tsa=function(a){return{trackers:a.getTrackersList().map(Rsa),nextPageToken:a.getNextPageToken(),
totalSize:a.getTotalSize()}},Qi=function(a){if(null==a)return"UNSPECIFIED_FORMATTING_MODE";switch(Usa[a]){case 2:return"MARKDOWN";case 1:return"PLAIN";case 3:return"LITERAL";default:return"UNSPECIFIED_FORMATTING_MODE"}},Si=function(a){"duplicateOfIssueId"===a&&(a="canonicalIssueId");var b=Number(a);isNaN(b)?a=new Ri({type:String(a).replace(/([A-Z])/g,"_$1").toUpperCase()}):0===b?a=null:(a={customFieldId:b},a=new Ri({type:"CUSTOM_FIELD",customFieldId:a.customFieldId,customFieldName:a.name}));return a},
Vsa=function(a){a=Ti(a);if(Ui(a))return null;var b=a.split(":");if(2!==b.length||Ui(b[1]))return null;a="asc"===b[1].toLowerCase()?"ASCENDING":"DESCENDING";return(b=Si(b[0]))&&a?new Vi(b,a):null},kta=function(a){var b={};Wi(a,1)&&(b.showFullHistory=Xi(a,1));Wi(a,2)&&(b.useCodefont=Xi(a,2));Yi(a,5)&&(b.resultsPerPage=qi(a,5));Wi(a,26)&&(b.showRecentEventsFirst=Xi(a,26));var c=a.getDisplayColumns();c&&(b.displayColumns={column:c.getColumnList().map(Wsa)});if(c=a.getSortColumns())b.sortColumns={column:c.getColumnList().map(Xsa)};
Pi(a,7)&&(b.bannerMessageId=Zi(a,7));if(c=$i(a,Ysa,3)){var d={};aj(c,1)&&(d.reportedPriority=bj[cj(c,1,0)]);aj(c,2)&&(d.assignedPriority=bj[cj(c,2,0)]);aj(c,3)&&(d.verifiedPriority=bj[cj(c,3,0)]);aj(c,4)&&(d.ccdPriority=bj[cj(c,4,0)]);aj(c,9)&&(d.collaboratorPriority=bj[cj(c,9,0)]);aj(c,5)&&(d.starredPriority=bj[cj(c,5,0)]);Wi(c,6)&&(d.excludeChangesByMe=Xi(c,6));Wi(c,7)&&(d.unsubscribeFromAll=Xi(c,7));Wi(c,8)&&(d.enableV2Prefs=Xi(c,8));b.notificationPreferences=d}if(d=$i(a,Zsa,9)){c={showHotlists:Xi(d,
1),showStatusIcons:Xi(d,4),wrapComponents:Xi(d,3),wrapTitles:Xi(d,2),rtlComponentPath:Xi(d,5)};var e=Jb(d,6,ub);c.fieldStatus=Object.fromEntries(e.entries());d=Jb(d,7,ub);c.modeForField=Object.fromEntries(d.entries());b.listViewPreferences=c}if(c=a.getLayoutPreferences())d={},Yi(c,1)&&(d.leftSidebarWidth=qi(c,1)),Wi(c,2)&&(d.expandIssueSlo=Xi(c,2)),Yi(c,3)&&(d.rightSidebarWidth=qi(c,3)),b.layoutPreferences=d;if(c=a.getDateTimePreferences())d={},Pi(c,1)&&(d.calendarFormat=Zi(c,1)),Pi(c,2)&&(d.timeFormat=
Zi(c,2)),c.hasTimeZone()&&(d.timeZone=c.getTimeZone()),aj(c,7)&&(d.sloEtaViewAs=$sa[cj(c,7,0)]),b.dateTimePreferences=d;if(c=$i(a,dj,8))d={},aj(c,1)&&(d.density=ata[c.getDensity()]),b.themePreferences=d;if(c=a.getHomepagePreferences())d={},c.hasResourceType()&&(d.resourceType=bta(c.getResourceType())),c.hasResourceId()&&(d.resourceId=c.getResourceId_asString()),b.homepagePreferences=d;if(c=$i(a,cta,17))d={},Wi(c,1)&&(d.enableAllHotkeys=Xi(c,1,!0)),b.keyboardPreferences=d;null!=ej(a,16)&&(b.newFeaturesAcknowledgedMillis=
fj(a,16));Wi(a,18)&&(b.autoCcOnComment=Xi(a,18));ji(a,gj,20)&&(d=$i(a,gj,20),c=cj(d,2,0),d=cj(d,1,0),b.textDisplayPreferences={commentDisplayOverride:dta(c),lastPublishMode:dta(d)});ji(a,hj,21)&&(c=$i(a,hj,21),d={},Wi(c,2)&&(d.announcementDismissed=Xi(c,2)),Wi(c,1)&&(d.enableBugScreensaver=Xi(c,1)),b.bugScreensaverPreferences=d);ji(a,ij,24)&&(c=$i(a,ij,24),d={},jj(c,1)&&(d.announcementDismissedMillis=kj(c,1)),b.g3nPreferences=d);if(c=$i(a,lj,23))c=gi(c,eta,1,hi()),b.teamWarningPreferences={componentTeamWarnings:c.map(fta)};
c=Kb(a,25,mj,ub);c.size&&(b.dismissalTimestamps=gta(c));c=a.getCollapsedMap();c.size&&(b.collapsed=Object.fromEntries(c.entries()));Wi(a,29)&&(b.showInlineImages=a.getShowInlineImages());ji(a,nj,28)&&(c=$i(a,nj,28),d={},aj(c,1)&&(d.commentFilter=hta(cj(c,1,0))),b.commentFilterPreferences=d);ji(a,oj,30)&&(b.needsAttentionPreferences=ita($i(a,oj,30)));if(a=$i(a,pj,31))b.missionControlPreferences=jta(a);return b},Wsa=function(a){var b={};a.hasType()&&(b.type=lta[a.getType()]);a.hasCustomFieldId()&&(b.customFieldId=
a.getCustomFieldId_asLegacyNumberOrString());return b},Xsa=function(a){var b={};if(aj(a,2)){a:{var c=cj(a,2,1);switch(c){case 1:c="ASCENDING";break a;case 2:c="DESCENDING";break a;default:c=Nh(c,"Unknown sortOrder: "+c)}}b.order=c}if(a=a.getColumn())b.column=Wsa(a);return b},dta=function(a){if(0!==a)return Usa[a]},bta=function(a){switch(a){case 1:return"HOTLIST";case 2:return"SAVED_SEARCH";case 3:return"BOOKMARK_GROUP";case 4:return"NEEDS_ATTENTION";case 5:return"MISSION_CONTROL";case 6:return"ASSIGNED_TO_ME";
default:return Nh(a,"Unknown resourceType: "+a)}},fta=function(a){var b={};a.hasComponentId()&&(b.componentId=a.getComponentId_asLegacyNumberOrString());jj(a,2)&&(b.dismissMillis=kj(a,2));return b},gta=function(a){a=Array.from(a.entries()).map(function(b){var c=l(b);b=c.next().value;c=c.next().value;return[b,c.toDate()]});return Object.fromEntries(a)},hta=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 Nh(a,
"Unknown resourceType: "+a)}},ita=function(a){var b={};b.selectedSignals=qj(a,1,hi()).map(function(c){return mta[c]});return b},jta=function(a){var b=Yi(a,3)?qi(a,3):void 0,c=Yi(a,6)?qi(a,6):void 0,d=Yi(a,5)?qi(a,5):void 0,e=Yi(a,4)?qi(a,4):void 0,f=Wi(a,10)?Xi(a,10):void 0,h=Wi(a,11)?Xi(a,11):void 0,k=Wi(a,12)?Xi(a,12):void 0,q=qj(a,7,hi()).map(function(w){return nta[w]}),t=qj(a,8,hi()).map(function(w){return nta[w]});b={workAreaUrls:ri(a,1,hi()),myTasksTab:b,myTasksDaysOld:c,needsAttentionDaysOld:d,
workAreaTab:e,needsAttentionSources:q,myTasksSources:t,hideBadgeInNav:f,isNeedsAttentionSourcesConfigured:h,isMyTasksSourcesConfigured:k};c=Jb(a,9,Zba);c.size&&(b.workAreaQuickFilters=ota(c));a=a.getCollapsedMap();a.size&&(b.collapsed=Object.fromEntries(a.entries()));return b},ota=function(a){var b={};a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b[c]=pta[d]}return b},Cta=function(a){var b=new oi;null!=a.showFullHistory&&Mh(b,1,a.showFullHistory);
null!=a.useCodefont&&Mh(b,2,a.useCodefont);null!=a.resultsPerPage&&rj(b,5,a.resultsPerPage);null!=a.displayColumns&&b.setDisplayColumns(qta(a.displayColumns));if(null!=a.sortColumns){var c=rta(a.sortColumns);li(b,sj,6,c)}null!=a.bannerMessageId&&Lh(b,7,a.bannerMessageId);if(null!=a.notificationPreferences){c=a.notificationPreferences;var d=new Ysa;d=tj(d,1,uj[c.reportedPriority]);d=tj(d,2,uj[c.assignedPriority]);d=tj(d,3,uj[c.verifiedPriority]);d=tj(d,4,uj[c.ccdPriority]);d=tj(d,9,uj[c.collaboratorPriority]);
d=tj(d,5,uj[c.starredPriority]);d=Mh(d,6,c.excludeChangesByMe);d=Mh(d,7,c.unsubscribeFromAll);c=Mh(d,8,c.unsubscribeFromAll);li(b,Ysa,3,c)}null!=a.listViewPreferences&&(c=a.listViewPreferences,d=new Zsa,d=Mh(d,1,c.showHotlists),d=Mh(d,2,c.wrapTitles),d=Mh(d,3,c.wrapComponents),d=Mh(d,4,c.showStatusIcons),d=Mh(d,5,c.rtlComponentPath),null!=c.fieldStatus&&vj(c.fieldStatus,Jb(d,6,ub)),null!=c.modeForField&&vj(c.modeForField,Jb(d,7,ub)),li(b,Zsa,9,d));null!=a.layoutPreferences&&(c=a.layoutPreferences,
d=new sta,null!=c.leftSidebarWidth&&rj(d,1,c.leftSidebarWidth),null!=c.expandIssueSlo&&Mh(d,2,c.expandIssueSlo),null!=c.rightSidebarWidth&&rj(d,3,c.rightSidebarWidth),li(b,sta,10,d));null!=a.dateTimePreferences&&(c=a.dateTimePreferences,d=new wj,d=Lh(d,1,c.calendarFormat),d=Lh(d,2,c.timeFormat).setTimeZone(c.timeZone),c=tj(d,7,tta[c.sloEtaViewAs]),li(b,wj,11,c));null!=a.themePreferences&&(c=a.themePreferences,c=(new dj).setDensity(uta[c.density]),li(b,dj,8,c));null!=a.homepagePreferences&&(c=a.homepagePreferences,
d=new xj,null!=c.resourceType&&d.setResourceType(vta(c.resourceType)),null!=c.resourceId&&d.setResourceId(c.resourceId),li(b,xj,13,d));null!=a.keyboardPreferences&&(c=a.keyboardPreferences,d=new cta,c=Mh(d,1,c.enableAllHotkeys),li(b,cta,17,c));null!=a.newFeaturesAcknowledgedMillis&&yj(b,16,a.newFeaturesAcknowledgedMillis);null!=a.autoCcOnComment&&Mh(b,18,a.autoCcOnComment);null!=a.textDisplayPreferences&&(c=a.textDisplayPreferences,d=new gj,c.commentDisplayOverride&&tj(d,2,wta(c.commentDisplayOverride)),
c.lastPublishMode&&tj(d,1,wta(c.lastPublishMode)),li(b,gj,20,d));null!=a.bugScreensaverPreferences&&(c=a.bugScreensaverPreferences,d=new hj,null!=c.enableBugScreensaver&&Mh(d,1,c.enableBugScreensaver),null!=c.announcementDismissed&&Mh(d,2,c.announcementDismissed),li(b,hj,21,d));null!=a.g3nPreferences&&(c=a.g3nPreferences,d=new ij,null!=c.announcementDismissedMillis&&zj(d,1,c.announcementDismissedMillis),li(b,ij,24,d));null!=a.teamWarningPreferences&&(c=xta(a.teamWarningPreferences),li(b,lj,23,c));
if(null!=a.dismissalTimestamps){d=a.dismissalTimestamps;c=Kb(b,25,mj,ub);d=l(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;var h=f.next().value;f=c;var k=f.set,q=new mj,t=q;h=h.getTime();Number.isFinite(h)||(h=0);t.setSeconds(Math.trunc(h/1E3)).setNanos(Math.trunc(h%1E3*1E6));k.call(f,e,q)}}null!=a.collapsed&&vj(a.collapsed,b.getCollapsedMap());null!=a.showRecentEventsFirst&&Mh(b,26,a.showRecentEventsFirst);null!=a.showInlineImages&&Mh(b,29,a.showInlineImages);
null!=a.commentFilterPreferences&&(d=a.commentFilterPreferences,c=new nj,null!=d.commentFilter&&(d=yta(d.commentFilter),tj(c,1,d)),li(b,nj,28,c));null!=a.needsAttentionPreferences&&(d=a.needsAttentionPreferences,c=new oj,d.selectedSignals&&(d=d.selectedSignals.map(zta),Aj(c,1,d)),li(b,oj,30,c));if(null!=a.missionControlPreferences){a=a.missionControlPreferences;c=new pj;a.workAreaUrls&&Lb(c,1,a.workAreaUrls,rb);a.collapsed&&vj(a.collapsed,c.getCollapsedMap());if(a.workAreaQuickFilters){d=a.workAreaQuickFilters;
e={};f=l(Object.keys(d));for(k=f.next();!k.done;k=f.next())k=k.value,e[k]=Ata[d[k]];vj(e,Jb(c,9,Zba))}null!=a.myTasksTab&&rj(c,3,a.myTasksTab);null!=a.workAreaTab&&rj(c,4,a.workAreaTab);null!=a.myTasksDaysOld&&rj(c,6,a.myTasksDaysOld);null!=a.needsAttentionDaysOld&&rj(c,5,a.needsAttentionDaysOld);a.needsAttentionSources&&(d=a.needsAttentionSources.map(Bta),Aj(c,7,d));a.myTasksSources&&(d=a.myTasksSources.map(Bta),Aj(c,8,d));null!=a.hideBadgeInNav&&Mh(c,10,!!a.hideBadgeInNav);null!=a.isNeedsAttentionSourcesConfigured&&
Mh(c,11,!!a.isNeedsAttentionSourcesConfigured);null!=a.isMyTasksSourcesConfigured&&Mh(c,12,!!a.isMyTasksSourcesConfigured);li(b,pj,31,c)}return b},qta=function(a){return(new Bj).setColumnList(a.column.map(function(b){return Dta(b)}))},Dta=function(a){var b=(new Cj).setType(Eta[a.type]);null!=a.customFieldId&&b.setCustomFieldId(a.customFieldId);return b},rta=function(a){return(new sj).setColumnList(a.column.map(function(b){var c=(new Dj).setColumn(Dta(b.column));a:switch(b=b.order,b){case "ASCENDING":b=
1;break a;case "DESCENDING":b=2;break a;default:b=Nh(b,"Unknown sortOrder: "+b)}return tj(c,2,b)}))},vta=function(a){switch(a){case "HOTLIST":return 1;case "SAVED_SEARCH":return 2;case "BOOKMARK_GROUP":return 3;case "NEEDS_ATTENTION":return 4;case "MISSION_CONTROL":return 5;case "ASSIGNED_TO_ME":return 6;default:return Nh(a,"Unknown resourceType: "+a)}},wta=function(a){switch(Usa[a]){case 2:return 2;case 1:return 1;case 3:return 3;default:return 0}},xta=function(a){var b=new lj;null!=a.componentTeamWarnings&&
Fta(b,a.componentTeamWarnings.map(function(c){var d=new eta;c.componentId&&d.setComponentId(c.componentId);c.dismissMillis&&zj(d,2,c.dismissMillis);return d}));return b},yta=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 Nh(a,"Unknown commentFilterType: "+a)}},zta=function(a){return Gta[a]},Bta=function(a){return Hta[a]},vj=function(a,b){a=l(Object.entries(a));for(var c=a.next();!c.done;c=
a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}},Ita=function(a){a=hh(a).toString();var b=new Ej;Lh(b,2,a);return b},Gj=function(a){if(!a)return null;a=Fj(a,2);return null===a||void 0===a?null:fh(a)},Jta=function(a){if(!a)return null;a=Fj(a,3);var b;null===a||void 0===a?b=null:b=new bh(a,ch);return b},Kta=function(a){return a&&"object"===typeof a&&"overrideUntilDate"in a&&"flagName"in a&&"value"in a?!0:!1},Lta=function(a){return{overrides:a.overrides.filter(function(b){return b.overrideUntilDate?
Date.parse(b.overrideUntilDate)>Date.now():!0})}},Mta=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.")},Qta=function(){if(Nta("flag-overrides")()){var a=Ota("flag-overrides")();if(a&&"object"===typeof a&&"overrides"in a&&Array.isArray(a.overrides)&&a.overrides.every(Kta))return Lta(a);Pta();console.warn("Could not parse flag overrides.")}},Pta=function(){Hj("flag-overrides")()},
Rta=function(a,b){var c=new Date(Date.now()+864E5);c=void 0===c?null:c;Mta();var d,e=(null==(d=Qta())?void 0:d.overrides)||[];Hj("flag-overrides")({overrides:[].concat(r(e.filter(function(f){return f.flagName!==a})),[{flagName:a,value:b,overrideUntilDate:c}])})},Sta=function(a,b){Rta(a,b)},Tta=function(a){Mta();var b,c=(null==(b=Qta())?void 0:b.overrides)||[];Hj("flag-overrides")({overrides:c.filter(function(d){return d.flagName!==a})})},Nj=function(){if(null==Uta){var a=ysa();var b=a.hasUser()?a.getUser():
new ni;b=Xi(b,4)?{anonymous:!0,email:null,userTypeLabel:"ANONYMOUS",sessionIdentifier:""}:{anonymous:!1,email:b.getEmail(),userTypeLabel:b.getUserTypeLabel(),sessionIdentifier:b.getSessionIdentifier()};var c=ji(a,ki,2)?a.getConfig():new ki;for(var d=new Map,e=l(Jb(c,4,Wba).entries()),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;d.set(f,h)}c={analyticsId:c.getAnalyticsId(),appName:c.getAppName(),documentationBaseUrl:c.getDocumentationBaseUrl(),enabledFlags:d,environmentType:c.getEnvironmentType(),
maxAccurateSearchResults:c.getMaxAccurateSearchResults(),onePickUrl:c.getOnePickUrl(),onePickSecretToken:c.getOnePickSecretToken(),commentNumberLimit:c.getCommentNumberLimit(),createComponentRedirectDelay:c.getCreateComponentRedirectDelay(),whitelistedWhitelistDomainPartnerComponentIds:Ij(c,10,hi()),isDogfooder:Xi(c,11),createRestrictedSubresourcesComponentIds:Jj(c,13,hi()),indefiniteRetentionComponentsAllowlist:Jj(c,20,hi()),similarIssuesComponentsAllowlist:Jj(c,21,hi())};d=kta(ji(a,oi,7)?a.getUserPreferences():
new oi);f=ji(a,mi,9)?$i(a,mi,9):new mi;e=gi(f,Kj,1,hi()).map(zsa);ji(f,Lj,2)?(f=f.getAnnouncement(),f={message:f.getMessage(),messageId:f.getMessageId(),dismissible:Xi(f,3),tags:f.getTagsList()}):f=null;e={timezones:e,announcement:f};f=a.getXsrfToken();h=a.getCspNonce();var k=a.getFrontendAccessMode(),q=a.getMustAcknowledgeTerms(),t=a.getShowNewFeaturesDialog(),w=a.getAppBaseHref(),z=ji(a,Mj,11)?Rsa(a.getTracker()):null,F;ji(a,Vta,12)?(F=a.getPassiveLoginIframeUrl())?(F=Fj(F,4),F=null===F||void 0===
F?null:kh(F)):F=null:F=null;a=Uta={user:b,config:c,xsrfToken:f,cspNonce:h,frontendAccessMode:k,mustAcknowledgeTerms:q,showNewFeaturesDialog:t,userPreferences:d,preload:e,appBaseHref:w,tracker:z,passiveLoginIframeUrl:F,userRequiresCaptcha:Xi(a,13)};if(b=Qta()){c=l(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);Mta()}}return Uta},Wta=function(){return"INTERNAL"===(Nj().frontendAccessMode||
"INTERNAL")},Xta=function(a){a=void 0===a?Nj():a;return a.config.environmentType||"QA"},Oj=function(a){a=void 0===a?Nj():a;a=Xta(a);switch(a){case "NIGHTLY":case "PROD":return!0;case "QA":case "DEV":return!1;default:Nh(a,"Unknown environment type.")}},$ta=function(a){if(a)return(a=$i(a,Yta,1))?(a=a.getSeverity(),a={piiVerdict:a?{severity:Zta(a)}:{severity:"NONE_DETECTED"}}):a={piiVerdict:{severity:"NONE_DETECTED"}},a},Zta=function(a){switch(a){case 0:case 1:return"NONE_DETECTED";case 2:return"RESTRICTED";
case 3:return"RESTRICTED_PLUS";default:throw Error("Sb`"+a);}},aua=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("Sb`"+a);}},bua=function(a){var b=new Pj;b=Qj(b,1,a.contentJudgementId);b=Rj(b,2,a.resourcePath);var c=aua(a.severity);b=Sj(b,3,c);b=Rj(b,4,a.judgementReason);return Rj(b,8,a.contentJudge)},cua=function(a){var b=new Pj;var c=aua(a.severity);b=Sj(b,3,c);return Rj(b,
4,a.judgementReason)},dua=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 Nh(a,"Unexpected pii severity")}},Tj=function(a){return a&&a.piiVerdict?a.piiVerdict.severity:"NONE_DETECTED"},eua=function(a){switch(a){case "RESTRICTED":return"Restricted";case "RESTRICTED_PLUS":return"Restricted+";default:return""}},fua=function(a){a=a.getIt();return{contentJudgementId:kj(a,1)?String(kj(a,
1)):void 0,resourcePath:Zi(a,2)||void 0,severity:Zta(a.getRestrictionSeverity()),judgementReason:Zi(a,4),contentJudge:Zi(a,8)}},hua=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("Tb`"+b);}}return{status:b,reason:gua(a.getReason())}}},gua=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("Ub`"+a);}},Uj=function(a){return null==console?!1:"function"===typeof console[a]},Vj=function(){Uj("debug")&&console.debug.apply(console,Vc.apply(0,arguments))},Wj=function(){Uj("info")&&console.info.apply(console,Vc.apply(0,arguments))},iua=function(){Uj("log")&&console.log.apply(console,Vc.apply(0,arguments))},Xj=function(){Uj("warn")&&console.warn.apply(console,Vc.apply(0,arguments))},jua=function(){Uj("error")&&console.error.apply(console,Vc.apply(0,arguments))},kua=function(a){if(null!=
a){var b=a.getYear();if(null==b)Xj("No year. dateToJs");else{var c=a.getDay();if(null==c)Xj("No day. dateToJs");else if(a=a.getMonth(),null==a)Xj("No month. dateToJs");else return{year:b,day:c,month:a}}}},lua=function(a){var b=new Yj;Zj(b,3,a.day);b.setMonth(a.month);b.setYear(a.year);return b},ak=function(a){if(null!=a){var b=a.getSeconds_asLegacyNumberOrString();a=a.getNanos();return{seconds:b,nanos:a}}},bk=function(a){var b=new mj;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},mua=function(a){var b=
new ck;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},nua=function(a){if(null!=a){var b=a.getSeconds_asLegacyNumberOrString();a=a.getNanos();return{seconds:b,nanos:a}}},oua=function(a){if(null!=a)return Number(a.toDate())},dk=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 bk({seconds:a,nanos:b})},ek=function(a){if(!a)return 0;a=1E9*a.getSeconds_asLegacyNumberOrString()+a.getNanos();return Math.round(a/1E3)},pua=function(a){if(null!=
a){var b,c;return{retentionPeriod:null!=(b=nua(a.getRetentionPeriod()))?b:null,scheduledDeletionTime:null!=(c=ak($i(a,mj,2)))?c:null}}},qua=function(a){var b=new fk;if(a.retentionPeriod){var c=mua(a.retentionPeriod);li(b,ck,1,c)}a.scheduledDeletionTime&&(a=bk(a.scheduledDeletionTime),li(b,mj,2,a));return b},sua=function(a){return{retentionSelection:rua[cj(a,1,0)],retentionPeriodDays:qi(a,2),piiRetentionSelection:rua[cj(a,3,0)],piiRetentionPeriodDays:qi(a,4),spiiRetentionPeriodDays:qi(a,5)}},uua=function(a){var b=
new gk;b=Sj(b,1,tua[a.retentionSelection]);b=Zj(b,2,a.retentionPeriodDays);b=Sj(b,3,tua[a.piiRetentionSelection]);b=Zj(b,4,a.piiRetentionPeriodDays);return Zj(b,5,a.spiiRetentionPeriodDays)},vua=function(a){switch(a){case 0:return"RETENTION_UNSPECIFIED";case 1:return"COMPONENT_DEFAULT";case 2:return"INDEFINITE";default:throw Error("Vb`"+a);}},wua=function(a){switch(a){case "RETENTION_UNSPECIFIED":return 0;case "COMPONENT_DEFAULT":return 1;case "INDEFINITE":return 2;default:throw Error("Vb`"+a);}},
yua=function(a){var b=new hk;var c=new xua;a=a?new Da(a,Ea):Ca();c=ik(c,2,a);b=li(b,xua,5,c);c=b.setEntityStatus;a=new jk;a=a.setStatus.call(a,0).setReason(0);return c.call(b,a)},zua=function(a){return{encryptedMedia:yca(kk(a,1)),errorMessage:a.getErrorMessage()}},Bua=function(a){var b=new Aua;lk(b,1,$a(a.attachment,!1,!0,!1));if(void 0!==a.contentJudgement){var c=b.setContentJudgement;a=a.contentJudgement;a=(new mk).setIt(cua(a));c.call(b,a)}return b},Cua=function(a){var b;return{attachments:(null!=
(b=a.getAttachmentsList())?b:[]).map(nk)}},nk=function(a){if(null!=a){a=a.getIt();var b=xi(a.getAttachmentId_asLegacyNumberOrString());var c=a.getFilename();var d=kj(a,3)||void 0,e=Zi(a,2);c=c&&e?{filename:c,length:d,contentType:e}:void 0;return{attachmentId:b,media:c,contentType:Zi(a,2),filename:a.getFilename(),length:kj(a,3),etag:Dua(a.getEtag())||"",contentVerdict:$ta(a.getContentVerdict()),entityStatus:hua(a.getEntityStatus()),piiRetentionState:pua(a.getRestrictedRetentionState()),piiRetention:vua(a.getRestrictedRetention())}}},
Gua=function(a){if(null!=a)return{reason:Eua[a.getReason()],status:Fua[a.hasStatus()?a.getStatus():0]}},Hua=function(a){a=ri(a,1,hi(Li));return{paths:null!=a?a:[]}},ok=function(a){switch(a.getIdentityCase()){case 0:throw Error("Wb");case 1:return{user:wi(a.getUser())};case 2:return{group:wi(a.getGroup())};case 3:return{alias:a.getAlias()};default:throw Error("Xb");}},qk=function(a){var b=new pk;ci(a)&&b.setUser(vi(a.user));di(a)&&b.setGroup(vi(a.group));void 0!==a.alias&&b.setAlias(a.alias);return b},
Iua=function(a){var b=new rk;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("$b");}return b},Jua=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("$b");}},Lua=function(a){if(a)return{accessLevel:Kua[a.getAccessLevel()]}},Nua=function(a){return(new sk).setAccessLevel(Mua[a.accessLevel])},Oua=function(a){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(a.type)},Qua=function(a){if(null!=a)return{customFieldId:zi(xi(a.getCustomFieldId())),standardField:Pua[cj(a,tk(a,vk,2),0)]}},Sua=function(a){var b=new wk;a.customFieldId?b.setCustomFieldId(a.customFieldId):a.standardField&&xk(b,2,vk,Bba(Rua[a.standardField]));
return b},Tua=function(a){if(a){var b=xi(a.getCustomFieldId_asLegacyNumberOrString());if(null==b)Xj("No customFieldId. customFieldValueToJs");else{b={customFieldId:b,displayValues:gi(a,Ej,11,hi()).map(function(F){return hh(Gj(F)).toString()})};switch(a.getValueCase()){case 2:b.textValue=zi(Zi(a,tk(a,yk,2)));break;case 3:b.dateValue=kua(a.getDateValue());break;case 4:b.enumValue=zi(Zi(a,tk(a,yk,4)));break;case 5:b.numericValue=zi(zk(a,tk(a,yk,5)));break;case 6:var c,d;b.repeatedTextValue={values:null!=
(d=null==(c=Ak(a,Bk,6,yk))?void 0:c.getValuesList())?d:[]};break;case 8:var e,f;b.repeatedEnumValue={values:null!=(f=null==(e=Ak(a,Bk,8,yk))?void 0:e.getValuesList())?f:[]};break;case 9:var h,k;b.repeatedNumericValue={values:null!=(k=null==(h=Ak(a,Ck,9,yk))?void 0:h.getValuesList())?k:[]};break;case 7:var q,t,w,z;b.repeatedDateValue={values:null!=(z=null==(q=Ak(a,Dk,7,yk))?void 0:null==(t=q.getValuesList())?void 0:null==(w=t.map(kua))?void 0:w.filter(Bi))?z:[]}}return b}}},Uua=function(a){var b=(new Ek).setCustomFieldId(a.customFieldId);
null!=a.textValue?Fk(b,2,yk,a.textValue):null!=a.dateValue?(a=lua(a.dateValue),Gk(b,3,yk,a)):null!=a.enumValue?Fk(b,4,yk,a.enumValue):null!=a.numericValue?xk(b,5,yk,ib(a.numericValue)):null!=a.repeatedTextValue?(a=(new Bk).setValuesList(a.repeatedTextValue.values),Gk(b,6,yk,a)):null!=a.repeatedEnumValue?(a=(new Bk).setValuesList(a.repeatedEnumValue.values),Gk(b,8,yk,a)):null!=a.repeatedNumericValue?(a=(new Ck).setValuesList(a.repeatedNumericValue.values),Gk(b,9,yk,a)):null!=a.repeatedDateValue&&(a=
(new Dk).setValuesList(a.repeatedDateValue.values.map(lua)),Gk(b,7,yk,a));return b},Xua=function(a){var b=a.getCustomFieldId_asLegacyNumberOrString(),c=Vua[a.getType()],d=!!Xi(a,4),e=a.getName(),f=a.getDescription()||"",h=Tua($i(a,Ek,10));var k=ri(a,8,hi());b={customFieldId:b,type:c,required:d,name:e,description:f,typedDefaultValue:h,allowedValue:k,fieldSignificance:Wua[cj(a,9,0)],shared:a.getShared(),stateOnIssues:"INHERIT",enabledOnIssues:!0};a.getComponentId_asLegacyNumberOrString()&&(b.componentId=
xi(a.getComponentId_asLegacyNumberOrString()));return b},Yua=function(a){return Xua(a)},ava=function(a){var b=new Hk;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));b.setComponentId(String(a.componentId));b.setType(Zua[a.type]);Ik(b,4,a.required);b.setName(a.name);b.setDescription(a.description);if(a.typedDefaultValue){var c=Uua(a.typedDefaultValue);li(b,Ek,10,c)}a.allowedValue&&Lb(b,8,a.allowedValue,rb);a.fieldSignificance&&b.setFieldSignificance($ua[a.fieldSignificance]);b.setShared(a.shared);
return b},gva=function(a){var b=new Jk;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&&bva(b,cva(new dva,a.numericSpec.multiplier));if(a.enumSpec){var c;eva(b,fva(new Kk,(null!=(c=a.enumSpec.options)?c:[]).map(function(d){return(new Lk).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}Sj(b,6,a)}return b},
iva=function(a){return{fieldId:Qua($i(a,wk,1)),stateOnIssues:hva[cj(a,4,0)],enabledOnIssues:Xi(a,5)}},kva=function(a){return{startTime:ak(a.getStartTime()),targetTime:ak($i(a,mj,3)),endTime:ak($i(a,mj,2)),objective:nua(a.getObjective()),businessDays:a.getBusinessDays(),dayType:jva[a.getDayType()]}},mva=function(a){var b=new Mk;if(a.startTime){var c=bk(a.startTime);li(b,mj,1,c)}a.targetTime&&(c=bk(a.targetTime),li(b,mj,3,c));a.endTime&&(c=bk(a.endTime),li(b,mj,2,c));a.objective&&b.setObjective(mua(a.objective));
a.businessDays&&b.setBusinessDays(a.businessDays);a.dayType&&b.setDayType(lva[a.dayType]);return b},nva=function(a){return{assignmentBounds:(null==a?0:ji(a,Mk,1))?kva($i(a,Mk,1)):void 0,responseBounds:(null==a?0:ji(a,Mk,2))?kva($i(a,Mk,2)):void 0,closureBounds:(null==a?0:ji(a,Mk,3))?kva($i(a,Mk,3)):void 0}},ova=function(a){var b=new Nk;if(a.assignmentBounds){var c=mva(a.assignmentBounds);li(b,Mk,1,c)}a.responseBounds&&(c=mva(a.responseBounds),li(b,Mk,2,c));a.closureBounds&&(a=mva(a.closureBounds),
li(b,Mk,3,a));return b},qva=function(a){var b=(new Ok).setInherit(a.inherit).setSource(pva[a.source]).setId(Pk(a.id)).setComment(a.comment);return Qj(b,6,Pk(a.sourceComponentId)).setSourceTeamId(Pk(a.sourceTeamId))},sva=function(a){var b=String(a.getSloId_asLegacyNumberOrString()),c=a.getName(),d=a.getDescription(),e=String(kj(a,2));var f=gi(a,Qk,5,hi());f=(null!=f?f:[]).map(rva);var h=gi(a,Qk,6,hi());h=(null!=h?h:[]).map(rva);var k=a.getIsArchived();a:switch(a=cj(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("ac`"+a);}return{sloId:b,name:c,description:d,parentId:e,elements:f,effectiveElements:h,isArchived:k,alertState:a}},rva=function(a){var b=tva(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("cc`"+d);}}return{metric:b,matcher:c,dayType:d,objective:nua(a.getObjective()),businessDays:a.getBusinessDays()}},tva=function(a){switch(a){case 0:return"METRIC_UNSPECIFIED";
case 1:return"ASSIGNMENT";case 2:return"RESPONSE";case 3:return"CLOSURE";default:throw Error("bc`"+a);}},vva=function(a){var b=new Qk,c=uva(a.metric);b=Sj(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("cc`"+d);}}return c.call(b,d).setObjective(mua(a.objective)).setBusinessDays(a.businessDays)},uva=function(a){switch(a){case "METRIC_UNSPECIFIED":return 0;case "ASSIGNMENT":return 1;
case "RESPONSE":return 2;case "CLOSURE":return 3;default:throw Error("dc`"+a);}},wva=function(a){var b=a.getUser();return{user:b?wi(b):{},isLead:Xi(a,2)}},xva=function(a){var b=new Rk;return Ik(b,2,a.isLead).setUser(vi(a.user))},yva=function(a){var b=new Sk;b.setInherit(a.inherit).setId(Number(a.sloId)).setComment(a.comment).setSourceTeamId(Number(a.sourceTeamId));return b},zva=function(a){return(new Tk).setInherit(a.inherit).setId(a.id)},Ava=function(a){return{teamId:a.getTeamId_asLegacyNumberOrString(),
score:a.getScore()}},Cva=function(a){return(new Bva).setTeamId(a.teamId).setScore(a.score)},Dva=function(a){var b=xi(a);if(null==b)throw Error("ec`"+a);return b},Eva=function(a){var b=gi(a,Uk,4,hi()).map(iva);b=new Map(b.map(function(q){return[q.fieldId.customFieldId,q]}));var c,d,e=null!=(d=null==(c=gi(a,Hk,5,hi()))?void 0:c.map(Yua))?d:[];c=l(e);for(d=c.next();!d.done;d=c.next()){d=d.value;var f=b.get(d.customFieldId);f&&(d.enabledOnIssues=f.enabledOnIssues,d.stateOnIssues=f.stateOnIssues)}var h,
k;return{componentPathId:null!=(k=null==(h=Jj(a,1,hi()))?void 0:h.map(Dva))?k:[],componentPathName:ri(a,2,hi()),allCustomField:e,fieldConfigsMap:b}},Iva=function(a){var b=void 0,c=a.getContentVerdict();c&&(b=$ta(c));c=void 0;var d=a.getFormattedComment();d&&(c=Fva(d));d=void 0;var e=$i(a,ui,3);e&&(d=wi(e));e=void 0;var f=a.getEtag();f&&(e=Dua(f));f=void 0;var h=a.getEntityStatus();h&&(f=hua(h));h=void 0;var k=a.getRestrictedRetentionState();k&&(h=pua(k));return{issueId:String(a.getIssueId_asLegacyNumberOrString()),
commentNumber:a.getCommentNumber(),commentContentVerdict:b,formattingMode:Gva(a.getFormattingMode()),formattedComment:c,lastEditorUser:d,lastModified:ek(a.getModifiedTime()),version:a.getVersion(),unlinkifiedComment:a.getComment(),entityStatus:f,piiRetentionState:h,piiRetention:vua(a.getRestrictedRetention()),redacted:Xi(a,13),etag:e,commentReactions:Hva($i(a,Vk,17))}},Fva=function(a){if(Wk(a,Xk,1,Yk)){var b=Ak(a,Xk,1,Yk);var c;b={plainSection:(null!=(c=gi(b,Zk,1,hi()))?c:[]).map(Jva)}}else b=void 0;
return{plainFormat:b,markdownFormat:Wk(a,$k,2,Yk)?{content:Gj(Ak(a,$k,2,Yk).getContent())}:void 0,literalFormat:Wk(a,al,3,Yk)?{content:Gj(Ak(a,al,3,Yk).getContent())}:void 0}},Jva=function(a){return{isQuoted:Xi(a,1),content:Gj(a.getContent())}},Kva=function(a){var b=new Zk;return Ik(b,1,a.isQuoted).setContent(Ita(a.content))},Gva=function(a){switch(a){case 0:case 1:return"PLAIN";case 2:return"MARKDOWN";case 3:return"LITERAL";default:throw Error("fc`"+a);}},bl=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("fc`"+a);}},Hva=function(a){var b,c;null==a?c=void 0:c=gi(a,cl,2,hi());a=null!=(b=c)?b:[];b=new Map;a=l(a);for(c=a.next();!c.done;c=a.next()){c=c.value;a:{var d=c.getType();switch(d){case 0:d="REACTION_TYPE_UNSPECIFIED";break a;case 1:d="UPVOTE";break a;default:throw Error("gc`"+d);}}var e=void 0,f=void 0,h=void 0,k=void 0,q=null!=(f=Xi(c,1))?f:!1;f=null!=(h=kj(c,
2))?h:0;c=gi(c,ui,3,hi());c={type:d,hasReacted:q,count:f,recentResponders:null!=(k=null==(e=c)?void 0:e.map(wi).filter(Bi))?k:[]};b.set(d,c)}return b},Lva=function(a){return a.map(function(b){return $i(b,ui,1)}).filter(Bi).map(wi).map(function(b){return{mentionedUser:b}})},dl=function(a){switch(a){case "P0":case "P1":case "P2":case "P3":case "P4":return a;default:return null}},Mva=function(a){switch(a){case "TYPE_UNSPECIFIED":case "BUG":case "FEATURE_REQUEST":case "CUSTOMER_ISSUE":case "INTERNAL_CLEANUP":case "PROCESS":case "VULNERABILITY":case "PRIVACY_ISSUE":case "PROJECT":case "FEATURE":case "MILESTONE":case "EPIC":case "STORY":case "TASK":return a;
default:return null}},Nva=function(a){switch(a){case "S0":case "S1":case "S2":case "S3":case "S4":return a;default:return null}},Ova=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"TYPE_UNSPECIFIED";case 0:return"TYPE_UNSPECIFIED";default:return"TYPE_UNSPECIFIED"}},Pva=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 "TYPE_UNSPECIFIED":return 0;
default:return 0}},Qva=function(a){return{issueId:String(a.getIssueId_asLegacyNumberOrString()),updateText:Zi(a,2),formattedText:ji(a,el,3)?Fva($i(a,el,3)):void 0,formattingMode:a.getFormattingMode()?Gva(a.getFormattingMode()):void 0,author:a.hasAuthor()?wi(a.getAuthor()):void 0,updateTime:a.hasUpdateTime()?zi(ak(a.getUpdateTime())):void 0,version:a.getVersion()}},Rva=function(a){var b=(new fl).setFormattingMode(bl(a.formattingMode));a.issueId&&b.setIssueId(a.issueId);a.updateText&&Rj(b,2,a.updateText);
if(a.formattedText){var c=a.formattedText,d=new el;if(c.plainFormat){var e=c.plainFormat;var f=new Xk;e=e.plainSection.map(Kva);f=gl(f,1,e);Gk(d,1,Yk,f)}c.markdownFormat&&(f=c.markdownFormat,f=(new $k).setContent(Ita(f.content)),Gk(d,2,Yk,f));c.literalFormat&&(c=c.literalFormat,c=(new al).setContent(Ita(c.content)),Gk(d,3,Yk,c));li(b,el,3,d)}a.author&&b.setAuthor(vi(a.author));a.updateTime&&b.setUpdateTime(bk(a.updateTime));a.version&&b.setVersion(a.version);return b},Zva=function(a){var b=a.getAccessLimit(),
c=Sva[cj(a,30,0)],d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la,oa=a.getComponentId_asLegacyNumberOrString(),Fa=a.getType()?Ova(a.getType()):null,Ta=a.getStatus()?Tva[a.getStatus()]:null,Pa=a.getPriority()?Uva[a.getPriority()]:null,Ya=a.getSeverity()?Vva[a.getSeverity()]:null,sb=a.getTitle(),Na=a.getReporter()?wi(a.getReporter()):null,ja=a.getAssignee()?wi(a.getAssignee()):null,ya=a.getVerifier()?wi(a.getVerifier()):null,Ga=null!=(t=null==(d=a.getCcsList())?void 0:d.map(wi))?t:[];d=null!=(w=null==(e=a.getCollaboratorsList())?
void 0:e.map(wi))?w:[];e=a.getCanonicalIssueId_asLegacyNumberOrString()?String(a.getCanonicalIssueId_asLegacyNumberOrString()):null;w=null!=(z=null==(f=a.getBlockedByIssueIdsList_asLegacyNumberOrString())?void 0:f.map(String))?z:[];f=null!=(F=null==(h=a.getBlockingIssueIdsList_asLegacyNumberOrString())?void 0:h.map(String))?F:[];h=null!=(J=a.getHotlistIdsList_asLegacyNumberOrString())?J:[];J=null!=(H=null==(k=a.getCustomFieldsList())?void 0:k.map(Tua).filter(Bi))?H:[];k=null!=(O=a.getCodeChangesList())?
O:[];O=null!=(P=gi(a,hl,35,hi()).map(Wva))?P:[];P=ri(a,17,hi());P=null!=P?P:[];H=ri(a,18,hi());H=null!=H?H:[];F=ri(a,19,hi());F=null!=F?F:[];z=a.getInProd();t=a.getIsArchived();var gb=null!=(U=null==(q=a.getDuplicateIssueIdsList_asLegacyNumberOrString())?void 0:q.map(String))?U:[];q=a.getIsDeleted();U=Xva[cj(a,24,0)];var Wa=null!=(Z=ak(a.getSloSnoozeUntil()))?Z:null;Z=null!=(la=ak(a.getSloEndTime()))?la:null;la=ri(a,27,hi());la=null!=la?la:[];var zc=Yva[a.getRetention()];a.hasEffort()?(a=a.getEffort(),
a={specId:kj(a,1),estimate:Zi(a,2),averageDays:zk(a,3),totalOpen:zk(a,4),totalComplete:zk(a,5)}):a=void 0;return{componentId:oa,type:Fa,status:Ta,priority:Pa,severity:Ya,title:sb,reporterUser:Na,assigneeUser:ja,verifierUser:ya,ccUsers:Ga,collaboratorsUsers:d,duplicateOfIssueId:e,blockedByIssueId:w,blockingIssueId:f,hotlistId:h,customField:J,changelist:k,gerritChanges:O,foundInVersion:P,targetedToVersion:H,verifiedInVersion:F,inProd:z,isArchived:t,duplicateIssueId:gb,isDeleted:q,deletionReason:U,sloStartTime:Wa,
sloEndTime:Z,sloSnoozeType:"SLO_SNOOZE_TYPE_UNSPECIFIED"===c?null:c,postmortems:la,retention:zc,effort:a,issueAccessLimitLevel:null!=b?Jua(b):null,comment:"",formattingMode:void 0}},fwa=function(a){var b=new il;a.componentId&&b.setComponentId(a.componentId);a.title&&b.setTitle(a.title);null!=a.type&&b.setType(Pva(a.type));null!=a.inProd&&b.setInProd(a.inProd);null!=a.isArchived&&b.setIsArchived(a.isArchived);null!=a.status&&b.setStatus($va[a.status]);null!=a.priority&&b.setPriority(awa[a.priority]);
null!=a.severity&&b.setSeverity(bwa[a.severity]);a.reporterUser&&b.setReporter(vi(a.reporterUser));a.assigneeUser&&b.setAssignee(vi(a.assigneeUser));a.verifierUser&&b.setVerifier(vi(a.verifierUser));a.ccUsers&&b.setCcsList(a.ccUsers.map(vi));a.collaboratorsUsers&&b.setCollaboratorsList(a.collaboratorsUsers.map(vi));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(Uua));a.changelist&&b.setCodeChangesList(a.changelist);if(a.gerritChanges){var c=a.gerritChanges.map(cwa);gl(b,35,c)}a.foundInVersion&&Lb(b,17,a.foundInVersion,rb);a.targetedToVersion&&Lb(b,18,a.targetedToVersion,rb);a.verifiedInVersion&&Lb(b,19,a.verifiedInVersion,rb);a.duplicateIssueId&&b.setDuplicateIssueIdsList(a.duplicateIssueId.map(Number));null!=a.isDeleted&&b.setIsDeleted(a.isDeleted);null!=
a.deletionReason&&b.setDeletionReason(dwa[a.deletionReason]);a.sloStartTime&&b.setSloSnoozeUntil(bk(a.sloStartTime));a.sloEndTime&&b.setSloEndTime(bk(a.sloEndTime));null!=a.sloSnoozeType&&b.setSloSnoozeType(ewa[a.sloSnoozeType]);null!=a.retention&&b.setRetention(wua(a.retention));if(a.effort){c=b.setEffort;var d=a.effort,e=new jl;d.specId&&Qj(e,1,d.specId);d.estimate&&Rj(e,2,d.estimate);d.averageDays&&Mb(e,3,ib(d.averageDays),0);d.totalOpen&&Mb(e,4,ib(d.totalOpen),0);d.totalComplete&&Mb(e,5,ib(d.totalComplete),
0);c.call(b,e)}a.issueAccessLimitLevel&&b.setAccessLimit(Iua(a.issueAccessLimitLevel));return b},Wva=function(a){return{host:Zi(a,1),repo:Zi(a,2),changeNumber:a.getChangeNumber_asLegacyNumberOrString(),state:gwa[a.getState()]}},cwa=function(a){var b=new hl;b=Rj(b,1,a.host);return Rj(b,2,a.repo).setChangeNumber(a.changeNumber).setState(hwa[a.state])},iwa=function(a){return{oneDayViewCount:kj(a,1),sevenDayViewCount:kj(a,2),thirtyDayViewCount:kj(a,3)}},mwa=function(a){switch(kl(a,jwa)){case 2:var b=
Ak(a,kwa,2,jwa);return 0!==b.getCommentNumber()?{type:"issueReference",issueId:String(b.getIssueId_asLegacyNumberOrString()),commentNumber:b.getCommentNumber(),sourceCommentNumber:qi(a,3)}:{type:"issueReference",issueId:String(b.getIssueId_asLegacyNumberOrString()),sourceCommentNumber:qi(a,3)};case 1:return{type:"hyperlink",href:Ak(a,lwa,1,jwa).getHref(),sourceCommentNumber:qi(a,3)};case 0:throw Error("hc");default:throw Error("ic");}},nwa=function(a){return{author:Ji(a.getAuthor()),timestamp:ak(a.getTimestamp()),
add:ll(a.getAdd()),remove:ll(a.getRemove()),addMask:Hua(a.getAddMask()),removeMask:Hua(a.getRemoveMask())}},owa=function(a){var b;return{updates:(null!=(b=a.getUpdatesList())?b:[]).map(nwa)}},ll=function(a){a=a.getIt();var b=ji(a,gk,15)?sua($i(a,gk,15)):void 0,c=ji(a,ml,7)?Eva($i(a,ml,7)):void 0;if(a.hasSlo()){var d=a.getSlo();d={inherit:d.getInherit(),source:pwa[d.getSource()],id:String(d.getId_asLegacyNumberOrString()),sourceComponentId:String(kj(d,6)),sourceTeamId:String(d.getSourceTeamId_asLegacyNumberOrString()),
comment:d.getComment()}}else d=void 0;var e;if(ji(a,Jk,18)){var f=a.getEffortSpec(),h=f.getInherit(),k=f.getId_asLegacyNumberOrString(),q=f.getName();a:switch(cj(f,6,0)){case 2:var t="MAX";break a;case 1:t="SUM";break a;default:t="AGGREGATION_TYPE_UNSPECIFIED"}h={inherit:h,id:k,name:q,aggregationType:t,customFieldId:f.getCustomFieldId_asLegacyNumberOrString()};if(Wk(f,dva,4,nl)){if(e=Ak(f,dva,4,nl))h.numericSpec={multiplier:zk(e,1)}}else if(Wk(f,Kk,5,nl)&&(f=Ak(f,Kk,5,nl),h.enumSpec={options:[]},
f&&0<(null==f?void 0:null==(e=gi(f,Lk,1,hi()))?void 0:e.length)))for(e=l(gi(f,Lk,1,hi())),f=e.next();!f.done;f=e.next())f=f.value,q=k=void 0,null==(k=h.enumSpec)||null==(q=k.options)||q.push({label:f.getLabel(),value:f.getValue()});e=h}else e=void 0;ji(a,Tk,16)?(h=a.getTeam(),h={inherit:h.getInherit(),id:String(h.getId_asLegacyNumberOrString())}):h=void 0;f=Lua(a.getAccessLimit());k=cj(a,21,0);k=2===k?"ALL_PROTECTIONS":1===k?"NO_PROTECTIONS":f?"EXTERNAL_PUBLIC"===f.accessLevel?"ALL_PROTECTIONS":"NO_PROTECTIONS":
"NO_PROTECTIONS";var w,z;q=a.getComponentId_asLegacyNumberOrString();t=kj(a,3);var F=a.getName(),J=a.getDescription(),H=a.getIsArchived(),O="buganizer-system+"+a.getComponentId_asLegacyNumberOrString()+"@google.com";var P=1===cj(a,10,0)?"ENABLED":"DISABLED";return{componentId:q,parentComponentId:t,name:F,description:J,archived:H,componentPathInfo:c,accessLimit:f,emailAlias:O,commentEditState:P,defaultTemplateId:Dva(kj(a,6)),slo:d,bugscopeSloId:String(kj(a,14)),retentionSettings:b,fieldOrdering:qwa[cj(a,
17,0)],effortSpec:e,team:h,teamSuggestions:null!=(z=null==(w=a.getTeamSuggestionsList())?void 0:w.map(Ava))?z:[],trackerId:a.getTrackerId_asLegacyNumberOrString()?String(a.getTrackerId_asLegacyNumberOrString()):void 0,spamProtection:k}},rwa=function(a){var b=new ol;b=Qj(b,3,a.parentComponentId).setName(a.name).setDescription(a.description);a.commentEditState&&b.setCommentEditState("ENABLED"===a.commentEditState?1:2);a.retentionSettings&&(a=uua(a.retentionSettings),li(b,gk,15,a));return(new pl).setIt(b)},
swa=function(a){a=gi(a,pl,1,hi());return(null!=a?a:[]).map(ll)},twa=function(a){return{warningHeader:Zi(a,1),warning:Zi(a,2),isAllowed:Xi(a,3),isExternalMove:Xi(a,4)}},vwa=function(a){a=a.getIt();var b=Zva(a.getIssueState());a.getComment()&&(b.comment=a.getComment());a.getFormattingMode()&&(b.formattingMode=uwa[a.getFormattingMode()]);return{componentId:a.getComponentId_asLegacyNumberOrString(),templateId:a.getTemplateId_asLegacyNumberOrString(),name:a.getName(),description:a.getDescription(),default:Xi(a,
9),snapshot:b}},wwa=function(a){var b=new ql,c=b.setIt,d=(new rl).setFormattingMode(bl(a.snapshot.formattingMode)).setComment(a.snapshot.comment).setComponentId(a.componentId).setTemplateId(a.templateId).setName(a.name).setDescription(a.description);a=Ik(d,9,a.default).setIssueState(fwa(a.snapshot));return c.call(b,a)},xwa=function(a){a=gi(a,pl,1,hi());return(null!=a?a:[]).map(ll)},ywa=function(a){return{componentPath:a.getComponentPath(),retentionSettings:sua($i(a,gk,3))}},Awa=function(a){return gi(a,
zwa,2,hi()).map(ywa)},Bwa=function(a){if(null!=a)return Qua(a.getIt())},Cwa=function(a){return(new sl).setIt(Sua(a))},Dwa=function(a){if(null!=a)return Xua(a.getIt())},Ewa=function(a){return Dwa($i(a,tl,1))},Fwa=function(a){return(new tl).setIt(ava(a))},Gwa=function(a){a=a.getIt();return{customFields:a.getCustomFieldsList().map(Xua),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},Kwa=function(a){if(null!=a){var b=a.getName();if(null==b)Xj("No name. eventDiffToJs");else{b={name:b,displayName:zi(a.getDisplayName()),
timestamp:oua(a.getTimestamp()),important:!!Xi(a,5),type:Hwa[a.getType()]};if(Wk(a,ul,6,vl)){var c=Ak(a,ul,6,vl);if(Wk(c,Iwa,1,wl)){var d=Ak(c,Iwa,1,wl);b.isUser=!0;b.oldValue=Ai("<none>")(Ki(null==d?void 0:$i(d,Mi,1)));b.newValue=Ai("<none>")(Ki(null==d?void 0:$i(d,Mi,2)))}if(Wk(c,xl,2,wl)){var e,f;b.oldValue=zi(null==(e=Ak(a,ul,6,vl))?void 0:null==(f=Ak(e,xl,2,wl))?void 0:f.getOldValue());var h,k;b.newValue=zi(null==(h=Ak(a,ul,6,vl))?void 0:null==(k=Ak(h,xl,2,wl))?void 0:k.getNewValue())}}else if(Wk(a,
yl,9,vl)){var q;b.customFieldId=zi(null==(q=Ak(a,yl,9,vl))?void 0:q.getCustomFieldId_asLegacyNumberOrString());var t;b.oldValue=zi(null==(t=Ak(a,yl,9,vl))?void 0:t.getOldValue());var w;b.newValue=zi(null==(w=Ak(a,yl,9,vl))?void 0:w.getNewValue())}else if(Wk(a,zl,10,vl))e=Ak(a,zl,10,vl),b.isUser=!0,a=(null==e?void 0:e.getAddedList())||[],e=(null==e?void 0:e.getRemovedList())||[],b.added=a.map(function(J){return Ki(J)}).map(Ai("<none>")),b.removed=e.map(function(J){return Ki(J)}).map(Ai("<none>"));
else if(Wk(a,Al,7,vl)){var z;b.added=(null==(z=Ak(a,Al,7,vl))?void 0:z.getAddedList())||[];var F;b.removed=(null==(F=Ak(a,Al,7,vl))?void 0:F.getRemovedList())||[]}else Wk(a,Bl,8,vl)?(e=(null==(d=Ak(a,Bl,8,vl))?void 0:d.getAddedList())||[],a=(null==(c=Ak(a,Bl,8,vl))?void 0:c.getRemovedList())||[],b.added=e.map(Jwa).filter(Bi),b.removed=a.map(Jwa).filter(Bi)):Wk(a,Cl,11,vl)?(a=Gua(Ak(a,Cl,11,vl).getEntityStatus()),b.statusUpdateDiff={entityStatus:a}):Xj("Unhandled diff type '"+b.type+"'");return b}}},
Jwa=function(a){if(null!=a){var b=a.getValue();if(null==b)Xj("No value. linkedItemToJs");else if(a=a.getHref(),null==a)Xj("No href. linkedItemToJs");else return{value:b,href:a}}},Lwa=function(a){var b=ri(a,1,hi());a=ri(a,2,hi());return{noAccessEmails:b,unknownEmails:a}},Mwa=function(a){if(null!=a){var b={},c;if(c=a.getUser())b.user=Ji(c);if(c=a.getGroup())b.group=Ji(c);if(c=a.getAlias())b.alias=c;return b}},El=function(a){var b=new Dl;if(ci(a))return b.setUser(Ni(a.user)),b;if(di(a))return b.setGroup(Ni(a.group)),
b;void 0!==a.alias&&b.setAlias(a.alias);return b},Pwa=function(a){var b=Nwa[a.getImplicitAccess()],c,d,e,f,h,k,q,t,w,z,F={admins:Fl(null!=(c=a.getAdminsList())?c:[]),appenders:Fl(null!=(d=a.getAppendersList())?d:[]),editors:Fl(null!=(e=a.getEditorsList())?e:[]),readers:Fl(null!=(f=a.getReadersList())?f:[]),restrictedReaders:Fl(null!=(h=a.getRestrictedReadersList())?h:[]),restrictedPlusReaders:Fl(null!=(k=a.getRestrictedPlusReadersList())?k:[]),inheritedAdmins:Fl(null!=(q=a.getInheritedAdminsList())?
q:[]),implicitAppenders:Fl(null!=(t=a.getImplicitAppendersList())?t:[]),implicitEditors:Fl(null!=(w=a.getImplicitEditorsList())?w:[]),implicitReaders:Fl(null!=(z=a.getImplicitReadersList())?z:[]),implicitAccess:b};if(Owa&&a.hasIt()){w=a.getIt();a=w.getAdminsList().map(ok);b=w.getAppendersList().map(ok);c=w.getEditorsList().map(ok);d=w.getReadersList().map(ok);e=w.getRestrictedReadersList().map(ok);f=w.getRestrictedPlusReadersList().map(ok);h=w.getInheritedAdminsList().map(ok);k=w.getImplicitAppendersList().map(ok);
q=w.getImplicitEditorsList().map(ok);t=w.getImplicitReadersList().map(ok);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("Yb");}a={admins:a,appenders:b,editors:c,readers:d,restrictedReaders:e,restrictedPlusReaders:f,inheritedAdmins:h,implicitAppenders:k,implicitEditors:q,implicitReaders:t,implicitAccess:w};Hsa(F,a);return a}return F},Fl=function(a){return a.map(Mwa).filter(Bi)},Qwa=function(a){return Lva(a.getIt().getMentionsList()).map(function(b){return b.mentionedUser}).map(Ki).map(function(b){return b||
""})},Rwa=function(a){a=a.getIt();return a.hasFormattedComment()?Fva(a.getFormattedComment()):{}},Swa=function(a){var b;return 1===(null==(b=a.getTeamSloEditPolicy())?void 0:cj(b,2,0))},Uwa=function(a){var b;return 1===(null==(b=$i(a,Twa,1))?void 0:b.getEffectiveSloEditPolicy())},Vwa=function(a){var b=$i(a,ui,2);a:{var c=cj(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:Nh(c)}c=void 0}var d=a.getTimeZone(),e=$i(a,Gl,6);if(null==
b)throw Error("jc");if(null==c)throw Error("kc");if(null==d)throw Error("lc");if(null==e)throw Error("mc");var f=a.getId_asLegacyNumberOrString();b=wi(b);a=qi(a,4);var h={id:d.getId()};d.getVersion()&&(h.version=d.getVersion());return{id:f,lead:b,frequency:c,ordinal:a,timeZone:h,timeOfDay:{hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds(),nanos:e.getNanos()}}},Xwa=function(a){var b=(new Hl).setId(a.id),c=vi(a.lead);b=li(b,ui,2,c).setFrequency(Wwa(a.frequency));b=Zj(b,4,a.ordinal);c=
b.setTimeZone;var d=a.timeZone,e=(new Il).setId(d.id);d.version&&e.setVersion(d.version);b=c.call(b,e);a=a.timeOfDay;a=(new Gl).setHours(a.hours).setMinutes(a.minutes).setSeconds(a.seconds).setNanos(a.nanos);return li(b,Gl,6,a)},Ywa=function(a){return sva(a.getIt())},Zwa=function(a){var b=new Jl,c=b.setIt;var d=(new Kl).setSloId(a.sloId).setName(a.name).setDescription(a.description).setParentId(a.parentId);var e=a.elements.map(vva);d=gl(d,5,e);e=a.effectiveElements.map(vva);d=gl(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("ac`"+a);}a=Sj(d,8,a);return c.call(b,a)},$wa=function(a){a=a.getIt();return{author:wi(a.getAuthor()),timestamp:ak(a.getTimestamp()),add:sva(a.getAdd()),remove:sva(a.getRemove()),addMask:Hua(a.getAddMask()),removeMask:Hua(a.getRemoveMask())}},Wwa=function(a){switch(a){case "daily":return 1;case "weekly":return 2;case "monthly":return 3;default:return Nh(a)}},axa=function(a){if(null!=a)return{tag:a.getTag(),
text:a.getText()}},dxa=function(a,b,c,d){if(bxa){var e=new Ll,f=e.setIt;a=(new Ml).setIssueId(a);b&&a.setIssueAccessLimit(Iua(b));c&&a.setAddedCollaboratorsList(c.map(vi));d&&a.setRemovedCollaboratorsList(d.map(vi));return f.call(e,a)}e=(new Ll).setIssueId(a);b&&(b=cxa[b])&&(b=(new rk).setAccessLevel(b),e.setIssueAccessLimit(b));c&&e.setAddedCollaboratorsList(c.map(Ni));d&&e.setRemovedCollaboratorsList(d.map(Ni));return e},exa=function(a){var b=new Nl;b.setIssueId(String(a));return b},gxa=function(a){var b=
new fxa;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));return b},ixa=function(a){var b=new hxa;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));return b},jxa=function(a){return{issueId:Asa(a.getIssueId_asString()),status:Tva[a.getStatus()],title:a.getTitle()}},mxa=function(a){var b=new kxa;b.setFieldName(a.fieldName);a.value&&b.setValue(a.value);a.actionType&&b.setActionType(lxa[a.actionType]);if(a.customFieldValue){var c=b.setCustomFieldValue;a=a.customFieldValue;
a=(new Ol).setIt(Uua(a));c.call(b,a)}return b},oxa=function(a){var b=new nxa;b.setIssueId(String(a.issueId));b.setActionsList(a.actions.filter(function(c){return!c.ignoreOnIssueEditRequest}).map(mxa));return b},sxa=function(a){var b=new pxa,c=a.addHotlistIds.map(String);Lb(b,1,c,ob);c=a.removeHotlistIds.map(String);Lb(b,2,c,ob);var d=a.hotlistIssue;a=new Pl;a.setIssueId(String(d.issueId));d.position&&a.setPosition(d.position);if(d.issue){c=a.setIssue;d=d.issue;if(qxa){var e=new Ql,f=e.setIt,h=(new Rl).setIssueId(d.issueId).setVersion(d.version).setCustomFieldsList(d.customFields.map(ava)).setVisibleFieldsList(d.visibleFields.map(Sua)).setMajorModifiedTime(dk(d.majorModifiedTimeMicros)).setParentIssueIdsList(d.parentIssueIds.map(xi).filter(Bi)).setChildIssueCount(d.childIssueCount).setDescendantIssueCount(d.descendantCount).setOpenDescendantIssueCount(d.openDescendantCount).setIsArchived(d.isArchived);
d.trackerId&&h.setTrackerId(d.trackerId);d.snapshot&&d.snapshot[0]&&h.setIssueState(fwa(d.snapshot[0]));d.statusUpdate&&h.setStatusUpdate(Rva(d.statusUpdate));if(d.userData){var k=h.setUserData,q=d.userData,t=new Sl;q.voted&&Ik(t,2,q.voted);q.starred&&Ik(t,1,q.starred);q.notificationSubscription&&t.setNotificationSubscription(rxa[q.notificationSubscription]);void 0!==q.lastViewedTimeMicros&&(q=dk(q.lastViewedTimeMicros),li(t,mj,5,q));k.call(h,t)}d.aggregatedData&&(h.setVoteCount(d.aggregatedData.voteCount).setCreatedTime(dk(d.aggregatedData.createdTimeMicros)).setResolvedTime(dk(d.aggregatedData.resolvedTimeMicros)).setVerifiedTime(dk(d.aggregatedData.verifiedTimeMicros)).setModifiedTime(dk(d.aggregatedData.modifiedTimeMicros)).setLastModifier(vi(d.aggregatedData.lastModifier)),
d.aggregatedData.sloStatus&&h.setSloStatus(ova(d.aggregatedData.sloStatus)),d.aggregatedData.sloId&&h.setSloId(d.aggregatedData.sloId),d.aggregatedData.teamId&&h.setTeamId(d.aggregatedData.teamId),d.aggregatedData.retentionState&&h.setRetentionState(qua(d.aggregatedData.retentionState)));d.accessLimit&&h.setAccessLimit(Nua(d.accessLimit));if(d.ancestors)for(k=h.getAncestorsMap(),t=l(d.ancestors.entries()),q=t.next();!q.done;q=t.next()){var w=l(q.value);q=w.next().value;w=w.next().value;k.set(Number(q),
(new Tl).setSourceIssueIdsList(w.sourceIssueIds.map(xi).filter(Bi)))}d.userActivityStats&&(k=h.setUserActivityStats,d=d.userActivityStats,t=new Ul,t=Qj(t,1,d.oneDayViewCount),t=Qj(t,2,d.sevenDayViewCount),d=Qj(t,3,d.thirtyDayViewCount),k.call(h,d));d=f.call(e,h)}else{e=new Ql;e.setIssueId(String(d.issueId));e.setVersion(d.version);d.snapshot&&d.snapshot[0]&&e.setIssueState(fwa(d.snapshot[0]));d.userData&&(h=e.setUserData,k=d.userData,t=new Vl,k.voted&&t.setVoted(k.voted),k.starred&&t.setStarred(k.starred),
k.notificationSubscription&&t.setNotificationSubscription(rxa[k.notificationSubscription]),void 0!==k.lastViewedTimeMicros&&zj(t,5,k.lastViewedTimeMicros),h.call(e,t));d.aggregatedData&&(k=d.aggregatedData,h=new Wl,h.setVoteCount(k.voteCount),zj(h,2,k.createdTimeMicros),zj(h,4,k.resolvedTimeMicros),zj(h,5,k.verifiedTimeMicros),zj(h,3,k.modifiedTimeMicros),h.setLastModifier(Ni(k.lastModifier)),h.setSloId(String(k.sloId)),h.setTeamId(String(k.teamId)),k.retentionState&&(t=h.setRetentionState,q=k.retentionState,
q=(new Xl).setIt(qua(q)),t.call(h,q)),k.sloStatus&&(t=h.setSloStatus,k=k.sloStatus,k=(new Yl).setIt(ova(k)),t.call(h,k)),li(e,Wl,4,h));d.accessLimit&&(h=Nua(d.accessLimit),li(e,sk,17,h));e.setCustomFieldsList(d.customFields.map(Fwa));e.setVisibleFieldsList((null!=(f=d.visibleFields)?f:[]).map(Cwa));zj(e,7,d.majorModifiedTimeMicros);e.setParentIssueIdsList(d.parentIssueIds);if(d.ancestors)for(f=e.getAncestorsMap(),h=l(d.ancestors.entries()),k=h.next();!k.done;k=h.next()){k=l(k.value);w=k.next().value;
k=k.next().value;t=f;q=t.set;w=Number(w);var z=new Tl;z.setSourceIssueIdsList(k.sourceIssueIds.map(xi).filter(Bi));q.call(t,w,z)}e.setChildIssueCount(d.childIssueCount);e.setIsArchived(d.isArchived);d=e}c.call(a,d)}li(b,Pl,3,a);return b},txa=function(a){var b;return{issueDigests:(null!=(b=a.getIssueDigestsList())?b:[]).map(jxa),numTotalResults:kj(a,2)}},wxa=function(a){var b=new uxa;b.setIssueId(String(a.issueId));var c=a.targetIds.map(String);Lb(b,2,c,ob);b.setRelation(vxa[a.relation]);b.setActionType(lxa[a.actionType]);
return b},zxa=function(a){var b=new xxa;b.setIssueId(String(a.issueId));b.setRetention(yxa[a.retention]);a.significanceOverride&&b.setSignificanceOverride($ua[a.significanceOverride]);return b},Axa=function(a){var b=new Zl,c=b.setIt,d=(new Rl).setIssueState(fwa(a.snapshot));if(a.snapshot.comment){var e=(new $l).setComment(a.snapshot.comment).setFormattingMode(bl(a.snapshot.formattingMode));li(d,$l,4,e)}a.attachments&&d.addAllAttachments(a.attachments.map(yua));d=(new am).setIssue(d);null!=a.templateId&&
(e=new bm,e=Ik(e,1,!1).setTemplateId(a.templateId),li(d,bm,3,e));a.contentJudgement&&(e=d.setContentJudgement,a=Sj(cua(a.contentJudgement),5,2),a=Sj(a,6,1),e.call(d,a));return c.call(b,d)},Bxa=function(a){return{issueId:Asa(a.getIssueId_asString())}},cm=function(a){return Qva(a.getIt())},Cxa=function(a){var b=(new dm).setQuery(a.query);b=tj(b,2,$ua[a.minimumSignificance]);return rj(b,3,a.maximumSize)},Dxa=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("nc");default:Nh(b)}b=void 0}b={status:b,summary:Zi(a,2)};ji(a,em,3)&&(b.formattedSummary={content:Gj($i(a,em,3).getContent())});return b},fm=function(a){if(null!=a){var b=a.getIssueId_asString();if(null==b)Xj("No issueId. issueToJs");else{for(var c=new Map,d=l(a.getAncestorsMap().entries()),e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;c.set(String(e),{sourceIssueIds:f.getSourceIssueIdsList_asLegacyNumberOrString().map(String)})}d=
a.hasIssueState()?[Zva(a.getIssueState())]:[];var h,k,q,t,w,z;e=a.getVersion();f=a.getUserData();if(null!=f){var F;f={voted:Bsa(f.getVoted()),starred:Bsa(f.getStarred()),notificationSubscription:Exa[f.getNotificationSubscription()],lastViewedTimeMicros:null!=(F=kj(f,5))?F:0}}else f=void 0;F=Lua($i(a,sk,17));var J=a.getCustomFieldsList().map(Dwa).filter(Bi),H=a.getVisibleFieldsList().map(Bwa).filter(Bi),O;var P=$i(a,Wl,4);if(null!=P){var U=void 0;P.hasSloStatus()&&(U=nva(P.getSloStatus().getIt()));
var Z,la,oa,Fa,Ta=null!=(Z=P.getVoteCount_asLegacyNumberOrString())?Z:0;Z=null!=(la=kj(P,2))?la:0;la=null!=(oa=kj(P,4))?oa:0;oa=null!=(Fa=kj(P,5))?Fa:0;Fa=null!=(O=kj(P,3))?O:0;O=Ji(P.getLastModifier());var Pa=xi(P.getSloId_asString()),Ya=xi(P.getTeamId_asString());P=P.getRetentionState();P=null!=P?pua(P.getIt()):void 0;O={voteCount:Ta,createdTimeMicros:Z,resolvedTimeMicros:la,verifiedTimeMicros:oa,modifiedTimeMicros:Fa,lastModifier:O,sloId:Pa,teamId:Ya,retentionState:P,sloStatus:U}}else O=void 0;
b={issueId:b,version:e,userData:f,accessLimit:F,snapshot:d,customFields:J,visibleFields:H,aggregatedData:O,majorModifiedTimeMicros:null!=(h=kj(a,7))?h:0,parentIssueIds:null!=(k=a.getParentIssueIdsList())?k:[],ancestors:c,childIssueCount:null!=(q=a.getChildIssueCount())?q:0,descendantCount:null!=(t=a.getDescendantIssueCount())?t:0,openDescendantCount:null!=(w=a.getOpenDescendantIssueCount())?w:0,isArchived:a.getIsArchived(),relatedLinks:(null!=(z=a.getRelatedLinksList())?z:[]).map(mwa),trackerId:"0"!==
a.getTrackerId_asString()?a.getTrackerId_asString():void 0,statusUpdate:a.hasStatusUpdate()?cm(a.getStatusUpdate()):void 0,userActivityStats:a.hasUserActivityStats()?iwa(a.getUserActivityStats()):void 0};if(Fxa&&a.hasIt()){var sb;a=a.getIt();c=a.getIssueState()?[Zva(a.getIssueState())]:[];h=new Map;k=l(a.getAncestorsMap().entries());for(q=k.next();!q.done;q=k.next())t=l(q.value),q=t.next().value,t=t.next().value,h.set(String(q),{sourceIssueIds:t.getSourceIssueIdsList_asLegacyNumberOrString().map(String)});
var Na,ja,ya;k=String(a.getIssueId());q=a.getVersion();t=(t=a.getUserData())?{voted:Bsa(Xi(t,2)),starred:Bsa(Xi(t,1)),notificationSubscription:Exa[t.getNotificationSubscription()],lastViewedTimeMicros:ek($i(t,mj,5))}:void 0;a?(z=void 0,a.hasSloStatus()&&(z=nva(a.getSloStatus())),w={voteCount:null!=(sb=a.getVoteCount())?sb:0,createdTimeMicros:ek(a.getCreatedTime()),resolvedTimeMicros:ek(a.getResolvedTime()),verifiedTimeMicros:ek(a.getVerifiedTime()),modifiedTimeMicros:ek(a.getModifiedTime()),lastModifier:wi(a.getLastModifier()),
sloId:xi(a.getSloId()),teamId:xi(a.getTeamId()),retentionState:pua(a.getRetentionState()),sloStatus:z}):w=void 0;sb={issueId:k,version:q,snapshot:c,userData:t,aggregatedData:w,accessLimit:Lua(a.getAccessLimit()),customFields:a.getCustomFieldsList().map(Xua),visibleFields:a.getVisibleFieldsList().map(Qua).filter(Bi),majorModifiedTimeMicros:ek(a.getMajorModifiedTime()),parentIssueIds:a.getParentIssueIdsList().map(String),ancestors:h,childIssueCount:null!=(Na=a.getChildIssueCount())?Na:0,descendantCount:null!=
(ja=a.getDescendantIssueCount())?ja:0,openDescendantCount:null!=(ya=a.getOpenDescendantIssueCount())?ya:0,isArchived:a.getIsArchived(),relatedLinks:a.getRelatedLinksList().map(mwa),trackerId:Asa(String(a.getTrackerId())),statusUpdate:a.getStatusUpdate()&&Qva(a.getStatusUpdate()),userActivityStats:a.getUserActivityStats()&&iwa(a.getUserActivityStats())};Hsa(b,sb);return sb}return b}}},Hxa=function(a){if(null!=a){var b=oua($i(a,mj,4));if(null==b)Xj("No modifiedDate. issueEventToJs");else{var c=!!Xi(a,
8);var d=a.getComment();d=null==d?{}:Gxa(gm(d));d=null!=d?d:{};var e=a.hasStatusUpdate()?cm(a.getStatusUpdate()):void 0;var f=gi(a,hm,2,hi());f=null==f?void 0:f.map(Kwa).filter(Bi);var h=gi(a,hm,3,hi());h=null==h?void 0:h.map(Kwa).filter(Bi);var k=gi(a,im,9,hi());k=null==k?void 0:k.map(axa).filter(Bi);var q=a.getAttachmentsList().map(nk).filter(Bi),t=Ki($i(a,Mi,5));t=Ai("<none>")(t);var w=Ji($i(a,Mi,5));return Object.assign({},d,{attachments:q,issueId:a.getIssueId_asString(),version:a.getVersion_asLegacyNumberOrString(),
modifiedDate:b,preDiffs:f,postDiffs:h,isMajorEvent:c,statusUpdate:e,taggedSummary:k,userPerformingAction:t,userPerformingActionUser:w})}}},Gxa=function(a){var b;return{version:a.version,unlinkifiedComment:a.unlinkifiedComment,commentNumber:a.commentNumber,commentVersion:a.version,commentLastModifiedAtDate:Csa(a.lastModified),commentRedacted:zi(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}},km=function(a){if(null!=a){var b=fm(a.getIssue());if(null==b)Xj("No issue. issueFetchResponseToJs");else return a=Hxa($i(a,jm,5)),{issue:b,firstEvent:a}}},Jxa=function(a){var b=new Ixa;b.setIssueIdsList(a.issueIds.map(String));b.setActionsList(a.actions.map(mxa));return b},Kxa=function(a){return{issueId:a.getIssueId_asString(),
message:a.getMessage()}},Mxa=function(a){var b={};var c=Kb(a,1,Ql,ub);c=l(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b[Number(d)]=fm(e)}c={};d=Kb(a,3,pl,ub);d=l(d.entries());for(e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;c[Number(e)]=ll(f)}a=gi(a,Lxa,2,hi());a=(null!=a?a:[]).map(Kxa);return{affectedIssues:b,componentMap:c,errors:a}},Nxa=function(a){var b;return(null!=(b=a.getIt().getIssueCommentsList())?
b:[]).map(Iva).map(Gxa)},Oxa=function(a){return{readTimestamp:kj(a,1)}},Pxa=function(a){a=a.getIt();var b=a.getIssueState(),c=b.getAccessLimit();b={type:Ova(b.getType()),status:Tva[b.getStatus()],priority:Uva[b.getPriority()],severity:Vva[b.getSeverity()],componentId:b.getComponentId_asLegacyNumberOrString(),accessLimitLevel:null!=c?Jua(c):null};return{issueId:String(a.getIssueId_asLegacyNumberOrString()),issueState:b,modifiedTime:ak(a.getModifiedTime()),teamId:a.getTeamId_asLegacyNumberOrString()}},
gm=function(a){return Iva(a.getIt())},Qxa=function(a){var b;return(null!=(b=a.getIssueCommentsList())?b:[]).map(gm)},Rxa=function(a){return Hva(null==a?void 0:a.getIt())},Sxa=function(a){var b=new lm,c=b.setIt;var d=(new mm).setIssueId(a.issueId);d=Rj(d,2,a.scope);d=Rj(d,4,a.scopeSortOrder).setMaxResults(a.maxResults);a=Rj(d,3,a.keyword);return c.call(b,a)},Txa=function(a){switch(a.formattingMode){case "LITERAL":return(0,W.of)({literalFormat:{content:gh(a.comment)}});case "MARKDOWN":return a={markdownFormat:{content:gh("")}},
(0,W.of)(a);case void 0:case "PLAIN":case "UNSPECIFIED_FORMATTING_MODE":return a={plainFormat:{plainSection:[{isQuoted:!1,content:gh(a.comment)}]}},(0,W.of)(a);default:return Nh(a.formattingMode,"Unknown formatting mode: "+a.formattingMode)}},nm=function(a,b){b=new W.BehaviorSubject(b);a.subscribe(b);return b},om=function(a){var b;a.subscribe(function(c){b=c}).unsubscribe();return b},pm=function(){return Te(function(a,b){return Th(a,b)})},Uxa=function(){return function(a){return a.pipe(B(function(b){return{event:b,
timestamp:Date.now()}}),Rja(a.pipe(Re(1E4,W.asapScheduler))))}},Vxa=function(a,b){if(b)1===a.nodeType&&Tra(a),a.innerHTML=hh(b);else for(;a.lastChild;)a.lastChild.remove()},Wxa=function(a){for(a=a.firstChild;a;){if(a.nodeType!==Node.TEXT_NODE)return!1;a=a.nextSibling}return!0},qm=function(a){return a.endsWith("px")?Math.floor(Number(a.substr(0,a.length-2))):Number.NaN},Xxa=function(a){return a.ctrlKey||a.metaKey||a.shiftKey||a.altKey},Yxa=function(a){if(a&1){var b=u();E(0,"div",2)(1,"button",3);M("click",
function(){v(b);var c=N();return x(c.action())});R(2);G()()}a&2&&(a=N(),y(2),$f(a.data.action))},Zxa=function(){},$xa=function(a){if(a&1){var b=u();E(0,"div",5);M("clickOutside",function(){v(b);var c=N();return x(c.hide())});E(1,"div",6);R(2," Relative link may be malformed:\u00a0 ");E(3,"code");R(4);G();E(5,"button",7);M("click",function(){v(b);var c=N();return x(c.copyToClipboard())});I(6,"mat-icon",8);G()();E(7,"div",6);R(8," Force open as: \u00a0 ");E(9,"a",9);M("click",function(c){v(b);var d=
N();Xxa(c)||(c.preventDefault(),c.stopPropagation(),rm(d.domSafe,"http://"+d.originalHref));return x()});R(10);G()()()}a&2&&(a=N(),y(4),$f(a.originalHref),y(5),Nf("href","http://",a.originalHref,"",Pd),y(),S(" http://",a.originalHref," "))},aya=function(){return{color:"accent",clickAction:"check-indeterminate"}},sm=function(a,b){return(null!=a?a:0)+(null!=b?b:0)},bya=function(a){return 0===a.length?0:a.reduce(sm)/a.length},cya=function(a,b){b=void 0===b?bya(a):b;if(0===a.length)return 0;a=a.map(function(c){return Math.pow(c-
b,2)}).reduce(sm)/(a.length-1);return Math.sqrt(a)},tm=function(a,b){if(5>a)return!1;if(!dya.get(b)){var c=bya(b),d=cya(b,c);dya.set(b,{mean:c,stdDev:d})}b=dya.get(b);return a-b.mean>2*b.stdDev},eya=function(){for(var a={},b=l(Object.entries(um)),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;1<d&&(a[c]=d)}return a},fya=function(){var a=Object.values(um),b=a.map(function(c){return c-1}).reduce(sm,0);a=a.reduce(sm,0);return{total:a,redundant:b,redundancyRatio:Math.round(b/
a*100)/100}},gya=function(a,b,c){var d=c.path.split("/");if(d.length>a.length||"full"===c.pathMatch&&(b.hasChildren()||d.length<a.length))return null;b={};for(c=0;c<d.length;c++){var e=d[c],f=a[c];if(e.startsWith(":"))b[e.substring(1)]=f;else if(e!==f.path)return null}return{consumed:a.slice(0,d.length),posParams:b}},vm=function(a,b){var c=a?hya(a):void 0,d=b?hya(b):void 0;if(!c||!d||c.length!=d.length)return!1;for(var e=0;e<c.length;e++)if(d=c[e],!iya(a[d],b[d]))return!1;return!0},hya=function(a){return[].concat(r(Object.keys(a)),
r(Object.getOwnPropertySymbols(a)))},iya=function(a,b){if(Array.isArray(a)&&Array.isArray(b)){if(a.length!==b.length)return!1;a=[].concat(r(a)).sort();var c=[].concat(r(b)).sort();return a.every(function(d,e){return c[e]===d})}return a===b},wm=function(a){return(0,W.isObservable)(a)?a:Ne(a)?(0,W.from)(Promise.resolve(a)):(0,W.of)(a)},lya=function(a,b,c){return jya[c.paths](a.root,b.root,c.matrixParams)&&kya[c.queryParams](a.queryParams,b.queryParams)&&!("exact"===c.fragment&&a.fragment!==b.fragment)},
mya=function(a,b){return vm(a,b)},oya=function(a,b,c){if(!xm(a.segments,b.segments)||!nya(a.segments,b.segments,c)||a.numberOfChildren!==b.numberOfChildren)return!1;for(var d in b.children)if(!a.children[d]||!oya(a.children[d],b.children[d],c))return!1;return!0},pya=function(a,b){return Object.keys(b).length<=Object.keys(a).length&&Object.keys(b).every(function(c){return iya(a[c],b[c])})},rya=function(a,b,c){return qya(a,b,b.segments,c)},qya=function(a,b,c,d){if(a.segments.length>c.length)return a=
a.segments.slice(0,c.length),xm(a,c)&&!b.hasChildren()&&nya(a,c,d)?!0:!1;if(a.segments.length===c.length){if(!xm(a.segments,c)||!nya(a.segments,c,d))return!1;for(var e in b.children)if(!a.children[e]||!rya(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 xm(a.segments,e)&&nya(a.segments,e,d)&&a.children.primary?qya(a.children.primary,b,c,d):!1},nya=function(a,b,c){return b.every(function(d,e){return kya[c](a[e].parameters,d.parameters)})},
sya=function(a,b){return xm(a,b)&&a.every(function(c,d){return vm(c.parameters,b[d].parameters)})},xm=function(a,b){return a.length!==b.length?!1:a.every(function(c,d){return c.path===b[d].path})},tya=function(a,b){var c=[];Object.entries(a.children).forEach(function(d){var e=l(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=l(d);d=e.next().value;e=e.next().value;"primary"!==d&&(c=c.concat(b(e,d)))});return c},wya=function(a){return a.segments.map(function(b){return uya(b.path)+
vya(b.parameters)}).join("/")},ym=function(a,b){if(!a.hasChildren())return wya(a);if(b){b=a.children.primary?ym(a.children.primary,!1):"";var c=[];Object.entries(a.children).forEach(function(d){var e=l(d);d=e.next().value;e=e.next().value;"primary"!==d&&c.push(d+":"+ym(e,!1))});return 0<c.length?b+"("+c.join("//")+")":b}b=tya(a,function(d,e){return"primary"===e?[ym(a.children.primary,!1)]:[e+":"+ym(d,!1)]});return 1===Object.keys(a.children).length&&null!=a.children.primary?wya(a)+"/"+b[0]:wya(a)+
"/("+b.join("//")+")"},xya=function(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")},yya=function(a){return xya(a).replace(/%3B/gi,";")},uya=function(a){return xya(a).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")},vya=function(a){return Object.entries(a).map(function(b){var c=l(b);b=c.next().value;c=c.next().value;return";"+uya(b)+"="+uya(c)}).join("")},zya=function(a){a=Object.entries(a).map(function(b){b=l(b);var c=
b.next().value;b=b.next().value;return Array.isArray(b)?b.map(function(d){return yya(c)+"="+yya(d)}).join("&"):yya(c)+"="+yya(b)}).filter(function(b){return b});return a.length?"?"+a.join("&"):""},Bya=function(a){return(a=a.match(Aya))?a[0]:""},Cya=function(a){var b={};return 0<a.segments.length?new zm([],(b.primary=a,b)):a},Dya=function(a){for(var b={},c=l(Object.entries(a.children)),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;e=Dya(e);if("primary"===d&&0===
e.segments.length&&e.hasChildren())for(d=l(Object.entries(e.children)),e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;b[e]=f}else if(0<e.segments.length||e.hasChildren())b[d]=e}a=new zm(a.segments,b);1===a.numberOfChildren&&a.children.primary&&(b=a.children.primary,a=new zm(a.segments.concat(b.segments),b.children));return a},Bm=function(a){return a instanceof Am},Eya=function(a){function b(f){for(var h={},k=l(f.children),q=k.next();!q.done;q=k.next()){q=q.value;
var t=b(q);h[q.outlet]=t}h=new zm(f.url,h);f===a&&(c=h);return h}var c,d=b(a.root);d=Cya(d);var e;return null!=(e=c)?e:d},Kya=function(a,b,c,d){for(var e=a;e.parent;)e=e.parent;if(0===b.length)return Fya(e,e,e,c,d);b=Gya(b);if(b.isAbsolute&&1===b.commands.length&&"/"==b.commands[0])return Fya(e,e,new zm([],{}),c,d);var f=e;if(b.isAbsolute)a=new Hya(f,!0,0);else if(a)if(null===a.parent)a=new Hya(a,!0,0);else{f=a;a=a.segments.length-1+(Iya(b.commands[0])?0:1);for(var h=b.numberOfDoubleDots;h>a;){h-=
a;f=f.parent;if(!f)throw new Ac(4005,!1);a=f.segments.length}a=new Hya(f,!1,a-h)}else a=new Hya(f,!1,NaN);b=a.processChildren?Cm(a.segmentGroup,a.index,b.commands):Jya(a.segmentGroup,a.index,b.commands);return Fya(e,a.segmentGroup,b,c,d)},Iya=function(a){return"object"===typeof a&&null!=a&&!a.outlets&&!a.segmentPath},Dm=function(a){return"object"===typeof a&&null!=a&&a.outlets},Fya=function(a,b,c,d,e){var f={};d&&Object.entries(d).forEach(function(h){var k=l(h);h=k.next().value;k=k.next().value;f[h]=
Array.isArray(k)?k.map(function(q){return""+q}):""+k});a=a===b?c:Lya(a,b,c);a=Cya(Dya(a));return new Am(a,f,e)},Lya=function(a,b,c){var d={};Object.entries(a.children).forEach(function(e){var f=l(e);e=f.next().value;f=f.next().value;d[e]=f===b?c:Lya(f,b,c)});return new zm(a.segments,d)},Gya=function(a){if("string"===typeof a[0]&&1===a.length&&"/"===a[0])return new Mya(!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(k){var q=
l(k);k=q.next().value;q=q.next().value;h[k]="string"===typeof q?q.split("/"):q});return[].concat(r(d),[{outlets:h}])}if(e.segmentPath)return[].concat(r(d),[e.segmentPath])}return"string"!==typeof e?[].concat(r(d),[e]):0===f?(e.split("/").forEach(function(k,q){if(0!=q||"."!==k)0==q&&""===k?c=!0:".."===k?b++:""!=k&&d.push(k)}),d):[].concat(r(d),[e])},[]);return new Mya(c,b,a)},Nya=function(a){if(Dm(a[0]))return a[0].outlets;var b={};return b.primary=a,b},Jya=function(a,b,c){null!=a||(a=new zm([],{}));
if(0===a.segments.length&&a.hasChildren())return Cm(a,b,c);a:{var d=a;for(var e=0,f=b,h={match:!1,pathIndex:0,commandIndex:0};f<d.segments.length;){if(e>=c.length){d=h;break a}var k=d.segments[f],q=c[e];if(Dm(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!=k.path||!vm(t,k.parameters)){d=h;break a}e+=2}else{t={};if(q!=k.path||!vm(t,k.parameters)){d=h;break a}e++}f++}d={match:!0,pathIndex:f,commandIndex:e}}e=c.slice(d.commandIndex);
return d.match&&d.pathIndex<a.segments.length?(b=new zm(a.segments.slice(0,d.pathIndex),{}),b.children.primary=new zm(a.segments.slice(d.pathIndex),a.children),Cm(b,0,e)):d.match&&0===e.length?new zm(a.segments,{}):d.match&&!a.hasChildren()?Oya(a,b,c):d.match?Cm(a,0,e):Oya(a,b,c)},Cm=function(a,b,c){if(0===c.length)return new zm(a.segments,{});var d=Nya(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=
Cm(a.children.primary,b,c),new zm(a.segments,c.children);Object.entries(d).forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;"string"===typeof h&&(h=[h]);null!==h&&(e[f]=Jya(a.children[f],b,h))});Object.entries(a.children).forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;void 0===d[f]&&(e[f]=h)});return new zm(a.segments,e)},Oya=function(a,b,c){for(var d=a.segments.slice(0,b),e=0;e<c.length;){var f=c[e];if(Dm(f))return a=Pya(f.outlets),new zm(d,a);if(0===e&&Iya(c[0]))d.push(new Em(a.segments[b].path,
Qya(c[0]))),e++;else{f=Dm(f)?f.outlets.primary:""+f;var h=e<c.length-1?c[e+1]:null;f&&h&&Iya(h)?(d.push(new Em(f,Qya(h))),e+=2):(d.push(new Em(f,{})),e++)}}return new zm(d,{})},Pya=function(a){var b={};Object.entries(a).forEach(function(c){var d=l(c);c=d.next().value;d=d.next().value;"string"===typeof d&&(d=[d]);null!==d&&(b[c]=Oya(new zm([],{}),0,d))});return b},Qya=function(a){var b={};Object.entries(a).forEach(function(c){var d=l(c);c=d.next().value;d=d.next().value;return b[c]=""+d});return b},
Rya=function(a,b){if(a===b.value)return b;b=l(b.children);for(var c=b.next();!c.done;c=b.next())if(c=Rya(a,c.value))return c;return null},Sya=function(a,b){if(a===b.value)return[b];for(var c=l(b.children),d=c.next();!d.done;d=c.next())if(d=Sya(a,d.value),d.length)return d.unshift(b),d;return[]},Fm=function(a){var b={};a&&a.children.forEach(function(c){return b[c.value.outlet]=c});return b},Tya=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[Gm]=d.title);return a},Uya=function(a,b){b.value._routerState=
a;b.children.forEach(function(c){return Uya(a,c)})},Vya=function(a){var b=0<a.children.length?" { "+a.children.map(Vya).join(", ")+" } ":"";return""+a.value+b},Wya=function(a){if(a.snapshot){var b=a.snapshot,c=a._futureSnapshot;a.snapshot=c;vm(b.queryParams,c.queryParams)||a.queryParamsSubject.next(c.queryParams);b.fragment!==c.fragment&&a.fragmentSubject.next(c.fragment);vm(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(!vm(d[f],e[f])){d=!1;break a}d=!0}}d||a.urlSubject.next(c.url);vm(b.data,c.data)||a.dataSubject.next(c.data)}else a.snapshot=a._futureSnapshot,a.dataSubject.next(a._futureSnapshot.data)},Xya=function(a,b){var c=vm(a.params,b.params)&&sya(a.url,b.url),d=!a.parent!==!b.parent;return c&&!d&&(!a.parent||Xya(a.parent,b.parent))},$ya=function(a,b,c){if(c&&a.shouldReuseRoute(b.value,c.value.snapshot)){var d=c.value;d._futureSnapshot=b.value;b=Yya(a,b,c);return new Hm(d,b)}d=Zya(b.value);
b=b.children.map(function(e){return $ya(a,e)});return new Hm(d,b)},Yya=function(a,b,c){return b.children.map(function(d){for(var e=l(c.children),f=e.next();!f.done;f=e.next())if(f=f.value,a.shouldReuseRoute(d.value,f.value.snapshot))return $ya(a,d,f);return $ya(a,d)})},Zya=function(a){return new Im(new W.BehaviorSubject(a.url),new W.BehaviorSubject(a.params),new W.BehaviorSubject(a.queryParams),new W.BehaviorSubject(a.fragment),new W.BehaviorSubject(a.data),a.outlet,a.component,a)},bza=function(a){var b=
Bm(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a,c=b.redirectTo;b=b.navigationBehaviorOptions;a=aza(0,a);a.url=c;a.navigationBehaviorOptions=b;return a},aza=function(a,b){var c=Error("pc`");c.ngNavigationCancelingError=!0;c.cancellationCode=a;b&&(c.url=b);return c},cza=function(a,b){a.providers&&!a._injector&&(a._injector=Mja(a.providers,b,"Route: "+a.path));var c;return null!=(c=a._injector)?c:b},dza=function(a){var b=a.children&&a.children.map(dza);a=b?Object.assign({},a,{children:b}):Object.assign({},
a);a.component||a.loadComponent||!b&&!a.loadChildren||!a.outlet||"primary"===a.outlet||(a.component=Jm);return a},Km=function(a){return a.outlet||"primary"},eza=function(a,b){var c=a.filter(function(d){return Km(d)===b});c.push.apply(c,r(a.filter(function(d){return Km(d)!==b})));return c},Lm=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},Mm=function(){return df(function(a){return(0,W.combineLatest)(a.map(function(b){return b.pipe(Ue(),cf(fza))})).pipe(B(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,!0!==c){if(c===fza)return fza;if(!1===c||c instanceof Am)return c}return!0}),Ce(function(b){return b!==fza}),Ue())})},Nm=function(a,b){var c=Symbol(),d=b.get(a,c);return d===c?"function"!==typeof a||null!==Pea(a)?b.get(a):a:d},Om=function(a,b,
c,d,e){e=void 0===e?{canDeactivateChecks:[],canActivateChecks:[]}:e;var f=Fm(b);a.children.forEach(function(h){var k=f[h.value.outlet],q=d.concat([h.value]),t=e;t=void 0===t?{canDeactivateChecks:[],canActivateChecks:[]}:t;var w=h.value,z=k?k.value:null,F=c?c.getContext(h.value.outlet):null;if(z&&w.routeConfig===z.routeConfig){var J=gza(z,w,w.routeConfig.runGuardsAndResolvers);J?t.canActivateChecks.push(new hza(q)):(w.data=z.data,w._resolvedData=z._resolvedData);w.component?Om(h,k,F?F.children:null,
q,t):Om(h,k,c,q,t);J&&F&&F.outlet&&F.outlet.isActivated&&t.canDeactivateChecks.push(new iza(F.outlet.component,z))}else z&&Pm(k,F,t),t.canActivateChecks.push(new hza(q)),w.component?Om(h,null,F?F.children:null,q,t):Om(h,null,c,q,t);delete f[h.value.outlet]});Object.entries(f).forEach(function(h){var k=l(h);h=k.next().value;k=k.next().value;return Pm(k,c.getContext(h),e)});return e},gza=function(a,b,c){if("function"===typeof c)return c(a,b);switch(c){case "pathParamsChange":return!xm(a.url,b.url);
case "pathParamsOrQueryParamsChange":return!xm(a.url,b.url)||!vm(a.queryParams,b.queryParams);case "always":return!0;case "paramsOrQueryParamsChange":return!Xya(a,b)||!vm(a.queryParams,b.queryParams);default:return!Xya(a,b)}},Pm=function(a,b,c){var d=Fm(a),e=a.value;Object.entries(d).forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;e.component?b?Pm(h,b.children.getContext(f),c):Pm(h,null,c):Pm(h,b,c)});e.component?b&&b.outlet&&b.outlet.isActivated?c.canDeactivateChecks.push(new iza(b.outlet.component,
e)):c.canDeactivateChecks.push(new iza(null,e)):c.canDeactivateChecks.push(new iza(null,e))},Qm=function(a){return"function"===typeof a},jza=function(a){return a instanceof W.EmptyError||"EmptyError"===(null==a?void 0:a.name)},mza=function(a,b){return ve(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,W.of)(Object.assign({},c,{guardsResult:!0})):kza(f,d,e,a).pipe(ve(function(k){return k&&"boolean"===
typeof k?lza(d,h,a,b):(0,W.of)(k)}),B(function(k){return Object.assign({},c,{guardsResult:k})}))})},kza=function(a,b,c,d){return(0,W.from)(a).pipe(ve(function(e){return nza(e.component,e.route,c,b,d)}),Xe(function(e){return!0!==e},!0))},lza=function(a,b,c,d){return(0,W.from)(b).pipe(ve(function(e){var f=W.concat;var h=e.route.parent;null!==h&&d&&d(new oza(h));h=(0,W.of)(!0);var k=e.route;null!==k&&d&&d(new pza(k));k=(0,W.of)(!0);return f.call(W,h,k,qza(a,e.path,c),rza(a,e.route,c))},1),Xe(function(e){return!0!==
e},!0))},rza=function(a,b,c){var d=b.routeConfig?b.routeConfig.canActivate:null;if(!d||0===d.length)return(0,W.of)(!0);d=d.map(function(e){return(0,W.defer)(function(){var f,h=null!=(f=Lm(b))?f:c,k=Nm(e,h);f=k&&Qm(k.canActivate)?k.canActivate(b,a):$c(h,function(){return k(b,a)});return wm(f).pipe(Xe())})});return(0,W.of)(d).pipe(Mm())},qza=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,W.defer)(function(){var f=e.guards.map(function(h){var k,q=null!=(k=Lm(e.node))?k:c,t=Nm(h,q);h=t&&Qm(t.canActivateChild)?t.canActivateChild(d,a):$c(q,function(){return t(d,a)});return wm(h).pipe(Xe())});return(0,W.of)(f).pipe(Mm())})});return(0,W.of)(b).pipe(Mm())},nza=function(a,b,c,d,e){var f=b&&b.routeConfig?b.routeConfig.canDeactivate:null;if(!f||0===f.length)return(0,W.of)(!0);f=f.map(function(h){var k,q=
null!=(k=Lm(b))?k:e,t=Nm(h,q);h=t&&Qm(t.canDeactivate)?t.canDeactivate(a,b,c,d):$c(q,function(){return t(a,b,c,d)});return wm(h).pipe(Xe())});return(0,W.of)(f).pipe(Mm())},tza=function(a,b,c){var d=b.canLoad;if(void 0===d||0===d.length)return(0,W.of)(!0);d=d.map(function(e){var f=Nm(e,a);e=f&&Qm(f.canLoad)?f.canLoad(b,c):$c(a,function(){return f(b,c)});return wm(e)});return(0,W.of)(d).pipe(Mm(),sza())},sza=function(){return(0,W.pipe)(ff(function(a){if(Bm(a))throw bza(a);}),B(function(a){return!0===
a}))},uza=function(a,b,c){var d=b.canMatch;if(!d||0===d.length)return(0,W.of)(!0);d=d.map(function(e){var f=Nm(e,a);e=f&&Qm(f.canMatch)?f.canMatch(b,c):$c(a,function(){return f(b,c)});return wm(e)});return(0,W.of)(d).pipe(Mm(),sza())},Rm=function(a){return(0,W.throwError)(new vza(a))},yza=function(a,b,c,d){var e=wza(a,b,c);if(!e.matched)return(0,W.of)(e);d=cza(b,d);return uza(d,b,c).pipe(B(function(f){return!0===f?e:Object.assign({},xza)}))},wza=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({},xza):{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};a=(b.matcher||gya)(c,a,b);if(!a)return Object.assign({},xza);var d={},e;Object.entries(null!=(e=a.posParams)?e:{}).forEach(function(h){var k=l(h);h=k.next().value;k=k.next().value;
d[h]=k.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:{}}},Cza=function(a,b,c,d){if(0<c.length&&zza(a,c,d)){var e=zm;a=new zm(c,a.children);c={};c.primary=a;a=l(d);for(d=a.next();!d.done;d=a.next())if(d=d.value,""===d.path&&"primary"!==Km(d)){var f=new zm([],{});c[Km(d)]=f}c={segmentGroup:new e(b,
c),slicedSegments:[]}}else if(0===c.length&&Aza(a,c,d)){b=zm;e=a.segments;f=a.children;var h={};d=l(d);for(var k=d.next();!k.done;k=d.next())if(k=k.value,Bza(a,c,k)&&!f[Km(k)]){var q=new zm([],{});h[Km(k)]=q}a=Object.assign({},f,h);c={segmentGroup:new b(e,a),slicedSegments:c}}else c={segmentGroup:new zm(a.segments,a.children),slicedSegments:c};return c},zza=function(a,b,c){return c.some(function(d){return Bza(a,b,d)&&"primary"!==Km(d)})},Aza=function(a,b,c){return c.some(function(d){return Bza(a,
b,d)})},Bza=function(a,b,c){return(a.hasChildren()||0<b.length)&&"full"===c.pathMatch?!1:""===c.path},Dza=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)})},Eza=function(a){return(a=a.value.routeConfig)&&""===a.path},Fza=function(a){var b=[],c=new Set;a=l(a);for(var d=a.next(),e={};!d.done;e={node$jscomp$148:void 0},d=a.next())e.node$jscomp$148=d.value,Eza(e.node$jscomp$148)?(d=b.find(function(f){return function(h){return f.node$jscomp$148.value.routeConfig===
h.value.routeConfig}}(e)),void 0!==d?(d.children.push.apply(d.children,r(e.node$jscomp$148.children)),c.add(d)):b.push(e.node$jscomp$148)):b.push(e.node$jscomp$148);a=l(c);for(e=a.next();!e.done;e=a.next())e=e.value,d=Fza(e.children),b.push(new Hm(e.value,d));return b.filter(function(f){return!c.has(f)})},Hza=function(a,b,c,d,e,f){return ve(function(h){return(new Gza(a,b,c,d,h.extractedUrl,void 0===f?"emptyOnly":f,e)).recognize().pipe(B(function(k){return Object.assign({},h,{targetSnapshot:k.state,
urlAfterRedirects:k.tree})}))})},Kza=function(a,b){return ve(function(c){var d=c.targetSnapshot,e=c.guards.canActivateChecks;if(!e.length)return(0,W.of)(c);var f=new Set(e.map(function(w){return w.route})),h=new Set;e=l(f);for(var k=e.next();!k.done;k=e.next())if(k=k.value,!h.has(k)){k=l(Iza(k));for(var q=k.next();!q.done;q=k.next())h.add(q.value)}var t=0;return(0,W.from)(h).pipe(ve(function(w){if(f.has(w))return Jza(w,d,a,b);w.data=Tya(w,w.parent,a).resolve;return(0,W.of)(void 0)},1),ff(function(){return t++}),
mka(),ve(function(){return t===h.size?(0,W.of)(c):W.EMPTY}))})},Iza=function(a){var b=a.children.map(function(c){return Iza(c)}).flat();return[a].concat(r(b))},Jza=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[Gm]=e.title);return Lza(f,a,b,d).pipe(B(function(h){a._resolvedData=h;a.data=Tya(a,a.parent,c).resolve;return null}))},Lza=function(a,b,c,d){var e=hya(a);if(0===e.length)return(0,W.of)({});var f={};return(0,W.from)(e).pipe(ve(function(h){return Mza(a[h],
b,c,d).pipe(Xe(),ff(function(k){f[h]=k}))}),mka(),Ye(f),Pe(function(h){return jza(h)?W.EMPTY:(0,W.throwError)(h)}))},Mza=function(a,b,c,d){var e,f=null!=(e=Lm(b))?e:d,h=Nm(a,f);a=h.resolve?h.resolve(b,c):$c(f,function(){return h(b,c)});return wm(a)},Nza=function(a){return df(function(b){var c=a(b);return c?(0,W.from)(c).pipe(B(function(){return b})):(0,W.of)(b)})},Sza=function(a,b,c){return wm(a.loadChildren()).pipe(B(Oza),ve(function(d){return d instanceof Pza||Array.isArray(d)?(0,W.of)(d):(0,W.from)(Promise.resolve(new Qza(d)))}),
B(function(d){c&&c(a);if(!Array.isArray(d)){var e=d.create(b).injector;d=e.get(Rza,[],{optional:!0,self:!0}).flat()}return{routes:d.map(dza),injector:e}}))},Oza=function(a){return a&&"object"===typeof a&&"default"in a?a["default"]:a},Vza=function(a,b,c){var d=a.get(Tza),e=a.get(Tg);return a.get(Ge).runOutsideAngular(function(){if(!e.startViewTransition||d.skipNextTransition)return d.skipNextTransition=!1,Promise.resolve();var f,h=new Promise(function(t){f=t}),k=e.startViewTransition(function(){f();
return Uza(a)}),q=d.onViewTransitionCreated;q&&$c(a,function(){return q({transition:k,from:b,to:c})});return h})},Uza=function(a){return new Promise(function(b){Fja(b,{injector:a})})},Wza=function(a,b){a.events.pipe(Ce(function(c){return c instanceof Sm||c instanceof Tm||c instanceof Um||c instanceof Vm}),B(function(c){return c instanceof Sm||c instanceof Vm?0:c instanceof Tm&&(0===c.code||1===c.code)?2:1}),Ce(function(c){return 2!==c}),Ue()).subscribe(function(){b()})},Xza=function(a){throw a;},
Wm=function(a,b){return{"\u0275kind":a,"\u0275providers":b}},Yza=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("/")},Zza=function(a){return a instanceof Sm},$za=function(a){return a instanceof Xm},aAa=function(a){return function(b){return new W.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()})})})}},bAa=function(a){a&1&&(E(0,"b-glue"),I(1,"mat-icon",5),G())},fAa=function(a){if(a&1){var b=u();E(0,"div",6);M("clickOutside",function(){v(b);var c=N();return x(c.hide())});E(1,"span",7)(2,"a",8);M("click",function(c){v(b);var d=N();return x(cAa(d,c))})("keydown",function(c){v(b);var d=N();return x(dAa(d,c))});R(3);G()();E(4,"button",9);M("keydown.Tab",function(c){v(b);var d=N();return x(eAa(d,c))})("click",function(){v(b);var c=
N();return x(c.copyToClipboard())});I(5,"mat-icon",10);G()()}a&2&&(a=N(),y(2),D("href",a.originalHref,Pd)("rel",a.EXTERNAL_LINK_REL),y(),$f(a.originalHref))},hAa=function(a){if(null==gAa){var b="undefined"!==typeof document?document.head:null;gAa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return gAa&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},iAa=function(a){if(a&1){var b=u();E(0,"div",0);M("clickOutside",function(){v(b);var c=
N();return x(c.closeHovercard$.next())})("mouseenter",function(){v(b);N().isOnHover$.next(!0);return x()})("mouseleave",function(){v(b);N().isOnHover$.next(!1);return x()});Mf(1);G()}a&2&&(a=N(),zf(a.className),D("cdkTrapFocusAutoCapture",a.wasTriggeredByKeyboard))},jAa=function(a){a&1&&(E(0,"div",4),Gf(1,5),G());a&2&&(a=N(),D("onedevIsHovercardReady",a.hovercardReady))},Ym=function(){return kAa.performance&&kAa.PerformanceObserver&&"function"===typeof window.performance.getEntriesByType&&"function"===
typeof window.performance.mark&&"function"===typeof window.performance.measure},lAa=function(a){var b=a.name;if(null!=b&&(a=Math.round(a.duration),!isNaN(a))){var c=l(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}}},nAa=function(a){a=a.sort(function(d,e){return d.startTime-e.startTime});var b=a.find(mAa);if(null!=b){var c=b.name.split(" -> ")[1];return a.find(function(d){return d.name===
c})}},rAa=function(){var a=window.performance.getEntries(),b=nAa(a);if(null==b)return[];var c=b.startTime;return a.filter(oAa).filter(pAa).filter(qAa).filter(function(d){return d.startTime<=c})},mAa=function(a){var b=a.name;return"measure"===a.entryType&&0===b.indexOf("browserStart")},oAa=function(a){return 0!==a.name.indexOf("Zone")},qAa=function(a){return"resource"===a.entryType},sAa=function(a){return"xmlhttprequest"===a.initiatorType},pAa=function(a){return null==a.name.match(/\.html$/)},tAa=
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}},uAa=function(){return"function"===typeof Zm.gtag},vAa=function(a){if(null!=a&&!(3E4<=a.duration))return{hitType:"event",eventCategory:"cf",eventAction:a.from,eventLabel:a.to,eventValue:a.duration}},yAa=function(a){a=a.getEntries().map(lAa).map(vAa);a=l(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;if(c&&c.hitType){b=
c.hitType;var d=c.eventAction;var e=c.eventCategory,f=c.eventLabel;c=c.eventValue;d=Object.assign({},void 0!==d?{event_action:d}:{},void 0!==e?{event_category:e}:{},void 0!==f?{event_label:f}:{},void 0!==c?{event_value:c}:{});wAa(b,d)}}setTimeout(xAa,100)},xAa=function(){if(!zAa){var a=rAa(),b=a.filter(function(c){return!sAa(c)}).reduce(tAa,AAa());$m("r-until-cf","asset","count",b.count);$m("r-until-cf","asset","transferSize",b.transferSize);$m("r-until-cf","asset","duration",b.duration);$m("r-until-cf",
"asset","cacheHitRate",b.cacheHitRate);a=a.filter(sAa).reduce(tAa,AAa());$m("r-until-cf","xhr","count",a.count);$m("r-until-cf","xhr","transferSize",a.transferSize);$m("r-until-cf","xhr","duration",a.duration);zAa=!0}},$m=function(a,b,c,d){wAa(a,Object.assign({},void 0!==b?{event_action:b}:{},void 0!==c?{event_label:c}:{},void 0!==d?{event_value:d}:{}))},wAa=function(a,b){null!=b&&(BAa("page_location","Scrubbed Page URL"),BAa("page_title","Scrubbed Page Title"),uAa()&&Zm.gtag("event",a,b),CAa&&Wj("[stub gtag.ts] gtag('event')",
a,b))},bn=function(a,b){an(a,b)},BAa=function(a,b){if(uAa()){var c={};Zm.gtag("set",(c[a]=b,c))}CAa&&Wj("[stub gtag.ts] gtag('set', {"+a+": "+b+")}")},an=function(a,b){if(uAa()){var c={};Zm.gtag("set","user_properties",(c[a]=b,c))}CAa&&Wj("[stub gtag.ts] gtag('set', 'user_properties', {"+a+": "+b+")}")},dn=function(a,b){return cn("issues/:issueId",{id:a,params:b})},DAa=function(a,b){return cn("issues/:issueId/dependencies",{id:a,params:b})},fn=function(a){return en("issues",{params:a})},EAa=function(a){return a&&
a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},FAa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},GAa=function(a,b){return cn("components/:componentId/manage",{id:a,tab:b})},HAa=function(a){return a?en("settings/:settingsTab?",{id:a,token:":settingsTab?"}):en("settings")},cn=function(a,b){b=void 0===b?{}:b;return null==b.id?"":en(a,b)},en=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=IAa(f,d));e&&(f=f+"#"+e);return f},gn=function(a){return new Yh(a.year,a.month-1,a.day)},hn=function(a){return{month:a.getMonth()+1,day:a.getDate(),year:a.getFullYear()}},JAa=function(a){return!(!a||null==a.day||null==a.month||null==a.year)},jn=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},kn=function(a){a=
jn(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},KAa=function(a){return a?hn($h(a)):null},LAa=function(a){return a?(a=Pk(a),isNaN(a)?null:a):null},ln=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 "TYPE_UNSPECIFIED":return"";default:return""}},nn=function(a,b,c,d){return{status:a,displayValue:mn[a],open:b,assigneeRequirement:c,sortOrder:d}},on=function(a){return a?1E3*a.seconds+a.nanos/1E6:0},pn=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":""))+")"},MAa=function(a){if(a){var b=new qn;b.setTime(a.getTime());return b}},NAa=function(a){if(null!=a)return new Date(a.year,a.month-1,a.day)},OAa=function(a){if(null==a)return"";var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});return(new Date).getFullYear()===a.getFullYear()?b.split(", ")[0]:b},PAa=function(a){a&1&&(E(0,"span",6),R(1),G());a&2&&(a=N(),y(),$f(a.data.message))},QAa=function(a){a&1&&I(0,"span",7);a&2&&(a=N(),D("innerHtml",a.data.htmlMessage,
Od))},SAa=function(a){if(a&1){var b=u();E(0,"button",8);M("click",function(){v(b);var c=N();return x(RAa(c.snackBarRef))});R(1);G()}a&2&&(a=N(),y(),S(" ",a.data.actionLabel," "))},TAa=function(a){if(a&1){var b=u();E(0,"button",8);M("click",function(){v(b);var c=N();return x(c.snackBarRef.dismiss())});R(1);G()}a&2&&(a=N(),y(),S(" ",a.data.dismissLabel," "))},UAa=function(a){if(a&1){var b=u();E(0,"button",9);M("click",function(){v(b);var c=N();return x(c.snackBarRef.dismiss())});I(1,"mat-icon",10);
G()}},rn=function(a){return"string"===typeof a?"buganizer.drafts."+a:"buganizer.drafts.labeled."+a.label},VAa=function(a){if(a&1){var b=u();E(0,"button",5);M("click",function(){v(b);var c=N();return x(c.dialogRef.close(!1))});R(1);G()}a&2&&(a=N(),y(),S(" ",a.cancelButtonText," "))},WAa=function(a){var b=[];a=[].concat.apply([],r(a.map(function(e){return e.actions})));a=l(a);for(var c=a.next(),d={};!c.done;d={action$jscomp$33:void 0},c=a.next())d.action$jscomp$33=c.value,b.some(function(e){return function(f){return Th(e.action$jscomp$33,
f)}}(d))||b.push(d.action$jscomp$33);return b},XAa=function(a){return Array.from(new Set([].concat.apply([],r(a.map(function(b){return b.issueIds})))))},YAa=function(a){var b;return void 0!==(null==(b=a.error)?void 0:b.message)},sn=function(a){return!!a&&za(a)&&(!!a.data&&void 0!==a.data.message||YAa(a))},tn=function(a){return a.data&&void 0!==a.data.message&&a.data&&a.data.message?a.data.message:YAa(a)&&a.error&&a.error.message?a.error.message:""},un=function(){return new ZAa},$Aa=function(a){if(a)return{status:Tva[a.getStatus()],
issueIds:a.getIssueIdsList_asLegacyNumberOrString().map(yi).filter(Bi)}},aBa=function(a){if(a)return{priority:Uva[a.getPriority()],issueIds:a.getIssueIdsList_asLegacyNumberOrString().map(yi).filter(Bi)}},bBa=function(){},cBa=function(a){return 0<Object.values(a).length},dBa=function(a,b){a.next(Object.freeze(Object.assign({},a.getValue(),b)))},eBa=function(a,b){var c=a.getValue();c=Object.assign({},c);b=(delete c[b],c);a.next(Object.freeze(b))},fBa=function(a,b){var c=a.getValue(),d={};c=l(Object.entries(c));
for(var e=c.next();!e.done;e=c.next()){var f=l(e.value);e=f.next().value;f=f.next().value;b.includes(e)||(d[e]=f)}a.next(Object.freeze(d))},gBa=function(a){var b=Object.assign({},a);a=a.ids;b=(delete b.ids,b);a&&(b.ids=[].concat(r(a)).sort());return JSON.stringify(b)},hBa=function(a,b,c){c=a.get(b)||c;a.has(b)||a.set(b,c);return c},iBa=function(a){a=void 0===a?{}:a;return hsa(a)},jBa=function(a){var b=new W.Subject,c=a.subscribe(b);a=(0,W.firstValueFrom)(b);a.finally(function(){c.unsubscribe()});
return a},kBa=function(a){return null==a?new Promise(function(){}):Promise.resolve(a)},lBa=function(){return new Promise(function(){})},oBa=function(a){return{experimentId:a.getExperimentId(),state:mBa[a.getState()],userGroup:nBa[cj(a,3,0)],title:a.getTitle(),description:a.getDescription(),learnMoreLink:Zi(a,6)}},pBa=function(a){a=si(a,1,hi());return{changelistNumbers:null!=a?a:[]}},sBa=function(a){return{changelists:gi(a,qBa,1,hi()).map(rBa),nextPageToken:a.getNextPageToken()}},rBa=function(a){var b,
c=a.getAuthor(),d=a.getChangelistNumber(),e=a.getPending(),f=ak(a.getTimestamp()),h=null!=(b=a.getIssueIdsList())?b:[];a=Ij(a,6,hi());return{author:c,changelistNumber:d,pending:e,timestamp:f,issueIds:h,fixedIssueIds:null!=a?a:[]}},tBa=function(a){var b=a.getAuthor(),c=a.getDescription(),d=a.getPending(),e=a.getTimestamp_asLegacyNumberOrString();a=ri(a,5,hi());return{author:b,description:c,pending:d,timestamp:e,affectedFiles:null!=a?a:[]}},vn=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,"+")},uBa=function(a){if(a)return{accessLevel:Kua[a.getAccessLevel()]}},wn=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("Jc`"+a);}},xn=function(a){return!a||"0"===a},vBa=function(a){return vwa($i(a,ql,1))},wBa=function(a){return(gi(a,ql,1,hi())||[]).map(vwa)},xBa=function(a){var b=a.getIssuesList();if(b){var c=[];b=l(b);for(var d=b.next();!d.done;d=b.next())(d=d.value)&&(d=fm(d))&&c.push(d)}else c=[];b=a.getNumTotalResults();var e=Jb(a,4,Xba);if(void 0!==e){d={};e=l(e.entries());
for(var f=e.next();!f.done;f=e.next()){var h=l(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()}},yBa=function(a){var b={};if(null==a)return b;a=gi(a,yn,1,hi());a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getResource(),e={admin:!1,writer:!1,appender:!1,reader:!1};b[d]=b[d]||e;switch(c.getRelation()){case 1:b[d].admin=!0;break;case 2:b[d].writer=!0;break;case 3:b[d].appender=
!0;break;case 4:b[d].reader=!0}}return b},zBa=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})},ABa=function(a){return a},An=function(a){return zn(a,ABa)},zn=function(a,b){var c={};return a.filter(function(d){d=String(b(d));return c[d]?!1:c[d]=!0})},BBa=function(a){return function(b){return zn(b,a)}},CBa=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},DBa=function(a,b){if(a.length!==b.length)return!1;a=[].concat(r(a)).sort();b=[].concat(r(b)).sort();return a.every(function(c,d){return c===b[d]})},EBa=function(a,b){if(0===a.length)return b;b=b.slice();b=CBa(a,b);return[].concat(r(a),r(b))},FBa=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)})}},GBa=function(a,b){var c=new Map;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=
d.value;var e=b(d),f=void 0,h=null!=(f=c.get(e))?f:[];h.push(d);c.set(e,h)}return[].concat(r(c.values()))},HBa=function(a){for(var b=[],c=0;c<a.length;c+=100)b.push(a.slice(c,c+100));return b},IBa=function(a){return null==a?{closed:0,total:0}:{closed:a.descendantCount-a.openDescendantCount,total:a.descendantCount}},JBa=function(a,b){if(null==a)return 0;var c=0;a=l(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},
KBa=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.changelists)?void 0:b.length)?c:0},LBa=function(a){if(null==a)return[];a=[].concat(r(a.assignees.map(function(b){return b.emailAddress})),r(a.collaborators.map(function(b){return b.emailAddress})),r(a.verifiers.map(function(b){return b.emailAddress})),r(a.reporters.map(function(b){return b.emailAddress})));return An(a).filter(Bi)},MBa=function(a,b){var c;a=null==(c=a.componentPathInfo)?void 0:c.allCustomField;if(!a)return!0;c=l(a);
var d=c.next();for(a={};!d.done;a={customField$jscomp$9:void 0},d=c.next())if(a.customField$jscomp$9=d.value,a.customField$jscomp$9.required){d=!!a.customField$jscomp$9.typedDefaultValue;var e=void 0,f=void 0,h=null==(e=b)?void 0:null==(f=e.snapshot.customField)?void 0:f.some(function(k){return function(q){return q.customFieldId===k.customField$jscomp$9.customFieldId}}(a));if(!d&&!h)return!1}return!0},OBa=function(a){return null==a?!1:NBa.has(a.name)},PBa=function(a){return"hotlist"===(null==a?void 0:
a.name)},QBa=function(a){return null==a?!1:null!=a.href&&null!=a.value},RBa=function(a){return Array.isArray(a)?a.every(QBa):!1},Bn=function(a){return!!a&&SBa.test(a)&&!TBa.test(a)},WBa=function(a){a=void 0===a?"":a;return!UBa(a)||a.endsWith("-robots@google.com")||VBa(a)},VBa=function(a){return XBa.some(function(b){return a.endsWith(b)})},UBa=function(a){return!a.endsWith("@prod.google.com")&&!a.endsWith("@appspot.gserviceaccount.com")},Cn=function(a){return!(null==a||!a.commentNumber)},Dn=function(a){var b;
return 0<(null==(b=a.attachments)?void 0:b.length)},YBa=function(a,b){return Object.assign({},a,{commentRedacted:b.redacted,unlinkifiedComment:b.unlinkifiedComment})},ZBa=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(r(a.slice(0,d)),[c],r(a.slice(d+1)))},$Ba=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.snapshot)?void 0:c[0]},aCa=function(a){var b;return Gi(null==(b=En(a))?
void 0:b.assigneeUser)||void 0},bCa=function(a){if(null==a)return"";var b,c,d,e,f=a.etag,h=a.piiRetention;var k=a.piiRetentionState;k=null==k?"":[JSON.stringify(k.retentionPeriod),JSON.stringify(k.scheduledDeletionTime)].join("-");return[f,h,k,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("-")},cCa=function(a){if(null==a)return"";var b=a.attachments.map(bCa).join("-"),c=[];if(a.commentReactions&&
0<a.commentReactions.size){var d,e=l(null==(d=a.commentReactions)?void 0:d.entries());for(d=e.next();!d.done;d=e.next()){var f=l(d.value);d=f.next().value;f=f.next().value;c.push(d+"-"+f.count)}}c=c.join("-");var h,k;return[a.modifiedDate,a.version,"["+b+"]",a.preDiffs.length,a.postDiffs.length,a.commentVersion,null==(h=a.commentContentVerdict)?void 0:null==(k=h.piiVerdict)?void 0:k.severity,a.commentDeletionStatus,a.commentRetention,"["+c+"]"].join("-")},dCa=function(a){return a.map(function(b){return b.commentNumber}).filter(Bi).reduce(function(b,
c){return Math.max(b,c)},1)},eCa=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||cCa(d)!==cCa(e)))return!1}return!0},Gn=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=Fn[a])?void 0:d.open)?e:!1},fCa=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=Fn[a];return null==b?!1:!(null==b?0:b.open)},gCa=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)},Hn=function(a){return null==a.isArchived?!1:!a.isArchived},iCa=function(){var a=In;return Ei(function(b){var c,d;return null!=(d=hCa[null==(c=a(b))?void 0:c.snapshot[0].status])?d:0},Fi)},jCa=function(){var a=
In;return Ei(function(b){var c,d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].assigneeUser)?void 0:d.emailAddress},Fsa)},kCa=function(){var a=In;return Ei(function(b){var c;return null==(c=a(b))?void 0:c.snapshot[0].type},Fsa)},lCa=function(){var a=In;return Ei(function(b){var c,d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].reporterUser)?void 0:d.emailAddress},Fsa)},mCa=function(){var a=In;return Ei(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},Fi)},nCa=function(){var a=In;return Ei(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},Fi)},oCa=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"},qCa=function(){var a=In;return Ei(function(b){return pCa[oCa(a(b))]},Fi)},Jn=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.snapshot)?
void 0:c[0]},En=function(a){var b;return null==a?void 0:null==(b=a.snapshot)?void 0:b[0]},rCa=function(a,b){var c=En(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(r(b.map(function(e){return e.userPerformingActionUser})));return zn(a.filter(Bi),Ki)},sCa=function(a,b){b=rCa(a,b);var c,d,e;a=null!=(e=null==(c=En(a))?void 0:null==(d=c.ccUsers)?void 0:d.length)?e:0;return b.length+a},tCa=function(a){var b;
return"piper-bugupdater@prod.google.com"===(null==a?void 0:null==(b=a.userPerformingActionUser)?void 0:b.emailAddress)},uCa=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})}},wCa=function(a,b,c){b=vCa.get(c)||new Set(c.map(function(e){return e.issueId}));vCa.set(c,b);var d;a=l(null!=(d=a.parentIssueIds)?d:[]);for(d=a.next();!d.done;d=a.next())if(b.has(d.value))return!1;return!0},
yCa=function(a,b){xCa.get(b)||xCa.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=l(xCa.get(b));b=c.next().value;var d=c.next().value;c=c.next().value;return tm(b[a],b)||tm(d[a],
d)||tm(c[a],c)},zCa=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},ACa=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"}},BCa=function(a){var b=a.newEditors,c=a.newImplicitUsers,
d=a.isExternalSession,e=a.issueId,f=a.actionIssueId;a=zCa(a.userPrincipals);return{title:"Allow "+(1===a?"members of the group to ":ACa(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)+"."}},CCa=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)})},DCa=function(a,
b){var c=[];a=l(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},ECa=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";default:return"link"}},FCa=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";default:return"link"}},Kn=function(a,b){b=(void 0===b?{}:b).comment;return{path:"/issues/"+a,fragment:b?"comment"+b:void 0}},Ln=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},GCa=function(a){var b={};a=(b.component=a?String(a):void 0,
b);a=void 0===a?{}:a;return{path:"/issues/new",queryParams:a}},HCa=function(a){return{path:"/components/"+a}},ICa=function(a){var b={};a&&(b.componentId=a);return{path:"/components",queryParams:b}},JCa=function(a){return{path:"/slos/"+a+"/edit"}},KCa=function(a){for(var b={},c=l(a.keys),d=c.next();!d.done;d=c.next()){d=d.value;var e=a.getAll(d);b[d]=1<e.length?e:e[0]}return b},MCa=function(a){return"CUSTOM_FIELD"===a.type?[LCa[Eta[a.type]],a.customFieldId].join(":"):LCa[Eta[a.type]]},OCa=function(a){return a.includes(":")?
(a=l(a.split(":")),a.next(),a=a.next().value,{type:"CUSTOM_FIELD",customFieldId:Pk(a)}):{type:lta[NCa[a]]}},PCa=function(a){var b;null==a?a=void 0:(a=ri(a,1,hi()),a=null==a?void 0:a.map(OCa));return null!=(b=a)?b:[]},QCa=function(a){var b=l(a.trim().split(" ")),c=b.next().value;a=b.next().value;Be(b);b=OCa(c);c="DESCENDING";"asc"===a&&(c="ASCENDING");return{field:b,direction:c}},RCa=function(a){return MCa(a.field)+" "+("ASCENDING"===a.direction?"asc":"desc")},SCa=function(a){var b=new Mn,c=b.setIt,
d,e,f,h,k,q=(new Nn).setHotlistId(a.hotlistId).setName(a.name).setDescription(a.description).setArchived(a.archived).setDefaultOrderBy((null!=(f=a.sortOrder)?f:[]).map(RCa).join(","));f=q.setDisplayPreferences;var t=new On,w=null!=(h=null==(d=a.displayColumn)?void 0:d.map(MCa))?h:[];d=Lb(t,1,w,rb);q=f.call(q,d).setCreatedTime(dk(a.createdTimeMicros)).setModifiedTime(dk(a.modifiedTimeMicros)).setOwnersList(null!=(k=null==(e=a.adminUsers)?void 0:e.map(vi))?k:[]);void 0!==a.etag&&(e=q.setEtag,a=a.etag,
a=a.length?new Da(kaa(a,!0),Ea):Ca(),e.call(q,a));return c.call(b,q)},Pn=function(a){a=a.getIt();if(!a.getHotlistId_asLegacyNumberOrString())throw Error("Mc");if(!a.getName())throw Error("Nc");if(!a.getCreatedTime())throw Error("Oc");if(!a.getModifiedTime())throw Error("Pc");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:ek(a.getCreatedTime()),modifiedTimeMicros:ek(a.getModifiedTime()),
displayColumn:PCa(a.getDisplayPreferences()),sortOrder:a.getDefaultOrderBy().split(",").filter(Boolean).map(QCa),etag:Dua(a.getEtag())||void 0,adminUsers:null!=(e=null==(b=a.getOwnersList())?void 0:b.map(wi))?e:[]}},TCa=function(a){a=gi(a,Mn,1,hi());return(null!=a?a:[]).map(Pn)},VCa=function(a){a=a.getFavorite();return{user:Ji(a.getUser()),resourceType:UCa[a.getResourceType()],resourceId:Number(a.getResourceId_asString()),name:a.getName()}},WCa=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(QCa),displayColumn:PCa(a.getDisplayPreferences()),adminUsers:(null!=(b=a.getOwnersList())?b:[]).map(wi)}},XCa=function(a){a=gi(a,Qn,1,hi());return(null!=a?a:[]).map(WCa)},YCa=function(a){return{id:a.getId_asString(),name:a.getName(),description:a.getDescription(),adminUsers:Msa(a.getAdminUsersList()),starred:a.getStarred(),resourceType:a.getResourceType()}},ZCa=function(a){var b=
a.getId_asString(),c=a.getName(),d=a.getDescription(),e=Msa(a.getAdminUsersList()),f=a.getStarred();a=gi(a,Rn,6,hi());return{id:b,name:c,description:d,adminUsers:e,starred:f,sublinks:(null!=a?a:[]).map(YCa)}},$Ca=function(a){var b,c=(null!=(b=a.getHotlistsList())?b:[]).map(YCa);b=gi(a,Sn,2,hi());b=(null!=b?b:[]).map(ZCa);var d=gi(a,Rn,3,hi());d=(null!=d?d:[]).map(YCa);a=gi(a,Sn,4,hi());return{hotlists:c,bookmarkGroups:b,archivedHotlists:d,archivedBookmarkGroups:(null!=a?a:[]).map(ZCa)}},bDa=function(){var a=
window.defrostedResourcesJspb;if(a&&Array.isArray(a)&&(a=new aDa(a),(a=gi(a,Tn,1,hi()))&&1===a.length))return km(a[0])},gDa=function(){var a=void 0===a?$m:a;var b=Date.now(),c=Un(b);Un(cDa())!==c?a("retention","first-visit"):(c=Un(b),Un(cDa())===c&&1===dDa()&&a("retention","second-visit"));a=Un(b);Un(cDa())!==a?eDa(1):(a=dDa()||0,eDa(a+1));fDa(b)},Un=function(a){if(null!=a)return(new Date(a)).toLocaleDateString()},hDa=function(){return Vc.apply(0,arguments).map(String).join("__")},iDa=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},jDa=function(a){var b=Object.assign({},a);a=a.issue;b=(delete b.issue,b);return Object.assign({},b,{issueId:a.issueId})},kDa=function(a){var b=new Vn;b=Qj(b,1,Number(a.targetIssueId));return Qj(b,2,a.afterIssueId?Number(a.afterIssueId):void 0)},Wn=function(a){return{targetIssueId:String(kj(a,1)),afterIssueId:kj(a,2)?
String(kj(a,2)):void 0}},lDa=function(a){return{sourceIssueId:kj(a,3),issueRelationships:a.getIssueRelationshipsList().map(Wn),totalSize:a.getTotalSize()}},mDa=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)}},nDa=function(a){function b(){var e,f,h,k;return ke(function(q){if(1==q.nextAddress){if(d||0===c.length)return q.return();d=!0;e=[].concat(r(c));c=[];f=l(e);h=f.next()}if(3!=q.nextAddress){if(h.done)return d=
!1,me(q,b(),0);k=h.value;return me(q,a.apply(null,r(k.args)).then(k.returnValue.resolve).catch(k.returnValue.reject),3)}h=f.next();return q.jumpTo(2)})}var c=[],d=!1;return function(){var e=Vc.apply(0,arguments),f=new ZAa;c.push({args:e,returnValue:f});b();return f.promise}},oDa=function(a){var b=!1;return function(){var c=Vc.apply(0,arguments);if(!b)return b=!0,a.apply(null,r(c))}},pDa=function(a){var b=[];a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;
d=d.next().value;b.push({issueId:c,relatedChildren:d.issueRelationships,totalChildCount:d.totalSize})}return b},qDa=function(a){return!(null==a||!a.relatedChildren.length)},sDa=function(a,b){var c=[].concat(r(a));a=new Set(a.map(function(h){return h.targetIssueId}));b=l(b);for(var d=b.next(),e={};!d.done;e={newItem$jscomp$6:void 0},d=b.next())if(e.newItem$jscomp$6=d.value,!a.has(e.newItem$jscomp$6.targetIssueId)){d=c.findIndex(function(h){return function(k){return k.targetIssueId===h.newItem$jscomp$6.afterIssueId}}(e));
var f=void 0;f=e.newItem$jscomp$6.afterIssueId?-1===d?c.length:d+1:0;c.splice(f,0,e.newItem$jscomp$6);a.add(e.newItem$jscomp$6.targetIssueId)}return rDa(c)},tDa=function(a,b){return rDa(a.filter(function(c){return c.targetIssueId!==b}))},rDa=function(a){for(var b=[],c=l(a.entries()),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;var f=e.next().value;e=void 0;d=Object.assign({},f,{afterIssueId:null==(e=a[d-1])?void 0:e.targetIssueId});b.push(d)}return b},uDa=function(a){var b=new Map;
a=l(a);for(var c=a.next(),d={};!c.done;d={previousOperation:void 0},c=a.next()){var e=c.value;c=e.issues.map(function(f){return f.issueId}).join(",");d.previousOperation=b.get(c);d.previousOperation?(e={newParentId:e.newParentId,newRelations:e.newRelations,issues:d.previousOperation.issues,eventTimestamps:[].concat(r(d.previousOperation.eventTimestamps),r(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(r(b.values()));a=l(b);d=a.next();for(c={};!d.done;c={operation$jscomp$5:void 0},d=a.next())c.operation$jscomp$5=d.value,c.operation$jscomp$5.newRelations=c.operation$jscomp$5.newRelations.map(function(f){return function(h){return f.operation$jscomp$5.newParentChildrenSnapshot.find(function(k){return k.targetIssueId===h.targetIssueId})}}(c));return b.sort(function(f,h){var k=f.newParentChildrenSnapshot,q=h.newParentChildrenSnapshot;f=Math.min.apply(Math,
r(f.issues.map(function(t){return k.findIndex(function(w){return w.targetIssueId===t.issueId})})));h=Math.min.apply(Math,r(h.issues.map(function(t){return q.findIndex(function(w){return w.targetIssueId===t.issueId})})));return f===h?0:f<h?-1:1})},wDa=function(a){return a.getResponsesList().map(function(b){return gi(b,Xn,1,hi()).map(vDa)}).flat().filter(function(b){return 0<b.signals.length})},vDa=function(a){var b=a.getTask();if(b){var c={taskId:b.getTaskId(),taskResourceType:xDa(cj(b,2,0)),title:b.getTitle(),
createdTimestamp:ak(b.getCreatedTimestamp()),lastModifiedTimestamp:ak(b.getLastModifiedTimestamp()),externalLink:b.getExternalLink()};b.hasDriveResource()?(b=b.getDriveResource(),b={fileType:yDa[cj(b,1,0)],lastMentionTimestamp:ak($i(b,mj,2)),lastMentionLink:Zi(b,4),docwrapRequestTimestamp:ak($i(b,mj,3)),docwrapRequestLink:Zi(b,5)},c.driveResource=b):Wk(b,Yn,9,zDa)&&(b=Ak(b,Yn,9,zDa),b={priority:Uva[b.getPriority()],accessLevel:Kua[b.getAccessLevel()],hotlistIds:b.getHotlistIdsList()},c.issueResource=
b)}else c=void 0;return{task:c,signals:a.getSignalsList().map(ADa).filter(Bi)}},ADa=function(a){var b={timestamp:ak(a.getTimestamp()),url:Jta(a.getUrl())};if(Wk(a,Zn,3,$n)){a=Ak(a,Zn,3,$n);var c={signal:BDa[a.getSignal()]};CDa.has(c.signal)?(null!=ao(a,2,DDa)&&(c.commentId=a.getCommentId()),a=c):a=null;if(!a)return null;b.driveAlert=a}else if(Wk(a,bo,5,$n)){c=Ak(a,bo,5,$n);a={signal:EDa[c.getSignal()]};if(CDa.has(a.signal)){ji(c,ck,4)&&(a.reviewEstimate=nua($i(c,ck,4)));c=$i(c,FDa,5);var d=null==
c?void 0:Ak(c,GDa,2,HDa);c=d?{currentAvailability:{comeBackTimestamp:ak(d.getComeBackTimestamp())}}:(c=null==c?void 0:Ak(c,IDa,1,HDa))?{futureAvailability:{comeBackTimestamp:ak(c.getComeBackTimestamp()),futureOooTimestamp:ak($i(c,mj,1))}}:void 0;a.clAuthorAvailability=c}else a=null;if(!a)return null;b.changelistAlert=a}else if(Wk(a,co,4,$n)){c=Ak(a,co,4,$n);a={signal:JDa[c.getSignal()]};if(c=c.getCommentNumbers())c=si(c,1,hi()),0<c.length&&(a.commentNumbers=c);b.issueAlert=a}return b},xDa=function(a){switch(a){case 1:return"CHANGELIST";
case 2:return"DRIVE";case 3:return"ISSUE";case 4:return"LAUNCH";default:return"TASK_RESOURCE_TYPE_UNSPECIFIED"}},KDa=function(a){switch(a){case "CHANGELIST":return 1;case "DRIVE":return 2;case "ISSUE":return 3;case "LAUNCH":return 4;default:return 0}},SDa=function(a){var b=a.getResponsesList().map(function(d){return d.getTasksList()}).flat();a=a.getResponsesList().map(function(d){return gi(d,LDa,2,hi())}).flat();var c=MDa(a);return b.map(function(d){var e,f,h=d.getTaskId();var k=d.getResource();if(k){var q;
var t={resourceId:k.getResourceId(),source:"TASK_SOURCE_UNSPECIFIED",title:k.getTitle(),lastModifiedTimestamp:null!=(q=xi(kj(k,3)))?q:0,externalLink:k.getExternalLink()};if(Wk(k,eo,8,fo)){var w=Ak(k,eo,8,fo);k=w.getDescription();q=NDa(cj(w,2,0));var z=ODa(w.getStatus());var F=ri(w,6,hi());var J=w.getCommentsList().map(PDa),H=w.getAuthorEmail(),O=Xi(w,12);var P=ri(w,17,hi());w=ri(w,11,hi());t.critiqueResource={description:k,category:q,status:z,reviewerEmails:F,comments:J,authorEmail:H,needsAttention:O,
attentionSetUsers:P,ccEmails:w};t.source="CRITIQUE"}else if(k.hasDriveResource())k=k.getDriveResource(),k={type:QDa(k.getMimeType()),createdTimestamp:k.getCreatedTimestamp_asLegacyNumberOrString(),createdByMe:Xi(k,2),ownedByMe:k.getOwnedByMe(),sharedWithMe:Xi(k,14)},t.driveResource=k,t.source="DRIVE";else if(Wk(k,go,9,fo))k=Ak(k,go,9,fo),k={description:k.getDescription(),ownedByMe:k.getOwnedByMe(),needApprovalFromMe:Xi(k,8),creatorEmail:k.getCreatorEmail()},t.launchResource=k,t.source="ARIANE";else throw Error("Rc");
}else t=void 0;return{taskId:h,resource:t,createdTimestamp:null!=(e=xi(d.getCreatedTimestamp_asLegacyNumberOrString()))?e:0,updatedTimestamp:null!=(f=xi(d.getUpdatedTimestamp_asLegacyNumberOrString()))?f:0,signals:c.has(d.getTaskId())?RDa(c.get(d.getTaskId())):void 0}})},MDa=function(a){var b=new Map;a=l(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(r(d),[c]))}else b.set(c.getResourceId(),[c]);return b},
RDa=function(a){return a.map(function(b){return{resourceId:b.getResourceId(),timestamp:ak(b.getTimestamp()),suggestedAction:Zi($i(b,TDa,2),4),signalSpec:UDa($i(b,TDa,2))}}).filter(function(b){return VDa.has(b.signalSpec)})},UDa=function(a){if(null!=ho(a,tk(a,io,2)))switch(cj(a,tk(a,io,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!=
ho(a,tk(a,io,3)))switch(cj(a,tk(a,io,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!=ho(a,tk(a,io,5)))switch(cj(a,tk(a,io,5),0)){case 0:return"LAUNCH_SIGNAL_UNSPECIFIED";case 1:return"NEAR_LAUNCH_DATE";default:return"LAUNCH_SIGNAL_UNSPECIFIED"}return"SIGNAL_UNSPECIFIED"},NDa=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"}},ODa=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"}},PDa=function(a){return{authorEmail:a.getAuthorEmail()}},QDa=function(a){switch(a){case "document":return"Docs";case "spreadsheet":return"Sheets";
case "presentation":return"Slides";default:return"File"}},WDa=function(a){switch(a){case "ARIANE":return 3;case "CRITIQUE":return 1;case "DRIVE":return 4;default:return 0}},XDa=function(a){return WCa(a.getSearch())},YDa=function(a){return gi(a,Qn,1,hi()).map(WCa)},ZDa=function(a){return{id:a.getId_asString(),name:a.getName(),description:a.getDescription()}},ko=function(a){if(a=a.getIt()){var b=$i(a,jo,7),c,d=null!=(c=null==b?void 0:b.getSlo())?c:new Sk;c=null==b?void 0:$i(b,ui,4);var e=null==b?void 0:
$i(b,ui,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(r(a.getPathNamesList())),pathIds:a.getPathIdsList_asLegacyNumberOrString().map(String),collapsedPathNames:[].concat(r(ri(a,5,hi()))),members:a.getMembersList().map(wva),deleted:a.getDeleted(),estimatedComponentCount:null!=(h=null==b?void 0:kj(b,3))?h:0,slo:{inherit:d.getInherit(),sloId:String(d.getId_asLegacyNumberOrString()),
comment:d.getComment(),sourceTeamId:String(d.getSourceTeamId_asLegacyNumberOrString())},sloLead:c?wi(c):void 0,defaultSloLead:e?wi(e):void 0}}throw Error("Tc");},$Da=function(a){return{teamId:a.getId_asString(),name:a.getName(),description:a.getDescription(),pathNames:a.getPathNamesList(),pathIds:a.getPathIdsList()}},aEa=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"}}},eEa=function(a){var b={};a=Kb(a,1,bEa,ub);a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b[c]={principalType:cEa[cj(d,1,0)],detailedUserType:dEa[cj(d,2,0)]}}return b},fEa=function(a,b){return a.map(function(c){return b[c]||null})},gEa=function(){return{principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}},hEa=function(a,b){a&1&&(E(0,"li"),R(1),G());a&2&&(a=b.$implicit,y(),$f(a))},iEa=function(a){return a.endsWith("?")?
a.slice(0,a.length-1):a},jEa=function(a,b,c,d){c&&c.targetTime&&(c.endTime?b.push({sloBounds:c,sloMetric:d}):a.push({sloBounds:c,sloMetric:d}))},kEa=function(a,b){return a.sloBounds.targetTime.seconds-b.sloBounds.targetTime.seconds},lo=function(a,b){return function(c){if(a.has(c))return a.get(c);var d=b(c);a.set(c,d);return d}},mo=function(a,b){return new Map(a.map(function(c){return[c,b(c)]}))},lEa=function(a,b){var c;return new Map(null!=(c=null==a?void 0:a.map(function(d){return[b(d),d]}))?c:[])},
mEa=function(a,b){return mo([].concat(r(a.keys())),function(c){return b(a.get(c))})},nEa=function(){return{startTime:Date.now(),firstActionSeen:!1,editCount:0,variations:new Set}},oEa=function(a){var b;return null!=(b=xi(a))?b:null},pEa=function(a){var b;return null!=(b=yi(a))?b:null},qEa=function(a){var b,c;return(null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.userData)?void 0:c.starred)||!1},rEa=function(a){var b,c;return(null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.userData)?void 0:c.lastViewedTimeMicros)||
0},sEa=function(a){var b;return null==(b=Jn(a))?void 0:b.title},tEa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.status)?c:void 0},uEa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.priority)?c:void 0},vEa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.assigneeUser)?c:void 0},wEa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.reporterUser)?c:void 0},xEa=function(a){var b,c;a=null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.aggregatedData)?
void 0:c.teamId;return yi(a)},yEa=function(a){var b;a=null==(b=Jn(a))?void 0:b.componentId;return yi(a)},zEa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.ccUsers)?c:[]},AEa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.issueAccessLimitLevel)?c:"LIMIT_NONE"},BEa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.collaboratorsUsers)?c:[]},CEa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.type)?c:void 0},DEa=function(a){var b,c;return null!=(c=
null==(b=Jn(a))?void 0:b.foundInVersion)?c:[]},EEa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.targetedToVersion)?c:[]},FEa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.changelist)?c:[]},GEa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.postmortems)?c:[]},HEa=function(a){var b;return(null==(b=Jn(a))?void 0:b.inProd)||!1},IEa=function(a){var b;return null==(b=Jn(a))?void 0:b.effort},JEa=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:
null==(c=b.aggregatedData)?void 0:c.voteCount},KEa=function(a){var b,c;return(null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.userData)?void 0:c.voted)||!1},MEa=function(a){return LEa(null==a?void 0:a.issue)},LEa=function(a){var b,c;return null!=(c=null==(b=En(a))?void 0:b.isDeleted)?c:!1},OEa=function(a){return NEa(null==a?void 0:a.issue)},NEa=function(a){var b;return null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel},PEa=function(a){var b;return(a=null==a?void 0:null==(b=a.issue)?void 0:
b.aggregatedData)&&Math.round(a.modifiedTimeMicros/1E3)},REa=function(a){return QEa(null==a?void 0:a.issue)},QEa=function(a){var b,c;return null!=(c=null==(b=En(a))?void 0:b.retention)?c:void 0},SEa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.duplicateOfIssueId)?c:void 0},UEa=function(a){return TEa(null==a?void 0:a.issue)},TEa=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.retentionState)?c:void 0},VEa=function(a){var b;return yi(null==a?void 0:
null==(b=a.issue.aggregatedData)?void 0:b.sloId)},WEa=function(a){var b;return null==a?void 0:null==(b=a.issue.aggregatedData)?void 0:b.createdTimeMicros},XEa=function(a){return null==a?void 0:a.effortSpec},YEa=function(a){a=XEa(a);return!(!a||!a.name&&!a.inherit)},ZEa=function(a){return null==a?void 0:a.componentPathInfo},$Ea=function(a){if(!a)return{};var b,c=l(null!=(b=a.match(RegExp("comment([0-9]+)")))?b:[]);c.next();b=c.next().value;var d;a=l(null!=(d=a.match(RegExp("comment[0-9]+version([0-9]+)")))?
d:[]);a.next();d=a.next().value;return{commentNumber:xi(b),commentVersion:xi(d)}},aFa=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}},bFa=function(a){return a?ei(a.replace(/_/g," ").toLowerCase()):""},cFa=function(a){return a?a.join(", "):""},dFa=function(a,b){if(!a)return gh("");if(!b)return gh(a);b=
b.split(" ").map(lsa);b=b.filter(function(h){return!!h});b=b.map(no);if(0===b.length)return gh(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(jh("b",{},f));c.push(d);a=a.substring(e+f.length+d.length)}return ih(c)},eFa=function(a){return a?"Yes":"No"},fFa=function(a){return a?a.pathNames?a.pathNames.join(" > "):"":""},gFa=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},hFa=function(a){if(!a)return null;var b=new qn;b.setTime(1E3*a.seconds);return b},iFa=function(a){if(a&&Bn(a))return a},oo=function(a){return null==a?"":String(a)},jFa=function(a){var b;return null!=(b=null==a?void 0:a.filter(function(c){return!!c.trim()}).join(", "))?b:""},lFa=function(a,b){if(kFa[a])return kFa[a][b]},po=function(a){return a?ia(a,"@")?a:"[Deleted User]"===
a?a:a+"@google.com":""},mFa=function(a,b){a=void 0===a?"":a;b=void 0===b?48:b;var c=void 0===c?"...":c;var d=[].concat(r(a));if(d.length<=b)return a;a=b-[].concat(r(c)).length;d=d.slice(0,a).join("");null!=String.prototype.trimEnd&&(d=d.trimEnd());return d+c},nFa=function(a){a=void 0===a?"":a;var b=new Set([].concat(r('!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n')));a=[].concat(r(a)).map(function(c){return b.has(c)?" ":c}).join("").trim();return 0===a.length?[]:a.split(/[\s]+/g)},oFa=function(a){return a.split("").every(function(b){return 1===
b.length&&0<=b.charCodeAt(0)&&255>=b.charCodeAt(0)})},qFa=function(a){if(null!=a){a=[].concat(r(a)).slice(0,100);a=l(a);for(var b=a.next();!b.done;b=a.next())if(b=pFa[b.value])return b}},rFa=function(a){if(a.includes('"')||a.includes("'"))return[];var b=[].concat(r(a.matchAll(RegExp("(^|[;,\\-\\s])+(\\d+)","g"))));if(b.length)return b.map(function(c){c=l(c);c.next();c.next();return c.next().value});a=[].concat(r(a.matchAll(RegExp("(b|b-qa|issues)\\/(\\d+)","g"))));return a.length?a.map(function(c){c=
l(c);c.next();c.next();return c.next().value}):[]},sFa=function(a){return a.customFieldValue?String(a.customFieldValue.customFieldId):a.fieldName},tFa=function(a){a&1&&I(0,"img",9);a&2&&(a=N(),D("src",a.person.imageUrl,Pd)("alt",a.person.name+"'s profile picture"))},uFa=function(a){a&1&&(E(0,"div",10),R(1),G());a&2&&(a=N(),y(),S(" ",a.person.email," "))},vFa=function(a){a&1&&(E(0,"div",11)(1,"onedev-chip",12),I(2,"mat-icon",13),R(3),G()());a&2&&(a=N(),y(3),S("",a.outOfOfficeDescription," "))},wFa=
function(a){a&1&&(E(0,"li"),R(1),G());a&2&&(a=N(2),y(),$f(a.person.title))},xFa=function(a){a&1&&I(0,"li",18)},yFa=function(a){a&1&&(E(0,"li"),R(1),G());a&2&&(a=N(2),y(),$f(a.person.department))},zFa=function(a){a&1&&(K(0),I(1,"mat-icon",14),E(2,"div",15)(3,"ul",16),C(4,wFa,2,1,"li",8)(5,xFa,1,0,"li",17)(6,yFa,2,1,"li",8),G()(),L());a&2&&(a=N(),y(4),D("ngIf",a.person.title),y(),D("ngIf",a.person.title&&a.person.department),y(),D("ngIf",a.person.department))},AFa=function(a){a&1&&(K(0),I(1,"mat-icon",
19),E(2,"div",15),R(3),G(),L());a&2&&(a=N(),y(3),$f(a.person.location))},BFa=function(a){a&1&&(K(0),I(1,"mat-icon",20),E(2,"div",15)(3,"ul",16)(4,"li")(5,"a",21),R(6,"Teams"),G()(),I(7,"li",18),E(8,"li")(9,"a",21),R(10,"Calendar"),G()(),I(11,"li",18),E(12,"li")(13,"a",21),R(14,"CLs"),G()(),I(15,"li",18),E(16,"li")(17,"a",21),R(18,"Readability"),G()()()(),L());a&2&&(a=N(),y(5),D("href","https://moma.corp.google.com/person/"+a.person.ldap,Pd),y(4),D("href","https://www.google.com/calendar/embed?src="+
a.person.email+"&mode=WEEK&showCalendars=0",Pd),y(4),D("href","https://critique.corp.google.com/"+a.person.ldap,Pd),y(4),D("href","https://icanread.corp.google.com/s/"+a.person.ldap,Pd))},CFa=function(a,b){if(null==a)return null;a=a.getRequestHook(b);return null==a?null:a},DFa=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}},EFa=function(a,b,c){c=void 0===c?{}:c;b=l(Object.entries(b));for(var d=b.next();!d.done;d=
b.next()){var e=l(d.value);d=e.next().value;e=e.next().value;d in a&&(c[e]=a[d])}return c},FFa=function(a){return Object.assign({},{arrays:{},descriptions:{},keys:[],objectMaps:{},objects:{},enums:{},emptyArrayIsUnset:!1},a)},GFa=function(a,b){return qo(b,a)},HFa=function(a,b,c){b[a]=c},IFa=function(){return{}},NFa=function(a,b){var c=new a;return null==b?c:JFa(b,KFa,LFa,MFa,a)},KFa=function(a,b){return b[a]},LFa=function(a,b,c){b.Serializable$values[a]=c},MFa=function(a){if(null==a)throw Error("Wc");
return new a},JFa=function(a,b,c,d,e){e=d(e);for(var f=OFa(a,e),h=f.arrays||{},k=f.objects||{},q=f.objectMaps||{},t=l(f.keys||[]),w=t.next(),z={};!w.done;z={mapMetadata:void 0},w=t.next()){w=w.value;var F=b(w,a);if(null!=F){var J=void 0;if(h.hasOwnProperty(w)){if(f.emptyArrayIsUnset&&0===F.length)continue;J=PFa(F,b,c,d,!0,!0,h[w])}else if(k.hasOwnProperty(w))J=PFa(F,b,c,d,!1,!0,k[w]);else if(q.hasOwnProperty(w))z.mapMetadata=q[w],J=z.mapMetadata.isPropertyArray?F.map(function(H){return function(O){return QFa(O,
H.mapMetadata,b,c,d)}}(z)):QFa(F,z.mapMetadata,b,c,d);else if(Array.isArray(F)){if(f.emptyArrayIsUnset&&0===F.length)continue;J=PFa(F,b,c,d,!0,!1)}else J=F;c(w,e,J)}}return e},QFa=function(a,b,c,d,e){for(var f={},h=l(Object.keys(a)),k=h.next();!k.done;k=h.next()){k=k.value;var q=a[k];null!=q&&(f[k]=PFa(q,c,d,e,b.isValueArray,b.isSerializable,b.ctor))}return f},PFa=function(a,b,c,d,e,f,h){if(f&&null==h)throw Error("Xc");if(null==a)return a;var k;e&&f?k=a.map(function(q){return JFa(q,b,c,d,h)}):e&&
!f?k=a.map(function(q){return q}):k=!e&&f?JFa(a,b,c,d,h):"object"===typeof a?JSON.parse(JSON.stringify(a)):a;return k},OFa=function(a,b){if(b instanceof ro)a=FFa(b.getPartialClassMetadata());else if(a instanceof ro)a=FFa(a.getPartialClassMetadata());else throw Error("Yc");return a},SFa=function(a){return a&&RFa.test(a)?a.split("@")[0]:""},TFa=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===(null==(c=b.metadata)?void 0:c.container)}):null},UFa=function(a){return a?a.find(function(b){var c;
return"DOMAIN_PROFILE"===(null==(c=b.metadata)?void 0:c.container)}):null},VFa=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:SFa(c),name:"",email:c};var k;d=null==b?void 0:null==(k=b.people)?void 0:k[h];var q;h=null==(q=UFa(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 z,F;t=null==d?void 0:null==(z=d.photo)?void 0:null==(F=z[0])?void 0:F.url;w=TFa(null==d?void 0:d.organization);z=null==w?void 0:w.title;F=null==w?void 0:w.department;w=null==w?void 0:w.location;return{ldap:SFa(h),email:h||c||"",name:q||"",imageUrl:t,title:z,department:F,location:w}})},WFa=function(){},ZFa=function(){var a={timeout:5E3};a=void 0===a?{}:a;return null!=XFa?XFa:XFa=YFa(a)},$Fa=function(){return new Promise(function(a,b){window.gapi.load("client",{callback:a,onerror:b})})},YFa=function(a){a=
void 0===a?{}:a;var b;return ke(function(c){if(1==c.nextAddress)return(b=window.gapi)&&b.client&&b.client.load?c.return(b):me(c,aGa(lh(bGa),a),2);if(3!=c.nextAddress){b=window.gapi;if(!b)throw Error("Zc");return b.client&&b.client.load?c.jumpTo(3):me(c,$Fa(),3)}return c.return(b)})},cGa=function(a,b,c){var d=a.config.get(b);c!==d&&a.config.update(b,c)},eGa=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(dGa.has(a))return dGa.get(a);
b=Promise.resolve(c.reloadAuthResponse()).finally(function(){dGa.delete(a)});dGa.set(a,b);return b}return Promise.resolve()},fGa=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})},gGa=function(a,b){a&1&&(E(0,"div",1),qd(),E(1,"svg",2)(2,"g"),I(3,"path",3),G()(),rd(),E(4,"span",4),R(5),G()());a&2&&(a=b.ngIf,pf("aria-label",a)("title",a),y(5),$f(a))},
hGa=function(a,b){a&1&&(E(0,"onedev-person-hovercard-body",1),T(1,"async"),Mf(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),Mf(3,1,["ngProjectAs","[onedev-additional-content]",5,["","onedev-additional-content",""]]),G());a&2&&(a=b.ngIf,b=N(),D("person",a)("outOfOfficeDescription",V(1,2,b.outOfOfficeDescription$)))},iGa=function(a){a&1&&(E(0,"onedev-person-hovercard",1,2),Mf(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),G());if(a&2){var b=
Q(1);a=N();D("email",a.email)("enableWaldo",!0)("onedevIsHovercardReady",b.init)}},jGa=function(a){a&1&&Gf(0)},kGa=function(a){a&1&&(K(0),E(1,"span",2),C(2,jGa,1,0,"ng-container",3),G(),E(3,"onedev-hovercard",null,4),I(5,"b-person-card",5),G(),L());if(a&2){var b=Q(4);a=N();var c=Q(2);y();D("onedevHovercardTrigger",b)("onedevHovercardActive",!!a.email);y();D("ngTemplateOutlet",c);y(3);D("email",a.email)}},lGa=function(a){a&1&&Mf(0)},oGa=function(a){if(a&1){var b=u();K(0,3);E(1,"onedev-hovercard-action",
4);M("onAction",function(){v(b);var e=N();return x(mGa(e))});T(2,"async");E(3,"span");R(4);G()();E(5,"onedev-hovercard-action",4);M("onAction",function(){v(b);var e=N();return x(nGa(e))});T(6,"async");E(7,"span");R(8);G()();L()}if(a&2){a=N();var c,d;y();D("disabled",null!==(c=V(2,4,a.actionService.assigneeUpdating$))&&void 0!==c?c:!1);y(3);$f(a.email!==a.currentAssignee?"Set as assignee":"Remove assignee");y();D("disabled",null!==(d=V(6,6,a.actionService.ccUpdating$))&&void 0!==d?d:!1);y(3);$f(a.currentCc.includes(a.email)?
"Remove from CCs":"Add to CCs")}},qGa=function(a){return!!a.match(pGa)&&!a.endsWith("/history")},so=function(a){return"hyperlink"===a.type},rGa=function(a){return so(a)&&qGa(a.href)},tGa=function(a){return so(a)&&!!a.href.match(sGa)},uGa=function(a){if(a.endsWith("/history"))return null;var b,c;return(a=null!=(c=null==(b=a.match(pGa))?void 0:b[2])?c:null)?"https://screenshot.googleplex.com/"+a+".png":null},vGa=function(a){return"issueReference"===a.type},wGa=function(a){return so(a)&&!rGa(a)&&!(so(a)&&
a.href.startsWith("mailto:"))},xGa=function(a){a&1&&(K(0),I(1,"img",3),T(2,"async"),L());if(a&2){a=N(2);var b;y();D("src",V(2,2,a.srcRedirected$),Pd);pf("alt",null!==(b=a.alt)&&void 0!==b?b:"user provided image")}},yGa=function(a){a&1&&(K(0),C(1,xGa,3,4,"ng-container",0),T(2,"async"),L());if(a&2){a=N();var b=Q(3);y();D("ngIf",V(2,2,a.showImage$))("ngIfElse",b)}},zGa=function(a){if(a&1){var b=u();E(0,"a",4);M("click",function(c){v(b);var d=N();return x(d.trigger(c))})("keydown.enter",function(c){v(b);
var d=N();return x(d.trigger(c))});T(1,"async");T(2,"async");E(3,"b-glue");I(4,"mat-icon",5);G();K(5);R(6);T(7,"async");L();G()}a&2&&(a=N(),D("href",V(1,3,a.src$),Pd)("title",V(2,5,a.src$)),y(6),$f(V(7,7,a.srcTruncated$)))},AGa=function(a){a&1&&(I(0,"mat-icon",6),T(1,"async"));a&2&&(a=N(),Nf("matTooltip","Unable to load image ",V(1,1,a.srcTruncated$),""))},BGa=function(a){a&1&&(K(0),I(1,"br"),E(2,"a",4),I(3,"b-secure-image-widget",5),G(),I(4,"br"),L());if(a&2){a=N().ngIf;var b=N();y(2);D("href",a,
Pd)("rel",b.EXTERNAL_LINK_REL);y();D("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!0)}},CGa=function(a){a&1&&I(0,"b-secure-image-widget",6);if(a&2){a=N().ngIf;var b=N();D("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!1)}},DGa=function(a){a&1&&(K(0)(1,1),T(2,"async"),C(3,BGa,5,5,"ng-container",2)(4,CGa,1,3,"b-secure-image-widget",3),L()());a&2&&(a=N(),y(),D("ngSwitch",V(2,3,a.displayMode$)),y(2),D("ngSwitchCase",a.DisplayMode.SHOW),y(),D("ngSwitchCase",a.DisplayMode.COLLAPSE))},
EGa=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},FGa=function(a,b){a&1&&(K(0),I(1,"b-plain-format-section",2),L());a&2&&(a=b.$implicit,y(),D("section",a))},GGa=function(a){a&1&&I(0,"b-plain-format-quoted-section",1);a&2&&(a=N(),D("section",a.section))},HGa=function(a){a&1&&I(0,"b-plain-format-unquoted-section",1);a&2&&(a=N(),D("section",a.section))},JGa=function(a){if(a&1){var b=u();E(0,"a",4);M("click",function(){v(b);var c=N();c.showQuote=!0;IGa(c);return x()});R(1," - Show quoted text - ");
G()}a&2&&(a=N(),pf("aria-controls",a.childId))},KGa=function(a){if(a&1){var b=u();E(0,"a",5);M("click",function(){v(b);var c=N();c.showQuote=!1;IGa(c);return x()});R(1," - Hide quoted text - ");G()}a&2&&(a=N(),pf("aria-controls",a.childId))},LGa=function(a,b){a&1&&(K(0),I(1,"b-literal-format-presenter",1),L());a&2&&(a=b.ngIf,y(),D("content",a))},MGa=function(a,b){a&1&&(K(0),I(1,"b-markdown-format-presenter",1),L());a&2&&(a=b.ngIf,y(),D("content",a))},NGa=function(a,b){a&1&&(K(0),I(1,"b-plain-format-presenter",
1),L());a&2&&(a=b.ngIf,y(),D("content",a))},OGa=function(a,b){a&1&&(K(0),E(1,"div",1),I(2,"b-formatted-comment-presenter",2),G(),L());a&2&&(a=b.$implicit,b=N(),y(),yf("invisible",""===(b.comment||"").trim())("error",a.isFallback),y(),D("formattedComment",a.formattedComment))},RGa=function(a){var b=a.match(/\(.*\)/);if(a.match(/'.*'/)||a.match(/".*"/)||b)return{complexSyntax:!0};a=a.split(/\s+/).filter(Boolean);b=a.filter(PGa).length;var c=a.filter(function(d){return!PGa(d)}).filter(QGa).length;return{filters:b,
text:a.length-b-c,resourceIds:c}},QGa=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:to(a)},PGa=function(a){return!!a.match(/\w:\w/g)},uo=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=l(SGa),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;if(2<=d.length)break;var k=Math.floor(c/h);if(1<=k)b?d.push(""+k+TGa[f]):1===
k?d.push(k+" "+f):d.push(k+" "+f+"s");else if(d.length)break;c-=k*h;if(1<k)break}if(d.length)return d.join(" ")+" ago";console.error("epochToDateAgo() unhandled input. Seconds:",a)}},UGa=function(a){a&1&&(E(0,"div",17),I(1,"div",18)(2,"div",19),T(3,"async"),E(4,"div",20),T(5,"async"),G(),E(6,"div",21),T(7,"async"),G()());if(a&2){a=N(2);var b;y();yf("complete",a.topicBox.value)("thinking",a.thinkers[0]);y();yf("complete",null==(b=V(3,16,a.similarIssues$))?null:b.length)("thinking",a.thinkers[1]);y(2);
yf("complete",V(5,18,a.aggregatedData$))("thinking",a.thinkers[2]);y(2);yf("complete",V(7,20,a.answer$))("thinking",a.thinkers[3])}},WGa=function(a){if(a&1){var b=u();E(0,"div",22);I(1,"input",23);E(2,"p",24);R(3,"Topic");G();E(4,"button",25);M("click",function(){v(b);var c=N(2);return x(VGa(c))});R(5,"\ud83d\udd04");G()()}a&2&&(a=N(2),y(),D("formControl",a.topicBox))},XGa=function(a){a&1&&(E(0,"div",26),I(1,"input",27),G());a&2&&(a=N(2),y(),Nf("matTooltip","Full search scope: ",a.debugFullSearchScope,
""),D("formControl",a.scopeBox))},ZGa=function(a,b){if(a&1){var c=u();K(0);E(1,"div",28);I(2,"b-live-preview",29);E(3,"button",30);M("click",function(){v(c);var d=N(2);return x(YGa(d))});R(4,"\ud83d\udd04");G()();L()}a&2&&(a=b.$implicit,b=N(2),y(2),D("comment",a)("formattingMode",b.FORMATTING_MODE))},$Ga=function(a){if(a&1){var b=u();K(0);E(1,"div",31)(2,"pre")(3,"button",32);M("click",function(){v(b);var c=N(2);return x(YGa(c))});R(4,"\ud83d\udd04");G();R(5," (thinking...)");G()();L()}},aHa=function(a,
b){a&1&&(E(0,"li")(1,"pre"),R(2),G()());a&2&&(a=b.$implicit,y(2),$f(a))},bHa=function(a){a&1&&(E(0,"section",36)(1,"ol",37),C(2,aHa,3,1,"li",38),G()());a&2&&(a=N().$implicit,y(2),D("ngForOf",a))},cHa=function(a,b){a&1&&(K(0),C(1,bHa,3,1,"section",35),L());a&2&&(a=b.$implicit,y(),D("ngIf",0<a.length))},dHa=function(a){if(a&1){var b=u();K(0);C(1,cHa,2,1,"ng-container",16);T(2,"async");E(3,"p",33)(4,"a",34);M("click",function(){v(b);var c=N(3);return x(c.showRawResults=!0)});R(5,"Hide Results");G()();
L()}a&2&&(a=N(3),y(),D("ngIf",V(2,1,a.plainTextIssueResults$)))},eHa=function(a){if(a&1){var b=u();K(0);E(1,"p",33)(2,"a",39);M("click",function(){v(b);var c=N(3);return x(c.showRawResults=!1)});R(3,"(Debug) Show Vector Search Results");G()();L()}},fHa=function(a,b){a&1&&(K(0),E(1,"section",36)(2,"p",40),R(3),G()(),L());a&2&&(a=b.$implicit,y(3),S("Got ",a," similar issues"))},gHa=function(a){a&1&&(K(0),C(1,dHa,6,3,"ng-container",16)(2,eHa,4,0,"ng-container",16)(3,fHa,4,1,"ng-container",16),T(4,"async"),
L());a&2&&(a=N(2),y(),D("ngIf",!a.showRawResults),y(),D("ngIf",a.showRawResults),y(),D("ngIf",V(4,3,a.haveIssuesButWaitingOnData$)))},iHa=function(a){if(a&1){var b=u();E(0,"section",4)(1,"form",5);M("ngSubmit",function(){v(b);var d=N();return x(hHa(d))});E(2,"div",6)(3,"div",7)(4,"label",8);I(5,"mat-icon",9);R(6," Ask AI: ");G()();E(7,"div",10);I(8,"input",11);E(9,"button",12);R(10,"Ask");G();C(11,UGa,8,22,"div",13);G();C(12,WGa,6,1,"div",14)(13,XGa,2,2,"div",15);G()();C(14,ZGa,5,2,"ng-container",
16);T(15,"async");C(16,$Ga,6,0,"ng-container",16);T(17,"async");C(18,gHa,5,5,"ng-container",16);G()}if(a&2){a=N();var c=Q(2);y(4);D("onedevHovercardTrigger",c)("onedevHovercardConfig",a.HOVERCARD_CONFIG);y(4);D("formControl",a.questionBox);y(3);D("ngIf",a.didAtLeastOneSearch);y();D("ngIf",a.didAtLeastOneSearch);y();D("ngIf",a.didAtLeastOneSearch);y();D("ngIf",V(15,9,a.answer$));y(2);D("ngIf",V(17,11,a.waitingAnswer$));y(2);D("ngIf",a.didAtLeastOneSearch)}},jHa=function(){var a;return null!=(a=window.sessionStorage.getItem("AI_USER_QUERY"))?
a:""},kHa=function(a){window.sessionStorage.setItem("AI_USER_QUERY",null!=a?a:"")},wHa=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;if(null==a)return"(undefined)";var d=a.snapshot[0],e=l(b[a.issueId]);b=e.next().value;e=Be(e);e.sort(function(f,h){return h.modifiedDate-f.modifiedDate});return["## "+d.title,"ID: http://b/"+a.issueId,"Priority: "+d.priority,"Status: "+d.status,"Modified: "+uo(a.majorModifiedTimeMicros/1E3/1E3),lHa(a),mHa(a),nHa(a,c),oHa(a),pHa(a),qHa(a),rHa(a),sHa(a),tHa(b),uHa(a),
vHa(e)].filter(Boolean).join("\n").trim()+"\n\n---\n\n"},nHa=function(a,b){a=a.snapshot[0].hotlistId;if(null!=a&&0!==a.length)return"Hotlists: "+a.map(function(c){var d;return null!=(d=b[c])?d:"["+c+"]"}).join(", ")},vHa=function(a){if(0!==a.length){var b=a.map(xHa).join("\n\n");return"\n### Comments ("+a.length+")\n"+b}},yHa=function(a,b){b=void 0===b?300:b;if(null!=a)return a=a.replaceAll(/\n/g," "),a=mFa(a,b)},xHa=function(a){if(null!=a){var b=yHa(a.unlinkifiedComment);if(null!=b){var c,d=null==
(c=a.lastCommentEditorUser)?void 0:c.emailAddress;a=uo(a.modifiedDate/1E3);return d+": "+b+" ("+a+")"}}},tHa=function(a){if(null!=a&&(a=yHa(a.unlinkifiedComment,600),null!=a))return"\n### Description\n"+a},qHa=function(a){a=a.descendantCount;if(!(0>=a))return"Descendant count: "+a},oHa=function(a){var b;a=(null!=(b=l(a.snapshot).next().value.blockingIssueId)?b:[]).length;if(!(0>=a))return"Blocking "+a+" issue(s)"},pHa=function(a){var b;a=(null!=(b=l(a.snapshot).next().value.blockedByIssueId)?b:[]).length;
if(!(0>=a))return"Blocked by "+a+" issue(s)"},lHa=function(a){var b;return(a=(null!=(b=l(a.snapshot).next().value.assigneeUser)?b:{}).emailAddress)?"Assignee: "+a:void 0},mHa=function(a){var b;return(a=(null!=(b=l(a.snapshot).next().value.reporterUser)?b:{}).emailAddress)?"Reporter: "+a:void 0},rHa=function(a){var b,c;a=null!=(c=null==(b=a.aggregatedData)?void 0:b.voteCount)?c:0;if(!(0>=a))return"Upvotes: "+a},uHa=function(a){var b=a.statusUpdate;if(null!=b){a=b.updateText;var c,d=null==(c=b.author)?
void 0:c.emailAddress,e;c=null!=(e=b.updateTime)?e:{};e=uo((void 0===c.seconds?0:c.seconds)+(void 0===c.nanos?0:c.nanos)/1E3/1E3/1E3);return"\n### Status Update\n"+d+": "+a+" ("+e+")"}},sHa=function(a){var b,c;a=null!=(c=null==(b=a.userActivityStats)?void 0:b.thirtyDayViewCount)?c:0;if(!(10>=a))return"30 day views: "+a},zHa=function(a){a=a.getBoundingClientRect();return 0<=a.top&&a.bottom<=window.innerHeight},AHa=function(a){a=a.getBoundingClientRect();return 0<a.bottom&&a.top<window.innerHeight},
BHa=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 W.Observable(function(f){f.next(e(a));var h=b(function(k){f.next(k[0].isIntersecting)},d?{threshold:0}:{threshold:1});h.observe(a);return function(){h.unobserve(a)}})).pipe(Te())},CHa=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,W.merge)((0,W.of)(void 0),(0,W.fromEvent)(window,"scroll").pipe(Re(500))).pipe(B(function(){return d(a)}),
Te())},DHa=function(a){return a instanceof vo?a:new vo(a,{})},wo=function(a){a=DHa(a);return new vo(a.char,Object.assign({},a.modifiers,{shift:!0}))},EHa=function(a){a=DHa(a);return new vo(a.char,Object.assign({},a.modifiers,{ctrl:!0}))},FHa=function(){var a=wo("f");a=DHa(a);return new vo(a.char,Object.assign({},a.modifiers,{alt:!0}))},HHa=function(a){if(a instanceof vo){var b=GHa(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(HHa).join(" "):GHa(a)},xo=function(){return Vc.apply(0,arguments)},GHa=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 Nh(a)}},IHa=function(a){return a.keys.join("-")+"-"+a.description+"-"+a.displayAs},JHa=function(a){a&1&&(E(0,"a",2),I(1,"mat-icon",3),G());a&2&&(a=N(),D("href",a.mdHelpLink,Pd)("disableRipple",!0))},KHa=function(a){a&1&&I(0,"b-formatted-comment-presenter",4);a&2&&(a=N(),D("formattedComment",a.note.formattedComment))},
LHa=function(a){a&1&&I(0,"b-live-preview",5);a&2&&(a=N(),D("comment",a.rawComment)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.formattingModeOverride||a.formattingMode||a.FormattingMode.PLAIN)("idPrefix",a.idPrefix))},MHa=function(a,b){if(a&1){var c=u();E(0,"a",8);M("click",function(){var d=v(c).$implicit,e=N(2);return x(e.clickSegment.emit(d.name||d.path))});R(1);G()}a&2&&(a=b.$implicit,D("href",a.path,Pd),y(),S(" ",a.name||a.path," "))},NHa=function(a){a&1&&(K(0),E(1,"button",
4),I(2,"mat-icon",5),G(),E(3,"mat-menu",null,6),C(5,MHa,2,2,"a",7),G(),L());if(a&2){var b=Q(4);a=N();y();D("matMenuTriggerFor",b);y(4);D("ngForOf",a.segments)}},OHa=function(a){if(a&1){var b=u();E(0,"button",4);M("click",function(){v(b);var c=N();return x(c.toggle())});I(1,"mat-icon",5);G()}a&2&&(a=N(),yf("isClosed",a.isClosed),D("ngClass",a.direction)("matTooltip",a.toggleButtonLabel),pf("aria-label",a.toggleButtonLabel),y(),D("svgIcon",a.isLTR?"chevron-left":"chevron-right"))},PHa=function(a){a&
1&&(E(0,"span",9),R(1),G());a&2&&(a=N(),y(),$f(a.placeholder))},QHa=function(a){a&1&&Mf(0)},RHa=function(a){a&1&&(E(0,"span",11),R(1),G());a&2&&(a=N(2),y(),$f(a.triggerValue))},SHa=function(a){a&1&&(E(0,"span",10),C(1,QHa,1,0)(2,RHa,2,1),G());a&2&&(a=N(),y(),Cf(1,a.customTrigger?1:2))},THa=function(a){if(a&1){var b=u();qd();rd();E(0,"div",12,13);M("@transformPanel.done",function(c){v(b);var d=N();return x(d._panelDoneAnimatingStream.next(c.toState))})("keydown",function(c){v(b);var d=N();return x(d._handleKeydown(c))});
Mf(2,1);G()}a&2&&(a=N(),Bf("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",a._getPanelTheme(),""),D("ngClass",a.panelClass)("@transformPanel","showing"),pf("id",a.id+"-panel")("aria-multiselectable",a.multiple)("aria-label",a.ariaLabel||null)("aria-labelledby",a._getPanelAriaLabelledby()))},UHa=function(a){a&1&&(E(0,"span",8),R(1),G());a&2&&(a=N(),y(),$f(a.placeholder))},VHa=function(a){a&1&&(E(0,"span",12),R(1),G());a&2&&(a=N(2),y(),$f(a.triggerValue))},WHa=function(a){a&1&&Mf(0,
0,["*ngSwitchCase","true"])},XHa=function(a){a&1&&(E(0,"span",9),C(1,VHa,2,1,"span",10)(2,WHa,1,0,"ng-content",11),G());a&2&&(a=N(),D("ngSwitch",!!a.customTrigger),y(2),D("ngSwitchCase",!0))},YHa=function(a){if(a&1){var b=u();E(0,"div",13)(1,"div",14,15);M("@transformPanel.done",function(c){v(b);var d=N();return x(d._panelDoneAnimatingStream.next(c.toState))})("keydown",function(c){v(b);var d=N();return x(d._handleKeydown(c))});Mf(3,1);G()()}a&2&&(a=N(),D("@transformPanelWrap",void 0),y(),Bf("mat-select-panel ",
a._getPanelTheme(),""),xf("transform-origin",a._transformOrigin)("font-size",a._triggerFontSize,"px"),D("ngClass",a.panelClass)("@transformPanel",a.multiple?"showing-multiple":"showing"),pf("id",a.id+"-panel")("aria-multiselectable",a.multiple)("aria-label",a.ariaLabel||null)("aria-labelledby",a._getPanelAriaLabelledby()))},ZHa=function(a){var b=function(){var c=a.apply(this,[].concat(r(Vc.apply(0,arguments))))||this;c._fitToContent=!1;return c};X(b,a);b.prototype.ngOnInit=function(){this._createInkBarElement()};
b.prototype.ngOnDestroy=function(){var c;null==(c=this._inkBarElement)||c.remove();this._inkBarElement=this._inkBarContentElement=null};b.prototype._createInkBarElement=function(){var c=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=c.createElement("span");this._inkBarContentElement=c.createElement("span");this._inkBarElement.className="mdc-tab-indicator";this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline";this._inkBarElement.appendChild(this._inkBarContentElement);
this._appendInkBarElement()};b.prototype._appendInkBarElement=function(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}},$Ha=function(a){var b=function(){var c=a.apply(this,[].concat(r(Vc.apply(0,arguments))))||this;c._fitToContent=!1;return c};X(b,a);b.prototype.ngOnInit=function(){this._createInkBarElement()};b.prototype.ngOnDestroy=function(){var c;null==(c=this._inkBarElement)||c.remove();this._inkBarElement=
this._inkBarContentElement=null};b.prototype._createInkBarElement=function(){var c=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=c.createElement("span");this._inkBarContentElement=c.createElement("span");this._inkBarElement.className="mdc-tab-indicator";this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline";this._inkBarElement.appendChild(this._inkBarContentElement);this._appendInkBarElement()};b.prototype._appendInkBarElement=
function(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}},aIa=function(){},bIa=function(){},cIa=function(a){a&1&&Mf(0)},dIa=function(){},eIa=function(a){a&1&&C(0,dIa,0,0,"ng-template",10);a&2&&(a=N().$implicit,D("cdkPortalOutlet",a.templateLabel))},fIa=function(a){a&1&&R(0);a&2&&(a=N().$implicit,$f(a.textLabel))},gIa=function(a,b){if(a&1){var c=u();E(0,"div",6);M("click",function(){var f=v(c),h=
f.$implicit;f=f.index;var k=N(),q=Q(1);return x(k._handleClick(h,q,f))})("cdkFocusChange",function(f){var h=v(c).index,k=N();return x(k._tabFocusChanged(f,h))});E(1,"div",7);C(2,eIa,1,1,"ng-template",8)(3,fIa,1,1,"ng-template",null,9,jg);G()()}if(a&2){a=b.$implicit;b=b.index;var d=Q(4),e=N();yf("mat-tab-label-active",e.selectedIndex===b);D("id",e._getTabLabelId(b))("ngClass",a.labelClass)("disabled",a.disabled)("matRippleDisabled",a.disabled||e.disableRipple);pf("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);y(2);D("ngIf",a.templateLabel)("ngIfElse",d)}},hIa=function(a,b){if(a&1){var c=u();E(0,"mat-tab-body",11);M("_onCentered",function(){v(c);var e=N();return x(e._removeTabBodyWrapperHeight())})("_onCentering",function(e){v(c);var f=N();return x(f._setTabBodyWrapperHeight(e))});G()}if(a&
2){a=b.$implicit;b=b.index;var d=N();yf("mat-tab-body-active",d.selectedIndex===b);D("id",d._getTabContentId(b))("ngClass",a.bodyClass)("content",a.content)("position",a.position)("origin",a.origin)("animationDuration",d.animationDuration)("preserveContent",d.preserveContent);pf("tabindex",null!=d.contentTabIndex&&d.selectedIndex===b?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(b))}},zo=function(a){return(null!=a?a:[]).map(yo)},Bo=function(a){return(null!=a?a:[]).map(Ao)},yo=function(a){if(null==
a)return"";var b=a.user,c=a.group,d=a.alias;a=void 0;null!=b?(a="USER",b=Ki(b)):null!=c?(a="GROUP",b=Ki(c)):null!=d?(a="ALIAS",b=d):b="";return void 0===a||""===b?"":a+":"+b},Co=function(a){return(null!=a?a:[]).map(yo)},iIa=function(a){return(null!=a?a:[]).map(Ao)},Ao=function(a){var b=l(a.split(":"));a=b.next().value;b=b.next().value;if(!a||!b)throw Error("bd`"+b);switch(a){case "USER":return{user:{emailAddress:b}};case "GROUP":return{group:{emailAddress:b}};case "ALIAS":return{alias:b};default:throw Error("cd`"+
b);}},Do=function(){return{admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null}},Eo=function(a){return{admins:zo(a.admins),editors:zo(a.editors),appenders:zo(a.appenders),readers:zo(a.readers),restrictedReaders:zo(a.restrictedReaders),restrictedPlusReaders:zo(a.restrictedPlusReaders),inheritedAdmins:zo(a.inheritedAdmins),implicitAccess:a.implicitAccess||null}},Fo=function(a){return{admins:Bo(a.admins),editors:Bo(a.editors),
appenders:Bo(a.appenders),readers:Bo(a.readers),restrictedReaders:Bo(a.restrictedReaders),restrictedPlusReaders:Bo(a.restrictedPlusReaders),implicitAccess:a.implicitAccess}},Go=function(a){return null==a?"":"number"===typeof a?isFinite(a)?String(a):"":a&&(a=String(a),254>=a.length)?a:""},mIa=function(){var a=Ho("gapi.config.get");if((a=Go(a&&a("googleapis.config/sessionIndex")))||(a=Go(ca.__X_GOOG_AUTHUSER))||(a=Go(Ho("google.authuser"))))return a;var b=ca.location.href||"",c=jIa.exec(b);try{a=Go(c&&
decodeURIComponent(c[2]))}catch(d){}if(a)return a;c=kIa.exec(b);try{a=Go(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;a=lIa.exec(b);return(a=Go(a&&a[1]))?a:""},nIa=function(){var a=Ho("gapi.auth.getToken");a=(a=a?a():null)&&a.access_token;var b=null;if(!a){a=(a=Ho("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}},oIa=function(a){a=
void 0===a?"":a;var b;if(!(b=nIa())){b=a;var c=void 0===c?mIa():c;a={};var d=Io([]);d&&(a.Authorization=d);b||(b=(b=Ho("gapi.config.get"))&&b("client/apiKey"));b&&(a["X-Goog-Api-Key"]=b);c&&(a["X-Goog-AuthUser"]=String(c));b=a}return b},pIa=function(a,b){b=void 0===b?0:b;var c;if(c=0===b)c=(c=Ho("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=Ho("gapi.config.get"))&&b("client/rewrite"))&&b[a]&&(a=String(b[a]));return a},rIa=function(a,b){return 1>a||!isFinite(a)?Promise.reject("gapi.client missing"):(new Promise(function(c){return ca.setTimeout(c,b)})).then(function(){return qIa(a-1,2*b)})},qIa=function(a,b){a=void 0===a?0:a;b=void 0===b?5E3:b;var c=ca;try{do var d=c.gapi;while(!d&&c!==c.top&&(c=c.parent))}catch(e){}if(!d)return rIa(a,
b);ca.gapi||(ca.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")})})},sIa=function(){var a=void 0===a?"":a;var b=void 0===b?mIa():b;var c=Ho("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)},tIa=function(a){return(new Jo).setEventType(2).setRpcType(2).setLookupType(a)},uIa=function(a){a=
Math.round(1E3*a);return isFinite(a)?a:null},Ko=function(a){var b;return null!=(b=null==a?void 0:a.trim())?b:""},Lo=function(a){var b=void 0===b?vIa:b;var c=Aa(a),d=function(e){e=l(e);e.next();e=Be(e);return b(c,e)};return function(){var e=Vc.apply(0,arguments),f=this||ca,h=wIa.get(f);h||(h={},wIa.set(f,h));f=h;h=[this].concat(r(e));e=d?d(h):h;if(Object.prototype.hasOwnProperty.call(f,e))f=f[e];else{var k=l(h);h=k.next().value;k=Be(k);h=a.apply(h,k);f=f[e]=h}return f}},yIa=function(a,b,c,d){d=void 0===
d?"":d;a=new Mo(a,b);d&&(a.destinationUrl=d);a.setProductID(109303191);c&&c.length&&(d=new xIa,Lb(d,3,c,mb),a.setClearExperimentIds(d));return a.build()},Po=function(a,b,c,d){No.call(this);this.initialized_=!1;this.title_=null;this.cache_=b;this.id_=c;this.transport_=a;zIa(this.transport_,this.id_);d&&Oo(d.getEventTarget(),"a",this.onContactsChange_,!1,this)},AIa=function(a){var b={};if(a){a=l(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},
CIa=function(a){return a.extendedData&&a.extendedData.contactPreferences?a.extendedData.contactPreferences.map(function(b){return BIa(b.name,b.email)}).join(", "):""},FIa=function(a,b,c){var d=[];a&&(DIa("name",a.name,b,d,c),DIa("phone",a.phone,b,d,c),DIa("photo",a.photo,b,d,c));return d.map(function(e){return new EIa(e)})},DIa=function(a,b,c,d,e){if(b){b=l(b);for(var f=b.next();!f.done;f=b.next())if(f=f.value,"CONTACT"!==Ho("metadata.containerType",f)){var h=f;var k=c,q=d,t=e,w=Ho("metadata.encodedContainerId",
h),z=Ho("metadata.containerType",h);k.contains(w,z)?h=k.get(w,z)||0:(h=q.length,k.set(w,z,h),q.push({}),t.push(w));k=q[h];k[a]=k[a]||[];k[a].push(f)}}},HIa=function(a,b){if(a){a=GIa(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},IIa=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},JIa=function(a){this.query_=
a;this.error_=0},Ro=function(a,b){b=a(b||KIa,void 0);a=Qo();b&&b.renderAsElement?a=b.renderAsElement():(a=a.createElement("DIV"),b=LIa(b),MIa(a,b));1==a.childNodes.length&&(b=a.firstChild,1==b.nodeType&&(a=b));return a},LIa=function(a){return za(a)?a.toSafeHtml&&(a=a.toSafeHtml(),a instanceof ec)?a:NIa("zSoyz"):NIa(String(a))},To=function(a,b,c,d,e,f,h){this.serverBase_="string"===typeof a?new So(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},OIa=function(a){a=a.getEmail();if(!a)return!1;for(var b=l(["-pager","+pager","-oncall","+oncall","lifeguard-ng"]),c=b.next();!c.done;c=b.next())if(0<=a.indexOf(c.value))return!0;return!1},SIa=function(a,b,c){a=a.filter(PIa());if(!c)return a;c=c.map(function(d){return{contact:d,toString:function(){return d.text}}});b=QIa(new RIa(c),b,c.length);return a.concat(b.map(function(d){return d.contact}))},
WIa=function(a){if(a&1){var b=u();E(0,"input",7,8);M("change",function(){v(b);var c=N();if(TIa(c)){var d=Uo(c);UIa(c);VIa(c,!0);Uo(c).focus();d.scrollTop=c.scrollPosition;d.selectionEnd=c.textAreaLastCursorLocation;d.dispatchEvent(new KeyboardEvent("keydown"));c.contentChange.emit(c.getValue())}return x()})("keyup",function(c){v(b);var d=N();document.activeElement===Vo(d)&&("Enter"===c.key||"Tab"===c.key?(d.taggingInProgress=!1,VIa(d,!0),Uo(d).focus()):VIa(d));return x()});G()}a&2&&(a=N(),D("value",
a.autocompleteUserName))},XIa=function(a){a&1&&I(0,"div",9,10)},YIa=function(a){a&1&&Gf(0)},ZIa=function(a){a&1&&Gf(0)},$Ia=function(a){a&1&&(E(0,"span",7),Mf(1,1),G())},aJa=function(a){a&1&&(E(0,"span",8),Mf(1,2),G())},bJa=function(a){a&1&&(E(0,"span",8),Mf(1,1),E(2,"span",9),qd(),E(3,"svg",10),I(4,"path",11),G()()())},cJa=function(a){a&1&&(E(0,"span",12),Mf(1,2),G())},dJa=function(a){a&1&&(E(0,"button",16)(1,"span"),R(2,"Edit"),G(),I(3,"b-icon",17),G());if(a&2){a=N();var b=Q(7);D("disabled",a.isAnonymous)("matMenuTriggerFor",
b)}},eJa=function(a){a&1&&(E(0,"button",16)(1,"span"),R(2,"Link"),G(),I(3,"b-icon",17),G());if(a&2){a=N();var b=Q(69);D("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},fJa=function(a){a&1&&(E(0,"button",16)(1,"span"),R(2,"CC"),G(),I(3,"b-icon",17),G());if(a&2){a=N();var b=Q(85);D("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},gJa=function(a){if(a&1){var b=u();E(0,"button",3);M("click",function(){v(b);var c=N();return x(c.bulkEdit("ESTIMATED_EFFORT"))});R(1,"Estimated Effort");G()}},hJa=function(a,
b){if(a&1){var c=u();E(0,"button",3);M("click",function(){var d=v(c).$implicit,e=N();return x(e.quickBulkEdit("PRIORITY",d))});R(1);G()}a&2&&(a=b.$implicit,y(),S(" ",a," "))},iJa=function(a,b){if(a&1){var c=u();E(0,"button",3);M("click",function(){var d=v(c).$implicit,e=N();return x(e.quickBulkEdit("SEVERITY",d))});R(1);G()}a&2&&(a=b.$implicit,y(),S(" ",a," "))},jJa=function(a,b){if(a&1){var c=u();E(0,"button",3);M("click",function(){var d=v(c).$implicit,e=N();return x(e.quickBulkEdit("STATUS",d))});
R(1);G()}a&2&&(a=b.$implicit,b=N(),y(),S(" ",b.STATUS_JS_FULL_TEXT[a]," "))},kJa=function(a,b){if(a&1){var c=u();E(0,"button",18);M("click",function(){var e=v(c).$implicit,f=N();return x(f.quickBulkEdit("TYPE",e))});R(1);G()}if(a&2){a=b.$implicit;b=N();var d;D("matTooltip",null!==(d=b.constants.issueTypesShortDescriptions.get(a))&&void 0!==d?d:"");y();S(" ",b.constants.issueTypesDisplayNames.get(a)," ")}},lJa=function(a){if(a&1){var b=u();E(0,"button",5);M("click",function(){v(b);var c=N(2);return x(c.exportCsvClicked.emit())});
R(1,"Export issues to CSV ");G()}},mJa=function(a){if(a&1){var b=u();E(0,"button",5);M("click",function(){v(b);var c=N(2);return x(c.flagAsSpamClicked.emit())});R(1,"Flag issues as spam ");G()}},nJa=function(a){a&1&&(K(0),E(1,"button",1)(2,"span"),R(3,"More"),G(),I(4,"b-icon",2),G(),E(5,"mat-menu",null,3),C(7,lJa,2,0,"button",4)(8,mJa,2,0,"button",4),G(),L());if(a&2){var b=Q(6);a=N();y();D("disabled",a.isAnonymous)("matMenuTriggerFor",b);y(6);D("ngIf",a.showExportCsv);y();D("ngIf",a.showFlagIssuesAsSpam)}},
oJa=function(a){a&1&&(K(0),R(1," Network connection has been interrupted. "),L())},pJa=function(a){a&1&&R(0," Network connection has been interrupted or login credentials may have expired. ")},sJa=function(a){if(a&1){var b=u();E(0,"button",5);M("click",function(c){v(b);N(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=dh("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 k="unsafe-url"===h;h=d.noreferrer;if(f&&h){if(k)throw Error("rd");h=!1}f=d.target||"/refreshSso".target;k=[];for(var q in d)switch(q){case "width":case "height":case "top":case "left":k.push(q+"="+d[q]);break;case "target":case "noopener":case "noreferrer":break;default:k.push(q+"="+(d[q]?1:0))}q=k.join(",");pa()&&c.navigator&&c.navigator.standalone&&
f&&"_self"!=f?(d=Wo(document,"A"),e=e instanceof bh?e:qJa(e),d.href=eh(e),d.target=f,h&&(d.rel="noreferrer"),e=document.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,c,1),d.dispatchEvent(e)):h?(c=rJa("",c,f,q),e=eh(e),c&&(Xo&&ia(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),c.opener=null,""===e&&(e="javascript:''"),e=fh('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+Yo(e)+'">'),(c=c.document)&&c.write&&(c.write(hh(e)),c.close()))):((c=rJa(e,c,f,q))&&
d.noopener&&(c.opener=null),c&&d.noreferrer&&(c.opener=null));return x()});R(1," Log in again ");G()}},tJa=function(a){a&1&&(E(0,"b-callout",1)(1,"b-callout-body"),C(2,oJa,2,0,"ng-container",2)(3,pJa,1,0,"ng-template",null,3,jg),G(),E(5,"b-callout-actions"),C(6,sJa,2,0,"button",4),G()());if(a&2){var b=Q(4);a=N();D("messageType","error");y(2);D("ngIf",a.isAnonymous)("ngIfElse",b);y(4);D("ngIf",!a.isAnonymous)}},uJa=function(a){a&1&&(E(0,"a",1),R(1," Hiring!\n"),G())},vJa=function(a,b){a&1&&(E(0,"tr")(1,
"td",5),R(2),G(),E(3,"td"),R(4,":"),G(),E(5,"td",6),R(6),G()());a&2&&(a=b.$implicit,y(2),$f(a.displayAs),y(4),$f(a.description))},wJa=function(a,b){a&1&&(E(0,"thead")(1,"tr"),I(2,"th",3),E(3,"th",4),R(4),G()(),C(5,vJa,7,2,"tr",1),G());a&2&&(a=b.$implicit,y(4),$f(a.title),y(),D("ngForOf",a.hotkeys))},xJa=function(a){a=void 0===a?!1:a;var b=fya(),c=b.total,d=b.redundancyRatio;$m("after-60s","xhr","redundant",b.redundant);$m("after-60s","xhr","total",c);$m("after-60s","xhr","redundancyRatio",d);a&&(console.table(eya()),
console.log(b))},AJa=function(a,b){var c=new yJa;zJa(c,a,b);return c},zJa=function(a,b,c){var d=qa(b.snapshot),e=b.aggregatedData,f=b.userActivityStats;var h=b&&b.accessLimit?b.accessLimit.accessLevel:void 0;a.accessLevel=h;a.id=b.issueId;a.issueId=b.issueId;a.trackerId=b.trackerId;d.componentId&&(a.componentId=d.componentId);c&&c.componentPathInfo&&c.componentPathInfo.componentPathName?a.componentPath=c.componentPathInfo:a.componentPath=[String(d.componentId)];d.type&&(a.type=d.type);if(d.status){a.status=
d.status;var k;a.isClosed=!(null==(k=Fn[d.status])?0:k.open)||b.isArchived}a.priority=d.priority.substr(1);a.severity=d.severity.substr(1);a.reporter=Gi(d.reporterUser);a.assignee=Gi(d.assigneeUser);a.assigneeEmail=Ki(d.assigneeUser);a.verifier=Gi(d.verifierUser);a.verifierEmail=Ki(d.verifierUser);a.cc=Hi(d.ccUsers);a.collaborator=Hi(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=Gi(null==
(q=b.aggregatedData)?void 0:q.lastModifier);a.customFieldMap={};a.customFieldNameToIdMap={};a.customFieldValueMap={};if(c&&c.componentPathInfo&&c.componentPathInfo.allCustomField)for(c=l(c.componentPathInfo.allCustomField),h=c.next();!h.done;h=c.next())h=h.value,a.customFieldMap[String(h.customFieldId)]=h,a.customFieldNameToIdMap[h.name.toLowerCase()]=h.customFieldId;if(d.customField)for(c=l(d.customField),h=c.next();!h.done;h=c.next())h=h.value,a.customFieldValueMap[String(h.customFieldId)]=h;a.retentionState=
e?e.retentionState:void 0;a.sloId=e?""+e.sloId:"";a.sloStatus=e?e.sloStatus||null:null;a.sloStartTime=d.sloStartTime;a.sloEndTime=d.sloEndTime;a.isRead=!!a.lastViewedTime&&a.lastViewedTime>=a.majorModifiedTime;d.effort&&(a.effort=d.effort);a.issueAccessLevel=d.issueAccessLimitLevel;a.descendantCount=b.descendantCount;a.openDescendantCount=b.openDescendantCount;a.oneDayViewCount=f?f.oneDayViewCount:0;a.sevenDayViewCount=f?f.sevenDayViewCount:0;a.thirtyDayViewCount=f?f.thirtyDayViewCount:0},CJa=function(a){var b,
c;return{issuesWithSignals:gi(a,Zo,1,hi()).map(BJa),numTotalResults:null!=(b=a.getNumTotalResults())?b:0,nextPageToken:null!=(c=a.getNextPageToken())?c:""}},BJa=function(a){return{issue:fm(a.getIssue()),signals:a.getSignalsList().map(DJa)}},DJa=function(a){return{signalType:mta[cj(a,1,0)],timestamp:ak(a.getTimestamp()),commentNumbers:a.getCommentNumbersList()}},EJa=function(a){return{dismissTimestamp:ji(a,mj,1)?ak($i(a,mj,1)):void 0}},FJa=function(a){return Gta[a]},KJa=function(a,b){if(!b||!a)return GJa;
var c;return!HJa(null!=(c=b.readers)?c:[])||IJa(a)?JJa:GJa},HJa=function(a){return a.some(function(b){return void 0!==b.alias?"public"===b.alias||"public_non_google"===b.alias:!1})},IJa=function(a){return"LIMIT_VIEW"===a||"LIMIT_VIEW_TRUSTED"===a},LJa=function(a){a&1&&I(0,"bug-screensaver")},MJa=function(a){a&1&&Mf(0)},NJa=function(a){a&1&&Gf(0)},OJa=function(a){if(a&1){var b=u();E(0,"button",7,8);M("click",function(e){v(b);var f=N();return x(f.onClick(e))});C(2,NJa,1,0,"ng-container",9);G()}if(a&
2){a=N();var c=Q(1),d;D("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");pf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);y(2);D("ngTemplateOutlet",c)}},PJa=function(a){a&1&&Gf(0)},QJa=function(a){if(a&1){var b=u();E(0,"button",10,8);M("click",function(e){v(b);var f=N();return x(f.onClick(e))});C(2,PJa,1,0,"ng-container",9);G()}if(a&2){a=N();var c=Q(1),d;D("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",
null!==(d=a.tooltip)&&void 0!==d?d:"");pf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);y(2);D("ngTemplateOutlet",c)}},RJa=function(a){a&1&&Gf(0)},SJa=function(a){if(a&1){var b=u();E(0,"button",11,8);M("click",function(e){v(b);var f=N();return x(f.onClick(e))});C(2,RJa,1,0,"ng-container",9);G()}if(a&2){a=N();var c=Q(1),d;D("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");pf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);
y(2);D("ngTemplateOutlet",c)}},TJa=function(a){a&1&&Gf(0)},UJa=function(a){if(a&1){var b=u();E(0,"button",12,8);M("click",function(e){v(b);var f=N();return x(f.onClick(e))});C(2,TJa,1,0,"ng-container",9);G()}if(a&2){a=N();var c=Q(1),d;D("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");pf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);y(2);D("ngTemplateOutlet",c)}},VJa=function(a){a&1&&Gf(0)},WJa=function(a){if(a&1){var b=u();
E(0,"button",7,8);M("click",function(e){v(b);var f=N();return x(f.onClick(e))});C(2,VJa,1,0,"ng-container",9);G()}if(a&2){a=N();var c=Q(1),d;D("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");pf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);y(2);D("ngTemplateOutlet",c)}},XJa=function(a,b){a&1&&(E(0,"div")(1,"span",3),R(2,"|"),G(),E(3,"a",6),R(4,"Code of Conduct"),G()());a&2&&(a=b.ngIf,y(3),D("href",a,Pd))},ZJa=function(a){a&
1&&(E(0,"footer"),I(1,"img",1),T(2,"async"),E(3,"span",2),R(4),T(5,"async"),G(),R(6," Powered by Google "),E(7,"span",3),R(8,"|"),G(),E(9,"a",4),R(10,"Privacy"),G(),E(11,"span",3),R(12,"|"),G(),E(13,"a",5),R(14,"Terms"),G(),C(15,XJa,5,1,"div",0),T(16,"async"),G());a&2&&(a=N(),y(),D("src",V(2,3,a.trackerLogo$),Pd),y(3),S("",V(5,5,a.trackerName$)," Issue Tracker"),y(11),D("ngIf",V(16,7,a.trackerCoc$)))},$Ja=function(a,b){if(a&1){var c=u();K(0);E(1,"b-fab-segmented",1);M("clickMain",function(f){v(c);
var h=N(3);return x(h.trackClick(f))})("clickSegment",function(f){v(c);var h=N(3);return x(h.trackClick(f))});G();L()}if(a&2){a=b.ngIf;b=N().ngIf;var d=N().ngIf,e=N();y();D("label",b)("icon",a)("href",e.createIssuePath)("segments",d)}},aKa=function(a){a&1&&(K(0),C(1,$Ja,2,4,"ng-container",0),T(2,"async"),L());a&2&&(a=N(2),y(),D("ngIf",V(2,1,a.buttonIcon$)))},bKa=function(a){a&1&&(K(0),C(1,aKa,3,3,"ng-container",0),T(2,"async"),L());a&2&&(a=N(),y(),D("ngIf",V(2,1,a.buttonLabel$)))},cKa=function(){return"NEAR_SLO MENTIONED MENTIONED_NEEDS_RESPONSE UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" ")},
fKa=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:dKa(b),signals:b.signals.map(eKa),icon:ECa(b.resource),link:null!=(h=null==(e=b.resource)?void 0:e.externalLink)?h:"",priority:null,accessLevel:null}})},eKa=function(a){return{type:a.signalSpec,timestamp:a.timestamp}},iKa=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,k,q,t,w,z,F,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!=(z=null==(e=b.issue)?void 0:null==(f=e.snapshot[0])?void 0:f.title)?z:"",lastAlertTimestamp:gKa(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:hKa(b.issue),accessLevel:null!=(F=null==(k=b.issue)?
void 0:null==(q=k.accessLimit)?void 0:q.accessLevel)?F:null,hotlistIds:null!=(J=null==(t=b.issue)?void 0:null==(w=t.snapshot[0])?void 0:w.hotlistId)?J:[]}})},dKa=function(a){return a.signals.sort(function(b,c){var d,e;return(null!=(d=on(c.timestamp))?d:0)-(null!=(e=on(b.timestamp))?e:0)})[0].timestamp},gKa=function(a){var b=a.signals.sort(function(d,e){var f,h,k,q;return(null!=(k=null==(f=hFa(e.timestamp))?void 0:f.getTime())?k:0)-(null!=(q=null==(h=hFa(d.timestamp))?void 0:h.getTime())?q:0)})[0].timestamp;
if(!b||0===on(b)){a=a.issue.majorModifiedTimeMicros;var c;return{seconds:Math.floor((null!=(c=Csa(a))?c:0)/1E3),nanos:a%1E6*1E3}}return b},jKa=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,r(a)):f.push.apply(f,r(a.filter(function(k){return c.includes(k.type)}).filter(function(k){return on(k.lastAlertTimestamp)>h})));c.includes("BUGANIZER")&&!e&&f.push.apply(f,r(b.filter(function(k){return on(k.lastAlertTimestamp)>h})));return f.sort(function(k,
q){return on(q.lastAlertTimestamp)-on(k.lastAlertTimestamp)})},kKa=function(a){return fKa(CCa(a.results))},lKa=function(a){return iKa(a.issuesWithSignals)},oKa=function(a){return a.results.map(function(b){var c=b.task;if(c){var d,e,f=c.taskId,h=c.taskResourceType,k=c.title,q=mKa(b);b=nKa(b.signals);if(c.issueResource){var t=c.issueResource.priority;t="P0"===t||"P1"===t?t:null}else t=null;return{id:f,type:h,description:k,lastAlertTimestamp:q,signals:b,link:c.externalLink,icon:FCa(c),priority:t,accessLevel:null!=
(e=null==(d=c.issueResource)?void 0:d.accessLevel)?e:null,hotlistIds:c.issueResource?c.issueResource.hotlistIds:[],issueId:1===rFa(c.taskId).length?rFa(c.taskId)[0]:null}}}).filter(Bi)},nKa=function(a){return a.map(function(b){var c={timestamp:b.timestamp,type:"DRIVE_SIGNAL_UNSPECIFIED"};b.driveAlert&&(c.type=b.driveAlert.signal);b.changelistAlert&&(c.type=b.changelistAlert.signal);b.issueAlert&&(c.type=b.issueAlert.signal,c.commentNumbers=b.issueAlert.commentNumbers);return c})},mKa=function(a){return a.signals.sort(function(b,
c){var d,e;return(null!=(d=on(c.timestamp))?d:0)-(null!=(e=on(b.timestamp))?e:0)})[0].timestamp},$o=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":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 "NEAR_SLO":case "REPLIED_TO_MENTION":case "NEWLY_ASSIGNED_TO_ME":return 1;
default:return 2}},pKa=function(a){var b=a[0],c=$o(b);a=l(a);for(var d=a.next();!d.done;d=a.next())d=d.value,$o(d)<c&&(b=d,c=$o(b));return b},hKa=function(a){a=null==a?void 0:a.snapshot[0].priority;return"P0"===a||"P1"===a?a:null},qKa=function(a){switch(kl(a,ap)){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("ud");}},rKa=function(a){var b=new bp;"HOTLIST"===a.resourceType&&a.hotlistId&&b.setHotlist((new cp).setHotlistId(a.hotlistId).setHotlist((new Nn).setName(a.name).setDescription(a.description)));
"SAVED_SEARCH"===a.resourceType&&a.savedSearchId&&b.setSavedSearch((new dp).setSavedSearchId(a.savedSearchId).setSavedSearch((new ep).setName(a.name).setDescription(a.description)));return b},sKa=function(a){var b=a.getArchived(),c=a.getBookmarkGroupId_asLegacyNumberOrString(),d=a.getDescription();var e=gi(a,bp,5,hi());return{archived:b,bookmarkGroupId:c,description:d,item:e.map(qKa),name:a.getName(),adminUsers:a.getOwnersList().map(wi)}},tKa=function(a){return sKa(a.getIt())},uKa=function(a){a=gi(a,
fp,2,hi());return(null!=a?a:[]).map(sKa)},vKa=function(a){a&1&&Gf(0)},wKa=function(a){a&1&&Gf(0)},xKa=function(a){a&1&&(K(0),C(1,wKa,1,0,"ng-container",1),L());a&2&&(a=N(),y(),D("ngTemplateOutlet",a.content))},yKa=function(a){a&1&&R(0," Archived ")},zKa=function(a){a&1&&(E(0,"button",16),M("click",function(c){return c.stopPropagation()}),I(1,"mat-icon",17),G());if(a&2){N();var b=Q(5);D("matMenuTriggerFor",b)}},AKa=function(a){if(a&1){var b=u();E(0,"button",18);M("click",function(){v(b);var c=N(3).$implicit;
return x(c.unstar())});R(1," Unstar ");G()}},BKa=function(a){if(a&1){var b=u();E(0,"button",18);M("click",function(){v(b);var c=N(3).$implicit;return x(c.unarchive())});R(1," Unarchive ");G()}},CKa=function(a){if(a&1){var b=u();E(0,"button",18);M("click",function(){v(b);var c=N(2).$implicit,d=N(3);return x(d.handleBookmarkGroupOpen(c.id))});R(1," Open ");G();E(2,"button",18);M("click",function(){v(b);var c=N(2).$implicit,d=N(3);return x(d.handleBookmarkGroupDashboard(c.id))});R(3," Dashboard ");G();
E(4,"button",18);M("click",function(){v(b);var c=N(2).$implicit,d=N(3);return x(d.openEditBookmarkGroup(c.id))});R(5," Settings ");G();C(6,AKa,2,0,"button",19)(7,BKa,2,0,"button",19)}a&2&&(a=N(2).$implicit,y(6),D("ngIf",a.isUnstarable()),y(),D("ngIf",a.isEditable()))},DKa=function(a){a&1&&(E(0,"div",11)(1,"span",12),R(2),G(),C(3,zKa,2,1,"button",13),E(4,"mat-menu",null,14),C(6,CKa,8,2,"ng-template",15),G()());a&2&&(a=N().$implicit,rf("id","bv2-user-archived-bookmarkgroup-item-",a.id,""),y(2),$f(a.name),
y(),D("ngIf",a))},EKa=function(a,b){if(a&1){var c=u();E(0,"li",22)(1,"a",23);M("click",function(d){var e=v(c).$implicit,f=N(5);return x(f.onAnchorClick(e.href,d))});E(2,"span",12);R(3);G()()()}a&2&&(a=b.$implicit,b=N(2).$implicit,yf("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),ela("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),D("title",a.name),y(),D("href",a.href,Pd),y(2),S(" ",a.name,
" "))},FKa=function(a){a&1&&(E(0,"ul",20),C(1,EKa,4,12,"li",21),G());a&2&&(a=N().$implicit,y(),D("ngForOf",a.items))},GKa=function(a,b){a&1&&(E(0,"li",7)(1,"sidebar-zippy",8),C(2,DKa,7,3,"ng-template",null,9,jg)(4,FKa,2,1,"ng-template",null,10,jg),G()());if(a&2){a=b.$implicit;var c=Q(3),d=Q(5);D("title",a.name);y();D("header",c)("content",d)}},HKa=function(a){a&1&&(E(0,"button",28),I(1,"mat-icon",17),G());if(a&2){N();var b=Q(6);D("matMenuTriggerFor",b)}},IKa=function(a){if(a&1){var b=u();E(0,"button",
18);M("click",function(){v(b);var c=N(2).$implicit;return x(c.unstar())});R(1," Unstar ");G()}},JKa=function(a){if(a&1){var b=u();E(0,"button",18);M("click",function(){v(b);var c=N(2).$implicit;return x(c.unarchive())});R(1," Unarchive ");G()}},KKa=function(a){if(a&1){var b=u();E(0,"button",18);M("click",function(){v(b);var c=N().$implicit,d=N(3);return x(d.openEditHotlist(c.id))});R(1," Settings ");G();C(2,IKa,2,0,"button",19)(3,JKa,2,0,"button",19)}a&2&&(a=N().$implicit,y(2),D("ngIf",a.isUnstarable()),
y(),D("ngIf",a.isEditable()))},LKa=function(a,b){if(a&1){var c=u();E(0,"li",24)(1,"a",25);M("click",function(d){var e=v(c).$implicit,f=N(3);return x(f.onAnchorClick(e.href,d))});E(2,"span",12);R(3);G()();C(4,HKa,2,1,"button",26);E(5,"mat-menu",null,27);C(7,KKa,4,2,"ng-template",15);G()()}a&2&&(a=b.$implicit,yf("selected",a.isSelected()),Nf("id","bv2-user-hotlists-archived-hotlist-item-",a.id,""),D("title",a.name),y(),D("href",a.href,Pd),y(2),$f(a.name),y(),D("ngIf",a))},MKa=function(a){a&1&&(E(0,
"ul",4),C(1,GKa,6,3,"li",5)(2,LKa,8,7,"li",6),G());a&2&&(a=N(2),y(),D("ngForOf",a.bookmarkGroups),y(),D("ngForOf",a.hotlists))},NKa=function(a){a&1&&(E(0,"div"),I(1,"hr"),E(2,"sidebar-zippy",1),C(3,yKa,1,0,"ng-template",null,2,jg)(5,MKa,3,2,"ng-template",null,3,jg),G()());if(a&2){var b=Q(4),c=Q(6);y(2);D("header",b)("content",c)}},OKa=function(a){var b={attributeFilter:["aria-label","aria-valuenow"]};return new W.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)})},PKa=function(a){a&1&&(qd(),E(0,"svg",11),I(1,"circle",12),G());a&2&&(a=N(),pf("viewBox",a._viewBox()),y(),xf("stroke-dasharray",a._strokeCircumference(),"px")("stroke-dashoffset",a._strokeCircumference()/2,"px")("stroke-width",a._circleStrokeWidth(),"%"),pf("r",a._circleRadius()))},QKa=function(){return{diameter:100}},RKa=function(a){a&1&&I(0,"mat-spinner",2);
a&2&&(a=N(),D("diameter",36),pf("aria-label",a.ariaLabel))},SKa=function(a){a&1&&I(0,"mat-spinner",3);a&2&&(a=N(),D("diameter",16)("strokeWidth",2),pf("aria-label",a.ariaLabel))},TKa=function(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}},UKa=function(a,b){a&1&&(E(0,"div",0,1),Mf(2),G());a&2&&(a=b.id,b=N(),D("id",b.id)("ngClass",b._classList),pf("aria-label",b.ariaLabel||null)("aria-labelledby",b._getPanelAriaLabelledby(a)))},VKa=
function(a){a&1&&I(0,"b-spinner")},WKa=function(a){if(a&1){var b=u();E(0,"b-star-toggle",15);M("starClicked",function(){v(b);var c=N().$implicit,d=N();return x(d.toggleStar(c))});G()}a&2&&(a=N().$implicit,D("starMessage","Star this item")("unStarMessage","Un-star this item")("starred",a.isStarred))},XKa=function(a){a&1&&I(0,"b-hotlist-card",16);a&2&&(a=N().$implicit,D("hotlist",a))},YKa=function(a){a&1&&I(0,"b-bookmark-group-card",17);a&2&&(a=N().$implicit,D("bookmarkGroup",a))},ZKa=function(a,b){a&
1&&(E(0,"mat-option",8)(1,"div",9),C(2,WKa,1,3,"b-star-toggle",10),E(3,"onedev-hovercard",null,11),C(5,XKa,1,1,"b-hotlist-card",12)(6,YKa,1,1,"b-bookmark-group-card",13),G(),E(7,"span",14),R(8),G()()());if(a&2){a=b.$implicit;var c=Q(4);b=N();D("value",a);y();yf("bv2-bookmark-group",b.showHotlists&&a.isGroup);y();D("ngIf",b.shouldShowStar(a));y(3);D("ngIf",!a.isGroup);y();D("ngIf",!!a.isGroup);y();D("onedevHovercardTrigger",c);y();$f(a.name)}},$Ka=function(){return Xja(function(){return(0,W.from)(Promise.resolve(void 0))})},
aLa=function(a){a&1&&I(0,"a",1)},bLa=function(a){if(a&1){var b=u();E(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-hotlist-search",3);M("itemSelect",function(c){v(b);var d=N();d.itemSelect.emit(c);d.dialog.disabled=!0;d.dialog.disabled=!1;return x()});G()()()}a&2&&(a=N(),y(2),D("showGroups",a.showGroups)("showHotlists",a.showHotlists)("allowStarring",a.allowStarring)("focusOnInit",!0))},cLa=function(a){if(a&1){var b=u();E(0,"span");R(1,"Bookmark groups");G();E(2,"b-hotlist-search-popup",
4);M("itemSelect",function(c){v(b);var d=N();c.isGroup&&d.handleBookmarkGroupOpen(c.bookmarkGroupId);return x()})("click",function(c){return c.stopPropagation()});G()}a&2&&(y(2),D("showHotlists",!1))},dLa=function(a){a&1&&(E(0,"button",17),M("click",function(c){return c.stopPropagation()}),I(1,"mat-icon",18),G());if(a&2){N();var b=Q(5);D("matMenuTriggerFor",b)}},eLa=function(a){if(a&1){var b=u();E(0,"button",19);M("click",function(){v(b);var c=N(3).$implicit;return x(c.unstar())});R(1," Unstar ");
G()}},fLa=function(a){if(a&1){var b=u();E(0,"button",19);M("click",function(){v(b);var c=N(3).$implicit;return x(c.archive())});R(1," Archive ");G()}},gLa=function(a){if(a&1){var b=u();E(0,"button",19);M("click",function(){v(b);var c=N(3).$implicit;return x(c.setAsPreferredHomepage())});R(1," Set as homepage ");G()}},hLa=function(a){if(a&1){var b=u();E(0,"button",19);M("click",function(){v(b);var c=N(2).$implicit,d=N(3);return x(d.handleBookmarkGroupOpen(c.id))});R(1," Open ");G();E(2,"button",19);
M("click",function(){v(b);var c=N(2).$implicit,d=N(3);return x(d.handleBookmarkGroupDashboard(c.id))});R(3," Dashboard ");G();E(4,"button",19);M("click",function(){v(b);var c=N(2).$implicit,d=N(3);return x(d.editBookmarkGroup(c.id))});R(5," Settings ");G();C(6,eLa,2,0,"button",20)(7,fLa,2,0,"button",20)(8,gLa,2,0,"button",20)}a&2&&(a=N(2).$implicit,y(6),D("ngIf",a.isUnstarable()),y(),D("ngIf",a.isEditable()),y(),D("ngIf",!a.isPreferredHomepage()))},iLa=function(a){a&1&&(E(0,"div",12)(1,"span",13),
R(2),G(),C(3,dLa,2,1,"button",14),E(4,"mat-menu",null,15),C(6,hLa,9,3,"ng-template",16),G()());a&2&&(a=N().$implicit,rf("id","bv2-user-bookmarkgroup-item-",a.id,""),y(2),$f(a.name),y(),D("ngIf",a))},jLa=function(a){a&1&&(E(0,"button",27),I(1,"mat-icon",18),G());if(a&2){N();var b=Q(6);D("matMenuTriggerFor",b)}},kLa=function(a){if(a&1){var b=u();E(0,"button",19);M("click",function(){v(b);var c=N(2).$implicit;return x(c.unstar())});R(1," Unstar ");G()}},lLa=function(a){if(a&1){var b=u();E(0,"button",
19);M("click",function(){v(b);var c=N(2).$implicit;return x(c.setAsPreferredHomepage())});R(1," Set as homepage ");G()}},mLa=function(a){if(a&1){var b=u();E(0,"button",19);M("click",function(){v(b);var c=N().$implicit,d=N(5);"HOTLIST"===c.type?d.location.setUrl(d.paths.editHotlist(c.id)):d.location.setUrl(d.paths.editSavedSearch(c.id));return x()});R(1," Settings ");G();C(2,kLa,2,0,"button",20)(3,lLa,2,0,"button",20)}a&2&&(a=N().$implicit,y(2),D("ngIf",a.isUnstarable()),y(),D("ngIf",!a.isPreferredHomepage()))},
nLa=function(a,b){if(a&1){var c=u();E(0,"li",23)(1,"a",24);M("click",function(d){var e=v(c).$implicit,f=N(5);return x(f.onAnchorClick(e.href,d))});E(2,"span",13);R(3);G()();C(4,jLa,2,1,"button",25);E(5,"mat-menu",null,26);C(7,mLa,4,2,"ng-template",16);G()()}a&2&&(a=b.$implicit,b=N(2).$implicit,yf("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),ela("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",
a.id,""),D("title",a.getDisplayName()),y(),D("href",a.href,Pd),y(2),S(" ",a.getDisplayName()," "),y(),D("ngIf",b))},oLa=function(a){a&1&&(E(0,"ul",21),C(1,nLa,8,13,"li",22),G());a&2&&(a=N().$implicit,y(),D("ngForOf",a.items))},pLa=function(a,b){a&1&&(E(0,"li",8)(1,"sidebar-zippy",9),C(2,iLa,7,3,"ng-template",null,10,jg)(4,oLa,2,1,"ng-template",null,11,jg),G()());if(a&2){a=b.$implicit;var c=Q(3),d=Q(5);D("title",a.name);y();D("header",c)("content",d)("expanded",!1)}},qLa=function(a){a&1&&(E(0,"ul",
6),C(1,pLa,6,4,"li",7),G());a&2&&(a=N(2),y(),D("ngForOf",a.bookmarkGroups))},rLa=function(a){a&1&&C(0,qLa,2,1,"ul",5);a&2&&(a=N(),D("ngIf",a.bookmarkGroups))},sLa=function(a,b){b=void 0===b?[]:b;return"http://cl/search/cl:("+[].concat(r(a),r(b.map(function(c){return String(c.changelistNumber)}))).join("|")+")"},tLa=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(" ")},gp=function(a){return"hotlist-"+a},hp=function(a){return"savedsearch-"+a},jp=function(a){if(null!=a){if(uLa.includes(a))return a;var b=a.match(/\bhotlists?\b/)?ip(a):void 0;if(b)return"hotlist";b=a.match(/\bsavedsearch(?:es|)\b/)?ip(a):void 0;if(b)return"savedsearch";b=/\bb\/\d+\b/;b=a.match(/\bissues?\b/)||a.match(b)?ip(a):void 0;b||(a=a.trim(),b=3>a.length?!1:!!a.match(/^\d+$/));if(b)return"issue"}},
vLa=function(a){switch(jp(a)){case "hotlist":return"Hotlist";case "savedsearch":return"Saved Search";case "issue":return"Issue"}},ip=function(a){if(null!=a)return a.split(/[^\d]+/).filter(Boolean).pop()},wLa=function(a){var b=ip(a);if(null!=b)switch(jp(a)){case "hotlist":return"/hotlists/"+b;case "savedsearch":return"/savedsearches/"+b;default:return"/issues/"+b}},xLa=function(a){for(var b={},c={},d=l(a),e=d.next();!e.done;e=d.next())e=e.value,c[e.issueId]=e;d=a.slice();d.sort(function(q,t){var w,
z;return-1*((null!=(w=t.descendantCount)?w:0)-(null!=(z=q.descendantCount)?z:0))});d=l(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=l(null!=(h=f.parentIssueIds)?h:[]);for(h=f.next();!h.done;h=f.next())if(h=c[h.value],null!=h){var k=void 0;b[h.issueId]=null!=(k=b[h.issueId])?k: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]})},yLa=function(a,b){a=a.results;if(a.length<(void 0===
b?50:b))return[];a=xLa(a);a.sort(function(f,h){f=l(f);f=l(f.next().value);f.next();f=f.next().value;h=l(h);h=l(h.next().value);h.next();return h.next().value-f});b=a.filter(function(f){f=l(f);return 0<l(f.next().value).next().value}).map(function(f){f=l(f);f.next();return f.next().value}).filter(function(f){return 2<=f.descendantCount}).filter(wCa);var c={};a=l(a);for(var d=a.next();!d.done;d=a.next()){var e=l(d.value);d=e.next().value;e=e.next().value;c[e.issueId]=d}return b.map(function(f){var h,
k;return{title:null==(h=f.snapshot)?void 0:null==(k=h[0])?void 0:k.title,ref:f.issueId,suggestionRationale:f.descendantCount+" descendants and "+c[f.issueId][0]+" recent personal touchpoints."}})},zLa=function(a){return a},ALa=function(a){"UNKNOWN_SOURCE"===a&&console.error("an UNKNOWN TaskSources snuck in");return a},BLa=function(a){if(a&1){var b=u();E(0,"span");R(1,"Hotlists");G();E(2,"b-hotlist-search-popup",4);M("itemSelect",function(c){v(b);var d=N();kp(d.analytics,"hotlistSearch","goToHotlist");
d.location.setUrl(c.href);return x()})("click",function(c){return c.stopPropagation()});G()}a&2&&(y(2),D("showGroups",!1))},CLa=function(a){a&1&&(E(0,"button",14),I(1,"mat-icon",15),G());if(a&2){N();var b=Q(6);D("matMenuTriggerFor",b)}},DLa=function(a){if(a&1){var b=u();E(0,"button",17);M("click",function(){v(b);var c=N(2).$implicit,d=N(3);return x(d.addToMissionControl(c.id))});I(1,"mat-icon",19);R(2," Add to 'Home' screen ");G()}},ELa=function(a){if(a&1){var b=u();E(0,"button",17);M("click",function(){v(b);
var c=N(2).$implicit;return x(c.setAsPreferredHomepage())});I(1,"mat-icon",20);R(2," Set as preferred homepage ");G()}},FLa=function(a){if(a&1){var b=u();E(0,"button",17);M("click",function(){v(b);var c=N(2).$implicit;return x(c.unstar())});I(1,"mat-icon",21);R(2," Unstar ");G()}},GLa=function(a){if(a&1){var b=u();C(0,DLa,3,0,"button",16)(1,ELa,3,0,"button",16);E(2,"button",17);M("click",function(){v(b);var d=N().$implicit,e=N(3);return x(e.openEditHotlist(d.id))});I(3,"mat-icon",18);R(4," Settings ");
G();C(5,FLa,3,0,"button",16)}if(a&2){a=N().$implicit;var c=N(3);D("ngIf",c.ENABLE_MISSION_CONTROL);y();D("ngIf",!a.isPreferredHomepage());y(4);D("ngIf",a.isUnstarable())}},HLa=function(a,b){if(a&1){var c=u();E(0,"li",8)(1,"a",9);M("click",function(d){var e=v(c).$implicit,f=N(3);return x(f.onAnchorClick(e.href,d))});E(2,"span",10);R(3);G()();C(4,CLa,2,1,"button",11);E(5,"mat-menu",null,12);C(7,GLa,6,3,"ng-template",13);G()()}a&2&&(a=b.$implicit,yf("selected",a.isSelected()),Nf("id","bv2-user-hotlists-hotlist-item-",
a.id,""),D("title",a.name),y(),D("href",a.href,Pd),y(2),$f(a.name),y(),D("ngIf",a))},ILa=function(a){a&1&&(E(0,"ul",6),C(1,HLa,8,7,"li",7),G());a&2&&(a=N(2),y(),D("ngForOf",a.hotlists))},JLa=function(a){a&1&&C(0,ILa,2,1,"ul",5);a&2&&(a=N(),D("ngIf",a.hotlists))},KLa=function(a){a&1&&(E(0,"span"),R(1,"Saved searches"),G())},LLa=function(a){if(a&1){var b=u();E(0,"button",15);M("click",function(){v(b);var c=N(2).$implicit,d=N(3);return x(d.addToMissionControl(c.id))});I(1,"mat-icon",18);R(2," Add to 'Home' screen ");
G()}},MLa=function(a){if(a&1){var b=u();E(0,"button",15);M("click",function(){v(b);var c=N(2).$implicit;return x(c.setAsPreferredHomepage())});I(1,"mat-icon",19);R(2," Set as preferred homepage ");G()}},OLa=function(a){if(a&1){var b=u();C(0,LLa,3,0,"button",14)(1,MLa,3,0,"button",14);E(2,"button",15);M("click",function(){v(b);var d=N().$implicit,e=N(3);return x(e.openEditSavedSearch(d.id))});I(3,"mat-icon",16);R(4," Settings ");G();E(5,"button",15);M("click",function(){v(b);var d=N().$implicit,e=
N(3);return x(NLa(e,d))});I(6,"mat-icon",17);R(7," Delete ");G()}if(a&2){a=N().$implicit;var c=N(3);D("ngIf",c.ENABLE_MISSION_CONTROL);y();D("ngIf",!a.isPreferredHomepage())}},PLa=function(a,b){if(a&1){var c=u();E(0,"li",7)(1,"a",8);M("click",function(e){var f=v(c).$implicit,h=N(3);return x(h.onAnchorClick(f.href,e))});E(2,"span",9);R(3);G()();E(4,"button",10);I(5,"mat-icon",11);G();E(6,"mat-menu",null,12);C(8,OLa,8,2,"ng-template",13);G()()}if(a&2){a=b.$implicit;var d=Q(7);yf("selected",a.isSelected());
rf("id","bv2-saved-searches-search-item-",a.id,"");D("title",a.name);y();D("href",a.href,Pd);y(2);$f(a.name);y();D("matMenuTriggerFor",d)}},QLa=function(a){a&1&&(E(0,"ul",5),C(1,PLa,9,7,"li",6),G());a&2&&(a=N(2),y(),D("ngForOf",a.searches))},RLa=function(a){a&1&&C(0,QLa,2,1,"ul",4);a&2&&(a=N(),D("ngIf",a.searches))},SLa=function(a,b){for(a.has(b)&&a.delete(b);50<=a.size;)a.delete(a.keys().next().value);a.set(b,void 0)},TLa=function(a,b){var c;b=null!=(c=null==b?void 0:b.split(","))?c:[];a.clear();
c=l(b);for(b=c.next();!b.done;b=c.next())a.set(b.value,void 0)},ULa=function(a,b){a&1&&I(0,"mat-icon",26);a&2&&(a=b.$implicit,D("matBadge",99<a?"99+":a)("matBadgeHidden",0===a)("matBadgeDescription","Badge indicating "+a+" tasks need attention"))},VLa=function(a){a&1&&I(0,"mat-icon",27)},WLa=function(a){a&1&&(E(0,"button",28),I(1,"mat-icon",29),G());if(a&2){N();var b=Q(12);D("matMenuTriggerFor",b)}},YLa=function(a){if(a&1){var b=u();E(0,"button",30);M("click",function(){v(b);var c=N(2);XLa(c,"MISSION_CONTROL");
return x()});R(1," Set as homepage ");G()}},ZLa=function(a){if(a&1){var b=u();K(0);E(1,"li",21)(2,"a",6);M("click",function(d){v(b);var e=N();e.onAnchorClick(e.missionControlPath,d);return x()});C(3,ULa,1,3,"mat-icon",22);T(4,"async");T(5,"async");C(6,VLa,1,0,"ng-template",null,23,jg);R(8," Home ");G();C(9,WLa,2,1,"button",24);T(10,"async");E(11,"mat-menu",null,25);C(13,YLa,2,0,"ng-template",9);G()();L()}if(a&2){var c=Q(7);a=N();y();yf("selected",!!a.location.path().match(/^\/home\b/));y();D("href",
a.missionControlPath,Pd);y();D("ngIf",!V(4,6,a.hideBadgeInNav$)&&V(5,8,a.missionControlTaskCount$))("ngIfElse",c);y(6);D("ngIf",!V(10,10,a.isHomepageMissionControl$))}},$La=function(a){a&1&&(K(0),E(1,"button",31),I(2,"mat-icon",29),G(),L());if(a&2){N();var b=Q(13);y();D("matMenuTriggerFor",b)}},aMa=function(a){if(a&1){var b=u();E(0,"button",30);M("click",function(){v(b);var c=N();XLa(c,"ASSIGNED_TO_ME");return x()});R(1," Set as homepage ");G()}},cMa=function(a){if(a&1){var b=u();E(0,"li")(1,"a",
6);M("click",function(c){v(b);var d=N();return x(d.onAnchorClick(d.votedPath,c))});I(2,"mat-icon",32);R(3," Upvoted by me ");G()()}a&2&&(a=N(),yf("selected",bMa(a.appSearchState)),y(),D("href",a.votedPath,Pd))},dMa=function(a,b){if(a&1){var c=u();E(0,"li")(1,"a",6);M("click",function(d){var e=v(c).$implicit,f=N();return x(f.onAnchorClick(e,d))});I(2,"mat-icon",33);R(3," Recently Viewed ");G()()}a&2&&(a=b.$implicit,b=N(),yf("selected",!!b.location.path().match(/^\/recent\b/)),y(),D("href",a,Pd))},
lp=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]]}))})},mp=function(){var a=0;a=void 0===a?0:a;return new Promise(function(b){setTimeout(b,a)})},eMa=function(a){a&1&&Gf(0)},fMa=function(a){if(a&1){var b=u();E(0,"div",3);M("mouseenter",function(){v(b);var c=N();return x(c.toggle(!0))})("mouseleave",function(){v(b);var c=N();return x(c.toggle(!1))})("mousemove",function(){v(b);N().activity.next();return x()});
C(1,eMa,1,0,"ng-container",4);G()}a&2&&(a=N(),D("ngClass",a.bubbleStyle)("@fade",void 0),y(),D("ngTemplateOutlet",a.panelTemplate))},gMa=function(a){a&1&&(K(0),E(1,"span",3),R(2),G(),L());a&2&&(a=N(2),y(),yf("xs",a.compactMode),D("ngClass",a.chipClass),y(),S(" ",a.chipText," "))},hMa=function(a){a&1&&(E(0,"div",7),R(1),E(2,"a",8),R(3," Learn more"),G()());a&2&&(a=N(3),y(),S(" ",a.bubbleText," "),y(),D("href",np(a.documentationLinks),Pd))},iMa=function(a){a&1&&(E(0,"xap-bubble",4)(1,"span",5),R(2),
G(),C(3,hMa,4,2,"ng-template",null,6,jg),G());if(a&2){var b=Q(4);a=N(2);D("panelTemplate",b);y();yf("xs",a.compactMode);D("ngClass",a.chipClass);y();S(" ",a.chipText," ")}},jMa=function(a){a&1&&(K(0),C(1,gMa,3,4,"ng-container",1)(2,iMa,5,5,"ng-template",null,2,jg),L());if(a&2){var b=Q(3);a=N();y();D("ngIf",a.labelOnlyMode)("ngIfElse",b)}},kMa=function(a){a&1&&(K(0),R(1," Trackers are distinct communities with their own branding. "),L())},lMa=function(a){a&1&&(E(0,"a",10),R(1,"Learn More"),G());a&
2&&(a=N(2),D("href",a.documentationLinks.baseDocumentationUrl+"/concepts/trackers",Pd))},mMa=function(a){a&1&&(K(0),E(1,"button",1),I(2,"img",2)(3,"img",3),E(4,"span",4),R(5),G()(),E(6,"onedev-hovercard",null,5)(8,"div",6)(9,"div",7)(10,"span",8),R(11),C(12,kMa,2,0,"ng-container",0),G(),E(13,"div",9)(14,"a",10),R(15),G(),C(16,lMa,2,1,"a",11),G()()()(),L());if(a&2){var b=Q(7);a=N();y();yf("xs",a.compactMode);D("onedevHovercardTrigger",b)("onedevHovercardActive",a.showHovercard);y();D("src",a.logoLight,
Pd);y();D("src",a.logoDark,Pd);y(2);$f(a.name);y(6);S(" This component or issue is part of ",a.extendedName,". ");y();D("ngIf",!a.isGlobalBuganizer);y(2);D("href",a.redirectUrl,Pd);y();S("View ",a.extendedName,"");y();D("ngIf",!a.isGlobalBuganizer)}},nMa=function(a){a&1&&(I(0,"b-tracker-chip",1),T(1,"async"));a&2&&(a=N(),D("tracker",V(1,4,a.tracker$)||void 0)("compactMode",a.compactMode)("showHovercard",a.showHovercard)("isGlobalBuganizer",a.isGlobalBuganizer))},oMa=function(a){a&1&&(K(0),I(1,"mat-icon",
11),L())},pMa=function(a){if(a&1){var b=u();K(0);E(1,"button",12);M("mousedown",function(c){v(b);var d=N();return x(d.back(c))});I(2,"mat-icon",13);G();L()}},qMa=function(a){if(a&1){var b=u();K(0);E(1,"button",14);M("mousedown",function(c){v(b);var d=N();return x(d.expand(d.componentOption,c))});I(2,"mat-icon",15);G();L()}a&2&&(a=N(),y(),D("matTooltip","View child components of "+a.componentOption.name),pf("aria-label","View child components of "+a.componentOption.name),y(),D("svgIcon",a.showFolderSpecialIcon?
"folder_special_24px":"folder"))},rMa=function(a){if(a&1){var b=u();K(0);E(1,"a",19);M("mousedown",function(d){v(b);var e=N().$implicit;N(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return x()});T(2,"boldPrefixMatches");T(3,"toString");G();L()}if(a&2){a=N().$implicit;var c=N(2);y();D("innerHtml",ig(2,1,V(3,4,a.name),c.query),Od)}},sMa=function(a){a&1&&R(0);a&2&&(a=N().$implicit,S(" ",a.name," "))},tMa=function(a){a&1&&(K(0),R(1,"\u00a0>\u00a0"),L())},uMa=function(a,b){a&
1&&(K(0),C(1,rMa,4,6,"ng-container",6)(2,sMa,1,1,"ng-template",null,17,jg)(4,tMa,2,0,"ng-container",18),L());if(a&2){a=b.$implicit;b=b.last;var c=Q(3);y();D("ngIf",a.name!=a.id)("ngIfElse",c);y(3);D("ngIf",!b)}},vMa=function(a){a&1&&(K(0),C(1,uMa,5,3,"ng-container",16),L());a&2&&(a=N(),y(),D("ngForOf",a.componentOption.componentPath))},wMa=function(a,b){if(a&1){var c=u();K(0);E(1,"a",20);M("mousedown",function(d){var e=v(c).ngIf;N(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();
return x()});R(2);G();L()}a&2&&(a=b.ngIf,y(2),S(" ",a.name," "))},xMa=function(a){a&1&&C(0,wMa,3,1,"ng-container",18);a&2&&(a=N(),D("ngIf",a.componentOption.componentPath[a.componentOption.componentPath.length-1]))},yMa=function(a){a&1&&(E(0,"span",21),R(1," [Archived] "),G())},zMa=function(a){return{type:"team",id:a.teamId,name:a.name,description:a.description,pathNames:a.pathNames,pathIds:a.pathIds,expanded:!1}},AMa=function(a){return{type:"team",id:a.id,name:a.name,description:a.description,expanded:!1}},
BMa=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,k){return{id:h,name:f[k],pathText:f.slice(0,k+1).join(" > ")}});return{type:"component",id:a.componentId,name:a.name,description:a.description,accessLimit:a.accessLimit,archived:a.archived,componentPath:b,trackerId:a.trackerId}},CMa=function(a){return new Map([].concat(r(a.entries())).map(function(b){var c=l(b);b=c.next().value;c=c.next().value;return[b,
c.map(AMa)]}))},DMa=function(a){a&1&&I(0,"img",5);a&2&&(a=N(),pf("src",a.getLogoUrl(),Pd))},EMa=function(a){a&1&&(E(0,"span",9),R(1,"no components"),G())},FMa=function(a){a&1&&(E(0,"div",6),I(1,"div",7),T(2,"boldPrefixMatches"),C(3,EMa,2,0,"span",8),G());a&2&&(a=N(),y(),D("innerHtml",ig(2,2,a.teamOption.name,a.query),Od),y(2),D("ngIf",a.hasNoComponent))},GMa=function(a){if(a&1){var b=u();K(0);E(1,"a",15);M("mousedown",function(c){v(b);var d=N(2).index,e=N(2);d=null==e.teamOption.pathIds?null:e.teamOption.pathIds[d];
c.preventDefault();c.stopPropagation();d&&e.selectTeamId.emit(d);return x()});R(2);G();L()}a&2&&(a=N(2).$implicit,y(2),$f(a))},HMa=function(a){a&1&&R(0);a&2&&(a=N(2).$implicit,$f(a))},IMa=function(a){a&1&&(K(0),C(1,GMa,3,1,"ng-container",12)(2,HMa,1,1,"ng-template",null,14,jg),K(4),R(5," \u00b7 "),L()());if(a&2){var b=Q(3);a=N(3);y();D("ngIf",a.allowSegmentSelection)("ngIfElse",b)}},JMa=function(a){a&1&&(K(0),E(1,"strong",17),R(2),G(),L());a&2&&(a=N(2).$implicit,y(2),$f(a))},KMa=function(a){a&1&&
R(0);a&2&&(a=N(2).$implicit,$f(a))},LMa=function(a){a&1&&C(0,JMa,3,1,"ng-container",12)(1,KMa,1,1,"ng-template",null,16,jg);if(a&2){var b=Q(2);a=N(3);D("ngIf",a.compact)("ngIfElse",b)}},MMa=function(a,b){a&1&&(K(0),C(1,IMa,6,2,"ng-container",12)(2,LMa,3,2,"ng-template",null,13,jg),L());if(a&2){a=b.last;var c=Q(3);y();D("ngIf",!a)("ngIfElse",c)}},NMa=function(a){a&1&&(E(0,"div",10),C(1,MMa,4,2,"ng-container",11),G());a&2&&(a=N(),y(),D("ngForOf",a.teamOption.pathNames))},OMa=function(){var a=Gc(Tg),
b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},PMa=function(a){if(a&1){var b=u();E(0,"button",9);M("mousedown",function(c){v(b);N().clearQuery();return x(op(c))});I(1,"mat-icon",10);G()}},QMa=function(a){a&1&&(E(0,"div",13),R(1," Checking for admin access... "),G())},RMa=function(a){a&1&&(E(0,"div",15),R(1," You do not have admin access to this component. "),E(2,"a",16),R(3,"View component admins"),G()());a&2&&(a=N(3),y(2),D("href",a.paths.manageComponent(a.selectedComponent.componentId,
"access"),Pd))},SMa=function(a){a&1&&C(0,RMa,4,1,"div",14);a&2&&(a=N(2),D("ngIf",!a.hasAccess&&a.selectedComponent))},TMa=function(a){a&1&&(E(0,"div"),C(1,QMa,2,0,"div",11)(2,SMa,1,1,"ng-template",null,12,jg),G());if(a&2){var b=Q(3);a=N();y();D("ngIf",a.checkingAccess)("ngIfElse",b)}},UMa=function(a){a&1&&I(0,"mat-progress-bar",24)},VMa=function(a){a&1&&(K(0),R(1,"s"),L())},XMa=function(a,b){if(a&1){var c=u();K(0);E(1,"div",30);M("mousedown",function(e){var f=v(c).$implicit,h=N(5);WMa(h.searchState,
f);return x(op(e))});E(2,"team-row",31);M("selectTeamId",function(e){v(c);var f=N(5);return x(pp(f.searchState,e))});G()();L()}if(a&2){a=b.$implicit;b=N(5);var d=Q(3);y();D("data",a);y();D("teamOption",a)("query",d.value)("hasNoComponent",b.searchState.hasNoComponent(a.id))}},YMa=function(a){a&1&&(E(0,"div",27)(1,"div",28),R(2," Filter components by my teams "),E(3,"span"),R(4),C(5,VMa,2,0,"ng-container",5),G()(),C(6,XMa,3,4,"ng-container",29),I(7,"mat-divider"),G());a&2&&(a=N().ngIf,y(4),S("",a.length,
" team"),y(),D("ngIf",1<a.length),y(),D("ngForOf",a))},ZMa=function(a,b){a&1&&(K(0),C(1,YMa,8,3,"div",26),L());a&2&&(a=b.ngIf,y(),D("ngIf",a.length))},$Ma=function(a){a&1&&Gf(0)},bNa=function(a){a&1&&(K(0),C(1,ZMa,2,1,"ng-container",5),T(2,"async"),C(3,$Ma,1,0,"ng-container",25),L());if(a&2){a=N(2);var b=Q(12);y();D("ngIf",V(2,3,a.searchState.myTeams$));y(2);D("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(5,aNa,a.searchState.recentComponents))}},cNa=function(a){a&1&&(K(0),R(1,"s"),L())},dNa=
function(a){a&1&&Gf(0)},gNa=function(a,b){a&1&&(K(0),C(1,dNa,1,0,"ng-container",25),L());if(a&2){a=b.$implicit;b=b.index;N(5);var c=Q(10);y();D("ngTemplateOutlet",c)("ngTemplateOutletContext",gg(4,eNa,a,fg(2,fNa,b)))}},hNa=function(a){if(a&1){var b=u();E(0,"button",33);M("mousedown",function(){v(b);var c=N(5);return x(c.searchState.showAllTeams$.next(!0))});I(1,"mat-icon",34);R(2," Show all teams ");G()}},iNa=function(a,b){a&1&&(E(0,"div",27)(1,"div",28),R(2," Filter components by teams "),E(3,"span"),
R(4),C(5,cNa,2,0,"ng-container",5),G()(),C(6,gNa,2,7,"ng-container",29),T(7,"async"),C(8,hNa,3,0,"button",32),T(9,"async"),I(10,"mat-divider"),G());a&2&&(a=b.ngIf,b=N(4),y(4),S("",a," team"),y(),D("ngIf",1<a),y(),D("ngForOf",V(7,4,b.searchState.filteredTeamOptions$)),y(2),D("ngIf",V(9,6,b.searchState.hasHiddenTeams$)))},jNa=function(a,b){a&1&&(K(0),C(1,iNa,11,8,"div",26),L());a&2&&(a=b.ngIf,y(),D("ngIf",a.length))},kNa=function(a){a&1&&Gf(0)},mNa=function(a){a&1&&(K(0),C(1,jNa,2,1,"ng-container",
5),T(2,"async"),C(3,kNa,1,0,"ng-container",25),L());if(a&2){a=N(2);var b=Q(12);y();D("ngIf",V(2,3,a.searchState.teamOptions$));y(2);D("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(5,lNa,a.searchState.componentOptions))}},nNa=function(a){a&1&&Gf(0)},pNa=function(a,b){a&1&&(K(0),C(1,nNa,1,0,"ng-container",25),L());if(a&2){a=b.$implicit;b=b.index;N(7);var c=Q(10);y();D("ngTemplateOutlet",c)("ngTemplateOutletContext",gg(4,eNa,a,fg(2,oNa,b)))}},qNa=function(a){a&1&&(E(0,"div",42),C(1,pNa,2,7,"ng-container",
29),G());a&2&&(a=N(2).ngIf,y(),D("ngForOf",a))},tNa=function(a){if(a&1){var b=u();K(0);C(1,qNa,2,1,"div",41);E(2,"button",33);M("mousedown",function(c){v(b);var d=N(5),e=d.searchState.teamScope$.value;e.expanded?rNa(d.searchState,e):sNa(d.searchState,e);return x(op(c))});I(3,"mat-icon",34);R(4);G();L()}a&2&&(a=N(5),y(),D("ngIf",a.searchState.teamScope$.value.expanded),y(2),yf("expanded",a.searchState.teamScope$.value.expanded),y(),S(" ",a.searchState.teamScope$.value.expanded?"Hide":"Show"," child teams "))},
uNa=function(a,b){a&1&&(K(0),C(1,tNa,5,4,"ng-container",5),L());a&2&&(a=b.ngIf,y(),D("ngIf",a.length))},xNa=function(a){if(a&1){var b=u();E(0,"div",36)(1,"div",28);R(2," Filtering by team: ");G();E(3,"div",37)(4,"team-row",38);M("selectTeamId",function(d){v(b);var e=N(3);return x(pp(e.searchState,d))});G();E(5,"button",39);M("mousedown",function(d){v(b);var e=N(3);vNa(e.searchState);return x(op(d))});I(6,"mat-icon",40);G()();C(7,uNa,2,1,"ng-container",5);G()}if(a&2){a=N(3);var c=Q(3);y(3);D("data",
a.searchState.teamScope$.value)("listOrder",eg(7,wNa));y();D("teamOption",a.searchState.teamScope$.value)("query",c.value)("compact",!0)("allowSegmentSelection",!0);y(3);D("ngIf",a.searchState.getChildTeams(a.searchState.teamScope$.value.id))}},yNa=function(a){a&1&&Gf(0)},ANa=function(a){a&1&&(K(0),C(1,xNa,8,8,"div",35)(2,yNa,1,0,"ng-container",25),L());if(a&2){a=N(2);var b=Q(12);y();D("ngIf",a.searchState.teamScope$.value);y();D("ngTemplateOutlet",b)("ngTemplateOutletContext",gg(3,zNa,a.searchState.componentOptions,
a.searchState.teamScope$.value))}},DNa=function(a){if(a&1){var b=u();E(0,"div",44)(1,"div",45);R(2,"Component Tree Browser");G();E(3,"component-row",46);M("goBack",function(){v(b);var c=N(3);return x(BNa(c.searchState))})("selectComponentId",function(c){v(b);var d=N(3);return x(CNa(d.searchState,c))});G()()}a&2&&(a=N(3),y(3),D("componentOption",a.searchState.componentScope))},ENa=function(a){a&1&&Gf(0)},GNa=function(a){a&1&&(K(0),C(1,DNa,4,1,"div",43)(2,ENa,1,0,"ng-container",25),L());if(a&2){a=N(2);
var b=Q(12);y();D("ngIf",a.searchState.componentScope);y();D("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(3,FNa,a.searchState.componentOptions))}},HNa=function(a){if(a&1){var b=u();E(0,"div",17,18);M("mousedown",function(c){v(b);N();return x(op(c))});E(2,"div",19);C(3,UMa,1,0,"mat-progress-bar",20);G();E(4,"div",21);K(5,22);T(6,"async");C(7,bNa,4,7,"ng-container",23)(8,mNa,4,7,"ng-container",23)(9,ANa,3,6,"ng-container",23)(10,GNa,3,5,"ng-container",23);L();G()()}a&2&&(a=N(),y(3),D("ngIf",a.isLoading()),
y(2),D("ngSwitch",V(6,6,a.searchState.state$)),y(2),D("ngSwitchCase","default"),y(),D("ngSwitchCase","global"),y(),D("ngSwitchCase","team_scope"),y(),D("ngSwitchCase","component_scope"))},INa=function(a){if(a&1){var b=u();E(0,"button",50);M("mousedown",function(c){v(b);var d=N().team,e=N();d.expanded?rNa(e.searchState,d):sNa(e.searchState,d);return x(op(c))});I(1,"mat-icon",51);G()}a&2&&(a=N().team,y(),yf("expanded",a.expanded))},JNa=function(a){a&1&&Gf(0)},LNa=function(a,b){a&1&&(K(0),C(1,JNa,1,
0,"ng-container",25),L());if(a&2){a=b.$implicit;b=b.index;var c=N(2),d=c.level;c=c.order;N();var e=Q(10);y();D("ngTemplateOutlet",e)("ngTemplateOutletContext",hg(KNa,a,d+1,c.concat(b)))}},MNa=function(a){a&1&&(K(0),C(1,LNa,2,6,"ng-container",29),L());if(a&2){a=N().team;var b=N();y();D("ngForOf",b.searchState.getChildTeams(a.id))}},NNa=function(a,b){if(a&1){var c=u();E(0,"div",47);M("mousedown",function(h){var k=v(c).team,q=N();WMa(q.searchState,k);return x(op(h))});E(1,"div",48);C(2,INa,2,2,"button",
49);E(3,"team-row",31);M("selectTeamId",function(h){v(c);var k=N();return x(pp(k.searchState,h))});G()()();C(4,MNa,2,1,"ng-container",5)}if(a&2){a=b.team;var d=b.level;b=b.order;var e=N(),f=Q(3);D("listOrder",b)("data",a);y();xf("margin-left",28*d,"px");y();D("ngIf",e.searchState.getChildTeams(a.id).length);y();yf("indent",!e.searchState.getChildTeams(a.id).length);D("teamOption",a)("query",f.value)("hasNoComponent",e.searchState.hasNoComponent(a.id));y();D("ngIf",a.expanded)}},ONa=function(a){a&
1&&(K(0),R(1,"s"),L())},QNa=function(a,b){if(a&1){var c=u();E(0,"div",56);M("mousedown",function(f){var h=v(c).$implicit,k=N(3);PNa(k.searchState,h.id);return x(op(f))});E(1,"component-row",57);M("selectComponentId",function(f){v(c);var h=N(3);return x(PNa(h.searchState,f))})("expandComponent",function(f){v(c);var h=N(3);return x(h.searchState.expandComponent(f))});G()()}if(a&2){a=b.$implicit;b=N(2).mode;var d=N(),e=Q(3);D("data",a);y();D("showFolderSpecialIcon",d.currentTracker.inTracker)("componentOption",
a)("query",e.value)("mode",b)}},RNa=function(a,b){a&1&&(E(0,"div",54)(1,"div",28),R(2),E(3,"span"),R(4),C(5,ONa,2,0,"ng-container",5),G()(),C(6,QNa,2,5,"div",55),G());if(a&2){a=b.ngIf;var c=N();b=c.mode;c=c.$implicit;y(2);S(" ","recent"===b?"Select recent component":"Select component"," ");y(2);S("",a," component");y();D("ngIf",1<a);y();D("ngForOf",c)}},SNa=function(a){a&1&&(K(0),R(1," No recent components "),L())},TNa=function(a){a&1&&(K(0),R(1," No child components "),L())},UNa=function(a){a&1&&
(K(0),R(1),I(2,"mat-icon",61),R(3," above ("),E(4,"a",62),R(5,"learn more "),I(6,"mat-icon",63),G(),R(7," about team associations)"),L());a&2&&(a=N(4).teamScope,y(),S(" for ",a.name,". Remove the team filter by clicking on the "))},VNa=function(a){a&1&&(K(0),R(1," No components found "),C(2,UNa,8,1,"ng-container",5),L());a&2&&(a=N(3).teamScope,y(2),D("ngIf",a))},WNa=function(a){a&1&&(E(0,"div",59),K(1,22),C(2,SNa,2,0,"ng-container",23)(3,TNa,2,0,"ng-container",23)(4,VNa,3,1,"ng-container",60),L(),
G());a&2&&(a=N(2).mode,y(),D("ngSwitch",a),y(),D("ngSwitchCase","recent"),y(),D("ngSwitchCase","leaf"))},XNa=function(a){a&1&&C(0,WNa,5,3,"div",58);a&2&&(a=N(2),D("ngIf",!(a.componentLoading||a.searchState.componentsLoading)))},YNa=function(a,b){a&1&&C(0,RNa,7,4,"div",52)(1,XNa,1,1,"ng-template",null,53,jg);if(a&2){a=b.$implicit;var c=Q(2);D("ngIf",a.length)("ngIfElse",c)}},ZNa=function(a,b){b=l([a.listOrder,b.listOrder]);a=b.next().value;b=b.next().value;for(var c=0;c<Math.min(a.length,b.length);c++)if(a[c]!==
b[c])return a[c]-b[c];return a.length-b.length},$Na=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},aOa=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)},cOa=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;bOa++;var d=156;d+=12*(bOa-1);return function(e){e=void 0===e?b:e;var f,h=null!=(f=document.getElementById(a))?f:$Na(a,d);aOa(h,e,c)}},dOa=function(a,b){if(null!=b)return a.memory.getData(b)},eOa=function(a){a=a.memory.cache.values();return[].concat(r(a)).map(function(b){return b.data})},fOa=function(a,b){if(a&1){var c=u();K(0);E(1,"iframe",6);M("load",function(){v(c);var d=N();return x(d.contentLoaded=!0)});G();L()}a&
2&&(a=b.$implicit,b=N(),y(),yf("loading",!b.contentLoaded),D("src",a,Cha))},gOa=function(a){a&1&&I(0,"mat-spinner",7)},iOa=function(a){return hOa.some(function(b){return b.test(a)})},jOa=function(a){var b;return null==(b=a.formContent)?void 0:b.locale},nOa=function(a,b){var c=jOa(a);c=(c&&kOa.includes(c)?jOa(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))?
lh(lOa,a):lh(mOa,a,c)},pOa=function(a,b,c,d){if(oOa)return oOa;var e=nOa(a,d);return oOa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var k=Wo(document,"SCRIPT");Sh(k,e);k.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};k.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(k)})},rOa=function(a,b,c,d){if(qOa)return qOa;var e=nOa(a,
d);return qOa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var k=Wo(document,"SCRIPT");Sh(k,e);k.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};k.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(k)})},sOa=function(a,b,c,d,e){e=void 0===e?!0:e;var f,h,k,q,t;return ke(function(w){switch(w.nextAddress){case 1:return f=Date.now(),
me(w,pOa(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))){k=h.initializeFeedbackClient(a,f,b);w.jumpTo(3);break}return me(w,h.initializeFeedbackClientAsync(a,f,b),4);case 4:k=w.yieldResult;case 3:return k.initiateAloha(),w.return(k)}})},tOa=function(a,b,c,d){var e,f,h;return ke(function(k){if(1==k.nextAddress)return e=Date.now(),me(k,rOa(a,c,d.document,b),2);if(3!=k.nextAddress)return f=k.yieldResult,
me(k,f.initializeFeedbackClientAsync(a,e,b,d),3);h=k.yieldResult;h.initiateAloha();return k.return(h)})},uOa=function(a,b,c){var d=!0;d=void 0===d?!0:d;var e,f,h,k,q,t,w,z,F,J;return ke(function(H){e=c||ca;if(null==(f=b)?0:null==(k=(h=f).getEnableAlohaBinarySplit)?0:k.call(h)){q=e;if(q.isFormOpened)throw t=Error("Jd"),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(tOa(a,
b,q,e))}catch(O){throw q.isFormOpened=!1,O;}}else{z=e;if(z.isFormOpened)throw F=Error("Jd"),F.name="DuplicateFormError",F;z.isFormOpened=!0;a.callbacks=a.callbacks||{};J=a.callbacks.onClose||function(){};a.callbacks.onClose=function(O){z.isFormOpened=!1;J(O)};try{return H.return(sOa(a,b,z,e.document,d))}catch(O){throw z.isFormOpened=!1,O;}}})},yOa=function(a,b){return ke(function(c){return c.return(new Promise(function(d){var e=vOa(null!=b?b:"")+"/aloha_form_properties?productId="+a;qp(e,function(f){f=
f.target;var h=null;try{h=Nda(wOa,JSON.stringify(f.getResponseJson(")]}'\n")))}catch(k){f=new wOa,h=xOa(),h=Ik(h,7,!0),h=Ik(h,10,!0),h=Ik(h,12,!0),h=Ik(h,13,!1),h=Ik(h,14,!0),h=Ik(h,15,!0),h=Ik(h,20,!1),h=li(f,rp,1,h)}d(h)},"GET","",{},2E3,!0)}))})},vOa=function(a){return iOa(a)?a:"https://www.google.com/tools/feedback"},AOa=function(a){if(a&1){var b=u();E(0,"a",8);M("keydown.enter",function(){v(b);var c=N(2);return x(zOa(c))})("keydown.space",function(){v(b);var c=N(2);return x(zOa(c))})("click",
function(){v(b);var c=N(2);return x(zOa(c))});R(1," Dismiss");G()}},BOa=function(a){a&1&&(E(0,"div",4)(1,"div",5),I(2,"span",6),C(3,AOa,2,0,"a",7),G()());a&2&&(a=N(),y(2),D("innerHtml",a.announcement.message,Od),y(),D("ngIf",a.announcement.dismissible))},DOa=function(a){if(a&1){var b=u();E(0,"b-resizable-sidebar",9);M("widthChanged",function(c){v(b);var d=N();c!==d.matSidebarWidth&&(d.matSidebarWidth=c,COa(d,c));return x()});I(1,"b-sidebar");G()}a&2&&(a=N(),D("size",a.matSidebarWidth)("disableToggleBtn",
!0))},EOa=function(a){switch(a){case "COMFORTABLE":return"d-comfort";case "COZY":return"d-cozy";case "COMPACT":return"d-compact";default:return"d-comfort"}},FOa=function(a){a&1&&(E(0,"div",2),R(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. "),E(2,"a",13),R(3," Learn more "),G()());a&2&&(a=N(2),y(2),D("href",a.getRestrictedAccessHelpLink(),Pd))},HOa=function(a){a&1&&(K(0),C(1,FOa,4,
1,"div",8),L());a&2&&(a=N(),y(),D("ngIf",GOa(a)))},IOa=function(a){a&1&&(E(0,"div",2)(1,"span",14),R(2," You do not have access to view this attachment. "),G()())},JOa=function(a){a&1&&I(0,"mat-spinner",15)},KOa=function(a,b){a&1&&(K(0),E(1,"time",1),T(2,"async"),R(3),G(),L());if(a&2){a=b.ngIf;b=N();y();var c=qf(u(),"padding-left: ",b.paddingLeftPx,"px");qla(ola,pla,c,!1);D("title",a.title);pf("datetime",V(2,6,b.timestampIso$));y(2);$f(a.formatted)}},MOa=function(a){if(a&1){var b=u();E(0,"button",
10);M("click",function(){v(b);var c=N(2),d=new Yh;c.date=d;c.dateSelectionChange.emit(d);LOa(c,c.date);c.calendar._getCurrentViewComponent()._focusActiveCell(!1);c.dateChange.emit(c.date);return x(c.saveClicked.emit())});R(1,"Today");G()}},NOa=function(a){if(a&1){var b=u();E(0,"button",11);M("click",function(){v(b);var c=N(2);c.date=void 0;c.dateSelectionChange.emit(void 0);c.dateChange.emit(c.date);return x(c.saveClicked.emit())});R(1,"None");G()}},OOa=function(a){a&1&&(E(0,"div",1),C(1,MOa,2,0,
"button",8)(2,NOa,2,0,"button",9),I(3,"mat-divider"),G());a&2&&(a=N(),y(),D("ngIf",a.todayButtonEnabled),y(),D("ngIf",a.noneButtonEnabled&&!a.required))},POa=function(a){a&1&&I(0,"b-formatted-date-time",4);a&2&&(a=N(),D("date",a.value))},QOa=function(a){a&1&&(K(0),R(1,"---"),L())},ROa=function(a,b){if(a&1){var c=u();E(0,"div",8)(1,"mat-checkbox",9);M("change",function(){var d=v(c).$implicit,e=N();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 x()})("click",function(d){return d.stopPropagation()});R(2);G()()}a&2&&(a=b.$implicit,b=N(),D("title",b.getDisplayString(a)),y(),D("checked",!!b.valueMap.get(a))("indeterminate",null===b.valueMap.get(a)),y(),S(" ",b.getDisplayString(a)," "))},TOa=function(a){if(a&1){var b=u();E(0,"input",10,11);M("keydown",function(c){v(b);var d=N();"Enter"===c.key&&(SOa(d)&&d.addValue(),c.preventDefault());
return x()})("click",function(c){return c.stopPropagation()})("ngModelChange",function(c){v(b);var d=N();return x(d.filterValue=c)});G()}a&2&&(a=N(),D("type","REPEATED_NUMERIC"===a.type?"number":"text")("ngModel",a.filterValue)("placeholder","REPEATED_ENUM"===a.type?"Filter values":"Add or filter values"))},UOa=function(a){a&1&&I(0,"mat-divider")},VOa=function(a){if(a&1){var b=u();E(0,"div",12);M("click",function(c){v(b);var d=N();c.stopPropagation();return x(d.addValue())});R(1," Add ");G()}},WOa=
function(a){if(a&1){var b=u();E(0,"div")(1,"b-date-time-input",13);M("valueChange",function(c){v(b);var d=N();return x(d.currentSelectedDate=c)});G();E(2,"div",14);M("click",function(c){v(b);var d=N();c.stopPropagation();if(c=d.currentSelectedDate)d.filterValue=c?c.getMonth()+1+"/"+c.getDate()+"/"+c.getFullYear():"",d.addValue(),d.currentSelectedDate=void 0;return x()});R(3," Add ");G()()}a&2&&(a=N(),y(),D("value",a.currentSelectedDate))},XOa=function(a){if(a&1){var b=u();E(0,"div",0);M("keydown",
function(c){v(b);var d=N();return x(d.processKeydown(c))});Mf(1);G()}a&2&&(a=N(),zf(a.className),pf("id",a.id))},YOa=function(a){if(a&1){var b=u();E(0,"div",2);qd();E(1,"svg",3);I(2,"path",4);G();rd();E(3,"input",5,6);M("input",function(){v(b);var c=Q(4),d=N();return x(d.filterText$.next(c.value))});G()()}},ZOa=function(a){a&1&&Gf(0)},aPa=function(a){if(a&1){var b=u();E(0,"div",10);M("click",function(){v(b);var d=N(2);return x(d.select(void 0))});C(1,ZOa,1,0,"ng-container",11);G()}if(a&2){N();var c=
Q(4);a=N();D("option",void 0);pf("aria-selected",a.isSelected(void 0));y();D("ngTemplateOutlet",c)("ngTemplateOutletContext",eg(4,$Oa))}},bPa=function(a){a&1&&Gf(0)},dPa=function(a){if(a&1){var b=u();E(0,"div",10);M("click",function(){v(b);var e=N().$implicit,f=N(2);return x(f.select(e))});C(1,bPa,1,0,"ng-container",11);G()}if(a&2){a=N().$implicit;N();var c=Q(4),d=N();D("option",a);pf("aria-selected",d.isSelected(a));y();D("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(4,cPa,a))}},ePa=function(a,
b){a&1&&(K(0),C(1,dPa,2,6,"div",7),L());a&2&&(a=b.$implicit,y(),D("ngIf",a))},fPa=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N(2).$implicit,y(),S(" ",a," "))},gPa=function(a){a&1&&(E(0,"span",15),R(1,"--"),G())},hPa=function(a){a&1&&(K(0),C(1,fPa,2,1,"ng-container",12)(2,gPa,2,0,"ng-template",null,14,jg),L());if(a&2){var b=Q(3);a=N().$implicit;y();D("ngIf",null!=a)("ngIfElse",b)}},iPa=function(a){a&1&&Gf(0)},jPa=function(a){a&1&&C(0,iPa,1,0,"ng-container",11);if(a&2){a=N().$implicit;var b=N(2);D("ngTemplateOutlet",
b.optionTemplate)("ngTemplateOutletContext",fg(2,cPa,a))}},kPa=function(a){a&1&&C(0,hPa,4,2,"ng-container",12)(1,jPa,1,4,"ng-template",null,13,jg);if(a&2){var b=Q(2);a=N(2);D("ngIf",!a.optionTemplate)("ngIfElse",b)}},lPa=function(a,b){a&1&&(K(0),C(1,aPa,2,5,"div",7)(2,ePa,2,1,"ng-container",8)(3,kPa,3,2,"ng-template",null,9,jg),L());a&2&&(a=b.ngIf,b=N(),y(),D("ngIf",b.includeEmptyOption),y(),D("ngForOf",a))},mPa=function(a){a&1&&Gf(0)},oPa=function(a){a&1&&(K(0),C(1,mPa,1,0,"ng-container",10),L());
a&2&&(a=N(),y(),D("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",fg(2,nPa,a.value)))},pPa=function(a){a&1&&Gf(0)},qPa=function(a){a&1&&(K(0),C(1,pPa,1,0,"ng-container",10),L());a&2&&(a=N(2),y(),D("ngTemplateOutlet",a.optionTemplate)("ngTemplateOutletContext",fg(2,nPa,a.value)))},rPa=function(a){a&1&&C(0,qPa,2,4,"ng-container",3);if(a&2){a=N();var b=Q(8);D("ngIf",a.optionTemplate)("ngIfElse",b)}},sPa=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N(2),y(),S(" ",a.value," "))},tPa=function(a){a&
1&&(E(0,"span",12),R(1,"--"),G())},uPa=function(a){a&1&&C(0,sPa,2,1,"ng-container",3)(1,tPa,2,0,"ng-template",null,11,jg);if(a&2){var b=Q(2);a=N();D("ngIf",null!=a.value)("ngIfElse",b)}},vPa=function(a){a&1&&(qd(),E(0,"svg",13),I(1,"path",14),G())},wPa=function(a){a&1&&(E(0,"div"),R(1," The selected issues have no custom fields in common. "),G())},xPa=function(a){a&1&&(E(0,"span"),R(1,"*"),G())},yPa=function(a){if(a&1){var b=u();E(0,"input",16);M("ngModelChange",function(c){v(b);var d=N(2).$implicit;
return x(d.textValue=c)});G()}a&2&&(a=N(2).$implicit,N(),D("ngModel",a.textValue),pf("aria-labelledby",sp(a)))},zPa=function(a){if(a&1){var b=u();E(0,"input",17);M("ngModelChange",function(c){v(b);var d=N(2).$implicit;return x(d.numericValue=c)});G()}a&2&&(a=N(2).$implicit,N(),D("ngModel",a.numericValue),pf("aria-labelledby",sp(a)))},BPa=function(a){if(a&1){var b=u();E(0,"div")(1,"b-date-time-input",18);M("valueChange",function(e){v(b);var f=N(2).$implicit;N();return x(f.dateValue=e?hn(e):void 0)});
G()()}if(a&2){a=N(2).$implicit;var c=N(),d;y();D("value",null!==(d=APa(a.dateValue))&&void 0!==d?d:void 0)("required",c.isCustomFieldRequired(a))("customAriaLabelledBy",sp(a))("customFormId","bv2-custom-field-"+a.customFieldId)}},DPa=function(a){if(a&1){var b=u();E(0,"onedev-single-select",19);M("valueChange",function(d){v(b);var e=N(2).$implicit;return x(e.enumValue=d)});G()}if(a&2){a=N(2).$implicit;N();var c;D("value",a.enumValue)("options",null!==(c=a.allowedValue)&&void 0!==c?c:eg(3,CPa));pf("aria-labelledby",
sp(a))}},FPa=function(a){if(a&1){var b=u();E(0,"b-bulk-repeated-field-picker",20);M("onSave",function(e){v(b);var f=N(2).$implicit,h=N();return x(EPa(h,f.customFieldId,e))});G()}if(a&2){a=N(2).$implicit;var c=N(),d;D("type",c.getCustomFieldType(a))("originalValueMap",c.repeatedCustomFieldsMap.get(a.customFieldId))("enumChoices",null!==(d=a.allowedValue)&&void 0!==d?d:eg(3,CPa))}},GPa=function(a){a&1&&(K(0,10),C(1,yPa,1,2,"input",11)(2,zPa,1,2,"input",12)(3,BPa,2,4,"div",13)(4,DPa,1,4,"onedev-single-select",
14)(5,FPa,1,4,"b-bulk-repeated-field-picker",15),L());if(a&2){a=N().$implicit;var b=N();D("ngSwitch",b.getCustomFieldType(a));y();D("ngSwitchCase","TEXT");y();D("ngSwitchCase","NUMERIC");y();D("ngSwitchCase","DATE");y();D("ngSwitchCase","ENUM")}},HPa=function(a){if(a&1){var b=u();E(0,"span");R(1," Multiple values ");G();E(2,"a",21);M("click",function(){v(b);var c=N().$implicit,d=N();return x(d.clearCustomFieldValue(c))});R(3,"X");G()}},IPa=function(a,b){a&1&&(E(0,"div",5)(1,"div",6)(2,"label",7),
R(3),C(4,xPa,2,0,"span",1),G()(),C(5,GPa,6,5,"ng-template",8)(6,HPa,4,0,"ng-template",null,9,jg),G());if(a&2){a=b.$implicit;var c=Q(7);N();y(2);D("matTooltip",(a.description||"")+" [ID: "+a.customFieldId+"]");pf("id",sp(a));y();S(" ",a.name," ");y();D("ngIf",a.required);y();D("ngIf",!a.hasMultipleValues)("ngIfElse",c)}},JPa=function(a){a&1&&Mf(0,4)},KPa=function(a){a&1&&(E(0,"div",10),I(1,"input",11),E(2,"div",12),qd(),E(3,"svg",13),I(4,"path",14),G(),rd(),I(5,"div",15),G()());a&2&&(a=N(),yf("mdc-checkbox--disabled",
a.disabled),y(),D("checked",a.selected)("disabled",a.disabled))},LPa=function(a){a&1&&(E(0,"div",16),I(1,"input",17),E(2,"div",18),I(3,"div",19)(4,"div",20),G()());a&2&&(a=N(),yf("mdc-radio--disabled",a.disabled),y(),D("checked",a.selected)("disabled",a.disabled))},MPa=function(){},NPa=function(a){a&1&&(E(0,"span",21),C(1,MPa,0,0,"ng-template",4),G());if(a&2){N();var b=Q(3);y();D("ngTemplateOutlet",b)}},OPa=function(){},PPa=function(a){a&1&&(E(0,"span",22),C(1,OPa,0,0,"ng-template",4),G());if(a&2){N();
var b=Q(5);y();D("ngTemplateOutlet",b)}},QPa=function(){},RPa=function(a){a&1&&C(0,QPa,0,0,"ng-template",4);if(a&2){N();var b=Q(1);D("ngTemplateOutlet",b)}},SPa=function(){},TPa=function(a){a&1&&(E(0,"span",23),C(1,SPa,0,0,"ng-template",4),G());if(a&2){N();var b=Q(3);y();D("ngTemplateOutlet",b)}},UPa=function(){},VPa=function(a){a&1&&(E(0,"span",23),C(1,UPa,0,0,"ng-template",4),G());if(a&2){N();var b=Q(5);y();D("ngTemplateOutlet",b)}},WPa=function(){},XPa=function(a){a&1&&C(0,WPa,0,0,"ng-template",
4);if(a&2){N();var b=Q(1);D("ngTemplateOutlet",b)}},YPa=function(a){a&1&&I(0,"waldo-availability-chip",1);a&2&&(a=N(),D("user",a.user),pf("coinonly",a.coinonly))},ZPa=function(a){a&1&&(K(0),I(1,"b-availability-chip",3),L());a&2&&(a=N(2).ngIf,y(),D("user",a.email))},$Pa=function(a){a&1&&(K(0),R(1),L(),C(2,ZPa,2,1,"ng-container",0));if(a&2){a=N().ngIf;var b=N();y();$f(a.content);y();D("ngIf",b.enableWaldoAvailability&&b.availabilityChipEnabled)}},aQa=function(a){a&1&&Gf(0)},bQa=function(a){a&1&&(K(0),
E(1,"span",4),C(2,aQa,1,0,"ng-container",5),G(),E(3,"onedev-hovercard",null,6),I(5,"b-issue-person-card",7),G(),L());if(a&2){var b=Q(4);a=N().ngIf;var c=Q(2),d=N();y();D("onedevHovercardTrigger",b);pf("tabindex",d.hovercardEnabled&&d.hovercardFocusEnabled?"0":null);y();D("ngTemplateOutlet",c);y(3);D("email",a.email)}},cQa=function(a,b){a&1&&(K(0),C(1,$Pa,3,2,"ng-template",null,1,jg)(3,bQa,6,4,"ng-container",2),L());if(a&2){a=b.ngIf;var c=Q(2);b=N();y(3);D("ngIf",b.hovercardEnabled&&b.isNonObfuscatedEmail(a.email))("ngIfElse",
c)}},dQa=function(a){a&1&&I(0,"b-user-display-name",2);a&2&&(a=N(),D("email",a.getEmailAddress())("hovercardEnabled",!1)("availabilityChipEnabled",a.availabilityChipEnabled)("hovercardFocusEnabled",a.hovercardFocusEnabled))},eQa=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N(),y(),$f(a.getDisplayString()))},fQa=function(a){a&1&&Gf(0)},gQa=function(a){a&1&&(K(0),E(1,"span",3),C(2,fQa,1,0,"ng-container",4),G(),E(3,"onedev-hovercard",null,5),I(5,"b-issue-person-card",6),G(),L());if(a&2){var b=Q(4);
a=N().ngIf;var c=Q(3);y();D("onedevHovercardTrigger",b);y();D("ngTemplateOutlet",c);y(3);D("email",a.email)}},iQa=function(a){a&1&&(K(0),I(1,"img",8),L());a&2&&(a=N(2).ngIf,N(),y(),D("src",hQa[a.email],Pd))},jQa=function(a){a&1&&I(0,"img",11);a&2&&(a=N(3).ngIf,D("src",a.src,Pd)("srcset",a.srcset))},kQa=function(a){a&1&&(E(0,"span",9),C(1,jQa,1,2,"img",10),G());a&2&&(a=N(2).ngIf,yf("anonymous",!a.showImage),y(),D("ngIf",a.showImage))},mQa=function(a){a&1&&C(0,iQa,2,1,"ng-container",0)(1,kQa,2,3,"span",
7);if(a&2){a=N().ngIf;var b=N();D("ngIf",a.email&&lQa(b,a.email));y();D("ngIf",!lQa(b,a.email))}},nQa=function(a,b){a&1&&(K(0),C(1,gQa,6,3,"ng-container",1)(2,mQa,2,2,"ng-template",null,2,jg),L());if(a&2){a=b.ngIf;var c=Q(3);b=N();y();D("ngIf",b.isNonObfuscatedEmail(a.email))("ngIfElse",c)}},oQa=function(a){a&1&&(E(0,"div",8),I(1,"b-spinner"),G())},pQa=function(a){a&1&&I(0,"code",22);a&2&&(a=N(2).$implicit,N(2),D("innerHtml",hh(a.formattingModeDiff),Od))},qQa=function(a){a&1&&(E(0,"code",23),R(1),
G());a&2&&(a=N(2).$implicit,y(),S(" ",a.formattingMode," "))},rQa=function(a){a&1&&(E(0,"p",19),R(1," Formatting: "),C(2,pQa,1,1,"code",20)(3,qQa,2,1,"code",21),G());a&2&&(a=N(3),y(2),D("ngIf",a.diffView),y(),D("ngIf",!a.diffView))},sQa=function(a){if(a&1){var b=u();E(0,"div")(1,"span",24)(2,"b-person-hovercard",25);T(3,"omitObfuscatedEmail");R(4);T(5,"appendDomain");G()();E(6,"a",26);M("click",function(c){v(b);var d=N().$implicit,e=N(2);d=d.version;c.stopPropagation();c=e.paths.editIssue(e.issueId)+
("#comment"+e.commentNumber+"version"+d);e.location.replaceState(c);return x()});R(7);G()()}a&2&&(a=N().$implicit,N(2),y(2),D("email",V(3,5,Ki(a.lastEditorUser))),y(2),S(" <",V(5,7,Ki(a.lastEditorUser)),"> "),y(2),rf("aria-label","Comment version ",a.version,""),Nf("id","bv2-edit-issue-comment-",a.version,""),y(),S(" #",a.version,""))},tQa=function(a){a&1&&(E(0,"div",30),R(1),G());a&2&&(a=N(2).$implicit,y(),$f(a.preview))},uQa=function(a){a&1&&(E(0,"div",31),R(1,"Comment deleted."),G())},vQa=function(a){a&
1&&(E(0,"div",32),R(1,"Comment history restricted."),G())},wQa=function(a){a&1&&(K(0),C(1,tQa,2,1,"div",27)(2,uQa,2,0,"div",28)(3,vQa,2,0,"div",29),L());a&2&&(a=N().$implicit,y(),D("ngIf",!a.restricted&&!a.deleted),y(),D("ngIf",!a.restricted&&a.deleted),y(),D("ngIf",a.restricted))},xQa=function(a){a&1&&(E(0,"div",35),R(1,"Comment deleted."),G())},yQa=function(a){a&1&&(E(0,"div",36),T(1,"async"),G());if(a&2){a=N(2).$implicit;var b=N(2);yf("codefont",V(1,3,b.codefont.codefont$));D("innerHtml",a.unlinkifiedComment,
Od)}},zQa=function(a){a&1&&(E(0,"div",36),T(1,"async"),G());if(a&2){a=N(2).$implicit;var b=N(2);yf("codefont",V(1,3,b.codefont.codefont$));D("innerHtml",hh(a.diff),Od)}},AQa=function(a){a&1&&(E(0,"div",32),R(1," This comment is not available due to present or past restrictions on the comment. "),G())},BQa=function(a){a&1&&(K(0),C(1,xQa,2,0,"div",33)(2,yQa,2,5,"div",34)(3,zQa,2,5,"div",34)(4,AQa,2,0,"div",29),L());if(a&2){a=N().$implicit;var b=N(2);y();D("ngIf",!a.restricted&&a.deleted);y();D("ngIf",
!b.diffView&&!a.restricted&&!a.deleted);y();D("ngIf",b.diffView&&!a.restricted&&!a.deleted);y();D("ngIf",a.restricted)}},CQa=function(a,b){if(a&1){var c=u();E(0,"li",11)(1,"div",12);I(2,"b-user-image",13);G();E(3,"div",14);M("click",function(){var d=v(c).$implicit;return x(d.open=!d.open)});I(4,"b-user-display",15)(5,"b-formatted-date-time",16);C(6,rQa,4,2,"p",17)(7,sQa,8,9,"div",18)(8,wQa,4,3,"ng-container",18);G();C(9,BQa,5,4,"ng-container",18);G()}a&2&&(a=b.$implicit,N(2),yf("comment-version-open",
a.open),y(2),D("email",Ki(a.lastEditorUser)),y(2),D("model",a.lastEditorUser),y(),D("timestamp",a.lastModified),y(),D("ngIf",!a.deleted),y(),D("ngIf",a.open),y(),D("ngIf",!a.open),y(),D("ngIf",a.open))},DQa=function(a){a&1&&(E(0,"ul",9),C(1,CQa,10,9,"li",10),G());a&2&&(a=N(),y(),D("ngForOf",a.history)("ngForTrackBy",a.trackByIndex))},EQa=function(a){a&1&&I(0,"b-user-image",5);a&2&&(a=N(),D("email",a.email))},FQa=function(a){a&1&&Gf(0)},GQa=function(a){a&1&&(K(0),E(1,"span",6),C(2,FQa,1,0,"ng-container",
7),G(),E(3,"onedev-hovercard",null,8),I(5,"b-issue-person-card",9),G(),L());if(a&2){var b=Q(4);a=N();var c=Q(4);y();D("onedevHovercardTrigger",b);y();D("ngTemplateOutlet",c);y(3);D("email",a.email)}},HQa=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N(),y(),$f(a.email))},IQa=function(a){a&1&&(E(0,"span",10),I(1,"b-availability-chip",11),G());a&2&&(a=N(),y(),D("user",a.email))},JQa=function(a){a&1&&I(0,"b-icon",7)},KQa=function(a){a&1&&I(0,"b-user-image",8);a&2&&(a=N(2),D("email",a.email))},LQa=
function(a){a&1&&(K(0),C(1,JQa,1,0,"b-icon",5)(2,KQa,1,1,"ng-template",null,6,jg),L());if(a&2){var b=Q(3);a=N();y();D("ngIf",a.enableGroupIcon&&a.isGroup)("ngIfElse",b)}},MQa=function(a){a&1&&I(0,"b-user-display-name",9);a&2&&(a=N(),D("email",a.email)("hovercardFocusEnabled",!0)("availabilityChipEnabled",!1))},NQa=function(a){a&1&&Gf(0)},OQa=function(a){a&1&&(K(0),E(1,"span",12),C(2,NQa,1,0,"ng-container",13),G(),E(3,"onedev-hovercard",null,14),I(5,"b-issue-person-card",15),G(),L());if(a&2){var b=
Q(4);N();var c=Q(2);a=N();y();D("onedevHovercardTrigger",b);y();D("ngTemplateOutlet",c);y(3);D("email",a.email)}},PQa=function(a){a&1&&(E(0,"span",16),R(1),G());a&2&&(a=N(2),y(),$f(a.email))},QQa=function(a){a&1&&C(0,OQa,6,3,"ng-container",10)(1,PQa,2,1,"ng-template",null,11,jg);if(a&2){var b=Q(2);a=N();D("ngIf",a.isNonObfuscatedEmail(a.email))("ngIfElse",b)}},RQa=function(a){a&1&&(I(0,"mat-icon",17),T(1,"async"),T(2,"async"));if(a&2){a=N();var b,c;D("svgIcon",null!==(b=V(1,2,a.iconName$))&&void 0!==
b?b:"")("matTooltip",null!==(c=V(2,4,a.iconToolTip$))&&void 0!==c?c:"")}},SQa=function(a){a&1&&(K(0),I(1,"b-availability-chip",18),L());a&2&&(a=N(),y(),D("user",a.email))},VQa=function(a,b){var c=new TQa;a=tp(c,a,b);UQa(c,a);c=a.map(function(d){var e=d[0];d=d[1];switch(e){case -1:return jh("span",{"class":"diff-removed"},d);case 1:return jh("span",{"class":"diff-added"},d);case 0:return jh("span",{"class":void 0},d);default:throw Error("Rd`"+e);}});return ih(c)},WQa=function(a){var b;return"DELETED"===
(null==(b=a.entityStatus)?void 0:b.status)},XQa=function(a){return new Set(a.map(function(b){return Xh(b)}))},up=function(a,b,c){return a.has(b)?c:""},YQa=function(a,b,c){return a.has(b)?c:[]},vp=function(a,b,c){return{fieldName:a,diffType:"SINGLE_VALUE",diff:{oldValue:b,newValue:c}}},aRa=function(a){if(!a)return"";var b=ZQa.get(a.retentionSelection),c=a.retentionPeriodDays,d="Issue Retention: "+b;b=d;c&&(b=d+(", Days: "+c));d=$Qa.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},cRa=function(a){if(!a)return"";var b=a.inherit,c=bRa.get(a.source),d=a.comment;a="Inherit: "+b+", Source: "+c+", ID: "+a.id;return d?a+(", Justification: "+d):a},dRa=function(a){return a?"Inherit: "+a.inherit+", ID: "+a.id:""},eRa=function(a){a&1&&(E(0,"li")(1,"a",4),R(2," Create an issue in this component"),G()());a&2&&(a=N(2),y(),D("href",a.createIssueUrl,Pd))},fRa=function(a,b){a&1&&(K(0),
E(1,"h3"),R(2),G(),E(3,"p"),R(4),G(),I(5,"b-component-access-level-indicator",3),E(6,"p"),R(7),G(),E(8,"ul")(9,"li")(10,"a",4),R(11," View recent open issues"),G()(),C(12,eRa,3,1,"li",2),E(13,"li")(14,"a",4),R(15," View component"),G()()(),L());a&2&&(a=b.ngIf,b=N(),y(2),$f(a.name),y(2),S("ID: ",b.componentId,""),y(),D("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",!0),y(2),$f(a.description),y(3),D("href",b.recentIssuesUrl,Pd),y(2),D("ngIf",!b.isAnonymous),y(2),D("href",
b.viewComponentUrl,Pd))},gRa=function(a,b){a&1&&(E(0,"mat-option",18),R(1),G());a&2&&(a=b.$implicit,D("value",a),y(),S(" ",a," "))},hRa=function(a){if(a&1){var b=u();E(0,"mat-form-field",16)(1,"mat-select",17);M("selectionChange",function(c){v(b);var d=N(2);return x(d._changePageSize(c.value))});Ef(2,gRa,2,2,"mat-option",18,Df);G()()}a&2&&(a=N(2),D("appearance",a._formFieldAppearance)("color",a.color),y(),D("value",a.pageSize)("disabled",a.disabled)("aria-labelledby",a._pageSizeLabelId)("panelClass",
a.selectConfig.panelClass||"")("disableOptionCentering",a.selectConfig.disableOptionCentering),y(),Ff(a._displayedPageSizeOptions))},iRa=function(a){a&1&&(E(0,"div",19),R(1),G());a&2&&(a=N(2),y(),$f(a.pageSize))},jRa=function(a){a&1&&(E(0,"div",12)(1,"div",13),R(2),G(),C(3,hRa,4,7,"mat-form-field",14)(4,iRa,2,1,"div",15),G());a&2&&(a=N(),y(),pf("id",a._pageSizeLabelId),y(),S(" ",a._intl.itemsPerPageLabel," "),y(),Cf(3,1<a._displayedPageSizeOptions.length?3:-1),y(),Cf(4,1>=a._displayedPageSizeOptions.length?
4:-1))},kRa=function(a){if(a&1){var b=u();E(0,"button",20);M("click",function(){v(b);var c=N();if(c.hasPreviousPage()){var d=c.pageIndex;c.pageIndex=0;c._emitPageEvent(d)}return x()});qd();E(1,"svg",7);I(2,"path",21);G()()}a&2&&(a=N(),D("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("matTooltipPosition","above")("disabled",a._previousButtonsDisabled()),pf("aria-label",a._intl.firstPageLabel))},lRa=function(a){if(a&1){var b=u();qd();rd();E(0,"button",22);M("click",
function(){v(b);var c=N();if(c.hasNextPage()){var d=c.pageIndex;c.pageIndex=(c.pageSize?Math.ceil(c.length/c.pageSize):0)-1;c._emitPageEvent(d)}return x()});qd();E(1,"svg",7);I(2,"path",23);G()()}a&2&&(a=N(),D("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("matTooltipPosition","above")("disabled",a._nextButtonsDisabled()),pf("aria-label",a._intl.lastPageLabel))},mRa=function(a){if(a&1){var b=u();E(0,"mat-paginator",3);M("page",function(c){v(b);var d=N(),e=c.pageIndex*
c.pageSize;d.childrenOnPage=d.children.slice(e,e+c.pageSize);return x()});G()}a&2&&(a=N(),D("length",a.children.length)("pageSize",a.pageSize)("pageSizeOptions",a.pageSizeOptions))},nRa=function(a,b){if(a&1){var c=u();E(0,"li")(1,"a",4);M("click",function(){var e=v(c).$implicit,f=N();return x(f.onVisit.emit(e))});R(2);G();E(3,"onedev-hovercard",null,5);I(5,"b-component-card",6);G()()}if(a&2){a=b.$implicit;var d=Q(4);b=N();y();D("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId),
Pd);y();S(" ",a.name," ");y(3);D("componentId",a.componentId.toString())}},oRa=function(a){if(a&1){var b=u();E(0,"button",6);M("click",function(){v(b);var c=N();return x(c.onClickCopyIssueShortLinks.emit())});R(1);G()}a&2&&(a=N(),y(),S(" Copy '",a.shortLinkPrefix,"'' links "))},pRa=function(a,b){a&1&&(E(0,"span",5)(1,"a",6),R(2),G(),E(3,"onedev-hovercard",null,7),I(5,"b-component-card",8),G()());if(a&2){a=b.$implicit;var c=Q(4);y();D("onedevHovercardTrigger",c)("routerLinkObj",a.route);y();$f(a.name);
y(3);D("componentId",a.id.toString())}},qRa=function(a){a&1&&(E(0,"span",9),R(1,"[Archived]"),G())},wp=function(a,b){b=void 0===b?Ln: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,k){var q;k=null!=(q=f[k])?q:String(h);q=b(h);return{id:h,name:k,route:q}})},rRa=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N().$implicit,y(),$f(a.text))},sRa=function(a){a&1&&(E(0,"span"),I(1,"b-component-access-level-indicator",
2),G());a&2&&(a=N().$implicit,y(),D("accessLevel",a.accessLevel))},tRa=function(a,b){a&1&&(E(0,"span"),C(1,rRa,2,1,"span",1)(2,sRa,2,1,"span",1),G());a&2&&(a=b.$implicit,N(),y(),D("ngIf",void 0!==a.text),y(),D("ngIf",void 0===a.text))},vRa=function(a,b){var c=uRa.get(b);if(!c)return null;a=a.toLowerCase().indexOf(c);return 0<=a?{accessLevel:b,startOfMatch:a,endOfMatch:a+c.length}:null},wRa=function(a){if(a&1){var b=u();E(0,"div");I(1,"br");E(2,"mat-checkbox",8);M("ngModelChange",function(c){v(b);
var d=N();return x(d.acknowledged=c)});G();E(3,"span");R(4,"All information in this issue is suitable for external sharing.");G()()}a&2&&(a=N(),y(2),D("ngModel",a.acknowledged))},xRa=function(a){if(a&1){var b=u();E(0,"button",9);M("click",function(){v(b);var c=N();return x(c.allow())});R(1," Move Issue ");G()}a&2&&(a=N(),D("disabled",!a.acknowledged))},yRa=function(a){if(a&1){var b=u();E(0,"a",18);M("click",function(){v(b);var c=N().$implicit,d=N();return x(d.showChildren(c))});I(1,"mat-icon",19);
G()}},zRa=function(a){if(a&1){var b=u();E(0,"a",20);M("click",function(){v(b);var c=N().$implicit;return x(c.showChildren=!1)});I(1,"mat-icon",21);G()}},BRa=function(a){a&1&&(E(0,"a",22),R(1," (Recent Issues) "),G());if(a&2){a=N().$implicit;var b=N();D("href",b.paths.listIssues(fg(1,ARa,"status:open componentid:"+a.componentId)),Pd)}},CRa=function(a){a&1&&(E(0,"span"),R(1,"[Archived]"),G())},DRa=function(a){a&1&&(E(0,"a",23),R(1," Create issue "),G());if(a&2){a=N().$implicit;var b=N();D("href",b.paths.createIssue()+
"?component="+a.componentId,Pd)}},ERa=function(a){a&1&&(E(0,"div",28),R(1," No child components found. "),G())},FRa=function(a){a&1&&(E(0,"div",29),I(1,"b-spinner"),G())},GRa=function(a){if(a&1){var b=u();E(0,"component-subtree-list",30);M("childClosed",function(d){v(b);var e=N(3);return x(e.onSubtreeChildClosed(d))});G()}if(a&2){a=N(2).$implicit;var c=N();D("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},HRa=function(a){a&1&&
(E(0,"div",24),C(1,ERa,2,0,"div",25)(2,FRa,2,0,"div",26)(3,GRa,1,4,"component-subtree-list",27),G());a&2&&(a=N().$implicit,y(),D("ngIf",a.noChildren),y(),D("ngIf",!(a.noChildren||a.children)),y(),D("ngIf",a.children))},IRa=function(a,b){if(a&1){var c=u();E(0,"li",2);M("click",function(d){var e=v(c).$implicit,f=N();return x(f.setSelected(e.componentId,d))});E(1,"div",3);I(2,"div",4);E(3,"div",5);C(4,yRa,2,0,"a",6)(5,zRa,2,0,"a",7);G();E(6,"div",8)(7,"div")(8,"a",9);R(9);G();C(10,BRa,2,3,"a",10)(11,
CRa,2,0,"span",11);I(12,"b-component-access-level-indicator",12)(13,"b-tracker-chip-smart",13);G();E(14,"div",14);R(15);G()();E(16,"div",15);C(17,DRa,2,1,"a",16);G()();C(18,HRa,4,3,"div",17);G()}a&2&&(a=b.$implicit,b=N(),Nf("id","component-",a.componentId,""),y(4),D("ngIf",!a.showChildren),y(),D("ngIf",a.showChildren),y(3),D("href",b.paths.viewComponent(a.componentId),Pd),y(),S(" ",a.name," "),y(),D("ngIf",!a.archived),y(),D("ngIf",a.archived),y(),D("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),
y(),D("trackerId",a.trackerId),y(2),$f(a.description),y(2),D("ngIf",!a.archived),y(),D("ngIf",a.showChildren))},JRa=function(a){if(a&1){var b=u();E(0,"a",18);M("click",function(){v(b);var c=N().$implicit,d=N();return x(d.showChildren(c))});I(1,"mat-icon",19);G()}},KRa=function(a){if(a&1){var b=u();E(0,"a",20);M("click",function(){v(b);var c=N().$implicit;return x(c.showChildren=!1)});I(1,"mat-icon",21);G()}},MRa=function(a){a&1&&(E(0,"a",22),R(1," (Recent Issues) "),G());if(a&2){a=N().$implicit;var b=
N();D("href",b.paths.listIssues(fg(1,LRa,"status:open componentid:"+a.componentId)),Pd)}},NRa=function(a){a&1&&(E(0,"span"),R(1,"[Archived]"),G())},ORa=function(a){a&1&&(E(0,"a",23),R(1," Create issue "),G());if(a&2){a=N().$implicit;var b=N();D("href",b.paths.createIssue()+"?component="+a.componentId,Pd)}},PRa=function(a){a&1&&(E(0,"div",28),R(1," No child components found. "),G())},QRa=function(a){a&1&&(E(0,"div",29),I(1,"b-spinner"),G())},RRa=function(a){if(a&1){var b=u();E(0,"component-subtree-list",
30);M("childClosed",function(d){v(b);var e=N(3);return x(e.onSubtreeChildClosed(d))});G()}if(a&2){a=N(2).$implicit;var c=N();D("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},SRa=function(a){a&1&&(E(0,"div",24),C(1,PRa,2,0,"div",25)(2,QRa,2,0,"div",26)(3,RRa,1,4,"component-subtree-list",27),G());a&2&&(a=N().$implicit,y(),D("ngIf",a.noChildren),y(),D("ngIf",!(a.noChildren||a.children)),y(),D("ngIf",a.children))},TRa=function(a,
b){if(a&1){var c=u();E(0,"li",2);M("click",function(d){var e=v(c).$implicit,f=N();return x(f.setSelected(e.componentId,d))});E(1,"div",3);I(2,"div",4);E(3,"div",5);C(4,JRa,2,0,"a",6)(5,KRa,2,0,"a",7);G();E(6,"div",8)(7,"div")(8,"a",9);R(9);G();C(10,MRa,2,3,"a",10)(11,NRa,2,0,"span",11);I(12,"b-component-access-level-indicator",12)(13,"b-tracker-chip-smart",13);G();E(14,"div",14);R(15);G()();E(16,"div",15);C(17,ORa,2,1,"a",16);G()();C(18,SRa,4,3,"div",17);G()}a&2&&(a=b.$implicit,b=N(),D("id","component-"+
a.componentId),y(4),D("ngIf",!a.showChildren),y(),D("ngIf",a.showChildren),y(3),D("href",b.paths.viewComponent(a.componentId),Pd),y(),S(" ",a.name," "),y(),D("ngIf",!a.archived),y(),D("ngIf",a.archived),y(),D("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),y(),D("trackerId",a.trackerId),y(2),$f(a.description),y(2),D("ngIf",!a.archived),y(),D("ngIf",a.showChildren))},URa=function(a){a&1&&(E(0,"div",12),qd(),E(1,"svg",13),I(2,"path",14),G(),E(3,"svg",15),I(4,"path",16),G()())},VRa=
function(a){a&1&&(I(0,"div"),T(1,"lowercase"));a&2&&(a=N(3),Bf("bv2-edit-icon ",V(1,3,a.type),""))},WRa=function(a){a&1&&(E(0,"div")(1,"label"),R(2),G(),C(3,VRa,2,5,"div",11),G());a&2&&(a=N(2),Bf("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),y(2),S(" ",a.title," "),y(),D("ngIf",!a.readonly&&!a.disabled))},XRa=function(a){a&1&&Gf(0)},YRa=function(a){if(a&1){var b=u();E(0,"div",16);M("menuClosed",function(){v(b);var e=N(3);return x(xp(e,null,!1,!0))});C(1,XRa,1,0,"ng-container",17);
G()}if(a&2){N(2);var c=Q(7);N();var d=Q(7);D("matMenuTriggerFor",d);y();D("ngTemplateOutlet",c)}},$Ra=function(a,b){a&1&&(E(0,"a",22),R(1),G());a&2&&(a=b.ngIf,b=N(4),sf("aria-label","customfield",b.customFieldId,":",a,""),D("queryParams",fg(4,ZRa,"customfield"+b.customFieldId+':"'+a+'"')),y(),S(" ",a," "))},aSa=function(a){a&1&&R(0," -- ")},bSa=function(a){if(a&1){var b=u();E(0,"div",18);C(1,$Ra,2,6,"a",19)(2,aSa,1,0,"ng-template",null,20,jg);I(4,"br");E(5,"button",21);M("menuClosed",function(){v(b);
var e=N(3);return x(xp(e,null,!1,!0))});R(6," Edit ");G()()}if(a&2){var c=Q(3);a=N(3);var d=Q(7);y();D("ngIf",a.getDisplayValue(""))("ngIfElse",c);y(4);rf("aria-label","Edit item for ",a.title,"");D("matMenuTriggerFor",d)}},cSa=function(a){a&1&&(K(0),C(1,YRa,2,2,"div",14)(2,bSa,7,4,"ng-template",null,15,jg),L());if(a&2){var b=Q(3);a=N(2);y();D("ngIf",!(a.enableCustomFieldSearchImprovements&&50<a.choices.length)||0===a.customFieldId)("ngIfElse",b)}},dSa=function(a){a&1&&Gf(0)},eSa=function(a){a&1&&
(E(0,"div",23),C(1,dSa,1,0,"ng-container",17),G());if(a&2){N();var b=Q(7);y();D("ngTemplateOutlet",b)}},fSa=function(a){a&1&&I(0,"b-user-membership-chip",32);a&2&&(a=N(5),D("user",a.user)("email",a.value)("teamId",a.teamId)("enableSmallChip",!0))},gSa=function(a){a&1&&I(0,"b-user-image",33);a&2&&(a=N(5),D("email",a.value))},hSa=function(a){a&1&&(E(0,"span",34)(1,"b-person-hovercard",35),R(2),G()());a&2&&(a=N(5),y(),D("email",a.value),y(),S(" ",a.getDisplayValue("--")," "))},iSa=function(a){a&1&&(K(0),
E(1,"div",28),C(2,fSa,1,4,"b-user-membership-chip",29)(3,gSa,1,1,"b-user-image",30)(4,hSa,3,2,"span",31),G(),L());a&2&&(a=N(4),y(2),D("ngIf",a.enableTeamAnnotations&&!!a.value),y(),D("ngIf",!a.enableTeamAnnotations&&!!a.value),y(),D("ngIf",!a.enableTeamAnnotations))},jSa=function(a){a&1&&(E(0,"div"),C(1,iSa,5,3,"ng-container",3),G());a&2&&(a=N(3),y(),D("ngIf",a.isUser))},kSa=function(a){a&1&&I(0,"b-truncated-span",40);a&2&&(a=N(4),D("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",
!a.truncate))},lSa=function(a){a&1&&I(0,"b-truncated-span",41);a&2&&(a=N(4),D("ngClass",a.getPriority(a.value))("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},mSa=function(a){a&1&&I(0,"b-truncated-span",40);a&2&&(a=N(4),Bf("chippy status-",a.value,""),D("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},nSa=function(a){a&1&&I(0,"div",42)},oSa=function(a){a&1&&(E(0,"div"),C(1,kSa,1,3,"b-truncated-span",36)(2,lSa,1,4,"b-truncated-span",37)(3,
mSa,1,6,"b-truncated-span",38)(4,nSa,1,0,"div",39),G());a&2&&(a=N(3),y(),D("ngIf","Priority"!==a.title&&"Status"!==a.title),y(),D("ngIf","Priority"===a.title),y(),D("ngIf","Status"===a.title),y(),D("ngIf",!a.title&&!a.readonly&&!a.disabled))},pSa=function(a){a&1&&(E(0,"div",43),I(1,"mat-icon",44),G())},qSa=function(a){a&1&&(E(0,"div",45),I(1,"mat-icon",46),G())},sSa=function(a){if(a&1){var b=u();E(0,"div",24,25);M("keydown",function(c){v(b);var d=N(2);return x(rSa(d,c))})("click",function(c){v(b);
var d=N(2);return x(xp(d,c,!0,!1))});C(2,jSa,2,1,"div",3)(3,oSa,5,4,"div",3)(4,pSa,2,0,"div",26)(5,qSa,2,0,"div",27);G()}a&2&&(a=N(2),yf("edit-field-user-container",a.isUser)("edit-field-activated",a.isActive),y(2),D("ngIf",a.isUser),y(),D("ngIf",!a.isUser),y(),D("ngIf","ENUM"!=a.type),y(),D("ngIf","ENUM"==a.type))},tSa=function(a){if(a&1){var b=u();E(0,"div",9,10);M("click",function(c){v(b);var d=N();return x(xp(d,c,!0,!1))})("keydown",function(c){v(b);var d=N();return x(rSa(d,c))})("keydown.escape",
function(){v(b);var c=Q(2);return x(c.hide())});C(3,WRa,4,5,"div",11)(4,cSa,4,2,"ng-container",3)(5,eSa,2,1,"div",12)(6,sSa,6,8,"ng-template",null,13,jg);G()}a&2&&(a=N(),Bf("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,""),yf("bv2-disabled",a.disabled)("bv2-readonly",a.readonly),sf("aria-label","",a.title," value is ",a.getDisplayValue("empty"),""),D("matTooltip",a.getTooltip()),pf("aria-disabled",!1),y(3),D("ngIf",a.title),y(),D("ngIf","ENUM"===a.type),y(),D("ngIf","ENUM"!==a.type))},
uSa=function(a){if(a&1){var b=u();E(0,"div",50);M("click",function(){v(b);var c=N(2);return x(c.setFieldValue(!c.value))});E(1,"label");R(2);G()()}a&2&&(a=N(2),Bf("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),y(2),$f(a.title))},wSa=function(a){if(a&1){var b=u();E(0,"div",47);C(1,uSa,3,4,"div",48);E(2,"b-slide-toggle",49);M("modelChange",function(){v(b);var d=N();return x(d.setFieldValue(!d.value))});G()()}if(a&2){a=N();var c;Bf("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",
a.name,"");D("ngClass",gg(10,vSa,a.disabled,a.readonly))("matTooltip",a.getTooltip());pf("aria-disabled",!1);y();D("ngIf",a.title);y();D("disabled",a.disabled||a.readonly)("aria-label",a.name)("model",null!==(c=a.value)&&void 0!==c?c:void 0)}},xSa=function(a){a&1&&I(0,"b-availability-chip",52);a&2&&(a=N(2),D("user",a.value))},ySa=function(a){a&1&&(K(0),C(1,xSa,1,1,"b-availability-chip",51),L());a&2&&(a=N(),y(),D("ngIf",a.value&&a.enableWaldoAvailability))},zSa=function(a){if(a&1){var b=u();E(0,"button",
55);M("click",function(){v(b);var c=N(2);return x(c.clearFieldValue())});E(1,"span",56);I(2,"mat-icon",57);G();R(3," \u00a0 ");G()}a&2&&(a=N(2),yf("b-menu-item-checked",null==a.value),D("disabled",null==a.value))},ASa=function(a){a&1&&(E(0,"span",61),R(1),G());a&2&&(a=N().$implicit,y(),$f(a.hotkey.displayAs))},BSa=function(a,b){if(a&1){var c=u();E(0,"button",58);M("click",function(){var d=v(c).$implicit,e=N(2);return x(e.setFieldValue(d.value))})("onHotkey",function(){var d=v(c).$implicit,e=N(2);
e.setFieldValue(d.value);return x(e.enumMenuTrigger.closeMenu())});E(1,"span",59)(2,"span",56);I(3,"mat-icon",57);G();R(4);C(5,ASa,2,1,"span",60);G()()}a&2&&(a=b.$implicit,b=N(2),yf("b-menu-item-checked",b.value==a.value),D("disabled",b.value==a.value)("matTooltip",a.altText||"")("hotkey",a.hotkey),pf("aria-label",a.displayText)("title",!b.showEnumTitle||a.altText?"":a.displayText),y(4),S(" ",a.displayText," "),y(),D("ngIf",a.hotkey&&b.showHotkeyHint))},CSa=function(a){a&1&&C(0,zSa,4,3,"button",53)(1,
BSa,6,9,"button",54);a&2&&(a=N(),D("ngIf",a.clearable),y(),D("ngForOf",a.choices))},DSa=function(a){a&1&&Gf(0)},ESa=function(a){a&1&&Gf(0)},FSa=function(a){if(a&1){var b=u();E(0,"div",50);M("click",function(d){return d.stopPropagation()});E(1,"b-date-time-picker-content",67);M("dateSelectionChange",function(d){v(b);var e=N(2);return x(e.googDateValue=null!==d&&void 0!==d?d:null)})("saveClicked",function(){v(b);var d=N(2);return x(d.setFieldValue(d.googDateValue))})("cancelClicked",function(){v(b);
var d=N(2);return x(xp(d,null,!1,!1))});G()()}if(a&2){a=N(2);var c;y();D("required",!(a.clearable&&"DATE"===a.type))("date",null!==(c=a.googDateValue)&&void 0!==c?c:void 0)}},HSa=function(a){if(a&1){var b=u();E(0,"textarea",76);M("ngModelChange",function(c){v(b);var d=N(4);return x(d.textBuffer=c)})("keydown",function(c){v(b);var d=N(4);return x(GSa(d,c))});G()}a&2&&(a=N(4),D("ngModel",a.textBuffer),pf("aria-label",a.title))},JSa=function(a){if(a&1){var b=u();E(0,"input",77);M("ngModelChange",function(c){v(b);
var d=N(4);return x(d.textBuffer=c)})("keydown",function(c){v(b);var d=N(4);return x(ISa(d,c))});G()}a&2&&(a=N(4),D("ngModel",a.textBuffer),pf("type","NUMERIC"===a.type?"number":"text")("aria-label",a.title))},KSa=function(a){a&1&&(E(0,"div"),C(1,HSa,1,2,"textarea",74)(2,JSa,1,3,"input",75),G());a&2&&(a=N(3),y(),D("ngIf",a.multiline),y(),D("ngIf",!a.multiline))},LSa=function(a){if(a&1){var b=u();E(0,"textarea",80);M("ngModelChange",function(c){v(b);var d=N(4);return x(d.textBuffer=c)})("keydown",
function(c){v(b);var d=N(4);return x(GSa(d,c))})("autocompleteActive",function(c){v(b);var d=N(4);return x(d.autocompleteActive=c)});G()}a&2&&(a=N(4),D("ngModel",a.textBuffer)("bContactAutocomplete","MULTI"),pf("aria-label",a.title))},MSa=function(a){if(a&1){var b=u();E(0,"input",81);M("ngModelChange",function(c){v(b);var d=N(4);return x(d.textBuffer=c)})("keydown",function(c){v(b);var d=N(4);return x(ISa(d,c))})("autocompleteActive",function(c){v(b);var d=N(4);return x(d.autocompleteActive=c)});
G()}a&2&&(a=N(4),D("ngModel",a.textBuffer)("bContactAutocomplete","SINGLE"),pf("type","NUMERIC"===a.type?"number":"text")("aria-label",a.title))},NSa=function(a){a&1&&(E(0,"div"),C(1,LSa,1,3,"textarea",78)(2,MSa,1,4,"input",79),G());a&2&&(a=N(3),y(),D("ngIf",a.multiline),y(),D("ngIf",!a.multiline))},PSa=function(a){if(a&1){var b=u();E(0,"div",68);M("click",function(c){return c.stopPropagation()});C(1,KSa,3,2,"div",3)(2,NSa,3,2,"div",3);E(3,"div",69)(4,"button",70);M("click",function(){v(b);var c=
N(2);return x(OSa(c))});I(5,"mat-icon",71);G();E(6,"button",72);M("click",function(c){v(b);var d=N(2);return x(xp(d,c,!1,!0))});I(7,"mat-icon",73);G()();E(8,"div",43);I(9,"mat-icon",44);G()()}a&2&&(a=N(2),y(),D("ngIf",!a.isUser),y(),D("ngIf",a.isUser),y(2),rf("aria-label","Apply change to ",a.title,""),Nf("matTooltip","Apply change to ",a.title,""),D("disabled",a.value==a.textBuffer),y(2),rf("aria-label","Discard change to ",a.title,""),Nf("matTooltip","Discard change to ",a.title,""))},QSa=function(a){a&
1&&(E(0,"div",62,63),C(2,DSa,1,0,"ng-container",64)(3,ESa,1,0,"ng-container",64)(4,FSa,2,2,"div",65)(5,PSa,10,7,"div",66),G());a&2&&(a=N(),Bf("bv2-issue-metadata-field-edit bv2-issue-metadata-field-",a.name,"-edit"),D("ngSwitch",a.type),y(2),D("ngSwitchCase","ENUM"),y(),D("ngSwitchCase","BOOL"),y(),D("ngSwitchCase","DATE"))},RSa=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}},
SSa=function(a,b){a&1&&(E(0,"mat-option",5)(1,"div",6),R(2),G()());a&2&&(a=b.$implicit,D("value",a),y(2),S(" ",a," "))},TSa=function(a,b){a&1&&(E(0,"span",9),R(1," by "),I(2,"b-user-display-name",10),G());a&2&&(a=b.ngIf,y(2),D("email",a)("hovercardEnabled",!1))},USa=function(a,b){a&1&&(E(0,"div")(1,"span"),R(2),G(),I(3,"b-formatted-date-time",11),G());a&2&&(a=b.ngIf,b=N().ngIf,y(2),$f(b.pending?"Created on: ":"Submitted on: "),y(),D("timestamp",a))},VSa=function(a,b){a&1&&(K(0),I(1,"br"),R(2),L());
a&2&&(a=b.$implicit,y(2),S("",a," "))},WSa=function(a,b){a&1&&(K(0),E(1,"div",3)(2,"a",4),R(3," CL "),E(4,"span"),R(5),G()(),C(6,TSa,3,2,"span",5),I(7,"br")(8,"br"),C(9,USa,4,2,"div",2),E(10,"div",6),I(11,"div",7)(12,"br"),E(13,"div"),R(14," Affected files: "),C(15,VSa,3,1,"ng-container",8),G()()(),L());a&2&&(a=b.ngIf,b=N(),y(2),D("href","http://critique.corp.google.com/"+b.changelistId,Pd),y(3),$f(b.changelistId),y(),D("ngIf",a.author),y(3),D("ngIf",a.timestamp),y(2),D("innerHTML",a.description,
Od),y(4),D("ngForOf",a.affectedFiles))},XSa=function(a){a&1&&I(0,"b-changelist-card",3,4);if(a&2){var b=Q(1);a=N();D("onedevIsHovercardReady",b.init)("changelistId",a.changelistId)}},YSa=function(a){if(a&1){var b=u();E(0,"a",15);M("click",function(){v(b);var c=N();return x(c.trackClick("viewTeamAssociationOnComponent"))});E(1,"button",11);R(2,"View team association on component");G()()}a&2&&(a=N(),D("href",a.manageComponentLink(),Pd))},ZSa=function(a){if(a&1){var b=u();E(0,"a",6);M("click",function(){v(b);
var d=N(2);return x(d.trackClick("viewTeamInMoma"))});E(1,"span");R(2);I(3,"mat-icon",7);G()()}if(a&2){a=N(2);var c=Q(3);Nf("href","https://moma.corp.google.com/team/",a.teamId,"",Pd);D("onedevHovercardTrigger",c);pf("aria-labelledby",a.linkAriaLabelledBy())("aria-label",(a.teamName?a.teamName:a.teamId)+" - link opens in a new tab");y();pf("id",a.teamLinkId);y();S("",a.teamName?a.teamName:a.teamId," ")}},$Sa=function(a){a&1&&(E(0,"span",8),R(1),G());if(a&2){a=N(2);var b=Q(3);D("onedevHovercardTrigger",
b);y();$f(a.teamName?a.teamName:a.teamId)}},aTa=function(a){a&1&&(K(0),C(1,ZSa,4,6,"a",4)(2,$Sa,2,2,"span",5),L());a&2&&(a=N(),y(),D("ngIf",a.anchorLinkEnabled),y(),D("ngIf",!a.anchorLinkEnabled))},bTa=function(a){a&1&&I(0,"span",11)},cTa=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N(2),y(),$f(a.teamNotAssignedMessage))},dTa=function(a){a&1&&C(0,bTa,1,0,"span",9)(1,cTa,2,1,"span",10);a&2&&(a=N(),D("ngIf","0"!=a.teamId),y(),D("ngIf","0"==a.teamId))},eTa=function(a){a&1&&I(0,"b-icon",7);a&2&&(a=
N(),D("name",a.iconName))},fTa=function(a){a&1&&(E(0,"span",8),R(1),G());a&2&&(a=N(),y(),$f(a.title))},gTa=function(a){a&1&&(E(0,"div",9),R(1,"\u00a0"),G())},kTa=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?hTa(a,b):("input"===d||"select"===d||"textarea"===d)&&iTa(a,b);jTa("canvas",a,b,hTa);jTa("input, textarea, select",a,b,iTa);return b},jTa=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])},iTa=function(a,b){"file"!==b.type&&(b.value=a.value);"radio"===b.type&&b.name&&(b.name="mat-clone-"+b.name+"-"+lTa++)},hTa=function(a,b){if(b=b.getContext("2d"))try{b.drawImage(a,0,0)}catch(c){}},mTa=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}},nTa=function(a,b,c){var d=a.bottom,e=a.left,f=a.right;return c>=
a.top&&c<=d&&b>=e&&b<=f},yp=function(a,b,c){a.top+=b;a.bottom=a.top+a.height;a.left+=c;a.right=a.left+a.width},oTa=function(a,b,c){var d=a.right,e=a.bottom,f=a.left,h=.05*a.width,k=.05*a.height;return c>a.top-k&&c<e+k&&b>f-h&&b<d+h},pTa=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)}},zp=function(a,b){var c=b?"":"none";pTa(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})},rTa=function(a,b){pTa(a.style,{position:b?"":"fixed",top:b?"":"0",opacity:b?"":"0",left:b?"":"-999em"},qTa)},sTa=function(a,b){return b&&"none"!=b?a+" "+b:a},tTa=function(a){var b=-1<a.toLowerCase().indexOf("ms")?1:1E3;return parseFloat(a)*b},vTa=function(a){a=getComputedStyle(a);var b=uTa(a,"transition-property"),c=b.find(function(d){return"transform"===d||
"all"===d});if(!c)return 0;b=b.indexOf(c);c=uTa(a,"transition-duration");a=uTa(a,"transition-delay");return tTa(c[b])+tTa(a[b])},uTa=function(a,b){return a.getPropertyValue(b).split(",").map(function(c){return c.trim()})},wTa=function(a,b){return"translate3d("+Math.round(a)+"px, "+Math.round(b)+"px, 0)"},Ap=function(a){return"t"===a.type[0]},xTa=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},yTa=function(a,b){a.style.width=b.width+"px";a.style.height=b.height+"px";a.style.transform=wTa(b.left,b.top)},Bp=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}},zTa=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},ATa=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},BTa=function(a){a&1&&
(E(0,"label"),R(1),G());a&2&&(a=N(),y(),S(" ",a.title," "))},DTa=function(a,b){a&1&&(E(0,"div",19),Gf(1,20),G());if(a&2){a=b.$implicit;b=b.index;N(2);var c=Q(13);y();D("ngTemplateOutletContext",gg(2,CTa,a,b))("ngTemplateOutlet",c)}},FTa=function(a){a&1&&(E(0,"collapsible-panel",16),C(1,DTa,2,5,"div",17),Gf(2,18),G());if(a&2){a=N();var b=Q(15);D("isExpanded",a.isExpanded)("iconName",a.iconName)("hasCompactTitleBar",!0)("title",a.collapsiblePanelTitle);y();D("ngForOf",ETa(a))("ngForTrackBy",a.trackByIndex);
y();D("ngTemplateOutlet",b)}},GTa=function(a,b){a&1&&(E(0,"div",19),Gf(1,20),G());if(a&2){a=b.$implicit;b=b.index;N(2);var c=Q(13);y();D("ngTemplateOutletContext",gg(2,CTa,a,b))("ngTemplateOutlet",c)}},HTa=function(a){a&1&&(E(0,"div"),R(1,"--"),G())},ITa=function(a){a&1&&(K(0),C(1,GTa,2,5,"div",17),Gf(2,18),C(3,HTa,2,0,"div",3),L());if(a&2){a=N();var b=Q(15);y();D("ngForOf",ETa(a))("ngForTrackBy",a.trackByIndex);y();D("ngTemplateOutlet",b);y();D("ngIf",!(null==a.values?0:a.values.length))}},LTa=function(a){if(a&
1){var b=u();E(0,"button",27);M("menuOpened",function(){v(b);var d=N(3);JTa(d);d.enumPendingValues=new Set(d.values||[]);return x()})("menuClosed",function(){v(b);var d=N(3);return x(KTa(d))});R(1,"Edit ");G()}if(a&2){a=N(3);var c=Q(17);rf("aria-label","Add item to ",a.title,"");D("matMenuTriggerFor",c)}},MTa=function(a){if(a&1){var b=u();E(0,"button",28);M("closed",function(){v(b);var d=N(3);return x(d.pendingEnumValue="")});R(1,"Add ");G()}if(a&2){a=N(3);var c=Q(24);rf("aria-label","Add item to ",
a.title,"");D("xapInlineDialogClick",c)("overlayPositions",a.OVERLAY_POSITION_LIST)}},NTa=function(a){a&1&&(K(0),C(1,LTa,2,2,"button",25)(2,MTa,2,3,"button",26),L());a&2&&(a=N(2),y(),D("ngIf",!Cp(a)),y(),D("ngIf",Cp(a)))},OTa=function(a){a&1&&(E(0,"button",29),R(1,"Add "),G());if(a&2){a=N(2);var b=Q(22);rf("aria-label","Add item to ",a.title,"");D("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST)}},PTa=function(a){if(a&1){var b=u();E(0,"button",30);M("beforeOpened",function(){v(b);
var d=N(2);return x(d.invalidMessage="")});R(1,"Add ");G()}if(a&2){a=N(2);var c=Q(20);rf("aria-label","Add item to ",a.title,"");Nf("matTooltip","Add item to ",a.title,"");D("xapInlineDialogClick",c)("overlayPositions",a.OVERLAY_POSITION_LIST)}},QTa=function(a){a&1&&(K(0,21),C(1,NTa,3,2,"ng-container",22)(2,OTa,2,3,"button",23)(3,PTa,2,4,"button",24),L());a&2&&(a=N(),D("ngSwitch",a.type),y(),D("ngSwitchCase","REPEATED_ENUM"),y(),D("ngSwitchCase","REPEATED_DATE"))},RTa=function(a){a&1&&(E(0,"div"),
I(1,"b-changelist-link",43),G());if(a&2){a=N(2).item;var b=N();y();D("changelistId",b.asNumber(a))}},STa=function(a){a&1&&(E(0,"div")(1,"a",44),R(2),G()());if(a&2){a=N(3).item;var b=N();y();switch(b.environmentType){case "NIGHTLY":case "PROD":b="https://taskflow.corp.google.com/workspaces";break;default:b="https://taskflow-autopush.corp.google.com/workspaces"}D("href",b+"/"+a.workspaceId+"/work_item/b/"+a.issueId+"?edit=b/"+a.issueId,Pd);pf("aria-label","Workspace"+a.workspaceId);y();S(" ",a.workspaceName,
" ")}},TTa=function(a){a&1&&C(0,STa,3,3,"div",34);if(a&2){N();var b=Q(6);N();a=N();D("ngIf","WORKSPACES"===a.type)("ngIfElse",b)}},UTa=function(a){a&1&&(E(0,"div"),I(1,"b-team-display",45),G());a&2&&(a=N(3).item,y(),D("teamId",a.teamId)("componentId",a.componentId))},VTa=function(a){a&1&&C(0,UTa,2,2,"div",34);if(a&2){N();var b=Q(8);N();a=N();D("ngIf","TEAM"===a.type)("ngIfElse",b)}},WTa=function(a){if(a&1){var b=u();E(0,"div")(1,"a",46);M("click",function(){v(b);var c=N(4);return x(c.trackClick("postmortem"))});
R(2);G()()}a&2&&(a=N(3).item,y(),Nf("href","https://pm.corp.google.com/",a,"",Pd),rf("aria-label","Postmortem ",a,""),y(),S(" ",a," "))},XTa=function(a){a&1&&C(0,WTa,3,3,"div",34);if(a&2){N();var b=Q(10);N();a=N();D("ngIf","POSTMORTEMS"===a.type)("ngIfElse",b)}},ZTa=function(a){if(a&1){var b=u();E(0,"div",48)(1,"a",49);M("click",function(){v(b);var d=N(4);return x(d.trackClick("repeated-enum"))});R(2);G()()}if(a&2){a=N(3).item;var c=N();D("matTooltip",a);y();sf("aria-label","Search issues for customfield",
c.customFieldId,":",a,"");D("queryParams",fg(5,YTa,"customfield"+c.customFieldId+':"'+a+'"'));y();S(" ",a," ")}},$Ta=function(a){a&1&&C(0,ZTa,3,7,"div",47);if(a&2){N();var b=Q(12);N();a=N();D("ngIf","REPEATED_ENUM"===a.type&&Cp(a))("ngIfElse",b)}},aUa=function(a){a&1&&(E(0,"div"),I(1,"b-truncated-span",51),G());if(a&2){a=N(3).item;var b=N();y();D("maxWidth",150)("modelValue",a)("disabled",!b.truncate)}},bUa=function(a){a&1&&I(0,"b-user-membership-chip",55,56);if(a&2){a=N(4).item;var b=N();D("user",
b.getUser(a))("email",a)("teamId",b.teamId)("enableSmallChip",!0)("enableGroupIcon",!0)}},cUa=function(a){a&1&&(E(0,"b-person-hovercard",57),R(1),G());a&2&&(a=N(4).item,D("email",a),y(),S(" ",a," "))},dUa=function(a){a&1&&(E(0,"div",52),C(1,bUa,2,5,"b-user-membership-chip",53)(2,cUa,2,2,"b-person-hovercard",54),G());a&2&&(a=N(4),y(),D("ngIf",a.enableTeamAnnotations),y(),D("ngIf",!a.enableTeamAnnotations))},eUa=function(a){a&1&&C(0,aUa,2,3,"div",3)(1,dUa,3,2,"div",50);if(a&2){a=N(2).item;var b=N();
D("ngIf",!b.isUser&&b.isString(a));y();D("ngIf",b.isUser&&b.isString(a))}},fUa=function(a){if(a&1){var b=u();E(0,"b-icon",58);M("click",function(){v(b);var c=N(3);return x(c.toggleAccessLimits.emit())})("keydown.enter",function(){v(b);var c=N(3);return x(c.toggleAccessLimits.emit())})("keydown.space",function(){v(b);var c=N(3);return x(c.toggleAccessLimits.emit())});G()}},gUa=function(a){if(a&1){var b=u();E(0,"button",60,61);M("click",function(){v(b);var d=N(3).$index,e=N();return x(e.removeItem(d))});
G()}if(a&2){a=N(3).item;var c=N();sf("aria-label","Remove ",a," from ",c.title,"");D("disabled",c.listFieldDisabled)("matTooltip","Remove item")}},hUa=function(a){a&1&&C(0,gUa,2,4,"button",59);a&2&&(a=N(3),D("ngIf",!a.readonly||Cp(a)))},iUa=function(a){a&1&&(E(0,"div",32)(1,"div",33),C(2,RTa,2,1,"div",34)(3,TTa,1,2,"ng-template",null,35,jg)(5,VTa,1,2,"ng-template",null,36,jg)(7,XTa,1,2,"ng-template",null,37,jg)(9,$Ta,1,2,"ng-template",null,38,jg)(11,eUa,2,2,"ng-template",null,39,jg),G(),C(13,fUa,
1,0,"b-icon",40)(14,hUa,1,1,"ng-template",null,41,jg),I(16,"div",42),G());if(a&2){var b=Q(4),c=Q(15);a=N().$index;var d=N();y(2);D("ngIf","CHANGELISTS"===d.type)("ngIfElse",b);y(11);D("ngIf","USERCHIP"===d.type&&d.toggleAccessLimits.observed&&(null==d.userChips?null:d.userChips.get(a))&&(null==d.userChips?null:d.userChips.get(a).isGroup))("ngIfElse",c)}},jUa=function(a,b){a&1&&C(0,iUa,17,4,"div",31);a&2&&(a=b.$index,b=N(),D("ngIf",b.showingAll||a<b.defaultLineCount||!!b.values&&b.values.length===
b.defaultLineCount+1))},kUa=function(a){if(a&1){var b=u();E(0,"div",63,64);M("click",function(c){v(b);var d=N(2);return x(Dp(d,!1,c))})("keydown.enter",function(c){v(b);var d=N(2);return x(Dp(d,!1,c))})("keydown.space",function(c){v(b);var d=N(2);return x(Dp(d,!1,c))});R(2," (show fewer) ");G()}a&2&&(a=N(2),sf("aria-label","Show at most ",a.defaultLineCount," ",a.title," items"),Nf("matTooltip","Show a truncated list of at most ",a.defaultLineCount," items"))},lUa=function(a){if(a&1){var b=u();E(0,
"div")(1,"div",65);R(2);E(3,"span",66,67);M("click",function(c){v(b);var d=N(2);return x(Dp(d,!0,c))})("keydown.enter",function(c){v(b);var d=N(2);return x(Dp(d,!0,c))})("keydown.space",function(c){v(b);var d=N(2);return x(Dp(d,!0,c))});R(5," (show all) ");G()()()}a&2&&(a=N(2),y(2),S(" ... and ",a.values.length-a.defaultLineCount," more "),y(),sf("aria-label","Show all ",null==a.values?null:a.values.length," ",a.title," items"),Nf("matTooltip","Show all ",null==a.values?null:a.values.length," items in the list"))},
nUa=function(a){a&1&&C(0,kUa,3,3,"div",62)(1,lUa,6,4,"div",3);a&2&&(a=N(),D("ngIf",a.showingAll&&mUa(a)),y(),D("ngIf",!a.showingAll&&mUa(a)))},oUa=function(a,b){if(a&1){var c=u();E(0,"button",69);M("click",function(d){var e=v(c).$implicit,f=N(2);e=e.value;f.enumPendingValues.has(e)?f.enumPendingValues.delete(e):f.enumPendingValues.add(e);null==d||d.stopPropagation();return x()});E(1,"span",70);I(2,"mat-icon",71);G();R(3);G()}a&2&&(a=b.$implicit,b=N(2),yf("b-menu-item-checked",b.enumPendingValues.has(a.value)),
D("disabled",b.listFieldDisabled),pf("aria-label",a.displayText),y(3),S(" ",a.displayText," "))},pUa=function(a){a&1&&C(0,oUa,4,5,"button",68);a&2&&(a=N(),D("ngForOf",a.sortedEnumChoices)("ngForTrackBy",a.trackByIndex))},qUa=function(a){a&1&&I(0,"input",81);a&2&&(a=N(2),rf("aria-label","Addition to ",a.title,""),D("bContactAutocomplete","MULTI"))},rUa=function(a){a&1&&I(0,"input",82);a&2&&(a=N(2),rf("aria-label","Addition to ",a.title,""),D("type","REPEATED_NUMERIC"===a.type?"number":"text"))},sUa=
function(a){a&1&&(E(0,"mat-error"),R(1),G());a&2&&(a=N(2),sf("aria-label","",a.title," error: ",a.invalidMessage,""),y(),S(" ",a.invalidMessage," "))},uUa=function(a){if(a&1){var b=u();E(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"form",72,73);M("ngSubmit",function(){v(b);var d=Q(3),e=Q(4),f=N();return x(tUa(f,d,e))});C(5,qUa,1,2,"input",74)(6,rUa,1,2,"input",75);E(7,"div",76)(8,"button",77);I(9,"mat-icon",78);G();E(10,"button",79);M("click",function(){v(b);var d=N();return x(Ep(d,!0))});
I(11,"mat-icon",80);G()();C(12,sUa,2,3,"mat-error",3);G()()()}if(a&2){var c=Q(3);a=N();y(5);D("ngIf",a.isUser);y();D("ngIf",!a.isUser);y(2);rf("aria-label","Apply addition to ",a.title,"");D("disabled",!c.valid||a.listFieldDisabled);y(2);rf("aria-label","Discard addition to ",a.title,"");y(2);D("ngIf",a.invalidMessage)}},vUa=function(a){if(a&1){var b=u();E(0,"b-date-time-picker-content",83);M("dateChange",function(c){v(b);var d=N();return x(c&&d.addItems(c))})("cancelClicked",function(){v(b);var c=
N();return x(Ep(c,!1))});G()}a&2&&D("required",!0)("renderPanel",!1)},xUa=function(a){if(a&1){var b=u();E(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-custom-repeated-enum-picker",84);M("onValueSelect",function(c){v(b);N().pendingEnumValue=c;return x()});G();E(3,"div",76)(4,"button",85);M("click",function(){v(b);var c=N(),d;c.values=null!=(d=c.values)?d:[];d=c.pendingEnumValue;c.values.includes(d)||(c.values.push(d),c.valuesChange.emit({values:c.values,added:[d]}));Ep(c,!0);mUa(c)&&
Dp(c,!0);return x()});I(5,"mat-icon",78);G();E(6,"button",79);M("click",function(){v(b);var c=N();return x(Ep(c,!0))});I(7,"mat-icon",80);G()()()()}a&2&&(a=N(),y(2),D("allowedValues",wUa(a)),y(2),rf("aria-label","Apply addition to ",a.title,""),D("disabled",!a.pendingEnumValue),y(2),rf("aria-label","Discard addition to ",a.title,""))},Fp=function(a,b){return{originX:a,originY:b}},Gp=function(a,b){return{overlayX:a,overlayY:b}},yUa=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}},zUa=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},CUa=function(a){if(a&1){var b=u();
E(0,"b-edit-field",3);M("valueChange",function(e){v(b);var f=N(2);return x(f.save.emit(e))});G()}if(a&2){a=N().ngIf;var c=N(),d;D("readonly",c.readonly)("name","customField"+c.field.customFieldId)("title",c.field.name)("type",c.field.type)("tooltip",c.getTooltip())("clearable",!c.field.required)("value",AUa(c))("displayValueOverride",c.getDisplayValue())("choices",null!==(d=a.choices)&&void 0!==d?d:eg(12,BUa))("showEnumTitle",!0)("disabled",c.disabled)("customFieldId",c.field.customFieldId)}},EUa=
function(a){if(a&1){var b=u();E(0,"b-list-field",4);M("valuesChange",function(d){v(b);var e=N(2);return x(e.save.emit(d.values))});G()}if(a&2){a=N().ngIf;var c=N();D("readonly",c.readonly)("defaultLineCount",3)("title",c.field.name)("type",c.field.type)("customFieldId",c.field.customFieldId)("tooltip",c.getTooltip())("values",DUa(c))("displayValuesOverride",a.displayValues)("enumChoices",a.choices)("listFieldDisabled",c.disabled)}},FUa=function(a,b){a&1&&(K(0),C(1,CUa,1,13,"b-edit-field",1)(2,EUa,
1,10,"b-list-field",2),L());a&2&&(a=b.ngIf,y(),D("ngIf",!a.isRepeated()),y(),D("ngIf",a.isRepeated()))},GUa=function(a){a&1&&(E(0,"div"),R(1," Loading custom fields... "),G())},HUa=function(a){a&1&&(E(0,"div"),R(1),G());a&2&&(a=N(2),y(),S(" There are no custom fields in component ",a.selectedComponent.name,". "))},IUa=function(a,b){a&1&&(E(0,"mat-option",9),R(1),G());a&2&&(a=b.$implicit,D("value",a),y(),S(" ",a.name," "))},JUa=function(a){if(a&1){var b=u();E(0,"div")(1,"mat-form-field",6)(2,"mat-label");
R(3,"Custom field");G();E(4,"mat-select",7);M("selectionChange",function(c){v(b);var d=N(2);return x(d.fieldSelected.emit(c.value))});C(5,IUa,2,2,"mat-option",8);G()()()}a&2&&(a=N(2),y(5),D("ngForOf",a.customFields))},KUa=function(a){a&1&&(E(0,"div",4),C(1,GUa,2,0,"div",5)(2,HUa,2,1,"div",5)(3,JUa,6,1,"div",5),G());a&2&&(a=N(),y(),D("ngIf",null==a.customFields),y(),D("ngIf",a.customFields&&!a.customFields.length),y(),D("ngIf",null==a.customFields?null:a.customFields.length))},LUa=function(a){a&1&&
Gf(0)},MUa=function(){},NUa=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N().value,y(),$f(a.textValue))},OUa=function(a){a&1&&(K(0),I(1,"b-formatted-date-time",5),L());if(a&2){a=N().value;var b=N();y();D("date",b.toDate(a.dateValue))}},PUa=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N().value,y(),$f(a.enumValue))},QUa=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N().value,y(),$f(a.numericValue))},RUa=function(a,b){a&1&&(K(0),R(1),L());a&2&&(a=b.$implicit,b=b.last,y(),ag("",a,"",b?"":", ",""))},SUa=function(a){a&
1&&(K(0),C(1,RUa,2,2,"ng-container",6),L());a&2&&(a=N().value,y(),D("ngForOf",a.repeatedTextValue.values))},TUa=function(a,b){a&1&&(K(0),I(1,"b-formatted-date-time",5),R(2),L());if(a&2){a=b.$implicit;b=b.last;var c=N(3);y();D("date",c.toDate(a));y();$f(b?"":", ")}},UUa=function(a){a&1&&(K(0),C(1,TUa,3,2,"ng-container",6),L());a&2&&(a=N().value,y(),D("ngForOf",a.repeatedDateValue.values))},VUa=function(a,b){a&1&&(K(0),R(1),L());a&2&&(a=b.$implicit,b=b.last,y(),ag("",a,"",b?"":", ",""))},WUa=function(a){a&
1&&(K(0),C(1,VUa,2,2,"ng-container",6),L());a&2&&(a=N().value,y(),D("ngForOf",a.repeatedEnumValue.values))},XUa=function(a,b){a&1&&(K(0),R(1),L());a&2&&(a=b.$implicit,b=b.last,y(),ag("",a,"",b?"":", ",""))},YUa=function(a){a&1&&(K(0),C(1,XUa,2,2,"ng-container",6),L());a&2&&(a=N().value,y(),D("ngForOf",a.repeatedNumericValue.values))},ZUa=function(a,b){a&1&&C(0,NUa,2,1,"ng-container",4)(1,OUa,2,1,"ng-container",4)(2,PUa,2,1,"ng-container",4)(3,QUa,2,1,"ng-container",4)(4,SUa,2,1,"ng-container",4)(5,
UUa,2,1,"ng-container",4)(6,WUa,2,1,"ng-container",4)(7,YUa,2,1,"ng-container",4);a&2&&(a=b.value,b=N(),D("ngIf",null!=a.textValue),y(),D("ngIf",b.isNonemptyJsonDateValue(a.dateValue)),y(),D("ngIf",null!=a.enumValue),y(),D("ngIf",null!=a.numericValue),y(),D("ngIf",null!=a.repeatedTextValue),y(),D("ngIf",null!=a.repeatedDateValue),y(),D("ngIf",null!=a.repeatedEnumValue),y(),D("ngIf",null!=a.repeatedNumericValue))},Hp=function(a){var b;a=null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel;return"EXTERNAL_PARTNER"===
a||"EXTERNAL_PUBLIC"===a},$Ua=function(a){var b;return"EXTERNAL_PARTNER"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},Ip=function(a){var b;return"EXTERNAL_PUBLIC"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},aVa=function(a,b){return a?a.join(" > "):String(b)},bVa=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""}},cVa=function(a){a&1&&(E(0,"div")(1,"p"),R(2),G()());a&2&&(a=N(),y(2),ag(" Checking if you have permissions to mark these issues as spam. Checked ",a.issuesChecked," of ",a.issuesToFlag.length,"... "))},dVa=function(a,b){a&1&&(E(0,"li"),R(1),G());a&2&&(a=b.$implicit,y(),ag(" ",a.issueId," - ",a.title," "))},eVa=function(a){a&1&&(E(0,"div")(1,
"p"),R(2),G(),E(3,"ul"),C(4,dVa,2,2,"li",9),G()());a&2&&(a=N(),y(2),S(" You do not have permissions to mark ",a.protectedIssues.length," issues. These will not be flagged as spam. "),y(2),D("ngForOf",a.protectedIssues))},fVa=function(a){if(a&1){var b=u();E(0,"mat-dialog-content")(1,"mat-form-field")(2,"mat-label");R(3);G();E(4,"input",5);M("ngModelChange",function(c){v(b);var d=N();return x(d.numericEstimatedEffort=c)})("keypress",function(c){v(b);var d=N();return x(/^(\d*\.)?\d*$/.test(d.numericEstimatedEffort+
c.key))});G()()()}a&2&&(a=N(),y(3),S(" ",a.effortSpecName," "),y(),D("ngModel",a.numericEstimatedEffort))},gVa=function(a){if(a&1){var b=u();E(0,"div",6)(1,"label");R(2);G();E(3,"onedev-single-select",7);M("valueChange",function(c){v(b);var d=N();return x(d.currentEnumLabel=c)});G()()}a&2&&(a=N(),y(2),S(" ",a.effortSpecName," "),y(),D("value",a.currentEnumLabel)("includeEmptyOption",!0)("options",a.allowedLabels))},lVa=function(a,b){if(a&1){var c=u();E(0,"div",18,19);M("click",function(){var e=v(c).$implicit,
f=N(2);hVa(f,e)||Jp(f,e);return x()});E(2,"mat-pseudo-checkbox",20);M("click",function(e){var f=v(c).$implicit,h=N(2);e.stopPropagation();return x(iVa(h,f))});G();E(3,"span");R(4);G()()}if(a&2){a=b.$implicit;b=b.index;var d=N(2);xf("display",d.shouldShowHotlist[a.hotlistId]?"block":"none");yf("focused",b===d.focusedRowIndex);Of("title",a.name);pf("id","hotlist-item-"+a.hotlistId)("aria-checked",jVa(d.selectedHotlistMap[a.hotlistId]))("aria-disabled",hVa(d,a));y(2);D("state",kVa(d.selectedHotlistMap[a.hotlistId]))("disabled",
hVa(d,a));y(2);S(" ",a.name," ")}},mVa=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N(2),y(),S(" (",a.filterText,")"))},nVa=function(a){if(a&1){var b=u();E(0,"div",21,22);M("click",function(){v(b);var c=N(2);return x(c.loadHotlist())})("keydown.enter",function(){v(b);var c=N(2);return x(c.loadHotlist())});R(2,"Load hotlist from id ");E(3,"span");R(4);G()()}a&2&&(a=N(2),yf("focused",a.focusedRowIndex===a.choices.length+1),pf("aria-label","Load hotlist from"+a.filterText),y(4),S("(",a.filterText,
")"))},pVa=function(a){if(a&1){var b=u();E(0,"div",23,24);M("click",function(){v(b);var c=N(2);return x(oVa(c))})("keydown.enter",function(){v(b);var c=N(2);return x(oVa(c))});R(2,"Apply");G()}a&2&&(a=N(2),yf("focused",a.focusedRowIndex===a.choices.length+2))},qVa=function(a){if(a&1){var b=u();E(0,"div",5)(1,"div",10,11);C(3,lVa,5,11,"div",12);G()();I(4,"mat-divider");E(5,"div",13,14);M("click",function(){v(b);var c=N();return x(c.createHotlist())})("keydown.enter",function(){v(b);var c=N();return x(c.createHotlist())});
R(7,"Create new hotlist ");C(8,mVa,2,1,"span",15);G();C(9,nVa,5,4,"div",16)(10,pVa,3,2,"div",17)}a&2&&(a=N(),y(3),D("ngForOf",a.choices),y(2),yf("focused",a.focusedRowIndex===a.choices.length),D("disabled",!a.canCreate),pf("aria-label","Create new hotlist"+a.filterText),y(3),D("ngIf",!!a.filterText),y(),D("ngIf",a.canLoad),y(),D("ngIf",a.pendingChanges))},Kp=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},Lp=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase())return a[c]},rVa=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase()){delete a[c];break}},tVa=function(a){a=dc(a);for(var b=0;b<sVa.length;++b){var c=sVa[b],d=Lp(a,c);d&&(a["X-Goog-Upload-Header-"+c]=d,rVa(a,c))}return a},uVa=function(a){a=dc(a);rVa(a,"X-Goog-Upload-Status");return a},wVa=function(a){if(a&1){var b=u();E(0,"button",3);M("fileSelected",function(c){v(b);var d=N();return x(vVa(d,
c))});I(1,"mat-icon",4);G()}a&2&&(a=N(),D("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},xVa=function(a){if(a&1){var b=u();E(0,"button",5);M("fileSelected",function(c){v(b);var d=N();return x(vVa(d,c))});I(1,"mat-icon",4);R(2," Add attachments ");G()}a&2&&(a=N(),D("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},yVa=function(a){a&1&&(E(0,"span"),R(1),T(2,"humanFileSize"),T(3,"humanFileSize"),
G());if(a&2){a=N().$implicit;var b;y();ag(" ",V(2,2,a.transferredBytes)," of ",V(3,4,null!==(b=a.size)&&void 0!==b?b:0)," ")}},zVa=function(a){a&1&&(E(0,"span",11),R(1),G());a&2&&(a=N().$implicit,y(),S(" ",a.errorMessage," "))},AVa=function(a){a&1&&(E(0,"span",11),R(1),T(2,"humanFileSize"),G());if(a&2){a=N().$implicit;var b;y();S(" ",V(2,1,null!==(b=a.size)&&void 0!==b?b:0)," ")}},CVa=function(a,b){if(a&1){var c=u();E(0,"div",3)(1,"div",4);I(2,"mat-icon",5);E(3,"span",6);R(4);G();E(5,"span",7);C(6,
yVa,4,6,"span",8)(7,zVa,2,1,"span",9)(8,AVa,3,3,"span",9);G()();E(9,"button",10);M("click",function(){var d=v(c).$implicit,e=N(2);return x(e.cancel(d))});G()()}a&2&&(a=b.$implicit,b=N(2),D("ngClass",fg(8,BVa,a.state===b.uploadStates.ERROR)),y(3),D("matTooltip",a.name),y(),$f(a.name),y(2),D("ngIf",a.state===b.uploadStates.UPLOADING),y(),D("ngIf",a.state===b.uploadStates.ERROR),y(),D("ngIf",a.state===b.uploadStates.COMPLETE),y(),D("matTooltip",a.state===b.uploadStates.UPLOADING?"Cancel upload":"Remove attachment"),
pf("aria-label","Remove attachment"+a.name))},DVa=function(a){a&1&&(E(0,"div",1),C(1,CVa,10,10,"div",2),G());a&2&&(a=N(),y(),D("ngForOf",a.uploads))},EVa=function(a){this.action=a;this.wfv=!1},FVa=function(a,b){EVa.call(this,"set-drive-options");this.appId=a;this.appOrigin=b},GVa=function(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc},IVa=function(a,b){var c=b&&b.getWindow()||window;if(GVa(b))a();else if(HVa)HVa.push(a);else var d=HVa=[a],e=c.setInterval(function(){if(GVa(b)){c.clearInterval(e);
for(var f=0;f<d.length;f++)d[f]();HVa=null}},100)},KVa=function(a,b){var c;a:{for(c=b.target;c;){if(1==c.nodeType){var d=Mp(c,"overflowY");if("auto"==d||"scroll"==d)break a}c=c.parentNode}c=null}(!c||!JVa(a,c)||c.scrollHeight==c.clientHeight||0<b.deltaY&&1>=Math.abs(c.scrollTop-(c.scrollHeight-c.clientHeight))||0>b.deltaY&&0==c.scrollTop)&&b.stopPropagation()},LVa=function(a){if(a&1){var b=u();E(0,"div",1);I(1,"mat-icon",2);E(2,"div",3);R(3," Comment and vote +1 on this issue to increase visibility ");
G();E(4,"div",4)(5,"button",5);M("click",function(){v(b);var c=N();return x(c.onClick())});R(6,"Comment and vote +1");G()()()}a&2&&(y(),D("matTooltip","The +1 button is located in the top right corner of the issue details page"))},MVa=function(a){if(a&1){var b=u();K(0);E(1,"b-plus-one-comment-callout",7);M("onSubmitComment",function(){v(b);N().onSubmit.emit();return x()});G();L()}a&2&&(a=N(),y(),D("isPlusOneText","+1"===a.comment.value.trim()))},NVa=function(a){if(a&1){var b=u();E(0,"b-drive-attachment",
12);M("onPickDoc",function(c){v(b);var d=N(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 x()})("onCloneBlob",function(c){v(b);var d=N(2);return x(d.addUpload(c))});G()}a&2&&(a=N(2),D("disabled",a.attachmentsDisabled))},OVa=function(a){if(a&1){var b=u();K(0);E(1,"button",16);M("click",function(){v(b);var c=N(3);return x(c.onRestrict.emit())});I(2,"mat-icon",17);G();L()}a&2&&(a=
N(3),y(),D("disabled",a.attachmentsDisabled))},PVa=function(a){if(a&1){var b=u();E(0,"button",18);M("click",function(){v(b);var c=N(3);return x(c.onRestrict.emit())});I(1,"mat-icon",17);R(2);G()}a&2&&(a=N(3),y(2),S(" ",a.getRestrictedLabel()," "))},QVa=function(a){a&1&&(E(0,"div",13),C(1,OVa,3,1,"ng-container",14)(2,PVa,3,1,"ng-template",null,15,jg),G());if(a&2){var b=Q(3);a=N(2);y();D("ngIf",!a.isRestricted())("ngIfElse",b)}},RVa=function(a){if(a&1){var b=u();E(0,"div",8);Mf(1,2,["class","goog-inline-block"]);
E(2,"b-attachment-selector",9);M("onSelect",function(d){v(b);var e=N();return x(e.uploadFile(d))});G();C(3,NVa,1,1,"b-drive-attachment",10);T(4,"async");C(5,QVa,4,2,"div",11);G()}if(a&2){a=N();var c;y(2);D("disabled",a.attachmentsDisabled);y();D("ngIf",!(null!==(c=V(4,3,a.currentTracker.inTracker$))&&void 0!==c&&c));y(2);D("ngIf",a.showRestrictionOptions)}},SVa=function(a){a&1&&(E(0,"div"),I(1,"b-live-preview",19),G());a&2&&(a=N(),y(),D("comment",a.comment.value)("issueId",a.issueId)("audience",a.audience)("formattingMode",
a.comment.formattingMode))},UVa=function(a,b){if(a&1){var c=u();E(0,"div",6)(1,"b-contact-chip",7);M("chipSelection",function(){var d=v(c).index,e=N();e.selectedChipIndex!==d&&Np(e,d)&&(TVa(e),e.selectedChipIndex=d,e.items[d].isSelected=!0);return x()})("chipClear",function(){v(c);var d=N();return x(TVa(d))})("chipRemove",function(){var d=v(c).index,e=N();return x(e.removeItem(d))});G()()}a&2&&(a=b.$implicit,b=N(),y(),D("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()))},XVa=function(a){if(a&1){var b=u();E(0,"input",8,9);M("autocompleteActive",function(){v(b);var c=N();return x(c.chipifyFn())})("ngModelChange",function(c){v(b);var d=N();return x(d.typedText=c)})("focus",function(){v(b);var c=N();return x(VVa(c))})("blur",function(){v(b);var c=N();WVa(c,c.typedText.split(",")[0].trim());c.isFocused=!1;
return x()});G()}a&2&&(a=N(),D("bContactAutocomplete","MULTI")("additionalContactsCallback",a.additionalContactsFn)("ngModel",a.typedText)("disabled",a.isWidgetDisabled()))},YVa=function(a){a&1&&(E(0,"span"),R(1," Groups cannot be granted Restricted+ reader permission. "),E(2,"a",10),R(3,"Learn more"),G()());a&2&&(a=N(),y(2),pf("href",np(a.documentationLinks)+"#components",Pd))},ZVa=function(a){a&1&&(E(0,"span"),R(1," Invalid user(s). "),G())},$Va=function(a){a&1&&(E(0,"span"),R(1,' "Public" or external users are not allowed for component designated as "internal access". '),
G())},aWa=function(a){a&1&&(E(0,"span"),R(1,' "Public" is not allowed for components designated as "external partner access". '),G())},bWa=function(a){a&1&&(E(0,"span"),R(1," SLO lead can not be a group. "),G())},cWa=function(a){a&1&&(E(0,"span"),R(1," SLO lead can only be a full-time Googler. "),G())},dWa=function(a){a&1&&(K(0,8),I(1,"br"),E(2,"h2"),R(3,"Users who can view"),G(),I(4,"b-multi-user-input",10),L());if(a&2){a=N();var b=N(2);D("onedevIsHovercardReady",b.viewersLoaded$);y(4);D("users",
a);pf("disabled",!0)}},eWa=function(a){a&1&&C(0,dWa,5,3,"ng-container",9)},gWa=function(a){if(a&1){var b=u();K(0);E(1,"span",1,2);M("focus",function(){v(b);var e=Q(2);e.disabled=!1;return x(e.show())})("blur",function(){v(b);var e=Q(2);e.disabled=!0;return x(e.hide())});T(3,"async");R(4);T(5,"async");G();E(6,"onedev-hovercard",null,3)(8,"div",4)(9,"div",5)(10,"div",6);R(11);T(12,"async");E(13,"a",7);R(14," Learn more. ");G();C(15,eWa,1,0,"ng-container",8);T(16,"async");G()()()();L()}if(a&2){var c=
Q(7);a=N();var d;y();yf("xs",a.compactMode);D("onedevHovercardTrigger",c)("matTooltipDisabled",!0)("ngClass",V(3,9,a.chipClass$));y(3);S(" ",V(5,11,a.chipText$)," ");y(7);S(" ",V(12,13,a.bubbleText$)," ");y(2);D("href",fWa(a.documentationLinks),Pd);y(2);Cf(15,(d=V(16,15,a.viewers$))?15:-1,d)}},hWa=function(a){return"visible_to_listed_partners"===a||"visible_to_listed_public_users"===a},iWa=function(a){a&1&&Gf(0)},jWa=function(a){a&1&&(E(0,"span"),R(1,"Details"),G())},kWa=function(a){a&1&&(E(0,"span"),
R(1,"Members"),G())},mWa=function(a){a&1&&(E(0,"div",13)(1,"a",14),C(2,jWa,2,0,"span",15)(3,kWa,2,0,"span",15),G()());if(a&2){a=N(2);y();if(void 0===a.email)var b="";else{b=encodeURIComponent(a.getName());var c=encodeURIComponent(a.email);b=lWa(a.email)?"https://ganpati2.corp.google.com/group/"+b+".corp":VBa(a.email)?"https://twosync.corp.google.com/rosterz/"+c:"https://groups.google.com/a/google.com/forum/#!members/"+b}D("href",b,Pd);y();D("ngIf",lWa(a.email));y();D("ngIf",!lWa(a.email))}},nWa=function(a){a&
1&&(K(0),E(1,"span",2),C(2,iWa,1,0,"ng-container",3),G(),E(3,"onedev-hovercard",null,4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9)(10,"h3"),R(11),G()(),E(12,"div",10),I(13,"mat-icon",11),E(14,"span"),R(15),G()()(),C(16,mWa,4,3,"div",12),G()()()(),L());if(a&2){var b=Q(4);a=N();var c=Q(2);y();D("onedevHovercardTrigger",b);y();D("ngTemplateOutlet",c);y(9);$f(a.getName());y(4);$f(a.email);y();D("ngIf",a.shouldShowLinks())}},oWa=function(a){a&1&&Mf(0)},pWa=function(a,b){a&1&&I(0,"mat-icon",
8);a&2&&D("svgIcon",b.ngIf)},qWa=function(a){a&1&&(E(0,"b-person-hovercard",9),R(1),G());a&2&&(a=N(),D("email",a.value),y(),S(" ",a.displayText," "))},rWa=function(a){a&1&&(E(0,"b-group-email-card",9),R(1),G());a&2&&(a=N(),D("email",a.value),y(),S(" ",a.displayText," "))},sWa=function(a){a&1&&(E(0,"div"),R(1),G());a&2&&(a=N(),y(),S(" ",a.displayText," "))},tWa=function(a){if(a&1){var b=u();E(0,"div",10);M("click",function(){v(b);var c=N();return x(c.chipRemove.emit())})("keydown.enter",function(){v(b);
var c=N();return x(c.chipRemove.emit())});I(1,"mat-icon",11);G()}a&2&&(a=N(),Nf("matTooltip","'Remove ",a.displayText,"'"),pf("aria-label","Remove "+a.displayText))},uWa=function(a,b){a&1&&(E(0,"div",19),I(1,"b-contact-chip",20),G());a&2&&(a=b.$implicit,b=N(2),y(),D("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},vWa=function(a){a&1&&(E(0,"div",12)(1,"div",13)(2,"div",14),C(3,uWa,2,5,"div",15),E(4,
"div",16),I(5,"div",17)(6,"div",18),G()()()());a&2&&(a=N(),y(3),D("ngForOf",a.nestedChips))},wWa=function(a){a&1&&(E(0,"li")(1,"a",2),R(2),G(),I(3,"b-issue-visibility-chip",3),G());a&2&&(a=N().$implicit,y(),Nf("href","issues/",a.issueId,"",Pd),y(),S("b/",a.issueId,""),y(),D("issueId",a.issueId))},xWa=function(a,b){a&1&&C(0,wWa,4,3,"li");a&2&&Cf(0,"issue"===b.$implicit.type?0:-1)},yWa=function(a){a&1&&(E(0,"ul"),Ef(1,xWa,1,1,null,null,Ela),G(),R(3," within: "));a&2&&(a=N(2),y(),Ff(a.externalWarnings))},
zWa=function(a){a&1&&(E(0,"li"),R(1),I(2,"b-component-access-level-indicator",4),G());a&2&&(a=N().$implicit,y(),S(" ",a.path," "),y(),D("accessLevel",a.accessLevel))},AWa=function(a,b){a&1&&C(0,zWa,3,2,"li");a&2&&Cf(0,"component"===b.$implicit.type?0:-1)},BWa=function(a){a&1&&(E(0,"div",1)(1,"div")(2,"strong"),R(3,"You are editing issues in components that may have external viewers:"),G()(),C(4,yWa,4,0),E(5,"ul"),Ef(6,AWa,1,1,null,null,Ela),G()());a&2&&(a=N(),y(4),Cf(4,a.enableNewVisibilityChips?
4:-1),y(2),Ff(a.externalWarnings))},DWa=function(a,b){if(a&1){var c=u();E(0,"button",13);M("click",function(){var d=v(c).$implicit,e=N(3);return x(CWa(e.issueEditBuilder,d))});R(1);G()}a&2&&(a=b.$implicit,b=N(3),D("disabled",b.issueEditBuilder.issueState==a),y(),S(" ",a.displayValue," "))},EWa=function(a){if(a&1){var b=u();E(0,"div",27)(1,"span");R(2,"Multiple");G();E(3,"a",28);M("click",function(){v(b);var c=N(4);return x(c.issueEditBuilder.clearAssignee())});R(4,"X");G()()}},FWa=function(a){if(a&
1){var b=u();E(0,"div",27)(1,"span");R(2,"Possibly multiple");G();E(3,"a",28);M("click",function(){v(b);var c=N(4);return x(c.issueEditBuilder.clearAssignee())});R(4,"X");G()()}},HWa=function(a){if(a&1){var b=u();E(0,"div")(1,"input",29);M("ngModelChange",function(c){v(b);var d=N(4);return x(d.issueEditBuilder.commonAssignee=c)})("ngModelChange",function(){v(b);var c=N(4);return x(GWa(c.issueEditBuilder))});G()()}a&2&&(a=N(4),y(),D("ngModel",a.issueEditBuilder.commonAssignee)("bContactAutocomplete",
"SINGLE"),pf("cdkFocusInitial",a.focus===a.FocusableField.ASSIGNEE||null))},IWa=function(a){if(a&1){var b=u();E(0,"div",27)(1,"span");R(2);G();E(3,"a",30);M("click",function(){v(b);var c=N(4);return x(c.issueEditBuilder.clearVerifier())});R(4,"X");G()()}a&2&&(a=N(4),yf("bv2-invalid-multiple-user-chip",!Op(a.issueEditBuilder)),y(2),S(" Multiple ",Op(a.issueEditBuilder)?"":"(some unset)"," "))},JWa=function(a){if(a&1){var b=u();E(0,"div",27)(1,"span");R(2);G();E(3,"a",30);M("click",function(){v(b);
var c=N(4);return x(c.issueEditBuilder.clearVerifier())});R(4,"X");G()()}a&2&&(a=N(4),yf("bv2-invalid-multiple-user-chip",!Op(a.issueEditBuilder)),y(2),S(" Possibly multiple ",Op(a.issueEditBuilder)?"":"(some unset)"," "))},KWa=function(a){if(a&1){var b=u();E(0,"div")(1,"input",31);M("ngModelChange",function(c){v(b);var d=N(4);return x(d.issueEditBuilder.commonVerifier=c)});G()()}a&2&&(a=N(4),y(),D("ngModel",a.issueEditBuilder.commonVerifier)("required","VERIFIED"==(null==a.issueEditBuilder.issueState?
null:a.issueEditBuilder.issueState.status))("bContactAutocomplete","SINGLE"),pf("cdkFocusInitial",a.focus===a.FocusableField.VERIFIER||null))},LWa=function(a){a&1&&(E(0,"div")(1,"div",21)(2,"label",22),R(3," Assignee "),G(),E(4,"div",15),C(5,EWa,5,0,"div",23)(6,FWa,5,0,"div",23)(7,HWa,2,3,"div",24),G()(),E(8,"div",21)(9,"label",25),R(10," Verifier "),G(),E(11,"div",15),C(12,IWa,5,3,"div",26)(13,JWa,5,3,"div",26)(14,KWa,2,4,"div",24),G()()());a&2&&(a=N(3),y(4),D("ngSwitch",a.issueEditBuilder.selectedAssigneesStatus),
y(),D("ngSwitchCase","MULTIPLE"),y(),D("ngSwitchCase","POSSIBLY_MULTIPLE"),y(5),D("ngSwitch",a.issueEditBuilder.selectedVerifiersStatus),y(),D("ngSwitchCase","MULTIPLE"),y(),D("ngSwitchCase","POSSIBLY_MULTIPLE"))},MWa=function(a){if(a&1){var b=u();E(0,"div",21)(1,"label",32);R(2," Issue ID ");G();E(3,"input",33);M("ngModelChange",function(c){v(b);var d=N(3).issueEditBuilder;c=rFa(c);return x(d.commonDuplicateOf=1===c.length?c[0]:"")});G()()}a&2&&(a=N(3),y(3),D("ngModel",a.issueEditBuilder.commonDuplicateOf),
pf("cdkFocusInitial",a.focus===a.FocusableField.DUPE_ID||null))},NWa=function(a){if(a&1){var b=u();E(0,"div",9)(1,"button",10)(2,"span");R(3);G();I(4,"b-icon",11);G();E(5,"mat-menu",null,12)(7,"button",13);M("click",function(){v(b);var d=N(2);return x(d.issueEditBuilder.issueState=void 0)});R(8,"No change ");G();C(9,DWa,2,2,"button",14);G();E(10,"div",15);C(11,LWa,15,6,"div",16)(12,MWa,4,2,"div",17);G();E(13,"div")(14,"b-comment-box",18);M("onSubmit",function(){v(b);var d;null==(d=N(2).matDialogRef)||
d.close(!0);return x()});G()();I(15,"div",19)(16,"b-external-warnings",20);G()}if(a&2){var c=Q(6);a=N(2);y();D("matMenuTriggerFor",c);y(2);$f(a.issueEditBuilder.issueState?a.issueEditBuilder.issueState.displayValue:"No change");y(4);D("disabled",!a.issueEditBuilder.issueState);y(2);D("ngForOf",a.issueStates);y();D("ngSwitch",!a.issueEditBuilder.issueState||"DUPLICATE"!==a.issueEditBuilder.issueState.status);y();D("ngSwitchCase",!0);y(3);D("comment",a.comment)("showToolbar",!1);y(2);D("externalWarnings",
a.externalWarnings)}},OWa=function(a){if(a&1){var b=u();E(0,"div",34)(1,"b-recaptcha",35);M("onUpdate",function(c){v(b);var d=N(2);return x(d.issueEditBuilder.recaptchaResponse=c)});G()()}},QWa=function(a){a&1&&(E(0,"form",null,1)(2,"h1",2),R(3,"Change issue status"),G(),E(4,"div",3)(5,"span"),R(6,"Enter updated issue status information below"),G(),C(7,NWa,17,9,"div",4),G(),C(8,OWa,2,0,"div",5),E(9,"div",6)(10,"button",7),R(11," Cancel "),G(),E(12,"button",8),R(13," Save "),G()()());if(a&2){var b=
Q(1);a=N();y(7);D("ngIf",a.issueEditBuilder);y();D("ngIf",a.issueEditBuilder&&a.enableRecaptcha);y(2);D("mat-dialog-close",!1);y(2);var c=D("mat-dialog-close",!0),d;if(!(d=b.invalid))a:{if(null!=a.issueEditBuilder){d=PWa(a.issueEditBuilder);var e=d.get("status");if("DUPLICATE"===e){d=!d.get("duplicateOfIssueId");break a}if("VERIFIED"===e){d=!Op(a.issueEditBuilder)&&!d.get("verifier");break a}}d=!1}c("disabled",d||!(!a.enableRecaptcha||""!==a.issueEditBuilder.recaptchaResponse))}},RWa=function(a,b){return{displayAs:"Team: "+
a.name,queryAtom:"teamId:"+a.teamId+(void 0===b||b?"+":""),tooltip:"Issues within this team's components"}},SWa=function(a,b){return{displayAs:"Component: "+a.name,queryAtom:"componentId:"+a.componentId+(void 0===b||b?"+":""),tooltip:"Issues within this component"}},Pp=function(){return Vc.apply(0,arguments).filter(Boolean).join(" AND ")},Qp=function(a,b,c){c=void 0===c?!1:c;if(!b)return"";Array.isArray(b)||(b=[b]);b=b.filter(Bi);return 0===b.length?"":a+":("+b.join("|")+")"+(c?"+":"")},TWa=function(a){a&
1&&I(0,"div",2)},UWa=function(a){a&1&&(K(0),Mf(1),L())},VWa=function(a){a&1&&I(0,"b-formatted-date-time",3);a&2&&(a=N(),D("mode",a.mode)("timestamp",a.createdTime)("paddingLeftPx",0))},WWa=function(a){a&1&&R(0,"--")},XWa=function(a){a&1&&I(0,"mat-icon",3)},YWa=function(a){a&1&&(E(0,"span",25),R(1),G());a&2&&(a=N(3),y(),$f(a.HOTKEYS.COPY_ISSUE_ID.displayAs))},ZWa=function(a){a&1&&(E(0,"span",25),R(1),G());a&2&&(a=N(4),y(),$f(a.HOTKEYS.COPY_ISSUE_SHORTLINK.displayAs))},$Wa=function(a){if(a&1){var b=
u();E(0,"div",11)(1,"label",12);R(2,"Issue shortlink");G();E(3,"input",26,27);M("onHotkey",function(){v(b);var d=Q(4),e=N(3);return x(Rp(e,d))})("focus",function(){v(b);var d=Q(4);return x(d.select())});G();C(5,ZWa,2,1,"span",15);E(6,"button",28);M("onHotkey",function(){v(b);var d=Q(4),e=N(3);return x(Rp(e,d))})("click",function(){v(b);var d=Q(4),e=N(3);return x(Rp(e,d))});I(7,"mat-icon",17);G()()}if(a&2){var c=Q(4);a=N(3);y();D("htmlFor",c.id);y(2);D("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",
a.enableHotkeys);pf("value",a.getAppBaseUrl().replace(/^.*?:\/\//,""));y(2);D("ngIf",a.enableHotkeys);y();D("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",a.enableHotkeys)}},aXa=function(a){a&1&&(E(0,"span",25),R(1),G());a&2&&(a=N(3),y(),$f(a.HOTKEYS.COPY_ISSUE_URL.displayAs))},bXa=function(a){a&1&&(E(0,"span",25),R(1),G());a&2&&(a=N(3),y(),$f(a.HOTKEYS.COPY_ISSUE_TITLE.displayAs))},cXa=function(a){a&1&&(E(0,"span",25),R(1),G());a&2&&(a=N(4),y(),$f(a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS.displayAs))},
dXa=function(a){if(a&1){var b=u();E(0,"div",11)(1,"label",12);R(2,"Issue email");G();E(3,"input",29,30);M("onHotkey",function(){v(b);var d=Q(4),e=N(3);return x(Rp(e,d))})("focus",function(){v(b);var d=Q(4);return x(d.select())});G();C(5,cXa,2,1,"span",15);E(6,"button",31);M("onHotkey",function(){v(b);var d=Q(4),e=N(3);return x(Rp(e,d))})("click",function(){v(b);var d=Q(4),e=N(3);return x(Rp(e,d))});I(7,"mat-icon",17);G()()}if(a&2){var c=Q(4);a=N(3);y();D("htmlFor",c.id);y(2);D("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",
a.enableHotkeys);pf("value","buganizer-system"+(Oj(a.activeSession.session)?"":"-qa")+("+"+a.componentId+"+"+a.issueId)+"@google.com");y(2);D("ngIf",a.enableHotkeys);y();D("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",a.enableHotkeys)}},eXa=function(a){a&1&&(E(0,"span",25),R(1),G());a&2&&(a=N(4),y(),$f(a.HOTKEYS.COPY_ISSUE_TODO.displayAs))},fXa=function(a){if(a&1){var b=u();E(0,"div",11)(1,"label",12);R(2,"TODO comment");G();E(3,"input",32,33);M("onHotkey",function(){v(b);var d=Q(4),
e=N(3);return x(Rp(e,d))})("focus",function(){v(b);var d=Q(4);return x(d.select())});G();C(5,eXa,2,1,"span",15);E(6,"button",34);M("onHotkey",function(){v(b);var d=Q(4),e=N(3);return x(Rp(e,d))})("click",function(){v(b);var d=Q(4),e=N(3);return x(Rp(e,d))});I(7,"mat-icon",17);G()()}if(a&2){var c=Q(4);a=N(3);y();D("htmlFor",c.id);y(2);D("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys);pf("value","TODO: "+a.getAppBaseUrl().replace(/^.*?:\/\//,"")+" - "+a.issueTitle);y(2);D("ngIf",
a.enableHotkeys);y();D("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys)}},gXa=function(a){if(a&1){var b=u();E(0,"div",10)(1,"div",11)(2,"label",12);R(3,"Issue ID");G();E(4,"input",13,14);M("onHotkey",function(){v(b);var f=Q(5),h=N(2);return x(Rp(h,f))})("focus",function(){v(b);var f=Q(5);return x(f.select())});G();C(6,YWa,2,1,"span",15);E(7,"button",16);M("onHotkey",function(){v(b);var f=Q(5),h=N(2);return x(Rp(h,f))})("click",function(){v(b);var f=Q(5),h=N(2);return x(Rp(h,f))});
I(8,"mat-icon",17);G()();C(9,$Wa,8,7,"div",18);E(10,"div",11)(11,"label",12);R(12,"Issue URL");G();E(13,"input",19,20);M("onHotkey",function(){v(b);var f=Q(14),h=N(2);return x(Rp(h,f))})("focus",function(){v(b);var f=Q(14);return x(f.select())});G();C(15,aXa,2,1,"span",15);E(16,"button",21);M("onHotkey",function(){v(b);var f=Q(14),h=N(2);return x(Rp(h,f))})("click",function(){v(b);var f=Q(14),h=N(2);return x(Rp(h,f))});I(17,"mat-icon",17);G()();E(18,"div",11)(19,"label",12);R(20,"URL and title");
G();E(21,"input",22,23);M("onHotkey",function(){v(b);var f=Q(22),h=N(2);return x(Rp(h,f))})("focus",function(){v(b);var f=Q(22);return x(f.select())});G();C(23,bXa,2,1,"span",15);E(24,"button",24);M("onHotkey",function(){v(b);var f=Q(22),h=N(2);return x(Rp(h,f))})("click",function(){v(b);var f=Q(22),h=N(2);return x(Rp(h,f))});I(25,"mat-icon",17);G()();C(26,dXa,8,7,"div",18)(27,fXa,8,7,"div",18);G()}if(a&2){var c=Q(5),d=Q(14),e=Q(22);a=N(2);D("cdkTrapFocusAutoCapture",!0);y(2);D("htmlFor",c.id);y(2);
D("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);pf("value",a.issueId);y(2);D("ngIf",a.enableHotkeys);y();D("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);y(2);D("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker);y(2);D("htmlFor",d.id);y(2);D("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);pf("value",a.getIssueUrl());y(2);D("ngIf",a.enableHotkeys);y();D("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);
y(3);D("htmlFor",e.id);y(2);D("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",a.enableHotkeys);pf("value",a.getAppBaseUrl(a.isExternalIssue)+" "+a.issueTitle);y(2);D("ngIf",a.enableHotkeys);y();D("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",a.enableHotkeys);y(2);D("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker);y();D("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker)}},hXa=function(a){if(a&1){var b=u();K(0);E(1,"button",4,5);M("onHotkey",
function(){v(b);var d=N();d.disabled||d.trigger.open();return x()})("onedevPopupPanelTriggerOpened",function(){v(b);var d=N();return x(d.isOpen=!0)})("onedevPopupPanelTriggerClosed",function(){v(b);var d=N();return x(d.isOpen=!1)})("click",function(){v(b);var d=N();d.disabled||d.trigger.open();return x()});I(3,"mat-icon",6);G();E(4,"onedev-popup-panel",7,8);C(6,gXa,28,25,"div",9);G();L()}if(a&2){var c=Q(5);a=N();y();D("onedevPopupPanelTriggerFor",c)("hotkey",a.HOTKEYS.HIGHLIGHT_ISSUE_ID)("hotkeyEnabled",
a.enableHotkeys);pf("aria-label","Show links for the issue "+a.issueId);y(5);D("ngIf",a.isOpen)}},iXa=function(a){a&1&&I(0,"b-issue-id-picker",2);a&2&&(a=N(),D("issueId",a.id)("showCopyOptions",!1))},jXa=function(a){a&1&&(K(0),I(1,"b-issue-priority-display",3),L());a&2&&(a=N(),y(),D("issuePriority",a.priority))},kXa=function(a){a&1&&R(0,"--")},lXa=function(a,b){a&1&&(E(0,"div",3),R(1),G());a&2&&(a=b.$implicit,b=N(),Bf("chippy status-",a,""),D("title",b.STATUS_JS_FULL_TEXT[a]),y(),S(" ",b.STATUS_JS_TERSE[a],
" "))},mXa=function(a){a&1&&R(0,"--")},nXa=function(a){a&1&&(K(0),R(1,"Un-"),L())},oXa=function(a){a&1&&I(0,"b-issue-visibility-chip",6);a&2&&(a=N(2),D("issueId",a.issueId))},pXa=function(a){a&1&&I(0,"b-component-access-level-indicator",13);a&2&&(a=N(2),D("labelOnlyMode",!0)("accessLevel",null==a.issue.accessLimit?null:a.issue.accessLimit.accessLevel))},qXa=function(a){a&1&&(E(0,"span"),R(1," Assigned to "),I(2,"b-user-display",17),G());a&2&&(a=N(2).ngIf,y(2),D("model",a.assigneeUser)("hovercardEnabled",
!1))},rXa=function(a){a&1&&(E(0,"span"),R(1," Accepted by "),I(2,"b-user-display",17),G());a&2&&(a=N(2).ngIf,y(2),D("model",a.assigneeUser)("hovercardEnabled",!1))},sXa=function(a){a&1&&(E(0,"span"),R(1," Duplicate of "),E(2,"a",3),R(3),G()());if(a&2){a=N(2).ngIf;var b=N(),c;y(2);rf("aria-label","Go to issue ",a.duplicateOfIssueId,"");D("href",b.editIssue(null!==(c=a.duplicateOfIssueId)&&void 0!==c?c:void 0),Pd);y();S(" ",a.duplicateOfIssueId," ")}},tXa=function(a){a&1&&(E(0,"span"),R(1),G());if(a&
2){a=N().ngIf;var b=N(2);y();S(" ",b.STATUS_JS_FULL_TEXT[a]," ")}},uXa=function(a,b){a&1&&(K(0,14),C(1,qXa,3,2,"span",15)(2,rXa,3,2,"span",15)(3,sXa,4,3,"span",15)(4,tXa,2,1,"span",16),L());a&2&&(D("ngSwitch",b.ngIf),y(),D("ngSwitchCase","ASSIGNED"),y(),D("ngSwitchCase","ACCEPTED"),y(),D("ngSwitchCase","DUPLICATE"))},vXa=function(a,b){a&1&&(K(0),I(1,"b-app-vote-button",18),L());if(a&2){a=b.ngIf;b=N().ngIf;var c=N(2),d;y();D("issueId",c.issueId)("voteCount",b.voteCount)("upvoted",null!==(d=a.voted)&&
void 0!==d?d:!1)}},wXa=function(a){a&1&&(K(0),C(1,vXa,2,3,"ng-container",1),L());a&2&&(a=N(2),y(),D("ngIf",a.issue.userData))},yXa=function(a){if(a&1){var b=u();K(0);E(1,"button",19);M("click",function(){v(b);var c=N(2);return x(xXa(c,c.childContextId))});R(2," Unlink parent ");G();L()}},zXa=function(a,b){a&1&&(E(0,"li"),R(1," Last updated by "),I(2,"b-user-display",17),R(3," on: "),I(4,"b-formatted-date-time",20),G());a&2&&(a=b.ngIf,b=N().ngIf,y(2),D("model",a)("hovercardEnabled",!1),y(2),D("timestamp",
b.modifiedTimeMicros/1E3))},AXa=function(a,b){a&1&&(K(0),C(1,zXa,5,3,"li",1),E(2,"li"),R(3," Reported by "),I(4,"b-user-display",17),R(5," on: "),I(6,"b-formatted-date-time",20),G(),L());a&2&&(a=b.ngIf,b=N().ngIf,y(),D("ngIf",a.lastModifier),y(3),D("model",b.reporterUser)("hovercardEnabled",!1),y(2),D("timestamp",a.createdTimeMicros/1E3))},BXa=function(a){a&1&&(E(0,"li",21),I(1,"b-note-container",22),G());if(a&2){a=N(2);var b;y();D("issueId",a.issueId)("issueAccessLevel",null==a.issue.accessLimit?
null:a.issue.accessLimit.accessLevel)("formattingMode",null!==(b=a.firstEvent.formattingMode)&&void 0!==b?b:a.FormattingMode.UNSPECIFIED_FORMATTING_MODE)("note",a.getNote())}},EXa=function(a,b){if(a&1){var c=u();K(0);E(1,"div",2)(2,"h3")(3,"a",3);R(4);G();R(5," \u00a0 ");E(6,"span",4);R(7);G()();E(8,"ul")(9,"li",5);C(10,oXa,1,1,"b-issue-visibility-chip",6)(11,pXa,1,2);G();E(12,"li",7)(13,"span",8);R(14);G();R(15," \u00a0 ");C(16,uXa,5,4,"ng-container",9);G()();E(17,"div",10)(18,"b-cc-button",11);
M("onCc",function(f){v(c);var h=N();h.location&&f&&kp(h.analytics,h.location+"_"+Sp.ISSUE_CARD,"add","CC");return x()});G();C(19,wXa,2,1,"ng-container",1)(20,yXa,3,0,"ng-container",1);G();E(21,"ul");C(22,AXa,7,4,"ng-container",1)(23,BXa,2,4,"li",12);G()();L()}if(a&2){a=b.ngIf;b=N();var d,e;y(3);rf("aria-label","Go to issue ",b.issueId,"");D("href",b.editIssue(b.issueId),Pd);y();$f(b.issueId);y(3);$f(a.title);y(3);Cf(10,b.enableNewVisibilityChips?10:11);y(3);D("ngClass",b.priorityClass(a.priority));
y();$f(b.ISSUE_PRIORITY_TEXT_JS[null!==(d=a.priority)&&void 0!==d?d:b.ISSUE_PRIORITY_ENUM.PRIORITY_UNSPECIFIED]);y(2);D("ngIf",a.status);y(2);D("issueId",b.issueId)("ccState",CXa(b,null!==(e=a.ccUsers)&&void 0!==e?e:eg(14,DXa)));y();D("ngIf",b.issue.aggregatedData);y();D("ngIf",b.childContextId);y(2);D("ngIf",b.issue.aggregatedData);y();D("ngIf",b.firstEvent.unlinkifiedComment)}},FXa=function(a){if(a&1){var b=u();K(0);E(1,"span",7);R(2);G();E(3,"a",8);M("keydown",function(c){v(b);N();"Enter"===c.key&&
c.stopPropagation();return x()})("click",function(c){return c.stopPropagation()});I(4,"mat-icon",9);G();L()}a&2&&(a=N(),y(2),$f(a.title||"--"),y(),D("routerLink","/"+a.link)("target",a.anchorTarget)("matTooltipShowDelay",250))},GXa=function(a){if(a&1){var b=u();E(0,"a",10);M("keydown",function(d){v(b);N();"Enter"===d.key&&d.stopPropagation();return x()})("click",function(d){return d.stopPropagation()});R(1);G()}if(a&2){a=N();var c=Q(7);D("routerLink","/"+a.link)("target",a.anchorTarget)("onedevHovercardTrigger",
c)("onedevHovercardActive",a.enableHovercard);y();$f(a.title||"--")}},HXa=function(a,b){a&1&&(E(0,"span",11),R(1),G());if(a&2){a=b.$implicit;var c;zf(a.cssClass);sf("aria-label","",a.title," - ",a.tooltip,"");D("matTooltip",null!==(c=a.tooltip)&&void 0!==c?c:"");y();$f(a.title)}},IXa=function(a){a&1&&I(0,"b-issue-card",12);a&2&&(a=N(),D("issueId",a.issue.issueId))},JXa=function(){return{color:"accent"}},KXa=function(a){var b=function(){var c=a.apply(this,[].concat(r(Vc.apply(0,arguments))))||this;
c._sticky=!1;c._hasStickyChanged=!1;return c};X(b,a);b.prototype.hasStickyChanged=function(){var c=this._hasStickyChanged;this._hasStickyChanged=!1;return c};b.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};Vg.Object.defineProperties(b.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(c){var d=this._sticky;this._sticky=Og(c);this._hasStickyChanged=d!==this._sticky}}});return b},LXa=function(a){a&1&&Mf(0,2)},MXa=function(a){a&1&&(E(0,
"thead",0),Gf(1,1),G(),E(2,"tbody",0),Gf(3,2)(4,3),G(),E(5,"tfoot",0),Gf(6,4),G())},NXa=function(a){a&1&&Gf(0,1)(1,2)(2,3)(3,4)},OXa=function(a,b){return a.concat(Array.from(b))},PXa=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},QXa=function(a){a&1&&Mf(0,2)},RXa=function(a){a&1&&(E(0,"thead",0),Gf(1,1),G(),E(2,"tbody",2),Gf(3,3)(4,4),G(),E(5,"tfoot",0),Gf(6,5),
G())},SXa=function(a){a&1&&Gf(0,1)(1,3)(2,4)(3,5)},TXa=function(a,b){a&1&&(E(0,"div",14)(1,"div",15),R(2,"CURRENT ISSUE"),G(),E(3,"div",16),R(4),G()());a&2&&(a=b.ngIf,y(4),S(" ",null==a?null:a.snapshot[0].title," "))},UXa=function(a){if(a&1){var b=u();E(0,"mat-select",17);M("selectionChange",function(c){v(b);N().selectedSearchSource$.next(c.value);return x()});T(1,"async");E(2,"mat-option",18);R(3);G();E(4,"mat-option",19);R(5);G()()}a&2&&(a=N(),D("value",V(1,5,a.selectedSearchSource$)),y(2),D("value",
a.SearchSource.SEMANTIC_SEARCH),y(),S(" ",a.SearchSource.SEMANTIC_SEARCH," "),y(),D("value",a.SearchSource.EXACT_MATCH),y(),S(" ",a.SearchSource.EXACT_MATCH," "))},VXa=function(a){if(a&1){var b=u();E(0,"mat-chip-listbox",31)(1,"mat-chip-option",32,33);M("keydown.enter",function(){v(b);var d=Q(2);return x(d.openMenu())})("keyup.space",function(){v(b);var d=Q(2);return x(d.openMenu())});E(3,"span");R(4);G();I(5,"mat-icon",34);G()()}if(a&2){N();var c=Q(8);a=N();D("selectable",!1);y();D("matMenuTriggerFor",
c);y(3);$f(a.selectedScopeFilter.displayAs)}},XXa=function(a){if(a&1){var b=u();E(0,"button",35);M("click",function(){v(b);var c=N(2);return x(WXa(c,c.componentFilter))});I(1,"mat-icon",36);R(2);G()}a&2&&(a=N(2),D("matTooltip",a.componentFilter.tooltip||""),y(),yf("invisible",a.componentFilter!==a.selectedScopeFilter),y(),S(" ",a.componentFilter.displayAs," "))},YXa=function(a){if(a&1){var b=u();E(0,"button",35);M("click",function(){v(b);var c=N(2);return x(WXa(c,c.teamFilter))});I(1,"mat-icon",36);
R(2);G()}a&2&&(a=N(2),D("matTooltip",a.teamFilter.tooltip||""),y(),yf("invisible",a.teamFilter!==a.selectedScopeFilter),y(),S(" ",a.teamFilter.displayAs," "))},$Xa=function(a){if(a&1){var b=u();K(0);E(1,"div",20)(2,"mat-chip-listbox",21);M("change",function(c){v(b);var d=N();c.value?d.selectedFilters$.add(ZXa):d.selectedFilters$.delete(ZXa);return x()});E(3,"mat-chip-option",22)(4,"span",23);R(5);G()()();C(6,VXa,6,3,"mat-chip-listbox",24);E(7,"mat-menu",25,26);C(9,XXa,3,4,"button",27)(10,YXa,3,4,
"button",27);G();E(11,"mat-chip-listbox",28);M("change",function(){v(b);var c=N();c.includeDescendants=!c.includeDescendants;var d=om(c.component$),e=om(c.team$);if(d&&e){d=SWa(d,c.includeDescendants);e=RWa(e,c.includeDescendants);var f=new Set(om(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 x()});
E(12,"mat-chip-option",29)(13,"span",30);R(14);G()()()();L()}a&2&&(a=N(),y(3),D("selected",a.selectedFilters$.has(a.openFilter))("value",a.openFilter),y(),D("matTooltip",a.openFilter.tooltip||""),y(),S(" ",a.openFilter.displayAs," "),y(),D("ngIf",a.selectedScopeFilter),y(3),D("ngIf",a.componentFilter),y(),D("ngIf",a.teamFilter),y(4),S(" Include sub-",a.selectedScopeFilter===a.componentFilter?"components":"teams"," "))},aYa=function(a){a&1&&(E(0,"div",37),I(1,"b-spinner",38),G())},bYa=function(a){a&
1&&(E(0,"th",59)(1,"span",60),R(2,"Selection"),G()())},cYa=function(a,b){a&1&&(E(0,"td",61),I(1,"mat-radio-button",62),T(2,"async"),G());a&2&&(a=b.$implicit,b=N(3),y(),D("checked",V(2,3,Tp(b.selectedIssues,a.issueId)))("aria-label",a.snapshot[0].title)("value",a.issueId))},dYa=function(a){a&1&&(E(0,"th",59),R(1," Title "),G())},eYa=function(a,b){a&1&&(E(0,"td",61),I(1,"b-issue-title-cell",63),G());a&2&&(a=b.$implicit,b=N(3),y(),D("issue",a)("issueUrlFactory",b.issueUrlFactory)("useButtonToNavigate",
!0))},fYa=function(a){a&1&&(E(0,"th",59),R(1," Id "),G())},gYa=function(a,b){a&1&&(E(0,"td",61),I(1,"b-issue-id-cell",64),G());a&2&&(a=b.$implicit,y(),D("id",a.issueId))},hYa=function(a){a&1&&(E(0,"th",59),R(1," Priority "),G())},iYa=function(a,b){a&1&&(E(0,"td",61),I(1,"b-issue-priority-cell",65),G());a&2&&(a=b.$implicit,y(),D("issue",a))},jYa=function(a){a&1&&(E(0,"th",66),R(1," Status "),G())},kYa=function(a,b){a&1&&(E(0,"td",61),I(1,"b-issue-status-cell",65),G());a&2&&(a=b.$implicit,y(),D("issue",
a))},lYa=function(a){a&1&&(E(0,"th",59),R(1," Dupes "),G())},mYa=function(a,b){a&1&&(E(0,"td",67),R(1),G());if(a&2){a=b.$implicit;var c;y();S(" ",null!==(c=null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length)&&void 0!==c?c:0," ")}},nYa=function(a){a&1&&(E(0,"th",68)(1,"span",60),R(2,"Votes"),G(),I(3,"mat-icon",69),G())},oYa=function(a,b){a&1&&(E(0,"td",67),R(1),G());a&2&&(a=b.$implicit,y(),S(" ",a.aggregatedData.voteCount," "))},pYa=function(a){a&1&&(E(0,"th",70),R(1," Created "),
G())},qYa=function(a,b){a&1&&(E(0,"td",61),I(1,"b-issue-created-time-cell",71),G());a&2&&(a=b.$implicit,y(),D("issue",a))},rYa=function(a){a&1&&I(0,"tr",72)},sYa=function(a,b){if(a&1){var c=u();E(0,"tr",73);M("keydown",function(d){var e=v(c),f=e.index;e=e.$implicit;var h=N(3);return x(h.onRowKeydown(f,e,d))})("keydown.enter",function(){var d=v(c).$implicit,e=N(3);return x(e.selectIssue(d.issueId))})("focusin",function(){var d=v(c).$implicit,e=N(3);return x(Up(e.focusManager,d))})("click",function(){var d=
v(c),e=d.$implicit;d=d.index;var f=N(3);f.selectIssue(e.issueId);return x(f.focusManager.setActiveItem(d))});G()}a&2&&D("row",b.$implicit)},uYa=function(a){if(a&1){var b=u();E(0,"table",41);M("contentChanged",function(){v(b);var d=N().ngIf,e=N();return x(tYa(e,d))});K(1,42);C(2,bYa,3,0,"th",43);E(3,"mat-radio-group",44);M("change",function(d){v(b);var e=N(2);return x(e.selectIssue(d.value))});C(4,cYa,3,5,"td",45);G();L();K(5,46);C(6,dYa,2,0,"th",43)(7,eYa,2,3,"td",45);L();K(8,47);C(9,fYa,2,0,"th",
43)(10,gYa,2,1,"td",45);L();K(11,48);C(12,hYa,2,0,"th",43)(13,iYa,2,1,"td",45);L();K(14,49);C(15,jYa,2,0,"th",50)(16,kYa,2,1,"td",45);L();K(17,51);C(18,lYa,2,0,"th",43)(19,mYa,2,1,"td",52);L();K(20,53);C(21,nYa,4,0,"th",54)(22,oYa,2,1,"td",52);L();K(23,55);C(24,pYa,2,0,"th",56)(25,qYa,2,1,"td",45);L();C(26,rYa,1,0,"tr",57)(27,sYa,1,1,"tr",58);G()}if(a&2){a=N().ngIf;var c=N();D("dataSource",a)("trackBy",c.trackByIssueId);y(26);D("matHeaderRowDef",c.tableColumns);y();D("matRowDefColumns",c.tableColumns)}},
vYa=function(a){a&1&&(E(0,"div",37)(1,"span",74),R(2,"No results found"),G()())},wYa=function(a,b){a&1&&(K(0),E(1,"div",39),C(2,uYa,28,4,"table",40)(3,vYa,3,0,"div",10),G(),L());a&2&&(a=b.ngIf,b=N(),y(2),D("ngIf",!b.isLoading&&a&&a.length),y(),D("ngIf",!b.isLoading&&0===(null==a?null:a.length)))},xYa=function(a){if(a&1){var b=u();E(0,"button",4);M("click",function(c){v(b);N().expansionChange.emit();c.stopPropagation();return x()});I(1,"b-icon",5);G()}a&2&&(a=N(),yf("collapsed",!a.expanded),pf("aria-label",
a.expanded?"Collapse children":"Expand children"))},yYa=function(a){a&1&&I(0,"div",6)},zYa=function(a){a&1&&(E(0,"b-person-hovercard",3),R(1),G());a&2&&(a=N(),D("email",a.assignee),y(),S(" ",a.assignee," "))},AYa=function(a){a&1&&R(0,"--")},BYa=function(a){a&1&&I(0,"b-team-display",3);a&2&&(a=N(),D("teamId",a.teamId)("componentId",a.componentId)("anchorLinkEnabled",!1))},CYa=function(a){a&1&&R(0,"--")},DYa=function(a){a&1&&(K(0),R(1),T(2,"enumToHuman"),L());a&2&&(a=N(),y(),$f(V(2,1,a.type)))},EYa=
function(a){a&1&&R(0,"--")},FYa=function(a){a&1&&(E(0,"b-person-hovercard",3),R(1),G());a&2&&(a=N(),D("email",a.reporter),y(),S(" ",a.reporter," "))},GYa=function(a){a&1&&R(0,"--")},HYa=function(a){if(!a)return{left:"0",width:"0"};if(a.classList.contains("mat-tab-link")){var b=window.getComputedStyle(a),c=b.paddingLeft?Number(b.paddingLeft.replace("px",""))||0:0;b=b.paddingRight?Number(b.paddingRight.replace("px",""))||0:0;return{left:a.offsetLeft+c+2+"px",width:a.offsetWidth-c-b-4+"px"}}b=a.querySelector(".mat-tab-label-content");
if(!b)return{left:a.offsetLeft+2+"px",width:a.offsetWidth-4+"px"};c=a.offsetWidth;b=Math.min(Math.max(b.offsetWidth-4,24),c-4);return{left:a.offsetLeft+c/2-b/2+"px",width:b+"px"}},IYa=function(a){a&1&&(E(0,"div")(1,"div",9),R(2," An issue cannot reference itself. "),G()())},JYa=function(a){a&1&&(E(0,"mat-option",10)(1,"div",11),I(2,"b-spinner",12),G()());a&2&&(y(2),D("large",!0))},KYa=function(a){a&1&&(E(0,"mat-option",13),R(1," No issues found. "),G())},LYa=function(a){a&1&&I(0,"mat-icon",24);if(a&
2){a=N().$implicit;var b=N();D("svgIcon",b.STATUS_ICON[a.status])}},MYa=function(a){a&1&&I(0,"b-issue-card",25,26);if(a&2){var b=Q(1);a=N().$implicit;D("onedevIsHovercardReady",b.init)("issueId",a.resourceId)}},OYa=function(a,b){a&1&&(E(0,"mat-option",14)(1,"div",15),C(2,LYa,1,1,"mat-icon",16),E(3,"strong",17),R(4),G(),E(5,"onedev-hovercard",null,18),C(7,MYa,2,2,"b-issue-card",19),G(),E(8,"a",20),M("click",function(d){return d.stopPropagation()}),I(9,"mat-icon",21),G(),E(10,"span",22),R(11),G(),I(12,
"div",23),T(13,"boldPrefixMatches"),G()());if(a&2){a=b.$implicit;var c=Q(6);b=N();D("value",a);y();pf("aria-label",a.resourceId+", "+a.displayText+", click ALT RightArrow to open the issue in a new tab.");y();D("ngIf",a.status);y();Of("title",a.resourceId);y();S(" ",a.resourceId," ");y(4);D("onedevHovercardTrigger",c)("href",b.getIssueLink(a),Pd);y(3);$f(NYa(a));y();Of("title",a.displayText);D("innerHTML",ig(13,10,a.displayText,b.query),Od)}},PYa=function(a,b){a&1&&(E(0,"a",13),R(1),G());a&2&&(a=
b.$implicit,b=b.last,Nf("href","issues/",a.resourceId,"",Pd),y(),ag(" ",a.resourceId,"",b?"":","," "))},QYa=function(a){a&1&&(E(0,"div",11),C(1,PYa,2,3,"a",12),G());a&2&&(a=N(),y(),D("ngForOf",a.selectedIssues))},RYa=function(a){a&1&&(E(0,"div",11)(1,"a",14)(2,"span",15),R(3),G(),E(4,"span"),I(5,"mat-icon",16),G()()());a&2&&(a=N(),y(),Nf("href","issues/",a.selectedIssues[0].resourceId,"",Pd),y(2),S(" ",a.selectedIssues[0].displayText," "))},TYa=function(a){if(a&1){var b=u();E(0,"div",17)(1,"div",
18);M("click",function(){v(b);var c=N();return x(SYa(c))})("keyup.space",function(){v(b);var c=N();return x(SYa(c))});G()()}a&2&&(a=N(),y(),D("matTooltip",a.isQueryRestricted?"Searching in current component tree":"Click to search in current component tree"),pf("aria-checked",a.isQueryRestricted))},VYa=function(a){if(a&1){var b=u();E(0,"b-app-bar-bulk-edit-menus",6);M("onBulkEdit",function(d){v(b);var e=N();return x(e.bulkEdit(d))})("onQuickBulkEdit",function(d){v(b);var e=N();return x(e.quickBulkEdit(d))})("onBulkEditIssueRelation",
function(d){v(b);var e=N();return x(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){v(b);var d=N();return x(d.bulkMarkIssueRead())});T(1,"async");G()}if(a&2){a=N();var c;D("readStatePrompt",UYa(a))("enableBulkEstimatedEffortOption",null!==(c=V(1,2,a.enableBulkEstimatedEffortOption$))&&void 0!==c?c:!1)}},ZYa=function(a){if(a&1){var b=u();E(0,"b-copy-issue-id-button",7);M("onClickCopyIssueIds",function(){v(b);var c=N();return x(WYa(c.copyIssueIdService,Vp(c)))})("onClickCopyIssueShortLinks",
function(){v(b);var c=N();return x(XYa(c.copyIssueIdService,Vp(c)))})("onClickCopyAsIssueSearch",function(){v(b);var c=N();return x(YYa(c.copyIssueIdService,Vp(c)))});G()}a&2&&(a=N(),D("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},$Ya=function(a){if(a&1){var b=u();E(0,"div",8)(1,"b-hotlist-picker",9);M("onApply",function(c){v(b);var d=N();return x(d.handleHotlistPickerSave(c))})("onCreate",function(c){v(b);var d=N();
return x(d.onCreateHotlist.emit(c))})("onLoad",function(c){v(b);var d=N();return x(d.onLoadHotlist.emit(c))});G()()}a&2&&(a=N(),y(),D("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},bZa=function(a){if(a&1){var b=u();E(0,"b-comment-box",16);M("commentChange",function(c){v(b);var d=N(2);return x(d.comment=c)})("onSubmit",function(){v(b);var c=N(2);return x(aZa(c))});G()}a&2&&(a=N(2),D("comment",a.comment)("showToolbar",!1))},cZa=function(a){if(a&1){var b=u();E(0,"div",17)(1,"b-recaptcha",
18);M("onUpdate",function(c){v(b);var d=N(2);return x(d.recaptchaResponse=c)});G()()}},dZa=function(a){a&1&&(E(0,"h1",10),R(1,"Add comment"),G(),E(2,"mat-dialog-content"),C(3,bZa,1,2,"b-comment-box",11),I(4,"b-external-warnings",12),G(),C(5,cZa,2,0,"div",13),E(6,"mat-dialog-actions")(7,"button",14),R(8," Cancel "),G(),E(9,"button",15),R(10," Save "),G()());a&2&&(a=N(),y(3),D("ngIf",a.comment),y(),D("externalWarnings",a.externalWarnings),y(),D("ngIf",a.enableRecaptcha),y(2),D("mat-dialog-close",!1),
y(2),D("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",!0))},eZa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},Xp=function(a,b){b=void 0===b?{}:b;return null==b.id?"":Wp(a,b)},Wp=function(a,b){var c=b=void 0===b?{}:b;b=c.params;c=c.tab;b&&(a=IAa(a,b));c&&(a=a+"#"+c);return a},fZa=function(a){if(a&1){var b=u();E(0,"button",7);M("click",function(){v(b);var c=N(2);return x(c.removeHotlist.emit())});I(1,"mat-icon",8);G()}a&2&&(a=
N(2),yf("invisible",a.disabled),pf("aria-disabled",a.disabled)("aria-label","Remove the hotlist "+a.hotlist.name))},gZa=function(a){a&1&&(K(0),E(1,"span",1)(2,"span",2)(3,"a",3),R(4),G()(),C(5,fZa,2,4,"button",4),G(),E(6,"onedev-hovercard",null,5),I(8,"b-hotlist-card",6),G(),L());if(a&2){var b=Q(7);a=N();y();xf("padding-right",a.removable?0:"10px");yf("muted",a.disabled);D("onedevHovercardTrigger",b)("onedevHovercardActive",a.showHovercard);y(2);D("href",a.pathBuilder.viewHotlist(a.hotlist.hotlistId),
Pd);pf("aria-label",a.getAriaLabel(a.hotlist));y();$f(a.hotlist.name);y();D("ngIf",a.removable);y(3);D("hotlist",a.hotlist)}},Zp=function(a){for(var b=l(hZa),c=b.next();!c.done;c=b.next())if(c=c.value,c.accessLevel===a)return c.title;return Yp.title},iZa=function(a){a&1&&I(0,"mat-icon",10);a&2&&(a=N(),D("matTooltip",a.disabledDropdownTooltip))},jZa=function(a,b){if(a&1){var c=u();E(0,"button",11);M("click",function(){var d=v(c).$implicit,e=N();e.selectedDisplay$.next(d);e.updatedAccessLimitLevel.emit(d.accessLevel);
return x()});E(1,"div",12);I(2,"mat-icon",13);E(3,"span",14);R(4);G()();E(5,"div",15);R(6);G()()}a&2&&(a=b.$implicit,b=N(),y(2),D("svgIcon",a.icon),y(2),S(" ",a.title," "),y(2),S(" ",b.implicitAccessEnabled?a.descriptionWithExpandedAccess:a.descriptionNoExpandedAccess," "))},kZa=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},lZa=function(a){a&1&&(E(0,"span"),R(1,"Edit"),G())},mZa=function(a){a&1&&(E(0,"span"),R(1,"Cancel"),G())},tZa=function(a){if(a&1){var b=u();K(0);E(1,"td")(2,"div")(3,"div",11);R(4);G();E(5,"div",12)(6,"a",13);R(7);G()()()();E(8,"td",3)(9,"mat-radio-button",14);M("change",function(d){v(b);var e=N(2);return x(nZa(e,d.value))});G()();E(10,"td",3)(11,"b-button",15);M("onAction",function(){v(b);var d=N().$implicit,e=N();return x(oZa(e,d))});C(12,lZa,2,0,"span",
9)(13,mZa,2,0,"span",9);G()();E(14,"td",3)(15,"b-button",16);M("onAction",function(){v(b);var d=N().$implicit,e=N();return x(pZa(e,d))});R(16," Delete ");G()();L()}if(a&2){a=N().$implicit;var c=N();y(3);yf("selected",qZa(c,a));y();S(" ",a.name," ");y(2);D("href",rZa(c,a),Pd);pf("aria-label",a.name+"- Click to create a new issue");y();S(" ",rZa(c,a)," ");y(2);Nf("id","template-default-radio-",a.index,"");D("checked",c.defaultIndex===a.index)("aria-label","Make template "+a.name+" as default template")("value",
a.index);y(2);D("bAriaLabel",qZa(c,a)?"Cancel editing "+a.name:"Edit "+a.name);y();D("ngIf",!qZa(c,a));y();D("ngIf",qZa(c,a));y(2);D("bAriaLabel","Delete "+a.name)("disabled",!sZa(c,a))}},uZa=function(a){a&1&&(E(0,"h2",73),R(1," Create Template "),G())},vZa=function(a){a&1&&(E(0,"h2",73),R(1),G());a&2&&(a=N(2).$implicit,y(),ag(' Edit template "',a.name,'" ',a.editableTemplate.isDirty()?"(changed)":""," "))},wZa=function(a,b){a&1&&(E(0,"mat-option",80),R(1),G());a&2&&(a=b.$implicit,Of("value",a),y(),
S(" ",a," "))},xZa=function(a){if(a&1){var b=u();E(0,"div",74)(1,"div",21)(2,"label",75);R(3,"Collaborator Groups");G();I(4,"mat-icon",76);G();E(5,"mat-form-field",77)(6,"mat-select",78);M("ngModelChange",function(d){v(b);var e=N(2).$implicit;return x(e.editableTemplate.collaboratorGroups=d)})("ngModelChange",function(){v(b);N(2).$implicit.editableTemplate.dirty=!0;return x()});E(7,"mat-select-trigger");R(8);G();C(9,wZa,2,2,"mat-option",79);G()()()}if(a&2){a=N(2).$implicit;var c=N();y(4);Of("matTooltip",
c.COLLABORATOR_GROUPS_TOOLTIP);y(2);D("ngModel",a.editableTemplate.collaboratorGroups);y(2);S(" ",a.editableTemplate.getCollaboratorGroupsString()," ");y();D("ngForOf",c.trackerCollaboratorGroups)}},zZa=function(a,b){if(a&1){var c=u();E(0,"button",81);M("click",function(){var e=v(c).$implicit,f=N(2).$implicit,h=N();f.issueType=e.value;return x(yZa(h))});R(1);G()}if(a&2){a=b.$implicit;b=N(2).$implicit;var d;D("disabled",b.issueType===a.value)("matTooltip",null!==(d=a.altText)&&void 0!==d?d:"");y();
S(" ",a.displayText," ")}},AZa=function(a,b){if(a&1){var c=u();E(0,"button",82);M("click",function(){var d=v(c).$implicit,e=N(2).$implicit;e.editableTemplate.priority=d.value;e.editableTemplate.dirty=!0;return x()});R(1);G()}a&2&&(a=b.$implicit,b=N(2).$implicit,D("disabled",b.editableTemplate.priority===a.value),y(),S(" ",a.displayText," "))},BZa=function(a,b){if(a&1){var c=u();E(0,"button",82);M("click",function(){var d=v(c).$implicit,e=N(2).$implicit;e.editableTemplate.severity=d.value;e.editableTemplate.dirty=
!0;return x()});R(1);G()}a&2&&(a=b.$implicit,b=N(2).$implicit,D("disabled",b.editableTemplate.severity===a.value),y(),S(" ",a.displayText," "))},CZa=function(a,b){if(a&1){var c=u();E(0,"div",83)(1,"b-hotlist-chip",84);M("removeHotlist",function(){var d=v(c).$implicit,e=N(3);return x(e.removeHotlist(d.hotlistId))});G()()}a&2&&(a=b.$implicit,y(),D("hotlist",a))},DZa=function(a){a&1&&(E(0,"h3"),R(1,"Custom issue fields"),G())},EZa=function(a){if(a&1){var b=u();E(0,"input",92);M("ngModelChange",function(d){v(b);
var e=N().$implicit,f=N(2).$implicit;return x(f.editableTemplate.customFieldValues[e.id].textValue=d)})("ngModelChange",function(){v(b);N(3).$implicit.editableTemplate.dirty=!0;return x()});G()}if(a&2){a=N().$implicit;var c=N(2).$implicit;rf("id","template-cf-",a.id,"");D("ngModel",c.editableTemplate.customFieldValues[a.id].textValue)}},FZa=function(a){if(a&1){var b=u();E(0,"input",93);M("ngModelChange",function(d){v(b);var e=N().$implicit,f=N(2).$implicit;return x(f.editableTemplate.customFieldValues[e.id].numericValue=
d)})("ngModelChange",function(){v(b);N(3).$implicit.editableTemplate.dirty=!0;return x()});G()}if(a&2){a=N().$implicit;var c=N(2).$implicit;rf("id","template-cf-",a.id,"");D("ngModel",c.editableTemplate.customFieldValues[a.id].numericValue)}},HZa=function(a){if(a&1){var b=u();E(0,"b-edit-field",94);M("valueChange",function(h){v(b);var k=N().$implicit,q=N(2).$implicit,t=N();return x(t.setCustomField(q,k.id,h))});G()}if(a&2){a=N().$implicit;var c=N(2).$implicit,d=N(),e,f;rf("id","template-cf-",a.id,
"");D("type",d.FieldType.ENUM)("name",a.name)("clearable",!0)("value",null!==(e=null==c.editableTemplate.customFieldValues[a.id]?null:c.editableTemplate.customFieldValues[a.id].enumValue)&&void 0!==e?e:null)("choices",null!==(f=a.enumFields)&&void 0!==f?f:eg(6,GZa))}},IZa=function(a){if(a&1){var b=u();E(0,"bv2-input-date-picker",95);M("boundValueChange",function(e){v(b);var f=N().$implicit,h=N(2).$implicit,k=N();return x(h.editableTemplate.customFieldValues[f.id].dateValue=k.getDateValue(e))})("boundValueChange",
function(){v(b);N(3).$implicit.editableTemplate.dirty=!0;return x()});G()}if(a&2){a=N().$implicit;var c=N(2).$implicit,d;rf("id","template-cf-",a.id,"");D("boundValue",null!==(d=c.editableTemplate.customFieldValues[a.id].dateValue)&&void 0!==d?d:void 0)}},KZa=function(a){if(a&1){var b=u();E(0,"b-list-field",96);M("valuesChange",function(e){v(b);var f=N().$implicit,h=N(2).$implicit,k=N();return x(k.setCustomField(h,f.id,e.values))});G()}if(a&2){a=N().$implicit;var c=N(2).$implicit,d=N();rf("id","template-cf-",
a.id,"");D("defaultLineCount",2)("type",d.getListFieldType(a.type))("values",JZa(c.editableTemplate.customFieldValues[a.id]))("enumChoices",a.enumFields)("truncate",!0)}},LZa=function(a,b){a&1&&(E(0,"div")(1,"div",21)(2,"label",85),R(3),G()(),E(4,"div",86),C(5,EZa,1,2,"input",87)(6,FZa,1,2,"input",88)(7,HZa,1,7,"b-edit-field",89)(8,IZa,1,2,"bv2-input-date-picker",90)(9,KZa,1,6,"b-list-field",91),G()());a&2&&(a=b.$implicit,Bf("cell-",a.cellType,""),y(2),Nf("for","template-cf-",a.id,""),y(),ag("",a.name,
" (id=",a.id,")"),y(),D("ngSwitch",a.type),y(),D("ngSwitchCase","TEXT"),y(),D("ngSwitchCase","NUMERIC"),y(),D("ngSwitchCase","ENUM"),y(),D("ngSwitchCase","DATE"))},RZa=function(a){if(a&1){var b=u();E(0,"td",17)(1,"div",18);C(2,uZa,2,0,"h2",19)(3,vZa,2,2,"h2",19);E(4,"div",20)(5,"div",21)(6,"label",22);R(7,"Template Name");G()();E(8,"input",23);M("ngModelChange",function(h){v(b);var k=N().$implicit;return x(k.editableTemplate.name=h)})("ngModelChange",function(){v(b);N().$implicit.editableTemplate.dirty=
!0;return x()});G()();E(9,"div",20)(10,"div",21)(11,"label",24);R(12,"Description of Template");G()();E(13,"input",25);M("ngModelChange",function(h){v(b);var k=N().$implicit;return x(k.editableTemplate.description=h)})("ngModelChange",function(){v(b);N().$implicit.editableTemplate.dirty=!0;return x()});G()();E(14,"div",26)(15,"h3");R(16," Standard issue fields ");G();E(17,"div",27)(18,"div",28)(19,"div",21)(20,"label",29);R(21,"Issue Access Level");G()();E(22,"b-issue-access-limits-dropdown",30);
M("updatedAccessLimitLevel",function(h){v(b);var k=N().$implicit;return x(k.editableTemplate.onAccessLimitLevelSelected(h))});G()();C(23,xZa,10,4,"div",31);G();E(24,"div",20)(25,"div",21)(26,"label",32);R(27,"Title");G()();E(28,"input",33);M("ngModelChange",function(h){v(b);var k=N().$implicit;return x(k.editableTemplate.title=h)})("ngModelChange",function(){v(b);N().$implicit.editableTemplate.dirty=!0;return x()});G()();E(29,"div",34)(30,"div",21)(31,"label",35);R(32,"Type");G()();E(33,"button",
36)(34,"span");R(35);G();I(36,"b-icon",37);G();E(37,"mat-menu",38,39);C(39,zZa,2,3,"button",40);G()();E(40,"div",34)(41,"div",21)(42,"label",41);R(43,"Priority");G()();E(44,"button",42)(45,"span");R(46);G();I(47,"b-icon",37);G();E(48,"mat-menu",38,43);C(50,AZa,2,2,"button",44);G()();E(51,"div",34)(52,"div",21)(53,"label",45);R(54,"Severity");G()();E(55,"button",46)(56,"span");R(57);G();I(58,"b-icon",37);G();E(59,"mat-menu",38,47);C(61,BZa,2,2,"button",44);G()();E(62,"div",48)(63,"div",21)(64,"label",
49);R(65,"Default Hotlists");G()();E(66,"b-hotlist-picker",50);M("onApply",function(h){v(b);var k=N(2);return x(k.handleHotlistPickerSave(h))})("onCreate",function(h){v(b);var k=N(2);return x(k.createHotlist(h))})("onLoad",function(h){v(b);var k=N(2);return x(k.loadHotlist(h))});G();C(67,CZa,2,1,"div",51);G();I(68,"div",52);E(69,"div",53)(70,"div",21)(71,"label",54);R(72,"Assignee");G()();E(73,"input",55);M("ngModelChange",function(h){v(b);var k=N().$implicit;return x(k.editableTemplate.assignee=
h)})("ngModelChange",function(){v(b);N().$implicit.editableTemplate.dirty=!0;return x()});G()();E(74,"div",53)(75,"div",21)(76,"label",56);R(77,"Verifier");G()();E(78,"input",57);M("ngModelChange",function(h){v(b);var k=N().$implicit;return x(k.editableTemplate.verifier=h)})("ngModelChange",function(){v(b);N().$implicit.editableTemplate.dirty=!0;return x()});G()();E(79,"div",20)(80,"div",21)(81,"label",58);R(82,"Collaborators");G();I(83,"mat-icon",59);G();E(84,"input",60);M("ngModelChange",function(h){v(b);
var k=N().$implicit;return x(MZa(k.editableTemplate,h))});G()();E(85,"div",20)(86,"div",21)(87,"label",61);R(88,"CC");G()();E(89,"input",62);M("ngModelChange",function(h){v(b);var k=N().$implicit;return x(NZa(k.editableTemplate,h))});G()();E(90,"div",20)(91,"div",21)(92,"label",63);R(93,"Initial Comment");G()();E(94,"textarea",64);M("ngModelChange",function(h){v(b);var k=N().$implicit;return x(k.editableTemplate.comment=h)})("ngModelChange",function(){v(b);N().$implicit.editableTemplate.dirty=!0;
return x()});R(95,"              ");G();E(96,"b-markdown-toggle",65);M("change",function(h){v(b);var k=N().$implicit;return x(k.editableTemplate.setFormattingMode(h))});G()();E(97,"div",20)(98,"div",21)(99,"label",66);R(100,"In Prod");G()();E(101,"b-slide-toggle",67);M("modelChange",function(){v(b);var h=N().$implicit.editableTemplate;h.inProd=!h.inProd;h.dirty=!0;return x()});G()()();E(102,"div",68);C(103,DZa,2,0,"h3",9)(104,LZa,10,11,"div",69);G();E(105,"div",70)(106,"b-button",71);M("onAction",
function(){v(b);var h=N(2);return x(OZa(h))});R(107," Save ");G();E(108,"b-button",72);M("onAction",function(){v(b);var h=N(2);return x(PZa(h))});R(109," Cancel ");G()()()()}if(a&2){var c=Q(38),d=Q(49),e=Q(60);a=N().$implicit;var f=N();y(2);D("ngIf",a.editableTemplate.new);y();D("ngIf",!a.editableTemplate.new);y(5);D("ngModel",a.editableTemplate.name);y(5);D("ngModel",a.editableTemplate.description);y(9);D("disabled",!1)("defaultAccessLimitLevel",a.editableTemplate.issueAccessLimitLevel)("implicitAccessEnabled",
f.implicitAccessEnabled);y();D("ngIf",f.trackerCollaboratorGroups.length);y(5);D("ngModel",a.editableTemplate.title);y(5);D("matMenuTriggerFor",c);y(2);$f(QZa(a.issueType));y(2);D("overlapTrigger",!0);y(2);D("ngForOf",f.issueTypeChoices);y(5);D("matMenuTriggerFor",d);y(2);$f(a.editableTemplate.priority);y(2);D("overlapTrigger",!0);y(2);D("ngForOf",f.priorityChoices);y(5);D("matMenuTriggerFor",e);y(2);$f(a.editableTemplate.severity);y(2);D("overlapTrigger",!0);y(2);D("ngForOf",f.severityChoices);y(5);
D("selectedHotlistIds",f.selectedHotlistIds)("choices",f.hotlists);y();D("ngForOf",f.selectedHotlists);y(6);D("bContactAutocomplete","SINGLE")("ngModel",a.editableTemplate.assignee);y(5);D("bContactAutocomplete","SINGLE")("ngModel",a.editableTemplate.verifier);y(6);D("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.collaborators.join(", "));y(5);D("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.cc.join(", "));y(5);D("ngModel",a.editableTemplate.comment);y(2);D("initialValue",
a.editableTemplate.formattingMode);y(5);D("model",a.editableTemplate.inProd);y(2);D("ngIf",0<f.customFieldRows.length);y();D("ngForOf",f.customFieldRows);y(2);D("disabled",!a.editableTemplate.isDirty())}},SZa=function(a,b){a&1&&(E(0,"tr"),C(1,tZa,17,15,"ng-container",9)(2,RZa,110,38,"td",10),G());a&2&&(a=b.$implicit,y(),D("ngIf",!a.editableTemplate),y(),D("ngIf",!!a.editableTemplate))},TZa=function(a,b){a&1&&(E(0,"div",97),R(1),G(),E(2,"div",98)(3,"button",99),R(4," Cancel "),G(),E(5,"button",100),
R(6," Confirm "),G()());a&2&&(a=b.$implicit,y(),S(' Are you sure you want to delete the template "',a.name,'"? '),y(2),D("mat-dialog-close",!1),y(2),D("mat-dialog-close",!0))},UZa=function(a,b){a&1&&(E(0,"div",97),R(1),G(),E(2,"div",98)(3,"button",101),R(4," Cancel "),G(),E(5,"button",101),R(6," Don't Save "),G(),E(7,"button",102),R(8," Save "),G()());a&2&&(a=b.$implicit,y(),S(' Do you want to save changes to template "',a.name,'" before closing? '),y(2),D("mat-dialog-close",void 0),y(2),D("mat-dialog-close",
!1),y(2),D("mat-dialog-close",!0))},VZa=function(a){a&1&&(K(0),E(1,"div"),R(2),G(),E(3,"div"),R(4),G(),L());a&2&&(a=N(),y(2),S(" Policy: ",a.rawObjectiveDisplayText," (business) "),y(2),S("Effective: ",a.objectiveDisplayText," (calendar)"))},WZa=function(a){a&1&&(E(0,"div"),R(1),G());a&2&&(a=N(),y(),S("Policy: ",a.rawObjectiveDisplayText," (calendar)"))},XZa=function(a){a&1&&(E(0,"div"),I(1,"b-slo-time-indicator",1),G());a&2&&(a=N(),y(),D("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",
a.assignmentSlo)("includeObjective",!0))},YZa=function(a){a&1&&(E(0,"div"),I(1,"b-slo-time-indicator",2),G());a&2&&(a=N(),y(),D("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.responseSlo)("includeObjective",!0))},ZZa=function(a){a&1&&(E(0,"div"),I(1,"b-slo-time-indicator",3),G());a&2&&(a=N(),y(),D("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.closureSlo)("includeObjective",!0))},$Za=function(a){a&1&&(E(0,"div",8),I(1,"b-slo-status-summary",9),G());
a&2&&(a=N(),y(),D("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric",a.onlyShowMetric))},a_a=function(a){a&1&&(K(0),R(1," No applicable SLO rules "),L())},b_a=function(a){a&1&&(K(0),R(1," No SLO set on issue component "),L())},c_a=function(a){a&1&&(E(0,"div",10),C(1,a_a,2,0,"ng-container",7)(2,b_a,2,0,"ng-container",7),G());a&2&&(a=N(),y(),D("ngIf",a.editSloLink),y(),D("ngIf",!a.editSloLink))},d_a=function(a){if(a&1){var b=u();E(0,"a",12);M("click",function(){v(b);var c=N(2);
return x(c.trackOpenSlo())});R(1);G()}a&2&&(a=N(2),D("href",a.editSloLink,Pd),y(),S(" ",a.sloName," "))},e_a=function(a){a&1&&(E(0,"span"),R(1," (private) "),G())},f_a=function(a){a&1&&(E(0,"span"),R(1," SLO definition: "),C(2,d_a,2,2,"a",11)(3,e_a,2,0,"span",7),G());a&2&&(a=N(),y(2),D("ngIf",a.sloName),y(),D("ngIf",!a.sloName))},i_a=function(a){if("CUSTOM_FIELD"===a.type)return new $p({name:a.customFieldId?String(a.customFieldId):a.customFieldName||"",label:a.customFieldName||"",fullLabel:a.customFieldName||
"",isCustomField:!0,sortable:void 0!==a.customFieldId,tooltip:""});a=Xh(a.type);"canonicalIssueId"===a&&(a="duplicateOfIssueId");return g_a.includes(a)?h_a(a):null},k_a=function(a){return j_a(a.map(i_a).filter(function(b){return!!b}))},l_a=function(a){return a.map(function(b){b.isCustomField?b={type:"CUSTOM_FIELD",customFieldId:Zh(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})},j_a=function(a){return zn(a,function(b){return b.name})},h_a=function(a){var b={name:a,label:a.toUpperCase()},c=m_a[a];c?Object.assign(b,c):g_a.includes(a)||(b.isCustomField=!0);b.fullLabel=b.fullLabel||b.label.charAt(0).toUpperCase()+b.label.slice(1).toLowerCase();return new $p(b)},o_a=function(a,b){b=void 0===b?document.documentElement:b;return(0,W.concat)((0,W.defer)(function(){return(0,W.of)(b.querySelector(a))}),n_a(b,{childList:!0,subtree:!0}).pipe(Ce(function(c){return c.some(function(d){return 0<
d.addedNodes.length})}),B(function(){return b.querySelector(a)}))).pipe(Ce(Bi),Ue(),B(function(c){return c}))},n_a=function(a,b){return new W.Observable(function(c){var d=new MutationObserver(function(e){c.next(e)});d.observe(a,b);return function(){d.disconnect()}})},aq=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)}}},p_a=function(a,b){a&1&&I(0,"col");a&2&&Bf("",b.$implicit.name,"-col")},q_a=function(a){a&1&&Gf(0)},
s_a=function(a,b){a&1&&(K(0),C(1,q_a,1,0,"ng-container",8),L());a&2&&(a=b.$implicit,b=N(),y(),D("ngTemplateOutlet",b.headerCellTemplates[a.name]||b.defaultHeaderCellTemplate)("ngTemplateOutletContext",fg(2,r_a,a)))},t_a=function(a){a&1&&Gf(0)},v_a=function(a,b){a&1&&(K(0),C(1,t_a,1,0,"ng-container",8),L());if(a&2){a=b.$implicit;b=b.index;var c=N(),d=c.$implicit;c=c.index;var e=N().ngIf;y();D("ngTemplateOutlet",e[b])("ngTemplateOutletContext",hg(u_a,d,a,c))}},w_a=function(a,b){if(a&1){var c=u();E(0,
"tr",10,11);M("click",function(){var e=v(c).index,f=N(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return x()})("focus",function(){var e=v(c).index,f=N(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return x()});C(2,v_a,2,6,"ng-container",4);G()}if(a&2){a=b.$implicit;b=b.index;var d=N(2);yf("selected",a.selected)("unread",!d.readUnreadOptOut&&!a.isRead&&!a.isClosed)("closed",a.isClosed)("grid-focus",d.focusedRowIndex===b);pf("data-row-id",
a.id)("data-is-read",a.isRead)("aria-label",d.renderRowLabel(a,b)+(a.selected?", row starred":""));y(2);D("ngForOf",d.columns)}},x_a=function(a){a&1&&(K(0),C(1,w_a,3,12,"tr",9),L());a&2&&(a=N(),y(),D("ngForOf",a.list))},y_a=function(a,b){a&1&&(E(0,"th"),I(1,"pop-grid-default-th",12),G());a&2&&(a=b.column,y(),D("column",a))},z_a=function(a,b){a&1&&(E(0,"td"),I(1,"pop-grid-default-cell",13),G());a&2&&(a=b.row,b=b.column,y(),D("row",a)("column",b))},A_a=function(a){if(a&1){var b=u();E(0,"b-sortable-header",
3);M("sortChanged",function(c){v(b);var d=N();d.grid&&d.grid.sortChange.emit(c);return x()});G()}a&2&&(a=N(),D("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||""))},B_a=function(a){a&1&&(E(0,"span",6),R(1),G());a&2&&(a=N(2),y(),S("column-",a.column.name,""))},C_a=function(a){a&1&&(E(0,"div",4),C(1,B_a,2,1,"span",5),R(2),G());a&2&&(a=N(),pf("aria-label",a.column.label),
y(),D("ngIf",!a.column.label),y(),S(" ",a.column.label," "))},D_a=function(a){if(a&1){var b=u();E(0,"div",13,14);M("menuOpened",function(){v(b);var d=N();return x(d.menuOpen=!0)})("menuClosed",function(){v(b);var d=N();return x(d.menuOpen=!1)})("keydown.enter",function(d){v(b);Q(1).openMenu();d.preventDefault();return x(d.stopPropagation())})("keydown.space",function(){v(b);var d=Q(1);return x(d.openMenu())});G()}if(a&2){a=N();var c=Q(5);yf("columnpicker-button-active",a.menuOpen);rf("aria-label",
"",a.column.fullLabel," column configuration");D("matMenuTriggerFor",c)}},G_a=function(a,b){if(a&1){var c=u();E(0,"button",15);M("click",function(){var d=v(c).$implicit,e=N();return x(E_a(e,d.name))});I(1,"b-icon",16);E(2,"span",17);R(3);G()()}a&2&&(a=b.$implicit,b=N(),yf("b-menu-item-checked",F_a(a.name).get(b.listViewPrefs)),y(3),S(" ",a.menuItem," "))},H_a=function(a){a&1&&I(0,"mat-divider")},I_a=function(a){if(a&1){var b=u();E(0,"button",22);M("click",function(){v(b);var c=N().$implicit,d=N().before,
e=N();return x(e.add(c,d))})("keydown.enter",function(c){v(b);var d=N().$implicit,e=N().before;N().add(d,e);c.preventDefault();return x(c.stopPropagation())});R(1);G()}a&2&&(a=N().$implicit,D("matTooltip",a.tooltip),y(),S(" ",a.fullLabel," "))},K_a=function(a){a&1&&(E(0,"button",9)(1,"span"),R(2),G()());if(a&2){a=N().$implicit;var b=N().before;N();var c=Q(18);D("matMenuTriggerFor",c)("matMenuTriggerData",gg(3,J_a,a.columns,b));y(2);$f(a.label)}},L_a=function(a,b){a&1&&(K(0),C(1,I_a,2,2,"button",20)(2,
K_a,3,6,"button",21),L());a&2&&(a=b.$implicit,b=N(2),y(),D("ngIf",b.isIssueGridColumn(a)),y(),D("ngIf",!b.isIssueGridColumn(a)))},N_a=function(a){if(a&1){var b=u();E(0,"button",18);M("click",function(){var c=v(b).before,d=N();return x(M_a(d,c))});R(1," Custom Field ");G();I(2,"mat-divider");C(3,L_a,3,2,"ng-container",19)}a&2&&(a=N(),y(3),D("ngForOf",a.currentAvailableItems))},O_a=function(a,b){if(a&1){var c=u();E(0,"button",24);M("click",function(){var d=v(c).$implicit,e=N().before,f=N();return x(f.add(d,
e))})("keydown.enter",function(d){var e=v(c).$implicit,f=N().before;N().add(e,f);d.preventDefault();return x(d.stopPropagation())});R(1);G()}a&2&&(a=b.$implicit,y(),S(" ",a.fullLabel," "))},P_a=function(a,b){a&1&&C(0,O_a,2,1,"button",23);a&2&&D("ngForOf",b.columns)},F_a=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("he`"+
a);}},Q_a=function(a){return{matchedPatterns:ri(a,1,hi())}},R_a=function(a){a&1&&(E(0,"p",12),R(1),G());a&2&&(a=N(),y(),S(" * Status update must be less than ",a.CHAR_LIMIT," characters. "))},S_a=function(a){a&1&&(E(0,"p",13),R(1),E(2,"a",14),R(3," Learn more "),G()());a&2&&(a=N(),y(),S(" Your status update contains restricted words: ",bq(a.bannedWordsChecker),". Review your status update before posting. "))},T_a=function(a){a&1&&(E(0,"div",15),I(1,"b-live-preview",16),G());a&2&&(a=N(),y(),D("comment",
a.newStatusUpdate.updateText)("issueId",a.origStatusUpdate.issueId)("formattingMode",a.newStatusUpdate.formattingMode)("audience",a.formattingAudience))},U_a=function(a){return!(!UBa(a.userPerformingAction)||!a.isMajorEvent)},V_a=function(a){return function(b){return gi(b,cq,1,hi()).map(function(c){return{workspaceId:c.getWorkspaceId_asLegacyNumberOrString(),workspaceName:c.getName(),issueId:a}})}},W_a=function(a){a&1&&(K(0),R(1," > "),L())},X_a=function(a,b){a&1&&(K(0),E(1,"a",7),R(2),G(),C(3,W_a,
2,0,"ng-container",3),L());a&2&&(a=b.$implicit,b=b.last,y(),rf("aria-label","View recent issues in ",a.name,""),D("routerLinkObj",a.route),y(),$f(a.name),y(),D("ngIf",!b))},Y_a=function(a){a&1&&(E(0,"span"),R(1," [Archived]"),G())},Z_a=function(a){a&1&&(E(0,"div",5),C(1,X_a,4,4,"ng-container",6),T(2,"async"),C(3,Y_a,2,0,"span",3),T(4,"async"),G());a&2&&(a=N(),y(),D("ngForOf",V(2,2,a.componentPath$)),y(2),D("ngIf",V(4,4,a.isArchived$)))},$_a=function(a,b){a&1&&(K(0),E(1,"div",8),I(2,"mat-icon",9),
E(3,"div",10),R(4),G()(),E(5,"div",11)(6,"span",10),R(7),G(),I(8,"b-component-access-level-indicator",12),G(),E(9,"p",10),R(10),G(),L());a&2&&(a=b.$implicit,y(4),$f(a.name),y(3),S("Component ID: ",a.componentId,""),y(),D("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",!0),y(2),$f(a.description))},a0a=function(a,b){a&1&&(E(0,"div",13)(1,"a",14),R(2,"View recent open issues"),G(),E(3,"a",15),R(4,"View component settings"),G(),E(5,"a",16),R(6,"Create issue in this component"),
G()());a&2&&(a=b.$implicit,y(),D("routerLinkObj",a.recentIssues),y(2),D("routerLinkObj",a.componentSettings),y(2),D("routerLinkObj",a.createIssue))},b0a=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N().$implicit,y(),S("(",a.disabledReason,")"))},c0a=function(a,b){a&1&&(E(0,"mat-radio-button",8),R(1),C(2,b0a,2,1,"span",9),G());a&2&&(a=b.$implicit,D("value",a)("disabled",!a.enabled),y(),S(" ",a.displayText," "),y(),D("ngIf",!a.enabled))},d0a=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N().$implicit,
y(),S("(",a.disabledReason,")"))},e0a=function(a,b){a&1&&(E(0,"mat-radio-button",8),R(1),C(2,d0a,2,1,"span",9),G());a&2&&(a=b.$implicit,D("value",a)("disabled",!a.enabled),y(),S(" ",a.displayText," "),y(),D("ngIf",!a.enabled))},f0a=function(a){return a?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202"},g0a=function(a){return"share-email-confirmation-"+a},h0a=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("ie`"+a);}},i0a=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N(),y(),S("Retain ",a.resource," as long as issue?"))},j0a=function(a){a&1&&(E(0,"span"),R(1,"Apply component retention settings?"),G())},k0a=function(a){a&1&&(E(0,"span")(1,"p"),R(2),G(),E(3,"p")(4,"b"),R(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."),
G(),I(6,"br"),R(7," Before selecting this option, you should make sure that Legal and Privacy have approved this non-standard retention period."),G()());a&2&&(a=N(),y(2),S("Are you sure you want to override any component retention settings, and retain this ",a.resource," as long as issue?"))},l0a=function(a){a&1&&(E(0,"span")(1,"p"),R(2),G()());a&2&&(a=N(),y(2),ag("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."))},
m0a=function(a){if(a&1){var b=u();E(0,"mat-checkbox",9);M("ngModelChange",function(c){v(b);var d=N();return x(d.acknowledgeToMatchIssueRetention=c)});R(1," I acknowledge ");G()}a&2&&(a=N(),D("ngModel",a.acknowledgeToMatchIssueRetention))},n0a=function(){var a=Math.random;this.initialMaxDelayMs_=500;this.random_=a;this.reset()},eq=function(a){return new dq((a instanceof dq?a:new dq(a)).value,!0)},o0a=function(a){if(a.oauthTokens){var b=a.oauthTokens;return(0,W.firstValueFrom)(b).then(function(c){c=
new W.BehaviorSubject(c);b.subscribe(c);return new fq(c)})}return a.apiKey?a.appAuthTokens?Promise.resolve(new gq(a.apiKey,a.appAuthTokens)):Promise.resolve(new hq(a.apiKey,a.authUser)):Promise.reject(Error("te"))},p0a=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}},q0a=function(a){return new W.Observable(function(b){var c=
iq(function(){b.next({});b.complete()},a);return function(){jq(c)}})},r0a=function(a){var b=new kq;b.setName(a);return b},t0a=function(a){a.isPrivate?(a=new lq,xk(a,2,s0a,kb(!0))):(a=new lq,xk(a,1,s0a,kb(!0)));return a},v0a=function(a){var b=new mq;a=l(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new nq;if(d.value instanceof oq)d.isDecreasing?xk(c,4,pq,qb(d.value.toString())):xk(c,2,pq,qb(d.value.toString()));else if("string"===typeof d.value)d.isDecreasing?Fk(c,3,pq,d.value):Fk(c,
1,pq,d.value);else if("number"===typeof d.value)d.isDecreasing?xk(c,9,pq,ib(d.value)):xk(c,10,pq,ib(d.value));else if(d.value instanceof Uint8Array)d.isDecreasing?xk(c,5,pq,$a(d.value,!1,!0,!1)):xk(c,7,pq,$a(d.value,!1,!0,!1));else if(d.value instanceof qq)if(d.isDecreasing){var e=c;d=u0a(d.value);Gk(e,11,pq,d)}else e=c,d=u0a(d.value),Gk(e,12,pq,d);else d.value instanceof rq&&(e=d.value.rep,"number"===typeof e?d.isDecreasing?xk(c,9,pq,ib(e)):xk(c,10,pq,ib(e)):"string"===typeof e&&(d.isDecreasing?
xk(c,6,pq,null==e?e:Qba(e)):xk(c,8,pq,null==e?e:Qba(e))));sq(b,1,nq,c)}return b},A0a=function(a,b){if(a instanceof tq)return 0<gi(b,nq,1,hi()).length?null:w0a.apply(tq,r(a.parts));a=Array.of.apply(Array,r(a.root.parts));b=l(gi(b,nq,1,hi()));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,kl(c,pq)){case 4:a.push(eq(uq(ej(c,tk(c,pq,4)))));break;case 2:a.push(new dq(uq(ej(c,tk(c,pq,2)))));break;case 6:a.push(eq(new rq(x0a(c,6))));break;case 8:a.push(new dq(new rq(x0a(c,8))));break;case 10:a.push(new dq(new rq(vq(c,
tk(c,pq,10)))));break;case 9:a.push(eq(new rq(vq(c,tk(c,pq,9)))));break;case 3:a.push(eq(ao(c,3,pq)));break;case 1:a.push(new dq(ao(c,1,pq)));break;case 7:var d=void 0;a.push(new dq(null==(d=wq(c,tk(c,pq,7)))?void 0:y0a(d)));break;case 5:d=void 0;a.push(eq(null==(d=wq(c,tk(c,pq,5)))?void 0:y0a(d)));break;case 12:c=z0a(Ak(c,mj,12,pq));if(null===c)return null;a.push(new dq(c));break;case 11:c=z0a(Ak(c,mj,11,pq));if(null===c)return null;a.push(eq(c));break;case 0:return null;default:return null}return w0a.apply(tq,
r(a))},B0a=function(a){a&1&&(E(0,"p",12),R(1),E(2,"a",13),R(3," Learn more "),G()());a&2&&(a=N(),y(),S(" Your comment contains restricted words: ",bq(a.bannedWordsChecker),". Review your comment before posting. "))},C0a=function(a){a&1&&I(0,"b-live-preview",14);a&2&&(a=N(),D("comment",a.newComment.text)("issueId",a.origComment.issueId)("audience",a.origComment.audience)("formattingMode",a.newComment.formattingMode))},D0a=function(a){if(a&1){var b=u();E(0,"section")(1,"div",15)(2,"b-recaptcha",16);
M("onUpdate",function(c){v(b);var d=N();return x(d.recaptchaResponse=c)});G()()()}},E0a=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]}}},F0a=function(a){var b=[],c=new Map;a=l(a);for(var d=a.next();!d.done;d=a.next())if(d=d.value,""!==d.displayText)if(c.get(d.resourceId)){var e=c.get(d.resourceId);e.relations=[].concat(r(e.relations),r(d.relations))}else c.set(d.resourceId,
d),b.push(d);return b},G0a=function(a,b){a&1&&I(0,"mat-icon",9);a&2&&(a=b.ngIf,D("svgIcon",a.icon)("matTooltip",a.tooltip),pf("aria-label",a.tooltip))},H0a=function(a){a&1&&(K(0),R(1,"\u2026 >"),L())},I0a=function(a){a&1&&(K(0),R(1,"\u2026"),L())},J0a=function(a){if(a&1){var b=u();E(0,"a",17);M("click",function(){v(b);var c=N(4);return x(c.compactMode$.next(!1))});C(1,H0a,2,0,"ng-container",6)(2,I0a,2,0,"ng-container",6);G()}a&2&&(a=N().$implicit,y(),D("ngIf",a.isSpliced),y(),D("ngIf",a.isTruncated))},
K0a=function(a){a&1&&(E(0,"a",18),R(1),G());if(a&2){a=N().$implicit;var b=Q(7);yf("muted",a.name==a.id);D("routerLinkObj",a.route)("onedevHovercardTrigger",b);y();$f(a.name)}},L0a=function(a){a&1&&(E(0,"span",19),R(1),G());a&2&&(a=N().$implicit,yf("muted",a.name==a.id),y(),$f(a.name))},M0a=function(a){a&1&&(K(0),R(1," > "),L())},N0a=function(a){a&1&&(K(0),I(1,"b-component-path-card",20,21),L());if(a&2){var b=Q(2);a=N().$implicit;y();D("onedevIsHovercardReady",b.init)("componentId",a.id)}},O0a=function(a,
b){a&1&&(K(0),C(1,J0a,3,2,"a",12)(2,K0a,2,5,"a",13)(3,L0a,2,3,"ng-template",null,14,jg)(5,M0a,2,0,"ng-container",6),E(6,"onedev-hovercard",null,15),C(8,N0a,3,2,"ng-container",16),G(),L());if(a&2){a=b.$implicit;b=b.last;var c=Q(4),d=N(3);y();D("ngIf",a.isSpliced||a.isTruncated);y();D("ngIf",!d.viewOnly)("ngIfElse",c);y(3);D("ngIf",!b)}},P0a=function(a,b){a&1&&(E(0,"span",10),C(1,O0a,9,4,"ng-container",11),G());a&2&&(a=b.$implicit,y(),D("ngForOf",a))},Q0a=function(a){a&1&&(E(0,"span"),R(1,"[Archived]"),
G())},R0a=function(a){if(a&1){var b=u();E(0,"button",22);M("click",function(){v(b);N(2).editing=!0;return x()});I(1,"mat-icon",23);G()}},S0a=function(a){a&1&&(E(0,"a",24),T(1,"async"),I(2,"mat-icon",25),G());if(a&2){a=N(2);var b;D("routerLinkObj",a.popoutLink(null==(b=V(1,1,a.component$))?null:b.componentId))}},T0a=function(a){a&1&&(E(0,"b-async-data-placeholder",2),T(1,"async"),E(2,"div",3),T(3,"async"),T(4,"async"),C(5,G0a,1,3,"mat-icon",4),T(6,"async"),C(7,P0a,2,1,"span",5),T(8,"async"),C(9,Q0a,
2,0,"span",6),T(10,"async"),C(11,R0a,2,0,"button",7)(12,S0a,3,3,"a",8),G()());a&2&&(a=N(),D("isReady",V(1,10,a.isReady$)),y(2),yf("public",V(3,12,a.showPublicIndicator$))("partner",V(4,14,a.showPartnerIndicator$)),y(3),D("ngIf",V(6,16,a.folder$)),y(2),D("ngIf",V(8,18,a.componentPath$)),y(2),D("ngIf",V(10,20,a.isArchived$)),y(2),D("ngIf",!a.viewOnly),y(),D("ngIf",a.popoutLink))},V0a=function(a){if(a&1){var b=u();E(0,"b-team-component-picker",26);M("selectedComponentChange",function(c){v(b);var d=N();
d.editing=!1;c&&U0a(d.issueEditComponentService,d.issueId,c);return x()})("dropdownClosed",function(){v(b);N().editing=!1;return x()});T(1,"async");G()}a&2&&(a=N(),D("selectedComponent",V(1,3,a.component$))("isRequired",!0)("shouldFocus",!0))},X0a=function(a,b){if(a&1){var c=u();K(0);E(1,"mat-checkbox",21);M("click",function(d){return d.stopPropagation()})("change",function(d){var e=v(c).$implicit,f=N(2);e=e.value.user;d=d.source.checked;var h=f.collaboratorGroupsEmailToDetailsMap.get(e.emailAddress).specifiedOnIssue;
d?(h||f.addedCollaboratorGroups.add(e),f.removedCollaboratorGroups.delete(e)):(h&&f.removedCollaboratorGroups.add(e),f.addedCollaboratorGroups.delete(e));var k;W0a(f,null!=(k=f.updatedAccessLimitLevel$.getValue())?k:f.defaultAccessLimitLevel);return x()});R(2);G();L()}a&2&&(a=b.$implicit,y(),D("id",a.key)("name",a.key)("checked",a.value.specifiedOnIssue),y(),S(" ",a.key," "))},Y0a=function(a){a&1&&(K(0),E(1,"div")(2,"span",18),R(3,"Add collaborator groups"),G(),I(4,"mat-icon",7),G(),E(5,"div",19),
C(6,X0a,3,4,"ng-container",20),T(7,"keyvalue"),G(),L());a&2&&(a=N(),y(4),Of("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP),y(2),D("ngForOf",V(7,2,a.collaboratorGroupsEmailToDetailsMap)))},$0a=function(a){if(a&1){var b=u();K(0);E(1,"button",22);M("click",function(){v(b);var c=N();return x(c.onPressCancel())});R(2," Cancel ");G();E(3,"button",23);M("click",function(){v(b);var c=N();return x(c.onPressSave())});T(4,"async");R(5," Save ");G();L()}a&2&&(a=N(),y(3),D("disabled",!Z0a(a,V(4,1,a.hasAccessLimitLevelSelectionChanged$))))},
a1a=function(a){if(a&1){var b=u();E(0,"button",24);M("click",function(){v(b);var c=N();return x(c.onPressCancel())});R(1," Close ");G()}},b1a=function(a){a&1&&I(0,"div",2)},c1a=function(a){a&1&&(K(0),Mf(1),L())},d1a=function(a){a&1&&(qd(),E(0,"svg",1),I(1,"path",2),G());a&2&&(a=N(),D("matTooltip",a.warning))},e1a=function(a){a&1&&Gf(0)},h1a=function(a){if(a&1){var b=u();E(0,"div",1);M("keydown",function(c){v(b);var d=N();return x(d.processKeydown(c))});E(1,"div",2);C(2,e1a,1,0,"ng-container",3);G();
E(3,"div",4)(4,"button",5);M("click",function(){v(b);var c=N();return x(f1a(c))});R(5,"Save");G();E(6,"button",6);M("click",function(){v(b);var c=N();return x(g1a(c))});R(7,"Cancel");G()()()}a&2&&(a=N(),D("cdkTrapFocusAutoCapture",!0),y(2),D("ngTemplateOutlet",a.editorTemplate),y(2),D("disabled",a.saveDisabled))},i1a=function(a){a&1&&Gf(0)},k1a=function(a){a&1&&(K(0),C(1,i1a,1,0,"ng-container",8),L());a&2&&(a=N(),y(),D("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",fg(2,j1a,a.value)))},
l1a=function(a){a&1&&R(0);a&2&&(a=N(),$f(null!=a.value?a.value:"--"))},m1a=function(a){a&1&&(qd(),E(0,"svg",9),I(1,"path",10),G())},n1a=function(a){if(a&1){var b=u();E(0,"input",11);M("ngModelChange",function(c){v(b);var d=N();return x(d.editingValue=c)});G()}a&2&&(a=N(),D("ngModel",a.editingValue))},o1a=function(a){return null!=a?Number(a):void 0},p1a=function(a){a&1&&I(0,"mat-icon",12);if(a&2){N();var b=Q(5);D("onedevHovercardTrigger",b)}},q1a=function(a){if(a&1){var b=u();K(0);E(1,"onedev-numeric-field",
13);M("valueChange",function(d){v(b);var e=N(2);e.selectedNumericEstimate=d;null==d?e.effortChange.emit(void 0):e.effortChange.emit({estimate:String(d)});return x()});G();L()}if(a&2){a=N(2);var c=Q(2);y();D("value",a.selectedNumericEstimate)("valueTemplate",c)("disabled",a.disabled)("displayEditIcon",!a.disabled)}},r1a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N().$implicit,y(),S(" ",a.label," "))},s1a=function(a){a&1&&R(0," -- ")},t1a=function(a,b){a&1&&C(0,r1a,2,1,"ng-container",16)(1,s1a,1,0,"ng-template",
null,17,jg);if(a&2){a=b.$implicit;var c=Q(2);D("ngIf",a)("ngIfElse",c)}},v1a=function(a){if(a&1){var b=u();K(0);E(1,"onedev-single-select",14);M("valueChange",function(e){v(b);var f=N(2);return x(f.selectOption(e))});G();C(2,t1a,3,2,"ng-template",null,15,jg);L()}if(a&2){var c=Q(3);a=N(2);var d;y();D("value",a.selectedOption)("options",null!==(d=null==a.effortSpec.enumSpec?null:a.effortSpec.enumSpec.options)&&void 0!==d?d:eg(6,u1a))("includeEmptyOption",!0)("optionTemplate",c)("disabled",a.disabled)("displayArrowIcon",
!a.disabled)}},w1a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N(2),y(),S(" ",null==a.effort?null:a.effort.estimate," "))},x1a=function(a){a&1&&(E(0,"onedev-edit-field")(1,"onedev-field-label",2),R(2),C(3,p1a,1,1,"mat-icon",3),G(),E(4,"onedev-hovercard",null,4)(6,"div",5)(7,"div",6),R(8," This estimate was made under a different configuration and needs to be updated. "),E(9,"a",7),R(10,"Learn more"),G()()()(),E(11,"onedev-field-value",8),K(12,9),C(13,q1a,2,4,"ng-container",10)(14,v1a,4,7,"ng-container",
10)(15,w1a,2,1,"ng-container",11),L(),G()());a&2&&(a=N(),y(),D("thinking",a.thinking),y(),S(" ",a.fieldName," "),y(),D("ngIf",!a.isCompatibleValue),y(8),D("thinking",a.thinking),y(),D("ngSwitch",a.fieldType),y(),D("ngSwitchCase","NUMERIC"),y(),D("ngSwitchCase","DROPDOWN"))},y1a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N(2),y(),S(" ",null==a.effort?null:a.effort.estimate," "))},z1a=function(a){a&1&&R(0);a&2&&(a=N().$implicit,S(" ",null!=a?a:"--"," "))},A1a=function(a,b){a&1&&C(0,y1a,2,1,"ng-container",
16)(1,z1a,1,1,"ng-template",null,18,jg);if(a&2){a=b.$implicit;var c=Q(2);b=N();D("ngIf",b.isNaN(a))("ngIfElse",c)}},C1a=function(a,b){var c=a.getPrimaryTarget(),d=a.getTargetList().map(function(e){return e===c?b:e});return new xq(new B1a(a,d))},E1a=function(){return new D1a(Vc.apply(0,arguments))},G1a=function(){return new F1a(Vc.apply(0,arguments))},I1a=function(){var a=Vc.apply(0,arguments);return 1===a.length?a[0]:new H1a(a)},J1a=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))},K1a=function(a){if(a&
1){var b=u();E(0,"input",3,4);M("peoplekitAutocompleteSelectionChange",function(c){v(b);var d=N();0<c.length&&(d.inputValue=c[0].result().getPrimaryTarget().getValue());return x()})("ngModelChange",function(c){v(b);var d=N();return x(d.inputValue=c)});G()}a&2&&(a=N(),D("peoplekitAutocompleteConfig",a.mergedAutocompleteConfig)("peoplekitSearchSessionOptions",a.sessionOptions)("ngModel",a.inputValue))},L1a=function(a){a&1&&Gf(0)},N1a=function(a){a&1&&(K(0),C(1,L1a,1,0,"ng-container",6),L());a&2&&(a=
N(),y(),D("ngTemplateOutlet",a.selectedUserTemplate)("ngTemplateOutletContext",fg(2,M1a,a.email)))},O1a=function(a){a&1&&R(0);a&2&&(a=N(),S(" ",a.email," "))},P1a=function(a){a&1&&(qd(),E(0,"svg",7),I(1,"path",8),G())},Q1a=function(a){a&1&&I(0,"b-user-membership-chip",4);if(a&2){a=N().$implicit;var b=N(),c;D("email",a)("teamId",null!==(c=b.teamId)&&void 0!==c?c:"")("enableSmallChip",!0)}},R1a=function(a,b){a&1&&C(0,Q1a,1,3,"b-user-membership-chip",3);a&2&&D("ngIf",b.$implicit)},S1a=function(a){a&
1&&I(0,"mat-icon",13)},T1a=function(a){a&1&&I(0,"mat-icon",14)},U1a=function(a){a&1&&(E(0,"span"),I(1,"b-formatted-date-time",22),G());a&2&&(a=N(2),y(),D("timestamp",a.sloStartTime))},V1a=function(a){a&1&&(E(0,"span"),I(1,"b-formatted-date-time",22),E(2,"span"),R(3," (default)"),G()());a&2&&(a=N(2),y(),D("timestamp",a.issueCreationTimestamp/1E3))},W1a=function(a){if(a&1){var b=u();E(0,"slo-edit-date-time-picker",23);M("closePicker",function(){v(b);var c=N(2);return x(c.isSloStartEditTimePickerOpen=
!1)})("sloEditCommit",function(c){v(b);var d=N(2);return x(d.updateSloStartTime(c))});G()}a&2&&(a=N(2),D("sloStatus",a.sloStatus)("sloEditTime",a.sloStartTime))},X1a=function(a){if(a&1){var b=u();E(0,"div",15)(1,"a",16);R(2," Start Date: ");G();E(3,"div",17)(4,"a",18,19);M("keydown.enter",function(){v(b);var d=N();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return x()})("keydown.space",function(){v(b);var d=N();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return x()})("click",
function(){v(b);var d=N();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return x()});C(6,U1a,2,1,"span",20)(7,V1a,4,1,"span",20);G();C(8,W1a,1,2,"ng-template",21);G()()}if(a&2){var c=Q(5);a=N();y(6);D("ngIf",a.hasSloStartTime);y();D("ngIf",!a.hasSloStartTime);y();D("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isSloStartEditTimePickerOpen)}},Y1a=function(a){a&1&&(E(0,"span"),R(1," Set closure SLO "),G())},Z1a=function(a){a&1&&(E(0,"span"),I(1,"b-formatted-date-time",
22),G());a&2&&(a=N(2),y(),D("timestamp",a.sloEndTime))},$1a=function(a){a&1&&(E(0,"span"),I(1,"b-formatted-date-time",22),E(2,"span"),R(3," (default)"),G()());a&2&&(a=N(2),y(),D("timestamp",1E3*a.closureSloTarget))},a2a=function(a){if(a&1){var b=u();E(0,"slo-edit-date-time-picker",23);M("closePicker",function(){v(b);var c=N(2);return x(c.isSloEndEditTimePickerOpen=!1)})("sloEditCommit",function(c){v(b);var d=N(2);return x(d.updateSloEndTime(c))});G()}a&2&&(a=N(2),D("sloStatus",a.sloStatus)("sloEditTime",
a.sloEndTime))},b2a=function(a){if(a&1){var b=u();E(0,"div",24)(1,"a",16);R(2," End Date: ");G();E(3,"div",17)(4,"a",25,19);M("click",function(){v(b);var d=N();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return x()})("keydown.enter",function(){v(b);var d=N();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return x()})("keydown.space",function(){v(b);var d=N();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return x()});C(6,Y1a,2,0,"span",20)(7,Z1a,2,1,"span",20)(8,
$1a,4,1,"span",20);G();C(9,a2a,1,2,"ng-template",21);G()()}if(a&2){var c=Q(5);a=N();y(6);D("ngIf",!a.hasClosureSlo);y();D("ngIf",a.hasClosureSlo&&a.hasSloEndTime);y();D("ngIf",a.hasClosureSlo&&!a.hasSloEndTime);y();D("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isSloEndEditTimePickerOpen)}},c2a=function(a,b){if(a&1){var c=u();E(0,"a",28);M("click",function(){v(c);var d=N(2);return x(d.trackOpenSlo())});R(1);G()}a&2&&(a=b.ngIf,b=N(2),pf("href",b.editSloLink,Pd),y(),S(" ",a.name," "))},
d2a=function(a){a&1&&(E(0,"div",26),R(1," SLO definition: "),C(2,c2a,2,2,"a",27),T(3,"async"),G());a&2&&(a=N(),y(2),D("ngIf",V(3,1,a.slo$)))},e2a=function(a){if(a&1){var b=u();E(0,"div",26)(1,"a",29);M("click",function(){v(b);N();$m(Sp.MANAGE_COMPONENT,"open","fromIssueSloBox");return x()});R(2,"Select an SLO");G()()}a&2&&(a=N(),y(),pf("href",a.componentSloLink,Pd))},f2a=function(a){return a&&"0"!==a.teamId?a.deleted?"DELETED":"VALID":"MISSING"},g2a=function(a){if(a&1){var b=u();E(0,"div",6);R(1,
" Select a team from the suggestions below, or edit in ");E(2,"a",7);M("click",function(){v(b);var c=N();return x(c.trackClick("viewTeamAssociationOnComponent"))});R(3,"component settings");G();R(4,".\n");G()}a&2&&(a=N(),y(2),D("href",a.componentSetting,Pd))},h2a=function(a){a&1&&(E(0,"div",6),R(1," Assigned team no longer exists, select a different team from the suggestions below, or edit/opt out of team mapping in "),E(2,"a",8),R(3,"component settings"),G(),R(4,".\n"),G());a&2&&(a=N(),y(2),D("href",
a.componentSetting,Pd))},i2a=function(a){if(a&1){var b=u();E(0,"mat-radio-group",9);M("ngModelChange",function(c){v(b);var d=N();return x(d.teamAction=c)});E(1,"p")(2,"mat-radio-button",10);R(3," Don't make any changes ");G()();E(4,"p")(5,"mat-radio-button",11);R(6," Map component to selected team ");G()()()}a&2&&(a=N(),D("ngModel",a.teamAction))},j2a=function(a){a&1&&(K(0),E(1,"span",19),R(2),G(),L());a&2&&(a=N().$implicit,y(2),$f(a.teamPath))},k2a=function(a){a&1&&R(0," -- ")},l2a=function(a,b){a&
1&&C(0,j2a,3,1,"ng-container",17)(1,k2a,1,0,"ng-template",null,18,jg);if(a&2){a=b.$implicit;var c=Q(2);D("ngIf",a)("ngIfElse",c)}},m2a=function(a){if(a&1){var b=u();E(0,"div",12)(1,"onedev-single-select",13);M("valueChange",function(d){v(b);var e=N();return x(e.selectedTeam=d)})("valueChange",function(d){v(b);var e=N();return x(e.selectOption(d))});G();C(2,l2a,3,2,"ng-template",null,14,jg);E(4,"a",15);M("click",function(){v(b);var d=N();return x(d.trackClick("viewTeamInMoma"))});I(5,"mat-icon",16);
G()()}if(a&2){var c=Q(3);a=N();y();D("disabled","NONE"===a.teamAction)("value",a.selectedTeam)("options",a.teamOptions)("includeEmptyOption",!1)("optionTemplate",c);y(3);pf("href",a.getMomaTeamLink(),Pd)}},n2a=function(a){if(a&1){var b=u();E(0,"b-callout-actions")(1,"b-button",2);M("click",function(){v(b);var c=N();return x(c.openDialog())});R(2);G()()}a&2&&(a=N(),y(2),$f(a.buttonName))},o2a=function(a){switch(a){case "P0":return yq.CHANGE_ISSUE_PRIORITY_TO_P0;case "P1":return yq.CHANGE_ISSUE_PRIORITY_TO_P1;
case "P2":return yq.CHANGE_ISSUE_PRIORITY_TO_P2;case "P3":return yq.CHANGE_ISSUE_PRIORITY_TO_P3;case "P4":return yq.CHANGE_ISSUE_PRIORITY_TO_P4;case "PRIORITY_UNSPECIFIED":break;default:console.error("Unsupported issue priority in issuePriorityToHotkey")}},p2a=function(a){switch(a){case "NEW":return yq.CHANGE_ISSUE_STATUS_TO_NEW;case "ASSIGNED":return yq.CHANGE_ISSUE_STATUS_TO_ASSIGNED;case "ACCEPTED":return yq.CHANGE_ISSUE_STATUS_TO_ACCEPTED;case "FIXED":return yq.CHANGE_ISSUE_STATUS_TO_FIXED;case "VERIFIED":return yq.CHANGE_ISSUE_STATUS_TO_VERIFIED;
case "NOT_REPRODUCIBLE":return yq.CHANGE_ISSUE_STATUS_TO_NOT_REPRODUCIBLE;case "INTENDED_BEHAVIOR":return yq.CHANGE_ISSUE_STATUS_TO_INTENDED_BEHAVIOR;case "OBSOLETE":return yq.CHANGE_ISSUE_STATUS_TO_OBSOLETE;case "INFEASIBLE":return yq.CHANGE_ISSUE_STATUS_TO_INFEASIBLE;case "DUPLICATE":return yq.CHANGE_ISSUE_STATUS_TO_DUPLICATE;case "STATUS_UNSPECIFIED":break;default:console.error("Unsupported issue status in issueStatusToHotkey")}},q2a=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)})},r2a=function(a){return["PROD","NIGHTLY"].includes(a)?"production":"autopush"},s2a=function(a){a&1&&Gf(0)},t2a=function(a){a&1&&(K(0),C(1,s2a,1,0,"ng-container",52),L());if(a&2){N();var b=Q(120);y();D("ngTemplateOutlet",b)}},v2a=function(a,b){a&1&&I(0,"b-list-field",
54);a&2&&(a=b.ngIf,b=N(3),D("readonly",!0)("defaultLineCount",3)("title","Team")("type",b.ListFieldType.TEAM)("values",fg(5,u2a,a)))},w2a=function(a){a&1&&(K(0),C(1,v2a,1,7,"b-list-field",53),T(2,"async"),L());a&2&&(a=N(2),y(),D("ngIf",V(2,1,a.teamHovercardInputs$)))},y2a=function(a){if(a&1){var b=u();E(0,"div",56)(1,"b-team-warning",57);M("updateTeam",function(){v(b);var h=N(3);h.issueFridge.poke(h.issueId);return x()});T(2,"async");T(3,"async");G()()}if(a&2){a=N().ngIf;var c=N().ngIf,d=N(),e,f;
y();D("warningType",a)("componentId",c.componentId)("parentComponentId",(null==(e=V(2,4,d.component$))?null:e.parentComponentId)||0)("teamSuggestions",null!==(f=V(3,6,d.teamSuggestions$))&&void 0!==f?f:eg(8,x2a))}},z2a=function(a){a&1&&(K(0),C(1,y2a,4,9,"div",55),T(2,"async"),L());a&2&&(a=N(2),y(),D("ngIf",V(2,1,a.shouldDisplayTeamSuggestions$)))},B2a=function(a){if(a&1){var b=u();K(0);E(1,"b-edit-field",58,59);M("valueChange",function(f){v(b);var h=Q(2),k=N(2);return x(A2a(k,h,null!==f&&void 0!==
f?f:""))});T(3,"async");T(4,"async");T(5,"async");G();L()}if(a&2){a=N().ngIf;var c=N(),d,e;y();D("name","reporter")("title","Reporter")("type",c.FieldType.TEXT)("value",a.reporter)("user",null!==(d=a.reporterUser)&&void 0!==d?d:void 0)("isUser",!0)("readonly",!V(3,10,c.hasAclToEdit$))("disabled",!!V(4,12,c.isSaving$("reporter")))("showAvailability",!0)("teamId",null!==(e=V(5,14,c.teamId$))&&void 0!==e?e:"")}},D2a=function(a){if(a&1){var b=u();E(0,"onedev-edit-field")(1,"onedev-field-label");R(2,"Reporter");
G();E(3,"onedev-field-value",60);T(4,"async");E(5,"b-user-picker",61);M("emailChange",function(e){v(b);var f=N(2);return x(C2a(f.editIssueService,f.issueId,e))});T(6,"async");T(7,"async");G()()()}if(a&2){a=N().ngIf;var c=N(),d;y(3);D("thinking",!!V(4,4,c.isSaving$("reporter")));y(2);D("user",a.reporterUser)("teamId",null!==(d=V(6,6,c.teamId$))&&void 0!==d?d:"")("disabled",!V(7,8,c.hasAclToEdit$))}},E2a=function(a){a&1&&Gf(0)},F2a=function(a){a&1&&(K(0),C(1,E2a,1,0,"ng-container",52),L());if(a&2){N();
var b=Q(122);y();D("ngTemplateOutlet",b)}},G2a=function(a,b){if(a&1){var c=u();E(0,"div",63);I(1,"div",64);E(2,"span",65);M("click",function(){var d=v(c).ngIf,e=N(3);return x(zq(e,d))})("keydown.enter",function(d){var e=v(c).ngIf;zq(N(3),e);d.stopPropagation();return x(d.preventDefault())})("keydown.space",function(d){var e=v(c).ngIf;zq(N(3),e);d.stopPropagation();return x(d.preventDefault())});T(3,"async");T(4,"async");R(5);G()()}a&2&&(a=b.ngIf,b=N(3),y(2),yf("disabled",!!V(3,6,b.isSaving$("status"))),
D("matTooltip",a.description||""),pf("aria-disabled",!!V(4,8,b.isSaving$("status")))("aria-label",a.displayText||null),y(3),S(" ",a.displayText," "))},H2a=function(a){a&1&&(K(0),C(1,G2a,6,10,"div",62),T(2,"async"),L());a&2&&(a=N(2),y(),D("ngIf",V(2,1,a.issueStatusQuickAction$)))},I2a=function(a){a&1&&(I(0,"b-issue-card",66,67),T(2,"async"));if(a&2){var b=Q(1);a=N(2);D("onedevIsHovercardReady",b.init)("issueId",V(2,2,a.canonicalIssueId$))}},K2a=function(a){if(a&1){var b=u();E(0,"b-estimated-effort-row",
68);M("effortChange",function(e){v(b);var f=N(2);return x(J2a(f.editIssueService,f.issueId,e))});T(1,"async");T(2,"async");T(3,"async");G()}if(a&2){a=N(2);var c,d;D("effort",null!==(c=V(1,3,a.effort$))&&void 0!==c?c:void 0)("effortSpec",null!==(d=V(2,5,a.effortSpec$))&&void 0!==d?d:void 0)("disabled",!V(3,7,a.hasAclToEdit$))}},L2a=function(a){a&1&&(E(0,"div"),R(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. "),
E(2,"a",74),R(3,"Learn more"),G()());a&2&&(a=N(3),y(2),D("href",np(a.documentationLinks)+"#expanded-access",Pd))},M2a=function(a){a&1&&(E(0,"div",69)(1,"span",70),R(2,"Expanded Access"),G(),E(3,"xap-bubble",71)(4,"xap-icon-trigger"),I(5,"mat-icon",72),G(),C(6,L2a,4,1,"ng-template",null,73,jg),G()());if(a&2){var b=Q(7);y(3);D("panelTemplate",b)}},N2a=function(a){a&1&&(E(0,"span",80),T(1,"async"),R(2),G());if(a&2){a=N().ngIf;var b=N(4);yf("disabled",!!V(1,3,b.isSaving$("assignee")));y(2);S(" ",a.displayText,
" ")}},O2a=function(a,b){if(a&1){var c=u();E(0,"div",78);M("onHotkey",function(){var d=v(c).ngIf,e=N(4);return x(zq(e,d))})("click",function(){var d=v(c).ngIf,e=N(4);return x(zq(e,d))})("keydown.enter",function(d){var e=v(c).ngIf;zq(N(4),e);d.stopPropagation();return x(d.preventDefault())})("keydown.space",function(d){var e=v(c).ngIf;zq(N(4),e);d.stopPropagation();return x(d.preventDefault())});T(1,"async");I(2,"div",64);C(3,N2a,3,5,"span",79);T(4,"async");G()}a&2&&(a=b.ngIf,b=N(4),D("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",
a.description),pf("aria-disabled",!!V(1,5,b.isSaving$("assignee")))("aria-label",a.description),y(3),D("ngIf",V(4,7,b.hasAclToEdit$)))},P2a=function(a){a&1&&(K(0),C(1,O2a,5,9,"div",77),T(2,"async"),L());a&2&&(a=N(3),y(),D("ngIf",V(2,1,a.issueAssigneeQuickAction$)))},R2a=function(a){if(a&1){var b=u();K(0);E(1,"b-edit-field",75,76);M("onHotkey",function(){v(b);var f=Q(2);return x(xp(f,null,!0,!1))})("valueChange",function(f){v(b);var h=Q(2),k=N(2);return x(Q2a(k,h,null!==f&&void 0!==f?f:""))});T(3,
"async");T(4,"async");T(5,"async");G();C(6,P2a,3,3,"ng-container",0);L()}if(a&2){a=N().ngIf;var c=N(),d,e;y();D("hotkey",c.HOTKEYS.CHANGE_ASSIGNEE)("name","assignee")("title","Assignee")("type",c.FieldType.TEXT)("value",a.assignee)("user",null!==(d=a.assigneeUser)&&void 0!==d?d:void 0)("isUser",!0)("readonly",!V(3,12,c.hasAclToEdit$))("disabled",!!V(4,14,c.isSaving$("assignee")))("showAvailability",!0)("teamId",null!==(e=V(5,16,c.teamId$))&&void 0!==e?e:"");y(5);D("ngIf",c.defaultAssigneeQuickActionEnabled)}},
T2a=function(a){if(a&1){var b=u();E(0,"div",85);M("click",function(){v(b);var c=N(3);return x(S2a(c.editIssueService,c.issueId,""))});R(1," Un-assign ");G()}},U2a=function(a,b){if(a&1){var c=u();E(0,"div",87);M("onHotkey",function(){var d=v(c).ngIf,e=N(4);return x(zq(e,d))})("click",function(){var d=v(c).ngIf,e=N(4);return x(zq(e,d))})("keydown.enter",function(d){var e=v(c).ngIf;zq(N(4),e);d.stopPropagation();return x(d.preventDefault())})("keydown.space",function(d){var e=v(c).ngIf;zq(N(4),e);d.stopPropagation();
return x(d.preventDefault())});T(1,"async");T(2,"async");R(3);G()}a&2&&(a=b.ngIf,b=N(4),yf("disabled",!!V(1,7,b.isSaving$("assignee"))),D("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),pf("aria-disabled",!!V(2,9,b.isSaving$("assignee")))("aria-label",a.description),y(3),S(" ",a.displayText," "))},V2a=function(a){a&1&&(K(0),C(1,U2a,4,11,"div",86),T(2,"async"),L());a&2&&(a=N(3),y(),D("ngIf",V(2,1,a.issueAssigneeQuickAction$)))},W2a=function(a){if(a&1){var b=u();E(0,
"onedev-edit-field")(1,"onedev-field-label");R(2,"Assignee");G();E(3,"onedev-field-value",60);T(4,"async");E(5,"b-user-picker",81,82);M("onHotkey",function(){v(b);var e=Q(6);return x(e.openPopOver())})("emailChange",function(e){v(b);var f=N(2);return x(S2a(f.editIssueService,f.issueId,e))});T(7,"async");T(8,"async");G();E(9,"div",83);C(10,T2a,2,0,"div",84);T(11,"async");C(12,V2a,3,3,"ng-container",0);T(13,"async");G()()()}if(a&2){a=N().ngIf;var c=N(),d;y(3);D("thinking",!!V(4,7,c.isSaving$("assignee")));
y(2);D("hotkey",c.HOTKEYS.CHANGE_ASSIGNEE)("user",a.assigneeUser)("teamId",null!==(d=V(7,9,c.teamId$))&&void 0!==d?d:"")("disabled",!V(8,11,c.hasAclToEdit$));y(5);D("ngIf",a.assigneeUser&&V(11,13,c.hasAclToEdit$));y(2);D("ngIf",c.defaultAssigneeQuickActionEnabled&&V(13,15,c.hasAclToEdit$))}},Y2a=function(a){if(a&1){var b=u();K(0);E(1,"b-edit-field",88,89);M("valueChange",function(f){v(b);var h=Q(2),k=N(2);return x(X2a(k,h,null!==f&&void 0!==f?f:""))});T(3,"async");T(4,"async");T(5,"async");G();L()}if(a&
2){a=N().ngIf;var c=N(),d,e;y();D("name","verifier")("title","Verifier")("type",c.FieldType.TEXT)("value",a.verifier)("user",null!==(d=a.verifierUser)&&void 0!==d?d:void 0)("isUser",!0)("readonly",!V(3,10,c.hasAclToEdit$))("disabled",!!V(4,12,c.isSaving$("verifier")))("showAvailability",!0)("teamId",null!==(e=V(5,14,c.teamId$))&&void 0!==e?e:"")}},$2a=function(a){if(a&1){var b=u();E(0,"onedev-edit-field")(1,"onedev-field-label");R(2,"Verifier");G();E(3,"onedev-field-value",60);T(4,"async");E(5,"b-user-picker",
61);M("emailChange",function(e){v(b);var f=N(2);return x(Z2a(f.editIssueService,f.issueId,e))});T(6,"async");T(7,"async");G()()()}if(a&2){a=N().ngIf;var c=N(),d;y(3);D("thinking",!!V(4,4,c.isSaving$("verifier")));y(2);D("user",a.verifierUser)("teamId",null!==(d=V(6,6,c.teamId$))&&void 0!==d?d:"")("disabled",!V(7,8,c.hasAclToEdit$))}},a3a=function(a){a&1&&(E(0,"span"),R(1," Remove me "),G())},b3a=function(a){a&1&&(E(0,"span"),R(1," Add me "),G())},d3a=function(a){if(a&1){var b=u();E(0,"div",19);M("click",
function(){v(b);var c=N(2);return x(c3a(c))})("keydown.enter",function(c){v(b);var d=N(2);c3a(d);c.stopPropagation();c.preventDefault();return x()})("keydown.space",function(c){v(b);var d=N(2);c3a(d);c.stopPropagation();c.preventDefault();return x()});T(1,"async");T(2,"async");T(3,"async");T(4,"async");C(5,a3a,2,0,"span",0);T(6,"async");C(7,b3a,2,0,"span",0);T(8,"async");T(9,"async");G()}a&2&&(a=N(2),yf("disabled",!!V(1,7,a.isSaving$("collaborators"))),D("matTooltip",V(4,13,a.isCurrentUserCollaborator$)?
"Remove yourself from collaborators":"Add yourself to collaborators"),pf("aria-disabled",!!V(2,9,a.isSaving$("collaborators")))("aria-label",V(3,11,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),y(5),D("ngIf",V(6,15,a.isCurrentUserCollaborator$)),y(2),D("ngIf",!V(8,17,a.isCurrentUserCollaborator$)&&V(9,19,a.hasAclToEdit$)))},e3a=function(a){a&1&&(E(0,"span"),R(1," Un-CC me "),G())},f3a=function(a){a&1&&(E(0,"span"),R(1," CC me "),G())},h3a=function(a){if(a&
1){var b=u();E(0,"div",19);M("click",function(){v(b);var c=N(2);return x(g3a(c))})("keydown.enter",function(c){v(b);var d=N(2);g3a(d);c.stopPropagation();c.preventDefault();return x()})("keydown.space",function(c){v(b);var d=N(2);g3a(d);c.stopPropagation();c.preventDefault();return x()});T(1,"async");T(2,"async");T(3,"async");T(4,"async");C(5,e3a,2,0,"span",0);T(6,"async");C(7,f3a,2,0,"span",0);T(8,"async");T(9,"async");G()}a&2&&(a=N(2),yf("disabled",!!V(1,7,a.isSaving$("ccs"))),D("matTooltip",V(4,
13,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),pf("aria-disabled",!!V(2,9,a.isSaving$("ccs")))("aria-label",V(3,11,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),y(5),D("ngIf",V(6,15,a.isCurrentUserCCd$)),y(2),D("ngIf",!V(8,17,a.isCurrentUserCCd$)&&V(9,19,a.isAllowedToEditCC$)))},i3a=function(a){a&1&&Gf(0)},j3a=function(a){a&1&&(K(0),C(1,i3a,1,0,"ng-container",52),L());if(a&2){N();var b=Q(124);y();D("ngTemplateOutlet",b)}},k3a=function(a){a&1&&I(0,"b-list-field",
90);if(a&2){a=N().ngIf;var b=N(2);D("readonly",!0)("defaultLineCount",3)("title","TaskFlow Workspaces")("type",b.ListFieldType.WORKSPACES)("values",a)("tooltip","Links to TaskFlow workspaces this issue belongs to")}},l3a=function(a,b){a&1&&(K(0),C(1,k3a,1,6,"b-list-field",39),T(2,"async"),L());a&2&&(a=b.ngIf,b=N(2),y(),D("ngIf",V(2,1,b.shouldDisplayWtdmUi$)&&a.length))},m3a=function(a){a&1&&I(0,"b-list-field",90);if(a&2){a=N().ngIf;var b=N();D("readonly",!0)("defaultLineCount",3)("title","Postmortems")("type",
b.ListFieldType.POSTMORTEMS)("values",a.postmortems)("tooltip","Postmortems (auto-populated from a daily dump of Requiem)")}},o3a=function(a,b){a&1&&(E(0,"div"),Gf(1,91),G());if(a&2){a=b.$implicit;N();var c=Q(136);y();D("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(2,n3a,a))}},p3a=function(a){a&1&&Gf(0)},q3a=function(a){a&1&&(K(0),C(1,p3a,1,0,"ng-container",52),L());if(a&2){N();var b=Q(134);y();D("ngTemplateOutlet",b)}},r3a=function(a){a&1&&I(0,"hr",92)},s3a=function(a){a&1&&Gf(0)},t3a=function(a){a&
1&&(K(0),C(1,s3a,1,0,"ng-container",52),L());if(a&2){N(2);var b=Q(120);y();D("ngTemplateOutlet",b)}},u3a=function(a){a&1&&Gf(0)},v3a=function(a){a&1&&(K(0),C(1,u3a,1,0,"ng-container",52),L());if(a&2){N(2);var b=Q(122);y();D("ngTemplateOutlet",b)}},w3a=function(a){a&1&&Gf(0)},x3a=function(a){a&1&&(K(0),C(1,w3a,1,0,"ng-container",52),L());if(a&2){N(2);var b=Q(124);y();D("ngTemplateOutlet",b)}},y3a=function(a,b){a&1&&(E(0,"div"),Gf(1,91),G());if(a&2){a=b.$implicit;N(2);var c=Q(136);y();D("ngTemplateOutlet",
c)("ngTemplateOutletContext",fg(2,n3a,a))}},z3a=function(a){a&1&&Gf(0)},A3a=function(a){a&1&&(K(0),C(1,z3a,1,0,"ng-container",52),L());if(a&2){N(2);var b=Q(134);y();D("ngTemplateOutlet",b)}},B3a=function(a){a&1&&(E(0,"collapsible-panel",93),T(1,"async"),C(2,t3a,2,1,"ng-container",0),T(3,"async"),C(4,v3a,2,1,"ng-container",0),T(5,"async"),C(6,x3a,2,1,"ng-container",0),T(7,"async"),C(8,y3a,2,4,"div",40),T(9,"async"),C(10,A3a,2,1,"ng-container",0),T(11,"async"),G());if(a&2){a=N(2);var b;D("titleWhenCollapsed",
null!==(b=V(1,8,a.showHiddenFieldsLabel$))&&void 0!==b?b:"")("titleWhenExpanded","Hide additional fields");y(2);D("ngIf",a.showSloStatus&&!V(3,10,a.isSloStatusPrimary$));y(2);D("ngIf",!V(5,12,a.isSeverityPrimary$));y(2);D("ngIf",a.showChangelists&&!V(7,14,a.isChangelistPrimary$));y(2);D("ngForOf",V(9,16,a.hiddenCustomFields$))("ngForTrackBy",a.trackCustomField);y(2);D("ngIf",!V(11,18,a.isForgottenFourPrimary$))}},C3a=function(a){if(a&1){var b=u();E(0,"b-issue-slo-box",95);M("onSloStartTimeChange",
function(h){v(b);var k=N(3);return x(k.editIssueService.updateSloStartTime(k.issueId,h.date))})("onSloEndTimeChange",function(h){v(b);var k=N(3);return x(k.editIssueService.updateSloEndTime(k.issueId,h.date))});T(1,"async");T(2,"async");T(3,"async");T(4,"async");G()}if(a&2){a=N(2).ngIf;var c=N(),d,e,f;D("sloStatus",null!==(d=V(1,7,c.sloStatus$))&&void 0!==d?d:void 0)("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloId",null!==(e=V(2,9,c.sloId$))&&void 0!==e?e:void 0)("componentId",a.componentId)("isEditable",
!!V(3,11,c.hasAclToEdit$))("issueCreationTimestamp",null!==(f=V(4,13,c.createdTimeMicros$))&&void 0!==f?f:0)}},D3a=function(a){a&1&&C(0,C3a,5,15,"ng-template",94);a&2&&(a=N(2),D("refreshable",a.refreshMonitor.getObservable()))},F3a=function(a){if(a&1){var b=u();E(0,"b-edit-field",96);M("valueChange",function(d){v(b);var e=N(2);return x(E3a(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});T(1,"async");T(2,"async");G()}if(a&2){a=N().ngIf;var c=N();D("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",!V(1,8,c.hasAclToEdit$))("disabled",!!V(2,10,c.isSaving$("severity")))}},G3a=function(a){if(a&1){var b=u();E(0,"insights-graph-btn",100);M("pressed",function(){v(b);var c=N(3).issueInsightsSidebarService;kp(c.analytics,Sp.SIDEBAR,"ingress-click");c.openSidebar("deployments");return x()});G()}},I3a=function(a){if(a&1){var b=u();E(0,
"b-list-field",97);M("valuesChange",function(h){v(b);var k=N(2);return x(H3a(k.editIssueService,k.issueId,h.values))});T(1,"async");T(2,"async");E(3,"div",98);C(4,G3a,1,0,"insights-graph-btn",99);T(5,"async");G()();I(6,"b-list-field",90);T(7,"async");T(8,"async");T(9,"async")}if(a&2){a=N().ngIf;var c=N(),d,e,f;D("readonly",!V(1,15,c.hasAclToEdit$))("defaultLineCount",3)("title","Changelists")("type",c.ListFieldType.CHANGELISTS)("values",a.changelist)("listFieldDisabled",!!V(2,17,c.isSaving$("changelists")));
y(4);D("ngIf",V(5,19,c.issueInsightsSidebarService.shouldShowInsightsGraphButton$));y(2);yf("bv2-issue-metadata-error",null==(d=V(7,21,c.pendingChangelists$))?null:d.hasError);D("readonly",!0)("defaultLineCount",3)("title","Pending Changelists")("type",c.ListFieldType.CHANGELISTS)("values",null!==(e=null==(e=V(8,23,c.pendingChangelists$))?null:e.cls)&&void 0!==e?e:eg(27,x2a))("tooltip",(null==(f=V(9,25,c.pendingChangelists$))?0:f.hasError)?"Error fetching pending CLs":"Pending changelists (auto-populated)")}},
K3a=function(a){if(a&1){var b=u();E(0,"b-edit-field",101);M("valueChange",function(d){v(b);var e=N(2);return x(J3a(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});T(1,"csv");T(2,"async");T(3,"async");G()}if(a&2){a=N().ngIf;var c=N();D("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",V(1,8,a.foundInVersion))("readonly",!V(2,10,c.hasAclToEdit$))("disabled",
!!V(3,12,c.isSaving$("foundInVersion")))}},M3a=function(a){if(a&1){var b=u();E(0,"b-edit-field",102);M("valueChange",function(d){v(b);var e=N(2);return x(L3a(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});T(1,"csv");T(2,"async");T(3,"async");G()}if(a&2){a=N().ngIf;var c=N();D("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",V(1,8,a.targetedToVersion))("readonly",
!V(2,10,c.hasAclToEdit$))("disabled",!!V(3,12,c.isSaving$("targetedToVersion")))}},O3a=function(a){if(a&1){var b=u();E(0,"b-edit-field",101);M("valueChange",function(d){v(b);var e=N(2);return x(N3a(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});T(1,"csv");T(2,"async");T(3,"async");G()}if(a&2){a=N().ngIf;var c=N();D("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",
V(1,8,a.verifiedInVersion))("readonly",!V(2,10,c.hasAclToEdit$))("disabled",!!V(3,12,c.isSaving$("verifiedInVersion")))}},Q3a=function(a){if(a&1){var b=u();E(0,"b-edit-field",103);M("valueChange",function(d){v(b);var e=N(2);return x(P3a(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:!1))});T(1,"async");T(2,"async");G()}if(a&2){a=N().ngIf;var c=N();D("name","inProd")("title","In Prod")("type",c.FieldType.BOOL)("value",a.inProd)("tooltip","Set if this issue occurs in production")("readonly",!V(1,
7,c.hasAclToEdit$))("disabled",!!V(2,9,c.isSaving$("inProd")))}},R3a=function(a){a&1&&Gf(0)},S3a=function(a){a&1&&Gf(0)},T3a=function(a){a&1&&Gf(0)},U3a=function(a){a&1&&Gf(0)},V3a=function(a){a&1&&(E(0,"div",5),C(1,R3a,1,0,"ng-container",52)(2,S3a,1,0,"ng-container",52)(3,T3a,1,0,"ng-container",52)(4,U3a,1,0,"ng-container",52),G());if(a&2){N();var b=Q(126),c=Q(128),d=Q(130),e=Q(132);y();D("ngTemplateOutlet",b);y();D("ngTemplateOutlet",c);y();D("ngTemplateOutlet",d);y();D("ngTemplateOutlet",e)}},
X3a=function(a,b){if(a&1){var c=u();E(0,"b-custom-field-editor",104);M("save",function(e){var f=v(c).$implicit,h=N(2);return x(W3a(h.editIssueService,h.issueId,f.customFieldId,e))});T(1,"async");T(2,"async");G()}if(a&2){a=b.$implicit;b=N().ngIf;var d=N();D("issue",b)("field",a)("readonly",!V(1,4,d.hasAclToEdit$))("disabled",!!V(2,6,d.isSaving$(a.customFieldId)))}},c4a=function(a,b){if(a&1){var c=u();K(0);C(1,t2a,2,1,"ng-container",0);T(2,"async");C(3,w2a,3,3,"ng-container",0)(4,z2a,3,3,"ng-container",
0);T(5,"async");C(6,B2a,6,16,"ng-container",1)(7,D2a,8,10,"ng-template",null,2,jg);E(9,"b-edit-field",3,4);M("valueChange",function(J){v(c);var H=Q(10),O=N();return x(Y3a(O,H,null!==J&&void 0!==J?J:"",O.getTrackerId()))});T(11,"async");T(12,"async");G();E(13,"div",5)(14,"b-edit-field",6,7);M("onHotkey",function(){v(c);var J=Q(15);return x(xp(J,null,!0,!1))})("valueChange",function(J){v(c);var H=N();return x(Z3a(H.editIssueService,H.issueId,null!==J&&void 0!==J?J:""))});T(16,"async");T(17,"async");
G();C(18,F2a,2,1,"ng-container",0);T(19,"async");G();E(20,"div",8)(21,"b-edit-field",9,10);M("onHotkey",function(){v(c);var J=Q(22);return x(xp(J,null,!0,!1))})("valueChange",function(J){v(c);var H=N();return x($3a(H,null!==J&&void 0!==J?J:""))});T(23,"async");T(24,"async");T(25,"async");T(26,"async");G();C(27,H2a,3,3,"ng-container",0);T(28,"async");G();E(29,"onedev-hovercard",null,11);C(31,I2a,3,4,"b-issue-card",12);G();C(32,K2a,4,9,"b-estimated-effort-row",13);T(33,"async");T(34,"async");E(35,"div",
14)(36,"div",15)(37,"div",16)(38,"label");R(39,"Access");G()();E(40,"div",17)(41,"span",18);R(42);T(43,"async");G();E(44,"div",19);M("click",function(){v(c);var J=N();return x(J.toggleAccessLimits())})("keydown.enter",function(J){v(c);var H=N();return x(H.toggleAccessLimitsWithKeystroke(J))})("keydown.space",function(J){v(c);var H=N();return x(H.toggleAccessLimitsWithKeystroke(J))});T(45,"async");T(46,"async");E(47,"span");R(48);T(49,"async");G()()()();E(50,"onedev-hovercard",null,20)(52,"div",21)(53,
"div",22)(54,"span",23);R(55," Issue access level can only be set by Issue admins and it enables issue-level access control. ");E(56,"a",24);R(57,"Learn more");G()()()()()();E(58,"div",25);T(59,"async");C(60,M2a,8,1,"div",26);T(61,"async");E(62,"div",27);C(63,R2a,7,18,"ng-container",1)(64,W2a,14,17,"ng-template",null,28,jg);G();C(66,Y2a,6,16,"ng-container",1)(67,$2a,8,10,"ng-template",null,29,jg);K(69);E(70,"b-collaborators-field",30,31);M("toggleAccessLimits",function(){v(c);var J=N();return x(J.toggleAccessLimits())})("valuesChange",
function(J){v(c);var H=Q(71),O=N();return x(a4a(O,H,J.values))});T(72,"async");T(73,"async");T(74,"async");E(75,"div",32);C(76,d3a,10,21,"div",33);T(77,"async");T(78,"async");T(79,"async");G()();E(80,"onedev-hovercard",null,34)(82,"div",21)(83,"div",22)(84,"span",23);R(85," Collaborators are users who are actively working on an issue. ");E(86,"a",35);R(87,"Learn more.");G()()()()();E(88,"b-list-field",36,37);M("valuesChange",function(J){v(c);var H=Q(89),O=N();return x(b4a(O,H,J.values))});T(90,"async");
T(91,"async");T(92,"async");E(93,"div",32);C(94,h3a,10,21,"div",33);T(95,"async");T(96,"async");T(97,"async");G()();E(98,"onedev-hovercard",null,38)(100,"div",21)(101,"div",22)(102,"span",23);R(103," CC are users who want to receive updates. ");E(104,"a",35);R(105,"Learn more.");G()()()()();L();G();C(106,j3a,2,1,"ng-container",0);T(107,"async");C(108,l3a,3,3,"ng-container",0);T(109,"async");C(110,m3a,1,6,"b-list-field",39)(111,o3a,2,4,"div",40);T(112,"async");C(113,q3a,2,1,"ng-container",0);T(114,
"async");C(115,r3a,1,0,"hr",41);T(116,"async");C(117,B3a,12,20,"collapsible-panel",42);T(118,"async");C(119,D3a,1,1,"ng-template",null,43,jg)(121,F3a,3,12,"ng-template",null,44,jg)(123,I3a,10,28,"ng-template",null,45,jg)(125,K3a,4,14,"ng-template",null,46,jg)(127,M3a,4,14,"ng-template",null,47,jg)(129,O3a,4,14,"ng-template",null,48,jg)(131,Q3a,3,11,"ng-template",null,49,jg)(133,V3a,5,4,"ng-template",null,50,jg)(135,X3a,3,8,"ng-template",null,51,jg);L()}if(a&2){a=b.ngIf;var d=Q(8),e=Q(30),f=Q(51),
h=Q(65),k=Q(68),q=Q(81),t=Q(99);b=N();var w,z,F;y();D("ngIf",b.showSloStatus&&V(2,84,b.isSloStatusPrimary$));y(2);D("ngIf",b.sessionIsInternal);y();D("ngIf",V(5,86,b.teamWarningType$));y(2);D("ngIf",!b.enablePeoplekitAc)("ngIfElse",d);y(3);D("name","type")("title","Type")("type",b.FieldType.ENUM)("value",a.type)("choices",b.typeChoices)("readonly",!V(11,88,b.hasAclToEdit$))("disabled",!!V(12,90,b.isSaving$("type")));y(5);D("name","priority")("title","Priority")("type",b.FieldType.ENUM)("tooltip",
"Set priority, which reflects how soon the issue should be fixed")("value",a.priority)("choices",b.priorityChoices)("hotkey",b.HOTKEYS.OPEN_ISSUE_PRIORITY_MENU)("readonly",!V(16,92,b.hasAclToEdit$))("disabled",!!V(17,94,b.isSaving$("priority")));y(4);D("ngIf",V(19,96,b.isSeverityPrimary$));y(3);D("name","status")("title","Status")("type",b.FieldType.ENUM)("value",a.status)("choices",null!==(w=V(23,98,b.statusChoices$))&&void 0!==w?w:eg(160,x2a))("showHotkeyHint",!0)("hotkey",b.HOTKEYS.OPEN_ISSUE_STATUS_MENU)("readonly",
!V(24,100,b.hasAclToEdit$))("disabled",!!V(25,102,b.isSaving$("status")))("onedevHovercardActive",!!V(26,104,b.canonicalIssueId$))("onedevHovercardTrigger",e);y(6);D("ngIf",V(28,106,b.hasAclToEdit$));y(5);D("ngIf",b.sessionIsInternal&&V(33,108,b.isEffortEnabled$)&&!V(34,110,b.isWithinExternalComponent$));y(4);D("onedevHovercardTrigger",f)("onedevHovercardActive",!0)("onedevHovercardConfig",b.ACCESS_LIMITS_HOVERCARD_CONFIG);y(6);$f(b.getAccessLimitLevelDisplay(V(43,112,b.accessLimitLevel$)));y(2);
D("matTooltip",V(46,116,b.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)");pf("aria-label",V(45,114,b.hasAclToAdmin$)?"Edit":"View");y(4);S(" ",V(49,118,b.hasAclToAdmin$)?"Edit":"View"," ");y(8);D("href",b.documentationLinks.getIssueAccessLimit(),Pd);y(2);yf("implicit-access-box",V(59,120,b.isImplicitAccessEnabled$));y(2);D("ngIf",V(61,122,b.isImplicitAccessEnabled$));y(3);
D("ngIf",!b.enablePeoplekitAc)("ngIfElse",h);y(3);D("ngIf",!b.enablePeoplekitAc)("ngIfElse",k);y(4);D("readonly",!V(72,124,b.hasAclToEdit$))("collaborators",a.collaborators)("collaboratorsUsers",a.collaboratorsUsers)("listFieldDisabled",!!V(73,126,b.isSaving$("collaborators")))("teamId",null!==(z=V(74,128,b.teamId$))&&void 0!==z?z:"")("isCollapsible",!0)("onedevHovercardTrigger",q)("onedevHovercardActive",!0)("onedevHovercardConfig",b.USER_FIELD_HOVERCARD_CONFIG);y(6);D("ngIf",V(77,130,b.isCurrentUserCollaborator$)||
!V(78,132,b.isCurrentUserCollaborator$)&&V(79,134,b.hasAclToEdit$));y(12);Pf("collapsiblePanelTitle","",a.cc.length," ",1===a.cc.length?"user":"users","");D("defaultLineCount",5)("readonly",!V(90,136,b.isAllowedToEditCC$))("type",b.ListFieldType.USERCHIP)("isUser",!0)("values",a.cc)("users",a.ccUsers)("listFieldDisabled",!!V(91,138,b.isSaving$("ccs")))("isCollapsible",!0)("isExpanded",!0)("onedevHovercardTrigger",t)("onedevHovercardActive",!0)("onedevHovercardConfig",b.USER_FIELD_HOVERCARD_CONFIG)("teamId",
null!==(F=V(92,140,b.teamId$))&&void 0!==F?F:"");y(6);D("ngIf",V(95,142,b.isCurrentUserCCd$)||!V(96,144,b.isCurrentUserCCd$)&&V(97,146,b.isAllowedToEditCC$));y(12);D("ngIf",b.showChangelists&&V(107,148,b.isChangelistPrimary$));y(2);D("ngIf",V(109,150,b.workspaces$));y(2);D("ngIf",!b.sessionIsExternal&&(null==a.postmortems?null:a.postmortems.length));y();D("ngForOf",V(112,152,b.visibleCustomFields$))("ngForTrackBy",b.trackCustomField);y(2);D("ngIf",V(114,154,b.isForgottenFourPrimary$));y(2);D("ngIf",
V(116,156,b.hasHiddenFields$));y(2);D("ngIf",V(118,158,b.hasHiddenFields$))}},d4a=function(a,b){if(a&1){var c=u();K(0);E(1,"a",16);M("click",function(){v(c);var d=N();kp(d.analytics,Sp.ISSUE_SIDEBAR,"navigate","issueDetailsPage");return x()});E(2,"span",17);R(3,"Navigate to issue ");G();R(4);G();E(5,"button",18);M("click",function(){var d=v(c).ngIf,e=N();return x(e.copyIssueId(d))});I(6,"mat-icon",19);G();L()}a&2&&(a=b.ngIf,y(),Nf("href","/issues/",a,"",Pd),y(3),S(" ",a," "))},e4a=function(a,b){if(a&
1){var c=u();E(0,"b-app-vote-button",20);M("onVote",function(d){v(c);var e=N();return x(e.upvoted(d))});G()}a&2&&(a=b.ngIf,D("issueId",a.issueId)("upvoted",!(null==a.userData||!a.userData.voted))("voteCount",(null==a.aggregatedData?null:a.aggregatedData.voteCount)||0))},g4a=function(a){if(a&1){var b=u();K(0);E(1,"span");R(2);G();E(3,"button",23);M("click",function(){v(b);var c=N(2);return x(f4a(c))});I(4,"mat-icon",24);G();L()}a&2&&(a=N().ngIf,y(),pf("title",a.snapshot[0].title),y(),S(" ",a.snapshot[0].title,
" "),y(),D("matTooltipShowDelay",500))},h4a=function(a){if(a&1){var b=u();E(0,"button",30);M("click",function(){v(b);var c=N(3);return x(Aq(c))});R(1,"Cancel");G()}},i4a=function(a){a&1&&(K(0),R(1," Update title "),L())},j4a=function(a){if(a&1){var b=u();K(0);E(1,"mat-form-field",25)(2,"textarea",26);M("ngModelChange",function(d){v(b);var e=N(2);return x(e.draftTitle=d)});G()();E(3,"div",27);C(4,h4a,2,0,"button",28);E(5,"button",29);M("click",function(){v(b);var d=N(2);return x(d.saveTitle())});C(6,
i4a,2,0,"ng-container",14);G()();L()}if(a&2){a=N(2);var c=Q(22);y(2);D("cdkTextareaAutosize",!0)("cdkAutosizeMinRows",1)("ngModel",a.draftTitle)("bFocus",!0);y(2);D("ngIf",!a.isSavingTitle);y();D("disabled",a.isSavingTitle);y();D("ngIf",!a.isSavingTitle)("ngIfElse",c)}},k4a=function(a){a&1&&(E(0,"div",21)(1,"div",22),C(2,g4a,5,3,"ng-container",4)(3,j4a,7,8,"ng-container",4),G()());a&2&&(a=N(),y(2),D("ngIf",!a.editTitleMode),y(),D("ngIf",a.editTitleMode))},l4a=function(a){a&1&&(E(0,"xap-dialog-layout")(1,
"xap-dialog-layout-content")(2,"div"),R(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. "),G()()())},n4a=function(a){if(a&1){var b=u();E(0,"button",53);M("click",function(){v(b);var c=N(3);kp(c.analytics,Sp.ISSUE_SIDEBAR,"generateIssueSummary");kp(c.analytics,Sp.LLM_SUMMARIZE,"click",m4a(c));c.isLoadingIssueSummary=!0;c.issueSummaryRequested$.next();
c.isIssueSummaryExpanded=!0;return x()});R(1," Generate ");G()}},o4a=function(a){a&1&&I(0,"mat-icon",55)},p4a=function(a){a&1&&I(0,"mat-icon",56)},q4a=function(a){if(a&1){var b=u();E(0,"button",54);M("click",function(){v(b);var c=N(3);return x(c.isIssueSummaryExpanded=!c.isIssueSummaryExpanded)});C(1,o4a,1,0,"mat-icon",42)(2,p4a,1,0,"mat-icon",43);G()}a&2&&(a=N(3),D("matTooltipShowDelay",1E3),pf("aria-expanded",a.isIssueSummaryExpanded),y(),D("ngIf",!a.isIssueSummaryExpanded),y(),D("ngIf",a.isIssueSummaryExpanded))},
r4a=function(a){a&1&&Gf(0,60);if(a&2){N(4);var b=Q(22);D("ngTemplateOutlet",b)}},s4a=function(a){a&1&&I(0,"b-markdown-format-presenter",63);a&2&&(a=N().ngIf,D("content",a.formattedSummary))},t4a=function(a){a&1&&(E(0,"div"),R(1),G());a&2&&(a=N(2).ngIf,y(),S(" ",a.summary," "))},u4a=function(a){a&1&&C(0,t4a,2,1,"div",4);a&2&&(a=N(5),D("ngIf",!a.isLoadingIssueSummary))},v4a=function(a,b){a&1&&(K(0),C(1,s4a,1,1,"b-markdown-format-presenter",61)(2,u4a,1,1,"ng-template",null,62,jg),L());if(a&2){a=b.ngIf;
var c=Q(3);b=N(4);y();D("ngIf",!b.isLoadingIssueSummary&&a.formattedSummary)("ngIfElse",c)}},w4a=function(a){if(a&1){var b=u();E(0,"div",64)(1,"button",65);M("click",function(){v(b);var c=N(4);return x(c.copySummary())});I(2,"mat-icon",66);G();E(3,"button",67);M("click",function(){v(b);var c=N(4);return x(c.openFeedbackDialog())});I(4,"mat-icon",68);G();E(5,"button",69);M("click",function(){v(b);var c=N(4);return x(c.trackThumbsUp())});I(6,"mat-icon",70);G();E(7,"button",71);M("click",function(){v(b);
var c=N(4);return x(c.trackThumbsDown())});I(8,"mat-icon",72);G()()}a&2&&(a=N(4),y(5),D("disabled",a.hasRatedSummary),y(),yf("has-reacted-icon",a.summaryThumbsUp),y(),D("disabled",a.hasRatedSummary),y(),yf("has-reacted-icon",a.summaryThumbsDown))},x4a=function(a){a&1&&(E(0,"div",57),C(1,r4a,1,1,"ng-container",58)(2,v4a,4,2,"ng-container",4),T(3,"async"),C(4,w4a,9,6,"div",59),G());a&2&&(a=N(3),y(),D("ngIf",a.isLoadingIssueSummary),y(),D("ngIf",V(3,3,a.issueSummary$)),y(2),D("ngIf",a.isIssueSummaryExpanded&&
!a.isLoadingIssueSummary))},y4a=function(a){a&1&&(K(0),E(1,"div",45)(2,"div",33)(3,"div",34),I(4,"mat-icon",46),E(5,"span"),R(6,"AI-GENERATED SUMMARY"),G(),E(7,"button",47),I(8,"mat-icon",48),G(),C(9,l4a,4,0,"ng-template",null,49,jg),G(),C(11,n4a,2,0,"button",50)(12,q4a,3,4,"button",51),G(),C(13,x4a,5,5,"div",52),G(),L());if(a&2){var b=Q(10);a=N(2);y(7);D("xapInlineDialog",b)("dialogTabIndex",0);y(4);D("ngIf",!a.hasIssueSummary&&!a.isLoadingIssueSummary);y();D("ngIf",a.hasIssueSummary);y();D("ngIf",
a.isIssueSummaryExpanded)}},z4a=function(a){a&1&&(E(0,"span"),R(1," No update yet "),G())},A4a=function(a){if(a&1){var b=u();E(0,"button",73);M("click",function(){v(b);var c=N(2);return x(c.editStatusUpdate())});I(1,"mat-icon",24);G()}a&2&&D("matTooltipShowDelay",1E3)},B4a=function(a){a&1&&I(0,"mat-icon",55)},C4a=function(a){a&1&&I(0,"mat-icon",56)},D4a=function(a){if(a&1){var b=u();E(0,"button",74);M("click",function(){v(b);var c=N(2);return x(c.isStatusUpdateExpanded=!c.isStatusUpdateExpanded)});
C(1,B4a,1,0,"mat-icon",42)(2,C4a,1,0,"mat-icon",43);G()}a&2&&(a=N(2),D("matTooltipShowDelay",1E3),pf("aria-expanded",a.isStatusUpdateExpanded),y(),D("ngIf",!a.isStatusUpdateExpanded),y(),D("ngIf",a.isStatusUpdateExpanded))},E4a=function(a,b){a&1&&(I(0,"b-note-container",78),T(1,"async"));if(a&2){a=b.ngIf;b=N().ngIf;var c=N().ngIf,d=N(2),e;D("issueId",a)("note",c)("issueAccessLevel",V(1,4,d.accessLevel$))("formattingMode",null!==(e=b.formattingMode)&&void 0!==e?e:d.FormattingMode.PLAIN)}},F4a=function(a){a&
1&&(E(0,"div",76),C(1,E4a,2,6,"b-note-container",77),T(2,"async"),G());if(a&2){a=N().ngIf;var b=N(2);y();D("ngIf",""!==a.unlinkifiedComment&&V(2,1,b.issueId$))}},G4a=function(a){a&1&&(K(0),C(1,F4a,3,3,"div",75),T(2,"async"),L());a&2&&(a=N(2),y(),D("ngIf",V(2,1,a.statusUpdate$)))},H4a=function(a){a&1&&(E(0,"span"),R(1," No description yet "),G())},J4a=function(a){if(a&1){var b=u();E(0,"button",82);M("click",function(){v(b);var c=N(3);return x(I4a(c))});I(1,"mat-icon",24);G()}a&2&&D("matTooltipShowDelay",
1E3)},K4a=function(a){a&1&&I(0,"mat-icon",55)},L4a=function(a){a&1&&I(0,"mat-icon",56)},M4a=function(a){if(a&1){var b=u();E(0,"button",83);M("click",function(){v(b);var c=N(3);return x(c.isDescriptionExpanded=!c.isDescriptionExpanded)});C(1,K4a,1,0,"mat-icon",42)(2,L4a,1,0,"mat-icon",43);G()}a&2&&(a=N(3),D("matTooltipShowDelay",1E3),pf("aria-expanded",a.isDescriptionExpanded),y(),D("ngIf",!a.isDescriptionExpanded),y(),D("ngIf",a.isDescriptionExpanded))},N4a=function(a,b){a&1&&(I(0,"b-note-container",
78),T(1,"async"));if(a&2){a=b.ngIf;b=N().ngIf;var c=N(2).ngIf,d=N(2),e;D("issueId",a)("note",b)("issueAccessLevel",V(1,4,d.accessLevel$))("formattingMode",null!==(e=c[0].formattingMode)&&void 0!==e?e:d.FormattingMode.PLAIN)}},O4a=function(a){if(a&1){var b=u();E(0,"div",88)(1,"a",89);M("click",function(){v(b);var c=N(5);kp(c.analytics,Sp.ISSUE_SIDEBAR,"showMoreDescription");c.showFullDescription=!0;return x()});R(2," Show more ");G()()}},P4a=function(a,b){a&1&&(K(0),E(1,"div",86),C(2,N4a,2,6,"b-note-container",
77),T(3,"async"),G(),C(4,O4a,3,0,"div",87),L());a&2&&(a=b.ngIf,b=N(4),y(),yf("full-height",b.showFullDescription),y(),D("ngIf",""!==a.unlinkifiedComment&&V(3,4,b.issueId$)),y(2),D("ngIf",!b.showFullDescription&&b.descriptionHasMore))},Q4a=function(a){a&1&&(K(0),E(1,"div",84,85),C(3,P4a,5,6,"ng-container",4),T(4,"async"),T(5,"async"),G(),L());a&2&&(a=N(3),y(3),D("ngIf",V(4,1,a.hasDescription$)&&V(5,3,a.firstNote$)))},R4a=function(a){a&1&&(K(0),E(1,"div",79)(2,"div",33)(3,"div",34)(4,"span"),R(5,"DESCRIPTION"),
G()(),E(6,"div",36),C(7,H4a,2,0,"span",4),T(8,"async"),C(9,J4a,2,1,"button",80),T(10,"async"),T(11,"async"),C(12,M4a,3,4,"button",81),T(13,"async"),G()(),C(14,Q4a,6,5,"ng-container",4),G(),L());a&2&&(a=N(2),y(7),D("ngIf",!V(8,4,a.hasDescription$)),y(2),D("ngIf",(a.isDescriptionExpanded||!V(10,6,a.hasDescription$))&&V(11,8,a.userCanEditDescription$)),y(3),D("ngIf",V(13,10,a.hasDescription$)),y(2),D("ngIf",a.isDescriptionExpanded))},S4a=function(a){a&1&&I(0,"mat-icon",55)},T4a=function(a){a&1&&I(0,
"mat-icon",56)},U4a=function(a){a&1&&(E(0,"div",90),I(1,"edit-issue-metadata",91),G());a&2&&(a=N().ngIf,y(),D("issueId",a.issueId))},V4a=function(a){if(a&1){var b=u();K(0);E(1,"div",31);C(2,y4a,14,5,"ng-container",4);T(3,"async");E(4,"div",32)(5,"div",33)(6,"div",34);I(7,"mat-icon",35);E(8,"span");R(9," STATUS UPDATE ");G()();E(10,"div",36);C(11,z4a,2,0,"span",4);T(12,"async");C(13,A4a,2,1,"button",37);T(14,"async");T(15,"async");C(16,D4a,3,4,"button",38);T(17,"async");G()();C(18,G4a,3,3,"ng-container",
4);T(19,"async");G();C(20,R4a,15,12,"ng-container",14);T(21,"async");E(22,"div",39)(23,"div",33)(24,"div",34);I(25,"mat-icon",40);E(26,"span");R(27,"FIELDS");G()();E(28,"button",41);M("click",function(){v(b);var d=N();return x(d.isFieldsExpanded=!d.isFieldsExpanded)});C(29,S4a,1,0,"mat-icon",42)(30,T4a,1,0,"mat-icon",43);G()();C(31,U4a,2,1,"div",44);G()();L()}if(a&2){a=N();var c=Q(22);y(2);D("ngIf",a.enableLlmSummarization&&V(3,12,a.isSummarizable$));y(9);D("ngIf",!V(12,14,a.hasStatusUpdate$));y(2);
D("ngIf",(a.isStatusUpdateExpanded||!V(14,16,a.hasStatusUpdate$))&&V(15,18,a.userCanEditStatusUpdate$));y(3);D("ngIf",V(17,20,a.hasStatusUpdate$));y(2);D("ngIf",a.isStatusUpdateExpanded&&V(19,22,a.statusUpdateNote$));y(2);D("ngIf",V(21,24,a.events$))("ngIfElse",c);y(8);D("matTooltipShowDelay",1E3);pf("aria-expanded",a.isFieldsExpanded);y();D("ngIf",!a.isFieldsExpanded);y();D("ngIf",a.isFieldsExpanded);y();D("ngIf",a.isFieldsExpanded)}},W4a=function(a){a&1&&(E(0,"div",92),I(1,"b-spinner"),G())},X4a=
function(a){a&1&&(K(0),R(1," This issue has not been modified since "),I(2,"b-formatted-date-time",4),R(3," and is scheduled for deletion on "),E(4,"strong"),I(5,"b-formatted-date-time",4),G(),R(6,". "),L());a&2&&(a=N(2),y(2),D("mode","date")("timestamp",a.modifiedTime)("paddingLeftPx",0),y(3),D("mode","date")("timestamp",a.retentionExpireTime)("paddingLeftPx",0))},Y4a=function(a){a&1&&R(0," This issue is retained indefinitely. ")},Z4a=function(a){a&1&&(K(0),C(1,X4a,7,6,"ng-container",1)(2,Y4a,1,
0,"ng-template",null,2,jg),E(4,"a",3),R(5,"Learn more"),G(),L());if(a&2){var b=Q(3);a=N();y();D("ngIf",a.retentionState.retentionPeriod)("ngIfElse",b);y(3);D("href",a.documentationLink,Pd)}},$4a=function(a){a&1&&(E(0,"b-base-chip",1)(1,"div",2),I(2,"retention-text",3),G(),E(3,"div",4),I(4,"retention-help-text",5),G()());a&2&&(a=N(),D("compactMode",a.compactMode)("labelClass",a.dangerZone?"danger":"expiring")("labelOnlyMode",a.labelOnlyMode),y(2),D("retentionState",a.retentionState)("compactMode",
a.compactMode),y(2),D("retentionState",a.retentionState)("modifiedTime",a.modifiedTime))},a5a=function(a){var b=void 0===b?new Date:b;var c=a.retentionPeriod;return b.getTime()>=on(a.scheduledDeletionTime)-Math.max(12096E5,.2*(c?1E3*c.seconds+(c.nanos||0)/1E6:0))},b5a=function(a){if(a&1){var b=u();E(0,"div",1);M("click",function(){v(b);var c=N();return x(c._onBackdropClicked())});G()}a&2&&(a=N(),yf("mat-drawer-shown",a._isShowingBackdrop()))},c5a=function(a){a&1&&(E(0,"mat-drawer-content"),Mf(1,2),
G())},d5a=function(){return!1},e5a=function(a){if(a&1){var b=u();E(0,"div",1);M("click",function(){v(b);var c=N();return x(c._onBackdropClicked())});G()}a&2&&(a=N(),yf("mat-drawer-shown",a._isShowingBackdrop()))},f5a=function(a){a&1&&(E(0,"mat-sidenav-content"),Mf(1,2),G())},i5a=function(a){if(a&1){var b=u();E(0,"issue-sidebar",8);M("closeSidebar",function(){v(b);var d=N(2);return x(d.isIssueSidebarOpen=!1)})("navigateToNextIssue",function(){v(b);var d=N(2);return x(g5a(d))})("navigateToPreviousIssue",
function(){v(b);var d=N(2);return x(h5a(d))});G()}if(a&2){a=N(2);var c;D("issueId",null==(c=a.getFocusedIssue())?null:c.issueId)}},j5a=function(a){a&1&&Gf(0)},k5a=function(a){if(a&1){var b=u();E(0,"mat-sidenav-container",3,4)(2,"mat-sidenav",5);M("openedChange",function(d){v(b);var e=N();kp(e.anayltics,Sp.ISSUE_SIDEBAR,d?"open":"close");return x()});C(3,i5a,1,1,"issue-sidebar",6);G();E(4,"mat-sidenav-content");C(5,j5a,1,0,"ng-container",7);G()()}if(a&2){a=N();var c=Q(3);yf("sidebar-enabled",a.isIssueSidebarEnabled);
y(2);D("opened",a.isIssueSidebarOpen)("disableClose",!0);y();D("ngIf",a.isIssueSidebarOpen);y(2);D("ngTemplateOutlet",c)}},l5a=function(a){a&1&&Gf(0)},m5a=function(a,b){a&1&&(E(0,"th",30),C(1,l5a,1,0,"ng-container",31),G());a&2&&(a=b.column,b=N(2),pf("data-stable-column-name",a.name),y(),D("ngIf",b.isIssueGridColumn(a)))},n5a=function(a){a&1&&Gf(0)},o5a=function(a,b){a&1&&(E(0,"th",32),C(1,n5a,1,0,"ng-container",31),G());a&2&&(a=b.column,b=N(2),pf("data-stable-column-name",a.name),y(),D("ngIf",b.isIssueGridColumn(a)))},
s5a=function(a){if(a&1){var b=u();K(0);E(1,"mat-pseudo-checkbox",34);M("click",function(c){v(b);var d=N(3);c.stopPropagation();return x(p5a(d))})("keydown.enter",function(c){v(b);var d=N(3);c.stopPropagation();return x(p5a(d))})("keydown.space",function(c){v(b);var d=N(3);c.stopPropagation();return x(p5a(d))});G();L()}a&2&&(a=N(3),y(),D("state",q5a(a)),pf("aria-checked",r5a(a)))},t5a=function(a,b){a&1&&(E(0,"th",33),C(1,s5a,2,2,"ng-container",31),G());a&2&&(a=b.column,b=N(2),pf("data-stable-column-name",
a.name),y(),D("ngIf",b.isIssueGridColumn(a)))},u5a=function(a){a&1&&Gf(0)},v5a=function(a,b){a&1&&(E(0,"th"),C(1,u5a,1,0,"ng-container",31),G());a&2&&(a=b.column,b=N(2),pf("data-stable-column-name",a.name),y(),D("ngIf",b.isIssueGridColumn(a)))},w5a=function(a){a&1&&(K(0),I(1,"pop-grid-default-th",35),L());a&2&&(a=N().column,y(),D("column",a))},x5a=function(a,b){a&1&&(E(0,"th"),C(1,w5a,2,1,"ng-container",31),G());a&2&&(a=b.column,b=N(2),pf("data-stable-column-name",a.name),y(),D("ngIf",b.isIssueGridColumn(a)))},
y5a=function(a){if(a&1){var b=u();E(0,"b-column-picker",38);M("selectedColumnsChange",function(d){v(b);var e=N(4);e.columns=d;e.columnsChange.emit(d);e.cdr.detectChanges();return x()});G()}if(a&2){a=N(2).column;var c=N(2);D("column",a)("availableColumns",c.availableColumns)("selectedColumns",c.columns)}},z5a=function(a){a&1&&I(0,"pop-grid-default-th",35);a&2&&(a=N(2).column,D("column",a))},A5a=function(a){a&1&&(K(0),C(1,y5a,1,3,"b-column-picker",36)(2,z5a,1,1,"pop-grid-default-th",37),L());a&2&&(a=
N(3),y(),D("ngIf",a.enableColumnSaving),y(),D("ngIf",!a.enableColumnSaving))},B5a=function(a,b){a&1&&(E(0,"th"),C(1,A5a,3,2,"ng-container",31),G());a&2&&(a=b.column,b=N(2),pf("data-stable-column-name",a.name),y(),D("ngIf",b.isIssueGridColumn(a)))},C5a=function(a){a&1&&Gf(0)},D5a=function(a){a&1&&(E(0,"td",30),C(1,C5a,1,0,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},E5a=function(a){a&1&&Gf(0)},F5a=function(a){a&1&&(E(0,"td",39),C(1,E5a,1,0,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},
G5a=function(a){if(a&1){var b=u();K(0);E(1,"mat-pseudo-checkbox",40);M("click",function(c){v(b);var d=N(),e=d.index;d=d.row;var f=N(2);c.stopPropagation();if(c.shiftKey&&(c=d.selected,null!==f.lastCheckedIndex&&f.searchResults)){if(e<f.lastCheckedIndex){var h=e+1;var k=f.lastCheckedIndex+1}else h=f.lastCheckedIndex,k=e;h=l(f.searchResults.issues.slice(h,k));for(k=h.next();!k.done;k=h.next())k.value.selected=!c;Bq(f)}d.selected=!d.selected;f.lastCheckedIndex=e;Bq(f);return x()});G();L()}a&2&&(a=N().row,
y(),D("state",a.selected?"checked":"unchecked"),pf("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},H5a=function(a){a&1&&(E(0,"td",33),C(1,G5a,2,3,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},I5a=function(a){if(a&1){var b=u();K(0);E(1,"b-star-toggle",42);M("starClicked",function(){v(b);var d=N().row,e=N(2);return x(e.toggleStar(d))});G();L()}if(a&2){a=N().row;var c=N(2);y();D("starred",a.starred)("disabled",c.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage",
"Un-star this issue")}},J5a=function(a){a&1&&(E(0,"td",41),C(1,I5a,2,4,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},K5a=function(a){a&1&&(K(0),E(1,"span"),R(2),G(),L());a&2&&(a=N().row,y(),pf("title",a.position),y(),S(" ",a.position," "))},L5a=function(a){a&1&&(E(0,"td"),C(1,K5a,3,2,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},M5a=function(a){a&1&&(K(0),E(1,"a",47),R(2),G(),L());if(a&2){a=N(2).row;var b=N(2);y();D("href",b.paths.editIssue(a.issueId),Pd);pf("title",a.title);y();S(" ",
a.issueId," ")}},N5a=function(a){a&1&&(K(0),E(1,"b-issue-id-picker",48),M("click",function(b){return b.stopPropagation()}),G(),L());a&2&&(a=N(2).row,y(),D("issueId",a.issueId)("showCopyOptions",!1),pf("title",a.title))},O5a=function(a){a&1&&(K(0)(1,44),C(2,M5a,3,3,"ng-container",45)(3,N5a,2,3,"ng-container",46),L()());a&2&&(a=N(3),y(),D("ngSwitch",null==a.listViewPrefs?null:null==a.listViewPrefs.modeForField?null:a.listViewPrefs.modeForField.id),y(2),D("ngSwitchCase","copy"))},P5a=function(a){a&1&&
(E(0,"td",43),C(1,O5a,4,2,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},Q5a=function(a){a&1&&I(0,"archived-issue-indicator")},R5a=function(a){a&1&&I(0,"b-issue-visibility-chip",51);a&2&&(a=N(2).row,D("issueId",a.issueId)("compactMode",!0))},S5a=function(a){a&1&&I(0,"b-component-access-level-indicator",58);a&2&&(a=N(2).row,D("accessLevel",a.accessLevel)("compactMode",!0))},T5a=function(a){a&1&&I(0,"mat-icon",59)},U5a=function(a,b){a&1&&I(0,"b-hotlist-chip-smart",62);a&2&&D("id",b.$implicit)("removable",
!1)},V5a=function(a){a&1&&(E(0,"div",60),C(1,U5a,1,2,"b-hotlist-chip-smart",61),G());a&2&&(a=N(2).row,y(),D("ngForOf",a.hotlistId))},W5a=function(a){a&1&&(K(0),E(1,"div",50),C(2,Q5a,1,0,"archived-issue-indicator",31)(3,R5a,1,2,"b-issue-visibility-chip",51)(4,S5a,1,2),I(5,"b-tracker-chip-smart",52)(6,"b-retention-chip",53),E(7,"div",54)(8,"a",55),R(9),C(10,T5a,1,0,"mat-icon",56),G()(),C(11,V5a,2,1,"div",57),G(),L());if(a&2){a=N().row;var b=N(2);y();yf("bv2-grid-cell-flex-wrap",b.listViewPrefs&&b.listViewPrefs.wrapTitles);
y();D("ngIf",a.archived);y();Cf(3,b.enableNewVisibilityChips?3:4);y(2);D("trackerId",a.trackerId)("compactMode",!0);y();D("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);y(2);D("href",b.paths.editIssue(a.issueId),Pd);pf("title",a.title);y();S(" ",a.title," ");y();D("ngIf",b.isIssueSidebarEnabled);y();D("ngIf",b.listViewPrefs&&b.listViewPrefs.showHotlists)}},X5a=function(a){a&1&&(E(0,"td",49),C(1,W5a,12,15,"ng-container",31),G());a&2&&
(a=N(2),yf("bv2-grid-cell-variable-height",a.listViewPrefs&&a.listViewPrefs.wrapTitles),y(),D("ngIf",!0))},Z5a=function(a){a&1&&(K(0),E(1,"div",64),R(2),G(),L());a&2&&(a=N().row,N(2),y(),D("ngClass",hg(Y5a,2<=Number(a.priority),2>Number(a.priority),0===Number(a.priority))),y(),S(" P",a.priority," "))},$5a=function(a){a&1&&(E(0,"td",63),C(1,Z5a,3,6,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},a6a=function(a){a&1&&(K(0),E(1,"div",64),R(2),G(),L());a&2&&(a=N().row,N(2),y(),D("ngClass",hg(Y5a,
2<=Number(a.severity),2>Number(a.severity),0===Number(a.severity))),y(),S(" S",a.severity," "))},b6a=function(a){a&1&&(E(0,"td",65),C(1,a6a,3,6,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},c6a=function(a){a&1&&I(0,"mat-icon",70);if(a&2){a=N().$implicit;var b=N(4);D("svgIcon",b.ISSUE_STATUS_JS_ICON_NAME[a])}},d6a=function(a){a&1&&(K(0),R(1),L());if(a&2){a=N().$implicit;var b=N(4);y();$f(b.STATUS_JS_TERSE[a])}},e6a=function(a){a&1&&(E(0,"span"),R(1),G());if(a&2){a=N().$implicit;var b=N(4);
Bf("chippy status-",a," margin-left-auto");y();S(" ",b.STATUS_JS_TERSE[a]," ")}},f6a=function(a,b){a&1&&(K(0),E(1,"span",67),C(2,c6a,1,1,"mat-icon",68)(3,d6a,2,1,"ng-container",46)(4,e6a,2,4,"span",69),G(),L());a&2&&(a=b.$implicit,b=N(4),y(),D("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]),y(),D("ngSwitchCase","icon"),y(),D("ngSwitchCase","plain"))},
g6a=function(a){a&1&&(K(0),C(1,f6a,5,4,"ng-container",31),L());a&2&&(a=N().row,y(),D("ngIf",a.status))},h6a=function(a){a&1&&(E(0,"td",66),C(1,g6a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},i6a=function(a){a&1&&(K(0),R(1),T(2,"enumToHuman"),L());a&2&&(a=N().row,y(),S(" ",V(2,1,a.type)," "))},j6a=function(a){a&1&&(E(0,"td",71),C(1,i6a,3,3,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},k6a=function(a){a&1&&(E(0,"b-person-hovercard",74),T(1,"omitObfuscatedEmail"),R(2),G());a&2&&
(a=N(2).row,D("email",V(1,2,a.reporter)),y(2),S(" ",a.reporter," "))},l6a=function(a){a&1&&(E(0,"span"),R(1,"--"),G())},m6a=function(a){a&1&&(K(0),C(1,k6a,3,4,"b-person-hovercard",73),T(2,"omitObfuscatedEmail"),C(3,l6a,2,0,"span",31),L());a&2&&(a=N().row,y(),D("ngIf",V(2,2,a.reporter)),y(2),D("ngIf",!a.reporter))},n6a=function(a){a&1&&(E(0,"td",72),C(1,m6a,4,4,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},o6a=function(a){a&1&&(E(0,"b-person-hovercard",74),T(1,"omitObfuscatedEmail"),R(2),G());
a&2&&(a=N(2).row,D("email",V(1,2,a.assignee)),y(2),S(" ",a.assignee," "))},p6a=function(a){a&1&&(E(0,"span"),R(1,"--"),G())},q6a=function(a){a&1&&(K(0),C(1,o6a,3,4,"b-person-hovercard",73),T(2,"omitObfuscatedEmail"),C(3,p6a,2,0,"span",31),L());a&2&&(a=N().row,y(),D("ngIf",V(2,2,a.assignee)),y(2),D("ngIf",!a.assignee))},r6a=function(a){a&1&&(E(0,"td",72),C(1,q6a,4,4,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},s6a=function(a){a&1&&(E(0,"b-person-hovercard",74),T(1,"omitObfuscatedEmail"),R(2),
G());a&2&&(a=N(2).row,D("email",V(1,2,a.verifier)),y(2),S(" ",a.verifier," "))},t6a=function(a){a&1&&(E(0,"span"),R(1,"--"),G())},u6a=function(a){a&1&&(K(0),C(1,s6a,3,4,"b-person-hovercard",73),T(2,"omitObfuscatedEmail"),C(3,t6a,2,0,"span",31),L());a&2&&(a=N().row,y(),D("ngIf",V(2,2,a.verifier)),y(2),D("ngIf",!a.verifier))},v6a=function(a){a&1&&(E(0,"td",72),C(1,u6a,4,4,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},w6a=function(a){a&1&&(K(0),E(1,"span"),T(2,"arrayToHuman"),R(3),T(4,"arrayToHuman"),
G(),L());a&2&&(a=N().row,y(),pf("title",V(2,2,a.cc)),y(2),S(" ",V(4,4,a.cc)," "))},x6a=function(a){a&1&&(E(0,"td",72),C(1,w6a,5,6,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},y6a=function(a){a&1&&(K(0),E(1,"span"),T(2,"arrayToHuman"),R(3),T(4,"arrayToHuman"),G(),L());a&2&&(a=N().row,y(),pf("title",V(2,2,a.changelist)),y(2),S(" ",V(4,4,a.changelist)," "))},z6a=function(a){a&1&&(E(0,"td",72),C(1,y6a,5,6,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},A6a=function(a){a&1&&(K(0),E(1,"span"),
T(2,"arrayToHuman"),R(3),T(4,"arrayToHuman"),G(),L());a&2&&(a=N().row,y(),pf("title",V(2,2,a.postmortem)),y(2),S(" ",V(4,4,a.postmortem)," "))},B6a=function(a){a&1&&(E(0,"td",72),C(1,A6a,5,6,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},C6a=function(a){a&1&&Gf(0)},D6a=function(a){a&1&&(E(0,"span"),R(1,", "),G())},F6a=function(a,b){a&1&&(K(0),C(1,C6a,1,0,"ng-container",76)(2,D6a,2,0,"span",31),L());if(a&2){a=b.$implicit;b=b.last;N(4);var c=Q(5);y();D("ngTemplateOutlet",c)("ngTemplateOutletContext",
fg(3,E6a,a));y();D("ngIf",!b)}},G6a=function(a){a&1&&(K(0),C(1,F6a,3,5,"ng-container",75),L());a&2&&(a=N().row,y(),D("ngForOf",a.blockingIssueId))},H6a=function(a){a&1&&(E(0,"td",72),C(1,G6a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},I6a=function(a){a&1&&Gf(0)},J6a=function(a){a&1&&(E(0,"span"),R(1,", "),G())},K6a=function(a,b){a&1&&(K(0),C(1,I6a,1,0,"ng-container",76)(2,J6a,2,0,"span",31),L());if(a&2){a=b.$implicit;b=b.last;N(4);var c=Q(5);y();D("ngTemplateOutlet",c)("ngTemplateOutletContext",
fg(3,E6a,a));y();D("ngIf",!b)}},L6a=function(a){a&1&&(K(0),C(1,K6a,3,5,"ng-container",75),L());a&2&&(a=N().row,y(),D("ngForOf",a.blockedByIssueId))},M6a=function(a){a&1&&(E(0,"td",72),C(1,L6a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},N6a=function(a){a&1&&Gf(0)},O6a=function(a){a&1&&(K(0),C(1,N6a,1,0,"ng-container",76),L());if(a&2){a=N(2).row;N(2);var b=Q(5);y();D("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(2,E6a,a.duplicateOfIssueId))}},P6a=function(a){a&1&&(K(0),C(1,O6a,2,
4,"ng-container",31),L());a&2&&(a=N().row,y(),D("ngIf",a.duplicateOfIssueId))},Q6a=function(a){a&1&&(E(0,"td",72),C(1,P6a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},R6a=function(a){a&1&&(K(0),I(1,"b-formatted-date-time",78),L());a&2&&(a=N().row,y(),D("timestamp",a.createdTime))},S6a=function(a){a&1&&(E(0,"td",77),C(1,R6a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},T6a=function(a){a&1&&(K(0),I(1,"b-formatted-date-time",78),L());a&2&&(a=N().row,y(),D("timestamp",a.modifiedTime))},
U6a=function(a){a&1&&(E(0,"td",77),C(1,T6a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},V6a=function(a){a&1&&(K(0),I(1,"b-formatted-date-time",78),L());a&2&&(a=N().row,y(),D("timestamp",a.resolvedTime))},W6a=function(a){a&1&&(E(0,"td",77),C(1,V6a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},X6a=function(a){a&1&&(K(0),I(1,"b-formatted-date-time",78),L());a&2&&(a=N().row,y(),D("timestamp",a.verifiedTime))},Y6a=function(a){a&1&&(E(0,"td",77),C(1,X6a,2,1,"ng-container",31),G());
a&2&&(N(2),y(),D("ngIf",!0))},Z6a=function(a){a&1&&(K(0),E(1,"span"),T(2,"arrayToHuman"),R(3),T(4,"arrayToHuman"),G(),L());a&2&&(a=N().row,y(),pf("title",V(2,2,a.foundInVersion)),y(2),S(" ",V(4,4,a.foundInVersion)," "))},$6a=function(a){a&1&&(E(0,"td",72),C(1,Z6a,5,6,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},a7a=function(a){a&1&&(K(0),E(1,"span"),T(2,"arrayToHuman"),R(3),T(4,"arrayToHuman"),G(),L());a&2&&(a=N().row,y(),pf("title",V(2,2,a.targetedToVersion)),y(2),S(" ",V(4,4,a.targetedToVersion),
" "))},b7a=function(a){a&1&&(E(0,"td",72),C(1,a7a,5,6,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},c7a=function(a){a&1&&(K(0),E(1,"span"),T(2,"arrayToHuman"),R(3),T(4,"arrayToHuman"),G(),L());a&2&&(a=N().row,y(),pf("title",V(2,2,a.verifiedInVersion)),y(2),S(" ",V(4,4,a.verifiedInVersion)," "))},d7a=function(a){a&1&&(E(0,"td",72),C(1,c7a,5,6,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},e7a=function(a){a&1&&(K(0),R(1),T(2,"yesNo"),L());a&2&&(a=N().row,y(),S(" ",V(2,1,a.inProd)," "))},
f7a=function(a){a&1&&(E(0,"td",72),C(1,e7a,3,3,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},g7a=function(a){a&1&&(K(0),R(1),T(2,"yesNo"),L());a&2&&(a=N().row,y(),S(" ",V(2,1,a.archived)," "))},h7a=function(a){a&1&&(E(0,"td",72),C(1,g7a,3,3,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},i7a=function(a){a&1&&(K(0),E(1,"div",50)(2,"div",54)(3,"span"),R(4),G()()(),L());if(a&2){a=N().row;var b=N(2);y(3);pf("title",b.getComponentPath(a.componentPath));y();$f(b.getComponentPath(a.componentPath))}},
k7a=function(a){a&1&&(E(0,"td",79),C(1,i7a,5,2,"ng-container",31),G());if(a&2){a=N(2);var b;var c=!(null==(b=a.listViewPrefs)||!b.rtlComponentPath);D("ngClass",gg(2,j7a,a.listViewPrefs&&a.listViewPrefs.wrapComponents,c));y();D("ngIf",!0)}},l7a=function(a){a&1&&(E(0,"slo-status-card",82),I(1,"b-aggregated-slo-status-indicator",83),G());a&2&&(a=N(2).row,D("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime),y(),D("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime))},m7a=function(a){a&
1&&(K(0),C(1,l7a,2,5,"slo-status-card",81),L());a&2&&(a=N().row,y(),D("ngIf",a.sloStatus))},n7a=function(a){a&1&&(E(0,"td",80),C(1,m7a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},o7a=function(a){a&1&&(E(0,"slo-status-card",85),I(1,"b-slo-time-indicator",86),G());a&2&&(a=N(2).row,D("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","RESPONSE"),y(),D("sloBounds",a.sloStatus.responseBounds))},p7a=function(a){a&1&&(K(0),C(1,o7a,2,5,"slo-status-card",
84),L());a&2&&(a=N().row,y(),D("ngIf",a.sloStatus))},q7a=function(a){a&1&&(E(0,"td",80),C(1,p7a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},r7a=function(a){a&1&&(E(0,"slo-status-card",85),I(1,"b-slo-time-indicator",86),G());a&2&&(a=N(2).row,D("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","ASSIGNMENT"),y(),D("sloBounds",a.sloStatus.assignmentBounds))},s7a=function(a){a&1&&(K(0),C(1,r7a,2,5,"slo-status-card",84),L());a&2&&(a=N().row,y(),D("ngIf",
a.sloStatus))},t7a=function(a){a&1&&(E(0,"td",80),C(1,s7a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},u7a=function(a){a&1&&(E(0,"slo-status-card",85),I(1,"b-slo-time-indicator",86),G());a&2&&(a=N(2).row,D("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","CLOSURE"),y(),D("sloBounds",a.sloStatus.closureBounds))},v7a=function(a){a&1&&(K(0),C(1,u7a,2,5,"slo-status-card",84),L());a&2&&(a=N().row,y(),D("ngIf",a.sloStatus))},w7a=function(a){a&1&&(E(0,
"td",80),C(1,v7a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},x7a=function(a,b){a&1&&I(0,"b-formatted-date-time",88);a&2&&(a=b.$implicit,N(4),D("timestamp",1E3*a.seconds))},y7a=function(a){a&1&&(K(0),C(1,x7a,1,1,"b-formatted-date-time",87),L());a&2&&(a=N().row,y(),D("ngIf",null==a.retentionState?null:a.retentionState.scheduledDeletionTime))},z7a=function(a){a&1&&(E(0,"td",72),C(1,y7a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},A7a=function(a){a&1&&I(0,"div",90)},B7a=function(a){a&
1&&(E(0,"div"),I(1,"b-team-display",91),G());a&2&&(a=N(2).row,y(),D("teamId",a.teamId.toString())("componentId",a.componentId.toString())("anchorLinkEnabled",!1))},C7a=function(a){a&1&&(K(0),C(1,A7a,1,0,"div",89)(2,B7a,2,3,"div",31),L());a&2&&(a=N(3),y(),D("ngIf",a.isLoadingTeams),y(),D("ngIf",!a.isLoadingTeams))},D7a=function(a){a&1&&(E(0,"td",72),C(1,C7a,3,2,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},E7a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N().row,y(),S(" ",null==a.effort?null:a.effort.estimate,
" "))},F7a=function(a){a&1&&(E(0,"td",72),C(1,E7a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},G7a=function(a){a&1&&(K(0),R(1),L());if(a&2){a=N().row;var b=N(2);y();S(" ",b.isTotalEstimatesEnabled?(null==a.effort?null:a.effort.totalOpen)||"":""," ")}},H7a=function(a){a&1&&(E(0,"td",72),C(1,G7a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},I7a=function(a){a&1&&(K(0),R(1),L());if(a&2){a=N().row;var b=N(2);y();S(" ",b.isTotalEstimatesEnabled?(null==a.effort?null:a.effort.totalComplete)||
"":""," ")}},J7a=function(a){a&1&&(E(0,"td",72),C(1,I7a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},K7a=function(a){a&1&&(K(0),R(1),L());if(a&2){a=N().row;var b=N(2);y();S(" ",b.GET_ISSUE_ACCESS_LEVEL_TITLE(a.issueAccessLevel)," ")}},L7a=function(a){a&1&&(E(0,"td",80),C(1,K7a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},M7a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N().row,y(),S(" ",a.descendantCount," "))},N7a=function(a){a&1&&(E(0,"td",72),C(1,M7a,2,1,"ng-container",31),
G());a&2&&(N(2),y(),D("ngIf",!0))},O7a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N().row,y(),S(" ",a.openDescendantCount," "))},P7a=function(a){a&1&&(E(0,"td",72),C(1,O7a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},Q7a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N().row,y(),S(" ",a.oneDayViewCount," "))},R7a=function(a){a&1&&(E(0,"td",72),C(1,Q7a,2,1,"ng-container",31),G());a&2&&(a=N(2),y(),D("ngIf",a.enableAddViewCountColumnsOnIlp))},S7a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N().row,
y(),S(" ",a.sevenDayViewCount," "))},T7a=function(a){a&1&&(E(0,"td",72),C(1,S7a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},U7a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N().row,y(),S(" ",a.thirtyDayViewCount," "))},V7a=function(a){a&1&&(E(0,"td",72),C(1,U7a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},W7a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N().row,y(),S(" ",a.voteCount&&0<a.voteCount?a.voteCount:""," "))},X7a=function(a){a&1&&(E(0,"td",72),C(1,W7a,2,1,"ng-container",
31),G());a&2&&(N(2),y(),D("ngIf",!0))},Y7a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N().row,y(),S(" ",a.position," "))},Z7a=function(a){a&1&&(E(0,"td",72),C(1,Y7a,2,1,"ng-container",31),G());a&2&&(N(2),y(),D("ngIf",!0))},a8a=function(a){if(a&1){var b=u();E(0,"pop-grid",9);M("columnsChange",function(c){v(b);var d=N();d.columns=c;d.columnsChange.emit(c);d.cdr.detectChanges();return x()})("focusedRowIndexChange",function(c){v(b);var d=N();d.focusedRowIndex=c;return x(d.focusedRowIndexChange.emit(d.focusedRowIndex))})("sortChange",
function(c){v(b);var d=N();return x(d.sortChange.emit(c))})("rowClick",function(c){v(b);var d=N(),e=c.event.target,f,h=null!=(f=null==e?void 0:e.closest(".title-cell"))?f:!1,k;e=null!=(k=null==e?void 0:e.closest(".issue-id-cell"))?k:!1;h||e||!d.isIssueSidebarEnabled?d.rowClick.emit(c):(d.isIssueSidebarOpen=!0,d.cdr.detectChanges());return x()});C(1,m5a,2,2,"th",10)(2,o5a,2,2,"th",11)(3,t5a,2,2,"th",12)(4,v5a,2,2,"th",13)(5,x5a,2,2,"th",13)(6,B5a,2,2,"th",14)(7,D5a,2,1,"td",15)(8,F5a,2,1,"td",16)(9,
H5a,2,1,"td",17)(10,J5a,2,1,"td",18)(11,L5a,2,1,"td",19)(12,P5a,2,1,"td",20)(13,X5a,2,3,"td",21)(14,$5a,2,1,"td",22)(15,b6a,2,1,"td",23)(16,h6a,2,1,"td",24)(17,j6a,2,1,"td",25)(18,n6a,2,1,"td",26)(19,r6a,2,1,"td",26)(20,v6a,2,1,"td",26)(21,x6a,2,1,"td",26)(22,z6a,2,1,"td",26)(23,B6a,2,1,"td",26)(24,H6a,2,1,"td",26)(25,M6a,2,1,"td",26)(26,Q6a,2,1,"td",26)(27,S6a,2,1,"td",27)(28,U6a,2,1,"td",27)(29,W6a,2,1,"td",27)(30,Y6a,2,1,"td",27)(31,$6a,2,1,"td",26)(32,b7a,2,1,"td",26)(33,d7a,2,1,"td",26)(34,f7a,
2,1,"td",26)(35,h7a,2,1,"td",26)(36,k7a,2,5,"td",28)(37,n7a,2,1,"td",29)(38,q7a,2,1,"td",29)(39,t7a,2,1,"td",29)(40,w7a,2,1,"td",29)(41,z7a,2,1,"td",26)(42,D7a,2,1,"td",26)(43,F7a,2,1,"td",26)(44,H7a,2,1,"td",26)(45,J7a,2,1,"td",26)(46,L7a,2,1,"td",29)(47,N7a,2,1,"td",26)(48,P7a,2,1,"td",26)(49,R7a,2,1,"td",26)(50,T7a,2,1,"td",26)(51,V7a,2,1,"td",26)(52,X7a,2,1,"td",26)(53,Z7a,2,1,"td",26);G()}a&2&&(a=N(),yf("sidebar-open",a.isIssueSidebarOpen),D("list",(null==a.searchResults?null:a.searchResults.issues)||
eg(60,$7a))("columns",a.columns)("focusedRowIndex",a.focusedRowIndex)("scrollContainer",".bv2-view")("sort",a.sort)("rowLabelRenderer",a.issueDescription),y(),D("forHeaderCell","focused"),y(),D("forHeaderCell","draghandle"),y(),D("forHeaderCell","selected"),y(),D("forHeaderCell","starred"),y(),D("forHeaderCell","position"),y(2),D("forViewCell","focused"),y(),D("forViewCell","draghandle"),y(),D("forViewCell","selected"),y(),D("forViewCell","starred"),y(),D("forViewCell","position"),y(),D("forViewCell",
"issueId"),y(),D("forViewCell","title"),y(),D("forViewCell","priority"),y(),D("forViewCell","severity"),y(),D("forViewCell","status"),y(),D("forViewCell","type"),y(),D("forViewCell","reporter"),y(),D("forViewCell","assignee"),y(),D("forViewCell","verifier"),y(),D("forViewCell","cc"),y(),D("forViewCell","changelist"),y(),D("forViewCell","postmortem"),y(),D("forViewCell","blockingIssueId"),y(),D("forViewCell","blockedByIssueId"),y(),D("forViewCell","duplicateOfIssueId"),y(),D("forViewCell","createdTime"),
y(),D("forViewCell","modifiedTime"),y(),D("forViewCell","resolvedTime"),y(),D("forViewCell","verifiedTime"),y(),D("forViewCell","foundInVersion"),y(),D("forViewCell","targetedToVersion"),y(),D("forViewCell","verifiedInVersion"),y(),D("forViewCell","inProd"),y(),D("forViewCell","archived"),y(),D("forViewCell","componentPath"),y(),D("forViewCell","minSlo"),y(),D("forViewCell","responseSlo"),y(),D("forViewCell","assignmentSlo"),y(),D("forViewCell","closureSlo"),y(),D("forViewCell","deletionTime"),y(),
D("forViewCell","team"),y(),D("forViewCell","estimate"),y(),D("forViewCell","estimateTotalOpen"),y(),D("forViewCell","estimateTotalComplete"),y(),D("forViewCell","accessLevel"),y(),D("forViewCell","descendantCount"),y(),D("forViewCell","openDescendantCount"),y(),D("forViewCell","oneDayViewCount"),y(),D("forViewCell","sevenDayViewCount"),y(),D("forViewCell","thirtyDayViewCount"),y(),D("forViewCell","voteCount"),y(),D("forViewCell","position"))},b8a=function(a){a&1&&I(0,"b-issue-card",95,96);if(a&2){var b=
Q(1);a=N().id;D("onedevIsHovercardReady",b.init)("issueId",a)}},c8a=function(a,b){a&1&&(E(0,"onedev-hovercard",null,92),C(2,b8a,2,2,"b-issue-card",93),G(),E(3,"span",94),R(4),G());if(a&2){a=b.id;var c=Q(1);y(3);D("onedevHovercardTrigger",c);y();$f(a)}},d8a=function(a){if(a&1){var b=u();E(0,"b-app-bar-bulk-edit-menus",10);M("onBulkEdit",function(d){v(b);var e=N();return x(e.bulkEdit(d))})("onQuickBulkEdit",function(d){v(b);var e=N();return x(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){v(b);
var e=N();return x(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){v(b);var d=N();return x(d.bulkMarkIssueRead())});T(1,"async");G()}if(a&2){a=N();var c;D("enableBulkEstimatedEffortOption",null!==(c=V(1,2,a.enableBulkEstimatedEffortOption$))&&void 0!==c?c:!1)("readStatePrompt",UYa(a))}},e8a=function(a){if(a&1){var b=u();E(0,"b-copy-issue-id-button",11);M("onClickCopyIssueIds",function(){v(b);var c=N();return x(WYa(c.copyIssueIdService,Vp(c)))})("onClickCopyIssueShortLinks",function(){v(b);
var c=N();return x(XYa(c.copyIssueIdService,Vp(c)))})("onClickCopyAsIssueSearch",function(){v(b);var c=N();return x(YYa(c.copyIssueIdService,Vp(c)))});G()}a&2&&(a=N(),D("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},f8a=function(a){if(a&1){var b=u();E(0,"div",12)(1,"b-hotlist-picker",13);M("onApply",function(c){v(b);var d=N();return x(d.handleHotlistPickerSave(c))})("onCreate",function(c){v(b);var d=N();return x(d.onCreateHotlist.emit(c))})("onLoad",
function(c){v(b);var d=N();return x(d.onLoadHotlist.emit(c))});G()()}a&2&&(a=N(),y(),D("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},g8a=function(a){if(a&1){var b=u();E(0,"hotlist-add-issue-btn",16);M("issueAddedToHotlist",function(){v(b);var c=N(2);return x(c.refresh())});G()}a&2&&(a=N(2),D("hotlistId",a.currentHotlistId))},h8a=function(a){a&1&&I(0,"hotlist-archive-btn",17);a&2&&(a=N(2),D("hotlistId",a.currentHotlistId))},i8a=function(a){a&1&&(K(0),C(1,g8a,1,1,"hotlist-add-issue-btn",
14)(2,h8a,1,1,"hotlist-archive-btn",15),L());a&2&&(a=N(),y(),D("ngIf",a.enableBulkEditUi),y(),D("ngIf",a.isHotlistAdmin))},j8a=function(a){a&1&&(E(0,"span",21),R(1,"Reporting"),G())},k8a=function(a){if(a&1){var b=u();E(0,"b-button",18);M("onAction",function(){v(b);var c=N();return x(c.openInEstado())});I(1,"b-icon",19);C(2,j8a,2,0,"span",20);G()}a&2&&(a=N(),D("size",a.hasSelectedIssues()?"large":"medium")("format",a.hasSelectedIssues()?"icon":"flat"),y(2),D("ngIf",!a.hasSelectedIssues()))},l8a=function(a){if(a&
1){var b=u();E(0,"b-comment-box",28);M("commentChange",function(c){v(b);var d=N(2);return x(d.comment=c)})("onSubmit",function(){v(b);var c=N(2);return x(aZa(c))});G()}a&2&&(a=N(2),D("comment",a.comment)("showToolbar",!1))},m8a=function(a){if(a&1){var b=u();E(0,"div",29)(1,"b-recaptcha",30);M("onUpdate",function(c){v(b);var d=N(2);return x(d.recaptchaResponse=c)});G()()}},n8a=function(a){a&1&&(E(0,"h1",22),R(1,"Add comment"),G(),E(2,"mat-dialog-content"),C(3,l8a,1,2,"b-comment-box",23),I(4,"b-external-warnings",
24),G(),C(5,m8a,2,0,"div",25),E(6,"mat-dialog-actions")(7,"button",26),R(8," Cancel "),G(),E(9,"button",27),R(10," Save "),G()());a&2&&(a=N(),y(3),D("ngIf",a.comment),y(),D("externalWarnings",a.externalWarnings),y(),D("ngIf",a.enableRecaptcha),y(2),D("mat-dialog-close",!1),y(2),D("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",!0))},o8a=function(a){if(a&1){var b=u();E(0,"div",7)(1,"button",8);M("click",function(){v(b);var c=N();return x(c.onPressSave())});R(2," Save ");
G();E(3,"button",9);M("click",function(){v(b);var c=N();return x(c.onPressRevert())});R(4," Revert changes ");G()()}a&2&&(a=N(),y(),D("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving()||a.isInvalid())("matTooltip",a.isInvalid()?"Invalid form data":a.hasNoChanges()?"No changes":"Save these changes"),y(2),D("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state"))},p8a=function(a){if(a&1){var b=
u();E(0,"div",7)(1,"button",8);M("click",function(){v(b);var d=N();return x(d.save())});R(2," Save ");G();E(3,"button",9);M("click",function(){v(b);var d=N();return x(d.revert())});R(4," Revert changes ");G();I(5,"hotlist-archive-btn",10);T(6,"async");G()}if(a&2){a=N();var c;y();D("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Save these changes");y(2);D("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state");
y(2);D("hotlistId",null!==(c=V(6,5,a.id$))&&void 0!==c?c:void 0)}},q8a=function(a,b){a&1&&(K(0),R(1),L());a&2&&(a=b.$implicit,y(),S(" ",a.name," "))},r8a=function(a){a&1&&(E(0,"strong",4),R(1,"(archived)"),G())},s8a=function(a){a&1&&I(0,"b-spinner")},t8a=function(a){a&1&&(I(0,"hotlist-add-issue-btn",5),T(1,"async"));if(a&2){a=N();var b;D("hotlistId",null!==(b=V(1,1,a.id$))&&void 0!==b?b:void 0)}},u8a=function(a){a&1&&(E(0,"p",8),R(1," This hotlist cannot be edited because you are not an administrator of it. "),
G())},v8a=function(a){a&1&&(K(0),I(1,"b-edit-hotlist-toolbar",1),E(2,"div",2),I(3,"b-edit-hotlist-header",1),E(4,"mat-tab-group",3)(5,"mat-tab",4),I(6,"b-edit-hotlist-basic",5),T(7,"async"),G(),E(8,"mat-tab",6),I(9,"b-edit-hotlist-acl",5),T(10,"async"),G()(),C(11,u8a,2,0,"p",7),T(12,"async"),G(),L());a&2&&(a=N(),y(),D("hotlistId",a.id),y(2),D("hotlistId",a.id),y(),D("selectedIndex",a.tabIndex),y(2),D("hotlistId",a.id)("isReadOnly",!1===V(7,8,a.isAdmin$)),y(3),D("hotlistId",a.id)("isReadOnly",!1===
V(10,10,a.isAdmin$)),y(2),D("ngIf",!1===V(12,12,a.isAdmin$)))},w8a=function(a,b){a&1&&(K(0),I(1,"empty-toolbar"),E(2,"div",9)(3,"h2"),R(4,"Error"),G(),E(5,"p"),R(6),G()(),L());a&2&&(a=b.$implicit,y(6),$f(a))},x8a=function(a){a&1&&(E(0,"b-callout",1)(1,"b-callout-body"),R(2),G()());a&2&&(a=N(),y(2),$f(a.error))},y8a=function(a){a&1&&(K(0),R(1,", "),L())},z8a=function(a,b){a&1&&(K(0),R(1),C(2,y8a,2,0,"ng-container",14),L());if(a&2){a=b.$implicit;b=b.last;var c=N(2);y();S(" ",c.convertUserToString(a),
" ");y();D("ngIf",!b)}},A8a=function(a,b){if(a&1){var c=u();E(0,"tr",7);M("click",function(){var e=v(c).$implicit,f=N();return x(f.editHotlist(e))})("focus",function(){var e=v(c).index,f=N();return x(f.setFocusOnIndex(e))});I(1,"td",2);E(2,"td",8)(3,"a",9);M("click",function(e){return e.stopPropagation()});R(4);G()();E(5,"td",10);R(6);G();E(7,"td",11);C(8,z8a,3,2,"ng-container",12);G();E(9,"td",13);R(10);G()()}if(a&2){a=b.$implicit;b=b.index;var d=N();yf("grid-focus",d.isFocused(b));pf("aria-selected",
d.isFocused(b))("aria-label",d.renderRowLabel(b));y(3);D("href",d.paths.editHotlist(a.hotlistId),Pd);y();S(" ",a.name," ");y(2);S(" ",a.description," ");y(2);D("ngForOf",a.adminUsers);y(2);S(" ",a.hotlistId," ")}},B8a=function(a){if(a&1){var b=u();E(0,"button",9);M("click",function(){v(b);var c=N(2);return x(c.appEvents.dashboardPanels.moveToTop.next(c.panelId))});R(1," Move to top ");G()}},C8a=function(a){if(a&1){var b=u();E(0,"button",10);M("click",function(){v(b);var c=N(2);return x(c.appEvents.dashboardPanels.moveUp.next(c.panelId))});
R(1," Move up ");G()}},D8a=function(a){if(a&1){var b=u();E(0,"button",11);M("click",function(){v(b);var c=N(2);return x(c.appEvents.dashboardPanels.moveDown.next(c.panelId))});R(1," Move down ");G()}},E8a=function(a){if(a&1){var b=u();E(0,"button",12);M("click",function(){v(b);var c=N(2);return x(c.appEvents.dashboardPanels.moveToBottom.next(c.panelId))});R(1," Move to bottom ");G()}},F8a=function(a){if(a&1){var b=u();C(0,B8a,2,0,"button",4)(1,C8a,2,0,"button",5)(2,D8a,2,0,"button",6)(3,E8a,2,0,"button",
7);E(4,"button",8);M("click",function(){v(b);var c=N();return x(c.removePanel())});R(5," Remove ");G()}a&2&&(a=N(),D("ngIf",!a.first),y(),D("ngIf",!a.first),y(),D("ngIf",!a.last),y(),D("ngIf",!a.last))},G8a=function(a){a&1&&(qd(),rd(),K(0),R(1,"Insights"),L())},H8a=function(a){if(a&1){var b=u();E(0,"b-insights-graph-menu",2);M("openSidebar",function(d){v(b);var e=N(2);return x(e.openSidebar(d.panel))});G()}if(a&2){a=N().ngIf;var c=N();D("availablePanels",a)("iconOnly",c.iconOnly)("buttonClassname",
c.buttonClassname)}},I8a=function(a){a&1&&(K(0),C(1,H8a,1,3,"b-insights-graph-menu",1),T(2,"async"),L());a&2&&(a=N(),y(),D("ngIf",V(2,1,a.shouldShowInsightsGraphMenu$)))},J8a=function(a){a&1&&I(0,"edit-issue-metadata",5);a&2&&(a=N(),D("issueId",a.issueId))},K8a=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N(),pf("title",a.getValue()),y(),S(" ",a.getValue(),"\n"))},L8a=function(a){a&1&&I(0,"b-custom-field-value-display",2);a&2&&(a=N(),D("customFieldValue",a.getCustomFieldValue()))},M8a=function(a){a&
1&&(E(0,"button",5,6),I(2,"mat-icon",7),G());if(a&2){a=N();var b=Q(2);D("matTooltip",a.buttonLabel)("matMenuTriggerFor",b);pf("aria-label",a.buttonLabel);y(2);D("svgIcon",a.buttonIcon)}},N8a=function(a){a&1&&(E(0,"div",8),R(1),G());a&2&&(a=N(),y(),$f(a.header))},O8a=function(a){a&1&&I(0,"mat-icon",7);a&2&&(a=N(2).$implicit,D("svgIcon",a.icon))},P8a=function(a){a&1&&(E(0,"span",14),R(1),G());a&2&&(a=N(2).$implicit,y(),$f(a.hintText))},Q8a=function(a){a&1&&I(0,"mat-icon",7);a&2&&(a=N(2).$implicit,D("svgIcon",
a.icon))},R8a=function(a){a&1&&(E(0,"span",14),R(1),G());a&2&&(a=N(2).$implicit,y(),$f(a.hintText))},S8a=function(a){if(a&1){var b=u();E(0,"button",17);M("click",function(d){v(b);var e=N().$implicit,f=N(3);return x(f.onAction(d,e))})("mouseup",function(d){v(b);var e=N().$implicit,f=N(3);return x(f.onAction(d,e))});C(1,Q8a,1,1,"mat-icon",11);R(2);C(3,R8a,2,1,"span",12);G()}if(a&2){a=N().$implicit;var c=N(2).$implicit;D("disabled",a.disabled)("ngClass",c.className);pf("title",a.title);y();D("ngIf",
a.icon);y();S(" ",a.label," ");y();D("ngIf",a.hintText)}},T8a=function(a){if(a&1){var b=u();E(0,"button",18);M("click",function(d){v(b);var e=N().$implicit,f=N(3);return x(f.onAction(d,e))})("mouseup",function(d){v(b);var e=N().$implicit,f=N(3);return x(f.onAction(d,e))});E(1,"span",19);I(2,"mat-icon",20);G();R(3);G()}if(a&2){a=N().$implicit;var c=N(2).$implicit;yf("b-menu-item-checked",a.selected);D("disabled",a.disabled)("ngClass",c.className);pf("title",a.title);y(3);S(" ",a.label," ")}},U8a=function(a,
b){a&1&&(K(0),C(1,S8a,4,6,"button",15)(2,T8a,4,6,"button",16),L());a&2&&(a=b.$implicit,y(),D("ngIf","action"===a.type),y(),D("ngIf","select"===a.type))},V8a=function(a){a&1&&(K(0),E(1,"button",10),C(2,O8a,1,1,"mat-icon",11),R(3),C(4,P8a,2,1,"span",12),G(),E(5,"mat-menu",null,13),C(7,U8a,3,2,"ng-container",4),G(),L());if(a&2){var b=Q(6);a=N().$implicit;var c=N();y();D("matMenuTriggerFor",b);y();D("ngIf",a.icon);y();S(" ",a.label," ");y();D("ngIf",a.hintText);y(3);D("ngForOf",a.items)("ngForTrackBy",
c.trackByIndex)}},W8a=function(a){a&1&&I(0,"mat-icon",7);a&2&&(a=N(3).$implicit,D("svgIcon",a.icon))},X8a=function(a){a&1&&(E(0,"span",14),R(1),G());a&2&&(a=N(3).$implicit,y(),$f(a.hintText))},Y8a=function(a){if(a&1){var b=u();E(0,"button",17);M("click",function(c){v(b);var d=N(2).$implicit,e=N();return x(e.onAction(c,d))})("mouseup",function(c){v(b);var d=N(2).$implicit,e=N();return x(e.onAction(c,d))});C(1,W8a,1,1,"mat-icon",11);R(2);C(3,X8a,2,1,"span",12);G()}a&2&&(a=N(2).$implicit,D("disabled",
a.disabled)("ngClass",a.className),pf("title",a.title),y(),D("ngIf",a.icon),y(),S(" ",a.label," "),y(),D("ngIf",a.hintText))},Z8a=function(a){if(a&1){var b=u();E(0,"button",18);M("click",function(c){v(b);var d=N(2).$implicit,e=N();return x(e.onAction(c,d))})("mouseup",function(c){v(b);var d=N(2).$implicit,e=N();return x(e.onAction(c,d))});E(1,"span",19);I(2,"mat-icon",20);G();R(3);G()}a&2&&(a=N(2).$implicit,yf("b-menu-item-checked",a.selected),D("disabled",a.disabled)("ngClass",a.className),pf("title",
a.title)("aria-label",a.label+" results per page"),y(3),S(" ",a.label," "))},$8a=function(a){a&1&&(K(0),C(1,Y8a,4,6,"button",15)(2,Z8a,4,7,"button",16),L());a&2&&(a=N().$implicit,y(),D("ngIf","action"===a.type),y(),D("ngIf","select"===a.type))},a9a=function(a,b){a&1&&(K(0),C(1,V8a,8,6,"ng-container",9)(2,$8a,3,2,"ng-container",9),L());a&2&&(a=b.$implicit,y(),D("ngIf","submenu"===a.type),y(),D("ngIf","submenu"!==a.type))},b9a=function(a){a&1&&I(0,"b-actions-menu",7);a&2&&(a=N(),D("menuItems",a.menuItems))},
c9a=function(a){a&1&&(E(0,"span",8)(1,"strong"),R(2),G(),R(3,"\u00a0of\u00a0"),E(4,"strong"),R(5),G()());a&2&&(a=N(),y(2),ag("",a.searchResults.startIndex,"\u00a0-\u00a0",a.searchResults.endIndex,""),y(3),$f(a.searchResults.totalText))},d9a=function(a){a&1&&(E(0,"div"),R(1," Hotlist not found. "),G())},e9a=function(a){a&1&&(E(0,"div"),R(1," Loading details... "),G())},f9a=function(a){a&1&&I(0,"b-panel-controls",11);a&2&&(a=N(2),D("panelId",a.panel.panelId))},g9a=function(a){a&1&&(E(0,"span",12),R(1,
" \u00a0(changed) "),G())},h9a=function(a){a&1&&(E(0,"div"),C(1,f9a,1,1,"b-panel-controls",6),E(2,"span",7),R(3," Hotlist: "),E(4,"a",8)(5,"span",9),R(6),G()()(),C(7,g9a,2,0,"span",10),G());a&2&&(a=N(),y(),D("ngIf",a.isDashboardEditable),y(3),D("href",a.paths.viewHotlist(a.hotlistId),Pd),y(),Of("matTooltip",a.resource.description),y(),$f(a.resource.name),y(),D("ngIf",a.hasParamChanges()))},i9a=function(a){if(a&1){var b=u();E(0,"div",13)(1,"button",14);M("click",function(){v(b);var c=N();return x(c.save())});
R(2,"Save ");G();E(3,"button",15);M("click",function(){v(b);var c=N();return x(c.discardChanges())});R(4," Discard changes ");G()()}},j9a=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N(3),y(),S(" Searching for ",a.searchParams.query," ..."))},k9a=function(a){a&1&&(E(0,"div",19),I(1,"b-spinner",20),C(2,j9a,2,1,"span",3),G());a&2&&(a=N(2),y(),D("large",!1),y(),D("ngIf",a.searchParams&&(null==a.searchParams?null:a.searchParams.query)))},l9a=function(a){a&1&&(E(0,"div",21),R(1," No issues in hotlist. "),
G())},n9a=function(a){if(a&1){var b=u();E(0,"div",22)(1,"b-issues-grid",23);M("init",function(c){v(b);var d=N(2);return x(m9a(d,c))})("focusedRowIndexChange",function(c){v(b);var d=N(2);return x(d.focusedRowIndex=c)})("columnsChange",function(c){v(b);var d=N(2);return x(d.issueColumns=c)})("sortChange",function(c){v(b);var d=N(2);return x(d.setSort(c.field,c.direction))})("onRowDragDrop",function(c){v(b);var d=N(2);return x(d.repositionIssue(c.srcIndex,c.destIndex))})("rowClick",function(c){v(b);
var d=N(2);return x(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=N(2);return x(c.goToPage(c.page+1))})("onPrevPage",function(){v(b);var c=N(2);return x(c.goToPage(c.page-1))});G()()}a&2&&(a=N(2),y(),D("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},o9a=function(a){a&1&&(E(0,"div"),C(1,k9a,3,2,"div",16)(2,l9a,2,0,"div",17)(3,n9a,2,5,"div",18),G());a&2&&(a=N(),
y(),D("ngIf",a.isLoading),y(),D("ngIf",!a.isLoading&&!(null==a.searchResults?0:null==a.searchResults.issues?0:a.searchResults.issues.length)),y(),D("ngIf",!a.isLoading&&(null==a.searchResults?null:null==a.searchResults.issues?null:a.searchResults.issues.length)))},p9a=function(a){a&1&&(E(0,"div"),R(1," Saved search not found. "),G())},q9a=function(a){a&1&&(E(0,"div"),R(1," Loading details... "),G())},r9a=function(a){a&1&&I(0,"b-panel-controls",11);a&2&&(a=N(2),D("panelId",a.panel.panelId))},s9a=function(a){a&
1&&(E(0,"span",12),R(1," \u00a0(changed) "),G())},t9a=function(a){a&1&&(E(0,"div",6),C(1,r9a,1,1,"b-panel-controls",7),E(2,"span",6),R(3," Saved search: "),E(4,"a",8)(5,"span",9),R(6),G()()(),C(7,s9a,2,0,"span",10),G());a&2&&(a=N(),y(),D("ngIf",a.isDashboardEditable),y(3),D("href",a.paths.viewSavedSearch(a.savedSearchId),Pd),y(),Of("matTooltip",a.resource.description),y(),$f(a.resource.name),y(),D("ngIf",a.hasParamChanges()))},u9a=function(a,b){a&1&&(E(0,"span"),R(1),G());a&2&&(a=b.ngIf,y(),S("Searching for ",
a,"..."))},v9a=function(a){a&1&&(E(0,"div",16),I(1,"b-spinner",17),C(2,u9a,2,1,"span",3),G());a&2&&(a=N(2),y(),D("large",!1),y(),D("ngIf",null==a.searchParams?null:a.searchParams.query))},w9a=function(a){a&1&&(E(0,"div",18),R(1," No issues in saved search. "),G())},x9a=function(a){if(a&1){var b=u();E(0,"div",19)(1,"b-issues-grid",20);M("init",function(c){v(b);var d=N(2);return x(m9a(d,c))})("focusedRowIndexChange",function(c){v(b);var d=N(2);return x(d.focusedRowIndex=c)})("columnsChange",function(c){v(b);
var d=N(2);return x(d.columnsChange(c))})("sortChange",function(c){v(b);var d=N(2);return x(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=N(2);return x(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=N(2);return x(c.goToPage(c.page+1))})("onPrevPage",function(){v(b);var c=N(2);return x(c.goToPage(c.page-1))});G()()}a&2&&(a=N(2),y(),D("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",
a.getSort()))},y9a=function(a){a&1&&(E(0,"div"),C(1,v9a,3,2,"div",13)(2,w9a,2,0,"div",14)(3,x9a,2,5,"div",15),G());a&2&&(a=N(),y(),D("ngIf",a.isLoading),y(),D("ngIf",!a.isLoading&&a.searchResults&&0===a.searchResults.issues.length),y(),D("ngIf",!a.isLoading&&a.searchResults&&0!==a.searchResults.issues.length))},z9a=function(a,b){a&1&&(E(0,"span",3)(1,"a",4),R(2),G()());a&2&&(a=b.$implicit,y(),Nf("routerLink","/teams/",a.id,"/edit"),D("preserveFragment",!0),y(),$f(a.name))},A9a=function(a){a&1&&(E(0,
"p")(1,"span",6),R(2,"NOTE:"),G(),R(3),E(4,"a",7),R(5,"Learn more"),G()());a&2&&(a=N(),y(3),S(" ",a.data.noteText," "),y(),D("href",a.getDisablingFieldsHelpLink(),Pd))},B9a=function(a){a&1&&(K(0),I(1,"span",26)(2,"b-icon",27),L());a&2&&(a=N(),y(),D("innerHTML",a.menuLabel,Od))},C9a=function(a){a&1&&(E(0,"div",28),R(1," This includes emails about major updates and: "),E(2,"ul",29)(3,"li"),R(4,"All title, hotlist, and status changes."),G(),E(5,"li"),R(6,"Blocking, Blocked By, or Duplicate changes."),
G(),E(7,"li"),R(8,"Changes to Reporter, Verifier, and CCs."),G(),E(9,"li"),R(10,"Changes to Type, Found In, Targeted To, Verified In, and In Prod. "),G(),E(11,"li"),R(12,"Changes to custom fields marked as minor."),G()()())},D9a=function(a){a&1&&(E(0,"div",30),R(1," This includes emails about: "),E(2,"ul",29)(3,"li"),R(4,"New comments."),G(),E(5,"li"),R(6,"New status updates."),G(),E(7,"li"),R(8,"Priority or Severity changes."),G(),E(9,"li"),R(10,"Assignee changes."),G(),E(11,"li"),R(12,"Component changes."),
G(),E(13,"li"),R(14,"Issue closure or reopening."),G(),E(15,"li"),R(16,"Changes to custom fields marked as major."),G()()())},E9a=function(a,b){a&1&&(E(0,"mat-option",6),R(1),G());a&2&&(a=b.$implicit,D("value",a),y(),S(" ",a.name," "))},F9a=function(a){a&1&&(E(0,"span",12),R(1," (must be between 30 days and 20 years) "),G())},H9a=function(a){if(a&1){var b=u();E(0,"div",13)(1,"b-duration-picker",14);M("durationDaysChange",function(c){v(b);var d=N();d.model.retentionPeriodDays=null!==c&&void 0!==c?
c:null;d.modelChange.emit(d.model);Cq(d);return x()});G();E(2,"div",15);R(3);G()()}a&2&&(a=N(),y(),D("disabled",a.issueRetentionDisabled)("durationDays",a.model.retentionPeriodDays),y(2),S(" Issues will be marked for deletion when they have not been modified for ",G9a(a.model.retentionPeriodDays),". "))},I9a=function(a){a&1&&(E(0,"div",16)(1,"p"),R(2,"Please note this extended retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),E(3,"b"),R(4,"one or more"),
G(),R(5," of the following is true:"),G(),E(6,"ol")(7,"li"),R(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),G(),E(9,"li"),R(10,"You have a process in place to manually delete this data within an approved period of time."),G(),E(11,"li"),R(12,"Legal and Privacy have approved this non-standard retention period."),G()()())},J9a=function(a){a&1&&(E(0,"div",17)(1,"p"),R(2,"Please note indefinite retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),
E(3,"b"),R(4,"one or more"),G(),R(5," of the following is true:"),G(),E(6,"ol")(7,"li"),R(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),G(),E(9,"li"),R(10,"You have a process in place to manually delete this data within an approved period of time."),G(),E(11,"li"),R(12,"Legal and Privacy have approved this non-standard retention period."),G()()())},K9a=function(a){a&1&&(E(0,"span",12),R(1," (Issue Retention is shorter than default Restricted Retention) "),
G())},M9a=function(a){a&1&&(E(0,"span",12),R(1),G());a&2&&(a=N(),y(),S(" ",L9a(a)," "))},N9a=function(a){a&1&&(E(0,"div",23)(1,"p"),R(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."),G()())},P9a=function(a){if(a&1){var b=u();E(0,"div",13)(1,"div")(2,"span",
18);R(3,"Restricted retention:");G();E(4,"b-duration-picker",19);M("durationDaysChange",function(c){v(b);var d=N();d.model.piiRetentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Cq(d);return x()});G()();E(5,"div",20)(6,"p");R(7);G()();E(8,"div")(9,"span",18);R(10,"Restricted+ retention:");G();E(11,"b-duration-picker",21);M("durationDaysChange",function(c){v(b);var d=N();d.model.spiiRetentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Cq(d);return x()});
G()();E(12,"div",20)(13,"p");R(14);G()();C(15,N9a,3,0,"div",22);G()}a&2&&(a=N(),y(4),D("disabled",!Dq(a))("durationDays",a.model.piiRetentionPeriodDays),y(3),S(" Restricted comments and attachments will be marked for deletion when the containing issue has not been modified for ",G9a(a.model.piiRetentionPeriodDays),". "),y(4),D("disabled",!Dq(a))("durationDays",a.model.spiiRetentionPeriodDays),y(3),S(" Restricted+ comments and attachments will be marked for deletion when the containing issue has not been modified for ",
G9a(a.model.spiiRetentionPeriodDays),". "),y(),D("ngIf",a.model.piiRetentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&O9a(a)))},Q9a=function(a){a&1&&(E(0,"div",24)(1,"p"),R(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."),G()())},R9a=function(a,b,
c){a=Eq(a.slice(b),c,"[()|]","[()|,\\s]");a.idx+=b;return a},Eq=function(a,b,c,d){var e=S9a(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}},S9a=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},Fq=function(a,b){return(void 0===b?0:b)?-1<a.search(/^\d+\+?$/):-1<a.search(/^\d+$/)},T9a=function(a){return"-"===a.charAt(0)?{negated:!0,token:a.slice(1)}:{negated:!1,
token:a}},Gq=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):ia(q,e):!1});b=b.idx;for(var f=b+e.length,h=l(a),k=h.next();!k.done;k=h.next())k=k.value.completionCfg,k.startIdx=b,k.endIdx=f,k.matchingString=e;return a},Hq=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}}},W9a=function(a,b){if(a&1){var c=u();E(0,"div",9)(1,"div",10);M("click",function(d){var e=v(c).$implicit,f=N();e=e.key;if(d=void 0===d?null:d)d.preventDefault(),d.stopPropagation();d=f.options.propertyValues[e];d.value=!d.value;U9a(f);V9a(f);f.optionsChange.emit(f.options);return x()});E(2,"mat-checkbox",11);M("change",function(d){var e=v(c).$implicit,f=N();e.value.value=d.checked;U9a(f);V9a(f);f.optionsChange.emit(f.options);return x()})("click",function(d){return d.stopPropagation()});
R(3);G()()()}a&2&&(a=b.$implicit,pf("aria-checked",a.value.value),y(2),D("checked",a.value.value),y(),S(" ",a.value.displayString," "))},X9a=function(a){a&1&&(E(0,"div",12),R(1),G());a&2&&(a=N(),y(),S(" ",a.errorString," "))},Z9a=function(a){if(a&1){var b=u();E(0,"span",4)(1,"input",5);M("ngModelChange",function(c){v(b);var d=N(2);return x(d.businessDayString=c)})("ngModelChange",function(){v(b);var c=N(2);return x(Y9a(c))});G();E(2,"span",8);R(3,"days,");G()()}a&2&&(a=N(2),y(),yf("ng-invalid",!!a.errorString),
D("ngModel",a.businessDayString))},a$a=function(a,b){a&1&&(E(0,"mat-option",9),R(1),G());a&2&&(a=b.$implicit,b=N(2),D("value",a),y(),S(" ",$9a(b,a)," "))},f$a=function(a){if(a&1){var b=u();E(0,"span",2);C(1,Z9a,4,3,"span",3);E(2,"span",4)(3,"input",5);M("ngModelChange",function(c){v(b);var d=N();return x(d.intervalString=c)})("ngModelChange",function(){v(b);var c=N();return x(Y9a(c))});G();E(4,"mat-select",6);M("ngModelChange",function(c){v(b);var d=N();return x(d.intervalUnit=c)})("selectionChange",
function(){v(b);var c=N();b$a(c);c$a(c);return x()});C(5,a$a,2,2,"mat-option",7);G()()()}a&2&&(a=N(),y(),D("ngIf",d$a(a)),y(2),yf("invalid",!!a.errorString),D("ngModel",a.intervalString),y(),D("ngModel",a.intervalUnit),y(),D("ngForOf",d$a(a)?[Iq,Jq]:[Iq,Jq,e$a]))},g$a=function(a){a&1&&(E(0,"span",13),R(1),G());a&2&&(a=N(2),y(),ag(" ",a.objectiveBusinessDays," day",1!=a.objectiveBusinessDays?"s":""," "))},h$a=function(a){a&1&&(E(0,"span"),R(1,", "),G())},i$a=function(a){a&1&&(E(0,"span"),C(1,h$a,2,
0,"span",12),E(2,"span"),R(3),G()());a&2&&(a=N(2),y(),D("ngIf",a.objectiveBusinessDays),y(2),ag("",a.intervalString," ",$9a(a,a.intervalUnit),""))},j$a=function(a){a&1&&(E(0,"span",10),C(1,g$a,2,2,"span",11)(2,i$a,4,3,"span",12),G());a&2&&(a=N(),y(),D("ngIf",a.objectiveBusinessDays),y(),D("ngIf",a.intervalString&&"0"!=a.intervalString))},l$a=function(a){if(a&1){var b=u();E(0,"b-icon",22);M("click",function(){v(b);var c=N(2);return x(k$a(c,0))});G()}a&2&&D("name","add")("size","small")},n$a=function(a){if(a&
1){var b=u();E(0,"span",17)(1,"span",18)(2,"span",19);C(3,l$a,1,2,"b-icon",20);G();E(4,"span",19)(5,"b-icon",21);M("click",function(c){v(b);var d=N();return x(m$a(d,c))});G()()()()}a&2&&(a=N(),y(3),D("ngIf",a.canPerformActions),y(2),D("name","delete")("size","small"))},o$a=function(a){a&1&&I(0,"td",42)},p$a=function(a){if(a&1){var b=u();E(0,"td",43)(1,"slo-element-property-picker",44);M("optionsChange",function(c){v(b);var d=N().$implicit;return x(d.typePickerValues=c)});G()()}a&2&&(a=N().$implicit,
y(),D("selectAllText","Any type")("validator",a.validateTypePicker)("options",a.typePickerValues))},q$a=function(a){if(a&1){var b=u();E(0,"td",45)(1,"slo-element-property-picker",46);M("optionsChange",function(c){v(b);var d=N().$implicit;return x(d.priorityPickerValues=c)});G()()}a&2&&(a=N().$implicit,y(),D("selectAllText","Any priority")("validator",a.validatePriorityPicker)("options",a.priorityPickerValues))},r$a=function(a){if(a&1){var b=u();E(0,"td",47)(1,"slo-element-property-picker",48);M("optionsChange",
function(d){v(b);var e=N().$implicit;return x(e.postmortemPickerValues=d)});G()()}if(a&2){a=N().$implicit;var c=N(2);y();D("selectAllText",c.postmortemAllSummaryValue)("validator",a.validatePostmortemPicker)("options",a.postmortemPickerValues)}},t$a=function(a,b){a&1&&(E(0,"mat-option",53),R(1),G());a&2&&(a=b.$implicit,N(4),D("value",a),y(),S(" ",s$a(a)," "))},u$a=function(a){if(a&1){var b=u();E(0,"td",49)(1,"mat-form-field",50)(2,"mat-select",51);M("ngModelChange",function(d){v(b);var e=N().$implicit;
return x(e.selectedMetric=d)});C(3,t$a,2,2,"mat-option",52);G()()()}if(a&2){a=N().$implicit;var c=N(2);y(2);D("ngModel",a.selectedMetric)("customValidators",a.metricValidators);y();D("ngForOf",c.metricChoices)}},v$a=function(a){if(a&1){var b=u();E(0,"td",54)(1,"slo-objective-selector",55);M("objectiveDurationChange",function(c){v(b);var d=N().$implicit;return x(d.selectedObjectiveDuration=c)})("objectiveBusinessDaysChange",function(c){v(b);var d=N().$implicit;return x(d.selectedObjectiveBusinessDays=
c)});G()()}a&2&&(a=N().$implicit,y(),D("dayType",a.selectedDayType)("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays)("validator",a.validateObjective)("isDisabled",!1))},x$a=function(a,b){a&1&&(E(0,"mat-option",53),R(1),G());a&2&&(a=b.$implicit,N(4),D("value",a),y(),S(" ",w$a.get(a||"CALENDAR")," "))},y$a=function(a){if(a&1){var b=u();E(0,"td",56)(1,"mat-form-field",57)(2,"mat-select",58);M("ngModelChange",function(d){v(b);var e=N().$implicit;
return x(e.selectedDayType=d)})("selectionChange",function(){v(b);var d=N().$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 x()});C(3,x$a,2,2,"mat-option",52);G()()()}if(a&2){a=N().$implicit;
var c=N(2);y(2);D("ngModel",a.selectedDayType);y();D("ngForOf",c.dayTypes)}},C$a=function(a){if(a&1){var b=u();E(0,"td",59)(1,"span",18)(2,"span",19)(3,"b-icon",60);M("click",function(){v(b);var c=N(3);if(c.openRow)if(c.openRow.isValid())z$a(c.openRow.typePickerValues)&&z$a(c.openRow.priorityPickerValues)&&z$a(c.openRow.postmortemPickerValues)?c.confirmationDialogService.open({title:"SLO validation error",content:gh("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}):A$a(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:gh('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 x()});G()();E(4,"span",19)(5,"b-icon",61);M("click",function(){v(b);var c=N().$implicit,d=N(2);return x(B$a(d,c))});G()()()()}a&2&&(y(3),D("name","done")("size","small"),y(2),D("name","delete")("size","small"))},D$a=function(a){a&1&&I(0,"td",62)},E$a=function(a){a&1&&(E(0,"div"),R(1),G());a&2&&(a=N(2).$implicit,y(),S("ERROR: ",a.parseResult.error,""))},F$a=function(a,b){a&1&&(E(0,"span",68)(1,"span",69),R(2),G()());a&2&&(a=b.$implicit,y(2),$f(a))},H$a=function(a){a&1&&
(E(0,"span",66),C(1,F$a,3,1,"span",67),G());if(a&2){a=N(2).$implicit;y();if(0===a.parseResult.types.length)a=["Any"];else{for(var b=[],c=l(a.controllerReference.sloParseService.enumTypeToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.types.includes(d)&&b.push(G$a(a.controllerReference,d));a=b}D("ngForOf",a)}},I$a=function(a){a&1&&(E(0,"td",63),C(1,E$a,2,1,"div",64)(2,H$a,2,1,"span",65),G());a&2&&(a=N().$implicit,y(),D("ngIf",a.parseResult.error),y(),D("ngIf",!a.parseResult.error))},
J$a=function(a){a&1&&(E(0,"div"),R(1),G());a&2&&(a=N(2).$implicit,y(),S("ERROR: ",a.parseResult.error,""))},K$a=function(a,b){a&1&&(E(0,"span",68)(1,"span",69),R(2),G()());a&2&&(a=b.$implicit,y(2),$f(a))},M$a=function(a){a&1&&(E(0,"span",66),C(1,K$a,3,1,"span",67),G());if(a&2){a=N(2).$implicit;y();if(0===a.parseResult.priorities.length)a=["Any"];else{for(var b=[],c=l(a.controllerReference.sloParseService.enumPriorityToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.priorities.includes(d)&&
b.push(L$a(a.controllerReference,d));a=b}D("ngForOf",a)}},N$a=function(a){a&1&&(E(0,"td",70),C(1,J$a,2,1,"div",64)(2,M$a,2,1,"span",65),G());a&2&&(a=N().$implicit,y(),D("ngIf",a.parseResult.error),y(),D("ngIf",!a.parseResult.error))},O$a=function(a){a&1&&(E(0,"div"),R(1),G());a&2&&(a=N(2).$implicit,y(),S("ERROR: ",a.parseResult.error,""))},P$a=function(a,b){a&1&&(E(0,"span",68)(1,"span",69),R(2),G()());a&2&&(a=b.$implicit,y(2),$f(a))},Q$a=function(a){a&1&&(E(0,"span",66),C(1,P$a,3,1,"span",67),G());
if(a&2){a=N(2).$implicit;y();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])];D("ngForOf",a)}},R$a=function(a){a&1&&(E(0,"td",71),C(1,O$a,2,1,"div",64)(2,Q$a,2,1,"span",65),G());a&2&&(a=N().$implicit,y(),D("ngIf",a.parseResult.error),y(),D("ngIf",!a.parseResult.error))},S$a=function(a){a&1&&(E(0,"td",72),R(1),G());a&2&&(a=N().$implicit,N(2),y(),
S(" ",s$a(a.sloElement.metric)," "))},T$a=function(a){if(a&1){var b=u();E(0,"td",73)(1,"slo-objective-selector",74);M("objectiveDurationChange",function(c){v(b);var d=N().$implicit;return x(d.selectedObjectiveDuration=c)})("objectiveBusinessDaysChange",function(c){v(b);var d=N().$implicit;return x(d.selectedObjectiveBusinessDays=c)});G()()}a&2&&(a=N().$implicit,y(),D("dayType",a.selectedDayType)("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays)("isDisabled",
!a.isEditingInternal))},U$a=function(a){a&1&&(E(0,"td",75),R(1),G());a&2&&(a=N().$implicit,N(2),y(),S(" ",w$a.get(a.sloElement.dayType||"CALENDAR")," "))},W$a=function(a){if(a&1){var b=u();E(0,"b-icon",85);M("click",function(c){v(b);var d=N(2).$implicit,e=N(2);return x(V$a(e,d,c))});G()}a&2&&D("name","edit")("size","small")},X$a=function(a){a&1&&I(0,"b-icon",86);if(a&2){N();var b=Q(8);D("name","more-settings-vertical")("size","small")("matMenuTriggerFor",b)}},Z$a=function(a){if(a&1){var b=u();E(0,
"button",87);M("click",function(){v(b);var c=N(2).$implicit,d=N(2);return x(Y$a(d,c,1))});R(1," Move row down ");G()}},$$a=function(a){if(a&1){var b=u();E(0,"button",88);M("click",function(){v(b);var c=N(2).$implicit,d=N(2);return x(Y$a(d,c,-1))});R(1," Move row up ");G()}},bab=function(a){if(a&1){var b=u();E(0,"td",76)(1,"span",18)(2,"span",19);C(3,W$a,1,2,"b-icon",77);G();E(4,"span",19)(5,"span");C(6,X$a,1,3,"b-icon",78);G();E(7,"mat-menu",null,79);C(9,Z$a,2,0,"button",80)(10,$$a,2,0,"button",81);
E(11,"button",82);M("click",function(){v(b);var d=N().$implicit,e=N(2);k$a(e,e.collection.indexOf(d)+1);return x()});R(12," Add row below ");G();E(13,"button",83);M("click",function(){v(b);var d=N().$implicit,e=N(2);k$a(e,e.collection.indexOf(d));return x()});R(14," Add row above ");G();E(15,"button",84);M("click",function(){v(b);var d=N().$implicit,e=N(2);return x(B$a(e,d))});R(16," Remove ");G()()()()()}if(a&2){a=N().$implicit;var c=N(2);y(3);D("ngIf",a.canEdit);y(3);D("ngIf",a.canEdit);y(3);D("ngIf",
aab(c,a,1).valid);y();D("ngIf",aab(c,a,-1).valid)}},cab=function(a,b){a&1&&(E(0,"tr",25),C(1,o$a,1,0,"td",26)(2,p$a,2,3,"td",27)(3,q$a,2,3,"td",28)(4,r$a,2,3,"td",29)(5,u$a,4,3,"td",30)(6,v$a,2,5,"td",31)(7,y$a,4,2,"td",32)(8,C$a,6,4,"td",33)(9,D$a,1,0,"td",34)(10,I$a,3,2,"td",35)(11,N$a,3,2,"td",36)(12,R$a,3,2,"td",37)(13,S$a,2,1,"td",38)(14,T$a,2,4,"td",39)(15,U$a,2,1,"td",40)(16,bab,17,4,"td",41),G());a&2&&(a=b.$implicit,b=N(2),yf("draggable",!b.isDisabled&&null==b.openRow),y(),D("ngIf",a.isEditingInternal),
y(),D("ngIf",a.isEditingInternal),y(),D("ngIf",a.isEditingInternal),y(),D("ngIf",a.isEditingInternal),y(),D("ngIf",a.isEditingInternal),y(),D("ngIf",a.isEditingInternal),y(),D("ngIf",a.isEditingInternal),y(),D("ngIf",a.isEditingInternal),y(),D("ngIf",!a.isEditingInternal),y(),D("ngIf",!a.isEditingInternal),y(),D("ngIf",!a.isEditingInternal),y(),D("ngIf",!a.isEditingInternal),y(),D("ngIf",!a.isEditingInternal),y(),D("ngIf",!a.isEditingInternal),y(),D("ngIf",!a.isEditingInternal),y(),D("ngIf",!a.isEditingInternal))},
dab=function(a){if(a&1){var b=u();E(0,"tbody",23);M("cdkDropListDropped",function(c){v(b);var d=N();return x(d.onDrop(c))});C(1,cab,17,18,"tr",24);G()}a&2&&(a=N(),D("cdkDropListData",a.collection)("cdkDropListDisabled",a.isDisabled||null!=a.openRow),y(),D("ngForOf",a.collection))},eab=function(a){a&1&&(E(0,"div",89),R(1," There are currently no rules for this SLO "),G())},fab=function(a,b){if(a&1){var c=u();E(0,"tr",7);M("click",function(){var e=v(c).$implicit,f=N();return x(f.editSlo(e))})("focus",
function(){var e=v(c).index,f=N();return x(f.setFocusOnIndex(e))});I(1,"td",2);E(2,"td",8)(3,"a",9);M("click",function(e){return e.stopPropagation()});R(4);G()();E(5,"td",10);R(6);G()()}if(a&2){a=b.$implicit;b=b.index;var d=N();yf("grid-focus",d.isFocused(b));pf("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));y(3);D("href",d.paths.editSlo(a.sloId),Pd);y();S(" ",a.name," ");y(2);S(" ",a.description," ")}},gab=function(a){if(a)return(Array.isArray(a)?a.map(function(b){return Zh(b)}):
[Zh(a)]).filter(function(b){return!isNaN(b)})},hab=function(a,b){if(b&&!Array.isArray(b))return a.find(function(c){return!Kq(c,b)})},iab=function(a,b){"string"===typeof a&&(a=a.trim())&&b(Oi(a))},jab=function(a,b){if(!a)return[];a=l("string"===typeof a?a.split(","):a);for(var c=a.next();!c.done;c=a.next())iab(c.value,function(d){return b.push(d)});return dsa(b)},kab=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("Ee");}},Lq=function(a,b,c){b=[b,c].map(function(d){return null!=d?d:""}).join(";");a.setAttribute("pkd-ac-state",String(gh(b)))},lab=function(a,b){b=[String(b.getId()),b.getValue()].join(";");a.setAttribute("pkd-target",String(gh(b)))},mab=function(a,b){a.setAttribute("pkd-ps-state",String(gh("1")));b.warmUpCache().then(function(){a.setAttribute("pkd-ps-state",String(gh("2")))},function(){a.setAttribute("pkd-ps-state",String(gh("3")))})},qab=function(a){var b=
Ro(nab,{id:Mq(oab)});a.appendChild(b);return new pab(b)},rab=function(a,b,c){var d=Math.max(b,c);return a>Math.min(b,c)&&a<d},uab=function(a){if(Nq){var b=sab(a);tab(a,b)}else a.scrollIntoView({block:"nearest"})},wab=function(a,b,c){return new xq(new vab(void 0===a?0:a,null!=b?b:[],null!=c?c:null))},Oq=function(a){return(a||"").trim()},Pq=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)},Rq=function(a){return new Qq(a)},xab=function(a,b){b=b.ownerDocument.createEvent("CustomEvent");b.initEvent(a,!0,!0);return b},Sq=function(a){return xab("pcw-click",a)},zab=function(a){var b;return Object.freeze({id:"ENOWEf",iconUrl:null==(b=yab.get(a))?void 0:b.get("ENOWEf"),label:"Hide suggestion",keyboardShortcut:[],veid:181476})},Aab=function(a){return a.map(function(b){if(Tq)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)}})},Dab=function(a,b){var c=Mq(Uq.getInstance()),d=Object,e=d.assign;c=c+":"+a.id;var f=Aab(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("Ge`"+
b);}d=Ro(Bab,e.call(d,{},a,{id:c,keyboardShortcut:f,densityClass:b}));a.veid&&Pq({element:d,veid:a.veid,actions:["impression","pcw-click"],componentId:"peoplekitweb"});return new Cab(d,a)},Fab=function(a){var b=new Eab([]);return new Vq(a,b)},Hab=function(a,b){return new Gab(a,b)},Nab=function(a,b,c,d,e){var f=Iab(c),h=Wq(a),k=Xq(a);k&&h.intersection(Jab(k));Kab(h,Qo(a),Qo(c));a=Lab(a,b);b=h.left;a&4?b+=h.width:a&2&&(b+=h.width/2);h=new Yq(b,h.top+(a&1?h.height:0));h=Zq(h,f);a=Lab(c,d);h=Mab(h,$q(c),
a).rect;c=Xq(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},Qab=function(a,b){ar(a,new Yq(b.left,b.top));b=b.getSize();Oab($q(a),b)||Pab(a,b)},Rab=function(a,b){return new br(a,b)},cr=function(a,b){return a.querySelector('[peoplekit-id="'+b+'"]')},Sab=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"))})},Uab=function(a){return a.closest('[class~="aU4VQc"]')},Xab=function(a,b,c,d){var e=Ro(Vab);Pq({element:e,veid:28041,actions:["impression"],componentId:"peoplekitweb"});var f=new Wab(e);a.appendChild(e);return new dr(e,b,c,f,d)},$ab=function(a,b){b=Ro(Yab,{label:b.label});a.appendChild(b);return new Zab(b)},bbb=function(a,b){for(var c=l(["peoplekitThemeLight","peoplekitThemeDark"]),d=c.next();!d.done;d=c.next())a.classList.remove(d.value);
(b=abb.get(b))&&a.classList.add(b)},ebb=function(a,b,c,d){b=Ro(cbb,{content:b,header:d});a.appendChild(b);a=$ab(cr(b,"TvD9Pc"),{label:"Close"});bbb(b,c.getTheme());return new dbb(b,a)},gbb=function(a,b){var c=fbb({header:"Couldn't hide suggestion"});var d=er("<div>There was a problem and this person could not be hidden</div>");a=ebb(a,d,b,c);Pq({element:a.getRoot(),veid:131913,actions:["impression"],componentId:"peoplekitweb"});return a},hbb=function(a,b){var c=fbb({header:"Couldn't hide suggestion"});
var d=er("<div>Groups of 2 or more people can't be hidden</div>");a=ebb(a,d,b,c);Pq({element:a.getRoot(),veid:166230,actions:["impression"],componentId:"peoplekitweb"});return a},ibb=function(a,b){var c=fbb({header:"Couldn't show suggestion"});var d=er("<div>There was a problem and this person could not be shown in suggestions</div>");a=ebb(a,d,b,c);Pq({element:a.getRoot(),veid:184760,actions:["impression"],componentId:"peoplekitweb"});return a},jbb=function(a){var b=new Image;b.src=a;a=b.complete;
b.src="";return a},gr=function(a,b,c,d,e,f){e=void 0===e?new fr:e;f=void 0===f?"":f;b=Ro(kbb,{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:lbb()});e=new mbb(b,e);a.appendChild(b);return e},obb=function(a,b){var c="",d=0;b=l(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c=c+a.substring(d,e.getStart())+"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3"+a.substring(e.getStart(),
e.getEnd())+"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3",d=e.getEnd();c+=a.substring(d,a.length);return nbb(nbb(Yo(c),"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3","<b>"),"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3","</b>")},pbb=function(a){var b=a.getDisplayName();return b?obb(b,a.getMatchInfo().getDisplayNameMatches()):""},qbb=function(a){var b=a.getDisplayValue();return b?obb(b,a.getMatchInfo().getDisplayValueMatches()):""},rbb=function(a,b){var c=b?pbb(a):Yo(a.getDisplayName());b=b?qbb(a):Yo(a.getDisplayValue());
c=c||b;b=b||Yo(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()]}},ubb=function(a,b,c,d){var e=b.result().getMemberList();1===e.length?(b=rbb(e[0],!1),b={hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,name:"",photos:b.photos}):(e=b.result(),e=rbb(e,!1),b=b.getDisplayNameWithOverrideApplied(),b={label:Yo(b)||e.sublabel,sublabel:e.sublabel,name:b,
photos:e.photos,hovercardId:e.hovercardId});var f=b.hovercardId,h=b.name;var k=b.label;var q=b.sublabel;e=er;f='<div peoplekit-id="'+hr("tJHJj")+'" class="'+hr("peoplekitComponentsHideconfirmationdialogImplHeader")+'" data-hovercard-id="'+hr(f)+'" data-name="'+hr(h)+'"><div class="'+hr("peoplekitComponentsHideconfirmationdialogImplHeaderRow")+'"><div class="'+hr("peoplekitComponentsHideconfirmationdialogImplLeft")+'">';h=er('<div class="'+hr("peoplekitComponentsHideconfirmationdialogImplAvatar")+
'"><div class="'+hr("peoplekitComponentsHideconfirmationdialogImplAvatarContainer")+'" peoplekit-id="'+hr("d6MZcd")+'"></div></div>');f=f+h+'</div><div class="'+hr("peoplekitComponentsHideconfirmationdialogImplCenter")+'">';k=er('<div class="'+hr("peoplekitComponentsHideconfirmationdialogImplLabelContainer")+'"><div peoplekit-id="'+hr("E0kCZc")+'" class="'+hr("peoplekitComponentsHideconfirmationdialogImplLabel")+" "+hr("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+ir(jr(k))+
"</div>"+(q?'<div class="'+hr("peoplekitComponentsHideconfirmationdialogImplSublabel")+" "+hr("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+ir(jr(q))+"</div>":"")+"</div>");k=e(f+k+"</div></div></div>");e=0===d?"Hide":"Show";q='<div peoplekit-id="'+hr("bN97Pc")+'" class="'+hr("peoplekitComponentsHideconfirmationdialogImplContent")+'"><div class="'+hr("peoplekitComponentsHideconfirmationdialogImplHeadline")+'">';q=(0===d?q+"Hide Suggestion?":q+"Show Suggestion?")+('</div><div class="'+
hr("peoplekitComponentsHideconfirmationdialogImplDescription")+'">');d=er((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=Ro(sbb,{content:d,header:k});a.appendChild(d);a=$ab(cr(d,"IbE0S"),{label:"Cancel"});k=k={confirmButtonText:e};k=k.confirmButtonText;q="";switch(za(k)?k.toString():k){case "Confirm":q+="Confirm";break;case "Hide":q+="Hide";break;case "Show":q+="Show";break;default:q+="Apply"}k=
$ab(cr(d,"McfNlf"),{label:q});bbb(d,c.getTheme());q={element:k.getRoot(),veid:0,actions:["pcw-click","impression"],componentId:"peoplekitweb"};switch(e){case "Hide":q.veid=131909;Pq(q);break;case "Show":q.veid=131910,Pq(q)}a=new tbb(d,a,k);d=cr(a.getRoot(),"d6MZcd");gr(d,b.photos,36,36,c);return new kr(a)},vbb=function(){lr.addDecoratorFactory({type:0,factory:{create:function(a,b){return new mr(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 nr).filterResult(a.result);return or(a.clientConfig.internal)&&!c&&b}},configurationKey:void 0})},wbb=function(a){switch(a){case 0:return 40;case 1:return 32;case 2:return 28;default:throw Error("Ge`"+a);}},xbb=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";default:throw Error("Ge`"+a);}},ybb=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},zbb=function(a){var b,c=null==(b=a.getClient())?void 0:b.getApplication();a=a.getRequestType();return c&&a?[c,a]:null},Abb=function(a){return(a=zbb(a))?JSON.stringify(a):null},Bbb=function(a,b){b=void 0===b?null:b;b=a.getProfileId()||b;return b?(a=zbb(a))?JSON.stringify([a,b]):null:null},Dbb=function(a){return Cbb.map(function(b){return new pr(a,b)})},Ebb=function(a){var b=new qr;if(a instanceof
rr)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},ur=function(a){a=void 0===a?null:a;var b=(new sr).setExperimentFlags(new tr).setSource(3);a&&b.setError(Ebb(a));
return b},Nbb=function(a){var b=void 0===b?new Fbb:b;if(Gbb)return Gbb;var c=new Hbb(a),d=new Ibb(a),e;(b.cachedIsStorageAvailable_=Jbb(b.storage_))?e=new vr(a,b):e=new wr(a);b=e;try{b.clean()}catch(f){}c=new Kbb(new Lbb(b,c),d);return Gbb=new Mbb(a,c)},Pbb=function(a){var b=a.resultCustomizationConfig,c=rbb(a.result,!0);a=Obb(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}},Obb=function(a,b){var c=a.result,d=a.resultConfig;a=xbb(a.appearanceConfig.getDensity());var e=[];Xi(xr.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:Mq(Qbb),hovercardId:b.hovercardId,
label:b.label,sublabel:b.sublabel,photos:b.photos,densityClass:a,tags:e,allowSublabelTranslation:!1}},Tbb=function(a,b,c){var d="",e=Yo(a.getDescription()),f=!1,h=a.getMemberList().length;if(1<h||a.getDisplayName())d=a.getMemberList().map(function(k){var q="";if(k.getPrimaryTarget().getName()){var t,w;(q=(q=null==(t=k.getPrimaryTarget())?void 0:null==(w=t.getName())?void 0:w.getGivenName())?obb(q,k.getMatchInfo().getGivenNameMatches()):"")||(q=pbb(k))}q||(q=qbb(k));return q}),b&&(d=d.reverse()),d=
pbb(a)||Rbb({memberNames:d}),e||c||null===a.getTotalMemberCount()||(e=Sbb({memberCount:Number(a.getTotalMemberCount())}),f=!0);else if(1===h)return e=a.getMemberList()[0],f=rbb(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(k){return k.getPhotoUrl()});return{hovercardId:"",label:d,sublabel:e,type:a.getPrimaryTarget().getTargetType(),photos:b,allowSublabelTranslation:f}},
Vbb=function(a){var b=a.result,c=a.resultCustomizationConfig,d=a.isRightToLeft,e=Xi(a.clientConfig.internal,6,!1),f=xbb(a.appearanceConfig.getDensity());b=Tbb(b,d,e);if(b.flatResult)return a.result=b.flatResult,f=Obb(a,b),a=f.sublabel,d=f.allowSublabelTranslation,c.customSublabel&&(a=c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation),{id:f.id,hovercardId:f.hovercardId,label:f.label,sublabel:c.shouldHideSublabel?"":a,photos:f.photos,densityClass:f.densityClass,tags:f.tags,type:b.type,
allowSublabelTranslation:d};a=b.sublabel;d=b.allowSublabelTranslation;c.customSublabel&&(a=c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation);return{id:Mq(Ubb),hovercardId:b.hovercardId,label:b.label,sublabel:c.shouldHideSublabel?"":a,type:b.type,photos:b.photos,densityClass:f,tags:[],allowSublabelTranslation:d}},Xbb=function(a,b,c,d,e,f){return new Wbb(a,b,c,d,e,f)},acb=function(a,b){var c=a.result,d=a.resultConfig,e=a.appearanceConfig,f=a.resultCustomizationConfig,h=c.getPrimaryTarget().getId();
a=yr(h)||zr(h)?Vbb(a):Pbb(a);h=Object;var k=h.assign;a:switch(b){case 1:b=Ybb();break a;case 2:b=f.showSelectedIndicatorForDisabled?Ybb():er("");break a;default:b='<div class="'+hr("peoplekitComponentsResultlistitemDisabledTextIndicator")+'">',b=er(b+"DISABLED</div>")}b=Ro(Zbb,k.call(h,{},a,{disableReason:b}));h=cr(b,"d6MZcd");k=wbb(e.getDensity());var q;f=null!=(q=f.backupAvatarUrl)?q:"";e=gr(h,a.photos,k,k,e,f);return new $bb(b,c,d,a.tags,e)},bcb=function(a){return a.resultCustomizationConfig.shouldDisable?
2:a.selectionsState.get(a.result.getPrimaryTarget().getId())&&!a.resultConfig.getAllowResultDeselection()?1:0},ccb=function(){lr.addCoreFactory({type:1,factory:{create:function(a){var b=bcb(a);return acb(a,b)},shouldCreate:function(a){return 0!==bcb(a)}},configurationKey:void 0})},ecb=function(a,b){return new dcb(a,void 0===b?"":b)},fcb=function(a){var b=-1;(a=Ar(a))&&Yi(a,2)&&(b=qi(a,2,0));return"index:"+b},hcb=function(a){var b=a.result,c=a.resultConfig,d=a.resultCustomizationConfig,e=a.appearanceConfig,
f=a.selectionsState;a=Vbb(a);var h=Ro(gcb,a);Pq({element:h,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[fcb(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var k=cr(h,"d6MZcd"),q=wbb(e.getDensity()),t;d=null!=(t=d.backupAvatarUrl)?t:"";e=gr(k,a.photos,q,q,e,d);return new Br(new Cr(h,b,f,c,a.tags,e))},icb=function(){lr.addCoreFactory({type:3,factory:{create:function(a){return hcb(a)},shouldCreate:function(a){return zr(a.result.getPrimaryTarget().getId())}},
configurationKey:void 0})},kcb=function(a){var b=a.result,c=a.resultConfig,d=a.resultCustomizationConfig,e=a.appearanceConfig,f=a.selectionsState,h=a.clientConfig;a=Pbb(a);var k=Ro(jcb,a);Pq({element:k,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[fcb(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var q=cr(k,"d6MZcd"),t=wbb(e.getDensity()),w;d=null!=(w=d.backupAvatarUrl)?w:"";e=gr(q,a.photos,t,t,e,d);b=new Dr(k,b,f,c,a.tags,e,h);return new Br(new Er(b,
f))},lcb=function(){lr.addCoreFactory({type:0,factory:{create:function(a){return kcb(a)},shouldCreate:function(){return!0}},configurationKey:void 0})},ncb=function(a){var b=a.result,c=a.resultConfig,d=a.appearanceConfig,e=a.resultCustomizationConfig,f=a.clientConfig,h=a.selectionsState;a=Vbb(a);var k=Ro(mcb,a);Pq({element:k,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[fcb(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var q=cr(k,"d6MZcd"),t=wbb(d.getDensity()),
w;e=null!=(w=e.backupAvatarUrl)?w:"";d=gr(q,a.photos,t,t,d,e);b=new Fr(k,b,h,c,a.tags,d,f);return new Br(new Er(b,h))},ocb=function(){lr.addCoreFactory({type:2,factory:{create:function(a){return ncb(a)},shouldCreate:function(a){return yr(a.result.getPrimaryTarget().getId())}},configurationKey:void 0})},ucb=function(a,b){var c=Ro(pcb,{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("Ge`"+f);}}e.call(d,f);if(b.tooltipLabel){d=c.getAttribute("data-tooltip-id")||"";e={label:b.tooltipLabel,ariaLabel:b.ariaLabel};d=Ro(qcb,{label:e.label,id:d,ariaLabel:e.ariaLabel});a.appendChild(d);a=e.showDelayMs;e=e.hideDelayMs;a=new Gr(d,void 0===a?500:a,void 0===e?300:e);var h=new rcb(d,a);scb(h,c)}return new tcb(c,b.icon,b.disabledIcon,h,b.disableDomNavigation,
b.onClick)},wcb=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 vcb(a,b,e)},ycb=function(){lr.addDecoratorFactory({type:2,factory:{create:function(a,b){return new xcb(b,a.appearanceConfig,a.clientConfig,a.interactions)},shouldCreate:function(a){return or(a.clientConfig.internal)&&!!(new nr).filterResult(a.result)}},configurationKey:void 0})},zcb=function(){lr.addDecoratorFactory({type:1,factory:{create:function(a,
b){return wcb(b,a.appearanceConfig,a.resultCustomizationConfig.secondaryActionButtonConfig,a.interactions)},shouldCreate:function(a){return!!a.resultCustomizationConfig.secondaryActionButtonConfig&&!(or(a.clientConfig.internal)&&(new nr).filterResult(a.result))}},configurationKey:void 0})},Acb=function(a,b){var c=(new nr).filterResult(b.result)===b.result;or(b.clientConfig.internal)&&c?a=new xcb(a,b.appearanceConfig,b.clientConfig,b.interactions):b.resultCustomizationConfig.secondaryActionButtonConfig&&
(a=wcb(a,b.appearanceConfig,b.resultCustomizationConfig.secondaryActionButtonConfig,b.interactions));return a},Bcb=function(a,b){var c=(new nr).filterResult(b.result)===b.result,d=2<=b.result.getMemberList().length;d=7!==b.result.getResultType()&&!d;or(b.clientConfig.internal)&&!c&&d&&(a=new mr(a,b.appearanceConfig,b.clientConfig,b.result,b.ariaParent));return a},Ccb=function(){return function(a){return Bcb(Acb(kcb(a),a),a)}},Dcb=function(a){return function(b){return acb(b,a)}},Gcb=function(a,b,c,
d,e,f,h,k,q){Ecb||(lcb(),ccb(),ocb(),icb(),vbb(),ycb(),zcb(),Ecb=!0);b=d.getResultCustomizationCallback()(a,b);return(new Fcb).create({result:a,selectionsState:c,resultConfig:d,appearanceConfig:e,clientConfig:f,isRightToLeft:h,interactions:k,resultCustomizationConfig:b,ariaParent:q})},Icb=function(a,b,c,d,e,f,h,k,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=zr(w)?3:yr(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:k,resultCustomizationConfig:b,ariaParent:q};c=Hcb.get(t);if(!c)throw Error("Ve");return c(a)},Lcb=function(a){var b=Mq(Uq.getInstance());b=Ro(Jcb,{id:b,header:a});return new Kcb(b,a)},Mcb=function(a,b,c){return new Hr(a,b,c)},Ncb=function(a,b,c){return(b=b.getGroupName(c))?new Ir(a,b):a},Pcb=function(a,b,c,d){b=b.getGroupName(c);
c=Ocb();return b&&c.infoGroupConfig?new Jr(a,c.infoGroupConfig,d):a},Qcb=function(a,b,c){b=b.getGroupName(c);c=Ocb();return b&&c.collapsibleGroupConfig?new Kr(a,c.collapsibleGroupConfig):a},Tcb=function(a,b,c,d,e,f,h,k,q){h=Ro(Rcb,{header:h||""});a.appendChild(h);a=qab(cr(h,"tjneg"));return{resultList:new Scb(a,b,c,d,e,f,k,q),list:a}},Wcb=function(a,b,c,d,e,f,h,k,q,t){a=Tcb(a,b,c,d,e,k,q,f,t);b=a.resultList;b=new Ucb(b,a.list,h);return new Vcb(b,f)},Ycb=function(a,b,c,d,e,f,h,k,q){k=Ro(Rcb,{header:k||
""});a.appendChild(k);a=qab(cr(k,"tjneg"));b=new Xcb(a,b,c,d,e,f,h,q);return new Vcb(b,f)},Zcb=function(a){return"XLuqBd"===a.getAttribute("peoplekit-id")},adb=function(a,b){return new $cb(a,b)},bdb=function(a){return a.map(function(b){return b.getLoggingToken()}).filter(Boolean)},Lr=function(a){return a.filter(function(b){return!b.isPlaceholder()}).map(function(b){return b.selectionToken().getLoggingToken()}).filter(Boolean)},Mr=function(a,b,c,d){var e;d=l(d);for(var f=d.next();!f.done;f=d.next()){f=
f.value;try{f(a,b,c)}catch(h){e||(e=h)}}if(e)throw e;},cdb=function(a,b,c,d,e){e=l(e);for(var f=e.next();!f.done;f=e.next())f=f.value,f(a,b,c,d)},edb=function(a){if(ddb.has(a))return ddb.get(a);throw Error("Ze`"+a);},gdb=function(a){if(fdb.has(a))return fdb.get(a);throw Error("$e`"+a);},hdb=function(a){for(var b=new Map,c=l(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,b.set(a[d].string,a[d].xid);return b},jdb=function(a){return a?a.__owner?a.__owner:a.parentNode&&11===a.parentNode.nodeType?
a.parentNode.host:idb(a):null},kdb=function(a,b,c){for(c||(a=jdb(a));a&&!b(a);)a=jdb(a)},mdb=function(a,b,c,d,e,f){var h=c.beginSession(function(){},f.sessionOptions||new Nr);return ldb(a,b,c,h,d,e,f)},ldb=function(a,b,c,d,e,f,h){f.internal.getClearcut().setInterfaceType(4);f.internal.getClearcut().setComponentFlow(7);var k=f.internal,q=e.getEnvironmentConfig(),t=q.experimentsConfig_.getProfileId();if(t)if(k.getExperiments().getIsEnabled()){var w=Ab(ndb||(ndb=odb('[null,null,null,null,null,null,null,"AIzaSyBAMHkvD9gqERVdYmGsYLnAtfzigZdAqJQ"]')));
w=new pdb(w,7)}else w=new Or;else w=new Or;k=k.getExperiments();q=w.loadExperiments(k.getApplication(),(new Pr).setPeopleApiEnv(q.apiEnv_),t);xr=new qdb(k,q);q=Ro(rdb,{classes:"aU4VQc"});a.appendChild(q);bbb(q,e.getTheme());Pq({element:q,veid:64611,actions:["impression"],componentId:"peoplekitweb"});a=new Qr;t=e.getEntryPoint();t=new sdb(d,a,t);w=e.getEntryPoint();k=f.internal.getClearcut();w=new tdb(k,w);w=Rr(w);k=k.getInterfaceType();k=new udb(new vdb(w,k));var z=new wdb(h.intelligence);h=Ro(xdb);
q.appendChild(h);w=Ro(ydb);Pq({element:w,veid:85843,actions:["impression"],componentId:"peoplekitweb"});h.appendChild(w);var F=cr(w,"tjneg");a:{var J=e.getAutocompleteHeader(),H=e.getAutocompleteCustomGrouping();switch(e.getAutocompleteGroupingType()){case 1:z=Wcb(F,e,e,f,a,t,new zdb(e.getAutocompleteGroupingLabel()),z,J,b);break a;case 2:z=Wcb(F,e,e,f,a,t,new Adb(e.getAutocompleteGroupingLabel()),z,J,b);break a;case 3:if(!H)break;var O=or(f.internal);var P=xr.getExperiments();P=Xi(P,11,!1);z=O||
P?Ycb(F,e,e,f,a,t,H,J,b):Wcb(F,e,e,f,a,t,H,z,J,b);break a;case 4:if(H){z=Ycb(F,e,e,f,a,t,H,J,b);break a}}z=Tcb(F,e,e,f,a,z,J,t,b);z=new Vcb(z.resultList,t)}F=cr(F,"rymPhb");b.setAttribute("aria-owns",F.id);b.setAttribute("aria-controls",F.id);F.setAttribute("aria-labelledby",b.id);J=e.getNoResultsMessage();F=Ro(Bdb);J?J.display?J=new Cdb(F,J):(J=Ro(Ddb,J),F.appendChild(J),J=new Edb):J=new Fdb;w.appendChild(F);k=new Gdb(w,b,z,d,k,e,J,f);or(f.internal)&&(k=new Sr(k,c,d,f,e,b));b=new Hdb(h,b,k,a,e);
mab(b.getRoot(),c);c=f.internal.getClearcut();k=e.getEntryPoint();f=new Tr;d=mIa();k=(new Idb).setClientId(c.getClientId()).setApplication(c.getSocialApplicationOrUndefined()).setEntryPoint(k).setVersionName("1.0").setBaselineCl(601920380);f=new Ur(f,1394,d,void 0,void 0,void 0,new Jdb(k));f.setClientSideLogOnlyForDevelopment(!c.getEnableClearcut()||!1);d=new xIa;k=xr.getExperimentIds();d=Lb(d,3,k,mb);f.clearcut_.setClearExperimentIds(d);f.setComponentID("peoplekitweb");c=Xi(c,6,!0);c=void 0===c||
c?new Kdb(q,f):new Ldb;c.start(Mdb);return new Ndb(q,b,a,t,c,e)},Pdb=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);Odb.lastIndex=0;for(var d=Odb.exec(a);d&&d.index<c;d=Odb.exec(a))b.push(a.substring(Number(Odb.lastIndex)));return b},Tdb=function(a){a=Array.from(a).flatMap(function(f){return(f||"").split(Qdb)}).filter(Boolean);if(!a.length)return a;var b=new Set;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=
Vr(Rdb(c.value)).replace(Sdb,"").toUpperCase().toLowerCase();c=l(Pdb(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})},Vdb=function(a){var b;return Udb(function(c){1==c.nextAddress&&(b=0);if(3!=c.nextAddress)return b<a?me(c,b,3):c.jumpTo(0);b++;return c.jumpTo(2)})},Wdb=function(a,b){return isFinite(a.fieldAffinity)?a.fieldAffinity:b&&yr(a.id)&&9!==a.id.getType()?isFinite(a.itemAffinity)?
a.itemAffinity:-Infinity:-Infinity},Zdb=function(a,b,c){if(yr(a.id)||yr(b.id)){var d=Xdb.has(a.id.getType()),e=Xdb.has(b.id.getType());if(d!==e)return d?-1:1;if(yr(a.id)&&yr(b.id))return Ydb(a,b,c,!1)}d=Wdb(a,c);c=Wdb(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},Ydb=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?Zdb(a,b,c):0},deb=function(a,b,c){var d=Wr(b.getTargetType(),b.getValue()),e=[].concat(r(b.getProfileIdList().map($db)),r(b.getContactIdList().map(aeb)),r(b.getCustomSourceIdList().map(beb)));ceb.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}},eeb=function(a){return(a||"").trim()},leb=function(a){var b=a.resultData,c=a.targetData,d=feb(Xr(a.id).setDataSource(a.dataSource||0),!!a.isMe);a.containerIds&&(d.sourceIds_=a.containerIds||[]);b.hasResultType()&&(d.resultType_=b.getResultType());c.hasValue()&&d.setValue(eeb(c.getValue()));Pi(c,2)&&d.setCanonicalValue(eeb(c.getCanonicalValue()));c.hasDescription()&&d.setDescription(c.getDescription());if(c.hasName()){var e=
c.getName();d.setName((new geb).setDisplayName(e.getDisplayName()).setGivenName(e.getGivenName()).setFamilyName(e.getFamilyName()).setSourceType(e.getSourceType()))}c.hasPhoto()&&(e=c.getPhoto(),d.setPhoto((new Yr).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&&heb(d,c.getTagList().map(function(h){return ieb(h.altText_).setIconUrl(h.getIconUrl())}));c.hasExtendedData()&&(d.extendedData_=c.getExtendedData());c.hasEmailSecurityInfo()&&(a=c.getEmailSecurityInfo(),jeb(d,keb(a.certificateStatus_,a.getCertificateExpirySec_asLegacyNumberOrString(),4==a.getEncryptionSupport()||2==a.getEncryptionSupport())));return d},neb=function(a){return a?
meb.get(a)||0:0},reb=function(a){switch(a.getValueCase()){case 2:return Zr(a.getEmail().getValue()||"");case 3:var b=a.getPhone();return b.getOriginalValue()&&b.getCanonicalValue()?(a=oeb(b.getOriginalValue()||""),b=oeb(b.getCanonicalValue()||""),!a.equals(b)&&a.getValue().startsWith(b.getValue())?a:b):oeb(b.getCanonicalValue()||b.getDisplayValue()||b.getOriginalValue()||"");case 4:a=Ak(a,peb,4,$r);if(a.hasProfileId())return a=a.getProfileId()||"",new as(8,Ko(a).toLowerCase(),a);switch(kl(a,bs)){case 2:return a=
a.getEmail()||"",new as(6,Ko(a).toLowerCase(),a);case 3:return qeb(a.getPhone()||"")}}return cs},teb=function(a){return gi(a,seb,5,hi()).map(function(b){switch(b.getIdCase()){case 1:return $db(b.getProfileId()||"");case 2:return aeb(b.getContactId()||"");default:return null}}).filter(Boolean)},ueb=function(a,b){return ji(a,ds,3)&&$i(a,ds,3).getIsPlaceholder()?3:es(b,8)?1:0},veb=function(a){return a&&a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},web=function(a){return a.hasAffinity()?
Number(a.getAffinity().getValue_legacyNullable()):-Infinity},xeb=function(a){return!!a&&!!a.getPrimary()},zeb=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"+yeb(a):""},Deb=function(a){var b=void 0;if($i(a,ds,3)){var c;b=null!=(c=b)?c:new Aeb;fs(b,Beb,$i(a,ds,3))}if($i(a,
gs,5)){var d;b=null!=(d=b)?d:new Aeb;fs(b,Ceb,$i(a,gs,5))}return b},Geb=function(a){var b=void 0;if($i(a,Eeb,9)){var c;b=null!=(c=b)?c:new Aeb;fs(b,Feb,$i(a,Eeb,9))}return b},Ieb=function(a){var b=new hs,c=a?2:1;Heb(b.setEventType(4),c).setToken(a);return b},Keb=function(a,b){var c=new is;c=(new hs).setLookupInfo(c);js(c.setEventType(6),9).setItemCount(a.length).setQueryScope(Jeb.get(b)||0);return c},Leb=function(){var a=new hs;js(a.setEventType(6),10);return a},Meb=function(a,b){var c=new hs;js(c.setEventType(6),
6).setQueryLength(a.length).setQueryScope(Jeb.get(b)||0);return c},Neb=function(a){var b=new hs;js(b.setEventType(6),5).setQueryScope(Jeb.get(a)||0);return b},Oeb=function(a,b){switch(a){case 8:case 3:case 17:return(new ks).setProfileId(b);case 1:case 6:return(new ks).setEmail(b);case 7:case 2:return(new ks).setPhone(b);case 13:case 14:return a=new ks,Fk(a,4,ls,b);default:return null}},Reb=function(a){return((a=gi(a,Peb,2,hi()).find(function(b){return 1===ho(b,1)}))?Qeb.get(ho(a,2)):0)||0},ms=function(a){return(a||
"").trim()},Ueb=function(a,b){b.hasAffinity()&&a.setFieldLoggingId(Seb(ms(Ida(wq(b.getAffinity(),1)))));if(b.hasName()){var c=b.getName(),d=a.setName,e=(new geb).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 Yr).setUrl(b.getUrl()).setGlyph(b.getGlyph()).setType(Teb.get(b.getType())||0)))},
Web=function(a,b){if(b.hasProfileId())switch(kl(b,bs)){case 2:var c=ms(b.getEmail());return Veb(Xr(a.id).setValue(ms(b.getProfileId())),(new ns).setType(1).setValue(c));case 3:return c=ms(b.getPhone()),Veb(Xr(a.id).setValue(ms(b.getProfileId())),(new ns).setType(2).setValue(c));default:return b=ms(b.getProfileId()),Xr(a.id).setValue(b)}switch(kl(b,bs)){case 2:return b=ms(b.getEmail()),Veb(Xr(a.id).setValue(b),(new ns).setType(1).setValue(b));case 3:return b=ms(b.getPhone()),Veb(Xr(a.id).setValue(b),
(new ns).setType(2).setValue(b));default:return b=ms(b.getProfileId()),Xr(a.id).setValue(b)}},Zeb=function(a,b){var c=feb(Xr(a.id),!!a.isMe);a.containerIds&&(c.sourceIds_=a.containerIds||[]);b&&Ueb(c,b);a.group&&((b=gi(a.group,Xeb,6,hi()).find(function(d){return null!=ao(d,1,Yeb)}))?c.setValue(ms(ao(b,1,Yeb))):a.group.hasGroupId()&&c.setValue(ms(a.group.getGroupId())));a.targetExtendedData&&(c.extendedData_=a.targetExtendedData);a.target=c},afb=function(a){return new $eb(a)},dfb=function(a){if(8===
a.getTargetType()){var b=a.getOriginatingField();if(b&&(b=b.getType(),b=bfb.get(b)))return b}return(b=cfb.get(a.getTargetType()))?b:yr(a.getId())?8:0},ffb=function(a,b,c){var d=new os,e=new ps;li(d,ps,2,e);e.setProvenance(b);b=new qs;li(d,qs,1,b);Mh(b,9,1===c);b.setProfileId(a.getProfileId()||null);b.setContactId(a.getContactId()||null);c=8===dfb(a)?8:a.getProfileId()?3:4;tj(b,8,c);c=null;8===a.getTargetType()&&(e=a.getOriginatingField())&&bfb.has(e.getType())&&(c=e.getValue());c||(c=a.getValue());
c&&b.setFieldValue(c);yr(a.getId())||b.setName(a.getName()?a.getName().getDisplayName():null);c=dfb(a);tj(b,7,c);b.setFieldLoggingId(a.getFieldLoggingId()||null);b.setPersonLoggingId(a.getPersonLoggingId()||null);b.setIsPlaceholder(3===a.getDataSource());8===ho(b,7)&&b.setGroupId(a.getId().getValue());return new efb(a,d)},hfb=function(a){a=gfb.indexOf(a.provenance);return 0>a?gfb.length:a},ifb=function(a){return a.containerIds&&a.containerIds.some(function(b){return 3===b.getType()})},kfb=function(a,
b){b.useOriginalDisplayValue_&&(a=new Map(Array.from(a,function(c){var d=l(c);c=d.next().value;d=d.next().value;if(c.equals(d.getPrimaryTarget().getId())&&c.getOriginalValue()!==d.getDisplayValue()&&d.getPrimaryTarget().getValue()===d.getDisplayValue()){var e=c.getOriginalValue(),f=d.getPrimaryTarget();d=C1a(d,new jfb(f,e))}return[c,d]})));return a},nfb=function(a){return Xi(a,21,!1)?new lfb:mfb},ofb=function(a){return 0!==a&&12!==a},pfb=function(a,b){return new Promise(function(c){0<b?setTimeout(function(){return c(a)},
b):c(a)})},qfb=function(a,b,c){b=pfb(b,c);return Promise.race([a,b])},rfb=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)}}},ufb=function(a,b,c,d){b=sfb(a,b).map(function(e){var f=l(e);e=f.next().value;f=f.next().value;return new rs(e,f)});c=sfb(a,c).map(function(e){var f=l(e);e=f.next().value;f=f.next().value;
return new rs(e,f)});a=sfb(a,d).map(function(e){var f=l(e);e=f.next().value;f=f.next().value;return new rs(e,f)});return new tfb(b,c,a)},vfb=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}},wfb=function(a){return a.reduce(function(b,c){var d=vfb(c);if(b.has(d)){var e;null==(e=b.get(d))||e.push(c)}else b.set(d,[c]);return b},new Map)},xfb=function(a,b){b=void 0===b?new ss:b;var c=new Map;a=l(a);
for(var d=a.next();!d.done;d=a.next()){d=d.value;for(var e=l(d.data.keys()),f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.data.get(f))}return{data:c,metadata:b}},zfb=function(a,b){return!a||a instanceof yfb?a:new yfb(a,b)},Bfb=function(a){return Afb.get(a)||0},Dfb=function(a,b){var c=Cfb(ts(new us,"PeopleStore").setLogSource(cj(a,4,574)).setApplication(a.getSocialApplication()).setEnvironment(b.getPeopleApiEnv()).setVersion("1004").setBaselineCl(601920380).setEnableClearcut(a.getEnableClearcut()),
[].concat(r(b.getExperiments().getExperimentIdsList()),r(vs?vs.getExperimentIds():[]))).setClientAgent(2);b.getClearcutUrl()&&c.setClearcutUrl(b.getClearcutUrl());(a=gi(a,ws,5,hi()).find(function(d){return 0===d.getEntryPoint()}))&&c.setEventSource(xs(a,4));return c},Efb=function(a){return(ji(a,ys,12)?$i($i(a,ys,12),ws,2):a.getSources())||new ws},Ffb=function(a){return(ji(a,ys,12)?$i($i(a,ys,12),ws,3):a.getSources())||new ws},Gfb=function(a){return a.filter(function(b){var c,d=null==(c=Ar(b))?void 0:
cj(c,4,0),e;return 3!==(null==(e=$i(b,qs,1))?void 0:cj(e,8,0))||2!==d&&1!==d?!0:!1})},Ifb=function(a){return a.filter(function(b){var c;return(b=null==(c=$i(b,qs,1))?void 0:c.getFieldType())&&Hfb.has(b)?!1:!0})},Jfb=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)},Kfb=function(a){if(!a.hasSessionState())return"";a=a.getSessionState();return kj(a,3,0)+":"+kj(a,4,0)+":"+kj(a,5,0)+":"+a.getInstanceId()},Lfb=function(a){return ji(a,ps,2)?
Ar(a).getContext()||0:0},Mfb=function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getSessionState();d=d?kj(d,3,0)+"-"+kj(d,4,0)+"-"+kj(d,5,0)+"-"+d.getInstanceId():"";b.has(d)?b.get(d).push(c):b.set(d,[c])}return Array.from(b.values())},As=function(a,b,c,d){d=void 0===d?!1:d;a=a.filter(function(h){return!Xi(h,4,!1)});if(d){d=l(a);for(var e=d.next();!e.done;e=d.next())Mh(e.value,4,!0)}if(c)for(d=a.filter(function(h){return h&&!h.hasSessionState()}),d=l(d),e=d.next();!e.done;e=
d.next())e.value.setSessionState(c.clone());a=Mfb(a);c=[];a=l(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,e=d.find(function(h){return h&&h.hasSessionState()})){e=e.getSessionState();var f=new zs;f.setSessionState(e);f.setEventType(b);gl(f,3,d);f.setEventSources(e.getSources());c.push(f)}return c},Nfb=function(a){var b;a=a.getMetadata();a.hasCacheState()&&(a=a.getCacheState(),a.hasSource()&&(b=a.getSource()));return b||new Bs},Ofb=function(a){a&1&&(E(0,"a",3),R(1),T(2,"async"),G());if(a&2){a=
N();var b;D("href",a.manageComponentLink,Pd);y();$f(null==(b=V(2,2,a.component$))?null:b.name)}},Pfb=function(a){a&1&&(E(0,"output"),R(1),G());a&2&&(a=N(),y(),$f(a.componentId))},Qfb=function(a){a&1&&(E(0,"li")(1,"label"),R(2,"Component"),G(),I(3,"b-async-component",7),G());a&2&&(a=N(2),y(3),D("componentId",a.issueComponentId))},Rfb=function(a){a&1&&(E(0,"li")(1,"label"),R(2,"Team"),G(),I(3,"b-team-display",8),G());a&2&&(a=N(2),y(3),D("teamId",a.issueTeamId))},Sfb=function(a){a&1&&(E(0,"ol",3)(1,
"li")(2,"label"),R(3,"ID"),G(),E(4,"output"),R(5),G()(),E(6,"li")(7,"label"),R(8,"Type"),G(),E(9,"output"),R(10),G()(),E(11,"li")(12,"label"),R(13,"Priority"),G(),I(14,"b-issue-priority-display",4),G(),E(15,"li")(16,"label"),R(17,"Severity"),G(),E(18,"output"),R(19),G()(),E(20,"li")(21,"label"),R(22,"Status"),G(),E(23,"output"),R(24),G()(),E(25,"li")(26,"label"),R(27,"Last modified"),G(),E(28,"output"),R(29),T(30,"date"),G()(),E(31,"li")(32,"label"),R(33,"Issue access limit"),G(),E(34,"output"),R(35),
E(36,"a",5),R(37,"Learn more"),G()()(),C(38,Qfb,4,1,"li",6)(39,Rfb,4,1,"li",6),G());a&2&&(a=N(),y(5),$f(a.issueId),y(5),$f(a.issueType),y(4),D("issuePriority",a.issuePriority),y(5),$f(a.issueSeverity),y(5),$f(a.issueStatus),y(5),$f(ig(30,10,a.issueLastModified,"medium")),y(6),S("",a.accessLimitLevel," "),y(),D("href",a.documentationLinks.getIssueAccessLimit(),Pd),y(2),D("ngIf",a.issueComponentId),y(),D("ngIf",a.issueTeamId))},Tfb=function(a){return a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&
a.endsWith("'")?a.toLowerCase().substr(1,a.length-2):a.toLowerCase()},Ufb=function(a){a.label||(a=Uh(a),a.label={customFieldId:void 0,field:"_TEXT_"});return a},Wfb=function(a){return{type:Vfb[a.getType()],value:a.getValue()}},Yfb=function(a){var b,c=Xfb[a.getType()],d=(null!=(b=a.getValuesList())?b:[]).map(Yfb);a=gi(a,Zfb,3,hi());return{type:c,values:d,simpleValues:(null!=a?a:[]).map(Wfb)}},cgb=function(a){var b,c=$fb[a.getType()],d=(null!=(b=a.getValuesList())?b:[]).map(Yfb);b=Xi(a,3);if(a.hasLabel()){var e=
a.getLabel();e={field:agb[e.getField()],customFieldId:Number(e.getCustomFieldId_asString())}}else e=void 0;return{type:c,values:d,negated:b,label:e,operator:bgb[cj(a,5,0)]}},igb=function(a){switch(a.getKindCase()){case 2:return{syntaxErrorResponse:{syntaxError:Zi(Ak(a,dgb,2,egb),1)},queryBuilderResponse:void 0};case 1:a=Ak(a,Cs,1,egb);var b;return{syntaxErrorResponse:void 0,queryBuilderResponse:{type:fgb[a.getType()],expressions:(null!=(b=gi(a,ggb,2,hi()))?b:[]).map(cgb)}};default:return{syntaxErrorResponse:void 0,
queryBuilderResponse:void 0}}},jgb=function(a){a&1&&(E(0,"span",11),R(1," > "),G())},mgb=function(a,b){if(a&1){var c=u();E(0,"span")(1,"a",9);M("click",function(d){var e=v(c).$implicit,f=N(2);e=new kgb(e.pathIds,e.pathNames);f.onTeamSelect.emit(e);d.stopPropagation();d.preventDefault();lgb(f.autocompleteTrigger);return x()});R(2);G();C(3,jgb,2,0,"span",10);G()}a&2&&(a=b.$implicit,b=b.last,y(),D("matTooltip",a.pathNameText),y(),$f(a.name),y(),D("ngIf",!b))},ngb=function(a,b){a&1&&(E(0,"mat-option",
6)(1,"div"),C(2,mgb,4,3,"span",7),G(),E(3,"span",8),R(4),T(5,"slice"),G()());a&2&&(a=b.$implicit,D("value",a),y(2),D("ngForOf",a.teamPath),y(),D("matTooltip",a.description),y(),S("",mma(5,4,a.description,100)," "))},ogb=function(a,b){a&1&&(E(0,"mat-option",5)(1,"div",6),R(2),G()());a&2&&(a=b.$implicit,D("value",a),y(2),S(" ",a.name," "))},pgb=function(a,b){a&1&&(E(0,"mat-option",13),R(1),G());a&2&&(a=b.$implicit,D("value",a.key),y(),S(" ",a.value," "))},qgb=function(a){if(a&1){var b=u();E(0,"mat-form-field",
10)(1,"mat-select",11);M("ngModelChange",function(c){v(b);var d=N(2);return x(d.expressionType=c)});C(2,pgb,2,2,"mat-option",12);T(3,"keyvalue");G()()}a&2&&(a=N(2),y(),D("ngModel",a.expressionType),y(),D("ngForOf",V(3,2,a.globalTypeLabels)))},rgb=function(a,b){a&1&&(E(0,"mat-option",13),R(1),G());a&2&&(a=b.$implicit,D("value",a[0]),y(),S(" ",a[1]," "))},sgb=function(a,b){a&1&&(E(0,"mat-option",13),R(1),G());if(a&2){a=b.$implicit;b=N(2).$implicit;var c=N(2);D("value",a);y();S(" ",c.getTypeLabel(b,
a)," ")}},tgb=function(a){if(a&1){var b=u();E(0,"mat-form-field",10)(1,"mat-select",21);M("ngModelChange",function(c){v(b);var d=N().$implicit;return x(d.type=c)});C(2,sgb,2,2,"mat-option",12);G()()}a&2&&(a=N().$implicit,y(),D("ngModel",a.type),y(),D("ngForOf",a.getLegalTypes()))},vgb=function(a){if(a&1){var b=u();E(0,"div",34);M("click",function(){v(b);var c=N(2).$implicit,d=N(5);return x(ugb(d,c))});E(1,"span",35);R(2);G()()}a&2&&(a=N(2).$implicit,N(5),D("title",a.value),y(2),S(" ",a.value.replace(/"/g,
"")," "))},wgb=function(a){if(a&1){var b=u();E(0,"div",36)(1,"b-custom-repeated-enum-picker",37);M("onValueSelect",function(e){v(b);var f=N(7);f.chipUnderEdit.value='"'+e+'"';Ds(f);return x()});G()()}if(a&2){a=N(2).$implicit;var c=N(3).$implicit,d=N(2);y();D("customFieldTitle",d.getCustomFieldName(c))("selectedValue",a.value.replace(/"/g,""))("allowedValues",c.getOptions())}},xgb=function(a){if(a&1){var b=u();E(0,"div",30);C(1,vgb,3,2,"div",31)(2,wgb,2,3,"div",32);E(3,"button",33);M("click",function(){v(b);
var d=N().$implicit,e=N(3).$implicit,f=N(2);return x(Es(f,e,d))});G()()}if(a&2){a=N().$implicit;var c=N(5);y();D("ngIf",c.chipUnderEdit!==a);y();D("ngIf",c.chipUnderEdit===a)}},ygb=function(a,b){a&1&&(K(0),C(1,xgb,4,2,"div",29),L());a&2&&(a=b.$implicit,b=N(5),y(),D("ngIf",b.chipUnderEdit===a||a.value))},zgb=function(a){if(a&1){var b=u();E(0,"button",38);M("click",function(){v(b);var c=N(3).$implicit,d=N(2);return x(Fs(d,c))});R(1);G()}a&2&&(a=N(3).$implicit,y(),S(" + ","OR"==a.type||"NAND"==a.type?
"OR":"AND"," "))},Agb=function(a){a&1&&(E(0,"div",26),C(1,ygb,2,1,"ng-container",27)(2,zgb,2,1,"button",28),G());a&2&&(a=N(2).$implicit,y(),D("ngForOf",a.values),y(),D("ngIf",a.type))},Bgb=function(a,b){if(a&1){var c=u();E(0,"div",41)(1,"mat-checkbox",42);M("change",function(d){var e=v(c).$implicit,f=N(3).$implicit;return x(f.enumValues[e.id]=d.checked)});R(2);G()()}a&2&&(a=b.$implicit,b=N(3).$implicit,y(),D("checked",b.enumValues[a.id]),y(),S(" ",a.label||a.id," "))},Cgb=function(a){a&1&&(E(0,"div",
39),C(1,Bgb,3,2,"div",40),G());a&2&&(a=N(2).$implicit,y(),D("ngForOf",a.getOptions()))},Dgb=function(a){if(a&1){var b=u();E(0,"div")(1,"input",43);M("ngModelChange",function(c){v(b);var d=N(3).$implicit;return x(d.csv=c)});G()()}a&2&&(a=N(3).$implicit,y(),D("ngModel",a.csv)("bContactAutocomplete","MULTI"))},Egb=function(a){if(a&1){var b=u();E(0,"div",22)(1,"input",44);M("ngModelChange",function(c){v(b);var d=N(3).$implicit;return x(d.csv=c)});G()()}a&2&&(a=N(3).$implicit,y(),D("ngModel",a.csv))},
Fgb=function(a){if(a&1){var b=u();E(0,"div",22)(1,"input",45);M("ngModelChange",function(c){v(b);var d=N(3).$implicit;return x(d.csv=c)});G()()}a&2&&(a=N(3).$implicit,y(),D("ngModel",a.csv))},Ggb=function(a){if(a&1){var b=u();E(0,"div",22)(1,"input",46);M("ngModelChange",function(c){v(b);var d=N(3).$implicit;return x(d.csv=c)});G()()}a&2&&(a=N(3).$implicit,y(),D("ngModel",a.csv))},Hgb=function(a){a&1&&(E(0,"div"),C(1,Dgb,2,2,"div",25)(2,Egb,2,1,"div",17)(3,Fgb,2,1,"div",17)(4,Ggb,2,1,"div",17),G());
a&2&&(a=N(2).$implicit,y(),D("ngIf","user"==a.getWidgetType()),y(),D("ngIf","csv"==a.getWidgetType()),y(),D("ngIf","id"==a.getWidgetType()),y(),D("ngIf","number"==a.getWidgetType()))},Igb=function(a,b){if(a&1){var c=u();E(0,"div",48)(1,"div",36)(2,"input",46);M("ngModelChange",function(d){var e=v(c).$implicit;return x(e.value=d)});G()();E(3,"button",49);M("click",function(){var d=v(c).$implicit,e=N(3).$implicit,f=N(2);return x(Es(f,e,d))});G()()}a&2&&(a=b.$implicit,y(2),D("ngModel",a.value))},Jgb=
function(a){if(a&1){var b=u();E(0,"button",38);M("click",function(){v(b);var c=N(3).$implicit,d=N(2);return x(Fs(d,c))});R(1);G()}a&2&&(a=N(3).$implicit,y(),S(" + ","OR"==a.type||"NOR"==a.type?"OR":"AND"," "))},Kgb=function(a){a&1&&(E(0,"div",26),C(1,Igb,4,1,"div",47)(2,Jgb,2,1,"button",28),G());a&2&&(a=N(2).$implicit,y(),D("ngForOf",a.values),y(),D("ngIf",a.type))},Mgb=function(a){if(a&1){var b=u();E(0,"div",34);M("click",function(){v(b);var d=N(2).$implicit,e=N(5);return x(Lgb(e,d))});E(1,"span",
35);R(2);G()()}if(a&2){a=N(2).$implicit;var c=N(5);D("title",c.getComponentPath(c.components[a.value]));y(2);S(" ",c.getComponentPath(c.components[a.value])," ")}},Ngb=function(a){if(a&1){var b=u();E(0,"div",36)(1,"b-team-component-picker",54);M("selectedComponentChange",function(c){v(b);var d=N(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;Ds(d);return x()});G()()}a&2&&(a=N(7),y(),D("selectedComponent",a.componentUnderEdit)("placeholder","Choose Component")("isRequired",!0))},Ogb=function(a){if(a&1){var b=u();E(0,"div",51);C(1,Mgb,3,2,"div",31)(2,Ngb,2,3,"div",32);E(3,"button",52);M("click",function(){v(b);var d=N().$implicit;N(5);d.includeSubs=!d.includeSubs;return x()});I(4,"mat-icon",53);G();E(5,"button",33);M("click",function(){v(b);var d=N().$implicit,e=N(3).$implicit,f=N(2);return x(Es(f,e,d))});G()()}if(a&2){a=N().$implicit;
var c=N(5);y();D("ngIf",c.chipUnderEdit!==a);y();D("ngIf",c.chipUnderEdit===a);y();D("title",a.includeSubs?"Subcomponents are included":"Subcomponents are not included");pf("aria-checked",a.includeSubs);y();D("svgIcon",a.includeSubs?"child-components-24px":"child-components-hide-24px")}},Pgb=function(a,b){a&1&&(K(0),C(1,Ogb,6,5,"div",50),L());a&2&&(a=b.$implicit,b=N(5),y(),D("ngIf",b.chipUnderEdit===a||a.value))},Qgb=function(a){if(a&1){var b=u();E(0,"button",38);M("click",function(){v(b);var c=N(3).$implicit,
d=N(2);return x(Fs(d,c))});R(1);G()}a&2&&(a=N(3).$implicit,y(),S(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Rgb=function(a){a&1&&(E(0,"div",26),C(1,Pgb,2,1,"ng-container",27)(2,Qgb,2,1,"button",28),G());a&2&&(a=N(2).$implicit,y(),D("ngForOf",a.values),y(),D("ngIf",a.type))},Tgb=function(a){if(a&1){var b=u();E(0,"div",34);M("click",function(){v(b);var d=N(2).$implicit,e=N(5);return x(Sgb(e,d))});E(1,"span",35);R(2);G()()}if(a&2){a=N(2).$implicit;var c=N(5);D("title",null==c.trackers[a.value]?
null:c.trackers[a.value].name);y(2);S(" ",null==c.trackers[a.value]?null:c.trackers[a.value].name," ")}},Ugb=function(a){if(a&1){var b=u();E(0,"div",36)(1,"b-tracker-picker",57);M("onTrackerSelect",function(c){v(b);var d=N(7);kp(d.analytics,Sp.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;Ds(d);return x()});G()()}a&2&&(a=N(7),y(),D("selectedTracker",a.trackerUnderEdit))},
Vgb=function(a){if(a&1){var b=u();E(0,"div",56);C(1,Tgb,3,2,"div",31)(2,Ugb,2,1,"div",32);E(3,"button",33);M("click",function(){v(b);var d=N().$implicit,e=N(3).$implicit,f=N(2);return x(Es(f,e,d))});G()()}if(a&2){a=N().$implicit;var c=N(5);y();D("ngIf",c.chipUnderEdit!==a);y();D("ngIf",c.chipUnderEdit===a)}},Wgb=function(a,b){a&1&&(K(0),C(1,Vgb,4,2,"div",55),L());a&2&&(a=b.$implicit,b=N(5),y(),D("ngIf",b.chipUnderEdit===a||a.value))},Xgb=function(a){if(a&1){var b=u();E(0,"button",38);M("click",function(){v(b);
var c=N(3).$implicit,d=N(2);return x(Fs(d,c))});R(1);G()}a&2&&(a=N(3).$implicit,y(),S(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Ygb=function(a){a&1&&(E(0,"div",26),C(1,Wgb,2,1,"ng-container",27)(2,Xgb,2,1,"button",28),G());a&2&&(a=N(2).$implicit,y(),D("ngForOf",a.values),y(),D("ngIf",a.type))},$gb=function(a){if(a&1){var b=u();E(0,"div",34);M("click",function(){v(b);var d=N(2).$implicit,e=N(6);return x(Zgb(e,d))});T(1,"teamPath");E(2,"span",35);R(3);T(4,"teamPath");G()()}if(a&2){a=N(2).$implicit;
var c=N(6);D("title",V(1,2,c.teams[a.value]));y(3);S(" ",V(4,4,c.teams[a.value])," ")}},bhb=function(a){if(a&1){var b=u();E(0,"div",36)(1,"b-team-picker",61);M("onTeamSelect",function(c){v(b);var d=N(8);return x(ahb(d,c))});G()()}a&2&&(a=N(8),y(),D("teamSelected",a.teamUnderEdit))},chb=function(a){if(a&1){var b=u();E(0,"div",59);C(1,$gb,5,6,"div",31)(2,bhb,2,1,"div",32);E(3,"button",60);M("click",function(){v(b);var d=N().$implicit;N(6);d.includeSubs=!d.includeSubs;return x()});I(4,"mat-icon",53);
G();E(5,"button",33);M("click",function(){v(b);var d=N().$implicit,e=N(4).$implicit,f=N(2);return x(Es(f,e,d))});G()()}if(a&2){a=N().$implicit;var c=N(6);y();D("ngIf",c.chipUnderEdit!==a);y();D("ngIf",c.chipUnderEdit===a);y();D("title",a.includeSubs?"Subteams are included":"Subteams are not included");pf("aria-checked",a.includeSubs);y();D("svgIcon",a.includeSubs?"child-teams-24px":"child-teams-hide-24px")}},dhb=function(a,b){a&1&&(K(0),C(1,chb,6,5,"div",58),L());a&2&&(a=b.$implicit,b=N(6),y(),D("ngIf",
b.chipUnderEdit===a||a.value))},ehb=function(a){if(a&1){var b=u();E(0,"button",38);M("click",function(){v(b);var c=N(4).$implicit,d=N(2);return x(Fs(d,c))});R(1);G()}a&2&&(a=N(4).$implicit,y(),S(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},fhb=function(a){a&1&&(K(0),C(1,dhb,2,1,"ng-container",27)(2,ehb,2,1,"button",28),L());a&2&&(a=N(3).$implicit,y(),D("ngForOf",a.values),y(),D("ngIf",a.type))},ghb=function(a){a&1&&(E(0,"div",26),C(1,fhb,3,2,"ng-container",25),G());a&2&&(a=N(4),y(),D("ngIf",
a.sessionIsInternal))},ihb=function(a){if(a&1){var b=u();E(0,"div")(1,"bv2-input-date-picker",62);M("boundValueChange",function(c){v(b);N(3).$implicit.dateFrom=hhb(c);return x()});G();R(2," and ");E(3,"bv2-input-date-picker",62);M("boundValueChange",function(c){v(b);N(3).$implicit.dateTo=hhb(c);return x()});G()()}a&2&&(a=N(3).$implicit,y(),D("boundValue",a.dateFrom)("isRequired",!0),y(2),D("boundValue",a.dateTo)("isRequired",!0))},jhb=function(a){if(a&1){var b=u();E(0,"div");R(1," the last ");E(2,
"input",63);M("ngModelChange",function(c){v(b);var d=N(3).$implicit;return x(d.duration=c)});G();R(3," days. ");G()}a&2&&(a=N(3).$implicit,y(2),D("ngModel",a.duration))},khb=function(a){if(a&1){var b=u();E(0,"div")(1,"bv2-input-date-picker",62);M("boundValueChange",function(c){v(b);N(3).$implicit.dateFrom=hhb(c);return x()});G()()}a&2&&(a=N(3).$implicit,y(),D("boundValue",a.dateFrom)("isRequired",!0))},lhb=function(a){a&1&&(E(0,"div"),C(1,ihb,4,4,"div",25)(2,jhb,4,1,"div",25)(3,khb,2,2,"div",25),
G());a&2&&(a=N(2).$implicit,y(),D("ngIf","RANGE"==a.type||"NRANGE"==a.type),y(),D("ngIf","DURATION"==a.type||"NDURATION"==a.type),y(),D("ngIf","LE"==a.type||"LT"==a.type||"GE"==a.type||"GT"==a.type||"OR"==a.type))},mhb=function(a){if(a&1){var b=u();E(0,"div",34);M("click",function(){v(b);var d=N(2).$implicit,e=N(5);return x(Gs(e,d))});E(1,"span",35);R(2);G()()}if(a&2){a=N(2).$implicit;var c=N(5);D("title",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value);y(2);S(" ",(null==c.hotlists[a.value]?
null:c.hotlists[a.value].name)||a.value," ")}},nhb=function(a,b){a&1&&(E(0,"mat-option",13),R(1),G());a&2&&(a=b.$implicit,D("value",a.hotlistId),y(),S(" ",a.name," "))},ohb=function(a){if(a&1){var b=u();E(0,"mat-form-field",67)(1,"mat-select",68);M("ngModelChange",function(d){v(b);var e=N(2).$implicit;return x(e.value=d)})("selectionChange",function(){v(b);var d=N(7);return x(Ds(d))});C(2,nhb,2,2,"mat-option",12);G()()}if(a&2){a=N(2).$implicit;var c=N(5);y();D("ngModel",a.value);y();D("ngForOf",c.userHotlists)}},
phb=function(a){if(a&1){var b=u();E(0,"div",65);C(1,mhb,3,2,"div",31)(2,ohb,3,2,"mat-form-field",66);E(3,"button",33);M("click",function(){v(b);var d=N().$implicit,e=N(3).$implicit,f=N(2);return x(Es(f,e,d))});G()()}if(a&2){a=N().$implicit;var c=N(5);y();D("ngIf",c.chipUnderEdit!==a);y();D("ngIf",c.chipUnderEdit===a)}},qhb=function(a,b){a&1&&(K(0),C(1,phb,4,2,"div",64),L());a&2&&(a=b.$implicit,b=N(5),y(),D("ngIf",b.chipUnderEdit===a||a.value))},rhb=function(a){if(a&1){var b=u();E(0,"button",38);M("click",
function(){v(b);var c=N(3).$implicit,d=N(2);return x(Fs(d,c))});R(1);G()}a&2&&(a=N(3).$implicit,y(),S(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},shb=function(a){a&1&&(E(0,"div",26),C(1,qhb,2,1,"ng-container",27)(2,rhb,2,1,"button",28),G());a&2&&(a=N(2).$implicit,y(),D("ngForOf",a.values),y(),D("ngIf",a.type))},thb=function(a){if(a&1){var b=u();E(0,"div",34);M("click",function(){v(b);var d=N(2).$implicit,e=N(5);return x(Gs(e,d))});E(1,"span",35);R(2);G()()}if(a&2){a=N(2).$implicit;var c=
N(5);D("title",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value);y(2);S(" ",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value," ")}},uhb=function(a,b){a&1&&(E(0,"mat-option",13),R(1),G());a&2&&(a=b.$implicit,D("value",a.searchId),y(),S(" ",a.name," "))},vhb=function(a){if(a&1){var b=u();E(0,"mat-form-field",67)(1,"mat-select",69);M("ngModelChange",function(d){v(b);var e=N(2).$implicit;return x(e.value=d)})("selectionChange",function(){v(b);var d=
N(7);return x(Ds(d))});C(2,uhb,2,2,"mat-option",12);G()()}if(a&2){a=N(2).$implicit;var c=N(5);y();D("ngModel",a.value);y();D("ngForOf",c.userSavedSearches)}},whb=function(a){if(a&1){var b=u();E(0,"div",65);C(1,thb,3,2,"div",31)(2,vhb,3,2,"mat-form-field",66);E(3,"button",33);M("click",function(){v(b);var d=N().$implicit,e=N(3).$implicit,f=N(2);return x(Es(f,e,d))});G()()}if(a&2){a=N().$implicit;var c=N(5);y();D("ngIf",c.chipUnderEdit!==a);y();D("ngIf",c.chipUnderEdit===a)}},xhb=function(a,b){a&1&&
(K(0),C(1,whb,4,2,"div",64),L());a&2&&(a=b.$implicit,b=N(5),y(),D("ngIf",b.chipUnderEdit===a||a.value))},yhb=function(a){if(a&1){var b=u();E(0,"button",38);M("click",function(){v(b);var c=N(3).$implicit,d=N(2);return x(Fs(d,c))});R(1);G()}a&2&&(a=N(3).$implicit,y(),S(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},zhb=function(a){a&1&&(E(0,"div",26),C(1,xhb,2,1,"ng-container",27)(2,yhb,2,1,"button",28),G());a&2&&(a=N(2).$implicit,y(),D("ngForOf",a.values),y(),D("ngIf",a.type))},Ahb=function(a){a&
1&&(E(0,"div",22),C(1,Agb,3,2,"div",23)(2,Cgb,2,1,"div",24)(3,Hgb,5,4,"div",25)(4,Kgb,3,2,"div",23)(5,Rgb,3,2,"div",23)(6,Ygb,3,2,"div",23)(7,ghb,2,1,"div",23)(8,lhb,4,3,"div",25)(9,shb,3,2,"div",23)(10,zhb,3,2,"div",23),G());if(a&2){a=N().$implicit;var b=N(2);y();D("ngIf","repeated-enum"===a.getWidgetType());y();D("ngIf","enum"===a.getWidgetType());y();D("ngIf",a instanceof Hs);y();D("ngIf","text"==a.getWidgetType());y();D("ngIf","component"==a.getWidgetType());y();D("ngIf",b.isTrackerSearchEnabled&&
"tracker"==a.getWidgetType());y();D("ngIf","team"==a.getWidgetType());y();D("ngIf","date"===a.getWidgetType());y();D("ngIf","hotlist"==a.getWidgetType());y();D("ngIf","savedsearch"==a.getWidgetType())}},Bhb=function(a){a&1&&(E(0,"div",70),R(1),G());if(a&2){a=N().$implicit;var b=N(2);y();S(" ",b.getCustomFieldName(a)," ")}},Ehb=function(a){if(a&1){var b=u();E(0,"div",71)(1,"b-custom-field-picker",72);M("fieldSelected",function(c){v(b);var d=N().index,e=N(2),f=c.customFieldId;e.customFields[f]=c;e.expressions[d]=
Chb(e.searchRuleFactory,"CUSTOM_FIELD",e.customFields[f]);Dhb(e,e.expressions[d]);return x()});G()()}},Ghb=function(a,b){if(a&1){var c=u();E(0,"div",14)(1,"div",15)(2,"mat-form-field",10)(3,"mat-select",16);M("ngModelChange",function(d){var e=v(c).$implicit;return x(e.label.field=d)})("selectionChange",function(){var d=v(c).index,e=N(2);return x(Fhb(e,d))});C(4,rgb,2,2,"mat-option",12);G()();C(5,tgb,3,2,"mat-form-field",3);G();C(6,Ahb,11,10,"div",17)(7,Bhb,2,1,"div",18)(8,Ehb,2,0,"div",19);E(9,"button",
20);M("click",function(){var d=v(c).$implicit,e=N(2);return x(e.removeExpression(d))});G()()}a&2&&(a=b.$implicit,b=N(2),y(3),D("ngModel",a.label.field),y(),D("ngForOf",b.availableLabels),y(),D("ngIf",!a.isPendingCustomField),y(),D("ngIf",!a.isPendingCustomField),y(),D("ngIf",a.label.customFieldId),y(),D("ngIf",a.isPendingCustomField))},Hhb=function(a,b){if(a&1){var c=u();E(0,"button",73);M("click",function(){var d=v(c).$implicit,e=N(2);e.expressions.push({label:{field:d[0]}});Fhb(e,e.expressions.length-
1);return x()});R(1);G()}a&2&&(a=b.$implicit,y(),S(" ",a[1]," "))},Ihb=function(a){a&1&&(E(0,"div",1)(1,"span",2),R(2,"Advanced search query builder"),G(),C(3,qgb,4,4,"mat-form-field",3)(4,Ghb,10,6,"div",4),E(5,"div",5)(6,"button",6),R(7),G(),E(8,"mat-menu",7,8),C(10,Hhb,2,1,"button",9),G()()());if(a&2){var b=Q(9);a=N();y(3);D("ngIf",a.expressions.length);y();D("ngForOf",a.expressions)("ngForTrackBy",a.trackByIndex);y(2);D("matMenuTriggerFor",b);y();S(" ",a.expressionType," ... ");y(3);D("ngForOf",
a.availableLabels)}},Jhb=function(a){a&1&&I(0,"div",3)},Khb=function(a){a&1&&I(0,"div",4)},Mhb=function(a){if(a&1){var b=u();E(0,"button",2);M("click",function(){v(b);var c=N();return x(Lhb(c))});I(1,"mat-icon",3);R(2);G()}a&2&&(a=N(),D("matTooltip","Open release notes"),y(),D("svgIcon",a.alertMode?"release-notes-alert":"release-notes-default"),y(),S(" ",a.buttonLabel," "))},Nhb=function(a){if(a&1){var b=u();E(0,"button",4);M("click",function(){v(b);var c=N();return x(Lhb(c))});R(1);G()}a&2&&(a=N(),
y(),S(" ",a.buttonLabel," "))},Ohb=function(a){if(a&1){var b=u();E(0,"button",9);M("click",function(c){v(b);var d=N();return x(d.manageSlos(c))});R(1,"Manage SLOs");G()}},Phb=function(a){a&1&&(E(0,"a",13),R(1,"Early Access "),I(2,"b-feature-stage-label",14),G())},Qhb=function(a){a&1&&(K(0),I(1,"mat-divider")(2,"b-whats-new-button",15),L());a&2&&(y(2),D("menuMode",!0))},Rhb=function(a){a&1&&I(0,"b-whats-new-button",4);a&2&&(a=N(),D("alertMode",a.majorReleaseNotesUpdated))},Shb=function(a){if(a&1){var b=
u();E(0,"button",5);M("click",function(){v(b);var c=N();return x(c.openFeedbackDialog())});I(1,"mat-icon",6);G()}},Thb=function(a,b){if(a&1){var c=u();E(0,"button",6);M("click",function(){var d=v(c).$implicit,e=N();e.currentTracker.setTrackerId(d.trackerId);e.appSearchState.searchTriggered$.next("switch-trackers");return x()});I(1,"img",7);E(2,"span",8);R(3);G()()}a&2&&(a=b.$implicit,D("value",a.trackerId),pf("title",a.name),y(),D("src",null==a.branding?null:a.branding.logoUrl,Pd),y(2),$f(a.name))},
Uhb=function(a){if(a&1){var b=u();E(0,"button",5);M("click",function(){v(b);var c=N();return x(c.clickMenu.emit())});I(1,"mat-icon",6);G()}},Xhb=function(a,b){a&1&&(E(0,"output",7),R(1),G());a&2&&(a=b.$implicit,D("ngClass",a.color?fg(2,Vhb,a.color):eg(4,Whb)),y(),$f(a.name))},Yhb=function(a){a&1&&I(0,"tracker-switcher",2);a&2&&(a=N(),D("associatedTrackers",a.associatedTrackers))},Zhb=function(a){a&1&&(E(0,"span"),R(1," Currently selected hotlist: "),E(2,"strong"),R(3),G()());a&2&&(a=N(3),y(3),$f(a.header.hotlist.name))},
$hb=function(a){a&1&&R(0," Showing your subscribed hotlists. Start typing a hotlist name or ID to filter. ")},aib=function(a){a&1&&(K(0),C(1,Zhb,4,1,"span",5)(2,$hb,1,0,"ng-template",null,6,jg),L());if(a&2){var b=Q(3);a=N(2);y();D("ngIf",a.header.hotlist)("ngIfElse",b)}},bib=function(a){a&1&&(E(0,"span"),R(1,"Currently selected saved search: "),E(2,"strong"),R(3),G()());a&2&&(a=N(3),y(3),$f(a.header.savedSearch.name))},cib=function(a){a&1&&R(0," Showing your saved searches. Start typing a saved search name or ID to filter. ")},
dib=function(a){a&1&&(K(0),C(1,bib,4,1,"span",5)(2,cib,1,0,"ng-template",null,7,jg),L());if(a&2){var b=Q(3);a=N(2);y();D("ngIf",a.header.savedSearch)("ngIfElse",b)}},eib=function(a){a&1&&(E(0,"span"),R(1," and "),E(2,"strong"),R(3,"subcomponents"),G()())},fib=function(a){a&1&&(E(0,"span"),R(1," Currently selected component: "),E(2,"strong",9),R(3),G(),I(4,"b-component-access-level-indicator",10)(5,"b-tracker-chip-smart",11),C(6,eib,4,0,"span",4),G());if(a&2){a=N(3);y(3);var b=a.header.component,c=
Is(a.currentTracker,b.componentPathInfo);$f(c&&c.componentPathName?c.componentPathName.join(" > "):b.name);y();D("accessLevel",null==a.header.component.accessLimit?null:a.header.component.accessLimit.accessLevel);y();D("trackerId",a.header.component.trackerId);y();D("ngIf",a.header.includeChildren)}},gib=function(a){a&1&&R(0," Start typing a component name or ID to see auto-complete suggestions. ")},hib=function(a){a&1&&(K(0),C(1,fib,7,4,"span",5)(2,gib,1,0,"ng-template",null,8,jg),L());if(a&2){var b=
Q(3);a=N(2);y();D("ngIf",a.header.component)("ngIfElse",b)}},iib=function(a){a&1&&(E(0,"span"),R(1," Currently selected tracker: "),E(2,"strong"),R(3),G()());a&2&&(a=N(3),y(3),$f(a.header.tracker.name))},kib=function(a){a&1&&R(0," Start typing a tracker name or ID to see auto-complete suggestions. ")},lib=function(a){a&1&&(K(0),C(1,iib,4,1,"span",5)(2,kib,1,0,"ng-template",null,12,jg),L());if(a&2){var b=Q(3);a=N(2);y();D("ngIf",a.header.tracker)("ngIfElse",b)}},mib=function(a){a&1&&(E(0,"span"),R(1,
" and "),E(2,"strong"),R(3,"subteams"),G()())},nib=function(a){a&1&&(E(0,"span"),R(1," Currently selected team: "),E(2,"strong"),R(3),G(),C(4,mib,4,0,"span",4),G());a&2&&(a=N(3),y(3),$f(a.header.team.name),y(),D("ngIf",a.header.includeChildren))},oib=function(a){a&1&&R(0," Start typing a team name or ID to see auto-complete suggestions. ")},pib=function(a){a&1&&(K(0),C(1,nib,5,2,"span",5)(2,oib,1,0,"ng-template",null,13,jg),L());if(a&2){var b=Q(3);a=N(2);y();D("ngIf",a.header.team)("ngIfElse",b)}},
qib=function(a,b){a&1&&(E(0,"span"),R(1," Currently selected custom field: "),E(2,"strong"),R(3),G(),R(4," of type "),E(5,"strong"),R(6),T(7,"lowercase"),G(),R(8,". "),G());a&2&&(a=b.$implicit,y(3),$f(a.name),y(3),$f(V(7,2,a.type)))},rib=function(a){a&1&&R(0," Start typing a custom field name or ID to see auto-complete suggestions. ")},sib=function(a){a&1&&(K(0),C(1,qib,9,4,"span",5)(2,rib,1,0,"ng-template",null,14,jg),L());if(a&2){var b=Q(3);a=N(2);y();D("ngIf",a.header.customField)("ngIfElse",b)}},
tib=function(a){a&1&&(E(0,"div",3),C(1,aib,4,2,"ng-container",4)(2,dib,4,2,"ng-container",4)(3,hib,4,2,"ng-container",4)(4,lib,4,2,"ng-container",4)(5,pib,4,2,"ng-container",4)(6,sib,4,2,"ng-container",4),G());a&2&&(a=N(),y(),D("ngIf","hotlist"===a.header.type),y(),D("ngIf","savedsearch"===a.header.type),y(),D("ngIf","component"===a.header.type),y(),D("ngIf","tracker"===a.header.type),y(),D("ngIf","team"===a.header.type),y(),D("ngIf","customfield"===a.header.type))},uib=function(a){a&1&&(E(0,"span"),
R(1),G());a&2&&(a=N().$implicit,y(),ag(" ",a.id,": ",a.name," "))},vib=function(a){a&1&&(E(0,"span"),R(1),E(2,"span"),R(3),G()());a&2&&(a=N().$implicit,y(),S(" Hotlist ",a.id,": "),y(2),$f(a.name))},wib=function(a){a&1&&(E(0,"span"),R(1),E(2,"span"),R(3),G(),I(4,"br"),E(5,"span",16),R(6),G()());a&2&&(a=N().$implicit,y(),S(" Saved search ",a.id,": "),y(2),$f(a.name),y(3),$f(a.query))},xib=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N().$implicit,y(),S(" ",a.name," "))},yib=function(a){a&1&&(E(0,
"span"),R(1," > "),G())},Aib=function(a,b){if(a&1){var c=u();K(0);E(1,"span",19);M("click",function(d){var e=v(c).$implicit;zib(e);return x(d.stopPropagation())});R(2);G();C(3,yib,2,0,"span",4);L()}a&2&&(a=b.$implicit,b=b.last,y(),Pf("title","",a.id,": ",a.name,""),y(),$f(a.name),y(),D("ngIf",!b))},Bib=function(a){a&1&&(E(0,"span"),R(1," Component "),E(2,"strong",9),R(3),G(),I(4,"b-component-access-level-indicator",10)(5,"b-tracker-chip-smart",11),E(6,"span",17),C(7,Aib,4,4,"ng-container",18),G()());
a&2&&(a=N().$implicit,y(3),$f(a.id),y(),D("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),y(),D("trackerId",a.trackerId),y(2),D("ngForOf",a.componentPath))},Cib=function(a){a&1&&(E(0,"span"),R(1),E(2,"span"),R(3),G()());a&2&&(a=N().$implicit,y(),S(" Tracker ",a.id,": "),y(2),$f(a.name))},Dib=function(a){a&1&&(E(0,"span"),R(1," > "),G())},Eib=function(a,b){if(a&1){var c=u();K(0);E(1,"span",19);M("click",function(d){var e=v(c).$implicit;zib(e);return x(d.stopPropagation())});R(2);
G();C(3,Dib,2,0,"span",4);L()}a&2&&(a=b.$implicit,b=b.last,y(),Pf("title","",a.id,": ",a.name,""),y(),$f(a.name),y(),D("ngIf",!b))},Fib=function(a){a&1&&(E(0,"span"),R(1," Team "),E(2,"strong"),R(3),G(),E(4,"span",17),C(5,Eib,4,4,"ng-container",18),G()());a&2&&(a=N().$implicit,y(3),$f(a.id),y(2),D("ngForOf",a.teamPath))},Gib=function(a){a&1&&(E(0,"span"),R(1," > "),G())},Hib=function(a,b){a&1&&(K(0),E(1,"span"),R(2),G(),C(3,Gib,2,0,"span",4),L());a&2&&(a=b.$implicit,b=b.last,y(2),$f(a),y(),D("ngIf",
!b))},Iib=function(a){a&1&&(E(0,"span"),R(1),E(2,"span"),R(3),G(),E(4,"span",20),C(5,Hib,4,2,"ng-container",18),G()());a&2&&(a=N().$implicit,y(),S(" Custom Field ",a.id,": "),y(2),$f(a.name),y(2),D("ngForOf",a.componentPathNames))},Jib=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N().$implicit,y(),ag(" ",a.label,": ",a.name," "))},Lib=function(a,b){if(a&1){var c=u();E(0,"b-app-search-auto-complete-option",15);M("optionClicked",function(e){v(c);var f=N();0<=e&&e<f.items.length&&(e=f.items[e],e.id&&
e.completionCfg&&Kib(e),f.itemSelected.emit(e));return x()});C(1,uib,2,2,"span",4)(2,vib,4,2,"span",4)(3,wib,7,3,"span",4)(4,xib,2,1,"span",4)(5,Bib,8,4,"span",4)(6,Cib,4,2,"span",4)(7,Fib,6,2,"span",4)(8,Iib,6,3,"span",4)(9,Jib,2,2,"span",4);G()}if(a&2){a=b.$implicit;b=b.index;var d=N();rf("id","b-app-search-option-",b,"");D("index",b)("isActive",0<=b&&b<d.items.length?b===d.activeItemIndex:!1);y();D("ngIf","issue"===a.completionCfg.type);y();D("ngIf","hotlist"===a.completionCfg.type);y();D("ngIf",
"savedsearch"===a.completionCfg.type);y();D("ngIf","atom"===a.completionCfg.type);y();D("ngIf","component"===a.completionCfg.type);y();D("ngIf","tracker"===a.completionCfg.type);y();D("ngIf","team"===a.completionCfg.type);y();D("ngIf","customField"===a.completionCfg.type);y();D("ngIf",!d.SPECIAL_ITEM_TYPES.includes(a.completionCfg.type))}},Nib=function(a){if(a&1){var b=u();E(0,"div",21)(1,"input",22,23);M("ngModelChange",function(c){v(b);var d=N();return x(d.searchName=c)})("keydown.Tab",function(){v(b);
var c=N();return x(Mib(c))})("keydown.enter",function(){v(b);var c=N();return x(c.saveSearch())});G();E(3,"button",24);M("click",function(){v(b);var c=N();return x(c.saveSearch())});I(4,"mat-icon",25);G()()}a&2&&(a=N(),y(),D("ngModel",a.searchName),y(2),D("disabled",!a.searchName))},Oib=function(a){a&1&&(K(0),E(1,"span",10),R(2),G(),L());a&2&&(a=N(),y(),yf("muted",a.disabled),y(),$f(a.cardTitle))},Pib=function(a){a&1&&I(0,"mat-icon",11)},Qib=function(a){a&1&&I(0,"mat-icon",12)},Rib=function(a){a&
1&&(E(0,"mat-select-trigger"),I(1,"mat-icon",20),E(2,"span"),R(3),G()());a&2&&(a=N(3),y(),D("svgIcon",a.selectedOption.icon),y(2),$f(a.selectedOption.displayText))},Sib=function(a){a&1&&I(0,"mat-icon",20);a&2&&(a=N().$implicit,D("svgIcon",a.icon))},Tib=function(a,b){a&1&&(E(0,"mat-option",21),C(1,Sib,1,1,"mat-icon",22),R(2),G());a&2&&(a=b.$implicit,D("value",a),y(),D("ngIf",a.icon),y(),S("",a.displayText," "))},Uib=function(a){if(a&1){var b=u();E(0,"mat-form-field",16)(1,"mat-label");R(2," Choose type... ");
G();E(3,"mat-select",17);M("valueChange",function(c){v(b);var d=N(2);return x(d.selectedOption=c)})("selectionChange",function(c){v(b);N(2).dropdownSelectionChanged.emit(c.value);return x()});C(4,Rib,4,2,"mat-select-trigger",18)(5,Tib,3,3,"mat-option",19);G()()}a&2&&(a=N(2),y(3),D("disabled",a.disabled)("value",a.selectedOption),y(),D("ngIf",a.selectedOption&&a.selectedOption.icon),y(),D("ngForOf",a.dropdownOptions))},Vib=function(a){if(a&1){var b=u();E(0,"mat-form-field",13)(1,"input",14);M("ngModelChange",
function(c){v(b);var d=N();return x(d.cardTitleChange.emit(c))});G()();C(2,Uib,6,4,"mat-form-field",15)}a&2&&(a=N(),y(),yf("muted",a.disabled||!a.selected),D("placeholder",a.placeholderForCardTitle)("disabled",a.disabled||!a.selected)("ngModel",a.cardTitle),pf("aria-label",a.ariaLabelForCardTitle),y(),D("ngIf",a.dropdownOptions.length))},Wib=function(a){a&1&&(E(0,"div",23),Mf(1),G())},Xib=function(a){a&1&&(E(0,"button",31),I(1,"mat-icon",32),G());a&2&&(a=N(2),D("disabled",a.disabled))},Yib=function(a){a&
1&&I(0,"mat-divider",33);a&2&&D("vertical",!0)},Zib=function(a){a&1&&(E(0,"mat-slide-toggle",34),R(1," Required "),G());a&2&&(a=N(2),D("disabled",a.disabled))},$ib=function(a){if(a&1){var b=u();E(0,"mat-slide-toggle",35);M("change",function(c){v(b);var d=N(2);return x(d.isInheritedChange.emit(c))});R(1," Inherited ");G()}a&2&&(a=N(2),D("checked",a.isInherited)("disabled",a.inheritedDisabled)("matTooltip",a.inheritedDisabledTooltipText)("matTooltipDisabled",!a.inheritedDisabled))},ajb=function(a){if(a&
1){var b=u();E(0,"div",24)(1,"button",25);M("click",function(){v(b);var c=N();return x(c.onSave())});R(2," Save ");G();E(3,"button",26);M("click",function(){v(b);var c=N();return x(c.onCancel())});R(4," Cancel ");G();C(5,Xib,2,1,"button",27)(6,Yib,1,1,"mat-divider",28)(7,Zib,2,1,"mat-slide-toggle",29)(8,$ib,2,4,"mat-slide-toggle",30);G()}a&2&&(a=N(),y(),D("disabled",a.isSaveButtonDisabled),y(2),D("disabled",a.disabled),y(2),D("ngIf",a.showDeleteButton),y(),D("ngIf",a.showDeleteButton&&a.showRequiredToggle),
y(),D("ngIf",a.showRequiredToggle),y(),D("ngIf",a.showInheritedToggle))},bjb=function(a){return iva(a.getIt())},cjb=function(a){a&1&&(E(0,"h3"),R(1),G());a&2&&(a=N(2),y(),S(" Edit Custom Field ",a.editableField.customFieldId," "))},djb=function(a){a&1&&(E(0,"h3"),R(1," Create Custom Field "),G())},ejb=function(a){a&1&&(E(0,"div",40),R(1),G());a&2&&(a=N(2),y(),S(" ",a.serverError," "))},gjb=function(a,b){a&1&&(E(0,"button",41),R(1),T(2,"enumToHuman"),G());if(a&2){a=b.$implicit;N();var c=Q(32);D("matMenuTriggerFor",
c)("matMenuTriggerData",fg(5,fjb,a));y();S(" ",V(2,3,a)," ")}},hjb=function(a,b){if(a&1){var c=u();E(0,"button",43);M("click",function(){var d=v(c).$implicit,e=N().type,f=N(2);return x(f.setType(e,"Multiple"===d))});R(1);G()}a&2&&(a=b.$implicit,y(),S(" ",a," "))},ijb=function(a){a&1&&C(0,hjb,2,1,"button",42);a&2&&(a=N(2),D("ngForOf",a.secondaryTypes))},kjb=function(a){if(a&1){var b=u();E(0,"td",7)(1,"label",44);R(2," Allowed Values: ");G();E(3,"b-list-field",45);M("valuesChange",function(c){v(b);
var d=N(2);return x(jjb(d,c.values))});G()()}a&2&&(a=N(2),y(3),D("defaultLineCount",3)("type",a.ListFieldType.REPEATED_TEXT)("values",a.editableField.allowedValue||null)("listFieldDisabled",a.isSaving)("preventDuplicates",!0)("isDefaultOrAllowedValues",!0)("truncate",!0))},ljb=function(a){a&1&&(E(0,"label",46),R(1," Default Value: "),G())},ojb=function(a,b){if(a&1){var c=u();E(0,"b-edit-field",47);M("valueChange",function(d){v(c);var e=N(2);mjb(e,d);return x()});G()}a&2&&(a=b.ngIf,b=N(2),D("name",
"Default")("type",a)("tooltip","Set default value")("value",njb(b))("choices",b.allowedValues)("showEnumTitle",!0)("disabled",b.isSaving)("truncate",!0)("clearable",!0))},pjb=function(a){a&1&&(E(0,"label",48),R(1," Default Values: "),G())},qjb=function(a,b){if(a&1){var c=u();E(0,"b-list-field",49);M("valuesChange",function(d){v(c);var e=N(2);mjb(e,d.values);return x()});G()}a&2&&(a=b.ngIf,b=N(2),D("defaultLineCount",3)("type",a)("tooltip","Set default values")("values",b.getListFieldValues())("enumChoices",
b.allowedValues)("isDefaultOrAllowedValues",!0)("listFieldDisabled",b.isSaving)("truncate",!0))},rjb=function(a,b){if(a&1){var c=u();E(0,"button",50);M("click",function(){var d=v(c).$implicit,e=N(2);return x(e.setFieldSignificance(d))});R(1);T(2,"enumToHuman");G()}a&2&&(a=b.$implicit,y(),S(" ",V(2,1,a)," "))},sjb=function(a){if(a&1){var b=u();E(0,"div",4);C(1,cjb,2,1,"h3",3)(2,djb,2,0,"h3",3)(3,ejb,2,1,"div",5);E(4,"form",6)(5,"div",7)(6,"label",8);R(7,"Name:");G();E(8,"input",9);M("ngModelChange",
function(h){v(b);var k=N();return x(k.editableField.name=h)});G()();E(9,"div",7)(10,"label",10);R(11,"Description:");G();E(12,"textarea",11);M("ngModelChange",function(h){v(b);var k=N();return x(k.editableField.description=h)});G()();E(13,"table",12)(14,"tr")(15,"td",7)(16,"div",13)(17,"label",14);R(18," Type: ");G();E(19,"onedev-hovercard",null,15)(21,"div",16)(22,"div",17);R(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. ");
G()()()();E(24,"button",18);R(25);T(26,"enumToHuman");I(27,"b-icon",19);G();E(28,"mat-menu",null,20);C(30,gjb,3,7,"button",21);G();E(31,"mat-menu",null,22);C(33,ijb,1,1,"ng-template",23);G()();C(34,kjb,4,7,"td",24);E(35,"td",7);C(36,ljb,2,0,"label",25)(37,ojb,1,9,"b-edit-field",26)(38,pjb,2,0,"label",27)(39,qjb,1,8,"b-list-field",28);G();E(40,"td",7)(41,"label",29);R(42," Required: ");G();E(43,"b-edit-field",30);M("valueChange",function(h){v(b);var k=N();return x(k.editableField.required=!!h)});G()();
E(44,"td",7)(45,"div",13)(46,"label",31);R(47," Field Significance: ");G();E(48,"onedev-hovercard",null,32)(50,"div",33)(51,"div",17);R(52," This affects whether users will receive notifications when changes are made to this field. ");I(53,"br");R(54," See\u00a0 ");E(55,"a",34);R(56,"Email Settings ");G()()()()();E(57,"button",35);R(58);T(59,"enumToHuman");I(60,"b-icon",19);G();E(61,"mat-menu",null,36);C(63,rjb,3,3,"button",37);G()()()();E(64,"button",38);M("click",function(){v(b);var h=N();return x(h.save())});
R(65," Save ");G();E(66,"button",39);M("click",function(){v(b);var h=N();return x(h.cancel())});R(67," Cancel ");G()()()}if(a&2){var c=Q(20),d=Q(29),e=Q(49),f=Q(62);a=N();y();D("ngIf",!!a.editableField.customFieldId);y();D("ngIf",!a.editableField.customFieldId);y();D("ngIf",a.serverError);y(5);D("bFocus",a.editableField&&!a.isLoading)("ngModel",a.editableField.name)("disabled",a.isSaving);y(4);D("ngModel",a.editableField.description)("disabled",a.isSaving);y(5);D("onedevHovercardTrigger",c);y(7);
D("matMenuTriggerFor",d)("disabled",!!a.editableField.customFieldId);y();S(" ",V(26,28,a.editableField.type)," ");y(5);D("ngForOf",a.typeChoices);y(4);D("ngIf",["REPEATED_ENUM","ENUM"].includes(a.editableField.type));y(2);D("ngIf",!a.isRepeated(a.editableField));y();D("ngIf",a.getSingleEditFieldType(a.editableField));y();D("ngIf",a.isRepeated(a.editableField));y();D("ngIf",a.getListFieldType(a.editableField));y(4);D("name","Required")("type",a.FieldType.BOOL)("tooltip","Whether the field is required")("value",
a.editableField.required);y(3);D("onedevHovercardTrigger",e);y(9);D("href",a.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",Pd);y(2);D("matMenuTriggerFor",f);y();S(" ",V(59,30,a.editableField.fieldSignificance)," ");y(5);D("ngForOf",a.significanceChoices);y();D("disabled",!a.hasUnsavedChanges()||!a.editableField.name)}},tjb=function(a){a&1&&(E(0,"div",51),I(1,"b-spinner",52),G());a&2&&(y(),D("large",!0))},ujb=function(a){a&1&&(E(0,"th"),R(1,"Actions"),G())},wjb=function(a){if(a&
1){var b=u();E(0,"td",59)(1,"button",60);M("click",function(){v(b);var c=N().index,d=N(2);return x(d.editField(c))});R(2,"Edit");G();E(3,"button",60);M("click",function(){v(b);var c=N().index,d=N(2);return x(vjb(d,c))});R(4,"Delete");G()()}},xjb=function(a,b){a&1&&(E(0,"tr",56)(1,"td"),R(2),G(),E(3,"td"),R(4),G(),E(5,"td"),R(6),T(7,"enumToHuman"),G(),E(8,"td"),R(9),G(),E(10,"td"),R(11),T(12,"yesNo"),G(),E(13,"td"),I(14,"b-custom-field-value-display",57),G(),E(15,"td"),R(16),T(17,"arrayToHuman"),G(),
E(18,"td"),R(19),T(20,"enumToHuman"),G(),C(21,wjb,5,0,"td",58),G());a&2&&(a=b.$implicit,b=N(2),D("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field"),y(2),$f(a.name),y(2),$f(a.customFieldId),y(2),$f(V(7,10,a.type)),y(3),$f(a.description),y(2),$f(V(12,12,a.required)),y(3),D("customFieldValue",a.typedDefaultValue),y(2),$f(V(17,14,a.allowedValue)),y(3),$f(V(20,16,a.fieldSignificance)),y(2),D("ngIf",b.editMode))},yjb=function(a){a&1&&(E(0,"tr")(1,"td",61),R(2," There are no custom fields defined on this component. "),
G()())},zjb=function(a){a&1&&(E(0,"tr")(1,"td",62)(2,"strong"),R(3,"Fields inherited from parent components"),G()()())},Ajb=function(a){a&1&&(K(0),I(1,"b-component-card",69,70),L());if(a&2){var b=Q(2);a=N().$implicit;y();D("onedevIsHovercardReady",b.init)("componentId",a.componentId.toString())}},Cjb=function(a){if(a&1){var b=u();E(0,"b-field-state-menu",71,72);M("fieldStateChange",function(d){v(b);var e=N(),f=e.$implicit;e=e.index;var h=N(3);return x(h.updateCustomFieldState(f,d,e))});G()}if(a&2){a=
N().$implicit;var c=N(3);D("fieldName",a.name)("fieldState",a.stateOnIssues)("enabledOnParent",Bjb(c,a.customFieldId))("disabled",!c.editMode)("matTooltip",c.msgFieldStateTip);pf("aria-label",c.msgFieldStateTip)}},Djb=function(a,b){if(a&1){var c=u();E(0,"tr",56)(1,"td");R(2);G();E(3,"td");R(4);G();E(5,"td");R(6);T(7,"enumToHuman");G();E(8,"td");R(9);G();E(10,"td");R(11);T(12,"yesNo");G();E(13,"td");I(14,"b-custom-field-value-display",57);G();E(15,"td");R(16);T(17,"arrayToHuman");G();E(18,"td");R(19);
T(20,"enumToHuman");G();E(21,"td",59)(22,"div",63)(23,"div",64);R(24,"Inherited From");G();E(25,"a",65);M("click",function(){v(c);var e=N(3);return x(e.trackClick("parentCustomFields"))});R(26);G();E(27,"onedev-hovercard",null,66);C(29,Ajb,3,2,"ng-container",67);G()();C(30,Cjb,2,6,"b-field-state-menu",68);G()()}if(a&2){a=b.$implicit;var d=Q(28);b=N(3);D("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field");y(2);$f(a.name);y(2);$f(a.customFieldId);y(2);$f(V(7,13,a.type));y(3);$f(a.description);
y(2);$f(V(12,15,a.required));y(3);D("customFieldValue",a.typedDefaultValue);y(2);$f(V(17,17,a.allowedValue));y(3);$f(V(20,19,a.fieldSignificance));y(6);D("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId,"customFields"),Pd);y();S(" ",b.componentIdsToNames[a.componentId]," ");y(4);D("ngIf",b.editMode)}},Ejb=function(a){a&1&&(K(0),C(1,Djb,31,21,"tr",54),L());a&2&&(a=N(2),y(),D("ngForOf",a.inheritedCustomFields))},Fjb=function(a){a&1&&(E(0,"tfoot")(1,"tr")(2,"td",62),R(3," Custom fields in this table are sorted alphabetically. To see or modify field ordering, go to the "),
E(4,"a",73),R(5,"Field Ordering"),G(),R(6," tab."),I(7,"br"),R(8," Before removing custom fields or adding/changing required state, ensure that no automation depends on them. "),G()()())},Gjb=function(a){if(a&1){var b=u();E(0,"div",74)(1,"button",75);M("click",function(){v(b);var c=N(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=Uh(c.editableField);c.setType("TEXT");c.allowedValues=[];c.serverError=null;return x()});R(2," Add a Custom Field ");G()()}},Hjb=function(a){a&1&&(E(0,"div")(1,"table",53)(2,"tr")(3,"th"),R(4,"Name"),G(),E(5,"th"),R(6,"ID"),G(),E(7,"th"),R(8,"Type"),G(),E(9,"th"),R(10,"Description"),G(),E(11,"th"),R(12,"Required?"),G(),E(13,"th"),R(14,"Default Value"),G(),E(15,"th"),R(16,"Allowed Values"),G(),E(17,"th"),R(18,"Field Significance"),G(),C(19,ujb,2,0,"th",3),G(),
C(20,xjb,22,18,"tr",54)(21,yjb,3,0,"tr",3)(22,zjb,4,0,"tr",3)(23,Ejb,2,1,"ng-container",3)(24,Fjb,9,0,"tfoot",3),G(),C(25,Gjb,3,0,"div",55),G());a&2&&(a=N(),y(19),D("ngIf",a.editMode),y(),D("ngForOf",a.customFields),y(),D("ngIf",!a.customFields.length),y(),D("ngIf",a.inheritedCustomFields.length),y(),D("ngIf",a.inheritedCustomFields.length),y(),D("ngIf",a.customFields.length),y(),D("ngIf",a.editMode))},Ijb=function(a){if(a&1){var b=u();E(0,"button",18);M("click",function(){v(b);var c=N().index,d=
N();return x(d.removeAtIndex.emit(c))});I(1,"mat-icon",19);G()}a&2&&(a=N().$implicit,pf("aria-label","Delete row "+a.label))},Jjb=function(a,b){if(a&1){var c=u();E(0,"div",9)(1,"div",10);I(2,"mat-icon",11);E(3,"div",1)(4,"mat-form-field",12)(5,"input",13,14);M("change",function(f){var h=v(c).index,k=N();k.options[h].label=f.target.value;k.optionsChange.emit(k.options);return x()});G()()();E(7,"div",1)(8,"mat-form-field",12)(9,"input",15,16);M("change",function(f){var h=v(c).index,k=N();return x(k.valueChange(f,
h))});G()()();C(11,Ijb,2,1,"button",17);G()()}if(a&2){a=b.$implicit;var d=Q(6),e=Q(10);b=N();y(4);D("appearance",d.focused||e.focused?"standard":"none");y();yf("muted",b.disabled);D("value",a.label)("placeholder",null==a.label?"Dropdown value":"")("disabled",b.disabled);y(3);D("appearance",d.focused||e.focused?"standard":"none");y();yf("muted",b.disabled);D("value",a.value)("placeholder",null==a.value?"Average days":"")("disabled",b.disabled);y(2);D("ngIf",!b.disabled)}},Kjb=function(a){if(a&1){var b=
u();E(0,"button",20);M("click",function(){v(b);var c=N();return x(c.addRow.emit())});R(1," Add row\n");G()}},Ljb=function(a){a&1&&Gf(0)},Mjb=function(a){a&1&&(K(0),C(1,Ljb,1,0,"ng-container",5),L());if(a&2){N();var b=Q(7);y();D("ngTemplateOutlet",b)}},Njb=function(a){if(a&1){var b=u();K(0);E(1,"b-numeric-config",6);M("valueChange",function(c){v(b);var d=N();return x(d.numericSpecMultiplier=c)});G();L()}a&2&&(a=N(),y(),D("disabled",a.disabled)("value",a.numericSpecMultiplier))},Ojb=function(a){a&1&&
Gf(0)},Pjb=function(a){if(a&1){var b=u();E(0,"div",7)(1,"label",8);R(2,"Aggregation Rule");G();E(3,"a",9);I(4,"mat-icon",10);G();I(5,"br");E(6,"mat-form-field",11)(7,"mat-select",12);M("valueChange",function(c){v(b);var d=N();return x(d.selectedAggregationRule=c)});E(8,"mat-select-trigger");R(9);T(10,"aggregationRuleText");G();E(11,"mat-option",13)(12,"div",14);R(13);T(14,"aggregationRuleText");G();E(15,"div",15);R(16,"All parents and children are added to the total");G()();E(17,"mat-option",13)(18,
"div",14);R(19);T(20,"aggregationRuleText");G();E(21,"div",15);R(22,"Take the assigned estimate if larger than total of all immediate children");G()()()()()}a&2&&(a=N(),y(7),D("value",a.selectedAggregationRule)("disabled",a.disabled),y(2),S(" ",V(10,7,a.selectedAggregationRule)," "),y(2),D("value",a.aggregationRules.SUM),y(2),$f(V(14,9,a.aggregationRules.SUM)),y(4),D("value",a.aggregationRules.MAX),y(2),$f(V(20,11,a.aggregationRules.MAX)))},Qjb=function(a){if(a&1){var b=u();E(0,"b-config-grid",16);
M("optionsChange",function(c){v(b);var d=N();return x(d.enumSpecOptions=c)})("addRow",function(){v(b);var c=N();return x(c.addRow())})("removeAtIndex",function(c){v(b);N().enumSpecOptions.splice(c,1);return x()});G()}a&2&&(a=N(),D("options",a.enumSpecOptions)("disabled",a.disabled||a.inherit))},Rjb=function(a){a&1&&(E(0,"div",8),I(1,"b-team-warning",9),G());a&2&&(a=N().ngIf,y(),D("warningType",a)("messageOnly",!0))},Sjb=function(a,b){a&1&&(K(0),C(1,Rjb,2,2,"div",7),L());a&2&&(a=b.ngIf,b=N(),y(),D("ngIf",
b.isAdmin&&("MISSING"===a||"DELETED"===a)))},Tjb=function(a){if(a&1){var b=u();E(0,"div",10)(1,"mat-checkbox",11);M("change",function(c){v(b);var d=N();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 x()});R(2," Override the inherited team ");G()()}a&2&&(a=N(),y(),D("disabled",!a.isAdmin)("checked",!a.inherit))},Vjb=function(a){if(a&1){var b=u();E(0,"a",13);M("click",
function(){v(b);N(2);$m(Sp.MANAGE_COMPONENT,"navigate","to-internal-team-page");return x()});I(1,"mat-icon",14);G()}a&2&&(a=N(2),D("routerLink",Ujb(a)?"/teams/"+a.model.id+"/edit":null)("target",a.anchorTarget))},Wjb=function(a){a&1&&(K(0),C(1,Vjb,2,2,"a",12),L());a&2&&(a=N(),y(),D("ngIf",Ujb(a)))},Xjb=function(a){if(a&1){var b=u();E(0,"a",16);M("click",function(){v(b);var c=N(2);$m(Sp.MANAGE_COMPONENT,"linkout-moma","team",Number(c.model.id));return x()});I(1,"mat-icon",14);G()}a&2&&(a=N(2),pf("href",
a.getMomaTeamLink(),Pd))},Yjb=function(a){a&1&&C(0,Xjb,2,1,"a",15);a&2&&(a=N(),D("ngIf",Ujb(a)))},akb=function(a,b){if(a&1){var c=u();E(0,"li",11);M("keydown",function(e){var f=v(c).index,h=N();return x(h.onKeyDown(e,f))})("focus",function(){var e=v(c).index,f=N();return x(f.onFocus(e))});I(1,"mat-icon",12);E(2,"span");R(3);G();E(4,"div",13)(5,"button",14);M("click",function(){var e=v(c).index,f=N();return x(Zjb(f,e))});I(6,"mat-icon",15);G();E(7,"button",16);M("click",function(){var e=v(c).index,
f=N();return x($jb(f,e))});I(8,"mat-icon",17);G()()()}if(a&2){a=b.$implicit;b=b.index;var d=N();pf("aria-label",a.name)("aria-grabbed",b===d.grabbedIndex);y(3);$f(a.name);y(2);yf("invisible",0===b);y(2);yf("invisible",b===d.fields.length-1)}},bkb=function(a){a&1&&(E(0,"th",14),R(1," Order"),G())},ckb=function(a,b){a&1&&(E(0,"td",15),R(1),G());a&2&&(a=b.index,y(),S(" ",a+1," "))},dkb=function(a){a&1&&(E(0,"th",14),R(1," Name"),G())},ekb=function(a,b){a&1&&(E(0,"td",15),R(1),G());a&2&&(a=b.$implicit,
y(),S(" ",a.name," "))},fkb=function(a){a&1&&(E(0,"th",14),R(1," Type"),G())},gkb=function(a,b){a&1&&(E(0,"td",15),R(1),T(2,"toCustomFieldTypeDisplayValue"),G());a&2&&(a=b.$implicit,y(),S(" ",V(2,1,a.type)," "))},hkb=function(a){a&1&&(E(0,"th",14),R(1," Required"),G())},ikb=function(a,b){a&1&&(E(0,"td",15),R(1),G());a&2&&(a=b.$implicit,y(),S(" ",a.required?"Yes":"No"," "))},jkb=function(a){a&1&&(E(0,"th",14),R(1," ID"),G())},kkb=function(a,b){a&1&&(E(0,"td",15),R(1),G());a&2&&(a=b.$implicit,y(),S(" ",
a.customFieldId," "))},lkb=function(a){a&1&&I(0,"tr",16)},mkb=function(a){a&1&&I(0,"tr",17)},nkb=function(a){a&1&&(E(0,"div",18),R(1," There are no custom fields defined on this component. "),G())},qkb=function(a){if(a&1){var b=u();E(0,"div",19)(1,"div")(2,"button",20);M("click",function(){v(b);var c=N();return x(okb(c))});R(3," Reorder fields ");G();E(4,"button",20);M("click",function(){v(b);var c=N();return x(pkb(c))});R(5," Reset ordering ");G()()()}a&2&&(a=N(),y(2),D("disabled",0===a.fields.length),
y(2),D("disabled","CUSTOMIZED"!==a.fieldOrdering))},rkb=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N(),y(),a=a.lineNumbers.length,S(" (",a+(1==a?" TODO":" TODOs"),") "))},tkb=function(a,b){if(a&1){var c=u();E(0,"li",5)(1,"a",6);M("click",function(){v(c);var d=N(2);return x(d.trackClick("lineNumber"))});R(2);G()()}a&2&&(a=b.$implicit,b=N(2),y(),D("href",skb(b,a),Pd),y(),$f(a))},ukb=function(a){a&1&&(E(0,"span"),R(1," ("),E(2,"ul",3),C(3,tkb,3,2,"li",4),G(),R(4,") "),G());a&2&&(a=N(),y(3),D("ngForOf",
a.lineNumbers))},vkb=function(a){a&1&&(E(0,"a",10),R(1," Create Component "),G());a&2&&(a=N(),D("href",a.createComponentPath,Pd))},wkb=function(a){if(a&1){var b=u();E(0,"xap-dialog-layout",11)(1,"xap-dialog-layout-content")(2,"b-team-component-picker",12);M("selectedComponentChange",function(d){v(b);var e=N();return x(e.viewComponent(null!==d&&void 0!==d?d:null,"openFromSearch"))});T(3,"async");G()()()}if(a&2){a=N();var c;y(2);D("includeArchived",null!==(c=V(3,4,a.includeArchived$))&&void 0!==c?c:
!1)("placeholder","Choose Component to navigate to that component")("shouldFocus",!0)("isRequired",!1)}},ykb=function(a){if(a&1){var b=u();E(0,"div",13)(1,"b-slide-toggle",14);M("modelChange",function(d){v(b);var e=N();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&&xkb(e,d,(0,W.firstValueFrom)(e.topLevelComponents$));return x()});T(2,"async");G()()}if(a&
2){a=N();var c;y();D("model",null!==(c=V(2,2,a.includeArchived$))&&void 0!==c?c:!1)("tooltip",a.includeArchived?"Show archived components.":"Hide archived components.")}},zkb=function(a){a&1&&(E(0,"div",15),I(1,"b-spinner",16),G())},Akb=function(a){a&1&&(E(0,"p",3),R(1),G());a&2&&(a=N(),y(),$f(a.packageMentionSet.packageName))},Bkb=function(a,b){a&1&&(E(0,"li"),I(1,"b-file-mention",4),G());a&2&&(a=b.$implicit,b=N(),y(),D("issueId",b.issueId)("packageName",b.packageMentionSet.packageName)("filename",
a.filename)("lineNumbers",a.lineNumber)("changeNumber",a.changeNumber))},Ekb=function(a){a&1&&(E(0,"span"),R(1),E(2,"b"),R(3),G(),R(4," on "),E(5,"b"),R(6),T(7,"date"),G(),R(8,". "),G());a&2&&(a=N(4),y(),S(" Currently, the ",a.contentType," is scheduled for deletion in "),y(2),$f(Ckb(Dkb(a).getTime(),!0)),y(3),$f(ig(7,3,Dkb(a),"longDate")))},Fkb=function(a){a&1&&(E(0,"span")(1,"b"),R(2,"Retention:"),G(),R(3),E(4,"b"),R(5),G(),R(6," from the last modification of the issue. "),C(7,Ekb,9,6,"span",11),
G());if(a&2){a=N(3);var b=Q(10);y(3);S(" This ",a.contentType," has a retention period of ");y(2);$f(a.getRetentionPeriod());y(2);D("ngIf",!(Dkb(a).getTime()<(new Yh).getTime()))("ngIfElse",b)}},Gkb=function(a){a&1&&(R(0),E(1,"b"),R(2,"overridden"),G(),R(3," retention period set to match the issue retention period. "));a&2&&(a=N(3),S(" The ",a.contentType," has an "))},Hkb=function(a){a&1&&(E(0,"p",10),C(1,Fkb,8,4,"span",11)(2,Gkb,4,1,"ng-template",12),G());if(a&2){a=N(2);var b=Q(8);D("ngSwitch",
a.retention);y();D("ngIf",!(a.retentionState&&!a.retentionState.scheduledDeletionTime))("ngIfElse",b);y();D("ngSwitchCase",a.retentionModel.INDEFINITE)}},Ikb=function(a){a&1&&(E(0,"div",7)(1,"p")(2,"b"),R(3,"Restricted Access:"),G(),R(4),E(5,"a",8),R(6," Learn More "),G()(),C(7,Hkb,3,4,"p",9),G());a&2&&(a=N(),y(4),S(" This ",a.contentType," is only available to users with the appropriate permissions. "),y(),D("rel",a.EXTERNAL_LINK_REL),pf("href",a.documentationLinks.getRestrictedAccessHelpLink(),
Pd),y(2),D("ngIf",a.retentionState))},Jkb=function(a){a&1&&(E(0,"b"),R(1,"Retention:"),G(),R(2));a&2&&(a=N(),y(2),S(" This ",a.contentType," has an indefinite retention period. "))},Kkb=function(a){a&1&&(R(0," The retention has "),E(1,"b"),R(2,"expired"),G(),R(3),E(4,"b"),R(5),T(6,"date"),G(),R(7,". "));a&2&&(a=N(),y(3),S(" and the ",a.contentType," was scheduled for deletion on "),y(2),$f(ig(6,2,Dkb(a),"longDate")))},Lkb=function(a){a&1&&(E(0,"span",6),R(1," Select at least one tracker "),G())},
Mkb=function(a,b){if(a&1){var c=u();E(0,"div",7)(1,"mat-checkbox",8);M("change",function(d){var e=v(c).$implicit,f=N();return x(f.trackerCheckboxValues[e.trackerId]=d.checked)});R(2);G()()}a&2&&(a=b.$implicit,b=N(),y(),D("checked",b.trackerCheckboxValues[a.trackerId]||!1),y(),S(" ",a.name," "))},Nkb=function(a){a&1&&(I(0,"b-tracker-search",6),T(1,"async"),T(2,"async"));a&2&&(a=N(),D("currentTrackerId",V(1,2,a.currentTracker.trackerId$))("availableTrackers",V(2,4,a.currentTracker.availableTrackers$)))},
Okb=function(a){a&1&&(E(0,"div",7),I(1,"b-spinner"),E(2,"span"),R(3,"Initializing query builder..."),G()())},Pkb=function(a){a&1&&(E(0,"div",10),I(1,"mat-icon",11),E(2,"p"),R(3," The query is too complex to show in the query builder. You can still perform the search or save the search. "),G()())},Qkb=function(a){a&1&&(E(0,"div"),R(1," We cannot understand your query because it seems to be incorrect (syntactically). Make sure all parentheses are balanced and all labels have values. "),G())},Rkb=function(a){a&
1&&(E(0,"div",8),C(1,Pkb,4,0,"div",9)(2,Qkb,2,0,"div",5),G());a&2&&(a=N(),y(),D("ngIf","NOT_REPRESENTABLE"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())),y(),D("ngIf","SYNTAX_ERROR"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())))},Skb=function(a){a&1&&(E(0,"div",8),R(1," We encountered a problem while retrieving the interpretation of the search query from the server. Please try again. "),G())},Tkb=function(a){a&1&&I(0,"b-tracker-account-menu-hack")},Ukb=
function(a){a&1&&(E(0,"span"),R(1),I(2,"span",16),G());a&2&&(a=N(2).$implicit,y(),S(" ",a.diff.oldValue," "))},Vkb=function(a){a&1&&(E(0,"span")(1,"label"),R(2),G(),C(3,Ukb,3,1,"span",15),R(4),G());a&2&&(a=N().$implicit,y(2),S("",a.fieldName,":"),y(),D("ngIf",a.diff.oldValue),y(),S(" ",a.diff.newValue," "))},Wkb=function(a,b){a&1&&(E(0,"div")(1,"label"),R(2),G(),R(3),G());a&2&&(a=b.$implicit,b=N(3).$implicit,y(2),S("-",b.fieldName,":"),y(),S(" ",a," "))},Xkb=function(a){a&1&&(K(0),C(1,Wkb,4,2,"div",
17),L());a&2&&(a=N(2).$implicit,y(),D("ngForOf",a.diff.removed))},Ykb=function(a,b){a&1&&(E(0,"div")(1,"label"),R(2),G(),R(3),G());a&2&&(a=b.$implicit,b=N(3).$implicit,y(2),S("+",b.fieldName,":"),y(),S(" ",a," "))},Zkb=function(a){a&1&&(K(0),C(1,Ykb,4,2,"div",17),L());a&2&&(a=N(2).$implicit,y(),D("ngForOf",a.diff.added))},$kb=function(a){a&1&&(E(0,"div"),C(1,Xkb,2,1,"ng-container",15)(2,Zkb,2,1,"ng-container",15),G());a&2&&(a=N().$implicit,y(),D("ngIf",a.diff.removed),y(),D("ngIf",a.diff.added))},
alb=function(a,b){a&1&&(E(0,"div",14),C(1,Vkb,5,3,"span",15)(2,$kb,3,2,"div",15),G());a&2&&(a=b.$implicit,y(),D("ngIf","SINGLE_VALUE"==a.diffType),y(),D("ngIf","COLLECTION"==a.diffType))},blb=function(a,b){a&1&&(E(0,"li",5)(1,"div",6),I(2,"b-user-image",7),G(),E(3,"div",8)(4,"h4"),I(5,"b-user-display-name",9),E(6,"span",10),I(7,"b-formatted-date-time",11),G()(),E(8,"div",12),C(9,alb,3,2,"div",13),G()()());a&2&&(a=b.$implicit,b=N(),y(2),D("email",b.userToDisplay(a.author)),y(3),D("email",b.userToDisplay(a.author)),
y(2),D("timestamp",a.timestamp),y(2),D("ngForOf",a.diffs))},clb=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"},dlb=function(a,b){a&1&&(E(0,"mat-option",3),R(1),I(2,"br"),E(3,"span",
4),R(4),G()());a&2&&(a=b.$implicit,D("value",a),y(),S(" ",a.title,""),y(3),$f(a.description))},elb=function(a,b){a&1&&(K(0),Gf(1,5),L());if(a&2){a=b.$implicit;N();var c=Q(2);y();D("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(2,Js,a))}},flb=function(a){a&1&&(K(0),Gf(1,5),L());if(a&2){a=N().question;N();var b=Q(4);y();D("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(2,Js,a))}},glb=function(a){a&1&&(K(0),Gf(1,5),L());if(a&2){a=N().question;N();var b=Q(6);y();D("ngTemplateOutlet",b)("ngTemplateOutletContext",
fg(2,Js,a))}},hlb=function(a){a&1&&(K(0),Gf(1,5),L());if(a&2){a=N().question;N();var b=Q(8);y();D("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(2,Js,a))}},ilb=function(a,b){a&1&&(K(0,6),C(1,flb,2,4,"ng-container",7)(2,glb,2,4,"ng-container",7)(3,hlb,2,4,"ng-container",7),L());a&2&&(a=b.question,b=N(),D("ngSwitch",a.type),y(),D("ngSwitchCase",b.CustomQuestionType.INPUT),y(),D("ngSwitchCase",b.CustomQuestionType.TEXT),y(),D("ngSwitchCase",b.CustomQuestionType.SELECT))},jlb=function(a,b){if(a&1){var c=
u();I(0,"h4",8);E(1,"mat-form-field",9)(2,"input",10);M("ngModelChange",function(d){var e=v(c).question;return x(e.response=d)});G()()}a&2&&(a=b.question,D("innerHtml",a.question,Od),y(2),D("ngModel",a.response),pf("aria-label",a.question))},klb=function(a,b){if(a&1){var c=u();I(0,"h4",8);E(1,"mat-form-field",11)(2,"textarea",10);M("ngModelChange",function(d){var e=v(c).question;return x(e.response=d)});R(3,"    ");G()()}a&2&&(a=b.question,D("innerHtml",a.question,Od),y(2),D("ngModel",a.response),
pf("aria-label",a.question))},mlb=function(a,b){a&1&&(E(0,"mat-option",15),R(1),G());a&2&&(a=b.$implicit,N(2),D("value",a),y(),S(" ",llb(a)?a.text:a," "))},nlb=function(a){a&1&&Gf(0,5);if(a&2){a=N().question;N();var b=Q(2);D("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(2,Js,a.response.child))}},plb=function(a,b){if(a&1){var c=u();I(0,"h4",8);E(1,"mat-form-field",9)(2,"mat-select",12);M("valueChange",function(d){var e=v(c).question,f=N();e.response=d;return x(olb(f))});C(3,mlb,2,2,"mat-option",
13);G()();C(4,nlb,1,4,"ng-container",14)}a&2&&(a=b.question,N(),D("innerHtml",a.question,Od),y(),pf("aria-label",a.question),y(),D("value",a.response),y(),D("ngForOf",a.options),y(),D("ngIf",llb(a.response)))},qlb=function(a){a&1&&Mf(0)},rlb=function(a){a&1&&Gf(0,2);a&2&&(a=N(),D("ngTemplateOutlet",a.iconOverrides[a.state])("ngTemplateOutletContext",a._getIconContext()))},slb=function(a){a&1&&(E(0,"span",7),R(1),G());a&2&&(a=N(2),y(),$f(a._getDefaultTextForState(a.state)))},tlb=function(a){a&1&&(E(0,
"span",9),R(1),G());a&2&&(a=N(3),y(),$f(a._intl.completedLabel))},ulb=function(a){a&1&&(E(0,"span",9),R(1),G());a&2&&(a=N(3),y(),$f(a._intl.editableLabel))},vlb=function(a){a&1&&(C(0,tlb,2,1,"span",8)(1,ulb,2,1),E(2,"mat-icon",7),R(3),G());a&2&&(a=N(2),Cf(0,"done"===a.state?0:"edit"===a.state?1:-1),y(3),$f(a._getDefaultTextForState(a.state)))},wlb=function(a){a&1&&C(0,slb,2,1)(1,vlb,4,2);a&2&&(a=N(),Cf(0,"number"===a.state?0:1))},xlb=function(a,b){a&1&&(E(0,"div",10),Gf(1,11),G());a&2&&(y(),D("ngTemplateOutlet",
b.template))},ylb=function(a){a&1&&(E(0,"div",10),R(1),G());a&2&&(a=N(),y(),$f(a.label))},zlb=function(a){a&1&&(E(0,"div",12),R(1),G());a&2&&(a=N(),y(),$f(a._intl.optionalLabel))},Alb=function(a){a&1&&(E(0,"div",13),R(1),G());a&2&&(a=N(),y(),$f(a.errorMessage))},Blb=function(){},Clb=function(a){a&1&&(Mf(0),C(1,Blb,0,0,"ng-template",0));a&2&&(a=N(),y(),D("cdkPortalOutlet",a._portal))},Dlb=function(a){a&1&&Mf(0)},Elb=function(a){a&1&&I(0,"div",6)},Glb=function(a,b){a&1&&(Gf(0,4),C(1,Elb,1,0,"div",5));
if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;N(2);var d=Q(4);D("ngTemplateOutlet",d)("ngTemplateOutletContext",gg(3,Flb,a,c));y();Cf(1,c!==b-1?1:-1)}},Jlb=function(a,b){if(a&1){var c=u();E(0,"div",7);M("@horizontalStepTransition.done",function(e){v(c);var f=N(2);return x(f._animationDone.next(e))});Gf(1,8);G()}if(a&2){a=b.$implicit;b=b.$index;var d=N(2);yf("mat-horizontal-stepper-content-inactive",d.selectedIndex!==b);D("@horizontalStepTransition",gg(8,Hlb,d._getAnimationDirection(b),fg(6,Ilb,
d._getAnimationDuration())))("id",d._getStepContentId(b));pf("aria-labelledby",d._getStepLabelId(b));y();D("ngTemplateOutlet",a.content)}},Klb=function(a){a&1&&(E(0,"div",1)(1,"div",2),Ef(2,Glb,2,6,null,null,Df),G(),E(4,"div",3),Ef(5,Jlb,2,11,"div",9,Df),G()());a&2&&(a=N(),y(2),Ff(a.steps),y(3),Ff(a.steps))},Llb=function(a,b){if(a&1){var c=u();E(0,"div",10);Gf(1,4);E(2,"div",11)(3,"div",12);M("@verticalStepTransition.done",function(h){v(c);var k=N(2);return x(k._animationDone.next(h))});E(4,"div",
13);Gf(5,8);G()()()()}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;var e=N(2),f=Q(4);y();D("ngTemplateOutlet",f)("ngTemplateOutletContext",gg(10,Flb,a,d));y();yf("mat-stepper-vertical-line",d!==b-1);y();yf("mat-vertical-stepper-content-inactive",e.selectedIndex!==d);D("@verticalStepTransition",gg(15,Hlb,e._getAnimationDirection(d),fg(13,Ilb,e._getAnimationDuration())))("id",e._getStepContentId(d));pf("aria-labelledby",e._getStepLabelId(d));y(2);D("ngTemplateOutlet",a.content)}},Mlb=function(a){a&
1&&Ef(0,Llb,6,18,"div",14,Df);a&2&&(a=N(),Ff(a.steps))},Nlb=function(a,b){if(a&1){var c=u();E(0,"mat-step-header",15);M("click",function(){var e=v(c).step;return x(e.select())})("keydown",function(e){v(c);var f=N();return x(f._onKeydown(e))});G()}if(a&2){a=b.step;b=b.i;var d=N();yf("mat-horizontal-stepper-header","horizontal"===d.orientation)("mat-vertical-stepper-header","vertical"===d.orientation);D("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);pf("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)}},Plb=function(a){if(a&1){var b=u();K(0);E(1,"h4",2);R(2,"Which of the following best describes the issue that you are reporting?");G();E(3,"wizard-category-select",49);M("categoryChange",function(c){v(b);var d=N();return x(d.model.category=c)});G();E(4,"mat-card",50)(5,"mat-card-header");R(6," Avoid duplicate issue reports: ");G();E(7,"mat-card-content")(8,"mat-checkbox",51);M("ngModelChange",function(c){v(b);var d=N();return x(d.ackDupes=c)});
R(9," By checking this box, I'm acknowledging that I have searched for ");E(10,"a",52);R(11,"existing issues");G();R(12," that already report this problem. ");G()()();E(13,"div",33)(14,"button",36);R(15," Next ");I(16,"mat-icon",37);G()();L()}a&2&&(a=N(),y(3),D("persona",a.model.persona)("category",a.model.category),y(5),D("ngModel",a.ackDupes),y(2),D("href",a.existingIssuesLink,Pd),y(4),D("disabled",!Olb(a,0)))},Rlb=function(a){a&1&&(E(0,"div")(1,"h3"),R(2,"Prefer to file an issue manually?"),G(),
E(3,"p"),R(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. "),G(),E(5,"p"),R(6," However, if you are a Chromium contributor and none of the other options apply, you may use the regular issue entry "),E(7,"a",52),R(8,"form"),G(),R(9,". "),G()());a&2&&(a=N(),y(7),D("href",a.paths.createIssue(eg(1,Qlb)),Pd))},Slb=function(a){a&1&&(E(0,"mat-error"),
R(1," Summary is required "),G())},Tlb=function(a){a&1&&(E(0,"mat-error"),R(1," Steps to reproduce are required "),G())},Ulb=function(a){a&1&&(E(0,"mat-error"),R(1," Issue description is required "),G())},Vlb=function(a){if(a&1){var b=u();E(0,"wizard-custom-questions",53);M("responses",function(c){v(b);var d=N();return x(d.model.customQuestionResponses=c)});G()}a&2&&(a=N(),D("category",a.model.category.value))},Wlb=function(a){if(a&1){var b=u();E(0,"div",54)(1,"b-recaptcha",55);M("onUpdate",function(c){v(b);
var d=N();return x(d.recaptchaResponse=c)});G()()}},Xlb=function(){},Ylb=function(){},Zlb=function(){},$lb=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},bmb=function(a){return a.length?"# Custom Questions\n"+amb(a).map(function(b){var c;return"#### "+(null!=(c=b.answerPrefix)?c:b.question)+"\n"+b.response}).join("\n\n"):""},amb=function(a){var b=[];
a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,llb(c.response)?(b.push({type:c.type,question:c.question,response:c.response.text}),b.push.apply(b,r(amb([c.response.child])))):b.push(c);return b},cmb=function(a){a&1&&(E(0,"a",15),R(1," Create Component "),G())},dmb=function(a){a&1&&(E(0,"p",19),R(1," None found. "),E(2,"a",20),R(3,"Learn More"),G()())},emb=function(a){a&1&&(K(0),I(1,"b-component-path-card",31,32),L());if(a&2){var b=Q(2);a=N().$implicit;y();D("onedevIsHovercardReady",b.init)("componentId",
a.componentId)}},fmb=function(a,b){a&1&&(E(0,"li")(1,"a",21)(2,"div",22)(3,"span",23),R(4),I(5,"b-component-access-level-indicator",24)(6,"b-tracker-chip-smart",25),G(),E(7,"p",26),R(8),G()(),E(9,"div",27)(10,"a",28),R(11," Edit "),G(),E(12,"a",28),R(13," Create Issue "),G()()(),E(14,"onedev-hovercard",null,29),C(16,emb,3,2,"ng-container",30),G()());if(a&2){a=b.$implicit;var c=Q(15);b=N(2);y();D("routerLinkObj",b.viewIssues(a.componentId));y();D("onedevHovercardTrigger",c);y(2);S(" ",a.name||a.componentId,
" ");y();D("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",!0);y();D("trackerId",a.trackerId)("showHovercard",!1);y(2);$f(a.description);y(2);D("routerLinkObj",b.componentSettings(a.componentId));y(2);D("routerLinkObj",b.createIssue(a.componentId))}},gmb=function(a,b){a&1&&(K(0),C(1,dmb,4,0,"p",16),E(2,"ol",17),C(3,fmb,17,10,"li",18),G(),L());a&2&&(a=b.$implicit,y(),D("ngIf",0===a.length),y(2),D("ngForOf",a))},imb=function(a){a&1&&(E(0,"a",25),R(1," Learn more "),
G());a&2&&(N(),D("href",hmb(),Pd))},jmb=function(a){a&1&&(K(0),R(1),T(2,"async"),L());a&2&&(a=N(2),y(),S(" ",V(2,1,a.suggestedTitle$)," "))},kmb=function(a,b){if(a&1){var c=u();E(0,"button",20);M("click",function(){var d=v(c).$implicit;N();var e=Q(18),f=N();f.llmSuggestTitleService.generatedTitle.next(null);kp(f.analytics,Sp.LLM,"reject","title-"+String(d));Ks(f.butterBar,"Thanks for the feedback!",3E3);var h;null==(h=e.trigger)||h.close();return x()});E(1,"span");R(2);G()()}a&2&&(a=b.$implicit,b=
N(2),y(2),$f(b.REJECT_REASON_TO_DISPLAY.get(a)))},lmb=function(a){if(a&1){var b=u();E(0,"div",2)(1,"div",3)(2,"div",4)(3,"span",5);R(4,"Suggested title");G();E(5,"div",6)(6,"button",7);M("click",function(){v(b);N().llmSuggestTitleService.suggestTitleRequested.next();return x()});I(7,"mat-icon",8);G();E(8,"button",9);M("click",function(){v(b);var d=N();return x(d.close())});I(9,"mat-icon",10);G()()();E(10,"div",11);C(11,jmb,3,3,"ng-container",12);T(12,"async");G();E(13,"div",13)(14,"button",14);M("click",
function(){v(b);var d=N(),e=om(Ls(d.llmSuggestTitleService.generatedTitle));e&&(kp(d.analytics,Sp.LLM,"accept","title"),d.suggestionAccepted.emit(e),d.llmSuggestTitleService.generatedTitle.next(null));return x()});T(15,"async");R(16," Accept ");G();E(17,"split-button",15,16);T(19,"async");E(20,"button",17);M("click",function(){v(b);var d=N();d.llmSuggestTitleService.generatedTitle.next(null);kp(d.analytics,Sp.LLM,"reject","title");return x()});T(21,"async");R(22," Reject ");G();E(23,"div",18);C(24,
kmb,3,1,"button",19);G()()()()()}if(a&2){a=N();var c=Q(3);y(11);D("ngIf",!V(12,7,a.isGeneratingTitle$))("ngIfElse",c);y(3);D("disabled",V(15,9,a.isGeneratingTitle$));y(3);D("size","small")("disabled",!!V(19,11,a.isGeneratingTitle$));y(3);D("disabled",V(21,13,a.isGeneratingTitle$));y(4);D("ngForOf",a.suggestedTitleRejectionReasons)}},mmb=function(a){a&1&&I(0,"b-spinner")},nmb=function(a){a&1&&(E(0,"div",4),Gf(1,5),G());if(a&2){a=N();var b=Q(4),c=Q(2);y();D("ngTemplateOutlet",a.inline?b:c)}},omb=function(a){a&
1&&(E(0,"p",9),R(1," Add an issue title to view similar issues "),G())},pmb=function(a){a&1&&Gf(0)},rmb=function(a){a&1&&(E(0,"p",6),R(1,"Similar issues"),G(),C(2,omb,2,0,"p",7)(3,pmb,1,0,"ng-container",8),T(4,"async"));if(a&2){a=N();var b=Q(6);y(2);D("ngIf",!a.hasSearched&&!a.isLoading);y();D("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(5,qmb,V(4,3,a.issues$)))}},smb=function(a){a&1&&Gf(0)},tmb=function(a){if(a&1){var b=u();E(0,"div",10)(1,"div",11)(2,"span",6);R(3,"Similar issues");G();E(4,
"span",12);R(5," Add an issue title to view similar issues ");G()();E(6,"button",13);M("click",function(){v(b);var d=N();return x(d.toggleCollapsed())});R(7);G()();E(8,"div",14);C(9,smb,1,0,"ng-container",8);T(10,"async");G()}if(a&2){a=N();var c=Q(6);y(4);D("hidden",a.isLoading||a.hasSearched);y(2);D("disabled",!a.hasSearched)("matTooltip",a.hasSearched?"":"Add an issue title to view similar issues")("matTooltipShowDelay",250);y();S(" ",a.collapsed?"Show":"Hide"," ");y();D("hidden",a.collapsed);y();
D("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(10,qmb,V(10,8,a.issues$)))}},umb=function(a){a&1&&I(0,"b-spinner")},vmb=function(a){if(a&1){var b=u();E(0,"b-issue-card",28,29);M("init",function(){v(b);var d=N(3);kp(d.analytics,Sp.SIMILAR_ISSUES,"hover");return x()});G()}if(a&2){var c=Q(1);a=N().$implicit;D("onedevIsHovercardReady",c.init)("issueId",a.issueId)}},wmb=function(a){a&1&&I(0,"b-issue-priority-display",30);a&2&&(a=N().$implicit,D("issuePriority",a.snapshot[0].priority))},xmb=function(a,
b){if(a&1){var c=u();E(0,"a",31);M("click",function(){v(c);N();var d=N(2);kp(d.analytics,Sp.SIMILAR_ISSUES,"navigate","idpDuplicatesTab");return x()});I(1,"mat-icon",32);R(2);G()}a&2&&(a=b.ngIf,b=N().$implicit,Nf("href","issues/",b.issueId,"/dupes",Pd),y(2),S(" ",a," "))},zmb=function(a,b){if(a&1){var c=u();E(0,"div",20)(1,"a",21);M("click",function(){v(c);var f=N(2);kp(f.analytics,Sp.SIMILAR_ISSUES,"navigate","issueDetailsPage");return x()});R(2);G();E(3,"onedev-hovercard",null,22);C(5,vmb,2,2,"b-issue-card",
23);G();E(6,"div",24);C(7,wmb,1,1,"b-issue-priority-display",25);E(8,"b-app-vote-button",26);M("onVote",function(f){var h=v(c).$implicit,k=N(2);return x(k.upvoted(f,h))});G();C(9,xmb,3,2,"a",27);G()()}if(a&2){a=b.$implicit;var d=Q(4);b=N(2);var e;D("hidden",b.isLoading);y();Nf("href","issues/",a.issueId,"",Pd);D("onedevHovercardTrigger",d);y();S(" ",a.snapshot[0].title," ");y(5);D("ngIf",a.snapshot[0].priority);y();D("issueId",a.issueId)("upvoted",!(null==a.userData||!a.userData.voted))("voteCount",
(null==a.aggregatedData?null:a.aggregatedData.voteCount)||0);y();D("ngIf",(null!==(e=a.snapshot[0].duplicateIssueId)&&void 0!==e?e:eg(9,ymb)).length)}},Amb=function(a,b){a&1&&(C(0,umb,1,0,"b-spinner",15)(1,zmb,10,10,"div",16),E(2,"div",17)(3,"a",18),R(4," View recent issues in selected component "),I(5,"mat-icon",19),G()());a&2&&(a=b.issues,b=N(),D("ngIf",b.isLoading),y(),D("ngForOf",a),y(2),Nf("href","issues?q=componentid:",b.componentId,"%20status:open&s=modified_time:desc",Pd))},Cmb=function(a){var b=
new Set,c=0;a=l(a.matchAll(Bmb));for(var d=a.next();!d.done;d=a.next())if(d=l(d.value).next().value,!b.has(d)){c+=d.length;if(2049<c)break;b.add(d)}return[].concat(r(b))},Dmb=function(a){a&1&&(E(0,"div"),I(1,"b-spinner"),E(2,"span"),R(3,"Loading..."),G()())},Emb=function(a){a&1&&(E(0,"div",2),C(1,Dmb,4,0,"div",3),G());if(a&2){a=N();var b=Q(2);y();D("ngIf",a.isInitiallyLoading)("ngIfElse",b)}},Fmb=function(a){a&1&&(E(0,"span",17)(1,"strong"),R(2),G(),R(3," of "),E(4,"strong"),R(5),G()());a&2&&(a=N(4),
y(2),ag("",a.startIndex,"\u2013",a.endIndex,""),y(3),$f(a.totalText))},Gmb=function(a){if(a&1){var b=u();E(0,"div",11);C(1,Fmb,6,3,"span",12);E(2,"b-button",13);M("onAction",function(){v(b);var c=N(3);return x(c.fetchIssues(c.page-1))});I(3,"b-icon",14);G();E(4,"b-button",15);M("onAction",function(){v(b);var c=N(3);return x(c.fetchIssues(c.page+1))});I(5,"b-icon",16);G()()}a&2&&(a=N(3),y(),D("ngIf",!a.isRefreshing),y(),D("disabled",1>=a.page),y(2),D("disabled",a.page>=a.numPages))},Hmb=function(a){if(a&
1){var b=u();E(0,"button",18);M("click",function(){v(b);var c=N(3);return x(c.triggerSimilarIssuesSurvey())});I(1,"mat-icon",19);G()}},Imb=function(a){a&1&&(E(0,"li")(1,"h3"),R(2),G(),C(3,Gmb,6,3,"div",9)(4,Hmb,2,0,"button",10),G());a&2&&(a=N(2),y(2),$f(a.getHeader()),y(),D("ngIf",!a.enableSimilarIssues),y(),D("ngIf",a.showSuggestedDupes))},Jmb=function(a){a&1&&(E(0,"div",20),R(1,"There may already be issues opened on this topic. Please consider +1 to the canonical issue if that is the case."),G())},
Kmb=function(a){if(a&1){var b=u();E(0,"b-issue-card",26,27);M("init",function(){v(b);var e=N(4);return x(e.trackTitleHoverOver())});G()}if(a&2){var c=Q(1);a=N().$implicit;var d=N(3);D("onedevIsHovercardReady",c.init)("issueId",a.id)("location",d.CATEGORIES.MAGIC_BOX+d.getGroupName())}},Lmb=function(a,b){if(a&1){var c=u();E(0,"li",22)(1,"onedev-hovercard",null,23);C(3,Kmb,2,3,"b-issue-card",24);G();E(4,"a",25);M("click",function(){v(c);var e=N(3);return x(e.trackTitleClick())});R(5);G()()}if(a&2){a=
b.$implicit;var d=Q(2);b=N(3);D("ngClass",b.enableSimilarIssues?"magic-box-item-new":"magic-box-item");y(4);Nf("href","issues/",a.id,"",Pd);D("onedevHovercardTrigger",d);y();S(" ",a.title," ")}},Mmb=function(a){a&1&&(K(0),C(1,Lmb,6,4,"li",21),L());a&2&&(a=N(2),y(),D("ngForOf",a.magicBoxIssues))},Nmb=function(a){a&1&&(E(0,"li"),R(1),G());a&2&&(a=N(2),y(),S(" No ",a.getHeader().toLowerCase()," found. "))},Omb=function(a){a&1&&(E(0,"li",28)(1,"a",29),R(2," View All Issues \u2192 "),G()());a&2&&(a=N(2),
y(),Of("href",a.viewAllHref,Pd))},Pmb=function(a){if(a&1){var b=u();E(0,"li",30)(1,"button",31);M("click",function(){v(b);var c=N(2);c.fetchIssues(c.page+1);kp(c.analytics,Sp.MAGIC_BOX,"loadMore");return x()});I(2,"mat-icon",32);R(3," Load more ");G()()}},Qmb=function(a){if(a&1){var b=u();E(0,"li",33)(1,"a",29)(2,"button",34);M("click",function(){v(b);var c=N(2);kp(c.analytics,Sp.MAGIC_BOX,"viewAll");return x()});R(3,"View all ");I(4,"mat-icon",35);G()()()}a&2&&(a=N(2),y(),Of("href",a.viewAllHref,
Pd))},Rmb=function(a){a&1&&(E(0,"li"),I(1,"b-spinner"),E(2,"span"),R(3,"Loading..."),G()())},Smb=function(a){a&1&&(E(0,"ul"),C(1,Imb,5,3,"li",4)(2,Jmb,2,0,"div",5)(3,Mmb,2,1,"ng-container",4)(4,Nmb,2,1,"li",4)(5,Omb,3,1,"li",6)(6,Pmb,4,0,"li",7)(7,Qmb,5,1,"li",8)(8,Rmb,4,0,"li",4),G());a&2&&(a=N(),y(),D("ngIf",!a.hideHeader),y(),D("ngIf",a.showSuggestedDupes),y(),D("ngIf",!a.isRefreshing),y(),D("ngIf",0==a.magicBoxIssues.length&&!a.isRefreshing),y(),D("ngIf",!a.isRefreshing&&1<a.numPages&&!a.enableSimilarIssues&&
a.viewAllHref),y(),D("ngIf",!a.isRefreshing&&a.endIndex<a.numTotalResults&&a.enableSimilarIssues),y(),D("ngIf",!a.isRefreshing&&1<a.numPages&&a.enableSimilarIssues&&a.viewAllHref),y(),D("ngIf",a.isRefreshing))},Tmb=function(a){a&1&&Gf(0)},Vmb=function(a){a&1&&(K(0),C(1,Tmb,1,0,"ng-container",8),L());a&2&&(a=N(),y(),D("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",fg(2,Umb,a.value)))},Wmb=function(a){a&1&&R(0);a&2&&(a=N(),$f(a.value||"--"))},Xmb=function(a){a&1&&(qd(),E(0,"svg",9),I(1,
"path",10),G());a&2&&(a=N(),yf("centered",a.centerEditIcon))},Ymb=function(a){a&1&&I(0,"textarea",15);a&2&&(a=N(3),D("formControl",a.editingValue)("cdkAutosizeMaxRows",a.multilineMaxLines))},Zmb=function(a){a&1&&I(0,"input",16);a&2&&(a=N(3),D("formControl",a.editingValue))},$mb=function(a){a&1&&(K(0),E(1,"div",12),C(2,Ymb,1,2,"textarea",13)(3,Zmb,1,1,"ng-template",null,14,jg),G(),L());if(a&2){var b=Q(4);a=N(2);y(2);D("ngIf",a.allowMultipleLines)("ngIfElse",b)}},anb=function(a){a&1&&Gf(0)},cnb=function(a){a&
1&&(K(0),C(1,anb,1,0,"ng-container",8),L());a&2&&(a=N(2),y(),D("ngTemplateOutlet",a.editorTemplate)("ngTemplateOutletContext",fg(2,bnb,a.editingValue)))},dnb=function(a){a&1&&C(0,$mb,5,2,"ng-container",11)(1,cnb,2,4,"ng-container",11);a&2&&(a=N(),D("ngIf",!a.editorTemplate),y(),D("ngIf",a.editorTemplate))},enb=function(){},fnb=function(a){a&1&&I(0,"span",2);a&2&&(a=N(),D("@indicatorRotate",a._getExpandedState()))},gnb=function(a){if(a&1){var b=u();E(0,"b-hotlist-picker",26);M("onApply",function(c){v(b);
var d=N();return x(d.handleHotlistPickerSave(c))})("onLoad",function(c){v(b);var d=N();return x(d.loadHotlist(c))})("onCreate",function(c){v(b);var d=N();return x(d.createHotlist(c))});G()}a&2&&(a=N(),D("selectedHotlistIds",a.selectedHotlistIds)("choices",a.hotlists))},lnb=function(a){a&1&&(E(0,"div",27),I(1,"b-icon",28),E(2,"span"),R(3),G(),E(4,"a",29),R(5,"View access settings"),G()());a&2&&(a=N(),D("ngClass",gg(5,hnb,inb(a),jnb(a))),y(),D("name","alert")("size","small"),y(2),S("",knb(a),"\u00a0"),
y(),D("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",Pd))},onb=function(a){a&1&&(E(0,"div",32),R(1),G());a&2&&(a=N(2),y(),S(" Error: The following required field(s) have not been filled: ",mnb(a).concat(nnb(a)).join(", ")," "))},pnb=function(a){a&1&&(E(0,"li"),R(1),G());if(a&2){a=N(3);y();var b=[];a.isBlockedByIssueIdValid||b.push('"Blocked by"');a.isBlockingIssueIdValid||b.push('"Blocking"');a.isParentIssueIdsValid||b.push('"Parents"');$f(b?b.join(" & ")+
" must be"+((1>=b.length?" a":"")+" comma separated list")+((1<b.length?"s":"")+" of issue IDs"):"")}},qnb=function(a){a&1&&(E(0,"li"),R(1),G());a&2&&(a=N(3),y(),S(" Collaborators: you cannot add ",a.invalidCollaboratorsInput.join(", ")," "))},rnb=function(a){a&1&&(E(0,"div",32),R(1," Error: The following field(s) have invalid values: "),E(2,"ul"),C(3,pnb,2,1,"li",20)(4,qnb,2,1,"li",20),G()());a&2&&(a=N(2),y(3),D("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid),
y(),D("ngIf",!a.isCollaboratorsValid))},snb=function(a){a&1&&(E(0,"div",32),R(1," Error: There is at least one upload ongoing. Please cancel or wait for it to be finished. "),G())},unb=function(a){a&1&&(E(0,"div",30),C(1,onb,2,1,"div",31)(2,rnb,5,2,"div",31)(3,snb,2,0,"div",31),G());a&2&&(a=N(),y(),D("ngIf",0!==mnb(a).length||0!==nnb(a).length),y(),D("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid||!a.isCollaboratorsValid),y(),D("ngIf",tnb(a.comment)))},vnb=
function(a,b){if(a&1){var c=u();E(0,"div",35)(1,"b-hotlist-chip",36);M("removeHotlist",function(){var d=v(c).$implicit,e=N(2);return x(e.removeHotlist(d.hotlistId))});G()()}a&2&&(a=b.$implicit,y(),D("hotlist",a))},wnb=function(a){a&1&&(E(0,"div",33),C(1,vnb,2,1,"div",34),G());a&2&&(a=N(),y(),D("ngForOf",a.selectedHotlists))},xnb=function(a,b){if(a&1){var c=u();E(0,"button",45);M("click",function(){var d=v(c).$implicit;N(2).selectedTemplate=d;return x()});R(1);G()}a&2&&(a=b.$implicit,y(),$f(a.name))},
ynb=function(a){if(a&1){var b=u();E(0,"button",45);M("click",function(){v(b);var c=N(2);c.selectedTemplate=c.availableExistingIssueTemplate;return x()});R(1);G()}a&2&&(a=N(2),y(),$f(a.availableExistingIssueTemplate.name))},znb=function(a){a&1&&(E(0,"div",37)(1,"div",14)(2,"label",38),R(3,"Template"),G()(),E(4,"button",39),R(5),I(6,"b-icon",40),G(),E(7,"mat-menu",41,42),C(9,xnb,2,1,"button",43)(10,ynb,2,1,"button",44),G()());if(a&2){var b=Q(8);a=N();var c;y(4);D("matMenuTriggerFor",b);y();$f(null!==
(c=null==a.selectedTemplate?null:a.selectedTemplate.name)&&void 0!==c?c:"");y(2);D("overlapTrigger",!0);y(2);D("ngForOf",a.availablePredefinedTemplates);y();D("ngIf",a.availableExistingIssueTemplate)}},Anb=function(a){a&1&&(E(0,"div",46)(1,"div",32),R(2," You do not have permission to create issues in this component. "),G()())},Bnb=function(a){a&1&&I(0,"llm-suggest-title-button",72);a&2&&(a=N(2),D("description",a.comment))},Cnb=function(a){if(a&1){var b=u();E(0,"llm-suggest-title-preview",73);M("suggestionAccepted",
function(c){v(b);var d=N(2);return x(d.issue.title=c)});G()}},Dnb=function(a){a&1&&(E(0,"p",74),R(1),E(2,"a",75),R(3," Learn more "),G()());a&2&&(a=N(2),y(),S(" Your title contains restricted words: ",bq(a.titleBannedWordsChecker),". Review your title before posting. "))},Enb=function(a,b){if(a&1){var c=u();E(0,"button",79);M("click",function(){var d=v(c).$implicit,e=N(3);return x(e.setPriority(d.value))});R(1);G()}a&2&&(a=b.$implicit,y(),$f(a.displayText))},Fnb=function(a){if(a&1){var b=u();E(0,
"div",37)(1,"div",14)(2,"label",76);R(3,"Priority");G()();E(4,"button",77);R(5);I(6,"b-icon",40);G();E(7,"mat-menu",41,78)(9,"button",79);M("click",function(){v(b);var d=N(2);return x(d.setPriority())});R(10,"--");G();C(11,Enb,2,1,"button",80);G()()}if(a&2){var c=Q(8);a=N(2);y(4);D("matMenuTriggerFor",c);pf("aria-label","Priority, required"+(a.issue.priority?", "+a.issue.priority:""));y();S("",a.issue.priority?a.issue.priority:"--"," ");y(2);D("overlapTrigger",!0);y(4);D("ngForOf",a.priorityChoices)}},
Hnb=function(a,b){if(a&1){var c=u();E(0,"button",84);M("click",function(){var d=v(c).$implicit,e=N(3);return x(Gnb(e,d.value))});R(1);G()}a&2&&(a=b.$implicit,Of("title",a.altText||""),y(),$f(a.displayText))},Inb=function(a){if(a&1){var b=u();E(0,"div",37)(1,"div",14)(2,"label",81);R(3,"Type");G()();E(4,"button",77);T(5,"enumToHuman");R(6);T(7,"enumToHuman");I(8,"b-icon",40);G();E(9,"mat-menu",41,82)(11,"button",79);M("click",function(){v(b);var d=N(2);return x(Gnb(d))});R(12,"--");G();C(13,Hnb,2,
2,"button",83);G()()}if(a&2){var c=Q(10);a=N(2);y(4);D("matMenuTriggerFor",c);pf("aria-label","Type, required"+(a.issue.type?V(5,5,", "+a.issue.type):""));y(2);S("",V(7,7,a.issue.type||"--")," ");y(3);D("overlapTrigger",!0);y(4);D("ngForOf",a.issueTypeChoices)}},Jnb=function(a){a&1&&(E(0,"div",85),I(1,"similar-issues",86),G());a&2&&(a=N(2),y(),D("context",a.issue.title)("componentId",a.issue.componentId)("inline",!0))},Knb=function(a){if(a&1){var b=u();E(0,"div",91)(1,"b-magic-box",92);M("headerChange",
function(c){v(b);var d=N(3);return x(d.magicBoxHeader=c)});G()()}a&2&&(a=N(3),y(),D("componentId",a.issue.componentId)("hideHeader",!0)("showInline",a.showRecentIssuesInline)("issueTitle",a.issue.title)("issue",a.issue)("customFieldMap",a.customFieldMap))},Mnb=function(a){if(a&1){var b=u();E(0,"div",87)(1,"div",88)(2,"a",89);M("click",function(){v(b);var c=N(2);return x(Lnb(c))})("keydown.enter",function(){v(b);var c=N(2);return x(Lnb(c))})("keydown.space",function(){v(b);var c=N(2);return x(Lnb(c))});
R(3);G()();C(4,Knb,2,6,"div",90);G()}a&2&&(a=N(2),y(3),ag(" ",a.showRecentIssuesInline?"Hide":"View"," ",a.magicBoxHeader.toLowerCase()," "),y(),D("ngIf",a.showRecentIssuesInline&&a.issue.componentId))},Nnb=function(a){if(a&1){var b=u();E(0,"div",93)(1,"div",14)(2,"label",94);R(3,"Assignee");G()();E(4,"div",95)(5,"input",96);M("ngModelChange",function(c){v(b);var d=N(2);return x(d.assigneeText=c)});G()()()}a&2&&(a=N(2),y(5),D("ngModel",a.assigneeText)("bContactAutocomplete","SINGLE"))},Onb=function(a){a&
1&&(E(0,"mat-error"),R(1," Collaborators only accepts individual users. "),G())},Qnb=function(a){if(a&1){var b=u();E(0,"div",97)(1,"div",14)(2,"label",98);R(3,"Collaborators");G();I(4,"mat-icon",99);G();E(5,"div",95)(6,"input",100);M("ngModelChange",function(c){v(b);var d=N(2);return x(d.collaboratorsText=Pnb(c))});G()();C(7,Onb,2,0,"mat-error",20);G()}a&2&&(a=N(2),y(6),yf("invalid",!a.isCollaboratorsValid),D("ngModel",Ms(a.collaboratorsText))("bContactAutocomplete","MULTI"),y(),D("ngIf",!a.isCollaboratorsValid&&
a.submitRequested))},Rnb=function(a){if(a&1){var b=u();E(0,"div",101)(1,"div",14)(2,"label",102);R(3,"CC");G()();E(4,"div",95)(5,"input",103);M("ngModelChange",function(c){v(b);var d=N(2);return x(d.ccsText=Pnb(c))});G()()()}a&2&&(a=N(2),y(5),D("ngModel",Ms(a.ccsText))("bContactAutocomplete","MULTI"))},Snb=function(a){a&1&&(E(0,"p",104),R(1),E(2,"a",75),R(3," Learn more "),G()());a&2&&(a=N(2),y(),S(" Your description contains restricted words: ",bq(a.descriptionBannedWordsChecker),". Review your description before posting. "))},
Tnb=function(a){a&1&&Gf(0)},Unb=function(a){a&1&&(K(0),E(1,"div",13)(2,"div",14)(3,"label",108),R(4," Collaborator Groups "),G(),I(5,"mat-icon",109),G(),C(6,Tnb,1,0,"ng-container",110),G(),L());if(a&2){a=N(3);var b=Q(32);y(5);Of("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP);y();D("ngTemplateOutlet",b)}},Vnb=function(a){if(a&1){var b=u();E(0,"div",105)(1,"div",13)(2,"div",14)(3,"label",106);R(4," Issue access level ");G()();E(5,"b-issue-access-limits-dropdown",107);M("updatedAccessLimitLevel",function(c){v(b);
var d=N(2);return x(d.onAccessLimitLevelSelected(c))});G()();C(6,Unb,7,2,"ng-container",20);G()}a&2&&(a=N(2),y(5),D("disabled",!1)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled)("defaultAccessLimitLevel",a.selectedAccessLimitLevel),y(),D("ngIf",0<a.trackerCollaboratorGroups.length))},Wnb=function(a,b){if(a&1){var c=u();E(0,"button",79);M("click",function(){var d=v(c).$implicit,e=N(3);return x(e.issue.severity=e.toIssueSeverity(d.value))});R(1);G()}a&2&&(a=b.$implicit,y(),$f(a.displayText))},
Xnb=function(a){a&1&&(E(0,"span"),R(1,"*"),G())},Ynb=function(a){a&1&&(E(0,"span"),R(1,"*"),G())},Znb=function(a){a&1&&(E(0,"span"),R(1,"*"),G())},aob=function(a){if(a&1){var b=u();E(0,"div",119)(1,"div",14)(2,"label",137);R(3," Parents ");C(4,Znb,2,0,"span",20);G()();E(5,"input",138);M("ngModelChange",function(c){v(b);var d=N(3);d.parentIssueIds=$nb(d,c).map(oo);d.isParentIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(Ms(d.parentIssueIds));return x()});G()()}a&2&&(a=N(3),y(4),D("ngIf",!a.isParentIssueIdsValid),
y(),D("ngModel",Ms(a.parentIssueIds)))},bob=function(a){a&1&&(E(0,"span"),R(1,"*"),G())},cob=function(a){if(a&1){var b=u();E(0,"div",119)(1,"div",14)(2,"label",139);R(3," Children ");C(4,bob,2,0,"span",20);G()();E(5,"input",140);M("ngModelChange",function(c){v(b);var d=N(3);d.childrenIssueIds=$nb(d,c).map(oo);d.isChildIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(Ms(d.childrenIssueIds));return x()});G()()}a&2&&(a=N(3),y(4),D("ngIf",!a.isChildIssueIdsValid),y(),D("ngModel",Ms(a.childrenIssueIds)))},dob=
function(a){if(a&1){var b=u();E(0,"div",119)(1,"div",14)(2,"label",106);R(3," Issue access level ");G()();E(4,"b-issue-access-limits-dropdown",141);M("updatedAccessLimitLevel",function(c){v(b);var d=N(3);return x(d.onAccessLimitLevelSelected(c))});G()()}a&2&&(a=N(3),y(4),D("disabled",!1)("defaultAccessLimitLevel",a.selectedAccessLimitLevel)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled))},eob=function(a){a&1&&Gf(0)},fob=function(a){a&1&&(K(0),E(1,"div",13)(2,"div",14)(3,"label",108),
R(4," Collaborator Groups "),G(),I(5,"mat-icon",109),G(),C(6,eob,1,0,"ng-container",110),G(),L());if(a&2){a=N(3);var b=Q(32);y(5);Of("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP);y();D("ngTemplateOutlet",b)}},gob=function(a){if(a&1){var b=u();E(0,"onedev-text-field",145);M("valueChange",function(d){v(b);var e=N(2).$implicit,f=N(3);return x(f.setCustomFieldValue(e,d))});G()}if(a&2){a=N(2).$implicit;var c=N(3);Nf("id","bv2-custom-field-",a.customFieldId,"");D("value",a.textValue);pf("required",c.isCustomFieldRequired(a))("aria-labelledby",
"bv2-custom-field-"+a.customFieldId+"-label")}},hob=function(a){if(a&1){var b=u();E(0,"onedev-numeric-field",145);M("valueChange",function(d){v(b);var e=N(2).$implicit,f=N(3);return x(f.setCustomFieldValue(e,d))});G()}if(a&2){a=N(2).$implicit;var c=N(3);Nf("id","bv2-custom-field-",a.customFieldId,"");D("value",a.numericValue);pf("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},iob=function(a){if(a&1){var b=u();E(0,"div")(1,"bv2-input-date-picker",
146);M("boundValueChange",function(d){v(b);var e=N(2).$implicit,f=N(3);return x(f.setCustomFieldValue(e,d))});G()()}if(a&2){a=N(2).$implicit;var c=N(3);y();Of("bv2AriaLabelledby","bv2-custom-field-"+a.customFieldId+"-label");D("boundValue",a.dateValue)("isRequired",c.isCustomFieldRequired(a))("bv2Id","bv2-custom-field-"+a.customFieldId)}},job=function(a){if(a&1){var b=u();E(0,"onedev-single-select",147);M("valueChange",function(d){v(b);var e=N(2).$implicit,f=N(3);return x(f.setCustomFieldValue(e,
d))});G()}if(a&2){a=N(2).$implicit;var c=N(3);D("value",a.enumValue)("options",c.getCustomFieldAllowedValues(a))("includeEmptyOption",!0);pf("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},kob=function(a,b){a&1&&(E(0,"div"),C(1,gob,1,4,"onedev-text-field",143)(2,hob,1,4,"onedev-numeric-field",143)(3,iob,2,4,"div",20)(4,job,1,4,"onedev-single-select",144),G());a&2&&(a=b.ngIf,b=N(4),y(),D("ngIf",a===b.FieldType.TEXT),y(),D("ngIf",a===b.FieldType.NUMERIC),y(),D("ngIf",a===b.FieldType.DATE),
y(),D("ngIf",a===b.FieldType.ENUM))},lob=function(a,b){if(a&1){var c=u();E(0,"div")(1,"b-list-field",148);M("valuesChange",function(e){v(c);var f=N().$implicit,h=N(3);return x(h.setCustomFieldValue(f,e.values))});G()()}if(a&2){a=b.ngIf;b=N().$implicit;var d=N(3);y();D("defaultLineCount",2)("type",a)("values",d.getListFieldValues(b))("enumChoices",d.customFieldAllowedValuesMap[b.customFieldId]||null)("truncate",!0);pf("aria-labelledby","bv2-custom-field-"+b.customFieldId+"-label")}},nob=function(a,
b){a&1&&(E(0,"div",119)(1,"div",14)(2,"label",142),R(3),G()(),C(4,kob,5,4,"div",20)(5,lob,2,6,"div",20),G());if(a&2){a=b.$implicit;b=N(3);y(2);Nf("id","bv2-custom-field-",a.customFieldId,"-label");var c=b.customFieldMap[a.customFieldId];Of("title",(c&&c.description?c.description:"Custom Field")+" [ID: "+a.customFieldId+"]");D("ngClass",fg(7,mob,b.isCustomFieldRequired(a)));var d=(c=b.customFieldMap[a.customFieldId])?c.name:"";c&&b.canEditIssuesInComponent&&b.customFieldMap[a.customFieldId].required&&
(d+=", required field");pf("aria-label",d);y();S(" ",b.getCustomFieldName(a)," ");y();D("ngIf",b.getSingleEditFieldType(b.customFieldMap[a.customFieldId]));y();D("ngIf",b.getListFieldType(b.customFieldMap[a.customFieldId]))}},oob=function(a){if(a&1){var b=u();E(0,"mat-expansion-panel",111)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",112);R(4,"Advanced fields (Required fields marked with");E(5,"span",113);R(6,"*");G();R(7,")");G()()();E(8,"div",114)(9,"div",115)(10,"div",14)(11,"label",
116);R(12," Severity ");G()();E(13,"button",117);R(14);I(15,"b-icon",40);G();E(16,"mat-menu",41,118);C(18,Wnb,2,1,"button",80);G()();E(19,"div",119)(20,"div",14)(21,"label",120);R(22," Found in ");G()();E(23,"input",121);M("ngModelChange",function(d){v(b);var e=N(2);return x(e.issue.foundInVersion=Pnb(d))});G()();E(24,"div",122)(25,"div",14)(26,"label",123);R(27," In prod ");G()();E(28,"mat-slide-toggle",124);M("ngModelChange",function(d){v(b);var e=N(2);return x(e.issue.inProd=d)});G()();I(29,"div",
64);E(30,"div",119)(31,"div",14)(32,"label",125);R(33," Reporter ");G()();E(34,"input",126);M("ngModelChange",function(d){v(b);var e=N(2);return x(e.reporterText=d)});G()();E(35,"div",119)(36,"div",14)(37,"label",127);R(38," Verifier ");G()();E(39,"input",128);M("ngModelChange",function(d){v(b);var e=N(2);return x(e.verifierText=d)});G()();E(40,"div",119)(41,"div",14)(42,"label",129);R(43," Targeted to ");G()();E(44,"input",130);M("ngModelChange",function(d){v(b);var e=N(2);return x(e.issue.targetedToVersion=
Pnb(d))});G()();I(45,"div",64);E(46,"div",119)(47,"div",14)(48,"label",131);R(49," Blocked by ");C(50,Xnb,2,0,"span",20);G()();E(51,"input",132);M("ngModelChange",function(d){v(b);var e=N(2);e.issue.blockedByIssueId=$nb(e,d);e.isBlockedByIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(Ms(e.issue.blockedByIssueId));return x()});G()();E(52,"div",119)(53,"div",14)(54,"label",133);R(55," Blocking ");C(56,Ynb,2,0,"span",20);G()();E(57,"input",134);M("ngModelChange",function(d){v(b);var e=N(2);e.issue.blockingIssueId=
$nb(e,d);e.isBlockingIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(Ms(e.issue.blockingIssueId));return x()});G()();C(58,aob,6,2,"div",135)(59,cob,6,2,"div",135);I(60,"div",64);C(61,dob,5,3,"div",135)(62,fob,7,2,"ng-container",20);I(63,"div",64);C(64,nob,6,9,"div",136);G()()}if(a&2){var c=Q(17);a=N(2);y(13);D("matMenuTriggerFor",c);pf("aria-label","Severity"+(a.issue.severity?", "+a.issue.severity:""));y();$f(a.issue.severity);y(2);D("overlapTrigger",!0);y(2);D("ngForOf",a.severityChoices);y(5);D("ngModel",
Ms(a.originalIssueCopy.foundInVersion));y(5);D("ngModel",a.issue.inProd);y(6);D("ngModel",a.reporterText)("bContactAutocomplete","SINGLE");y(5);D("ngModel",a.verifierText)("bContactAutocomplete","SINGLE");y(5);D("ngModel",Ms(a.originalIssueCopy.targetedToVersion));y(6);D("ngIf",!a.isBlockedByIssueIdValid);y();D("ngModel",Ms(a.issue.blockedByIssueId));y(5);D("ngIf",!a.isBlockingIssueIdValid);y();D("ngModel",Ms(a.issue.blockingIssueId));y();D("ngIf",!a.sessionIsExternal);y();D("ngIf",!a.sessionIsExternal);
y(2);D("ngIf",!Ip(a.selectedComponent));y();D("ngIf",0<a.trackerCollaboratorGroups.length&&!Ip(a.selectedComponent));y(2);D("ngForOf",a.issue.customField)}},pob=function(a){a&1&&(E(0,"div",27),I(1,"b-icon",28),E(2,"span"),R(3),G(),E(4,"a",29),R(5,"View access settings"),G()());a&2&&(a=N(2),D("ngClass",gg(5,hnb,inb(a),jnb(a))),y(),D("name","alert")("size","small"),y(2),S("",knb(a),"\u00a0"),y(),D("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",Pd))},
qob=function(a){if(a&1){var b=u();E(0,"div",149)(1,"b-recaptcha",150);M("onUpdate",function(c){v(b);var d=N(2);return x(d.recaptchaResponse=c)});G()()}},wob=function(a){if(a&1){var b=u();E(0,"div")(1,"div",12)(2,"div",13)(3,"div",14)(4,"label",47);R(5,"Title");G()();E(6,"div",48)(7,"input",49);M("ngModelChange",function(c){v(b);var d=N();return x(d.setTitle(c))});G();C(8,Bnb,1,1,"llm-suggest-title-button",50);G();C(9,Cnb,1,0,"llm-suggest-title-preview",51)(10,Dnb,4,1,"p",52);G();C(11,Fnb,12,5,"div",
18)(12,Inb,14,9,"div",18);G();C(13,Jnb,2,3,"div",53)(14,Mnb,5,3,"div",54);K(15);E(16,"div",12);C(17,Nnb,6,2,"div",55)(18,Qnb,8,5,"div",56);G();E(19,"div",12);C(20,Rnb,6,2,"div",57);G();L();E(21,"div",58)(22,"div",12)(23,"div",13)(24,"div",14)(25,"label",59);R(26,"Description");G()();E(27,"b-comment-box",60);M("commentChange",function(c){v(b);var d=N();return x(d.comment=c)})("onChange",function(){v(b);var c=N();return x(c.saveCommentDraft())})("onSubmit",function(c){v(b);var d=N();return x(rob(d,
c,!c.shiftKey))})("onRestrict",function(){v(b);var c=N();return x(c.showNewContentJudgementDialog())});C(28,Snb,4,1,"p",61);E(29,"b-markdown-toggle",62);M("change",function(c){v(b);var d=N();return x(d.comment.formattingMode=c)});G()()()();C(30,Vnb,7,4,"div",63);I(31,"div",64);E(32,"div",65);C(33,oob,65,21,"mat-expansion-panel",66);G();C(34,pob,6,8,"div",9)(35,qob,2,0,"div",67);E(36,"div",68)(37,"b-button",69);M("onAction",function(c){v(b);var d=N();return x(rob(d,c,!0))});R(38);G();E(39,"b-button",
70);M("onAction",function(c){v(b);var d=N();return x(rob(d,c,!1))});R(40);G();E(41,"b-button",71);M("onAction",function(){v(b);var c=N();c.draftStore.$window.sessionStorage.removeItem(rn("0"));sob(c.reloadService);return x()});R(42," Discard ");G()()()()}a&2&&(a=N(),y(7),yf("invalid",a.titleBannedWordsChecker.showWarning()),D("ngModel",a.issue.title)("bFocus",a.newIssueStarted),y(),D("ngIf",a.enableSuggestTitle),y(),D("ngIf",a.enableSuggestTitle),y(),D("ngIf",a.titleBannedWordsChecker.showWarning()),
y(),D("ngIf",a.canEditIssuesInComponent),y(),D("ngIf",a.canEditIssuesInComponent),y(),D("ngIf",tob(a)&&a.issue.componentId),y(),D("ngIf",!tob(a)),y(3),D("ngIf",a.canEditIssuesInComponent),y(),D("ngIf",a.canEditIssuesInComponent),y(2),D("ngIf",a.canEditIssuesInComponent),y(7),D("supportsPreview",!0)("comment",a.comment)("disabled",a.isSaving)("judgementForNewContent",a.judgementForNewContent)("componentId",null==a.selectedComponent?null:a.selectedComponent.componentId)("placeholder",a.piiWarningMessage)("idForAriaLabel",
a.descriptionBoxId)("audience",a.audience)("showRestrictionOptions",a.canEditIssuesInComponent)("ngClass",fg(38,uob,tnb(a.comment)))("warn",a.descriptionBannedWordsChecker.showWarning()),y(),D("ngIf",a.descriptionBannedWordsChecker.showWarning()),y(),D("initialValue",a.comment.formattingMode),y(),D("ngIf",a.canEditIssuesInComponent&&!!Ip(a.selectedComponent)),y(3),D("ngIf",a.canEditIssuesInComponent),y(),D("ngIf",inb(a)||jnb(a)),y(),D("ngIf",a.enableRecaptcha),y(2),D("disabled",vob(a))("color",a.titleBannedWordsChecker.showWarning()||
a.descriptionBannedWordsChecker.showWarning()?"warn":"primary"),y(),S(" ",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"Create Anyway":"Create"," "),y(),D("disabled",vob(a))("color",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"warn":"primary"),y(),S(" ",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"Create Anyway & Start Another":"Create & Start Another"," "),y(),D("disabled",
vob(a)))},xob=function(a){a&1&&I(0,"similar-issues",151);a&2&&(a=N(),D("context",a.issue.title)("componentId",a.issue.componentId))},yob=function(a){if(a&1){var b=u();E(0,"b-magic-box",152);M("headerChange",function(d){v(b);var e=N();return x(e.magicBoxHeader=d)});G()}if(a&2){a=N();var c;D("componentId",null!==(c=a.issue.componentId)&&void 0!==c?c:void 0)("issueTitle",a.issue.title)("issue",a.issue)("customFieldMap",a.customFieldMap)}},zob=function(a,b){a&1&&(E(0,"h2",153),R(1,"This component has a default description"),
G(),E(2,"mat-dialog-content"),R(3," You have already entered a description, but the component you chose has a default description: "),E(4,"div",154),R(5),G()(),E(6,"mat-dialog-actions")(7,"button",155),R(8,"Use component description"),G(),E(9,"button",156),R(10,"Keep my description"),G()());a&2&&(a=b.$implicit,y(5),$f(a),y(2),D("mat-dialog-close",!0))},Aob=function(a,b){a&1&&(E(0,"mat-option",160),R(1),G());a&2&&(a=b.$implicit,Of("value",a),y(),S(" ",a," "))},Cob=function(a){if(a&1){var b=u();E(0,
"mat-form-field",157)(1,"mat-select",158);M("ngModelChange",function(c){v(b);var d=N();return x(d.collaboratorGroupsText=c)});E(2,"mat-select-trigger");R(3);G();C(4,Aob,2,2,"mat-option",159);G()()}a&2&&(a=N(),y(),D("ngModel",a.collaboratorGroupsText)("ngModelOptions",eg(4,Bob)),y(2),$f(a.getCollaboratorGroupsString()),y(),D("ngForOf",a.trackerCollaboratorGroups))},Dob=function(a,b){b.assigneeText=Gi(a.assigneeUser);b.reporterText=Gi(a.reporterUser);b.verifierText=Gi(a.verifierUser);b.collaboratorsText=
Hi(a.collaboratorsUsers);b.ccsText=Hi(a.ccUsers)},Eob=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=Oi(a.assigneeText));null!=a.reporterText&&(b.reporterUser=Oi(a.reporterText));null!=a.verifierText&&(b.verifierUser=Oi(a.verifierText));a.collaboratorsText&&(c=Osa(a.collaboratorsText),c.length?b.collaboratorsUsers=c:b.collaboratorsUsers=void 0);a.ccsText&&(a=Osa(a.ccsText),a.length?b.ccUsers=
a:b.ccUsers=void 0)},Gob=function(a,b){for(var c=l(Object.keys(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=b[d],f=Fob[d];"customField"===d||Th(e,f)||(Array.isArray(e)?a[d]?(e=dsa([].concat(r(e),r(a[d]))),a[d]=e):a[d]=e:""!==e&&(a[d]=e))}},Hob=function(a){a=Object.assign({},a);return delete a.hotlistId,a},Iob=function(a){var b={};a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.allowedValue&&(b[c.customFieldId]=c.allowedValue.map(function(d){return{value:d,displayText:d}}));return b},
Job=function(a){return function(b){var c=lEa(b.snapshot.customField,function(k){return k.customFieldId}),d=[],e,f,h=null!=(f=null==(e=a.componentPathInfo)?void 0:e.allCustomField)?f:[];e=l(h);for(f=e.next();!f.done;f=e.next())f=f.value,h=f.customFieldId,f.enabledOnIssues&&(c.has(h)?d.push(c.get(h)):f.typedDefaultValue?d.push(f.typedDefaultValue):d.push({customFieldId:h}));return Object.assign({},b,{snapshot:Object.assign({},b.snapshot,{customField:d})})}},Kob=function(a){if(a&1){var b=u();E(0,"b-star-toggle",
12);M("starClicked",function(){v(b);var c=N(2);return x(c.toggleStar())});G()}a&2&&(a=N(2),D("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},Lob=function(a){a&1&&I(0,"b-star-toggle",13);a&2&&D("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)},Mob=function(a){if(a&1){var b=u();E(0,"div")(1,
"div",7);C(2,Kob,1,3,"b-star-toggle",8)(3,Lob,1,4,"b-star-toggle",9);E(4,"span",10);R(5);E(6,"span")(7,"button",11);M("click",function(){v(b);var c=N();return x(c.editBookmarkGroup())});G()()()()()}a&2&&(a=N(),y(2),D("ngIf",!a.isAdmin),y(),D("ngIf",a.isAdmin),y(2),S("",a.bookmarkGroup.name," "))},Pob=function(a){if(a&1){var b=u();E(0,"b-saved-search-panel",17);M("focusedRowIndexChange",function(f){v(b);var h=N().$implicit,k=N();return x(Nob(k,h,f))})("selectionChange",function(f){v(b);var h=N(2);
return x(Oob(h,f))})("resultsLoaded",function(f){v(b);var h=N(2);return x(h.loadHotlists(f))});G()}if(a&2){var c=N();a=c.$implicit;var d=c.first;c=c.last;var e=N();D("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("savedSearchId",a.resourceId)("first",d)("last",c)}},Qob=function(a){if(a&1){var b=u();E(0,"b-hotlist-panel",18);M("focusedRowIndexChange",function(f){v(b);var h=N().$implicit,k=N();return x(Nob(k,h,f))})("selectionChange",function(f){v(b);var h=N(2);return x(Oob(h,
f))})("resultsLoaded",function(f){v(b);var h=N(2);return x(h.loadHotlists(f))});G()}if(a&2){var c=N();a=c.$implicit;var d=c.first;c=c.last;var e=N();D("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("hotlistId",a.resourceId)("first",d)("last",c)}},Rob=function(a,b){a&1&&(E(0,"div",14),C(1,Pob,1,6,"b-saved-search-panel",15)(2,Qob,1,6,"b-hotlist-panel",16),G());a&2&&(D("ngSwitch",b.$implicit.type),y(),D("ngSwitchCase","SAVED_SEARCH"),y(),D("ngSwitchCase","HOTLIST"))},
Sob=function(a){if(a&1){var b=u();E(0,"button",8);M("click",function(){v(b);var c=N();return x(c.archive())});R(1," Archive bookmark group ");G()}a&2&&(a=N(),D("disabled",a.hasUnsavedChanges()||a.isSaving()))},Tob=function(a){if(a&1){var b=u();E(0,"button",8);M("click",function(){v(b);var c=N();return x(c.unarchive())});R(1," Unarchive bookmark group ");G()}a&2&&(a=N(),D("disabled",a.hasUnsavedChanges()||a.isSaving()))},Uob=function(a){a&1&&(E(0,"span",32),R(1," (archived) "),G())},Wob=function(a,
b){if(a&1){var c=u();E(0,"div")(1,"b-hotlist-chip-smart",48);M("removeHotlist",function(){var d=v(c).ngIf,e=N(4);return x(Vob(e,d))});G()()}a&2&&(a=b.ngIf,y(),D("id",a))},Yob=function(a,b){if(a&1){var c=u();E(0,"div",49)(1,"a",50);R(2);G();E(3,"span",51);M("click",function(){var e=v(c).ngIf,f=N(4);return x(Xob(f,e))})("keydown.enter",function(){var e=v(c).ngIf,f=N(4);return x(Xob(f,e))})("keydown.space",function(){var e=v(c).ngIf,f=N(4);return x(Xob(f,e))});R(4," \u00d7 ");G()()}if(a&2){a=b.ngIf;
b=N().$implicit;var d=N(3);y();D("href",d.paths.viewSavedSearch(a),Pd)("matTooltip","Go to saved search: "+d.getDisplayName(b));y();S(" S: ",d.getDisplayName(b)," ");y();D("matTooltip","Remove item: "+d.getDisplayName(b));pf("aria-label","Remove item: "+d.getDisplayName(b))}},Zob=function(a){a&1&&(E(0,"span",52),R(1,"<None>"),G())},$ob=function(a,b){a&1&&(E(0,"div",45),C(1,Wob,2,1,"div",7)(2,Yob,5,5,"div",46)(3,Zob,2,0,"span",47),G());if(a&2){a=b.$implicit;b=N(3);y();var c;var d="HOTLIST"===a.resourceType?
null==(c=a.hotlistId)?void 0:c.toString():void 0;D("ngIf",d);y();D("ngIf","SAVED_SEARCH"===a.resourceType?a.savedSearchId:void 0);y();D("ngIf",!(null==b.bookmarkGroupUnderEdit.item?0:b.bookmarkGroupUnderEdit.item.length))}},bpb=function(a,b){if(a&1){var c=u();E(0,"button",61);M("click",function(){var d=v(c).$implicit,e=N(5);return x(apb(e,d))});R(1);G()}a&2&&(a=b.$implicit,y(),S("",a.name," "))},cpb=function(a){a&1&&C(0,bpb,2,1,"button",60);a&2&&(a=N(4),D("ngForOf",a.savedSearchChoices))},dpb=function(a){a&
1&&(E(0,"div",53)(1,"label",54),R(2,"Add from saved searches:"),G(),E(3,"button",55)(4,"span",56),R(5,"Select"),G(),I(6,"mat-icon",57),G(),E(7,"mat-menu",null,58),C(9,cpb,1,1,"ng-template",59),G()());if(a&2){var b=Q(8);y(3);D("matMenuTriggerFor",b)}},ipb=function(a){if(a&1){var b=u();K(0);E(1,"div",30)(2,"label",33)(3,"span",18);R(4,"Selected items");G()();E(5,"div",34,35);C(7,$ob,4,3,"div",36);G()();E(8,"div",37)(9,"div",38)(10,"label",39);R(11,"Add hotlist from favorites:");G();E(12,"b-hotlist-picker",
40);M("onApply",function(c){v(b);var d=N(2);return x(epb(d,c))})("onCreate",function(c){v(b);var d=N(2);return x(fpb(d,c))})("onLoad",function(c){v(b);var d=N(2);return x(gpb(d,c))});G()();E(13,"div",41)(14,"label",42);R(15,"Add hotlist by query:");G();E(16,"b-hotlist-search",43);M("itemSelect",function(c){v(b);var d=N(2);"hotlistId"in c&&!d.selectedHotlistIds[0].includes(c.hotlistId)&&(hpb(d,c.hotlistId),d.bookmarkGroupUnderEdit.item.push({name:c.name,resourceType:"HOTLIST",hotlistId:c.hotlistId}));
return x()});G()();C(17,dpb,10,1,"div",44);G();L()}a&2&&(a=N(2),y(7),D("ngForOf",a.bookmarkGroupUnderEdit.item),y(5),D("selectedHotlistIds",a.selectedHotlistIds)("choices",a.userHotlists)("checkEditAcl",!1),y(4),D("showGroups",!1)("allowStarring",!1),y(),D("ngIf",0<a.savedSearchChoices.length))},kpb=function(a){a&1&&(E(0,"span"),R(1),E(2,"a",65),R(3),G()());if(a&2){a=N().$implicit;var b=N(3);y();S(" Hotlist ",a.hotlistId,": ");y();D("href",jpb(b,a),Pd);y();S(" ",a.name||"(name not available)"," ")}},
lpb=function(a){a&1&&(E(0,"span"),R(1),E(2,"a",65),R(3),G()());if(a&2){a=N().$implicit;var b=N(3);y();S(" Saved search ",a.savedSearchId,": ");y();D("href",jpb(b,a),Pd);y();S(" ",a.name||"(name not available)"," ")}},mpb=function(a,b){a&1&&(E(0,"li"),C(1,kpb,4,3,"span",7)(2,lpb,4,3,"span",7),G());a&2&&(a=b.$implicit,y(),D("ngIf","HOTLIST"===a.resourceType),y(),D("ngIf","SAVED_SEARCH"===a.resourceType))},npb=function(a){a&1&&(E(0,"div",62)(1,"label")(2,"span",18),R(3,"Items"),G()(),E(4,"div",63)(5,
"ul"),C(6,mpb,3,2,"li",64),G()()());a&2&&(a=N(2),y(6),D("ngForOf",a.bookmarkGroup.item))},opb=function(a){if(a&1){var b=u();E(0,"div",66)(1,"button",67);M("click",function(){v(b);var c=N(2);return x(c.saveMetadata())});R(2," Update ");G();E(3,"button",68);M("click",function(){v(b);var c=N(2);return x(c.revertMetadataChanges())});R(4," Revert changes ");G()()}a&2&&(a=N(2),y(),D("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},ppb=function(a){if(a&1){var b=u();E(0,"div",66)(1,"button",67);
M("click",function(){v(b);var c=N(2);return x(c.saveAccessPolicy())});R(2," Update ");G();E(3,"button",68);M("click",function(){v(b);var c=N(2);return x(c.revertAccessPolicyChanges())});R(4," Revert changes ");G()()}a&2&&(a=N(2),y(),D("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},tpb=function(a){if(a&1){var b=u();K(0);E(1,"div",9)(2,"h2");R(3);G();C(4,Uob,2,0,"span",10);E(5,"a",11);R(6," (View Dashboard)");G()();E(7,"mat-tab-group",12);
M("selectedIndexChange",function(d){v(b);var e=N();return x(e.selectedTabIndex=d)})("selectedIndexChange",function(d){v(b);var e=N();return x(e.tabChange(d))});E(8,"mat-tab",13)(9,"div",14);I(10,"b-error-banner",15);E(11,"div",16)(12,"label",17)(13,"span",18);R(14,"Name");G()();E(15,"input",19,20);M("ngModelChange",function(d){v(b);var e=N();return x(e.bookmarkGroupUnderEdit.name=d)});G()();E(17,"div",16)(18,"label",21)(19,"span",18);R(20,"Description");G()();E(21,"textarea",22);M("ngModelChange",
function(d){v(b);var e=N();return x(e.bookmarkGroupUnderEdit.description=d)});G()();C(22,ipb,18,7,"ng-container",23)(23,npb,7,1,"ng-template",null,24,jg)(25,opb,5,1,"div",25);G()();E(26,"mat-tab",26)(27,"div",14)(28,"div",16)(29,"label")(30,"span",18);R(31,"Admins");G();E(32,"p",27);R(33," Edit access controls, edit name and description, reorder items, add/remove items ");G()();E(34,"b-multi-user-input",28);M("usersChange",function(d){v(b);var e=N();return x(e.accessPolicyUnderEdit.admins=d)})("isValid",
function(d){v(b);var e=N();return x(e.isAdminsFieldValid=d)});G()();E(35,"div",16)(36,"label")(37,"span",18);R(38,"View only");G();E(39,"p",27);R(40," View the bookmark group ");G();E(41,"b-multi-user-input",29);M("usersChange",function(d){v(b);var e=N();return x(e.accessPolicyUnderEdit.readers=d)})("isValid",function(d){v(b);var e=N();return x(e.isReaderFieldValid=d)});G()()();E(42,"div",30);R(43," See ");E(44,"a",31);R(45,"access control documentation");G();R(46," for an explanation of the settings. ");
G();C(47,ppb,5,1,"div",25);G()()();L()}if(a&2){var c=Q(24);a=N();y(3);ag(" Bookmark group ",a.bookmarkGroup.bookmarkGroupId,": ",a.bookmarkGroup.name," ");y();D("ngIf",a.isArchived());y();D("href",a.paths.dashboard(a.bookmarkGroup.bookmarkGroupId),Pd);y(2);D("selectedIndex",a.selectedTabIndex);y(3);D("error",a.error);y();D("ngClass",fg(28,qpb,a.isEditDisabled()));y(4);D("ngModel",a.bookmarkGroupUnderEdit.name)("disabled",a.isEditDisabled());y(2);D("ngClass",fg(30,qpb,a.isEditDisabled()));y(4);D("ngModel",
a.bookmarkGroupUnderEdit.description)("disabled",a.isEditDisabled());y();D("ngIf",a.isAdmin)("ngIfElse",c);y(3);D("ngIf",a.isAdmin);y(3);D("ngClass",fg(32,qpb,a.isEditDisabled()));y(6);yf("disabled",a.isEditDisabled());D("users",a.accessPolicyUnderEdit.admins);y();D("ngClass",fg(34,qpb,a.isEditDisabled()));y(6);yf("disabled",a.isEditDisabled());D("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",fg(38,rpb,fg(36,spb,a.accessPolicyUnderEdit.admins)));
y(3);D("href",np(a.documentationLinks)+"#bookmark-groups",Pd);y(3);D("ngIf",a.isAdmin)}},upb=function(a){if(a&1){var b=u();E(0,"button",8);M("click",function(){v(b);var c=N();return x(c.delete())});R(1," Delete saved search ");G()}a&2&&(a=N(),D("disabled",a.hasUnsavedChanges()||a.isSaving()))},vpb=function(a){a&1&&(K(0),E(1,"div",9)(2,"h2"),R(3," Saved search not found "),G()(),L())},wpb=function(a){if(a&1){var b=u();E(0,"div",34)(1,"button",35);M("click",function(){v(b);var c=N(2);return x(c.saveMetadata())});
R(2," Update ");G();E(3,"button",36);M("click",function(){v(b);var c=N(2);return x(c.revertMetadataChanges())});R(4," Revert changes ");G()()}a&2&&(a=N(2),y(),D("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},xpb=function(a){if(a&1){var b=u();E(0,"div",34)(1,"button",35);M("click",function(){v(b);var c=N(2);return x(c.saveAccessPolicy())});R(2," Update ");G();E(3,"button",36);M("click",function(){v(b);var c=N(2);return x(c.revertAccessPolicyChanges())});R(4," Revert changes ");G()()}a&
2&&(a=N(2),y(),D("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},Bpb=function(a){if(a&1){var b=u();K(0);E(1,"div",9)(2,"h2");R(3);G();E(4,"a",10);R(5," (View Issues)");G()();E(6,"mat-tab-group",11);M("selectedIndexChange",function(c){v(b);var d=N();return x(d.selectedTabIndex=c)})("selectedIndexChange",function(c){v(b);var d=N();return x(d.tabChange(c))});E(7,"mat-tab",12)(8,"div",13);I(9,"b-error-banner",14);E(10,"div",15)(11,"label",16)(12,
"span",17);R(13,"Name");G()();E(14,"input",18,19);M("ngModelChange",function(c){v(b);var d=N();return x(d.savedSearchUnderEdit.name=c)});G()();E(16,"div",15)(17,"label",20)(18,"span",17);R(19,"Description");G()();E(20,"textarea",21);M("ngModelChange",function(c){v(b);var d=N();return x(d.savedSearchUnderEdit.description=c)});R(21,"            ");G()();E(22,"div",22)(23,"label",23)(24,"span",17);R(25,"Query");G();E(26,"p",24);R(27," To modify query and display preferences, run the saved search and modify its parameters ");
G();E(28,"div",25);R(29);G()()();C(30,wpb,5,1,"div",26);G()();E(31,"mat-tab",27)(32,"div",13)(33,"div",15)(34,"label",28)(35,"span",17);R(36,"Admins");G();E(37,"p",24);R(38," Edit access controls, edit name and description, edit query ");G()();E(39,"b-multi-user-input",29);M("usersChange",function(c){v(b);var d=N();return x(d.accessPolicyUnderEdit.admins=c)})("isValid",function(c){v(b);var d=N();return x(d.isAdminsFieldValid=c)});G()();E(40,"div",15)(41,"label",30)(42,"span",17);R(43,"View and execute search");
G()();E(44,"b-multi-user-input",31);M("usersChange",function(c){v(b);var d=N();return x(d.accessPolicyUnderEdit.readers=c)})("isValid",function(c){v(b);var d=N();return x(d.isReaderFieldValid=c)});G()();E(45,"div",32);R(46," See ");E(47,"a",33);R(48,"access control documentation");G();R(49," for an explanation of the settings. ");G();C(50,xpb,5,1,"div",26);G()()();L()}a&2&&(a=N(),y(3),ag(" Saved search ",a.savedSearch.searchId,": ",a.savedSearch.name," "),y(),D("href",a.paths.viewSavedSearch(a.savedSearch.searchId),
Pd),y(2),D("selectedIndex",a.selectedTabIndex),y(3),D("error",a.error),y(),D("ngClass",fg(26,ypb,a.isEditDisabled())),y(4),D("ngModel",a.savedSearchUnderEdit.name)("disabled",a.isEditDisabled()),y(2),D("ngClass",fg(28,ypb,a.isEditDisabled())),y(4),D("ngModel",a.savedSearchUnderEdit.description)("disabled",a.isEditDisabled()),y(9),S(" ",a.savedSearch.query," "),y(),D("ngIf",a.isAdmin),y(3),D("ngClass",fg(30,ypb,a.isEditDisabled())),y(6),yf("disabled",a.isEditDisabled()),D("users",a.accessPolicyUnderEdit.admins),
y(),D("ngClass",fg(32,ypb,a.isEditDisabled())),y(4),yf("disabled",a.isEditDisabled()),D("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",fg(36,zpb,fg(34,Apb,a.accessPolicyUnderEdit.admins))),y(3),D("href",np(a.documentationLinks)+"#saved-searches",Pd),y(3),D("ngIf",a.isAdmin))},Cpb=function(a){a&1&&(E(0,"div",7),I(1,"b-spinner"),G())},Dpb=function(a){if(a&1){var b=u();E(0,"div",39)(1,"span",40)(2,"mat-checkbox",41);M("change",function(c){v(b);
var d=N(2);return x(d.alertState.setValue(c.checked))});G()();E(3,"div")(4,"strong",42);R(5,"SLO Notifications");G();E(6,"div",43);R(7," When checked, admins will be notified when any component that would be automatically assigned this SLO overrides their SLO settings. ");G()()()}a&2&&(a=N(2),yf("bv2-edit-resource-readonly",a.isEditDisabled()),y(2),D("checked",a.alertState.getValue())("disabled",a.isEditDisabled()))},Epb=function(a){a&1&&(E(0,"div",44),R(1," Action is required to keep your SLO definitions in Buganizer and BugScope in sync. "),
E(2,"a",45),R(3," Learn more "),G()())},Gpb=function(a){if(a&1){var b=u();E(0,"b-button",50);M("onAction",function(){v(b);var c=N(3);return x(Fpb(c,!0))});R(1," Archive ");G()}a&2&&(a=N(3),D("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},Hpb=function(a){if(a&1){var b=u();E(0,"b-button",51);M("onAction",function(){v(b);var c=N(3);return x(Fpb(c,!1))});R(1," Unarchive ");G()}a&2&&(a=N(3),D("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},Ipb=function(a){if(a&1){var b=u();E(0,"div",
26)(1,"b-button",46);M("onAction",function(){v(b);var d=N(2);return x(d.saveMetadata())});R(2," Update ");G();E(3,"b-button",47);M("onAction",function(){v(b);var d=N(2);return x(d.revertMetadataChanges())});R(4," Revert changes ");G();C(5,Gpb,2,1,"b-button",48)(6,Hpb,2,1,"b-button",49);G()}if(a&2){N();var c=Q(9);a=N();y();D("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||!a.elementPickerIsValid||!!c.pending||!!c.invalid);y(2);D("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||!!c.pending||
!!c.invalid);y(2);D("ngIf",a.slo&&!a.slo.isArchived);y();D("ngIf",a.slo&&a.slo.isArchived)}},Jpb=function(a){if(a&1){var b=u();E(0,"div",25)(1,"b-button",52);M("onAction",function(){v(b);var c=N(2);return x(c.saveAccessPolicy())});R(2," Update ");G();E(3,"b-button",53);M("onAction",function(){v(b);var c=N(2);return x(c.revertAccessPolicyChanges())});R(4," Revert changes ");G()()}a&2&&(a=N(2),y(),D("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||a.isInvalid()))},Kpb=function(a){if(a&1){var b=
u();E(0,"div")(1,"div",8)(2,"h2")(3,"span",9);R(4);G()()();E(5,"mat-tab-group",10);M("selectedIndexChange",function(c){v(b);var d=N();return x(d.selectedTabIndex=c)})("selectedIndexChange",function(c){v(b);var d=N();return x(d.tabChange(c))});E(6,"mat-tab",11)(7,"div",12)(8,"form",13,14)(10,"div",15)(11,"label",16)(12,"span",17);R(13,"Name");G()();E(14,"input",18);M("ngModelChange",function(c){v(b);var d=N();return x(d.editableCopy.name=c)});G()();E(15,"div",15)(16,"label",19)(17,"span",17);R(18,
"Description");G()();E(19,"textarea",20);M("ngModelChange",function(c){v(b);var d=N();return x(d.editableCopy.description=c)});R(20,"              ");G()();C(21,Dpb,8,4,"div",21);G();C(22,Epb,4,0,"div",22);E(23,"div",15)(24,"slo-elements-picker",23);M("onCollectionUpdate",function(c){v(b);var d=N();return x(d.updateCollection(c))})("onValidation",function(c){v(b);var d=N();return x(d.elementPickerIsValid=c)});G()();E(25,"div",24)(26,"div",25)(27,"div",26)(28,"b-button",27);M("onAction",function(){v(b);
var c=N();return x(c.showUpdateHistoryModal())});R(29," View history ");G()()();E(30,"div",25);C(31,Ipb,7,4,"div",28);G()()()();E(32,"mat-tab",29)(33,"div",30)(34,"form",31)(35,"div",15)(36,"label",32)(37,"span",17);R(38,"Admins");G();E(39,"p",33);R(40," Edit name, description and metrics ");G()();E(41,"b-multi-user-input",34);M("usersChange",function(c){v(b);var d=N();return x(d.editableAccessPolicy.admins=c)})("isValid",function(c){v(b);var d=N();return x(d.validity.admins=c)});G()();E(42,"div",
15)(43,"label",35)(44,"span",17);R(45,"Readers");G();E(46,"p",33);R(47," View the SLO definition (this is not required to see an issue's SLO status) ");G()();E(48,"b-multi-user-input",36);M("usersChange",function(c){v(b);var d=N();return x(d.editableAccessPolicy.readers=c)})("isValid",function(c){v(b);var d=N();return x(d.validity.readers=c)});G()()();E(49,"div",15);R(50," See ");E(51,"a",37);R(52,"access control documentation");G();R(53," for an explanation of the settings. ");G();C(54,Jpb,5,1,"div",
38);G()()()()}a&2&&(a=N(),y(4),ag(" SLO ",a.slo.sloId,": ",a.slo.name," "),y(),D("selectedIndex",a.selectedTabIndex),y(5),yf("bv2-edit-resource-readonly",a.isEditDisabled()),y(4),D("required",!0)("ngModel",a.editableCopy.name)("disabled",a.isEditDisabled()),y(),yf("bv2-edit-resource-readonly",a.isEditDisabled()),y(4),D("ngModel",a.editableCopy.description)("disabled",a.isEditDisabled()),y(2),D("ngIf",a.isImportedFromBugScope||a.alertState.getSavedValue()),y(),D("ngIf",a.isUneditedFromBugScope&&a.isAdmin()),
y(),yf("bv2-edit-resource-readonly",a.isEditDisabled()),y(),D("isDisabled",a.isEditDisabled())("collection",a.editableCopy.elements),y(7),D("ngIf",a.isAdmin()),y(4),yf("bv2-edit-resource-readonly",a.isEditDisabled()),y(6),D("users",a.editableAccessPolicy.admins),pf("disabled",a.isEditDisabled()?!0:null),y(),yf("bv2-edit-resource-readonly",a.isEditDisabled()),y(6),D("users",a.editableAccessPolicy.readers)("includeAliases",!0)("includeViewAliases",!0),pf("disabled",a.isEditDisabled()?!0:null),y(3),
Nf("href","",np(a.documentationLinks),"#slos",Pd),y(3),D("ngIf",a.isAdmin()))},Lpb=function(a,b,c){var d=c[b];return null==d?!1:[].concat(r(a)).map(function(e){return Ns[e]}).every(function(e){return null==e?!0:e.check(d,b,c)})},Mpb=function(a){return!!Ns[a]},Npb=function(a){if(a&1){var b=u();E(0,"div",3);M("@arrowPosition.start",function(){v(b);var c=N();return x(c._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){v(b);var c=N();return x(c._disableViewStateAnimation=!1)});I(1,"div",
4);E(2,"div",5);I(3,"div",6)(4,"div",7)(5,"div",8);G()()}a&2&&(a=N(),D("@arrowOpacity",a._getArrowViewState())("@arrowPosition",a._getArrowViewState())("@allowChildren",a._getArrowDirectionState()),y(2),D("@indicator",a._getArrowDirectionState()),y(),D("@leftPointer",a._getArrowDirectionState()),y(),D("@rightPointer",a._getArrowDirectionState()))},Opb=function(a){a&1&&I(0,"th",28)},Ppb=function(a){a&1&&I(0,"td",29)},Qpb=function(a){a&1&&(E(0,"th",28),R(1," Id "),G())},Rpb=function(a,b){a&1&&(E(0,
"td",30),I(1,"b-issue-id-cell",31),G());a&2&&(a=b.$implicit,y(),D("id",a.id))},Spb=function(a){a&1&&(E(0,"th",28),R(1," Title "),G())},Tpb=function(a,b){a&1&&(E(0,"td",30),I(1,"b-issue-title-cell",32),T(2,"async"),G());if(a&2){a=b.$implicit;b=N();var c;y();D("issue",V(2,4,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)}},Upb=function(a){a&1&&(E(0,"th",33),R(1," Type "),G())},Vpb=function(a,b){a&1&&(E(0,"td",30),I(1,"b-issue-type-cell",34),T(2,"async"),G());a&2&&(a=b.$implicit,y(),D("issue",V(2,1,a.issue$)))},Wpb=function(a){a&1&&Gf(0)},Xpb=function(a){a&1&&(K(0),R(1,"Assignee"),L())},Ypb=function(a){a&1&&(E(0,"th",35),K(1,36),C(2,Wpb,1,0,"ng-container",37)(3,Xpb,2,0,"ng-container",38),L(),G());a&2&&(a=N(),y(),D("ngSwitch",null==a.options.modes?null:a.options.modes.assignee),y(),D("ngSwitchCase","avatar-if-open"))},
Zpb=function(a,b){a&1&&I(0,"b-user-image",41);a&2&&D("email",b.$implicit)},$pb=function(a){a&1&&(K(0),C(1,Zpb,1,1,"b-user-image",40),L());if(a&2){a=N().$implicit;var b=N(3);y();D("ngIf",b.getAssigneeString(a))}},aqb=function(a,b){a&1&&(K(0),C(1,$pb,2,1,"ng-container",39),L());a&2&&(a=b.$implicit,b=N(3),y(),D("ngIf",b.isOpen(a)))},bqb=function(a){a&1&&(K(0),C(1,aqb,2,1,"ng-container",39),T(2,"async"),L());a&2&&(a=N().$implicit,y(),D("ngIf",V(2,1,a.issue$)))},cqb=function(a){a&1&&(K(0),I(1,"b-issue-assignee-cell",
34),T(2,"async"),L());a&2&&(a=N().$implicit,y(),D("issue",V(2,1,a.issue$)))},dqb=function(a){a&1&&(E(0,"td",30),K(1,36),C(2,bqb,3,3,"ng-container",37)(3,cqb,3,3,"ng-container",38),L(),G());a&2&&(a=N(),y(),D("ngSwitch",null==a.options.modes?null:a.options.modes.assignee),y(),D("ngSwitchCase","avatar-if-open"))},eqb=function(a){a&1&&(E(0,"th",42),R(1," Reporter "),G())},fqb=function(a,b){a&1&&(E(0,"td",30),I(1,"b-issue-reporter-cell",34),T(2,"async"),G());a&2&&(a=b.$implicit,y(),D("issue",V(2,1,a.issue$)))},
gqb=function(a){a&1&&(E(0,"th",43),R(1," Priority "),G())},hqb=function(a,b){a&1&&(E(0,"td",30),I(1,"b-issue-priority-display",44),G());a&2&&(a=b.$implicit,b=N(),y(),D("issuePriority",b.getPriority(a)))},iqb=function(a){a&1&&(E(0,"th",45),R(1," Status "),G())},jqb=function(a,b){a&1&&(E(0,"td",30),I(1,"b-issue-status-cell",34),T(2,"async"),G());a&2&&(a=b.$implicit,y(),D("issue",V(2,1,a.issue$)))},kqb=function(a){a&1&&(E(0,"th",28),R(1," Team "),G())},lqb=function(a,b){a&1&&(E(0,"td",30),I(1,"b-issue-team-cell",
34),T(2,"async"),G());a&2&&(a=b.$implicit,y(),D("issue",V(2,1,a.issue$)))},mqb=function(a){a&1&&(E(0,"th",28),R(1," Dupes "),G())},nqb=function(a){a&1&&(K(0),R(1),L());if(a&2){a=N().$implicit;var b;y();S(" ",null!==(b=null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length)&&void 0!==b?b:0," ")}},oqb=function(a){a&1&&(K(0),C(1,nqb,2,1,"ng-container",39),L());a&2&&(N(2),y(),D("ngIf",!0))},pqb=function(a,b){a&1&&(E(0,"td",30),C(1,oqb,2,1,"ng-container",39),T(2,"async"),G());
a&2&&(a=b.$implicit,y(),D("ngIf",V(2,1,a.issue$)))},qqb=function(a){a&1&&(E(0,"th",28),R(1," +1 "),G())},rqb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N().$implicit,y(),S(" ",null==a.aggregatedData?null:a.aggregatedData.voteCount," "))},sqb=function(a){a&1&&(K(0),C(1,rqb,2,1,"ng-container",39),L());a&2&&(N(2),y(),D("ngIf",!0))},tqb=function(a,b){a&1&&(E(0,"td",30),C(1,sqb,2,1,"ng-container",39),T(2,"async"),G());a&2&&(a=b.$implicit,y(),D("ngIf",V(2,1,a.issue$)))},uqb=function(a){a&1&&(E(0,"th",46),
R(1," Created "),G())},vqb=function(a,b){a&1&&(E(0,"td",30),I(1,"b-issue-created-time-cell",47),T(2,"async"),G());if(a&2){a=b.$implicit;b=N();var c;y();D("issue",V(2,2,a.issue$))("mode",null!==(c=null==b.options.modes?null:b.options.modes.createdTime)&&void 0!==c?c:b.DEFAULT_DATETIME_MODE)}},wqb=function(a){a&1&&(E(0,"th",48),R(1," Last Modified "),G())},xqb=function(a,b){a&1&&(K(0),I(1,"b-formatted-date-time",51),L());if(a&2){a=b.$implicit;b=N(2);var c;y();D("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)}},yqb=function(a){a&1&&R(0,"--")},zqb=function(a,b){a&1&&(E(0,"td",30),C(1,xqb,2,3,"ng-container",49)(2,yqb,1,0,"ng-template",null,50,jg),G());if(a&2){a=b.$implicit;var c=Q(3);b=N();y();D("ngIf",b.getModifiedTimeMicros(a))("ngIfElse",c)}},Aqb=function(a){a&1&&I(0,"th",28)},Bqb=function(a,b){a&1&&(E(0,"td",30)(1,"b-actions-menu",52),M("click",function(e){return e.stopPropagation()}),G()());
if(a&2){a=b.$implicit;b=N();var c,d;y();D("buttonLabel",null!==(c=null==b.options.menu?null:b.options.menu.buttonLabel)&&void 0!==c?c:b.DEFAULT_MENU_OPTIONS.buttonLabel)("buttonIcon",null!==(d=null==b.options.menu?null:b.options.menu.buttonIcon)&&void 0!==d?d:b.DEFAULT_MENU_OPTIONS.buttonIcon)("menuItems",b.getMenuItems(a.id))}},Cqb=function(a){a&1&&I(0,"tr",53)},Dqb=function(a,b){if(a&1){var c=u();E(0,"tr",54);M("click",function(d){var e=v(c).$implicit,f=N();return x(f.navigateToIssue(d,e.id))})("mouseup",
function(d){var e=v(c).$implicit,f=N();return x(f.navigateToIssue(d,e.id))})("focusin",function(){var d=v(c).$implicit,e=N();return x(Up(e.focusManager,d))})("keydown",function(d){var e=v(c).$implicit,f=N();return x(f.onRowKeydown(e,d))});G()}a&2&&D("row",b.$implicit)},Eqb=function(a){if(a&1){var b=u();K(0);E(1,"button",57);M("click",function(){v(b);var c=N(5);return x(c.rowLimit$.next(void 0))});R(2," Show more ");I(3,"mat-icon",58);G();L()}},Fqb=function(a){a&1&&(K(0),C(1,Eqb,4,0,"ng-container",
39),L());if(a&2){a=N().$implicit;var b=N().$implicit;y();D("ngIf",a.length<b)}},Gqb=function(a){if(a&1){var b=u();K(0);E(1,"button",57);M("click",function(){v(b);var c=N(5);return x(c.rowLimit$.next(c.options.rowLimit))});R(2," Show less ");I(3,"mat-icon",59);G();L()}},Hqb=function(a){a&1&&C(0,Gqb,4,0,"ng-container",39);if(a&2){a=N().$implicit;var b=N(3),c;D("ngIf",a.length>(null!==(c=b.options.rowLimit)&&void 0!==c?c:0))}},Iqb=function(a){a&1&&(K(0),C(1,Fqb,2,1,"ng-container",49),T(2,"async"),C(3,
Hqb,1,1,"ng-template",null,56,jg),L());if(a&2){var b=Q(4);a=N(3);y();D("ngIf",V(2,2,a.rowLimit$))("ngIfElse",b)}},Jqb=function(a){a&1&&(K(0),C(1,Iqb,5,4,"ng-container",39),T(2,"async"),L());a&2&&(a=N(2),y(),D("ngIf",V(2,1,a.rows$)))},Kqb=function(a){a&1&&(E(0,"div",55),C(1,Jqb,3,3,"ng-container",39),T(2,"async"),G());a&2&&(a=N(),y(),D("ngIf",V(2,1,a.rowCountAfterFilters$)))},Lqb=function(a,b){return(null==a?void 0:a.id)===(null==b?void 0:b.id)},In=function(a){return om(a.issue$)},Mqb=function(a){var b,
c,d;return null==(b=om(a.issue$))?void 0:null==(c=b.snapshot)?void 0:null==(d=c[0])?void 0:d.priority},Nqb=function(a){var b,c;return null==(b=om(a.issue$))?void 0:null==(c=b.aggregatedData)?void 0:c.modifiedTimeMicros},Oqb=function(a,b){if(!b||!b.direction)return a;switch(b.active){case "status":return iCa()(a,b.direction);case "assignee":return jCa()(a,b.direction);case "reporter":return lCa()(a,b.direction);case "type":return kCa()(a,b.direction);case "createdTime":return mCa()(a,b.direction);
case "modifiedTime":return nCa()(a,b.direction);case "priority":return qCa()(a,b.direction);default:return console.warn("b-issues-table sort by '"+b.active+"' not implemented"),a}},Qqb=function(a){if(a&1){var b=u();E(0,"div",5);I(1,"img",6)(2,"img",7);E(3,"p",8);R(4," This issue is not blocking anything \u00a0\ud83e\udd73 ");G();E(5,"p",9);R(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. ');E(7,"a",10);
R(8,"Learn more");G()();E(9,"button",11);M("click",function(){v(b);var c=N(2);return x(Pqb(c))});R(10," Add ");G()()}a&2&&(a=N(2),y(),D("src",a.TEA_LIGHT,Pd),y(),D("src",a.TEA_DARK,Pd))},Rqb=function(a,b){a&1&&I(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=N(6),D("issueIds",a)("menuItemFactory",b.getMenuItems))},Sqb=function(a){a&1&&(K(0),C(1,Rqb,1,2,"b-issues-table",17),T(2,"async"),L());a&2&&(a=N(5),y(),D("ngIf",V(2,1,a.blockedAndOpenIds$)))},Tqb=function(a){a&1&&(E(0,"p",19),R(1,"Not blocking any open issues \ud83e\udd73"),
G())},Uqb=function(a,b){a&1&&(K(0),E(1,"h4",15),R(2),G(),C(3,Sqb,3,3,"ng-container",12)(4,Tqb,2,0,"ng-template",null,16,jg),L());if(a&2){a=b.$implicit;var c=Q(5);y(2);S("Open (",a.length,")");y();D("ngIf",0<a.length)("ngIfElse",c)}},Vqb=function(a,b){a&1&&I(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=N(6),D("issueIds",a)("menuItemFactory",b.getMenuItems))},Wqb=function(a){a&1&&(K(0),E(1,"h4",15),R(2),G(),C(3,Vqb,1,2,"b-issues-table",17),T(4,"async"),L());if(a&2){a=N().$implicit;var b=N(4);y(2);S("Closed (",
a.length,")");y();D("ngIf",V(4,2,b.blockedAndClosedIds$))}},Xqb=function(a,b){a&1&&(K(0),C(1,Wqb,5,4,"ng-container",1),L());a&2&&(a=b.$implicit,y(),D("ngIf",0<a.length))},Yqb=function(a){a&1&&(K(0),C(1,Uqb,6,3,"ng-container",1),T(2,"async"),C(3,Xqb,2,1,"ng-container",1),T(4,"async"),L());a&2&&(a=N(3),y(),D("ngIf",V(2,2,a.blockedAndOpen$)),y(2),D("ngIf",V(4,4,a.blockedAndClosed$)))},Zqb=function(a,b){a&1&&(E(0,"li")(1,"a",22)(2,"span",9),R(3),G(),E(4,"aside",23),I(5,"button",24),G()()());a&2&&(a=b.$implicit,
y(),Nf("routerLink","/issues/",a,""),rf("aria-label","Issue ",a,""),y(2),S("b/",a,""))},$qb=function(a){a&1&&(E(0,"h4",15),R(1,"Loading..."),G(),E(2,"ol",20),C(3,Zqb,6,3,"li",21),G());a&2&&(a=N(2).$implicit,y(3),D("ngForOf",a))},arb=function(a,b){a&1&&(K(0),E(1,"a",25),R(2," View as search results "),G(),L());a&2&&(a=b.ngIf,y(),D("routerLink",a.path)("queryParams",a.params))},brb=function(a){if(a&1){var b=u();C(0,Yqb,5,6,"ng-container",12);T(1,"async");C(2,$qb,4,1,"ng-template",null,13,jg);E(4,"aside",
14)(5,"button",11);M("click",function(){v(b);var d=N(2);return x(Pqb(d))});R(6," Add ");G();C(7,arb,3,2,"ng-container",1);T(8,"async");G()}if(a&2){var c=Q(3);a=N(2);D("ngIf",V(1,3,a.issuesBeingBlocked$))("ngIfElse",c);y(7);D("ngIf",V(8,5,a.searchUrl$))}},crb=function(a,b){a&1&&(K(0),C(1,Qqb,11,2,"div",3)(2,brb,9,7,"ng-template",null,4,jg),L());if(a&2){a=b.$implicit;var c=Q(3);y();D("ngIf",0===a.length)("ngIfElse",c)}},drb=function(a){a&1&&(E(0,"aside",26),I(1,"b-spinner"),G())},erb=function(a,b){a&
1&&I(0,"b-user-image",2);a&2&&D("email",b.$implicit)},frb=function(a,b){if(a&1){var c=u();K(0);E(1,"a",3);M("click",function(){v(c);var d=N(2);return x(d.limit+=d.LIMIT_INCREMENT)});R(2);G();L()}a&2&&(a=b.$implicit,y(),Nf("title","",a," more participant(s). Click to show."),y(),S("",a," more"))},grb=function(a){a&1&&(K(0),C(1,frb,3,2,"ng-container",1),L());a&2&&(a=N(),y(),D("ngIf",a.emails.length-a.limit))},irb=function(a){a&1&&(E(0,"a",5),R(1),G());a&2&&(a=N(2),D("href",a.makeCritiqueUrl(eg(2,hrb),
a.pending),Pd),y(),S("(",a.pending.length," pending)"))},jrb=function(a,b){a&1&&(E(0,"div",1),I(1,"img",2),R(2," \u00a0 "),E(3,"a",3),R(4),G(),R(5," \u00a0 "),C(6,irb,2,3,"a",4),G());a&2&&(a=b.$implicit,b=N(),y(3),D("href",b.makeCritiqueUrl(b.submitted,b.pending),Pd),y(),S("",a," CLs"),y(2),D("ngIf",0<b.pending.length))},krb=function(a){a&1&&(E(0,"span",5),T(1,"date"),R(2),G());a&2&&(a=N(2),Nf("title","Start Date: ",ig(1,3,a.startDate,"longDate"),""),y(2),ag(" ",a.startDateShortStr,"",a.joinerStr,
" "))},lrb=function(a){a&1&&(E(0,"span",6),T(1,"date"),R(2),G());a&2&&(a=N(2),Nf("title","End Date: ",ig(1,2,a.endDate,"longDate"),""),y(2),S(" ",a.endDateShortStr," "))},mrb=function(a){a&1&&(E(0,"div",1),I(1,"mat-icon",2),C(2,krb,3,6,"span",3)(3,lrb,3,5,"span",4),G());a&2&&(a=N(),y(2),D("ngIf",a.startDate),y(),D("ngIf",a.endDate))},nrb=function(a){if(a&1){var b=u();E(0,"div",1);M("click",function(){v(b);var c=N();return x(c.useXofYLabel=!c.useXofYLabel)});I(1,"div",2);E(2,"span");R(3);T(4,"number");
G();E(5,"span");R(6);G()()}a&2&&(a=N(),Pf("title","",a.closed," of ",a.total," issues closed in this work area"),y(),pf("style",a.makePie(a.closed/a.total),Bha),y(),yf("display-none",a.useXofYLabel),y(),S("",ig(4,10,a.closed/a.total*100,"1.0-0"),"% complete"),y(2),yf("display-none",!a.useXofYLabel),y(),ag("",a.closed," of ",a.total," closed"))},orb=function(a,b){a&1&&I(0,"progress-pie",5);a&2&&(a=b.$implicit,D("closed",a.closed)("total",a.total))},qrb=function(a,b){a&1&&(I(0,"cl-counts",6),T(1,"async"));
if(a&2){a=b.$implicit;b=N();var c;D("submitted",a.changelists)("pending",null!==(c=V(1,2,b.pendingCls$))&&void 0!==c?c:eg(4,prb))}},rrb=function(a,b){a&1&&I(0,"avatar-bunch",7);a&2&&D("emails",b.$implicit)},srb=function(a,b){if(a&&a.length)return a.map(b)},trb=function(a){var b=a.getFilename();var c=si(a,2,hi());return{filename:b,lineNumber:c,changeNumber:a.getChangeNumber_asLegacyNumberOrString()}},vrb=function(a){var b=Zi(a,1);a=gi(a,urb,2,hi());return{packageName:b,fileMentionSet:srb(a,trb)}},
xrb=function(a){var b=qi(a,1),c=Xi(a,2);a=gi(a,wrb,3,hi());return{totalMentions:b,truncated:c,packageMentionSet:srb(a,vrb)}},Os=function(a){var b=yrb(a.open);a=yrb(a.total);return b===a?"("+b+")":"("+b+"/"+a+")"},yrb=function(a){var b=a.count;a=a.exact;return 0===b||a?""+b:b+"+"},zrb=function(a){return"("+yrb(a)+")"},Ps=function(a){return{count:99<a?99:a,exact:99<a?!1:!0}},Arb=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:Nh(b)}},Brb=function(a){a&1&&Gf(0)},Crb=function(a){a&1&&(K(0),C(1,Brb,1,0,"ng-container",9),L());if(a&2){N();var b=Q(15);y();D("ngTemplateOutlet",b)}},Drb=function(a,b){a&1&&(K(0),I(1,"b-issues-table",10),L());a&2&&(a=b.ngIf,b=N(2),y(),D("issueIds",a)("tableColumns",b.tableColumns)("menuItemFactory",b.getMenuItems)("filters",b.filters)("initialSort",b.initialSort))},Erb=function(a){a&
1&&(K(0),C(1,Drb,2,5,"ng-container",4),T(2,"async"),L());a&2&&(a=N(),y(),D("ngIf",V(2,1,a.blockerIds$)))},Frb=function(a,b){if(a&1){var c=u();E(0,"p",11);R(1);E(2,"button",12);M("click",function(){v(c);var d=N();return x(d.shouldResetFilters.next())});R(3,"Show all");G()()}a&2&&(a=b.$implicit,y(),ag(" Filtering ",a," issue",1===a?"":"s",". "))},Grb=function(a){a&1&&Gf(0)},Hrb=function(a){a&1&&(E(0,"div")(1,"span",11),R(2,"This issue is not blocked "),E(3,"span",13),R(4,"\ud83c\udf89"),G()(),C(5,Grb,
1,0,"ng-container",9),G());if(a&2){N();var b=Q(15);y(5);D("ngTemplateOutlet",b)}},Jrb=function(a){if(a&1){var b=u();E(0,"b-button",14);M("onAction",function(){v(b);var c=N();return x(Irb(c))});T(1,"async");R(2," Add blocker ");G()}a&2&&(a=N(),D("disabled",!V(1,1,a.canEdit$)))},Qs=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))},Krb=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:Nh(a)}},Mrb=function(a,b){var c=function(){return{position:d,rowElement:b}};if(b.classList.contains("dragging")||b.classList.contains("nodrop")||b.classList.contains("mat-header-row")){var d="none";return c()}var e=Lrb(b),f=b.nextElementSibling&&Lrb(b.nextElementSibling),h=b.previousElementSibling&&Lrb(b.previousElementSibling);if("top"===a){var k;if((null==(k=b.previousElementSibling)?0:k.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()},Lrb=function(a){return Number(a.dataset.level)},Nrb=function(a){var b;return Rs(null!=(b=a.dataset.ancestorchain)?b:"")},Orb=function(a){a&
1&&I(0,"th",27)},Prb=function(a){if(a&1){var b=u();E(0,"td",28,29);M("click",function(c){var d=v(b).$implicit,e=Q(1),f=N();e.focus();Up(f.focusManager,d);return x(c.stopPropagation())});G()}},Qrb=function(a){a&1&&I(0,"th",27)},Rrb=function(a){if(a&1){var b=u();E(0,"td",30,31);M("click",function(c){var d=v(b).$implicit,e=Q(1),f=N();e.focus();Up(f.focusManager,d);return x(c.stopPropagation())})("dragstart",function(c){v(b);var d=N();return x(d.handleDragStart(c))});I(2,"mat-icon",32);G()}},Srb=function(a){a&
1&&(E(0,"th",27),R(1," Id "),G())},Trb=function(a,b){a&1&&(E(0,"td",33),I(1,"b-issue-id-cell",34),G());a&2&&(a=b.$implicit,y(),D("id",a.id))},Urb=function(a){a&1&&(E(0,"th",27),R(1," Id "),G())},Vrb=function(a){a&1&&(E(0,"td",33),R(1,"--"),G())},Wrb=function(a){a&1&&(E(0,"th",27),R(1," Title "),G())},Xrb=function(a,b){if(a&1){var c=u();E(0,"td",33)(1,"b-expandable-issue-title-cell",35);M("expansionChange",function(){var d=v(c).$implicit,e=N();return x(e.toggleExpansion(d))});T(2,"async");T(3,"async");
G()()}a&2&&(a=b.$implicit,y(),D("issue",V(2,4,a.issue$))("expandable",V(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},Yrb=function(a){a&1&&(E(0,"th",27),R(1," Type "),G())},Zrb=function(a,b){a&1&&(E(0,"td",33),I(1,"b-issue-type-cell",36),T(2,"async"),G());a&2&&(a=b.$implicit,y(),D("issue",V(2,1,a.issue$)))},$rb=function(a){a&1&&Gf(0)},asb=function(a){a&1&&(K(0),R(1,"Assignee"),L())},bsb=function(a){a&1&&(E(0,"th",27),K(1,37),C(2,$rb,1,0,"ng-container",38)(3,asb,2,0,"ng-container",
39),L(),G());a&2&&(a=N(),y(),D("ngSwitch",null==a.options.modes?null:a.options.modes.assignee),y(),D("ngSwitchCase","avatar-if-open"))},csb=function(a,b){a&1&&I(0,"b-user-image",42);a&2&&D("email",b.$implicit)},dsb=function(a){a&1&&(K(0),C(1,csb,1,1,"b-user-image",41),L());if(a&2){a=N().$implicit;var b=N(3);y();D("ngIf",b.getAssigneeString(a))}},esb=function(a,b){a&1&&(K(0),C(1,dsb,2,1,"ng-container",20),L());a&2&&(a=b.$implicit,b=N(3),y(),D("ngIf",b.isOpen(a)))},fsb=function(a){a&1&&(K(0),C(1,esb,
2,1,"ng-container",20),T(2,"async"),L());a&2&&(a=N().$implicit,y(),D("ngIf",V(2,1,a.issue$)))},gsb=function(a){a&1&&(I(0,"b-issue-assignee-cell",36),T(1,"async"));a&2&&(a=N().$implicit,D("issue",V(1,1,a.issue$)))},hsb=function(a){a&1&&(E(0,"td",33),K(1,37),C(2,fsb,3,3,"ng-container",38)(3,gsb,2,3,"b-issue-assignee-cell",40),L(),G());a&2&&(a=N(),y(),D("ngSwitch",null==a.options.modes?null:a.options.modes.assignee),y(),D("ngSwitchCase","avatar-if-open"))},isb=function(a){a&1&&(E(0,"th",27),R(1," Status "),
G())},jsb=function(a,b){a&1&&(E(0,"td",33),I(1,"b-issue-status-cell",36),T(2,"async"),G());a&2&&(a=b.$implicit,y(),D("issue",V(2,1,a.issue$)))},ksb=function(a){a&1&&(E(0,"th",27),R(1," Team "),G())},lsb=function(a,b){a&1&&(E(0,"td",33),I(1,"b-issue-team-cell",36),T(2,"async"),G());a&2&&(a=b.$implicit,y(),D("issue",V(2,1,a.issue$)))},msb=function(a){a&1&&I(0,"th",27)},nsb=function(a,b){a&1&&(E(0,"td",33)(1,"b-actions-menu",43),M("click",function(c){return c.stopPropagation()}),G()());a&2&&(a=b.$implicit,
b=N(),y(),D("menuItems",b.getMenuItems(a)))},osb=function(a){a&1&&I(0,"th",27)},qsb=function(a){a&1&&(E(0,"b-actions-menu",43),M("click",function(c){return c.stopPropagation()}),G());if(a&2){a=N().$implicit;var b=N();D("menuItems",psb(b,a))}},rsb=function(a){a&1&&I(0,"b-spinner")},ssb=function(a,b){a&1&&(E(0,"td",44),C(1,qsb,1,1,"b-actions-menu",45)(2,rsb,1,0,"ng-template",null,46,jg),G());if(a&2){a=b.$implicit;var c=Q(3);y();D("ngIf",!a.saving)("ngIfElse",c)}},usb=function(a,b){if(a&1){var c=u();
E(0,"td",33)(1,"b-async-data-placeholder",47);T(2,"async");E(3,"b-button",48);M("onAction",function(){var d=v(c).$implicit,e=N();return x(tsb(e,d))});E(4,"span",49);R(5);G()()()()}a&2&&(a=b.$implicit,b=N(),xf("padding-left",24*a.level+b.TITLE_FIXED_OFFSET_PX,"px"),pf("colspan",b.tableColumns.length),y(),D("isReady",!!V(2,5,a.parentIssue$)),y(4),S("Display ",a.truncatedSiblingCount," more"))},vsb=function(a){a&1&&(E(0,"th",27),R(1," Title "),G())},wsb=function(a,b){if(a&1){var c=u();E(0,"td",33)(1,
"div",50)(2,"b-text-input-cell",51);M("valueChange",function(d){var e=v(c).$implicit;return x(e.title=d)})("commit",function(){var d=v(c).$implicit,e=N();return x(e.saveDraft(d))});G();E(3,"b-button",52);M("onAction",function(){var d=v(c).$implicit,e=N();return x(e.saveDraft(d))});R(4," Create ");G();E(5,"b-button",53);M("onAction",function(){var d=v(c).$implicit,e=N();return x(Ss(e,d))});R(6," Cancel ");G()()()}a&2&&(a=b.$implicit,xf("padding-left",24*(a.level+1),"px"),y(2),D("value",a.title)("readonly",
a.saving),y(),D("disabled",!a.title||a.saving),y(2),D("disabled",a.saving))},xsb=function(a){a&1&&I(0,"tr",55)},ysb=function(a){a&1&&(K(0),C(1,xsb,1,0,"tr",54),L());a&2&&(a=N(),y(),D("matHeaderRowDef",a.tableColumns))},Asb=function(a,b){if(a&1){var c=u();E(0,"tr",56);M("click",function(d){var e=v(c).$implicit,f=N();return x(f.navigateToIssue(d,e))})("mouseup",function(d){var e=v(c).$implicit,f=N();return x(f.navigateToIssue(d,e))})("focusin",function(){var d=v(c).$implicit,e=N();return x(Up(e.focusManager,
d))})("keydown",function(d){var e=v(c).$implicit,f=N();return x(f.onRowKeydown(e,d))});T(1,"async");T(2,"async");G()}a&2&&(a=b.$implicit,b=N(),yf("selected",V(1,8,zsb(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(V(2,10,a.issue$))),D("row",a),pf("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},Bsb=function(a,b){if(a&1){var c=u();E(0,"tr",57);M("focusin",function(){var d=v(c).$implicit,e=N();return x(Up(e.focusManager,d))})("keydown",function(d){var e=
v(c).$implicit,f=N();return x(f.onRowKeydown(e,d))});G()}a&2&&(a=b.$implicit,D("row",a),pf("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},Csb=function(a,b){if(a&1){var c=u();E(0,"tr",58);M("keydown",function(d){var e=v(c).$implicit,f=N();return x(f.onRowKeydown(e,d))})("keydown.escape",function(){var d=v(c).$implicit,e=N();return x(Ss(e,d))})("keydown.backspace",function(){var d=v(c).$implicit,e=N();return x(d.title||Ss(e,d))})("focusin",function(){var d=
v(c).$implicit,e=N();return x(Up(e.focusManager,d))});G()}a&2&&(a=b.$implicit,D("row",a),pf("data-type",a.type))},Dsb=function(a,b){a&1&&(K(0),I(1,"b-issues-table",1),L());a&2&&(a=b.ngIf,b=N(),y(),D("issueIds",a)("tableColumns",b.tableColumns)("filters",b.filters)("issueUrlFactory",b.editIssueDependencies)("menuItemFactory",b.getMenuItems))},Esb=function(a,b){a&1&&(E(0,"span",10),R(1),G());a&2&&(a=b.ngIf,Nf("title","",a," applied filter(s)"),y(),$f(a))},Fsb=function(a){a&1&&(K(0),C(1,Esb,2,2,"span",
9),T(2,"async"),L());a&2&&(a=N(),y(),D("ngIf",V(2,1,a.internalSelectedOptions.size$)))},Gsb=function(a){a&1&&(E(0,"h1",11),R(1),G());a&2&&(a=N(),y(),$f(a.overlayTitle))},Hsb=function(a){a&1&&(E(0,"h1"),R(1),G());a&2&&(a=N().$implicit,y(),$f(a.title))},Isb=function(a){a&1&&(E(0,"p"),R(1),G());a&2&&(a=N().$implicit,y(),$f(a.description))},Jsb=function(a,b){if(a&1){var c=u();E(0,"div",12)(1,"div",13)(2,"mat-checkbox",14);M("change",function(d){var e=v(c).$implicit,f=N();e=e.key;d.checked?f.internalSelectedOptions.add(e):
f.internalSelectedOptions.delete(e);f.onChange.emit(new Set(f.internalSelectedOptions));return x()});T(3,"async");G();E(4,"div");C(5,Hsb,2,1,"h1",3)(6,Isb,2,1,"p",3);G()()()}a&2&&(a=b.$implicit,b=N(),y(2),D("checked",V(3,3,Tp(b.internalSelectedOptions,a.key))),y(3),D("ngIf",a.title),y(),D("ngIf",a.description))},Ksb=function(a){if(a&1){var b=u();K(0);I(1,"mat-divider");E(2,"div",15)(3,"button",16);M("click",function(){v(b);var c=N(),d=Q(1);return x(c.cancel(d))});R(4);G();E(5,"button",17);M("click",
function(){v(b);var c=N(),d=Q(1);return x(c.confirm(d))});R(6);G()();L()}a&2&&(a=N(),y(4),$f(a.cancelButtonLabel),y(2),$f(a.confirmButtonLabel))},Lsb=function(a){a&1&&I(0,"b-spinner")},Msb=function(a){a&1&&Gf(0)},Nsb=function(a){a&1&&(K(0),C(1,Msb,1,0,"ng-container",24),L());if(a&2){N(2);var b=Q(12);y();D("ngTemplateOutlet",b)}},Osb=function(a){a&1&&(I(0,"b-parents-table",25),T(1,"async"),T(2,"async"));if(a&2){a=N().ngIf;var b=N();D("issueId",a)("parentIds",V(1,3,b.parentIds$))("filters",V(2,5,b.issueFilters.value$))}},
Psb=function(a){a&1&&Gf(0)},Rsb=function(a){a&1&&(K(0),C(1,Psb,1,0,"ng-container",26),T(2,"async"),L());if(a&2){a=N(2);var b=Q(10);y();D("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(4,Qsb,V(2,2,null==a.parentsTable?null:a.parentsTable.hiddenRowCount$)))}},Ssb=function(a){a&1&&Gf(0)},Tsb=function(a){a&1&&(E(0,"div")(1,"span",27),R(2,"This issue has no parents"),G(),C(3,Ssb,1,0,"ng-container",24),G());if(a&2){N(2);var b=Q(12);y(3);D("ngTemplateOutlet",b)}},Usb=function(a){a&1&&Gf(0)},Vsb=function(a){a&
1&&(K(0),C(1,Usb,1,0,"ng-container",24),L());if(a&2){N(2);var b=Q(14);y();D("ngTemplateOutlet",b)}},Wsb=function(a){a&1&&(E(0,"div",28)(1,"section",29)(2,"div",30),R(3," Progress: "),G(),E(4,"div",30),R(5),T(6,"number"),T(7,"async"),T(8,"number"),T(9,"async"),G(),E(10,"div",31),T(11,"async"),E(12,"div",32)(13,"div",33),T(14,"async"),G(),E(15,"onedev-hovercard",null,34)(17,"div",35)(18,"div",36),R(19),T(20,"async"),G()()()()(),I(21,"mat-icon",37),E(22,"onedev-hovercard",null,38)(24,"div",35)(25,"div",
39)(26,"p"),R(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. "),G()()()()()());if(a&2){var b=Q(16),c=Q(23);a=N(2);y(5);ag(" ",ig(6,8,V(7,11,a.totalDaysComplete$),"1.0-2")," of ",ig(8,13,V(9,16,a.totalDaysCount$),"1.0-2")," days complete ");y(5);rf("aria-label","",V(11,18,a.totalDaysDisplayPercent$)," Percentage of effort completed");
y(2);D("onedevHovercardTrigger",b);y();xf("width",V(14,20,a.totalDaysDisplayPercent$),"%");y(6);S(" ",V(20,22,a.progressHovercardContent$)," ");y(2);D("onedevHovercardTrigger",c)}},Xsb=function(a){a&1&&I(0,"rollups-project",40);a&2&&(a=N().ngIf,D("id",a))},Ysb=function(a){a&1&&Gf(0)},Zsb=function(a){a&1&&(K(0),C(1,Ysb,1,0,"ng-container",26),T(2,"async"),L());if(a&2){a=N(2);var b=Q(10);y();D("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(4,Qsb,V(2,2,null==a.relationsTable?null:a.relationsTable.hiddenRowCount$)))}},
$sb=function(a){a&1&&Gf(0)},atb=function(a){a&1&&(K(0),E(1,"span",27),R(2,"This issue has no children"),G(),C(3,$sb,1,0,"ng-container",24),L());if(a&2){N(3);var b=Q(14);y(3);D("ngTemplateOutlet",b)}},btb=function(a){a&1&&(K(0),C(1,atb,4,1,"ng-container",1),T(2,"async"),T(3,"async"),L());if(a&2){a=N(2);var b;y();D("ngIf",0===V(2,1,a.unarchivedChildIssueCount$)&&0===((null==(b=V(3,3,null==a.relationsTable?null:a.relationsTable.rows$))?null:b.length)||0))}},ctb=function(a,b){if(a&1){var c=u();E(0,"div",
9)(1,"section",10)(2,"div",11)(3,"h4",12)(4,"div",13);I(5,"mat-icon",14);G();R(6);T(7,"async");G();C(8,Nsb,2,1,"ng-container",1);T(9,"async");G();C(10,Osb,3,7,"b-parents-table",15);T(11,"async");C(12,Rsb,3,6,"ng-container",1);T(13,"async");C(14,Tsb,4,1,"ng-template",null,16,jg);G();E(16,"section")(17,"b-blockers-table",17);M("shouldResetFilters",function(){v(c);var h=N();return x(h.shouldResetFilters())});T(18,"async");G()();E(19,"section")(20,"div",18)(21,"h4",12)(22,"div",19);I(23,"mat-icon",20);
G();R(24);T(25,"async");G();C(26,Vsb,2,1,"ng-container",1);T(27,"async");T(28,"async");G();C(29,Wsb,28,24,"div",21);T(30,"async");T(31,"async");C(32,Xsb,1,1,"rollups-project",22);I(33,"b-issue-relations-table",23);T(34,"async");T(35,"async");T(36,"async");C(37,Zsb,3,6,"ng-container",1);T(38,"async");C(39,btb,4,5,"ng-container",1);T(40,"async");G()()}if(a&2){a=b.ngIf;var d=Q(15);b=N();var e,f;y(6);S(" Parents ",V(7,17,b.counts.countParentsDisplay$)," ");y(2);D("ngIf",V(9,19,b.parentsCount$));y(2);
D("ngIf",V(11,21,b.parentsCount$))("ngIfElse",d);y(2);D("ngIf",V(13,23,b.issueFilters.value$));y(5);D("filters",V(18,25,b.issueFilters.value$));y(7);S(" Child issues ",V(25,27,b.counts.countChildrenDisplay$)," ");y(2);D("ngIf",V(27,29,b.unarchivedChildIssueCount$)||0<((null==(e=V(28,31,null==b.relationsTable?null:b.relationsTable.rows$))?null:e.length)||0));y(3);D("ngIf",b.isTotalEstimatesEnabled&&V(30,33,b.unarchivedChildIssueCount$)&&V(31,35,b.totalDaysCount$));y(3);D("ngIf",b.isInternalSession&&
b.enableRollupStatsUi);y();yf("hidden",!(null==(f=V(34,37,null==b.relationsTable?null:b.relationsTable.rows$))?0:f.length)&&!V(35,39,null==b.relationsTable?null:b.relationsTable.hiddenRowCount$));Nf("saveExpansionAtKey","project-expansion-",a,"");D("rootIssueId",a)("filters",V(36,41,b.issueFilters.value$));y(4);D("ngIf",V(38,43,b.issueFilters.value$));y(2);D("ngIf",null!==V(40,45,b.unarchivedChildIssueCount$))}},dtb=function(a){if(a&1){var b=u();E(0,"p",27);R(1);E(2,"button",42);M("click",function(){v(b);
var c=N(2);return x(c.issueFilters.reset([]))});R(3,"Show all");G()()}a&2&&(a=N().filteredCount,y(),ag(" Filtering ",a," issue",1===a?"":"s",". "))},etb=function(a,b){a&1&&C(0,dtb,4,2,"p",41);a&2&&D("ngIf",b.filteredCount)},gtb=function(a){if(a&1){var b=u();E(0,"b-button",43);M("onAction",function(){v(b);var c=N();return x(ftb(c))});T(1,"async");R(2," Add parent ");G()}a&2&&(a=N(),D("disabled",!V(1,1,a.canEdit$)))},htb=function(a){if(a&1){var b=u();E(0,"b-button",46);M("onAction",function(){v(b);
var c=N(2);return x(c.createChild())});T(1,"async");R(2," Create new child ");G()}a&2&&(a=N(2),D("disabled",!V(1,1,a.canEdit$)))},itb=function(a){if(a&1){var b=u();C(0,htb,3,3,"b-button",44);E(1,"b-button",45);M("onAction",function(){v(b);var c=N();return x(c.addChild())});T(2,"async");R(3," Add existing child ");G()}a&2&&(a=N(),D("ngIf",a.isNonPublicSession),y(),D("disabled",!V(2,2,a.canEdit$)))},jtb=function(a,b){return(0,W.combineLatest)([a,b]).pipe(B(function(c){var d=l(c);c=d.next().value;d=
d.next().value;return 0===d?0:Math.round(100*c/d*100)/100}))},ktb=function(a){return 1===a?a+" day":a+" days"},ltb=function(a){a&1&&(E(0,"a",3),R(1),G());a&2&&(a=N(),D("routerLink",a.searchPageUrl),y(),S(" ",a.count," Issues "))},mtb=function(a,b){a&1&&I(0,"avatar-bunch",7);a&2&&D("emails",b.$implicit)},ntb=function(a,b){a&1&&(E(0,"a",8),R(1," View in TaskFlow "),I(2,"mat-icon",9),G());a&2&&D("href",b.$implicit,Pd)},otb=function(a){a&1&&(K(0),E(1,"div",2),R(2),G(),L());if(a&2){a=N();var b;y();yf("muted",
!a.isNumeric(a.countDisplay)||0==a.countDisplay);y();$f(null!==(b=a.countDisplay)&&void 0!==b?b:"\u00a0")}},qtb=function(){return function(a){return{response:a.getMutableResponse().getText(),citationResources:ptb(a.getMutableResponse())}}},ptb=function(a){return gi(a,rtb,13,hi()).filter(function(b){return Wk(b,stb,6,ttb)}).flatMap(function(b){var c;if(null==b)b=void 0;else{var d;null==(c=Ak(b,stb,6,ttb))?d=void 0:d=gi(c,utb,1,hi());b=d}return b}).map(function(b){var c,d,e;return{citationTitle:null!=
(c=null==b?void 0:b.getTitle())?c:"",url:null!=(d=null==b?void 0:b.getUrl())?d:"",isExternalDocument:null!=(e=null==b?void 0:Xi(b,6))?e:!1}})},vtb=function(a){a&1&&(K(0),E(1,"span"),R(2),G(),L());a&2&&(a=N(),y(2),S(" ",a.duckieResponse.response," "))},wtb=function(a){a&1&&R(0," Analyzing the stack trace ")},xtb=function(a){var b;return(null!=(b=a.getIssueDigestsList())?b:[]).map(jxa)},ytb=function(a){a&1&&(E(0,"div",3),I(1,"mat-icon",4),E(2,"span",5),R(3),T(4,"async"),G()());if(a&2){a=N();var b;y(3);
S("",null==(b=V(4,1,a.issues$))?null:b.length," parent issues")}},ztb=function(a){a&1&&(E(0,"div",3),I(1,"mat-icon",6),E(2,"span",5),R(3),T(4,"async"),G()());if(a&2){a=N();var b;y(3);S("Blocked by ",null==(b=V(4,1,a.issues$))?null:b.length," issues")}},Atb=function(a,b){a&1&&(E(0,"span"),R(1),G());a&2&&(a=b.$implicit,b=N(4),Bf("chippy status-",a," margin-s-left"),y(),S(" ",b.STATUS_JS_TERSE[a]," "))},Btb=function(a){a&1&&(K(0),E(1,"a",8)(2,"div",9)(3,"div",10)(4,"div",11),R(5),G(),E(6,"div",12),R(7),
G()(),E(8,"div",10)(9,"div",13),R(10),G(),C(11,Atb,2,4,"span",14),G()()(),L());if(a&2){var b=N();a=b.$implicit;b=b.last;var c=N(2);y();Nf("routerLink","/issues/",a.issueId,"");y();yf("border-bottom",!b);y(3);$f(a.issueId);y(2);$f(a.snapshot[0].title);y(2);D("ngClass",c.priorityClass(a.snapshot[0].priority));y();$f(a.snapshot[0].priority);y();D("ngIf",a.snapshot[0].status)}},Ctb=function(a,b){a&1&&(K(0),C(1,Btb,12,8,"ng-container",2),L());a&2&&(a=b.index,y(),D("ngIf",5>a))},Etb=function(a){if(a&1){var b=
u();K(0);E(1,"div",15)(2,"button",16);M("click",function(){v(b);var c=N(2);return x(Dtb(c))});R(3,"View all parent issues");G()();L()}},Ftb=function(a){if(a&1){var b=u();K(0);E(1,"div",15)(2,"button",16);M("click",function(){v(b);var c=N(2),d;null==(d=c.hovercardInstance)||d.closeHovercard$.next();Ts(c.router,"/issues/"+c.currentIssueId+"/dependencies");return x()});R(3,"View all blockers");G()();L()}},Gtb=function(a,b){a&1&&(E(0,"div"),C(1,Ctb,2,1,"ng-container",7)(2,Etb,4,0,"ng-container",2)(3,
Ftb,4,0,"ng-container",2),G());a&2&&(a=b.$implicit,b=N(),y(),D("ngForOf",a),y(),D("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),y(),D("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES))},Htb=function(a){a&1&&I(0,"mat-icon",7)},Itb=function(a){a&1&&(K(0),I(1,"b-list-issues-card",8,9),L());if(a&2){var b=Q(2);N();var c=Q(5);a=N();y();D("onedevIsHovercardReady",b.init)("hovercardInstance",c)("currentIssueId",a.issueId)("issueIds",a.multiParentIssueIds)("mode",
a.ListIssuesHovercardMode.PARENT_ISSUES)}},Jtb=function(a){a&1&&(K(0),E(1,"a",3),R(2),G(),C(3,Htb,1,0,"mat-icon",4),E(4,"onedev-hovercard",null,5),C(6,Itb,3,5,"ng-container",6),G(),L());if(a&2){var b=Q(5);a=N();y();Nf("title","",a.multiParentIssueIds.length," parents at this position");D("onedevHovercardTrigger",b);y();S("",a.multiParentIssueIds.length," Parents\u2026");y();D("ngIf",1<a.multiParentIssueIds.length)}},Ktb=function(a,b){a&1&&(K(0),E(1,"b-issue-reference-widget",10),R(2),G(),I(3,"mat-icon",
7),L());if(a&2){a=b.$implicit;b=b.last;var c=N();y();D("href",c.getIssueLink(a))("issueId",a);y();c.issueIdToTitle.has(a)?(a=c.issueIdToTitle.get(a),a=mFa(a)):a=String(a);$f(a);y();yf("last",b)}},Ltb=function(a){if(a&1){var b=u();E(0,"b-star-toggle",9);M("starClicked",function(){v(b);var c=N(2);return x(c.starClicked.emit())});T(1,"async");T(2,"async");G()}a&2&&(a=N(2),D("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("acceptInput",!V(1,4,Tp(a.isSavingStar,a.hotlist.hotlistId)))("starred",
V(2,6,Tp(a.starredHotlists,a.hotlist.hotlistId))))},Mtb=function(a){a&1&&(E(0,"p",10),R(1),G());a&2&&(a=N(2),y(),S(" ",a.hotlist.description," "))},Ntb=function(a){a&1&&(E(0,"div",1)(1,"div",2)(2,"label",3),R(3),G(),E(4,"span",4),C(5,Ltb,3,8,"b-star-toggle",5),E(6,"a",6),M("click",function(b){return b.stopPropagation()})("keydown.enter",function(b){return b.stopPropagation()}),I(7,"mat-icon",7),G()()(),C(8,Mtb,2,1,"p",8),G());a&2&&(a=N(),y(3),S(" ",a.hotlist.name," "),y(2),D("ngIf",a.shouldShowStar(a.hotlist)),
y(),D("routerLink",a.paths.viewHotlist(a.hotlist.hotlistId)),y(2),D("ngIf",!a.isCompact&&a.hotlist.description))},Otb=function(a){a&1&&Gf(0)},Ptb=function(a){a&1&&(K(0),C(1,Otb,1,0,"ng-container",6),L());if(a&2){N();var b=Q(12);y();D("ngTemplateOutlet",b)}},Qtb=function(a){a&1&&Gf(0)},Rtb=function(a){a&1&&(K(0),C(1,Qtb,1,0,"ng-container",6),L());if(a&2){N();var b=Q(6);y();D("ngTemplateOutlet",b)}},Utb=function(a){if(a&1){var b=u();E(0,"button",7);M("click",function(){v(b);var c=N();return x(Stb(c))});
R(1," Create ");G()}a&2&&(a=N(),D("disabled",!(0<Ttb(a).length)))},Vtb=function(a){if(a&1){var b=u();E(0,"button",8);M("click",function(){v(b);var c=N();return x(Us(c))});R(1);G()}a&2&&(a=N(),D("mat-dialog-close",!0)("matTooltip",a.saveBtnTooltip)("disabled",a.pristine),pf("aria-label",a.saveBtnTooltip),y(),S(" ",a.saveBtnLabel," "))},Xtb=function(a){if(a&1){var b=u();E(0,"button",19);M("click",function(){v(b);var c=N(2),d=Zh(c.query$.value);c.allHotlistIds.has(d)?(c.selectedHotlistIds.add(d),Us(c)):
Wtb(c,d);return x()});R(1);T(2,"async");E(3,"span",20);R(4,"(add hotlist by ID)");G()()}a&2&&(a=N(2),y(),S(" ",V(2,1,a.query$)," "))},Ytb=function(a){if(a&1){var b=u();E(0,"button",21);M("click",function(){v(b);N(2).showCreateNewPane=!0;return x()});R(1);T(2,"async");E(3,"span",20);R(4,"(create new)");G()()}a&2&&(a=N(2),y(),S(" ",V(2,1,a.query$)," "))},Ztb=function(a,b){if(a&1){var c=u();K(0);E(1,"div",25,26);T(3,"async");E(4,"mat-list-option",27);M("focus",function(){v(c);var f=Q(2);return x(f.show())})("blur",
function(){v(c);var f=Q(2);return x(f.hide())});T(5,"async");E(6,"hotlist-matlist-option",28);M("starClicked",function(){var f=v(c).$implicit,h=N(3);return x(h.toggleStar(f.hotlistId))});G()()();L()}if(a&2){a=b.$implicit;b=N(3);var d,e;y();D("matTooltip",!1===(null==(d=V(3,10,a.permissions$))?null:d.appender)?b.NO_ACCESS_MESSAGE:"");y(3);xf("height","auto");D("selected",b.selectedHotlistIds.has(a.hotlistId))("disabled",!1===(null==(e=V(5,12,a.permissions$))?null:e.appender))("value",a.hotlistId);
y(2);D("hotlist",a)("isCompact",!1)("starredHotlists",b.starredHotlists)("isSavingStar",b.isSavingStar)}},$tb=function(a){if(a&1){var b=u();K(0);E(1,"div",29)(2,"span",20);R(3," The number of hotlists is too large to show at once. ");G();E(4,"button",30);M("click",function(){v(b);var c=N(3);return x(c.forceShowOverflow$.next(!0))});R(5," Show all anyway ");G()();L()}},aub=function(a,b){if(a&1){var c=u();K(0);E(1,"mat-selection-list",22,23);M("selectionChange",function(d){v(c);var e=N(2);return x(e.onChangeMatList(d))});
C(3,Ztb,7,14,"ng-container",24);G();C(4,$tb,6,0,"ng-container",18);T(5,"async");L()}a&2&&(a=b.$implicit,b=N(2),y(3),D("ngForOf",a)("ngForTrackBy",b.trackByHotlistId),y(),D("ngIf",V(5,3,b.isOverflowMode$)))},bub=function(a){if(a&1){var b=u();E(0,"header",9)(1,"h2");R(2,"Search for Hotlists");G();E(3,"div",10);I(4,"mat-icon",11);E(5,"input",12,13);M("input",function(){v(b);var c=Q(6);N().query$.next(c.value);return x()});G()()();E(7,"section",14,15);C(9,Xtb,5,3,"button",16);T(10,"async");C(11,Ytb,5,
3,"button",17);T(12,"async");C(13,aub,6,5,"ng-container",18);T(14,"async");G()}a&2&&(a=N(),y(9),D("ngIf",V(10,3,a.showLoadById$)),y(2),D("ngIf",V(12,5,a.showCreateNew$)),y(2),D("ngIf",V(14,7,a.visibleHotlists$)))},cub=function(a){a&1&&(E(0,"header",9)(1,"h2"),R(2,"Create new hotlist"),G()(),E(3,"section",31)(4,"div",32)(5,"form",33)(6,"label",34),R(7,"Name"),G(),I(8,"input",35),E(9,"label",36),R(10,"Description"),G(),I(11,"textarea",37),E(12,"p",20),R(13," Note: Access controls can be adjusted after the hotlist is created. "),
G()()()());a&2&&(a=N(),y(5),D("formGroup",a.hotlistUnderEdit))},dub=function(a,b){return a.name.localeCompare(b.name)},eub=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)},fub=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)"]},hub=function(a,b){if(a&1){var c=u();E(0,"button",1);M("click",function(){v(c);var d=N();return x(gub(d))});T(1,"async");R(2);G()}a&2&&(a=b.ngIf,b=N(),D("disabled",b.disabled||b.fridge.isSaving(b.internalIssueId)||!1===V(1,3,b.canEdit$))("title",a.isDupe?b.TOOLTIP_UNMARK_DUPE:b.TOOLTIP_MARK_DUPE),y(2),S(" ",a.isDupe?"Unmark Duplicate":"Mark as Duplicate"," "))},iub=function(a){a&1&&Gf(0)},jub=function(a){a&
1&&(K(0),C(1,iub,1,0,"ng-container",5),L());a&2&&(a=N(),y(),D("ngTemplateOutlet",a.content))},kub=function(a,b){if(a&1){var c=u();E(0,"button",13);M("click",function(e){var f=v(c).$implicit;return x(f.action(e))});I(1,"mat-icon",14);R(2);G()}if(a&2){a=b.$implicit;var d;D("disabled",a.disabled)("title",a.title);pf("aria-label",a.title);y();D("svgIcon",null!==(d=a.icon)&&void 0!==d?d:"");y();S(" ",a.label," ")}},lub=function(a){if(a&1){var b=u();K(0);E(1,"button",15);M("click",function(d){v(b);var e=
N(2);d.stopPropagation();d.preventDefault();var f;null==(f=e.helpHover)||f.toggle();return x()});I(2,"mat-icon",16);R(3," Retention: ");I(4,"retention-text",17);R(5," \u00a0 ");I(6,"help-hover",18);G();L()}if(a&2){a=N().ngIf;var c=Q(14);y(4);D("retentionState",a.retentionState);y(2);D("content",c)}},mub=function(a){a&1&&(K(0),I(1,"retention-help-text",19),L());a&2&&(a=N(2).ngIf,y(),D("retentionState",a.retentionState)("modifiedTime",a.modifiedTimeMilliseconds))},nub=function(a){a&1&&C(0,mub,2,2,"ng-container",
0);a&2&&(a=N().ngIf,D("ngIf",a.retentionState&&a.modifiedTimeMilliseconds))},oub=function(a,b){if(a&1){var c=u();K(0);I(1,"b-app-vote-button",1)(2,"hotlist-picker-btn",2);E(3,"smart-dupe-btn",3,4);M("onHotkey",function(){v(c);var e=Q(4);return x(gub(e))});G();E(5,"b-notification-menu",5);M("subscriptionChange",function(e){v(c);var f=N();return x(f.updateSubscription(e))})("showNotificationSettings",function(e){v(c);var f=N();return x(f.showNotificationSettings(e))});G();I(6,"insights-graph-menu-smart",
6);E(7,"button",7);I(8,"mat-icon",8);G();E(9,"mat-menu",9,10);C(11,kub,3,5,"button",11)(12,lub,7,2,"ng-container",0);G();C(13,nub,1,1,"ng-template",null,12,jg);L()}if(a&2){a=b.ngIf;var d=Q(10);b=N();y();D("issueId",a.issueId)("voteCount",a.voteCount)("upvoted",a.voted);y();D("issueId",a.issueId);y();D("issueId",a.issueId)("hotkey",b.HOTKEYS.TOGGLE_MARK_AS_DUPLICATE);y(2);D("subscription",a.notificationSubscription)("issueId",a.issueId)("iconOnly",!0);y();D("iconOnly",!0);y();D("matMenuTriggerFor",
d);y(4);D("ngForOf",a.menuItems);y();D("ngIf",b.retentionEnabled)}},pub=function(a){a&1&&(E(0,"h3",4,5),R(2),G());a&2&&(a=N(),pf("title",a.isLongTitle?a.titlePlain:""),y(2),S(" ",a.titleTruncated," "))},rub=function(a){if(a&1){var b=u();E(0,"mat-form-field")(1,"input",6,7);M("keyup",function(c){v(b);var d=N();return x(qub(d,c))})("blur",function(){v(b);var c=N();return x(c.bannedWordsChecker.showWarning()?"":qub(c))});G()()}a&2&&(a=N(),xf("width",a.editModeWidth,"px"),yf("banned-words-warning",a.bannedWordsChecker.showWarning()),
y(),D("value",a.titlePlain))},tub=function(a){if(a&1){var b=u();E(0,"button",8);M("click",function(){v(b);var c=N();return x(c.isEditMode?qub(c):sub(c))});I(1,"mat-icon",9);G()}a&2&&(a=N(),D("disabled",a.disabled))},uub=function(a){a&1&&(E(0,"p",10),R(1),E(2,"a",11),R(3," Learn more "),G()());a&2&&(a=N(),y(),S(" ",bq(a.bannedWordsChecker)," is restricted. Press 'Esc' to cancel or 'Enter' to skip check and save title. "))},vub=function(){},wub=function(a){a&1&&(E(0,"output"),R(1),T(2,"async"),G());
if(a&2){a=N().ngIf;var b=N();y();ag(" ",a," of ",V(2,2,b.currentSearchResults.totalText$)," ")}},Aub=function(a,b){if(a&1){var c=u();K(0);C(1,wub,3,4,"output",0);E(2,"span",1)(3,"button",2);M("onHotkey",function(){v(c);var d=N();return x(xub(d.currentSearchResults))})("click",function(){v(c);var d=N();return x(xub(d.currentSearchResults))});T(4,"async");I(5,"mat-icon",3);G();E(6,"button",4);M("onHotkey",function(){v(c);var d=N();return x(yub(d.currentSearchResults))})("click",function(){v(c);var d=
N();return x(yub(d.currentSearchResults))});T(7,"async");I(8,"mat-icon",5);G()();L()}a&2&&(a=b.ngIf,b=N(),y(),D("ngIf",-1!==a),y(),D("ngClass",fg(10,zub,-1===a)),y(),D("hotkey",b.HOTKEYS.GO_TO_PREVIOUS_ISSUE)("disabled",!V(4,6,b.currentSearchResults.hasPreviousIssue$)),y(3),D("hotkey",b.HOTKEYS.GO_TO_NEXT_ISSUE)("disabled",!V(7,8,b.currentSearchResults.hasNextIssue$)))},Bub=function(a){a&1&&I(0,"b-issue-visibility-chip",5);a&2&&(a=N(3).$implicit,D("issueId",a.issueId))},Cub=function(a){a&1&&C(0,Bub,
1,1,"b-issue-visibility-chip",5);a&2&&(a=N(2).$implicit,Cf(0,a.hasAccessIndicator?0:-1))},Dub=function(a){a&1&&I(0,"b-component-access-level-indicator",6);a&2&&(a=N(2).$implicit,D("accessLevel",a.accessLevel))},Eub=function(a){a&1&&I(0,"b-access-limits-chip",7);a&2&&(a=N(2).$implicit,D("issueId",a.issueId)("componentId",a.componentId)("accessLimitLevel",a.issueAccessLimitLevel))},Fub=function(a){a&1&&I(0,"b-retention-chip",8);a&2&&(a=N(2).$implicit,D("retentionState",a.retentionState)("compactMode",
!1)("modifiedTime",a.modifiedTime))},Gub=function(a){a&1&&(E(0,"div",2),C(1,Cub,1,1)(2,Dub,1,1)(3,Eub,1,3,"b-access-limits-chip",3)(4,Fub,1,3,"b-retention-chip",4),G());if(a&2){a=N().$implicit;var b=N();y();Cf(1,b.enableNewVisibilityChips?1:a.isShowingPublicPartner?2:-1);y(2);D("ngIf",a.isAccessLimited);y();D("ngIf",a.isShowingRetention)}},Hub=function(a,b){a&1&&(K(0),C(1,Gub,5,3,"div",1),L());a&2&&(a=b.$implicit,y(),D("ngIf",a.isShowingPublicPartner||a.isShowingRetention||a.isAccessLimited))},Iub=
function(a){a&1&&(E(0,"div",4),I(1,"mat-icon",5),R(2),T(3,"async"),G());if(a&2){a=N();var b=Q(4);D("onedevHovercardTrigger",b);y(2);S("",V(3,2,a.teamName$)," ")}},Jub=function(a){a&1&&Gf(0)},Kub=function(a){a&1&&(K(0),C(1,Jub,1,0,"ng-container",23),L());if(a&2){N();var b=Q(12);y();D("ngTemplateOutlet",b)}},Lub=function(a,b){a&1&&I(0,"ancestors-breadcrumbs",30);a&2&&(a=b.ngIf,b=N(3),D("ancestors",a)("issueId",b.issueId))},Mub=function(a){a&1&&(K(0),I(1,"b-component-breadcrumb-chip",26),T(2,"async"),
E(3,"div",27),C(4,Lub,1,2,"ancestors-breadcrumbs",28),T(5,"async"),I(6,"b-issue-id-picker",29),T(7,"async"),T(8,"async"),T(9,"async"),G(),L());a&2&&(a=N(2),y(),D("componentId",V(2,8,a.componentId$))("compactMode",!0)("issueId",a.issueId),y(3),D("ngIf",V(5,10,a.ancestors$)),y(2),D("issueId",a.issueId)("componentId",V(7,12,a.componentId$))("issueTitle",V(8,14,a.issueTitle$))("isExternalIssue",!!V(9,16,a.isWithinExternalComponent$)))},Nub=function(a){if(a&1){var b=u();E(0,"b-team-chip",24);M("onTeamLoaded",
function(){v(b);var c=N();return x(c.isTeamLoaded=!0)});T(1,"async");T(2,"async");G();C(3,Mub,10,18,"ng-container",25)}a&2&&(a=N(),D("componentId",V(1,3,a.componentId$))("teamId",V(2,5,a.teamId$)),y(3),D("ngIf",a.isTeamLoaded))},Oub=function(a){a&1&&(K(0),I(1,"b-component-breadcrumb-chip",31),T(2,"async"),E(3,"div",32),I(4,"b-issue-id-picker",33),T(5,"async"),T(6,"async"),T(7,"async"),G(),L());a&2&&(a=N(2),y(),D("componentId",V(2,6,a.componentId$))("issueId",a.issueId),y(3),D("issueId",a.issueId)("componentId",
V(5,8,a.componentId$))("issueTitle",V(6,10,a.issueTitle$))("isExternalIssue",!!V(7,12,a.isWithinExternalComponent$)))},Pub=function(a){if(a&1){var b=u();E(0,"b-team-chip",24);M("onTeamLoaded",function(){v(b);var c=N();return x(c.isTeamLoaded=!0)});T(1,"async");T(2,"async");G();C(3,Oub,8,14,"ng-container",25)}a&2&&(a=N(),D("componentId",V(1,3,a.componentId$))("teamId",V(2,5,a.teamId$)),y(3),D("ngIf",a.isTeamLoaded))},Qub=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N().$implicit,y(),S(" ",a," "))},Rub=
function(a,b){a&1&&(E(0,"div",34),I(1,"mat-icon",35),C(2,Qub,2,1,"ng-container",25),G());if(a&2){a=b.$implicit;N();var c=Q(37);D("onedevHovercardTrigger",c);y(2);D("ngIf",2<=a)}},Sub=function(a){a&1&&(K(0),I(1,"b-list-issues-card",36,37),T(3,"async"),L());if(a&2){var b=Q(2);a=N();var c=Q(37);y();D("onedevIsHovercardReady",b.init)("hovercardInstance",c)("currentIssueId",a.issueId)("issueIds",V(3,5,a.blockedByids$))("mode",a.ListIssuesHovercardMode.BLOCKED_BY_ISSUES)}},Tub=function(a){return 1===a?
"Blocked":"Blocked by "+a+" issues"},Uub=function(a){if(0!==a.length)return 1===a.length?Vs.ISSUE(a[0]):Vs.ISSUE_LIST},Vub=function(a){a&1&&(K(0),E(1,"div",1)(2,"span",2),R(3," NOT A VALID ISSUE! FOR TESTING PURPOSES ONLY! "),G()(),L())},Wub=function(a,b){a&1&&(E(0,"div",1),I(1,"img",2),E(2,"h3"),R(3),G(),E(4,"a",3),T(5,"async"),R(6),G()());a&2&&(a=b.$implicit,b=N(),y(),D("src",null==a.branding?null:a.branding.logoUrl,Pd),y(2),S("This issue is a part of the ",a.name," tracker."),y(),D("href",V(5,
4,b.trackerRedirectUrl$),Pd),y(2),S(" View in ",a.name," Tracker "))},Xub=function(a){a&1&&(E(0,"div")(1,"ol")(2,"li")(3,"label"),R(4,"Issue ID"),G(),E(5,"output"),R(6),G()(),E(7,"li")(8,"label"),R(9,"Type"),G(),E(10,"output"),R(11),G()(),E(12,"li")(13,"label"),R(14,"Status"),G(),E(15,"output"),R(16),G()()()());a&2&&(a=N(2),y(6),$f(a.issueId),y(5),$f(a.issueType),y(5),$f(a.issueStatus))},Yub=function(a){a&1&&(E(0,"div",1)(1,"div",2),I(2,"img",3),T(3,"async"),I(4,"mat-icon",4)(5,"img",3),T(6,"async"),
G(),E(7,"h3",5),R(8),T(9,"async"),G(),C(10,Xub,17,3,"div",6),E(11,"div",7)(12,"a",8),T(13,"async"),R(14,"Continue"),G()()());a&2&&(a=N(),y(2),D("src",V(3,5,a.currentTrackerLogo$),Pd),y(3),D("src",V(6,7,a.trackerLogo$),Pd),y(3),S(" Redirecting to ",V(9,9,a.trackerName$)," "),y(2),D("ngIf",null!=a.issue),y(2),D("href",V(13,11,a.trackerRedirectUrl$),Pd))},Zub=function(a,b){if(a instanceof Element){var c=xi(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)}}},$ub=function(a,b){a&1&&(E(0,"h2",7),R(1),G());a&2&&(a=b.ngIf,y(),S("Issue ",a,""))},avb=function(a){a&1&&Gf(0,11);if(a&2){N(2);var b=Q(13);D("ngTemplateOutlet",b)}},cvb=function(a){a&1&&Gf(0,13);if(a&2){a=N(2).ngIf;N();var b=Q(11);D("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(2,bvb,a.monorailRedirectUrl))}},dvb=function(a){a&1&&(K(0),C(1,cvb,1,4,"ng-container",12),L());a&2&&(a=N().ngIf,y(),D("ngIf",
a.monorailRedirectUrl))},evb=function(a,b){a&1&&(K(0)(1,8),C(2,avb,1,1,"ng-container",9)(3,dvb,2,1,"ng-container",10),L()());a&2&&(a=b.ngIf,y(),D("ngSwitch",a.status),y(),D("ngSwitchCase",403),y(),D("ngSwitchCase",404))},fvb=function(a){a&1&&Gf(0)},gvb=function(a){a&1&&(E(0,"mat-sidenav-container",14)(1,"mat-sidenav-content"),C(2,fvb,1,0,"ng-container",15),G(),E(3,"mat-sidenav",16),I(4,"help-me-fix-sidebar"),G()());if(a&2){a=N(2);var b=Q(7);y(2);D("ngTemplateOutlet",b);y();D("opened",a.isHelpMeFixSidebarOpen)("disableClose",
!0)}},hvb=function(a){a&1&&Gf(0)},ivb=function(a){a&1&&C(0,hvb,1,0,"ng-container",15);if(a&2){N(2);var b=Q(7);D("ngTemplateOutlet",b)}},jvb=function(a){a&1&&C(0,gvb,5,3,"mat-sidenav-container",14)(1,ivb,1,1);a&2&&(a=N(),Cf(0,a.enableHelpMeFixSidebar?0:1))},kvb=function(a){a&1&&(E(0,"a",29),R(1,"Learn more"),G())},lvb=function(a){if(a&1){var b=u();E(0,"button",30);M("click",function(){var c=v(b).ngIf,d=N(4);return x(d.editIssueService.unarchive(c))});R(1," Unarchive ");G()}},mvb=function(a){a&1&&(E(0,
"b-callout",26)(1,"b-callout-body"),R(2,"This issue has been archived. "),C(3,kvb,2,0,"a",27),G(),E(4,"b-callout-actions"),C(5,lvb,2,0,"button",28),T(6,"async"),G()());a&2&&(a=N(3),D("messageType","caution")("format","app")("iconOverride","archive_24px"),y(3),D("ngIf",a.activeSession.isInternalSession()),y(2),D("ngIf",V(6,5,a.id$)))},nvb=function(a){a&1&&(E(0,"a",33),R(1,"Learn more"),G())},ovb=function(a){a&1&&(E(0,"b-callout",31)(1,"b-callout-body"),R(2," This issue is in an archived component. "),
C(3,nvb,2,0,"a",32),G()());a&2&&(a=N(3),D("format","app")("iconOverride","archive_24px"),y(3),D("ngIf",a.activeSession.isInternalSession()))},pvb=function(a,b){a&1&&(K(0),R(1," Reason: "),E(2,"code"),R(3),G(),R(4,". "),L());a&2&&(a=b.$implicit,y(3),$f(a))},qvb=function(a){a&1&&(E(0,"a",38),R(1,"Learn more"),G())},svb=function(a){if(a&1){var b=u();E(0,"button",39);M("click",function(){var d=v(b).ngIf,e=N(4);return x(rvb(e.editIssueService,d))});T(1,"async");T(2,"async");R(3," Undelete ");G()}if(a&
2){a=N(4);var c;D("matTooltip",null!==(c=V(1,2,a.undeleteButtonTooltip$))&&void 0!==c?c:"")("disabled",!V(2,4,a.permissions.canUndeleteIssue$))}},tvb=function(a){a&1&&(E(0,"b-callout",34)(1,"b-callout-body"),R(2," This issue has been deleted. "),C(3,pvb,5,1,"ng-container",35),T(4,"async"),C(5,qvb,2,0,"a",36),G(),E(6,"b-callout-actions"),C(7,svb,4,6,"button",37),T(8,"async"),G()());if(a&2){a=N(3);var b;y(3);D("ngIf",null==(b=V(4,3,a.snapshot$))?null:b.deletionReason);y(2);D("ngIf",a.activeSession.isInternalSession());
y(2);D("ngIf",V(8,5,a.id$))}},uvb=function(a,b){a&1&&(E(0,"output",48),R(1),G());a&2&&(a=b.$implicit,y(),S(" ",a," "))},wvb=function(a,b){a&1&&(E(0,"a",45,46),R(2),C(3,uvb,2,1,"output",47),T(4,"async"),G());if(a&2){a=b.$implicit;var c=Q(1);D("routerLink",a.link)("active",c.isActive)("routerLinkActiveOptions",eg(7,vvb));y(2);S(" ",a.title," ");y();D("ngIf",V(4,5,a.count$))}},xvb=function(a,b){a&1&&(E(0,"header",40),I(1,"b-tracker-banner",41),T(2,"async"),T(3,"async"),I(4,"monorail-migration-warning")(5,
"issue-header",42),E(6,"nav",43),C(7,wvb,5,8,"a",44),G()());a&2&&(a=b.$implicit,b=N(3),y(),D("issueId",V(2,4,b.id$))("trackerId",V(3,6,b.issueTrackerId$)),y(4),D("issueId",a),y(2),D("ngForOf",b.tabs))},yvb=function(a,b){a&1&&I(0,"issue-metadata-sidebar",42);a&2&&D("issueId",b.ngIf)},zvb=function(a){a&1&&(E(0,"div",18),T(1,"async"),C(2,mvb,7,7,"b-callout",19),T(3,"async"),C(4,ovb,4,3,"b-callout",20),T(5,"async"),C(6,tvb,9,7,"b-callout",21),T(7,"async"),C(8,xvb,8,8,"header",22),T(9,"async"),E(10,"div",
23)(11,"article",24),I(12,"router-outlet"),G(),C(13,yvb,1,1,"issue-metadata-sidebar",25),T(14,"async"),G()());a&2&&(a=N(2),yf("issue-editor-false",!V(1,7,a.permissions.hasAclToEdit$)),y(2),D("ngIf",V(3,9,a.archived$)),y(2),D("ngIf",V(5,11,a.inArchivedComponent$)),y(2),D("ngIf",V(7,13,a.deleted$)),y(2),D("ngIf",V(9,15,a.id$)),y(5),D("ngIf",V(14,17,a.id$)))},Avb=function(a){a&1&&(C(0,zvb,15,19,"div",17),T(1,"async"));if(a&2){a=N();var b=Q(9);D("ngIf",!V(1,2,a.showTrackerRedirect$))("ngIfElse",b)}},
Bvb=function(a){a&1&&(E(0,"div",49),I(1,"b-tracker-redirect",50),T(2,"async"),G());a&2&&(a=N(),y(),D("issue",V(2,1,a.issue$)))},Cvb=function(a,b){a&1&&(E(0,"h3"),R(1," Redirecting to "),E(2,"a",51),R(3),G()());a&2&&(a=b.monorailRedirectUrl,y(2),D("href",a,Pd),y(),S(" ",a," "))},Dvb=function(a){a&1&&(I(0,"b-access-denied-metadata",54),T(1,"async"));a&2&&(a=N(2),D("issueMetadata",V(1,1,a.issueMetadata$)))},Evb=function(a){a&1&&I(0,"b-access-denied-metadata",55)},Fvb=function(a){a&1&&(E(0,"div",49),
C(1,Dvb,2,3,"b-access-denied-metadata",52)(2,Evb,1,0,"ng-template",null,53,jg),G());if(a&2){var b=Q(3);a=N();y();D("ngIf",a.activeSession.isInternalSession())("ngIfElse",b)}},Gvb=function(a,b){a&1&&(K(0),I(1,"b-issues-table",1),L());a&2&&(a=b.ngIf,b=N(),y(),D("issueIds",a)("menuItemFactory",b.getMenuItems)("tableColumns",b.tableColumns)("initialSort",b.initialSort))},Ivb=function(a){if(a&1){var b=u();E(0,"div",5);I(1,"img",6);E(2,"p",7);R(3," This issue has no duplicates ");G();E(4,"p",8);R(5," A duplicate is an issue with similar content. ");
G();E(6,"p",8);R(7,' Any issue added here will be closed as a duplicate of this one, making this the "canonical issue". ');E(8,"a",9);R(9,"Learn more");G()();E(10,"button",10);M("click",function(){v(b);var c=N(2);return x(Hvb(c))});R(11," Add ");G()()}a&2&&(a=N(2),y(),D("src",a.ROBOT_SLEEPING,Pd))},Jvb=function(a,b){a&1&&I(0,"b-duplicates-table",15);a&2&&(a=b.$implicit,b=N(2).$implicit,D("issueId",a)("duplicateIds",b))},Kvb=function(a,b){a&1&&(K(0),E(1,"a",16),R(2," View as search results "),G(),
L());a&2&&(a=b.ngIf,y(),D("routerLink",a.path)("queryParams",a.params))},Lvb=function(a){if(a&1){var b=u();E(0,"h4",11);R(1);T(2,"async");E(3,"button",12);M("click",function(){v(b);var c=N(2);return x(Hvb(c))});R(4," Add ");G()();C(5,Jvb,1,2,"b-duplicates-table",13);T(6,"async");E(7,"aside",14);C(8,Kvb,3,2,"ng-container",1);T(9,"async");G()}a&2&&(a=N(2),y(),S("Duplicates ",V(2,3,a.counts.countDuplicateDisplay$)," "),y(4),D("ngIf",V(6,5,a.id$)),y(3),D("ngIf",V(9,7,a.dupeUrl$)))},Mvb=function(a){a&
1&&(K(0),C(1,Ivb,12,1,"div",3),T(2,"async"),C(3,Lvb,10,9,"ng-template",null,4,jg),L());if(a&2){var b=Q(4);a=N();y();D("ngIf",!V(2,2,a.showTable$))("ngIfElse",b)}},Nvb=function(a){a&1&&(E(0,"aside",17),I(1,"b-spinner"),G())},Ovb=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N(),yf("muted",a.isGreyedOut),y(),S(" ",a.displayName,""))},Pvb=function(a){if(a&1){var b=u();E(0,"a",2);M("click",function(c){v(b);var d=N();return x(d.handleClick(c))});R(1);G()}a&2&&(a=N(),D("href",a.linkUrl,Pd)("rel",a.EXTERNAL_LINK_REL),
y(),S(" ",a.displayName,""))},Qvb=function(a){a&1&&I(0,"b-restricted-chip",10);a&2&&(a=N(),D("label",a.getRestrictedLabel())("retentionState",null==a.attachment?null:a.attachment.piiRetentionState)("contentType","attachment"))},Rvb=function(a){a&1&&(E(0,"span",11),I(1,"b-actions-menu",12),G());a&2&&(a=N(),y(),D("menuItems",a.actionMenuItems)("buttonLabel","Attachment actions")("matTooltip","Attachment actions"))},Vvb=function(a){if(a&1){var b=u();E(0,"span")(1,"b-conditional-link",13);M("customHandler",
function(){v(b);var c=N();c.isRestricted()?Svb(c,!1):c.domSafe.openInNewTab(Tvb(c,!1));return x()});G()()}a&2&&(a=N(),Bf("bv2-issue-attachment-link ",Uvb(a),""),y(),D("isGreyedOut",!a.hasViewAccess)("displayName","View")("linkUrl",Tvb(a,!1))("linkEnabled",!0)("useCustomHandler",!0))},Wvb=function(a){if(a&1){var b=u();E(0,"span")(1,"b-conditional-link",13);M("customHandler",function(){v(b);var c=N();c.isRestricted()?Svb(c,!0):c.domSafe.openInNewTab(Tvb(c,!0));return x()});G()()}a&2&&(a=N(),Bf("bv2-issue-attachment-link ",
Uvb(a),""),y(),D("isGreyedOut",!a.hasViewAccess)("displayName","Download")("linkUrl",Tvb(a,!0))("linkEnabled",!0)("useCustomHandler",!0))},Xvb=function(a){a&1&&(E(0,"span",14)(1,"a",15),I(2,"mat-icon",16),G()());a&2&&(a=N(),y(),D("href",a.documentationLinks.getRestrictedAccessHelpLink(),Pd)("disableRipple",!0),y(),D("svgIcon","help-outline"))},Yvb=function(a){a&1&&(E(0,"div",17),R(1," You do not have access to this restricted attachment. "),E(2,"a",18),R(3,"Learn more"),G()());a&2&&(a=N(),y(2),D("href",
a.documentationLinks.getRestrictedAccessHelpLink(),Pd))},$vb=function(a){if(a&1){var b=u();E(0,"button",19,20);M("click",function(){v(b);var c=N(2);return x(Zvb(c))});R(2," Edit ");G()}},awb=function(a,b){a&1&&(K(0),R(1," on behalf of "),I(2,"b-user-display-name",21),L());a&2&&(a=b.ngIf,y(2),D("email",a)("showEmail",!1))},bwb=function(a){a&1&&(K(0),C(1,awb,3,2,"ng-container",12),T(2,"async"),L());a&2&&(a=N(2),y(),D("ngIf",V(2,1,a.onBehalfOfEmail$)))},cwb=function(a,b){if(a&1){var c=u();E(0,"a",22);
M("click",function(d){var e=v(c).$implicit;N(2).issueReferenceResolver.visit({issueId:e,elementId:"comment1",event:d});return x()});R(1);G()}a&2&&(a=b.$implicit,b=N().$implicit,N(),D("routerLinkObj",Kn(a,{comment:1})),pf("aria-label","Comment number"+b.commentNumber),y(),S(" #",b.commentNumber,""))},ewb=function(a){a&1&&(K(0),E(1,"span",23),R(2," \u2022 Edited"),G(),L());if(a&2){a=N().$implicit;var b=N();y();D("matTooltip",dwb(b,a))}},fwb=function(a){a&1&&(K(0),E(1,"p",24),R(2," Description has been deleted. "),
G(),L())},gwb=function(a){if(a&1){var b=u();E(0,"b-restricted-comment-placeholder",27);M("onConfirm",function(){v(b);var c=N().ngIf,d=N(3).$implicit,e=N();return x(e.loadRestrictedComment(c,d))});T(1,"async");G()}a&2&&(a=N(5),D("disabled",!V(1,1,a.mayReadPii$)))},hwb=function(a){a&1&&(K(0),C(1,gwb,2,3,"b-restricted-comment-placeholder",26),T(2,"async"),L());a&2&&(a=N(4),y(),D("ngIf",V(2,1,a.shouldShowRestrictedPlaceholder$)))},iwb=function(a){a&1&&(K(0),C(1,hwb,3,3,"ng-container",12),T(2,"async"),
L());a&2&&(a=N(3),y(),D("ngIf",V(2,1,a.id$)))},jwb=function(a){if(a&1){var b=u();E(0,"button",30);M("click",function(){v(b);var c=N(4);return x(c.openHelpMeFixSidebar())});R(1," Help Me Fix ");G()}},kwb=function(a,b){a&1&&(I(0,"b-note-container",32),T(1,"async"));if(a&2){a=b.$implicit;b=N().ngIf;var c=N(4);D("issueId",b)("issueAccessLevel",V(1,4,c.accessLevel$))("note",a)("formattingMode",c.formattingMode)}},lwb=function(a){a&1&&(K(0),C(1,kwb,2,6,"b-note-container",31),T(2,"async"),L());if(a&2){a=
N(3).$implicit;var b=N();y();D("ngIf",""!==a.unlinkifiedComment&&V(2,1,b.firstNote$))}},mwb=function(a){a&1&&(K(0),R(1," Add one."),L())},nwb=function(a){a&1&&(E(0,"p",33),R(1," No description yet."),C(2,mwb,2,0,"ng-container",12),G());a&2&&(a=N(4),y(2),D("ngIf",a.canEditComment()))},owb=function(a){a&1&&(C(0,jwb,2,0,"button",28),T(1,"async"),C(2,lwb,3,3,"ng-container",12),T(3,"async"),C(4,nwb,3,1,"p",29));if(a&2){a=N(2).$implicit;var b=N();D("ngIf",b.showHelpMeFix&&V(1,3,b.doesDescriptionContainStackTrace$));
y(2);D("ngIf",V(3,5,b.id$));y(2);D("ngIf",""===a.unlinkifiedComment)}},pwb=function(a){a&1&&(C(0,iwb,3,3,"ng-container",17),T(1,"async"),C(2,owb,5,7,"ng-template",null,25,jg));if(a&2){var b=Q(3);a=N(2);D("ngIf",V(1,2,a.isRedacted$))("ngIfElse",b)}},qwb=function(a,b){a&1&&(K(0),I(1,"b-attachment-viewer",38),L());if(a&2){a=b.ngIf;b=N().$implicit;var c=N(4);y();D("issueId",a)("attachment",b)("attachmentUploader",c.getUserEmailIfAvailable())}},rwb=function(a,b){a&1&&(E(0,"div",37),C(1,qwb,2,3,"ng-container",
12),T(2,"async"),G());a&2&&(a=b.$implicit,b=N(4),Nf("id","attachment",a.attachmentId,""),y(),D("ngIf",V(2,2,b.id$)))},swb=function(a){a&1&&(E(0,"div",35),C(1,rwb,3,4,"div",36),G());a&2&&(a=N().ngIf,y(),D("ngForOf",a))},twb=function(a,b){a&1&&(K(0),C(1,swb,2,1,"div",34),L());a&2&&(a=b.ngIf,y(),D("ngIf",a.length))},vwb=function(a,b){a&1&&(E(0,"div",2),I(1,"mat-icon",3),E(2,"div",4)(3,"div",5)(4,"div",6)(5,"h4",7),R(6,"Description"),G(),C(7,$vb,3,0,"button",8),I(8,"b-user-display",9),E(9,"onedev-hovercard",
null,10),I(11,"b-issue-person-card",11),G(),R(12," created issue "),C(13,bwb,3,3,"ng-container",12),T(14,"async"),C(15,cwb,2,3,"a",13),T(16,"async"),C(17,ewb,3,1,"ng-container",12),T(18,"async"),G(),E(19,"div"),I(20,"b-formatted-date-time",14)(21,"b-actions-menu",15,16),T(23,"async"),G()(),C(24,fwb,3,0,"ng-container",17),T(25,"async"),C(26,pwb,4,4,"ng-template",null,18,jg)(28,twb,2,1,"ng-container",12),T(29,"async"),G()());if(a&2){a=b.$implicit;var c=Q(10),d=Q(27);b=N();var e;y(7);D("ngIf",b.canEditComment());
y();D("onedevHovercardTrigger",c)("model",a.userPerformingActionUser);y(3);D("email",b.getUserEmailIfAvailable());y(2);D("ngIf",V(14,13,b.isAuthorNotReporter$));y(2);D("ngIf",a.commentNumber&&V(16,15,b.id$));y(2);D("ngIf",V(18,17,b.isShowCommentHistoryActionInMenu$));y(3);D("timestamp",a.modifiedDate);y();D("buttonLabel","Description actions")("menuItems",null!==(e=V(23,19,b.commentActionMenuItems$))&&void 0!==e?e:eg(25,uwb));y(3);D("ngIf",V(25,21,b.isDeleted$))("ngIfElse",d);y(4);D("ngIf",V(29,23,
b.attachments$))}},wwb=function(a){a&1&&I(0,"b-spinner")},xwb=function(a){a&1&&I(0,"mat-icon",3)},ywb=function(a){a&1&&I(0,"b-spinner")},zwb=function(a,b){a&1&&(E(0,"span",11),R(1," of "),E(2,"a",12),R(3),G()());if(a&2){a=b.$implicit;N(2);var c=Q(12);y(2);Nf("routerLink","/issues/",a,"");D("onedevHovercardTrigger",c);y();S(" ",a," ")}},Awb=function(a,b){a&1&&(E(0,"div")(1,"div",9),T(2,"async"),R(3),G(),C(4,zwb,4,3,"span",10),T(5,"async"),G());a&2&&(a=b.$implicit,b=N(),y(),Bf("chippy ",V(2,6,b.statusCssClass$),
""),D("title",b.STATUS_JS_FULL_TEXT[a]),y(2),S(" ",b.STATUS_JS_TERSE[a]," "),y(),D("ngIf",V(5,8,b.canonicalId$)))},Bwb=function(a,b){a&1&&(E(0,"span"),R(1),G());a&2&&(a=b.$implicit,b=N(),Bf("b-chip squared issue-type-",a,""),y(),S(" ",b.issueTypeToDisplay(a)," "))},Dwb=function(a,b){if(a&1){var c=u();E(0,"b-hotlist-chip-smart",17);M("removeHotlist",function(){var d=v(c).$implicit,e=N(2);return x(Cwb(e,d))});G()}a&2&&D("id",b.$implicit)},Fwb=function(a,b){if(a&1){var c=u();E(0,"div",13)(1,"button",
14);M("onHotkey",function(){v(c);var d=N();return x(Ewb(d))})("click",function(){v(c);var d=N();return x(Ewb(d))});I(2,"mat-icon",15);R(3);T(4,"async");G();C(5,Dwb,1,1,"b-hotlist-chip-smart",16);G()}a&2&&(a=b.$implicit,b=N(),y(),D("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER),y(2),S(" ",V(4,3,b.textOfHotlistBtn$)," "),y(2),D("ngForOf",a))},Gwb=function(a){a&1&&(E(0,"div",18),I(1,"smart-full-history-btn"),G())},Hwb=function(a){a&1&&(I(0,"b-issue-card",19,20),T(2,"async"));if(a&2){var b=Q(1);a=N();D("onedevIsHovercardReady",
b.init)("issueId",V(2,2,a.canonicalId$))}},Iwb=function(a){return null==a?void 0:a.snapshot[0].hotlistId},Jwb=function(a,b){a&1&&(E(0,"mat-option",9)(1,"div",10),R(2),G(),E(3,"div",11),R(4),G()());a&2&&(a=b.$implicit,D("value",a),y(2),$f(a.name),y(2),$f(a.description))},Kwb=function(a){if(a&1){var b=u();E(0,"mat-form-field",6)(1,"mat-select",7);M("valueChange",function(c){v(b);var d=N();return x(d.selectedFilter=c)})("selectionChange",function(c){v(b);var d=N();c=c.value;d.preferences.save({commentFilterPreferences:{commentFilter:c.commentFilterType}}).pipe(ef(d.destroyed$)).subscribe();
kp(d.analytics,Sp.EDIT_ISSUE,"click",c.commentFilterType);return x()});E(2,"mat-select-trigger");R(3);G();C(4,Jwb,5,3,"mat-option",8);G()()}a&2&&(a=N(),y(),D("value",a.selectedFilter),y(2),$f(null==a.selectedFilter?null:a.selectedFilter.displayName),y(),D("ngForOf",a.filters))},Lwb=function(a){a&1&&(K(0),I(1,"mat-icon",12),E(2,"span"),R(3,"Oldest first"),G(),L())},Mwb=function(a){a&1&&(K(0),I(1,"mat-icon",13),E(2,"span"),R(3,"Newest first"),G(),L())},Qwb=function(a){switch(a){case "FULL_HISTORY":return Nwb;
case "ALL_COMMENTS":return Ws;case "HUMAN_ONLY":return Owb;case "TEAM_AND_ASSIGNEE":return Pwb;default:return Ws}},Rwb=function(a){a&1&&(K(0),R(1,", "),I(2,"br"),L())},Swb=function(a){a&1&&(K(0),R(1," reacted"),L())},Twb=function(a,b){a&1&&(K(0),E(1,"div"),R(2),C(3,Rwb,3,0,"ng-container",3)(4,Swb,2,0,"ng-container",3),G(),L());a&2&&(a=b.$implicit,b=b.last,y(2),S(" ",a,""),y(),D("ngIf",!b),y(),D("ngIf",b))},Uwb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N(2),y(),S(" by ",Gi(a.event.lastCommentEditorUser),
""))},Vwb=function(a){a&1&&(K(0)(1),R(2,"Message last modified"),L(),C(3,Uwb,2,1,"ng-container",0),K(4),R(5," on "),I(6,"b-formatted-date-time",1),L()());a&2&&(a=N(),y(3),D("ngIf",0===a.event.version&&!!a.event.lastCommentEditorUser),y(3),D("timestamp",a.event.commentLastModifiedAtDate))},Wwb=function(a){a&1&&I(0,"b-user-email",5);a&2&&(a=N().$implicit,D("email",a.text)("withProfile",!0))},Xwb=function(a){a&1&&(E(0,"b-issue-reference-widget",6),K(1),R(2),L(),G());if(a&2){a=N().$implicit;var b=N();
D("href",dn(a.text))("issueId",b.getIssueId(a));y(2);$f(a.text)}},Ywb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N().$implicit,y(),$f(a.text))},Zwb=function(a,b){a&1&&(K(0)(1,1),C(2,Wwb,1,2,"b-user-email",2)(3,Xwb,3,3,"b-issue-reference-widget",3)(4,Ywb,2,1,"ng-container",4),L()());a&2&&(a=b.$implicit,y(),D("ngSwitch",a.tag),y(),D("ngSwitchCase","user"),y(),D("ngSwitchCase","bug"))},$wb=function(a){a&1&&(K(0),I(1,"b-component-card",3,4),L());if(a&2){var b=Q(2);a=N();y();D("onedevIsHovercardReady",b.init)("componentId",
a.id)}},axb=function(a){a&1&&(E(0,"span"),R(1),G());if(a&2){a=N(5);var b;y();$f(null!==(b=a.effortSpecName)&&void 0!==b?b:"Estimated Effort")}},bxb=function(a){a&1&&(E(0,"label"),C(1,axb,2,1,"span",11),R(2,":\u200b "),G());if(a&2){a=N(4);var b=Q(5);y();D("ngIf",a.effortEnabled)("ngIfElse",b)}},cxb=function(a){a&1&&(E(0,"label"),R(1),G());a&2&&(a=N(3).$implicit,y(),S("",a.displayName,":\u200b"))},dxb=function(a){a&1&&(E(0,"span"),I(1,"b-user-display-name",14),G());a&2&&(a=N().$implicit,y(),D("email",
a)("showEmail",!0))},exb=function(a){a&1&&(K(0),I(1,"plain-component-path",15),L());a&2&&(a=N(4).$implicit,y(),D("id",a.oldValue))},fxb=function(a){a&1&&I(0,"b-formatted-date-time",17);if(a&2){a=N(2).$implicit;var b=N(4);D("timestamp",1E3*b.asNumber(a))}},gxb=function(a){a&1&&(E(0,"span"),R(1,"[Issue creation date]"),G())},hxb=function(a){a&1&&(E(0,"span"),C(1,fxb,1,1,"b-formatted-date-time",16)(2,gxb,2,0,"span",5),G());a&2&&(a=N().$implicit,y(),D("ngIf","<none>"!==a),y(),D("ngIf","<none>"===a))},
ixb=function(a){a&1&&I(0,"b-formatted-date-time",17);if(a&2){a=N(2).$implicit;var b=N(4);D("timestamp",1E3*b.asNumber(a))}},jxb=function(a){a&1&&(E(0,"span"),R(1,"[Unset]"),G())},kxb=function(a){a&1&&(E(0,"span"),C(1,ixb,1,1,"b-formatted-date-time",16)(2,jxb,2,0,"span",5),G());a&2&&(a=N().$implicit,y(),D("ngIf","<none>"!==a),y(),D("ngIf","<none>"===a))},lxb=function(a){a&1&&(K(0),E(1,"span"),R(2),G(),L());a&2&&(a=N().$implicit,N(4),y(2),$f(Zp(a)))},mxb=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&
(a=N().$implicit,y(),$f(a))},nxb=function(a){a&1&&(K(0),C(1,dxb,2,2,"span",5)(2,exb,2,1,"ng-container",5)(3,hxb,3,2,"span",5)(4,kxb,3,2,"span",5)(5,lxb,3,1,"ng-container",5)(6,mxb,2,1,"span",5),R(7," \u00a0 "),I(8,"span",13),R(9," \u00a0 "),L());a&2&&(a=N(3).$implicit,y(),D("ngIf",a.isUser),y(),D("ngIf","component"===a.name),y(),D("ngIf","sloStartTime"==a.name),y(),D("ngIf","sloEndTime"==a.name),y(),D("ngIf","access_limit"===a.name),y(),D("ngIf",!a.isUser&&"component"!==a.name&&"sloStartTime"!==a.name&&
"sloEndTime"!==a.name&&"access_limit"!==a.name))},oxb=function(a){a&1&&I(0,"b-user-display-name",14);a&2&&(a=N().$implicit,D("email",a)("showEmail",!0))},pxb=function(a){a&1&&(E(0,"span"),I(1,"plain-component-path",15),G());a&2&&(a=N(4).$implicit,y(),D("id",a.newValue))},qxb=function(a){a&1&&I(0,"b-formatted-date-time",17);if(a&2){a=N(2).$implicit;var b=N(4);D("timestamp",1E3*b.asNumber(a))}},rxb=function(a){a&1&&(E(0,"span"),R(1,"[Issue creation date]"),G())},sxb=function(a){a&1&&(E(0,"span"),C(1,
qxb,1,1,"b-formatted-date-time",16)(2,rxb,2,0,"span",5),G());a&2&&(a=N().$implicit,y(),D("ngIf","<none>"!==a),y(),D("ngIf","<none>"===a))},txb=function(a){a&1&&I(0,"b-formatted-date-time",17);if(a&2){a=N(2).$implicit;var b=N(4);D("timestamp",1E3*b.asNumber(a))}},uxb=function(a){a&1&&(E(0,"span"),R(1,"[Unset]"),G())},vxb=function(a){a&1&&(E(0,"span"),C(1,txb,1,1,"b-formatted-date-time",16)(2,uxb,2,0,"span",5),G());a&2&&(a=N().$implicit,y(),D("ngIf","<none>"!==a),y(),D("ngIf","<none>"===a))},wxb=function(a){a&
1&&(K(0),E(1,"span"),R(2),G(),L());a&2&&(a=N().$implicit,N(4),y(2),$f(Zp(a)))},yxb=function(a){a&1&&(E(0,"span",20),R(1),G());if(a&2){a=N().$implicit;var b=N(3).$implicit;D("ngClass",fg(2,xxb,b.oldValue&&"title"==b.name));y();$f(a)}},zxb=function(a){a&1&&(K(0),C(1,oxb,1,2,"b-user-display-name",18)(2,pxb,2,1,"span",5)(3,sxb,3,2,"span",5)(4,vxb,3,2,"span",5)(5,wxb,3,1,"ng-container",5)(6,yxb,2,4,"span",19),L());a&2&&(a=N(3).$implicit,y(),D("ngIf",a.isUser),y(),D("ngIf","component"===a.name),y(),D("ngIf",
"sloStartTime"===a.name),y(),D("ngIf","sloEndTime"===a.name),y(),D("ngIf","access_limit"===a.name),y(),D("ngIf",!a.isUser&&"component"!=a.name&&"sloStartTime"!=a.name&&"sloEndTime"!=a.name&&"access_limit"!=a.name))},Axb=function(a){a&1&&(E(0,"div",10),C(1,bxb,3,2,"label",11)(2,cxb,2,1,"ng-template",null,12,jg)(4,nxb,10,6,"ng-container",5)(5,zxb,7,6,"ng-container",5),G());if(a&2){var b=Q(3);a=N(2).$implicit;y();D("ngIf","effort"===a.name)("ngIfElse",b);y(3);D("ngIf",a.oldValue);y();D("ngIf",a.newValue)}},
Bxb=function(a){a&1&&(E(0,"span"),R(1,", "),G())},Cxb=function(a,b){a&1&&(E(0,"span"),I(1,"b-user-display-name",14),C(2,Bxb,2,0,"span",5),G());a&2&&(a=b.$implicit,b=b.last,y(),D("email",a)("showEmail",!0),y(),D("ngIf",!b))},Dxb=function(a){a&1&&(E(0,"span"),C(1,Cxb,3,3,"span",21),G());a&2&&(a=N(4).$implicit,y(),D("ngForOf",a.added))},Exb=function(a){a&1&&(E(0,"span"),R(1,", "),G())},Fxb=function(a,b){a&1&&(E(0,"span")(1,"span"),R(2),G(),C(3,Exb,2,0,"span",5),G());a&2&&(a=b.$implicit,b=b.last,y(2),
$f(a),y(),D("ngIf",!b))},Gxb=function(a){a&1&&(E(0,"span"),C(1,Fxb,4,2,"span",21),G());a&2&&(a=N(4).$implicit,y(),D("ngForOf",a.added))},Hxb=function(a){a&1&&(E(0,"div")(1,"label"),R(2),G(),C(3,Dxb,2,1,"span",5)(4,Gxb,2,1,"span",5),G());a&2&&(a=N(3).$implicit,y(2),S("+",a.displayName,":\u200b"),y(),D("ngIf",a.isUser),y(),D("ngIf",!a.isUser))},Ixb=function(a){a&1&&(E(0,"span"),R(1,", "),G())},Jxb=function(a,b){a&1&&(E(0,"span"),I(1,"b-user-display-name",14),C(2,Ixb,2,0,"span",5),G());a&2&&(a=b.$implicit,
b=b.last,y(),D("email",a)("showEmail",!0),y(),D("ngIf",!b))},Kxb=function(a){a&1&&(E(0,"span"),C(1,Jxb,3,3,"span",21),G());a&2&&(a=N(4).$implicit,y(),D("ngForOf",a.removed))},Lxb=function(a){a&1&&(E(0,"span"),R(1,", "),G())},Mxb=function(a,b){a&1&&(E(0,"span")(1,"span"),R(2),G(),C(3,Lxb,2,0,"span",5),G());a&2&&(a=b.$implicit,b=b.last,y(2),$f(a),y(),D("ngIf",!b))},Nxb=function(a){a&1&&(E(0,"span"),C(1,Mxb,4,2,"span",21),G());a&2&&(a=N(4).$implicit,y(),D("ngForOf",a.removed))},Oxb=function(a){a&1&&
(E(0,"div")(1,"label"),R(2),G(),C(3,Kxb,2,1,"span",5)(4,Nxb,2,1,"span",5),G());a&2&&(a=N(3).$implicit,y(2),S("-",a.displayName,":\u200b"),y(),D("ngIf",a.isUser),y(),D("ngIf",!a.isUser))},Pxb=function(a){a&1&&(E(0,"div",10),C(1,Hxb,5,3,"div",5)(2,Oxb,5,3,"div",5),G());if(a&2){a=N(2).$implicit;var b=N();y();D("ngIf",a.added&&a.added.length&&b.isStringArray(a.added));y();D("ngIf",a.removed&&a.removed.length&&b.isStringArray(a.removed))}},Qxb=function(a){a&1&&Gf(0)},Sxb=function(a,b){a&1&&(E(0,"span"),
C(1,Qxb,1,0,"ng-container",22),G());if(a&2){a=b.$implicit;b=b.last;var c=N(4).$implicit;N();var d=Q(3);y();D("ngTemplateOutlet",d)("ngTemplateOutletContext",hg(Rxb,c,a,b))}},Txb=function(a){a&1&&(E(0,"div")(1,"label"),R(2),G(),C(3,Sxb,2,6,"span",21),G());a&2&&(a=N(3).$implicit,y(2),S("+",a.displayName,":\u200b"),y(),D("ngForOf",a.added))},Uxb=function(a){a&1&&Gf(0)},Vxb=function(a,b){a&1&&(E(0,"span"),C(1,Uxb,1,0,"ng-container",22),G());if(a&2){a=b.$implicit;b=b.last;var c=N(4).$implicit;N();var d=
Q(3);y();D("ngTemplateOutlet",d)("ngTemplateOutletContext",hg(Rxb,c,a,b))}},Wxb=function(a){a&1&&(E(0,"div")(1,"label"),R(2),G(),C(3,Vxb,2,6,"span",21),G());a&2&&(a=N(3).$implicit,y(2),S("-",a.displayName,":\u200b"),y(),D("ngForOf",a.removed))},Xxb=function(a){a&1&&(E(0,"div",10),C(1,Txb,4,2,"div",5)(2,Wxb,4,2,"div",5),G());if(a&2){a=N(2).$implicit;var b=N();y();D("ngIf",a.added&&a.added.length&&b.isLinkedItemArray(a.added));y();D("ngIf",a.removed&&a.removed.length&&b.isLinkedItemArray(a.removed))}},
Yxb=function(a){a&1&&I(0,"b-formatted-date-time",17);a&2&&(a=N().$implicit,D("timestamp",a))},Zxb=function(a){a&1&&(E(0,"span"),R(1," - "),G())},$xb=function(a,b){a&1&&(E(0,"span"),I(1,"b-formatted-date-time",17),C(2,Zxb,2,0,"span",5),G());a&2&&(a=b.$implicit,b=b.last,y(),D("timestamp",a),y(),D("ngIf",!b))},ayb=function(a){a&1&&(E(0,"span"),C(1,$xb,3,2,"span",21),G());a&2&&(a=N(4).$implicit,y(),D("ngForOf",a.oldValue.split(", ")))},byb=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N().$implicit,
y(),$f(a))},eyb=function(a){a&1&&(K(0),C(1,Yxb,1,1,"b-formatted-date-time",16)(2,ayb,2,1,"span",5)(3,byb,2,1,"span",5),R(4," \u00a0 "),I(5,"span",13),R(6," \u00a0 "),L());if(a&2){a=N(3).$implicit;var b=N();y();D("ngIf",cyb(b,a,"oldValue"));y();D("ngIf",dyb(b,a,"oldValue"));y();D("ngIf",!cyb(b,a,"oldValue")&&!dyb(b,a,"oldValue"))}},fyb=function(a){a&1&&I(0,"b-formatted-date-time",17);a&2&&(a=N().$implicit,D("timestamp",a))},gyb=function(a){a&1&&(E(0,"span"),R(1," - "),G())},hyb=function(a,b){a&1&&
(E(0,"span"),I(1,"b-formatted-date-time",17),C(2,gyb,2,0,"span",5),G());a&2&&(a=b.$implicit,b=b.last,y(),D("timestamp",a),y(),D("ngIf",!b))},iyb=function(a){a&1&&(E(0,"span"),C(1,hyb,3,2,"span",21),G());a&2&&(a=N(4).$implicit,y(),D("ngForOf",a.newValue.split(", ")))},jyb=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N().$implicit,y(),$f(a))},kyb=function(a){a&1&&(K(0),C(1,fyb,1,1,"b-formatted-date-time",16)(2,iyb,2,1,"span",5)(3,jyb,2,1,"span",5),L());if(a&2){a=N(3).$implicit;var b=N();y();D("ngIf",
cyb(b,a,"newValue"));y();D("ngIf",dyb(b,a,"newValue"));y();D("ngIf",!cyb(b,a,"newValue")&&!dyb(b,a,"newValue"))}},lyb=function(a){a&1&&(E(0,"div",10)(1,"label"),R(2),G(),C(3,eyb,7,3,"ng-container",5)(4,kyb,4,3,"ng-container",5),G());if(a&2){a=N(2).$implicit;var b=N();y();pf("title",b.customFieldName(a));y();S("",b.customFieldName(a),":\u200b");y();D("ngIf",a.oldValue);y();D("ngIf",a.newValue)}},myb=function(a){a&1&&(E(0,"span",26),R(1,"Updated"),G())},nyb=function(a){a&1&&(E(0,"span"),R(1,"Deleted"),
G())},oyb=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N().$implicit,y(),S("Edited (unknown status '",a.status,"')"))},pyb=function(a,b){a&1&&(K(0)(1,7),C(2,myb,2,0,"span",23)(3,nyb,2,0,"span",24)(4,oyb,2,1,"span",25),L()());a&2&&(a=b.$implicit,y(),D("ngSwitch",a.status),y(),D("ngSwitchCase","ACTIVE"),y(),D("ngSwitchCase","DELETED"))},qyb=function(a){a&1&&(E(0,"div",10)(1,"label"),R(2),G(),C(3,pyb,5,3,"ng-container",5),G());a&2&&(a=N(2).$implicit,y(2),S("",a.displayName,":\u200b"),y(),D("ngIf",
null==a.statusUpdateDiff?null:a.statusUpdateDiff.entityStatus))},ryb=function(a){a&1&&(E(0,"div",10)(1,"label"),R(2),G(),E(3,"pre",27),R(4),T(5,"json"),G()());a&2&&(a=N(2).$implicit,y(2),S("",a.displayName,":\u200b"),y(2),$f(V(5,2,a)))},syb=function(a){a&1&&(K(0),I(1,"b-formatted-date-time",6),K(2,7),C(3,Axb,6,4,"div",8)(4,Pxb,3,2,"div",8)(5,Xxb,3,2,"div",8)(6,lyb,5,4,"div",8)(7,qyb,4,2,"div",8)(8,ryb,6,4,"div",9),L()());a&2&&(a=N().$implicit,y(),D("timestamp",a.timestamp),y(),D("ngSwitch",!0),y(),
D("ngSwitchCase","SINGLE_VALUE"===a.type),y(),D("ngSwitchCase","COLLECTION"===a.type||"USER_COLLECTION"===a.type),y(),D("ngSwitchCase","LINKED_COLLECTION"===a.type),y(),D("ngSwitchCase","CUSTOM_FIELD"===a.type),y(),D("ngSwitchCase","STATUS_UPDATE"===a.type))},tyb=function(a,b){a&1&&(E(0,"div",4),C(1,syb,9,7,"ng-container",5),G());a&2&&(a=b.$implicit,b=N(),y(),D("ngIf","sloStartTime"===(null==a?void 0:a.name)||"sloEndTime"===(null==a?void 0:a.name)?b.activeSession.isInternalSession():!0))},uyb=function(a){a&
1&&(E(0,"span"),R(1,", "),G())},vyb=function(a){a&1&&(E(0,"span")(1,"b-issue-reference-widget",29),R(2),G(),C(3,uyb,2,0,"span",5),G());if(a&2){a=N().$implicit;var b=N(),c=b.change;b=b.isLast;y();D("href",c.href)("issueId",a);y();$f(a);y();D("ngIf",!b)}},wyb=function(a){a&1&&(E(0,"span"),R(1,", "),G())},xyb=function(a){a&1&&(K(0),I(1,"hotlist-link",15),C(2,wyb,2,0,"span",5),L());if(a&2){a=N(2).$implicit;var b=N().isLast;y();D("id",a);y();D("ngIf",!b)}},yyb=function(a){a&1&&(E(0,"span"),R(1,", "),G())},
zyb=function(a){a&1&&(E(0,"a",31),R(1),G(),C(2,yyb,2,0,"span",5));if(a&2){a=N(2).$implicit;var b=N(),c=b.isLast;D("href",b.change.href,Pd);y();$f(a);y();D("ngIf",!c)}},Ayb=function(a){a&1&&C(0,xyb,3,2,"ng-container",11)(1,zyb,3,3,"ng-template",null,30,jg);if(a&2){var b=Q(2);a=N(2).diff;var c=N();D("ngIf",c.isHotlistDiff(a))("ngIfElse",b)}},Byb=function(a){a&1&&(K(0),C(1,vyb,4,4,"span",11)(2,Ayb,3,2,"ng-template",null,28,jg),L());if(a&2){var b=Q(3);a=N().diff;var c=N();y();D("ngIf",c.isIssueDiff(a))("ngIfElse",
b)}},Cyb=function(a,b){a&1&&C(0,Byb,4,2,"ng-container",5);a&2&&D("ngIf",b.change.value)},Dyb=function(a){a&1&&(E(0,"span"),R(1,"Estimated Effort (disabled)"),G())},Eyb=function(a,b){a&1&&(I(0,"b-user-membership-chip",5),T(1,"async"),T(2,"async"));if(a&2){a=N(2);var c;D("user",a.event.userPerformingActionUser)("email",b)("teamId",null!==(c=V(1,4,a.teamId$))&&void 0!==c?c:"");pf("aria-label",V(2,6,a.ariaLabelHeading$))}},Fyb=function(a){a&1&&(I(0,"b-user-display",28),T(1,"async"));a&2&&(a=N(2),D("model",
a.event.userPerformingActionUser),pf("aria-label",V(1,2,a.ariaLabelHeading$)))},Gyb=function(a){a&1&&Gf(0)},Hyb=function(a){a&1&&(K(0),E(1,"span",29),C(2,Gyb,1,0,"ng-container",30),G(),E(3,"onedev-hovercard",null,31),I(5,"b-issue-person-card",32),G(),L());if(a&2){var b=Q(4);N();var c=Q(9);a=N();y();D("onedevHovercardTrigger",b);y();D("ngTemplateOutlet",c);y(3);D("email",a.getUserEmailIfAvailable())}},Iyb=function(a){a&1&&(E(0,"span",33),R(1),G());a&2&&(a=N(2),y(),S(" <",Gi(a.event.userPerformingActionUser),
"> "))},Jyb=function(a){if(a&1){var b=u();E(0,"span")(1,"a",34);M("click",function(c){v(b);var d=N(2);return x(d.scrollCommentIntoView(c,d.event.commentNumber))});R(2);G()()}a&2&&(a=N(2),y(),D("routerLinkObj",a.getCommentNumberLink(a.event.commentNumber)),pf("aria-label","Comment number"+a.event.commentNumber),y(),S(" #",a.event.commentNumber,""))},Kyb=function(a){if(a&1){var b=u();E(0,"button",35);M("click",function(){v(b);var c=N(2);return x(Xs(c.issueCommentDialogsService,c.issueId,c.deobfuscatedEvent||
c.event))});G()}},Lyb=function(a){a&1&&I(0,"b-restricted-chip",36);if(a&2){a=N(2);var b,c;D("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)}},Nyb=function(a){a&1&&(I(0,"b-actions-menu",37,38),T(2,"async"));if(a&2){a=N(2);var b;D("buttonLabel","Comment actions")("menuItems",null!==(b=V(2,2,a.commentActionMenuItems$))&&void 0!==b?b:eg(4,Myb))}},Oyb=function(a){a&1&&(E(0,
"div",39),I(1,"b-tagged-text",40),G());a&2&&(a=N(2),y(),D("texts",a.event.taggedSummary))},Pyb=function(a){a&1&&(I(0,"b-issue-event-details",41),T(1,"async"),T(2,"async"),T(3,"async"));if(a&2){a=N().ngIf;var b=N(),c,d;D("diffs",null!==(c=V(1,4,b.preEventDiffs$))&&void 0!==c?c:eg(10,Myb))("customFieldMap",a.customFieldMap)("effortSpecName",null==(d=V(2,6,b.effortSpec$))?null:d.name)("effortEnabled",!!V(3,8,b.isEffortEnabled$))}},Qyb=function(a){a&1&&(E(0,"div",42),R(1," Comment has been deleted. "),
G())},Ryb=function(a){if(a&1){var b=u();E(0,"b-restricted-comment-placeholder",43);M("onConfirm",function(){v(b);var c=N(2);return x(c.loadRestrictedComment())});T(1,"async");G()}a&2&&(a=N(2),D("disabled",!V(1,1,a.mayReadPii$)))},Syb=function(a){a&1&&I(0,"b-note-container",44);a&2&&(a=N(2),D("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},Tyb=function(a){if(a&1){var b=u();K(0);I(1,"b-summarized-note-container",44);
E(2,"button",45);M("click",function(){v(b);var c=N(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return x()});I(3,"mat-icon",46);R(4,"Expand details");G();L()}a&2&&(a=N(2),y(),D("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},Uyb=function(a){if(a&1){var b=u();K(0);E(1,"button",45);M("click",function(){v(b);var c=N(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return x()});I(2,"mat-icon",47);R(3,"Collapse details");
G();L()}},Vyb=function(a){a&1&&I(0,"b-formatted-date-time",48);a&2&&(a=N(2),D("timestamp",a.event.modifiedDate))},Wyb=function(a){a&1&&I(0,"mat-icon",56)},Xyb=function(a){a&1&&I(0,"mat-icon",57)},Yyb=function(a,b){a&1&&(E(0,"span"),R(1),G());a&2&&(a=b.ngIf,y(),$f(a))},Zyb=function(a){a&1&&I(0,"b-comment-reaction-responders-card",58);a&2&&(a=N(3),D("reactionState",null==a.event.commentReactions?null:a.event.commentReactions.get(a.ReactionType.UPVOTE))("issueId",a.issueId)("commentNumber",a.event.commentNumber))},
dzb=function(a){if(a&1){var b=u();E(0,"div",49)(1,"button",50,51);M("click",function(){v(b);var d=N(2);return x($yb(d))});T(3,"async");T(4,"async");T(5,"async");C(6,Wyb,1,0,"mat-icon",52)(7,Xyb,1,0,"mat-icon",53)(8,Yyb,2,1,"span",0);T(9,"async");G();E(10,"onedev-hovercard",null,54);C(12,Zyb,1,3,"b-comment-reaction-responders-card",55);T(13,"async");G()()}if(a&2){var c=Q(11);a=N(2);y();D("ariaLabel",azb(a,a.ReactionType.UPVOTE))("ngClass",fg(20,bzb,V(3,10,a.noUpvoteReactions$)))("onedevHovercardTrigger",
c)("onedevHovercardConfig",a.commentReactionsHovercardConfig)("onedevHovercardActive",!!V(5,14,a.showCommentReactionHovercard$));pf("aria-disabled",!V(4,12,a.hasAclToUpvoteReact$)||a.commentReactionIsSaving);y(5);D("ngIf",!czb(a,a.ReactionType.UPVOTE));y();D("ngIf",czb(a,a.ReactionType.UPVOTE));y();D("ngIf",V(9,16,a.upvoteReactionCountDisplayString$));y(4);D("ngIf",!V(13,18,a.noUpvoteReactions$))}},ezb=function(a){if(a&1){var b=u();E(0,"a",62);M("click",function(){v(b);var c=N(3);return x(c.showCommentHistoryDialog(c.event.commentNumber))});
R(1," Show History ");G()}},fzb=function(a){a&1&&(E(0,"div",59),I(1,"b-comment-edit-timestamp-message",60),C(2,ezb,2,0,"a",61),G());a&2&&(a=N(2),y(),D("event",a.event),y(),D("ngIf",a.commentHistoryEnabled))},gzb=function(a){a&1&&(I(0,"b-issue-event-details",41),T(1,"async"),T(2,"async"),T(3,"async"));if(a&2){a=N().ngIf;var b=N(),c,d;D("diffs",null!==(c=V(1,4,b.postEventDiffs$))&&void 0!==c?c:eg(10,Myb))("customFieldMap",a.customFieldMap)("effortSpecName",null==(d=V(2,6,b.effortSpec$))?null:d.name)("effortEnabled",
!!V(3,8,b.isEffortEnabled$))}},hzb=function(a,b){a&1&&(E(0,"div",65),I(1,"b-attachment-viewer",66),G());a&2&&(a=b.$implicit,b=N(3),Nf("id","attachment",a.attachmentId,""),y(),D("issueId",b.issueId)("attachment",a)("attachmentUploader",b.getUserEmailIfAvailable()))},izb=function(a){a&1&&(E(0,"div",63),C(1,hzb,2,4,"div",64),G());a&2&&(a=N(2),y(),D("ngForOf",a.event.attachments))},kzb=function(a){a&1&&(K(0),E(1,"div",1),I(2,"b-user-image",2),G(),E(3,"div",3)(4,"h4",4),C(5,Eyb,3,8,"b-user-membership-chip",
5)(6,Fyb,2,4)(7,Hyb,6,3,"ng-container",6)(8,Iyb,2,1,"ng-template",null,7,jg)(10,Jyb,3,3,"span",0)(11,Kyb,1,0,"button",8),T(12,"async"),E(13,"span",9),C(14,Lyb,1,3,"b-restricted-chip",10),I(15,"b-formatted-date-time",11),C(16,Nyb,3,5,"b-actions-menu",12),G()(),I(17,"div",13),C(18,Oyb,2,1,"div",14)(19,Pyb,4,11,"b-issue-event-details",15),T(20,"async"),I(21,"div",13),E(22,"div",16)(23,"div",17),C(24,Qyb,2,0,"div",18)(25,Ryb,2,3,"b-restricted-comment-placeholder",19),E(26,"div",20),C(27,Syb,1,4,"b-note-container",
21)(28,Tyb,5,4,"ng-container",0)(29,Uyb,4,0,"ng-container",0),G(),E(30,"div",22)(31,"div",23),C(32,Vyb,1,1,"b-formatted-date-time",24),T(33,"async"),G(),C(34,dzb,14,22,"div",25),G()(),C(35,fzb,3,2,"div",26),G(),C(36,gzb,4,11,"b-issue-event-details",15),T(37,"async"),I(38,"div",13),C(39,izb,2,1,"div",27),I(40,"div",13),G(),L());if(a&2){var b=Q(9);a=N();var c;y(2);D("email",a.getUserEmailIfAvailable());y(3);Cf(5,(c=a.enableTeamAnnotations&&a.getUserEmailIfAvailable())?5:6,c);y(2);D("ngIf",a.isNonObfuscatedEmail(a.getUserEmailIfAvailable()))("ngIfElse",
b);y(3);D("ngIf",a.isCommentEvent(a.event));y();D("ngIf",V(12,21,a.canEditComment$)&&!Ys(a));y(3);D("ngIf",a.isRestricted());y();D("timestamp",a.event.modifiedDate);y();D("ngIf",a.isCommentEvent(a.event));y(2);D("ngIf",a.event.taggedSummary&&a.event.taggedSummary.length);y();D("ngIf","FULL_HISTORY"===V(20,23,a.showFullHistoryFromFiltering$));y(5);D("ngIf",a.isDeleted());y();D("ngIf",Ys(a)&&!a.isDeleted());y(2);D("ngIf",jzb(a)&&!Ys(a)&&!a.isDeleted()&&!a.isSummarized);y();D("ngIf",jzb(a)&&!Ys(a)&&
!a.isDeleted()&&a.isSummarized);y();D("ngIf",a.wasSummarized&&!a.isSummarized);y(3);D("ngIf",V(33,25,a.isShowingCommentTimestamp$));y(2);var d;c=a.ReactionType.UPVOTE;var e,f=!a.issuePermissionService.hasAclToComment()&&0===(null==(d=a.event.commentReactions)?void 0:null==(e=d.get(c))?void 0:e.count);d=a.isInternalSession&&a.commentReactionsEnabled&&jzb(a)&&!a.isDeleted()&&!Ys(a)&&!f;D("ngIf",d);y();D("ngIf",a.isCommentEvent(a.event)&&0<(a.event.commentVersion||0)&&!Ys(a));y();D("ngIf","FULL_HISTORY"===
V(37,27,a.showFullHistoryFromFiltering$));y(3);D("ngIf",null==a.event?null:null==a.event.attachments?null:a.event.attachments.length)}},lzb=function(a){a&1&&(E(0,"aside",3),I(1,"b-spinner"),G())},mzb=function(a){a&1&&(K(0),R(1,"s"),L())},nzb=function(a){if(a&1){var b=u();K(0);E(1,"div",6)(2,"button",7);M("click",function(){v(b);var f=N().index,h=N(),k,q,t=null!=(q=null==(k=h.foldedCommentsCounts.get(f))?void 0:k.eventFoldedCount)?q:0;for(k=0;k<t&&((Cn(h.internalEvents[f-k])||Dn(h.internalEvents[f-
k]))&&h.eventDisplayMode.set(f-k,"full"),0!==f-k);k++);h.foldedCommentsCounts.delete(f);return x()});R(3);C(4,mzb,2,0,"ng-container",4);G();I(5,"div",8);G();L()}if(a&2){a=N().index;var c=N(),d,e;y(3);S(" ",null==(d=c.foldedCommentsCounts.get(a))?null:d.commentFoldedCount," update");y();D("ngIf",1<(null!==(e=null==(e=c.foldedCommentsCounts.get(a))?null:e.commentFoldedCount)&&void 0!==e?e:1))}},ozb=function(a){a&1&&(E(0,"div",9),I(1,"b-history-event",10),G());if(a&2){var b=N();a=b.$implicit;b=b.index;
var c=N();y();D("issueId",c.internalIssueId)("issueAccessLevel",c.issueAccessLevel)("event",a)("isSummarized",c.eventDisplayMode.get(b)===c.eventDisplayModes.SUMMARIZED)}},qzb=function(a,b){a&1&&(K(0),C(1,nzb,6,2,"ng-container",4)(2,ozb,2,4,"div",5),L());if(a&2){a=b.$implicit;b=b.index;var c=N(),d;y();D("ngIf",c.enableCommentFiltering&&c.foldedCommentsCounts.has(b)&&0<(null!==(d=null==(d=c.foldedCommentsCounts.get(b))?null:d.commentFoldedCount)&&void 0!==d?d:0));y();if(d=c.internalIssueId)if(c.enableCommentFiltering)d=
pzb(c.eventDisplayMode.get(b));else{var e,f;d=(c.showFullHistory||a.isMajorEvent)&&(Cn(a)&&!!a.unlinkifiedComment||Dn(a)||0<(null==(e=a.preDiffs)?void 0:e.length)||0<(null==(f=a.postDiffs)?void 0:f.length))}D("ngIf",d)}},rzb=function(a){a&1&&(E(0,"aside",3),I(1,"b-spinner"),G())},szb=function(a){a&1&&(E(0,"p",14),R(1),E(2,"a",15),R(3," Learn more "),G()());a&2&&(a=N(4),y(),S(" Your comment contains restricted words: ",bq(a.bannedWordsChecker),". Review your comment before posting. "))},tzb=function(a){if(a&
1){var b=u();E(0,"div",16)(1,"b-recaptcha",17);M("onUpdate",function(c){v(b);var d=N(4);return x(d.recaptchaResponse$.next(c))});G()()}},vzb=function(a){if(a&1){var b=u();E(0,"span")(1,"mat-checkbox",18);M("change",function(){v(b);var c=N(4);return x(uzb(c))});T(2,"async");T(3,"async");R(4," CC Me ");G()()}a&2&&(a=N(4),y(),D("checked",!!V(2,2,a.autoCcOnComment$))("disabled",!!V(3,4,a.isCurrentUserCCd$)))},wzb=function(a){a&1&&(E(0,"mat-checkbox",21),R(1," CC Me "),G());a&2&&D("checked",!0)("disabled",
!0)},xzb=function(a){a&1&&(E(0,"span",19),C(1,wzb,2,2,"mat-checkbox",20),T(2,"async"),G());a&2&&(a=N(4),y(),D("ngIf",V(2,1,a.isCurrentUserCCd$)))},yzb=function(a){if(a&1){var b=u();E(0,"b-markdown-toggle",22);M("change",function(c){v(b);var d=N().ngIf;return x(d.formattingMode=c)});G()}a&2&&(a=N().ngIf,D("initialValue",a.formattingMode))},zzb=function(a){a&1&&(I(0,"b-access-limits-chip",23),T(1,"async"));a&2&&(a=N(4),D("issueId",a.issueId)("componentId",a.componentIdString)("accessLimitLevel",V(1,
3,a.issueAccessLimitLevel$)))},Azb=function(a){a&1&&I(0,"b-issue-visibility-chip",13);a&2&&(a=N(4),D("issueId",a.issueId))},Bzb=function(a){a&1&&(I(0,"b-component-access-level-indicator",24),T(1,"async"));a&2&&(a=N(4),D("accessLevel",V(1,1,a.accessLevel$)))},Dzb=function(a,b){if(a&1){var c=u();K(0);E(1,"b-comment-box",3,4);M("onHotkey",function(){v(c);var k=Q(2);return x(Czb(k,"editpage-hotkey"))})("onChange",function(){v(c);var k=N(3);return x(k.saveCommentDraft())})("onFocusEvent",function(){v(c);
var k=N(3);return x(k.wasFocused=!0)})("onSubmit",function(k){v(c);var q=N(3);return x(q.submitCommentBox(k))})("onRestrict",function(){v(c);var k=N(3);return x(k.showNewContentJudgementDialog())})("onPlusOneTextEntered",function(k){v(c);var q=N(3);q.commentButtonStyle=q.isPlusOneCalloutEnabled()&&k?"hairline":"fill";return x()});T(3,"async");T(4,"async");T(5,"async");T(6,"async");C(7,szb,4,1,"p",5)(8,tzb,2,0,"div",6);T(9,"async");E(10,"div",7)(11,"b-button",8);M("onAction",function(k){v(c);var q=
N(3);return x(q.submitCommentBox(k))})("click",function(k){v(c);var q=N(3);return x(q.submitCommentBox(k))});T(12,"async");R(13);G();E(14,"div",9);C(15,vzb,5,6,"span",0);T(16,"async");T(17,"async");C(18,xzb,3,3,"span",10);T(19,"async");T(20,"async");C(21,yzb,1,1,"b-markdown-toggle",11);T(22,"async");C(23,zzb,2,5,"b-access-limits-chip",12);T(24,"async");G();C(25,Azb,1,1,"b-issue-visibility-chip",13)(26,Bzb,2,3);G()();L()}if(a&2){a=b.ngIf;b=N(2).ngIf;var d=N(),e,f,h;y();D("hotkey",d.HOTKEYS.FOCUS_COMMENT_BOX)("supportsPreview",
!0)("issueId",b.issueId)("comment",a)("componentId",b.componentId)("placeholder",null!==(e=V(3,22,d.commentPlaceholderText$))&&void 0!==e?e:void 0)("judgementForNewContent",null!==(f=V(4,24,d.judgementForNewContent$))&&void 0!==f?f:void 0)("audience",null!==(h=V(5,26,d.audience$))&&void 0!==h?h:void 0)("disabled",!1===V(6,28,d.commentBoxEnabled$))("isPlusOneCalloutEnabled",d.isPlusOneCalloutEnabled())("warn",d.bannedWordsChecker.showWarning());y(6);D("ngIf",d.bannedWordsChecker.showWarning());y();
D("ngIf",V(9,30,d.showRecaptcha$));y(3);D("format",d.commentButtonStyle)("disabled",!1===V(12,32,d.commentButtonEnabled$))("color",d.bannedWordsChecker.showWarning()?"warn":"primary");y(2);S(" ",d.bannedWordsChecker.showWarning()?"Comment Anyway":"Comment"," ");y(2);D("ngIf",!V(16,34,d.isCurrentUserCCd$)&&V(17,36,d.hasAclToEdit$));y(3);D("ngIf",V(19,38,d.isCurrentUserCCd$)||!V(20,40,d.hasAclToEdit$));y(3);D("ngIf",V(22,42,d.hasAclToComment$));y(2);D("ngIf",V(24,44,d.isAccessLimited$));y(2);Cf(25,
d.enableNewVisibilityChips?25:26)}},Fzb=function(a){a&1&&(K(0),E(1,"h3",1),R(2,"Add comment"),G(),E(3,"div",2),T(4,"async"),C(5,Dzb,27,46,"ng-container",0),T(6,"async"),G(),L());a&2&&(a=N(2),y(3),D("ngClass",gg(6,Ezb,V(4,2,a.empty$),!a.wasFocused)),y(2),D("ngIf",V(6,4,a.comment$)))},Gzb=function(a,b){a&1&&(K(0),C(1,Fzb,7,9,"ng-container",0),L());a&2&&(a=b.ngIf,y(),D("ngIf",!a.isDeleted))},Hzb=function(a,b){a&1&&I(0,"b-issue-person-card",7);a&2&&D("email",b.ngIf)},Izb=function(a,b){a&1&&(K(0),E(1,
"span",4),R(2),T(3,"shortenEmail"),G(),E(4,"onedev-hovercard",null,5),C(6,Hzb,1,1,"b-issue-person-card",6),G(),L());if(a&2){a=b.ngIf;var c=Q(5);b=N(2);y();D("onedevHovercardTrigger",c);y();S(" ",ig(3,3,b.userToString(a),30)," ");y(4);D("ngIf",a.emailAddress)}},Jzb=function(a,b){if(a&1){var c=u();E(0,"a",8);M("click",function(d){var e=v(c).ngIf,f=N(2);return x(f.scrollCommentIntoView(d,e))});R(1);G()}a&2&&(a=b.ngIf,b=N(2),rf("aria-label","Comment number ",a,""),D("routerLinkObj",b.getCommentNumberLink(a)),
y(),S(" #",a,""))},Kzb=function(a){a&1&&(K(0),R(1,","),L())},Lzb=function(a,b){a&1&&(E(0,"span",1),C(1,Izb,7,6,"ng-container",2),E(2,"span"),C(3,Jzb,2,3,"a",3)(4,Kzb,2,0,"ng-container",2),G()());a&2&&(a=b.$implicit,b=b.last,y(),D("ngIf",a.userPerformingActionUser),y(2),D("ngIf",a.commentNumber),y(),D("ngIf",!b))},Mzb=function(a,b){a&1&&(E(0,"div",4)(1,"a",5),T(2,"removePngExtension"),I(3,"b-secure-image-widget",6),G(),I(4,"comments-info",7),G());a&2&&(a=b.$implicit,b=N(3),y(),Of("href",V(2,5,a.src),
Pd),y(2),D("showByDefault",!0)("src",a.src),y(),D("issueId",b.issueId)("comments",a.comments))},Nzb=function(a){if(a&1){var b=u();E(0,"button",10);M("click",function(){v(b);var c=N(2).ngIf,d=N(2);c=c.length;var e=om(d.maxImagesInOneRow$);e&&d.lastRenderedImageIndex$.next((Math.floor(c/e)+4)*e);return x()});R(1," Load more ");G()}},Ozb=function(a){if(a&1){var b=u();E(0,"button",11);M("click",function(){v(b);var c=N(4);return x(c.goToResourcesTab())});R(1," See all screenshots ");G()}},Pzb=function(a){a&
1&&(K(0),C(1,Nzb,2,0,"button",8)(2,Ozb,2,0,"ng-template",null,9,jg),L());if(a&2){var b=Q(3);a=N(3);y();D("ngIf",a.paginate)("ngIfElse",b)}},Qzb=function(a,b){a&1&&(K(0),E(1,"div",2),C(2,Mzb,5,7,"div",3),T(3,"async"),G(),C(4,Pzb,4,2,"ng-container",1),L());if(a&2){a=b.ngIf;b=N().ngIf;var c=N();y();yf("show-all-images",c.paginate);y();D("ngForOf",V(3,4,c.imagesToRender$));y(2);D("ngIf",b.length!==a.length)}},Rzb=function(a){a&1&&(K(0),C(1,Qzb,5,6,"ng-container",1),T(2,"async"),L());a&2&&(a=N(),y(),D("ngIf",
V(2,1,a.imagesToRender$)))},Szb=function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0,e=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=l(f);f=h.next().value;h=h.next().value;return{src:f,comments:An(h)}})},Tzb=function(a){a&1&&(E(0,"span",5),R(1),T(2,"reverse"),G());a&2&&(a=N(),y(),$f(V(2,1,a.leftText)))},Uzb=function(a){a&1&&(K(0),E(1,"b-external-hyperlink-widget",6),R(2),G(),L());a&2&&(a=
N(),y(),D("href",a.redirectedHref)("originalHref",a.originalHref),y(),$f(a.linkText))},Vzb=function(a){a&1&&(E(0,"b-issue-reference-widget",9),R(1),G());a&2&&(a=N(2),D("href",a.redirectedHref)("issueId",a.issueId),y(),$f(a.linkText))},Wzb=function(a){a&1&&(E(0,"a",10),R(1),G());a&2&&(a=N(2),Of("href",a.redirectedHref,Pd),y(),$f(a.linkText))},Xzb=function(a){a&1&&C(0,Vzb,2,3,"b-issue-reference-widget",7)(1,Wzb,2,2,"ng-template",null,8,jg);if(a&2){var b=Q(2);a=N();D("ngIf",a.issueId)("ngIfElse",b)}},
Yzb=function(a){a&1&&(E(0,"span",11),R(1),G());a&2&&(a=N(),y(),$f(a.rightText))},Zzb=function(a){var b=document.createElement("div");a&&(1===b.nodeType&&Tra(b),b.innerHTML=hh(a));return b},$zb=function(a){a&1&&(K(0),E(1,"td"),I(2,"b-issue-priority-display",2),G(),E(3,"td",3)(4,"span",4),R(5),G(),I(6,"mentioned-link-with-context",5),G(),E(7,"td"),I(8,"comments-info",6),T(9,"toComments"),G(),L());if(a&2){a=N().$implicit;var b=N(3),c;y(2);D("matTooltip",a.hasViewAccess?"":"Access is denied to this issue")("issuePriority",
a.priority);y(2);D("matTooltip",a.hasViewAccess?"":"Access is denied to this issue");y();S(" ",null!==(c=a.title)&&void 0!==c?c:"--"," ");y();D("sourceComment",a.sourceComments[0].issueEvent)("relatedLink",a.relatedLinks[0]);y(2);D("issueId",b.issueId)("comments",V(9,8,a.sourceComments))}},aAb=function(a,b){a&1&&(E(0,"tr"),C(1,$zb,10,10,"ng-container",0),G());a&2&&(a=b.$implicit,y(),D("ngIf",a.sourceComments&&a.relatedLinks))},bAb=function(a){if(a&1){var b=u();E(0,"button",9);M("click",function(){v(b);
var c=N(4);c.lastRenderedMentionedIssueIndex$.next(c.lastRenderedMentionedIssueIndex$.value+100);return x()});R(1," Load more ");G()}},cAb=function(a){if(a&1){var b=u();E(0,"button",10);M("click",function(){v(b);var c=N(4);return x(c.goToResourcesTab())});R(1," See all mentioned issues ");G()}},dAb=function(a){a&1&&(E(0,"div"),C(1,bAb,2,0,"button",7)(2,cAb,2,0,"ng-template",null,8,jg),G());if(a&2){var b=Q(3);a=N(3);y();D("ngIf",a.paginate)("ngIfElse",b)}},eAb=function(a,b){a&1&&(K(0),E(1,"section")(2,
"table"),C(3,aAb,2,1,"tr",1),G(),C(4,dAb,4,2,"div",0),G(),L());a&2&&(a=b.ngIf,b=N().ngIf,y(3),D("ngForOf",b),y(),D("ngIf",a.length!==b.length))},fAb=function(a){a&1&&(K(0),C(1,eAb,5,2,"ng-container",0),T(2,"async"),L());a&2&&(a=N(),y(),D("ngIf",V(2,1,a.allMentionedIssues$)))},gAb=function(a,b){a&1&&(E(0,"div",2),I(1,"mentioned-link-with-context",3)(2,"comments-info",4),T(3,"toComments"),G());a&2&&(a=b.$implicit,b=N(3),y(),D("sourceComment",a[0].comment)("relatedLink",a[0]),y(),D("issueId",b.issueId)("comments",
V(3,4,a)))},hAb=function(a){if(a&1){var b=u();E(0,"button",7);M("click",function(){v(b);var c=N(4);c.lastRenderedRelatedLinkIndex$.next(c.lastRenderedRelatedLinkIndex$.value+100);return x()});R(1," Load more ");G()}},iAb=function(a){if(a&1){var b=u();E(0,"button",8);M("click",function(){v(b);var c=N(4);return x(c.goToResourcesTab())});R(1," See all related links ");G()}},jAb=function(a){a&1&&(E(0,"div"),C(1,hAb,2,0,"button",5)(2,iAb,2,0,"ng-template",null,6,jg),G());if(a&2){var b=Q(3);a=N(3);y();
D("ngIf",a.paginate)("ngIfElse",b)}},kAb=function(a,b){a&1&&(K(0),C(1,gAb,4,6,"div",1)(2,jAb,4,2,"div",0),L());if(a&2){a=b.ngIf;b=N().ngIf;var c=N();y();D("ngForOf",a)("ngForTrackBy",c.trackByHref);y();D("ngIf",b.length!==a.length)}},lAb=function(a){a&1&&(K(0),C(1,kAb,3,3,"ng-container",0),T(2,"async"),L());a&2&&(a=N(),y(),D("ngIf",V(2,1,a.linkGroupsToRender$)))},nAb=function(a,b){var c=a.filter(function(d){return tGa(d[0])});a=a.filter(function(d){return!tGa(d[0])});return mAb([].concat(r(c),r(a)).slice(0,
b),"asc")},oAb=function(a){a&1&&(E(0,"div"),I(1,"b-spinner"),G())},qAb=function(a){a&1&&(K(0),I(1,"mat-icon",10),Gf(2,11),L());if(a&2){a=N().$implicit;N();var b=Q(10);y(2);D("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(2,pAb,a))}},rAb=function(){},sAb=function(a){a&1&&C(0,rAb,0,0,"ng-template")},tAb=function(a){a&1&&(K(0),C(1,sAb,1,0,null,12),L());a&2&&(a=N(2).$implicit,y(),D("ngTemplateOutlet",a.tabIconTemplate))},uAb=function(a){a&1&&(C(0,tAb,2,1,"ng-container",3),Gf(1,11));if(a&2){a=N().$implicit;
N();var b=Q(10);D("ngIf",a.tabIconTemplate);y();D("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(3,pAb,a))}},vAb=function(a,b){if(a&1){var c=u();E(0,"button",7);M("click",function(){var e=v(c).$implicit,f=N();e=e.key;f.internalExpandedTabs.has(e)?f.internalExpandedTabs.delete(e):f.internalExpandedTabs.add(e);f.expandedTabsChanged.emit(new Set(f.internalExpandedTabs));return x()});T(1,"async");T(2,"async");T(3,"async");C(4,qAb,3,4,"ng-container",8);T(5,"async");C(6,uAb,2,5,"ng-template",null,9,
jg);G()}if(a&2){a=b.$implicit;var d=Q(7);b=N();yf("expanded",!!V(1,8,Tp(b.internalExpandedTabs,a.key)));rf("aria-controls","expandable-tabs-",a.key,"-content");pf("aria-label",a.ariaLabel)("aria-expanded",!!V(2,10,Tp(b.internalExpandedTabs,a.key)))("aria-selected",!!V(3,12,Tp(b.internalExpandedTabs,a.key)));y(4);D("ngIf",V(5,14,Tp(b.internalExpandedTabs,a.key)))("ngIfElse",d)}},xAb=function(a,b){if(a&1){var c=u();K(0);E(1,"button",13);M("click",function(){v(c);var d=N();return x(wAb(d))});R(2);G();
L()}a&2&&(a=b.ngIf,b=N(),y(),yf("expandable-tabs-hide-all",a.allTabsExpanded)("expandable-tabs-show-all",!a.allTabsExpanded),pf("aria-label",(a.allTabsExpanded?"Hide all":"Show all")+" "+b.ariaLabel),y(),S(" ",a.allTabsExpanded?"Hide all":"Show all"," "))},yAb=function(){},zAb=function(a){a&1&&C(0,yAb,0,0,"ng-template")},AAb=function(a){a&1&&(K(0),C(1,zAb,1,0,null,12),L());a&2&&(a=N(3).$implicit,y(),D("ngTemplateOutlet",a.tabIconTemplate))},BAb=function(a){a&1&&(E(0,"h4"),C(1,AAb,2,1,"ng-container",
3),Gf(2,11),G());if(a&2){a=N(2).$implicit;N();var b=Q(10);y();D("ngIf",a.tabIconTemplate);y();D("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(3,pAb,a))}},CAb=function(a){a&1&&I(0,"span",17)},DAb=function(){},EAb=function(a){a&1&&C(0,DAb,0,0,"ng-template")},FAb=function(a){a&1&&(K(0),C(1,EAb,1,0,null,12),L());a&2&&(a=N(2).$implicit,y(),D("ngTemplateOutlet",a.tabContentTemplate))},HAb=function(a){a&1&&(E(0,"div",15),C(1,BAb,3,5,"h4",8),T(2,"async"),C(3,CAb,1,0,"ng-template",null,16,jg)(5,FAb,2,
1,"ng-container",3),G());if(a&2){var b=Q(4);a=N().$implicit;var c=N(),d;Nf("id","expandable-tabs-",a.key,"-content");y();D("ngIf",1<(null!==(d=V(2,4,c.visibleExpandedTabs$))&&void 0!==d?d:eg(6,GAb)).length)("ngIfElse",b);y(4);D("ngIf",a.tabContentTemplate)}},IAb=function(a,b){a&1&&(K(0),C(1,HAb,6,7,"div",14),T(2,"async"),L());a&2&&(a=b.$implicit,b=N(),y(),D("ngIf",V(2,1,Tp(b.internalExpandedTabs,a.key))))},JAb=function(){},KAb=function(a){a&1&&C(0,JAb,0,0,"ng-template")},LAb=function(a){a&1&&(K(0),
C(1,KAb,1,0,null,12),L());a&2&&(a=N().tab,y(),D("ngTemplateOutlet",a.tabHeaderTemplate))},MAb=function(a){a&1&&R(0);a&2&&(a=N().tab,$f(a.key))},NAb=function(a,b){a&1&&C(0,LAb,2,1,"ng-container",8)(1,MAb,1,1,"ng-template",null,18,jg);if(a&2){a=b.tab;var c=Q(2);D("ngIf",a.tabHeaderTemplate)("ngIfElse",c)}},OAb=function(a){a&1&&I(0,"mat-icon",10)},PAb=function(a){a&1&&(R(0),T(1,"async"));if(a&2){a=N(2);var b;S("Screenshots (",null!==(b=V(1,1,a.distinctImageLinksCount$))&&void 0!==b?b:0,")")}},SAb=function(a,
b){if(a&1){var c=u();E(0,"inline-images-summary",12);M("click",function(){v(c);var e=N(3);QAb(e.issueSummaryTracking,e.issueId,e.TabKeys.IMAGES);return x()});T(1,"async");G()}if(a&2){a=b.ngIf;b=N(3);var d;D("issueId",a)("imageLinks",null!==(d=V(1,2,b.imageLinks$))&&void 0!==d?d:eg(4,RAb))}},TAb=function(a){a&1&&(C(0,SAb,2,5,"inline-images-summary",11),T(1,"async"));a&2&&(a=N(2),D("ngIf",V(1,1,a.issueId$)))},UAb=function(a){a&1&&I(0,"mat-icon",13)},VAb=function(a){a&1&&(R(0),T(1,"async"));if(a&2){a=
N(2);var b;S("Mentioned issues (",null!==(b=V(1,1,a.distinctIssuesCount$))&&void 0!==b?b:0,")")}},WAb=function(a,b){if(a&1){var c=u();E(0,"b-mentioned-issues",15);M("click",function(){v(c);var d=N(3);QAb(d.issueSummaryTracking,d.issueId,d.TabKeys.MENTIONED_ISSUES);return x()});G()}a&2&&(a=b.ngIf,b=N(3),D("issueReferences",a)("currentIssueId",b.issueId))},XAb=function(a){a&1&&(C(0,WAb,1,2,"b-mentioned-issues",14),T(1,"async"));a&2&&(a=N(2),D("ngIf",V(1,1,a.issues$)))},YAb=function(a){a&1&&I(0,"mat-icon",
16)},ZAb=function(a){a&1&&(R(0),T(1,"async"));if(a&2){a=N(2);var b;S("Links (",null!==(b=V(1,1,a.distinctOtherLinksCount$))&&void 0!==b?b:0,")")}},$Ab=function(a){if(a&1){var b=u();E(0,"related-links-widget",17);M("click",function(){v(b);var d=N(2);QAb(d.issueSummaryTracking,d.issueId,d.TabKeys.LINKS);return x()});T(1,"async");G()}if(a&2){a=N(2);var c;D("links",null!==(c=V(1,2,a.otherLinks$))&&void 0!==c?c:eg(4,RAb))("issueId",a.issueId)}},aBb=function(a){a&1&&I(0,"mat-icon",18)},bBb=function(a){a&
1&&R(0,"Suggested similar issues")},cBb=function(a){if(a&1){var b=u();E(0,"suggested-similar-issues",19);M("click",function(){v(b);var c=N(2);QAb(c.issueSummaryTracking,c.issueId,c.TabKeys.SIMILAR_ISSUES);return x()});G()}a&2&&(a=N(2),D("issueId",a.issueId))},eBb=function(a,b){if(a&1){var c=u();E(0,"expandable-tabs",2);M("expandedTabsChanged",function(d){var e=v(c).ngIf,f=N();return x(f.onTabExpanded$.emit({expandedTabKeys:d,allTabKeys:e}))})("contentShownChanged",function(d){v(c);var e=N(),f=e.issueSummaryTracking;
e=e.issueId;for(var h=l(dBb),k=h.next();!k.done;k=h.next())k=k.value,d.has(k)?(Zs(f.issueInteractionsTracking,e,k+"-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete(k+"-content-not-shown")):(Zs(f.issueInteractionsTracking,e,k+"-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete(k+"-content-shown"));0<d.size?(f.recordImpressionOnce(),Zs(f.issueInteractionsTracking,e,"SW-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-not-shown")):
(Zs(f.issueInteractionsTracking,e,"SW-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-shown"));return x()});E(1,"expandable-tab",3);C(2,OAb,1,0,"ng-template",4)(3,PAb,2,3,"ng-template",5)(4,TAb,2,3,"ng-template",6);G();E(5,"expandable-tab",7);C(6,UAb,1,0,"ng-template",4)(7,VAb,2,3,"ng-template",5)(8,XAb,2,3,"ng-template",6);G();E(9,"expandable-tab",8);C(10,YAb,1,0,"ng-template",4)(11,ZAb,2,3,"ng-template",5)(12,$Ab,2,5,"ng-template",6);G();E(13,"expandable-tab",
9);C(14,aBb,1,0,"ng-template",4)(15,bBb,1,0,"ng-template",5)(16,cBb,1,1,"ng-template",6);G()()}a&2&&(a=b.ngIf,b=N(),D("tabKeys",a)("expandedTabs",b.initiallyExpandedTabs),y(),D("key",b.TabKeys.IMAGES),y(4),D("key",b.TabKeys.MENTIONED_ISSUES),y(4),D("key",b.TabKeys.LINKS),y(4),D("key",b.TabKeys.SIMILAR_ISSUES))},fBb=function(a,b){a&1&&(E(0,"li",6)(1,"div",7),I(2,"b-user-image",8),G(),E(3,"div",9),I(4,"b-user-display",10)(5,"b-formatted-date-time",11),E(6,"p",12),R(7," Formatting: "),E(8,"code",13),
R(9),G()(),I(10,"br"),E(11,"span",14)(12,"b-person-hovercard",15),T(13,"omitObfuscatedEmail"),R(14),T(15,"appendDomain"),G()(),R(16),G(),E(17,"pre"),R(18),G()());a&2&&(a=b.$implicit,b=b.index+1,y(2),D("email",null==a.author?null:a.author.emailAddress),y(2),D("model",a.author),y(),D("timestamp",a.updateTime),y(4),S(" ",a.formattingMode," "),y(3),D("email",V(13,8,null==a.author?null:a.author.emailAddress)),y(2),S(" <",V(15,10,null==a.author?null:a.author.emailAddress),"> "),y(2),S(" #",b," "),y(2),
$f(a.updateText))},gBb=function(a){if(a&1){var b=u();K(0);E(1,"header",3)(2,"h4",4);R(3,"Status Update");G();E(4,"p",5);R(5,"No update yet.");G();E(6,"button",6);M("click",function(){v(b);var c=N(2);return x(c.editStatusUpdate())});R(7," Edit ");G()();L()}},iBb=function(a){if(a&1){var b=u();E(0,"button",15);M("click",function(){v(b);var c=N(3);return x(hBb(c))});R(1," Mark as fresh ");G()}},jBb=function(a){a&1&&I(0,"mat-icon",21)},kBb=function(a,b){a&1&&(K(0),C(1,jBb,1,0,"mat-icon",16),T(2,"async"),
R(3," Updated by "),E(4,"span",17),R(5),T(6,"shortenEmail"),G(),I(7,"b-formatted-date-time",18),E(8,"onedev-hovercard",null,19),I(10,"b-issue-person-card",20),G(),L());if(a&2){a=b.ngIf;var c=Q(9);b=N(3);var d,e;y();D("ngIf",V(2,5,b.freshnessIndicator$)===b.Freshness.FRESH);y(3);D("onedevHovercardTrigger",c);y();S(" ",V(6,7,null!==(d=null==a.author?null:a.author.emailAddress)&&void 0!==d?d:"")," ");y(2);D("timestamp",a.updateTime);y(3);D("email",null!==(e=null==a.author?null:a.author.emailAddress)&&
void 0!==e?e:"")}},lBb=function(a,b){a&1&&I(0,"b-actions-menu",22);a&2&&(a=b.ngIf,D("buttonLabel","Status Update actions")("menuItems",a))},mBb=function(a,b){a&1&&(I(0,"b-note-container",27),T(1,"async"),T(2,"async"));if(a&2){a=b.ngIf;b=N().ngIf;var c=N(3),d;D("issueId",b.issueId)("issueAccessLevel",V(1,4,c.accessLevel$))("note",a)("formattingMode",null!==(d=V(2,6,c.formattingMode$))&&void 0!==d?d:c.FormattingMode.PLAIN)}},nBb=function(a){if(a&1){var b=u();E(0,"button",28);M("click",function(){v(b);
var c=N(4);return x(c.isCollapsed=!1)});R(1," Show More ");G()}},oBb=function(a){a&1&&(K(0),E(1,"div",23)(2,"div",null,24),C(4,mBb,3,8,"b-note-container",25),T(5,"async"),G(),C(6,nBb,2,0,"button",26),G(),L());a&2&&(a=N(3),y(2),yf("collapsed",a.isCollapsed),y(2),D("ngIf",V(5,4,a.statusUpdateAsNote$)),y(2),D("ngIf",a.isCollapsed))},pBb=function(a){if(a&1){var b=u();K(0);E(1,"div",7)(2,"header",8)(3,"div",9)(4,"h4",10);R(5,"Status Update");G();E(6,"button",11);M("click",function(){v(b);var c=N(2);return x(c.editStatusUpdate())});
R(7," Edit ");G();C(8,iBb,2,0,"button",12);T(9,"async");G();E(10,"div",13);C(11,kBb,11,9,"ng-container",2);T(12,"async");C(13,lBb,1,2,"b-actions-menu",14);T(14,"async");G()();C(15,oBb,7,6,"ng-container",2);T(16,"async");G();L()}a&2&&(a=N(2),y(8),D("ngIf",V(9,4,a.freshnessIndicator$)===a.Freshness.STALE),y(3),D("ngIf",V(12,6,a.statusUpdate$)),y(2),D("ngIf",V(14,8,a.menuItems$)),y(2),D("ngIf",V(16,10,a.statusUpdate$)))},rBb=function(a,b){a&1&&(E(0,"div"),T(1,"async"),I(2,"mat-icon",1),C(3,gBb,8,0,"ng-container",
2)(4,pBb,17,12,"ng-container",2),G());a&2&&(a=b.ngIf,b=N(),Bf("carded margin-s-sides margin-s-bottom bg-main highlighted-left flex-kids-x ",V(1,9,b.semanticClass$),""),yf("display-none",fg(11,qBb,b.UiState.LOADING).includes(a))("short-height",b.UiState.EMPTY===a),y(3),D("ngIf",a===b.UiState.EMPTY),y(),D("ngIf",a===b.UiState.NORMAL))},sBb=function(a){switch(a){case 1:return"noUpdate";case 2:return"hasUpdate";case 0:return"";default:return""}},tBb=function(a){a=a.getReadonlyResponse();return{outputs:gi(a,
$s,1,hi()).map(function(b){return b.getContent()}),outputBlocked:Xi(a,2)}},wBb=function(a){return uBb(vBb(),a.paths.map(function(b){var c=new at;return Lh(c,1,b)}))},xBb=function(a){return{content:new Map(a.getResponsesList().map(function(b){return[Zi(b.getReadonlySourceFileId(),1),Dua(b.getContent())]})),revisionNumber:new Map(a.getResponsesList().map(function(b){return[Zi(b.getReadonlySourceFileId(),1),b.getReadonlySourceFileId().getRevisionNumber()]}))}},yBb=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:""}},zBb=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}},ABb=function(a){var b=new bt,
c=a.sourceFile,d=new ct,e=d.setSourceFileId;var f=c.sourceFileId;var h=new at;f=Lh(h,1,f.depotPath).setRevisionNumber(f.revisionNumber);d=e.call(d,f);c.fileOperation&&tj(d,2,zBb(c.fileOperation));return li(b,ct,1,d).setContent(a.content)},BBb=function(a){return a.filter(function(b){return 0!==b.indexOf("+")}).map(function(b){return b.substring(1)})},CBb=function(a){return a.filter(function(b){return 0!==b.indexOf("-")}).map(function(b){return b.substring(1)})},DBb=function(a,b,c){return BBb(c).every(function(d,
e){return d.trim()===a[b+e].trim()})},EBb=function(a,b,c){for(var d=[],e=BBb(b).length,f=a.length-e;c<=f;c++)DBb(a,c,b)&&d.push(c);if(0===d.length)throw Error("lf");a=d[0];return{startRange:a,endRange:a+e}},FBb=function(a,b){if(0===b.length)return"";a=a.split("\n");var c=b.split(/\r?\n?@@\r?\n/).filter(function(k){return 0<k.length});b=[];var d=0,e=0,f=0;c=l(c);for(e=c.next();!e.done;e=c.next()){var h=e.value;d=EBb(a,h.split("\n"),d);e=d.startRange;d=f=d.endRange;h=CBb(h.split("\n"));b.push([e,f,
h])}d=e=c=0;b=l(b);for(e=b.next();!e.done;e=b.next())e=l(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(r(e))),c-=f,e=e.length-c,d+=e;return a.join("\n")},GBb=function(a){a&1&&I(0,"mat-icon",15)},HBb=function(a){a&1&&I(0,"mat-icon",16)},IBb=function(a){a&1&&I(0,"mat-icon",17)},JBb=function(a){if(a&1){var b=u();K(0);E(1,"div",21)(2,"label");R(3,"File path");G()();E(4,"div",21)(5,"input",22);M("keyup",function(c){v(b);var d=N(2).$implicit;N();"text-input"===
d.type&&(d.value=c.target.value);return x()});G()();E(6,"div",21)(7,"button",23);M("click",function(){v(b);var c=N(2).$implicit;N();if("text-input"===c.type){var d;null==(d=c.callback)||d.call(c)}return x()});R(8," Continue ");G()();L()}a&2&&(a=N(2).$implicit,y(5),D("disabled","complete"==a.state),y(2),D("disabled","complete"==a.state))},KBb=function(a,b){a&1&&(E(0,"div",28),R(1),G());a&2&&(a=b.$implicit,yf("remove",0==a.indexOf("-"))("add",0==a.indexOf("+")),y(),S(" ","-"==a[0]||"+"==a[0]?a.substr(1):
a," "))},LBb=function(a,b){a&1&&(E(0,"div",25)(1,"div",26),C(2,KBb,2,5,"div",27),G()());a&2&&(a=b.$implicit,y(2),D("ngForOf",a.lines))},MBb=function(a){a&1&&(K(0),R(1),C(2,LBb,3,1,"div",24),L());if(a&2){a=N(2).$implicit;var b=N();y();S(" ",a.description," ");y();D("ngForOf",b.blocks(a))}},NBb=function(a){if(a&1){var b=u();K(0);E(1,"div",29);R(2);G();E(3,"button",30);M("click",function(){v(b);var c=N(2).$implicit,d=N();return x(d.patch(c))});R(4," Patch changelist into new workspace ");G();L()}a&2&&
(a=N(2).$implicit,y(2),S(" ",a.description," "),y(),D("disabled","in-progress"!==a.state))},OBb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=N(2).$implicit,y(),S(" ",a.description," "))},PBb=function(a){a&1&&(E(0,"section",18),C(1,JBb,9,2,"ng-container",19)(2,MBb,3,2,"ng-container",19)(3,NBb,5,2,"ng-container",19)(4,OBb,2,1,"ng-container",20),R(5),G());a&2&&(a=N().$implicit,zf(a.type),D("ngSwitch",a.type),y(),D("ngSwitchCase","text-input"),y(),D("ngSwitchCase","diff-preview"),y(),D("ngSwitchCase","changelist-create"),
y(2),S(" ",a.error," "))},QBb=function(a,b){a&1&&(E(0,"div",9)(1,"header")(2,"div",10),C(3,GBb,1,0,"mat-icon",11)(4,HBb,1,0,"mat-icon",12)(5,IBb,1,0,"mat-icon",13),G(),E(6,"span"),R(7),G()(),C(8,PBb,6,7,"section",14),G());a&2&&(a=b.$implicit,y(2),D("ngSwitch",a.state),y(),D("ngSwitchCase","error"),y(),D("ngSwitchCase","complete"),y(3),$f(a.title),y(),D("ngIf","complete"!==a.type))},RBb=function(a){a=encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,function(b,c){return String.fromCharCode(Number("0x"+
c))});return btoa(a)},SBb=function(a){if(a&1){var b=u();E(0,"div",2);I(1,"mat-icon",3);E(2,"div",4);Gf(3,5);E(4,"div",6)(5,"button",7);M("click",function(){v(b);var d=N();return x(d.openDialog())});R(6," Suggest a fix for me ");G()()()()}if(a&2){N();var c=Q(3);y(3);D("ngTemplateOutlet",c)}},TBb=function(a){a&1&&(E(0,"div"),R(1," AI-generated code changes may inaccurate or offensive information that doesn't represent Google's views. Please review all suggested changes. "),G())},UBb=function(a){a&1&&
(E(0,"h4",8),R(1," AI-generated code change "),E(2,"xap-bubble",9)(3,"xap-icon-trigger"),I(4,"mat-icon",10),G(),C(5,TBb,2,0,"ng-template",null,11,jg),G(),E(7,"a",12),I(8,"mat-icon",13),G()());if(a&2){var b=Q(6);y(2);D("panelTemplate",b)}},WBb=function(a,b){a&1&&Gf(0,11);if(a&2){a=b.ngIf;N(2);var c=Q(5);D("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(2,VBb,a))}},XBb=function(a){a&1&&(E(0,"div",6),I(1,"mat-icon",7),E(2,"div",8),Gf(3,9),C(4,WBb,1,4,"ng-container",10),T(5,"async"),G()());if(a&2){a=
N();var b=Q(3);y(3);D("ngTemplateOutlet",b);y();D("ngIf",V(5,2,a.stage$))}},YBb=function(a){a&1&&(E(0,"div"),R(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. "),G())},ZBb=function(a){a&1&&(E(0,"h4",12),R(1," AI-generated summary "),E(2,"xap-bubble",13)(3,"xap-icon-trigger"),I(4,"mat-icon",14),G(),C(5,YBb,2,0,"ng-template",null,15,
jg),G()());if(a&2){var b=Q(6);y(2);D("panelTemplate",b)}},aCb=function(a){if(a&1){var b=u();E(0,"button",21);M("click",function(){v(b);var c=N(3);return x($Bb(c))});R(1," Summarize for me ");G()}},bCb=function(a){a&1&&(E(0,"div",22)(1,"button",23),R(2," Summarize for me "),G()());a&2&&(a=N(3),D("matTooltip",a.TOO_LITTLE_TOOLTIP_TEXT),y(),D("disabled",!0))},dCb=function(a){if(a&1){var b=u();E(0,"button",24);M("click",function(){v(b);var c=N(3);return x(cCb(c))});R(1," Experiment with prompt ");G()}},
eCb=function(a){a&1&&(K(0),E(1,"div",17),C(2,aCb,2,0,"button",18),T(3,"async"),C(4,bCb,3,2,"ng-template",null,19,jg)(6,dCb,2,0,"button",20),G(),L());if(a&2){var b=Q(5);a=N(2);y(2);D("ngIf",V(3,3,a.isSummarizable$))("ngIfElse",b);y(4);D("ngIf",a.enableLlmDogfood)}},gCb=function(a,b){a&1&&(K(0),Gf(1,11),L());if(a&2){a=b.ngIf;b=N(2).stage;N();var c=Q(11);y();D("ngTemplateOutlet",c)("ngTemplateOutletContext",gg(2,fCb,a,b))}},hCb=function(a){a&1&&(K(0),C(1,gCb,2,5,"ng-container",25),T(2,"async"),L());
if(a&2){a=N(2);var b=Q(7);y();D("ngIf",V(2,2,a.commentThreadSummary$))("ngIfElse",b)}},jCb=function(a,b){a&1&&(K(0),Gf(1,11),L());if(a&2){a=b.ngIf;N(3);var c=Q(9);y();D("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(2,iCb,a))}},kCb=function(a){if(a&1){var b=u();K(0);C(1,jCb,2,4,"ng-container",25);T(2,"async");E(3,"div",17)(4,"button",24);M("click",function(){v(b);var d=N(2);return x(cCb(d))});R(5," Experiment with prompt ");G()();L()}if(a&2){a=N(2);var c=Q(7);y();D("ngIf",V(2,2,a.commentThreadSummary$))("ngIfElse",
c)}},lCb=function(a,b){a&1&&C(0,eCb,7,5,"ng-container",16)(1,hCb,3,4,"ng-container",16)(2,kCb,6,4,"ng-container",16);a&2&&(a=b.stage,b=N(),D("ngIf",a===b.INITIAL),y(),D("ngIf",a===b.SHORT||a===b.LONG),y(),D("ngIf",a===b.CUSTOM))},mCb=function(a){a&1&&I(0,"b-spinner")},nCb=function(a){a&1&&I(0,"b-markdown-format-presenter",28);a&2&&(a=N().summary,D("content",a.formattedSummary))},oCb=function(a){a&1&&(E(0,"div",29),R(1),G());a&2&&(a=N().summary,y(),S(" ",a.summary," "))},pCb=function(a,b){a&1&&C(0,
nCb,1,1,"b-markdown-format-presenter",26)(1,oCb,2,1,"ng-template",null,27,jg);if(a&2){a=b.summary;var c=Q(2);D("ngIf",a.formattedSummary)("ngIfElse",c)}},qCb=function(a){if(a&1){var b=u();E(0,"button",24);M("click",function(){v(b);var c=N(3);return x($Bb(c))});R(1," Tell me more ");G()}},sCb=function(a){if(a&1){var b=u();K(0);Gf(1,11);E(2,"div",17);C(3,qCb,2,0,"button",20);G();E(4,"div",30)(5,"span",31);R(6,"Summary will disappear upon page refresh.");G();E(7,"div",17)(8,"button",32);M("click",function(){v(b);
var f=N().summary,h=N();return x(h.copySummary(f.summary))});I(9,"mat-icon",33);G();E(10,"button",34);M("click",function(){v(b);var f=N(2);return x(f.openFeedbackDialog())});I(11,"mat-icon",35);G();E(12,"button",36);M("click",function(){v(b);var f=N(2);return x(f.trackThumbsUp())});I(13,"mat-icon",37);G();E(14,"button",38);M("click",function(){v(b);var f=N(2);return x(f.trackThumbsDown())});I(15,"mat-icon",39);G()()();L()}if(a&2){var c=N();a=c.summary;c=c.stage;var d=N(),e=Q(9);y();D("ngTemplateOutlet",
e)("ngTemplateOutletContext",fg(7,iCb,a));y(2);D("ngIf",c===d.SHORT);y(9);D("disabled",d.hasReacted);y();D("ngClass",fg(9,rCb,d.thumbsUpClicked));y();D("disabled",d.hasReacted);y();D("ngClass",fg(11,rCb,d.thumbsDownClicked))}},tCb=function(a){if(a&1){var b=u();K(0);E(1,"div",30)(2,"div",40);R(3," Issue can not be summarized for now. Please try again later. ");G();E(4,"div",17)(5,"button",34);M("click",function(){v(b);var c=N(2);return x(c.openFeedbackDialog())});I(6,"mat-icon",35);G()()();L()}},uCb=
function(a){a&1&&(K(0),E(1,"div",30)(2,"div",40),R(3," Summarization could not be performed. Please try again later. "),G()(),L())},vCb=function(a,b){a&1&&C(0,sCb,16,13,"ng-container",16)(1,tCb,7,0,"ng-container",16)(2,uCb,4,0,"ng-container",16);a&2&&(a=b.summary,N(),D("ngIf",0===a.status),y(),D("ngIf",1===a.status),y(),D("ngIf",2===a.status))},wCb=function(a){switch(a){case "initial":return"short";case "short":return"long";case "long":return"long";case "custom":return"custom";default:Nh(a,"nextStage")}},
xCb=function(a){switch(a){case "initial":return 0;case "short":return 0;case "long":return 1;case "custom":return 1;default:Nh(a,"summaryTypeForStage")}},yCb=function(a){a&1&&(K(0),I(1,"llm-summary",5),L());a&2&&(a=N().$implicit,y(),D("issueId",a))},zCb=function(a){a&1&&(K(0),I(1,"llm-suggested-bug-fix",5),L());a&2&&(a=N().$implicit,y(),D("issueId",a))},ACb=function(a,b){a&1&&(K(0),I(1,"issue-description-area",4)(2,"status-update",5),C(3,yCb,2,1,"ng-container",1)(4,zCb,2,1,"ng-container",1),I(5,"b-issue-description",
6),L());a&2&&(a=b.$implicit,b=N(),y(),D("id",a),y(),D("issueId",a),y(),D("ngIf",b.enableLlmSummarization),y(),D("ngIf",b.enableGoosePrompting||b.enableGoosePromptingSupportedIssues),y(),D("id",a))},BCb=function(a,b){a&1&&(I(0,"issue-summary-card",7,8),T(2,"async"));if(a&2){a=b.$implicit;var c=Q(1);yf("hidden",!V(2,3,c.shouldShowSummaryCard$));D("issueId",a)}},CCb=function(a){a&1&&I(0,"issue-event-list",11);a&2&&(a=N().$implicit,D("id",a))},DCb=function(a){a&1&&I(0,"issue-event-list",11);a&2&&(a=N().$implicit,
D("id",a))},ECb=function(a,b){a&1&&(E(0,"div",9),I(1,"b-event-stream-header"),C(2,CCb,1,1,"issue-event-list",10),I(3,"b-post-comment",5),C(4,DCb,1,1,"issue-event-list",10),G());a&2&&(a=b.$implicit,b=N(),yf("recent-first",b.showRecentEventsFirst),y(2),D("ngIf",!b.showRecentEventsFirst),y(),D("issueId",a),y(),D("ngIf",b.showRecentEventsFirst))},FCb=function(a){a&1&&(E(0,"section")(1,"h4"),I(2,"mat-icon",2),R(3),G(),I(4,"inline-images-summary",3)(5,"br")(6,"hr",4),G());if(a&2){a=N(2).ngIf;var b=N().ngIf;
y(3);S(" Screenshots (",a.length,") ");y();D("issueId",b.issueId)("imageLinks",a)("paginate",!0)}},GCb=function(a){a&1&&(K(0),C(1,FCb,7,4,"section",1),L());a&2&&(a=N().ngIf,y(),D("ngIf",a.length))},HCb=function(a){a&1&&(K(0),C(1,GCb,2,1,"ng-container",1),L());a&2&&(a=N(2),y(),D("ngIf",a.isInternalSession))},ICb=function(a){a&1&&(E(0,"section")(1,"h4"),I(2,"mat-icon",5),R(3),G(),I(4,"b-mentioned-issues",6)(5,"br")(6,"hr",4),G());if(a&2){a=N().ngIf;var b=N().ngIf;y(3);S(" Mentioned issues (",a.length,
") ");y();D("issueReferences",a)("currentIssueId",b.issueId)("paginate",!0)}},JCb=function(a,b){a&1&&(K(0),C(1,ICb,7,4,"section",1),L());a&2&&(a=b.ngIf,y(),D("ngIf",a.length))},KCb=function(a){a&1&&(E(0,"section")(1,"h4"),I(2,"mat-icon",7),R(3),G(),I(4,"related-links-widget",8),G());if(a&2){a=N().ngIf;var b=N().ngIf;y(3);S(" Links (",a.length,") ");y();D("links",a)("issueId",b.issueId)("paginate",!0)}},LCb=function(a,b){a&1&&(K(0),C(1,KCb,5,4,"section",1),L());a&2&&(a=b.ngIf,y(),D("ngIf",a.length))},
MCb=function(a){a&1&&(K(0),C(1,HCb,2,1,"ng-container",1),T(2,"async"),C(3,JCb,2,1,"ng-container",1),T(4,"async"),C(5,LCb,2,1,"ng-container",1),T(6,"async"),L());a&2&&(a=N(),y(),D("ngIf",V(2,3,a.imageLinks$)),y(2),D("ngIf",V(4,5,a.issueReferences$)),y(2),D("ngIf",V(6,7,a.otherLinks$)))},NCb=function(a){a&1&&(E(0,"div",4),I(1,"img",5),E(2,"p",6),R(3," This issue has no TODOs "),G(),E(4,"p",7),R(5," Buganizer uses a separate service to look for TODOs in the codebase. It didn't find any. "),E(6,"a",8),
R(7,"Learn more"),G()()());a&2&&(a=N(3),y(),D("src",a.ROBOT_SLEEPING,Pd))},OCb=function(a,b){a&1&&I(0,"b-package-mentions-listing",12);if(a&2){a=b.$implicit;b=N(3).ngIf;var c=N().ngIf,d=N();D("issueId",c)("packageMentionSet",a)("displayPackageName",d.displayPackageNames(b))}},PCb=function(a){if(a&1){var b=u();K(0);C(1,OCb,1,3,"b-package-mentions-listing",9);E(2,"p",10)(3,"a",11);M("click",function(){v(b);var c=N(4);return x(c.trackSqueegeeClick())});R(4,"View in Squeegee");G()();L()}a&2&&(a=N(2).ngIf,
y(),D("ngForOf",a.mentions.packageMentionSet),y(2),D("href",a.link,Pd))},QCb=function(a){a&1&&C(0,PCb,5,2,"ng-container",1);a&2&&(a=N().ngIf,D("ngIf",a.mentions))},RCb=function(a,b){a&1&&(K(0),C(1,NCb,8,1,"div",2)(2,QCb,1,1,"ng-template",null,3,jg),L());if(a&2){a=b.ngIf;var c=Q(3);N(2);y();D("ngIf",!(a.mentions&&0<a.mentions.totalMentions))("ngIfElse",c)}},SCb=function(a){a&1&&(K(0),C(1,RCb,4,2,"ng-container",1),T(2,"async"),L());a&2&&(a=N(),y(),D("ngIf",V(2,1,a.codeMentionsState$)))},TCb=function(a){a&
1&&I(0,"b-spinner",6);a&2&&D("large",!0)},UCb=function(a){a&1&&I(0,"b-hotlist-grid",7);a&2&&(a=N(),D("hotlists",a.hotlists))},VCb=function(a){a&1&&(E(0,"div",9),I(1,"b-spinner"),E(2,"span"),R(3),G()());a&2&&(a=N(),y(3),S(" Searching",a.query?" for "+a.query:"","..."))},WCb=function(a){a&1&&(K(0),R(1," No issues match your search. "),L())},XCb=function(a){a&1&&R(0," Use search box to find issues. ")},ZCb=function(a){a&1&&(E(0,"a",16),R(1," Click to see all open issues"),G());a&2&&D("queryParams",eg(1,
YCb))},$Cb=function(a){a&1&&(E(0,"a",17),R(1,"Learn more about searching"),G())},aDb=function(a){a&1&&(E(0,"div",10),I(1,"img",11),C(2,WCb,2,0,"ng-container",12)(3,XCb,1,0,"ng-template",null,13,jg)(5,ZCb,2,2,"a",14),T(6,"async"),C(7,$Cb,2,0,"ng-template",null,15,jg),G());if(a&2){var b=Q(4),c=Q(8);a=N();var d;D("bFocus",!0);y();D("src",a.SPACE_EMPTY_STATE,Pd);y();D("ngIf",a.query)("ngIfElse",b);y(3);D("ngIf",null!==(d=V(6,6,a.currentTracker.inTracker$))&&void 0!==d?d:!1)("ngIfElse",c)}},cDb=function(a){if(a&
1){var b=u();E(0,"div",18)(1,"b-issues-grid",19);M("init",function(c){v(b);var d=N();return x(d.resultsGrid=c)})("columnsChange",function(c){v(b);var d=N();return x(d.issueColumns=c)})("columnsChange",function(){v(b);N();bDb();return x()})("sortChange",function(c){v(b);var d=N();return x(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=N();return x(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=N();return x(dt(c,c.page,1))})("onPrevPage",function(){v(b);
var c=N();return x(dt(c,c.page,-1))});G()()}a&2&&(a=N(),y(),D("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},dDb=function(a){a&1&&(E(0,"div",9),I(1,"b-spinner"),R(2," Loading recent issues... "),G())},eDb=function(a){a&1&&(E(0,"div",10),R(1," No recent issues found. "),G())},fDb=function(a){if(a&1){var b=u();E(0,"div",11)(1,"b-issues-grid",12);M("init",function(c){v(b);
var d=N();return x(d.resultsGrid=c)})("columnsChange",function(c){v(b);var d=N();return x(d.issueColumns=c)})("sortChange",function(c){v(b);var d=N();return x(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=N();return x(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=N(),d;return x(c.goToPage((null!==(d=c.page)&&void 0!==d?d:0)+1))})("onPrevPage",function(){v(b);var c=N(),d;return x(c.goToPage((null!==(d=c.page)&&void 0!==d?d:0)-1))});G()()}a&2&&(a=N(),
y(),D("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},gDb=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=l(c);c=e.next().value;e.next();d=l(d);e=d.next().value;d.next();return c-e}).map(function(c){c=l(c);c.next();return c.next().value})},hDb=function(a){a&1&&(E(0,"div",6)(1,"h2"),R(2,"Manage SLOs"),G(),E(3,"p",7),
R(4,"You have admin rights for all SLOs listed below."),G()())},iDb=function(a){a&1&&I(0,"b-spinner",8);a&2&&D("large",!0)},jDb=function(a){a&1&&(E(0,"div",11),R(1,"You have no Active SLOs"),G())},kDb=function(a){a&1&&I(0,"b-slo-grid",12);a&2&&(a=N(2),D("slos",a.activeSlos))},lDb=function(a){a&1&&(K(0),C(1,jDb,2,0,"div",9)(2,kDb,1,1,"b-slo-grid",10),L());a&2&&(a=N(),y(),D("ngIf",!a.activeSlos.length),y(),D("ngIf",a.activeSlos.length))},mDb=function(a){a&1&&(E(0,"p",19),R(1," You have no archived SLOs. "),
G())},nDb=function(a){a&1&&I(0,"b-slo-grid",12);a&2&&(a=N(3),D("slos",a.archivedSlos))},oDb=function(a){a&1&&(E(0,"div",17),C(1,mDb,2,0,"p",18)(2,nDb,1,1,"b-slo-grid",10),G());a&2&&(a=N(2),y(),D("ngIf",!a.archivedSlos.length),y(),D("ngIf",a.archivedSlos.length))},pDb=function(a){if(a&1){var b=u();K(0);E(1,"button",13);M("click",function(){v(b);var c=N();c.areArchivedSlosExpanded=!c.areArchivedSlosExpanded;return x()});E(2,"h4",14);I(3,"mat-icon",15);R(4);G()();C(5,oDb,3,2,"div",16);L()}a&2&&(a=N(),
y(3),yf("rotate-180",a.areArchivedSlosExpanded),D("svgIcon","arrow-dropdown"),y(),S(" Archived SLOs (",a.archivedSlos.length,") "),y(),D("ngIf",a.areArchivedSlosExpanded))},qDb=function(a){a&1&&(K(0),E(1,"p"),R(2,"Team inheritance path:"),G(),I(3,"b-team-breadcrumb",1),L());a&2&&(a=N(),y(3),D("teamPath",a.teamPath))},rDb=function(a){a&1&&(K(0),E(1,"p"),R(2,"Component inheritance path:"),G(),I(3,"b-component-breadcrumb",2),L());a&2&&(a=N(),y(3),D("componentPathInfo",a.componentPath))},sDb=function(a){var b=
{};a=l(a.groupMetadata);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.groupEmail]=c;return b},vDb=function(a){return{approximateSize:kj(a,2),groupEmail:Zi(a,1),sizeCategory:tDb[cj(a,3,0)],permissionCategory:uDb[cj(a,5,0)]}},xDb=function(a){a=gi(a,wDb,1,hi());return{groupMetadata:(null!=a?a:[]).map(vDb)}},zDb=function(a,b){var c=[];if(!b||!a)return c;for(var d=l(yDb),e=d.next();!e.done;e=d.next()){e=e.value;var f=ai(e.accessor(b)||[],e.accessor(a)||[]);f.length&&c.push({field:e.field,addedPrincipals:f})}return c},
BDb=function(a,b){if(!a.appenders||!b||Th(b.appenders,a.appenders))return!1;a=l(a.appenders||[]);for(var c=a.next();!c.done;c=a.next())if(c=c.value,ADb.has(c)&&!b.appenders.includes(c))return!0;return!1},CDb=function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.sizeCategory){case "LARGE":case "HUGE":case "ENORMOUS":b.set(c.groupEmail,c)}return b},DDb=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"},EDb=function(a){if(0===a.size)return et;for(var b=1===a.size?jh("p",{},"The following large group is added: "):jh("p",{},"The following large groups are added: "),c=[],d=l(a.keys()),e=d.next();!e.done;e=d.next()){e=e.value;var f=a.get(e).approximateSize;c.push(jh("p",{},ih([jh("b",{},e)," has approximately ",jh("b",{},f)," Googlers."])))}return ih([b].concat(r(c)))},
FDb=function(a){if(0===a.size)return et;var b=1===a.size?jh("p",{},"The following open group is added: "):jh("p",{},"The following open groups are added: "),c=[];a=l(a.keys());for(var d=a.next();!d.done;d=a.next())c.push(jh("p",{},jh("b",{},d.value)));return ih([b].concat(r(c)))},GDb=function(a){var b=new Map;a=l(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},HDb=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},
IDb=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},ft=function(a){var b=a.split(":");a=b[0];return"ALIAS"===a?(b=b[1],{value:b,displayText:ssa(b),principalType:a,detailedUserType:null}):{value:b[1],displayText:b[1],
principalType:a,detailedUserType:null}},JDb=function(a,b){a&1&&I(0,"b-contact-chip",6);a&2&&(a=b.$implicit,b=N(2),D("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},KDb=function(a,b){a&1&&(K(0),E(1,"tr",3)(2,"th",4),R(3),G(),E(4,"td"),C(5,JDb,1,5,"b-contact-chip",5),G()(),L());a&2&&(a=b.$implicit,y(3),$f(a.permission),y(2),D("ngForOf",a.principals))},ODb=function(a){var b="minimal";b=void 0===b?"expanded":
b;a=LDb(a);a=mEa(a,function(c){c=MDb(c);return NDb(c,b)});return LDb(a)},QDb=function(a){a=LDb(a);a=mEa(a,function(b){b=PDb(b);return MDb(b)});return LDb(a)},NDb=function(a,b){var c="expanded"===b?RDb:SDb;return new Set([].concat(r(a)).flatMap(function(d){return[].concat(r(c.get(d)))}))},PDb=function(a){return new Set(gt.filter(function(b){return asa(a,SDb.get(b))}))},MDb=function(a){a=NDb(a,"expanded");var b=PDb(a);return new Set([].concat(r(b)).filter(function(c){return[].concat(r(TDb.get(c))).every(function(d){return!b.has(d)})}))},
LDb=function(a){var b=new Map;a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;d=l(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=void 0;b.set(e,(null!=(f=b.get(e))?f:new Set).add(c))}}return b},VDb=function(){function a(f,h){c.has(f)||c.set(f,new Set);var k=c.get(f);k.add(h);var q;h=l(null!=(q=b.get(h))?q:[]);for(q=h.next();!q.done;q=h.next())q=q.value,k.has(q)||a(f,q)}var b=UDb,c=new Map,d=[].concat(r(b.values())).flatMap(function(f){return[].concat(r(f))});
d=l(new Set([].concat(r(b.keys()),r(d))));for(var e=d.next();!e.done;e=d.next())e=e.value,a(e,e);return c},WDb=function(a){var b=ODb(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(r(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")}}},XDb=function(a){var b=a.componentAccessPolicy;a=a.issueAccessPolicy;return An([].concat(r(b?[].concat(r(b.inheritedAdmins||[]),r(b.admins||[]),r(b.appenders||[])):[]),r(a?[].concat(r(a.admins||[]),r(a.editors||[]),r(a.appenders||[]),r(a.readers||[]),r(a.restrictedReaders||[]),r(a.restrictedPlusReaders||[])):[]))).sort()},ZDb=function(a){function b(e){var f;return[].concat(r(null!=(f=d.get(e))?f:[])).sort()}
if(!a)return YDb;var c=a.issueAccessPolicy;a=a.componentAccessPolicy;var d=QDb(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}},$Db=function(a,b){var c;(c=!b)||(c=!(!Th([].concat(r(b.admins)).sort(),[].concat(r(a.admins)).sort())||
!Th([].concat(r(b.appenders)).sort(),[].concat(r(a.appenders)).sort())||!Th(b.implicitAccess,a.implicitAccess)));return!c},aEb=function(a,b){return b&&a?!Th([].concat(r(a.admins)).sort(),[].concat(r(b.admins)).sort())||!Th([].concat(r(a.editors)).sort(),[].concat(r(b.editors)).sort())||!Th([].concat(r(a.appenders)).sort(),[].concat(r(b.appenders)).sort())||!Th([].concat(r(a.readers)).sort(),[].concat(r(b.readers)).sort())||!Th([].concat(r(a.restrictedReaders)).sort(),[].concat(r(b.restrictedReaders)).sort())||
!Th([].concat(r(a.restrictedPlusReaders)).sort(),[].concat(r(b.restrictedPlusReaders)).sort()):!1},bEb=function(a,b){var c=Object.keys(a);c=l(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!DBa(a[d],b[d]))return!0;return!1},cEb=function(a){if(a&1){var b=u();E(0,"input",17);M("ngModelChange",function(c){v(b);var d=N(2);return x(d.rolesEditor.component.accessLimit.accessLevel=c)});G()}a&2&&(a=N(2),D("disabled",!a.rolesEditor.isAdmin)("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},
dEb=function(a){if(a&1){var b=u();E(0,"input",18);M("ngModelChange",function(c){v(b);var d=N(2);return x(d.rolesEditor.component.accessLimit.accessLevel=c)});G()}a&2&&(a=N(2),D("disabled",!a.rolesEditor.isAdmin||!a.isParentPartner())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},eEb=function(a){if(a&1){var b=u();E(0,"input",19);M("ngModelChange",function(c){v(b);var d=N(2);return x(d.rolesEditor.component.accessLimit.accessLevel=c)});G()}a&2&&(a=N(2),D("disabled",!a.rolesEditor.isAdmin||
!a.isParentPublic())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},fEb=function(a){a&1&&(E(0,"div",3)(1,"div",4)(2,"span",5),R(3,"Component visibility: "),G()(),E(4,"div",6)(5,"div",7),C(6,cEb,1,2,"input",8),E(7,"label",9),R(8),G()(),E(9,"div",7),C(10,dEb,1,2,"input",10),E(11,"label",11),R(12),G()(),E(13,"div",12),C(14,eEb,1,2,"input",13),E(15,"label",14),R(16),G()()(),E(17,"p",15)(18,"a",16),R(19," Learn more "),G()()());a&2&&(a=N(),y(6),D("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),
y(2),S(" ",bVa(a.AccessLevelStrings.INTERNAL)," "),y(2),D("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),y(2),S(" ",bVa(a.AccessLevelStrings.EXTERNAL_PARTNER)," "),y(2),D("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),y(2),S(" ",bVa(a.AccessLevelStrings.EXTERNAL_PUBLIC)," "),y(2),D("href",fWa(a.documentationLinks),Pd))},kEb=function(a,b){if(a&1){var c=u();K(0);E(1,"tr")(2,"td")(3,"div",2)(4,"div",3)(5,"label",4);R(6);G();E(7,"button",5);I(8,"mat-icon",6);
G()();E(9,"b-multi-user-input",7);M("usersChange",function(e){var f=v(c).$implicit,h=N();return x(h.updateRolesMap(f.roleType,e))})("isValid",function(e){var f=v(c).$implicit,h=N();h.aclFormValidity.set(f.roleType,e);e=[].concat(r(h.aclFormValidity.values())).every(Boolean);h.formIsValid.emit(e);return x()});G()()();E(10,"td");I(11,"b-icon",8);G();E(12,"td");I(13,"b-icon",8);G();E(14,"td");I(15,"b-icon",8);G();E(16,"td");I(17,"b-icon",8);G();E(18,"td");I(19,"b-icon",8);G();E(20,"td");I(21,"b-icon",
8);G();E(22,"td");I(23,"b-icon",8);G();E(24,"td");I(25,"b-icon",8);G()();L()}if(a&2){a=b.$implicit;b=N();var d;y(3);yf("bv2-edit-resource-readonly",b.canEdit);y(2);D("htmlFor",a.roleType);y();$f(a.label);y();D("matTooltip",a.tooltip);y(2);D("idForInputBox",a.roleType)("users",a.users)("ariaLabel",a.ariaLabel)("accessLevel",b.accessLevel)("customValidators",null!==(d=a.customValidators)&&void 0!==d?d:eg(22,gEb))("includeAliases",a.includeAliases)("includeViewAliases",a.includeViewAliases)("containerChips",
(null==a.chips?0:a.chips.values)&&0<a.chips.values.length?fg(26,hEb,gg(23,iEb,a.chips.displayText,a.chips.values)):eg(28,jEb));pf("disabled",b.canEdit?null:!0);y(2);D("name",b.getIconName(a,"componentAdmin"));y(2);D("name",b.getIconName(a,"createIssues"));y(2);D("name",b.getIconName(a,"issueAdmin"));y(2);D("name",b.getIconName(a,"issueEditor"));y(2);D("name",b.getIconName(a,"issueCommenter"));y(2);D("name",b.getIconName(a,"issueReader"));y(2);D("name",b.getIconName(a,"restrictedReader"));y(2);D("name",
b.getIconName(a,"restrictedPlusReader"))}},lEb=function(a){a&1&&(E(0,"div",2),I(1,"b-spinner"),G())},nEb=function(a){if(a&1){var b=u();E(0,"div")(1,"div",3)(2,"mat-tab-group")(3,"mat-tab",4)(4,"roles-view",5);M("saveRolesMap",function(c){v(b);var d=N();mEb(d.rolesEditor,c);return x()});G()();E(5,"mat-tab",6);I(6,"permissions-view",7);G()()()()}a&2&&(a=N(),y(4),D("rolesMap",a.rolesEditor.rolesMap)("isSaving",a.isSaving())("component",a.rolesEditor.component)("rolesEditor",a.rolesEditor),y(2),D("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))},pEb=function(a){if(a&1){var b=u();E(0,"b-button",14,15);M("onAction",function(){v(b);var c=N(3);return x(oEb(c))});R(2);G()}a&2&&(a=N(3),D("disabled",a.isSaving()),y(2),S(" ",a.archiveAction,
" Component "))},qEb=function(a){if(a&1){var b=u();E(0,"b-button",16);M("onAction",function(){v(b);var c=N(3);return x(c.createIssue())});R(1," Create Issue ");G()}a&2&&(a=N(3),D("tooltip",a.isArchived()?"Cannot create issue in archived component":"")("disabled",a.isArchived()))},rEb=function(a){a&1&&(K(0),E(1,"a",11),R(2," Browse Components "),G(),C(3,pEb,3,2,"b-button",12)(4,qEb,2,2,"b-button",13),L());a&2&&(a=N(2),y(),D("routerLinkObj",a.componentListRoute(a.component.componentId)),y(2),D("ngIf",
a.isAdmin()),y(),D("ngIf",!a.isAnonymous))},sEb=function(a){a&1&&(E(0,"div",17),I(1,"b-spinner"),G())},tEb=function(a){a&1&&(E(0,"span",38),R(1," (archived) "),G())},uEb=function(a){a&1&&Gf(0)},vEb=function(a){a&1&&Gf(0)},wEb=function(a){a&1&&Gf(0)},xEb=function(a){a&1&&Gf(0)},yEb=function(a){a&1&&Gf(0)},AEb=function(a){if(a&1){var b=u();E(0,"div",77)(1,"div",48)(2,"label",78)(3,"span",45);R(4,"Parent Component");G()();E(5,"span",50)(6,"div",79)(7,"strong");R(8,"Careful!");G();R(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. ");
E(10,"div",52);I(11,"div",53)(12,"div",54);G()()()();E(13,"b-team-component-picker",80);M("selectedComponentChange",function(c){v(b);var d=N(4);return x(d.parentComponent=null!==c&&void 0!==c?c:null)});G()()}a&2&&(a=N(4),y(2),yf("required",a.isParentComponentRequired&&!zEb(a)),y(11),D("selectedComponent",a.parentComponent)("placeholder","Choose Component")("isRequired",a.isParentComponentRequired&&!zEb(a)))},BEb=function(a){a&1&&(E(0,"a",81),R(1," Learn more "),G());a&2&&(N(4),D("href",hmb(),Pd))},
CEb=function(a){if(a&1){var b=u();E(0,"div",82)(1,"label",83)(2,"span",45);R(3,"Retention Settings");G()();E(4,"div",84)(5,"p");R(6,"Please choose a period of time to retain the data stored in this component.");I(7,"br");E(8,"a",85);R(9," Learn more ");G()()();E(10,"div",86)(11,"b-retention-settings-form",87);M("modelChange",function(c){v(b);var d=N(4);return x(d.component.retentionSettings=c)})("validChange",function(c){v(b);N(4).retentionIsValid=c;return x()});G()()()}a&2&&(a=N(4),yf("bv2-edit-resource-readonly",
!a.isAdmin()),y(8),D("href",ht(),Pd),y(3),D("issueRetentionDisabled",a.isAccessEditDisabled())("isExternal",a.isExternal())("componentPathInfo",a.component.componentPathInfo)("componentId",a.component.componentId)("initialModel",a.component.retentionSettings))},EEb=function(a){if(a&1){var b=u();E(0,"div",91)(1,"b-component-team-picker",92);M("modelChange",function(c){v(b);var d=N(5);d.component.team=c;d.componentTeam$.next(d.component.team);d.component.slo.inherit&&DEb(d);return x()});G()()}a&2&&
(a=N(5),y(),Of("anchorTarget",a.hasUnsavedChanges()?"_blank":"_self"),D("isAdmin",a.isAdmin())("isTopLevel",!a.isParentComponentRequired)("parentModel",null==a.parentComponent?null:a.parentComponent.team)("useInternalLink",!0)("model",a.component.team))},FEb=function(a){a&1&&(E(0,"div",88)(1,"label",89)(2,"span",45),R(3,"Team Configuration"),G()(),C(4,EEb,2,6,"div",90),G());a&2&&(a=N(4),yf("bv2-edit-resource-readonly",!a.isAdmin()),y(4),D("ngIf",a.component.team))},GEb=function(a){a&1&&(E(0,"a",105),
R(1),G());if(a&2){a=N().ngIf;var b=N(5),c;D("routerLinkObj",b.getSloManagementLink(a.id));y();S(" ",null!==(c=null==a.slo?null:a.slo.name)&&void 0!==c?c:a.id," ")}},HEb=function(a){a&1&&R(0," None ")},IEb=function(a,b){a&1&&(E(0,"div",102),R(1," Inherited SLO Policy: "),C(2,GEb,2,2,"a",103)(3,HEb,1,0,"ng-template",null,104,jg),G());if(a&2){a=b.ngIf;var c=Q(4);y(2);D("ngIf","0"!==a.id)("ngIfElse",c)}},JEb=function(a){a&1&&(E(0,"a",110),R(1),T(2,"titlecase"),G());a&2&&(a=N().ngIf,D("routerLinkObj",
a.link),y(),ag(" (",V(2,3,a.type),") ",a.name," "))},KEb=function(a){a&1&&R(0," None ")},LEb=function(a){a&1&&(E(0,"div",112),I(1,"slo-inheritance-breadcrumbs",113),G());a&2&&(a=N().ngIf,y(),D("componentPath",a.componentPath)("teamPath",a.teamPath))},MEb=function(a){a&1&&(K(0),C(1,LEb,2,2,"div",111),L());a&2&&(a=N(6),y(),D("ngIf",a.showSloInheritancePath))},NEb=function(a,b){if(a&1){var c=u();E(0,"div",106);R(1," Policy Source: ");C(2,JEb,3,5,"a",107)(3,KEb,1,0,"ng-template",null,108,jg);E(5,"button",
109);M("click",function(){v(c);var e=N(5);return x(e.showSloInheritancePath=!e.showSloInheritancePath)});R(6);G();C(7,MEb,2,1,"ng-container",7);T(8,"async");G()}if(a&2){a=b.ngIf;var d=Q(4);b=N(5);y(2);D("ngIf",a.link)("ngIfElse",d);y(3);pf("aria-expanded",b.showSloInheritancePath);y();S(" ",b.showSloInheritancePath?"Hide":"Show"," full path ");y();D("ngIf",V(8,5,b.policySourcePath$))}},OEb=function(a){a&1&&(K(0),R(1,", "),E(2,"a",115),R(3,"Team Leads"),G(),L());a&2&&(a=N(7),y(2),D("routerLinkObj",
{path:"/teams/"+a.component.team.id+"/edit",fragment:"basic"}))},PEb=function(a){a&1&&(K(0),R(1," SLO Admins: "),E(2,"a",115),R(3,"Component Admins"),G(),C(4,OEb,4,1,"ng-container",7),L());a&2&&(a=N(6),y(2),D("routerLinkObj",a.componentPermissions(a.componentId)),y(2),D("ngIf",a.component.team&&"0"!==a.component.team.id))},QEb=function(a){a&1&&(E(0,"div",114),C(1,PEb,5,2,"ng-container",7),G());a&2&&(a=N(5),y(),D("ngIf",a.enableTeamLeadSloEditingUi))},REb=function(a){a&1&&(K(0),I(1,"mat-icon",117),
R(2," on "),L())},SEb=function(a){a&1&&(I(0,"mat-icon",118),R(1," off "))},TEb=function(a){a&1&&(K(0),R(1," Lock: "),C(2,REb,3,0,"ng-container",0),T(3,"async"),C(4,SEb,2,0,"ng-template",null,116,jg),L());if(a&2){var b=Q(5);a=N(5);y(2);D("ngIf",V(3,2,a.sloLocked$))("ngIfElse",b)}},VEb=function(a){if(a&1){var b=u();E(0,"div",119)(1,"mat-checkbox",120);M("change",function(c){v(b);var d=N(5);c=c.checked;d.component.slo.inherit=!c;c||DEb(d);return x()});E(2,"span");R(3,"Override the inherited SLO policy");
G()()()}a&2&&(a=N(5),y(),D("checked",!a.component.slo.inherit)("disabled",!UEb(a)))},WEb=function(a){if(a&1){var b=u();E(0,"div",127)(1,"label",128);R(2," Justification ");G();I(3,"mat-icon",129);E(4,"textarea",130);M("ngModelChange",function(c){v(b);var d=N(6);return x(d.component.slo.comment=c)});G()()}a&2&&(a=N(6),y(4),D("ngModel",a.component.slo.comment)("disabled",!it(a)))},XEb=function(a){a&1&&(E(0,"a",131),I(1,"mat-icon",132),G());a&2&&(a=N(6),Of("target",a.hasUnsavedChanges()?"_blank":"_self"),
D("routerLinkObj",a.getSloManagementLink(a.component.slo.id)))},aFb=function(a){if(a&1){var b=u();K(0);C(1,WEb,5,2,"div",121);E(2,"mat-slide-toggle",122);M("ngModelChange",function(c){v(b);var d=N(5);return x(d.isEnableSloChecked=c)})("change",function(c){v(b);var d=N(5);c=c.checked;d.isEnableSloChecked=c;c||(d.component.slo.id="0");return x()});R(3," Enable SLO ");G();E(4,"div",123)(5,"label",124);R(6,"SLO policy");G();E(7,"slo-picker",125);M("onSloSelect",function(c){v(b);var d=N(5);return x(d.onSloChange(c))});
G();C(8,XEb,2,2,"a",126);G();L()}a&2&&(a=N(5),y(),D("ngIf",YEb(a)),y(),yf("indented",ZEb(a)),D("ngModel",a.isEnableSloChecked)("disabled",!$Eb(a)),y(5),D("bv2Disabled",!a.isEnableSloChecked||!$Eb(a))("boundId",a.component.slo.id)("bv2Placeholder",a.isEnableSloChecked&&$Eb(a)?"Type to search for an SLO":"SLO disabled"),y(),D("ngIf",a.component.slo.id&&"0"!==a.component.slo.id))},bFb=function(a){a&1&&(E(0,"div",93)(1,"div",48)(2,"label",94)(3,"span",45),R(4,"SLO Configuration"),G()(),E(5,"span",50)(6,
"div",95)(7,"strong"),R(8,"Careful!"),G(),R(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. "),E(10,"div",52),I(11,"div",53)(12,"div",54),G()()()(),E(13,"div",96),C(14,IEb,5,2,"div",97),T(15,"async"),C(16,NEb,9,7,"div",98),T(17,"async"),C(18,QEb,2,1,"div",99),E(19,"div",100),C(20,TEb,6,4,"ng-container",7),G()(),C(21,VEb,4,2,"div",101)(22,aFb,9,9,"ng-container",7),G());if(a&2){a=N(4);
yf("bv2-edit-resource-readonly",!it(a));y(14);D("ngIf",V(15,8,a.inheritedSlo$));y(2);D("ngIf",V(17,10,a.sloPolicySource$));y(2);D("ngIf",a.sessionIsInternal);y(2);D("ngIf",a.enableSloLockingUi);y();D("ngIf",ZEb(a));y();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;D("ngIf",a)}},cFb=function(a){if(a&1){var b=u();E(0,"div",73)(1,"b-button",133);M("onAction",function(){v(b);var c=N(4);
return x(c.saveMetadata())});R(2," Update ");G();E(3,"b-button",134);M("onAction",function(){v(b);var c=N(4);return x(c.revertMetadataChanges())});R(4," Revert Changes ");G();E(5,"b-button",134);M("onAction",function(){v(b);var c=N(4);return x(c.createChild())});R(6," Create Child Component ");G()()}a&2&&(a=N(4),y(),D("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),y(2),D("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),y(2),D("disabled",a.hasUnsavedMetadataChanges()))},dFb=function(a){if(a&
1){var b=u();E(0,"b-button",135);M("onAction",function(){v(b);var c=N(4);return x(c.showUpdateHistoryModal())});R(1," View History ");G()}},eFb=function(a){a&1&&I(0,"b-spinner")},fFb=function(a){if(a&1){var b=u();E(0,"b-component-children-list",136);M("onVisit",function(){v(b);var c=N(4);return x(c.trackClick("openChildComponent"))});G()}a&2&&(a=N(4),D("children",a.childComponents))},gFb=function(a){a&1&&(E(0,"span"),R(1," No child components. "),G())},hFb=function(a){if(a&1){var b=u();E(0,"div",
39)(1,"form",40,41);I(3,"b-error-banner",42);E(4,"div",43)(5,"label",44)(6,"span",45);R(7,"Name");G()();E(8,"input",46);M("ngModelChange",function(c){v(b);var d=N(3);return x(d.component.name=c)});G()();E(9,"div",47)(10,"div",48)(11,"label",49)(12,"span",45);R(13,"Description");G()();E(14,"span",50)(15,"div",51);R(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. ");E(17,"div",52);I(18,"div",
53)(19,"div",54);G()()()();E(20,"textarea",55);M("ngModelChange",function(c){v(b);var d=N(3);return x(d.component.description=c)});R(21,"            ");G()();C(22,AEb,14,5,"div",56);E(23,"div",57)(24,"div",58)(25,"mat-checkbox",59);M("change",function(c){v(b);var d=N(3);return x(d.setCommentEditState(c.checked))});G()();E(26,"div")(27,"strong",60);R(28,"Editable Comments");G();E(29,"div",61);R(30," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");
I(31,"br");C(32,BEb,2,1,"a",62);G()()();C(33,CEb,12,8,"div",63)(34,FEb,5,3,"div",64)(35,bFb,23,12,"div",65);E(36,"div",66)(37,"div",48)(38,"label",67)(39,"span",45);R(40,"Component Alias");G()();E(41,"span",50)(42,"div",68);R(43," You can create a new issue in this component by sending an email to this alias. ");I(44,"br");E(45,"a",69);R(46," Learn more ");G();E(47,"div",52);I(48,"div",53)(49,"div",54);G()()()();E(50,"div")(51,"a",70);R(52);G()()();E(53,"div",71);C(54,cFb,7,3,"div",72);E(55,"div",
73);C(56,dFb,2,0,"b-button",74);G()();E(57,"div",75)(58,"label")(59,"span",45);R(60,"Child Components");G()();C(61,eFb,1,0,"b-spinner",7)(62,fFb,1,1,"b-component-children-list",76)(63,gFb,2,0,"span",7);G()()()}a&2&&(a=N(3),y(),yf("show-errors",a.error),y(2),D("error",a.error),y(),yf("bv2-edit-resource-readonly",jt(a)),y(4),D("ngModel",a.component.name)("disabled",jt(a)),y(),yf("bv2-edit-resource-readonly",jt(a)),y(11),D("ngModel",a.component.description)("disabled",jt(a)),y(2),D("ngIf",a.isAdmin()),
y(),yf("bv2-edit-resource-readonly",a.isAccessEditDisabled()),y(2),D("checked",a.commentEditsEnabled)("disabled",jt(a)),y(7),D("ngIf",!a.sessionIsExternal),y(),D("ngIf",!a.sessionIsExternal),y(),D("ngIf",a.sessionIsInternal),y(),D("ngIf",a.component.slo&&a.sessionIsInternal),y(10),D("href",a.documentationLinks.baseDocumentationUrl+"/guides/create-issue-email",Pd),y(6),Nf("href","mailto:",a.component.emailAlias,"",Pd),pf("aria-label","Component Alias -"+a.component.emailAlias),y(),$f(a.component.emailAlias),
y(2),D("ngIf",a.isEditorInternal||it(a)),y(2),D("ngIf",a.componentHistoryUiEnabled),y(5),D("ngIf",void 0===a.childComponents),y(),D("ngIf",a.childComponents&&0<a.childComponents.length),y(),D("ngIf",a.childComponents&&0===a.childComponents.length))},iFb=function(a){a&1&&(E(0,"div",141),R(1," Standard Fields "),G())},kFb=function(a){if(a&1){var b=u();E(0,"b-component-standard-fields",142);M("updateComponent",function(c){v(b);var d=N(4);return x(jFb(d,c))});G()}a&2&&(a=N(4),D("effortSpec",a.component.effortSpec)("parentEffortSpec",
null==a.parentComponent?null:a.parentComponent.effortSpec)("disabled",!a.isEditorInternal))},lFb=function(a){a&1&&(E(0,"div",143),R(1," Custom Fields "),G())},mFb=function(a){a&1&&(C(0,iFb,2,0,"div",137)(1,kFb,1,3,"b-component-standard-fields",138)(2,lFb,2,0,"div",139),I(3,"b-component-custom-fields",140));a&2&&(a=N(3),D("ngIf",a.sessionIsInternal&&!a.isExternal()),y(),D("ngIf",a.sessionIsInternal&&!a.isExternal()),y(),D("ngIf",a.sessionIsInternal&&!a.isExternal()),y(),D("editMode",a.isEditorInternal)("isSaving",
a.isSaving())("component",a.component)("parentComponent",a.parentComponent))},oFb=function(a){a&1&&(E(0,"a",147),R(1," Learn more "),G());a&2&&(N(4),D("href",nFb(),Pd))},qFb=function(a){if(a&1){var b=u();E(0,"div",39)(1,"div",144);R(2," Field ordering will be applied to all issues and templates in this component, including the right panel on the Issue Detail page. ");C(3,oFb,2,1,"a",145);G();E(4,"b-field-reorder",146);M("onReload",function(){v(b);var c=N(3);return x(pFb(c))});G()()}a&2&&(a=N(3),y(3),
D("ngIf",a.sessionIsInternal),y(),D("fields",a.effectiveCustomFields)("componentId",a.componentId)("fieldOrdering",a.component.fieldOrdering)("isAdmin",a.isAdmin()))},rFb=function(a){a&1&&I(0,"b-edit-templates",149);a&2&&(a=N(4),D("componentId",a.componentId)("supportCustomFields",!0))},sFb=function(a){a&1&&(E(0,"div"),R(1),G());a&2&&(a=N().$implicit,y(),$f(a.description))},tFb=function(a,b){a&1&&(E(0,"div",151)(1,"label"),R(2),G(),C(3,sFb,2,1,"div",7),E(4,"div")(5,"a",70),R(6),G()()());a&2&&(a=b.$implicit,
y(2),$f(a.name),y(),D("ngIf",a.description),y(2),D("href",a.url,Pd),pf("aria-label","Click to open the template "+a.name),y(),$f(a.url))},uFb=function(a){a&1&&(K(0),C(1,tFb,7,5,"div",150),L());a&2&&(a=N(4),y(),D("ngForOf",a.templates))},vFb=function(a){a&1&&(E(0,"div",39),C(1,rFb,1,2,"b-edit-templates",148)(2,uFb,2,1,"ng-container",7),G());a&2&&(a=N(3),y(),D("ngIf",a.isEditorInternal),y(),D("ngIf",!a.isEditorInternal))},wFb=function(a){a&1&&I(0,"role-based-permissions")},xFb=function(a){if(a&1){var b=
u();E(0,"div")(1,"div",18)(2,"h2");R(3);G();C(4,tEb,2,0,"span",19);E(5,"a",20);M("click",function(){v(b);var k=N(2);return x(k.trackClick("recentIssues"))});R(6," (Recent Issues)");G();I(7,"b-component-access-level-indicator",21)(8,"b-tracker-chip-smart",22);G();E(9,"div",23);I(10,"b-component-breadcrumb",24)(11,"div",25);G();E(12,"mat-tab-group",26);M("selectedIndexChange",function(k){v(b);var q=N(2);return x(q.tabChange(k))});E(13,"mat-tab",27);C(14,uEb,1,0,"ng-container",28);G();E(15,"mat-tab",
29);C(16,vEb,1,0,"ng-container",28);G();E(17,"mat-tab",30);C(18,wEb,1,0,"ng-container",28);G();E(19,"mat-tab",31);C(20,xEb,1,0,"ng-container",28);G();E(21,"mat-tab",32);C(22,yEb,1,0,"ng-container",28);G()();C(23,hFb,64,29,"ng-template",null,33,jg)(25,mFb,4,7,"ng-template",null,34,jg)(27,qFb,5,5,"ng-template",null,35,jg)(29,vFb,3,2,"ng-template",null,36,jg)(31,wFb,1,0,"ng-template",null,37,jg);G()}if(a&2){var c=Q(24),d=Q(26),e=Q(28),f=Q(30),h=Q(32);a=N(2);y(3);ag(" Component ",a.component.componentId,
": ",a.currentName," ");y();D("ngIf",a.isArchived());y();D("routerLinkObj",a.getRecentIssuesLink());y(2);D("accessLevel",a.getComponentAccessLevel());y();D("trackerId",a.component.trackerId);y(2);D("componentPathInfo",a.component.componentPathInfo)("isArchived",a.isArchived())("label","Parent Component");y(2);D("selectedIndex",a.selectedTabIndex);y();D("id",a.Tab.BASIC);y();D("ngTemplateOutlet",c);y();D("id",a.Tab.CUSTOM_FIELDS)("label",a.sessionIsInternal&&!a.isExternal()?"Fields":"Custom Fields");
y();D("ngTemplateOutlet",d);y();D("id",a.Tab.FIELD_ORDERING);y();D("ngTemplateOutlet",e);y();D("id",a.Tab.TEMPLATES);y();D("ngTemplateOutlet",f);y();D("id",a.Tab.ACCESS);y();D("ngTemplateOutlet",h)}},yFb=function(a){a&1&&(E(0,"span")(1,"p"),R(2," Archiving a component causes it and its subcomponents and all issues in those components to be hidden from normal use."),I(3,"br"),E(4,"a",156),R(5," Learn more "),G()(),E(6,"p"),R(7," If you no longer have a reason to retain the data stored in these components, please change the retention period as needed "),
I(8,"br"),R(9," so they can be scheduled for deletion. "),E(10,"a",157),R(11," Learn more "),G()()());a&2&&(N(3),y(4),D("href","http://go/archived-components",Pd),y(6),D("href",ht(),Pd))},zFb=function(a){a&1&&(E(0,"span")(1,"p"),R(2," Unarchiving a component will NOT cause its subcomponents to be unarchived."),I(3,"br"),R(4," If you need to recursively unarchive subcomponents please use the buganizer_admin tool. "),E(5,"a",158),R(6," Learn more "),G()()());a&2&&(N(3),y(5),D("href","http://go/buganizer-admin",
Pd))},AFb=function(a,b){a&1&&(E(0,"span")(1,"span"),R(2),G(),E(3,"span"),R(4," : "),E(5,"b"),R(6),G()(),I(7,"br"),G());a&2&&(a=b.$implicit,b=N(4),y(2),$f(a.componentPath),y(),yf("b-archive-warning-indef",!a.retentionSettings.retentionPeriodDays),y(3),$f(b.getRetentionPeriod(a)))},BFb=function(a){a&1&&(E(0,"span"),C(1,AFb,8,4,"span",159),G());a&2&&(a=N(3),y(),D("ngForOf",a.descendants))},CFb=function(a){a&1&&(E(0,"span")(1,"span"),R(2),G()());a&2&&(a=N(3),y(2),$f(a.descendants[0].componentPath))},
DFb=function(a){if(a&1){var b=u();E(0,"h2",152);R(1);G();E(2,"mat-dialog-content");C(3,yFb,12,2,"span",7)(4,zFb,7,1,"span",7);E(5,"p");R(6," The following components will be affected: ");G();E(7,"div",153);C(8,BFb,2,1,"span",7)(9,CFb,3,1,"span",7);G()();E(10,"mat-dialog-actions")(11,"button",154);M("click",function(){v(b);var c=N(2);c.archive();c.isArchiving=!1;return x()});R(12," Yes ");G();E(13,"button",155);M("click",function(){v(b);N(2).isArchiving=!1;return x()});R(14," No ");G()()}a&2&&(a=N(2),
y(),$f(a.component&&a.archiveAction?"Are you sure you want to "+a.archiveAction.toLowerCase()+' "'+a.component.name+'"'+("Archive"===a.archiveAction?" and its subcomponents?":"?"):""),y(2),D("ngIf","Archive"===a.archiveAction),y(),D("ngIf","Unarchive"===a.archiveAction),y(4),D("ngIf","Archive"===a.archiveAction),y(),D("ngIf","Unarchive"===a.archiveAction))},EFb=function(a){if(a&1){var b=u();K(0);E(1,"div",2)(2,"div",3)(3,"div",4)(4,"b-button",5);M("onAction",function(){v(b);var c=N();return x(c.back())});
I(5,"b-icon",6);G();C(6,rEb,5,3,"ng-container",7);G()()();E(7,"div",8);C(8,sEb,2,0,"div",9)(9,xFb,33,21,"div",7);G();C(10,DFb,15,5,"ng-template",null,10,jg);L()}a&2&&(a=N(),y(6),D("ngIf",a.component),y(2),D("ngIf",a.isLoading),y(),D("ngIf",!a.isLoading&&a.component&&a.component.componentId))},FFb=function(a){a&1&&(E(0,"div",160),I(1,"b-tracker-redirect",161),G());a&2&&(a=N(),y(),D("component",a.component))},GFb=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}},HFb=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}},IFb=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},JFb=function(a,b){a&1&&(E(0,"div",40),I(1,"b-team-breadcrumb",41),G());a&2&&(a=b.ngIf,y(),D("teamPath",a))},KFb=function(a,b){a&1&&(K(0),R(1),L());a&2&&(a=b.ngIf,y(),$f(a.trim()))},LFb=function(a){a&1&&R(0," No description ")},MFb=function(a,b){a&1&&(K(0),I(1,"b-multi-user-input",42),L());a&2&&(a=b.ngIf,y(),D("users",a),pf("disabled",!0))},NFb=function(a){a&1&&(K(0),E(1,"p"),R(2,"No child teams"),G(),L())},OFb=function(a,b){a&1&&(K(0),I(1,"br"),
E(2,"a",45),R(3),G(),L());a&2&&(a=b.$implicit,y(2),Nf("routerLink","/teams/",a.id,"/edit"),y(),$f(a.name))},PFb=function(a){a&1&&C(0,OFb,4,2,"ng-container",44);a&2&&(a=N().ngIf,D("ngForOf",a))},QFb=function(a,b){a&1&&(K(0),C(1,NFb,3,0,"ng-container",18)(2,PFb,1,1,"ng-template",null,43,jg),L());if(a&2){a=b.ngIf;var c=Q(3);y();D("ngIf",0===a.length)("ngIfElse",c)}},RFb=function(a){a&1&&(E(0,"a",49),R(1),G());if(a&2){a=N().ngIf;var b;D("routerLinkObj",a.link);y();S(" ",null!==(b=null==a.slo?null:a.slo.name)&&
void 0!==b?b:a.id," ")}},SFb=function(a){a&1&&R(0," None ")},TFb=function(a,b){a&1&&(E(0,"div",46),R(1," Inherited SLO Policy: "),C(2,RFb,2,2,"a",47)(3,SFb,1,0,"ng-template",null,48,jg),G());if(a&2){a=b.ngIf;var c=Q(4);y(2);D("ngIf",a.link)("ngIfElse",c)}},UFb=function(a,b){a&1&&(E(0,"a",50),R(1),G());a&2&&(a=b.ngIf,D("routerLinkObj",a.link),y(),S(" ",a.name," "))},VFb=function(a){a&1&&R(0," None ")},WFb=function(a){a&1&&(K(0),I(1,"mat-icon",52),R(2," on "),L())},XFb=function(a){a&1&&(I(0,"mat-icon",
53),R(1," off "))},YFb=function(a){a&1&&(K(0),R(1," Lock: "),C(2,WFb,3,0,"ng-container",18)(3,XFb,2,0,"ng-template",null,51,jg),L());if(a&2){var b=Q(4);a=N(2);y(2);D("ngIf",a.originalSloLock)("ngIfElse",b)}},ZFb=function(a){if(a&1){var b=u();E(0,"div",55)(1,"mat-checkbox",56);M("change",function(c){v(b);var d=N(3);d.isSloInheritEnabled=!c.checked;d.isSloInheritEnabled&&(d.sloId=d.parentTeam.slo.sloId);return x()});E(2,"span");R(3,"Override the inherited SLO");G()()()}a&2&&(a=N(3),y(),D("disabled",
!a.hasEditAccess)("checked",!a.isSloInheritEnabled))},$Fb=function(a){if(a&1){var b=u();E(0,"div",61)(1,"label",62);R(2," Justification to override the org SLO ");G();I(3,"mat-icon",63);E(4,"textarea",64);M("ngModelChange",function(c){v(b);var d=N(4);return x(d.sloJustification$.next(c))});T(5,"async");G()()}a&2&&(a=N(4),y(3),D("matTooltip",a.justificationRequiredText),pf("aria-label",a.justificationRequiredText),y(),D("ngModel",V(5,4,a.sloJustification$))("disabled",!a.hasEditAccess))},aGb=function(a,
b){a&1&&(E(0,"a",65),T(1,"async"),I(2,"mat-icon",9),G());a&2&&(a=b.ngIf,b=N(4),Of("target",V(1,2,b.hasUnsavedChanges$)?"_blank":"_self"),D("routerLinkObj",a))},bGb=function(a){if(a&1){var b=u();K(0);C(1,$Fb,6,6,"div",57);E(2,"div",14)(3,"mat-slide-toggle",58);M("ngModelChange",function(d){v(b);var e=N(3);return x(e.enableSloChecked=d)})("change",function(d){v(b);var e=N(3);return x(e.enableSloChecked=d.checked)});R(4," Enable SLO ");G();E(5,"slo-picker",59);M("onSloSelect",function(d){v(b);var e=
N(3);return x(e.onSloChange(d))});G();C(6,aGb,3,4,"a",60);T(7,"async");G();L()}if(a&2){a=N().ngIf;var c=N(2);y();D("ngIf",!a.value);y(2);yf("indented",!a.value);D("ngModel",c.enableSloChecked)("disabled",!c.hasEditAccess);y(2);D("boundId",c.sloId)("bv2Disabled",!c.hasEditAccess||!c.enableSloChecked||c.isSloInheritEnabled)("bv2Placeholder",c.enableSloChecked?"Type to search for an SLO":"SLO disabled");y();D("ngIf",V(7,9,c.sloPickerLink$))}},cGb=function(a,b){a&1&&(K(0),C(1,ZFb,4,2,"div",54)(2,bGb,
8,11,"ng-container",6),L());a&2&&(a=b.ngIf,b=N(2),y(),D("ngIf",!a.value),y(),D("ngIf",!b.isSloInheritEnabled))},dGb=function(a){if(a&1){var b=u();E(0,"div",14)(1,"mat-checkbox",66);M("change",function(c){v(b);var d=N(2);return x(d.sloLocked=c.checked)});E(2,"span");R(3,"Lock for all child teams");G()()()}a&2&&(a=N(2),y(),D("checked",a.sloLocked)("disabled",!a.canEditSloLock))},gGb=function(a){if(a&1){var b=u();E(0,"div",67)(1,"div",68)(2,"button",69);M("click",function(){v(b);var c=N().ngIf,d=N();
return x(eGb(d,c))});T(3,"async");R(4," Update ");G();E(5,"button",70);M("click",function(){v(b);var c=N(2);return x(fGb(c))});T(6,"async");R(7," Revert changes ");G()()()}a&2&&(a=N(2),y(2),D("disabled",!V(3,2,a.hasUnsavedChanges$)),y(3),D("disabled",!V(6,4,a.hasUnsavedChanges$)))},hGb=function(a){a&1&&(K(0),E(1,"p"),R(2,"No mapped components"),G(),L())},iGb=function(a,b){a&1&&(E(0,"ul")(1,"li")(2,"a",45),R(3),G()()());a&2&&(a=b.$implicit,y(2),Nf("routerLink","/components/",a.componentId,"/manage"),
y(),S(" ",a.name," "))},jGb=function(a){a&1&&(C(0,iGb,4,2,"ul",44),T(1,"async"));a&2&&(a=N(3),D("ngForOf",V(1,1,a.associatedComponents$)))},kGb=function(a,b){a&1&&(K(0),C(1,hGb,3,0,"ng-container",18)(2,jGb,2,3,"ng-template",null,71,jg),L());if(a&2){a=b.ngIf;var c=Q(3);y();D("ngIf",0===a.length)("ngIfElse",c)}},oGb=function(a,b){if(a&1){var c=u();K(0);E(1,"div",7)(2,"h2");R(3);E(4,"a",8);R(5);I(6,"mat-icon",9);G()()();C(7,JFb,2,1,"div",10);T(8,"async");E(9,"mat-tab-group",11);M("selectedIndexChange",
function(f){v(c);var h=N();return x(h.selectedTabIndex=f)})("selectedIndexChange",function(f){v(c);var h=N();return x(h.tabChange(f))});E(10,"mat-tab",12)(11,"div",13);R(12," Team information on this page comes from ");E(13,"a",8);R(14," Team Graph ");I(15,"mat-icon",9);G();R(16," and is view only. ");E(17,"div",14)(18,"div",15)(19,"label")(20,"span",16);R(21,"Description");G()();E(22,"div",17);C(23,KFb,2,1,"ng-container",18)(24,LFb,1,0,"ng-template",null,19,jg);G()()();E(26,"div",14)(27,"div",20)(28,
"label",21)(29,"span",16);R(30," Team admins ");G();E(31,"span",22)(32,"div",23);R(33," Team admins are team leads from Team Graph. ");E(34,"div",24);I(35,"div",25)(36,"div",26);G()()()();C(37,MFb,2,2,"ng-container",6);T(38,"async");G()();E(39,"div",14)(40,"div",15)(41,"label")(42,"span",16);R(43,"Child team(s)");G()();C(44,QFb,4,2,"ng-container",6);T(45,"async");G()()()();E(46,"mat-tab",27)(47,"div",13)(48,"div",20)(49,"label",21)(50,"span",16);R(51,"SLO configuration");G()();E(52,"span",22)(53,
"div",28)(54,"strong");R(55,"Careful!");G();R(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. ");E(57,"div",24);I(58,"div",25)(59,"div",26);G()()()();E(60,"div",29);C(61,TFb,5,2,"div",30);T(62,"async");E(63,"div",31);R(64," Policy Source: ");C(65,UFb,2,2,"a",32);T(66,"async");C(67,VFb,1,0,"ng-template",null,33,jg);G();E(69,"div",34);C(70,YFb,5,2,"ng-container",6);G()();I(71,"b-error-banner",
35);C(72,cGb,3,2,"ng-container",6);T(73,"async");C(74,dGb,4,2,"div",36);E(75,"div",14)(76,"div",20)(77,"label",21)(78,"span",16);R(79," SLO lead ");G()();E(80,"span",22)(81,"div",23);R(82," Single team lead receiving SLO reports of unassigned issues. ");E(83,"div",24);I(84,"div",25)(85,"div",26);G()()()();E(86,"div");K(87);E(88,"b-multi-user-input",37);M("usersChange",function(f){v(c);var h=N();1<f.length||(h.sloLead=1===f.length?f[0]:"");return x()})("isValid",function(f){v(c);var h=N();return x(h.isSloLeadValid=
f)});G();L();G()();C(89,gGb,8,6,"div",38);G()();E(90,"mat-tab",39)(91,"div",13)(92,"div",14)(93,"div",15)(94,"label")(95,"span",16);R(96," Component(s) that have mapped to this team ");G()()();C(97,kGb,4,2,"ng-container",6);T(98,"async");G()()()();L()}if(a&2){a=b.ngIf;var d=Q(25),e=Q(68);b=N();y(3);S(" Team ",a.teamId,": ");y();Nf("href","https://moma.corp.google.com/team/",a.teamId,"",Pd);y();S(" ",a.name," ");y(2);D("ngIf",V(8,27,b.teamPath$));y(2);D("selectedIndex",b.selectedTabIndex);y();D("id",
b.Tab.BASIC);y(3);Nf("href","https://moma.corp.google.com/team/",a.teamId,"",Pd);y(10);D("ngIf",a.description)("ngIfElse",d);y(14);D("ngIf",V(38,29,b.adminsAndLeads$));y(7);D("ngIf",V(45,31,b.childTeams$));y(2);D("id",b.Tab.SLO);y(15);D("ngIf",V(62,33,b.inheritedSlo$));y(4);D("ngIf",V(66,35,b.sloPolicySource$))("ngIfElse",e);y(5);D("ngIf",b.enableSloLockingUi);y();D("error",b.error);y();D("ngIf",fg(41,lGb,V(73,37,b.isRootTeam$)));y(2);D("ngIf",b.enableSloLockingUi);y(14);D("users",b.sloLead?fg(43,
mGb,b.sloLead):eg(45,nGb))("customValidators",b.sloLeadUserValidators)("detailedUserValidators",b.sloLeadGooglerValidators)("maxUserAllowed",1);pf("disabled",b.hasEditAccess?null:!0);y();D("ngIf",b.hasEditAccess);y();D("id",b.Tab.MAPPINGS);y(7);D("ngIf",V(98,39,b.associatedComponents$))}},pGb=function(a,b){if(a&1){var c=u();E(0,"a",8);M("click",function(){v(c);var d=N(4);kp(d.analytics,Sp.MENTIONS_CARD,"navigate","commentNumber");return x()});R(1);G()}a&2&&(a=b.ngIf,b=N(4),D("routerLinkObj",b.getCommentNumberLink(b.issueId,
a)),y(),S(" comment #",a," "))},qGb=function(a,b){a&1&&(E(0,"div"),I(1,"b-note-container",9),G());if(a&2){a=b.ngIf;b=N(2).$implicit;var c=N(2);y();D("issueId",c.issueId)("note",a)("formattingMode",b.formattingMode)}},sGb=function(a){a&1&&(E(0,"div",2)(1,"div",3)(2,"span",4),I(3,"b-user-display",5),E(4,"span"),R(5," mentioned you in "),C(6,pGb,2,2,"a",6),G()(),E(7,"span"),I(8,"b-formatted-date-time",7),G()(),C(9,qGb,2,3,"div",0),G());if(a&2){var b=N();a=b.$index;var c=b.$count;b=b.$implicit;N(2);D("ngClass",
fg(5,rGb,a!==c-1));y(3);D("model",b.lastCommentEditorUser);y(3);D("ngIf",b.commentNumber);y(2);D("timestamp",b.commentLastModifiedAtDate);y();if(b.unlinkifiedComment){var d;a={commentNumber:null!=(d=b.commentNumber)?d:void 0,unlinkifiedComment:b.unlinkifiedComment,formattedComment:b.formattedComment}}else a=null;D("ngIf",a)}},tGb=function(a,b){a&1&&C(0,sGb,10,7,"div",2);a&2&&Cf(0,null!=b.$implicit.unlinkifiedComment?0:-1)},vGb=function(a,b){a&1&&(K(0),E(1,"div",1),Ef(2,tGb,1,1,null,null,uGb),E(4,
"div"),Gf(5),G()(),L());a&2&&(a=b.ngIf,y(2),Ff(a))},wGb=function(a){return void 0===a||null===a?[]:Object.keys(a).filter(function(b){return a.hasOwnProperty(b)})},xGb=function(a){a&1&&Gf(0)},zGb=function(a){a&1&&C(0,xGb,1,0,"ng-container",3);if(a&2){a=N().$implicit;N(2);var b=Q(3);D("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(2,yGb,a))}},AGb=function(a,b){a&1&&C(0,zGb,1,4,"ng-container");a&2&&(a=b.$implicit,b=N(2),Cf(0,b.SIGNAL_TO_DISPLAY_TEXT.has(a.type)?0:-1))},CGb=function(a){a&1&&(E(0,
"div",2),Ef(1,AGb,1,1,null,null,BGb),G());a&2&&(a=N(),y(),Ff(a.signals))},DGb=function(a){a&1&&Gf(0)},FGb=function(a,b){a&1&&(E(0,"div",5),C(1,DGb,1,0,"ng-container",3),E(2,"div",6),R(3),G()());if(a&2){a=N(2);var c=Q(3);y();D("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(4,yGb,b));y();D("matTooltip",EGb(a.signals,b));y();S(" and ",a.signals.length-1," more ")}},GGb=function(a){a&1&&C(0,FGb,4,6,"div",4);if(a&2){a=N();var b;Cf(0,(b=a.getHighestPrioritySignal(a.signals))?0:-1,b)}},JGb=function(a,
b){if(a&1){var c=u();E(0,"div",10,11);M("mouseenter",function(){var f=v(c).xapLet,h=Q(1);return x(f?h.disabled=!0:null)})("mouseleave",function(){var f=v(c).xapLet,h=Q(1);return x(f?h.disabled=!1:null)});R(2);G()}if(a&2){a=b.xapLet;b=N().signal;var d=Q(2),e=N();Bf("signal-chip type-button urgent-",e.getSignalUrgency(b),"");yf("keep-focus-ring",a);D("onedevHovercardActive",a)("onedevHovercardTrigger",d)("matTooltip",HGb(e,b)?'Press "Alt/Option + Right Arrow Key" to show comment':IGb.get(b.type));pf("tabindex",
a?"0":"-1");y(2);S(" ",e.SIGNAL_TO_DISPLAY_TEXT.get(b.type)," ")}},LGb=function(a){a&1&&I(0,"mentioned-comments-card",12,13);if(a&2){var b=Q(1);a=N().signal;var c=N(),d;D("onedevIsHovercardReady",b.contentReady$)("issueId",c.issueId)("commentNumbers",null!==(d=a.commentNumbers)&&void 0!==d?d:eg(3,KGb))}},MGb=function(a,b){a&1&&(C(0,JGb,3,10,"div",7),E(1,"onedev-hovercard",null,8),C(3,LGb,2,4,"mentioned-comments-card",9),G());a&2&&(a=b.signal,b=N(),D("xapLet",HGb(b,a)))},NGb=function(a,b){a&1&&(E(0,
"mat-chip-option",3)(1,"span",4),R(2),G()());if(a&2){a=b.$implicit;b=N().$implicit;var c=N();D("value",b)("selected",c.selectedSources.includes(b));y();D("matTooltip",a.tooltipText);y();S(" ",a.displayName," ")}},OGb=function(a,b){a&1&&(K(0),C(1,NGb,3,4,"mat-chip-option",2),L());a&2&&(a=b.$implicit,b=N(),y(),D("ngIf",b.DEFINITIONS[a]))},PGb=function(a,b){if(a&1){var c=u();E(0,"button",7);M("click",function(){var d=v(c).$implicit,e=N();d=d.numberOfDays;e.selectedTimeBoundary=d;e.change.emit(d);return x()});
R(1);G()}a&2&&(a=b.$implicit,b=N(),D("disabled",a.numberOfDays===b.selectedTimeBoundary),y(),S(" ",a.label," "))},QGb=function(a){if(a&1){var b=u();K(0);E(1,"div",1)(2,"span",2)(3,"a",3);M("click",function(){v(b);N().onChipClicked.emit();return x()});R(4,"DMA");G()()();L()}a&2&&(a=N(),y(),D("matTooltip",a.DMA_TOOLTIP_TEXT))},RGb=function(a,b){if(a&1){var c=u();K(0);E(1,"source-filter-chips",5);M("change",function(d){v(c);var e=N().missionControlPrefs;d=d.map(zLa);e.prefs.needsAttentionSources=d;kt(e,
{needsAttentionSources:d,isNeedsAttentionSourcesConfigured:!0});return x()});G();L()}a&2&&(a=b.ngIf,b=N(),y(),D("sourceFilterKeys",b.ALL_NEEDS_ATTENTION_SOURCE_FILTERS)("selectedSources",a))},SGb=function(a,b){if(a&1){var c=u();K(0);E(1,"time-boundary-filter",6);M("change",function(d){v(c);var e=N().missionControlPrefs;e.prefs.needsAttentionDaysOld=d;kt(e,{needsAttentionDaysOld:d});return x()});G();L()}a&2&&(a=b.ngIf,y(),D("selectedTimeBoundary",a))},TGb=function(a){a&1&&(E(0,"p",8),R(1," No alerts "),
G())},VGb=function(a){if(a&1){var b=u();E(0,"th",27)(1,"mat-checkbox",28);M("change",function(d){v(b);var e=N(2).$implicit,f=N(2);return x(d?UGb(f,e):null)});G()()}if(a&2){a=N(2).$implicit;var c=N(2);y();D("checked",c.selection.hasValue()&&c.selection.selected.length===a.length)("indeterminate",c.selection.hasValue()&&c.selection.selected.length!==a.length)}},WGb=function(a,b){if(a&1){var c=u();E(0,"td",29)(1,"mat-checkbox",30);M("click",function(d){return d.stopPropagation()})("change",function(d){var e=
v(c).$implicit,f=N(4);return x(d?f.selection.toggle(e.id):null)});G()()}a&2&&(a=b.$implicit,b=N(4),y(),D("checked",b.selection.isSelected(a.id)))},XGb=function(a){a&1&&(E(0,"th",27),R(1),G());a&2&&(a=N(4),y(),$f(a.selection.hasValue()?"":"Type"))},YGb=function(a,b){a&1&&(E(0,"td",29),I(1,"mat-icon",31),G());a&2&&(a=b.$implicit,y(),Bf("product-icon ",a.icon,""),D("matTooltip",a.type)("svgIcon",a.icon))},ZGb=function(a){a&1&&(E(0,"span"),R(1,"Description"),G())},aHb=function(a){if(a&1){var b=u();E(0,
"button",33);M("click",function(){v(b);var c=N(5);return x($Gb(c))});R(1,"Dismiss");G()}},bHb=function(a){a&1&&(E(0,"th",27),C(1,ZGb,2,0,"span",2)(2,aHb,2,0,"button",32),G());a&2&&(a=N(4),y(),D("ngIf",!a.selection.hasValue()),y(),D("ngIf",a.selection.hasValue()))},cHb=function(a){a&1&&I(0,"b-issue-visibility-chip",37);if(a&2){a=N(2).$implicit;var b=N(4);D("issueId",b.extractLastDigits(a.id))}},dHb=function(a){a&1&&I(0,"b-component-access-level-indicator",41);a&2&&(a=N(2).$implicit,D("accessLevel",
a.accessLevel)("compactMode",!0))},eHb=function(a){a&1&&I(0,"b-issue-priority-display",42);a&2&&(a=N(2).$implicit,D("issuePriority",a.priority))},fHb=function(a){if(a&1){var b=u();E(0,"div",36);C(1,cHb,1,1,"b-issue-visibility-chip",37)(2,dHb,1,2)(3,eHb,1,1,"b-issue-priority-display",38);E(4,"a",39);M("auxclick",function(){v(b);var d=N().$implicit,e=N(2).$implicit,f=N(2);return x(f.sendClickAnalytics(d,e.slice(0,f.numDisplayedRows)))});R(5);G();E(6,"onedev-dma-chip",40);M("onChipClicked",function(){v(b);
var d=N(5);return x(d.sendDmaAnalytics())});G()()}if(a&2){a=N().$implicit;var c=N(4);y();Cf(1,c.enableNewVisibilityChips&&"Buganizer"===a.type?1:2);y(2);D("ngIf",a.priority);y();D("href",a.link,Pd);pf("target",a.icon!==c.BUGANIZER_SOURCE_ICON?"_blank":null);y();S(" ",a.description," ");y();D("hotlistIds",a.hotlistIds)}},gHb=function(a){a&1&&(E(0,"span",43),R(1,"No access to linked file"),G())},hHb=function(a,b){a&1&&(E(0,"td",29),C(1,fHb,7,6,"div",34)(2,gHb,2,0,"ng-template",null,35,jg),G());if(a&
2){a=b.$implicit;var c=Q(3);y();D("ngIf",a.description&&""!==a.description)("ngIfElse",c)}},iHb=function(a){a&1&&(E(0,"th",27),R(1),G());a&2&&(a=N(4),y(),$f(a.selection.hasValue()?"":"Most recent alert"))},jHb=function(a){a&1&&I(0,"b-formatted-date-time",45);a&2&&(a=N().$implicit,D("timestamp",a.lastAlertTimestamp)("paddingLeftPx",0))},kHb=function(a,b){a&1&&(E(0,"td",29),C(1,jHb,1,2,"b-formatted-date-time",44),G());a&2&&(a=b.$implicit,y(),D("ngIf",a.lastAlertTimestamp))},lHb=function(a){a&1&&(E(0,
"th",46),R(1),G());a&2&&(a=N(4),D("onedevFeatureTooltip",a.TOOLTIP_ID_MENTIONED_COMMENTS_HOVERCARD),y(),S(" ",a.selection.hasValue()?"":"Alert"," "))},mHb=function(a,b){a&1&&(E(0,"td",29),I(1,"needs-attention-signals-cell",47),G());a&2&&(a=b.$implicit,y(),D("issueId",a.issueId)("signals",a.signals))},oHb=function(a){a&1&&(E(0,"onedev-feature-tooltip-controller",48)(1,"onedev-feature-tooltip",49)(2,"p",50),R(3,'"Mentioned me" hovercard'),G(),R(4," For Buganizer issues, hover over the chip to see the comment you were mentioned "),
G()());a&2&&(a=N(4),D("showTooltip$",a.showFeatureTooltip$),y(),D("customPositions",fg(3,nHb,a.TOOLTIP_POSITIONS.RIGHT_CENTER_BOTTOM))("tooltipId",a.TOOLTIP_ID_MENTIONED_COMMENTS_HOVERCARD))},pHb=function(a){a&1&&(E(0,"th",27),R(1),G());a&2&&(a=N(4),y(),$f(a.selection.hasValue()?"":"Action"))},qHb=function(a,b){a&1&&(E(0,"td",29)(1,"a",51),R(2),G()());a&2&&(a=b.$implicit,b=N(4),y(2),S(" ",b.SIGNAL_TO_ACTION_TEXT.get(b.getHighestPrioritySignal(a.signals).type)," "))},rHb=function(a){a&1&&I(0,"td",
52)},sHb=function(a,b){if(a&1){var c=u();E(0,"td",29)(1,"button",53);M("click",function(d){var e=v(c).$implicit,f=N(4);d.preventDefault();return x(f.copyIdOrLink(e))});I(2,"mat-icon",54);G()()}a&2&&(a=b.$implicit,y(),D("matTooltip","Buganizer"===a.type?"Copy ID to clipboard":"Copy link to clipboard"),pf("aria-label","Buganizer"===a.type?"Copy ID to clipboard":"Copy link to clipboard"))},tHb=function(a){a&1&&I(0,"td",52)},vHb=function(a){if(a&1){var b=u();E(0,"td",29)(1,"button",55);M("click",function(c){var d=
v(b).$implicit,e=N(4);c.preventDefault();return x(uHb(e,d))});I(2,"mat-icon",56);G()()}},wHb=function(a){a&1&&I(0,"tr",57)},xHb=function(a){if(a&1){var b=u();E(0,"tr",58);M("click",function(c){var d=v(b).$implicit,e=N(2).$implicit,f=N(2);return x(f.navigateToResource(c,d,e.slice(0,f.numDisplayedRows)))});G()}},yHb=function(a){a&1&&(E(0,"tr",59)(1,"td",60),R(2," No alerts found "),G()())},zHb=function(a){a&1&&I(0,"mat-icon",64)},AHb=function(a){a&1&&I(0,"mat-icon",65)},BHb=function(a){if(a&1){var b=
u();E(0,"button",61);M("click",function(){v(b);var d=N(2).$implicit,e=N(2);return x(e.setNumDisplayedRows(d))});R(1);C(2,zHb,1,0,"mat-icon",62)(3,AHb,1,0,"mat-icon",63);G()}if(a&2){a=N(2).$implicit;var c=N(2);y();S(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");y();D("ngIf",a.length>c.numDisplayedRows);y();D("ngIf",a.length===c.numDisplayedRows)}},CHb=function(a){a&1&&(K(0),E(1,"table",9),K(2,10),C(3,VGb,2,2,"th",11)(4,WGb,2,1,"td",12),L(),K(5,13),C(6,XGb,2,1,"th",11)(7,YGb,2,5,"td",
12),L(),K(8,14),C(9,bHb,3,2,"th",11)(10,hHb,4,2,"td",12),L(),K(11,15),C(12,iHb,2,1,"th",11)(13,kHb,2,1,"td",12),L(),K(14,16),C(15,lHb,2,2,"th",17)(16,mHb,2,2,"td",12)(17,oHb,5,5,"onedev-feature-tooltip-controller",18),L(),K(18,19),C(19,pHb,2,1,"th",11)(20,qHb,3,1,"td",12),L(),K(21,20),C(22,rHb,1,0,"td",21)(23,sHb,3,2,"td",12),L(),K(24,22),C(25,tHb,1,0,"td",21)(26,vHb,3,0,"td",12),L(),C(27,wHb,1,0,"tr",23)(28,xHb,1,0,"tr",24)(29,yHb,3,0,"tr",25),G(),C(30,BHb,4,3,"button",26),L());if(a&2){a=N().$implicit;
var b=N(2);y();D("dataSource",a.slice(0,b.numDisplayedRows));y(16);D("ngIf",b.enableMentionedCommentsHovercard);y(10);D("matHeaderRowDef",b.displayedColumns);y();D("matRowDefColumns",b.displayedColumns);y(2);D("ngIf",a.length>b.DEFAULT_NUM_ROWS_DISPLAYED)}},DHb=function(a,b){a&1&&(K(0),C(1,TGb,2,0,"p",7)(2,CHb,31,5,"ng-container",2),L());a&2&&(a=b.$implicit,y(),D("ngIf",0===a.length),y(),D("ngIf",0<a.length))},EHb=function(a){a&1&&(K(0),C(1,DHb,3,2,"ng-container",2),T(2,"async"),L());a&2&&(a=N(),
y(),D("ngIf",V(2,1,a.allNeedsAttention$)))},FHb=function(a){a&1&&(E(0,"div",66),I(1,"b-spinner",67),G());a&2&&(y(),D("ariaLabel","loading needs attention alerts"))},GHb=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=An(a).filter(function(d){return!c.includes(d)}).sort();return[c.join(","),a.join(",")]},HHb=function(a,b){a&1&&(E(0,"div",8)(1,"span",9),R(2),G()());a&2&&(a=b.ngIf,y(2),$f(a))},IHb=function(a){a&
1&&(E(0,"div",10),I(1,"b-needs-attention-table",11),G());a&2&&(a=N(),y(),D("refreshTable",a.refreshData))},JHb=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""},LHb=function(a,b,c){return a.map(function(d){var e=d.snapshot[0],f=d.aggregatedData,h,k,q,t,w,z,F=d.issueId,J="issues/"+d.issueId,H=e.title,O=Math.floor((null!=(k=null==f?void 0:f.modifiedTimeMicros)?k:0)/1E3);f=Math.floor((null!=(q=null==f?void 0:f.createdTimeMicros)?q:0)/1E3);q=KHb(b,d,c);k=e.priority;return{issueId:F,link:J,title:H,modifiedDate:O,createdDate:f,role:q,icon:"bug_report_24px",priority:"P0"===k||"P1"===k?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!=(z=e.hotlistId)?z:[]}})},MHb=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:JHb(b,d.source),icon:ECa(d),priority:null,type:null,source:d.source,accessLevel:null}:null}).filter(Bi)},KHb=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(k){return k.emailAddress===a}))return"Collaborator";break;case "Following":return b=b.userData,d.ccUsers&&d.ccUsers.some(function(k){return k.emailAddress===a})?"CC'd":b&&b.voted?"Upvoted":b&&b.starred?"Starred":"Commenter"}return"--"},NHb=function(a){a&1&&(E(0,"label",16),R(1),G());a&2&&(a=N().$implicit,
D("matTooltip",a.description),y(),$f(a.label))},OHb=function(a,b){if(a&1){var c=u();K(0);E(1,"source-filter-chips",17);M("change",function(d){v(c);var e=N(3).prefsService;d=d.map(zLa);e.prefs.myTasksSources=d;kt(e,{myTasksSources:d,isMyTasksSourcesConfigured:!0});return x()});G();L()}a&2&&(a=b.ngIf,b=N(3),y(),D("sourceFilterKeys",b.ALL_MY_TASK_FILTERS)("selectedSources",a))},PHb=function(a,b){if(a&1){var c=u();K(0);E(1,"time-boundary-filter",18);M("change",function(d){v(c);var e=N(3).prefsService;
e.prefs.myTasksDaysOld=d;kt(e,{myTasksDaysOld:d});return x()});G();L()}a&2&&(a=b.ngIf,y(),D("selectedTimeBoundary",a))},QHb=function(a,b){a&1&&(K(0),E(1,"p",19),R(2),G(),L());a&2&&(a=b.ngIf,y(2),S(" ",0===a.length?"Enable source filters to see tasks":"No tasks"," "))},RHb=function(a){a&1&&(K(0),C(1,QHb,3,1,"ng-container",14),T(2,"async"),L());a&2&&(a=N(5),y(),D("ngIf",V(2,1,a.sources$)))},SHb=function(a){a&1&&(E(0,"th",36),R(1,"Type"),G())},THb=function(a,b){a&1&&(E(0,"td",37),I(1,"mat-icon",38),
G());a&2&&(a=b.$implicit,y(),Bf("product-icon ",a.icon,""),D("matTooltip",a.source)("svgIcon",a.icon))},UHb=function(a){a&1&&(E(0,"th",36),R(1,"Description"),G())},VHb=function(a){a&1&&I(0,"b-issue-visibility-chip",43);a&2&&(a=N(3).$implicit,D("issueId",a.issueId)("compactMode",!0))},WHb=function(a){a&1&&C(0,VHb,1,2,"b-issue-visibility-chip",43);a&2&&(a=N(2).$implicit,Cf(0,a.issueId?0:-1))},XHb=function(a){a&1&&I(0,"b-component-access-level-indicator",44);a&2&&(a=N(2).$implicit,D("accessLevel",a.accessLevel)("compactMode",
!0))},YHb=function(a){a&1&&I(0,"b-issue-priority-display",45);a&2&&(a=N(2).$implicit,D("issuePriority",a.priority))},ZHb=function(a){if(a&1){var b=u();K(0);C(1,WHb,1,1)(2,XHb,1,2)(3,YHb,1,1,"b-issue-priority-display",40);E(4,"a",41);M("auxclick",function(){v(b);var d=N().$implicit,e=N(6);return x(e.sendClickAnalytics(d))});R(5);G();E(6,"onedev-dma-chip",42);M("onChipClicked",function(){v(b);var d=N(7);return x(d.sendDmaAnalytics())});G();L()}if(a&2){a=N().$implicit;var c=N(6);y();Cf(1,c.enableNewVisibilityChips?
1:2);y(2);D("ngIf",a.priority);y();D("href",a.link,Pd);pf("target",a.icon!==c.BUGANIZER_SOURCE_ICON?"_blank":null);y();$f(a.title);y();D("hotlistIds",a.hotlistIds)}},$Hb=function(a){a&1&&(E(0,"span",46),R(1,"No access to linked file"),G())},aIb=function(a,b){a&1&&(E(0,"td",37),C(1,ZHb,7,6,"ng-container",15)(2,$Hb,2,0,"ng-template",null,39,jg),G());if(a&2){a=b.$implicit;var c=Q(3);y();D("ngIf",a.title&&""!==a.title)("ngIfElse",c)}},bIb=function(a){a&1&&(E(0,"th",36),R(1,"Last modified"),G())},cIb=
function(a){a&1&&I(0,"b-formatted-date-time",48);a&2&&(a=N().$implicit,D("timestamp",a.modifiedDate)("paddingLeftPx",0))},dIb=function(a,b){a&1&&(E(0,"td",37),C(1,cIb,1,2,"b-formatted-date-time",47),G());a&2&&(a=b.$implicit,y(),D("ngIf",a.modifiedDate))},eIb=function(a){a&1&&(E(0,"th",36),R(1,"My role"),G())},fIb=function(a,b){a&1&&(E(0,"td",37),R(1),G());a&2&&(a=b.$implicit,y(),$f(a.role))},gIb=function(a){a&1&&(E(0,"th",36),R(1,"Creation date"),G())},hIb=function(a){a&1&&(K(0),I(1,"b-formatted-date-time",
48),L());a&2&&(a=N().$implicit,y(),D("timestamp",a.createdDate)("paddingLeftPx",0))},iIb=function(a,b){a&1&&(E(0,"td",37),C(1,hIb,2,2,"ng-container",15),G());if(a&2){a=b.$implicit;N(6);var c=Q(11);y();D("ngIf",0<a.createdDate)("ngIfElse",c)}},jIb=function(a){a&1&&I(0,"td",49)},kIb=function(a,b){if(a&1){var c=u();E(0,"td",37)(1,"button",50);M("click",function(d){var e=v(c).$implicit,f=N(6);d.preventDefault();return x(f.copyIdOrLink(e))});I(2,"mat-icon",51);G()()}a&2&&(a=b.$implicit,y(),D("matTooltip",
"Buganizer"===a.source?"Copy ID to clipboard":"Copy link to clipboard"),pf("aria-label","Buganizer"===a.source?"Copy ID to clipboard":"Copy link to clipboard"))},lIb=function(a){a&1&&I(0,"tr",52)},mIb=function(a){if(a&1){var b=u();E(0,"tr",53);M("click",function(c){var d=v(b).$implicit,e=N(6);return x(e.navigateToResource(c,d))});G()}},nIb=function(a){a&1&&I(0,"mat-icon",59)},oIb=function(a){a&1&&I(0,"mat-icon",60)},pIb=function(a){if(a&1){var b=u();E(0,"button",56);M("click",function(){v(b);var d=
N(3).ngIf,e=N(4);return x(e.setNumDisplayedRows(d))});R(1);C(2,nIb,1,0,"mat-icon",57)(3,oIb,1,0,"mat-icon",58);G()}if(a&2){a=N(3).ngIf;var c=N(4);y();S(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");y();D("ngIf",a.length>c.numDisplayedRows);y();D("ngIf",a.length===c.numDisplayedRows)}},qIb=function(a){a&1&&(E(0,"td",54),C(1,pIb,4,3,"button",55),G());if(a&2){a=N(2).ngIf;var b=N(4);y();D("ngIf",a.length>b.DEFAULT_NUM_ROWS_DISPLAYED)}},rIb=function(a){a&1&&I(0,"tr",61);if(a&2){a=N(2).ngIf;
var b=N(4);D("hidden",!(a.length>b.DEFAULT_NUM_ROWS_DISPLAYED))}},sIb=function(a,b){a&1&&(E(0,"td",64),R(1),G());a&2&&(a=b.ngIf,y(),S(" ",0===a.length?"Enable source filters to see tasks":"No tasks found"," "))},tIb=function(a){a&1&&(E(0,"tr",62),C(1,sIb,2,1,"td",63),T(2,"async"),G());a&2&&(a=N(6),y(),D("ngIf",V(2,1,a.sources$)))},wIb=function(a){a&1&&(K(0),E(1,"table",20),K(2,21),C(3,SHb,2,0,"th",22)(4,THb,2,5,"td",23),L(),K(5,24),C(6,UHb,2,0,"th",22)(7,aIb,4,2,"td",23),L(),K(8,25),C(9,bIb,2,0,"th",
22)(10,dIb,2,1,"td",23),L(),K(11,26),C(12,eIb,2,0,"th",22)(13,fIb,2,1,"td",23),L(),K(14,27),C(15,gIb,2,0,"th",22)(16,iIb,2,2,"td",23),L(),K(17,28),C(18,jIb,1,0,"td",29)(19,kIb,3,2,"td",23),L(),C(20,lIb,1,0,"tr",30)(21,mIb,1,0,"tr",31),K(22,32),C(23,qIb,2,1,"td",33),L(),C(24,rIb,1,1,"tr",34)(25,tIb,3,3,"tr",35),G(),L());if(a&2){a=N().ngIf;var b=N(2).$implicit,c=N(2);y();Bf("table-",b.label,"");D("dataSource",a.slice(0,c.numDisplayedRows)||eg(7,uIb));y(19);D("matHeaderRowDef",c.displayColumns);y();
D("matRowDefColumns",c.displayColumns);y(3);D("matFooterRowDef",eg(8,vIb))}},xIb=function(a,b){a&1&&(K(0),C(1,RHb,3,3,"ng-container",14)(2,wIb,26,9,"ng-container",14),L());a&2&&(a=b.ngIf,y(),D("ngIf",0===a.length),y(),D("ngIf",0<a.length))},yIb=function(a){a&1&&(K(0),C(1,xIb,3,2,"ng-container",14),T(2,"async"),L());a&2&&(a=N().$implicit,y(),D("ngIf",V(2,1,a.tasks)))},zIb=function(a,b){a&1&&(E(0,"mat-tab"),C(1,NHb,2,2,"ng-template",12),E(2,"div",13)(3,"span",2),R(4,"Sources"),G(),C(5,OHb,2,2,"ng-container",
14),T(6,"async"),C(7,PHb,2,1,"ng-container",14),T(8,"async"),G(),C(9,yIb,3,3,"ng-container",15),G());if(a&2){a=b.$implicit;b=N(2);var c=Q(9);y(5);D("ngIf",V(6,4,b.sources$));y(2);D("ngIf",V(8,6,b.timeBoundary$));y(2);D("ngIf",!a.loading)("ngIfElse",c)}},BIb=function(a){if(a&1){var b=u();E(0,"div",9)(1,"mat-tab-group",10);M("selectedIndexChange",function(c){v(b);var d=N();AIb(d.prefsService,"mc-my-tasks",c);d.numDisplayedRows=10;kp(d.analytics,Sp.MISSION_CONTROL,"view",d.tabData[c].label);return x()});
C(2,zIb,10,8,"mat-tab",11);G()()}a&2&&(a=N(),y(),D("selectedIndex",a.INITIAL_TAB_INDEX),y(),D("ngForOf",a.tabData))},CIb=function(a){a&1&&(E(0,"div",65),I(1,"b-spinner",66),G());a&2&&(y(),D("ariaLabel","loading tasks"))},DIb=function(a){a&1&&R(0,"--")},EIb=function(a,b){return a.modifiedDate?b.modifiedDate?b.modifiedDate-a.modifiedDate:1:-1},FIb=function(a){a&1&&(E(0,"p",12),R(1),G());a&2&&(a=N().$implicit,y(),$f(a.description))},GIb=function(a,b){a&1&&(E(0,"mat-list-option",8)(1,"div",9)(2,"label",
10),R(3),G()(),C(4,FIb,2,1,"p",11),G());a&2&&(a=b.$implicit,b=N(2),xf("height","auto"),D("selected",b.selectedIds.has(a.searchId))("value",a.searchId),y(3),$f(a.name),y(),D("ngIf",a.description))},HIb=function(a,b){if(a&1){var c=u();K(0);E(1,"mat-selection-list",6);M("selectionChange",function(d){v(c);var e=N();return x(e.onChangeMatList(d))});C(2,GIb,5,6,"mat-list-option",7);G();L()}a&2&&(a=b.$implicit,b=N(),y(2),D("ngForOf",a)("ngForTrackBy",b.trackBySearchId))},IIb=function(a){a&1&&(K(0),I(1,"b-user-image",
3),E(2,"span",4),I(3,"b-user-display",5),G(),R(4,"\u00a0created\u00a0"),E(5,"b-issue-reference-widget",6),R(6),G(),I(7,"b-formatted-date-time",7),L());a&2&&(a=N(),y(),D("email",null==a.event.userPerformingActionUser?null:a.event.userPerformingActionUser.emailAddress)("size","small"),y(2),D("model",a.event.userPerformingActionUser),y(2),D("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),y(),S("b/",a.event.issueId,""),y(),D("timestamp",a.event.modifiedDate))},KIb=function(a){a&
1&&(K(0),I(1,"b-user-image",3),E(2,"span",4),I(3,"b-user-display",5),G(),R(4,"\u00a0submitted\u00a0"),I(5,"b-changelist-link",8),R(6,"\u00a0for \u00a0"),E(7,"b-issue-reference-widget",6),R(8),G(),I(9,"b-formatted-date-time",7),L());a&2&&(a=N(),y(),D("email",JIb(a.event))("size","small"),y(2),D("model",{emailAddress:JIb(a.event)}),y(2),D("changelistId",a.getChangelistNumber(a.event)),y(2),D("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),y(),S("b/",a.event.issueId,""),y(),D("timestamp",
a.event.modifiedDate))},LIb=function(a){a&1&&(K(0),I(1,"b-user-image",3),E(2,"span",4),I(3,"b-user-display",5),G(),R(4,"\u00a0commented on\u00a0"),E(5,"b-issue-reference-widget",6),R(6),G(),I(7,"b-formatted-date-time",7),L());a&2&&(a=N(),y(),D("email",null==a.event.userPerformingActionUser?null:a.event.userPerformingActionUser.emailAddress)("size","small"),y(2),D("model",a.event.userPerformingActionUser),y(2),D("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),y(),S("b/",a.event.issueId,
""),y(),D("timestamp",a.event.modifiedDate))},NIb=function(a){a&1&&(K(0),I(1,"b-user-image",3),E(2,"span",4),I(3,"b-user-display",5),G(),R(4,"\u00a0changed priority for\u00a0"),E(5,"b-issue-reference-widget",6),R(6),G(),R(7," \u00a0from\u00a0"),I(8,"b-issue-priority-display",9),R(9," \u00a0to\u00a0 "),I(10,"b-issue-priority-display",9)(11,"b-formatted-date-time",7),L());a&2&&(a=N(),y(),D("email",null==a.event.userPerformingActionUser?null:a.event.userPerformingActionUser.emailAddress)("size","small"),
y(2),D("model",a.event.userPerformingActionUser),y(2),D("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),y(),S("b/",a.event.issueId,""),y(2),D("issuePriority",a.toIssuePriority(MIb(a.event,"priority"))),y(2),D("issuePriority",a.toIssuePriority(lt(a.event,"priority"))),y(),D("timestamp",a.event.modifiedDate))},OIb=function(a){a&1&&(K(0),I(1,"b-user-image",3),E(2,"span",4),I(3,"b-user-display",5),G(),R(4,"\u00a0changed status for\u00a0"),E(5,"b-issue-reference-widget",6),R(6),G(),
R(7),I(8,"b-formatted-date-time",7),L());a&2&&(a=N(),y(),D("email",null==a.event.userPerformingActionUser?null:a.event.userPerformingActionUser.emailAddress)("size","small"),y(2),D("model",a.event.userPerformingActionUser),y(2),D("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),y(),S("b/",a.event.issueId,""),y(),ag(" \u00a0from\u00a0",MIb(a.event,"status"),"\u00a0to\u00a0",lt(a.event,"status")," "),y(),D("timestamp",a.event.modifiedDate))},PIb=function(a){a&1&&(K(0),I(1,"b-user-image",
3),E(2,"span",4),I(3,"b-user-display",5),G(),R(4,"\u00a0assigned\u00a0"),E(5,"b-issue-reference-widget",6),R(6),G(),R(7," \u00a0to\u00a0"),I(8,"b-user-email",13)(9,"b-formatted-date-time",7),L());if(a&2){a=N(2);var b;y();D("email",null==a.event.userPerformingActionUser?null:a.event.userPerformingActionUser.emailAddress)("size","small");y(2);D("model",a.event.userPerformingActionUser);y(2);D("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId);y();S("b/",a.event.issueId,"");y(2);D("email",
null!==(b=lt(a.event,"assignee"))&&void 0!==b?b:"");y();D("timestamp",a.event.modifiedDate)}},QIb=function(a){a&1&&(K(0),I(1,"b-user-email",13),L());if(a&2){a=N(3);var b;y();D("email",null!==(b=lt(a.event,"assignee"))&&void 0!==b?b:"")}},RIb=function(a){a&1&&(I(0,"b-user-image",3),E(1,"span",4),I(2,"b-user-display",5),G(),R(3,"\u00a0changed assignee for\u00a0"),E(4,"b-issue-reference-widget",6),R(5),G(),R(6," \u00a0from\u00a0"),I(7,"b-user-email",13),R(8,"\u00a0to\u00a0"),C(9,QIb,2,1,"ng-container",
10),I(10,"b-formatted-date-time",7));if(a&2){N();var b=Q(5);a=N();var c;D("email",null==a.event.userPerformingActionUser?null:a.event.userPerformingActionUser.emailAddress)("size","small");y(2);D("model",a.event.userPerformingActionUser);y(2);D("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId);y();S("b/",a.event.issueId,"");y(2);D("email",null!==(c=MIb(a.event,"assignee"))&&void 0!==c?c:"");y(2);D("ngIf","<none>"!==lt(a.event,"assignee"))("ngIfElse",b);y();D("timestamp",a.event.modifiedDate)}},
SIb=function(a){a&1&&R(0);a&2&&(a=N(2),S(" ",lt(a.event,"assignee")," "))},TIb=function(a){a&1&&(K(0),C(1,PIb,10,8,"ng-container",10)(2,RIb,11,10,"ng-template",null,11,jg)(4,SIb,1,1,"ng-template",null,12,jg),L());if(a&2){var b=Q(3);a=N();y();D("ngIf","<none>"===MIb(a.event,"assignee"))("ngIfElse",b)}},UIb=function(a){a&1&&(K(0),I(1,"b-user-image",3),E(2,"span",4),I(3,"b-user-display",5),G(),R(4,"\u00a0updated\u00a0"),E(5,"b-issue-reference-widget",6),R(6),G(),I(7,"b-formatted-date-time",7),L());a&
2&&(a=N(),y(),D("email",null==a.event.userPerformingActionUser?null:a.event.userPerformingActionUser.emailAddress)("size","small"),y(2),D("model",a.event.userPerformingActionUser),y(2),D("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),y(),S("b/",a.event.issueId,""),y(),D("timestamp",a.event.modifiedDate))},WIb=function(a,b){a&1&&(E(0,"div"),I(1,"recent-event-row",4),G());a&2&&(a=b.$implicit,N(2),y(),D("event",a)("type",VIb(a)))},XIb=function(a,b){if(a&1){var c=u();K(0);E(1,"div",
1);R(2,"Recent activity");G();C(3,WIb,2,2,"div",2);E(4,"button",3);M("click",function(){var d=v(c).ngIf,e=N();e.numDisplayedEvents=d.length>e.numDisplayedEvents?d.length:3;return x()});R(5);G();L()}a&2&&(a=b.ngIf,b=N(),y(3),D("ngForOf",a.slice(0,b.numDisplayedEvents)),y(2),S(" ",a.length>b.numDisplayedEvents?"Show more":"Show less"," "))},YIb=function(a,b){a&1&&(E(0,"div"),I(1,"recent-events",6),G());a&2&&(a=b.ngIf,y(),D("query",a.filter))},$Ib=function(a){a&1&&(K(0),I(1,"rollups-list",4),T(2,"async"),
I(3,"stat-cards-list",4),T(4,"async"),I(5,"b-issues-table",5),T(6,"async"),C(7,YIb,2,1,"div",0),T(8,"async"),L());a&2&&(a=N(2),y(),D("ref",a.entityReference)("query",V(2,10,a.issueQuery$)),y(2),D("ref",a.entityReference)("query",V(4,12,a.issueQuery$)),y(2),D("issueIds",V(6,14,a.issueIds$))("options",a.tableOptions)("filters",ZIb(a.prefsService,a.entityReference))("tableColumns",a.FLAT_LIST_COLUMNS)("initialSort",a.INITIAL_SORT),y(2),D("ngIf",V(8,16,a.issueQuery$)))},aJb=function(a,b){a&1&&(E(0,"div"),
I(1,"recent-events",6),G());a&2&&(a=b.ngIf,y(),D("query",a.filter))},bJb=function(a){a&1&&(K(0),I(1,"rollups-list",4),T(2,"async"),I(3,"stat-cards-list",4),T(4,"async"),I(5,"b-issues-table",5),T(6,"async"),C(7,aJb,2,1,"div",0),T(8,"async"),L());a&2&&(a=N(2),y(),D("ref",a.entityReference)("query",V(2,10,a.issueQuery$)),y(2),D("ref",a.entityReference)("query",V(4,12,a.issueQuery$)),y(2),D("issueIds",V(6,14,a.issueIds$))("options",a.tableOptions)("filters",ZIb(a.prefsService,a.entityReference))("tableColumns",
a.FLAT_LIST_COLUMNS)("initialSort",a.INITIAL_SORT),y(2),D("ngIf",V(8,16,a.issueQuery$)))},cJb=function(a){a&1&&(E(0,"div"),I(1,"recent-events",6),G());a&2&&(a=N(3),y(),D("query","parentid:"+a.referencedId+"+ | id:"+a.referencedId))},fJb=function(a){a&1&&(K(0),I(1,"rollups-project",7)(2,"stat-cards-project",7)(3,"b-issue-relations-table",8),C(4,cJb,2,1,"div",0),L());if(a&2){a=N().$implicit;var b=N();y();D("id",a);y();D("id",a);y();Nf("saveExpansionAtKey","project-expansion-",a,"");D("rootIssueId",
a)("filters",ZIb(b.prefsService,b.entityReference))("tableColumns",b.TREE_COLUMNS)("options",fg(10,dJb,eg(9,eJb)))("defaultExpansionLevel",0);y();D("ngIf",a)}},gJb=function(a){a&1&&(E(0,"span",9),R(1),G());a&2&&(a=N(2),y(),S(" Unhandled entity type: ",a.entityType," "))},hJb=function(a){a&1&&(K(0)(1,1),C(2,$Ib,9,18,"ng-container",2)(3,bJb,9,18,"ng-container",2)(4,fJb,5,12,"ng-container",2)(5,gJb,2,1,"span",3),L()());a&2&&(a=N(),y(),D("ngSwitch",a.entityType),y(),D("ngSwitchCase","hotlist"),y(),D("ngSwitchCase",
"savedsearch"),y(),D("ngSwitchCase","issue"))},iJb=function(a){a&1&&(E(0,"button",11),I(1,"mat-icon",12),R(2," Add "),G());if(a&2){N();var b=Q(9);D("matMenuTriggerFor",b)}},jJb=function(a){a&1&&I(0,"b-issue-card",28);a&2&&(a=N().$implicit,D("issueId",a.ref))},lJb=function(a,b){if(a&1){var c=u();E(0,"li",23);M("click",function(){var e=v(c).$implicit,f=N(3);return x(kJb(f,e.ref))});E(1,"p",24);R(2);G();E(3,"p",25);R(4);G();E(5,"onedev-hovercard",null,26);C(7,jJb,1,1,"b-issue-card",27);G()()}if(a&2){a=
b.$implicit;var d=Q(6);Nf("title","Click to add\n\rWhy this? ",a.suggestionRationale,"");y(2);$f(a.title);y();D("onedevHovercardTrigger",d);y();S("b/",a.ref,"");y(3);D("ngIf",a.ref)}},mJb=function(a){a&1&&(K(0),E(1,"div",20)(2,"h4"),R(3,"Suggestions:"),G(),E(4,"ol",21),C(5,lJb,8,5,"li",22),G()(),L());a&2&&(a=N(2),y(5),D("ngForOf",a.suggestions))},nJb=function(a){a&1&&(E(0,"section",13)(1,"div",14),I(2,"img",15),C(3,mJb,6,1,"ng-container",16),G(),E(4,"p",17),R(5," Use work areas to closely monitor a hotlist, saved search, or a parent/child project issue. "),
G(),E(6,"button",18),I(7,"mat-icon",19),R(8," Add work area "),G()());if(a&2){a=N();var b=Q(9);y(2);D("src",a.EMPTY_STATE_IMG,Pd);y();D("ngIf",0<a.suggestions.length);y(3);D("matMenuTriggerFor",b)}},oJb=function(a,b){if(a&1){var c=u();E(0,"button",8);M("click",function(){var d=v(c).$implicit,e=N(4);e.clipboard.copy(d);Ks(e.butterBar,"ID copied",2E3);return x()});I(1,"mat-icon",45);R(2);G()}a&2&&(a=b.$implicit,y(2),S(" Copy ID: ",a," "))},qJb=function(a){if(a&1){var b=u();R(0);E(1,"button",33);M("click",
function(h){return h.stopPropagation()});I(2,"mat-icon",34);G();E(3,"mat-menu",35,36)(5,"a",37);I(6,"mat-icon",38);R(7);G();C(8,oJb,3,1,"button",39);I(9,"mat-divider");E(10,"button",40);M("click",function(){v(b);var h=N().$implicit,k=N(2);return x(pJb(k.prefsService,h,-1))});I(11,"mat-icon",41);R(12," Move Left ");G();E(13,"button",40);M("click",function(){v(b);var h=N().$implicit,k=N(2);return x(pJb(k.prefsService,h,1))});I(14,"mat-icon",42);R(15," Move Right ");G();E(16,"button",43);M("click",function(){v(b);
var h=N().$implicit,k=N(2).prefsService;if(null!=h){var q,t=(null!=(q=k.prefs.workAreaUrls)?q:[]).slice();h=t.indexOf(h);0>h||(t.splice(h,1),kt(k,{workAreaUrls:t}))}return x()});I(17,"mat-icon",44);R(18," Remove ");G()()}if(a&2){var c=Q(4),d=N();a=d.$implicit;var e=d.first;d=d.last;var f=N(2);S(" ",f.titles[a]||a," ");y();D("matMenuTriggerFor",c);y(4);D("routerLink",f.makeBuganizerUrl(a));y(2);S(" View ",f.getEntityTypeName(a)," ");y();D("ngIf",f.extractLastDigits(a));y(2);D("disabled",e);y(3);D("disabled",
d);y(3);Nf("title","Hide the work area '",a,"' from this section")}},rJb=function(a){a&1&&I(0,"one-work-area",46);if(a&2){a=N().$implicit;var b=N(2);D("reference",a)("refreshWorkArea",b.refreshData)}},sJb=function(a){a&1&&(K(0),E(1,"mat-tab"),C(2,qJb,19,8,"ng-template",31)(3,rJb,1,2,"ng-template",32),G(),L())},tJb=function(a){if(a&1){var b=u();E(0,"mat-tab-group",29);M("selectedIndexChange",function(c){v(b);var d=N();return x(AIb(d.prefsService,d.SECTION_SLUG,c))});C(1,sJb,4,0,"ng-container",30);
G()}a&2&&(a=N(),D("selectedIndex",a.INITIAL_TAB_INDEX),y(),D("ngForOf",a.workAreaReferences))},uJb=function(a){a&1&&Gf(0)},wJb=function(a,b){a&1&&(K(0),C(1,uJb,1,0,"ng-container",7),L());if(a&2){a=b.$implicit;N(3);var c=Q(5);y();D("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(2,vJb,a))}},xJb=function(a){a&1&&(E(0,"div",4)(1,"div",5),R(2,"TEAMFOOD"),G(),C(3,wJb,2,4,"ng-container",6),T(4,"async"),G());a&2&&(a=N(2),y(3),D("ngForOf",V(4,1,a.beapFeaturesTF$)))},yJb=function(a){a&1&&Gf(0)},zJb=function(a,
b){a&1&&(K(0),C(1,yJb,1,0,"ng-container",7),L());if(a&2){a=b.$implicit;N(3);var c=Q(5);y();D("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(2,vJb,a))}},AJb=function(a){a&1&&(E(0,"div",4)(1,"div",5),R(2,"EARLY ACCESS"),G(),C(3,zJb,2,4,"ng-container",6),T(4,"async"),G());a&2&&(a=N(2),y(3),D("ngForOf",V(4,1,a.beapFeaturesEA$)))},BJb=function(a){a&1&&(K(0),C(1,xJb,5,3,"div",3),T(2,"async"),C(3,AJb,5,3,"div",3),T(4,"async"),L());a&2&&(a=N(),y(),D("ngIf",V(2,2,a.hasFeaturesTF$)),y(2),D("ngIf",V(4,4,
a.hasFeaturesEA$)))},CJb=function(a){a&1&&(E(0,"div",8),R(1,"No available experiments"),G())},DJb=function(a){a&1&&(E(0,"a",23),R(1," Learn more"),G());a&2&&(a=N().feature,pf("href",a.learnMoreLink,Pd))},EJb=function(a){a&1&&(E(0,"b-callout",24)(1,"b-callout-body"),R(2," Reload page to see changes. "),G()())},FJb=function(a,b){if(a&1){var c=u();E(0,"div",9)(1,"div",10)(2,"div",11);I(3,"mat-slide-toggle",12);T(4,"featureState");T(5,"featureState");G();E(6,"div",13)(7,"div",14);R(8);G();E(9,"span",
15);R(10);C(11,DJb,2,1,"a",16);G();E(12,"div",17)(13,"a",18);M("click",function(){var d=v(c).feature;N().linkClicked[d.experimentId]=!0;return x()});I(14,"mat-icon",19);R(15);T(16,"featureState");G()();C(17,EJb,3,0,"b-callout",20);G();E(18,"div",21);I(19,"b-app-beap-state-indicator",22);G()()()}a&2&&(a=b.feature,b=N(),y(3),D("checked",V(4,10,a.state))("matTooltip",V(5,12,a.state)?"Opted in":"Opted out")("disabled",!0),y(5),S(" ",a.title," "),y(2),S("",a.description," "),y(),D("ngIf",a.learnMoreLink),
y(2),pf("href","https://webdog.corp.google.com/app/list;frontend=buganizer;id="+a.experimentId,Pd),y(2),S(" ",V(16,14,a.state)?"Opt out":"Opt in"," "),y(2),D("ngIf",!!b.linkClicked[a.experimentId]),y(2),D("experimentId",a.experimentId))},GJb=function(a){a&1&&(E(0,"mat-option",26),R(1),G());a&2&&(a=N().$implicit,D("value",a),y(),S(" ",a.name," "))},HJb=function(a,b){a&1&&(K(0),C(1,GJb,2,2,"mat-option",25),L());a&2&&(a=b.$implicit,y(),D("ngIf",a.shouldDisplay()))},IJb=function(a,b){a&1&&(E(0,"mat-option",
29),R(1),G());a&2&&(a=b.$implicit,D("value",a.id),y(),S(" ",a.name," "))},KJb=function(a){if(a&1){var b=u();E(0,"mat-form-field",5)(1,"mat-select",27);M("ngModelChange",function(c){v(b);var d=N();return x(d.preferredHomepage.selectedOptionId=c)})("selectionChange",function(){v(b);var c=N();return x(JJb(c.preferredHomepage))});C(2,IJb,2,2,"mat-option",28);G()()}a&2&&(a=N(),y(),D("ngModel",a.preferredHomepage.selectedOptionId),y(),D("ngForOf",a.preferredHomepage.selectedMainOption.options))},LJb=function(a){if(a&
1){var b=u();E(0,"div")(1,"mat-slide-toggle",30);M("change",function(c){v(b);var d=N();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 x()});R(2,' Show red "attention" badge in left navigation ');G()()}a&2&&(a=N(),y(),D("checked",!a.hideBadgeInNav))},MJb=function(a,b){a&1&&(E(0,"mat-option",31),R(1),
G());a&2&&(a=b.$implicit,D("value",a.value),y(),S(" ",a.label," "))},NJb=function(a,b){a&1&&(E(0,"mat-option",31),R(1),G());a&2&&(a=b.$implicit,D("value",a.value),y(),S(" ",a.label," "))},OJb=function(a,b){a&1&&(E(0,"mat-option",31),R(1),G());a&2&&(a=b.$implicit,D("value",a.value),y(),S(" ",a.label," "))},PJb=function(a){if(a&1){var b=u();E(0,"div",21)(1,"mat-slide-toggle",32);M("change",function(c){v(b);var d=N();c=c.checked;d.userPreferences.showInlineImages=c;d.save("showInlineImages",c.toString());
return x()});R(2," Show SnipIt images inline in comments ");G()()}a&2&&(a=N(),y(),D("checked",a.getShowInlineImages()))},QJb=function(a){if(a&1){var b=u();K(0);E(1,"div",0)(2,"div",1)(3,"p",2);R(4,"Other");G()();E(5,"div")(6,"div")(7,"mat-slide-toggle",33);M("change",function(c){v(b);var d=N();d.userPreferences.bugScreensaverPreferences.enableBugScreensaver=c.checked;return x(d.save("saveBugScreensaverPreferences"))});R(8," Enable bug screensaver ");G()()()();L()}a&2&&(a=N(),y(7),D("checked",a.userPreferences.bugScreensaverPreferences.enableBugScreensaver))},
RJb=function(a,b){a&1&&(E(0,"mat-option",20),R(1),T(2,"toNewEmailPreference"),G());a&2&&(a=b.$implicit,D("value",a),y(),S(" ",V(2,2,a)," "))},SJb=function(a,b){a&1&&(E(0,"mat-option",20),R(1),T(2,"toNewEmailPreference"),G());a&2&&(a=b.$implicit,D("value",a),y(),S(" ",V(2,2,a)," "))},TJb=function(a,b){a&1&&(E(0,"mat-option",20),R(1),T(2,"toNewEmailPreference"),G());a&2&&(a=b.$implicit,D("value",a),y(),S(" ",V(2,2,a)," "))},UJb=function(a,b){a&1&&(E(0,"mat-option",20),R(1),T(2,"toNewEmailPreference"),
G());a&2&&(a=b.$implicit,D("value",a),y(),S(" ",V(2,2,a)," "))},VJb=function(a,b){a&1&&(E(0,"mat-option",20),R(1),T(2,"toNewEmailPreference"),G());a&2&&(a=b.$implicit,D("value",a),y(),S(" ",V(2,2,a)," "))},WJb=function(a,b){a&1&&(E(0,"mat-option",20),R(1),T(2,"toNewEmailPreference"),G());a&2&&(a=b.$implicit,D("value",a),y(),S(" ",V(2,2,a)," "))},XJb=function(a,b){a&1&&(E(0,"mat-option",3),R(1),G());a&2&&(a=b.$implicit,D("value",a.id),y(),S(" ",a.displayName," "))},YJb=function(a,b){return a.gmt===
b.gmt?a.id>b.id?1:-1:a.gmt>b.gmt?1:-1},ZJb=function(a){a&1&&(K(0),I(1,"b-spinner"),L())},$Jb=function(a){a&1&&(E(0,"mat-hint"),R(1,"This field is read-only"),G())},aKb=function(a,b){a&1&&(E(0,"mat-option",20),R(1),G());a&2&&(a=b.$implicit,D("value",a.frequency),y(),S(" ",a.display," "))},bKb=function(a,b){a&1&&(E(0,"mat-option",20),R(1),G());a&2&&(a=b.$implicit,D("value",a.ordinal),y(),S(" ",a.display," "))},cKb=function(a){if(a&1){var b=u();E(0,"div")(1,"mat-form-field",14)(2,"mat-label");R(3," Repeat on ");
G();E(4,"mat-select",16);M("ngModelChange",function(d){v(b);var e=N(2).ngIf,f=N(2);mt(f,Object.assign({},e,{ordinal:d}));return x()});C(5,bKb,2,2,"mat-option",17);G()()()}if(a&2){a=N(2).ngIf;var c=N(2);y(4);D("ngModel",a.ordinal);y();D("ngForOf",c.repeatOnOptions.get(a.frequency))}},dKb=function(a,b){a&1&&(E(0,"mat-option",20),R(1),G());a&2&&(a=b.$implicit,D("value",a.timeOfDay),y(),S(" ~",a.display," "))},eKb=function(a,b){if(a&1){var c=u();K(0);E(1,"div")(2,"mat-form-field",14)(3,"mat-label");R(4,
" Repeat at ");G();E(5,"mat-select",21);M("ngModelChange",function(e){v(c);var f=N(2).ngIf,h=N(2);mt(h,Object.assign({},f,{timeOfDay:e}));return x()});C(6,dKb,2,2,"mat-option",17);G()()();L()}if(a&2){a=b.ngIf;b=N(2).ngIf;var d=N(2);y(5);D("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);y();D("ngForOf",a)}},fKb=function(a){a&1&&(E(0,"div",22),R(1),G());a&2&&(a=N(2).ngIf,y(),S(" Subscription ID: ",a.id," "))},gKb=function(a){if(a&1){var b=u();K(0);E(1,"div")(2,"mat-form-field",14)(3,"mat-label");
R(4," Frequency ");G();E(5,"mat-select",16);M("ngModelChange",function(d){v(b);var e=N().ngIf,f=N(2);return x(f.setFrequency(d,e))});C(6,aKb,2,2,"mat-option",17);G()()();C(7,cKb,6,2,"div",0)(8,eKb,7,3,"ng-container",0);T(9,"async");E(10,"div")(11,"b-timezone-picker",18);M("timezoneIdChange",function(d){v(b);var e=N().ngIf,f=N(2);return x(f.setTimeZone(d,e))});G()();C(12,fKb,2,1,"div",19);L()}if(a&2){a=N().ngIf;var c=N(2);y(5);D("ngModel",a.frequency);y();D("ngForOf",c.frequencyOptions);y();D("ngIf",
a.frequency!==c.DAILY);y();D("ngIf",V(9,7,c.repeatAtOptions$));y(3);D("timezoneId",a.timeZone.id)("fullWidth",!0);y();D("ngIf",a.id)}},iKb=function(a,b){if(a&1){var c=u();K(0);E(1,"div")(2,"div",7)(3,"mat-slide-toggle",13);M("change",function(){v(c);var d=N(2);return x(hKb(d))});T(4,"async");R(5," Subscribe to your own reports ");C(6,ZJb,2,0,"ng-container",0);T(7,"async");G()();E(8,"div")(9,"mat-form-field",14)(10,"mat-label");R(11,"Scope");G();E(12,"input",15);M("focus",function(){v(c);var d=N(2);
return x(d.inputHasFocus=!0)})("blur",function(){v(c);var d=N(2);return x(d.inputHasFocus=!1)});G();C(13,$Jb,2,0,"mat-hint",0);G()();C(14,gKb,13,9,"ng-container",0);G();L()}a&2&&(a=b.ngIf,b=N(2),y(3),D("disabled",V(4,6,b.isThinking$))("checked",0!==a.id),y(3),D("ngIf",V(7,8,b.isThinking$)),y(6),D("ngModel",b.currentUser.email),y(),D("ngIf",b.inputHasFocus),y(),D("ngIf",0!==a.id))},jKb=function(a){a&1&&(K(0),E(1,"div",1)(2,"div",2)(3,"p",3),R(4,"Frequency settings"),G(),E(5,"p",10),R(6," Choose when to receive your own reports. "),
E(7,"a",11),R(8,"Learn more"),G()()(),C(9,iKb,15,10,"ng-container",0),T(10,"async"),G(),I(11,"hr",12),L());a&2&&(a=N(),y(9),D("ngIf",V(10,1,a.userSubscription$)))},kKb=function(a){a&1&&(K(0),I(1,"b-spinner"),L())},lKb=function(a){a&1&&(E(0,"th",31),R(1,"Scope"),G())},mKb=function(a,b){a&1&&(E(0,"td",32),R(1),G());a&2&&(a=b.$implicit,y(),S(" ",a.lead.emailAddress," "))},nKb=function(a){a&1&&(E(0,"th",31),R(1,"Frequency"),G())},qKb=function(a,b){a&1&&(E(0,"td",32),R(1),T(2,"async"),T(3,"async"),G());
if(a&2){a=b.$implicit;b=N(2);var c;y();$la(" ",b.frequencyDisplayMap.get(a.frequency)," ",a.ordinal?"weekly"===a.frequency?"- "+oKb[a.ordinal-1].display:"monthly"===a.frequency?"- "+pKb(a.ordinal):"":""," - ",null==(c=V(2,4,b.hourOfDayDisplayMap$))?null:c.get(a.timeOfDay.hours)," - ",null==(c=V(3,6,b.timeZoneDisplayMap$))?null:c.get(a.timeZone.id)," ")}},rKb=function(a){a&1&&I(0,"th",31)},tKb=function(a){if(a&1){var b=u();E(0,"td",32)(1,"button",33);I(2,"mat-icon",34);G();E(3,"mat-menu",null,35)(5,
"button",36);M("click",function(){var d=v(b).$implicit,e=N(2);return x(e.openDialog(d))});R(6," Edit subscription ");G();E(7,"button",37);M("click",function(){var d=v(b).$implicit,e=N(2);return x(sKb(e,d))});R(8," Delete subscription ");G()()()}if(a&2){var c=Q(4);y();D("matMenuTriggerFor",c)}},uKb=function(a){a&1&&I(0,"tr",38)},vKb=function(a,b){a&1&&I(0,"tr",39);a&2&&(a=b.$implicit,pf("aria-label","Subscription with ID "+a.id+" and scoped to "+a.lead.emailAddress))},wKb=function(a){a&1&&(K(0),E(1,
"table",23),K(2,24),C(3,lKb,2,0,"th",25)(4,mKb,2,1,"td",26),L(),K(5,27),C(6,nKb,2,0,"th",25)(7,qKb,4,8,"td",26),L(),K(8,28),C(9,rKb,1,0,"th",25)(10,tKb,9,1,"td",26),L(),C(11,uKb,1,0,"tr",29)(12,vKb,1,1,"tr",30),G(),L());a&2&&(a=N(),y(),D("dataSource",a.subscriptions$),y(10),D("matHeaderRowDef",a.columns),y(),D("matRowDefColumns",a.columns))},xKb=function(a){a&1&&(E(0,"mat-error"),R(1,"Please select a valid, single user"),G())},yKb=function(a){a&1&&(E(0,"mat-error"),R(1,"Report for sundar@ cannot be generated"),
G())},zKb=function(a,b){a&1&&(E(0,"mat-option",20),R(1),G());a&2&&(a=b.$implicit,D("value",a.frequency),y(),S(" ",a.display," "))},AKb=function(a,b){a&1&&(E(0,"mat-option",20),R(1),G());a&2&&(a=b.$implicit,D("value",a.ordinal),y(),S(" ",a.display," "))},BKb=function(a){if(a&1){var b=u();E(0,"div")(1,"mat-form-field",14)(2,"mat-label");R(3," Repeat on ");G();E(4,"mat-select",16);M("ngModelChange",function(d){v(b);var e=N().$implicit;return x(e.ordinal=d)});C(5,AKb,2,2,"mat-option",17);G()()()}if(a&
2){a=N().$implicit;var c=N();y(4);D("ngModel",a.ordinal);y();D("ngForOf",c.repeatOnOptions.get(a.frequency))}},CKb=function(a,b){a&1&&(E(0,"mat-option",20),R(1),G());a&2&&(a=b.$implicit,D("value",a.timeOfDay),y(),S(" ~",a.display," "))},DKb=function(a,b){if(a&1){var c=u();K(0);E(1,"div")(2,"mat-form-field",14)(3,"mat-label");R(4," Repeat at ");G();E(5,"mat-select",21);M("ngModelChange",function(e){v(c);var f=N().$implicit;return x(f.timeOfDay=e)});C(6,CKb,2,2,"mat-option",17);G()()();L()}if(a&2){a=
b.ngIf;b=N().$implicit;var d=N();y(5);D("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);y();D("ngForOf",a)}},EKb=function(a){a&1&&(E(0,"div",22),R(1),G());a&2&&(a=N().$implicit,y(),S(" Subscription ID: ",a.id," "))},HKb=function(a,b){if(a&1){var c=u();E(0,"h1",40);R(1,"Add report subscription");G();E(2,"mat-dialog-content")(3,"p",41);R(4," Select the user (scope) and frequency of the report you wish to receive. ");G();E(5,"div")(6,"mat-form-field",42)(7,"mat-label");R(8,"Scope");G();E(9,
"input",43);M("ngModelChange",function(e){var f=v(c).$implicit,h=N();return x(f.lead=h.emailToUser(e))});G();C(10,xKb,2,0,"mat-error",0)(11,yKb,2,0,"mat-error",0);G()();E(12,"div")(13,"mat-form-field",14)(14,"mat-label");R(15," Frequency ");G();E(16,"mat-select",16);M("ngModelChange",function(e){var f=v(c).$implicit;return x(f.frequency=e)})("ngModelChange",function(e){var f=v(c).$implicit;N();return x(FKb(e,f))});C(17,zKb,2,2,"mat-option",17);G()()();C(18,BKb,6,2,"div",0)(19,DKb,7,3,"ng-container",
0);T(20,"async");E(21,"div")(22,"b-timezone-picker",18);M("timezoneIdChange",function(e){var f=v(c).$implicit;return x(f.timeZone.id=e)});G()();C(23,EKb,2,1,"div",19);E(24,"p",44);R(25," You are the only recipient of your subscription. Anyone else wishing to receive this report will need to subscribe for themselves. ");G();E(26,"a",45);R(27,"Learn more");G()();E(28,"mat-dialog-actions")(29,"button",46);R(30,"Cancel");G();E(31,"button",8);M("click",function(){var e=v(c).$implicit,f=N();return x(GKb(f,
e))});R(32);G()()}if(a&2){a=b.$implicit;b=N();var d;y(9);D("ngModel",null!==(d=null==a.lead?null:a.lead.emailAddress)&&void 0!==d?d:"")("bContactAutocomplete","SINGLE");y();D("ngIf",b.dialogInvalidEmailFormat);y();D("ngIf",b.ceoSelected);y(5);D("ngModel",a.frequency);y();D("ngForOf",b.frequencyOptions);y();D("ngIf",a.frequency!==b.DAILY);y();D("ngIf",V(20,13,b.repeatAtOptions$));y(3);D("timezoneId",a.timeZone.id)("fullWidth",!0);y();D("ngIf",a.id);y(8);D("disabled",!a.lead||!a.lead.emailAddress);
y();S(" ",0===a.id?"Add":"Update"," ")}},pKb=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"},IKb=function(a){a&1&&(E(0,"mat-tab",7)(1,"div",3),I(2,"b-slo-reports-settings"),G()())},JKb=function(a){a&1&&(E(0,"mat-tab",8)(1,"div",3),I(2,"b-beap-settings"),G()())},KKb=function(a){if(a&1){var b=u();E(0,"b-star-toggle",13);M("starClicked",function(){v(b);var c=N(2);return x(c.toggleStar())});G()}a&2&&(a=N(2),D("starMessage",
"Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},LKb=function(a){a&1&&I(0,"b-star-toggle",14);a&2&&D("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)},MKb=function(a,b){a&1&&(E(0,"li")(1,"a",15),R(2),G()());a&2&&(a=b.$implicit,b=N(2),y(),D("href",b.getUrl(a),Pd)("title",a.description),y(),S(" ",b.getDisplayName(a),
" "))},NKb=function(a){if(a&1){var b=u();E(0,"div")(1,"div",4)(2,"div",5);C(3,KKb,1,3,"b-star-toggle",6)(4,LKb,1,4,"b-star-toggle",7);E(5,"span",8);R(6);G();E(7,"button",9);M("click",function(){v(b);var c=N();return x(c.openEditBookmarkGroup())});G()();E(8,"div",10);R(9);G()();E(10,"ul",11);C(11,MKb,3,3,"li",12);G()()}a&2&&(a=N(),y(3),D("ngIf",!a.userIsAdmin),y(),D("ngIf",a.userIsAdmin),y(2),S("Bookmark Group: ",a.bookmarkGroup.name," "),y(3),$f(a.bookmarkGroup.description),y(2),D("ngForOf",a.bookmarkGroup.item))},
OKb=function(a){if(a&1){var b=u();E(0,"button",11);M("click",function(){v(b);var c=N(2);return x(c.addToMissionControl(c.hotlistId))});R(1," Hotlist insights in Home ");G()}},PKb=function(a,b){a&1&&(K(0),C(1,OKb,2,0,"button",10),L());a&2&&(a=b.$implicit,b=N(),y(),D("ngIf",b.showAddToMcButton(a)))},QKb=function(a){if(a&1){var b=u();E(0,"b-star-toggle",18);M("starClicked",function(){v(b);var c=N(2);return x(c.toggleStar())})("keydown.space",function(c){return c.stopPropagation()})("keydown.enter",function(c){return c.stopPropagation()});
G()}a&2&&(a=N(2),D("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("starred",a.isStarred))},RKb=function(a){a&1&&I(0,"b-star-toggle",19);a&2&&D("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)},SKb=function(a){a&1&&I(0,"b-star-toggle",19);a&2&&D("starMessage","")("unStarMessage","")("starred",!1)("disabled",!0)},TKb=function(a){a&1&&(E(0,
"div",20),R(1," Hotlist not found. "),G());a&2&&D("bFocus",!0)},UKb=function(a){a&1&&(E(0,"div"),R(1," Loading details... "),G())},VKb=function(a){a&1&&(E(0,"span",27),R(1," (archived) "),G())},WKb=function(a){a&1&&(E(0,"span",28),R(1," \u00a0(changed) "),G())},XKb=function(a){if(a&1){var b=u();E(0,"div")(1,"span",21);R(2," Hotlist: ");E(3,"span",22);R(4);G()();C(5,VKb,2,0,"span",23);E(6,"div",24)(7,"button",25);M("click",function(){v(b);var c=N(2);return x(c.openEditHotlist())});G()();C(8,WKb,2,
0,"span",26);G()}a&2&&(a=N(2),y(3),D("matTooltip",a.hotlist.description),y(),S(" ",a.hotlist.name," "),y(),D("ngIf",a.hotlist.archived),y(3),D("ngIf",a.hasParamChanges()))},YKb=function(a){if(a&1){var b=u();E(0,"div",29)(1,"button",30);M("click",function(){v(b);var c=N(2);return x(c.save())});R(2,"Save ");G();E(3,"button",31);M("click",function(){v(b);var c=N(2);return x(c.discardChanges())});R(4,"Discard changes ");G()()}},ZKb=function(a){a&1&&(E(0,"div",12),C(1,QKb,1,3,"b-star-toggle",13)(2,RKb,
1,4,"b-star-toggle",14)(3,SKb,1,4,"b-star-toggle",14),E(4,"div",15),C(5,TKb,2,1,"div",16)(6,UKb,2,0,"div",2)(7,XKb,9,4,"div",2),G(),C(8,YKb,5,0,"div",17),G());a&2&&(a=N(),y(),D("ngIf",!a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),y(),D("ngIf",a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),y(),D("ngIf",!a.hotlist),y(2),D("ngIf",!a.hotlist&&!a.hotlistLoading),y(),D("ngIf",a.hotlistLoading),y(),D("ngIf",a.hotlist&&!a.hotlistLoading),y(),D("ngIf",a.hasParamChanges()))},$Kb=function(a){a&1&&
(E(0,"div",32),I(1,"b-spinner"),E(2,"span"),R(3),G()());a&2&&(a=N(),y(3),S(" Loading hotlist: ",a.hotlistId,""))},aLb=function(a){a&1&&(E(0,"div",33),R(1),G());a&2&&(a=N(),D("bFocus",!0),y(),S(" No issues in hotlist ",a.hotlistId,". "))},bLb=function(a){if(a&1){var b=u();E(0,"div",34)(1,"b-issues-grid",35);M("init",function(c){v(b);var d=N();return x(d.resultsGrid=c)})("focusedRowIndexChange",function(c){v(b);var d=N();return x(d.focusedRowIndex=c)})("columnsChange",function(c){v(b);var d=N();return x(d.issueColumns=
c)})("sortChange",function(c){v(b);var d=N();return x(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=N();return x(d.goToIssue(c.id,c.isRead,c.event))})("onRowDragDrop",function(c){v(b);var d=N();return x(d.repositionIssue(c.srcIndex,c.destIndex))})("onNextPage",function(){v(b);var c=N();return x(dt(c,c.page,1))})("onPrevPage",function(){v(b);var c=N();return x(dt(c,c.page,-1))});G()()}a&2&&(a=N(),y(),D("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",
a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},cLb=function(a){if(a&1){var b=u();E(0,"button",10);M("click",function(){v(b);var c=N(2);return x(c.addToMissionControl(c.savedSearchId))});R(1," Saved Search insights in Home ");G()}},dLb=function(a,b){a&1&&(K(0),C(1,cLb,2,0,"button",9),L());a&2&&(a=b.$implicit,b=N(),y(),D("ngIf",b.showAddToMcButton(a)))},eLb=function(a){a&1&&(E(0,"div"),R(1," Loading details... "),G())},fLb=function(a){a&1&&(E(0,
"div"),R(1," Saved search not found. "),G())},gLb=function(a){a&1&&(E(0,"span",17),R(1," \u00a0(changed) "),G())},hLb=function(a){if(a&1){var b=u();E(0,"div",13);R(1," Saved search: ");E(2,"span",14);R(3);G();E(4,"button",15);M("click",function(){v(b);var c=N(2);return x(c.openEditSavedSearch())});G();C(5,gLb,2,0,"span",16);G()}a&2&&(a=N(2),y(2),D("matTooltip",a.savedSearch.description),y(),S(" ",a.savedSearch.name," "),y(2),D("ngIf",a.hasParamChanges()))},iLb=function(a){a&1&&(E(0,"div",11),C(1,
eLb,2,0,"div",2)(2,fLb,2,0,"div",2)(3,hLb,6,3,"div",12),G());a&2&&(a=N(),y(),D("ngIf",!a.savedSearch&&a.isLoading),y(),D("ngIf",!a.savedSearch&&!a.isLoading),y(),D("ngIf",a.savedSearch))},jLb=function(a){if(a&1){var b=u();E(0,"button",23);M("click",function(){v(b);var c=N(2);return x(c.save())});R(1,"Save ");G()}},kLb=function(a){if(a&1){var b=u();E(0,"div",18);C(1,jLb,2,0,"button",19);E(2,"button",20);M("click",function(){v(b);var c=N();return x(c.discardChanges())});R(3,"Discard changes ");G();
E(4,"span",21)(5,"a",22);M("click",function(){v(b);var c=N();kp(c.analytics,c.ANALYTICS_CATEGORY,"backToNormalSearch");return x()});R(6," Back to normal search");G()()()}a&2&&(a=N(),y(),D("ngIf",a.isEditable()),y(4),D("href",a.exitLink,Pd))},lLb=function(a){a&1&&(E(0,"span"),R(1),G());a&2&&(a=N(3),y(),S(" Searching",a.searchParams.query?" for "+a.searchParams.query:"","..."))},mLb=function(a){a&1&&(E(0,"div",27),I(1,"b-spinner"),C(2,lLb,2,1,"span",2),G());a&2&&(a=N(2),y(2),D("ngIf",a.searchParams))},
nLb=function(a){a&1&&(E(0,"div",28),R(1," No issues in saved search. "),G());a&2&&D("bFocus",!0)},oLb=function(a){if(a&1){var b=u();E(0,"div",29)(1,"b-issues-grid",30);M("init",function(c){v(b);var d=N(2);return x(d.resultsGrid=c)})("focusedRowIndexChange",function(c){v(b);var d=N(2);return x(d.focusedRowIndex=c)})("columnsChange",function(c){v(b);var d=N(2);return x(d.issueColumns=c)})("sortChange",function(c){v(b);var d=N(2);return x(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);
var d=N(2);return x(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=N(2);return x(dt(c,c.page,1))})("onPrevPage",function(){v(b);var c=N(2);return x(dt(c,c.page,-1))});G()()}a&2&&(a=N(2),y(),D("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},pLb=function(a){a&1&&(E(0,"div"),C(1,mLb,3,1,"div",24)(2,nLb,2,1,"div",25)(3,oLb,2,6,"div",26),G());
a&2&&(a=N(),y(),D("ngIf",a.isLoading),y(),D("ngIf",!a.isLoading&&!a.hasResults()),y(),D("ngIf",!a.isLoading&&a.hasResults()))},rLb=function(a,b){return qLb(function(){return pi(a)},b)},qLb=function(a,b){return a()?[b]:[]},sLb=function(){var a=Gc(nt).getEnvironmentType(),b={};return(b.DEV="Dev",b.NIGHTLY="Autopush",b.QA="Dev",b.PROD="Prod",b)[a]},tLb=function(){var a={};return jh("a",(a.href="https://chrome.google.com/webstore",a.target="_blank",a.rel="noopener noreferrer nofollow",a),"the Chrome Webstore")},
wLb=function(){return"QA"===Gc(nt).getEnvironmentType()?uLb:vLb},zLb=function(){return"QA"===Gc(nt).getEnvironmentType()?xLb:yLb},CLb=function(){return"QA"===Gc(nt).getEnvironmentType()?ALb:BLb},ELb=function(){return new DLb(new ot("https://people-pa.googleapis.com","AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s",{withCredentials:!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0}))},FLb=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:
{done:!0}}},GLb="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},HLb=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");},Vg=HLb(this),pt=function(a,b){if(b)a:{var c=Vg;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&&GLb(c,a,{configurable:!0,writable:!0,value:b})}};pt("Symbol",function(a){if(a)return a;var b=function(f,h){this.$jscomp$symbol$id_=f;GLb(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});
pt("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=Vg[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&GLb(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ILb(FLb(this))}})}return a});pt("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
var ILb=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},tt=function(a){return a.raw=a},JLb=function(a,b){a.raw=b;return a},l=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:FLb(a)};throw Error("e`"+String(a));},Be=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c},r=function(a){return a instanceof Array?a:Be(l(a))},ut=function(a,b){return Object.prototype.hasOwnProperty.call(a,
b)},KLb="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)ut(d,e)&&(a[e]=d[e])}return a};pt("Object.assign",function(a){return a||KLb});
var LLb="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},MLb=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=LLb(e.prototype||Object.prototype);return Function.prototype.apply.call(c,
e,d)||e}}(),NLb;if("function"==typeof Object.setPrototypeOf)NLb=Object.setPrototypeOf;else{var OLb;a:{var PLb={a:!0},QLb={};try{QLb.__proto__=PLb;OLb=QLb.a;break a}catch(a){}OLb=!1}NLb=OLb?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError("f`"+a);return a}:null}
var vt=NLb,X=function(a,b){a.prototype=LLb(b.prototype);a.prototype.constructor=a;if(vt)vt(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},wt=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};
wt.prototype.start_=function(){if(this.isRunning_)throw new TypeError("h");this.isRunning_=!0};wt.prototype.next_=function(a){this.yieldResult=a};wt.prototype.throw_=function(a){this.abruptCompletion_={exception:a,isException:!0};this.nextAddress=this.catchAddress_||this.finallyAddress_};wt.prototype.return=function(a){this.abruptCompletion_={return:a};this.nextAddress=this.finallyAddress_};var me=function(a,b,c){a.nextAddress=c;return{value:b}};wt.prototype.jumpTo=function(a){this.nextAddress=a};
var qe=function(a){a.nextAddress=0},le=function(a,b,c){a.catchAddress_=b;void 0!=c&&(a.finallyAddress_=c)},xt=function(a,b){a.nextAddress=b;a.catchAddress_=0},pe=function(a){a.catchAddress_=0;var b=a.abruptCompletion_.exception;a.abruptCompletion_=null;return b},ne=function(a,b,c,d){d?a.finallyContexts_[d]=a.abruptCompletion_:a.finallyContexts_=[a.abruptCompletion_];a.catchAddress_=b||0;a.finallyAddress_=c||0},oe=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},RLb=function(a){this.context_=new wt;this.program_=a};RLb.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return SLb(this,this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return yt(this)};
var TLb=function(a,b){a.context_.start_();var c=a.context_.yieldAllIterator_;if(c)return SLb(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.context_.return);a.context_.return(b);return yt(a)};RLb.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return SLb(this,this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return yt(this)};
var SLb=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),yt(a)}a.context_.yieldAllIterator_=null;d.call(a.context_,f);return yt(a)},yt=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}},ULb=function(a){this.next=function(b){return a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b){return TLb(a,b)};this[Symbol.iterator]=function(){return this}},Udb=function(a){var b=Vdb;a=new ULb(new RLb(a));vt&&b.prototype&&vt(a,
b.prototype);return a},VLb=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())})},ke=function(a){return VLb(new ULb(new RLb(a)))},Pia=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))})},Vc=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};pt("Reflect",function(a){return a?a:{}});pt("Reflect.construct",function(){return MLb});pt("Reflect.setPrototypeOf",function(a){return a?a:vt?function(b,c){try{return vt(b,c),!0}catch(d){return!1}}:null});
pt("Promise",function(a){function b(){this.batch_=null}function c(h){return h instanceof e?h:new e(function(k){k(h)})}if(a)return a;b.prototype.asyncExecute=function(h){if(null==this.batch_){this.batch_=[];var k=this;this.asyncExecuteFunction(function(){k.executeBatch_()})}this.batch_.push(h)};var d=Vg.setTimeout;b.prototype.asyncExecuteFunction=function(h){d(h,0)};b.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var h=this.batch_;this.batch_=[];for(var k=0;k<h.length;++k){var q=
h[k];h[k]=null;try{q()}catch(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 k=this.createResolveAndReject_();try{h(k.resolve,k.reject)}catch(q){k.reject(q)}};e.prototype.createResolveAndReject_=function(){function h(t){return function(w){q||(q=!0,t.call(k,w))}}var k=this,q=!1;return{resolve:h(this.resolveTo_),
reject:h(this.reject_)}};e.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("i"));else if(h instanceof e)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var k=null!=h;break a;case "function":k=!0;break a;default:k=!1}k?this.resolveToNonPromiseObj_(h):this.fulfill_(h)}};e.prototype.resolveToNonPromiseObj_=function(h){var k=void 0;try{k=h.then}catch(q){this.reject_(q);return}"function"==typeof k?this.settleSameAsThenable_(k,h):this.fulfill_(h)};e.prototype.reject_=
function(h){this.settle_(2,h)};e.prototype.fulfill_=function(h){this.settle_(1,h)};e.prototype.settle_=function(h,k){if(0!=this.state_)throw Error("j`"+h+"`"+k+"`"+this.state_);this.state_=h;this.result_=k;2===this.state_&&this.scheduleUnhandledRejectionCheck_();this.executeOnSettledCallbacks_()};e.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;d(function(){if(h.notifyUnhandledRejection_()){var k=Vg.console;"undefined"!==typeof k&&k.error(h.result_)}},1)};e.prototype.notifyUnhandledRejection_=
function(){if(this.isRejectionHandled_)return!1;var h=Vg.CustomEvent,k=Vg.Event,q=Vg.dispatchEvent;if("undefined"===typeof q)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!0}):"function"===typeof k?h=new k("unhandledrejection",{cancelable:!0}):(h=Vg.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 k=this.createResolveAndReject_();h.callWhenSettled_(k.resolve,k.reject)};e.prototype.settleSameAsThenable_=function(h,k){var q=this.createResolveAndReject_();try{h.call(k,q.resolve,q.reject)}catch(t){q.reject(t)}};e.prototype.then=function(h,k){function q(F,J){return"function"==typeof F?function(H){try{t(F(H))}catch(O){w(O)}}:
J}var t,w,z=new e(function(F,J){t=F;w=J});this.callWhenSettled_(q(h,t),q(k,w));return z};e.prototype.catch=function(h){return this.then(void 0,h)};e.prototype.callWhenSettled_=function(h,k){function q(){switch(t.state_){case 1:h(t.result_);break;case 2:k(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(k,q){q(h)})};e.race=
function(h){return new e(function(k,q){for(var t=l(h),w=t.next();!w.done;w=t.next())c(w.value).callWhenSettled_(k,q)})};e.all=function(h){var k=l(h),q=k.next();return q.done?c([]):new e(function(t,w){function z(H){return function(O){F[H]=O;J--;0==J&&t(F)}}var F=[],J=0;do F.push(void 0),J++,c(q.value).callWhenSettled_(z(F.length-1),w),q=k.next();while(!q.done)})};return e});var zt=function(a,b,c){if(null==a)throw new TypeError("l`"+c);if(b instanceof RegExp)throw new TypeError("m`"+c);return a+""};
pt("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=zt(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}});pt("Object.setPrototypeOf",function(a){return a||vt});var WLb=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}};
pt("Array.prototype.find",function(a){return a?a:function(b,c){return WLb(this,b,c).v}});
pt("WeakMap",function(a){function b(){}function c(q){var t=typeof q;return"object"===t&&null!==q||"function"===t}function d(q){if(!ut(q,f)){var t=new b;GLb(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(z){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var h=0,k=function(q){this.id_=(h+=Math.random()+1).toString();if(q){q=l(q);for(var t;!(t=q.next()).done;)t=t.value,this.set(t[0],t[1])}};k.prototype.set=function(q,t){if(!c(q))throw Error("n");d(q);if(!ut(q,f))throw Error("o`"+q);q[f][this.id_]=t;return this};k.prototype.get=function(q){return c(q)&&ut(q,f)?q[f][this.id_]:void 0};k.prototype.has=function(q){return c(q)&&ut(q,f)&&ut(q[f],this.id_)};k.prototype.delete=
function(q){return c(q)&&ut(q,f)&&ut(q[f],this.id_)?delete q[f][this.id_]:!1};return k});
pt("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var k=Object.seal({x:4}),q=new a(l([[k,"s"]]));if("s"!=q.get(k)||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]!=k||"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(z){return!1}}())return a;var b=new WeakMap,c=function(k){this[0]={};this[1]=
f();this.size=0;if(k){k=l(k);for(var q;!(q=k.next()).done;)q=q.value,this.set(q[0],q[1])}};c.prototype.set=function(k,q){k=0===k?0:k;var t=d(this,k);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:k,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(k){k=d(this,k);return k.entry&&k.list?(k.list.splice(k.index,1),k.list.length||delete this[0][k.id],
k.entry.previous.next=k.entry.next,k.entry.next.previous=k.entry.previous,k.entry.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].previous=f();this.size=0};c.prototype.has=function(k){return!!d(this,k).entry};c.prototype.get=function(k){return(k=d(this,k).entry)&&k.value};c.prototype.entries=function(){return e(this,function(k){return[k.key,k.value]})};c.prototype.keys=function(){return e(this,function(k){return k.key})};c.prototype.values=function(){return e(this,
function(k){return k.value})};c.prototype.forEach=function(k,q){for(var t=this.entries(),w;!(w=t.next()).done;)w=w.value,k.call(q,w[1],w[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(k,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=k[0][t];if(w&&ut(k[0],t))for(k=0;k<w.length;k++){var z=w[k];if(q!==q&&z.key!==z.key||q===z.key)return{id:t,list:w,index:k,entry:z}}return{id:t,list:w,index:-1,entry:void 0}},e=function(k,
q){var t=k[1];return ILb(function(){if(t){for(;t.head!=k[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 k={};return k.previous=k.next=k.head=k},h=0;return c});pt("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}});
pt("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ut(b,d)&&c.push(b[d]);return c}});pt("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});pt("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}});
pt("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==zt(this,b,"includes").indexOf(b,c||0)}});
pt("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(l([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=
l(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});pt("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});pt("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});pt("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});
pt("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});pt("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}});var XLb=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};
pt("Array.prototype.entries",function(a){return a?a:function(){return XLb(this,function(b,c){return[b,c]})}});pt("Array.prototype.keys",function(a){return a?a:function(){return XLb(this,function(b){return b})}});pt("Array.prototype.values",function(a){return a?a:function(){return XLb(this,function(b,c){return c})}});
pt("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(k){return k};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}});
pt("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 At=function(a){return a?a:Array.prototype.fill};pt("Int8Array.prototype.fill",At);pt("Uint8Array.prototype.fill",At);pt("Uint8ClampedArray.prototype.fill",At);pt("Int16Array.prototype.fill",At);pt("Uint16Array.prototype.fill",At);pt("Int32Array.prototype.fill",At);
pt("Uint32Array.prototype.fill",At);pt("Float32Array.prototype.fill",At);pt("Float64Array.prototype.fill",At);pt("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ut(b,d)&&c.push([d,b[d]]);return c}});pt("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=zt(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}});
pt("String.prototype.repeat",function(a){return a?a:function(b){var c=zt(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}});pt("globalThis",function(a){return a||Vg});pt("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});pt("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}});
pt("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}});pt("Array.prototype.findIndex",function(a){return a?a:function(b,c){return WLb(this,b,c).i}});
pt("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}});
pt("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}});
pt("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 YLb=function(a){a=Math.trunc(a)||0;0>a&&(a+=this.length);if(!(0>a||a>=this.length))return this[a]};pt("Array.prototype.at",function(a){return a?a:YLb});var Bt=function(a){return a?a:YLb};pt("Int8Array.prototype.at",Bt);pt("Uint8Array.prototype.at",Bt);
pt("Uint8ClampedArray.prototype.at",Bt);pt("Int16Array.prototype.at",Bt);pt("Uint16Array.prototype.at",Bt);pt("Int32Array.prototype.at",Bt);pt("Uint32Array.prototype.at",Bt);pt("Float32Array.prototype.at",Bt);pt("Float64Array.prototype.at",Bt);pt("String.prototype.at",function(a){return a?a:YLb});
pt("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;})})}});pt("Reflect.isExtensible",function(a){return a?a:"function"==typeof Object.isExtensible?Object.isExtensible:function(){return!0}});pt("Reflect.getOwnPropertyDescriptor",function(a){return a||Object.getOwnPropertyDescriptor});pt("Reflect.getPrototypeOf",function(a){return a||Object.getPrototypeOf});
var ZLb=function(a,b){for(;a;){var c=Reflect.getOwnPropertyDescriptor(a,b);if(c)return c;a=Reflect.getPrototypeOf(a)}};pt("Reflect.set",function(a){return a?a:function(b,c,d,e){var f=ZLb(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}});pt("Reflect.get",function(a){return a?a:function(b,c,d){if(2>=arguments.length)return b[c];var e=ZLb(b,c);if(e)return e.get?e.get.call(d):e.value}});
pt("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}});
pt("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("t");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c)}});pt("String.prototype.padEnd",function(a){return a?a:function(b,c){var d=zt(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}});
pt("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});pt("String.prototype.codePointAt",function(a){return a?a:function(b){var c=zt(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}}});var $Lb=$Lb||{},ca=this||self,aMb=function(a,b){var c=Ho("WIZ_global_data.oxN3nb");a=c&&c[a];return null!=a?a:b},bMb=ca._F_toggles||[],Ho=function(a,b){a=a.split(".");b=b||ca;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"},xa=function(a){var b=jb(a);return"array"==b||"object"==b&&"number"==typeof a.length},za=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},Aa=function(a){return Object.prototype.hasOwnProperty.call(a,
cMb)&&a[cMb]||(a[cMb]=++dMb)},cMb="closure_uid_"+(1E9*Math.random()>>>0),dMb=0,eMb=function(a,b,c){return a.call.apply(a.bind,arguments)},fMb=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)}},Ct=function(a,b,c){Ct=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?
eMb:fMb;return Ct.apply(null,arguments)},Dt=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)}},gMb=function(a){(0,eval)(a)},hMb=function(a,b){a=a.split(".");var c=ca;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},Et=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=
b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return b.prototype[e].apply(d,h)}},iMb=function(a){return a};Et(aa,Error);aa.prototype.name="CustomError";var jMb;Et(aaa,aa);aaa.prototype.name="AssertionError";var faa=void 0,daa,eaa,kMb="undefined"!==typeof TextDecoder,jaa,iaa="function"===typeof String.prototype.isWellFormed,haa="undefined"!==typeof TextEncoder;var Ft=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},lWa=function(a){return 0==Kq("@ldap.google.com",a.slice(a.length-16))},Ui=function(a){return/^[\s\xa0]*$/.test(a)},bi=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Kq=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},sMb=function(a){if(!lMb.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(mMb,"&amp;"));-1!=a.indexOf("<")&&
(a=a.replace(nMb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(oMb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(pMb,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(qMb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(rMb,"&#0;"));return a},mMb=/&/g,nMb=/</g,oMb=/>/g,pMb=/"/g,qMb=/'/g,rMb=/\x00/g,lMb=/[\x00&<>"']/,ia=function(a,b){return-1!=a.indexOf(b)},uMb=function(a,b){var c=0;a=bi(String(a)).split(".");b=bi(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=tMb(0==f[1].length?0:parseInt(f[1],10),0==h[1].length?0:parseInt(h[1],10))||tMb(0==f[2].length,0==h[2].length)||tMb(f[2],h[2]);f=f[3];h=h[3]}while(0==c)}return c},tMb=function(a,b){return a<b?-1:a>b?1:0};var vMb=!!(bMb[0]&128),wMb=!!(bMb[0]&4),xMb=!!(bMb[0]&256),yMb=!!(bMb[0]&2);var fa=vMb?xMb:aMb(610401301,!1),zMb=vMb?wMb||!yMb:aMb(572417392,!0);var ha,AMb=ca.navigator;ha=AMb?AMb.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},ra=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)},BMb=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,k=0;k<d;k++)if(k in h){var q=h[k];b.call(c,q,k,a)&&(e[f++]=q)}return e},CMb=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},DMb=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 EMb=function(a){EMb[" "](a);return a};EMb[" "]=function(){};var FMb=function(a,b){try{return EMb(a[b]),!0}catch(c){}return!1};var GMb=maa(),Nq=naa(),Gt=ka("Edge"),Xo=Gt||Nq,Ht=ka("Gecko")&&!(ia(ea().toLowerCase(),"webkit")&&!ka("Edge"))&&!(ka("Trident")||ka("MSIE"))&&!ka("Edge"),It=ia(ea().toLowerCase(),"webkit")&&!ka("Edge"),HMb=It&&ka("Mobile"),Tq=waa(),IMb=na()?"Windows"===ha.platform:ka("Windows"),JMb=(na()?"Linux"===ha.platform:ka("Linux"))||(na()?"Chrome OS"===ha.platform:ka("CrOS")),KMb=uaa(),LMb=vaa(),MMb=ka("iPad"),NMb=ka("iPod"),OMb=pa();ia(ea().toLowerCase(),"kaios");
var PMb=function(){var a=ca.document;return a?a.documentMode:void 0},QMb;a:{var RMb="",SMb=function(){var a=ea();if(Ht)return/rv:([^\);]+)(\)|;)/.exec(a);if(Gt)return/Edge\/([\d\.]+)/.exec(a);if(Nq)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(It)return/WebKit\/(\S+)/.exec(a);if(GMb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();SMb&&(RMb=SMb?SMb[1]:"");if(Nq){var TMb=PMb();if(null!=TMb&&TMb>parseFloat(RMb)){QMb=String(TMb);break a}}QMb=RMb}var UMb=QMb,VMb;
if(ca.document&&Nq){var WMb=PMb();VMb=WMb?WMb:parseInt(UMb,10)||void 0}else VMb=void 0;var Jt=VMb;var XMb=oaa(),YMb=vaa()||ka("iPod"),ZMb=ka("iPad"),$Mb=raa(),aNb=paa(),bNb=qaa()&&!pa();var cNb={},Kt=null,dNb=Ht||It||!bNb&&!Nq&&"function"==typeof ca.atob,Laa=function(a,b){void 0===b&&(b=0);eNb();b=cNb[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var h=a[e],k=a[e+1],q=a[e+2],t=b[h>>2];h=b[(h&3)<<4|k>>4];k=b[(k&15)<<2|q>>6];q=b[q&63];c[f++]=t+h+k+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("")},Seb=function(a){if(dNb)return ca.atob(a);var b="";fNb(a,function(c){b+=
String.fromCharCode(c)});return b},gNb=function(a){var b=[];fNb(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):ia("=.",a[b-1])&&(c=ia("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;fNb(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},fNb=function(a,b){function c(q){for(;d<a.length;){var t=a.charAt(d++),w=Kt[t];if(null!=w)return w;if(!Ui(t))throw Error("x`"+t);}return q}eNb();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),k=c(64);if(64===k&&-1===
e)break;b(e<<2|f>>4);64!=h&&(b(f<<4&240|h>>2),64!=k&&b(h<<6&192|k))}},eNb=function(){if(!Kt){Kt={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));cNb[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===Kt[f]&&(Kt[f]=e)}}}};var Saa="undefined"!==typeof Uint8Array,Kaa=!Nq&&"function"===typeof btoa,Qaa=/[-_.]/g,Naa={"-":"+",_:"/",".":"="},Taa,Ea={};var hNb,Da=function(a,b){if(b!==Ea)throw Error("y");this.value_=a;if(null!=a&&0===a.length)throw Error("z");},Ca=function(){return hNb||(hNb=new Da(null,Ea))},yca=function(a){var b=a.value_;return null==b?"":"string"===typeof b?b:a.value_=Maa(b)},y0a=function(a){return(a=Ha(a))?new Uint8Array(a):Uaa()};Da.prototype.isEmpty=function(){return null==this.value_};Da.prototype.sizeBytes=function(){var a=Ha(this);return a?a.length:0};
var Dua=function(a){var b={};b=void 0===b.parsingErrorsAreFatal?!0:b.parsingErrorsAreFatal;if(a=Ha(a)){var c=a.length;b=kMb?gaa(a,0,c,b):caa(a,0,c,b)}else b="";return b},iNb=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=
Ha(a);b=Ha(b);return Vaa(c,b)},Ha=function(a){if(Ea!==Ea)throw Error("y");var b=a.value_;null==b||Ba(b)||("string"===typeof b?b=Raa(b):(jb(b),b=null));return null==b?b:a.value_=b},hca=function(a,b){if("string"===typeof b)b=b?new Da(b,Ea):Ca();else if(b instanceof Uint8Array)b=new Da(b,Ea);else if(!(b instanceof Da))return!1;return iNb(a,b)};var Aca=!zMb,Wca=!zMb;var jNb="function"===typeof Uint8Array.prototype.slice,Ia=0,Ja=0;var kNb=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=kNb.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>lNb.length&&lNb.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){mNb(this,this.cursor_+a)};
var mNb=function(a,b){a.cursor_=b;if(b>a.end_)throw Error("G`"+b+"`"+a.end_);},Lt=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("F");mNb(a,c);return e},nNb=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},oNb=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 mNb(a,c),!!(b&127)}throw Error("F");},pNb=function(a,b){if(0>b)throw Error("H`"+b);var c=a.cursor_,d=c+b;if(d>a.end_)throw Error("G`"+(a.end_-c)+"`"+b);a.cursor_=d;return c};kNb.prototype.readString=function(a,b){var c=pNb(this,a),d=this.bytes_;return kMb?gaa(d,c,a,b):caa(d,c,a,b)};
kNb.prototype.readByteString=function(a){if(0==a)return Ca();var b=pNb(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():jNb?c.slice(b,a):new Uint8Array(c.subarray(b,a))}return Waa(b)};var lNb=[];var Kda=function(a,b){if(lNb.length){var c=lNb.pop();c.init(a,void 0,void 0,b);a=c}else a=new kNb(a,b);this.decoder_=a;this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextTag_=this.nextField_=-1;this.setOptions(b)};g=Kda.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>Jda.length&&Jda.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 cda=function(a){var b=a.decoder_;if(b.cursor_==b.end_)return!1;a.fieldCursor_=a.decoder_.getCursor();b=Lt(a.decoder_)>>>0;var c=b>>>3,d=b&7;if(!(0<=d&&5>=d))throw Error("B`"+d+"`"+a.fieldCursor_);if(1>c)throw Error("C`"+c+"`"+a.fieldCursor_);a.nextTag_=b;a.nextField_=c;a.nextWireType_=d;return!0},eda=function(a){switch(a.nextWireType_){case 0:0!=a.nextWireType_?eda(a):oNb(a.decoder_);break;case 1:a.decoder_.advance(8);break;case 2:if(2!=a.nextWireType_)eda(a);else{var b=Lt(a.decoder_)>>>0;a.decoder_.advance(b)}break;
case 5:a.decoder_.advance(4);break;case 3:b=a.nextField_;do{if(!cda(a))throw Error("D");if(4==a.nextWireType_){if(a.nextField_!=b)throw Error("E");break}eda(a)}while(1);break;default:throw Error("B`"+a.nextWireType_+"`"+a.fieldCursor_);}},qNb=function(a,b,c){var d=a.decoder_.getEnd(),e=Lt(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("A`"+e+"`"+(e-h));a.decoder_.cursor_=f;a.decoder_.setEnd(d)};
Kda.prototype.readString=function(){return rNb(this)};var rNb=function(a){var b=Lt(a.decoder_)>>>0;return a.decoder_.readString(b,!0)};Kda.prototype.readByteString=function(){var a=Lt(this.decoder_)>>>0;return this.decoder_.readByteString(a)};var Jda=[];var sNb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},uNb=function(a){if(!a)return tNb||(tNb=new sNb(0,0));if(!/^\d+$/.test(a))return null;cba(a);return new sNb(Ia,Ja)},tNb,vNb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},xNb=function(a){if(!a)return wNb||(wNb=new vNb(0,0));if(!/^-?\d+$/.test(a))return null;cba(a);return new vNb(Ia,Ja)},wNb;var Mt=function(){this.buffer_=[]};Mt.prototype.length=function(){return this.buffer_.length};Mt.prototype.end=function(){var a=this.buffer_;this.buffer_=[];return a};Mt.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)};Mt.prototype.writeSplitFixed64=function(a,b){this.writeUint32(a);this.writeUint32(b)};
var yNb=function(a,b){for(;127<b;)a.buffer_.push(b&127|128),b>>>=7;a.buffer_.push(b)},zNb=function(a,b){if(0<=b)yNb(a,b);else{for(var c=0;9>c;c++)a.buffer_.push(b&127|128),b>>=7;a.buffer_.push(1)}};g=Mt.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;Ia=b;Ja=a;this.writeUint32(Ia);this.writeUint32(Ja)};
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){Ka(a);this.writeSplitFixed64(Ia,Ja)};g.writeBool=function(a){this.buffer_.push(a?1:0)};g.writeEnum=function(a){zNb(this,a)};var ANb=function(){this.blocks_=[];this.totalLength_=0;this.encoder_=new Mt},Sb=function(a,b){0!==b.length&&(a.blocks_.push(b),a.totalLength_+=b.length)},BNb=function(a){Sb(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},Wb=function(a,b,c){yNb(a.encoder_,8*b+c)};g=ANb.prototype;g.writeInt32=function(a,b){null!=b&&null!=b&&(Wb(this,a,0),zNb(this.encoder_,b))};
g.writeInt64=function(a,b){null!=b&&("string"===typeof b&&xNb(b),null!=b&&(Wb(this,a,0),"number"===typeof b?(a=this.encoder_,Ka(b),a.writeSplitVarint64(Ia,Ja)):(b=xNb(b),this.encoder_.writeSplitVarint64(b.lo,b.hi))))};g.writeUint32=function(){};g.writeUint64=function(){};g.writeBool=function(a,b){null!=b&&(Wb(this,a,0),this.encoder_.writeBool(b))};g.writeEnum=function(a,b){null!=b&&(b=parseInt(b,10),Wb(this,a,0),zNb(this.encoder_,b))};g.writeSplitFixed64=function(a,b){Wb(this,a,1);this.encoder_.writeSplitFixed64(b)};
g.writeSplitVarint64=function(a,b){Wb(this,a,0);this.encoder_.writeSplitVarint64(b)};var Qb=function(a,b,c,d){this.$$binaryReaderFn=a;this.$$binaryWriterFn=b;this.$$isRepeated=c;this.$$isMsg=d};var Nt=dba(),Vba=dba("0di"),Jca=dba("0dg");var fba=Nt?function(a,b){a[Nt]|=b}:function(a,b){void 0!==a.internalArrayState?a.internalArrayState|=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}})},Ib=Nt?function(a,b){a[Nt]&=~b}:function(a,b){void 0!==a.internalArrayState&&(a.internalArrayState&=~b)},Oa=Nt?function(a){return a[Nt]|0}:function(a){return a.internalArrayState|0},Bb=Nt?function(a){return a[Nt]}:function(a){return a.internalArrayState},Qa=Nt?function(a,b){a[Nt]=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 tb={},lba={},CNb,xca=!zMb,xb,DNb=[];Qa(DNb,55);xb=Object.freeze(DNb);var Ot=function(a,b,c){this.idx_=0;this.arr_=a;this.mapper=b;this.thisArg=c};Ot.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}};Ot.prototype[Symbol.iterator]=function(){return new Ot(this.arr_,this.mapper,this.thisArg)};var eb,pba,sba,zb=0,Li=Object.freeze(new function(){});Object.freeze(new function(){});var tba=function(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var zba=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;var $ba,bca,cca;var tca={},ENb=function(){try{var a=function(){return MLb(Map,[],this.constructor)};X(a,Map);new a;return!1}catch(b){return!0}}(),Pt=function(){this.map_=new Map};g=Pt.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)};Pt.prototype[Symbol.iterator]=function(){return this.entries()};
var Qt=function(){if(ENb)return Object.setPrototypeOf(Pt.prototype,Map.prototype),Object.defineProperties(Pt.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),Pt;var a=function(){return MLb(Map,[],this.constructor)};X(a,Map);return a}(),yb=function(a,b,c,d){c=void 0===c?lca:c;d=void 0===d?lca:d;var e=Qt.call(this)||this;var f=Oa(a);f|=64;Qa(a,f);e.arrayState=f;e.valueCtor=b;e.keyToApi=c;e.valueToApi=e.valueCtor?mca:d;for(var h=0;h<a.length;h++){var k=a[h],q=c(k[0],!1,!0),t=k[1];
b?void 0===t&&(t=null):t=d(k[1],!1,!0,void 0,void 0,f);Qt.prototype.set.call(e,q,t)}return e};X(yb,Qt);var FNb=function(a){if(a.arrayState&2)throw Error("L");},zca=function(a,b){b=void 0===b?nca:b;return Ica(a,b)},Ica=function(a,b){b=void 0===b?nca:b;var c=[];a=Qt.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=yb.prototype;g.clear=function(){FNb(this);Qt.prototype.clear.call(this)};
g.delete=function(a){FNb(this);return Qt.prototype.delete.call(this,this.keyToApi(a,!0,!1))};g.entries=function(){var a=Array.from(Qt.prototype.keys.call(this));return new Ot(a,rca,this)};g.keys=function(){return Qt.prototype.keys.call(this)};g.values=function(){var a=Array.from(Qt.prototype.keys.call(this));return new Ot(a,yb.prototype.get,this)};g.forEach=function(a,b){var c=this;Qt.prototype.forEach.call(this,function(d,e){a.call(b,c.get(e),e,c)})};
g.set=function(a,b){FNb(this);a=this.keyToApi(a,!0,!1);return null==a?this:null==b?(Qt.prototype.delete.call(this,a),this):Qt.prototype.set.call(this,a,this.valueToApi(b,!0,!0,this.valueCtor,!1,this.arrayState))};g.has=function(a){return Qt.prototype.has.call(this,this.keyToApi(a,!1,!1))};
g.get=function(a){a=this.keyToApi(a,!1,!1);var b=Qt.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&&Qt.prototype.set.call(this,a,c),c):b}};var gca=function(a,b){return b instanceof yb?oca(a,b):qca(a,b)};yb.prototype[Symbol.iterator]=function(){return this.entries()};yb.prototype.toJSON=void 0;yb.prototype.mapPrototypeMarker=lba;var sca;var Rt=function(a,b){a=a.internalArray_;return Db(a,Bb(a),b)},Db=function(a,b,c,d){if(-1===c)return null;if(c>=kba(b)){if(b&256)return a[a.length-1][c]}else{var e=a.length;if(d&&b&256&&(d=a[e-1][c],null!=d))return d;b=c+Va(b);if(b<e)return a[b]}},lk=function(a,b,c,d){var e=a.internalArray_,f=Bb(e);bb(f);Cb(e,f,b,c,d);return a},ji=function(a,b,c,d){return void 0!==Sca(a,b,c,void 0===d?!1:d)},Wk=function(a,b,c,d){return void 0!==Sca(a,b,tk(a,d,c))},GNb=function(a,b){a=a.internalArray_;return Tca(a,
Bb(a),St,b,3,!1,!0).length},Tt=function(a,b,c,d,e){Uca(a,b,c,e,d,!1,1);return a},vq=function(a,b){a=a.internalArray_;var c=Bb(a),d=Db(a,c,b),e=wba(d);null!=e&&e!==d&&Cb(a,c,b,e);return e},es=function(a,b){return yba(Rt(a,b))},wq=function(a,b){a=a.internalArray_;var c=Bb(a),d=Db(a,c,b),e=$a(d,!0,!0,!!(c&34));null!=e&&e!==d&&Cb(a,c,b,e);return e},hi=function(a,b){return b&&a!==Li?1:2},HNb=function(a,b,c,d,e){return Hb(a,b,wba,c,d,e)},kk=function(a,b){a=wq(a,b);return null==a?Ca():a},Ut=function(a,b,
c){return Lb(a,b,c,ob)},Aj=function(a,b,c){return Lb(a,b,c,Aba)},xk=function(a,b,c,d){var e=a.internalArray_,f=Bb(e);bb(f);(c=Rca(e,f,c))&&c!==b&&null!=d&&(f=Cb(e,f,c));Cb(e,f,b,d);return a},tk=function(a,b,c){a=a.internalArray_;return Rca(a,Bb(a),b)===c?c:-1},kl=function(a,b){a=a.internalArray_;return Rca(a,Bb(a),b)},Vt=function(a,b,c){a=a.internalArray_;var d=Bb(a);bb(d);var e=Db(a,d,c);b=Ab(Uba(e,b,!0,d));e!==b&&Cb(a,d,c,b);return b},INb=function(a,b,c,d){var e=Bb(a);bb(e);var f=Db(a,e,c,d),h;
if(null!=f&&f.messagePrototypeMarker===tb)return b=Ab(f),b!==f&&Cb(a,e,c,b,d),b.internalArray_;if(Array.isArray(f)){var k=Oa(f);k&2?h=Hca(f,k,!1):h=f;h=m(h,b[0],b[1])}else h=m(void 0,b[0],b[1]);h!==f&&Cb(a,e,c,h,d);return h},fi=function(a,b,c){return(a=Sca(a,b,c,!1))?a:Tba(b)},$i=function(a,b,c,d){d=void 0===d?!1:d;b=Sca(a,b,c,d);if(null==b)return b;a=a.internalArray_;var e=Bb(a);if(!(e&2)){var f=Ab(b);f!==b&&(b=f,Cb(a,e,c,b,d))}return b},gi=function(a,b,c,d){a=a.internalArray_;var e=Bb(a);return Tca(a,
e,b,c,d,void 0,!1,!(2&e))},li=function(a,b,c,d,e){null==d&&(d=void 0);return lk(a,c,d,e)},Gk=function(a,b,c,d){null==d&&(d=void 0);return xk(a,b,c,d)},gl=function(a,b,c){var d=a.internalArray_,e=Bb(d);bb(e);if(null==c)return Cb(d,e,b),a;for(var f=Oa(c),h=f,k=!!(2&f)||!!(2048&f),q=k||Object.isFrozen(c),t=!0,w=!0,z=0;z<c.length;z++){var F=c[z];k||(F=Sa(F.internalArray_),t&&(t=!F),w&&(w=F))}k||(f=Ra(f,5,!0),f=Ra(f,8,t),f=Ra(f,16,w));q&&f!==h&&(c=Ma(c),h=0,f=Eb(f,e,!0));f!==h&&Qa(c,f);Cb(d,e,b,c);return a},
sq=function(a,b,c,d,e){Uca(a,b,c,d,e);return a},Wt=function(a,b,c,d){a=a.internalArray_;var e=Bb(a);bb(e);b=Tca(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++&&Ib(b,8);f||a++||Ib(b,16)}else for(d=l(d),e=d.next();!e.done;e=d.next())e=e.value,b.push(e),(e=Sa(e.internalArray_))&&!c++&&Ib(b,8),e||a++||Ib(b,16)},Xt=function(a,b){return nb(Rt(a,b))},Yt=function(a,b){return Oba(Rt(a,b))},ej=function(a,b){return Pba(Rt(a,b))},Zt=function(a,
b){a=Rt(a,b);var c;null==a?c=a:lb(a)?"number"===typeof a?c=Lba(a):c=Nba(a):c=void 0;return c},si=function(a,b,c,d,e){return Hb(a,b,nb,c,d,e)},Jj=function(a,b,c,d,e){return Hb(a,b,Oba,c,d,e,0)},Ij=function(a,b,c,d,e){return Hb(a,b,Pba,c,d,e,0)},Fj=function(a,b){return Sba(Rt(a,b))},ri=function(a,b,c,d,e){return Hb(a,b,Sba,c,d,e)},ho=function(a,b){return Cba(Rt(a,b))},qj=function(a,b,c,d,e){return Hb(a,b,Cba,c,d,e)},Xi=function(a,b,c){return Pb(es(a,b),void 0===c?!1:c)},qi=function(a,b,c){c=void 0===
c?0:c;return Pb(Xt(a,b),c)},kj=function(a,b,c){c=void 0===c?0:c;return Pb(Yt(a,b),c)},JNb=function(a){var b=void 0===b?0:b;return Pb(Zt(a,23),b)},$t=function(a,b,c){c=void 0===c?"0":c;return Pb(ej(a,b),c)},zk=function(a,b,c){c=void 0===c?0:c;return Pb(vq(a,b),c)},Zi=function(a,b,c){return Pb(Fj(a,b),void 0===c?"":c)},cj=function(a,b,c){c=void 0===c?0:c;return Pb(ho(a,b),c)},au=function(a,b){var c=void 0===c?"0":c;return Pb(Pba(Rt(a,b),!0),c)},fj=function(a,b){var c=void 0===c?"0":c;return Pb(Pba(Rt(a,
b),!0),c)},bu=function(a,b,c){a=si(a,b,3,void 0,!0);db(a,c);return a[c]},KNb=function(a,b){a=Jj(a,b,3,void 0,!0);db(a);return a[void 0]},cu=function(a,b,c){a=ri(a,b,3,void 0,!0);db(a,c);return a[c]},LNb=function(a,b){a=qj(a,b,3,void 0,!0);db(a);return a[void 0]},x0a=function(a,b){b=tk(a,pq,b);a=Rt(a,b);var c=void 0===c?!1:c;c=null==a?a:lb(a)?"string"===typeof a?Nba(a):c?Mba(a):Lba(a):void 0;return c},ao=function(a,b,c){return Fj(a,tk(a,c,b))},Ak=function(a,b,c,d){return $i(a,b,tk(a,d,c))},du=function(a,
b){a=Xt(a,b);return null==a?void 0:a},eu=function(a,b){a=Yt(a,b);return null==a?void 0:a},fu=function(a,b){a=Fj(a,b);return null==a?void 0:a},xs=function(a,b){a=ho(a,b);return null==a?void 0:a},Mh=function(a,b,c){return lk(a,b,kb(c))},Ik=function(a,b,c){return Mb(a,b,kb(c),!1)},rj=function(a,b,c){return lk(a,b,null==c?c:mb(c))},Zj=function(a,b,c){return Mb(a,b,null==c?c:mb(c),0)},zj=function(a,b,c){return lk(a,b,qb(c))},Qj=function(a,b,c){return Mb(a,b,qb(c),"0")},yj=function(a,b,c){return lk(a,b,
qb(c))},Lh=function(a,b,c){return lk(a,b,Rba(c))},Rj=function(a,b,c){return Mb(a,b,Rba(c),"")},Fk=function(a,b,c,d){return xk(a,b,c,Rba(d))},ik=function(a,b,c){return Mb(a,b,$a(c,!1,!0,!1),Ca())},tj=function(a,b,c){return lk(a,b,Bba(c))},Sj=function(a,b,c){return Mb(a,b,Bba(c),0)},gu=function(a,b,c){return Ob(a,b,mb,c,void 0,si)},Wi=function(a,b){return null!=es(a,b)},Yi=function(a,b){return null!=Xt(a,b)},jj=function(a,b){return null!=Yt(a,b)},Pi=function(a,b){return null!=Fj(a,b)},aj=function(a,
b){return null!=ho(a,b)};var n=function(a,b,c){this.internalArray_=m(a,b,c)};n.prototype.toJSON=function(){return CNb?Xca(this,this.internalArray_,!1):Xca(this,Cca(this.internalArray_,Eca,void 0,void 0,!1,!1),!0)};n.prototype.serialize=function(){CNb=!0;try{return JSON.stringify(this.toJSON(),wca)}finally{CNb=!1}};var Nda=function(a,b){if(null==b||""==b)return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error(void 0);return aca(a,hba(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 MNb=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?ji(this,a.ctor,a.fieldIndex,!0):void 0!==MNb(this,a)};n.prototype.clone=function(){var a=this.internalArray_;return aca(this.constructor,Hca(a,Bb(a),!1))};n.prototype.isMutable=function(){return!Sa(this.internalArray_)};n.prototype.isImmutable=function(){return Sa(this.internalArray_)};
var fs=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)},bsa=0;n.prototype.messagePrototypeMarker=tb;n.prototype.toString=function(){return Xca(this,this.internalArray_,!1).toString()};var $ca=Symbol(),fda,gda,pda=Symbol(),xda=Symbol(),Cda=Symbol(),Dda=Symbol(),NNb=Tb(function(a,b,c){if(0!==a.nextWireType_)return!1;a=a.decoder_;var d=0,e=0,f=0,h=a.bytes_,k=a.cursor_;do{var q=h[k++];d|=(q&127)<<f;f+=7}while(32>f&&q&128);32<f&&(e|=(q&127)>>4);for(f=3;32>f&&q&128;f+=7)q=h[k++],e|=(q&127)<<f;mNb(a,k);if(128>q)a=$aa(d>>>0,e>>>0);else throw Error("F");Ub(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=Fba(b);break a}if("number"===
typeof b){b=Hba(b);break a}}b=void 0}d.call(a,c,b)}),hu=Tb(function(a,b,c){if(0!==a.nextWireType_)return!1;Ub(b,c,Lt(a.decoder_));return!0},function(a,b,c){a.writeInt32(c,nb(b))}),ONb;
ONb=new Qb(function(a,b,c){if(0!==a.nextWireType_&&2!==a.nextWireType_)return!1;b=Lca(b,Bb(b),c,!1);if(2==a.nextWireType_)for(c=Lt(a.decoder_)>>>0,c=a.decoder_.getCursor()+c;a.decoder_.getCursor()<c;)b.push(Lt(a.decoder_));else b.push(Lt(a.decoder_));return!0},function(a,b,c){if(Array.isArray(b)){var d=Oa(b);if(!(d&4)){for(var e=0,f=0;e<b.length;e++){var h=nb(b[e]);null!=h&&(b[f++]=h)}f<e&&(b.length=f);Qa(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&&(Wb(e,f,0),zNb(e.encoder_,h))},!0,!1);
var PNb=Tb(function(a,b,c){if(1!==a.nextWireType_)return!1;var d=a.decoder_;a=nNb(d);d=nNb(d);Ub(b,c,La(a,d));return!0},function(a,b,c){a:if(null!=b){if(lb(b)){if("string"===typeof b){b=Nba(b);break a}if("number"===typeof b){b=Lba(b);break a}}b=void 0}null!=b&&("string"===typeof b&&uNb(b),Wb(a,c,1),"number"===typeof b?a.encoder_.writeUint64(b):(c=uNb(b),a.encoder_.writeSplitFixed64(c.lo,c.hi)))}),QNb=Tb(function(a,b,c){if(5!==a.nextWireType_)return!1;Ub(b,c,nNb(a.decoder_));return!0},function(a,b,
c){b=Eba(b);null!=b&&(Wb(a,c,5),a.encoder_.writeUint32(b))}),iu=Tb(function(a,b,c){if(0!==a.nextWireType_)return!1;Ub(b,c,oNb(a.decoder_));return!0},function(a,b,c){a.writeBool(c,yba(b))}),RNb=Tb(function(a,b,c){if(2!==a.nextWireType_)return!1;Ub(b,c,rNb(a));return!0},function(a,b,c){b=Sba(b);null!=b&&(b=kaa(b,!1),Wb(a,c,2),yNb(a.encoder_,b.length),Sb(a,a.encoder_.end()),Sb(a,b))}),Yca=new Qb(function(a,b,c,d,e){if(2!==a.nextWireType_)return!1;qNb(a,INb(b,d,c,!0),e);return!0},Hda,!1,!0),vda=new Qb(function(a,
b,c,d,e){if(2!==a.nextWireType_)return!1;qNb(a,INb(b,d,c),e);return!0},Hda,!1,!0),SNb=Tb(function(a,b,c){if(0!==a.nextWireType_)return!1;Ub(b,c,Lt(a.decoder_));return!0},function(a,b,c){a.writeEnum(c,nb(b))});var ju=function(a,b){this.fieldIndex=a;this.ctor=b;this.isRepeated=0;this.getExtensionFn=$i;this.setExtensionFn=li;this.defaultValue=void 0};var ku=function(a){this.internalArray_=m(a)};X(ku,n);ku.prototype.getId=function(){return Zi(this,1)};ku.prototype.setId=function(a){return Rj(this,1,a)};ku.prototype.getSourceId=function(){return cj(this,2,0)};ku.prototype.setSourceId=function(a){return Sj(this,2,a)};var ck=function(a){this.internalArray_=m(a)};X(ck,n);g=ck.prototype;g.getSeconds=function(){return kj(this,1)};g.getSeconds_asLegacyNumberOrString=function(){return kj(this,1)};g.setSeconds=function(a){return Qj(this,1,a)};g.getNanos=function(){return qi(this,2)};g.setNanos=function(a){return Zj(this,2,a)};var lu=function(a){this.internalArray_=m(a)};X(lu,n);g=lu.prototype;g.getUrl=function(){return Zi(this,1)};g.setUrl=function(a){return Rj(this,1,a)};g.getHeight=function(){return qi(this,2)};g.setHeight=function(a){return Zj(this,2,a)};g.getWidth=function(){return qi(this,3)};g.setWidth=function(a){return Zj(this,3,a)};var mu=function(a){this.internalArray_=m(a)};X(mu,n);mu.prototype.getDuration=function(){return $i(this,ck,2)};mu.repeatedFields_=[6];var TNb=function(a){this.internalArray_=m(a)};X(TNb,n);var nu=function(a){this.internalArray_=m(a)};X(nu,n);nu.prototype.getEmail=function(a){return cu(this,1,a)};nu.prototype.setEmail=function(a){return Ob(this,1,rb,a,void 0,ri)};nu.prototype.getGroupId=function(a){return cu(this,2,a)};nu.prototype.setGroupId=function(a){Ob(this,2,rb,a,void 0,ri)};nu.repeatedFields_=[1,2];var mj=function(a){this.internalArray_=m(a)};X(mj,n);g=mj.prototype;g.getSeconds=function(){return kj(this,1)};g.getSeconds_asLegacyNumberOrString=function(){return kj(this,1)};g.setSeconds=function(a){return Qj(this,1,a)};g.getNanos=function(){return qi(this,2)};g.setNanos=function(a){return Zj(this,2,a)};g.toDate=function(){var a=this.getSeconds(),b=this.getNanos();return new Date(1E3*a+b/1E6)};var UNb=function(a){this.internalArray_=m(a)};X(UNb,n);var VNb=function(a){this.internalArray_=m(a)};X(VNb,n);VNb.prototype.getDownloadUrl=function(){return Zi(this,5)};var WNb=function(a){this.internalArray_=m(a)};X(WNb,n);var XNb=function(a){this.internalArray_=m(a)};X(XNb,n);XNb.prototype.getPhotoId=function(){return Zi(this,1)};var YNb=function(a){this.internalArray_=m(a)};X(YNb,n);var ZNb=function(a){this.internalArray_=m(a)};X(ZNb,n);var ou=function(a){this.internalArray_=m(a)};X(ou,n);var pu=[2,4,5,6,7];var $Nb=function(a){this.internalArray_=m(a)};X($Nb,n);var qu=function(a){this.internalArray_=m(a)};X(qu,n);qu.prototype.getTypeName=function(){return Zi(this,1).split("/").pop()};qu.prototype.getValue=function(){var a=Rt(this,2);if(Array.isArray(a)||a instanceof n)throw Error("N");return kk(this,2)};qu.prototype.setValue=function(a){if(null==a)a=this;else if(Array.isArray(a))a=lk(this,2,Cca(a,Eca,void 0,void 0,!1,!1));else if("string"===typeof a||a instanceof Da||Ba(a))a=ik(this,2,a);else throw Error("O`"+a);return a};var St=function(a){this.internalArray_=m(a)};X(St,n);g=St.prototype;g.getId=function(){return $i(this,ku,1)};g.setId=function(a){return li(this,ku,1,a)};g.getName=function(){return Zi(this,2)};g.setName=function(a){return Rj(this,2,a)};g.getDescription=function(){return Zi(this,3)};g.setDescription=function(a){return Rj(this,3,a)};g.getParentId=function(){return Zi(this,4)};g.setParentId=function(a){return Rj(this,4,a)};g.getType=function(){return cj(this,6,0)};
g.setType=function(a){return Sj(this,6,a)};g.getMimeType=function(){return Zi(this,7)};g.setMimeType=function(a){Rj(this,7,a)};g.getUrl=function(){return Zi(this,8)};g.setUrl=function(a){return Rj(this,8,a)};g.getIconUrl=function(){return Zi(this,11)};g.setIconUrl=function(a){return Rj(this,11,a)};var ru=function(a,b){return gi(a,lu,10,hi(b))};St.prototype.getLastModifiedTimestamp=function(){return $i(this,mj,12)};St.prototype.getVideoMetadata=function(){return $i(this,mu,34)};
St.prototype.hasVideoMetadata=function(){return ji(this,mu,34)};var su=function(a){this.internalArray_=m(a)};X(su,n);g=su.prototype;g.getShared=function(){return Xi(this,1)};g.setShared=function(a){Ik(this,1,a)};g.getVideoMetadata=function(){return $i(this,mu,3)};g.hasVideoMetadata=function(){return ji(this,mu,3)};g.getDownloadUrl=function(){return Zi(this,10)};St.repeatedFields_=[5,10,22];var tu=function(a){this.internalArray_=m(a)};X(tu,n);tu.prototype.getLabel=function(){return Zi(this,2)};tu.prototype.setLabel=function(a){return Rj(this,2,a)};var aOb=function(a){this.internalArray_=m(a)};X(aOb,n);g=aOb.prototype;g.getStatus=function(){return cj(this,1,0)};g.setStatus=function(a){return Sj(this,1,a)};g.getItemList=function(a){return gi(this,St,2,hi(a))};g.addItem=function(a,b){return sq(this,2,St,a,b)};g.setItem=function(a,b){return Tt(this,2,St,a,b)};g.getItemCount=function(){return GNb(this,2)};g.getErrorCode=function(){return cj(this,4,0)};g.getInternalOnlyV1ViewInfo=function(){return $i(this,tu,7)};aOb.repeatedFields_=[2];var uu=function(a){this.internalArray_=m(a)};X(uu,n);g=uu.prototype;g.getSourceId=function(){return cj(this,1,0)};g.setSourceId=function(a){return Sj(this,1,a)};g.getName=function(){return Zi(this,8)};g.setName=function(a){return Rj(this,8,a)};g.getInternalOnlyV1ViewInfo=function(){return $i(this,tu,18)};uu.repeatedFields_=[14];var vu=function(a){this.internalArray_=m(a)};X(vu,n);g=vu.prototype;g.getCommand=function(){return cj(this,1,0)};g.setCommand=function(a){return Sj(this,1,a)};g.getSource=function(){return $i(this,uu,2)};g.setSource=function(a){return li(this,uu,2,a)};g.hasSource=function(){return ji(this,uu,2)};g.setVisible=function(a){return Ik(this,5,a)};g.getItemList=function(a){return gi(this,St,7,hi(a))};g.addItem=function(a,b){return sq(this,7,St,a,b)};g.setItem=function(a,b){return Tt(this,7,St,a,b)};
g.getItemCount=function(){return GNb(this,7)};vu.repeatedFields_=[3,7];var bOb=function(a){this.internalArray_=m(a)};X(bOb,n);g=bOb.prototype;g.getCommand=function(){return cj(this,1,0)};g.setCommand=function(a){return Sj(this,1,a)};g.getItemList=function(a){return gi(this,St,4,hi(a))};g.addItem=function(a,b){return sq(this,4,St,a,b)};g.setItem=function(a,b){return Tt(this,4,St,a,b)};g.getItemCount=function(){return GNb(this,4)};var cOb=Xb(bOb);bOb.repeatedFields_=[4];var dOb=function(a){this.internalArray_=m(a)};X(dOb,n);var eOb=[0,NNb,QNb,-1];var wu=function(a){this.internalArray_=m(a)};X(wu,n);wu.prototype.setBase=function(a){return li(this,dOb,1,a)};var fOb=[0,eOb,NNb];var gOb=[0,ONb,hu];var xu=function(a){this.internalArray_=m(a)};X(xu,n);xu.prototype.setVeIndex=function(a){rj(this,1,a)};xu.prototype.setElementIndex=function(a){rj(this,5,a)};xu.prototype.getResultIndex=function(){return qi(this,6,-1)};xu.prototype.setResultIndex=function(a){rj(this,6,a)};var hOb=[0,hu,-1,2,hu,-4,iu,hu,PNb,fOb,hu,gOb],iOb=Lda(xu,hOb),jOb=function(a){return function(b){var c=new ANb;yda(b.internalArray_,c,Rb(a));return BNb(c)}}(hOb);var yu=function(a){this.internalArray_=m(a)};X(yu,n);yu.prototype.setVed=function(a){return Fk(this,5,kOb,a)};var lOb=[1,3,4],kOb=[2,5];var zu=function(a){this.internalArray_=m(a,233)};X(zu,n);zu.prototype.setUiType=function(a){return rj(this,1,a)};zu.prototype.setElementIndex=function(a){rj(this,3,a)};var mOb=function(a,b){Lb(a,4,b,mb)};zu.prototype.getResultIndex=function(){return Xt(this,7)};zu.prototype.setResultIndex=function(a){rj(this,7,a)};zu.prototype.setVisible=function(a){return tj(this,6,a)};zu.repeatedFields_=[4];var Au=function(a){this.internalArray_=m(a)};X(Au,n);g=Au.prototype;g.getCode=function(){return Xt(this,1)};g.getCode_legacyNullable=function(){return Xt(this,1)};g.setCode=function(a){return rj(this,1,a)};g.getMessage=function(){return Fj(this,3)};g.setMessage=function(a){Lh(this,3,a)};var Bu=function(a){this.internalArray_=m(a)};X(Bu,n);var Yj=function(a){this.internalArray_=m(a)};X(Yj,n);g=Yj.prototype;g.getYear=function(){return qi(this,1)};g.setYear=function(a){return Zj(this,1,a)};g.getMonth=function(){return qi(this,2)};g.setMonth=function(a){return Zj(this,2,a)};g.getDay=function(){return qi(this,3)};var Cu=function(a){this.internalArray_=m(a)};X(Cu,n);Cu.repeatedFields_=[1];var Gl=function(a){this.internalArray_=m(a)};X(Gl,n);g=Gl.prototype;g.getHours=function(){return qi(this,1)};g.setHours=function(a){return Zj(this,1,a)};g.getMinutes=function(){return qi(this,2)};g.setMinutes=function(a){return Zj(this,2,a)};g.getSeconds=function(){return qi(this,3)};g.setSeconds=function(a){return Zj(this,3,a)};g.getNanos=function(){return qi(this,4)};g.setNanos=function(a){return Zj(this,4,a)};var Vta=function(a){this.internalArray_=m(a)};X(Vta,n);var Wda="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var Du=function(a){return function(){return a}},Eu=function(){},nOb=function(a){return a},PIa=function(){var a=OIa;return function(){return!a.apply(this,arguments)}},oOb=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},Fu=function(a,b){var c=0;return function(d){ca.clearTimeout(c);var e=arguments;c=ca.setTimeout(function(){a.apply(void 0,e)},b)}},pOb=function(a,b){var c=0,d=!1,e=[],f=function(){c=0;d&&(d=!1,h())},h=function(){c=ca.setTimeout(f,b);var k=e;e=[];a.apply(void 0,k)};
return function(k){e=arguments;c?d=!0:h()}};var qOb,rOb=function(){if(void 0===qOb){var a=null,b=ca.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:iMb,createScript:iMb,createScriptURL:iMb})}catch(c){ca.console&&ca.console.error(c.message)}qOb=a}else qOb=a}return qOb};var Hu=function(a,b){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a===Gu&&b||"";this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=sOb};Hu.prototype.toString=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};
var Iu=function(a){return a instanceof Hu&&a.constructor===Hu&&a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===sOb?a.stringConstValueWithSecurityContract__googStringSecurityPrivate_:"type_error:Const"},sOb={},Gu={};var Ju=function(a){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=a};Ju.prototype.toString=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+""};var Rh=function(a){if(a instanceof Ju&&a.constructor===Ju)return a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;jb(a);return"type_error:TrustedResourceUrl"},tOb={},kh=function(a){var b=rOb();a=b?b.createScriptURL(a):a;return new Ju(a,tOb)};var bh=function(a){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=a};bh.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};var eh=function(a){if(a instanceof bh&&a.constructor===bh)return a.privateDoNotAccessOrElseSafeUrlWrappedValue_;jb(a);return"type_error:SafeUrl"},uOb;try{new URL("s://g"),uOb=!0}catch(a){uOb=!1}
var vOb=uOb,qJa=function(a){if(a instanceof bh)return a;a=String(a);a:{var b=a;if(vOb){try{var c=new URL(b)}catch(d){b="https:";break a}b=c.protocol}else b:{c=document.createElement("a");try{c.href=b}catch(d){b=void 0;break b}b=c.protocol;b=":"===b||""===b?"https:":b}}"javascript:"===b&&(a="about:invalid#zClosurez");return new bh(a,ch)},ch={},vpa=new bh("about:invalid#zClosurez",ch);var wOb=function(a){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=a};wOb.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString()};var xOb=function(a){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=a};xOb.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString()};var yOb={},ec=function(a){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=a};ec.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};
var hh=function(a){if(a instanceof ec&&a.constructor===ec)return a.privateDoNotAccessOrElseSafeHtmlWrappedValue_;jb(a);return"type_error:SafeHtml"},NIa=function(a){return a instanceof ec?a:fh(sMb(String(a)))},fh=function(a){var b=rOb();a=b?b.createHTML(a):a;return new ec(a,yOb)},et=new ec(ca.trustedTypes&&ca.trustedTypes.emptyHTML||"",yOb);var zOb=oOb(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=hh(et);return!b.parentElement}),MIa=function(a,b){if(zOb())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=hh(b)},AOb=function(a,b){b=b instanceof bh?b:qJa(b);a.action=eh(b)},COb=function(a,b){a:{var c=(a.ownerDocument&&a.ownerDocument.defaultView||ca).document;if(c.querySelector&&(c=c.querySelector("script[nonce]"))&&
(c=c.nonce||c.getAttribute("nonce"))&&BOb.test(c))break a;c=""}c&&a.setAttribute("nonce",c);a.src=Rh(b)},rJa=function(a,b,c,d){a=a instanceof bh?a:qJa(a);b=b||ca;c=c instanceof Hu?Iu(c):c||"";return void 0!==d?b.open(eh(a),c,d):b.open(eh(a),c)},BOb=/^[\w+/_-]+[=]{0,2}$/;var DOb=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")},EOb=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},to=function(a){return!/[^0-9]/.test(a)},Yo=function(a){return a=sMb(a)},FOb=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},nbb=function(a,b,c){return a.replace(new RegExp(no(b),
"g"),c.replace(/\$/g,"$$$$"))},no=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},GOb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},Ku=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+GOb("0",Math.max(0,b-c))+a},Ti=function(a){return null==a?"":String(a)},Lu=function(){return Math.floor(2147483648*
Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)},Pk=function(a){var b=Number(a);return 0==b&&Ui(a)?NaN:b},ei=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},Zh=function(a){isFinite(a)&&(a=String(a));return"string"===typeof a?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},HOb=function(a){var b=1;a=a.split(":");for(var c=[];0<b&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));
return c};(function(a){function b(ja){q&&q.mark&&q.mark(ja)}function c(ja,ya){q&&q.measure&&q.measure(ja,ya)}function d(ja){return t+ja}function e(ja){oa||a[P]&&(oa=a[P].resolve(0));if(oa){var ya=oa[U];ya||(ya=oa.then);ya.call(oa,ja)}else a[O](ja,0)}function f(ja){0===Na&&0===Z.length&&e(h);ja&&Z.push(ja)}function h(){if(!la){for(la=!0;Z.length;){var ja=Z;Z=[];for(var ya=0;ya<ja.length;ya++){var Ga=ja[ya];try{Ga.zone.runTask(Ga,null,null)}catch(gb){Pa.onUnhandledError(gb)}}}Pa.microtaskDrainDone();la=!1}}function k(){}
var q=a.performance;b("Zone");var t=a.__Zone_symbol_prefix||"__zone_symbol__",w=!0===a[d("forceDuplicateZoneCheck")];if(a.Zone){if(w||"function"!==typeof a.Zone.__symbol__)throw Error("R");return a.Zone}var z=function(ja,ya){this._parent=ja;this._name=ya?ya.name||"unnamed":"<root>";this._properties=ya&&ya.properties||{};this._zoneDelegate=new J(this,this._parent&&this._parent._zoneDelegate,ya)};z.assertZonePatched=function(){if(a.Promise!==Ta.ZoneAwarePromise)throw Error("S");};z.__load_patch=function(ja,
ya,Ga){Ga=void 0===Ga?!1:Ga;if(Ta.hasOwnProperty(ja)){if(!Ga&&w)throw Error("T`"+ja);}else a["__Zone_disable_"+ja]||(Ga="Zone:"+ja,b(Ga),Ta[ja]=ya(a,z,Pa),c(Ga,Ga))};z.prototype.get=function(ja){var ya=this.getZoneWith(ja);if(ya)return ya._properties[ja]};z.prototype.getZoneWith=function(ja){for(var ya=this;ya;){if(ya._properties.hasOwnProperty(ja))return ya;ya=ya._parent}return null};z.prototype.fork=function(ja){if(!ja)throw Error("U");return this._zoneDelegate.fork(this,ja)};z.prototype.wrap=function(ja,
ya){if("function"!==typeof ja)throw Error("V`"+ja);var Ga=this._zoneDelegate.intercept(this,ja,ya),gb=this;return function(){return gb.runGuarded(Ga,this,arguments,ya)}};z.prototype.run=function(ja,ya,Ga,gb){Ya={parent:Ya,zone:this};try{return this._zoneDelegate.invoke(this,ja,ya,Ga,gb)}finally{Ya=Ya.parent}};z.prototype.runGuarded=function(ja,ya,Ga,gb){Ya={parent:Ya,zone:this};try{try{return this._zoneDelegate.invoke(this,ja,void 0===ya?null:ya,Ga,gb)}catch(Wa){if(this._zoneDelegate.handleError(this,
Wa))throw Wa;}}finally{Ya=Ya.parent}};z.prototype.runTask=function(ja,ya,Ga){if(ja.zone!=this)throw Error("W`"+(ja.zone||Fa).name+"`"+this.name);if("notScheduled"!==ja.state||"eventTask"!==ja.type&&"macroTask"!==ja.type){var gb="running"!=ja.state;gb&&ja._transitionTo("running","scheduled");ja.runCount++;var Wa=sb;sb=ja;Ya={parent:Ya,zone:this};try{"macroTask"==ja.type&&ja.data&&!ja.data.isPeriodic&&(ja.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,ja,ya,Ga)}catch(zc){if(this._zoneDelegate.handleError(this,
zc))throw zc;}}finally{"notScheduled"!==ja.state&&"unknown"!==ja.state&&("eventTask"==ja.type||ja.data&&ja.data.isPeriodic?gb&&ja._transitionTo("scheduled","running"):(ja.runCount=0,this._updateTaskCount(ja,-1),gb&&ja._transitionTo("notScheduled","running","notScheduled"))),Ya=Ya.parent,sb=Wa}}};z.prototype.scheduleTask=function(ja){if(ja.zone&&ja.zone!==this)for(var ya=this;ya;){if(ya===ja.zone)throw Error("X`"+this.name+"`"+ja.zone.name);ya=ya.parent}ja._transitionTo("scheduling","notScheduled");
ya=[];ja._zoneDelegates=ya;ja._zone=this;try{ja=this._zoneDelegate.scheduleTask(this,ja)}catch(Ga){throw ja._transitionTo("unknown","scheduling","notScheduled"),this._zoneDelegate.handleError(this,Ga),Ga;}ja._zoneDelegates===ya&&this._updateTaskCount(ja,1);"scheduling"==ja.state&&ja._transitionTo("scheduled","scheduling");return ja};z.prototype.scheduleMicroTask=function(ja,ya,Ga,gb){return this.scheduleTask(new H("microTask",ja,ya,Ga,gb,void 0))};z.prototype.scheduleMacroTask=function(ja,ya,Ga,gb,
Wa){return this.scheduleTask(new H("macroTask",ja,ya,Ga,gb,Wa))};z.prototype.scheduleEventTask=function(ja,ya,Ga,gb,Wa){return this.scheduleTask(new H("eventTask",ja,ya,Ga,gb,Wa))};z.prototype.cancelTask=function(ja){if(ja.zone!=this)throw Error("Y`"+(ja.zone||Fa).name+"`"+this.name);if("scheduled"===ja.state||"running"===ja.state){ja._transitionTo("canceling","scheduled","running");try{this._zoneDelegate.cancelTask(this,ja)}catch(ya){throw ja._transitionTo("unknown","canceling"),this._zoneDelegate.handleError(this,
ya),ya;}this._updateTaskCount(ja,-1);ja._transitionTo("notScheduled","canceling");ja.runCount=0;return ja}};z.prototype._updateTaskCount=function(ja,ya){var Ga=ja._zoneDelegates;-1==ya&&(ja._zoneDelegates=null);for(var gb=0;gb<Ga.length;gb++)Ga[gb]._updateTaskCount(ja.type,ya)};Vg.Object.defineProperties(z.prototype,{parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},name:{configurable:!0,enumerable:!0,get:function(){return this._name}}});Vg.Object.defineProperties(z,{root:{configurable:!0,
enumerable:!0,get:function(){for(var ja=z.current;ja.parent;)ja=ja.parent;return ja}},current:{configurable:!0,enumerable:!0,get:function(){return Ya.zone}},currentTask:{configurable:!0,enumerable:!0,get:function(){return sb}}});z.__symbol__=d;var F={name:"",onHasTask:function(ja,ya,Ga,gb){return ja.hasTask(Ga,gb)},onScheduleTask:function(ja,ya,Ga,gb){return ja.scheduleTask(Ga,gb)},onInvokeTask:function(ja,ya,Ga,gb,Wa,zc){return ja.invokeTask(Ga,gb,Wa,zc)},onCancelTask:function(ja,ya,Ga,gb){return ja.cancelTask(Ga,
gb)}},J=function(ja,ya,Ga){this._taskCounts={microTask:0,macroTask:0,eventTask:0};this.zone=ja;this._parentDelegate=ya;this._forkZS=Ga&&(Ga&&Ga.onFork?Ga:ya._forkZS);this._forkDlgt=Ga&&(Ga.onFork?ya:ya._forkDlgt);this._forkCurrZone=Ga&&(Ga.onFork?this.zone:ya._forkCurrZone);this._interceptZS=Ga&&(Ga.onIntercept?Ga:ya._interceptZS);this._interceptDlgt=Ga&&(Ga.onIntercept?ya:ya._interceptDlgt);this._interceptCurrZone=Ga&&(Ga.onIntercept?this.zone:ya._interceptCurrZone);this._invokeZS=Ga&&(Ga.onInvoke?
Ga:ya._invokeZS);this._invokeDlgt=Ga&&(Ga.onInvoke?ya:ya._invokeDlgt);this._invokeCurrZone=Ga&&(Ga.onInvoke?this.zone:ya._invokeCurrZone);this._handleErrorZS=Ga&&(Ga.onHandleError?Ga:ya._handleErrorZS);this._handleErrorDlgt=Ga&&(Ga.onHandleError?ya:ya._handleErrorDlgt);this._handleErrorCurrZone=Ga&&(Ga.onHandleError?this.zone:ya._handleErrorCurrZone);this._scheduleTaskZS=Ga&&(Ga.onScheduleTask?Ga:ya._scheduleTaskZS);this._scheduleTaskDlgt=Ga&&(Ga.onScheduleTask?ya:ya._scheduleTaskDlgt);this._scheduleTaskCurrZone=
Ga&&(Ga.onScheduleTask?this.zone:ya._scheduleTaskCurrZone);this._invokeTaskZS=Ga&&(Ga.onInvokeTask?Ga:ya._invokeTaskZS);this._invokeTaskDlgt=Ga&&(Ga.onInvokeTask?ya:ya._invokeTaskDlgt);this._invokeTaskCurrZone=Ga&&(Ga.onInvokeTask?this.zone:ya._invokeTaskCurrZone);this._cancelTaskZS=Ga&&(Ga.onCancelTask?Ga:ya._cancelTaskZS);this._cancelTaskDlgt=Ga&&(Ga.onCancelTask?ya:ya._cancelTaskDlgt);this._cancelTaskCurrZone=Ga&&(Ga.onCancelTask?this.zone:ya._cancelTaskCurrZone);this._hasTaskCurrZone=this._hasTaskDlgtOwner=
this._hasTaskDlgt=this._hasTaskZS=null;var gb=Ga&&Ga.onHasTask,Wa=ya&&ya._hasTaskZS;if(gb||Wa)this._hasTaskZS=gb?Ga:F,this._hasTaskDlgt=ya,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=ja,Ga.onScheduleTask||(this._scheduleTaskZS=F,this._scheduleTaskDlgt=ya,this._scheduleTaskCurrZone=this.zone),Ga.onInvokeTask||(this._invokeTaskZS=F,this._invokeTaskDlgt=ya,this._invokeTaskCurrZone=this.zone),Ga.onCancelTask||(this._cancelTaskZS=F,this._cancelTaskDlgt=ya,this._cancelTaskCurrZone=this.zone)};J.prototype.fork=
function(ja,ya){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,ja,ya):new z(ja,ya)};J.prototype.intercept=function(ja,ya,Ga){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,ja,ya,Ga):ya};J.prototype.invoke=function(ja,ya,Ga,gb,Wa){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,ja,ya,Ga,gb,Wa):ya.apply(Ga,gb)};J.prototype.handleError=function(ja,ya){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,
this._handleErrorCurrZone,ja,ya):!0};J.prototype.scheduleTask=function(ja,ya){var Ga=ya;if(this._scheduleTaskZS)this._hasTaskZS&&Ga._zoneDelegates.push(this._hasTaskDlgtOwner),(Ga=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,ja,ya))||(Ga=ya);else if(ya.scheduleFn)ya.scheduleFn(ya);else if("microTask"==ya.type)f(ya);else throw Error("Z");return Ga};J.prototype.invokeTask=function(ja,ya,Ga,gb){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,
this._invokeTaskCurrZone,ja,ya,Ga,gb):ya.callback.apply(Ga,gb)};J.prototype.cancelTask=function(ja,ya){if(this._cancelTaskZS)ja=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,ja,ya);else{if(!ya.cancelFn)throw Error("$");ja=ya.cancelFn(ya)}return ja};J.prototype.hasTask=function(ja,ya){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,ja,ya)}catch(Ga){this.handleError(ja,Ga)}};J.prototype._updateTaskCount=function(ja,ya){var Ga=this._taskCounts,
gb=Ga[ja];ya=Ga[ja]=gb+ya;if(0>ya)throw Error("aa");0!=gb&&0!=ya||this.hasTask(this.zone,{microTask:0<Ga.microTask,macroTask:0<Ga.macroTask,eventTask:0<Ga.eventTask,change:ja})};var H=function(ja,ya,Ga,gb,Wa,zc){this._zone=null;this.runCount=0;this._zoneDelegates=null;this._state="notScheduled";this.type=ja;this.source=ya;this.data=gb;this.scheduleFn=Wa;this.cancelFn=zc;if(!Ga)throw Error("ba");this.callback=Ga;var cb=this;this.invoke="eventTask"===ja&&gb&&gb.useG?H.invokeTask:function(){return H.invokeTask.call(a,
cb,this,arguments)}};H.invokeTask=function(ja,ya,Ga){ja||(ja=this);Na++;try{return ja.runCount++,ja.zone.runTask(ja,ya,Ga)}finally{1==Na&&h(),Na--}};H.prototype.cancelScheduleRequest=function(){this._transitionTo("notScheduled","scheduling")};H.prototype._transitionTo=function(ja,ya,Ga){if(this._state===ya||this._state===Ga)this._state=ja,"notScheduled"==ja&&(this._zoneDelegates=null);else throw Error("ca`"+this.type+"`"+this.source+"`"+ja+"`"+ya+"`"+(Ga?" or '"+Ga+"'":"")+"`"+this._state);};H.prototype.toString=
function(){return this.data&&"undefined"!==typeof this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)};H.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}};Vg.Object.defineProperties(H.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}},state:{configurable:!0,enumerable:!0,get:function(){return this._state}}});var O=d("setTimeout"),P=d("Promise"),U=d("then"),
Z=[],la=!1,oa,Fa={name:"NO ZONE"},Ta={},Pa={symbol:d,currentZoneFrame:function(){return Ya},onUnhandledError:k,microtaskDrainDone:k,scheduleMicroTask:f,showUncaughtError:function(){return!z[d("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:k,patchMethod:function(){return k},bindArguments:function(){return[]},patchThen:function(){return k},patchMacroTask:function(){return k},patchEventPrototype:function(){return k},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},
ObjectDefineProperty:function(){return k},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return k},wrapWithCurrentZone:function(){return k},filterProperties:function(){return[]},attachOriginToPatched:function(){return k},_redefineProperty:function(){return k},patchCallbacks:function(){return k},nativeScheduleMicroTask:e},Ya={parent:null,zone:new z(null,null)},sb=null,Na=0;c("Zone","Zone");return a.Zone=z})(globalThis);Zone.__load_patch("Error",function(a,b,c){function d(la){for(var oa={zoneName:la.zone.name},Fa=oa;la.parent;){la=la.parent;var Ta={zoneName:la.zone.name};oa=oa.parent=Ta}return Fa}function e(la,oa,Fa){Fa=void 0===Fa?!0:Fa;la=la.split("\n");for(var Ta=0;la[Ta]!==w&&la[Ta]!==z&&la[Ta]!==F&&la[Ta]!==J&&la[Ta]!==H&&Ta<la.length;)Ta++;for(;Ta<la.length&&oa;Ta++){var Pa=la[Ta];if(Pa.trim())switch(t[Pa]){case h.zoneJsInternal:la.splice(Ta,1);Ta--;break;case h.transition:oa.parent?oa=oa.parent:oa=null;la.splice(Ta,
1);Ta--;break;default:la[Ta]+=Fa?" ["+oa.zone.name+"]":" ["+oa.zoneName+"]"}}return la.join("\n")}function f(){var la=this,oa=q.apply(this,arguments),Fa=oa.originalStack=oa.stack;if(f.stackRewrite&&Fa){var Ta=c.currentZoneFrame();if("lazy"===O)oa[c.symbol("zoneFrameNames")]=d(Ta);else if("default"===O)try{oa.stack=oa.zoneAwareStack=e(Fa,Ta)}catch(Pa){}}return this instanceof q&&this.constructor!=q?(Object.keys(oa).concat("stack","message").forEach(function(Pa){var Ya=oa[Pa];if(void 0!==Ya)try{la[Pa]=
Ya}catch(sb){}}),this):oa}var h={zoneJsInternal:0,transition:1},k=c.symbol("zoneJsInternalStackFrames"),q=a[c.symbol("Error")]=a.Error,t={},w,z,F,J,H;a.Error=f;var O=a.__Zone_Error_BlacklistedStackFrames_policy||a.__Zone_Error_ZoneJsInternalStackFrames_policy||"default";f.prototype=q.prototype;f[k]=t;f.stackRewrite=!1;var P=c.symbol("zoneAwareStack");"lazy"===O&&Object.defineProperty(f.prototype,"zoneAwareStack",{configurable:!0,enumerable:!0,get:function(){this[P]||(this[P]=e(this.originalStack,
this[c.symbol("zoneFrameNames")],!1));return this[P]},set:function(la){this.originalStack=la;this[P]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1)}});var U=["stackTraceLimit","captureStackTrace","prepareStackTrace"];(a=Object.keys(q))&&a.forEach(function(la){0===U.filter(function(oa){return oa===la}).length&&Object.defineProperty(f,la,{get:function(){return q[la]},set:function(oa){q[la]=oa}})});q.hasOwnProperty("stackTraceLimit")&&(q.stackTraceLimit=Math.max(q.stackTraceLimit,15),Object.defineProperty(f,
"stackTraceLimit",{get:function(){return q.stackTraceLimit},set:function(la){return q.stackTraceLimit=la}}));q.hasOwnProperty("captureStackTrace")&&Object.defineProperty(f,"captureStackTrace",{value:function(la,oa){q.captureStackTrace(la,oa)}});Object.defineProperty(f,"prepareStackTrace",{get:function(){return q.prepareStackTrace},set:function(la){return la&&"function"===typeof la?q.prepareStackTrace=function(oa,Fa){if(Fa)for(var Ta=0;Ta<Fa.length;Ta++)if("zoneCaptureStackTrace"===Fa[Ta].getFunctionName()){Fa.splice(Ta,
1);break}return la.call(this,oa,Fa)}:q.prepareStackTrace=la}});if("disable"!==O){var Z=b.current.fork({name:"detect",onHandleError:function(la,oa,Fa,Ta){if(Ta.originalStack&&Error===f)for(la=Ta.originalStack.split(/\n/),Ta=Fa=oa=!1;la.length;){var Pa=la.shift();if(/:\d+:\d+/.test(Pa)||"ZoneAwareError"===Pa){var Ya=Pa.split("(")[0].split("@")[0],sb=h.transition;-1!==Ya.indexOf("ZoneAwareError")&&(-1!==Ya.indexOf("new ZoneAwareError")?(w=Pa,z=Pa.replace("new ZoneAwareError","new Error.ZoneAwareError")):
(F=Pa,J=Pa.replace("Error.",""),-1===Pa.indexOf("Error.ZoneAwareError")&&(H=Pa.replace("ZoneAwareError","Error.ZoneAwareError"))),t[z]=h.zoneJsInternal);-1!==Ya.indexOf("runGuarded")?Fa=!0:-1!==Ya.indexOf("runTask")?Ta=!0:-1!==Ya.indexOf("run")?oa=!0:sb=h.zoneJsInternal;t[Pa]=sb;if(oa&&Fa&&Ta){f.stackRewrite=!0;break}}}return!1}}).fork({name:"child",onScheduleTask:function(la,oa,Fa,Ta){return la.scheduleTask(Fa,Ta)},onInvokeTask:function(la,oa,Fa,Ta,Pa,Ya){return la.invokeTask(Fa,Ta,Pa,Ya)},onCancelTask:function(la,
oa,Fa,Ta){return la.cancelTask(Fa,Ta)},onInvoke:function(la,oa,Fa,Ta,Pa,Ya,sb){return la.invoke(Fa,Ta,Pa,Ya,sb)}});b=Error.stackTraceLimit;Error.stackTraceLimit=100;Z.run(function(){Z.runGuarded(function(){var la=function(){};Z.scheduleEventTask(k,function(){Z.scheduleMacroTask(k,function(){Z.scheduleMicroTask(k,function(){throw Error();},void 0,function(oa){oa._transitionTo=la;oa.invoke()});Z.scheduleMicroTask(k,function(){throw Error();},void 0,function(oa){oa._transitionTo=la;oa.invoke()})},void 0,
function(oa){oa._transitionTo=la;oa.invoke()},function(){})},void 0,function(oa){oa._transitionTo=la;oa.invoke()},function(){})})});Error.stackTraceLimit=b}});var gc=Object.getOwnPropertyDescriptor,eea=Object.defineProperty,hea=Object.getPrototypeOf,IOb=Object.create,JOb=Array.prototype.slice,KOb=Zone.__symbol__("addEventListener"),LOb=Zone.__symbol__("removeEventListener"),oc=Zone.__symbol__(""),ic=Zone.__symbol__,MOb="undefined"!==typeof window,nc=MOb?window:void 0,jc=MOb&&nc||globalThis,NOb="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,oea=!("nw"in jc)&&"undefined"!==typeof jc.process&&"[object process]"==={}.toString.call(jc.process),
OOb=!oea&&!NOb&&!(!MOb||!nc.HTMLElement),POb="undefined"!==typeof jc.process&&"[object process]"==={}.toString.call(jc.process)&&!NOb&&!(!MOb||!nc.HTMLElement),cea={},dea=function(a){if(a=a||jc.event){var b=cea[a.type];b||(b=cea[a.type]=ic("ON_PROPERTY"+a.type));var c=this||a.target||jc;b=c[b];OOb&&c===nc&&"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}},kc=ic("originalInstance"),
jea=!1,kea=!1;var qc=!1;if("undefined"!==typeof window)try{var QOb=Object.defineProperty({},"passive",{get:function(){qc=!0}});window.addEventListener("test",QOb,QOb);window.removeEventListener("test",QOb,QOb)}catch(a){qc=!1}var qea={useG:!0},pc={},pea={},sea=new RegExp("^"+oc+"(\\w+)(true|false)$"),nea=ic("propagationStopped");Zone.__load_patch("ZoneAwarePromise",function(a,b,c){function d(cb){if(cb&&cb.toString===Object.prototype.toString){var pb=cb.constructor&&cb.constructor.name;return(pb?pb:"")+": "+JSON.stringify(cb)}return cb?cb.toString():Object.prototype.toString.call(cb)}function e(cb){c.onUnhandledError(cb);try{var pb=b[oa];"function"===typeof pb&&pb.call(this,cb)}catch(Za){}}function f(cb){return cb}function h(cb){return Wa.reject(cb)}function k(cb,pb){return function(Za){try{q(cb,pb,Za)}catch(Fb){q(cb,!1,Fb)}}}
function q(cb,pb,Za){var Fb=Na();if(cb===Za)throw new TypeError("ea");if(null===cb[Fa]){var ac=null;try{if("object"===typeof Za||"function"===typeof Za)ac=Za&&Za.then}catch(vb){return Fb(function(){q(cb,!1,vb)})(),cb}if(!1!==pb&&Za instanceof Wa&&Za.hasOwnProperty(Fa)&&Za.hasOwnProperty(Ta)&&null!==Za[Fa])t(Za),q(cb,Za[Fa],Za[Ta]);else if(!1!==pb&&"function"===typeof ac)try{ac.call(Za,Fb(k(cb,pb)),Fb(k(cb,!1)))}catch(vb){Fb(function(){q(cb,!1,vb)})()}else{cb[Fa]=pb;Fb=cb[Ta];cb[Ta]=Za;cb[Pa]===Pa&&
!0===pb&&(cb[Fa]=cb[sb],cb[Ta]=cb[Ya]);!1===pb&&Za instanceof Error&&(ac=b.currentTask&&b.currentTask.data&&b.currentTask.data.__creationTrace__)&&H(Za,ja,{configurable:!0,enumerable:!1,writable:!0,value:ac});for(ac=0;ac<Fb.length;)w(cb,Fb[ac++],Fb[ac++],Fb[ac++],Fb[ac++]);if(0==Fb.length&&0==pb){cb[Fa]=0;pb=Za;try{throw Error("fa`"+d(Za)+"`"+(Za&&Za.stack?"\n"+Za.stack:""));}catch(vb){pb=vb}U&&(pb.throwOriginal=!0);pb.rejection=Za;pb.promise=cb;pb.zone=b.current;pb.task=b.currentTask;P.push(pb);
c.scheduleMicroTask()}}}return cb}function t(cb){if(0===cb[Fa]){try{var pb=b[ya];pb&&"function"===typeof pb&&pb.call(this,{rejection:cb[Ta],promise:cb})}catch(Za){}cb[Fa]=!1;for(pb=0;pb<P.length;pb++)cb===P[pb].promise&&P.splice(pb,1)}}function w(cb,pb,Za,Fb,ac){t(cb);var vb=cb[Fa],Zb=vb?"function"===typeof Fb?Fb:f:"function"===typeof ac?ac:h;pb.scheduleMicroTask("Promise.then",function(){try{var sc=cb[Ta],Vb=!!Za&&Pa===Za[Pa];Vb&&(Za[Ya]=sc,Za[sb]=vb);var Pc=pb.run(Zb,void 0,Vb&&Zb!==h&&Zb!==f?[]:
[sc]);q(Za,!0,Pc)}catch(Td){q(Za,!1,Td)}},Za)}function z(cb){var pb=cb.prototype,Za=J(pb,"then");if(!Za||!1!==Za.writable&&Za.configurable){var Fb=pb.then;pb[la]=Fb;cb.prototype.then=function(ac,vb){var Zb=this;return(new Wa(function(sc,Vb){Fb.call(Zb,sc,Vb)})).then(ac,vb)};cb[zc]=!0}}function F(cb){return function(pb,Za){pb=cb.apply(pb,Za);if(pb instanceof Wa)return pb;Za=pb.constructor;Za[zc]||z(Za);return pb}}var J=Object.getOwnPropertyDescriptor,H=Object.defineProperty,O=c.symbol,P=[],U=!1!==
a[O("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],Z=O("Promise"),la=O("then");c.onUnhandledError=function(cb){if(c.showUncaughtError()){var pb=cb&&cb.rejection;pb?console.error("Unhandled Promise rejection:",pb instanceof Error?pb.message:pb,"; Zone:",cb.zone.name,"; Task:",cb.task&&cb.task.source,"; Value:",pb,pb instanceof Error?pb.stack:void 0):console.error(cb)}};c.microtaskDrainDone=function(){for(var cb={};P.length;cb={uncaughtPromiseError:void 0}){cb.uncaughtPromiseError=P.shift();try{cb.uncaughtPromiseError.zone.runGuarded(function(pb){return function(){if(pb.uncaughtPromiseError.throwOriginal)throw pb.uncaughtPromiseError.rejection;
throw pb.uncaughtPromiseError;}}(cb))}catch(pb){e(pb)}}};var oa=O("unhandledPromiseRejectionHandler"),Fa=O("state"),Ta=O("value"),Pa=O("finally"),Ya=O("parentPromiseValue"),sb=O("parentPromiseState"),Na=function(){var cb=!1;return function(pb){return function(){cb||(cb=!0,pb.apply(null,arguments))}}},ja=O("currentTaskTrace"),ya=O("rejectionHandledHandler"),Ga=function(){},gb=a.AggregateError,Wa=function(cb){if(!(this instanceof Wa))throw Error("ga");this[Fa]=null;this[Ta]=[];try{var pb=Na();cb&&cb(pb(k(this,
!0)),pb(k(this,!1)))}catch(Za){q(this,!1,Za)}};Wa.toString=function(){return"function ZoneAwarePromise() { [native code] }"};Wa.resolve=function(cb){return cb instanceof Wa?cb:q(new this(null),!0,cb)};Wa.reject=function(cb){return q(new this(null),!1,cb)};Wa.any=function(cb){if(!cb||"function"!==typeof cb[Symbol.iterator])return Promise.reject(new gb([],"All promises were rejected"));var pb=[],Za=0;try{for(var Fb=l(cb),ac=Fb.next();!ac.done;ac=Fb.next()){var vb=ac.value;Za++;pb.push(Wa.resolve(vb))}}catch(Vb){return Promise.reject(new gb([],
"All promises were rejected"))}if(0===Za)return Promise.reject(new gb([],"All promises were rejected"));var Zb=!1,sc=[];return new Wa(function(Vb,Pc){for(var Td=0;Td<pb.length;Td++)pb[Td].then(function(we){Zb||(Zb=!0,Vb(we))},function(we){sc.push(we);Za--;0===Za&&(Zb=!0,Pc(new gb(sc,"All promises were rejected")))})})};Wa.race=function(cb){function pb(sc){Fb(sc)}function Za(sc){ac(sc)}var Fb,ac,vb=new this(function(sc,Vb){Fb=sc;ac=Vb});cb=l(cb);for(var Zb=cb.next();!Zb.done;Zb=cb.next())(Zb=Zb.value)&&
Zb.then||(Zb=this.resolve(Zb)),Zb.then(pb,Za);return vb};Wa.all=function(cb){return Wa.allWithCallback(cb)};Wa.allSettled=function(cb){return(this&&this.prototype instanceof Wa?this:Wa).allWithCallback(cb,{thenCallback:function(pb){return{status:"fulfilled",value:pb}},errorCallback:function(pb){return{status:"rejected",reason:pb}}})};Wa.allWithCallback=function(cb,pb){var Za,Fb,ac=new this(function(Td,we){Za=Td;Fb=we}),vb=2,Zb=0,sc=[];cb=l(cb);for(var Vb=cb.next(),Pc={};!Vb.done;Pc={curValueIndex:void 0},
Vb=cb.next()){(Vb=Vb.value)&&Vb.then||(Vb=this.resolve(Vb));Pc.curValueIndex=Zb;try{Vb.then(function(Td){return function(we){sc[Td.curValueIndex]=pb?pb.thenCallback(we):we;vb--;0===vb&&Za(sc)}}(Pc),function(Td){return function(we){pb?(sc[Td.curValueIndex]=pb.errorCallback(we),vb--,0===vb&&Za(sc)):Fb(we)}}(Pc))}catch(Td){Fb(Td)}vb++;Zb++}vb-=2;0===vb&&Za(sc);return ac};Vg.Object.defineProperty(Wa.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!0,get:function(){return"Promise"}});Vg.Object.defineProperty(Wa.prototype,
Symbol.species,{configurable:!0,enumerable:!0,get:function(){return Wa}});Wa.prototype.then=function(cb,pb){var Za,Fb=null==(Za=this.constructor)?void 0:Za[Symbol.species];Fb&&"function"===typeof Fb||(Fb=this.constructor||Wa);Za=new Fb(Ga);Fb=b.current;null==this[Fa]?this[Ta].push(Fb,Za,cb,pb):w(this,Fb,Za,cb,pb);return Za};Wa.prototype.catch=function(cb){return this.then(null,cb)};Wa.prototype.finally=function(cb){var pb,Za=null==(pb=this.constructor)?void 0:pb[Symbol.species];Za&&"function"===typeof Za||
(Za=Wa);pb=new Za(Ga);pb[Pa]=Pa;Za=b.current;null==this[Fa]?this[Ta].push(Za,pb,cb,cb):w(this,Za,pb,cb,cb);return pb};Wa.resolve=Wa.resolve;Wa.reject=Wa.reject;Wa.race=Wa.race;Wa.all=Wa.all;Z=a[Z]=a.Promise;a.Promise=Wa;var zc=O("thenPatched");c.patchThen=z;Z&&(z(Z),mc(a,"fetch",function(cb){return F(cb)}));Promise[b.__symbol__("uncaughtPromiseErrors")]=P;return Wa});var wea=ic("zoneTask");Zone.__load_patch("toString",function(a){var b=Function.prototype.toString,c=ic("OriginalDelegate"),d=ic("Promise"),e=ic("Error"),f=function(){if("function"===typeof this){var k=this[c];if(k)return"function"===typeof k?b.call(k):Object.prototype.toString.call(k);if(this===Promise&&(k=a[d])||this===Error&&(k=a[e]))return b.call(k)}return b.call(this)};f[c]=b;Function.prototype.toString=f;var h=Object.prototype.toString;Object.prototype.toString=function(){return"function"===typeof Promise&&this instanceof
Promise?"[object Promise]":h.call(this)}});Zone.__load_patch("util",function(a,b,c){var d=zea(a);c.patchOnProperties=gea;c.patchMethod=mc;c.bindArguments=$da;c.patchMacroTask=iea;var e=b.__symbol__("BLACK_LISTED_EVENTS"),f=b.__symbol__("UNPATCHED_EVENTS");a[f]&&(a[e]=a[f]);a[e]&&(b[e]=b[f]=a[e]);c.patchEventPrototype=uea;c.patchEventTarget=tea;c.isIEOrEdge=lea;c.ObjectDefineProperty=eea;c.ObjectGetOwnPropertyDescriptor=gc;c.ObjectCreate=IOb;c.ArraySlice=JOb;c.patchClass=lc;c.wrapWithCurrentZone=Zda;c.filterProperties=yea;c.attachOriginToPatched=
hc;c._redefineProperty=Object.defineProperty;c.patchCallbacks=xea;c.getGlobalObjects=function(){return{globalSources:pea,zoneSymbolEventNames:pc,eventNames:d,isBrowser:OOb,isMix:POb,isNode:oea,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:oc,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}});var Aea,Bea,Cea,Dea,tc;var Lea=[].concat(r("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(" ")),
r(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"]),r(["autocomplete","autocompleteerror"]),r(["toggle"]),r("afterscriptexecute beforescriptexecute DOMContentLoaded freeze fullscreenchange mozfullscreenchange webkitfullscreenchange msfullscreenchange fullscreenerror mozfullscreenerror webkitfullscreenerror msfullscreenerror readystatechange visibilitychange resume".split(" ")),r("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(" ")),
r("beforecopy beforecut beforepaste copy cut paste dragstart loadend animationstart search transitionrun transitionstart webkitanimationend webkitanimationiteration webkitanimationstart webkittransitionend".split(" ")),r("activate afterupdate ariarequest beforeactivate beforedeactivate beforeeditfocus beforeupdate cellchange controlselect dataavailable datasetchanged datasetcomplete errorupdate filterchange layoutcomplete losecapture move moveend movestart propertychange resizeend resizestart rowenter rowexit rowsdelete rowsinserted command compassneedscalibration deactivate help mscontentzoom msmanipulationstatechanged msgesturechange msgesturedoubletap msgestureend msgesturehold msgesturestart msgesturetap msgotpointercapture msinertiastart mslostpointercapture mspointercancel mspointerdown mspointerenter mspointerhover mspointerleave mspointermove mspointerout mspointerover mspointerup pointerout mssitemodejumplistitemremoved msthumbnailclick stop storagecommit".split(" ")));(function(a){a[(a.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=function(){var b=a.Zone;b.__load_patch("defineProperty",function(c,d,e){e._redefineProperty=Hea;Gea()});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){Iea(c,e);d=e.getGlobalObjects();var f=d.isMix;d.isNode&&!f||Kea(e,c)||(d="undefined"!==typeof WebSocket,Mea(e),e.patchClass("XMLHttpRequest"),d&&Jea(e,c),Zone[e.symbol("patchEvents")]=!0)})}})("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{});Zone.__load_patch("legacy",function(a){(a=a[Zone.__symbol__("legacyPatch")])&&a()});Zone.__load_patch("timers",function(a){rc(a,"set","clear","Timeout");rc(a,"set","clear","Interval");rc(a,"set","clear","Immediate")});Zone.__load_patch("requestAnimationFrame",function(a){rc(a,"request","cancel","AnimationFrame");rc(a,"mozRequest","mozCancel","AnimationFrame");rc(a,"webkitRequest","webkitCancel","AnimationFrame")});
Zone.__load_patch("blocking",function(a,b){for(var c=["alert","prompt","confirm"],d=0;d<c.length;d++)mc(a,c[d],function(e,f,h){return function(k,q){return b.current.run(e,a,q,h)}})});
Zone.__load_patch("EventTarget",function(a,b,c){c.patchEventPrototype(a,c);if(!Zone[c.symbol("patchEventTarget")]){var d=c.getGlobalObjects();b=d.eventNames;var e=d.zoneSymbolEventNames,f=d.TRUE_STR,h=d.FALSE_STR;d=d.ZONE_SYMBOL_PREFIX;for(var k=0;k<b.length;k++){var q=b[k],t=d+(q+h),w=d+(q+f);e[q]={};e[q][h]=t;e[q][f]=w}(b=a.EventTarget)&&b.prototype&&c.patchEventTarget(a,c,[b&&b.prototype])}(b=a.XMLHttpRequestEventTarget)&&b.prototype&&c.patchEventTarget(a,c,[b.prototype])});
Zone.__load_patch("MutationObserver",function(){lc("MutationObserver");lc("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",function(){lc("IntersectionObserver")});Zone.__load_patch("FileReader",function(){lc("FileReader")});
Zone.__load_patch("on_property",function(a,b,c){if((!oea||POb)&&!Zone[c.symbol("patchEvents")]){b=a.__Zone_ignore_on_properties;c=[];if(OOb){var d=window;c=c.concat("Document SVGElement Element HTMLElement HTMLBodyElement HTMLMediaElement HTMLFrameSetElement HTMLFrameElement HTMLIFrameElement HTMLMarqueeElement Worker".split(" "));a:{try{var e=nc.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")){var f=!0;break a}}catch(k){}f=!1}e=f?[{target:d,ignoreProperties:["error"]}]:
[];f=zea(d);var h=b?b.concat(e):b;e=hea(d);d&&(f=yea(d,f,h),gea(d,f,e))}c=c.concat("XMLHttpRequest XMLHttpRequestEventTarget IDBIndex IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor WebSocket".split(" "));for(d=0;d<c.length;d++)(e=a[c[d]])&&e.prototype&&(f=e.prototype,e=zea(e.prototype),f&&(e=yea(f,e,b),gea(f,e,void 0)))}});
Zone.__load_patch("customElements",function(a,b,c){b=c.getGlobalObjects();var d=b.isMix;(b.isBrowser||d)&&a.customElements&&"customElements"in a&&c.patchCallbacks(c,a.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])});
Zone.__load_patch("XHR",function(a,b){(function(q){function t(oa){var Fa=oa.data,Ta=Fa.target;Ta[f]=!1;Ta[k]=!1;var Pa=Ta[e];J||(J=Ta[KOb],H=Ta[LOb]);Pa&&H.call(Ta,"readystatechange",Pa);Pa=Ta[e]=function(){if(Ta.readyState===Ta.DONE)if(!Fa.aborted&&Ta[f]&&"scheduled"===oa.state){var Ya=Ta[b.__symbol__("loadfalse")];if(0!==Ta.status&&Ya&&0<Ya.length){var sb=oa.invoke;oa.invoke=function(){for(var Na=Ta[b.__symbol__("loadfalse")],ja=0;ja<Na.length;ja++)Na[ja]===oa&&Na.splice(ja,1);Fa.aborted||"scheduled"!==
oa.state||sb.call(oa)};Ya.push(oa)}else oa.invoke()}else Fa.aborted||!1!==Ta[f]||(Ta[k]=!0)};J.call(Ta,"readystatechange",Pa);Ta[c]||(Ta[c]=oa);Z.apply(Ta,Fa.args);Ta[f]=!0;return oa}function w(){}function z(oa){oa=oa.data;oa.aborted=!0;return la.apply(oa.target,oa.args)}var F=q.XMLHttpRequest;if(F){F=F.prototype;var J=F[KOb],H=F[LOb];!J&&(q=q.XMLHttpRequestEventTarget)&&(q=q.prototype,J=q[KOb],H=q[LOb]);var O=mc(F,"open",function(){return function(oa,Fa){oa[d]=0==Fa[2];oa[h]=Fa[1];return O.apply(oa,
Fa)}}),P=ic("fetchTaskAborting"),U=ic("fetchTaskScheduling"),Z=mc(F,"send",function(){return function(oa,Fa){if(!0===b.current[U]||oa[d])return Z.apply(oa,Fa);Fa={target:oa,url:oa[h],isPeriodic:!1,args:Fa,aborted:!1};var Ta=Zone.current.scheduleMacroTask("XMLHttpRequest.send",w,Fa,t,z);oa&&!0===oa[k]&&!Fa.aborted&&"scheduled"===Ta.state&&Ta.invoke()}}),la=mc(F,"abort",function(){return function(oa,Fa){var Ta=oa[c];if(Ta&&"string"==typeof Ta.type)null==Ta.cancelFn||Ta.data&&Ta.data.aborted||Ta.zone.cancelTask(Ta);
else if(!0===b.current[P])return la.apply(oa,Fa)}})}})(a);var c=ic("xhrTask"),d=ic("xhrSync"),e=ic("xhrListener"),f=ic("xhrScheduled"),h=ic("xhrURL"),k=ic("xhrErrorBeforeScheduled")});Zone.__load_patch("geolocation",function(a){a.navigator&&a.navigator.geolocation&&bea(a.navigator.geolocation)});
Zone.__load_patch("PromiseRejectionEvent",function(a,b){function c(d){return function(e){rea(a,d).forEach(function(f){var h=a.PromiseRejectionEvent;h&&(h=new h(d,{promise:e.promise,reason:e.rejection}),f.invoke(h))})}}a.PromiseRejectionEvent&&(b[ic("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),b[ic("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("queueMicrotask",function(a,b,c){vea(a,c)});Zone.__load_patch("canvas",function(a,b,c){a=a.HTMLCanvasElement;"undefined"!==typeof a&&a.prototype&&a.prototype.toBlob&&c.patchMacroTask(a.prototype,"toBlob",function(d,e){return{name:"HTMLCanvasElement.toBlob",target:d,cbIdx:0,args:e}})});var Nea=uc({"\u0275prov":uc}),Rea=uc({"\u0275inj":uc}),Oea=uc({ngInjectableDef:uc}),Sea=uc({ngInjectorDef:uc});var Ac=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};X(Ac,Error);var Mc=uc({"\u0275cmp":uc}),lfa=uc({"\u0275dir":uc}),pfa=uc({"\u0275pipe":uc}),ROb=uc({"\u0275mod":uc}),rfa=uc({"\u0275fac":uc}),td=uc({__NG_ELEMENT_ID__:uc}),SOb=uc({__NG_ENV_ID__:uc});var Wea;var Zea=uc({__forward_ref__:uc});var Xc=function(a,b){this._desc=a;this.\u0275prov=void 0;"number"==typeof b?this.__NG_ELEMENT_ID__=b:void 0!==b&&(this.\u0275prov=vc({token:this,providedIn:b.providedIn||"root",factory:b.factory}))};Xc.prototype.toString=function(){return"InjectionToken "+this._desc};Vg.Object.defineProperties(Xc.prototype,{multi:{configurable:!0,enumerable:!0,get:function(){return this}}});var Ld=globalThis;var TOb={},UOb=/\n/gm,Ec=void 0;var Bfa=new Xc("");var VOb=new Xc("",-1);var Afa=new Xc("");var Ffa=function(){};Ffa.prototype.get=function(a,b){b=void 0===b?TOb:b;if(b===TOb)throw a=Error("ka`"+yc(a)),a.name="NullInjectorError",a;return b};var Oc={},Kc=[];var Cfa=uc({provide:String,useValue:uc});var xma=new Xc("");var Kfa={},WOb={},Efa=void 0,Mu=function(){},Zc=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;Mfa(a,function(f){return XOb(e,f)});this.records.set(VOb,Yc(void 0,this));d.has("environment")&&this.records.set(Mu,Yc(void 0,this));a=this.records.get(xma);null!=a&&"string"===typeof a.value&&this.scopes.add(a.value);this.injectorDefTypes=new Set(this.get(Afa,Kc,2))};X(Zc,Mu);
Zc.prototype.destroy=function(){Nfa(this);this._destroyed=!0;try{for(var a=l(this._ngOnDestroyHooks),b=a.next();!b.done;b=a.next())b.value.ngOnDestroy();var c=this._onDestroyHooks;this._onDestroyHooks=[];for(var d=l(c),e=d.next();!e.done;e=d.next()){var f=e.value;f()}}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}};
Zc.prototype.onDestroy=function(a){var b=this;Nfa(this);this._onDestroyHooks.push(a);return function(){var c=b._onDestroyHooks.indexOf(a);-1!==c&&b._onDestroyHooks.splice(c,1)}};
Zc.prototype.get=function(a,b,c){b=void 0===b?TOb:b;c=void 0===c?0:c;Nfa(this);if(a.hasOwnProperty(SOb))return a[SOb](this);c=afa(c);var d=Fc(this),e=Bc();try{if(!(c&4)){var f=this.records.get(a);if(void 0===f){var h=("function"===typeof a||"object"===typeof a&&a instanceof Xc)&&Pea(a),k;if(k=h)if(h.providedIn){var q=Dc(h.providedIn);k="string"===typeof q?"any"===q||this.scopes.has(q):this.injectorDefTypes.has(q)}else k=!1;k?f=Yc(Ifa(a),Kfa):f=null;this.records.set(a,f)}if(null!=f){b=f;b.value===
Kfa&&(b.value=WOb,b.value=b.factory());var t;if(t="object"===typeof b.value&&b.value){var w=b.value;t=null!==w&&"object"===typeof w&&"function"===typeof w.ngOnDestroy}t&&this._ngOnDestroyHooks.add(b.value);return b.value}}var z=c&2?Gfa():this.parent;b=c&8&&b===TOb?null:b;return z.get(a,b)}catch(la){if("NullInjectorError"===la.name){(la.ngTempTokenPath=la.ngTempTokenPath||[]).unshift(yc(a));if(d)throw la;t=la;var F=this.source,J=t.ngTempTokenPath;a.__source&&J.unshift(a.__source);var H="\n"+t.message;
a=F;a=void 0===a?null:a;H=H&&"\n"===H.charAt(0)&&"\u0275"==H.charAt(1)?H.slice(2):H;var O=yc(J);if(Array.isArray(J))O=J.map(yc).join(" -> ");else if("object"===typeof J){F=[];for(var P in J)if(J.hasOwnProperty(P)){var U=J[P];F.push(P+":"+("string"===typeof U?JSON.stringify(U):yc(U)))}O="{"+F.join(", ")+"}"}var Z="R3InjectorError"+(a?"("+a+")":"")+"["+O+"]: "+H.replace(UOb,"\n  ");t.message=Z;t.ngTokenPath=J;t.ngTempTokenPath=null;throw t;}throw la;}finally{Bc(e),Fc(d)}};
var Iga=function(a){var b=Fc(a),c=Bc();try{for(var d=a.get(Bfa,Kc,2),e=l(d),f=e.next();!f.done;f=e.next()){var h=f.value;h()}}finally{Fc(b),Bc(c)}};Zc.prototype.toString=function(){for(var a=[],b=l(this.records.keys()),c=b.next();!c.done;c=b.next())a.push(yc(c.value));return"R3Injector["+a.join(", ")+"]"};
var Nfa=function(a){if(a._destroyed)throw new Ac(205,!1);},XOb=function(a,b){b=Dc(b);var c=Wc(b)?b:Dc(b&&b.provide),d=Lfa(b);if(!Wc(b)&&!0===b.multi){var e=a.records.get(c);e||(e=Yc(void 0,Kfa,!0),e.factory=function(){return bfa(e.multi)},a.records.set(c,e));c=b;e.multi.push(b)}a.records.set(c,d)};Vg.Object.defineProperties(Zc.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});var YOb=Hc(ad(function(a){return{token:a}}),-1),Nu=Hc(ad(),8);Hc(ad(),2);var Ou=Hc(ad(),4);Hc(ad(),1);var Qfa=null,Xfa=1,cha=Symbol("ma"),Pu={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 ZOb=Symbol("oa"),$Ob=Symbol("pa"),aPb=Symbol("qa");Object.assign({},Pu,{value:ZOb,dirty:!0,error:null,equal:Pfa,producerMustRecompute:function(a){return a.value===ZOb||a.value===$Ob},producerRecomputeValue:function(a){if(a.value===$Ob)throw Error("ra");var b=a.value;a.value=$Ob;var c=Sfa(a);try{var d=a.computation()}catch(e){d=aPb,a.error=e}finally{Vfa(a,c)}b!==ZOb&&b!==aPb&&d!==aPb&&a.equal(b,d)?a.value=b:(a.value=d,a.version++)}});var Jka=function(){throw Error();};var bPb=Object.assign({},Pu,{equal:Pfa,value:void 0});Object.assign({},Pu,{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:function(a){null!==a.schedule&&a.schedule(a.ref)},hasRun:!1,cleanupFn:function(){}});var bga=function(a,b,c){this.previousValue=a;this.currentValue=b;this.firstChange=c};bga.prototype.isFirstChange=function(){return this.firstChange};ed.ngInherit=!0;var kd=kga(null),Fha=null,mf=!0;var xd=function(a,b){var c=A;this.factory=a;this.resolving=!1;this.canSeeViewProviders=b;this.injectImpl=c};var sga=!0,uga=0,vd={},yd=function(a,b){this._tNode=a;this._lView=b};yd.prototype.get=function(a,b,c){return Dga(this._tNode,this._lView,a,afa(c),b)};uc({provide:String,useValue:uc});var He=function(){},og=function(a){if(Array.isArray(a))return Jga({name:""},void 0,a,"");var b,c=null!=(b=a.name)?b:"";return Jga({name:c},a.parent,a.providers,c)},cPb=new Ffa;He.\u0275prov=vc({token:He,providedIn:"any",factory:function(){return p(VOb)}});He.__NG_ELEMENT_ID__=-1;var Qu=function(){};var Ru=function(){},Pza=function(){};var dPb=function(){};var Kga=void 0;var ePb=new Xc("",{providedIn:"root",factory:function(){return"ng"}}),zma=new Xc(""),Ie=new Xc("",{providedIn:"platform",factory:function(){return"unknown"}});new Xc("");var Su=new Xc(""),fPb=new Xc("",{providedIn:"root",factory:function(){var a,b;return(null==(a=Lga().body)?void 0:null==(b=a.querySelector("[ngCspNonce]"))?void 0:b.getAttribute("ngCspNonce"))||null}}),gPb={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1};
new Xc("",{providedIn:"root",factory:function(){return gPb}});var hPb=function(){},iPb=function(){};var Ad=function(a){this.nativeElement=a};Ad.__NG_ELEMENT_ID__=function(){return Bd(ld(),u())};var jPb=function(){},Tu=function(){this.destroyNode=null};Tu.__NG_ELEMENT_ID__=function(){var a=u(),b=hd(ld().index,a);return(bd(b)?b:a)[11]};var Nga=new Map,Dha=0;var Oga=/^>|^->|\x3c!--|--\x3e|--!>|<!-$/g,Pga=/(<|>)/g;var kPb=this,Ud=function(){this._console=console};Ud.prototype.handleError=function(a){var b=this._findOriginalError(a);this._console.error("ERROR",a);b&&this._console.error("ORIGINAL ERROR",b)};Ud.prototype._findOriginalError=function(a){for(a=a&&a.ngOriginalError;a&&a.ngOriginalError;)a=a.ngOriginalError;return a||null};var oma=new Xc("",{providedIn:"root",factory:function(){return Gc(Ud).handleError.bind(kPb)}});new Xc("");var lPb=new Xc("",{providedIn:"root",factory:function(){return!1}});var Rd={};var Id=function(a){this.changingThisBreaksApplicationSecurity=a};Id.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"};var mPb=function(){Id.apply(this,arguments)};X(mPb,Id);mPb.prototype.getTypeName=function(){return"HTML"};var nPb=function(){Id.apply(this,arguments)};X(nPb,Id);nPb.prototype.getTypeName=function(){return"URL"};var oPb=function(){Id.apply(this,arguments)};X(oPb,Id);
oPb.prototype.getTypeName=function(){return"ResourceURL"};var eha;var oha=function(a){this.inertDocumentHelper=a};oha.prototype.getInertBodyElement=function(a){a="<body><remove></remove>"+a;try{var b=(new window.DOMParser).parseFromString(gha(a),"text/html").body;if(null===b)return this.inertDocumentHelper.getInertBodyElement(a);b.removeChild(b.firstChild);return b}catch(c){return null}};var nha=function(a){this.defaultDoc=a;this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")};
nha.prototype.getInertBodyElement=function(a){var b=this.inertDocument.createElement("template");b.innerHTML=gha(a);return b};var hha=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var pPb=Md("area,br,col,hr,img,wbr"),qPb=Md("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rPb=Md("rp,rt"),sPb=Nd(rPb,qPb),tPb=Nd(qPb,Md("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")),uPb=Nd(rPb,Md("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")),
qha=Nd(pPb,tPb,uPb,sPb),sha=Md("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),vPb=Md("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"),
wPb=Md("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"),
rha=Nd(sha,vPb,wPb),tha=Md("script,style,template"),pha=function(){this.buf=[]};pha.prototype.endElement=function(a){a=a.nodeName.toLowerCase();qha.hasOwnProperty(a)&&!pPb.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))};var uha=function(a,b){if(b&&(a.compareDocumentPosition(b)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw Error("ua`"+a.outerHTML);return b},jha=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,kha=/([^#-~ |!])/g,mha;var xPb={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 wha;var dia=[],eia=Object.assign({},Pu,{consumerIsAlwaysLive:!0,consumerMarkedDirty:function(a){dga(a.lView)},consumerOnSignalRead:function(){this.lView[23]=this}});var Vd=function(a,b,c){this._lView=a;this._cdRefInjectingView=b;this.notifyErrorHandler=void 0===c?!0:c;this._appRef=null;this._attachedToViewContainer=!1};g=Vd.prototype;g.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var a=this._lView[3];if(cd(a)){var b=a[8],c=b?b.indexOf(this):-1;-1<c&&(Fd(a,c),tfa(b,c))}this._attachedToViewContainer=!1}Tga(this._lView[1],this._lView)};g.onDestroy=function(a){fga(this._lView,a)};
g.markForCheck=function(){gia(this._cdRefInjectingView||this._lView)};g.detach=function(){this._lView[2]&=-129};g.detectChanges=function(){this._lView[2]|=1024;var a=this._lView,b=this.notifyErrorHandler;b=void 0===b?!0:b;var c=a[10],d=c.rendererFactory,e;null==(e=d.begin)||e.call(d);try{for(bia(a,0),e=0;cga(a);){if(100===e)throw new Ac(103,!1);e++;bia(a,1)}}catch(k){throw b&&Zha(a,k),k;}finally{var f;null==(f=d.end)||f.call(d);var h;null==(h=c.inlineEffectRunner)||h.flush()}};
Vg.Object.defineProperties(Vd.prototype,{rootNodes:{configurable:!0,enumerable:!0,get:function(){var a=this._lView,b=a[1];return $ga(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 Uu=function(){};Uu.__NG_ELEMENT_ID__=hia;var yPb=function(){};yPb.prototype.supports=function(a){return jia(a)};yPb.prototype.create=function(a){return new zPb(a)};var APb=function(a,b){return b},zPb=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||APb};
zPb.prototype.forEachItem=function(a){var b;for(b=this._itHead;null!==b;b=b._next)a(b)};
var BPb=function(a,b){var c=a._itHead;a=a._removalsHead;for(var d=0,e=null;c||a;){var f=!a||c&&c.currentIndex<lia(a,d,e)?c:a,h=lia(f,d,e),k=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=k-d;if(q!=t){for(var w=0;w<q;w++){var z=w<e.length?e[w]:e[w]=0,F=z+w;t<=F&&F<q&&(e[w]=z+1)}e[f.previousIndex]=t-q}}h!==k&&b(f,h,k)}},CPb=function(a,b){for(a=a._identityChangesHead;null!==a;a=a._nextIdentityChange)b(a)};g=zPb.prototype;
g.diff=function(a){null==a&&(a=[]);if(!jia(a))throw new Ac(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 k=0;kia(a,function(q){h=b._trackByFn(k,q);null!==c&&Object.is(c.trackById,h)?(d&&(c=b._verifyReinsertion(c,q,h,k)),Object.is(c.item,q)||b._addIdentityChange(c,
q)):(c=b._mismatch(c,q,h,k),d=!0);c=c._next;k++});this.length=k}this._truncate(c);this.collection=a;return this.isDirty};
g._reset=function(){if(this.isDirty){var a;for(a=this._previousItHead=this._itHead;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 DPb(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 Vu);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 Vu);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};Vg.Object.defineProperties(zPb.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}});
var DPb=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},EPb=function(){this._tail=this._head=null};EPb.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)};
EPb.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};EPb.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 Vu=function(){this.map=new Map};Vu.prototype.put=function(a){var b=a.trackById,c=this.map.get(b);c||(c=new EPb,this.map.set(b,c));c.add(a)};
Vu.prototype.get=function(a,b){var c=this.map.get(a);return c?c.get(a,b):null};Vu.prototype.remove=function(a){var b=a.trackById;this.map.get(b).remove(a)&&this.map.delete(b);return a};Vu.prototype.clear=function(){this.map.clear()};Vg.Object.defineProperties(Vu.prototype,{isEmpty:{configurable:!0,enumerable:!0,get:function(){return 0===this.map.size}}});var FPb=function(){};FPb.prototype.supports=function(a){return a instanceof Map||iia(a)};FPb.prototype.create=function(){return new GPb};var GPb=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=GPb.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||iia(a)))throw new Ac(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 HPb(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)})};Vg.Object.defineProperties(GPb.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}});var HPb=function(a){this.key=a;this._nextChanged=this._nextRemoved=this._nextAdded=this._prev=this._next=this._nextPrevious=this.currentValue=this.previousValue=null};var Wu=function(a){this.factories=a};Wu.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(null!=b)return b;throw new Ac(901,!1);};Wu.\u0275prov=vc({token:Wu,providedIn:"root",factory:function(){return new Wu([new yPb])}});var Xu=function(a){this.factories=a};Xu.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b)return b;throw new Ac(901,!1);};Xu.\u0275prov=vc({token:Xu,providedIn:"root",factory:function(){return new Xu([new FPb])}});var Le=function(){};Le.__NG_ELEMENT_ID__=mia;Le.__NG_ENV_ID__=function(a){return a};var Wd=function(a){this._lView=a};X(Wd,Le);Wd.__NG_ENV_ID__=Le.__NG_ENV_ID__;Wd.__NG_ELEMENT_ID__=Le.__NG_ELEMENT_ID__;Wd.prototype.onDestroy=function(a){var b=this;fga(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)}}};new Xc("",{providedIn:"root",factory:function(){return Gc(IPb)}});var IPb=function(){};IPb.\u0275prov=vc({token:IPb,providedIn:"root",factory:function(){return new JPb}});var JPb=function(){this.queuedEffectCount=0;this.queues=new Map};JPb.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))};
JPb.prototype.flush=function(){for(var a=this;0<this.queuedEffectCount;)for(var b=l(this.queues),c=b.next(),d={};!c.done;d={queue$jscomp$3:void 0},c=b.next()){var e=l(c.value);c=e.next().value;e=e.next().value;d.queue$jscomp$3=e;null===c?KPb(this,d.queue$jscomp$3):c.run(function(f){return function(){return KPb(a,f.queue$jscomp$3)}}(d))}};var KPb=function(a,b){for(var c=l(b),d=c.next();!d.done;d=c.next())d=d.value,b.delete(d),a.queuedEffectCount--,d.run()};var oia=new Set;var LPb=!1,ce={Promise:void 0,set useDeprecatedSynchronousErrorHandling(a){a?console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+Error().stack):LPb&&console.log("RxJS: Back to a better error behavior. Thank you. <3");LPb=a},get useDeprecatedSynchronousErrorHandling(){return LPb}};var te="function"===typeof Symbol&&Symbol.observable||"@@observable";var MPb={closed:!0,next:function(){},error:function(a){if(ce.useDeprecatedSynchronousErrorHandling)throw a;Xd(a)},complete:function(){}};var $d=function(){function a(b){this.message=b?b.length+" errors occurred during unsubscription:\n"+b.map(function(c,d){return d+1+") "+c.toString()}).join("\n  "):"";this.name="UnsubscriptionError";this.errors=b;return this}a.prototype=Object.create(Error.prototype);return a}();var ie=Array.isArray||function(a){return a&&"number"===typeof a.length};var Zd=function(a){this.closed=!1;this._subscriptions=this._parentOrParents=null;a&&(this._ctorUnsubscribe=!0,this._unsubscribe=a)};
Zd.prototype.unsubscribe=function(){if(!this.closed){var a=this._parentOrParents,b=this._ctorUnsubscribe,c=this._unsubscribe,d=this._subscriptions;this.closed=!0;this._subscriptions=this._parentOrParents=null;if(a instanceof Zd)a.remove(this);else if(null!==a)for(var e=0;e<a.length;++e)a[e].remove(this);if(Yd(c)){b&&(this._unsubscribe=void 0);try{c.call(this)}catch(q){var f=q instanceof $d?sia(q.errors):[q]}}if(ie(d)){e=-1;for(var h=d.length;++e<h;){var k=d[e];if(qia(k))try{k.unsubscribe()}catch(q){f=
f||[],q instanceof $d?f=f.concat(sia(q.errors)):f.push(q)}}}if(f)throw new $d(f);}};
Zd.prototype.add=function(a){var b=a;if(!a)return Zd.EMPTY;switch(typeof a){case "function":b=new Zd(a);case "object":if(b===this||b.closed||"function"!==typeof b.unsubscribe)return b;if(this.closed)return b.unsubscribe(),b;b instanceof Zd||(a=b,b=new Zd,b._subscriptions=[a]);break;default:throw Error("wa`"+a);}var c=b._parentOrParents;if(null===c)b._parentOrParents=this;else if(c instanceof Zd){if(c===this)return b;b._parentOrParents=[c,this]}else if(-1===c.indexOf(this))c.push(this);else return b;
a=this._subscriptions;null===a?this._subscriptions=[b]:a.push(b);return b};Zd.prototype.remove=function(a){var b=this._subscriptions;b&&(a=b.indexOf(a),-1!==a&&b.splice(a,1))};var NPb=new Zd;NPb.closed=!0;Zd.EMPTY=NPb;var ae=function(a,b,c){Zd.call(this);this.syncErrorValue=null;this.isStopped=this.syncErrorThrowable=this.syncErrorThrown=!1;switch(arguments.length){case 0:this.destination=MPb;break;case 1:if(!a){this.destination=MPb;break}if("object"===typeof a){a instanceof ae?(this.syncErrorThrowable=a.syncErrorThrowable,this.destination=a,a.add(this)):(this.syncErrorThrowable=!0,this.destination=new Yu(this,a));break}default:this.syncErrorThrowable=!0,this.destination=new Yu(this,a,b,c)}};X(ae,Zd);
ae.EMPTY=Zd.EMPTY;ae.create=function(a,b,c){a=new ae(a,b,c);a.syncErrorThrowable=!1;return a};g=ae.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,Zd.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 Yu=function(a,b,c,d){ae.call(this);this._parentSubscriber=a;var e=this;if(Yd(b))var f=b;else b&&(f=b.next,c=b.error,d=b.complete,b!==MPb&&(e=Object.create(b),ria(b)&&b.add(this.unsubscribe.bind(this)),e.unsubscribe=this.unsubscribe.bind(this)));this._context=e;this._next=f;this._error=c;this._complete=d};X(Yu,ae);Yu.EMPTY=ae.EMPTY;Yu.create=ae.create;g=Yu.prototype;
g.next=function(a){if(!this.isStopped&&this._next){var b=this._parentSubscriber;ce.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?this.__tryOrSetError(b,this._next,a)&&this.unsubscribe():this.__tryOrUnsub(this._next,a)}};
g.error=function(a){if(!this.isStopped){var b=this._parentSubscriber,c=ce.useDeprecatedSynchronousErrorHandling;if(this._error)c&&b.syncErrorThrowable?this.__tryOrSetError(b,this._error,a):this.__tryOrUnsub(this._error,a),this.unsubscribe();else if(b.syncErrorThrowable)c?(b.syncErrorValue=a,b.syncErrorThrown=!0):Xd(a),this.unsubscribe();else{this.unsubscribe();if(c)throw a;Xd(a)}}};
g.complete=function(){var a=this;if(!this.isStopped){var b=this._parentSubscriber;if(this._complete){var c=function(){return a._complete.call(a._context)};ce.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?this.__tryOrSetError(b,c):this.__tryOrUnsub(c)}this.unsubscribe()}};g.__tryOrUnsub=function(a,b){try{a.call(this._context,b)}catch(c){this.unsubscribe();if(ce.useDeprecatedSynchronousErrorHandling)throw c;Xd(c)}};
g.__tryOrSetError=function(a,b,c){if(!ce.useDeprecatedSynchronousErrorHandling)throw Error("xa");try{b.call(this._context,c)}catch(d){return ce.useDeprecatedSynchronousErrorHandling?(a.syncErrorValue=d,a.syncErrorThrown=!0):Xd(d),!0}return!1};g._unsubscribe=function(){var a=this._parentSubscriber;this._parentSubscriber=this._context=null;a.unsubscribe()};var OPb=function(a){ae.call(this);this.destination=a};X(OPb,ae);OPb.EMPTY=ae.EMPTY;OPb.create=ae.create;var de=function(a){a&&(this._subscribe=a)};g=de.prototype;g.lift=function(a){var b=new de;b.source=this;b.operator=a;return b};
g.subscribe=function(a,b,c){var d=this.operator;a:{if(a){if(a instanceof ae||via(a)&&ria(a))break a;if(via(a)){a=new OPb(a);break a}}a=a||b||c?new ae(a,b,c):new ae(MPb)}d?a.add(d.call(a,this.source)):a.add(this.source||ce.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a));if(ce.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a};
g._trySubscribe=function(a){try{return this._subscribe(a)}catch(b){ce.useDeprecatedSynchronousErrorHandling&&(a.syncErrorThrown=!0,a.syncErrorValue=b),tia(a)?a.error(b):console.warn(b)}};g.forEach=function(a,b){var c=this;b=wia(b);return new b(function(d,e){var f=c.subscribe(function(h){try{a(h)}catch(k){e(k),f&&f.unsubscribe()}},e,d)})};g._subscribe=function(a){var b=this.source;return b&&b.subscribe(a)};de.prototype[te]=function(){return this};
de.prototype.pipe=function(){var a=Vc.apply(0,arguments);return 0===a.length?this:uia(a)(this)};var PPb=function(a){var b=wia(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)})})};de.create=function(a){return new de(a)};var Zu=function(a,b){Zd.call(this);this.subject=a;this.subscriber=b;this.closed=!1};X(Zu,Zd);Zu.EMPTY=Zd.EMPTY;Zu.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 $u=function(){function a(){this.message="object unsubscribed";this.name="ObjectUnsubscribedError";return this}a.prototype=Object.create(Error.prototype);return a}();var $e=function(){this.observers=[];this.hasError=this.isStopped=this.closed=!1;this.thrownError=null};X($e,de);g=$e.prototype;g.lift=function(a){var b=new av(this,this);b.operator=a;return b};g.next=function(a){if(this.closed)throw new $u;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 $u;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 $u;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 $u;return de.prototype._trySubscribe.call(this,a)};g._subscribe=function(a){if(this.closed)throw new $u;if(this.hasError)return a.error(this.thrownError),Zd.EMPTY;if(this.isStopped)return a.complete(),Zd.EMPTY;this.observers.push(a);return new Zu(this,a)};var Ls=function(a){var b=new de;b.source=a;return b};
Vg.Object.defineProperties($e.prototype,{observed:{configurable:!0,enumerable:!0,get:function(){var a;return 0<(null==(a=this.observers)?void 0:a.length)}}});$e.create=function(a,b){return new av(a,b)};var av=function(a,b){$e.call(this);this.destination=a;this.source=b};X(av,$e);av.create=$e.create;av.prototype.next=function(a){var b=this.destination;b&&b.next&&b.next(a)};av.prototype.error=function(a){var b=this.destination;b&&b.error&&this.destination.error(a)};
av.prototype.complete=function(){var a=this.destination;a&&a.complete&&this.destination.complete()};av.prototype._subscribe=function(a){return this.source?this.source.subscribe(a):Zd.EMPTY};var je=function(){$e.apply(this,arguments);this.value=null;this.hasCompleted=this.hasNext=!1};X(je,$e);je.create=$e.create;je.prototype._subscribe=function(a){return this.hasError?(a.error(this.thrownError),Zd.EMPTY):this.hasCompleted&&this.hasNext?(a.next(this.value),a.complete(),Zd.EMPTY):$e.prototype._subscribe.call(this,a)};je.prototype.next=function(a){this.hasCompleted||(this.value=a,this.hasNext=!0)};je.prototype.error=function(a){this.hasCompleted||$e.prototype.error.call(this,a)};
je.prototype.complete=function(){this.hasCompleted=!0;this.hasNext&&$e.prototype.next.call(this,this.value);$e.prototype.complete.call(this)};var bv=function(a){$e.call(this);this._value=a};X(bv,$e);bv.create=$e.create;bv.prototype._subscribe=function(a){var b=$e.prototype._subscribe.call(this,a);b&&!b.closed&&a.next(this._value);return b};bv.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new $u;return this._value};bv.prototype.next=function(a){$e.prototype.next.call(this,this._value=a)};Vg.Object.defineProperties(bv.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});var Ae=new de(function(a){return a.complete()});var zia=function(a){return function(b){for(var c=0,d=a.length;c<d&&!b.closed;c++)b.next(a[c]);b.complete()}};var QPb=function(a,b,c){this.kind=a;this.value=b;this.error=c;this.hasValue="N"===a};QPb.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)}};
QPb.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 RPb={now:function(){return(RPb.delegate||Date).now()},delegate:void 0};var Ze=function(a,b,c){a=void 0===a?Infinity:a;b=void 0===b?Infinity:b;c=void 0===c?RPb:c;$e.call(this);this.timestampProvider=c;this._events=[];this._infiniteTimeWindow=!1;this._bufferSize=1>a?1:a;this._windowTime=1>b?1:b;Infinity===b?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow};X(Ze,$e);Ze.create=$e.create;g=Ze.prototype;
g.nextInfiniteTimeWindow=function(a){var b=this._events;b.push(a);b.length>this._bufferSize&&b.shift();$e.prototype.next.call(this,a)};g.nextTimeWindow=function(a){this._events.push({time:this._getNow(),value:a});this._trimBufferThenGetEvents();$e.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 $u;if(this.isStopped||this.hasError)var e=Zd.EMPTY;else this.observers.push(a),e=new Zu(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():RPb.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 TPb=function(a,b){b=void 0===b?SPb:b;this.SchedulerAction=a;this.now=b};TPb.prototype.schedule=function(a,b,c){b=void 0===b?0:b;return(new this.SchedulerAction(this,a)).schedule(c,b)};var SPb=RPb.now;var Ve=function(){function a(){this.message="no elements in sequence";this.name="EmptyError";return this}a.prototype=Object.create(Error.prototype);return a}();var Dia=function(){};Dia.prototype.call=function(a,b){b._refCount++;a=new cv(a,b);var c=b.subscribe(a);a.closed||(a.connection=b.connect());return c};var cv=function(a,b){ae.call(this,a);this.connectable=b;this.connection=null};X(cv,ae);cv.EMPTY=ae.EMPTY;cv.create=ae.create;
cv.prototype._unsubscribe=function(){var a=this.connectable;if(a){this.connectable=null;var b=a._refCount;0>=b?this.connection=null:(a._refCount=b-1,1<b?this.connection=null:(b=this.connection,a=a._connection,this.connection=null,!a||b&&a!==b||a.unsubscribe()))}else this.connection=null};var dv=function(a,b){this.source=a;this.subjectFactory=b;this._refCount=0;this._isComplete=!1};X(dv,de);dv.create=de.create;dv.prototype._subscribe=function(a){return this.getSubject().subscribe(a)};dv.prototype.getSubject=function(){var a=this._subject;if(!a||a.isStopped)this._subject=this.subjectFactory();return this._subject};
dv.prototype.connect=function(){var a=this._connection;a||(this._isComplete=!1,a=this._connection=new Zd,a.add(this.source.subscribe(new ev(this.getSubject(),this))),a.closed&&(this._connection=null,a=Zd.EMPTY));return a};dv.prototype.refCount=function(){return he()(this)};var rka,fv=dv.prototype;
rka={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:fv._subscribe},_isComplete:{value:fv._isComplete,writable:!0},getSubject:{value:fv.getSubject},connect:{value:fv.connect},refCount:{value:fv.refCount}};var ev=function(a,b){ae.call(this);this.destination=a;this.connectable=b};X(ev,ae);ev.EMPTY=ae.EMPTY;ev.create=ae.create;
ev.prototype._error=function(a){this._unsubscribe();ae.prototype._error.call(this,a)};ev.prototype._complete=function(){this.connectable._isComplete=!0;this._unsubscribe();ae.prototype._complete.call(this)};ev.prototype._unsubscribe=function(){var a=this.connectable;if(a){this.connectable=null;var b=a._connection;a._refCount=0;a._subject=null;a._connection=null;b&&b.unsubscribe()}};var Eia=function(a){this.project=a;this.thisArg=void 0};Eia.prototype.call=function(a,b){return b.subscribe(new gv(a,this.project,this.thisArg))};var gv=function(a,b,c){ae.call(this,a);this.project=b;this.count=0;this.thisArg=c||this};X(gv,ae);gv.EMPTY=ae.EMPTY;gv.create=ae.create;gv.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 se="function"===typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";var Via=function(a){return a&&"number"===typeof a.length&&"function"!==typeof a};var UPb=function(a){return function(b){var c=a[se]();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 VPb=function(a){return function(b){var c=a[te]();if("function"!==typeof c.subscribe)throw new TypeError("Ba");return c.subscribe(b)}};var WPb=function(a){return function(b){a.then(function(c){b.closed||(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,Xd);return b}};var Qia=function(a){if(a&&"function"===typeof a[te])return VPb(a);if(Via(a))return zia(a);if(Mia(a))return WPb(a);if(a&&"function"===typeof a[se])return UPb(a);if(Symbol&&Symbol.asyncIterator&&a&&"function"===typeof a[Symbol.asyncIterator])return Oia(a);throw new TypeError("Ca`"+(qia(a)?"an invalid object":"'"+a+"'"));};var hv=function(a){ae.call(this);this.parent=a};X(hv,ae);hv.EMPTY=ae.EMPTY;hv.create=ae.create;hv.prototype._next=function(a){this.parent.notifyNext(a)};hv.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};hv.prototype._complete=function(){this.parent.notifyComplete();this.unsubscribe()};var iv=function(a,b,c){ae.call(this);this.parent=a;this.outerValue=b;this.outerIndex=c};X(iv,ae);iv.EMPTY=ae.EMPTY;iv.create=ae.create;
iv.prototype._next=function(a){this.parent.notifyNext(this.outerValue,a,this.outerIndex)};iv.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};iv.prototype._complete=function(){this.parent.notifyComplete(this);this.unsubscribe()};var jv=function(){ae.apply(this,arguments)};X(jv,ae);jv.EMPTY=ae.EMPTY;jv.create=ae.create;jv.prototype.notifyNext=function(a){this.destination.next(a)};jv.prototype.notifyError=function(a){this.destination.error(a)};
jv.prototype.notifyComplete=function(){this.destination.complete()};var kv=function(){ae.apply(this,arguments)};X(kv,ae);kv.EMPTY=ae.EMPTY;kv.create=ae.create;kv.prototype.notifyNext=function(a,b){this.destination.next(b)};kv.prototype.notifyError=function(a){this.destination.error(a)};kv.prototype.notifyComplete=function(){this.destination.complete()};var XPb={},Sja=function(a,b){this.resultSelector=a;this.keys=b};Sja.prototype.call=function(a,b){return b.subscribe(new lv(a,this.resultSelector,this.keys))};var lv=function(a,b,c){kv.call(this,a);this.resultSelector=b;this.keys=c;this.active=0;this.values=[];this.observables=[]};X(lv,kv);lv.EMPTY=kv.EMPTY;lv.create=kv.create;g=lv.prototype;g._next=function(a){this.values.push(XPb);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(re(a[c],new iv(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===XPb?--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,k){return f[h]=d[k],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 Xia=function(a,b){b=void 0===b?Infinity:b;this.project=a;this.concurrent=b};Xia.prototype.call=function(a,b){return b.subscribe(new mv(a,this.project,this.concurrent))};var mv=function(a,b,c){c=void 0===c?Infinity:c;jv.call(this,a);this.destination=a;this.project=b;this.concurrent=c;this.hasCompleted=!1;this.buffer=[];this.index=this.active=0};X(mv,jv);mv.EMPTY=jv.EMPTY;mv.create=jv.create;
mv.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 hv(this);this.destination.add(a);re(c,a)}else this.buffer.push(a)};mv.prototype._complete=function(){this.hasCompleted=!0;0===this.active&&0===this.buffer.length&&this.destination.complete();this.unsubscribe()};mv.prototype.notifyNext=function(a){this.destination.next(a)};
mv.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 $ia=function(a){var b=cancelAnimationFrame,c=requestAnimationFrame(function(d){b=void 0;a(d)});return new Zd(function(){var d;return null==(d=b)?void 0:d(c)})},YPb=function(){return requestAnimationFrame.apply(null,r(Vc.apply(0,arguments)))},ZPb=function(){cancelAnimationFrame.apply(null,r(Vc.apply(0,arguments)))};var Zia={now:function(){return(Zia.delegate||performance).now()},delegate:void 0};var $Pb=aja();var nv=function(){Zd.call(this)};X(nv,Zd);nv.EMPTY=Zd.EMPTY;nv.prototype.schedule=function(){return this};var aQb=function(a,b){return setInterval.apply(null,[a,b].concat(r(Vc.apply(2,arguments))))};var ov=function(a,b){Zd.call(this);this.scheduler=a;this.work=b;this.pending=!1};X(ov,nv);ov.EMPTY=nv.EMPTY;g=ov.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 aQb(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("Ga");this.pending=!1;if(a=this._execute(a,b))return a;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))};g._execute=function(a){var b=!1,c=void 0;try{this.work(a)}catch(d){b=!0,c=!!d&&d||Error(d)}if(b)return this.unsubscribe(),c};
g._unsubscribe=function(){var a=this.id,b=this.scheduler,c=b.actions,d=c.indexOf(this);this.state=this.work=null;this.pending=!1;this.scheduler=null;-1!==d&&c.splice(d,1);null!=a&&(this.id=this.recycleAsyncId(b,a,null));this.delay=null};var pv=function(a,b){b=void 0===b?SPb:b;TPb.call(this,a,b);this.actions=[];this.active=!1;this.scheduled=void 0};X(pv,TPb);pv.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 pv(ov);var bQb=new de(ze);var kja=function(a,b){this.predicate=a;this.thisArg=b};kja.prototype.call=function(a,b){return b.subscribe(new qv(a,this.predicate,this.thisArg))};var qv=function(a,b,c){ae.call(this,a);this.predicate=b;this.thisArg=c;this.count=0};X(qv,ae);qv.EMPTY=ae.EMPTY;qv.create=ae.create;qv.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 mja=function(){};mja.prototype.call=function(a,b){return b.subscribe(new rv(a))};var rv=function(a){kv.call(this,a);this.hasFirst=!1;this.observables=[];this.subscriptions=[]};X(rv,kv);rv.EMPTY=kv.EMPTY;rv.create=kv.create;g=rv.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=re(a[c],new iv(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;kv.prototype.notifyComplete.call(this,a)};g.notifyError=function(a){this.hasFirst=!0;kv.prototype.notifyError.call(this,a)};var cQb=function(a){this.resultSelector=a};cQb.prototype.call=function(a,b){return b.subscribe(new sv(a,this.resultSelector))};var sv=function(a,b,c){void 0===c&&Object.create(null);ae.call(this,a);this.iterators=[];this.active=0;this.resultSelector=b};X(sv,ae);sv.EMPTY=ae.EMPTY;sv.create=ae.create;sv.prototype._next=function(a){var b=this.iterators;ie(a)?b.push(new tv(a)):"function"===typeof a[se]?b.push(new dQb(a[se]())):b.push(new uv(this.destination,this,a))};
sv.prototype._complete=function(){var a=this.iterators,b=a.length;this.unsubscribe();if(0===b)this.destination.complete();else{this.active=b;for(var c=0;c<b;c++){var d=a[c];d.stillUnsubscribed?this.destination.add(d.subscribe()):this.active--}}};sv.prototype._tryresultSelector=function(a){try{var b=this.resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var dQb=function(a){this.iterator=a;this.nextResult=a.next()};dQb.prototype.hasValue=function(){return!0};
dQb.prototype.next=function(){var a=this.nextResult;this.nextResult=this.iterator.next();return a};dQb.prototype.hasCompleted=function(){var a=this.nextResult;return a&&!!a.done};var tv=function(a){this.array=a;this.length=this.index=0;this.length=a.length};tv.prototype[se]=function(){return this};tv.prototype.next=function(){var a=this.index++,b=this.array;return a<this.length?{value:b[a],done:!1}:{value:null,done:!0}};tv.prototype.hasValue=function(){return this.array.length>this.index};
tv.prototype.hasCompleted=function(){return this.array.length===this.index};var uv=function(a,b,c){jv.call(this,a);this.parent=b;this.observable=c;this.stillUnsubscribed=!0;this.buffer=[];this.isComplete=!1};X(uv,jv);uv.EMPTY=jv.EMPTY;uv.create=jv.create;uv.prototype[se]=function(){return this};g=uv.prototype;g.next=function(){var a=this.buffer;return 0===a.length&&this.isComplete?{value:null,done:!0}:{value:a.shift(),done:!1}};g.hasValue=function(){return 0<this.buffer.length};
g.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete};g.notifyComplete=function(){if(0<this.buffer.length){this.isComplete=!0;var a=this.parent;a.active--;0===a.active&&a.destination.complete()}else this.destination.complete()};
g.notifyNext=function(a){this.buffer.push(a);a:{a=this.parent;for(var b=a.iterators,c=b.length,d=a.destination,e=0;e<c;e++){var f=b[e];if("function"===typeof f.hasValue&&!f.hasValue())break a}e=!1;f=[];for(var h=0;h<c;h++){var k=b[h],q=k.next();k.hasCompleted()&&(e=!0);if(q.done){d.complete();break a}f.push(q.value)}a.resultSelector?a._tryresultSelector(f):d.next(f);e&&d.complete()}};g.subscribe=function(){return re(this.observable,new hv(this))};var eQb=function(a,b,c){this.key=a;this.groupSubject=b;this.refCountSubscription=c};X(eQb,de);eQb.create=de.create;eQb.prototype._subscribe=function(a){var b=new Zd,c=this.refCountSubscription,d=this.groupSubject;c&&!c.closed&&b.add(new fQb(c));b.add(d.subscribe(a));return b};var fQb=function(a){Zd.call(this);this.parent=a;a.count++};X(fQb,Zd);fQb.EMPTY=Zd.EMPTY;
fQb.prototype.unsubscribe=function(){var a=this.parent;a.closed||this.closed||(Zd.prototype.unsubscribe.call(this),--a.count,0===a.count&&a.attemptedToUnsubscribe&&a.unsubscribe())};var tja=function(){function a(b){this.message="Timeout has occurred";this.name="TimeoutError";this.info=void 0===b?null:b;return this}a.prototype=Object.create(Error.prototype);return a}();var gQb=function(a,b){a=void 0===a?vv:a;b=void 0===b?Infinity:b;pv.call(this,a,function(){return c.frame});var c=this;this.maxFrames=b;this.frame=0;this.index=-1};X(gQb,pv);gQb.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 vv=function(a,b,c){c=void 0===c?a.index+=1:c;ov.call(this,a,b);this.scheduler=a;this.work=b;this.index=c;this.active=!0;this.index=a.index=c};X(vv,ov);vv.EMPTY=ov.EMPTY;vv.prototype.schedule=function(a,b){b=void 0===b?0:b;if(Number.isFinite(b)){if(!this.id)return ov.prototype.schedule.call(this,a,b);this.active=!1;var c=new vv(this.scheduler,this.work);this.add(c);return c.schedule(a,b)}return Zd.EMPTY};
vv.prototype.requestAsyncId=function(a,b,c){this.delay=a.frame+(void 0===c?0:c);a=a.actions;a.push(this);a.sort(hQb);return!0};vv.prototype.recycleAsyncId=function(){};vv.prototype._execute=function(a,b){if(!0===this.active)return ov.prototype._execute.call(this,a,b)};var hQb=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 wv=function(a,b){ov.call(this,a,b);this.scheduler=a;this.work=b};X(wv,ov);wv.EMPTY=ov.EMPTY;wv.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return ov.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=YPb(function(){return a.flush(void 0)}))};
wv.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return ov.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(ZPb(b),a.scheduled=void 0)};var iQb=function(){pv.apply(this,arguments)};X(iQb,pv);iQb.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 jQb=new iQb(wv);var kQb=1,lQb,uja={},mQb=function(a){var b=kQb++;uja[b]=!0;lQb||(lQb=Promise.resolve());lQb.then(function(){return vja(b)&&a()});return b};var nQb=function(){return mQb.apply(null,r(Vc.apply(0,arguments)))};var xv=function(a,b){ov.call(this,a,b);this.scheduler=a;this.work=b};X(xv,ov);xv.EMPTY=ov.EMPTY;xv.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return ov.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=nQb(a.flush.bind(a,void 0)))};
xv.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return ov.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(vja(b),a.scheduled=void 0)};var oQb=function(){pv.apply(this,arguments)};X(oQb,pv);oQb.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 pQb=new oQb(xv);var yv=function(a,b){ov.call(this,a,b);this.scheduler=a;this.work=b};X(yv,ov);yv.EMPTY=ov.EMPTY;yv.prototype.schedule=function(a,b){b=void 0===b?0:b;if(0<b)return ov.prototype.schedule.call(this,a,b);this.delay=b;this.state=a;this.scheduler.flush(this);return this};yv.prototype.execute=function(a,b){return 0<b||this.closed?ov.prototype.execute.call(this,a,b):this._execute(a,b)};
yv.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return null!==c&&0<c||null===c&&0<this.delay?ov.prototype.requestAsyncId.call(this,a,b,c):a.flush(this)};var qQb=function(){pv.apply(this,arguments)};X(qQb,pv);var rQb=new qQb(yv);var sQb=function(){function a(){this.message="argument out of range";this.name="ArgumentOutOfRangeError";return this}a.prototype=Object.create(Error.prototype);return a}();var tQb=function(){function a(b){this.message=b;this.name="NotFoundError";return this}a.prototype=Object.create(Error.prototype);return a}();var uQb=function(){function a(b){this.message=b;this.name="SequenceError";return this}a.prototype=Object.create(Error.prototype);return a}();var W={};W.Observable=de;W.ConnectableObservable=dv;W.GroupedObservable=eQb;W.observable=te;W.animationFrames=function(a){return a?aja(a):$Pb};W.Subject=$e;W.BehaviorSubject=bv;W.ReplaySubject=Ze;W.AsyncSubject=je;W.asap=pQb;W.asapScheduler=pQb;W.async=De;W.asyncScheduler=De;W.queue=rQb;W.queueScheduler=rQb;W.animationFrame=jQb;W.animationFrameScheduler=jQb;W.VirtualTimeScheduler=gQb;W.VirtualAction=vv;W.Scheduler=TPb;W.Subscription=Zd;W.Subscriber=ae;W.Notification=QPb;
W.NotificationKind={NEXT:"N",ERROR:"E",COMPLETE:"C"};W.pipe=function(){return uia(Vc.apply(0,arguments))};W.noop=ze;W.identity=be;W.isObservable=function(a){return!!a&&(a instanceof de||"function"===typeof a.lift&&"function"===typeof a.subscribe)};W.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 Ve)}})})};
W.firstValueFrom=function(a){return new Promise(function(b,c){var d=new Zd;d.add(a.subscribe({next:function(e){b(e);d.unsubscribe()},error:c,complete:function(){c(new Ve)}}))})};W.ArgumentOutOfRangeError=sQb;W.EmptyError=Ve;W.NotFoundError=tQb;W.ObjectUnsubscribedError=$u;W.SequenceError=uQb;W.TimeoutError=tja;W.UnsubscriptionError=$d;W.bindCallback=Fia;W.bindNodeCallback=Iia;
W.combineLatest=function(){var a=Vc.apply(0,arguments),b=void 0,c=void 0,d=void 0;fe(a[a.length-1])&&(c=a.pop());"function"===typeof a[a.length-1]&&(b=a.pop());if(1===a.length){var e=a[0];ie(e)&&(a=e);qia(e)&&Object.getPrototypeOf(e)===Object.prototype&&(d=Object.keys(e),a=d.map(function(f){return e[f]}))}return ge(ee(a,c),new Sja(b,d))};W.concat=ye;W.defer=Yia;W.empty=function(a){return a?xia(a):Ae};
W.forkJoin=function(){var a=Vc.apply(0,arguments);if(1===a.length){var b=a[0];if(ie(b))return bja(b,null);if(qia(b)&&Object.getPrototypeOf(b)===Object.prototype)return a=Object.keys(b),bja(a.map(function(d){return b[d]}),a)}if("function"===typeof a[a.length-1]){var c=a.pop();a=1===a.length&&ie(a[0])?a[0]:a;return bja(a,null).pipe(B(function(d){return c.apply(null,r(d))}))}return bja(a,null)};W.from=ue;W.fromEvent=cja;W.fromEventPattern=eja;
W.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||be;e=a.scheduler}else void 0===d||fe(d)?(f=a,h=be,e=d):(f=a,h=d);return new de(function(k){var q=f;if(e)return e.schedule(fja,0,{subscriber:k,iterate:c,condition:b,resultSelector:h,state:q});do{if(b){var t=void 0;try{t=b(q)}catch(w){k.error(w);break}if(!t){k.complete();break}}t=void 0;try{t=h(q)}catch(w){k.error(w);break}k.next(t);if(k.closed)break;try{q=c(q)}catch(w){k.error(w);
break}}while(1)})};W.iif=function(a,b,c){b=void 0===b?Ae:b;c=void 0===c?Ae:c;return Yia(function(){return a()?b:c})};W.interval=function(a,b){a=void 0===a?0:a;b=void 0===b?De:b;if(!gja(a)||0>a)a=0;b&&"function"===typeof b.schedule||(b=De);return new de(function(c){c.add(b.schedule(hja,a,{subscriber:c,counter:0,period:a}));return c})};
W.merge=function(){var a=Vc.apply(0,arguments),b=Infinity,c=void 0,d=a[a.length-1];fe(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 de?a[0]:xe(b)(ee(a,c))};W.never=function(){return bQb};W.of=Aia;W.onErrorResumeNext=ija;
W.pairs=function(a,b){return b?new de(function(c){var d=Object.keys(a),e=new Zd;e.add(b.schedule(jja,0,{keys:d,index:0,subscriber:c,subscription:e,obj:a}));return e}):new de(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()})};W.partition=function(a,b,c){return[Ce(b,c)(new de(Qia(a))),Ce(lja(b,c))(new de(Qia(a)))]};W.race=nja;
W.range=function(a,b,c){a=void 0===a?0:a;return new de(function(d){void 0===b&&(b=a,a=0);var e=0,f=a;if(c)return c.schedule(oja,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)})};W.throwError=function(a,b){return b?new de(function(c){return b.schedule(Bia,0,{error:a,subscriber:c})}):new de(function(c){return c.error(a)})};W.timer=rja;
W.using=function(a,b){return new de(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?ue(e):Ae).subscribe(c);return function(){f.unsubscribe();d&&d.unsubscribe()}})};W.zip=function(){var a=Vc.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());return ge(ee(a),new cQb(b))};W.scheduled=Wia;W.EMPTY=Ae;W.NEVER=bQb;W.config=ce;var zv=function(a){a=void 0===a?!1:a;W.Subject.call(this);this.__isAsync=a};X(zv,W.Subject);zv.create=W.Subject.create;zv.prototype.emit=function(a){W.Subject.prototype.next.call(this,a)};
zv.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=wja(b),d&&(d=wja(d)),c&&(c=wja(c)));d=W.Subject.prototype.subscribe.call(this,{next:d,error:b,complete:c});a instanceof W.Subscription&&a.add(d);return d};var Ge=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 zv(!1);this.onMicrotaskEmpty=new zv(!1);this.onStable=new zv(!1);this.onError=new zv(!1);if("undefined"==typeof Zone)throw new Ac(908,!1);Zone.assertZonePatched();
this._nesting=0;this._outer=this._inner=Zone.current;Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec));b&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec));this.shouldCoalesceEventChangeDetection=!a&&c;this.shouldCoalesceRunChangeDetection=a;this.lastRequestAnimationFrameId=-1;c="function"===typeof Ld.requestAnimationFrame;b=Ld[c?"requestAnimationFrame":"setTimeout"];c=Ld[c?"cancelAnimationFrame":"clearTimeout"];"undefined"!==
typeof Zone&&b&&c&&((c=b[Zone.__symbol__("OriginalDelegate")])&&(b=c),Zone.__symbol__("OriginalDelegate"));this.nativeRequestAnimationFrame=b;Cja(this)},vQb=function(){return"undefined"!==typeof Zone&&!0===Zone.current.get("isAngularZone")},wQb=function(){if(vQb())throw new Ac(909,!1);};Ge.prototype.run=function(a,b,c){return this._inner.run(a,b,c)};Ge.prototype.runTask=function(a,b,c,d){var e=this._inner;a=e.scheduleEventTask("NgZoneEvent: "+d,a,xQb,xja,xja);try{return e.runTask(a,b,c)}finally{e.cancelTask(a)}};
Ge.prototype.runGuarded=function(a,b,c){return this._inner.runGuarded(a,b,c)};Ge.prototype.runOutsideAngular=function(a){return this._outer.run(a)};var xQb={},Fe=function(){this.hasPendingMacrotasks=this.hasPendingMicrotasks=!1;this.isStable=!0;this.onUnstable=new zv;this.onMicrotaskEmpty=new zv;this.onStable=new zv;this.onError=new zv};Fe.prototype.run=function(a,b,c){return a.apply(b,c)};Fe.prototype.runGuarded=function(a,b,c){return a.apply(b,c)};Fe.prototype.runOutsideAngular=function(a){return a()};
Fe.prototype.runTask=function(a,b,c){return a.apply(b,c)};var Eja=function(a,b,c){this.phase=b;this.callbackFn=c;this.zone=a.get(Ge);this.errorHandler=a.get(Ud,null,{optional:!0})};Eja.prototype.invoke=function(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(b){var a;null==(a=this.errorHandler)||a.handleError(b)}};var Ke=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};
Ke.prototype.register=function(a){(this.executingCallbacks?this.deferredCallbacks:this.buckets[a.phase]).add(a)};Ke.prototype.unregister=function(a){this.buckets[a.phase].delete(a);this.deferredCallbacks.delete(a)};
Ke.prototype.execute=function(){var a=!1;this.executingCallbacks=!0;for(var b=l(Object.values(this.buckets)),c=b.next();!c.done;c=b.next()){c=l(c.value);for(var d=c.next();!d.done;d=c.next())d=d.value,a=!0,d.invoke()}this.executingCallbacks=!1;b=l(this.deferredCallbacks);for(c=b.next();!c.done;c=b.next())c=c.value,this.buckets[c.phase].add(c);this.deferredCallbacks.clear();return a};
Ke.prototype.destroy=function(){for(var a=l(Object.values(this.buckets)),b=a.next();!b.done;b=a.next())b.value.clear();this.deferredCallbacks.clear()};var Je=function(){this.handler=null;this.internalCallbacks=[]};Je.prototype.execute=function(){var a=[].concat(r(this.internalCallbacks));this.internalCallbacks.length=0;for(var b=l(a),c=b.next();!c.done;c=b.next())c=c.value,c();var d;return!(null==(d=this.handler)||!d.execute())||0<a.length};
Je.prototype.ngOnDestroy=function(){var a;null==(a=this.handler)||a.destroy();this.handler=null;this.internalCallbacks.length=0};Je.\u0275prov=vc({token:Je,providedIn:"root",factory:function(){return new Je}});var yQb=function(){};yQb.\u0275prov=vc({token:yQb,providedIn:"root",factory:function(){return null}});var zQb={};var AQb=function(a){this.ngModule=a};X(AQb,Qu);var BQb=function(a,b){return new rg(b[Mc]||null,a.ngModule)},CQb=function(a,b){this.injector=a;this.parentInjector=b};CQb.prototype.get=function(a,b,c){c=afa(c);var d=this.injector.get(a,zQb,c);return d!==zQb||b===zQb?d:this.parentInjector.get(a,b,c)};
var rg=function(a,b){this.componentDef=a;this.ngModule=b;this.componentType=a.type;this.selector=a.selectors.map(hfa).join(",");this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[];this.isBoundToModule=!!b};X(rg,iPb);
rg.prototype.create=function(a,b,c,d){d=d||this.ngModule;var e;(d=d instanceof Mu?d:null==(e=d)?void 0:e.injector)&&null!==this.componentDef.getStandaloneInjector&&(d=this.componentDef.getStandaloneInjector(d)||d);var f=d?new CQb(a,d):a;a=f.get(jPb,null);if(null===a)throw new Ac(407,!1);e=f.get(yQb,null);d=f.get(Je,null);var h=f.get(dPb,null);d={rendererFactory:a,sanitizer:e,inlineEffectRunner:null,afterRenderEventManager:d,changeDetectionScheduler:h};a=a.createRenderer(null,this.componentDef);e=
this.componentDef.selectors[0][0]||"div";c?(e=this.componentDef.encapsulation,e=f.get(lPb,!1)||3===e,e=a.selectRootElement(c,e)):(h=e.toLowerCase(),e=a.createElement(e,"svg"===h?"svg":"math"===h?"math":null));h=e;var k=512;this.componentDef.signals?k|=4096:this.componentDef.onPush||(k|=16);var q=null;null!==h&&(q=null);e=Oha(0,null,null,1,0,null,null,null,null,null,null);f=Eha(null,e,null,k,null,null,d,a,f,null,q);jga(f);try{var t=this.componentDef;k=null;if(t.findHostDirectiveDefs){var w=[];k=new Map;
t.findHostDirectiveDefs(t,w,k);w.push(t)}else w=[t];var z=f[1];f[25]=h;var F=Qd(z,25,2,"#host",null);z=w;for(var J=f[1],H=l(z),O=H.next();!O.done;O=H.next())F.mergedAttrs=Ic(F.mergedAttrs,O.value.hostAttrs);null!==F.mergedAttrs&&(Hja(F,F.mergedAttrs,!0),null!==h&&Zga(a,h,F));H=null;null!==h&&(H=null);var P=d.rendererFactory.createRenderer(h,t);O=16;t.signals?O=4096:t.onPush&&(O=64);var U=Eha(f,Jha(t),null,O,f[F.index],F,d,P,null,null,H);J.firstCreatePass&&Sha(J,F,z.length-1);Kha(f,U);var Z=f[F.index]=
U;var la=e.data[25];if(h)if(c)dfa(a,h,["ng-version","0.0.0-PLACEHOLDER"]);else{var oa=t.selectors[0];c=[];F=[];J=1;for(P=2;J<oa.length;){var Fa=oa[J];if("string"===typeof Fa)2===P?""!==Fa&&c.push(Fa,oa[++J]):8===P&&F.push(Fa);else{if(0!==(P&1))break;P=Fa}J++}c&&dfa(a,h,c);if(F&&0<F.length){var Ta=F.join(" ");""===Ta?a.removeAttribute(h,"class"):a.setAttribute(h,"class",Ta)}}if(void 0!==b){var Pa=this.ngContentSelectors,Ya=la.projection=[];for(oa=0;oa<Pa.length;oa++){var sb=b[oa];Ya.push(null!=sb?
Array.from(sb):null)}}b=w;Pa=k;w=[Jja];var Na=ld(),ja=f[1],ya=gd(Na,f);Tha(ja,f,Na,b,null,Pa);for(Pa=0;Pa<b.length;Pa++){var Ga=wd(f,ja,Na.directiveStart+Pa,Na);Cd(Ga,f)}Lha(ja,f,Na);ya&&Cd(ya,f);var gb=wd(f,ja,Na.directiveStart+Na.componentOffset,Na);Z[8]=f[8]=gb;if(null!==w)for(var Wa=l(w),zc=Wa.next();!zc.done;zc=Wa.next()){var cb=zc.value;cb(gb,t)}Iha(ja,Na,Z);var pb=gb;Gja(e,f,null)}finally{mga()}return new Av(this.componentType,pb,Bd(la,f),f,la)};
Vg.Object.defineProperties(rg.prototype,{inputs:{configurable:!0,enumerable:!0,get:function(){var a=this.componentDef,b=a.inputTransforms;a=Ija(a.inputs);if(null!==b)for(var c=l(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 Ija(this.componentDef.outputs)}}});
var Av=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 Vd(d,void 0,!1);this.componentType=a};X(Av,hPb);
Av.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,Rha(c[1],c,d,a,b),this.previousInputValues.set(a,b),a=hd(this._tNode.index,c),gia(a)))};Av.prototype.destroy=function(){this.hostView.destroy()};Av.prototype.onDestroy=function(a){this.hostView.onDestroy(a)};
Vg.Object.defineProperties(Av.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return new yd(this._tNode,this._rootLView)}}});var Me=function(a,b,c){this._parent=b;this._bootstrapComponents=[];this.destroyCbs=[];this.componentFactoryResolver=new AQb(this);var d=(a[ROb]||null).bootstrap;this._bootstrapComponents=d instanceof Function?d():d;this._r3Injector=Hga(a,b,[{provide:Ru,useValue:this},{provide:Qu,useValue:this.componentFactoryResolver}].concat(r(c)),yc(a),new Set(["environment"]));Iga(this._r3Injector);this.instance=this._r3Injector.get(a)};X(Me,Ru);
Me.prototype.destroy=function(){var a=this._r3Injector;!a.destroyed&&a.destroy();this.destroyCbs.forEach(function(b){return b()});this.destroyCbs=null};Me.prototype.onDestroy=function(a){this.destroyCbs.push(a)};Vg.Object.defineProperties(Me.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._r3Injector}}});var Qza=function(a){this.moduleType=a};X(Qza,Pza);Qza.prototype.create=function(a){return new Me(this.moduleType,a,[])};
var Lja=function(a){this.componentFactoryResolver=new AQb(this);this.instance=null;var b=new Zc([].concat(r(a.providers),[{provide:Ru,useValue:this},{provide:Qu,useValue:this.componentFactoryResolver}]),a.parent||Gfa(),a.debugName,new Set(["environment"]));this.injector=b;a.runEnvironmentInitializers&&Iga(b)};X(Lja,Ru);Lja.prototype.destroy=function(){this.injector.destroy()};Lja.prototype.onDestroy=function(a){this.injector.onDestroy(a)};var DQb=new Xc(""),Bv=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=Gc(DQb,{optional:!0}))?b:[]},EQb=function(a){if(!a.initialized){for(var b=[],c=l(a.appInits),d=c.next(),e={};!d.done;e={initResult:void 0},d=c.next())d=d.value,e.initResult=d(),Ne(e.initResult)?b.push(e.initResult):Nja(e.initResult)&&(e=new Promise(function(f){return function(h,k){f.initResult.subscribe({complete:h,error:k})}}(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}};Bv.\u0275fac=function(a){return new (a||Bv)};Bv.\u0275prov=vc({token:Bv,factory:Bv.\u0275fac,providedIn:"root"});var Cv=function(){};Cv.prototype.log=function(a){console.log(a)};Cv.prototype.warn=function(a){console.warn(a)};Cv.\u0275fac=function(a){return new (a||Cv)};Cv.\u0275prov=vc({token:Cv,factory:Cv.\u0275fac,providedIn:"platform"});var Dv=function(){};Dv.prototype.getModuleId=function(){};Dv.\u0275fac=function(a){return new (a||Dv)};Dv.\u0275prov=vc({token:Dv,factory:Dv.\u0275fac,providedIn:"root"});new Xc("");var Ev=function(){this.taskId=0;this.pendingTasks=new Set;this.hasPendingTasks=new W.BehaviorSubject(!1)};Ev.prototype.add=function(){this._hasPendingTasks||this.hasPendingTasks.next(!0);var a=this.taskId++;this.pendingTasks.add(a);return a};Ev.prototype.remove=function(a){this.pendingTasks.delete(a);0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)};Ev.prototype.ngOnDestroy=function(){this.pendingTasks.clear();this._hasPendingTasks&&this.hasPendingTasks.next(!1)};
Vg.Object.defineProperties(Ev.prototype,{_hasPendingTasks:{configurable:!0,enumerable:!0,get:function(){return this.hasPendingTasks.value}}});Ev.\u0275fac=function(a){return new (a||Ev)};Ev.\u0275prov=vc({token:Ev,factory:Ev.\u0275fac,providedIn:"root"});var FQb=new Xc(""),GQb=new Xc(""),Fv=function(a,b,c){var d=this;this._ngZone=a;this.registry=b;this._pendingCount=0;this._isZoneStable=!0;this._callbacks=[];this.taskTrackingZone=null;HQb||(HQb=c,IQb(b));this._watchAngularEvents();a.run(function(){d.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})};
Fv.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(){wQb();queueMicrotask(function(){a._isZoneStable=!0;a._runCallbacksIfReady()})}})})};Fv.prototype.isStable=function(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks};
Fv.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=JQb(this);this._callbacks=this._callbacks.filter(function(c){return c.updateCb&&c.updateCb(b)?(clearTimeout(c.timeoutId),!1):!0})}};
var JQb=function(a){return a.taskTrackingZone?a.taskTrackingZone.macroTasks.map(function(b){return{source:b.source,creationLocation:b.creationLocation,data:b.data}}):[]};g=Fv.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("Ia");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[]};Fv.\u0275fac=function(a){return new (a||Fv)(p(Ge),p(Gv),p(GQb))};Fv.\u0275prov=vc({token:Fv,factory:Fv.\u0275fac});var Gv=function(){this._applications=new Map};Gv.prototype.registerApplication=function(a,b){this._applications.set(a,b)};Gv.prototype.unregisterApplication=function(a){this._applications.delete(a)};
Gv.prototype.findTestabilityInTree=function(a,b){var c,d;return null!=(d=null==(c=HQb)?void 0:c.findTestabilityInTree(this,a,void 0===b?!0:b))?d:null};Gv.\u0275fac=function(a){return new (a||Gv)};Gv.\u0275prov=vc({token:Gv,factory:Gv.\u0275fac,providedIn:"platform"});var HQb;var Oja=function(a){this.durationSelector=a};Oja.prototype.call=function(a,b){return b.subscribe(new Hv(a,this.durationSelector))};var Hv=function(a,b){jv.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.throttled=null};X(Hv,jv);Hv.EMPTY=jv.EMPTY;Hv.create=jv.create;
Hv.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=re(c,new hv(this));!a||a.closed?KQb(this):this.add(this.throttled=a)}};var KQb=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))};Hv.prototype.notifyNext=function(){KQb(this)};Hv.prototype.notifyComplete=function(){KQb(this)};var Qja=function(a){this.closingNotifier=a};Qja.prototype.call=function(a,b){return b.subscribe(new Iv(a,this.closingNotifier))};var Iv=function(a,b){jv.call(this,a);this.buffer=[];this.add(re(b,new hv(this)))};X(Iv,jv);Iv.EMPTY=jv.EMPTY;Iv.create=jv.create;Iv.prototype._next=function(a){this.buffer.push(a)};Iv.prototype.notifyNext=function(){var a=this.buffer;this.buffer=[];this.destination.next(a)};var Wja=function(a){this.durationSelector=a};Wja.prototype.call=function(a,b){return b.subscribe(new Jv(a,this.durationSelector))};var Jv=function(a,b){jv.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.durationSubscription=null};X(Jv,jv);Jv.EMPTY=jv.EMPTY;Jv.create=jv.create;g=Jv.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(){LQb(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=re(b,new hv(this)))&&!c.closed&&this.add(this.durationSubscription=c)};g.notifyNext=function(){LQb(this)};g.notifyComplete=function(){LQb(this)};var LQb=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;jv.prototype._next.call(a,b)}};var Yja=function(a,b){this.dueTime=a;this.scheduler=b};Yja.prototype.call=function(a,b){return b.subscribe(new Kv(a,this.dueTime,this.scheduler))};var Kv=function(a,b,c){ae.call(this,a);this.dueTime=b;this.scheduler=c;this.lastValue=this.debouncedSubscription=null;this.hasValue=!1};X(Kv,ae);Kv.EMPTY=ae.EMPTY;Kv.create=ae.create;Kv.prototype._next=function(a){MQb(this);this.lastValue=a;this.hasValue=!0;this.add(this.debouncedSubscription=this.scheduler.schedule($ja,this.dueTime,this))};
Kv.prototype._complete=function(){Zja(this);this.destination.complete()};var Zja=function(a){MQb(a);if(a.hasValue){var b=a.lastValue;a.lastValue=null;a.hasValue=!1;a.destination.next(b)}},MQb=function(a){var b=a.debouncedSubscription;null!==b&&(a.remove(b),b.unsubscribe(),a.debouncedSubscription=null)};var aka=function(a){this.defaultValue=a};aka.prototype.call=function(a,b){return b.subscribe(new Lv(a,this.defaultValue))};var Lv=function(a,b){ae.call(this,a);this.defaultValue=b;this.isEmpty=!0};X(Lv,ae);Lv.EMPTY=ae.EMPTY;Lv.create=ae.create;Lv.prototype._next=function(a){this.isEmpty=!1;this.destination.next(a)};Lv.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue);this.destination.complete()};var cka=function(a,b){this.delay=a;this.scheduler=b};cka.prototype.call=function(a,b){return b.subscribe(new Mv(a,this.delay,this.scheduler))};var Mv=function(a,b,c){ae.call(this,a);this.destination=a;this.delay=b;this.scheduler=c;this.queue=[];this.active=!1};X(Mv,ae);Mv.EMPTY=ae.EMPTY;Mv.create=ae.create;
var NQb=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)};Mv.prototype._schedule=function(a){this.active=!0;var b=this.destination;b.add(a.schedule(NQb,this.delay,{source:this,destination:b,scheduler:a}))};
Mv.prototype._next=function(a){var b=this.scheduler;a=new OQb(b.now()+this.delay,a);this.queue.push(a);!1===this.active&&this._schedule(b)};Mv.prototype._error=function(a){this.queue.length=0;this.destination.error(a);this.unsubscribe()};Mv.prototype._complete=function(){0===this.queue.length&&this.destination.complete();this.unsubscribe()};var OQb=function(a,b){this.time=a;this.value=b};var dka=function(a){this.compare=a;this.keySelector=void 0};dka.prototype.call=function(a,b){return b.subscribe(new Nv(a,this.compare,this.keySelector))};var Nv=function(a,b,c){ae.call(this,a);this.keySelector=c;this.hasKey=!1;"function"===typeof b&&(this.compare=b)};X(Nv,ae);Nv.EMPTY=ae.EMPTY;Nv.create=ae.create;Nv.prototype.compare=function(a,b){return a===b};
Nv.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 eka=function(){this.count=1};eka.prototype.call=function(a,b){return b.subscribe(new Ov(a,this.count))};var Ov=function(a,b){ae.call(this,a);this.count=b;this._valueCount=0};X(Ov,ae);Ov.EMPTY=ae.EMPTY;Ov.create=ae.create;Ov.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 gka=function(a){this.errorFactory=a};gka.prototype.call=function(a,b){return b.subscribe(new Pv(a,this.errorFactory))};var Pv=function(a,b){ae.call(this,a);this.errorFactory=b;this.hasValue=!1};X(Pv,ae);Pv.EMPTY=ae.EMPTY;Pv.create=ae.create;Pv.prototype._next=function(a){this.hasValue=!0;this.destination.next(a)};Pv.prototype._complete=function(){if(this.hasValue)return this.destination.complete();try{var a=this.errorFactory()}catch(b){a=b}this.destination.error(a)};var ika=function(a){this.callback=a};ika.prototype.call=function(a,b){a=b.subscribe(a);a.add(this.callback);return a};var jka=function(){};jka.prototype.call=function(a,b){return b.subscribe(new Qv(a))};var Qv=function(){ae.apply(this,arguments)};X(Qv,ae);Qv.EMPTY=ae.EMPTY;Qv.create=ae.create;Qv.prototype._next=function(){};var lka=function(){this.total=1};lka.prototype.call=function(a,b){return b.subscribe(new Rv(a,this.total))};var Rv=function(a,b){ae.call(this,a);this.total=b;this.ring=[];this.count=0};X(Rv,ae);Rv.EMPTY=ae.EMPTY;Rv.create=ae.create;Rv.prototype._next=function(a){var b=this.ring,c=this.total,d=this.count++;b.length<c?b.push(a):b[d%c]=a};
Rv.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 oka=function(a){this.value=a};oka.prototype.call=function(a,b){return b.subscribe(new Sv(a,this.value))};var Sv=function(a,b){ae.call(this,a);this.value=b};X(Sv,ae);Sv.EMPTY=ae.EMPTY;Sv.create=ae.create;Sv.prototype._next=function(){this.destination.next(this.value)};var pka=function(a,b,c){this.accumulator=a;this.seed=b;this.hasSeed=void 0===c?!1:c};pka.prototype.call=function(a,b){return b.subscribe(new Tv(a,this.accumulator,this.seed,this.hasSeed))};var Tv=function(a,b,c,d){ae.call(this,a);this.accumulator=b;this._state=c;this._hasState=d;this.index=0};X(Tv,ae);Tv.EMPTY=ae.EMPTY;Tv.create=ae.create;
Tv.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 yka=function(a){this.total=a};yka.prototype.call=function(a,b){return b.subscribe(new Uv(a,this.total))};var Uv=function(a,b){ae.call(this,a);this.total=b;this.count=0};X(Uv,ae);Uv.EMPTY=ae.EMPTY;Uv.create=ae.create;Uv.prototype._next=function(a){++this.count>this.total&&this.destination.next(a)};var zka=function(a){this.project=a};zka.prototype.call=function(a,b){return b.subscribe(new Vv(a,this.project))};var Vv=function(a,b){jv.call(this,a);this.destination=a;this.project=b;this.index=0};X(Vv,jv);Vv.EMPTY=jv.EMPTY;Vv.create=jv.create;g=Vv.prototype;g._next=function(a){var b=this.index++;try{var c=this.project(a,b)}catch(d){this.destination.error(d);return}(a=this.innerSubscription)&&a.unsubscribe();a=new hv(this);this.destination.add(a);this.innerSubscription=a;re(c,a)};
g._complete=function(){var a=this.innerSubscription;a&&!a.closed||jv.prototype._complete.call(this);this.unsubscribe()};g._unsubscribe=function(){this.innerSubscription=void 0};g.notifyComplete=function(){this.innerSubscription=void 0;this.isStopped&&jv.prototype._complete.call(this)};g.notifyNext=function(a){this.destination.next(a)};var Bka=function(a){this.notifier=a};Bka.prototype.call=function(a,b){a=new Wv(a);var c=re(this.notifier,new hv(a));return c&&!a.notifierHasNotified?(a.add(c),b.subscribe(a)):a};var Wv=function(a){jv.call(this,a);this.notifierHasNotified=!1};X(Wv,jv);Wv.EMPTY=jv.EMPTY;Wv.create=jv.create;Wv.prototype.notifyNext=function(){this.notifierHasNotified=!0;this.complete()};Wv.prototype.notifyComplete=function(){};var Cka=function(a,b){this.predicate=a;this.inclusive=b};Cka.prototype.call=function(a,b){return b.subscribe(new Xv(a,this.predicate,this.inclusive))};var Xv=function(a,b,c){ae.call(this,a);this.predicate=b;this.inclusive=c;this.index=0};X(Xv,ae);Xv.EMPTY=ae.EMPTY;Xv.create=ae.create;Xv.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 Eka=function(a,b){this.nextOrObserver=a;this.error=b;this.complete=void 0};Eka.prototype.call=function(a,b){return b.subscribe(new Yv(a,this.nextOrObserver,this.error,this.complete))};var Yv=function(a,b,c,d){ae.call(this,a);this._tapComplete=this._tapError=this._tapNext=ze;this._tapError=c||ze;this._tapComplete=d||ze;Yd(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)};X(Yv,ae);Yv.EMPTY=ae.EMPTY;
Yv.create=ae.create;Yv.prototype._next=function(a){try{this._tapNext.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.next(a)};Yv.prototype._error=function(a){try{this._tapError.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.error(a)};Yv.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(a){this.destination.error(a);return}return this.destination.complete()};var Fka={leading:!0,trailing:!1},Gka=function(a,b,c){this.durationSelector=a;this.leading=b;this.trailing=c};Gka.prototype.call=function(a,b){return b.subscribe(new Zv(a,this.durationSelector,this.leading,this.trailing))};var Zv=function(a,b,c,d){jv.call(this,a);this.destination=a;this.durationSelector=b;this._leading=c;this._trailing=d;this._sendValue=null;this._hasValue=!1};X(Zv,jv);Zv.EMPTY=jv.EMPTY;Zv.create=jv.create;
Zv.prototype._next=function(a){this._hasValue=!0;this._sendValue=a;this._throttled||(this._leading?this.send():PQb(this,a))};Zv.prototype.send=function(){var a=this._sendValue;this._hasValue&&(this.destination.next(a),PQb(this,a));this._hasValue=!1;this._sendValue=null};var PQb=function(a,b){try{var c=a.durationSelector(b)}catch(d){a.destination.error(d);return}a.add(a._throttled=re(c,new hv(a)))},QQb=function(a){var b=a._throttled,c=a._trailing;b&&b.unsubscribe();a._throttled=null;c&&a.send()};
Zv.prototype.notifyNext=function(){QQb(this)};Zv.prototype.notifyComplete=function(){QQb(this)};var Ika=function(a,b){this.observables=a;this.project=b};Ika.prototype.call=function(a,b){return b.subscribe(new $v(a,this.observables,this.project))};var $v=function(a,b,c){kv.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(re(b[c],new iv(this,void 0,c)))};X($v,kv);$v.EMPTY=kv.EMPTY;$v.create=kv.create;
$v.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))};$v.prototype.notifyComplete=function(){};$v.prototype._next=function(a){0===this.toRespond.length&&(a=[a].concat(r(this.values)),this.project?this._tryProject(a):this.destination.next(a))};$v.prototype._tryProject=function(a){try{var b=this.project.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var RQb=new Xc(""),aw=function(){this._bootstrapListeners=[];this._destroyed=this._runningTick=!1;this._destroyListeners=[];this._views=[];this.internalErrorHandler=Gc(oma);this.afterRenderEffectManager=Gc(Je);this.componentTypes=[];this.components=[];this.isStable=Gc(Ev).hasPendingTasks.pipe(B(function(a){return!a}));this._injector=Gc(Mu)};
aw.prototype.bootstrap=function(a,b){var c=this,d=a instanceof iPb;if(!this._injector.get(Bv).done)throw new Ac(405,!1);var e;d?e=a:e=BQb(this._injector.get(Qu),a);this.componentTypes.push(e.componentType);a=e.isBoundToModule?void 0:this._injector.get(Ru);var f=e.create(cPb,[],b||e.selector,a),h=f.location.nativeElement,k=f.injector.get(FQb,null);null==k||k.registerApplication(h);f.onDestroy(function(){c.detachView(f.hostView);Nka(c.components,f);null==k||k.unregisterApplication(h)});this._loadComponent(f);
return f};aw.prototype.tick=function(){if(this._runningTick)throw new Ac(101,!1);try{this._runningTick=!0;for(var a=l(this._views),b=a.next();!b.done;b=a.next())b.value.detectChanges()}catch(c){this.internalErrorHandler(c)}finally{try{this.afterRenderEffectManager.execute()}catch(c){this.internalErrorHandler(c)}this._runningTick=!1}};var SQb=function(a,b){a._views.push(b);if(b._attachedToViewContainer)throw new Ac(902,!1);b._appRef=a;ega(b._lView)};g=aw.prototype;
g.detachView=function(a){Nka(this._views,a);a._appRef=null;var b=a._lView;Ed(b[11],2,a._lView[1].firstChild,b,null,null,!1)};g._loadComponent=function(a){SQb(this,a.hostView);this.tick();this.components.push(a);var b=this._injector.get(RQb,[]);[].concat(r(this._bootstrapListeners),r(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 Nka(b._destroyListeners,a)}};g.destroy=function(){if(this._destroyed)throw new Ac(406,!1);var a=this._injector;a.destroy&&!a.destroyed&&a.destroy()};
Vg.Object.defineProperties(aw.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}}});aw.\u0275fac=function(a){return new (a||aw)};aw.\u0275prov=vc({token:aw,factory:aw.\u0275fac,providedIn:"root"});var Sf=function(){};Sf.__NG_ELEMENT_ID__=Uka;var hf=function(a,b,c){this._lContainer=a;this._hostTNode=b;this._hostLView=c};X(hf,Sf);hf.__NG_ELEMENT_ID__=Sf.__NG_ELEMENT_ID__;g=hf.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=TQb(a,b||{},e,null);UQb(this,a,d,Qka(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 rg(a[Mc]||null);c=c||this.parentInjector;f||null!=a.ngModule||(e=(e?c:this.parentInjector).get(Mu,null))&&(f=e);d=a.create(c,d,null,f);UQb(this,d.hostView,b,Qka(this._hostTNode,null));return d};g.insert=function(a,b){return UQb(this,a,b,!0)};
var UQb=function(a,b,c,d){var e=b._lView;if(cd(e[3])){var f=a.indexOf(b);-1!==f?a.detach(f):(f=e[3],f=new hf(f,f[5],f[3]),f.detach(f.indexOf(b)))}c=a._adjustIndex(c);a=a._lContainer;Ska(a,e,c,d);if(b._appRef)throw new Ac(902,!1);b._attachedToViewContainer=!0;d=Vka(a);c>=d.length?d.push(b):d.splice(c,0,b);return b};g=hf.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=Fd(this._lContainer,a);b&&(tfa(Vka(this._lContainer),a),Tga(b[1],b))};g.detach=function(a){a=this._adjustIndex(a,-1);var b=Fd(this._lContainer,a);return b&&null!=tfa(Vka(this._lContainer),a)?new Vd(b):null};g._adjustIndex=function(a,b){return null==a?this.length+(void 0===b?0:b):a};
Vg.Object.defineProperties(hf.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return Bd(this._hostTNode,this._hostLView)}},injector:{configurable:!0,enumerable:!0,get:function(){return new yd(this._hostTNode,this._hostLView)}},parentInjector:{configurable:!0,enumerable:!0,get:function(){var a=yga(this._hostTNode,this._hostLView);if(-1!==a){var b=rga(a,this._hostLView);return new yd(b[1].data[(a&32767)+8],b)}return new yd(null,this._hostLView)}},length:{configurable:!0,enumerable:!0,
get:function(){return this._lContainer.length-10}}});var Wka=Xka;var Yka=Zka;new Xc("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR");new Xc("");var tf=0,uf=0,vf=0,jla=0,lla=0;var VQb=function(){};VQb.prototype.destroy=function(){};VQb.prototype.updateValue=function(){};var yla=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)};VQb.prototype.move=function(a,b){this.attach(b,this.detach(a))};var zla=function(){this.kvMap=new Map;this._vMap=void 0};g=zla.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=l(this.kvMap),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;a(d,c);if(void 0!==this._vMap)for(var e=this._vMap;e.has(d);)d=e.get(d),a(d,c)}};var WQb=function(a,b,c){this.lContainer=a;this.$implicit=b;this.$index=c};Vg.Object.defineProperties(WQb.prototype,{$count:{configurable:!0,enumerable:!0,get:function(){return this.lContainer.length-10}}});var Fla=function(a){this.trackByFn=a;this.liveCollection=void 0},Gla=function(a,b,c){this.lContainer=a;this.hostLView=b;this.templateTNode=c;this.needsIndexUpdate=!1};X(Gla,VQb);g=Gla.prototype;g.at=function(a){return Pka(this.lContainer,a)[8].$implicit};
g.attach=function(a,b){var c=b[6];this.needsIndexUpdate||(this.needsIndexUpdate=a!==this.length);Ska(this.lContainer,b,a,Qka(this.templateTNode,c))};g.detach=function(a){this.needsIndexUpdate||(this.needsIndexUpdate=a!==this.length-1);return Fd(this.lContainer,a)};g.create=function(a,b){return Oka(this.hostLView,this.templateTNode,new WQb(this.lContainer,b,a),{dehydratedView:null})};g.destroy=function(a){Tga(a[1],a)};g.updateValue=function(a,b){Pka(this.lContainer,a)[8].$implicit=b};
g.reset=function(){this.needsIndexUpdate=!1};Vg.Object.defineProperties(Gla.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.lContainer.length-10}}});var Ila=["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 Jla={};var Tf=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=Tf.prototype;b[Symbol.iterator]||(b[Symbol.iterator]=Ola)};g=Tf.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 Xf=function(a){void 0===a._changes||!a._changesDetected&&a._emitDistinctChangesOnly||a._changes.emit(a)};
Tf.prototype.setDirty=function(){this.dirty=!0;var a;null==(a=this._onDirty)||a.call(this)};Tf.prototype.destroy=function(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())};Vg.Object.defineProperties(Tf.prototype,{changes:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this._changes)?a:this._changes=new zv}}});Symbol.iterator;var Rf=function(){};Rf.__NG_ELEMENT_ID__=Qla;var Qf=function(a,b,c){this._declarationLView=a;this._declarationTContainer=b;this.elementRef=c};X(Qf,Rf);Qf.__NG_ELEMENT_ID__=Rf.__NG_ELEMENT_ID__;Qf.prototype.createEmbeddedView=function(a,b){return TQb(this,a,b)};var TQb=function(a,b,c,d){a=Oka(a._declarationLView,a._declarationTContainer,b,{injector:c,dehydratedView:d});return new Vd(a)};
Vg.Object.defineProperties(Qf.prototype,{ssrId:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this._declarationTContainer.tView)?void 0:a.ssrId)||null}}});var Ula=function(a){this.queryList=a;this.matches=null};Ula.prototype.clone=function(){return new Ula(this.queryList)};Ula.prototype.setDirty=function(){this.queryList.setDirty()};var Tla=function(a){this.queries=a=void 0===a?[]:a};Tla.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 Tla(c)}return null};
Tla.prototype.detachView=function(a){Rka(this,a)};var Rka=function(a,b){for(var c=0;c<a.queries.length;c++)null!==b.queries.queries[c].matches&&a.queries[c].setDirty()},Xla=function(a,b,c){this.flags=b;this.read=void 0===c?null:c;"string"===typeof a?this.predicate=Yla(a):this.predicate=a},Zla=function(a){this.queries=a=void 0===a?[]:a};g=Zla.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 Zla(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)};Vg.Object.defineProperties(Zla.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.queries.length}}});
var Wf=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};
Wf.prototype.elementStart=function(a,b){if(XQb(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}YQb(this,a,b,f);YQb(this,a,b,Fga(b,a,e,!1,!1))}else c===Rf?b.type&4&&YQb(this,a,b,-1):YQb(this,a,b,Fga(b,a,c,!1,!1))}};Wf.prototype.elementEnd=function(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)};
Wf.prototype.template=function(a,b){this.elementStart(a,b)};Wf.prototype.embeddedTView=function(a,b){return XQb(this,a)?(this.crossesNgTemplate=!0,ZQb(this,-a.index,b),new Wf(this.metadata)):null};
var XQb=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},YQb=function(a,b,c,d){if(null!==d){var e=a.metadata.read;null!==e?e===Ad||e===Sf||e===Rf&&c.type&4?ZQb(a,c.index,-2):(b=Fga(c,b,e,!1,!1),null!==b&&ZQb(a,c.index,b)):ZQb(a,c.index,d)}},ZQb=function(a,b,c){null===a.matches?a.matches=[b,c]:a.matches.push(b,c)};Object.assign({},Pu,{producerMustRecompute:function(a){var b;return!(null==(b=a._queryList)||!b.dirty)},producerRecomputeValue:function(a){var b=a._lView,c=a._queryIndex;var d=b[18].queries[c].queryList;var e=b[1],f=e.queries.queries[c];d.dirty&&null!==f.matches?(b=f.crossesNgTemplate?Sla(e,b,c,[]):Rla(e,b,f,c),d.reset(b,Mga),d=!0):d=!1;d&&a.version++}});var cg=function(a){this._injector=a;this.cachedInjectors=new Map};cg.prototype.ngOnDestroy=function(){try{for(var a=l(this.cachedInjectors.values()),b=a.next();!b.done;b=a.next()){var c=b.value;null!==c&&c.destroy()}}finally{this.cachedInjectors.clear()}};cg.\u0275prov=vc({token:cg,providedIn:"environment",factory:function(){return new cg(p(Mu))}});var bw=function(){};bw.\u0275fac=function(a){return new (a||bw)(p(aw))};bw.\u0275mod=Nc({type:bw});bw.\u0275inj=wc({});Object.assign({},bPb,{transformFn:void 0,applyValueToInputSignal:function(a,b){var c;!1!==(null==(c=Qfa)?void 0:c.consumerAllowSignalWrites)||Jka();a.equal(a.value,b)||(a.value=b,a.version++,Xfa++,Rfa(a))}});var kg=function(){this.zone=Gc(Ge);this.applicationRef=Gc(aw)};kg.prototype.initialize=function(){var a=this;this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:function(){a.zone.run(function(){a.applicationRef.tick()})}}))};kg.prototype.ngOnDestroy=function(){var a;null==(a=this._onMicrotaskEmptySubscription)||a.unsubscribe()};kg.\u0275fac=function(a){return new (a||kg)};kg.\u0275prov=vc({token:kg,factory:kg.\u0275fac,providedIn:"root"});
new Xc("");var lg=function(){this.subscription=new W.Subscription;this.initialized=!1;this.zone=Gc(Ge);this.pendingTasks=Gc(Ev)};
lg.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(){wQb();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(!vQb())throw new Ac(909,
!1);null!=b||(b=a.pendingTasks.add())}))}};lg.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};lg.\u0275fac=function(a){return new (a||lg)};lg.\u0275prov=vc({token:lg,factory:lg.\u0275fac,providedIn:"root"});var Zg=new Xc("",{providedIn:"root",factory:function(){return Gc(Zg,12)||("undefined"!==typeof $Lb?"en-US":"undefined"!==typeof $localize&&$localize.locale||"en-US")}});new Xc("",{providedIn:"root",factory:function(){return"USD"}});new Xc("");new Xc("");var yma=new Xc(""),ng=function(a){this._injector=a;this._modules=[];this._destroyListeners=[];this._destroyed=!1},$Qb=function(a,b,c){var d=Dja(null==c?void 0:c.ngZone,rma({eventCoalescing:null==c?void 0:c.ngZoneEventCoalescing,runCoalescing:null==c?void 0:c.ngZoneRunCoalescing}));return d.run(function(){var e=Kja(b.moduleType,a.injector,qma(function(){return d})),f=e.injector.get(Ud,null);d.runOutsideAngular(function(){var h=d.onError.subscribe({next:function(k){f.handleError(k)}});e.onDestroy(function(){Nka(a._modules,
e);h.unsubscribe()})});return Lka(f,d,function(){var h=e.injector.get(Bv);EQb(h);return h.donePromise.then(function(){var k=e.injector.get(Zg,"en-US")||"en-US";if(null==k)throw Error("ja`Expected localeId to be defined` [Expected=> null != "+(k+" <=Actual]"));a._moduleDoBootstrap(e);return e})})})},bRb=function(){var a=aRb(),b=cw;var c=void 0===c?[]:c;var d=Mka({},c);Promise.resolve(new Qza(b)).then(function(e){return $Qb(a,e,d)})};
ng.prototype._moduleDoBootstrap=function(a){var b=a.injector.get(aw);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 Ac(-403,!1);this._modules.push(a)};ng.prototype.onDestroy=function(a){this._destroyListeners.push(a)};
ng.prototype.destroy=function(){if(this._destroyed)throw new Ac(404,!1);this._modules.slice().forEach(function(b){return b.destroy()});this._destroyListeners.forEach(function(b){return b()});var a=this._injector.get(yma,null);a&&(a.forEach(function(b){return b()}),a.clear());this._destroyed=!0};Vg.Object.defineProperties(ng.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});
ng.\u0275fac=function(a){return new (a||ng)(p(He))};ng.\u0275prov=vc({token:ng,factory:ng.\u0275fac,providedIn:"platform"});var mg=null,tma=new Xc("");var cRb=wma(null,"core",[]);var dw=function(a,b){this._viewContainer=a;this._context=new dRb;this._elseViewRef=this._thenViewRef=this._elseTemplateRef=null;this._thenTemplateRef=b};
dw.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)))};
Vg.Object.defineProperties(dw.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){Cma("ngIfThen",a);this._thenTemplateRef=a;this._thenViewRef=null;this._updateView()}},ngIfElse:{configurable:!0,enumerable:!0,set:function(a){Cma("ngIfElse",a);this._elseTemplateRef=a;this._elseViewRef=null;this._updateView()}}});dw.\u0275fac=function(a){return new (a||dw)(A(Sf),A(Rf))};
dw.\u0275dir=Qc({type:dw,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});var dRb=function(){this.ngIf=this.$implicit=null};var ew=function(a,b){this._renderer=a;this._elementRef=b;this.onChange=function(){};this.onTouched=function(){}};ew.prototype.setProperty=function(a,b){this._renderer.setProperty(this._elementRef.nativeElement,a,b)};ew.prototype.registerOnTouched=function(a){this.onTouched=a};ew.prototype.registerOnChange=function(a){this.onChange=a};ew.prototype.setDisabledState=function(a){this.setProperty("disabled",a)};ew.\u0275fac=function(a){return new (a||ew)(A(Tu),A(Ad))};ew.\u0275dir=Qc({type:ew});
var Eg=function(){ew.apply(this,arguments)};X(Eg,ew);Eg.\u0275fac=function(){var a;return function(b){return(a||(a=zd(Eg)))(b||Eg)}}();Eg.\u0275dir=Qc({type:Eg,features:[nf]});var fw=new Xc("");var eRb=/\s+/,fRb=[],gw=function(a,b){this._ngEl=a;this._renderer=b;this.initialClasses=fRb;this.stateMap=new Map};gw.prototype.ngDoCheck=function(){for(var a=l(this.initialClasses),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);a=this.rawClass;if(Array.isArray(a)||a instanceof Set)for(a=l(a),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);else if(null!=a){b=l(Object.keys(a));for(var c=b.next();!c.done;c=b.next())c=c.value,this._updateState(c,!!a[c])}this._applyStateDiff()};
gw.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})};gw.prototype._applyStateDiff=function(){for(var a=l(this.stateMap),b=a.next();!b.done;b=a.next()){var c=b.value;b=c[0];c=c[1];c.changed?(this._toggleClass(b,c.enabled),c.changed=!1):c.touched||(c.enabled&&this._toggleClass(b,!1),this.stateMap.delete(b));c.touched=!1}};
gw.prototype._toggleClass=function(a,b){var c=this;a=a.trim();0<a.length&&a.split(eRb).forEach(function(d){b?c._renderer.addClass(c._ngEl.nativeElement,d):c._renderer.removeClass(c._ngEl.nativeElement,d)})};Vg.Object.defineProperties(gw.prototype,{klass:{configurable:!0,enumerable:!0,set:function(a){this.initialClasses=null!=a?a.trim().split(eRb):fRb}},ngClass:{configurable:!0,enumerable:!0,set:function(a){this.rawClass="string"===typeof a?a.trim().split(eRb):a}}});
gw.\u0275fac=function(a){return new (a||gw)(A(Ad),A(Tu))};gw.\u0275dir=Qc({type:gw,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});var gRb=function(a,b,c,d){this.$implicit=a;this.ngForOf=b;this.index=c;this.count=d};Vg.Object.defineProperties(gRb.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 hw=function(a,b,c){this._viewContainer=a;this._template=b;this._differs=c;this._ngForOf=null;this._ngForOfDirty=!0;this._differ=null};hw.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)};
hw.prototype._applyChanges=function(a){var b=this,c=this._viewContainer;BPb(a,function(h,k,q){null==h.previousIndex?c.createEmbeddedView(b._template,new gRb(h.item,b._ngForOf,-1,-1),null===q?void 0:q):null==q?c.remove(null===k?void 0:k):null!==k&&(k=c.get(k),c.move(k,q),k.context.$implicit=h.item)});for(var d=0,e=c.length;d<e;d++){var f=c.get(d).context;f.index=d;f.count=e;f.ngForOf=this._ngForOf}CPb(a,function(h){c.get(h.currentIndex).context.$implicit=h.item})};
Vg.Object.defineProperties(hw.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)}}});hw.\u0275fac=function(a){return new (a||hw)(A(Sf),A(Rf),A(Wu))};
hw.\u0275dir=Qc({type:hw,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});var hRb=function(a,b){this._viewContainerRef=a;this._templateRef=b;this._created=!1};hRb.prototype.create=function(){this._created=!0;this._viewContainerRef.createEmbeddedView(this._templateRef)};hRb.prototype.destroy=function(){this._created=!1;this._viewContainerRef.clear()};var iw=function(){this._defaultViews=[];this._defaultUsed=!1;this._lastCaseCheckIndex=this._caseCount=0;this._lastCasesMatched=!1};iw.prototype._addCase=function(){return this._caseCount++};iw.prototype._addDefault=function(a){this._defaultViews.push(a)};
iw.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};
iw.prototype._updateDefaultCases=function(a){if(0<this._defaultViews.length&&a!==this._defaultUsed){this._defaultUsed=a;for(var b=l(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()}}};Vg.Object.defineProperties(iw.prototype,{ngSwitch:{configurable:!0,enumerable:!0,set:function(a){this._ngSwitch=a;0===this._caseCount&&this._updateDefaultCases(!0)}}});iw.\u0275fac=function(a){return new (a||iw)};
iw.\u0275dir=Qc({type:iw,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});var jw=function(a,b,c){this.ngSwitch=c;c._addCase();this._view=new hRb(a,b)};jw.prototype.ngDoCheck=function(){var a=this._view,b=this.ngSwitch._matchCase(this.ngSwitchCase);b&&!a._created?a.create():!b&&a._created&&a.destroy()};jw.\u0275fac=function(a){return new (a||jw)(A(Sf),A(Rf),A(iw,9))};jw.\u0275dir=Qc({type:jw,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});
var kw=function(a,b,c){c._addDefault(new hRb(a,b))};kw.\u0275fac=function(a){return new (a||kw)(A(Sf),A(Rf),A(iw,9))};kw.\u0275dir=Qc({type:kw,selectors:[["","ngSwitchDefault",""]],standalone:!0});var lw=function(a){this._viewContainerRef=a;this.ngTemplateOutletInjector=this.ngTemplateOutlet=this.ngTemplateOutletContext=this._viewRef=null};lw.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};
lw.prototype._shouldRecreateView=function(a){return!!a.ngTemplateOutlet||!!a.ngTemplateOutletInjector};lw.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)}})};lw.\u0275fac=function(a){return new (a||lw)(A(Sf))};
lw.\u0275dir=Qc({type:lw,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ed]});var iRb=function(){};iRb.prototype.createSubscription=function(a,b){return nia(function(){return a.subscribe({next:b,error:function(c){throw c;}})})};iRb.prototype.dispose=function(a){nia(function(){return a.unsubscribe()})};var jRb=function(){};jRb.prototype.createSubscription=function(a,b){return a.then(b,function(c){throw c;})};jRb.prototype.dispose=function(){};var kRb=new jRb,lRb=new iRb,mw=function(a){this._strategy=this._obj=this._subscription=this._latestValue=null;this._ref=a};g=mw.prototype;
g.ngOnDestroy=function(){this._subscription&&this._dispose();this._ref=null};g.transform=function(a){return this._obj?a!==this._obj?(this._dispose(),this.transform(a)):this._latestValue:(a&&this._subscribe(a),this._latestValue)};g._subscribe=function(a){var b=this;this._obj=a;this._strategy=this._selectStrategy(a);this._subscription=this._strategy.createSubscription(a,function(c){return b._updateLatestValue(a,c)})};
g._selectStrategy=function(a){if(Ne(a))return kRb;if(Nja(a))return lRb;throw ug();};g._dispose=function(){this._strategy.dispose(this._subscription);this._obj=this._subscription=this._latestValue=null};g._updateLatestValue=function(a,b){a===this._obj&&(this._latestValue=b,this._ref.markForCheck())};mw.\u0275fac=function(a){return new (a||mw)(A(Uu,16))};mw.\u0275pipe=Rc({name:"async",type:mw,pure:!1,standalone:!0});var nw=function(){};nw.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw ug();return a.toLowerCase()};nw.\u0275fac=function(a){return new (a||nw)};nw.\u0275pipe=Rc({name:"lowercase",type:nw,pure:!0,standalone:!0});
var mRb=/(?:[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,ow=
function(){};ow.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw ug();return a.replace(mRb,function(b){return b[0].toUpperCase()+b.slice(1).toLowerCase()})};ow.\u0275fac=function(a){return new (a||ow)};ow.\u0275pipe=Rc({name:"titlecase",type:ow,pure:!0,standalone:!0});var bna=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,yg={},Pma=/((?:[^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]*)/,Sma={};var nRb=new Xc(""),oRb=new Xc(""),pw=function(a,b,c){this.locale=a;this.defaultTimezone=b;this.defaultOptions=c};pw.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",k,q,t,w=null!=(t=null!=(q=null!=c?c:null==(k=this.defaultOptions)?void 0:k.timezone)?q:this.defaultTimezone)?t:void 0;return Wma(a,h,d||this.locale,w)}catch(z){throw ug();}};
pw.\u0275fac=function(a){return new (a||pw)(A(Zg,16),A(nRb,24),A(oRb,24))};pw.\u0275pipe=Rc({name:"date",type:pw,pure:!0,standalone:!0});var qw=function(){};qw.prototype.transform=function(a){return JSON.stringify(a,null,2)};qw.\u0275fac=function(a){return new (a||qw)};qw.\u0275pipe=Rc({name:"json",type:qw,pure:!1,standalone:!0});var rw=function(a){this.differs=a;this.keyValues=[];this.compareFn=dna};rw.prototype.transform=function(a,b){var c=this;b=void 0===b?dna: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};
rw.\u0275fac=function(a){return new (a||rw)(A(Xu,16))};rw.\u0275pipe=Rc({name:"keyvalue",type:rw,pure:!1,standalone:!0});var gna=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var sw=function(a){this._locale=a};
sw.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("Va`"+a);var d=a}else d=Number(a);a=d;var e=Jf(c)[14][0],f=tg(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(";"),k=h[0],q=h[1],t=-1!==k.indexOf(".")?k.split("."):[k.substring(0,k.lastIndexOf("0")+1),k.substring(k.lastIndexOf("0")+
1)],w=t[0],z=t[1]||"";d.posPre=w.substring(0,w.indexOf("#"));for(e=0;e<z.length;e++){var F=z.charAt(e);"0"===F?d.minFrac=d.maxFrac=e+1:"#"===F?d.maxFrac=e+1:d.posSuf+=F}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=k.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 jna(a,d,c,b)}catch(P){throw ug();}};
sw.\u0275fac=function(a){return new (a||sw)(A(Zg,16))};sw.\u0275pipe=Rc({name:"number",type:sw,pure:!0,standalone:!0});var tw=function(){};tw.prototype.transform=function(a,b,c){if(null==a)return null;if(!this.supports(a))throw ug();return a.slice(b,c)};tw.prototype.supports=function(a){return"string"===typeof a||Array.isArray(a)};tw.\u0275fac=function(a){return new (a||tw)};tw.\u0275pipe=Rc({name:"slice",type:tw,pure:!1,standalone:!0});var uw=function(){};uw.\u0275fac=function(a){return new (a||uw)};uw.\u0275mod=Nc({type:uw});uw.\u0275inj=wc({});var pRb=function(a){return a.src};new Xc("",{providedIn:"root",factory:function(){return pRb}});var Tg=new Xc("");new Xc("");new Xc("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:function(){return new Set}});var qRb=null,rRb=function(){};var vw=function(){};vw.prototype.historyGo=function(){throw Error("na");};vw.\u0275fac=function(a){return new (a||vw)};vw.\u0275prov=vc({token:vw,factory:function(){return Gc(ww)},providedIn:"platform"});var sRb=new Xc(""),ww=function(){this._doc=Gc(Tg);this._location=window.location;this._history=window.history};X(ww,vw);ww.prototype.onPopState=function(a){var b=tRb(this._doc,"window");b.addEventListener("popstate",a,!1);return function(){return b.removeEventListener("popstate",a)}};
var uRb=function(a,b){var c=tRb(a._doc,"window");c.addEventListener("hashchange",b,!1);return function(){return c.removeEventListener("hashchange",b)}};g=ww.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};
Vg.Object.defineProperties(ww.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}}});ww.\u0275fac=function(a){return new (a||ww)};ww.\u0275prov=vc({token:ww,factory:function(){return new ww},providedIn:"platform"});var xw=function(){};xw.prototype.historyGo=function(){throw Error("na");};xw.\u0275fac=function(a){return new (a||xw)};xw.\u0275prov=vc({token:xw,factory:function(){return Gc(yw)},providedIn:"root"});var vRb=new Xc(""),yw=function(a,b){this._platformLocation=a;this._removeListenerFns=[];var c,d,e;this._baseHref=null!=(e=null!=(d=null!=b?b:qRb.getBaseHref())?d:null==(c=Gc(Tg).location)?void 0:c.origin)?e:""};X(yw,xw);g=yw.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};
g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),uRb(this._platformLocation,a))};g.getBaseHref=function(){return this._baseHref};g.prepareExternalUrl=function(a){return kna(this._baseHref,a)};g.path=function(a){var b=this._platformLocation.pathname+Ag(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+Ag(d)))};
g.replaceState=function(a,b,c,d){this._platformLocation.replaceState(a,b,this.prepareExternalUrl(c+Ag(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)};yw.\u0275fac=function(a){return new (a||yw)(p(vw),p(vRb,8))};yw.\u0275prov=vc({token:yw,factory:yw.\u0275fac,providedIn:"root"});var zw=function(a,b){this._platformLocation=a;this._baseHref="";this._removeListenerFns=[];null!=b&&(this._baseHref=b)};X(zw,xw);g=zw.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),uRb(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=kna(this._baseHref,a);return 0<a.length?"#"+a:a};g.pushState=function(a,b,c,d){c=this.prepareExternalUrl(c+Ag(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+Ag(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)};zw.\u0275fac=function(a){return new (a||zw)(p(vw),p(vRb,8))};
zw.\u0275prov=vc({token:zw,factory:zw.\u0275fac});var Aw=function(a){var b=this;this._subject=new zv;this._urlChangeListeners=[];this._urlChangeSubscription=null;this._locationStrategy=a;a=this._locationStrategy.getBaseHref();this._basePath=mna(lna(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=Aw.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 lna(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+Ag(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+Ag(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})};Aw.\u0275fac=function(a){return new (a||Aw)(p(xw))};Aw.\u0275prov=vc({token:Aw,factory:function(){return new Aw(p(xw))},providedIn:"root"});var wRb=function(){};wRb.\u0275prov=vc({token:wRb,providedIn:"root",factory:function(){return"browser"===Gc(Ie)?new xRb:new yRb}});var xRb=function(){var a=Gc(Tg),b=window;this.document=a;this.window=b;this.offset=function(){return[0,0]}};g=xRb.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 yRb=function(){};g=yRb.prototype;g.setOffset=function(){};g.getScrollPosition=function(){return[0,0]};g.scrollToPosition=function(){};g.scrollToAnchor=function(){};g.setHistoryScrollRestoration=function(){};var zRb=function(){};var ARb={provide:fw,useExisting:Cc(function(){return Dg}),multi:!0},BRb=new Xc(""),Dg=function(a,b,c){ew.call(this,a,b);this._compositionMode=c;this._composing=!1;null==this._compositionMode&&(this._compositionMode=!/android (\d+)/.test((qRb?window.navigator.userAgent:"").toLowerCase()))};X(Dg,ew);Dg.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};Dg.prototype._handleInput=function(a){if(!this._compositionMode||this._compositionMode&&!this._composing)this.onChange(a)};
Dg.prototype._compositionStart=function(){this._composing=!0};Dg.prototype._compositionEnd=function(a){this._composing=!1;this._compositionMode&&this.onChange(a)};Dg.\u0275fac=function(a){return new (a||Dg)(A(Tu),A(Ad),A(BRb,8))};
Dg.\u0275dir=Qc({type:Dg,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&&M("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:[bg([ARb]),nf]});var Bw=new Xc(""),Cw=new Xc(""),Dw=function(a){return pna(a)};var Ew=function(){this._rawValidators=[];this._rawAsyncValidators=[];this._onDestroyCallbacks=[]};g=Ew.prototype;g._setValidators=function(a){this._rawValidators=a||[];this._composedValidatorFn=zna(this._rawValidators)};g._setAsyncValidators=function(a){this._rawAsyncValidators=a||[];this._composedAsyncValidatorFn=Bna(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};
Vg.Object.defineProperties(Ew.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 Fw=function(){Ew.apply(this,arguments);this.valueAccessor=this.name=this._parent=null};X(Fw,Ew);var Gw=function(){Ew.apply(this,arguments)};X(Gw,Ew);Vg.Object.defineProperties(Gw.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return null}},path:{configurable:!0,enumerable:!0,get:function(){return null}}});var CRb=function(a){this._cd=a};
Vg.Object.defineProperties(CRb.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 Hw=function(a){this._cd=a};X(Hw,CRb);Hw.\u0275fac=function(a){return new (a||Hw)(A(Fw,2))};
Hw.\u0275dir=Qc({type:Hw,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,b){a&2&&yf("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:[nf]});var Iw=function(a){this._cd=a};X(Iw,CRb);Iw.\u0275fac=function(a){return new (a||Iw)(A(Gw,10))};
Iw.\u0275dir=Qc({type:Iw,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,b){a&2&&yf("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:[nf]});var Jw=new Xc("CallSetDisabledState",{providedIn:"root",factory:function(){return"whenDisabledForLegacyCode"}});var Kw=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)},Mna=function(a,b){a._assignValidators(b)},Nna=function(a,b){a._assignAsyncValidators(b)},DRb=function(a){a=a._rawValidators;return Array.isArray(a)?a.includes(Dw):a===Dw},Pna=function(a,b){b=void 0===b?{}:b;a.touched=!0;a._parent&&
!b.onlySelf&&Pna(a._parent,b)},ERb=function(a,b){b=void 0===b?{}:b;a.touched=!1;a._pendingTouched=!1;a._forEachChild(function(c){ERb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updateTouched(b)},Qna=function(a,b){b=void 0===b?{}:b;a.pristine=!1;a._parent&&!b.onlySelf&&Qna(a._parent,b)},FRb=function(a,b){b=void 0===b?{}:b;a.pristine=!0;a._pendingDirty=!1;a._forEachChild(function(c){FRb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updatePristine(b)};g=Kw.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}))});Cg(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&&(Cg(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 Cg=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&&Cg(a._parent,b)};g=Kw.prototype;
g._updateTreeValidity=function(a){a=void 0===a?{emitEvent:!0}:a;this._forEachChild(function(b){return b._updateTreeValidity(a)});Cg(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=una(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 zv;this.statusChanges=new zv};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){Fg(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)?zna(a):a||null};g._assignAsyncValidators=function(a){a=this._rawAsyncValidators=Array.isArray(a)?a.slice():a;this._composedAsyncValidatorFn=Array.isArray(a)?Bna(a):a||null};
Vg.Object.defineProperties(Kw.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 Lw=function(a,b,c){var d=Kw.call,e=Una(b);c=(Fg(b)?b.asyncValidators:c)||null;d.call(Kw,this,e,c);this.controls=a;this._initObservables();this._setUpdateStrategy(b);this._setUpControls();Cg(this,{onlySelf:!0,emitEvent:!!this.asyncValidator})};X(Lw,Kw);var GRb=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=Lw.prototype;
g.addControl=function(a){var b=void 0===b?{}:b;GRb(this,a);Cg(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];Cg(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;Vna(this,a);Object.keys(a).forEach(function(d){var e=c.controls;if(!Object.keys(e).length)throw new Ac(1E3,"");if(!e[d])throw new Ac(1001,"");c.controls[d].setValue(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});Cg(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);Cg(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&&Cg(this,{onlySelf:!0});return a};g._forEachChild=function(a){var b=this;Object.keys(this.controls).forEach(function(c){var d=b.controls[c];d&&a(d,c)})};g._setUpControls=function(){var a=this;this._forEachChild(function(b){b.setParent(a);b._registerOnCollectionChange(a._onCollectionChange)})};
g._updateValue=function(){this.value=this._reduceValue()};g._anyControls=function(a){for(var b=l(Object.entries(this.controls)),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;if(this.contains(c)&&a(d))return!0}return!1};g._reduceValue=function(){var a=this;return this._reduceChildren({},function(b,c,d){if(c.enabled||a.disabled)b[d]=c.value;return b})};g._reduceChildren=function(a,b){var c=a;this._forEachChild(function(d,e){c=b(c,d,e)});return c};
g._allControlsDisabled=function(){for(var a=l(Object.keys(this.controls)),b=a.next();!b.done;b=a.next())if(this.controls[b.value].enabled)return!1;return 0<Object.keys(this.controls).length||this.disabled};g._find=function(a){return this.controls.hasOwnProperty(a)?this.controls[a]:null};var HRb={provide:Gw,useExisting:Cc(function(){return Mw})},IRb=Promise.resolve(),Mw=function(a,b,c){Gw.call(this);this.callSetDisabledState=c;this.submitted=!1;this._directives=new Set;this.ngSubmit=new zv;this.form=new Lw({},zna(a),Bna(b))};X(Mw,Gw);g=Mw.prototype;g.ngAfterViewInit=function(){this._setUpdateStrategy()};
g.addControl=function(a){var b=this;IRb.then(function(){var c=b._findContainer(a.path);a.control=GRb(c,a.name,a.control);Bg(a.control,a,b.callSetDisabledState);Cg(a.control,{emitEvent:!1});b._directives.add(a)})};g.removeControl=function(a){var b=this;IRb.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;IRb.then(function(){c.form.get(a.path).setValue(b)})};g.setValue=function(a){this.control.setValue(a)};
g.onSubmit=function(a){this.submitted=!0;Sna(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};
Vg.Object.defineProperties(Mw.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}}});Mw.\u0275fac=function(a){return new (a||Mw)(A(Bw,10),A(Cw,10),A(Jw,8))};
Mw.\u0275dir=Qc({type:Mw,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,b){a&1&&M("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[bg([HRb]),nf]});var Nw=function(a,b,c){a=void 0===a?null:a;var d=Kw.call,e=Una(b);c=(Fg(b)?b.asyncValidators:c)||null;d.call(Kw,this,e,c);this.defaultValue=null;this._onChange=[];this._pendingChange=!1;this._applyFormState(a);this._setUpdateStrategy(b);this._initObservables();Cg(this,{onlySelf:!0,emitEvent:!!this.asyncValidator});Fg(b)&&(b.nonNullable||b.initialValueIsDefault)&&(Wna(a)?this.defaultValue=a.value:this.defaultValue=a)};X(Nw,Kw);g=Nw.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)});Cg(this,b)};g.reset=function(a,b){a=void 0===a?this.defaultValue:a;b=void 0===b?{}:b;this._applyFormState(a);FRb(this,b);ERb(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&&Qna(this),this._pendingTouched&&Pna(this),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1};g._applyFormState=function(a){Wna(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 JRb={provide:Fw,useExisting:Cc(function(){return Ow})},KRb=Promise.resolve(),Ow=function(a,b,c,d,e,f){Fw.call(this);this._changeDetectorRef=e;this.callSetDisabledState=f;this.control=new Nw;this._registered=!1;this.name="";this.update=new zv;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=Tna(d)};X(Ow,Fw);g=Ow.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);Rna(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(){Bg(this.control,this,this.callSetDisabledState);Cg(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;KRb.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&&pg(a);KRb.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?Dna(a,this._parent):[a]};
Vg.Object.defineProperties(Ow.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}}});Ow.\u0275fac=function(a){return new (a||Ow)(A(Gw,9),A(Bw,10),A(Cw,10),A(fw,10),A(Uu,8),A(Jw,8))};
Ow.\u0275dir=Qc({type:Ow,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:[bg([JRb]),nf,ed]});var Pw=function(){};Pw.\u0275fac=function(a){return new (a||Pw)};Pw.\u0275dir=Qc({type:Pw,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});var LRb={provide:fw,useExisting:Cc(function(){return Qw}),multi:!0},Qw=function(){Eg.apply(this,arguments)};X(Qw,Eg);Qw.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};Qw.prototype.registerOnChange=function(a){this.onChange=function(b){a(""==b?null:parseFloat(b))}};Qw.\u0275fac=function(){var a;return function(b){return(a||(a=zd(Qw)))(b||Qw)}}();
Qw.\u0275dir=Qc({type:Qw,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(a,b){a&1&&M("input",function(c){return b.onChange(c.target.value)})("blur",function(){return b.onTouched()})},features:[bg([LRb]),nf]});var MRb={provide:fw,useExisting:Cc(function(){return Sw}),multi:!0},Tw=function(){};Tw.\u0275fac=function(a){return new (a||Tw)};Tw.\u0275mod=Nc({type:Tw});Tw.\u0275inj=wc({});var Uw=function(){this._accessors=[]};Uw.prototype.add=function(a,b){this._accessors.push([a,b])};Uw.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}};
Uw.prototype.select=function(a){var b=this;this._accessors.forEach(function(c){b._isSameGroup(c,a)&&c[1]!==a&&c[1].writeValue(a.value)})};Uw.prototype._isSameGroup=function(a,b){return a[0].control?a[0]._parent===b._control._parent&&a[1].name===b.name:!1};Uw.\u0275fac=function(a){return new (a||Uw)};Uw.\u0275prov=vc({token:Uw,factory:Uw.\u0275fac,providedIn:Tw});
var Sw=function(a,b,c,d){Eg.call(this,a,b);this._registry=c;this._injector=d;this.setDisabledStateFired=!1;this.onChange=function(){};var e;this.callSetDisabledState=null!=(e=Gc(Jw,{optional:!0}))?e:"whenDisabledForLegacyCode"};X(Sw,Eg);g=Sw.prototype;g.ngOnInit=function(){this._control=this._injector.get(Fw);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)};
Sw.\u0275fac=function(a){return new (a||Sw)(A(Tu),A(Ad),A(Uw),A(He))};Sw.\u0275dir=Qc({type:Sw,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(a,b){a&1&&M("change",function(){return b.onChange()})("blur",function(){return b.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[bg([MRb]),nf]});var NRb=new Xc(""),ORb={provide:Fw,useExisting:Cc(function(){return Vw})},Vw=function(a,b,c,d,e){Fw.call(this);this._ngModelWarningConfig=d;this.callSetDisabledState=e;this.update=new zv;this._ngModelWarningSent=!1;this._setValidators(a);this._setAsyncValidators(b);this.valueAccessor=Tna(c)};X(Vw,Fw);
Vw.prototype.ngOnChanges=function(a){if(this._isControlChanged(a)){var b=a.form.previousValue;b&&Kna(b,this);Bg(this.form,this,this.callSetDisabledState);Cg(this.form,{emitEvent:!1})}Rna(a,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)};Vw.prototype.ngOnDestroy=function(){this.form&&Kna(this.form,this)};Vw.prototype.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};Vw.prototype._isControlChanged=function(a){return a.hasOwnProperty("form")};
Vg.Object.defineProperties(Vw.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}}});Vw.\u0275fac=function(a){return new (a||Vw)(A(Bw,10),A(Cw,10),A(fw,10),A(NRb,8),A(Jw,8))};
Vw.\u0275dir=Qc({type:Vw,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[bg([ORb]),nf,ed]});var PRb={provide:Gw,useExisting:Cc(function(){return Ww})},Ww=function(a,b,c){Gw.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 zv;this._setValidators(a);this._setAsyncValidators(b)};X(Ww,Gw);g=Ww.prototype;g.ngOnChanges=function(a){a.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)};
g.ngOnDestroy=function(){this.form&&(Jna(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))};g.addControl=function(a){var b=this.form.get(a.path);Bg(b,a,this.callSetDisabledState);Cg(b,{emitEvent:!1});this.directives.push(a);return b};g.removeControl=function(a){Kna(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;Sna(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&&(Kna(c||null,b),d instanceof Nw&&(Bg(d,b,a.callSetDisabledState),b.control=d))});this.form._updateTreeValidity({emitEvent:!1})};
g._setUpFormContainer=function(a){var b=this.form.get(a.path);Ena(b,a);Cg(b,{emitEvent:!1})};g._cleanUpFormContainer=function(a){if(this.form){var b=this.form.get(a.path);b&&Jna(b,a)&&Cg(b,{emitEvent:!1})}};g._updateRegistrations=function(){this.form._registerOnCollectionChange(this._onCollectionChange);this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})};g._updateValidators=function(){Ena(this.form,this);this._oldForm&&Jna(this._oldForm,this)};g._checkFormPresent=function(){};
Vg.Object.defineProperties(Ww.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[]}}});Ww.\u0275fac=function(a){return new (a||Ww)(A(Bw,10),A(Cw,10),A(Jw,8))};
Ww.\u0275dir=Qc({type:Ww,selectors:[["","formGroup",""]],hostBindings:function(a,b){a&1&&M("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[bg([PRb]),nf,ed]});var QRb={provide:Fw,useExisting:Cc(function(){return Xw})},Xw=function(a,b,c,d,e){Fw.call(this);this._ngModelWarningConfig=e;this._added=!1;this.name=null;this.update=new zv;this._ngModelWarningSent=!1;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=Tna(d)};X(Xw,Fw);g=Xw.prototype;g.ngOnChanges=function(a){this._added||this._setUpControl();Rna(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};
Vg.Object.defineProperties(Xw.prototype,{isDisabled:{configurable:!0,enumerable:!0,set:function(){}},path:{configurable:!0,enumerable:!0,get:function(){return Dna(null==this.name?this.name:this.name.toString(),this._parent)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this._parent?this._parent.formDirective:null}}});Xw.\u0275fac=function(a){return new (a||Xw)(A(Gw,13),A(Bw,10),A(Cw,10),A(fw,10),A(NRb,8))};
Xw.\u0275dir=Qc({type:Xw,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[bg([QRb]),nf,ed]});var Yw=function(){this._validator=rna};Yw.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):rna,this._onChange&&this._onChange())};Yw.prototype.validate=function(a){return this._validator(a)};Yw.prototype.registerOnValidatorChange=function(a){this._onChange=a};Yw.prototype.enabled=function(a){return null!=a};Yw.\u0275fac=function(a){return new (a||Yw)};
Yw.\u0275dir=Qc({type:Yw,features:[ed]});var RRb={provide:Bw,useExisting:Cc(function(){return Zw}),multi:!0},Zw=function(){Yw.apply(this,arguments);this.inputName="min";this.normalizeInput=function(a){return"number"===typeof a?a:parseFloat(a)};this.createValidator=function(a){return ona(a)}};X(Zw,Yw);Zw.\u0275fac=function(){var a;return function(b){return(a||(a=zd(Zw)))(b||Zw)}}();
Zw.\u0275dir=Qc({type:Zw,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&&pf("min",b._enabled?b.min:null)},inputs:{min:"min"},features:[bg([RRb]),nf]});var SRb={provide:Bw,useExisting:Cc(function(){return $w}),multi:!0},$w=function(){Yw.apply(this,arguments);this.inputName="required";this.normalizeInput=pg;this.createValidator=function(){return pna}};
X($w,Yw);$w.prototype.enabled=function(a){return a};$w.\u0275fac=function(){var a;return function(b){return(a||(a=zd($w)))(b||$w)}}();$w.\u0275dir=Qc({type:$w,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,b){a&2&&pf("required",b._enabled?"":null)},inputs:{required:"required"},features:[bg([SRb]),nf]});
var TRb={provide:Bw,useExisting:Cc(function(){return ax}),multi:!0},ax=function(){Yw.apply(this,arguments);this.inputName="maxlength";this.normalizeInput=function(a){return"number"===typeof a?a:parseInt(a,10)};this.createValidator=function(a){return qna(a)}};X(ax,Yw);ax.\u0275fac=function(){var a;return function(b){return(a||(a=zd(ax)))(b||ax)}}();
ax.\u0275dir=Qc({type:ax,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&pf("maxlength",b._enabled?b.maxlength:null)},inputs:{maxlength:"maxlength"},features:[bg([TRb]),nf]});var URb={provide:Bw,useExisting:Cc(function(){return bx}),multi:!0},bx=function(){Yw.apply(this,arguments);this.inputName="pattern";this.normalizeInput=function(a){return a};this.createValidator=function(a){return sna(a)}};
X(bx,Yw);bx.\u0275fac=function(){var a;return function(b){return(a||(a=zd(bx)))(b||bx)}}();bx.\u0275dir=Qc({type:bx,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&pf("pattern",b._enabled?b.pattern:null)},inputs:{pattern:"pattern"},features:[bg([URb]),nf]});var cx=function(){};cx.\u0275fac=function(a){return new (a||cx)};cx.\u0275mod=Nc({type:cx});cx.\u0275inj=wc({imports:[Tw]});var dx=function(){};dx.\u0275fac=function(a){return new (a||dx)};dx.\u0275mod=Nc({type:dx});dx.\u0275inj=wc({imports:[cx]});var ex=function(){};ex.\u0275fac=function(a){return new (a||ex)};ex.\u0275mod=Nc({type:ex});ex.\u0275inj=wc({imports:[cx]});var Xna,Yna="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 Gg;var boa,Jg;var doa;var VRb;try{VRb="undefined"!==typeof Intl&&Intl.v8BreakIterator}catch(a){VRb=!1}
var fx=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&&!VRb)&&"undefined"!==typeof CSS&&!this.EDGE&&!this.TRIDENT;this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&
!("MSStream"in window);this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT};fx.\u0275fac=function(a){return new (a||fx)(p(Ie))};fx.\u0275prov=vc({token:fx,factory:fx.\u0275fac,providedIn:"root"});var gx=function(a){this._platform=a};gx.prototype.isDisabled=function(a){return a.hasAttribute("disabled")};gx.prototype.isVisible=function(a){return!!(a.offsetWidth||a.offsetHeight||"function"===typeof a.getClientRects&&a.getClientRects().length)&&"visible"===getComputedStyle(a).visibility};
var WRb=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===hoa(c)||!a.isVisible(c)))return!1;c=b.nodeName.toLowerCase();var d=hoa(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};
gx.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")||goa(a);return c&&!this.isDisabled(a)&&((null==b?void 0:b.ignoreVisibility)||this.isVisible(a))};gx.\u0275fac=function(a){return new (a||gx)(p(fx))};gx.\u0275prov=vc({token:gx,factory:gx.\u0275fac,providedIn:"root"});var jx=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 XRb(f)};this.endAnchorListener=function(){return hx(f)};this._enabled=!0;(void 0===e?0:e)||ix(this)};
jx.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 ix=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))},kx=function(a){return new Promise(function(b){a._executeOnStable(function(){return b(a.focusInitialElement())})})};
jx.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)};
jx.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 hx(this)};var hx=function(a){(a=a._getRegionBoundary("start"))&&a.focus(void 0);return!!a},XRb=function(a){(a=a._getRegionBoundary("end"))&&a.focus(void 0);return!!a};g=jx.prototype;g.hasAttached=function(){return this._hasAttached};
g._getFirstTabbableElement=function(a){if(this._checker.isFocusable(a)&&WRb(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)&&WRb(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 YRb=function(a,b){a._startAnchor&&a._endAnchor&&(a._toggleAnchorTabIndex(b,a._startAnchor),a._toggleAnchorTabIndex(b,a._endAnchor))};
jx.prototype._executeOnStable=function(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe(Ue()).subscribe(a)};Vg.Object.defineProperties(jx.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 lx=function(a,b,c){this._checker=a;this._ngZone=b;this._document=c};
lx.prototype.create=function(a,b){return new jx(a,this._checker,this._ngZone,this._document,void 0===b?!1:b)};lx.\u0275fac=function(a){return new (a||lx)(p(gx),p(Ge),p(Tg))};lx.\u0275prov=vc({token:lx,factory:lx.\u0275fac,providedIn:"root"});var mx=function(a,b){this._elementRef=a;this._focusTrapFactory=b;this._previouslyFocusedElement=null;Gc(fx).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))};g=mx.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)||ix(a);this.autoCapture&&this._captureFocus()};g.ngDoCheck=function(){this.focusTrap&&!this.focusTrap.hasAttached()&&ix(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=Kg();var a;null==(a=this.focusTrap)||kx(a)};Vg.Object.defineProperties(mx.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)}}});
mx.\u0275fac=function(a){return new (a||mx)(A(Ad),A(lx),A(Tg))};mx.\u0275dir=Qc({type:mx,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",pg],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",pg]},exportAs:["cdkTrapFocus"],standalone:!0,features:[of,ed]});var ZRb=new Xc("cdk-input-modality-detector-options"),$Rb={ignoreKeys:[18,17,224,91,16]},nx=Hg({passive:!0,capture:!0}),ox=function(a,b,c,d){var e=this;this._platform=a;this._mostRecentTarget=null;this._modality=new W.BehaviorSubject(null);this._lastTouchMs=0;this._onKeydown=function(f){var h,k;(null==(h=e._options)?0:null==(k=h.ignoreKeys)?0:k.some(function(q){return q===f.keyCode}))||(e._modality.next("keyboard"),e._mostRecentTarget=Lg(f))};this._onMousedown=function(f){650>Date.now()-e._lastTouchMs||
(e._modality.next(ioa(f)?"keyboard":"mouse"),e._mostRecentTarget=Lg(f))};this._onTouchstart=function(f){joa(f)?e._modality.next("keyboard"):(e._lastTouchMs=Date.now(),e._modality.next("touch"),e._mostRecentTarget=Lg(f))};this._options=Object.assign({},$Rb,d);this.modalityDetected=this._modality.pipe(bf(1));this.modalityDetected.pipe(Te());a.isBrowser&&b.runOutsideAngular(function(){c.addEventListener("keydown",e._onKeydown,nx);c.addEventListener("mousedown",e._onMousedown,nx);c.addEventListener("touchstart",
e._onTouchstart,nx)})};ox.prototype.ngOnDestroy=function(){this._modality.complete();this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,nx),document.removeEventListener("mousedown",this._onMousedown,nx),document.removeEventListener("touchstart",this._onTouchstart,nx))};Vg.Object.defineProperties(ox.prototype,{mostRecentModality:{configurable:!0,enumerable:!0,get:function(){return this._modality.value}}});
ox.\u0275fac=function(a){return new (a||ox)(p(fx),p(Ge),p(Tg),p(ZRb,8))};ox.\u0275prov=vc({token:ox,factory:ox.\u0275fac,providedIn:"root"});var aSb=new Xc("cdk-focus-monitor-default-options"),bSb=Hg({passive:!0,capture:!0}),px=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 W.Subject;this._rootNodeFocusAndBlurListener=function(h){for(var k=Lg(h);k;k=k.parentElement)"focus"===h.type?f._onFocus(h,k):f._onBlur(h,k)};this._document=d;this._detectionMode=(null==e?void 0:e.detectionMode)||0};
px.prototype.monitor=function(a,b){b=void 0===b?!1:b;a=Qg(a);if(!this._platform.isBrowser||1!==a.nodeType)return(0,W.of)();var c=eoa(a)||this._getDocument(),d=this._elementInfo.get(a);if(d)return b&&(d.checkChildren=!0),d.subject;b={checkChildren:b,subject:new W.Subject,rootNode:c};this._elementInfo.set(a,b);this._registerGlobalListeners(b);return b.subject};
px.prototype.stopMonitoring=function(a){a=Qg(a);var b=this._elementInfo.get(a);b&&(b.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(b))};var qx=function(a,b,c,d){b=Qg(b);b===a._getDocument().activeElement?a._getClosestElementsInfo(b).forEach(function(e){var f=l(e);e=f.next().value;f=f.next().value;return a._originChanged(e,c,f)}):(a._setOrigin(c),"function"===typeof b.focus&&b.focus(d))};g=px.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=Lg(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,bSb);c.addEventListener("blur",b._rootNodeFocusAndBlurListener,bSb)});this._rootNodeFocusListenerCount.set(c,a+1);1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){b._getWindow().addEventListener("focus",b._windowFocusListener)}),
this._inputModalityDetector.modalityDetected.pipe(ef(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,bSb),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,bSb),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};px.\u0275fac=function(a){return new (a||px)(p(Ge),p(fx),p(ox),p(Tg,8),p(aSb,8))};px.\u0275prov=vc({token:px,factory:px.\u0275fac,providedIn:"root"});
var rx=function(a,b){this._elementRef=a;this._focusMonitor=b;this._focusOrigin=null;this.cdkFocusChange=new zv};rx.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)})};rx.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._monitorSubscription&&this._monitorSubscription.unsubscribe()};
Vg.Object.defineProperties(rx.prototype,{focusOrigin:{configurable:!0,enumerable:!0,get:function(){return this._focusOrigin}}});rx.\u0275fac=function(a){return new (a||rx)(A(Ad),A(px))};rx.\u0275dir=Qc({type:rx,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});var cSb=new Set,sx,tx=function(a,b){this._platform=a;this._nonce=b;this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):loa};tx.prototype.matchMedia=function(a){if(this._platform.WEBKIT||this._platform.BLINK){var b=this._nonce;if(!cSb.has(a))try{sx||(sx=document.createElement("style"),b&&(sx.nonce=b),sx.setAttribute("type","text/css"),document.head.appendChild(sx)),sx.sheet&&(sx.sheet.insertRule("@media "+a+" {body{ }}",0),cSb.add(a))}catch(c){console.error(c)}}return this._matchMedia(a)};
tx.\u0275fac=function(a){return new (a||tx)(p(fx),p(fPb,8))};tx.\u0275prov=vc({token:tx,factory:tx.\u0275fac,providedIn:"root"});var ux=function(a,b){this._mediaMatcher=a;this._zone=b;this._queries=new Map;this._destroySubject=new W.Subject};ux.prototype.ngOnDestroy=function(){this._destroySubject.next();this._destroySubject.complete()};
ux.prototype.observe=function(a){var b=this;a=moa(Ng(a)).map(function(c){return b._registerQuery(c).observable});a=(0,W.combineLatest)(a);a=(0,W.concat)(a.pipe(Ue()),a.pipe(bf(1),Re(0)));return a.pipe(B(function(c){var d={matches:!1,breakpoints:{}};c.forEach(function(e){var f=e.matches;e=e.query;d.matches=d.matches||f;d.breakpoints[e]=f});return d}))};
ux.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 W.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(cf(c),B(function(e){return{query:a,matches:e.matches}}),ef(this._destroySubject)),mql:c};this._queries.set(a,d);return d};ux.\u0275fac=function(a){return new (a||ux)(p(tx),p(Ge))};
ux.\u0275prov=vc({token:ux,factory:ux.\u0275fac,providedIn:"root"});var vx=function(a,b){var c=this;this._platform=a;this._document=b;this._breakpointSubscription=Gc(ux).observe("(forced-colors: active)").subscribe(function(){c._hasCheckedHighContrastMode&&(c._hasCheckedHighContrastMode=!1,c._applyBodyHighContrastModeCssClasses())})},dSb=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};vx.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe()};
vx.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=dSb(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")}};
vx.\u0275fac=function(a){return new (a||vx)(p(fx),p(Tg))};vx.\u0275prov=vc({token:vx,factory:vx.\u0275fac,providedIn:"root"});var eSb=new Xc("liveAnnouncerElement",{providedIn:"root",factory:noa}),fSb=new Xc("LIVE_ANNOUNCER_DEFAULT_OPTIONS");var wx=function(){};wx.prototype.create=function(a){return"undefined"===typeof MutationObserver?null:new MutationObserver(a)};wx.\u0275fac=function(a){return new (a||wx)};wx.\u0275prov=vc({token:wx,factory:wx.\u0275fac,providedIn:"root"});var xx=function(a){this._mutationObserverFactory=a;this._observedElements=new Map};g=xx.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=Qg(a);return new W.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 W.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)}};xx.\u0275fac=function(a){return new (a||xx)(p(wx))};xx.\u0275prov=vc({token:xx,factory:xx.\u0275fac,providedIn:"root"});
var yx=function(a,b,c){this._contentObserver=a;this._elementRef=b;this._ngZone=c;this.event=new zv;this._disabled=!1;this._currentSubscription=null};yx.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()};yx.prototype.ngOnDestroy=function(){this._unsubscribe()};
yx.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(Re(a.debounce)):b).subscribe(a.event)})};yx.prototype._unsubscribe=function(){var a;null==(a=this._currentSubscription)||a.unsubscribe()};
Vg.Object.defineProperties(yx.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=Rg(a);this._subscribe()}}});yx.\u0275fac=function(a){return new (a||yx)(A(xx),A(Ad),A(Ge))};
yx.\u0275dir=Qc({type:yx,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",pg],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[of]});var zx=function(){};zx.\u0275fac=function(a){return new (a||zx)};zx.\u0275mod=Nc({type:zx});zx.\u0275inj=wc({providers:[wx]});var gSb=0,Ax=function(a,b,c,d){this._ngZone=b;this._defaultOptions=d;this._document=c;this._liveElement=a||this._createLiveElement()};g=Ax.prototype;
g.announce=function(a){var b=Vc.apply(1,arguments),c=this,d=this._defaultOptions;if(1===b.length&&"number"===typeof b[0])var e=b[0];else{b=l(b);var f=b.next().value;e=b.next().value}this.clear();clearTimeout(this._previousTimeout);f||(f=d&&d.politeness?d.politeness:"polite");null==e&&d&&(e=d.duration);this._liveElement.setAttribute("aria-live",f);this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id);return this._ngZone.runOutsideAngular(function(){c._currentPromise||(c._currentPromise=
new Promise(function(h){return c._currentResolve=h}));clearTimeout(c._previousTimeout);c._previousTimeout=setTimeout(function(){c._liveElement.textContent=a;"number"===typeof e&&(c._previousTimeout=setTimeout(function(){return c.clear()},e));c._currentResolve();c._currentPromise=c._currentResolve=void 0},100);return c._currentPromise})};g.clear=function(){this._liveElement&&(this._liveElement.textContent="")};
g.ngOnDestroy=function(){clearTimeout(this._previousTimeout);var a;null==(a=this._liveElement)||a.remove();this._liveElement=null;var b;null==(b=this._currentResolve)||b.call(this);this._currentPromise=this._currentResolve=void 0};
g._createLiveElement=function(){for(var a=this._document.getElementsByClassName("cdk-live-announcer-element"),b=this._document.createElement("div"),c=0;c<a.length;c++)a[c].remove();b.classList.add("cdk-live-announcer-element");b.classList.add("cdk-visually-hidden");b.setAttribute("aria-atomic","true");b.setAttribute("aria-live","polite");b.id="cdk-live-announcer-"+gSb++;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)}};Ax.\u0275fac=function(a){return new (a||Ax)(p(eSb,8),p(Ge),p(Tg),p(fSb,8))};Ax.\u0275prov=vc({token:Ax,factory:Ax.\u0275fac,providedIn:"root"});var Bx=function(a){a._applyBodyHighContrastModeCssClasses()};Bx.\u0275fac=function(a){return new (a||Bx)(p(vx))};Bx.\u0275mod=Nc({type:Bx});Bx.\u0275inj=wc({imports:[zx]});var roa=0,Cx=function(a,b){this._platform=b;this._messageRegistry=new Map;this._messagesContainer=null;this._id=""+roa++;this._document=a;this._id=Gc(ePb)+"-"+roa++},Dx=function(a,b,c,d){if(a._canBeDescribed(b,c)){var e=qoa(c,d);"string"!==typeof c?(soa(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)}},Ex=function(a,b,c,d){if(c&&a._isElementNode(b)){d=qoa(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=Cx.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");soa(c,this._id);c.textContent=a;b&&c.setAttribute("role",b);this._createMessagesContainer();this._messagesContainer.appendChild(c);this._messageRegistry.set(qoa(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=ooa(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);poa(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--;Sg(a,"aria-describedby",b.messageElement.id);a.removeAttribute("cdk-describedby-host")};g._isElementDescribedByMessage=function(a,b){a=ooa(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};Cx.\u0275fac=function(a){return new (a||Cx)(p(Tg),p(fx))};Cx.\u0275prov=vc({token:Cx,factory:Cx.\u0275fac,providedIn:"root"});var Fx=function(a,b,c,d,e,f,h){jx.call(this,a,b,c,d,h.defer);this._focusTrapManager=e;this._inertStrategy=f;this._focusTrapManager.register(this)};X(Fx,jx);Fx.prototype.destroy=function(){this._focusTrapManager.deregister(this);jx.prototype.destroy.call(this)};Fx.prototype._enable=function(){this._inertStrategy.preventFocus(this);YRb(this,!0)};Fx.prototype._disable=function(){this._inertStrategy.allowFocus(this);YRb(this,!1)};
Vg.Object.defineProperties(Fx.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 hSb=function(){this._listener=null};hSb.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)})};hSb.prototype.allowFocus=function(a){this._listener&&(a._document.removeEventListener("focus",this._listener,!0),this._listener=null)};
hSb.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)&&hx(a)})};var iSb=new Xc("FOCUS_TRAP_INERT_STRATEGY");var Gx=function(){this._focusTrapStack=[]};Gx.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()};Gx.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())};Gx.\u0275fac=function(a){return new (a||Gx)};Gx.\u0275prov=vc({token:Gx,factory:Gx.\u0275fac,providedIn:"root"});var Hx=function(a,b,c,d,e){this._checker=a;this._ngZone=b;this._focusTrapManager=c;this._document=d;this._inertStrategy=e||new hSb};Hx.prototype.create=function(a,b){b=void 0===b?{defer:!1}:b;var c;"boolean"===typeof b?c={defer:b}:c=b;return new Fx(a,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,c)};Hx.\u0275fac=function(a){return new (a||Hx)(p(gx),p(Ge),p(Gx),p(Tg),p(iSb,8))};Hx.\u0275prov=vc({token:Hx,factory:Hx.\u0275fac,providedIn:"root"});var Ix=function(a){var b=this;this._items=a;this._activeItemIndex=-1;this._activeItem=null;this._wrap=!1;this._letterKeyStream=new W.Subject;this._typeaheadSubscription=W.Subscription.EMPTY;this._vertical=!0;this._allowedModifierKeys=[];this._homeAndEnd=!1;this._pageUpAndDown={enabled:!1,delta:10};this._skipPredicateFn=function(c){return c.disabled};this._pressedLetters=[];this.tabOut=new W.Subject;this.change=new W.Subject;a instanceof Tf&&(this._itemChangesSubscription=a.changes.subscribe(function(c){b._activeItem&&
(c=c.toArray().indexOf(b._activeItem),-1<c&&c!==b._activeItemIndex&&(b._activeItemIndex=c))}))},Jx=function(a,b){a._skipPredicateFn=b;return a},Kx=function(a){a._wrap=!0;return a},Lx=function(a,b){a._vertical=void 0===b?!0:b;return a},Mx=function(a,b){a._horizontal=b;return a},jSb=function(a){a._allowedModifierKeys=["shiftKey"];return a},Nx=function(a,b){b=void 0===b?200:b;a._typeaheadSubscription.unsubscribe();a._typeaheadSubscription=a._letterKeyStream.pipe(ff(function(c){return a._pressedLetters.push(c)}),
Re(b),Ce(function(){return 0<a._pressedLetters.length}),B(function(){return a._pressedLetters.join("")})).subscribe(function(c){for(var d=a._getItemsArray(),e=1;e<d.length+1;e++){var f=(a._activeItemIndex+e)%d.length,h=d[f];if(!a._skipPredicateFn(h)&&0===h.getLabel().toUpperCase().trim().indexOf(c)){a.setActiveItem(f);break}}a._pressedLetters=[]});return a},Ox=function(a){a._homeAndEnd=!0;return a},kSb=function(a){a._pageUpAndDown={enabled:!0,delta:10};return a};
Ix.prototype.setActiveItem=function(a){var b=this._activeItem;Px(this,a);this._activeItem!==b&&this.change.next(this._activeItemIndex)};
Ix.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){lSb(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||Mg(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 lSb=function(a){a._setActiveItemByIndex(a._items.length-1,-1)};Ix.prototype.setNextItemActive=function(){0>this._activeItemIndex?this._setActiveItemByIndex(0,1):this._setActiveItemByDelta(1)};
Ix.prototype.setPreviousItemActive=function(){0>this._activeItemIndex&&this._wrap?lSb(this):this._setActiveItemByDelta(-1)};var Px=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=Ix.prototype;
g.destroy=function(){this._typeaheadSubscription.unsubscribe();var a;null==(a=this._itemChangesSubscription)||a.unsubscribe();this._letterKeyStream.complete();this.tabOut.complete();this.change.complete();this._pressedLetters=[]};g._setActiveItemByDelta=function(a){this._wrap?this._setActiveInWrapMode(a):this._setActiveInDefaultMode(a)};
g._setActiveInWrapMode=function(a){for(var b=this._getItemsArray(),c=1;c<=b.length;c++){var d=(this._activeItemIndex+a*c+b.length)%b.length;if(!this._skipPredicateFn(b[d])){this.setActiveItem(d);break}}};g._setActiveInDefaultMode=function(a){this._setActiveItemByIndex(this._activeItemIndex+a,a)};g._setActiveItemByIndex=function(a,b){var c=this._getItemsArray();if(c[a]){for(;this._skipPredicateFn(c[a]);)if(a+=b,!c[a])return;this.setActiveItem(a)}};
g._getItemsArray=function(){return this._items instanceof Tf?this._items.toArray():this._items};Vg.Object.defineProperties(Ix.prototype,{activeItemIndex:{configurable:!0,enumerable:!0,get:function(){return this._activeItemIndex}},activeItem:{configurable:!0,enumerable:!0,get:function(){return this._activeItem}}});var Qx=function(){Ix.apply(this,arguments)};X(Qx,Ix);Qx.prototype.setActiveItem=function(a){this.activeItem&&this.activeItem.setInactiveStyles();Ix.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.setActiveStyles()};var Rx=function(){Ix.apply(this,arguments);this._origin="program"};X(Rx,Ix);var mSb=function(a,b){a._origin=b;return a};Rx.prototype.setActiveItem=function(a){Ix.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.focus(this._origin)};var Sx=function(){};Sx.prototype.attach=function(a){this._attachedHost=a;return a.attach(this)};Sx.prototype.detach=function(){var a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())};Vg.Object.defineProperties(Sx.prototype,{isAttached:{configurable:!0,enumerable:!0,get:function(){return null!=this._attachedHost}}});var Tx=function(a,b,c,d,e){this.component=a;this.viewContainerRef=b;this.injector=c;this.componentFactoryResolver=d;this.projectableNodes=e};X(Tx,Sx);
var Ux=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.context=c;this.injector=d};X(Ux,Sx);Ux.prototype.attach=function(a,b){this.context=b=void 0===b?this.context:b;return Sx.prototype.attach.call(this,a)};Ux.prototype.detach=function(){this.context=void 0;return Sx.prototype.detach.call(this)};Vg.Object.defineProperties(Ux.prototype,{origin:{configurable:!0,enumerable:!0,get:function(){return this.templateRef.elementRef}}});var Vx=function(){this._isDisposed=!1};g=Vx.prototype;
g.hasAttached=function(){return!!this._attachedPortal};g.attach=function(a){if(a instanceof Tx)return this._attachedPortal=a,this.attachComponentPortal(a);if(a instanceof Ux)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 Wx=function(a,b,c,d,e){this._isDisposed=!1;this.outletElement=a;this._componentFactoryResolver=b;this._appRef=c;this._defaultInjector=d;this._document=e};X(Wx,Vx);
Wx.prototype.attachComponentPortal=function(a){var b=this,c=BQb(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||cPb),SQb(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};Wx.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};
Wx.prototype.dispose=function(){Vx.prototype.dispose.call(this);this.outletElement.remove()};Wx.prototype._getComponentRootNode=function(a){return a.hostView.rootNodes[0]};var Xx=function(a,b){Ux.call(this,a,b)};X(Xx,Ux);Xx.\u0275fac=function(a){return new (a||Xx)(A(Rf),A(Sf))};Xx.\u0275dir=Qc({type:Xx,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[nf]});var Yx=function(a,b,c){this._isDisposed=!1;this._componentFactoryResolver=a;this._viewContainerRef=b;this._isInitialized=!1;this.attached=new zv;this._document=c};X(Yx,Vx);g=Yx.prototype;g.ngOnInit=function(){this._isInitialized=!0};
g.ngOnDestroy=function(){Vx.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=BQb(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]);Vx.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});Vx.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};
Vg.Object.defineProperties(Yx.prototype,{portal:{configurable:!0,enumerable:!0,get:function(){return this._attachedPortal},set:function(a){if(!this.hasAttached()||a||this._isInitialized)this.hasAttached()&&Vx.prototype.detach.call(this),a&&Vx.prototype.attach.call(this,a),this._attachedPortal=a||null}}});Yx.\u0275fac=function(a){return new (a||Yx)(A(Qu),A(Sf),A(Tg))};
Yx.\u0275dir=Qc({type:Yx,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[nf]});var Zx=function(){};Zx.\u0275fac=function(a){return new (a||Zx)};Zx.\u0275mod=Nc({type:Zx});Zx.\u0275inj=wc({});var nSb=new Xc("cdk-dir-doc",{providedIn:"root",factory:toa});var oSb=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,ay=function(a){this.value="ltr";this.change=new zv;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)?oSb.test(navigator.language)?"rtl":"ltr":"rtl"===b?"rtl":"ltr"}};ay.prototype.ngOnDestroy=function(){this.change.complete()};
ay.\u0275fac=function(a){return new (a||ay)(p(nSb,8))};ay.\u0275prov=vc({token:ay,factory:ay.\u0275fac,providedIn:"root"});var by=function(){};by.\u0275fac=function(a){return new (a||by)};by.\u0275mod=Nc({type:by});by.\u0275inj=wc({});var cy=function(a){this._attachedOverlays=[];this._document=a};cy.prototype.ngOnDestroy=function(){this.detach()};cy.prototype.add=function(a){this.remove(a);this._attachedOverlays.push(a)};cy.prototype.remove=function(a){a=this._attachedOverlays.indexOf(a);-1<a&&this._attachedOverlays.splice(a,1);0===this._attachedOverlays.length&&this.detach()};cy.\u0275fac=function(a){return new (a||cy)(p(Tg))};cy.\u0275prov=vc({token:cy,factory:cy.\u0275fac,providedIn:"root"});var dy=function(a,b){cy.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(k){return function(){return k.keydownEvents.next(d)}}(f)):f.keydownEvents.next(d);break}}};X(dy,cy);
dy.prototype.add=function(a){var b=this;cy.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)};dy.prototype.detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)};
dy.\u0275fac=function(a){return new (a||dy)(p(Tg),p(Ge,8))};dy.\u0275prov=vc({token:dy,factory:dy.\u0275fac,providedIn:"root"});var ey=function(a,b,c){cy.call(this,a);var d=this;this._platform=b;this._ngZone=c;this._cursorStyleIsSet=!1;this._pointerDownListener=function(e){d._pointerDownEventTarget=Lg(e)};this._clickListener=function(e){var f=Lg(e),h="click"===e.type&&d._pointerDownEventTarget?d._pointerDownEventTarget:f;d._pointerDownEventTarget=null;for(var k=d._attachedOverlays.slice(),q={},t=k.length-1;-1<t;q={outsidePointerEvents:void 0},t--){var w=k[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(z){return function(){return z.outsidePointerEvents.next(e)}}(q)):q.outsidePointerEvents.next(e)}}}};X(ey,cy);
ey.prototype.add=function(a){var b=this;cy.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}};
ey.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}};
ey.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)};ey.\u0275fac=function(a){return new (a||ey)(p(Tg),p(fx),p(Ge,8))};ey.\u0275prov=vc({token:ey,factory:ey.\u0275fac,providedIn:"root"});var fy=function(a,b){this._platform=b;this._document=a};fy.prototype.ngOnDestroy=function(){var a;null==(a=this._containerElement)||a.remove()};var pSb=function(a){a._containerElement||a._createContainer();return a._containerElement};
fy.prototype._createContainer=function(){if(this._platform.isBrowser||foa())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");foa()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._containerElement=a};
fy.\u0275fac=function(a){return new (a||fy)(p(Tg),p(fx))};fy.\u0275prov=vc({token:fy,factory:fy.\u0275fac,providedIn:"root"});var qSb=aoa(),gy=function(a,b){this._viewportRuler=a;this._previousHTMLStyles={top:"",left:""};this._isEnabled=!1;this._document=b};gy.prototype.attach=function(){};
gy.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=Pg(-this._previousScrollPosition.left);a.style.top=Pg(-this._previousScrollPosition.top);a.classList.add("cdk-global-scrollblock");this._isEnabled=!0}};
gy.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");qSb&&(b.scrollBehavior=c.scrollBehavior="auto");window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top);qSb&&(b.scrollBehavior=d,c.scrollBehavior=e)}};
gy.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 hy=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()})}};hy.prototype.attach=function(a){this._overlayRef=a};
hy.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)}};hy.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};hy.prototype.detach=function(){this.disable();this._overlayRef=null};var iy=function(){};iy.prototype.enable=function(){};iy.prototype.disable=function(){};iy.prototype.attach=function(){};var jy=function(a,b,c,d){this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this._config=d;this._scrollSubscription=null};jy.prototype.attach=function(a){this._overlayRef=a};
jy.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;uoa(b,[{width:d,height:c,bottom:c,right:d,top:0,left:0}])&&(a.disable(),a._ngZone.run(function(){return a._overlayRef.detach()}))}}))};
jy.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};jy.prototype.detach=function(){this.disable();this._overlayRef=null};new Xc("VIRTUAL_SCROLL_STRATEGY");var ky=function(a,b,c){this._ngZone=a;this._platform=b;this._scrolled=new W.Subject;this._globalSubscription=null;this._scrolledCount=0;this.scrollContainers=new Map;this._document=c};ky.prototype.register=function(a){var b=this;this.scrollContainers.has(a)||this.scrollContainers.set(a,a._elementScrolled.subscribe(function(){return b._scrolled.next(a)}))};ky.prototype.deregister=function(a){var b=this.scrollContainers.get(a);b&&(b.unsubscribe(),this.scrollContainers.delete(a))};
ky.prototype.scrolled=function(a){var b=this;a=void 0===a?20:a;return this._platform.isBrowser?new W.Observable(function(c){b._globalSubscription||b._addGlobalListener();var d=0<a?b._scrolled.pipe(Oe(a)).subscribe(c):b._scrolled.subscribe(c);b._scrolledCount++;return function(){d.unsubscribe();b._scrolledCount--;b._scrolledCount||b._removeGlobalListener()}}):(0,W.of)()};
ky.prototype.ngOnDestroy=function(){var a=this;this._removeGlobalListener();this.scrollContainers.forEach(function(b,c){return a.deregister(c)});this._scrolled.complete()};var rSb=function(a,b){var c=[];a.scrollContainers.forEach(function(d,e){a._scrollableContainsElement(e,b)&&c.push(e)});return c};ky.prototype._getWindow=function(){return this._document.defaultView||window};
ky.prototype._scrollableContainsElement=function(a,b){b=Qg(b);a=a.elementRef.nativeElement;do if(b==a)return!0;while(b=b.parentElement);return!1};ky.prototype._addGlobalListener=function(){var a=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return(0,W.fromEvent)(a._getWindow().document,"scroll").subscribe(function(){return a._scrolled.next()})})};
ky.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)};ky.\u0275fac=function(a){return new (a||ky)(p(Ge),p(fx),p(Tg,8))};ky.\u0275prov=vc({token:ky,factory:ky.\u0275fac,providedIn:"root"});var ly=function(a,b,c,d){var e=this;this.elementRef=a;this.scrollDispatcher=b;this.ngZone=c;this.dir=d;this._destroyed=new W.Subject;this._elementScrolled=new W.Observable(function(f){return e.ngZone.runOutsideAngular(function(){return(0,W.fromEvent)(e.elementRef.nativeElement,"scroll").pipe(ef(e._destroyed)).subscribe(f)})})};ly.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)};ly.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this);this._destroyed.next();this._destroyed.complete()};
ly.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!=coa()?(null!=a.left&&(a.right=b.scrollWidth-b.clientWidth-a.left),2==coa()?a.left=a.right:1==coa()&&(a.left=a.right?-a.right:a.right)):null!=a.right&&(a.left=b.scrollWidth-b.clientWidth-a.right);this._applyScrollToOptions(a)};
ly.prototype._applyScrollToOptions=function(a){var b=this.elementRef.nativeElement;aoa()?b.scrollTo(a):(null!=a.top&&(b.scrollTop=a.top),null!=a.left&&(b.scrollLeft=a.left))};ly.\u0275fac=function(a){return new (a||ly)(A(Ad),A(ky),A(Ge),A(ay,8))};ly.\u0275dir=Qc({type:ly,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});var sSb=new Xc("_ViewRepeater");var tSb=function(){},uSb=function(a,b,c,d){BPb(a,function(e,f,h){if(null==e.previousIndex){var k=c(e,f,h);k=b.createEmbeddedView(k.templateRef,k.context,k.index);f=1}else null==h?(b.remove(f),f=3):(k=b.get(f),b.move(k,h),f=2);if(d){var q;d({context:null==(q=k)?void 0:q.context,operation:f,record:e})}})};tSb.prototype.detach=function(){};var my=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 W.Subject;b&&b.length&&(a?b.forEach(function(f){return e._markSelected(f)}):this._markSelected(b[0]),this._selectedToEmit.length=0)};g=my.prototype;
g.select=function(){var a=this;Vc.apply(0,arguments).forEach(function(c){return a._markSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};g.deselect=function(){var a=this;Vc.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=l(b);for(c=b.next();!c.done;c=b.next())if(c=c.value,this.compareWith(a,c))return c}return a};Vg.Object.defineProperties(my.prototype,{selected:{configurable:!0,enumerable:!0,get:function(){this._selected||(this._selected=Array.from(this._selection.values()));return this._selected}}});var ny=function(){this._listeners=[]};ny.prototype.notify=function(a,b){for(var c=l(this._listeners),d=c.next();!d.done;d=c.next())d=d.value,d(a,b)};ny.prototype.listen=function(a){var b=this;this._listeners.push(a);return function(){b._listeners=b._listeners.filter(function(c){return a!==c})}};ny.prototype.ngOnDestroy=function(){this._listeners=[]};ny.\u0275fac=function(a){return new (a||ny)};ny.\u0275prov=vc({token:ny,factory:ny.\u0275fac,providedIn:"root"});var oy=function(a,b,c){var d=this;this._platform=a;this._change=new W.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=oy.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(Oe(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}};oy.\u0275fac=function(a){return new (a||oy)(p(fx),p(Ge),p(Tg,8))};oy.\u0275prov=vc({token:oy,factory:oy.\u0275fac,providedIn:"root"});new Xc("VIRTUAL_SCROLLABLE");var py=function(){};py.\u0275fac=function(a){return new (a||py)};py.\u0275mod=Nc({type:py});py.\u0275inj=wc({});var qy=function(){};qy.\u0275fac=function(a){return new (a||qy)};qy.\u0275mod=Nc({type:qy});qy.\u0275inj=wc({imports:[by,py,by,py]});var ry=function(a,b,c,d){var e=this;this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this.noop=function(){return new iy};this.close=function(f){return new hy(e._scrollDispatcher,e._ngZone,e._viewportRuler,f)};this.block=function(){return new gy(e._viewportRuler,e._document)};this.reposition=function(f){return new jy(e._scrollDispatcher,e._viewportRuler,e._ngZone,f)};this._document=d};ry.\u0275fac=function(a){return new (a||ry)(p(ky),p(oy),p(Ge),p(Tg))};
ry.\u0275prov=vc({token:ry,factory:ry.\u0275fac,providedIn:"root"});var sy=function(a){this.scrollStrategy=new iy;this.panelClass="";this.hasBackdrop=!1;this.backdropClass="cdk-overlay-dark-backdrop";this.disposeOnNavigation=!1;if(a){var b=Object.keys(a);b=l(b);for(var c=b.next();!c.done;c=b.next())c=c.value,void 0!==a[c]&&(this[c]=a[c])}};var ty=function(a,b,c,d,e,f,h,k,q,t){var w=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=k;this._outsideClickDispatcher=q;this._animationsDisabled=t;this._backdropElement=null;this._backdropClick=new W.Subject;this._attachments=new W.Subject;this._detachments=new W.Subject;this._locationChanges=W.Subscription.EMPTY;this._backdropClickHandler=function(z){return w._backdropClick.next(z)};
this._backdropTransitionendHandler=function(z){w._disposeBackdrop(z.target)};this._keydownEvents=new W.Subject;this._outsidePointerEvents=new W.Subject;d.scrollStrategy&&(this._scrollStrategy=d.scrollStrategy,this._scrollStrategy.attach(this));this._positionStrategy=d.positionStrategy};g=ty.prototype;
g.attach=function(a){var b=this;!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);a=this._portalOutlet.attach(a);this._positionStrategy&&this._positionStrategy.attach(this);this._updateStackingOrder();this._updateElementSize();this._updateElementDirection();this._scrollStrategy&&this._scrollStrategy.enable();this._ngZone.onStable.pipe(Ue()).subscribe(function(){b.hasAttached()&&b.updatePosition()});this._togglePointerEvents(!0);this._config.hasBackdrop&&
this._attachBackdrop();this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0);this._attachments.next();this._keyboardDispatcher.add(this);this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(function(){return b.dispose()}));this._outsideClickDispatcher.add(this);if("function"===typeof(null==a?void 0:a.onDestroy))a.onDestroy(function(){b.hasAttached()&&b._ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){return b.detach()})})});
return a};g.detach=function(){if(this.hasAttached()){vSb(this);this._togglePointerEvents(!1);this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach();this._scrollStrategy&&this._scrollStrategy.disable();var a=this._portalOutlet.detach();this._detachments.next();this._keyboardDispatcher.remove(this);this._detachContentWhenStable();this._locationChanges.unsubscribe();this._outsideClickDispatcher.remove(this);return a}};
g.dispose=function(){var a=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose();this._disposeScrollStrategy();this._disposeBackdrop(this._backdropElement);this._locationChanges.unsubscribe();this._keyboardDispatcher.remove(this);this._portalOutlet.dispose();this._attachments.complete();this._backdropClick.complete();this._keydownEvents.complete();this._outsidePointerEvents.complete();this._outsideClickDispatcher.remove(this);var b;null==(b=this._host)||b.remove();this._previousHostParent=
this._pane=this._host=null;a&&this._detachments.next();this._detachments.complete()};g.hasAttached=function(){return this._portalOutlet.hasAttached()};g.backdropClick=function(){return this._backdropClick};g.attachments=function(){return this._attachments};g.keydownEvents=function(){return this._keydownEvents};g.outsidePointerEvents=function(){return this._outsidePointerEvents};g.getConfig=function(){return this._config};g.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()};
var wSb=function(a,b){b!==a._positionStrategy&&(a._positionStrategy&&a._positionStrategy.dispose(),a._positionStrategy=b,a.hasAttached()&&(b.attach(a),a.updatePosition()))};ty.prototype.updateSize=function(a){this._config=Object.assign({},this._config,a);this._updateElementSize()};ty.prototype.setDirection=function(a){this._config=Object.assign({},this._config,{direction:a});this._updateElementDirection()};ty.prototype.addPanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!0)};
ty.prototype.removePanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!1)};var xSb=function(a){return(a=a._config.direction)?"string"===typeof a?a:a.value:"ltr"};g=ty.prototype;g._updateElementDirection=function(){this._host.setAttribute("dir",xSb(this))};
g._updateElementSize=function(){if(this._pane){var a=this._pane.style;a.width=Pg(this._config.width);a.height=Pg(this._config.height);a.minWidth=Pg(this._config.minWidth);a.minHeight=Pg(this._config.minHeight);a.maxWidth=Pg(this._config.maxWidth);a.maxHeight=Pg(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 vSb=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)})))};
ty.prototype._toggleClasses=function(a,b,c){b=Ng(b||[]).filter(function(d){return!!d});b.length&&(c?a.classList.add.apply(a.classList,r(b)):a.classList.remove.apply(a.classList,r(b)))};
ty.prototype._detachContentWhenStable=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._ngZone.onStable.pipe(ef((0,W.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())})})};
ty.prototype._disposeScrollStrategy=function(){var a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())};ty.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)};
Vg.Object.defineProperties(ty.prototype,{overlayElement:{configurable:!0,enumerable:!0,get:function(){return this._pane}},hostElement:{configurable:!0,enumerable:!0,get:function(){return this._host}}});var ySb=function(a,b){this.connectionPair=a;this.scrollableViewProperties=b};var xoa=/([A-Za-z%]+)$/,uy=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 W.Subject;this._resizeSubscription=W.Subscription.EMPTY;this._offsetY=this._offsetX=0;this._appliedPanelClasses=[];this.positionChanges=
this._positionChanges;this.setOrigin(a)};uy.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()})};
uy.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)zSb(this);else{this._clearPanelClasses();this._resetOverlayElementStyles();this._resetBoundingBoxStyles();this._viewportRect=this._getNarrowedViewportRect();this._originRect=this._getOriginRect();this._overlayRect=this._pane.getBoundingClientRect();this._containerRect=pSb(this._overlayContainer).getBoundingClientRect();for(var a=this._originRect,b=this._overlayRect,
c=this._viewportRect,d=this._containerRect,e=[],f,h=l(this._preferredPositions),k=h.next();!k.done;k=h.next()){k=k.value;var q=this._getOriginPoint(a,d,k),t=this._getOverlayPoint(q,b,k),w=this._getOverlayFit(t,b,c,k);if(w.isCompletelyWithinViewport){this._isPushed=!1;this._applyPosition(k,q);return}if(this._canFitWithFlexibleDimensions(w,t,c))e.push({position:k,origin:q,overlayRect:b,boundingBoxRect:this._calculateBoundingBoxRect(q,k)});else if(!f||f.overlayFit.visibleArea<w.visibleArea)f={overlayFit:w,
overlayPoint:t,originPoint:q,position:k,overlayRect:b}}if(e.length){a=null;b=-1;e=l(e);for(c=e.next();!c.done;c=e.next())c=c.value,d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1),d>b&&(b=d,a=c);this._isPushed=!1;this._applyPosition(a.position,a.origin)}else this._canPush&&(this._isPushed=!0),this._applyPosition(f.position,f.originPoint)}};uy.prototype.detach=function(){this._clearPanelClasses();this._previousPushAmount=this._lastPosition=null;this._resizeSubscription.unsubscribe()};
uy.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&Ug(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 zSb=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=pSb(a._overlayContainer).getBoundingClientRect(),a._applyPosition(b,a._getOriginPoint(a._originRect,a._containerRect,b))):a.apply()}},ASb=function(a,b){a._scrollables=b;return a},vy=function(a,b){a._preferredPositions=b;-1===b.indexOf(a._lastPosition)&&(a._lastPosition=null);
return a},wy=function(a,b){a._viewportMargin=b;return a},xy=function(a,b){a._hasFlexibleDimensions=void 0===b?!0:b;return a},BSb=function(a,b){a._growAfterOpen=void 0===b?!0:b;return a},CSb=function(a,b){a._canPush=void 0===b?!0:b;return a},DSb=function(a,b){a._positionLocked=void 0===b?!0:b;return a};uy.prototype.setOrigin=function(a){this._origin=a;return this};var ESb=function(a,b){a._transformOriginSelector=b;return a};g=uy.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=zoa(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=yoa(this._overlayRef.getConfig().minHeight);var e=yoa(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=zoa(b);var d=this._viewportRect,e=Math.max(a.x+b.width-d.width,0),f=Math.max(a.y+b.height-d.height,0),h=Math.max(d.top-c.top-a.y,0),k=Math.max(d.left-c.left-a.x,0);e=b.width<=d.width?k||-e:a.x<this._viewportMargin?d.left-c.left-a.x:0;c=b.height<=d.height?h||-f:a.y<this._viewportMargin?d.top-c.top-a.y:0;this._previousPushAmount={x:e,y:c};
return{x:a.x+e,y:a.y+c}};g._applyPosition=function(a,b){this._setTransformOrigin(a);this._setOverlayElementStyles(b,a);this._setBoundingBoxStyles(b,a);a.panelClass&&this._addPanelClasses(a.panelClass);this._lastPosition=a;this._positionChanges.observers.length&&(b=this._getScrollVisibility(),this._positionChanges.next(new ySb(a,b)));this._isInitialRender=!1};
g._setTransformOrigin=function(a){if(this._transformOriginSelector){var b=this._boundingBox.querySelectorAll(this._transformOriginSelector),c=a.overlayY;a="center"===a.overlayX?"center":this._isRtl()?"start"===a.overlayX?"right":"left":"start"===a.overlayX?"left":"right";for(var d=0;d<b.length;d++)b[d].style.transformOrigin=a+" "+c}};
g._calculateBoundingBoxRect=function(a,b){var c=this._viewportRect,d=this._isRtl();if("top"===b.overlayY){var e=a.y;var f=c.height-e+this._viewportMargin}else if("bottom"===b.overlayY){var h=c.height-a.y+2*this._viewportMargin;f=c.height-h+this._viewportMargin}else{e=Math.min(c.bottom-a.y+c.top,a.y);var k=this._lastBoundingBoxSize.height;f=2*e;e=a.y-e;f>k&&!this._isInitialRender&&!this._growAfterOpen&&(e=a.y-k/2)}k="start"===b.overlayX&&!d||"end"===b.overlayX&&d;if("end"===b.overlayX&&!d||"start"===
b.overlayX&&d){var q=c.width-a.x+this._viewportMargin;b=a.x-this._viewportMargin}else if(k){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=Pg(a.height);c.top=Pg(a.top);c.bottom=Pg(a.bottom);
c.width=Pg(a.width);c.left=Pg(a.left);c.right=Pg(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=Pg(d));e&&(c.maxWidth=Pg(e))}this._lastBoundingBoxSize=a;Ug(this._boundingBox.style,c)};g._resetBoundingBoxStyles=function(){Ug(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})};
g._resetOverlayElementStyles=function(){Ug(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();Ug(c,this._getExactOverlayY(b,a,h));Ug(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=Pg(f.maxHeight):e&&(c.maxHeight=""));f.maxWidth&&
(d?c.maxWidth=Pg(f.maxWidth):e&&(c.maxWidth=""));Ug(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=Pg(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=Pg(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:voa(a,c),isOriginOutsideView:uoa(a,c),isOverlayClipped:voa(b,c),isOverlayOutsideView:uoa(b,c)}};g._subtractOverflows=function(a){return Vc.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"===xSb(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&&Ng(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 Ad)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}};
Vg.Object.defineProperties(uy.prototype,{positions:{configurable:!0,enumerable:!0,get:function(){return this._preferredPositions}}});var FSb=function(){this._cssPosition="static";this._height=this._width=this._xOffset=this._xPosition=this._alignItems=this._bottomOffset=this._topOffset="";this._isDisposed=!1};g=FSb.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 yy=function(a){a.left("");a._xPosition="center";return a},zy=function(a){a.top("");a._alignItems="center";return a};
FSb.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,k="",q="",t="";if(d)t="flex-start";else if("center"===
f)t="center",h?q=c:k=c;else if(h)if("left"===f||"end"===f)t="flex-end",k=c;else{if("right"===f||"start"===f)t="flex-start",q=c}else if("left"===f||"start"===f)t="flex-start",k=c;else if("right"===f||"end"===f)t="flex-end",q=c;a.position=this._cssPosition;a.marginLeft=d?"0":k;a.marginTop=e?"0":this._topOffset;a.marginBottom=this._bottomOffset;a.marginRight=d?"0":q;b.justifyContent=t;b.alignItems=e?"flex-start":this._alignItems}};
FSb.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 Ay=function(a,b,c,d){this._viewportRuler=a;this._document=b;this._platform=c;this._overlayContainer=d};Ay.prototype.global=function(){return new FSb};var By=function(a,b){return new uy(b,a._viewportRuler,a._document,a._platform,a._overlayContainer)};Ay.\u0275fac=function(a){return new (a||Ay)(p(oy),p(Tg),p(fx),p(fy))};Ay.\u0275prov=vc({token:Ay,factory:Ay.\u0275fac,providedIn:"root"});var GSb=0,Cy=function(a,b,c,d,e,f,h,k,q,t,w,z){this.scrollStrategies=a;this._overlayContainer=b;this._componentFactoryResolver=c;this._positionBuilder=d;this._keyboardDispatcher=e;this._injector=f;this._ngZone=h;this._document=k;this._directionality=q;this._location=t;this._outsideClickDispatcher=w;this._animationsModuleType=z};g=Cy.prototype;
g.create=function(a){var b=this._createHostElement(),c=this._createPaneElement(b),d=this._createPortalOutlet(c);a=new sy(a);a.direction=a.direction||this._directionality.value;return new ty(d,b,c,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)};g.position=function(){return this._positionBuilder};
g._createPaneElement=function(a){var b=this._document.createElement("div");b.id="cdk-overlay-"+GSb++;b.classList.add("cdk-overlay-pane");a.appendChild(b);return b};g._createHostElement=function(){var a=this._document.createElement("div");pSb(this._overlayContainer).appendChild(a);return a};g._createPortalOutlet=function(a){this._appRef||(this._appRef=this._injector.get(aw));return new Wx(a,this._componentFactoryResolver,this._appRef,this._injector,this._document)};
Cy.\u0275fac=function(a){return new (a||Cy)(p(ry),p(fy),p(Qu),p(Ay),p(dy),p(He),p(Ge),p(Tg),p(ay),p(Aw),p(ey),p(Su,8))};Cy.\u0275prov=vc({token:Cy,factory:Cy.\u0275fac,providedIn:"root"});var HSb=[{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"}],ISb=new Xc("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:function(){var a=Gc(Cy);return function(){return a.scrollStrategies.reposition()}}}),Dy=function(a){this.elementRef=a};
Dy.\u0275fac=function(a){return new (a||Dy)(A(Ad))};Dy.\u0275dir=Qc({type:Dy,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});
var Ey=function(a,b,c,d,e){this._overlay=a;this._dir=e;this._positionSubscription=this._detachSubscription=this._attachSubscription=this._backdropSubscription=W.Subscription.EMPTY;this._disposeOnNavigation=!1;this.viewportMargin=0;this.push=this.growAfterOpen=this.flexibleDimensions=this.lockPosition=this.hasBackdrop=this.disableClose=this.open=!1;this.backdropClick=new zv;this.positionChange=new zv;this.attach=new zv;this.detach=new zv;this.overlayKeydown=new zv;this.overlayOutsideClick=new zv;this._templatePortal=
new Ux(b,c);this._scrollStrategyFactory=d;this.scrollStrategy=this._scrollStrategyFactory()};g=Ey.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=HSb);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||Mg(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 sy({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 ESb(DSb(wy(BSb(CSb(xy(vy(a.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()),c),this.flexibleDimensions),this.push),this.growAfterOpen),this.viewportMargin),this.lockPosition),this.transformOriginSelector)};
g._createPositionStrategy=function(){var a=By(this._overlay.position(),this._getFlexibleConnectedPositionStrategyOrigin());this._updatePositionStrategy(a);return a};g._getFlexibleConnectedPositionStrategyOrigin=function(){return this.origin instanceof Dy?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(Dka(function(){return 0<
a.positionChange.observers.length})).subscribe(function(b){a.positionChange.emit(b);0===a.positionChange.observers.length&&a._positionSubscription.unsubscribe()}))};g._detachOverlay=function(){this._overlayRef&&this._overlayRef.detach();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe()};
Vg.Object.defineProperties(Ey.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"}}});Ey.\u0275fac=function(a){return new (a||Ey)(A(Cy),A(Rf),A(Sf),A(ISb),A(ay,8))};
Ey.\u0275dir=Qc({type:Ey,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",pg],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",pg],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",pg],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",pg],push:[2,"cdkConnectedOverlayPush","push",pg],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",
pg]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[of,ed]});var JSb={provide:ISb,deps:[Cy],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};var Fy=function(){};Fy.\u0275fac=function(a){return new (a||Fy)};Fy.\u0275mod=Nc({type:Fy});Fy.\u0275inj=wc({providers:[Cy,JSb],imports:[by,Zx,qy,qy]});var KSb=new Xc("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Gy=function(a,b,c){this._sanityChecks=b;this._document=c;this._hasDoneGlobalChecks=!1;a._applyBodyHighContrastModeCssClasses();this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)};Gy.prototype._checkIsEnabled=function(a){return foa()?!1:"boolean"===typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[a]};Gy.\u0275fac=function(a){return new (a||Gy)(p(vx),p(KSb,8),p(Tg))};Gy.\u0275mod=Nc({type:Gy});
Gy.\u0275inj=wc({imports:[by,by]});var Aoa=function(a,b,c,d,e){this._defaultMatcher=a;this.ngControl=b;this._parentFormGroup=c;this._parentForm=d;this._stateChanges=e;this.errorState=!1};Aoa.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 Xc("MAT_DATE_LOCALE",{providedIn:"root",factory:Eoa});var Hy=function(){this.localeChanges=this._localeChanges=new W.Subject},Iy=function(a,b){return b instanceof qn&&a.isValid(b)?b:null},Jy=function(a,b){return null==b||b instanceof qn&&a.isValid(b)?b:a.invalid()};Hy.prototype.setLocale=function(a){this.locale=a;this._localeChanges.next()};var Ky=function(a,b,c){return a.getYear(b)-a.getYear(c)||a.getMonth(b)-a.getMonth(c)||a.getDate(b)-a.getDate(c)};
Hy.prototype.sameDate=function(a,b){if(a&&b){var c=this.isValid(a),d=this.isValid(b);return c&&d?!Ky(this,a,b):c==d}return a==b};var LSb=function(a,b,c,d){return c&&0>Ky(a,b,c)?c:d&&0<Ky(a,b,d)?d:b};var Ly=new Xc("mat-date-formats");var My=function(){};My.prototype.isErrorState=function(a,b){return!!(a&&a.invalid&&(a.touched||b&&b.submitted))};My.\u0275fac=function(a){return new (a||My)};My.\u0275prov=vc({token:My,factory:My.\u0275fac,providedIn:"root"});var Ny=function(){};Ny.\u0275fac=function(a){return new (a||Ny)};
Ny.\u0275cmp=Lc({type:Ny,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(a,b){a&2&&yf("mdc-form-field--align-end","before"===b.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[dg],attrs:["mat-internal-form-field",""],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Lf(),Mf(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 Oy=new Xc("MAT_OPTION_PARENT_COMPONENT");var Py=new Xc("MatOptgroup");var MSb=Hg({passive:!0,capture:!0}),OSb=function(a,b,c,d){var e=NSb,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,MSb)}))};var PSb=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 QSb={enterDuration:225,exitDuration:150},RSb=Hg({passive:!0,capture:!0}),SSb=["mousedown","touchstart"],TSb=["mouseup","mouseleave","touchend","touchcancel"],Qy=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=Qg(c))},USb=function(a,b,c,d){d=void 0===d?{}:d;var e=a._containerRect=a._containerRect||a._containerElement.getBoundingClientRect(),f=Object.assign({},
QSb,d.animation);d.centered&&(b=e.left+e.width/2,c=e.top+e.height/2);var h=d.radius||Foa(b,c,e);b-=e.left;var k=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=k-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 PSb(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 z=function(){return a._finishRippleTransition(t)},F=function(){return a._destroyRipple(t)};q.addEventListener("transitionend",z);q.addEventListener("transitioncancel",F);w={onTransitionEnd:z,onTransitionCancel:F}});a._activeRipples.set(t,w);!e&&c||a._finishRippleTransition(t);
return t},VSb=function(a,b){if(2!==b.state&&3!==b.state){var c=b.element,d=Object.assign({},QSb,b.config.animation);c.style.transitionDuration=d.exitDuration+"ms";c.style.opacity="0";b.state=2;!b._animationForciblyDisabledThroughCss&&d.exitDuration||a._finishRippleTransition(b)}};Qy.prototype.fadeOutAllNonPersistent=function(){this._getActiveRipples().forEach(function(a){a.config.persistent||VSb(a._renderer,a)})};
var WSb=function(a,b){var c=Qg(b);a._platform.isBrowser&&c&&c!==a._triggerElement&&(a._removeTriggerEvents(),a._triggerElement=c,SSb.forEach(function(d){OSb(a._ngZone,d,c,a)}))};g=Qy.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(){TSb.forEach(function(c){b._triggerElement.addEventListener(c,b,RSb)})}),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||VSb(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=ioa(a),c=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||b||c||(this._isPointerDown=!0,USb(this,a.clientX,a.clientY,this._target.rippleConfig))};g._onTouchStart=function(a){if(!this._target.rippleDisabled&&!joa(a)&&(this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0,a=a.changedTouches))for(var b=0;b<a.length;b++)USb(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&&VSb(a._renderer,a)}))};g._getActiveRipples=function(){return Array.from(this._activeRipples.keys())};
g._removeTriggerEvents=function(){var a=this,b=this._triggerElement;b&&(SSb.forEach(function(c){var d=NSb,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,MSb)))}}),this._pointerUpEventsRegistered&&TSb.forEach(function(c){return b.removeEventListener(c,a,RSb)}))};
var NSb=new function(){var a=this;this._events=new Map;this._delegateEventHandler=function(b){var c=Lg(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 Ry=new Xc("mat-ripple-global-options"),Sy=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 Qy(this,b,a,c)};g=Sy.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&&WSb(this._rippleRenderer,this.trigger)};g.launch=function(a,b,c){return"number"===typeof a?USb(this._rippleRenderer,a,void 0===b?0:b,Object.assign({},this.rippleConfig,c)):USb(this._rippleRenderer,0,0,Object.assign({},this.rippleConfig,a))};
Vg.Object.defineProperties(Sy.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}}});Sy.\u0275fac=function(a){return new (a||Sy)(A(Ad),A(Ge),A(fx),A(Ry,8),A(Su,8))};
Sy.\u0275dir=Qc({type:Sy,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(a,b){a&2&&yf("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 Ty=function(a){this._animationMode=a;this.state="unchecked";this.disabled=!1;this.appearance="full"};Ty.\u0275fac=function(a){return new (a||Ty)(A(Su,8))};
Ty.\u0275cmp=Lc({type:Ty,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&yf("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:[dg],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 XSb=["text"],YSb=[[["mat-icon"]],"*"],ZSb=0,$Sb=function(a,b){this.source=a;this.isUserInput=void 0===b?!1:b},Uy=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-"+ZSb++;this.onSelectionChange=new zv;this._stateChanges=new W.Subject};g=Uy.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||Mg(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 $Sb(this,void 0===a?!1:a))};
Vg.Object.defineProperties(Uy.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()}}});Uy.\u0275fac=function(a){return new (a||Uy)(A(Ad),A(Uu),A(Oy,8),A(Py,8))};
Uy.\u0275cmp=Lc({type:Uy,selectors:[["mat-option"]],viewQuery:function(a,b){a&1&&Uf(XSb,7);if(a&2){var c;Yf(c=Zf())&&(b._text=c.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(a,b){a&1&&M("click",function(){return b._selectViaInteraction()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Hf("id",b.id),pf("aria-selected",b.selected)("aria-disabled",b.disabled.toString()),yf("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",pg]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[of,dg],ngContentSelectors:["mat-icon","*"],decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked",
"aria-hidden","true","appearance","minimal",3,"disabled"],["class","cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(a,b){a&1&&(Lf(YSb),C(0,Goa,1,2,"mat-pseudo-checkbox",
0),Mf(1),E(2,"span",1,2),Mf(4,1),G(),C(5,Hoa,1,1,"mat-pseudo-checkbox",3)(6,Ioa,2,1,"span",4),I(7,"div",5));a&2&&(Cf(0,b.multiple?0:-1),y(5),Cf(5,b.multiple||!b.selected||b.hideSingleSelectionIndicator?-1:5),y(),Cf(6,b.group&&b.group._inert?6:-1),y(),D("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disabled||b.disableRipple))},dependencies:[Ty,Sy],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}.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 Vy=function(){};Vy.\u0275fac=function(a){return new (a||Vy)};Vy.\u0275mod=Nc({type:Vy});Vy.\u0275inj=wc({imports:[Gy,Gy]});var Wy=function(){};Wy.\u0275fac=function(a){return new (a||Wy)};Wy.\u0275mod=Nc({type:Wy});Wy.\u0275inj=wc({imports:[Gy]});var Xy=function(){};Xy.\u0275fac=function(a){return new (a||Xy)};Xy.\u0275mod=Nc({type:Xy});Xy.\u0275inj=wc({imports:[Vy,Gy,Wy,Uy]});var aTb={capture:!0},bTb=["focus","click","mouseenter","touchstart"],Yy=function(){var a=this;this._document=Gc(Tg,{optional:!0});this._animationMode=Gc(Su,{optional:!0});this._globalRippleOptions=Gc(Ry,{optional:!0});this._platform=Gc(fx);this._ngZone=Gc(Ge);this._hosts=new Map;this._onInteraction=function(b){b.target instanceof HTMLElement&&(b=b.target.closest("[mat-ripple-loader-uninitialized]"))&&a._createRipple(b)};this._ngZone.runOutsideAngular(function(){for(var b=l(bTb),c=b.next();!c.done;c=
b.next()){c=c.value;var d=void 0;null==(d=a._document)||d.addEventListener(c,a._onInteraction,aTb)}})};Yy.prototype.ngOnDestroy=function(){var a=this._hosts.keys();a=l(a);for(var b=a.next();!b.done;b=a.next())cTb(this,b.value);a=l(bTb);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,aTb)}};
var dTb=function(a,b){a.setAttribute("mat-ripple-loader-uninitialized","");!b.className&&a.hasAttribute("mat-ripple-loader-class-name")||a.setAttribute("mat-ripple-loader-class-name",b.className||"");b.centered&&a.setAttribute("mat-ripple-loader-centered","");b.disabled&&a.setAttribute("mat-ripple-loader-disabled","")},eTb=function(a,b){return a._hosts.get(b)||a._createRipple(b)},fTb=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")};
Yy.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 Sy(new Ad(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");gTb(this,a,b);return b}};var gTb=function(a,b,c){b.removeAttribute("mat-ripple-loader-uninitialized");a._hosts.set(b,c)},cTb=function(a,b){var c=a._hosts.get(b);c&&(c.ngOnDestroy(),a._hosts.delete(b))};Yy.\u0275fac=function(a){return new (a||Yy)};Yy.\u0275prov=vc({token:Yy,factory:Yy.\u0275fac,providedIn:"root"});var hTb=new Xc("MAT_BUTTON_CONFIG"),iTb=[{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"]}],Zy=function(a,b,c,d){this._elementRef=a;this._platform=b;this._ngZone=c;this._animationMode=d;this._focusMonitor=Gc(px);this._rippleLoader=Gc(Yy);this._disabled=this._disableRipple=this._isFab=!1;var e=Gc(hTb,{optional:!0}),f=a.nativeElement,h=f.classList,k;this.disabledInteractive=null!=(k=null==e?void 0:e.disabledInteractive)?k:!1;null==this._rippleLoader||
dTb(f,{className:"mat-mdc-button-ripple"});e=l(iTb);for(k=e.next();!k.done;k=e.next()){k=k.value;var q=k.mdcClasses;f.hasAttribute(k.attribute)&&h.add.apply(h,r(q))}};g=Zy.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);var a;null==(a=this._rippleLoader)||cTb(a,this._elementRef.nativeElement)};
g.focus=function(a,b){(a=void 0===a?"program":a)?qx(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)||fTb(a,this._elementRef.nativeElement,this.disableRipple||this.disabled)};
Vg.Object.defineProperties(Zy.prototype,{ripple:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this._rippleLoader)?void 0:eTb(a,this._elementRef.nativeElement)},set:function(a){var b;null==(b=this._rippleLoader)||gTb(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()}}});Zy.\u0275fac=function(){Hd()};Zy.\u0275dir=Qc({type:Zy,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",pg],disabled:[2,"disabled","disabled",pg],ariaDisabled:[2,"aria-disabled","ariaDisabled",pg],disabledInteractive:[2,"disabledInteractive","disabledInteractive",pg]},features:[of]});var jTb=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],$y=function(a,b,c,d){Zy.call(this,a,b,c,d)};X($y,Zy);$y.\u0275dir=Zy.\u0275dir;$y.\u0275fac=function(a){return new (a||$y)(A(Ad),A(fx),A(Ge),A(Su,8))};
$y.\u0275cmp=Lc({type:$y,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(a,b){a&2&&(pf("disabled",b._getDisabledAttribute())("aria-disabled",b._getAriaDisabled()),zf(b.color?"mat-"+b.color:""),yf("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:[nf,dg],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&&(Lf(jTb),
I(0,"span",0),Mf(1),E(2,"span",1),Mf(3,1),G(),Mf(4,2),I(5,"span",2)(6,"span",3));a&2&&yf("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 Xc("mat-mdc-fab-default-options",{providedIn:"root",factory:Joa});var az=function(a,b,c,d){Zy.call(this,a,b,c,d);dTb(this._elementRef.nativeElement,{centered:!0})};X(az,Zy);az.\u0275dir=Zy.\u0275dir;az.\u0275fac=function(a){return new (a||az)(A(Ad),A(fx),A(Ge),A(Su,8))};
az.\u0275cmp=Lc({type:az,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(a,b){a&2&&(pf("disabled",b._getDisabledAttribute())("aria-disabled",b._getAriaDisabled()),zf(b.color?"mat-"+b.color:""),yf("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:[nf,dg],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&&(Lf(),I(0,"span",0),Mf(1),I(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 bz=function(){};bz.\u0275fac=function(a){return new (a||bz)};bz.\u0275mod=Nc({type:bz});bz.\u0275inj=wc({imports:[Gy,Vy,Gy]});var cz=function(a,b){this.selection=a;this._adapter=b;this.selectionChanged=this._selectionChanged=new W.Subject;this.selection=a};cz.prototype.updateSelection=function(a,b){var c=this.selection;this.selection=a;this._selectionChanged.next({selection:a,source:b,oldValue:c})};cz.prototype.ngOnDestroy=function(){this._selectionChanged.complete()};cz.prototype._isValidDateInstance=function(a){return a instanceof qn&&this._adapter.isValid(a)};cz.\u0275fac=function(){Hd()};cz.\u0275prov=vc({token:cz,factory:cz.\u0275fac});
var dz=function(a){cz.call(this,null,a)};X(dz,cz);dz.prototype.add=function(a){cz.prototype.updateSelection.call(this,a,this)};dz.prototype.isValid=function(){return null!=this.selection&&this._isValidDateInstance(this.selection)};dz.prototype.isComplete=function(){return null!=this.selection};dz.prototype.clone=function(){var a=new dz(this._adapter);a.updateSelection(this.selection,this);return a};dz.\u0275fac=function(a){return new (a||dz)(p(Hy))};dz.\u0275prov=vc({token:dz,factory:dz.\u0275fac});
var kTb={provide:cz,deps:[[new Nu,new Ou,cz],Hy],useFactory:function(a,b){return a||new dz(b)}};new Nu;new Ou;var ez=function(){this.changes=new W.Subject;this.openCalendarLabel="Open calendar";this.closeCalendarLabel="Close calendar"};ez.prototype.formatYearRange=function(a,b){return a+" \u2013 "+b};ez.prototype.formatYearRangeLabel=function(a,b){return a+" to "+b};ez.\u0275fac=function(a){return new (a||ez)};ez.\u0275prov=vc({token:ez,factory:ez.\u0275fac,providedIn:"root"});var lTb=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},mTb=1,nTb=Hg({passive:!1,capture:!0}),fz=Hg({passive:!0,capture:!0}),oTb=Hg({passive:!0}),gz=function(a,b){var c=this;this._elementRef=a;this._ngZone=b;this._platform=Gc(fx);this._focusActiveCellAfterViewChecked=!1;this.numCols=7;this.activeCell=0;this.isRange=!1;this.cellAspectRatio=1;this.previewEnd=this.previewStart=
null;this.selectedValueChange=new zv;this.previewChange=new zv;this.activeDateChange=new zv;this.dragStarted=new zv;this.dragEnded=new zv;this._didDragSinceMouseDown=!1;this._enterHandler=function(d){if(c._skipNextFocus&&"focus"===d.type)c._skipNextFocus=!1;else if(d.target&&c.isRange){var e=c._getCellFromElement(d.target);e&&c._ngZone.run(function(){return c.previewChange.emit({value:e.enabled?e:null,event:d})})}};this._touchmoveHandler=function(d){if(c.isRange){var e=Toa(d),f=e?c._getCellFromElement(e):
null;e!==d.target&&(c._didDragSinceMouseDown=!0);Poa(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=Poa(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=Toa(d))&&c._mouseupHandler({target:d})};this._id="mat-calendar-body-"+mTb++;this._startDateLabelId=this._id+"-start-date";this._endDateLabelId=this._id+"-end-date";b.runOutsideAngular(function(){var d=a.nativeElement;d.addEventListener("touchmove",c._touchmoveHandler,nTb);d.addEventListener("mouseenter",c._enterHandler,fz);d.addEventListener("focus",c._enterHandler,fz);d.addEventListener("mouseleave",c._leaveHandler,fz);d.addEventListener("blur",
c._leaveHandler,fz);d.addEventListener("mousedown",c._mousedownHandler,oTb);d.addEventListener("touchstart",c._mousedownHandler,oTb);c._platform.isBrowser&&(window.addEventListener("mouseup",c._mouseupHandler),window.addEventListener("touchend",c._touchendHandler))})};g=gz.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,nTb);a.removeEventListener("mouseenter",this._enterHandler,fz);a.removeEventListener("focus",this._enterHandler,fz);a.removeEventListener("mouseleave",this._leaveHandler,fz);a.removeEventListener("blur",this._leaveHandler,fz);a.removeEventListener("mousedown",this._mousedownHandler,oTb);a.removeEventListener("touchstart",this._mousedownHandler,oTb);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;this._ngZone.runOutsideAngular(function(){b._ngZone.onStable.pipe(Ue()).subscribe(function(){setTimeout(function(){var c=b._elementRef.nativeElement.querySelector(".mat-calendar-body-active");c&&(a||(b._skipNextFocus=!0),c.focus())})})})};
g._scheduleFocusActiveCellAfterViewChecked=function(){this._focusActiveCellAfterViewChecked=!0};g._isRangeStart=function(a){return Qoa(a,this.startValue,this.endValue)};g._isRangeEnd=function(a){return Roa(a,this.startValue,this.endValue)};g._isInRange=function(a){return Soa(a,this.startValue,this.endValue,this.isRange)};g._isComparisonStart=function(a){return Qoa(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 Roa(a,this.comparisonStart,this.comparisonEnd)};g._isInComparisonRange=function(a){return Soa(a,this.comparisonStart,this.comparisonEnd,this.isRange)};g._isComparisonIdentical=function(a){return this.comparisonStart===this.comparisonEnd&&a===this.comparisonStart};g._isPreviewStart=function(a){return Qoa(a,this.previewStart,this.previewEnd)};g._isPreviewEnd=function(a){return Roa(a,this.previewStart,this.previewEnd)};
g._isInPreview=function(a){return Soa(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=Poa(a);return b&&(a=b.getAttribute("data-mat-row"),b=b.getAttribute("data-mat-col"),a&&b)?this.rows[parseInt(a)][parseInt(b)]:null};
gz.\u0275fac=function(a){return new (a||gz)(A(Ad),A(Ge))};
gz.\u0275cmp=Lc({type:gz,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:[ed,dg],attrs:["mat-calendar-body",""],decls:7,vars:5,consts:[["aria-hidden","true"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom"],
["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"]],template:function(a,b){a&1&&(C(0,Koa,3,6,"tr",0),Ef(1,Noa,4,1,"tr",3,Df),E(3,"label",1),R(4),G(),E(5,"label",1),R(6),G());a&2&&(Cf(0,b._firstRowOffset<
b.labelMinRequiredCells?0:-1),y(),Ff(b.rows),y(2),D("id",b._startDateLabelId),y(),S(" ",b.startDateAccessibleName,"\n"),y(),D("id",b._endDateLabelId),y(),S(" ",b.endDateAccessibleName,"\n"))},dependencies:[gw],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:left;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}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],
encapsulation:2,changeDetection:0});var pTb=new Xc("MAT_DATE_RANGE_SELECTION_STRATEGY");new Nu;new Ou;var hz=function(a,b,c,d,e){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rangeStrategy=e;this._rerenderSubscription=W.Subscription.EMPTY;this.activeDrag=null;this.selectedChange=new zv;this._userSelection=new zv;this.dragStarted=new zv;this.dragEnded=new zv;this.activeDateChange=new zv;this._activeDate=new qn};g=hz.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(cf(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);Ky(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=iz(this._activeDate,c?1:-1);break;case 39:this.activeDate=iz(this._activeDate,c?-1:1);break;case 38:this.activeDate=iz(this._activeDate,-7);break;case 40:this.activeDate=iz(this._activeDate,7);break;case 36:this.activeDate=iz(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=iz(this._activeDate,qTb(this._activeDate)-this._dateAdapter.getDate(this._activeDate));
break;case 33:this.activeDate=a.altKey?jz(this._activeDate,-1):kz(this._activeDate,-1);break;case 34:this.activeDate=a.altKey?jz(this._activeDate,1):kz(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0;this._canSelect(this._activeDate)&&a.preventDefault();return;case 27:null==this._previewEnd||Mg(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}Ky(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 qn);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+lz(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 lz(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a)};
g._initWeekdays=function(){var a=this._dateAdapter.getFirstDayOfWeek(),b=rTb(this._dateAdapter,"narrow"),c=rTb(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=qTb(this.activeDate),b=sTb;this._weeks=[[]];for(var c=0,d=this._firstWeekOffset;c<a;c++,d++){7==d&&(this._weeks.push([]),d=0);var e=lz(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),k=this.dateClass?this.dateClass(e,"month"):void 0;this._weeks[this._weeks.length-1].push(new lTb(c+1,b[c],h,f,k,this._getCellCompareValue(e),
e))}};g._shouldEnableDate=function(a){return!!a&&(!this.minDate||0<=Ky(this._dateAdapter,a,this.minDate))&&(!this.maxDate||0>=Ky(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};
Vg.Object.defineProperties(hz.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Iy(this._dateAdapter,Jy(this._dateAdapter,a))||new qn;this._activeDate=LSb(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=Iy(this._dateAdapter,Jy(this._dateAdapter,a));
this._setRanges(this._selected)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Iy(this._dateAdapter,Jy(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Iy(this._dateAdapter,Jy(this._dateAdapter,a))}}});hz.\u0275fac=function(a){return new (a||hz)(A(Uu),A(Ly,8),A(Hy,8),A(ay,8),A(pTb,8))};
hz.\u0275cmp=Lc({type:hz,selectors:[["mat-month-view"]],viewQuery:function(a,b){a&1&&Uf(gz,5);if(a&2){var c;Yf(c=Zf())&&(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:[ed,dg],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells",
"activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(a,b){a&1&&(E(0,"table",0)(1,"thead",1)(2,"tr"),Ef(3,Uoa,5,2,"th",4,Df),G(),E(5,"tr"),I(6,"th",2),G()(),E(7,"tbody",3),M("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)}),G()());a&2&&(y(3),Ff(b._weekdays),y(4),D("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:[gz],encapsulation:2,changeDetection:0});var mz=function(a,b,c){this._changeDetectorRef=a;this._dateAdapter=b;this._dir=c;this._rerenderSubscription=W.Subscription.EMPTY;this.selectedChange=new zv;this.yearSelected=new zv;this.activeDateChange=new zv;this._activeDate=new qn};g=mz.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(cf(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._init=function(){var a=this;this._todayYear=this._dateAdapter.getYear(new qn);var b=this._dateAdapter.getYear(this._activeDate)-$g(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=lz(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);Ky(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=jz(this._activeDate,c?1:-1);break;case 39:this.activeDate=jz(this._activeDate,c?-1:1);break;case 38:this.activeDate=jz(this._activeDate,-4);break;case 40:this.activeDate=jz(this._activeDate,4);break;case 36:this.activeDate=jz(this._activeDate,-$g(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=jz(this._activeDate,24-$g(this._dateAdapter,
this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=jz(this._activeDate,a.altKey?-240:-24);break;case 34:this.activeDate=jz(this._activeDate,a.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}Ky(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 $g(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=lz(a,b,1);c=qTb(c);return lz(a,b,Math.min(this._dateAdapter.getDate(this.activeDate),c))};g._createCellForYear=function(a){var b=lz(a,0,1),c=""+b.getFullYear();b=this.dateClass?this.dateClass(b,"multi-year"):void 0;return new lTb(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=lz(a,0,1);this._dateAdapter.getYear(b)==a;b=iz(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))};
Vg.Object.defineProperties(mz.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Iy(this._dateAdapter,Jy(this._dateAdapter,a))||new qn;this._activeDate=LSb(this._dateAdapter,a,this.minDate,this.maxDate);Woa(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=Iy(this._dateAdapter,Jy(this._dateAdapter,
a));this._setSelectedYear(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Iy(this._dateAdapter,Jy(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Iy(this._dateAdapter,Jy(this._dateAdapter,a))}}});mz.\u0275fac=function(a){return new (a||mz)(A(Uu),A(Hy,8),A(ay,8))};
mz.\u0275cmp=Lc({type:mz,selectors:[["mat-multi-year-view"]],viewQuery:function(a,b){a&1&&Uf(gz,5);if(a&2){var c;Yf(c=Zf())&&(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:[dg],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],
["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(a,b){a&1&&(E(0,"table",0)(1,"thead",1)(2,"tr"),I(3,"th",2),G()(),E(4,"tbody",3),M("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)}),G()());a&2&&(y(4),D("rows",b._years)("todayValue",b._todayYear)("startValue",b._selectedYear)("endValue",b._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._getActiveCell()))},dependencies:[gz],encapsulation:2,changeDetection:0});var nz=function(a,b,c,d){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rerenderSubscription=W.Subscription.EMPTY;this.selectedChange=new zv;this.monthSelected=new zv;this.activeDateChange=new zv;this._activeDate=new qn};g=nz.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(cf(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._monthSelected=function(a){a=a.value;var b=lz(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);Ky(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=kz(this._activeDate,c?1:-1);break;case 39:this.activeDate=kz(this._activeDate,c?-1:1);break;case 38:this.activeDate=kz(this._activeDate,-4);break;case 40:this.activeDate=kz(this._activeDate,4);break;case 36:this.activeDate=kz(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=kz(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));
break;case 33:this.activeDate=jz(this._activeDate,a.altKey?-10:-1);break;case 34:this.activeDate=jz(this._activeDate,a.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}Ky(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 qn);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=lz(this._dateAdapter.getYear(this.activeDate),a,1);b=qTb(b);return lz(this._dateAdapter.getYear(this.activeDate),a,Math.min(this._dateAdapter.getDate(this.activeDate),b))};
g._createCellForMonth=function(a,b){var c=lz(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 lTb(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=lz(b,a,1);this._dateAdapter.getMonth(b)==a;b=iz(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)};
Vg.Object.defineProperties(nz.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Iy(this._dateAdapter,Jy(this._dateAdapter,a))||new qn;this._activeDate=LSb(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=Iy(this._dateAdapter,
Jy(this._dateAdapter,a));this._setSelectedMonth(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Iy(this._dateAdapter,Jy(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Iy(this._dateAdapter,Jy(this._dateAdapter,a))}}});nz.\u0275fac=function(a){return new (a||nz)(A(Uu),A(Ly,8),A(Hy,8),A(ay,8))};
nz.\u0275cmp=Lc({type:nz,selectors:[["mat-year-view"]],viewQuery:function(a,b){a&1&&Uf(gz,5);if(a&2){var c;Yf(c=Zf())&&(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:[dg],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],
["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(a,b){a&1&&(E(0,"table",0)(1,"thead",1)(2,"tr"),I(3,"th",2),G()(),E(4,"tbody",3),M("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)}),G()());a&2&&(y(4),D("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:[gz],encapsulation:2,changeDetection:0});var tTb=1,oz=function(a,b,c,d,e){this._intl=a;this.calendar=b;this._dateAdapter=c;this._dateFormats=d;this._id="mat-calendar-header-"+tTb++;this._periodButtonLabelId=this._id+"-period-label";this.calendar.stateChanges.subscribe(function(){return e.markForCheck()})};
oz.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):Woa(this._dateAdapter,a,b,this.calendar.minDate,this.calendar.maxDate)};
oz.prototype._formatMinAndMaxYearLabels=function(){var a=this._dateAdapter.getYear(this.calendar.activeDate)-$g(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),b=a+24-1;a=""+lz(a,0,1).getFullYear();b=""+lz(b,0,1).getFullYear();return[a,b]};
Vg.Object.defineProperties(oz.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,r(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,r(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]}}});oz.\u0275fac=function(a){return new (a||oz)(A(ez),A(Cc(function(){return pz})),A(Hy,8),A(Ly,8),A(Uu))};
oz.\u0275cmp=Lc({type:oz,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[dg],ngContentSelectors:["*"],decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button",
"","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(a,b){a&1&&(Lf(),E(0,"div",0)(1,"div",1)(2,"button",2),M("click",function(){b.calendar.currentView="month"==b.calendar.currentView?"multi-year":"month"}),E(3,"span",3),R(4),G(),qd(),E(5,"svg",4),I(6,"polygon",5),G()(),rd(),I(7,"div",6),Mf(8),E(9,"button",7),M("click",function(){b.calendar.activeDate=
"month"==b.calendar.currentView?kz(b.calendar.activeDate,-1):jz(b.calendar.activeDate,"year"==b.calendar.currentView?-1:-24)}),G(),E(10,"button",8),M("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?kz(b.calendar.activeDate,1):jz(b.calendar.activeDate,"year"==b.calendar.currentView?1:24)}),G()()(),E(11,"label",9),R(12),G());a&2&&(y(2),pf("aria-label",b.periodButtonLabel)("aria-describedby",b._periodButtonLabelId),y(2),$f(b.periodButtonText),y(),yf("mat-calendar-invert","month"!==
b.calendar.currentView),y(4),D("disabled",!(b.calendar.minDate?!b.calendar.minDate||!b._isSameView(b.calendar.activeDate,b.calendar.minDate):1)),pf("aria-label",b.prevButtonLabel),y(),D("disabled",!(!b.calendar.maxDate||!b._isSameView(b.calendar.activeDate,b.calendar.maxDate))),pf("aria-label",b.nextButtonLabel),y(),D("id",b._periodButtonLabelId),y(),$f(b.periodButtonDescription))},dependencies:[$y,az],encapsulation:2,changeDetection:0});
var pz=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 zv;this.yearSelected=new zv;this.monthSelected=new zv;this.viewChanged=new zv(!0);this._userSelection=new zv;this._userDragDrop=new zv;this._activeDrag=null;this.stateChanges=new W.Subject;this._intlChanges=a.changes.subscribe(function(){d.markForCheck();e.stateChanges.next()})};g=pz.prototype;
g.ngAfterContentInit=function(){this._calendarHeaderPortal=new Tx(this.headerComponent||oz);this.activeDate=this.startAt||new qn;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};
Vg.Object.defineProperties(pz.prototype,{startAt:{configurable:!0,enumerable:!0,get:function(){return this._startAt},set:function(a){this._startAt=Iy(this._dateAdapter,Jy(this._dateAdapter,a))}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=Iy(this._dateAdapter,Jy(this._dateAdapter,a))}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Iy(this._dateAdapter,Jy(this._dateAdapter,a))}},
maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Iy(this._dateAdapter,Jy(this._dateAdapter,a))}},activeDate:{configurable:!0,enumerable:!0,get:function(){return this._clampedActiveDate},set:function(a){this._clampedActiveDate=LSb(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)}}});pz.\u0275fac=function(a){return new (a||pz)(A(ez),A(Hy,8),A(Ly,8),A(Uu))};
pz.\u0275cmp=Lc({type:pz,selectors:[["mat-calendar"]],viewQuery:function(a,b){a&1&&(Uf(hz,5),Uf(nz,5),Uf(mz,5));if(a&2){var c;Yf(c=Zf())&&(b.monthView=c.first);Yf(c=Zf())&&(b.yearView=c.first);Yf(c=Zf())&&(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:[bg([kTb]),ed,dg],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","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(a,b){a&1&&(C(0,Xoa,0,0,"ng-template",0),E(1,
"div",1),C(2,Yoa,1,11)(3,Zoa,1,6)(4,$oa,1,6),G());if(a&2){var c;D("cdkPortalOutlet",b._calendarHeaderPortal);y(2);Cf(2,"month"===(c=b.currentView)?2:"year"===c?3:"multi-year"===c?4:-1)}},dependencies:[Yx,rx,hz,nz,mz],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)}.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:""}.mat-calendar-hidden-label{display:none}\n'],
encapsulation:2,changeDetection:0});var uTb={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},qz=uTb;qz=uTb;var vTb=RegExp("^((?:[-+]\\d*)?\\d{4})(?:(?:-?(\\d{2})(?:-?(\\d{2}))?)|(?:-?(\\d{3}))|(?:-?W(\\d{2})(?:-?([1-7]))?))?$"),wTb=/^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/,xTb=/Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/,yTb=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},zTb=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)},rz=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=rz.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 rz(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 Yh=function(a,b,c){"number"===typeof a?(this.date=ATb(a,b||0,c||1),BTb(this,c||1)):za(a)?(this.date=ATb(a.getFullYear(),a.getMonth(),a.getDate()),BTb(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),BTb(this,a))},ATb=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};g=Yh.prototype;g.firstDayOfWeek_=qz.FIRSTDAYOFWEEK;
g.firstWeekCutOffDay_=qz.FIRSTWEEKCUTOFFDAY;g.clone=function(){var a=new Yh(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 qTb=function(a){return yTb(a.getFullYear(),a.getMonth())};g=Yh.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(yTb(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()),BTb(this,a.getDate()))};
g.toIsoString=function(a){var b=this.getFullYear(),c=0>b?"-":1E4<=b?"+":"";return[c+Ku(Math.abs(b),c?6:4),Ku(this.getMonth()+1,2),Ku(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 BTb=function(a,b){a.getDate()!=b&&(b=a.getDate()<b?1:-1,a.date.setUTCHours(a.date.getUTCHours()+b))};Yh.prototype.valueOf=function(){return this.date.valueOf()};
var qn=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())};Et(qn,Yh);g=qn.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){Yh.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=Yh.prototype.toIsoString.call(this,a);return a?b+"T"+Ku(this.getHours(),2)+":"+Ku(this.getMinutes(),2)+":"+Ku(this.getSeconds(),2):b+"T"+Ku(this.getHours(),2)+Ku(this.getMinutes(),2)+Ku(this.getSeconds(),2)};g.equals=function(a){return this.getTime()==a.getTime()};g.toString=function(){return this.toIsoString()};g.clone=function(){var a=new qn(this.date);a.firstDayOfWeek_=this.getFirstDayOfWeek();a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};var CTb=function(){},ti=function(a){if("number"==typeof a){var b=new CTb;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(":",Ku(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=DTb(a);b.tzNames_=[c,c];b.tzNamesExt_={STD_LONG_NAME_GMT:a,STD_GENERIC_LOCATION:a};b.transitions_=[];return b}b=new CTb;
b.timeZoneId_=a.id;b.standardOffset_=-a.std_offset;b.tzNames_=a.names;b.tzNamesExt_=a.names_ext;b.transitions_=a.transitions;return b},DTb=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Ku(Math.floor(a/60)%100,2),":",Ku(a%60,2));return b.join("")},ETb=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]},FTb=function(a,
b){a=a.standardOffset_-ETb(a,b);return-1440===a?0:a};var sz=function(a){this.patternParts_=[];this.dateTimeSymbols_=qz;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)},GTb=[/^'(?:[^']|'')*('|$)/,/^(?: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]+/],tz=function(a){return a.getHours?a.getHours():0};
sz.prototype.applyPattern_=function(a){for(HTb&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<GTb.length;++c){var d=a.match(GTb[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("Wa`"+a);}};
sz.prototype.format=function(a,b){if(!a)throw Error("Xa");var c=b?6E4*(a.getTimezoneOffset()-FTb(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(ITb(this,h,a,d,e,b)):c.push(h)}return c.join("")};
sz.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 uz=function(a,b){return JTb(b,a.dateTimeSymbols_)},HTb=!1,JTb=function(a,b){a=String(a);b=b||qz;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("")},vz=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("Ya");},KTb=function(a,b){vz(b);b=tz(b);return a.dateTimeSymbols_.AMPMS[12<=b&&24>b?1:0]},ITb=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),uz(a,Ku(c,h));case "Y":return c=d.getFullYear(),e=d.getMonth(),d=d.getDate(),c=zTb(c,e,d,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),c=(new Date(c)).getFullYear(),0>c&&(c=-c),2==h&&(c%=100),uz(a,Ku(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=uz(a,Ku(c+1,h))}return h;case "k":return vz(e),c=tz(e)||24,uz(a,Ku(c,h));case "S":return uz(a,(e.getMilliseconds()/1E3).toFixed(Math.min(3,h)).slice(2)+(3<h?Ku(0,h-3):""));case "E":return c=d.getDay(),4<=h?a.dateTimeSymbols_.WEEKDAYS[c]:a.dateTimeSymbols_.SHORTWEEKDAYS[c];case "a":return KTb(a,e);case "b":return KTb(a,e);case "B":return KTb(a,e);case "h":return vz(e),c=tz(e)%12||12,uz(a,Ku(c,h));case "K":return vz(e),c=tz(e)%12,
uz(a,Ku(c,h));case "H":return vz(e),c=tz(e),uz(a,Ku(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=uz(a,Ku(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=uz(a,Ku(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 uz(a,Ku(d.getDate(),h));case "m":return vz(e),uz(a,Ku(e.getMinutes?e.getMinutes():0,h));case "s":return vz(e),uz(a,Ku(e.getSeconds(),h));case "v":return(f||ti(c.getTimezoneOffset())).timeZoneId_;case "V":return a=f||ti(c.getTimezoneOffset()),2>=h?a.timeZoneId_:0<ETb(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=zTb(c,d,e,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),uz(a,Ku(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,h));case "z":return a=f||ti(c.getTimezoneOffset()),4>h?a.tzNames_[0<ETb(a,c)?2:0]:a.tzNames_[0<ETb(a,c)?
3:1];case "Z":return d=f||ti(c.getTimezoneOffset()),4>h?(h=-FTb(d,c),a=[0>h?"-":"+"],h=Math.abs(h),a.push(Ku(Math.floor(h/60)%100,2),Ku(h%60,2)),h=a.join("")):h=uz(a,DTb(FTb(d,c))),h;default:return""}};var LTb=function(){};X(LTb,rRb);var wz=function(){};X(wz,LTb);var MTb=function(a,b,c){a.addEventListener(b,c);return function(){a.removeEventListener(b,c)}};wz.prototype.dispatchEvent=function(a,b){a.dispatchEvent(b)};wz.prototype.remove=function(a){a.parentNode&&a.parentNode.removeChild(a)};wz.prototype.createElement=function(a,b){b=b||document;return b.createElement(a)};var tRb=function(a,b){return"window"===b?window:"document"===b?a:"body"===b?a.body:null};
wz.prototype.getBaseHref=function(){var a=(NTb=NTb||document.querySelector("base"))?NTb.getAttribute("href"):null;return null==a?null:(new URL(a,document.baseURI)).pathname};var NTb=null;var OTb=function(){},IQb=function(a){Ld.getAngularTestability=function(b,c){b=a.findTestabilityInTree(b,void 0===c?!0:c);if(null==b)throw new Ac(5103,!1);return b};Ld.getAllAngularTestabilities=function(){return Array.from(a._applications.values())};Ld.getAllAngularRootElements=function(){return Array.from(a._applications.keys())};Ld.frameworkStabilizers||(Ld.frameworkStabilizers=[]);Ld.frameworkStabilizers.push(function(b){var c=Ld.getAllAngularTestabilities(),d=c.length,e=function(){d--;0==d&&b()};
c.forEach(function(f){f.whenStable(e)})})};OTb.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 xz=function(){};xz.prototype.build=function(){return new XMLHttpRequest};xz.\u0275fac=function(a){return new (a||xz)};xz.\u0275prov=vc({token:xz,factory:xz.\u0275fac});var PTb=new Xc(""),yz=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()};yz.prototype.addEventListener=function(a,b,c){return this._findPluginFor(b).addEventListener(a,b,c)};yz.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 Ac(5101,!1);this._eventNameToPlugin.set(a,b);return b};
yz.\u0275fac=function(a){return new (a||yz)(p(PTb),p(Ge))};yz.\u0275prov=vc({token:yz,factory:yz.\u0275fac});var QTb=function(a){this._doc=a};var zz=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=RTb(this);this.platformIsServer="server"===d;STb(this)},VTb=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,1===TTb(a,c,1))for(var d=a,e=l(d.hostNodes),f=e.next();!f.done;f=e.next())UTb(d,f.value,c)};
zz.prototype.ngOnDestroy=function(){var a=this.styleNodesInDOM;a&&(a.forEach(function(c){return c.remove()}),a.clear());a=l(this.styleRef.keys());for(var b=a.next();!b.done;b=a.next())WTb(this,b.value);STb(this)};
var WTb=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)},RTb=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},TTb=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},UTb=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})},STb=function(a){var b=a.hostNodes;b.clear();b.add(a.doc.head)};
zz.\u0275fac=function(a){return new (a||zz)(p(Tg),p(ePb),p(fPb,8),p(Ie))};zz.\u0275prov=vc({token:zz,factory:zz.\u0275fac});var XTb={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/"},apa=/%COMP%/g,YTb=new Xc("",{providedIn:"root",factory:function(){return!0}}),Bz=function(a,b,c,d,e,f,h,k){this.eventManager=a;this.sharedStylesHost=b;this.appId=c;this.removeStylesOnCompDestroy=d;this.doc=e;this.ngZone=h;this.nonce=void 0===k?null:k;this.rendererByCompId=
new Map;this.platformIsServer="server"===f;this.defaultRenderer=new Az(a,e,h,this.platformIsServer)};
Bz.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,k=this.removeStylesOnCompDestroy,q=this.platformIsServer;switch(b.encapsulation){case 0:d=new ZTb(f,h,b,this.appId,k,d,e,q);break;case 3:b=new $Tb(f,h,a,b,d,e,this.nonce,q);break a;default:d=new Cz(f,h,b,k,d,e,
q)}c.set(b.id,d)}b=d}b instanceof ZTb?(VTb(b.sharedStylesHost,b.styles),b.setAttribute(a,b.hostAttr,"")):b instanceof Cz&&VTb(b.sharedStylesHost,b.styles);return b};Bz.prototype.ngOnDestroy=function(){this.rendererByCompId.clear()};Bz.\u0275fac=function(a){return new (a||Bz)(p(yz),p(zz),p(ePb),p(YTb),p(Tg),p(Ie),p(Ge),p(fPb))};Bz.\u0275prov=vc({token:Bz,factory:Bz.\u0275fac});
var Az=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=Az.prototype;g.destroy=function(){};g.createElement=function(a,b){return b?this.doc.createElementNS(XTb[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 Ac(-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=XTb[d])?a.setAttributeNS(d,b,c):a.setAttribute(b,c)):a.setAttribute(b,c)};g.removeAttribute=function(a,b,c){if(c){var d=XTb[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=tRb(this.doc,a),!a))throw Error("Za`"+a+"`"+b);return this.eventManager.addEventListener(a,b,aUb(this,c))};
var aUb=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()}},$Tb=function(a,b,c,d,e,f,h,k){Az.call(this,a,e,f,k);this.sharedStylesHost=b;this.hostEl=c;this.shadowRoot=c.attachShadow({mode:"open"});a=this.sharedStylesHost;b=this.shadowRoot;a.hostNodes.add(b);c=l(a.styleRef.keys());for(e=c.next();!e.done;e=c.next())UTb(a,b,e.value);d=bpa(d.id,d.styles);d=l(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)};X($Tb,Az);var Dz=function(a,b){return b===a.hostEl?a.shadowRoot:b};g=$Tb.prototype;g.appendChild=function(a,b){return Az.prototype.appendChild.call(this,Dz(this,a),b)};g.insertBefore=function(a,b,c){return Az.prototype.insertBefore.call(this,Dz(this,a),b,c)};g.removeChild=function(a,b){return Az.prototype.removeChild.call(this,Dz(this,a),b)};
g.parentNode=function(a){return Dz(this,Az.prototype.parentNode.call(this,Dz(this,a)))};g.destroy=function(){this.sharedStylesHost.hostNodes.delete(this.shadowRoot)};var Cz=function(a,b,c,d,e,f,h,k){Az.call(this,a,e,f,h);this.sharedStylesHost=b;this.removeStylesOnCompDestroy=d;this.styles=k?bpa(k,c.styles):c.styles};X(Cz,Az);
Cz.prototype.destroy=function(){if(this.removeStylesOnCompDestroy)for(var a=this.sharedStylesHost,b=l(this.styles),c=b.next();!c.done;c=b.next())c=c.value,0>=TTb(a,c,-1)&&WTb(a,c)};var ZTb=function(a,b,c,d,e,f,h,k){d=d+"-"+c.id;Cz.call(this,a,b,c,e,f,h,k,d);this.contentAttr="_ngcontent-%COMP%".replace(apa,d);this.hostAttr="_nghost-%COMP%".replace(apa,d)};X(ZTb,Cz);
ZTb.prototype.createElement=function(a,b){a=Cz.prototype.createElement.call(this,a,b);Cz.prototype.setAttribute.call(this,a,this.contentAttr,"");return a};var Ez=function(a){this._doc=a};X(Ez,QTb);Ez.prototype.supports=function(){return!0};Ez.prototype.addEventListener=function(a,b,c){var d=this;a.addEventListener(b,c,!1);return function(){return d.removeEventListener(a,b,c)}};Ez.prototype.removeEventListener=function(a,b,c){return a.removeEventListener(b,c)};Ez.\u0275fac=function(a){return new (a||Ez)(p(Tg))};Ez.\u0275prov=vc({token:Ez,factory:Ez.\u0275fac});var bUb=["alt","control","meta","shift"],cUb={"\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"},dUb={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},Fz=function(a){this._doc=a};X(Fz,QTb);Fz.prototype.supports=function(a){return null!=eUb(a)};
Fz.prototype.addEventListener=function(a,b,c){var d=eUb(b),e=fUb(d.fullKey,c,this.manager._zone);return this.manager._zone.runOutsideAngular(function(){return MTb(a,d.domEventName,e)})};
var eUb=function(a){var b=a.toLowerCase().split(".");a=b.shift();if(0===b.length||"keydown"!==a&&"keyup"!==a)return null;var c=gUb(b.pop()),d="",e=b.indexOf("code");-1<e&&(b.splice(e,1),d="code.");bUb.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},hUb=function(a,b){var c=cUb[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");bUb.forEach(function(e){e!==c&&(0,dUb[e])(a)&&(d+=e+".")});d+=c;return d===b},fUb=function(a,b,c){return function(d){hUb(d,a)&&c.runGuarded(function(){return b(d)})}},gUb=function(a){return"esc"===a?"escape":a};Fz.\u0275fac=function(a){return new (a||Fz)(p(Tg))};Fz.\u0275prov=vc({token:Fz,factory:Fz.\u0275fac});var aRb=wma(cRb,"browser",[{provide:Ie,useValue:"browser"},{provide:zma,useValue:function(){var a=new wz;null!=qRb||(qRb=a)},multi:!0},{provide:Tg,useFactory:function(){return Kga=document},deps:[]}]),iUb=new Xc(""),jUb=[{provide:GQb,useClass:OTb,deps:[]},{provide:FQb,useClass:Fv,deps:[Ge,Gv,GQb]},{provide:Fv,useClass:Fv,deps:[Ge,Gv,GQb]}],kUb=[{provide:xma,useValue:"root"},{provide:Ud,useFactory:function(){return new Ud},deps:[]},{provide:PTb,useClass:Ez,multi:!0,deps:[Tg,Ge,Ie]},{provide:PTb,useClass:Fz,
multi:!0,deps:[Tg]},Bz,zz,yz,{provide:jPb,useExisting:Bz},{provide:zRb,useClass:xz,deps:[]},[]],Gz=function(){};Gz.\u0275fac=function(a){return new (a||Gz)(p(iUb,12))};Gz.\u0275mod=Nc({type:Gz});Gz.\u0275inj=wc({providers:[].concat(r(kUb),r(jUb)),imports:[uw,bw]});var Hz=function(a){this._doc=a};Hz.prototype.getTitle=function(){return this._doc.title};Hz.prototype.setTitle=function(a){this._doc.title=a||""};Hz.\u0275fac=function(a){return new (a||Hz)(p(Tg))};Hz.\u0275prov=vc({token:Hz,factory:Hz.\u0275fac,providedIn:"root"});new Xc("HammerGestureConfig");new Xc("HammerLoader");var lUb=function(){},mUb=function(){};var Iz=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();nUb(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){oUb(b,d,c)})):this.lazyInit=function(){b.headers=new Map;Object.entries(a).forEach(function(c){var d=
l(c);c=d.next().value;d=d.next().value;oUb(b,c,d)})}:this.headers=new Map};g=Iz.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 nUb=function(a,b,c){a.normalizedNames.has(c)||a.normalizedNames.set(c,b)};Iz.prototype.init=function(){var a=this;this.lazyInit&&(this.lazyInit instanceof Iz?pUb(this,this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(b){return qUb(a,b)}),this.lazyUpdate=null))};
var pUb=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))})};Iz.prototype.clone=function(a){var b=new Iz;b.lazyInit=this.lazyInit&&this.lazyInit instanceof Iz?this.lazyInit:this;b.lazyUpdate=(this.lazyUpdate||[]).concat([a]);return b};
var qUb=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;nUb(a,b.name,c);b=("a"===b.op?a.headers.get(c):void 0)||[];b.push.apply(b,r(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)}},oUb=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);nUb(a,b,d)};Iz.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 rUb=function(){},dpa=/%(\d[a-f0-9])/gi,epa={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"},Jz=function(a){var b=this;a=void 0===a?{}:a;this.cloneFrom=this.updates=null;this.encoder=a.encoder||new rUb;if(a.fromString){if(a.fromObject)throw Error("$a");this.map=cpa(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(gpa):[""+d];b.map.set(c,d)})):this.map=null};g=Jz.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=fpa(b);return a.map.get(b).map(function(d){return c+"="+fpa(d)}).join("&")}).filter(function(b){return""!==b}).join("&")};g.clone=function(a){var b=new Jz({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 sUb=function(){this.map=new Map};g=sUb.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 Kz=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 Iz);null!=this.context||(this.context=new sUb);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 Jz,this.urlWithParams=b)},tUb=function(a){return null===a.body?null:hpa(a.body)||ipa(a.body)||jpa(a.body)||"undefined"!==typeof URLSearchParams&&a.body instanceof URLSearchParams||"string"===
typeof a.body?a.body:a.body instanceof Jz?a.body.toString():"object"===typeof a.body||"boolean"===typeof a.body||Array.isArray(a.body)?JSON.stringify(a.body):a.body.toString()};
Kz.prototype.clone=function(a){a=void 0===a?{}:a;var b=a.method||this.method,c=a.url||this.url,d=a.responseType||this.responseType,e=void 0!==a.body?a.body:this.body,f=void 0!==a.withCredentials?a.withCredentials:this.withCredentials,h=void 0!==a.reportProgress?a.reportProgress:this.reportProgress,k=a.headers||this.headers,q=a.params||this.params,t,w=null!=(t=a.context)?t:this.context;void 0!==a.setHeaders&&(k=Object.keys(a.setHeaders).reduce(function(z,F){return z.set(F,a.setHeaders[F])},k));a.setParams&&
(q=Object.keys(a.setParams).reduce(function(z,F){return z.set(F,a.setParams[F])},q));return new Kz(b,c,e,{params:q,headers:k,context:w,reportProgress:h,responseType:d,withCredentials:f})};var Lz=function(a,b,c){b=void 0===b?200:b;c=void 0===c?"OK":c;this.headers=a.headers||new Iz;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},uUb=function(a){a=void 0===a?{}:a;Lz.call(this,a);this.type=2};X(uUb,Lz);
uUb.prototype.clone=function(a){a=void 0===a?{}:a;return new uUb({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 Mz=function(a){a=void 0===a?{}:a;Lz.call(this,a);this.type=4;this.body=void 0!==a.body?a.body:null};X(Mz,Lz);
Mz.prototype.clone=function(a){a=void 0===a?{}:a;return new Mz({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 vUb=function(a){Lz.call(this,a,0,"Unknown Error");this.name="HttpErrorResponse";this.ok=!1;this.message=200<=this.status&&300>this.status?"Http failure during parsing for "+(a.url||"(unknown url)"):"Http failure response for "+(a.url||"(unknown url)")+": "+a.status+" "+a.statusText;this.error=a.error||null};X(vUb,Lz);var Nz=function(a){this.handler=a};g=Nz.prototype;
g.request=function(a,b,c){var d=this;c=void 0===c?{}:c;if(a instanceof Kz)b=a;else{var e=void 0;e=c.headers instanceof Iz?c.headers:new Iz(c.headers);var f=void 0;c.params&&(f=c.params instanceof Jz?c.params:new Jz({fromObject:c.params}));b=new Kz(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,W.of)(b).pipe(ve(function(h){return d.handler.handle(h)},
1));if(a instanceof Kz||"events"===c.observe)return e;a=e.pipe(Ce(function(h){return h instanceof Mz}));switch(c.observe||"body"){case "body":switch(b.responseType){case "arraybuffer":return a.pipe(B(function(h){if(null!==h.body&&!(h.body instanceof ArrayBuffer))throw Error("ab");return h.body}));case "blob":return a.pipe(B(function(h){if(null!==h.body&&!(h.body instanceof Blob))throw Error("bb");return h.body}));case "text":return a.pipe(B(function(h){if(null!==h.body&&"string"!==typeof h.body)throw Error("cb");
return h.body}));default:return a.pipe(B(function(h){return h.body}))}case "response":return a;default:throw Error("db`"+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 Jz).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,kpa(c,b))};g.post=function(a,b,c){c=void 0===c?{}:c;return this.request("POST",a,kpa(c,b))};g.put=function(a,b,c){c=void 0===c?{}:c;return this.request("PUT",a,kpa(c,b))};Nz.\u0275fac=function(a){return new (a||Nz)(p(lUb))};Nz.\u0275prov=vc({token:Nz,factory:Nz.\u0275fac});var Oz=new Xc(""),wUb=new Xc(""),xUb=new Xc(""),yUb=new Xc(""),Pz=function(a,b){this.backend=a;this.injector=b;this.chain=null;this.pendingTasks=Gc(Ev);var c;this.backend=null!=(c=Gc(yUb,{optional:!0}))?c:a};X(Pz,lUb);Pz.prototype.handle=function(a){var b=this;null===this.chain&&(this.chain=Array.from(new Set([].concat(r(this.injector.get(wUb)),r(this.injector.get(xUb,[]))))).reduceRight(function(d,e){return npa(d,e,b.injector)},lpa));var c=this.pendingTasks.add();return this.chain(a,function(d){return b.backend.handle(d)}).pipe(We(function(){return b.pendingTasks.remove(c)}))};
Pz.\u0275fac=function(a){return new (a||Pz)(p(mUb),p(Mu))};Pz.\u0275prov=vc({token:Pz,factory:Pz.\u0275fac});var zUb=/^\)\]\}',?\n/,Qz=function(a){this.xhrFactory=a};
Qz.prototype.handle=function(a){if("JSONP"===a.method)throw new Ac(-2800,!1);var b=this.xhrFactory;return(b.\u0275loadImpl?(0,W.from)(b.\u0275loadImpl()):(0,W.of)(null)).pipe(df(function(){return new W.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||jpa(a.body)?null:ipa(a.body)?a.body.type||null:hpa(a.body)?null:"string"===typeof a.body?"text/plain":a.body instanceof Jz?"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=tUb(a),h=null,k=function(){if(null!==h)return h;var J=d.statusText||"OK",H=
new Iz(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 uUb({headers:H,status:d.status,statusText:J,url:O})},q=function(){var J=k(),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 Z=200<=O&&300>O;if("json"===a.responseType&&"string"===typeof U){var la=U;U=
U.replace(zUb,"");try{U=""!==U?JSON.parse(U):null}catch(oa){U=la,Z&&(Z=!1,U={error:oa,text:U})}}Z?(c.next(new Mz({body:U,headers:H,status:O,statusText:P,url:J||void 0})),c.complete()):c.error(new vUb({error:U,headers:H,status:O,statusText:P,url:J||void 0}))},t=function(J){var H=k().url;J=new vUb({error:J,status:d.status||0,statusText:d.statusText||"Unknown Error",url:H||void 0});c.error(J)},w=!1,z=function(J){w||(c.next(k()),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)},F=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",z),null!==f&&d.upload&&d.upload.addEventListener("progress",F));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",z),null!==f&&d.upload&&d.upload.removeEventListener("progress",F));d.readyState!==d.DONE&&d.abort()}})}))};Qz.\u0275fac=function(a){return new (a||Qz)(p(zRb))};Qz.\u0275prov=vc({token:Qz,factory:Qz.\u0275fac});var opa=new Xc(""),AUb=new Xc("",{providedIn:"root",factory:function(){return"XSRF-TOKEN"}}),qpa=new Xc("",{providedIn:"root",factory:function(){return"X-XSRF-TOKEN"}}),ppa=function(){},Rz=function(a,b,c){this.doc=a;this.platform=b;this.cookieName=c;this.lastCookieString="";this.lastToken=null};
Rz.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=l(a.split(";")),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.indexOf("=");e=l(-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};
Rz.\u0275fac=function(a){return new (a||Rz)(p(Tg),p(Ie),p(AUb))};Rz.\u0275prov=vc({token:Rz,factory:Rz.\u0275fac});var BUb=new Xc("");var Sz=function(){};Sz.\u0275fac=function(a){return new (a||Sz)};Sz.\u0275mod=Nc({type:Sz});
Sz.\u0275inj=wc({providers:[function(){for(var a=[Nz,Qz,Pz,{provide:lUb,useExisting:Pz},{provide:mUb,useExisting:Qz},{provide:wUb,useValue:rpa,multi:!0},{provide:opa,useValue:!0},{provide:ppa,useClass:Rz}],b=l(Vc.apply(0,arguments)),c=b.next();!c.done;c=b.next())a.push.apply(a,r(c.value.\u0275providers));return{"\u0275providers":a}}({"\u0275kind":1,"\u0275providers":[{provide:BUb,useFactory:function(){var a=null;return function(b,c){if(null===a){var d;a=(null!=(d=Gc(Oz,{optional:!0}))?d:[]).reduceRight(mpa,
lpa)}var e=Gc(Ev),f=e.add();return a(b,c).pipe(We(function(){return e.remove(f)}))}}},{provide:wUb,useExisting:BUb,multi:!0}]})]});new Xc("");var Tz=function(){};Tz.\u0275fac=function(a){return new (a||Tz)};Tz.\u0275prov=vc({token:Tz,factory:function(a){return a?new (a||Tz):p(Uz)},providedIn:"root"});var Uz=function(a){this._doc=a};X(Uz,Tz);
Uz.prototype.sanitize=function(a,b){if(null==b)return null;switch(a){case 0:return b;case 1:return Kd(b,"HTML")?Jd(b):vha(this._doc,String(b)).toString();case 2:return Kd(b,"Style")?Jd(b):b;case 3:if(Kd(b,"Script"))return Jd(b);throw new Ac(5200,!1);case 4:return Kd(b,"URL")?Jd(b):iha(String(b));case 5:if(Kd(b,"ResourceURL"))return Jd(b);throw new Ac(5201,!1);default:throw new Ac(5202,!1);}};Uz.prototype.bypassSecurityTrustHtml=function(a){return new mPb(a)};Uz.prototype.bypassSecurityTrustUrl=function(a){return new nPb(a)};
Uz.prototype.bypassSecurityTrustResourceUrl=function(a){return new oPb(a)};Uz.\u0275fac=function(a){return new (a||Uz)(p(Tg))};Uz.\u0275prov=vc({token:Uz,factory:Uz.\u0275fac,providedIn:"root"});var CUb=tt([""]),DUb=JLb(["\x00"],["\\0"]),EUb=JLb(["\n"],["\\n"]),FUb=JLb(["\x00"],["\\u0000"]);spa(function(a){return a(CUb)})||spa(function(a){return a(DUb)})||spa(function(a){return a(EUb)})||spa(function(a){return a(FUb)});var HUb=function(a){var b=Ho("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||ca.$googDebugFname||b}catch(h){e="Not available",c=!0}b=GUb(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,Vz[c])c=Vz[c];else{c=String(c);if(!Vz[c]){var f=/function\s+([^\(]+)/m.exec(c);Vz[c]=f?f[1]:"[Anonymous]"}c=Vz[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}},GUb=function(a,b){b||(b={});b[IUb(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[IUb(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=GUb(a,b));return c},IUb=function(a){var b="";"function"===typeof a.toString&&(b=""+a);return b+a.stack},Vz={};var tpa=function(a){this.isValid=a},upa=[ah("data"),ah("http"),ah("https"),ah("mailto"),ah("ftp"),new tpa(function(a){return/^[^:]*([/?#]|$)/.test(a)})],wpa="function"===typeof URL;var zpa=/^[a-z][a-z\d-]*$/i,Apa="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),Dpa="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),Epa=["action","formaction","href"];var Wz=function(a){this.decorated=new Uz(a)};X(Wz,Tz);Wz.prototype.sanitize=function(a,b){if(null==b)return null;if(b instanceof Ju||b instanceof bh||b instanceof ec){if(JUb(b,a))return this.decorated.sanitize(a,KUb(this,b));throw Error("eb`"+xPb[a]+"`"+b);}return this.decorated.sanitize(a,b)};Wz.prototype.bypassSecurityTrustHtml=function(){throw Error("fb");};Wz.prototype.bypassSecurityTrustUrl=function(){throw Error("fb");};
Wz.prototype.bypassSecurityTrustResourceUrl=function(){throw Error("fb");};var KUb=function(a,b){if(null!=b){if(b instanceof ec)return a.decorated.bypassSecurityTrustHtml(String(b));if(b instanceof bh)return a.decorated.bypassSecurityTrustUrl(eh(b));if(b instanceof Ju)return a.decorated.bypassSecurityTrustResourceUrl(String(b))}return null},JUb=function(a,b){switch(b){case 1:return a instanceof ec;case 4:return a instanceof bh||a instanceof Ju;case 5:return a instanceof Ju;case 3:return!1;default:return!1}};
Wz.\u0275fac=function(a){return new (a||Wz)(p(Tg))};Wz.\u0275prov=vc({token:Wz,factory:Wz.\u0275fac});var LUb=[{provide:yQb,useExisting:Tz},{provide:Tz,useClass:Wz}],Xz=function(){};Xz.\u0275fac=function(a){return new (a||Xz)};Xz.\u0275mod=Nc({type:Xz});Xz.\u0275inj=wc({providers:LUb,imports:[Gz]});var MUb=function(){};var Ah=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=Ah.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(),NUb(this));this._started=!0};var NUb=function(a){queueMicrotask(function(){return a._onFinish()})};g=Ah.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 Rpa=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,
k){return Math.max(h,k.totalTime)},0)};g=Rpa.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 Npa=RegExp("{{\\s*(.+?)\\s*}}","g"),Opa=/-+([a-z0-9])/g;var OUb=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(" ")),PUb=function(){};X(PUb,MUb);
var Spa=function(a,b,c){var d="",e=b.toString().trim();OUb.has(a)&&0!==b&&"0"!==b&&("number"===typeof b?d="px":(a=b.match(/^[+-]?[\d\.]+([a-z]*)$/))&&0==a[1].length&&c.push(new Ac(3005,!1)));return e+d};var Ypa="undefined"===typeof document?null:document.documentElement;var Yz=function(){};g=Yz.prototype;g.containsElement=function(a,b){return $pa(a,b)};g.getParentElement=function(a){return Zpa(a)};g.query=function(a,b,c){return aqa(a,b,c)};g.computeStyle=function(a,b,c){return c||""};g.animate=function(a,b,c,d){return new Ah(c,d)};Yz.\u0275fac=function(a){return new (a||Yz)};Yz.\u0275prov=vc({token:Yz,factory:Yz.\u0275fac});var QUb=function(){};var eqa=new Set(["true","1"]),fqa=new Set(["false","0"]);var gqa=RegExp("s*:selfs*,?","g"),RUb=function(a){this._driver=a};g=RUb.prototype;g.build=function(a,b){b=new SUb(b);this._resetContextStyleTimingState(b);return zh(this,xh(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 Ac(3006,!1));a.definitions.forEach(function(k){c._resetContextStyleTimingState(b);if(0==k.type){var q=k.name;q.toString().split(/\s*,\s*/).forEach(function(t){k.name=t;f.push(c.visitState(k,b))});k.name=q}else 1==k.type?(q=c.visitTransition(k,b),d+=q.queryCount,e+=q.depCount,h.push(q)):b.errors.push(new Ac(3007,!1))});return{type:7,name:a.name,states:f,transitions:h,queryCount:d,
depCount:e,options:null}};g.visitState=function(a,b){var c=this.visitStyle(a.styles,b),d=a.options&&a.options.params||null;if(c.containsDynamicStyles){var e=new Set,f=d||{};c.styles.forEach(function(h){h instanceof Map&&h.forEach(function(k){Lpa(k).forEach(function(q){f.hasOwnProperty(q)||e.add(q)})})});e.size&&b.errors.push(Fpa([].concat(r(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=zh(this,xh(a.animation),b);return{type:1,matchers:dqa(a.expr,b.errors),animation:c,queryCount:b.queryCount,depCount:b.depCount,options:Dh(a.options)}};g.visitSequence=function(a,b){var c=this;return{type:2,steps:a.steps.map(function(d){return zh(c,d,b)}),options:Dh(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=zh(c,h,b);e=Math.max(e,b.currentTime);return h});b.currentTime=e;return{type:3,steps:f,options:Dh(a.options)}};
g.visitAnimate=function(a,b){var c=jqa(a.timings,b.errors);b.currentAnimateTimings=c;var d=a.styles?a.styles:oh({});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=oh(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=l(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 Ac(3002,!1)):c.push(new Map(Object.entries(e)));var f=!1,h=null;c.forEach(function(k){if(k instanceof Map&&(k.has("easing")&&(h=k.get("easing"),k.delete("easing")),!f)){k=l(k.values());for(var q=k.next();!q.done;q=k.next())if(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,k){var q=b.collectedStyles.get(b.currentQuerySelector),t=q.get(k),w=!0;t&&(e!=d&&e>=t.startTime&&d<=t.endTime&&(b.errors.push(new Ac(3010,!1)),w=!1),e=t.startTime);w&&q.set(k,{startTime:e,endTime:d});b.options&&Mpa(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 Ac(3011,!1)),d;var e=0,f=[],h=!1,k=!1,q=0,t=a.steps.map(function(O){O=c._makeStyleAst(O,b);var P=null!=O.offset?O.offset:iqa(O.styles),U=0;null!=P&&(e++,U=O.offset=P);k=k||0>U||1<U;h=h||U<q;q=U;f.push(U);return O});k&&b.errors.push(new Ac(3012,!1));h&&b.errors.push(new Ac(3200,!1));a=a.steps.length;var w=0;0<e&&e<a?b.errors.push(new Ac(3202,!1)):0==e&&(w=1/(a-1));var z=
a-1,F=b.currentTime,J=b.currentAnimateTimings,H=J.duration;t.forEach(function(O,P){P=0<w?P==z?1:w*P:f[P];var U=P*H;b.currentTime=F+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:zh(this,xh(a.animation),b),options:Dh(a.options)}};g.visitAnimateChild=function(a,b){b.depCount++;return{type:9,options:Dh(a.options)}};
g.visitAnimateRef=function(a,b){return{type:10,animation:this.visitReference(a.animation,b),options:Dh(a.options)}};
g.visitQuery=function(a,b){var c=b.currentQuerySelector,d=a.options||{};b.queryCount++;b.currentQuery=a;var e=l(hqa(a.selector)),f=e.next().value;e=e.next().value;b.currentQuerySelector=c.length?c+" "+f:f;Ch(b.collectedStyles,b.currentQuerySelector,new Map);var h=zh(this,xh(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:Dh(a.options)}};
g.visitStagger=function(a,b){b.currentQuery||b.errors.push(new Ac(3013,!1));var c="full"===a.timings?{duration:0,delay:0,easing:"full"}:Ipa(a.timings,b.errors,!0);return{type:12,animation:zh(this,xh(a.animation),b),timings:c,options:null}};var SUb=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 Zz=function(){this._map=new Map};Zz.prototype.get=function(a){return this._map.get(a)||[]};Zz.prototype.append=function(a,b){var c=this._map.get(a);c||this._map.set(a,c=[]);c.push.apply(c,r(b))};Zz.prototype.has=function(a){return this._map.has(a)};Zz.prototype.clear=function(){this._map.clear()};var TUb=RegExp(":enter","g"),UUb=RegExp(":leave","g"),lqa=function(){};g=lqa.prototype;
g.buildKeyframes=function(a,b,c,d,e,f,h,k,q,t){t=void 0===t?[]:t;q=q||new Zz;a=new $z(a,b,q,d,e,t,[]);a.options=k;d=k.delay?uh(k.delay):0;a.currentTimeline.delayNextStep(d);VUb(a.currentTimeline,[f],null,a.errors,k);zh(this,c,a);c=a.timelines.filter(function(z){return z.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&&VUb(w,[h],null,a.errors,k)}return c.length?c.map(function(z){return z.buildKeyframes()}):
[kqa(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=aA(b,a.options),e=b.currentTimeline.currentTime;c=this._visitSubInstructions(c,d,d.options);e!=c&&bA(b,c)}b.previousNode=a};
g.visitAnimateRef=function(a,b){var c=aA(b,a.options);bA(c);this._applyAnimationRefDelays([a.options,a.animation.options],b,c);this.visitReference(a.animation,c);bA(b,c.currentTimeline.currentTime);b.previousNode=a};g._applyAnimationRefDelays=function(a,b,c){a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=null==(e=d)?void 0:e.delay;if(f){var h=e=void 0;d="number"===typeof f?f:uh(yh(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?uh(c.duration):null,f=null!=c.delay?uh(c.delay):null;0!==e&&a.forEach(function(h){var k={duration:null!=e?e:h.duration,delay:b.currentTimeline.currentTime+(null!=f?f:0)+h.delay,easing:""};h=new WUb(b._driver,h.element,h.keyframes,h.preStyleProps,h.postStyleProps,k,h.stretchStartingKeyframe);b.timelines.push(h);d=Math.max(d,k.duration+k.delay)});return d};
g.visitReference=function(a,b){XUb(b,a.options,!0);zh(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=aA(b,f),bA(e),null!=f.delay&&(6==e.previousNode.type&&(cA(e.currentTimeline),e.previousNode=YUb),e.delayNextStep(uh(f.delay))));a.steps.length&&(a.steps.forEach(function(h){return zh(c,h,e)}),dA(e.currentTimeline),e.subContextCount>d&&bA(e));b.previousNode=a};
g.visitGroup=function(a,b){var c=this,d=[],e=b.currentTimeline.currentTime,f=a.options&&a.options.delay?uh(a.options.delay):0;a.steps.forEach(function(h){var k=aA(b,a.options);f&&k.delayNextStep(f);zh(c,h,k);e=Math.max(e,k.currentTimeline.currentTime);d.push(k.currentTimeline)});d.forEach(function(h){return ZUb(b.currentTimeline,h)});bA(b,e);b.previousNode=a};
g._visitTiming=function(a,b){return a.dynamic?(a=a.strValue,a=b.params?yh(a,b.params,b.errors):a,Ipa(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&&($Ub(b.currentTimeline,b.currentTimeline.duration+c.delay),cA(d));var e=a.style;5==e.type?this.visitKeyframes(e,b):($Ub(b.currentTimeline,b.currentTimeline.duration+c.duration),this.visitStyle(e,b),dA(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=l(c._globalTimelineStyles);for(var e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;c._backFill.set(e,f||"*");c._currentKeyframe.set(e,"*")}c._currentEmptyStepKeyframe=c._currentKeyframe}else VUb(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=aA(b).currentTimeline;f.easing=c.easing;a.styles.forEach(function(h){$Ub(f,(h.offset||0)*e);VUb(f,h.styles,h.easing,b.errors,b.options);dA(f)});ZUb(b.currentTimeline,f);bA(b,d+e);b.previousNode=a};
g.visitQuery=function(a,b){var c=this,d=b.currentTimeline.currentTime,e=a.options||{},f=e.delay?uh(e.delay):0;f&&(6===b.previousNode.type||0==d&&0<b.currentTimeline._currentKeyframe.size)&&(cA(b.currentTimeline),b.previousNode=YUb);var h=d;d=aVb(b,a.selector,a.limit,a.includeSelf,e.optional?!0:!1,b.errors);b.currentQueryTotal=d.length;var k=null;d.forEach(function(q,t){b.currentQueryIndex=t;t=aA(b,a.options,q);f&&t.delayNextStep(f);q===b.element&&(k=t.currentTimeline);zh(c,a.animation,t);dA(t.currentTimeline);
h=Math.max(h,t.currentTimeline.currentTime)});b.currentQueryIndex=0;b.currentQueryTotal=0;bA(b,h);k&&(ZUb(b.currentTimeline,k),cA(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;zh(this,a.animation,b);b.previousNode=a;c.currentStaggerTime=d.currentTime-e+(d.startTime-c.currentTimeline.startTime)};
var YUb={},$z=function(a,b,c,d,e,f,h,k){this._driver=a;this.element=b;this.subInstructions=c;this._enterClassName=d;this._leaveClassName=e;this.errors=f;this.timelines=h;this.currentAnimateTimings=this.parentContext=null;this.previousNode=YUb;this.subContextCount=0;this.options={};this.currentStaggerTime=this.currentQueryTotal=this.currentQueryIndex=0;this.currentTimeline=k||new eA(this._driver,b,0);h.push(this.currentTimeline)},XUb=function(a,b,c){if(b){var d=a.options;null!=b.duration&&(d.duration=
uh(b.duration));null!=b.delay&&(d.delay=uh(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]=yh(e[h],f,a.errors))})}}};$z.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 aA=function(a,b,c){b=void 0===b?null:b;c=c||a.element;c=new $z(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();XUb(c,b);c.currentQueryIndex=a.currentQueryIndex;c.currentQueryTotal=a.currentQueryTotal;c.parentContext=a;a.subContextCount++;return c},bA=function(a,b){a.previousNode=YUb;a.currentTimeline=a.currentTimeline.fork(a.element,
b);a.timelines.push(a.currentTimeline)};$z.prototype.delayNextStep=function(a){0<a&&this.currentTimeline.delayNextStep(a)};var aVb=function(a,b,c,d,e,f){var h=[];d&&h.push(a.element);0<b.length&&(b=b.replace(TUb,"."+a._enterClassName),b=b.replace(UUb,"."+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,r(a)));e||0!=h.length||f.push(new Ac(3014,!1));return h};
Vg.Object.defineProperties($z.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});
var eA=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()};eA.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return 0<this._currentKeyframe.size;default:return!0}};eA.prototype.delayNextStep=function(a){var b=1===this._keyframes.size&&this._pendingStyles.size;this.duration||b?($Ub(this,this.currentTime+a),b&&cA(this)):this.startTime+=a};
eA.prototype.fork=function(a,b){dA(this);return new eA(this._driver,a,b||this.currentTime,this._elementTimelineStylesLookup)};eA.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 $Ub=function(a,b){dA(a);a.duration=b;a._loadKeyframe()};
eA.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 VUb=function(a,b,c,d,e){c&&a._previousKeyframe.set("easing",c);c=e&&e.params||{};b=oqa(b,a._globalTimelineStyles);b=l(b);for(e=b.next();!e.done;e=b.next()){var f=l(e.value);e=f.next().value;f=f.next().value;f=yh(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)}},dA=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)}))},cA=function(a){for(var b=l(a._localTimelineStyles),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;a._pendingStyles.set(c,d);a._updateStyle(c,d)}},ZUb=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)})};
eA.prototype.buildKeyframes=function(){var a=this;dA(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(r(a._backFill),r(t)));t.forEach(function(z,F){"!"===z?b.add(F):"*"===z&&c.add(F)});d||t.set("offset",w/a.duration);e.push(t)});var f=[].concat(r(b.values())),h=[].concat(r(c.values()));if(d){var k=e[0],q=new Map(k);k.set("offset",0);q.set("offset",1);e=[k,q]}return kqa(this.element,e,f,h,this.duration,this.startTime,
this.easing,!1)};Vg.Object.defineProperties(eA.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 WUb=function(a,b,c,d,e,f,h){h=void 0===h?!1:h;eA.call(this,a,b,f.delay);this.keyframes=c;this.preStyleProps=d;this.postStyleProps=e;this._stretchStartingKeyframe=h;this.timings={duration:f.duration,delay:f.delay,easing:f.easing}};
X(WUb,eA);WUb.prototype.containsAnimation=function(){return 1<this.keyframes.length};
WUb.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",nqa(f));b.push(h);f=a.length-1;for(h=1;h<=f;h++){var k=new Map(a[h]),q=k.get("offset");k.set("offset",nqa((c+q*d)/e));b.push(k)}d=e;c=0;e="";a=b}return kqa(this.element,a,this.preStyleProps,this.postStyleProps,d,c,e,!0)};var bVb={},Eh=function(a,b,c){this._triggerName=a;this.ast=b;this._stateStyles=c};Eh.prototype.match=function(a,b,c,d){return qqa(this.ast.matchers,a,b,c,d)};Eh.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};
Eh.prototype.build=function(a,b,c,d,e,f,h,k,q,t){var w=[],z=this.ast.options&&this.ast.options.params||bVb;h=this.buildStyles(c,h&&h.params||bVb,w);var F=k&&k.params||bVb;k=this.buildStyles(d,F,w);var J=new Set,H=new Map,O=new Map,P="void"===d,U;z={params:rqa(F,z),delay:null==(U=this.ast.options)?void 0:U.delay};a=t?[]:mqa(a,b,this.ast.animation,e,f,h,k,z,q,w);var Z=0;a.forEach(function(la){Z=Math.max(la.duration+la.delay,Z)});if(w.length)return pqa(b,this._triggerName,c,d,P,h,k,[],[],H,O,Z,w);a.forEach(function(la){var oa=
la.element,Fa=Ch(H,oa,new Set);la.preStyleProps.forEach(function(Pa){return Fa.add(Pa)});var Ta=Ch(O,oa,new Set);la.postStyleProps.forEach(function(Pa){return Ta.add(Pa)});oa!==b&&J.add(oa)});return pqa(b,this._triggerName,c,d,P,h,k,a,[].concat(r(J.values())),H,O,Z)};var cVb=function(a,b){this.styles=a;this.defaultParams=b};
cVb.prototype.buildStyles=function(a,b){var c=new Map,d=rqa(a,this.defaultParams);this.styles.styles.forEach(function(e){"string"!==typeof e&&e.forEach(function(f,h){f&&(f=yh(f,d,b));var k=Kpa(h);f=Spa(k,f,b);c.set(h,f)})});return c};var dVb=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 cVb(e.style,e.options&&e.options.params||{}))});tqa(this.states,"true","1");tqa(this.states,"false","0");b.transitions.forEach(function(e){d.transitionFactories.push(new Eh(a,e,d.states))});this.fallbackTransition=sqa(a,this.states)},eVb=function(a,b,c,d,e){return a.transitionFactories.find(function(f){return f.match(b,c,
d,e)})||null};var fVb=new Zz,gVb=function(a,b,c){this.bodyNode=a;this._driver=b;this._normalizer=c;this._animations=new Map;this._playersById=new Map;this.players=[]};g=gVb.prototype;g.register=function(a,b){var c=[];b=(new RUb(this._driver)).build(b,c,[]);if(c.length)throw new Ac(3503,!1);this._animations.set(a,b)};g._buildPlayer=function(a,b,c){var d=a.element;b=Tpa(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=mqa(this._driver,b,f,"ng-enter","ng-leave",new Map,new Map,c,fVb,e),b.forEach(function(k){var q=Ch(h,k.element,new Map);k.postStyleProps.forEach(function(t){return q.set(t,null)})})):(e.push(new Ac(3300,!1)),b=[]);if(e.length)throw new Ac(3504,!1);h.forEach(function(k,q){k.forEach(function(t,w){k.set(w,d._driver.computeStyle(q,w,"*"))})});e=b.map(function(k){var q=h.get(k.element);return d._buildPlayer(k,
new Map,q)});e=Bh(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 Ac(3301,!1);return a};g.listen=function(a,b,c,d){b=Wpa(b,"","","");Vpa(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 hVb=[],iVb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},wqa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},jVb=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={})},kVb=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])})}};Vg.Object.defineProperties(jVb.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});var lVb=new jVb("void"),fA=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;Fh(b,this._hostClassName)};g=fA.prototype;
g.listen=function(a,b,c,d){var e=this;if(!this._triggers.has(b))throw new Ac(3302,!1);if(null==c||0==c.length)throw new Ac(3303,!1);if("start"!=c&&"done"!=c)throw new Ac(3400,!1);var f=Ch(this._elementListeners,a,[]),h={name:b,phase:c,callback:d};f.push(h);var k=Ch(this._engine.statesByElement,a,new Map);k.has(b)||(Fh(a,"ng-trigger"),Fh(a,"ng-trigger-"+b),k.set(b,lVb));return function(){gA(e._engine,function(){var q=f.indexOf(h);0<=q&&f.splice(q,1);e._triggers.has(b)||k.delete(b)})}};
g.register=function(a,b){if(this._triggers.has(a))return!1;this._triggers.set(a,b);return!0};g._getTrigger=function(a){a=this._triggers.get(a);if(!a)throw new Ac(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 mVb(this.id,b,a),k=this._engine.statesByElement.get(a);k||(Fh(a,"ng-trigger"),Fh(a,"ng-trigger-"+b),this._engine.statesByElement.set(a,k=new Map));var q=k.get(b),t=new jVb(c,this.id);c&&c.hasOwnProperty("value")||!q||kVb(t,q.options);k.set(b,t);q||(q=lVb);if("void"!==t.value&&q.value===t.value){if(!Cqa(q.params,t.params)){d=[];var w=f.fallbackTransition.buildStyles(q.value,q.params,d),z=f.fallbackTransition.buildStyles(t.value,
t.params,d);d.length?this._engine.reportError(d):gA(this._engine,function(){wh(a,w);vh(a,z)})}}else{c=Ch(this._engine.playersByElement,a,[]);c.forEach(function(J){J.namespaceId==e.id&&J.triggerName==b&&J.queued&&J.destroy()});k=eVb(f,q.value,t.value,a,t.params);var F=!1;if(!k){if(!d)return;k=f.fallbackTransition;F=!0}this._engine.totalQueuedPlayers++;this._queue.push({element:a,triggerName:b,transition:k,fromState:q,toState:t,player:h,isFallbackTransition:F});F||(Fh(a,"ng-animate-queued"),h.onStart(function(){Gh(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 nVb=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))};
fA.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=oVb(c._engine,e);f.size?f.forEach(function(h){return pVb(h,e,b,!1,!0)}):nVb(c,e)}});this._engine.afterFlushAnimationsDone(function(){return d.forEach(function(e){return nVb(c,e)})})};
var pVb=function(a,b,c,d,e){var f=a._engine.statesByElement.get(b),h=new Map;if(f){var k=[];f.forEach(function(q,t){h.set(t,q.value);a._triggers.has(t)&&(q=a.trigger(b,t,"void",e))&&k.push(q)});if(k.length){qVb(a._engine,a.id,b,!0,c,h);if(d)Bh(k).onDone(function(){return Hh(a._engine,b)});return!0}}return!1},rVb=function(a,b){var c=a._elementListeners.get(b),d=a._engine.statesByElement.get(b);if(c&&d){var e=new Set;c.forEach(function(f){f=f.name;if(!e.has(f)){e.add(f);var h=a._triggers.get(f).fallbackTransition,
k=d.get(f)||lVb,q=new jVb("void"),t=new mVb(a.id,f,b);a._engine.totalQueuedPlayers++;a._queue.push({element:b,triggerName:f,transition:h,fromState:k,toState:q,player:t,isFallbackTransition:!0})}})}};
fA.prototype.removeNode=function(a,b){var c=this,d=this._engine;a.childElementCount&&this._signalRemovalForInnerTriggers(a,b);if(!pVb(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}}rVb(this,a);e?qVb(d,this.id,a,!1,b):(e=a.__ng_removed,e&&e!==iVb||(gA(d,function(){return nVb(c,a)}),sVb(d,a),d._onRemovalComplete(a,b)))}};
fA.prototype.insertNode=function(a){Fh(a,this._hostClassName)};
var tVb=function(a,b){var c=[];a._queue.forEach(function(d){var e=d.player;if(!e.destroyed){var f=d.element,h=a._elementListeners.get(f);h&&h.forEach(function(k){if(k.name==d.triggerName){var q=Wpa(f,d.triggerName,d.fromState.value,d.toState.value);q._data=b;Vpa(d.player,k.phase,q,k.callback)}});e.markedForDestroy?gA(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})};fA.prototype.destroy=function(a){this.players.forEach(function(b){return b.destroy()});this._signalRemovalForInnerTriggers(this.hostElement,a)};
var hA=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=hA.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 fA(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&&(gA(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 oVb=function(a,b){var c=new Set;if(b=a.statesByElement.get(b)){b=l(b.values());for(var d=b.next();!d.done;d=b.next())d=d.value,d.namespaceId&&(d=a._fetchNamespace(d.namespaceId))&&c.add(d)}return c};hA.prototype.trigger=function(a,b,c,d){return uqa(b)&&(a=this._fetchNamespace(a))?(a.trigger(b,c,d),!0):!1};
hA.prototype.insertNode=function(a,b,c,d){if(uqa(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 uVb=function(a,b,c){c?a.disabledNodes.has(b)||(a.disabledNodes.add(b),Fh(b,"ng-animate-disabled")):a.disabledNodes.has(b)&&(a.disabledNodes.delete(b),Gh(b,"ng-animate-disabled"))};
hA.prototype.removeNode=function(a,b,c){if(uqa(b)){var d;null==(d=this.scheduler)||d.notify();(d=a?this._fetchNamespace(a):null)?d.removeNode(b,c):qVb(this,a,b,!1,c);(d=this.namespacesByHostElement.get(b))&&d.id!==a&&d.removeNode(b,c)}else this._onRemovalComplete(b,c)};var qVb=function(a,b,c,d,e,f){a.collectedLeaveElements.push(c);c.__ng_removed={namespaceId:b,setForRemoval:e,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:f}};
hA.prototype.listen=function(a,b,c,d,e){return uqa(b)?this._fetchNamespace(a).listen(b,c,d,e):function(){}};hA.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 sVb=function(a,b){var c=a.driver.query(b,".ng-trigger",!0);c.forEach(function(d){return vVb(a,d)});0!=a.playersByQueriedElement.size&&(c=a.driver.query(b,".ng-animating",!0),c.forEach(function(d){return wVb(a,d)}))},vVb=function(a,b){(a=a.playersByElement.get(b))&&a.forEach(function(c){c.queued?c.markedForDestroy=!0:c.destroy()})},wVb=function(a,b){(a=a.playersByQueriedElement.get(b))&&a.forEach(function(c){return c.finish()})},Hh=function(a,b){var c=b.__ng_removed;if(c&&c.setForRemoval){b.__ng_removed=
iVb;if(c.namespaceId){sVb(a,b);var d=a._fetchNamespace(c.namespaceId);d&&nVb(d,b)}a._onRemovalComplete(b,c.setForRemoval)}var e;(null==(e=b.classList)?0:e.contains("ng-animate-disabled"))&&uVb(a,b,!1);a.driver.query(b,".ng-animate-disabled",!0).forEach(function(f){uVb(a,f,!1)})};
hA.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++)Fh(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++)Hh(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)Bh(c).onDone(function(){e.forEach(function(f){return f()})});else e.forEach(function(f){return f()})}};
hA.prototype.reportError=function(){throw new Ac(3402,!1);};
hA.prototype._flushAnimations=function(a,b){var c=this,d=new Zz,e=[],f=new Map,h=[],k=new Map,q=new Map,t=new Map,w=new Set;this.disabledNodes.forEach(function(Za){w.add(Za);Za=c.driver.query(Za,".ng-animate-queued",!0);for(var Fb=0;Fb<Za.length;Fb++)w.add(Za[Fb])});var z=this.bodyNode,F=Array.from(this.statesByElement.keys()),J=yqa(F,this.collectedEnterElements),H=new Map,O=0;J.forEach(function(Za,Fb){var ac="ng-enter"+O++;H.set(Fb,ac);Za.forEach(function(vb){return Fh(vb,ac)})});for(var P=[],U=
new Set,Z=new Set,la=0;la<this.collectedLeaveElements.length;la++){var oa=this.collectedLeaveElements[la],Fa=oa.__ng_removed;Fa&&Fa.setForRemoval&&(P.push(oa),U.add(oa),Fa.hasAnimation?this.driver.query(oa,".ng-star-inserted",!0).forEach(function(Za){return U.add(Za)}):Z.add(oa))}var Ta=new Map,Pa=yqa(F,Array.from(U));Pa.forEach(function(Za,Fb){var ac="ng-leave"+O++;Ta.set(Fb,ac);Za.forEach(function(vb){return Fh(vb,ac)})});a.push(function(){J.forEach(function(Za,Fb){var ac=H.get(Fb);Za.forEach(function(vb){return Gh(vb,
ac)})});Pa.forEach(function(Za,Fb){var ac=Ta.get(Fb);Za.forEach(function(vb){return Gh(vb,ac)})});P.forEach(function(Za){Hh(c,Za)})});var Ya=[],sb=[];for(a=this._namespaceList.length-1;0<=a;a--)tVb(this._namespaceList[a],b).forEach(function(Za){var Fb=Za.player,ac=Za.element;Ya.push(Fb);if(c.collectedEnterElements.length){var vb=ac.__ng_removed;if(vb&&vb.setForMove){if(vb.previousTriggersValues&&vb.previousTriggersValues.has(Za.triggerName)){vb=vb.previousTriggersValues.get(Za.triggerName);var Zb=
c.statesByElement.get(Za.element);if(Zb&&Zb.has(Za.triggerName)){var sc=Zb.get(Za.triggerName);sc.value=vb;Zb.set(Za.triggerName,sc)}}Fb.destroy();return}}vb=!z||!c.driver.containsElement(z,ac);Zb=Ta.get(ac);sc=H.get(ac);var Vb=c._buildInstruction(Za,d,sc,Zb,vb);if(Vb.errors&&Vb.errors.length)sb.push(Vb);else if(vb)Fb.onStart(function(){return wh(ac,Vb.fromStyles)}),Fb.onDestroy(function(){return vh(ac,Vb.toStyles)}),e.push(Fb);else if(Za.isFallbackTransition)Fb.onStart(function(){return wh(ac,Vb.fromStyles)}),
Fb.onDestroy(function(){return vh(ac,Vb.toStyles)}),e.push(Fb);else{var Pc=[];Vb.timelines.forEach(function(Td){Td.stretchStartingKeyframe=!0;c.disabledNodes.has(Td.element)||Pc.push(Td)});Vb.timelines=Pc;d.append(ac,Vb.timelines);h.push({instruction:Vb,player:Fb,element:ac});Vb.queriedElements.forEach(function(Td){return Ch(k,Td,[]).push(Fb)});Vb.preStyleProps.forEach(function(Td,we){if(Td.size){var Ig=q.get(we);Ig||q.set(we,Ig=new Set);Td.forEach(function(qt,NR){return Ig.add(NR)})}});Vb.postStyleProps.forEach(function(Td,
we){var Ig=t.get(we);Ig||t.set(we,Ig=new Set);Td.forEach(function(qt,NR){return Ig.add(NR)})})}});if(sb.length){var Na=[];sb.forEach(function(){Na.push(new Ac(3505,!1))});Ya.forEach(function(Za){return Za.destroy()});this.reportError(Na)}var ja=new Map,ya=new Map;h.forEach(function(Za){var Fb=Za.element;d.has(Fb)&&(ya.set(Fb,Fb),c._beforeAnimationBuild(Za.player.namespaceId,Za.instruction,ja))});e.forEach(function(Za){var Fb=Za.element;c._getPreviousPlayers(Fb,!1,Za.namespaceId,Za.triggerName,null).forEach(function(ac){Ch(ja,
Fb,[]).push(ac);ac.destroy()})});var Ga=P.filter(function(Za){return Dqa(Za,q,t)}),gb=new Map;xqa(gb,this.driver,Z,t,"*").forEach(function(Za){Dqa(Za,q,t)&&Ga.push(Za)});var Wa=new Map;J.forEach(function(Za){xqa(Wa,c.driver,new Set(Za),q,"!")});Ga.forEach(function(Za){var Fb=gb.get(Za),ac=Wa.get(Za),vb,Zb;gb.set(Za,new Map([].concat(r(null!=(vb=null==Fb?void 0:Fb.entries())?vb:[]),r(null!=(Zb=null==ac?void 0:ac.entries())?Zb:[]))))});var zc=[],cb=[],pb={};h.forEach(function(Za){var Fb=Za.element,
ac=Za.player,vb=Za.instruction;if(d.has(Fb))if(w.has(Fb))ac.onDestroy(function(){return vh(Fb,vb.toStyles)}),ac.disabled=!0,ac.totalTime=vb.totalTime,e.push(ac);else{var Zb=pb;if(1<ya.size){Za=Fb;for(var sc=[];Za=Za.parentNode;){var Vb=ya.get(Za);if(Vb){Zb=Vb;break}sc.push(Za)}sc.forEach(function(Pc){return ya.set(Pc,Zb)})}Za=c._buildAnimation(ac.namespaceId,vb,ja,f,Wa,gb);xVb(ac,Za);Zb===pb?zc.push(ac):((Za=c.playersByElement.get(Zb))&&Za.length&&(ac.parentPlayer=Bh(Za)),e.push(ac))}else wh(Fb,vb.fromStyles),
ac.onDestroy(function(){return vh(Fb,vb.toStyles)}),cb.push(ac),w.has(Fb)&&e.push(ac)});cb.forEach(function(Za){var Fb=f.get(Za.element);Fb&&Fb.length&&(Fb=Bh(Fb),xVb(Za,Fb))});e.forEach(function(Za){Za.parentPlayer?yVb(Za,Za.parentPlayer):Za.destroy()});for(b=0;b<P.length;b++)if(Z=P[b],a=Z.__ng_removed,Gh(Z,"ng-leave"),!a||!a.hasAnimation){a=[];if(k.size)for((F=k.get(Z))&&F.length&&a.push.apply(a,r(F)),F=this.driver.query(Z,".ng-animating",!0),la=0;la<F.length;la++)(oa=k.get(F[la]))&&oa.length&&
a.push.apply(a,r(oa));a=a.filter(function(Za){return!Za.destroyed});a.length?zqa(this,Z,a):Hh(this,Z)}P.length=0;zc.forEach(function(Za){c.players.push(Za);Za.onDone(function(){Za.destroy();var Fb=c.players.indexOf(Za);c.players.splice(Fb,1)});Za.play()});return zc};var gA=function(a,b){a._flushFns.push(b)};g=hA.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(k){k.queued||(h||k.triggerName==d)&&f.push(k)})}if(c||d)f=f.filter(function(k){return c&&c!=k.namespaceId||d&&d!=k.triggerName?!1:!0});return f};
g._beforeAnimationBuild=function(a,b,c){var d=b.triggerName,e=b.element;a=b.isRemovalTransition?void 0:a;d=b.isRemovalTransition?void 0:d;for(var f=l(b.timelines),h=f.next(),k={};!h.done;k={players$jscomp$9:void 0},h=f.next()){h=h.value.element;var q=h!==e;k.players$jscomp$9=Ch(c,h,[]);this._getPreviousPlayers(h,q,a,d,b.toState).forEach(function(t){return function(w){var z=w._player;z.beforeDestroy&&z.beforeDestroy();w.destroy();t.players$jscomp$9.push(w)}}(k))}wh(e,b.fromStyles)};
g._buildAnimation=function(a,b,c,d,e,f){var h=this,k=b.triggerName,q=b.element,t=[],w=new Set,z=new Set,F=b.timelines.map(function(H){var O=H.element;w.add(O);var P=O.__ng_removed;if(P&&P.removedBeforeQueried)return new Ah(H.duration,H.delay);P=O!==q;var U=Bqa((c.get(O)||hVb).map(function(oa){return oa._player})).filter(function(oa){return oa.element?oa.element===O:!1}),Z=e.get(O),la=f.get(O);Z=Tpa(H.keyframes,Z,la);U=h._buildPlayer(H,Z,U);H.subTimeline&&d&&z.add(O);P&&(H=new mVb(a,k,O),xVb(H,U),
t.push(H));return U});t.forEach(function(H){Ch(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 Z=U.indexOf(H);U.splice(Z,1)}0==U.length&&O.delete(P)}return U})});w.forEach(function(H){return Fh(H,"ng-animating")});var J=Bh(F);J.onDestroy(function(){w.forEach(function(H){return Gh(H,"ng-animating")});vh(q,b.toStyles)});z.forEach(function(H){Ch(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 Ah(a.duration,a.delay)};
var mVb=function(a,b,c){this.namespaceId=a;this.triggerName=b;this.element=c;this._player=new Ah;this._containsRealPlayer=!1;this._queuedCallbacks=new Map;this.destroyed=!1;this.parentPlayer=null;this.disabled=this.markedForDestroy=!1;this.queued=!0;this.totalTime=0},xVb=function(a,b){a._containsRealPlayer||(a._player=b,a._queuedCallbacks.forEach(function(c,d){c.forEach(function(e){return Vpa(b,d,void 0,e)})}),a._queuedCallbacks.clear(),a._containsRealPlayer=!0,a.totalTime=b.totalTime,a.queued=!1)},
yVb=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=mVb.prototype;g._queueEvent=function(a,b){Ch(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 iA=function(a,b,c,d){var e=this;this._driver=b;this._normalizer=c;this._triggerCache={};this.onRemovalComplete=function(){};this._transitionEngine=new hA(a.body,b,c,d);this._timelineEngine=new gVb(a.body,b,c);this._transitionEngine.onRemovalComplete=function(f,h){return e.onRemovalComplete(f,h)}};g=iA.prototype;
g.registerTrigger=function(a,b,c,d,e){a=a+"-"+d;c=this._triggerCache[a];if(!c){c=[];e=(new RUb(this._driver)).build(e,c,[]);if(c.length)throw new Ac(3404,!1);c=new dVb(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){uVb(this._transitionEngine,a,b)};
g.process=function(a,b,c,d){"@"==c.charAt(0)?(c=l(Xpa(c)),a=c.next().value,c=c.next().value,this._timelineEngine.command(a,b,c,d)):this._transitionEngine.trigger(a,b,c,d)};g.listen=function(a,b,c,d,e){return"@"==c.charAt(0)?(c=l(Xpa(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)};
Vg.Object.defineProperties(iA.prototype,{players:{configurable:!0,enumerable:!0,get:function(){return[].concat(r(this._transitionEngine.players),r(this._timelineEngine.players))}}});var Fqa=function(a,b,c){this._element=a;this._startStyles=b;this._endStyles=c;this._state=0;var d=zVb.get(a);d||zVb.set(a,d=new Map);this._initialStyles=d};Fqa.prototype.start=function(){1>this._state&&(this._startStyles&&vh(this._element,this._startStyles,this._initialStyles),this._state=1)};Fqa.prototype.finish=function(){this.start();2>this._state&&(vh(this._element,this._initialStyles),this._endStyles&&(vh(this._element,this._endStyles),this._endStyles=null),this._state=1)};
Fqa.prototype.destroy=function(){this.finish();3>this._state&&(zVb.delete(this._element),this._startStyles&&(wh(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(wh(this._element,this._endStyles),this._endStyles=null),vh(this._element,this._initialStyles),this._state=3)};var zVb=new WeakMap;var AVb=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=AVb.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:Ppa(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};Vg.Object.defineProperties(AVb.prototype,{totalTime:{configurable:!0,enumerable:!0,get:function(){return this._delay+this._duration}}});var BVb=function(){};g=BVb.prototype;g.containsElement=function(a,b){return $pa(a,b)};g.getParentElement=function(a){return Zpa(a)};g.query=function(a,b,c){return aqa(a,b,c)};g.computeStyle=function(a,b){return Ppa(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 k=new Map;e=f.filter(function(t){return t instanceof AVb});0!==c&&0!==d||e.forEach(function(t){t.currentSnapshot.forEach(function(w,z){return k.set(z,w)})});var q=Jpa(b).map(function(t){return new Map(t)});q=Qpa(a,q,k);b=Gqa(a,q);return new AVb(a,q,h,b)};var jA=function(a,b,c,d){this.namespaceId=a;this.delegate=b;this.engine=c;this._onDestroy=d};g=jA.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)};
Vg.Object.defineProperties(jA.prototype,{data:{configurable:!0,enumerable:!0,get:function(){return this.delegate.data}}});var CVb=function(a,b,c,d,e){jA.call(this,b,c,d,e);this.factory=a;this.namespaceId=b};X(CVb,jA);CVb.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)};
CVb.prototype.listen=function(a,b,c){var d=this;if("@"==b.charAt(0)){a=Hqa(a);b=b.slice(1);var e="";"@"!=b.charAt(0)&&(e=l(Iqa(b)),b=e.next().value,e=e.next().value);return this.engine.listen(this.namespaceId,a,b,e,function(f){DVb(d.factory,f._data||-1,c,f)})}return this.delegate.listen(a,b,c)};var kA=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)}};
kA.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 jA("",d,this.engine,function(){return f.delete(d)}),f.set(d,b));return b}var h=b.id,k=b.id+"-"+this._currentId;this._currentId++;this.engine.register(k,a);var q=function(t){Array.isArray(t)?t.forEach(q):c.engine.registerTrigger(h,k,a,t.name,t)};b.data.animation.forEach(q);return new CVb(this,k,d,this.engine)};
kA.prototype.begin=function(){this._cdRecurDepth++;this.delegate.begin&&this.delegate.begin()};kA.prototype._scheduleCountTask=function(){var a=this;queueMicrotask(function(){a._microtaskId++})};
var DVb=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=l(f);f=h.next().value;h=h.next().value;f(h)});a._animationCallbacksBuffer=[]})});e.push([c,d])}};
kA.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 lA=function(a,b,c){iA.call(this,a,b,c,Gc(dPb,{optional:!0}))};X(lA,iA);lA.prototype.ngOnDestroy=function(){this.flush()};lA.\u0275fac=function(a){return new (a||lA)(p(Tg),p(QUb),p(MUb))};lA.\u0275prov=vc({token:lA,factory:lA.\u0275fac});var EVb=[{provide:MUb,useFactory:function(){return new PUb}},{provide:iA,useClass:lA},{provide:jPb,useFactory:function(a,b,c){return new kA(a,b,c)},deps:[Bz,iA,Ge]}],FVb=[{provide:QUb,useFactory:function(){return new BVb}},{provide:Su,useValue:"BrowserAnimations"}].concat(r(EVb));
[{provide:QUb,useClass:Yz},{provide:Su,useValue:"NoopAnimations"}].concat(r(EVb));var mA=function(){};mA.\u0275fac=function(a){return new (a||mA)};mA.\u0275mod=Nc({type:mA});mA.\u0275inj=wc({providers:FVb,imports:[Xz]});var GVb=["mat-button",""],HVb=["*"],IVb=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"},
JVb="mat-button mat-flat-button mat-icon-button mat-raised-button mat-stroked-button mat-mini-fab mat-fab".split(" "),KVb=Wg(Yg(Xg(function(a){this._elementRef=a}))),nA=function(a,b,c){var d=KVb.call(this,a)||this;d._focusMonitor=b;d._animationMode=c;d.isRoundButton=d._hasHostAttributes("mat-fab","mat-mini-fab");d.isIconButton=d._hasHostAttributes("mat-icon-button");for(var e=l(JVb),f=e.next();!f.done;f=e.next())f=f.value,d._hasHostAttributes(f)&&d._getHostElement().classList.add(f);a.nativeElement.classList.add("mat-button-base");
d.isRoundButton&&(d.color="accent");return d};X(nA,KVb);g=nA.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};g.focus=function(a,b){a?qx(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 Vc.apply(0,arguments).some(function(b){return a._getHostElement().hasAttribute(b)})};nA.\u0275fac=function(a){return new (a||nA)(A(Ad),A(px),A(Su,8))};
nA.\u0275cmp=Lc({type:nA,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(a,b){a&1&&Uf(Sy,5);if(a&2){var c;Yf(c=Zf())&&(b.ripple=c.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:6,hostBindings:function(a,b){a&2&&(pf("disabled",b.disabled||null)("mat-id-collision",null),yf("_mat-animation-noopable",
"NoopAnimations"===b._animationMode)("mat-button-disabled",b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[nf],attrs:GVb,ngContentSelectors:HVb,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&&(Lf(),E(0,"span",0),Mf(1),G(),I(2,"span",1)(3,"span",2));a&2&&(y(2),yf("mat-button-ripple-round",
b.isRoundButton||b.isIconButton),D("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[Sy],styles:[IVb()],encapsulation:2,changeDetection:0});var oA=function(a,b,c,d){var e=nA.call(this,b,a,c)||this;e._ngZone=d;e._haltDisabledEvents=function(f){e.disabled&&(f.preventDefault(),f.stopImmediatePropagation())};return e};X(oA,nA);
oA.prototype.ngAfterViewInit=function(){var a=this;nA.prototype.ngAfterViewInit.call(this);this._ngZone?this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)};oA.prototype.ngOnDestroy=function(){nA.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};
oA.\u0275fac=function(a){return new (a||oA)(A(px),A(Ad),A(Su,8),A(Ge,8))};
oA.\u0275cmp=Lc({type:oA,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:8,hostBindings:function(a,b){a&2&&(pf("tabindex",b.disabled?-1:b.tabIndex)("disabled",b.disabled||null)("aria-disabled",b.disabled.toString())("mat-id-collision",null),yf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-button-disabled",
b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[nf],attrs:GVb,ngContentSelectors:HVb,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&&(Lf(),E(0,"span",0),Mf(1),G(),I(2,"span",1)(3,"span",2));a&2&&(y(2),yf("mat-button-ripple-round",b.isRoundButton||
b.isIconButton),D("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[Sy],styles:[IVb()],encapsulation:2,changeDetection:0});Yg(function(){});var LVb=["text"],MVb=0,NVb=function(a,b){this.source=a;this.isUserInput=void 0===b?!1:b},pA=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-"+MVb++;this.onSelectionChange=new zv;this._stateChanges=new W.Subject};g=pA.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||Mg(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 NVb(this,void 0===a?!1:a))};
Vg.Object.defineProperties(pA.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=Og(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()}}});pA.\u0275fac=function(){Hd()};
pA.\u0275dir=Qc({type:pA,viewQuery:function(a,b){a&1&&Uf(LVb,7);if(a&2){var c;Yf(c=Zf())&&(b._text=c.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}});Hg({passive:!0,capture:!0});Hg({passive:!0,capture:!0});var qA=function(a,b,c,d){return pA.call(this,a,b,c,d)||this};X(qA,pA);qA.\u0275fac=function(a){return new (a||qA)(A(Ad),A(Uu),A(Oy,8),A(Py,8))};
qA.\u0275cmp=Lc({type:qA,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:13,hostBindings:function(a,b){a&1&&M("click",function(){return b._selectViaInteraction()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Hf("id",b.id),pf("tabindex",b._getTabIndex())("aria-selected",b.selected)("aria-disabled",b.disabled.toString())("mat-id-collision",null),yf("mat-selected",b.selected)("mat-option-multiple",b.multiple)("mat-active",b.active)("mat-option-disabled",
b.disabled))},exportAs:["matOption"],features:[nf],ngContentSelectors:["*"],decls:6,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(a,b){a&1&&(Lf(),C(0,Mqa,1,2,"mat-pseudo-checkbox",0),E(1,"span",1,2),Mf(3),G(),
C(4,Nqa,2,1,"span",3),I(5,"div",4));a&2&&(D("ngIf",b.multiple),y(4),D("ngIf",b.group&&b.group._inert),y(),D("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disabled||b.disableRipple))},dependencies:[Sy,dw,Ty],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n'],
encapsulation:2,changeDetection:0});var rA=function(){};rA.\u0275fac=function(a){return new (a||rA)};rA.\u0275mod=Nc({type:rA});rA.\u0275inj=wc({imports:[Vy,uw,Gy,Wy]});var OVb={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},PVb=mh("dialogContainer",[ph("void, exit",oh({opacity:0,transform:"scale(0.7)"})),ph("enter",oh({transform:"none"})),rh("* => enter",Gpa([nh("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",oh({transform:"none",opacity:1})),th("@*",sh())]),OVb),rh("* => void, * => exit",Gpa([nh("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",oh({opacity:0})),th("@*",sh())]),OVb)]);var sA=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 tA=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 uA=function(a,b,c,d,e,f,h,k){this._isDisposed=!1;this._elementRef=a;this._focusTrapFactory=b;this._config=d;this._interactivityChecker=e;this._ngZone=f;this._overlayRef=h;this._focusMonitor=k;this._platform=Gc(fx);this._closeInteractionType=this._elementFocusedBeforeDialogWasOpened=this._focusTrap=null;this._ariaLabelledByQueue=[];this._changeDetectorRef=Gc(Uu);this._document=c;this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)};X(uA,Vx);g=uA.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)||kx(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=Kg();var c=this._elementRef.nativeElement;if(!a||a===this._document.body||a===c||c.contains(a))this._focusMonitor?(qx(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=Kg();return a===b||a.contains(b)};g._initializeFocusTrap=function(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Kg()))};
g._handleBackdropClicks=function(){var a=this;this._overlayRef.backdropClick().subscribe(function(){a._config.disableClose&&a._recaptureFocus()})};uA.\u0275fac=function(a){return new (a||uA)(A(Ad),A(lx),A(Tg,8),A(tA),A(gx),A(Ge),A(ty),A(px))};
uA.\u0275cmp=Lc({type:uA,selectors:[["cdk-dialog-container"]],viewQuery:function(a,b){a&1&&Uf(Yx,7);if(a&2){var c;Yf(c=Zf())&&(b._portalOutlet=c.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,b){a&2&&pf("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:[nf,dg],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&C(0,Oqa,0,0,"ng-template",0)},dependencies:[Yx],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2});var QVb=new Xc("DialogScrollStrategy",{providedIn:"root",factory:function(){var a=Gc(Cy);return function(){return a.scrollStrategies.block()}}}),RVb=new Xc("DialogData"),SVb=new Xc("DefaultDialogConfig");var TVb=function(a,b){var c=this;this.overlayRef=a;this.config=b;this.closed=new W.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||Mg(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=TVb.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 UVb=0,vA=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 W.Subject;this._afterOpenedAtThisLevel=new W.Subject;this._ariaHiddenElements=new Map;(0,W.defer)(function(){return h.openDialogs.length?h._getAfterAllClosed():h._getAfterAllClosed().pipe(cf(void 0))});this._scrollStrategy=f};g=vA.prototype;
g.open=function(a,b){var c=this;b=Object.assign({},this._defaultOptions||new tA,b);b.id=b.id||"cdk-dialog-"+UVb++;b.id&&this.getDialogById(b.id);var d=this._getOverlayConfig(b);d=this._overlay.create(d);var e=new TVb(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(){Pqa(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;Pqa(this._openDialogsAtThisLevel,function(b){!1===b.config.closeOnDestroy&&a._removeOpenDialog(b,!1)});Pqa(this._openDialogsAtThisLevel,function(b){return b.close()});this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete();this._openDialogsAtThisLevel=[]};
g._getOverlayConfig=function(a){var b=new sy({positionStrategy:a.positionStrategy||zy(yy(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:tA,useValue:c},{provide:TVb,useValue:b},{provide:ty,useValue:a}];c.container?"function"===typeof c.container?d=c.container:(d=c.container.type,b.push.apply(b,r(c.container.providers(c)))):d=uA;c=new Tx(d,c.viewContainerRef,og({parent:e||this._injector,providers:b}),c.componentFactoryResolver);return a.attach(c).instance};
g._attachDialogContent=function(a,b,c,d){if(a instanceof Rf){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 Ux(a,null,b,e))}else e=this._createInjector(d,b,c,this._injector),a=c.attachComponentPortal(new Tx(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:RVb,useValue:a.data},{provide:TVb,useValue:b}];a.providers&&("function"===typeof a.providers?e.push.apply(e,r(a.providers(b,a,c))):e.push.apply(e,r(a.providers)));!a.direction||f&&f.get(ay,null,{optional:!0})||e.push({provide:ay,useValue:{value:a.direction,change:(0,W.of)()}});return og({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=pSb(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};
Vg.Object.defineProperties(vA.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}}});vA.\u0275fac=function(a){return new (a||vA)(p(Cy),p(He),p(SVb,8),p(vA,12),p(fy),p(QVb))};vA.\u0275prov=vc({token:vA,factory:vA.\u0275fac,providedIn:"root"});var wA=function(){};wA.\u0275fac=function(a){return new (a||wA)};wA.\u0275mod=Nc({type:wA});wA.\u0275inj=wc({providers:[vA],imports:[Fy,Zx,Bx,Zx]});var xA=function(a,b,c,d,e,f,h,k){uA.call(this,a,b,c,d,e,f,h,k);this._animationStateChanged=new zv};X(xA,uA);xA.prototype._captureInitialFocus=function(){this._config.delayFocusTrap||this._trapFocus()};xA.prototype._openAnimationDone=function(a){this._config.delayFocusTrap&&this._trapFocus();this._animationStateChanged.next({state:"opened",totalTime:a})};xA.\u0275fac=function(a){return new (a||xA)(A(Ad),A(lx),A(Tg,8),A(sA),A(gx),A(Ge),A(ty),A(px))};
xA.\u0275cmp=Lc({type:xA,selectors:[["ng-component"]],features:[nf],decls:0,vars:0,template:function(){},encapsulation:2});var VVb=function(a,b,c){var d=this;this._ref=a;this._containerInstance=c;this._afterOpened=new W.Subject;this._beforeClosed=new W.Subject;this._state=0;this.disableClose=b.disableClose;this.id=a.id;c._animationStateChanged.pipe(Ce(function(e){return"opened"===e.state}),Ue()).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(Ce(function(e){return"closed"===e.state}),Ue()).subscribe(function(){clearTimeout(d._closeFallbackTimeout);d._finishDialogClose()});
a.overlayRef._detachments.subscribe(function(){d._beforeClosed.next(d._result);d._beforeClosed.complete();d._finishDialogClose()});(0,W.merge)(this.backdropClick(),this.keydownEvents().pipe(Ce(function(e){return 27===e.keyCode&&!d.disableClose&&!Mg(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType="keydown"===e.type?"keyboard":"mouse",d.close(void 0))})};g=VVb.prototype;
g.close=function(a){var b=this;this._result=a;this._containerInstance._animationStateChanged.pipe(Ce(function(c){return"closing"===c.state}),Ue()).subscribe(function(c){b._beforeClosed.next(a);b._beforeClosed.complete();vSb(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):yy(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):zy(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 WVb=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 yA=function(a,b,c,d,e,f,h,k,q){uA.call(this,a,b,c,d,e,f,h,q);var t=this;this._animationMode=k;this._animationStateChanged=new zv;this._animationsEnabled="NoopAnimations"!==this._animationMode;this._actionSectionCount=0;this._hostElement=this._elementRef.nativeElement;var w;this._enterAnimationDuration=this._animationsEnabled?null!=(w=Rqa(this._config.enterAnimationDuration))?w:150:0;var z;this._exitAnimationDuration=this._animationsEnabled?null!=(z=Rqa(this._config.exitAnimationDuration))?z: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})}};X(yA,uA);g=yA.prototype;g._contentAttached=function(){uA.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(){uA.prototype.ngOnDestroy.call(this);null!==this._animationTimer&&clearTimeout(this._animationTimer)};
g.attachComponentPortal=function(a){a=uA.prototype.attachComponentPortal.call(this,a);a.location.nativeElement.classList.add("mat-mdc-dialog-component-host");return a};yA.\u0275fac=function(a){return new (a||yA)(A(Ad),A(lx),A(Tg,8),A(WVb),A(gx),A(Ge),A(ty),A(Su,8),A(px))};
yA.\u0275cmp=Lc({type:yA,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(a,b){a&2&&(Hf("id",b._config.id),pf("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),yf("_mat-animation-noopable",!b._animationsEnabled)("mat-mdc-dialog-container-with-actions",
0<b._actionSectionCount))},standalone:!0,features:[nf,dg],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(a){a&1&&(E(0,"div",0)(1,"div",1),C(2,Qqa,0,0,"ng-template",2),G()())},dependencies:[Yx],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--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 XVb=function(a,b,c){var d=this;this._ref=a;this._containerInstance=c;this._afterOpened=new W.Subject;this._beforeClosed=new W.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}),Ue()).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(Ce(function(e){return"closed"===e.state}),Ue()).subscribe(function(){clearTimeout(d._closeFallbackTimeout);
d._finishDialogClose()});a.overlayRef._detachments.subscribe(function(){d._beforeClosed.next(d._result);d._beforeClosed.complete();d._finishDialogClose()});(0,W.merge)(this.backdropClick(),this.keydownEvents().pipe(Ce(function(e){return 27===e.keyCode&&!d.disableClose&&!Mg(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType="keydown"===e.type?"keyboard":"mouse",d.close(void 0))})};g=XVb.prototype;
g.close=function(a){var b=this;this._result=a;this._containerInstance._animationStateChanged.pipe(Ce(function(c){return"closing"===c.state}),Ue()).subscribe(function(c){b._beforeClosed.next(a);b._beforeClosed.complete();vSb(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):yy(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):zy(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 YVb=new Xc("MatMdcDialogData"),ZVb=new Xc("mat-mdc-dialog-default-options"),$Vb=new Xc("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:function(){var a=Gc(Cy);return function(){return a.scrollStrategies.block()}}}),aWb=0,zA=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 W.Subject;this._afterOpenedAtThisLevel=new W.Subject;this.dialogConfigClass=WVb;
(0,W.defer)(function(){return h.openDialogs.length?h._getAfterAllClosed():h._getAfterAllClosed().pipe(cf(void 0))});this._dialog=b.get(vA);this._dialogRefConstructor=XVb;this._dialogContainerType=yA;this._dialogDataToken=YVb};g=zA.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 WVb,b);b.id=b.id||"mat-mdc-dialog-"+aWb++;b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();a=this._dialog.open(a,Object.assign({},b,{positionStrategy:zy(yy(this._overlay.position().global())),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:tA,useValue:b}]}},templateContext:function(){return{dialogRef:d}},
providers:function(e,f,h){d=new c._dialogRefConstructor(e,b,h);var k;d.updatePosition(null==(k=b)?void 0:k.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()};
Vg.Object.defineProperties(zA.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}}});zA.\u0275fac=function(a){return new (a||zA)(p(Cy),p(He),p(Aw,8),p(ZVb,8),p($Vb),p(zA,12),p(fy),p(Su,8))};zA.\u0275prov=vc({token:zA,factory:zA.\u0275fac,providedIn:"root"});var bWb=0,AA=function(a,b,c,d,e,f,h,k,q){var t=this;this._overlay=a;this._defaultOptions=c;this._parentDialog=d;this._dialogRefConstructor=h;this._dialogContainerType=k;this._dialogDataToken=q;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new W.Subject;this._afterOpenedAtThisLevel=new W.Subject;this._idPrefix="mat-dialog-";this.dialogConfigClass=sA;(0,W.defer)(function(){return t.openDialogs.length?t._getAfterAllClosed():t._getAfterAllClosed().pipe(cf(void 0))});this._scrollStrategy=
f;this._dialog=b.get(vA)};g=AA.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 sA,b);b.id=b.id||"mat-dialog-"+bWb++;b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();a=this._dialog.open(a,Object.assign({},b,{positionStrategy:zy(yy(this._overlay.position().global())),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:tA,useValue:b}]}},templateContext:function(){return{dialogRef:d}},
providers:function(e,f,h){d=new c._dialogRefConstructor(e,b,h);var k;d.updatePosition(null==(k=b)?void 0:k.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()};
Vg.Object.defineProperties(AA.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}}});AA.\u0275fac=function(){Hd()};AA.\u0275prov=vc({token:AA,factory:AA.\u0275fac});var BA=function(){VVb.apply(this,arguments)};X(BA,VVb);var cWb=function(){sA.apply(this,arguments);this.enterAnimationDuration=OVb.params.enterAnimationDuration;this.exitAnimationDuration=OVb.params.exitAnimationDuration};X(cWb,sA);var CA=function(a,b,c,d,e,f,h,k){xA.call(this,a,b,c,d,e,f,h,k);this._state="enter"};X(CA,xA);CA.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})};
CA.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})};CA.prototype._startExitAnimation=function(){this._state="exit";this._changeDetectorRef.markForCheck()};
CA.prototype._getAnimationState=function(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||"150ms",exitAnimationDuration:this._config.exitAnimationDuration||"75ms"}}};CA.\u0275fac=function(a){return new (a||CA)(A(Ad),A(lx),A(Tg,8),A(cWb),A(gx),A(Ge),A(ty),A(px))};
CA.\u0275cmp=Lc({type:CA,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:8,hostBindings:function(a,b){a&1&&Kf("@dialogContainer.start",function(c){return b._onAnimationStart(c)})("@dialogContainer.done",function(c){return b._onAnimationDone(c)});a&2&&(Hf("id",b._config.id),pf("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),If("@dialogContainer",b._getAnimationState()))},features:[nf],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&C(0,Sqa,0,0,"ng-template",0)},dependencies:[Yx],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:[PVb]}});var DA=new Xc("MatDialogData"),dWb=new Xc("mat-dialog-default-options"),eWb=new Xc("mat-dialog-scroll-strategy"),fWb={provide:eWb,deps:[Cy],useFactory:function(a){return function(){return a.scrollStrategies.block()}}},EA=function(a,b,c,d,e,f,h,k){AA.call(this,a,b,d,f,h,e,BA,CA,DA,k);this.dialogConfigClass=cWb};X(EA,AA);EA.\u0275fac=function(a){return new (a||EA)(p(Cy),p(He),p(Aw,8),p(dWb,8),p(eWb),p(EA,12),p(fy),p(Su,8))};EA.\u0275prov=vc({token:EA,factory:EA.\u0275fac});var gWb=0,FA=function(a,b,c){this.dialogRef=a;this._elementRef=b;this._dialog=c;this.type="button"};FA.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=Tqa(this._elementRef,this._dialog.openDialogs))};FA.prototype.ngOnChanges=function(a){if(a=a._matDialogClose||a._matDialogCloseResult)this.dialogResult=a.currentValue};FA.prototype._onButtonClick=function(a){var b=this.dialogRef,c=this.dialogResult;b._closeInteractionType=0===a.screenX&&0===a.screenY?"keyboard":"mouse";b.close(c)};
FA.\u0275fac=function(a){return new (a||FA)(A(BA,8),A(Ad),A(EA))};FA.\u0275dir=Qc({type:FA,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(a,b){a&1&&M("click",function(c){return b._onButtonClick(c)});a&2&&pf("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:[ed]});
var GA=function(a,b,c){this._dialogRef=a;this._elementRef=b;this._dialog=c;this.id="mat-dialog-title-"+gWb++};GA.prototype.ngOnInit=function(){var a=this;this._dialogRef||(this._dialogRef=Tqa(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)})};
GA.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)})};GA.\u0275fac=function(a){return new (a||GA)(A(BA,8),A(Ad),A(EA))};GA.\u0275dir=Qc({type:GA,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(a,b){a&2&&Hf("id",b.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]});
var HA=function(){};HA.\u0275fac=function(a){return new (a||HA)};HA.\u0275dir=Qc({type:HA,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]});var IA=function(){this.align="start"};IA.\u0275fac=function(a){return new (a||IA)};
IA.\u0275dir=Qc({type:IA,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(a,b){a&2&&yf("mat-dialog-actions-align-center","center"===b.align)("mat-dialog-actions-align-end","end"===b.align)},inputs:{align:"align"}});var JA=function(){};JA.\u0275fac=function(a){return new (a||JA)};JA.\u0275mod=Nc({type:JA});JA.\u0275inj=wc({providers:[EA,fWb],imports:[wA,Fy,Zx,Gy,Gy]});var hWb=new Xc("MatError");var iWb=0,KA=function(){this.align="start";this.id="mat-mdc-hint-"+iWb++};KA.\u0275fac=function(a){return new (a||KA)};KA.\u0275dir=Qc({type:KA,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(a,b){a&2&&(Hf("id",b.id),pf("align",null),yf("mat-mdc-form-field-hint-end","end"===b.align))},inputs:{align:"align",id:"id"},standalone:!0});var LA=function(){};LA.\u0275fac=function(a){return new (a||LA)};LA.\u0275dir=Qc({type:LA,selectors:[["mat-label"]],standalone:!0});var jWb=new Xc("MatPrefix");var kWb=new Xc("MatSuffix");var lWb=mh("transitionMessages",[ph("enter",oh({opacity:1,transform:"translateY(0%)"})),rh("void => enter",[oh({opacity:0,transform:"translateY(-5px)"}),nh("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var MA=function(){};MA.\u0275fac=function(a){return new (a||MA)};MA.\u0275dir=Qc({type:MA});var mWb=function(a){var b=this;this._box=a;this._destroyed=new W.Subject;this._resizeSubject=new W.Subject;this._elementObservables=new Map;"undefined"!==typeof ResizeObserver&&(this._resizeObserver=new ResizeObserver(function(c){return b._resizeSubject.next(c)}))};
mWb.prototype.observe=function(a){var b=this;this._elementObservables.has(a)||this._elementObservables.set(a,(new W.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})}),af({bufferSize:1,refCount:!0}),ef(this._destroyed)));return this._elementObservables.get(a)};
mWb.prototype.destroy=function(){this._destroyed.next();this._destroyed.complete();this._resizeSubject.complete();this._elementObservables.clear()};var NA=function(){this._observers=new Map;this._ngZone=Gc(Ge)};NA.prototype.ngOnDestroy=function(){for(var a=l(this._observers),b=a.next();!b.done;b=a.next())b=l(b.value),b.next(),b.next().value.destroy();this._observers.clear()};
NA.prototype.observe=function(a,b){b=(null==b?void 0:b.box)||"content-box";this._observers.has(b)||this._observers.set(b,new mWb(b));return this._observers.get(b).observe(a)};NA.\u0275fac=function(a){return new (a||NA)};NA.\u0275prov=vc({token:NA,factory:NA.\u0275fac,providedIn:"root"});var nWb=new Xc("FloatingLabelParent"),OA=function(a){this._elementRef=a;this._monitorResize=this._floating=!1;this._resizeObserver=Gc(NA);this._ngZone=Gc(Ge);this._parent=Gc(nWb);this._resizeSubscription=new W.Subscription};OA.prototype.ngOnDestroy=function(){this._resizeSubscription.unsubscribe()};
OA.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};OA.prototype._handleResize=function(){var a=this;setTimeout(function(){return a._parent._handleLabelResized()})};
OA.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()})})};
Vg.Object.defineProperties(OA.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}}});
OA.\u0275fac=function(a){return new (a||OA)(A(Ad))};OA.\u0275dir=Qc({type:OA,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(a,b){a&2&&yf("mdc-floating-label--float-above",b.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});var PA=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)})};
PA.prototype.activate=function(){var a=this._elementRef.nativeElement.classList;a.remove("mdc-line-ripple--deactivating");a.add("mdc-line-ripple--active")};PA.prototype.deactivate=function(){this._elementRef.nativeElement.classList.add("mdc-line-ripple--deactivating")};PA.prototype.ngOnDestroy=function(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)};PA.\u0275fac=function(a){return new (a||PA)(A(Ad),A(Ge))};
PA.\u0275dir=Qc({type:PA,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});var oWb=["notch"],QA=function(a,b){this._elementRef=a;this._ngZone=b;this.open=!1};QA.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")};
QA.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)":""};QA.\u0275fac=function(a){return new (a||QA)(A(Ad),A(Ge))};
QA.\u0275cmp=Lc({type:QA,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(a,b){a&1&&Uf(oWb,5);if(a&2){var c;Yf(c=Zf())&&(b._notch=c.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(a,b){a&2&&yf("mdc-notched-outline--notched",b.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[dg],attrs:["matFormFieldNotchedOutline",""],ngContentSelectors:["*"],decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],
["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(a){a&1&&(Lf(),I(0,"div",0),E(1,"div",1,2),Mf(3),G(),I(4,"div",3))},encapsulation:2,changeDetection:0});var pWb=["textField"],qWb=["iconPrefixContainer"],rWb=["textPrefixContainer"],sWb=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],RA=new Xc("MatFormField"),tWb=new Xc("MAT_FORM_FIELD_DEFAULT_OPTIONS"),uWb=0,SA=function(a,b,c,d,e,f,h){this._elementRef=a;this._changeDetectorRef=b;this._ngZone=
c;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-"+uWb++;this._hintLabelId="mat-mdc-hint-"+uWb++;this._subscriptAnimationState="";this._destroyed=new W.Subject;this._isFocused=null;this._needsOutlineLabelOffsetUpdateOnStable=!1;f&&(f.appearance&&
(this.appearance=f.appearance),this._hideRequiredMarker=!(null==f||!f.hideRequiredMarker),f.color&&(this.color=f.color))};g=SA.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};g.getConnectedOverlayOrigin=function(){return this._textField||this._elementRef};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(ef(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,W.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._needsOutlineLabelOffsetUpdateOnStable=!0});this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.pipe(ef(a._destroyed)).subscribe(function(){a._needsOutlineLabelOffsetUpdateOnStable&&(a._needsOutlineLabelOffsetUpdateOnStable=!1,a._updateOutlineLabelOffset())})});this._dir.change.pipe(ef(this._destroyed)).subscribe(function(){return a._needsOutlineLabelOffsetUpdateOnStable=
!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,r(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,r(this._errorChildren.map(function(d){return d.id})));this._control.setDescribedByIds(a)}};
g._updateOutlineLabelOffset=function(){if(this._platform.isBrowser&&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._needsOutlineLabelOffsetUpdateOnStable=!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)};
Vg.Object.defineProperties(SA.prototype,{hideRequiredMarker:{configurable:!0,enumerable:!0,get:function(){return this._hideRequiredMarker},set:function(a){this._hideRequiredMarker=Og(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._needsOutlineLabelOffsetUpdateOnStable=!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}}});SA.\u0275fac=function(a){return new (a||SA)(A(Ad),A(Uu),A(Ge),A(ay),A(fx),A(tWb,8),A(Su,8),A(Tg))};
SA.\u0275cmp=Lc({type:SA,selectors:[["mat-form-field"]],contentQueries:function(a,b,c){a&1&&(Vf(c,LA,5),Vf(c,LA,7),Vf(c,MA,5),Vf(c,jWb,5),Vf(c,kWb,5),Vf(c,hWb,5),Vf(c,KA,5));if(a&2){var d;Yf(d=Zf())&&(b._labelChildNonStatic=d.first);Yf(d=Zf())&&(b._labelChildStatic=d.first);Yf(d=Zf())&&(b._formFieldControl=d.first);Yf(d=Zf())&&(b._prefixChildren=d);Yf(d=Zf())&&(b._suffixChildren=d);Yf(d=Zf())&&(b._errorChildren=d);Yf(d=Zf())&&(b._hintChildren=d)}},viewQuery:function(a,b){a&1&&(Uf(pWb,5),Uf(qWb,5),
Uf(rWb,5),Uf(OA,5),Uf(QA,5),Uf(PA,5));if(a&2){var c;Yf(c=Zf())&&(b._textField=c.first);Yf(c=Zf())&&(b._iconPrefixContainer=c.first);Yf(c=Zf())&&(b._textPrefixContainer=c.first);Yf(c=Zf())&&(b._floatingLabel=c.first);Yf(c=Zf())&&(b._notchedOutline=c.first);Yf(c=Zf())&&(b._lineRipple=c.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(a,b){a&2&&yf("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:[bg([{provide:RA,useExisting:SA},{provide:nWb,useExisting:SA}]),dg],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",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],
[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden",
"true","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],
[1,"mat-mdc-form-field-hint-spacer"]],template:function(a,b){a&1&&(Lf(sWb),C(0,Wqa,1,1,"ng-template",null,0,jg),E(2,"div",1,2),M("click",function(){return b._control.onContainerClick()}),C(4,Xqa,1,0,"div",3),E(5,"div",4),C(6,$qa,2,2,"div",5)(7,ara,3,0,"div",6)(8,bra,3,0,"div",7),E(9,"div",8),C(10,dra,1,1,null,9),Mf(11),G(),C(12,era,2,0,"div",10)(13,fra,2,0,"div",11),G(),C(14,gra,1,0,"div",12),G(),E(15,"div",13),C(16,hra,2,1)(17,jra,5,2),G());if(a&2){var c;y(2);yf("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);y(2);Cf(4,b._hasOutline()||b._control.disabled?-1:4);y(2);Cf(6,b._hasOutline()?6:-1);y();Cf(7,b._hasIconPrefix?7:-1);y();Cf(8,b._hasTextPrefix?8:-1);y(2);Cf(10,!b._hasOutline()||b._forceDisplayInfixLabel()?10:-1);y(2);Cf(12,b._hasTextSuffix?12:-1);y();Cf(13,b._hasIconSuffix?13:-1);y();Cf(14,b._hasOutline()?-1:14);y();yf("mat-mdc-form-field-subscript-dynamic-size",
"dynamic"===b.subscriptSizing);y();Cf(16,"error"===(c=b._getDisplayedMessages())?16:"hint"===c?17:-1)}},dependencies:[OA,QA,lw,PA,KA],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%}.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: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:[lWb]},changeDetection:0});var TA=function(){};TA.\u0275fac=function(a){return new (a||TA)};TA.\u0275mod=Nc({type:TA});TA.\u0275inj=wc({imports:[Gy,uw,zx,Gy]});var vWb=Number.MAX_SAFE_INTEGER,UA=function(a,b){this.id="mat-error-"+vWb--;a||b.nativeElement.setAttribute("aria-live","polite")};UA.\u0275fac=function(a){return new (a||UA)(ud("aria-live"),A(Ad))};UA.\u0275dir=Qc({type:UA,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(a,b){a&2&&pf("id",b.id)},inputs:{id:"id"},features:[bg([{provide:hWb,useExisting:UA}])]});var wWb=new Xc("MAT_INPUT_VALUE_ACCESSOR");var xWb=Hg({passive:!0}),VA=function(a,b){this._platform=a;this._ngZone=b;this._monitoredElements=new Map};
VA.prototype.monitor=function(a){var b=this;if(!this._platform.isBrowser)return W.EMPTY;var c=Qg(a);if(a=this._monitoredElements.get(c))return a.subject;var d=new W.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,xWb);c.classList.add("cdk-text-field-autofill-monitored")});this._monitoredElements.set(c,{subject:d,unlisten:function(){c.removeEventListener("animationstart",e,xWb)}});return d};
VA.prototype.stopMonitoring=function(a){a=Qg(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))};VA.prototype.ngOnDestroy=function(){var a=this;this._monitoredElements.forEach(function(b,c){return a.stopMonitoring(c)})};VA.\u0275fac=function(a){return new (a||VA)(p(fx),p(Ge))};VA.\u0275prov=vc({token:VA,factory:VA.\u0275fac,providedIn:"root"});var WA=function(a,b,c,d){var e=this;this._elementRef=a;this._platform=b;this._ngZone=c;this._destroyed=new W.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=WA.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,XA(this),this._ngZone.runOutsideAngular(function(){(0,W.fromEvent)(a._getWindow(),"resize").pipe(Oe(16),ef(a._destroyed)).subscribe(function(){return XA(a,!0)});a._textareaElement.addEventListener("focus",a._handleFocusEvent);a._textareaElement.addEventListener("blur",a._handleFocusEvent)}),this._isViewInited=!0,XA(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&&XA(this)};
var XA=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=WA.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)};
Vg.Object.defineProperties(WA.prototype,{minRows:{configurable:!0,enumerable:!0,get:function(){return this._minRows},set:function(a){this._minRows=Rg(a);this._setMinHeight()}},maxRows:{configurable:!0,enumerable:!0,get:function(){return this._maxRows},set:function(a){this._maxRows=Rg(a);this._setMaxHeight()}},enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){this._enabled!==a&&((this._enabled=a)?XA(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()}}});WA.\u0275fac=function(a){return new (a||WA)(A(Ad),A(fx),A(Ge),A(Tg,8))};
WA.\u0275dir=Qc({type:WA,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(a){a&1&&M("input",function(){})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",pg],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],standalone:!0,features:[of]});var YA=function(){};YA.\u0275fac=function(a){return new (a||YA)};YA.\u0275mod=Nc({type:YA});YA.\u0275inj=wc({});var ZA=function(){};ZA.\u0275fac=function(a){return new (a||ZA)};ZA.\u0275dir=Qc({type:ZA});new Xc("FloatingLabelParent");var yWb="button checkbox file hidden image radio range reset submit".split(" "),zWb=Number.MAX_SAFE_INTEGER,AWb=Boa(function(a,b,c,d){this._defaultErrorStateMatcher=a;this._parentForm=b;this._parentFormGroup=c;this.ngControl=d;this.stateChanges=new W.Subject}),$A=function(a,b,c,d,e,f,h,k,q,t){var w=AWb.call(this,f,d,e,c)||this;w._elementRef=a;w._platform=b;w._autofillMonitor=k;w._formField=t;w._uid="mat-input-"+zWb--;w.focused=!1;w.stateChanges=new W.Subject;w.controlType="mat-input";w.autofilled=
!1;w._disabled=!1;w._type="text";w._readonly=!1;w._neverEmptyInputTypes="date datetime datetime-local month time week".split(" ").filter(function(F){return Zna().has(F)});w._iOSKeyupListener=function(F){F=F.target;F.value||0!==F.selectionStart||0!==F.selectionEnd||(F.setSelectionRange(1,1),F.setSelectionRange(0,0))};c=w._elementRef.nativeElement;var z=c.nodeName.toLowerCase();w._inputValueAccessor=h||c;w._previousNativeValue=w.value;w.id=w.id;b.IOS&&q.runOutsideAngular(function(){a.nativeElement.addEventListener("keyup",
w._iOSKeyupListener)});w._isServer=!w._platform.isBrowser;w._isNativeSelect="select"===z;w._isTextarea="textarea"===z;w._isInFormField=!!t;w._isNativeSelect&&(w.controlType=c.multiple?"mat-native-select-multiple":"mat-native-select");return w};X($A,AWb);g=$A.prototype;g.ngAfterViewInit=function(){var a=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(b){a.autofilled=b.isAutofilled;a.stateChanges.next()})};g.ngOnChanges=function(){this.stateChanges.next()};
g.ngOnDestroy=function(){this.stateChanges.complete();this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement);this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)};g.ngDoCheck=function(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next()));this._dirtyCheckNativeValue();this._dirtyCheckPlaceholder()};
g.focus=function(a){this._elementRef.nativeElement.focus(a)};g._focusChanged=function(a){a!==this.focused&&(this.focused=a,this.stateChanges.next())};g._onInput=function(){};g._dirtyCheckNativeValue=function(){var a=this._elementRef.nativeElement.value;this._previousNativeValue!==a&&(this._previousNativeValue=a,this.stateChanges.next())};
g._dirtyCheckPlaceholder=function(){var a=this._getPlaceholder();if(a!==this._previousPlaceholder){var b=this._elementRef.nativeElement;(this._previousPlaceholder=a)?b.setAttribute("placeholder",a):b.removeAttribute("placeholder")}};g._getPlaceholder=function(){return this.placeholder||null};g._validateType=function(){yWb.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)};
Vg.Object.defineProperties($A.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Og(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:DRb(b))?d:!1},
set:function(a){this._required=Og(a)}},type:{configurable:!0,enumerable:!0,get:function(){return this._type},set:function(a){this._type=a||"text";this._validateType();!this._isTextarea&&Zna().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},value:{configurable:!0,enumerable:!0,get:function(){return this._inputValueAccessor.value},set:function(a){a!==this.value&&(this._inputValueAccessor.value=a,this.stateChanges.next())}},readonly:{configurable:!0,enumerable:!0,get:function(){return this._readonly},
set:function(a){this._readonly=Og(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}}});
$A.\u0275fac=function(a){return new (a||$A)(A(Ad),A(fx),A(Fw,10),A(Mw,8),A(Ww,8),A(My),A(wWb,10),A(VA),A(Ge),A(RA,8))};
$A.\u0275dir=Qc({type:$A,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&&M("focus",function(){return b._focusChanged(!0)})("blur",function(){return b._focusChanged(!1)})("input",function(){});a&2&&(Hf("id",b.id)("disabled",b.disabled)("required",b.required),pf("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),yf("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"],features:[bg([{provide:ZA,useExisting:$A}]),nf,ed]});var BWb=Number.MAX_SAFE_INTEGER,CWb=new Xc("MatHint"),aB=function(){this.align="start";this.id="mat-hint-"+BWb--};aB.\u0275fac=function(a){return new (a||aB)};aB.\u0275dir=Qc({type:aB,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(a,b){a&2&&(pf("id",b.id)("align",null),yf("mat-form-field-hint-end","end"===b.align))},inputs:{align:"align",id:"id"},features:[bg([{provide:CWb,useExisting:aB}])]});var bB=function(){};bB.\u0275fac=function(a){return new (a||bB)};bB.\u0275dir=Qc({type:bB,selectors:[["mat-label"]]});var cB=function(){};cB.\u0275fac=function(a){return new (a||cB)};cB.\u0275dir=Qc({type:cB,selectors:[["mat-placeholder"]]});var DWb=["connectionContainer"],EWb=["inputContainer"],FWb=["label"],GWb=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],HWb=Number.MAX_SAFE_INTEGER,IWb=Wg(function(a){this._elementRef=a},"primary"),JWb=new Xc("MAT_FORM_FIELD_DEFAULT_OPTIONS"),dB=function(a,b,c,d,e,f,h){a=IWb.call(this,a)||this;a._changeDetectorRef=b;a._dir=c;a._defaults=d;a._platform=e;a._ngZone=f;a._outlineGapCalculationNeededImmediately=
!1;a._outlineGapCalculationNeededOnStable=!1;a._destroyed=new W.Subject;a._hideRequiredMarker=!1;a._showAlwaysAnimate=!1;a._subscriptAnimationState="";a._hintLabel="";a._hintLabelId="mat-hint-"+HWb--;a._labelId="mat-form-field-label-"+HWb--;a.floatLabel=a._getDefaultFloatLabelState();a._animationsEnabled="NoopAnimations"!==h;a.appearance=(null==d?void 0:d.appearance)||"legacy";d&&(a._hideRequiredMarker=!!d.hideRequiredMarker,d.color&&(a.color=a.defaultColor=d.color));return a};X(dB,IWb);g=dB.prototype;
g._shouldAlwaysFloat=function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate};g._canLabelFloat=function(){return"never"!==this.floatLabel};g.getLabelId=function(){return this._hasFloatingLabel()?this._labelId:null};g.getConnectedOverlayOrigin=function(){return this._connectionContainerRef||this._elementRef};
g.ngAfterContentInit=function(){var a=this,b=this._control;b.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+b.controlType);b.stateChanges.pipe(cf(null)).subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});b.ngControl&&b.ngControl.valueChanges&&b.ngControl.valueChanges.pipe(ef(this._destroyed)).subscribe(function(){return a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.pipe(ef(a._destroyed)).subscribe(function(){a._outlineGapCalculationNeededOnStable&&
Ih(a)})});(0,W.merge)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){a._outlineGapCalculationNeededOnStable=!0;a._changeDetectorRef.markForCheck()});this._hintChildren.changes.pipe(cf(null)).subscribe(function(){a._processHints();a._changeDetectorRef.markForCheck()});this._errorChildren.changes.pipe(cf(null)).subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});this._dir&&this._dir.change.pipe(ef(this._destroyed)).subscribe(function(){"function"===
typeof requestAnimationFrame?a._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return Ih(a)})}):Ih(a)})};g.ngAfterContentChecked=function(){this._outlineGapCalculationNeededImmediately&&Ih(this)};g.ngAfterViewInit=function(){this._subscriptAnimationState="enter";this._changeDetectorRef.detectChanges()};g.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};g._shouldForward=function(a){var b=this._control?this._control.ngControl:null;return b&&b[a]};
g._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)};g._hasLabel=function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)};g._shouldLabelFloat=function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())};g._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()};
g._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()};g._getDisplayedMessages=function(){return this._errorChildren&&0<this._errorChildren.length&&this._control.errorState?"error":"hint"};
g._animateAndLockLabel=function(){var a=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,W.fromEvent)(this._label.nativeElement,"transitionend").pipe(Ue()).subscribe(function(){a._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())};g._validatePlaceholders=function(){};g._processHints=function(){this._syncDescribedByIds()};g._validateHints=function(){};
g._getDefaultFloatLabelState=function(){return this._defaults&&this._defaults.floatLabel||"auto"};
g._syncDescribedByIds=function(){if(this._control){var a=[];this._control.userAriaDescribedBy&&"string"===typeof this._control.userAriaDescribedBy&&a.push.apply(a,r(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,r(this._errorChildren.map(function(d){return d.id})));this._control.setDescribedByIds(a)}};g._validateControlChild=function(){};
var Ih=function(a){var b=a._label?a._label.nativeElement:null,c=a._connectionContainerRef.nativeElement;if("outline"===a.appearance&&a._platform.isBrowser)if(b&&b.children.length&&b.textContent.trim())if(a._isAttachedToDOM()){var d=0,e=0,f=c.querySelectorAll(".mat-form-field-outline-start"),h=c.querySelectorAll(".mat-form-field-outline-gap");if(a._label&&a._label.nativeElement.children.length){d=c.getBoundingClientRect();if(0===d.width&&0===d.height){a._outlineGapCalculationNeededOnStable=!0;a._outlineGapCalculationNeededImmediately=
!1;return}d=a._getStartEnd(d);e=b.children;c=a._getStartEnd(e[0].getBoundingClientRect());for(var k=b=0;k<e.length;k++)b+=e[k].offsetWidth;d=Math.abs(c-d)-5;e=0<b?.75*b+10:0}for(b=0;b<f.length;b++)f[b].style.width=d+"px";for(f=0;f<h.length;f++)h[f].style.width=e+"px";a._outlineGapCalculationNeededOnStable=a._outlineGapCalculationNeededImmediately=!1}else a._outlineGapCalculationNeededImmediately=!0;else for(a=c.querySelectorAll(".mat-form-field-outline-start, .mat-form-field-outline-gap"),h=0;h<a.length;h++)a[h].style.width=
"0"};dB.prototype._getStartEnd=function(a){return this._dir&&"rtl"===this._dir.value?a.right:a.left};dB.prototype._isAttachedToDOM=function(){var a=this._elementRef.nativeElement;if(a.getRootNode){var b=a.getRootNode();return b&&b!==a}return document.documentElement.contains(a)};
Vg.Object.defineProperties(dB.prototype,{appearance:{configurable:!0,enumerable:!0,get:function(){return this._appearance},set:function(a){var b=this._appearance,c;this._appearance=a||(null==(c=this._defaults)?void 0:c.appearance)||"legacy";"outline"===this._appearance&&b!==a&&(this._outlineGapCalculationNeededOnStable=!0)}},hideRequiredMarker:{configurable:!0,enumerable:!0,get:function(){return this._hideRequiredMarker},set:function(a){this._hideRequiredMarker=Og(a)}},hintLabel:{configurable:!0,
enumerable:!0,get:function(){return this._hintLabel},set:function(a){this._hintLabel=a;this._processHints()}},floatLabel:{configurable:!0,enumerable:!0,get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(a){a!==this._floatLabel&&(this._floatLabel=a||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},_control:{configurable:!0,enumerable:!0,get:function(){return this._explicitFormFieldControl||this._controlNonStatic||
this._controlStatic},set:function(a){this._explicitFormFieldControl=a}}});dB.\u0275fac=function(a){return new (a||dB)(A(Ad),A(Uu),A(ay,8),A(JWb,8),A(fx),A(Ge),A(Su,8))};
dB.\u0275cmp=Lc({type:dB,selectors:[["mat-form-field"]],contentQueries:function(a,b,c){a&1&&(Vf(c,MA,5),Vf(c,MA,7),Vf(c,bB,5),Vf(c,bB,7),Vf(c,cB,5),Vf(c,hWb,5),Vf(c,CWb,5),Vf(c,jWb,5),Vf(c,kWb,5));if(a&2){var d;Yf(d=Zf())&&(b._controlNonStatic=d.first);Yf(d=Zf())&&(b._controlStatic=d.first);Yf(d=Zf())&&(b._labelChildNonStatic=d.first);Yf(d=Zf())&&(b._labelChildStatic=d.first);Yf(d=Zf())&&(b._placeholderChild=d.first);Yf(d=Zf())&&(b._errorChildren=d);Yf(d=Zf())&&(b._hintChildren=d);Yf(d=Zf())&&(b._prefixChildren=
d);Yf(d=Zf())&&(b._suffixChildren=d)}},viewQuery:function(a,b){a&1&&(Uf(DWb,7),Uf(EWb,5),Uf(FWb,5));if(a&2){var c;Yf(c=Zf())&&(b._connectionContainerRef=c.first);Yf(c=Zf())&&(b._inputContainerRef=c.first);Yf(c=Zf())&&(b._label=c.first)}},hostAttrs:["ngSkipHydration","",1,"mat-form-field"],hostVars:41,hostBindings:function(a,b){a&2&&(pf("mat-id-collision",null),yf("mat-form-field-appearance-standard","standard"==b.appearance)("mat-form-field-appearance-fill","fill"==b.appearance)("mat-form-field-appearance-outline",
"outline"==b.appearance)("mat-form-field-appearance-legacy","legacy"==b.appearance)("mat-form-field-invalid",b._control.errorState)("mat-form-field-can-float",b._canLabelFloat())("mat-form-field-should-float",b._shouldLabelFloat())("mat-form-field-has-label",b._hasFloatingLabel())("mat-form-field-hide-placeholder",b._hideControlPlaceholder())("mat-form-field-disabled",b._control.disabled)("mat-form-field-autofilled",b._control.autofilled)("mat-focused",b._control.focused)("ng-untouched",b._shouldForward("untouched"))("ng-touched",
b._shouldForward("touched"))("ng-pristine",b._shouldForward("pristine"))("ng-dirty",b._shouldForward("dirty"))("ng-valid",b._shouldForward("valid"))("ng-invalid",b._shouldForward("invalid"))("ng-pending",b._shouldForward("pending"))("_mat-animation-noopable",!b._animationsEnabled))},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[bg([{provide:RA,useExisting:dB}]),nf],ngContentSelectors:"* [matPrefix] mat-placeholder mat-label [matSuffix] mat-error mat-hint:not([align='end']) mat-hint[align='end']".split(" "),
decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",
4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled",
"id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(a,b){a&1&&(Lf(GWb),E(0,"div",0)(1,"div",
1,2),M("click",function(){return b._control.onContainerClick()}),C(3,kra,9,0,"ng-container",3)(4,lra,2,1,"div",4),E(5,"div",5,6),Mf(7),E(8,"span",7),C(9,pra,5,16,"label",8),G()(),C(10,qra,2,0,"div",9),G(),C(11,rra,2,4,"div",10),E(12,"div",11),C(13,sra,2,1,"div",12)(14,ura,5,2,"div",13),G()());a&2&&(y(3),D("ngIf","outline"==b.appearance),y(),D("ngIf",b._prefixChildren.length),y(5),D("ngIf",b._hasFloatingLabel()),y(),D("ngIf",b._suffixChildren.length),y(),D("ngIf","outline"!=b.appearance),y(),D("ngSwitch",
b._getDisplayedMessages()),y(),D("ngSwitchCase","error"),y(),D("ngSwitchCase","hint"))},dependencies:[dw,iw,jw,yx],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}.mat-form-field .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-button-base,.mat-form-field .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-form-field .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{font-size:1em;display:inline-block;margin:-2px 0 1px}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button{font-size:inherit;width:1.5em;height:1.5em;padding:0}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{line-height:1.5em;margin:0}.mat-form-field .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:baseline}\n",
'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n',
'.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',
".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",
".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",
".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],
encapsulation:2,data:{animation:[lWb]},changeDetection:0});var eB=function(){};eB.\u0275fac=function(a){return new (a||eB)};eB.\u0275mod=Nc({type:eB});eB.\u0275inj=wc({imports:[uw,Gy,zx,Gy]});var fB=function(){var a=$A.apply(this,arguments)||this;a._legacyFormField=Gc(RA,{optional:!0});return a};X(fB,$A);fB.prototype._getPlaceholder=function(){var a=this._legacyFormField,b;return!a||"legacy"!==a.appearance||(null==(b=a._hasLabel)?0:b.call(a))?this.placeholder:null};fB.\u0275fac=function(){var a;return function(b){return(a||(a=zd(fB)))(b||fB)}}();
fB.\u0275dir=Qc({type:fB,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:15,hostBindings:function(a,b){a&2&&(pf("data-placeholder",b.placeholder),yf("mat-input-server",b._isServer)("mat-mdc-input-element",!1)("mat-mdc-form-field-textarea-control",!1)("mat-mdc-form-field-input-control",!1)("mdc-text-field__input",
!1)("mat-mdc-native-select-inline",!1)("mat-native-select-inline",b._isInlineSelect()))},exportAs:["matInput"],features:[bg([{provide:MA,useExisting:fB}]),nf]});var KWb={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 vra;var LWb=function(a,b){this.url=a;this.svgText=null;this.options=b},gB=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},MWb=function(a,b){return a._fontCssClassesByAlias.get(b)||b},NWb=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,W.throwError)(Error("gb`"+d))};g=gB.prototype;g.ngOnDestroy=function(){this._resolvers=[];this._svgIconConfigs.clear();this._iconSetConfigs.clear();this._cachedIconsByUrl.clear()};
g._getSvgFromConfig=function(a){return a.svgText?(0,W.of)(this._svgElementFromConfig(a).cloneNode(!0)):this._loadSvgIconFromConfig(a).pipe(B(function(b){return b.cloneNode(!0)}))};
g._getSvgFromIconSetConfigs=function(a,b){var c=this,d=this._extractIconWithNameFromAnySet(a,b);if(d)return(0,W.of)(d);d=b.filter(function(e){return!e.svgText}).map(function(e){return c._loadSvgIconSetFromConfig(e).pipe(Pe(function(f){f="Loading icon set URL: "+c._sanitizer.sanitize(5,e.url)+" failed: "+f.message;c._errorHandler.handleError(Error(f));return(0,W.of)(null)}))});return(0,W.forkJoin)(d).pipe(B(function(){var e=c._extractIconWithNameFromAnySet(a,b);if(!e)throw Error("gb`"+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(ff(function(c){return a.svgText=c}),B(function(){return b._svgElementFromConfig(a)}))};
g._loadSvgIconSetFromConfig=function(a){return a.svgText?(0,W.of)(null):this._fetchIcon(a).pipe(ff(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(xra("<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("jb");return a};g._toSvgElement=function(a){for(var b=this._svgElementFromString(xra("<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("hb");if(null==c)throw Error("kb`"+c);var f=this._sanitizer.sanitize(5,c);if(!f)throw Error("ib`"+c);if(c=this._inProgressUrlFetches.get(f))return c;c=this._httpClient.get(f,{responseType:"text",withCredentials:a}).pipe(B(function(h){return xra(h)}),We(function(){return b._inProgressUrlFetches.delete(f)}),wka());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 LWb(d.url,d.options):new LWb(d)}};gB.\u0275fac=function(a){return new (a||gB)(p(Nz,8),p(Tz),p(Tg,8),p(Ud))};gB.\u0275prov=vc({token:gB,factory:gB.\u0275fac,providedIn:"root"});new Nu;new Ou;new Nu;new Nu;var OWb=new Xc("MAT_ICON_DEFAULT_OPTIONS"),PWb=new Xc("mat-icon-location",{providedIn:"root",factory:yra}),QWb="clip-path color-profile src cursor fill filter marker marker-start marker-mid marker-end mask stroke".split(" "),RWb=QWb.map(function(a){return"["+a+"]"}).join(", "),SWb=/^url\(['"]?#(.*?)['"]?\)$/,hB=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=W.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=hB.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("lb`"+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?MWb(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(RWb),c=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(a={i$jscomp$575:0};a.i$jscomp$575<b.length;a={i$jscomp$575:a.i$jscomp$575},a.i$jscomp$575++)QWb.forEach(function(d){return function(e){var f=b[d.i$jscomp$575],h=f.getAttribute(e);if(h=h?h.match(SWb):null){var k=c.get(f);k||(k=[],c.set(f,k));k.push({name:e,value:h[1]})}}}(a))};
g._updateSvgIcon=function(a){var b=this;this._svgName=this._svgNamespace=null;this._currentIconFetch.unsubscribe();if(a){a=l(this._splitIconName(a));var c=a.next().value,d=a.next().value;c&&(this._svgNamespace=c);d&&(this._svgName=d);this._currentIconFetch=NWb(this._iconRegistry,d,c).pipe(Ue()).subscribe(function(e){return b._setSvgElement(e)},function(e){b._errorHandler.handleError(Error("mb`"+c+"`"+d+"`"+e.message))})}};
Vg.Object.defineProperties(hB.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())}}});hB.\u0275fac=function(a){return new (a||hB)(A(Ad),A(gB),ud("aria-hidden"),A(PWb),A(Ud),A(OWb,8))};
hB.\u0275cmp=Lc({type:hB,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(a,b){a&2&&(pf("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),zf(b.color?"mat-"+b.color:""),yf("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",pg],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[of,dg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Lf(),Mf(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 iB=function(a,b,c){var d=this;this.document=a;this.focusTrapFactory=b;this.elementRef=c;this.dismiss=new zv;this.action=new zv;this.pointerPosition=2;this.color="blue";this.actionBtnIcon=this.actionBtnText="";this.Position=KWb;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)};iB.prototype.ngAfterContentInit=function(){ix(this.focusTrap);this.setPreviouslyFocusedElement();kx(this.focusTrap)};
iB.prototype.ngOnDestroy=function(){this.document.removeEventListener("keydown",this.dismissIfEscape);this.document.removeEventListener("focusin",this.setPreviouslyFocusedElement);this.focusTrap.destroy()};
iB.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)};Vg.Object.defineProperties(iB.prototype,{widthOffset:{configurable:!0,enumerable:!0,set:function(a){this.width=272+64*a}}});
iB.\u0275fac=function(a){return new (a||iB)(A(Tg),A(Hx),A(Ad))};
iB.\u0275cmp=Lc({type:iB,selectors:[["onedev-feature-tooltip-body"]],hostVars:16,hostBindings:function(a,b){a&2&&yf("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:[bg([{provide:iSb,useValue:{preventFocus:function(){},allowFocus:function(){}}},Hx])],ngContentSelectors:["*"],decls:8,vars:5,consts:[["cdkTrapFocus","","role","dialog","aria-modal","true","aria-label",
"Feature Tooltip",1,"tooltip-body","gmat-body-2",3,"ngClass"],[1,"pointer-container"],[1,"pointer"],[1,"button-row"],["class","action-button","mat-button","",3,"click",4,"ngIf"],["cdkFocusInitial","","mat-flat-button","",1,"close-button",3,"color","click"],["mat-button","",1,"action-button",3,"click"],[1,"action-button-wrapper"],["class","action-button-icon",4,"ngIf"],[1,"action-button-icon"]],template:function(a,b){a&1&&(Lf(),E(0,"div",0)(1,"div",1),I(2,"div",2),G(),Mf(3),E(4,"div",3),C(5,Ara,4,
2,"button",4),E(6,"button",5),M("click",function(){return b.dismissTooltip()}),R(7," Got it "),G()()());a&2&&(xf("width",b.width,"px"),D("ngClass",b.color),y(5),D("ngIf",b.actionBtnText),y(),D("color","white"===b.color?"primary":""))},dependencies:[mx,gw,dw,nA,hB],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 jB=function(){};jB.\u0275fac=function(a){return new (a||jB)};jB.\u0275mod=Nc({type:jB});jB.\u0275inj=wc({});var kB=function(){this.anchorMap=new Map},lB=function(a,b){if(a.anchorMap.has(b))return a.anchorMap.get(b);var c={created$:new W.ReplaySubject(1),destroyed$:new W.Subject,dismissTooltip$:new W.Subject};a.anchorMap.set(b,c);return c},TWb=function(a,b,c){lB(a,b).created$.next(c)},UWb=function(a,b){lB(a,b).destroyed$.next();lB(a,b).created$.next(void 0)};kB.prototype.dismissTooltip=function(){lB(this).dismissTooltip$.next()};kB.\u0275fac=function(a){return new (a||kB)};
kB.\u0275prov=vc({token:kB,factory:kB.\u0275fac,providedIn:jB});var mB={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}}},VWb=[mB.TOP_CENTER_RIGHT,mB.TOP_CENTER_LEFT,mB.BOTTOM_CENTER_RIGHT,mB.BOTTOM_CENTER_LEFT],WWb=[mB.TOP_LEFT,mB.TOP_RIGHT,mB.BOTTOM_LEFT,mB.BOTTOM_RIGHT],XWb=[mB.LEFT_CENTER_BOTTOM,mB.LEFT_CENTER_TOP,mB.RIGHT_CENTER_BOTTOM,mB.RIGHT_CENTER_TOP],YWb=[mB.LEFT_TOP,mB.LEFT_BOTTOM,mB.RIGHT_TOP,mB.RIGHT_BOTTOM];var nB=function(){};nB.\u0275fac=function(a){return new (a||nB)};nB.\u0275mod=Nc({type:nB});nB.\u0275inj=wc({});var oB=function(){},$Wb=function(a,b){return ZWb(a,b).map(function(c){return c.connectedPosition})},aXb=function(a,b,c){a=ZWb(a,b).find(function(d){return d.connectedPosition===c});if(!a)throw Error("nb`"+JSON.stringify(c));return a.pointerPosition},ZWb=function(a,b){b=bXb(b).filter(function(c){return!a.includes(c)});return a.concat(b)},bXb=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?VWb:WWb).concat(void 0!==a&&60>a?XWb:YWb)};oB.\u0275fac=function(a){return new (a||oB)};oB.\u0275prov=vc({token:oB,factory:oB.\u0275fac,providedIn:nB});var pB={};pB.AssertionError=aaa;pB.ENABLE_ASSERTS=!1;pB.assert=function(a){return a};pB.assertArray=function(a){return a};pB.assertBoolean=function(a){return a};pB.assertElement=function(a){return a};pB.assertExists=function(a){return a};pB.assertFinite=function(a){return a};pB.assertFunction=function(a){return a};pB.assertInstanceof=function(a){return a};pB.assertNumber=function(a){return a};pB.assertObject=function(a){return a};pB.assertString=function(a){return a};pB.fail=function(){};var cXb=["template"],qB=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 W.Subject;this.customPositions=[];this.widthOffset=0;this.color="blue";this.hasBackdrop=!1;this.actionBtnIcon=this.actionBtnText="";this.dismiss=new zv;this.beforeShown=new zv;this.action=new zv;this.pointerPosition=0;this.destroyed$=new W.ReplaySubject;this.init$=new W.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}};qB.prototype.ngOnChanges=function(a){if(a.customPositions){var b;null==(b=this.overlayRef)||wSb(b,dXb(this))}};
qB.prototype.ngOnInit=function(){var a=lB(this.anchorService,this.tooltipId),b=a.destroyed$,c=a.dismissTooltip$;eXb(this,a.created$);b.pipe(ef(this.destroyed$)).subscribe(this.hideFeatureTooltip);fXb(this,c)};qB.prototype.ngAfterViewInit=function(){this.init$.next()};qB.prototype.ngOnDestroy=function(){this.hideFeatureTooltip();this.destroyed$.next()};
var eXb=function(a,b){a.open$.pipe(Aka(a.init$),ff(function(){a.beforeShown.emit()}),df(function(){return b.pipe(ef(a.dismiss))}),ef(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:dXb(a),scrollStrategy:a.getScrollStrategy(),
minWidth:"fit-content",hasBackdrop:a.hasBackdrop});var f;null==(f=a.overlayRef)||f.attach(new Ux(a.templateRef,a.containerRef))})},fXb=function(a,b){b.pipe(ef(a.destroyed$),Ce(function(){return a.isVisible()})).subscribe(function(){a.hideFeatureTooltip();a.dismiss.emit()})};qB.prototype.getScrollStrategy=function(){var a=this.overlay.scrollStrategies;return this.hasBackdrop?a.block():a.reposition()};
qB.prototype.getPositionStrategy=function(){if(!this.anchor)throw Error("ob");return vy(By(this.overlay.position(),this.anchor),$Wb(this.customPositions,this.anchor))};var dXb=function(a){var b=a.getPositionStrategy();b.positionChanges.subscribe(function(c){a.ngZone.run(function(){a.pointerPosition=aXb(a.customPositions,a.anchor,c.connectionPair);a.changeDetectorRef.markForCheck()})});return b};qB.prototype.isVisible=function(){return!!this.overlayRef};
qB.\u0275fac=function(a){return new (a||qB)(A(kB),A(Cy),A(Sf),A(Ge),A(Uu),A(oB))};
qB.\u0275cmp=Lc({type:qB,selectors:[["onedev-feature-tooltip"]],viewQuery:function(a,b){a&1&&Uf(cXb,5);if(a&2){var c;Yf(c=Zf())&&(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:[ed],ngContentSelectors:["*"],decls:2,vars:0,consts:[["template",
""],[3,"actionBtnText","actionBtnIcon","color","pointerPosition","widthOffset","action","dismiss"]],template:function(a){a&1&&(Lf(),C(0,Bra,2,5,"ng-template",null,0,jg))},dependencies:[iB],encapsulation:2,changeDetection:0});var rB=function(){};rB.\u0275fac=function(a){return new (a||rB)};rB.\u0275mod=Nc({type:rB});rB.\u0275inj=wc({});var sB=function(){};sB.\u0275fac=function(a){return new (a||sB)};sB.\u0275mod=Nc({type:sB});sB.\u0275inj=wc({imports:[rB]});var tB=function(){};tB.prototype.getValue=function(a){a=window.localStorage.getItem(a);return(0,W.of)(a?JSON.parse(a):null)};tB.prototype.getValues=function(a){return(0,W.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))};tB.prototype.setValue=function(a,b){window.localStorage.setItem(a,JSON.stringify(b));return(0,W.of)(void 0)};tB.\u0275fac=function(a){return new (a||tB)};
tB.\u0275prov=vc({token:tB,factory:tB.\u0275fac,providedIn:rB});var gXb=function(a){this.cellValue=a};var uB=function(a,b,c){this.metricName_=a;this.cellType_=b;this.fields_=c||[];this.cellMap_=new Map};g=uB.prototype;g.addCell=function(a){var b=Vc.apply(1,arguments),c=this.getCells(b);c?c.push(new gXb(a)):this.setCell(a,b)};g.setCell=function(a){var b=this.getKey(Vc.apply(1,arguments));this.cellMap_.set(b,[new gXb(a)])};g.getCells=function(){var a=this.getKey(Vc.apply(0,arguments));return this.cellMap_.has(a)?this.cellMap_.get(a):void 0};
g.getCell=function(){var a=this.getCells(Vc.apply(0,arguments));return a&&a.length?a[0]:void 0};g.clear=function(){this.cellMap_.clear()};g.getKey=function(){var a=Vc.apply(0,arguments);return a?a.join(","):"key"};var vB=function(a,b){uB.call(this,a,3,b)};X(vB,uB);vB.prototype.incrementCounter=function(){this.incrementCounterBy(1,Vc.apply(0,arguments))};vB.prototype.incrementCounterBy=function(a){var b=Vc.apply(1,arguments),c=0,d=this.getCell(b);d&&(c=d.cellValue);this.setCell(c+a,b)};var hXb=function(a,b){uB.call(this,a,2,b)};X(hXb,uB);hXb.prototype.record=function(a){this.addCell(a,Vc.apply(1,arguments))};var wB=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};wB.prototype.disposed_=!1;wB.prototype.isDisposed=function(){return this.disposed_};wB.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};var xB=function(a,b){b=Dt(Jh,b);a.disposed_?b():(a.onDisposeCallbacks_||(a.onDisposeCallbacks_=[]),a.onDisposeCallbacks_.push(b))};wB.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var yB=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};yB.prototype.stopPropagation=function(){this.propagationStopped_=!0};yB.prototype.preventDefault=function(){this.defaultPrevented=!0};var iXb=[],jXb=[],kXb=!1,lXb=function(a){iXb[iXb.length]=a;if(kXb)for(var b=0;b<jXb.length;b++)a(Ct(jXb[b].wrap,jXb[b]))};var mXb=function(){if(!ca.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};ca.addEventListener("test",c,b);ca.removeEventListener("test",c,b)}catch(d){}return a}();var zB=function(a,b){yB.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)};Et(zB,yB);var nXb={2:"touch",3:"pen",4:"mouse"};
zB.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)?Ht&&(FMb(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=It||void 0!==a.offsetX?
a.offsetX:a.layerX,this.offsetY=It||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=Tq?a.metaKey:a.ctrlKey;this.pointerId=
a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:nXb[a.pointerType]||"";this.state=a.state;this.timeStamp=a.timeStamp;this.event_=a;a.defaultPrevented&&zB.superClass_.preventDefault.call(this)};zB.prototype.stopPropagation=function(){zB.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};
zB.prototype.preventDefault=function(){zB.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var oXb="closure_listenable_"+(1E6*Math.random()|0),AB=function(a){return!(!a||!a[oXb])};var pXb=0;var qXb=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=++pXb;this.removed=this.callOnce=!1},rXb=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};var BB=function(a){this.src=a;this.listeners={};this.typeCount_=0};BB.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=sXb(a,b,d,e);-1<h?(b=a[h],c||(b.callOnce=!1)):(b=new qXb(b,this.src,f,!!d,e),b.callOnce=c,a.push(b));return b};
BB.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=sXb(e,b,c,d);return-1<b?(rXb(e[b]),ta(e,b),0==e.length&&(delete this.listeners[a],this.typeCount_--),!0):!1};var tXb=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=ua(a.listeners[c],b);d&&(rXb(b),0==a.listeners[c].length&&(delete a.listeners[c],a.typeCount_--));return d};
BB.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,rXb(d[e]);delete this.listeners[c];this.typeCount_--}return b};BB.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=sXb(a,b,c,d));return-1<e?a[e]:null};
BB.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Pda(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 sXb=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 uXb="closure_lm_"+(1E6*Math.random()|0),vXb={},wXb=0,Oo=function(a,b,c,d,e){if(d&&d.once)return CB(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)Oo(a,b[f],c,d,e);return null}c=xXb(c);return AB(a)?a.listen(b,c,za(d)?!!d.capture:!!d,e):yXb(a,b,c,!1,d,e)},yXb=function(a,b,c,d,e,f){if(!b)throw Error("pb");var h=za(e)?!!e.capture:!!e,k=DB(a);k||(a[uXb]=k=new BB(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=zXb();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)mXb||(e=h),void 0===e&&
(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(AXb(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("qb");wXb++;return c},zXb=function(){var a=BXb,b=function(c){return a.call(b.src,b.listener,c)};return b},CB=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)CB(a,b[f],c,d,e);return null}c=xXb(c);return AB(a)?a.listenOnce(b,c,za(d)?!!d.capture:!!d,e):yXb(a,b,c,!0,d,e)},EB=function(a,b,c,d,e){if(Array.isArray(b))for(var f=
0;f<b.length;f++)EB(a,b[f],c,d,e);else d=za(d)?!!d.capture:!!d,c=xXb(c),AB(a)?a.unlisten(b,c,d,e):a&&(a=DB(a))&&(b=a.getListener(b,c,d,e))&&FB(b)},FB=function(a){if("number"===typeof a||!a||a.removed)return!1;var b=a.src;if(AB(b))return b.unlistenByKey(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(AXb(c),d):b.addListener&&b.removeListener&&b.removeListener(d);wXb--;(c=DB(b))?(tXb(c,a),0==c.typeCount_&&(c.src=null,b[uXb]=null)):rXb(a);
return!0},AXb=function(a){return a in vXb?vXb[a]:vXb[a]="on"+a},BXb=function(a,b){if(a.removed)a=!0;else{b=new zB(b,this);var c=a.listener,d=a.handler||a.src;a.callOnce&&FB(a);a=c.call(d,b)}return a},DB=function(a){a=a[uXb];return a instanceof BB?a:null},CXb="__closure_events_fn_"+(1E9*Math.random()>>>0),xXb=function(a){if("function"===typeof a)return a;a[CXb]||(a[CXb]=function(b){return a.handleEvent(b)});return a[CXb]};lXb(function(a){BXb=a(BXb)});var No=function(){wB.call(this);this.eventTargetListeners_=new BB(this);this.actualEventTarget_=this;this.parentEventTarget_=null};Et(No,wB);No.prototype[oXb]=!0;g=No.prototype;g.getParentEventTarget=function(){return this.parentEventTarget_};g.setParentEventTarget=function(a){this.parentEventTarget_=a};g.addEventListener=function(a,b,c,d){Oo(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){EB(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 yB(a,c);else if(a instanceof yB)a.target=a.target||c;else{var e=a;a=new yB(d,c);Xda(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(){No.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 tXb(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,k=f.handler||f.src;f.callOnce&&this.unlistenByKey(f);d=!1!==h.call(k,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 DXb=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};DXb.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};DXb.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 EXb=Nq||It;var FXb=function(a,b){return a+Math.random()*(b-a)};var Yq=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};Yq.prototype.clone=function(){return new Yq(this.x,this.y)};Yq.prototype.equals=function(a){return a instanceof Yq&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};var Zq=function(a,b){return new Yq(a.x-b.x,a.y-b.y)};g=Yq.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 Yq?(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 GB=function(a,b){this.width=a;this.height=b},Oab=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};g=GB.prototype;g.clone=function(){return new GB(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 Qo=function(a){return a?new HB(IB(a)):jMb||(jMb=new HB)},JB=function(a,b){return"string"===typeof b?a.getElementById(b):b},KB=function(a,b){return(b||document).getElementsByTagName(String(a))},LB=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&&sa(b.split(/\s+/),c)&&(d[e++]=h);d.length=e;return d}return a},HXb=function(a,b){Yb(b,function(c,d){"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:GXb.hasOwnProperty(d)?a.setAttribute(GXb[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},GXb={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"},MB=function(a){a=(a||window).document;a=IXb(a)?a.documentElement:a.body;return new GB(a.clientWidth,a.clientHeight)},OB=function(a){var b=NB(a);a=a.parentWindow||a.defaultView;return Nq&&a.pageYOffset!=b.scrollTop?new Yq(b.scrollLeft,b.scrollTop):new Yq(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)},NB=function(a){return a.scrollingElement?a.scrollingElement:
!It&&IXb(a)?a.documentElement:a.body||a.documentElement},PB=function(a){return a?a.parentWindow||a.defaultView:window},KXb=function(a,b,c){return JXb(document,arguments)},JXb=function(a,b){var c=b[1],d=Wo(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):HXb(d,c));2<b.length&&LXb(a,d,b,2);return d},LXb=function(a,b,c,d){function e(k){k&&b.appendChild("string"===typeof k?a.createTextNode(k):k)}for(;d<c.length;d++){var f=c[d];if(!xa(f)||za(f)&&0<f.nodeType)e(f);
else{a:{if(f&&"number"==typeof f.length){if(za(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}ra(h?wa(f):f,e)}}},Wo=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},IXb=function(a){return"CSS1Compat"==a.compatMode},MXb=function(a,b){LXb(IB(a),a,arguments,1)},NXb=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},QB=function(a){return a&&a.parentNode?
a.parentNode.removeChild(a):null},RB=function(a){return za(a)&&1==a.nodeType},idb=function(a){var b;if(EXb&&(b=a.parentElement))return b;b=a.parentNode;return RB(b)?b:null},JVa=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},IB=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},OXb=function(a){return a.contentDocument||
a.contentWindow.document},SB=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 NXb(a),a.appendChild(IB(a).createTextNode(String(b)))},PXb={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},QXb={IMG:" ",BR:"\n"},RXb=function(a){a=a.tabIndex;return"number"===typeof a&&0<=a&&32768>a},TXb=function(a){var b=[];SXb(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},SXb=function(a,b,c){if(!(a.nodeName in PXb))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 QXb)b.push(QXb[a.nodeName]);else for(a=a.firstChild;a;)SXb(a,b,c),a=a.nextSibling},lbb=function(){var a=PB();return void 0!==a.devicePixelRatio?a.devicePixelRatio:a.matchMedia?UXb(3)||UXb(2)||UXb(1.5)||
UXb(1)||.75:1},UXb=function(a){return PB().matchMedia("(min-resolution: "+a+"dppx),(min--moz-device-pixel-ratio: "+a+"),(min-resolution: "+96*a+"dpi)").matches?a:0},HB=function(a){this.document_=a||ca.document||document};g=HB.prototype;g.getDomHelper=Qo;g.getElement=function(a){return JB(this.document_,a)};g.$=HB.prototype.getElement;g.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};
g.getElementsByTagNameAndClass=function(a,b,c){return LB(this.document_,a,b,c)};g.$$=HB.prototype.getElementsByTagNameAndClass;g.setProperties=HXb;g.getViewportSize=function(a){return MB(a||this.getWindow())};g.createDom=function(a,b,c){return JXb(this.document_,arguments)};g.createElement=function(a){return Wo(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=MXb;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=NXb;
g.removeNode=QB;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=RB;g.getParentElement=idb;g.contains=JVa;
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")||RXb(a)):b=a.hasAttribute("tabindex")&&RXb(a);if(b&&Nq){var c;"function"!==typeof a.getBoundingClientRect||Nq&&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 VXb,WXb=function(){var a=ca.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!ka("Presto")&&(a=function(){var e=Wo(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(),k="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=Ct(function(q){if(("*"==k||q.origin==k)&&q.data==h)this.port1.onmessage()},
this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(h,k)}}});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){ca.setTimeout(e,0)}},XXb=nOb;lXb(function(a){XXb=a});var YXb=function(){this.workTail_=this.workHead_=null};YXb.prototype.add=function(a,b){var c=ZXb.get();c.set(a,b);this.workTail_?this.workTail_.next=c:this.workHead_=c;this.workTail_=c};YXb.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 ZXb=new DXb(function(){return new $Xb},function(a){return a.reset()}),$Xb=function(){this.next=this.scope=this.fn=null};
$Xb.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};$Xb.prototype.reset=function(){this.next=this.scope=this.fn=null};var aYb,bYb=!1,cYb=new YXb,TB=function(a,b){aYb||dYb();bYb||(aYb(),bYb=!0);cYb.add(a,b)},dYb=function(){if(ca.Promise&&ca.Promise.resolve){var a=ca.Promise.resolve(void 0);aYb=function(){a.then(eYb)}}else aYb=function(){var b=eYb;b=XXb(b);"function"!==typeof ca.setImmediate||ca.Window&&ca.Window.prototype&&(ma()||!ka("Edge"))&&ca.Window.prototype.setImmediate==ca.setImmediate?(VXb||(VXb=WXb()),VXb(b)):ca.setImmediate(b)}},eYb=function(){for(var a;a=cYb.remove();){try{a.fn.call(a.scope)}catch(b){da(b)}ZXb.put(a)}bYb=
!1};var fYb=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var VB=function(a){this.state_=0;this.result_=void 0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.hadUnhandledRejection_=this.executing_=!1;if(a!=Eu)try{var b=this;a.call(void 0,function(c){UB(b,2,c)},function(c){UB(b,3,c)})}catch(c){UB(this,3,c)}},gYb=function(){this.next=this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};gYb.prototype.reset=function(){this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};
var hYb=new DXb(function(){return new gYb},function(a){a.reset()}),iYb=function(a,b,c){var d=hYb.get();d.onFulfilled=a;d.onRejected=b;d.context=c;return d},WB=function(a){if(a instanceof VB)return a;var b=new VB(Eu);UB(b,2,a);return b},jYb=function(a){return new VB(function(b,c){c(a)})},lYb=function(a,b,c){kYb(a,b,c,null)||TB(Dt(b,a))},mYb=function(a){return new VB(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],lYb(e,b,c)})},nYb=function(a){return new VB(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)},k=0,q;k<a.length;k++)q=a[k],lYb(q,Dt(f,k),h);else b(e)})},oYb=function(a){return new VB(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)},k=0,q;k<a.length;k++)q=a[k],lYb(q,f,Dt(h,k));else b(void 0)})},qYb=function(){var a,b,c=new VB(function(d,e){a=d;b=e});return new pYb(c,a,b)};
VB.prototype.then=function(a,b,c){return rYb(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};VB.prototype.$goog_Thenable=!0;var tYb=function(a,b){b=iYb(b,b);b.always=!0;sYb(a,b);return a};VB.prototype.thenCatch=function(a,b){return rYb(this,null,a,b)};VB.prototype.catch=VB.prototype.thenCatch;VB.prototype.cancel=function(a){if(0==this.state_){var b=new XB(a);TB(function(){uYb(this,b)},this)}};
var uYb=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?uYb(c,b):(f?(d=f,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):vYb(c),wYb(c,e,3,b)))}a.parent_=null}else UB(a,3,b)},sYb=function(a,b){a.callbackEntries_||2!=a.state_&&3!=a.state_||xYb(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_=
b;a.callbackEntriesTail_=b},rYb=function(a,b,c,d){var e=iYb(null,null,null);e.child=new VB(function(f,h){e.onFulfilled=b?function(k){try{var q=b.call(d,k);f(q)}catch(t){h(t)}}:f;e.onRejected=c?function(k){try{var q=c.call(d,k);void 0===q&&k instanceof XB?h(k):f(q)}catch(t){h(t)}}:h});e.child.parent_=a;sYb(a,e);return e.child};VB.prototype.unblockAndFulfill_=function(a){this.state_=0;UB(this,2,a)};VB.prototype.unblockAndReject_=function(a){this.state_=0;UB(this,3,a)};
var UB=function(a,b,c){0==a.state_&&(a===c&&(b=3,c=new TypeError("rb")),a.state_=1,kYb(c,a.unblockAndFulfill_,a.unblockAndReject_,a)||(a.result_=c,a.state_=b,a.parent_=null,xYb(a),3!=b||c instanceof XB||yYb(a,c)))},kYb=function(a,b,c,d){if(a instanceof VB)return sYb(a,iYb(b||Eu,c||null,d)),!0;if(fYb(a))return a.then(b,c,d),!0;if(za(a))try{var e=a.then;if("function"===typeof e)return zYb(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},zYb=function(a,b,c,d,e){var f=!1,h=function(q){f||(f=!0,
c.call(e,q))},k=function(q){f||(f=!0,d.call(e,q))};try{b.call(a,h,k)}catch(q){k(q)}},xYb=function(a){a.executing_||(a.executing_=!0,TB(a.executeCallbacks_,a))},vYb=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};VB.prototype.executeCallbacks_=function(){for(var a;a=vYb(this);)wYb(this,a,this.state_,this.result_);this.executing_=!1};
var wYb=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,AYb(b,c,d);else try{b.always?b.onFulfilled.call(b.context):AYb(b,c,d)}catch(e){BYb.call(null,e)}hYb.put(b)},AYb=function(a,b,c){2==b?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},yYb=function(a,b){a.hadUnhandledRejection_=!0;TB(function(){a.hadUnhandledRejection_&&BYb.call(null,b)})},BYb=da,XB=function(a){aa.call(this,
a);this.reportErrorToServer=!1};Et(XB,aa);XB.prototype.name="cancel";var pYb=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};var YB=function(a,b){No.call(this);this.interval_=a||1;this.timerObject_=b||ca;this.boundTick_=Ct(this.tick_,this);this.last_=Date.now()};Et(YB,No);g=YB.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(){YB.superClass_.disposeInternal.call(this);this.stop();delete this.timerObject_};
var iq=function(a,b,c){if("function"===typeof a)c&&(a=Ct(a,c));else if(a&&"function"==typeof a.handleEvent)a=Ct(a.handleEvent,a);else throw Error("sb");return 2147483647<Number(b)?-1:ca.setTimeout(a,b||0)},jq=function(a){ca.clearTimeout(a)},CYb=function(a,b){var c=null;return(new VB(function(d,e){c=iq(function(){d(b)},a);-1==c&&e(Error("tb"))})).thenCatch(function(d){jq(c);throw d;})};var DYb=function(a){wB.call(this);this.streamzLogger=a;this.invocationCount=0;this.metricMap=new Map;this.disabledMetrics=new Set;this.flushInterval=3E4;this.flushTimer=new YB(this.flushInterval);this.flushTimer.listen("tick",this.snapshotAndFlush,!1,this);xB(this,this.flushTimer)};X(DYb,wB);var EYb=function(a){a.maybeStartFlushTimer();a.invocationCount++;100<=a.invocationCount&&a.snapshotAndFlush()};g=DYb.prototype;
g.snapshotAndFlush=function(){var a=this.metricMap.values();a=[].concat(r(a)).filter(function(b){return b.cellMap_.size});a.length&&this.streamzLogger.flush(a,!1);FYb(a);this.invocationCount=0;this.flushTimer.enabled&&this.flushTimer.stop()};g.addNewCounter=function(a){var b=Vc.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new vB(a,b))};g.addNewEventMetric=function(a){var b=Vc.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new hXb(a,b))};
g.getMetric=function(a){return this.disabledMetrics.has(a)?void 0:this.metricMap.get(a)};g.incrementCounter=function(a){this.incrementCounterBy.apply(this,[a,1].concat(r(Vc.apply(1,arguments))))};g.incrementCounterBy=function(a,b){var c=Vc.apply(2,arguments),d=this.getMetric(a);d&&d instanceof vB&&(d.incrementCounterBy(b,c),EYb(this))};g.record=function(a,b){var c=Vc.apply(2,arguments),d=this.getMetric(a);d&&d instanceof hXb&&(d.record(b,c),EYb(this))};
g.maybeStartFlushTimer=function(){this.flushTimer.enabled||this.flushTimer.start()};var FYb=function(a){for(var b=0;b<a.length;b++)a[b].clear()};var GYb=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"})};GYb.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};GYb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var HYb=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"})};HYb.prototype.record=function(a,b,c){this.streamzService_.record(this.metricName_,a,b,c)};HYb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var IYb=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"})};IYb.prototype.increment=function(a,b){this.streamzService_.incrementCounter(this.metricName_,a,b)};IYb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var JYb=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"})};JYb.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};JYb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var KYb={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 NYb=function(a){a=LYb(a);for(var b=2654435769,c=2654435769,d=314159265,e=a.length,f=e,h=0,k=function(){b-=c;b-=d;b^=d>>>13;c-=d;c-=b;c^=b<<8;d-=b;d-=c;d^=c>>>13;b-=c;b-=d;b^=d>>>12;c-=d;c-=b;c^=b<<16;d-=b;d-=c;d^=c>>>5;b-=c;b-=d;b^=d>>>3;c-=d;c-=b;c^=b<<10;d-=b;d-=c;d^=c>>>15};12<=f;f-=12,h+=12)b+=MYb(a,h),c+=MYb(a,h+4),d+=MYb(a,h+8),k();d+=e;switch(f){case 11:d+=a[h+10]<<24;case 10:d+=a[h+9]<<16;case 9:d+=a[h+8]<<8;case 8:c+=a[h+7]<<24;case 7:c+=a[h+6]<<16;case 6:c+=a[h+5]<<8;case 5:c+=a[h+4];
case 4:b+=a[h+3]<<24;case 3:b+=a[h+2]<<16;case 2:b+=a[h+1]<<8;case 1:b+=a[h]}k();return KYb.toString(d)},OYb=function(a){return a},LYb=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b},MYb=function(a,b){return a[b]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)};var PYb=function(a){this.internalArray_=m(a)};X(PYb,n);PYb.prototype.getValueCase=function(){return kl(this,QYb)};var QYb=[1,2,3];var RYb=function(a){this.internalArray_=m(a)};X(RYb,n);RYb.prototype.getValueCase=function(){return kl(this,SYb)};var SYb=[1,2,3];var TYb=function(a){this.internalArray_=m(a)};X(TYb,n);TYb.repeatedFields_=[1];var ZB=function(a){this.internalArray_=m(a)};X(ZB,n);ZB.prototype.getFieldName=function(){return cu(this,3)};ZB.prototype.setFieldName=function(a){Ob(this,3,rb,a,void 0,ri)};ZB.repeatedFields_=[3,6,4];var UYb=function(a){this.internalArray_=m(a)};X(UYb,n);UYb.repeatedFields_=[1];var VYb=function(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a.startsWith("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("ub`"+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("vb`"+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 XYb=function(a,b,c){var d=String(ca.location.href);return d&&a&&b?[b,WYb(VYb(d),a,c||null)].join(" "):null},WYb=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],ra(d,function(k){e.push(k)}),YYb(e.join(" "));var f=[],h=[];ra(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=0==f.length?[c,b,a]:[f.join(":"),c,b,a];ra(d,function(k){e.push(k)});a=YYb(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},YYb=function(a){var b=
Dra();b.update(a);return b.digestString().toLowerCase()};var ZYb={};var $Yb=function(){this.document_=document||{cookie:""}};g=$Yb.prototype;g.isEnabled=function(){if(!ca.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 k=c.maxAge}if(/[;=\s]/.test(a))throw Error("wb`"+a);if(/[;\r\n]/.test(b))throw Error("xb`"+b);void 0===k&&(k=-1);c=f?";domain="+f:"";h=h?";path="+h:"";d=d?";secure":"";k=0>k?"":0==k?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*k)).toUTCString();this.document_.cookie=a+"="+b+c+h+k+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=bi(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 aZb(this).keys};g.getValues=function(){return aZb(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=aZb(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};g.clear=function(){for(var a=aZb(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var aZb=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=bi(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 bZb=function(a){return!!ZYb.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)},cZb=function(a,b,c,d){(a=ca[a])||"undefined"===typeof document||(a=(new $Yb).get(b));return a?XYb(a,c,d):null},Io=function(a,b){b=void 0===b?!1:b;var c=VYb(String(ca.location.href)),d=[];var e=b;e=void 0===e?!1:e;var f=ca.__SAPISID||ca.__APISID||ca.__3PSAPISID||ca.__OVERRIDE_SID;bZb(e)&&(f=f||ca.__1PSAPISID);if(f)e=!0;else{if("undefined"!==typeof document){var h=new $Yb;f=h.get("SAPISID")||h.get("APISID")||h.get("__Secure-3PAPISID")||
h.get("SID")||h.get("OSID");bZb(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:"))?ca.__SAPISID:ca.__APISID,e||"undefined"===typeof document||(e=new $Yb,e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID")),(e=e?XYb(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e),c&&bZb(b)&&((b=cZb("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=cZb("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a)));return 0==d.length?null:d.join(" ")};var $B=function(a){this.internalArray_=m(a)};X($B,n);$B.repeatedFields_=[2];var aC=function(a){No.call(this);this.intervalMs=a;this.enabled=!1;this.nowFn=function(){return Date.now()};this.lastTimeMs=this.nowFn()};X(aC,No);aC.prototype.setInterval=function(a){this.intervalMs=a;this.timer&&this.enabled?(this.stop(),this.start()):this.timer&&this.stop()};aC.prototype.start=function(){var a=this;this.enabled=!0;this.timer||(this.timer=setTimeout(function(){a.tick()},this.intervalMs),this.lastTimeMs=this.nowFn())};
aC.prototype.stop=function(){this.enabled=!1;this.timer&&(clearTimeout(this.timer),this.timer=void 0)};aC.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 dZb=function(a){this.internalArray_=m(a)};X(dZb,n);var eZb=function(a){this.internalArray_=m(a)};X(eZb,n);var fZb=function(a){this.currBaseValue_=this.currValue_=this.initialValue_=a};fZb.prototype.reset=function(){this.currBaseValue_=this.currValue_=this.initialValue_};fZb.prototype.getValue=function(){return this.currValue_};var bC=function(a){this.internalArray_=m(a)};X(bC,n);g=bC.prototype;g.getTransmissionType=function(){return ho(this,1)};g.setTransmissionType=function(a){tj(this,1,a)};g.setRetryCount=function(a){rj(this,3,a)};g.setPersistedLogRecoveredCount=function(a){rj(this,4,a)};g.setPersistedLogExpiredCount=function(a){rj(this,5,a)};var Kh=function(a){this.internalArray_=m(a)};X(Kh,n);Kh.prototype.getVersion=function(){return Fj(this,2)};Kh.prototype.setVersion=function(a){return Lh(this,2,a)};Kh.prototype.getVersionOrUndefined=function(){return fu(this,2)};var cC=function(a){this.internalArray_=m(a)};X(cC,n);var Gra=function(a,b){gl(a,1,b)};cC.prototype.setPlatform=function(a){Lh(this,3,a)};cC.prototype.setModel=function(a){return Lh(this,6,a)};cC.repeatedFields_=[1];var dC=function(a){this.internalArray_=m(a)};X(dC,n);dC.prototype.getLocale=function(){return Fj(this,5)};dC.prototype.setLocale=function(a){return Lh(this,5,a)};dC.prototype.setBuildLabel=function(a){Lh(this,7,a)};dC.prototype.getMutableFlushInfo=function(){return Vt(this,bC,10)};var Era=["platform","platformVersion","architecture","model","uaFullVersion"],Hra=new cC,Fra=null;var eC=function(a){this.internalArray_=m(a)};X(eC,n);eC.prototype.getMutableJsClientInfo=function(){return Vt(this,dC,11)};var gZb=function(a){this.internalArray_=m(a)};X(gZb,n);g=gZb.prototype;g.getKey=function(){return Fj(this,1)};g.hasKey=function(){return Pi(this,1)};g.getValue=function(){return Fj(this,2)};g.getValue_legacyNullable=function(){return Fj(this,2)};g.setValue=function(a){return Lh(this,2,a)};g.hasValue=function(){return Pi(this,2)};var fC=function(a){this.internalArray_=m(a,4)};X(fC,n);var gC=function(a){this.internalArray_=m(a,35)};X(gC,n);g=gC.prototype;g.getTag=function(){return Fj(this,2)};g.getComponentId=function(){return Fj(this,26)};g.setComponentId=function(a){return Lh(this,26,a)};g.hasComponentId=function(){return Pi(this,26)};g.addValue=function(){return sq(this,3,gZb)};g.setValue=function(a,b){return Tt(this,3,gZb,a,b)};var hZb=function(a,b){return Lh(a,8,b)};gC.prototype.getExperimentIds=function(){return $i(this,$B,16)};
gC.prototype.setExperimentIds=function(a){li(this,$B,16,a)};gC.prototype.clearExperimentIds=function(){return lk(this,16)};var hC=function(a,b){Lh(a,24,b)};gC.prototype.getComplianceData=function(){return $i(this,fC,33)};gC.prototype.setComplianceData=function(a){li(this,fC,33,a)};gC.repeatedFields_=[3,20,27];var iZb=function(a){this.internalArray_=m(a,19)};X(iZb,n);g=iZb.prototype;g.getClientInfo=function(){return $i(this,eC,1)};g.getMutableClientInfo=function(){return Vt(this,eC,1)};g.setClientInfo=function(a){li(this,eC,1,a)};g.getLogSource=function(){return cj(this,2,-1)};g.setLogSource=function(a){return tj(this,2,a)};g.getComplianceData=function(){return $i(this,fC,18)};g.setComplianceData=function(a){li(this,fC,18,a)};iZb.repeatedFields_=[3,5];var iC=function(a){this.internalArray_=m(a)};X(iC,n);iC.prototype.getId=function(a){return cu(this,1,a)};iC.prototype.setId=function(a){return Ob(this,1,rb,a,void 0,ri)};iC.repeatedFields_=[1];var jC=function(a){this.internalArray_=m(a,7)};X(jC,n);jC.prototype.getExperiments=function(){return $i(this,iC,2)};jC.prototype.setExperiments=function(a){return li(this,iC,2,a)};jC.prototype.hasExperiments=function(){return ji(this,iC,2)};var jZb=Xb(jC);jC.repeatedFields_=[5,6];var kZb=function(a){this.internalArray_=m(a)};X(kZb,n);var lZb=new ju(175237375,kZb);var lC=function(a){wB.call(this);var b=this;this.componentId="";this.pendingEvents=[];this.lastFailedAuth="";this.useGetRequestForFinalFlush=this.useSendBeaconForFinalFlush=this.clientSideLogOnlyForDevelopment=!1;this.noFlushUntilMs=this.startWaitingMs=-1;this.useConsistentTimezoneOffset=this.clientSpecifiedFlushInterval=!1;this.gzipCompressor=this.experimentIds=null;this.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 kC(a.logSource,a.isServiceWorkerScope);this.network=a.network;this.productID=a.productID||null;this.bufferSize=1E3;this.uniformRandomFunction=Dt(FXb,0,1);this.clearcutUrl=a.urlOverride||null;this.sessionIndex=a.sessionIndex||null;this.disableAutomaticFlush=a.disableAutomaticFlush||!1;this.pageId=a.pageId||null;
this.logger=null;this.withCredentials=!a.disableWithCredentials;this.isServiceWorkerScope=a.isServiceWorkerScope||!1;this.isSendBeaconSupported=!this.isServiceWorkerScope&&!!PB()&&!!PB().navigator&&void 0!==PB().navigator.sendBeacon;this.isBrowserSupported="undefined"!==typeof URLSearchParams;var c=tj(new eC,1,1);this.logRequestBuilder.setClientInfo(c);this.flushBackoff=new fZb(1E4);this.flushTimer=new aC(this.flushBackoff.getValue());a=mZb(this,a.backgroundJobDeferrer);Oo(this.flushTimer,"tick",
a,!1,this);this.backupTimer=new aC(6E5);Oo(this.backupTimer,"tick",a,!1,this);this.disableAutomaticFlush||this.backupTimer.start();this.isServiceWorkerScope||(Oo(document,"visibilitychange",function(){"hidden"===document.visibilityState&&b.finalFlush()}),Oo(document,"pagehide",this.finalFlush,!1,this))};X(lC,wB);var mZb=function(a,b){return a.isBrowserSupported?b?function(){b().then(function(){a.flush()})}:function(){a.flush()}:function(){}};
lC.prototype.disposeInternal=function(){this.finalFlush();this.flushTimer.stop();this.backupTimer.stop();wB.prototype.disposeInternal.call(this)};lC.prototype.setClearcutUrl=function(a){this.clearcutUrl=a};lC.prototype.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};
lC.prototype.getClearcutUrl=function(){this.clearcutUrl||(this.clearcutUrl=.01>this.uniformRandomFunction()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return this.clearcutUrl};var mC=function(a,b){a.isBrowserSupported&&(b instanceof gC?a.log(b):(b=hZb(new gC,b.serialize()),a.log(b)))};g=lC.prototype;g.setClearcutClientInfo=function(a){this.logRequestBuilder.setClientInfo(a)};g.setComponentId=function(a){this.componentId=a};
g.setProductID=function(a){this.productID=a};g.setOpaqueExperimentIds=function(a){this.experimentIds||(this.experimentIds=new $B);Lb(this.experimentIds,2,a,Vca)};g.setClearExperimentIds=function(a){if(a){this.experimentIds||(this.experimentIds=new $B);var b=this.experimentIds;a=a.serialize();Lh(b,4,a)}else this.experimentIds&&lk(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;nZb(this,a)};var nZb=function(a,b){a.flushBackoff=new fZb(1>b?1:b);a.flushTimer.setInterval(a.flushBackoff.getValue())};
lC.prototype.log=function(a){a=a.clone();var b=this.sequencePosition++;a=zj(a,21,b);this.componentId&&a.setComponentId(this.componentId);if(!ej(a,1)){var c=Date.now();b=a;c=Number.isFinite(c)?c.toString():"0";yj(b,1,c)}jj(a,15)||zj(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()};lC.prototype.maybeStartFlushTimer=function(){this.disableAutomaticFlush||this.flushTimer.enabled||this.flushTimer.start()};
lC.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),oZb(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&&(d["X-Goog-PageId"]=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 k=e.serialize(),q;this.gzipCompressor&&this.gzipCompressor.getHiddenPropertyName_()&&(q=this.gzipCompressor.compress(k));var t={url:h.toString(),body:k,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=jZb(O)}catch(P){}H&&(J=Number($t(H,1,"-1")),0<J&&(c.startWaitingMs=Date.now(),c.noFlushUntilMs=c.startWaitingMs+J),H=MNb(H,lZb))&&(H=qi(H,1,-1),-1!==H&&(c.clientSpecifiedFlushInterval||nZb(c,H)))}a&&a();c.numRetriesSinceLastSuccessfulFlush=0},z=function(J,H){var O=gi(e,gC,3,hi());var P=Yt(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},F=function(){c.network&&c.network.send(t,w,z)};q?q.then(function(J){t.requestHeaders["Content-Encoding"]="gzip";t.requestHeaders["Content-Type"]="application/binary";t.body=
J;t.bodyType=2;F()},function(){F()}):F()}}}};lC.prototype.finalFlush=function(){this.clientSideLogOnlyForDevelopment||(pZb(this.logRequestBuilder,!0),this.useSendBeaconForFinalFlush&&(this.logRequestBuilder.setTransmissionType(3),oZb(this)),this.useGetRequestForFinalFlush&&(this.logRequestBuilder.setTransmissionType(2),qZb(this)),this.flush(),pZb(this.logRequestBuilder,!1))};
var oZb=function(a){rZb(a,32,10,function(b,c){b=new URL(b);b.searchParams.set("format","json");var d=!1;try{d=PB().navigator.sendBeacon(b.toString(),c.serialize())}catch(e){}d||(a.isSendBeaconSupported=!1);return d})},qZb=function(a){rZb(a,6,5,function(b,c){b=new URL(b);b.searchParams.set("format","base64json");var d=b.searchParams,e=d.set;c=c.serialize();for(var f=[],h=0,k=0;k<c.length;k++){var q=c.charCodeAt(k);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})},rZb=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),k=a.logRequestBuilder.build(h,a.numLogsDroppedSinceLastFlush,a.numRetriesSinceLastSuccessfulFlush,a.productID,a.persistedLogRecoveredCount,a.persistedLogExpiredCount);
if(!d(e.toString(),k)){++a.numRetriesSinceLastSuccessfulFlush;break}a.numLogsDroppedSinceLastFlush=0;a.numRetriesSinceLastSuccessfulFlush=0;a.persistedLogRecoveredCount=0;a.persistedLogExpiredCount=0;a.pendingEvents=a.pendingEvents.slice(h.length)}a.flushTimer.enabled&&a.flushTimer.stop()}},kC=function(a,b){this.isServiceWorkerScope=b=void 0===b?!1:b;this.uach=this.locale=null;this.logRequest=new iZb;Number.isInteger(a)&&this.logRequest.setLogSource(a);b||(this.locale=document.documentElement.getAttribute("lang"));
this.setClientInfo(new eC)};kC.prototype.setLogSource=function(a){this.logRequest.setLogSource(a);return this};kC.prototype.setClientInfo=function(a){this.logRequest.setClientInfo(a);ho(a,1)||tj(a,1,1);this.isServiceWorkerScope||(a=this.getMutableJsClientInfo(),a.getLocale()||a.setLocale(this.locale));this.uach&&(a=this.getMutableJsClientInfo(),$i(a,cC,9)||li(a,cC,9,this.uach))};kC.prototype.setBuildLabel=function(a){this.getMutableJsClientInfo().setBuildLabel(a)};
kC.prototype.setTransmissionType=function(a){ji(this.getMutableClientInfo(),dC,11)&&this.getMutableFlushInfo().setTransmissionType(a)};var pZb=function(a,b){ji(a.getMutableClientInfo(),dC,11)&&(a=a.getMutableFlushInfo(),Mh(a,2,b))};kC.prototype.setRetryCount=function(a){ji(this.getMutableClientInfo(),dC,11)&&this.getMutableFlushInfo().setRetryCount(a)};kC.prototype.setPersistedLogRecoveredCount=function(a){ji(this.getMutableClientInfo(),dC,11)&&this.getMutableFlushInfo().setPersistedLogRecoveredCount(a)};
kC.prototype.setPersistedLogExpiredCount=function(a){ji(this.getMutableClientInfo(),dC,11)&&this.getMutableFlushInfo().setPersistedLogExpiredCount(a)};kC.prototype.getMutableClientInfo=function(){return this.logRequest.getClientInfo()};var sZb=function(a,b){var c=void 0===c?Era:c;var d=a.isServiceWorkerScope?void 0:PB();d?b(d,c).then(function(e){a.uach=e;e=a.getMutableJsClientInfo();li(e,cC,9,a.uach);return!0}).catch(function(){return!1}):Promise.resolve(!1)};
kC.prototype.getMutableJsClientInfo=function(){var a=this.getMutableClientInfo(),b=$i(a,dC,11);b||(b=new dC,li(a,dC,11,b));return b};kC.prototype.getMutableFlushInfo=function(){var a=this.getMutableJsClientInfo(),b=$i(a,bC,10);b||(b=new bC,Mh(b,2,!1),li(a,bC,10,b));return b};kC.prototype.getComplianceData=function(a){var b=new dZb;a=rj(b,13,a);b=new eZb;a=li(b,dZb,2,a);b=new fC;a=li(b,eZb,1,a);return tj(a,2,9)};
kC.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=yj(c,4,e);a=gl(c,3,a);d&&a.setComplianceData(this.getComplianceData(d));b&&zj(a,14,b);return a};var tZb=function(a){try{return ca.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("zb`"+a);},uZb=function(){this.replacer_=void 0};
uZb.prototype.serialize=function(a){var b=[];vZb(this,a,b);return b.join("")};
var vZb=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],vZb(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),wZb(d,c),c.push(":"),vZb(a,a.replacer_?a.replacer_.call(b,
d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":wZb(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("Ab`"+typeof b);}}},xZb={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},yZb=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,wZb=function(a,b){b.push('"',a.replace(yZb,
function(c){var d=xZb[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),xZb[c]=d);return d}),'"')};var zZb=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 AZb=function(){};AZb.prototype.cachedOptions_=null;AZb.prototype.getOptions=function(){return this.cachedOptions_||(this.cachedOptions_=this.internalGetOptions())};var BZb,CZb=function(){};Et(CZb,AZb);CZb.prototype.createInstance=function(){var a=DZb(this);return a?new ActiveXObject(a):new XMLHttpRequest};CZb.prototype.internalGetOptions=function(){var a={};DZb(this)&&(a[0]=!0,a[1]=!0);return a};
var DZb=function(a){if(!a.ieProgId_&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.ieProgId_=d}catch(e){}}throw Error("Bb");}return a.ieProgId_};BZb=new CZb;var EZb=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),FZb=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," ")):"")}}},GZb=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]},HZb=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)HZb(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))},IZb=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)HZb(a[b],a[b+1],c);return c.join("&")},JZb=function(a){var b=[],c;for(c in a)HZb(c,a[c],b);return b.join("&")},nC=function(a,b){var c=2==arguments.length?IZb(arguments[1],0):IZb(arguments,
1);return GZb(a,c)},IAa=function(a,b){b=JZb(b);return GZb(a,b)},KZb=function(a,b,c){c=null!=c?"="+encodeURIComponent(String(c)):"";return GZb(a,b+c)},LZb=/#|$/,MZb=function(a,b){var c=a.search(LZb);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 oC=function(a){No.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};Et(oC,No);
var NZb=/^https?$/i,OZb=["POST","PUT"],PZb=[],qp=function(a,b,c,d,e,f,h){var k=new oC;PZb.push(k);b&&k.listen("complete",b);k.listenOnce("ready",k.cleanupSend_);f&&(k.timeoutInterval_=Math.max(0,f));h&&(k.withCredentials_=h);k.send(a,c,d,e);return k};oC.prototype.cleanupSend_=function(){this.dispose();ua(PZb,this)};oC.prototype.setTrustToken=function(a){this.trustToken_=a};oC.prototype.setAttributionReporting=function(a){this.attributionReportingOptions_=a};
oC.prototype.send=function(a,b,c,d){if(this.xhr_)throw Error("Cb`"+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():BZb.getOptions();this.xhr_.onreadystatechange=Ct(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=l(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Db`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=ca.FormData&&a instanceof ca.FormData;!sa(OZb,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=l(c);for(d=
b.next();!d.done;d=b.next())c=l(d.value),d=c.next().value,c=c.next().value,this.xhr_.setRequestHeader(d,c);this.responseType_&&(this.xhr_.responseType=this.responseType_);"withCredentials"in this.xhr_&&this.xhr_.withCredentials!==this.withCredentials_&&(this.xhr_.withCredentials=this.withCredentials_);if("setTrustToken"in this.xhr_&&this.trustToken_)try{this.xhr_.setTrustToken(this.trustToken_)}catch(h){}if("setAttributionReporting"in this.xhr_&&this.attributionReportingOptions_)try{this.xhr_.setAttributionReporting(this.attributionReportingOptions_)}catch(h){}try{QZb(this),
0<this.timeoutInterval_&&((this.useXhr2Timeout_=RZb(this.xhr_))?(this.xhr_.timeout=this.timeoutInterval_,this.xhr_.ontimeout=Ct(this.timeout_,this)):this.timeoutId_=iq(this.timeout_,this.timeoutInterval_,this)),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(h){this.error_(5,h)}};var RZb=function(a){return Nq&&"number"===typeof a.timeout&&void 0!==a.ontimeout};oC.prototype.createXhr=function(){return this.xmlHttpFactory_?this.xmlHttpFactory_.createInstance():BZb.createInstance()};
oC.prototype.timeout_=function(){"undefined"!=typeof $Lb&&this.xhr_&&(this.lastError_="Timed out after "+this.timeoutInterval_+"ms, aborting",this.lastErrorCode_=8,this.dispatchEvent("timeout"),this.abort(8))};oC.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;SZb(this);TZb(this)};var SZb=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
oC.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"),TZb(this))};oC.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),TZb(this,!0));oC.superClass_.disposeInternal.call(this)};
oC.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)UZb(this);else this.onReadyStateChangeEntryPoint_()};oC.prototype.onReadyStateChangeEntryPoint_=function(){UZb(this)};
var UZb=function(a){if(a.active_&&"undefined"!=typeof $Lb&&(!a.xhrOptions_[1]||4!=a.getReadyState()||2!=a.getStatus()))if(a.inSend_&&4==a.getReadyState())iq(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()+"]";SZb(a)}}finally{TZb(a)}}},TZb=function(a,
b){if(a.xhr_){QZb(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){}}},QZb=function(a){a.xhr_&&a.useXhr2Timeout_&&(a.xhr_.ontimeout=null);a.timeoutId_&&(jq(a.timeoutId_),a.timeoutId_=null)};g=oC.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(EZb)[1]||null,!a&&ca.self&&ca.self.location&&(a=ca.self.location.protocol.slice(0,-1)),a=!NZb.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(ca.JSON)try{var c=ca.JSON.parse(a);break a}catch(d){}c=tZb(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(!Ui(b[c])){var d=HOb(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 Oda(a,function(h){return h.join(", ")})};var Oh=function(a,b){return a.xhr_?a.xhr_.getResponseHeader(b):null};oC.prototype.getLastErrorCode=function(){return this.lastErrorCode_};
oC.prototype.getLastError=function(){return"string"===typeof this.lastError_?this.lastError_:String(this.lastError_)};lXb(function(a){oC.prototype.onReadyStateChangeEntryPoint_=a(oC.prototype.onReadyStateChangeEntryPoint_)});var VZb=function(){};VZb.prototype.send=function(a,b,c){b=void 0===b?function(){}:b;c=void 0===c?function(){}:c;qp(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)};VZb.prototype.getTransmissionType=function(){return 1};var Mo=function(a,b){wB.call(this);this.logSource=a;this.sessionIndex=b;this.destinationUrl="https://play.google.com/log?format=json&hasfast=true";this.serviceWorkerScopeEnabled=!1;this.componentId="";this.sendBeaconApiEnabled=this.getRequestForFinalFlush=this.sendBeaconForFinalFlush=!1;this.useConsistentTimezoneOffset=void 0;this.network=new VZb};X(Mo,wB);g=Mo.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};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.build=function(){var a=new lC({logSource:this.logSource,getAuthHeaderValue:this.getAuthHeaderValue?this.getAuthHeaderValue:Io,sessionIndex:this.sessionIndex,urlOverride:this.destinationUrl,isServiceWorkerScope:this.serviceWorkerScopeEnabled,disableAutomaticFlush:!1,disableWithCredentials:this.withCredentialsDisabled,pageId:this.pageId,backgroundJobDeferrer:this.backgroundJobDeferrer,network:this.network?this.network:void 0});xB(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.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);sZb(a.logRequestBuilder,Ira);this.userAgentClientHintsProvider&&sZb(a.logRequestBuilder,this.userAgentClientHintsProvider);this.useConsistentTimezoneOffset&&a.setUseConsistentTimezoneOffset(!0);this.network.setLogSource&&this.network.setLogSource(this.logSource);this.network.setTransportReferenceAndAttemptFlush&&
this.network.setTransportReferenceAndAttemptFlush(a);return a};var pC=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;wB.call(this);this.logSource=a;this.componentId=b;f?c=f:(a=(new Mo(a,"0")).setComponentId(b),xB(this,a),""!==c&&(a.destinationUrl=c),d&&(a.serviceWorkerScopeEnabled=!0),e&&a.setBuildLabel(e),h&&(a.network=h),c=a.build());this.transport=c};X(pC,wB);pC.prototype.getLogSource=function(){return this.logSource};pC.prototype.getComponentId=function(){return this.componentId};
pC.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new UYb,c=[],d=0;d<a.length;d++){var e=a[d];var f=new ZB;f=Lh(f,1,e.metricName_);for(var h=[],k=0;k<e.fields_.length;k++)h.push(e.fields_[k].field_name);f=Lb(f,3,h,rb);h=[];k=[];for(var q=l(e.cellMap_.keys()),t=q.next();!t.done;t=q.next())k.push(t.value.split(","));for(q=0;q<k.length;q++){t=k[q];var w=e.cellType_;for(var z=e.getCells(t)||[],F=[],J=0;J<z.length;J++){var H=z[J],O=H&&H.cellValue;H=new RYb;switch(w){case 3:O=Number(O);Number.isFinite(O)&&
xk(H,1,SYb,qb(O));break;case 2:xk(H,2,SYb,ib(Number(O)))}F.push(H)}w=F;for(z=0;z<w.length;z++){F=w[z];J=new TYb;F=li(J,RYb,2,F);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],Z=J[P],la=new PYb;switch(U){case 3:Fk(la,1,QYb,String(Z));break;case 2:U=Number(Z);Number.isFinite(U)&&xk(la,2,QYb,null==U?U:mb(U));break;case 1:xk(la,3,QYb,kb("true"===Z))}H.push(la)}gl(F,1,H);h.push(F)}}gl(f,4,h);c.push(f);e.clear()}gl(b,1,c);mC(this.transport,
b);this.transport.flush()}};var WZb=new Xc("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(" ")}}),XZb=new Xc("STREAMZ_PRODUCT_IDENTIFIER"),YZb=new Xc("STREAMZ_ALLOWLIST_IDENTIFIER"),ZZb=new Xc("one_developer_workflow.streamz_service",{providedIn:"root",factory:function(){return Gc(Ge).runOutsideAngular(function(){var a=new pC(1503);a=new DYb(a);a.flushInterval=1E4;a.flushTimer.setInterval(1E4);
return a})}}),qC=function(a,b,c,d,e){this.streamzService=a;this.zone=b;this.oneDeveloperWorkflowUsageMetrics=new GYb(this.streamzService);new HYb(this.streamzService);new IYb(this.streamzService);new JYb(this.streamzService);this.productIdentifier=d||window.location.hostname;this.productionAllowlist=c.map(OYb);this.allowlistIdentifier=NYb(null!=e?e:this.productIdentifier)},rC=function(a,b,c){a.zone.runOutsideAngular(function(){$Zb(a)&&a.oneDeveloperWorkflowUsageMetrics.increment(b,a.productIdentifier,
c)})},$Zb=function(a){return a.productionAllowlist.some(function(b){return a.allowlistIdentifier===b})};qC.\u0275fac=function(a){return new (a||qC)(p(ZZb),p(Ge),p(WZb),p(XZb,8),p(YZb,8))};qC.\u0275prov=vc({token:qC,factory:qC.\u0275fac,providedIn:"root"});var a_b=new Xc("Feature Tooltip Controller Config"),sC=function(a,b,c){this.config=a;this.keyValueStore=b;this.injector=c;this.clientStreamzService=this.config.enableUsageTracking?this.injector.get(qC):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"},b_b=function(a){return a.keyValueStore.getValue(a.lastTooltipKey).pipe(B(function(b){return null===
b?!0:(new Date).getTime()-b>=a.config.cooldownMilliseconds}))};sC.prototype.hideTooltip=function(a){var b;null==(b=this.clientStreamzService)||rC(b,this.config.hiddenMetricName,!0);(0,W.forkJoin)([this.keyValueStore.setValue(this.lastTooltipKey,(new Date).getTime()),this.keyValueStore.setValue(tC(this,a),"HIDDEN")]).pipe(Ye())};
var c_b=function(a,b){a.keyValueStore.getValue(tC(a,b)).pipe(Ce(function(c){return"SHOWING"!==c})).subscribe(function(){a.keyValueStore.setValue(tC(a,b),"HIDDEN")})},e_b=function(a,b,c){var d=c.map(function(e){return tC(a,e)});return a.keyValueStore.getValues(d).pipe(B(function(e){return d_b(a,b,c,e)}))};
sC.prototype.showTooltip=function(a){var b;null==(b=this.clientStreamzService)||rC(b,this.config.shownMetricName,!0);(0,W.forkJoin)([this.keyValueStore.setValue(this.lastTooltipKey,(new Date).getTime()),this.keyValueStore.setValue(tC(this,a),"SHOWING")]).pipe(Ye())};var d_b=function(a,b,c,d){return c.filter(function(e){e=d.get(tC(a,e));return e===b||"UNSEEN"===b&&null===e})},tC=function(a,b){return"onedev.tooltips."+a.config.productName+"."+b};
sC.\u0275fac=function(a){return new (a||sC)(p(a_b),p(tB),p(He))};sC.\u0275prov=vc({token:sC,factory:sC.\u0275fac,providedIn:sB});var uC=function(a){var b=this;this.featureTooltipService=a;this.showTooltip$=(0,W.of)(void 0);this.destroyed$=new W.ReplaySubject;this.getCurrentlyShowingTooltips=function(){return e_b(b.featureTooltipService,"SHOWING",f_b(b))}};
uC.prototype.ngAfterContentInit=function(){var a=this,b=this.showTooltip$.pipe(df(this.getCurrentlyShowingTooltips),df(function(c){return 0<c.length?(0,W.of)(c[0]):(0,W.of)(void 0).pipe(g_b(a),h_b(a))}),B(function(c){return i_b(a,c)}),Ce(function(c){return!!c}),B(function(c){return c}),af({bufferSize:1,refCount:!0}));j_b(this,b);b.pipe(ef(this.destroyed$)).subscribe(function(c){c.open$.next();a.featureTooltipService.showTooltip(c.tooltipId)})};uC.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var g_b=function(a){return(0,W.pipe)(df(function(){return b_b(a.featureTooltipService)}),Ce(W.identity))},h_b=function(a){return(0,W.pipe)(df(function(){return e_b(a.featureTooltipService,"UNSEEN",f_b(a))}),Ce(function(b){return 0<b.length}),B(function(b){return b[0]}))},j_b=function(a,b){b.pipe(df(function(c){return c.dismiss.pipe(Ye(c.tooltipId))}),ef(a.destroyed$)).subscribe(function(c){a.featureTooltipService.hideTooltip(c)})},f_b=function(a){return a.tooltips.map(function(b){return b.tooltipId})},
i_b=function(a,b){return a.tooltips.find(function(c){return c.tooltipId===b})};uC.\u0275fac=function(a){return new (a||uC)(A(sC))};uC.\u0275cmp=Lc({type:uC,selectors:[["onedev-feature-tooltip-controller"]],contentQueries:function(a,b,c){a&1&&Vf(c,qB,4);if(a&2){var d;Yf(d=Zf())&&(b.tooltips=d)}},inputs:{showTooltip$:"showTooltip$"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var vC=function(a,b){this.anchorService=a;this.element=b;this.hideTooltipWhenAnchorNotVisible=!1};vC.prototype.ngOnInit=function(){var a=this;this.hideTooltipWhenAnchorNotVisible?(this.intersectionObserver=new IntersectionObserver(function(b){l(b).next().value.isIntersecting?TWb(a.anchorService,a.tooltipId,a.element):UWb(a.anchorService,a.tooltipId)}),this.intersectionObserver.observe(this.element.nativeElement)):TWb(this.anchorService,this.tooltipId,this.element)};
vC.prototype.ngOnDestroy=function(){UWb(this.anchorService,this.tooltipId);var a;null==(a=this.intersectionObserver)||a.disconnect()};vC.\u0275fac=function(a){return new (a||vC)(A(kB),A(Ad))};vC.\u0275dir=Qc({type:vC,selectors:[["","onedevTooltipAnchor",""]],inputs:{tooltipId:[0,"onedevTooltipAnchor","tooltipId"],hideTooltipWhenAnchorNotVisible:"hideTooltipWhenAnchorNotVisible"}});var wC=function(a,b,c){var d=this;this.featureTooltipService=a;this.renderer=b;this.elementRef=c;this.preventTooltipFromShowing=function(){c_b(d.featureTooltipService,d.tooltipId)}};wC.prototype.ngOnInit=function(){this.unsubscribeFromEvent||(this.event="click")};wC.prototype.ngOnDestroy=function(){var a;null==(a=this.unsubscribeFromEvent)||a.call(this)};
Vg.Object.defineProperties(wC.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)}}});wC.\u0275fac=function(a){return new (a||wC)(A(sC),A(Tu),A(Ad))};wC.\u0275dir=Qc({type:wC,selectors:[["","onedevTooltipPreventer",""]],inputs:{tooltipId:[0,"onedevTooltipPreventer","tooltipId"],event:[0,"onedevPreventTooltipOn","event"]}});var k_b=new Xc("TooltipAnchor"),l_b=new Xc("TooltipPeventer"),xC=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)};xC.prototype.ngOnInit=function(){this.tooltipPreventer.ngOnInit();this.tooltipAnchor.ngOnInit()};
xC.prototype.ngOnDestroy=function(){this.tooltipPreventer.ngOnDestroy();this.tooltipAnchor.ngOnDestroy()};Vg.Object.defineProperties(xC.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}}});
xC.\u0275fac=function(a){return new (a||xC)(A(sC),A(kB),A(Ad),A(Tu),A(k_b),A(l_b))};xC.\u0275dir=Qc({type:xC,selectors:[["","onedevFeatureTooltip",""]],inputs:{tooltipId:[0,"onedevFeatureTooltip","tooltipId"],hideTooltipWhenAnchorNotVisible:"hideTooltipWhenAnchorNotVisible",event:[0,"onedevPreventTooltipOn","event"]},features:[bg([{provide:k_b,useValue:vC},{provide:l_b,useValue:wC}])]});var yC=function(){this.className="gmat-subtitle-1 tooltip-title"};yC.\u0275fac=function(a){return new (a||yC)};yC.\u0275dir=Qc({type:yC,selectors:[["","onedevTooltipTitle",""]],hostVars:2,hostBindings:function(a,b){a&2&&zf(b.className)}});var m_b=new Xc("MatMenuContent");var n_b=new Xc("MAT_MENU_PANEL");var o_b=new Xc("mat-menu-default-options",{providedIn:"root",factory:Jra});var p_b=new Xc("mat-menu-scroll-strategy",{providedIn:"root",factory:function(){var a=Gc(Cy);return function(){return a.scrollStrategies.reposition()}}});Hg({passive:!0});var q_b=mh("transformMenu",[ph("void",oh({opacity:0,transform:"scale(0.8)"})),rh("void => enter",nh("120ms cubic-bezier(0, 0, 0.2, 1)",oh({opacity:1,transform:"scale(1)"}))),rh("* => void",nh("100ms 25ms linear",oh({opacity:0})))]),r_b=mh("fadeInItems",[ph("showing",oh({opacity:1})),rh("void => *",[oh({opacity:0}),nh("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var zC=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 W.Subject};
zC.prototype.attach=function(a){a=void 0===a?{}:a;this._portal||(this._portal=new Ux(this._template,this._viewContainerRef));this.detach();this._outlet||(this._outlet=new Wx(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()};
zC.prototype.detach=function(){this._portal.isAttached&&this._portal.detach()};zC.prototype.ngOnDestroy=function(){this._outlet&&this._outlet.dispose()};zC.\u0275fac=function(a){return new (a||zC)(A(Rf),A(Qu),A(aw),A(He),A(Sf),A(Tg),A(Uu))};zC.\u0275dir=Qc({type:zC});var s_b=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],t_b=Xg(Yg(function(){})),AC=function(a,b,c,d,e){var f=t_b.call(this)||this;f._elementRef=a;f._document=b;f._focusMonitor=c;f._parentMenu=d;f._changeDetectorRef=e;f.role="menuitem";f._hovered=new W.Subject;f._focused=new W.Subject;f._highlighted=!1;f._triggersSubmenu=!1;var h;null==d||null==(h=d.addItem)||h.call(d,f);return f};X(AC,t_b);g=AC.prototype;
g.focus=function(a,b){this._focusMonitor&&a?qx(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()};AC.\u0275fac=function(a){return new (a||AC)(A(Ad),A(Tg),A(px),A(n_b,8),A(Uu))};
AC.\u0275cmp=Lc({type:AC,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:9,hostBindings:function(a,b){a&1&&M("click",function(c){return b._checkDisabled(c)})("mouseenter",function(){return b._handleMouseEnter()});a&2&&(pf("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled)("disabled",b.disabled||null)("mat-id-collision",null),yf("mat-mdc-menu-item-highlighted",b._highlighted)("mat-mdc-menu-item-submenu-trigger",b._triggersSubmenu))},
inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[nf],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"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["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&&(Lf(s_b),Mf(0),E(1,"span",0),Mf(2,1),G(),I(3,"div",1),C(4,Kra,2,0,"svg",2));a&2&&(y(3),D("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),y(),D("ngIf",b._triggersSubmenu))},dependencies:[dw,Sy],encapsulation:2,changeDetection:0});var u_b=0,BC=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._changeDetectorRef=d;this._directDescendantItems=new Tf;this._classList={};this._panelAnimationState="void";this._animationDone=new W.Subject;this.close=this.closed=new zv;this.panelId="mat-menu-panel-"+u_b++;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=BC.prototype;
g.ngOnInit=function(){this.setPositionClasses()};
g.ngAfterContentInit=function(){var a=this;this._updateDirectDescendants();this._keyManager=Ox(Nx(Kx(new Rx(this._directDescendantItems))));this._keyManager.tabOut.subscribe(function(){return a.closed.emit("tab")});this._directDescendantItems.changes.pipe(cf(this._directDescendantItems),df(function(b){return W.merge.apply(null,r(b.map(function(c){return c._focused})))})).subscribe(function(b){return Px(a._keyManager,b)});this._directDescendantItems.changes.subscribe(function(b){var c=a._keyManager,
d;"enter"===a._panelAnimationState&&(null==(d=c.activeItem)?0:d._hasFocus())&&(b=b.toArray(),d=Math.max(0,Math.min(b.length-1,c.activeItemIndex||0)),b[d]&&!b[d].disabled?c.setActiveItem(d):c.setNextItemActive())})};g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._directDescendantItems.destroy();this.closed.complete();var b;null==(b=this._firstItemFocusSubscription)||b.unsubscribe()};
g._hovered=function(){return this._directDescendantItems.changes.pipe(cf(this._directDescendantItems),df(function(a){return W.merge.apply(null,r(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:Mg(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||mSb(c,"keyboard");c.onKeydown(a);return}a.stopPropagation()};
var v_b=function(a,b){b=void 0===b?"program":b;var c;null==(c=a._firstItemFocusSubscription)||c.unsubscribe();a._firstItemFocusSubscription=a._ngZone.onStable.pipe(Ue()).subscribe(function(){var d=null;a._directDescendantItems.length&&(d=a._directDescendantItems.first._getHostElement().closest('[role="menu"]'));if(!d||!d.contains(document.activeElement)){var e=a._keyManager;mSb(e,b)._setActiveItemByIndex(0,1);!e.activeItem&&d&&d.focus()}})};g=BC.prototype;
g.setElevation=function(a){var b=this;a=this._elevationPrefix+Math.min(this._baseElevation+a,24);var c=Object.keys(this._classList).find(function(d){return d.startsWith(b._elevationPrefix)});c&&c!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[a]=!0,this._previousElevation=a)};
g.setPositionClasses=function(a,b){a=void 0===a?this.xPosition:a;b=void 0===b?this.yPosition:b;var c=this._classList;c["mat-menu-before"]="before"===a;c["mat-menu-after"]="after"===a;c["mat-menu-above"]="above"===b;c["mat-menu-below"]="below"===b;var d;null==(d=this._changeDetectorRef)||d.markForCheck()};g._startAnimation=function(){this._panelAnimationState="enter"};g._resetAnimation=function(){this._panelAnimationState="void"};
g._onAnimationDone=function(a){this._animationDone.next(a);this._isAnimating=!1};g._onAnimationStart=function(a){this._isAnimating=!0;"enter"===a.toState&&0===this._keyManager.activeItemIndex&&(a.element.scrollTop=0)};g._updateDirectDescendants=function(){var a=this;this._allItems.changes.pipe(cf(this._allItems)).subscribe(function(b){a._directDescendantItems.reset(b.filter(function(c){return c._parentMenu===a}));Xf(a._directDescendantItems)})};
Vg.Object.defineProperties(BC.prototype,{xPosition:{configurable:!0,enumerable:!0,get:function(){return this._xPosition},set:function(a){this._xPosition=a;this.setPositionClasses()}},yPosition:{configurable:!0,enumerable:!0,get:function(){return this._yPosition},set:function(a){this._yPosition=a;this.setPositionClasses()}},overlapTrigger:{configurable:!0,enumerable:!0,get:function(){return this._overlapTrigger},set:function(a){this._overlapTrigger=Og(a)}},hasBackdrop:{configurable:!0,enumerable:!0,
get:function(){return this._hasBackdrop},set:function(a){this._hasBackdrop=Og(a)}},panelClass:{configurable:!0,enumerable:!0,set:function(a){var b=this,c=this._previousPanelClass;c&&c.length&&c.split(" ").forEach(function(d){b._classList[d]=!1});(this._previousPanelClass=a)&&a.length&&(a.split(" ").forEach(function(d){b._classList[d]=!0}),this._elementRef.nativeElement.className="")}},classList:{configurable:!0,enumerable:!0,get:function(){return this.panelClass},set:function(a){this.panelClass=a}}});
BC.\u0275fac=function(a){return new (a||BC)(A(Ad),A(Ge),A(o_b),A(Uu))};
BC.\u0275dir=Qc({type:BC,contentQueries:function(a,b,c){a&1&&(Vf(c,m_b,5),Vf(c,AC,5),Vf(c,AC,4));if(a&2){var d;Yf(d=Zf())&&(b.lazyContent=d.first);Yf(d=Zf())&&(b._allItems=d);Yf(d=Zf())&&(b.items=d)}},viewQuery:function(a,b){a&1&&Uf(Rf,5);if(a&2){var c;Yf(c=Zf())&&(b.templateRef=c.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",
yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}});var w_b={provide:p_b,deps:[Cy],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},x_b=Hg({passive:!0}),CC=function(a,b,c,d,e,f,h,k,q){var t=this;this._overlay=a;this._element=b;this._viewContainerRef=c;this._menuItemInstance=f;this._dir=h;this._focusMonitor=k;this._ngZone=q;this._overlayRef=null;this._menuOpen=!1;this._menuCloseSubscription=this._hoverSubscription=this._closingActionsSubscription=W.Subscription.EMPTY;this._changeDetectorRef=Gc(Uu);this._handleTouchStart=
function(w){joa(w)||(t._openedBy="touch")};this._openedBy=void 0;this.restoreFocus=!0;this.onMenuOpen=this.menuOpened=new zv;this.onMenuClose=this.menuClosed=new zv;this._scrollStrategy=d;this._parentMaterialMenu=e instanceof BC?e:void 0;b.nativeElement.addEventListener("touchstart",this._handleTouchStart,x_b)};CC.prototype.ngAfterContentInit=function(){this._handleHover()};
CC.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null);this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,x_b);this._menuCloseSubscription.unsubscribe();this._closingActionsSubscription.unsubscribe();this._hoverSubscription.unsubscribe()};var DC=function(a){return!!(a._menuItemInstance&&a._parentMaterialMenu&&a.menu)};g=CC.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?!DC(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 BC&&(b._startAnimation(),b._directDescendantItems.changes.pipe(ef(b.close)).subscribe(function(){zSb(DSb(e,
!1));DSb(e,!0)}))}};g.closeMenu=function(){var a;null==(a=this.menu)||a.close.emit()};g.focus=function(a,b){this._focusMonitor&&a?qx(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&&DC(this)||this.focus(this._openedBy);this._openedBy=void 0;if(c instanceof BC)c._resetAnimation(),c.lazyContent?c._animationDone.pipe(Ce(function(e){return"void"===e.toState}),Ue(),ef(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=DC(this)?this._parentMaterialMenu:void 0;a.direction=this.dir;this._setMenuElevation(a);v_b(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(),DC(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 sy({positionStrategy:ESb(BSb(DSb(By(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=l("before"===a.xPosition?["end","start"]:["start","end"]),d=c.next().value;c=c.next().value;var e=l("above"===a.yPosition?["bottom","top"]:["top","bottom"]),f=e.next().value;e=e.next().value;var h=l([f,e]),k=h.next().value;h=h.next().value;var q=l([d,c]),t=q.next().value;q=q.next().value;var w=0;DC(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||(k="top"===f?"bottom":"top",h="top"===e?"bottom":"top");vy(b,[{originX:d,originY:k,overlayX:t,overlayY:f,offsetY:w},{originX:c,originY:k,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,W.of)(),e=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ce(function(f){return f!==a._menuItemInstance}),Ce(function(){return a._menuOpen})):(0,W.of)();return(0,W.merge)(b,d,e,c)};g._handleMousedown=function(a){ioa(a)||(this._openedBy=0===a.button?"mouse":void 0,DC(this)&&a.preventDefault())};
g._handleKeydown=function(a){a=a.keyCode;if(13===a||32===a)this._openedBy="keyboard";DC(this)&&(39===a&&"ltr"===this.dir||37===a&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())};g._handleClick=function(a){DC(this)?(a.stopPropagation(),this.openMenu()):this._menuOpen?this.closeMenu():this.openMenu()};
g._handleHover=function(){var a=this;DC(this)&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Ce(function(b){return b===a._menuItemInstance&&!b.disabled}),Se(0,W.asapScheduler)).subscribe(function(){a._openedBy="mouse";a.menu instanceof BC&&a.menu._isAnimating?a.menu._animationDone.pipe(Ue(),Se(0,W.asapScheduler),ef(a._parentMaterialMenu._hovered())).subscribe(function(){return a.openMenu()}):a.openMenu()}))};
g._getPortal=function(a){this._portal&&this._portal.templateRef===a.templateRef||(this._portal=new Ux(a.templateRef,this._viewContainerRef));return this._portal};
Vg.Object.defineProperties(CC.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(DC(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"}}});CC.\u0275fac=function(a){return new (a||CC)(A(Cy),A(Ad),A(Sf),A(p_b),A(n_b,8),A(AC,10),A(ay,8),A(px),A(Ge))};
CC.\u0275dir=Qc({type:CC,hostVars:3,hostBindings:function(a,b){a&1&&M("click",function(c){return b._handleClick(c)})("mousedown",function(c){return b._handleMousedown(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&pf("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"}});var EC=function(){zC.apply(this,arguments)};X(EC,zC);EC.\u0275fac=function(){var a;return function(b){return(a||(a=zd(EC)))(b||EC)}}();EC.\u0275dir=Qc({type:EC,selectors:[["ng-template","matMenuContent",""]],features:[bg([{provide:m_b,useExisting:EC}]),nf]});var FC=function(){return AC.apply(this,arguments)||this};X(FC,AC);FC.\u0275fac=function(){var a;return function(b){return(a||(a=zd(FC)))(b||FC)}}();
FC.\u0275cmp=Lc({type:FC,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:21,hostBindings:function(a,b){a&2&&(pf("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled.toString())("disabled",b.disabled||null)("mat-id-collision",null),yf("mat-menu-item",!0)("mat-menu-item-highlighted",b._highlighted)("mat-menu-item-submenu-trigger",b._triggersSubmenu)("mat-mdc-menu-item",!1)("mat-mdc-focus-indicator",!1)("mdc-list-item",!1)("mat-mdc-menu-item-highlighted",
!1)("mat-mdc-menu-item-submenu-trigger",!1))},inputs:{disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matMenuItem"],features:[bg([{provide:AC,useExisting:FC}]),nf],attrs:["mat-menu-item",""],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,
"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(a,b){a&1&&(Lf(),Mf(0),I(1,"div",0),C(2,Lra,2,0,"svg",1));a&2&&(y(),D("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),y(),D("ngIf",b._triggersSubmenu))},dependencies:[dw,Sy],encapsulation:2,changeDetection:0});var GC=function(){CC.apply(this,arguments)};X(GC,CC);GC.\u0275fac=function(){var a;return function(b){return(a||(a=zd(GC)))(b||GC)}}();GC.\u0275dir=Qc({type:GC,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[nf]});var HC=function(a,b,c,d){BC.call(this,a,b,c,d);this._elevationPrefix="mat-elevation-z";this._baseElevation=4};X(HC,BC);HC.\u0275dir=BC.\u0275dir;HC.\u0275fac=function(a){return new (a||HC)(A(Ad),A(Ge),A(o_b),A(Uu))};
HC.\u0275cmp=Lc({type:HC,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:4,hostBindings:function(a){a&2&&pf("aria-label",null)("aria-labelledby",null)("aria-describedby",null)("mat-id-collision",null)},exportAs:["matMenu"],features:[bg([{provide:n_b,useExisting:HC}]),nf],ngContentSelectors:["*"],decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(a){a&1&&(Lf(),C(0,Mra,3,6,"ng-template"))},
dependencies:[gw],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],
encapsulation:2,data:{animation:[q_b,r_b]},changeDetection:0});var IC=function(){};IC.\u0275fac=function(a){return new (a||IC)};IC.\u0275mod=Nc({type:IC});IC.\u0275inj=wc({providers:[w_b],imports:[uw,Gy,Vy,Fy,py,Gy]});var y_b=["tooltip"],z_b=new Xc("mat-tooltip-scroll-strategy",{providedIn:"root",factory:function(){var a=Gc(Cy);return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}}),A_b={provide:z_b,deps:[Cy],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},B_b=new Xc("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),C_b=Hg({passive:!0}),KC=function(a,b,c,d,e,
f,h,k,q,t,w,z){var F=this;this._overlay=a;this._elementRef=b;this._scrollDispatcher=c;this._viewContainerRef=d;this._ngZone=e;this._platform=f;this._ariaDescriber=h;this._focusMonitor=k;this._dir=t;this._defaultOptions=w;this._position="below";this._pointerExitEventsInitialized=this._viewInitialized=this._disabled=this._positionAtOrigin=!1;this._tooltipComponent=JC;this._viewportMargin=8;this._cssClassPrefix="mat-mdc";this.touchGestures="auto";this._message="";this._passiveListeners=[];this._destroyed=
new W.Subject;this._scrollStrategy=q;this._document=z;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(ef(this._destroyed)).subscribe(function(){F._overlayRef&&F._updatePosition(F._overlayRef)});this._viewportMargin=8};g=KC.prototype;
g.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(ef(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=l(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,C_b)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();Ex(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 Tx(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b.afterHidden().pipe(ef(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 Ad)return this._overlayRef;this._detach()}c=rSb(this._scrollDispatcher,this._elementRef);a=ASb(wy(xy(ESb(By(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(ef(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(ef(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(ef(this._destroyed)).subscribe(function(){var e;
return null==(e=b._tooltipInstance)?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(ef(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&27===e.keyCode&&!Mg(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();vy(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(),this._ngZone.onMicrotaskEmpty.pipe(Ue(),ef(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,r(b))}};g._addListeners=function(a){var b=this;a.forEach(function(c){var d=l(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,C_b)})};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"}};
Vg.Object.defineProperties(KC.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=Og(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=Og(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=Rg(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=Rg(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;Ex(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(){Dx(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)}}});KC.\u0275fac=function(a){return new (a||KC)(A(Cy),A(Ad),A(ky),A(Sf),A(Ge),A(fx),A(Cx),A(px),A(z_b),A(ay),A(B_b,8),A(Tg))};
KC.\u0275dir=Qc({type:KC,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&yf("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 JC=function(a,b,c){this._changeDetectorRef=a;this._elementRef=b;this._isVisible=this._closeOnInteraction=this._isMultiline=!1;this._onHide=new W.Subject;this._showAnimation="mat-mdc-tooltip-show";this._hideAnimation="mat-mdc-tooltip-hide";this._animationsDisabled="NoopAnimations"===c};g=JC.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))};
JC.\u0275fac=function(a){return new (a||JC)(A(Uu),A(Ad),A(Su,8))};
JC.\u0275cmp=Lc({type:JC,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&Uf(y_b,7);if(a&2){var c;Yf(c=Zf())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(a,b){a&1&&M("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&xf("zoom",b.isVisible()?1:null)},standalone:!0,features:[dg],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],
template:function(a,b){a&1&&(E(0,"div",0,1),M("animationend",function(c){return b._handleAnimationEnd(c)}),E(2,"div",2),R(3),G()());a&2&&(yf("mdc-tooltip--multiline",b._isMultiline),D("ngClass",b.tooltipClass),y(3),$f(b.message))},dependencies:[gw],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 LC=function(){};LC.\u0275fac=function(a){return new (a||LC)};LC.\u0275mod=Nc({type:LC});LC.\u0275inj=wc({providers:[A_b],imports:[Bx,uw,Fy,Gy,Gy,py]});var D_b={provide:z_b,deps:[Cy],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},E_b=Hg({passive:!0}),MC=function(a,b,c,d,e,f,h,k,q,t,w,z){var F=this;this._overlay=a;this._elementRef=b;this._scrollDispatcher=c;this._viewContainerRef=d;this._ngZone=e;this._platform=f;this._ariaDescriber=h;this._focusMonitor=k;this._dir=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 W.Subject;this._scrollStrategy=q;this._document=z;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(ef(this._destroyed)).subscribe(function(){F._overlayRef&&F._updatePosition(F._overlayRef)})};
g=MC.prototype;g.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(ef(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=l(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,E_b)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();Ex(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 Tx(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b.afterHidden().pipe(ef(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 Ad)return this._overlayRef;this._detach()}c=rSb(this._scrollDispatcher,this._elementRef);a=ASb(wy(xy(ESb(By(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(ef(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(ef(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(ef(this._destroyed)).subscribe(function(){var e;
return null==(e=b._tooltipInstance)?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(ef(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&27===e.keyCode&&!Mg(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();vy(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(Ue(),ef(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,r(b))}};g._addListeners=function(a){var b=this;a.forEach(function(c){var d=l(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,E_b)})};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"}};
Vg.Object.defineProperties(MC.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=Og(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=Og(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=Rg(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=Rg(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;Ex(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(){Dx(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)}}});MC.\u0275fac=function(){Hd()};
MC.\u0275dir=Qc({type:MC,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 NC=function(a,b){this._changeDetectorRef=a;this._isVisible=this._closeOnInteraction=!1;this._onHide=new W.Subject;this._animationsDisabled="NoopAnimations"===b};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(){};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)(A(Uu),A(Su,8))};NC.\u0275dir=Qc({type:NC});/*

 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 F_b=["tooltip"],PC=function(a,b,c,d,e,f,h,k,q,t,w,z){MC.call(this,a,b,c,d,e,f,h,k,q,t,w,z);this._tooltipComponent=OC};X(PC,MC);PC.\u0275fac=function(a){return new (a||PC)(A(Cy),A(Ad),A(ky),A(Sf),A(Ge),A(fx),A(Cx),A(px),A(z_b),A(ay,8),A(B_b,8),A(Tg))};PC.\u0275dir=Qc({type:PC,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&yf("mat-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],features:[nf]});
var OC=function(a,b,c){NC.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)")};X(OC,NC);OC.\u0275dir=NC.\u0275dir;OC.\u0275fac=function(a){return new (a||OC)(A(Uu),A(ux),A(Su,8))};
OC.\u0275cmp=Lc({type:OC,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&Uf(F_b,7);if(a&2){var c;Yf(c=Zf())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&1&&M("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&(pf("mat-id-collision",null),xf("zoom",b.isVisible()?1:null))},features:[nf],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(a,b){a&1&&(E(0,"div",0,1),M("animationend",
function(d){return b._handleAnimationEnd(d)}),T(2,"async"),R(3),G());if(a&2){var c;yf("mat-tooltip-handset",null==(c=V(2,4,b._isHandset))?null:c.matches);D("ngClass",b.tooltipClass);y(3);$f(b.message)}},dependencies:[gw,mw],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 QC=function(){};QC.\u0275fac=function(a){return new (a||QC)};QC.\u0275mod=Nc({type:QC});QC.\u0275inj=wc({imports:[Gy,Gy]});var G_b=new Xc("g3cWidgetTaskManagementServicePromiseClient"),H_b=new Xc("g3cWidgetUserPrefsServicePromiseClient"),I_b=new Xc("g3cWidgetServiceConfig");var go=function(a){this.internalArray_=m(a)};X(go,n);g=go.prototype;g.getDescription=function(){return Zi(this,1)};g.setDescription=function(a){return Rj(this,1,a)};g.getStatus=function(){return cj(this,3,0)};g.setStatus=function(a){return Sj(this,3,a)};g.getVersion=function(){return kj(this,5)};g.getVersion_asLegacyNumberOrString=function(){return kj(this,5)};g.setVersion=function(a){return Qj(this,5,a)};g.getOwnedByMe=function(){return Xi(this,7)};g.setOwnedByMe=function(a){return Ik(this,7,a)};
g.getCreatorEmail=function(){return Zi(this,9)};go.repeatedFields_=[4,6];var sk=function(a){this.internalArray_=m(a)};X(sk,n);sk.prototype.getAccessLevel=function(){return cj(this,1,0)};sk.prototype.setAccessLevel=function(a){return Sj(this,1,a)};var RC=function(a){this.internalArray_=m(a)};X(RC,n);RC.prototype.getAuthorEmail=function(){return Zi(this,2)};RC.prototype.getContent=function(){return Zi(this,3)};RC.prototype.setContent=function(a){return Rj(this,3,a)};RC.prototype.getExternalLink=function(){return Zi(this,6)};RC.repeatedFields_=[5];var eo=function(a){this.internalArray_=m(a)};X(eo,n);g=eo.prototype;g.getDescription=function(){return Zi(this,1)};g.setDescription=function(a){return Rj(this,1,a)};g.getStatus=function(){return cj(this,3,0)};g.setStatus=function(a){return Sj(this,3,a)};g.getCommentsList=function(){return gi(this,RC,7,hi())};g.getAuthorEmail=function(){return Zi(this,10)};g.getWorkspaceName=function(){return Zi(this,15)};eo.repeatedFields_=[5,6,7,11,17,13,14];var SC=function(a){this.internalArray_=m(a)};X(SC,n);SC.prototype.getCommentId=function(){return Zi(this,1)};SC.prototype.getContent=function(){return Zi(this,8)};SC.prototype.setContent=function(a){return Rj(this,8,a)};SC.prototype.getExternalLink=function(){return Zi(this,12)};SC.repeatedFields_=[14];var TC=function(a){this.internalArray_=m(a)};X(TC,n);g=TC.prototype;g.getCreatedTimestamp=function(){return kj(this,1)};g.getCreatedTimestamp_asLegacyNumberOrString=function(){return kj(this,1)};g.getOwnedByMe=function(){return Xi(this,3)};g.setOwnedByMe=function(a){return Ik(this,3,a)};g.getMimeType=function(){return Zi(this,15)};g.setMimeType=function(a){Rj(this,15,a)};g.getCommentsList=function(){return gi(this,SC,6,hi())};g.getCreatorEmail=function(){return Zi(this,11)};
TC.repeatedFields_=[17,6];var J_b=function(a){this.internalArray_=m(a)};X(J_b,n);g=J_b.prototype;g.getResourceId=function(){return Zi(this,17)};g.setResourceId=function(a){Rj(this,17,a)};g.getTitle=function(){return Zi(this,2)};g.setTitle=function(a){return Rj(this,2,a)};g.getLastModifiedTimestamp=function(){return kj(this,3)};g.getIconName=function(){return Zi(this,10)};g.getExternalLink=function(){return Zi(this,16)};g.getIsDeleted=function(){return Xi(this,19)};g.setIsDeleted=function(a){Ik(this,19,a)};
g.getDriveResource=function(){return Ak(this,TC,5,fo)};g.hasDriveResource=function(){return Wk(this,TC,5,fo)};var fo=[5,6,7,8,9,18,22,23,24];var UC=function(a){this.internalArray_=m(a)};X(UC,n);UC.prototype.getName=function(){return Zi(this,1)};UC.prototype.setName=function(a){return Rj(this,1,a)};UC.prototype.getContent=function(){return Zi(this,2)};UC.prototype.setContent=function(a){return Rj(this,2,a)};var K_b=function(a){this.internalArray_=m(a)};X(K_b,n);g=K_b.prototype;g.getTaskId=function(){return Zi(this,1)};g.getResource=function(){return $i(this,J_b,6)};g.getNote=function(){return $i(this,UC,22)};g.getCreatedTimestamp=function(){return kj(this,7)};g.getCreatedTimestamp_asLegacyNumberOrString=function(){return kj(this,7)};g.getUpdatedTimestamp_asLegacyNumberOrString=function(){return kj(this,8)};var L_b=function(a){this.internalArray_=m(a)};X(L_b,n);var VC=function(a){this.internalArray_=m(a)};X(VC,n);VC.prototype.getCreatedTimestamp=function(){return kj(this,3)};VC.prototype.getCreatedTimestamp_asLegacyNumberOrString=function(){return kj(this,3)};VC.prototype.getUpdatedTimestamp_asLegacyNumberOrString=function(){return kj(this,4)};var M_b=[2];var WC=function(a){this.internalArray_=m(a)};X(WC,n);WC.prototype.setTaskIdsList=function(a){return Lb(this,1,a,rb)};WC.repeatedFields_=[1];var Il=function(a){this.internalArray_=m(a)};X(Il,n);Il.prototype.getId=function(){return Zi(this,1)};Il.prototype.setId=function(a){return Rj(this,1,a)};Il.prototype.getVersion=function(){return Zi(this,2)};Il.prototype.setVersion=function(a){return Rj(this,2,a)};var XC=function(a){this.internalArray_=m(a)};X(XC,n);XC.prototype.getName=function(){return Zi(this,1)};XC.prototype.setName=function(a){return Rj(this,1,a)};var YC=function(a,b,c){var d=this;this.userPrefsApiPromiseClient=a;this.taskManagementApiPromiseClient=b;this.config=c;this.sessionIndex="0";(0,W.defer)(function(){var e=(new XC).setName("keys/2");return(0,W.from)(d.userPrefsApiPromiseClient.getUserPrefs(e,d.getHeaders()))}).pipe(B(function(e){return(e=Ak(e.getUserPrefs()||new VC,L_b,2,M_b))?12096E5>=Date.now()-kj(e,21):!1}),af(1))};
YC.prototype.getTask=function(){var a=this,b=(new WC).setTaskIdsList([void 0]);return(0,W.defer)(function(){var c=W.from;var d=a.taskManagementApiPromiseClient;var e=a.getHeaders();d=ZC(d.client_,d.hostname_+"/$rpc/google.internal.devopsconsole.v1.TaskManagementService/ListTasksForIds",b,e||{},N_b);return c.call(W,d)}).pipe(B(function(c){if((c=c.getTasksList())&&0!==c.length){a:{var d=cj(c[0],3,0);switch(d){case 0:case 6:case 2:case 3:case 5:case 1:break a;default:Nh(d)}d=void 0}c={taskId:void 0,
taskStatus:d,snoozeUntilMs:Number(kj(c[0],12)||"")}}else c={taskId:void 0,taskStatus:0,snoozeUntilMs:0};return c}))};YC.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:Io([])||"","X-Goog-AuthUser":this.sessionIndex}};
YC.\u0275fac=function(a){return new (a||YC)(p(H_b),p(G_b),p(I_b,8))};YC.\u0275prov=vc({token:YC,factory:YC.\u0275fac,providedIn:"root"});var $C=function(){};$C.\u0275fac=function(a){return new (a||$C)};$C.\u0275mod=Nc({type:$C});$C.\u0275inj=wc({imports:[Vy,Gy,Gy]});var aD=function(){};aD.\u0275fac=function(a){return new (a||aD)};aD.\u0275mod=Nc({type:aD});aD.\u0275inj=wc({imports:[Bx,jB,uw,sB,$C,QC,Fy,nB]});var O_b=function(a){this.internalArray_=m(a)};X(O_b,n);var P_b=function(a,b,c){this.requestMessage_=a;this.methodDescriptor_=b;this.metadata_=c};P_b.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};P_b.prototype.getMetadata=function(){return this.metadata_};var Q_b=function(a,b,c){c=void 0===c?{}:c;this.responseMessage_=a;this.metadata_=c;this.methodDescriptor_=b;this.status_=null};Q_b.prototype.getMetadata=function(){return this.metadata_};Q_b.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};Q_b.prototype.getStatus=function(){return this.status_};var bD=function(a,b,c,d,e){this.name=a;this.requestType=b;this.responseType=c;this.requestSerializeFn=d;this.responseDeserializeFn=e},R_b=function(a,b,c){c=void 0===c?{}:c;return new P_b(b,a,c)};bD.prototype.getName=function(){return this.name};bD.prototype.getName=bD.prototype.getName;var cD=function(a){this.internalArray_=m(a)};X(cD,n);cD.prototype.getTasksList=function(){return gi(this,K_b,1,hi())};var S_b=Xb(cD);cD.repeatedFields_=[1];var N_b=new bD("/google.internal.devopsconsole.v1.TaskManagementService/ListTasksForIds",WC,cD,function(a){return a.serialize()},S_b);var T_b=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}},U_b=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 dD=function(a,b,c){c=void 0===c?{}:c;b=Error.call(this,b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a;this.metadata=c};X(dD,Error);dD.prototype.toString=function(){var a="RpcError("+(U_b(this.code)||String(this.code))+")";this.message&&(a+=": "+this.message);return a};dD.prototype.name="RpcError";var V_b=Promise;var eD=function(a){this.internalArray_=m(a)};X(eD,n);eD.prototype.getCode=function(){return qi(this,1)};eD.prototype.setCode=function(a){return Zj(this,1,a)};eD.prototype.getMessage=function(){return Zi(this,2)};eD.prototype.setMessage=function(a){Rj(this,2,a)};var W_b=Xb(eD);eD.repeatedFields_=[3];var fD=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_&&X_b(this)},b0b=function(a,b){Oo(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("Eb");c=atob(c)}try{var d=
a.grpcResponseDeserializeFn_(c)}catch(h){gD(a,new dD(13,"Error when deserializing response data; error: "+h+(", response: "+c)));return}c=T_b(a.xhr_.getStatus());Y_b(a,Z_b(a));0==c?$_b(a,d):gD(a,new dD(c,"Xhr succeeded but the status code is not 200"))}else{c=a.xhr_.getResponseText();d=Z_b(a);if(c){var e=a0b(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;Y_b(a,d);gD(a,new dD(c,f,e))}})},
X_b=function(a){a.xhrNodeReadableStream_.on("data",function(b){if("1"in b){var c=b["1"];try{var d=a.grpcResponseDeserializeFn_(c)}catch(e){gD(a,new dD(13,"Error when deserializing response data; error: "+e+(", response: "+c)))}d&&$_b(a,d)}if("2"in b)for(b=a0b(a,b["2"]),c=0;c<a.onStatusCallbacks_.length;c++)a.onStatusCallbacks_[c](b)});a.xhrNodeReadableStream_.on("end",function(){Y_b(a,Z_b(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=T_b(c);break;default:d=14}Y_b(a,Z_b(a));b=zZb(b)+", error: "+a.xhr_.getLastError();-1!=c&&(b+=", http status code: "+c);gD(a,new dD(d,b))}})},Z_b=function(a){var b={},c=a.xhr_.getResponseHeaders();Object.keys(c).forEach(function(d){b[d]=c[d]});return b},a0b=function(a,b){var c=2,d={};try{var e=W_b(b);c=
e.getCode();var f=e.getMessage();gi(e,qu,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}};fD.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 hD=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)};fD.prototype.removeListener=function(a,b){"data"==a?hD(this.onDataCallbacks_,b):"metadata"==a?hD(this.onMetadataCallbacks_,b):"status"==a?hD(this.onStatusCallbacks_,b):"end"==a?hD(this.onEndCallbacks_,b):"error"==a&&hD(this.onErrorCallbacks_,b);return this};fD.prototype.cancel=function(){this.xhr_.abort()};
var $_b=function(a,b){for(var c=0;c<a.onDataCallbacks_.length;c++)a.onDataCallbacks_[c](b)},Y_b=function(a,b){for(var c=0;c<a.onMetadataCallbacks_.length;c++)a.onMetadataCallbacks_[c](b)},gD=function(a,b){for(var c=0;c<a.onErrorCallbacks_.length;c++)a.onErrorCallbacks_[c](b)};fD.prototype.cancel=fD.prototype.cancel;fD.prototype.removeListener=fD.prototype.removeListener;fD.prototype.on=fD.prototype.on;var iD=function(a){this.worker_=a.worker||null;this.streamBinaryChunks_=a.streamBinaryChunks||!1;this.cacheMode_=this.credentialsMode_=void 0};Et(iD,AZb);iD.prototype.createInstance=function(){var a=new jD(this.worker_,this.streamBinaryChunks_);this.credentialsMode_&&a.setCredentialsMode(this.credentialsMode_);this.cacheMode_&&a.setCacheMode(this.cacheMode_);return a};iD.prototype.internalGetOptions=Du({});iD.prototype.setCredentialsMode=function(a){this.credentialsMode_=a};
iD.prototype.setCacheMode=function(a){this.cacheMode_=a};var jD=function(a,b){No.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};
Et(jD,No);jD.prototype.open=function(a,b){if(0!=this.readyState)throw this.abort(),Error("Fb");this.method_=a;this.url_=b;this.readyState=1;kD(this)};jD.prototype.send=function(a){if(1!=this.readyState)throw this.abort(),Error("Gb");this.inProgress_=!0;var b={headers:this.requestHeaders_,method:this.method_,credentials:this.credentialsMode_,cache:this.cacheMode_};a&&(b.body=a);(this.worker_||ca).fetch(new Request(this.url_,b)).then(this.handleResponse_.bind(this),this.handleSendFailure_.bind(this))};
jD.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,lD(this));this.readyState=0};
jD.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,kD(this)),this.inProgress_&&(this.readyState=3,kD(this),this.inProgress_)))if("arraybuffer"===this.responseType)a.arrayBuffer().then(this.handleResponseArrayBuffer_.bind(this),this.handleSendFailure_.bind(this));else if("undefined"!==typeof ca.ReadableStream&&
"body"in a){this.currentReader_=a.body.getReader();if(this.streamBinaryChunks_){if(this.responseType)throw Error("Hb");this.response=[]}else this.response=this.responseText="",this.textDecoder_=new TextDecoder;c0b(this)}else a.text().then(this.handleResponseText_.bind(this),this.handleSendFailure_.bind(this))};var c0b=function(a){a.currentReader_.read().then(a.handleDataFromStream_.bind(a)).catch(a.handleSendFailure_.bind(a))};
jD.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?lD(this):kD(this);3==this.readyState&&c0b(this)}};jD.prototype.handleResponseText_=function(a){this.inProgress_&&(this.response=this.responseText=a,lD(this))};
jD.prototype.handleResponseArrayBuffer_=function(a){this.inProgress_&&(this.response=a,lD(this))};jD.prototype.handleSendFailure_=function(){this.inProgress_&&lD(this)};var lD=function(a){a.readyState=4;a.fetchResponse_=null;a.currentReader_=null;a.textDecoder_=null;kD(a)};g=jD.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 kD=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};
Object.defineProperty(jD.prototype,"withCredentials",{get:function(){return"include"===this.credentialsMode_},set:function(a){this.setCredentialsMode(a?"include":"same-origin")}});var d0b=function(a){if(a.getCount&&"function"==typeof a.getCount)a=a.getCount();else if(xa(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},mD=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(xa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Qda(a)},e0b=
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(xa(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}}},f0b=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(xa(a)||"string"===typeof a)Array.prototype.forEach.call(a,
b,c);else for(var d=e0b(a),e=mD(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)},g0b=function(a,b,c){if("function"==typeof a.every)return a.every(b,c);if(xa(a)||"string"===typeof a)return Array.prototype.every.call(a,b,c);for(var d=e0b(a),e=mD(a),f=e.length,h=0;h<f;h++)if(!b.call(c,e[h],d&&d[h],a))return!1;return!0};var So=function(a,b){this.domain_=this.userInfo_=this.scheme_="";this.port_=null;this.fragment_=this.path_="";this.ignoreCase_=!1;var c;a instanceof So?(this.ignoreCase_=void 0!==b?b:a.ignoreCase_,nD(this,a.scheme_),this.setUserInfo(a.getUserInfo()),oD(this,a.getDomain()),this.setPort(a.getPort()),this.setPath(a.getPath()),pD(this,a.queryData_.clone()),qD(this,a.fragment_)):a&&(c=String(a).match(EZb))?(this.ignoreCase_=!!b,nD(this,c[1]||"",!0),this.setUserInfo(c[2]||"",!0),oD(this,c[3]||"",!0),this.setPort(c[4]),
this.setPath(c[5]||"",!0),pD(this,c[6]||"",!0),qD(this,c[7]||"",!0)):(this.ignoreCase_=!!b,this.queryData_=new rD(null,this.ignoreCase_))};
So.prototype.toString=function(){var a=[],b=this.scheme_;b&&a.push(sD(b,h0b,!0),":");var c=this.getDomain();if(c||"file"==b)a.push("//"),(b=this.getUserInfo())&&a.push(sD(b,h0b,!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(sD(c,"/"==c.charAt(0)?i0b:j0b,!0));(c=this.queryData_.toString())&&a.push("?",c);(c=this.fragment_)&&a.push("#",sD(c,k0b));
return a.join("")};
So.prototype.resolve=function(a){var b=this.clone(),c=!!a.scheme_;c?nD(b,a.scheme_):c=a.hasUserInfo();c?b.setUserInfo(a.getUserInfo()):c=!!a.domain_;c?oD(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(ia(e,"./")||ia(e,"/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var f=
[],h=0;h<e.length;){var k=e[h++];"."==k?d&&h==e.length&&f.push(""):".."==k?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&h==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=a.hasQuery();c?pD(b,a.queryData_.clone()):c=!!a.fragment_;c&&qD(b,a.fragment_);return b};So.prototype.clone=function(){return new So(this)};var nD=function(a,b,c){a.scheme_=c?tD(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a};So.prototype.getUserInfo=function(){return this.userInfo_};
So.prototype.setUserInfo=function(a,b){this.userInfo_=b?tD(a):a;return this};So.prototype.hasUserInfo=function(){return!!this.userInfo_};So.prototype.getDomain=function(){return this.domain_};var oD=function(a,b,c){a.domain_=c?tD(b,!0):b;return a};g=So.prototype;g.getPort=function(){return this.port_};g.setPort=function(a){if(a){a=Number(a);if(isNaN(a)||0>a)throw Error("Ib`"+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?tD(a,!0):a;return this};g.hasPath=function(){return!!this.path_};g.hasQuery=function(){return""!==this.queryData_.toString()};var pD=function(a,b,c){b instanceof rD?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=sD(b,l0b)),a.queryData_=new rD(b,a.ignoreCase_));return a};So.prototype.setQuery=function(a){return pD(this,a)};So.prototype.getQuery=function(){return this.queryData_.toString()};
var uD=function(a,b,c){a.queryData_.set(b,c);return a},vD=function(a,b){return a.queryData_.get(b)},qD=function(a,b,c){a.fragment_=c?tD(b):b;return a},wD=function(a){uD(a,"zx",Lu());return a};So.prototype.removeParameter=function(a){this.queryData_.remove(a);return this};So.prototype.isReadOnly=function(){return!1};So.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)};
var xD=function(a,b){return a instanceof So?a.clone():new So(a,b)},m0b=function(a,b,c,d,e){var f=new So(null);a&&nD(f,a);b&&f.setUserInfo(b);c&&oD(f,c);d&&f.setPort(d);e&&f.setPath(e);return f},tD=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},sD=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,n0b),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},n0b=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},
h0b=/[#\/\?@]/g,j0b=/[#\?:]/g,i0b=/[#\?]/g,l0b=/[#\?@]/g,k0b=/#/g,rD=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},yD=function(a){a.keyMap_||(a.keyMap_=new Map,a.count_=0,a.encodedQuery_&&FZb(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};g=rD.prototype;g.getCount=function(){yD(this);return this.count_};
g.add=function(a,b){yD(this);this.encodedQuery_=null;a=zD(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){yD(this);a=zD(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(){yD(this);return 0==this.count_};g.containsKey=function(a){yD(this);a=zD(this,a);return this.keyMap_.has(a)};
g.containsValue=function(a){var b=this.getValues();return sa(b,a)};g.forEach=function(a,b){yD(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};g.getKeys=function(){yD(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){yD(this);var b=[];if("string"===typeof a)this.containsKey(a)&&(b=b.concat(this.keyMap_.get(zD(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){yD(this);this.encodedQuery_=null;a=zD(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(zD(this,a),wa(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 rD;a.encodedQuery_=this.encodedQuery_;this.keyMap_&&(a.keyMap_=new Map(this.keyMap_),a.count_=this.count_);return a};var zD=function(a,b){b=String(b);a.ignoreCase_&&(b=b.toLowerCase());return b};rD.prototype.setIgnoreCase=function(a){a&&!this.ignoreCase_&&(yD(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};
rD.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)f0b(arguments[b],function(c,d){this.add(d,c)},this)};var o0b=function(a){var b="";Yb(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b},p0b=function(a,b,c){if(bc(c))return a;c=o0b(c);if("string"===typeof a)return KZb(a,encodeURIComponent(String(b)),c);uD(a,b,c);return a};var Qq=function(a){wB.call(this);this.handler_=a;this.keys_={}};Et(Qq,wB);var q0b=[];Qq.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(q0b[0]=b.toString()),b=q0b);for(var e=0;e<b.length;e++){var f=Oo(a,b[e],c||this.handleEvent,d||!1,this.handler_||this);if(!f)break;this.keys_[f.key]=f}return this};Qq.prototype.listenOnce=function(a,b,c,d){return r0b(this,a,b,c,d)};
var r0b=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)r0b(a,b,c[h],d,e,f);else{b=CB(b,c,d||a.handleEvent,e,f||a.handler_||a);if(!b)return a;a.keys_[b.key]=b}return a};
Qq.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=za(d)?!!d.capture:!!d,e=e||this.handler_||this,c=xXb(c),d=!!d,b=AB(a)?a.getListener(b,c,d,e):a?(a=DB(a))?a.getListener(b,c,d,e):null:null,b&&(FB(b),delete this.keys_[b.key]);return this};Qq.prototype.removeAll=function(){Yb(this.keys_,function(a,b){this.keys_.hasOwnProperty(b)&&FB(a)},this);this.keys_={}};
Qq.prototype.disposeInternal=function(){Qq.superClass_.disposeInternal.call(this);this.removeAll()};Qq.prototype.handleEvent=function(){throw Error("Kb");};var s0b=function(){this.isInputValid_=!0;this.streamPos_=0;this.leftoverInput_=""};s0b.prototype.error_=function(a,b){this.isInputValid_=!1;throw Error("Lb`"+this.streamPos_+"`"+b+"`"+a);};
s0b.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=gNb(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 Ph=function(){this.errorMessage_=null;this.result_=[];this.countLengthBytes_=this.length_=this.tag_=this.state_=this.streamPos_=0;this.messageBuffer_=null;this.countMessageBytes_=0};Ph.prototype.getErrorMessage=function(){return this.errorMessage_};Ph.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_);};Ph.prototype.acceptsBinaryInput=function(){return!0};
Ph.prototype.parse=function(a){function b(q){q&128&&f.error_(h,k,"invalid tag");2!=(q&7)&&f.error_(h,k,"invalid wire type");f.tag_=q>>>3;1!=f.tag_&&2!=f.tag_&&15!=f.tag_&&f.error_(h,k,"unexpected tag");f.state_=1;f.length_=0;f.countLengthBytes_=0}function c(q){f.countLengthBytes_++;5==f.countLengthBytes_&&q&240&&f.error_(h,k,"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),k=0;k<h.length;){switch(f.state_){case 3:f.error_(h,k,"stream already broken");break;case 0:b(h[k]);break;case 1:c(h[k]);break;case 2:d(h[k]);break;default:throw Error("Mb`"+f.state_);}f.streamPos_++;k++}a=
f.result_;f.result_=[];return 0<a.length?a:null};var Qh=function(){this.errorMessage_=null;this.streamPos_=0;this.base64Decoder_=new s0b;this.pbParser_=new Ph};Qh.prototype.getErrorMessage=function(){return this.errorMessage_};Qh.prototype.error_=function(a,b){this.errorMessage_="The stream is broken @"+this.streamPos_+". Error: "+b+". With input:\n"+a;throw Error(this.errorMessage_);};Qh.prototype.acceptsBinaryInput=function(){return!1};
Qh.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 AD=function(a){return"\r"==a||"\n"==a||" "==a||"\t"==a};var Ora=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)},t0b={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=Ora.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(;F<a.length;)if(AD(a[F]))F++,f.pos_++;else break;return F<t}function c(){for(var H;;){H=a[F++];if(!H)break;f.pos_++;switch(f.state_){case q.INIT:"{"===H?f.state_=q.OBJECT_OPEN:"["===H?f.state_=q.ARRAY_OPEN:AD(H)||f.error_(a,F);continue;case q.KEY_START:case q.OBJECT_OPEN:if(AD(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,F);continue;case q.KEY_END:case q.OBJECT_END:if(AD(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,F);continue;case q.ARRAY_OPEN:case q.VALUE:if(AD(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,F));continue;case q.ARRAY_END:if(","===H)h.push(q.ARRAY_END),f.state_=q.VALUE,1===f.depth_&&(z=F);else if("]"===H){f.depth_--;if(0===f.depth_)return;e();f.state_=d()}else if(AD(H))continue;else f.error_(a,F);continue;case q.STRING:var O=F;a:for(;;){for(;0<f.unicodeCount_;)if(H=a[F++],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[F++],!H))break;if(f.slashed_)if(f.slashed_=!1,"u"===H&&(f.unicodeCount_=1),H=a[F++])continue;else break;k.lastIndex=F;H=k.exec(a);if(!H){F=a.length+1;break}F=H.index+1;H=a[H.index];if(!H)break}f.pos_+=F-O;continue;case q.TRUE1:if(!H)continue;"r"===H?f.state_=q.TRUE2:f.error_(a,F);continue;case q.TRUE2:if(!H)continue;"u"===H?f.state_=q.TRUE3:f.error_(a,F);continue;case q.TRUE3:if(!H)continue;"e"===H?
f.state_=d():f.error_(a,F);continue;case q.FALSE1:if(!H)continue;"a"===H?f.state_=q.FALSE2:f.error_(a,F);continue;case q.FALSE2:if(!H)continue;"l"===H?f.state_=q.FALSE3:f.error_(a,F);continue;case q.FALSE3:if(!H)continue;"s"===H?f.state_=q.FALSE4:f.error_(a,F);continue;case q.FALSE4:if(!H)continue;"e"===H?f.state_=d():f.error_(a,F);continue;case q.NULL1:if(!H)continue;"u"===H?f.state_=q.NULL2:f.error_(a,F);continue;case q.NULL2:if(!H)continue;"l"===H?f.state_=q.NULL3:f.error_(a,F);continue;case q.NULL3:if(!H)continue;
"l"===H?f.state_=d():f.error_(a,F);continue;case q.NUM_DECIMAL_POINT:"."===H?f.state_=q.NUM_DIGIT:f.error_(a,F);continue;case q.NUM_DIGIT:if(-1!=="0123456789.eE+-".indexOf(H))continue;else F--,f.pos_--,f.state_=d();continue;default:f.error_(a,F)}}}function d(){var H=h.pop();return null!=H?H:q.VALUE}function e(H){1<f.depth_||(H||(H=-1===z?f.buffer_+a.substring(w,F):a.substring(z,F)),f.deliverMessageAsRawString_?f.result_.push(H):f.result_.push(JSON.parse(H)),z=F)}for(var f=this,h=f.stack_,k=f.stringInputPattern_,
q=t0b,t=a.length,w=0,z=-1,F=0;F<t;)switch(f.streamState_){case 3:return f.error_(a,F),null;case 2:return b()&&f.error_(a,F),null;case 0:if(b()){var J=a[F++];f.pos_++;if("["===J){f.streamState_=1;w=F;f.state_=q.ARRAY_OPEN;continue}else f.error_(a,F)}return null;case 1:return c(),0===f.depth_&&f.state_==q.ARRAY_END?(f.streamState_=2,f.buffer_=a.substring(F)):f.buffer_=-1===z?f.buffer_+a.substring(w):a.substring(z),0<f.result_.length?(J=f.result_,f.result_=[],J):null}return null};var Nra=function(){this.errorMessage_=this.jsonStreamParser_=null;this.state_=this.streamPos_=0;this.result_=[];this.statusParsed_=!1};Nra.prototype.getErrorMessage=function(){return this.errorMessage_};Nra.prototype.acceptsBinaryInput=function(){return!1};
Nra.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 Ora({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 k;if(k=2!==f.state_){a:{for(;h<a.length;){if(!AD(a[h])){k=!0;break a}h++;f.streamPos_++}k=!1}k=!k}if(k)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:k=f.jsonStreamParser_.parse(a.substring(h));d(k);f.jsonStreamParser_.done()?
(f.state_=3,k=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-k.length,a=k,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:k=f.jsonStreamParser_.parse(a.substring(h));e(k);f.jsonStreamParser_.done()?(f.state_=5,k=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-k.length,a=k,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 u0b=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 Qq(this);this.eventHandler_.listen(this.xhr_,"readystatechange",this.readyStateChangeHandler_)};u0b.prototype.getXhr=function(){return this.xhr_};
var BD=function(a,b){a.status_!=b&&(a.status_=b,a.statusHandler_&&a.statusHandler_())},CD=function(a){a.eventHandler_.removeAll();if(a.xhr_){var b=a.xhr_;a.xhr_=null;b.abort();b.dispose()}};u0b.prototype.getStatus=function(){return this.status_};
u0b.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?BD(this,7):7==c?BD(this,8):d||BD(this,3)),this.parser_||(this.parser_=Pra(this.xhr_),
null==this.parser_&&BD(this,5)),2<this.status_)CD(this);else{if(a.length>this.pos_){var h=a.length;c=[];try{if(this.parser_.acceptsBinaryInput())for(var k=0;k<h;k++){var q=this.parser_.parse(Array.from(a[k]));q&&(c=c.concat(q))}else{q="";if(!this.textDecoder_){if("undefined"===typeof TextDecoder)throw Error("Nb");this.textDecoder_=new TextDecoder}for(k=0;k<h;k++)q+=this.textDecoder_.decode(a[k],{stream:4==b&&k==h-1});c=this.parser_.parse(q)}a.splice(0,h);c&&this.dataHandler_(c)}catch(w){BD(this,5);
CD(this);break a}}else if(e.length>this.pos_){k=e.slice(this.pos_);this.pos_=e.length;try{var t=this.parser_.parse(k);null!=t&&this.dataHandler_&&this.dataHandler_(t)}catch(w){BD(this,5);CD(this);break a}}4==b?(0!=e.length||this.hasStreamingResponseData_?BD(this,2):BD(this,4),CD(this)):BD(this,1)}}}catch(w){BD(this,6),CD(this)}};var v0b=function(a){a=this.xhrReader_=a;var b=Ct(this.onData_,this);a.dataHandler_=b;a=this.xhrReader_;b=Ct(this.onStatusChange_,this);a.statusHandler_=b;this.callbackMap_={};this.callbackOnceMap_={}};g=v0b.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&&ua(c,b);(a=this.callbackOnceMap_[a])&&ua(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&&w0b(this,a,b);(b=this.callbackOnceMap_.data)&&w0b(this,a,b);this.callbackOnceMap_.data=[]};
var w0b=function(a,b,c){for(var d={},e=0;e<b.length;d={message$jscomp$678:void 0},e++)d.message$jscomp$678=b[e],c.forEach(function(f){return function(h){try{h(f.message$jscomp$678)}catch(k){a.handleError_("message-callback exception (ignored) "+k)}}}(d))};v0b.prototype.onStatusChange_=function(){switch(this.xhrReader_.getStatus()){case 1:x0b(this,"readable");break;case 5:case 6:case 4:case 7:case 3:x0b(this,"error");break;case 8:x0b(this,"close");break;case 2:x0b(this,"end")}};
var x0b=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]=[]};v0b.prototype.handleError_=function(){};var DD=function(a){a=void 0===a?{}:a;this.suppressCorsPreflight_=a.suppressCorsPreflight||Ho("suppressCorsPreflight",a)||!1;this.withCredentials_=a.withCredentials||Ho("withCredentials",a)||!1;this.streamInterceptors_=a.streamInterceptors||[];this.unaryInterceptors_=a.unaryInterceptors||[];this.workerScope_=a.workerScope;this.chunkedServerStreaming_=a.useFetchDownloadStreams||!1},A0b=function(a,b,c,d,e){var f=b.substr(0,b.length-e.name.length);return y0b(function(h){return new V_b(function(k,q){var t=
{},w=z0b(a,h,f);w.on("error",function(z){return q(z)});w.on("metadata",function(z){t=z});w.on("data",function(z){var F=h.getMethodDescriptor(),J=t;J=void 0===J?{}:J;k(new Q_b(z,F,J))})})},a.unaryInterceptors_).call(a,R_b(e,c,d)).then(function(h){return h.responseMessage_})},ZC=function(a,b,c,d,e){return A0b(a,b,c,d,e)};
DD.prototype.serverStreaming=function(a,b,c,d){var e=this,f=a.substr(0,a.length-d.name.length);return y0b(function(h){var k=h.getMethodDescriptor(),q=h.getMetadata(),t=B0b(e,!1);q=C0b(e,q,t,f+k.getName());var w=D0b(t,k.responseDeserializeFn,!0);h=k.requestSerializeFn(h.requestMessage_);t.send(q,"POST",h);return w},this.streamInterceptors_).call(this,R_b(d,b,c))};
var z0b=function(a,b,c){var d=b.getMethodDescriptor(),e=b.getMetadata(),f=B0b(a,!0);a=C0b(a,e,f,c+d.getName());c=D0b(f,d.responseDeserializeFn,!1);b0b(c,"base64"==e["X-Goog-Encode-Response-If-Executable"]);b=d.requestSerializeFn(b.requestMessage_);f.send(a,"POST",b);return c},B0b=function(a,b){b=a.chunkedServerStreaming_&&!b;return a.workerScope_||b?new oC(new iD({worker:a.workerScope_,streamBinaryChunks:b})):new oC},C0b=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=p0b(d,"$httpHeaders",b);else for(var f in b)c.headers.set(f,b[f]);return d},D0b=function(a,b,c){if(c)if(!Nq||10<=Number(Jt)){c=new u0b(a);var d=new v0b(c)}else d=null;return new fD({xhr:a,nodeReadableStream:d},b)},y0b=function(a,b){var c=a;b.forEach(function(d){var e=c;c=function(f){return d.intercept(f,
e)}});return c};var E0b=function(a){this.client_=new DD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};var F0b=function(a){this.internalArray_=m(a)};X(F0b,n);F0b.prototype.getUserPrefs=function(){return $i(this,VC,1)};var G0b=new bD("/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",XC,F0b,function(a){return a.serialize()},Xb(F0b));var H0b=function(a){this.client_=new DD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};H0b.prototype.getUserPrefs=function(a,b){return ZC(this.client_,this.hostname_+"/$rpc/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",a,b||{},G0b)};new Xc("MAT_DATE_RANGE_INPUT_PARENT");var I0b=mh("transformPanel",[rh("void => enter-dropdown",nh("120ms cubic-bezier(0, 0, 0.2, 1)",qh([oh({opacity:0,transform:"scale(1, 0.8)"}),oh({opacity:1,transform:"scale(1, 1)"})]))),rh("void => enter-dialog",nh("150ms cubic-bezier(0, 0, 0.2, 1)",qh([oh({opacity:0,transform:"scale(0.7)"}),oh({transform:"none",opacity:1})]))),rh("* => void",nh("100ms linear",oh({opacity:0})))]),J0b=mh("fadeInCalendar",[ph("void",oh({opacity:0})),ph("enter",oh({opacity:1})),rh("void => *",nh("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))]);var K0b={provide:new Xc("mat-datepicker-scroll-strategy",{providedIn:"root",factory:function(){var a=Gc(Cy);return function(){return a.scrollStrategies.reposition()}}}),deps:[Cy],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},ED=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 W.Subscription;this._animationDone=new W.Subject;this._isAnimating=!1;this._actionsPortal=
null;this._closeButtonText=f.closeCalendarLabel};g=ED.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()};ED.\u0275fac=function(a){return new (a||ED)(A(Ad),A(Uu),A(cz),A(Hy),A(pTb,8),A(ez))};
ED.\u0275cmp=Lc({type:ED,selectors:[["mat-datepicker-content"]],viewQuery:function(a,b){a&1&&Uf(pz,5);if(a&2){var c;Yf(c=Zf())&&(b._calendar=c.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(a,b){a&1&&Kf("@transformPanel.start",function(c){return b._handleAnimationEvent(c)})("@transformPanel.done",function(c){return b._handleAnimationEvent(c)});a&2&&(If("@transformPanel",b._animationState),zf(b.color?"mat-"+b.color:""),yf("mat-datepicker-content-touch",b.datepicker.touchUi))},
inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[dg],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button",
"",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"mat-calendar",1),M("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)}),G(),C(2,Qra,0,0,"ng-template",2),E(3,"button",3),
M("focus",function(){return b._closeButtonFocused=!0})("blur",function(){return b._closeButtonFocused=!1})("click",function(){return b.datepicker.close()}),R(4),G()());if(a&2){var c;yf("mat-datepicker-content-container-with-custom-header",b.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",b._actionsPortal);pf("aria-modal",!0)("aria-labelledby",null!==(c=b._dialogLabelId)&&void 0!==c?c:void 0);y();D("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);y();
D("cdkPortalOutlet",b._actionsPortal);y();yf("cdk-visually-hidden",!b._closeButtonFocused);D("color",b.color||"primary");y();$f(b._closeButtonText)}},dependencies:[mx,pz,gw,Yx,$y],styles:[".mat-datepicker-content{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color)}.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{box-shadow: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);display:block;max-height:80vh;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:[I0b,J0b]},changeDetection:0});var L0b=["button"],M0b=[[["","matDatepickerToggleIcon",""]]],FD=function(){};FD.\u0275fac=function(a){return new (a||FD)};FD.\u0275dir=Qc({type:FD,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0});var GD=function(a,b,c){this._intl=a;this._changeDetectorRef=b;this._stateChanges=W.Subscription.EMPTY;this.tabIndex=(c=Number(c))||0===c?c:null};g=GD.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,W.of)(),c=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,W.of)(),d=this.datepicker?(0,W.merge)(this.datepicker.openedStream,this.datepicker.closedStream):(0,W.of)();this._stateChanges.unsubscribe();this._stateChanges=(0,W.merge)(this._intl.changes,b,c,d).subscribe(function(){return a._changeDetectorRef.markForCheck()})};
Vg.Object.defineProperties(GD.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}}});GD.\u0275fac=function(a){return new (a||GD)(A(ez),A(Uu),ud("tabindex"))};
GD.\u0275cmp=Lc({type:GD,selectors:[["mat-datepicker-toggle"]],contentQueries:function(a,b,c){a&1&&Vf(c,FD,5);if(a&2){var d;Yf(d=Zf())&&(b._customIcon=d.first)}},viewQuery:function(a,b){a&1&&Uf(L0b,5);if(a&2){var c;Yf(c=Zf())&&(b._button=c.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(a,b){a&1&&M("click",function(c){return b._open(c)});a&2&&(pf("tabindex",null)("data-mat-calendar",b.datepicker?b.datepicker.id:null),yf("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",pg],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[of,ed,dg],ngContentSelectors:["[matDatepickerToggleIcon]"],decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],
["button",""],"class;mat-datepicker-toggle-default-icon;viewBox;0 0 24 24;width;24px;height;24px;fill;currentColor;focusable;false;aria-hidden;true".split(";"),["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&&(Lf(M0b),E(0,"button",
0,1),C(2,Rra,2,0,":svg:svg",2),Mf(3),G());a&2&&(D("disabled",b.disabled)("disableRipple",b.disableRipple),pf("aria-haspopup",b.datepicker?"dialog":null)("aria-label",b.ariaLabel||b._intl.openCalendarLabel)("tabindex",b.disabled?-1:b.tabIndex),y(2),Cf(2,b._customIcon?-1:2))},dependencies:[az],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 HD=function(){};HD.\u0275fac=function(a){return new (a||HD)};HD.\u0275mod=Nc({type:HD});HD.\u0275inj=wc({providers:[ez,K0b],imports:[uw,bz,Fy,Bx,Zx,Gy,ED,GD,oz,py]});var ID=function(){};ID.\u0275fac=function(a){return new (a||ID)};ID.\u0275mod=Nc({type:ID});ID.\u0275inj=wc({providers:[My],imports:[YA,eB,Gy,YA,eB]});var JD=function(){};JD.\u0275fac=function(a){return new (a||JD)};JD.\u0275mod=Nc({type:JD});JD.\u0275inj=wc({providers:[D_b],imports:[Bx,uw,Fy,Gy,Gy,py]});var KD=function(){};KD.\u0275fac=function(a){return new (a||KD)};KD.\u0275mod=Nc({type:KD});KD.\u0275inj=wc({providers:[{provide:H_b,useFactory:function(a){return new H0b(Sra(a))},deps:[I_b]},{provide:G_b,useFactory:function(a){return new E0b(Sra(a))},deps:[I_b]},YC],imports:[uw,aD,$C,HD,JA,QC,ID,IC,JD]});var N0b=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"})};N0b.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};N0b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var O0b=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"})};O0b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};O0b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var P0b=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"})};P0b.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};P0b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var Q0b="alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");var R0b=function(a){this.servicePromise_=a;a.then(Ct(function(){},this),function(){},this)},S0b=function(a,b,c){return a.servicePromise_.then(function(d){var e=d[b];if(!e)throw Error("Pb`"+b);return e.apply(d,c)})},U0b=function(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];e=T0b(a,b).then(function(f){return f.apply(null,d)});return new R0b(e)},V0b={},T0b=function(a,b){var c=V0b[b];if(c)return c;c=(c=Ho(b))?WB(c):(new VB(function(d,e){var f=(new HB(document)).createElement("SCRIPT");
f.async=!0;Sh(f,kh(Iu(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=Ho(b);if(!d)throw Error("Qb`"+b+"`"+a);return d});return V0b[b]=c};var W0b=function(a){this.loader_=a};W0b.prototype.startFeedback=function(a){S0b(this.loader_,"startFeedback",arguments)};W0b.prototype.requestSurvey=function(a){S0b(this.loader_,"requestSurvey",arguments).thenCatch(function(){},this)};W0b.prototype.presentSurvey=function(a){S0b(this.loader_,"presentSurvey",arguments).thenCatch(function(){},this)};var X0b=new Hu(Gu,"https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");T0b(X0b,"help.service.Lazy.create").thenCatch(function(){});var at=function(a){this.internalArray_=m(a)};X(at,n);at.prototype.getRevisionNumber=function(){return qi(this,4)};at.prototype.setRevisionNumber=function(a){return rj(this,4,a)};var LD=function(a){this.internalArray_=m(a)};X(LD,n);LD.prototype.getWorkspaceName=function(){return Zi(this,1)};LD.prototype.getRevisionNumber=function(){return qi(this,2,-1)};LD.prototype.setRevisionNumber=function(a){return rj(this,2,a)};var Y0b=function(a){this.internalArray_=m(a)};X(Y0b,n);g=Y0b.prototype;g.getChangeNumber_asLegacyNumberOrString=function(){return kj(this,1,-1)};g.setChangeNumber=function(a){return zj(this,1,a)};g.getWorkspaceId=function(){return $i(this,LD,2)};g.getRevisionNumber=function(){return qi(this,3,-1)};g.setRevisionNumber=function(a){return rj(this,3,a)};var Z0b=function(a){this.internalArray_=m(a)};X(Z0b,n);g=Z0b.prototype;g.getPort=function(){return Zi(this,1)};g.setPort=function(a){return Lh(this,1,a)};g.hasPort=function(){return Pi(this,1)};g.getUser=function(){return Zi(this,2)};g.setUser=function(a){return Lh(this,2,a)};g.hasUser=function(){return Pi(this,2)};g.getWorkspaceId=function(){return $i(this,LD,3)};var $0b=function(a){this.internalArray_=m(a)};X($0b,n);g=$0b.prototype;g.getKey=function(){return Zi(this,1)};g.hasKey=function(){return Pi(this,1)};g.getValue=function(){return Zi(this,2)};g.getValue_legacyNullable=function(){return Fj(this,2)};g.setValue=function(a){return Lh(this,2,a)};g.hasValue=function(){return Pi(this,2)};var MD=function(a){this.internalArray_=m(a)};X(MD,n);MD.prototype.getText=function(){return Zi(this,1)};MD.prototype.setText=function(a){return Lh(this,1,a)};MD.prototype.getTagsList=function(){return gi(this,$0b,2,hi())};MD.repeatedFields_=[2];var a1b=function(a){this.internalArray_=m(a)};X(a1b,n);var ct=function(a){this.internalArray_=m(a)};X(ct,n);g=ct.prototype;g.getReadonlySourceFileId=function(){return fi(this,at,1)};g.setSourceFileId=function(a){return li(this,at,1,a)};g.getType=function(){return $i(this,a1b,3)};g.setType=function(a){return li(this,a1b,3,a)};g.hasType=function(){return ji(this,a1b,3)};g.getSize=function(){return kj(this,5)};g.setSize=function(a){return zj(this,5,a)};g.getChangeId=function(){return $i(this,Y0b,11)};ct.repeatedFields_=[8];var bt=function(a){this.internalArray_=m(a)};X(bt,n);bt.prototype.getContent=function(){return kk(this,2)};bt.prototype.setContent=function(a){return lk(this,2,$a(a,!1,!0,!1))};bt.prototype.hasContent=function(){return null!=wq(this,2)};var b1b=function(a){this.internalArray_=m(a)};X(b1b,n);g=b1b.prototype;g.setBase=function(a){return li(this,Z0b,1,a)};g.getDescription=function(){return $i(this,MD,2)};g.setDescription=function(a){return li(this,MD,2,a)};g.hasDescription=function(){return ji(this,MD,2)};g.setMode=function(a){return tj(this,6,a)};b1b.repeatedFields_=[4];var ND=function(a){this.internalArray_=m(a,500)};X(ND,n);g=ND.prototype;g.getStatus=function(){return $i(this,Au,1002)};g.setStatus=function(a){return li(this,Au,1002,a)};g.hasStatus=function(){return ji(this,Au,1002)};g.getChangeId=function(){return $i(this,Y0b,1)};g.getWorkspaceId=function(){return $i(this,LD,2)};g.getToken=function(){return Zi(this,3)};g.setToken=function(a){return Lh(this,3,a)};var c1b=function(a){this.internalArray_=m(a)};X(c1b,n);c1b.prototype.setBase=function(a){return li(this,Z0b,1,a)};var vBb=function(){var a=new c1b;return tj(a,2,0)},uBb=function(a,b){return gl(a,3,b)};c1b.repeatedFields_=[3,4];var d1b=function(a){this.internalArray_=m(a,500)};X(d1b,n);g=d1b.prototype;g.getStatus=function(){return $i(this,Au,1002)};g.setStatus=function(a){return li(this,Au,1002,a)};g.hasStatus=function(){return ji(this,Au,1002)};g.getReadonlySourceFileId=function(){return fi(this,at,2)};g.setSourceFileId=function(a){return li(this,at,2,a)};g.getContent=function(){return kk(this,3)};g.setContent=function(a){return lk(this,3,$a(a,!1,!0,!1))};g.hasContent=function(){return null!=wq(this,3)};var e1b={ACCESS_LEVEL_UNSPECIFIED:"ACCESS_LEVEL_UNSPECIFIED",INTERNAL:"INTERNAL",EXTERNAL_PARTNER:"EXTERNAL_PARTNER",EXTERNAL_PUBLIC:"EXTERNAL_PUBLIC"},Kua={0:"ACCESS_LEVEL_UNSPECIFIED",1:"INTERNAL",2:"EXTERNAL_PARTNER",3:"EXTERNAL_PUBLIC"},Mua={ACCESS_LEVEL_UNSPECIFIED:0,INTERNAL:1,EXTERNAL_PARTNER:2,EXTERNAL_PUBLIC:3},cxa={ACCESS_LEVEL_UNSPECIFIED:0,LIMIT_NONE:1,LIMIT_VIEW:2,LIMIT_APPEND:3,LIMIT_VIEW_TRUSTED:4},lxa={ACTION_TYPE_UNSPECIFIED:0,ADD:1,REMOVE:2},EDa={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"},f1b={DAY_TYPE_UNSPECIFIED:"DAY_TYPE_UNSPECIFIED",CALENDAR:"CALENDAR",BUSINESS:"BUSINESS"},jva={0:"DAY_TYPE_UNSPECIFIED",1:"CALENDAR",2:"BUSINESS"},lva={DAY_TYPE_UNSPECIFIED:0,CALENDAR:1,BUSINESS:2},Xva={0:"DELETION_REASON_UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"RESTRICTED",4:"RETENTION",5:"ACCOUNT_CAPABILITIES"},dwa={DELETION_REASON_UNSPECIFIED:0,USER_REQUEST:1,ABUSE:2,RESTRICTED:3,
RETENTION:4,ACCOUNT_CAPABILITIES:5},g1b={COMFORTABLE:"COMFORTABLE",COZY:"COZY",COMPACT:"COMPACT"},ata={1:"COMFORTABLE",2:"COZY",3:"COMPACT"},uta={COMFORTABLE:1,COZY:2,COMPACT:3},dEa={0:"NO_DETAILED_TYPE",1:"UNRESTRICTED_GOOGLER",2:"TVC",3:"EXTERNAL",4:"PUBLIC",5:"ISSUE_CREATION_ONLY"},Hwa={0:"UNKNOWN_DIFF_TYPE",1:"SINGLE_VALUE",2:"COLLECTION",5:"USER_COLLECTION",3:"LINKED_COLLECTION",4:"CUSTOM_FIELD",6:"STATUS_UPDATE"},yDa={0:"DRIVE_FILE_TYPE_UNSPECIFIED",1:"DOCUMENT",2:"SPREADSHEET",3:"PRESENTATION"},
BDa={0:"DRIVE_SIGNAL_UNSPECIFIED",1:"TAGGED_IN_COMMENT",2:"REQUIRES_APPROVAL",3:"COMMENTS_REQUIRE_ATTENTION"},Wua={0:"EDIT_SIGNIFICANCE_UNSPECIFIED",1:"SILENT",2:"MINOR",3:"MAJOR",4:"BULK",5:"CLOSING"},$ua={EDIT_SIGNIFICANCE_UNSPECIFIED:0,SILENT:1,MINOR:2,MAJOR:3,BULK:4,CLOSING:5},bj={0:"UNKNOWN_PRIORITY",4:"CLOSURE_ONLY",1:"MINIMAL",2:"IMPORTANT",3:"ALL"},uj={UNKNOWN_PRIORITY:0,CLOSURE_ONLY:4,MINIMAL:1,IMPORTANT:2,ALL:3},$sa={0:"DEFAULT",1:"ASSIGNMENT",2:"RESPONSE",3:"CLOSURE"},tta={DEFAULT:0,ASSIGNMENT:1,
RESPONSE:2,CLOSURE:3},agb={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"},qwa={0:"FIELD_ORDERING_UNSPECIFIED",1:"INHERITED",2:"CUSTOMIZED"},h1b={FIELD_ORDERING_UNSPECIFIED:0,INHERITED:1,CUSTOMIZED:2},i1b={FIELD_STATE_UNSPECIFIED:"FIELD_STATE_UNSPECIFIED",INHERIT:"INHERIT",DISABLED:"DISABLED",ENABLED:"ENABLED"},hva={0:"FIELD_STATE_UNSPECIFIED",1:"INHERIT",2:"DISABLED",3:"ENABLED"},j1b={FIELD_STATE_UNSPECIFIED:0,INHERIT:1,DISABLED:2,ENABLED:3},k1b={UNSPECIFIED_FORMATTING_AUDIENCE:0,INTERNAL_AUDIENCE:1,
EXTERNAL_AUDIENCE:2},OD={UNSPECIFIED_FORMATTING_MODE:"UNSPECIFIED_FORMATTING_MODE",PLAIN:"PLAIN",MARKDOWN:"MARKDOWN",LITERAL:"LITERAL"},uwa={0:"UNSPECIFIED_FORMATTING_MODE",1:"PLAIN",2:"MARKDOWN",3:"LITERAL"},l1b={UNSPECIFIED_FORMATTING_MODE:0,PLAIN:1,MARKDOWN:2,LITERAL:3},Nwa={0:"IMPLICIT_ACCESS_UNSPECIFIED",1:"ALLOW",2:"DENY"},m1b={IMPLICIT_ACCESS_UNSPECIFIED:0,ALLOW:1,DENY:2},lta={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"},Eta={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},vxa={ISSUE_RELATION_UNSPECIFIED:0,BLOCKING:1,BLOCKED_BY:2,DUPLICATE:3,CANONICAL:4},PD={ISSUE_RELATIONSHIP_TYPE_UNSPECIFIED:0,CHILD:1,DEPENDENCY:2,LINKED:3},JDa={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"},$fb={0:"NODE_JOIN_TYPE_UNSPECIFIED",1:"AND",2:"OR",3:"ERR",4:"NIL"},n1b={UNKNOWN_SUBSCRIPTION:"UNKNOWN_SUBSCRIPTION",
UNSUBSCRIBED:"UNSUBSCRIBED",SUBSCRIBED_CLOSURE_ONLY:"SUBSCRIBED_CLOSURE_ONLY",SUBSCRIBED_MAJOR_UPDATES:"SUBSCRIBED_MAJOR_UPDATES",SUBSCRIBED_ALL_UPDATES:"SUBSCRIBED_ALL_UPDATES"},Exa={0:"UNKNOWN_SUBSCRIPTION",1:"UNSUBSCRIBED",2:"SUBSCRIBED_CLOSURE_ONLY",3:"SUBSCRIBED_MAJOR_UPDATES",4:"SUBSCRIBED_ALL_UPDATES"},rxa={UNKNOWN_SUBSCRIPTION:0,UNSUBSCRIBED:1,SUBSCRIBED_CLOSURE_ONLY:2,SUBSCRIBED_MAJOR_UPDATES:3,SUBSCRIBED_ALL_UPDATES:4},bgb={0:"OPERATOR_UNSPECIFIED",1:"EQ",2:"GT",3:"LT",4:"GE",5:"LE"},uDb=
{0:"UNKNOWN_PERMISSION",1:"OPEN_TO_JOIN"},cEa={0:"PRINCIPAL_TYPE_UNSPECIFIED",1:"NON_GAIA",2:"USER",3:"GROUP",4:"ALIAS"},o1b={PRIORITY_UNSPECIFIED:"PRIORITY_UNSPECIFIED",P0:"P0",P1:"P1",P2:"P2",P3:"P3",P4:"P4"},Uva={0:"PRIORITY_UNSPECIFIED",1:"P0",2:"P1",3:"P2",4:"P3",5:"P4"},awa={PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5},pta={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"},Ata={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},p1b={REACTION_TYPE_UNSPECIFIED:"REACTION_TYPE_UNSPECIFIED",UPVOTE:"UPVOTE"},q1b={REACTION_TYPE_UNSPECIFIED:0,UPVOTE:1},Eua={0:"UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"RESTRICTED",4:"RETENTION",5:"ACCOUNT_CAPABILITIES"},UCa={0:"UNKNOWN",1:"HOTLIST",2:"BOOKMARK_GROUP",3:"SAVED_SEARCH"},r1b={UNKNOWN:0,HOTLIST:1,BOOKMARK_GROUP:2,SAVED_SEARCH:3},s1b={RESTRICTION_SEVERITY_UNSPECIFIED:"RESTRICTION_SEVERITY_UNSPECIFIED",
NONE_DETECTED:"NONE_DETECTED",RESTRICTED:"RESTRICTED",RESTRICTED_PLUS:"RESTRICTED_PLUS"},t1b={RETENTION_UNSPECIFIED:"RETENTION_UNSPECIFIED",COMPONENT_DEFAULT:"COMPONENT_DEFAULT",INDEFINITE:"INDEFINITE"},Yva={0:"RETENTION_UNSPECIFIED",1:"COMPONENT_DEFAULT",2:"INDEFINITE"},yxa={RETENTION_UNSPECIFIED:0,COMPONENT_DEFAULT:1,INDEFINITE:2},u1b={UNSPECIFIED_RETENTION:"UNSPECIFIED_RETENTION",BUGANIZER_DEFAULT:"BUGANIZER_DEFAULT",CUSTOM_PERIOD:"CUSTOM_PERIOD",INDEFINITE_RETENTION:"INDEFINITE_RETENTION"},rua=
{0:"UNSPECIFIED_RETENTION",1:"BUGANIZER_DEFAULT",2:"CUSTOM_PERIOD",3:"INDEFINITE_RETENTION"},tua={UNSPECIFIED_RETENTION:0,BUGANIZER_DEFAULT:1,CUSTOM_PERIOD:2,INDEFINITE_RETENTION:3},Vva={0:"SEVERITY_UNSPECIFIED",1:"S0",2:"S1",3:"S2",4:"S3",5:"S4"},bwa={SEVERITY_UNSPECIFIED:0,S0:1,S1:2,S2:3,S3:4,S4:5},mta={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"},Gta={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},Vfb={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"},tDb={0:"UNKNOWN",1:"NORMAL",2:"LARGE",3:"HUGE",4:"ENORMOUS"},Sva={0:"SLO_SNOOZE_TYPE_UNSPECIFIED",1:"STARTS_ON",2:"ASSIGNMENT_ETA",3:"RESPONSE_ETA",4:"CLOSURE_ETA"},ewa=
{SLO_SNOOZE_TYPE_UNSPECIFIED:0,STARTS_ON:1,ASSIGNMENT_ETA:2,RESPONSE_ETA:3,CLOSURE_ETA:4},pwa={0:"SLO_SOURCE_UNSPECIFIED",1:"USER",2:"BUGSCOPE"},pva={SLO_SOURCE_UNSPECIFIED:0,USER:1,BUGSCOPE:2},Pua={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"},Rua={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},mBa={0:"STATE_UNSPECIFIED",1:"STATE_DISABLED",2:"STATE_ENABLED"},gwa={0:"STATE_UNSPECIFIED",1:"PENDING",2:"MERGED"},hwa={STATE_UNSPECIFIED:0,PENDING:1,MERGED:2},Tva={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"},$va={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},Fua={0:"ACTIVE",1:"DELETED",2:"PURGED"},nta={0:"UNKNOWN_SOURCE",1:"WTDM",2:"NON_WTDM",3:"CRITIQUE",4:"DRIVE",5:"BUGANIZER",6:"ARIANE"},Hta={UNKNOWN_SOURCE:0,WTDM:1,NON_WTDM:2,CRITIQUE:3,DRIVE:4,BUGANIZER:5,ARIANE:6},Psa={0:"THEME_UNSPECIFIED",1:"GOOGLE",2:"OPEN_SOURCE"},fgb={0:"QUERY_BUILDER_RESPONSE_TYPE_UNSPECIFIED",
1:"AND",2:"OR"},Vua={0:"TYPE_UNSPECIFIED",1:"TEXT",2:"DATE",3:"ENUM",4:"NUMERIC",5:"REPEATED_TEXT",6:"REPEATED_DATE",7:"REPEATED_ENUM",8:"REPEATED_NUMERIC"},Zua={TYPE_UNSPECIFIED:0,TEXT:1,DATE:2,ENUM:3,NUMERIC:4,REPEATED_TEXT:5,REPEATED_DATE:6,REPEATED_ENUM:7,REPEATED_NUMERIC:8},v1b={USER_ACTIVITY_TYPE_UNDEFINED:0,VIEW:1,RELOAD:2,EDIT:3,MARK_AS_READ_OR_UNREAD:4},Lsa={0:"UNSPECIFIED",1:"ACTIVE",2:"DELETED",3:"UNAVAILABLE"},Nsa={UNSPECIFIED:0,ACTIVE:1,DELETED:2,UNAVAILABLE:3},nBa={0:"USER_GROUP_UNSPECIFIED",
1:"USER_GROUP_BUGANIZER_TEAM",2:"USER_GROUP_TRUSTED_TESTER"},Xfb={0:"VALUE_TYPE_UNSPECIFIED",1:"NOT",2:"OR",3:"AND",4:"RANGE",5:"SIMPLE"};var csa=Object.prototype.hasOwnProperty;var ADb=new Set([{alias:"googlers_unrestricted"},{alias:"google_domain"}].map(function(a){return"ALIAS:"+a.alias})),w1b={AGGREGATION_TYPE_UNSPECIFIED:"AGGREGATION_TYPE_UNSPECIFIED",SUM:"SUM",MAX:"MAX"};var QD=function(){},RD=function(){};var SD=function(a){this.internalArray_=m(a)};X(SD,n);SD.prototype.getText=function(){return Zi(this,1)};SD.prototype.setText=function(a){return Rj(this,1,a)};var TD=function(a){this.internalArray_=m(a)};X(TD,n);TD.prototype.setModel=function(a){return Rj(this,1,a)};TD.prototype.setTemperature=function(a){lk(this,3,ib(a))};TD.repeatedFields_=[8,9];var usa=function(a){this.internalArray_=m(a)};X(usa,n);usa.prototype.getOutput=function(){return Zi(this,1)};usa.repeatedFields_=[2];var tsa=function(a){this.internalArray_=m(a)};X(tsa,n);tsa.repeatedFields_=[1,2,3,4];var x1b=function(a){this.internalArray_=m(a,0,x1b.messageId)};X(x1b,n);x1b.messageId="b.GenerateTextResponse";var UD=function(a){this.executor=a};UD.prototype.generate=function(a){var b;var c=(new TD).setModel(null!=(b=a.model)?b:"models/text-bison-001");b=(new SD).setText(a.prompt);c=li(c,SD,2,b);null!=a.temperature&&c.setTemperature(a.temperature);return this.executor.post({url:"/action/palm/generate",body:c,responseConstructor:x1b}).then(vsa)};UD.\u0275fac=function(a){return new (a||UD)(p(RD))};UD.\u0275prov=vc({token:UD,factory:UD.\u0275fac,providedIn:"root"});var hj=function(a){this.internalArray_=m(a)};X(hj,n);var nj=function(a){this.internalArray_=m(a)};X(nj,n);var wj=function(a){this.internalArray_=m(a)};X(wj,n);wj.prototype.getTimeZone=function(){return Zi(this,5)};wj.prototype.setTimeZone=function(a){return Lh(this,5,a)};wj.prototype.hasTimeZone=function(){return Pi(this,5)};var Cj=function(a){this.internalArray_=m(a)};X(Cj,n);g=Cj.prototype;g.getType=function(){return cj(this,1,1)};g.setType=function(a){return tj(this,1,a)};g.hasType=function(){return aj(this,1)};g.getCustomFieldId=function(){return kj(this,2)};g.getCustomFieldId_asLegacyNumberOrString=function(){return kj(this,2)};g.getCustomFieldId_asString=function(){return au(this,2)};g.setCustomFieldId=function(a){return zj(this,2,a)};g.hasCustomFieldId=function(){return jj(this,2)};var Bj=function(a){this.internalArray_=m(a)};X(Bj,n);Bj.prototype.getColumnList=function(){return gi(this,Cj,1,hi())};Bj.prototype.setColumnList=function(a){return gl(this,1,a)};Bj.prototype.setColumn=function(a){return Tt(this,1,Cj,a)};Bj.repeatedFields_=[1];var sta=function(a){this.internalArray_=m(a)};X(sta,n);var Zsa=function(a){this.internalArray_=m(a)};X(Zsa,n);var Dj=function(a){this.internalArray_=m(a)};X(Dj,n);Dj.prototype.getColumn=function(){return $i(this,Cj,1)};Dj.prototype.setColumn=function(a){return li(this,Cj,1,a)};var sj=function(a){this.internalArray_=m(a)};X(sj,n);sj.prototype.getColumnList=function(){return gi(this,Dj,1,hi())};sj.prototype.setColumnList=function(a){return gl(this,1,a)};sj.prototype.setColumn=function(a){return Tt(this,1,Dj,a)};sj.repeatedFields_=[1];var dj=function(a){this.internalArray_=m(a)};X(dj,n);dj.prototype.getDensity=function(){return cj(this,1,1)};dj.prototype.setDensity=function(a){return tj(this,1,a)};var ij=function(a){this.internalArray_=m(a)};X(ij,n);var xj=function(a){this.internalArray_=m(a)};X(xj,n);g=xj.prototype;g.getResourceType=function(){return cj(this,1,1)};g.setResourceType=function(a){tj(this,1,a)};g.hasResourceType=function(){return aj(this,1)};g.getResourceId=function(){return $t(this,2)};g.getResourceId_asString=function(){return fj(this,2)};g.setResourceId=function(a){yj(this,2,a)};g.hasResourceId=function(){return null!=ej(this,2)};var cta=function(a){this.internalArray_=m(a)};X(cta,n);var pj=function(a){this.internalArray_=m(a)};X(pj,n);pj.prototype.getCollapsedMap=function(){return Jb(this,2,Wba)};pj.repeatedFields_=[1,7,8];var oj=function(a){this.internalArray_=m(a)};X(oj,n);oj.repeatedFields_=[1];var Ysa=function(a){this.internalArray_=m(a)};X(Ysa,n);var eta=function(a){this.internalArray_=m(a)};X(eta,n);g=eta.prototype;g.getComponentId=function(){return kj(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return kj(this,1)};g.getComponentId_asString=function(){return au(this,1)};g.setComponentId=function(a){return zj(this,1,a)};g.hasComponentId=function(){return jj(this,1)};var lj=function(a){this.internalArray_=m(a)};X(lj,n);var Fta=function(a,b){gl(a,1,b)};lj.repeatedFields_=[1];var gj=function(a){this.internalArray_=m(a)};X(gj,n);var oi=function(a){this.internalArray_=m(a,500)};X(oi,n);g=oi.prototype;g.getDisplayColumns=function(){return $i(this,Bj,4)};g.setDisplayColumns=function(a){li(this,Bj,4,a)};g.getSortColumns=function(){return $i(this,sj,6)};g.getLayoutPreferences=function(){return $i(this,sta,10)};g.getDateTimePreferences=function(){return $i(this,wj,11)};g.getHomepagePreferences=function(){return $i(this,xj,13)};g.getCollapsedMap=function(){return Jb(this,27,Wba)};
g.getShowInlineImages=function(){return Xi(this,29)};var ki=function(a){this.internalArray_=m(a)};X(ki,n);g=ki.prototype;g.getAnalyticsId=function(){return Zi(this,1)};g.getAppName=function(){return Zi(this,2)};g.getDocumentationBaseUrl=function(){return Zi(this,3)};g.getEnvironmentType=function(){return Zi(this,5)};g.getMaxAccurateSearchResults=function(){return qi(this,6)};g.getOnePickUrl=function(){return Zi(this,7)};g.getOnePickSecretToken=function(){return Zi(this,12)};g.getCommentNumberLimit=function(){return qi(this,8)};
g.getCreateComponentRedirectDelay=function(){return zk(this,9)};g.getCreateRestrictedSubresourcesComponentIds=function(){return KNb(this,13)};g.getIndefiniteRetentionComponentsAllowlist=function(){return KNb(this,20)};ki.repeatedFields_=[10,13,20,21];var ni=function(a){this.internalArray_=m(a)};X(ni,n);g=ni.prototype;g.getEmail=function(){return Zi(this,1)};g.setEmail=function(a){return Lh(this,1,a)};g.hasEmail=function(){return Pi(this,1)};g.getSessionIdentifier=function(){return Zi(this,3)};g.getUserTypeLabel=function(){return Zi(this,5)};var Kj=function(a){this.internalArray_=m(a,0,Kj.messageId)};X(Kj,n);Kj.prototype.getId=function(){return Zi(this,1)};Kj.prototype.setId=function(a){return Lh(this,1,a)};Kj.repeatedFields_=[2,4];Kj.messageId="b.TimeZoneData";var Lj=function(a){this.internalArray_=m(a,0,Lj.messageId)};X(Lj,n);g=Lj.prototype;g.getMessage=function(){return Zi(this,1)};g.setMessage=function(a){Lh(this,1,a)};g.getMessageId=function(){return Zi(this,2)};g.getTagsList=function(){return ri(this,4,hi())};g.getTags=function(a){return cu(this,4,a)};Lj.repeatedFields_=[4];Lj.messageId="b.Announcement";var mi=function(a){this.internalArray_=m(a)};X(mi,n);mi.prototype.getAnnouncement=function(){return $i(this,Lj,2)};mi.repeatedFields_=[1];var VD=function(a){this.internalArray_=m(a)};X(VD,n);VD.prototype.getLogoUrl=function(){return Zi(this,1)};VD.prototype.getTheme=function(){return cj(this,2,0)};VD.prototype.setTheme=function(a){return Sj(this,2,a)};VD.prototype.getCocUrl=function(){return Zi(this,3)};var ui=function(a){this.internalArray_=m(a)};X(ui,n);g=ui.prototype;g.getEmailAddress=function(){return Zi(this,1)};g.setEmailAddress=function(a){Rj(this,1,a)};g.getObfuscatedEmailAddress=function(){return Zi(this,2)};g.setObfuscatedEmailAddress=function(a){Rj(this,2,a)};g.getUserGaiaStatus=function(){return cj(this,3,0)};g.setUserGaiaStatus=function(a){Sj(this,3,a)};g.getAliasesList=function(a){return ri(this,4,hi(a))};g.setAliasesList=function(a){Lb(this,4,a,rb)};ui.repeatedFields_=[4];var WD=function(a){this.internalArray_=m(a)};X(WD,n);g=WD.prototype;g.getTrackerId=function(){return kj(this,1)};g.getTrackerId_asLegacyNumberOrString=function(){return kj(this,1)};g.getTrackerId_asString=function(){return au(this,1)};g.setTrackerId=function(a){Qj(this,1,a)};g.getComponentId=function(){return kj(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return kj(this,2)};g.getComponentId_asString=function(){return au(this,2)};g.setComponentId=function(a){return Qj(this,2,a)};
g.getName=function(){return Zi(this,3)};g.setName=function(a){return Rj(this,3,a)};g.getAssociatedTrackerIdsList=function(){return Jj(this,4,hi())};g.getInternalBaseUrl=function(){return Zi(this,8)};g.getExternalBaseUrl=function(){return Zi(this,9)};g.getCollaboratorGroupsList=function(){return gi(this,ui,10,hi())};g.getBranding=function(){return $i(this,VD,6)};g.getEtag=function(){return kk(this,7)};g.setEtag=function(a){ik(this,7,a)};WD.repeatedFields_=[4,10,12];var XD=function(a){this.internalArray_=m(a,0,XD.messageId)};X(XD,n);XD.prototype.getLogoUrl=function(){return Zi(this,1)};XD.prototype.getTheme=function(){return cj(this,2,0)};XD.prototype.setTheme=function(a){return tj(this,2,a)};XD.prototype.getCocUrl=function(){return Zi(this,3)};XD.messageId="b.Branding";var Mi=function(a){this.internalArray_=m(a)};X(Mi,n);g=Mi.prototype;g.getEmailAddress=function(){return Zi(this,1)};g.setEmailAddress=function(a){Lh(this,1,a)};g.getObfuscatedEmailAddress=function(){return Zi(this,2)};g.setObfuscatedEmailAddress=function(a){Lh(this,2,a)};g.getUserGaiaStatus=function(){return cj(this,3,0)};g.setUserGaiaStatus=function(a){tj(this,3,a)};g.getAliasesList=function(a){return ri(this,4,hi(a))};g.setAliasesList=function(a){Lb(this,4,a,rb)};Mi.repeatedFields_=[4];var Mj=function(a){this.internalArray_=m(a,0,Mj.messageId)};X(Mj,n);g=Mj.prototype;g.getTrackerId=function(){return $t(this,1)};g.getTrackerId_asLegacyNumberOrString=function(){return $t(this,1)};g.getTrackerId_asString=function(){return fj(this,1)};g.setTrackerId=function(a){yj(this,1,a)};g.getComponentId=function(){return $t(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return $t(this,2)};g.getComponentId_asString=function(){return fj(this,2)};
g.setComponentId=function(a){return yj(this,2,a)};g.hasComponentId=function(){return null!=ej(this,2)};g.getName=function(){return Zi(this,3)};g.setName=function(a){return Lh(this,3,a)};g.hasName=function(){return Pi(this,3)};g.getNameOrUndefined=function(){return fu(this,3)};g.getAssociatedTrackerIdsList=function(){return Ij(this,4,hi())};g.getInternalBaseUrl=function(){return Zi(this,6)};g.getExternalBaseUrl=function(){return Zi(this,7)};g.getBranding=function(){return $i(this,XD,5)};
g.getCollaboratorGroupsList=function(){return gi(this,Mi,8,hi())};g.getIt=function(){return $i(this,WD,9)};g.setIt=function(a){return li(this,WD,9,a)};g.hasIt=function(){return ji(this,WD,9)};Mj.repeatedFields_=[4,8];Mj.messageId="b.Tracker";var wsa=function(a){this.internalArray_=m(a)};X(wsa,n);g=wsa.prototype;g.getUser=function(){return $i(this,ni,1)};g.setUser=function(a){return li(this,ni,1,a)};g.hasUser=function(){return ji(this,ni,1)};g.getConfig=function(){return $i(this,ki,2)};g.getXsrfToken=function(){return Zi(this,3)};g.getCspNonce=function(){return Zi(this,8)};g.getFrontendAccessMode=function(){return Zi(this,4)};g.getMustAcknowledgeTerms=function(){return Xi(this,5)};g.getShowNewFeaturesDialog=function(){return Xi(this,6)};
g.getUserPreferences=function(){return $i(this,oi,7)};g.getAppBaseHref=function(){return Zi(this,10)};g.getTracker=function(){return $i(this,Mj,11)};g.getPassiveLoginIframeUrl=function(){return $i(this,Vta,12)};var xsa=window,ii;var y1b={clear:function(){},getItem:function(){return null},removeItem:function(){},setItem:function(){},length:0,key:function(){return null}},Ci=y1b;try{Ci=window.localStorage||y1b}catch(a){}
var z1b=function(a){return function(){var b=Ci.getItem(a);if(null!=b)return b=Number(b),isNaN(b)?void 0:b}},Nta=function(a){return function(){var b=Ci.getItem(a);if(null!=b)return String(b)}},A1b=function(a){return function(b){null==b?Ci.removeItem(a):Ci.setItem(a,String(b))}},B1b=function(a){return function(b){null==b?Ci.removeItem(a):Ci.setItem(a,b)}},C1b=function(a){return function(){var b=Di(a)();Dsa(a)(!b);return!b}},Ota=function(a){return function(){var b=Ci.getItem(a);if(null!=b)try{return JSON.parse(b)}catch(c){console.warn("JSON.parse("+
a+")"),console.warn(c)}}},Hj=function(a){return function(b){null==b?Ci.removeItem(a):Ci.setItem(a,JSON.stringify(b))}};var Gsa=Di("lean-fe-debug-logging");var Qsa=pi("enableLeanFeA");var Usa={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"},D1b={},E1b=(D1b[3]="LITERAL_FORMATTING_MODE",D1b[1]="PLAIN_FORMATTING_MODE",D1b[2]="MARKDOWN_FORMATTING_MODE",D1b),F1b=E1b[2],G1b=E1b[1],YD={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 Ri=function(a){this.type=a.type;this.customFieldId=a.customFieldId||void 0;this.customFieldName=a.customFieldName||void 0};Ri.prototype.isCustomField=function(){return"CUSTOM_FIELD"===this.type};Ri.prototype.toApiUrlParam=function(){return this.isCustomField()?this.type.toLowerCase()+"."+this.customFieldId:this.type.toLowerCase()};Ri.prototype.toString=function(){return this.toApiUrlParam()};var Vi=function(a,b){this.fieldId=a;this.direction=b};Vi.prototype.toApiUrlParam=function(){return this.fieldId.toApiUrlParam()+":"+("ASCENDING"===this.direction?"asc":"desc")};Vi.prototype.toString=function(){return this.toApiUrlParam()};var Ej=function(a){this.internalArray_=m(a)};X(Ej,n);var Uta;var Pj=function(a){this.internalArray_=m(a)};X(Pj,n);Pj.prototype.getRestrictionSeverity=function(){return cj(this,3,0)};var Yta=function(a){this.internalArray_=m(a)};X(Yta,n);Yta.prototype.getSeverity=function(){return cj(this,1,0)};Yta.prototype.setSeverity=function(a){Sj(this,1,a)};var H1b=function(a){this.internalArray_=m(a)};X(H1b,n);var mk=function(a){this.internalArray_=m(a,0,mk.messageId)};X(mk,n);mk.prototype.getIt=function(){return $i(this,Pj,6)};mk.prototype.setIt=function(a){return li(this,Pj,6,a)};mk.prototype.hasIt=function(){return ji(this,Pj,6)};mk.messageId="b.ContentJudgement";var jk=function(a){this.internalArray_=m(a)};X(jk,n);jk.prototype.getStatus=function(){return cj(this,1,0)};jk.prototype.setStatus=function(a){return Sj(this,1,a)};jk.prototype.getReason=function(){return cj(this,2,0)};jk.prototype.setReason=function(a){return Sj(this,2,a)};var gk=function(a){this.internalArray_=m(a)};X(gk,n);var fk=function(a){this.internalArray_=m(a)};X(fk,n);fk.prototype.getRetentionPeriod=function(){return $i(this,ck,1)};var xua=function(a){this.internalArray_=m(a)};X(xua,n);var hk=function(a){this.internalArray_=m(a)};X(hk,n);g=hk.prototype;g.getAttachmentId_asLegacyNumberOrString=function(){return kj(this,1)};g.setAttachmentId=function(a){return Qj(this,1,a)};g.getFilename=function(){return Zi(this,4)};g.setFilename=function(a){Rj(this,4,a)};g.getEntityStatus=function(){return $i(this,jk,6)};g.setEntityStatus=function(a){return li(this,jk,6,a)};g.getEtag=function(){return kk(this,7)};g.setEtag=function(a){ik(this,7,a)};
g.getContentVerdict=function(){return $i(this,H1b,10)};g.getRestrictedRetentionState=function(){return $i(this,fk,11)};g.getRestrictedRetention=function(){return cj(this,12,0)};g.setRestrictedRetention=function(a){return Sj(this,12,a)};var Aua=function(a){this.internalArray_=m(a)};X(Aua,n);Aua.prototype.getContentJudgement=function(){return $i(this,mk,2)};Aua.prototype.setContentJudgement=function(a){return li(this,mk,2,a)};var ZD=function(a){this.internalArray_=m(a)};X(ZD,n);ZD.prototype.getIssueId=function(){return $t(this,1)};ZD.prototype.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};ZD.prototype.getIssueId_asString=function(){return fj(this,1)};ZD.prototype.setIssueId=function(a){return yj(this,1,a)};ZD.repeatedFields_=[3];var I1b=function(a){this.internalArray_=m(a)};X(I1b,n);g=I1b.prototype;g.getFilename=function(){return Zi(this,1)};g.setFilename=function(a){Lh(this,1,a)};g.getMimeType=function(){return Zi(this,2)};g.setMimeType=function(a){Lh(this,2,a)};g.getSize=function(){return kj(this,5)};g.setSize=function(a){return zj(this,5,a)};var rk=function(a){this.internalArray_=m(a)};X(rk,n);rk.prototype.getAccessLevel=function(){return cj(this,1,0)};rk.prototype.setAccessLevel=function(a){return Sj(this,1,a)};var Ml=function(a){this.internalArray_=m(a)};X(Ml,n);g=Ml.prototype;g.getIssueId=function(){return kj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return kj(this,1)};g.getIssueId_asString=function(){return au(this,1)};g.setIssueId=function(a){return Qj(this,1,a)};g.getIssueAccessLimit=function(){return $i(this,rk,2)};g.setIssueAccessLimit=function(a){li(this,rk,2,a)};g.setAddedCollaboratorsList=function(a){gl(this,3,a)};g.setRemovedCollaboratorsList=function(a){gl(this,4,a)};
Ml.repeatedFields_=[3,4];var pk=function(a){this.internalArray_=m(a)};X(pk,n);g=pk.prototype;g.getIdentityCase=function(){return kl(this,$D)};g.getUser=function(){return Ak(this,ui,1,$D)};g.setUser=function(a){return Gk(this,1,$D,a)};g.hasUser=function(){return Wk(this,ui,1,$D)};g.getGroup=function(){return Ak(this,ui,2,$D)};g.setGroup=function(a){Gk(this,2,$D,a)};g.getAlias=function(){return Zi(this,tk(this,$D,3))};g.setAlias=function(a){Fk(this,3,$D,a)};var $D=[1,2,3];var aE=function(a){this.internalArray_=m(a)};X(aE,n);g=aE.prototype;g.getAdminsList=function(){return gi(this,pk,2,hi())};g.setAdminsList=function(a){return gl(this,2,a)};g.getInheritedAdminsList=function(){return gi(this,pk,3,hi())};g.getEditorsList=function(){return gi(this,pk,4,hi())};g.setEditorsList=function(a){return gl(this,4,a)};g.getImplicitEditorsList=function(){return gi(this,pk,5,hi())};g.getAppendersList=function(){return gi(this,pk,6,hi())};
g.setAppendersList=function(a){return gl(this,6,a)};g.getImplicitAppendersList=function(){return gi(this,pk,7,hi())};g.getReadersList=function(){return gi(this,pk,8,hi())};g.setReadersList=function(a){return gl(this,8,a)};g.getImplicitReadersList=function(){return gi(this,pk,9,hi())};g.getImplicitAccess=function(){return cj(this,10,0)};g.setImplicitAccess=function(a){return Sj(this,10,a)};g.getRestrictedReadersList=function(){return gi(this,pk,11,hi())};
g.setRestrictedReadersList=function(a){return gl(this,11,a)};g.getRestrictedPlusReadersList=function(){return gi(this,pk,12,hi())};g.setRestrictedPlusReadersList=function(a){return gl(this,12,a)};aE.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];var bE=function(a){this.internalArray_=m(a)};X(bE,n);g=bE.prototype;g.getIssueId=function(){return kj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return kj(this,1)};g.getIssueId_asString=function(){return au(this,1)};g.setIssueId=function(a){return Qj(this,1,a)};g.getIssueAccessLimit=function(){return $i(this,rk,2)};g.setIssueAccessLimit=function(a){li(this,rk,2,a)};g.setAddedCollaboratorsList=function(a){gl(this,3,a)};g.setRemovedCollaboratorsList=function(a){gl(this,4,a)};
bE.repeatedFields_=[3,4];var Dk=function(a){this.internalArray_=m(a)};X(Dk,n);Dk.prototype.getValuesList=function(){return gi(this,Yj,1,hi())};Dk.prototype.setValuesList=function(a){return gl(this,1,a)};Dk.prototype.setValues=function(a,b){Tt(this,1,Yj,a,b)};Dk.repeatedFields_=[1];var Ck=function(a){this.internalArray_=m(a)};X(Ck,n);Ck.prototype.getValuesList=function(){return HNb(this,1,hi())};Ck.prototype.setValuesList=function(a){return Lb(this,1,a,vba)};Ck.prototype.getValues=function(a){var b=HNb(this,1,3,void 0,!0);db(b,a);return b[a]};Ck.prototype.setValues=function(a,b){Ob(this,1,vba,a,b,HNb)};Ck.repeatedFields_=[1];var Bk=function(a){this.internalArray_=m(a)};X(Bk,n);Bk.prototype.getValuesList=function(){return ri(this,1,hi())};Bk.prototype.setValuesList=function(a){return Lb(this,1,a,rb)};Bk.prototype.getValues=function(a){return cu(this,1,a)};Bk.prototype.setValues=function(a,b){Ob(this,1,rb,a,b,ri)};Bk.repeatedFields_=[1];var Ek=function(a){this.internalArray_=m(a)};X(Ek,n);g=Ek.prototype;g.getValueCase=function(){return kl(this,yk)};g.getCustomFieldId=function(){return kj(this,1)};g.getCustomFieldId_asLegacyNumberOrString=function(){return kj(this,1)};g.getCustomFieldId_asString=function(){return au(this,1)};g.setCustomFieldId=function(a){return Qj(this,1,a)};g.getDateValue=function(){return Ak(this,Yj,3,yk)};g.getDisplayString=function(){return Zi(this,10)};Ek.repeatedFields_=[11];var yk=[2,3,4,5,6,7,8,9];var Hk=function(a){this.internalArray_=m(a)};X(Hk,n);g=Hk.prototype;g.getCustomFieldId=function(){return kj(this,1)};g.getCustomFieldId_asLegacyNumberOrString=function(){return kj(this,1)};g.getCustomFieldId_asString=function(){return au(this,1)};g.setCustomFieldId=function(a){return Qj(this,1,a)};g.getComponentId=function(){return kj(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return kj(this,2)};g.getComponentId_asString=function(){return au(this,2)};
g.setComponentId=function(a){return Qj(this,2,a)};g.getType=function(){return cj(this,3,0)};g.setType=function(a){return Sj(this,3,a)};g.getName=function(){return Zi(this,5)};g.setName=function(a){return Rj(this,5,a)};g.getDescription=function(){return Zi(this,6)};g.setDescription=function(a){return Rj(this,6,a)};g.getEnumValues=function(a){return cu(this,8,a)};g.setFieldSignificance=function(a){return Sj(this,9,a)};g.getShared=function(){return Xi(this,11)};g.setShared=function(a){Ik(this,11,a)};
Hk.repeatedFields_=[8];var wk=function(a){this.internalArray_=m(a)};X(wk,n);g=wk.prototype;g.getCustomFieldId=function(){return kj(this,tk(this,vk,1))};g.getCustomFieldId_asLegacyNumberOrString=function(){return kj(this,tk(this,vk,1))};g.getCustomFieldId_asString=function(){return au(this,tk(this,vk,1))};g.setCustomFieldId=function(a){return xk(this,1,vk,qb(a))};g.hasCustomFieldId=function(){return null!=Yt(this,tk(this,vk,1))};var vk=[1,2];var Lk=function(a){this.internalArray_=m(a)};X(Lk,n);Lk.prototype.getLabel=function(){return Zi(this,1)};Lk.prototype.setLabel=function(a){return Rj(this,1,a)};Lk.prototype.getValue=function(){return zk(this,2)};Lk.prototype.setValue=function(a){return Mb(this,2,ib(a),0)};var Kk=function(a){this.internalArray_=m(a)};X(Kk,n);var fva=function(a,b){return gl(a,1,b)};Kk.prototype.setOptions=function(a){Tt(this,1,Lk,a)};Kk.repeatedFields_=[1];var dva=function(a){this.internalArray_=m(a)};X(dva,n);var cva=function(a,b){return Mb(a,1,ib(b),0)};var Jk=function(a){this.internalArray_=m(a)};X(Jk,n);g=Jk.prototype;g.getInherit=function(){return Xi(this,1)};g.setInherit=function(a){return Ik(this,1,a)};g.getId=function(){return kj(this,2)};g.getId_asLegacyNumberOrString=function(){return kj(this,2)};g.getId_asString=function(){return au(this,2)};g.setId=function(a){return Qj(this,2,a)};g.getName=function(){return Zi(this,3)};g.setName=function(a){return Rj(this,3,a)};var bva=function(a,b){Gk(a,4,nl,b)},eva=function(a,b){Gk(a,5,nl,b)};
Jk.prototype.getCustomFieldId=function(){return kj(this,100)};Jk.prototype.getCustomFieldId_asLegacyNumberOrString=function(){return kj(this,100)};Jk.prototype.getCustomFieldId_asString=function(){return au(this,100)};Jk.prototype.setCustomFieldId=function(a){return Qj(this,100,a)};var nl=[4,5];var jl=function(a){this.internalArray_=m(a)};X(jl,n);var Mk=function(a){this.internalArray_=m(a)};X(Mk,n);g=Mk.prototype;g.getStartTime=function(){return $i(this,mj,1)};g.getObjective=function(){return $i(this,ck,4)};g.setObjective=function(a){return li(this,ck,4,a)};g.getBusinessDays=function(){return qi(this,5)};g.setBusinessDays=function(a){return Zj(this,5,a)};g.getDayType=function(){return cj(this,6,0)};g.setDayType=function(a){return Sj(this,6,a)};var Nk=function(a){this.internalArray_=m(a)};X(Nk,n);var Tl=function(a){this.internalArray_=m(a)};X(Tl,n);Tl.prototype.getSourceIssueIdsList_asLegacyNumberOrString=function(){return Jj(this,1,hi())};Tl.prototype.setSourceIssueIdsList=function(a){return Ut(this,1,a)};Tl.repeatedFields_=[1];var Ul=function(a){this.internalArray_=m(a)};X(Ul,n);var cl=function(a){this.internalArray_=m(a)};X(cl,n);cl.prototype.getCount=function(){return kj(this,2)};cl.prototype.setCount=function(a){return Qj(this,2,a)};cl.prototype.getType=function(){return cj(this,4,0)};cl.prototype.setType=function(a){return Sj(this,4,a)};cl.repeatedFields_=[3];var Vk=function(a){this.internalArray_=m(a)};X(Vk,n);Vk.repeatedFields_=[2];var al=function(a){this.internalArray_=m(a)};X(al,n);al.prototype.getContent=function(){return $i(this,Ej,1)};al.prototype.setContent=function(a){return li(this,Ej,1,a)};al.prototype.hasContent=function(){return ji(this,Ej,1)};var $k=function(a){this.internalArray_=m(a)};X($k,n);$k.prototype.getContent=function(){return $i(this,Ej,1)};$k.prototype.setContent=function(a){return li(this,Ej,1,a)};$k.prototype.hasContent=function(){return ji(this,Ej,1)};var Zk=function(a){this.internalArray_=m(a)};X(Zk,n);Zk.prototype.getContent=function(){return $i(this,Ej,2)};Zk.prototype.setContent=function(a){return li(this,Ej,2,a)};Zk.prototype.hasContent=function(){return ji(this,Ej,2)};var Xk=function(a){this.internalArray_=m(a)};X(Xk,n);Xk.repeatedFields_=[1];var el=function(a){this.internalArray_=m(a)};X(el,n);el.prototype.getKindCase=function(){return kl(this,Yk)};var Yk=[1,2,3];var cE=function(a){this.internalArray_=m(a)};X(cE,n);cE.prototype.getState=function(){return cj(this,2,0)};cE.prototype.setState=function(a){return Sj(this,2,a)};cE.repeatedFields_=[3];var $l=function(a){this.internalArray_=m(a)};X($l,n);g=$l.prototype;g.getIssueId=function(){return kj(this,6)};g.getIssueId_asLegacyNumberOrString=function(){return kj(this,6)};g.getIssueId_asString=function(){return au(this,6)};g.setIssueId=function(a){return Qj(this,6,a)};g.getCommentNumber=function(){return qi(this,7)};g.setCommentNumber=function(a){return Zj(this,7,a)};g.getComment=function(){return Zi(this,1)};g.setComment=function(a){return Rj(this,1,a)};
g.getFormattedComment=function(){return $i(this,el,16)};g.hasFormattedComment=function(){return ji(this,el,16)};g.getMentionsList=function(){return gi(this,cE,14,hi())};g.getFormattingMode=function(){return cj(this,9,0)};g.setFormattingMode=function(a){return Sj(this,9,a)};g.getAttachmentsList=function(){return gi(this,hk,2,hi())};g.setAttachmentsList=function(a){return gl(this,2,a)};g.addAllAttachments=function(a){Wt(this,2,hk,a)};g.getModifiedTime=function(){return $i(this,mj,4)};
g.setModifiedTime=function(a){return li(this,mj,4,a)};g.getEntityStatus=function(){return $i(this,jk,5)};g.setEntityStatus=function(a){return li(this,jk,5,a)};g.getVersion=function(){return qi(this,8)};g.setVersion=function(a){return Zj(this,8,a)};g.getContentVerdict=function(){return $i(this,H1b,10)};g.getRestrictedRetentionState=function(){return $i(this,fk,11)};g.getRestrictedRetention=function(){return cj(this,12,0)};g.setRestrictedRetention=function(a){return Sj(this,12,a)};
g.getEtag=function(){return kk(this,15)};g.setEtag=function(a){ik(this,15,a)};$l.repeatedFields_=[14,2];var hl=function(a){this.internalArray_=m(a)};X(hl,n);hl.prototype.getChangeNumber_asLegacyNumberOrString=function(){return kj(this,3)};hl.prototype.setChangeNumber=function(a){return Qj(this,3,a)};hl.prototype.getState=function(){return cj(this,4,0)};hl.prototype.setState=function(a){return Sj(this,4,a)};var il=function(a){this.internalArray_=m(a)};X(il,n);g=il.prototype;g.getComponentId=function(){return kj(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return kj(this,1)};g.getComponentId_asString=function(){return au(this,1)};g.setComponentId=function(a){return Qj(this,1,a)};g.getType=function(){return cj(this,2,0)};g.setType=function(a){return Sj(this,2,a)};g.getStatus=function(){return cj(this,3,0)};g.setStatus=function(a){return Sj(this,3,a)};
g.getPriority=function(){return cj(this,4,0)};g.setPriority=function(a){return Sj(this,4,a)};g.getSeverity=function(){return cj(this,5,0)};g.setSeverity=function(a){Sj(this,5,a)};g.getTitle=function(){return Zi(this,6)};g.setTitle=function(a){return Rj(this,6,a)};g.getReporter=function(){return $i(this,ui,7)};g.setReporter=function(a){li(this,ui,7,a)};g.getAssignee=function(){return $i(this,ui,8)};g.setAssignee=function(a){li(this,ui,8,a)};g.clearAssignee=function(){return lk(this,8)};
g.getVerifier=function(){return $i(this,ui,9)};g.setVerifier=function(a){li(this,ui,9,a)};g.clearVerifier=function(){return lk(this,9)};g.getCcsList=function(){return gi(this,ui,10,hi())};g.setCcsList=function(a){gl(this,10,a)};g.getCollaboratorsList=function(){return gi(this,ui,31,hi())};g.setCollaboratorsList=function(a){gl(this,31,a)};g.setCollaborators=function(a){Tt(this,31,ui,a)};g.getCanonicalIssueId_asLegacyNumberOrString=function(){return kj(this,11)};
g.setCanonicalIssueId=function(a){Qj(this,11,a)};g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return Jj(this,12,hi())};g.setBlockedByIssueIdsList=function(a){Ut(this,12,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return Jj(this,13,hi())};g.setBlockingIssueIdsList=function(a){Ut(this,13,a)};g.getHotlistIdsList=function(){return Jj(this,14,hi())};g.getHotlistIdsList_asLegacyNumberOrString=function(){return Jj(this,14,hi())};
g.setHotlistIdsList=function(a){Ut(this,14,a)};g.addHotlistIds=function(a,b){return Nb(this,14,ob,a,b)};g.getCustomFieldsList=function(){return gi(this,Ek,15,hi())};g.setCustomFieldsList=function(a){return gl(this,15,a)};g.getCodeChangesList=function(){return ri(this,16,hi())};g.setCodeChangesList=function(a){Lb(this,16,a,rb)};g.getInProd=function(){return Xi(this,20)};g.setInProd=function(a){Ik(this,20,a)};g.getIsArchived=function(){return Xi(this,21)};
g.setIsArchived=function(a){return Ik(this,21,a)};g.getDuplicateIssueIdsList_asLegacyNumberOrString=function(){return Jj(this,22,hi())};g.setDuplicateIssueIdsList=function(a){Ut(this,22,a)};g.getIsDeleted=function(){return Xi(this,23)};g.setIsDeleted=function(a){Ik(this,23,a)};g.setDeletionReason=function(a){Sj(this,24,a)};g.getEntityStatus=function(){return $i(this,jk,25)};g.setEntityStatus=function(a){return li(this,jk,25,a)};g.getSloSnoozeUntil=function(){return $i(this,mj,26)};
g.setSloSnoozeUntil=function(a){li(this,mj,26,a)};g.getSloEndTime=function(){return $i(this,mj,34)};g.setSloEndTime=function(a){li(this,mj,34,a)};g.hasSloEndTime=function(){return ji(this,mj,34)};g.setSloSnoozeType=function(a){Sj(this,30,a)};g.getRetention=function(){return cj(this,28,0)};g.setRetention=function(a){Sj(this,28,a)};g.getEffort=function(){return $i(this,jl,29)};g.setEffort=function(a){li(this,jl,29,a)};g.hasEffort=function(){return ji(this,jl,29)};
g.getAccessLimit=function(){return $i(this,rk,32)};g.setAccessLimit=function(a){return li(this,rk,32,a)};il.repeatedFields_=[10,31,12,13,14,15,16,35,17,18,19,22,27];var Sl=function(a){this.internalArray_=m(a)};X(Sl,n);Sl.prototype.getNotificationSubscription=function(){return cj(this,4,0)};Sl.prototype.setNotificationSubscription=function(a){return Sj(this,4,a)};Sl.repeatedFields_=[3];var lwa=function(a){this.internalArray_=m(a)};X(lwa,n);lwa.prototype.getHref=function(){return Zi(this,1)};var kwa=function(a){this.internalArray_=m(a)};X(kwa,n);g=kwa.prototype;g.getIssueId=function(){return kj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return kj(this,1)};g.getIssueId_asString=function(){return au(this,1)};g.setIssueId=function(a){return zj(this,1,a)};g.getCommentNumber=function(){return qi(this,2)};g.setCommentNumber=function(a){return rj(this,2,a)};var J1b=function(a){this.internalArray_=m(a)};X(J1b,n);var jwa=[1,2];var fl=function(a){this.internalArray_=m(a)};X(fl,n);g=fl.prototype;g.getIssueId=function(){return kj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return kj(this,1)};g.getIssueId_asString=function(){return au(this,1)};g.setIssueId=function(a){return Qj(this,1,a)};g.getFormattingMode=function(){return cj(this,4,0)};g.setFormattingMode=function(a){return Sj(this,4,a)};g.getAuthor=function(){return $i(this,ui,5)};g.setAuthor=function(a){li(this,ui,5,a)};
g.hasAuthor=function(){return ji(this,ui,5)};g.getUpdateTime=function(){return $i(this,mj,6)};g.setUpdateTime=function(a){li(this,mj,6,a)};g.hasUpdateTime=function(){return ji(this,mj,6)};g.getVersion=function(){return qi(this,7)};g.setVersion=function(a){return Zj(this,7,a)};g.getEntityStatus=function(){return $i(this,jk,8)};g.setEntityStatus=function(a){return li(this,jk,8,a)};var Rl=function(a){this.internalArray_=m(a)};X(Rl,n);g=Rl.prototype;g.getIssueId=function(){return kj(this,2)};g.getIssueId_asLegacyNumberOrString=function(){return kj(this,2)};g.getIssueId_asString=function(){return au(this,2)};g.setIssueId=function(a){return Qj(this,2,a)};g.getIssueState=function(){return $i(this,il,3)};g.setIssueState=function(a){return li(this,il,3,a)};g.hasIssueState=function(){return ji(this,il,3)};g.getAttachmentsList=function(){return gi(this,hk,18,hi())};
g.setAttachmentsList=function(a){return gl(this,18,a)};g.addAllAttachments=function(a){Wt(this,18,hk,a)};g.getDescription=function(){return $i(this,$l,44)};g.setDescription=function(a){return li(this,$l,44,a)};g.hasDescription=function(){return ji(this,$l,44)};g.getStatusUpdate=function(){return $i(this,fl,43)};g.setStatusUpdate=function(a){li(this,fl,43,a)};g.hasStatusUpdate=function(){return ji(this,fl,43)};g.getCreatedTime=function(){return $i(this,mj,5)};
g.setCreatedTime=function(a){return li(this,mj,5,a)};g.getModifiedTime=function(){return $i(this,mj,6)};g.setModifiedTime=function(a){return li(this,mj,6,a)};g.getMajorModifiedTime=function(){return $i(this,mj,35)};g.setMajorModifiedTime=function(a){return li(this,mj,35,a)};g.getLastModifier=function(){return $i(this,ui,14)};g.setLastModifier=function(a){li(this,ui,14,a)};g.getResolvedTime=function(){return $i(this,mj,7)};g.setResolvedTime=function(a){return li(this,mj,7,a)};
g.getVerifiedTime=function(){return $i(this,mj,8)};g.setVerifiedTime=function(a){return li(this,mj,8,a)};g.getUserData=function(){return $i(this,Sl,9)};g.setUserData=function(a){li(this,Sl,9,a)};g.getVoteCount=function(){return kj(this,10)};g.getVoteCount_asLegacyNumberOrString=function(){return kj(this,10)};g.setVoteCount=function(a){return Qj(this,10,a)};g.getParentIssueIdsList=function(){return Jj(this,37,hi())};g.setParentIssueIdsList=function(a){return Ut(this,37,a)};
g.getAccessLimit=function(){return $i(this,sk,11)};g.setAccessLimit=function(a){return li(this,sk,11,a)};g.getVersion=function(){return qi(this,12)};g.setVersion=function(a){return Zj(this,12,a)};g.getEtag=function(){return kk(this,13)};g.setEtag=function(a){ik(this,13,a)};g.getCustomFieldsList=function(){return gi(this,Hk,15,hi())};g.setCustomFieldsList=function(a){return gl(this,15,a)};g.getVisibleFieldsList=function(){return gi(this,wk,34,hi())};
g.setVisibleFieldsList=function(a){return gl(this,34,a)};g.getSloStatus=function(){return $i(this,Nk,16)};g.setSloStatus=function(a){li(this,Nk,16,a)};g.hasSloStatus=function(){return ji(this,Nk,16)};g.getSloId=function(){return kj(this,17)};g.getSloId_asLegacyNumberOrString=function(){return kj(this,17)};g.getSloId_asString=function(){return au(this,17)};g.setSloId=function(a){return Qj(this,17,a)};g.getTeamId=function(){return kj(this,33)};
g.getTeamId_asLegacyNumberOrString=function(){return kj(this,33)};g.getTeamId_asString=function(){return au(this,33)};g.setTeamId=function(a){return Qj(this,33,a)};g.getRetentionState=function(){return $i(this,fk,29)};g.setRetentionState=function(a){li(this,fk,29,a)};g.getAncestorsMap=function(){return Kb(this,38,Tl,Yba)};g.getChildIssueCount=function(){return qi(this,39)};g.setChildIssueCount=function(a){return Zj(this,39,a)};g.getDescendantIssueCount=function(){return qi(this,45)};
g.setDescendantIssueCount=function(a){return Zj(this,45,a)};g.getOpenDescendantIssueCount=function(){return qi(this,46)};g.setOpenDescendantIssueCount=function(a){return Zj(this,46,a)};g.getIsArchived=function(){return Xi(this,40)};g.setIsArchived=function(a){return Ik(this,40,a)};g.getRelatedLinksList=function(){return gi(this,J1b,41,hi())};g.getTrackerId=function(){return kj(this,42)};g.getTrackerId_asLegacyNumberOrString=function(){return kj(this,42)};
g.getTrackerId_asString=function(){return au(this,42)};g.setTrackerId=function(a){Qj(this,42,a)};g.getUserActivityStats=function(){return $i(this,Ul,47)};g.setUserActivityStats=function(a){li(this,Ul,47,a)};g.hasUserActivityStats=function(){return ji(this,Ul,47)};Rl.repeatedFields_=[18,37,31,15,34,41];var Uk=function(a){this.internalArray_=m(a)};X(Uk,n);Uk.prototype.setFieldId=function(a){return li(this,wk,1,a)};var Ok=function(a){this.internalArray_=m(a)};X(Ok,n);g=Ok.prototype;g.getInherit=function(){return Xi(this,1)};g.setInherit=function(a){return Ik(this,1,a)};g.getSource=function(){return cj(this,2,0)};g.setSource=function(a){return Sj(this,2,a)};g.getId=function(){return kj(this,3)};g.getId_asLegacyNumberOrString=function(){return kj(this,3)};g.getId_asString=function(){return au(this,3)};g.setId=function(a){return Qj(this,3,a)};g.getSourceTeamId_asLegacyNumberOrString=function(){return kj(this,5)};
g.setSourceTeamId=function(a){return Qj(this,5,a)};g.getComment=function(){return Zi(this,4)};g.setComment=function(a){return Rj(this,4,a)};var Qk=function(a){this.internalArray_=m(a)};X(Qk,n);g=Qk.prototype;g.getMetric=function(){return cj(this,1,0)};g.getMatcher=function(){return Zi(this,2)};g.setMatcher=function(a){return Rj(this,2,a)};g.getDayType=function(){return cj(this,4,0)};g.setDayType=function(a){return Sj(this,4,a)};g.getObjective=function(){return $i(this,ck,3)};g.setObjective=function(a){return li(this,ck,3,a)};g.getBusinessDays=function(){return qi(this,5)};g.setBusinessDays=function(a){return Zj(this,5,a)};var Kl=function(a){this.internalArray_=m(a)};X(Kl,n);g=Kl.prototype;g.getSloId=function(){return kj(this,1)};g.getSloId_asLegacyNumberOrString=function(){return kj(this,1)};g.getSloId_asString=function(){return au(this,1)};g.setSloId=function(a){return Qj(this,1,a)};g.getParentId=function(){return kj(this,2)};g.setParentId=function(a){return Qj(this,2,a)};g.getName=function(){return Zi(this,3)};g.setName=function(a){return Rj(this,3,a)};g.getDescription=function(){return Zi(this,4)};
g.setDescription=function(a){return Rj(this,4,a)};g.addRules=function(a,b){return sq(this,5,Qk,a,b)};g.getIsArchived=function(){return Xi(this,7)};g.setIsArchived=function(a){return Ik(this,7,a)};Kl.repeatedFields_=[5,6];var Tk=function(a){this.internalArray_=m(a)};X(Tk,n);g=Tk.prototype;g.getInherit=function(){return Xi(this,1)};g.setInherit=function(a){return Ik(this,1,a)};g.getId=function(){return kj(this,2)};g.getId_asLegacyNumberOrString=function(){return kj(this,2)};g.getId_asString=function(){return au(this,2)};g.setId=function(a){return Qj(this,2,a)};var Sk=function(a){this.internalArray_=m(a)};X(Sk,n);g=Sk.prototype;g.getInherit=function(){return Xi(this,1)};g.setInherit=function(a){return Ik(this,1,a)};g.getId=function(){return kj(this,2)};g.getId_asLegacyNumberOrString=function(){return kj(this,2)};g.getId_asString=function(){return au(this,2)};g.setId=function(a){return Qj(this,2,a)};g.getSourceTeamId_asLegacyNumberOrString=function(){return kj(this,4)};g.setSourceTeamId=function(a){return Qj(this,4,a)};
g.getComment=function(){return Zi(this,3)};g.setComment=function(a){return Rj(this,3,a)};var jo=function(a){this.internalArray_=m(a)};X(jo,n);g=jo.prototype;g.getVersion=function(){return qi(this,1)};g.setVersion=function(a){return Zj(this,1,a)};g.getSlo=function(){return $i(this,Sk,2)};g.setSlo=function(a){li(this,Sk,2,a)};g.hasSlo=function(){return ji(this,Sk,2)};var Rk=function(a){this.internalArray_=m(a)};X(Rk,n);Rk.prototype.getUser=function(){return $i(this,ui,1)};Rk.prototype.setUser=function(a){return li(this,ui,1,a)};Rk.prototype.hasUser=function(){return ji(this,ui,1)};var dE=function(a){this.internalArray_=m(a)};X(dE,n);g=dE.prototype;g.getId=function(){return kj(this,1)};g.getId_asLegacyNumberOrString=function(){return kj(this,1)};g.getId_asString=function(){return au(this,1)};g.setId=function(a){return Qj(this,1,a)};g.getPathIdsList=function(){return Jj(this,2,hi())};g.getPathIdsList_asLegacyNumberOrString=function(){return Jj(this,2,hi())};g.setPathIdsList=function(a){return Ut(this,2,a)};g.getName=function(){return Zi(this,3)};
g.setName=function(a){return Rj(this,3,a)};g.getPathNamesList=function(){return ri(this,4,hi())};g.setPathNamesList=function(a){return Lb(this,4,a,rb)};g.getMembersList=function(){return gi(this,Rk,6,hi())};g.setMembersList=function(a){return gl(this,6,a)};g.getDescription=function(){return Zi(this,8)};g.setDescription=function(a){return Rj(this,8,a)};g.getDeleted=function(){return Xi(this,9)};dE.repeatedFields_=[2,4,5,6];var Bva=function(a){this.internalArray_=m(a)};X(Bva,n);g=Bva.prototype;g.getTeamId=function(){return kj(this,1)};g.getTeamId_asLegacyNumberOrString=function(){return kj(this,1)};g.getTeamId_asString=function(){return au(this,1)};g.setTeamId=function(a){return Qj(this,1,a)};g.getScore=function(){return zk(this,2)};g.setScore=function(a){return Mb(this,2,ib(a),0)};var ml=function(a){this.internalArray_=m(a)};X(ml,n);ml.prototype.getComponentPathNames=function(a){return cu(this,2,a)};ml.repeatedFields_=[1,2,3,4,5];var ol=function(a){this.internalArray_=m(a)};X(ol,n);g=ol.prototype;g.getComponentId=function(){return kj(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return kj(this,2)};g.getComponentId_asString=function(){return au(this,2)};g.setComponentId=function(a){return Qj(this,2,a)};g.getName=function(){return Zi(this,4)};g.setName=function(a){return Rj(this,4,a)};g.getDescription=function(){return Zi(this,5)};g.setDescription=function(a){return Rj(this,5,a)};
g.getIsArchived=function(){return Xi(this,8)};g.setIsArchived=function(a){return Ik(this,8,a)};g.getAccessLimit=function(){return $i(this,sk,9)};g.setAccessLimit=function(a){return li(this,sk,9,a)};g.setCommentEditState=function(a){return Sj(this,10,a)};g.getSlo=function(){return $i(this,Ok,13)};g.setSlo=function(a){li(this,Ok,13,a)};g.hasSlo=function(){return ji(this,Ok,13)};g.getTeam=function(){return $i(this,Tk,16)};g.getEffortSpec=function(){return $i(this,Jk,18)};
g.getTeamSuggestionsList=function(){return gi(this,Bva,19,hi())};g.setTeamSuggestionsList=function(a){gl(this,19,a)};g.getTrackerId=function(){return kj(this,20)};g.getTrackerId_asLegacyNumberOrString=function(){return kj(this,20)};g.getTrackerId_asString=function(){return au(this,20)};g.setTrackerId=function(a){Qj(this,20,a)};ol.repeatedFields_=[19];var bm=function(a){this.internalArray_=m(a)};X(bm,n);bm.prototype.getTemplateId_asLegacyNumberOrString=function(){return kj(this,2)};bm.prototype.setTemplateId=function(a){return Qj(this,2,a)};var am=function(a){this.internalArray_=m(a)};X(am,n);g=am.prototype;g.getIssue=function(){return $i(this,Rl,1)};g.setIssue=function(a){return li(this,Rl,1,a)};g.setSignificanceOverride=function(a){return Sj(this,4,a)};g.getContentJudgement=function(){return $i(this,Pj,5)};g.setContentJudgement=function(a){return li(this,Pj,5,a)};var rl=function(a){this.internalArray_=m(a)};X(rl,n);g=rl.prototype;g.getComponentId=function(){return kj(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return kj(this,2)};g.getComponentId_asString=function(){return au(this,2)};g.setComponentId=function(a){return Qj(this,2,a)};g.getTemplateId_asLegacyNumberOrString=function(){return kj(this,3)};g.setTemplateId=function(a){return Qj(this,3,a)};g.getName=function(){return Zi(this,4)};g.setName=function(a){return Rj(this,4,a)};
g.getDescription=function(){return Zi(this,5)};g.setDescription=function(a){return Rj(this,5,a)};g.getIssueState=function(){return $i(this,il,6)};g.setIssueState=function(a){return li(this,il,6,a)};g.hasIssueState=function(){return ji(this,il,6)};g.getComment=function(){return Zi(this,7)};g.setComment=function(a){return Rj(this,7,a)};g.getFormattingMode=function(){return cj(this,8,0)};g.setFormattingMode=function(a){return Sj(this,8,a)};var pl=function(a){this.internalArray_=m(a,0,pl.messageId)};X(pl,n);pl.prototype.getIt=function(){return $i(this,ol,28)};pl.prototype.setIt=function(a){return li(this,ol,28,a)};pl.prototype.hasIt=function(){return ji(this,ol,28)};pl.messageId="b.Component";var ql=function(a){this.internalArray_=m(a)};X(ql,n);ql.prototype.getIt=function(){return $i(this,rl,7)};ql.prototype.setIt=function(a){return li(this,rl,7,a)};ql.prototype.hasIt=function(){return ji(this,rl,7)};var K1b=function(a){this.internalArray_=m(a,0,K1b.messageId)};X(K1b,n);K1b.messageId="b.UpdateComponentSloRequest";var L1b=function(a){this.internalArray_=m(a,0,L1b.messageId)};X(L1b,n);L1b.messageId="b.UpdateComponentTeamRequest";var tl=function(a){this.internalArray_=m(a)};X(tl,n);tl.prototype.getIt=function(){return $i(this,Hk,14)};tl.prototype.setIt=function(a){return li(this,Hk,14,a)};tl.prototype.hasIt=function(){return ji(this,Hk,14)};var Ol=function(a){this.internalArray_=m(a)};X(Ol,n);Ol.prototype.getIt=function(){return $i(this,Ek,13)};Ol.prototype.setIt=function(a){return li(this,Ek,13,a)};Ol.prototype.hasIt=function(){return ji(this,Ek,13)};var sl=function(a){this.internalArray_=m(a,0,sl.messageId)};X(sl,n);sl.prototype.getIt=function(){return $i(this,wk,3)};sl.prototype.setIt=function(a){return li(this,wk,3,a)};sl.prototype.hasIt=function(){return ji(this,wk,3)};sl.messageId="b.FieldId";var Dl=function(a){this.internalArray_=m(a)};X(Dl,n);g=Dl.prototype;g.getIdentityCase=function(){return kl(this,eE)};g.getUser=function(){return Ak(this,Mi,1,eE)};g.setUser=function(a){return Gk(this,1,eE,a)};g.hasUser=function(){return Wk(this,Mi,1,eE)};g.getGroup=function(){return Ak(this,Mi,2,eE)};g.setGroup=function(a){Gk(this,2,eE,a)};g.getAlias=function(){return Zi(this,tk(this,eE,3))};g.setAlias=function(a){Fk(this,3,eE,a)};var eE=[1,2,3];var fE=function(a){this.internalArray_=m(a,0,fE.messageId)};X(fE,n);g=fE.prototype;g.getAdminsList=function(){return gi(this,Dl,2,hi())};g.setAdminsList=function(a){return gl(this,2,a)};g.getInheritedAdminsList=function(){return gi(this,Dl,3,hi())};g.getEditorsList=function(){return gi(this,Dl,4,hi())};g.setEditorsList=function(a){return gl(this,4,a)};g.getImplicitEditorsList=function(){return gi(this,Dl,5,hi())};g.getAppendersList=function(){return gi(this,Dl,6,hi())};
g.setAppendersList=function(a){return gl(this,6,a)};g.getImplicitAppendersList=function(){return gi(this,Dl,7,hi())};g.getReadersList=function(){return gi(this,Dl,8,hi())};g.setReadersList=function(a){return gl(this,8,a)};g.getImplicitReadersList=function(){return gi(this,Dl,9,hi())};g.getRestrictedReadersList=function(){return gi(this,Dl,11,hi())};g.setRestrictedReadersList=function(a){return gl(this,11,a)};g.getRestrictedPlusReadersList=function(){return gi(this,Dl,12,hi())};
g.setRestrictedPlusReadersList=function(a){return gl(this,12,a)};g.getImplicitAccess=function(){return cj(this,10,0)};g.setImplicitAccess=function(a){return tj(this,10,a)};g.getIt=function(){return $i(this,aE,13)};g.setIt=function(a){return li(this,aE,13,a)};g.hasIt=function(){return ji(this,aE,13)};fE.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];fE.messageId="b.AccessPolicy";var Owa=pi("enableLeanFeE");var Xl=function(a){this.internalArray_=m(a,0,Xl.messageId)};X(Xl,n);Xl.prototype.getIt=function(){return $i(this,fk,3)};Xl.prototype.setIt=function(a){return li(this,fk,3,a)};Xl.prototype.hasIt=function(){return ji(this,fk,3)};Xl.messageId="b.RetentionState";var Hl=function(a){this.internalArray_=m(a)};X(Hl,n);g=Hl.prototype;g.getId=function(){return kj(this,1)};g.getId_asLegacyNumberOrString=function(){return kj(this,1)};g.getId_asString=function(){return au(this,1)};g.setId=function(a){return zj(this,1,a)};g.setFrequency=function(a){return Sj(this,3,a)};g.getTimeZone=function(){return $i(this,Il,5)};g.setTimeZone=function(a){return li(this,Il,5,a)};g.hasTimeZone=function(){return ji(this,Il,5)};Hl.repeatedFields_=[8,9];var gE=function(a){this.internalArray_=m(a)};X(gE,n);g=gE.prototype;g.getTeamId=function(){return kj(this,1)};g.getTeamId_asLegacyNumberOrString=function(){return kj(this,1)};g.getTeamId_asString=function(){return au(this,1)};g.setTeamId=function(a){return Qj(this,1,a)};g.getEffectiveSloEditPolicy=function(){return cj(this,3,0)};var Jl=function(a){this.internalArray_=m(a,0,Jl.messageId)};X(Jl,n);Jl.prototype.getIt=function(){return $i(this,Kl,10)};Jl.prototype.setIt=function(a){return li(this,Kl,10,a)};Jl.prototype.hasIt=function(){return ji(this,Kl,10)};Jl.messageId="b.SloState";var Yl=function(a){this.internalArray_=m(a)};X(Yl,n);Yl.prototype.getIt=function(){return $i(this,Nk,4)};Yl.prototype.setIt=function(a){return li(this,Nk,4,a)};Yl.prototype.hasIt=function(){return ji(this,Nk,4)};var hE=function(a){this.internalArray_=m(a,0,hE.messageId)};X(hE,n);g=hE.prototype;g.getIssueId=function(){return $t(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};g.getIssueId_asString=function(){return fj(this,1)};g.setIssueId=function(a){return yj(this,1,a)};g.getReason=function(){return cj(this,2,0)};g.setReason=function(a){return tj(this,2,a)};hE.messageId="b.DeleteIssueRequest";var kxa=function(a){this.internalArray_=m(a)};X(kxa,n);g=kxa.prototype;g.getFieldName=function(){return Zi(this,1)};g.setFieldName=function(a){Lh(this,1,a)};g.getValue=function(){return Zi(this,2)};g.setValue=function(a){return Lh(this,2,a)};g.hasValue=function(){return Pi(this,2)};g.setActionType=function(a){tj(this,3,a)};g.getCustomFieldValue=function(){return $i(this,Ol,5)};g.setCustomFieldValue=function(a){return li(this,Ol,5,a)};g.clearCustomFieldValue=function(){return lk(this,5)};
g.hasCustomFieldValue=function(){return ji(this,Ol,5)};var Ll=function(a){this.internalArray_=m(a,0,Ll.messageId)};X(Ll,n);g=Ll.prototype;g.getIssueId=function(){return $t(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};g.getIssueId_asString=function(){return fj(this,1)};g.setIssueId=function(a){return yj(this,1,a)};g.getIssueAccessLimit=function(){return $i(this,rk,2)};g.setIssueAccessLimit=function(a){li(this,rk,2,a)};g.setAddedCollaboratorsList=function(a){gl(this,3,a)};
g.setRemovedCollaboratorsList=function(a){gl(this,4,a)};g.getIt=function(){return $i(this,Ml,5)};g.setIt=function(a){return li(this,Ml,5,a)};g.hasIt=function(){return ji(this,Ml,5)};Ll.repeatedFields_=[3,4];Ll.messageId="b.GetRetainedAccessPrincipalsRequest";var Wl=function(a){this.internalArray_=m(a)};X(Wl,n);g=Wl.prototype;g.getVoteCount=function(){return kj(this,1)};g.getVoteCount_asLegacyNumberOrString=function(){return kj(this,1)};g.setVoteCount=function(a){return zj(this,1,a)};g.getModifiedTimeMicros=function(){return kj(this,3)};g.getLastModifier=function(){return $i(this,Mi,10)};g.setLastModifier=function(a){li(this,Mi,10,a)};g.getSloStatus=function(){return $i(this,Yl,6)};g.setSloStatus=function(a){li(this,Yl,6,a)};
g.hasSloStatus=function(){return ji(this,Yl,6)};g.getSloId=function(){return $t(this,7)};g.getSloId_asLegacyNumberOrString=function(){return $t(this,7)};g.getSloId_asString=function(){return fj(this,7)};g.setSloId=function(a){return yj(this,7,a)};g.getTeamId=function(){return $t(this,9)};g.getTeamId_asLegacyNumberOrString=function(){return $t(this,9)};g.getTeamId_asString=function(){return fj(this,9)};g.setTeamId=function(a){return yj(this,9,a)};g.getRetentionState=function(){return $i(this,Xl,8)};
g.setRetentionState=function(a){li(this,Xl,8,a)};var iE=function(a){this.internalArray_=m(a,0,iE.messageId)};X(iE,n);iE.prototype.getIt=function(){return $i(this,$l,19)};iE.prototype.setIt=function(a){return li(this,$l,19,a)};iE.prototype.hasIt=function(){return ji(this,$l,19)};iE.messageId="b.IssueComment";var Vl=function(a){this.internalArray_=m(a,0,Vl.messageId)};X(Vl,n);g=Vl.prototype;g.getStarred=function(){return Xi(this,1)};g.setStarred=function(a){Mh(this,1,a)};g.getVoted=function(){return Xi(this,2)};g.setVoted=function(a){return Mh(this,2,a)};g.getNotificationSubscription=function(){return cj(this,4,0)};g.setNotificationSubscription=function(a){return tj(this,4,a)};Vl.messageId="b.IssueUserData";var jE=function(a){this.internalArray_=m(a,0,jE.messageId)};X(jE,n);jE.prototype.getIt=function(){return $i(this,fl,9)};jE.prototype.setIt=function(a){return li(this,fl,9,a)};jE.prototype.hasIt=function(){return ji(this,fl,9)};jE.messageId="b.StatusUpdate";var Ql=function(a){this.internalArray_=m(a)};X(Ql,n);g=Ql.prototype;g.getIssueId=function(){return $t(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};g.getIssueId_asString=function(){return fj(this,1)};g.setIssueId=function(a){return yj(this,1,a)};g.getIssueState=function(){return $i(this,il,22)};g.setIssueState=function(a){return li(this,il,22,a)};g.hasIssueState=function(){return ji(this,il,22)};g.getUserData=function(){return $i(this,Vl,3)};
g.setUserData=function(a){li(this,Vl,3,a)};g.getParentIssueIdsList=function(){return Ij(this,8,hi())};g.setParentIssueIdsList=function(a){return Lb(this,8,a,ob)};g.getCustomFieldsList=function(){return gi(this,tl,15,hi())};g.setCustomFieldsList=function(a){return gl(this,15,a)};g.getDescription=function(){return $i(this,iE,16)};g.setDescription=function(a){return li(this,iE,16,a)};g.hasDescription=function(){return ji(this,iE,16)};g.getVisibleFieldsList=function(){return gi(this,sl,6,hi())};
g.setVisibleFieldsList=function(a){return gl(this,6,a)};g.getAncestorsMap=function(){return Kb(this,9,Tl,Yba)};g.getChildIssueCount=function(){return qi(this,10)};g.setChildIssueCount=function(a){return rj(this,10,a)};g.getDescendantIssueCount=function(){return qi(this,18)};g.setDescendantIssueCount=function(a){return rj(this,18,a)};g.getOpenDescendantIssueCount=function(){return qi(this,19)};g.setOpenDescendantIssueCount=function(a){return rj(this,19,a)};
g.getIsArchived=function(){return Xi(this,11)};g.setIsArchived=function(a){return Mh(this,11,a)};g.getRelatedLinksList=function(){return gi(this,J1b,12,hi())};g.getTrackerId=function(){return $t(this,13)};g.getTrackerId_asLegacyNumberOrString=function(){return $t(this,13)};g.getTrackerId_asString=function(){return fj(this,13)};g.setTrackerId=function(a){yj(this,13,a)};g.getStatusUpdate=function(){return $i(this,jE,14)};g.setStatusUpdate=function(a){li(this,jE,14,a)};
g.hasStatusUpdate=function(){return ji(this,jE,14)};g.getVersion=function(){return qi(this,20)};g.setVersion=function(a){return rj(this,20,a)};g.getVersionOrUndefined=function(){return du(this,20)};g.getUserActivityStats=function(){return $i(this,Ul,21)};g.setUserActivityStats=function(a){li(this,Ul,21,a)};g.hasUserActivityStats=function(){return ji(this,Ul,21)};g.getIt=function(){return $i(this,Rl,23)};g.setIt=function(a){return li(this,Rl,23,a)};g.hasIt=function(){return ji(this,Rl,23)};
Ql.repeatedFields_=[8,15,6,12];var Pl=function(a){this.internalArray_=m(a,0,Pl.messageId)};X(Pl,n);g=Pl.prototype;g.getIssueId=function(){return $t(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};g.getIssueId_asString=function(){return fj(this,1)};g.setIssueId=function(a){return yj(this,1,a)};g.getPosition=function(){return qi(this,2)};g.setPosition=function(a){return rj(this,2,a)};g.getIssue=function(){return $i(this,Ql,3)};g.setIssue=function(a){return li(this,Ql,3,a)};Pl.messageId="b.HotlistIssue";var Zl=function(a){this.internalArray_=m(a)};X(Zl,n);Zl.prototype.getIt=function(){return $i(this,am,6)};Zl.prototype.setIt=function(a){return li(this,am,6,a)};Zl.prototype.hasIt=function(){return ji(this,am,6)};var nxa=function(a){this.internalArray_=m(a)};X(nxa,n);g=nxa.prototype;g.getIssueId=function(){return $t(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};g.getIssueId_asString=function(){return fj(this,1)};g.setIssueId=function(a){return yj(this,1,a)};g.setActionsList=function(a){gl(this,2,a)};g.getAttachmentsList=function(){return Hb(this,3,Bb(this.internalArray_)&34?Oca:Pca,hi())};g.setAttachmentsList=function(a){return Lb(this,3,a,Vca)};
g.addAllAttachments=function(a){var b=this.internalArray_,c=Oa(b);bb(Bb(this.internalArray_));b=Lca(b,c,3,!1);c=Oa(b);c=!!(4&c)&&!!(4096&c);if(Array.isArray(a))for(var d=0;d<a.length;d++)b.push(Vca(a[d],c));else for(a=l(a),d=a.next();!d.done;d=a.next())b.push(Vca(d.value,c))};g.getAttachments=function(){var a=Hb(this,3,Bb(this.internalArray_)&34?Oca:Pca,3,void 0,!0);db(a);return a[void 0]};g.setSignificanceOverride=function(a){return Lh(this,4,a)};nxa.repeatedFields_=[2,3,5];var M1b=function(a){this.internalArray_=m(a)};X(M1b,n);g=M1b.prototype;g.getCount=function(){return qi(this,2)};g.setCount=function(a){return rj(this,2,a)};g.setS=function(a){Lh(this,3,a)};g.setP=function(a){return rj(this,4,a)};g.getNextPageToken=function(){return Zi(this,5)};g.setTrackerIdsList=function(a){Lb(this,6,a,ob)};M1b.repeatedFields_=[6];var hxa=function(a){this.internalArray_=m(a)};X(hxa,n);g=hxa.prototype;g.getIssueId=function(){return $t(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};g.getIssueId_asString=function(){return fj(this,1)};g.setIssueId=function(a){return yj(this,1,a)};g.getComponentId=function(){return $t(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return $t(this,2)};g.getComponentId_asString=function(){return fj(this,2)};g.setComponentId=function(a){return yj(this,2,a)};
g.hasComponentId=function(){return null!=ej(this,2)};var dm=function(a){this.internalArray_=m(a,0,dm.messageId)};X(dm,n);dm.prototype.getQuery=function(){return Zi(this,1)};dm.prototype.setQuery=function(a){return Lh(this,1,a)};dm.prototype.clearQuery=function(){lk(this,1)};dm.prototype.hasQuery=function(){return Pi(this,1)};dm.messageId="b.ListRecentEventsForIssuesRequest";var em=function(a){this.internalArray_=m(a)};X(em,n);em.prototype.getContent=function(){return $i(this,Ej,1)};em.prototype.setContent=function(a){return li(this,Ej,1,a)};em.prototype.hasContent=function(){return ji(this,Ej,1)};var kE=function(a){this.internalArray_=m(a,0,kE.messageId)};X(kE,n);kE.prototype.getStatus=function(){return cj(this,1,0)};kE.prototype.setStatus=function(a){return tj(this,1,a)};kE.prototype.hasStatus=function(){return aj(this,1)};kE.messageId="b.LlmSummarizeResponse";var lE=function(a){this.internalArray_=m(a,0,lE.messageId)};X(lE,n);lE.prototype.getIssueId=function(){return $t(this,1)};lE.prototype.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};lE.prototype.getIssueId_asString=function(){return fj(this,1)};lE.prototype.setIssueId=function(a){return yj(this,1,a)};lE.repeatedFields_=[2];lE.messageId="b.MarkAsVulnerabilityRequest";var fxa=function(a){this.internalArray_=m(a)};X(fxa,n);g=fxa.prototype;g.getIssueId=function(){return $t(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};g.getIssueId_asString=function(){return fj(this,1)};g.setIssueId=function(a){return yj(this,1,a)};g.getComponentId=function(){return $t(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return $t(this,2)};g.getComponentId_asString=function(){return fj(this,2)};g.setComponentId=function(a){return yj(this,2,a)};
g.hasComponentId=function(){return null!=ej(this,2)};var uxa=function(a){this.internalArray_=m(a)};X(uxa,n);g=uxa.prototype;g.getIssueId=function(){return $t(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};g.getIssueId_asString=function(){return fj(this,1)};g.setIssueId=function(a){return yj(this,1,a)};g.getRelation=function(){return cj(this,3,0)};g.setRelation=function(a){tj(this,3,a)};g.setActionType=function(a){tj(this,4,a)};uxa.repeatedFields_=[2];var Nl=function(a){this.internalArray_=m(a,0,Nl.messageId)};X(Nl,n);Nl.prototype.getIssueId=function(){return $t(this,1)};Nl.prototype.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};Nl.prototype.getIssueId_asString=function(){return fj(this,1)};Nl.prototype.setIssueId=function(a){return yj(this,1,a)};Nl.messageId="b.UnCcUserActionRequest";var mE=function(a){this.internalArray_=m(a,0,mE.messageId)};X(mE,n);mE.prototype.getIssueId=function(){return $t(this,1)};mE.prototype.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};mE.prototype.getIssueId_asString=function(){return fj(this,1)};mE.prototype.setIssueId=function(a){return yj(this,1,a)};mE.messageId="b.UndeleteIssueRequest";var nE=function(a){this.internalArray_=m(a,0,nE.messageId)};X(nE,n);g=nE.prototype;g.getIssueId=function(){return $t(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};g.getIssueId_asString=function(){return fj(this,1)};g.setIssueId=function(a){return yj(this,1,a)};g.getIssueAccessLimit=function(){return $i(this,rk,2)};g.setIssueAccessLimit=function(a){li(this,rk,2,a)};g.setAddedCollaboratorsList=function(a){gl(this,3,a)};
g.setRemovedCollaboratorsList=function(a){gl(this,4,a)};g.getIt=function(){return $i(this,bE,5)};g.setIt=function(a){return li(this,bE,5,a)};g.hasIt=function(){return ji(this,bE,5)};nE.repeatedFields_=[3,4];nE.messageId="b.UpdateIssueAccessLimitRequest";var pxa=function(a){this.internalArray_=m(a)};X(pxa,n);pxa.prototype.setSignificanceOverride=function(a){return tj(this,4,a)};pxa.repeatedFields_=[1,2];var xxa=function(a){this.internalArray_=m(a)};X(xxa,n);g=xxa.prototype;g.getIssueId=function(){return $t(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};g.getIssueId_asString=function(){return fj(this,1)};g.setIssueId=function(a){return yj(this,1,a)};g.getRetention=function(){return cj(this,2,0)};g.setRetention=function(a){tj(this,2,a)};g.setSignificanceOverride=function(a){return tj(this,3,a)};var bxa=pi("enableLeanFeE"),qxa=pi("enableLeanFeG");var Ixa=function(a){this.internalArray_=m(a)};X(Ixa,n);g=Ixa.prototype;g.setActionsList=function(a){gl(this,1,a)};g.getIssueIdsList=function(){return Ij(this,2,hi())};g.getIssueIdsList_asLegacyNumberOrString=function(){return Ij(this,2,hi())};g.setIssueIdsList=function(a){return Lb(this,2,a,ob)};g.addIssueIds=function(a){Nb(this,2,ob,a)};Ixa.repeatedFields_=[1,2];var N1b=function(a){this.internalArray_=m(a)};X(N1b,n);N1b.prototype.setSignificanceOverride=function(a){return Lh(this,3,a)};N1b.repeatedFields_=[4];var Fxa=pi("enableLeanFeG");var mm=function(a){this.internalArray_=m(a)};X(mm,n);g=mm.prototype;g.getIssueId=function(){return kj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return kj(this,1)};g.getIssueId_asString=function(){return au(this,1)};g.setIssueId=function(a){return Qj(this,1,a)};g.setMaxResults=function(a){return Zj(this,5,a)};var lm=function(a){this.internalArray_=m(a,0,lm.messageId)};X(lm,n);lm.prototype.getIt=function(){return $i(this,mm,1)};lm.prototype.setIt=function(a){return li(this,mm,1,a)};lm.prototype.hasIt=function(){return ji(this,mm,1)};lm.messageId="b.LookupSimilarIssuesRequest";var oE=function(a){this.internalArray_=m(a,0,oE.messageId)};X(oE,n);oE.repeatedFields_=[1];oE.messageId="b.LookupSimilarIssuesResponse";var pE=function(a){this.executor=a},qE=function(a,b){return a.executor.post({url:"action/lookup_similar_issues",body:Sxa(b),responseConstructor:oE}).pipe(B(function(c){return gi(c,Ql,1,hi()).map(function(d){return fm(d)})}))};pE.\u0275fac=function(a){return new (a||pE)(p(QD))};pE.\u0275prov=vc({token:pE,factory:pE.\u0275fac,providedIn:"root"});var nt=function(){this.session=Nj();this.tracker=this.session.tracker||void 0};g=nt.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 rE=function(a){return"PARTNER"===a.getFrontendAccessMode()},sE=function(a){return"PUBLIC"===a.getFrontendAccessMode()};nt.prototype.isNonPublicSession=function(){return"PUBLIC"!==this.getFrontendAccessMode()};var tE=function(a,b){return!!a.session.config.enabledFlags.get(b)};g=nt.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 Xta(this.session)};
g.getAppBaseUrl=function(a){return(void 0===a?0:a)||!this.isInternalSession()?Oj(this.session)?"https://issuetracker.google.com/":"https://issuetracker.sandbox.google.com/":Oj(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.getMaxAccurateSearchResults=function(){return this.session.config.maxAccurateSearchResults};g.getAnalyticsId=function(){return this.session.config.analyticsId};g.getUserPreferences=function(){return this.session.userPreferences};g.getXsrfToken=function(){return this.session.xsrfToken};g.getOnePickSecretToken=function(){return this.session.config.onePickSecretToken};
g.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"};nt.\u0275fac=function(a){return new (a||nt)};
nt.\u0275prov=vc({token:nt,factory:nt.\u0275fac,providedIn:"root"});var uE=new Xc("buganizerWindow",{factory:function(){return window}});var Y=function(){this.destroyed$=new W.ReplaySubject(1);this.subscriptions=new W.Subscription};Y.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};Y.\u0275fac=function(a){return new (a||Y)};Y.\u0275dir=Qc({type:Y});var vE=function(a,b){Y.call(this);this.$window=a;this.activeSession=b;a=W.BehaviorSubject;var c;b=null!=(c=this.$window.sessionStorage.getItem("buganizer.current_tracker_id"))?c:"";this.trackerId$=new a(b);(c=(c=this.activeSession.getTracker())?c.trackerId:void 0)&&this.setTrackerId(c)};X(vE,Y);vE.\u0275dir=Y.\u0275dir;vE.prototype.setTrackerId=function(a){this.trackerId$.next(a);this.$window.sessionStorage.setItem("buganizer.current_tracker_id",a)};vE.prototype.getTrackerId=function(){return this.trackerId$.value};
vE.\u0275fac=function(a){return new (a||vE)(p(uE),p(nt))};vE.\u0275prov=vc({token:vE,factory:vE.\u0275fac,providedIn:"root"});var wE=function(a){this.internalArray_=m(a,0,wE.messageId)};X(wE,n);g=wE.prototype;g.getFormattingMode=function(){return cj(this,1,0)};g.setFormattingMode=function(a){return tj(this,1,a)};g.getSource=function(){return Zi(this,2)};g.setSource=function(a){return Lh(this,2,a)};g.hasSource=function(){return Pi(this,2)};g.getSourceOrUndefined=function(){return fu(this,2)};g.getIssueId=function(){return kj(this,3)};g.getIssueId_asLegacyNumberOrString=function(){return kj(this,3)};
g.getIssueId_asString=function(){return au(this,3)};g.setIssueId=function(a){return zj(this,3,a)};g.getIdPrefix=function(){return Zi(this,4)};g.setIdPrefix=function(a){return Lh(this,4,a)};g.setCurrentTrackerId=function(a){yj(this,7,a)};wE.messageId="b.FormatCommentRequest";var xE=function(a){this.internalArray_=m(a)};X(xE,n);xE.prototype.getFormattedComment=function(){return $i(this,el,1)};xE.prototype.hasFormattedComment=function(){return ji(this,el,1)};xE.prototype.getMentionsList=function(){return gi(this,cE,2,hi())};xE.repeatedFields_=[2];var yE=function(a){this.internalArray_=m(a,0,yE.messageId)};X(yE,n);yE.prototype.getIt=function(){return $i(this,xE,3)};yE.prototype.setIt=function(a){return li(this,xE,3,a)};yE.prototype.hasIt=function(){return ji(this,xE,3)};yE.messageId="b.FormatCommentResponse";var zE=function(a,b){this.executor=a;this.currentTrackerId=b};zE.prototype.format=function(a){return"LITERAL"===a.formattingMode||""===a.comment.trim()?Txa(a):O1b(this,a).pipe(B(Rwa))};var O1b=function(a,b){var c,d=(new wE).setSource(b.comment).setIssueId(null!=(c=xi(b.issueId))?c:0);b=tj(d,6,k1b[b.audience]).setFormattingMode(bl(b.formattingMode)).setIdPrefix(b.idPrefix);(c=a.currentTrackerId.getTrackerId())&&b.setCurrentTrackerId(c);return a.executor.post({url:"action/formatComment",body:b,responseConstructor:yE})};
zE.\u0275fac=function(a){return new (a||zE)(p(QD),p(vE))};zE.\u0275prov=vc({token:zE,factory:zE.\u0275fac,providedIn:"root"});var AE=function(a){this.executor=a},P1b=function(a,b){return a.executor.post({url:"action/current_user/preferences",responseConstructor:oi,body:Cta(b)}).pipe(B(function(c){return kta(c)}))};AE.\u0275fac=function(a){return new (a||AE)(p(QD))};AE.\u0275prov=vc({token:AE,factory:AE.\u0275fac,providedIn:"root"});var BE=function(a){this.userPreferencesManagerBase=a;this.destroyed$=new W.ReplaySubject(1);this.preferencesSubject$=this.userPreferencesManagerBase.preferences$;this.preferences$=this.preferencesSubject$.pipe(B(Uh));this.textDisplayPreferences$=this.preferences$.pipe(B(function(b){return b.textDisplayPreferences||{}}));this.textDisplayPreferencesSubject$=nm(this.textDisplayPreferences$.pipe(ef(this.destroyed$)),{});this.lastPublishMode$=this.textDisplayPreferences$.pipe(B(function(b){return b.lastPublishMode}),
Te());this.lastPublishModeProto$=this.lastPublishMode$.pipe(B(Qi));this.themePreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.themePreferences)?c:Uh(YD.themePreferences)}),pm());this.listViewPreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.listViewPreferences)?c:Uh(YD.listViewPreferences)}),pm());this.layoutPreferences$=this.preferences$.pipe(B(this.getLayoutPreferences),pm());this.dateTimePreferences$=this.preferences$.pipe(B(function(b){var c;return null!=
(c=b.dateTimePreferences)?c:Uh(YD.dateTimePreferences)}),pm());this.homepagePreferences$=this.preferences$.pipe(B(this.getHomepagePreferences),pm());this.keyboardPrefs$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.keyboardPreferences)?c:Uh(YD.keyboardPreferences)}),pm());this.displayColumnsPreferences$=this.preferences$.pipe(B(function(b){var c,d;return null!=(d=null==(c=b.displayColumns)?void 0:c.column)?d:[]}),pm());this.sortColumnsPreferences$=this.preferences$.pipe(B(function(b){var c,
d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}),pm());this.needsAttentionPreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.needsAttentionPreferences)?c:Uh(YD.needsAttentionPreferences)}),pm());this.bugScreensaverPreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.bugScreensaverPreferences)?c:Uh(YD.bugScreensaverPreferences)}),pm());this.bugScreensaverSubject$=nm(this.bugScreensaverPreferences$.pipe(ef(this.destroyed$)),YD.bugScreensaverPreferences);
this.g3nPreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.g3nPreferences)?c:Uh(YD.g3nPreferences)}),pm());nm(this.g3nPreferences$.pipe(ef(this.destroyed$)),YD.g3nPreferences);this.teamWarningPreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.teamWarningPreferences)?c:Uh(YD.teamWarningPreferences)}),pm());this.teamWarningPreferencesSubject$=nm(this.teamWarningPreferences$.pipe(ef(this.destroyed$)),YD.teamWarningPreferences);this.commentFilterPreferences$=
this.preferences$.pipe(B(function(b){var c;return null!=(c=b.commentFilterPreferences)?c:Uh(YD.commentFilterPreferences)}),pm());nm(this.commentFilterPreferences$.pipe(ef(this.destroyed$)),YD.commentFilterPreferences);this.codeFont$=this.preferences$.pipe(B(function(b){return!!b.useCodefont}),Te());this.autoCcOnComment$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.autoCcOnComment)?c:!1}),Te());this.showFullHistory$=this.preferences$.pipe(B(function(b){return!!b.showFullHistory}),Te());
this.showRecentEventsFirst$=this.preferences$.pipe(B(function(b){return!!b.showRecentEventsFirst}),Te());this.showInlineImages$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.showInlineImages)?c:YD.showInlineImages}),Te())};BE.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};BE.prototype.save=function(a){return this.userPreferencesManagerBase.save(a)};
var Q1b=function(a,b){b=Object.assign({},a.getLayoutPreferences(a.preferencesSubject$.value),b);return a.save({layoutPreferences:b}).pipe(B(a.getLayoutPreferences))},R1b=function(a,b){return a.save({homepagePreferences:b}).pipe(B(a.getHomepagePreferences))};BE.prototype.getDateTimePreferences=function(){var a;return null!=(a=(void 0).dateTimePreferences)?a:Uh(YD.dateTimePreferences)};
var S1b=function(a,b){b=Object.assign({},a.preferencesSubject$.value.collapsed,b);return a.save({collapsed:b})},T1b=function(a,b){var c;return null==(c=a.preferencesSubject$.value.collapsed)?void 0:c[b]},U1b=function(a,b){return a.save({displayColumns:{column:b}}).pipe(B(function(c){var d,e;return null!=(e=null==(d=c.displayColumns)?void 0:d.column)?e:[]}))};
BE.prototype.saveSortColumns=function(a){return this.save({sortColumns:{column:a}}).pipe(B(function(b){var c,d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}))};var V1b=function(a,b){return a.save({teamWarningPreferences:b}).pipe(B(function(c){var d;return null!=(d=c.teamWarningPreferences)?d:Uh(YD.teamWarningPreferences)}))};BE.prototype.getLayoutPreferences=function(a){var b;return null!=(b=a.layoutPreferences)?b:Uh(YD.layoutPreferences)};
BE.prototype.getHomepagePreferences=function(a){var b;return null!=(b=a.homepagePreferences)?b:Uh(YD.homepagePreferences)};var CE=function(a){return Uh(a.preferencesSubject$.getValue())};BE.\u0275fac=function(a){return new (a||BE)(p(DE))};BE.\u0275prov=vc({token:BE,factory:BE.\u0275fac,providedIn:"root"});
var DE=function(a,b){this.activeSession=a;this.userPreferencesResources=b;this.preferences$=new W.BehaviorSubject(Uh(YD));a=this.preferences$.value;if(b=this.activeSession.getUserPreferences())a=Object.assign({},a,b),W1b(a);this.preferences$.next(a)};DE.prototype.save=function(a){var b=this;return this.activeSession.isAnonymous()?(0,W.of)(X1b(this,a)):P1b(this.userPreferencesResources,a).pipe(B(function(){return X1b(b,a)}))};
var X1b=function(a,b){var c=Uh(a.preferences$.value);c=Object.assign({},c,b);W1b(c);a.preferences$.next(c);return c},W1b=function(a){a.dateTimePreferences&&(a.dateTimePreferences.calendarFormat||(a.dateTimePreferences.calendarFormat=YD.dateTimePreferences.calendarFormat),a.dateTimePreferences.timeFormat||(a.dateTimePreferences.timeFormat=YD.dateTimePreferences.timeFormat),a.dateTimePreferences.sloEtaViewAs||(a.dateTimePreferences.sloEtaViewAs=YD.dateTimePreferences.sloEtaViewAs));!a.notificationPreferences||
a.notificationPreferences.collaboratorPriority&&"UNKNOWN_PRIORITY"!==a.notificationPreferences.collaboratorPriority||(a.notificationPreferences.collaboratorPriority=YD.notificationPreferences.collaboratorPriority)};DE.\u0275fac=function(a){return new (a||DE)(p(nt),p(AE))};DE.\u0275prov=vc({token:DE,factory:DE.\u0275fac,providedIn:"root"});var EE=function(a){this.codefont$=a.codeFont$};EE.\u0275fac=function(a){return new (a||EE)(p(BE))};EE.\u0275prov=vc({token:EE,factory:EE.\u0275fac,providedIn:"root"});var Y1b=["child"],FE=function(a){this.codefont=a};FE.prototype.ngOnInit=function(){};FE.prototype.ngOnChanges=function(){Vxa(this.child.nativeElement,this.content.content)};FE.\u0275fac=function(a){return new (a||FE)(A(EE))};
FE.\u0275cmp=Lc({type:FE,selectors:[["b-literal-format-presenter"]],viewQuery:function(a,b){a&1&&Uf(Y1b,7);if(a&2){var c;Yf(c=Zf())&&(b.child=c.first)}},inputs:{content:"content"},features:[ed],decls:3,vars:4,consts:[[1,"type-m","child"],["child",""]],template:function(a,b){a&1&&(E(0,"div",0,1),T(2,"async"),G());a&2&&yf("codefont",V(2,2,b.codefont.codefont$))},dependencies:[mw],styles:[".child[_ngcontent-%COMP%] { white-space: pre-wrap; }"],changeDetection:0});var GE=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new zv;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))}};GE.prototype.ngOnInit=function(){document.addEventListener(this.eventType,this.clickHandler,!0)};
GE.prototype.ngOnDestroy=function(){document.removeEventListener(this.eventType,this.clickHandler,!0)};GE.\u0275fac=function(a){return new (a||GE)(A(Ad))};GE.\u0275dir=Qc({type:GE,selectors:[["","clickOutside",""]],inputs:{eventType:[0,"clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var HE=function(){};HE.\u0275fac=function(a){return new (a||HE)};HE.\u0275mod=Nc({type:HE});HE.\u0275inj=wc({});var IE=function(a){this.window=a};IE.prototype.openInNewTab=function(a){a=dh(a);Vra(this.window,a,"_blank")};var rm=function(a,b){b=dh(b);Vra(a.window,b)},JE=function(a,b){a=a.window.location;b=dh(b);b=ypa(b);void 0!==b&&(a.href=b)};IE.\u0275fac=function(a){return new (a||IE)(p(uE))};IE.\u0275prov=vc({token:IE,factory:IE.\u0275fac,providedIn:"root"});var KE=function(){};KE.\u0275fac=function(a){return new (a||KE)};KE.\u0275cmp=Lc({type:KE,selectors:[["b-glue"]],ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"no-wrapping"]],template:function(a){a&1&&(Lf(),E(0,"span",0),Mf(1),G())},styles:['.no-wrapping[_ngcontent-%COMP%] {\n  white-space: nowrap;\n}\n\n.no-wrapping[_ngcontent-%COMP%]::after {\n  content: "\\002060"\n}'],changeDetection:0});var Z1b=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)};Z1b.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};
Z1b.prototype.destroy=function(){var a=this._textarea;a&&(a.remove(),this._textarea=void 0)};var LE=function(a){this._document=a};LE.prototype.copy=function(a){a=new Z1b(a,this._document);var b=a.copy();a.destroy();return b};LE.\u0275fac=function(a){return new (a||LE)(p(Tg))};LE.\u0275prov=vc({token:LE,factory:LE.\u0275fac,providedIn:"root"});new Xc("CDK_COPY_TO_CLIPBOARD_CONFIG");var $1b=new Xc("MatSnackBarData"),a2b=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var b2b=new Xc("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new a2b}});Wg(Yg(Xg(function(a){this._elementRef=a})));[].concat(r(["disabled","disableRipple","color","tabIndex"]),["extended"]);var c2b=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var d2b=Math.pow(2,31)-1,ME=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new W.Subject;this._afterOpened=new W.Subject;this._onAction=new W.Subject;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};ME.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit();clearTimeout(this._durationTimeoutId)};
var RAa=function(a){a._onAction.closed||(a._dismissedByAction=!0,a._onAction.next(),a._onAction.complete(),a.dismiss());clearTimeout(a._durationTimeoutId)};g=ME.prototype;g._dismissAfter=function(a){var b=this;this._durationTimeoutId=setTimeout(function(){return b.dismiss()},Math.min(a,d2b))};g._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())};
g._finishDismiss=function(){this._overlayRef.dispose();this._onAction.closed||this._onAction.complete();this._afterDismissed.next({dismissedByAction:this._dismissedByAction});this._afterDismissed.complete();this._dismissedByAction=!1};g.afterOpened=function(){return this.containerInstance._onEnter};g.onAction=function(){return this._onAction};var e2b=mh("state",[ph("void, hidden",oh({transform:"scale(0.8)",opacity:0})),ph("visible",oh({transform:"scale(1)",opacity:1})),rh("* => visible",nh("150ms cubic-bezier(0, 0, 0.2, 1)")),rh("* => void, * => hidden",nh("75ms cubic-bezier(0.4, 0.0, 1, 1)",oh({opacity:0})))]);var f2b=0,NE=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=Gc(Tg);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new W.Subject;this._onExit=new W.Subject;this._onEnter=new W.Subject;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+f2b++;this._live="assertive"!==e.politeness||e.announcementMessage?"off"===e.politeness?"off":
"polite":"assertive";this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))};X(NE,Vx);NE.prototype.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._afterPortalAttached();return a};NE.prototype.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._afterPortalAttached();return a};
var g2b=function(a,b){var c=b.fromState;b=b.toState;("void"===b&&"void"!==c||"hidden"===b)&&a._completeExit();if("visible"===b){var d=a._onEnter;a._ngZone.run(function(){d.next();d.complete()})}};g=NE.prototype;g.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())};g.exit=function(){var a=this;this._ngZone.run(function(){a._animationState="hidden";a._elementRef.nativeElement.setAttribute("mat-exit","");clearTimeout(a._announceTimeoutId)})};
g.ngOnDestroy=function(){this._destroyed=!0;this._clearFromModals();this._completeExit()};g._completeExit=function(){var a=this;this._ngZone.onMicrotaskEmpty.pipe(Ue()).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)})};NE.\u0275fac=function(a){return new (a||NE)(A(Ge),A(Ad),A(Uu),A(fx),A(c2b))};NE.\u0275dir=Qc({type:NE,viewQuery:function(a,b){a&1&&Uf(Yx,7);if(a&2){var c;Yf(c=Zf())&&(b._portalOutlet=c.first)}},features:[nf]});var OE=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=OE.prototype;g.open=function(a,b,c){b=void 0===b?"":b;var d=Object.assign({},this._defaultConfig,c);d.data={message:a,action:b};d.announcementMessage===a&&(d.announcementMessage=void 0);return this._attach(this.simpleSnackBarComponent,d)};g.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()};
g.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()};g._attachSnackBarContainer=function(a,b){var c=og({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:c2b,useValue:b}]});a=a.attach(new Tx(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
g._attach=function(a,b){var c=this,d=Object.assign({},new c2b,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var f=new ME(b,e);if(a instanceof Rf)f.instance=b.attachTemplatePortal(new Ux(a,null,{$implicit:d.data,snackBarRef:f}));else{var h=this._createInjector(d,f);a=b.attachComponentPortal(new Tx(a,void 0,h));f.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(ef(e._detachments)).subscribe(function(k){e.overlayElement.classList.toggle(c.handsetCssClass,
k.matches)});d.announcementMessage&&b._onAnnounce.subscribe(function(){c._live.announce(d.announcementMessage,d.politeness)});this._animateSnackBar(f,d);return this._openedSnackBarRef=f};
g._animateSnackBar=function(a,b){var c=this;a._afterDismissed.subscribe(function(){c._openedSnackBarRef==a&&(c._openedSnackBarRef=null);b.announcementMessage&&c._live.clear()});this._openedSnackBarRef?(this._openedSnackBarRef._afterDismissed.subscribe(function(){a.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):a.containerInstance.enter();b.duration&&0<b.duration&&a.afterOpened().subscribe(function(){return a._dismissAfter(b.duration)})};
g._createOverlay=function(a){var b=new sy;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"):yy(c);"top"===a.verticalPosition?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
g._createInjector=function(a,b){return og({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:ME,useValue:b},{provide:$1b,useValue:a.data}]})};Vg.Object.defineProperties(OE.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}}});
OE.\u0275fac=function(a){return new (a||OE)(p(Cy),p(Ax),p(He),p(ux),p(OE,12),p(b2b))};OE.\u0275prov=vc({token:OE,factory:OE.\u0275fac});var PE=function(a,b){this.snackBarRef=a;this.data=b};PE.prototype.action=function(){RAa(this.snackBarRef)};Vg.Object.defineProperties(PE.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});PE.\u0275fac=function(a){return new (a||PE)(A(ME),A($1b))};
PE.\u0275cmp=Lc({type:PE,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],hostVars:1,hostBindings:function(a){a&2&&pf("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&&(E(0,"span",0),R(1),G(),C(2,Yxa,3,1,"div",1));a&2&&(y(),$f(b.data.message),y(),D("ngIf",b.hasAction))},dependencies:[dw,nA],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}\n"],
encapsulation:2,changeDetection:0});var QE=function(){NE.apply(this,arguments)};X(QE,NE);QE.\u0275dir=NE.\u0275dir;QE.prototype._afterPortalAttached=function(){NE.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")};QE.\u0275fac=function(){var a;return function(b){return(a||(a=zd(QE)))(b||QE)}}();
QE.\u0275cmp=Lc({type:QE,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(a,b){a&1&&Kf("@state.done",function(c){return g2b(b,c)});a&2&&(pf("mat-id-collision",null),If("@state",b._animationState))},features:[nf],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(E(0,"div",0),C(1,Zxa,0,0,"ng-template",1),G(),I(2,"div"));a&2&&(y(2),pf("aria-live",b._live)("role",b._role)("id",b._liveElementId))},
dependencies:[Yx],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:[e2b]}});var RE=function(){};RE.\u0275fac=function(a){return new (a||RE)};RE.\u0275mod=Nc({type:RE});RE.\u0275inj=wc({imports:[Fy,Zx,uw,$C,Gy,Gy]});var SE=function(a,b,c,d,e,f){OE.call(this,a,b,c,d,e,f);this.simpleSnackBarComponent=PE;this.snackBarContainerComponent=QE;this.handsetCssClass="mat-snack-bar-handset"};X(SE,OE);SE.\u0275fac=function(a){return new (a||SE)(p(Cy),p(Ax),p(He),p(ux),p(SE,12),p(b2b))};SE.\u0275prov=vc({token:SE,factory:SE.\u0275fac,providedIn:RE});var h2b=["el"],TE=function(a,b,c){this.clipboard=a;this.snackBar=b;this.domSafe=c;this.opened=!1};TE.prototype.getNgContentParentEl=function(){return this.el.nativeElement};TE.prototype.hide=function(){this.opened=!1};TE.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};TE.\u0275fac=function(a){return new (a||TE)(A(LE),A(SE),A(IE))};
TE.\u0275cmp=Lc({type:TE,selectors:[["b-broken-link"]],viewQuery:function(a,b){a&1&&Uf(h2b,7);if(a&2){var c;Yf(c=Zf())&&(b.el=c.first)}},inputs:{originalHref:"originalHref"},ngContentSelectors:["*"],decls:8,vars:3,consts:[["cdkOverlayOrigin","","aria-haspopup","true",1,"broken",3,"click"],["trigger","cdkOverlayOrigin"],["svgIcon","link-off",1,"broken","icon-s"],["el",""],["cdkConnectedOverlay","","cdkConnectedOverlayPanelClass","tooltip-panel",3,"cdkConnectedOverlayPush","cdkConnectedOverlayOrigin",
"cdkConnectedOverlayOpen"],[1,"b-bubble","flex-kids-y",3,"clickOutside"],[1,"flex-kids-x"],["mat-button","","matTooltip","Copy to clipboard","aria-label","Copy URL to clipboard",1,"tiny",3,"click"],["svgIcon","copy"],[3,"href","click"]],template:function(a,b){a&1&&(Lf(),E(0,"a",0,1),M("click",function(d){d.preventDefault();d.stopPropagation();b.opened=!b.opened}),E(2,"b-glue"),I(3,"mat-icon",2),G(),E(4,"span",null,3),Mf(6),G()(),C(7,$xa,11,3,"ng-template",4));if(a&2){var c=Q(1);y(7);D("cdkConnectedOverlayPush",
!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[hB,Ey,Dy,GE,KE,nA,PC],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 i2b=new Xc("mat-checkbox-default-options",{providedIn:"root",factory:aya});var j2b=["input"],k2b=["label"],l2b=0,m2b={color:"accent",clickAction:"check-indeterminate"},n2b=Doa(Wg(Xg(Yg(function(a){this._elementRef=a})))),UE=function(a,b,c,d,e,f,h){b=n2b.call(this,b)||this;b._changeDetectorRef=c;b._ngZone=d;b._animationMode=f;b._options=h;b.ariaLabel="";b.ariaLabelledby=null;b.labelPosition="after";b.name=null;b.change=new zv;b.indeterminateChange=new zv;b._onTouched=function(){};b._currentAnimationClass="";b._currentCheckState=0;b._controlValueAccessorChangeFn=function(){};
b._checked=!1;b._disabled=!1;b._indeterminate=!1;b._options=b._options||m2b;b.color=b.defaultColor=b._options.color||m2b.color;b.tabIndex=parseInt(e)||0;b.id=b._uniqueId=a+ ++l2b;return b};X(UE,n2b);g=UE.prototype;g.ngAfterViewInit=function(){this._syncIndeterminate(this._indeterminate)};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};g._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};g.writeValue=function(a){this.checked=!!a};
g.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this.disabled=a};
g._transitionCheckState=function(a){var b=this._currentCheckState,c=this._elementRef.nativeElement;if(b!==a&&c&&(this._currentAnimationClass&&c.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(b,a),this._currentCheckState=a,0<this._currentAnimationClass.length)){c.classList.add(this._currentAnimationClass);var d=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){c.classList.remove(d)},
1E3)})}};g._emitChangeEvent=function(){this._controlValueAccessorChangeFn(this.checked);this.change.emit(this._createChangeEvent(this.checked));this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)};g.toggle=function(){this.checked=!this.checked;this._controlValueAccessorChangeFn(this.checked)};
g._handleInputClick=function(){var a=this,b,c=null==(b=this._options)?void 0:b.clickAction;this.disabled||"noop"===c?this.disabled||"noop"!==c||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==c&&Promise.resolve().then(function(){a._indeterminate=!1;a.indeterminateChange.emit(a._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())};
g._onInteractionEvent=function(a){a.stopPropagation()};g._onBlur=function(){var a=this;Promise.resolve().then(function(){a._onTouched();a._changeDetectorRef.markForCheck()})};
g._getAnimationClassForCheckStateTransition=function(a,b){if("NoopAnimations"===this._animationMode)return"";switch(a){case 0:if(1===b)return this._animationClasses.uncheckedToChecked;if(3==b)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===b?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===b?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;
case 3:return 1===b?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""};g._syncIndeterminate=function(a){var b=this._inputElement;b&&(b.nativeElement.indeterminate=a)};
Vg.Object.defineProperties(UE.prototype,{inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}},required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=Og(a)}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a=Og(a);a!=this.checked&&(this._checked=a,this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},
set:function(a){a=Og(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=Og(a);b&&(this._indeterminate?this._transitionCheckState(3):this._transitionCheckState(this.checked?1:2),this.indeterminateChange.emit(this._indeterminate));this._syncIndeterminate(this._indeterminate)}}});UE.\u0275fac=function(){Hd()};
UE.\u0275dir=Qc({type:UE,viewQuery:function(a,b){a&1&&(Uf(j2b,5),Uf(k2b,5),Uf(Sy,5));if(a&2){var c;Yf(c=Zf())&&(b._inputElement=c.first);Yf(c=Zf())&&(b._labelElement=c.first);Yf(c=Zf())&&(b.ripple=c.first)}},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},
outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[nf]});var VE=function(){};VE.\u0275fac=function(a){return new (a||VE)};VE.\u0275mod=Nc({type:VE});VE.\u0275inj=wc({});var o2b=function(a){return{enterDuration:a}},p2b=function(){},q2b={provide:fw,useExisting:Cc(function(){return WE}),multi:!0},WE=function(a,b,c,d,e,f,h){a=UE.call(this,"mat-checkbox-",a,b,d,e,f,h)||this;a._focusMonitor=c;a._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",
indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"};return a};X(WE,UE);WE.\u0275dir=UE.\u0275dir;g=WE.prototype;g._createChangeEvent=function(a){var b=new p2b;b.source=this;b.checked=a;return b};g._getAnimationTargetElement=function(){return this._elementRef.nativeElement};g.ngAfterViewInit=function(){var a=this;UE.prototype.ngAfterViewInit.call(this);this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b||a._onBlur()})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};
g._onInputClick=function(a){a.stopPropagation();UE.prototype._handleInputClick.call(this)};g.focus=function(a,b){a?qx(this._focusMonitor,this._inputElement,a,b):this._inputElement.nativeElement.focus(b)};WE.\u0275fac=function(a){return new (a||WE)(A(Ad),A(Uu),A(px),A(Ge),ud("tabindex"),A(Su,8),A(i2b,8))};
WE.\u0275cmp=Lc({type:WE,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:15,hostBindings:function(a,b){a&2&&(Hf("id",b.id),pf("tabindex",null)("aria-label",null)("aria-labelledby",null)("mat-id-collision",null),yf("mat-checkbox-indeterminate",b.indeterminate)("mat-checkbox-checked",b.checked)("mat-checkbox-disabled",b.disabled)("mat-checkbox-label-before","before"==b.labelPosition)("_mat-animation-noopable","NoopAnimations"===b._animationMode))},inputs:{disableRipple:"disableRipple",
color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[bg([q2b]),nf],ngContentSelectors:["*"],decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],
[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(a,b){a&1&&(Lf(),E(0,"label",0,1)(2,"span",2)(3,
"input",3,4),M("change",function(e){return b._onInteractionEvent(e)})("click",function(e){return b._onInputClick(e)}),G(),E(5,"span",5),I(6,"span",6),G(),I(7,"span",7),E(8,"span",8),qd(),E(9,"svg",9),I(10,"path",10),G(),rd(),I(11,"span",11),G()(),E(12,"span",12,13),M("cdkObserveContent",function(){return b._onLabelTextChange()}),E(14,"span",14),R(15,"\u00a0"),G(),Mf(16),G()());if(a&2){var c=Q(1),d=Q(13);pf("for",b.inputId);y(2);yf("mat-checkbox-inner-container-no-side-margin",!d.textContent||!d.textContent.trim());
y();D("id",b.inputId)("required",b.required)("checked",b.checked)("disabled",b.disabled)("tabIndex",b.tabIndex);pf("value",b.value)("name",b.name)("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby);y(2);D("matRippleTrigger",c)("matRippleDisabled",b._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",fg(18,o2b,"NoopAnimations"===b._animationMode?0:150))}},dependencies:[Sy,yx],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var XE=function(){this.checked=!1};XE.\u0275fac=function(a){return new (a||XE)};XE.\u0275cmp=Lc({type:XE,selectors:[["b-checkbox-widget"]],inputs:{checked:"checked"},decls:1,vars:2,consts:[["gmat-checkbox","",3,"disabled","checked"]],template:function(a,b){a&1&&I(0,"mat-checkbox",0);a&2&&D("disabled",!0)("checked",b.checked)},dependencies:[WE],encapsulation:2,changeDetection:0});var dya=new WeakMap;var um={},r2b={logInfo:function(){console.log(fya());console.log("\nDuplicate Requests:");console.table(eya())},getCounts:function(){return um},getDupes:eya,getAggregates:fya};var Gm=Symbol("oc"),YE=function(a){this.params=a||{}};YE.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this.params,a)};YE.prototype.get=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a[0]:a):null};YE.prototype.getAll=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a:[a]):[]};Vg.Object.defineProperties(YE.prototype,{keys:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.params)}}});var jya={exact:oya,subset:rya},kya={exact:mya,subset:pya,ignored:function(){return!0}},Am=function(a,b,c){a=void 0===a?new zm([],{}):a;b=void 0===b?{}:b;this.root=a;this.queryParams=b;this.fragment=void 0===c?null:c};Am.prototype.toString=function(){return s2b.serialize(this)};Vg.Object.defineProperties(Am.prototype,{queryParamMap:{configurable:!0,enumerable:!0,get:function(){null!=this._queryParamMap||(this._queryParamMap=new YE(this.queryParams));return this._queryParamMap}}});
var zm=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})};zm.prototype.hasChildren=function(){return 0<this.numberOfChildren};zm.prototype.toString=function(){return wya(this)};Vg.Object.defineProperties(zm.prototype,{numberOfChildren:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.children).length}}});var Em=function(a,b){this.path=a;this.parameters=b};
Em.prototype.toString=function(){return uya(this.path)+vya(this.parameters)};var ZE=function(){};ZE.\u0275fac=function(a){return new (a||ZE)};ZE.\u0275prov=vc({token:ZE,factory:function(){return new $E},providedIn:"root"});var $E=function(){};$E.prototype.parse=function(a){a=new t2b(a);aF(a,"/");var b=""===a.remaining||a.remaining.startsWith("?")||a.remaining.startsWith("#")?new zm([],{}):new zm([],u2b(a));return new Am(b,a.parseQueryParams(),aF(a,"#")?decodeURIComponent(a.remaining):null)};
$E.prototype.serialize=function(a){var b="/"+ym(a.root,!0),c=zya(a.queryParams);a="string"===typeof a.fragment?"#"+encodeURI(a.fragment):"";return b+c+a};var s2b=new $E,Aya=/^[^\/()?;#]+/,v2b=/^[^\/()?;=#]+/,w2b=/^[^=?&#]+/,x2b=/^[^&#]+/,t2b=function(a){this.remaining=this.url=a};
t2b.prototype.parseQueryParams=function(){var a={};if(aF(this,"?")){do{var b,c=this.remaining.match(w2b);if(b=c?c[0]:""){this.capture(b);c="";if(aF(this,"=")){var d;if(d=(d=this.remaining.match(x2b))?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(aF(this,"&"))}return a};
var u2b=function(a){if(""===a.remaining)return{};aF(a,"/");var b=[];for(a.remaining.startsWith("(")||b.push(y2b(a));a.remaining.startsWith("/")&&!a.remaining.startsWith("//")&&!a.remaining.startsWith("/(");)a.capture("/"),b.push(y2b(a));var c={};a.remaining.startsWith("/(")&&(a.capture("/"),c=z2b(a,!0));var d={};a.remaining.startsWith("(")&&(d=z2b(a,!1));if(0<b.length||0<Object.keys(c).length)d.primary=new zm(b,c);return d},y2b=function(a){var b=Bya(a.remaining);if(""===b&&a.remaining.startsWith(";"))throw new Ac(4009,
!1);a.capture(b);b=decodeURIComponent(b);for(var c={};aF(a,";");){var d,e=a;if(d=(d=e.remaining.match(v2b))?d[0]:""){e.capture(d);var f="";if(aF(e,"=")){var h=Bya(e.remaining);h&&(f=h,e.capture(f))}c[decodeURIComponent(d)]=decodeURIComponent(f)}}return new Em(b,c)},z2b=function(a,b){var c={};for(a.capture("(");!aF(a,")")&&0<a.remaining.length;){var d=Bya(a.remaining),e=a.remaining[d.length];if("/"!==e&&")"!==e&&";"!==e)throw new Ac(4010,!1);e=void 0;-1<d.indexOf(":")?(e=d.slice(0,d.indexOf(":")),
a.capture(e),a.capture(":")):b&&(e="primary");d=u2b(a);c[e]=1===Object.keys(d).length?d.primary:new zm([],d);aF(a,"//")}return c},aF=function(a,b){return a.remaining.startsWith(b)?(a.remaining=a.remaining.substring(b.length),!0):!1};t2b.prototype.capture=function(a){if(!aF(this,a))throw new Ac(4011,!1);};var Mya=function(a,b,c){this.isAbsolute=a;this.numberOfDoubleDots=b;this.commands=c;if(a&&0<c.length&&Iya(c[0]))throw new Ac(4003,!1);if((a=c.find(Dm))&&a!==(0<c.length?c[c.length-1]:null))throw new Ac(4004,!1);},Hya=function(a,b,c){this.segmentGroup=a;this.processChildren=b;this.index=c};var bF=function(a,b){this.id=a;this.url=b},Xm=function(a,b,c,d){c=void 0===c?"imperative":c;d=void 0===d?null:d;bF.call(this,a,b);this.type=0;this.navigationTrigger=c;this.restoredState=d};X(Xm,bF);Xm.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"};var Sm=function(a,b,c){bF.call(this,a,b);this.urlAfterRedirects=c;this.type=1};X(Sm,bF);
Sm.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"};var Tm=function(a,b,c,d){bF.call(this,a,b);this.reason=c;this.code=d;this.type=2};X(Tm,bF);Tm.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"};var Vm=function(a,b,c,d){bF.call(this,a,b);this.reason=c;this.code=d;this.type=16};X(Vm,bF);
var Um=function(a,b,c,d){bF.call(this,a,b);this.error=c;this.target=d;this.type=3};X(Um,bF);Um.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"};var cF=function(a,b,c,d){bF.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=4};X(cF,bF);cF.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var A2b=function(a,b,c,d){bF.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=7};X(A2b,bF);A2b.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var B2b=function(a,b,c,d,e){bF.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.shouldActivate=e;this.type=8};X(B2b,bF);
B2b.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"};var C2b=function(a,b,c,d){bF.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=5};X(C2b,bF);C2b.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var D2b=function(a,b,c,d){bF.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=6};X(D2b,bF);D2b.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var E2b=function(a){this.route=a;this.type=9};E2b.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"};var F2b=function(a){this.route=a;this.type=10};
F2b.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"};var oza=function(a){this.snapshot=a;this.type=11};oza.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var G2b=function(a){this.snapshot=a;this.type=12};G2b.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};
var pza=function(a){this.snapshot=a;this.type=13};pza.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var H2b=function(a){this.snapshot=a;this.type=14};H2b.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var I2b=function(a,b){this.position=a;this.anchor=b;this.type=15};
I2b.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"};var J2b=function(){},K2b=function(a){this.url=a};var L2b=function(){this.injector=this.route=this.outlet=null;this.children=new dF;this.attachRef=null},dF=function(){this.contexts=new Map},M2b=function(a,b){if(a=a.getContext(b))a.outlet=null,a.attachRef=null},N2b=function(a,b){var c=a.getContext(b);c||(c=new L2b,a.contexts.set(b,c));return c};dF.prototype.getContext=function(a){return this.contexts.get(a)||null};dF.\u0275fac=function(a){return new (a||dF)};dF.\u0275prov=vc({token:dF,factory:dF.\u0275fac,providedIn:"root"});var eF=function(a){this._root=a};eF.prototype.parent=function(a){a=this.pathFromRoot(a);return 1<a.length?a[a.length-2]:null};eF.prototype.children=function(a){return(a=Rya(a,this._root))?a.children.map(function(b){return b.value}):[]};eF.prototype.firstChild=function(a){return(a=Rya(a,this._root))&&0<a.children.length?a.children[0].value:null};eF.prototype.pathFromRoot=function(a){return Sya(a,this._root).map(function(b){return b.value})};
Vg.Object.defineProperties(eF.prototype,{root:{configurable:!0,enumerable:!0,get:function(){return this._root.value}}});var Hm=function(a,b){this.value=a;this.children=b};Hm.prototype.toString=function(){return"TreeNode("+this.value+")"};var O2b=function(a,b){this._root=a;this.snapshot=b;Uya(this,a)};X(O2b,eF);O2b.prototype.toString=function(){return this.snapshot.toString()};
var Im=function(a,b,c,d,e,f,h,k){this.urlSubject=a;this.paramsSubject=b;this.queryParamsSubject=c;this.fragmentSubject=d;this.dataSubject=e;this.outlet=f;this.component=h;this._futureSnapshot=k;var q,t;this.title=null!=(t=null==(q=this.dataSubject)?void 0:q.pipe(B(function(w){return w[Gm]})))?t:(0,W.of)(void 0);this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e};Im.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"};
Vg.Object.defineProperties(Im.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(B(function(a){return new YE(a)})));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){null!=this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(B(function(a){return new YE(a)})));return this._queryParamMap}}});
var fF=function(a,b,c,d,e,f,h,k,q){this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e;this.outlet=f;this.component=h;this.routeConfig=k;this._resolve=q};fF.prototype.toString=function(){return"Route(url:'"+this.url.map(function(a){return a.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"};
Vg.Object.defineProperties(fF.prototype,{title:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a[Gm]}},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 YE(this.params));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){null!=this._queryParamMap||(this._queryParamMap=new YE(this.queryParams));return this._queryParamMap}}});var P2b=function(a,b){this._root=b;this.url=a;Uya(this,b)};X(P2b,eF);P2b.prototype.toString=function(){return Vya(this._root)};var gF=function(){this._activatedRoute=this.activated=null;this.name="primary";this.activateEvents=new zv;this.deactivateEvents=new zv;this.attachEvents=new zv;this.detachEvents=new zv;this.parentContexts=Gc(dF);this.location=Gc(Sf);this.changeDetector=Gc(Uu);this.environmentInjector=Gc(Mu);this.inputBinder=Gc(Q2b,{optional:!0})};gF.prototype.ngOnChanges=function(a){if(a.name){a=a.name;var b=a.previousValue;a.firstChange||(R2b(this,b)&&(this.deactivate(),M2b(this.parentContexts,b)),S2b(this))}};
gF.prototype.ngOnDestroy=function(){R2b(this,this.name)&&M2b(this.parentContexts,this.name);var a;null==(a=this.inputBinder)||hF(a,this)};var R2b=function(a,b){var c;return(null==(c=a.parentContexts.getContext(b))?void 0:c.outlet)===a};gF.prototype.ngOnInit=function(){S2b(this)};
var S2b=function(a){var b=a.parentContexts,c=a.name,d=N2b(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):T2b(a,b.route,b.injector))};gF.prototype.detach=function(){if(!this.activated)throw new Ac(4012,!1);this.location.detach();var a=this.activated;this._activatedRoute=this.activated=null;this.detachEvents.emit(a.instance);return a};
gF.prototype.attach=function(a,b){this.activated=a;this._activatedRoute=b;this.location.insert(a.hostView);null!=(b=this.inputBinder)&&(hF(b,this),U2b(b,this));this.attachEvents.emit(a.instance)};gF.prototype.deactivate=function(){if(this.activated){var a=this.component;this.activated.destroy();this._activatedRoute=this.activated=null;this.deactivateEvents.emit(a)}};
var T2b=function(a,b,c){if(a.isActivated)throw new Ac(4013,!1);a._activatedRoute=b;var d=a.location,e=b.snapshot.component,f=N2b(a.parentContexts,a.name).children;a.activated=d.createComponent(e,{index:d.length,injector:new V2b(b,f,d.injector),environmentInjector:null!=c?c:a.environmentInjector});a.changeDetector.markForCheck();null!=(b=a.inputBinder)&&(hF(b,a),U2b(b,a));a.activateEvents.emit(a.activated.instance)};
Vg.Object.defineProperties(gF.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 Ac(4012,!1);return this.activated.instance}},activatedRoute:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new Ac(4012,!1);return this._activatedRoute}}});
gF.\u0275fac=function(a){return new (a||gF)};gF.\u0275dir=Qc({type:gF,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[ed]});var V2b=function(a,b,c){this.route=a;this.childContexts=b;this.parent=c};V2b.prototype.get=function(a,b){return a===Im?this.route:a===dF?this.childContexts:this.parent.get(a,b)};
var Q2b=new Xc(""),iF=function(){this.outletDataSubscriptions=new Map},hF=function(a,b){var c;null==(c=a.outletDataSubscriptions.get(b))||c.unsubscribe();a.outletDataSubscriptions.delete(b)},U2b=function(a,b){var c=b.activatedRoute,d=(0,W.combineLatest)([c.queryParams,c.params,c.data]).pipe(df(function(e,f){var h=l(e);e=h.next().value;var k=h.next().value;h=h.next().value;h=Object.assign({},e,k,h);return 0===f?(0,W.of)(h):Promise.resolve(h)})).subscribe(function(e){if(b.isActivated&&b.activatedComponentRef&&
b.activatedRoute===c&&null!==c.component){var f=Bma(c.component);if(f){f=l(f.inputs);for(var h=f.next();!h.done;h=f.next())h=h.value.templateName,b.activatedComponentRef.setInput(h,e[h])}else hF(a,b)}else hF(a,b)});a.outletDataSubscriptions.set(b,d)};iF.\u0275fac=function(a){return new (a||iF)};iF.\u0275prov=vc({token:iF,factory:iF.\u0275fac});var Jm=function(){};Jm.\u0275fac=function(a){return new (a||Jm)};Jm.\u0275cmp=Lc({type:Jm,selectors:[["ng-component"]],standalone:!0,features:[dg],decls:1,vars:0,template:function(a){a&1&&I(0,"router-outlet")},dependencies:[gF],encapsulation:2});var X2b=function(a,b,c,d){return B(function(e){(new W2b(b,e.targetRouterState,e.currentRouterState,c,d)).activate(a);return e})},W2b=function(a,b,c,d,e){this.routeReuseStrategy=a;this.futureState=b;this.currState=c;this.forwardEvent=d;this.inputBindingEnabled=e};W2b.prototype.activate=function(a){var b=this.futureState._root,c=this.currState?this.currState._root:null;Y2b(this,b,c,a);Wya(this.futureState.root);jF(this,b,c,a)};
var Y2b=function(a,b,c,d){var e=Fm(c);b.children.forEach(function(f){var h=f.value.outlet,k=e[h],q=f.value,t=k?k.value:null;q===t?q.component?(q=d.getContext(q.outlet))&&Y2b(a,f,k,q.children):Y2b(a,f,k,d):t&&Z2b(a,k,d);delete e[h]});Object.values(e).forEach(function(f){Z2b(a,f,d)})},Z2b=function(a,b,c){var d=c.getContext(b.value.outlet);c=d&&b.value.component?d.children:c;b=Fm(b);b=l(Object.values(b));for(var e=b.next();!e.done;e=b.next())Z2b(a,e.value,c);d&&(d.outlet&&(d.outlet.deactivate(),d.children.contexts=
new Map),d.attachRef=null,d.route=null)},jF=function(a,b,c,d){var e=Fm(c);b.children.forEach(function(f){var h=e[f.value.outlet],k=f.value,q=h?h.value:null;Wya(k);k===q?k.component?(k=N2b(d,k.outlet),jF(a,f,h,k.children)):jF(a,f,h,d):k.component?(h=N2b(d,k.outlet),q=Lm(k.snapshot),h.attachRef=null,h.route=k,h.injector=q,h.outlet&&T2b(h.outlet,k,h.injector),jF(a,f,null,h.children)):jF(a,f,null,d);a.forwardEvent(new H2b(f.value.snapshot))});b.children.length&&a.forwardEvent(new G2b(b.value.snapshot))};var fza=Symbol("qc");var hza=function(a){this.path=a;this.route=this.path[this.path.length-1]},iza=function(a,b){this.component=a;this.route=b};var vza=function(a){this.segmentGroup=a||null},$2b=function(a){var b=Error.call(this);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.urlTree=a};X($2b,Error);
var a3b=function(a,b){this.urlSerializer=a;this.urlTree=b},b3b=function(a){var b=[];for(a=a.root;;){b=b.concat(a.segments);if(0===a.numberOfChildren)return(0,W.of)(b);if(1<a.numberOfChildren||!a.children.primary)return(0,W.throwError)(new Ac(4E3,!1));a=a.children.primary}},e3b=function(a,b,c,d){var e=a.urlSerializer.parse(c);b=c3b(a,c,e.root,b,d);a=new Am(b,d3b(e.queryParams,a.urlTree.queryParams),e.fragment);if(c.startsWith("/"))throw new $2b(a);return a},d3b=function(a,b){var c={};Object.entries(a).forEach(function(d){var e=
l(d);d=e.next().value;e=e.next().value;c[d]="string"===typeof e&&e.startsWith(":")?b[e.substring(1)]:e});return c},c3b=function(a,b,c,d,e){var f=f3b(c.segments,d,e),h={};Object.entries(c.children).forEach(function(k){var q=l(k);k=q.next().value;q=q.next().value;h[k]=c3b(a,b,q,d,e)});return new zm(f,h)},f3b=function(a,b,c){return a.map(function(d){if(d.path.startsWith(":")){if(d=c[d.path.substring(1)],!d)throw new Ac(4001,!1);}else a:for(var e=0,f=l(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 xza={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};var g3b=function(){},Gza=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 a3b(this.urlSerializer,this.urlTree);this.absoluteRedirectCount=0;this.allowRedirects=!0};
Gza.prototype.recognize=function(){var a=this,b=Cza(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(b).pipe(B(function(c){var d=new fF([],Object.freeze({}),Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,{},"primary",a.rootComponentType,null,{});c=new P2b("",new Hm(d,c));var e=a.urlTree.queryParams,f=a.urlTree.fragment;e=void 0===e?null:e;f=void 0===f?null:f;d=Eya(d);d=Kya(d,[],e,f);d.queryParams=a.urlTree.queryParams;c.url=a.urlSerializer.serialize(d);
h3b(a,c._root,null);return{state:c,tree:d}}))};Gza.prototype.match=function(a){var b=this;return i3b(this,this.injector,this.config,a,"primary").pipe(Pe(function(c){if(c instanceof $2b)return b.urlTree=c.urlTree,b.match(c.urlTree.root);if(c instanceof vza)throw new Ac(4002,"'"+c.segmentGroup+"'");throw c;}))};
var h3b=function(a,b,c){var d=b.value;c=Tya(d,c,a.paramsInheritanceStrategy);d.params=Object.freeze(c.params);d.data=Object.freeze(c.data);b.children.forEach(function(e){return h3b(a,e,d)})},i3b=function(a,b,c,d,e){return 0===d.segments.length&&d.hasChildren()?a.processChildren(b,c,d):j3b(a,b,c,d,d.segments,e,!0).pipe(B(function(f){return f instanceof Hm?[f]:[]}))};
Gza.prototype.processChildren=function(a,b,c){for(var d=this,e=[],f=l(Object.keys(c.children)),h=f.next();!h.done;h=f.next())h=h.value,"primary"===h?e.unshift(h):e.push(h);return(0,W.from)(e).pipe(ve(function(k){var q=c.children[k],t=eza(b,k);return i3b(d,a,t,q,k)},1),qka(function(k,q){k.push.apply(k,r(q));return k}),bka(null),nka(),ve(function(k){if(null===k)return Rm(c);k=Fza(k);Dza(k);return(0,W.of)(k)}))};
var j3b=function(a,b,c,d,e,f,h){return(0,W.from)(c).pipe(ve(function(k){var q;return k3b(a,null!=(q=k._injector)?q:b,c,k,d,e,f,h).pipe(Pe(function(t){if(t instanceof vza)return(0,W.of)(null);throw t;}))},1),Xe(function(k){return!!k}),Pe(function(k){if(jza(k))return 0!==e.length||d.children[f]?Rm(d):(0,W.of)(new g3b);throw k;}))},k3b=function(a,b,c,d,e,f,h,k){return(Km(d)===h||"primary"!==h&&Bza(e,f,d))&&wza(e,d,f).matched?void 0===d.redirectTo?l3b(a,b,e,d,f,h):a.allowRedirects&&k?m3b(a,b,e,c,d,f,
h):Rm(e):Rm(e)},m3b=function(a,b,c,d,e,f,h){f=wza(c,e,f);var k=f.consumedSegments,q=f.positionalParamSegments,t=f.remainingSegments;if(!f.matched)return Rm(c);e.redirectTo.startsWith("/")&&(a.absoluteRedirectCount++,31<a.absoluteRedirectCount&&(a.allowRedirects=!1));e=e3b(a.applyRedirects,k,e.redirectTo,q);return b3b(e).pipe(ve(function(w){return j3b(a,b,d,c,w.concat(t),h,!1)}))},l3b=function(a,b,c,d,e,f){var h=yza(c,d,e,b);"**"===d.path&&(c.children={});return h.pipe(df(function(k){if(!k.matched)return Rm(c);
var q;b=null!=(q=d._injector)?q:b;return n3b(a,b,d,e).pipe(df(function(t){t=t.routes;var w,z=null!=(w=d._loadedInjector)?w:b;w=k.consumedSegments;var F=k.remainingSegments,J,H,O=new fF(w,k.parameters,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,d.data||{},Km(d),null!=(H=null!=(J=d.component)?J:d._loadedComponent)?H:null,d,d.resolve||{});H=Cza(c,w,F,t);J=H.segmentGroup;H=H.slicedSegments;return 0===H.length&&J.hasChildren()?a.processChildren(z,t,J).pipe(B(function(P){return null===
P?null:new Hm(O,P)})):0===t.length&&0===H.length?(0,W.of)(new Hm(O,[])):j3b(a,z,t,J,H,Km(d)===f?"primary":f,!0).pipe(B(function(P){return new Hm(O,P instanceof Hm?[P]:[])}))}))}))},n3b=function(a,b,c,d){return c.children?(0,W.of)({routes:c.children,injector:b}):c.loadChildren?void 0!==c._loadedRoutes?(0,W.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):tza(b,c,d).pipe(ve(function(e){return e?a.configLoader.loadChildren(b,c).pipe(ff(function(f){c._loadedRoutes=f.routes;c._loadedInjector=f.injector})):
(0,W.throwError)(aza(3))})):(0,W.of)({routes:[],injector:b})};var kF=function(){},o3b=function(a){for(a=a.root;void 0!==a;){var b=void 0;var c=null!=(b=a.data[Gm])?b:c;a=a.children.find(function(d){return"primary"===d.outlet})}return c};kF.\u0275fac=function(a){return new (a||kF)};kF.\u0275prov=vc({token:kF,factory:function(){return Gc(lF)},providedIn:"root"});var lF=function(a){this.title=a};X(lF,kF);lF.prototype.updateTitle=function(a){a=o3b(a);void 0!==a&&this.title.setTitle(a)};lF.\u0275fac=function(a){return new (a||lF)(p(Hz))};
lF.\u0275prov=vc({token:lF,factory:lF.\u0275fac,providedIn:"root"});var mF=new Xc("",{providedIn:"root",factory:function(){return{}}});var Rza=new Xc(""),nF=function(){this.componentLoaders=new WeakMap;this.childrenLoaders=new WeakMap;Gc(Dv)};
nF.prototype.loadComponent=function(a){var b=this;if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,W.of)(a._loadedComponent);if(this.onLoadStartListener)this.onLoadStartListener(a);var c=wm(a.loadComponent()).pipe(B(Oza),ff(function(d){if(b.onLoadEndListener)b.onLoadEndListener(a);a._loadedComponent=d}),We(function(){b.componentLoaders.delete(a)}));c=(new W.ConnectableObservable(c,function(){return new W.Subject})).pipe(he());this.componentLoaders.set(a,
c);return c};nF.prototype.loadChildren=function(a,b){var c=this;if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,W.of)({routes:b._loadedRoutes,injector:b._loadedInjector});if(this.onLoadStartListener)this.onLoadStartListener(b);a=Sza(b,a,this.onLoadEndListener).pipe(We(function(){c.childrenLoaders.delete(b)}));a=(new W.ConnectableObservable(a,function(){return new W.Subject})).pipe(he());this.childrenLoaders.set(b,a);return a};
nF.\u0275fac=function(a){return new (a||nF)};nF.\u0275prov=vc({token:nF,factory:nF.\u0275fac,providedIn:"root"});var oF=function(){};oF.\u0275fac=function(a){return new (a||oF)};oF.\u0275prov=vc({token:oF,factory:function(){return Gc(pF)},providedIn:"root"});var pF=function(){};pF.prototype.extract=function(a){return a};pF.prototype.merge=function(a){return a};pF.\u0275fac=function(a){return new (a||pF)};pF.\u0275prov=vc({token:pF,factory:pF.\u0275fac,providedIn:"root"});var p3b=new Xc(""),Tza=new Xc("");var qF=function(){var a=this;this.lastSuccessfulNavigation=this.currentTransition=this.currentNavigation=null;this.events=new W.Subject;this.transitionAbortSubject=new W.Subject;this.configLoader=Gc(nF);this.environmentInjector=Gc(Mu);this.urlSerializer=Gc(ZE);this.rootContexts=Gc(dF);this.location=Gc(Aw);this.inputBindingEnabled=null!==Gc(Q2b,{optional:!0});this.titleStrategy=Gc(kF);this.options=Gc(mF,{optional:!0})||{};this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";
this.urlHandlingStrategy=Gc(oF);this.createViewTransition=Gc(p3b,{optional:!0});this.navigationId=0;this.afterPreactivation=function(){return(0,W.of)(void 0)};this.rootComponentType=null;this.configLoader.onLoadEndListener=function(b){return a.events.next(new F2b(b))};this.configLoader.onLoadStartListener=function(b){return a.events.next(new E2b(b))}};qF.prototype.complete=function(){var a;null==(a=this.transitions)||a.complete()};
var q3b=function(a,b){var c=++a.navigationId,d;null==(d=a.transitions)||d.next(Object.assign({},a.transitions.value,b,{id:c}))},u3b=function(a,b,c,d){a.transitions=new W.BehaviorSubject({id:0,currentUrlTree:c,currentRawUrl:c,extractedUrl:a.urlHandlingStrategy.extract(c),urlAfterRedirects:a.urlHandlingStrategy.extract(c),rawUrl:c,extras:{},resolve:null,reject:null,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}),B(function(e){return Object.assign({},e,{extractedUrl:a.urlHandlingStrategy.extract(e.rawUrl)})}),df(function(e){a.currentTransition=e;var f=!1,h=!1;return(0,W.of)(e).pipe(ff(function(k){a.currentNavigation={id:k.id,initialUrl:k.rawUrl,extractedUrl:k.extractedUrl,trigger:k.source,extras:k.extras,previousNavigation:a.lastSuccessfulNavigation?Object.assign({},
a.lastSuccessfulNavigation,{previousNavigation:null}):null}}),df(function(k){var q=!b.navigated||r3b(a)||s3b(a),t,w=null!=(t=k.extras.onSameUrlNavigation)?t:b.onSameUrlNavigation;return q||"reload"===w?(0,W.of)(k).pipe(df(function(z){var F,J=null==(F=a.transitions)?void 0:F.getValue();a.events.next(new Xm(z.id,a.urlSerializer.serialize(z.extractedUrl),z.source,z.restoredState));var H;return J!==(null==(H=a.transitions)?void 0:H.getValue())?W.EMPTY:Promise.resolve(z)}),Hza(a.environmentInjector,a.configLoader,
a.rootComponentType,b.config,a.urlSerializer,a.paramsInheritanceStrategy),ff(function(z){e.targetSnapshot=z.targetSnapshot;e.urlAfterRedirects=z.urlAfterRedirects;a.currentNavigation=Object.assign({},a.currentNavigation,{finalUrl:z.urlAfterRedirects});z=new cF(z.id,a.urlSerializer.serialize(z.extractedUrl),a.urlSerializer.serialize(z.urlAfterRedirects),z.targetSnapshot);a.events.next(z)})):(a.events.next(new Vm(k.id,a.urlSerializer.serialize(k.rawUrl),"",0)),k.resolve(null),W.EMPTY)}),ff(function(k){k=
new A2b(k.id,a.urlSerializer.serialize(k.extractedUrl),a.urlSerializer.serialize(k.urlAfterRedirects),k.targetSnapshot);a.events.next(k)}),B(function(k){var q=Object,t=q.assign;var w=k.currentSnapshot;var z=k.targetSnapshot._root;w=Om(z,w?w._root:null,a.rootContexts,[z.value]);return a.currentTransition=e=t.call(q,{},k,{guards:w})}),mza(a.environmentInjector,function(k){return a.events.next(k)}),ff(function(k){e.guardsResult=k.guardsResult;if(Bm(k.guardsResult))throw bza(k.guardsResult);k=new B2b(k.id,
a.urlSerializer.serialize(k.extractedUrl),a.urlSerializer.serialize(k.urlAfterRedirects),k.targetSnapshot,!!k.guardsResult);a.events.next(k)}),Ce(function(k){return k.guardsResult?!0:(t3b(a,k,3),!1)}),Nza(function(k){if(k.guards.canActivateChecks.length)return(0,W.of)(k).pipe(ff(function(q){q=new C2b(q.id,a.urlSerializer.serialize(q.extractedUrl),a.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot);a.events.next(q)}),df(function(q){var t=!1;return(0,W.of)(q).pipe(Kza(a.paramsInheritanceStrategy,
a.environmentInjector),ff({next:function(){return t=!0},complete:function(){t||t3b(a,q,2)}}))}),ff(function(q){q=new D2b(q.id,a.urlSerializer.serialize(q.extractedUrl),a.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot);a.events.next(q)}))}),Nza(function(k){var q=function(t){var w=[],z;(null==(z=t.routeConfig)?0:z.loadComponent)&&!t.routeConfig._loadedComponent&&w.push(a.configLoader.loadComponent(t.routeConfig).pipe(ff(function(J){t.component=J}),B(function(){})));z=l(t.children);for(var F=
z.next();!F.done;F=z.next())w.push.apply(w,r(q(F.value)));return w};return(0,W.combineLatest)(q(k.targetSnapshot.root)).pipe(bka(null),Ue())}),Nza(function(){return a.afterPreactivation()}),df(function(){var k=e,q=k.currentSnapshot;k=k.targetSnapshot;var t,w=null==(t=a.createViewTransition)?void 0:t.call(a,a.environmentInjector,q.root,k.root);return w?(0,W.from)(w).pipe(B(function(){return e})):(0,W.of)(e)}),B(function(k){var q=k.targetSnapshot;var t=k.currentRouterState;t=$ya(b.routeReuseStrategy,
q._root,t?t._root:void 0);q=new O2b(t,q);a.currentTransition=e=Object.assign({},k,{targetRouterState:q});a.currentNavigation.targetRouterState=q;return e}),ff(function(){a.events.next(new J2b)}),X2b(a.rootContexts,b.routeReuseStrategy,function(k){return a.events.next(k)},a.inputBindingEnabled),Ue(),ff({next:function(k){f=!0;a.lastSuccessfulNavigation=a.currentNavigation;a.events.next(new Sm(k.id,a.urlSerializer.serialize(k.extractedUrl),a.urlSerializer.serialize(k.urlAfterRedirects)));var q;null==
(q=a.titleStrategy)||q.updateTitle(k.targetRouterState.snapshot);k.resolve(!0)},complete:function(){f=!0}}),ef(a.transitionAbortSubject.pipe(ff(function(k){throw k;}))),We(function(){f||h||t3b(a,e,1);var k;(null==(k=a.currentNavigation)?void 0:k.id)===e.id&&(a.currentNavigation=null)}),Pe(function(k){h=!0;if(k&&k.ngNavigationCancelingError)a.events.next(new Tm(e.id,a.urlSerializer.serialize(e.extractedUrl),k.message,k.cancellationCode)),k&&k.ngNavigationCancelingError&&Bm(k.url)?a.events.next(new K2b(k.url)):
e.resolve(!1);else{var q;a.events.next(new Um(e.id,a.urlSerializer.serialize(e.extractedUrl),k,null!=(q=e.targetSnapshot)?q:void 0));try{e.resolve(b.errorHandler(k))}catch(t){a.options.resolveNavigationPromiseOnError?e.resolve(!1):e.reject(t)}}return W.EMPTY}))}))},t3b=function(a,b,c){c=new Tm(b.id,a.urlSerializer.serialize(b.extractedUrl),"",c);a.events.next(c);b.resolve(!1)},r3b=function(a){var b,c;return(null==(b=a.currentTransition)?void 0:b.extractedUrl.toString())!==(null==(c=a.currentTransition)?
void 0:c.currentUrlTree.toString())},s3b=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)};Vg.Object.defineProperties(qF.prototype,{hasRequestedNavigation:{configurable:!0,enumerable:!0,get:function(){return 0!==this.navigationId}}});qF.\u0275fac=function(a){return new (a||qF)};
qF.\u0275prov=vc({token:qF,factory:qF.\u0275fac,providedIn:"root"});var rF=function(){};rF.\u0275fac=function(a){return new (a||rF)};rF.\u0275prov=vc({token:rF,factory:function(){return Gc(sF)},providedIn:"root"});var v3b=function(){};v3b.prototype.store=function(){};v3b.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig};var sF=function(){};X(sF,v3b);sF.\u0275fac=function(){var a;return function(b){return(a||(a=zd(sF)))(b||sF)}}();sF.\u0275prov=vc({token:sF,factory:sF.\u0275fac,providedIn:"root"});var tF=function(){};tF.\u0275fac=function(a){return new (a||tF)};tF.\u0275prov=vc({token:tF,factory:function(){return Gc(uF)},providedIn:"root"});
var uF=function(){this.location=Gc(Aw);this.urlSerializer=Gc(ZE);this.options=Gc(mF,{optional:!0})||{};this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";this.urlHandlingStrategy=Gc(oF);this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.rawUrlTree=this.currentUrlTree=new Am;this.currentPageId=0;this.lastSuccessfulId=-1;var a=new P2b("",new Hm(new fF([],{},{},"",{},"primary",null,null,{}),[])),b=new Im(new W.BehaviorSubject([new Em("",{})]),new W.BehaviorSubject({}),
new W.BehaviorSubject({}),new W.BehaviorSubject(""),new W.BehaviorSubject({}),"primary",null,a.root);b.snapshot=a.root;this.routerState=new O2b(new Hm(b,[]),a);this.stateMemento=w3b(this)};X(uF,tF);uF.prototype.restoredState=function(){return this.location.getState()};
var w3b=function(a){return{rawUrlTree:a.rawUrlTree,currentUrlTree:a.currentUrlTree,routerState:a.routerState}},x3b=function(a,b){return a.location.subscribe(function(c){"popstate"===c.type&&b(c.url,c.state)})},z3b=function(a,b,c){b=a.urlSerializer.serialize(b);var d=a.location;var e=void 0===e?"":e;d.path()==d.normalize(b+Ag(e))||c.extras.replaceUrl?(c=Object.assign({},c.extras.state,y3b(a,c.id,a.browserPageId)),a.location.replaceState(b,"",c)):(c=Object.assign({},c.extras.state,y3b(a,c.id,a.browserPageId+
1)),a.location.go(b,"",c))},B3b=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),A3b(a))):"replace"===a.canceledNavigationResolution&&(c&&a.resetState(b),A3b(a))};
uF.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 A3b=function(a){a.location.replaceState(a.urlSerializer.serialize(a.rawUrlTree),"",y3b(a,a.lastSuccessfulId,a.currentPageId))},y3b=function(a,b,c){return"computed"===a.canceledNavigationResolution?{navigationId:b,"\u0275routerPageId":c}:{navigationId:b}};
Vg.Object.defineProperties(uF.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}}});uF.\u0275fac=function(){var a;return function(b){return(a||(a=zd(uF)))(b||uF)}}();uF.\u0275prov=vc({token:uF,factory:uF.\u0275fac,providedIn:"root"});var C3b={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},D3b={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},vF=function(){var a=this;this.disposed=!1;this.console=Gc(Cv);this.stateManager=Gc(tF);this.options=Gc(mF,{optional:!0})||{};this.pendingTasks=Gc(Ev);this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.navigationTransitions=Gc(qF);this.urlSerializer=Gc(ZE);this.location=Gc(Aw);this.urlHandlingStrategy=Gc(oF);this._events=
new W.Subject;this.errorHandler=this.options.errorHandler||Xza;this.navigated=!1;this.routeReuseStrategy=Gc(rF);this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";var b,c;this.config=null!=(c=null==(b=Gc(Rza,{optional:!0}))?void 0:b.flat())?c:[];Gc(Q2b,{optional:!0});this.eventsSubscription=new W.Subscription;Gc(Ge)instanceof Ge&&vQb();this.config=this.config.map(dza);this.navigated=!1;u3b(this.navigationTransitions,this,this.currentUrlTree,this.routerState).subscribe({error:function(d){a.console.warn(d)}});
E3b(this)},E3b=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 Xm)f.stateMemento=w3b(f);else if(c instanceof Vm)f.rawUrlTree=e.initialUrl;else if(c instanceof cF){if("eager"===f.urlUpdateStrategy&&!e.extras.skipLocationChange){var h=f.urlHandlingStrategy.merge(e.finalUrl,e.initialUrl);z3b(f,h,e)}}else c instanceof J2b?(f.currentUrlTree=
e.finalUrl,f.rawUrlTree=f.urlHandlingStrategy.merge(e.finalUrl,e.initialUrl),f.routerState=e.targetRouterState,"deferred"===f.urlUpdateStrategy&&(e.extras.skipLocationChange||z3b(f,f.rawUrlTree,e))):c instanceof Tm&&(3===c.code||2===c.code)?B3b(f,e):c instanceof Um?B3b(f,e,!0):c instanceof Sm&&(f.lastSuccessfulId=c.id,f.currentPageId=f.browserPageId);if(c instanceof Tm&&0!==c.code&&1!==c.code)a.navigated=!0;else if(c instanceof Sm)a.navigated=!0;else if(c instanceof K2b){var k=a.urlHandlingStrategy.merge(c.url,
d.currentRawUrl);F3b(a,k,"imperative",null,{info:d.extras.info,skipLocationChange:d.extras.skipLocationChange,replaceUrl:"eager"===a.urlUpdateStrategy||"imperative"!==d.source},{resolve:d.resolve,reject:d.reject,promise:d.promise})}}c instanceof J2b||c instanceof K2b||a._events.next(c)}catch(q){a.navigationTransitions.transitionAbortSubject.next(q)}});a.eventsSubscription.add(b)};
vF.prototype.initialNavigation=function(){G3b(this);this.navigationTransitions.hasRequestedNavigation||H3b(this,this.location.path(!0),"imperative",this.stateManager.restoredState())};
var G3b=function(a){null!=a.nonRouterCurrentEntryChangeSubscription||(a.nonRouterCurrentEntryChangeSubscription=x3b(a.stateManager,function(b,c){setTimeout(function(){H3b(a,b,"popstate",c)},0)}))},H3b=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=I3b(a,b);F3b(a,b,c,f,e)};vF.prototype.ngOnDestroy=function(){this.dispose()};
vF.prototype.dispose=function(){this.navigationTransitions.complete();this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0);this.disposed=!0;this.eventsSubscription.unsubscribe()};
var wF=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=J3b(d));try{var h=Eya(c?c.snapshot:a.routerState.snapshot.root)}catch(k){"string"===typeof b[0]&&b[0].startsWith("/")||(b=[]),h=a.currentUrlTree.root}return Kya(h,b,d,null!=
f?f:null)},Ts=function(a,b,c){c=void 0===c?{skipLocationChange:!1}:c;b=Bm(b)?b:I3b(a,b);b=a.urlHandlingStrategy.merge(b,a.rawUrlTree);return F3b(a,b,"imperative",null,c)};vF.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 Ac(4008,!1);return Ts(this,wF(this,a,b),b)};var I3b=function(a,b){try{return a.urlSerializer.parse(b)}catch(c){return a.urlSerializer.parse("/")}};
vF.prototype.isActive=function(a,b){var c;!0===b?c=Object.assign({},C3b):!1===b?c=Object.assign({},D3b):c=b;if(Bm(a))return lya(this.currentUrlTree,a,c);a=I3b(this,a);return lya(this.currentUrlTree,a,c)};
var J3b=function(a){return Object.entries(a).reduce(function(b,c){var d=l(c);c=d.next().value;d=d.next().value;null!==d&&void 0!==d&&(b[c]=d);return b},{})},F3b=function(a,b,c,d,e,f){if(a.disposed)return Promise.resolve(!1);if(f){var h=f.resolve;var k=f.reject;f=f.promise}else f=new Promise(function(t,w){h=t;k=w});var q=a.pendingTasks.add();Wza(a,function(){queueMicrotask(function(){return a.pendingTasks.remove(q)})});q3b(a.navigationTransitions,{source:c,restoredState:d,currentUrlTree:a.currentUrlTree,
currentRawUrl:a.currentUrlTree,rawUrl:b,extras:e,resolve:h,reject:k,promise:f,currentSnapshot:a.routerState.snapshot,currentRouterState:a.routerState});return f.catch(function(t){return Promise.reject(t)})};
Vg.Object.defineProperties(vF.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}}});vF.\u0275fac=function(a){return new (a||vF)};vF.\u0275prov=vc({token:vF,factory:vF.\u0275fac,providedIn:"root"});var xF=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 W.Subject;this.replaceUrl=this.skipLocationChange=this.preserveFragment=!1;var k;b=null==(k=e.nativeElement.tagName)?void 0:k.toLowerCase();(this.isAnchorElement="a"===b||"area"===b)?this.subscription=a.events.subscribe(function(q){q instanceof Sm&&K3b(h)}):L3b(this,"0")},L3b=function(a,b){null!=a.tabIndexAttribute||
a.isAnchorElement||M3b(a,"tabindex",b)};xF.prototype.ngOnChanges=function(){this.isAnchorElement&&K3b(this);this.onChanges.next(this)};xF.prototype.onClick=function(a,b,c,d,e){if(null===this.urlTree||this.isAnchorElement&&(0!==a||b||c||d||e||"string"===typeof this.target&&"_self"!=this.target))return!0;Ts(this.router,this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info});return!this.isAnchorElement};
xF.prototype.ngOnDestroy=function(){var a;null==(a=this.subscription)||a.unsubscribe()};var K3b=function(a){var b;a.href=null!==a.urlTree&&a.locationStrategy?null==(b=a.locationStrategy)?void 0:b.prepareExternalUrl(a.router.urlSerializer.serialize(a.urlTree)):null;null===a.href?b=null:(b=a.el.nativeElement.tagName.toLowerCase(),b=("base"===b||"link"===b?Cha:Pd)(a.href));M3b(a,"href",b)},M3b=function(a,b,c){var d=a.renderer;a=a.el.nativeElement;null!==c?d.setAttribute(a,b,c):d.removeAttribute(a,b)};
Vg.Object.defineProperties(xF.prototype,{routerLink:{configurable:!0,enumerable:!0,set:function(a){null!=a?(this.commands=Array.isArray(a)?a:[a],L3b(this,"0")):(this.commands=null,L3b(this,null))}},urlTree:{configurable:!0,enumerable:!0,get:function(){return null===this.commands?null:wF(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})}}});
xF.\u0275fac=function(a){return new (a||xF)(A(vF),A(Im),ud("tabindex"),A(Tu),A(Ad),A(xw))};
xF.\u0275dir=Qc({type:xF,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClick(c.button,c.ctrlKey,c.shiftKey,c.altKey,c.metaKey)});a&2&&pf("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",pg],skipLocationChange:[2,"skipLocationChange","skipLocationChange",
pg],replaceUrl:[2,"replaceUrl","replaceUrl",pg],routerLink:"routerLink"},standalone:!0,features:[of,ed]});var yF=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 zv;this.routerEventsSubscription=a.events.subscribe(function(h){h instanceof Sm&&f.update()})};yF.prototype.ngAfterContentInit=function(){var a=this;(0,W.of)(this.links.changes,(0,W.of)(null)).pipe(xe()).subscribe(function(){a.update();N3b(a)})};
var N3b=function(a){var b;null==(b=a.linkInputChangesSubscription)||b.unsubscribe();b=[].concat(r(a.links.toArray()),[a.link]).filter(function(c){return!!c}).map(function(c){return c.onChanges});a.linkInputChangesSubscription=(0,W.from)(b).pipe(xe()).subscribe(function(c){a._isActive!==O3b(a,a.router)(c)&&a.update()})};yF.prototype.ngOnChanges=function(){this.update()};
yF.prototype.ngOnDestroy=function(){this.routerEventsSubscription.unsubscribe();var a;null==(a=this.linkInputChangesSubscription)||a.unsubscribe()};
yF.prototype.update=function(){var a=this;this.links&&this.router.navigated&&queueMicrotask(function(){var b=P3b(a);a._isActive!==b&&(a._isActive=b,a.cdr.markForCheck(),a.classes.forEach(function(c){b?a.renderer.addClass(a.element.nativeElement,c):a.renderer.removeClass(a.element.nativeElement,c)}),b&&void 0!==a.ariaCurrentWhenActive?a.renderer.setAttribute(a.element.nativeElement,"aria-current",a.ariaCurrentWhenActive.toString()):a.renderer.removeAttribute(a.element.nativeElement,"aria-current"),
a.isActiveChange.emit(b))})};var O3b=function(a,b){var c=a.routerLinkActiveOptions.paths?a.routerLinkActiveOptions:a.routerLinkActiveOptions.exact||!1;return function(d){return d.urlTree?b.isActive(d.urlTree,c):!1}},P3b=function(a){var b=O3b(a,a.router);return a.link&&b(a.link)||a.links.some(b)};
Vg.Object.defineProperties(yF.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})}}});yF.\u0275fac=function(a){return new (a||yF)(A(vF),A(Ad),A(Tu),A(Uu),A(xF,8))};
yF.\u0275dir=Qc({type:yF,selectors:[["","routerLinkActive",""]],contentQueries:function(a,b,c){a&1&&Vf(c,xF,5);if(a&2){var d;Yf(d=Zf())&&(b.links=d)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[ed]});var Q3b=function(){},zF=function(a,b,c,d,e){this.router=a;this.injector=c;this.preloadingStrategy=d;this.loader=e},R3b=function(a){a.subscription=a.router.events.pipe(Ce(function(b){return b instanceof Sm}),ve(function(){return a.preload()},1)).subscribe(function(){})};zF.prototype.preload=function(){return S3b(this,this.injector,this.router.config)};zF.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};
var S3b=function(a,b,c){var d=[];c=l(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;e.providers&&!e._injector&&(e._injector=Mja(e.providers,b,"Route: "+e.path));var f=void 0,h=null!=(f=e._injector)?f:b,k=void 0;f=null!=(k=e._loadedInjector)?k:h;(e.loadChildren&&!e._loadedRoutes&&void 0===e.canLoad||e.loadComponent&&!e._loadedComponent)&&d.push(T3b(a,h,e));if(e.children||e._loadedRoutes)h=void 0,d.push(S3b(a,f,null!=(h=e.children)?h:e._loadedRoutes))}return(0,W.from)(d).pipe(xe())},T3b=function(a,
b,c){return a.preloadingStrategy.preload(c,function(){var d=(c.loadChildren&&void 0===c.canLoad?a.loader.loadChildren(b,c):(0,W.of)(null)).pipe(ve(function(f){if(null===f)return(0,W.of)(void 0);c._loadedRoutes=f.routes;c._loadedInjector=f.injector;var h;return S3b(a,null!=(h=f.injector)?h:b,f.routes)}));if(c.loadComponent&&!c._loadedComponent){var e=a.loader.loadComponent(c);return(0,W.from)([d,e]).pipe(xe())}return d})};zF.\u0275fac=function(a){return new (a||zF)(p(vF),p(Dv),p(Mu),p(Q3b),p(nF))};
zF.\u0275prov=vc({token:zF,factory:zF.\u0275fac,providedIn:"root"});var U3b=new Xc(""),AF=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")};
AF.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual");this.routerEventsSubscription=V3b(this);this.scrollEventsSubscription=W3b(this)};
var V3b=function(a){return a.transitions.events.subscribe(function(b){b instanceof Xm?(a.store[a.lastId]=a.viewportScroller.getScrollPosition(),a.lastSource=b.navigationTrigger,a.restoredId=b.restoredState?b.restoredState.navigationId:0):b instanceof Sm?(a.lastId=b.id,X3b(a,a.urlSerializer.parse(b.urlAfterRedirects).fragment)):b instanceof Vm&&0===b.code&&(a.lastSource=void 0,a.restoredId=0,X3b(a,a.urlSerializer.parse(b.url).fragment))})},W3b=function(a){return a.transitions.events.subscribe(function(b){b instanceof
I2b&&(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]))})},X3b=function(a,b){a.zone.runOutsideAngular(function(){setTimeout(function(){a.zone.run(function(){a.transitions.events.next(new I2b("popstate"===
a.lastSource?a.store[a.restoredId]:null,b))})},0)})};AF.prototype.ngOnDestroy=function(){var a;null==(a=this.routerEventsSubscription)||a.unsubscribe();var b;null==(b=this.scrollEventsSubscription)||b.unsubscribe()};AF.\u0275fac=function(){Hd()};AF.\u0275prov=vc({token:AF,factory:AF.\u0275fac});new Xc("",{providedIn:"root",factory:function(){return!1}});var Y3b=new Xc("",{factory:function(){return new W.Subject}}),Z3b=new Xc("",{providedIn:"root",factory:function(){return 1}}),$3b=new Xc("");var a4b=new Xc("ROUTER_FORROOT_GUARD"),b4b=[Aw,{provide:ZE,useClass:$E},vF,dF,{provide:Im,useFactory:function(a){return a.routerState.root},deps:[vF]},nF,[]],BF=function(){};BF.\u0275fac=function(a){return new (a||BF)(p(a4b,8))};BF.\u0275mod=Nc({type:BF});BF.\u0275inj=wc({});var c4b=new Xc("");var d4b={attributes:!1,childList:!0,subtree:!0},CF=function(a,b,c){var d=this;this.ngZone=a;this.router=b;this.activatedRoute=c;this.dom$=new W.Subject;this.cdr$=this.ngZone.onStable;this.xhr$=new W.Subject;this.render$=(0,W.merge)(this.dom$,this.cdr$);this.renderSettled$=this.render$.pipe(Re(200));this.navigatedTo$=this.router.events.pipe(Ce(Zza),B(function(){return Yza(d.activatedRoute.snapshot)}));this.navigatedTo$.pipe(df(function(e){return d.renderSettled$.pipe(Ue(),B(function(){return e}))}),
af(1));this.domObserver=new MutationObserver(function(){return void d.dom$.next()})},e4b=function(a){a.domObserver.disconnect();a.domObserver.observe(document.body,d4b)};CF.prototype.intercept=function(a,b){var c=a.method+" "+a.urlWithParams;um[c]=~~um[c]+1;this.xhr$.next(c);return b.handle(a)};CF.\u0275fac=function(a){return new (a||CF)(p(Ge),p(vF),p(Im))};CF.\u0275prov=vc({token:CF,factory:CF.\u0275fac,providedIn:"root"});var f4b={provide:Oz,useExisting:CF,multi:!0};var DF=function(){};g=DF.prototype;g.debug=function(){Vj.apply(null,r(Vc.apply(0,arguments)))};g.error=function(){jua.apply(null,r(Vc.apply(0,arguments)))};g.info=function(){Wj.apply(null,r(Vc.apply(0,arguments)))};g.log=function(){iua.apply(null,r(Vc.apply(0,arguments)))};g.warn=function(){Xj.apply(null,r(Vc.apply(0,arguments)))};DF.\u0275fac=function(a){return new (a||DF)};DF.\u0275prov=vc({token:DF,factory:DF.\u0275fac,providedIn:"root"});var EF=function(a,b){this.cdr=a;this.zone=b;this.destroyed=!1};EF.prototype.ngOnDestroy=function(){this.destroyed=!0};EF.prototype.detectChanges=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.detectChanges()})};EF.prototype.markForCheck=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.markForCheck()})};EF.\u0275fac=function(a){return new (a||EF)(p(Uu),p(Ge))};EF.\u0275prov=vc({token:EF,factory:EF.\u0275fac});var FF=function(a){Y.call(this);var b=this;this.ngZone=a;this.activeSubject$=new W.BehaviorSubject(!1);this.active$=this.activeSubject$.pipe(Te(),ef(this.destroyed$),aAa(this.ngZone));this.onUserEvent=pOb(function(){b.activeSubject$.next(!0);g4b(b)},200);this.onVisibilityChange=function(){"hidden"===document.visibilityState?(b.activeSubject$.next(!1),clearTimeout(b.activeTimeoutId)):(b.activeSubject$.next(!0),g4b(b))}};X(FF,Y);FF.\u0275dir=Y.\u0275dir;
FF.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)};
FF.prototype.ngOnDestroy=function(){Y.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 g4b=function(a){clearTimeout(a.activeTimeoutId);a.activeTimeoutId=setTimeout(function(){a.activeSubject$.next(!1)},3E3)};FF.\u0275fac=function(a){return new (a||FF)(p(Ge))};FF.\u0275prov=vc({token:FF,factory:FF.\u0275fac,providedIn:"root"});var h4b=["el"],GF=function(a,b,c){Y.call(this);this.domSafe=a;this.clipboard=b;this.snackBar=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.opened=!1};X(GF,Y);GF.\u0275dir=Y.\u0275dir;GF.prototype.ngOnInit=function(){};GF.prototype.ngAfterViewInit=function(){var a=this;this.cdkConnectedOverlay.attach.pipe(ef(this.destroyed$)).subscribe(function(){var b=a.cdkConnectedOverlay.overlayRef.overlayElement;b&&(b=b.querySelector("a"))&&b.focus()})};GF.prototype.getNgContentParentEl=function(){return this.el.nativeElement};
var i4b=function(a){var b=a.getNgContentParentEl(),c,d;if(d=Wxa(b))a=a.originalHref,b=null!=(c=b.textContent)?c:"",d=b===a||a.startsWith("mailto:")&&a.substring(7)===b?!0:!1;return!d};GF.prototype.hide=function(){this.opened=!1};var cAa=function(a,b){Xxa(b)||(b.preventDefault(),b.stopPropagation(),rm(a.domSafe,a.href))};GF.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};
var eAa=function(a,b){b.preventDefault();if(a=a.cdkConnectedOverlay.overlayRef.overlayElement){var c=a.querySelector("a");c&&setTimeout(function(){c.focus()})}},dAa=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()})}};GF.\u0275fac=function(a){return new (a||GF)(A(IE),A(LE),A(SE))};
GF.\u0275cmp=Lc({type:GF,selectors:[["b-external-hyperlink-widget"]],viewQuery:function(a,b){a&1&&(Uf(h4b,7),Uf(Ey,7));if(a&2){var c;Yf(c=Zf())&&(b.el=c.first);Yf(c=Zf())&&(b.cdkConnectedOverlay=c.first)}},inputs:{originalHref:"originalHref",href:"href"},features:[nf],ngContentSelectors:["*"],decls:7,vars:8,consts:[["cdkOverlayOrigin","",1,"keep-focus-ring",3,"href","rel","click"],["trigger","cdkOverlayOrigin"],[4,"ngIf"],["el",""],["cdkConnectedOverlay","","cdkConnectedOverlayPanelClass","tooltip-panel",
3,"cdkConnectedOverlayPush","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],["svgIcon","link",1,"icon-s"],[1,"b-bubble",3,"clickOutside"],[1,"gmat-caption"],["target","_blank",1,"keep-focus-ring",3,"href","rel","click","keydown"],["mat-button","","matTooltip","Copy to clipboard","aria-label","Copy URL to clipboard",1,"tiny",3,"keydown.Tab","click"],["svgIcon","copy"]],template:function(a,b){a&1&&(Lf(),E(0,"a",0,1),M("click",function(d){Xxa(d)||(d.preventDefault(),d.stopPropagation(),i4b(b)?
b.opened=!b.opened:cAa(b,d))}),C(2,bAa,2,0,"b-glue",2),E(3,"span",null,3),Mf(5),G()(),C(6,fAa,6,3,"ng-template",4));if(a&2){var c=Q(1);yf("needs-user-confirm",i4b(b));D("href",b.originalHref,Pd)("rel",b.EXTERNAL_LINK_REL);y(2);D("ngIf",i4b(b));y(4);D("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[dw,hB,Ey,Dy,GE,KE,nA,PC],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 HF=function(a,b){this.session=a;this.userPreferencesManager=b;this.textDisplayPreferences$=this.userPreferencesManager.preferences$.pipe(B(function(c){return c.textDisplayPreferences?c.textDisplayPreferences:{}}),Te());this.textDisplayPreferences$.pipe(B(function(c){return c.lastPublishMode===F1b}),Te());this.commentDisplayOverride$=this.textDisplayPreferences$.pipe(B(function(c){return c.commentDisplayOverride}),Te())};HF.\u0275fac=function(a){return new (a||HF)(p(nt),p(BE))};
HF.\u0275prov=vc({token:HF,factory:HF.\u0275fac,providedIn:"root"});var j4b=new Xc("IssueCard");var IF=function(){};IF.prototype.visit=function(){};IF.\u0275fac=function(a){return new (a||IF)};IF.\u0275prov=vc({token:IF,factory:IF.\u0275fac,providedIn:"root"});var gAa;var JF=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new zv;this.clickHandler=function(c){if(c instanceof MouseEvent){var d=c.target;d&&(b.elementRef.nativeElement.contains(d)||b.clickOutside.emit(c))}}};JF.prototype.ngOnInit=function(){this.getRoot().addEventListener(this.eventType,this.clickHandler,!0)};JF.prototype.ngOnDestroy=function(){this.getRoot().removeEventListener(this.eventType,this.clickHandler,!0)};
JF.prototype.getRoot=function(){var a;return null!=(a=hAa(this.elementRef.nativeElement))?a:document};JF.\u0275fac=function(a){return new (a||JF)(A(Ad))};JF.\u0275dir=Qc({type:JF,selectors:[["","clickOutside",""]],inputs:{eventType:[0,"clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var KF=function(){};KF.\u0275fac=function(a){return new (a||KF)};KF.\u0275mod=Nc({type:KF});KF.\u0275inj=wc({});var k4b=Symbol("rc"),l4b=Symbol("sc"),LF=function(a){this.viewContainerRef=a;this.className="onedev-hovercard";this.onHide=new zv;this[k4b]=new W.ReplaySubject(1);this.wasTriggeredByKeyboard=!1;this.isOnHover$=new W.BehaviorSubject(!1);this.closeHovercard$=new W.Subject};LF.prototype.ngOnInit=function(){};var m4b=function(a){var b=a[l4b];return b?(b.loaded||(b.viewContainerRef.createEmbeddedView(b.templateRef),b.cdr.detectChanges(),b.loaded=!0),a[k4b].pipe(Se(0))):(0,W.of)(void 0)};
LF.\u0275fac=function(a){return new (a||LF)(A(Sf))};
LF.\u0275cmp=Lc({type:LF,selectors:[["onedev-hovercard"]],viewQuery:function(a,b){a&1&&Uf(Rf,7);if(a&2){var c;Yf(c=Zf())&&(b.templateRef=c.first)}},inputs:{className:"className"},outputs:{onHide:"onHide"},exportAs:["onedevHovercard"],ngContentSelectors:["*"],decls:1,vars:0,consts:[["cdkTrapFocus","",3,"cdkTrapFocusAutoCapture","clickOutside","mouseenter","mouseleave"]],template:function(a){a&1&&(Lf(),C(0,iAa,2,3,"ng-template"))},dependencies:[mx,JF],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 MF=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.cdr=c;this.loaded=!1;d[l4b]=this};MF.\u0275fac=function(a){return new (a||MF)(A(Rf),A(Sf),A(Uu),A(LF))};MF.\u0275dir=Qc({type:MF,selectors:[["","onedevHovercardLazyBody",""]]});var NF=function(a){this.hovercard=a;this.destroyed$=new W.ReplaySubject(1)};NF.prototype.ngOnDestroy=function(){this.destroyed$.next()};NF.prototype.ngOnInit=function(){this.isHovercardReady$.pipe(ef(this.destroyed$)).subscribe(this.hovercard[k4b])};
NF.\u0275fac=function(a){return new (a||NF)(A(LF))};NF.\u0275dir=Qc({type:NF,selectors:[["","onedevIsHovercardReady",""]],inputs:{isHovercardReady$:[0,"onedevIsHovercardReady","isHovercardReady$"]}});var n4b={originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:10},o4b={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-10},p4b={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-10},q4b=[{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:10},n4b,p4b,{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 OF=function(){this.delay=600;this.position=q4b;this.triggerKey=[]},PF=function(a,b){var c=this;this.overlay=a;this.origin=b;this.waitFor$=void 0;this.enabled=!0;this.config=new OF;this.active=!1;this.hovercardShown$=new W.ReplaySubject(1);this.hide$=new W.Subject;this.hovercard$=new W.BehaviorSubject(null);this.isHovered$=new W.BehaviorSubject(!1);this.isKeyboardActivated$=new W.BehaviorSubject(!1);this.destroyed$=new W.ReplaySubject(1);this.onDocumentKeyDown=function(d){"Escape"===d.key&&(r4b(c),
d.stopPropagation(),d.preventDefault())};s4b(this);this.handleClose()},s4b=function(a){t4b(a).pipe(ef(a.destroyed$)).subscribe(function(b){(a.active=b)?a.show():a.hide()})};PF.prototype.handleClose=function(){var a=this;this.hovercard$.pipe(df(function(b){return(null==b?void 0:b.closeHovercard$)||W.NEVER}),ef(this.destroyed$)).subscribe(function(){r4b(a)})};PF.prototype.dispose=function(){u4b(this);var a;null==(a=this.overlayRef)||a.dispose();this.destroyed$.next();this.destroyed$.complete()};
PF.prototype.isExpanded=function(){return this.hovercard$.getValue()?this.active:void 0};PF.prototype.toggle=function(a){this.isHovered$.next(a)};var r4b=function(a){a.isKeyboardActivated$.next(!1);a.isHovered$.next(!1);var b;null==(b=a.hovercard$.getValue())||b.isOnHover$.next(!1)};
PF.prototype.show=function(){var a=this;this.enabled&&this.overlayRef&&!this.overlayRef.hasAttached()&&this.hovercard$.getValue()&&(this.hovercard$.getValue().wasTriggeredByKeyboard=this.isKeyboardActivated$.value,m4b(this.hovercard$.getValue()).pipe(Ue(),ef(this.destroyed$)).subscribe(function(){a.overlayRef&&a.templatePortal&&a.overlayRef.attach(a.templatePortal);document.addEventListener("keydown",a.onDocumentKeyDown);a.hovercardShown$.next()}))};PF.prototype.hide=function(){u4b(this);this.hide$.next()};
var u4b=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()}};PF.prototype.getPositionStrategy=function(){return vy(wy(xy(By(this.overlay.position(),this.origin)),8),this.config.position)};
var t4b=function(a){return(0,W.combineLatest)([v4b(a).pipe(cf(!1)),a.isKeyboardActivated$]).pipe(bf(1),B(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b||c}),df(function(b){var c;return(null==(c=a.waitFor$)?void 0:c.pipe(Ye(b)))||(0,W.of)(b)}))},v4b=function(a){return a.hovercard$.pipe(df(function(b){return(0,W.combineLatest)([a.isHovered$,(null==b?void 0:b.isOnHover$)||(0,W.of)(!1)]).pipe(B(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c||d}),Re(a.config.delay),
ef(a.destroyed$))}))};var w4b=new Xc("onedevHovercardLoggingOn"),QF=function(a,b,c,d,e){var f=this;this.viewContainerRef=c;this.injector=e;this.config=new OF;this.onHovercardShown=new zv;this.destroyed$=new W.ReplaySubject(1);this.triggerControl=new PF(a,b);this.triggerControl.hovercardShown$.pipe(gf(d||(0,W.of)(!1)),ef(this.destroyed$)).subscribe(function(h){h=l(h);h.next();h=h.next().value;f.onHovercardShown.emit();h&&(f.clientStreamzService||(f.clientStreamzService=f.injector.get(qC)),rC(f.clientStreamzService,"hovercardShown",
!0))})};g=QF.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 Ux(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()};
Vg.Object.defineProperties(QF.prototype,{enabled:{configurable:!0,enumerable:!0,set:function(a){this.triggerControl.enabled=a}}});QF.\u0275fac=function(a){return new (a||QF)(A(Cy),A(Ad),A(Sf),A(w4b,8),A(He))};
QF.\u0275dir=Qc({type:QF,selectors:[["","onedevHovercardTrigger",""]],hostVars:2,hostBindings:function(a,b){a&1&&M("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&&pf("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:[ed]});var x4b=["el"],RF=function(a){this.viewContainerRef=a};RF.\u0275fac=function(a){return new (a||RF)(A(Sf))};RF.\u0275dir=Qc({type:RF,selectors:[["","issueCardHost",""]]});var SF=function(a,b){Y.call(this);this.issueReferenceResolver=a;this.issueCard=b;this.hovercardReady=new W.ReplaySubject(1)};X(SF,Y);SF.\u0275dir=Y.\u0275dir;SF.prototype.ngOnInit=function(){};
SF.prototype.ngAfterViewInit=function(){var a=this;this.issueCardHost.changes.pipe(ef(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(Ue(),ef(a.destroyed$)).subscribe(a.hovercardReady),b.changeDetectorRef.detectChanges())})};
SF.prototype.visit=function(a){if(!Xxa(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})}};SF.\u0275fac=function(a){return new (a||SF)(A(IF),A(j4b,8))};
SF.\u0275cmp=Lc({type:SF,selectors:[["b-issue-reference-widget"]],viewQuery:function(a,b){a&1&&(Uf(x4b,7),Uf(RF,5));if(a&2){var c;Yf(c=Zf())&&(b.el=c.first);Yf(c=Zf())&&(b.issueCardHost=c)}},inputs:{href:"href",issueId:"issueId",commentNumber:"commentNumber"},features:[nf],ngContentSelectors:["*"],decls:6,vars:3,consts:[["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady",4,"onedevHovercardLazyBody"],[1,"keep-focus-ring",3,"onedevHovercardTrigger","onedevHovercardActive","href","click"],
["el",""],[3,"onedevIsHovercardReady"],["issueCardHost",""]],template:function(a,b){a&1&&(Lf(),E(0,"onedev-hovercard",null,0),C(2,jAa,2,1,"div",1),G(),E(3,"a",2,3),M("click",function(d){return b.visit(d)}),Mf(5),G());if(a&2){var c=Q(1);y(3);D("onedevHovercardTrigger",c)("onedevHovercardActive",!!b.issueCard)("href",b.href,Pd)}},dependencies:[LF,MF,QF,NF,RF],encapsulation:2,changeDetection:0});var kAa=window,AAa=function(){return{count:0,duration:0,transferSize:0,cacheHits:0,cacheHitRate:0}},y4b=function(a){if(Ym())try{window.performance.mark(a)}catch(b){console.warn("route_performance",b)}};var CAa=Di("debug-logging")(),Zm=window,z4b,zAa=!1;var Sp={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",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 A4b=function(a){return"action/issues/"+a+"/statusUpdate"},Vs={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"},B4b={ISSUE_ID:"issueId",COMPONENT_ID:"componentId",GROUP_ID:"groupId",HOTLIST_ID:"hotlistId",SAVED_SEARCH_ID:"savedSearchId",SLO_ID:"sloId",TEAM_ID:"teamId"};var TF=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,""]]),UF=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 VF={},C4b=(VF.STATUS_UNSPECIFIED=UF.get(0),VF.NEW=UF.get(1),VF.ASSIGNED=UF.get(2),VF.ACCEPTED=UF.get(3),VF.FIXED=UF.get(4),VF.VERIFIED=UF.get(5),VF.DUPLICATE=UF.get(10),VF.INFEASIBLE=UF.get(9),VF.NOT_REPRODUCIBLE=UF.get(6),VF.OBSOLETE=UF.get(8),VF.INTENDED_BEHAVIOR=UF.get(7),VF),WF={},hCa=(WF.STATUS_UNSPECIFIED=0,WF.NEW=10,WF.ASSIGNED=20,WF.ACCEPTED=30,WF.FIXED=40,WF.VERIFIED=50,WF.DUPLICATE=60,WF.INFEASIBLE=70,WF.NOT_REPRODUCIBLE=80,WF.OBSOLETE=90,WF.INTENDED_BEHAVIOR=100,WF),XF={},D4b=(XF.ASSIGNED=
!0,XF.ACCEPTED=!0,XF.FIXED=!0,XF.VERIFIED=!0,XF.DUPLICATE=!0,XF.INFEASIBLE=!0,XF.NOT_REPRODUCIBLE=!0,XF.OBSOLETE=!0,XF.INTENDED_BEHAVIOR=!0,XF),YF={},mn=(YF.STATUS_UNSPECIFIED=TF.get(0),YF.NEW=TF.get(1),YF.ASSIGNED=TF.get(2),YF.ACCEPTED=TF.get(3),YF.FIXED=TF.get(4),YF.VERIFIED=TF.get(5),YF.DUPLICATE=TF.get(10),YF.INFEASIBLE=TF.get(9),YF.NOT_REPRODUCIBLE=TF.get(6),YF.OBSOLETE=TF.get(8),YF.INTENDED_BEHAVIOR=TF.get(7),YF),ZF={},E4b=(ZF.P0="P0",ZF.P1="P1",ZF.P2="P2",ZF.P3="P3",ZF.P4="P4",ZF.PRIORITY_UNSPECIFIED=
"--",ZF),$F={},pCa=($F.P0=0,$F.P1=10,$F.P2=20,$F.P3=30,$F.P4=40,$F.PRIORITY_UNSPECIFIED=99,$F),aG={},F4b=(aG.S0="S0",aG.S1="S1",aG.S2="S2",aG.S3="S3",aG.S4="S4",aG.SEVERITY_UNSPECIFIED="--",aG),bG={},G4b=(bG.STATUS_UNSPECIFIED="issue-status-wont-fix",bG.NEW="issue-status-new",bG.ASSIGNED="issue-status-assigned",bG.ACCEPTED="issue-status-accepted",bG.FIXED="issue-status-fixed",bG.VERIFIED="issue-status-verified",bG.DUPLICATE="issue-status-duplicate",bG.INFEASIBLE="issue-status-wont-fix",bG.NOT_REPRODUCIBLE=
"issue-status-wont-fix",bG.OBSOLETE="issue-status-wont-fix",bG.INTENDED_BEHAVIOR="issue-status-wont-fix",bG);var cG={},Fn=(cG.NEW=nn("NEW",!0,"FORBIDDEN",10),cG.ASSIGNED=nn("ASSIGNED",!0,"REQUIRED",20),cG.ACCEPTED=nn("ACCEPTED",!0,"REQUIRED",30),cG.FIXED=nn("FIXED",!1,"REQUIRED",40),cG.VERIFIED=nn("VERIFIED",!1,"REQUIRED",50),cG.DUPLICATE=nn("DUPLICATE",!1,"ALLOWED",60),cG.INFEASIBLE=nn("INFEASIBLE",!1,"ALLOWED",70),cG.NOT_REPRODUCIBLE=nn("NOT_REPRODUCIBLE",!1,"ALLOWED",80),cG.OBSOLETE=nn("OBSOLETE",!1,"ALLOWED",90),cG.INTENDED_BEHAVIOR=nn("INTENDED_BEHAVIOR",!1,"ALLOWED",100),cG),H4b=[Fn.NEW,Fn.ASSIGNED,
Fn.ACCEPTED,Fn.FIXED,Fn.VERIFIED,Fn.NOT_REPRODUCIBLE,Fn.INTENDED_BEHAVIOR,Fn.OBSOLETE,Fn.INFEASIBLE,Fn.DUPLICATE],I4b=H4b.map(function(a){return{value:a.status,displayText:a.displayValue}}),J4b=new Set(Object.values($b(Fn,function(a){return"REQUIRED"===a.assigneeRequirement})));var K4b=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.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"};
K4b.prototype.setData=function(a,b,c){this.issueId=b;a=Uh(a);a.status=a.status||"NEW";a.blockingIssueId=a.blockingIssueId||[];a.componentId=a.componentId||0;a.changelist=a.changelist||[];a.postmortems=a.postmortems||[];a.blockedByIssueId=a.blockedByIssueId||[];a.foundInVersion=a.foundInVersion||[];a.hotlistId=a.hotlistId||[];a.targetedToVersion=a.targetedToVersion||[];a.verifiedInVersion=a.verifiedInVersion||[];a.customField=a.customField||[];a.deletionReason=a.deletionReason||null;a.duplicateOfIssueId=
a.duplicateOfIssueId||null;a.isDeleted=a.isDeleted||!1;this.originalModelData=Uh(a);this.assignee=Gi(a.assigneeUser);this.assigneeUser=a.assigneeUser;this.blockedByIssueId=a.blockedByIssueId;this.blockingIssueId=a.blockingIssueId;this.cc=Ii(a.ccUsers)||[];this.ccUsers=a.ccUsers||[];this.collaborators=Ii(a.collaboratorsUsers)||[];this.collaboratorsUsers=a.collaboratorsUsers||[];this.changelist=a.changelist;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=Gi(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=Gi(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 L4b(f)}));c=l(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 L4b({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 N4b=function(a){for(var b=[],c=l(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next()){d=d.value;var e=M4b(a,d.customFieldId);if(!Th(e?jn(e):null,jn(d))){if(e=kn(d))d.textValue="";b.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}}if(a.originalModelData){dG(Gi(a.originalModelData.assigneeUser),a.assignee,"assignee",b);dG(a.originalModelData.componentId,a.componentId,"componentId",b,!0);dG(a.originalModelData.deletionReason,a.deletionReason,"deletionReason",
b);dG(a.originalModelData.duplicateOfIssueId,a.duplicateOfIssueId,"duplicateOfIssueId",b);dG(a.originalModelData.inProd,a.inProd,"inProd",b);dG(a.originalModelData.isArchived,a.isArchived,"isArchived",b);dG(a.originalModelData.isDeleted,a.isDeleted,"isDeleted",b);dG(a.originalModelData.priority,a.priority,"priority",b);dG(Gi(a.originalModelData.reporterUser),a.reporter,"reporter",b);dG(a.originalModelData.severity,a.severity,"severity",b);dG(a.originalModelData.status,a.status,"status",b);dG(a.originalModelData.title,
a.title,"title",b);dG(a.originalModelData.type,a.type,"type",b);dG(Gi(a.originalModelData.verifierUser),a.verifier,"verifier",b);var f,h,k,q;dG(null!=(k=null==(f=a.originalModelData.sloStartTime)?void 0:f.seconds)?k:null,null!=(q=null==(h=a.sloStartTime)?void 0:h.seconds)?q:null,"sloStartTime",b);var t,w,z,F;dG(null!=(z=null==(t=a.originalModelData.sloEndTime)?void 0:t.seconds)?z:null,null!=(F=null==(w=a.sloEndTime)?void 0:w.seconds)?F:null,"sloEndTime",b);dG(a.originalModelData.sloSnoozeType,a.sloSnoozeType,
"sloSnoozeType",b);var J,H;dG(null!=(H=null==(J=a.originalModelData.effort)?void 0:J.estimate)?H:null,a.effortEstimate,"effortEstimate",b);eG(Ii(a.originalModelData.ccUsers),a.cc,"ccs",b);eG(Ii(a.originalModelData.collaboratorsUsers),a.collaborators,"collaborators",b);eG(a.originalModelData.changelist,a.changelist,"changelists",b);eG(a.originalModelData.blockedByIssueId,a.blockedByIssueId,"blockedByIssueId",b);eG(a.originalModelData.blockingIssueId,a.blockingIssueId,"blockingIssueId",b);eG(a.originalModelData.foundInVersion,
a.foundInVersion,"foundInVersion",b);eG(a.originalModelData.targetedToVersion,a.targetedToVersion,"targetedToVersion",b);eG(a.originalModelData.verifiedInVersion,a.verifiedInVersion,"verifiedInVersion",b);eG(a.originalModelData.hotlistId,a.hotlistId,"hotlists",b)}return b.length?{issueId:a.issueId,actions:b}:null},dG=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))},eG=function(a,b,c,d){var e=osa(b||[],new Set(a));a=osa(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=K4b.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:Nh(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=Fn[this.status];!this.assignee&&this.originalModelData&&Gi(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&&Gi(this.originalModelData.verifierUser)&&"VERIFIED"===this.originalModelData.status&&(this.status="FIXED")};
g.setStatus=function(a){this.status=a;a=Fn[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 M4b=function(a,b){return a.originalModelData?(a=(a.originalModelData.customField||[]).find(function(c){return c.customFieldId===b}))?a:null:null},L4b=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};L4b.prototype.isRepeated=function(){return null==this.type?!1:["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var O4b=new Map([["assignee",function(a,b){a.assigneeUser=Oi(b.assignee)}],["ccs",function(a,b){a.ccUsers=b.cc.map(Oi).filter(Bi)}],["changelists",function(a,b){a.changelist=b.changelist}],["hotlists",function(a,b){a.hotlistId=b.hotlistId}],["reporter",function(a,b){a.reporterUser=Oi(b.reporter)}],["verifier",function(a,b){a.verifierUser=Oi(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 fG=function(a){this.snackBar=a};fG.prototype.open=function(a){var b=a.message,c=a.duration,d=a.snackbarType;a={dismissLabel:a.dismissLabel,actionLabel:a.actionLabel,snackbarType:d};"string"===typeof b?a.message=b:a.htmlMessage=b;switch(d){case "ERROR":b="error";break;default:b=void 0}b={data:a,panelClass:b};c&&(b.duration=c);return this.snackBar._attach(gG,b)};fG.\u0275fac=function(a){return new (a||fG)(p(SE))};fG.\u0275prov=vc({token:fG,factory:fG.\u0275fac,providedIn:"root"});
var gG=function(a,b){this.data=a;this.snackBarRef=b};gG.\u0275fac=function(a){return new (a||gG)(A($1b),A(ME))};
gG.\u0275cmp=Lc({type:gG,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&&(E(0,"div",0),C(1,PAa,2,1,"span",1)(2,
QAa,1,1,"span",2),E(3,"div",3),C(4,SAa,2,1,"button",4)(5,TAa,2,1,"button",4)(6,UAa,2,0,"button",5),G()());a&2&&(y(),D("ngIf",!b.data.htmlMessage),y(),D("ngIf",b.data.htmlMessage),y(2),D("ngIf",b.data.actionLabel),y(),D("ngIf",b.data.dismissLabel),y(),D("ngIf",!b.data.dismissLabel))},dependencies:[dw,hB,nA],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 hG=function(a){this.snackbar=a};hG.prototype.dismiss=function(){this.lastSnackbar&&this.lastSnackbar.dismiss()};var Ks=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})},P4b=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})};hG.prototype.showWarning=function(a,b){this.open({message:a,duration:void 0===b?0:b,snackbarType:"ERROR"})};hG.prototype.open=function(a){return this.lastSnackbar=a=this.snackbar.open(a)};hG.\u0275fac=function(a){return new (a||hG)(p(fG))};
hG.\u0275prov=vc({token:hG,factory:hG.\u0275fac,providedIn:"root"});var iG=function(a){this.$window=a};iG.\u0275fac=function(a){return new (a||iG)(p(uE))};iG.\u0275prov=vc({token:iG,factory:iG.\u0275fac,providedIn:"root"});var jG=function(a){this.session=a;this.baseDocumentationUrl=a.getDocumentationBaseUrl()},np=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control":a.baseDocumentationUrl+"/concepts/access-control"},Q4b=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"};
jG.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 R4b=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/automation-access":np(a)},fWa=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/external-access":"http://go/buganizer-external-access"},S4b=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/public-access":"http://go/buganizer-public-access"},T4b=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"},hmb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/guides/manage-component#enabling-comment-editing"},U4b=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/external-access":"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-dos-donts#moving-issues-to-a-new-component"},ht=function(){return"http://go/buganizer-retention"};
jG.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 nFb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/custom-fields"};jG.prototype.getDisablingFieldsHelpLink=function(){return nFb()+"#hiding-inherited-fields"};
var V4b=function(a){return a.session.isInternalSession()?"http://go/delete-comments-attachments":""};jG.\u0275fac=function(a){return new (a||jG)(p(nt))};jG.\u0275prov=vc({token:jG,factory:jG.\u0275fac,providedIn:"root"});var kG=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};kG.\u0275fac=function(a){return new (a||kG)(A(BA),A(DA))};
kG.\u0275cmp=Lc({type:kG,selectors:[["b-confirmation-dialog"]],decls:7,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"innerHTML"],["mat-dialog-actions",""],["mat-button","","class","gmat-button medium",3,"click",4,"ngIf"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium",3,"color","click"],["mat-button","",1,"gmat-button","medium",3,"click"]],template:function(a,b){a&1&&(E(0,"h1",0),R(1),G(),I(2,"div",1),E(3,"div",2),C(4,VAa,2,1,"button",3),E(5,"button",4),M("click",
function(){return b.dialogRef.close(!0)}),R(6),G()());a&2&&(y(),$f(b.data.title),y(),D("innerHTML",b.data.content,Od),y(2),D("ngIf",b.showCancelButton),y(),D("color",b.confirmButtonTheme),y(),S(" ",b.confirmButtonText," "))},dependencies:[dw,nA,GA,HA,IA],encapsulation:2});var lG=function(a){this.dialog=a},W4b=function(a,b){return new Promise(function(c){a.open(Object.assign({},b,{onConfirm:function(){c(!0)},onDismiss:function(){c(!1)}}))})};
lG.prototype.open=function(a){var b=a.onConfirm,c=a.onDismiss;this.dialog.open(kG,{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()})};lG.\u0275fac=function(a){return new (a||lG)(p(EA))};lG.\u0275prov=vc({token:lG,factory:lG.\u0275fac,providedIn:"root"});var mG=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.confirmationDialogService=c},X4b=function(a,b){return new Promise(function(c){nG(a,b,function(){c(!0)},function(){c(!1)})})},nG=function(a,b,c,d){if(a.activeSession.isExternalSession())c&&c();else{var e="",f=gh("");if("VULNERABILITY"===b)e="Set the issue type to \u201cVulnerability\u201d?",b={},f=ih([gh('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}),jh("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=ih([gh('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}),jh("a",(b.href="http://goto.google.com/pib-slo",b.target=
"_blank",b),"Learn more"),gh(".\n\nDO NOT use this type to file ",{preserveNewlines:!0}),jh("a",(f.href="http://goto.google.com/incident-response-policy",f.target="_blank",f),"privacy incidents"),gh(". Incidents should be filed at ",{preserveNewlines:!0}),jh("a",(h.href="http://goto.google.com/privacy-incidents",h.target="_blank",h),"go/privacy-incidents"),gh(".\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(){}})}};mG.\u0275fac=function(a){return new (a||mG)(p(nt),p(jG),p(lG))};mG.\u0275prov=vc({token:mG,factory:mG.\u0275fac,providedIn:"root"});var Y4b=function(a,b){this.childIterator_=a[ca.Symbol.iterator]();this.mapFn_=b};Y4b.prototype[Symbol.iterator]=function(){return this};Y4b.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 Z4b=function(a,b){return new Y4b(a,b)};var oG=function(){};oG.prototype.next=function(){return $4b};var $4b={done:!0,value:void 0};oG.prototype.__iterator__=function(){return this};var a5b=function(a){if(a instanceof pG||a instanceof qG||a instanceof rG)return a;if("function"==typeof a.next)return new pG(function(){return a});if("function"==typeof a[Symbol.iterator])return new pG(function(){return a[Symbol.iterator]()});if("function"==typeof a.__iterator__)return new pG(function(){return a.__iterator__()});throw Error("tc");},pG=function(a){this.func_=a};pG.prototype.__iterator__=function(){return new qG(this.func_())};pG.prototype[Symbol.iterator]=function(){return new rG(this.func_())};
pG.prototype.toEs6=function(){return new rG(this.func_())};var qG=function(a){this.iter_=a};X(qG,oG);qG.prototype.next=function(){return this.iter_.next()};qG.prototype[Symbol.iterator]=function(){return new rG(this.iter_)};qG.prototype.toEs6=function(){return new rG(this.iter_)};var rG=function(a){pG.call(this,function(){return a});this.iter_=a};X(rG,pG);rG.prototype.next=function(){return this.iter_.next()};var sG=function(a,b){this.map_={};this.keys_=[];this.version_=this.size=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Q");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};g=sG.prototype;g.getCount=function(){return this.size};g.getValues=function(){tG(this);for(var a=[],b=0;b<this.keys_.length;b++)a.push(this.map_[this.keys_[b]]);return a};g.getKeys=function(){tG(this);return this.keys_.concat()};g.containsKey=function(a){return this.has(a)};
g.has=function(a){return uG(this.map_,a)};g.containsValue=function(a){for(var b=0;b<this.keys_.length;b++){var c=this.keys_[b];if(uG(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||b5b;tG(this);for(var c,d=0;c=this.keys_[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var b5b=function(a,b){return a===b};sG.prototype.isEmpty=function(){return 0==this.size};
sG.prototype.clear=function(){this.map_={};this.keys_.length=0;this.setSizeInternal_(0);this.version_=0};sG.prototype.remove=function(a){return this.delete(a)};sG.prototype.delete=function(a){return uG(this.map_,a)?(delete this.map_[a],this.setSizeInternal_(this.size-1),this.version_++,this.keys_.length>2*this.size&&tG(this),!0):!1};
var tG=function(a){if(a.size!=a.keys_.length){for(var b=0,c=0;b<a.keys_.length;){var d=a.keys_[b];uG(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],uG(e,d)||(a.keys_[c++]=d,e[d]=1),b++;a.keys_.length=c}};g=sG.prototype;g.get=function(a,b){return uG(this.map_,a)?this.map_[a]:b};g.set=function(a,b){uG(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 sG)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 sG(this)};g.keys=function(){return a5b(this.__iterator__(!0)).toEs6()};g.values=function(){return a5b(this.__iterator__(!1)).toEs6()};g.entries=function(){var a=this;return Z4b(this.keys(),function(b){return[b,a.get(b)]})};
g.__iterator__=function(a){tG(this);var b=0,c=this.version_,d=this,e=new oG;e.next=function(){if(c!=d.version_)throw Error("uc");if(b>=d.keys_.length)return $4b;var f=d.keys_[b++];return{value:a?f:d.map_[f],done:!1}};return e};g.setSizeInternal_=function(a){this.size=a};var uG=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var vG=function(a,b,c){this.maxCount_=a||null;this.cache_=!!b;this.evictionCallback_=c;this.map_=new sG;this.head_=new c5b("");this.head_.next=this.head_.prev=this.head_},e5b=function(a,b){(b=a.map_.get(b))&&a.cache_&&(b.remove(),d5b(a,b));return b};vG.prototype.get=function(a,b){return(a=e5b(this,a))?a.value:b};var f5b=function(a,b){return(a=a.map_.get(b))?a.value:void 0};g=vG.prototype;g.set=function(a,b){var c=e5b(this,a);c?c.value=b:(c=new c5b(a,b),this.map_.set(a,c),d5b(this,c))};
g.shift=function(){return g5b(this,this.head_.next)};g.pop=function(){return g5b(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(){h5b(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 d5b=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_&&h5b(a,a.maxCount_)},h5b=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)}},g5b=function(a,b){a.head_!=b&&a.removeNode(b);return b.value},c5b=function(a,b){this.key=a;this.value=b};
c5b.prototype.remove=function(){this.prev.next=this.next;this.next.prev=this.prev;delete this.prev;delete this.next};var i5b=function(a,b){this.rawGet=a;this.cacheSize=b;this.lruCache=new vG(this.cacheSize,!0,function(c,d){d.subscription.unsubscribe()})};i5b.prototype.get=function(a){var b=this;return new W.Observable(function(c){var d=b.lruCache.get(a);d||(d=j5b(b,a));return d.obs$.subscribe(c)})};
var j5b=function(a,b){var c=a.rawGet(b).pipe(af({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 k5b(c,d);a.lruCache.set(b,c);return c},k5b=function(a,b){this.obs$=a;this.subscription=b};var wG=function(a){this.internalArray_=m(a,0,wG.messageId)};X(wG,n);wG.repeatedFields_=[1];wG.messageId="b.TimeZoneDataList";var xG=function(a,b){var c=this;this.executor=a;this.activeSession=b;this.memoized=new i5b(function(d){a:{var e=l(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,W.of)(e):c.executor.get({url:"action/timezone/"+encodeURIComponent(d),responseConstructor:Kj}).pipe(B(zsa))},10)};xG.prototype.get=function(a){return this.memoized.get(a)};
var l5b=function(a){return a.executor.get({url:"action/timezone",responseConstructor:wG}).pipe(B(function(b){return null==b?void 0:gi(b,Kj,1,hi()).map(function(c){c=zsa(c);var d=DTb(FTb(c,new Date));return{id:c.timeZoneId_,displayName:"("+d+") - "+c.timeZoneId_,gmt:d}})}))};xG.\u0275fac=function(a){return new (a||xG)(p(QD),p(nt))};xG.\u0275prov=vc({token:xG,factory:xG.\u0275fac,providedIn:"root"});var ZAa=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var m5b=Symbol("vc"),n5b=Symbol("wc"),yG=Symbol("xc"),zG=function(){};zG.prototype.schedule=function(a,b){b=void 0===b?0:b;var c=un(),d=c.promise;b=setTimeout(function(){try{var e=a()}catch(f){c.reject(f);d[yG]=!0;return}c.resolve(e);d[yG]=!0},b);d[m5b]=b;d[n5b]=c.reject;d[yG]=!1;return c.promise};zG.prototype.cancel=function(a){var b=a[m5b];if(null==b||a[yG])return!1;clearTimeout(b);var c;null==(c=a[n5b])||c.call(a,Error("yc"));return a[yG]=!0};zG.\u0275fac=function(a){return new (a||zG)};
zG.\u0275prov=vc({token:zG,factory:zG.\u0275fac,providedIn:"root"});var AG=function(a,b,c,d){this.butterBar=a;this.activeSession=b;this.$log=c;this.timeout=d};
AG.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.":tn(b)?tn(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 BG=function(a,b){a.$log.warn(b);a.butterBar.showWarning(b)},CG=function(a,b){if(sn(b))a.errorHandler(null,b);else throw b;};AG.\u0275fac=function(a){return new (a||AG)(p(hG),p(nt),p(DF),p(zG))};AG.\u0275prov=vc({token:AG,factory:AG.\u0275fac,providedIn:"root"});var o5b=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"],["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"]]),p5b=["P0","P1","P2","P3","P4"],q5b="NEW ASSIGNED ACCEPTED FIXED VERIFIED NOT_REPRODUCIBLE INTENDED_BEHAVIOR OBSOLETE INFEASIBLE DUPLICATE".split(" "),r5b="BUG FEATURE_REQUEST CUSTOMER_ISSUE INTERNAL_CLEANUP PROCESS VULNERABILITY PRIVACY_ISSUE PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" "),s5b=["S0","S1","S2","S3","S4"],t5b=new Map([["PRIORITY_UNSPECIFIED","(Unspecified Priority)"],["P0","P0"],["P1","P1"],["P2","P2"],["P3","P3"],["P4",
"P4"]]),u5b=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"],["PROJECT","Project"],["FEATURE","Feature"],["MILESTONE","Milestone"],["EPIC","Epic"],["STORY","Story"],["TASK","Task"]]),v5b=new Set("PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" ")),w5b=r5b.map(function(a){return{value:a,
displayText:ln(a),altText:o5b.get(a)}}),DG=function(){this.priorities=p5b;this.severities=s5b;this.editIssueTypes=r5b;this.editIssueTypeChoices=w5b;this.issueTypesDisplayNames=u5b;this.issueTypesShortDescriptions=o5b;this.issuePrioritiesDisplayNames=t5b;this.supportedTimeZones=[{name:"Local time",id:""},{name:"UTC",id:"UTC"},{name:"America/Los_Angeles",id:"America/Los_Angeles"}]};DG.\u0275fac=function(a){return new (a||DG)};DG.\u0275prov=vc({token:DG,factory:DG.\u0275fac,providedIn:"root"});var EG=function(a,b,c,d){Y.call(this);var e=this;this.errorHandler=d;this.cachedFormatters=new Map;this.formatPrefChange$=new W.Subject;this.userTimeZone=null;this.timeZones={};this.userPrefs=YD.dateTimePreferences;Promise.all(c.supportedTimeZones.map(function(f){if(""===f.id)return Promise.resolve({name:"",timeZone:null});var h=b.get(f.id).pipe(ef(e.destroyed$));return(0,W.firstValueFrom)(h).then(function(k){return{name:f.name,timeZone:k}})})).then(function(f){f=l(f);for(var h=f.next();!h.done;h=
f.next())h=h.value,e.timeZones[h.name]=h.timeZone;a.preferences$.pipe(ef(e.destroyed$)).subscribe(function(k){k.dateTimePreferences&&(k=k.dateTimePreferences,e.userPrefs=k,e.userTimeZone=e.timeZones[k.timeZone],e.formatPrefChange$.next())})}).catch(function(f){e.errorHandler.errorHandler(null,f)})};X(EG,Y);EG.\u0275dir=Y.\u0275dir;EG.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d||(d=new sz(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};
var x5b=function(a,b){return a.formatPrefChange$.subscribe(b)};EG.prototype.formatUserCalendar=function(a){return this.format(this.userPrefs.calendarFormat,this.userTimeZone,a)};EG.prototype.formatUserTime=function(a){return this.format(this.userPrefs.timeFormat,this.userTimeZone,a)};EG.\u0275fac=function(a){return new (a||EG)(p(BE),p(xG),p(DG),p(AG))};EG.\u0275prov=vc({token:EG,factory:EG.\u0275fac,providedIn:"root"});var FG=function(a){this.dateFormatter=a};
FG.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(gn(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(gn(c))}).join(", ");if(a.repeatedEnumValue)return a.repeatedEnumValue.values.join(", ");
if(a.repeatedNumericValue)return a.repeatedNumericValue.values.join(", ")}return""};FG.\u0275fac=function(a){return new (a||FG)(p(EG))};FG.\u0275prov=vc({token:FG,factory:FG.\u0275fac,providedIn:"root"});var GG=function(a){this.internalArray_=m(a)};X(GG,n);GG.prototype.getIssueId=function(){return kj(this,1)};GG.prototype.getIssueId_asLegacyNumberOrString=function(){return kj(this,1)};GG.prototype.getIssueId_asString=function(){return au(this,1)};GG.prototype.setIssueId=function(a){return Qj(this,1,a)};var HG=function(a){this.internalArray_=m(a,0,HG.messageId)};X(HG,n);HG.prototype.getIt=function(){return $i(this,GG,4)};HG.prototype.setIt=function(a){return li(this,GG,4,a)};HG.prototype.hasIt=function(){return ji(this,GG,4)};HG.messageId="b.AggregateIssueDescendantsRequest";var y5b=function(a){this.internalArray_=m(a)};X(y5b,n);g=y5b.prototype;g.getPriority=function(){return cj(this,1,0)};g.setPriority=function(a){return Sj(this,1,a)};g.getIssueIdsList=function(){return Jj(this,2,hi())};g.getIssueIdsList_asLegacyNumberOrString=function(){return Jj(this,2,hi())};g.setIssueIdsList=function(a){return Ut(this,2,a)};g.addIssueIds=function(a){Nb(this,2,ob,a)};y5b.repeatedFields_=[2];var z5b=function(a){this.internalArray_=m(a)};X(z5b,n);g=z5b.prototype;g.getStatus=function(){return cj(this,1,0)};g.setStatus=function(a){return Sj(this,1,a)};g.getIssueIdsList=function(){return Jj(this,2,hi())};g.getIssueIdsList_asLegacyNumberOrString=function(){return Jj(this,2,hi())};g.setIssueIdsList=function(a){return Ut(this,2,a)};g.addIssueIds=function(a){Nb(this,2,ob,a)};z5b.repeatedFields_=[2];var A5b=function(a){this.internalArray_=m(a)};X(A5b,n);g=A5b.prototype;g.getIssueIdsList=function(){return Jj(this,3,hi())};g.getIssueIdsList_asLegacyNumberOrString=function(){return Jj(this,3,hi())};g.setIssueIdsList=function(a){return Ut(this,3,a)};g.addIssueIds=function(a){Nb(this,3,ob,a)};g.getCollaboratorsList=function(){return gi(this,ui,8,hi())};g.setCollaboratorsList=function(a){gl(this,8,a)};g.setCollaborators=function(a){Tt(this,8,ui,a)};
g.getCodeChangesList=function(){return ri(this,9,hi())};g.setCodeChangesList=function(a){Lb(this,9,a,rb)};g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return Jj(this,10,hi())};g.setBlockedByIssueIdsList=function(a){Ut(this,10,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return Jj(this,11,hi())};g.setBlockingIssueIdsList=function(a){Ut(this,11,a)};A5b.repeatedFields_=[3,4,12,5,6,7,8,9,10,11];var IG=function(a){this.internalArray_=m(a)};X(IG,n);IG.prototype.getNextPageToken=function(){return Zi(this,4)};var JG=function(a){this.internalArray_=m(a,0,JG.messageId)};X(JG,n);JG.prototype.getIt=function(){return $i(this,IG,3)};JG.prototype.setIt=function(a){return li(this,IG,3,a)};JG.prototype.hasIt=function(){return ji(this,IG,3)};JG.messageId="b.AggregateIssueDescendantsResponse";var KG=function(a){this.executor=a};
KG.prototype.get=function(a){var b=(new HG).setIt((new GG).setIssueId(a));return this.executor.post({url:"action/issues/aggregateIssueDescendants",body:b,responseConstructor:JG}).pipe(B(function(c){var d=qi(c.getIt(),2),e=qi(c.getIt(),3),f=$i(c.getIt(),A5b,1);if(f){var h,k,q,t,w,z,F,J,H,O;c={_rootId:a,issueIds:f.getIssueIdsList_asLegacyNumberOrString().map(yi).filter(Bi),aggregatedStatus:null!=(w=gi(f,z5b,4,hi()).map($Aa).filter(Bi))?w:[],aggregatedPriority:null!=(z=gi(f,y5b,12,hi()).map(aBa).filter(Bi))?
z:[],reporters:null!=(F=null==(h=gi(f,ui,5,hi()))?void 0:h.map(wi))?F:[],assignees:null!=(J=null==(k=gi(f,ui,6,hi()))?void 0:k.map(wi))?J:[],verifiers:null!=(H=null==(q=gi(f,ui,7,hi()))?void 0:q.map(wi))?H:[],collaborators:null!=(O=null==(t=f.getCollaboratorsList())?void 0:t.map(wi))?O:[],changelists:f.getCodeChangesList(),blockedByIssueIds:f.getBlockedByIssueIdsList_asLegacyNumberOrString().map(yi).filter(Bi),blockingIssueIds:f.getBlockingIssueIdsList_asLegacyNumberOrString().map(yi).filter(Bi),
descendantCount:d,openDescendantCount:e}}else c=void 0;return c}))};KG.\u0275fac=function(a){return new (a||KG)(p(QD))};KG.\u0275prov=vc({token:KG,factory:KG.\u0275fac,providedIn:"root"});var LG=function(a,b){this.data=a;this.cfg=b;this.lastValidated=Date.now()},MG=function(a){return Date.now()-a.lastValidated};LG.prototype.isFresh=function(){return MG(this)<this.cfg.freshUntil};LG.prototype.isAncient=function(){return MG(this)>this.cfg.ancientAfter};LG.prototype.getStatus=function(){return this.isFresh()?"fresh":this.isAncient()?"ancient":"uncertain"};LG.prototype.toString=function(){var a=String(this.data);return Math.ceil(MG(this)/1E3)+"s old -- "+a};
var B5b=function(a){this.cfg=a;this.cache=new Map},C5b=function(a,b){a=NG(a,b);return null==a?Infinity:a},NG=function(a,b){var c;return null==(c=a.get(b,!0))?void 0:MG(c)};B5b.prototype.isFresh=function(a){return C5b(this,a)<this.cfg.freshUntil};var D5b=function(a,b){return C5b(a,b)<=a.cfg.ancientAfter};g=B5b.prototype;g.isAncient=function(){var a=NG(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 MG(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 LG(b,this.cfg))};g.touch=function(a){var b=this.cache.get(a);b&&this.cache.set(a,new LG(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=l(a);var b=a.next().value;a=a.next().value;b=String(b).slice(-16);var c=a.toString();return a.getStatus()+"  "+b+": "+c}).join("\n")};var OG={trustMemory:!0},E5b=function(){},gsa=["startIndex","totalSize","curPageToken","nextPageToken","prevPageToken"],F5b=function(a){this.ids=[];Object.assign(this,a)};X(F5b,E5b);F5b.prototype.toString=function(){return JSON.stringify(Object.assign({},this,{ids:"["+this.ids.join(",")+"]"}))};
var G5b={freshUntil:1E4,ancientAfter:792E5},QG=function(a){var b=this;a=void 0===a?{}:a;this.error$=new W.Subject;this.memoryWasSet$=new W.Subject;this.collectiveMemoryWasSet$=new W.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("zc`"+b.idKey+"`"+c);throw Error("Ac`"+c);};this.valsById=new Map;this.collectionsById=new Map;
this.setsByLabel=new Map;this.inFlightGets$=new W.BehaviorSubject(Object.freeze({}));this.inFlightSaves$=new W.BehaviorSubject(Object.freeze({}));this.getting$=this.inFlightGets$.pipe(B(cBa));this.saving$=this.inFlightSaves$.pipe(B(cBa));this.thinking$=(0,W.combineLatest)(this.getting$,this.saving$).pipe(B(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c||d}),Te());this.gotOne=function(c){return function(d,e){e=void 0===e?{}:e;e=e.doNotTrack?bBa:PG({label:c,value:NG(b.memory,c)});
if(b.memory.validate(c,d,b.isEqual))e("one-isSame"),b.memory.touch(c);else{b.memory.set(c,d);var f=b.valsById.get(c);b.memoryWasSet$.next();e("one-isChanged");f?f.next(d):Vj(b.recordType+"::gotOne("+c+") !isEqual. Nobody's listening")}}};this.gotSet=function(c){return function(d){for(var e=l(d),f=e.next();!f.done;f=e.next()){f=f.value;var h=b.idForRecord(f);b.gotOne(h)(f,{doNotTrack:!0})}(e=H5b(b,c))?e.next(d):Xj("gotSet("+c+"), but no channel is set up")}};this.gotAll=function(c){return function(d){var e=
PG({label:c,value:NG(b.collectiveMemory,c)});if(b.normalizeQueryResponses)for(var f=l(d.results),h=f.next();!h.done;h=f.next()){h=h.value;var k=b.idForRecord(h);b.gotOne(k)(h,{doNotTrack:!0})}f=b.normalize(d);b.collectiveMemory.validate(c,f,fsa);b.collectiveMemory.set(c,f);b.collectiveMemoryWasSet$.next();e("all-isChanged");(e=b.collectionsById.get(c))?(d=I5b(b,f,d.results),e.next(d)):iua(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&&Xj("Couldn't find a record for id "+d);return e}};this.debug=function(){return{recordType:b.recordType,isThinking:b.isThinking(),inFlightGets:Object.entries(b.inFlightGets()).map(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),inFlightSaves:Object.entries(b.inFlightSaves()).map(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),records:b.memory.debug(),lists:b.collectiveMemory.debug()}};
this.implementsFn=function(){return function(){try{b.doSave()}catch(d){var c=d;if((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?cBa(b.inFlightSaves()):!!b.inFlightSaves()[c]};this.isSaving$=function(c){return b.inFlightSaves$.pipe(B(function(d){return!!d[c]}),Te())};this.isGetting=function(c){return null==c?cBa(b.inFlightGets()):
!!b.inFlightGets()[c]};this.watchOne=this.watch=function(c,d){d=void 0===d?OG:d;"number"===typeof d&&(d=OG);if(null==c)return(0,W.of)();"number"===typeof c&&(c=String(c));var e=J5b(b,c);K5b(b,c,d).catch(function(){});return Ls(e)};this.watchSet=function(c,d){d=void 0===d?OG:d;"number"===typeof d&&(d=OG);if(0===c.length)return(0,W.of)([]);c=c.map(function(f){return"number"===typeof f?String(f):f});var e=H5b(b,c);L5b(b,c,d);return e};this.watchMany=function(c){var d=void 0===d?OG:d;c=Object.assign({},
b.defaultQuery,c);var e=M5b(b,c);b.getAll(c,d);return Ls(e)};this.save=function(c){var d=b.idForRecord(c);if(null==d)throw Error("Bc");c=b.doSave(c).pipe(Se(0,W.asapScheduler),tka(),he());b.setIsSaving(d);c.subscribe(b.gotOne(d),b.gotErr(d,b.inFlightSaves$),N5b(d,b.inFlightSaves$));return c};this.setIsSaving=function(c){var d={};dBa(b.inFlightSaves$,(d[c]=!0,d))};this.clearIsSaving=function(c){eBa(b.inFlightSaves$,c)};this.setIsGetting=function(c){var d={};dBa(b.inFlightGets$,(d[c]=!0,d))};this.clearIsGetting=
function(c){eBa(b.inFlightGets$,c)};this.poke=function(c,d){return null==c?lBa():K5b(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("Cc");b.gotOne(e)(c,Object.assign({},{doNotTrack:!0},d))}};this.memory=new B5b(Object.assign({},G5b,a));this.collectiveMemory=new B5b(Object.assign({},G5b,a))};g=QG.prototype;
g.fetchOne=function(){throw Error("Dc");};g.fetchAll=function(){throw Error("Ec");};g.fetchSet=function(){throw Error("Fc");};g.doSave=function(){throw Error("Gc");};g.copy=function(){throw Error("Hc");};g.isEqual=function(a,b){return fsa(a,b,100)};g.inFlightGets=function(){return this.inFlightGets$.getValue()};g.inFlightSaves=function(){return this.inFlightSaves$.getValue()};
var K5b=function(a,b,c){c=void 0===c?{}:c;var d=c.trustMemory,e=c.trustUncertainMemory;c=PG({label:b,value:NG(a.memory,b)});d=d&&a.memory.isFresh(b);e=e&&D5b(a.memory,b);if(d||e)return c("one-trustMemory"),c=a.memory.getData(b),kBa(c);if(a.inFlightGets()[b])return c("one-inFlight"),c=J5b(a,b),jBa(c).then(kBa);c("one-fetch");var f=a.fetchOne(b).pipe(Se(0,W.asapScheduler));a.setIsGetting(b);return new Promise(function(h,k){f.subscribe(function(q){a.gotOne(b)(q);h(q)},function(q){a.gotErr(b,a.inFlightGets$)(q);
k(q)},N5b(b,a.inFlightGets$))})},L5b=function(a,b,c){c=(void 0===c?{}:c).trustMemory;var d="["+[].concat(r(b)).sort().join("-")+"]",e=PG({label:d});if(c&&O5b(a,b))P5b(a,b),e("set-trustMemory");else if(a.inFlightGets()[d])e("set-inFlight");else{e("set-fetch");c=a.fetchSet(b).pipe(Se(0,W.asapScheduler));e={};e=(e[d]=!0,e);for(var f=l(b),h=f.next();!h.done;h=f.next())e[h.value]=!0;dBa(a.inFlightGets$,e);c.subscribe(a.gotSet(b),function(k){fBa(a.inFlightGets$,b);a.gotErr(d,a.inFlightGets$)(k)},function(){fBa(a.inFlightGets$,
[d].concat(r(b)))})}},O5b=function(a,b){return b.every(function(c){return a.memory.isFresh(c)})},P5b=function(a,b){var c=Q5b(a,b).filter(Bi);H5b(a,b).next(c)};
QG.prototype.getAll=function(a,b){var c=(void 0===b?{}:b).trustMemory;b=gBa(a);var d=PG({label:b,value:NG(this.collectiveMemory,b)});if(c&&this.collectiveMemory.isFresh(b))return d("all-trustMemory"),a=this.collectiveMemory.getData(b),b=Q5b(this,a.ids).filter(Bi),a=I5b(this,a,b),Promise.resolve(a);if(this.inFlightGets()[b])return d("all-inFlight"),a=M5b(this,a),jBa(a);d("all-fetch");c=this.fetchAll(a).pipe(Se(0,W.asapScheduler));this.setIsGetting(b);c.subscribe(this.gotAll(b),this.gotErr(b,this.inFlightGets$),
N5b(b,this.inFlightGets$));a=M5b(this,a);return jBa(a)};QG.prototype.gotErr=function(a,b){var c=this;return function(d){d=Object.assign({},{idOrKey:a},d);jua(a+" gotErr()",d);eBa(b,a);JSON.stringify(d,null,2);c.error$.next(d)}};var N5b=function(a,b){return function(){eBa(b,a)}};QG.prototype.normalize=function(a){var b=a.results.map(this.idForRecord);return new F5b(Object.assign({},iBa(a),{ids:b}))};
var I5b=function(a,b,c){a=b.ids.map(a.dereferenceOne(c)).filter(Boolean);return Object.assign({},iBa(b),{results:a})},Q5b=function(a,b){return b.map(function(c){return a.memory.getData(c)})},M5b=function(a,b){b=gBa(b);return hBa(a.collectionsById,b,new W.ReplaySubject(1))},H5b=function(a,b){b="["+[].concat(r(b)).sort().join("-")+"]";return hBa(a.setsByLabel,b,new W.ReplaySubject(1))},J5b=function(a,b){var c=new W.ReplaySubject(1),d=a.memory.getData(b);null!=d&&c.next(d);return hBa(a.valsById,b,c)},
R5b=function(a,b){return["string","number"].includes(typeof b)?a.memory.getStatus(String(b)):a.collectiveMemory.getStatus(gBa(b))};QG.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(gBa(a))};
var RG=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)},PG=function(a){for(var b=l(Object.keys(a)),c=b.next();!c.done;c=b.next())c=c.value,null==a[c]&&delete a[c];return function(){}},SG=function(){QG.apply(this,arguments);this.defaultQuery={}};X(SG,QG);var TG=function(a){SG.call(this);this.api=a;this.recordType="AggregatedIssueMetadata";this.idKey="_rootId";this.isEqual=Th};X(TG,SG);TG.prototype.fetchOne=function(a){return this.api.get(a)};TG.\u0275fac=function(a){return new (a||TG)(p(KG))};TG.\u0275prov=vc({token:TG,factory:TG.\u0275fac,providedIn:"root"});var S5b=function(a){this.internalArray_=m(a)};X(S5b,n);g=S5b.prototype;g.getExperimentId=function(){return qi(this,1)};g.getState=function(){return cj(this,2,0)};g.setState=function(a){return tj(this,2,a)};g.getTitle=function(){return Zi(this,4)};g.setTitle=function(a){return Lh(this,4,a)};g.getDescription=function(){return Zi(this,5)};g.setDescription=function(a){return Lh(this,5,a)};g.hasDescription=function(){return Pi(this,5)};var UG=function(a){this.internalArray_=m(a,0,UG.messageId)};X(UG,n);UG.repeatedFields_=[1];UG.messageId="b.ListBeapFeaturesResponse";var VG=function(a){this.executor=a};VG.prototype.fetch=function(){return this.executor.get({url:"action/experiments",responseConstructor:UG}).pipe(B(function(a){a=gi(a,S5b,1,hi());return(null!=a?a:[]).map(oBa)}))};VG.\u0275fac=function(a){return new (a||VG)(p(QD))};VG.\u0275prov=vc({token:VG,factory:VG.\u0275fac,providedIn:"root"});var WG=function(a){SG.call(this,{freshUntil:Infinity,ancientAfter:Infinity});this.beapApi=a;this.recordType="beapFeature";this.idForRecord=function(b){return""+b.experimentId}};X(WG,SG);WG.prototype.fetchAll=function(){return this.beapApi.fetch().pipe(B(function(a){return{results:a}}))};WG.\u0275fac=function(a){return new (a||WG)(p(VG))};WG.\u0275prov=vc({token:WG,factory:WG.\u0275fac,providedIn:"root"});var XG=function(a){this.internalArray_=m(a,0,XG.messageId)};X(XG,n);g=XG.prototype;g.getAuthor=function(){return Zi(this,1)};g.setAuthor=function(a){Lh(this,1,a)};g.hasAuthor=function(){return Pi(this,1)};g.getDescription=function(){return Zi(this,2)};g.setDescription=function(a){return Lh(this,2,a)};g.hasDescription=function(){return Pi(this,2)};g.getPending=function(){return Xi(this,3)};g.getTimestamp=function(){return kj(this,4)};
g.getTimestamp_asLegacyNumberOrString=function(){return kj(this,4)};g.setTimestamp=function(a){return zj(this,4,a)};g.hasTimestamp=function(){return jj(this,4)};XG.repeatedFields_=[5];XG.messageId="b.ChangelistDetailsResponse";var YG=function(a){this.internalArray_=m(a)};X(YG,n);g=YG.prototype;g.getIssueIdsList=function(){return Ij(this,1,hi())};g.getIssueIdsList_asLegacyNumberOrString=function(){return Ij(this,1,hi())};g.setIssueIdsList=function(a){return Lb(this,1,a,ob)};g.addIssueIds=function(a){Nb(this,1,ob,a)};g.getAuthorEmail=function(){return Zi(this,3)};YG.repeatedFields_=[1];var ZG=function(a){this.internalArray_=m(a,0,ZG.messageId)};X(ZG,n);g=ZG.prototype;g.getQuery=function(){return $i(this,YG,1)};g.setQuery=function(a){return li(this,YG,1,a)};g.clearQuery=function(){lk(this,1)};g.hasQuery=function(){return ji(this,YG,1)};g.getNextPageToken=function(){return Zi(this,2)};ZG.messageId="b.ListChangelistsRequest";var qBa=function(a){this.internalArray_=m(a)};X(qBa,n);g=qBa.prototype;g.getAuthor=function(){return Zi(this,1)};g.setAuthor=function(a){Lh(this,1,a)};g.hasAuthor=function(){return Pi(this,1)};g.getChangelistNumber=function(){return qi(this,2)};g.getPending=function(){return Xi(this,3)};g.getTimestamp=function(){return $i(this,mj,4)};g.setTimestamp=function(a){return li(this,mj,4,a)};g.hasTimestamp=function(){return ji(this,mj,4)};g.getIssueIdsList=function(){return Ij(this,5,hi())};
g.getIssueIdsList_asLegacyNumberOrString=function(){return Ij(this,5,hi())};g.setIssueIdsList=function(a){return Lb(this,5,a,ob)};g.addIssueIds=function(a){Nb(this,5,ob,a)};qBa.repeatedFields_=[5,6];var $G=function(a){this.internalArray_=m(a,0,$G.messageId)};X($G,n);$G.prototype.getNextPageToken=function(){return Zi(this,2)};$G.repeatedFields_=[1];$G.messageId="b.ListChangelistsResponse";var aH=function(a){this.internalArray_=m(a,0,aH.messageId)};X(aH,n);aH.repeatedFields_=[1];aH.messageId="b.PendingChangelistsResponse";var bH=function(a){this.executor=a};bH.prototype.getPendingChangelistsForIssue=function(a){return this.executor.get({url:"action/issues/"+a+"/pending_changelists",responseConstructor:aH}).pipe(B(pBa))};bH.prototype.getChangelistDetails=function(a){return this.executor.get({url:"/action/changelists/"+a,responseConstructor:XG}).pipe(B(tBa))};
var T5b=function(a,b){var c=new ZG,d=c.setQuery;b=(new YG).setIssueIdsList(b);b=tj(b,2,2);c=d.call(c,b);return a.executor.post({url:"action/changelists/list",body:c,responseConstructor:$G}).pipe(B(sBa))};bH.\u0275fac=function(a){return new (a||bH)(p(QD))};bH.\u0275prov=vc({token:bH,factory:bH.\u0275fac,providedIn:"root"});var cH=function(a){this.changelistResources=a};cH.prototype.getPendingChangelistsForIssue=function(a){return(0,W.firstValueFrom)(this.changelistResources.getPendingChangelistsForIssue(a))};
cH.prototype.getChangelistDetails=function(a){return(0,W.firstValueFrom)(this.changelistResources.getChangelistDetails(a))};cH.\u0275fac=function(a){return new (a||cH)(p(bH))};cH.\u0275prov=vc({token:cH,factory:cH.\u0275fac,providedIn:"root"});var dH=function(a){QG.call(this);this.api=a;this.defaultQuery={};this.recordType="Changelist";this.idKey="changelistNumber"};X(dH,QG);dH.prototype.fetchAll=function(a){if(a=a.pendingForIssues)return 0===a.length?(0,W.of)({results:[]}):T5b(this.api,a).pipe(B(function(b){var c;return{results:null!=(c=b.changelists)?c:[]}}));throw Error("Ic");};dH.\u0275fac=function(a){return new (a||dH)(p(bH))};dH.\u0275prov=vc({token:dH,factory:dH.\u0275fac,providedIn:"root"});var eH=function(a){this.internalArray_=m(a,0,eH.messageId)};X(eH,n);eH.prototype.getAccessLevel=function(){return cj(this,1,0)};eH.prototype.setAccessLevel=function(a){return tj(this,1,a)};eH.messageId="b.AccessLimit";var fH=function(a){this.internalArray_=m(a,0,fH.messageId)};X(fH,n);fH.repeatedFields_=[1,2];fH.messageId="b.CheckPermissionResponse";var gH=function(a){this.executor=a};g=gH.prototype;g.get=function(a,b){a=vn(wn(a,b));return this.executor.get({url:"action/access_policies/"+a,responseConstructor:fE}).pipe(B(Pwa))};
g.update=function(a,b,c){a=vn(wn(a,b));var d;if(Owa){var e,f=new fE,h=f.setIt;c=Object.assign({},c,{implicitAccess:null!=(e=c.implicitAccess)?e:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null});var k,q,t,w,z;e=(new aE).setAdminsList((null!=(d=c.admins)?d:[]).map(qk)).setAppendersList((null!=(k=c.appenders)?k:[]).map(qk)).setEditorsList((null!=(q=c.editors)?q:[]).map(qk)).setReadersList((null!=(t=c.readers)?t:[]).map(qk)).setRestrictedReadersList((null!=(w=
c.restrictedReaders)?w:[]).map(qk)).setRestrictedPlusReadersList((null!=(z=c.restrictedPlusReaders)?z:[]).map(qk));if(c.implicitAccess){d=e.setImplicitAccess;b:switch(c.implicitAccess){case "IMPLICIT_ACCESS_UNSPECIFIED":k=0;break b;case "ALLOW":k=1;break b;case "DENY":k=2;break b;default:throw Error("Zb");}d.call(e,k)}d=h.call(f,e)}else{d=new fE;d.setAdminsList((null!=(f=c.admins)?f:[]).map(El));d.setAppendersList((null!=(h=c.appenders)?h:[]).map(El));var F;d.setEditorsList((null!=(F=c.editors)?F:
[]).map(El));var J;d.setReadersList((null!=(J=c.readers)?J:[]).map(El));var H;d.setRestrictedReadersList((null!=(H=c.restrictedReaders)?H:[]).map(El));var O;d.setRestrictedPlusReadersList((null!=(O=c.restrictedPlusReaders)?O:[]).map(El));c.implicitAccess&&d.setImplicitAccess(m1b[c.implicitAccess])}return this.executor.post({url:"action/access_policies/"+a,body:d,responseConstructor:fE}).pipe(B(Pwa))};
g.checkPermission=function(a,b,c,d){a=vn(a.join(","));b=vn(b);c=vn(wn(c,d));return this.executor.get({url:"action/check_permission/"+a+"/"+b+"/"+c,responseConstructor:fH}).pipe(B(Lwa))};g.setAccessLimit=function(a,b,c){a=vn(wn(a,b));c=(new eH).setAccessLevel(Mua[c.accessLevel]);return this.executor.post({url:"action/access_limits/"+a,body:c,responseConstructor:eH}).pipe(B(uBa))};g.checkComponentImplicitAccessEnabled=function(a){return this.get("COMPONENT",a).pipe(B(function(b){return"ALLOW"===b.implicitAccess}))};
gH.\u0275fac=function(a){return new (a||gH)(p(QD))};gH.\u0275prov=vc({token:gH,factory:gH.\u0275fac,providedIn:"root"});var hH=function(a){this.observableApi=a};g=hH.prototype;g.get=function(a,b){return(0,W.firstValueFrom)(this.observableApi.get(a,b))};g.update=function(a,b,c){return(0,W.firstValueFrom)(this.observableApi.update(a,b,c))};g.checkPermission=function(a,b,c,d){return(0,W.firstValueFrom)(this.observableApi.checkPermission(a,b,c,d))};
g.setAccessLimit=function(a,b,c){return(0,W.firstValueFrom)(this.observableApi.setAccessLimit(a,b,c))};g.checkComponentImplicitAccessEnabled=function(a){return(0,W.firstValueFrom)(this.observableApi.checkComponentImplicitAccessEnabled(a))};hH.\u0275fac=function(a){return new (a||hH)(p(gH))};hH.\u0275prov=vc({token:hH,factory:hH.\u0275fac,providedIn:"root"});var iH=function(a){SG.call(this);this.accessPolicyApi=a;this.recordType="componentAccessPolicy";this.isEqual=Th};X(iH,SG);iH.prototype.fetchOne=function(a){return this.accessPolicyApi.get("COMPONENT",a).pipe(B(function(b){return Object.assign({},{id:a},b)}),Pe(function(){return(0,W.of)(void 0)}))};iH.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("COMPONENT",b,a).pipe(B(function(c){return Object.assign({},{id:b},c)}))};iH.\u0275fac=function(a){return new (a||iH)(p(gH))};
iH.\u0275prov=vc({token:iH,factory:iH.\u0275fac,providedIn:"root"});var jH=function(){};jH.prototype.adapt=function(a){var b,c=new U5b(a.call.bind(a),a.split.bind(a),null!=(b=a.bufferTimeMs)?b:500,a.maxBatchSize||100);return c.get.bind(c)};jH.\u0275fac=function(a){return new (a||jH)};jH.\u0275prov=vc({token:jH,factory:jH.\u0275fac,providedIn:"root"});
var U5b=function(a,b,c,d){var e=this;this.batchCall=a;this.batchSplit=b;this.bufferTimeMs=c;this.maxBatchSize=d;this.inputSubject=new W.Subject;this.inputs$=this.inputSubject.pipe(Rja(this.inputSubject.pipe(Oe(this.bufferTimeMs,W.asapScheduler))));this.removeDuplicates=B(function(f){return[].concat(r(new Set(f)))});this.limitInputSize=B(function(f){for(var h=l(f.slice(e.maxBatchSize)),k=h.next();!k.done;k=h.next())e.inputSubject.next(k.value);return new Set(f.slice(0,e.maxBatchSize))});this.makeBatchCalls=
(0,W.pipe)(ve(function(f){try{return e.batchCall(f).pipe(Ue(),B(function(h){return{inputs:f,batchResponse:h,error:void 0}}),Pe(function(h){return(0,W.of)({inputs:f,batchResponse:void 0,error:h})}))}catch(h){return(0,W.of)({inputs:f,batchResponse:void 0,error:h})}}),wka());this.batchResults$=this.inputs$.pipe(this.removeDuplicates,this.limitInputSize,this.makeBatchCalls)};
U5b.prototype.get=function(a){var b=this;return new W.Observable(function(c){c=b.batchResults$.pipe(Ce(function(d){return d.inputs.has(a)}),Ue(),B(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 V5b=function(a){this.internalArray_=m(a,0,V5b.messageId)};X(V5b,n);V5b.messageId="b.CreateComponentResponse";var kH=function(a){this.internalArray_=m(a,0,kH.messageId)};X(kH,n);kH.repeatedFields_=[1];kH.messageId="b.ListComponentsResponse";var zwa=function(a){this.internalArray_=m(a)};X(zwa,n);zwa.prototype.getComponentPath=function(){return Zi(this,1)};var lH=function(a){this.internalArray_=m(a,0,lH.messageId)};X(lH,n);lH.repeatedFields_=[2];lH.messageId="b.SubcomponentsResponse";var mH=function(a,b){this.executor=a;this.currentTrackerId=b};g=mH.prototype;g.get=function(a){return this.query({id:[a]}).pipe(B(function(b){return b.length?b[0]:null}))};g.getChildren=function(a,b){a={parentId:String(a)};if(void 0===b?0:b)a.includearchived=!0;return this.query(a)};g.getDescendants=function(a){return this.executor.get({url:"action/components/"+a+"/descendants",responseConstructor:lH}).pipe(B(Awa))};
g.fetchComponent=function(a){return this.executor.get({url:"action/components/"+a,responseConstructor:pl}).pipe(B(ll))};g.query=function(a){var b={};a.id&&(b.id=a.id.map(String));a.parentId&&(b.parentId=String(a.parentId));a.query&&(b.query=a.query);a.includearchived&&(b.includearchived="true");a=this.currentTrackerId.getTrackerId();xn(a)||(b.currentTrackerId=a);return this.executor.get({url:"action/components",options:{params:b},responseConstructor:kH}).pipe(B(xwa))};
g.create=function(a){a=rwa(a);return this.executor.post({url:"action/components",body:a,responseConstructor:V5b}).pipe(B(function(b){return ll($i(b,pl,1))}))};
g.update=function(a){var b=a.componentId,c=new pl,d=c.setIt,e=(new ol).setComponentId(a.componentId);e=Qj(e,3,a.parentComponentId).setName(a.name).setDescription(a.description).setIsArchived(a.archived);if(a.componentPathInfo){var f=a.componentPathInfo,h=new ml;f.componentPathId&&Ut(h,1,f.componentPathId);if(f.componentPathName){var k=f.componentPathName.map(String);Lb(h,2,k,rb)}f.allCustomField&&(f=f.allCustomField.map(ava),gl(h,5,f));li(e,ml,7,h)}a.accessLimit&&e.setAccessLimit(Nua(a.accessLimit));
a.commentEditState&&e.setCommentEditState("ENABLED"===a.commentEditState?1:2);Qj(e,6,String(a.defaultTemplateId));a.slo&&e.setSlo(qva(a.slo));Qj(e,14,a.bugscopeSloId);a.retentionSettings&&(h=uua(a.retentionSettings),li(e,gk,15,h));a.fieldOrdering&&Sj(e,17,h1b[a.fieldOrdering]);a.effortSpec&&(h=gva(a.effortSpec),li(e,Jk,18,h));a.team&&(h=zva(a.team),li(e,Tk,16,h));var q;e.setTeamSuggestionsList((null!=(q=a.teamSuggestions)?q:[]).map(Cva));a=d.call(c,e);return this.executor.post({url:"action/components/"+
b,body:a,responseConstructor:pl}).pipe(B(ll))};g.move=function(a,b){return this.executor.post({url:"action/components/"+a+"/move",body:null,options:{params:{parentId:String(b)}},responseConstructor:pl}).pipe(B(ll))};g.updateSlo=function(a,b){var c=new K1b;b=qva(b);c=li(c,Ok,2,b);return this.executor.post({url:"action/components/"+a+"/updateSlo",body:c,responseConstructor:pl}).pipe(B(ll))};
g.updateTeam=function(a,b){var c=new L1b;b=zva(Object.assign({},b));c=li(c,Tk,2,b);return this.executor.post({url:"action/components/"+a+"/updateTeam",body:c,responseConstructor:pl}).pipe(B(ll))};mH.\u0275fac=function(a){return new (a||mH)(p(QD),p(vE))};mH.\u0275prov=vc({token:mH,factory:mH.\u0275fac,providedIn:"root"});var nH=function(a){this.observableApi=a};g=nH.prototype;g.get=function(a){return(0,W.firstValueFrom)(this.observableApi.get(a))};
g.getChildren=function(a,b){return(0,W.firstValueFrom)(this.observableApi.getChildren(a,void 0===b?!1:b))};g.getDescendants=function(a){return(0,W.firstValueFrom)(this.observableApi.getDescendants(a))};g.fetchComponent=function(a){return(0,W.firstValueFrom)(this.observableApi.fetchComponent(a))};g.query=function(a){return(0,W.firstValueFrom)(this.observableApi.query(a))};g.create=function(a){return(0,W.firstValueFrom)(this.observableApi.create(a))};g.update=function(a){return(0,W.firstValueFrom)(this.observableApi.update(a))};
g.move=function(a,b){return(0,W.firstValueFrom)(this.observableApi.move(a,b))};g.updateSlo=function(a,b){return(0,W.firstValueFrom)(this.observableApi.updateSlo(a,b))};g.updateTeam=function(a,b){return(0,W.firstValueFrom)(this.observableApi.updateTeam(a,b))};nH.\u0275fac=function(a){return new (a||nH)(p(mH))};nH.\u0275prov=vc({token:nH,factory:nH.\u0275fac,providedIn:"root"});var oH=function(a){SG.call(this,{freshUntil:12E4,ancientAfter:6048E5});this.batchedComponentApi=a;this.recordType="component";this.idKey="componentId"};X(oH,SG);oH.prototype.fetchOne=function(a){return"0"===a?(0,W.of)(void 0):this.batchedComponentApi.get(a).pipe(Pe(function(){return(0,W.of)(void 0)}))};oH.prototype.fetchSet=function(a){var b=this;return(0,W.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(Bi)}))};oH.\u0275fac=function(a){return new (a||oH)(p(pH))};
oH.\u0275prov=vc({token:oH,factory:oH.\u0275fac,providedIn:"root"});var pH=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)}})};
pH.prototype.call=function(a){return 1===a.size?this.observableComponentApi.fetchComponent([].concat(r(a))[0]).pipe(B(function(b){return new Map(b?[[b.componentId,b]]:[])})):this.observableComponentApi.query({id:[].concat(r(a))}).pipe(B(function(b){return new Map(b.map(function(c){return[c.componentId,c]}))}))};pH.prototype.splitBatch=function(a,b){return b.get(Number(a))};pH.\u0275fac=function(a){return new (a||pH)(p(mH),p(jH))};pH.\u0275prov=vc({token:pH,factory:pH.\u0275fac,providedIn:"root"});var qH=function(a){this.internalArray_=m(a,0,qH.messageId)};X(qH,n);qH.repeatedFields_=[1];qH.messageId="b.ListTemplatesResponse";var rH=function(a){this.internalArray_=m(a,0,rH.messageId)};X(rH,n);rH.messageId="b.TemplateResponse";var sH=function(a){this.executor=a};g=sH.prototype;g.get=function(a,b){return this.executor.get({url:"action/components/"+a+"/templates/"+b,responseConstructor:rH}).pipe(B(vBa))};g.query=function(a){return this.executor.get({url:"action/components/"+a+"/templates",responseConstructor:qH}).pipe(B(wBa))};g.create=function(a,b){b=wwa(b);return this.executor.post({url:"action/components/"+a+"/templates",responseConstructor:rH,body:b}).pipe(B(vBa))};
g.update=function(a,b,c){c=wwa(c);return this.executor.post({url:"action/components/"+a+"/templates/"+b,responseConstructor:rH,body:c}).pipe(B(vBa))};g.delete=function(a,b){return this.executor.delete({url:"action/components/"+a+"/templates/"+b,responseConstructor:null})};sH.\u0275fac=function(a){return new (a||sH)(p(QD))};sH.\u0275prov=vc({token:sH,factory:sH.\u0275fac,providedIn:"root"});var tH=function(a){this.observableApi=a};g=tH.prototype;
g.get=function(a,b){return(0,W.firstValueFrom)(this.observableApi.get(a,b))};g.query=function(a){return(0,W.firstValueFrom)(this.observableApi.query(a))};g.create=function(a,b){return(0,W.firstValueFrom)(this.observableApi.create(a,b))};g.update=function(a,b,c){return(0,W.firstValueFrom)(this.observableApi.update(a,b,c))};g.delete=function(a,b){return(0,W.firstValueFrom)(this.observableApi.delete(a,b))};tH.\u0275fac=function(a){return new (a||tH)(p(sH))};
tH.\u0275prov=vc({token:tH,factory:tH.\u0275fac,providedIn:"root"});var uH=function(a){this.timeout=a};uH.prototype.adapt=function(a){return new W5b(this.timeout,a)};uH.\u0275fac=function(a){return new (a||uH)(p(zG))};uH.\u0275prov=vc({token:uH,factory:uH.\u0275fac,providedIn:"root"});var W5b=function(a,b){this.timeout=a;this.bulkGet=b;this.batchedInputs=[[]];this.batchedDeferreds=[[]];this.isBatchScheduled=!1};
W5b.prototype.get=function(a){var b=un(),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||X5b(this);return b.promise};
var X5b=function(a){a.isBatchScheduled=!0;a.timeout.schedule(function(){for(var b={},c=0;c<a.batchedInputs.length;b={batchedDeferred:void 0},c++){var d=a.batchedInputs[c];b.batchedDeferred=a.batchedDeferreds[c];a.bulkGet(d).then(function(e){return function(f){for(var h=0;h<e.batchedDeferred.length;h++)e.batchedDeferred[h].resolve(f[h])}}(b),function(e){return function(f){for(var h=l(e.batchedDeferred),k=h.next();!k.done;k=h.next())k.value.reject(f)}}(b))}a.batchedInputs=[[]];a.batchedDeferreds=[[]];
a.isBatchScheduled=!1})};var yn=function(a){this.internalArray_=m(a,0,yn.messageId)};X(yn,n);yn.prototype.getResource=function(){return Zi(this,1)};yn.prototype.getRelation=function(){return cj(this,2,0)};yn.prototype.setRelation=function(a){tj(this,2,a)};yn.messageId="b.ResourceRelation";var vH=function(a){this.internalArray_=m(a,0,vH.messageId)};X(vH,n);vH.repeatedFields_=[1];vH.messageId="b.UserAccessBatchResponse";var wH=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+)$")};wH.prototype.validate=function(a){return this.resourceNamePattern.test(a)};wH.\u0275fac=function(a){return new (a||wH)};wH.\u0275prov=vc({token:wH,factory:wH.\u0275fac,providedIn:"root"});
var xH=function(a,b,c){var d=this;this.rawUserAccess=a;this.resourceNameValidator=b;this.accesses={};this.accessGetter=c.adapt(function(e){return Y5b(d,e)})},Y5b=function(a,b){return Z5b(a,b).then(function(c){return zBa(b,c)})},zH=function(a,b,c){return a.resourceNameValidator.validate(c)?yH(a,b,c):Promise.reject("invalid resource name: "+c)},$5b=function(a,b){return a.resourceNameValidator.validate(b)?Promise.all([yH(a,"admin",b),yH(a,"writer",b),yH(a,"appender",b),yH(a,"reader",b)]).then(function(c){var d=
l(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)},Z5b=function(a,b){var c=[],d=[];b=l(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c.push(e.relation),d.push(e.resourceName);return(0,W.firstValueFrom)(a.rawUserAccess.executor.get({url:"action/user_access",options:{params:{relations:c.join(","),resourceNames:d.join(",")}},responseConstructor:vH}).pipe(B(yBa)))},yH=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};xH.\u0275fac=function(a){return new (a||xH)(p(AH),p(wH),p(uH))};xH.\u0275prov=vc({token:xH,factory:xH.\u0275fac,providedIn:"root"});var AH=function(a){this.executor=a};AH.\u0275fac=function(a){return new (a||AH)(p(QD))};AH.\u0275prov=vc({token:AH,factory:AH.\u0275fac,providedIn:"root"});var a6b=function(a){this.internalArray_=m(a)};X(a6b,n);g=a6b.prototype;g.getComponentId=function(){return kj(this,5)};g.getComponentId_asLegacyNumberOrString=function(){return kj(this,5)};g.getComponentId_asString=function(){return au(this,5)};g.setComponentId=function(a){return Qj(this,5,a)};g.getTitle=function(){return Zi(this,6)};g.setTitle=function(a){return Rj(this,6,a)};g.getComment=function(){return Zi(this,7)};g.setComment=function(a){return Rj(this,7,a)};
g.getAttachmentsList=function(){return gi(this,hk,8,hi())};g.setAttachmentsList=function(a){return gl(this,8,a)};g.addAllAttachments=function(a){Wt(this,8,hk,a)};g.setSignificanceOverride=function(a){return Sj(this,2,a)};g.getTemplateId_asLegacyNumberOrString=function(){return kj(this,4)};g.setTemplateId=function(a){return Qj(this,4,a)};a6b.repeatedFields_=[8];var BH=function(a){this.internalArray_=m(a,0,BH.messageId)};X(BH,n);BH.prototype.setIdsList=function(a){Lb(this,2,a,ob)};BH.prototype.getIds=function(){var a=Ij(this,2,3,void 0,!0);db(a);return a[void 0]};BH.prototype.setIds=function(a){return Ob(this,2,ob,a,void 0,Ij)};BH.repeatedFields_=[2];BH.messageId="b.BatchGetIssuesRequest";var CH=function(a){this.internalArray_=m(a,0,CH.messageId)};X(CH,n);CH.prototype.getIssuesList=function(){return gi(this,Ql,1,hi())};CH.repeatedFields_=[1];CH.messageId="b.BatchGetIssuesResponse";var Lxa=function(a){this.internalArray_=m(a)};X(Lxa,n);g=Lxa.prototype;g.getIssueId=function(){return $t(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};g.getIssueId_asString=function(){return fj(this,1)};g.setIssueId=function(a){return yj(this,1,a)};g.getMessage=function(){return Zi(this,2)};g.setMessage=function(a){Lh(this,2,a)};var DH=function(a){this.internalArray_=m(a,0,DH.messageId)};X(DH,n);DH.prototype.setErrors=function(a,b){Tt(this,2,Lxa,a,b)};DH.repeatedFields_=[2];DH.messageId="b.BulkEditResponse";var EH=function(a){this.internalArray_=m(a)};X(EH,n);g=EH.prototype;g.getReadersList=function(){return gi(this,pk,1,hi())};g.setReadersList=function(a){return gl(this,1,a)};g.getAppendersList=function(){return gi(this,pk,2,hi())};g.setAppendersList=function(a){return gl(this,2,a)};g.getWritersList=function(){return gi(this,pk,3,hi())};EH.repeatedFields_=[1,2,3];var FH=function(a){this.internalArray_=m(a,0,FH.messageId)};X(FH,n);g=FH.prototype;g.getReadersList=function(){return gi(this,Dl,1,hi())};g.setReadersList=function(a){return gl(this,1,a)};g.getAppendersList=function(){return gi(this,Dl,2,hi())};g.setAppendersList=function(a){return gl(this,2,a)};g.getWritersList=function(){return gi(this,Dl,3,hi())};g.getIt=function(){return $i(this,EH,4)};g.setIt=function(a){return li(this,EH,4,a)};g.hasIt=function(){return ji(this,EH,4)};
FH.repeatedFields_=[1,2,3];FH.messageId="b.GetRetainedAccessPrincipalsResponse";var GH=function(a){this.internalArray_=m(a,0,GH.messageId)};X(GH,n);GH.prototype.getIssueId=function(){return $t(this,1)};GH.prototype.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};GH.prototype.getIssueId_asString=function(){return fj(this,1)};GH.prototype.setIssueId=function(a){return yj(this,1,a)};GH.messageId="b.IssueCreateResponse";var HH=function(a){this.internalArray_=m(a,0,HH.messageId)};X(HH,n);HH.prototype.getIt=function(){return $i(this,hk,14)};HH.prototype.setIt=function(a){return li(this,hk,14,a)};HH.prototype.hasIt=function(){return ji(this,hk,14)};HH.messageId="b.Attachment";var yl=function(a){this.internalArray_=m(a)};X(yl,n);g=yl.prototype;g.getOldValue=function(){return Zi(this,1)};g.getNewValue=function(){return Zi(this,2)};g.getCustomFieldId=function(){return kj(this,3)};g.getCustomFieldId_asLegacyNumberOrString=function(){return kj(this,3)};g.getCustomFieldId_asString=function(){return au(this,3)};g.setCustomFieldId=function(a){return zj(this,3,a)};g.hasCustomFieldId=function(){return jj(this,3)};var IH=function(a){this.internalArray_=m(a)};X(IH,n);IH.prototype.getHref=function(){return Zi(this,1)};IH.prototype.getValue=function(){return Zi(this,2)};IH.prototype.setValue=function(a){return Lh(this,2,a)};IH.prototype.hasValue=function(){return Pi(this,2)};var Bl=function(a){this.internalArray_=m(a)};X(Bl,n);Bl.prototype.getAddedList=function(){return gi(this,IH,1,hi())};Bl.prototype.getRemovedList=function(){return gi(this,IH,2,hi())};Bl.repeatedFields_=[1,2];var xl=function(a){this.internalArray_=m(a)};X(xl,n);xl.prototype.getOldValue=function(){return Zi(this,1)};xl.prototype.getNewValue=function(){return Zi(this,2)};var Iwa=function(a){this.internalArray_=m(a)};X(Iwa,n);var ul=function(a){this.internalArray_=m(a)};X(ul,n);var wl=[1,2];var b6b=function(a){this.internalArray_=m(a)};X(b6b,n);g=b6b.prototype;g.getStatus=function(){return cj(this,1,0)};g.setStatus=function(a){return tj(this,1,a)};g.hasStatus=function(){return aj(this,1)};g.getReason=function(){return cj(this,2,0)};g.setReason=function(a){return tj(this,2,a)};var Cl=function(a){this.internalArray_=m(a)};X(Cl,n);Cl.prototype.getEntityStatus=function(){return $i(this,b6b,1)};Cl.prototype.setEntityStatus=function(a){return li(this,b6b,1,a)};var Al=function(a){this.internalArray_=m(a)};X(Al,n);Al.prototype.getAddedList=function(){return ri(this,1,hi())};Al.prototype.getRemovedList=function(){return ri(this,2,hi())};Al.repeatedFields_=[1,2];var zl=function(a){this.internalArray_=m(a)};X(zl,n);zl.prototype.getAddedList=function(){return gi(this,Mi,1,hi())};zl.prototype.getRemovedList=function(){return gi(this,Mi,2,hi())};zl.repeatedFields_=[1,2];var hm=function(a){this.internalArray_=m(a,0,hm.messageId)};X(hm,n);g=hm.prototype;g.getName=function(){return Zi(this,1)};g.setName=function(a){return Lh(this,1,a)};g.hasName=function(){return Pi(this,1)};g.getNameOrUndefined=function(){return fu(this,1)};g.getDisplayName=function(){return Zi(this,2)};g.setDisplayName=function(a){return Lh(this,2,a)};g.getType=function(){return cj(this,3,0)};g.setType=function(a){return tj(this,3,a)};g.hasType=function(){return aj(this,3)};
g.getTimestamp=function(){return $i(this,mj,4)};g.setTimestamp=function(a){return li(this,mj,4,a)};g.hasTimestamp=function(){return ji(this,mj,4)};var vl=[6,7,8,9,10,11];hm.messageId="b.EventDiff";var im=function(a){this.internalArray_=m(a)};X(im,n);im.prototype.getTag=function(){return Zi(this,1)};im.prototype.getText=function(){return Zi(this,2)};im.prototype.setText=function(a){return Lh(this,2,a)};var jm=function(a){this.internalArray_=m(a,0,jm.messageId)};X(jm,n);g=jm.prototype;g.getIssueId=function(){return $t(this,14)};g.getIssueId_asLegacyNumberOrString=function(){return $t(this,14)};g.getIssueId_asString=function(){return fj(this,14)};g.setIssueId=function(a){return yj(this,14,a)};g.getComment=function(){return $i(this,iE,6)};g.setComment=function(a){return li(this,iE,6,a)};g.getAttachmentsList=function(){return gi(this,HH,10,hi())};g.setAttachmentsList=function(a){return gl(this,10,a)};
g.addAllAttachments=function(a){Wt(this,10,HH,a)};g.getVersion=function(){return kj(this,7)};g.getVersion_asLegacyNumberOrString=function(){return kj(this,7)};g.setVersion=function(a){return zj(this,7,a)};g.getVersionOrUndefined=function(){return eu(this,7)};g.getStatusUpdate=function(){return $i(this,jE,13)};g.setStatusUpdate=function(a){li(this,jE,13,a)};g.hasStatusUpdate=function(){return ji(this,jE,13)};jm.repeatedFields_=[2,3,10,9];jm.messageId="b.IssueEvent";var Tn=function(a){this.internalArray_=m(a,0,Tn.messageId)};X(Tn,n);Tn.prototype.getIssue=function(){return $i(this,Ql,1)};Tn.prototype.setIssue=function(a){return li(this,Ql,1,a)};Tn.messageId="b.IssueFetchResponse";var JH=function(a){this.internalArray_=m(a,0,JH.messageId)};X(JH,n);JH.prototype.getIssuesList=function(){return gi(this,Ql,1,hi())};JH.prototype.getNumTotalResults=function(){return qi(this,2)};JH.prototype.getNextPageToken=function(){return Zi(this,5)};JH.repeatedFields_=[1];JH.messageId="b.IssueSearchResponse";var KH=function(a){this.internalArray_=m(a,0,KH.messageId)};X(KH,n);var c6b=function(a){return function(b){return b instanceof a&&!Sa(b.internalArray_)}}(KH);KH.repeatedFields_=[1];KH.messageId="b.ListIssueEventsResponse";var LH=function(a){this.internalArray_=m(a,0,LH.messageId)};X(LH,n);LH.prototype.getIssueId=function(){return $t(this,1)};LH.prototype.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};LH.prototype.getIssueId_asString=function(){return fj(this,1)};LH.prototype.setIssueId=function(a){return yj(this,1,a)};LH.messageId="b.LlmSummarizeRequest";var MH=function(a){this.internalArray_=m(a)};X(MH,n);g=MH.prototype;g.getIssueId=function(){return $t(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};g.getIssueId_asString=function(){return fj(this,1)};g.setIssueId=function(a){return yj(this,1,a)};g.getStatus=function(){return cj(this,2,0)};g.setStatus=function(a){return tj(this,2,a)};g.hasStatus=function(){return aj(this,2)};g.getTitle=function(){return Zi(this,3)};g.setTitle=function(a){return Lh(this,3,a)};
g.getVersion=function(){return qi(this,4)};g.setVersion=function(a){return rj(this,4,a)};g.getVersionOrUndefined=function(){return du(this,4)};g.getIsArchived=function(){return Xi(this,5)};g.setIsArchived=function(a){return Mh(this,5,a)};var NH=function(a){this.internalArray_=m(a,0,NH.messageId)};X(NH,n);NH.prototype.getIssueDigestsList=function(){return gi(this,MH,1,hi())};NH.prototype.getNumTotalResults=function(){return kj(this,2)};NH.repeatedFields_=[1];NH.messageId="b.RelatedIssuesResponse";var OH=function(a,b,c){this.executor=a;this.currentTrackerId=b;this.userAccess=c};g=OH.prototype;
g.createIssue=function(a){var b=this;return(0,W.defer)(function(){return zH(b.userAccess,"writer","components/"+a.snapshot.componentId+"/issueDefaults")}).pipe(df(function(c){if(c){var d=Axa(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:GH}).pipe(B(Bxa))}else{c=(new a6b).setComponentId(a.snapshot.componentId).setTitle(a.snapshot.title).setComment(a.snapshot.comment);var f=bl(a.snapshot.formattingMode);
c=Sj(c,9,f).setAttachmentsList(null!=(e=null==(d=a.attachments)?void 0:d.map(yua))?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:GH}).pipe(B(Bxa))}return d}))};
g.createIssueWithWizard=function(a){var b=Axa(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:GH}).pipe(B(Bxa))};g.getIssue=function(a){var b={},c=this.currentTrackerId.getTrackerId();c&&(b.currentTrackerId=c);return this.executor.get({url:"action/issues/"+a,options:{params:b},responseConstructor:Tn}).pipe(B(function(d){return km(d)}))};
g.batchGetIssues=function(a){var b=new BH;b.setIdsList(a);return this.executor.post({url:"action/issues/batch",body:b,responseConstructor:CH}).pipe(B(function(c){return c.getIssuesList().map(function(d){return fm(d)})}))};g.updateIssue=function(a,b){b=oxa(b);return this.executor.post({url:"action/issues/"+a,body:b,responseConstructor:Tn}).pipe(B(function(c){return km(c)}))};g.moveIssueExternal=function(a,b){b=ixa(b);return this.executor.post({url:"action/issues/"+a+"/external_move",body:b,responseConstructor:Tn}).pipe(B(function(c){return km(c)}))};
g.moveIssue=function(a,b){b=gxa(b);return this.executor.post({url:"action/issues/"+a+"/move",body:b,responseConstructor:Tn}).pipe(B(function(c){return km(c)}))};g.unCcUser=function(a){var b=exa(a);return this.executor.post({url:"action/issues/"+a+"/unccuser",body:b,responseConstructor:Tn}).pipe(B(function(c){return km(c)}))};
g.updateAccessLimit=function(a,b,c,d){if(bxa){var e=new nE,f=e.setIt,h=(new bE).setIssueId(a);b&&(b=Iua(b),h.setIssueAccessLimit(b));c&&h.setAddedCollaboratorsList(c.map(vi));d&&h.setRemovedCollaboratorsList(d.map(vi));c=f.call(e,h)}else{e=(new nE).setIssueId(a);if(b){if(b=cxa[b])b=(new rk).setAccessLevel(b),e.setIssueAccessLimit(b);c&&e.setAddedCollaboratorsList(c.map(Ni));d&&e.setRemovedCollaboratorsList(d.map(Ni))}c=e}return this.executor.post({url:"action/issues/"+a+"/accessLimit",body:c,responseConstructor:null})};
g.getRetainedAccessPrincipals=function(a,b,c,d){b=dxa(a,b,c,d);return this.executor.post({url:"action/issues/"+a+"/retainedAccessPrincipals",body:b,responseConstructor:FH}).pipe(B(function(e){var f,h,k;var q={readers:Fl(null!=(f=e.getReadersList())?f:[]),appenders:Fl(null!=(h=e.getAppendersList())?h:[]),writers:Fl(null!=(k=e.getWritersList())?k:[])};bxa&&e.hasIt()&&(e=e.getIt(),e={readers:e.getReadersList().map(ok),appenders:e.getAppendersList().map(ok),writers:e.getWritersList().map(ok)},Hsa(q,e),
q=e);return q}))};g.markAsVulnerability=function(a,b){var c=(new lE).setIssueId(a);b&&(b=b.map(Ni),gl(c,2,b));return this.executor.post({url:"action/issues/"+a+"/markAsVulnerability",body:c,responseConstructor:null})};g.relateIssue=function(a,b){b=wxa(b);return this.executor.post({url:"action/issues/"+a+"/relate",body:b,responseConstructor:Tn}).pipe(B(function(c){return km(c)}))};g.updateIssueHotlists=function(a,b){b=sxa(b);return this.executor.post({url:"action/issues/"+a+"/hotlists",body:b,responseConstructor:Tn}).pipe(B(function(c){return km(c)}))};
g.updateIssueRetention=function(a,b){b=zxa(b);return this.executor.post({url:"action/issues/"+a+"/update_retention",body:b,responseConstructor:Tn}).pipe(B(function(c){return km(c)}))};g.listIssues=function(a,b){b=void 0===b?{}:b;var c=new M1b;Lh(c,1,a);b.count&&c.setCount(b.count);b.s&&c.setS(b.s);b.p&&c.setP(b.p);var d;c.setTrackerIdsList(null!=(d=b.trackerIds)?d:[]);return this.executor.post({url:"action/issues/list",body:c,responseConstructor:JH}).pipe(B(xBa))};
g.issueBulkEdit=function(a,b){var c={};b&&(c["G-Recaptcha-Response-Token"]=b);b=new N1b;var d=a.bulkEditOps.map(Jxa);gl(b,4,d);a.significanceOverride&&b.setSignificanceOverride(a.significanceOverride);return this.executor.post({url:"action/issues/bulk_edit",body:b,responseConstructor:DH,options:{headers:c}}).pipe(B(Mxa))};
g.getRelatedIssues=function(a){var b={};a.q&&(b.q=a.q);a.s&&(b.s=a.s);a.count&&(b.count=String(a.count));a.p&&(b.p=String(a.p));a.trackerId&&(b.trackerId=a.trackerId);var c="action/related";a.resourceType&&(c+="/"+a.resourceType,a.resourceId&&(c+="/"+a.resourceId));return this.executor.get({url:c,options:{params:b},responseConstructor:NH}).pipe(B(txa))};
var d6b=function(a,b){return a.executor.get({url:"action/issues/"+b+"/events",options:{params:{currentTrackerId:a.currentTrackerId.getTrackerId()}},responseConstructor:KH}).pipe(B(function(c){return gi(c,jm,1,hi()).map(function(d){return Hxa(d)})}))},e6b=function(a,b){b=Cxa(b);return a.executor.post({url:"action/issues/list/events",body:b,responseConstructor:KH}).pipe(B(function(c){return gi(c,jm,1,hi()).map(function(d){return Hxa(d)})}))};OH.\u0275fac=function(a){return new (a||OH)(p(QD),p(vE),p(xH))};
OH.\u0275prov=vc({token:OH,factory:OH.\u0275fac,providedIn:"root"});var PH=function(a){this.observableApi=a};g=PH.prototype;g.createIssue=function(a){return(0,W.firstValueFrom)(this.observableApi.createIssue(a))};g.createIssueWithWizard=function(a){return(0,W.firstValueFrom)(this.observableApi.createIssueWithWizard(a))};g.getIssue=function(a){return(0,W.firstValueFrom)(this.observableApi.getIssue(a))};g.batchGetIssues=function(a){return(0,W.firstValueFrom)(this.observableApi.batchGetIssues(a))};
g.updateIssue=function(a,b){return(0,W.firstValueFrom)(this.observableApi.updateIssue(a,b))};g.moveIssueExternal=function(a,b){return(0,W.firstValueFrom)(this.observableApi.moveIssueExternal(a,b))};g.moveIssue=function(a,b){return(0,W.firstValueFrom)(this.observableApi.moveIssue(a,b))};g.unCcUser=function(a){return(0,W.firstValueFrom)(this.observableApi.unCcUser(a))};g.updateAccessLimit=function(a,b,c,d){return(0,W.firstValueFrom)(this.observableApi.updateAccessLimit(a,b,c,d))};
g.getRetainedAccessPrincipals=function(a,b,c,d){return(0,W.firstValueFrom)(this.observableApi.getRetainedAccessPrincipals(a,b,c,d))};g.markAsVulnerability=function(a,b){return(0,W.firstValueFrom)(this.observableApi.markAsVulnerability(a,b))};g.relateIssue=function(a,b){return(0,W.firstValueFrom)(this.observableApi.relateIssue(a,b))};g.updateIssueHotlists=function(a,b){return(0,W.firstValueFrom)(this.observableApi.updateIssueHotlists(a,b))};
g.updateIssueRetention=function(a,b){return(0,W.firstValueFrom)(this.observableApi.updateIssueRetention(a,b))};g.listIssues=function(a,b){b=void 0===b?{}:b;return(0,W.firstValueFrom)(this.observableApi.listIssues(a,b))};g.issueBulkEdit=function(a,b){return(0,W.firstValueFrom)(this.observableApi.issueBulkEdit(a,b))};g.getRelatedIssues=function(a){return(0,W.firstValueFrom)(this.observableApi.getRelatedIssues(a))};PH.\u0275fac=function(a){return new (a||PH)(p(OH))};
PH.\u0275prov=vc({token:PH,factory:PH.\u0275fac,providedIn:"root"});var QH=function(a,b,c,d){this.issueApi=a;this.templatesApi=b;this.errorHandler=c;this.userAccess=d},g6b=function(a,b){b=a.issueApi.getIssue(b).then(function(c){var d=Object,e=d.assign,f=qa(c.issue.snapshot),h=c.firstEvent.unlinkifiedComment;f.comment=h?h.trim():"";f.status="NEW";f.changelist=null;f.duplicateIssueId=null;f.duplicateOfIssueId=null;return e.call(d,{},{snapshot:f},{trackerId:c.issue.trackerId})}).then(function(c){return f6b(a,c)});b.catch(function(c){a.errorHandler.errorHandler(null,
c)});return b},f6b=function(a,b){var c=b.snapshot.hotlistId;if(!c)return b;var d=c.map(function(e){return zH(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})};QH.\u0275fac=function(a){return new (a||QH)(p(PH),p(tH),p(AG),p(xH))};QH.\u0275prov=vc({token:QH,factory:QH.\u0275fac,providedIn:"root"});var RH=function(){this.bookmarkGroupModified=new W.Subject;this.commentSubmitted=new W.Subject;this.commentRendered=new W.Subject;this.componentModified=new W.Subject;this.contactChipsRevertChanges=new W.Subject;this.customFieldsModified=new W.Subject;this.dashboardPanels={moveDown:new W.Subject,moveUp:new W.Subject,moveToTop:new W.Subject,moveToBottom:new W.Subject,remove:new W.Subject};this.favoritesModified=new W.Subject;this.hotlistCreated=new W.Subject;this.onClickAppMenuIcon=new W.Subject;this.openEditField=
new W.Subject;this.sidebarWidthChanged=new W.Subject;this.hotlistChanged=new W.Subject;this.savedSearchModified=new W.Subject;this.sidebarUpdated=new W.Subject;this.topBarEvents={browseComponents:new W.Subject,manageHotlists:new W.Subject,manageSlos:new W.Subject,setDensity:new W.Subject,openSettings:new W.Subject};this.templateModified=new W.Subject;this.issueViewed=new W.Subject;this.issueEdited=new W.Subject;this.focusCommentBox=new W.Subject;this.scrollToCommentBox=new W.Subject;this.needsAttentionIssueCount=
new W.Subject;this.recaptchaSubmitted=new W.Subject;this.missionControlTaskCount=new W.BehaviorSubject(void 0);this.openHelpMeFixSidebar=new W.Subject;this.closeHelpMeFixSidebar=new W.Subject};RH.\u0275fac=function(a){return new (a||RH)};RH.\u0275prov=vc({token:RH,factory:RH.\u0275fac,providedIn:"root"});var SH=function(){};SH.\u0275fac=function(a){return new (a||SH)};SH.\u0275mod=Nc({type:SH});SH.\u0275inj=wc({imports:[uw,QC]});var TH=function(a,b){SG.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(Bi),B(function(e){return e.templates}),B(function(e){var f;return null!=(f=e.find(function(h){return h.default}))?f:e[0]}))};this.appEvents.templateModified.pipe(Ce(function(d){return!!d&&"0"!==d})).subscribe(function(d){c.poke(d)})};X(TH,SG);
TH.prototype.fetchOne=function(a){return(0,W.from)(this.template.templatesApi.query(Number(a)).then(function(b){return{componentId:a,templates:b}}))};TH.\u0275fac=function(a){return new (a||TH)(p(QH),p(RH))};TH.\u0275prov=vc({token:TH,factory:TH.\u0275fac,providedIn:"root"});var UH=function(a){this.internalArray_=m(a,0,UH.messageId)};X(UH,n);UH.prototype.setCustomField=function(a){return li(this,tl,1,a)};UH.messageId="b.CustomFieldResponse";var VH=function(a){this.internalArray_=m(a)};X(VH,n);VH.prototype.getCustomFieldsList=function(){return gi(this,Hk,1,hi())};VH.prototype.setCustomFieldsList=function(a){return gl(this,1,a)};VH.prototype.getNextPageToken=function(){return Zi(this,2)};VH.prototype.getTotalSize=function(){return qi(this,3)};VH.repeatedFields_=[1];var WH=function(a){this.internalArray_=m(a,0,WH.messageId)};X(WH,n);WH.prototype.getIt=function(){return $i(this,VH,4)};WH.prototype.setIt=function(a){return li(this,VH,4,a)};WH.prototype.hasIt=function(){return ji(this,VH,4)};WH.messageId="b.ListCustomFieldsResponse";var XH=function(a){this.executor=a};g=XH.prototype;g.get=function(a){return this.executor.get({url:"action/custom_fields/"+Number(a),responseConstructor:UH}).pipe(B(Ewa))};g.getResource=function(a){return this.executor.get({url:"action/custom_fields/"+a,responseConstructor:UH}).pipe(B(function(b){return Dwa($i(b,tl,1))}))};g.create=function(a,b){b=Fwa(b);return this.executor.post({url:"action/custom_fields",options:{params:{componentId:String(a)}},body:b,responseConstructor:UH}).pipe(B(Ewa))};
g.update=function(a,b,c){b=Number(b);c=Fwa(c);return this.executor.post({url:"action/custom_fields/"+b,options:{params:{componentId:String(a)}},body:c,responseConstructor:UH}).pipe(B(Ewa))};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:WH}).pipe(B(Gwa))};XH.\u0275fac=function(a){return new (a||XH)(p(QD))};XH.\u0275prov=vc({token:XH,factory:XH.\u0275fac,providedIn:"root"});var YH=function(a){this.observableApi=a};g=YH.prototype;g.get=function(a){return(0,W.firstValueFrom)(this.observableApi.get(a))};g.getResource=function(a){return(0,W.firstValueFrom)(this.observableApi.getResource(a))};
g.create=function(a,b){return(0,W.firstValueFrom)(this.observableApi.create(a,b))};g.update=function(a,b,c){return(0,W.firstValueFrom)(this.observableApi.update(a,b,c))};g.delete=function(a,b){return(0,W.firstValueFrom)(this.observableApi.delete(a,b))};g.query=function(a){return(0,W.firstValueFrom)(this.observableApi.query(a))};YH.\u0275fac=function(a){return new (a||YH)(p(XH))};YH.\u0275prov=vc({token:YH,factory:YH.\u0275fac,providedIn:"root"});var ZH=function(a){SG.call(this,{freshUntil:18E5,ancientAfter:2592E6});this.api=a;this.recordType="customFieldResource";this.idKey="customFieldId"};X(ZH,SG);ZH.prototype.fetchOne=function(a){return this.api.getResource(a).pipe(Pe(function(b){console.error("error fetching custom field "+a,b);return(0,W.of)(void 0)}))};ZH.\u0275fac=function(a){return new (a||ZH)(p(XH))};ZH.\u0275prov=vc({token:ZH,factory:ZH.\u0275fac,providedIn:"root"});var NBa=new Set(["blockedById","blockingId","duplicateId","parentIssueIds","childIssueIds"]);var TBa=RegExp("^[^\\.\\s]{2}\\.{3}@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$"),SBa=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])?$"),XBa=["@twosync.google.com","@twosync-src.google.com","@twosync-loas.google.com"];var vCa=new WeakMap,xCa=new WeakMap;var $H=function(a){SG.call(this);this.observableIssueResources=a;this.recordType="eventsForIssue"};X($H,SG);$H.prototype.isEqual=function(a,b){return(null==a?void 0:a.id)!==(null==b?void 0:b.id)?!1:eCa(null==a?void 0:a.events,null==b?void 0:b.events)};$H.prototype.copy=function(a){return a&&Uh(a)};$H.prototype.fetchOne=function(a){return d6b(this.observableIssueResources,a).pipe(B(function(b){return{id:a,events:b}}))};$H.prototype.fetchSet=function(a){var b=this;return(0,W.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(Bi)}))};
$H.\u0275fac=function(a){return new (a||$H)(p(OH))};$H.\u0275prov=vc({token:$H,factory:$H.\u0275fac,providedIn:"root"});var aI=function(a){this.internalArray_=m(a)};X(aI,n);g=aI.prototype;g.getIssueId=function(){return kj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return kj(this,1)};g.getIssueId_asString=function(){return au(this,1)};g.setIssueId=function(a){return Qj(this,1,a)};g.getCommentNumbersList=function(){return si(this,2,hi())};g.setCommentNumbersList=function(a){return Lb(this,2,a,mb)};g.getCommentNumbers=function(){return bu(this,2)};aI.repeatedFields_=[2];var bI=function(a){this.internalArray_=m(a,0,bI.messageId)};X(bI,n);bI.prototype.setCurrentTrackerId=function(a){yj(this,3,a)};bI.prototype.getIt=function(){return $i(this,aI,4)};bI.prototype.setIt=function(a){return li(this,aI,4,a)};bI.prototype.hasIt=function(){return ji(this,aI,4)};bI.messageId="b.BatchGetIssueCommentsRequest";var cI=function(a){this.internalArray_=m(a)};X(cI,n);cI.prototype.getIssueCommentsList=function(){return gi(this,$l,1,hi())};cI.repeatedFields_=[1];var dI=function(a){this.internalArray_=m(a,0,dI.messageId)};X(dI,n);dI.prototype.getIt=function(){return $i(this,cI,2)};dI.prototype.setIt=function(a){return li(this,cI,2,a)};dI.prototype.hasIt=function(){return ji(this,cI,2)};dI.messageId="b.BatchGetIssueCommentsResponse";var eI=function(a,b){this.jspbExecutor=a;this.currentTrackerId=b};eI.prototype.batchGet=function(a,b){var c=new bI,d=c.setIt;a=(new aI).setIssueId(Number(a)).setCommentNumbersList(b);a=Sj(a,3,2);c=d.call(c,a);(d=this.currentTrackerId.getTrackerId())&&c.setCurrentTrackerId(d);return this.jspbExecutor.post({url:"action/comments/batch",responseConstructor:dI,body:c}).pipe(B(Nxa))};eI.\u0275fac=function(a){return new (a||eI)(p(QD),p(vE))};eI.\u0275prov=vc({token:eI,factory:eI.\u0275fac,providedIn:"root"});var fI=function(a,b){SG.call(this);var c=this;this.issueCommentsBatchApi=a;this.batchApiAdapter=b;this.recordType="formattedCommentsForIssue";this.idForRecord=function(d){return d.id.issueId+"-"+d.id.commentId};this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,maxBatchSize:500,call:function(d){return c.call(d)},split:function(d,e){return c.splitBatch(d,e)}})};X(fI,SG);
fI.prototype.fetchSet=function(a){var b=this,c=a[0].split("-")[0];return(0,W.combineLatest)(a.map(function(d){return b.get(d)})).pipe(B(function(d){var e=[];d=l(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value){var h=void 0,k={issueId:c,commentId:null!=(h=f.commentNumber)?h:0};e.push({id:k,formattedComment:f})}return e}))};
fI.prototype.call=function(a){var b="",c=[];a=l(a);for(var d=a.next();!d.done;d=a.next()){var e=l(d.value.split("-"));d=e.next().value;e=e.next().value;""!==b&&b===d?c.push(Number(e)):""===b&&(b=d,c.push(Number(e)))}return this.issueCommentsBatchApi.batchGet(b,c).pipe(B(function(f){var h=b,k=new Map;f=l(f);for(var q=f.next();!q.done;q=f.next()){q=q.value;var t=void 0,w=Number(h)+"-"+(null!=(t=q.commentNumber)?t:0);k.set(w,q)}return k}))};fI.prototype.splitBatch=function(a,b){return b.get(a)};
fI.\u0275fac=function(a){return new (a||fI)(p(eI),p(jH))};fI.\u0275prov=vc({token:fI,factory:fI.\u0275fac,providedIn:"root"});var gI=function(a){SG.call(this);this.accessPolicyApi=a;this.recordType="hotlistAccessPolicy";this.isEqual=Th};X(gI,SG);gI.prototype.fetchOne=function(a){return this.accessPolicyApi.get("HOTLIST",a).pipe(B(function(b){return Object.assign({},{id:a},b)}))};gI.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("HOTLIST",b,a).pipe(B(function(c){return Object.assign({},{id:b},c)}))};gI.\u0275fac=function(a){return new (a||gI)(p(gH))};
gI.\u0275prov=vc({token:gI,factory:gI.\u0275fac,providedIn:"root"});var h6b=function(a){this.allowExecution=a;this.queue=[]};h6b.prototype.addTask=function(a){this.queue.push(a);i6b(this)};var i6b=function(a){if(0!==a.queue.length)if(a.allowExecution()){var b=l(a.queue),c=b.next().value;a.queue=Be(b);c();i6b(a)}else setTimeout(function(){i6b(a)},0)};var hI=function(a,b,c,d){var e=this;this.location=a;this.platformLocation=b;this.activatedRoute=c;this.router=d;this.scheduler=new h6b(function(){return!e.router.navigationTransitions.currentNavigation})};hI.prototype.absUrl=function(){return this.platformLocation.href};hI.prototype.hash=function(a,b){"undefined"!==typeof a&&j6b(this,null!=a?a:"",b);var c;return null!=(c=this.activatedRoute.snapshot.fragment)?c:""};
var j6b=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})})};hI.prototype.path=function(a,b){"undefined"!==typeof a&&this.setPath(a,b);return this.getPath()};var k6b=function(a,b){a.path(b,!0)};g=hI.prototype;g.getPath=function(){var a=l(this.location.path().split("?")).next().value;return l(a.split("#")).next().value};
g.setPath=function(a,b){var c=this;a=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 KCa(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(){Ts(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)};
hI.\u0275fac=function(a){return new (a||hI)(p(Aw),p(vw),p(Im),p(vF))};hI.\u0275prov=vc({token:hI,factory:hI.\u0275fac,providedIn:"root"});var iI=function(a){this.bLocation=a};g=iI.prototype;g.createIssue=function(a){return en("issues/new",{params:a})};g.editIssue=function(a,b){return dn(a,b)};g.listIssues=function(a){return fn(a)};g.needsAttention=function(){return"attention"};g.viewSavedSearch=function(a){return cn("savedsearches/:savedSearchId",{id:a,params:void 0})};var l6b=function(a,b){b="/"!==b.charAt(0)?"/"+b:b;a=a.bLocation.getUrl();a=new So(a);b=new So(b);return a.getPath()===b.getPath()&&tD(a.queryData_.toString())===tD(b.queryData_.toString())};
g=iI.prototype;g.viewHotlist=function(a){return cn("hotlists/:hotlistId",{id:a})};g.editHotlist=function(a){return en("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 cn("bookmark-groups/:groupId",{id:a})};g.editBookmarkGroup=function(a){return en("bookmark-groups/:groupId/edit",{id:a})};
g.editSavedSearch=function(a){return en("savedsearches/:savedSearchId/edit",{id:a})};g.dashboard=function(a){return en("dashboard/:groupId",{id:a})};g.issuesCsvAction=function(a,b,c,d,e){c=EAa(c);d=FAa(d);return nC("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=EAa(c);(d=FAa(d))&&(d="position,"+d);return nC(a,"trackerIds",b,"s",c,"c",d,"h",e)};g.toApiSortParamValue=function(a){return EAa(a)};
g.getAttachmentAction=function(a,b){return"action/issues/"+a.toString()+"/attachments/"+b.toString()};g.listComponents=function(){return en("components",{params:void 0})};g.viewComponent=function(a,b){return cn("components/:componentId",{id:a,tab:b})};g.manageComponent=function(a,b){return GAa(a,b)};g.createComponent=function(a){return en("components/new",{params:a})};g.editComponent=function(a,b){return en("components/:componentId/edit",{id:a,tab:b})};
g.createSlo=function(){return en("slos/new",{params:void 0})};g.editSlo=function(a){return JCa(a).path};g.listSlos=function(){return en("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 en("home",{params:void 0})};iI.\u0275fac=function(a){return new (a||iI)(p(hI))};
iI.\u0275prov=vc({token:iI,factory:iI.\u0275fac,providedIn:"root"});var jI=function(){this.caches=new Map};jI.prototype.create=function(a,b){if(this.caches.has(a))throw Error("Lc`"+a);b=new kI(null==b?void 0:b.capacity);this.caches.set(a,b);return b};jI.prototype.get=function(a){return this.caches.get(a)};jI.\u0275fac=function(a){return new (a||jI)};jI.\u0275prov=vc({token:jI,factory:jI.\u0275fac,providedIn:"root"});var kI=function(a){this.lruCache=new vG(a,!0)};kI.prototype.get=function(a){return this.lruCache.get(a)};
kI.prototype.put=function(a,b){void 0!==b&&this.lruCache.set(a,b);return b};kI.prototype.remove=function(a){this.lruCache.remove(a)};kI.prototype.removeAll=function(){this.lruCache.clear()};var lI={},LCa=(lI[1]="issue_id",lI[3]="type",lI[4]="status",lI[5]="priority",lI[6]="severity",lI[18]="title",lI[15]="modified_time",lI[14]="created_time",lI[17]="verified_time",lI[16]="resolved_time",lI[38]="deletion_time",lI[13]="blocked_by_issue_ids",lI[12]="blocking_issue_ids",lI[26]="vote_count",lI[28]="cc_count",lI[44]="collaborators_count",lI[2]="component_path",lI[27]="duplicate_count",lI[10]="ccs",lI[43]="collaborators",lI[11]="code_changes",lI[32]="postmortems",lI[8]="assignee",lI[9]="verifier",
lI[7]="reporter",lI[19]="found_in_versions",lI[20]="targeted_to_versions",lI[21]="verified_in_versions",lI[22]="in_prod",lI[30]="last_modifier",lI[25]="position",lI[24]="custom_field",lI[29]="modified_by",lI[31]="archived",lI[23]="canonical_issue_id",lI[33]="min_slo",lI[35]="assignment_slo",lI[36]="response_slo",lI[37]="closure_slo",lI[39]="team",lI[40]="estimate",lI[41]="estimate_total_open",lI[42]="estimate_total_complete",lI[45]="access_level",lI[46]="descendant_count",lI[47]="open_descendant_count",
lI[48]="one_day_view_count",lI[49]="seven_day_view_count",lI[50]="thirty_day_view_count",lI),mI={},NCa=(mI.issue_id=1,mI.type=3,mI.status=4,mI.priority=5,mI.severity=6,mI.title=18,mI.modified_time=15,mI.created_time=14,mI.verified_time=17,mI.resolved_time=16,mI.deletion_time=38,mI.blocked_by_issue_ids=13,mI.blocking_issue_ids=12,mI.vote_count=26,mI.cc_count=28,mI.collaborators_count=44,mI.component_path=2,mI.duplicate_count=27,mI.ccs=10,mI.collaborators=43,mI.code_changes=11,mI.postmortems=32,mI.assignee=
8,mI.verifier=9,mI.reporter=7,mI.found_in_versions=19,mI.targeted_to_versions=20,mI.verified_in_versions=21,mI.in_prod=22,mI.last_modifier=30,mI.position=25,mI.custom_field=24,mI.modified_by=29,mI.archived=31,mI.canonical_issue_id=23,mI.min_slo=33,mI.assignment_slo=35,mI.response_slo=36,mI.closure_slo=37,mI.team=39,mI.estimate=40,mI.estimate_total_open=41,mI.estimate_total_complete=42,mI.descendant_count=46,mI.open_descendant_count=47,mI.one_day_view_count=48,mI.seven_day_view_count=49,mI.thirty_day_view_count=
50,mI);var On=function(a){this.internalArray_=m(a)};X(On,n);On.prototype.getDisplayColumns=function(){return cu(this,1)};On.prototype.setDisplayColumns=function(a){Ob(this,1,rb,a,void 0,ri)};On.repeatedFields_=[1];var Nn=function(a){this.internalArray_=m(a)};X(Nn,n);g=Nn.prototype;g.getHotlistId=function(){return kj(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return kj(this,1)};g.setHotlistId=function(a){return Qj(this,1,a)};g.getName=function(){return Zi(this,2)};g.setName=function(a){return Rj(this,2,a)};g.getDescription=function(){return Zi(this,3)};g.setDescription=function(a){return Rj(this,3,a)};g.getArchived=function(){return Xi(this,4)};g.setArchived=function(a){return Ik(this,4,a)};
g.getDefaultOrderBy=function(){return Zi(this,5)};g.setDefaultOrderBy=function(a){return Rj(this,5,a)};g.getDisplayPreferences=function(){return $i(this,On,6)};g.setDisplayPreferences=function(a){return li(this,On,6,a)};g.getCreatedTime=function(){return $i(this,mj,7)};g.setCreatedTime=function(a){return li(this,mj,7,a)};g.getModifiedTime=function(){return $i(this,mj,8)};g.setModifiedTime=function(a){return li(this,mj,8,a)};g.getOwnersList=function(){return gi(this,ui,9,hi())};
g.setOwnersList=function(a){return gl(this,9,a)};g.getEtag=function(){return kk(this,10)};g.setEtag=function(a){ik(this,10,a)};Nn.repeatedFields_=[9];var Mn=function(a){this.internalArray_=m(a,0,Mn.messageId)};X(Mn,n);Mn.prototype.getIt=function(){return $i(this,Nn,18)};Mn.prototype.setIt=function(a){return li(this,Nn,18,a)};Mn.prototype.hasIt=function(){return ji(this,Nn,18)};Mn.messageId="b.Hotlist";var m6b=RegExp("action/issues/([0-9]+)/"),n6b=new Xc("ETAG_URL_TRANSFORMERS"),o6b=["POST","PUT","DELETE"],nI=function(a){this.etagStore=a};nI.prototype.intercept=function(a,b){var c;if(o6b.includes(a.method)){var d=this.etagStore.getEtag(a);d&&a.headers&&(a=a.clone({headers:a.headers.set("If-Match",d)}))}(d=m6b.exec(a.url))&&(c=d[1]);return p6b(this,a,b,c)};
var p6b=function(a,b,c,d){return c.handle(b).pipe(ff(function(e){if(e instanceof Mz){var f=e.headers;f.has("etag")&&a.etagStore.setEtag(b,f.get("etag"));e=e.body;if(c6b(e)&&d)for(e=l(gi(e,jm,1,hi())),f=e.next();!f.done;f=e.next()){f=l(f.value.getAttachmentsList().map(nk));for(var h=f.next();!h.done;h=f.next())if(h=h.value,h.etag){var k=new Kz("GET","action/issues/"+d+"/attachments/"+h.attachmentId);a.etagStore.setEtag(k,h.etag)}}}}))};nI.\u0275fac=function(a){return new (a||nI)(p(oI))};
nI.\u0275prov=vc({token:nI,factory:nI.\u0275fac,providedIn:"root"});var oI=function(a){this.transformers=a;this.etagStore={}};oI.prototype.setEtag=function(a,b){null!=b&&(a=q6b(this,a.url),this.etagStore[a]=b)};oI.prototype.getEtag=function(a){a=q6b(this,a.url);return this.etagStore[a]};var q6b=function(a,b){var c;a=l(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};oI.\u0275fac=function(a){return new (a||oI)(p(n6b,8))};
oI.\u0275prov=vc({token:oI,factory:oI.\u0275fac,providedIn:"root"});var r6b={provide:Oz,useClass:nI,multi:!0};var pI=function(a){this.internalArray_=m(a,0,pI.messageId)};X(pI,n);pI.prototype.getHotlistsList=function(){return gi(this,Mn,1,hi())};pI.repeatedFields_=[1];pI.messageId="b.ListHotlistsResponse";var qI=function(a,b){this.hotlistApi=b;this.hotlistCache=a.get("hotlists-second-level-cache")||a.create("hotlists-second-level-cache",{capacity:1E3})};g=qI.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)};qI.\u0275fac=function(a){return new (a||qI)(p(jI),p(rI))};qI.\u0275prov=vc({token:qI,factory:qI.\u0275fac,providedIn:"root"});var sI=function(a,b){this.executor=a;this.etagStore=b;this.bufferTimeMs=50};
sI.prototype.call=function(a){a=Array.from(a).map(String);return 0===a.length?(0,W.of)(new Map):1===a.length?this.executor.get({url:"action/hotlists/"+a[0],responseConstructor:Mn}).pipe(B(Pn),B(function(b){var c=new Map;c.set(String(b.hotlistId),b);return c})):this.executor.get({url:"action/hotlists",responseConstructor:pI,options:{params:{id:a}}}).pipe(B(function(b){var c=new Map;b=l(b.getHotlistsList().map(Pn));for(var d=b.next();!d.done;d=b.next())d=d.value,c.set(String(d.hotlistId),d);return c}))};
sI.prototype.split=function(a,b){if(b=b.get(a)){var c=b.etag;if(c){var d=this.etagStore;null!=c&&(a=q6b(d,"action/hotlists/"+a),d.etagStore[a]=c)}}return b};sI.\u0275fac=function(a){return new (a||sI)(p(QD),p(oI))};sI.\u0275prov=vc({token:sI,factory:sI.\u0275fac,providedIn:"root"});var tI=function(a,b,c,d){this.paths=a;this.executor=b;this.batchApiConfig=c;this.batchApiAdapter=d;this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};g=tI.prototype;
g.get=function(a){var b=this;return this.adaptedGet(String(a)).pipe(df(function(c){return c?(0,W.of)(c):b.executor.get({url:"action/hotlists/"+a,responseConstructor:Mn}).pipe(B(Pn))}))};g.bulkLoad=function(a){var b=this;return 0===a.length?(0,W.of)([]):(0,W.forkJoin)(a.map(function(c){return b.adaptedGet(String(c))})).pipe(B(function(c){return c.filter(Bi)}))};
g.repositionHotlistIssue=function(a,b,c){var d=new Pl;d.setIssueId(b);d.setPosition(c);return this.executor.put({url:"action/hotlists/"+a+"/issues",body:d,responseConstructor:null})};g.createHotlist=function(a,b){a=(new Nn).setName(a);b&&a.setDescription(b);return this.executor.post({url:"action/hotlists",body:(new Mn).setIt(a),responseConstructor:Mn}).pipe(B(Pn))};
g.queryHotlists=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:pI,options:{params:{q:a}}}).pipe(B(function(b){var c;return(null!=(c=b.getHotlistsList())?c:[]).map(Pn)}))};g.archiveHotlist=function(a,b){return this.executor.post({url:"action/hotlists/"+a+"/archive",body:SCa(b),responseConstructor:Mn}).pipe(B(Pn))};
g.updateMetadata=function(a,b){var c={};b.etag&&(c["If-Match"]=String(b.etag));return this.executor.post({url:"action/hotlists/"+a,body:SCa(b),options:{headers:c},responseConstructor:Mn}).pipe(B(Pn))};g.getPagedHotlistContent=function(a,b,c,d,e){b={p:String(b),count:String(c)};if(d=this.paths.toApiSortParamValue(d))b.s=d;e&&(b.trackerIds=e);return this.executor.get({url:"action/hotlists/"+a+"/issues",options:{params:Object.assign({},b)},responseConstructor:JH}).pipe(B(xBa))};
tI.\u0275fac=function(a){return new (a||tI)(p(iI),p(QD),p(sI),p(jH))};tI.\u0275prov=vc({token:tI,factory:tI.\u0275fac,providedIn:"root"});var rI=function(a){this.observableApi=a};g=rI.prototype;g.get=function(a){return(0,W.firstValueFrom)(this.observableApi.get(a))};g.bulkLoad=function(a){return(0,W.firstValueFrom)(this.observableApi.bulkLoad(a))};g.repositionHotlistIssue=function(a,b,c){return(0,W.firstValueFrom)(this.observableApi.repositionHotlistIssue(a,b,c))};
g.createHotlist=function(a,b){return(0,W.firstValueFrom)(this.observableApi.createHotlist(a,b))};g.queryHotlists=function(a){return(0,W.firstValueFrom)(this.observableApi.queryHotlists(a))};g.archiveHotlist=function(a,b){return(0,W.firstValueFrom)(this.observableApi.archiveHotlist(a,b))};g.updateMetadata=function(a,b){return(0,W.firstValueFrom)(this.observableApi.updateMetadata(a,b))};
g.getPagedHotlistContent=function(a,b,c,d,e){return(0,W.firstValueFrom)(this.observableApi.getPagedHotlistContent(a,b,c,d,e))};rI.\u0275fac=function(a){return new (a||rI)(p(tI))};rI.\u0275prov=vc({token:rI,factory:rI.\u0275fac,providedIn:"root"});var s6b=function(a){this.internalArray_=m(a)};X(s6b,n);g=s6b.prototype;g.getUser=function(){return $i(this,Mi,5)};g.setUser=function(a){return li(this,Mi,5,a)};g.hasUser=function(){return ji(this,Mi,5)};g.getResourceType=function(){return cj(this,2,0)};g.setResourceType=function(a){tj(this,2,a)};g.hasResourceType=function(){return aj(this,2)};g.getResourceId=function(){return $t(this,3)};g.getResourceId_asString=function(){return fj(this,3)};g.setResourceId=function(a){yj(this,3,a)};
g.hasResourceId=function(){return null!=ej(this,3)};g.getName=function(){return Zi(this,4)};g.setName=function(a){return Lh(this,4,a)};g.hasName=function(){return Pi(this,4)};g.getNameOrUndefined=function(){return fu(this,4)};var ep=function(a){this.internalArray_=m(a)};X(ep,n);g=ep.prototype;g.getSavedSearchId_asLegacyNumberOrString=function(){return kj(this,1)};g.setSavedSearchId=function(a){return Qj(this,1,a)};g.getName=function(){return Zi(this,2)};g.setName=function(a){return Rj(this,2,a)};g.getDescription=function(){return Zi(this,3)};g.setDescription=function(a){return Rj(this,3,a)};g.getQuery=function(){return Zi(this,4)};g.setQuery=function(a){return Rj(this,4,a)};g.clearQuery=function(){lk(this,4)};
g.getDefaultOrderBy=function(){return Zi(this,5)};g.setDefaultOrderBy=function(a){return Rj(this,5,a)};g.getDisplayPreferences=function(){return $i(this,On,6)};g.setDisplayPreferences=function(a){return li(this,On,6,a)};g.getOwnersList=function(){return gi(this,ui,7,hi())};g.setOwnersList=function(a){return gl(this,7,a)};ep.repeatedFields_=[7];var Qn=function(a){this.internalArray_=m(a)};X(Qn,n);Qn.prototype.getIt=function(){return $i(this,ep,12)};Qn.prototype.setIt=function(a){return li(this,ep,12,a)};Qn.prototype.hasIt=function(){return ji(this,ep,12)};var vI=function(a){this.internalArray_=m(a,0,vI.messageId)};X(vI,n);vI.prototype.getFavorite=function(){return $i(this,s6b,1)};vI.messageId="b.Favorite";var wI=function(a){this.internalArray_=m(a,0,wI.messageId)};X(wI,n);wI.prototype.addHotlist=function(a){sq(this,1,Mn,a)};wI.prototype.setHotlist=function(a){return Tt(this,1,Mn,a)};wI.repeatedFields_=[1];wI.messageId="b.HotlistBatchResponse";var Rn=function(a){this.internalArray_=m(a)};X(Rn,n);g=Rn.prototype;g.getId=function(){return $t(this,1)};g.getId_asLegacyNumberOrString=function(){return $t(this,1)};g.getId_asString=function(){return fj(this,1)};g.setId=function(a){return yj(this,1,a)};g.getName=function(){return Zi(this,2)};g.setName=function(a){return Lh(this,2,a)};g.hasName=function(){return Pi(this,2)};g.getNameOrUndefined=function(){return fu(this,2)};g.getDescription=function(){return Zi(this,3)};
g.setDescription=function(a){return Lh(this,3,a)};g.hasDescription=function(){return Pi(this,3)};g.getAdminUsersList=function(){return gi(this,Mi,8,hi())};g.getStarred=function(){return Xi(this,5)};g.setStarred=function(a){Mh(this,5,a)};g.getResourceType=function(){return Zi(this,6)};g.setResourceType=function(a){Lh(this,6,a)};g.hasResourceType=function(){return Pi(this,6)};Rn.repeatedFields_=[8];var Sn=function(a){this.internalArray_=m(a)};X(Sn,n);g=Sn.prototype;g.getId=function(){return $t(this,1)};g.getId_asLegacyNumberOrString=function(){return $t(this,1)};g.getId_asString=function(){return fj(this,1)};g.setId=function(a){return yj(this,1,a)};g.getName=function(){return Zi(this,2)};g.setName=function(a){return Lh(this,2,a)};g.hasName=function(){return Pi(this,2)};g.getNameOrUndefined=function(){return fu(this,2)};g.getDescription=function(){return Zi(this,3)};
g.setDescription=function(a){return Lh(this,3,a)};g.hasDescription=function(){return Pi(this,3)};g.getAdminUsersList=function(){return gi(this,Mi,8,hi())};g.getStarred=function(){return Xi(this,5)};g.setStarred=function(a){Mh(this,5,a)};Sn.repeatedFields_=[8,6];var xI=function(a){this.internalArray_=m(a,0,xI.messageId)};X(xI,n);xI.prototype.getHotlistsList=function(){return gi(this,Rn,1,hi())};xI.repeatedFields_=[1,2,3,4];xI.messageId="b.SidebarInfo";var yI=function(a){this.internalArray_=m(a,0,yI.messageId)};X(yI,n);yI.repeatedFields_=[1];yI.messageId="b.UserRecentComponentResponse";var zI=function(a){this.internalArray_=m(a,0,zI.messageId)};X(zI,n);zI.repeatedFields_=[1];zI.messageId="b.UserSavedSearchesResponse";var AI=function(a){this.executor=a};g=AI.prototype;g.getUserHotlists=function(){return this.executor.get({url:"action/current_user/hotlists",responseConstructor:wI}).pipe(B(TCa))};g.getUserSidebar=function(){return this.executor.get({url:"action/current_user/sidebar",responseConstructor:xI}).pipe(B($Ca))};g.getRecentComponents=function(){return this.executor.get({url:"action/current_user/recent_components",responseConstructor:yI}).pipe(B(swa))};
g.getUserSavedSearches=function(){return this.executor.get({url:"action/current_user/searches",responseConstructor:zI}).pipe(B(XCa))};g.getFavorite=function(a,b){return this.executor.get({url:"action/favorites/"+a+"/"+b,responseConstructor:vI}).pipe(B(VCa))};g.saveFavorite=function(a){var b=new s6b;b.setResourceType(r1b[a.resourceType]);b.setResourceId(String(a.resourceId));return this.executor.post({url:"action/favorites",body:b,responseConstructor:vI}).pipe(B(VCa))};
g.deleteFavorite=function(a){return this.executor.delete({url:"action/favorites/"+a.resourceType+"/"+a.resourceId,responseConstructor:null})};var t6b=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})};
AI.\u0275fac=function(a){return new (a||AI)(p(QD))};AI.\u0275prov=vc({token:AI,factory:AI.\u0275fac,providedIn:"root"});var BI=function(a){this.observableApi=a};g=BI.prototype;g.getUserHotlists=function(){return(0,W.firstValueFrom)(this.observableApi.getUserHotlists())};g.getUserSidebar=function(){return(0,W.firstValueFrom)(this.observableApi.getUserSidebar())};g.getRecentComponents=function(){return(0,W.firstValueFrom)(this.observableApi.getRecentComponents())};g.getUserSavedSearches=function(){return(0,W.firstValueFrom)(this.observableApi.getUserSavedSearches())};
g.getFavorite=function(a,b){return(0,W.firstValueFrom)(this.observableApi.getFavorite(a,b))};g.saveFavorite=function(a){return(0,W.firstValueFrom)(this.observableApi.saveFavorite(a))};g.deleteFavorite=function(a){return(0,W.firstValueFrom)(this.observableApi.deleteFavorite(a))};BI.\u0275fac=function(a){return new (a||BI)(p(AI))};BI.\u0275prov=vc({token:BI,factory:BI.\u0275fac,providedIn:"root"});var u6b={parent:"me"},CI=function(a,b,c){SG.call(this,{freshUntil:3E5});var d=this;this.observableHotlistResources=a;this.observableUserResources=b;this.appEvents=c;this.recordType="hotlist";this.idKey="hotlistId";(0,W.merge)(this.appEvents.hotlistChanged,this.appEvents.hotlistCreated,this.appEvents.bookmarkGroupModified).subscribe(function(){d.pokeMany(u6b)})};X(CI,SG);
CI.prototype.fetchOne=function(a){return this.observableHotlistResources.get(a).pipe(Pe(function(b){return 403===b.status?(0,W.of)(void 0):(0,W.throwError)(b)}))};CI.prototype.fetchAll=function(a){if("me"===a.parent)return this.observableUserResources.getUserHotlists().pipe(B(function(b){return{results:b}}));Xj("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,W.of)({results:[]})};
CI.prototype.fetchSet=function(a){return this.observableHotlistResources.bulkLoad(a).pipe(B(function(b){return(null!=b?b:[]).filter(Bi)}))};CI.prototype.doSave=function(a){return this.observableHotlistResources.updateMetadata(a.hotlistId,a)};var v6b=function(a){return a.watchMany(u6b).pipe(B(function(b){return b.results}))};CI.\u0275fac=function(a){return new (a||CI)(p(tI),p(AI),p(RH))};CI.\u0275prov=vc({token:CI,factory:CI.\u0275fac,providedIn:"root"});var aDa=function(a){this.internalArray_=m(a)};X(aDa,n);aDa.repeatedFields_=[1];var w6b=!1;var cDa=z1b("last-visit"),dDa=z1b("last-visit-count"),fDa=A1b("last-visit"),eDa=A1b("last-visit-count");null==Date.now&&(Date.now=function(){return(new Date).getTime()});var DI=function(){var a=new Mo(852,"0");a.setComponentId("");a.useSendBeaconForFinalFlush();a.useGetRequestForFinalFlush();a.sendBeaconApiEnabled=!0;a=new pC(852,void 0,void 0,void 0,void 0,a.build());a=this.service=new DYb(a);a.flushInterval=3E3;a.flushTimer.setInterval(3E3)};DI.\u0275fac=function(a){return new (a||DI)};DI.\u0275prov=vc({token:DI,factory:DI.\u0275fac,providedIn:"root"});var x6b=Di("debug-logging")(),EI=function(a,b){this.activeSession=a;this.streamz=b;this.pageLoadTime=new N0b(this.streamz.service);this.userLatency=new P0b(this.streamz.service);this.userActionCounter=new O0b(this.streamz.service);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType()};
EI.prototype.timePageLoad=function(a,b){this.pageLoadTime.record(a,b,this.frontendAccessMode,this.environmentType);x6b&&console.log("Clearcut stub",{action:b,duration:a})};var FI=function(a,b,c){a.userLatency.record(b,c,a.frontendAccessMode,a.environmentType);x6b&&console.log("Clearcut stub",{action:c,duration:b})},y6b=function(a,b){a.userActionCounter.increment(b,a.frontendAccessMode,a.environmentType);x6b&&console.log("Clearcut stub",{action:b})};
EI.\u0275fac=function(a){return new (a||EI)(p(nt),p(DI))};EI.\u0275prov=vc({token:EI,factory:EI.\u0275fac,providedIn:"root"});var z6b=Sp.GLOBAL_SEARCH,A6b=Sp.JOURNEY,B6b=Hj("journey-log"),C6b=Ota("journey-log"),GI={},D6b=(GI.ssue__edit="edit",GI.ssue__addComment="comment",GI["ssue__light-ixn"]="ixn",GI.ssue__copyIssueId="ixn",GI[z6b+"__.*__.*text"]="ilp-search",GI[z6b+"__.*__filters"]="ilp-filter",GI),HI={startEvents:["ilp-search"],successEvents:["edit","ixn","comment"],abortEvents:["ilp-filter","idle"],successMarker:"SUCCESS-search",count:["nav"]},II=function(a){this.clearcut=a},E6b=function(a,b){var c=void 0===c?Date.now():
c;var d,e=null!=(d=C6b())?d:[];e.push([b,c]);100<e.length&&(e=e.slice(-100));B6b(e);if(HI.successEvents.includes(b)){b=e;c=HI.abortEvents;d=HI.successEvents;e=HI.startEvents;for(var f=HI.successMarker,h,k=b.length-1;0<=k;k--){var q=l(b[k]),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=l(w),h=w.next().value,w=w.next().value-h,FI(a.clearcut,w,hDa(A6b,"global-search-text")),$m(A6b,
"global-search-text","duration",w),E6b(a,HI.successMarker))}};II.\u0275fac=function(a){return new (a||II)(p(EI))};II.\u0275prov=vc({token:II,factory:II.\u0275fac,providedIn:"root"});var JI=function(a){var b=this;this.clearcut=a;this.onMeasurement=function(c){c.getEntries().forEach(b.sendToClearcut)};this.sendToClearcut=function(c){var d=c.name;c=Math.round(c.duration);null!=d&&(isNaN(c)||b.clearcut.timePageLoad&&b.clearcut.timePageLoad(c,d))}},F6b=function(a){Ym()&&(null!=a.observer&&a.observer.disconnect(),a.observer=new kAa.PerformanceObserver(a.onMeasurement),a.observer.observe({entryTypes:["measure"]}))};JI.\u0275fac=function(a){return new (a||JI)(p(EI))};
JI.\u0275prov=vc({token:JI,factory:JI.\u0275fac,providedIn:"root"});var G6b=[Sm,Um,Tm],LI=function(a,b){Y.call(this);var c=this;this.router=a;this.activatedRoute=b;this.routeChangeStart=new W.Subject;this.routeChangeSuccess=new W.Subject;this.locationChangeStart=new W.Subject;this.locationChangeSuccess=new W.Subject;this.routeUpdate=new W.Subject;this.viewContentLoaded=new W.Subject;this.navigationEnd$=this.router.events.pipe(Ce(Zza));this.navigationOver$=this.router.events.pipe(Ce(function(d){return G6b.some(function(e){return d instanceof e})}));KI(this,pza).subscribe(function(d){c.routeChangeStart.next({params:Object.assign({},
d.snapshot.queryParams,d.snapshot.params)})});a=KI(this,H2b);(0,W.merge)(this.navigationOver$.pipe(Ye(W.NEVER)),this.routeChangeStart.pipe(Ye(a))).pipe(df(be),ef(this.destroyed$),Ce(function(d){return d.snapshot.routeConfig.isRootRoute}),B(function(d){return{params:Object.assign({},d.snapshot.queryParams,d.snapshot.params)}})).subscribe(function(d){c.routeChangeSuccess.next(d)});KI(this,Xm).pipe(B(function(d){return d.url}),Te()).subscribe(function(){c.locationChangeStart.next()});KI(this,Sm).pipe(B(function(d){return d.url}),
Te()).subscribe(function(){c.locationChangeSuccess.next()});a=this.activatedRoute.queryParams.pipe(gf(KI(this,cF)));(0,W.merge)(this.routeChangeStart.pipe(Ye(W.NEVER)),this.navigationOver$.pipe(Ye(a))).pipe(df(be),ef(this.destroyed$)).subscribe(function(d){d=l(d);d.next();d=d.next().value;c.routeUpdate.next({params:d.state.root.params})});KI(this,Sm).subscribe(function(){c.viewContentLoaded.next()})};X(LI,Y);LI.\u0275dir=Y.\u0275dir;
var KI=function(a,b){return a.router.events.pipe(Ce(function(c){return c instanceof b}),B(function(c){return c}),ef(a.destroyed$))};LI.\u0275fac=function(a){return new (a||LI)(p(vF),p(Im))};LI.\u0275prov=vc({token:LI,factory:LI.\u0275fac,providedIn:"root"});var H6b=Di("onedev-darkmode"),I6b=Di("hasClickedCommentSortBtn"),MI=function(a,b,c,d){Y.call(this);var e=this;this.journeyTracker=d;this.preapply=function(){var F=J6b;return function(J){return function(H,O){kp(e,F,J,H,O)}}};gDa();an("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;an("dimension1",f);bn("dimension7",H6b()?"dark":"default");var k;bn("dimension3",null==(k=d.themePreferences)?
void 0:k.density);bn("dimension6",tE(b,"readUnreadOptOut"));bn("dimension8",tE(b,"enableEnhancedCommentThread"));bn("dimension9",I6b());bn("dimension14",tE(b,"enablePromptExperiment"));bn("dimension15",tE(b,"enableEmbeddedSimilarIssuesUi"));h=d.showFullHistory?"fh":"comments";var q;if(tE(b,"enableCommentFiltering")&&(null==(q=d.commentFilterPreferences)?0:q.commentFilter)){var t;h=null==(t=d.commentFilterPreferences)?void 0:t.commentFilter}an("dimension2",h);an("dimension5",d.showRecentEventsFirst?
"newestFirst":"oldestFirst");bn("dimension11",tE(b,"enableHomepageVariantA"));var w,z;b=(null!=(z=null==(w=d.missionControlPreferences)?void 0:w.workAreaUrls)?z:[]).length;an("dimension12",0<b);this.subscriptions.add(a.viewContentLoaded.pipe(cf(void 0)).subscribe(function(){var F=Yza(c.snapshot);BAa("page_location",F);wAa("page_view",{page_path:F})}))};X(MI,Y);MI.\u0275dir=Y.\u0275dir;
var kp=function(a,b,c,d,e){$m(b,c,d,"boolean"===typeof e?e?1:0:e);a=a.journeyTracker;b=hDa(b,c,d);c=l(Object.entries(D6b));for(d=c.next();!d.done;d=c.next())if(e=l(d.value),d=e.next().value,e=e.next().value,b.match(new RegExp(d))){E6b(a,e);break}},K6b=function(a,b,c){wAa("timing",Object.assign({},{timing_category:"userAction",timing_var:a,timing_value:b},void 0!==c?{timing_label:c}:{}))};MI.\u0275fac=function(a){return new (a||MI)(p(LI),p(nt),p(Im),p(II))};
MI.\u0275prov=vc({token:MI,factory:MI.\u0275fac,providedIn:"root"});var NI=function(a){this.internalArray_=m(a)};X(NI,n);g=NI.prototype;g.getComponentId=function(){return kj(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return kj(this,1)};g.getComponentId_asString=function(){return au(this,1)};g.setComponentId=function(a){return Qj(this,1,a)};g.getType=function(){return cj(this,2,0)};g.setType=function(a){return Sj(this,2,a)};g.getPriority=function(){return cj(this,3,0)};g.setPriority=function(a){return Sj(this,3,a)};
g.getSeverity=function(){return cj(this,4,0)};g.setSeverity=function(a){Sj(this,4,a)};g.getStatus=function(){return cj(this,5,0)};g.setStatus=function(a){return Sj(this,5,a)};g.getReporter=function(){return $i(this,ui,6)};g.setReporter=function(a){li(this,ui,6,a)};g.getAssignee=function(){return $i(this,ui,7)};g.setAssignee=function(a){li(this,ui,7,a)};g.clearAssignee=function(){return lk(this,7)};g.getVerifier=function(){return $i(this,ui,8)};g.setVerifier=function(a){li(this,ui,8,a)};
g.clearVerifier=function(){return lk(this,8)};g.getCcsList=function(){return gi(this,ui,9,hi())};g.setCcsList=function(a){gl(this,9,a)};g.getCollaboratorsList=function(){return gi(this,ui,23,hi())};g.setCollaboratorsList=function(a){gl(this,23,a)};g.setCollaborators=function(a){Tt(this,23,ui,a)};g.getHotlistIdsList=function(){return Jj(this,10,hi())};g.getHotlistIdsList_asLegacyNumberOrString=function(){return Jj(this,10,hi())};g.setHotlistIdsList=function(a){Ut(this,10,a)};
g.addHotlistIds=function(a,b){return Nb(this,10,ob,a,b)};g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return Jj(this,11,hi())};g.setBlockedByIssueIdsList=function(a){Ut(this,11,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return Jj(this,12,hi())};g.setBlockingIssueIdsList=function(a){Ut(this,12,a)};g.getCanonicalIssueId_asLegacyNumberOrString=function(){return kj(this,13)};g.setCanonicalIssueId=function(a){Qj(this,13,a)};
g.getDuplicateIssueIdsList_asLegacyNumberOrString=function(){return Jj(this,14,hi())};g.setDuplicateIssueIdsList=function(a){Ut(this,14,a)};g.getInProd=function(){return Xi(this,15)};g.setInProd=function(a){Ik(this,15,a)};g.getSloSnoozeUntil=function(){return $i(this,mj,16)};g.setSloSnoozeUntil=function(a){li(this,mj,16,a)};g.getSloEndTime=function(){return $i(this,mj,25)};g.setSloEndTime=function(a){li(this,mj,25,a)};g.hasSloEndTime=function(){return ji(this,mj,25)};
g.getRetention=function(){return cj(this,17,0)};g.setRetention=function(a){Sj(this,17,a)};g.getEntityStatus=function(){return $i(this,jk,18)};g.setEntityStatus=function(a){return li(this,jk,18,a)};g.getIsArchived=function(){return Xi(this,19)};g.setIsArchived=function(a){return Ik(this,19,a)};g.getEffort=function(){return $i(this,jl,24)};g.setEffort=function(a){li(this,jl,24,a)};g.hasEffort=function(){return ji(this,jl,24)};g.getAccessLimit=function(){return $i(this,rk,26)};
g.setAccessLimit=function(a){return li(this,rk,26,a)};NI.repeatedFields_=[9,23,10,11,12,14];var OI=function(a){this.internalArray_=m(a)};X(OI,n);g=OI.prototype;g.getIssueId=function(){return kj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return kj(this,1)};g.getIssueId_asString=function(){return au(this,1)};g.setIssueId=function(a){return Qj(this,1,a)};g.getIssueState=function(){return $i(this,NI,2)};g.setIssueState=function(a){return li(this,NI,2,a)};g.hasIssueState=function(){return ji(this,NI,2)};g.getVersion=function(){return qi(this,3)};
g.setVersion=function(a){return Zj(this,3,a)};g.getEtag=function(){return kk(this,16)};g.setEtag=function(a){ik(this,16,a)};g.getCreatedTime=function(){return $i(this,mj,4)};g.setCreatedTime=function(a){return li(this,mj,4,a)};g.getModifiedTime=function(){return $i(this,mj,5)};g.setModifiedTime=function(a){return li(this,mj,5,a)};g.getMajorModifiedTime=function(){return $i(this,mj,14)};g.setMajorModifiedTime=function(a){return li(this,mj,14,a)};g.getResolvedTime=function(){return $i(this,mj,6)};
g.setResolvedTime=function(a){return li(this,mj,6,a)};g.getVerifiedTime=function(){return $i(this,mj,7)};g.setVerifiedTime=function(a){return li(this,mj,7,a)};g.getSloId=function(){return kj(this,9)};g.getSloId_asLegacyNumberOrString=function(){return kj(this,9)};g.getSloId_asString=function(){return au(this,9)};g.setSloId=function(a){return Qj(this,9,a)};g.getSloStatus=function(){return $i(this,Nk,10)};g.setSloStatus=function(a){li(this,Nk,10,a)};g.hasSloStatus=function(){return ji(this,Nk,10)};
g.getTeamId=function(){return kj(this,13)};g.getTeamId_asLegacyNumberOrString=function(){return kj(this,13)};g.getTeamId_asString=function(){return au(this,13)};g.setTeamId=function(a){return Qj(this,13,a)};g.getRetentionState=function(){return $i(this,fk,11)};g.setRetentionState=function(a){li(this,fk,11,a)};g.getAccessLimit=function(){return $i(this,sk,12)};g.setAccessLimit=function(a){return li(this,sk,12,a)};g.getParentIssueIdsList=function(){return Jj(this,17,hi())};
g.setParentIssueIdsList=function(a){return Ut(this,17,a)};g.getAncestorsMap=function(){return Kb(this,19,Tl,Yba)};g.getIsArchived=function(){return Xi(this,18)};g.setIsArchived=function(a){return Ik(this,18,a)};OI.repeatedFields_=[17];var PI=function(a){this.internalArray_=m(a,0,PI.messageId)};X(PI,n);PI.prototype.getIt=function(){return $i(this,OI,14)};PI.prototype.setIt=function(a){return li(this,OI,14,a)};PI.prototype.hasIt=function(){return ji(this,OI,14)};PI.messageId="b.IssueMetadata";var QI=function(a){this.internalArray_=m(a)};X(QI,n);QI.prototype.getIssueIdsList=function(){return Jj(this,1,hi())};QI.prototype.getIssueIdsList_asLegacyNumberOrString=function(){return Jj(this,1,hi())};QI.prototype.setIssueIdsList=function(a){return Ut(this,1,a)};QI.prototype.addIssueIds=function(a){Nb(this,1,ob,a)};QI.repeatedFields_=[1];var L6b=function(a){this.internalArray_=m(a,0,L6b.messageId)};X(L6b,n);L6b.messageId="b.UpdateIssueReadTimestampResponse";var RI=function(a){this.executor=a};RI.prototype.delete=function(a,b){var c=new hE;c.setIssueId(String(a));c.setReason(dwa[b]);return this.executor.post({url:"action/issues/"+a+"/delete",body:c,responseConstructor:null})};RI.prototype.undelete=function(a){var b=new mE;b.setIssueId(String(a));return this.executor.post({url:"action/issues/"+a+"/undelete",body:b,responseConstructor:null})};RI.prototype.getMetadata=function(a){return this.executor.get({url:"action/issues/"+a+"/metadata",responseConstructor:PI}).then(Pxa)};
RI.prototype.markRead=function(a,b,c){b=void 0===b?!0:b;c=void 0===c?"USER_ACTIVITY_TYPE_UNDEFINED":c;a=(new QI).setIssueIdsList(a.map(Number));b=Mh(a,2,b);c=tj(b,3,v1b[c]);return this.executor.post({url:"action/issues/read_timestamp",body:c,responseConstructor:L6b}).then(Oxa)};RI.\u0275fac=function(a){return new (a||RI)(p(RD))};RI.\u0275prov=vc({token:RI,factory:RI.\u0275fac,providedIn:"root"});var SI=function(){this.refreshRequest=new W.Subject};SI.prototype.getObservable=function(){return this.refreshRequest};var M6b=function(a,b){return a.getObservable().pipe(cf(void 0)).pipe(df(function(){return b}))};SI.\u0275fac=function(a){return new (a||SI)};SI.\u0275prov=vc({token:SI,factory:SI.\u0275fac,providedIn:"root"});var TI=Sp.ISSUE,UI=function(a,b,c,d,e,f,h,k){SG.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=k;this.recordType="issue";this.normalizeQueryResponses=!1;this.idForRecord=function(t){return String(t.issueId)};this.isEqual=Th;this.issueFetchResponse$=new W.Subject;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()})};X(UI,SG);UI.prototype.fetchOne=function(a){return this.get(a).pipe(Pe(function(){return(0,W.of)(void 0)}))};UI.prototype.fetchSet=function(a){var b=this;return(0,W.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(Bi)}))};
UI.prototype.fetchAll=function(a){var b=a.filter;a={s:a.sort,count:a.pageSize};if(b)return this.issueResources.listIssues(b,a).pipe(B(function(c){return{results:c.issues,totalSize:c.numTotalResults}}));throw Error("Qc");};UI.prototype.copy=function(a){return a&&Uh(a)};
var N6b=function(a,b,c){kp(a.analytics,TI,"light-ixn","star");var d={starred:c,voted:null,notificationSubscription:null};sE(a.activeSession)&&(d.voted=c);return t6b(a.userResources,b,d).pipe(ff(function(){RG(a,b,function(e){e.userData&&(e.userData.starred=c,sE(a.activeSession)&&(e.userData.voted=c))})}))};
UI.prototype.setVoted=function(a,b){var c=this;kp(this.analytics,TI,"light-ixn","vote",b);return t6b(this.userResources,a,{voted:b,starred:null,notificationSubscription:null}).pipe(ff(function(){RG(c,a,function(d){d.userData&&(d.userData.voted=b)})}))};
UI.prototype.setNotificationSubscription=function(a,b){var c=this,d;return ke(function(e){if(1==e.nextAddress)return kp(c.analytics,TI,"light-ixn","notifs",Number(b)),d={voted:null,starred:null,notificationSubscription:b},me(e,(0,W.firstValueFrom)(t6b(c.userResources,a,d)),2);RG(c,a,function(f){f.userData&&(f.userData.notificationSubscription=b)});qe(e)})};
var O6b=function(a,b,c){kp(a.analytics,TI,"edit","title");var d={issueId:b,actions:[{fieldName:"title",value:c}]};RG(a,b,function(e){e.snapshot[0].title=c});return a.issueResources.updateIssue(b,d).pipe(ff(function(e){e&&a.announce(e.issue)}))},P6b=function(a,b,c,d){var e,f,h,k,q,t,w;return ke(function(z){if(1==z.nextAddress){kp(a.analytics,TI,"edit","hotlists");e={removeHotlistIds:d,addHotlistIds:c,hotlistIssue:{issueId:b}};f=l([].concat(r(c),r(d)));for(h=f.next();!h.done;h=f.next())k=h.value,a.hotlistFridge.setIsSaving(k);
le(z,2);return me(z,(0,W.firstValueFrom)(a.issueResources.updateIssueHotlists(b,e)).finally(function(){for(var F=l([].concat(r(c),r(d))),J=F.next();!J.done;J=F.next())a.hotlistFridge.clearIsSaving(J.value)}),4)}if(2!=z.nextAddress)return(q=z.yieldResult)&&a.announce(q.issue),z.return(null==(t=q)?void 0:t.issue);w=pe(z);a.poke(b);throw w;})},Q6b=function(a,b,c){return VI(a,"ADD","DUPLICATE",c,[b]).then(function(){return a.poke(b)})};
UI.prototype.removeDuplicate=function(a,b){var c=this;return VI(this,"REMOVE","DUPLICATE",b,[a]).then(function(){return c.poke(a)})};
var VI=function(a,b,c,d,e){if(0===e.length||null==d)return Promise.resolve(void 0);kp(a.analytics,TI,"edit","relation",Number(c));b={relation:c,issueId:d,targetIds:e,actionType:b};R6b(a,b);var f=[d].concat(r(e));e=l(f);for(c=e.next();!c.done;c=e.next())a.setIsSaving(c.value);return(0,W.firstValueFrom)(a.issueResources.relateIssue(d,b)).then(function(h){h&&a.announce(h.issue)}).catch(function(h){a.poke(d);throw h;}).finally(function(){for(var h=l(f),k=h.next();!k.done;k=h.next())a.clearIsSaving(k.value)})},
WI=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,k,q,t;return ke(function(w){if(1==w.nextAddress)return a.activeSession.isAnonymous()?w.return():me(w,a.issueService.markRead(b,d,f),2);h=w.yieldResult;if(e)for(k=l(b),q=k.next();!q.done;q=k.next())t=q.value,RG(a,String(t),function(z){z.userData&&(z.userData.lastViewedTimeMicros=h.readTimestamp)});return w.return(h.readTimestamp?
Math.round(h.readTimestamp/1E3):void 0)})},R6b=function(a,b){RG(a,b.issueId,function(c){switch(b.relation){case "BLOCKED_BY":if("ADD"===b.actionType){var d;c.snapshot[0].blockedByIssueId=[].concat(r(null!=(d=c.snapshot[0].blockedByIssueId)?d:[]),r(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:[]}}})};
UI.prototype.call=function(a){var b=this;if(1===a.size){var c=[].concat(r(a))[0];return this.issueResources.getIssue(c).pipe(ff(function(d){b.issueFetchResponse$.next(d)}),B(function(d){return new Map([[c,d.issue]])}))}return this.issueResources.batchGetIssues([].concat(r(a))).pipe(B(function(d){return new Map(d.map(function(e){return[e.issueId,e]}))}))};UI.prototype.splitBatch=function(a,b){return b.get(a)};UI.\u0275fac=function(a){return new (a||UI)(p(jH),p(OH),p(AI),p(SI),p(RI),p(nt),p(CI),p(MI))};
UI.\u0275prov=vc({token:UI,factory:UI.\u0275fac,providedIn:"root"});var XI=function(a,b){SG.call(this);this.observableIssueResources=a;this.issueFridge=b;this.recordType="issue-fr";this.idForRecord=function(c){return c.issueId};this.isEqual=Th;this.destroyed$=new W.ReplaySubject(1);w6b?a=void 0:(w6b=!0,a=bDa());a&&S6b(this,a);this.issueFridge.issueFetchResponse$.pipe(Ce(Bi),B(jDa),ef(this.destroyed$)).subscribe(this.announce)};X(XI,SG);
var YI=function(a,b){return a.watch(b).pipe(df(function(c){return a.issueFridge.watch(b).pipe(B(function(d){return c&&d&&Object.assign({},c,{issue:d})}))}))},ZI=function(a,b,c){return a.poke(b,c).then(function(){return(0,W.firstValueFrom)(YI(a,b))})},S6b=function(a,b){var c=Object.assign({},b);b=b.issue;c=(delete c.issue,c);a.announce(Object.assign({},c,{issueId:b.issueId}));a.issueFridge.announce(b)};
XI.prototype.fetchOne=function(a){var b=this;this.issueFridge.setIsGetting(a);return this.observableIssueResources.getIssue(a).pipe(ff(function(c){(null==c?0:c.issue)&&b.issueFridge.announce(c.issue);b.issueFridge.clearIsGetting(a)}),B(function(c){return c&&jDa(c)}),Pe(function(c){b.issueFridge.clearIsGetting(a);return(0,W.throwError)(c)}))};XI.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};XI.prototype.copy=function(a){return a&&Object.assign({},a)};
XI.\u0275fac=function(a){return new (a||XI)(p(OH),p(UI))};XI.\u0275prov=vc({token:XI,factory:XI.\u0275fac,providedIn:"root"});var Vn=function(a){this.internalArray_=m(a)};X(Vn,n);var T6b=function(a){this.internalArray_=m(a)};X(T6b,n);g=T6b.prototype;g.getIssueId=function(){return kj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return kj(this,1)};g.getIssueId_asString=function(){return au(this,1)};g.setIssueId=function(a){return Qj(this,1,a)};g.setRelationshipType=function(a){return Sj(this,2,a)};g.getIssueRelationship=function(){return $i(this,Vn,3)};g.setIssueRelationship=function(a){return li(this,Vn,3,a)};
g.setSignificanceOverride=function(a){return Sj(this,4,a)};var $I=function(a){this.internalArray_=m(a)};X($I,n);g=$I.prototype;g.getIssueId=function(){return kj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return kj(this,1)};g.getIssueId_asString=function(){return au(this,1)};g.setIssueId=function(a){return Qj(this,1,a)};g.setRelationshipType=function(a){return Sj(this,2,a)};g.setRequestsList=function(a){return gl(this,3,a)};g.addAndReturnRequests=function(){return Uca(this,3,T6b)};g.setSignificanceOverride=function(a){return Sj(this,4,a)};
$I.repeatedFields_=[3];var aJ=function(a){this.internalArray_=m(a)};X(aJ,n);g=aJ.prototype;g.getIssueId=function(){return kj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return kj(this,1)};g.getIssueId_asString=function(){return au(this,1)};g.setIssueId=function(a){return Qj(this,1,a)};g.setRelationshipType=function(a){return Sj(this,2,a)};g.setSignificanceOverride=function(a){return Sj(this,4,a)};aJ.repeatedFields_=[3];var bJ=function(a){this.internalArray_=m(a)};X(bJ,n);g=bJ.prototype;g.setRelationshipType=function(a){return Sj(this,1,a)};g.getSourceIssueIdsList_asLegacyNumberOrString=function(){return Jj(this,2,hi())};g.setSourceIssueIdsList=function(a){return Ut(this,2,a)};g.getQuery=function(){return Zi(this,3)};g.setQuery=function(a){return Rj(this,3,a)};g.clearQuery=function(){lk(this,3)};bJ.repeatedFields_=[2];var cJ=function(a){this.internalArray_=m(a)};X(cJ,n);var U6b=function(a,b){return Ut(a,1,b)};cJ.prototype.setRelationshipType=function(a){return Sj(this,2,a)};var V6b=function(a,b){return Zj(a,3,b)},W6b=function(a,b){return Zj(a,4,b)};cJ.prototype.getQuery=function(){return Zi(this,5)};cJ.prototype.setQuery=function(a){return Rj(this,5,a)};cJ.prototype.clearQuery=function(){lk(this,5)};cJ.repeatedFields_=[1];var dJ=function(a){this.internalArray_=m(a,0,dJ.messageId)};X(dJ,n);dJ.prototype.getIt=function(){return $i(this,$I,5)};dJ.prototype.setIt=function(a){return li(this,$I,5,a)};dJ.prototype.hasIt=function(){return ji(this,$I,5)};dJ.messageId="b.BatchCreateIssueRelationshipsRequest";var eJ=function(a){this.internalArray_=m(a,0,eJ.messageId)};X(eJ,n);eJ.prototype.getIssueRelationshipsList=function(){return gi(this,Vn,1,hi())};eJ.repeatedFields_=[1];eJ.messageId="b.BatchCreateIssueRelationshipsResponse";var fJ=function(a){this.internalArray_=m(a,0,fJ.messageId)};X(fJ,n);fJ.prototype.getIt=function(){return $i(this,aJ,5)};fJ.prototype.setIt=function(a){return li(this,aJ,5,a)};fJ.prototype.hasIt=function(){return ji(this,aJ,5)};fJ.messageId="b.BatchDeleteIssueRelationshipsRequest";var gJ=function(a){this.internalArray_=m(a,0,gJ.messageId)};X(gJ,n);gJ.prototype.getIt=function(){return $i(this,bJ,4)};gJ.prototype.setIt=function(a){return li(this,bJ,4,a)};gJ.prototype.hasIt=function(){return ji(this,bJ,4)};gJ.messageId="b.BatchGetIssueRelationshipsRequest";var hJ=function(a){this.internalArray_=m(a)};X(hJ,n);hJ.prototype.getIssueRelationshipsList=function(){return gi(this,Vn,1,hi())};hJ.prototype.getTotalSize=function(){return qi(this,2)};hJ.repeatedFields_=[1];var iJ=function(a){this.internalArray_=m(a,0,iJ.messageId)};X(iJ,n);iJ.repeatedFields_=[1];iJ.messageId="b.BatchGetIssueRelationshipsResponse";var jJ=function(a){this.internalArray_=m(a,0,jJ.messageId)};X(jJ,n);jJ.prototype.getIssueRelationship=function(){return $i(this,Vn,1)};jJ.prototype.setIssueRelationship=function(a){return li(this,Vn,1,a)};jJ.messageId="b.CreateIssueRelationshipResponse";var kJ=function(a){this.internalArray_=m(a,0,kJ.messageId)};X(kJ,n);kJ.prototype.getIt=function(){return $i(this,cJ,6)};kJ.prototype.setIt=function(a){return li(this,cJ,6,a)};kJ.prototype.hasIt=function(){return ji(this,cJ,6)};kJ.messageId="b.GetIssueDescendantsRequest";var X6b=function(a){this.internalArray_=m(a,0,X6b.messageId)};X(X6b,n);X6b.messageId="b.GetIssueDescendantsResponse";var lJ=function(a){this.internalArray_=m(a,0,lJ.messageId)};X(lJ,n);lJ.prototype.getIssueRelationshipsList=function(){return gi(this,Vn,1,hi())};lJ.repeatedFields_=[1];lJ.messageId="b.ListIssueRelationshipsResponse";var mJ=function(a){this.internalArray_=m(a,0,mJ.messageId)};X(mJ,n);mJ.prototype.getIssueRelationship=function(){return $i(this,Vn,1)};mJ.prototype.setIssueRelationship=function(a){return li(this,Vn,1,a)};mJ.messageId="b.UpdateIssueRelationshipResponse";var nJ=function(a){this.executor=a};g=nJ.prototype;g.list=function(a,b){return this.executor.get({url:"action/issues/"+a+"/relationships?relationshipType="+PD[b],responseConstructor:lJ}).pipe(B(function(c){return c.getIssueRelationshipsList().map(Wn)}))};g.create=function(a,b,c){b=PD[b];c=kDa(c);return this.executor.post({url:"action/issues/"+a+"/relationships?relationshipType="+b,body:c,responseConstructor:jJ}).pipe(B(function(d){return Wn(d.getIssueRelationship())}))};
g.update=function(a,b,c){b=PD[b];var d=kDa(c);return this.executor.put({url:"action/issues/"+a+"/relationships/"+c.targetIssueId+"?relationshipType="+b,body:d,responseConstructor:mJ}).pipe(B(function(e){return Wn(e.getIssueRelationship())}))};g.delete=function(a,b,c){return this.executor.delete({url:"action/issues/"+a+"/relationships/"+c+"?relationshipType="+PD[b],responseConstructor:null})};
g.batchGet=function(a,b){b=PD[b];a=(new gJ).setIt((new bJ).setSourceIssueIdsList(a).setRelationshipType(b).setQuery(this.getQuery(void 0)));return this.executor.post({url:"action/issues/batch_relationships",body:a,responseConstructor:iJ}).pipe(B(function(c){return gi(c,hJ,1,hi()).map(lDa)}))};
var Y6b=function(a,b,c){var d=PD.CHILD;c=c.map(function(e){e=kDa(e);return(new T6b).setIssueRelationship(e)});b=(new dJ).setIt((new $I).setIssueId(b).setRelationshipType(d).setSignificanceOverride(1<c.length?4:0).setRequestsList(c));return a.executor.post({url:"action/issues/relationships_batchCreate",body:b,responseConstructor:eJ}).pipe(B(function(e){return e.getIssueRelationshipsList().map(Wn)}))},Z6b=function(a,b,c){var d=PD.CHILD,e=new fJ,f=e.setIt;b=(new aJ).setIssueId(b).setRelationshipType(d);
c=Ut(b,3,c);e=f.call(e,c);return a.executor.post({url:"action/issues/relationships_batchDelete",body:e,responseConstructor:null})};
nJ.prototype.getDescendants=function(a){var b=a.issueIds,c=a.includeArchived,d=a.depthLimit,e=a.prefixSizeLimit;a=PD[a.relationshipType];b=(new kJ).setIt(W6b(V6b(U6b(new cJ,b).setRelationshipType(a).setQuery(this.getQuery(c)),d),e));return this.executor.post({url:"action/issues/descendants",body:b,responseConstructor:X6b}).pipe(B(function(f){var h=new Map;f=Kb(f,1,hJ,Yba);f=l(f.entries());for(var k=f.next();!k.done;k=f.next()){var q=l(k.value);k=q.next().value;q=q.next().value;h.set(String(k),lDa(q))}return h}))};
nJ.prototype.getQuery=function(a){return a?"include_archived:true":"include_archived:false"};nJ.\u0275fac=function(a){return new (a||nJ)(p(QD))};nJ.\u0275prov=vc({token:nJ,factory:nJ.\u0275fac,providedIn:"root"});var oJ={},$6b=(oJ.BUG="BUG",oJ.FEATURE_REQUEST="FEATURE_REQUEST",oJ.CUSTOMER_ISSUE="CUSTOMER_ISSUE",oJ.INTERNAL_CLEANUP="INTERNAL_CLEANUP",oJ.PROCESS="PROCESS",oJ.VULNERABILITY="VULNERABILITY",oJ.PRIVACY_ISSUE="PRIVACY_ISSUE",oJ.EPIC="STORY",oJ.STORY="TASK",oJ.TASK="TASK",oJ.PROJECT="TASK",oJ.FEATURE="TASK",oJ.MILESTONE="TASK",oJ);var pJ=function(a,b,c){QG.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=Th;this.activeMoveOperation$=new W.BehaviorSubject(new Set);this.defaultQuery={type:"descendants",depth:1};this.assignParentToIssues=nDa(function(e,f){return a7b(d,e,f)});this.assignParentToOneIssue=function(e,f){return a7b(d,String(e),[{issueId:f}])};
this.moveChildrenInAPI=mDa(function(e){return d.moveChildrenInAPISequentially(e)});this.moveChildrenInAPISequentially=nDa(function(e){var f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la,oa,Fa,Ta,Pa,Ya,sb,Na,ja,ya,Ga,gb;return ke(function(Wa){switch(Wa.nextAddress){case 1:h=uDa(e);if(0===h.length)return Wa.return();k=h.map(function(zc){return zc.issues.map(function(cb){return cb.parentId})}).flat();q=h.map(function(zc){return zc.newParentId});t=An([].concat(r(k),r(q)));w=l(t);for(z=w.next();!z.done;z=w.next())F=z.value,
d.setIsSaving(F);le(Wa,2);J=l(h);H=J.next();case 4:if(H.done){xt(Wa,3);break}O=H.value;P=l(O.newRelations);U=P.next();Z={};case 7:if(U.done){H=J.next();Wa.jumpTo(4);break}Z.newRelation=U.value;la=O.issues.find(function(zc){return function(cb){return cb.issueId===zc.newRelation.targetIssueId}}(Z)).parentId;return O.newParentId===la?me(Wa,(0,W.firstValueFrom)(d.issueRelationshipService.update(O.newParentId,"CHILD",{afterIssueId:Z.newRelation.afterIssueId,targetIssueId:Z.newRelation.targetIssueId})),
8):me(Wa,(0,W.firstValueFrom)(d.issueRelationshipService.create(O.newParentId,"CHILD",{afterIssueId:Z.newRelation.afterIssueId,targetIssueId:Z.newRelation.targetIssueId})).catch(function(zc){var cb,pb;if(!(null==zc?0:null==(cb=zc.error)?0:null==(pb=cb.details)?0:pb.includes("ALREADY_EXISTS")))throw zc;}),12);case 12:return me(Wa,(0,W.firstValueFrom)(d.issueRelationshipService.delete(la,"CHILD",Z.newRelation.targetIssueId)),8);case 8:Z={newRelation:void 0};U=P.next();Wa.jumpTo(7);break;case 2:f=oa=
pe(Wa);case 3:Fa=d.activeMoveOperation$.value;Ta=l(e.map(function(zc){return zc.eventTimestamps}).flat());for(Pa=Ta.next();!Pa.done;Pa=Ta.next())Ya=Pa.value,Fa.delete(Ya);d.activeMoveOperation$.next(Fa);sb=l(t);for(Na=sb.next();!Na.done;Na=sb.next())ja=Na.value,d.clearIsSaving(ja);Promise.all(t.map(function(zc){return d.poke(zc)}));ya=l(h);for(Ga=ya.next();!Ga.done;Ga=ya.next())gb=Ga.value,f&&gb.done.reject(f),gb.done.resolve();qe(Wa)}})});this.refreshMonitor.getObservable().subscribe(function(){d.invalidate()})};
X(pJ,QG);pJ.prototype.fetchOne=function(a){var b=this;return b7b(this,function(){return b.issueRelationshipService.list(a,"CHILD").pipe(B(function(c){return{issueId:a,relatedChildren:c,totalChildCount:c.length}}),Pe(function(c){return sn(c)&&403===c.status?(0,W.of)(void 0):(0,W.throwError)(c)}))})};
pJ.prototype.fetchAll=function(a){var b=this;switch(a.type){case "descendants":var c,d=[].concat(r(null!=(c=a.ids)?c:[]));return 0===d.length?(0,W.of)({results:[]}):b7b(this,function(){return b.issueRelationshipService.getDescendants({issueIds:d,relationshipType:"CHILD",includeArchived:!!a.includeArchived,depthLimit:a.depth,prefixSizeLimit:500}).pipe(B(pDa),B(function(e){return{results:e}}))});default:Nh(a.type)}};pJ.prototype.copy=function(a){return a&&Uh(a)};
var b7b=function(a,b){var c=function(){return a.activeMoveOperation$.pipe(Ce(function(d){return 0===d.size}),df(function(){return b()}),df(function(d){return 0===a.activeMoveOperation$.value.size?(0,W.of)(d):c()}),Ue())};return c()},c7b=function(a,b){return a.watch(b).pipe(df(function(c){return c&&c.totalChildCount===c.relatedChildren.length?(0,W.of)(c):a.watch(b,{trustMemory:!1})}))},d7b=function(a,b,c){return a.watchMany({type:"descendants",ids:new Set([b]),depth:void 0===c?100:c})},e7b=function(a,
b,c){return a.pokeMany({type:"descendants",ids:new Set([b]),depth:void 0===c?100:c})};
pJ.prototype.unlinkFromParent=function(a,b,c){c=void 0===c?!1:c;var d=this,e;return ke(function(f){switch(f.nextAddress){case 1:RG(d.issueFridge,b,function(h){--h.childIssueCount});RG(d.issueFridge,a,function(h){h.parentIssueIds=h.parentIssueIds.filter(function(k){return k!==b})});RG(d,b,function(h){var k=h.relatedChildren;h.relatedChildren=tDa(k,a);h.totalChildCount-=k.length-h.relatedChildren.length});if(c)return f.return();le(f,2);return me(f,(0,W.firstValueFrom)(d.issueRelationshipService.delete(b,
"CHILD",a)),4);case 4:xt(f,0);break;case 2:return e=pe(f),me(f,Promise.all([d.poke(b),d.issueFridge.poke(b),d.issueFridge.poke(a)]),5);case 5:throw e;}})};
var a7b=function(a,b,c){var d,e,f,h,k,q,t,w,z;return ke(function(F){switch(F.nextAddress){case 1:d=[];e=[];f=[];if(0===c.length)return F.return({added:d,notAdded:e});h=f7b(a,b);k=c.map(function(J,H){var O="-1"===J.afterIssueId?h:J.afterIssueId;return{targetIssueId:J.issueId,afterIssueId:H?c[H-1].issueId:O}});g7b(a,b,k);q=l(k);t=q.next();case 2:if(t.done){F.jumpTo(4);break}w=t.value;le(F,5);return me(F,(0,W.firstValueFrom)(a.issueRelationshipService.create(b,"CHILD",{targetIssueId:w.targetIssueId,
afterIssueId:w.afterIssueId})),7);case 7:d.push(w.targetIssueId);xt(F,3);break;case 5:z=pe(F);if(!sn(z))throw z;f.push(z);e.push(w.targetIssueId);case 3:t=q.next();F.jumpTo(2);break;case 4:return Promise.all([a.poke(b),a.issueFridge.poke(b)]),F.return(Object.assign({},{added:d,notAdded:e},f.length?{errors:f}:{}))}})},g7b=function(a,b,c){var d=0;RG(a,b,function(e){var f=sDa(e.relatedChildren,c);d=f.length-e.relatedChildren.length;e.relatedChildren=f;e.totalChildCount+=d},{evenWhenInFlight:!0});RG(a.issueFridge,
b,function(e){e.childIssueCount+=d},{evenWhenInFlight:!0})},h7b=function(a,b,c){var d,e,f,h,k,q,t,w,z,F,J,H;return ke(function(O){if(1==O.nextAddress)return d=[],e=[],f=[],0===c.length?O.return({added:d,notAdded:e}):me(O,Promise.allSettled(c.map(function(P){return(0,W.firstValueFrom)(a.issueRelationshipService.create(P,"CHILD",{targetIssueId:b,afterIssueId:f7b(a,P)}))})),2);h=O.yieldResult;k=l(h.entries());for(q=k.next();!q.done;q=k.next())t=q.value,w=l(t),z=w.next().value,F=w.next().value,J=z,H=
F,"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})})},i7b=function(a,b,c){var d=b.parentId,e=Date.now();a.activeMoveOperation$.next(a.activeMoveOperation$.value.add(e));for(var f=l(c),h=f.next(),k={};!h.done;k={issue$jscomp$36:void 0},h=f.next())k.issue$jscomp$36=h.value,RG(a,k.issue$jscomp$36.parentId,function(U){return function(Z){Z.relatedChildren=tDa(Z.relatedChildren,
U.issue$jscomp$36.issueId);--Z.totalChildCount}}(k));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 z;if("before"===(null==(z=b.position)?void 0:z.position)){var F,J;f=null!=(J=null==(F=a.memory.getData(d))?void 0:F.relatedChildren)?J:[];F=l(f.entries());for(J=F.next();!J.done;J=F.next())if(h=l(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,Z){return{targetIssueId:U.issueId,afterIssueId:Z?c[Z-1].issueId:q}});void 0!==R5b(a,d)?RG(a,d,function(U){U.relatedChildren=sDa(U.relatedChildren,H);U.totalChildCount+=H.length},{evenWhenInFlight:!0}):a.announce({issueId:d,relatedChildren:sDa([],H),totalChildCount:H.length});b=new ZAa;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},f7b=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};pJ.\u0275fac=function(a){return new (a||pJ)(p(nJ),p(UI),p(SI))};pJ.\u0275prov=vc({token:pJ,factory:pJ.\u0275fac,providedIn:"root"});var j7b=function(a){this.internalArray_=m(a)};X(j7b,n);j7b.prototype.setMaxTaskAgeDays=function(a){return Zj(this,2,a)};j7b.repeatedFields_=[1];var CDa=new Set(["READY_TO_SUBMIT","NEEDS_ATTENTION","THREAD_MENTIONS_ME","TAGGED_IN_COMMENT","REQUIRES_APPROVAL"]),VDa=new Set(["READY_TO_SUBMIT","NEEDS_ATTENTION","THREAD_MENTIONS_ME","TAGGED_IN_COMMENT","REQUIRES_APPROVAL"]);var qJ=function(a){this.internalArray_=m(a,0,qJ.messageId)};X(qJ,n);qJ.prototype.setTaskIdsList=function(a){return Lb(this,1,a,rb)};qJ.repeatedFields_=[1];qJ.messageId="mc.BatchUpdateTasksDismissStateRequest";var k7b=function(a){this.internalArray_=m(a)};X(k7b,n);k7b.prototype.setMaxTaskAgeDays=function(a){return Zj(this,2,a)};k7b.repeatedFields_=[1];var TDa=function(a){this.internalArray_=m(a)};X(TDa,n);var io=[1,2,3,5];var LDa=function(a){this.internalArray_=m(a)};X(LDa,n);g=LDa.prototype;g.getResourceId=function(){return Zi(this,1)};g.setResourceId=function(a){Rj(this,1,a)};g.getTimestamp=function(){return $i(this,mj,3)};g.setTimestamp=function(a){return li(this,mj,3,a)};g.hasTimestamp=function(){return ji(this,mj,3)};g.getUrl=function(){return $i(this,Bu,4)};g.setUrl=function(a){return li(this,Bu,4,a)};g.hasUrl=function(){return ji(this,Bu,4)};var l7b=function(a){this.internalArray_=m(a)};X(l7b,n);l7b.prototype.getTasksList=function(){return gi(this,K_b,1,hi())};l7b.repeatedFields_=[1,2];var rJ=function(a){this.internalArray_=m(a,0,rJ.messageId)};X(rJ,n);rJ.prototype.getResponsesList=function(){return gi(this,l7b,1,hi())};rJ.repeatedFields_=[1];rJ.messageId="b.GetPriorityTasksResponse";var m7b=function(a){this.internalArray_=m(a)};X(m7b,n);var Yn=function(a){this.internalArray_=m(a)};X(Yn,n);g=Yn.prototype;g.getPriority=function(){return cj(this,1,0)};g.setPriority=function(a){return Sj(this,1,a)};g.getAccessLevel=function(){return cj(this,2,0)};g.setAccessLevel=function(a){return Sj(this,2,a)};g.getHotlistIdsList=function(){return Jj(this,3,hi())};g.getHotlistIdsList_asLegacyNumberOrString=function(){return Jj(this,3,hi())};g.setHotlistIdsList=function(a){Ut(this,3,a)};g.addHotlistIds=function(a,b){return Nb(this,3,ob,a,b)};
Yn.repeatedFields_=[3];var sJ=function(a){this.internalArray_=m(a)};X(sJ,n);g=sJ.prototype;g.getTaskId=function(){return Zi(this,1)};g.getTitle=function(){return Zi(this,3)};g.setTitle=function(a){return Rj(this,3,a)};g.getCreatedTimestamp=function(){return $i(this,mj,4)};g.getLastModifiedTimestamp=function(){return $i(this,mj,5)};g.getExternalLink=function(){return Zi(this,6)};g.getDriveResource=function(){return Ak(this,m7b,8,zDa)};g.hasDriveResource=function(){return Wk(this,m7b,8,zDa)};sJ.repeatedFields_=[7];
var zDa=[8,9,10,11];var tJ=function(a){this.internalArray_=m(a)};X(tJ,n);tJ.prototype.getCommentNumber=function(){return bu(this,1)};tJ.prototype.setCommentNumber=function(a){return gu(this,1,a)};tJ.repeatedFields_=[1];var co=function(a){this.internalArray_=m(a)};X(co,n);co.prototype.getDataCase=function(){return kl(this,n7b)};co.prototype.getSignal=function(){return cj(this,1,0)};co.prototype.getCommentNumbers=function(){return Ak(this,tJ,2,n7b)};var n7b=[2];var GDa=function(a){this.internalArray_=m(a)};X(GDa,n);GDa.prototype.getComeBackTimestamp=function(){return $i(this,mj,1)};var IDa=function(a){this.internalArray_=m(a)};X(IDa,n);IDa.prototype.getComeBackTimestamp=function(){return $i(this,mj,2)};var FDa=function(a){this.internalArray_=m(a)};X(FDa,n);var HDa=[1,2];var bo=function(a){this.internalArray_=m(a)};X(bo,n);bo.prototype.getDataCase=function(){return kl(this,o7b)};bo.prototype.getSignal=function(){return cj(this,1,0)};var o7b=[2,3];var Zn=function(a){this.internalArray_=m(a)};X(Zn,n);Zn.prototype.getDataCase=function(){return kl(this,DDa)};Zn.prototype.getSignal=function(){return cj(this,1,0)};Zn.prototype.getCommentId=function(){return Zi(this,tk(this,DDa,2))};var DDa=[2];var p7b=function(a){this.internalArray_=m(a)};X(p7b,n);g=p7b.prototype;g.getTimestamp=function(){return $i(this,mj,1)};g.setTimestamp=function(a){return li(this,mj,1,a)};g.hasTimestamp=function(){return ji(this,mj,1)};g.getUrl=function(){return $i(this,Bu,2)};g.setUrl=function(a){return li(this,Bu,2,a)};g.hasUrl=function(){return ji(this,Bu,2)};var $n=[3,4,5,6];var Xn=function(a){this.internalArray_=m(a)};X(Xn,n);Xn.prototype.getTask=function(){return $i(this,sJ,1)};Xn.prototype.hasTask=function(){return ji(this,sJ,1)};Xn.prototype.getSignalsList=function(){return gi(this,p7b,2,hi())};Xn.prototype.setSignalsList=function(a){gl(this,2,a)};Xn.repeatedFields_=[2];var q7b=function(a){this.internalArray_=m(a)};X(q7b,n);q7b.repeatedFields_=[1];var uJ=function(a){this.internalArray_=m(a,0,uJ.messageId)};X(uJ,n);uJ.prototype.getResponsesList=function(){return gi(this,q7b,1,hi())};uJ.repeatedFields_=[1];uJ.messageId="b.TasksNeedsAttentionResponse";var vJ=function(a){this.executor=a},r7b=function(a,b){var c=new j7b,d=b.sources.map(WDa);b=Aj(c,1,d).setMaxTaskAgeDays(b.maxTaskAgeDays);return a.executor.post({url:"action/tasks/priority_tasks_v1",responseConstructor:rJ,body:b}).pipe(B(SDa))};vJ.prototype.dismiss=function(a){a=(new qJ).setTaskIdsList(a);a=Ik(a,2,!0);return this.executor.post({url:"action/tasks/dismiss",body:a,responseConstructor:null})};
var s7b=function(a,b,c){var d=new k7b;b=b.map(KDa);c=Aj(d,1,b).setMaxTaskAgeDays(c);return a.executor.post({url:"action/tasks/needs_attention",responseConstructor:uJ,body:c}).pipe(B(wDa))};vJ.\u0275fac=function(a){return new (a||vJ)(p(QD))};vJ.\u0275prov=vc({token:vJ,factory:vJ.\u0275fac,providedIn:"root"});var t7b={sources:["CHANGELIST","DRIVE","ISSUE"],maxTaskAgeDays:30},wJ=function(a){QG.call(this);this.api=a;this.recordType="needsAttentionTask";this.idForRecord=function(b){return b.task.taskId};this.defaultQuery=t7b};X(wJ,QG);wJ.prototype.fetchAll=function(a){return 0===a.sources.length?(0,W.of)({results:[]}):s7b(this.api,a.sources,a.maxTaskAgeDays).pipe(B(function(b){b=void 0===b?[]:b;return{results:b}}))};wJ.\u0275fac=function(a){return new (a||wJ)(p(vJ))};
wJ.\u0275prov=vc({token:wJ,factory:wJ.\u0275fac,providedIn:"root"});var xJ=function(a){SG.call(this);this.userAccess=a;this.recordType="permissions"};X(xJ,SG);xJ.prototype.fetchOne=function(a){return this.fetchSet([a]).pipe(B(function(b){return l(b).next().value}))};xJ.prototype.fetchSet=function(a){var b=this;return(0,W.combineLatest)(a.map(function(c){return(0,W.defer)(function(){return $5b(b.userAccess,c).then(function(d){return Object.assign({},d,{id:c})})})}))};xJ.\u0275fac=function(a){return new (a||xJ)(p(xH))};
xJ.\u0275prov=vc({token:xJ,factory:xJ.\u0275fac,providedIn:"root"});var yJ=function(a){SG.call(this);this.api=a;this.recordType="recentEventsForIssues";this.idForRecord=function(b){return b.id.query+"-"+b.id.pageSize}};X(yJ,SG);yJ.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:eCa(null==a?void 0:a.events,null==b?void 0:b.events)};
yJ.prototype.fetchOne=function(a){a=l(a.split("-"));var b=a.next().value,c=a.next().value;return e6b(this.api,{query:b,maximumSize:Number(c),minimumSignificance:"MAJOR"}).pipe(B(function(d){return{id:{query:b,pageSize:Number(c)},events:d}}))};yJ.\u0275fac=function(a){return new (a||yJ)(p(OH))};yJ.\u0275prov=vc({token:yJ,factory:yJ.\u0275fac,providedIn:"root"});var zJ=function(a){this.internalArray_=m(a,0,zJ.messageId)};X(zJ,n);zJ.prototype.setSearch=function(a,b){Tt(this,1,Qn,a,b)};zJ.repeatedFields_=[1];zJ.messageId="b.BatchGetSearchesResponse";var AJ=function(a){this.internalArray_=m(a,0,AJ.messageId)};X(AJ,n);AJ.prototype.getSearch=function(){return $i(this,Qn,1)};AJ.prototype.setSearch=function(a){li(this,Qn,1,a)};AJ.messageId="b.SearchResponse";var BJ=function(a){this.jspbExecutor=a};g=BJ.prototype;g.get=function(a){return this.jspbExecutor.get({url:"action/saved_searches/"+a,responseConstructor:AJ}).pipe(B(XDa))};g.batchGet=function(a){if(500<a.length)throw Error("Sc");return this.jspbExecutor.get({url:"action/saved_searches?"+a.map(function(b){return"id="+b}).join("&"),responseConstructor:zJ}).pipe(B(YDa))};
g.create=function(a,b){a=(new Qn).setIt((new ep).setName(a).setQuery(b));return this.jspbExecutor.post({url:"action/saved_searches",body:a,responseConstructor:AJ}).pipe(B(XDa))};
g.update=function(a,b){var c=new Qn;var d=c.setIt,e,f,h=(new ep).setSavedSearchId(b.searchId).setName(b.name).setDescription(b.description).setQuery(b.query).setDefaultOrderBy((null!=(e=b.sortOrder)?e:[]).map(RCa).join(","));e=h.setDisplayPreferences;var k=null!=(f=b.displayColumn)?f:[];f=new On;k=k.map(MCa);f=Lb(f,1,k,rb);b=e.call(h,f).setOwnersList(b.adminUsers.map(vi));c=d.call(c,b);return this.jspbExecutor.post({url:"action/saved_searches/"+a,body:c,responseConstructor:AJ}).pipe(B(XDa))};
g.delete=function(a){return this.jspbExecutor.delete({url:"action/saved_searches/"+a,responseConstructor:null})};BJ.\u0275fac=function(a){return new (a||BJ)(p(QD))};BJ.\u0275prov=vc({token:BJ,factory:BJ.\u0275fac,providedIn:"root"});var CJ=function(a){this.observableResources=a};g=CJ.prototype;g.get=function(a){return(0,W.firstValueFrom)(this.observableResources.get(a))};g.batchGet=function(a){return(0,W.firstValueFrom)(this.observableResources.batchGet(a))};
g.create=function(a,b){return(0,W.firstValueFrom)(this.observableResources.create(a,b))};g.update=function(a,b){return(0,W.firstValueFrom)(this.observableResources.update(a,b))};g.delete=function(a){return(0,W.firstValueFrom)(this.observableResources.delete(a))};CJ.\u0275fac=function(a){return new (a||CJ)(p(BJ))};CJ.\u0275prov=vc({token:CJ,factory:CJ.\u0275fac,providedIn:"root"});var u7b={results:[]},DJ=function(a,b){SG.call(this);this.userResourcesApi=a;this.savedSearchApi=b;this.recordType="savedSearch";this.idKey="searchId"};X(DJ,SG);DJ.prototype.fetchOne=function(a){return this.savedSearchApi.get(a)};DJ.prototype.fetchSet=function(a){return this.savedSearchApi.batchGet(a)};
DJ.prototype.fetchAll=function(a){if("me"===a.parent)return this.userResourcesApi.getUserSavedSearches().pipe(B(function(b){return{results:b}}));Xj("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,W.of)(u7b)};DJ.\u0275fac=function(a){return new (a||DJ)(p(AI),p(BJ))};DJ.\u0275prov=vc({token:DJ,factory:DJ.\u0275fac,providedIn:"root"});var v7b=["ASSIGNMENT","RESPONSE","CLOSURE"],w7b=new Map([["ASSIGNMENT","Assignment"],["RESPONSE","Response"],["CLOSURE","Closure"]]),x7b=new Map([["name","Name"],["description","Description"],["parentId","Parent ID"],["elements","SLO rules"]]),w$a=new Map([["DAY_TYPE_UNSPECIFIED","Calendar"],["CALENDAR","Calendar"],["BUSINESS","Business"]]);var Twa=function(a){this.internalArray_=m(a)};X(Twa,n);g=Twa.prototype;g.getComponentId=function(){return kj(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return kj(this,1)};g.getComponentId_asString=function(){return au(this,1)};g.setComponentId=function(a){return Qj(this,1,a)};g.getEffectiveSloEditPolicy=function(){return cj(this,2,0)};var y7b=function(a){this.internalArray_=m(a,0,y7b.messageId)};X(y7b,n);y7b.messageId="b.GetComponentSloEditPolicyResponse";var EJ=function(a){this.internalArray_=m(a,0,EJ.messageId)};X(EJ,n);EJ.prototype.getTeamSloEditPolicy=function(){return $i(this,gE,1)};EJ.messageId="b.GetTeamSloEditPolicyResponse";var FJ=function(a){this.internalArray_=m(a,0,FJ.messageId)};X(FJ,n);FJ.repeatedFields_=[1];FJ.messageId="b.SloSearchResponse";var GJ=function(a){this.internalArray_=m(a,0,GJ.messageId)};X(GJ,n);GJ.prototype.getTeamSloEditPolicy=function(){return $i(this,gE,1)};GJ.messageId="b.UpdateTeamSloEditPolicyResponse";var HJ=function(a,b){this.activeSession=a;this.executor=b};g=HJ.prototype;g.get=function(a){return this.executor.get({url:"action/slos/"+a,responseConstructor:Jl}).pipe(B(Ywa))};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:FJ}).pipe(B(function(b){b=gi(b,Jl,1,hi());return(null!=b?b:[]).map(Ywa)}))};
g.create=function(a){a=Zwa(a);return this.executor.post({url:"action/slos",body:a,responseConstructor:Jl}).pipe(B(Ywa))};g.update=function(a){var b=a.sloId;a=Zwa(a);return this.executor.post({url:"action/slos/"+b,body:a,responseConstructor:Jl}).pipe(B(Ywa))};HJ.\u0275fac=function(a){return new (a||HJ)(p(nt),p(QD))};HJ.\u0275prov=vc({token:HJ,factory:HJ.\u0275fac,providedIn:"root"});
var IJ=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=IJ.prototype;g.get=function(a){var b=this.slosCache.get(a);return void 0!==b?b:this.slosCache.put(String(a),(0,W.firstValueFrom)(this.observableSlosService.get(a)))};g.getOwnedSlos=function(){return(0,W.firstValueFrom)(this.observableSlosService.getOwnedSlos())};g.search=function(a){return(0,W.firstValueFrom)(this.observableSlosService.search(a))};
g.create=function(a){return(0,W.firstValueFrom)(this.observableSlosService.create(a))};g.update=function(a){return(0,W.firstValueFrom)(this.observableSlosService.update(a))};IJ.\u0275fac=function(a){return new (a||IJ)(p(jI),p(HJ))};IJ.\u0275prov=vc({token:IJ,factory:IJ.\u0275fac,providedIn:"root"});var JJ=function(a){SG.call(this);this.observableSlosService=a;this.recordType="slo";this.idForRecord=function(b){return b.sloId}};X(JJ,SG);g=JJ.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)};
JJ.\u0275fac=function(a){return new (a||JJ)(p(HJ))};JJ.\u0275prov=vc({token:JJ,factory:JJ.\u0275fac,providedIn:"root"});var z7b={sources:["CRITIQUE","DRIVE"],maxTaskAgeDays:30},KJ=function(a){QG.call(this);this.api=a;this.recordType="Task";this.idKey="taskId";this.defaultQuery=z7b};X(KJ,QG);KJ.prototype.fetchAll=function(a){a=void 0===a?{}:a;a=Object.assign({},z7b,a);return r7b(this.api,a).pipe(B(function(b){b=void 0===b?[]:b;return{results:b}}))};KJ.\u0275fac=function(a){return new (a||KJ)(p(vJ))};KJ.\u0275prov=vc({token:KJ,factory:KJ.\u0275fac,providedIn:"root"});var LJ=function(a){this.internalArray_=m(a,0,LJ.messageId)};X(LJ,n);LJ.prototype.getIt=function(){return $i(this,dE,14)};LJ.prototype.setIt=function(a){return li(this,dE,14,a)};LJ.prototype.hasIt=function(){return ji(this,dE,14)};LJ.messageId="b.TeamState";var A7b=function(a){this.internalArray_=m(a)};X(A7b,n);g=A7b.prototype;g.getPathIdsList=function(){return Ij(this,1,hi())};g.getPathIdsList_asLegacyNumberOrString=function(){return Ij(this,1,hi())};g.setPathIdsList=function(a){return Lb(this,1,a,ob)};g.getPathNamesList=function(){return ri(this,2,hi())};g.setPathNamesList=function(a){return Lb(this,2,a,rb)};g.getId=function(){return $t(this,3)};g.getId_asLegacyNumberOrString=function(){return $t(this,3)};
g.getId_asString=function(){return fj(this,3)};g.setId=function(a){return yj(this,3,a)};g.getName=function(){return Zi(this,4)};g.setName=function(a){return Lh(this,4,a)};g.hasName=function(){return Pi(this,4)};g.getNameOrUndefined=function(){return fu(this,4)};g.getDescription=function(){return Zi(this,5)};g.setDescription=function(a){return Lh(this,5,a)};g.hasDescription=function(){return Pi(this,5)};A7b.repeatedFields_=[1,2];var B7b=function(a){this.internalArray_=m(a)};X(B7b,n);g=B7b.prototype;g.getId=function(){return $t(this,1)};g.getId_asLegacyNumberOrString=function(){return $t(this,1)};g.getId_asString=function(){return fj(this,1)};g.setId=function(a){return yj(this,1,a)};g.getName=function(){return Zi(this,2)};g.setName=function(a){return Lh(this,2,a)};g.hasName=function(){return Pi(this,2)};g.getNameOrUndefined=function(){return fu(this,2)};g.getDescription=function(){return Zi(this,3)};
g.setDescription=function(a){return Lh(this,3,a)};g.hasDescription=function(){return Pi(this,3)};var MJ=function(a){this.internalArray_=m(a,0,MJ.messageId)};X(MJ,n);var C7b=function(a,b){return Lb(a,1,b,ob)};MJ.repeatedFields_=[1];MJ.messageId="b.BatchChildTeamsRequest";var D7b=function(a){this.internalArray_=m(a)};X(D7b,n);D7b.repeatedFields_=[1];var E7b=function(a){this.internalArray_=m(a,0,E7b.messageId)};X(E7b,n);E7b.messageId="b.BatchChildTeamsResponse";var NJ=function(a){this.internalArray_=m(a,0,NJ.messageId)};X(NJ,n);NJ.messageId="b.BatchGetTeamsResponse";var OJ=function(a){this.internalArray_=m(a,0,OJ.messageId)};X(OJ,n);OJ.prototype.getTeamSuggestionsList=function(){return gi(this,A7b,1,hi())};OJ.prototype.setTeamSuggestionsList=function(a){gl(this,1,a)};OJ.repeatedFields_=[1];OJ.messageId="b.TeamSuggestionResult";var PJ=function(a){this.internalArray_=m(a,0,PJ.messageId)};X(PJ,n);PJ.prototype.getIt=function(){return $i(this,Sk,3)};PJ.prototype.setIt=function(a){return li(this,Sk,3,a)};PJ.prototype.hasIt=function(){return ji(this,Sk,3)};PJ.messageId="b.UpdateTeamSloRequest";var QJ=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 i5b(function(e){return d.batchAdaptedGet(e)},100)};QJ.prototype.get=function(a){return this.executor.get({url:"action/teams/"+a,responseConstructor:LJ}).pipe(B(ko))};QJ.prototype.getTeam=function(a){return this.memoizingTeamStateMap.get(a)};
var RJ=function(a,b){return a.getTeam(b).pipe(B(function(c){return null!=c?c:aEa(b)}),Pe(function(){return(0,W.of)(aEa(b))}))},F7b=function(a,b){b=b.filter(function(c){return"0"!==c}).map(function(c){return a.getTeam(c)});return(0,W.forkJoin)(b).pipe(B(function(c){var d=new Map;c=l(c);for(var e=c.next();!e.done;e=c.next())(e=e.value)&&d.set(e.teamId,e);return d}))};
QJ.prototype.getChildTeams=function(a){a=C7b(new MJ,a);return this.executor.post({url:"action/child_teams",body:a,responseConstructor:E7b}).pipe(B(function(b){b=[].concat(r(Kb(b,1,D7b,ub).entries()));return new Map(b.map(function(c){var d=l(c);c=d.next().value;d=d.next().value;d=gi(d,B7b,1,hi());return[c,d.map(ZDa)]}))}))};
var SJ=function(a,b){return a.executor.get({url:"action/suggest_teams",options:{params:{query:b}},responseConstructor:OJ}).pipe(B(function(c){return c.getTeamSuggestionsList().map($Da)}))},G7b=function(a,b,c){return"0"===b?(0,W.of)(!1):a.memoizingTeamStateMap.get(b).pipe(B(function(d){return void 0!==(null==d?void 0:d.members.find(function(e){return e&&Ki(e.user)===c}))}))},H7b=function(a,b){return a.executor.get({url:"action/teams",options:{params:{teamIds:b.join(","),view:"full"}},responseConstructor:NJ}).pipe(Pe(function(){return(0,W.of)(new NJ)}),
B(function(c){return new Map(Array.from(Kb(c,1,LJ,ub).entries()).map(function(d){var e=l(d);d=e.next().value;e=e.next().value;e=ko(e);return[d,e.estimatedComponentCount]}))}))};
QJ.prototype.updateTeam=function(a){var b=new LJ,c=new dE,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(xi).filter(Bi));d=Lb(f,5,a.collapsedPathNames,rb).setMembersList(null==(e=a.members)?void 0:e.map(xva));Ik(d,9,a.deleted);e=new jo;d=e.setVersion(a.version);Qj(d,3,a.estimatedComponentCount).setSlo(yva(a.slo));a.sloLead&&(d=vi(a.sloLead),li(e,ui,4,d));a.defaultSloLead&&(d=vi(a.defaultSloLead),
li(e,ui,5,d));li(c,jo,7,e);b.setIt(c);return this.executor.post({url:"action/teams/"+a.teamId,body:b,responseConstructor:LJ}).pipe(B(ko))};QJ.\u0275fac=function(a){return new (a||QJ)(p(QD),p(TJ),p(jH))};QJ.\u0275prov=vc({token:QJ,factory:QJ.\u0275fac,providedIn:"root"});var TJ=function(a){this.executor=a};TJ.prototype.call=function(a){return this.executor.get({url:"action/teams",options:{params:{teamIds:[].concat(r(a)).join(",")}},responseConstructor:NJ}).pipe(Pe(function(){return(0,W.of)(new NJ)}))};
TJ.prototype.split=function(a,b){return(a=Kb(b,1,LJ,ub).get(a))?ko(a):void 0};TJ.\u0275fac=function(a){return new (a||TJ)(p(QD))};TJ.\u0275prov=vc({token:TJ,factory:TJ.\u0275fac,providedIn:"root"});var UJ=function(a){QG.call(this);this.teamsApi=a;this.defaultQuery={};this.recordType="TeamDigest";this.idForRecord=function(b){var c;return null!=(c=b.teamId)?c:"NO_ID"}};X(UJ,QG);UJ.prototype.fetchAll=function(a){if(a.myTeams)return SJ(this.teamsApi,"").pipe(B(function(b){b=void 0===b?[]:b;return{results:b}}));throw Error("Uc");};UJ.\u0275fac=function(a){return new (a||UJ)(p(QJ))};UJ.\u0275prov=vc({token:UJ,factory:UJ.\u0275fac,providedIn:"root"});var VJ=function(a){SG.call(this);this.teamsApi=a;this.recordType="team";this.idForRecord=function(b){return b.teamId}};X(VJ,SG);VJ.prototype.fetchOne=function(a){return"0"===a?(0,W.of)(void 0):this.teamsApi.getTeam(a).pipe(Pe(function(){return(0,W.of)(void 0)}))};VJ.prototype.fetchSet=function(a){var b=this;return(0,W.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(Bi)}))};VJ.\u0275fac=function(a){return new (a||VJ)(p(QJ))};
VJ.\u0275prov=vc({token:VJ,factory:VJ.\u0275fac,providedIn:"root"});var WJ=function(a){this.internalArray_=m(a,0,WJ.messageId)};X(WJ,n);WJ.prototype.getTrackersList=function(){return gi(this,Mj,1,hi())};WJ.repeatedFields_=[1];WJ.messageId="b.BatchGetTrackersResponse";var XJ=function(a){this.internalArray_=m(a,0,XJ.messageId)};X(XJ,n);XJ.prototype.getTrackersList=function(){return gi(this,Mj,1,hi())};XJ.prototype.getNextPageToken=function(){return Zi(this,2)};XJ.prototype.getTotalSize=function(){return qi(this,3)};XJ.repeatedFields_=[1];XJ.messageId="b.ListTrackersResponse";var YJ=function(a){this.jspbExecutor=a};YJ.prototype.get=function(a){return this.jspbExecutor.get({url:"action/trackers/"+a,responseConstructor:Mj}).pipe(B(Rsa))};YJ.prototype.batchGet=function(a){return this.jspbExecutor.get({url:"action/trackers/batch",responseConstructor:WJ,options:{params:{trackerIds:a}}}).pipe(B(Ssa))};
YJ.prototype.query=function(a,b,c){return this.jspbExecutor.get({url:"action/trackers",responseConstructor:XJ,options:{params:{query:a,pageSize:String(b),pageToken:void 0===c?"":c}}}).pipe(B(Tsa))};YJ.\u0275fac=function(a){return new (a||YJ)(p(QD))};YJ.\u0275prov=vc({token:YJ,factory:YJ.\u0275fac,providedIn:"root"});var ZJ=function(a,b){SG.call(this,{freshUntil:36E5,ancientAfter:2592E5});this.trackerApi=a;this.activeSession=b;this.recordType="tracker";this.idKey="trackerId";(a=this.activeSession.getTracker())&&this.announce(a)};X(ZJ,SG);ZJ.prototype.fetchOne=function(a){return this.trackerApi.get(a)};ZJ.prototype.fetchSet=function(a){return this.trackerApi.batchGet(a)};
ZJ.prototype.fetchAll=function(a){var b,c;return this.trackerApi.query(null!=(b=a.filter)?b:"",null!=(c=a.pageSize)?c:0,a.pageToken).pipe(B(function(d){var e;return{results:null!=(e=null==d?void 0:d.trackers)?e:[]}}))};ZJ.\u0275fac=function(a){return new (a||ZJ)(p(YJ),p(nt))};ZJ.\u0275prov=vc({token:ZJ,factory:ZJ.\u0275fac,providedIn:"root"});var $J=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"]},K7b=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?"":d;var e;b.bulkEditOps&&(e=XAa(b.bulkEditOps));var f=b.actions||[];!f.length&&b.bulkEditOps&&(f=WAa(b.bulkEditOps));b=I7b(f).map(function(h){return J7b(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+"."},I7b=function(a){var b=
[],c=[];a=l(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)},J7b=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>"):e="effortEstimate"===b.fieldName&&d?d:a.FIELD_TEXT_MAP[b.fieldName]||b.fieldName;"hotlists"===b.fieldName?
f=b.value.split(",").map(function(h){var k,q;return(k=null==(q=om(a.hotlistFridge.watch(String(h),{trustUncertainMemory:!0})))?void 0:q.name)?"'"+k+"'":h}).join(","):a.ENUM_FIELDS.includes(b.fieldName)&&(f=f?ei(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 "'+Fn[b.value].displayValue+'"'};$J.\u0275fac=function(a){return new (a||$J)(p(FG),p(CI))};$J.\u0275prov=vc({token:$J,factory:$J.\u0275fac,providedIn:"root"});var aK=function(a){this.internalArray_=m(a,0,aK.messageId)};X(aK,n);aK.prototype.getAttachmentsList=function(){return gi(this,HH,1,hi())};aK.prototype.setAttachmentsList=function(a){return gl(this,1,a)};aK.prototype.addAllAttachments=function(a){Wt(this,1,HH,a)};aK.repeatedFields_=[1];aK.messageId="b.CreateAttachmentsResponse";var bK=function(a){this.internalArray_=m(a,0,bK.messageId)};X(bK,n);bK.prototype.getErrorMessage=function(){return Zi(this,2)};bK.prototype.setErrorMessage=function(a){Lh(this,2,a)};bK.messageId="b.EncryptedMediaResponse";var cK=function(a){this.executor=a},L7b=function(a,b){var c=new I1b;c.setFilename(b.filename);c.setMimeType(b.mimeType);null!=b.encryptedBlobId&&Lh(c,3,b.encryptedBlobId);Lh(c,4,b.docId);null!=b.size&&c.setSize(b.size);return a.executor.post({url:"action/issues/drive_attachment",body:c,responseConstructor:bK}).then(zua)};cK.\u0275fac=function(a){return new (a||cK)(p(RD))};cK.\u0275prov=vc({token:cK,factory:cK.\u0275fac,providedIn:"root"});var dK=function(a){this.executor=a};dK.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})};dK.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:HH}).then(nk)};
dK.\u0275fac=function(a){return new (a||dK)(p(RD))};dK.\u0275prov=vc({token:dK,factory:dK.\u0275fac,providedIn:"root"});var eK=function(a){this.internalArray_=m(a)};X(eK,n);g=eK.prototype;g.getIssueId=function(){return kj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return kj(this,1)};g.getIssueId_asString=function(){return au(this,1)};g.setIssueId=function(a){return Qj(this,1,a)};g.getComment=function(){return $i(this,$l,2)};g.setComment=function(a){return li(this,$l,2,a)};g.setSignificanceOverride=function(a){return Sj(this,3,a)};g.getContentJudgement=function(){return $i(this,Pj,4)};
g.setContentJudgement=function(a){return li(this,Pj,4,a)};var fK=function(a){this.internalArray_=m(a)};X(fK,n);g=fK.prototype;g.getIssueId=function(){return kj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return kj(this,1)};g.getIssueId_asString=function(){return au(this,1)};g.setIssueId=function(a){return Qj(this,1,a)};g.getCommentNumber=function(){return qi(this,2)};g.setCommentNumber=function(a){return Zj(this,2,a)};g.getComment=function(){return $i(this,$l,3)};g.setComment=function(a){return li(this,$l,3,a)};var gK=function(a){this.internalArray_=m(a)};X(gK,n);g=gK.prototype;g.getIssueId=function(){return kj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return kj(this,1)};g.getIssueId_asString=function(){return au(this,1)};g.setIssueId=function(a){return Qj(this,1,a)};g.getCommentNumber=function(){return qi(this,2)};g.setCommentNumber=function(a){return Zj(this,2,a)};g.getRestrictedRetention=function(){return cj(this,3,0)};g.setRestrictedRetention=function(a){return Sj(this,3,a)};var hK=function(a){this.internalArray_=m(a,0,hK.messageId)};X(hK,n);hK.prototype.getIt=function(){return $i(this,Vk,2)};hK.prototype.setIt=function(a){return li(this,Vk,2,a)};hK.prototype.hasIt=function(){return ji(this,Vk,2)};hK.messageId="b.CommentReaction";var iK=function(a){this.internalArray_=m(a)};X(iK,n);iK.prototype.getIt=function(){return $i(this,eK,5)};iK.prototype.setIt=function(a){return li(this,eK,5,a)};iK.prototype.hasIt=function(){return ji(this,eK,5)};var jK=function(a){this.internalArray_=m(a,0,jK.messageId)};X(jK,n);jK.prototype.getIssueCommentsList=function(){return gi(this,iE,1,hi())};jK.repeatedFields_=[1];jK.messageId="b.ListIssueCommentHistoryResponse";var kK=function(a){this.internalArray_=m(a)};X(kK,n);kK.prototype.getIt=function(){return $i(this,fK,5)};kK.prototype.setIt=function(a){return li(this,fK,5,a)};kK.prototype.hasIt=function(){return ji(this,fK,5)};var lK=function(a){this.internalArray_=m(a)};X(lK,n);lK.prototype.getIt=function(){return $i(this,gK,4)};lK.prototype.setIt=function(a){return li(this,gK,4,a)};lK.prototype.hasIt=function(){return ji(this,gK,4)};var mK=function(a){this.executor=a};g=mK.prototype;g.get=function(a,b,c){var d={};c&&(d["X-Restricted-Content-Limit"]=String(dua(c)));return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:d},responseConstructor:iE}).pipe(B(gm))};
g.create=function(a,b,c,d,e){var f={};e&&(f["G-Recaptcha-Response-Token"]=e);b=(new eK).setIssueId(a).setComment((new $l).setComment(b).setFormattingMode(bl(c)));d&&b.setContentJudgement(cua(d));d=(new iK).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 kK).setIt((new fK).setIssueId(a).setCommentNumber(b).setComment((new $l).setComment(c).setFormattingMode(bl(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:iE}).pipe(B(gm))};g.listHistory=function(a,b){return this.executor.get({url:"action/issues/"+a+"/comment/"+b+"/history",responseConstructor:jK}).pipe(B(Qxa))};
g.updateCommentReaction=function(a){var b=a.issueId,c=a.commentId,d=a.reactionType,e=a.hasReacted,f;a=new hK;var h=a.setIt,k=new Vk;d=(new cl).setType(null!=(f=q1b[d])?f:0);f=Ik(d,1,e);f=sq(k,2,cl,f);a=h.call(a,f);return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/updateReaction",body:a,responseConstructor:hK}).pipe(B(Rxa))};
g.updateRetention=function(a,b,c){c=(new lK).setIt((new gK).setIssueId(a).setCommentNumber(b).setRestrictedRetention(yxa[c]));return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/update_retention",body:c,responseConstructor:iE}).pipe(B(gm))};mK.\u0275fac=function(a){return new (a||mK)(p(QD))};mK.\u0275prov=vc({token:mK,factory:mK.\u0275fac,providedIn:"root"});var nK=function(a){this.observableApi=a};g=nK.prototype;
g.get=function(a,b,c){return(0,W.firstValueFrom)(this.observableApi.get(a,b,c))};g.create=function(a,b,c,d,e){return(0,W.firstValueFrom)(this.observableApi.create(a,b,c,d,e))};g.update=function(a,b,c,d,e){return(0,W.firstValueFrom)(this.observableApi.update(a,b,c,d,e))};g.delete=function(a,b,c,d){return(0,W.firstValueFrom)(this.observableApi.delete(a,b,c,d))};g.undelete=function(a,b,c){return(0,W.firstValueFrom)(this.observableApi.undelete(a,b,c))};
g.listHistory=function(a,b){return(0,W.firstValueFrom)(this.observableApi.listHistory(a,b))};g.updateCommentReaction=function(a){return(0,W.firstValueFrom)(this.observableApi.updateCommentReaction(a))};g.updateRetention=function(a,b,c){return(0,W.firstValueFrom)(this.observableApi.updateRetention(a,b,c))};nK.\u0275fac=function(a){return new (a||nK)(p(mK))};nK.\u0275prov=vc({token:nK,factory:nK.\u0275fac,providedIn:"root"});var bEa=function(a){this.internalArray_=m(a)};X(bEa,n);var M7b=function(a){this.internalArray_=m(a,0,M7b.messageId)};X(M7b,n);M7b.messageId="b.PrincipalTypeInfoBatchResponse";var oK=function(a,b){this.principalResources=a;this.principalTypeGetter=b.adapt(N7b(this,!1));this.principalTypeWithDetailGetter=b.adapt(N7b(this,!0))},N7b=function(a,b){return function(c){return O7b(a.principalResources,c,b).then(function(d){return fEa(c,d)})}};oK.prototype.get=function(a){return pK(this,a,!1)};var pK=function(a,b,c){return(c?a.principalTypeWithDetailGetter.get(b):a.principalTypeGetter.get(b)).then(function(d){return null!=d?d:gEa()})};
oK.\u0275fac=function(a){return new (a||oK)(p(qK),p(uH))};oK.\u0275prov=vc({token:oK,factory:oK.\u0275fac,providedIn:"root"});var qK=function(a){this.executor=a},O7b=function(a,b,c){var d={};d.email=An(b);c&&(d.includeDetailedUserType="true");return a.executor.get({url:"action/principal_types",options:{params:d},responseConstructor:M7b}).then(eEa).then(function(e){for(var f={},h=l(b),k=h.next();!k.done;k=h.next()){k=k.value;var q=void 0;f[k]=null!=(q=e[k])?q:gEa()}return f})};
qK.\u0275fac=function(a){return new (a||qK)(p(RD))};qK.\u0275prov=vc({token:qK,factory:qK.\u0275fac,providedIn:"root"});var rK=function(a,b,c){this.dialogRef=a;this.data=c;this.readMoreLink=b.baseDocumentationUrl+"/concepts/access-control#explicit_access_warnings";this.userEmails=c.userEmails};rK.prototype.close=function(a){this.dialogRef.close(a)};rK.\u0275fac=function(a){return new (a||rK)(A(BA),A(jG),A(DA))};
rK.\u0275cmp=Lc({type:rK,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&&(E(0,"div",0)(1,"h1",1),R(2,"User may not have access"),G(),E(3,"section",2)(4,"p"),R(5," The following user(s) may not be able to edit, interact with, or get notifications about this issue: "),
G(),E(6,"ul"),C(7,hEa,2,1,"li",3),G(),E(8,"section"),R(9,"Continue anyway?"),G()(),E(10,"footer",4)(11,"div",5)(12,"a",6),R(13,"Learn more"),G()(),E(14,"button",7),M("click",function(){return b.close(!0)}),R(15,"Continue"),G(),E(16,"button",8),M("click",function(){return b.close(!1)}),R(17,"Cancel"),G()()());a&2&&(y(7),D("ngForOf",b.userEmails),y(5),D("href",b.readMoreLink,Pd))},dependencies:[hw,nA,GA,HA,IA],styles:["ul[_ngcontent-%COMP%]{list-style:disc;margin-bottom:10px}"]});var sK=function(a,b,c,d,e){this.matDialogService=a;this.analytics=b;this.butterBar=c;this.logger=d;this.accessPolicy=e},tK=function(a,b){var c=b.componentId,d=b.userEmails,e=b.relation,f=b.analyticsEventLabel,h,k,q;return ke(function(t){switch(t.nextAddress){case 1:if(d.every(function(w){return 0===w.length}))return t.return(!0);le(t,2);return me(t,P7b(a,c,d,e),4);case 4:h=t.yieldResult;if(0===h.length)return t.return(!0);kp(a.analytics,Sp.ADD_USER_WITHOUT_ACCESS,"warn",f);return me(t,a.confirm(h,
e),5);case 5:k=t.yieldResult;if(!k)return Ks(a.butterBar,"Save cancelled.",4E3),kp(a.analytics,Sp.ADD_USER_WITHOUT_ACCESS,"cancel",f),t.return(!1);kp(a.analytics,Sp.ADD_USER_WITHOUT_ACCESS,"proceed",f);return t.return(!0);case 2:return q=pe(t),a.logger.error(q),t.return(!1)}})},P7b=function(a,b,c,d){var e;return ke(function(f){if(1==f.nextAddress)return me(f,a.accessPolicy.checkPermission(c,d,"ISSUE_DEFAULTS",b),2);e=f.yieldResult;return f.return([].concat(r(e.noAccessEmails||[]),r(e.unknownEmails||
[])))})};sK.prototype.confirm=function(a,b){var c=this,d,e,f;return ke(function(h){if(1==h.nextAddress)return d={userEmails:a,relation:b},e=c.matDialogService.open(rK,{width:"400px",data:d}),me(h,(0,W.firstValueFrom)(e.afterClosed()),2);f=h.yieldResult;return h.return(!!f)})};sK.\u0275fac=function(a){return new (a||sK)(p(EA),p(MI),p(hG),p(DF),p(hH))};sK.\u0275prov=vc({token:sK,factory:sK.\u0275fac,providedIn:"root"});var uK=function(a,b){this.size=a;this.name=b;this.transferredBytes=0;this.errorMessage="";this.blobRef=null;this.state=1};uK.prototype.cancel=function(){this.state=4};var Q7b={UPLOADING:1,COMPLETE:2,ERROR:3,CANCELLED:4,1:"UPLOADING",2:"COMPLETE",3:"ERROR",4:"CANCELLED"};var vK=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};vK.prototype.reset=function(){this.value="";R7b(this)};var R7b=function(a){for(var b=l(a.uploads),c=b.next();!c.done;c=b.next())c.value.cancel();a.uploads=[]},S7b=function(a){return a.fromTemplate&&a.initialComment===a.value};
vK.prototype.getAttachments=function(){for(var a=[],b=l(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,2===c.state&&c.blobRef&&a.push(Uh(c.blobRef));return a};vK.prototype.hasContent=function(){return!(!this.value&&!this.uploads.length)};var T7b=function(a){return!a.isEmpty()&&!tnb(a)};vK.prototype.isEmpty=function(){return!this.value&&!U7b(this)};
var tnb=function(a){return a.uploads.some(function(b){return 1===b.state||3===b.state})},U7b=function(a){return a.uploads.some(function(b){return 2===b.state})};var wK=function(a,b){Y.call(this);this.router=a;this.activatedRoute=b;this.params={};this.routeParams$=new W.BehaviorSubject({});this.issueId$=this.routeParams$.pipe(B(function(c){return c.issueId}),Te())};X(wK,Y);wK.\u0275dir=Y.\u0275dir;
var W7b=function(a){a.activatedRoute.queryParams.pipe(ef(a.destroyed$)).subscribe(function(b){V7b(a,a.routeParams$.value,b)});a.router.events.pipe(Ce(function(b){return b instanceof pza}),B(function(b){return b}),ef(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);V7b(a,c,b.queryParams)})},X7b=function(a,b){return a.routeParams$.pipe(B(function(c){return c[b]}))},V7b=function(a,b,c){for(var d=l(Object.keys(a.params)),
e=d.next();!e.done;e=d.next())delete a.params[iEa(e.value)];a.routeParams$.next(b);c=l(Object.entries(c));for(d=c.next();!d.done;d=c.next())e=l(d.value),d=e.next().value,e=e.next().value,a.params[iEa(d)]=e;b=l(Object.entries(b));for(c=b.next();!c.done;c=b.next())d=l(c.value),c=d.next().value,d=d.next().value,a.params[iEa(c)]=d};wK.\u0275fac=function(a){return new (a||wK)(p(vF),p(Im))};wK.\u0275prov=vc({token:wK,factory:wK.\u0275fac,providedIn:"root"});var xK=new Xc("routeParams",{factory:function(){return Gc(wK).params}});var yK=function(a,b,c,d){this.routeParams=a;this.issueComments=b;this.draftStore=c;this.errorHandler=d};yK.prototype.get=function(a){var b=this;if(this.routeParams.comment)return(0,W.of)(this.routeParams.comment);var c=this.routeParams.template_issue;if(c){var d=Zh(this.routeParams.template_comment)||1;return(0,W.defer)(function(){return Y7b(b,c,d,b.routeParams.do_attribution)})}return a?(0,W.of)(this.draftStore.$window.sessionStorage.getItem(rn(a))||""):(0,W.of)("")};
var Y7b=function(a,b,c,d){var e,f,h,k,q;return ke(function(t){if(1==t.nextAddress)return le(t,2),me(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?(k="> From issue "+b+" on "+h+":",t.return(k+"\n\n"+f)):t.return(f);q=pe(t);CG(a.errorHandler,q);return t.return("")})};yK.\u0275fac=function(a){return new (a||yK)(p(xK),p(nK),p(iG),p(AG))};yK.\u0275prov=vc({token:yK,factory:yK.\u0275fac,providedIn:"root"});var Z7b=function(a,b,c,d,e){var f=this;this.issueId=a;this.defaultCommentSource=b;this.issueFetchResponseFridge=c;this.activeSession=d;this.userPreferencesManager=e;this.issueFr$=YI(this.issueFetchResponseFridge,this.issueId);this.issue$=this.issueFr$.pipe(B(function(h){return null==h?void 0:h.issue}));this.componentId$=this.issue$.pipe(B(function(h){return null==h?void 0:h.snapshot[0].componentId}),Te());this.comment$=this.defaultCommentSource.get(this.issueId).pipe(cf(""),Te(),gf(this.userPreferencesManager.lastPublishModeProto$),
B(function(h){var k=l(h);h=k.next().value;k=k.next().value;h=new vK(h);h.formattingMode=k;return h}),af({bufferSize:1,refCount:!0}));this.comment=function(){return om(f.comment$)};this.createRestrictedResourcesComponentIds=this.activeSession.getCreateRestrictedSubresourcesComponentIds();this.componentJudgementForNewContent$=this.componentId$.pipe(B(function(h){if(h&&f.createRestrictedResourcesComponentIds.includes(h))return{severity:"RESTRICTED",judgementReason:"None Specified"}}),af({bufferSize:1,
refCount:!0}));this.userDefinedJudgementForNewContent$=new W.BehaviorSubject(void 0);this.judgementForNewContent$=(0,W.combineLatest)([this.componentJudgementForNewContent$.pipe(cf(void 0)),this.userDefinedJudgementForNewContent$]).pipe(B(function(h){var k=l(h);h=k.next().value;k=k.next().value;return null!=k?k:h}),af({bufferSize:1,refCount:!1}));this.judgementForNewContent=function(){return om(f.judgementForNewContent$)}};Z7b.prototype.setJudgementForNewContent=function(a){this.userDefinedJudgementForNewContent$.next(a)};
var $7b=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=l(b.uploads);for(var f=b.next();!f.done;f=b.next())f=f.value,2===f.state&&f.blobRef&&(f=Uh({attachment:f.blobRef}),d&&(f.contentJudgement={severity:d.severity,judgementReason:d.judgementReason}),e.push(f));return{judgementForNewContent:d,commentText:a,formattingMode:c,attachmentsWithJudgements:e}},a8b=function(a){var b=
$7b(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},zK=function(a,b,c,d){this.defaultCommentSource=a;this.issueFetchResponseFridge=b;this.activeSession=c;this.userPreferencesManager=d};zK.prototype.create=function(a){return new Z7b(a,this.defaultCommentSource,this.issueFetchResponseFridge,this.activeSession,this.userPreferencesManager)};
zK.\u0275fac=function(a){return new (a||zK)(p(yK),p(XI),p(nt),p(BE))};zK.\u0275prov=vc({token:zK,factory:zK.\u0275fac,providedIn:"root"});var AK=function(){};AK.prototype.isSloStartTimeApplied=function(a){return!!a&&a.seconds>Date.now()/1E3};
var BK=function(a){return!!a&&!!a.targetTime&&0!==a.targetTime.seconds},b8b=function(a){return BK(a.assignmentBounds)||BK(a.responseBounds)||BK(a.closureBounds)},c8b=function(a,b){switch(b){case "ASSIGNMENT":return BK(a.assignmentBounds);case "RESPONSE":return BK(a.responseBounds);case "CLOSURE":return BK(a.closureBounds);default:return b8b(a)}},d8b=function(a){if(!a)return null;var b=[],c=[];a.assignmentBounds&&jEa(b,c,a.assignmentBounds,"ASSIGNMENT");a.responseBounds&&jEa(b,c,a.responseBounds,"RESPONSE");
a.closureBounds&&jEa(b,c,a.closureBounds,"CLOSURE");return 0<b.length?(b.sort(kEa),b[0]):0<c.length?(c.sort(kEa),{sloBounds:c[0].sloBounds,sloMetric:""}):null};AK.\u0275fac=function(a){return new (a||AK)};AK.\u0275prov=vc({token:AK,factory:AK.\u0275fac,providedIn:"root"});var e8b=function(a,b,c,d,e){var f=this;this.issueId=a;this.issueFetchResponseFridge=b;this.constants=c;this.activeSession=d;this.sloStatusHelpersService=e;this.enableNonWtdmFieldPerTypeVisibility=tE(this.activeSession,"enableNonWtdmFieldPerTypeVisibility")||!1;this.showSloStatus=this.activeSession.isInternalSession();this.showChangelists=!this.activeSession.isExternalSession();this.issueFetchResponse$=YI(this.issueFetchResponseFridge,this.issueId);this.issue$=this.issueFetchResponse$.pipe(B(function(h){return null==
h?void 0:h.issue}));this.issueSnapshot$=this.issue$.pipe(B(function(h){return null==h?void 0:h.snapshot[0]}));this.hasSloDefined$=this.issue$.pipe(B(function(h){var k;return null==h?void 0:null==(k=h.aggregatedData)?void 0:k.sloStatus}),B(function(h){return!!h&&b8b(h)}));this.isWtdmType$=this.issueSnapshot$.pipe(B(function(h){return null!=(null==h?void 0:h.type)&&v5b.has(h.type)}));this.isForgottenFourPrimary$=this.isWtdmType$.pipe(B(function(h){return!h&&!f.enableNonWtdmFieldPerTypeVisibility}));
this.isSloStatusPrimary$=(0,W.combineLatest)([this.hasSloDefined$,this.isWtdmType$]).pipe(B(function(h){var k=l(h);h=k.next().value;k=k.next().value;return h||!k}));this.isSeverityPrimary$=this.isWtdmType$.pipe(B(function(h){return!h}));this.isChangelistPrimary$=(0,W.combineLatest)([this.isWtdmType$,this.issueSnapshot$]).pipe(B(function(h){var k=l(h);h=k.next().value;k=k.next().value;return!h||"STORY"===(null==k?void 0:k.type)||"TASK"===(null==k?void 0:k.type)}));this.customFields$=this.issueFetchResponse$.pipe(B(function(h){var k;
return null!=(k=null==h?void 0:h.issue.customFields)?k:[]}));this.visibleFields$=this.issue$.pipe(B(function(h){var k;return null!=(k=null==h?void 0:h.visibleFields)?k:[]}));this.visibleFieldIds$=this.visibleFields$.pipe(B(function(h){return h.map(function(k){return k.customFieldId}).filter(Bi)}),B(function(h){return new Set(h)}),af({refCount:!0,bufferSize:1}));this.visibleCustomFields$=(0,W.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(B(function(h){h=l(h);var k=h.next().value;
return h.next().value.filter(function(q){return k.has(q.customFieldId)})}),af({refCount:!0,bufferSize:1}));this.hiddenCustomFields$=(0,W.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(B(function(h){h=l(h);var k=h.next().value;return h.next().value.filter(function(q){return!k.has(q.customFieldId)})}),af({refCount:!0,bufferSize:1}));this.hiddenFieldCount$=(0,W.combineLatest)([this.isForgottenFourPrimary$,this.isSeverityPrimary$,this.isSloStatusPrimary$,this.isChangelistPrimary$,this.hiddenCustomFields$]).pipe(B(function(h){var k=
l(h);h=k.next().value;var q=k.next().value,t=k.next().value,w=k.next().value;k=k.next().value;return(h?0:4)+(q?0:1)+(!f.showSloStatus||t?0:1)+(!f.showChangelists||w?0:2)+k.length}),af({refCount:!0,bufferSize:1}));this.hasHiddenFields$=this.hiddenFieldCount$.pipe(B(function(h){return 0<h}));this.showHiddenFieldsLabel$=this.hiddenFieldCount$.pipe(B(function(h){return 1===h?"Show 1 additional field":"Show "+h+" additional fields"}))},CK=function(a,b,c,d){this.issueFetchResponseFridge=a;this.constants=
b;this.activeSession=c;this.sloStatusHelpersService=d};CK.prototype.create=function(a){return new e8b(a,this.issueFetchResponseFridge,this.constants,this.activeSession,this.sloStatusHelpersService)};CK.\u0275fac=function(a){return new (a||CK)(p(XI),p(DG),p(nt),p(AK))};CK.\u0275prov=vc({token:CK,factory:CK.\u0275fac,providedIn:"root"});var J6b=Sp.EDIT_ISSUE,DK=function(a,b){Y.call(this);this.analytics=a;this.clearcut=b;this.issueToTrackingState=new Map;this.getState=lo(this.issueToTrackingState,nEa);this.trackFirstAction=this.analytics.preapply()("first-action");this.trackEdit=this.analytics.preapply()("edit");this.trackNavigation=this.analytics.preapply()("navigate");this.trackDestroy=this.analytics.preapply()("destroyed")};X(DK,Y);DK.\u0275dir=Y.\u0275dir;
var EK=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),f8b(a,c,"idp-time-to-action",b.variations),d.firstActionSeen=!0)},Zs=function(a,b,c){a.getState(b).variations.add(c)},f8b=function(a,b,c,d){FI(a.clearcut,b,c);d=l(d);for(var e=d.next();!e.done;e=d.next())FI(a.clearcut,b,c+"-"+e.value)};DK.prototype.resetState=function(a){this.issueToTrackingState.delete(a)};
DK.\u0275fac=function(a){return new (a||DK)(p(MI),p(EI))};DK.\u0275prov=vc({token:DK,factory:DK.\u0275fac,providedIn:"root"});var FK=function(a,b,c){Y.call(this);var d=this;this.paramsService=b;this.issueFetchResponseFridge=c;this.componentIdOverride$=new W.BehaviorSubject(null);this.hotlistIdOverride$=new W.BehaviorSubject(null);this.issueIdOverride$=new W.BehaviorSubject(null);this.routeIssueId$=this.paramsService.issueId$.pipe(B(pEa),af({refCount:!0,bufferSize:1}));this.routeComponentId$=X7b(this.paramsService,"componentId").pipe(Te());this.routeHotlistId$=X7b(this.paramsService,"hotlistId").pipe(Te());this.issueId$=
(0,W.combineLatest)([this.issueIdOverride$,this.routeIssueId$]).pipe(B(function(e){var f=l(e);e=f.next().value;f=f.next().value;return e||f}),B(pEa),Te(),af({refCount:!0,bufferSize:1}));this.componentIdFromIssueId$=this.issueId$.pipe(df(function(e){return e?YI(d.issueFetchResponseFridge,e):(0,W.of)(void 0)}),B(function(e){var f;return null==e?void 0:null==(f=e.issue)?void 0:f.snapshot[0].componentId}));this.componentId$=(0,W.combineLatest)([this.componentIdOverride$,this.routeComponentId$,this.componentIdFromIssueId$]).pipe(B(function(e){var f=
l(e);e=f.next().value;var h=f.next().value;f=f.next().value;return e||h||f}),B(oEa),Te(),af({refCount:!0,bufferSize:1}));this.hotlistId$=(0,W.combineLatest)([this.hotlistIdOverride$,this.routeHotlistId$]).pipe(B(function(e){var f=l(e);e=f.next().value;f=f.next().value;return e||f}),B(oEa),Te(),af({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){an("dimension4",
e)}))};X(FK,Y);FK.\u0275dir=Y.\u0275dir;FK.prototype.getComponentId=function(){return this.componentId$};FK.prototype.getIssueId=function(){return this.issueId$};FK.prototype.getHotlistId=function(){return this.hotlistId$};FK.\u0275fac=function(a){return new (a||FK)(p(LI),p(wK),p(XI))};FK.\u0275prov=vc({token:FK,factory:FK.\u0275fac,providedIn:"root"});var GK=function(a,b,c,d,e,f,h){var k=this;this.issueFetchResponseFridge=a;this.issueFridge=b;this.teamFridge=c;this.componentFridge=d;this.eventsForIssue=e;this.activatedRoute=f;this.contextSensitiveRegistry=h;this.id$=this.contextSensitiveRegistry.getIssueId().pipe(B(function(q){return q||void 0}));this.urlComment$=this.activatedRoute.fragment.pipe(B($Ea),af({refCount:!0,bufferSize:1}));this.issueJs$=this.id$.pipe(df(function(q){return q?YI(k.issueFetchResponseFridge,q):(0,W.of)(void 0)}),af({refCount:!0,
bufferSize:1}));this.issueJs$.pipe(B(function(q){return null==q?void 0:q.firstEvent}));this.eventsJs$=this.id$.pipe(df(this.eventsForIssue.watch),B(function(q){var t;return null!=(t=null==q?void 0:q.events)?t:[]}));this.starred$=this.issueJs$.pipe(B(qEa));this.lastViewedTimeMicros$=this.issueJs$.pipe(B(rEa));this.lastViewedTimeMicros$.pipe(B(function(q){return!q}));this.issueJs$.pipe(B(sEa));this.issueJs$.pipe(B(JEa));this.accessLimitLevel$=this.issueJs$.pipe(B(AEa));this.voted$=this.issueJs$.pipe(B(KEa));
this.status$=this.issueJs$.pipe(B(tEa));this.priority$=this.issueJs$.pipe(B(uEa));this.assignee$=this.issueJs$.pipe(B(vEa));this.issueJs$.pipe(B(wEa));this.teamId$=this.issueJs$.pipe(B(xEa));this.team$=this.teamId$.pipe(df(this.teamFridge.watch),af({refCount:!0,bufferSize:1}));this.ccUsers$=this.issueJs$.pipe(B(zEa));this.collaboratorsUsers$=this.issueJs$.pipe(B(BEa));this.issueJs$.pipe(B(function(q){var t,w;return null!=(w=null==(t=Jn(q))?void 0:t.severity)?w:void 0}));this.type$=this.issueJs$.pipe(B(CEa));
this.issueJs$.pipe(B(DEa));this.issueJs$.pipe(B(EEa));this.issueJs$.pipe(B(FEa));this.postmortems$=this.issueJs$.pipe(B(GEa));this.postmortems$.pipe(B(function(q){return 0<q.length}));this.issueJs$.pipe(B(HEa));this.effort$=this.issueJs$.pipe(B(IEa));this.isDeleted$=this.issueJs$.pipe(B(MEa));this.accessLevel$=this.issueJs$.pipe(B(OEa));this.modifiedTime$=this.issueJs$.pipe(B(PEa));this.retention$=this.issueJs$.pipe(B(REa));this.retention=function(){return om(k.retention$)};this.retentionState$=this.issueJs$.pipe(B(UEa));
this.retentionState=function(){return om(k.retentionState$)};this.canonicalIssueId$=this.issueJs$.pipe(B(SEa));this.canonicalIssueId$.pipe(df(this.issueFridge.watch));this.sloStatus$=this.issueJs$.pipe(B(function(q){var t;return null==q?void 0:null==(t=q.issue.aggregatedData)?void 0:t.sloStatus}));this.sloId$=this.issueJs$.pipe(B(VEa));this.createdTimeMicros$=this.issueJs$.pipe(B(WEa));this.componentId$=this.issueJs$.pipe(B(yEa));this.component$=this.componentId$.pipe(df(this.componentFridge.watch));
this.teamSuggestions$=this.component$.pipe(B(function(q){var t;return null!=(t=null==q?void 0:q.teamSuggestions)?t:[]}));this.effortSpec$=this.component$.pipe(B(XEa));this.isEffortEnabled$=this.component$.pipe(B(YEa));this.component$.pipe(B(ZEa));this.thinking$=this.issueFetchResponseFridge.thinking$};GK.\u0275fac=function(a){return new (a||GK)(p(XI),p(UI),p(VJ),p(oH),p($H),p(Im),p(FK))};GK.\u0275prov=vc({token:GK,factory:GK.\u0275fac,providedIn:"root"});var g8b={admin:!1,writer:!0,appender:!0,reader:!0},IK=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("^"+no(this.currentUserEmail).replace("@","(\\+.*)?@")+"$");this.issueId$=this.issueDetailsBrain.id$;this.issuePermissions$=this.issueId$.pipe(df(function(k){return k?h.permissionsFridge.watchOne("issues/"+
k):(0,W.of)(void 0)}),B(function(k){return null!=k?k:g8b}),cf(g8b),af({bufferSize:1,refCount:!1}));this.hasAclToEdit$=this.issuePermissions$.pipe(B(function(k){return!!k.writer}));this.hasAclToEdit=function(){return!!om(h.hasAclToEdit$)};this.hasAclToComment$=this.issuePermissions$.pipe(B(function(k){return!!k.appender}));this.hasAclToComment=function(){return!!om(h.hasAclToComment$)};this.hasAclToAdmin$=this.issuePermissions$.pipe(B(function(k){return!!k.admin}));this.hasAclToAdmin=function(){return!!om(h.hasAclToAdmin$)};
this.isCurrentUserCCd$=this.issueDetailsBrain.ccUsers$.pipe(B(function(k){return k.some(function(q){return HK(h,q.emailAddress)})}));this.isCurrentUserCCd=function(){return!!om(h.isCurrentUserCCd$)};this.isCurrentUserCollaborator$=this.issueDetailsBrain.collaboratorsUsers$.pipe(B(function(k){return k.some(function(q){return HK(h,q.emailAddress)})}));this.isCurrentUserCollaborator=function(){return!!om(h.isCurrentUserCollaborator$)};this.isAllowedToEditCC$=this.hasAclToEdit$;(0,W.combineLatest)([this.hasAclToEdit$,
this.isCurrentUserCCd$]).pipe(B(function(k){var q=l(k);k=q.next().value;q=q.next().value;return k?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(Te(),df(function(k){return k?h.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(k)):(0,W.of)(!1)}),Pe(function(k){if(403===k.status)return(0,W.of)(!0);h.errorHandler.errorHandler(null,k);return(0,W.of)(!1)}),
af({bufferSize:1,refCount:!1}));this.isImplicitAccessEnabled=function(){return!!om(h.isImplicitAccessEnabled$)};this.canDeleteIssue$=this.hasAclToAdmin$;this.canUndeleteIssue$=(0,W.combineLatest)([this.issueDetailsBrain.isDeleted$,this.canDeleteIssue$]).pipe(B(function(k){var q=l(k);k=q.next().value;q=q.next().value;return k&&q}));this.userIsComponentAdmin$=this.issueDetailsBrain.componentId$.pipe(Te(),df(function(k){return k?zH(h.userAccess,"admin","components/"+k):(0,W.of)(!1)}),Pe(function(k){h.errorHandler.errorHandler(null,
k);return(0,W.of)(!1)}),af({bufferSize:1,refCount:!1}));this.accessLevel$=this.issueDetailsBrain.accessLevel$;this.accessLevel=function(){return om(h.accessLevel$)};this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.isWithinExternalComponent$=this.accessLevel$.pipe(B(function(k){return!(!k||"INTERNAL"===k)}));this.audience$=this.isWithinExternalComponent$.pipe(B(function(k){return k?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE"}));this.audience=function(){return om(h.audience$)};this.canChangeCommentRetention$=
this.hasAclToEdit$;this.canChangeCommentRetention=function(){return om(h.canChangeCommentRetention$)}},HK=function(a,b){return 0===(null==b?void 0:b.search(a.currentUserEmailPattern))},h8b=function(a,b){return Cn(b)&&"DELETED"===b.commentDeletionStatus?a.hasAclToAdmin()||Gi(b.lastCommentEditorUser)===a.activeSession.getUserEmail()&&a.hasAclToComment()?!0:!1:!1},i8b=function(a,b){return Cn(b)&&"ACTIVE"===b.commentDeletionStatus?Ki(b.userPerformingActionUser)===a.activeSession.getUserEmail()?!0:a.hasAclToAdmin():
!1};IK.prototype.canEditComment$=function(a){var b=this;return(0,W.combineLatest)([this.issueDetailsBrain.component$,this.hasAclToEdit$,this.hasAclToComment$]).pipe(B(function(c){var d=l(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&&Ki(a.userPerformingActionUser)===b.activeSession.getUserEmail():!1}))};
IK.prototype.canDeleteAttachment$=function(a,b){return a?(a=a.entityStatus)&&"ACTIVE"===a.status?HK(this,b)?(0,W.of)(!0):this.hasAclToAdmin$:(0,W.of)(!1):(0,W.of)(!1)};IK.prototype.canUndeleteAttachment$=function(a,b){return a?(a=a.entityStatus)&&"DELETED"===a.status?HK(this,b)?(0,W.of)(!0):this.hasAclToAdmin$:(0,W.of)(!1):(0,W.of)(!1)};IK.\u0275fac=function(a){return new (a||IK)(p(GK),p(xJ),p(nt),p(hH),p(AG),p(xH))};IK.\u0275prov=vc({token:IK,factory:IK.\u0275fac,providedIn:"root"});var j8b={type:"TAKE",displayText:"Assign to me",description:"Assign issue to yourself"},k8b={type:"DEFAULT_ASSIGNEE",displayText:"Assign to default",description:"Use the component's default assignee"},l8b={type:"START",displayText:"Start work",description:"Change issue status to '"+mn.ACCEPTED+"'"},m8b={type:"FIX",displayText:"Mark fixed",description:"Change issue status to '"+mn.FIXED+"'"},n8b={type:"VERIFY",displayText:"Verify",description:"Change issue status to '"+mn.VERIFIED+"'"},o8b={type:"REOPEN",
displayText:"Re-open",description:"Change issue status back to '"+mn.ASSIGNED+"'"};var q8b=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(af({bufferSize:1,refCount:!0}));this.issueSnapshot$=this.issue$.pipe(B(function(f){return null==f?void 0:f.snapshot[0]}));this.currentAssignee$=this.issueSnapshot$.pipe(B(function(f){return(null==f?void 0:f.assigneeUser)&&Ki(f.assigneeUser)}),B(yi));
this.defaultAssigneeForComponent$=this.issueSnapshot$.pipe(B(function(f){return null==f?void 0:f.componentId}),Te(),df(function(f){return f?e.componentTemplatesFridge.defaultTemplate$(String(f)):(0,W.of)(void 0)}),B(function(f){return f&&Ki(f.snapshot.assigneeUser)}),af({bufferSize:1,refCount:!0}));this.defaultAssigneeForComponent=function(){return om(e.defaultAssigneeForComponent$)};this.issueAssigneeQuickAction$=(0,W.combineLatest)([this.currentAssignee$,this.defaultAssigneeForComponent$]).pipe(B(function(f){var h=
l(f);f=h.next().value;h=h.next().value;return e.defaultAssigneeQuickActionEnabled&&h&&f!==h?k8b:void 0}));this.issueStatusQuickAction$=this.issueSnapshot$.pipe(B(function(f){return f&&p8b(e,f)}))},p8b=function(a,b){var c=a.activeSession.getUserEmail();a=Ki(b.assigneeUser)===c;c=Ki(b.verifierUser)===c;b=b.status;if(c&&"FIXED"===b)return n8b;if(a)switch(b){case "ASSIGNED":return l8b;case "ACCEPTED":return m8b;default:return o8b}switch(b){case "NEW":return j8b;case "ASSIGNED":return j8b;case "ACCEPTED":return j8b;
default:return o8b}},JK=function(a,b,c){this.activeSession=a;this.issueFridge=b;this.componentTemplatesFridge=c};JK.prototype.create=function(a){return new q8b(a,this.activeSession,this.issueFridge,this.componentTemplatesFridge)};JK.\u0275fac=function(a){return new (a||JK)(p(nt),p(UI),p(TH))};JK.\u0275prov=vc({token:JK,factory:JK.\u0275fac,providedIn:"root"});var KK=function(){this.transform=aFa};KK.\u0275fac=function(a){return new (a||KK)};KK.\u0275pipe=Rc({name:"toNewEmailPreference",type:KK,pure:!0});var LK=function(){this.transform=bFa};LK.\u0275fac=function(a){return new (a||LK)};LK.\u0275pipe=Rc({name:"enumToHuman",type:LK,pure:!0});var MK=function(){this.transform=cFa};MK.\u0275fac=function(a){return new (a||MK)};MK.\u0275pipe=Rc({name:"arrayToHuman",type:MK,pure:!0});var NK=function(){};NK.prototype.transform=function(a,b){return hh(dFa(a,b)).toString()};
NK.\u0275fac=function(a){return new (a||NK)};NK.\u0275pipe=Rc({name:"boldPrefixMatches",type:NK,pure:!0});var OK=function(){this.transform=eFa};OK.\u0275fac=function(a){return new (a||OK)};OK.\u0275pipe=Rc({name:"yesNo",type:OK,pure:!0});var PK=function(){this.transform=fFa};PK.\u0275fac=function(a){return new (a||PK)};PK.\u0275pipe=Rc({name:"teamPath",type:PK,pure:!0});var QK=function(){this.transform=gFa};QK.\u0275fac=function(a){return new (a||QK)};
QK.\u0275pipe=Rc({name:"humanFileSize",type:QK,pure:!0});var RK=function(){this.transform=iFa};RK.\u0275fac=function(a){return new (a||RK)};RK.\u0275pipe=Rc({name:"omitObfuscatedEmail",type:RK,pure:!0});var SK=function(){this.transform=oo};SK.\u0275fac=function(a){return new (a||SK)};SK.\u0275pipe=Rc({name:"toString",type:SK,pure:!0});var TK=function(){this.transform=jFa};TK.\u0275fac=function(a){return new (a||TK)};TK.\u0275pipe=Rc({name:"csv",type:TK,pure:!0});
var r8b=new Map([["(",")"],[")","("],["{","}"],["}","{"],["[","]"],["]","["],["<",">"],[">","<"]]),UK=function(){};UK.prototype.transform=function(a){return null==a?void 0:a.split("").reverse().map(function(b){var c;return null!=(c=r8b.get(b))?c:b}).join("")};UK.\u0275fac=function(a){return new (a||UK)};UK.\u0275pipe=Rc({name:"reverse",type:UK,pure:!0});var VK=function(){};VK.prototype.transform=function(a,b,c){a=b.indexOf(a);if(0>a)return!0;c=a+c;return!(0<=c&&c<b.length)};
VK.\u0275fac=function(a){return new (a||VK)};VK.\u0275pipe=Rc({name:"isOutOfBounds",type:VK,pure:!0});var WK=function(){};WK.\u0275fac=function(a){return new (a||WK)};WK.\u0275mod=Nc({type:WK});WK.\u0275inj=wc({});var XK=function(a){a=void 0===a?[]:a;this.internalValue$=new W.BehaviorSubject(new Set);this.value$=Ls(this.internalValue$).pipe(B(function(b){return new Set(b)}),Te(Th),af({refCount:!0,bufferSize:1}));this.reset(a)};g=XK.prototype;g.reset=function(a){this.value.clear();a=l(a);for(var b=a.next();!b.done;b=a.next())this.value.add(b.value);this.internalValue$.next(this.value)};
g.add=function(){for(var a=l(Vc.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 Tp=function(a,b){return a.internalValue$.pipe(B(function(c){return c.has(b)}),Te())};XK.prototype[Symbol.iterator]=function(){return this.value.values()};
XK.prototype.toString=function(){return"[ReactiveSet](["+[].concat(r(this.value.values())).join(", ")+"])"};XK.prototype.indexOf=function(a){return[].concat(r(this.value.values())).indexOf(a)};
Vg.Object.defineProperties(XK.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.internalValue$.value}},size:{configurable:!0,enumerable:!0,get:function(){return this.value.size}},size$:{configurable:!0,enumerable:!0,get:function(){return this.internalValue$.pipe(B(function(a){return a.size}),Te())}}});var s8b=function(){this.propertiesBeingSaved=new XK};s8b.prototype.get=function(a){return this.propertiesBeingSaved.has(oo(a))};var YK=function(a,b){a.propertiesBeingSaved.add(oo(b))},ZK=function(a,b){a.propertiesBeingSaved.delete(oo(b))};s8b.prototype.properties=function(){return[].concat(r(this.propertiesBeingSaved))};var kFa={QA:{157:[{emailAddress:"security@chromium.org"}]},PROD:{157:[{emailAddress:"security@chromium.org"}]}};var $K=function(){};$K.prototype.transform=function(a){return po(a)};$K.\u0275fac=function(a){return new (a||$K)};$K.\u0275pipe=Rc({name:"appendDomain",type:$K,pure:!0});var pFa={"\u2705":"good","\u26a0\ufe0f":"warn","\u26a0":"warn","\u26d4":"bad","\u274c":"bad","\ud83d\uded1":"bad","\ud83d\udeab":"bad"};var aL=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la,oa,Fa,Ta,Pa,Ya,sb,Na){var ja=this;this.issueFetchResponseFridge=a;this.activeSession=b;this.butterBar=c;this.issueInteractionsTracking=d;this.issueApi=e;this.componentFridge=f;this.permissionsFridge=h;this.eventsForIssueFridge=k;this.statusMessages=q;this.errorHandler=t;this.confirmationDialogService=w;this.principalTypes=z;this.issuePermissionService=F;this.accessPolicy=J;this.issueTypeDialog=H;this.logger=O;this.issueFridge=P;this.confirmNoAccessService=
U;this.issueService=Z;this.attachmentsMember=la;this.userPreferencesManager=oa;this.issueComments=Fa;this.draftStore=Ta;this.attachmentApi=Pa;this.issueFieldsFactory=Ya;this.issueQuickActionsFactory=sb;this.issueCommentDraftFactory=Na;this.isSavingMap=new Map;this.savingState=lo(this.isSavingMap,function(){return new s8b});this.issueFieldsMap=new Map;this.issueFields=lo(this.issueFieldsMap,function(ya){return ja.issueFieldsFactory.create(ya)});this.issueQuickActionsMap=new Map;this.issueQuickActions=
lo(this.issueQuickActionsMap,function(ya){return ja.issueQuickActionsFactory.create(ya)});this.editableIssueMap=new Map;this.editableIssue$=lo(this.editableIssueMap,function(ya){return t8b(ja,ya)});this.editableIssue=function(ya){return ja.editableIssue$(ya).value};this.subscriptions=new Map;this.getSubscription=lo(this.subscriptions,function(){return new W.Subscription});this.issueCommentDraftMap=new Map;this.issueCommentDraft=lo(this.issueCommentDraftMap,function(ya){return ja.issueCommentDraftFactory.create(ya)});
this.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY={saveCommentDraft:this.saveCommentDraft.bind(this)}};aL.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()};
aL.prototype.updateComponent=function(a,b,c){var d=this,e,f,h,k,q;return ke(function(t){if(1==t.nextAddress)return e=d.editableIssue(a),e.componentId=b,(f=bL(d,e))&&f.actions&&f.actions.length?me(t,d.getRetentionState(a),2):t.return();h=t.yieldResult;cL(d,f);k={issueId:a,componentId:b};q=c?d.issueApi.moveIssueExternal(a,k):d.issueApi.moveIssue(a,k);return t.return(dL(d,q,f,{originalRetentionState:h}))})};
var C2a=function(a,b,c){var d;return ke(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())})},u8b=function(a,b,c,d){var e,f,h,k,q,t;return ke(function(w){switch(w.nextAddress){case 1:e=Mva(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 me(w,X4b(a.issueTypeDialog,
e),3);case 3:if(h=w.yieldResult,!h)return w.return();case 2:if(!d||"VULNERABILITY"!==e){w.jumpTo(4);break}k=lFa(a.activeSession.getEnvironmentType(),d);if(void 0===k){w.jumpTo(4);break}le(w,6);return me(w,a.issueApi.markAsVulnerability(b,k),8);case 8:a.permissionsFridge.poke("issues/"+b);ZI(a.issueFetchResponseFridge,b);xt(w,7);break;case 6:q=pe(w),CG(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())}})},
Z3a=function(a,b,c){var d,e,f;return ke(function(h){d=dl(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())})},w8b=function(a,b,c){var d,e,f;return ke(function(h){d=a.editableIssue(b);d.duplicateOfIssueId=c;d.status="DUPLICATE";e=bL(a,d);return e?(f=e.actions.find(function(k){return"duplicateOfIssueId"===k.fieldName&&!Ui(k.value||"")}))&&f.value?h.return(v8b(a,b,{actionIssueId:f.value,
implicitAppenders:d.cc,implicitEditors:[],isDeduping:!0,isRemovingSelfFromCc:!1,requestData:e})):h.return():h.return()})},x8b=function(a,b,c){var d,e;return ke(function(f){d=a.editableIssue(b);d.setStatus(c);return f.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},y8b=function(a,b,c){var d,e,f;return ke(function(h){if(!c)return h.return();d=a.editableIssue(b);var k=e=a.issueQuickActions(b),q=d;switch(c.type){case "TAKE":"NEW"===q.status&&(q.status="ASSIGNED");q.assignee=k.activeSession.getUserEmail();
break;case "DEFAULT_ASSIGNEE":if(k=k.defaultAssigneeForComponent())"NEW"===q.status&&(q.status="ASSIGNED"),q.assignee=k;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:Nh(c.type)}return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},J2a=function(a,b,c){var d,e;return ke(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())})},J3a=function(a,b,c){var d,e,f;return ke(function(h){d=a.editableIssue(b);e=qsa(c,!1);d.foundInVersion=e;return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},N3a=function(a,b,c){var d,e,f;return ke(function(h){d=a.editableIssue(b);e=qsa(c,!1);d.verifiedInVersion=e;return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},L3a=function(a,b,c){var d,e,f;return ke(function(h){d=a.editableIssue(b);e=qsa(c,!1);
d.targetedToVersion=e;return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},P3a=function(a,b,c){var d,e;return ke(function(f){d=a.editableIssue(b);d.setInProd(c);return f.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},E3a=function(a,b,c){var d,e,f;return ke(function(h){d=Nva(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())})};
aL.prototype.updateSloStartTime=function(a,b){var c=this,d,e;return ke(function(f){d=c.editableIssue(a);d.sloStartTime=b;return f.return(null!=(e=c.updateIssue(a))?e:Promise.resolve())})};aL.prototype.updateSloEndTime=function(a,b){var c=this,d,e;return ke(function(f){d=c.editableIssue(a);d.setSloEndTime(b);return f.return(null!=(e=c.updateIssue(a))?e:Promise.resolve())})};
var H3a=function(a,b,c){var d,e,f;return ke(function(h){d=a.editableIssue(b);d.changelist=null!=(e=c)?e:[];return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},W3a=function(a,b,c,d){var e,f;return ke(function(h){e=a.editableIssue(b);e.setCustomField(c,d);return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},Z2a=function(a,b,c){var d,e,f,h;return ke(function(k){switch(k.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?me(k,
z8b(a,b,"verifier",[c]),5):me(k,tK(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"verifier"}),4);case 4:e=k.yieldResult;if(!e)return k.return();k.jumpTo(3);break;case 5:if(f=k.yieldResult,!f)return k.return();case 3:return d.setVerifier(c),k.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())}})},S2a=function(a,b,c){var d,e,f,h;return ke(function(k){switch(k.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?
me(k,z8b(a,b,"assignee",[c]),5):me(k,tK(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"assignee"}),4);case 4:e=k.yieldResult;if(!e)return k.return();k.jumpTo(3);break;case 5:if(f=k.yieldResult,!f)return k.return();case 3:return d.setAssignee(c),k.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())}})},A8b=function(a,b,c){var d,e,f,h,k,q;return ke(function(t){switch(t.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return me(t,
z8b(a,b,"CC",c),5);e=FBa(d.cc,c);f=e.added;return me(t,tK(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(k=t.yieldResult,!k)return t.return();case 3:return d.cc=c,t.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})},B8b=function(a,b,c){var d,e,f,h,k,q;return ke(function(t){switch(t.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return me(t,
z8b(a,b,"collaborators",c),5);e=FBa(d.collaborators,c);f=e.added;return me(t,tK(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(k=t.yieldResult,!k)return t.return();case 3:return d.setCollaborators(c),t.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})};
aL.prototype.unarchive=function(a){var b=this,c,d;return ke(function(e){c=b.editableIssue(a);c.setIsArchived(!1);return e.return(null!=(d=b.updateIssue(a))?d:Promise.resolve())})};
aL.prototype.updateIssueRetention=function(a,b){var c=this,d,e,f;return ke(function(h){switch(h.nextAddress){case 1:return d={issueId:a,retention:b},e=c.savingState(a),YK(e,"retention"),le(h,2,3),me(h,c.issueApi.updateIssueRetention(a,d),5);case 5:return me(h,c.issueFridge.poke(a),6);case 6:Ks(c.butterBar,"Issue retention updated to "+b+".",4E3);case 3:ne(h);ZK(e,"retention");oe(h,0);break;case 2:f=pe(h),CG(c.errorHandler,f),h.jumpTo(3)}})};
var C8b=function(a,b){var c,d,e;return ke(function(f){c=a.editableIssue(b);c.setIsDeleted(!0);c.setDeletionReason("ABUSE");d=bL(a,c);if(!d||!d.actions)return f.jumpTo(0);cL(a,d);e=a.issueService.delete(b,"ABUSE");return me(f,dL(a,e,d),0)})},rvb=function(a,b){var c,d,e;return ke(function(f){c=a.editableIssue(b);c.setIsDeleted(!1);c.setDeletionReason(null);d=bL(a,c);if(!d||!d.actions)return f.jumpTo(0);cL(a,d);e=a.issueService.undelete(b);return me(f,dL(a,e,d),0)})};
aL.prototype.updateSubscription=function(a,b){var c=this,d,e,f,h,k;return ke(function(q){switch(q.nextAddress){case 1:return d=c.savingState(a),me(q,(0,W.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();le(q,3,4);YK(d,"subscribe");return me(q,c.issueFridge.setNotificationSubscription(a,b),4);case 4:ne(q);ZK(d,"subscribe");oe(q,0);break;case 3:k=pe(q),CG(c.errorHandler,k),q.jumpTo(4)}})};
var D8b=function(a,b,c){var d,e;ke(function(f){switch(f.nextAddress){case 1:d=a.savingState(b);if(!c.attachmentId||d.get("undeleteAttachment"))return f.return();le(f,2,3);Ks(a.butterBar,"Restoring attachment...");YK(d,"undeleteAttachment");return me(f,a.attachmentsMember.undelete(b.toString(),c),5);case 5:Ks(a.butterBar,"Attachment restored."),ZI(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:ne(f);ZK(d,"undeleteAttachment");oe(f,0);break;case 2:e=pe(f),CG(a.errorHandler,e),f.jumpTo(3)}})},
E8b=function(a,b,c,d){var e,f;return ke(function(h){switch(h.nextAddress){case 1:e=a.savingState(b);if(!c.attachmentId||e.get("deleteAttachment"))return h.return();le(h,2,3);Ks(a.butterBar,"Deleting attachment...");YK(e,"deleteAttachment");return me(h,a.attachmentsMember.delete(b,c,d),5);case 5:Ks(a.butterBar,"Attachment deleted."),ZI(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:ne(h);ZK(e,"deleteAttachment");oe(h,0);break;case 2:f=pe(h),CG(a.errorHandler,f),h.jumpTo(3)}})};
aL.prototype.saveCommentDraft=function(a,b){var c=this,d=this.issueCommentDraft(a),e=d.comment(),f=$7b(d);if(!f.commentText&&!f.attachmentsWithJudgements.length)return Promise.resolve();var h=a8b(d);cL(this,h);return dL(this,function(){return ke(function(k){switch(k.nextAddress){case 1:return me(k,F8b(c,a),2);case 2:if(!f.commentText){k.jumpTo(3);break}return me(k,c.issueComments.create(String(a),f.commentText,f.formattingMode,f.judgementForNewContent,b),4);case 4:e.reset(),c.draftStore.$window.sessionStorage.removeItem(rn(a));
case 3:if(!f.attachmentsWithJudgements.length){k.jumpTo(5);break}var q=c.attachmentApi;var t=f.attachmentsWithJudgements,w=new ZD;w.setIssueId(String(a));void 0!==t&&(t=t.map(Bua),gl(w,3,t));q=q.executor.post({url:"action/issues/"+a+"/attachments",body:w,responseConstructor:aK}).then(Cua);return me(k,q,6);case 6:e.reset();case 5:return d.setJudgementForNewContent(),k.return(ZI(c.issueFetchResponseFridge,a))}})}(),h)};
var F8b=function(a,b){var c,d;return ke(function(e){if(!CE(a.userPreferencesManager).autoCcOnComment||!a.issuePermissionService.hasAclToEdit()||a.issuePermissionService.isCurrentUserCCd())return e.return();var f=c=a.editableIssue(b),h=[].concat(r(c.cc),[a.activeSession.getUserEmail()]);f.cc=h;d={issueId:b,actions:[{fieldName:"ccs",value:a.activeSession.getUserEmail(),actionType:"ADD"}]};return me(e,a.issueApi.updateIssue(b,d),0)})},t8b=function(a,b){var c=YI(a.issueFetchResponseFridge,b).pipe(B(function(e){var f=
new K4b;if(e){var h=G8b(a,b,Uh(qa(e.issue.snapshot)));f.currentUserEmail=a.activeSession.getUserEmail();f.setData(h,b,e.issue.customFields)}return f})),d=new W.BehaviorSubject(new K4b);a.getSubscription(b).add(c.subscribe(d));return d};
aL.prototype.updateIssue=function(a){var b=this.editableIssue(a),c=bL(this,b);if(!c)return null;for(var d=!1,e=[],f=[],h=a,k=l(c.actions),q=k.next();!q.done;q=k.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":Ui(t)||(e=b.cc,h=String(t),d=!0)}}return v8b(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 v8b=function(a,b,c){var d=c.actionIssueId,e=c.implicitAppenders,f=c.implicitEditors,h=c.isDeduping,k=c.isRemovingSelfFromCc,q=c.requestData,t,w,z,F,J,H,O,P,U,Z,la,oa,Fa,Ta;return ke(function(Pa){switch(Pa.nextAddress){case 1:return me(Pa,Promise.all([H8b(a,e,"appender",d),H8b(a,f,"writer",d)]),2);case 2:t=Pa.yieldResult;w=l(t);z=w.next().value;F=w.next().value;J=z;H=F;O=J.noAccessEmails||[];P=H.noAccessEmails||[];U=[].concat(r(O),r(P));if(0===U.length)return Pa.return(I8b(a,q,h,k));le(Pa,3);return me(Pa,
Promise.all(U.map(function(Ya){return J8b(a,Ya)})),5);case 5:return Z=Pa.yieldResult,la=BCa({userPrincipals:Z,newEditors:P,newImplicitUsers:U,isExternalSession:a.activeSession.isExternalSession(),issueId:b,actionIssueId:d}),oa=la.title,Fa=la.content,me(Pa,W4b(a.confirmationDialogService,{title:oa,content:gh(Fa),confirmButtonText:"Allow"}),6);case 6:if(Ta=Pa.yieldResult)return Pa.return(I8b(a,q,h,k));a.permissionsFridge.poke("issues/"+b);ZI(a.issueFetchResponseFridge,b);xt(Pa,0);break;case 3:pe(Pa),
a.butterBar.showWarning("Could not determine email type."),qe(Pa)}})},I8b=function(a,b,c,d){cL(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 dL(a,e,b)},H8b=function(a,b,c,d,e,f){e=void 0===e?!1:e;f=void 0===f?null:f;if(e&&!f)throw Error("Vc");var h=e?"ISSUE_DEFAULTS":"ISSUE";d=e?f:d;e={noAccessEmails:[]};return 0!==
b.length&&a.issuePermissionService.isImplicitAccessEnabled()?a.accessPolicy.checkPermission(b.map(po),c,h,d):Promise.resolve(e)},G8b=function(a,b,c){var d=a.isSavingMap.get(b);a=(a=a.editableIssueMap.get(b))&&om(a);if(!a||!d)return c;d=d.properties();d=l(d);b=d.next();for(var e={};!b.done;e={customFieldId$jscomp$14:void 0},b=d.next())b=b.value,b.match(/^\d+$/)?(e.customFieldId$jscomp$14=Zh(b),e=(c.customField||[]).find(function(f){return function(h){return h.customFieldId===f.customFieldId$jscomp$14}}(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=O4b.get(b))||e(c,a));return c},bL=function(a,b){var c=N4b(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(sFa(e)))});return c.actions.length?c:null},cL=function(a,b){var c=String(b.issueId);Ks(a.butterBar,"Saving...",0);var d=b.actions.map(function(e){return e.fieldName}).join(",");
EK(a.issueInteractionsTracking,c,{label:d});a=a.savingState(c);b=l(b.actions);for(c=b.next();!c.done;c=b.next())YK(a,sFa(c.value))},dL=function(a,b,c,d){var e,f;return ke(function(h){switch(h.nextAddress){case 1:return le(h,2),me(h,b,4);case 4:return e=h.yieldResult,WI(a.issueFridge,[c.issueId],{eagerUpdate:!1,userActivityType:"EDIT"}).then(function(){var k=String(c.issueId);ZI(a.issueFetchResponseFridge,k);a.eventsForIssueFridge.poke(k)}),me(h,K8b(a,c,e,d),5);case 5:xt(h,0);break;case 2:f=pe(h),
L8b(a,c,f),qe(h)}})},K8b=function(a,b,c,d){var e=(void 0===d?{}:d).originalRetentionState,f,h,k,q;return ke(function(t){f=a.savingState(String(b.issueId));h=l(b.actions);for(k=h.next();!k.done;k=h.next())q=k.value,ZK(f,sFa(q));return c?me(t,M8b(a,b,e),0):t.jumpTo(0)})},L8b=function(a,b,c){var d=String(b.issueId),e=a.savingState(d);b=l(b.actions);for(var f=b.next();!f.done;f=b.next())ZK(e,sFa(f.value));a.permissionsFridge.poke("issues/"+d);ZI(a.issueFetchResponseFridge,d);sn(c)&&403===c.status&&tn(c)?
BG(a.errorHandler,tn(c)):CG(a.errorHandler,c)},M8b=function(a,b,c){var d,e,f,h,k,q,t,w,z,F,J;return ke(function(H){switch(H.nextAddress){case 1:return me(H,a.getEffortSpec(String(b.issueId)),2);case 2:d=H.yieldResult;e=a.editableIssue(String(b.issueId));k=K7b(a.statusMessages,b,e.customFieldMap,null!=(h=null==(f=d)?void 0:f.name)?h:"");if(!c){H.jumpTo(3);break}return me(H,Promise.all([a.getRetentionState(String(b.issueId)),a.getRetention(String(b.issueId))]),4);case 4:q=H.yieldResult;t=l(q);w=t.next().value;
z=t.next().value;F=w;J=z;if("INDEFINITE"!==J&&c&&F){var O=c.retentionPeriod?pn(Math.floor(1E3*c.retentionPeriod.seconds/864E5)):"indefinite";var P=F.retentionPeriod?pn(Math.floor(1E3*F.retentionPeriod.seconds/864E5)):"indefinite";O=O===P?"":" Issue retention period changed from "+O+" to "+P+"."}else O="";k+=O;case 3:Ks(a.butterBar,k),qe(H)}})},z8b=function(a,b,c,d){return ke(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(r(f.values())).flat())).has(h)?(f.set(c,d),h=!(new Set([].concat(r(f.values())).flat())).has(h)):h=!1;e=h?me(e,N8b(a,b,a.editableIssue(b).componentId,c),2):e.return(!0)}else e=e.return(e.yieldResult);return e})},N8b=function(a,b,c,d){var e;return ke(function(f){if(1==f.nextAddress)return me(f,H8b(a,[a.activeSession.getUserEmail()],"reader",b,!0,c),2);e=f.yieldResult;return e.noAccessEmails&&
0!==e.noAccessEmails.length?f.return(W4b(a.confirmationDialogService,{title:"Removing yourself from "+d+" may revoke your access to the issue",content:gh("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)})};
aL.prototype.getRetentionState=function(a){return(0,W.firstValueFrom)(YI(this.issueFetchResponseFridge,a).pipe(B(UEa)))};aL.prototype.getRetention=function(a){return(0,W.firstValueFrom)(YI(this.issueFetchResponseFridge,a).pipe(B(REa)))};aL.prototype.getEffortSpec=function(a){return(0,W.firstValueFrom)(YI(this.issueFetchResponseFridge,a).pipe(B(yEa),df(this.componentFridge.watch),B(XEa)))};
var J8b=function(a,b){return ke(function(c){return a.activeSession.isExternalSession()?c.return({principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}):c.return(pK(a.principalTypes,b,!0))})};aL.prototype.ngOnDestroy=function(){this.isSavingMap.clear();this.issueFieldsMap.clear();this.issueQuickActionsMap.clear();this.editableIssueMap.clear();for(var a=l(this.subscriptions.values()),b=a.next();!b.done;b=a.next())b.value.unsubscribe();this.subscriptions.clear()};
aL.\u0275fac=function(a){return new (a||aL)(p(XI),p(nt),p(hG),p(DK),p(PH),p(oH),p(xJ),p($H),p($J),p(AG),p(lG),p(oK),p(IK),p(hH),p(mG),p(DF),p(UI),p(sK),p(RI),p(dK),p(BE),p(nK),p(iG),p(cK),p(CK),p(JK),p(zK))};aL.\u0275prov=vc({token:aL,factory:aL.\u0275fac,providedIn:"root"});var eL=function(a,b,c){Y.call(this);this.issueDetailsBrain=a;this.issuePermissionService=b;this.editIssueService=c;this.assigneeInProgress$=new W.ReplaySubject(1);this.ccInProgress$=new W.ReplaySubject(1);this.id$=this.issueDetailsBrain.id$;this.assigneeUpdate$=this.issueDetailsBrain.issueJs$.pipe(B(function(d){var e;return Gi(null==(e=$Ba(d))?void 0:e.assigneeUser)||""}));this.ccUpdate$=this.issueDetailsBrain.issueJs$.pipe(B(function(d){var e;return Hi(null==(e=$Ba(d))?void 0:e.ccUsers)||[]}));this.assignee$=
this.assigneeUpdate$.pipe(af({refCount:!0,bufferSize:1}));this.cc$=this.ccUpdate$.pipe(af({refCount:!0,bufferSize:1}));this.assigneeUpdating$=this.assigneeInProgress$;this.ccUpdating$=this.ccInProgress$;this.editAccess$=this.issuePermissionService.hasAclToEdit$};X(eL,Y);eL.\u0275dir=Y.\u0275dir;
var O8b=function(a,b){var c,d,e;return ke(function(f){switch(f.nextAddress){case 1:c=om(a.id$);if(!c)return f.return();a.assigneeInProgress$.next(!0);d="remove_user"===b.action?"":b.email;le(f,2,3);return me(f,S2a(a.editIssueService,c,d),5);case 5:return me(f,(0,W.firstValueFrom)(a.assigneeUpdate$.pipe(Ce(function(h){h=b.email===h;return"set_user"===b.action?h:!h}),Ee(6E4))),3);case 3:ne(f);a.assigneeInProgress$.next(!1);oe(f,0);break;case 2:throw e=pe(f),e;}})},P8b=function(a,b){var c,d,e,f,h;return ke(function(k){switch(k.nextAddress){case 1:c=
om(a.id$);if(!c)return k.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=A8b(a.editIssueService,c,d.cc.filter(function(q){return q!==b.email}))):f=A8b(a.editIssueService,c,[].concat(r(d.cc),[b.email]));if(!f)return k.return();le(k,2,3);a.ccInProgress$.next(!0);return me(k,f,5);case 5:return me(k,(0,W.firstValueFrom)(a.ccUpdate$.pipe(Ce(function(q){q=q.includes(b.email);return"set_user"===b.action?q:!q}),Ee(6E4))),
3);case 3:ne(k);a.ccInProgress$.next(!1);oe(k,0);break;case 2:throw h=pe(k),h;}})};eL.\u0275fac=function(a){return new (a||eL)(p(GK),p(IK),p(aL))};eL.\u0275prov=vc({token:eL,factory:eL.\u0275fac});var Q8b=function(a){return["chip","gmat-caption",a]},fL=function(){this.variant="grey";this.isTall=!1};fL.\u0275fac=function(a){return new (a||fL)};
fL.\u0275cmp=Lc({type:fL,selectors:[["onedev-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&yf("tall",b.isTall)},inputs:{variant:"variant",isTall:"isTall"},ngContentSelectors:["*"],decls:3,vars:3,consts:[[3,"ngClass"],[1,"centering"]],template:function(a,b){a&1&&(Lf(),E(0,"div",0)(1,"div",1),Mf(2),G()());a&2&&D("ngClass",fg(1,Q8b,b.variant))},dependencies:[gw],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 gL=function(a){this.chip=a};gL.\u0275fac=function(a){return new (a||gL)(A(fL))};gL.\u0275dir=Qc({type:gL,selectors:[["","onedevChipIcon",""]],hostVars:10,hostBindings:function(a,b){a&2&&xf("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 hL=function(){};hL.\u0275fac=function(a){return new (a||hL)};hL.\u0275mod=Nc({type:hL});hL.\u0275inj=wc({imports:[uw]});var iL=function(){};iL.\u0275fac=function(a){return new (a||iL)};iL.\u0275cmp=Lc({type:iL,selectors:[["","onedevDot",""]],hostVars:1,hostBindings:function(a){a&2&&pf("aria-hidden",!0)},attrs:["onedevDot",""],decls:1,vars:0,template:function(a){a&1&&R(0,"\u00a0\u00b7\u00a0")},encapsulation:2});var jL=function(){};jL.\u0275fac=function(a){return new (a||jL)};jL.\u0275mod=Nc({type:jL});jL.\u0275inj=wc({});var R8b=[[["","onedev-additional-content",""]],[["onedev-hovercard-action"]]],S8b=function(a){return{"with-avatar":a}},kL=function(){};kL.prototype.ngOnInit=function(){};kL.\u0275fac=function(a){return new (a||kL)};
kL.\u0275cmp=Lc({type:kL,selectors:[["onedev-person-hovercard-body"]],inputs:{person:"person",outOfOfficeDescription:"outOfOfficeDescription"},standalone:!0,features:[dg],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&&(Lf(R8b),E(0,"div",0)(1,"div",1)(2,"div",2),C(3,tFa,1,2,"img",3),E(4,"div",4),R(5),G(),C(6,uFa,2,1,"div",5),G(),C(7,vFa,4,1,"div",6),E(8,"div",7),C(9,zFa,7,3,"ng-container",8)(10,AFa,4,1,"ng-container",8)(11,BFa,19,4,"ng-container",8),Mf(12),G()(),Mf(13,1),G());a&2&&(y(2),D("ngClass",fg(8,S8b,b.person.imageUrl)),y(),D("ngIf",b.person.imageUrl),y(2),S(" ",b.person.name||b.person.email," "),y(),D("ngIf",b.person.name),y(),D("ngIf",b.outOfOfficeDescription),y(2),
D("ngIf",b.person.title||b.person.department),y(),D("ngIf",b.person.location),y(),D("ngIf",b.person.ldap))},dependencies:[hL,fL,gL,uw,gw,dw,jL,iL,QC,hB],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 T8b=function(){};var ro=function(){this.Serializable$values={}},qo=function(a,b){return a.Serializable$values.hasOwnProperty(b)?a.Serializable$values[b]:null},lL=function(a,b){return null!=a.Serializable$values[b]};var U8b=function(){};var V8b=function(a,b){this.requestService=a;this.hookFactory=void 0===b?null:b};X(V8b,U8b);
var W8b=function(a,b,c){var d=CFa(a.hookFactory,b);return null==d?c:W.EMPTY.pipe(ff({complete:function(){d.onBeforeSend()}}),Uja(c.pipe(ff(function(e){d.onSuccess(e)},function(e){d.onError(e)}))))},X8b=function(a,b){var c=b.responseCtor||void 0,d=a.requestService,e=d.send,f=b.body instanceof ro?JFa(b.body,GFa,HFa,IFa):b.body;return W8b(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 Y8b=function(){};Y8b.prototype.send=function(a,b){DFa(a);return this.makeRequest(a).pipe(B(function(c){return b?NFa(b,c):c}))};var Z8b=new Xc("API_VERSION"),$8b=new Xc("REQUEST_SERVICE"),mL=function(){};mL.\u0275fac=function(a){return new (a||mL)};mL.\u0275mod=Nc({type:mL});mL.\u0275inj=wc({});
var a9b={$Xgafv:"$.xgafv",access_token:"access_token",affinityType:"affinityType",alt:"alt",authDelegationContextContactsEncryptedOwnerId:"authDelegationContext.contacts.encryptedOwnerId",authDelegationContextDelegationType:"authDelegationContext.delegationType",authDelegationContextMadisonMadisonGaiaId:"authDelegationContext.madison.madisonGaiaId",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",contextAuthDelegationContextMadisonMadisonGaiaId:"context.authDelegationContext.madison.madisonGaiaId",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",getPeopleRequestContextAuthDelegationContextMadisonMadisonGaiaId:"getPeopleRequest.context.authDelegationContext.madison.madisonGaiaId",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"},nL=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new V8b(b,c)};nL.prototype.list=function(a,b){a=void 0===a?{}:a;b=void 0===b?{}:b;return X8b(this.$apiClient,{body:null,httpMethod:"GET",methodId:"people_pa.people.lookup.list",path:"/"+this.gapiVersion+"/people/lookup",queryParams:EFa(a,a9b,b)})};nL.\u0275fac=function(a){return new (a||nL)(p(Z8b,8),p($8b),p(T8b,8))};nL.\u0275prov=vc({token:nL,factory:nL.\u0275fac});
var oL=function(){};oL.\u0275fac=function(a){return new (a||oL)};oL.\u0275prov=vc({token:oL,factory:function(a){return nL.\u0275fac(a)},providedIn:mL});var pL=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new V8b(b,c)};pL.\u0275fac=function(a){return new (a||pL)(p(Z8b,8),p($8b),p(T8b,8))};pL.\u0275prov=vc({token:pL,factory:pL.\u0275fac});var qL=function(){};qL.\u0275fac=function(a){return new (a||qL)};
qL.\u0275prov=vc({token:qL,factory:function(a){return pL.\u0275fac(a)},providedIn:mL});var RFa=/.*@google.com/,b9b=new Xc("onedevPeopleServiceConfig"),c9b={},rL=function(){},e9b=function(a,b){return d9b(a,[b]).pipe(B(function(c){return c[0]}))};rL.\u0275fac=function(a){return new (a||rL)};rL.\u0275prov=vc({token:rL,factory:rL.\u0275fac});
var sL=function(a,b,c){var d=this;this.lookupApiClient=a;this.destroy$=new W.Subject;this.config=c9b;c&&c.pipe(ff(function(e){window.gapi&&e.accessToken&&window.gapi.auth.setToken({access_token:e.accessToken})}),ef(this.destroy$)).subscribe({next:function(e){d.config=e}})};X(sL,rL);
var d9b=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","DOMAIN_CONTACT","GOOGLE_GROUP"],sources:["PROFILE_SOURCE"],access_token:a.config.accessToken}).pipe(B(function(c){return VFa(b,c)}))};sL.prototype.ngOnDestroy=function(){this.destroy$.next()};sL.\u0275fac=function(a){return new (a||sL)(p(oL),p(qL),p(b9b,8))};
sL.\u0275prov=vc({token:sL,factory:sL.\u0275fac});var tL=function(){};tL.\u0275fac=function(a){return new (a||tL)};tL.\u0275mod=Nc({type:tL});tL.\u0275inj=wc({providers:[sL,{provide:rL,useExisting:sL}],imports:[mL]});var f9b=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.dayOfWeek=null==a.dayOfWeek?null:a.dayOfWeek;this.Serializable$values.periodStartMinutes=null==a.periodStartMinutes?null:a.periodStartMinutes;this.Serializable$values.periodEndMinutes=null==a.periodEndMinutes?null:a.periodEndMinutes};X(f9b,ro);f9b.prototype.getPartialClassMetadata=function(){return{keys:["dayOfWeek","periodEndMinutes","periodStartMinutes"]}};
Vg.Object.defineProperties(f9b.prototype,{dayOfWeek:{configurable:!0,enumerable:!0,get:function(){return lL(this,"dayOfWeek")?qo(this,"dayOfWeek"):0},set:function(a){this.Serializable$values.dayOfWeek=a}},periodEndMinutes:{configurable:!0,enumerable:!0,get:function(){return lL(this,"periodEndMinutes")?qo(this,"periodEndMinutes"):0},set:function(a){this.Serializable$values.periodEndMinutes=a}},periodStartMinutes:{configurable:!0,enumerable:!0,get:function(){return lL(this,"periodStartMinutes")?qo(this,
"periodStartMinutes"):0},set:function(a){this.Serializable$values.periodStartMinutes=a}}});var g9b=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.userIds=null==a.userIds?null:a.userIds;this.Serializable$values.debugOptions=null==a.debugOptions?null:a.debugOptions};X(g9b,ro);g9b.prototype.getPartialClassMetadata=function(){return{arrays:{userIds:uL},keys:["debugOptions","userIds"],objects:{debugOptions:vL}}};
Vg.Object.defineProperties(g9b.prototype,{debugOptions:{configurable:!0,enumerable:!0,get:function(){return lL(this,"debugOptions")?qo(this,"debugOptions"):this.debugOptions=new vL},set:function(a){this.Serializable$values.debugOptions=a}},userIds:{configurable:!0,enumerable:!0,get:function(){return lL(this,"userIds")?qo(this,"userIds"):this.userIds=[]},set:function(a){this.Serializable$values.userIds=a}}});
var h9b=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.results=null==a.results?null:a.results};X(h9b,ro);h9b.prototype.getPartialClassMetadata=function(){return{arrays:{results:i9b},keys:["results"]}};
Vg.Object.defineProperties(h9b.prototype,{hasResults:{configurable:!0,enumerable:!0,get:function(){return null!==qo(this,"results")}},results:{configurable:!0,enumerable:!0,get:function(){return lL(this,"results")?qo(this,"results"):this.results=[]},set:function(a){this.Serializable$values.results=a}}});
var wL=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};X(wL,ro);
wL.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","nextAvailable","occupiedUntil"]}};
Vg.Object.defineProperties(wL.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return lL(this,"committedUntil")?qo(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return lL(this,"eventSummary")?qo(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return lL(this,"nextAvailable")?qo(this,
"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return lL(this,"occupiedUntil")?qo(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});
var xL=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.location=null==a.location?null:a.location;this.Serializable$values.geoCoordinates=null==a.geoCoordinates?null:a.geoCoordinates;this.Serializable$values.label=null==a.label?null:a.label};X(xL,ro);xL.prototype.getPartialClassMetadata=function(){return{keys:["geoCoordinates","label","location"],objects:{geoCoordinates:yL}}};
Vg.Object.defineProperties(xL.prototype,{geoCoordinates:{configurable:!0,enumerable:!0,get:function(){return lL(this,"geoCoordinates")?qo(this,"geoCoordinates"):this.geoCoordinates=new yL},set:function(a){this.Serializable$values.geoCoordinates=a}},label:{configurable:!0,enumerable:!0,get:function(){return lL(this,"label")?qo(this,"label"):""},set:function(a){this.Serializable$values.label=a}},location:{configurable:!0,enumerable:!0,get:function(){return lL(this,"location")?qo(this,"location"):""},
set:function(a){this.Serializable$values.location=a}}});var zL=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};X(zL,ro);zL.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","nextAvailable","occupiedUntil"]}};
Vg.Object.defineProperties(zL.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return lL(this,"committedUntil")?qo(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return lL(this,"nextAvailable")?qo(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return lL(this,"occupiedUntil")?qo(this,
"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var j9b=function(){this.Serializable$values={}};X(j9b,ro);j9b.prototype.getPartialClassMetadata=function(){return{keys:[]}};
var AL=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};X(AL,ro);
AL.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","inMeetingsUntil","nextAvailable","occupiedUntil"]}};
Vg.Object.defineProperties(AL.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return lL(this,"committedUntil")?qo(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return lL(this,"eventSummary")?qo(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},inMeetingsUntil:{configurable:!0,enumerable:!0,get:function(){return lL(this,"inMeetingsUntil")?qo(this,
"inMeetingsUntil"):""},set:function(a){this.Serializable$values.inMeetingsUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return lL(this,"nextAvailable")?qo(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return lL(this,"occupiedUntil")?qo(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var k9b=function(){this.Serializable$values={}};X(k9b,ro);
k9b.prototype.getPartialClassMetadata=function(){return{keys:[]}};var yL=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.latitude=null==a.latitude?null:a.latitude;this.Serializable$values.longitude=null==a.longitude?null:a.longitude};X(yL,ro);yL.prototype.getPartialClassMetadata=function(){return{keys:["latitude","longitude"]}};
Vg.Object.defineProperties(yL.prototype,{latitude:{configurable:!0,enumerable:!0,get:function(){return lL(this,"latitude")?qo(this,"latitude"):0},set:function(a){this.Serializable$values.latitude=a}},longitude:{configurable:!0,enumerable:!0,get:function(){return lL(this,"longitude")?qo(this,"longitude"):0},set:function(a){this.Serializable$values.longitude=a}}});var BL=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeZone=null==a.timeZone?null:a.timeZone};
X(BL,ro);BL.prototype.getPartialClassMetadata=function(){return{keys:["timeZone"]}};Vg.Object.defineProperties(BL.prototype,{timeZone:{configurable:!0,enumerable:!0,get:function(){return lL(this,"timeZone")?qo(this,"timeZone"):""},set:function(a){this.Serializable$values.timeZone=a}}});
var CL=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};X(CL,ro);
CL.prototype.getPartialClassMetadata=function(){return{keys:["experimentalBuildingId","experimentalDeskId","experimentalFloorId","label"]}};
Vg.Object.defineProperties(CL.prototype,{experimentalBuildingId:{configurable:!0,enumerable:!0,get:function(){return lL(this,"experimentalBuildingId")?qo(this,"experimentalBuildingId"):""},set:function(a){this.Serializable$values.experimentalBuildingId=a}},experimentalDeskId:{configurable:!0,enumerable:!0,get:function(){return lL(this,"experimentalDeskId")?qo(this,"experimentalDeskId"):""},set:function(a){this.Serializable$values.experimentalDeskId=a}},experimentalFloorId:{configurable:!0,enumerable:!0,
get:function(){return lL(this,"experimentalFloorId")?qo(this,"experimentalFloorId"):""},set:function(a){this.Serializable$values.experimentalFloorId=a}},label:{configurable:!0,enumerable:!0,get:function(){return lL(this,"label")?qo(this,"label"):""},set:function(a){this.Serializable$values.label=a}}});
var DL=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};X(DL,ro);DL.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime","committedUntil","eventSummary"]}};
Vg.Object.defineProperties(DL.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return lL(this,"comeBackTime")?qo(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}},committedUntil:{configurable:!0,enumerable:!0,get:function(){return lL(this,"committedUntil")?qo(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return lL(this,"eventSummary")?qo(this,"eventSummary"):
""},set:function(a){this.Serializable$values.eventSummary=a}}});var EL=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=null==a.comeBackTime?null:a.comeBackTime};X(EL,ro);EL.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime"]}};
Vg.Object.defineProperties(EL.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return lL(this,"comeBackTime")?qo(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}}});var FL=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.code=null==a.code?null:a.code;this.Serializable$values.message=null==a.message?null:a.message;this.Serializable$values.details=null==a.details?null:a.details};X(FL,ro);
FL.prototype.getPartialClassMetadata=function(){return{keys:["code","details","message"],objectMaps:{details:{ctor:null,isPropertyArray:!0,isSerializable:!1,isValueArray:!1}}}};
Vg.Object.defineProperties(FL.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return lL(this,"code")?qo(this,"code"):0},set:function(a){this.Serializable$values.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return lL(this,"details")?qo(this,"details"):this.details=[]},set:function(a){this.Serializable$values.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return lL(this,"message")?qo(this,"message"):""},set:function(a){this.Serializable$values.message=
a}}});var GL=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.startTime=null==a.startTime?null:a.startTime;this.Serializable$values.endTime=null==a.endTime?null:a.endTime};X(GL,ro);GL.prototype.getPartialClassMetadata=function(){return{keys:["endTime","startTime"]}};
Vg.Object.defineProperties(GL.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return lL(this,"endTime")?qo(this,"endTime"):""},set:function(a){this.Serializable$values.endTime=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return lL(this,"startTime")?qo(this,"startTime"):""},set:function(a){this.Serializable$values.startTime=a}}});
var HL=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.overrideCurrentTime=null==a.overrideCurrentTime?null:a.overrideCurrentTime;this.Serializable$values.computationDuration=null==a.computationDuration?null:a.computationDuration};X(HL,ro);HL.prototype.getPartialClassMetadata=function(){return{keys:["computationDuration","overrideCurrentTime"]}};
Vg.Object.defineProperties(HL.prototype,{computationDuration:{configurable:!0,enumerable:!0,get:function(){return lL(this,"computationDuration")?qo(this,"computationDuration"):""},set:function(a){this.Serializable$values.computationDuration=a}},overrideCurrentTime:{configurable:!0,enumerable:!0,get:function(){return lL(this,"overrideCurrentTime")?qo(this,"overrideCurrentTime"):""},set:function(a){this.Serializable$values.overrideCurrentTime=a}}});
var IL=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.nextCommitmentTime=null==a.nextCommitmentTime?null:a.nextCommitmentTime;this.Serializable$values.nextCommitmentStatus=null==a.nextCommitmentStatus?null:a.nextCommitmentStatus};X(IL,ro);IL.prototype.getPartialClassMetadata=function(){return{keys:["nextCommitmentStatus","nextCommitmentTime"],objects:{nextCommitmentStatus:JL}}};
Vg.Object.defineProperties(IL.prototype,{nextCommitmentStatus:{configurable:!0,enumerable:!0,get:function(){return lL(this,"nextCommitmentStatus")?qo(this,"nextCommitmentStatus"):this.nextCommitmentStatus=new JL},set:function(a){this.Serializable$values.nextCommitmentStatus=a}},nextCommitmentTime:{configurable:!0,enumerable:!0,get:function(){return lL(this,"nextCommitmentTime")?qo(this,"nextCommitmentTime"):""},set:function(a){this.Serializable$values.nextCommitmentTime=a}}});
var KL=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=null==a.timeRange?null:a.timeRange};X(KL,ro);KL.prototype.getPartialClassMetadata=function(){return{keys:["timeRange"],objects:{timeRange:GL}}};Vg.Object.defineProperties(KL.prototype,{timeRange:{configurable:!0,enumerable:!0,get:function(){return lL(this,"timeRange")?qo(this,"timeRange"):this.timeRange=new GL},set:function(a){this.Serializable$values.timeRange=a}}});
var LL=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.availabilities=null==a.availabilities?null:a.availabilities;this.Serializable$values.workingHours=null==a.workingHours?null:a.workingHours;this.Serializable$values.nextPollTime=null==a.nextPollTime?null:a.nextPollTime};X(LL,ro);LL.prototype.getPartialClassMetadata=function(){return{arrays:{availabilities:l9b},keys:["availabilities","nextPollTime","workingHours"],objects:{workingHours:ML}}};
Vg.Object.defineProperties(LL.prototype,{availabilities:{configurable:!0,enumerable:!0,get:function(){return lL(this,"availabilities")?qo(this,"availabilities"):this.availabilities=[]},set:function(a){this.Serializable$values.availabilities=a}},nextPollTime:{configurable:!0,enumerable:!0,get:function(){return lL(this,"nextPollTime")?qo(this,"nextPollTime"):""},set:function(a){this.Serializable$values.nextPollTime=a}},workingHours:{configurable:!0,enumerable:!0,get:function(){return lL(this,"workingHours")?
qo(this,"workingHours"):this.workingHours=new ML},set:function(a){this.Serializable$values.workingHours=a}}});var vL=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.forceEnableUserStatusCache=null==a.forceEnableUserStatusCache?null:a.forceEnableUserStatusCache;this.Serializable$values.timeSettings=null==a.timeSettings?null:a.timeSettings};X(vL,ro);vL.prototype.getPartialClassMetadata=function(){return{keys:["forceEnableUserStatusCache","timeSettings"],objects:{timeSettings:HL}}};
Vg.Object.defineProperties(vL.prototype,{forceEnableUserStatusCache:{configurable:!0,enumerable:!0,get:function(){return lL(this,"forceEnableUserStatusCache")?qo(this,"forceEnableUserStatusCache"):!1},set:function(a){this.Serializable$values.forceEnableUserStatusCache=a}},timeSettings:{configurable:!0,enumerable:!0,get:function(){return lL(this,"timeSettings")?qo(this,"timeSettings"):this.timeSettings=new HL},set:function(a){this.Serializable$values.timeSettings=a}}});
var i9b=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.userId=null==a.userId?null:a.userId;this.Serializable$values.status=null==a.status?null:a.status;this.Serializable$values.userAvailabilities=null==a.userAvailabilities?null:a.userAvailabilities};X(i9b,ro);i9b.prototype.getPartialClassMetadata=function(){return{keys:["status","userAvailabilities","userId"],objects:{status:FL,userAvailabilities:LL,userId:uL}}};
Vg.Object.defineProperties(i9b.prototype,{hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==qo(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return lL(this,"status")?qo(this,"status"):this.status=new FL},set:function(a){this.Serializable$values.status=a}},hasUserAvailabilities:{configurable:!0,enumerable:!0,get:function(){return null!==qo(this,"userAvailabilities")}},userAvailabilities:{configurable:!0,enumerable:!0,get:function(){return lL(this,"userAvailabilities")?
qo(this,"userAvailabilities"):this.userAvailabilities=new LL},set:function(a){this.Serializable$values.userAvailabilities=a}},hasUserId:{configurable:!0,enumerable:!0,get:function(){return null!==qo(this,"userId")}},userId:{configurable:!0,enumerable:!0,get:function(){return lL(this,"userId")?qo(this,"userId"):this.userId=new uL},set:function(a){this.Serializable$values.userId=a}}});
var l9b=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=null==a.timeRange?null:a.timeRange;this.Serializable$values.status=null==a.status?null:a.status;this.Serializable$values.contexts=null==a.contexts?null:a.contexts};X(l9b,ro);l9b.prototype.getPartialClassMetadata=function(){return{keys:["contexts","status","timeRange"],objects:{contexts:NL,status:JL,timeRange:GL}}};
Vg.Object.defineProperties(l9b.prototype,{contexts:{configurable:!0,enumerable:!0,get:function(){return lL(this,"contexts")?qo(this,"contexts"):this.contexts=new NL},set:function(a){this.Serializable$values.contexts=a}},hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==qo(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return lL(this,"status")?qo(this,"status"):this.status=new JL},set:function(a){this.Serializable$values.status=a}},timeRange:{configurable:!0,
enumerable:!0,get:function(){return lL(this,"timeRange")?qo(this,"timeRange"):this.timeRange=new GL},set:function(a){this.Serializable$values.timeRange=a}}});
var NL=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.workingElsewhere=null==a.workingElsewhere?null:a.workingElsewhere;this.Serializable$values.upcomingOoo=null==a.upcomingOoo?null:a.upcomingOoo;this.Serializable$values.localTime=null==a.localTime?null:a.localTime;this.Serializable$values.upcomingCommitmentContext=null==a.upcomingCommitmentContext?null:a.upcomingCommitmentContext};X(NL,ro);
NL.prototype.getPartialClassMetadata=function(){return{keys:["localTime","upcomingCommitmentContext","upcomingOoo","workingElsewhere"],objects:{localTime:BL,upcomingCommitmentContext:IL,upcomingOoo:KL,workingElsewhere:OL}}};
Vg.Object.defineProperties(NL.prototype,{localTime:{configurable:!0,enumerable:!0,get:function(){return lL(this,"localTime")?qo(this,"localTime"):this.localTime=new BL},set:function(a){this.Serializable$values.localTime=a}},upcomingCommitmentContext:{configurable:!0,enumerable:!0,get:function(){return lL(this,"upcomingCommitmentContext")?qo(this,"upcomingCommitmentContext"):this.upcomingCommitmentContext=new IL},set:function(a){this.Serializable$values.upcomingCommitmentContext=a}},upcomingOoo:{configurable:!0,
enumerable:!0,get:function(){return lL(this,"upcomingOoo")?qo(this,"upcomingOoo"):this.upcomingOoo=new KL},set:function(a){this.Serializable$values.upcomingOoo=a}},workingElsewhere:{configurable:!0,enumerable:!0,get:function(){return lL(this,"workingElsewhere")?qo(this,"workingElsewhere"):this.workingElsewhere=new OL},set:function(a){this.Serializable$values.workingElsewhere=a}}});
var uL=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.obfuscatedGaiaId=null==a.obfuscatedGaiaId?null:a.obfuscatedGaiaId;this.Serializable$values.email=null==a.email?null:a.email};X(uL,ro);uL.prototype.getPartialClassMetadata=function(){return{keys:["email","obfuscatedGaiaId"]}};
Vg.Object.defineProperties(uL.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return lL(this,"email")?qo(this,"email"):""},set:function(a){this.Serializable$values.email=a}},obfuscatedGaiaId:{configurable:!0,enumerable:!0,get:function(){return lL(this,"obfuscatedGaiaId")?qo(this,"obfuscatedGaiaId"):""},set:function(a){this.Serializable$values.obfuscatedGaiaId=a}}});
var PL=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.homeLocation=null==a.homeLocation?null:a.homeLocation;this.Serializable$values.customLocation=null==a.customLocation?null:a.customLocation;this.Serializable$values.officeLocation=null==a.officeLocation?null:a.officeLocation};X(PL,ro);PL.prototype.getPartialClassMetadata=function(){return{keys:["customLocation","homeLocation","officeLocation"],objects:{customLocation:xL,homeLocation:j9b,officeLocation:CL}}};
Vg.Object.defineProperties(PL.prototype,{customLocation:{configurable:!0,enumerable:!0,get:function(){return lL(this,"customLocation")?qo(this,"customLocation"):this.customLocation=new xL},set:function(a){this.Serializable$values.customLocation=a}},homeLocation:{configurable:!0,enumerable:!0,get:function(){return lL(this,"homeLocation")?qo(this,"homeLocation"):this.homeLocation=new j9b},set:function(a){this.Serializable$values.homeLocation=a}},officeLocation:{configurable:!0,enumerable:!0,get:function(){return lL(this,
"officeLocation")?qo(this,"officeLocation"):this.officeLocation=new CL},set:function(a){this.Serializable$values.officeLocation=a}}});
var JL=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.inactive=null==a.inactive?null:a.inactive;this.Serializable$values.doNotDisturb=null==a.doNotDisturb?null:a.doNotDisturb;this.Serializable$values.outsideWorkingHours=null==a.outsideWorkingHours?null:a.outsideWorkingHours;this.Serializable$values.outOfOffice=null==a.outOfOffice?null:a.outOfOffice;this.Serializable$values.inMeeting=null==a.inMeeting?null:a.inMeeting;this.Serializable$values.calendarBusy=null==
a.calendarBusy?null:a.calendarBusy};X(JL,ro);JL.prototype.getPartialClassMetadata=function(){return{keys:"calendarBusy doNotDisturb inMeeting inactive outOfOffice outsideWorkingHours".split(" "),objects:{calendarBusy:wL,doNotDisturb:zL,inMeeting:AL,inactive:k9b,outOfOffice:DL,outsideWorkingHours:EL}}};
Vg.Object.defineProperties(JL.prototype,{calendarBusy:{configurable:!0,enumerable:!0,get:function(){return lL(this,"calendarBusy")?qo(this,"calendarBusy"):this.calendarBusy=new wL},set:function(a){this.Serializable$values.calendarBusy=a}},doNotDisturb:{configurable:!0,enumerable:!0,get:function(){return lL(this,"doNotDisturb")?qo(this,"doNotDisturb"):this.doNotDisturb=new zL},set:function(a){this.Serializable$values.doNotDisturb=a}},inMeeting:{configurable:!0,enumerable:!0,get:function(){return lL(this,
"inMeeting")?qo(this,"inMeeting"):this.inMeeting=new AL},set:function(a){this.Serializable$values.inMeeting=a}},inactive:{configurable:!0,enumerable:!0,get:function(){return lL(this,"inactive")?qo(this,"inactive"):this.inactive=new k9b},set:function(a){this.Serializable$values.inactive=a}},hasOutOfOffice:{configurable:!0,enumerable:!0,get:function(){return null!==qo(this,"outOfOffice")}},outOfOffice:{configurable:!0,enumerable:!0,get:function(){return lL(this,"outOfOffice")?qo(this,"outOfOffice"):
this.outOfOffice=new DL},set:function(a){this.Serializable$values.outOfOffice=a}},outsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return lL(this,"outsideWorkingHours")?qo(this,"outsideWorkingHours"):this.outsideWorkingHours=new EL},set:function(a){this.Serializable$values.outsideWorkingHours=a}}});var OL=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.location=null==a.location?null:a.location};X(OL,ro);
OL.prototype.getPartialClassMetadata=function(){return{keys:["location"],objects:{location:PL}}};Vg.Object.defineProperties(OL.prototype,{location:{configurable:!0,enumerable:!0,get:function(){return lL(this,"location")?qo(this,"location"):this.location=new PL},set:function(a){this.Serializable$values.location=a}}});var ML=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.availableTime=null==a.availableTime?null:a.availableTime};X(ML,ro);
ML.prototype.getPartialClassMetadata=function(){return{arrays:{availableTime:f9b},keys:["availableTime"]}};Vg.Object.defineProperties(ML.prototype,{availableTime:{configurable:!0,enumerable:!0,get:function(){return lL(this,"availableTime")?qo(this,"availableTime"):this.availableTime=[]},set:function(a){this.Serializable$values.availableTime=a}}});var m9b=new Xc("API_VERSION"),n9b=new Xc("REQUEST_SERVICE"),QL=function(){};QL.\u0275fac=function(a){return new (a||QL)};QL.\u0275mod=Nc({type:QL});
QL.\u0275inj=wc({});var o9b={$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"},RL=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v1alpha":a;this.$apiClient=new V8b(b,c)};RL.\u0275fac=function(a){return new (a||RL)(p(m9b,8),p(n9b),p(T8b,8))};RL.\u0275prov=vc({token:RL,factory:RL.\u0275fac});var SL=function(){};
SL.\u0275fac=function(a){return new (a||SL)};SL.\u0275prov=vc({token:SL,factory:function(a){return RL.\u0275fac(a)},providedIn:QL});/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
var TL=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};Et(TL,WFa);
TL.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof TL&&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 UL(this),VL(this),WL(this,!1,a))}};TL.prototype.continue_=function(a,b){this.blocked_=!1;WL(this,a,b)};
var WL=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;p9b(a)},VL=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new q9b(a);a.silentlyCanceled_=!1}};TL.prototype.callback=function(a){VL(this);WL(this,!0,a)};TL.prototype.addCallback=function(a,b){return r9b(this,a,null,b)};var r9b=function(a,b,c,d){a.sequence_.push([b,c,d]);a.fired_&&p9b(a);return a};
TL.prototype.then=function(a,b,c){var d,e,f=new VB(function(h,k){e=h;d=k});r9b(this,e,function(h){h instanceof UL?f.cancel():d(h);return s9b},this);return f.then(a,b,c)};TL.prototype.$goog_Thenable=!0;TL.prototype.isError=function(a){return a instanceof Error};
var t9b=function(a){return DMb(a.sequence_,function(b){return"function"===typeof b[1]})},s9b={},p9b=function(a){if(a.unhandledErrorId_&&a.fired_&&t9b(a)){var b=a.unhandledErrorId_,c=u9b[b];c&&(ca.clearTimeout(c.id_),delete u9b[b]);a.unhandledErrorId_=0}a.parent_&&(a.parent_.branches_--,delete a.parent_);b=a.result_;for(var d=c=!1;a.sequence_.length&&!a.blocked_;){var e=a.sequence_.shift(),f=e[0],h=e[1];e=e[2];if(f=a.hadError_?h:f)try{var k=f.call(e||a.defaultScope_,b);k===s9b&&(k=void 0);void 0!==
k&&(a.hadError_=a.hadError_&&(k==b||a.isError(k)),a.result_=b=k);if(fYb(b)||"function"===typeof ca.Promise&&b instanceof ca.Promise)d=!0,a.blocked_=!0}catch(q){b=q,a.hadError_=!0,t9b(a)||(c=!0)}}a.result_=b;d&&(k=Ct(a.continue_,a,!0),d=Ct(a.continue_,a,!1),b instanceof TL?(r9b(b,k,d),b.blocking_=!0):b.then(k,d));c&&(b=new v9b(b),u9b[b.id_]=b,a.unhandledErrorId_=b.id_)},q9b=function(){aa.call(this)};Et(q9b,aa);q9b.prototype.message="Deferred has already fired";q9b.prototype.name="AlreadyCalledError";
var UL=function(){aa.call(this)};Et(UL,aa);UL.prototype.message="Deferred was canceled";UL.prototype.name="CanceledError";var v9b=function(a){this.id_=ca.setTimeout(Ct(this.throwError,this),0);this.error_=a};v9b.prototype.throwError=function(){delete u9b[this.id_];throw this.error_;};var u9b={};var aGa=function(a,b){var c=b||{};b=c.document||document;var d=Rh(a).toString(),e=(new HB(b)).createElement("SCRIPT"),f={script_:e,timeout_:void 0},h=new TL(w9b,f),k=null,q=null!=c.timeout?c.timeout:5E3;0<q&&(k=window.setTimeout(function(){x9b(e,!0);var t=new y9b(1,"Timeout reached for loading script "+d);VL(h);WL(h,!1,t)},q),f.timeout_=k);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(x9b(e,c.cleanupWhenDone||!1,k),h.callback(null))};e.onerror=
function(){x9b(e,!0,k);var t=new y9b(0,"Error while loading script "+d);VL(h);WL(h,!1,t)};f=c.attributes||{};Xda(f,{type:"text/javascript",charset:"UTF-8"});HXb(e,f);COb(e,a);z9b(b).appendChild(e);return h},z9b=function(a){var b=KB("HEAD",a);return b&&0!==b.length?b[0]:a.documentElement},w9b=function(){if(this&&this.script_){var a=this.script_;a&&"SCRIPT"==a.tagName&&x9b(a,!0,this.timeout_)}},x9b=function(a,b,c){null!=c&&ca.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=
function(){};b&&window.setTimeout(function(){QB(a)},0)},y9b=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);aa.call(this,c);this.code=a};Et(y9b,aa);var bGa=tt(["https://apis.google.com/js/api.js"]),XFa=null,dGa=new WeakMap;var XL=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,W.defer)(function(){return ZFa().then(function(f){f=f||window.gapi;e.setGapiConfig(f);return fGa(f,{apiKey:e.gapiKey,clientId:e.gapiAuthParams.clientId,scope:e.gapiAuthParams.scope}).then(function(){return f})})})};X(XL,Y8b);
XL.prototype.makeRequest=function(a){var b=this;return this.gapi.pipe(ve(function(c){var d=(0,W.of)(void 0);void 0!==b.gapiAuthParams.minAuthTokenTimeRemaining&&(d=(0,W.from)(eGa(c,b.gapiAuthParams.minAuthTokenTimeRemaining)));return d.pipe(ve(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}))}))}))};
XL.prototype.parseResponse=function(a){return new W.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)})})};XL.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&cGa(a,b,this.gapiConfigUpdates[b])};var A9b=function(a,b,c,d,e){d=void 0===d?{}:d;e=void 0===e?{}:e;XL.call(this,a,c,d,e);this.waldoApiKey=b};X(A9b,XL);A9b.prototype.makeRequest=function(a){var b=XL.prototype.makeRequest,c=b.call;(a.queryParams||(a.queryParams={})).key=this.waldoApiKey;return c.call(b,this,a)};var YL=function(a){var b=this;this.apiStub=a;this.result=new W.Subject;this.destroyed=new W.ReplaySubject(1);this.trigger=new W.Subject;this.batchedTrigger=this.trigger.pipe(Rja(this.trigger.pipe(Oe(200))));this.responseHandler=function(c){if(c.hasResults){c=l(c.results);for(var d=c.next();!d.done;d=c.next()){var e=d.value;d="";e.hasUserId&&e.userId.email&&(d=e.userId.email);if(d)if(e.hasUserAvailabilities){e=e.userAvailabilities.availabilities[0];if(e.hasStatus&&e.status.hasOutOfOffice){e=e.status.outOfOffice;
if(e.comeBackTime){var f=e=new Date(e.comeBackTime),h=new Date;e=h.getFullYear()===f.getFullYear()&&h.getMonth()===f.getMonth()&&h.getDate()===f.getDate()?"at "+e.toLocaleString("en-Us",{hour:"numeric",minute:"2-digit",hour12:!0}):"on "+(e.getFullYear()!==(new Date).getFullYear()?e.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric",year:"numeric"}):e.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric"}));e=" - back "+e}else e="";e="Out of Office"+e}else e="";b.result.next({emailAddress:d,
availability:e})}else b.result.next({emailAddress:d,availability:""})}}};this.batchedTrigger.pipe(ef(this.destroyed)).subscribe(function(c){c=[].concat(r(new Set(c)));B9b(b,c.slice(0,100));c=l(c.slice(100));for(var d=c.next();!d.done;d=c.next())b.trigger.next(d.value)})},B9b=function(a,b){var c,d;ke(function(e){for(var f=new g9b,h=[],k=l(b),q=k.next();!q.done;q=k.next()){q=q.value;var t=new uL;t.email=q;h.push(t)}f.userIds=h;c=f;f=a.apiStub;var w=void 0===w?{}:w;var z=void 0===z?{}:z;d=X8b(f.$apiClient,
{body:c,httpMethod:"POST",methodId:"waldo_service_api_from_stubby_sandbox.useravailabilities.batchget",path:"/"+f.gapiVersion+"/useravailabilities:batchget",queryParams:EFa(w,o9b,z),responseCtor:h9b});d.pipe(ef(a.destroyed)).subscribe(a.responseHandler);qe(e)})},C9b=function(a,b){if(!b)return(0,W.of)("");a.trigger.next(b);return a.result.pipe(Ce(function(c){return c.emailAddress===b})).pipe(B(function(c){return c.availability}))};YL.prototype.ngOnDestroy=function(){this.destroyed.next()};
YL.\u0275fac=function(a){return new (a||YL)(p(SL))};YL.\u0275prov=vc({token:YL,factory:YL.\u0275fac});var ZL=function(a){var b=this;this.waldoAvailabilityService=a;this.user="";this.userSubject=new W.ReplaySubject(1);this.availability=this.userSubject.pipe(df(function(c){return C9b(b.waldoAvailabilityService,c)}))};ZL.prototype.ngOnChanges=function(){this.userSubject.next(this.user)};ZL.\u0275fac=function(a){return new (a||ZL)(A(YL))};
ZL.\u0275cmp=Lc({type:ZL,selectors:[["waldo-availability-chip"]],inputs:{user:"user"},features:[ed],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&&(C(0,gGa,6,3,"div",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.availability))},dependencies:[dw,mw],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 DLb=function(a){this.proxiedService=a};X(DLb,Y8b);DLb.prototype.makeRequest=function(a){var b=this;return(0,W.defer)(function(){return b.proxiedService.makeRequest(a)})};var D9b=new Xc("environment"),E9b={"client/cors":!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0},$L=function(){};$L.\u0275fac=function(a){return new (a||$L)};$L.\u0275mod=Nc({type:$L});$L.\u0275inj=wc({imports:[uw,QL]});var F9b=RegExp("^((http(s)?):)?\\/\\/((((lh[3-6](-tt|-d[a-g,y,z]|-testonly)?\\.((ggpht)|(googleusercontent)|(google)|(sandbox\\.google)))|(lh7\\-(eu|us)\\.((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"),G9b=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,H9b=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,I9b=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i,J9b=function(a){return F9b.test(a)||G9b.test(a)||H9b.test(a)||I9b.test(a)};var K9b=function(a){this.internalArray_=m(a)};X(K9b,n);g=K9b.prototype;g.getSize=function(){return Xt(this,1)};g.setSize=function(a){return rj(this,1,a)};g.getWidth=function(){return Xt(this,12)};g.setWidth=function(a){return rj(this,12,a)};g.getHeight=function(){return Xt(this,13)};g.setHeight=function(a){return rj(this,13,a)};g.setStretch=function(a){return Mh(this,33,a)};g.setCrop=function(a){return Mh(this,2,a)};g.setCircleCrop=function(a){return Mh(this,51,a)};
g.setImageCrop=function(a){return Mh(this,32,a)};g.setSmartCrop=function(a){return Mh(this,19,a)};g.setSmartCropNoClip=function(a){return Mh(this,52,a)};g.setSmartCropUseFace=function(a){return Mh(this,67,a)};g.setDetectFaces=function(a){Mh(this,80,a)};g.setCenterCrop=function(a){return Mh(this,20,a)};g.setPad=function(a){return Mh(this,60,a)};g.setDownload=function(a){Mh(this,3,a)};g.setHtml=function(a){Mh(this,4,a)};g.setObjectId=function(a){lk(this,7,null==a?a:Qba(a))};
g.setLooseFaceCrop=function(a){return Mh(this,65,a)};g.setFaceCropVersion=function(a){rj(this,94,a)};g.setFrameId=function(a){lk(this,29,null==a?a:Qba(a))};g.setTileX=function(a){rj(this,9,a)};g.setTileY=function(a){rj(this,10,a)};g.setTileZoom=function(a){rj(this,11,a)};g.setTileGeneration=function(a){Mh(this,14,a)};g.setForceTileGeneration=function(a){Mh(this,34,a)};g.setTilePyramidAsProto=function(a){Mh(this,72,a)};g.setExpirationTime=function(a){rj(this,15,a)};
g.setExpirationTimeInMinutes=function(a){rj(this,107,a)};g.setImageFilter=function(a){return Lh(this,16,a)};g.setKillAnimation=function(a){return Mh(this,17,a)};g.setUnfiltered=function(a){Mh(this,18,a)};g.setUnfilteredWithTransforms=function(a){Mh(this,45,a)};g.setIncludeMetadata=function(a){Mh(this,22,a)};g.setIncludePublicMetadata=function(a){Mh(this,54,a)};g.setStripGoogleData=function(a){Mh(this,82,a)};g.setPreserveGoogleData=function(a){Mh(this,83,a)};
g.setStripMetadata=function(a){Mh(this,93,a)};g.setStripGeoinfo=function(a){Mh(this,95,a)};g.setEsPortraitApprovedOnly=function(a){return Mh(this,21,a)};g.setBypassTakedown=function(a){Mh(this,23,a)};g.getToken=function(){return Fj(this,24)};g.setToken=function(a){return Lh(this,24,a)};g.setVersionedToken=function(a){Lh(this,36,a)};g.setSkipRefererCheck=function(a){Mh(this,6,a)};g.setRotate=function(a){return rj(this,26,a)};g.setHorizontalFlip=function(a){Mh(this,30,a)};
g.setVerticalFlip=function(a){Mh(this,31,a)};g.getOverlay=function(){return es(this,27)};g.setOverlay=function(a){return Mh(this,27,a)};g.setQueryString=function(a){Lh(this,28,a)};g.setRequestJpeg=function(a){return Mh(this,57,a)};g.setRequestPng=function(a){return Mh(this,58,a)};g.setRequestGif=function(a){Mh(this,59,a)};g.setRequestAvif=function(a){Mh(this,103,a)};g.setRequestWebp=function(a){return Mh(this,35,a)};g.setRequestWebpUnlessMaybeTransparent=function(a){Mh(this,41,a)};
g.setRequestAnimatedWebp=function(a){Mh(this,64,a)};g.setNoWebp=function(a){Mh(this,48,a)};g.setRequestH264=function(a){return Mh(this,49,a)};g.setLossy=function(a){Mh(this,97,a)};g.setNoOverlay=function(a){return Mh(this,37,a)};g.setBorderSize=function(a){rj(this,38,a)};g.setBorderRadius=function(a){rj(this,86,a)};g.setBorderColor=function(a){rj(this,39,a)};g.getBackgroundColor=function(){return Xt(this,87)};g.setBackgroundColor=function(a){rj(this,87,a)};g.setPadColor=function(a){rj(this,88,a)};
g.setSubstitutionColor=function(a){rj(this,89,a)};g.setNoSilhouette=function(a){Mh(this,40,a)};g.setFocusBlur=function(a){rj(this,42,a)};g.setFocalPlane=function(a){rj(this,43,a)};g.setQualityLevel=function(a){return rj(this,44,a)};g.setQualityBucket=function(a){return rj(this,62,a)};g.setNoUpscale=function(a){Mh(this,46,a)};g.setPreserveAspectRatio=function(a){Mh(this,61,a)};g.setForceTransformation=function(a){Mh(this,50,a)};g.setNoDefaultImage=function(a){Mh(this,53,a)};
g.setNoCorrectExifOrientation=function(a){Mh(this,55,a)};g.setSelectFrameNumber=function(a){rj(this,56,a)};g.setVideoFormat=function(a){rj(this,63,a)};g.setVideoMultiFormat=function(a){Lh(this,81,a)};g.setVideoManifest=function(a){Mh(this,98,a)};g.setDownloadVideo=function(a){Mh(this,90,a)};g.setVideoBegin=function(a){zj(this,68,a)};g.setVideoLength=function(a){zj(this,69,a)};g.setMatchVersion=function(a){Mh(this,66,a)};g.setImageDigest=function(a){Mh(this,70,a)};
g.setInternalClient=function(a){rj(this,71,a)};g.setMonogram=function(a){Mh(this,73,a)};g.setForceMonogram=function(a){return Mh(this,84,a)};g.setMonogramDogfood=function(a){Mh(this,91,a)};g.setIgnoreLowResProfilePhoto=function(a){Mh(this,96,a)};g.setAutoloop=function(a){Mh(this,74,a)};g.getImageVersion=function(){return Yt(this,75)};g.setImageVersion=function(a){zj(this,75,a)};g.setPitchDegrees=function(a){lk(this,76,ib(a))};g.setYawDegrees=function(a){lk(this,77,ib(a))};
g.setRollDegrees=function(a){lk(this,78,ib(a))};g.setFovDegrees=function(a){lk(this,79,ib(a))};g.setBadge=function(a){rj(this,85,a)};g.setColorProfile=function(a){rj(this,92,a)};g.setDeepCrop=function(a){Lh(this,99,a)};g.setRequestVideoFast=function(a){Mh(this,100,a)};g.setVideoFormatFilters=function(a){Lh(this,102,a)};g.setDummyCacheKeyModifier=function(a){Mh(this,104,a)};g.setGainMap=function(a){Mh(this,105,a)};g.setNoGainMap=function(a){Mh(this,106,a)};
g.setForceCookieRedirect=function(a){Mh(this,108,a)};var aM=function(a){this.value_=void 0;this.childNodes_={};a&&this.setAll(a)};aM.prototype.set=function(a,b){L9b(this,a,b,!1)};aM.prototype.add=function(a,b){L9b(this,a,b,!0)};var L9b=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 aM);a=a.childNodes_[f]}if(d&&void 0!==a.value_)throw Error("$c`"+b);a.value_=c};aM.prototype.setAll=function(a){var b=e0b(a);a=mD(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};
var M9b=function(a,b){for(var c=0;c<b.length;c++)if(a=a.childNodes_[b.charAt(c)],!a)return;return a};aM.prototype.get=function(a){return(a=M9b(this,a))?a.value_:void 0};aM.prototype.getValues=function(){var a=[];N9b(this,a);return a};var N9b=function(a,b){void 0!==a.value_&&b.push(a.value_);for(var c in a.childNodes_)N9b(a.childNodes_[c],b)};
aM.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]}O9b(c,a,b)}else O9b(this,"",b);return b};var O9b=function(a,b,c){void 0!==a.value_&&c.push(b);for(var d in a.childNodes_)O9b(a.childNodes_[d],b+d,c)};g=aM.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("ad`"+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 aM(this)};g.getCount=function(){return d0b(this.getValues())};g.isEmpty=function(){return void 0===this.value_&&bc(this.childNodes_)};var R9b=function(){if(!P9b){var a=P9b=new aM,b;for(b in Q9b)a.add(b,Q9b[b])}},P9b,bM=function(a,b){this.types=a;this.setters=b},Q9b={a:new bM([3,0],[function(a,b){a.setEsPortraitApprovedOnly(b)},function(a,b){a.setSelectFrameNumber(b)}]),al:new bM([3],[function(a,b){a.setAutoloop(b)}]),b:new bM([3,0],[function(a,b){a.setBypassTakedown(b)},function(a,b){a.setBorderSize(b)}]),ba:new bM([0],[function(a,b){a.setBadge(b)}]),bc:new bM([0],[function(a,b){a.setBackgroundColor(b)}]),br:new bM([0],[function(a,
b){a.setBorderRadius(b)}]),c:new bM([3,0],[function(a,b){a.setCrop(b)},function(a,b){a.setBorderColor(b)}]),cc:new bM([3],[function(a,b){a.setCircleCrop(b)}]),ci:new bM([3],[function(a,b){a.setImageCrop(b)}]),ckm:new bM([3],[function(a,b){a.setDummyCacheKeyModifier(b)}]),cp:new bM([0],[function(a,b){a.setColorProfile(b)}]),cr:new bM([3],[function(a,b){a.setForceCookieRedirect(b)}]),cv:new bM([0],[function(a,b){a.setFaceCropVersion(b)}]),d:new bM([3],[function(a,b){a.setDownload(b)}]),dc:new bM([5],
[function(a,b){a.setDeepCrop(b)}]),df:new bM([3],[function(a,b){a.setDetectFaces(b)}]),dv:new bM([3],[function(a,b){a.setDownloadVideo(b)}]),e:new bM([0],[function(a,b){a.setExpirationTime(b)}]),em:new bM([0],[function(a,b){a.setExpirationTimeInMinutes(b)}]),f:new bM([4],[function(a,b){a.setImageFilter(b)}]),fg:new bM([3],[function(a,b){a.setForceTileGeneration(b)}]),fh:new bM([3],[function(a,b){a.setHorizontalFlip(b)}]),fm:new bM([3],[function(a,b){a.setForceMonogram(b)}]),fo:new bM([2],[function(a,
b){a.setFovDegrees(b)}]),ft:new bM([3],[function(a,b){a.setForceTransformation(b)}]),fv:new bM([3],[function(a,b){a.setVerticalFlip(b)}]),g:new bM([3],[function(a,b){a.setTileGeneration(b)}]),gd:new bM([3],[function(a,b){a.setPreserveGoogleData(b)}]),gm:new bM([3],[function(a,b){a.setGainMap(b)}]),h:new bM([3,0],[function(a,b){a.setHtml(b)},function(a,b){a.setHeight(b)}]),i:new bM([3],[function(a,b){a.setIncludeMetadata(b)}]),ic:new bM([0],[function(a,b){a.setInternalClient(b)}]),id:new bM([3],[function(a,
b){a.setImageDigest(b)}]),il:new bM([3],[function(a,b){a.setIgnoreLowResProfilePhoto(b)}]),ip:new bM([3],[function(a,b){a.setIncludePublicMetadata(b)}]),iv:new bM([0],[function(a,b){a.setImageVersion(b)}]),j:new bM([1],[function(a,b){a.setFrameId(b)}]),k:new bM([3,0],[function(a,b){a.setKillAnimation(b)},function(a,b){a.setFocusBlur(b)}]),l:new bM([0],[function(a,b){a.setQualityLevel(b)}]),lf:new bM([3],[function(a,b){a.setLooseFaceCrop(b)}]),lo:new bM([3],[function(a,b){a.setLossy(b)}]),m:new bM([0],
[function(a,b){a.setVideoFormat(b)}]),md:new bM([3],[function(a,b){a.setMonogramDogfood(b)}]),mm:new bM([4],[function(a,b){a.setVideoMultiFormat(b)}]),mo:new bM([3],[function(a,b){a.setMonogram(b)}]),mv:new bM([3],[function(a,b){a.setMatchVersion(b)}]),n:new bM([3],[function(a,b){a.setCenterCrop(b)}]),nc:new bM([3],[function(a,b){a.setNoCorrectExifOrientation(b)}]),nd:new bM([3],[function(a,b){a.setNoDefaultImage(b)}]),ng:new bM([3],[function(a,b){a.setStripGeoinfo(b)}]),ngm:new bM([3],[function(a,
b){a.setNoGainMap(b)}]),no:new bM([3],[function(a,b){a.setNoOverlay(b)}]),ns:new bM([3],[function(a,b){a.setNoSilhouette(b)}]),nt0:new bM([4],[function(a,b){a.setVersionedToken(b)}]),nu:new bM([3],[function(a,b){a.setNoUpscale(b)}]),nw:new bM([3],[function(a,b){a.setNoWebp(b)}]),o:new bM([1,3],[function(a,b){a.setObjectId(b)},function(a,b){a.setOverlay(b)}]),p:new bM([3,0],[function(a,b){a.setSmartCrop(b)},function(a,b){a.setFocalPlane(b)}]),pa:new bM([3],[function(a,b){a.setPreserveAspectRatio(b)}]),
pc:new bM([0],[function(a,b){a.setPadColor(b)}]),pd:new bM([3],[function(a,b){a.setPad(b)}]),pf:new bM([3],[function(a,b){a.setSmartCropUseFace(b)}]),pg:new bM([3],[function(a,b){a.setTilePyramidAsProto(b)}]),pi:new bM([2],[function(a,b){a.setPitchDegrees(b)}]),pp:new bM([3],[function(a,b){a.setSmartCropNoClip(b)}]),q:new bM([4],[function(a,b){a.setQueryString(b)}]),r:new bM([3,0],[function(a,b){a.setSkipRefererCheck(b)},function(a,b){a.setRotate(b)}]),ra:new bM([3],[function(a,b){a.setRequestAvif(b)}]),
rf:new bM([3],[function(a,b){a.setRequestVideoFast(b)}]),rg:new bM([3],[function(a,b){a.setRequestGif(b)}]),rh:new bM([3],[function(a,b){a.setRequestH264(b)}]),rj:new bM([3],[function(a,b){a.setRequestJpeg(b)}]),ro:new bM([2],[function(a,b){a.setRollDegrees(b)}]),rp:new bM([3],[function(a,b){a.setRequestPng(b)}]),rw:new bM([3],[function(a,b){a.setRequestWebp(b)}]),rwa:new bM([3],[function(a,b){a.setRequestAnimatedWebp(b)}]),rwu:new bM([3],[function(a,b){a.setRequestWebpUnlessMaybeTransparent(b)}]),
s:new bM([3,0],[function(a,b){a.setStretch(b)},function(a,b){a.setSize(b)}]),sc:new bM([0],[function(a,b){a.setSubstitutionColor(b)}]),sg:new bM([3],[function(a,b){a.setStripGoogleData(b)}]),sm:new bM([3],[function(a,b){a.setStripMetadata(b)}]),t:new bM([4],[function(a,b){a.setToken(b)}]),u:new bM([3],[function(a,b){a.setUnfiltered(b)}]),ut:new bM([3],[function(a,b){a.setUnfilteredWithTransforms(b)}]),v:new bM([0],[function(a,b){a.setQualityBucket(b)}]),vb:new bM([0],[function(a,b){a.setVideoBegin(b)}]),
vf:new bM([4],[function(a,b){a.setVideoFormatFilters(b)}]),vl:new bM([0],[function(a,b){a.setVideoLength(b)}]),vm:new bM([3],[function(a,b){a.setVideoManifest(b)}]),w:new bM([0],[function(a,b){a.setWidth(b)}]),x:new bM([0],[function(a,b){a.setTileX(b)}]),y:new bM([0],[function(a,b){a.setTileY(b)}]),ya:new bM([2],[function(a,b){a.setYawDegrees(b)}]),z:new bM([0],[function(a,b){a.setTileZoom(b)}])};
R9b.prototype.parse=function(a){var b=new K9b,c=new K9b;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,k=!1;var q=h;var t=h.charAt(0);t!=t.toLowerCase()&&(k=!0,q=h.charAt(0).toLowerCase()+h.substring(1));var w=P9b;for(t=1;t<=q.length;++t){var z=w,F=q.substring(0,t);if(0==F.length?z.isEmpty():!M9b(z,F))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:k,attributes:q}:null;if(q){h=
[];k=[];t=!1;for(w=0;w<q.attributes.types.length;w++){z=q.attributes.types[w];var J=q.value;F=e;if(q.signed&&1==z)for(var H=J.length;12>H&&F<a.length-1;)J+="-"+a[F+1],H=J.length,++F;else if(2==z)for(;F<a.length-1&&a[F+1].match(/^[\d\.]/);)J+="-"+a[F+1],++F;H=q.attributes.setters[w];J=S9b(this,z)(q.option,J,b,c,H);if(null===J){t=!0;e=F;break}else h.push(z),k.push(J)}if(!t)for(q=0;q<k.length;q++)w=h[q],J=k[q],T9b(this,w)(f,J);d=d&&t}else d=!1}}a=d}return new U9b(b,c,a)};
var cM=function(a,b,c,d,e,f){e(c,b);a=a.charAt(0);f=f(a==a.toUpperCase());e(d,f)};g=R9b.prototype;g.parseAndSetIntOption_=function(a,b,c,d,e){if(""==b)return 0;b=Zh(b);if(isNaN(b))return 1;cM(a,b,c,d,e,Number);return null};g.logIntParseError_=function(){};g.parseAndSetFloatOption_=function(a,b,c,d,e){if(""==b)return 0;b=Pk(b);if(isNaN(b))return 1;cM(a,b,c,d,e,Number);return null};g.logFloatParseError_=function(){};
g.parseAndSetBoolOption_=function(a,b,c,d,e){if(""!=b)return 2;cM(a,!0,c,d,e,Boolean);return null};g.logBoolParseError_=function(){};g.parseAndSetStringOption_=function(a,b,c,d,e){if(""==b)return 0;cM(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;cM(a,b,c,d,e,function(f){return f?1:0});return null};
var S9b=function(a,b){switch(b){case 0:return Ct(a.parseAndSetIntOption_,a);case 2:return Ct(a.parseAndSetFloatOption_,a);case 3:return Ct(a.parseAndSetBoolOption_,a);case 4:return Ct(a.parseAndSetStringOption_,a);case 1:return Ct(a.parseAndSetUint64Base64Option_,a);default:return function(){}}},T9b=function(a,b){switch(b){case 0:return Ct(a.logIntParseError_,a);case 2:return Ct(a.logFloatParseError_,a);case 3:return Ct(a.logBoolParseError_,a);case 4:case 1:return Ct(a.logStringParseError_,a);default:return function(){}}},
U9b=function(a,b,c){this.valueProto_=a;this.signatureFlagProto_=b;this.valid_=c};U9b.prototype.isValid=function(){return this.valid_};var V9b=function(a,b){null!=a&&this.append.apply(this,arguments)};g=V9b.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 dM=function(a){this.parser_=null;this.components_=[];this.parsedOptions_=null;W9b(this,a)};dM.prototype.getParsedOptions=function(){return this.parsedOptions_};var X9b=function(a){null==a.parser_&&(a.parser_=new R9b);return a.parser_},W9b=function(a,b){a.parsedOptions_=b?"string"===typeof b?X9b(a).parse(b):b:X9b(a).parse("")},eM=function(a,b){return a==b?!1:!0};g=dM.prototype;
g.setEsPortraitApprovedOnly=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,21)&&b.setEsPortraitApprovedOnly(a);return this};g.setSelectFrameNumber=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,56),Xt(b.signatureFlagProto_,56))&&c.setSelectFrameNumber(a)};g.setAutoloop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,74)&&b.setAutoloop(a)};
g.setBypassTakedown=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,23,!1)&&b.setBypassTakedown(a)};g.setBorderSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,38),Xt(b.signatureFlagProto_,38))&&c.setBorderSize(a)};g.setBadge=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,85),Xt(b.signatureFlagProto_,85))&&c.setBadge(a)};
g.setBackgroundColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,c.getBackgroundColor(),b.signatureFlagProto_.getBackgroundColor())&&c.setBackgroundColor(a)};g.setBorderRadius=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,86),Xt(b.signatureFlagProto_,86))&&c.setBorderRadius(a)};g.setCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,2,!1)&&b.setCrop(a);return this};
g.setBorderColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,39),Xt(b.signatureFlagProto_,39))&&c.setBorderColor(a)};g.setCircleCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,51)&&b.setCircleCrop(a);return this};g.setImageCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,32)&&b.setImageCrop(a);return this};g.setDummyCacheKeyModifier=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,104)&&b.setDummyCacheKeyModifier(a)};
g.setColorProfile=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,92),Xt(b.signatureFlagProto_,92))&&c.setColorProfile(a)};g.setForceCookieRedirect=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,108)&&b.setForceCookieRedirect(a)};g.setFaceCropVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,94),Xt(b.signatureFlagProto_,94))&&c.setFaceCropVersion(a)};
g.setDownload=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,3,!1)&&b.setDownload(a)};g.setDeepCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Fj(b,99)&&b.setDeepCrop(a)};g.setDetectFaces=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,80)&&b.setDetectFaces(a)};g.setDownloadVideo=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,90)&&b.setDownloadVideo(a)};
g.setExpirationTime=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,15),Xt(b.signatureFlagProto_,15))&&c.setExpirationTime(a)};g.setExpirationTimeInMinutes=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,107),Xt(b.signatureFlagProto_,107))&&c.setExpirationTimeInMinutes(a)};g.setImageFilter=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Fj(b,16)&&b.setImageFilter(a);return this};
g.setForceTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,34,!1)&&b.setForceTileGeneration(a)};g.setHorizontalFlip=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,30)&&b.setHorizontalFlip(a)};g.setForceMonogram=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,84)&&b.setForceMonogram(a);return this};g.setFovDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,vq(c,79),vq(b.signatureFlagProto_,79))&&c.setFovDegrees(a)};
g.setForceTransformation=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,50)&&b.setForceTransformation(a)};g.setVerticalFlip=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,31)&&b.setVerticalFlip(a)};g.setTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,14,!1)&&b.setTileGeneration(a)};g.setPreserveGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,83)&&b.setPreserveGoogleData(a)};
g.setGainMap=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,105)&&b.setGainMap(a)};g.setHtml=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,4,!1)&&b.setHtml(a)};g.setHeight=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,c.getHeight(),b.signatureFlagProto_.getHeight())&&c.setHeight(a);return this};g.setIncludeMetadata=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,22)&&b.setIncludeMetadata(a)};
g.setInternalClient=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,71),Xt(b.signatureFlagProto_,71))&&c.setInternalClient(a)};g.setImageDigest=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,70)&&b.setImageDigest(a)};g.setIgnoreLowResProfilePhoto=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,96)&&b.setIgnoreLowResProfilePhoto(a)};g.setIncludePublicMetadata=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,54)&&b.setIncludePublicMetadata(a)};
g.setImageVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,c.getImageVersion(),b.signatureFlagProto_.getImageVersion())&&c.setImageVersion(a)};g.setFrameId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;eM(a,Zt(c,29),Zt(b.signatureFlagProto_,29))&&c.setFrameId(a)};g.setKillAnimation=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,17)&&b.setKillAnimation(a);return this};
g.setFocusBlur=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,42),Xt(b.signatureFlagProto_,42))&&c.setFocusBlur(a)};g.setQualityLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,44),Xt(b.signatureFlagProto_,44))&&c.setQualityLevel(a);return this};g.setLooseFaceCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,65)&&b.setLooseFaceCrop(a);return this};g.setLossy=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,97)&&b.setLossy(a)};
g.setVideoFormat=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,63),Xt(b.signatureFlagProto_,63))&&c.setVideoFormat(a)};g.setMonogramDogfood=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,91)&&b.setMonogramDogfood(a)};g.setVideoMultiFormat=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Fj(b,81)&&b.setVideoMultiFormat(a)};g.setMonogram=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,73)&&b.setMonogram(a)};
g.setMatchVersion=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,66)&&b.setMatchVersion(a)};g.setCenterCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,20,!1)&&b.setCenterCrop(a);return this};g.setNoCorrectExifOrientation=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,55)&&b.setNoCorrectExifOrientation(a)};g.setNoDefaultImage=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,53)&&b.setNoDefaultImage(a)};
g.setStripGeoinfo=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,95)&&b.setStripGeoinfo(a)};g.setNoGainMap=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,106)&&b.setNoGainMap(a)};g.setNoOverlay=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,37,!1)&&b.setNoOverlay(a);return this};g.setNoSilhouette=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,40)&&b.setNoSilhouette(a)};
g.setVersionedToken=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Fj(b,36)&&b.setVersionedToken(a)};g.setNoUpscale=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,46)&&b.setNoUpscale(a)};g.setNoWebp=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,48,!1)&&b.setNoWebp(a)};g.setObjectId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;eM(a,Zt(c,7),Zt(b.signatureFlagProto_,7))&&c.setObjectId(a)};
g.setOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;eM(a,c.getOverlay(),b.signatureFlagProto_.getOverlay())&&c.setOverlay(a);return this};g.setSmartCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,19,!1)&&b.setSmartCrop(a);return this};g.setFocalPlane=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,43),Xt(b.signatureFlagProto_,43))&&c.setFocalPlane(a)};
g.setPreserveAspectRatio=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,61)&&b.setPreserveAspectRatio(a)};g.setPadColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,88),Xt(b.signatureFlagProto_,88))&&c.setPadColor(a)};g.setPad=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,60)&&b.setPad(a);return this};g.setSmartCropUseFace=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,67,!1)&&b.setSmartCropUseFace(a);return this};
g.setTilePyramidAsProto=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,72,!1)&&b.setTilePyramidAsProto(a)};g.setPitchDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,vq(c,76),vq(b.signatureFlagProto_,76))&&c.setPitchDegrees(a)};g.setSmartCropNoClip=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,52,!1)&&b.setSmartCropNoClip(a);return this};g.setQueryString=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Fj(b,28)&&b.setQueryString(a)};
g.setSkipRefererCheck=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,6,!1)&&b.setSkipRefererCheck(a)};g.setRotate=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,26),Xt(b.signatureFlagProto_,26))&&c.setRotate(a);return this};g.setRequestAvif=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,103,!1)&&b.setRequestAvif(a)};g.setRequestVideoFast=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,100)&&b.setRequestVideoFast(a)};
g.setRequestGif=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,59)&&b.setRequestGif(a)};g.setRequestH264=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,49,!1)&&b.setRequestH264(a);return this};g.setRequestJpeg=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,57)&&b.setRequestJpeg(a);return this};g.setRollDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,vq(c,78),vq(b.signatureFlagProto_,78))&&c.setRollDegrees(a)};
g.setRequestPng=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,58)&&b.setRequestPng(a);return this};g.setRequestWebp=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,35,!1)&&b.setRequestWebp(a);return this};g.setRequestAnimatedWebp=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,64,!1)&&b.setRequestAnimatedWebp(a)};g.setRequestWebpUnlessMaybeTransparent=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Xi(b,41,!1)&&b.setRequestWebpUnlessMaybeTransparent(a)};
g.setStretch=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,33)&&b.setStretch(a);return this};g.setSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,c.getSize(),b.signatureFlagProto_.getSize())&&c.setSize(a);return this};g.setSubstitutionColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,89),Xt(b.signatureFlagProto_,89))&&c.setSubstitutionColor(a)};
g.setStripGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,82)&&b.setStripGoogleData(a)};g.setStripMetadata=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,93)&&b.setStripMetadata(a)};g.setToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;eM(a,c.getToken(),b.signatureFlagProto_.getToken())&&c.setToken(a);return this};g.setUnfiltered=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,18)&&b.setUnfiltered(a)};
g.setUnfilteredWithTransforms=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,45)&&b.setUnfilteredWithTransforms(a)};g.setQualityBucket=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,62),Xt(b.signatureFlagProto_,62))&&c.setQualityBucket(a);return this};g.setVideoBegin=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Yt(c,68),Yt(b.signatureFlagProto_,68))&&c.setVideoBegin(a)};
g.setVideoFormatFilters=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Fj(b,102)&&b.setVideoFormatFilters(a)};g.setVideoLength=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Yt(c,69),Yt(b.signatureFlagProto_,69))&&c.setVideoLength(a)};g.setVideoManifest=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=es(b,98)&&b.setVideoManifest(a)};
g.setWidth=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,c.getWidth(),b.signatureFlagProto_.getWidth())&&c.setWidth(a);return this};g.setTileX=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,9),Xt(b.signatureFlagProto_,9))&&c.setTileX(a)};g.setTileY=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,10),Xt(b.signatureFlagProto_,10))&&c.setTileY(a)};
g.setYawDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,vq(c,77),vq(b.signatureFlagProto_,77))&&c.setYawDegrees(a)};g.setTileZoom=function(a){var b=this.parsedOptions_,c=b.valueProto_;eM(a,Xt(c,11),Xt(b.signatureFlagProto_,11))&&c.setTileZoom(a)};g.setOptions=function(a){W9b(this,a)};
g.build=function(){this.components_.length=0;var a=this.parsedOptions_,b=a.valueProto_;a=a.signatureFlagProto_;fM(this,"s",b.getSize(),a.getSize());fM(this,"w",b.getWidth(),a.getWidth());gM(this,"c",Xi(b,2,!1),Xi(a,2,!1));gM(this,"d",Xi(b,3,!1),Xi(a,3,!1));fM(this,"h",b.getHeight(),a.getHeight());gM(this,"s",es(b,33),es(a,33));gM(this,"h",Xi(b,4,!1),Xi(a,4,!1));gM(this,"p",Xi(b,19,!1),Xi(a,19,!1));gM(this,"pp",Xi(b,52,!1),Xi(a,52,!1));gM(this,"pf",Xi(b,67,!1),Xi(a,67,!1));gM(this,"n",Xi(b,20,!1),
Xi(a,20,!1));fM(this,"r",Xt(b,26),Xt(a,26));gM(this,"r",Xi(b,6,!1),Xi(a,6,!1));gM(this,"o",b.getOverlay(),a.getOverlay());var c=Zt(b,7);hM(this,"o",c,Zt(a,7));c=Zt(b,29);hM(this,"j",c,Zt(a,29));fM(this,"x",Xt(b,9),Xt(a,9));fM(this,"y",Xt(b,10),Xt(a,10));fM(this,"z",Xt(b,11),Xt(a,11));gM(this,"g",Xi(b,14,!1),Xi(a,14,!1));fM(this,"e",Xt(b,15),Xt(a,15));hM(this,"f",Fj(b,16),Fj(a,16));gM(this,"k",es(b,17),es(a,17));gM(this,"u",es(b,18),!0);gM(this,"ut",es(b,45),!0);gM(this,"i",es(b,22),!0);gM(this,"a",
es(b,21),es(a,21));gM(this,"b",Xi(b,23,!1),Xi(a,23,!1));fM(this,"b",Xt(b,38),Xt(a,38));fM(this,"c",Xt(b,39),Xt(a,39),16,8);hM(this,"q",Fj(b,28),Fj(a,28));gM(this,"fh",es(b,30),es(a,30));gM(this,"fv",es(b,31),es(a,31));gM(this,"fg",Xi(b,34,!1),Xi(a,34,!1));gM(this,"ci",es(b,32),es(a,32));hM(this,"t",b.getToken(),a.getToken());hM(this,"nt0",Fj(b,36),Fj(a,36));gM(this,"rw",Xi(b,35,!1),Xi(a,35,!1));gM(this,"rwu",Xi(b,41,!1),Xi(a,41,!1));gM(this,"rwa",Xi(b,64,!1),Xi(a,64,!1));gM(this,"nw",Xi(b,48,!1),
Xi(a,48,!1));gM(this,"rh",Xi(b,49,!1),Xi(a,49,!1));gM(this,"no",Xi(b,37,!1),Xi(a,37,!1));gM(this,"ns",es(b,40),es(a,40));fM(this,"k",Xt(b,42),Xt(a,42));fM(this,"p",Xt(b,43),Xt(a,43));fM(this,"l",Xt(b,44),Xt(a,44));fM(this,"v",Xt(b,62),Xt(a,62));gM(this,"nu",es(b,46),es(a,46));gM(this,"ft",es(b,50),es(a,50));gM(this,"cc",es(b,51),es(a,51));gM(this,"nd",es(b,53),es(a,53));gM(this,"ip",es(b,54),es(a,54));gM(this,"nc",es(b,55),es(a,55));fM(this,"a",Xt(b,56),Xt(a,56));gM(this,"rj",es(b,57),es(a,57));gM(this,
"rp",es(b,58),es(a,58));gM(this,"rg",es(b,59),es(a,59));gM(this,"pd",es(b,60),es(a,60));gM(this,"pa",es(b,61),es(a,61));fM(this,"m",Xt(b,63),Xt(a,63));fM(this,"vb",Yt(b,68),Yt(a,68));fM(this,"vl",Yt(b,69),Yt(a,69));gM(this,"lf",es(b,65),es(a,65));gM(this,"mv",es(b,66),es(a,66));gM(this,"id",es(b,70),es(a,70));fM(this,"ic",Xt(b,71),!0);gM(this,"pg",Xi(b,72,!1),Xi(a,72,!1));gM(this,"mo",es(b,73),es(a,73));gM(this,"al",es(b,74),es(a,74));fM(this,"iv",b.getImageVersion(),a.getImageVersion());fM(this,
"pi",vq(b,76),vq(a,76));fM(this,"ya",vq(b,77),vq(a,77));fM(this,"ro",vq(b,78),vq(a,78));fM(this,"fo",vq(b,79),vq(a,79));gM(this,"df",es(b,80),es(a,80));hM(this,"mm",Fj(b,81),Fj(a,81));gM(this,"sg",es(b,82),es(a,82));gM(this,"gd",es(b,83),es(a,83));gM(this,"fm",es(b,84),es(a,84));fM(this,"ba",Xt(b,85),Xt(a,85));fM(this,"br",Xt(b,86),Xt(a,86));fM(this,"bc",b.getBackgroundColor(),a.getBackgroundColor(),16,8);fM(this,"pc",Xt(b,88),Xt(a,88),16,8);fM(this,"sc",Xt(b,89),Xt(a,89),16,8);gM(this,"dv",es(b,
90),es(a,90));gM(this,"md",es(b,91),es(a,91));fM(this,"cp",Xt(b,92),Xt(a,92));gM(this,"sm",es(b,93),es(a,93));fM(this,"cv",Xt(b,94),Xt(a,94));gM(this,"ng",es(b,95),es(a,95));gM(this,"il",es(b,96),es(a,96));gM(this,"lo",es(b,97),es(a,97));gM(this,"vm",es(b,98),es(a,98));hM(this,"dc",Fj(b,99),Fj(a,99));gM(this,"rf",es(b,100),es(a,100));hM(this,"vf",Fj(b,102),Fj(a,102));gM(this,"ra",Xi(b,103,!1),Xi(a,103,!1));gM(this,"ckm",es(b,104),es(a,104));gM(this,"gm",es(b,105),es(a,105));gM(this,"ngm",es(b,106),
es(a,106));fM(this,"em",Xt(b,107),Xt(a,107));gM(this,"cr",es(b,108),es(a,108));return this.components_.join("-")};
var fM=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 V9b;e.append(16==h?"0x":"");h=e.append;void 0==f?f="":(f-=c.length,f=0>=f?"":GOb("0",f));h.call(e,f);e.append(c);Y9b(a,b,e.toString(),!!d)}},gM=function(a,b,c,d){c&&Y9b(a,b,"",!!d)},hM=function(a,b,c,d){c&&Y9b(a,b,c,!!d)},Y9b=function(a,b,c,d){d&&(b=b.charAt(0).toUpperCase()+b.substring(1));a.components_.push(b+c)};var iM=function(a){dM.call(this,a)};Et(iM,dM);g=iM.prototype;g.setCrop=function(a){a&&jM(this);return iM.superClass_.setCrop.call(this,a)};g.setHeight=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return iM.superClass_.setHeight.call(this,a)};g.setStretch=function(a){a&&jM(this);return iM.superClass_.setStretch.call(this,a)};g.setQualityLevel=function(a){return iM.superClass_.setQualityLevel.call(this,a)};
g.setImageFilter=function(a){a&&(a=a.replace(";",":"));return iM.superClass_.setImageFilter.call(this,a)};g.setImageCrop=function(a){a&&jM(this);return iM.superClass_.setImageCrop.call(this,a)};g.setCircleCrop=function(a){a&&jM(this);return iM.superClass_.setCircleCrop.call(this,a)};g.setSize=function(a){za(a)&&(a=Math.max(a.width,a.height));a=null==a||0>a?void 0:a;null!=a&&(this.setWidth(),this.setHeight());return iM.superClass_.setSize.call(this,a)};
g.setSmartCrop=function(a){a&&jM(this);return iM.superClass_.setSmartCrop.call(this,a)};g.setSmartCropNoClip=function(a){a&&jM(this);return iM.superClass_.setSmartCropNoClip.call(this,a)};g.setSmartCropUseFace=function(a){a&&jM(this);return iM.superClass_.setSmartCropUseFace.call(this,a)};g.setCenterCrop=function(a){a&&jM(this);return iM.superClass_.setCenterCrop.call(this,a)};g.setPad=function(a){a&&jM(this);return iM.superClass_.setPad.call(this,a)};
g.setWidth=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return iM.superClass_.setWidth.call(this,a)};var jM=function(a){a.setCenterCrop();a.setCircleCrop();a.setCrop();a.setImageCrop();a.setPad();a.setSmartCrop();a.setSmartCropNoClip();a.setSmartCropUseFace()};
iM.prototype.build=function(){var a=this.getParsedOptions().valueProto_;es(a,18)||es(a,45)?a.getSize()||this.setSize(0):(a=this.getParsedOptions().valueProto_,a.getSize()||a.getWidth()||a.getHeight()||(this.setSize(),this.setHeight(),this.setWidth(),jM(this)));return iM.superClass_.build.call(this)};var Z9b=/^[^\/]*\/\//,kM=function(a,b){b=void 0===b?!1:b;this.original_=a;this.originalPrefix_="";(a=this.original_.match(Z9b))&&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_=xD(a,!0);this.isFreeformUrl_=b;this.valid_=!0;this.obfuscated_=!1},$9b=function(a,b){a.pathPrefix_=a.pathPrefix_?a.pathPrefix_+("/"+b):b},lM=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]&&($9b(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)$9b(a,
a.components_[0]);else if("image"==a.components_[0])$9b(a,a.components_[0]);else if(7==b||3==b)return a.valid_=!1,a.components_;if(3>=b){a.obfuscated_=!0;3==b&&($9b(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_};kM.prototype.isValid=function(){lM(this);return this.valid_};var a$b=function(a){lM(a);return a.obfuscated_},b$b=function(a){lM(a);return a.isFreeformUrl_};
kM.prototype.getDomain=function(){var a=this.uri_.getPort();return this.uri_.getDomain()+(a?":"+a:"")};kM.prototype.getQuery=function(){return this.uri_.queryData_.toString()};var mM=function(a){lM(a);void 0==a.pathPrefix_&&(a.pathPrefix_=null);return a.pathPrefix_};kM.prototype.hasOptions=function(){switch(lM(this).length){case 7:return!0;case 6:return null==mM(this);case 5:return!1;case 3:return!0;case 2:return null==mM(this);case 1:return!1;default:return!1}};
var nM=function(a,b){if(b$b(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=lM(a)[b]}else if(a$b(a))a:{var c=null!=mM(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=lM(a)[b]}else a:{c=null!=mM(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=lM(a)[b]}return a};g=kM.prototype;g.getObfuscatedGaiaId=function(){void 0==this.obfuscatedGaiaId_&&(this.obfuscatedGaiaId_=nM(this,0));return this.obfuscatedGaiaId_};g.getPhotoId=function(){void 0==this.photoId_&&(this.photoId_=nM(this,1));return this.photoId_};g.getImageVersion=function(){void 0==this.imageVersion_&&(this.imageVersion_=nM(this,2));return this.imageVersion_};g.getOptions=function(){void 0==this.options_&&(this.options_=nM(this,4));return this.options_};
g.getFilename=function(){void 0==this.filename_&&(this.filename_=nM(this,5));return this.filename_};var c$b=function(){};c$b.prototype.parse=function(a,b){return new d$b(a,void 0===b?!1:b)};var d$b=function(a,b){kM.call(this,a,void 0===b?!1:b)};X(d$b,kM);d$b.prototype.getParsedOptions=function(){if(void 0==this.parsedOptions_){var a=this.getOptions();a||(a="");this.parsedOptions_=(new R9b).parse(a)}return this.parsedOptions_};var oM=function(a,b){b=void 0===b?!1:b;this.parsedImageUrl_=null;a instanceof d$b||(void 0==e$b&&(e$b=new c$b),a=e$b.parse(a.toString(),b));this.parsedImageUrl_=a;a=this.parsedImageUrl_.getParsedOptions();dM.call(this,a);this.protocolPrefix_=this.parsedImageUrl_.originalPrefix_;this.domain_=this.parsedImageUrl_.getDomain();this.query_=this.parsedImageUrl_.getQuery()},e$b;Et(oM,iM);oM.prototype.isValid=function(){return this.parsedImageUrl_.isValid()};
oM.prototype.build=function(){if(!this.parsedImageUrl_.isValid())return this.parsedImageUrl_.original_;var a=oM.superClass_.build.call(this),b=[];null!=mM(this.parsedImageUrl_)&&b.push(mM(this.parsedImageUrl_));var c=b$b(this.parsedImageUrl_);if(a$b(this.parsedImageUrl_)){var d=this.parsedImageUrl_;void 0==d.obfuscatedData_&&(d.obfuscatedData_=nM(d,6));b.push(d.obfuscatedData_+(a?"="+a:""))}else if(c){d=b.push;var e=this.parsedImageUrl_;void 0===e.freeformUrlPath_&&(e.freeformUrlPath_=nM(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_=nM(e,3)),d.call(b,e.signature_),a&&b.push(a),b.push(this.parsedImageUrl_.getFilename());a=xD(this.protocolPrefix_+this.domain_+"/"+(c?b.join("="):b.join("/"))+(this.query_?"?"+this.query_:"")).toString();a.startsWith("%3a//")&&(a=a.replace("%3a//","://"));
return a};var f$b=/\/\/lh[3-6]\./,g$b=function(a,b,c,d){if(!a||!J9b(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(f$b,"//lh3.");return(new oM(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 h$b=[[["onedev-hovercard-action"]],[["","onedev-additional-content",""]]],pM=function(a,b){var c=this;this.peopleService=a;this.waldoService=b;this.enableWaldo=!1;this.providedEmail$=new W.ReplaySubject(1);this.person$=this.providedEmail$.pipe(df(function(d){return e9b(c.peopleService,d)}),B(function(d){if(d){var e=Object,f=e.assign;if(d.imageUrl){var h=d.imageUrl;if(J9b(h)){var k=new oM(h);k.setSize(48);h=k.build()||h}}else h=d.imageUrl;d=f.call(e,{},d,{imageUrl:h})}return d}),af(1));this.outOfOfficeDescription$=
new W.ReplaySubject;this.init=new W.ReplaySubject(1);this.destroyed$=new W.ReplaySubject(1)};pM.prototype.ngOnInit=function(){var a=this;this.person$.pipe(Ue(),ef(this.destroyed$)).subscribe(function(){a.init.next()});this.enableWaldo&&i$b(this)};var i$b=function(a){a.waldoService&&a.person$.pipe(df(function(b){return b?C9b(a.waldoService,b.email):(0,W.of)("")}),ef(a.destroyed$)).subscribe(function(b){a.outOfOfficeDescription$.next(b)})};
Vg.Object.defineProperties(pM.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.emailInternal},set:function(a){this.emailInternal=a;this.providedEmail$.next(a)}}});pM.\u0275fac=function(a){return new (a||pM)(A(rL),A(YL,8))};
pM.\u0275cmp=Lc({type:pM,selectors:[["onedev-person-hovercard"]],inputs:{email:"email",enableWaldo:"enableWaldo"},outputs:{init:"init"},standalone:!0,features:[dg],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&&(Lf(h$b),C(0,hGa,4,4,"onedev-person-hovercard-body",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.person$))},dependencies:[uw,dw,mw,
tL,kL,$L],encapsulation:2,changeDetection:0});var j$b=[[["onedev-hovercard-action"],["",8,"actions"]]],qM=function(){};qM.prototype.ngOnInit=function(){};qM.\u0275fac=function(a){return new (a||qM)};
qM.\u0275cmp=Lc({type:qM,selectors:[["b-person-card"]],inputs:{email:"email"},ngContentSelectors:["onedev-hovercard-action, .actions"],decls:1,vars:0,consts:[[3,"email","enableWaldo","onedevIsHovercardReady",4,"onedevHovercardLazyBody"],[3,"email","enableWaldo","onedevIsHovercardReady"],["cardBody",""]],template:function(a){a&1&&(Lf(j$b),C(0,iGa,3,3,"onedev-person-hovercard",0))},dependencies:[pM,MF,NF],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 rM=function(){this.isNonObfuscatedEmail=Bn};rM.\u0275fac=function(a){return new (a||rM)};
rM.\u0275cmp=Lc({type:rM,selectors:[["b-person-hovercard"]],inputs:{email:"email"},ngContentSelectors:["*"],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["content",""],["role","button","tabindex","0",1,"keep-focus-ring",3,"onedevHovercardTrigger","onedevHovercardActive"],[4,"ngTemplateOutlet"],["card",""],[3,"email"]],template:function(a,b){a&1&&(Lf(),C(0,kGa,6,4,"ng-container",0)(1,lGa,1,0,"ng-template",null,1,jg));if(a&2){var c=Q(2);D("ngIf",!!b.email&&b.isNonObfuscatedEmail(b.email))("ngIfElse",
c)}},dependencies:[dw,lw,LF,QF,qM],encapsulation:2,changeDetection:0});var sM=function(){this.onAction=new zv;this.disabled=!1};sM.prototype.handleClick=function(){this.onAction.emit()};sM.\u0275fac=function(a){return new (a||sM)};
sM.\u0275cmp=Lc({type:sM,selectors:[["onedev-hovercard-action"]],inputs:{disabled:"disabled"},outputs:{onAction:"onAction"},ngContentSelectors:["*"],decls:2,vars:1,consts:[["mat-button","","color","primary",1,"onedev-hovercard-action",3,"disabled","click"]],template:function(a,b){a&1&&(Lf(),E(0,"button",0),M("click",function(){return b.handleClick()}),Mf(1),G());a&2&&D("disabled",b.disabled)},dependencies:[nA],styles:[".onedev-hovercard-action[_ngcontent-%COMP%]{--onedev-card-action-background:var(--surface-default,#fff);--onedev-card-action-border:var(--hairline,#dadce0)}button.onedev-hovercard-action[_ngcontent-%COMP%]{background-color:var(--onedev-card-action-background);border-radius:0;border:none;border-top:1px solid var(--onedev-card-action-border);font-size:14px;height:40px;-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 tM=function(a,b,c){Y.call(this);this.domSafe=a;this.cdr=b;this.actionService=c;this.currentAssignee="";this.currentCc=[];this.ccActionDisabled=this.assigneeActionDisabled=!1};X(tM,Y);tM.\u0275dir=Y.\u0275dir;
tM.prototype.ngOnInit=function(){var a=this;if(this.actionService){var b;null==(b=this.actionService)||b.assignee$.pipe(ef(this.destroyed$)).subscribe(function(d){a.currentAssignee=d;a.cdr.detectChanges()});var c;null==(c=this.actionService)||c.cc$.pipe(ef(this.destroyed$)).subscribe(function(d){a.currentCc=d;a.cdr.detectChanges()})}};
var mGa=function(a){if(a.actionService&&!a.assigneeActionDisabled){a.assigneeActionDisabled=!0;var b=a.email===a.currentAssignee?"remove_user":"set_user";$m(Sp.PERSON_CARD,"assigneeAction",b);O8b(a.actionService,{email:a.email,action:b}).finally(function(){a.assigneeActionDisabled=!1})}},nGa=function(a){if(a.actionService&&!a.ccActionDisabled){a.ccActionDisabled=!0;var b=a.currentCc.includes(a.email)?"remove_user":"set_user";$m(Sp.PERSON_CARD,"ccAction",b);P8b(a.actionService,{email:a.email,action:b}).finally(function(){a.ccActionDisabled=
!1})}};tM.\u0275fac=function(a){return new (a||tM)(A(IE),A(EF,2),A(eL,8))};
tM.\u0275cmp=Lc({type:tM,selectors:[["b-issue-person-card"]],inputs:{email:"email"},features:[bg([EF]),nf],decls:6,vars:4,consts:[[3,"email"],["class","actions",4,"ngIf"],[3,"click"],[1,"actions"],[3,"disabled","onAction"]],template:function(a,b){a&1&&(E(0,"b-person-card",0),C(1,oGa,9,8,"ng-container",1),T(2,"async"),E(3,"onedev-hovercard-action",2),M("click",function(c){$m(Sp.PERSON_CARD,"showAssignedIssuesAction");var d=fn({q:"assignee:"+b.email+" status:open"});c.ctrlKey||c.metaKey?b.domSafe.openInNewTab(d):
JE(b.domSafe,d)}),E(4,"span"),R(5,"Show assigned issues"),G()()());a&2&&(D("email",b.email),y(),D("ngIf",b.actionService&&V(2,2,b.actionService.editAccess$)))},dependencies:[dw,sM,qM,mw],encapsulation:2,changeDetection:0});var uM=function(){this.isMentioningMe=!1};uM.prototype.ngOnInit=function(){this.username=this.email.replace(/@google.com$/,"")};uM.\u0275fac=function(a){return new (a||uM)};
uM.\u0275cmp=Lc({type:uM,selectors:[["b-mention-chip-widget"]],inputs:{email:"email",isMentioningMe:"isMentioningMe"},decls:6,vars:5,consts:[[1,"mention",3,"onedevHovercardTrigger"],["el",""],["card",""],[3,"email"]],template:function(a,b){a&1&&(E(0,"span",0,1),R(2),G(),E(3,"onedev-hovercard",null,2),I(5,"b-issue-person-card",3),G());if(a&2){var c=Q(4);yf("me",b.isMentioningMe);D("onedevHovercardTrigger",c);y(2);S("@",b.username,"");y(3);D("email",b.email)}},dependencies:[tM,LF,QF],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 pGa=RegExp("^https?:\\/\\/((?:screenshot.googleplex.com|screenshot.corp.google.com|screen.corp.google.com|screenshot|screen)\\/([\\w-]+)(?:\\.png)?$)"),sGa=RegExp("^(https?:\\/\\/)(www\\.)?(go|goto|goto\\.google\\.com)\\/([A-Za-z0-9-]+$)");var vM=function(a){this.internalArray_=m(a,0,vM.messageId)};X(vM,n);vM.prototype.getUrl=function(){return Zi(this,1)};vM.prototype.setUrl=function(a){return Lh(this,1,a)};vM.prototype.hasUrl=function(){return Pi(this,1)};vM.messageId="b.ImageRedirectRequest";var wM=function(a){this.internalArray_=m(a,0,wM.messageId)};X(wM,n);wM.prototype.getUrl=function(){return Zi(this,1)};wM.prototype.setUrl=function(a){return Lh(this,1,a)};wM.prototype.hasUrl=function(){return Pi(this,1)};wM.messageId="b.ImageRedirectResponse";var xM=function(a){this.executor=a},k$b=function(a,b){var c=new vM;c.setUrl(b);return a.executor.post({url:"action/imageRedirect",body:c,responseConstructor:wM}).pipe(B(function(d){return d.getUrl()}))};xM.\u0275fac=function(a){return new (a||xM)(p(QD))};xM.\u0275prov=vc({token:xM,factory:xM.\u0275fac,providedIn:"root"});var yM=function(a){var b=this;this.imageRedirector=a;this.src$=new W.BehaviorSubject("");this.showImage$=new W.BehaviorSubject(!1);this.error$=new W.BehaviorSubject(!1);this.srcTruncated$=this.src$.pipe(B(function(c){var d=c;d=void 0===d?"":d;var e=void 0===e?48:e;c=[].concat(r(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,W.combineLatest)([this.src$,this.showImage$]).pipe(Ce(function(c){c=l(c);c.next();return c.next().value}),df(function(c){var d=l(c).next().value;return(c=uGa(d))?(0,W.of)(c):k$b(b.imageRedirector,d).pipe(Pe(function(){b.error$.next(!0);return d}))}))};yM.prototype.trigger=function(a){a.preventDefault();a.stopPropagation();this.showImage$.next(!0)};
Vg.Object.defineProperties(yM.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}}});yM.\u0275fac=function(a){return new (a||yM)(A(xM))};
yM.\u0275cmp=Lc({type:yM,selectors:[["b-secure-image-widget"]],inputs:{showByDefault:"showByDefault",src:"src",alt:"alt"},decls:6,vars:4,consts:[[4,"ngIf","ngIfElse"],["widget",""],["error",""],[3,"src"],["tabindex","0",1,"normal-link",3,"href","title","click","keydown.enter"],["svgIcon","image",1,"icon-s"],["svgIcon","broken-image",1,"icon-l",3,"matTooltip"]],template:function(a,b){a&1&&(C(0,yGa,3,4,"ng-container",0),T(1,"async"),C(2,zGa,8,9,"ng-template",null,1,jg)(4,AGa,2,3,"ng-template",null,
2,jg));if(a&2){var c=Q(5);D("ngIf",!1===V(1,2,b.error$))("ngIfElse",c)}},dependencies:[dw,hB,PC,KE,mw],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 l$b={HIDE:"HIDE",COLLAPSE:"COLLAPSE",SHOW:"SHOW"},zM=function(a,b){var c=this;this.activeSession=a;this.userPreferencesManager=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.DisplayMode=l$b;this.src$=new W.BehaviorSubject("");this.isMarkdownImage$=new W.BehaviorSubject(!1);this.displayMode$=(0,W.combineLatest)([this.src$,this.userPreferencesManager.showInlineImages$,this.isMarkdownImage$]).pipe(B(function(d){var e=l(d);d=e.next().value;var f=e.next().value;e=e.next().value;return d&&
tE(c.activeSession,"enableImageSummary")&&c.activeSession.isInternalSession()?!f&&e?"COLLAPSE":f?"SHOW":"HIDE":"HIDE"}),cf("HIDE"))};Vg.Object.defineProperties(zM.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}}});zM.\u0275fac=function(a){return new (a||zM)(A(nt),A(BE))};
zM.\u0275cmp=Lc({type:zM,selectors:[["b-snipit-image"]],inputs:{src:"src",isMarkdownImage:"isMarkdownImage",alt:"alt"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"src","alt","showByDefault",4,"ngSwitchCase"],["target","_blank",3,"href","rel"],[1,"thumbnail",3,"src","alt","showByDefault"],[3,"src","alt","showByDefault"]],template:function(a,b){a&1&&(C(0,DGa,5,5,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.src$))},dependencies:[dw,iw,jw,yM,mw],styles:["[_nghost-%COMP%]   b-secure-image-widget.thumbnail[_ngcontent-%COMP%]{display:inline-block;margin-top:8px;margin-bottom:8px;max-width:70%}[_nghost-%COMP%]   b-secure-image-widget.thumbnail[_ngcontent-%COMP%]     img{border:2px solid;border-color:#e8eaed;border-color:var(--c200);border-radius:8px;min-width:18px;min-height:18px;max-width:100%;max-height:350px}/*# sourceMappingURL=snipit_image.css.map */"],
changeDetection:0});var m$b=Symbol(),n$b=Symbol(),o$b=Symbol(),p$b=Symbol(),q$b=Symbol(),r$b=Symbol(),AM=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=[]},u$b=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=l(b.querySelectorAll("a"));for(e=d.next();!e.done;e=
d.next())if(e=e.value,(h=e.getAttribute("href"))&&qGa(h)&&e&&Wxa(e)&&h===e.textContent&&(f=e.nextSibling,s$b(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 k=h,q=c;h=k.dataset.bImgSrc;var t=k.dataset.bImgRedirectedSrc;
EGa(k);if(h){var w=k.dataset.bImgAlt;if(qGa(h))s$b(f,k,h,w,q,!0);else if(tE(f.flags.session,"enableMarkdownInlineImages"))k=f.createComponent(yM,k,q),q=k.instance,q.src=h,w&&(q.alt=w),f.secureImageRefs.push(k);else{var z=document.createElement("a");w?z.appendChild(document.createTextNode(w)):z.appendChild(document.createTextNode(h));k.appendChild(z);t$b(f,z,h,t||h,q)}}break;case "checkbox":f=a;w=h;k=c;h=null!=w.dataset.bCheckboxChecked;EGa(w);w=f.createComponent(XE,w,k);w.instance.checked=h;f.checkboxRefs.push(w);
break;case "url":f=a;w=c;k=h.dataset.bOriginalHref;q=h.dataset.bRedirectedHref;k&&q&&(h.removeAttribute("href"),t$b(f,h,k,q,w));break;case "broken-url":f=a;w=h;q=c;if(k=w.dataset.bOriginalHref){h=Array.from(w.childNodes);w=f.createComponent(TE,w,q);q=w.instance;q.originalHref=k;k=q.getNgContentParentEl();h=l(h);for(q=h.next();!q.done;q=h.next())k.appendChild(q.value);f.brokenLinkRefs.push(w)}break;case "mention":a.session.isInternalSession()&&(w=void 0,f=a,k=h,q=c,h="","@"===(null==(w=k.textContent)?
void 0:w[0])&&(h=k.textContent.slice(1)),EGa(k),w=f.createComponent(uM,k,q),k=w.instance,k.email=h,k.isMentioningMe=f.session.getUserEmail()===h,f.mentionChipRefs.push(w));break;case "issue-reference":t=void 0;f=a;var F=c;w=h.href;k=h.dataset.bIssueId;q=h.dataset.bCommentNumber;if(w&&k){z=Number(q);q=Array.from(h.childNodes);var J=document.createElement("span");null==(t=h.parentNode)||t.insertBefore(J,h);t=f.createComponent(SF,J,F);F=t.instance;F.href=w;F.issueId=k;F.commentNumber=z;w=F.el.nativeElement;
k=l(q);for(q=k.next();!q.done;q=k.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");b=b.querySelectorAll("table");for(a=0;a<b.length;a++)c=b[a],c.parentNode&&(d=document.createElement("div"),d.classList.add("table-overflow"),c.parentNode.insertBefore(d,c),d.appendChild(c))};AM.prototype.ngOnDestroy=function(){v$b(this)};
var s$b=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(zM,h,e);e=b.instance;e.src=c;e.alt=d;e.isMarkdownImage=f;a.snipItImageRefs.push(b)},t$b=function(a,b,c,d,e){var f=Array.from(b.childNodes);b=a.createComponent(GF,b,e);e=b.instance;e.originalHref=c;e.href=d;c=e.getNgContentParentEl();f=l(f);for(d=f.next();!d.done;d=f.next())c.appendChild(d.value);a.externalHyperlinkRefs.push(b)};
AM.prototype.createComponent=function(a,b,c){a=Ama(a,{environmentInjector:this.appRef.injector,elementInjector:c.injector});b.appendChild(a.location.nativeElement);SQb(this.appRef,a.hostView);this.allComponentRefs.push(a);return a};
var v$b=function(a){for(var b=l(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=[]};AM.prototype[m$b]=function(){return this.secureImageRefs.slice()};AM.prototype[n$b]=function(){return this.snipItImageRefs.slice()};AM.prototype[o$b]=function(){return this.checkboxRefs.slice()};AM.prototype[p$b]=function(){return this.externalHyperlinkRefs.slice()};
AM.prototype[q$b]=function(){return this.brokenLinkRefs.slice()};AM.prototype[r$b]=function(){return this.issueReferenceRefs.slice()};AM.\u0275fac=function(a){return new (a||AM)(p(aw),p(HF),p(nt))};AM.\u0275prov=vc({token:AM,factory:AM.\u0275fac});var w$b=["child"],x$b=Symbol(),BM=function(a,b,c){this.dynamicComponents=a;this.codefont=b;this.viewContainerRef=c};BM.prototype.ngOnInit=function(){};BM.prototype.ngOnChanges=function(){v$b(this.dynamicComponents);var a=this.child.nativeElement;Vxa(a,this.content.content);u$b(this.dynamicComponents,a,this.viewContainerRef)};BM.prototype.ngOnDestroy=function(){v$b(this.dynamicComponents)};BM.prototype[x$b]=function(){return this.dynamicComponents};
BM.\u0275fac=function(a){return new (a||BM)(A(AM,2),A(EE),A(Sf))};
BM.\u0275cmp=Lc({type:BM,selectors:[["b-markdown-format-presenter"]],viewQuery:function(a,b){a&1&&Uf(w$b,7);if(a&2){var c;Yf(c=Zf())&&(b.child=c.first)}},inputs:{content:"content"},features:[bg([{provide:AM,useClass:AM}]),ed],decls:3,vars:4,consts:[[1,"type-m","markdown-display"],["child",""]],template:function(a,b){a&1&&(E(0,"div",0,1),T(2,"async"),G());a&2&&yf("codefont",V(2,2,b.codefont.codefont$))},dependencies:[mw],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:#fff59d;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 y$b=["child"],z$b=function(){return"[_nghost-%COMP%]     a:visited{color:#7627bb;color:var(--link-visited)}"},CM=function(a){this.codefont=a};CM.prototype.ngOnInit=function(){};CM.\u0275fac=function(a){return new (a||CM)(A(EE))};
CM.\u0275cmp=Lc({type:CM,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&&(E(0,"div",0),T(1,"async"),C(2,FGa,2,1,"ng-container",1),G());a&2&&(yf("codefont",V(1,3,b.codefont.codefont$)),y(2),D("ngForOf",b.content.plainSection))},dependencies:function(){return[hw,DM,mw]},styles:[z$b()],changeDetection:0});var DM=function(){};DM.prototype.ngOnInit=function(){};
DM.\u0275fac=function(a){return new (a||DM)};DM.\u0275cmp=Lc({type:DM,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&&(K(0),C(1,GGa,1,1,"b-plain-format-quoted-section",0)(2,HGa,1,1,"b-plain-format-unquoted-section",0),L());a&2&&(y(),D("ngIf",b.section.isQuoted),y(),D("ngIf",!b.section.isQuoted))},dependencies:function(){return[dw,EM,FM]},encapsulation:2,changeDetection:0});
var EM=function(){this.showQuote=!1;A$b++;this.childId="plainFormatQuotedSection"+A$b};EM.prototype.ngOnInit=function(){};EM.prototype.ngOnChanges=function(){IGa(this)};var IGa=function(a){var b=a.child.nativeElement;if(a.showQuote)Vxa(b,a.section.content);else for(;b.lastChild;)b.lastChild.remove()};EM.\u0275fac=function(a){return new (a||EM)};
EM.\u0275cmp=Lc({type:EM,selectors:[["b-plain-format-quoted-section"]],viewQuery:function(a,b){a&1&&Uf(y$b,7);if(a&2){var c;Yf(c=Zf())&&(b.child=c.first)}},inputs:{section:"section"},features:[ed],decls:5,vars:3,consts:[["class","showhide muted","tabindex","0","role","button","aria-expanded","false",3,"click",4,"ngIf"],["class","showhide muted","tabindex","0","role","button","aria-expanded","true",3,"click",4,"ngIf"],[1,"child",3,"id"],["child",""],["tabindex","0","role","button","aria-expanded",
"false",1,"showhide","muted",3,"click"],["tabindex","0","role","button","aria-expanded","true",1,"showhide","muted",3,"click"]],template:function(a,b){a&1&&(E(0,"div"),C(1,JGa,2,1,"a",0)(2,KGa,2,1,"a",1),I(3,"div",2,3),G());a&2&&(y(),D("ngIf",!b.showQuote),y(),D("ngIf",b.showQuote),y(),D("id",b.childId))},dependencies:[dw],styles:[z$b()],changeDetection:0});var A$b=0,FM=function(a,b){this.dynamicComponents=a;this.viewContainerRef=b};FM.prototype.ngOnInit=function(){};
FM.prototype.ngOnChanges=function(){v$b(this.dynamicComponents);var a=this.child.nativeElement;Vxa(a,this.section.content);u$b(this.dynamicComponents,a,this.viewContainerRef)};FM.\u0275fac=function(a){return new (a||FM)(A(AM,2),A(Sf))};
FM.\u0275cmp=Lc({type:FM,selectors:[["b-plain-format-unquoted-section"]],viewQuery:function(a,b){a&1&&Uf(y$b,7);if(a&2){var c;Yf(c=Zf())&&(b.child=c.first)}},inputs:{section:"section"},features:[bg([{provide:AM,useClass:AM}]),ed],decls:2,vars:0,consts:[[1,"child"],["child",""]],template:function(a){a&1&&I(0,"div",0,1)},encapsulation:2,changeDetection:0});var GM=function(){};GM.prototype.ngOnInit=function(){};GM.\u0275fac=function(a){return new (a||GM)};
GM.\u0275cmp=Lc({type:GM,selectors:[["b-formatted-comment-presenter"]],inputs:{formattedComment:"formattedComment"},decls:3,vars:3,consts:[[4,"ngIf"],[3,"content"]],template:function(a,b){a&1&&C(0,LGa,2,1,"ng-container",0)(1,MGa,2,1,"ng-container",0)(2,NGa,2,1,"ng-container",0);a&2&&(D("ngIf",b.formattedComment.literalFormat),y(),D("ngIf",b.formattedComment.markdownFormat),y(),D("ngIf",b.formattedComment.plainFormat))},dependencies:[dw,FE,BM,CM],encapsulation:2,changeDetection:0});var HM=function(a){Y.call(this);var b=this;this.formatter=a;this.issueId="";this.audience="EXTERNAL_AUDIENCE";this.formattingMode="LITERAL";this.params$=new W.ReplaySubject(1);this.formattedResult$=this.params$.pipe(Re(200),df(function(c){return b.formatter.format(c).pipe(B$b,Pe(function(){var d={literalFormat:{content:gh(c.comment)}};return(0,W.of)({formattedComment:d,isFallback:!0})}))}))};X(HM,Y);HM.\u0275dir=Y.\u0275dir;
HM.prototype.ngOnInit=function(){var a=this;this.comment$&&this.subscriptions.add(this.comment$.subscribe(function(b){a.params$.next({comment:b,issueId:a.issueId,audience:null!=a.audience?a.audience:"EXTERNAL_AUDIENCE",formattingMode:a.formattingMode,idPrefix:a.getIdPrefix()})}))};HM.prototype.ngOnChanges=function(){null!=this.comment&&this.params$.next({comment:this.comment,issueId:this.issueId,audience:null!=this.audience?this.audience:"EXTERNAL_AUDIENCE",formattingMode:this.formattingMode,idPrefix:this.getIdPrefix()})};
HM.prototype.getIdPrefix=function(){return this.idPrefix||"b"+this.issueId+"-draft"};HM.\u0275fac=function(a){return new (a||HM)(A(zE))};
HM.\u0275cmp=Lc({type:HM,selectors:[["b-live-preview"]],inputs:{comment:"comment",comment$:"comment$",issueId:"issueId",audience:"audience",formattingMode:"formattingMode",idPrefix:"idPrefix"},features:[nf,ed],decls:2,vars:3,consts:[[4,"ngIf"],[1,"md-preview"],[3,"formattedComment"]],template:function(a,b){a&1&&(C(0,OGa,3,5,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.formattedResult$))},dependencies:[dw,GM,mw],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 B$b=B(function(a){return{formattedComment:a,isFallback:!1}});var IM=function(a,b,c,d){Y.call(this);var e=this;this.currentTrackerId=a;this.activeSession=b;this.trackerFridge=c;this.errorHandler=d;this.handleTrackerError=function(f){403!==f.status&&e.errorHandler.errorHandler(null,f)};this.trackerId$=this.currentTrackerId.trackerId$;this.tracker$=this.trackerId$.pipe(df(function(f){return""===f?(0,W.of)(void 0):e.trackerFridge.watch(f).pipe(cf(void 0))}));this.inTracker$=this.tracker$.pipe(B(function(f){return!!f}));this.inTracker=!1;this.associatedTrackers$=
this.tracker$.pipe(B(function(f){var h;return null!=(h=null==f?void 0:f.associatedTrackerIds)?h:[]}),df(this.trackerFridge.watchSet));this.availableTrackers$=this.associatedTrackers$.pipe(gf(this.tracker$),B(function(f){var h=l(f);f=h.next().value;return(h=h.next().value)?[h].concat(r(f)):[]}));this.trackerFridge.error$.pipe(ef(this.destroyed$)).subscribe(this.handleTrackerError);this.tracker$.pipe(ef(this.destroyed$)).subscribe(function(f){e.tracker=f});this.inTracker$.pipe(ef(this.destroyed$)).subscribe(function(f){e.inTracker=
f})};X(IM,Y);IM.\u0275dir=Y.\u0275dir;IM.prototype.getTrackerId=function(){return this.currentTrackerId.getTrackerId()};var C$b=function(a){a=a.getTrackerId();if(""!==a&&"0"!==a)return[a]};IM.prototype.setTrackerId=function(a){this.currentTrackerId.setTrackerId(a)};
var JM=function(a,b,c,d){c=void 0===c?a.tracker:c;d=void 0===d?!1:d;c?(d=void 0===d?!1:d,a=a.activeSession.isInternalSession()&&!d&&c.internalBaseUrl?c.internalBaseUrl+"/"+b:c.externalBaseUrl?c.externalBaseUrl+"/"+b:D$b(a,b,!0,c.trackerId,d)):a=D$b(a,b,!1,"",d);return a},D$b=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},Is=function(a,b){if(!b||!a.tracker)return b;var c,d=null!=(c=b.componentPathId)?c:[],e;c=
null!=(e=b.componentPathName)?e:[];a=Number(a.tracker.componentId);a=d.includes(a)?d.indexOf(a):d.length;return{componentPathId:d.slice(a),componentPathName:c.slice(a),fieldConfigsMap:b.fieldConfigsMap}};IM.\u0275fac=function(a){return new (a||IM)(p(vE),p(nt),p(ZJ),p(AG))};IM.\u0275prov=vc({token:IM,factory:IM.\u0275fac,providedIn:"root"});var E$b=/^\s*hotlistid:(\d+)\s*$/i,F$b=/(?:\s|^)componentid:(\d+)\s*/i,G$b=/^\s*savedsearchid:(\d+)\s*$/i,KM=function(a,b,c,d){Y.call(this);var e=this;this.$log=a;this.currentTracker=b;this.contextSensitiveRegistry=c;this.analytics=d;this.currentQuery="";this.currentTrackerScope=[];this.queryState$=new W.BehaviorSubject({query:"",cursorPosition:void 0,setViaInteraction:!1});this.currentTrackerIdList$=this.currentTracker.trackerId$.pipe(B(function(f){return f?[f]:[]}));this.selectedTrackerIds$=new W.Subject;
this.trackerScope$=(0,W.merge)(this.currentTrackerIdList$,this.selectedTrackerIds$);this.searchHandlerStack=[];this.searchTriggered$=new W.Subject;this.subscriptions.add(this.queryState$.pipe(ef(this.destroyed$)).subscribe(function(f){e.currentQuery=f.query;(f=e.currentQuery.match(F$b))?e.contextSensitiveRegistry.componentIdOverride$.next(Number(f[1])):e.contextSensitiveRegistry.componentIdOverride$.next(null);(f=e.currentQuery.match(E$b))?e.contextSensitiveRegistry.hotlistIdOverride$.next(Number(f[1])):
e.contextSensitiveRegistry.hotlistIdOverride$.next(null)}));this.subscriptions.add(this.trackerScope$.pipe(ef(this.destroyed$)).subscribe(function(f){e.currentTrackerScope=f}))};X(KM,Y);KM.\u0275dir=Y.\u0275dir;KM.prototype.clear=function(){LM(this,"")};var LM=function(a,b){a.queryState$.next({query:b,cursorPosition:void 0,setViaInteraction:!1})},MM=function(a){return"assignee:"+a+" status:open"},H$b=function(a,b){return a.currentQuery===MM("me")||a.currentQuery===MM(void 0===b?"":b)};
KM.prototype.getStarred=function(){return"star:true"};KM.prototype.isStarred=function(){return this.currentQuery===this.getStarred()};KM.prototype.getVoted=function(){return"vote:true"};
var bMa=function(a){return a.currentQuery===a.getVoted()},I$b=function(a){return"verifier:"+a+" status:open | status:fixed"},J$b=function(a){return(a=a.currentQuery.match(E$b))?Number(a[1]):0},K$b=function(a){return(a=a.currentQuery.match(G$b))?Number(a[1]):0},L$b=function(a){return(a=a.currentQuery.match(F$b))?Number(a[1]):0};KM.prototype.track=function(a,b,c){kp(this.analytics,"global-search",a,b,c)};var M$b=function(a,b){a.searchHandlerStack.push(b);return function(){ua(a.searchHandlerStack,b)}};
KM.\u0275fac=function(a){return new (a||KM)(p(DF),p(IM),p(FK),p(MI))};KM.\u0275prov=vc({token:KM,factory:KM.\u0275fac,providedIn:"root"});var SGa=[["year",31536E3],["month",2592E3],["week",604800],["day",86400],["hour",3600],["minute",60],["second",1]],TGa={year:"yr",month:"mo",week:"w",day:"d",hour:"h",minute:"m",second:"s"};var NM=function(a,b,c,d,e,f){var h=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistFridge=c;this.similarIssuesApi=d;this.appSearchState=e;this.palmApi=f;this.FORMATTING_MODE="MARKDOWN";this.HOVERCARD_CONFIG=Object.assign({},new OF,{position:[n4b]});this.enableAskAi=Wta()&&pi("enableGlobalSearchEnhancements");this.didAtLeastOneSearch=!1;this.debugFullSearchScope="";this.thinkers=[];this.questionBox=new Nw("");this.topicBox=new Nw("");this.scopeBox=new Nw("");this.doSearch$=new W.Subject;
this.question$=this.questionBox.valueChanges.pipe(B(function(){return N$b(h)}),Te(),Re(500),ff(kHa));this.topic$=this.topicBox.valueChanges.pipe(B(function(k){return null!=k?k:""}));this.similarIssues$=nm(this.doSearch$.pipe(ff(function(){console.log()}),gf(this.topic$.pipe(Ce(Boolean))),B(function(k){k=l(k);k.next();return{keyword:k.next().value,maxResults:100,scope:[h.scopeBox.value,h.appSearchState.queryState$.value.query].join(" ")}}),ff(function(k){h.debugFullSearchScope=null==k?void 0:k.scope}),
df(function(k){if(null==k)return(0,W.of)([]);h.thinkers[1]=!0;return qE(h.similarIssuesApi,k)}),ff(function(){h.thinkers[1]=!1}),B(function(k){var q=k.slice,t=window.sessionStorage.getItem("AI_ISSUE_LIMIT");return q.call(k,0,t?Number(t):7)}),af({refCount:!0,bufferSize:1})),[]);this.aggregatedData$=this.similarIssues$.pipe(ff(function(k){return void console.log("tap similarIssues$",k)}),ff(function(){h.thinkers[2]=!0}),df(function(k){if(0===k.length)return(0,W.of)([[],[],[]]);var q=k.map(function(t){return t.issueId});
k=An(k.flatMap(function(t){return t.snapshot[0].hotlistId}).filter(Bi));return(0,W.combineLatest)([h.issueFridge.watchSet(q),h.eventsForIssueFridge.watchSet(q),h.hotlistFridge.watchSet(k)])}),ff(function(){h.thinkers[2]=!1}),B(function(k){if(0!==k.flat().length){k=l(k);var q=k.next().value,t=k.next().value,w={};k.next().value.forEach(function(F){w[F.hotlistId]=F.name});var z={};t.forEach(function(F){z[F.id]=F.events.filter(function(J){return null==J?void 0:J.unlinkifiedComment})});return[q,z,w]}}),
ff(function(k){return void console.log("aggregatedData$",k)}),af({refCount:!0,bufferSize:1}));this.plainTextIssueResults$=nm(this.aggregatedData$.pipe(B(function(k){if(null==k)return[];k=l(k);var q=k.next().value,t=k.next().value,w=k.next().value;return q.map(function(z){return wHa(z,t,w)})})),[]);this.answer$=this.plainTextIssueResults$.pipe(df(function(k){var q=N$b(h);if(!q||0===k.length)return(0,W.of)("");h.thinkers[3]=!0;return O$b(h,'The following is a set of buganizer issues.\n\nThe answer to the question you will be asked may or may not be contained inside these issues.\n\nIf you do not see an answer to the question in the following issues, please answer: "Could not find an answer".\n\nIf you do see an answer to the question in these issues, please provide an answer with citations referencing which issue ids or pieces of text support your answer.\n\n(start of buganizer issues)\n\n---\n\n'+
k.join("\n")+"\n\n---\n\n(end of buganizer issues)\n\nPlease answer this next question based only on the information contained in these buganizer issues.\n\nPlease explain how you arrived at that answer. Also, include references to the bug IDs that were used to come up with the answer.\n\nQuestion: "+q+"\n\nAnswer: ")}),ff(function(){h.thinkers[3]=!1}),af({refCount:!0,bufferSize:1}));this.haveIssuesButWaitingOnData$=(0,W.combineLatest)([this.similarIssues$,this.plainTextIssueResults$]).pipe(B(function(k){var q=
l(k);k=q.next().value;q=q.next().value;k=k.length;if(0<k&&0===q.length)return k}));this.waitingAnswer$=(0,W.combineLatest)([this.similarIssues$,this.answer$]).pipe(B(function(k){var q=l(k);k=q.next().value;q=q.next().value;return 0<k.length&&!q}));this.onChangeQuestion=function(){return ke(function(k){return me(k,P$b(h),0)})};this.question$.subscribe(this.onChangeQuestion);this.questionBox.setValue(jHa());this.scopeBox.setValue("modified:180d")},N$b=function(a){a=a.questionBox.value;var b,c;a=null!=
(c=null==(b=a)?void 0:b.trim())?c:"";return 2>=a.length?"":a},P$b=function(a){var b,c;return ke(function(d){if(1==d.nextAddress){b=N$b(a);a.topicBox.setValue("");if(""===b.trim())return d.return();a.thinkers[0]=!0;return me(d,O$b(a,"You are a tech worker trying to answer a question for a team mate.\n\nIn a few words, what is the main topic or concept that the following question is asking about?\n\nQuestion: "+b+"\n\nAnswer: "),2)}c=d.yieldResult;a.thinkers[0]=!1;a.topicBox.setValue(c);qe(d)})},VGa=
function(a){return ke(function(b){if(1==b.nextAddress)return a.similarIssues$.next([]),me(b,P$b(a),2);hHa(a);qe(b)})},YGa=function(a){var b=om(a.plainTextIssueResults$);null!=b&&(a.plainTextIssueResults$.next([]),a.plainTextIssueResults$.next(b))},hHa=function(a){a.similarIssues$.next([]);a.doSearch$.next();a.didAtLeastOneSearch=!0},O$b=function(a,b){var c=void 0===c?.5:c;var d,e;return ke(function(f){if(1==f.nextAddress)return d={prompt:b,temperature:c},me(f,a.palmApi.generate(d),2);e=f.yieldResult;
return f.return(e.output)})};Vg.Object.defineProperties(NM.prototype,{showRawResults:{configurable:!0,enumerable:!0,set:function(a){window.sessionStorage.setItem("AI_HIDE_RESULTS",!0===!a?"1":"0")},get:function(){return"1"!==window.sessionStorage.getItem("AI_HIDE_RESULTS")}}});NM.\u0275fac=function(a){return new (a||NM)(A(UI),A($H),A(CI),A(pE),A(KM),A(UD))};
NM.\u0275cmp=Lc({type:NM,selectors:[["ask-ai"]],decls:11,vars:1,consts:[["class","border-bottom padded-s",4,"ngIf"],["explanationBubble","onedevHovercard"],[1,"explanation-bubble"],["href","http://go/issue-navigator-dd"],[1,"border-bottom","padded-s"],[3,"ngSubmit"],[1,"flex-kids-x","align-items-start","gap-s","flex-wrap"],[1,"col","lbl"],["for","ask-ai-search-box",1,"inline-block","margin-s-right","feature-logo",3,"onedevHovercardTrigger","onedevHovercardConfig"],["svgIcon","issue-status-new",1,
"color-purple-text","valign-middle"],[1,"col","srch","pos-rel","grow-1"],["type","search","id","ask-ai-search-box",1,"padded-s-sides",3,"formControl"],["type","submit","mat-flat-button","",1,"gmat-button","small","go-do-ai"],["class","progress-display",4,"ngIf"],["class","col topic pos-rel margin-left-auto",4,"ngIf"],["class","col xtrascope",4,"ngIf"],[4,"ngIf"],[1,"progress-display"],["matTooltip","LLM has detected a topic.",1,"dot"],["matTooltip","Semantic search returned similar issues",1,"dot"],
["matTooltip","Query for and aggregate needed data",1,"dot"],["matTooltip","LLM has provided an answer",1,"dot"],[1,"col","topic","pos-rel","margin-left-auto"],["matTooltip","The subject of your query, as determined by the LLM. Used as search keywords.",1,"padded-s-sides","small",3,"formControl"],[1,"muted","type-xs","input-label"],["type","button",1,"unstyled","input-field-mini-button",3,"click"],[1,"col","xtrascope"],[1,"padded-s-sides","small",3,"formControl","matTooltip"],[1,"answer","margin-s-top",
"display-block"],[3,"comment","formattingMode"],["type","button",1,"unstyled","pos-br",3,"click"],[1,"muted","answer","margin-s-top"],["type","button",1,"unstyled",3,"click"],[1,"text-right","margin-s-top","margin-right"],["gref","",1,"unstyled",3,"click"],["class","citations",4,"ngIf"],[1,"citations"],[1,"unstyled-list"],[4,"ngFor","ngForOf"],["href","",1,"unstyled","muted",3,"click"],[1,"muted"]],template:function(a,b){a&1&&(C(0,iHa,19,13,"section",0),E(1,"onedev-hovercard",null,1)(3,"div",2)(4,
"p"),R(5,"Get answers fast."),G(),E(6,"p"),R(7,"Q&A using AI as a trusted teammate, with full awareness of your buganizer issues."),G(),E(8,"p")(9,"a",3),R(10,"Learn More"),G()()()());a&2&&D("ngIf",b.enableAskAi)},dependencies:[hw,dw,hB,Pw,Dg,Hw,Iw,Vw,Mw,PC,LF,QF,nA,HM,mw],styles:["[_nghost-%COMP%]{display:block;position:relative}input[_ngcontent-%COMP%]{background:var(--purple-bg);border:none;border-radius:8px;height:40px;line-height:40px;outline-color:var(--purple-text)}input.tiny[_ngcontent-%COMP%]{min-width:48px;width:48px;padding:0 4px}input.small[_ngcontent-%COMP%], input[disabled][_ngcontent-%COMP%]{min-width:200px}.xtrascope[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{min-width:26px;width:26px;opacity:.25}.xtrascope[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{min-width:200px;width:auto;opacity:1}input[disabled][_ngcontent-%COMP%]{background:var(--c100);color:var(--gfx-muted)}button[_ngcontent-%COMP%]{cursor:pointer}.explanation-bubble[_ngcontent-%COMP%]{z-index:99}input[type=search][_ngcontent-%COMP%]{width:100%;padding-right:54px}.feature-logo[_ngcontent-%COMP%]{min-height:40px;line-height:40px}.go-do-ai.go-do-ai[_ngcontent-%COMP%]{background:var(--purple-text);height:40px;line-height:40px;width:50px;margin-left:-54px}.answer[_ngcontent-%COMP%]   pre[_ngcontent-%COMP%]{text-wrap:balance;word-break:break-word}.citations[_ngcontent-%COMP%]{padding:8px;background:var(--c100);overflow:auto}ol[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:8px;max-height:400px}.citations[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:280px;background:#fff;border-radius:8px;padding:4px;overflow:auto;font-size:.6rem}.citations[_ngcontent-%COMP%]   pre[_ngcontent-%COMP%]{margin:0;text-wrap:balance;word-break:break-word}.input-field-mini-button[_ngcontent-%COMP%]{position:absolute;right:0;padding:4px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.input-label[_ngcontent-%COMP%]{position:absolute;padding:4px 8px;left:0;top:40px}.progress-display[_ngcontent-%COMP%]{position:absolute;right:3px;bottom:-22px;padding:2px 4px}.progress-display[_ngcontent-%COMP%]   .dot[_ngcontent-%COMP%]{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--background);box-shadow:0 0 0 1px var(--c300),0 0 0 2px var(--background);margin-left:4px}.progress-display[_ngcontent-%COMP%]   .dot.thinking[_ngcontent-%COMP%]{background:var(--c400);box-shadow:inset 0 0 0 1px var(--background),0 0 0 2px var(--background)}.progress-display[_ngcontent-%COMP%]   .dot.complete[_ngcontent-%COMP%]{background:var(--purple-text);box-shadow:inset 0 0 0 1px var(--purple-text),0 0 0 2px var(--background)}\n/*# sourceMappingURL=ask_ai.css.map */"]});var Q$b=new Xc("intersectionObserverFactory",{factory:function(){return function(a,b){return new IntersectionObserver(a,b)}}}),R$b=new Xc("isScrolledOnScreen",{factory:function(){return{fully:zHa,partially:AHa}}}),OM=function(a,b){this.intersectionObserverBuilder=a;this.isScrolledOnScreen=b};OM.prototype.getObservable=function(a,b){b=void 0===b?!1:b;return null!=window.IntersectionObserver?BHa(a,this.intersectionObserverBuilder,this.isScrolledOnScreen,b):CHa(a,this.isScrolledOnScreen,b)};
OM.\u0275fac=function(a){return new (a||OM)(p(Q$b),p(R$b))};OM.\u0275prov=vc({token:OM,factory:OM.\u0275fac,providedIn:"root"});var PM=function(a,b,c){Y.call(this);this.window=b;this.scrolledOnScreenService=c;this.onAutoResize=new zv;this.el=a.nativeElement;this.cloneEl=this.el.cloneNode();this.cloneEl.removeAttribute("id");this.cloneEl.removeAttribute("name");this.cloneEl.removeAttribute("aria-label");this.cloneEl.setAttribute("aria-hidden","");this.cloneEl.removeAttribute("data-stable");this.cloneEl.setAttribute("data-cloned-for-auto-resize","");this.cloneEl.style.height="auto";this.cloneEl.style.visibility="hidden";this.cloneEl.style.position=
"absolute";this.cloneEl.style.left="0";this.cloneEl.style.top="0";this.cloneEl.style.zIndex="-9999";this.cloneEl.style.overflowY="hidden";this.window.document.body.appendChild(this.cloneEl)};X(PM,Y);PM.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.scrolledOnScreenService.getObservable(this.el,!0).subscribe(function(b){b&&S$b(a,0)}));this.autoResize&&this.subscriptions.add(this.autoResize.subscribe(function(){S$b(a,2)}))};PM.prototype.onInput=function(){S$b(this,1)};
var S$b=function(a,b){for(var c=a.window.getComputedStyle(a.el),d=l("width max-height min-height font-family text-decoration letter-spacing".split(" ")),e=d.next();!e.done;e=d.next())e=e.value,a.cloneEl.style.setProperty(e,c.getPropertyValue(e));a.cloneEl.value=a.el.value;d=a.window.getComputedStyle(a.cloneEl);c=a.cloneEl;c=qm(d.getPropertyValue("border-top-width"))+qm(d.getPropertyValue("padding-top"))+c.scrollHeight+qm(d.getPropertyValue("padding-bottom"))+qm(d.getPropertyValue("border-bottom-width"))+
24;Number.isNaN(c)||(e=qm(d.getPropertyValue("max-height")),d=qm(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})))};PM.prototype.ngOnDestroy=function(){this.cloneEl.parentElement&&this.cloneEl.parentElement.removeChild(this.cloneEl);Y.prototype.ngOnDestroy.call(this)};PM.\u0275fac=function(a){return new (a||PM)(A(Ad),A(uE),A(OM))};
PM.\u0275dir=Qc({type:PM,selectors:[["textarea","autoResize",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.onInput()})},inputs:{autoResize:"autoResize"},outputs:{onAutoResize:"onAutoResize"},features:[nf]});var vo=function(a,b){this.char=a;this.modifiers=b};var T$b={category:"Edit Issue Page",keys:[wo("r")],displayAs:"Shift+r",description:"Refresh"},U$b={category:"Issue List",keys:["u",wo("r")],displayAs:"u / Shift+r",description:"Refresh search results"},yq={ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE:{category:"Edit Issue Page",keys:[wo("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:T$b,REFRESH_ISSUE_LIST:U$b,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 Z=H[P];F[Z]&&
(Z=F[Z]);O&&"keypress"!=O&&z[Z]&&(Z=z[Z],U.push("shift"));f(Z)&&U.push(Z)}H=Z;P=O;if(!P){if(!J){J={};for(var la in t)95<la&&112>la||t.hasOwnProperty(la)&&(J[t[la]]=la)}P=J[H]?"keydown":"keypress"}"keypress"==P&&U.length&&(P="keydown");return{key:Z,modifiers:U,action:P}}function k(H,O){return null===H||H===b?!1:H===O?!0:k(H.parentNode,O)}function q(H){function O(ja){ja=ja||{};var ya=!1,Ga;for(Ga in Ta)ja[Ga]?ya=!0:Ta[Ga]=0;ya||(Na=!1)}function P(ja,ya,Ga,gb,Wa,zc){var cb,pb,Za=[],Fb=Ga.type;if(!Fa._callbacks[ja])return[];
"keyup"==Fb&&f(ja)&&(ya=[ja]);for(cb=0;cb<Fa._callbacks[ja].length;++cb)if(pb=Fa._callbacks[ja][cb],(gb||!pb.seq||Ta[pb.seq]==pb.level)&&Fb==pb.action){var ac;(ac="keypress"==Fb&&!Ga.metaKey&&!Ga.ctrlKey)||(ac=pb.modifiers,ac=ya.sort().join(",")===ac.sort().join(","));ac&&(ac=gb&&pb.seq==gb&&pb.level==zc,(!gb&&pb.combo==Wa||ac)&&Fa._callbacks[ja].splice(cb,1),Za.push(pb))}return Za}function U(ja,ya,Ga,gb){Fa.stopCallback(ya,ya.target||ya.srcElement,Ga,gb)||!1!==ja(ya,Ga)||(ya.preventDefault?ya.preventDefault():
ya.returnValue=!1,ya.stopPropagation?ya.stopPropagation():ya.cancelBubble=!0)}function Z(ja){"number"!==typeof ja.which&&(ja.which=ja.keyCode);var ya=e(ja);if(ya)if("keyup"==ja.type&&Ya===ya)Ya=!1;else{var Ga=Fa,gb=Ga.handleKey,Wa=[];ja.shiftKey&&Wa.push("shift");ja.altKey&&Wa.push("alt");ja.ctrlKey&&Wa.push("ctrl");ja.metaKey&&Wa.push("meta");gb.call(Ga,ya,Wa,ja)}}function la(ja,ya,Ga,gb){function Wa(Za){return function(){Na=Za;++Ta[ja];clearTimeout(Pa);Pa=setTimeout(O,1E3)}}function zc(Za){U(Ga,
Za,ja);"keyup"!==gb&&(Ya=e(Za));setTimeout(O,10)}for(var cb=Ta[ja]=0;cb<ya.length;++cb){var pb=cb+1===ya.length?zc:Wa(gb||h(ya[cb+1]).action);oa(ya[cb],pb,gb,ja,cb)}}function oa(ja,ya,Ga,gb,Wa){Fa._directMap[ja+":"+Ga]=ya;ja=ja.replace(/\s+/g," ");var zc=ja.split(" ");1<zc.length?la(ja,zc,ya,Ga):(Ga=h(ja,Ga),Fa._callbacks[Ga.key]=Fa._callbacks[Ga.key]||[],P(Ga.key,Ga.modifiers,{type:Ga.action},gb,ja,Wa),Fa._callbacks[Ga.key][gb?"unshift":"push"]({callback:ya,modifiers:Ga.modifiers,action:Ga.action,
seq:gb,level:Wa,combo:ja}))}var Fa=this;H=H||b;if(!(Fa instanceof q))return new q(H);Fa.target=H;Fa._callbacks={};Fa._directMap={};var Ta={},Pa,Ya=!1,sb=!1,Na=!1;Fa._handleKey=function(ja,ya,Ga){var gb=P(ja,ya,Ga),Wa;ya={};var zc=0,cb=!1;for(Wa=0;Wa<gb.length;++Wa)gb[Wa].seq&&(zc=Math.max(zc,gb[Wa].level));for(Wa=0;Wa<gb.length;++Wa)gb[Wa].seq?gb[Wa].level==zc&&(cb=!0,ya[gb[Wa].seq]=1,U(gb[Wa].callback,Ga,gb[Wa].combo,gb[Wa].seq)):cb||U(gb[Wa].callback,Ga,gb[Wa].combo);gb="keypress"==Ga.type&&sb;
Ga.type!=Na||f(ja)||gb||O(ya);sb=cb&&"keydown"==Ga.type};Fa._bindMultiple=function(ja,ya,Ga){for(var gb=0;gb<ja.length;++gb)oa(ja[gb],ya,Ga)};d(H,"keypress",Z);d(H,"keydown",Z);d(H,"keyup",Z)}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:"'"},z={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},F={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 ")||k(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);/*

 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 V$b=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||""};
Vg.Object.defineProperties(V$b.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 W$b=new Xc("HotkeyOptions");var QM=function(a){this.options=a;this.hotkeys=[];this.pausedHotkeys=[];this.cheatSheetToggle=new W.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 V$b(this.options.cheatSheetHotkey||"?",function(){this.cheatSheetToggle.next()}.bind(this),[],this.options.cheatSheetDescription||
"Show / hide this help menu"));this.options.cheatSheetCloseEsc&&this.add(new V$b("esc",function(){this.cheatSheetToggle.next(!1)}.bind(this),["HOTKEYS-CHEATSHEET"],this.options.cheatSheetCloseEscDescription||"Hide this help menu"))};g=QM.prototype;
g.add=function(a,b){var c=this;if(Array.isArray(a)){for(var d=[],e=l(a),f=e.next();!f.done;f=e.next())d.push(this.add(f.value,b));return d}this.remove(a);this.hotkeys.push(a);this.mousetrap.bind(a.combo,function(h,k){var q=!0;if(h){var t=h.target,w=t.nodeName.toUpperCase();-1<(" "+t.className+" ").indexOf(" mousetrap ")?q=!0:-1<c.preventIn.indexOf(w)&&-1===a.allowIn.map(function(z){return z.toUpperCase()}).indexOf(w)&&(q=!1)}if(q)return a.callback.apply(c,[h,k])},b);return a};
g.remove=function(a){var b=[];if(!a){a=l(this.hotkeys);for(var c=a.next();!c.done;c=a.next())b.push(this.remove(c.value));return b}if(Array.isArray(a)){a=l(a);for(c=a.next();!c.done;c=a.next())b.push(this.remove(c.value));return b}b=this.hotkeys.indexOf(a);return-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=l(a);for(var c=a.next();!c.done;c=a.next())b.push(this.get(c.value));return b}for(b=0;b<this.hotkeys.length;b++)if(-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=l(a.slice());for(var c=a.next();!c.done;c=a.next())b.push(this.pause(c.value));return b}this.remove(a);this.pausedHotkeys.push(a);return a};
g.unpause=function(a){if(!a)return this.unpause(this.pausedHotkeys);if(Array.isArray(a)){var b=[];a=l(a.slice());for(var c=a.next();!c.done;c=a.next())b.push(this.unpause(c.value));return b}b=this.pausedHotkeys.indexOf(a);return-1<b?(this.add(a),this.pausedHotkeys.splice(b,1)):null};g.reset=function(){this.mousetrap.reset()};QM.\u0275fac=function(a){return new (a||QM)(p(W$b))};QM.\u0275prov=vc({token:QM,factory:QM.\u0275fac});var RM=function(){};RM.\u0275fac=function(a){return new (a||RM)};RM.\u0275mod=Nc({type:RM});RM.\u0275inj=wc({imports:[uw]});var X$b;Yda("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));
var Y$b="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" "),SM=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")},TM=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(X$b||(c={},X$b=(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=X$b,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)},Z$b=function(a,b){a=a.getAttribute("aria-"+b);return null==a||void 0==a?"":String(a)},UM=function(a,b){var c="";b&&(c=b.id);TM(a,"activedescendant",c)},$$b=function(a,b){TM(a,"label",b)};var VM=function(a,b,c,d){Y.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=sa(Y$b,f);h=f||"true"===h.contentEditable||"INPUT"===h.tagName&&"text"===h.type||"SELECT"===h.tagName||"TEXTAREA"===h.tagName||aac(h)?!0:!1}return h};
b.keyboardPrefs$.pipe(ef(this.destroyed$)).subscribe(function(f){f&&(e.enabled=!!f.enableAllHotkeys)});a.routeChangeStart.pipe(ef(this.destroyed$)).subscribe(function(){e.unpause()});this.rawHotkeysService.mousetrap.stopCallback=this.stopCallback;this.destroyed$.subscribe(function(){bac(e)})};X(VM,Y);VM.\u0275dir=Y.\u0275dir;VM.prototype.isEnabled=function(){return this.enabled};VM.prototype.isPaused=function(){return this.paused};
var WM=function(a,b){var c=b.title,d=b.hotkeys,e;b=null!=(e=a.hotkeyGroups.get(c))?e:[];a.hotkeyGroups.set(c,[].concat(r(b),r(d)));cac(a);return function(){var f=new Set(d.map(function(q){return q.onPress})),h,k=(null!=(h=a.hotkeyGroups.get(c))?h:[]).filter(function(q){return!f.has(q.onPress)});k.length?a.hotkeyGroups.set(c,k):a.hotkeyGroups.delete(c);cac(a)}},bac=function(a){var b=[].concat(r(a.rawHotkeysService.hotkeys));b=l(b);for(var c=b.next();!c.done;c=b.next())a.rawHotkeysService.remove(c.value);
a.rawHotkeysService.reset()},cac=function(a){bac(a);for(var b=l(a.hotkeyGroups.values()),c=b.next();!c.done;c=b.next()){c=dac(a,c.value);c=l(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 V$b(HHa(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)}},aac=function(a){return[].concat(r(document.getElementsByClassName("cdk-overlay-pane"))).filter(function(b){return"static"===
b.style.position}).some(function(b){return b.contains(a)})},dac=function(a,b){var c=[];b=l(b);for(var d=b.next(),e={};!d.done;e={hotkeySpec:void 0},d=b.next()){e.hotkeySpec=d.value;d=l(e.hotkeySpec.keys.entries());for(var f=d.next(),h={};!f.done;h={index$jscomp$3994:void 0},f=d.next()){var k=l(f.value);f=k.next().value;k=k.next().value;h.index$jscomp$3994=f;c.push(new eac(k,function(q,t){return function(){a.ngZone.run(function(){q.hotkeySpec.onPress(t.index$jscomp$3994)})}}(e,h),e.hotkeySpec.allowIn))}}Haa(c,
function(q,t){return q.strokeLength>t.strokeLength?-1:q.strokeLength<t.strokeLength?1:0});return c};VM.prototype.pause=function(){this.paused=!0};VM.prototype.unpause=function(){this.paused=!1};var fac=function(a){return[].concat(r(a.hotkeyGroups.entries())).map(function(b){var c=l(b);b=c.next().value;c=c.next().value;return{title:b,hotkeys:zn(c,IHa)}})};VM.\u0275fac=function(a){return new (a||VM)(p(LI),p(BE),p(QM),p(Ge))};VM.\u0275prov=vc({token:VM,factory:VM.\u0275fac,providedIn:"root"});
var eac=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 XM=function(a,b){Y.call(this);this.hotkeys=a;this.tooltip=b;this.hotkeyEnabled=!0;this.onHotkey=new zv};X(XM,Y);XM.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+")"}};
XM.prototype.ngOnInit=function(){var a=this;this.hotkey&&this.hotkeyEnabled&&this.subscriptions.add(WM(this.hotkeys,{title:this.hotkey.category,hotkeys:[Object.assign({},this.hotkey,{onPress:function(b){a.onHotkey.next(b)}})]}))};XM.\u0275fac=function(a){return new (a||XM)(A(VM),A(PC,8))};
XM.\u0275dir=Qc({type:XM,selectors:[["","hotkey",""]],hostVars:2,hostBindings:function(a,b){a&2&&yf("has-hotkey",b.hotkey)},inputs:{hotkey:"hotkey",hotkeyEnabled:"hotkeyEnabled",matTooltip:"matTooltip"},outputs:{onHotkey:"onHotkey"},features:[nf,ed]});var YM=function(){};YM.\u0275fac=function(a){return new (a||YM)};YM.\u0275mod=Nc({type:YM});YM.\u0275inj=wc({});var ZM=function(a,b,c){Y.call(this);var d=this;this.prefs=a;this.flags=b;this.links=c;this.change=new zv;this.checkedSubject=new W.BehaviorSubject(!1);this.mdHelpLink=this.links.session.isInternalSession()?"http://go/buganizer-markdown-quickstart":"https://commonmark.org/help/";this.flags.textDisplayPreferences$.pipe(ef(this.destroyed$)).subscribe(function(e){d.currentTextDisplayPreferences=e});this.flags.commentDisplayOverride$.pipe(ef(this.destroyed$)).subscribe(function(e){d.currentCommentDisplayOverride=
e})};X(ZM,Y);ZM.\u0275dir=Y.\u0275dir;ZM.prototype.ngOnInit=function(){this.checkedSubject.next("MARKDOWN"===this.initialValue)};ZM.prototype.ngOnChanges=function(){null!=this.initialValue&&this.checkedSubject.next("MARKDOWN"===this.initialValue)};ZM.prototype.save=function(a){a=Object.assign({},this.currentTextDisplayPreferences,a);this.prefs.save({textDisplayPreferences:a}).pipe(ef(this.destroyed$)).subscribe()};ZM.\u0275fac=function(a){return new (a||ZM)(A(BE),A(HF),A(jG))};
ZM.\u0275cmp=Lc({type:ZM,selectors:[["b-markdown-toggle"]],inputs:{initialValue:"initialValue"},outputs:{change:"change"},features:[nf,ed],decls:4,vars:4,consts:[["gmat-checkbox","","aria-label","Use markdown for this comment","matTooltip","Use Markdown for this comment",3,"checked","change"],["mat-icon-button","","matTooltip","Markdown Help","class","help small","aria-label","Markdown Help","target","_blank",3,"href","disableRipple",4,"ngIf"],["mat-icon-button","","matTooltip","Markdown Help","aria-label",
"Markdown Help","target","_blank",1,"help","small",3,"href","disableRipple"],["svgIcon","help-outline",1,"icon-xs"]],template:function(a,b){a&1&&(E(0,"mat-checkbox",0),M("change",function(d){var e=b.currentCommentDisplayOverride;d=d.checked?F1b:e?e:G1b;b.save({lastPublishMode:d});b.change.emit(Qi(d))}),T(1,"async"),R(2," Markdown "),G(),C(3,JHa,2,2,"a",1));if(a&2){var c;D("checked",null!==(c=V(1,2,b.checkedSubject))&&void 0!==c?c:!1);y(3);D("ngIf",b.mdHelpLink)}},dependencies:[WE,dw,hB,oA,PC,mw],
encapsulation:2,changeDetection:0});var $M=function(a,b){Y.call(this);var c=this;this.appEvents=b;this.init=new zv;this.FormattingMode=OD;a.textDisplayPreferencesSubject$.pipe(ef(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:Nh(d.commentDisplayOverride)}})};
X($M,Y);$M.\u0275dir=Y.\u0275dir;$M.prototype.ngOnInit=function(){};$M.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";this.audience=this.issueAccessLevel&&"INTERNAL"===this.issueAccessLevel?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE";this.note.commentNumber&&(this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber)};$M.prototype.ngAfterViewInit=function(){this.appEvents.commentRendered.next([this.issueId,this.note.commentNumber]);this.init.next(this)};
$M.\u0275fac=function(a){return new (a||$M)(A(BE),A(RH))};
$M.\u0275cmp=Lc({type:$M,selectors:[["b-note-container"]],inputs:{note:"note",issueAccessLevel:"issueAccessLevel",formattingMode:"formattingMode",issueId:"issueId"},outputs:{init:"init"},features:[nf,ed],decls:5,vars:2,consts:[[1,"bv2-note-container","bv2-event-note"],[1,"bv2-note-container-note"],[3,"formattedComment",4,"ngIf","ngIfElse"],["livePreview",""],[3,"formattedComment"],[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1),
C(2,KHa,1,1,"b-formatted-comment-presenter",2),G()(),C(3,LHa,1,5,"ng-template",null,3,jg));if(a&2){var c=Q(4);y(2);if(a=b.note.formattedComment)a=b.note.formattedComment,a=!a||b.formattingModeOverride?!1:a.literalFormat&&"LITERAL"===b.formattingMode||a.plainFormat&&"PLAIN"===b.formattingMode||a.markdownFormat&&"MARKDOWN"===b.formattingMode?!0:!1;D("ngIf",a)("ngIfElse",c)}},dependencies:[dw,GM,HM],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 aN=function(){};aN.\u0275fac=function(a){return new (a||aN)};aN.\u0275mod=Nc({type:aN});aN.\u0275inj=wc({imports:[Bx,KF,uw,$C,Fy]});var bN=function(){};bN.\u0275fac=function(a){return new (a||bN)};bN.\u0275mod=Nc({type:bN});bN.\u0275inj=wc({imports:[SH,pM,aN]});var cN=function(){};cN.\u0275fac=function(a){return new (a||cN)};cN.\u0275mod=Nc({type:cN});cN.\u0275inj=wc({imports:[SH,aN,bN]});var dN=function(){this.segments=[];this.clickMain=new zv;this.clickSegment=new zv};dN.prototype.ngOnInit=function(){};Vg.Object.defineProperties(dN.prototype,{showMoreButton:{configurable:!0,enumerable:!0,get:function(){return 0<this.segments.length}}});dN.\u0275fac=function(a){return new (a||dN)};
dN.\u0275cmp=Lc({type:dN,selectors:[["b-fab-segmented"]],inputs:{label:"label",icon:"icon",segments:"segments",href:"href"},outputs:{clickMain:"clickMain",clickSegment:"clickSegment"},decls:5,vars:6,consts:[[1,"shrink-wrap"],["mat-button","","role","button",1,"main","button-xl",3,"click"],[1,"icon-xl",3,"svgIcon"],[4,"ngIf"],["mat-button","","aria-label","More options",1,"more","button-xl","square-left",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown"],["createMenu","matMenu"],["mat-menu-item",
"",3,"href","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"href","click"]],template:function(a,b){a&1&&(E(0,"span",0)(1,"a",1),M("click",function(){return b.clickMain.emit(b.label)}),I(2,"mat-icon",2),R(3),G(),C(4,NHa,6,2,"ng-container",3),G());a&2&&(y(),yf("square-right",b.showMoreButton),pf("href",b.href||void 0,Pd),y(),D("svgIcon",b.icon),y(),S(" ",b.label," "),y(),D("ngIf",b.showMoreButton))},dependencies:[hw,dw,hB,nA,oA,HC,FC,GC],styles:['[mat-button][_ngcontent-%COMP%]{vertical-align:middle;color:#202124;color:var(--text-default);font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500}.shrink-wrap[_ngcontent-%COMP%]{display:inline-block;border-radius:24px;white-space:nowrap;transition:box-shadow .2s ease-in-out;background-color:#fff;background-color:var(--fab-button-bg);box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15)}.shrink-wrap[_ngcontent-%COMP%]:hover{box-shadow:0px 1px 3px 0px rgba(0, 0, 0, 0.3), 0px 4px 8px 3px rgba(0, 0, 0, 0.15)}.mat-button[_ngcontent-%COMP%]{border-radius:24px}.main[_ngcontent-%COMP%]{padding-left:10px;padding-right:24px}.main.square-right[_ngcontent-%COMP%]{padding-right:8px}.more[_ngcontent-%COMP%]{padding-right:10px;padding-left:4px;min-width:0;color:#80868b;color:var(--gfx-muted)}.more[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:24px}.more[_ngcontent-%COMP%]:hover, .more[_ngcontent-%COMP%]:focus{color:#202124;color:var(--text-default)}.more[_ngcontent-%COMP%]{transition:border .2s ease-in-out;border-left:1px solid rgba(0,0,0,0)}.shrink-wrap[_ngcontent-%COMP%]:hover   .more[_ngcontent-%COMP%]{border-left:1px solid;border-left-color:#dadce0;border-left-color:var(--divider)}/*# sourceMappingURL=fab_segmented.css.map */']});var gac=[dN],eN=function(){};eN.\u0275fac=function(a){return new (a||eN)};eN.\u0275mod=Nc({type:eN});eN.\u0275inj=wc({imports:[SH,$C,IC,JD]});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=Lc({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&&(E(0,"section",0)(1,"button",1),M("click",function(){return b.onPressBack()}),I(2,"mat-icon",2),G()())},dependencies:[hB,nA,PC],styles:[".button-bar[_ngcontent-%COMP%] {\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var gN=function(a,b,c){Y.call(this);this.templateRef=a;this.viewContainer=b;this.cdr=c;this.viewContainer.createEmbeddedView(this.templateRef)};X(gN,Y);Vg.Object.defineProperties(gN.prototype,{refreshable:{configurable:!0,enumerable:!0,set:function(a){var b=this;a.pipe(ef(this.destroyed$)).subscribe(function(){b.viewContainer.clear();b.viewContainer.createEmbeddedView(b.templateRef);b.cdr.detectChanges()})}}});gN.\u0275fac=function(a){return new (a||gN)(A(Rf),A(Sf),A(Uu))};
gN.\u0275dir=Qc({type:gN,selectors:[["","refreshable",""]],inputs:{refreshable:"refreshable"},features:[nf]});var hN=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 zv;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=Fu(function(e){d.widthChanged.emit(e);d.events.sidebarWidthChanged.next(e)},400);this.trackKeyboardResizing=Fu(function(){$m(Sp.SIDEBAR,"resizeKeyboard")},2E3)};hN.prototype.ngOnInit=function(){var a=this;this.ngZone.runOutsideAngular(function(){document.addEventListener("mousemove",a.onMousemove)});document.addEventListener("mouseup",this.onMouseup,!0)};
hN.prototype.ngOnDestroy=function(){document.removeEventListener("mousemove",this.onMousemove);document.removeEventListener("mouseup",this.onMouseup,!0)};var hac=function(a,b){var c=a.width+b;c<a.minSnapWidth&&(c=0>b?0:a.minSnapWidth);a.setWidth(c);a.trackKeyboardResizing()};hN.prototype.toggle=function(){this.setWidth(this.isClosed?this.lastOpenPosition:0)};
hN.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)};
Vg.Object.defineProperties(hN.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}}});hN.\u0275fac=function(a){return new (a||hN)(A(EF,2),A(RH),A(Ge))};
hN.\u0275cmp=Lc({type:hN,selectors:[["b-resizable-sidebar"]],hostVars:2,hostBindings:function(a,b){a&2&&zf(b.direction)},inputs:{minWidth:"minWidth",disableToggleBtn:"disableToggleBtn",hideToggleBtnOnOpen:"hideToggleBtnOnOpen",direction:"direction",size:"size"},outputs:{widthChanged:"widthChanged"},features:[bg([EF])],ngContentSelectors:["*"],decls:5,vars:12,consts:[["cdkScrollable","",1,"inner",3,"ngClass"],[1,"content"],["tabindex","0","role","slider","aria-label","Resize side navigation bar","aria-orientation",
"horizontal",1,"resizeHandle",3,"mousedown","keyup.arrowleft","keyup.arrowright","keyup.space","keyup.enter","dblclick"],["mat-icon-button","","class","toggleButton xs","matTooltipPosition","right",3,"ngClass","isClosed","matTooltip","click",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",1,"toggleButton","xs",3,"ngClass","matTooltip","click"],[3,"svgIcon"]],template:function(a,b){a&1&&(Lf(),E(0,"div",0)(1,"div",1),Mf(2),G(),E(3,"div",2),M("mousedown",function(c){return b.startDragging(c.pageX)})("keyup.arrowleft",
function(){return hac(b,-10)})("keyup.arrowright",function(){return hac(b,10)})("keyup.space",function(){return b.toggle()})("keyup.enter",function(){return b.toggle()})("dblclick",function(){return b.toggle()}),G()(),C(4,OHa,2,6,"button",3));a&2&&(xf("width",b.width+"px"),yf("isDragging",b.isDragging)("isClosed",b.isClosed),D("ngClass",b.direction),y(),xf("width",b.lastOpenPosition+"px"),y(2),pf("aria-valuenow",b.width)("aria-valuetext",b.width+" pixels"),y(),D("ngIf",!b.disableToggleBtn&&!(b.hideToggleBtnOnOpen&&
!b.isClosed)))},dependencies:[gw,dw,hB,nA,PC,ly],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 iN=function(){};iN.prototype.onClick=function(a,b){iac(b)&&a.preventDefault()};var iac=function(a){if(window.getSelection){var b=window.getSelection();if(b&&!b.isCollapsed&&a.contains(b.focusNode))return!0}return!1};iN.\u0275fac=function(a){return new (a||iN)};iN.\u0275dir=Qc({type:iN,selectors:[["","selectionPreventsClick",""]],hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClick(c,c.target)})}});[].concat(r(gac),[hN,KE]);var jN=function(){};jN.\u0275fac=function(a){return new (a||jN)};jN.\u0275mod=Nc({type:jN});jN.\u0275inj=wc({imports:[SH,$C,JD,py,eN]});var kN=function(){};kN.\u0275fac=function(a){return new (a||kN)};kN.\u0275mod=Nc({type:kN});kN.\u0275inj=wc({imports:[Vy,Gy,zx,VE,Gy,VE]});var jac=mh("transformPanel",[ph("void",oh({opacity:0,transform:"scale(1, 0.8)"})),rh("void => showing",nh("120ms cubic-bezier(0, 0, 0.2, 1)",oh({opacity:1,transform:"scale(1, 1)"}))),rh("* => void",nh("100ms linear",oh({opacity:0})))]);var kac=["trigger"],lac=["panel"],mac=[[["mat-select-trigger"]],"*"],nac=0,oac=new Xc("mat-select-scroll-strategy",{providedIn:"root",factory:function(){var a=Gc(Cy);return function(){return a.scrollStrategies.reposition()}}}),pac=new Xc("MAT_SELECT_CONFIG"),qac={provide:oac,deps:[Cy],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},rac=new Xc("MatSelectTrigger"),sac=function(a,b){this.source=a;this.value=b},lN=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J){var H=this;this._viewportRuler=
a;this._changeDetectorRef=b;this._ngZone=c;this._elementRef=e;this._dir=f;this._parentFormField=q;this.ngControl=t;this._liveAnnouncer=F;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(oa,Fa){return oa===Fa};this._uid="mat-select-"+nac++;this._triggerAriaLabelledBy=null;this._destroy=new W.Subject;this.stateChanges=new W.Subject;this._onChange=function(){};this._onTouched=function(){};this._valueId="mat-select-value-"+nac++;this._panelDoneAnimatingStream=new W.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 Z,la;this.disableOptionCentering=null!=(la=null==(Z=this._defaultOptions)?void 0:Z.disableOptionCentering)?la:!1;this.ariaLabel="";this.panelWidth=this._defaultOptions&&"undefined"!==typeof this._defaultOptions.panelWidth?this._defaultOptions.panelWidth:"auto";this.optionSelectionChanges=(0,W.defer)(function(){var oa=H.options;return oa?
oa.changes.pipe(cf(oa),df(function(){return W.merge.apply(null,r(oa.map(function(Fa){return Fa.onSelectionChange})))})):H._ngZone.onStable.pipe(Ue(),df(function(){return H.optionSelectionChanges}))});this.openedChange=new zv;this._openedStream=this.openedChange.pipe(Ce(function(oa){return oa}),B(function(){}));this._closedStream=this.openedChange.pipe(Ce(function(oa){return!oa}),B(function(){}));this.selectionChange=new zv;this.valueChange=new zv;this._trackedModal=null;this._skipPredicate=function(oa){return H.panelOpen?
!1:oa.disabled};this.ngControl&&(this.ngControl.valueAccessor=this);null!=(null==J?void 0:J.typeaheadDebounceInterval)&&(this.typeaheadDebounceInterval=J.typeaheadDebounceInterval);this._errorStateTracker=new Aoa(d,t,k,h,this.stateChanges);this._scrollStrategyFactory=z;this._scrollStrategy=this._scrollStrategyFactory();this.tabIndex=parseInt(w)||0;this.id=this.id};g=lN.prototype;
g._scrollOptionIntoView=function(a){var b=this.options.toArray()[a];if(b){var c=this.panel.nativeElement;var d=this.options;var e=this.optionGroups;if(e.length){d=d.toArray();e=e.toArray();for(var f=0,h=0;h<a+1;h++)d[h].group&&d[h].group===e[f]&&f++;d=f}else d=0;b=b._getHostElement();0===a&&1===d?a=0:(a=b.offsetTop,b=b.offsetHeight,d=c.scrollTop,e=c.offsetHeight,a=a<d?a:a+b>d+e?Math.max(0,a-e+b):d);c.scrollTop=a}};
g._positioningSettled=function(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)};g._getChangeEvent=function(a){return new sac(this,a)};
g.ngOnInit=function(){var a=this;this._selectionModel=new my(this.multiple);this.stateChanges.next();this._panelDoneAnimatingStream.pipe(Te(),ef(this._destroy)).subscribe(function(){return a._panelDoneAnimating(a.panelOpen)});this._viewportRuler.change().pipe(ef(this._destroy)).subscribe(function(){a.panelOpen&&(a._overlayWidth=a._getOverlayWidth(a._preferredOverlayOrigin),a._changeDetectorRef.detectChanges())})};
g.ngAfterContentInit=function(){var a=this;this._initKeyManager();this._selectionModel.changed.pipe(ef(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(cf(null),ef(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&&Nx(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=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,Mx(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&&Sg(this._trackedModal,"aria-owns",b);poa(a,"aria-owns",b);this._trackedModal=a}};g._clearFromModal=function(){this._trackedModal&&(Sg(this._trackedModal,"aria-owns",this.id+"-panel"),this._trackedModal=null)};
g.close=function(){this._panelOpen&&(this._panelOpen=!1,Mx(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||Mg(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||Mg(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(Ue()).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))?Px(this._keyManager,a):this.panelOpen||Px(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 Dy?a.elementRef:a||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth};g._syncParentProperties=function(){if(this.options)for(var a=l(this.options),b=a.next();!b.done;b=a.next())b.value._changeDetectorRef.markForCheck()};
g._initKeyManager=function(){var a=this;this._keyManager=Jx(jSb(kSb(Ox(Mx(Lx(Nx(new Qx(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,W.merge)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ef(b)).subscribe(function(c){a._onSelect(c.source,c.isUserInput);c.isUserInput&&!a.multiple&&a._panelOpen&&(a.close(),a.focus())});W.merge.apply(null,r(this.options.map(function(c){return c._stateChanges}))).pipe(ef(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()};
Vg.Object.defineProperties(lN.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:DRb(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}}});lN.\u0275fac=function(a){return new (a||lN)(A(oy),A(Uu),A(Ge),A(My),A(Ad),A(ay,8),A(Mw,8),A(Ww,8),A(RA,8),A(Fw,10),ud("tabindex"),A(oac),A(Ax),A(pac,8))};
lN.\u0275cmp=Lc({type:lN,selectors:[["mat-select"]],contentQueries:function(a,b,c){a&1&&(Vf(c,rac,5),Vf(c,Uy,5),Vf(c,Py,5));if(a&2){var d;Yf(d=Zf())&&(b.customTrigger=d.first);Yf(d=Zf())&&(b.options=d);Yf(d=Zf())&&(b.optionGroups=d)}},viewQuery:function(a,b){a&1&&(Uf(kac,5),Uf(lac,5),Uf(Ey,5));if(a&2){var c;Yf(c=Zf())&&(b.trigger=c.first);Yf(c=Zf())&&(b.panel=c.first);Yf(c=Zf())&&(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&&M("keydown",function(c){return b._handleKeydown(c)})("focus",function(){return b._onFocus()})("blur",function(){return b._onBlur()});a&2&&(pf("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()),
yf("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",pg],disableRipple:[2,"disableRipple","disableRipple",pg],tabIndex:[2,"tabIndex","tabIndex",function(a){return null==a?0:qg(a)}],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator",
"hideSingleSelectionIndicator",pg],placeholder:"placeholder",required:[2,"required","required",pg],multiple:[2,"multiple","multiple",pg],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",pg],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",qg],sortComparator:"sortComparator",
id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[bg([{provide:MA,useExisting:lN},{provide:Oy,useExisting:lN}]),of,ed,dg],ngContentSelectors:["mat-select-trigger","*"],decls:11,vars:8,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value"],
["class","mat-mdc-select-placeholder mat-mdc-select-min-line"],[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,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin",
"cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(a,b){a&1&&(Lf(mac),E(0,"div",0,1),M("click",function(){return b.open()}),E(3,"div",2),C(4,PHa,2,1,"span",3)(5,SHa,3,1),G(),E(6,"div",4)(7,"div",5),qd(),E(8,"svg",6),I(9,"path",
7),G()()()(),C(10,THa,3,9,"ng-template",8),M("backdropClick",function(){return b.close()})("attach",function(){return b._onAttached()})("detach",function(){return b.close()}));if(a&2){var c=Q(1);y(3);pf("id",b._valueId);y();Cf(4,b.empty?4:5);y(6);D("cdkConnectedOverlayPanelClass",b._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",b._scrollStrategy)("cdkConnectedOverlayOrigin",b._preferredOverlayOrigin||c)("cdkConnectedOverlayOpen",b.panelOpen)("cdkConnectedOverlayPositions",b._positions)("cdkConnectedOverlayWidth",
b._overlayWidth)}},dependencies:[Dy,Ey,gw],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)}.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 .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.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-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-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{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);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}.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}\n'],
encapsulation:2,data:{animation:[jac]},changeDetection:0});var mN=function(){};mN.\u0275fac=function(a){return new (a||mN)};mN.\u0275mod=Nc({type:mN});mN.\u0275inj=wc({providers:[qac],imports:[uw,Fy,Xy,Gy,py,TA,Xy,Gy]});var tac=mh("transformPanelWrap",[rh("* => void",th("@transformPanel",[sh()]))]),uac=mh("transformPanel",[ph("void",oh({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),ph("showing",oh({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),ph("showing-multiple",oh({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),rh("void => *",nh("120ms cubic-bezier(0, 0, 0.2, 1)")),rh("* => void",nh("100ms 25ms linear",oh({opacity:0})))]);var vac=["trigger"],wac=["panel"],xac=Number.MAX_SAFE_INTEGER,yac={provide:oac,deps:[Cy],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},zac=Jqa(function(a,b){b=void 0===b?0:b;var c=function(){var d=a.apply(this,[].concat(r(Vc.apply(0,arguments))))||this;d._tabIndex=b;d.defaultTabIndex=b;return d};X(c,a);Vg.Object.defineProperties(c.prototype,{tabIndex:{configurable:!0,enumerable:!0,get:function(){return this.disabled?-1:this._tabIndex},set:function(d){this._tabIndex=
null!=d?Rg(d):this.defaultTabIndex}}});return c}(function(a){var b=function(){var c=a.apply(this,[].concat(r(Vc.apply(0,arguments))))||this;c._disabled=!1;return c};X(b,a);Vg.Object.defineProperties(b.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(c){this._disabled=Og(c)}}});return b}(Boa(function(a,b,c,d,e){this._elementRef=a;this._defaultErrorStateMatcher=b;this._parentForm=c;this._parentFormGroup=d;this.ngControl=e;this.stateChanges=new W.Subject})))),
nN=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J){var H=zac.call(this,e,d,h,k,t)||this;H._viewportRuler=a;H._changeDetectorRef=b;H._ngZone=c;H._dir=f;H._parentFormField=q;H._liveAnnouncer=F;H._defaultOptions=J;H._panelOpen=!1;H._compareWith=function(Z,la){return Z===la};H._uid="mat-select-"+xac--;H._triggerAriaLabelledBy=null;H._destroy=new W.Subject;H._onChange=function(){};H._onTouched=function(){};H._valueId="mat-select-value-"+xac--;H._panelDoneAnimatingStream=new W.Subject;var O;H._overlayPanelClass=
(null==(O=H._defaultOptions)?void 0:O.overlayPanelClass)||"";H._focused=!1;H.controlType="mat-select";H._multiple=!1;var P,U;H._disableOptionCentering=null!=(U=null==(P=H._defaultOptions)?void 0:P.disableOptionCentering)?U:!1;H.ariaLabel="";H.optionSelectionChanges=(0,W.defer)(function(){var Z=H.options;return Z?Z.changes.pipe(cf(Z),df(function(){return W.merge.apply(null,r(Z.map(function(la){return la.onSelectionChange})))})):H._ngZone.onStable.pipe(Ue(),df(function(){return H.optionSelectionChanges}))});
H.openedChange=new zv;H._openedStream=H.openedChange.pipe(Ce(function(Z){return Z}),B(function(){}));H._closedStream=H.openedChange.pipe(Ce(function(Z){return!Z}),B(function(){}));H.selectionChange=new zv;H.valueChange=new zv;H._trackedModal=null;H.ngControl&&(H.ngControl.valueAccessor=H);null!=(null==J?void 0:J.typeaheadDebounceInterval)&&(H._typeaheadDebounceInterval=J.typeaheadDebounceInterval);H._scrollStrategyFactory=z;H._scrollStrategy=H._scrollStrategyFactory();H.tabIndex=parseInt(w)||0;H.id=
H.id;return H};X(nN,zac);g=nN.prototype;g.ngOnInit=function(){var a=this;this._selectionModel=new my(this.multiple);this.stateChanges.next();this._panelDoneAnimatingStream.pipe(Te(),ef(this._destroy)).subscribe(function(){return a._panelDoneAnimating(a.panelOpen)})};
g.ngAfterContentInit=function(){var a=this;this._initKeyManager();this._selectionModel.changed.pipe(ef(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(cf(null),ef(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&&Nx(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._applyModalPanelOwnership(),this._panelOpen=!0,Mx(this._keyManager,null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())};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&&Sg(this._trackedModal,"aria-owns",b);poa(a,"aria-owns",b);this._trackedModal=a}};
g._clearFromModal=function(){this._trackedModal&&(Sg(this._trackedModal,"aria-owns",this.id+"-panel"),this._trackedModal=null)};g.close=function(){this._panelOpen&&(this._panelOpen=!1,Mx(this._keyManager,this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())};g.writeValue=function(a){this._assignValue(a)};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};
g.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck();this.stateChanges.next()};g._isRtl=function(){return this._dir?"rtl"===this._dir.value:!1};g._handleKeydown=function(a){this.disabled||(this.panelOpen?this._handleOpenKeydown(a):this._handleClosedKeydown(a))};
g._handleClosedKeydown=function(a){var b=a.keyCode,c=40===b||38===b||37===b||39===b,d=this._keyManager;!(0<d._pressedLetters.length||13!==b&&32!==b||Mg(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||Mg(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(Ue()).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))?Px(this._keyManager,a):this.panelOpen||Px(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._skipPredicate=function(a){return a.disabled};
g._initKeyManager=function(){var a=this;this._keyManager=Jx(jSb(kSb(Ox(Mx(Lx(Nx(new Qx(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,W.merge)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ef(b)).subscribe(function(c){a._onSelect(c.source,c.isUserInput);c.isUserInput&&!a.multiple&&a._panelOpen&&(a.close(),a.focus())});W.merge.apply(null,r(this.options.map(function(c){return c._stateChanges}))).pipe(ef(b)).subscribe(function(){a._changeDetectorRef.detectChanges();a.stateChanges.next()})};
g._onSelect=function(a,b){var c=this._selectionModel.isSelected(a);null!=a.value||this._multiple?(c!==a.selected&&(a.selected?this._selectionModel.select(a):this._selectionModel.deselect(a)),b&&this._keyManager.setActiveItem(a),this.multiple&&(this._sortValues(),b&&this.focus())):(a.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(a.value));c!==this._selectionModel.isSelected(a)&&this._propagateChanges();this.stateChanges.next()};
g._sortValues=function(){var a=this;if(this.multiple){var b=this.options.toArray();this._selectionModel.sort(function(c,d){return a.sortComparator?a.sortComparator(c,d,b):b.indexOf(c)-b.indexOf(d)});this.stateChanges.next()}};g._propagateChanges=function(a){var b=null;this.multiple?b=this.selected.map(function(c){return c.value}):b=this.selected?this.selected.value:a;this._value=b;this.valueChange.emit(b);this._onChange(b);this.selectionChange.emit(this._getChangeEvent(b));this._changeDetectorRef.markForCheck()};
g._highlightCorrectOption=function(){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()};
Vg.Object.defineProperties(nN.prototype,{focused:{configurable:!0,enumerable:!0,get:function(){return this._focused||this._panelOpen}},placeholder:{configurable:!0,enumerable:!0,get:function(){return this._placeholder},set:function(a){this._placeholder=a;this.stateChanges.next()}},required:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d;return null!=(d=null!=(c=this._required)?c:null==(a=this.ngControl)?void 0:null==(b=a.control)?void 0:DRb(b))?d:!1},set:function(a){this._required=Og(a);
this.stateChanges.next()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=Og(a)}},disableOptionCentering:{configurable:!0,enumerable:!0,get:function(){return this._disableOptionCentering},set:function(a){this._disableOptionCentering=Og(a)}},compareWith:{configurable:!0,enumerable:!0,get:function(){return this._compareWith},set:function(a){this._compareWith=a;this._selectionModel&&this._initializeSelection()}},value:{configurable:!0,enumerable:!0,
get:function(){return this._value},set:function(a){this._assignValue(a)&&this._onChange(a)}},typeaheadDebounceInterval:{configurable:!0,enumerable:!0,get:function(){return this._typeaheadDebounceInterval},set:function(a){this._typeaheadDebounceInterval=Rg(a)}},id:{configurable:!0,enumerable:!0,get:function(){return this._id},set:function(a){this._id=a||this._uid;this.stateChanges.next()}},panelOpen:{configurable:!0,enumerable:!0,get:function(){return this._panelOpen}},selected:{configurable:!0,enumerable:!0,
get:function(){var a,b;return this.multiple?(null==(a=this._selectionModel)?void 0:a.selected)||[]:null==(b=this._selectionModel)?void 0:b.selected[0]}},triggerValue:{configurable:!0,enumerable:!0,get:function(){if(this.empty)return"";if(this._multiple){var a=this._selectionModel.selected.map(function(b){return b.viewValue});this._isRtl()&&a.reverse();return a.join(", ")}return this._selectionModel.selected[0].viewValue}},empty:{configurable:!0,enumerable:!0,get:function(){return!this._selectionModel||
this._selectionModel.isEmpty()}},shouldLabelFloat:{configurable:!0,enumerable:!0,get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}});nN.\u0275fac=function(a){return new (a||nN)(A(oy),A(Uu),A(Ge),A(My),A(Ad),A(ay,8),A(Mw,8),A(Ww,8),A(RA,8),A(Fw,10),ud("tabindex"),A(oac),A(Ax),A(pac,8))};
nN.\u0275dir=Qc({type:nN,viewQuery:function(a,b){a&1&&(Uf(vac,5),Uf(wac,5),Uf(Ey,5));if(a&2){var c;Yf(c=Zf())&&(b.trigger=c.first);Yf(c=Zf())&&(b.panel=c.first);Yf(c=Zf())&&(b._overlayDir=c.first)}},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,
"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[nf,ed]});var Aac=[[["mat-select-trigger"]],"*"],Bac=function(a,b){this.source=a;this.value=b},oN=function(){};oN.\u0275fac=function(a){return new (a||oN)};oN.\u0275dir=Qc({type:oN,selectors:[["mat-select-trigger"]],features:[bg([{provide:rac,useExisting:oN}])]});
var pN=function(){var a=nN.apply(this,arguments)||this;a._scrollTop=0;a._triggerFontSize=0;a._transformOrigin="top";a._offsetY=0;a._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}];return a};X(pN,nN);pN.\u0275dir=nN.\u0275dir;g=pN.prototype;g._calculateOverlayScroll=function(a,b,c){var d=this._getItemHeight();return Math.min(Math.max(0,d*a-b+d/2),c)};
g.ngOnInit=function(){var a=this;nN.prototype.ngOnInit.call(this);this._viewportRuler.change().pipe(ef(this._destroy)).subscribe(function(){a.panelOpen&&(a._triggerRect=a.trigger.nativeElement.getBoundingClientRect(),a._changeDetectorRef.markForCheck())})};
g.open=function(){var a=this;nN.prototype._canOpen.call(this)&&(nN.prototype.open.call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Ue()).subscribe(function(){a._triggerFontSize&&a._overlayDir.overlayRef&&a._overlayDir.overlayRef.overlayElement&&(a._overlayDir.overlayRef.overlayElement.style.fontSize=a._triggerFontSize+
"px")}))};g._scrollOptionIntoView=function(a){var b=Kqa(a,this.options,this.optionGroups),c=this._getItemHeight();this.panel.nativeElement.scrollTop=0===a&&1===b?0:Lqa((a+b)*c,c,this.panel.nativeElement.scrollTop,256)};g._positioningSettled=function(){this._calculateOverlayOffsetX();this.panel.nativeElement.scrollTop=this._scrollTop};
g._panelDoneAnimating=function(a){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck());nN.prototype._panelDoneAnimating.call(this,a)};g._getChangeEvent=function(a){return new Bac(this,a)};g._getOverlayMinWidth=function(){var a;return null==(a=this._triggerRect)?void 0:a.width};
g._calculateOverlayOffsetX=function(){var a=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),b=this._viewportRuler.getViewportSize(),c=this._isRtl(),d=this.multiple?56:32;var e=this.multiple?40:this.disableOptionCentering?16:(e=this._selectionModel.selected[0]||this.options.first)&&e.group?32:16;c||(e*=-1);var f=-(a.left+e-(c?d:0));a=a.right+e-b.width+(c?0:d);0<f?e+=f+8:0<a&&(e-=a+8);this._overlayDir.offsetX=Math.round(e);this._overlayDir.overlayRef.updatePosition()};
g._calculateOverlayOffsetY=function(a,b,c){var d=this._getItemHeight(),e=(d-this._triggerRect.height)/2,f=Math.floor(256/d);return this.disableOptionCentering?0:Math.round(-1*(0===this._scrollTop?a*d:this._scrollTop===c?(a-(this._getItemCount()-f))*d+(d-(this._getItemCount()*d-256)%d):b-d/2)-e)};
g._checkOverlayWithinViewport=function(a){var b=this._getItemHeight(),c=this._viewportRuler.getViewportSize(),d=this._triggerRect.top-8;c=c.height-this._triggerRect.bottom-8;var e=Math.abs(this._offsetY);b=Math.min(this._getItemCount()*b,256)-e-this._triggerRect.height;b>c?this._adjustPanelUp(b,c):e>d?this._adjustPanelDown(e,d,a):this._transformOrigin=this._getOriginBasedOnOption()};
g._adjustPanelUp=function(a,b){a=Math.round(a-b);this._scrollTop-=a;this._offsetY-=a;this._transformOrigin=this._getOriginBasedOnOption();0>=this._scrollTop&&(this._offsetY=this._scrollTop=0,this._transformOrigin="50% bottom 0px")};g._adjustPanelDown=function(a,b,c){a=Math.round(a-b);this._scrollTop+=a;this._offsetY+=a;this._transformOrigin=this._getOriginBasedOnOption();this._scrollTop>=c&&(this._scrollTop=c,this._offsetY=0,this._transformOrigin="50% top 0px")};
g._calculateOverlayPosition=function(){var a=this._getItemHeight(),b=this._getItemCount(),c=Math.min(b*a,256);a=b*a-c;b=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0);b+=Kqa(b,this.options,this.optionGroups);c/=2;this._scrollTop=this._calculateOverlayScroll(b,c,a);this._offsetY=this._calculateOverlayOffsetY(b,c,a);this._checkOverlayWithinViewport(a)};
g._getOriginBasedOnOption=function(){var a=this._getItemHeight();return"50% "+(Math.abs(this._offsetY)-(a-this._triggerRect.height)/2+a/2)+"px 0px"};g._getItemHeight=function(){return 3*this._triggerFontSize};g._getItemCount=function(){return this.options.length+this.optionGroups.length};pN.\u0275fac=function(){var a;return function(b){return(a||(a=zd(pN)))(b||pN)}}();
pN.\u0275cmp=Lc({type:pN,selectors:[["mat-select"]],contentQueries:function(a,b,c){a&1&&(Vf(c,rac,5),Vf(c,qA,5),Vf(c,Py,5));if(a&2){var d;Yf(d=Zf())&&(b.customTrigger=d.first);Yf(d=Zf())&&(b.options=d);Yf(d=Zf())&&(b.optionGroups=d)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:20,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._handleKeydown(c)})("focus",function(){return b._onFocus()})("blur",function(){return b._onBlur()});
a&2&&(pf("id",b.id)("tabindex",b.tabIndex)("aria-controls",b.panelOpen?b.id+"-panel":null)("aria-expanded",b.panelOpen)("aria-label",b.ariaLabel||null)("aria-required",b.required.toString())("aria-disabled",b.disabled.toString())("aria-invalid",b.errorState)("aria-activedescendant",b._getAriaActiveDescendant())("mat-id-collision",null),yf("mat-select-disabled",b.disabled)("mat-select-invalid",b.errorState)("mat-select-required",b.required)("mat-select-empty",b.empty)("mat-select-multiple",b.multiple))},
inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[bg([{provide:MA,useExisting:pN},{provide:Oy,useExisting:pN}]),nf],ngContentSelectors:["mat-select-trigger","*"],decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",
4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder",
"mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(a,b){a&1&&(Lf(Aac),E(0,"div",0,1),M("click",function(){return b.toggle()}),E(3,"div",2),C(4,UHa,2,1,"span",3)(5,XHa,3,2,"span",4),G(),E(6,"div",5),I(7,"div",6),G()(),C(8,YHa,4,14,"ng-template",7),M("backdropClick",function(){return b.close()})("attach",
function(){return b._onAttached()})("detach",function(){return b.close()}));if(a&2){var c=Q(1);pf("aria-owns",b.panelOpen?b.id+"-panel":null);y(3);D("ngSwitch",b.empty);pf("id",b._valueId);y();D("ngSwitchCase",!0);y();D("ngSwitchCase",!1);y(3);D("cdkConnectedOverlayPanelClass",b._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",b._scrollStrategy)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.panelOpen)("cdkConnectedOverlayPositions",b._positions)("cdkConnectedOverlayMinWidth",b._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",
b._offsetY)}},dependencies:[gw,iw,jw,kw,Ey,Dy],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}\n'],
encapsulation:2,data:{animation:[tac,uac]},changeDetection:0});var qN=function(){};qN.\u0275fac=function(a){return new (a||qN)};qN.\u0275mod=Nc({type:qN});qN.\u0275inj=wc({providers:[yac],imports:[uw,Fy,rA,Gy,py,eB,rA,Gy]});var Cac=new Xc("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(a){return{left:a?(a.offsetLeft||0)+"px":"0",width:a?(a.offsetWidth||0)+"px":"0"}}}});var Dac=new Xc("MatTabContent");var Eac=new Xc("MAT_TABS_CONFIG");Hg({passive:!0});ZHa(function(){});var Fac=new Xc("MatTabLabel"),Gac=new Xc("MAT_TAB");var Hac=new Xc("MAT_TAB_GROUP");ZHa(function(){});var Iac=mh("translateTab",[ph("center, void, left-origin-center, right-origin-center",oh({transform:"none"})),ph("left",oh({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),ph("right",oh({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),rh("* => left, * => right, left => center, right => center",nh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),rh("void => left-origin-center",[oh({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),
nh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),rh("void => right-origin-center",[oh({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),nh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])]);var Jac=function(a){return{animationDuration:a}},Kac=function(a,b){return{value:a,params:b}},rN=function(a,b,c,d){Yx.call(this,a,b,d);this._host=c;this._leavingSub=this._centeringSub=W.Subscription.EMPTY};X(rN,Yx);
rN.prototype.ngOnInit=function(){var a=this;Yx.prototype.ngOnInit.call(this);this._centeringSub=this._host._beforeCentering.pipe(cf(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()})};rN.prototype.ngOnDestroy=function(){Yx.prototype.ngOnDestroy.call(this);this._centeringSub.unsubscribe();this._leavingSub.unsubscribe()};
rN.\u0275fac=function(a){return new (a||rN)(A(Qu),A(Sf),A(Cc(function(){return sN})),A(Tg))};rN.\u0275dir=Qc({type:rN,selectors:[["","matTabBodyHost",""]],features:[nf]});
var tN=function(a,b,c){var d=this;this._elementRef=a;this._dir=b;this._dirChangeSubscription=W.Subscription.EMPTY;this._translateTabComplete=new W.Subject;this._onCentering=new zv;this._beforeCentering=new zv;this._afterLeavingCenter=new zv;this._onCentered=new zv(!0);this.animationDuration="500ms";this.preserveContent=!1;b&&(this._dirChangeSubscription=b.change.subscribe(function(e){d._computePositionAnimationState(e);c.markForCheck()}));this._translateTabComplete.pipe(Te(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=tN.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"};Vg.Object.defineProperties(tN.prototype,{position:{configurable:!0,enumerable:!0,set:function(a){this._positionIndex=a;this._computePositionAnimationState()}}});
tN.\u0275fac=function(a){return new (a||tN)(A(Ad),A(ay,8),A(Uu))};tN.\u0275dir=Qc({type:tN,inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}});var sN=function(a,b,c){tN.call(this,a,b,c)};X(sN,tN);sN.\u0275dir=tN.\u0275dir;
sN.\u0275fac=function(a){return new (a||sN)(A(Ad),A(ay,8),A(Uu))};
sN.\u0275cmp=Lc({type:sN,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&Uf(Yx,5);if(a&2){var c;Yf(c=Zf())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(a){a&2&&pf("mat-id-collision",null)},features:[nf],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(a,b){a&1&&(E(0,"div",0,1),M("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",
function(c){return b._translateTabComplete.next(c)}),C(2,aIa,0,0,"ng-template",2),G());a&2&&D("@translateTab",gg(3,Kac,b._position,fg(1,Jac,b.animationDuration)))},dependencies:[rN],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:[Iac]}});var uN=function(a){this.template=a};uN.\u0275fac=function(a){return new (a||uN)(A(Rf))};uN.\u0275dir=Qc({type:uN,selectors:[["","matTabContent",""]],features:[bg([{provide:Dac,useExisting:uN}])]});var Lac=Hg({passive:!0}),vN=function(a,b,c,d,e,f,h){var k=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 W.Subject;this._showPaginationControls=!1;this._disableScrollBefore=this._disableScrollAfter=!0;this._stopScrolling=new W.Subject;this._disablePagination=!1;this._selectedIndex=0;this.selectFocusedIndex=new zv;this.indexFocused=new zv;
e.runOutsideAngular(function(){(0,W.fromEvent)(a.nativeElement,"mouseleave").pipe(ef(k._destroyed)).subscribe(function(){k._stopInterval()})})};g=vN.prototype;g.ngAfterViewInit=function(){var a=this;(0,W.fromEvent)(this._previousPaginator.nativeElement,"touchstart",Lac).pipe(ef(this._destroyed)).subscribe(function(){a._handlePaginatorPress("before")});(0,W.fromEvent)(this._nextPaginator.nativeElement,"touchstart",Lac).pipe(ef(this._destroyed)).subscribe(function(){a._handlePaginatorPress("after")})};
g.ngAfterContentInit=function(){var a=this,b=this._dir?this._dir.change:(0,W.of)("ltr"),c=this._viewportRuler.change(150),d=function(){a.updatePagination();a._alignInkBarToSelectedTab()};this._keyManager=Jx(Kx(Ox(Mx(new Rx(this._items),this._getLayoutDirection()))),function(){return!1});Px(this._keyManager,this._selectedIndex);this._ngZone.onStable.pipe(Ue()).subscribe(d);(0,W.merge)(b,c,this._items.changes,this._itemsResized()).pipe(ef(this._destroyed)).subscribe(function(){a._ngZone.run(function(){Promise.resolve().then(function(){a._scrollDistance=
Math.max(0,Math.min(a._getMaxScrollDistance(),a._scrollDistance));d()})});Mx(a._keyManager,a._getLayoutDirection())});this._keyManager.change.subscribe(function(e){a.indexFocused.emit(e);a._setTabFocus(e)})};
g._itemsResized=function(){var a=this;return"function"!==typeof ResizeObserver?W.EMPTY:this._items.changes.pipe(cf(this._items),df(function(b){return new W.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()}})})}),bf(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(!Mg(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)?Mac(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,W.timer)(650,100).pipe(ef((0,W.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}};
Vg.Object.defineProperties(vN.prototype,{disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=Og(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){a=Rg(a);this._selectedIndex!=a&&(this._selectedIndexChanged=!0,this._selectedIndex=a,this._keyManager&&Px(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)}}});vN.\u0275fac=function(a){return new (a||vN)(A(Ad),A(Uu),A(oy),A(ay,8),A(Ge),A(fx),A(Su,8))};vN.\u0275dir=Qc({type:vN,inputs:{disablePagination:"disablePagination"}});var Nac=Yg(function(){}),wN=function(a){var b=Nac.call(this)||this;b.elementRef=a;return b};X(wN,Nac);wN.prototype.focus=function(){this.elementRef.nativeElement.focus()};wN.\u0275fac=function(a){return new (a||wN)(A(Ad))};wN.\u0275dir=Qc({type:wN,features:[nf]});$Ha(wN);var xN=function(a,b,c,d,e,f,h){vN.call(this,a,b,c,d,e,f,h);this._disableRipple=!1};X(xN,vN);xN.prototype._itemSelected=function(a){a.preventDefault()};Vg.Object.defineProperties(xN.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=Og(a)}}});xN.\u0275fac=function(a){return new (a||xN)(A(Ad),A(Uu),A(oy),A(ay,8),A(Ge),A(fx),A(Su,8))};xN.\u0275dir=Qc({type:xN,inputs:{disableRipple:"disableRipple"},features:[nf]});var yN=function(a,b,c){Ux.call(this,a,b);this._closestTab=c};X(yN,Xx);yN.\u0275fac=function(a){return new (a||yN)(A(Rf),A(Sf),A(Gac,8))};yN.\u0275dir=Qc({type:yN,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[bg([{provide:Fac,useExisting:yN}]),nf]});var Oac=Yg(function(){}),zN=function(a,b){var c=Oac.call(this)||this;c._viewContainerRef=a;c._closestTabGroup=b;c.textLabel="";c._contentPortal=null;c._stateChanges=new W.Subject;c.position=null;c.origin=null;c.isActive=!1;return c};X(zN,Oac);zN.prototype.ngOnChanges=function(a){(a.hasOwnProperty("textLabel")||a.hasOwnProperty("disabled"))&&this._stateChanges.next()};zN.prototype.ngOnDestroy=function(){this._stateChanges.complete()};
zN.prototype.ngOnInit=function(){this._contentPortal=new Ux(this._explicitContent||this._implicitContent,this._viewContainerRef)};zN.prototype._setTemplateLabelInput=function(a){a&&a._closestTab===this&&(this._templateLabel=a)};Vg.Object.defineProperties(zN.prototype,{content:{configurable:!0,enumerable:!0,get:function(){return this._contentPortal}}});zN.\u0275fac=function(a){return new (a||zN)(A(Sf),A(Hac,8))};
zN.\u0275dir=Qc({type:zN,viewQuery:function(a,b){a&1&&Uf(Rf,7);if(a&2){var c;Yf(c=Zf())&&(b._implicitContent=c.first)}},inputs:{textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[nf,ed]});var Pac=0,Qac=Wg(Xg(function(a){this._elementRef=a}),"primary"),AN=function(a,b,c,d){a=Qac.call(this,a)||this;a._changeDetectorRef=b;a._animationMode=d;a._tabs=new Tf;a._indexToSelect=0;a._lastFocusedTabIndex=null;a._tabBodyWrapperHeight=0;a._tabsSubscription=W.Subscription.EMPTY;a._tabLabelSubscription=W.Subscription.EMPTY;a._dynamicHeight=!1;a._selectedIndex=null;a.headerPosition="above";a._disablePagination=!1;a._preserveContent=!1;a.selectedIndexChange=new zv;a.focusChange=new zv;a.animationDone=
new zv;a.selectedTabChange=new zv(!0);a._groupId=Pac++;a.animationDuration=c&&c.animationDuration?c.animationDuration:"500ms";a.disablePagination=c&&null!=c.disablePagination?c.disablePagination:!1;a.dynamicHeight=c&&null!=c.dynamicHeight?c.dynamicHeight:!1;var e;a.contentTabIndex=null!=(e=null==c?void 0:c.contentTabIndex)?e:null;a.preserveContent=!(null==c||!c.preserveContent);return a};X(AN,Qac);g=AN.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(cf(this._allTabs)).subscribe(function(b){a._tabs.reset(b.filter(function(c){return c._closestTabGroup===a||!c._closestTabGroup}));Xf(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 Rac;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=W.merge.apply(null,r(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)};
Vg.Object.defineProperties(AN.prototype,{dynamicHeight:{configurable:!0,enumerable:!0,get:function(){return this._dynamicHeight},set:function(a){this._dynamicHeight=Og(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){this._indexToSelect=Rg(a,null)}},animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){this._animationDuration=/^\d+$/.test(a+"")?a+"ms":a}},contentTabIndex:{configurable:!0,
enumerable:!0,get:function(){return this._contentTabIndex},set:function(a){this._contentTabIndex=Rg(a,null)}},disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=Og(a)}},preserveContent:{configurable:!0,enumerable:!0,get:function(){return this._preserveContent},set:function(a){this._preserveContent=Og(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}}});AN.\u0275fac=function(a){return new (a||AN)(A(Ad),A(Uu),A(Eac,8),A(Su,8))};
AN.\u0275dir=Qc({type:AN,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[nf]});var Rac=function(){};var Sac=Number.MAX_SAFE_INTEGER,BN=function(a,b,c,d,e,f,h){vN.call(this,a,d,e,b,c,f,h);this._disableRipple=!1;this.color="primary"};X(BN,vN);BN.prototype._itemSelected=function(){};BN.prototype.ngAfterContentInit=function(){var a=this;this._items.changes.pipe(cf(null),ef(this._destroyed)).subscribe(function(){Tac(a)});vN.prototype.ngAfterContentInit.call(this)};
var Tac=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()}};BN.prototype._getRole=function(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")};
Vg.Object.defineProperties(BN.prototype,{backgroundColor:{configurable:!0,enumerable:!0,get:function(){return this._backgroundColor},set:function(a){var b=this._elementRef.nativeElement.classList;b.remove("mat-tabs-with-background","mat-background-"+this.backgroundColor);a&&b.add("mat-tabs-with-background","mat-background-"+a);this._backgroundColor=a}},disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=Og(a)}}});
BN.\u0275fac=function(a){return new (a||BN)(A(Ad),A(ay,8),A(Ge),A(Uu),A(oy),A(fx),A(Su,8))};BN.\u0275dir=Qc({type:BN,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[nf]});
var Uac=Doa(Xg(Yg(function(){}))),CN=function(a,b,c,d,e,f){var h=Uac.call(this)||this;h._tabNavBar=a;h.elementRef=b;h._focusMonitor=e;h._isActive=!1;h.id="mat-tab-link-"+Sac--;h.rippleConfig=c||{};h.tabIndex=parseInt(d)||0;"NoopAnimations"===f&&(h.rippleConfig.animation={enterDuration:0,exitDuration:0});return h};X(CN,Uac);g=CN.prototype;g.focus=function(){this.elementRef.nativeElement.focus()};g.ngAfterViewInit=function(){this._focusMonitor.monitor(this.elementRef)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this.elementRef)};
g._handleFocus=function(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)};g._handleKeydown=function(a){!this.disabled||32!==a.keyCode&&13!==a.keyCode?this._tabNavBar.tabPanel&&32===a.keyCode&&this.elementRef.nativeElement.click():a.preventDefault()};g._getAriaControls=function(){var a;return this._tabNavBar.tabPanel?null==(a=this._tabNavBar.tabPanel)?void 0:a.id:this.elementRef.nativeElement.getAttribute("aria-controls")};
g._getAriaSelected=function(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")};g._getAriaCurrent=function(){return this.active&&!this._tabNavBar.tabPanel?"page":null};g._getRole=function(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")};g._getTabIndex=function(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex};
Vg.Object.defineProperties(CN.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return this._isActive},set:function(a){a=Og(a);a!==this._isActive&&(this._isActive=a,Tac(this._tabNavBar))}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}});CN.\u0275fac=function(a){return new (a||CN)(A(BN),A(Ad),A(Ry,8),ud("tabindex"),A(px),A(Su,8))};
CN.\u0275dir=Qc({type:CN,inputs:{active:"active",id:"id"},features:[nf]});$Ha(CN);var DN=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._inkBarPositioner=c;this._animationMode=d},Mac=function(a,b){a.show();a._ngZone.run(function(){a._ngZone.onStable.pipe(Ue()).subscribe(function(){var c=a._inkBarPositioner(b),d=a._elementRef.nativeElement;d.style.left=c.left;d.style.width=c.width})})};DN.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"};DN.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"};
DN.\u0275fac=function(a){return new (a||DN)(A(Ad),A(Ge),A(Cac),A(Su,8))};DN.\u0275dir=Qc({type:DN,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(a,b){a&2&&yf("_mat-animation-noopable","NoopAnimations"===b._animationMode)}});var Vac=function(a){return{animationDuration:a}},Wac=function(a,b){return{value:a,params:b}},EN=function(a,b,c,d){rN.call(this,a,b,c,d)};X(EN,rN);EN.\u0275fac=function(a){return new (a||EN)(A(Qu),A(Sf),A(Cc(function(){return FN})),A(Tg))};EN.\u0275dir=Qc({type:EN,selectors:[["","matTabBodyHost",""]],features:[nf]});var FN=function(a,b,c){tN.call(this,a,b,c)};X(FN,tN);FN.\u0275dir=tN.\u0275dir;FN.\u0275fac=function(a){return new (a||FN)(A(Ad),A(ay,8),A(Uu))};
FN.\u0275cmp=Lc({type:FN,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&Uf(Yx,5);if(a&2){var c;Yf(c=Zf())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-tab-body"],hostVars:1,hostBindings:function(a){a&2&&pf("mat-id-collision",null)},features:[nf],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(a,b){a&1&&(E(0,"div",0,1),M("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",
function(c){return b._translateTabComplete.next(c)}),C(2,bIa,0,0,"ng-template",2),G());a&2&&D("@translateTab",gg(3,Wac,b._position,fg(1,Vac,b.animationDuration)))},dependencies:[EN],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[Iac]}});var GN=function(){uN.apply(this,arguments)};X(GN,uN);GN.\u0275fac=function(){var a;return function(b){return(a||(a=zd(GN)))(b||GN)}}();GN.\u0275dir=Qc({type:GN,selectors:[["","matTabContent",""]],features:[bg([{provide:Dac,useExisting:GN}]),nf]});var HN=function(){return wN.apply(this,arguments)||this};X(HN,wN);HN.\u0275fac=function(){var a;return function(b){return(a||(a=zd(HN)))(b||HN)}}();HN.\u0275dir=Qc({type:HN,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(a,b){a&2&&(pf("aria-disabled",!!b.disabled),yf("mat-tab-disabled",b.disabled))},inputs:{disabled:"disabled"},features:[nf]});var Xac=["tabListContainer"],Yac=["tabList"],Zac=["tabListInner"],$ac=["nextPaginator"],abc=["previousPaginator"],IN=function(a,b,c,d,e,f,h){xN.call(this,a,b,c,d,e,f,h)};X(IN,xN);IN.\u0275dir=xN.\u0275dir;IN.\u0275fac=function(a){return new (a||IN)(A(Ad),A(Uu),A(oy),A(ay,8),A(Ge),A(fx),A(Su,8))};
IN.\u0275cmp=Lc({type:IN,selectors:[["mat-tab-header"]],contentQueries:function(a,b,c){a&1&&Vf(c,HN,4);if(a&2){var d;Yf(d=Zf())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(Uf(DN,7),Uf(Xac,7),Uf(Yac,7),Uf(Zac,7),Uf($ac,5),Uf(abc,5));if(a&2){var c;Yf(c=Zf())&&(b._inkBar=c.first);Yf(c=Zf())&&(b._tabListContainer=c.first);Yf(c=Zf())&&(b._tabList=c.first);Yf(c=Zf())&&(b._tabListInner=c.first);Yf(c=Zf())&&(b._nextPaginator=c.first);Yf(c=Zf())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-header"],
hostVars:5,hostBindings:function(a,b){a&2&&(pf("mat-id-collision",null),yf("mat-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-tab-header-rtl","rtl"==b._getLayoutDirection()))},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[nf],ngContentSelectors:["*"],decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before",
"mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled",
"disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(a,b){a&1&&(Lf(),E(0,"button",0,1),M("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),I(2,"div",2),G(),E(3,"div",3,4),M("keydown",function(c){return b._handleKeydown(c)}),E(5,"div",5,6),M("cdkObserveContent",function(){return b._onContentChanges()}),E(7,"div",7,8),Mf(9),G(),I(10,"mat-ink-bar"),
G()(),E(11,"button",9,10),M("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),I(13,"div",2),G());a&2&&(yf("mat-tab-header-pagination-disabled",b._disableScrollBefore),D("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),y(5),yf("_mat-animation-noopable","NoopAnimations"===b._animationMode),y(6),yf("mat-tab-header-pagination-disabled",
b._disableScrollAfter),D("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[Sy,yx,DN],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],
encapsulation:2});var JN=function(){var a=zN.apply(this,arguments)||this;a._explicitContent=void 0;return a};X(JN,zN);JN.\u0275dir=zN.\u0275dir;Vg.Object.defineProperties(JN.prototype,{templateLabel:{configurable:!0,enumerable:!0,get:function(){return this._templateLabel},set:function(a){this._setTemplateLabelInput(a)}}});JN.\u0275fac=function(){var a;return function(b){return(a||(a=zd(JN)))(b||JN)}}();
JN.\u0275cmp=Lc({type:JN,selectors:[["mat-tab"]],contentQueries:function(a,b,c){a&1&&(Vf(c,Fac,5),Vf(c,Dac,7,Rf));if(a&2){var d;Yf(d=Zf())&&(b.templateLabel=d.first);Yf(d=Zf())&&(b._explicitContent=d.first)}},hostVars:1,hostBindings:function(a){a&2&&pf("mat-id-collision",null)},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[bg([{provide:Gac,useExisting:JN}]),nf],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Lf(),C(0,cIa,1,0,"ng-template"))},encapsulation:2});var bbc=["tabBodyWrapper"],cbc=["tabHeader"],KN=function(a,b,c,d){return AN.call(this,a,b,c,d)||this};X(KN,AN);KN.\u0275dir=AN.\u0275dir;KN.\u0275fac=function(a){return new (a||KN)(A(Ad),A(Uu),A(Eac,8),A(Su,8))};
KN.\u0275cmp=Lc({type:KN,selectors:[["mat-tab-group"]],contentQueries:function(a,b,c){a&1&&Vf(c,JN,5);if(a&2){var d;Yf(d=Zf())&&(b._allTabs=d)}},viewQuery:function(a,b){a&1&&(Uf(bbc,5),Uf(cbc,5));if(a&2){var c;Yf(c=Zf())&&(b._tabBodyWrapper=c.first);Yf(c=Zf())&&(b._tabHeader=c.first)}},hostAttrs:["ngSkipHydration","",1,"mat-tab-group"],hostVars:5,hostBindings:function(a,b){a&2&&(pf("mat-id-collision",null),yf("mat-tab-group-dynamic-height",b.dynamicHeight)("mat-tab-group-inverted-header","below"===
b.headerPosition))},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[bg([{provide:Hac,useExisting:KN}]),nf],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",
4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",
""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(a,b){a&1&&(E(0,"mat-tab-header",0,1),M("indexFocused",function(c){return b._focusChanged(c)})("selectFocusedIndex",function(c){return b.selectedIndex=c}),C(2,gIa,5,15,"div",2),G(),E(3,"div",3,4),C(5,hIa,1,11,"mat-tab-body",5),G());a&2&&(D("selectedIndex",b.selectedIndex||0)("disableRipple",b.disableRipple)("disablePagination",
b.disablePagination),y(2),D("ngForOf",b._tabs),y(),yf("_mat-animation-noopable","NoopAnimations"===b._animationMode),y(2),D("ngForOf",b._tabs))},dependencies:[gw,hw,dw,Yx,Sy,rx,HN,FN,IN],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],
encapsulation:2});var LN=function(){yN.apply(this,arguments)};X(LN,yN);LN.\u0275fac=function(){var a;return function(b){return(a||(a=zd(LN)))(b||LN)}}();LN.\u0275dir=Qc({type:LN,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[bg([{provide:Fac,useExisting:LN}]),nf]});var dbc=["tabListContainer"],ebc=["tabList"],fbc=["tabListInner"],gbc=["nextPaginator"],hbc=["previousPaginator"],MN=function(a,b,c,d,e,f,h){BN.call(this,a,b,c,d,e,f,h)};X(MN,BN);MN.\u0275dir=BN.\u0275dir;MN.\u0275fac=function(a){return new (a||MN)(A(Ad),A(ay,8),A(Ge),A(Uu),A(oy),A(fx),A(Su,8))};
MN.\u0275cmp=Lc({type:MN,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(a,b,c){a&1&&Vf(c,NN,5);if(a&2){var d;Yf(d=Zf())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(Uf(DN,7),Uf(dbc,7),Uf(ebc,7),Uf(fbc,7),Uf(gbc,5),Uf(hbc,5));if(a&2){var c;Yf(c=Zf())&&(b._inkBar=c.first);Yf(c=Zf())&&(b._tabListContainer=c.first);Yf(c=Zf())&&(b._tabList=c.first);Yf(c=Zf())&&(b._tabListInner=c.first);Yf(c=Zf())&&(b._nextPaginator=c.first);Yf(c=Zf())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-nav-bar",
"mat-tab-header"],hostVars:12,hostBindings:function(a,b){a&2&&(pf("role",b._getRole())("mat-id-collision",null),yf("mat-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-tab-header-rtl","rtl"==b._getLayoutDirection())("mat-primary","warn"!==b.color&&"accent"!==b.color)("mat-accent","accent"===b.color)("mat-warn","warn"===b.color))},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[nf],attrs:["mat-tab-nav-bar",""],ngContentSelectors:["*"],decls:14,vars:10,
consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple",
"","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(a,b){a&1&&(Lf(),E(0,"button",0,1),M("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),I(2,"div",2),G(),E(3,"div",3,4),M("keydown",function(c){return b._handleKeydown(c)}),
E(5,"div",5,6),M("cdkObserveContent",function(){return b._onContentChanges()}),E(7,"div",7,8),Mf(9),G(),I(10,"mat-ink-bar"),G()(),E(11,"button",9,10),M("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),I(13,"div",2),G());a&2&&(yf("mat-tab-header-pagination-disabled",b._disableScrollBefore),D("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||
null),y(5),yf("_mat-animation-noopable","NoopAnimations"===b._animationMode),y(6),yf("mat-tab-header-pagination-disabled",b._disableScrollAfter),D("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[Sy,yx,DN],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}.mat-tab-link::before{margin:5px}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n"],
encapsulation:2});var NN=function(a,b,c,d,e,f,h,k){a=CN.call(this,a,b,e,f,h,k)||this;a._tabLinkRipple=new Qy(a,c,b,d);WSb(a._tabLinkRipple,b.nativeElement);return a};X(NN,CN);NN.prototype.ngOnDestroy=function(){CN.prototype.ngOnDestroy.call(this);this._tabLinkRipple._removeTriggerEvents()};NN.\u0275fac=function(a){return new (a||NN)(A(MN),A(Ad),A(Ge),A(fx),A(Ry,8),ud("tabindex"),A(px),A(Su,8))};
NN.\u0275dir=Qc({type:NN,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(a,b){a&1&&M("focus",function(){return b._handleFocus()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(pf("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()),yf("mat-tab-disabled",
b.disabled)("mat-tab-label-active",b.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[nf]});var ON=function(){};ON.\u0275fac=function(a){return new (a||ON)};ON.\u0275mod=Nc({type:ON});ON.\u0275inj=wc({imports:[uw,Gy,Zx,Vy,zx,Bx,Gy]});var PN=function(){};PN.\u0275fac=function(a){return new (a||PN)};PN.\u0275mod=Nc({type:PN});PN.\u0275inj=wc({imports:[kN,RE,SH,Fy,HE,jN,qN,ON,$C,JD,bN,cN,aN]});var ibc=new RegExp("ALIAS:("+Object.values({GOOGLERS_UNRESTRICTED:"googlers_unrestricted",GOOGLE_DOMAIN:"google_domain",PUBLIC_NON_GOOGLE:"public_non_google",PUBLIC:"public"}).join("|")+")");var QN=function(a){this.activeSession=a;this.createIframe=oOb(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})},jbc=function(a){var b,c;ke(function(d){if(1==d.nextAddress){if(a.activeSession.isAnonymous()||!a.activeSession.getPassiveLoginIframeUrl())return d.return();le(d,2);b=a.createIframe();return me(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(k),e()}catch(z){}},k=setTimeout(function(){b.removeEventListener("load",h);f(Error("ed"))},5E3);b.addEventListener("load",h);Ura(b,a.activeSession.getPassiveLoginIframeUrl())}),4)}if(2!=d.nextAddress)return xt(d,0);c=pe(d);console.log("first party auth passive login "+c);qe(d)})};
QN.\u0275fac=function(a){return new (a||QN)(p(nt))};QN.\u0275prov=vc({token:QN,factory:QN.\u0275fac,providedIn:"root"});var RN=function(a){this.internalArray_=m(a)};X(RN,n);RN.prototype.getSocialApplication=function(){return cj(this,3,0)};RN.prototype.getSocialApplicationOrUndefined=function(){return xs(this,3)};RN.prototype.getAffinityType=function(){return Zi(this,12,"CONTACT_STORE_DEFAULT_AFFINITY")};RN.prototype.setAffinityType=function(a){return Lh(this,12,a)};var SN=function(a){this.internalArray_=m(a)};X(SN,n);SN.prototype.getExperimentIdsList=function(a){return si(this,4,hi(a))};SN.prototype.setExperimentIdsList=function(a){return Lb(this,4,a,mb)};SN.prototype.getExperimentIds=function(){return bu(this,4)};SN.prototype.setExperimentIds=function(a){gu(this,4,a)};SN.repeatedFields_=[4];var kbc=function(a){this.internalArray_=m(a)};X(kbc,n);g=kbc.prototype;g.getClientInfo=function(){return $i(this,RN,1)};g.getMutableClientInfo=function(){return Vt(this,RN,1)};g.setClientInfo=function(a){li(this,RN,1,a)};g.getExperiments=function(){return $i(this,SN,2)};g.setExperiments=function(a){return li(this,SN,2,a)};g.hasExperiments=function(){return ji(this,SN,2)};var lbc=Mda(kbc);var mbc;var nbc=function(a){this.internalArray_=m(a)};X(nbc,n);g=nbc.prototype;g.getDelegatorId=function(){return Zi(this,2)};g.getEnvType=function(){return cj(this,5,0)};g.getEnvType_legacyNullable=function(){return ho(this,5)};g.setEnvType=function(a){tj(this,5,a)};g.getCacheSize=function(){return qi(this,7)};g.setCacheSize=function(a){rj(this,7,a)};g.hasCacheSize=function(){return Yi(this,7)};var lIa=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,jIa=/([#].*?&|[#])authuser=([^&#]*)\b/,kIa=/([?][^#]*?&|[?])authuser=([^&#]*)\b/;var TN=function(){this.config_=Ab(mbc||(mbc=lbc('[["AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc","ANVavNLWozk6oXyP9qguyx4QAuef5j_qQw4Y3Rw",740,"MINIMAL_DOMAIN","BUGANIZER",null,null,null,null,true,true],[]]')));this.userInfo_=new nbc;this.onAuthError_=this.gapiClientThenable_=null};TN.prototype.getClientInfo=function(){return this.config_.getClientInfo()};TN.prototype.getExperiments=function(){return this.config_.getExperiments()};TN.prototype.getUserInfo=function(){return this.userInfo_};
var obc=function(a){a.gapiClientThenable_||(a.gapiClientThenable_=qIa(10,5E3).then(function(b){return b.client}));return a.gapiClientThenable_};TN.prototype.getAuthErrorHandler=function(){return this.onAuthError_};TN.prototype.setAuthErrorHandler=function(a){this.onAuthError_=a};var pbc=function(){};var UN=[];UN.push=function(){throw Error("fd");};var VN={cancel:function(){},isPending:function(){return!1}};var WN=function(a){this.response_=a||function(){};this.timer_=iq(this.onTimer_,0,this);this.addressBookId_=""};g=WN.prototype;g.setResponse=function(a){this.response_=a};g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.cancel=function(){jq(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 qbc=new Map([["personal",2],["domain",4],["pcab",3]]);var Jo=function(a){this.internalArray_=m(a)};X(Jo,n);g=Jo.prototype;g.getEventType=function(){return cj(this,1,0)};g.setEventType=function(a){return tj(this,1,a)};g.getApiType=function(){return cj(this,2,0)};g.setApiType=function(a){return tj(this,2,a)};g.getCacheStatus=function(){return cj(this,3,0)};g.setCacheStatus=function(a){return tj(this,3,a)};g.getAddressBook=function(){return cj(this,4,0)};g.setAddressBook=function(a){return tj(this,4,a)};g.getRpcType=function(){return cj(this,5,0)};
g.setRpcType=function(a){return tj(this,5,a)};g.getLookupType=function(){return cj(this,6,0)};g.setLookupType=function(a){return tj(this,6,a)};g.getToken=function(){return Zi(this,7,"")};g.setToken=function(a){return Lh(this,7,a)};var XN=function(a){this.internalArray_=m(a)};X(XN,n);g=XN.prototype;g.setDevice=function(a){return tj(this,1,a)};g.getApplication=function(){return cj(this,2,0)};g.setApplication=function(a){return tj(this,2,a)};g.getApplicationOrUndefined=function(){return xs(this,2)};g.setPlatform=function(a){tj(this,3,a)};var YN=function(a){this.internalArray_=m(a)};X(YN,n);g=YN.prototype;g.setEventSource=function(a){tj(this,2,a)};g.getEventSourceOrUndefined=function(){return xs(this,2)};g.getSocialClient=function(){return $i(this,XN,3)};g.setSocialClient=function(a){return li(this,XN,3,a)};g.setVersionName=function(a){return Lh(this,5,a)};g.getBaselineCl=function(){return Yt(this,7)};g.setBaselineCl=function(a){return zj(this,7,a)};g.hasBaselineCl=function(){return jj(this,7)};
g.getBaselineClOrUndefined=function(){return eu(this,7)};g.setClientAgent=function(a){return tj(this,9,a)};g.getClientAgentOrUndefined=function(){return xs(this,9)};g.getPeoplekitEntryPoint=function(){return ho(this,11)};g.setPeoplekitEntryPoint=function(a){return tj(this,11,a)};g.getPeoplekitEntryPointOrUndefined=function(){return xs(this,11)};g.setEnvironment=function(a){return tj(this,13,a)};g.getEnvironmentOrUndefined=function(){return xs(this,13)};
g.setSharekitEntryPoint=function(a){tj(this,14,a)};g.getSharekitEntryPointOrUndefined=function(){return xs(this,14)};YN.repeatedFields_=[6];var rbc=function(a){this.internalArray_=m(a)};X(rbc,n);g=rbc.prototype;g.getApiType=function(){return cj(this,1,0)};g.setApiType=function(a){return tj(this,1,a)};g.getItemCount=function(){return qi(this,2)};g.setItemCount=function(a){return rj(this,2,a)};g.hasItemCount=function(){return Yi(this,2)};var sbc=function(a){this.internalArray_=m(a)};X(sbc,n);g=sbc.prototype;g.getApiType=function(){return cj(this,1,0)};g.setApiType=function(a){return tj(this,1,a)};g.getItemCount=function(){return qi(this,2)};g.setItemCount=function(a){return rj(this,2,a)};g.hasItemCount=function(){return Yi(this,2)};g.getStatus=function(){return cj(this,4,2)};g.setStatus=function(a){return tj(this,4,a)};g.hasStatus=function(){return aj(this,4)};g.setTotalUsec=function(a){return zj(this,5,a)};
g.setBlockedUsec=function(a){return zj(this,6,a)};g.setNetworkUsec=function(a){zj(this,7,a)};g.getCacheStatus=function(){return cj(this,8,0)};g.setCacheStatus=function(a){return tj(this,8,a)};g.getAddressBook=function(){return cj(this,9,0)};g.setAddressBook=function(a){return tj(this,9,a)};var ZN=function(a){this.internalArray_=m(a)};X(ZN,n);ZN.prototype.getStatus=function(){return cj(this,1,2)};ZN.prototype.setStatus=function(a){return tj(this,1,a)};ZN.prototype.hasStatus=function(){return aj(this,1)};ZN.prototype.setTotalUsec=function(a){return zj(this,2,a)};var $N=function(a){this.internalArray_=m(a)};X($N,n);$N.prototype.getRpcType=function(){return cj(this,1,0)};$N.prototype.setRpcType=function(a){return tj(this,1,a)};$N.prototype.getLookupType=function(){return cj(this,2,0)};$N.prototype.setLookupType=function(a){return tj(this,2,a)};var tbc=function(a){this.internalArray_=m(a)};X(tbc,n);g=tbc.prototype;g.getRpcType=function(){return cj(this,1,0)};g.setRpcType=function(a){return tj(this,1,a)};g.getLookupType=function(){return cj(this,2,0)};g.setLookupType=function(a){return tj(this,2,a)};g.getStatus=function(){return cj(this,3,2)};g.setStatus=function(a){return tj(this,3,a)};g.hasStatus=function(){return aj(this,3)};g.setTotalUsec=function(a){return zj(this,4,a)};g.setBlockedUsec=function(a){return zj(this,5,a)};
g.setNetworkUsec=function(a){zj(this,6,a)};var aO=function(a){this.internalArray_=m(a)};X(aO,n);g=aO.prototype;g.getEnvType=function(){return cj(this,1,0)};g.getEnvType_legacyNullable=function(){return ho(this,1)};g.setEnvType=function(a){tj(this,1,a)};g.getCacheSize=function(){return qi(this,2)};g.setCacheSize=function(a){rj(this,2,a)};g.hasCacheSize=function(){return Yi(this,2)};var bO=function(a){this.internalArray_=m(a)};X(bO,n);g=bO.prototype;g.getClientInterface=function(){return $i(this,YN,1)};g.setClientInterface=function(a){return li(this,YN,1,a)};g.getSource=function(){return cj(this,2,0)};g.setSource=function(a){return tj(this,2,a)};g.hasSource=function(){return aj(this,2)};g.getSourceOrUndefined=function(){return xs(this,2)};g.getEventType=function(){return cj(this,3,0)};g.getEventType_legacyNullable=function(){return ho(this,3)};
g.setEventType=function(a){return tj(this,3,a)};g.setRpcRequest=function(a){return Gk(this,5,cO,a)};g.setRpcResponse=function(a){return Gk(this,6,cO,a)};g.setApiCall=function(a){return Gk(this,7,cO,a)};g.setApiResult=function(a){return Gk(this,8,cO,a)};g.getUserInfo=function(){return $i(this,aO,9)};g.setUserInfo=function(a){return li(this,aO,9,a)};g.hasUserInfo=function(){return ji(this,aO,9)};var cO=[4,5,6,7,8];var ubc=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]]),vbc=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]]),wbc=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]]),xbc=function(a){return vbc.has(a)?vbc.get(a):1},ybc=function(a){return wbc.has(a)?wbc.get(a):2};var zbc=function(a){this.request_=a;this.errorCode_=0},Abc=function(a,b){b=new zbc(b);b.errorCode_=a;b.errorMessage_="A server error has occurred.";return b};g=zbc.prototype;g.hasChanges=function(){return this.mutateResponse_&&cj(this.mutateResponse_,2,0)?cj(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 dO=function(a){this.map_=new sG;this.size=0;a&&this.addAll(a)},Bbc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+Aa(a):b.charAt(0)+a};g=dO.prototype;g.getCount=function(){return this.map_.size};g.add=function(a){this.map_.set(Bbc(a),a);this.setSizeInternal_(this.map_.size)};g.addAll=function(a){a=mD(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=mD(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(Bbc(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(Bbc(a))};g.contains=function(a){return this.map_.containsKey(Bbc(a))};g.intersection=function(a){var b=new dO;a=mD(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 dO(this)};g.equals=function(a){return this.getCount()==d0b(a)&&Cbc(this,a)};
var Cbc=function(a,b){var c=d0b(b);if(a.getCount()>c)return!1;!(b instanceof dO)&&5<c&&(b=new dO(b));return g0b(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(xa(e)||"string"===typeof e)d=sa(e,d);else a:{for(var f in e)if(e[f]==d){d=!0;break a}d=!1}return d})};dO.prototype.__iterator__=function(){return this.map_.__iterator__(!1)};dO.prototype[Symbol.iterator]=function(){return this.values()};
dO.prototype.setSizeInternal_=function(a){this.size=a};var eO=function(a,b,c){this.fields_=a;this.name_=b;this.contains_=new dO(c);this.extraFields_=[]};eO.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 Dbc=function(a){a.fieldSet_||(a.fieldSet_=new dO(a.fields_));return a.fieldSet_};
eO.prototype.contains=function(a){if(this.contains_.contains(a))return!0;this.doesntContain_||(this.doesntContain_=new dO);if(this.doesntContain_.has(a))return!1;var b=Dbc(this),c=Dbc(a);if(g0b(c,b.contains,b))return this.contains_.add(a),!0;this.doesntContain_.add(a);return!1};var Ebc=new eO(["6","12"],"1"),Fbc=new eO("2 1f 1c 12 16 13 14 1d 22 1b 20".split(" "),"4",[Ebc]);new eO("6 12 16 17 18 1a".split(" "),"3",[Ebc]);
new eO("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",[Ebc,Fbc]);new eO([]);var Gbc={token:"",addressBookId:"personal",matchType:1,includeContacts:!0,includeGroups:!0,isAutoCompleteMode:!0,delayMillis:5E3,maxMatches:-1,maxTries:10,name:"Load All Contacts"};var Hbc=function(a,b,c){wB.call(this);this.scheduler=a;this.runFunction_=b;this.group=c||a.createGroup()};X(Hbc,wB);g=Hbc.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 Ibc=function(a){wB.call(this);this.scheduler=a;this.maxNumRetries_=0;this.reset()};X(Ibc,wB);g=Ibc.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(){wB.prototype.disposeInternal.call(this);this.scheduler=null};var Jbc=function(){wB.call(this);this.states={};this.currentGroup=1};X(Jbc,wB);Jbc.prototype.schedule=function(a,b,c,d){b=b||0;var e=Date.now()+b,f=this.states[a.getGroup()];f||(f=new Ibc(this),this.states[a.getGroup()]=f);f.setMaxNumRetries(Math.max(c||1,f.getMaxNumRetries()));switch(f.runState){case 1:case 5:f.reset();Kbc(a,b,e);break;case 6:Kbc(a,b,e);break;case 4:d&&(f.reset(),Kbc(a,b,e));break;case 2:e<f.runTime?(this.cancel(f),f.reset(),Kbc(a,b,e)):f.numTriesLeft=f.maxNumRetries_}};
var Kbc=function(a,b,c){0==b?(a.setRunState(3),a.run()):(a.setRunState(2),a.setRunTime(c),a.setRunTimerId(iq(a.run,b,a)))};g=Jbc.prototype;g.getState=function(a){return this.states[a]};g.createGroup=function(){return""+this.currentGroup++};g.disposeInternal=function(){wB.prototype.disposeInternal.call(this);for(var a in this.states){var b=this.states[a];this.cancel(b);Jh(b)}this.states={}};g.cancel=function(a){2==a.runState&&jq(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 Lbc={SOMETHING_CHANGED:"a",ERROR:"b"},fO=function(a,b){yB.call(this,a&&a[0].getError()?"b":"a");this.responses_=a;this.source_=b||"d"};X(fO,yB);fO.prototype.getChanges=function(){if(!this.changes_){if(!this.responses_)return null;var a=[];ra(this.responses_,function(b){b=cj(b,2,0).getChanges();a&&b?a=a.concat(b):a=null});this.changes_=a}return this.changes_};fO.prototype.getSource=function(){return this.source_};var Mbc=function(a,b){this.fn_=a;this.handler_=b};Mbc.prototype.execute=function(a){this.fn_&&(this.fn_.call(this.handler_||null,a),this.fn_=this.handler_=null)};Mbc.prototype.abort=function(){this.handler_=this.fn_=null};lXb(function(a){Mbc.prototype.execute=a(Mbc.prototype.execute)});var Nbc=[];var gO=function(a,b){var c=c||[];this.serviceId_=a;this.moduleId_=b||null;this.dependencies_=[];Obc(this,c)};gO.prototype.toString=function(){return this.serviceId_};gO.prototype.getModuleId=function(){return this.moduleId_};var Obc=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("gd`"+a.serviceId_);b.map(function(d){return d.getModuleId()}).forEach(function(d){Nbc.push(function(e){e.addExtraEdge(a.moduleId_,d)})})}};new gO("z72MOc","z72MOc");new gO("ZtVrH");new gO("rJmJrc","rJmJrc");new gO("fJuxOc");new gO("NGntwf");new gO("ofuapc");new gO("BWETze");new gO("ZmXAm");new gO("n73qwf","n73qwf");new gO("Bgf0ib");new gO("MpJwZc","MpJwZc");new gO("UUJqVe","UUJqVe");new gO("GHAeAc","GHAeAc");new gO("Wt6vjf","Wt6vjf");new gO("byfTOb","byfTOb");new gO("LEikZe","LEikZe");new gO("lsjVmc","lsjVmc");new gO("pVbxBc");new gO("klpyYe");new gO("OPbIxb");new gO("pg9hFd");new gO("IaqD3e");new gO("Xpw1of");new gO("v5BQle");new gO("tdUkaf");new gO("WSziFf");new gO("UBSgGf");new gO("zZa4xc");new gO("o1bZcd");new gO("WwG67d");new gO("JccZRe");new gO("amY3Td");new gO("ABma3e");new gO("gSshPb");new gO("yu4DA");new gO("vk3Wc");new gO("IykvEf");new gO("J5K1Ad");new gO("IW8Usd");new gO("jbDgG");new gO("b8xKu");new gO("d0RAGb");new gO("AzG0ke");new gO("J4QWB");new gO("TuDsZ");new gO("hdXIif");new gO("mITR5c");new gO("DFElXb");new gO("FENZqe");new gO("tLnxq");var hO=function(){wB.call(this);this.eventTarget_=new No;this.updateCacheEventTarget_=new No;this.mutationIdMap_=new vG};X(hO,wB);hO.prototype.dispatchEvent=function(a){this.updateCacheEventTarget_.dispatchEvent(a);this.eventTarget_.dispatchEvent(a)};hO.prototype.getEventTarget=function(){return this.eventTarget_};
hO.prototype.disposeInternal=function(){wB.prototype.disposeInternal.call(this);this.eventTarget_.dispose();this.eventTarget_=null;this.updateCacheEventTarget_.dispose();this.updateCacheEventTarget_=null};var us=function(a){this.internalArray_=m(a)};X(us,n);var ts=function(a,b){return Lh(a,1,b)};g=us.prototype;g.getLogSource=function(){return cj(this,2,-1)};g.setLogSource=function(a){return tj(this,2,a)};g.getApplication=function(){return cj(this,3,0)};g.setApplication=function(a){return tj(this,3,a)};g.getApplicationOrUndefined=function(){return xs(this,3)};g.getVersion=function(){return Zi(this,4)};g.setVersion=function(a){return Lh(this,4,a)};g.getVersionOrUndefined=function(){return fu(this,4)};
g.getBaselineCl=function(){return qi(this,5)};g.setBaselineCl=function(a){return rj(this,5,a)};g.hasBaselineCl=function(){return Yi(this,5)};g.getBaselineClOrUndefined=function(){return du(this,5)};g.getEnableClearcut=function(){return Xi(this,6)};g.setEnableClearcut=function(a){return Mh(this,6,a)};var Cfb=function(a,b){return Lb(a,7,b,mb)};g=us.prototype;g.getExperimentId=function(){return bu(this,7)};g.setClientAgent=function(a){return tj(this,8,a)};
g.getClientAgentOrUndefined=function(){return xs(this,8)};g.setEventSource=function(a){tj(this,9,a)};g.getEventSourceOrUndefined=function(){return xs(this,9)};g.getClearcutUrl=function(){return Zi(this,10)};g.setClearcutUrl=function(a){Lh(this,10,a)};g.setEnvironment=function(a){return tj(this,11,a)};g.getEnvironmentOrUndefined=function(){return xs(this,11)};g.getPeoplekitEntryPoint=function(){return cj(this,12,0)};g.setPeoplekitEntryPoint=function(a){return tj(this,12,a)};
g.getPeoplekitEntryPointOrUndefined=function(){return xs(this,12)};g.setSharekitEntryPoint=function(a){tj(this,13,a)};g.getSharekitEntryPointOrUndefined=function(){return xs(this,13)};us.repeatedFields_=[7];var Pbc=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 Qbc=function(a){this.start_=a;this.end_=NaN};Qbc.prototype.duration=function(){return this.end_-this.start_};Qbc.prototype.stop=function(a){this.end_=a;return this.duration()};var iO=function(a){var b=void 0===b?Pbc:b;this.source_=a;this.nowFn_=b;this.durations_=new Map;this.lastLabel_="_"};iO.prototype.source=function(){return this.source_};var Rbc=function(a,b){b&&(a.lastLabel_=b);return a.lastLabel_};
iO.prototype.duration=function(a){a=Rbc(this,void 0===a?"":a);return this.durations_.has(a)?this.durations_.get(a).duration():NaN};var jO=function(a,b){return uIa(a.duration(void 0===b?"":b))};iO.prototype.toString=function(a,b){b=void 0===b?1:b;return this.duration(void 0===a?"":a).toFixed(b)};iO.prototype.start=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=Rbc(this,a);this.durations_.set(a,new Qbc(b));return this};
iO.prototype.stop=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=Rbc(this,a);this.durations_.has(a)&&this.durations_.get(a).stop(b);return this};iO.prototype.clear=function(){this.durations_.clear();return this};var Sbc=function(a){this.internalArray_=m(a)};X(Sbc,n);var Tbc=function(a){this.internalArray_=m(a)};X(Tbc,n);g=Tbc.prototype;g.getQueryId=function(){return Yt(this,1)};g.setQueryId=function(a){zj(this,1,a)};g.setSelectionId=function(a){zj(this,2,a)};g.getInstanceId=function(){return Fj(this,4)};g.setInstanceId=function(a){return Lh(this,4,a)};g.clearInstanceId=function(){lk(this,4)};g.hasInstanceId=function(){return Pi(this,4)};g.getInstanceIdOrUndefined=function(){return fu(this,4)};g.getAffinityVersion=function(){return Xt(this,5)};
g.setAffinityVersion=function(a){rj(this,5,a)};g.getAffinityVersionOrUndefined=function(){return du(this,5)};var Ubc=function(a){this.internalArray_=m(a)};X(Ubc,n);g=Ubc.prototype;g.getQueryLength=function(){return Xt(this,1)};g.setQueryLength=function(a){return rj(this,1,a)};g.hasQueryLength=function(){return Yi(this,1)};g.getQuery=function(){return Fj(this,2)};g.setQuery=function(a){return Lh(this,2,a)};g.clearQuery=function(){lk(this,2)};g.hasQuery=function(){return Pi(this,2)};var Vbc=function(a){this.internalArray_=m(a)};X(Vbc,n);Vbc.prototype.setLatencyUsec=function(a){rj(this,1,a)};var kO=function(a){this.internalArray_=m(a)};X(kO,n);g=kO.prototype;g.getColumn=function(){return Xt(this,2)};g.setColumn=function(a){return rj(this,2,a)};g.getType=function(){return ho(this,3)};g.setType=function(a){return tj(this,3,a)};g.hasType=function(){return aj(this,3)};var lO=function(a){this.internalArray_=m(a)};X(lO,n);lO.prototype.getExistingSelectionsCount=function(){return Xt(this,1)};lO.prototype.setExistingSelectionsCount=function(a){rj(this,1,a)};lO.prototype.getPosition=function(){return $i(this,kO,2)};lO.prototype.setPosition=function(a){return li(this,kO,2,a)};var mO=function(a){this.internalArray_=m(a)};X(mO,n);g=mO.prototype;g.getType=function(){return ho(this,5)};g.setType=function(a){return tj(this,5,a)};g.hasType=function(){return aj(this,5)};g.getEmail=function(){return Fj(this,1)};g.getEmail_legacyNullable=function(){return Fj(this,1)};g.setEmail=function(a){return Lh(this,1,a)};g.hasEmail=function(){return Pi(this,1)};g.getPhone=function(){return Fj(this,2)};g.getPhone_legacyNullable=function(){return Fj(this,2)};
g.setPhone=function(a){return Lh(this,2,a)};g.hasPhone=function(){return Pi(this,2)};g.getObfuscatedGaiaId=function(){return Fj(this,3)};g.getObfuscatedGaiaId_legacyNullable=function(){return Fj(this,3)};g.setObfuscatedGaiaId=function(a){Lh(this,3,a)};g.getContactId=function(){return Yt(this,4)};g.setContactId=function(a){zj(this,4,a)};g.getGroupId=function(){return Fj(this,6)};g.setGroupId=function(a){Lh(this,6,a)};g.hasGroupId=function(){return Pi(this,6)};var nO=function(a){this.internalArray_=m(a)};X(nO,n);nO.prototype.getName=function(){return Fj(this,1)};nO.prototype.setName=function(a){return Lh(this,1,a)};nO.prototype.hasName=function(){return Pi(this,1)};nO.prototype.getNameOrUndefined=function(){return fu(this,1)};var oO=function(a){this.internalArray_=m(a)};X(oO,n);g=oO.prototype;g.getPosition=function(){return $i(this,kO,1)};g.setPosition=function(a){return li(this,kO,1,a)};g.getProvenance=function(){return LNb(this,3)};g.setProvenance=function(a){return Ob(this,3,Aba,a,void 0,qj)};g.getIsPlaceholder=function(){return es(this,7)};g.setIsPlaceholder=function(a){Mh(this,7,a)};g.getIsSelf=function(){return es(this,11)};g.getQueryId=function(){return Yt(this,15)};g.setQueryId=function(a){zj(this,15,a)};
g.setSelectionId=function(a){zj(this,16,a)};oO.repeatedFields_=[4,3];var pO=function(a){this.internalArray_=m(a)};X(pO,n);pO.prototype.getLoggingId=function(){return Fj(this,1)};pO.prototype.setLoggingId=function(a){Lh(this,1,a)};pO.prototype.getMetadata=function(){return $i(this,oO,3)};pO.prototype.setMetadata=function(a){li(this,oO,3,a)};var qO=function(a){this.internalArray_=m(a)};X(qO,n);qO.prototype.getAffinityVersion=function(){return Xt(this,2)};qO.prototype.setAffinityVersion=function(a){rj(this,2,a)};qO.prototype.getAffinityVersionOrUndefined=function(){return du(this,2)};var Wbc=function(a){this.internalArray_=m(a)};X(Wbc,n);g=Wbc.prototype;g.getEventType=function(){return ho(this,1)};g.getEventType_legacyNullable=function(){return ho(this,1)};g.setEventType=function(a){return tj(this,1,a)};g.getMetadata=function(){return $i(this,qO,4)};g.setMetadata=function(a){li(this,qO,4,a)};g.getClientInterface=function(){return $i(this,YN,5)};g.setClientInterface=function(a){return li(this,YN,5,a)};Wbc.repeatedFields_=[2];var Xbc=new Map([[1,4],[2,2],[3,1],[4,7]]),Ybc=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=Xi(a.getExperiments(),1,!0);break;case 2:b="ppl.store.ppl.store.ozcontactstore";c=Xi(a.getExperiments(),2,!0);break;default:b="ppl.store",c=!1}var d=Xbc.get(a.getUserInfo().getEnvType_legacyNullable())||0;this.logContext_=Nb(Cfb(ts(new us,b).setLogSource(932).setApplication(a.getClientInfo().getSocialApplicationOrUndefined()).setEnvironment(d).setVersion("1013").setBaselineCl(336195648).setClientAgent(3).setEnableClearcut(c),
a.getExperiments().getExperimentIdsList()),7,mb,20090307)};g=Ybc.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b){b=b.source();var c=Zbc(this);switch(b.getEventType()){case 2:case 3:return(new bO).setClientInterface(a).setUserInfo(c).setSource(2).setEventType(2).setRpcRequest((new $N).setRpcType(b.getRpcType()).setLookupType(b.getLookupType()));case 4:case 5:return(new bO).setClientInterface(a).setUserInfo(c).setEventType(4).setApiCall((new rbc).setApiType(b.getApiType()));default:return null}};
g.createStatusMetric=function(a,b,c){var d=b.source(),e=Zbc(this);switch(d.getEventType()){case 1:d=(new bO).setClientInterface(a).setUserInfo(e).setSource(1).setEventType(1);a=this.transportType_;e=(new ZN).setStatus(c);if(0==c||4==c)c=e.setTotalUsec(jO(b,"total")),b=jO(b,"blocked"),b=zj(c,3,b),tj(b,5,a);return Gk(d,4,cO,e);case 2:case 3:return a=(new bO).setClientInterface(a).setUserInfo(e).setSource(2).setEventType(3),e=a.setRpcResponse,d=(new tbc).setRpcType(d.getRpcType()).setLookupType(d.getLookupType()).setStatus(c),
0!=c&&4!=c||d.setTotalUsec(jO(b,"total")).setBlockedUsec(jO(b,"blocked")).setNetworkUsec(jO(b,"network")),e.call(a,d);case 4:case 5:a=(new bO).setClientInterface(a).setUserInfo(e).setEventType(5);e=a.setApiResult;var f=new sbc;f.setApiType(d.getApiType()).setCacheStatus(d.getCacheStatus()).setAddressBook(d.getAddressBook()).setStatus(c);0!==c&&4!==c||f.setTotalUsec(jO(b,"total"));return e.call(a,f);default:return null}};g.createErrorMetric=function(){return null};g.createLatencyMetric=function(){return null};
var Zbc=function(a){a=a.clientConfig_.getUserInfo();var b=new aO;b=Mh(b,4,!!a.getDelegatorId());a.hasCacheSize()&&b.setCacheSize(a.getCacheSize());b.setEnvType(cj(a,6,0)||0);return b};var xIa=function(a){this.internalArray_=m(a)};X(xIa,n);xIa.repeatedFields_=[1,2,3,4];var rO=function(a,b){this.name_=b||"";this.address=a||""},$bc=/"/g,acc=/\\"/g,bcc=/\\/g,ccc=/\\\\/g,dcc=RegExp("^[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~-]+@([a-zA-Z0-9-]+\\.)+[a-zA-Z0-9]{2,63}$"),ecc=new RegExp("["+Qda({LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"}).join("")+"]","g");rO.prototype.getName=function(){return this.name_};rO.prototype.getAddress=function(){return this.address};rO.prototype.setName=function(a){this.name_=a};rO.prototype.toString=function(){return fcc(this,'()<>@:\\".[],;')};
var fcc=function(a,b){var c=a.getName();c=c.replace($bc,"");a:{for(var d=c,e=0;e<b.length;e++)if(ia(d,b[e])){b=!0;break a}b=!1}b&&(c='"'+c.replace(bcc,"\\\\")+'"');return""==c?a.address:""==a.address?c:c+" <"+a.address+">"};rO.prototype.isValid=function(){return dcc.test(this.address)};
var icc=function(a){var b=gcc;a=a.replace(ecc,"");for(var c="",d="",e=0;e<a.length;){var f=a;var h=e,k=f.charAt(h),q='"<(['.indexOf(k);if(-1==q||hcc(f,h))f=k;else{q='">)]'.charAt(q);for(var t=f.indexOf(q,h+1);0<=t&&hcc(f,t);)t=f.indexOf(q,t+1);f=0<=t?f.substring(h,t+1):k}"<"==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=EOb(c);c=FOb(c,"'");c=FOb(c,'"');c=c.replace(acc,'"');c=c.replace(ccc,"\\");d=EOb(d);return new b(d,
c)},hcc=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 gcc=function(a,b){rO.call(this,a,b)};Et(gcc,rO);var jcc=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}$");gcc.prototype.isValid=function(){return kcc(this.address)};var kcc=function(a){return null==a?!1:jcc.test(a)};gcc.prototype.toString=function(){return fcc(this,'()<>@:\\".[],;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a')};var lcc=/[^a-z0-9]+/ig,mcc=[9,11,10,12,13,14,15,16,19],ncc=[9,19,11],occ=[1,6],pcc=[2,7],qcc=[3,8],rcc=[1,2,6,7,8,9,11,10,12,13,14,15,16,18,19],ceb=[3,4,5,17,20],as=function(a,b,c){this.type_=a;this.normalizedValue_=Ko(b);this.originalValue_=Ko(void 0===c?b:c)};as.prototype.getType=function(){return this.type_};as.prototype.getValue=function(){return this.normalizedValue_};as.prototype.getOriginalValue=function(){return this.originalValue_};
var yr=function(a){return mcc.includes(a.getType())},zr=function(a){return ncc.includes(a.getType())},Wr=function(a,b){switch(a){case 1:return Zr(b);case 6:return new as(6,Ko(b).toLowerCase(),b);case 2:return oeb(b);case 7:return qeb(b);case 3:return $db(b);case 8:return new as(8,Ko(b).toLowerCase(),b);case 5:return new as(5,Ko(b).toLowerCase(),b);case 4:return aeb(b);case 9:return scc(b);case 12:return new as(12,Ko(b),b);case 13:return new as(13,Ko(b),b);case 14:return new as(14,Ko(b),b);case 15:return new as(15,
Ko(b),b);case 16:return new as(16,Ko(b),b);case 10:return new as(10,Ko(b),b);case 11:return new as(11,Ko(b),b);case 18:return beb(b);case 19:return new as(19,Ko(b),b);case 20:return new as(20,Ko(b),b);case 17:return tcc;default:return new as(0,b)}},Zr=function(a){return new as(1,Ko(a).toLowerCase(),a)},oeb=function(a){var b=Ko(a).toLowerCase().replace(lcc,"");return new as(2,b,a)},$db=function(a){var b=Ko(a).toLowerCase();return"me"===b?tcc:new as(3,b,a)},aeb=function(a){return new as(4,Ko(a).toLowerCase(),
a)},qeb=function(a){var b=Ko(a).toLowerCase().replace(lcc,"");return new as(7,b,a)},scc=function(a){return new as(9,Ko(a).toLowerCase(),a)},beb=function(a){return new as(18,Ko(a),a)},ucc=function(a){var b=a.indexOf(":");return Wr(0<b?parseInt(a.substring(0,b),10):0,a.substring(b+1))};as.prototype.toString=function(){return this.type_+":"+this.normalizedValue_};as.prototype.serialize=function(){return this.type_+":"+this.originalValue_};
as.prototype.equals=function(a){return a?this===a?!0:this.type_===a.type_&&this.normalizedValue_===a.normalizedValue_:!1};var vcc=function(a){switch(a.getType()){case 1:case 6:return kcc(a.originalValue_);case 2:case 7:return a=a.originalValue_.replace(lcc,""),3<=a.length&&"0"<=a[0]&&"9">=a[0];case 3:case 8:return!!Ko(a.originalValue_);default:return!0}},cs=Wr(0,""),tcc=new as(17,"me");var wcc=function(a,b){this.apiEnv_=a;this.experimentsConfig_=b};var xcc=function(a){this.profileId_=a};xcc.prototype.getProfileId=function(){return this.profileId_};var sO=Object.freeze({userProfileId:"",apiEnv:4,userEmail:""});var ycc=function(){return fa&&ha?!ha.mobile&&(ka("iPad")||ka("Android")||ka("Silk")):ka("iPad")||ka("Android")&&!ka("Mobile")||ka("Silk")};var wIa=new WeakMap,vIa=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 zcc=function(a,b){this.clearcut_=a;this.logContextFactory_=b;this.device_=vaa()||ka("iPod")?4:ka("iPad")?5:uaa()?ycc()?3:2:(fa&&ha?ha.mobile:!ycc()&&(ka("iPod")||ka("iPhone")||ka("Android")||ka("IEMobile")))||ycc()?0:1},Bcc=function(a){var b=a.getLogContext(),c=null;if(b.getEnableClearcut()){c=b.getLogSource();var d=mIa();var e=si(b,7,hi(Li));c=Acc(c,d,e,b.getClearcutUrl())}return new zcc(c,a)},tO=function(a){var b=a.logContextFactory_.getLogContext(),c=new XN;c.setApplication(b.getApplicationOrUndefined());
c.setDevice(a.device_);a=new YN;a.setSocialClient(c);a.setVersionName(b.getVersionOrUndefined());a.setClientAgent(b.getClientAgentOrUndefined());a.setEventSource(b.getEventSourceOrUndefined());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},uO=function(a,b){var c=new gC;hZb(c,b.serialize());
a.clearcut_&&mC(a.clearcut_,c)},Acc=Lo(yIa);var Ccc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};Ccc.prototype.logError=function(a){var b=tO(this.clearcut_);(a=this.logEventFactory_.createErrorMetric(b,a))&&uO(this.clearcut_,a)};var Dcc=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 Ecc=function(){this.logContext_=ts(new us,"ppl.store")};g=Ecc.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 Fcc=function(a){this.clearcut_=a},Rr=function(a){a=new Ccc(Bcc(a),a);return new Fcc(a)};g=Fcc.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=tO(c.clearcut_);(a=c.logEventFactory_.createCountMetric(d,a,b))&&uO(c.clearcut_,a);return this};g.status=function(a,b){var c=this.clearcut_,d=tO(c.clearcut_);(a=c.logEventFactory_.createStatusMetric(d,a,b))&&uO(c.clearcut_,a);return this};g.latency=function(a){var b=this.clearcut_,c=tO(b.clearcut_);(a=b.logEventFactory_.createLatencyMetric(c,a))&&uO(b.clearcut_,a);return this};g.error=function(a){this.clearcut_.logError(a);return this};
g.logError=function(){};g.logInfo=function(){return this};var vO=function(a,b){this.addressBookMap_={};this.addressBooks=[];this.ownedAddressBooks_=[];this.scheduler_=new Jbc;this.eventHandler_=new Qq(this);this.ownsContactNotificationService_=!a;this.queryFilters_=[];this.contactNotificationService_=a||new hO;(a=b)||(a=Rr(new Ecc));this.metrics=a;this.queryFilters_.push(this.contactNotificationService_)};Et(vO,wB);g=vO.prototype;
g.addAddressBook=function(a,b){this.addressBooks.push(a);b&&this.ownedAddressBooks_.push(a);this.addressBookMap_[a.getId()]=a;this.eventHandler_.listen(a,Qda(Lbc),Ct(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 fO(null,"c"))};
g.loadContactRows=function(a,b){var c=this,d=(new Jo).setEventType(4).setApiType(2),e=new iO(d);this.metrics.count(e);this.metrics.start(e,"total");return Gcc(this,a,function(f){return f.loadContactRows},function(f,h,k,q,t){Hcc(function(w,z,F,J){var H=z===VN||z instanceof WN?2:1;e.source().setCacheStatus(H);e.source().setAddressBook(F?qbc.get(F)||1:1);c.metrics.stop(e,"total");c.metrics.status(e,ybc(t||0));b&&b(w,z,F,J,t)},f,h,k,q)})};
var Gcc=function(a,b,c,d){var e=new Icc(d,a.metrics),f;if(b.addressBookId){var h=a.addressBookMap_[b.addressBookId];0<b.delayMillis||1<b.maxTries?f=Jcc(a,h,c(h),b,d):f=c(h).call(h,b,d);f&&e.add(f)}else for(var k=0;k<a.addressBooks.length;k++)h=a.addressBooks[k],0<b.delayMillis||1<b.maxTries?f=Jcc(a,h,c(h),b,d):f=c(h).call(h,b,d),f&&e.add(f);return e};
vO.prototype.execute=function(a){var b=this,c=(new Jo).setEventType(4).setApiType(1),d=new iO(c);this.metrics.count(d);this.metrics.start(d,"total");Kcc(this,a);a.addSuccessOrFailureCallback(function(e){var f=e?ybc(e.getErrorCode()):2;e=(e=e?e.request_:null)?e.getAddressBookId():"";d.source().setCacheStatus(e?1:2);d.source().setAddressBook(e?e?qbc.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 Lcc(b,e,d)}))?
c:Lcc(this,a,d)};
var Kcc=function(a,b){ra(a.queryFilters_,function(){});b.isMutate()&&(b=cj(b,2,0))&&(b=b.getQueryAfterMutate())&&Kcc(a,b)},Lcc=function(a,b,c){if(b.isMutate()){var d=cj(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 Icc(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},Jcc=function(a,b,c,
d,e){var f=a.scheduler_;b=Ct(a.runScheduledQuery_,a,b,c,d,e);f=new Hbc(f,b,d.name);a.scheduler_.schedule(f,d.delayMillis,d.maxTries,d.force);return new Mcc(f)};vO.prototype.runScheduledQuery_=function(a,b,c,d,e){e.request=b.call(a,c,function(f,h,k,q,t){e.isDone(!t)&&d&&d(f,h,k,q,t)})};
var Hcc=function(a,b,c,d,e){a&&(b&&(e.filter&&(b=e.filter(b,e.token)),Ncc(b)),a(b||[],c,d,e))},Ncc=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)}};
vO.prototype.disposeInternal=function(){vO.superClass_.disposeInternal.call(this);Jh(this.scheduler_);this.scheduler_=null;ra(this.ownedAddressBooks_,Jh);this.ownedAddressBooks_=this.addressBookMap_=this.addressBooks=null;Jh(this.eventHandler_);this.eventHandler_=null;ra(this.queryFilters_,function(a){a!=this.contactNotificationService_&&Jh(a)},this);this.queryFilters_=null;this.ownsContactNotificationService_&&(Jh(this.contactNotificationService_),this.contactNotificationService_=null)};
var Occ=function(a){var b=new Ybc(a,0);ts(b.getLogContext(),"ppl.store");b.getLogContext().setEnableClearcut(Xi(a.getExperiments(),3,!0));return Rr(b)},Icc=function(a,b,c){this.requests_=[];this.handler=a;this.metrics_=b;this.state_=c;this.addressBookId_=""};g=Icc.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 Mcc=function(a){this.op=a;this.request=null};Mcc.prototype.cancel=function(){this.op.cancel();this.request&&this.request.cancel()};
Mcc.prototype.isPending=function(){return this.op.isPending()||this.op.request&&this.op.request.isPending()};var Pcc=function(a,b){this.text=a;this.specialRowHandler=b};Et(Pcc,pbc);g=Pcc.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 Qcc=function(a,b){vO.call(this,a,b)};X(Qcc,vO);Qcc.prototype.addAddressBook=function(a,b){1==this.addressBooks.length&&(this.combiner_=new Rcc(this.metrics),this.combiner_.addAddressBook(this.addressBooks[0]));vO.prototype.addAddressBook.call(this,a,b);this.combiner_&&this.combiner_.addAddressBook(a)};Qcc.prototype.loadContactRows=function(a,b){return this.combiner_&&a.isAutoCompleteMode&&!a.addressBookId?this.combiner_.loadContactRows(a,b):vO.prototype.loadContactRows.call(this,a,b)};
var Rcc=function(a){this.addrBooks_=[];this.rowSets_=null;this.metrics_=a};Rcc.prototype.addAddressBook=function(a){this.addrBooks_.push(new Scc(this,this.addrBooks_.length,a))};Rcc.prototype.loadContactRows=function(a,b){a=new Tcc(a,this.metrics_,b);Ucc(this,a);return a};
var Ucc=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,k=0;k<d.length&&f.length<c.maxMatches;k++)if(d[k]){h=f.length;e=!0;var q=d[k],t=c.maxMatches,w=f.length;if(0==w)f=q.length>t?q.slice(0,t):q;else for(var z=0;z<q.length;z++){for(var F=null,J=0;J<w&&!(F=Vcc(f[J],q[z]));J++);if(F)F===q[z]&&(f[J]=F);else if(f.length==
w?f=f.concat(q[z]):f.push(q[z]),f.length==t)break}0<h&&f.length>h&&(f[h].flags|=1)}e?(Ncc(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},Vcc=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},Wcc=function(a,b,c,d){a.rowSets_?a.rowSets_[c]=d:Ucc(a,b,c,d)};
Rcc.prototype.handleSpecialRow=function(){};var Scc=function(a,b,c){this.combiner_=a;this.id_=b;this.addrBook_=c;this.lastAsyncLatency_=0;this.isSynchronous_=!1};
Scc.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,k,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=[Xcc(this)])}c&&Wcc(this.combiner_,a,this.id_,c)};
var Xcc=function(a){var b=a.addrBook_.title_;return new Pcc(b?"Searching for matches from "+b:"Searching for more matches.",a.combiner_.handleSpecialRow)};
Scc.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;Wcc(this.combiner_,a,this.id_,c)};Scc.prototype.dispose=function(){this.combiner_=this.matcher_=null};
var Tcc=function(a,b,c){var d=this;this.query=a;this.activeRequests_={};this.storedResults_={};this.addressBooksToReport_=[];this.storedErrorCodes_=[];var e=new iO((new Jo).setEventType(4).setApiType(2));b.count(e);b.start(e,"total");this.handler=function(f,h,k,q){d.addressBooksToReport_.forEach(function(t,w){var z=d.activeRequests_[w];z=z===VN||z instanceof WN?2:1;e.source().setCacheStatus(z);e.source().setAddressBook(t?qbc.get(t)||1:1);b.stop(e,"total");b.status(e,ybc(d.storedErrorCodes_[w]))});
d.addressBooksToReport_=[];c&&c(f,h,k,q)}};Tcc.prototype.cancel=function(){for(var a in this.activeRequests_)this.activeRequests_[a].cancel();this.activeRequests_={}};Tcc.prototype.isPending=function(){for(var a in this.activeRequests_)if(this.activeRequests_[a].isPending())return!0;return!1};Tcc.prototype.addRequest=function(a,b){this.activeRequests_[a]=b};var Ycc={198:"AE",230:"ae",306:"IJ",307:"ij",338:"AE",339:"ae"},Vr=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=Ycc[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 wO=function(a,b,c,d,e,f){No.call(this);this.cacheMaxSize_=e||0;this.rowMatchingFunction_=f||Zcc;this.cache_=new vG(this.cacheMaxSize_,!0);this.cacheSize_=a||0;this.cacheMinExpiryAge_=b||0;this.cacheMaxExpiryAge_=c||0;this.cacheByType_=!!d};Et(wO,No);wO.prototype.disposeInternal=function(){wO.superClass_.disposeInternal.call(this);this.cache_=null};wO.prototype.clear=function(){this.cache_.clear()};
var Zcc=function(a){var b=no(Vr(a.token));return function(c){var d=new RegExp("(^|\\W+)"+b,"i");(d=null!=Vr(String(c[1])).match(d))||(d=c[0],d=null!=c[2].match(new RegExp("^"+b,"i"))&&"cl"!=String(d));return d}},$cc=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},adc=function(a,b,c){a.cache_.set($cc(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_)}},bdc=function(a,b,c){c=c?a.cache_.get(b):f5b(a.cache_,b);return a.isStale(c)?(a.cache_.remove(b),null):c},cdc=function(a,b,c){c=b.length-c.length;for(var d=b.length;d>=c;d--){var e=bdc(a,b,!1);if(e)return e;b=b.substr(0,d-1)}return null},ddc=function(a,b){if(b.isContactAutoComplete)return null;var c=$cc(b,a.cacheByType_),
d=cdc(a,c,b.token);return d?d:a.cacheByType_&&0!=c.lastIndexOf("^",0)?(c=$cc(b,!1),cdc(a,c,b.token)):null};wO.prototype.isStale=function(a){return!!a&&!!this.cacheMaxExpiryAge_&&a.created+this.cacheMaxExpiryAge_<Date.now()};wO.prototype.invalidateCache=function(a){for(var b=this.cache_.getKeys(),c=0;c<b.length;c++){var d=b[c],e={token:f5b(this.cache_,d).token};this.rowMatchingFunction_(e)(a)&&this.cache_.remove(d)}};
var xO=function(a,b,c){this.token=a;this.matches_=b;this.partialResult_=!!c;this.count=1;this.created=Date.now()};xO.prototype.getMatches=function(a){a&&this.count++;return this.matches_};xO.prototype.isComplete=function(a){return!this.partialResult_||0<=a&&a<=this.matches_.length};Et(Po,No);g=Po.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(Ui(a.token)&&!c.allowEmptyQueries_)var d=UN;else{d=a.maxMatches;var e=bdc(c,$cc(a,c.cacheByType_),!0);(d=e&&d&&!e.isComplete(d)?null:e)?d=d.getMatches():(d=ddc(c,a))&&0==d.getMatches().length?(adc(c,a,new xO(a.token,UN)),d=UN):d&&!d.partialResult_&&c.clientFilteringOk_?(d=d.getMatches(),d=BMb(d,c.rowMatchingFunction_(a),c),adc(c,a,new xO(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,VN,this.getId(),a),VN):this.transport_.loadContactRows(a,this.getId(),Ct(this.cacheContactRowsAndInvokeHandler_,this,b))}b&&b(UN,VN,this.getId(),a,4);return VN};g.cacheContactRowsAndInvokeHandler_=function(a,b,c,d,e,f){f||adc(this.cache_,e,new xO(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(){Po.superClass_.disposeInternal.call(this);this.cache_.dispose();this.cache_=null;edc(this.transport_,this.id_);this.transport_=null};var gdc=function(a,b,c){wO.call(this,100,18E5,432E5,!0,0,c||fdc);this.clientFilteringOk_=a;this.allowEmptyQueries_=b};X(gdc,wO);var fdc=function(a){return function(b){var c=b.getType(),d;if(d=hdc(a,c)){d=new RegExp("(^|\\W+)"+no(Vr(a.token)),"i");var e=Vr(b.getName()||"");(d=d.test(e))||(d=a.token,d=((b=b.getEmail())?(new RegExp("^"+no(Vr(d)),"i")).test(b):!1)&&"cl"!=c)}return d}},hdc=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 yO=function(a,b,c){this.includeDomainGroups_=!!c;b=b||new gdc(!0,!1,idc);Po.call(this,a,b,"domain")};Et(yO,Po);yO.prototype.loadContactRows=function(a,b){a.includeGroups&&!this.includeDomainGroups_&&(a=dc(a),a.includeGroups=!1);return yO.superClass_.loadContactRows.call(this,a,b)};
var idc=function(a){for(var b=EOb(a.token).toLowerCase().split(/\s+/),c=[],d=[],e=0;e<b.length;e++){var f=no(b[e]),h=new RegExp("^"+f,"i");c.push(new RegExp("(^|\\W+)"+f,"i"));d.push(h)}return function(k){if(hdc(a,k.getType())){for(var q=0;q<c.length;q++)if(!k.getName().match(c[q])&&!k.getEmail().match(d[q]))return!1;return!0}return!1}};yO.prototype.execute=function(a){a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};var jdc=function(a,b){this.personId=a;this.contactId=b.CONTACT||"";this.syntheticId=b.DOMAIN_CONTACT||"";this.profileId=b.PROFILE||b.DOMAIN_PROFILE||"";this.loggingId=""},ldc=function(a){if(!a)return kdc;var b=AIa(Ho("metadata.identityInfo.sourceIds",a)),c=Ho("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 jdc(a.personId||"",b)},kdc=new jdc("",{});var mdc=function(a,b){this.isLocal_=a;this.edgeIndex_=b};mdc.prototype.toString=function(){return""};var zO=function(a,b){this.metadata_=a||{};this.edgeCollection_=b};zO.prototype.toString=function(){return""};var odc=function(a){return ndc(a).some(function(b){return!b.isLocal_})};zO.prototype.getSource=function(a){return ndc(this)[a]};zO.prototype.hasSource=function(){return void 0<ndc(this).length};var ndc=function(a){return a.edgeCollection_?a.edgeCollection_.getSources(a.metadata_.encodedContainerId,a.metadata_.containerType):[]};zO.prototype.getCause=function(a){return pdc(this)[a]};
var pdc=function(a){return a.edgeCollection_?qdc(a.edgeCollection_,a.metadata_.edgeKeyInfo):[]};zO.prototype.getContainerType=function(){return this.metadata_.containerType};var rdc=new zO({},null);var sdc=function(a,b){this.email_=a;this.edgeCollection_=b;this.metadata_=null};g=sdc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new zO(this.email_.metadata,this.edgeCollection_):rdc);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 tdc=new sdc({},null);var udc=function(a,b){this.emails_=[];a=l(a);for(var c=a.next();!c.done;c=a.next())this.emails_.push(new sdc(c.value,b))};g=udc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.emails_[a]||tdc};g.getFieldLength=function(){return this.emails_.length};var vdc=new udc([],null);var wdc=function(a,b){this.name_=a||{};this.edgeCollection_=b;this.metadata_=null};g=wdc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=new zO(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 xdc=new wdc({},null);var ydc=function(a){this.field_=a};g=ydc.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 zdc=new ydc(xdc);var Adc=["CONTACT","PROFILE","DOMAIN_PROFILE"],Bdc=function(a,b){this.names_=[];a=l(a);for(var c=a.next();!c.done;c=a.next())this.names_.push(new wdc(c.value,b))};g=Bdc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.names_[a]||xdc};g.getFieldLength=function(){return this.names_.length};var Cdc=new Bdc([],null);var Ddc=function(a,b){this.phone_=a;this.edgeCollection_=b;this.metadata_=null};g=Ddc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new zO(this.phone_.metadata,this.edgeCollection_):rdc);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 Edc=new Ddc({},null);var Fdc=function(a,b){this.phones_=[];a=l(a);for(var c=a.next();!c.done;c=a.next())this.phones_.push(new Ddc(c.value,b))};g=Fdc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.phones_[a]||Edc};g.getFieldLength=function(){return this.phones_.length};var Gdc=new Fdc([],null);var Hdc=function(a,b){this.photo_=a;this.edgeCollection_=b;this.metadata_=null};g=Hdc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new zO(this.photo_.metadata,this.edgeCollection_):rdc);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 Idc=new Hdc({},null);var Jdc=function(a,b){this.photos_=[];a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.isMonogram||c.isDefault||this.photos_.push(new Hdc(c,b))};g=Jdc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.photos_[a]||Idc};g.getFieldLength=function(){return this.photos_.length};var Kdc=new Jdc([],null);var AO=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};
AO.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_?BIa(this.getName().getValue(),this.getEmail().getField(this.emailIndex_).getValue()):"";this.text_=a}return this.text_};AO.prototype.hasName=function(){return!!this.getName()};
AO.prototype.getName=function(){if(!this.name_){a:{var a=GIa(this);if(a.names_.length){for(var b=l(Adc),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=l(a.names_),e=d.next();!e.done;e=d.next())if(e=e.value,e.getMetaData().getContainerType()===c){a=new ydc(e);break a}}a=new ydc(a.names_[0])}else a=zdc}this.name_=a}return this.name_};
var GIa=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 Bdc(b,a.edgeCollection_):Cdc}return a.nameRepeated_};g=AO.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:CIa(this.contactLabel_)}]);this.email_=a?new udc(a,this.edgeCollection_):vdc}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 Fdc(a,this.edgeCollection_):Gdc}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 Jdc(a,this.edgeCollection_):Kdc}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 BIa=function(a,b){return a?b&&a!=b?'"'+a.replace(/[\\"]/g,"\\$&")+'" <'+b+">":a:b||""},Ldc=new AO(null,null,null,null);var Mdc=function(){this.keyToIndex_=new Map},Ndc=function(a,b,c){return c.map(function(d){return a.get(b,d)}).filter(function(d){return null!=d})};Mdc.prototype.get=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.contains(a,b)?this.keyToIndex_.get(a+"="+b):null};Mdc.prototype.set=function(a,b,c){"DOMAIN_PROFILE"===b&&(b="PROFILE");this.keyToIndex_.set(a+"="+b,c)};Mdc.prototype.contains=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.keyToIndex_.has(a+"="+b)};var EIa=function(a){this.evergreenProfile_=a?new AO(a,null,null,null):Ldc};EIa.prototype.toString=function(){return""};var Odc=new EIa(null);var Pdc=new mdc(!0,null),BO=function(a){this.edgeIndexResolver_=new Mdc;this.sourcesCache_=new Map;this.encodedContainerIds_=[];this.readonlyOutgoingEdges_=FIa(a,this.edgeIndexResolver_,this.encodedContainerIds_)};BO.prototype.get=function(a){return this.readonlyOutgoingEdges_[a]||Odc};var qdc=function(a,b){return b?b.map(function(c){return a.edgeIndexResolver_.get(c.containerId,c.containerType)}).filter(function(c){return null!=c}):[]};BO.prototype.getSize=function(){return this.readonlyOutgoingEdges_.length};
BO.prototype.getSources=function(a,b){if(!a||!b)return[];if("CONTACT"===b)return[Pdc];var c=a+"="+b;this.sourcesCache_.has(c)||this.sourcesCache_.set(c,Ndc(this.edgeIndexResolver_,a,[b]).map(function(d){return new mdc(!1,d)}));return this.sourcesCache_.get(c)};var Qdc=new BO(null);var CO=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 BO(this.person_);this.emailIndex_=b;this.profile_=new AO(this.person_,this.googleGroup_,this.contactLabel_,this.edgeCollection_,this.emailIndex_);this.photoUrl_=this.phone_=this.name_=this.allIds_=null;this.text=c?this.getName()||"":this.profile_.toString()};X(CO,pbc);g=CO.prototype;
g.toString=function(){return"cl"===this.getType()?this.getEmail()||"":this.text};g.getAllIds_=function(){if(!this.allIds_){if(this.person_)var a=ldc(this.person_);else if(this.googleGroup_)if(a=this.googleGroup_){var b=AIa(a.sourceIds);a=new jdc(a.personId||"",b)}else a=kdc;else this.contactLabel_?(a=this.contactLabel_)?(b={},b.CONTACT=Ho("id.id",a)||"",a=new jdc("",b)):a=kdc:a=kdc;this.allIds_=a}return this.allIds_};g.getId=function(){return this.getAllIds_().contactId};
g.getName=function(){null===this.name_&&(this.name_=HIa(this.profile_,function(a){return!!a&&!odc(a)}),null===this.name_&&(this.name_=Rdc(this,HIa)));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_=IIa(this.profile_,function(a){return!!a&&!odc(a)}),null===this.photoUrl_&&(this.photoUrl_=Rdc(this,IIa)));return this.photoUrl_};g.getEncryptionSupport=function(){var a=1,b=Sdc(this);if(b){(b=b.extendedData)&&b.smtpServerSupportsTls&&(a=2);b=0;var c=Sdc(this);if(c&&(c=c.certificate)){c=l(c);for(var d=c.next();!d.done;d=c.next())if(d=Ho("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 Sdc=function(a){var b=Ho("email",a.person_)||Ho("emails",a.googleGroup_);return b?b[a.emailIndex_]||null:null},Rdc=function(a,b){for(var c=a.profile_.getEmail().getField(a.emailIndex_).getMetaData(),d=0;d<pdc(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<ndc(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""},Tdc=function(a,
b,c){c=void 0===c?!1:c;if(void 0===b?0:b)return a.map(function(q){return new CO(q,void 0,!0)});b=new Set;var d=[];a=l(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=Ho("person.email",e)||Ho("googleGroup.emails",e)||[];if(c||f&&f.length)for(var h=0;h<f.length;h++){var k=(Ho("value",f[h])||"").trim().toLowerCase();if(c){if(b.has(k))continue;b.add(k)}d.push(new CO(e,h))}else d.push(new CO(e))}return d};var Udc=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O){H=void 0===H?new SN: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=k;this.timeoutMs=q;this.onAuthError=t?t:function(){};this.autocompletePageSize=w;this.rankedTargetsPageSize=z;this.peopleContainerMask=F.split(/[\s,]+/).filter(function(P){return!!P});this.peopleFieldMask=J;this.experiments=H;this.includeOnlyNames=
O};Udc.prototype.setTimeout=function(a){var b=this.timeoutMs;0<a&&(this.timeoutMs=a);return b};var DO=function(a,b){b=Error.call(this,void 0===b?"":b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a};X(DO,Error);var EO=function(a,b,c){this.config=a;this.onAuthError_=a.onAuthError;this.timeoutMs_=a.timeoutMs;this.metrics_=a.metrics;this.metric_=new iO(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=EO.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_=jYb(new XB),Vdc(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&&!nIa()&&(c.params=c.params||{},c.params.key=d);c.headers=oIa(d);c.root=this.config.peopleRoot;c.authType="auto";a=a.request(c)}else a=Promise.resolve({result:{}});return this.promise_=tYb(mYb([a,CYb(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{Vdc(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 XB)c=1,d=11;else if(a instanceof DO)c=a.code,d=xbc(c);else if(a&&"object"===typeof a){var e=Ho("result.error.code",a)||a.status,f=e;f=Number(f);c=ubc.has(f)?ubc.get(f):200<=f&&300>f?0:400<=f&&500>f?9:500<=f&&600>f?13:2;d=xbc(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),Vdc(this,null,d,b)}};
var Vdc=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 Wdc=function(a,b,c){var d=(new Jo).setEventType(2).setRpcType(1).setToken(b);EO.call(this,a,d,c);this.clientId_=a.clientId;this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.token_=b;this.pageSize_=a.autocompletePageSize};X(Wdc,EO);
Wdc.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}};
Wdc.prototype.processResponse=function(a){var b=a.status;if(b){if(b.personalResultsNotReady)throw new DO(14,"PersonalResultsNotReady");if(b.requestThrottled)throw new DO(8,"RequestThrottled");if(b.containsPartialResults)throw new DO(8,"ContainsPartialResults");}return Tdc(a.results||[],this.config.includeOnlyNames)};var Xdc=function(a,b){this.person_=a;this.allIds_=null;this.edgeCollection_=b;this.profile_=this.person_?new AO(this.person_,null,null,this.edgeCollection_):Ldc};g=Xdc.prototype;g.toString=function(){return""};g.getAllIds_=function(){this.allIds_||(this.allIds_=ldc(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 Ydc=new Xdc(null,Qdc);var Zdc=function(a){a=void 0===a?null:a;this.edgeCollection_=new BO(a);this.contact_=a?new Xdc(a,this.edgeCollection_):Ydc};g=Zdc.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 $dc=function(a,b,c){EO.call(this,a,(new Jo).setEventType(2).setRpcType(3).setLookupType(4),c);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.personIds_=b.filter(function(d){return!!d});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};X($dc,EO);
$dc.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}};$dc.prototype.processResponse=function(a){return(a.personResponse||[]).filter(function(b){return"SUCCESS"==b.status}).map(function(b){return new Zdc(b.person)})};var FO=function(a,b,c,d){EO.call(this,a,tIa(b),d);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.lookupType_=aec(b);this.knownIds_=c.filter(function(e){return!!e});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};X(FO,EO);
FO.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}};
FO.prototype.processResponse=function(a){var b=a.matches,c=a.people,d=[];b&&c&&b.forEach(function(e){e=l(e.personId);for(var f=e.next();!f.done;f=e.next())(f=c[f.value])&&d.push(new Zdc(f))});return d};var aec=function(a){switch(a){case 1:return"EMAIL";case 2:return"PHONE";case 3:return"CONTACT";case 5:return"SYNTHETIC";default:return""}};var bec=function(a,b){EO.call(this,a,(new Jo).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_=[];Xi(a.experiments,6,!0)&&this.peopleExtensionNames_.push("FILTER_TO_PRIMARY")};X(bec,EO);
bec.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}};bec.prototype.processResponse=function(a){return Tdc(a.rankedTarget||[],this.config.includeOnlyNames,!0)};g=JIa.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 cec=new Map([[1,4],[2,2],[3,1],[4,7]]),GO=function(a,b){wB.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 iO((new Jo).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?dec(c,d):eec(c,5)},function(d){c.metrics_.logError("gapi.client failed to load: "+d,d);eec(c,5)})};
X(GO,wB);var dec=function(a,b){b&&b.request?(sIa(),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 fec(a,d,e)})})):eec(a,9)};GO.prototype.disposeInternal=function(){for(var a=l(this.queuedRequests_.keys()),b=a.next();!b.done;b=a.next())edc(this,b.value)};
var eec=function(a,b){a.metrics_.status(a.gapiMetric_,b);a.gapiFailed_=!0;a.disposeInternal()},edc=function(a,b){b=b||"";a.queuedRequests_.has(b)&&(gec(a.queuedRequests_.get(b)),a.queuedRequests_.delete(b))},hec=function(a,b,c){a.gapiFailed_?c.cancel():(zIa(a,b).push(c),fec(a,b,c))},fec=function(a,b,c){a.gapiClient_&&tYb(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)}})},zIa=function(a,b){b=b||"";if(a.queuedRequests_.has(b))return a.queuedRequests_.get(b);
var c=[];a.queuedRequests_.set(b,c);return c},gec=function(a){a&&a.length&&(a.forEach(function(b){return b.cancel()}),a.length=0)};GO.prototype.loadContactRows=function(a,b,c){var d=a&&a.token||"",e=function(h,k){return c(h,f,b,a,k)},f=d?new Wdc(this.config_,d,e):new bec(this.config_,e);hec(this,b,f);return f};
GO.prototype.execute=function(a){if(a.isMutate())return this.metrics_.status(new iO((new Jo).setEventType(2).setRpcType(4)),12),iec(a);var b=a.getQueryParameters&&a.getQueryParameters()||{},c=b.addressBookId,d=function(w,z){if(z)a.setResponse(Abc(z,h));else{w=a.setResponse;z=new JIa(b);var F=new zbc(h);F.queryResponse_=z;F.errorCode_=z.getError();w.call(a,F)}},e=this.config_.setTimeout(jec(a));try{var f=b.emailAddresses||[];if(f.length)var h=new FO(this.config_,1,f,d);else{var k=b.contactIds||[];
if(k.length)h=new FO(this.config_,3,k,d);else{var q=b.profileIds||[];if(q.length)h=new $dc(this.config_,q,d);else{var t=b.syntheticIds||[];if(t.length)h=new FO(this.config_,5,t,d);else return this.metrics_.status(new iO((new Jo).setEventType(2)),12),iec(a)}}}}finally{this.config_.setTimeout(e)}h.setQuery(a);hec(this,c,h);return h};var iec=function(a){var b=new WN(function(){return a.setResponse(Abc(5,b))});b.setQuery(a);return b};var HO=function(a,b,c,d){Po.call(this,a,b,c,d)};X(HO,Po);HO.prototype.execute=function(a){a.isMutate()&&a.addSuccessCallback(Ct(this.handleExecuteResponse_,this,a));a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};HO.prototype.handleExecuteResponse_=function(a,b){if(b.hasChanges()){var c=b.mutateResponse_;if(a.getNotifyOnChange()||c&&c.getError())a=new fO([b.mutateResponse_],"c"),this.dispatchEvent(a)}};var kec=function(a,b,c){b=b||new gdc(!0,!0);Po.call(this,a,b,"personal",c)};X(kec,HO);kec.prototype.configure=function(a,b){HO.prototype.configure.call(this,a,b)};var lec=function(){throw Error("hd");};var IO={},mec={},nec={},oec={},pec={},JO=function(){throw Error("jd");};JO.prototype.contentDir=null;JO.prototype.getContent=function(){return this.content};JO.prototype.toString=function(){return this.content};JO.prototype.toSafeHtml=function(){if(this.contentKind!==IO)throw Error("kd");return fh(this.toString())};var qec=function(){JO.call(this)};Et(qec,JO);qec.prototype.contentKind=IO;var rec=function(){JO.call(this)};Et(rec,JO);rec.prototype.contentKind=mec;rec.prototype.contentDir=1;var KO=function(a,b){return null!=a&&a.contentKind===b};var sec=function(a){if(null!=a)switch(a.contentDir){case 1:return 1;case -1:return-1;case 0:return 0}return null},ir=function(a){return KO(a,IO)?a:a instanceof ec?er(hh(a).toString()):er(String(String(a)).replace(tec,uec),sec(a))},er=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}}(qec),vec=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return new b(String(c))}}(rec),
LO=function(a){return a instanceof JO?!!a.getContent():!!a},jr=function(a){return KO(a,IO)?a:er(wec(a,xec),sec(a))},yec=RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b"),wec=function(a,b){if(!b)return String(a).replace(zec,"").replace(Aec,"&lt;");a=String(a).replace(/\[/g,"&#91;");var c=[],d=[];a=a.replace(zec,function(f,h){if(h&&(h=h.toLowerCase(),b.hasOwnProperty(h)&&b[h])){var k=c.length,q="</",t="";if("/"!=f.charAt(1)){q="<";for(var w;w=Bec.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}Bec.lastIndex=0}c[k]=q+h+">";d[k]=t;return"["+k+"]"}return""});a=String(a).replace(Cec,uec);var e=Dec(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},Eec=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},Dec=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]="":yec.test(e)||b.push("</"+e.substring(1))}return b.reverse().join("")},hr=function(a){return KO(a,IO)?String(wec(a.getContent())).replace(Cec,uec):String(a).replace(tec,uec)},Fec=function(a){KO(a,oec)&&(a=a.getContent());return(a&&!a.startsWith(" ")?" ":"")+a},NO=function(a){KO(a,mec)||KO(a,nec)?a=MO(a):
a instanceof bh?a=MO(eh(a)):a instanceof Ju?a=MO(Rh(a).toString()):(a=String(a),a=Gec.test(a)?a.replace(Hec,Iec):"about:invalid#zSoyz");return a},Kec=function(a){KO(a,mec)||KO(a,nec)?a=MO(a):a instanceof bh?a=MO(eh(a)):a instanceof Ju?a=MO(Rh(a).toString()):(a=String(a),a=Jec.test(a)?a.replace(Hec,Iec):"about:invalid#zSoyz");return a},OO=function(a){KO(a,pec)?a=Eec(a.getContent()):null==a?a="":a instanceof wOb?(a instanceof wOb&&a.constructor===wOb?a=a.privateDoNotAccessOrElseSafeStyleWrappedValue_:
(jb(a),a="type_error:SafeStyle"),a=Eec(a)):a instanceof xOb?(a instanceof xOb&&a.constructor===xOb?a=a.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:(jb(a),a="type_error:SafeStyleSheet"),a=Eec(a)):(a=String(a),a=Lec.test(a)?a:"zSoyz");return a},Mec={"\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;"},uec=function(a){return Mec[a]},Nec={"\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"},Iec=function(a){return Nec[a]},tec=/[\x00\x22\x26\x27\x3c\x3e]/g,Cec=/[\x00\x22\x27\x3c\x3e]/g,Hec=/[\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,Lec=/^(?!-*(?: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,
Gec=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,Jec=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+-]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Oec=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,MO=function(a){return String(a).replace(Hec,Iec)},Pec=function(a){a=String(a);return Oec.test(a)?a:"zSoyz"},zec=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,Aec=/</g,
xec={b:!0,br:!0,em:!0,i:!0,s:!0,strong:!0,sub:!0,sup:!0,u:!0},Bec=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;var KIa={};var PO=function(a,b,c){No.call(this);this.matcher_=a;this.selectionHandler_=c;this.renderer_=b;Oo(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_={}};Et(PO,No);g=PO.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_[QO(this,a)];c=!!d&&b.isRowDisabled&&b.isRowDisabled(d);d&&!c&&this.hiliteId_!=a&&this.hiliteId(a)}c||this.selectHilited();break;case "canceldismiss":Qec(this);break;case "dismiss":Rec(this)}};
g.setToken=function(a){this.token_!=a&&(this.token_=a,this.matcher_.requestMatchingRows(this.token_,this.maxMatches_,Ct(this.matchListener_,this)),Qec(this))};g.getTarget=function(){return this.target_};g.setTarget=function(a){this.target_=a};g.isOpen=function(){return this.renderer_.isVisible()};var Sec=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}};
PO.prototype.hiliteId=function(a){var b=QO(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)};
PO.prototype.selectHilited=function(){var a=QO(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=Tec(c,c.getValue(),c.getCursorPosition()),f=Uec(c,c.getValue());c.separatorCheck_&&!c.separatorCheck_.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.defaultSeparator_);0==e||Ui(f[e-1])||(d=" "+d);e==f.length-1&&(d+=" ");if(d!=f[e]){f[e]=d;d=c.activeElement_;(Ht||Nq)&&d.blur();d.value=f.join("");for(var h=0,k=0;k<=e;k++)h+=f[k].length;
d.focus();e=h;f=c.activeElement_;Vec(f)&&(f.selectionStart=e);f=c.activeElement_;Vec(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};
PO.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 Rec=function(a){a.dismissTimer_||(a.dismissTimer_=window.setTimeout(Ct(a.dismiss,a),100))};
PO.prototype.immediatelyCancelDelayedDismiss_=function(){return this.dismissTimer_?(window.clearTimeout(this.dismissTimer_),this.dismissTimer_=null,!0):!1};var Qec=function(a){a.immediatelyCancelDelayedDismiss_()||window.setTimeout(Ct(a.immediatelyCancelDelayedDismiss_,a),10)};PO.prototype.disposeInternal=function(){PO.superClass_.disposeInternal.call(this);delete this.inputToAnchorMap_;this.renderer_.dispose();this.selectionHandler_.dispose();this.matcher_=null};
PO.prototype.matchListener_=function(a,b,c){this.token_==a&&this.renderRows(b,c)};
PO.prototype.renderRows=function(a,b){var c="object"==jb(b)&&b;b=(c?c.getPreserveHilited():b)?QO(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_[Aa(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):Sec(this));this.dispatchEvent("suggestionsupdate")};var QO=function(a,b){b-=a.firstRowId_;return 0>b||b>=a.rows_.length?-1:b};PO.prototype.attachInputs=function(a){var b=this.selectionHandler_;b.attachInputs.apply(b,arguments)};PO.prototype.detachInputs=function(a){var b=this.selectionHandler_;b.detachInputs.apply(b,arguments);Array.prototype.forEach.call(arguments,function(c){cc(this.inputToAnchorMap_,Aa(c))},this)};PO.prototype.update=function(a){this.selectionHandler_.update(a)};var Wec=function(a,b){var c=0,d=0;Vec(a)&&(c=a.selectionStart,d=b?-1:a.selectionEnd);return[c,d]},Vec=function(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};var Zec=function(a,b,c,d,e,f){if(Tq&&e)return Xec(a);if(e&&!d)return!1;if(!Ht){"number"===typeof b&&(b=Yec(b));var h=17==b||18==b||Tq&&91==b;if((!c||Tq)&&h||Tq&&16==b&&(d||f))return!1}if((It||Gt)&&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(Nq&&d&&b==a)return!1;switch(a){case 13:return Ht?f||e?!1:!(c&&d):!0;case 27:return!(It||Gt||Ht)}return Ht&&(d||e||f)?!1:Xec(a)},Xec=function(a){if(48<=a&&57>=a||96<=a&&106>=
a||65<=a&&90>=a||(It||Gt)&&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 Ht;default:return!1}},Yec=function(a){if(Ht)a=$ec(a);else if(Tq&&It)switch(a){case 93:a=91}return a},$ec=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 afc=function(a,b,c,d){zB.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};Et(afc,zB);var RO=function(a,b){No.call(this);a&&this.attach(a,b)};Et(RO,No);g=RO.prototype;g.element_=null;g.keyPressKey_=null;g.keyDownKey_=null;g.keyUpKey_=null;g.lastKey_=-1;g.keyCode_=-1;g.altKey_=!1;
var bfc={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},cfc={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},dfc=Tq&&Ht;g=RO.prototype;
g.handleKeyDown_=function(a){(It||Gt)&&(17==this.lastKey_&&!a.ctrlKey||18==this.lastKey_&&!a.altKey||Tq&&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));Zec(a.keyCode,this.lastKey_,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.keyCode_=Yec(a.keyCode),dfc&&(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(Nq&&"keypress"==a.type){var d=this.keyCode_;var e=13!=d&&27!=d?b.keyCode:0}else(It||Gt)&&"keypress"==a.type?(d=this.keyCode_,e=0<=b.charCode&&63232>b.charCode&&Xec(d)?b.charCode:0):("keypress"==a.type?(dfc&&(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),Tq&&63==e&&224==d&&(d=191));var f=d=Yec(d);d?63232<=
d&&d in bfc?f=bfc[d]:25==d&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in cfc&&(f=cfc[b.keyIdentifier]);if(!Ht||"keypress"!=a.type||Zec(f,this.lastKey_,a.shiftKey,a.ctrlKey,c,a.metaKey))a=f==this.lastKey_,this.lastKey_=f,b=new afc(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_=Oo(this.element_,"keypress",this,b);this.keyDownKey_=Oo(this.element_,"keydown",this.handleKeyDown_,b,this);this.keyUpKey_=Oo(this.element_,"keyup",this.handleKeyup_,b,this)};g.detach=function(){this.keyPressKey_&&(FB(this.keyPressKey_),FB(this.keyDownKey_),FB(this.keyUpKey_),this.keyUpKey_=this.keyDownKey_=this.keyPressKey_=null);this.element_=null;this.keyCode_=this.lastKey_=-1};
g.disposeInternal=function(){RO.superClass_.disposeInternal.call(this);this.detach()};var SO=function(a,b,c,d){wB.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 YB(d):null;this.eh_=new Qq(this);this.activateHandler_=new Qq(this);this.keyHandler_=new RO;this.lastKeyCode_=-1};
Et(SO,wB);g=SO.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 Wec(this.activeElement_,!0)[0]};
g.attachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];RB(c)&&(SM(c,"combobox"),TM(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_),RB(c))){var d=IB(c);try{var e=d&&d.activeElement;var f=e&&e.nodeName?e:null}catch(h){f=null}f==c&&efc(this,c)}}};
g.detachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];RB(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(){SO.superClass_.disposeInternal.call(this);this.eh_.dispose();delete this.eh_;this.activateHandler_.dispose();this.keyHandler_.dispose();Jh(this.timer_)};
var gfc=function(a,b){switch(b.keyCode){case 40:if(a.ac_.isOpen()){Sec(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}}ffc(a,b)},ffc=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()};SO.prototype.handleKeyUp=function(){return!1};SO.prototype.handleFocus=function(a){efc(this,a.target||null)};
var efc=function(a,b){a.activateHandler_.removeAll();a.ac_&&Qec(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_),Nq&&a.eh_.listen(a.activeElement_,"keypress",a.onIeKeyPress_))};g=SO.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_),Nq&&this.eh_.unlisten(this.activeElement_,"keypress",this.onIeKeyPress_),this.waitingForIme_&&hfc(this),this.activeElement_=null,this.timer_&&(this.timer_.stop(),this.eh_.unlisten(this.timer_,"tick",this.onTick_)),this.ac_&&Rec(this.ac_))};
g.onTick_=function(){this.update()};g.onKeyDownOnInactiveElement_=function(a){this.handleFocus(a)};g.onKey_=function(a){this.lastKeyCode_=a.keyCode;this.ac_&&gfc(this,a)};g.onKeyPress_=function(){this.waitingForIme_&&229!=this.lastKeyCode_&&hfc(this)};g.onKeyUp_=function(a){this.waitingForIme_&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&hfc(this)};g.onMouseDown_=function(){};
var hfc=function(a){a.waitingForIme_&&(a.waitingForIme_=!1,a.eh_.unlisten(a.activeElement_,"keypress",a.onKeyPress_),a.eh_.unlisten(a.activeElement_,"keyup",a.onKeyUp_))};SO.prototype.onIeKeyPress_=function(a){ffc(this,a)};
SO.prototype.update=function(a){if(this.activeElement_&&(a||this.getValue()!=this.lastValue_)){if(a||!this.rowJustSelected_){a=this.getCursorPosition();var b=this.getValue();a=Uec(this,b)[Tec(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 Tec=function(a,b,c){a=Uec(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},Uec=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 ifc=function(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""},jfc=function(a){return a.classList?a.classList:ifc(a).match(/\S+/g)||[]},kfc=function(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)},lfc=function(a,b){return a.classList?a.classList.contains(b):sa(jfc(a),b)},TO=function(a,b){if(a.classList)a.classList.add(b);else if(!lfc(a,b)){var c=ifc(a);kfc(a,c+(0<c.length?" "+b:b))}},UO=function(a,b){if(a.classList)Array.prototype.forEach.call(b,
function(e){TO(a,e)});else{var c={};Array.prototype.forEach.call(jfc(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;kfc(a,b)}},mfc=function(a,b){a.classList?a.classList.remove(b):lfc(a,b)&&kfc(a,Array.prototype.filter.call(jfc(a),function(c){return c!=b}).join(" "))},nfc=function(a,b){a.classList?Array.prototype.forEach.call(b,function(c){mfc(a,c)}):kfc(a,Array.prototype.filter.call(jfc(a),function(c){return!sa(b,c)}).join(" "))};var ofc=function(a,b){if(b&&a in b)return a;var c=It?"Webkit":Ht?"Moz":Nq?"ms":null;return c?(c=c.toLowerCase(),a=c+ei(a),void 0===b||a in b?a:null):null};var VO=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};g=VO.prototype;g.getWidth=function(){return this.right-this.left};g.getHeight=function(){return this.bottom-this.top};g.clone=function(){return new VO(this.top,this.right,this.bottom,this.left)};g.contains=function(a){return this&&a?a instanceof VO?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){za(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 Yq?(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 WO=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};WO.prototype.clone=function(){return new WO(this.left,this.top,this.width,this.height)};var Jab=function(a){return new WO(a.left,a.top,a.right-a.left,a.bottom-a.top)};
WO.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 pfc=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 WO(c,e,d-c,a-e)}return null};
g=WO.prototype;g.contains=function(a){return a instanceof Yq?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 GB(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 Yq?(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 XO=function(a,b){var c=IB(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},Mp=function(a,b){return XO(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},ar=function(a,b,c){if(b instanceof Yq){var d=b.x;b=b.y}else d=b,b=c;a.style.left=YO(d,!1);a.style.top=YO(b,!1)},qfc=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},sab=function(a){if(Nq&&!(8<=
Number(Jt)))return a.offsetParent;var b=IB(a),c=Mp(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=Mp(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},Xq=function(a){for(var b=new VO(0,Infinity,Infinity,0),c=Qo(a),d=c.document_.body,e=c.document_.documentElement,f=NB(c.document_);a=
sab(a);)if(!(Nq&&0==a.clientWidth||It&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=Mp(a,"overflow")){var h=ZO(a),k=new Yq(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,f);c=c.getViewportSize();b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=
b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null},tab=function(a,b){b=b||NB(document);var c=b||NB(document);var d=ZO(a),e=ZO(c);if(!Nq||9<=Number(Jt)){h=XO(c,"borderLeftWidth");var f=XO(c,"borderRightWidth");k=XO(c,"borderTopWidth");q=XO(c,"borderBottomWidth");f=new VO(parseFloat(k),parseFloat(f),parseFloat(q),parseFloat(h))}else{var h=rfc(c,"borderLeft");f=rfc(c,"borderRight");var k=rfc(c,"borderTop"),q=rfc(c,"borderBottom");f=new VO(k,f,q,h)}c==NB(document)?(h=d.x-c.scrollLeft,d=d.y-c.scrollTop,
!Nq||10<=Number(Jt)||(h+=f.left,d+=f.top)):(h=d.x-e.x-f.left,d=d.y-e.y-f.top);a=sfc(a);e=c.clientHeight-a.height;f=c.scrollLeft;k=c.scrollTop;f+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-e,0));c=new Yq(f,k);b.scrollLeft=c.x;b.scrollTop=c.y},ZO=function(a){var b=IB(a),c=new Yq(0,0);var d=b?IB(b):document;d=!Nq||9<=Number(Jt)||IXb(Qo(d).document_)?d.documentElement:d.body;if(a==d)return c;a=qfc(a);b=OB(Qo(b).document_);c.x=a.left+b.x;c.y=a.top+b.y;return c},Kab=function(a,
b,c){if(b.document_!=c.document_){var d=b.document_.body;c=c.getWindow();var e=new Yq(0,0),f=PB(IB(d));if(FMb(f,"parent")){var h=d;do{if(f==c)var k=ZO(h);else k=qfc(h),k=new Yq(k.left,k.top);e.x+=k.x;e.y+=k.y}while(f&&f!=c&&f!=f.parent&&(h=f.frameElement)&&(f=f.parent))}d=Zq(e,ZO(d));!Nq||9<=Number(Jt)||IXb(b.document_)||(d=Zq(d,OB(b.document_)));a.left+=d.x;a.top+=d.y}},tfc=function(a,b,c){if(b instanceof GB)c=b.height,b=b.width;else if(void 0==c)throw Error("nd");a.style.width=YO(b,!0);a.style.height=
YO(c,!0)},YO=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a},$q=function(a){var b=sfc;if("none"!=Mp(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},sfc=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=It&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=qfc(a),new GB(a.right-a.left,a.bottom-a.top)):new GB(b,c)},Wq=
function(a){var b=ZO(a);a=$q(a);return new WO(b.x,b.y,a.width,a.height)},ufc=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)+")")},$O=function(a,b){a.style.display=b?"":"none"},aP=function(a){return"rtl"==Mp(a,"direction")},vfc=Ht?"MozUserSelect":It||Gt?"WebkitUserSelect":null,wfc=function(a){var b=a.getElementsByTagName("*");if(vfc){var c="none";a.style&&(a.style[vfc]=c);if(b){a=0;for(var d;d=b[a];a++)d.style&&
(d.style[vfc]=c)}}else if(Nq&&(c="on",a.setAttribute("unselectable",c),b))for(a=0;d=b[a];a++)d.setAttribute("unselectable",c)},Pab=function(a,b){a=a.style;Ht?a.MozBoxSizing="border-box":It?a.WebkitBoxSizing="border-box":a.boxSizing="border-box";a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"},xfc=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},yfc=function(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?xfc(a,b):0},zfc=function(a){if(Nq){var b=yfc(a,"marginLeft"),c=yfc(a,"marginRight"),d=yfc(a,"marginTop");a=yfc(a,"marginBottom");return new VO(d,c,a,b)}b=XO(a,"marginLeft");c=XO(a,"marginRight");d=XO(a,"marginTop");a=XO(a,"marginBottom");return new VO(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))},Afc={thin:2,medium:4,thick:6},rfc=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 Afc?Afc[b]:xfc(a,b)};var Bfc=function(){if(IMb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(ea()))?a[1]:"0"}return Tq?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(ea()))?a[0].replace(/_/g,"."):"10"):KMb?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(ea()))?a[1]:""):LMb||MMb||NMb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(ea()))?a[1].replace(/_/g,"."):""):""}();var bP=function(a){return(a=a.exec(ea()))?a[1]:""},Cfc=function(){if(XMb)return bP(/Firefox\/([0-9.]+)/);if(Nq||Gt||GMb)return UMb;if(aNb){if(pa()||waa()){var a=bP(/CriOS\/([0-9.]+)/);if(a)return a}return bP(/Chrome\/([0-9.]+)/)}if(bNb&&!pa())return bP(/Version\/([0-9.]+)/);if(YMb||ZMb){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(ea()))return a[1]+"."+a[2]}else if($Mb)return(a=bP(/Android\s+([0-9.]+)/))?a:bP(/Version\/([0-9.]+)/);return""}();var Iab=function(a){if(a=a.offsetParent){var b="HTML"==a.tagName||"BODY"==a.tagName;if(!b||"static"!=Mp(a,"position")){var c=ZO(a);if(!b){b=aP(a);var d;if(d=b){d=bNb&&0<=uMb(Cfc,10);var e;if(e=OMb)e=0<=uMb(Bfc,10);var f=aNb&&0<=uMb(Cfc,85);d=Ht||d||e||f}b=d?-a.scrollLeft:b&&!Xo&&"visible"!=Mp(a,"overflowX")?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=Zq(c,new Yq(b,a.scrollTop))}}}return c||new Yq},Mab=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 k=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,k+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&&(k=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,k+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 WO(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}},Lab=function(a,b){return(b&8&&aP(a)?b^4:b)&
-9};var Uq=function(){};Uq.instance_=void 0;Uq.getInstance=function(){return Uq.instance_?Uq.instance_:Uq.instance_=new Uq};Uq.prototype.nextId_=0;Uq.prototype.idPrefix_="";Uq.prototype.setIdPrefix=function(a){this.idPrefix_=a};var Mq=function(a){return a.idPrefix_+":"+(a.nextId_++).toString(36)};var cP=function(a,b,c,d){No.call(this);this.parent_=a||document.body;this.dom_=Qo(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};Et(cP,No);g=cP.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_=[];Dfc(this)};g.dismiss=function(){this.visible_&&(this.visible_=!1,Efc(this,!1),$O(this.element_,!1))};g.show=function(){this.visible_||(this.visible_=!0,Efc(this,!0),$O(this.element_,!0))};
var Efc=function(a,b){a.target_&&(TM(a.target_,"haspopup",b),TM(a.element_,"expanded",b),TM(a.target_,"expanded",b),b?TM(a.target_,"owns",a.element_.id):(a.target_.removeAttribute("aria-owns"),UM(a.target_,null)))};cP.prototype.isVisible=function(){return this.visible_};
var Ffc=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_&&nfc(a.rowDivs_[a.hilitedRow_],["ac-active","active"]),a.hilitedRow_=b,d&&(UO(d,["ac-active","active"]),a.target_&&UM(a.target_,d),tab(d,a.element_)))};cP.prototype.hiliteId=function(a){if(-1==a)Ffc(this,-1);else for(var b=0;b<this.rows_.length;b++)if(this.rows_[b].id==a){Ffc(this,b);break}};
var Gfc=function(a){if(!a.element_){var b=a.dom_.createDom("DIV",{style:"display:none"});a.element_=b;UO(b,bi(a.className).split(" "));SM(b,"listbox");b.id=Mq(Uq.getInstance());a.dom_.appendChild(a.parent_,b);Oo(b,"click",a.handleClick_,!1,a);Oo(b,"mousedown",a.handleMouseDown_,!1,a);Oo(b,"mouseover",a.handleMouseOver_,!1,a)}},Dfc=function(a){Gfc(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:Mq(Uq.getInstance())});SM(d,"option");this.customRenderer_&&this.customRenderer_.renderRow?this.customRenderer_.renderRow(b,c,d):SB(d,b.data.toString());c&&this.useStandardHighlighting_&&(this.wasHighlightedAtLeastOnce_=!1,Hfc(this,d,c));TO(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(),wfc(a.element_))};
cP.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=Iab(c),f=Wq(a),h=Xq(a);h&&f.intersection(Jab(h));Kab(f,Qo(a),Qo(c));a=Lab(a,b);b=f.left;a&4?b+=f.width:a&2&&(b+=f.width/2);a=new Yq(b,f.top+(a&1?f.height:0));a=Zq(a,e);if(f=Xq(c))f.top-=e.y,f.right-=e.x,f.bottom-=e.y,f.left-=e.x;e=a.clone();a=Lab(c,d);d=$q(c);b=d.clone();e=Mab(e,b,a,null,f,65);e.status&496||(f=e.rect,ar(c,new Yq(f.left,
f.top)),b=e.rect.getSize(),Oab(d,b)||Pab(c,b))}};cP.prototype.getTarget=function(){return this.target_||null};cP.prototype.disposeInternal=function(){this.element_&&(EB(this.element_,"click",this.handleClick_,!1,this),EB(this.element_,"mousedown",this.handleMouseDown_,!1,this),EB(this.element_,"mouseover",this.handleMouseOver_,!1,this),this.dom_.removeNode(this.element_),this.element_=null,this.visible_=!1);Jh(this.animation_);this.parent_=null;cP.superClass_.disposeInternal.call(this)};
var Hfc=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=Ifc(a,c);if(0!=c.length){var e=b.nodeValue,f=new RegExp("\\b(?:"+c+")","gi");c=[];for(var h=0,k=f.exec(e),q=0;k;)q++,c.push(e.substring(h,k.index)),c.push(e.substring(k.index,f.lastIndex)),h=f.lastIndex,k=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&&Hfc(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,Hfc(a,b,c),b=d},Ifc=function(a,b){var c="";if(!b)return c;Array.isArray(b)&&(b=b.filter(function(d){return!Ui(Ti(d))}));a.highlightAllTokens_?
Array.isArray(b)?c=b.map(no).join("|"):(c=EOb(b),c=no(c),c=c.replace(/ /g,"|")):Array.isArray(b)?c=0<b.length?no(b[0]):"":/^\W/.test(b)||(c=no(b));return c},Jfc=function(a,b){for(;b&&b!=a.element_&&!lfc(b,"ac-row");)b=b.parentNode;return b?a.rowDivs_.indexOf(b):-1};cP.prototype.handleClick_=function(a){var b=Jfc(this,a.target);0<=b&&this.dispatchEvent({type:"select",row:this.rows_[b].id});a.stopPropagation()};cP.prototype.handleMouseDown_=function(a){a.stopPropagation();a.preventDefault()};
cP.prototype.handleMouseOver_=function(a){a=Jfc(this,a.target);0<=a&&!(300>Date.now()-this.startRenderingRows_)&&this.dispatchEvent({type:"hilite",row:this.rows_[a].id})};var dP=function(a,b,c,d,e,f,h,k,q,t){f=f||new SO(",;",'"');h=new cP(h||null,q||this,t);h.reposition_=!0;h.className=b;h.highlightAllTokens_=!0;PO.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_=!!k};Et(dP,PO);
var Lfc=function(a,b,c,d,e,f,h){b=new dP(null,b,void 0,f,c,d,e,void 0,void 0,h);xD(a);Ct(Kfc,null,b,!0);throw Error("id");},Mfc=function(a,b,c,d,e,f,h){b=new dP(null,b,void 0,f,c,d,e,void 0,void 0,h);c=Kfc;e=a.getClientInfo();d=(f=Xi(e,10)||Xi(a.getExperiments(),5,!0))?new Qcc(void 0,Occ(a)):new vO(void 0,Occ(a));h=Rr(new Ybc(a,1));var k=a.getUserInfo().getEnvType()||1;var q=cec.get(k)||4;q=pIa("people-pa",void 0===q?0:q);k=4===k?Zi(a.getClientInfo(),2)||"":Zi(a.getClientInfo(),1)||"";var t=Zi(a.getClientInfo(),
4),w=Zi(a.getClientInfo(),5),z=Zi(a.getClientInfo(),6)||"",F=a.getClientInfo().getAffinityType()||"",J=Fj(a.getUserInfo(),2),H=a.getAuthErrorHandler(),O=qi(a.getClientInfo(),8,3E4),P=Xi(a.getClientInfo(),17,!1);h=new Udc(h,q,k,t,w,z,F,J,O,H,qi(a.getClientInfo(),13,15),qi(a.getClientInfo(),14,500),Zi(a.getClientInfo(),15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),Zi(a.getClientInfo(),16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),a.getExperiments(),
P);a=new GO(h,obc(a));h=new kec(a);h.configure(null,"Personal Contacts");d.addAddressBook(h,!0);f&&(a=new yO(a,null,!!Xi(e,11)),a.configure(null,"Domain Contacts"),d.addAddressBook(a,!0));c(b,!0,d);return b},Kfc=function(a,b,c){b&&c.loadContactRows(Gbc,function(){});Nfc(a,c)};dP.prototype.disposeInternal=function(){this.inputHandler_.dispose();this.contactStore_&&this.ownsContactStore_&&Jh(this.contactStore_);dP.superClass_.disposeInternal.call(this)};
var Nfc=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=dP.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:Ebc,addressBookId:this.addressBookId_,filter:this.filter_,isAutoCompleteMode:!0,isContactAutoComplete:!!this.returnFullContacts,includeEvergreenData:!1};c=Ct(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 WN;var d=[];this.filter_&&(d=this.filter_(d,a.token));b.setResponse(Dt(c,d,b,null,a))}};g.handleAutoCompleteContacts_=function(a,b,c,d,e){a(e.token,b)};g.renderRows=function(a,b){dP.superClass_.renderRows.call(this,a,b)};g.dismiss=function(){dP.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=er('<div class="'+hr("goog-contacts-ui-autocomplete-name-nochat")+(LO(b)?" "+hr("goog-contacts-ui-autocomplete-new-section"):"")+'">'+ir(a)+"</div>"))&&a.renderElement&&c?a.renderElement(c):(a=LIa(a),MIa(c,a))};g.selectHilited=function(){var a=QO(this,this.hiliteId_);return-1!=a&&(a=this.rows_[a],a.specialRowHandler)?(a.specialRowHandler(),!0):dP.superClass_.selectHilited.call(this)};
g.fireSelectionEvent=function(a){this.dispatchEvent(new Ofc(a))};var Ofc=function(a){yB.call(this,"g");this.row=a};Et(Ofc,yB);hMb("createAutoComplete",function(a,b,c,d,e,f,h,k,q,t){d&&(b=b+d+"/");b=lec(xD(b));f&&b.loadContactRows(Gbc,function(){});c=new dP(b,c,void 0,q,e,k,t,!0);c.attachInputs(JB(document,a));return c});var eP=function(){this.eventHandler_=new Qq(this);eP.prototype.addInput=eP.prototype.addInput;eP.prototype.removeInput=eP.prototype.removeInput;eP.prototype.setTarget=eP.prototype.setTarget},Pfc=function(a,b){var c=new eP;c.create(a,b);return c};g=eP.prototype;
g.create=function(a,b){a=JB(document,a);this.acWidget_=b.contactStoreConfig?Mfc(b.contactStoreConfig,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign):Lfc(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(ca,d.target.getTarget())});
this.addInput(a)};g.dispose=function(){Cra(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;
ca._EmailAc_create=Pfc;var Qfc=function(a,b){return new To("/",a,void 0,void 0,void 0,void 0,b)};To.prototype.setLocale=function(){};var Rfc=function(a){this.params=a;this.pendingInputs=new Set;this.emailac=null};Rfc.prototype.setTarget=function(a){this.emailac&&this.emailac.setTarget(a)};
To.prototype.initAutocomplete=function(a){if(this.emailAcInitialized_)throw Error("pd");this.emailAcInitialized_=!0;this.commonAcParams_=a||{};for(var b in this.acWrappers_)Sfc(this,this.acWrappers_[b]);this.focusedElement_&&(a=Aa(this.focusedElement_),(a=this.inputToAcWrapper_[a])&&a.setTarget(this.focusedElement_));for(var c in this.acWrappers_)for(a=[].concat(r(this.acWrappers_[c].pendingInputs.values())),b=1;b<a.length;b++)EB(a[b],"focus",this.onTargetFocus_,!1,this)};
var Sfc=function(a,b){var c=b.params;c.serverBase=a.serverBase_;c.onComplete=Ct(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(r(b.pendingInputs.values()));b.emailac=Pfc(a[0],c);for(c=1;c<a.length;c++)b.emailac.addInput(a[c]);b.pendingInputs.clear()};g=To.prototype;
g.attachAutocomplete=function(a,b,c){a=JB(document,a);var d=b||{};b=Aa(a);this.onAcCompleteListeners_[b]=c;c="";for(var e in d)c+=e+"="+d[e]+";";e=this.acWrappers_[c];e||(e=new Rfc(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_?Sfc(this,e):Oo(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_[Aa(a)];b&&b(a)};g.detachAutocomplete=function(a){a=JB(document,a);EB(a,"focus",this.onTargetFocus_,!1,this);var b=Aa(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)};hMb("goog.NewContactTools",To);
hMb("goog.NewContactTools.create",Qfc);To.prototype.setLocale=To.prototype.setLocale;To.prototype.attachAutocompleteTo=To.prototype.attachAutocompleteTo;To.prototype.initAutocomplete=To.prototype.initAutocomplete;To.prototype.attachAutocomplete=To.prototype.attachAutocomplete;To.prototype.detachAutocomplete=To.prototype.detachAutocomplete;var RIa=function(a){this.rows_=a||[]};RIa.prototype.requestMatchingRows=function(a,b,c){var d=this.rows_;var e=[];if(""!=a)for(var f=new RegExp("(^|\\W+)"+no(a),"i"),h=0;h<d.length&&e.length<b;h++){var k=d[h];String(k).match(f)&&e.push(k)}0==e.length&&(e=Tfc(a,b,d));c(a,e)};
var QIa=function(a,b,c){return Tfc(b,c,a.rows_)},Tfc=function(a,b,c){for(var d=[],e=0;e<c.length;e++){var f=c[e],h=a.toLowerCase(),k=String(f).toLowerCase(),q=0;if(-1!=k.indexOf(h))q=parseInt((k.indexOf(h)/4).toString(),10);else for(var t=h.split(""),w=-1,z=10,F=0,J;J=t[F];F++)J=k.indexOf(J),J>w?(w=J-w-1,w>z-5&&(w=z-5),q+=w,w=J):(q+=z,z+=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(F=0;F<b&&F<d.length;F++)a.push(d[F].str);
return a};var fP=function(a,b,c,d,e){var f=this;this.activeSession=c;this.firstPartyAuthHelper=e;this.contactTools=null;this.subscription=new W.Subscription;this.acReadyDeferred=un();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 k="QA"===f.activeSession.getEnvironmentType();k&&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(k,function(){jbc(f.firstPartyAuthHelper)});f.contactTools.initAutocomplete()})}};fP.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};
fP.prototype.attach=function(a,b,c){var d=this,e=function(h,k){return SIa(h,k,c)},f=new W.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};fP.\u0275fac=function(a){return new (a||fP)(p(uE),p(hI),p(nt),p(gP),p(QN))};fP.\u0275prov=vc({token:fP,factory:fP.\u0275fac,providedIn:"root"});
var gP=function(){};gP.prototype.create=function(a,b){var c=new TN,d=c.getUserInfo();tj(d,6,a?5:1);a=c.getExperiments();a=Mh(a,5,!0);a=Mh(a,1,!0);a=Mh(a,3,!0);Mh(a,2,!0);c.setAuthErrorHandler(b);return Qfc("xapi",c)};gP.\u0275fac=function(a){return new (a||gP)};gP.\u0275prov=vc({token:gP,factory:gP.\u0275fac,providedIn:"root"});var hP=function(a,b,c){Y.call(this);this.element=a;this.focusContacts=b;this.activeSession=c;this.autocompleteActive=new zv;this.additionalContactsCallback=function(){return[]};this.$element=this.element.nativeElement};X(hP,Y);
hP.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-"+Lu());if(!this.activeSession.isAnonymous()){if("SINGLE"===this.fieldType)var b=function(){a.$element.value=Ufc(Vfc(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=l(f.value.split(",")),k=h.next();!k.done;k=h.next())d+=k.value.trim(),d.match(/^[a-z0-9@\-\._\+]+$/i)?(e.push(Ufc(d)),d=""):ibc.test(d)?(e.push(d),d=""):d.match(/(".+" )?<.+>/)&&(d=Ufc(Vfc(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("qd`"+
this.fieldType);var c=this.additionalContactsCallback();c=Wfc(c);this.subscriptions.add(this.focusContacts.attach(this.$element,b,c))}};
var Xfc=function(a){(0,W.timer)(150).pipe(ef(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)})},Wfc=function(a){return a.map(function(b){return{text:b.text,getEmail:function(){return b.text},toString:function(){return b.id},getPriority:function(){}}})},Vfc=function(a){return a.substr(Math.max(0,a.lastIndexOf("<"))).trim().replace(/[<>]/g,"")},Ufc=function(a){a=a.trim();
","===qa(a)&&(a=a.slice(0,-1));a=po(a);var b=a.split("@");return 2===b.length?b[0]+"@"+b[1].toLowerCase():a};hP.\u0275fac=function(a){return new (a||hP)(A(Ad),A(fP),A(nt))};
hP.\u0275dir=Qc({type:hP,selectors:[["","bContactAutocomplete",""]],hostBindings:function(a,b){a&1&&M("keydown",function(){return Xfc(b)},!1,Gd)("mousedown",function(){return Xfc(b)})},inputs:{fieldType:[0,"bContactAutocomplete","fieldType"],additionalContactsCallback:"additionalContactsCallback"},outputs:{autocompleteActive:"autocompleteActive"},features:[nf]});var iP=function(){};iP.\u0275fac=function(a){return new (a||iP)};iP.\u0275mod=Nc({type:iP});iP.\u0275inj=wc({imports:[SH]});var Yfc=["textarea"],Zfc=["hiddenInput"],$fc=["autocompleteUnderlay"],agc=Symbol(),jP=function(a,b,c){Y.call(this);this.codefont=a;this.activeSession=b;this.window=c;this.textareaClass=[];this.disabled=!1;this.contentChange=new zv;this.focus=new zv;this.blur=new zv;this.autoResize=new zv;this.manualResize$=new zv;this.autocompleteUserName="";this.scrollPosition=this.autocompleteLeft=this.autocompleteTop=0;this.taggingInProgress=!1;this.wordInfo={wordStart:0,wordEnd:0,word:""};this.textAreaLastAtSymbolLocation=
this.textAreaLastCursorLocation=0};X(jP,Y);jP.\u0275dir=Y.\u0275dir;jP.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.codefont.codefont$.subscribe(function(b){b?Uo(a).classList.add("codefont"):Uo(a).classList.remove("codefont")}))};jP.prototype.ngOnDestroy=function(){Y.prototype.ngOnDestroy.call(this);this.focus.complete();this.blur.complete();this.manualResize$.complete()};jP.prototype.setValue=function(a){Uo(this).value!==a&&(Uo(this).value=a,this.manualResize$.next())};
jP.prototype.getValue=function(){return Uo(this).value};var Uo=function(a){return a.textareaRef.nativeElement},Vo=function(a){var b;return null==(b=a.hiddenInputRef)?void 0:b.nativeElement},TIa=function(a){return a.activeSession.isInternalSession()&&"INTERNAL_AUDIENCE"===a.audience},bgc=function(a){var b;return null==(b=a.autocompleteUnderlayRef)?void 0:b.nativeElement},cgc=function(a){var b=Uo(a).selectionStart;a.wordInfo=a.findWord(a.getValue(),b)};
jP.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 dgc=function(a){return"ArrowDown"===a.key||"ArrowUp"===a.key||"Enter"===a.key||"Escape"===a.key||"Tab"===a.key},egc=function(a){var b=bgc(a);a=Uo(a);b&&a&&(b.scrollTop=a.scrollTop)},UIa=function(a){a.taggingInProgress=!1;a.autocompleteUserName=""},VIa=function(a,b){b=void 0===b?!1:b;var c=Uo(a),d=Uo(a).value,e,f=null==(e=Vo(a))?void 0:e.value;e=null==f?void 0:f.length;cgc(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};jP.prototype[agc]=function(){return this.findWord};jP.\u0275fac=function(a){return new (a||jP)(A(EE),A(nt),A(uE))};
jP.\u0275cmp=Lc({type:jP,selectors:[["b-comment-draft-textarea"]],viewQuery:function(a,b){a&1&&(Uf(Yfc,7),Uf(Zfc,5),Uf($fc,5));if(a&2){var c;Yf(c=Zf())&&(b.textareaRef=c.first);Yf(c=Zf())&&(b.hiddenInputRef=c.first);Yf(c=Zf())&&(b.autocompleteUnderlayRef=c.first)}},hostBindings:function(a,b){a&1&&M("click",function(){UIa(b)},!1,aha)("keyup",function(c){var d=c.key;c=c.target.classList.contains("autocomplete-hidden-input");"Escape"===d&&c&&(UIa(b),Uo(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:[nf],decls:7,vars:11,consts:[[1,"pos-rel","comment-box-container",3,"keydown"],["commentBoxContainer",""],["aria-label","Comment box - add your comment","cdkFocusInitial","",3,"autoResize","ngClass","disabled","input","focus","blur","onAutoResize","keydown","keyup","scroll"],["textarea",""],[1,"autocomplete-input-container"],
["type","text","bContactAutocomplete","SINGLE","class","autocomplete-hidden-input","tabIndex","-1","aria-hidden","true",3,"value","change","keyup",4,"ngIf"],["class","autocomplete-underlay","contentEditable","true",4,"ngIf"],["type","text","bContactAutocomplete","SINGLE","tabIndex","-1","aria-hidden","true",1,"autocomplete-hidden-input",3,"value","change","keyup"],["hiddenInput",""],["contentEditable","true",1,"autocomplete-underlay"],["autocompleteUnderlay",""]],template:function(a,b){a&1&&(E(0,
"div",0,1),M("keydown",function(c){"Escape"===c.key&&(UIa(b),Uo(b).focus())}),E(2,"textarea",2,3),M("input",function(){b.contentChange.emit(b.getValue())})("focus",function(c){return b.focus.emit(c)})("blur",function(c){return b.blur.emit(c)})("onAutoResize",function(c){return b.autoResize.emit(c)})("keydown",function(c){if(TIa(b)&&dgc(c)&&b.taggingInProgress){null==c||c.preventDefault();var d;null==(d=Vo(b))||d.focus();d=c.code;var e=c.key,f=c.keyCode,h=c.which;c=new KeyboardEvent("keydown",{charCode:c.charCode,
metaKey:c.metaKey,type:c.type,code:"Enter"===e?"Tab":d,key:"Enter"===e?"Tab":e,keyCode:"Enter"===e?9:f,which:"Enter"===e?9:h});var k;null==(k=Vo(b))||k.dispatchEvent(c)}})("keyup",function(c){if(TIa(b)){var d=Uo(b),e=null==d?void 0:d.value;b.textAreaLastCursorLocation=d.selectionStart;b.textAreaLastAtSymbolLocation=e.slice(0,b.textAreaLastCursorLocation).lastIndexOf("@");if(!dgc(c)){c=c.target;b.scrollPosition=c.scrollTop;cgc(b);var f=b.wordInfo.word;d="@"===f;e=f.startsWith("@");var h=f.slice(f.length-
1).match(/[a-z]/i);f=SBa.test(f.slice(1));if(d||e&&h&&!f){c=c.selectionStart;if(!b.taggingInProgress){if(d=bgc(b)){d.textContent=b.getValue();e=bgc(b);h=Uo(b);f="height width font-family margin line-height padding border".split(" ");if(e&&h){h=b.window.getComputedStyle(h);f=l(f);for(var k=f.next();!k.done;k=f.next()){k=k.value;var q=h.getPropertyValue(k);e.style.setProperty(k,q)}}egc(b)}d=null==d?void 0:d.firstChild;e=null==d?void 0:d.textContent;d&&e&&c&&(e=new Range,e.setStart(d,c),e.setEnd(d,c),
c=document.createElement("span"),e.deleteContents(),e.insertNode(c),d=c.getBoundingClientRect(),b.autocompleteTop=d.top,b.autocompleteLeft=d.left,c.remove())}b.taggingInProgress=!0}else b.taggingInProgress=!1;if(b.taggingInProgress){b.autocompleteUserName=b.wordInfo.word.slice(1);var t;null==(t=Vo(b))||t.dispatchEvent(new KeyboardEvent("keydown"))}}}})("scroll",function(){return egc(b)}),G(),E(4,"span",4),C(5,WIa,2,1,"input",5),G(),C(6,XIa,2,0,"div",6),G());a&2&&(y(2),D("autoResize",b.manualResize$)("ngClass",
b.textareaClass)("disabled",b.disabled),pf("placeholder",b.placeholder)("id",b.idForAriaLabel),y(2),xf("top",b.autocompleteTop+"px")("left",b.autocompleteLeft+"px"),y(),D("ngIf",b.taggingInProgress),y(),D("ngIf",TIa(b)))},dependencies:[gw,dw,hP,PM],styles:["textarea.banned-words-warning[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-gfx)}/*# sourceMappingURL=comment_draft_textarea.css.map */"],changeDetection:0});var fgc=function(a){return{"draft-markdown":a}},kP=function(a,b,c){Y.call(this);var d=this;this.cdr=a;this.ref=b;this.events=c;this.previewDisabled=!1;this.selectedIndex=0;this.onCommentSubmitted=function(){d.matTabGroup.selectedIndex=0};this.render=function(){var e=d.matTabGroup;e._tabHeader&&e._tabHeader._alignInkBarToSelectedTab();d.cdr.markForCheck()}};X(kP,Y);kP.\u0275dir=Y.\u0275dir;kP.prototype.ngOnInit=function(){this.subscriptions.add(this.events.commentSubmitted.subscribe(this.onCommentSubmitted))};
kP.prototype.synchronizeHeight=function(a){this.ref.nativeElement.querySelector("mat-tab-group").style.height=a+56+"px"};kP.\u0275fac=function(a){return new (a||kP)(A(EF,2),A(Ad),A(RH))};
kP.\u0275cmp=Lc({type:kP,selectors:[["b-comment-draft-tab-group"]],viewQuery:function(a,b){a&1&&Uf(KN,7);if(a&2){var c;Yf(c=Zf())&&(b.matTabGroup=c.first)}},inputs:{editArea:"editArea",previewArea:"previewArea",previewDisabled:"previewDisabled"},features:[bg([EF]),nf],decls:5,vars:5,consts:[[1,"small","no-border",3,"dynamicHeight","selectedIndex","animationDone","selectedIndexChange"],["label","Edit"],[4,"ngTemplateOutlet"],["label","Preview",3,"disabled"]],template:function(a,b){a&1&&(E(0,"mat-tab-group",
0),M("animationDone",function(){setTimeout(b.render,2E3)})("selectedIndexChange",function(c){return b.selectedIndex=c}),E(1,"mat-tab",1),C(2,YIa,1,0,"ng-container",2),G(),E(3,"mat-tab",3),C(4,ZIa,1,0,"ng-container",2),G()());a&2&&(D("dynamicHeight",!1)("selectedIndex",b.selectedIndex),y(2),D("ngTemplateOutlet",b.editArea),y(),D("disabled",b.previewDisabled),y(),D("ngTemplateOutlet",b.previewArea))},dependencies:[lw,KN,JN],styles:["[_nghost-%COMP%]     mat-tab-header{margin-left:8px;margin-bottom:16px}/*# sourceMappingURL=comment_draft_tab_group.css.map */"],
changeDetection:0});var lP=function(a,b,c,d){Y.call(this);this.codefont=a;this.ngZone=b;this.prefs=c;this.hotkeys=d;this.isMarkdown$=this.prefs.lastPublishMode$.pipe(B(function(e){return e===F1b}));this.idPrefix="b-draft";this.content="";this.textareaClass=[];this.disabled=!1;this.audience="EXTERNAL_AUDIENCE";this.init=new zv;this.contentChange=new zv;this.focus=new zv;this.blur=new zv;this.autoResize=new zv;this.onSubmit=new zv};X(lP,Y);lP.\u0275dir=Y.\u0275dir;
lP.prototype.ngOnChanges=function(){this.commentDraftTextarea&&this.commentDraftTextarea.setValue(this.content)};
lP.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 ggc=function(a){a.ngZone.run(function(){if(a.commentDraftTabGroup){var b=a.commentDraftTabGroup;b.selectedIndex=0;b.render()}a.commentDraftTextarea&&Uo(a.commentDraftTextarea).focus()})};lP.prototype.synchronizeHeight=function(a){this.commentDraftTabGroup&&this.commentDraftTabGroup.synchronizeHeight(a.newHeight)};lP.\u0275fac=function(a){return new (a||lP)(A(EE),A(Ge),A(BE),A(VM))};
lP.\u0275cmp=Lc({type:lP,selectors:[["b-comment-draft"]],viewQuery:function(a,b){a&1&&(Uf(jP,5),Uf(kP,5));if(a&2){var c;Yf(c=Zf())&&(b.commentDraftTextarea=c.first);Yf(c=Zf())&&(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:[nf,
ed],decls:2,vars:10,consts:[[3,"textareaClass","ngClass","disabled","placeholder","idForAriaLabel","audience","autoResize","keydown.control.enter","keydown.meta.enter"]],template:function(a,b){a&1&&(E(0,"b-comment-draft-textarea",0),M("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()}),T(1,"async"),G());a&2&&D("textareaClass",b.textareaClass)("ngClass",
fg(8,fgc,V(1,6,b.isMarkdown$)))("disabled",b.disabled)("placeholder",b.placeholder)("idForAriaLabel",b.idForAriaLabel)("audience",b.audience)},dependencies:[gw,jP,mw],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 mP=function(){};mP.\u0275fac=function(a){return new (a||mP)};mP.\u0275mod=Nc({type:mP});mP.\u0275inj=wc({imports:[kN,SH,iP,dx,Fy,HE,jN,qN,ON,$C,JD]});var hgc=new Xc("GMAT_CHIPS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var nP=function(a){this.options=a};nP.\u0275fac=function(a){return new (a||nP)(A(hgc))};
nP.\u0275dir=Qc({type:nP,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&&yf("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 igc=new Xc("mat-chips-default-options",{providedIn:"root",factory:function(){return{separatorKeyCodes:[13]}}}),jgc=new Xc("MatChipAvatar"),kgc=new Xc("MatChipTrailingIcon"),lgc=new Xc("MatChipRemove"),mgc=new Xc("MatChip");var oP=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=oP.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())};
Vg.Object.defineProperties(oP.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this._parentChip.disabled},set:function(a){this._disabled=a}}});oP.\u0275fac=function(a){return new (a||oP)(A(Ad),A(mgc))};
oP.\u0275dir=Qc({type:oP,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(a,b){a&1&&M("click",function(c){return b._handleClick(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&(pf("tabindex",b._getTabindex())("disabled",b._getDisabledAttribute())("aria-disabled",b.disabled),yf("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",pg],tabIndex:[2,"tabIndex","tabIndex",function(a){return null==a?-1:qg(a)}],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[of]});var ngc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],ogc=0,pP=function(a,b,c,d,e,f,h,k){this._changeDetectorRef=a;this._elementRef=b;this._ngZone=c;this._focusMonitor=d;this._globalRippleOptions=h;this._onFocus=new W.Subject;this._onBlur=new W.Subject;this.role=null;this._hasFocusInternal=!1;this.id="mat-mdc-chip-"+ogc++;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 zv;this.destroyed=new zv;this.basicChipAttrName="mat-basic-chip";this._rippleLoader=Gc(Yy);this._document=e;this._animationsDisabled="NoopAnimations"===f;if(null!=k){var q;this.tabIndex=null!=(q=parseInt(k))?q:-1}this._monitorFocus();null==this._rippleLoader||dTb(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})};g=pP.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,W.merge)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(function(){return a._changeDetectorRef.markForCheck()})};
g.ngDoCheck=function(){fTb(this._rippleLoader,this._elementRef.nativeElement,this._isRippleDisabled())};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);var a;null==(a=this._rippleLoader)||cTb(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}):a._ngZone.onStable.pipe(Ue()).subscribe(function(){return a._ngZone.run(function(){return a._onBlur.next({chip:a})})}))})};
Vg.Object.defineProperties(pP.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:eTb(a,this._elementRef.nativeElement)},set:function(a){var b;null==(b=this._rippleLoader)||gTb(b,this._elementRef.nativeElement,a)}}});
pP.\u0275fac=function(a){return new (a||pP)(A(Uu),A(Ad),A(Ge),A(px),A(Tg),A(Su,8),A(Ry,8),ud("tabindex"))};
pP.\u0275cmp=Lc({type:pP,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(a,b,c){a&1&&(Vf(c,jgc,5),Vf(c,kgc,5),Vf(c,lgc,5),Vf(c,jgc,5),Vf(c,kgc,5),Vf(c,lgc,5));if(a&2){var d;Yf(d=Zf())&&(b.leadingIcon=d.first);Yf(d=Zf())&&(b.trailingIcon=d.first);Yf(d=Zf())&&(b.removeIcon=d.first);Yf(d=Zf())&&(b._allLeadingIcons=d);Yf(d=Zf())&&(b._allTrailingIcons=d);Yf(d=Zf())&&(b._allRemoveIcons=d)}},viewQuery:function(a,b){a&1&&Uf(oP,5);if(a&2){var c;
Yf(c=Zf())&&(b.primaryAction=c.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:32,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._handleKeydown(c)});a&2&&(Hf("id",b.id),pf("role",b.role)("tabindex",b._getTabIndex())("aria-label",b.ariaLabel),zf("mat-"+(b.color||"primary")),yf("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",pg],highlighted:[2,"highlighted","highlighted",pg],disableRipple:[2,"disableRipple","disableRipple",pg],disabled:[2,"disabled","disabled",pg],tabIndex:[2,"tabIndex","tabIndex",function(a){return null==a?void 0:qg(a)}]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[bg([{provide:mgc,useExisting:pP}]),of,dg],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"],["class","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"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell",
"mdc-evolution-chip__cell--trailing"]],template:function(a,b){a&1&&(Lf(ngc),I(0,"span",0),E(1,"span",1)(2,"span",2),C(3,$Ia,2,0,"span",3),E(4,"span",4),Mf(5),I(6,"span",5),G()()(),C(7,aJa,2,0,"span",6));a&2&&(y(2),D("isInteractive",!1),y(),Cf(3,b.leadingIcon?3:-1),y(4),Cf(7,b._hasTrailingIcon()?7:-1))},dependencies:[oP],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){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.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-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.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-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-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.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}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.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--disabled{opacity:.4}.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:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.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{opacity:.54}.mat-mdc-chip-remove:focus{opacity: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 .mat-icon{width:inherit;height:inherit;font-size:inherit;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 qP=function(a,b,c){this._elementRef=a;this._changeDetectorRef=b;this._dir=c;this._lastDestroyedFocusedChipIndex=null;this._destroyed=new W.Subject;this._defaultRole="presentation";this._disabled=!1;this.tabIndex=0;this._explicitRole=null;this._chipActions=new Tf};g=qP.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(cf(null),df(function(){return W.merge.apply(null,r(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(cf(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);Xf(a._chipActions)});this._keyManager=Jx(Ox(Mx(Lx(new Rx(this._chipActions)),this._dir?this._dir.value:"ltr")),function(c){return a._skipPredicate(c)});this.chipFocusChanges.pipe(ef(this._destroyed)).subscribe(function(c){(c=c.chip._getSourceAction(document.activeElement))&&
Px(a._keyManager,c)});var b;null==(b=this._dir)||b.change.pipe(ef(this._destroyed)).subscribe(function(c){return Mx(a._keyManager,c)})};g._skipPredicate=function(a){return!a.isInteractive||a.disabled};g._trackChipSetChanges=function(){var a=this;this._chips.changes.pipe(cf(null),ef(this._destroyed)).subscribe(function(){a.disabled&&Promise.resolve().then(function(){return a._syncChipsState()});a._redirectDestroyedChipFocus()})};
g._trackDestroyedFocusedChip=function(){var a=this;this.chipDestroyedChanges.pipe(ef(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}};
Vg.Object.defineProperties(qP.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()}}});qP.\u0275fac=function(a){return new (a||qP)(A(Ad),A(Uu),A(ay,8))};
qP.\u0275cmp=Lc({type:qP,selectors:[["mat-chip-set"]],contentQueries:function(a,b,c){a&1&&Vf(c,pP,5);if(a&2){var d;Yf(d=Zf())&&(b._chips=d)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._handleKeydown(c)});a&2&&pf("role",b.role)},inputs:{disabled:[2,"disabled","disabled",pg],role:"role",tabIndex:[2,"tabIndex","tabIndex",function(a){return null==a?0:qg(a)}]},standalone:!0,features:[of,dg],ngContentSelectors:["*"],
decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(Lf(),E(0,"div",0),Mf(1),G())},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 rP=function(){oP.apply(this,arguments);this._isPrimary=this.isInteractive=!1};X(rP,oP);rP.\u0275fac=function(){var a;return function(b){return(a||(a=zd(rP)))(b||rP)}}();rP.\u0275dir=Qc({type:rP,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:[bg([{provide:kgc,useExisting:rP}]),nf]});var pgc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],sP=function(){pP.apply(this,arguments);this._defaultOptions=Gc(igc,{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 zv};X(sP,pP);g=sP.prototype;g.ngOnInit=function(){pP.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())};
Vg.Object.defineProperties(sP.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}}});
sP.\u0275fac=function(){var a;return function(b){return(a||(a=zd(sP)))(b||sP)}}();
sP.\u0275cmp=Lc({type:sP,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&&(Hf("id",b.id),pf("tabindex",null)("aria-label",null)("aria-description",null)("role",b.role),yf("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",pg],selected:[2,"selected","selected",pg]},outputs:{selectionChange:"selectionChange"},standalone:!0,features:[bg([{provide:pP,useExisting:sP},{provide:mgc,useExisting:sP}]),of,nf,dg],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"],["class","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"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[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"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(a,b){a&1&&(Lf(pgc),I(0,"span",0),E(1,"span",1)(2,"button",2),C(3,bJa,5,0,"span",3),E(4,"span",4),Mf(5),I(6,"span",5),G()()(),C(7,cJa,2,0,"span",6),E(8,"span",7),R(9),G());a&2&&(y(2),D("tabIndex",
b.tabIndex)("_allowFocusWhenDisabled",!0),pf("aria-selected",b.ariaSelected)("aria-label",b.ariaLabel)("aria-describedby",b._ariaDescriptionId),y(),Cf(3,b._hasLeadingGraphic()?3:-1),y(4),Cf(7,b._hasTrailingIcon()?7:-1),y(),D("id",b._ariaDescriptionId),y(),$f(b.ariaDescription))},dependencies:[oP],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){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.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-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.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-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-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.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}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.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--disabled{opacity:.4}.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:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.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{opacity:.54}.mat-mdc-chip-remove:focus{opacity: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 .mat-icon{width:inherit;height:inherit;font-size:inherit;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 qgc=function(a,b){this.source=a;this.value=b},rgc={provide:fw,useExisting:Cc(function(){return tP}),multi:!0},tP=function(){qP.apply(this,arguments);this._onTouched=function(){};this._onChange=function(){};this._defaultRole="listbox";this._defaultOptions=Gc(igc,{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 zv;this._chips=void 0};X(tP,qP);g=tP.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(cf(null),ef(this._destroyed)).subscribe(function(){a._syncListboxProperties()});this.chipBlurChanges.pipe(ef(this._destroyed)).subscribe(function(){return a._blur()});this.chipSelectionChanges.pipe(ef(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&&qP.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 qgc(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};
Vg.Object.defineProperties(tP.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}}});tP.\u0275fac=function(){var a;return function(b){return(a||(a=zd(tP)))(b||tP)}}();
tP.\u0275cmp=Lc({type:tP,selectors:[["mat-chip-listbox"]],contentQueries:function(a,b,c){a&1&&Vf(c,sP,5);if(a&2){var d;Yf(d=Zf())&&(b._chips=d)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(a,b){a&1&&M("focus",function(){return b.focus()})("blur",function(){return b._blur()})("keydown",function(c){return b._keydown(c)});a&2&&(Hf("tabIndex",b.disabled||b.empty?-1:b.tabIndex),pf("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),yf("mat-mdc-chip-list-disabled",b.disabled)("mat-mdc-chip-list-required",b.required))},inputs:{multiple:[2,"multiple","multiple",pg],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",pg],compareWith:"compareWith",required:[2,"required","required",pg],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",
pg],value:"value"},outputs:{change:"change"},standalone:!0,features:[bg([rgc]),of,nf,dg],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(Lf(),E(0,"div",0),Mf(1),G())},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 uP=function(){};uP.\u0275fac=function(a){return new (a||uP)};uP.\u0275mod=Nc({type:uP});uP.\u0275inj=wc({providers:[My,{provide:igc,useValue:{separatorKeyCodes:[13]}}],imports:[Gy,Vy,Gy]});var vP=function(){};vP.\u0275fac=function(a){return new (a||vP)};vP.\u0275mod=Nc({type:vP});vP.\u0275inj=wc({imports:[uP]});var wP=function(){};wP.\u0275fac=function(a){return new (a||wP)};wP.\u0275mod=Nc({type:wP});wP.\u0275inj=wc({imports:[SH,ex,dx,vP,JD,aN,$C,mP,PN]});var xP=function(){this.roundCorners=this.showDividers=!1};xP.\u0275fac=function(a){return new (a||xP)};
xP.\u0275cmp=Lc({type:xP,selectors:[["b-button-group"]],hostVars:4,hostBindings:function(a,b){a&2&&yf("show-dividers",b.showDividers)("round-corners",b.roundCorners)},inputs:{showDividers:"showDividers",roundCorners:"roundCorners"},ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Lf(),Mf(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 sgc=function(a,b){return[a,b]},yP=function(){this.size=this.name=""};yP.prototype.ngOnInit=function(){};yP.\u0275fac=function(a){return new (a||yP)};
yP.\u0275cmp=Lc({type:yP,selectors:[["b-icon"]],inputs:{name:"name",size:"size"},decls:1,vars:5,consts:[[3,"svgIcon","ngClass"]],template:function(a,b){a&1&&I(0,"mat-icon",0);a&2&&D("svgIcon",b.name)("ngClass",gg(2,sgc,b.name,b.size))},dependencies:[gw,hB],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 zP=function(){this._inset=this._vertical=!1};Vg.Object.defineProperties(zP.prototype,{vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=Og(a)}},inset:{configurable:!0,enumerable:!0,get:function(){return this._inset},set:function(a){this._inset=Og(a)}}});zP.\u0275fac=function(a){return new (a||zP)};
zP.\u0275cmp=Lc({type:zP,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,b){a&2&&(pf("aria-orientation",b.vertical?"vertical":"horizontal"),yf("mat-divider-vertical",b.vertical)("mat-divider-horizontal",!b.vertical)("mat-divider-inset",b.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[dg],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 AP=function(a,b){this.constants=a;this.activeSession=b;this.ISSUE_TYPES=r5b;this.STATUS_JS_FULL_TEXT=mn;this.STATUSES=q5b;this.SEVERITIES_VALUES=s5b;this.PRIORITIES_VALUES=p5b;this.enableBulkEstimatedEffortOption=!1;this.onBulkEdit=new zv;this.onQuickBulkEdit=new zv;this.onBulkEditIssueRelation=new zv;this.onBulkMarkIssueRead=new zv;this.isAnonymous=this.activeSession.isAnonymous();this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha()};AP.prototype.bulkEdit=function(a){this.onBulkEdit.emit(a)};
AP.prototype.quickBulkEdit=function(a,b){this.onQuickBulkEdit.emit({field:a,newValue:b})};AP.prototype.bulkEditIssueRelation=function(a,b){this.onBulkEditIssueRelation.emit({issueRelation:a,isMarking:void 0===b?!0:b})};AP.prototype.bulkMarkIssueRead=function(){this.onBulkMarkIssueRead.emit()};var tgc=function(a){return a.ISSUE_TYPES.filter(function(b){return"VULNERABILITY"!==b})};AP.\u0275fac=function(a){return new (a||AP)(A(DG),A(nt))};
AP.\u0275cmp=Lc({type:AP,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:[["mat-button","","class","gmat-button medium",3,"disabled","matMenuTriggerFor",4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"disabled",
"click"],["editMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click",4,"ngIf"],["prioritySubmenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["severitySubmenu","matMenu"],["statusSubmenu","matMenu"],["typeSubmenu","matMenu"],["mat-menu-item","",3,"matTooltip","click",4,"ngFor","ngForOf"],["ArchiveSubmenu","matMenu"],["inProdSubmenu","matMenu"],["linkMenu","matMenu"],["ccMenu","matMenu"],["mat-button","",1,"gmat-button",
"medium",3,"disabled","matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["mat-menu-item","",3,"matTooltip","click"]],template:function(a,b){a&1&&(E(0,"b-button-group"),C(1,dJa,4,2,"button",0),E(2,"button",1),M("click",function(){return b.bulkMarkIssueRead()}),R(3),G(),C(4,eJa,4,2,"button",0)(5,fJa,4,2,"button",0),G(),E(6,"mat-menu",null,2)(8,"button",3),M("click",function(){return b.bulkEdit("ASSIGNEE")}),R(9,"Assignee"),G(),E(10,"button",3),M("click",function(){return b.bulkEdit("COMPONENT")}),
R(11,"Component"),G(),E(12,"button",4),R(13,"Priority"),G(),E(14,"button",4),R(15,"Severity"),G(),E(16,"button",4),R(17,"Status"),G(),E(18,"button",4),R(19,"Type"),G(),E(20,"button",3),M("click",function(){return b.bulkEdit("VERIFIER")}),R(21,"Verifier"),G(),E(22,"button",3),M("click",function(){return b.bulkEdit("REPORTER")}),R(23,"Reporter"),G(),E(24,"button",3),M("click",function(){return b.bulkEdit("CHANGELIST")}),R(25,"Changelist"),G(),E(26,"button",3),M("click",function(){return b.bulkEdit("CUSTOM_FIELDS")}),
R(27,"Custom Fields"),G(),E(28,"button",4),R(29," Archival state "),G(),E(30,"button",3),M("click",function(){return b.bulkEdit("FOUND_IN")}),R(31,"Found In"),G(),E(32,"button",3),M("click",function(){return b.bulkEdit("SLO_START_TIME")}),R(33,"SLO Start Time"),G(),C(34,gJa,2,0,"button",5),E(35,"button",3),M("click",function(){return b.bulkEdit("VERIFIED_IN")}),R(36,"Verified In"),G(),E(37,"button",3),M("click",function(){return b.bulkEdit("TARGETED_TO")}),R(38,"Targeted To"),G(),E(39,"button",4),
R(40,"In Prod"),G(),I(41,"mat-divider"),E(42,"button",3),M("click",function(){return b.bulkEdit("COMMENT")}),R(43,"Add Comment"),G()(),E(44,"mat-menu",null,6),C(46,hJa,2,1,"button",7),G(),E(47,"mat-menu",null,8),C(49,iJa,2,1,"button",7),G(),E(50,"mat-menu",null,9),C(52,jJa,2,1,"button",7),G(),E(53,"mat-menu",null,10),C(55,kJa,2,2,"button",11),G(),E(56,"mat-menu",null,12)(58,"button",3),M("click",function(){return b.quickBulkEdit("IS_ARCHIVED",!0)}),R(59,"Archive"),G(),E(60,"button",3),M("click",function(){return b.quickBulkEdit("IS_ARCHIVED",
!1)}),R(61,"Unarchive"),G()(),E(62,"mat-menu",null,13)(64,"button",3),M("click",function(){return b.quickBulkEdit("IN_PROD",!0)}),R(65,"In Prod"),G(),E(66,"button",3),M("click",function(){return b.quickBulkEdit("IN_PROD",!1)}),R(67,"Not in Prod"),G()(),E(68,"mat-menu",null,14)(70,"button",3),M("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!0)}),R(71,"Mark as Blocked By"),G(),E(72,"button",3),M("click",function(){return b.bulkEditIssueRelation("BLOCKING",!0)}),R(73,"Mark as Blocking"),
G(),E(74,"button",3),M("click",function(){return b.bulkEditIssueRelation("PARENT",!0)}),R(75,"Add Parent"),G(),E(76,"button",3),M("click",function(){return b.bulkEditIssueRelation("DUPLICATE")}),R(77,"Duplicate"),G(),E(78,"button",3),M("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!1)}),R(79,"Unmark as Blocked By"),G(),E(80,"button",3),M("click",function(){return b.bulkEditIssueRelation("BLOCKING",!1)}),R(81,"Unmark as Blocking"),G(),E(82,"button",3),M("click",function(){return b.bulkEditIssueRelation("PARENT",
!1)}),R(83,"Remove Parent"),G()(),E(84,"mat-menu",null,15)(86,"button",3),M("click",function(){return b.quickBulkEdit("CC",!0)}),R(87,"CC me"),G(),E(88,"button",3),M("click",function(){return b.quickBulkEdit("CC",!1)}),R(89,"Un-CC me"),G(),E(90,"button",3),M("click",function(){return b.bulkEdit("CC")}),R(91,"Edit CC"),G()());if(a&2){var c=Q(45),d=Q(48),e=Q(51),f=Q(54),h=Q(57),k=Q(63);y();D("ngIf",b.enableBulkEditUi);y();D("disabled",b.isAnonymous);y();S(" ",b.readStatePrompt," ");y();D("ngIf",b.enableBulkEditUi);
y();D("ngIf",b.enableBulkEditUi);y(7);D("matMenuTriggerFor",c);y(2);D("matMenuTriggerFor",d);y(2);D("matMenuTriggerFor",e);y(2);D("matMenuTriggerFor",f);y(10);D("matMenuTriggerFor",h);y(6);D("ngIf",b.enableBulkEstimatedEffortOption);y(5);D("matMenuTriggerFor",k);y(7);D("ngForOf",b.PRIORITIES_VALUES);y(3);D("ngForOf",b.SEVERITIES_VALUES);y(3);D("ngForOf",b.STATUSES);y(3);D("ngForOf",tgc(b))}},dependencies:[HC,FC,GC,hw,dw,yP,xP,nA,zP,PC],encapsulation:2,changeDetection:0});var BP=function(a){this.activeSession=a;this.showFlagIssuesAsSpam=this.showExportCsv=!1;this.exportCsvClicked=new zv;this.flagAsSpamClicked=new zv;this.isAnonymous=this.activeSession.isAnonymous()};BP.\u0275fac=function(a){return new (a||BP)(A(nt))};
BP.\u0275cmp=Lc({type:BP,selectors:[["b-app-bar-more-menu"]],inputs:{showExportCsv:"showExportCsv",showFlagIssuesAsSpam:"showFlagIssuesAsSpam"},outputs:{exportCsvClicked:"exportCsvClicked",flagAsSpamClicked:"flagAsSpamClicked"},decls:1,vars:1,consts:[[4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"disabled","matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["moreMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(a,b){a&1&&
C(0,nJa,9,4,"ng-container",0);a&2&&D("ngIf",b.showExportCsv||b.showFlagIssuesAsSpam)},dependencies:[HC,FC,GC,dw,yP,nA],encapsulation:2,changeDetection:0});var CP=function(){};CP.\u0275fac=function(a){return new (a||CP)};CP.\u0275mod=Nc({type:CP});CP.\u0275inj=wc({imports:[SH]});var DP=function(){};DP.\u0275fac=function(a){return new (a||DP)};DP.\u0275mod=Nc({type:DP});DP.\u0275inj=wc({imports:[SH]});var EP=function(){};EP.\u0275fac=function(a){return new (a||EP)};EP.\u0275mod=Nc({type:EP});EP.\u0275inj=wc({imports:[Gy,Gy]});var FP=function(){};FP.\u0275fac=function(a){return new (a||FP)};FP.\u0275mod=Nc({type:FP});FP.\u0275inj=wc({imports:[IC,SH,DP,CP,$C,EP,JD]});var GP=function(a,b,c){var d=this;this.activeSession=a;this.connectionChecker=b;this.ssoInterceptorState=c;this.notifyUserAndWaitForGoodConnection$=new W.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,W.fromEvent)(window,"focus").pipe(df(function(){return d.connectionChecker.ok$}),
Ce(function(e){return e}),Ue(),B(function(){}),wka())};GP.prototype.intercept=function(a,b){return tE(this.activeSession,"enableRefreshSsoPopup")&&a.url&&a.url.startsWith("action/")?ugc(this,b,a):b.handle(a)};
var ugc=function(a,b,c){return new W.Observable(function(d){var e=b.handle(c).subscribe({next:function(h){d.next(h)},complete:function(){d.complete()},error:function(h){vgc(a,b,c,h).pipe(ef(f)).subscribe(d)}}),f=new W.ReplaySubject(1);return function(){f.next();e.unsubscribe()}})},vgc=function(a,b,c,d){return 403===d.status||404===d.status||429===d.status?(0,W.throwError)(d):a.connectionChecker.ok$.pipe(df(function(e){return e?(0,W.throwError)(d):a.notifyUserAndWaitForGoodConnection$.pipe(df(function(){return b.handle(c)}))}))};
GP.\u0275fac=function(a){return new (a||GP)(p(nt),p(HP),p(IP))};GP.\u0275prov=vc({token:GP,factory:GP.\u0275fac,providedIn:"root"});var IP=function(){this.showRefreshSso$=new W.BehaviorSubject(!1)};IP.\u0275fac=function(a){return new (a||IP)};IP.\u0275prov=vc({token:IP,factory:IP.\u0275fac,providedIn:"root"});
var HP=function(a){var b=this;this.ngZone=a;this.ok$=new W.Observable(function(c){var d=qp("action/yes",function(){b.ngZone.run(function(){d.isSuccess()?c.next("yes"===d.getResponseText()):c.next(!1);c.complete()})});return function(){d.dispose()}})};HP.\u0275fac=function(a){return new (a||HP)(p(Ge))};HP.\u0275prov=vc({token:HP,factory:HP.\u0275fac,providedIn:"root"});var wgc={provide:Oz,useClass:GP,multi:!0};var xgc=function(a,b){return[a,b]},ygc=[[["b-callout-body"]],[["b-callout-actions"]]],JP=function(){this.messageType="info";this.format="default"};JP.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"}};JP.\u0275fac=function(a){return new (a||JP)};
JP.\u0275cmp=Lc({type:JP,selectors:[["b-callout"]],hostVars:5,hostBindings:function(a,b){a&2&&zf(gg(2,xgc,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&&(Lf(ygc),E(0,"div",0),I(1,"mat-icon",1),E(2,"div",2),Mf(3),G(),E(4,"div",3),Mf(5,1),G()());a&2&&(y(),
D("svgIcon",b.getIconName()))},dependencies:[hB],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 KP=function(){};KP.\u0275fac=function(a){return new (a||KP)};KP.\u0275dir=Qc({type:KP,selectors:[["b-callout-body"],["b-callout-actions"]]});var LP=function(a,b){this.activeSession=a;this.isAnonymous=this.activeSession.isAnonymous();this.showRefreshSsoMessage$=b.showRefreshSso$};LP.\u0275fac=function(a){return new (a||LP)(A(nt),A(IP))};
LP.\u0275cmp=Lc({type:LP,selectors:[["b-sso-expired-callout-outlet"]],decls:2,vars:3,consts:[["format","app",3,"messageType",4,"ngIf"],["format","app",3,"messageType"],[4,"ngIf","ngIfElse"],["signedInMessage",""],["mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","",3,"click"]],template:function(a,b){a&1&&(C(0,tJa,7,4,"b-callout",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.showRefreshSsoMessage$))},dependencies:[dw,JP,KP,nA,mw],encapsulation:2,changeDetection:0});var MP=function(a,b,c){var d=this;this.session=a;this.principalTypes=b;this.cdr=c;this.showHiringBanner=!1;tE(this.session,"weAreHiring")&&pK(this.principalTypes,this.session.getUserEmail(),!0).then(function(e){d.showHiringBanner="UNRESTRICTED_GOOGLER"===e.detailedUserType;d.cdr.detectChanges()}).catch(function(){})};MP.\u0275fac=function(a){return new (a||MP)(A(nt),A(oK),A(EF,2))};
MP.\u0275cmp=Lc({type:MP,selectors:[["b-hiring-banner"]],features:[bg([EF])],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&&C(0,uJa,2,0,"a",0);a&2&&D("ngIf",b.showHiringBanner)},dependencies:[dw],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 NP=function(){};NP.\u0275fac=function(a){return new (a||NP)};NP.\u0275mod=Nc({type:NP});NP.\u0275inj=wc({imports:[SH]});var OP=function(a){this.hotkeys=a};OP.prototype.ngOnInit=function(){this.hotkeys.pause()};OP.prototype.ngOnDestroy=function(){this.hotkeys.unpause()};OP.\u0275fac=function(a){return new (a||OP)(A(VM))};
OP.\u0275cmp=Lc({type:OP,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&&(E(0,"h1",0),R(1,"Keyboard shortcuts"),G(),E(2,"mat-dialog-content")(3,"table"),C(4,wJa,6,2,"thead",1),G()(),E(5,"mat-dialog-actions")(6,"button",2),R(7,"Close"),G()());
a&2&&(y(4),D("ngForOf",fac(b.hotkeys)))},dependencies:[hw,nA,FA,GA,HA,IA],encapsulation:2});var PP=function(){};PP.\u0275fac=function(a){return new (a||PP)};PP.\u0275mod=Nc({type:PP});PP.\u0275inj=wc({imports:[SH,$C,JA]});var yJa=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 QP=function(a,b,c){this.internalIssues=a;this.params=b;this.numTotalResults=c;this.numPages=Math.ceil(c/b.resultsPerPage);this.startIndex=(b.page-1)*b.resultsPerPage+1;this.endIndex=Math.min(this.startIndex+b.resultsPerPage-1,c);a=b.sortColumns;var d;!(d=0===a.length)&&(d=1===a.length)&&(a=a[0],d="ISSUE_ID"===a.fieldId.type&&"DESCENDING"===a.direction?!0:"CREATED_TIME"===a.fieldId.type?!0:"MODIFIED_TIME"===a.fieldId.type?!0:"POSITION"===a.fieldId.type?!0:!1);this.isPreSort=d;this.totalText=this.getTotalText(c,
b.page,b.resultsPerPage,this.isPreSort);this.numResults=c;this.changed$=new W.BehaviorSubject(this)},zgc=function(a,b){var c=b.positionMap||{},d=b.issues.map(function(e){var f=AJa(e,null);c&&c[e.issueId]&&(f.position=c[e.issueId]);return f});return new QP(d,a,b.numTotalResults)},Agc=function(a,b){var c=b.issuesWithSignals.map(function(d){var e=AJa(d.issue,null);e.signals=d.signals;return e});return new QP(c,a,b.numTotalResults)};QP.prototype.hasPreviousPage=function(){return 1<this.params.page};
QP.prototype.hasNextPage=function(){return this.params.page<this.numPages};var RP=function(a,b){var c=a.issues.findIndex(function(d){return d.issueId===b});return-1!==c?c+a.startIndex:-1};QP.prototype.getIssueIdFromIndex=function(a){if(a>=this.startIndex&&a<=this.endIndex&&(a-=this.startIndex,a<this.issues.length))return this.issues[a].issueId};
var Bgc=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=d.issue;d=d.component;var e=RP(a,c.issueId);-1!==e&&(e-=a.startIndex,zJa(a.issues[e],c,d))}a.changed$.next(a)},Cgc=function(a,b,c,d){b=RP(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)};
QP.prototype.clone=function(){var a=new QP(this.internalIssues,this.params,this.numTotalResults);a.changed$.next(a);return a};QP.prototype.getTotalText=function(a,b,c,d){return a<=b*c?a.toString():d?"many":a.toString()};Vg.Object.defineProperties(QP.prototype,{issues:{configurable:!0,enumerable:!0,get:function(){return this.internalIssues},set:function(a){this.internalIssues=a;this.changed$.next(this)}}});var Dgc=function(a){this.internalArray_=m(a)};X(Dgc,n);g=Dgc.prototype;g.getSignalsList=function(){return qj(this,6,hi())};g.setSignalsList=function(a){Aj(this,6,a)};g.getCount=function(){return qi(this,1)};g.setCount=function(a){return rj(this,1,a)};g.setS=function(a){Lh(this,2,a)};g.setP=function(a){return rj(this,3,a)};g.getNextPageToken=function(){return Zi(this,4)};g.setTrackerIdsList=function(a){Lb(this,5,a,ob)};Dgc.repeatedFields_=[6,5];var Egc=function(a){this.internalArray_=m(a)};X(Egc,n);g=Egc.prototype;g.getTimestamp=function(){return $i(this,mj,2)};g.setTimestamp=function(a){return li(this,mj,2,a)};g.hasTimestamp=function(){return ji(this,mj,2)};g.getCommentNumbersList=function(){return si(this,3,hi())};g.setCommentNumbersList=function(a){return Lb(this,3,a,mb)};g.getCommentNumbers=function(){return bu(this,3)};Egc.repeatedFields_=[3];var Zo=function(a){this.internalArray_=m(a)};X(Zo,n);Zo.prototype.getIssue=function(){return $i(this,Ql,1)};Zo.prototype.setIssue=function(a){return li(this,Ql,1,a)};Zo.prototype.getSignalsList=function(){return gi(this,Egc,2,hi())};Zo.prototype.setSignalsList=function(a){gl(this,2,a)};Zo.repeatedFields_=[2];var SP=function(a){this.internalArray_=m(a,0,SP.messageId)};X(SP,n);SP.prototype.getNumTotalResults=function(){return qi(this,2)};SP.prototype.getNextPageToken=function(){return Zi(this,4)};SP.repeatedFields_=[1];SP.messageId="b.NeedsAttentionSearchResponse";var TP=function(a){this.internalArray_=m(a)};X(TP,n);TP.prototype.getIssueIdsList=function(){return Jj(this,1,hi())};TP.prototype.getIssueIdsList_asLegacyNumberOrString=function(){return Jj(this,1,hi())};TP.prototype.setIssueIdsList=function(a){return Ut(this,1,a)};TP.prototype.addIssueIds=function(a){Nb(this,1,ob,a)};TP.repeatedFields_=[1];var Fgc=function(a){this.internalArray_=m(a,0,Fgc.messageId)};X(Fgc,n);Fgc.messageId="b.UpdateIssueDismissTimestampResponse";var UP=function(a,b){this.executor=a;this.appEvents=b;this.COUNT=100};UP.prototype.listIssues=function(a,b,c){var d=this,e=(new Dgc).setCount(this.COUNT).setP(1);a&&e.setS(a.toApiUrlParam());b&&e.setTrackerIdsList(b);c&&e.setSignalsList(c.map(FJa));return this.executor.post({url:"action/issues/attention",body:e,responseConstructor:SP}).then(CJa).then(function(f){d.appEvents.needsAttentionIssueCount.next(f.numTotalResults||0);return f})};
var Ggc=function(a,b){b=(new TP).setIssueIdsList(b.map(Pk));b=Mh(b,2,!0);return a.executor.post({url:"action/issues/dismiss_timestamp",body:b,responseConstructor:Fgc}).then(EJa)};UP.\u0275fac=function(a){return new (a||UP)(p(RD),p(RH))};UP.\u0275prov=vc({token:UP,factory:UP.\u0275fac,providedIn:"root"});var VP=function(a,b,c,d){this.issueApi=a;this.hotlistApi=b;this.needsAttentionApi=c;this.paths=d};VP.prototype.create=function(a){return new Hgc(this.issueApi,this.hotlistApi,this.needsAttentionApi,this.paths,a)};VP.\u0275fac=function(a){return new (a||VP)(p(PH),p(qI),p(UP),p(iI))};VP.\u0275prov=vc({token:VP,factory:VP.\u0275fac,providedIn:"root"});
var Hgc=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};
Hgc.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?Agc(a.params,e):zgc(a.params,e));return a.searchResultsPage},function(e){return Promise.reject(e)})};
var Igc=function(a){return a.searchResultsPage?a.searchResultsPage.hasNextPage():!0};var WP=function(a,b){this.$window=a;this.searchResultsPageFetcherFactory=b;this.previousResultsFetcher=this.nextResultsFetcher=this.currentResultsFetcher=null;this.focusedIssueIndex=-1},Lgc=function(a,b){var c=un();Jgc(b.page)?(Kgc(a,b),a.currentResultsFetcher.fetchIssues().then(function(d){null!=d.getIssueIdFromIndex&&(d.numPages&&b.page>d.numPages?c.reject(d.numPages):c.resolve(d))},function(d){c.reject(d)})):c.reject(1);return c.promise},Ngc=function(a){var b=un(),c=null;a.currentResultsFetcher?
c=a.currentResultsFetcher.params:c=Mgc(a);c?(Kgc(a,c),a.currentResultsFetcher.fetchIssues().then(function(d){null!=d.getIssueIdFromIndex?b.resolve(d):b.reject(d)},function(d){b.reject(d)})):b.reject("No related search results available.");return b.promise},XP=function(a){a.currentResultsFetcher=null;a.nextResultsFetcher=null;a.previousResultsFetcher=null;a.focusedIssueIndex=-1},Ogc=function(a,b){var c=un();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=Uh(a.currentResultsFetcher.params);e.page=d;Kgc(a,e);a.currentResultsFetcher.fetchIssues().then(function(f){null!=f.getIssueIdFromIndex&&((f=f.getIssueIdFromIndex(b))?(a.focusedIssueIndex=b,c.resolve(f)):c.reject("No issue available at index "+b))},function(f){c.reject(f)});return c.promise};
WP.prototype.getFocusedIssue=function(){return this.focusedIssueIndex};
var Pgc=function(a){a.currentResultsFetcher?a.currentResultsFetcher.fetchIssues().then(function(b){null!=b.getIssueIdFromIndex&&(a.focusedIssueIndex=b.endIndex>=b.startIndex?b.startIndex:-1)}).catch(function(b){Xj("unexpected error fetching:",b)}):a.focusedIssueIndex=-1},Mgc=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 Vi(new Ri(b.fieldId),
b.direction)}));return a}return null},Qgc=function(a,b,c){b=Uh(b);b.page=c;return a.searchResultsPageFetcherFactory.create(b)},Rgc=function(a,b){a.currentResultsFetcher||(a.currentResultsFetcher=Qgc(a,b,b.page),a.currentResultsFetcher.fetchIssues().catch(function(c){Xj("unexpected error fetching:",c)}));!a.previousResultsFetcher&&1<b.page&&(a.previousResultsFetcher=Qgc(a,b,b.page-1),a.previousResultsFetcher.fetchIssues().catch(function(c){Xj("unexpected error fetching:",c)}));!a.nextResultsFetcher&&
Igc(a.currentResultsFetcher)&&(a.nextResultsFetcher=Qgc(a,b,b.page+1),a.nextResultsFetcher.fetchIssues().catch(function(c){Xj("unexpected error fetching:",c)}))},Kgc=function(a,b){b.page=Zh(b.page);if(!b.resultsPerPage||isNaN(b.resultsPerPage))throw Error("sd");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&&Th(b.sortColumns,c.sortColumns)&&b.resultsPerPage===c.resultsPerPage&&Th(b.trackerIds,c.trackerIds)?a.currentResultsFetcher.params.returnUrl=b.returnUrl:XP(a)}Rgc(a,b);b=JSON.stringify(a.currentResultsFetcher.params);a.$window.sessionStorage.setItem("buganizer.searchParams",b)},
Jgc=function(a){var b=Zh(""+a);return isNaN(b)||b!=Number(a)||1>b||2147483647<b?!1:!0};WP.\u0275fac=function(a){return new (a||WP)(p(uE),p(VP))};WP.\u0275prov=vc({token:WP,factory:WP.\u0275fac,providedIn:"root"});var YP=function(a,b,c){Y.call(this);var d=this;this.$window=a;this.activeSession=b;this.currentTracker=c;var e,f;this.trackerName=null!=(f=null==(e=this.activeSession.getTracker())?void 0:e.name)?f:"";this.subscriptions.add(this.currentTracker.tracker$.pipe(ef(this.destroyed$)).subscribe(function(h){var k;d.trackerName=null!=(k=null==h?void 0:h.name)?k:""}))};X(YP,Y);YP.\u0275dir=Y.\u0275dir;
YP.prototype.setTitle=function(a){var b=this.trackerName?this.trackerName:this.activeSession.getAppName();this.$window.document.title=a?a+" - "+b:b};YP.\u0275fac=function(a){return new (a||YP)(p(uE),p(nt),p(IM))};YP.\u0275prov=vc({token:YP,factory:YP.\u0275fac,providedIn:"root"});var ZP={type:"no_indicator"},Sgc={type:"visible_to_listed_partners",displayText:"Visible to listed partners",explanation:"This issue is not visible to all partners, but it is visible to partners listed on the issue."},JJa={type:"visible_to_listed_public_users",displayText:"Visible to listed users",explanation:"This issue is not visible to all public, but it is visible to public users listed on the issue."},Tgc={type:"visible_to_partners",displayText:"Visible to partners",explanation:"This issue is visible to partner users."},
GJa={type:"visible_to_public",displayText:"Visible to public",explanation:"This issue is visible to the public."},$P=function(a,b,c){this.issueFridge=a;this.componentAccessPolicyFridge=b;this.activeSession=c},Wgc=function(a,b,c){var d=a.issueFridge.watch(b);b=(0,W.defer)(function(){return c?(0,W.of)(c):d.pipe(B(function(e){return null==e?void 0:e.snapshot[0].componentId}))}).pipe(df(function(e){return a.componentAccessPolicyFridge.watch(e)}));return(0,W.combineLatest)([d,b]).pipe(B(function(e){var f=
l(e);e=f.next().value;f=f.next().value;var h,k;var q=null!=(k=null==e?void 0:e.snapshot[0].issueAccessLimitLevel)?k:void 0;k=null==e?void 0:null==(h=e.accessLimit)?void 0:h.accessLevel;if(sE(a.activeSession))h=ZP;else if(rE(a.activeSession))h=Ugc(q,k,f);else if(a.activeSession.isInternalSession())h=Vgc(q,k,f);else throw Error("td");return h}))},Ugc=function(a,b,c){switch(b){case "INTERNAL":return ZP;case "EXTERNAL_PARTNER":return ZP;case "EXTERNAL_PUBLIC":return KJa(a,c);case "ACCESS_LEVEL_UNSPECIFIED":return ZP;
default:return ZP}},Vgc=function(a,b,c){switch(b){case "INTERNAL":return ZP;case "EXTERNAL_PARTNER":return a&&IJa(a)?Sgc:Tgc;case "EXTERNAL_PUBLIC":return KJa(a,c);case "ACCESS_LEVEL_UNSPECIFIED":return ZP;default:return ZP}};$P.\u0275fac=function(a){return new (a||$P)(p(UI),p(iH),p(nt))};$P.\u0275prov=vc({token:$P,factory:$P.\u0275fac,providedIn:"root"});var aQ=function(a,b,c,d){Y.call(this);var e=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.pageTitle=c;this.accessIndicatorService=d;this.newTitle$=this.paramsService.routeParams$.pipe(Te(Th),df(function(f){return e.onRouteParamsChanged(f)}));this.init=function(){e.subscriptions.add(e.newTitle$.subscribe(function(f){e.pageTitle.setTitle(f)}))};this.initOnce=oDa(this.init)};X(aQ,Y);aQ.\u0275dir=Y.\u0275dir;
aQ.prototype.onRouteParamsChanged=function(a){return a.issueId?Xgc(this,a.issueId):(0,W.of)()};
var Xgc=function(a,b){return(0,W.combineLatest)([YI(a.issueFetchResponseFridge,b),Wgc(a.accessIndicatorService,b).pipe(cf(void 0),Pe(function(){return(0,W.of)(void 0)}))]).pipe(cf([void 0,void 0]),B(function(c){c=l(c);var d=c.next().value;c=c.next().value;var e;d=null==(e=null==d?void 0:d.issue)?void 0:e.snapshot[0].title;if(!d)return"View issue";e=d+" ["+b+"]";if(null==c?0:c.displayText)e=e+" - "+c.displayText;return e}))};aQ.\u0275fac=function(a){return new (a||aQ)(p(wK),p(XI),p(YP),p($P))};
aQ.\u0275prov=vc({token:aQ,factory:aQ.\u0275fac,providedIn:"root"});var bQ=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(Ygc(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(),
Zgc(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);Ygc(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();Zgc(this);$gc(this)};bQ.prototype.start=function(){this.parentElement.appendChild(this.element);requestAnimationFrame(this.animate)};
bQ.prototype.stop=function(){this.state=2;Zgc(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 $gc=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)}};
bQ.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 Zgc=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"},Ygc=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};bQ.prototype.transform=function(){this.element.style.transform="translate("+this.x+"px,"+this.y+"px) rotate("+(this.direction+90)%360+"deg) scaleX("+this.flip};var ahc=function(a){this.element=a;this.bugs=[]};ahc.prototype.start=function(){for(var a=this,b=0;3>b;b++)bhc(this);this.intervalSubscription=(0,W.interval)(1E4).subscribe(function(){bhc(a);10<=a.bugs.length&&a.intervalSubscription&&a.intervalSubscription.unsubscribe()})};ahc.prototype.stop=function(){this.intervalSubscription&&this.intervalSubscription.unsubscribe();for(var a=l(this.bugs),b=a.next();!b.done;b=a.next())b.value.stop();this.bugs=[]};
var bhc=function(a){var b=new bQ(a.element);b.start();a.bugs.push(b)};var cQ=function(a,b,c,d){var e=this;this.ngZone=a;this.userPreferencesManager=b;this.snackBar=c;this.destroyed$=new W.ReplaySubject(1);this.active$=new W.BehaviorSubject(!0);this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY;this.bugAnimation=new ahc(d.nativeElement);this.active$.pipe(ef(this.destroyed$),Te()).subscribe(function(f){f?chc(e):dhc(e)})};cQ.prototype.ngOnInit=function(){"visible"===document.visibilityState&&ehc(this)};cQ.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var ehc=function(a){a.timeoutId=setTimeout(function(){a.active$.next(!1)},18E4)};cQ.prototype.onUserEvent=function(){var a=Date.now();a<this.lastTimeoutResetTimestamp+1E4||(this.lastTimeoutResetTimestamp=a,this.active$.next(!0),clearTimeout(this.timeoutId),ehc(this))};cQ.prototype.onVisibilityChange=function(){this.onUserEvent();switch(document.visibilityState){case "hidden":clearTimeout(this.timeoutId),this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY}};
var dhc=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()})},chc=function(a){a.ngZone.runOutsideAngular(function(){a.bugAnimation.stop()})};
cQ.\u0275fac=function(a){return new (a||cQ)(A(Ge),A(BE),A(SE),A(Ad))};
cQ.\u0275cmp=Lc({type:cQ,selectors:[["bug-screensaver"]],hostBindings:function(a,b){a&1&&M("click",function(){return b.onUserEvent()},!1,Gd)("keydown",function(){return b.onUserEvent()},!1,Gd)("mousemove",function(){return b.onUserEvent()},!1,Gd)("wheel",function(){return b.onUserEvent()},!1,Gd)("touchstart",function(){return b.onUserEvent()},!1,Gd)("focus",function(){return b.onUserEvent()},!1,Gd)("visibilitychange",function(){return b.onVisibilityChange()},!1,aha)},decls:0,vars:0,template:function(){},
encapsulation:2});var dQ=function(a,b){var c=b.isInternalSession();this.isEnabled$=a.bugScreensaverSubject$.pipe(B(function(d){return(d.enableBugScreensaver||!1)&&c}))};dQ.\u0275fac=function(a){return new (a||dQ)(A(BE),A(nt))};dQ.\u0275cmp=Lc({type:dQ,selectors:[["bug-screensaver-manager"]],decls:2,vars:3,consts:[[4,"ngIf"]],template:function(a,b){a&1&&(C(0,LJa,1,0,"bug-screensaver",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.isEnabled$))},dependencies:[dw,cQ,mw],encapsulation:2});var fhc=["button"],eQ=function(){this.color="primary";this.format="hairline";this.disabled=!1;this.size="medium";this.onAction=new zv};eQ.prototype.onClick=function(a){this.onAction.emit(a)};eQ.prototype.focus=function(){this.nativeButton.focus()};eQ.\u0275fac=function(a){return new (a||eQ)};
eQ.\u0275cmp=Lc({type:eQ,selectors:[["b-button"]],viewQuery:function(a,b){a&1&&Uf(fhc,5);if(a&2){var c;Yf(c=Zf())&&(b.nativeButton=c.first)}},inputs:{color:"color",format:"format",disabled:"disabled",size:"size",bAriaLabel:"bAriaLabel",bAriaExpanded:"bAriaExpanded",tooltip:"tooltip"},outputs:{onAction:"onAction"},ngContentSelectors:["*"],decls:8,vars:5,consts:[["buttonContent",""],[3,"ngSwitch"],["type","button","mat-stroked-button","","class","gmat-button",3,"color","disabled","ngClass","matTooltip",
"click",4,"ngSwitchCase"],["type","button","mat-button","","class","gmat-button",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-flat-button","","class","gmat-button",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-icon-button","","class","gmat-button",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-stroked-button","","class","gmat-button",3,"color","disabled","ngClass",
"matTooltip","click",4,"ngSwitchDefault"],["type","button","mat-stroked-button","",1,"gmat-button",3,"color","disabled","ngClass","matTooltip","click"],["button",""],[4,"ngTemplateOutlet"],["type","button","mat-button","",1,"gmat-button",3,"color","disabled","ngClass","matTooltip","click"],["type","button","mat-flat-button","",1,"gmat-button",3,"color","disabled","ngClass","matTooltip","click"],["type","button","mat-icon-button","",1,"gmat-button",3,"color","disabled","ngClass","matTooltip","click"]],
template:function(a,b){a&1&&(Lf(),C(0,MJa,1,0,"ng-template",null,0,jg),K(2,1),C(3,OJa,3,7,"button",2)(4,QJa,3,7,"button",3)(5,SJa,3,7,"button",4)(6,UJa,3,7,"button",5)(7,WJa,3,7,"button",6),L());a&2&&(y(2),D("ngSwitch",b.format),y(),D("ngSwitchCase","hairline"),y(),D("ngSwitchCase","flat"),y(),D("ngSwitchCase","fill"),y(),D("ngSwitchCase","icon"))},dependencies:[nA,PC,gw,lw,iw,jw,kw],encapsulation:2,changeDetection:0});var fQ=function(){};fQ.\u0275fac=function(a){return new (a||fQ)};fQ.\u0275mod=Nc({type:fQ});fQ.\u0275inj=wc({imports:[$C,JD,SH]});var gQ=function(){};gQ.\u0275fac=function(a){return new (a||gQ)};gQ.\u0275mod=Nc({type:gQ});gQ.\u0275inj=wc({imports:[SH]});var hQ=function(){};hQ.\u0275fac=function(a){return new (a||hQ)};hQ.\u0275mod=Nc({type:hQ});hQ.\u0275inj=wc({imports:[SH,RE,fQ,gQ]});var iQ=function(a){this.currentTracker=a;this.trackerName$=this.currentTracker.tracker$.pipe(B(function(b){var c;return null!=(c=null==b?void 0:b.name)?c:""}));this.trackerLogo$=this.currentTracker.tracker$.pipe(B(function(b){var c,d;return null!=(d=null==b?void 0:null==(c=b.branding)?void 0:c.logoUrl)?d:""}));this.trackerCoc$=this.currentTracker.tracker$.pipe(B(function(b){var c,d;return null!=(d=null==b?void 0:null==(c=b.branding)?void 0:c.cocUrl)?d:""}))};
iQ.\u0275fac=function(a){return new (a||iQ)(A(IM))};
iQ.\u0275cmp=Lc({type:iQ,selectors:[["b-footer"]],decls:2,vars:3,consts:[[4,"ngIf"],["alt","",1,"logo",3,"src"],[1,"title"],[1,"padded-s-sides"],["href","https://policies.google.com/privacy","target","_blank"],["href","https://policies.google.com/terms","target","_blank"],["id","code-of-conduct","target","_blank",3,"href"]],template:function(a,b){a&1&&(C(0,ZJa,17,9,"footer",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.currentTracker.inTracker$))},dependencies:[dw,mw],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 jQ=function(){};jQ.\u0275fac=function(a){return new (a||jQ)};jQ.\u0275mod=Nc({type:jQ});jQ.\u0275inj=wc({imports:[SH]});var kQ=function(a,b,c,d){var e=this;this.paths=a;this.context=b;this.currentTracker=c;this.componentFridge=d;this.createIssuePath=this.paths.createIssue();this.component$=this.context.getComponentId().pipe(df(function(f){return f?e.componentFridge.watch(f):(0,W.of)(void 0)}),B(function(f){return f&&!f.archived?f:void 0}));this.visibleOptions$=(0,W.combineLatest)([this.currentTracker.tracker$,this.component$,this.context.getIssueId(),this.context.getHotlistId()]).pipe(Se(0),B(function(f){var h=l(f);
f=h.next().value;var k=h.next().value,q=h.next().value;h=h.next().value;return ghc(e,null!=f?f:void 0,k,q,h)}));this.buttonLabel$=this.visibleOptions$.pipe(B(function(f){return f.length?"Create":"Create Issue"}));this.buttonIcon$=this.currentTracker.tracker$.pipe(B(function(f){var h;return"OPEN_SOURCE"===(null==f?void 0:null==(h=f.branding)?void 0:h.theme)?"create-open-source-36px":"create-color-36px"}))};kQ.prototype.ngOnInit=function(){};kQ.prototype.trackClick=function(a){$m("create","click",a)};
var ghc=function(a,b,c,d,e){var f=new Map;b=b&&c&&!xn(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(r(f.entries())).map(function(k){var q=l(k);k=q.next().value;q=q.next().value;return{name:bFa(k),path:q}})};kQ.\u0275fac=function(a){return new (a||kQ)(A(iI),A(FK),A(IM),A(oH))};
kQ.\u0275cmp=Lc({type:kQ,selectors:[["b-create-issue-button"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"label","icon","href","segments","clickMain","clickSegment"]],template:function(a,b){a&1&&(C(0,bKa,3,3,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.visibleOptions$))},dependencies:[dw,dN,mw],encapsulation:2,changeDetection:0});var uLa=["assigned-to-me","recent-stuff-i-follow"],hhc=["BUGANIZER","CRITIQUE","DRIVE"],ihc=["NON_WTDM","WTDM","CRITIQUE","DRIVE"],jhc={displayName:"Bugs",filterType:"NON_WTDM",tooltipText:"Issue types including bug, feature request, customer issue, internal cleanup, process, vulnerability, and privacy issue"},khc={BUGANIZER:jhc,NON_WTDM:jhc,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"}},lhc;lhc={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 mhc=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"]]),IGb=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 need to respond"],["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"]]),nhc=
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"]]);var cp=function(a){this.internalArray_=m(a)};X(cp,n);g=cp.prototype;g.getHotlistId=function(){return kj(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return kj(this,1)};g.setHotlistId=function(a){return Qj(this,1,a)};g.getHotlist=function(){return $i(this,Nn,2)};g.setHotlist=function(a){return li(this,Nn,2,a)};g.hasHotlist=function(){return ji(this,Nn,2)};var dp=function(a){this.internalArray_=m(a)};X(dp,n);g=dp.prototype;g.getSavedSearchId_asLegacyNumberOrString=function(){return kj(this,1)};g.setSavedSearchId=function(a){return Qj(this,1,a)};g.getSavedSearch=function(){return $i(this,ep,2)};g.setSavedSearch=function(a){return li(this,ep,2,a)};g.hasSavedSearch=function(){return ji(this,ep,2)};var bp=function(a){this.internalArray_=m(a)};X(bp,n);g=bp.prototype;g.getHotlist=function(){return Ak(this,cp,1,ap)};g.setHotlist=function(a){return Gk(this,1,ap,a)};g.hasHotlist=function(){return Wk(this,cp,1,ap)};g.getSavedSearch=function(){return Ak(this,dp,2,ap)};g.setSavedSearch=function(a){return Gk(this,2,ap,a)};g.hasSavedSearch=function(){return Wk(this,dp,2,ap)};var fp=function(a){this.internalArray_=m(a)};X(fp,n);g=fp.prototype;
g.getBookmarkGroupId_asLegacyNumberOrString=function(){return kj(this,1)};g.setBookmarkGroupId=function(a){return Qj(this,1,a)};g.getName=function(){return Zi(this,2)};g.setName=function(a){return Rj(this,2,a)};g.getDescription=function(){return Zi(this,3)};g.setDescription=function(a){return Rj(this,3,a)};g.getArchived=function(){return Xi(this,4)};g.setArchived=function(a){return Ik(this,4,a)};g.addItems=function(a,b){return sq(this,5,bp,a,b)};g.getOwnersList=function(){return gi(this,ui,6,hi())};
g.setOwnersList=function(a){return gl(this,6,a)};var ap=[1,2,3];fp.repeatedFields_=[5,6];var lQ=function(a){this.internalArray_=m(a,0,lQ.messageId)};X(lQ,n);lQ.prototype.getIt=function(){return $i(this,fp,10)};lQ.prototype.setIt=function(a){return li(this,fp,10,a)};lQ.prototype.hasIt=function(){return ji(this,fp,10)};lQ.messageId="b.BookmarkGroup";var mQ=function(a){this.internalArray_=m(a,0,mQ.messageId)};X(mQ,n);mQ.repeatedFields_=[2];mQ.messageId="b.BookmarkGroupListResponse";var nQ=function(a){this.executor=a};nQ.prototype.get=function(a){return this.executor.get({url:"action/bookmark_groups/"+a,responseConstructor:lQ}).then(tKa)};nQ.prototype.query=function(a){return this.executor.get({url:"action/bookmark_groups",options:{params:{q:a}},responseConstructor:mQ}).then(uKa)};nQ.prototype.create=function(a){a=(new lQ).setIt((new fp).setName(a.name).setDescription(a.description));return this.executor.post({url:"action/bookmark_groups",body:a,responseConstructor:lQ}).then(tKa)};
nQ.prototype.update=function(a){var b=new lQ;var c=b.setIt,d,e,f=(new fp).setBookmarkGroupId(a.bookmarkGroupId).setName(a.name).setDescription(a.description).setArchived(a.archived),h=null!=(e=null==(d=a.item)?void 0:d.map(rKa))?e:[];d=gl(f,5,h).setOwnersList(a.adminUsers.map(vi));b=c.call(b,d);return this.executor.post({url:"action/bookmark_groups/"+a.bookmarkGroupId,body:b,responseConstructor:lQ}).then(tKa)};nQ.\u0275fac=function(a){return new (a||nQ)(p(RD))};
nQ.\u0275prov=vc({token:nQ,factory:nQ.\u0275fac,providedIn:"root"});var oQ=function(a,b){this.router=a;this.location=b},sob=function(a){var b=a.location.getUrl();Ts(a.router,"/",{skipLocationChange:!0}).then(function(){return Ts(a.router,b,{skipLocationChange:!0})})};oQ.\u0275fac=function(a){return new (a||oQ)(p(vF),p(hI))};oQ.\u0275prov=vc({token:oQ,factory:oQ.\u0275fac,providedIn:"root"});var pQ=function(a,b,c,d,e,f,h,k,q,t){Y.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=k;this.appEvents=q;this.analytics=t;this.sidebarData={hotlists:[],bookmarkGroups:[],archivedHotlists:[],archivedBookmarkGroups:[],userSearches:[]};this.userSavedSearches=[];this.userHotlists=[];ohc(this);phc(this);this.fetchUserHotlists();a=function(){ohc(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(){phc(w)}));a=function(){w.fetchUserHotlists()};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(a));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(a))};X(pQ,Y);pQ.\u0275dir=Y.\u0275dir;
var ohc=function(a){a.userApi.getUserSidebar().then(function(b){a.sidebarData.hotlists=qhc(a,b.hotlists);a.sidebarData.bookmarkGroups=rhc(a,b.bookmarkGroups);a.sidebarData.archivedHotlists=qhc(a,b.archivedHotlists);a.sidebarData.archivedBookmarkGroups=rhc(a,b.archivedBookmarkGroups);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})},phc=function(a){a.userApi.getUserSavedSearches().then(function(b){b=shc(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)})};pQ.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){thc(a,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var qhc=function(a,b){return(b||[]).map(function(c){return uhc(a.sidebarItemFactory,c)}).sort(function(c,d){return c.name.localeCompare(d.name)})},rhc=function(a,b){return(b||[]).map(function(c){var d=a.sidebarItemFactory;return new vhc(c,d.activeSession,d.analytics,d.userApi,d.bookmarkGroupsApi,d.butterBar,d.paths,d.userPreferencesManager,d.errorHandler,d,d.confirmationDialogService,d.appEvents)})},shc=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 whc(a.sidebarItemFactory,c)})},thc=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 uhc(a.sidebarItemFactory,c)});Aaa(a.userHotlists);Baa(a.userHotlists,b)};
pQ.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,"");kp(this.analytics,"nav","click",d.trim());b.metaKey||b.ctrlKey||b.shiftKey||0!==b.button||(XP(this.issuePagination),l6b(this.paths,a)&&sob(this.reloadService),this.bLocation.setUrl(a),b.preventDefault(),b.stopPropagation())};pQ.\u0275fac=function(a){return new (a||pQ)(p(oQ),p(nt),p(BI),p(AG),p(hI),p(iI),p(WP),p(qQ),p(RH),p(MI))};
pQ.\u0275prov=vc({token:pQ,factory:pQ.\u0275fac,providedIn:"root"});var rQ=function(a,b,c,d,e,f,h,k){this.item=a;this.analytics=c;this.userApi=d;this.bookmarkGroupsApi=e;this.butterBar=f;this.paths=h;this.userPreferencesManager=k;this.id=a.id;this.name=a.name;this.description=a.description;this.adminUsers=a.adminUsers;this.starred=a.starred;this.userEmail=b.getUserEmail()};
rQ.prototype.getDisplayName=function(){return this.item.name?this.item.name:"resourceType"in this.item?ei(this.item.resourceType.toLowerCase())+" "+this.item.id:this.item.id};rQ.prototype.isEditable=function(){return xhc(this)};rQ.prototype.isSelected=function(){var a=this.paths,b=this.href;b="/"!==b.charAt(0)?"/"+b:b;return a.bLocation.path()===b};rQ.prototype.isUnstarable=function(){return!xhc(this)&&this.starred};
var xhc=function(a){return a.adminUsers.some(function(b){return b.emailAddress===a.userEmail})},yhc=function(a,b){var c=CE(a.userPreferencesManager).homepagePreferences;return(null==c?void 0:c.resourceId)===a.id&&c.resourceType===b},zhc=function(a,b){Ks(a.butterBar,"Updating homepage...",0);R1b(a.userPreferencesManager,{resourceType:b,resourceId:a.id}).pipe(Ue()).subscribe(function(){Ks(a.butterBar,"Homepage updated")})},Ahc=function(a,b,c,d,e,f,h,k,q,t,w,z){rQ.call(this,a,b,c,d,e,h,k,q);this.hotlistApi=
f;this.errorHandler=t;this.confirmationDialogService=w;this.appEvents=z;this.href=k.viewHotlist(a.id);this.type="HOTLIST"};X(Ahc,rQ);g=Ahc.prototype;g.isPreferredHomepage=function(){return yhc(this,"HOTLIST")};g.setAsPreferredHomepage=function(){zhc(this,"HOTLIST")};
g.archive=function(){var a=this;Ks(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});Ks(a.butterBar,'Archived hotlist "'+a.name+'".');kp(a.analytics,"sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unarchive=function(){var a=this;Ks(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});Ks(a.butterBar,'Unarchived hotlist "'+a.name+'".');kp(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:gh("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;Ks(this.butterBar,"Unstarring hotlist ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:this.id}).then(function(){Ks(a.butterBar,"Unstarred hotlist ID "+a.id);a.appEvents.hotlistChanged.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};var sQ=function(a,b,c,d,e,f,h,k){rQ.call(this,a,b,c,d,e,f,h,k);this.href=h.viewSavedSearch(a.id);this.type="SAVED_SEARCH"};X(sQ,rQ);sQ.prototype.isUnstarable=function(){return!1};
sQ.prototype.unstar=function(){};sQ.prototype.isPreferredHomepage=function(){return yhc(this,"SAVED_SEARCH")};sQ.prototype.setAsPreferredHomepage=function(){zhc(this,"SAVED_SEARCH")};
var vhc=function(a,b,c,d,e,f,h,k,q,t,w,z){rQ.call(this,a,b,c,d,e,f,h,k);this.errorHandler=q;this.sidebarItemFactory=t;this.confirmationDialogService=w;this.appEvents=z;this.items=[];a=l(a.sublinks||[]);for(b=a.next();!b.done;b=a.next())switch(b=b.value,b.resourceType){case "HOTLIST":this.items.push(uhc(this.sidebarItemFactory,b));break;case "SAVED_SEARCH":this.items.push(whc(this.sidebarItemFactory,b))}this.items.sort(function(F,J){return F.name.localeCompare(J.name)})};X(vhc,rQ);g=vhc.prototype;
g.isPreferredHomepage=function(){return yhc(this,"BOOKMARK_GROUP")};g.setAsPreferredHomepage=function(){zhc(this,"BOOKMARK_GROUP")};
g.archive=function(){var a=this;Ks(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});Ks(a.butterBar,'Archived bookmark group "'+a.name+'".');kp(a.analytics,"sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unarchive=function(){var a=this;Ks(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});Ks(a.butterBar,'Unarchived bookmark group "'+a.name+'".');kp(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:gh("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;Ks(this.butterBar,"Unstarring bookmark group ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.id}).then(function(){Ks(a.butterBar,"Unstarred bookmark group ID "+a.id);a.appEvents.bookmarkGroupModified.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var qQ=function(a,b,c,d,e,f,h,k,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=k;this.userPreferencesManager=q;this.confirmationDialogService=t;this.appEvents=w},uhc=function(a,b){return new Ahc(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.hotlistApi,a.butterBar,a.paths,a.userPreferencesManager,a.errorHandler,a.confirmationDialogService,a.appEvents)},whc=function(a,b){return new sQ(b,
a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.butterBar,a.paths,a.userPreferencesManager)};qQ.\u0275fac=function(a){return new (a||qQ)(p(nt),p(BI),p(nQ),p(qI),p(AG),p(iI),p(MI),p(hG),p(BE),p(lG),p(RH))};qQ.\u0275prov=vc({token:qQ,factory:qQ.\u0275fac,providedIn:"root"});var tQ=function(a){this.prefs=a;this.expanded=!0;this.content=this.header=null};tQ.prototype.ngOnInit=function(){this.prefKey&&(this.expanded=!T1b(this.prefs,this.prefKey))};tQ.prototype.onClick=function(){var a=this,b,c;return ke(function(d){b=!a.expanded;a.expanded=b;if(!a.prefKey)return d.jumpTo(0);c={};return me(d,(0,W.firstValueFrom)(S1b(a.prefs,(c[a.prefKey]=!b,c))),0)})};tQ.\u0275fac=function(a){return new (a||tQ)(A(BE))};
tQ.\u0275cmp=Lc({type:tQ,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&&(E(0,"div",0),M("click",function(){return b.onClick()})("keydown.enter",function(c){b.onClick();return c.stopPropagation()})("keydown.space",function(c){b.onClick();return c.preventDefault()}),
C(1,vKa,1,0,"ng-container",1),G(),C(2,xKa,2,1,"ng-container",2));a&2&&(yf("opened",b.expanded)("closed",!b.expanded),pf("aria-expanded",b.expanded),y(),D("ngTemplateOutlet",b.header),y(),D("ngIf",b.expanded))},dependencies:[dw,lw],encapsulation:2});var uQ=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[];this.hotlists=[]};g=uQ.prototype;g.handleBookmarkGroupOpen=function(a){kp(this.analytics,"sidebarArchived","open");this.location.setUrl(this.paths.viewBookmarkGroup(a))};g.handleBookmarkGroupDashboard=function(a){kp(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)};uQ.\u0275fac=function(a){return new (a||uQ)(A(hI),A(MI),A(iI),A(pQ))};
uQ.\u0275cmp=Lc({type:uQ,selectors:[["sidebar-archived"]],inputs:{bookmarkGroups:"bookmarkGroups",hotlists:"hotlists"},decls:1,vars:1,consts:[[4,"ngIf"],["prefKey","nav-archived",3,"header","content"],["zippyHeader",""],["zippyContent",""],[1,"archived-list"],[3,"title",4,"ngFor","ngForOf"],["class","bv2-nav-item bv2-user-hotlists-hotlist-item",3,"selected","id","title",4,"ngFor","ngForOf"],[3,"title"],[3,"header","content"],["bgZippyHeader",""],["bgZippyContent",""],[1,"bv2-nav-item","bv2-nav-bookmark-group"],
[1,"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions","class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor","click",4,"ngIf"],["groupMenu",""],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor","click"],["svgIcon","more-settings-vertical"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["mat-menu-item",
"","class","bv2-user-hotlists-edit-menuitem",3,"click",4,"ngIf"],[1,"bv2-nav-links-no-indent","bookmark-group-content-list"],["class","bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented",3,"href","click"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"id","title"],[3,"href","click"],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions",
"class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor",4,"ngIf"],["hotlistMenu",""],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor"]],template:function(a,b){a&1&&C(0,NKa,7,2,"div",0);a&2&&D("ngIf",b.hotlists.length||b.bookmarkGroups.length)},dependencies:[hw,dw,hB,nA,HC,FC,GC,EC,tQ],encapsulation:2,changeDetection:0});var vQ=function(){this.admins=[]};vQ.prototype.ngOnInit=function(){this.url="bookmark-groups/"+this.bookmarkGroup.bookmarkGroupId;this.admins=Hi(this.bookmarkGroup.adminUsers)};vQ.\u0275fac=function(a){return new (a||vQ)};
vQ.\u0275cmp=Lc({type:vQ,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&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),R(5),G()(),E(6,"ul")(7,"li"),R(8),G(),E(9,"li"),R(10),G()(),E(11,"div")(12,"p"),R(13),G()()()()());a&2&&(y(4),D("href",b.url,
Pd),y(),$f(b.bookmarkGroup.name),y(3),S("ID: ",b.bookmarkGroup.bookmarkGroupId,""),y(2),ag("",1===b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),y(3),$f(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 wQ=function(){this.admins=[]};wQ.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId;this.admins=Hi(this.hotlist.adminUsers)};wQ.\u0275fac=function(a){return new (a||wQ)};
wQ.\u0275cmp=Lc({type:wQ,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&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),R(5),G()(),E(6,"ul")(7,"li"),R(8),G(),E(9,"li"),R(10),G()(),E(11,"div")(12,"p"),R(13),G()()()()());a&2&&(y(4),D("href",b.url,Pd),y(),$f(b.hotlist.name),y(3),S("ID: ",b.hotlist.hotlistId,""),y(2),ag("",1===
b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),y(3),$f(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 xQ=function(a){this.buttonRef=a;this.toRefocus=!1};xQ.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}))};xQ.\u0275fac=function(a){return new (a||xQ)(A(Ad))};
xQ.\u0275dir=Qc({type:xQ,selectors:[["button","disabled","","focusBack",""]],inputs:{disabled:"disabled"},features:[ed]});var yQ=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 zv;this.isAnonymous=this.activeSession.isAnonymous()};g=yQ.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};yQ.\u0275fac=function(a){return new (a||yQ)(A(nt),A(Uu))};
yQ.\u0275cmp=Lc({type:yQ,selectors:[["b-star-toggle"]],inputs:{starred:"starred",disabled:"disabled",acceptInput:"acceptInput",starMessage:"starMessage",unStarMessage:"unStarMessage"},outputs:{starClicked:"starClicked"},decls:4,vars:7,consts:[[1,"inline-block",3,"matTooltip"],["tooltip","matTooltip"],["mat-icon-button","","focusBack","","role","checkbox",1,"small",3,"disabled","keydown.enter","click","focus","blur"],[1,"icon-s",3,"svgIcon"]],template:function(a,b){if(a&1){var c=u();E(0,"div",0,1)(2,
"button",2);M("keydown.enter",function(d){return b.onEnter(d)})("click",function(d){return b.onClick(d)})("focus",function(){v(c);var d=Q(1);return x(d.show())})("blur",function(){v(c);var d=Q(1);return x(d.hide())});I(3,"mat-icon",3);G()()}a&2&&(D("matTooltip",b.getLabel()),y(2),yf("starred",b.starred),D("disabled",b.isDisabled()),pf("aria-label",b.getAriaLabel())("aria-checked",b.starred),y(),D("svgIcon",b.starred?"star-filled":"star-empty"))},dependencies:[hB,nA,PC,xQ],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 Bhc={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"}}},zQ=Bhc;zQ=Bhc;var Chc={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 Dhc={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"},AQ=Dhc;AQ=Dhc;var BQ=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_=AQ.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)};
BQ.prototype.applyPattern_=function(a){this.pattern_=a.replace(/ /g,"\u00a0");var b=[0];this.positivePrefix_=Ehc(this,a,b);for(var c=b[0],d=-1,e=0,f=0,h=0,k=-1,q=a.length,t=!0;b[0]<q&&t;b[0]++)switch(a.charAt(b[0])){case "#":0<f?h++:e++;0<=k&&0>d&&k++;break;case "0":if(0<h)throw Error("Ed`"+a);f++;0<=k&&0>d&&k++;break;case ",":0<k&&this.groupingArray_.push(k);k=0;break;case ".":if(0<=d)throw Error("Fd`"+a);d=e+f+h;break;case "E":if(this.useExponentialNotation_)throw Error("Gd`"+a);this.useExponentialNotation_=
!0;this.minExponentDigits_=0;b[0]+1<q&&"+"==a.charAt(b[0]+1)&&(b[0]++,this.useSignForPositiveExponent_=!0);for(;b[0]+1<q&&"0"==a.charAt(b[0]+1);)b[0]++,this.minExponentDigits_++;if(1>e+f||1>this.minExponentDigits_)throw Error("Hd`"+a);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==k)throw Error("Id`"+a);h=e+f+h;this.maximumFractionDigits_=0<=d?h-d:0;0<=d&&(this.minimumFractionDigits_=e+f-d,0>this.minimumFractionDigits_&&(this.minimumFractionDigits_=
0));this.minimumIntegerDigits_=(0<=d?d:h)-e;this.useExponentialNotation_&&(this.maximumIntegerDigits_=e+this.minimumIntegerDigits_,0==this.maximumFractionDigits_&&0==this.minimumIntegerDigits_&&(this.minimumIntegerDigits_=1));this.groupingArray_.push(Math.max(0,k));this.decimalSeparatorAlwaysShown_=0==d||d==h;c=b[0]-c;this.positiveSuffix_=Ehc(this,a,b);b[0]<a.length&&";"==a.charAt(b[0])?(b[0]++,1!=this.multiplier_&&(this.negativePercentSignExpected_=!0),this.negativePrefix_=Ehc(this,a,b),b[0]+=c,
this.negativeSuffix_=Ehc(this,a,b)):(this.negativePrefix_+=this.positivePrefix_,this.negativeSuffix_+=this.positiveSuffix_)};
BQ.prototype.applyStandardPattern_=function(a){switch(a){case 1:this.applyPattern_(AQ.DECIMAL_PATTERN);break;case 2:this.applyPattern_(AQ.SCIENTIFIC_PATTERN);break;case 3:this.applyPattern_(AQ.PERCENT_PATTERN);break;case 4:a=this.applyPattern_;var b=AQ.CURRENCY_PATTERN;var c=["0"],d=Chc[AQ.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:Fhc(this,1);break;case 6:Fhc(this,2);break;default:throw Error("yd");
}};var Fhc=function(a,b){a.compactStyle_=b;a.applyPattern_(AQ.DECIMAL_PATTERN);a.minimumFractionDigits_=0;a.maximumFractionDigits_=2;if(0<a.minimumFractionDigits_)throw Error("wd");a.significantDigits_=2};
BQ.prototype.parse=function(a,b){b=b||[0];if(0!==this.compactStyle_)throw Error("zd");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(AQ.INFINITY,b[0])==b[0]){b[0]+=AQ.INFINITY.length;var e=Infinity}else{e=
a;var f=!1,h=!1,k=!1,q=-1,t=1,w=AQ.DECIMAL_SEP,z=AQ.GROUP_SEP,F=AQ.EXP_SYMBOL;if(0!=this.compactStyle_)throw Error("Ad");z=z.replace(/\u202f/g,"\u00a0");for(var J="";b[0]<e.length;b[0]++){var H=e.charAt(b[0]),O=Ghc(H);if(0<=O&&9>=O)J+=O,k=!0;else if(H==w.charAt(0)){if(f||h)break;J+=".";f=!0}else if(H==z.charAt(0)&&("\u00a0"!=z.charAt(0)||b[0]+1<e.length&&0<=Ghc(e.charAt(b[0]+1)))){if(f||h)break}else if(H==F.charAt(0)){if(h)break;J+="E";h=!0;q=b[0]}else if("+"==H||"-"==H){if(k&&q!=b[0]-1)break;J+=
H}else if(1==this.multiplier_&&H==AQ.PERCENT.charAt(0)){if(1!=t)break;t=100;if(k){b[0]++;break}}else if(1==this.multiplier_&&H==AQ.PERMILL.charAt(0)){if(1!=t)break;t=1E3;if(k){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};
BQ.prototype.format=function(a){if(this.minimumFractionDigits_>this.maximumFractionDigits_)throw Error("Bd");if(isNaN(a))return AQ.NAN;var b=[];var c=a;if(0==this.compactStyle_)c=CQ;else{c=Math.abs(c);var d=Hhc(this,1>=c?0:Ihc(c)).divisorBase;c=Hhc(this,d+Ihc(Jhc(this,DQ(c,-d)).intValue))}a=DQ(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)Khc(this,e,this.minimumIntegerDigits_,b),Lhc(this,0,b);else{var f=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=DQ(e,-f);var h=this.minimumIntegerDigits_;1<this.maximumIntegerDigits_&&this.maximumIntegerDigits_>this.minimumIntegerDigits_?(h=f%this.maximumIntegerDigits_,0>h&&(h=this.maximumIntegerDigits_+h),e=DQ(e,h),f-=h,h=1):1>this.minimumIntegerDigits_?(f++,e=DQ(e,-1)):(f-=this.minimumIntegerDigits_-1,e=DQ(e,this.minimumIntegerDigits_-
1));Khc(this,e,h,b);Lhc(this,f,b)}}else Khc(this,a,this.minimumIntegerDigits_,b);else b.push(AQ.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 Jhc=function(a,b){var c=DQ(b,a.maximumFractionDigits_);0<a.significantDigits_&&(c=Mhc(c,a.significantDigits_,a.maximumFractionDigits_));c=Math.round(c);isFinite(c)?(b=Math.floor(DQ(c,-a.maximumFractionDigits_)),a=Math.floor(c-DQ(b,a.maximumFractionDigits_))):a=0;return{intValue:b,fracValue:a}},Khc=function(a,b,c,d){if(a.minimumFractionDigits_>a.maximumFractionDigits_)throw Error("Bd");d||(d=[]);b=Jhc(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 k="",q=e;1E20<q;)k="0"+k,q=Math.round(DQ(q,-1));k=q+k;var t=AQ.DECIMAL_SEP;q=AQ.ZERO_DIGIT.charCodeAt(0);var w=k.length,z=0;if(0<e||0<c){for(e=w;e<c;e++)d.push(String.fromCharCode(q));if(2<=a.groupingArray_.length)for(c=1;c<a.groupingArray_.length;c++)z+=a.groupingArray_[c];c=w-z;if(0<c){e=a.groupingArray_;z=w=0;for(var F,J=AQ.GROUP_SEP,H=k.length,O=0;O<H;O++)if(d.push(String.fromCharCode(q+Number(k.charAt(O)))),1<H-O)if(F=e[z],O<c){var P=c-O;(1===F||0<F&&1===
P%F)&&d.push(J)}else z<e.length&&(O===c?z+=1:F===O-c-w+1&&(d.push(J),w+=F,z+=1))}else{c=k;k=a.groupingArray_;e=AQ.GROUP_SEP;F=c.length;J=[];for(w=k.length-1;0<=w&&0<F;w--){z=k[w];for(H=0;H<z&&0<=F-H-1;H++)J.push(String.fromCharCode(q+Number(c.charAt(F-H-1))));F-=z;0<F&&J.push(e)}d.push.apply(d,J.reverse())}}else h||d.push(String.fromCharCode(q));(a.decimalSeparatorAlwaysShown_||h)&&d.push(t);f=String(f);h=f.split("e+");2==h.length&&(f=String(Mhc(parseFloat(h[0]),a.significantDigits_,1)),f=f.replace(".",
""),f+=GOb("0",parseInt(h[1],10)-f.length+1));a.maximumFractionDigits_+1>f.length&&(f="1"+GOb("0",a.maximumFractionDigits_-f.length)+f);for(a=f.length;"0"==f.charAt(a-1)&&a>b+1;)a--;for(b=1;b<a;b++)d.push(String.fromCharCode(q+Number(f.charAt(b))))},Lhc=function(a,b,c){c.push(AQ.EXP_SYMBOL);0>b?(b=-b,c.push(AQ.MINUS_SIGN)):a.useSignForPositiveExponent_&&c.push(AQ.PLUS_SIGN);b=""+b;for(var d=AQ.ZERO_DIGIT,e=b.length;e<a.minExponentDigits_;e++)c.push(d);c.push(b)},Ghc=function(a){a=a.charCodeAt(0);
if(48<=a&&58>a)return a-48;var b=AQ.ZERO_DIGIT.charCodeAt(0);return b<=a&&a<b+10?a-b:-1},Ehc=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+=AQ.DEF_CURRENCY_CODE):(h=AQ.DEF_CURRENCY_CODE,d+=h in Chc?Chc[h][1]:h);break;case "%":if(!a.negativePercentSignExpected_&&
1!=a.multiplier_)throw Error("Cd");if(a.negativePercentSignExpected_&&100!=a.multiplier_)throw Error("Dd");a.multiplier_=100;a.negativePercentSignExpected_=!1;d+=AQ.PERCENT;break;case "\u2030":if(!a.negativePercentSignExpected_&&1!=a.multiplier_)throw Error("Cd");if(a.negativePercentSignExpected_&&1E3!=a.multiplier_)throw Error("Dd");a.multiplier_=1E3;a.negativePercentSignExpected_=!1;d+=AQ.PERMILL;break;default:d+=h}}return d},CQ={divisorBase:0,negative_prefix:"",negative_suffix:"",prefix:"",suffix:""},
Hhc=function(a,b){a=1==a.compactStyle_?zQ.COMPACT_DECIMAL_SHORT_PATTERN:zQ.COMPACT_DECIMAL_LONG_PATTERN;null==a&&(a=zQ.COMPACT_DECIMAL_SHORT_PATTERN);if(3>b)return CQ;b=Math.min(14,b);var c=a[DQ(1,b)];for(--b;!c&&3<=b;)c=a[DQ(1,b)],b--;if(!c)return CQ;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]}:CQ:CQ},Ihc=function(a){if(!isFinite(a))return 0<a?a:0;for(var b=0;1<=(a/=10);)b++;return b},DQ=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))},Nhc=function(a,b){return a&&isFinite(a)?DQ(Math.round(DQ(a,b)),-b):a},Mhc=function(a,b,c){if(!a)return a;b=b-Ihc(a)-1;return b<-c?Nhc(a,-c):Nhc(a,b)};var Ohc=new BQ(3);var Phc=new Xc("GMAT_PROGRESS_SPINNER_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var Qhc=["determinateSpinner"],Rhc=new Xc("mat-progress-spinner-default-options",{providedIn:"root",factory:QKa}),EQ=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=EQ.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};
Vg.Object.defineProperties(EQ.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}}});EQ.\u0275fac=function(a){return new (a||EQ)(A(Ad),A(Su,8),A(Rhc))};
EQ.\u0275cmp=Lc({type:EQ,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(a,b){a&1&&Uf(Qhc,5);if(a&2){var c;Yf(c=Zf())&&(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&&(pf("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===b.mode?b.value:null)("mode",b.mode),zf("mat-"+b.color),xf("width",b.diameter,"px")("height",b.diameter,
"px")("--mdc-circular-progress-size",b.diameter+"px")("--mdc-circular-progress-active-indicator-width",b.diameter+"px"),yf("_mat-animation-noopable",b._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===b.mode))},inputs:{color:"color",mode:"mode",value:[2,"value","value",qg],diameter:[2,"diameter","diameter",qg],strokeWidth:[2,"strokeWidth","strokeWidth",qg]},exportAs:["matProgressSpinner"],standalone:!0,features:[of,dg],decls:14,vars:11,consts:[["circle",""],["aria-hidden",
"true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],
[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(a,b){a&1&&(C(0,PKa,2,8,"ng-template",null,0,jg),E(2,"div",1,2),qd(),E(4,"svg",3),I(5,"circle",4),G()(),rd(),E(6,"div",5)(7,"div",6)(8,"div",7),Gf(9,8),G(),E(10,"div",9),Gf(11,8),G(),E(12,"div",10),Gf(13,8),G()()());if(a&2){var c=Q(1);y(4);pf("viewBox",b._viewBox());
y();xf("stroke-dasharray",b._strokeCircumference(),"px")("stroke-dashoffset",b._strokeDashOffset(),"px")("stroke-width",b._circleStrokeWidth(),"%");pf("r",b._circleRadius());y(4);D("ngTemplateOutlet",c);y(2);D("ngTemplateOutlet",c);y(2);D("ngTemplateOutlet",c)}},dependencies:[lw],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 FQ=function(){};FQ.\u0275fac=function(a){return new (a||FQ)};FQ.\u0275mod=Nc({type:FQ});FQ.\u0275inj=wc({imports:[uw,Gy]});var GQ=function(a,b){var c=this;this.options=a;this.progressSpinner=b;this.destroyed=new W.Subject;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-spinner-accessible-label");OKa(b._elementRef.nativeElement).pipe(ef(this.destroyed)).subscribe(function(d){c.writeLabelSpan(d[0],d[1])})};GQ.prototype.ngOnInit=function(){this.initializeLabelSpan()};
GQ.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};GQ.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())};
GQ.prototype.writeLabelSpan=function(a,b){a="indeterminate"===b?a:a+" "+Ohc.format(Number(b)/100);this.labelElement.textContent=a};GQ.\u0275fac=function(a){return new (a||GQ)(A(Phc),A(EQ,10))};GQ.\u0275dir=Qc({type:GQ,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(pf("tabindex",null),yf("gmat-mdc-progress-spinner",!b.options.disableGmatStyle))}});var HQ=function(){this.ariaLabel="loading"};HQ.\u0275fac=function(a){return new (a||HQ)};
HQ.\u0275cmp=Lc({type:HQ,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&&C(0,RKa,1,2,"mat-spinner",0)(1,SKa,1,3,"mat-spinner",1);a&2&&(D("ngIf",b.large),y(),D("ngIf",!b.large))},dependencies:[dw,GQ,EQ],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 Shc=new Xc("mat-autocomplete-default-options",{providedIn:"root",factory:TKa});var Thc=new Xc("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:function(){var a=Gc(Cy);return function(){return a.scrollStrategies.reposition()}}}),Uhc={provide:Thc,deps:[Cy],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};var Vhc=["panel"],Whc=0,Xhc=function(a,b){this.source=a;this.option=b},Yhc=Jqa(function(){}),IQ=function(a,b,c,d){var e=Yhc.call(this)||this;e._changeDetectorRef=a;e._elementRef=b;e._defaults=c;e._activeOptionChanges=W.Subscription.EMPTY;e.showPanel=!1;e._isOpen=!1;e.displayWith=null;e.optionSelected=new zv;e.opened=new zv;e.closed=new zv;e.optionActivated=new zv;e._classList={};e.id="mat-autocomplete-"+Whc++;e.inertGroups=(null==d?void 0:d.SAFARI)||!1;e._autoActiveFirstOption=!!c.autoActiveFirstOption;
e._autoSelectActiveOption=!!c.autoSelectActiveOption;e._requireSelection=!!c.requireSelection;return e};X(IQ,Yhc);g=IQ.prototype;g._setColor=function(a){this._color=a;this._setThemeClasses(this._classList)};g.ngAfterContentInit=function(){var a=this;this._keyManager=Jx(Kx(new Qx(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()};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 Xhc(this,a))};
g._getPanelAriaLabelledby=function(a){return this.ariaLabel?null:this.ariaLabelledby?(a?a+" ":"")+this.ariaLabelledby:a};g._setVisibilityClasses=function(a){a[this._visibleClass]=this.showPanel;a[this._hiddenClass]=!this.showPanel};g._setThemeClasses=function(a){a["mat-primary"]="primary"===this._color;a["mat-warn"]="warn"===this._color;a["mat-accent"]="accent"===this._color};g._skipPredicate=function(a){return a.disabled};
Vg.Object.defineProperties(IQ.prototype,{isOpen:{configurable:!0,enumerable:!0,get:function(){return this._isOpen&&this.showPanel}},autoActiveFirstOption:{configurable:!0,enumerable:!0,get:function(){return this._autoActiveFirstOption},set:function(a){this._autoActiveFirstOption=Og(a)}},autoSelectActiveOption:{configurable:!0,enumerable:!0,get:function(){return this._autoSelectActiveOption},set:function(a){this._autoSelectActiveOption=Og(a)}},requireSelection:{configurable:!0,enumerable:!0,get:function(){return this._requireSelection},
set:function(a){this._requireSelection=Og(a)}},classList:{configurable:!0,enumerable:!0,set:function(a){a&&a.length?this._classList=koa(a).reduce(function(b,c){b[c]=!0;return b},{}):this._classList={};this._setVisibilityClasses(this._classList);this._setThemeClasses(this._classList);this._elementRef.nativeElement.className=""}}});IQ.\u0275fac=function(a){return new (a||IQ)(A(Uu),A(Ad),A(Shc),A(fx))};
IQ.\u0275dir=Qc({type:IQ,viewQuery:function(a,b){a&1&&(Uf(Rf,7),Uf(Vhc,5));if(a&2){var c;Yf(c=Zf())&&(b.template=c.first);Yf(c=Zf())&&(b.panel=c.first)}},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",requireSelection:"requireSelection",panelWidth:"panelWidth",classList:[0,"class","classList"]},outputs:{optionSelected:"optionSelected",
opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[nf]});var JQ=function(a,b,c,d,e,f,h,k,q,t,w){var z=this;this._element=a;this._overlay=b;this._viewContainerRef=c;this._zone=d;this._changeDetectorRef=e;this._dir=h;this._formField=k;this._document=q;this._viewportRuler=t;this._defaults=w;this._manuallyFloatingLabel=this._autocompleteDisabled=this._componentDestroyed=!1;this._viewportSubscription=W.Subscription.EMPTY;this._canOpenOnNextFocus=!0;this._closeKeyEventStream=new W.Subject;this._windowBlurHandler=function(){z._canOpenOnNextFocus=z._document.activeElement!==
z._element.nativeElement||z.panelOpen};this._onChange=function(){};this._onTouched=function(){};this.position="auto";this.autocompleteAttribute="off";this._overlayAttached=!1;this.optionSelections=(0,W.defer)(function(){var F=z.autocomplete?z.autocomplete.options:null;return F?F.changes.pipe(cf(F),df(function(){return W.merge.apply(null,r(F.map(function(J){return J.onSelectionChange})))})):z._zone.onStable.pipe(Ue(),df(function(){return z.optionSelections}))});this._handlePanelKeydown=function(F){if(27===
F.keyCode&&!Mg(F)||38===F.keyCode&&Mg(F,"altKey")){if(z._pendingAutoselectedOption){var J;z._updateNativeInputValue(null!=(J=z._valueBeforeAutoSelection)?J:"");z._pendingAutoselectedOption=null}z._closeKeyEventStream.next();z._resetActiveItem();F.stopPropagation();F.preventDefault()}};this._trackedModal=null;this._scrollStrategy=f};
JQ.prototype.ngAfterViewInit=function(){var a=this,b=this._getWindow();"undefined"!==typeof b&&this._zone.runOutsideAngular(function(){return b.addEventListener("blur",a._windowBlurHandler)})};JQ.prototype.ngOnChanges=function(a){a.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())};
JQ.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 lgb=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())};g=JQ.prototype;g.updatePosition=function(){this._overlayAttached&&this._overlayRef.updatePosition()};
g._getOutsideClickStream=function(){var a=this;return(0,W.merge)((0,W.fromEvent)(this._document,"click"),(0,W.fromEvent)(this._document,"auxclick"),(0,W.fromEvent)(this._document,"touchend")).pipe(Ce(function(b){b=Lg(b);var c=a._formField?a._formField._elementRef.nativeElement:null,d=a.connectedTo?a.connectedTo.elementRef.nativeElement:null;return a._overlayAttached&&b!==a._element.nativeElement&&a._document.activeElement!==a._element.nativeElement&&(!c||!c.contains(b))&&(!d||!d.contains(b))&&!!a._overlayRef&&
!a._overlayRef.overlayElement.contains(b)}))};g.writeValue=function(a){var b=this;Promise.resolve(null).then(function(){return b._assignOptionValue(a)})};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this._element.nativeElement.disabled=a};
g._handleKeydown=function(a){var b=a.keyCode,c=Mg(a);27!==b||c||a.preventDefault();if(this.activeOption&&13===b&&this.panelOpen&&!c)this.activeOption._selectViaInteraction(),this._resetActiveItem(),a.preventDefault();else if(this.autocomplete){var d=this.autocomplete._keyManager.activeItem,e=38===b||40===b;if(9===b||e&&!c&&this.panelOpen)this.autocomplete._keyManager.onKeydown(a);else e&&this._canOpen()&&(this._attachOverlay(),this._floatLabel());if(e||this.autocomplete._keyManager.activeItem!==d)this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||
0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value))}};
g._handleInput=function(a){var b=a.target,c=b.value;"number"===b.type&&(c=""==c?null:parseFloat(c));this._previousValue!==c&&(this._previousValue=c,this._pendingAutoselectedOption=null,this._onChange(c),c||this._clearPreviousSelectedOption(null,!1),this._canOpen()&&this._document.activeElement===a.target&&(this._attachOverlay(),this._floatLabel()))};
g._handleFocus=function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0};g._handleClick=function(){this._canOpen()&&!this.panelOpen&&(this._attachOverlay(),this._floatLabel())};
g._floatLabel=function(a){this._formField&&"auto"===this._formField.floatLabel&&((void 0===a?0:a)?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)};g._resetLabel=function(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)};
g._subscribeToClosingActions=function(){var a=this,b=this._zone.onStable.pipe(Ue()),c=this.autocomplete.options.changes.pipe(ff(function(){return zSb(a._positionStrategy)}),Se(0));return(0,W.merge)(b,c).pipe(df(function(){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}),Ue()).subscribe(function(d){return a._setValueAndClose(d)})};
g._emitOpened=function(){this._valueOnOpen=this._element.nativeElement.value;this.autocomplete.opened.emit()};g._destroyPanel=function(){this._overlayRef&&(lgb(this),this._overlayRef.dispose(),this._overlayRef=null)};g._assignOptionValue=function(a){a=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(a):a;this._updateNativeInputValue(null!=a?a:"")};
g._updateNativeInputValue=function(a){this._formField?this._formField._control.value=a:this._element.nativeElement.value=a;this._previousValue=a};
g._setValueAndClose=function(a){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._valueOnOpen&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),c._animationDone?c._animationDone.pipe(Ue()).subscribe(function(){return b._onChange(null)}):
this._onChange(null));lgb(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._attachOverlay=function(){var a=this,b=this._overlayRef;if(b)this._positionStrategy.setOrigin(this._getConnectedElement()),b.updateSize({width:this._getPanelWidth()});else{var c;this._portal=new Ux(this.autocomplete.template,this._viewContainerRef,{id:null==(c=this._formField)?void 0:c.getLabelId()});this._overlayRef=b=this._overlay.create(this._getOverlayConfig());this._viewportSubscription=this._viewportRuler.change().subscribe(function(){a.panelOpen&&b&&b.updateSize({width:a._getPanelWidth()})})}b&&
!b.hasAttached()&&(b.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());c=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0;var d;this.autocomplete._setColor(null==(d=this._formField)?void 0:d.color);this._updatePanelState();this._applyModalPanelOwnership();this.panelOpen&&c!==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 sy({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=CSb(xy(By(this._overlay.position(),this._getConnectedElement()),!1),!1);this._setStrategyPositions(a);return this._positionStrategy=a};
g._setStrategyPositions=function(a){var b=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],c=this._aboveClass;c=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:c},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:c}];b="above"===this.position?c:"below"===this.position?b:[].concat(r(b),r(c));vy(a,b)};
g._getConnectedElement=function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element};g._getPanelWidth=function(){return this.autocomplete.panelWidth||this._getHostWidth()};g._getHostWidth=function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width};
g._resetActiveItem=function(){var a=this.autocomplete;if(a.autoActiveFirstOption){for(var b=-1,c=0;c<a.options.length;c++)if(!a.options.get(c).disabled){b=c;break}a._keyManager.setActiveItem(b)}else a._keyManager.setActiveItem(-1)};g._canOpen=function(){var a=this._element.nativeElement;return!a.readOnly&&!a.disabled&&!this._autocompleteDisabled};g._getWindow=function(){var a;return(null==(a=this._document)?void 0:a.defaultView)||window};
g._scrollToOption=function(a){var b=this.autocomplete,c=Kqa(a,b.options,b.optionGroups);0===a&&1===c?b._setScrollTop(0):b.panel&&(a=b.options.toArray()[a])&&(a=a._getHostElement(),b._setScrollTop(Lqa(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&&Sg(this._trackedModal,"aria-owns",b);poa(a,"aria-owns",b);this._trackedModal=a}};g._clearFromModal=function(){this._trackedModal&&(Sg(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)};
Vg.Object.defineProperties(JQ.prototype,{autocompleteDisabled:{configurable:!0,enumerable:!0,get:function(){return this._autocompleteDisabled},set:function(a){this._autocompleteDisabled=Og(a)}},panelOpen:{configurable:!0,enumerable:!0,get:function(){return this._overlayAttached&&this.autocomplete.showPanel}},panelClosingActions:{configurable:!0,enumerable:!0,get:function(){var a=this;return(0,W.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,W.of)()).pipe(B(function(b){return b instanceof NVb?b:null}))}},activeOption:{configurable:!0,enumerable:!0,get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}});JQ.\u0275fac=function(a){return new (a||JQ)(A(Ad),A(Cy),A(Sf),A(Ge),A(Uu),A(Thc),A(ay,8),A(RA,9),A(Tg,8),A(oy),A(Shc,8))};
JQ.\u0275dir=Qc({type:JQ,inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[0,"matAutocompleteDisabled","autocompleteDisabled"]},features:[ed]});var Zhc={provide:fw,useExisting:Cc(function(){return KQ}),multi:!0},KQ=function(){JQ.apply(this,arguments);this._aboveClass="mat-autocomplete-panel-above"};X(KQ,JQ);KQ.\u0275fac=function(){var a;return function(b){return(a||(a=zd(KQ)))(b||KQ)}}();
KQ.\u0275dir=Qc({type:KQ,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(a,b){a&1&&M("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&&pf("autocomplete",b.autocompleteAttribute)("role",b.autocompleteDisabled?null:
"combobox")("aria-autocomplete",b.autocompleteDisabled?null:"list")("aria-activedescendant",b.panelOpen&&b.activeOption?b.activeOption.id:null)("aria-expanded",b.autocompleteDisabled?null:b.panelOpen.toString())("aria-owns",b.autocompleteDisabled||!b.panelOpen?null:null==b.autocomplete?null:b.autocomplete.id)("aria-haspopup",b.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[bg([Zhc]),nf]});var LQ=function(){var a=IQ.apply(this,arguments)||this;a._visibleClass="mat-autocomplete-visible";a._hiddenClass="mat-autocomplete-hidden";a._animationDone=null;return a};X(LQ,IQ);LQ.\u0275dir=IQ.\u0275dir;LQ.\u0275fac=function(){var a;return function(b){return(a||(a=zd(LQ)))(b||LQ)}}();
LQ.\u0275cmp=Lc({type:LQ,selectors:[["mat-autocomplete"]],contentQueries:function(a,b,c){a&1&&(Vf(c,Py,5),Vf(c,qA,5));if(a&2){var d;Yf(d=Zf())&&(b.optionGroups=d);Yf(d=Zf())&&(b.options=d)}},hostAttrs:["ngSkipHydration","",1,"mat-autocomplete"],hostVars:1,hostBindings:function(a){a&2&&pf("mat-id-collision",null)},inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[bg([{provide:Oy,useExisting:LQ}]),nf],ngContentSelectors:["*"],decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",
3,"id","ngClass"],["panel",""]],template:function(a){a&1&&(Lf(),C(0,UKa,3,4,"ng-template"))},dependencies:[gw],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],
encapsulation:2,changeDetection:0});var MQ=function(){};MQ.\u0275fac=function(a){return new (a||MQ)};MQ.\u0275mod=Nc({type:MQ});MQ.\u0275inj=wc({providers:[Uhc],imports:[Fy,rA,Gy,uw,py,rA,Gy]});var $hc=["searchBox"],NQ=function(a,b,c,d,e,f,h,k,q){this.cdr=a;this.userApi=c;this.bookmarkGroupsApi=d;this.hotlistApi=e;this.paths=f;this.analytics=h;this.errorHandler=k;this.appEvents=q;this.allowStarring=this.showHotlists=this.showGroups=!0;this.focusOnInit=!1;this.itemSelect=new zv;this.lastProcessedIndex=-1;this.nextRequestIndex=0;this.favoriteBookmarkGroups=new Set;this.favoriteHotlists=new Set;this.query="";this.matches=[];this.currentUserEmail=b.getUserEmail()};
NQ.prototype.ngOnInit=function(){this.allowStarring&&aic(this)};
var aic=function(a){a.favoriteBookmarkGroups.clear();a.favoriteHotlists.clear();a.userApi.getUserSidebar().then(function(b){if(a.showGroups){var c,d=l(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=l(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=l(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=NQ.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=l(e);e=f.next().value;f=f.next().value;if(b===a.nextRequestIndex-1){for(var h=l(e),k=h.next();!k.done;k=h.next()){k=k.value;var q=k.bookmarkGroupId;k.href=a.paths.viewBookmarkGroup(q);k.isGroup=!0;k.isStarred=a.favoriteBookmarkGroups.has(q)}h=
l(f);for(k=h.next();!k.done;k=h.next())k=k.value,q=k.hotlistId,k.href=a.paths.viewHotlist(q),k.isGroup=!1,k.isStarred=a.favoriteHotlists.has(q);a.matches=[].concat(r(e),r(f));a.lastProcessedIndex=b;a.cdr.detectChanges()}})}else this.lastProcessedIndex=b};g.shouldShowStar=function(a){return this.allowStarring&&!Hi(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();aic(b);b.cdr.detectChanges()};c={resourceId:c,resourceType:d};a.isStarred?(kp(this.analytics,"hotlistSearch","starItem"),this.userApi.saveFavorite(c).then(e)):(kp(this.analytics,"hotlistSearch","unstarItem"),this.userApi.deleteFavorite(c).then(e))};
NQ.\u0275fac=function(a){return new (a||NQ)(A(EF,2),A(nt),A(BI),A(nQ),A(qI),A(iI),A(MI),A(AG),A(RH))};
NQ.\u0275cmp=Lc({type:NQ,selectors:[["b-hotlist-search"]],viewQuery:function(a,b){a&1&&(Uf($hc,5),Uf(KQ,5));if(a&2){var c;Yf(c=Zf())&&(b.searchBoxEl=c.first);Yf(c=Zf())&&(b.autocomplete=c.first)}},hostAttrs:[1,"'bv2-hotlist-search'"],inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",focusOnInit:"focusOnInit"},outputs:{itemSelect:"itemSelect"},features:[bg([EF])],decls:13,vars:6,consts:[[1,"bv2-hotlist-search"],["id","hotlist-search-input-box","type","text",
"placeholder","Enter query","role","combobox",3,"ngModel","matAutocomplete","ngModelChange","keydown.space"],["searchBox",""],[4,"ngIf"],[1,"bv2-hotlist-search-dropdown",3,"optionSelected"],["auto","matAutocomplete"],["class","bv2-hotlist-search-dropdown-item",3,"value",4,"ngFor","ngForOf"],[1,"bv2-hotlist-search-subtext"],[1,"bv2-hotlist-search-dropdown-item",3,"value"],[1,"flex-kids-x","align-items-center","gap-xxs"],[3,"starMessage","unStarMessage","starred","starClicked",4,"ngIf"],["itemHovercard",
"onedevHovercard"],[3,"hotlist",4,"ngIf"],[3,"bookmarkGroup",4,"ngIf"],[1,"bv2-hotlist-name",3,"onedevHovercardTrigger"],[3,"starMessage","unStarMessage","starred","starClicked"],[3,"hotlist"],[3,"bookmarkGroup"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"input",1,2),M("ngModelChange",function(d){return b.query=d})("ngModelChange",function(){return b.onQueryChange()})("keydown.space",function(d){var e;if(null==(e=b.autocomplete)?0:e.activeOption)b.toggleStar(b.autocomplete.activeOption.value),
d.preventDefault(),d.stopPropagation()}),G(),C(3,VKa,1,0,"b-spinner",3),E(4,"mat-autocomplete",4,5),M("optionSelected",function(d){b.itemSelect.emit(d.option.value)}),C(6,ZKa,9,8,"mat-option",6),G(),E(7,"div",7),R(8,' e.g., "foo bar admin:user@google.com" '),I(9,"br"),R(10,' or "foo bar admin:group@google.com" '),I(11,"br"),R(12," Only identities directly listed as Admins can be searched. "),G()());if(a&2){var c=Q(5);y();D("ngModel",b.query)("matAutocomplete",c);pf("autofocus",b.focusOnInit)("aria-label",
"Add query for searching "+(b.showGroups?"bookmark groups":"hotlists"));y(2);D("ngIf",b.isLoading());y(3);D("ngForOf",b.matches)}},dependencies:[hw,dw,vQ,wQ,LF,QF,HQ,yQ,Dg,Hw,Ow,LQ,KQ,qA],encapsulation:2});var bic=[[["xap-dialog-layout-title"]],[["xap-dialog-layout-subtitle"]],[["xap-dialog-layout-content"]],[["xap-dialog-layout-actions"]]],OQ=function(){};OQ.\u0275fac=function(a){return new (a||OQ)};OQ.\u0275dir=Qc({type:OQ,selectors:[["xap-dialog-layout-subtitle"]]});var PQ=function(a,b,c){this.el=a;this.cdRef=b;this.ngZone=c;this.destroyed=new W.ReplaySubject;this.internalScrollable=!1;this.internalScrollPosition="bottom"};
PQ.prototype.ngOnInit=function(){var a=this;this.internalScrollPosition=this.getScrollPosition(this.el.nativeElement);this.ngZone.runOutsideAngular(function(){cic(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollable=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})});dic(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollPosition=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})})})};PQ.prototype.ngOnDestroy=function(){this.destroyed.next();this.destroyed.complete()};
var cic=function(a){if(!window.ResizeObserver)return(0,W.of)(eic(a.el.nativeElement));var b;return(0,W.fromEventPattern)(function(c){b=new ResizeObserver(function(){c(eic(a.el.nativeElement))});b.observe(a.el.nativeElement)},function(){b.disconnect()}).pipe(Te(),ef(a.destroyed))},dic=function(a){return(0,W.fromEvent)(a.el.nativeElement,"scroll").pipe($Ka(),B(function(){return a.getScrollPosition(a.el.nativeElement)}),Te(),ef(a.destroyed))},eic=function(a){return a.offsetHeight+a.scrollTop<=a.scrollHeight};
PQ.prototype.getScrollPosition=function(a){return 0===a.scrollTop?"top":a.offsetHeight+a.scrollTop>=a.scrollHeight?"bottom":"center"};Vg.Object.defineProperties(PQ.prototype,{scrollable:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollable}},scrollPosition:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollPosition}}});PQ.\u0275fac=function(a){return new (a||PQ)(A(Ad),A(Uu),A(Ge))};
PQ.\u0275dir=Qc({type:PQ,selectors:[["xap-dialog-layout-content"]],hostAttrs:[1,"xap-dialog-layout-content"],hostVars:6,hostBindings:function(a,b){a&2&&yf("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 QQ=function(){};QQ.\u0275fac=function(a){return new (a||QQ)};
QQ.\u0275cmp=Lc({type:QQ,selectors:[["xap-dialog-layout"]],contentQueries:function(a,b,c){a&1&&Vf(c,OQ,4);if(a&2){var d;Yf(d=Zf())&&(b.subtitle=d)}},hostAttrs:[1,"xap-dialog-layout"],hostVars:2,hostBindings:function(a,b){a&2&&yf("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&&(Lf(bic),
E(0,"header",0),Mf(1),Mf(2,1),G(),Mf(3,2),Mf(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 fic=oh({opacity:0}),gic=oh({opacity:1}),hic=mh("dialogContainer",[ph("void, hidden",fic),ph("visible",gic),rh("void => *, * => visible",nh("200ms cubic-bezier(0.0,0.0,0.2,1)",gic)),rh("* => void, * => hidden",nh("200ms cubic-bezier(0.4,0.0,0.2,1)",fic))]);var iic=new Xc("XAP_IDCO"),RQ=function(){Vx.apply(this,arguments);this.animationState="hidden";this.options=Gc(iic);this.changeDetector=Gc(Uu)};X(RQ,Vx);RQ.prototype.ngAfterViewInit=function(){};RQ.prototype.attachComponentPortal=function(a){return this.portalOutlet.attachComponentPortal(a)};RQ.prototype.attachTemplatePortal=function(a){return this.portalOutlet.attachTemplatePortal(a)};var jic=function(a,b){a.animationState=b?"visible":"hidden";a.changeDetector.markForCheck()};
RQ.\u0275fac=function(){var a;return function(b){return(a||(a=zd(RQ)))(b||RQ)}}();
RQ.\u0275cmp=Lc({type:RQ,selectors:[["xap-inline-dialog-container"]],viewQuery:function(a,b){a&1&&Uf(Yx,7);if(a&2){var c;Yf(c=Zf())&&(b.portalOutlet=c.first)}},hostAttrs:["role","dialog",1,"xap-inline-dialog-container","gmat-body-2"],hostVars:3,hostBindings:function(a,b){a&2&&(pf("aria-label",b.options.dialogLabel)("tabindex",b.options.dialogTabIndex),If("@dialogContainer",b.animationState))},features:[nf],decls:2,vars:0,consts:[["cdkPortalOutlet",""],["cdkFocusInitial","","tabindex","0"]],template:function(a){a&
1&&(E(0,"div"),C(1,aLa,1,0,"ng-template",0),G())},dependencies:[Yx],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:[hic]},changeDetection:0});var kic=[{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}],lic={minWidth:220,maxWidth:420,minHeight:64,maxHeight:420},SQ=function(a,b,c,d,e,f,h,k){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=k;this.disabledInternal=!1;this.dialogLabel=null;this.dialogTabIndex=-1;this.overlayDimensions=lic;this.triggerDescription="Press space for more information.";this.forceTrapFocus=this.disableAutoFocusInternal=!1;this.scrollStrategy="close";this.stackLocation=0;this.beforeOpened=new zv;this.opened=new zv;this.closed=new zv;this.destroyed=new W.ReplaySubject;this.openStatusChange=new W.BehaviorSubject(!1);this.openings=this.openStatusChange.pipe(Ce(function(t){return t&&
!q.disabled}));this.elementFocusedBeforeDialogWasOpened=void 0;mic(this,c.nativeElement);this.attachKeyboardCloseEventListeners(c.nativeElement);nic(this,c.nativeElement)};SQ.prototype.ngOnInit=function(){var a=this.elementRef.nativeElement;a.hasAttribute("aria-haspopup")||a.setAttribute("aria-haspopup","dialog");a.hasAttribute("aria-describedby")||Dx(this.ariaDescriber,a,this.triggerDescription)};
SQ.prototype.ngOnDestroy=function(){this.closeDialog();this.openStatusChange.complete();this.destroyed.next();this.destroyed.complete();this.overlayRef&&this.overlayRef.dispose()};
var mic=function(a,b){a.ngZone.runOutsideAngular(function(){(0,W.fromEvent)(b,"keydown").pipe(ef(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 13:a.openDialog();c.preventDefault();break;case 32:c.preventDefault()}});(0,W.fromEvent)(b,"keyup").pipe(ef(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 32:a.openDialog()}})})},nic=function(a,b){a.ngZone.runOutsideAngular(function(){(0,W.fromEvent)(b,"focus").pipe(Ce(function(){return 0<a.beforeOpened.observers.length}),ef(a.destroyed)).subscribe(function(){a.ngZone.run(function(){a.beforeOpened.emit()})})})};
g=SQ.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=oic(a);a.dialogContainerRef.instance.attach(c);var d=a.dialogContainerRef.location.nativeElement;a.attachMouseEventListeners(d);a.attachKeyboardCloseEventListeners(d);a.trapFocus(d);jic(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)||(jic(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),ix(this.focusTrap),this.disableAutoFocus||this.focusInitialElement()};g.focusInitialElement=function(){this.focusTrap&&kx(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 vy(By(this.overlay.position(),null!=(b=this.attachedTo)?b:this.elementRef),a).setOrigin(null!=(c=this.attachedTo)?c:this.elementRef)};
var pic=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()}},oic=function(a){var b=og({parent:a.injector,providers:[{provide:iic,useValue:{dialogLabel:a.dialogLabel,dialogTabIndex:a.dialogTabIndex}}]});b=new Tx(RQ,null,b);null==a.overlayRef&&(a.overlayRef=a.overlay.create(a.createOverlayConfig(kic)));a.overlaySize&&a.overlayRef.updateSize(a.overlaySize);a.overlayPositions&&
0<a.overlayPositions.length&&wSb(a.overlayRef,a.createPositionStrategy(a.overlayPositions));return a.overlayRef.attach(b)};
Vg.Object.defineProperties(SQ.prototype,{dialog:{configurable:!0,enumerable:!0,set:function(a){a&&(this.portal=a instanceof Rf?new Ux(a,this.viewContainerRef):new Tx(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=Og(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}}}});SQ.\u0275fac=function(a){return new (a||SQ)(A(Ge),A(Cy),A(Ad),A(Sf),A(Document),A(Hx),A(Cx),A(He))};
SQ.\u0275dir=Qc({type:SQ,hostVars:1,hostBindings:function(a,b){a&2&&pf("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 TQ=function(a,b,c,d,e,f,h,k){SQ.call(this,a,b,c,d,e,f,h,k);this.attachMouseEventListeners(c.nativeElement)};X(TQ,SQ);g=TQ.prototype;g.ngOnInit=function(){SQ.prototype.ngOnInit.call(this);this.listenForOpenEvents()};g.listenForOpenEvents=function(){var a=this;this.openStatusChange.pipe(ef(this.destroyed)).subscribe(function(b){b?a.openDialog():a.closeDialog()});this.openings.pipe(Ce(function(b){return b&&0<a.beforeOpened.observers.length}),Hka(function(){return a.openStatusChange.pipe(Ce(function(b){return!b}))}))};
g.attachMouseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,W.fromEvent)(a,"mouseenter").pipe(ef(b.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})});(0,W.fromEvent)(a,"click").pipe(ef(b.destroyed)).subscribe(function(d){d.target.closest("[xapInlineDialogClose]")?b.closingDialog():b.openingDialog()});var c;null==(c=b.overlayRef)||c.backdropClick().pipe(ef(b.destroyed)).subscribe(function(){b.closingDialog()})})};
g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,W.fromEvent)(a,"keyup").pipe(ef(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,W.fromEvent)(a,"keydown").pipe(ef(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 sy(Object.assign({},this.overlayDimensions,{positionStrategy:SQ.prototype.createPositionStrategy.call(this,a),scrollStrategy:pic(this),hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop",panelClass:this.panelClassInternal}))};
TQ.\u0275fac=function(a){return new (a||TQ)(A(Ge),A(Cy),A(Ad),A(Sf),A(Tg),A(Hx),A(Cx),A(He))};TQ.\u0275dir=Qc({type:TQ,selectors:[["","xapInlineDialogClick",""]],hostAttrs:[1,"xap-inline-dialog-click"],inputs:{dialog:[0,"xapInlineDialogClick","dialog"],disabled:[0,"xapInlineDialogDisabled","disabled"]},exportAs:["xapInlineDialogClick"],features:[nf]});var qic=["*"],ric=function(){return".xap-icon-trigger,.xap-text-trigger{pointer-events:auto}.xap-text-trigger{-webkit-text-decoration:underline dashed #80868b;-moz-text-decoration:underline dashed #80868b;text-decoration:underline dashed #80868b;text-underline-position:under;text-underline-offset:1px}"},UQ=function(){this.disabled=!1};UQ.\u0275fac=function(a){return new (a||UQ)};
UQ.\u0275cmp=Lc({type:UQ,selectors:[["xap-text-trigger"]],hostAttrs:["role","button"],hostVars:3,hostBindings:function(a,b){a&2&&(pf("tabindex",b.disabled?-1:0),yf("xap-text-trigger",!b.disabled))},inputs:{disabled:[0,"xapInlineDialogDisabled","disabled"]},ngContentSelectors:qic,decls:1,vars:0,template:function(a){a&1&&(Lf(),Mf(0))},styles:[ric()],encapsulation:2});var VQ=function(){this.disabled=!1};VQ.\u0275fac=function(a){return new (a||VQ)};
VQ.\u0275cmp=Lc({type:VQ,selectors:[["xap-icon-trigger"]],hostAttrs:["role","button","tabindex","0",1,"xap-icon-trigger"],inputs:{disabled:[0,"xapInlineDialogDisabled","disabled"]},ngContentSelectors:qic,decls:1,vars:0,template:function(a){a&1&&(Lf(),Mf(0))},styles:[ric()],encapsulation:2});var WQ=function(){this.allowStarring=this.showHotlists=this.showGroups=!0;this.ariaLabel="";this.itemSelect=new zv};WQ.\u0275fac=function(a){return new (a||WQ)};
WQ.\u0275cmp=Lc({type:WQ,selectors:[["b-hotlist-search-popup"]],viewQuery:function(a,b){a&1&&Uf(TQ,5);if(a&2){var c;Yf(c=Zf())&&(b.dialog=c.first)}},inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",ariaLabel:[0,"aria-label","ariaLabel"]},outputs:{itemSelect:"itemSelect"},decls:4,vars:2,consts:[["matTooltip","Search",3,"xapInlineDialogClick"],["svgIcon","search"],["popup",""],[3,"showGroups","showHotlists","allowStarring","focusOnInit","itemSelect"]],template:function(a,
b){a&1&&(E(0,"xap-icon-trigger",0),I(1,"mat-icon",1),G(),C(2,bLa,3,4,"ng-template",null,2,jg));if(a&2){var c=Q(3);D("xapInlineDialogClick",c);pf("aria-label",b.ariaLabel)}},dependencies:[hB,QQ,PQ,PC,TQ,VQ,NQ],styles:["xap-dialog-layout[_ngcontent-%COMP%] { padding: 16px; }","xap-dialog-layout-content[_ngcontent-%COMP%] { padding: 0; }"]});var XQ=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[]};XQ.prototype.handleBookmarkGroupOpen=function(a){kp(this.analytics,"sidebarBookmarkGroups","open");this.location.setUrl(this.paths.viewBookmarkGroup(a))};XQ.prototype.handleBookmarkGroupDashboard=function(a){kp(this.analytics,"sidebarBookmarkGroups","dashboard");this.location.setUrl(this.paths.dashboard(a))};XQ.prototype.editBookmarkGroup=function(a){this.location.setUrl(this.paths.editBookmarkGroup(a))};
XQ.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};XQ.\u0275fac=function(a){return new (a||XQ)(A(hI),A(MI),A(iI),A(pQ))};
XQ.\u0275cmp=Lc({type:XQ,selectors:[["sidebar-bookmark-groups"]],inputs:{bookmarkGroups:"bookmarkGroups"},decls:7,vars:2,consts:[[1,"bv2-nav-section"],["prefKey","nav-bkg",3,"header","content"],["zippyHeader",""],["zippyContent",""],["aria-label","Search for bookmark groups",3,"showHotlists","itemSelect","click"],["class","bookmark-group-list",4,"ngIf"],[1,"bookmark-group-list"],[3,"title",4,"ngFor","ngForOf"],[3,"title"],[3,"header","content","expanded"],["bgZippyHeader",""],["bgZippyContent",""],
[1,"bv2-nav-item","bv2-nav-bookmark-group"],[1,"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions","class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor","click",4,"ngIf"],["topMenu",""],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor","click"],["svgIcon","more-settings-vertical"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",
3,"click"],["mat-menu-item","","class","bv2-user-hotlists-edit-menuitem",3,"click",4,"ngIf"],[1,"bv2-nav-links-no-indent","bookmark-group-content-list"],["class","bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented",3,"href","click"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark item actions","class","bv2-nav-item-menubutton",3,"matMenuTriggerFor",
4,"ngIf"],["innerMenu",""],["mat-icon-button","","disableRipple","true","aria-label","Bookmark item actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"]],template:function(a){a&1&&(E(0,"div",0),I(1,"hr"),E(2,"sidebar-zippy",1),C(3,cLa,3,1,"ng-template",null,2,jg)(5,rLa,1,1,"ng-template",null,3,jg),G()());if(a&2){var b=Q(4),c=Q(6);y(2);D("header",b)("content",c)}},dependencies:[hw,dw,hB,WQ,nA,HC,FC,GC,EC,tQ],encapsulation:2,changeDetection:0});var sic=(new VK).transform,YQ=function(a){this.kansasPrefsManager=a;this.destroyed$=new W.ReplaySubject(1);this.prefs$=this.kansasPrefsManager.preferences$.pipe(B(function(b){var c;return null!=(c=null==b?void 0:b.missionControlPreferences)?c:{}}));this.prefsSubject$=nm(this.prefs$.pipe(ef(this.destroyed$)),{});this.myTasksSources$=this.prefs$.pipe(B(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(ALa):[].concat(r(ihc))}));
this.needsAttentionSources$=this.prefs$.pipe(B(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(ALa):[].concat(r(hhc))}))};YQ.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var kt=function(a,b){a.kansasPrefsManager.save({missionControlPreferences:Object.assign({},a.prefs,b)}).subscribe()},AIb=function(a,b,c){switch(b){case "mc-my-tasks":a.prefs.myTasksTab=c;kt(a,{myTasksTab:c});break;case "work-areas-wrapper-card":a.prefs.workAreaTab=c;kt(a,{workAreaTab:c});break;default:console.error("unhandled tab key, cannot save preference")}};
YQ.prototype.toggleCollapsed=function(a){var b;this.prefs.collapsed=null!=(b=this.prefs.collapsed)?b:{};this.prefs.collapsed[a]=!this.prefs.collapsed[a];kt(this,{collapsed:this.prefs.collapsed})};YQ.prototype.isCollapsed=function(a){var b;return!(null==(b=this.prefs.collapsed)||!b[a])};
var tic=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")}},ZIb=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};YQ.prototype.addHotlist=function(a){ZQ(this,gp(a))};YQ.prototype.hasHotlist=function(a){return null==a?!1:uic(this,gp(a))};
YQ.prototype.hasSavedSearch=function(a){return null==a?!1:uic(this,hp(a))};
var uic=function(a,b){var c;return 0<=(null!=(c=a.prefs.workAreaUrls)?c:[]).indexOf(b)},ZQ=function(a,b){"string"===typeof b&&(b=[b]);if(null!=b&&0!==b.length){var c,d=null!=(c=a.prefs.workAreaUrls)?c:[];d=EBa(b,d);kt(a,{workAreaUrls:d})}},pJb=function(a,b,c){var d,e=(null!=(d=a.prefs.workAreaUrls)?d:[]).slice();sic(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,kt(a,{workAreaUrls:e}))};
Vg.Object.defineProperties(YQ.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.prefsSubject$.value}}});YQ.\u0275fac=function(a){return new (a||YQ)(p(BE))};YQ.\u0275prov=vc({token:YQ,factory:YQ.\u0275fac,providedIn:"root"});var $Q=function(a,b,c,d,e,f,h,k){Y.call(this);this.location=a;this.analytics=c;this.sidebar=d;this.paths=e;this.mcPrefs=k;this.ENABLE_MISSION_CONTROL=pi("enableHomepageVariantA")&&Wta();this.userEmail=b.getUserEmail();this.subscriptions.add(h.routeChangeSuccess.subscribe(function(){f.detectChanges()}))};X($Q,Y);$Q.\u0275dir=Y.\u0275dir;$Q.prototype.getUserEmail=function(){return this.userEmail};$Q.prototype.openEditHotlist=function(a){this.location.setUrl(this.paths.editHotlist(a))};
$Q.prototype.addToMissionControl=function(a){this.mcPrefs.addHotlist(a);this.location.setUrl("home")};$Q.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};$Q.\u0275fac=function(a){return new (a||$Q)(A(hI),A(nt),A(MI),A(pQ),A(iI),A(Uu),A(LI),A(YQ))};
$Q.\u0275cmp=Lc({type:$Q,selectors:[["sidebar-hotlists"]],inputs:{hotlists:"hotlists"},features:[nf],decls:7,vars:2,consts:[[1,"bv2-nav-section"],["prefKey","nav-hotlists",3,"header","content"],["zippyHeader",""],["zippyContent",""],["aria-label","Search for hotlists",3,"showGroups","itemSelect","click"],["class","hotlist-list",4,"ngIf"],[1,"hotlist-list"],["class","bv2-nav-item bv2-user-hotlists-hotlist-item",3,"selected","id","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",
3,"id","title"],[3,"href","click"],[1,"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions keep-focus-ring","class","bv2-nav-item-menubutton",3,"matMenuTriggerFor",4,"ngIf"],["menu",""],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions keep-focus-ring",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["mat-menu-item","",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&&(E(0,"div",0),I(1,"hr"),E(2,"sidebar-zippy",1),C(3,BLa,3,1,"ng-template",null,2,jg)(5,JLa,1,1,"ng-template",null,3,jg),G()());if(a&2){var b=Q(4),c=Q(6);y(2);D("header",b)("content",c)}},dependencies:[hw,dw,hB,WQ,nA,HC,FC,GC,EC,tQ],encapsulation:2,changeDetection:0});var aR=function(a,b,c,d,e,f,h,k,q,t,w,z){Y.call(this);var F=this;this.cdr=a;this.location=b;this.savedSearchApi=c;this.paths=d;this.butterBar=e;this.analytics=f;this.sidebar=h;this.errorHandler=k;this.confirmationDialogService=q;this.appEvents=t;this.mcPrefs=z;this.ENABLE_MISSION_CONTROL=pi("enableHomepageVariantA")&&Wta();this.searches=[];this.subscriptions.add(w.routeChangeSuccess.subscribe(function(){F.cdr.detectChanges()}))};X(aR,Y);aR.\u0275dir=Y.\u0275dir;aR.prototype.openEditSavedSearch=function(a){this.location.setUrl(this.paths.editSavedSearch(a))};
aR.prototype.addToMissionControl=function(a){ZQ(this.mcPrefs,hp(a));this.location.setUrl("home")};
var NLa=function(a,b){a.confirmationDialogService.open({title:"Deleting saved search: "+b.name,content:gh("Are you sure you want to delete this search?"),onConfirm:function(){vic(a,b)}})},vic=function(a,b){var c=b.id;Ks(a.butterBar,'Deleting saved search "'+b.name+'"...');a.savedSearchApi.delete(c).then(function(){a.appEvents.savedSearchModified.next({savedSearchId:c,action:"delete"});Ks(a.butterBar,'Deleted saved search "'+b.name+'".');kp(a.analytics,"sidebarSavedSearches","deleted");a.cdr.detectChanges()}).catch(function(d){a.errorHandler.errorHandler(null,
d)})};aR.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};aR.\u0275fac=function(a){return new (a||aR)(A(EF,2),A(hI),A(CJ),A(iI),A(hG),A(MI),A(pQ),A(AG),A(lG),A(RH),A(LI),A(YQ))};
aR.\u0275cmp=Lc({type:aR,selectors:[["sidebar-saved-searches"]],inputs:{searches:"searches"},features:[bg([EF]),nf],decls:7,vars:2,consts:[[1,"bv2-nav-section","bv2-nav-section-savedsearches"],["prefKey","nav-ss",3,"header","content"],["zippyHeader",""],["zippyContent",""],["class","saved-search-list",4,"ngIf"],[1,"saved-search-list"],["class","bv2-nav-item",3,"selected","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-item-link",3,"href","click"],[1,"bv2-nav-item-text"],["mat-icon-button",
"","disableRipple","true","aria-label","Saved search actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["menu",""],["matMenuContent",""],["mat-menu-item","",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&&(E(0,"div",0),I(1,"hr"),E(2,"sidebar-zippy",1),C(3,KLa,2,0,"ng-template",null,2,jg)(5,RLa,1,1,
"ng-template",null,3,jg),G()());if(a&2){var b=Q(4),c=Q(6);y(2);D("header",b)("content",c)}},dependencies:[hw,dw,hB,nA,HC,FC,GC,EC,tQ],encapsulation:2,changeDetection:0});var wic=B1b("edited-ids"),xic=Nta("edited-ids"),yic=B1b("viewed-ids"),zic=Nta("viewed-ids"),bR=function(a){var b=this;this.appEvents=a;this.stop$=new W.Subject;this.edited=new Map;this.viewed=new Map;this.addViewed=function(c){SLa(b.viewed,c);yic(Array.from(b.viewed.keys()).join(","))};this.addEdited=function(c){SLa(b.edited,c);wic(Array.from(b.edited.keys()).join(","))}};bR.\u0275fac=function(a){return new (a||bR)(p(RH))};bR.\u0275prov=vc({token:bR,factory:bR.\u0275fac,providedIn:"root"});var Aic=0,Bic=new Set,cR=function(){};cR.\u0275fac=function(a){return new (a||cR)};
cR.\u0275cmp=Lc({type:cR,selectors:[["ng-component"]],standalone:!0,features:[dg],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 dR=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=Aic++;this._isInitialized=!1;this._interactivityChecker=Gc(gx);this._document=Gc(Tg);var f=Gc(aw);if(!Bic.has(f)){Bic.add(f);var h=Ama(cR,{environmentInjector:Gc(Mu)});f.onDestroy(function(){Bic.delete(f);0===Bic.size&&h.destroy()})}};g=dR.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()}Ex(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){Ex(this._ariaDescriber,this._elementRef.nativeElement,this.description);a&&!this._isHostInteractive()||this._removeInlineDescription();this._description=a;this._isHostInteractive()?Dx(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=l(Array.from(this._elementRef.nativeElement.querySelectorAll(":scope > .mat-badge-content"))),b=a.next();!b.done;b=a.next())b=b.value,b!==this._badgeElement&&b.remove()};
Vg.Object.defineProperties(dR.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)}}});dR.\u0275fac=function(a){return new (a||dR)(A(Ge),A(Ad),A(Cx),A(Tu),A(Su,8))};
dR.\u0275dir=Qc({type:dR,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(a,b){a&2&&yf("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",pg],disabled:[2,"matBadgeDisabled","disabled",pg],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",pg]},standalone:!0,features:[of]});var eR=function(a,b,c,d,e,f,h,k,q,t,w,z,F,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=k;this.issueLru=q;this.appEvents=t;this.needsAttentionApi=w;this.currentTracker=z;this.taskFridge=F;this.missionControlPrefs=J;this.missionControlTaskCount$=new W.Subject;this.enableHomepageVariantA=tE(this.activeSession,"enableHomepageVariantA")&&this.activeSession.isInternalSession();this.enabledVotedNav=
tE(this.activeSession,"enableUpvotedInNav")&&this.activeSession.isInternalSession();this.votedPath=this.paths.listIssues({q:this.appSearchState.getVoted()});this.recentlyViewedPath=Cic(this)?"recent":void 0;this.homepagePreferences$=this.userPreferencesManager.preferences$.pipe(B(function(U){return(U||YD).homepagePreferences}));this.hasPreferredHomepage$=this.homepagePreferences$.pipe(B(function(U){return!(!U||!U.resourceType)}),Te());this.isHomepageMissionControl$=this.homepagePreferences$.pipe(B(function(U){return"MISSION_CONTROL"===
U.resourceType}),Te());this.isHomepageAssignedToMe$=this.homepagePreferences$.pipe(B(function(U){return!H.enableHomepageVariantA&&!U.resourceType||"ASSIGNED_TO_ME"===U.resourceType}),Te());this.hideBadgeInNav$=this.userPreferencesManager.preferences$.pipe(B(function(U){var Z;return null==U?void 0:null==(Z=U.missionControlPreferences)?void 0:Z.hideBadgeInNav}),B(Boolean));this.destroyed$=new zv;this.appName=b.getAppName();this.userEmail=b.getUserEmail();this.environmentType=b.getEnvironmentType();
this.missionControlPath=e.home();this.assignedPath=e.listIssues({q:MM(this.userEmail)});this.starredPath=e.listIssues({q:d.getStarred()});this.ccdPath=e.listIssues({q:"cc:"+this.userEmail});this.verifiedPath=e.listIssues({q:I$b(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"]);tE(b,"runQueryForSidebarIssueCount")&&setTimeout(function(){H.enableHomepageVariantA&&!P?(0,W.combineLatest)([H.missionControlPrefs.needsAttentionSources$,H.taskFridge.watchMany({}).pipe(B(kKa)),(0,W.defer)(function(){return H.needsAttentionApi.listIssues(void 0,void 0,cKa())}).pipe(B(lKa))]).pipe(ef(H.destroyed$),B(function(U){var Z=
l(U);U=Z.next().value;var la=Z.next().value;Z=Z.next().value;return jKa(la,Z,U,H.missionControlPrefs.prefs.needsAttentionDaysOld)}),B(function(U){return U.length})).subscribe(function(U){H.appEvents.missionControlTaskCount.next(U)}):H.userPreferencesManager.needsAttentionPreferences$.pipe(ef(H.destroyed$)).subscribe(function(U){var Z=C$b(H.currentTracker),la;H.needsAttentionApi.listIssues(null,Z,null!=(la=U.selectedSignals)?la:[])})},1E3)};eR.prototype.ngOnInit=function(){var a=this;this.hasPreferredHomepage$.pipe(ef(this.destroyed$)).subscribe(function(){setTimeout(function(){a.cdr.detectChanges()})})};
eR.prototype.ngOnDestroy=function(){this.destroyed$.next()};var XLa=function(a,b){Ks(a.butterBar,"Updating homepage...",0);R1b(a.userPreferencesManager,{resourceType:b}).subscribe(function(){Ks(a.butterBar,"Homepage updated")})};eR.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};var Cic=function(a){var b=tE(a.activeSession,"enableRecentlyViewedInNav");a=0<Array.from(a.issueLru.viewed.keys()).length;return b&&a};
eR.\u0275fac=function(a){return new (a||eR)(A(EF,2),A(nt),A(hG),A(KM),A(iI),A(BE),A(pQ),A(Aw),A(bR),A(RH),A(UP),A(IM),A(KJ),A(YQ))};
eR.\u0275cmp=Lc({type:eR,selectors:[["b-sidebar"]],features:[bg([EF])],decls:47,vars:29,consts:[[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,"href","click"],["svgIcon","issue-status-accepted",1,"canned-search-icon"],["menu",""],["matMenuContent",""],["svgIcon","star-filled",1,"canned-search-icon"],["svgIcon","person-add-18px",1,"canned-search-icon"],
["svgIcon","user-attributes",1,"canned-search-icon"],[3,"selected",4,"ngIf"],["svgIcon","issue-status-fixed",1,"canned-search-icon"],[3,"bookmarkGroups"],[3,"searches"],[3,"hotlists"],[3,"hotlists","bookmarkGroups"],[1,"bv2-nav-manage-link"],[3,"href"],["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"],["noBadge",""],["mat-icon-button",
"","disableRipple","true","aria-label","More settings","class","bv2-nav-item-menubutton",3,"matMenuTriggerFor",4,"ngIf"],["homepageMenu",""],["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){a&1&&(E(0,"div",0),I(1,"b-create-issue-button"),G(),E(2,"div",1)(3,"div",2)(4,"ul",3),C(5,ZLa,14,12,"ng-container",4),E(6,"li",5)(7,"a",6),M("click",function(c){return b.onAnchorClick(b.assignedPath,
c)}),I(8,"mat-icon",7),R(9," Assigned to me "),G(),C(10,$La,3,1,"ng-container",4),T(11,"async"),E(12,"mat-menu",null,8),C(14,aMa,2,0,"ng-template",9),G()(),E(15,"li")(16,"a",6),M("click",function(c){return b.onAnchorClick(b.starredPath,c)}),I(17,"mat-icon",10),R(18," Starred by me "),G()(),E(19,"li")(20,"a",6),M("click",function(c){return b.onAnchorClick(b.ccdPath,c)}),I(21,"mat-icon",11),R(22," CC'd to me "),G()(),E(23,"li")(24,"a",6),M("click",function(c){return b.onAnchorClick(b.reportedPath,c)}),
I(25,"mat-icon",12),R(26," Reported by me "),G()(),C(27,cMa,4,3,"li",13),E(28,"li")(29,"a",6),M("click",function(c){return b.onAnchorClick(b.verifiedPath,c)}),I(30,"mat-icon",14),R(31," To be verified "),G()(),C(32,dMa,4,3,"li",13),G(),I(33,"sidebar-bookmark-groups",15)(34,"sidebar-saved-searches",16)(35,"sidebar-hotlists",17)(36,"sidebar-archived",18)(37,"hr"),E(38,"div",19)(39,"a",20),R(40," Create hotlist "),G()(),E(41,"div",19)(42,"a",20),R(43," Create bookmark group "),G()(),E(44,"div",19)(45,
"a",20),R(46," Browse components "),G()()()());a&2&&(y(5),D("ngIf",b.enableHomepageVariantA&&!b.currentTracker.inTracker),y(),yf("selected",H$b(b.appSearchState,b.userEmail)),y(),D("href",b.assignedPath,Pd),y(3),D("ngIf",!V(11,27,b.isHomepageAssignedToMe$)),y(5),yf("selected",b.appSearchState.isStarred()),y(),D("href",b.starredPath,Pd),y(3),yf("selected",b.appSearchState.currentQuery==="cc:"+b.userEmail),y(),D("href",b.ccdPath,Pd),y(3),yf("selected",b.appSearchState.currentQuery==="reporter:"+b.userEmail),
y(),D("href",b.reportedPath,Pd),y(3),D("ngIf",b.enabledVotedNav),y(),yf("selected",b.appSearchState.currentQuery===I$b(b.userEmail)),y(),D("href",b.verifiedPath,Pd),y(3),D("ngIf",b.recentlyViewedPath),y(),D("bookmarkGroups",b.sidebarData.bookmarkGroups),y(),D("searches",b.sidebarData.userSearches),y(),D("hotlists",b.sidebarData.hotlists),y(),D("hotlists",b.sidebarData.archivedHotlists)("bookmarkGroups",b.sidebarData.archivedBookmarkGroups),y(3),D("href",b.createHotlistPath,Pd),y(3),D("href",b.createBookmarkGroupPath,
Pd),y(3),D("href",b.componentsPath,Pd))},dependencies:[kQ,dw,hB,nA,HC,FC,GC,EC,dR,uQ,XQ,$Q,aR,mw],encapsulation:2});var fR=function(){};fR.\u0275fac=function(a){return new (a||fR)};fR.\u0275mod=Nc({type:fR});fR.\u0275inj=wc({imports:[SH]});var gR=function(){};gR.\u0275fac=function(a){return new (a||gR)};gR.\u0275mod=Nc({type:gR});gR.\u0275inj=wc({imports:[SH]});var hR=function(){};hR.\u0275fac=function(a){return new (a||hR)};hR.\u0275mod=Nc({type:hR});hR.\u0275inj=wc({});var iR=function(){};iR.\u0275fac=function(a){return new (a||iR)};iR.\u0275mod=Nc({type:iR});iR.\u0275inj=wc({imports:[SH,DP,$C,JD,hR]});var jR=function(){};jR.\u0275fac=function(a){return new (a||jR)};jR.\u0275mod=Nc({type:jR});jR.\u0275inj=wc({imports:[FQ]});var kR=function(){};kR.\u0275fac=function(a){return new (a||kR)};kR.\u0275mod=Nc({type:kR});kR.\u0275inj=wc({imports:[SH,jR]});var lR=function(){};lR.\u0275fac=function(a){return new (a||lR)};lR.\u0275mod=Nc({type:lR});lR.\u0275inj=wc({imports:[uw]});var mR=function(a,b,c,d,e,f,h,k){SQ.call(this,a,b,c,d,e,f,h,k);this.hoverDelayMs=500;this.activity=new W.Subject;this.attachMouseEventListeners(c.nativeElement)};X(mR,SQ);g=mR.prototype;g.ngOnInit=function(){SQ.prototype.ngOnInit.call(this);this.listenForOpenEvents(this.hoverDelayMs)};
g.listenForOpenEvents=function(a){var b=this,c=this.openStatusChange.pipe(Pja(function(){return b.activity.pipe(Re(a))}));c.pipe(ef(this.destroyed)).subscribe(function(d){d?b.openDialog():b.closeDialog()});this.openings.pipe(Ce(function(d){return d&&0<b.beforeOpened.observers.length}),Hka(function(){return c.pipe(Ce(function(d){return!d}))}),ef(this.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})})};
g.attachMouseEventListeners=function(a){var b=this;this.stackManager&&this.stackManager.unregisterEvent().pipe(Re(this.hoverDelayMs),ef(this.destroyed)).subscribe(function(){a.matches(":hover")||b.viewContainerRef.element.nativeElement.matches(":hover")?b.openingDialog():b.closingDialog()});this.ngZone.runOutsideAngular(function(){(0,W.fromEvent)(a,"mouseenter").pipe(ef(b.destroyed)).subscribe(function(){b.openingDialog()});(0,W.fromEvent)(a,"click").pipe(ef(b.destroyed)).subscribe(function(c){c.target.closest("[xapInlineDialogClose]")?
b.closingDialog():(b.openingDialog(),b.openDialog())});(0,W.fromEvent)(a,"mouseleave").pipe(ef(b.destroyed)).subscribe(function(){b.closingDialog()});(0,W.fromEvent)(a,"mousemove").pipe(ef(b.destroyed)).subscribe(function(){b.activity.next()})})};
g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,W.fromEvent)(a,"keydown").pipe(ef(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 sy(Object.assign({},this.overlayDimensions,{positionStrategy:SQ.prototype.createPositionStrategy.call(this,a),scrollStrategy:pic(this),panelClass:this.panelClassInternal}))};mR.\u0275fac=function(a){return new (a||mR)(A(Ge),A(Cy),A(Ad),A(Sf),A(Tg),A(Hx),A(Cx),A(He))};
mR.\u0275dir=Qc({type:mR,selectors:[["","xapInlineDialog",""]],hostAttrs:[1,"xap-inline-dialog"],inputs:{dialog:[0,"xapInlineDialog","dialog"],disabled:[0,"xapInlineDialogDisabled","disabled"],hoverDelayMs:"hoverDelayMs"},exportAs:["xapInlineDialog"],features:[nf]});[].concat(r([mR,TQ,VQ,UQ]),[RQ]);var nR=function(){};nR.\u0275fac=function(a){return new (a||nR)};nR.\u0275mod=Nc({type:nR});nR.\u0275inj=wc({imports:[Bx,uw,Fy,Zx]});var oR=function(){};oR.\u0275fac=function(a){return new (a||oR)};oR.\u0275mod=Nc({type:oR});oR.\u0275inj=wc({imports:[SH,fR,gR,aN,kR,iR,lR,JD,dx,nR,MQ]});var pR=function(){};pR.\u0275fac=function(a){return new (a||pR)};pR.\u0275mod=Nc({type:pR});pR.\u0275inj=wc({imports:[SH,eN]});var qR=function(){};qR.\u0275fac=function(a){return new (a||qR)};qR.\u0275mod=Nc({type:qR});qR.\u0275inj=wc({imports:[Bx,Gy,Gy]});var rR=function(){};rR.\u0275fac=function(a){return new (a||rR)};rR.\u0275mod=Nc({type:rR});rR.\u0275inj=wc({imports:[pR,SH,oR,$C,IC,qR,aD]});var sR=function(a){this.executor=a};sR.\u0275fac=function(a){return new (a||sR)(p(QD))};sR.\u0275prov=vc({token:sR,factory:sR.\u0275fac,providedIn:"root"});var tR=function(a,b){Y.call(this);this.dialogRef=a;this.tosApi=b;this.ackChecked=!1};X(tR,Y);tR.\u0275dir=Y.\u0275dir;tR.prototype.accept=function(){var a=this;this.tosApi.executor.post({url:"action/terms_ack",body:null,responseConstructor:null}).pipe(ef(this.destroyed$)).subscribe(function(){a.dialogRef.close()})};tR.\u0275fac=function(a){return new (a||tR)(A(BA),A(sR))};
tR.\u0275cmp=Lc({type:tR,selectors:[["b-terms-of-service-dialog"]],features:[nf],decls:16,vars:2,consts:[["mat-dialog-title",""],[1,"b-tos-content"],["gmat-checkbox","",3,"ngModel","ngModelChange"],["href","https://www.google.com/policies/terms/","target","_blank"],["href","/terms","target","_blank"],["mat-flat-button","",1,"gmat-button",3,"disabled","click"]],template:function(a,b){a&1&&(E(0,"h1",0),R(1,"Google IssueTracker Terms of Service"),G(),E(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),M("ngModelChange",function(c){return b.ackChecked=c}),G(),E(5,"span"),R(6," I acknowledge and agree to the "),E(7,"a",3),R(8,"Google Terms of Service"),G(),R(9," and the "),E(10,"a",4),R(11,"Google IssueTracker Conduct Policy"),G(),R(12,". "),G()()(),E(13,"mat-dialog-actions")(14,"button",5),M("click",function(){return b.accept()}),R(15," OK "),G()());a&2&&(y(4),D("ngModel",b.ackChecked),y(10),D("disabled",!b.ackChecked))},dependencies:[Hw,Ow,nA,WE,GA,HA,IA],styles:[".b-tos-content[_ngcontent-%COMP%]{padding-top:1em}.b-tos-content[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]{padding-right:8px}"]});var uR=function(a,b){Y.call(this);this.activeSession=a;this.matDialogService=b};X(uR,Y);uR.\u0275dir=Y.\u0275dir;uR.prototype.ngOnInit=function(){this.activeSession.getMustAcknowledgeTerms()&&this.matDialogService.open(tR,{width:"400px",disableClose:!0}).afterClosed().pipe(ef(this.destroyed$))};uR.\u0275fac=function(a){return new (a||uR)(A(nt),A(EA))};uR.\u0275cmp=Lc({type:uR,selectors:[["b-terms-of-service"]],features:[nf],decls:0,vars:0,template:function(){},encapsulation:2});var vR=function(){};vR.\u0275fac=function(a){return new (a||vR)};vR.\u0275mod=Nc({type:vR});vR.\u0275inj=wc({imports:[dx,SH,$C,kN,JA]});var wR=function(){};wR.\u0275fac=function(a){return new (a||wR)};wR.\u0275mod=Nc({type:wR});wR.\u0275inj=wc({imports:[SH,vR]});var Dic={QA:124156,NIGHTLY:190923,PROD:190923};new Promise(function(){});var xR=function(a,b,c,d,e,f){Y.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(k){h.components.removeAll();d.invalidate(k)}));this.componentGetter=c.adapt(function(k){var q=wa(k);Eaa(q);return h.componentApi.query({id:q}).then(function(t){var w={};t=l(t);for(var z=t.next();!z.done;z=
t.next())(z=z.value)&&(w[z.componentId]=z);return k.map(function(F){return w[F]||null})})})};X(xR,Y);xR.\u0275dir=Y.\u0275dir;g=xR.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 Eic(this,a,this.componentApi.query(c))};
var Eic=function(a,b,c){if(b.match(/^\s*android\s*$/i)){var d=Dic[a.activeSession.getEnvironmentType()];if(d)return lp({publicComponent:a.get(d),rest:c}).then(function(e){var f=[e.publicComponent];e=l(e.rest);for(var h=e.next();!h.done;h=e.next())h=h.value,h.componentId!==d&&f.push(h);return f})}return c};
xR.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=l(f);for(var k=f.next();!k.done;k=f.next())(k=k.value)&&(h[k.componentId]=k);return h});c=l(c);for(var d=c.next(),e={};!d.done;e={id$jscomp$326:void 0},d=c.next())e.id$jscomp$326=d.value,this.components.put(String(e.id$jscomp$326),a.then(function(f){return function(h){return h[f.id$jscomp$326]?h[f.id$jscomp$326]:
Promise.reject({data:{message:"Could not load details for component "+f.id$jscomp$326}})}}(e)))}};xR.\u0275fac=function(a){return new (a||xR)(p(jI),p(nH),p(uH),p(oH),p(RH),p(nt))};xR.\u0275prov=vc({token:xR,factory:xR.\u0275fac,providedIn:"root"});var Fic=oh({opacity:"0"}),Gic=Ce(function(a){return a}),Hic=(0,W.pipe)(Te(),Gic,Ye()),Iic=new Xc("xap-bubble UX style"),yR=function(a){var b=this;this.activity=new W.Subject;this.openedSubject=new W.BehaviorSubject(!1);this.destroy=new W.ReplaySubject;this.overlayPositions=[];this.overlayPanelClass="";this.hoverDelayMs=50;this.beforeShow=this.beforeOpened=new zv;this.onOpened=new zv;this.bubbleStyle=a||"xap-bubble-md1";this.opened=this.openedSubject.pipe(Pja(function(){return b.activity.pipe(Re(b.hoverDelayMs))}));
a=ef(this.destroy);this.opened.pipe(Hic,a).subscribe(this.onOpened);this.openedSubject.pipe(Gic,Hka(function(){return b.opened.pipe(Ce(function(c){return!c}))}),a).subscribe(function(){b.beforeOpened.emit()})};yR.prototype.ngOnDestroy=function(){this.destroy.next();this.destroy.complete()};yR.prototype.toggle=function(a){this.openedSubject.next(a);this.activity.next()};yR.\u0275fac=function(a){return new (a||yR)(A(Iic,8))};
yR.\u0275cmp=Lc({type:yR,selectors:[["xap-bubble"]],inputs:{panelTemplate:"panelTemplate",overlayPositions:"overlayPositions",overlayPanelClass:"overlayPanelClass",hoverDelayMs:"hoverDelayMs"},outputs:{beforeOpened:"beforeOpened",beforeShow:"beforeShow",onOpened:"opened"},ngContentSelectors:["*"],decls:5,vars:7,consts:[["cdkOverlayOrigin","",1,"xap-bubble-trigger",3,"ngClass","mouseenter","mouseleave","mousemove"],["trigger","cdkOverlayOrigin"],["cdkConnectedOverlay","","cdkConnectedOverlayPush",
"true",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],[1,"xap-bubble-panel",3,"ngClass","mouseenter","mouseleave","mousemove"],[4,"ngTemplateOutlet"]],template:function(a,b){a&1&&(Lf(),E(0,"span",0,1),M("mouseenter",function(){return b.toggle(!0)})("mouseleave",function(){return b.toggle(!1)})("mousemove",function(){b.activity.next()}),Mf(2),G(),C(3,fMa,2,3,"ng-template",2),T(4,"async"));if(a&2){var c=Q(1);D("ngClass",b.bubbleStyle);
y(3);D("cdkConnectedOverlayPanelClass",b.overlayPanelClass)("cdkConnectedOverlayPositions",b.overlayPositions)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",V(4,5,b.opened))}},dependencies:[gw,lw,Ey,Dy,mw],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:[mh("fade",[rh(":enter",[Fic,nh("225ms")]),rh(":leave",[nh("195ms",Fic)])])]}});var zR=function(a,b){this.activeSession=a;this.documentationLinks=b;this.labelOnlyMode=this.compactMode=!1;this.chipText=this.bubbleText=this.chipClass=""};
zR.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=""}};zR.\u0275fac=function(a){return new (a||zR)(A(nt),A(jG))};
zR.\u0275cmp=Lc({type:zR,selectors:[["b-component-access-level-indicator"]],inputs:{accessLevel:"accessLevel",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode"},features:[ed],decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["withBubble",""],[1,"chippy","rounded",3,"ngClass"],[3,"panelTemplate"],[1,"chippy","rounded","nowrap",3,"ngClass"],["popup",""],[1,"bubble"],["target","_blank",3,"href"]],template:function(a,b){a&1&&C(0,jMa,4,2,"ng-container",0);if(a&2){if(a=b.accessLevel)a=b.activeSession.isInternalSession()?
"EXTERNAL_PARTNER"===b.accessLevel||"EXTERNAL_PUBLIC"===b.accessLevel:rE(b.activeSession)?"EXTERNAL_PUBLIC"===b.accessLevel:!1;D("ngIf",a)}},dependencies:[gw,dw,yR],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 Jic=tt(["https://www.gstatic.com/buganizer/gfx/","/",""]),AR=tt(["https://www.gstatic.com/buganizer/img/v2/",""]),Kic=lh(Jic,"2023-11-13-ed4232c6","all-icons.svg"),Lic=lh(AR,"empty_blocker_light.png"),Mic=lh(AR,"empty_blocker_dark.png"),Nic=lh(AR,"empty_child_light.png"),Oic=lh(AR,"empty_child_dark.png"),Pic=lh(AR,"robot_sleeping.png"),Qic=lh(AR,"tea_light.png"),Ric=lh(AR,"tea_dark.png"),Sic=lh(AR,"space_empty_state.png"),Tic=lh(AR,"eg_work_area.png");var BR=function(){this.ICON_URL=Kic;this.LOGO_LIGHT="https://www.gstatic.com/buganizer/img/v3/logo_light.svg";this.EMPTY_BLOCKER_LIGHT=Lic;this.EMPTY_BLOCKER_DARK=Mic;this.EMPTY_CHILD_LIGHT=Nic;this.EMPTY_CHILD_DARK=Oic;this.ROBOT_SLEEPING=Pic;this.TEA_LIGHT=Qic;this.TEA_DARK=Ric;this.SPACE_EMPTY_STATE=Sic;this.WORK_AREA_EXAMPLE_ILLUSTRATION=Tic};BR.\u0275fac=function(a){return new (a||BR)};BR.\u0275prov=vc({token:BR,factory:BR.\u0275fac,providedIn:"root"});var CR=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=""};
CR.prototype.ngOnChanges=function(a){if(a.tracker||a.isGlobalBuganizer){this.redirectUrl=JM(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}};CR.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:""};CR.\u0275fac=function(a){return new (a||CR)(A(nt),A(jG),A(IM),A(BR))};
CR.\u0275cmp=Lc({type:CR,selectors:[["b-tracker-chip"]],inputs:{tracker:"tracker",compactMode:"compactMode",showHovercard:"showHovercard",isGlobalBuganizer:"isGlobalBuganizer"},features:[ed],decls:1,vars:1,consts:[[4,"ngIf"],[1,"chippy","rounded",3,"onedevHovercardTrigger","onedevHovercardActive"],["alt","",1,"logo","light-only",3,"src"],["alt","",1,"logo","dark-only",3,"src"],[1,"name"],["card","onedevHovercard"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],[1,"flex-kids-y",
"padded-s-top","actions"],["mat-button","","target","_blank",1,"gmat-button","primary",3,"href"],["mat-button","","class","gmat-button primary","target","_blank",3,"href",4,"ngIf"]],template:function(a,b){a&1&&C(0,mMa,17,12,"ng-container",0);a&2&&D("ngIf",b.tracker||b.isGlobalBuganizer)},dependencies:[dw,LF,QF,oA],styles:[".dark-mode   [_nghost-%COMP%]    , .light-mode   [_nghost-%COMP%]    , :root   [_nghost-%COMP%]    {--tracker-chip-bg:#d5e2fa}.dark-mode   [_nghost-%COMP%]    {--tracker-chip-bg:#283143}.chippy[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast);margin-right:8px;background:var(--tracker-chip-bg);display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;padding-right:10px;vertical-align:middle;border:0;box-shadow:none}.chippy[_ngcontent-%COMP%]:focus{outline:1px solid var(--primary)}.chippy.xs[_ngcontent-%COMP%]{margin-right:4px}.chippy.xs[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:14px;height:14px}.logo[_ngcontent-%COMP%]{margin-right:4px;width:16px;height:16px}.onedev-hovercard-body[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.onedev-hovercard-body[_ngcontent-%COMP%]   .hovertext[_ngcontent-%COMP%]{margin-bottom:1em}.onedev-hovercard-body[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start}.onedev-hovercard-body[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{height:24px;line-height:24px;margin-left:-8px}"],
changeDetection:0});var DR=function(a,b){var c=this;this.currentTracker=a;this.trackerFridge=b;this.compactMode=!1;this.showHovercard=!0;this.trackerId$=new W.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(ve(function(d){return xn(d)?(0,W.of)(void 0):c.trackerFridge.watch(d).pipe(Pe(function(){return(0,W.of)(void 0)}))}));this.isCurrentTracker$=(0,W.combineLatest)([this.currentTracker.trackerId$,this.trackerId$]).pipe(B(function(d){var e=l(d);d=e.next().value;e=e.next().value;return xn(d)?xn(e):d===e}))};
DR.prototype.ngOnChanges=function(a){a.trackerId&&this.trackerId$.next(this.trackerId||"")};Vg.Object.defineProperties(DR.prototype,{isGlobalBuganizer:{configurable:!0,enumerable:!0,get:function(){return xn(this.trackerId)}}});DR.\u0275fac=function(a){return new (a||DR)(A(IM),A(ZJ))};
DR.\u0275cmp=Lc({type:DR,selectors:[["b-tracker-chip-smart"]],inputs:{trackerId:"trackerId",compactMode:"compactMode",showHovercard:"showHovercard"},features:[ed],decls:2,vars:3,consts:[[3,"tracker","compactMode","showHovercard","isGlobalBuganizer",4,"ngIf"],[3,"tracker","compactMode","showHovercard","isGlobalBuganizer"]],template:function(a,b){a&1&&(C(0,nMa,2,6,"b-tracker-chip",0),T(1,"async"));a&2&&D("ngIf",!1===V(1,1,b.isCurrentTracker$))},dependencies:[dw,CR,mw],encapsulation:2,changeDetection:0});var ER=function(){this.showFolderSpecialIcon=!1;this.mode="default";this.query="";this.selectComponentId=new zv;this.expandComponent=new zv;this.goBack=new zv};ER.prototype.ngOnInit=function(){};ER.prototype.expand=function(a,b){b.preventDefault();b.stopPropagation();this.expandComponent.emit(a)};ER.prototype.back=function(a){a.preventDefault();a.stopPropagation();this.goBack.emit()};ER.\u0275fac=function(a){return new (a||ER)};
ER.\u0275cmp=Lc({type:ER,selectors:[["component-row"]],inputs:{showFolderSpecialIcon:"showFolderSpecialIcon",componentOption:"componentOption",mode:"mode",query:"query"},outputs:{selectComponentId:"selectComponentId",expandComponent:"expandComponent",goBack:"goBack"},decls:13,vars:10,consts:[[1,"container"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"content"],[1,"margin-s-right"],[4,"ngIf","ngIfElse"],["leafOnly",""],["class","archived-indicator",4,"ngIf"],[3,"accessLevel","labelOnlyMode"],
[3,"trackerId","showHovercard"],["svgIcon","history"],["mat-icon-button","","aria-label","Return to search results","matTooltip","Return to search results",3,"mousedown"],["svgIcon","back"],["mat-icon-button","",1,"expand-button",3,"matTooltip","mousedown"],[3,"svgIcon"],[4,"ngFor","ngForOf"],["noAccessComponent",""],[4,"ngIf"],[1,"subtle-link",3,"innerHtml","mousedown"],[1,"subtle-link",3,"mousedown"],[1,"archived-indicator"]],template:function(a,b){a&1&&(E(0,"div",0),K(1,1),C(2,oMa,2,0,"ng-container",
2)(3,pMa,3,0,"ng-container",2)(4,qMa,3,3,"ng-container",3),L(),E(5,"div",4)(6,"span",5),C(7,vMa,2,1,"ng-container",6)(8,xMa,1,1,"ng-template",null,7,jg)(10,yMa,2,0,"span",8),G(),I(11,"b-component-access-level-indicator",9)(12,"b-tracker-chip-smart",10),G()());if(a&2){var c=Q(9);y();D("ngSwitch",b.mode);y();D("ngSwitchCase","recent");y();D("ngSwitchCase","tree");y(4);D("ngIf","leaf"!==b.mode)("ngIfElse",c);y(3);D("ngIf",b.componentOption.archived);y();D("accessLevel",null==b.componentOption.accessLimit?
null:b.componentOption.accessLimit.accessLevel)("labelOnlyMode",!0);y();D("trackerId",b.componentOption.trackerId)("showHovercard",!1)}},dependencies:[hw,dw,iw,jw,kw,hB,nA,PC,DR,zR,NK,SK],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 FR=function(a,b,c,d,e,f,h){var k=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 W.BehaviorSubject("");this.debouncedSearchQuery$=this.searchQuery$.pipe(Re(250));this.state$=new W.BehaviorSubject("default");this.listUpdated$=new W.Subject;this.componentsLoading=this.teamsLoading=!1;this.teamScope$=new W.BehaviorSubject(void 0);this.componentOptions=[];this.childTeamsMap=
new Map;this.componentCountMap=new Map;this.recentComponents=[];this.myTeams$=new W.BehaviorSubject([]);this.showAllTeams$=new W.BehaviorSubject(!1);this.showAllTeamsDistinct$=this.showAllTeams$.pipe(Te());this.teamOptions$=new W.BehaviorSubject([]);this.filteredTeamOptions$=(0,W.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(B(function(q){q=l(q);var t=q.next().value;return q.next().value?t:t.slice(0,5)}));this.hasHiddenTeams$=(0,W.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(B(function(q){var t=
l(q);q=t.next().value;t=t.next().value;return 5<q.length&&!t}));this.newChildTeams$=new W.BehaviorSubject([]);this.teamsDisplayed$=(0,W.merge)(this.myTeams$,this.teamOptions$,this.newChildTeams$,this.teamScope$.pipe(B(function(q){return q?[q]:[]}))).pipe(B(function(q){return q.map(function(t){return t.id})}));this.unseenTeamChildTeamsMap$=this.teamsDisplayed$.pipe(B(function(q){return q.filter(function(t){return!k.childTeamsMap.has(t)})}),Ce(function(q){return 0<q.length}),df(function(q){return k.teamsService.getChildTeams(q)}),
B(CMa));this.unseenTeamComponentCountMap$=this.teamsDisplayed$.pipe(B(function(q){return q.filter(function(t){return!k.componentCountMap.has(t)})}),Ce(function(q){return 0<q.length}),df(function(q){return H7b(k.teamsService,q)}));this.componentIdSelected$=new W.ReplaySubject(1);this.lastProcessedIndex=-1;this.requestIndex=0};
FR.prototype.init=function(a){var b=this;a=void 0===a?!1:a;Uic(this);(0,W.combineLatest)([this.debouncedSearchQuery$.pipe(bf(a?1:0)),this.state$]).pipe(ef(this.destroyed$)).subscribe(function(c){var d=l(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()&&Vic(b,c),Wic(b,c)):b.state$.next("default"):"team_scope"===d?b.teamScope$.value&&(b.teamOptions$.next([]),
Wic(b,"teamid:"+b.teamScope$.value.id+" "+c)):"component_scope"===d&&b.componentScope&&Xic(b,b.componentScope.id)});this.debouncedSearchQuery$.pipe(gf(this.state$),ef(this.destroyed$)).subscribe(function(c){c=l(c);var d=c.next().value;"component_scope"===c.next().value&&b.state$.next(d?"global":"default")});this.unseenTeamChildTeamsMap$.pipe(ef(this.destroyed$)).subscribe(function(c){c=l(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b.childTeamsMap.set(d,
e)}});this.unseenTeamComponentCountMap$.pipe(ef(this.destroyed$)).subscribe(function(c){c=l(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b.componentCountMap.set(d,e)}})};FR.prototype.getTrackerId=function(){return this.currentTracker.getTrackerId()};FR.prototype.includeTeamData=function(){return this.config.includeTeamData&&!this.currentTracker.inTracker};
var Uic=function(a){a.componentsLoading=!0;a.userApi.getRecentComponents().then(function(b){b=b.filter(function(c){return a.filterTrackerComponents(c)});b=Yic(a,b);a.recentComponents=b;a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1});a.includeTeamData()&&(a.teamsLoading=!0,SJ(a.teamsService,"").pipe(ef(a.destroyed$)).subscribe(function(b){a.myTeams$.next(b.map(zMa));a.listUpdated$.next();a.teamsLoading=!1},function(){a.teamsLoading=!1}))};
FR.prototype.filterTrackerComponents=function(a){return!this.currentTracker.inTracker||a.trackerId===this.getTrackerId()};FR.prototype.selectOption=function(a){"component"===a.type?PNa(this,a.id):"team"===a.type?WMa(this,a):console.warn("invalid option selected")};
var PNa=function(a,b){var c=Zic(a);kp(a.analytics,Sp.COMPONENT_PICKER,"autocomplete-select",c);a.componentIdSelected$.next(b);a.state$.next("global")},Zic=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""};
FR.prototype.expandComponent=function(a){this.componentScope=a;this.state$.next("component_scope")};
var CNa=function(a,b){a.componentActions.get(b).then(function(c){var d=Is(a.currentTracker,c.componentPathInfo);a.componentScope=BMa(c,d);a.state$.next("component_scope")})},BNa=function(a){a.componentScope=void 0;a.searchQuery$.value?a.state$.next("global"):a.state$.next("default")},WMa=function(a,b){a.teamScope$.next(Object.assign({},b,{expanded:!1}));a.state$.next("team_scope");a.searchQuery$.next("");b.pathNames||pp(a,b.id)},pp=function(a,b){a.teamsLoading=!0;SJ(a.teamsService,b).pipe(ef(a.destroyed$)).subscribe(function(c){c=
c.map(zMa);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})},$ic=function(a){if(a.teamScope$.value&&a.teamScope$.value.pathIds&&!(2>a.teamScope$.value.pathIds.length)){var b=a.teamScope$.value.pathIds;pp(a,b[b.length-2])}};FR.prototype.getChildTeams=function(a){var b;return null!=(b=this.childTeamsMap.get(a))?b:[]};
FR.prototype.hasNoComponent=function(a){return this.componentCountMap.has(a)?0===this.componentCountMap.get(a):!1};
var rNa=function(a,b){b.expanded=!1;a.listUpdated$.next()},sNa=function(a,b){b.expanded=!0;a.listUpdated$.next();a.newChildTeams$.next(a.getChildTeams(b.id))},vNa=function(a){a.teamScope$.next(void 0);a.searchQuery$.next("");a.state$.next("default")},Vic=function(a,b){1<b.length&&(a.teamsLoading=!0,SJ(a.teamsService,b).pipe(ef(a.destroyed$)).subscribe(function(c){a.teamOptions$.next(c.map(zMa));a.teamsLoading=!1;a.listUpdated$.next()},function(){a.teamsLoading=!1}))},Wic=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=Yic(a,d));a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1})}},Xic=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=Yic(a,d),a.listUpdated$.next())}).finally(function(){a.componentsLoading=!1})},Yic=
function(a,b){return b.map(function(c){var d=Is(a.currentTracker,c.componentPathInfo);return BMa(c,d)})};var ajc=0,GR=function(a,b){this.changeDetectorRef=a;this.elementRef=b;this.active=!1;this.id="b-component-picker-option-"+ajc;ajc+=1};GR.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};GR.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};GR.\u0275fac=function(a){return new (a||GR)(A(Uu),A(Ad))};
GR.\u0275dir=Qc({type:GR,selectors:[["","listOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Hf("id",b.id),yf("active",b.active))},inputs:{data:"data",listOrder:"listOrder"}});var HR=function(){this.query="";this.hasNoComponent=this.compact=this.allowSegmentSelection=!1;this.selectTeamId=new zv};HR.prototype.getLogoUrl=function(){return"https://moma-teams-photos.corp.google.com/logo/"+this.teamOption.id};HR.prototype.ngOnInit=function(){};HR.\u0275fac=function(a){return new (a||HR)};
HR.\u0275cmp=Lc({type:HR,selectors:[["team-row"]],inputs:{teamOption:"teamOption",query:"query",allowSegmentSelection:"allowSegmentSelection",compact:"compact",hasNoComponent:"hasNoComponent"},outputs:{selectTeamId:"selectTeamId"},decls:5,vars:7,consts:[[1,"container"],["alt","Team logo",4,"ngIf"],[1,"content"],["class","name-row",4,"ngIf"],["class","path",4,"ngIf"],["alt","Team logo"],[1,"name-row"],[1,"team-name",3,"innerHtml"],["class","no-component-label",4,"ngIf"],[1,"no-component-label"],[1,
"path"],[4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["lastSeg",""],["plainText",""],[1,"subtle-link",3,"mousedown"],["normal",""],[1,"team-name"]],template:function(a,b){a&1&&(E(0,"div",0),C(1,DMa,1,1,"img",1),E(2,"div",2),C(3,FMa,4,5,"div",3)(4,NMa,2,1,"div",4),G()());a&2&&(yf("no-component",b.hasNoComponent)("compact",b.compact),y(),D("ngIf",!b.compact),y(2),D("ngIf",!b.compact),y(),D("ngIf",b.teamOption.pathNames&&b.teamOption.pathNames.length))},dependencies:[hw,dw,NK],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 bjc=new Xc("GMAT_PROGRESS_BAR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var cjc=new Xc("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");new Xc("mat-progress-bar-location",{providedIn:"root",factory:OMa});
var IR=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 zv;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=IR.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};
Vg.Object.defineProperties(IR.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()}}});IR.\u0275fac=function(a){return new (a||IR)(A(Ad),A(Ge),A(Uu),A(Su,8),A(cjc,8))};
IR.\u0275cmp=Lc({type:IR,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&&(pf("aria-valuenow",b._isIndeterminate()?null:b.value)("mode",b.mode),zf("mat-"+b.color),yf("_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",qg],bufferValue:[2,"bufferValue","bufferValue",qg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[of,dg],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&&(E(0,"div",0),I(1,"div",1)(2,"div",2),G(),E(3,"div",3),I(4,"span",4),G(),E(5,"div",5),I(6,"span",4),G());a&2&&(y(),xf("flex-basis",b._getBufferBarFlexBasis()),y(2),xf("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:left;--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%}[dir=rtl] .mat-mdc-progress-bar{text-align:right}.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 JR=function(){};JR.\u0275fac=function(a){return new (a||JR)};JR.\u0275mod=Nc({type:JR});JR.\u0275inj=wc({imports:[Gy]});var KR=function(a,b){var c=this;this.options=a;this.progressbar=b;this.destroyed=new W.Subject;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-bar-accessible-label");OKa(b._elementRef.nativeElement).pipe(ef(this.destroyed)).subscribe(function(d){c.writeLabelSpan(d[0],d[1])})};KR.prototype.ngOnInit=function(){this.initializeLabelSpan()};
KR.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};KR.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())};
KR.prototype.writeLabelSpan=function(a,b){a="indeterminate"===b?a:a+" "+Ohc.format(Number(b)/100);this.labelElement.textContent=a};KR.\u0275fac=function(a){return new (a||KR)(A(bjc),A(IR,10))};KR.\u0275dir=Qc({type:KR,selectors:[["mat-progress-bar"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(pf("tabindex",null),yf("gmat-mdc-progress-bar",!b.options.disableGmatStyle))}});var djc=["container"],ejc=["inputBox"],fjc=["dropdownTemplate"],gjc=["dropdown"],aNa=function(a){return{mode:"recent",$implicit:a}},fNa=function(a){return[a]},eNa=function(a,b){return{team:a,level:0,order:b}},lNa=function(a){return{mode:"default",$implicit:a}},oNa=function(a){return[0,a]},wNa=function(){return[0]},zNa=function(a,b){return{mode:"default",$implicit:a,teamScope:b}},FNa=function(a){return{mode:"leaf",$implicit:a}},KNa=function(a,b,c){return{team:a,level:b,order:c}},hjc=[{originX:"start",
originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],LR=function(a,b,c,d,e,f,h,k,q,t,w){Y.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=k;this.activeSession=q;this.currentTracker=t;this.cdr=w;this.placeholder="";this.isRequired=!1;this.ariaLabel="";this.checkAdminAccess=!1;this.accessCheckComplete=new zv;this.shouldFocus=!1;this.touched=
new zv;this.selectedComponentChange=new zv;this.dropdownClosed=new zv;this.checkingAccess=this.hasAccess=!1;this.isExternal=this.activeSession.isExternalSession();this.searchState=new FR(this.userApi,this.componentActions,this.teamsService,this.analytics,this.destroyed$,{includeTeamData:!this.isExternal},this.currentTracker);this.componentLoading=this.isDropdownOpen=!1};X(LR,Y);LR.\u0275dir=Y.\u0275dir;
LR.prototype.ngOnInit=function(){var a=this;this.searchState.init(!!this.selectedComponent);this.searchState.componentIdSelected$.pipe(ef(this.destroyed$)).subscribe(function(b){a.componentLoading=!0;a.componentActions.get(b).then(function(c){a.selectedComponent=c;ijc(a);a.componentLoading=!1;a.close(!0);a.selectedComponentChange.emit(c)})},function(){a.componentLoading=!1});(0,W.merge)(this.searchState.debouncedSearchQuery$,this.searchState.state$).pipe(ef(this.destroyed$)).subscribe(function(){a.clearActiveItem()})};
LR.prototype.isLoading=function(){return this.componentLoading||this.searchState.componentsLoading||this.searchState.teamsLoading};
var ijc=function(a){if(a.selectedComponent){var b=Is(a.currentTracker,a.selectedComponent.componentPathInfo);b=BMa(a.selectedComponent,b);a.searchState.searchQuery$.next(b.componentPath.length?b.componentPath[b.componentPath.length-1].pathText:"")}else a.searchState.searchQuery$.next("")},jjc=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=LR.prototype;g.ngOnChanges=function(a){a.selectedComponent&&(ijc(this),this.checkAdminAccess&&this.selectedComponent&&kjc(this,this.selectedComponent))};g.ngOnDestroy=function(){this.close();Y.prototype.ngOnDestroy.call(this)};
g.ngAfterViewInit=function(){var a=this;this.keyManager=Kx(Lx(new Qx(this.listOptions)));this.searchState.listUpdated$.pipe(ef(this.destroyed$)).subscribe(function(){a.cdr.markForCheck()});this.listOptions.changes.pipe(ef(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(ZNa);b=[].concat(r(c),r(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&&vNa(this.searchState),this.isDropdownOpen=!1,this.dropdownOverlayRef.dispose(),this.dropdownOverlayRef=void 0,this.clearActiveItem(),this.dropdownClosed.emit(),kp(this.analytics,Sp.COMPONENT_PICKER,"close",a?"with-selection":"without-selection"))};
g.clearQuery=function(){this.searchState.searchQuery$.next("");this.isDropdownOpen||this.inputBox.nativeElement.focus()};var ljc=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};
LR.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),jjc(this)):(this.open(),setTimeout(function(){var d;null==(d=b.keyManager)||lSb(d);jjc(b)}));break;case "ArrowDown":this.isDropdownOpen?(this.keyManager.onKeydown(a),jjc(this)):(this.open(),setTimeout(function(){var d;null!=(d=b.keyManager)&&d._setActiveItemByIndex(0,1);jjc(b)}));break;case "Enter":this.keyManager.activeItem&&
(this.searchState.teamScope$.value===this.keyManager.activeItem.data?vNa(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(),sNa(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?rNa(this.searchState,this.keyManager.activeItem.data):$ic(this.searchState));"component_scope"===this.searchState.state$.value&&(a.preventDefault(),BNa(this.searchState));break;case "Backspace":case "Delete":this.keyManager.activeItem&&this.searchState.teamScope$.value===this.keyManager.activeItem.data&&(vNa(this.searchState),a.preventDefault());break;default:this.touched.emit(),
this.isDropdownOpen||this.open()}};var op=function(a){a.preventDefault();a.stopPropagation()},kjc=function(a,b){a.checkingAccess=!0;a.hasAccess=!1;zH(a.userAccess,"admin","components/"+b.componentId).then(function(c){a.checkingAccess=!1;a.accessCheckComplete.emit(c);a.hasAccess=c})};g=LR.prototype;
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;return this.overlay.create(new sy({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 Ux(this.dropdownTemplateRef,this.viewContainerRef),b;null==(b=this.dropdownOverlayRef)||b.attach(a);var c;null==(c=this.dropdownOverlayRef)||c.updatePosition()};
g.getPositionStrategy=function(){return vy(CSb(xy(By(this.overlay.position(),this.container),!1),!1),hjc)};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))};Vg.Object.defineProperties(LR.prototype,{includeArchived:{configurable:!0,enumerable:!0,set:function(a){this.searchState.includeArchived=a}}});
LR.\u0275fac=function(a){return new (a||LR)(A(Cy),A(Sf),A(BI),A(xR),A(QJ),A(xH),A(iI),A(MI),A(nt),A(IM),A(Uu))};
LR.\u0275cmp=Lc({type:LR,selectors:[["b-team-component-picker"]],viewQuery:function(a,b){a&1&&(Uf(djc,7),Uf(ejc,7),Uf(fjc,7),Uf(gjc,5),Uf(GR,5));if(a&2){var c;Yf(c=Zf())&&(b.container=c.first);Yf(c=Zf())&&(b.inputBox=c.first);Yf(c=Zf())&&(b.dropdownTemplateRef=c.first);Yf(c=Zf())&&(b.dropdown=c.first);Yf(c=Zf())&&(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:[nf,ed],decls:13,vars:10,consts:[[1,"container","pseudo-input"],["container",""],["type","text","role","combobox","autocomplete","off","spellcheck","false","aria-autocomplete","list",1,"override",3,"ngModel","placeholder","required","ngModelChange","keydown","click","focus","blur"],["inputBox",""],["mat-icon-button",
"","tabindex","-1","matTooltip","Clear component","aria-label","Clear component",3,"mousedown",4,"ngIf"],[4,"ngIf"],["dropdownTemplate",""],["teamTreeItem",""],["componentList",""],["mat-icon-button","","tabindex","-1","matTooltip","Clear component","aria-label","Clear component",3,"mousedown"],["svgIcon","clear"],["class","bv2-picker-checking",4,"ngIf","ngIfElse"],["maybeShowNotAdmin",""],[1,"bv2-picker-checking"],["class","bv2-picker-error",4,"ngIf"],[1,"bv2-picker-error"],["target","_blank",3,
"href"],[1,"dropdown",3,"mousedown"],["dropdown",""],[1,"progress-bar-container"],["mode","indeterminate",4,"ngIf"],[1,"dropdown-content"],[3,"ngSwitch"],[4,"ngSwitchCase"],["mode","indeterminate"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","tree",4,"ngIf"],["role","tree"],[1,"section-header"],[4,"ngFor","ngForOf"],["role","treeitem","listOption","",1,"list-option",3,"data","mousedown"],[3,"teamOption","query","hasNoComponent","selectTeamId"],["tabindex","-1","class","unstyled expand-team-line-button",
3,"mousedown",4,"ngIf"],["tabindex","-1",1,"unstyled","expand-team-line-button",3,"mousedown"],["svgIcon","arrow-down"],["class","team-scope-container",4,"ngIf"],[1,"team-scope-container"],["listOption","",1,"team-scope",3,"data","listOrder"],[3,"teamOption","query","compact","allowSegmentSelection","selectTeamId"],["tabindex","-1","mat-icon-button","","matTooltip","Clear team filter",1,"gmat-button","small","clear-filter",3,"mousedown"],["svgIcon","close"],["class","team-scope-child-teams",4,"ngIf"],
[1,"team-scope-child-teams"],["class","component-scope-container",4,"ngIf"],[1,"component-scope-container"],[1,"title"],["mode","tree",3,"componentOption","goBack","selectComponentId"],["role","treeitem","listOption","",1,"list-option",3,"listOrder","data","mousedown"],[1,"team-row-container"],["class","arrow-button","mat-icon-button","","aria-label","Show child teams",3,"mousedown",4,"ngIf"],["mat-icon-button","","aria-label","Show child teams",1,"arrow-button",3,"mousedown"],["svgIcon","arrow-dropdown"],
["role","listbox",4,"ngIf","ngIfElse"],["emptyList",""],["role","listbox"],["role","option","listOption","","class","list-option",3,"data","mousedown",4,"ngFor","ngForOf"],["role","option","listOption","",1,"list-option",3,"data","mousedown"],[3,"showFolderSpecialIcon","componentOption","query","mode","selectComponentId","expandComponent"],["class","empty-list muted",4,"ngIf"],[1,"empty-list","muted"],[4,"ngSwitchDefault"],["svgIcon","close",1,"icon-xs","valign-middle"],["href","http://go/buganizer:component-mapping#associate",
"target","_blank"],["svgIcon","pop-out",1,"icon-xs"]],template:function(a,b){a&1&&(E(0,"div",0,1)(2,"input",2,3),M("ngModelChange",function(d){return b.searchState.searchQuery$.next(d)})("keydown",function(d){return b.handleKeydown(d)})("click",function(){b.open();return b.touched.emit()})("focus",function(){return b.open()})("blur",function(){return b.close()}),T(4,"async"),G(),C(5,PMa,2,0,"button",4),G(),C(6,TMa,4,2,"div",5)(7,HNa,11,8,"ng-template",null,6,jg)(9,NNa,5,11,"ng-template",null,7,jg)(11,
YNa,3,2,"ng-template",null,8,jg));if(a&2){var c=Q(3);y(2);D("ngModel",V(4,8,b.searchState.searchQuery$))("placeholder",b.placeholder)("required",b.isRequired);pf("aria-label",b.ariaLabel+(b.selectedComponent?" Component selected. Change.":" Choose component"))("aria-expanded",b.isDropdownOpen)("aria-activedescendant",ljc(b));y(3);D("ngIf",c.value);y();D("ngIf",b.checkAdminAccess)}},dependencies:[hw,dw,lw,iw,jw,kw,hB,Dg,Hw,$w,Ow,nA,zP,PC,KR,IR,HR,ER,GR,mw],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 MR=function(a){Y.call(this);this.dialogRef=a};X(MR,Y);MR.\u0275dir=Y.\u0275dir;MR.prototype.onSave=function(){this.dialogRef.close(this.selectedId)};MR.prototype.onCancel=function(){this.dialogRef.close()};MR.prototype.onSelect=function(a){this.selectedId=null==a?void 0:a.componentId};MR.\u0275fac=function(a){return new (a||MR)(A(BA))};
MR.\u0275cmp=Lc({type:MR,selectors:[["component_picker_dialog"]],features:[nf],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,"disabled","click"]],template:function(a,b){a&1&&(E(0,"header",0),R(1," Choose a Component\n"),G(),E(2,"div",1)(3,"b-team-component-picker",2),M("selectedComponentChange",
function(c){return b.onSelect(c)}),G()(),E(4,"div",3)(5,"button",4),M("click",function(){return b.onCancel()}),R(6," Cancel "),G(),E(7,"button",5),M("click",function(){return b.onSave()}),R(8," Save "),G()());a&2&&(y(7),D("disabled",null==b.selectedId))},dependencies:[nA,GA,HA,IA,LR],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 RR=function(a){this.dialog=a};RR.prototype.open=function(a){var b=this,c={panelClass:"no-jitter"};return new Promise(function(d){b.dialog.open(MR,c).afterClosed().subscribe(function(e){null==a||a(e);d(e)})})};RR.\u0275fac=function(a){return new (a||RR)(p(EA))};RR.\u0275prov=vc({token:RR,factory:RR.\u0275fac,providedIn:"root"});var mjc={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"},SR=function(){};SR.prototype.transform=function(a){return mjc[a]};SR.\u0275fac=function(a){return new (a||SR)};SR.\u0275pipe=Rc({name:"toCustomFieldTypeDisplayValue",type:SR,pure:!0});var TR=function(){};TR.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+"@"};TR.\u0275fac=function(a){return new (a||TR)};TR.\u0275pipe=Rc({name:"shortenEmail",type:TR,pure:!0});var UR=function(){};UR.\u0275fac=function(a){return new (a||UR)};UR.\u0275mod=Nc({type:UR});UR.\u0275inj=wc({imports:[SH]});var VR=function(){};VR.\u0275fac=function(a){return new (a||VR)};VR.\u0275mod=Nc({type:VR});VR.\u0275inj=wc({imports:[uw,Fy]});var WR=function(){};WR.\u0275fac=function(a){return new (a||WR)};WR.\u0275mod=Nc({type:WR});WR.\u0275inj=wc({imports:[SH,UR,VR]});var YR=function(){};YR.\u0275fac=function(a){return new (a||YR)};YR.\u0275mod=Nc({type:YR});YR.\u0275inj=wc({imports:[SH,aN,$C]});var ZR=function(){};ZR.\u0275fac=function(a){return new (a||ZR)};ZR.\u0275mod=Nc({type:ZR});ZR.\u0275inj=wc({imports:[JR]});var $R=function(){};$R.\u0275fac=function(a){return new (a||$R)};$R.\u0275mod=Nc({type:$R});$R.\u0275inj=wc({imports:[SH,dx,$C,EP,JD,ZR,JA,Fy,Zx,YR,Bx,WK,WR]});var bOa=0;var njc=Dsa("blinkers-activated"),ojc=Di("blinkers-activated"),pjc=Di("log-xhrs-to-console"),qjc=Dsa("log-xhrs-to-console"),rjc=cOa("debug-dom-mutation","var(--c400)"),sjc=cOa("debug-ng-zone","var(--red-400)"),tjc=cOa("debug-xhr","var(--green-500)",1200),ujc=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;bOa++;var d=156;d+=12*(bOa-1);return function(e,f){f=void 0===f?b:f;var h,k=null!=(h=document.getElementById(a))?h:$Na(a,d);k.style.transition="opacity "+c+"ms";k.style.backgroundColor=
f;k.style.opacity=e?"1":"0"}}("active-user","var(--yellow-500)"),aS=function(a,b){var c=this;this.activityMonitor=a;this.userActivity=b;this.destroyed$=new W.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=!pjc(),qjc(d),d?vjc(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()&&wjc(this)};aS.prototype.ngOnDestroy=function(){xjc(this)};aS.prototype.isEnabled=function(){return ojc()};aS.prototype.enable=function(){this.isEnabled()||(njc(!0),wjc(this))};aS.prototype.disable=function(){njc(!1);xjc(this)};
var wjc=function(a){a.activityMonitor.dom$.pipe(ef(a.destroyed$)).subscribe(function(){return void rjc()});e4b(a.activityMonitor);a.activityMonitor.cdr$.pipe(ef(a.destroyed$)).subscribe(function(){return void sjc()});a.activityMonitor.xhr$.pipe(ef(a.destroyed$)).subscribe(function(){tjc();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(ef(a.destroyed$)).subscribe(function(b){return void ujc(b)});
document.addEventListener("click",a.onAnyClick);pjc()&&vjc(a)},xjc=function(a){a.destroyed$.next();a.activityMonitor.domObserver.disconnect();document.removeEventListener("click",a.onAnyClick)},vjc=function(a){clearInterval(a.loggingInterval);a.loggingInterval=setInterval(a.printXhrLog,1E3)};aS.\u0275fac=function(a){return new (a||aS)(p(CF),p(FF))};aS.\u0275prov=vc({token:aS,factory:aS.\u0275fac,providedIn:"root"});var bS=function(a,b){this.teamDigestFridge=a;this.activeSession=b;this.destroyed$=new W.Subject;this.email=this.activeSession.getUserEmail();this.user=Oi(this.activeSession.getUserEmail());this.isInternal=this.activeSession.isInternalSession();this.teams$=this.teamDigestFridge.watchMany({myTeams:!0}).pipe(B(function(c){return c.results}));this.teams$.pipe(B(function(c){return c.map(function(d){return d.teamId})}));this.allTeamIds$=this.teams$.pipe(B(function(c){return c.flatMap(function(d){return d.pathIds})}),
B(function(c){return[].concat(r(new Set(c))).filter(Bi)}));nm(this.allTeamIds$.pipe(ef(this.destroyed$)),[])};bS.prototype.ngOnDestroy=function(){this.destroyed$.next()};bS.\u0275fac=function(a){return new (a||bS)(p(UJ),p(nt))};bS.\u0275prov=vc({token:bS,factory:bS.\u0275fac,providedIn:"root"});var cS=function(a){this.issueFridge=a;this.candidateIssues$=this.issueFridge.watchMany(lhc);this.suggestions$=this.candidateIssues$.pipe(B(yLa))};cS.\u0275fac=function(a){return new (a||cS)(p(UI))};cS.\u0275prov=vc({token:cS,factory:cS.\u0275fac,providedIn:"root"});var dS=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la,oa,Fa,Ta,Pa,Ya,sb,Na,ja,ya,Ga,gb,Wa,zc){var cb=this;this.activeSession=a;this.appEvents=b;this.ngZone=c;this.window=d;this.buganizerBlinkers=e;this.currentUser=f;this.routeParamsService=h;this.componentPicker=k;this.userPreferencesManager=q;this.parentIssueSuggestions=t;this.formattedCommentsForIssueFridge=w;this.eventsForIssueFridge=z;this.savedSearchFridge=F;this.teamFridge=J;this.issueFetchResponseFridge=H;this.permissionsFridge=O;this.hotlistFridge=
P;this.componentTemplatesFridge=U;this.sloFridge=Z;this.beapFridge=la;this.componentFridge=Fa;this.trackerFridge=Pa;this.issueFridge=Ya;this.teamDigestFridge=sb;this.hotlistAccessPolicyFridge=Na;this.changelistFridge=ja;this.issueRelationshipsFridge=ya;this.recentEventsForIssuesFridge=Ga;this.componentAccessPolicyFridge=gb;this.taskFridge=Wa;this.needsAttentionTaskFridge=zc;this.fridges=[];this.getCurrentIssueId=function(){var pb;return null==(pb=cb.routeParamsService.routeParams$.value)?void 0:pb.issueId};
this.getCurrentIssue=function(){return dOa(cb.issueFridge,cb.getCurrentIssueId())};this.getCurrentIssueEvents=function(){return dOa(cb.eventsForIssueFridge,cb.getCurrentIssueId())};this.fridges=[w,z,F,J,H,O,P,U,Z,la,oa,Fa,Ta,Pa,Ya,sb,Na,ja,ya,Ga,gb,Wa,zc]};
dS.prototype.install=function(){if(this.activeSession.isInternalSession()){var a=this;this.window.bedbug=Object.assign({},this,{ngZone:this.ngZone,appEvents:this.appEvents,requestKeeper:r2b,activeSession:this.activeSession,blinkers:this.buganizerBlinkers.publicApi,toggleDebugLogging:C1b("debug-logging"),toggleLeanFeMigrationDebugLogging:C1b("lean-fe-debug-logging"),toggleOptOutExperiments:C1b("opt-out-experiments"),currentUser:this.currentUser,userPreferencesManager:this.userPreferencesManager,parentIssueSuggestions:this.parentIssueSuggestions,
modals:{componentPicker:this.componentPicker},setFlagOverrideForOneDay:Sta,clearFlagOverride:Tta,clearAllFlagOverrides:Pta,get initialSession(){return Nj()},get initialPrefs(){return Nj().userPreferences},get currentPrefs(){return CE(a.userPreferencesManager)},get currentIssue(){return a.getCurrentIssue()},get currentIssueEvents(){return a.getCurrentIssueEvents()},get flags(){return Object.fromEntries(Nj().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=eOa(b);null!=c&&0!==c.length&&console.log(b.recordType,c)})}})}};dS.\u0275fac=function(a){return new (a||dS)(p(nt),p(RH),p(Ge),p(uE),p(aS),p(bS),p(wK),p(RR),p(BE),p(cS),p(fI),p($H),p(DJ),p(VJ),p(XI),p(xJ),p(CI),p(TH),p(JJ),p(WG),p(ZH),p(oH),p(TG),p(ZJ),p(UI),p(UJ),p(gI),p(dH),p(pJ),p(yJ),p(iH),p(KJ),p(wJ))};dS.\u0275prov=vc({token:dS,factory:dS.\u0275fac,providedIn:"root"});var eS=function(a){var b=this;this.injector=a;this.clientDarkmode$=this.clientDarkmodeSubject=new W.BehaviorSubject(!1);this.localDarkmode=!1;this.clientStreamzService=null;this.loadLocalDarkmode=function(){b.localDarkmode=null!=window.localStorage.getItem("onedev-darkmode");yjc(b,b.localDarkmode);b.clientStreamzService&&rC(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")}};eS.prototype.enableUsageTracking=function(){this.clientStreamzService=this.injector.get(qC)};var yjc=function(a,b){a.clientDarkmodeSubject.next(b);document.body.classList.toggle("dark-mode",b)};eS.\u0275fac=function(a){return new (a||eS)(p(He))};eS.\u0275prov=vc({token:eS,factory:eS.\u0275fac});var zjc=tt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/homepage-feedback-dark-mode.md"]),Ajc=tt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/homepage-feedback.md"]),Bjc=tt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback-dark-mode.md"]),Cjc=tt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback.md"]),fS=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(B(function(e){switch(d.data.type){case "HOMEPAGE":return e?lh(zjc):lh(Ajc);default:return e?lh(Bjc):lh(Cjc)}}))};fS.\u0275fac=function(a){return new (a||fS)(A(BA),A(eS),A(DA))};
fS.\u0275cmp=Lc({type:fS,selectors:[["b-feedback-dialog"]],decls:9,vars:4,consts:[["mat-dialog-content",""],[4,"ngIf"],["diameter","60",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"click"],["frameborder","0","allowtransparency","true",3,"src","load"],["diameter","60"]],template:function(a,b){a&1&&(E(0,"div",0),C(1,fOa,2,3,"ng-container",1),T(2,"async"),C(3,gOa,1,
0,"mat-spinner",2),G(),E(4,"div",3)(5,"button",4),M("click",function(){return b.dialogRef.close(!1)}),R(6," Cancel "),G(),E(7,"button",5),M("click",function(){return b.dialogRef.close(!0)}),R(8," File a new issue "),G()());a&2&&(y(),D("ngIf",V(2,2,b.docUrl$)),y(2),D("ngIf",!b.contentLoaded))},dependencies:[dw,HA,IA,nA,GQ,EQ,mw],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 rp=function(a){this.internalArray_=m(a)};X(rp,n);g=rp.prototype;g.getEnableSsEngine=function(){return Xi(this,2)};g.getEnableAwr=function(){return Xi(this,3)};g.getAlohaAutoGaRollout=function(){return Xi(this,5)};g.getEnableConfigurator=function(){return Xi(this,6)};g.getEnableMweb=function(){return Xi(this,7)};g.getEnableCtlConsentCheckbox=function(){return Xi(this,8)};g.getEnableIframe=function(){return Xi(this,9)};
var xOa=function(){var a=new rp;a=Ik(a,5,!0);a=Ik(a,2,!0);a=Ik(a,4,!1);a=Ik(a,8,!0);return Ik(a,9,!0)};g=rp.prototype;g.getEnableScreenshotNudge=function(){return Xi(this,10)};g.getEnableWebStartupConfigEndpoint=function(){return Xi(this,11)};g.getEnableJunkNudge=function(){return Xi(this,12)};g.getEnableConfiguratorLocale=function(){return Xi(this,13)};g.getEnableTinyNoPointer=function(){return Xi(this,14)};g.getEnableSupportSessionLogging=function(){return Xi(this,15)};
g.getEnableFileUploadForScreenshot=function(){return Xi(this,16)};g.getEnableDirectDeflectionForSingleCategory=function(){return Xi(this,17)};g.getEnableImageSanitization=function(){return Xi(this,18)};g.getEnableAlohaBinarySplit=function(){return Xi(this,19)};g.getEnableDbFeedbackIntents=function(){return Xi(this,20)};g.getEnableMarkMandatoryFieldsWithRequired=function(){return Xi(this,21)};g.getEnableFeedbackCategoryCustomUi=function(){return Xi(this,22)};
g.getEnableRealtimeCtl=function(){return Xi(this,23)};var wOa=function(a){this.internalArray_=m(a)};X(wOa,n);var hOa=[/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 kOa="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 lOa=tt(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),mOa=tt(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);var oOa,qOa;var Djc=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||ca,e=d.document,f=a.nonce||Wra(d);f&&!a.nonce&&(a.nonce=f);if("help"==a.flow){var h=Ho("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var k=JSON.stringify(b);(h=1200>=k.length)&&(a.psdJson=k)}h||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(h=d.GOOGLE_FEEDBACK_START)h.apply(d,
b);else{d=c+"/load.js?";for(var q in a)b=a[q],null==b||za(b)||(d+=encodeURIComponent(q)+"="+encodeURIComponent(b)+"&");a=Qo(e).createElement("SCRIPT");f&&a.setAttribute("nonce",f);Sh(a,kh(d));e.body.appendChild(a)}},Ejc=function(a,b,c,d){var e,f;ke(function(h){e=c||ca;var k="DEV"===a.serverEnvironment,q=c||ca;q=a.nonce||Wra(q);k={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale,
disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,userEmail:void 0,defaultFormInputValues:void 0,defaultFormInputValuesString:void 0,abuseLink:a.abuseLink,additionalDataConsent:a.additionalDataConsent},initializationData:{isLocalServer:k,nonce:q,useNightlyRelease:k,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,
submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(q=new Map(Object.entries(b)),k.extraData.productSpecificData=q);f=k;return me(h,uOa(f,d,e),0)})},Fjc=function(a,b,c){try{if("help"===a.flow){var d=a.helpCenterPath.replace(/^\//,
"");Vra(c||window,dh("https://support.google.com/"+d))}else"submit"===a.flow?Djc(a,b,c):yOa(a.productId,a.feedbackServerUri).then(function(e){e=$i(e,rp,1);var f=!HMb||(null==e?void 0:e.getEnableMweb()),h=!a.tinyNoPointer||(null==e?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&f&&h?Ejc(a,b,c,e):Djc(a,b,c)},function(e){e&&"DuplicateFormError"!==e.name&&Djc(a,b,c)})}catch(e){Ejc(a,b,c,null)}};hMb("userfeedback.api.startFeedback",Fjc);var Gjc={width:"500px",maxHeight:"80vh",autoFocus:!1},gS=function(a,b,c){this.activeSession=a;this.matDialog=b;this.currentTracker=c};gS.prototype.startFeedback=function(){var a=this;this.activeSession.isInternalSession()?this.matDialog.open(fS,Object.assign({},Gjc,{height:"640px",data:{type:"DEFAULT"}})).afterClosed().subscribe(function(b){b&&Hjc(a)}):Hjc(this)};
var Ijc=function(a){a.activeSession.isInternalSession()?a.matDialog.open(fS,Object.assign({},Gjc,{height:"400px",data:{type:"HOMEPAGE"}})).afterClosed().subscribe(function(b){b&&Hjc(a)}):Hjc(a)},Hjc=function(a){var b={productId:92912,nonce:a.activeSession.getCspNonce(),productVersion:"buganizer.frontend_20240128.11_p0"};b.bucket=a.currentTracker.inTracker?"buganizer-trackers-feedback":"buganizer3-feedback";for(var c=[],d=c.concat,e=r([]),f=[],h=l(a.activeSession.session.config.enabledFlags),k=h.next();!k.done;k=
h.next()){var q=l(k.value);k=q.next().value;(q=q.next().value)&&f.push(k)}c=d.call(c,e,r(f)).join(", ");c={userType:a.activeSession.getUserTypeLabel(),flags:c};a.currentTracker.inTracker&&(c.trackerId=a.currentTracker.getTrackerId());Fjc(b,c)};gS.\u0275fac=function(a){return new (a||gS)(p(nt),p(EA),p(IM))};gS.\u0275prov=vc({token:gS,factory:gS.\u0275fac,providedIn:"root"});var hS=function(a){this.delegate_=a};hS.prototype.getDelegate=function(){return this.delegate_};var Jjc=function(a,b){this.delegate_=a;this.currentTarget_=b;this.target_=null};X(Jjc,hS);Jjc.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=Kjc(b,a.pop());return this.target_=b};Jjc.prototype.getType=function(){return this.getDelegate().xa};var Ljc=function(a){this.delegate_=a};X(Ljc,hS);g=Ljc.prototype;g.listen=function(a,b,c,d){var e=this;return this.getDelegate().za(a,function(f){return b.call(d||ca,new Jjc(f,e))},c)};g.listenOnce=function(){throw Error("Kd");};g.unlisten=function(){throw Error("Kd");};g.unlistenByKey=function(){throw Error("Kd");};g.dispatchEvent=function(){throw Error("Kd");};g.removeAllListeners=function(){throw Error("Kd");};g.getParentEventTarget=function(){throw Error("Kd");};
g.fireListeners=function(){throw Error("Kd");};g.getListener=function(){throw Error("Kd");};g.hasListener=function(){throw Error("Kd");};Ljc.prototype[oXb]=!0;var iS=function(a){this.delegate_=a};X(iS,Ljc);iS.prototype.getHeight=function(){return this.getDelegate().pa()};iS.prototype.setPageTitle=function(){this.getDelegate().pb(void 0)};iS.prototype.setBackgroundColor=function(a){this.getDelegate().pd(a)};iS.prototype.getBackgroundColor=function(){return this.getDelegate().pn()};var Mjc=function(a,b){this.delegate_=a;this.wrapperConstructor_=b||null};X(Mjc,hS);Mjc.prototype.then=function(a,b,c){var d;a&&(d=Njc(this,a));this.getDelegate().aa(d,b,c)};var Njc=function(a,b){var c=a.wrapperConstructor_;return c?function(d){b.call(this,new c(d))}:b};var jS=function(a){this.delegate_=a||gbar.a;this.gapiPromise_=this.barPromise_=null};X(jS,hS);jS.prototype.getGapi=function(){this.gapiPromise_||(this.gapiPromise_=new Mjc(this.getDelegate().bh()));return this.gapiPromise_};jS.getInstance=function(){var a="instance_";jS.instance_&&jS.hasOwnProperty(a)?a=jS.instance_:(a=new jS,jS.instance_=a);return a};var kS=function(a,b){Y.call(this);this.router=a;this.window=b};X(kS,Y);kS.\u0275dir=Y.\u0275dir;kS.prototype.start=function(){var a=this;return(new Promise(function(b,c){var d=jS.getInstance();d.barPromise_||(d.barPromise_=new Mjc(d.getDelegate().bf(),iS));d.barPromise_.then(b,c)})).then(function(b){Ojc(a,b)})};var Ojc=function(a,b){a.router.events.pipe(Ce(Zza),ef(a.destroyed$)).subscribe(function(){b.getDelegate().pl(a.window.location.href)})};kS.\u0275fac=function(a){return new (a||kS)(p(vF),p(uE))};
kS.\u0275prov=vc({token:kS,factory:kS.\u0275fac,providedIn:"root"});var lS=function(a,b,c){Y.call(this);var d=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.eventsForIssueFridge=c;this.handlers$=this.paramsService.routeParams$.pipe(Te(Th),df(function(e){return d.onRouteParamsChanged(e)}));this.init=function(){d.subscriptions.add(d.handlers$.subscribe(function(){}))};this.initOnce=oDa(this.init)};X(lS,Y);lS.\u0275dir=Y.\u0275dir;
lS.prototype.onRouteParamsChanged=function(a){var b=this,c,d;return ke(function(e){if(1==e.nextAddress){c={trustUncertainMemory:!0};if(!a.issueId)return e.jumpTo(2);d=a.issueId;return me(e,Promise.all([ZI(b.issueFetchResponseFridge,d,c),b.eventsForIssueFridge.poke(d,c)]),3)}return e.return()})};lS.\u0275fac=function(a){return new (a||lS)(p(wK),p(XI),p($H))};lS.\u0275prov=vc({token:lS,factory:lS.\u0275fac,providedIn:"root"});var mS=function(a){Y.call(this);var b=this;this.scrollTimingMap=new Map;a.routeChangeSuccess.pipe(ef(this.destroyed$)).subscribe(function(){b.scrollTimingMap.clear()})};X(mS,Y);mS.\u0275dir=Y.\u0275dir;mS.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)};mS.\u0275fac=function(a){return new (a||mS)(p(LI))};
mS.\u0275prov=vc({token:mS,factory:mS.\u0275fac,providedIn:"root"});var oS=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la,oa,Fa,Ta){Y.call(this);var Pa=this;this.bLocation=a;this.reloadService=b;this.timeout=c;this.activeSession=d;this.hotkeys=e;this.paths=f;this.userPrefs=h;this.issuePagination=k;this.userFeedback=z;this.ngZone=F;this.matDialogService=J;this.renderer=P;this.announcement=this.dismissedMessageId=null;this.matSidebarWidth=220;this.isAnonymous=this.activeSession.isAnonymous();this.sidebarDragSaver=this.sidebarDragOffset=null;Fa.install();Ta.install();
F6b(w);this.subscriptions.add(t.onClickAppMenuIcon.subscribe(function(){Pa.matSidebarWidth=185>Pa.matSidebarWidth?"open":0}));this.densityClass="d-comfort";this.renderer.addClass(document.body,this.densityClass);this.userPrefs.themePreferences$.pipe(ef(this.destroyed$)).subscribe(function(Wa){Wa=EOa(Wa.density);Wa!==Pa.densityClass&&(Pa.renderer.addClass(document.body,Wa),Pa.renderer.removeClass(document.body,Pa.densityClass),Pa.densityClass=Wa)});this.subscriptions.add(M$b(q,function(Wa){Pa.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:[wo("2"),FHa()],displayAs:"@ or Alt+Shift+f",description:"Send feedback",onPress:function(){Pa.startFeedback()}},{keys:["c"],displayAs:"c",description:"Create issue",onPress:function(){a.setUrl(Ya)}}];this.activeSession.isInternalSession()&&b.push({keys:[xo("g","p")],displayAs:"g then p",description:"Go to your preferred homepage",
onPress:function(){a.setUrl("/")}},{keys:[xo("g","h")],displayAs:"g then h",description:'Go to "Home"',onPress:function(){a.setUrl(f.home())}},{keys:[xo("g","n")],displayAs:"g then n",description:'Go to "Needs attention"',onPress:function(){a.setUrl(f.needsAttention())}});var Ya=f.createIssue(),sb=f.listIssues({q:MM(d.getUserEmail())}),Na=f.listIssues({q:"cc:"+d.getUserEmail()}),ja=f.listIssues({q:I$b(d.getUserEmail())}),ya=f.listIssues({q:"reporter:"+d.getUserEmail()}),Ga=f.listIssues({q:q.getStarred()}),
gb=f.listIssues({q:q.getVoted()});b.push({keys:[xo("g","a")],displayAs:"g then a",description:'Go to "Assigned to me"',onPress:function(){a.setUrl(sb)}},{keys:[xo("g","c")],displayAs:"g then c",description:'Go to "CC\'d to me"',onPress:function(){a.setUrl(Na)}},{keys:[xo("g","r")],displayAs:"g then r",description:'Go to "Reported by me"',onPress:function(){a.setUrl(ya)}},{keys:[xo("g","s")],displayAs:"g then s",description:'Go to "Starred by me"',onPress:function(){a.setUrl(Ga)}},{keys:[xo("g","1")],
displayAs:"g then 1",description:'Go to "Upvoted by me"',onPress:function(){a.setUrl(gb)}},{keys:[xo("g","v")],displayAs:"g then v",description:'Go to "To be verified"',onPress:function(){a.setUrl(ja)}},{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<Pa.sidebarDragPosition||1===Wa&&!(20<Pa.sidebarDragPosition))20<Pa.sidebarDragPosition?nS(Pa,20,1):nS(Pa,Pa.lastOpenPosition,1);Pa.matSidebarWidth=0===Wa?0:"open"}},{keys:["?",EHa("F1")],displayAs:"? or Ctrl+F1",description:"Display the keyboard shortcuts pop-up",onPress:function(){Pa.matDialogService.open(OP,{minWidth:512})}});this.subscriptions.add(WM(this.hotkeys,{title:"General",hotkeys:b}));this.lastOpenPosition=this.sidebarDragPosition=220;this.announcement=this.activeSession.getAnnouncement();
this.userPrefs.preferences$.pipe(Ue(),ef(this.destroyed$)).subscribe(function(Wa){Pa.dismissedMessageId=Wa.bannerMessageId||"";Wa=(Wa.layoutPreferences||{}).leftSidebarWidth;Pa.matSidebarWidth=Wa||220;if(void 0===Wa)Pa.sidebarDragPosition=220;else if(90>Wa)Pa.sidebarDragPosition=20;else{if(220<Wa){var zc=Pjc();Wa>zc&&(Wa=zc)}185>Wa&&(Wa=185);Pa.sidebarDragPosition=Wa}});(0,W.fromEvent)(document,"mouseup",{capture:!0}).pipe(ef(this.destroyed$)).subscribe(function(){Pa.sidebarDragOffset&&(Pa.sidebarDragOffset=
null,nS(Pa,Pa.sidebarDragPosition,1))});(0,W.fromEvent)(H,"resize").pipe(ef(this.destroyed$)).subscribe(function(){if(220<Pa.sidebarDragPosition){var Wa=Pjc();Pa.sidebarDragPosition>Wa&&nS(Pa,Wa,3E3)}});this.ngZone.runOutsideAngular(function(){(0,W.fromEvent)(document,"mousemove").pipe(ef(Pa.destroyed$)).subscribe(function(Wa){if(Pa.sidebarDragOffset){Wa=Wa.pageX-Pa.sidebarDragOffset;if(90>Wa)Wa=20;else if(185>Wa)Wa=185;else{var zc=Pjc();Wa>zc&&(Wa=zc)}nS(Pa,Wa,0)}})});U.start();Ym()&&(null!=z4b&&
z4b.disconnect(),z4b=new Zm.PerformanceObserver(yAa),z4b.observe({entryTypes:["measure"]}));setTimeout(xJa,6E4);Z.start();la.initOnce();oa.initOnce();H.emergencyBugjugglerWorkaround={session:d,issueComments:O}};X(oS,Y);oS.\u0275dir=Y.\u0275dir;oS.prototype.startDragging=function(a){this.sidebarDragOffset=a.pageX-this.sidebarDragPosition;a.preventDefault()};oS.prototype.isDragging=function(){return null!==this.sidebarDragOffset};
var Pjc=function(){var a=window.innerWidth;return 1075<=a?a-855:220},COa=function(a,b){a.userPrefs.layoutPreferences$.pipe(df(function(c){return a.userPrefs.save({layoutPreferences:Object.assign({},c,{leftSidebarWidth:b})})})).pipe(Ue(),ef(a.destroyed$)).subscribe()},nS=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(){COa(a,20===a.sidebarDragPosition?
0:a.sidebarDragPosition);a.sidebarDragSaver=null},c).catch(function(){}))};oS.prototype.doSearch=function(a){a=this.paths.listIssues({q:a});var b=l6b(this.paths,a);XP(this.issuePagination);b&&sob(this.reloadService);this.bLocation.setUrl(a)};var zOa=function(a){null!==a.announcement&&(a.dismissedMessageId=a.announcement.messageId,a.userPrefs.save({bannerMessageId:a.dismissedMessageId}).pipe(Ue(),ef(a.destroyed$)).subscribe())};oS.prototype.startFeedback=function(){this.userFeedback.startFeedback()};
oS.\u0275fac=function(a){return new (a||oS)(A(hI),A(oQ),A(zG),A(nt),A(VM),A(iI),A(BE),A(WP),A(KM),A(RH),A(JI),A(gS),A(Ge),A(EA),A(uE),A(nK),A(Tu),A(kS),A(mS),A(aQ),A(lS),A(dS),A(FF))};
oS.\u0275cmp=Lc({type:oS,selectors:[["app-root"]],features:[nf],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,"size","disableToggleBtn","widthChanged"]],template:function(a,b){a&1&&(I(0,"b-hiring-banner")(1,"b-terms-of-service"),C(2,BOa,4,2,"div",0),I(3,"b-sso-expired-callout-outlet"),E(4,"div",1),C(5,DOa,2,2,"b-resizable-sidebar",2),E(6,"div",3),I(7,"router-outlet"),G()(),I(8,"b-footer")(9,"bug-screensaver-manager"));if(a&2){y(2);var c;a=b.announcement;a=void 0===a?b.announcement:
a;var d;if(null!=(d=a)&&d.message){var e;if(d=0<(null==(e=a.tags)?void 0:e.length)){e=a;var f;d=!("157"===(null==(c=b.activeSession.getTracker())?void 0:c.trackerId)&&0<(null==(f=e.tags)?void 0:f.length)&&e.tags.includes("chromium"))}c=d||!tE(b.activeSession,"canSeeAnnouncementBanner")?!1:a.dismissible?null==b.dismissedMessageId?!1:a.messageId!==b.dismissedMessageId:!0}else c=!1;D("ngIf",c);y(3);D("ngIf",!b.isAnonymous)}},dependencies:function(){return[dw,gF,hN,eR,uR,MP,dQ,iQ,LP]},encapsulation:2});
var pS=function(){};pS.\u0275fac=function(a){return new (a||pS)};pS.\u0275mod=Nc({type:pS});pS.\u0275inj=wc({imports:[SH,BF,jN,rR,wR,NP,hQ,jQ,gQ,$C,PP]});var qS=function(a){this.internalArray_=m(a,0,qS.messageId)};X(qS,n);qS.prototype.getUrl=function(){return Zi(this,1)};qS.prototype.setUrl=function(a){return Lh(this,1,a)};qS.prototype.hasUrl=function(){return Pi(this,1)};qS.messageId="b.AttachmentUrlResponse";var rS=function(a){this.executor=a};rS.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(dua(d)));return this.executor.get({url:"action/issues/"+a+"/attachments/"+b+"/url",options:{headers:e,params:{download:String(c)}},responseConstructor:qS}).then(function(f){return f.getUrl()})};rS.\u0275fac=function(a){return new (a||rS)(p(RD))};rS.\u0275prov=vc({token:rS,factory:rS.\u0275fac,providedIn:"root"});var sS=function(a,b,c){this.templateRef=b;this.viewContainer=c;this.isInternal=!1;this.isInternal=a.isInternalSession()};sS.prototype.ngOnInit=function(){this.isInternal&&this.viewContainer.createEmbeddedView(this.templateRef)};sS.\u0275fac=function(a){return new (a||sS)(A(nt),A(Rf),A(Sf))};sS.\u0275dir=Qc({type:sS,selectors:[["","internalOnly",""]]});var tS=function(a,b,c,d,e,f,h,k){this.dialogRef=b;this.userAccess=c;this.attachmentsUrl=d;this.butterBar=e;this.domSafe=f;this.documentationLinks=h;this.changeDetectorRef=k;this.isLoading=!0;this.download=this.hasViewAccess=!1;this.attachment=a.attachment;this.issueId=a.issueId;this.download=a.download};tS.prototype.ngOnInit=function(){this.changeDetectorRef.detectChanges();this.setHasViewAccess()};
tS.prototype.setHasViewAccess=function(){var a=this;this.isLoading=!0;GOa(this)?(this.hasViewAccess=!1,zH(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)};tS.prototype.getRestrictionSeverity=function(){var a=this.attachment.contentVerdict;if(a&&(a=a.piiVerdict))return a.severity};
var GOa=function(a){return(a=a.getRestrictionSeverity())?"NONE_DETECTED"!==a:!1},Qjc=function(a){var b=a.download&&msa(a.attachment.contentType);a.attachmentsUrl.get(a.issueId,a.attachment.attachmentId,b,a.getRestrictionSeverity()).then(function(c){b?JE(a.domSafe,c):a.domSafe.openInNewTab(c);a.close()},function(){a.butterBar.showWarning("Failed to load attachment. Please refresh and try again.");a.close()})};tS.prototype.close=function(){this.dialogRef.close();this.changeDetectorRef.detectChanges()};
tS.prototype.getRestrictedAccessHelpLink=function(){return this.documentationLinks.getRestrictedAccessHelpLink()};tS.\u0275fac=function(a){return new (a||tS)(A(DA),A(BA),A(xH),A(rS),A(hG),A(IE),A(jG),A(EF,2))};
tS.\u0275cmp=Lc({type:tS,selectors:[["b-attachment-download-dialog"]],features:[bg([EF])],decls:20,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"gmat-body-2"],[1,"gmat-body-1"],[1,"download-attachment-icon"],["svgIcon","file-present","size","icon-l"],[1,"download-attachment-filename"],[4,"internalOnly"],["class","gmat-body-2",4,"ngIf"],["class","centered-spinner","diameter","60",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button",
"",1,"gmat-button","dialog-primary-action",3,"disabled","click"],["target","_blank","aria-label","Learn more about restricted access in Buganizer.",3,"href"],[1,"no-access-warning"],["diameter","60",1,"centered-spinner"]],template:function(a,b){a&1&&(E(0,"h1",0),R(1,"Access Attachment"),G(),E(2,"div",1)(3,"div",2),R(4," Are you sure you would like to access the following attachment? "),G(),I(5,"br"),E(6,"div",3)(7,"div",4),I(8,"mat-icon",5),G(),E(9,"div",6),R(10),G()(),I(11,"br"),C(12,HOa,2,1,"ng-container",
7)(13,IOa,3,0,"div",8),G(),C(14,JOa,1,0,"mat-spinner",9),E(15,"div",10)(16,"button",11),M("click",function(){return b.close()}),R(17," Cancel "),G(),E(18,"button",12),M("click",function(){return Qjc(b)}),R(19," Continue "),G()());a&2&&(y(10),S(" ",b.attachment.filename," "),y(3),D("ngIf",!b.isLoading&&!b.hasViewAccess),y(),D("ngIf",b.isLoading),y(4),D("disabled",!b.hasViewAccess))},dependencies:[dw,hB,GA,HA,IA,nA,GQ,EQ,sS],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 uS=function(){};uS.\u0275fac=function(a){return new (a||uS)};uS.\u0275mod=Nc({type:uS});uS.\u0275inj=wc({imports:[SH]});var Rjc=Object.assign({},new cWb,{backdropClass:"gmat-dialog-backdrop",panelClass:"gmat-dialog-panel",hasBackdrop:!0}),vS=function(){};vS.\u0275fac=function(a){return new (a||vS)};vS.\u0275mod=Nc({type:vS});vS.\u0275inj=wc({providers:[{provide:dWb,useValue:Rjc}],imports:[JA,JA]});var wS=function(){};wS.\u0275fac=function(a){return new (a||wS)};wS.\u0275mod=Nc({type:wS});wS.\u0275inj=wc({imports:[SH,vS,$C,JA,jR,fQ,CP,uS]});var Sjc=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"},Tjc=Sjc;Tjc=Sjc;var Ujc=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"},Vjc=Ujc;Vjc=Ujc;var xS=function(a){this.pattern_=a;this.parsedPattern_=this.literals_=this.initialLiterals_=null;a=AQ;var b=zQ;if(Wjc!==a||Xjc!==b)Wjc=a,Xjc=b,Yjc=new BQ(1);this.numberFormatter_=Yjc},Wjc=null,Xjc=null,Yjc=null,Zjc=RegExp("'([{}#].*?)'","g"),$jc=RegExp("''","g");xS.prototype.format=function(a){return this.format_(a,!1)};
xS.prototype.format_=function(a,b){if(this.pattern_){this.initialLiterals_=[];var c=akc(this,this.pattern_);this.parsedPattern_=bkc(this,c);this.pattern_=null}if(!this.parsedPattern_||0==this.parsedPattern_.length)return"";this.literals_=wa(this.initialLiterals_);c=[];ckc(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 ckc=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,k=a,q=e,t=c[h];void 0===t?q.push("Undefined parameter - "+h):(k.literals_.push(t),q.push(k.buildPlaceholder_(k.literals_)));break;case 2:h=b[f].value;k=a;q=c;t=d;var w=e,z=h.argumentIndex;void 0===q[z]?w.push("Undefined parameter - "+z):(z=h[q[z]],void 0===z&&(z=h.other),ckc(k,z,q,t,w));break;case 0:h=b[f].value;dkc(a,h,c,Vjc,d,e);break;case 1:h=b[f].value,dkc(a,h,c,Tjc,
d,e)}},dkc=function(a,b,c,d,e,f){var h=b.argumentIndex,k=b.argumentOffset,q=+c[h];isNaN(q)?f.push("Undefined or invalid parameter - "+h):(k=q-k,h=b[c[h]],void 0===h&&(d=d(Math.abs(k)),h=b[d],void 0===h&&(h=b.other)),b=[],ckc(a,h,c,e,b),c=b.join(""),e?f.push(c):(a=a.numberFormatter_.format(k),f.push(c.replace(/#/g,a))))},akc=function(a,b){var c=a.initialLiterals_,d=Ct(a.buildPlaceholder_,a);b=b.replace($jc,function(){c.push("'");return d(c)});return b=b.replace(Zjc,function(e,f){c.push(f);return d(c)})},
ekc=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},fkc=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,gkc=/^\s*(\w+)\s*,\s*selectordinal\s*,/,hkc=/^\s*(\w+)\s*,\s*select\s*,/,bkc=function(a,b){var c=[];b=ekc(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(fkc.test(f)?0:gkc.test(f)?1:hkc.test(f)?2:/^\s*\w+\s*/.test(f)?3:5){case 2:e.type=2;e.value=ikc(a,b[d].value);break;case 0:e.type=0;e.value=jkc(a,b[d].value);break;case 1:e.type=1;e.value=kkc(a,b[d].value);break;case 3:e.type=3,e.value=b[d].value}}c.push(e)}return c},ikc=function(a,b){var c="";b=b.replace(hkc,function(k,q){c=q;return""});var d={};d.argumentIndex=c;b=ekc(b);for(var e=0;e<
b.length;){var f=b[e].value;e++;var h;1==b[e].type&&(h=bkc(a,b[e].value));d[f.replace(/\s/g,"")]=h;e++}return d},jkc=function(a,b){var c="",d=0;b=b.replace(fkc,function(q,t,w){c=t;w&&(d=parseInt(w,10));return""});var e={};e.argumentIndex=c;e.argumentOffset=d;b=ekc(b);for(var f=0;f<b.length;){var h=b[f].value;f++;var k;1==b[f].type&&(k=bkc(a,b[f].value));e[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=k;f++}return e},kkc=function(a,b){var c="";b=b.replace(gkc,function(k,q){c=q;return""});var d={};d.argumentIndex=
c;d.argumentOffset=0;b=ekc(b);for(var e=0;e<b.length;){var f=b[e].value;e++;if(1==b[e].type)var h=bkc(a,b[e].value);d[f.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;e++}return d};xS.prototype.buildPlaceholder_=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};var mkc=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=JTb(b),f=JTb(c),h=JTb(d);a=b*(c+d)?" ":"";var k=c*d?" ":"";b=lkc("{COUNT, plural, =0 {}=1 {{TEXT} day}other {{TEXT} days}}",b,e);c=lkc("{COUNT, plural, =0 {}=1 {{TEXT} hour}other {{TEXT} hours}}",c,f);d=lkc("{COUNT, plural, =0 {}=1 {{TEXT} minute}other {{TEXT} minutes}}",d,h);return b+a+c+k+d},lkc=function(a,b,c){return(new xS(a)).format({COUNT:b,TEXT:c})};var yS=function(a,b){var c=this;this.userPreferencesManager=a;this.timeZonesApi=b;this.cachedFormatters=new vG(100,!0);this.userDatePrefs$=this.userPreferencesManager.dateTimePreferences$;this.userCalendarFormat$=this.userDatePrefs$.pipe(B(function(d){return d.calendarFormat||"MMM d, yyyy"}));this.userTimeFormat$=this.userDatePrefs$.pipe(B(function(d){return d.timeFormat||"hh:mma"}));this.userTimeZone$=this.userDatePrefs$.pipe(df(function(d){return d.timeZone?c.timeZonesApi.get(d.timeZone):(0,W.of)(void 0)}))};
yS.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);void 0===d&&(d=new sz(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};yS.prototype.formatUserCalendar=function(a){var b=this;return(0,W.combineLatest)([this.userCalendarFormat$,this.userTimeZone$]).pipe(B(function(c){var d=l(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
yS.prototype.formatUserTime=function(a){var b=this;return(0,W.combineLatest)([this.userTimeFormat$,this.userTimeZone$]).pipe(B(function(c){var d=l(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
var zS=function(a,b){return(0,W.combineLatest)([a.userCalendarFormat$,a.userTimeFormat$,a.userTimeZone$]).pipe(B(function(c){var d=l(c);c=d.next().value;var e=d.next().value;d=d.next().value;return a.format(c+" "+e,d,b)}))},nkc=function(a,b,c){return c?a.timeZonesApi.get(c).pipe(B(function(d){return a.format("yyyy-MM-dd HH:mm:ss Z",d,b)})):(0,W.of)(a.format("yyyy-MM-dd HH:mm:ss Z",void 0,b))},Ckb=function(a,b){var c=void 0;c=void 0===c?0:c;b=void 0===b?!1:b;var d=new Yh;c&&d.setTime(c);c=new Yh;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 rz("m",a)),e=Math.floor((c.getTime()-d.getTime())/864E5));d=new rz(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"};yS.\u0275fac=function(a){return new (a||yS)(p(BE),p(xG))};yS.\u0275prov=vc({token:yS,factory:yS.\u0275fac,providedIn:"root"});var okc=[{name:"local",id:""},{name:"UTC",id:"UTC"},{name:"MTV",id:"America/Los_Angeles"}],pkc=Symbol("Ld"),qkc=Symbol("Ld"),AS=function(a){var b=this;this.dateFormatter=a;this.paddingLeftPx=5;this.timestampMs$=new W.ReplaySubject(1);this.timestampIso$=this.timestampMs$.pipe(B(function(c){return c?(new Date(c)).toISOString():""}));this.timestampDate$=this.timestampMs$.pipe(B(function(c){if(void 0!==c)return new Date(c)}));this[pkc]=this.timestampDate$.pipe(df(function(c){if(void 0===c)return(0,W.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 zS(b.dateFormatter,c);case "relativepast":return c=uo(d),(0,W.of)(c);case "relativepastshort":var e;return(0,W.of)(null!=(e=uo(d,!0))?e:"");default:return Nh(b.mode)}}));this[qkc]=this.timestampDate$.pipe(df(function(c){return void 0===c?(0,W.of)(""):(0,W.combineLatest)(okc.map(function(d){return nkc(b.dateFormatter,c,d.id).pipe(B(function(e){return{formatted:e,
tzName:d.name}}))})).pipe(rkc)}));this.vars$=(0,W.combineLatest)([this[pkc],this[qkc]]).pipe(B(function(c){var d=l(c);c=d.next().value;d=d.next().value;return{formatted:c,title:d}}))};AS.prototype.ngOnInit=function(){};
Vg.Object.defineProperties(AS.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())}}});AS.\u0275fac=function(a){return new (a||AS)(A(yS))};
AS.\u0275cmp=Lc({type:AS,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&&(C(0,KOa,4,8,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.vars$))},dependencies:[dw,mw],encapsulation:2,changeDetection:0});
var rkc=(0,W.pipe)(B(function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=b.get(c.formatted);d?d.tzNames.push(c.tzName):(d={formatted:c.formatted,tzNames:[c.tzName]},b.set(c.formatted,d))}return Array.from(b.values()).map(function(e){return e.formatted+" ("+e.tzNames.join("/")+")"}).join("\n")}));var skc=function(a,b,c,d){jx.call(this,a,b,c,d,!0);var e=this;this.escapeSubject$=new W.Subject;this.startAnchorListener=function(){e.escapeSubject$.next(0);return!0};this.endAnchorListener=function(){e.escapeSubject$.next(1);return!0};ix(this)};X(skc,jx);var BS=function(a,b,c){this.checker=a;this.ngZone=b;this.document=c};BS.prototype.create=function(a){return new skc(a,this.checker,this.ngZone,this.document)};BS.\u0275fac=function(a){return new (a||BS)(p(gx),p(Ge),p(Tg))};
BS.\u0275prov=vc({token:BS,factory:BS.\u0275fac,providedIn:"root"});var tkc=["content"],CS=function(a){Y.call(this);this.focusEscapeNotifierFactory=a;this.trapFocus=this.required=!1;this.renderPanel=this.noneButtonEnabled=this.todayButtonEnabled=!0;this.dateChange=new zv;this.cancelClicked=new zv;this.saveClicked=new zv;this.dateSelectionChange=new zv;this.focusEscaped=new zv};X(CS,Y);CS.\u0275dir=Y.\u0275dir;
CS.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){LOa(a,a.date);a.calendar._getCurrentViewComponent()._focusActiveCell(!1)});this.focusEscapeNotifier=this.focusEscapeNotifierFactory.create(this.content.nativeElement);this.focusEscapeNotifier.escapeSubject$.pipe(ef(this.destroyed$)).subscribe(function(b){if(a.trapFocus)if(0===b){var c;null==(c=a.focusEscapeNotifier)||XRb(c)}else{var d;null==(d=a.focusEscapeNotifier)||hx(d)}else a.focusEscaped.emit(b)})};
var LOa=function(a,b){if(b=b instanceof qn?b:MAa(b))a.calendar.activeDate=b};CS.\u0275fac=function(a){return new (a||CS)(A(BS))};
CS.\u0275cmp=Lc({type:CS,selectors:[["b-date-time-picker-content"]],viewQuery:function(a,b){a&1&&(Uf(pz,7),Uf(tkc,7));if(a&2){var c;Yf(c=Zf())&&(b.calendar=c.first);Yf(c=Zf())&&(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:[nf],ngContentSelectors:["*"],decls:14,vars:9,consts:[["content",""],[1,"b-optional-calendar-button-row"],[3,"selected","startAt","selectedChange"],[1,"actions"],["class","b-optional-calendar-button-row",4,"ngIf"],[1,"b-calendar-button-row"],["mat-button","",1,"cancel",3,"click"],["mat-button","",1,"save",3,"click"],["class","today","mat-button","",3,"click",4,"ngIf"],["class","none","mat-button","",3,"click",4,"ngIf"],["mat-button","",1,"today",3,"click"],["mat-button","",1,"none",3,"click"]],
template:function(a,b){a&1&&(Lf(),E(0,"div",null,0)(2,"div",1),Mf(3),G(),E(4,"mat-calendar",2),M("selectedChange",function(c){b.date=c;b.dateSelectionChange.emit(c)}),T(5,"toDateTime"),T(6,"toDateTime"),G(),E(7,"div",3),C(8,OOa,4,2,"div",4),E(9,"div",5)(10,"button",6),M("click",function(){return b.cancelClicked.emit()}),R(11,"Cancel"),G(),E(12,"button",7),M("click",function(){b.dateChange.emit(b.date);return b.saveClicked.emit()}),R(13,"Save"),G()()()());a&2&&(yf("container",b.renderPanel),y(4),D("selected",
V(5,5,b.date))("startAt",V(6,7,b.date)),y(4),D("ngIf",b.todayButtonEnabled||b.noneButtonEnabled))},dependencies:function(){return[dw,nA,pz,zP,DS]},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 DS=function(){};DS.prototype.transform=function(a){var b;return null!=(b=MAa(a))?b:void 0};DS.\u0275fac=function(a){return new (a||DS)};DS.\u0275pipe=Rc({name:"toDateTime",type:DS,pure:!0});var ukc=[{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"}],ES=function(a,b,c){Y.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 zv;this.dateSelectionChange=new zv;this.onClose=
new zv;this.opened=!1;this.destroyed$.subscribe(function(){var e;null==(e=d.overlayRef)||e.dispose()})};X(ES,Y);g=ES.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 Tx(CS),c;this.pickerContent=null==(c=this.overlayRef)?void 0:c.attach(b).instance;var d;null==(d=this.overlayRef)||d.updatePosition();setTimeout(function(){vkc(a)})};
g.getPositionStrategy=function(){return vy(wy(xy(By(this.overlay.position(),this.element)),8),ukc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
var vkc=function(a){if(a.pickerContent&&a.overlayRef){var b=(0,W.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(ef(b)).subscribe(function(){setTimeout(function(){return a.element.nativeElement.focus()})});a.pickerContent.dateChange.pipe(ef(b)).subscribe(function(c){a.selectedChange.emit(c)});a.pickerContent.dateSelectionChange.pipe(ef(b)).subscribe(function(c){a.dateSelectionChange.emit(c)});
(0,W.merge)(a.pickerContent.saveClicked,a.pickerContent.cancelClicked,a.overlayRef.backdropClick(),a.overlayRef.keydownEvents().pipe(Ce(function(c){return"Escape"===c.code}))).pipe(ef(b)).subscribe(function(){a.close()})}};ES.\u0275fac=function(a){return new (a||ES)(A(Cy),A(Ad),A(Ad))};
ES.\u0275dir=Qc({type:ES,selectors:[["","bDateTimePickerToggle",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(a,b){a&1&&M("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&&(hx(b.pickerContent.focusEscapeNotifier),c.preventDefault())})("keydown.shift.tab",
function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(XRb(b.pickerContent.focusEscapeNotifier),c.preventDefault())});a&2&&pf("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:[nf]});var wkc=["pickerToggle"],FS=function(){this.customAriaLabelledBy=this.customFormId=void 0;this.required=!1;this.valueChange=new zv};FS.\u0275fac=function(a){return new (a||FS)};
FS.\u0275cmp=Lc({type:FS,selectors:[["b-date-time-input"]],viewQuery:function(a,b){a&1&&Uf(wkc,7);if(a&2){var c;Yf(c=Zf())&&(b.pickerToggle=c.first)}},inputs:{customFormId:"customFormId",customAriaLabelledBy:"customAriaLabelledBy",value:"value",required:"required"},outputs:{valueChange:"valueChange"},exportAs:["bDateTimeInput"],decls:4,vars:7,consts:[["mat-stroked-button","","type","button","bDateTimePickerToggle","",1,"gmat-button",3,"id","bDateTimePickerToggleRequired","bDateTimePickerToggleSelected",
"bDateTimePickerToggleFocusTrapHost","bDateTimePickerToggleSelectedChange"],["pickerToggle","bDateTimePickerToggle"],["mode","date",3,"date",4,"ngIf"],[4,"ngIf"],["mode","date",3,"date"]],template:function(a,b){a&1&&(E(0,"button",0,1),M("bDateTimePickerToggleSelectedChange",function(c){b.value=c;b.valueChange.emit(c)}),C(2,POa,1,1,"b-formatted-date-time",2)(3,QOa,2,0,"ng-container",3),G());a&2&&(D("id",b.customFormId)("bDateTimePickerToggleRequired",b.required)("bDateTimePickerToggleSelected",b.value)("bDateTimePickerToggleFocusTrapHost",
!1),pf("aria-labelledby",b.customAriaLabelledBy),y(2),D("ngIf",b.value),y(),D("ngIf",!b.value))},dependencies:[ES,AS,nA,dw],styles:["/*# sourceMappingURL=date_time_input.css.map */"]});var xkc=["filterInput"],GS=function(a){Y.call(this);this.dateFormatter=a;this.enumChoices=[];this.onSave=new zv;this.valueMap=new Map;this.sortedValues=[];this.filterValue=null;this.currentSelectedDate=void 0};X(GS,Y);GS.\u0275dir=Y.\u0275dir;g=GS.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(df(function(){return(0,W.timer)(0)}),ef(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 ykc=function(a){return a.filterValue&&"REPEATED_DATE"!==a.type?a.sortedValues.filter(function(b){return a.getDisplayString(b).includes(String(a.filterValue))}):a.sortedValues};
GS.prototype.addValue=function(){var a=this.filterValue;this.filterValue=null;a&&!this.valueMap.get(a)&&(this.valueMap.set(a,!0),zkc(this),this.onSave.emit({valueMap:this.valueMap,valueChanged:this.valueChanged()}))};GS.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})};
GS.prototype.initValues=function(){this.valueMap=new Map(this.originalValueMap||[]);this.enumChoices=this.enumChoices||[];for(var a=l(this.enumChoices),b=a.next();!b.done;b=a.next())b=b.value,this.valueMap.has(b)||this.valueMap.set(b,!1);zkc(this)};
var zkc=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)})},SOa=function(a){return!!a.filterValue&&"REPEATED_ENUM"!==a.type&&"REPEATED_DATE"!==a.type};GS.prototype.getDisplayString=function(a){return"REPEATED_DATE"===this.type?this.dateFormatter.formatUserCalendar($h(a)):a};GS.prototype.getLabel=function(){return this.valueChanged()?"Changed":"Unchanged"};
GS.\u0275fac=function(a){return new (a||GS)(A(EG))};
GS.\u0275cmp=Lc({type:GS,selectors:[["b-bulk-repeated-field-picker"]],viewQuery:function(a,b){a&1&&(Uf(GC,5),Uf(xkc,5));if(a&2){var c;Yf(c=Zf())&&(b.trigger=c.first);Yf(c=Zf())&&(b.filterElement=c.first)}},inputs:{type:"type",originalValueMap:"originalValueMap",enumChoices:"enumChoices"},outputs:{onSave:"onSave"},features:[nf,ed],decls:13,vars:7,consts:[["mat-button","","type","button",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["customFieldMenu",
"matMenu"],["class","multi-edit-menuitem","role","option",3,"title",4,"ngFor","ngForOf"],[1,"filter"],["mat-input","","step","any",3,"type","ngModel","placeholder","keydown","click","ngModelChange",4,"ngIf"],[4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],["role","option",1,"multi-edit-menuitem",3,"title"],[3,"checked","indeterminate","change","click"],["mat-input","","step","any",3,"type","ngModel","placeholder","keydown","click","ngModelChange"],["filterInput",""],["mat-menu-item","",3,"click"],
[3,"value","valueChange"],["mat-menu-item","","aria-label","Add a date value","tabindex","0","aria-haspopup","true",3,"click"]],template:function(a,b){a&1&&(E(0,"button",0)(1,"span"),R(2),G(),I(3,"b-icon",1),G(),E(4,"mat-menu",null,2),C(6,ROa,3,4,"div",3),I(7,"mat-divider"),E(8,"div",4),C(9,TOa,2,3,"input",5),G(),C(10,UOa,1,0,"mat-divider",6)(11,VOa,2,0,"div",7)(12,WOa,4,1,"div",6),G());if(a&2){var c=Q(5);D("matMenuTriggerFor",c);y(2);$f(b.getLabel());y(4);D("ngForOf",ykc(b));y(3);D("ngIf","REPEATED_DATE"!==
b.type);y();D("ngIf",SOa(b));y();D("ngIf",SOa(b));y();D("ngIf","REPEATED_DATE"===b.type)}},dependencies:[hw,dw,HC,FC,GC,zP,yP,nA,WE,Dg,Hw,Ow,FS],styles:[".multi-edit-menuitem[_ngcontent-%COMP%]{padding:0 5px}.filter[_ngcontent-%COMP%]{padding:0 5px}/*# sourceMappingURL=bulk_repeated_field_picker.css.map */"]});var HS=function(){this.relayOnly=!1;this.keydown$=new W.Subject};HS.prototype.onKeydown=function(a){this.relayOnly||this.keydown$.next(a)};Vg.Object.defineProperties(HS.prototype,{tabindex:{configurable:!0,enumerable:!0,get:function(){return this.relayOnly?null:"0"}}});HS.\u0275fac=function(a){return new (a||HS)};
HS.\u0275dir=Qc({type:HS,selectors:[["","onedevKeyEventReceiver",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b.onKeydown(c)});a&2&&pf("tabindex",b.tabindex)},inputs:{relayOnly:"relayOnly"}});var Akc=0,IS=function(a){this.keyEventReceiver=a;this.id="onedev-popup-panel-"+Akc;this.closePanel$=new W.ReplaySubject(1);Akc++};IS.prototype.processKeydown=function(a){this.keyEventReceiver&&this.keyEventReceiver.keydown$.next(a);var b=a.code;("Escape"===b||a.altKey&&"ArrowUp"===b)&&this.closePanel$.next()};IS.\u0275fac=function(a){return new (a||IS)(A(HS,8))};
IS.\u0275cmp=Lc({type:IS,selectors:[["onedev-popup-panel"]],viewQuery:function(a,b){a&1&&Uf(Rf,7);if(a&2){var c;Yf(c=Zf())&&(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&&(Lf(),C(0,XOa,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 JS=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 zv;this.closed=new zv;this.isOpen=!1;this.destroyed$=new W.ReplaySubject(1);this.closingActionsSubscription=W.Subscription.EMPTY};JS.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
JS.prototype.open=function(){var a=this;this.disabled||this.isOpen||(this.overlayRef=this.createOverlay(),this.templatePortal=new Ux(this.popupPanel.templateRef,this.viewContainerRef),this.overlayRef.attach(this.templatePortal),this.closingActionsSubscription=Bkc(this).pipe(ef(this.destroyed$)).subscribe(function(){a.close()}),this.trapFocus(),this.isOpen=!0,this.opened.emit())};
JS.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()}};
JS.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 Bkc=function(a){var b=a.overlayRef.backdropClick(),c=a.overlayRef._detachments,d=a.popupPanel.closePanel$;return a.closeOnBackdropClick?(0,W.merge)(b,c,d):(0,W.merge)(c,d)};
JS.prototype.trapFocus=function(){this.overlayRef&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.hostElement),this.focusTrap.focusInitialElement())};
JS.prototype.getPositionStrategy=function(){return vy(wy(xy(By(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"}])};JS.prototype.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
Vg.Object.defineProperties(JS.prototype,{onedevPopupPanelTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.popupPanel},set:function(a){this.popupPanel=a}}});JS.\u0275fac=function(a){return new (a||JS)(A(Cy),A(Ad),A(Sf),A(Hx),A(Uu))};
JS.\u0275dir=Qc({type:JS,selectors:[["","onedevPopupPanelTrigger",""]],hostAttrs:["aria-haspopup","true"],hostVars:3,hostBindings:function(a,b){a&2&&pf("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 Ckc=0,KS=function(a){this.changeDetectorRef=a;this.active=!1;this.id="b-list-option-"+Ckc;Ckc+=1};KS.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};KS.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};KS.\u0275fac=function(a){return new (a||KS)(A(Uu))};
KS.\u0275dir=Qc({type:KS,selectors:[["","onedevListOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Hf("id",b.id),yf("active",b.active))},inputs:{option:"option"},exportAs:["onedevListOption"]});var LS=function(){};LS.\u0275fac=function(a){return new (a||LS)};LS.\u0275mod=Nc({type:LS});LS.\u0275inj=wc({});var $Oa=function(){return{$implicit:void 0}},cPa=function(a){return{$implicit:a}},MS=function(a){var b=this;this.showFilterBar=this.includeEmptyOption=this.disabled=!1;this.options$=new W.BehaviorSubject([]);this.filterText$=new W.BehaviorSubject("");this.filteredOptions$=(0,W.combineLatest)([this.options$,this.filterText$]).pipe(B(function(c){c=l(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 zv;this.selected=new zv;this.destroyed$=new W.ReplaySubject(1);a&&this.handleKeydown(a.keydown$)};g=MS.prototype;g.ngOnInit=function(){};g.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};g.ngAfterViewInit=function(){this.keyManager=Lx(Kx(new Qx(this.viewOptions)))};g.ngOnChanges=function(a){a.value&&Dkc(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 Dkc=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),Ekc(a))}};MS.prototype.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&this.keyManager.setActiveItem(-1)};
MS.prototype.handleKeydown=function(a){var b=this;a.pipe(ef(this.destroyed$)).subscribe(function(c){if(!b.disabled&&b.keyManager){var d=c.code;"ArrowUp"===d||"ArrowDown"===d?(c.preventDefault(),b.keyManager.onKeydown(c),Ekc(b)):"Home"===d||"End"===d?(c.preventDefault(),"Home"===d?b.keyManager._setActiveItemByIndex(0,1):lSb(b.keyManager),Ekc(b)):"Enter"!==d&&"Space"!==d||!b.keyManager.activeItem||(c.preventDefault(),b.select(b.keyManager.activeItem.option))}})};
var Ekc=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"})}};MS.\u0275fac=function(a){return new (a||MS)(A(HS,8))};
MS.\u0275cmp=Lc({type:MS,selectors:[["onedev-selectable-list"]],viewQuery:function(a,b){a&1&&Uf(KS,5);if(a&2){var c;Yf(c=Zf())&&(b.viewOptions=c)}},hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(a,b){a&1&&M("focus",function(){return Dkc(b)})("blur",function(){return b.clearActiveItem()});a&2&&(a=b.keyManager&&b.keyManager.activeItem?b.keyManager.activeItem.id:void 0,pf("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:[ed],decls:3,vars:4,consts:[["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"],["filterEl",""],["role","option","onedevListOption","",3,"option","click",4,"ngIf"],[4,"ngFor","ngForOf"],["optionDisplay",""],["role","option","onedevListOption","",3,"option","click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],["customOptionDisplay",""],["emptyOption",""],["aria-label","empty"]],template:function(a,b){a&1&&(C(0,YOa,5,0,"div",0)(1,lPa,5,2,"ng-container",1),T(2,"async"));a&2&&(D("ngIf",b.showFilterBar),y(),D("ngIf",V(2,2,
b.filteredOptions$)))},dependencies:[hw,dw,lw,KS,mw],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 NS=function(){};var Fkc=["trigger"],nPa=function(a){return{$implicit:a}},Gkc=0,OS=function(a){this.showFilterBar=this.includeEmptyOption=this.disabled=!1;this.label="";this.valueChange=new zv;this.displayArrowIcon=!0;this.focused=this.required=this.openPopupOnInit=!1;this.contentId="onedev-single-select-"+Gkc;this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0;Gkc++};X(OS,NS);g=OS.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 Hkc=function(a){var b="";a.label&&(b+=a.label+", ");a.required&&(b+="required, ");return b};OS.prototype.setDisabledState=function(a){this.disabled=a};Vg.Object.defineProperties(OS.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});OS.\u0275fac=function(a){return new (a||OS)(ud("required"))};
OS.\u0275cmp=Lc({type:OS,selectors:[["onedev-single-select"]],viewQuery:function(a,b){a&1&&Uf(Fkc,7);if(a&2){var c;Yf(c=Zf())&&(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:[bg([{provide:fw,useExisting:Cc(function(){return OS}),multi:!0},{provide:NS,useExisting:Cc(function(){return OS}),multi:!0}]),nf],decls:13,vars:19,consts:[["onedevPopupPanelTrigger","",3,"onedevPopupPanelTriggerDisabled","disabled","onedevPopupPanelTriggerFor","focus","blur","click","closed"],["trigger","onedevPopupPanelTrigger"],[1,"cdk-visually-hidden"],[4,"ngIf","ngIfElse"],["optionTemplateOrTextLabel",""],["textLabel",""],["class","arrow-icon","xmlns","http://www.w3.org/2000/svg","viewBox",
"0 0 24 24",4,"ngIf"],["onedevKeyEventReceiver","",3,"relayOnly"],["panel","onedevPopupPanel"],["tabindex","0",1,"single-select-panel",3,"value","includeEmptyOption","options","optionTemplate","label","showFilterBar","filterFunction","valueChange","selected"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["emptyValue",""],["aria-label","empty"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"arrow-icon"],["d","M7 10l5 5 5-5H7z"]],template:function(a,b){if(a&1){var c=u();E(0,"button",
0,1);M("focus",function(){return b.focused=!0})("blur",function(){return b.focused=!1})("click",function(){v(c);var f=Q(1);return x(f.open())})("closed",function(){b.onTouched()});E(2,"span",2);R(3);G();C(4,oPa,2,4,"ng-container",3)(5,rPa,1,2,"ng-template",null,4,jg)(7,uPa,3,2,"ng-template",null,5,jg)(9,vPa,2,0,"svg",6);G();E(10,"onedev-popup-panel",7,8)(12,"onedev-selectable-list",9);M("valueChange",function(f){return b.onSelectionChange(f)})("selected",function(){v(c);var f=Q(1);return x(f.close())});
G()()}if(a&2){var d=Q(6),e=Q(11);yf("active",b.isActive());D("onedevPopupPanelTriggerDisabled",b.disabled)("disabled",b.disabled)("onedevPopupPanelTriggerFor",e);pf("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());y(3);$f(Hkc(b));y();D("ngIf",b.valueTemplate)("ngIfElse",d);y(5);D("ngIf",b.displayArrowIcon);y();D("relayOnly",!0);y(2);D("value",b.value)("includeEmptyOption",b.includeEmptyOption)("options",b.options)("optionTemplate",b.optionTemplate)("label",b.label)("showFilterBar",b.showFilterBar)("filterFunction",
b.filterFunction)}},dependencies:[dw,lw,HS,MS,IS,JS],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 CPa=function(){return[]},PS=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=PS.prototype;
g.ngOnInit=function(){for(var a=new Map,b=null,c=l(this.issues),d=c.next();!d.done;d=c.next()){var e=d.value;d=e.customFieldMap;e=e.customFieldValueMap;if(!b){b=new Map;for(var f=l(Object.keys(d)),h=f.next();!h.done;h=f.next())h=h.value,b.set(Zh(h),e[h]||void 0)}f=l(b);for(h=f.next();!h.done;h=f.next()){var k=l(h.value);h=k.next().value;k=k.next().value;var q=d[h],t=e[h],w=void 0,z=null==(w=q)?void 0:w.type;if(q)if("REPEATED_DATE"===z||"REPEATED_ENUM"===z||"REPEATED_NUMERIC"===z||"REPEATED_TEXT"===
z){k=this.repeatedCustomFieldsMap.get(h)||new Map;q=0===k.size;t=Ikc(t);w=Array.from(k.keys()).concat(t);w=l(w);for(z=w.next();!z.done;z=w.next())z=z.value,t.includes(z)?k.has(z)||k.set(z,q||null):k.set(z,null);this.repeatedCustomFieldsMap.set(h,k)}else(!t&&void 0!==k||t&&!Th(t,k))&&b.set(h,null);else b.delete(h)}d=l(Object.entries(d));for(e=d.next();!e.done;e=d.next())f=l(e.value),e=f.next().value,f=f.next().value,a.set(Number(e),Uh(f))}this.customFields=Array.from(b.keys()).map(function(F){return a.get(F)}).filter(function(F){return F});
this.customFields=this.customFields.map(function(F){var J=b.get(F.customFieldId);F.hasMultipleValues=null===J;J?F=Object.assign(J,F):F.hasMultipleValues||"ENUM"!==F.type||(F.enumValue="");return F});c=l(this.customFields);for(d=c.next();!d.done;d=c.next())d=d.value,this.originalCustomFields.set(d.customFieldId,Uh(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 sp=function(a){return"bv2-custom-field-"+a.customFieldId+"-label"},Ikc=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()}):[]},APa=function(a){return a?gn(a):null},EPa=function(a,b,c){for(var d=l(a.bulkEditOps),e=d.next();!e.done;e=d.next())e=e.value,e.actions=e.actions.filter(function(w){return w.customFieldValue.customFieldId!==
b});a.bulkEditOps=a.bulkEditOps.filter(function(w){return w.actions.length});if(c.valueChanged){d=l(a.issues);var f=d.next();for(e={};!f.done;e={issueValues$jscomp$1:void 0,action$jscomp$59:void 0},f=d.next()){f=f.value;var h=Tda(f.customFieldValueMap,function(w){return w.customFieldId===b});e.issueValues$jscomp$1=Ikc(h);c.valueMap.forEach(function(w){return function(z,F){z&&!w.issueValues$jscomp$1.includes(F)?w.issueValues$jscomp$1.push(F):!1===z&&(w.issueValues$jscomp$1=w.issueValues$jscomp$1.filter(function(J){return J!==
F}))}}(e));h=a.originalCustomFields.get(b).type;var k=[],q=[];"REPEATED_DATE"==h?k=e.issueValues$jscomp$1.map(function(w){return hn($h(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:k};break;case "REPEATED_ENUM":t.repeatedEnumValue={values:e.issueValues$jscomp$1};break;case "REPEATED_NUMERIC":t.repeatedNumericValue=
{values:q}}e.action$jscomp$59={fieldName:"customField",customFieldValue:t,actionType:kn(t)?"REMOVE":"ADD"};h=a.bulkEditOps.findIndex(function(w){return function(z){return z.actions.some(function(F){return Th(w.action$jscomp$59,F)})}}(e));-1!==h?a.bulkEditOps[h].issueIds.push(f.issueId):a.bulkEditOps.push({actions:[e.action$jscomp$59],issueIds:[f.issueId]})}}},Jkc=function(a){var b=a.customFields.filter(function(k){return!k.type.includes("REPEATED")&&!Th(k,a.originalCustomFields.get(k.customFieldId))}),
c=[];b=l(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d={customFieldId:e.customFieldId};switch(e.type){case "TEXT":d.textValue=e.textValue;break;case "DATE":d.dateValue=e.dateValue||void 0;break;case "ENUM":d.enumValue=e.enumValue;break;case "NUMERIC":var f=void 0;d.numericValue=null!=(f=e.numericValue)?f:void 0}if(e=kn(d))d.textValue="";c.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}if(c.length){var h=a.issues.map(function(k){return k.issueId});b=a.bulkEditOps.findIndex(function(k){a:if(k=
k.issueIds,xa(h)&&xa(k)&&h.length==k.length){for(var q=h.length,t=0;t<q;t++)if(h[t]!==k[t]){k=!1;break a}k=!0}else k=!1;return k});-1!==b?a.bulkEditOps[b].actions=a.bulkEditOps[b].actions.concat(c):a.bulkEditOps.push({actions:c,issueIds:h})}};PS.\u0275fac=function(a){return new (a||PS)(A(DA),A(BA))};
PS.\u0275cmp=Lc({type:PS,selectors:[["b-bulk-custom-field-dialog"]],decls:10,vars:2,consts:[["mat-dialog-title",""],[4,"ngIf"],["class","bv2-create-adv-field",4,"ngFor","ngForOf"],["mat-button","","mat-dialog-close","","type","button",3,"class"],["mat-flat-button","","type","button","color","primary",1,"gmat-button","medium","dialog-primary-action","save",3,"click"],[1,"bv2-create-adv-field"],[1,"bv2-top-field-label"],["matTooltipPosition","right",3,"matTooltip"],[3,"ngIf","ngIfElse"],["multipleValues",
""],[3,"ngSwitch"],["name","customInput","placeholder","no value","type","text",3,"ngModel","ngModelChange",4,"ngSwitchCase"],["step","any","name","customInput","type","number",3,"ngModel","ngModelChange",4,"ngSwitchCase"],[4,"ngSwitchCase"],[3,"value","options","valueChange",4,"ngSwitchCase"],[3,"type","originalValueMap","enumChoices","onSave",4,"ngSwitchDefault"],["name","customInput","placeholder","no value","type","text",3,"ngModel","ngModelChange"],["step","any","name","customInput","type","number",
3,"ngModel","ngModelChange"],[3,"value","required","customAriaLabelledBy","customFormId","valueChange"],[3,"value","options","valueChange"],[3,"type","originalValueMap","enumChoices","onSave"],["title","Clear values",3,"click"]],template:function(a,b){a&1&&(E(0,"h2",0),R(1,"Update custom fields"),G(),E(2,"mat-dialog-content"),C(3,wPa,2,0,"div",1)(4,IPa,8,6,"div",2),G(),E(5,"mat-dialog-actions")(6,"button",3),M("class",function(){return b.dialogRef.close()}),R(7,"Cancel"),G(),E(8,"button",4),M("click",
function(){Jkc(b);b.bulkEditOps.length?b.dialogRef.close(b.bulkEditOps):b.dialogRef.close()}),R(9," Save "),G()());a&2&&(y(3),D("ngIf",0===b.customFields.length),y(),D("ngForOf",b.customFields))},dependencies:[hw,dw,iw,jw,kw,FA,GA,HA,IA,OS,GS,Dg,Qw,Hw,Ow,FS,nA,PC],encapsulation:2});var QS=function(){};QS.\u0275fac=function(a){return new (a||QS)};QS.\u0275mod=Nc({type:QS});QS.\u0275inj=wc({imports:[SH]});var Kkc=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/,Lkc=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/,Mkc=function(a){this.patternParts_=[];this.dateTimeSymbols_=qz;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)};
Mkc.prototype.applyPattern_=function(a){for(var b=!1,c="",d=0;d<a.length;d++){var e=a.charAt(d);if(Kkc.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};Mkc.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)};
Mkc.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("Md`"+f.text.charAt(0));}f=new Nkc;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 k=a;var q=c,t=this.patternParts_[h],w=d;if(null!=t.text.match(Kkc)){if(t=q[0],
Okc(k,q),q[0]>t){k=!0;break a}}else{if(k.indexOf(t.text,q[0])==q[0]){q[0]+=t.text.length;k=!0;break a}if(w&&0==t.text.indexOf(k.substring(q[0]))){q[0]+=k.length-q[0];k=!0;break a}}k=!1}if(k)continue;return 0}if(this.patternParts_[h].abutStart){a:{q=a;t=c;w=h;var z=t[0],F=0;for(k=w;k<this.patternParts_.length;k++){var J=this.patternParts_[k],H=J.count;if(0===H)break;if(k==w&&(H-=F,F++,0==H)){k=0;break a}var O=k>w&&J.numeric,P=t[0];if(!Pkc(this,q,t,J,H,f,!1)||O&&t[0]-P<H)k=w-1,t[0]=z}k-=w}if(0>=k)return 0;
h+=k-1}else if(!Pkc(this,a,c,this.patternParts_[h],0,f,d))return 0}a:{a=e;if(null==b)throw Error("Nd");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=yTb(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 Pkc=function(a,b,c,d,e,f,h){Okc(b,c);if(d.numeric&&0<e&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return RS(b,c,[a.dateTimeSymbols_.ERAS],function(k){return f.era=k}),!0;case "M":case "L":return Qkc(a,b,c,e,d,f);case "E":return RS(b,c,[a.dateTimeSymbols_.WEEKDAYS,a.dateTimeSymbols_.SHORTWEEKDAYS],function(k){return f.dayOfWeek=k});case "B":case "b":return e=[],a=[[].concat(a.dateTimeSymbols_.AMPMS)],e.push("isAm"),e.push("isPm"),b=RS(b,c,a,function(k){return f.dayPeriodIndex=
k},h),f.dayPeriodName=e[f.dayPeriodIndex],h?b:!0;case "a":return b=RS(b,c,[a.dateTimeSymbols_.AMPMS],function(k){return f.ampm=k},h),h?b:!0;case "y":return Rkc(a,b,c,d,e,f);case "Q":return RS(b,c,[a.dateTimeSymbols_.QUARTERS,a.dateTimeSymbols_.SHORTQUARTERS],function(k){f.month=3*k;f.day=1});case "d":return SS(a,b,c,d,e,function(k){f.day=k}),!0;case "S":return Skc(a,b,c,e,f);case "h":case "K":case "H":case "k":return b=SS(a,b,c,d,e,function(k){f.hours="h"===d.text.charAt(0)&&12===k?0:k},h),h?b:!0;
case "m":return b=SS(a,b,c,d,e,function(k){f.minutes=k},h),h?b:!0;case "s":return SS(a,b,c,d,e,function(k){f.seconds=k}),!0;case "z":case "Z":case "v":return Tkc(a,b,c,f);default:return!1}},Rkc=function(a,b,c,d,e,f){var h=c[0];e=TS(a,b,c,e);null===e&&(e=TS(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},Qkc=function(a,b,c,d,e,f){return e.numeric&&SS(a,b,c,
e,d,function(h){f.month=h-1})?!0:RS(b,c,[a.dateTimeSymbols_.MONTHS,a.dateTimeSymbols_.STANDALONEMONTHS,a.dateTimeSymbols_.SHORTMONTHS,a.dateTimeSymbols_.STANDALONESHORTMONTHS],function(h){f.month=h})},Skc=function(a,b,c,d,e){var f=c[0];a=TS(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},Tkc=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=TS(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=TS(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},SS=function(a,b,c,d,e,f,h){h=h||!1;var k=c[0];a=TS(a,b,c,e);if(null===a)return!1;if(h&&c[0]-k<d.count){if(c[0]<b.length)return!1;a*=Math.pow(10,d.count-(c[0]-k))}f(a);return!0},RS=function(a,b,c,d,e){e=e||!1;for(var f,h=0;h<c.length;h++){f=b;for(var k=c[h],q=e,t=0,w=null,z=a.substring(f[0]).toLowerCase(),F=0;F<k.length;F++){var J=k[F].toLowerCase();
if(q&&0==J.indexOf(z)){t=z.length;w=F;break}k[F].length>t&&0==z.indexOf(J)&&(t=k[F].length,w=F)}null!==w&&(f[0]+=t);f=w;if(null!==f)return d(f),!0}return!1},Okc=function(a,b){(a=a.substring(b[0]).match(Lkc))&&(b[0]+=a[0].length)},TS=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)},Nkc=function(){};Nkc.prototype.ambiguousYear=!1;var sTb=Array(31).fill(0).map(function(a,b){return""+(b+1)}),US=function(){var a=Hy.apply(this,arguments)||this;a.locale=qz;return a};X(US,Hy);US.prototype.setLocale=function(){throw Error("Od");};US.prototype.getYear=function(a){return a.getYear()};US.prototype.getMonth=function(a){return a.getMonth()};US.prototype.getDate=function(a){return a.getDate()};var rTb=function(a,b){switch(b){case "long":return a.locale.WEEKDAYS;case "narrow":return a.locale.NARROWWEEKDAYS;default:return a.locale.SHORTWEEKDAYS}};
US.prototype.getFirstDayOfWeek=function(){return(this.locale.FIRSTDAYOFWEEK+1)%7};US.prototype.clone=function(a){return a.clone()};var lz=function(a,b,c){return new qn(a,b,c)};US.prototype.parse=function(a,b){if(""===a)return null;b=new Mkc(a.match(/\d{3,}/)?b:b.replace("yyyy","yy"));var c=new qn(new Date(a));b.parse(a,c);return c};US.prototype.format=function(a,b){if(!this.isValid(a))throw Error("Pd");return(new sz(b)).format(a)};
var jz=function(a,b){a=a.clone();a.add(new rz(b));return a},kz=function(a,b){a=a.clone();a.add(new rz(0,b));return a},iz=function(a,b){a=a.clone();a.add(new rz(0,0,b));return a};US.prototype.isValid=function(a){return!isNaN(a.getTime())};US.prototype.invalid=function(){return new qn(NaN)};US.prototype.sameDate=function(a,b){return a&&b?(new Yh(a)).equals(b):!1};US.\u0275fac=function(){var a;return function(b){return(a||(a=zd(US)))(b||US)}}();US.\u0275prov=vc({token:US,factory:US.\u0275fac});var Ukc={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"},VS=Ukc;VS=Ukc;var WS=qz.DATEFORMATS[3];WS=WS.replace(/yyyy/,"yy").replace(/yy/,"yyyy");"M/d/yyyy"===WS&&(WS="MM/dd/yyyy");var Vkc={parse:{dateInput:WS},display:{dateInput:WS,monthYearLabel:VS.YEAR_MONTH_ABBR,dateA11yLabel:VS.MONTH_DAY_YEAR_MEDIUM,monthYearA11yLabel:VS.YEAR_MONTH_FULL}};var XS=function(){};XS.\u0275fac=function(a){return new (a||XS)};XS.\u0275mod=Nc({type:XS});XS.\u0275inj=wc({providers:[{provide:Hy,useClass:US},{provide:Ly,useValue:Vkc}],imports:[SH,$C,HD,EP,Bx]});var YS=function(){};YS.\u0275fac=function(a){return new (a||YS)};YS.\u0275mod=Nc({type:YS});YS.\u0275inj=wc({imports:[XS,QS,$C,SH]});var Wkc=new Xc("GMAT_LIST_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var ZS=function(a){this.options=a};ZS.\u0275fac=function(a){return new (a||ZS)(A(Wkc))};ZS.\u0275dir=Qc({type:ZS,selectors:[["mat-list"],["mat-action-list"],["mat-nav-list"],["mat-selection-list"]],hostVars:2,hostBindings:function(a,b){a&2&&yf("gmat-mdc-list",!b.options.disableGmatStyle)}});var Xkc=new Xc("ListOption");var $S=function(a){this._elementRef=a};$S.\u0275fac=function(a){return new (a||$S)(A(Ad))};$S.\u0275dir=Qc({type:$S,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"],standalone:!0});var aT=function(a){this._elementRef=a};aT.\u0275fac=function(a){return new (a||aT)(A(Ad))};aT.\u0275dir=Qc({type:aT,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"],standalone:!0});
var bT=function(a){this._listOption=a};bT.prototype._isAlignedAtStart=function(){var a;return!this._listOption||"after"===(null==(a=this._listOption)?void 0:a._getTogglePosition())};bT.\u0275fac=function(a){return new (a||bT)(A(Xkc,8))};bT.\u0275dir=Qc({type:bT,hostVars:4,hostBindings:function(a,b){a&2&&yf("mdc-list-item__start",b._isAlignedAtStart())("mdc-list-item__end",!b._isAlignedAtStart())},standalone:!0});var cT=function(){bT.apply(this,arguments)};X(cT,bT);
cT.\u0275fac=function(){var a;return function(b){return(a||(a=zd(cT)))(b||cT)}}();cT.\u0275dir=Qc({type:cT,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],standalone:!0,features:[nf]});var dT=function(){bT.apply(this,arguments)};X(dT,bT);dT.\u0275fac=function(){var a;return function(b){return(a||(a=zd(dT)))(b||dT)}}();dT.\u0275dir=Qc({type:dT,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],standalone:!0,features:[nf]});var Ykc=new Xc("MAT_LIST_CONFIG");var eT=function(){this._isNonInteractive=!0;this._disabled=this._disableRipple=!1;this._defaultOptions=Gc(Ykc,{optional:!0})};Vg.Object.defineProperties(eT.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=Og(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Og(a)}}});eT.\u0275fac=function(a){return new (a||eT)};
eT.\u0275dir=Qc({type:eT,hostVars:1,hostBindings:function(a,b){a&2&&pf("aria-disabled",b.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},standalone:!0});
var fT=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 W.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=fT.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 Qy(this,this._ngZone,this._hostElement,this._platform);WSb(this._rippleRenderer,this._hostElement)};g._monitorProjectedLinesAndTitle=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._subscriptions.add((0,W.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())})};
Vg.Object.defineProperties(fT.prototype,{lines:{configurable:!0,enumerable:!0,set:function(a){this._explicitLines=Rg(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=Og(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){var a;return this._disabled||!(null==(a=this._listBase)||!a.disabled)},
set:function(a){this._disabled=Og(a)}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disableRipple||!!this.rippleConfig.disabled}}});fT.\u0275fac=function(a){return new (a||fT)(A(Ad),A(Ge),A(eT,8),A(fx),A(Ry,8),A(Su,8))};
fT.\u0275dir=Qc({type:fT,contentQueries:function(a,b,c){a&1&&(Vf(c,cT,4),Vf(c,dT,4));if(a&2){var d;Yf(d=Zf())&&(b._avatars=d);Yf(d=Zf())&&(b._icons=d)}},hostVars:4,hostBindings:function(a,b){a&2&&(pf("aria-disabled",b.disabled)("disabled",b._isButtonElement&&b.disabled||null),yf("mdc-list-item--disabled",b.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"},standalone:!0});var Zkc=["unscopedContent"],$kc=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],alc=new Xc("SelectionList"),gT=function(a,b,c,d,e,f,h){fT.call(this,a,b,c,d,f,h);this._selectionList=c;this._changeDetectorRef=e;this.selectedChange=new zv;this.togglePosition="after";this._inputsInitialized=this._selected=!1};X(gT,fT);gT.\u0275dir=fT.\u0275dir;g=gT.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;fT.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+"")};
Vg.Object.defineProperties(gT.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=Og(a);a!==this._selected&&(this._setSelected(a),(a||this._selectionList.multiple)&&this._selectionList._reportValueChange())}}});gT.\u0275fac=function(a){return new (a||gT)(A(Ad),A(Ge),A(alc),A(fx),A(Uu),A(Ry,8),A(Su,8))};
gT.\u0275cmp=Lc({type:gT,selectors:[["mat-list-option"]],contentQueries:function(a,b,c){a&1&&(Vf(c,aT,5),Vf(c,$S,5));if(a&2){var d;Yf(d=Zf())&&(b._lines=d);Yf(d=Zf())&&(b._titles=d)}},viewQuery:function(a,b){a&1&&Uf(Zkc,5);if(a&2){var c;Yf(c=Zf())&&(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&&M("blur",function(){return b._handleBlur()})("click",function(){return b._toggleOnInteraction()});
a&2&&(pf("aria-selected",b.selected),yf("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:[bg([{provide:fT,
useExisting:gT},{provide:Xkc,useExisting:gT}]),nf,dg],ngContentSelectors:["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"],decls:20,vars:4,consts:[["icons",""],["checkbox",""],["radio",""],["class","mdc-list-item__start mat-mdc-list-option-checkbox-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],["class","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"],[1,"mdc-list-item__start",
"mat-mdc-list-option-checkbox-before"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[1,"mdc-list-item__end"]],template:function(a,b){a&1&&(Lf($kc),C(0,JPa,1,0,"ng-template",null,0,jg)(2,KPa,6,4,"ng-template",null,1,jg)(4,LPa,5,4,"ng-template",null,2,jg)(6,NPa,2,1,"span",3)(7,PPa,2,1)(8,RPa,1,1,null,4),E(9,"span",5),Mf(10),Mf(11,1),E(12,"span",6,7),M("cdkObserveContent",function(){return b._updateItemLines(!0)}),Mf(14,2),G()(),C(15,TPa,2,1,"span",8)(16,VPa,2,1)(17,XPa,1,1,null,4),
Mf(18,3),I(19,"div",9));a&2&&(y(6),Cf(6,b._hasCheckboxAt("before")?6:b._hasRadioAt("before")?7:-1),y(2),Cf(8,b._hasIconsOrAvatarsAt("before")?8:-1),y(7),Cf(15,b._hasCheckboxAt("after")?15:b._hasRadioAt("after")?16:-1),y(2),Cf(17,b._hasIconsOrAvatarsAt("after")?17:-1))},dependencies:[lw,yx],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:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.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:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.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:#000;border-color:var(--mdc-radio-disabled-unselected-icon-color, #000)}.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 Xc("MatList");new Xc("MatNavList");var blc={provide:fw,useExisting:Cc(function(){return hT}),multi:!0},clc=function(a,b){this.source=a;this.options=b},hT=function(a,b){eT.call(this);var c=this;this._element=a;this._ngZone=b;this._initialized=!1;this._destroyed=new W.Subject;this._onChange=function(){};this.selectionChange=new zv;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 my(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(k){return k._elementRef.nativeElement.contains(f.target)});-1<h?c._setActiveOption(h):c._resetActiveOption()}};this._isNonInteractive=!1};X(hT,eT);hT.\u0275dir=eT.\u0275dir;g=hT.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 clc(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(ef(this._destroyed)).subscribe(function(b){for(var c=l(b.added),d=c.next();!d.done;d=c.next())d.value.selected=!0;b=l(b.removed);for(c=b.next();!c.done;c=b.next())c.value.selected=!1;a._containsFocus()||a._resetActiveOption()})};
g._setOptionsFromValues=function(a){var b=this;this.options.forEach(function(c){return c._setSelected(!1)});a.forEach(function(c){var d=b.options.find(function(e){return e.selected?!1:b.compareWith(e.value,c)});d&&d._setSelected(!0)})};g._getSelectedOptionValues=function(){return this.options.filter(function(a){return a.selected}).map(function(a){return a.value})};g._markOptionsForCheck=function(){this.options&&this.options.forEach(function(a){return a._markForCheck()})};
g._setAllOptionsSelected=function(a,b){var c=[];this.options.forEach(function(d){b&&d.disabled||!d._setSelected(a)||c.push(d)});c.length&&this._reportValueChange();return c};
g._handleKeydown=function(a){var b=this._keyManager.activeItem;if(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||!Mg(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=Jx(Kx(Nx(Ox(new Rx(this._items)))),function(){return a.disabled});this._resetActiveOption();this._keyManager.change.subscribe(function(b){return a._setActiveOption(b)});this._items.changes.pipe(ef(this._destroyed)).subscribe(function(){var b=a._keyManager.activeItem;b&&a._items.toArray().indexOf(b)||a._resetActiveOption()})};
g._setActiveOption=function(a){this._items.forEach(function(b,c){return b._setTabindex(c===a?0:-1)});Px(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=Kg();return a&&this._element.nativeElement.contains(a)};
Vg.Object.defineProperties(hT.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){a=Og(a);a!==this._multiple&&(this._multiple=a,this.selectedOptions=new my(this._multiple,this.selectedOptions.selected))}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=Og(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._selectionListDisabled},
set:function(a){if(this._selectionListDisabled=Og(a)){var b;null==(b=this._keyManager)||b.setActiveItem(-1)}}},options:{configurable:!0,enumerable:!0,get:function(){return this._items}}});hT.\u0275fac=function(a){return new (a||hT)(A(Ad),A(Ge))};
hT.\u0275cmp=Lc({type:hT,selectors:[["mat-selection-list"]],contentQueries:function(a,b,c){a&1&&Vf(c,gT,5);if(a&2){var d;Yf(d=Zf())&&(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&&M("keydown",function(c){return b._handleKeydown(c)});a&2&&pf("aria-multiselectable",b.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",
disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],standalone:!0,features:[bg([blc,{provide:eT,useExisting:hT},{provide:alc,useExisting:hT}]),nf,ed,dg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Lf(),Mf(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__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__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__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)}.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:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}\n'],
encapsulation:2,changeDetection:0});var iT=function(){};iT.\u0275fac=function(a){return new (a||iT)};iT.\u0275mod=Nc({type:iT});iT.\u0275inj=wc({imports:[zx,uw,Gy,Vy,Wy,EP]});var jT=function(){};jT.\u0275fac=function(a){return new (a||jT)};jT.\u0275mod=Nc({type:jT});jT.\u0275inj=wc({imports:[iT]});var kT=function(){};kT.\u0275fac=function(a){return new (a||kT)};kT.\u0275mod=Nc({type:kT});kT.\u0275inj=wc({imports:[SH,IC,EP,jT,DP,$C,ID,kN,dx,YS]});var lT=function(){};lT.\u0275fac=function(a){return new (a||lT)};lT.\u0275mod=Nc({type:lT});lT.\u0275inj=wc({imports:[uw]});var mT=function(){};mT.\u0275fac=function(a){return new (a||mT)};mT.\u0275mod=Nc({type:mT});mT.\u0275inj=wc({imports:[uw,Fy,Zx,$C,JD,Bx,KF]});var nT=function(){};nT.\u0275fac=function(a){return new (a||nT)};nT.\u0275mod=Nc({type:nT});nT.\u0275inj=wc({imports:[uw,$C,LS]});var oT=function(){};oT.\u0275fac=function(a){return new (a||oT)};oT.\u0275mod=Nc({type:oT});oT.\u0275inj=wc({imports:[uw,QC,$C,dx,lT,nT,mT]});var pT=function(){};pT.\u0275fac=function(a){return new (a||pT)};pT.\u0275mod=Nc({type:pT});pT.\u0275inj=wc({imports:[SH,JA,oT,kT,dx,YS,$C,JD]});var qT=function(){};qT.prototype.transform=function(a){if(Bn(a))return a};qT.\u0275fac=function(a){return new (a||qT)};qT.\u0275pipe=Rc({name:"omitObfuscatedEmail",type:qT,pure:!0});var rT=function(a){this.internalArray_=m(a)};X(rT,n);rT.prototype.getDisplayName=function(){return Zi(this,1)};rT.prototype.setDisplayName=function(a){return Lh(this,1,a)};rT.prototype.getPhotoUrl=function(){return Zi(this,2)};var sT=function(a){this.internalArray_=m(a,0,sT.messageId)};X(sT,n);sT.messageId="b.UserProfileBatchResponse";var tT=function(a,b){var c=this;this.userProfilesBatchApiConfig=a;this.batchApiAdapter=b;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.userProfilesBatchApiConfig);this.memoizingUserProfileMap=new i5b(function(d){return c.batchAdaptedGet(d)},100)};tT.prototype.get=function(a){return this.memoizingUserProfileMap.get(a)};tT.\u0275fac=function(a){return new (a||tT)(p(uT),p(jH))};tT.\u0275prov=vc({token:tT,factory:tT.\u0275fac,providedIn:"root"});var uT=function(a){this.executor=a};
uT.prototype.call=function(a){return this.executor.get({url:"action/user_profiles",options:{params:{usernames:[].concat(r(a)).join(",")}},responseConstructor:sT}).pipe(Pe(function(){return(0,W.of)(new sT)}))};uT.prototype.split=function(a,b){return(a=Kb(b,1,rT,ub).get(a))?{photoUrl:a.getPhotoUrl(),highResolutionPhotoUrl:Zi(a,3),displayName:a.getDisplayName()}:void 0};uT.\u0275fac=function(a){return new (a||uT)(p(QD))};uT.\u0275prov=vc({token:uT,factory:uT.\u0275fac,providedIn:"root"});var vT=function(a){this.refreshMonitor=a;this.user="";this.coinonly=null};vT.\u0275fac=function(a){return new (a||vT)(A(SI))};vT.\u0275cmp=Lc({type:vT,selectors:[["b-availability-chip"]],inputs:{user:"user",coinonly:"coinonly"},decls:1,vars:1,consts:[[3,"refreshable"],[3,"user"]],template:function(a,b){a&1&&C(0,YPa,1,2,"ng-template",0);a&2&&D("refreshable",b.refreshMonitor.getObservable())},dependencies:[ZL,gN],styles:["waldo-availability-chip[_ngcontent-%COMP%] { margin-left: 5px; }"],changeDetection:0});var wT=function(a,b){var c=this;this.session=a;this.userProfiles=b;this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1;this.email$=new W.ReplaySubject(1);this.showEmail$=new W.BehaviorSubject(!1);this.isNonObfuscatedEmail=Bn;this.userProfile$=this.email$.pipe(df(function(d){return c.userProfiles.get(d)})).pipe(cf(void 0));this.content$=(0,W.combineLatest)([this.email$,this.userProfile$,this.showEmail$]).pipe(B(function(d){var e=l(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,W.combineLatest)([this.email$,this.content$]).pipe(B(function(d){var e=l(d);d=e.next().value;e=e.next().value;return{email:d,content:e}}));this.enableWaldoAvailability=tE(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};Vg.Object.defineProperties(wT.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)}}});
wT.\u0275fac=function(a){return new (a||wT)(A(nt),A(tT))};
wT.\u0275cmp=Lc({type:wT,selectors:[["b-user-display-name"]],inputs:{availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled",email:"email",showEmail:"showEmail"},decls:2,vars:3,consts:[[4,"ngIf"],["displayName",""],[4,"ngIf","ngIfElse"],["coinonly","",3,"user"],["role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"]],template:function(a,b){a&1&&(C(0,cQa,4,2,"ng-container",
0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.vars$))},dependencies:[dw,lw,vT,tM,LF,QF,mw],encapsulation:2,changeDetection:0});var xT=function(){this.model={};this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1};xT.prototype.getDisplayString=function(){return Gi(this.model)};var dlc=function(a){var b=a.model;return(b&&b.getUserGaiaStatus?Isa(Ji(b)):Isa(b))&&!!a.getEmailAddress()};xT.prototype.getEmailAddress=function(){return Ki(this.model)||""};xT.\u0275fac=function(a){return new (a||xT)};
xT.\u0275cmp=Lc({type:xT,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&&(K(0),C(1,dQa,1,4,"b-user-display-name",0)(2,eQa,2,1,"span",
1),L());a&2&&(y(),D("ngIf",dlc(b)),y(),D("ngIf",!dlc(b)))},dependencies:[dw,wT],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 hQa={"alertmanager-buganizer-handler@prod.google.com":"https://g3doc.corp.google.com/production/borg/alertmanager/g3doc/templates/AlertManager-darkred.png","bugjuggler-beta@google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head","bugjuggler-beta@prod.google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head","bugjuggler@google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head","bugjuggler@prod.google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head",
"koalassistant@prod.google.com":"https://g3doc.corp.google.com/platforms/networking/orion/octave/g3doc/images/koalassistant.png?cl=head","modem-explorer-jobs@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-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 yT=function(a,b){var c=this;this.userProfiles=a;this.activeSession=b;this.email$=new W.ReplaySubject(1);this.isNonObfuscatedEmail=Bn;this.userProfile$=this.email$.pipe(df(function(d){return d?c.userProfiles.get(d).pipe(cf(void 0)):(0,W.of)(void 0)}));this.vars$=(0,W.combineLatest)([this.email$,this.userProfile$]).pipe(B(function(d){var e=l(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,k;f?k=void 0:k=e.highResolutionPhotoUrl?
e.highResolutionPhotoUrl+" 2x":e.photoUrl+" 1x";return{email:d,showImage:!f,src:h,srcset:k}}))},lQa=function(a,b){return!b||a.activeSession.isExternalSession()?!1:void 0!==hQa[b]};
Vg.Object.defineProperties(yT.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){Bn(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}}});yT.\u0275fac=function(a){return new (a||yT)(A(tT),A(nt))};
yT.\u0275cmp=Lc({type:yT,selectors:[["b-user-image"]],hostVars:6,hostBindings:function(a,b){a&2&&yf("tiny",b.tiny)("small",b.small)("medium",b.medium)},inputs:{email:"email",size:"size"},decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["imageDisplay",""],["role","img","aria-label","user avatar",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],["class","user-avatar material",3,"anonymous",4,"ngIf"],["alt","",1,"user-avatar","material","robo-avatar",3,"src"],[1,"user-avatar",
"material"],["alt","",3,"src","srcset",4,"ngIf"],["alt","",3,"src","srcset"]],template:function(a,b){a&1&&(C(0,nQa,4,2,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.vars$))},dependencies:[dw,lw,tM,LF,QF,mw],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 zT=function(a,b,c,d,e,f,h){var k=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){k.history=q}).catch(function(q){d.errorHandler(null,q)}).finally(function(){k.isLoading=!1;k.cdr.detectChanges()})};zT.prototype.trackByIndex=function(a){return a};
zT.prototype.startFeedback=function(){this.userFeedback.startFeedback()};zT.\u0275fac=function(a){return new (a||zT)(A(EF,2),A(EE),A(DA),A(AG),A(Aw),A(iI),A(gS))};
zT.\u0275cmp=Lc({type:zT,selectors:[["comment-history-dialog"]],features:[bg([EF])],decls:14,vars:4,consts:[["mat-dialog-title",""],[1,"diff-checkbox"],[3,"checked","change"],[1,"dialog-feedback",3,"click"],[1,"float-clear"],["class","bv2-view-loading",4,"ngIf"],["class","comment-history-list",4,"ngIf"],["mat-button","","mat-dialog-close",""],[1,"bv2-view-loading"],[1,"comment-history-list"],["class","comment-version",3,"comment-version-open",4,"ngFor","ngForOf","ngForTrackBy"],[1,"comment-version"],
[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"comment-version-header",3,"click"],[1,"bv2-event-user-name",3,"model"],["mode","datetime",3,"timestamp"],["class","muted float-right float-clear",4,"ngIf"],[4,"ngIf"],[1,"muted","float-right","float-clear"],["class","type-xs",3,"innerHtml",4,"ngIf"],["class","type-xs",4,"ngIf"],[1,"type-xs",3,"innerHtml"],[1,"type-xs"],[1,"comment-version-email"],[3,"email"],[3,"id","click"],["class","comment-version-preview",4,"ngIf"],["class",
"comment-version-preview deleted",4,"ngIf"],["class","comment-version-restricted",4,"ngIf"],[1,"comment-version-preview"],[1,"comment-version-preview","deleted"],[1,"comment-version-restricted"],["class","comment-version-content deleted",4,"ngIf"],["class","comment-version-content",3,"codefont","innerHtml",4,"ngIf"],[1,"comment-version-content","deleted"],[1,"comment-version-content",3,"innerHtml"]],template:function(a,b){a&1&&(E(0,"h2",0),R(1),G(),E(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),M("change",function(c){return b.diffView=c.checked}),R(5," Show Diff "),G()(),E(6,"a",3),M("click",function(){return b.startFeedback()}),R(7,"Feedback"),G(),I(8,"br",4),C(9,oQa,2,0,"div",5)(10,DQa,2,2,"ul",6),G(),E(11,"mat-dialog-actions")(12,"button",7),R(13,"Close"),G()());a&2&&(y(),S("History for Comment #",b.commentNumber,""),y(3),D("checked",b.diffView),y(5),D("ngIf",b.isLoading),y(),D("ngIf",!b.isLoading))},dependencies:[hw,dw,AS,WE,nA,FA,GA,HA,IA,rM,HQ,yT,xT,mw,$K,qT],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 AT=function(){};AT.\u0275fac=function(a){return new (a||AT)};AT.\u0275mod=Nc({type:AT});AT.\u0275inj=wc({imports:[$L,SH,jN]});var BT=function(a){this.session=a;this.isNonObfuscatedEmail=Bn;this.email="";this.withProfile=!0;this.enableWaldoAvailability=tE(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};BT.\u0275fac=function(a){return new (a||BT)(A(nt))};
BT.\u0275cmp=Lc({type:BT,selectors:[["b-user-email"]],inputs:{email:"email",withProfile:"withProfile"},decls:6,vars:4,consts:[[1,"bv2-email-with-profile-container"],["class","bv2-email-with-profile-avatar",3,"email",4,"ngIf"],[4,"ngIf","ngIfElse"],["emailDisplay",""],["class","bv2-email-with-profile-waldo",4,"ngIf"],[1,"bv2-email-with-profile-avatar",3,"email"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],[1,"bv2-email-with-profile-waldo"],["coinonly",
"",3,"user"]],template:function(a,b){a&1&&(E(0,"span",0),C(1,EQa,1,1,"b-user-image",1)(2,GQa,6,3,"ng-container",2)(3,HQa,2,1,"ng-template",null,3,jg)(5,IQa,2,1,"span",4),G());if(a&2){var c=Q(4);y();D("ngIf",b.withProfile);y();D("ngIf",b.isNonObfuscatedEmail(b.email))("ngIfElse",c);y(3);D("ngIf",b.enableWaldoAvailability)}},dependencies:[dw,lw,vT,tM,LF,QF,yT],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 CT=function(a,b,c){Y.call(this);var d=this;this.teamsService=a;this.session=b;this.principalTypes=c;this.teamId="";this.enableGroupIcon=this.enableSmallChip=!1;this.providedTeamId$=new W.ReplaySubject(1);this.providedUser$=new W.ReplaySubject(1);this.providedEmail$=new W.ReplaySubject(1);this.isNonObfuscatedEmail=Bn;this.isGroup=!1;this.fetchedTeam$=this.providedTeamId$.pipe(df(function(e){return RJ(d.teamsService,e)}));this.detailedUserType$=this.providedUser$.pipe(B(function(e){e=e?e&&e.getUserGaiaStatus?
e.getAliasesList(Li):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"}),cf("NO_DETAILED_TYPE"));this.isTeamMember$=(0,W.combineLatest)([this.providedTeamId$,this.providedEmail$]).pipe(df(function(e){var f=l(e);e=f.next().value;f=f.next().value;return G7b(d.teamsService,
e,f)}),cf(!1),Pe(function(){return(0,W.of)(!1)}));this.teamUser$=this.fetchedTeam$.pipe(B(function(e){return"Member of "+e.name}));this.groupMembershipType$=(0,W.combineLatest)([this.detailedUserType$,this.isTeamMember$]).pipe(B(function(e){var f=l(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=tE(this.session,"enableWaldoAvailability")&&this.session.isInternalSession();
this.userTypeClass$=this.groupMembershipType$.pipe(B(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(B(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(B(function(e){return e&&
"INTERNAL_NON_TEAM_MEMBER"!==e}));this.iconName$=this.groupMembershipType$.pipe(B(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(gf(this.teamUser$),B(function(e){var f=l(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""}))};X(CT,Y);CT.\u0275dir=Y.\u0275dir;CT.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.providedEmail$.subscribe(function(){a.enableGroupIcon&&pK(a.principalTypes,a.email,!1).then(function(b){a.isGroup="GROUP"===b.principalType})}))};CT.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)};
CT.\u0275fac=function(a){return new (a||CT)(A(QJ),A(nt),A(oK))};
CT.\u0275cmp=Lc({type:CT,selectors:[["b-user-membership-chip"]],inputs:{user:"user",email:"email",teamId:"teamId",enableSmallChip:"enableSmallChip",enableGroupIcon:"enableGroupIcon"},features:[nf,ed],decls:11,vars:13,consts:[[3,"ngClass"],[4,"ngIf"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled",4,"ngIf","ngIfElse"],["smallChipContents",""],[3,"svgIcon","matTooltip",4,"ngIf"],["name","group_24px","size","small",4,"ngIf","ngIfElse"],["userImage",""],["name","group_24px","size","small"],
["size","tiny",3,"email"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled"],[4,"ngIf","ngIfElse"],["emailDisplay",""],["tabindex","0","role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],[1,"user-chip-name"],[3,"svgIcon","matTooltip"],["coinonly","",3,"user"]],template:function(a,b){a&1&&(E(0,"span",0),T(1,"async"),E(2,"span",0),T(3,"async"),C(4,LQa,4,2,"ng-container",1)(5,MQa,1,3,"b-user-display-name",2)(6,QQa,3,2,"ng-template",
null,3,jg)(8,RQa,3,6,"mat-icon",4),T(9,"async"),G()(),C(10,SQa,2,1,"ng-container",1));if(a&2){var c=Q(7),d,e;D("ngClass",null!==(d=V(1,7,b.userTypeClass$))&&void 0!==d?d:"");y(2);D("ngClass",null!==(e=V(3,9,b.userChipType$))&&void 0!==e?e:"");y(2);D("ngIf",b.enableSmallChip);y();D("ngIf",!b.enableSmallChip)("ngIfElse",c);y(3);D("ngIf",V(9,11,b.shouldShowIcon$));y(2);D("ngIf",b.enableWaldoAvailability&&!b.enableSmallChip)}},dependencies:[gw,dw,lw,hB,vT,yP,PC,tM,LF,QF,yT,wT,mw],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 DT=function(){};DT.\u0275fac=function(a){return new (a||DT)};DT.\u0275mod=Nc({type:DT});DT.\u0275inj=wc({imports:[SH,AT,DP,JD,bN,cN,aN]});var ET=function(){};ET.\u0275fac=function(a){return new (a||ET)};ET.\u0275mod=Nc({type:ET});ET.\u0275inj=wc({imports:[SH,QS,kN,$C,JA,bN,UR,kR,DT]});var TQa=function(){},tp=function(a,b,c,d,e){"undefined"==typeof e&&(e=(new Date).getTime()+1E3);if(null==b||null==c)throw Error("Qd");if(b==c)return b?[[0,b]]:[];"undefined"==typeof d&&(d=!0);var f=elc(b,c),h=b.substring(0,f);b=b.substring(f);c=c.substring(f);f=flc(b,c);var k=b.substring(b.length-f);b=b.substring(0,b.length-f);c=c.substring(0,c.length-f);b=glc(a,b,c,d,e);h&&b.unshift([0,h]);k&&b.push([0,k]);hlc(a,b);return b},glc=function(a,b,c,d,e){if(!b)return[[1,c]];if(!c)return[[-1,b]];var f=
b.length>c.length?b:c,h=b.length>c.length?c:b,k=f.indexOf(h);if(-1!=k)return a=[[1,f.substring(0,k)],[0,h],[1,f.substring(k+h.length)]],b.length>c.length&&(a[0][0]=a[2][0]=-1),a;if(1==h.length)return[[-1,b],[1,c]];if(f=ilc(b,c))return c=f[1],h=f[3],b=f[4],f=tp(a,f[0],f[2],d,e),a=tp(a,c,h,d,e),f.concat([[0,b]],a);if(d&&100<b.length&&100<c.length){b=jlc(b,c);c=b.lineArray;b=tp(a,b.chars1,b.chars2,!1,e);for(d=0;d<b.length;d++){f=b[d][1];h=[];for(k=0;k<f.length;k++)h[k]=c[f.charCodeAt(k)];b[d][1]=h.join("")}UQa(a,
b);b.push([0,""]);f=d=c=0;for(k=h="";c<b.length;){switch(b[c][0]){case 1:f++;k+=b[c][1];break;case -1:d++;h+=b[c][1];break;case 0:if(1<=d&&1<=f){b.splice(c-d-f,d+f);c=c-d-f;d=tp(a,h,k,!1,e);for(f=d.length-1;0<=f;f--)b.splice(c,0,d[f]);c+=d.length}d=f=0;k=h=""}c++}b.pop();a=b}else a:{d=b.length;f=c.length;h=Math.ceil((d+f)/2);k=2*h;for(var q=Array(k),t=Array(k),w=0;w<k;w++)q[w]=-1,t[w]=-1;q[h+1]=0;t[h+1]=0;w=d-f;for(var z=0!=w%2,F=0,J=0,H=0,O=0,P=0;P<h&&!((new Date).getTime()>e);P++){for(var U=-P+
F;U<=P-J;U+=2){var Z=h+U;var la=U==-P||U!=P&&q[Z-1]<q[Z+1]?q[Z+1]:q[Z-1]+1;for(var oa=la-U;la<d&&oa<f&&b.charAt(la)==c.charAt(oa);)la++,oa++;q[Z]=la;if(la>d)J+=2;else if(oa>f)F+=2;else if(z&&(Z=h+w-U,0<=Z&&Z<k&&-1!=t[Z])){var Fa=d-t[Z];if(la>=Fa){a=klc(a,b,c,la,oa,e);break a}}}for(U=-P+H;U<=P-O;U+=2){Z=h+U;Fa=U==-P||U!=P&&t[Z-1]<t[Z+1]?t[Z+1]:t[Z-1]+1;for(la=Fa-U;Fa<d&&la<f&&b.charAt(d-Fa-1)==c.charAt(f-la-1);)Fa++,la++;t[Z]=Fa;if(Fa>d)O+=2;else if(la>f)H+=2;else if(!z&&(Z=h+w-U,0<=Z&&Z<k&&-1!=q[Z]&&
(la=q[Z],oa=h+la-Z,Fa=d-Fa,la>=Fa))){a=klc(a,b,c,la,oa,e);break a}}}a=[[-1,b],[1,c]]}return a},klc=function(a,b,c,d,e,f){var h=b.substring(d),k=c.substring(e);b=tp(a,b.substring(0,d),c.substring(0,e),!1,f);a=tp(a,h,k,!1,f);return b.concat(a)},jlc=function(a,b){function c(h){for(var k="",q=0,t=-1,w=d.length;t<h.length-1;){t=h.indexOf("\n",q);-1==t&&(t=h.length-1);var z=h.substring(q,t+1);(e.hasOwnProperty?e.hasOwnProperty(z):void 0!==e[z])?k+=String.fromCharCode(e[z]):(w==f&&(z=h.substring(q),t=h.length),
k+=String.fromCharCode(w),e[z]=w,d[w++]=z);q=t+1}return k}var d=[],e={};d[0]="";var f=4E4;a=c(a);f=65535;b=c(b);return{chars1:a,chars2:b,lineArray:d}},elc=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},flc=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},llc=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++}},ilc=function(a,b){function c(k,q,t){for(var w=k.substring(t,t+Math.floor(k.length/4)),z=-1,F="",J,H,O,P;-1!=(z=q.indexOf(w,z+1));){var U=
elc(k.substring(t),q.substring(z)),Z=flc(k.substring(0,t),q.substring(0,z));F.length<Z+U&&(F=q.substring(z-Z,z)+q.substring(z,z+U),J=k.substring(0,t-Z),H=k.substring(t+U),O=q.substring(0,z-Z),P=q.substring(z+U))}return 2*F.length>=k.length?[J,H,O,P,F]: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]]},UQa=function(a,b){for(var c=!1,d=[],e=0,f=null,h=0,k=0,q=0,t=0,w=0;h<b.length;)0==b[h][0]?(d[e++]=h,k=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(k,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=k=0,f=null,c=!0)),h++;c&&hlc(a,b);mlc(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=llc(a,c);e=llc(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++}},mlc=function(a){function b(z,F){if(!z||!F)return 6;var J=z.charAt(z.length-1),H=F.charAt(0),O=J.match(nlc),P=H.match(nlc),U=O&&J.match(olc),Z=P&&H.match(olc);J=U&&J.match(plc);
H=Z&&H.match(plc);z=J&&z.match(qlc);F=H&&F.match(rlc);return z||F?5:J||H?4:O&&!U&&Z?3:U||Z?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=flc(d,e);if(h){var k=e.substring(e.length-h);d=d.substring(0,d.length-h);e=k+e.substring(0,e.length-h);f=k+f}h=d;k=e;for(var q=f,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,k=e,q=f)}a[c-1][1]!=h&&(h?a[c-1][1]=
h:(a.splice(c-1,1),c--),a[c][1]=k,q?a[c+1][1]=q:(a.splice(c+1,1),c--))}c++}},nlc=/[^a-zA-Z0-9]/,olc=/\s/,plc=/[\r\n]/,qlc=/\n\r?\n$/,rlc=/^\r?\n\r?\n/,hlc=function(a,b){b.push([0,""]);for(var c=0,d=0,e=0,f="",h="",k;c<b.length;)switch(b[c][0]){case 1:e++;h+=b[c][1];c++;break;case -1:d++;f+=b[c][1];c++;break;case 0:1<d+e?(0!==d&&0!==e&&(k=elc(h,f),0!==k&&(0<c-d-e&&0==b[c-d-e-1][0]?b[c-d-e-1][1]+=h.substring(0,k):(b.splice(0,0,[0,h.substring(0,k)]),c++),h=h.substring(k),f=f.substring(k)),k=flc(h,f),
0!==k&&(b[c][1]=h.substring(h.length-k)+b[c][1],h=h.substring(0,h.length-k),f=f.substring(0,f.length-k))),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&&hlc(a,b)};var FT=function(a,b,c){this.analytics=a;this.issueComments=b;this.dialogManager=c};FT.prototype.show=function(a,b,c){var d=this,e;return ke(function(f){if(d.dialog&&2!==d.dialog.getState())return f.return();kp(d.analytics,"commentHistoryModal","open");e={issueId:a,commentNumber:b,commentVersion:c,commentHistory:slc(d,a,b,c)};d.dialog=d.dialogManager.open(zT,{data:e,width:"50vw"});return f.return((0,W.firstValueFrom)(d.dialog.afterClosed()))})};
var slc=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:"",k=!1,q=[];e=l(e);for(var t=e.next();!t.done;t=e.next()){t=t.value;var w=WQa(t);w||k?(f=GT(t.unlinkifiedComment),h=GT(t.formattingMode)):(f=VQa(f,t.unlinkifiedComment),k=t.formattingMode,h=h===k?GT(k):ih([GT(h,"diff-removed"),GT(k,"diff-added")]));k=void 0===t.unlinkifiedComment?"":t.unlinkifiedComment;var z=t.version,F=t.commentContentVerdict;
q.push({unlinkifiedComment:k,lastEditorUser:t.lastEditorUser,version:z,formattingMode:t.formattingMode,formattingModeDiff:h,lastModified:Number(t.lastModified)/1E3,open:25>z,preview:48>=k.length?k:k.substring(0,45)+"...",diff:f,restricted:F&&F.piiVerdict&&"NONE_DETECTED"!==F.piiVerdict.severity||!1,deleted:WQa(t)});f=t.unlinkifiedComment;h=t.formattingMode;k=w}-1<d?q[d].open=!0:q[0].open=!0;return q})},GT=function(a,b){return jh("span",b?{"class":b}:void 0,a)};
FT.\u0275fac=function(a){return new (a||FT)(p(MI),p(nK),p(EA))};FT.\u0275prov=vc({token:FT,factory:FT.\u0275fac,providedIn:"root"});var tlc=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"]]),ulc=new Map([["ENABLED","Enabled"],["DISABLED","Disabled"]]),ZQa=new Map([["BUGANIZER_DEFAULT","Default (10 years)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Indefinite"]]),$Qa=new Map([["BUGANIZER_DEFAULT",
"Default (60 days)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Match Issue Retention"]]),HT=function(a,b){this.$log=a;this.sessionIsInternal=b.isInternalSession()};HT.\u0275fac=function(a){return new (a||HT)(p(DF),p(nt))};HT.\u0275prov=vc({token:HT,factory:HT.\u0275fac,providedIn:"root"});var bRa=new Map([["SLO_SOURCE_UNSPECIFIED","--"],["USER","User"],["BUGSCOPE","Bugscope"]]);var IT=function(a,b){Y.call(this);this.componentFridge=a;this.activeSession=b;this.providedComponentId$=new W.ReplaySubject(1);this.component$=this.providedComponentId$.pipe(df(this.componentFridge.watch),af({refCount:!0,bufferSize:1}));this.init=new W.ReplaySubject(1);this.isAnonymous=this.activeSession.isAnonymous()};X(IT,Y);IT.\u0275dir=Y.\u0275dir;
IT.prototype.ngOnInit=function(){var a=this;this.providedComponentId$.next(this.componentId);this.recentIssuesUrl=fn({q:"status:open componentid:"+this.componentId,s:"created_time:desc"});this.createIssueUrl=en("issues/new",{params:void 0})+"?component="+this.componentId;this.viewComponentUrl=GAa(this.componentId,"basic");this.component$.pipe(Ue(),ef(this.destroyed$)).subscribe(function(){a.init.next()})};IT.\u0275fac=function(a){return new (a||IT)(A(oH),A(nt))};
IT.\u0275cmp=Lc({type:IT,selectors:[["b-component-card"]],inputs:{componentId:"componentId"},outputs:{init:"init"},features:[nf],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&&(E(0,"div",0)(1,"div",1),C(2,fRa,16,8,"ng-container",2),T(3,"async"),G()());a&2&&(y(2),D("ngIf",V(3,1,b.component$)))},
dependencies:[dw,zR,mw],styles:["[_nghost-%COMP%]{max-width:400px}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0}"]});var vlc=new Xc("GMAT_PAGINATOR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var JT=function(a){this.options=a};JT.\u0275fac=function(a){return new (a||JT)(A(vlc))};JT.\u0275dir=Qc({type:JT,selectors:[["mat-paginator"]],hostVars:2,hostBindings:function(a,b){a&2&&yf("gmat-mdc-paginator",!b.options.disableGmatStyle)}});var KT=function(){this.changes=new W.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}};KT.\u0275fac=function(a){return new (a||KT)};KT.\u0275prov=vc({token:KT,factory:KT.\u0275fac,providedIn:"root"});
var wlc={provide:KT,deps:[[new Nu,new Ou,KT]],useFactory:function(a){return a||new KT}};var xlc=new Xc("MAT_PAGINATOR_DEFAULT_OPTIONS"),ylc=Coa(function(){}),zlc=0,LT=function(a,b,c){var d=ylc.call(this)||this;d._intl=a;d._changeDetectorRef=b;d._pageSizeLabelId="mat-paginator-page-size-label-"+zlc++;d._pageIndex=0;d._length=0;d._pageSizeOptions=[];d.hidePageSize=!1;d.showFirstLastButtons=!1;d.selectConfig={};d.disabled=!1;d.page=new zv;d._intlChanges=a.changes.subscribe(function(){return d._changeDetectorRef.markForCheck()});if(c){var e=c.pageSize,f=c.pageSizeOptions,h=c.hidePageSize,
k=c.showFirstLastButtons;null!=e&&(d._pageSize=e);null!=f&&(d._pageSizeOptions=f);null!=h&&(d.hidePageSize=h);null!=k&&(d.showFirstLastButtons=k)}d._formFieldAppearance=(null==c?void 0:c.formFieldAppearance)||"outline";return d};X(LT,ylc);g=LT.prototype;g.ngOnInit=function(){this._initialized=!0;this._updateDisplayedPageSizeOptions();this._markInitialized()};g.ngOnDestroy=function(){this._intlChanges.unsubscribe()};
g.nextPage=function(){if(this.hasNextPage()){var a=this.pageIndex;this.pageIndex+=1;this._emitPageEvent(a)}};g.hasPreviousPage=function(){return 1<=this.pageIndex&&0!=this.pageSize};g.hasNextPage=function(){return this.pageIndex<(this.pageSize?Math.ceil(this.length/this.pageSize):0)-1&&0!=this.pageSize};g._changePageSize=function(a){var b=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/a)||0;this.pageSize=a;this._emitPageEvent(b)};
g._nextButtonsDisabled=function(){return this.disabled||!this.hasNextPage()};g._previousButtonsDisabled=function(){return this.disabled||!this.hasPreviousPage()};
g._updateDisplayedPageSizeOptions=function(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort(function(a,b){return a-b}),this._changeDetectorRef.markForCheck())};
g._emitPageEvent=function(a){this.page.emit({previousPageIndex:a,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})};
Vg.Object.defineProperties(LT.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 qg(b,0)});this._updateDisplayedPageSizeOptions()}}});LT.\u0275fac=function(a){return new (a||LT)(A(KT),A(Uu),A(xlc,8))};
LT.\u0275cmp=Lc({type:LT,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",qg],length:[2,"length","length",qg],pageSize:[2,"pageSize","pageSize",qg],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",pg],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",pg],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",pg]},outputs:{page:"page"},exportAs:["matPaginator"],
standalone:!0,features:[of,nf,dg],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","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","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,
"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["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,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",
3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color"],["class","mat-mdc-paginator-page-size-value"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],["hideSingleSelectionIndicator","",3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],
["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1),C(2,jRa,
5,4,"div",2),E(3,"div",3)(4,"div",4),R(5),G(),C(6,kRa,3,5,"button",5),E(7,"button",6),M("click",function(){if(b.hasPreviousPage()){var c=b.pageIndex;--b.pageIndex;b._emitPageEvent(c)}}),qd(),E(8,"svg",7),I(9,"path",8),G()(),rd(),E(10,"button",9),M("click",function(){return b.nextPage()}),qd(),E(11,"svg",7),I(12,"path",10),G()(),C(13,lRa,3,5,"button",11),G()()());a&2&&(y(2),Cf(2,b.hidePageSize?-1:2),y(3),S(" ",b._intl.getRangeLabel(b.pageIndex,b.pageSize,b.length)," "),y(),Cf(6,b.showFirstLastButtons?
6:-1),y(),D("matTooltip",b._intl.previousPageLabel)("matTooltipDisabled",b._previousButtonsDisabled())("matTooltipPosition","above")("disabled",b._previousButtonsDisabled()),pf("aria-label",b._intl.previousPageLabel),y(3),D("matTooltip",b._intl.nextPageLabel)("matTooltipDisabled",b._nextButtonsDisabled())("matTooltipPosition","above")("disabled",b._nextButtonsDisabled()),pf("aria-label",b._intl.nextPageLabel),y(3),Cf(13,b.showFirstLastButtons?13:-1))},dependencies:[SA,lN,Uy,az,KC],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-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 MT=function(a){this.paths=a;this.children=[];this.onVisit=new zv;this.pageSize=25;this.pageSizeOptions=[10,25,100];this.childrenOnPage=[]};MT.prototype.ngOnInit=function(){this.childrenOnPage=this.children.slice(0,this.pageSize)};MT.\u0275fac=function(a){return new (a||MT)(A(iI))};
MT.\u0275cmp=Lc({type:MT,selectors:[["b-component-children-list"]],inputs:{children:"children"},outputs:{onVisit:"onVisit"},decls:3,vars:2,consts:[[3,"length","pageSize","pageSizeOptions","page",4,"ngIf"],[1,"component-children"],[4,"ngFor","ngForOf"],[3,"length","pageSize","pageSizeOptions","page"],[1,"keep-underline","keep-focus-ring",3,"onedevHovercardTrigger","href","click"],["card","onedevHovercard"],[3,"componentId"]],template:function(a,b){a&1&&(C(0,mRa,1,3,"mat-paginator",0),E(1,"ul",1),C(2,
nRa,6,4,"li",2),G());a&2&&(D("ngIf",b.children.length>b.pageSize),y(2),D("ngForOf",b.childrenOnPage))},dependencies:[hw,dw,LF,QF,IT,JT,LT],encapsulation:2});var NT=function(){};NT.\u0275fac=function(a){return new (a||NT)};NT.\u0275mod=Nc({type:NT});NT.\u0275inj=wc({imports:[SH,WR]});new Xc("GMAT_FORM_FIELD_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var Alc=new Xc("GMAT_SELECT_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var Blc={provide:pac,deps:[[new Nu,new Ou,new YOb(pac)],[new Nu,new YOb(Alc)]],useFactory:function(a,b){return!b||b.disableGmatStyle?a||{}:a?(b=Ng(a.overlayPanelClass).concat("gmat-mdc-select"),Object.assign({},a,{overlayPanelClass:b})):{overlayPanelClass:"gmat-mdc-select"}}};var OT=function(){};OT.\u0275fac=function(a){return new (a||OT)};OT.\u0275mod=Nc({type:OT});OT.\u0275inj=wc({providers:[wlc],imports:[bz,mN,LC,LT]});var PT=function(){};PT.\u0275fac=function(a){return new (a||PT)};PT.\u0275mod=Nc({type:PT});PT.\u0275inj=wc({providers:[Blc],imports:[OT]});var QT=function(){};QT.\u0275fac=function(a){return new (a||QT)};QT.\u0275mod=Nc({type:QT});QT.\u0275inj=wc({imports:[SH,aN,NT,PT]});var RT=function(){this.shouldShowCopyIssueShortLinks=!1;this.shortLinkPrefix="b/";this.onClickCopyIssueIds=new zv;this.onClickCopyIssueShortLinks=new zv;this.onClickCopyAsIssueSearch=new zv};RT.\u0275fac=function(a){return new (a||RT)};
RT.\u0275cmp=Lc({type:RT,selectors:[["b-copy-issue-id-button"]],inputs:{shouldShowCopyIssueShortLinks:"shouldShowCopyIssueShortLinks",shortLinkPrefix:"shortLinkPrefix"},outputs:{onClickCopyIssueIds:"onClickCopyIssueIds",onClickCopyIssueShortLinks:"onClickCopyIssueShortLinks",onClickCopyAsIssueSearch:"onClickCopyAsIssueSearch"},decls:10,vars:2,consts:[["mat-button","","aria-label","Copy selected issue IDs",1,"gmat-button","medium","icon-only",3,"click"],["name","copy","size","small"],["mat-button",
"","aria-label","More copy issue ID options",1,"gmat-button","medium","compact",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["splitMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(a,b){a&1&&(E(0,"b-button-group")(1,"button",0),M("click",function(){return b.onClickCopyIssueIds.emit()}),I(2,"b-icon",1),G(),E(3,"button",2),I(4,"b-icon",3),G(),E(5,"mat-menu",null,4),C(7,oRa,2,1,"button",5),E(8,"button",6),M("click",function(){return b.onClickCopyAsIssueSearch.emit()}),
R(9," Copy as issue search "),G()()());if(a&2){var c=Q(6);y(3);D("matMenuTriggerFor",c);y(4);D("ngIf",b.shouldShowCopyIssueShortLinks)}},dependencies:[dw,HC,FC,GC,nA,xP,yP],encapsulation:2,changeDetection:0});new Xc("xap-clipboard-snackbar-options");var ST=function(){};ST.\u0275fac=function(a){return new (a||ST)};ST.\u0275mod=Nc({type:ST});ST.\u0275inj=wc({imports:[uw,$C,QC,RE]});var TT=function(){};TT.\u0275fac=function(a){return new (a||TT)};TT.\u0275mod=Nc({type:TT});TT.\u0275inj=wc({imports:[SH,IC,$C,CP,DP,ST]});var UT=function(a,b,c,d,e){this.clipboard=a;this.analytics=c;this.butterBar=d;this.window=e;this.shortLinkPrefix=Oj(b.session)?"b/":"b-qa/"},WYa=function(a,b){a.clipboard.copy(b.join(", "));Ks(a.butterBar,"Issue IDs copied.",2E3);kp(a.analytics,Sp.LIST_ISSUES,"copyIssueId","IDs")},XYa=function(a,b){a.clipboard.copy(b.map(function(c){return a.shortLinkPrefix+c}).join(", "));Ks(a.butterBar,"'"+a.shortLinkPrefix+"' links copied.",2E3);kp(a.analytics,Sp.LIST_ISSUES,"copyIssueId","b/ links")},YYa=function(a,
b){b=fn({q:"id:("+b.join("|")+")"});a.clipboard.copy(a.window.location.origin+"/"+b);Ks(a.butterBar,"Issue search link copied.",2E3);kp(a.analytics,Sp.LIST_ISSUES,"copyIssueId","Issue search link")};UT.\u0275fac=function(a){return new (a||UT)(p(LE),p(nt),p(MI),p(hG),p(uE))};UT.\u0275prov=vc({token:UT,factory:UT.\u0275fac,providedIn:"root"});var VT=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)};VT.prototype.onInput=function(){this.resize(this.el.nativeElement.value)};
VT.prototype.ngOnDestroy=function(){document.body.removeChild(this.shadowInput)};VT.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"};VT.\u0275fac=function(a){return new (a||VT)(A(Ad))};
VT.\u0275dir=Qc({type:VT,selectors:[["","b-adaptive-width-input",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.onInput()})},inputs:{minWidth:"minWidth",maxWidth:"maxWidth"}});var WT=function(){};WT.\u0275fac=function(a){return new (a||WT)};WT.\u0275mod=Nc({type:WT});WT.\u0275inj=wc({});var XT=function(){xF.apply(this,arguments)};X(XT,xF);Vg.Object.defineProperties(XT.prototype,{routerLinkObj:{configurable:!0,enumerable:!0,set:function(a){this.queryParams=a.queryParams;this.routerLink=a.path;this.fragment=a.fragment}}});XT.\u0275fac=function(){var a;return function(b){return(a||(a=zd(XT)))(b||XT)}}();XT.\u0275dir=Qc({type:XT,selectors:[["a","routerLinkObj",""],["area","routerLinkObj",""]],inputs:{routerLinkObj:"routerLinkObj"},features:[nf]});var YT=function(){};
YT.\u0275fac=function(a){return new (a||YT)};YT.\u0275mod=Nc({type:YT});YT.\u0275inj=wc({imports:[SH,BF]});var ZT=function(a){this.currentTracker=a;this.componentPath=[];this.isArchived=!1;this.label="Component";this.openTab=""};Vg.Object.defineProperties(ZT.prototype,{componentPathInfo:{configurable:!0,enumerable:!0,set:function(a){a=Is(this.currentTracker,a);this.componentPath="settings"===this.componentPathsLinkTo?wp(a,HCa):wp(a)}}});ZT.\u0275fac=function(a){return new (a||ZT)(A(IM))};
ZT.\u0275cmp=Lc({type:ZT,selectors:[["b-component-breadcrumb"]],inputs:{componentPathsLinkTo:"componentPathsLinkTo",componentPathInfo:"componentPathInfo",isArchived:"isArchived",label:"label",openTab:"openTab"},decls:6,vars:3,consts:[["role","navigation","aria-labelledby","breadcrumb-label",1,"breadcrumb"],["id","breadcrumb-label"],[1,"breadcrumb-items"],["class","breadcrumb-item",4,"ngFor","ngForOf"],["class","breadcrumb-archived-indicator",4,"ngIf"],[1,"breadcrumb-item"],[1,"keep-focus-ring",3,
"onedevHovercardTrigger","routerLinkObj"],["card","onedevHovercard"],[3,"componentId"],[1,"breadcrumb-archived-indicator"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"p",1),R(2),G(),E(3,"span",2),C(4,pRa,6,4,"span",3)(5,qRa,2,0,"span",4),G()());a&2&&(y(2),S("",b.label,":"),y(2),D("ngForOf",b.componentPath),y(),D("ngIf",b.isArchived))},dependencies:[hw,dw,LF,QF,IT,XT],encapsulation:2});var $T=function(){};$T.\u0275fac=function(a){return new (a||$T)};$T.\u0275mod=Nc({type:$T});$T.\u0275inj=wc({imports:[SH,aN,NT,YT]});var aU=function(){this.warningChunks=[]};aU.prototype.ngOnInit=function(){var a=this.warningText,b=vRa(a,"EXTERNAL_PUBLIC")||vRa(a,"EXTERNAL_PARTNER");this.warningChunks=b?[{text:a.substring(0,b.startOfMatch)},{accessLevel:b.accessLevel},{text:a.substring(b.endOfMatch)}]:[{text:a}]};aU.\u0275fac=function(a){return new (a||aU)};
aU.\u0275cmp=Lc({type:aU,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&&(E(0,"div"),C(1,tRa,3,2,"span",0),G());a&2&&(y(),D("ngForOf",b.warningChunks))},dependencies:[hw,dw,zR],encapsulation:2});var uRa=new Map([["EXTERNAL_PUBLIC","visible to public users"],["EXTERNAL_PARTNER","visible to external partners"]]);var bU=function(a,b,c){this.data=a;this.documentationLinks=b;this.dialogRef=c;this.acknowledged=!0;this.warning=this.header="";this.isAllowed=this.isExternalMove=!1;this.callbacks={allow:function(){},cancel:function(){}};this.learnMore=U4b(b);this.header=a.response.warningHeader;this.warning=a.response.warning;if(this.isExternalMove=a.response.isExternalMove)this.acknowledged=!1;this.isAllowed=a.response.isAllowed;this.callbacks=a.callbacks};
bU.prototype.allow=function(){var a;null==(a=this.dialogRef)||a.close();this.isAllowed&&this.acknowledged&&this.callbacks.allow()};bU.prototype.cancel=function(){var a;null==(a=this.dialogRef)||a.close();this.callbacks.cancel()};bU.\u0275fac=function(a){return new (a||bU)(A(DA),A(jG),A(BA))};
bU.\u0275cmp=Lc({type:bU,selectors:[["b-component-move-warning"]],decls:13,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"component-move-warning-text"],[3,"warningText"],["target","_blank"],[4,"ngIf"],["mat-button","","mat-dialog-close","",1,"gmat-button","medium",3,"click"],["mat-flat-button","","cdkFocusInitial","","class","gmat-button",3,"disabled","click",4,"ngIf"],["gmat-checkbox","",3,"ngModel","ngModelChange"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button",
3,"disabled","click"]],template:function(a,b){a&1&&(E(0,"h1",0),R(1),G(),E(2,"div",1)(3,"div",2),I(4,"b-component-move-warning-content",3),G(),I(5,"br"),E(6,"a",4),R(7,"Learn more"),G(),C(8,wRa,5,1,"div",5),G(),E(9,"mat-dialog-actions")(10,"button",6),M("click",function(){return b.cancel()}),R(11," Cancel "),G(),C(12,xRa,2,1,"button",7),G());a&2&&(y(),$f(b.header),y(3),D("warningText",b.warning),y(2),pf("href",b.learnMore,Pd),y(2),D("ngIf",b.isExternalMove&&b.isAllowed),y(4),D("ngIf",b.isAllowed))},
dependencies:[dw,Hw,Ow,nA,WE,FA,GA,HA,IA,aU],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-right: 8px;\n    }"],changeDetection:0});var cU=function(){};cU.\u0275fac=function(a){return new (a||cU)};cU.\u0275mod=Nc({type:cU});cU.\u0275inj=wc({imports:[SH,dx,$C,kN,JA,WR]});var Clc=function(a,b,c){this.componentActions=a;this.errorHandler=b;this.cdr=c};Clc.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 dU=function(a,b){a.selectedId&&Dlc(a,a.selectedId);a.selectedId=b;if(a=Elc(a.selectedId))a.focus(),a.setAttribute("aria-selected","true")},eU=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},Flc=function(a){return!a.selectedId||1>a.selectedId?-1:a.components.findIndex(function(b){return b.componentId==a.selectedId})},Dlc=function(a,b){b&&(a=Elc(a.selectedId))&&a.setAttribute("aria-selected",
"false")},Elc=function(a){return a?document.getElementById("component-"+a):null},Glc=function(a){for(a=a.target;;){if(!a)return!1;if("A"===a.tagName)return!0;a=a.parentNode}};var ARa=function(a){return{q:a}},fU=function(a,b,c,d){Clc.call(this,a,c,d);this.paths=b;this.includeArchived=!1;this.childClosed=new zv;this.selectedId=null};X(fU,Clc);fU.prototype.ngOnInit=function(){};fU.prototype.ngOnDestroy=function(){this.parentComponent.focusOnChildren=void 0};fU.prototype.ngOnChanges=function(a){a.components&&Hlc(this)};fU.prototype.onSubtreeChildClosed=function(a){this.selectedId=a;dU(this,a);this.rootController.selectionChanged(this,a)};
var Hlc=function(a){a.parentComponent.focusOnChildren||(a.parentComponent.focusOnChildren=function(){a.selectNext()})};g=fU.prototype;
g.selectNext=function(){if(this.components)if(this.selectedId){var a=Flc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(Dlc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(dU(this,this.components[a+1].componentId),this.rootController.selectionChanged(this,this.selectedId))}else dU(this,this.components[0].componentId),this.rootController.selectionChanged(this,this.selectedId)};
g.selectPrevious=function(){var a=Flc(this);0==a?(this.selectedId=null,this.childClosed.emit(this.parentComponent.componentId)):(dU(this,this.components[a-1].componentId),this.rootController.selectionChanged(this,this.selectedId))};g.closeSubtree=function(){if(this.selectedId){var a=eU(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=eU(this);a&&this.showChildren(a)};g.setSelected=function(a,b){Glc(b)||(dU(this,a),this.rootController.selectionChanged(this,a),b.preventDefault(),b.stopPropagation())};g.toggleChildrenForSelectedId=function(){var a=eU(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};fU.\u0275fac=function(a){return new (a||fU)(A(xR),A(iI),A(AG),A(EF,2))};
fU.\u0275cmp=Lc({type:fU,selectors:[["component-subtree-list"]],inputs:{parentComponent:"parentComponent",rootController:"rootController",components:"components",includeArchived:"includeArchived"},outputs:{childClosed:"childClosed"},features:[bg([EF]),nf,ed],decls:2,vars:1,consts:[[1,"components-list"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id","click",4,"ngFor","ngForOf"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id","click"],[1,"component-row"],[1,"selected-indicator"],
[1,"component-tree-toggle"],["matTooltip","Show child components",3,"click",4,"ngIf"],["matTooltip","Hide child components",3,"click",4,"ngIf"],[1,"component-info"],[1,"component-name",3,"href"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"accessLevel"],[3,"trackerId"],[1,"component-description"],[1,"component-buttons"],["class","gmat-button","mat-raised-button","",3,"href",4,"ngIf"],["class","child-component-list","role","group","aria-expanded","true",4,"ngIf"],["matTooltip","Show child components",3,"click"],
["svgIcon","arrow-dropdown",2,"transform","rotate(-90deg)"],["matTooltip","Hide child components",3,"click"],["svgIcon","arrow-dropdown"],[3,"href"],["mat-raised-button","",1,"gmat-button",3,"href"],["role","group","aria-expanded","true",1,"child-component-list"],["class","component-no-children",4,"ngIf"],["class","bv2-view-loading",4,"ngIf"],[3,"components","parentComponent","rootController","includeArchived","childClosed",4,"ngIf"],[1,"component-no-children"],[1,"bv2-view-loading"],[3,"components",
"parentComponent","rootController","includeArchived","childClosed"]],template:function(a,b){a&1&&(E(0,"ol",0),C(1,IRa,19,12,"li",1),G());a&2&&(y(),D("ngForOf",b.components))},dependencies:[hw,dw,hB,PC,oA,HQ,zR,DR,fU],encapsulation:2});var LRa=function(a){return{q:a}},gU=function(a,b,c,d,e,f){Clc.call(this,a,d,f);this.paths=b;this.selectedId=null;this.includeArchived=!1;this.init=new zv;this.subscriptions=new W.Subscription;this.destroyed$=new W.ReplaySubject(1);this.scrollArea=e.nativeElement.parentElement;this.registerKeys(c)};X(gU,Clc);g=gU.prototype;
g.ngOnInit=function(){var a=this;this.rootController=this;(0,W.timer)(0).pipe(ef(this.destroyed$)).subscribe(function(){Ilc(a)&&!a.selectedId&&dU(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&&Jlc(this)};g.onSubtreeChildClosed=function(a){var b=this;dU(this,a);this.focusedController=void 0;(0,W.timer)(0).pipe(ef(this.destroyed$)).subscribe(function(){hU(b)})};
g.fireSelectionEvent=function(a){var b=Elc(a);b&&b.click();hU(this,a)};var Jlc=function(a){(0,W.timer)(0).pipe(ef(a.destroyed$)).subscribe(function(){Ilc(a)&&!a.selectedId&&dU(a,a.components[0].componentId)})};g=gU.prototype;g.selectionChanged=function(a,b){b&&hU(this,b);a!==this.focusedController&&(this.focusedController&&(b=this.focusedController,b.selectedId&&Dlc(b,b.selectedId),b.selectedId=null),this.focusedController=a||void 0)};
g.setSelected=function(a,b){Glc(b)||(dU(this,a),this.selectionChanged(null),hU(this),b.preventDefault(),b.stopPropagation())};
g.registerKeys=function(a){var b=this;this.subscriptions.add(WM(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=eU(this);a&&this.showChildren(a)}};
g.toggleChildrenForSelectedId=function(){this.focusedController&&this.focusedController.toggleChildrenForSelectedId();var a=eU(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};g.closeSubtree=function(){this.focusedController?this.focusedController.closeSubtree():this.selectedId&&(eU(this).showChildren=!1,this.cdr.detectChanges())};
g.selectPrevious=function(){if(this.focusedController)this.focusedController.selectPrevious();else{var a=Flc(this);Ilc(this)&&1<=a&&(dU(this,this.components[a-1].componentId),hU(this))}};
g.selectNext=function(){if(Ilc(this))if(this.focusedController)this.focusedController.selectNext();else if(this.selectedId){var a=Flc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(Dlc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(dU(this,this.components[a+1].componentId),hU(this))}else dU(this,this.components[0].componentId),hU(this)};
var hU=function(a,b){var c=Klc(a.scrollArea),d=c+a.scrollArea.offsetHeight;if(a=Elc(b||a.selectedId)){b=Klc(a);var e=b+a.offsetHeight;b<c?a.scrollIntoView(!1):e>d&&a.scrollIntoView(!0)}},Klc=function(a){for(var b=0;a&&a instanceof HTMLElement;)b+=a.offsetTop,a=a.offsetParent;return b},Ilc=function(a){return!!(a.components&&0<a.components.length)};gU.\u0275fac=function(a){return new (a||gU)(A(xR),A(iI),A(VM),A(AG),A(Ad),A(EF,2))};
gU.\u0275cmp=Lc({type:gU,selectors:[["component-tree-list"]],inputs:{components:"components",includeArchived:"includeArchived"},outputs:{init:"init"},features:[bg([EF]),nf,ed],decls:2,vars:1,consts:[["role","tree",1,"components-list"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id","click",4,"ngFor","ngForOf"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id","click"],[1,"component-row"],[1,"selected-indicator"],[1,"component-tree-toggle"],["matTooltip","Show child components",
3,"click",4,"ngIf"],["matTooltip","Hide child components",3,"click",4,"ngIf"],[1,"component-info"],[1,"component-name",3,"href"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"accessLevel"],[3,"trackerId"],[1,"component-description"],[1,"component-buttons"],["class","gmat-button","mat-raised-button","",3,"href",4,"ngIf"],["class","child-component-list","role","group","aria-expanded","true",4,"ngIf"],["matTooltip","Show child components",3,"click"],["svgIcon","arrow-dropdown",2,"transform","rotate(-90deg)"],["matTooltip",
"Hide child components",3,"click"],["svgIcon","arrow-dropdown"],[3,"href"],["mat-raised-button","",1,"gmat-button",3,"href"],["role","group","aria-expanded","true",1,"child-component-list"],["class","component-no-children",4,"ngIf"],["class","bv2-view-loading",4,"ngIf"],[3,"components","parentComponent","rootController","includeArchived","childClosed",4,"ngIf"],[1,"component-no-children"],[1,"bv2-view-loading"],[3,"components","parentComponent","rootController","includeArchived","childClosed"]],template:function(a,
b){a&1&&(E(0,"ol",0),C(1,TRa,19,12,"li",1),G());a&2&&(y(),D("ngForOf",b.components))},dependencies:[hw,dw,hB,PC,oA,HQ,zR,DR,fU],encapsulation:2});var iU=function(){};iU.\u0275fac=function(a){return new (a||iU)};iU.\u0275mod=Nc({type:iU});iU.\u0275inj=wc({imports:[SH,JD,$C,kR,WR,YR]});var Llc=new Xc("GMAT_SLIDE_TOGGLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var jU=function(a){this.options=a};jU.\u0275fac=function(a){return new (a||jU)(A(Llc))};jU.\u0275dir=Qc({type:jU,selectors:[["mat-slide-toggle"]],hostVars:2,hostBindings:function(a,b){a&2&&yf("gmat-mdc-slide-toggle",!b.options.disableGmatStyle)}});var Mlc=new Xc("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1,hideIcon:!1}}});var Nlc=["switch"],Olc={provide:fw,useExisting:Cc(function(){return kU}),multi:!0},Plc=function(a,b){this.source=a;this.checked=b},Qlc=0,kU=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 zv;this.toggleChange=new zv;this.tabIndex=parseInt(d)||0;this.color=e.color||"accent";this._noopAnimations="NoopAnimations"===f;this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++Qlc;var h;this.hideIcon=null!=(h=e.hideIcon)?h:!1;this._labelId=this._uniqueId+"-label"};g=kU.prototype;g._createChangeEvent=function(a){return new Plc(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 Plc(this,this.checked)))};g._getAriaLabelledBy=function(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId};
Vg.Object.defineProperties(kU.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"}}});kU.\u0275fac=function(a){return new (a||kU)(A(Ad),A(px),A(Uu),ud("tabindex"),A(Mlc),A(Su,8))};
kU.\u0275cmp=Lc({type:kU,selectors:[["mat-slide-toggle"]],viewQuery:function(a,b){a&1&&Uf(Nlc,5);if(a&2){var c;Yf(c=Zf())&&(b._switchElement=c.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(a,b){a&2&&(Hf("id",b.id),pf("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),zf(b.color?"mat-"+b.color:""),yf("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",pg],color:"color",disabled:[2,"disabled","disabled",pg],disableRipple:[2,"disableRipple","disableRipple",pg],tabIndex:[2,"tabIndex","tabIndex",function(a){return null==a?0:qg(a)}],checked:[2,"checked","checked",pg],hideIcon:[2,"hideIcon","hideIcon",pg]},outputs:{change:"change",
toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[bg([Olc,{provide:Bw,useExisting:kU,multi:!0}]),of,ed,dg],ngContentSelectors:["*"],decls:13,vars:24,consts:[["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[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"],["class","mdc-switch__icons"],[1,"mdc-label",3,"for","click"],[1,"mdc-switch__icons"],["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){a&1&&(Lf(),E(0,"div",0)(1,"button",1,2),M("click",function(){return b._handleClick()}),I(3,"div",3),E(4,"div",4)(5,"div",5)(6,"div",6),I(7,"div",7),G(),E(8,"div",8),I(9,"div",9),G(),C(10,URa,5,0,"div",10),G()()(),E(11,"label",11),M("click",function(d){return d.stopPropagation()}),Mf(12),G()());if(a&2){var c=Q(2);D("labelPosition",b.labelPosition);y();yf("mdc-switch--selected",b.checked)("mdc-switch--unselected",!b.checked)("mdc-switch--checked",b.checked)("mdc-switch--disabled",b.disabled);D("tabIndex",
b.disabled?-1:b.tabIndex)("disabled",b.disabled);pf("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);y(8);D("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0);y();Cf(10,b.hideIcon?-1:10);y();D("for",b.buttonId);pf("id",b._labelId)}},dependencies:[Sy,Ny],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:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity)}.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}\n'],
encapsulation:2,changeDetection:0});var lU=function(){};lU.\u0275fac=function(a){return new (a||lU)};lU.\u0275mod=Nc({type:lU});lU.\u0275inj=wc({imports:[kU,Gy,Gy]});var mU=function(){};mU.\u0275fac=function(a){return new (a||mU)};mU.\u0275mod=Nc({type:mU});mU.\u0275inj=wc({providers:[{provide:Mlc,useValue:{color:"primary"}}],imports:[lU]});var Rlc=0,nU=function(){this.id="b-slide-toggle-"+ ++Rlc;this.ariaLabel=this.label="";this.labelPosition="before";this.model=!1;this.tooltip=void 0;this.disabled=!1;this.modelChange=new zv};nU.\u0275fac=function(a){return new (a||nU)};
nU.\u0275cmp=Lc({type:nU,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,"id","disabled","checked","aria-label","matTooltip","labelPosition","change"]],template:function(a,b){a&1&&(E(0,"mat-slide-toggle",0),M("change",function(d){b.model=d.checked;b.modelChange.emit(d.checked)}),
R(1),G());if(a&2){var c;D("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");y();$f(b.label)}},dependencies:[jU,kU,PC],styles:["mat-slide-toggle[_ngcontent-%COMP%] { vertical-align: middle; }"],changeDetection:0});var oU=function(){};oU.\u0275fac=function(a){return new (a||oU)};oU.\u0275mod=Nc({type:oU});oU.\u0275inj=wc({imports:[mU,JD]});var Slc=["spanElement"],pU=function(){this.modelValue="";this.maxWidth=0;this.disabled=!1;this.displayString=""};pU.prototype.ngOnChanges=function(a){if(a.modelValue||a.disabled)this.displayString=this.modelValue||""};pU.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)+"...")};
pU.prototype.getTooltip=function(){return this.displayString!==this.modelValue?this.modelValue:""};pU.\u0275fac=function(a){return new (a||pU)};
pU.\u0275cmp=Lc({type:pU,selectors:[["b-truncated-span"]],viewQuery:function(a,b){a&1&&Uf(Slc,5);if(a&2){var c;Yf(c=Zf())&&(b.spanElement=c.first)}},inputs:{modelValue:"modelValue",maxWidth:"maxWidth",disabled:"disabled"},features:[ed],decls:2,vars:2,consts:[[3,"matTooltip","innerHtml"],["spanElement",""]],template:function(a,b){a&1&&I(0,"span",0,1);a&2&&D("matTooltip",b.getTooltip())("innerHtml",b.displayString,Od)},dependencies:[PC],encapsulation:2});var qU=function(){};qU.\u0275fac=function(a){return new (a||qU)};qU.\u0275mod=Nc({type:qU});qU.\u0275inj=wc({imports:[SH,JD]});var Tlc=["popupField"],Ulc=["fieldContent"],Vlc=["popupOverlay"],Wlc=["overlayContent"],ZRa=function(a){return{q:a}},vSa=function(a,b){return{"bv2-disabled":a,"bv2-readonly":b}},Xlc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"}],rU=function(a,b,c,d,e,f,h,k){Y.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=k;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 zv;this.disabled=this.readonly=!1;this.tooltip="";this.showAvailability=this.showHotkeyHint=this.truncate=!1;this.enableTeamAnnotations=f.isInternalSession();this.enableCustomFieldSearchImprovements=tE(f,
"enableCustomFieldSearchImprovements")};X(rU,Y);rU.\u0275dir=Y.\u0275dir;g=rU.prototype;g.ngOnInit=function(){var a=this;this.enableWaldoAvailability=tE(this.activeSession,"enableWaldoAvailability")&&this.activeSession.isInternalSession()&&this.showAvailability;this.subscriptions.add(this.appEvents.openEditField.subscribe(function(b){b!==a&&a.isActive&&(a.isActive=!1,Ylc(a),a.cdr.detectChanges())}));this.subscriptions.add(x5b(this.dateFormatter,function(){Zlc(a);a.cdr.detectChanges()}));this.destroyed$.subscribe(function(){Ylc(a)})};
g.ngOnDestroy=function(){Y.prototype.ngOnDestroy.call(this);this.overlayRef&&this.overlayRef.dispose()};g.ngOnChanges=function(a){["value","type","displayValueOverride","choices"].some(function(b){return b in a})&&Zlc(this)};g.ngAfterViewInit=function(){this.popupField&&(this.overlayRef=this.overlay.create({positionStrategy:this.getPositionStrategy(),scrollStrategy:this.overlay.scrollStrategies.reposition()}))};
g.getPositionStrategy=function(){return vy(wy(xy(By(this.overlay.position(),this.fieldContent).setOrigin(this.fieldContent),!1),5),Xlc)};
var Ylc=function(a){var b;(null==(b=a.overlayRef)?0:b.hasAttached())&&a.overlayRef.detach()},ISa=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:b.stopPropagation();OSa(a);break;case 27:b.stopPropagation(),xp(a,b,!1,!0)}},GSa=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:if(b.ctrlKey||b.metaKey)b.stopPropagation(),OSa(a);break;case 27:b.stopPropagation(),xp(a,b,!1,!0)}},rSa=function(a,b){switch(b.keyCode){case 13:case 32:b.stopPropagation();b.preventDefault();xp(a,
b,!0,!1);break;case 27:b.stopPropagation(),xp(a,b,!1,!0)}},xp=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,Ylc(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?gn(c):null),"ENUM"===
a.type&&a.enumMenuTrigger.openMenu(),"ENUM"!==a.type){$lc(a);var f=a.element.nativeElement;(0,W.fromEvent)(document,"click").pipe(Ce(function(h){return!f.contains(h.target)}),Ue(),ef(a.overlayRef._detachments),ef(a.destroyed$)).subscribe(function(){xp(a,null,!1,!1)})}null==b||b.stopPropagation();a.cdr.detectChanges()}};rU.prototype.schedule=function(a){var b=W.asyncScheduler.schedule(a);this.destroyed$.subscribe(function(){b.unsubscribe()})};
rU.prototype.getDisplayValue=function(a){return null===this.displayValue?a:this.displayValue};
var Zlc=function(a){var b=a.value;switch(a.type){case "ENUM":if("Type"===a.title&&b&&v5b.has(b)){a.displayValue=ln(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(gn(b)):a.displayValue=null;a.readonlyTooltip=null;break;default:a.displayValueOverride?
a.displayValue=a.displayValueOverride:a.displayValue=b?String(b):null,a.readonlyTooltip=null}};rU.prototype.setFieldValue=function(a){this.disabled||this.readonly||("DATE"===this.type&&a&&(a=hn(a)),"NUMERIC"===this.type&&""===a&&(a=null),Th(this.value,a)?"ENUM"===this.type&&xp(this,null,!1,!0):(xp(this,null,!1,!0),this.value=a,this.valueChange.emit(this.value)))};
var OSa=function(a){if(void 0===a.type)throw Error("Sd");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("Td");default:Nh(a.type,"FieldType")}};
rU.prototype.clearFieldValue=function(){this.value=null;this.valueChange.emit(this.value);xp(this,null,!1,!0)};var $lc=function(a){Ylc(a);var b=a.overlayRef.attach(new Ux(a.popupOverlay,a.viewContainerRef)).rootNodes[0];a.schedule(function(){if("TEXT"===a.type||"NUMERIC"===a.type){var c=b.querySelector("textarea, input");c.focus();c.select()}else"DATE"===a.type&&b.querySelector(".goog-date-picker").focus()})};
rU.prototype.getTooltip=function(){return this.readonly?this.readonlyTooltip||"":this.tooltip?this.tooltip:this.title?"Set "+this.title:""};rU.prototype.getPriority=function(a){return"string"===typeof a?a.toLowerCase():""};rU.\u0275fac=function(a){return new (a||rU)(A(EF,2),A(Ad),A(Cy),A(Sf),A(EG),A(nt),A(DG),A(RH))};
rU.\u0275cmp=Lc({type:rU,selectors:[["b-edit-field"]],viewQuery:function(a,b){a&1&&(Uf(GC,5),Uf(Tlc,5),Uf(Ulc,5),Uf(Vlc,5),Uf(Wlc,5));if(a&2){var c;Yf(c=Zf())&&(b.enumMenuTrigger=c.first);Yf(c=Zf())&&(b.popupField=c.first);Yf(c=Zf())&&(b.fieldContent=c.first);Yf(c=Zf())&&(b.popupOverlay=c.first);Yf(c=Zf())&&(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:[bg([EF]),nf,ed],decls:11,vars:5,consts:[[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"],["enumMenu","matMenu"],["matMenuContent",""],["popupOverlay",""],["role","button","tabindex","0",1,"keep-focus-ring",3,"matTooltip","click","keydown","keydown.escape"],["popupField","","tooltip","matTooltip"],[3,"class",4,"ngIf"],["class","bv2-editable-value",4,"ngIf"],["field",""],["class","bv2-editable-value",3,"matMenuTriggerFor","menuClosed",4,"ngIf","ngIfElse"],["customFieldTemplate",
""],[1,"bv2-editable-value",3,"matMenuTriggerFor","menuClosed"],[4,"ngTemplateOutlet"],[1,"overflow-ellipsis"],["class","subtle-link","routerLink","/issues",3,"queryParams",4,"ngIf","ngIfElse"],["emptyValue",""],["mat-button","","aria-haspopup","true","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"matMenuTriggerFor","menuClosed"],["routerLink","/issues",1,"subtle-link",3,"queryParams"],[1,"bv2-editable-value"],[1,"bv2-editable-value",
3,"keydown","click"],["fieldContent",""],["class","issue-metadata-field-edit-icon",4,"ngIf"],["class","issue-metadata-field-dropdown-icon",4,"ngIf"],[1,"flex-kids-x","flex-cross-axis-centered"],[3,"user","email","teamId","enableSmallChip",4,"ngIf"],["class","bv2-editfield-avatar",3,"email",4,"ngIf"],["class","bv2-metadata-field-value",4,"ngIf"],[3,"user","email","teamId","enableSmallChip"],[1,"bv2-editfield-avatar",3,"email"],[1,"bv2-metadata-field-value"],[3,"email"],["class","bv2-metadata-field-value",
3,"maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-metadata-field-value",3,"ngClass","maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-metadata-field-value",3,"class","maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-edit-button",4,"ngIf"],[1,"bv2-metadata-field-value",3,"maxWidth","modelValue","disabled"],[1,"bv2-metadata-field-value",3,"ngClass","maxWidth","modelValue","disabled"],[1,"bv2-edit-button"],[1,"issue-metadata-field-edit-icon"],["svgIcon","edit-outline"],[1,
"issue-metadata-field-dropdown-icon"],["svgIcon","arrow-dropdown"],[3,"ngClass","matTooltip"],[3,"class","click",4,"ngIf"],[1,"keep-focus-ring",3,"disabled","aria-label","model","modelChange"],[3,"click"],[3,"user",4,"ngIf"],[3,"user"],["mat-menu-item","","role","menuitemcheckbox","aria-label","Clear",3,"b-menu-item-checked","disabled","click",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled","matTooltip","hotkey","click","onHotkey",4,"ngFor","ngForOf"],["mat-menu-item",
"","role","menuitemcheckbox","aria-label","Clear",3,"disabled","click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],["mat-menu-item","","role","menuitemcheckbox",3,"disabled","matTooltip","hotkey","click","onHotkey"],[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"],["overlayContent",""],[4,"ngSwitchCase"],[3,"click",4,"ngSwitchCase"],["class","bv2-text-field-edit",
3,"click",4,"ngSwitchDefault"],[3,"required","date","dateSelectionChange","saveClicked","cancelClicked"],[1,"bv2-text-field-edit",3,"click"],[1,"bv2-text-edit-dialog-buttons"],["mat-flat-button","","color","primary",1,"gmat-button","medium","field-popup-button",3,"disabled","matTooltip","click"],["svgIcon","done"],["mat-stroked-button","","color","primary",1,"gmat-button","medium","field-popup-button",3,"matTooltip","click"],["svgIcon","close"],["spellcheck","false",3,"ngModel","ngModelChange","keydown",
4,"ngIf"],["step","any","spellcheck","false",3,"ngModel","ngModelChange","keydown",4,"ngIf"],["spellcheck","false",3,"ngModel","ngModelChange","keydown"],["step","any","spellcheck","false",3,"ngModel","ngModelChange","keydown"],["spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive",4,"ngIf"],["step","any","spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive",4,"ngIf"],["spellcheck","false",3,"ngModel",
"bContactAutocomplete","ngModelChange","keydown","autocompleteActive"],["step","any","spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive"]],template:function(a,b){a&1&&(E(0,"div")(1,"div",0),C(2,tSa,8,14,"div",1)(3,wSa,3,13,"div",2)(4,ySa,2,1,"ng-container",3),I(5,"div",4),G(),E(6,"mat-menu",5,6),C(8,CSa,2,2,"ng-template",7),G(),C(9,QSa,6,7,"ng-template",null,8,jg),G());a&2&&(y(),yf("active",b.isActive&&!b.readonly&&!b.disabled),y(),D("ngIf","BOOL"!==
b.type),y(),D("ngIf","BOOL"===b.type),y(),D("ngIf",b.isUser))},dependencies:[vT,gw,hw,dw,lw,iw,jw,kw,hB,hP,CS,Dg,Hw,Ow,XM,nA,HC,FC,GC,EC,PC,nU,rM,pU,yT,CT,xF,nw],styles:["[_nghost-%COMP%]     button.mat-button.tiny .mat-button-focus-overlay{opacity:0}",".bv2-issue-metadata-field-edit[_ngcontent-%COMP%] { position: relative; }"]});var amc={ENUM:"ENUM",BOOL:"BOOL",DATE:"DATE",TEXT:"TEXT",NUMERIC:"NUMERIC"},sU=function(){};sU.\u0275fac=function(a){return new (a||sU)};sU.\u0275mod=Nc({type:sU});
sU.\u0275inj=wc({imports:[AT,fQ,SH,iP,XS,dx,YM,$C,IC,JD,oU,bN,WK,qU,DT,BF]});var tU=function(){var a=this;this.allowedValues=[];this.disabled=!1;this.onValueSelect=new zv;this.searchQuery$=new W.Subject;this.suggestedValues$=this.searchQuery$.pipe(Re(300),Te(),B(function(b){var c=b.toLowerCase();return a.allowedValues.filter(function(d){return ia(d.toLowerCase(),c)})}))};tU.prototype.ngAfterViewInit=function(){};tU.prototype.updateSelectionOnChange=function(a){this.onValueSelect.emit(a.option.value)};tU.prototype.search=function(a){this.searchQuery$.next(a)};
tU.\u0275fac=function(a){return new (a||tU)};
tU.\u0275cmp=Lc({type:tU,selectors:[["b-custom-repeated-enum-picker"]],viewQuery:function(a,b){a&1&&Uf(KQ,7);if(a&2){var c;Yf(c=Zf())&&(b.autocompleteTrigger=c.first)}},inputs:{customFieldTitle:"customFieldTitle",selectedValue:"selectedValue",allowedValues:"allowedValues",disabled:"disabled"},outputs:{onValueSelect:"onValueSelect"},decls:6,vars:8,consts:[["id","custom-repeated-enum-picker","type","text","autocomplete","off","aria-label","Custom repeated enum field selection",3,"placeholder","ngModel",
"disabled","matAutocomplete","click","input"],["customRepeatedEnumPicker",""],[3,"optionSelected"],["auto","matAutocomplete"],["class","custom-repeated-enum-search-result",3,"value",4,"ngFor","ngForOf"],[1,"custom-repeated-enum-search-result",3,"value"],[1,"custom-repeated-enum-suggestion"]],template:function(a,b){if(a&1){var c=u();E(0,"input",0,1);M("click",function(){v(c);var f=Q(1);return x(b.search(f.value))})("input",function(){v(c);var f=Q(1);return x(b.search(f.value))});G();E(2,"mat-autocomplete",
2,3);M("optionSelected",function(f){return b.updateSelectionOnChange(f)});C(4,SSa,3,2,"mat-option",4);T(5,"async");G()}if(a&2){var d=Q(3),e;D("placeholder",b.customFieldTitle?"Select "+b.customFieldTitle:"")("ngModel",b.selectedValue)("disabled",b.disabled)("matAutocomplete",d);pf("aria-disabled",b.disabled);y(4);D("ngForOf",null!==(e=V(5,6,b.suggestedValues$))&&void 0!==e?e:b.selectedValue?[]:b.allowedValues)}},dependencies:[hw,LQ,KQ,qA,Dg,Hw,Ow,mw],styles:[".custom-repeated-enum-search-result.mat-option[_ngcontent-%COMP%]{line-height:normal;height:auto;padding:0 8px}.custom-repeated-enum-search-result.mat-option.mat-active[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}.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}"],
changeDetection:0});var uU=function(){};uU.\u0275fac=function(a){return new (a||uU)};uU.\u0275mod=Nc({type:uU});uU.\u0275inj=wc({imports:[SH,MQ,dx]});var vU=function(a){Y.call(this);var b=this;this.changelistApi=a;this.providedChangelistId$=new W.ReplaySubject(1);this.changelist$=this.providedChangelistId$.pipe(df(function(c){return b.changelistApi.getChangelistDetails(c)}),af({refCount:!0,bufferSize:1}));this.init=new W.ReplaySubject(1)};X(vU,Y);vU.\u0275dir=Y.\u0275dir;vU.prototype.ngOnInit=function(){var a=this;this.changelist$.pipe(Ue(),ef(this.destroyed$)).subscribe(function(){a.init.next()})};
vU.prototype.ngOnChanges=function(a){a.changelistId&&this.providedChangelistId$.next(this.changelistId)};vU.\u0275fac=function(a){return new (a||vU)(A(bH))};
vU.\u0275cmp=Lc({type:vU,selectors:[["b-changelist-card"]],inputs:{changelistId:"changelistId"},outputs:{init:"init"},features:[nf,ed],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&&(E(0,"div",0)(1,"div",1),C(2,WSa,16,6,"ng-container",2),T(3,"async"),G()());a&2&&(y(2),D("ngIf",V(3,1,b.changelist$)))},dependencies:[hw,dw,wT,AS,mw],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 wU=function(){this.config=Object.assign({},new OF,{delay:400,position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-20}]})};wU.prototype.ngOnInit=function(){};wU.\u0275fac=function(a){return new (a||wU)};
wU.\u0275cmp=Lc({type:wU,selectors:[["b-changelist-link"]],inputs:{changelistId:"changelistId"},decls:5,vars:5,consts:[["target","_blank",1,"bv2-metadata-link",3,"href","onedevHovercardTrigger","onedevHovercardConfig"],["card","onedevHovercard"],[3,"onedevIsHovercardReady","changelistId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","changelistId"],["cardBody",""]],template:function(a,b){a&1&&(E(0,"a",0),R(1),G(),E(2,"onedev-hovercard",null,1),C(4,XSa,2,2,"b-changelist-card",2),G());if(a&
2){var c=Q(3);D("href","http://critique.corp.google.com/"+b.changelistId,Pd)("onedevHovercardTrigger",c)("onedevHovercardConfig",b.config);pf("aria-label","Changelist"+b.changelistId);y();S(" ",b.changelistId,"\n")}},dependencies:[LF,MF,QF,NF,vU],encapsulation:2});var xU=function(){};xU.\u0275fac=function(a){return new (a||xU)};xU.\u0275mod=Nc({type:xU});xU.\u0275inj=wc({imports:[SH,DT,aN,QS]});var bmc=0,yU=function(a,b){Y.call(this);var c=this;this.teamsService=b;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.linkFocused=new zv;this.linkBlurred=new zv;this.teamName=this.teamId;this.teamLogoUrl=this.teamDescription="";this.providedTeamId$=new W.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+bmc;this.fetchedTeam$=this.providedTeamId$.pipe(Te(),Ce(function(d){return"0"!==d}),df(function(d){return RJ(c.teamsService,d)}));this.isTeamFetched$=this.fetchedTeam$.pipe(B(function(){return!0}),
cf(!1));this.fetchedTeam$.pipe(ef(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});bmc++};X(yU,Y);yU.\u0275dir=Y.\u0275dir;g=yU.prototype;g.ngOnInit=function(){};g.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};g.trackClick=function(a){$m(Sp.TEAM_CARD,"click",a,1)};g.manageComponentLink=function(){return GAa(this.componentId,"basic")};
g.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};yU.\u0275fac=function(a){return new (a||yU)(A(nt),A(QJ))};
yU.\u0275cmp=Lc({type:yU,selectors:[["b-team-card"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},outputs:{linkFocused:"linkFocused",linkBlurred:"linkBlurred"},features:[nf,ed],decls:21,vars:7,consts:[["role","dialog","aria-label","Team hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"flex-kids-x"],["alt","Team logo"],[1,"flex-kids-y","margin-s-left","margin-s-bottom"],
[1,"type-m"],["svgIcon","supervisor_account_24px",1,"icon-xxs"],[1,"type-s","id-text"],[1,"card-description"],[1,"flex-kids-y","padded-s-top","hovercard-action-container"],["aria-label","View team settings",3,"routerLink","click"],["mat-button","",1,"gmat-button","primary","hovercard-action"],["target","_blank","aria-label","View component settings",3,"href","click"],["svgIcon","pop-out",1,"icon-xxs"],["aria-label","View team association on component",3,"href","click",4,"ngIf"],["aria-label","View team association on component",
3,"href","click"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1)(2,"div",2),I(3,"img",3),E(4,"div",4)(5,"div",5),I(6,"mat-icon",6),R(7),G(),E(8,"div",7),R(9),G()()(),E(10,"p",8),R(11),G(),E(12,"div",9)(13,"a",10),M("click",function(){return b.trackClick("viewTeamSettingsPage")}),E(14,"button",11),R(15,"View team settings"),G()(),E(16,"a",12),M("click",function(){return b.trackClick("viewTeamInMoma")}),E(17,"button",11),R(18,"View team in Moma "),I(19,"mat-icon",13),G()(),C(20,YSa,3,1,"a",14),
G()()());a&2&&(y(3),pf("src",b.teamLogoUrl,Pd),y(4),S(" Team: ",b.teamName," "),y(2),S("Team ID: ",b.teamId,""),y(2),$f(b.teamDescription),y(2),Nf("routerLink","/teams/",b.teamId,"/edit"),y(3),Nf("href","https://moma.corp.google.com/team/",b.teamId,"",Pd),y(4),D("ngIf",b.componentId))},dependencies:[dw,hB,xF,nA],styles:[".card-description[_ngcontent-%COMP%]{line-height:1.3em;margin-bottom:.5em;margin-top:.25em;max-height:13em;overflow-x:hidden;overflow-y:scroll;text-overflow:ellipsis;white-space:pre-wrap;word-break:break-word}mat-icon[_ngcontent-%COMP%]{vertical-align:middle}img[_ngcontent-%COMP%]{flex-shrink:0;object-fit:contain;width:24px;height:24px;box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);padding:5px;border-radius:4px}.id-text[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.hovercard-action-container[_ngcontent-%COMP%]{align-items:flex-start}.hovercard-action-container[_ngcontent-%COMP%]   .hovercard-action[_ngcontent-%COMP%]{height:24px;line-height:24px;margin-left:-8px}"]});var zU=function(){};zU.\u0275fac=function(a){return new (a||zU)};zU.\u0275mod=Nc({type:zU});zU.\u0275inj=wc({imports:[SH,BF,$C]});var cmc=0,AU=function(a){Y.call(this);var b=this;this.teamsService=a;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.providedTeamId$=new W.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+cmc;this.teamName=this.teamId;this.fetchedTeam$=this.providedTeamId$.pipe(Te(),Ce(function(c){return"0"!==c}),df(function(c){return RJ(b.teamsService,c)}));this.isTeamFetched$=this.fetchedTeam$.pipe(B(function(){return!0}),cf(!1));this.fetchedTeam$.pipe(ef(this.destroyed$)).subscribe(function(c){b.teamName=
c.name});cmc++};X(AU,Y);AU.\u0275dir=Y.\u0275dir;AU.prototype.ngOnInit=function(){};AU.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};AU.prototype.trackClick=function(a){$m(Sp.TEAM_CARD,"click",a,1)};AU.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};AU.\u0275fac=function(a){return new (a||AU)(A(QJ))};
AU.\u0275cmp=Lc({type:AU,selectors:[["b-team-display"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},features:[nf,ed],decls:8,vars:6,consts:[[4,"ngIf","ngIfElse"],["card","onedevHovercard"],[3,"componentId","teamId"],["loading",""],["target","_blank","class","card-anchor keep-focus-ring",3,"href","onedevHovercardTrigger","click",4,"ngIf"],[3,"onedevHovercardTrigger",4,"ngIf"],["target",
"_blank",1,"card-anchor","keep-focus-ring",3,"href","onedevHovercardTrigger","click"],["svgIcon","pop-out",1,"icon-xs"],[3,"onedevHovercardTrigger"],["class","animated-loading-bar",4,"ngIf"],[4,"ngIf"],[1,"animated-loading-bar"]],template:function(a,b){a&1&&(C(0,aTa,3,2,"ng-container",0),T(1,"async"),E(2,"onedev-hovercard",null,1),K(4),I(5,"b-team-card",2),L(),G(),C(6,dTa,2,2,"ng-template",null,3,jg));if(a&2){var c=Q(7);D("ngIf","0"!=b.teamId&&V(1,4,b.isTeamFetched$))("ngIfElse",c);y(5);D("componentId",
null==b.componentId?null:b.componentId.toString())("teamId",b.teamId.toString())}},dependencies:[dw,hB,LF,QF,yU,mw]});var BU=function(){};BU.\u0275fac=function(a){return new (a||BU)};BU.\u0275mod=Nc({type:BU});BU.\u0275inj=wc({imports:[SH,aN,zU]});var dmc=0,CU=function(a){this.elementRef=a;this.titleWhenExpanded=this.titleWhenCollapsed="";this.isExpanded=!1;this.iconName="";this.hasCompactTitleBar=!1;this.headerId="b-collapsible-panel-header-"+dmc;this.id="b-collapsible-panel-"+dmc;dmc++};CU.prototype.toggleExpansion=function(){var a=this;this.isExpanded||setTimeout(function(){return a.elementRef.nativeElement.scrollIntoView({behavior:"smooth",block:"nearest"})},200);this.isExpanded=!this.isExpanded};
Vg.Object.defineProperties(CU.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"}}});CU.\u0275fac=function(a){return new (a||CU)(A(Ad))};
CU.\u0275cmp=Lc({type:CU,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&&(Lf(),E(0,"div",0)(1,"button",1),M("click",function(){return b.toggleExpansion()})("mouseup",function(){b.elementRef.nativeElement.querySelector(".title-bar").blur()}),C(2,eTa,1,1,"b-icon",2)(3,fTa,2,1,"span",3)(4,gTa,2,0,"div",4),I(5,"mat-icon",5),G(),E(6,"div",6),Mf(7),G()());a&2&&(y(),yf("compact",
b.hasCompactTitleBar),pf("id",b.headerId)("aria-expanded",b.isExpanded)("aria-controls",b.id),y(),D("ngIf",b.iconName),y(),D("ngIf",!b.hasCompactTitleBar||!b.isExpanded),y(),D("ngIf",b.hasCompactTitleBar),y(),D("@expandCollapseIcon",b.expandedState),y(),D("@expandCollapseContent",b.expandedState),pf("id",b.id)("aria-labelledby",b.headerId))},dependencies:[dw,hB,yP],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:[mh("expandCollapseContent",[ph("expanded",oh({height:"*",visibility:"visible"})),ph("collapsed",oh({height:"0",visibility:"hidden"})),rh("expanded <=> collapsed",[nh("200ms")])]),mh("expandCollapseIcon",[ph("expanded",oh({transform:"rotate(-180deg)"})),ph("collapsed",oh({transform:"*"})),rh("expanded <=> collapsed",[nh("200ms")])])]}});var DU=function(){};DU.\u0275fac=function(a){return new (a||DU)};DU.\u0275mod=Nc({type:DU});DU.\u0275inj=wc({imports:[SH,DP]});var emc=new Xc("CDK_DRAG_CONFIG");var fmc=new Xc("CDK_DRAG_PARENT");var gmc=new Xc("CdkDragHandle"),EU=function(a,b){this.element=a;this._stateChanges=new W.Subject;this._disabled=!1;this._parentDrag=b};EU.prototype.ngOnDestroy=function(){this._stateChanges.complete()};Vg.Object.defineProperties(EU.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;this._stateChanges.next(this)}}});EU.\u0275fac=function(a){return new (a||EU)(A(Ad),A(fmc,12))};
EU.\u0275dir=Qc({type:EU,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",pg]},standalone:!0,features:[bg([{provide:gmc,useExisting:EU}]),of]});var hmc=new Xc("CdkDragPlaceholder");var imc=new Xc("CdkDragPreview");var jmc=Hg({passive:!1,capture:!0}),FU=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 W.Subject;this.pointerUp=new W.Subject;this.scroll=new W.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},kmc=function(a,b){a._dropInstances.has(b)||a._dropInstances.add(b)},lmc=function(a,b){a._dragInstances.add(b);1===a._dragInstances.size&&a._ngZone.runOutsideAngular(function(){a._document.addEventListener("touchmove",a._persistentTouchmoveListener,jmc)})},nmc=function(a,b){a._dragInstances.delete(b);mmc(a,b);0===a._dragInstances.size&&a._document.removeEventListener("touchmove",a._persistentTouchmoveListener,
jmc)};
FU.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:jmc}),a||this._globalListeners.set("mousemove",{handler:function(d){return c.pointerMove.next(d)},
options:jmc}),this._ngZone.runOutsideAngular(function(){c._globalListeners.forEach(function(d,e){c._document.addEventListener(e,d.handler,d.options)})})))};var mmc=function(a,b){b=a._activeDragInstances.indexOf(b);-1<b&&(a._activeDragInstances.splice(b,1),0===a._activeDragInstances.length&&a._clearGlobalListeners())};FU.prototype.isDragging=function(a){return-1<this._activeDragInstances.indexOf(a)};
FU.prototype.scrolled=function(a){var b=this,c=[this.scroll];a&&a!==this._document&&c.push(new W.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 W.merge.apply(null,r(c))};
FU.prototype.ngOnDestroy=function(){var a=this;this._dragInstances.forEach(function(b){return nmc(a,b)});this._dropInstances.forEach(function(b){a._dropInstances.delete(b)});this._clearGlobalListeners();this.pointerMove.complete();this.pointerUp.complete()};FU.prototype._clearGlobalListeners=function(){var a=this;this._globalListeners.forEach(function(b,c){a._document.removeEventListener(c,b.handler,b.options)});this._globalListeners.clear()};FU.\u0275fac=function(a){return new (a||FU)(p(Ge),p(Tg))};
FU.\u0275prov=vc({token:FU,factory:FU.\u0275fac,providedIn:"root"});var lTa=0;var omc=function(a){this._document=a;this.positions=new Map};omc.prototype.clear=function(){this.positions.clear()};omc.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:mTa(c)})})};
var pmc=function(a,b){var c=Lg(b);b=a.positions.get(c);if(!b)return null;b=b.scrollPosition;if(c===a._document){var d=a.getViewportScrollPosition();var e=d.top;d=d.left}else e=c.scrollTop,d=c.scrollLeft;var f=b.top-e,h=b.left-d;a.positions.forEach(function(k,q){k.clientRect&&c!==q&&c.contains(q)&&yp(k.clientRect,f,h)});b.top=e;b.left=d;return{top:f,left:h}};omc.prototype.getViewportScrollPosition=function(){return{top:window.scrollY,left:window.scrollX}};var qmc=Hg({passive:!0}),rmc=Hg({passive:!1}),qTa=new Set(["position"]),umc=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 W.Subject;this._resizeSubscription=this._scrollSubscription=this._pointerUpSubscription=this._pointerMoveSubscription=W.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 W.Subject;this.started=new W.Subject;this.released=new W.Subject;this.ended=new W.Subject;this.entered=new W.Subject;this.exited=new W.Subject;this.dropped=new W.Subject;this.moved=this._moveEvents;this._pointerDown=function(k){h.beforeStarted.next();if(h._handles.length){var q=h._getTargetHandle(k);!q||h._disabledHandles.has(q)||h.disabled||h._initializeDragSequence(q,
k)}else h.disabled||h._initializeDragSequence(h._rootElement,k)};this._pointerMove=function(k){var q=h._getPointerPositionOnPage(k);if(h._hasStartedDragging){k.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:k,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(k),w=h._dropContainer,q)?w&&(w.isDragging()||0<w._activeSiblings.size)||(k.preventDefault(),h._hasStartedDragging=!0,
h._ngZone.run(function(){return h._startDragSequence(k)})):h._endDragSequence(k))};this._pointerUp=function(k){h._endDragSequence(k)};this._nativeDragStart=function(k){if(h._handles.length){var q=h._getTargetHandle(k);!q||h._disabledHandles.has(q)||h.disabled||k.preventDefault()}else h.disabled||k.preventDefault()};smc(tmc(this,a),b.parentDragRef||null);this._parentPositions=new omc(c);lmc(f,this)};umc.prototype.getPlaceholderElement=function(){return this._placeholder};
umc.prototype.getRootElement=function(){return this._rootElement};
var vmc=function(a){return a.isDragging()?a.getPlaceholderElement():a.getRootElement()},wmc=function(a,b){a._handles=b.map(function(d){return Qg(d)});a._handles.forEach(function(d){return zp(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},tmc=function(a,b){var c=Qg(b);c!==a._rootElement&&(a._rootElement&&a._removeRootElementListeners(a._rootElement),a._ngZone.runOutsideAngular(function(){c.addEventListener("mousedown",
a._pointerDown,rmc);c.addEventListener("touchstart",a._pointerDown,qmc);c.addEventListener("dragstart",a._nativeDragStart,rmc)}),a._initialTransform=void 0,a._rootElement=c);"undefined"!==typeof SVGElement&&a._rootElement instanceof SVGElement&&(a._ownerSVGElement=a._rootElement.ownerSVGElement);return a},xmc=function(a,b){a._boundaryElement=b?Qg(b):null;a._resizeSubscription.unsubscribe();b&&(a._resizeSubscription=a._viewportRuler.change(10).subscribe(function(){return a._containInsideBoundaryOnResize()}));
return a},smc=function(a,b){a._parentDragRef=b};g=umc.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();nmc(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(),mmc(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();
mmc(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();mmc(this._dragDropRegistry,this)}};
g._startDragSequence=function(a){Ap(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();rTa(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=Ap(b),f=!e&&0!==b.button,h=this._rootElement,k=Lg(b),q=!e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();e=e?joa(b):ioa(b);k&&k.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=mTa(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;rTa(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=xTa(c,this._document);this._previewRef=c;a.matchSize?yTa(e,d):e.style.transform=wTa(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else e=kTa(this._rootElement),yTa(e,this._initialDomRect),this._initialTransform&&(e.style.transform=this._initialTransform);pTa(e.style,
{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":""+(this._config.zIndex||1E3)},qTa);zp(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=vTa(this._preview);return 0===c?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(d){var e=function(h){if(!h||Lg(h)===a._preview&&"transform"===h.propertyName){var k;null==(k=a._preview)||k.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=xTa(this._placeholderRef,this._document)):a=kTa(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=Ap(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=Ap(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,zp(this._rootElement,a))}};g._removeRootElementListeners=function(a){a.removeEventListener("mousedown",this._pointerDown,rmc);a.removeEventListener("touchstart",this._pointerDown,qmc);a.removeEventListener("dragstart",this._nativeDragStart,rmc)};
g._applyRootElementTransform=function(a,b){a=wTa(a,b);b=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=b.transform&&"none"!=b.transform?b.transform:"");b.transform=sTa(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=sTa(wTa(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,k=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<k&&(a-=k)):a=0;b===this._passiveTransform.x&&a===
this._passiveTransform.y||this.setFreeDragPosition({y:a,x:b})}}};g._getDragStartDelay=function(a){var b=this.dragStartDelay;return"number"===typeof b?b:Ap(a)?b.touch:b?b.mouse:0};
g._updateOnScroll=function(a){var b=pmc(this._parentPositions,a);b&&(a=Lg(a),this._boundaryRect&&a!==this._boundaryElement&&a.contains(this._boundaryElement)&&yp(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=eoa(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):Qg(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))})};Vg.Object.defineProperties(umc.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 zp(b,a)}))}}});var GU=function(a,b){this._element=a;this._dragDropRegistry=b;this._itemPositions=[];this.orientation="vertical";this._previousSwap={drag:null,delta:0,overlaps:!1}};GU.prototype.start=function(a){this.withItems(a)};
GU.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,k=e.findIndex(function(H){return H.drag===a}),q=e[f],t=q.clientRect,w=k>f?1:-1,z=this._getItemOffsetPx(e[k].clientRect,t,w),F=this._getSiblingOffsetPx(k,e,w),J=e.slice();Bp(e,k,f);e.forEach(function(H,O){if(J[O]!==H){var P=H.drag===a;O=P?z:F;P=P?a.getPlaceholderElement():H.drag.getRootElement();H.offset+=O;h?(P.style.transform=
sTa("translate3d("+Math.round(H.offset)+"px, 0, 0)",H.initialTransform),yp(H.clientRect,0,O)):(P.style.transform=sTa("translate3d(0, "+Math.round(H.offset)+"px, 0)",H.initialTransform),yp(H.clientRect,O,0))}});this._previousSwap.overlaps=nTa(t,b,c);this._previousSwap.drag=q.drag;this._previousSwap.delta=h?d.x:d.y;return{previousIndex:k,currentIndex:f}};
GU.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(),k=e[d];k===a&&(k=e[d+1]);!k&&(null==d||-1===d||d<e.length-1)&&this._shouldEnterAsFirstChild(b,c)&&(k=e[0]);-1<f&&e.splice(f,1);k&&!this._dragDropRegistry.isDragging(k)?(b=k.getRootElement(),b.parentElement.insertBefore(h,b),e.splice(d,0,a)):(Qg(this._element).appendChild(h),e.push(a));h.style.transform="";this._cacheItemPositions()};
GU.prototype.withItems=function(a){this._activeDraggables=a.slice();this._cacheItemPositions()};var ymc=function(a,b){a._sortPredicate=b};
GU.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};
GU.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 zmc=function(a,b,c){a._itemPositions.forEach(function(d){yp(d.clientRect,b,c)});a._itemPositions.forEach(function(d){d=d.drag;a._dragDropRegistry.isDragging(d)&&d._sortFromLastPointerPosition()})};g=GU.prototype;
g._cacheItemPositions=function(){var a="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(function(b){var c=vmc(b);return{drag:b,offset:0,initialTransform:c.style.transform||"",clientRect:mTa(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(k){var q=k.drag;k=k.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(k.left)&&b<Math.floor(k.right):c>=Math.floor(k.top)&&c<Math.floor(k.bottom)});return-1!==h&&this._sortPredicate(h,a)?h:-1};var Bmc=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 W.Subject;this.entered=new W.Subject;this.exited=new W.Subject;this.dropped=new W.Subject;this.sorted=new W.Subject;this.receivingStarted=new W.Subject;this.receivingStopped=new W.Subject;this._isDragging=!1;this._draggables=
[];this._siblings=[];this._activeSiblings=new Set;this._viewportScrollSubscription=W.Subscription.EMPTY;this._horizontalScrollDirection=this._verticalScrollDirection=0;this._stopScrollTimers=new W.Subject;this._cachedShadowRoot=null;this._startScrollInterval=function(){f._stopScrolling();(0,W.interval)(0,W.animationFrameScheduler).pipe(ef(f._stopScrollTimers)).subscribe(function(){var h=f._scrollNode,k=f.autoScrollStep;1===f._verticalScrollDirection?h.scrollBy(0,-k):2===f._verticalScrollDirection&&
h.scrollBy(0,k);1===f._horizontalScrollDirection?h.scrollBy(-k,0):2===f._horizontalScrollDirection&&h.scrollBy(k,0)})};this.element=Qg(a);this._document=c;Amc(this,[this.element]);kmc(b,this);this._parentPositions=new omc(c);this._sortStrategy=new GU(this.element,b);ymc(this._sortStrategy,function(h,k){return f.sortPredicate(h,k,f)})};g=Bmc.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,k){k=void 0===k?{}:k;this._reset();this.dropped.next({item:a,currentIndex:b,previousIndex:c,container:this,previousContainer:d,isPointerOverContainer:e,distance:f,dropPoint:h,event:k})};g.withItems=function(a){var b=this,c=this._draggables;this._draggables=a;a.forEach(function(d){return d._withDropContainer(b)});this.isDragging()&&(c.filter(function(d){return d.isDragging()}).every(function(d){return-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 Cmc=function(a,b){a._sortStrategy.orientation=b},Amc=function(a,b){var c=Qg(a.element);a._scrollableElements=-1===b.indexOf(c)?[c].concat(r(b)):b.slice()};g=Bmc.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&&oTa(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&&!k&&oTa(q.clientRect,a,b)){var w=q.clientRect;q=zTa(w,b);w=ATa(w,a);var z=0,F=0;if(q){var J=t.scrollTop;1===q?0<J&&(z=1):t.scrollHeight-J>t.clientHeight&&(z=2)}w&&(q=t.scrollLeft,"rtl"===c._sortStrategy.direction?2===w?0>q&&(F=2):t.scrollWidth+q>t.clientWidth&&(F=1):1===w?0<q&&(F=1):t.scrollWidth-q>t.clientWidth&&(F=
2));q=l([z,F]);d=q.next().value;e=q.next().value;if(d||e)k=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=zTa(h,b);e=ATa(h,a);var k=window}!k||d===this._verticalScrollDirection&&e===this._horizontalScrollDirection&&k===this._scrollNode||(this._verticalScrollDirection=d,this._horizontalScrollDirection=e,this._scrollNode=k,(d||e)&&k?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}};
g._stopScrolling=function(){this._stopScrollTimers.next()};g._draggingStarted=function(){var a=Qg(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=Qg(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=Qg(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&&nTa(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||!nTa(this._domRect,b,c)||!this.enterPredicate(a,this))return!1;a=this._getShadowRoot().elementFromPoint(b,c);if(!a)return!1;b=Qg(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=pmc(a._parentPositions,b))&&zmc(a._sortStrategy,b.top,b.left):0<a._activeSiblings.size&&a._cacheParentPositions()})};g._getShadowRoot=function(){this._cachedShadowRoot||(this._cachedShadowRoot=eoa(Qg(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 Dmc={dragStartThreshold:5,pointerDirectionChangeThreshold:5},HU=function(a,b,c,d){this._document=a;this._ngZone=b;this._viewportRuler=c;this._dragDropRegistry=d};HU.prototype.createDrag=function(a,b){b=void 0===b?Dmc:b;return new umc(a,b,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)};HU.\u0275fac=function(a){return new (a||HU)(p(Tg),p(Ge),p(oy),p(FU))};HU.\u0275prov=vc({token:HU,factory:HU.\u0275fac,providedIn:"root"});var Emc=new Xc("CdkDropList"),IU=function(a,b,c,d,e,f,h,k,q,t,w){var z=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 W.Subject;this.started=new zv;this.released=new zv;this.ended=new zv;this.entered=new zv;this.exited=new zv;this.dropped=new zv;this.moved=new W.Observable(function(F){var J=z._dragRef.moved.pipe(B(function(H){return{source:z,pointerPosition:H.pointerPosition,
event:H.event,delta:H.delta,distance:H.distance}})).subscribe(F);return function(){J.unsubscribe()}});this._dragRef=k.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;Fmc.push(this);f&&this._assignDefaults(f);b&&(this._dragRef._withDropContainer(b._dropListRef),b.addItem(this));this._syncInputs(this._dragRef);
this._handleEvents(this._dragRef)};g=IU.prototype;g.getPlaceholderElement=function(){return this._dragRef.getPlaceholderElement()};g.getRootElement=function(){return this._dragRef.getRootElement()};g.reset=function(){this._dragRef.reset()};g.setFreeDragPosition=function(a){this._dragRef.setFreeDragPosition(a)};
g.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.pipe(Ue(),ef(a._destroyed)).subscribe(function(){a._updateRootElement();a._setupHandlesListener();a.freeDragPosition&&a._dragRef.setFreeDragPosition(a.freeDragPosition)})})};g.ngOnChanges=function(a){var b=a.rootElementSelector;a=a.freeDragPosition;b&&!b.firstChange&&this._updateRootElement();a&&!a.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)};
g.ngOnDestroy=function(){var a=this;this.dropContainer&&this.dropContainer.removeItem(this);var b=Fmc.indexOf(this);-1<b&&Fmc.splice(b,1);this._ngZone.runOutsideAngular(function(){a._destroyed.next();a._destroyed.complete();a._dragRef.dispose()})};g._updateRootElement=function(){var a=this.element.nativeElement,b=a;if(this.rootElementSelector){var c;b=void 0!==a.closest?a.closest(this.rootElementSelector):null==(c=a.parentElement)?void 0:c.closest(this.rootElementSelector)}tmc(this._dragRef,b||a)};
g._getBoundaryElement=function(){var a=this.boundaryElement;return a?"string"===typeof a?this.element.nativeElement.closest(a):Qg(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:Rg(d);a.constrainPosition=b.constrainPosition;a.previewClass=b.previewClass;d=xmc(a,b._getBoundaryElement());d._placeholderTemplate=e;d._previewTemplate=f;d._previewContainer=b.previewContainer||"global";c&&a.withDirection(c.value)}});a.beforeStarted.pipe(Ue()).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;smc(a,(null==(d=Fmc.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,k=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);k&&(this.rootElementSelector=k);a&&(this.previewContainer=a)};
g._setupHandlesListener=function(){var a=this;this._handles.changes.pipe(cf(this._handles),ff(function(b){b=b.filter(function(c){return c._parentDrag===a}).map(function(c){return c.element});a._selfHandle&&a.rootElementSelector&&b.push(a.element);wmc(a._dragRef,b)}),df(function(b){return W.merge.apply(null,r(b.map(function(c){return c._stateChanges.pipe(cf(c))})))}),ef(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),zp(d,!0)):c._disabledHandles.has(d)&&(c._disabledHandles.delete(d),zp(d,c.disabled))})};Vg.Object.defineProperties(IU.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 Fmc=[];IU.\u0275fac=function(a){return new (a||IU)(A(Ad),A(Emc,12),A(Tg),A(Ge),A(Sf),A(emc,8),A(ay,8),A(HU),A(Uu),A(gmc,10),A(fmc,12))};
IU.\u0275dir=Qc({type:IU,selectors:[["","cdkDrag",""]],contentQueries:function(a,b,c){a&1&&(Vf(c,imc,5),Vf(c,hmc,5),Vf(c,gmc,5));if(a&2){var d;Yf(d=Zf())&&(b._previewTemplate=d.first);Yf(d=Zf())&&(b._placeholderTemplate=d.first);Yf(d=Zf())&&(b._handles=d)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(a,b){a&2&&yf("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",pg],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:[bg([{provide:fmc,useExisting:IU}]),of,ed]});var Gmc=new Xc("CdkDropListGroup");var Hmc=0,JU=function(a,b,c,d,e,f,h){var k=this;this.element=a;this._changeDetectorRef=c;this._scrollDispatcher=d;this._dir=e;this._group=f;this._destroyed=new W.Subject;this.connectedTo=[];this.id="cdk-drop-list-"+Hmc++;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.dropped=new zv;this.entered=new zv;this.exited=new zv;this.sorted=new zv;this._unsortedItems=new Set;this._dropListRef=new Bmc(a,b._dragDropRegistry,b._document,b._ngZone,b._viewportRuler);this._dropListRef.data=
this;h&&this._assignDefaults(h);this._dropListRef.enterPredicate=function(q,t){return k.enterPredicate(q.data,t.data)};this._dropListRef.sortPredicate=function(q,t,w){return k.sortPredicate(q,t.data,w.data)};this._setupInputSyncSubscription(this._dropListRef);this._handleEvents(this._dropListRef);Imc.push(this);f&&f._items.add(this)};JU.prototype.addItem=function(a){this._unsortedItems.add(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};
JU.prototype.removeItem=function(a){this._unsortedItems.delete(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};var Jmc=function(a){return Array.from(a._unsortedItems).sort(function(b,c){return vmc(b._dragRef).compareDocumentPosition(vmc(c._dragRef))&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})};g=JU.prototype;
g.ngOnDestroy=function(){var a=Imc.indexOf(this);-1<a&&Imc.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(cf(this._dir.value),ef(this._destroyed)).subscribe(function(c){return a.withDirection(c)});a.beforeStarted.subscribe(function(){var c=Ng(b.connectedTo).map(function(e){return"string"===typeof e?Imc.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=rSb(b._scrollDispatcher,b.element).map(function(e){return e.elementRef.nativeElement});
Amc(b._dropListRef,d);b._scrollableParentsResolved=!0}a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.sortingDisabled=b.sortingDisabled;a.autoScrollDisabled=b.autoScrollDisabled;a.autoScrollStep=Rg(b.autoScrollStep,2);Cmc(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,W.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(Jmc(this).map(function(a){return a._dragRef}))};
Vg.Object.defineProperties(JU.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 Imc=[];JU.\u0275fac=function(a){return new (a||JU)(A(Ad),A(HU),A(Uu),A(ky),A(ay,8),A(Gmc,12),A(emc,8))};
JU.\u0275dir=Qc({type:JU,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(a,b){a&2&&(pf("id",b.id),yf("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",pg],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",pg],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",pg],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},
exportAs:["cdkDropList"],standalone:!0,features:[bg([{provide:Gmc,useValue:void 0},{provide:Emc,useExisting:JU}]),of]});var KU=function(){};KU.\u0275fac=function(a){return new (a||KU)};KU.\u0275mod=Nc({type:KU});KU.\u0275inj=wc({providers:[HU],imports:[py]});var Kmc=["addLink"],Lmc=["showFewer"],Mmc=["showMore"],Nmc=["removeButton"],Omc=["userChip"],CTa=function(a,b){return{item:a,$index:b}},YTa=function(a){return{q:a}},Pmc=[[["",8,"title-action"]],[["",8,"value-action"]]],Qmc=[Object.assign({},Fp("start","bottom"),Gp("start","top"),{offsetY:8}),Object.assign({},Fp("center","bottom"),Gp("center","top"),{offsetY:8}),Object.assign({},Fp("end","bottom"),Gp("end","top"),{offsetY:8}),Object.assign({},Fp("start","top"),Gp("start","bottom"),{offsetY:-8}),Object.assign({},
Fp("end","top"),Gp("end","bottom"),{offsetY:-8})],LU=function(a,b,c,d){Y.call(this);this.cdr=a;this.dateFormatter=b;this.analytics=c;this.OVERLAY_POSITION_LIST=Qmc;this.defaultLineCount=Number.POSITIVE_INFINITY;this.isDefaultOrAllowedValues=this.preventDuplicates=this.readonly=!1;this.values=null;this.userMap=new Map;this.enumChoices=null;this.sortedEnumChoices=[];this.enumPendingValues=new Set;this.isUser=this.isActive=!1;this.valuesChange=new zv;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 zv;this.teamId=this.invalidMessage="";this.isString=Vh;this.enableTeamAnnotations=d.isInternalSession();this.environmentType=d.getEnvironmentType();this.enableCustomFieldSearchImprovements=tE(d,"enableCustomFieldSearchImprovements")};X(LU,Y);LU.\u0275dir=Y.\u0275dir;
LU.prototype.ngOnChanges=function(a){var b;if(null==(b=a.users)?0:b.currentValue)for(a=l(a.users.currentValue),b=a.next();!b.done;b=a.next()){b=b.value;var c=Ki(b);c&&this.userMap.set(c,Uh(b))}};LU.prototype.ngOnInit=function(){JTa(this)};LU.prototype.ngAfterViewInit=function(){var a=this,b;null==(b=this.userChips)||b.changes.subscribe(function(){a.cdr.detectChanges()})};
var JTa=function(a){a.sortedEnumChoices=[].concat(r(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})},KTa=function(a){var b=a.values||[],c=[].concat(r(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})},Cp=function(a){return a.enableCustomFieldSearchImprovements&&
900<a.sortedEnumChoices.length},wUa=function(a){return a.sortedEnumChoices.map(function(b){return b.displayText})};LU.prototype.isCustomField=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};
LU.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 k,q;null==(k=b.addLinkEl)||null==(q=k.nativeElement)||q.focus()}})};
LU.prototype.addItems=function(a){var b=[];this.values=this.values||[];if(a)if("REPEATED_DATE"===this.type){var c=hn(a);this.preventDuplicates&&this.values.find(function(f){return Th(f,c)})||b.push(c)}else if("REPEATED_NUMERIC"===this.type&&jsa(this.values)&&jsa(b))a=Number(a),this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(Wh(this.values)&&Wh(b))if(this.isCustomField())this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(!this.isCustomField()){a=l(a.split(/[,; ]/));
for(var d=a.next();!d.done;d=a.next()){var e=d=d.value;"CHANGELISTS"===this.type&&(e=zUa(d));e&&!this.values.includes(e)&&b.push(e)}}this.isDefaultOrAllowedValues&&"REPEATED_DATE"!==this.type||Ep(this,!0);0!==b.length&&(this.values=[].concat(r(this.values),r(b)),this.valuesChange.emit({values:this.values,added:b}))};LU.prototype.onDrop=function(a){Bp(this.values,a.previousIndex,a.currentIndex);this.valuesChange.emit({values:this.values})};
var Ep=function(a,b){var c,d=l(null!=(c=a.menuTriggers)?c:[]);for(c=d.next();!c.done;c=d.next())c.value.closeMenu();var e;d=l(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()},Dp=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()})},mUa=function(a){return!!a.values&&a.values.length>a.defaultLineCount+1},ETa=function(a){return a.values&&"REPEATED_DATE"===a.type?a.values.map(function(b){return a.dateFormatter.formatUserCalendar(gn(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 Vh(b)?b:isa(b)?""+b:a.dateFormatter.formatUserCalendar(gn(b))})},tUa=function(a,b,c){var d,e,f;return ke(function(h){if(1==
h.nextAddress)return a.inputValidator?me(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);qe(h)})};g=LU.prototype;g.trackClick=function(a){kp(this.analytics,Sp.LINK_FIELD,"click",a)};g.getUser=function(a){return this.userMap.get(a)};g.schedule=function(a){this.subscriptions.add(W.asyncScheduler.schedule(a))};
g.trackByIndex=function(a){return a};g.asNumber=function(a){return Number(a)};g.getAriaLabel=function(){if(!this.values||0===this.values.length)return this.title+" is empty";var a=this.title+" has "+this.values.length+" ";switch(this.type){case "USERCHIP":a+="user";break;case "REPEATED_DATE":a+="date";break;default:a+="item"}1<this.values.length&&(a+="s");return a};LU.\u0275fac=function(a){return new (a||LU)(A(EF,2),A(EG),A(MI),A(nt))};
LU.\u0275cmp=Lc({type:LU,selectors:[["b-list-field"]],viewQuery:function(a,b){a&1&&(Uf(Kmc,5),Uf(Lmc,5),Uf(Mmc,5),Uf(Nmc,5),Uf(Omc,5),Uf(GC,5),Uf(TQ,5));if(a&2){var c;Yf(c=Zf())&&(b.addLinkEl=c.first);Yf(c=Zf())&&(b.showFewer=c.first);Yf(c=Zf())&&(b.showMore=c.first);Yf(c=Zf())&&(b.removeButtons=c);Yf(c=Zf())&&(b.userChips=c);Yf(c=Zf())&&(b.menuTriggers=c);Yf(c=Zf())&&(b.popupTriggers=c)}},inputs:{defaultLineCount:"defaultLineCount",readonly:"readonly",preventDuplicates:"preventDuplicates",isDefaultOrAllowedValues:"isDefaultOrAllowedValues",
values:"values",users:"users",displayValuesOverride:"displayValuesOverride",enumChoices:"enumChoices",isUser:"isUser",listFieldDisabled:"listFieldDisabled",showingAll:"showingAll",title:"title",type:"type",tooltip:"tooltip",truncate:"truncate",additionAllowed:"additionAllowed",isCollapsible:"isCollapsible",isExpanded:"isExpanded",iconName:"iconName",collapsiblePanelTitle:"collapsiblePanelTitle",customFieldId:"customFieldId",inputValidator:"inputValidator",teamId:"teamId"},outputs:{valuesChange:"valuesChange",
toggleAccessLimits:"toggleAccessLimits"},features:[bg([EF]),nf,ed],ngContentSelectors:[".title-action",".value-action"],decls:25,vars:22,consts:[[1,"bv2-issue-metadata-list-field","bv2-issue-metadata-field"],["tabindex","0",1,"bv2-issue-metadata-field-inner",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],[1,"bv2-editable-title",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],[4,"ngIf"],["cdkDropList","",1,"list-field-content",3,"cdkDropListDisabled","cdkDropListDropped"],[3,"isExpanded",
"iconName","hasCompactTitleBar","title",4,"ngIf"],[1,"bv2-field-user-action-footer"],["addLink",""],[3,"ngSwitch",4,"ngIf"],["itemRenderer",""],["metadataTools",""],["enumPopup","matMenu"],["matMenuContent",""],["textPopup",""],["datePopup",""],["customFieldPopup",""],[3,"isExpanded","iconName","hasCompactTitleBar","title"],["cdkDrag","",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngTemplateOutlet"],["cdkDrag",""],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[3,"ngSwitch"],[4,"ngSwitchCase"],["mat-button",
"","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Add a new item to the list","tabindex","0",3,"xapInlineDialogClick","overlayPositions",4,"ngSwitchCase"],["mat-button","","panelClass","bv2-add-item-bubble","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","tabindex","0",3,"xapInlineDialogClick","overlayPositions","matTooltip","beforeOpened",4,"ngSwitchDefault"],["mat-button","","aria-haspopup","true","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","","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","closed",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,"matMenuTriggerFor","menuOpened","menuClosed"],["mat-button","","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","closed"],["mat-button","","matTooltip","Add a new item to the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions"],["mat-button","","panelClass","bv2-add-item-bubble",
"tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions","matTooltip","beforeOpened"],["class","flex-kids-x flex-cross-axis-centered flex-wrappable",4,"ngIf"],[1,"flex-kids-x","flex-cross-axis-centered","flex-wrappable"],[1,"bv2-issue-metadata-list-item"],[4,"ngIf","ngIfElse"],["checkIfWorkspaces",""],["checkIfTeam",""],["checkIfPostMortems",""],["checkIfRepeatedEnum",""],["default",""],["tabindex","0","aria-label","Open issue access dialog.",
"class","issue-metadata-field-edit-icon","size","small","name","edit_24px",3,"click","keydown.enter","keydown.space",4,"ngIf","ngIfElse"],["removeIcon",""],[1,"float-clear"],[3,"changelistId"],["target","_blank",1,"bv2-metadata-link",3,"href"],[3,"teamId","componentId"],["target","_blank",1,"bv2-metadata-link",3,"href","click"],["class","overflow-ellipsis",3,"matTooltip",4,"ngIf","ngIfElse"],[1,"overflow-ellipsis",3,"matTooltip"],["routerLink","/issues",1,"subtle-link",3,"queryParams","click"],["class",
"list-field-user-container",4,"ngIf"],[3,"maxWidth","modelValue","disabled"],[1,"list-field-user-container"],[3,"user","email","teamId","enableSmallChip","enableGroupIcon",4,"ngIf"],[3,"email",4,"ngIf"],[3,"user","email","teamId","enableSmallChip","enableGroupIcon"],["userChip",""],[3,"email"],["tabindex","0","aria-label","Open issue access dialog.","size","small","name","edit_24px",1,"issue-metadata-field-edit-icon",3,"click","keydown.enter","keydown.space"],["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,"disabled","matTooltip","click"],["removeButton",""],["class","bv2-metadata-tool bv2-metadata-link","tabindex","0","role","button",3,"matTooltip","click","keydown.enter","keydown.space",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"matTooltip","click","keydown.enter","keydown.space"],["showFewer",""],[1,"bv2-metadata-tool"],["tabindex","0","role","button",
1,"bv2-metadata-link",3,"matTooltip","click","keydown.enter","keydown.space"],["showMore",""],["mat-menu-item","","type","button","role","menuitemcheckbox",3,"disabled","b-menu-item-checked","click",4,"ngFor","ngForOf","ngForTrackBy"],["mat-menu-item","","type","button","role","menuitemcheckbox",3,"disabled","click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],[3,"ngSubmit"],["textPopupForm","ngForm","formEl",""],["type","text","name","input","ngModel","","required","","aria-expanded",
"true","autofocus","",3,"bContactAutocomplete",4,"ngIf"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type",4,"ngIf"],[1,"bv2-list-field-addition-dialog-buttons"],["mat-flat-button","","type","submit",1,"gmat-button","medium","field-popup-button",3,"disabled"],["svgIcon","done"],["mat-stroked-button","","type","button",1,"gmat-button","medium","field-popup-button",3,"click"],["svgIcon","close"],["type","text","name","input","ngModel","","required",
"","aria-expanded","true","autofocus","",3,"bContactAutocomplete"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type"],[3,"required","renderPanel","dateChange","cancelClicked"],[3,"allowedValues","onValueSelect"],["mat-flat-button","","type","submit",1,"gmat-button","medium","field-popup-button",3,"disabled","click"]],template:function(a,b){a&1&&(Lf(Pmc),E(0,"div",0)(1,"div",1)(2,"div",2),C(3,BTa,2,1,"label",3),Mf(4),G(),E(5,"div",4),M("cdkDropListDropped",
function(c){return b.onDrop(c)}),C(6,FTa,3,7,"collapsible-panel",5)(7,ITa,4,4,"ng-container",3),E(8,"div",6,7),C(10,QTa,4,3,"ng-container",8),Mf(11,1),G()()(),C(12,jUa,1,1,"ng-template",null,9,jg)(14,nUa,2,2,"ng-template",null,10,jg),E(16,"mat-menu",null,11),C(18,pUa,1,2,"ng-template",12),G(),C(19,uUa,13,6,"ng-template",null,13,jg)(21,vUa,1,2,"ng-template",null,14,jg)(23,xUa,8,4,"ng-template",null,15,jg),G());a&2&&(yf("empty-list-field-indication",!(null==b.values?0:b.values.length))("active",b.isActive&&
!b.listFieldDisabled&&!b.readonly),y(),yf("bv2-disabled",b.listFieldDisabled)("bv2-readonly",b.readonly),D("matTooltip",b.tooltip)("matTooltipPosition","left")("matTooltipDisabled",Cp(b)),pf("aria-label",b.getAriaLabel()),y(),D("matTooltip",b.tooltip)("matTooltipPosition","left")("matTooltipDisabled",!Cp(b)),y(),D("ngIf",b.title),y(2),yf("draggable",(null==b.values?null:b.values.length)&&b.isDefaultOrAllowedValues),D("cdkDropListDisabled",!b.isDefaultOrAllowedValues),y(),D("ngIf",b.isCollapsible),
y(),D("ngIf",!b.isCollapsible),y(3),D("ngIf",!b.readonly&&b.additionAllowed))},dependencies:[hw,dw,lw,iw,jw,kw,hB,yP,UA,wU,CS,Pw,Dg,Hw,Iw,$w,Ow,Mw,nA,PC,rM,pU,CT,JU,IU,QQ,PQ,TQ,HC,FC,GC,EC,hP,CU,AU,xF,tU],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}[_nghost-%COMP%]     .bv2-field-user-action-footer span{width:max-content;display:flex}"]});
var Rmc={USERCHIP:"USERCHIP",CHANGELISTS:"CHANGELISTS",POSTMORTEMS:"POSTMORTEMS",REPEATED_TEXT:"REPEATED_TEXT",REPEATED_DATE:"REPEATED_DATE",REPEATED_ENUM:"REPEATED_ENUM",REPEATED_NUMERIC:"REPEATED_NUMERIC",TEAM:"TEAM",WORKSPACES:"WORKSPACES"},MU=function(){};MU.\u0275fac=function(a){return new (a||MU)};MU.\u0275mod=Nc({type:MU});MU.\u0275inj=wc({imports:[SH,DP,ID,xU,XS,dx,$C,JD,bN,zU,qU,DT,KU,lR,nR,IC,iP,DU,nR,BU,BF,uU]});var BUa=function(){return[]},NU=function(){this.disabled=this.readonly=!1;this.save=new zv},Smc=function(a){return a.issue.customFieldMap[a.field.customFieldId]};NU.prototype.getDisplayValue=function(){var a,b,c=null!=(b=null==(a=Smc(this).displayValues)?void 0:a[0])?b:null;"0.0"===c&&(c="0");return c};NU.prototype.getTooltip=function(){var a=this.field.customFieldId;a=this.field.shared?"(Global Field "+a+". see go/b-gcf)":"[ID: "+a+"]";var b;return(null!=(b=this.field.description)?b:"")+" "+a};
var AUa=function(a){return(a=jn(Smc(a)))&&void 0===a.values?a:null},DUa=function(a){return(a=jn(Smc(a)))&&void 0!==a.values?a.values:null};Vg.Object.defineProperties(NU.prototype,{isShared:{configurable:!0,enumerable:!0,get:function(){return this.field.shared}}});NU.\u0275fac=function(a){return new (a||NU)};
NU.\u0275cmp=Lc({type:NU,selectors:[["b-custom-field-editor"]],viewQuery:function(a,b){a&1&&Uf(rU,5);if(a&2){var c;Yf(c=Zf())&&(b.editField=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&yf("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,"readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","customFieldId","valueChange"],[3,"readonly","defaultLineCount","title","type","customFieldId","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled","valuesChange"]],
template:function(a,b){a&1&&C(0,FUa,3,2,"ng-container",0);a&2&&D("ngIf",Smc(b))},dependencies:[dw,LU,rU],encapsulation:2});var OU=function(){};OU.\u0275fac=function(a){return new (a||OU)};OU.\u0275mod=Nc({type:OU});OU.\u0275inj=wc({imports:[SH,MU,sU]});var PU=function(){this.customFields=this.selectedComponent=null;this.fieldSelected=new zv;this.filter=function(){return!0}};PU.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};PU.\u0275fac=function(a){return new (a||PU)};
PU.\u0275cmp=Lc({type:PU,selectors:[["b-custom-field-picker"]],inputs:{filter:"filter"},outputs:{fieldSelected:"fieldSelected"},decls:5,vars:4,consts:[[1,"bv2-custom-field-picker"],[1,"bv2-custom-field-picker-message"],[3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["class","bv2-custom-field-picker-select-box",4,"ngIf"],[1,"bv2-custom-field-picker-select-box"],[4,"ngIf"],["appearance","outline"],[1,"mat-select","bv2-custom-field-picker-select",3,"selectionChange"],[3,
"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1),R(2," First, select a component that contains the custom field. "),G(),E(3,"b-team-component-picker",2),M("selectedComponentChange",function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)}),G(),C(4,KUa,4,3,"div",3),G());a&2&&(y(3),D("selectedComponent",b.selectedComponent)("placeholder","Choose Component")("isRequired",!0),y(),D("ngIf",b.selectedComponent))},dependencies:[hw,dw,dB,bB,pN,qA,LR],
encapsulation:2});var QU=function(){};QU.\u0275fac=function(a){return new (a||QU)};QU.\u0275mod=Nc({type:QU});QU.\u0275inj=wc({imports:[SH,qN,$R]});var Tmc=function(a){return{value:a}},RU=function(){this.isNonemptyJsonDateValue=JAa};RU.prototype.toDate=function(a){return gn(a)};RU.\u0275fac=function(a){return new (a||RU)};
RU.\u0275cmp=Lc({type:RU,selectors:[["b-custom-field-value-display"]],inputs:{customFieldValue:"customFieldValue"},decls:6,vars:4,consts:[[1,"bv2-custom-field-value-display"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["null",""],["nonNull",""],[4,"ngIf"],["mode","date",3,"date"],[4,"ngFor","ngForOf"]],template:function(a,b){a&1&&(E(0,"span",0),C(1,LUa,1,0,"ng-container",1),G(),C(2,MUa,0,0,"ng-template",null,2,jg)(4,ZUa,8,8,"ng-template",null,3,jg));if(a&2){var c=Q(5);y();D("ngTemplateOutlet",
null==b.customFieldValue?null:c)("ngTemplateOutletContext",fg(2,Tmc,b.customFieldValue))}},dependencies:[hw,dw,lw,AS],encapsulation:2});var SU=function(){};SU.\u0275fac=function(a){return new (a||SU)};SU.\u0275mod=Nc({type:SU});SU.\u0275inj=wc({imports:[SH,QS]});var TU=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};TU.prototype.ngOnInit=function(){Umc(this,this.issuesToFlag)};
var Umc=function(a,b){0>=b.length?a.permissionsCheckComplete=!0:zH(a.userAccess,"admin","components/"+b[0].componentId).then(function(c){a.issuesChecked++;c||a.protectedIssues.push(b[0]);Umc(a,b.slice(1))},function(c){a.errorHandler.errorHandler(null,c)})};TU.\u0275fac=function(a){return new (a||TU)(A(jG),A(xH),A(AG),A(DA))};
TU.\u0275cmp=Lc({type:TU,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&&(E(0,"h1",0),R(1,"Flag Issues as Spam"),G(),E(2,"div",1)(3,"div",2)(4,"p"),R(5),E(6,"a",3),R(7,"see here"),G(),R(8,". "),G(),E(9,"p"),R(10," This operation cannot be undone in bulk. "),G()(),E(11,"div",4),C(12,cVa,3,2,"div",5)(13,eVa,5,2,"div",5),G()(),E(14,"div",6)(15,"button",7),R(16," Close "),G(),E(17,"button",8),R(18," Flag as Spam "),G()());a&2&&(y(5),S(" 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, "),
y(),D("href",T4b(b.documentationLinks),Pd),y(6),D("ngIf",!b.permissionsCheckComplete),y(),D("ngIf",b.permissionsCheckComplete&&0<b.protectedIssues.length),y(4),D("disabled",!b.permissionsCheckComplete)("mat-dialog-close",!0))},dependencies:[hw,dw,nA,FA,GA,HA,IA],encapsulation:2});var UU=function(a,b){this.cdr=a;this.dialogRef=b;this.component=null};UU.prototype.updateComponent=function(a){this.component=a;this.cdr.detectChanges()};UU.prototype.save=function(){this.dialogRef.close(this.component)};UU.prototype.cancel=function(){this.dialogRef.close()};UU.\u0275fac=function(a){return new (a||UU)(A(EF,2),A(BA))};
UU.\u0275cmp=Lc({type:UU,selectors:[["b-bulk-move-dialog"]],features:[bg([EF])],decls:13,vars:4,consts:[["mat-dialog-title",""],[1,"bv2-bulk-move-warning"],[3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","",1,"gmat-button",3,"disabled","click"]],template:function(a,b){a&1&&(E(0,"h1",0),R(1,"Change Component"),G(),E(2,"mat-dialog-content")(3,"p"),R(4,"Choose new component for these issues."),G(),E(5,"p",1),
R(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. "),G(),E(7,"b-team-component-picker",2),M("selectedComponentChange",function(c){return b.updateComponent(null!==c&&void 0!==c?c:null)}),G()(),E(8,"mat-dialog-actions")(9,"button",3),M("click",function(){return b.cancel()}),R(10," Cancel "),G(),E(11,"button",4),M("click",function(){return b.save()}),R(12," Save "),G()());a&2&&(y(7),D("selectedComponent",
b.component)("placeholder","Choose Component")("isRequired",!0),y(4),D("disabled",null==b.component))},dependencies:[nA,GA,HA,IA,LR],styles:[".bv2-bulk-move-warning[_ngcontent-%COMP%]{font-weight:bold}"]});var VU=function(){this.renderPanel=!0;this.sloEditCommit=new zv;this.closePicker=new zv};VU.prototype.ngOnChanges=function(a){if(a.sloEditTime){var b;this.currentPickerDate=null!=(b=hFa(this.sloEditTime))?b:void 0}};VU.prototype.setDate=function(a){this.currentPickerDate=a};VU.\u0275fac=function(a){return new (a||VU)};
VU.\u0275cmp=Lc({type:VU,selectors:[["slo-edit-date-time-picker"]],inputs:{sloEditTime:"sloEditTime",sloStatus:"sloStatus",renderPanel:"renderPanel"},outputs:{sloEditCommit:"sloEditCommit",closePicker:"closePicker"},features:[bg([EF]),ed],decls:2,vars:2,consts:[[3,"clickOutside"],[3,"renderPanel","date","dateSelectionChange","saveClicked","cancelClicked"]],template:function(a,b){a&1&&(E(0,"div",0),M("clickOutside",function(){b.closePicker.emit()}),E(1,"b-date-time-picker-content",1),M("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()}),G()());a&2&&(y(),D("renderPanel",b.renderPanel)("date",b.currentPickerDate))},dependencies:[GE,CS],styles:["b-date-time-picker-content[_ngcontent-%COMP%]{right:10px;z-index:100}[_nghost-%COMP%]     .mat-form-field{width:9rem;margin-left:1rem}[_nghost-%COMP%]     .mat-form-field .mat-form-field-underline{bottom:0}/*# sourceMappingURL=slo_edit_date_time_picker.css.map */"],
changeDetection:0});var WU=function(a,b){this.data=a;this.dialogRef=b;this.commitEvent=void 0;this.fieldDisplayName=a.fieldDisplayName};WU.prototype.close=function(){this.dialogRef.close(this.commitEvent)};WU.\u0275fac=function(a){return new (a||WU)(A(DA),A(BA))};
WU.\u0275cmp=Lc({type:WU,selectors:[["b-edit-calendar-modal"]],decls:3,vars:2,consts:[["mat-dialog-title",""],[3,"renderPanel","sloEditCommit","closePicker"]],template:function(a,b){a&1&&(E(0,"h1",0),R(1),G(),E(2,"slo-edit-date-time-picker",1),M("sloEditCommit",function(c){b.commitEvent=c})("closePicker",function(){return b.close()}),G());a&2&&(y(),S("Edit ",b.fieldDisplayName,""),y(),D("renderPanel",!1))},dependencies:[VU],encapsulation:2});var XU=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})};
XU.prototype.enableSubmit=function(){return this.isEnumSpec&&""!==this.currentEnumLabel||!this.isEnumSpec};XU.prototype.cancel=function(){this.dialogRef.close(void 0)};XU.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)};XU.\u0275fac=function(a){return new (a||XU)(A(DA),A(BA))};
XU.\u0275cmp=Lc({type:XU,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,"disabled","click"],["matInput","",3,"ngModel","ngModelChange","keypress"],[1,"bv2-top-field-label"],[3,"value","includeEmptyOption","options","valueChange"]],template:function(a,b){a&1&&(E(0,"h1",0),R(1),G(),C(2,fVa,5,2,"mat-dialog-content",1)(3,
gVa,4,4,"div",2),E(4,"mat-dialog-actions")(5,"button",3),M("click",function(){return b.cancel()}),R(6," Cancel "),G(),E(7,"button",4),M("click",function(){return b.save()}),R(8," Save "),G()());a&2&&(y(),S("Edit ",b.fieldDisplayName,""),y(),D("ngIf",!b.isEnumSpec),y(),D("ngIf",b.isEnumSpec),y(4),D("disabled",!b.enableSubmit()))},dependencies:[dw,Dg,Hw,Ow,nA,GA,HA,IA,dB,bB,fB,OS],encapsulation:2});var YU=function(a,b){this.data=a;this.dialogRef=b;this.fieldDisplayName=this.removeItems=this.addItems="";this.fieldDisplayName=a.fieldDisplayName};YU.prototype.save=function(){this.dialogRef.close({addItems:this.addItems,removeItems:this.removeItems})};YU.prototype.close=function(){this.dialogRef.close()};YU.\u0275fac=function(a){return new (a||YU)(A(DA),A(BA))};
YU.\u0275cmp=Lc({type:YU,selectors:[["b-edit-item-modal"]],decls:20,vars:6,consts:[["mat-dialog-title",""],[1,"bv2-modal-form"],["matInput","","type","text",3,"ngModel","ngModelChange"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(E(0,"h1",0),R(1),G(),E(2,"mat-dialog-content")(3,"p"),R(4),G(),E(5,"div",1)(6,"mat-form-field")(7,"mat-label"),R(8),G(),E(9,"input",2),M("ngModelChange",function(c){return b.addItems=c}),G()(),
I(10,"br"),E(11,"mat-form-field")(12,"mat-label"),R(13),G(),E(14,"input",2),M("ngModelChange",function(c){return b.removeItems=c}),G()()()(),E(15,"mat-dialog-actions")(16,"button",3),M("click",function(){return b.close()}),R(17," Cancel "),G(),E(18,"button",4),M("click",function(){return b.save()}),R(19," Save "),G()());a&2&&(y(),S("Edit ",b.fieldDisplayName,""),y(3),S("Enter ",b.fieldDisplayName," to add or remove"),y(4),S(" ",b.fieldDisplayName," to Add "),y(),D("ngModel",b.addItems),y(4),S(" ",
b.fieldDisplayName," to Remove "),y(),D("ngModel",b.removeItems))},dependencies:[Dg,Hw,Ow,nA,dB,bB,fB,GA,HA,IA],encapsulation:2});var Vmc=["hotlistFilterInput"],Wmc=["hotlistCreate"],Xmc=["hotlistApply"],Ymc=["hotlistLoad"],Zmc=["menuitem"],ZU=function(a,b,c,d,e,f){Y.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 zv;this.onApply=new zv;this.onLoad=new zv;this.hotlistEditAcls={};this.validHotlistIds=new Set;this.pendingChanges=this.canLoad=this.canCreate=!1;this.oldSelectedHotlistMap=
{};this.selectedHotlistMap={};this.shouldShowHotlist={};this.filterText="";this.focusedRowIndex=-1;this.isAnonymous=this.activeSession.isAnonymous()};X(ZU,Y);ZU.\u0275dir=Y.\u0275dir;ZU.prototype.ngAfterViewInit=function(){var a=this,b;null==(b=this.trigger)||b.menuOpened.pipe(ef(this.destroyed$)).subscribe(function(){(0,W.timer)(0).pipe(ef(a.destroyed$)).subscribe(function(){a.focusFilterBox()})});var c;null==(c=this.trigger)||c.menuClosed.pipe(ef(this.destroyed$)).subscribe(function(){$mc(a)})};
ZU.prototype.focusFilterBox=function(){this.filterElement.nativeElement.focus()};ZU.prototype.ngOnChanges=function(){anc(this);this.oldSelectedHotlistMap=Object.assign({},this.selectedHotlistMap);this.pendingChanges=this.canCreate=!1;bnc(this)};
var anc=function(a){var b={};Uda(a.selectedHotlistMap);if(a.choices){a.validHotlistIds.clear();for(var c=l(a.choices),d=c.next();!d.done;d=c.next())d=d.value,b[d.hotlistId]=0,a.validHotlistIds.add(d.hotlistId);if(a.selectedHotlistIds){c=a.selectedHotlistIds.length;d=l(a.selectedHotlistIds);for(var e=d.next();!e.done;e=d.next())if(e=e.value){e=l(e);for(var f=e.next();!f.done;f=e.next())b[f.value]++}d=l(Object.entries(b));for(e=d.next();!e.done;e=d.next())f=l(e.value),e=f.next().value,f=f.next().value,
a.selectedHotlistMap[Number(e)]=f?f===c?!0:null:!1;Gaa(a.choices,function(h,k){var q=b[h.hotlistId],t=b[k.hotlistId];return q>t?-1:q<t?1:Kq(h.name,k.name)})}}};ZU.prototype.open=function(){this.trigger.openMenu();this.cdr.detectChanges()};ZU.prototype.close=function(){this.trigger.closeMenu()};
ZU.prototype.hasAclToEdit=function(a){var b=this;if(Rda(this.hotlistEditAcls,a.hotlistId))return this.hotlistEditAcls[a.hotlistId];zH(this.userAccess,"appender","hotlists/"+a.hotlistId).then(function(c){b.hotlistEditAcls[a.hotlistId]=c})};
var hVa=function(a,b){if(!a.checkEditAcl)return!1;a=a.hasAclToEdit(b);return void 0===a?!0:!a},Jp=function(a,b){var c=a.selectedHotlistMap[b.hotlistId];a.selectedHotlistMap[b.hotlistId]=null===c?!0:!c;oVa(a);a.close()},oVa=function(a){a.onApply.emit({oldSelectionMap:a.oldSelectedHotlistMap,newSelectionMap:a.selectedHotlistMap})},bnc=function(a){for(var b=a.filterText,c=!1,d=l(a.choices),e=d.next();!e.done;e=d.next())e=e.value,a.shouldShowHotlist[e.hotlistId]=ia(e.name.toLowerCase(),b.toLowerCase()),
e.name===b&&(c=!0);a.canCreate=!(!b||c);a.canLoad=to(bi(b))&&!!b&&!!a.onLoad},$mc=function(a){a.trigger.menuOpen||(anc(a),a.filterText="",bnc(a),a.pendingChanges=!1,a.focusedRowIndex=-1)},cnc=function(a){var b=a.selectedHotlistIds;return b&&1===b.length?"Hotlists ("+xaa(b[0],function(c){return a.validHotlistIds.has(c)})+")":"Hotlists"};
ZU.prototype.createHotlist=function(){var a=this,b=this.filterText;this.canCreate&&(this.filterText="",bnc(this),this.onCreate.emit({name:b,successCallback:function(c){Jp(a,c)},errorCallback:function(){a.butterBar.showWarning("Failed to create hotlist "+b)}}))};
ZU.prototype.loadHotlist=function(){var a=this,b=this.filterText;if(this.canLoad){kp(this.analytics,"hotlistPicker","loadHotlist");Ks(this.butterBar,"Loading hotlist "+b.toString());this.filterText="";bnc(this);for(var c=Zh(b),d=l(this.choices),e=d.next();!e.done;e=d.next())if(e=e.value,c===e.hotlistId){Jp(this,e);return}this.onLoad.emit({hotlistId:c,successCallback:function(f){Jp(a,f)},errorCallback:function(){a.butterBar.showWarning("Failed to load hotlist "+b)}})}};
var iVa=function(a,b){hVa(a,b)||(a.selectedHotlistMap[b.hotlistId]=!a.selectedHotlistMap[b.hotlistId],a.focusFilterBox(),a.pendingChanges=!Th(a.oldSelectedHotlistMap,a.selectedHotlistMap))},jnc=function(a,b){b=void 0===b?0:b;var c=dnc(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(dnc(a),b),enc(a),fnc(a,b)):a.focusedRowIndex<d&&a.canCreate?gnc(a,d):a.focusedRowIndex<
d+1&&a.canLoad?hnc(a,d):a.focusedRowIndex<d+2&&a.pendingChanges&&inc(a,d)},dnc=function(a){return a.menuItems.map(function(b){return b.nativeElement})},knc=function(a,b){b=void 0===b?0:b;if(a.focusedRowIndex===a.choices.length+1&&a.canCreate)gnc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canLoad)hnc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canCreate)gnc(a,a.choices.length);else{var c=dnc(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(dnc(a),b),enc(a),fnc(a,b)):(a.focusedRowIndex=-1,fnc(a,null))}},fnc=function(a,b){a.filterElement&&UM(a.filterElement.nativeElement,b);a.focusFilterBox()},gnc=function(a,b){a.focusedRowIndex=b;UM(a.filterElement.nativeElement,null);var c;null==(c=a.createElement)||c.focus();a.liveAnnouncer.announce("Create new hotlist "+a.filterText);a.focusFilterBox()},hnc=function(a,b){a.focusedRowIndex=b+1;UM(a.filterElement.nativeElement,null);
var c;null==(c=a.loadElement)||c.focus();a.liveAnnouncer.announce("Load hotlist "+a.filterText);a.focusFilterBox()},inc=function(a,b){a.focusedRowIndex=b+2;UM(a.filterElement.nativeElement,null);var c;null==(c=a.applyElement)||c.focus();a.liveAnnouncer.announce("Apply");a.focusFilterBox()},enc=function(a){-1===a.focusedRowIndex||a.focusedRowIndex>=a.choices.length||(a=dnc(a)[a.focusedRowIndex],a.scrollIntoViewIfNeeded?a.scrollIntoViewIfNeeded():a.scrollIntoView({block:"end"}))},jVa=function(a){return null==
a?"mixed":a.toString()},kVa=function(a){return null==a?"indeterminate":a?"checked":"unchecked"};ZU.\u0275fac=function(a){return new (a||ZU)(A(Ax),A(hG),A(xH),A(MI),A(nt),A(EF,2))};
ZU.\u0275cmp=Lc({type:ZU,selectors:[["b-hotlist-picker"]],viewQuery:function(a,b){a&1&&(Uf(GC,5),Uf(Vmc,5),Uf(Wmc,5),Uf(Xmc,5),Uf(Ymc,5),Uf(Zmc,5));if(a&2){var c;Yf(c=Zf())&&(b.trigger=c.first);Yf(c=Zf())&&(b.filterElement=c.first);Yf(c=Zf())&&(b.createElement=c.first);Yf(c=Zf())&&(b.applyElement=c.first);Yf(c=Zf())&&(b.loadElement=c.first);Yf(c=Zf())&&(b.menuItems=c)}},inputs:{selectedHotlistIds:"selectedHotlistIds",choices:"choices",checkEditAcl:"checkEditAcl"},outputs:{onCreate:"onCreate",onApply:"onApply",
onLoad:"onLoad"},features:[bg([EF]),nf,ed],decls:13,vars:4,consts:[["mat-button","","id","hotlist-picker-button","aria-describedby","hotlist-picker-label-text",1,"gmat-button","medium","primary",3,"matMenuTriggerFor","disabled"],["id","hotlist-picker-label-text"],["name","arrow-dropdown","size","small"],["hotlistMenu","matMenu"],[1,"menu"],[1,"menu-control"],[1,"hotlist-filter"],["mat-input","","type","text","id","hotlist-filter-input","maxlength","255","role","combobox","aria-autocomplete","list",
"aria-expanded","true","placeholder","Type to filter hotlists from your sidebar","autocomplete","off",3,"ngModel","ngModelChange","mousedown","blur","click","keydown"],["hotlistFilterInput",""],["matMenuContent",""],["role","listbox",1,"multi-edit-scrollarea"],["hotlistChoices",""],["class","multi-edit-menuitem","role","option",3,"display","focused","title","click",4,"ngFor","ngForOf"],["mat-menu-item","","matTooltip","Type a new name to create a hotlist","matTooltipPosition","right","title","Type a new hotlist name above and then click here to create a new hotlist.",
1,"hotlist-create",3,"disabled","click","keydown.enter"],["hotlistCreate",""],[4,"ngIf"],["mat-menu-item","","matTooltip","Type a hotlist id number to load a hotlist by id.","matTooltipPosition","right",3,"focused","click","keydown.enter",4,"ngIf"],["mat-menu-item","","class","hotlist-apply","id","hotlist-apply","aria-label","apply",3,"focused","click","keydown.enter",4,"ngIf"],["role","option",1,"multi-edit-menuitem",3,"title","click"],["menuitem",""],["role","checkbox",3,"state","disabled","click"],
["mat-menu-item","","matTooltip","Type a hotlist id number to load a hotlist by id.","matTooltipPosition","right",3,"click","keydown.enter"],["hotlistLoad",""],["mat-menu-item","","id","hotlist-apply","aria-label","apply",1,"hotlist-apply",3,"click","keydown.enter"],["hotlistApply",""]],template:function(a,b){a&1&&(E(0,"button",0)(1,"span",1),R(2),G(),I(3,"b-icon",2),G(),E(4,"mat-menu",null,3)(6,"div",4)(7,"div",5)(8,"div",6)(9,"input",7,8),M("ngModelChange",function(d){return b.filterText=d})("ngModelChange",
function(){return bnc(b)})("mousedown",function(d){return d.stopPropagation()})("blur",function(){return $mc(b)})("click",function(d){return d.stopPropagation()})("keydown",function(d){d.stopImmediatePropagation();"Escape"===d.key?b.close():"ArrowDown"===d.key?(jnc(b),d.preventDefault()):"ArrowUp"===d.key?(knc(b),d.preventDefault()):"PageUp"===d.key?knc(b,11):"PageDown"===d.key?jnc(b,11):" "===d.key?-1===b.focusedRowIndex||b.focusedRowIndex>=b.choices.length||(iVa(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(),oVa(b)):0<=b.focusedRowIndex&&b.focusedRowIndex<b.choices.length&&b.hasAclToEdit(b.choices[b.focusedRowIndex])&&Jp(b,b.choices[b.focusedRowIndex]))}),G()()(),I(11,"mat-divider"),C(12,qVa,11,8,"ng-template",9),G()());if(a&2){var c=Q(5);D("matMenuTriggerFor",c)("disabled",b.isAnonymous);y(2);$f(cnc(b));y(7);D("ngModel",b.filterText)}},
dependencies:[hw,dw,HC,FC,GC,EC,nA,Dg,Hw,ax,Ow,Ty,PC,zP,yP],styles:[".menu[_ngcontent-%COMP%]{max-height:400px;width:280px;overflow-x:hidden;overflow-y:hidden}.menu-control[_ngcontent-%COMP%]{line-height:19px;padding:0 6px}.menu-control[_ngcontent-%COMP%]   .hotlist-filter[_ngcontent-%COMP%]{padding:8px 0}.menu-control[_ngcontent-%COMP%]   .hotlist-filter[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{height:29px;line-height:16px;padding-left:9px;vertical-align:top;width:100%;box-sizing:border-box;border-radius:4px;border:1px solid #dadce0}.multi-edit-scrollarea[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-height:246px;overflow-y:scroll;overflow-x:hidden}.multi-edit-scrollarea[_ngcontent-%COMP%]::-webkit-scrollbar-track{border:0}.multi-edit-scrollarea[_ngcontent-%COMP%]   .multi-edit-menuitem[_ngcontent-%COMP%]{border-width:0;line-height:19px;margin:0 6px;padding:0}.multi-edit-scrollarea[_ngcontent-%COMP%]   .multi-edit-menuitem.focused[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary);border:0}.multi-edit-scrollarea[_ngcontent-%COMP%]   .multi-edit-menuitem[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);cursor:pointer}.mat-menu-item.focused[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg);border:0}/*# sourceMappingURL=hotlist_picker.css.map */"]});var nnc=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 vK;this.selectedVerifiersStatus=this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";lnc(this,b);mnc(this,b)},lnc=function(a,b){var c=b[0],d=Fn[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},onc=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||Bn(c)})?b?"MULTIPLE":"IDENTICAL_EMAILS":"POSSIBLY_MULTIPLE"},mnc=function(a,b){var c=
b.map(function(d){return d.assigneeEmail});b=b.map(function(d){return d.verifierEmail});a.selectedAssigneesStatus=onc(c);a.selectedVerifiersStatus=onc(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])};
nnc.prototype.clearAssignee=function(){this.commonAssignee="";this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteAssignee=!0;GWa(this)};nnc.prototype.clearVerifier=function(){this.commonVerifier="";this.selectedVerifiersStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteVerifier=!0};
var Op=function(a){return a.origIssues.every(function(b){return!!b.verifierEmail})},CWa=function(a,b){(a.origCommonIssueState=b)?("NEW"===b.status?pnc(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||pnc(a.selectedAssigneesStatus)||(a.commonAssignee=a.lastCommonAssignee?
a.lastCommonAssignee:a.userEmail),pnc(a.selectedVerifiersStatus)||a.commonVerifier||"VERIFIED"!==b.status||(a.commonVerifier=a.userEmail)),a.issueState=a.origCommonIssueState):a.issueState=void 0},pnc=function(a){return"MULTIPLE"===a||"POSSIBLY_MULTIPLE"===a},GWa=function(a){var b=Fn.NEW,c=Fn.ASSIGNED;a.issueState===b&&a.commonAssignee?a.issueState=a.origCommonIssueState===b?c:a.origCommonIssueState:a.commonAssignee||a.issueState&&!J4b.has(a.issueState)||(a.issueState=b)},qnc=function(a){var b=a.issueState;
return b?a.origIssues.some(function(c){return b.status!==c.status}):!1},PWa=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);qnc(a)&&b.set("status",a.issueState.status);a.comment.value&&b.set("comment",a.comment.value);return b};var rnc=function(a){this.uploadUrl_=a};var snc=function(){No.call(this)};Et(snc,No);var $U=function(a){yB.call(this,a)};Et($U,yB);var aV=function(a){yB.call(this,a)};Et(aV,yB);var tnc=function(a,b){this.name_=a;this.inputElement_=b};tnc.prototype.getName=function(){return this.name_};var unc=function(){this.maxChunkSize_=1073741824;this.retryOnHttpClientErrorEnabled_=!0};var bV=function(){No.call(this);this.name_="closure_frame"+vnc++;this.iframesForDisposal_=[];wnc[this.name_]=this},cV;Et(bV,No);var wnc={},vnc=0,xnc=function(a,b){var c=Qo(a);f0b(b,function(d,e){Array.isArray(d)||(d=[d]);ra(d,function(f){f=c.createDom("INPUT",{type:"hidden",name:e,value:f});a.appendChild(f)})})};g=bV.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("Ud");this.lastUri_=a=new So(a);b=b?b.toUpperCase():"GET";c&&wD(a);cV||(cV=KXb("FORM"),cV.acceptCharset="utf-8",c=cV.style,c.position="absolute",c.visibility="hidden",c.top=c.left="-10px",c.width=c.height="10px",c.overflow="hidden",document.body.appendChild(cV));this.form_=cV;"GET"==b&&xnc(this.form_,a.queryData_);d&&xnc(this.form_,d);d=a.toString();AOb(this.form_,new bh(null===d?"null":void 0===d?"undefined":d,ch));this.form_.method=b;ync(this);
znc(this)};g.abort=function(a){if(this.active_){var b=Anc(this);if(b)if(AB(b))b.removeAllListeners();else if(b=DB(b)){var c=0,d;for(d in b.listeners)for(var e=b.listeners[d].concat(),f=0;f<e.length;++f)FB(e[f])&&++c}this.success_=this.active_=this.complete_=!1;this.lastErrorCode_=a||7;this.dispatchEvent("abort");Bnc(this)}};
g.disposeInternal=function(){this.active_&&this.abort();bV.superClass_.disposeInternal.call(this);this.iframe_&&Cnc(this);znc(this);delete this.errorChecker_;this.lastUri_=this.lastContent_=this.form_=null;this.lastErrorCode_=0;delete wnc[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 tZb(this.lastContent_)};
g.getLastUri=function(){return this.lastUri_};g.getLastErrorCode=function(){return this.lastErrorCode_};g.getLastError=function(){return zZb(this.lastErrorCode_)};
var ync=function(a){a.active_=!0;a.complete_=!1;a.lastErrorCode_=0;a.iframeName_=a.name_+"_"+(a.nextIframeId_++).toString(36);a.iframe_=Qo(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";It?b.marginTop=b.marginLeft="-10px":(b.position="absolute",b.top=b.left="-10px");Qo(a.form_).document_.body.appendChild(a.iframe_);b=a.iframeName_+"_inner";var c=OXb(a.iframe_);if(document.baseURI){var d=Yo(b);
d=fh('<head><base href="'+Yo(document.baseURI)+'"></head><body><iframe id="'+d+'" name="'+d+'"></iframe>')}else d=Yo(b),d=fh('<body><iframe id="'+d+'" name="'+d+'"></iframe>');c.write(hh(d));Oo(c.getElementById(b),"load",a.onIframeLoaded_,!1,a);d=KB("TEXTAREA",a.form_);for(var e=0,f=d.length;e<f;e++){var h=d[e].value,k=[];SXb(d[e],k,!1);k.join("")!=h&&(SB(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=KB("SELECT",a.form_);f=KB("SELECT",
d);h=0;for(k=e.length;h<k;h++)for(var q=KB("OPTION",e[h]),t=KB("OPTION",f[h]),w=0,z=q.length;w<z;w++)t[w].selected=q[w].selected;e=KB("INPUT",a.form_);f=KB("INPUT",d);h=0;for(k=e.length;h<k;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(),Ht&&iq(a.testForFirefoxSilentError_,250,a)}catch(F){EB(c.getElementById(b),"load",a.onIframeLoaded_,!1,a),c.close(),a.handleError_(2)}};
bV.prototype.onIframeLoaded_=function(){EB(Anc(this),"load",this.onIframeLoaded_,!1,this);try{var a=this.iframe_?OXb(Anc(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"),Bnc(this))}catch(e){this.handleError_(1)}};
bV.prototype.handleError_=function(a){this.errorHandled_||(this.active_=this.success_=!1,this.complete_=!0,this.lastErrorCode_=a,this.dispatchEvent("complete"),this.dispatchEvent("error"),Bnc(this),this.errorHandled_=!0)};
var Bnc=function(a){Cnc(a);znc(a);a.form_=null;a.dispatchEvent("ready")},Cnc=function(a){var b=a.iframe_;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.iframesForDisposal_.push(b));a.iframeDisposalTimer_&&(jq(a.iframeDisposalTimer_),a.iframeDisposalTimer_=null);Ht?a.iframeDisposalTimer_=iq(a.disposeIframes_,2E3,a):a.disposeIframes_();a.iframe_=null;a.iframeName_=null};
bV.prototype.disposeIframes_=function(){this.iframeDisposalTimer_&&(jq(this.iframeDisposalTimer_),this.iframeDisposalTimer_=null);for(;0!=this.iframesForDisposal_.length;){var a=this.iframesForDisposal_.pop();QB(a)}};var znc=function(a){a.form_&&a.form_==cV&&NXb(a.form_)},Anc=function(a){return a.iframe_?OXb(a.iframe_).getElementById(a.iframeName_+"_inner"):null};
bV.prototype.testForFirefoxSilentError_=function(){if(this.active_){var a=this.iframe_?OXb(Anc(this)):null;a&&!FMb(a,"documentUri")?(EB(Anc(this),"load",this.onIframeLoaded_,!1,this),navigator.onLine?this.handleError_(3):this.handleError_(9)):iq(this.testForFirefoxSilentError_,250,this)}};var Dnc=function(a,b,c,d,e){No.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 So(a);uD(a,"upload_protocol","multipart");this.url_=a.toString();this.request_=new bV;this.state_="Ready";this.eventHandler_=
new Qq(this);xB(this,this.eventHandler_);this.eventHandler_.listen(this.request_,"success",this.onTransferSuccess_);this.eventHandler_.listen(this.request_,"error",this.onTransferError_)};X(Dnc,snc);g=Dnc.prototype;g.run=function(){this.state_="Transferring";var a=this.request_,b=this.form_;if(a.active_)throw Error("Ud");var c=new So(this.url_||b.action);a.lastUri_=c;a.form_=b;AOb(a.form_,c.toString());ync(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.cancel=function(){this.request_&&this.request_.abort();this.state_="Cancelled";this.dispatchEvent(new $U("m"))};g.pause=function(){};g.unpause=function(){};g.onTransferSuccess_=function(){this.state_="Complete";this.dispatchEvent(new $U("j"))};g.onTransferError_=function(){this.state_="Error";this.dispatchEvent(new $U("l"))};var Gnc=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Enc[a.name]):(this.code=a=a.code,this.name=Fnc(a));aa.call(this,DOb("%s %s",this.name,b))};Et(Gnc,aa);
var Fnc=function(a){var b=Sda(Enc,function(c){return a==c});if(void 0===b)throw Error("Vd`"+a);return b},dV={},Enc=(dV.AbortError=3,dV.EncodingError=5,dV.InvalidModificationError=9,dV.InvalidStateError=7,dV.NotFoundError=1,dV.NotReadableError=4,dV.NoModificationAllowedError=6,dV.PathExistsError=12,dV.QuotaExceededError=10,dV.SecurityError=2,dV.SyntaxError=8,dV.TypeMismatchError=11,dV);var Hnc=function(a,b){yB.call(this,a.type,b);this.event_=a};Et(Hnc,yB);var Inc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};Lo(function(){if(!ca.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 Jnc=Lo(function(){if(!ca.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return null===Inc(b,0,1)?!1:!0});var Knc=function(){No.call(this);this.reader_=new FileReader;this.reader_.onloadstart=Ct(this.dispatchProgressEvent_,this);this.reader_.onprogress=Ct(this.dispatchProgressEvent_,this);this.reader_.onload=Ct(this.dispatchProgressEvent_,this);this.reader_.onabort=Ct(this.dispatchProgressEvent_,this);this.reader_.onerror=Ct(this.dispatchProgressEvent_,this);this.reader_.onloadend=Ct(this.dispatchProgressEvent_,this)};Et(Knc,No);g=Knc.prototype;
g.abort=function(){try{this.reader_.abort()}catch(a){throw new Gnc(a,"aborting read");}};g.getReadyState=function(){return this.reader_.readyState};g.getError=function(){return this.reader_.error&&new Gnc(this.reader_.error,"reading file")};g.dispatchProgressEvent_=function(a){this.dispatchEvent(new Hnc(a,this))};g.disposeInternal=function(){Knc.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 Lnc=function(a){var b=new TL;a.listen("loadend",Dt(function(c,d){var e=d.reader_.result,f=d.getError();null==e||f?(VL(c),WL(c,!1,f)):c.callback(e);d.dispose()},b,a));return b};var eV=function(){oC.call(this)};X(eV,oC);eV.prototype.createXhr=function(){var a=oC.prototype.createXhr.call(this);a.upload&&(a.upload.onprogress=Ct(this.onProgress_,this));return a};eV.prototype.onProgress_=function(a){this.dispatchEvent(a)};var Mnc=function(){this.attempt_=-1;this.delayCallId_=null;this.maxDelayMs_=6E4;this.maxAttempts_=-1},Onc=function(a,b){var c=a.attempt_+1;if(0<a.maxAttempts_&&c>a.maxAttempts_)return!1;0==c?b():a.delayCallId_=iq(function(){a.delayCallId_=null;b()},Nnc(a),a);a.attempt_=c;return!0};Mnc.prototype.reset=function(){this.delayCallId_&&jq(this.delayCallId_);this.attempt_=-1};var Nnc=function(a){var b=250*Math.pow(2,a.attempt_);0<=a.maxDelayMs_&&(b=Math.min(b,a.maxDelayMs_));return b};var sVa=["Content-Length","Content-Type","Content-Encoding","Transfer-Encoding"];var Pnc=function(a){No.call(this);a=a||new unc;this.request_=this.state_=null;this.withCredentials_=!1;this.transferHandle_=null;this.offset_=this.bytesTransferred_=0;this.retryIterator_=new Mnc;this.retryIterator_.maxAttempts_=6;this.retryIterator_.maxDelayMs_=6E4;this.errorType_=null;this.eventHandler_=new Qq(this);xB(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};Et(Pnc,snc);g=Pnc.prototype;g.run=function(){fV(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.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 eV,a.withCredentials_=this.withCredentials_,a.send(this.transferHandle_.uploadUrl_,"POST","",{"X-Goog-Upload-Command":"cancel"});this.state_="Cancel";this.bytesTransferred_=0;this.dispatchEvent(new $U("m"))}};
g.pause=function(){this.pauseRequested_=!0};g.unpause=function(){this.pauseRequested_=!1;"Paused"===this.state_&&(this.state_=this.stateAfterUnpausing_,this.stateAfterUnpausing_=null,Qnc(this))};
var fV=function(a){var b=a.state_;a.pauseRequested_?(a.pauseRequested_=!1,a.stateAfterUnpausing_=b,a.state_="Paused"):Onc(a.retryIterator_,function(){return Qnc(a)})||gV(a,1)},Qnc=function(a){switch(a.state_){case "Start":a.start_();break;case "Upload":var b=a.transferHandle_.uploadUrl_,c=a.blob_.size;if(Jnc()){var d=a.chunkSize_;var e=a.offset_+d>=c;c=Inc(a.blob_,a.offset_,e?c:a.offset_+d)}else a.offset_=0,c=a.blob_,e=!0;a.request_=new eV;a.request_.withCredentials_=a.withCredentials_;a.eventHandler_.removeAll();
a.eventHandler_.listen(a.request_,"progress",a.onUploadProgress_);d=Ct(a.onUploadComplete_,a,a.offset_+c.size,e);a.eventHandler_.listen(a.request_,"complete",d);a.lastCommandResponseCode_=null;a.dispatchEvent(new aV("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("Wd");}},gV=function(a,b){a.state_="Error";a.errorType_=b;a.dispatchEvent(new $U("l"))};
g=Pnc.prototype;g.start_=function(){this.request_=new eV;var a=dc(this.headers_);null!=this.blob_.size&&(a["Content-Length"]=this.blob_.size);a=tVa(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 aV("o"))};
g.onStartComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new aV("p"));Rnc(b)?Snc(this,b):Tnc(b)?(b=Kp(a.target.getAllResponseHeaders()),this.dispatchEvent(new $U("k")),a=Lp(b,"X-Goog-Upload-URL"),b=(b=Lp(b,"X-Goog-Upload-Chunk-Granularity"))?parseInt(b,10):1,void 0===a||isNaN(b)||0>=b?gV(this,2):(this.chunkSize_=Math.floor(this.maxChunkSize_/b)*b,this.transferHandle_=new rnc(a),this.dispatchEvent(new $U("n")),this.state_="Upload",this.retryIterator_.reset(),
fV(this))):fV(this)};g.onUploadProgress_=function(a){this.bytesTransferred_=this.offset_+a.loaded;this.dispatchEvent(new $U("i"))};
g.onUploadComplete_=function(a,b,c){var d=this,e,f;return ke(function(h){switch(h.nextAddress){case 1:e=c.target;d.lastCommandResponseCode_=e.getStatus();d.dispatchEvent(new aV("p"));if(d.retryOnHttpClientErrorEnabled_?Unc(e)||404==e.getStatus():Rnc(e))return d.bytesTransferred_=a,Snc(d,e),h.return();if(Tnc(e)){h.jumpTo(2);break}if(!(f=d.detectCorruptedBlobEnabled_)){h.jumpTo(3);break}return me(h,Vnc(d),4);case 4:f=h.yieldResult;case 3:if(f)return gV(d,3),h.return();d.requireUploadRequestModification_=
400==e.getStatus();d.state_="Query";fV(d);return h.return();case 2:if(b)return gV(d,4),h.return();d.bytesTransferred_=a;d.offset_=a;d.retryIterator_.reset();fV(d);return h.return()}})};
g.query_=function(){this.request_=new eV;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 aV("o"))};
g.onQueryComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new aV("p"));Rnc(b)?(200===b.getStatus()&&(this.bytesTransferred_=this.blob_.size),Snc(this,b)):Tnc(b)?(a=Kp(a.target.getAllResponseHeaders()),a=parseInt(Lp(a,"X-Goog-Upload-Size-Received"),10),isNaN(a)?gV(this,5):a<this.offset_?gV(this,6):this.requireUploadRequestModification_&&this.offset_===a?gV(this,7):(this.requireUploadRequestModification_=!1,this.offset_<a&&this.retryIterator_.reset(),
this.offset_=this.bytesTransferred_=a,this.state_="Upload",fV(this))):fV(this)};
var Snc=function(a,b){a.responseCode_=b.getStatus();var c=Kp(b.getAllResponseHeaders());a.responseHeaders_=uVa(c);a.responseText_=b.getResponseText();a.state_="Response received";a.dispatchEvent(new $U("j"))},Tnc=function(a){var b=a.getStatus();a=Kp(a.getAllResponseHeaders());a=Lp(a,"X-Goog-Upload-Status");return 200===b&&"active"===a},Unc=function(a){a=Kp(a.getAllResponseHeaders());return"final"===Lp(a,"X-Goog-Upload-Status")},Rnc=function(a){if(Unc(a))return!0;a=a.getStatus();return 400<=a&&500>
a},Vnc=function(a){var b;return ke(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);le(c,2);if(b=Inc(a.blob_,0,1)){var d=new Knc,e=Lnc(d);d.readAsBinaryString(b);c=me(c,e,4)}else c=c.return(!0);return c}if(2!=c.nextAddress)return c.return(a.blob_.size!==a.originalBlobSize_);pe(c);return c.return(!0)})};var Wnc=function(a,b,c,d,e,f){No.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 Yh;this.boundary_="uploader-"+Lu()+"-"+a.toIsoString();this.transferRequest_=null;this.bytesTransferred_=0;this.responseText_=this.responseHeaders_=this.responseCode_=null;this.state_="Ready";this.eventHandler_=new Qq(this);xB(this,this.eventHandler_)};X(Wnc,snc);g=Wnc.prototype;
g.run=function(){var a=dc(this.headers_);null!=this.payload_.length&&(a["Content-Length"]=this.payload_.length);a=tVa(a);a["X-Goog-Upload-Protocol"]="multipart";a["Content-Type"]="multipart/related; boundary="+this.boundary_;this.state_="Transferring";this.transferRequest_=new eV;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.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 $U("m")))};g.pause=function(){};g.unpause=function(){};
g.onTransferProgress_=function(a){this.bytesTransferred_=Math.max(0,a.loaded-this.metadataOverhead_);this.dispatchEvent(new $U("i"))};g.onTransferComplete_=function(a){var b=a.target.getStatus();void 0===b||-1===b?(this.state_="Error",this.dispatchEvent(new $U("l"))):(this.responseCode_=b,a=a.target,b=Kp(a.getAllResponseHeaders()),this.responseHeaders_=uVa(b),this.responseText_=a.getResponseText(),this.state_="Complete",this.dispatchEvent(new $U("j")))};var Xnc=function(){},Ync=function(a,b,c,d,e){e=void 0===e?!1:e;if(c instanceof tnc)return new Dnc(a,"POST",b,c.inputElement_,d);if("string"===typeof c||c instanceof String)return new Wnc(a,"POST",b,c,d);var f=new Pnc(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 Znc=new Xc("ScottyUploaderConfigFactory"),$nc=new Xc("ScottyUploader",{factory:function(){return new Xnc}}),hV=function(a,b){this.uploader=a;this.configFactory=b;this.internalTransferStatus=new W.Subject;this.transferStatus=Ls(this.internalTransferStatus)};
hV.prototype.upload=function(a,b){var c=this;b=void 0===b?this.configFactory.create(a):b;a=Ync(b.url,b.headers||{},a,b.metadata||"",!!b.withCredentials);this.transferSubscription&&!b.allowSimultaneousUpload&&this.transferSubscription.unsubscribe();this.transferSubscription=(0,W.merge)((0,W.fromEvent)(a,"k"),(0,W.fromEvent)(a,"i"),(0,W.fromEvent)(a,"n"),(0,W.fromEvent)(a,"l"),(0,W.fromEvent)(a,"j"),(0,W.fromEvent)(a,"m")).pipe(ef((0,W.fromEvent)(a,"j").pipe(Se(0)))).subscribe(function(d){c.internalTransferStatus.next(d)});
a.run()};hV.\u0275fac=function(a){return new (a||hV)(p($nc),p(Znc))};hV.\u0275prov=vc({token:hV,factory:hV.\u0275fac});var aoc=function(a){this.name_=a;this.files_=[];this.directories_=[];this.directoryMap_={}};aoc.prototype.getDirectory=function(a){return this.directoryMap_[a]};aoc.prototype.getName=function(){return this.name_};var coc=function(a,b,c){b=void 0===b?"single_file":b;c=void 0===c?[]:c;No.call(this);this.overlayTarget_=a;this.parentOverlay_=null!=a?a.parentNode:Wo(document,"scotty-overlay-parent");this.selectorType_=b;this.acceptTypes_=c;this.overlay_=boc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};X(coc,No);
var boc=function(a,b,c,d){var e=document.createElement("input");e.setAttribute("type","file");e.setAttribute("name","Filedata");Oo(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),ar(e,new Yq(b.offsetLeft,b.offsetTop)),e;a.parentOverlay_.appendChild(e);return e};coc.prototype.click=function(){this.overlay_.click()};
coc.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_&&(It||Gt)){b=new aoc("");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 k=e[h];if(h==e.length-1){"."!=k&&f.files_.push(d);break}var q=f.getDirectory(k);void 0==q&&(k=q=new aoc(k),f.directoryMap_[k.getName()]=
k,f.directories_.push(k));f=q}b=b.directories_}this.dispatchEvent(new doc(a,b,null))}else a=a.target.value,a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12)),this.dispatchEvent(new doc([],[],new tnc(a,this.overlay_)));this.parentOverlay_.removeChild(this.overlay_);this.overlay_=boc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};
var eoc={SINGLE_FILE_SELECTION:"single_file",MULTIPLE_FILE_SELECTION:"multiple_file",SINGLE_DIRECTORY_SELECTION:"single_directory"},doc=function(a,b){yB.call(this,"u");this.files=a;this.directories=b};X(doc,yB);var iV=function(a,b){this.elementRef=a;this.ngZone=b;this.destroyed=new W.ReplaySubject(1);this.supportedFileExtensions=null;this.fileExtensionRejected=new zv;this.maxFileSize=null;this.fileSizeRejected=new zv;this.fileSelected=new zv;this.fileNameLengthRejected=new zv};
iV.prototype.ngAfterViewInit=function(){var a=this;this.getOverlay().pipe(df(function(b){return(0,W.merge)((0,W.fromEvent)(b,"q"),(0,W.fromEvent)(b,"u"))}),ef(this.destroyed)).subscribe(function(b){a.ngZone.run(function(){a:{if(a.supportedFileExtensions){var c=l(b.files);for(var d=c.next();!d.done;d=c.next()){d=d.value.name;var e=d.lastIndexOf(".");if(!a.supportedFileExtensions.includes(-1!==e?d.substr(e+1).toLowerCase():"")){c=!1;break a}}}c=!0}if(c){a:{if(a.maxFileSize)for(c=l(b.files),d=c.next();!d.done;d=
c.next())if(d.value.size>a.maxFileSize){c=!1;break a}c=!0}if(c){a:{if(a.maxFileNameLength)for(c=l(b.files),d=c.next();!d.done;d=c.next())if(d.value.name.length>a.maxFileNameLength){c=!1;break a}c=!0}c?a.fileSelected.emit(b):a.fileNameLengthRejected.emit(b)}else a.fileSizeRejected.emit(b)}else a.fileExtensionRejected.emit(b)})});this.getOverlay().subscribe(function(b){(0,W.fromEvent)(b,"s").subscribe(function(){a.ngZone.run(function(){})})});this.getOverlay().subscribe(function(b){(0,W.fromEvent)(b,
"t").subscribe(function(){a.ngZone.run(function(){})})})};iV.prototype.ngOnDestroy=function(){this.destroyed.next(!0);this.destroyed.complete()};iV.\u0275fac=function(a){return new (a||iV)(A(Ad),A(Ge))};iV.\u0275dir=Qc({type:iV,inputs:{supportedFileExtensions:"supportedFileExtensions",maxFileSize:"maxFileSize",maxFileNameLength:"maxFileNameLength"},outputs:{fileExtensionRejected:"fileExtensionRejected",fileSizeRejected:"fileSizeRejected",fileSelected:"fileSelected",fileNameLengthRejected:"fileNameLengthRejected"}});var jV=function(a,b){iV.call(this,a,b);this.overlay=this.fileSelectorOverlay=null};X(jV,iV);
jV.prototype.getOverlay=function(){var a=this;this.overlay||(this.overlay=this.ngZone.runOutsideAngular(function(){return(0,W.merge)((0,W.fromEvent)(a.elementRef.nativeElement,"mouseover"),(0,W.fromEvent)(a.elementRef.nativeElement,"focus")).pipe(Xe(),ef(a.destroyed),B(function(){a.fileSelectorOverlay=new coc(a.elementRef.nativeElement,a.selectorType,foc(a));a.fileSelectorOverlay.overlay_.style.display="none";return a.fileSelectorOverlay}),af(1))}));return this.overlay};
jV.prototype.onClick=function(){this.fileSelectorOverlay&&this.fileSelectorOverlay.click()};var foc=function(a){return(a.supportedFileExtensions||[]).map(function(b){return"."+b})};jV.\u0275fac=function(a){return new (a||jV)(A(Ad),A(Ge))};jV.\u0275dir=Qc({type:jV,hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()})},inputs:{selectorType:"selectorType"},features:[nf]});var kV=function(a,b,c){jV.call(this,a,b);this.uploader=c;this.disableAutoUploadInternal=!1};X(kV,jV);
kV.prototype.ngOnInit=function(){var a=this;this.fileSelected.pipe(ef(this.destroyed),Ce(function(){return!a.disableAutoUpload})).subscribe(function(b){b=l(b.files);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;null==(d=a.uploader)||d.upload(c)}})};Vg.Object.defineProperties(kV.prototype,{disableAutoUpload:{configurable:!0,enumerable:!0,get:function(){return this.disableAutoUploadInternal},set:function(a){this.disableAutoUploadInternal=Og(a)}}});
kV.\u0275fac=function(a){return new (a||kV)(A(Ad),A(Ge),A(hV,8))};kV.\u0275dir=Qc({type:kV,selectors:[["","xapUploaderTrigger",""],["","xapScottyUploaderTrigger",""]],inputs:{disableAutoUpload:"disableAutoUpload"},features:[nf]});var lV=function(){this.SelectorType=eoc;this.includeTextLabel=this.disabled=!1;this.onSelect=new zv},vVa=function(a,b){if(b=b.files){b=l(b);for(var c=b.next();!c.done;c=b.next())a.onSelect.emit(c.value)}};lV.\u0275fac=function(a){return new (a||lV)};
lV.\u0275cmp=Lc({type:lV,selectors:[["b-attachment-selector"]],inputs:{disabled:"disabled",includeTextLabel:"includeTextLabel"},outputs:{onSelect:"onSelect"},decls:4,vars:2,consts:[[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"],["fullButton",""],["mat-icon-button","","xapUploaderTrigger","","matTooltip","Add attachments",
"aria-label","Add attachments",3,"selectorType","disableAutoUpload","disabled","fileSelected"],["svgIcon","attachment"],["mat-stroked-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"selectorType","disableAutoUpload","disabled","fileSelected"]],template:function(a,b){a&1&&(E(0,"div",0),C(1,wVa,2,3,"button",1),G(),C(2,xVa,3,3,"ng-template",null,2,jg));if(a&2){var c=Q(3);y();D("ngIf",!b.includeTextLabel)("ngIfElse",c)}},dependencies:[dw,hB,nA,PC,kV],
encapsulation:2});var goc=function(a,b){uK.call(this,a.size,a.name);var c=this;this.destroyed$=new W.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(ef(this.destroyed$)).subscribe(function(d){c.onTransferEventUpdate(d)})};X(goc,uK);goc.prototype.handleError=function(a){this.transferredBytes=a.getBytesTransferred()||0;this.state=3;if(a=a.getResponseText())this.errorMessage=JSON.parse(a).errorMessage;this.errorMessage||(this.errorMessage="Error while uploading.")};
goc.prototype.cancel=function(){var a,b;null==(a=this.transfer)||null==(b=a.cancel)||b.call(a);this.unsubscribe()};goc.prototype.unsubscribe=function(){this.destroyed$.next();this.destroyed$.complete()};var mV=function(a){this.activeSession=a};
mV.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=oFa(a.name)?a.name:b;return{url:uD(m0b().setPath("/upload/"),"authuser",this.activeSession.getSessionIdentifier()).toString(),headers:{"X-Bv2-Encoded-Upload-File-Name":b,
"X-Goog-Upload-File-Name":a},withCredentials:!0}};mV.\u0275fac=function(a){return new (a||mV)(p(nt))};mV.\u0275prov=vc({token:mV,factory:mV.\u0275fac,providedIn:"root"});var nV=function(a,b){this.uploader=a;this.uploaderConfigFactory=b};nV.prototype.create=function(){return new hV(this.uploader,this.uploaderConfigFactory)};nV.\u0275fac=function(a){return new (a||nV)(p($nc),p(mV))};nV.\u0275prov=vc({token:nV,factory:nV.\u0275fac,providedIn:"root"});var BVa=function(a){return{"attachment-error":a}},oV=function(a){Y.call(this);this.scottyUploaderFactory=a;this.uploads=[];this.onUploadCancel=new zv;this.onUploadComplete=new zv;this.uploadStates=Q7b};X(oV,Y);oV.\u0275dir=Y.\u0275dir;oV.prototype.ngOnDestroy=function(){Y.prototype.ngOnDestroy.call(this);for(var a=l(this.uploads),b=a.next();!b.done;b=a.next())b.value.cancel()};
oV.prototype.upload=function(a){var b=this,c=this.scottyUploaderFactory.create();c.upload(a);a=new goc(a,c.transferStatus);c.transferStatus.pipe(ef(this.destroyed$)).subscribe(function(d){"j"===d.type&&b.onUploadComplete.emit()});return a};oV.prototype.cancel=function(a){a.cancel();this.onUploadCancel.emit(a)};oV.\u0275fac=function(a){return new (a||oV)(A(nV))};
oV.\u0275cmp=Lc({type:oV,selectors:[["b-attachment-uploader"]],inputs:{uploads:"uploads"},outputs:{onUploadCancel:"onUploadCancel",onUploadComplete:"onUploadComplete"},features:[nf],decls:1,vars:1,consts:[["class","attachments",4,"ngIf"],[1,"attachments"],["class","attachment",3,"ngClass",4,"ngFor","ngForOf"],[1,"attachment",3,"ngClass"],[1,"attachment-title"],["svgIcon","file-present"],[1,"issue-attachment-filename",3,"matTooltip"],[1,"attachment-filesize"],[4,"ngIf"],["role","alert","aria-live",
"assertive",4,"ngIf"],[1,"bv2-remove-icon","keep-focus-ring","attachment-cancel-button",3,"matTooltip","click"],["role","alert","aria-live","assertive"]],template:function(a,b){a&1&&C(0,DVa,2,1,"div",0);a&2&&D("ngIf",0<b.uploads.length)},dependencies:[gw,hw,dw,hB,PC,QK],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 hoc=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 ioc=function(a){uK.call(this,a.size,a.name);this.attachment=a};X(ioc,uK);var joc=function(a,b){a.state=1;L7b(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=sn(c)?tn(c):"Error while uploading."})};var pV=function(a){this.id_=a;this.opts={}};g=pV.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=$b(this.opts,function(c){return null!==c});a=bc(a)?null:a;a=[this.id_,this.label_,a];var b=yaa(a,nOb);return a=a.slice(0,b+1)};
g.toString=function(){var a=this.toArray();return"("+CMb(a,function(b){return JSON.stringify(b)}).join(",")+")"};g.getId=function(){return this.id_};g.getLabel=function(){return this.label_};g.getOptions=function(){return dc(this.opts)};g.getQuery=function(){return this.opts.query};var qV=function(a){pV.call(this,a||"all")};Et(qV,pV);var koc=function(){var a=(new qV("all")).setOwnedByMe(!0);a.opts.drdis=!0;a.opts.includeFolders=!0;a.opts.sortKey=7;a.opts.ff=!0;return a};g=qV.prototype;g.setMode=function(a){this.opts.mode=a;return this};g.setOwnedByMe=function(a){void 0!==a?this.opts.ownedByMe=a:delete this.opts.ownedByMe;return this};g.setStarred=function(a){this.opts.starred=a};g.setLabel=function(a){qV.superClass_.setLabel.call(this,a);return this};
g.setQuery=function(a){qV.superClass_.setQuery.call(this,a);return this};g.setParent=function(a){qV.superClass_.setParent.call(this,a)};var loc=function(){pV.call(this,"image-search")};X(loc,pV);g=loc.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){pV.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){pV.prototype.setQuery.call(this,a);return this};g.setParent=function(a){pV.prototype.setParent.call(this,a)};var rV=function(){pV.call(this,"maps")};X(rV,pV);rV.prototype.setMode=function(a){this.opts.mode=a;return this};rV.prototype.setLabel=function(a){pV.prototype.setLabel.call(this,a);return this};rV.prototype.setQuery=function(a){pV.prototype.setQuery.call(this,a);return this};rV.prototype.setParent=function(a){pV.prototype.setParent.call(this,a)};var moc=function(){pV.call(this,"photos")};X(moc,pV);g=moc.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){pV.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){pV.prototype.setQuery.call(this,a);return this};g.setParent=function(a){pV.prototype.setParent.call(this,a)};g.removeDuplicates=function(){this.opts.rdv=!0;return this};var sV=function(){pV.call(this,"url")};X(sV,pV);sV.prototype.setType=function(a){this.opts.type=a;return this};sV.prototype.setLabel=function(a){pV.prototype.setLabel.call(this,a);return this};sV.prototype.setQuery=function(a){pV.prototype.setQuery.call(this,a);return this};sV.prototype.setParent=function(a){pV.prototype.setParent.call(this,a)};var noc=function(){pV.call(this,"video-search")};X(noc,pV);noc.prototype.setLabel=function(a){pV.prototype.setLabel.call(this,a);return this};noc.prototype.setQuery=function(a){pV.prototype.setQuery.call(this,a);return this};noc.prototype.setParent=function(a){pV.prototype.setParent.call(this,a)};var ooc=function(){pV.call(this,"web")};X(ooc,pV);ooc.prototype.setLabel=function(a){pV.prototype.setLabel.call(this,a);return this};ooc.prototype.setQuery=function(a){pV.prototype.setQuery.call(this,a);return this};ooc.prototype.setParent=function(a){pV.prototype.setParent.call(this,a)};var poc=function(){this.root_=void 0;this.items_=[];this.opts={}},qoc=function(a){switch(a){case "image-search":return new loc;case "maps":return new rV;case "photos":return new moc;case "url":return new sV;case "video-search":return new noc;case "web":return new ooc}return new pV(a)};poc.prototype.addView=function(a){this.items_.push("string"===typeof a?qoc(a):a);return this};
var roc=function(a){return"("+CMb(a.items_,function(b){return b.toString()}).join(",")+")"},soc=function(a){a=$b(a.opts,function(b){return null!==b});return(a=bc(a)?null:a)?JSON.stringify(Oda(a,function(b){return b.toString()})):""};poc.prototype.toString=function(){if(this.root_){var a=["{root:",this.root_.toString(),",items:",roc(this)],b=soc(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return roc(this)};poc.prototype.getOptions=function(){return dc(this.opts)};var toc=function(a){this.basePickerUrl_=a||"https://docs.google.com/picker";this.nav_=new poc};g=toc.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 uoc=function(a){toc.call(this,a)};Et(uoc,toc);var tV=function(a){No.call(this);this.dom_=a||Qo();this.rightToLeft_=voc;this.id_=null;this.inDocument_=!1;this.element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.parent_=null;this.wasDecorated_=!1};Et(tV,No);tV.prototype.idGenerator_=Uq.getInstance();var voc=!1;g=tV.prototype;g.getId=function(){return this.id_||(this.id_=Mq(this.idGenerator_))};
g.setId=function(a){if(this.parent_&&this.parent_.childIndex_){cc(this.parent_.childIndex_,this.id_);var b=this.parent_.childIndex_;if(null!==b&&a in b)throw Error("P`"+a);b[a]=this}this.id_=a};g.getElement=function(){return this.element_};g.getHandler=function(){this.googUiComponentHandler_||(this.googUiComponentHandler_=new Qq(this));return this.googUiComponentHandler_};
g.setParent=function(a){if(this==a)throw Error("Xd");if(a&&this.parent_&&this.id_&&Kjc(this.parent_,this.id_)&&this.parent_!=a)throw Error("Xd");this.parent_=a;tV.superClass_.setParentEventTarget.call(this,a)};g.getParent=function(){return this.parent_};g.setParentEventTarget=function(a){if(this.parent_&&this.parent_!=a)throw Error("Yd");tV.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("Zd");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("Zd");if(a&&this.canDecorate(a)){this.wasDecorated_=!0;var b=IB(a);this.dom_&&this.dom_.document_==b||(this.dom_=Qo(a));this.decorateInternal(a);this.enterDocument()}else throw Error("$d");};
g.canDecorate=function(){return!0};g.decorateInternal=function(a){this.element_=a};g.enterDocument=function(){this.inDocument_=!0;woc(this,function(a){!a.inDocument_&&a.getElement()&&a.enterDocument()})};g.exitDocument=function(){woc(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_);woc(this,function(a){a.dispose()});!this.wasDecorated_&&this.element_&&QB(this.element_);this.parent_=this.element_=this.childIndex_=this.children_=null;tV.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("Zd");if(0>a||a>(this.children_?this.children_.length:0))throw Error("ae");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;ua(this.children_)}else{b=this.childIndex_;c=(void 0).getId();if(null!==b&&c in b)throw Error("P`"+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_=aP(this.inDocument_?this.element_:this.dom_.document_.body));return this.rightToLeft_};g.hasChildren=function(){return!!this.children_&&0!=this.children_.length};var Kjc=function(a,b){return a.childIndex_&&b?Vda(a.childIndex_,b)||null:null},woc=function(a,b){a.children_&&a.children_.forEach(b,void 0)};
tV.prototype.removeChild=function(a,b){if(a){var c="string"===typeof a?a:a.getId();a=Kjc(this,c);c&&a&&(cc(this.childIndex_,c),ua(this.children_,a),b&&(a.exitDocument(),a.element_&&QB(a.element_)),a.setParent(null))}if(!a)throw Error("be");return a};tV.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};Et(FVa,EVa);var xoc=function(a){EVa.call(this,"visibility");this.visible=a};Et(xoc,EVa);var yoc=tt(["//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick"]),zoc=tt(["//apis.google.com/js/rpc.js"]),Aoc=lh(yoc),Boc=lh(zoc),HVa=null;var Coc=function(a){No.call(this);this.element_=a;a=Nq?"focusout":"blur";this.listenKeyIn_=Oo(this.element_,Nq?"focusin":"focus",this,!Nq);this.listenKeyOut_=Oo(this.element_,a,this,!Nq)};Et(Coc,No);Coc.prototype.handleEvent=function(a){var b=new zB(a.event_);b.type="focusin"==a.type||"focus"==a.type?"focusin":"focusout";this.dispatchEvent(b)};Coc.prototype.disposeInternal=function(){Coc.superClass_.disposeInternal.call(this);FB(this.listenKeyIn_);FB(this.listenKeyOut_);delete this.element_};var Doc=new Map;Doc.set("application/vnd.google-apps.document","application/vnd.google-gsuite.document-blob");Doc.set("application/vnd.google-apps.spreadsheet","application/vnd.google-gsuite.spreadsheet-blob");Doc.set("application/vnd.google-apps.presentation","application/vnd.google-gsuite.presentation-blob");var Eoc=new Set;Eoc.add("application/vnd.google-apps.kix");Eoc.add("application/vnd.google-apps.ritz");Eoc.add("application/vnd.google-apps.punch");var Poc=function(a,b,c){var d=c&&Zi(c,1);if(c){var e=Zi(c,3);e=e&&JSON.parse(e)||{};c={0:Zi(c,1),1:c.getLabel(),2:e}}else c={};switch(a[0].getId().getSourceId()){case 13:return Foc(a,b,d,c);case 3:return Goc(a,b,d,c);case 10:return Hoc(a,b,d,c);case 12:return Ioc(a,b);case 2:return Joc(a,b,d,c);case 5:return Koc(a,b,d,c);case 9:return Loc(a,b,d,c);case 6:return Moc(a,b,d,c);case 25:return Noc(a,b,d,c);case 1:return ji(a[0],TNb,26)?Ooc(a,b,d,c):Hoc(a,b,d,c);default:return{}}},Moc=function(a,b,c,d){a=
a.map(function(e){return{id:e.getId().getId(),serviceId:"youtube",name:e.getName(),description:e.getDescription(),type:uV(e),lastEditedUtc:$i(e,mj,16).toDate().getTime(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:Zi(e,13),thumbnails:vV(ru(e,Li))}});return{action:b,docs:a,viewToken:d,view:c||"youtube",v2Translated:!0}},Joc=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:uV(f),lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),url:f.getUrl(),sizeBytes:JNb(f),description:f.getDescription(),iconUrl:f.getIconUrl(),thumbnails:vV(ru(f,Li)),isShared:$i(f,su,21).getShared(),downloadUrl:$i(f,su,21).getDownloadUrl(),embedUrl:Zi(f,13),copyable:Xi($i(f,su,21),9),resourceKey:Zi($i(f,su,21),11)};Xi($i(f,su,21),12)&&(h.uploadState="success");if($i(f,su,21).hasVideoMetadata()){f=$i(f,su,21).getVideoMetadata();if(ji(f,ck,2)){var k=f.getDuration().getSeconds_asLegacyNumberOrString()+
f.getDuration().getNanos()/1E9;h.duration=k}h.aspectRatio=zk(f,1)}return h});return{action:b,docs:e,viewToken:d,view:c||"all",extraUserInputs:Qoc(a),v2Translated:!0}},Koc=function(a,b,c,d){a=a.map(function(e){var f=$i($i(e,$Nb,15),lu,1);sq(e,10,lu,f);return{id:e.getId().getId(),serviceId:"web",mimeType:e.getMimeType(),name:e.getName(),type:uV(e),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:vV(ru(e,Li))}});return{action:b,
docs:a,viewToken:d,view:c||"image-search",v2Translated:!0}},Loc=function(a,b,c,d){a=a.map(function(e){return{serviceId:"url",name:ru(e)[0].getUrl().split("/").pop(),type:uV(e),mimeType:e.getMimeType(),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:vV(ru(e,Li))}});return{action:b,docs:a,viewToken:d,view:c||"url",v2Translated:!0}},Ooc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"picasa",
name:e.getName(),type:uV(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:vV(ru(e,Li))}});return{action:b,docs:a,viewToken:d,view:c||"webcam",v2Translated:!0}},Hoc=function(a,b,c,d){return{action:b,docs:a.map(Roc),viewToken:d,view:Soc(c||"upload",a),extraUserInputs:Qoc(a),v2Translated:!0}},Soc=function(a,b){return b.some(function(c){var d;return 9===(null==(d=$i(c,ou,30))?void 0:cj(d,3,0))})?a+"/gmailphotos":a},Goc=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:uV(f),lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),url:f.getUrl(),sizeBytes:JNb(f),description:f.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:vV(ru(f,Li)),mediaKey:f.getId().getId(),parentId:f.getParentId()},k,q=null==(k=$i(f,VNb,18))?void 0:$i(k,UNb,3);q&&(h.latitude=zk(q,1),h.longitude=zk(q,2));
var t;(f=null==(t=$i(f,VNb,18))?void 0:kj(t,6))&&(h.version=f);return h});return{action:b,docs:e,viewToken:d,view:c||"photos",extraUserInputs:Qoc(a),v2Translated:!0}},Foc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"et",name:ru(e)[0].getUrl().split("/").pop(),description:e.getDescription(),type:"et",iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:vV(ru(e,Li),"etjpg")}});return{action:b,docs:a,viewToken:d,view:c||"et",v2Translated:!0}},
Noc=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:uV(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:e.getUrl(),thumbnails:vV(ru(e,Li))}});return{action:b,docs:a,viewToken:d,view:c||"photos",v2Translated:!0}},Ioc=function(a,b){a=a.map(function(c){var d=
$i(c,nu,27);d=ri(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}},vV=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}})},
Qoc=function(a){return{isAttachment:a.some(function(b){return Xi(b,31)})}},Roc=function(a){var b={id:a.getId().getId(),serviceId:Toc(a),mimeType:a.getMimeType(),name:a.getName(),type:uV(a),sizeBytes:JNb(a),description:a.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:vV(ru(a,Li)),isNew:!0},c=$i(a,ou,30);if(c){b.dataUrl=Zi(c,1)||null;a:{var d=$i(a,ou,30);switch(cj(d,3,0)){case 9:d=Ak(d,YNb,2,pu);d={remoteRefs:d&&Zi(d,1)};break a;case 10:case 15:d=
Ak(d,XNb,4,pu);var e=ru(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&&Ak(c,XNb,4,pu))&&(b.id=d.getPhotoId());(d=c&&Ak(c,ZNb,5,pu))&&(b.contentId=Zi(d,1));(d=c&&Ak(c,WNb,6,pu))&&(b.contentId=Zi(d,1));1===(null==c?void 0:cj(c,3,0))&&(b.mediaKey=a.getId().getId());return b},Toc=function(a){var b;switch((null==(b=$i(a,ou,
30))?void 0:cj(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},uV=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 Uoc=function(a){this.obj_=a};g=Uoc.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 Voc=function(a){this.obj_=a||{}};g=Voc.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 Woc=function(a){a.obj_.attributes=a.obj_.attributes||{};return new Uoc(a.obj_.attributes)},jec=function(a){return(a=a.obj_.timeout)?a:null};var Xoc=function(){Voc.apply(this,arguments)};X(Xoc,Voc);var Yoc=tt(["https://apis.google.com/js/api.js"]),Zoc=lh(Yoc),cpc=function(a,b){var c=!1,d=$oc(a,b).then(function(f){c=!0;return f}),e=CYb(5E3).then(function(){return c?$oc(a,b):apc(b).then(function(f){return bpc(f,a)})});return oYb([d,e])},$oc=function(a,b){return dpc(b).then(function(c){return bpc(c,a)})},bpc=function(a,b){var c=0==b.lastIndexOf("gapi.",0)?b.slice(5):b;return a[c]?WB(a[c]):new VB(function(d,e){var f=iq(function(){e(Error("ce"))},3E4);a.load(b,{callback:function(){jq(f);d(a[c])},
onerror:function(h){jq(f);e(h)}})})},dpc=function(a){return a.gapi&&a.gapi.load?WB(a.gapi):apc(a)},apc=function(a){return aGa(Zoc,{document:a.document}).then(function(){return a.gapi})},epc=function(){};epc.prototype.load=function(a,b){b=void 0===b?window:b;var c=Date.now();return cpc(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 fpc=function(){wB.call(this);this.gapiLoader_=new epc;this.origin_=null;this.gapiPickerIframeResolver_=qYb();this.gapiIframesResolver_=qYb();this.gapiIframesResolver_.promise.then(null,function(){});this.gapiPickerIframeResolver_.promise.then(null,function(){});this.hostMessageHandlerInternal_={}};X(fpc,wB);
var gpc=function(a,b){var c=Ho("gapi.iframes",b);return c?(a=Date.now(),WB({library:c,loadStartMs:a,loadEndMs:a})):a.gapiLoader_.load("gapi.iframes",b)},hpc=function(a,b,c,d,e,f){var h=!0;h=void 0===h?!1:h;gpc(a,PB(b.ownerDocument)).then(function(k){var q=k.library;a.gapiIframesResolver_.resolve(q);k=a.gapiPickerIframeResolver_;var t=k.resolve,w=h;w=void 0===w?!1:w;var z={};z["host-message-handler"]=c;a.hostMessageHandlerInternal_=z;var F=xD(d);F=xD(F);F=oD(nD(new So,F.scheme_),F.getDomain()).setPort(F.getPort()).toString();
a.origin_=F;F=(new Xoc).setUrl(d);F.obj_.where=b;F.obj_.allowPost=w;F.obj_.messageHandlers=z;w=Ho("makeWhiteListIframesFilter",q)([a.origin_]);F.obj_.messageHandlersFilter=w;null!=e&&F.setId(e);null!=f&&(F.obj_.rpctoken=f);Woc(F).setStyle({display:"block","min-width":"100%",width:"1px"}).setHeight("100%");Woc(F).value().allow="camera 'src' "+a.origin_;q=q.getContext().openChild(F.value());t.call(k,q)},function(k){a.gapiIframesResolver_.reject(k);a.gapiPickerIframeResolver_.reject(k)});return a.gapiPickerIframeResolver_.promise},
ipc=function(a,b){return nYb([a.gapiIframesResolver_.promise,a.gapiPickerIframeResolver_.promise]).then(function(c){var d=l(c);c=d.next().value;return(d=d.next().value)?d.send("picker-message-handler",b,void 0,Ho("makeWhiteListIframesFilter",c)([a.origin_])):jYb(Error("de"))})};fpc.prototype.disposeInternal=function(){jpc(this);wB.prototype.disposeInternal.call(this)};var jpc=function(a){a.gapiPickerIframeResolver_.promise.then(function(b){b&&(b.unregister("host-message-handler"),delete a.hostMessageHandlerInternal_["host-message-handler"])})};var kpc=function(){this.nextId=0};kpc.prototype.getUniqueId=function(){return":"+(this.nextId++).toString(36)};var mpc=function(a,b){switch(a.action){case "select-contacts":a=lpc(a.contacts);break;case "visibility":a=a.visible;a=(new vu).setCommand(7).setVisible(a);var c={};c["iframe-command"]=a.serialize();a=c;break;default:a=null}return a?ipc(b,a):WB()},lpc=function(a){if(!a||0==a.length)return null;var b=new vu;b.setCommand(11);var c=new kpc;a.forEach(function(d){if(d.email){var e=(new St).setName(d.name?d.name:d.email);var f=new nu;d=Nb(f,1,rb,d.email);e=li(e,nu,27,d).setId((new ku).setId(c.getUniqueId()).setSourceId(12))}else e=
null;e&&b.addItem(e)});a={};a["iframe-command"]=b.serialize();return a};var wV=function(a,b,c){No.call(this);this.target=a;this.handle=b||a;this.limits=c||new WO(NaN,NaN,NaN,NaN);this.document_=IB(a);this.eventHandler_=new Qq(this);xB(this,this.eventHandler_);this.deltaY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this.clientX=0;this.dragging_=!1;Oo(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.useSetCapture_=npc};Et(wV,No);
var npc=ca.document&&ca.document.documentElement&&!!ca.document.documentElement.setCapture&&!!ca.document.releaseCapture;g=wV.prototype;g.getHandler=function(){return this.eventHandler_};g.disposeInternal=function(){wV.superClass_.disposeInternal.call(this);EB(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||Tq&&a.ctrlKey))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new xV("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(PB(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=OB(Qo(this.document_).document_)}};
g.endDrag=function(a,b){this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.dragging_?(this.dragging_=!1,this.dispatchEvent(new xV("end",this,a.clientX,a.clientY,a,opc(this,this.deltaX),ppc(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 xV("start",this,a.clientX,a.clientY,a)))this.dragging_=!0;else{this.isDisposed()||this.endDrag(a);return}}c=qpc(this,b,c);b=c.x;c=c.y;this.dragging_&&this.dispatchEvent(new xV("beforedrag",this,a.clientX,a.clientY,
a,b,c))&&(rpc(this,a,b,c),a.preventDefault())};var qpc=function(a,b,c){var d=OB(Qo(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 Yq(opc(a,a.deltaX),ppc(a,a.deltaY))};wV.prototype.onScroll_=function(a){var b=qpc(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;rpc(this,a,b.x,b.y)};
var rpc=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new xV("drag",a,b.clientX,b.clientY,b,c,d))},opc=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))},ppc=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))};wV.prototype.isDragging=function(){return this.dragging_};
var xV=function(a,b,c,d,e,f,h){yB.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};Et(xV,yB);var yV=function(a){this.map_=new Map;var b=arguments.length;if(1<b){if(b%2)throw Error("Q");for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.addAll(a)};g=yV.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 yV){a=l(a.map_);for(var b=a.next();!b.done;b=a.next()){var c=l(b.value);b=c.next().value;c=c.next().value;this.map_.set(b,c)}}else if(a)for(a=l(Object.entries(a)),b=a.next();!b.done;b=a.next())c=l(b.value),b=c.next().value,c=c.next().value,this.map_.set(b,c)};g.forEach=function(a,b){var c=this;b=void 0===b?this:b;this.map_.forEach(function(d,e){return a.call(b,d,e,c)})};g.clone=function(){return new yV(this)};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!ca.requestAnimationFrame;++c)ca.requestAnimationFrame=ca[b+"RequestAnimationFrame"],ca.cancelAnimationFrame=ca[b+"CancelAnimationFrame"]||ca[b+"CancelRequestAnimationFrame"];if(!ca.requestAnimationFrame){var d=0;ca.requestAnimationFrame=function(e){var f=(new Date).getTime(),h=Math.max(0,16-(f-d));d=f+h;return ca.setTimeout(function(){e(f+h)},h)};ca.cancelAnimationFrame||(ca.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
var spc=[[],[]],tpc=0,upc=!1,vpc=0,xpc=function(a,b){var c=vpc++,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,spc[tpc].push(d));upc||(upc=!0,window.requestAnimationFrame(wpc))}},wpc=
function(){upc=!1;var a=spc[tpc],b=a.length;tpc=(tpc+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 ypc=Nq?kh(Iu(new Hu(Gu,'javascript:""'))):kh(Iu(new Hu(Gu,"about:blank")));Rh(ypc);var zpc=Nq?kh(Iu(new Hu(Gu,'javascript:""'))):kh(Iu(new Hu(Gu,"javascript:undefined")));Rh(zpc);var Apc=function(a,b){this.element_=a;this.dom_=b};var zV=function(a,b){tV.call(this,b);this.useIframeMask_=!!a;this.lastFocus_=null;this.resizeBackgroundTask_=xpc({mutate:this.resizeBackground_},this);xpc({mutate:this.updateModalAndBackground_},this)};Et(zV,tV);g=zV.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(){zV.superClass_.createDom.call(this);var a=this.getElement();UO(a,bi(this.getCssClass()).split(" "));a.tabIndex=0;$O(a,!1);Bpc(this);Cpc(this)};
var Bpc=function(a){if(a.useIframeMask_&&!a.bgIframeEl_){var b=a.getDomHelper().createDom("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});b.src=Rh(ypc).toString();a.bgIframeEl_=b;a.bgIframeEl_.className=a.getCssClass()+"-bg";$O(a.bgIframeEl_,!1);ufc(a.bgIframeEl_,0)}a.bgEl_||(a.bgEl_=a.getDomHelper().createDom("DIV",a.getCssClass()+"-bg"),$O(a.bgEl_,!1))},Cpc=function(a){a.tabCatcherElement_||(a.tabCatcherElement_=a.getDomHelper().createElement("SPAN"),$O(a.tabCatcherElement_,!1),
a.tabCatcherElement_.tabIndex=0,a.tabCatcherElement_.style.position="absolute")};g=zV.prototype;g.resetBackwardTabWrap_=function(){this.backwardTabWrapInProgress_=!1};g.canDecorate=function(a){return!!a&&"DIV"==a.tagName};g.decorateInternal=function(a){zV.superClass_.decorateInternal.call(this,a);a=bi(this.getCssClass()).split(" ");UO(this.getElement(),a);Bpc(this);Cpc(this);this.getElement().tabIndex=0;$O(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);zV.superClass_.enterDocument.call(this);a=this.tabCatcherElement_;b=this.getElement();b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling);this.focusHandler_=new Coc(this.getDomHelper().document_);this.getHandler().listen(this.focusHandler_,"focusin",this.onFocus);Dpc(this,!1)};
g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);Jh(this.focusHandler_);zV.superClass_.exitDocument.call(this);QB(this.bgIframeEl_);QB(this.bgEl_);QB(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_&&Dpc(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_);Epc(this,!0);this.focus();this.visible_=!0;if(this.popupShowTransition_&&this.bgShowTransition_)CB(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_)CB(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 Dpc=function(a,b){a.modalAriaVisibilityHelper_||(a.modalAriaVisibilityHelper_=new Apc(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_||Z$b(d,"hidden")||(TM(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}};
zV.prototype.updateModalAndBackground_=function(){this.resizeBackground_();this.reposition()};var Epc=function(a,b){a.bgIframeEl_&&$O(a.bgIframeEl_,b);a.bgEl_&&$O(a.bgEl_,b);$O(a.getElement(),b);$O(a.tabCatcherElement_,b)};g=zV.prototype;g.onShow=function(){this.dispatchEvent("show")};g.onHide=function(){Epc(this,!1);this.dispatchEvent("hide")};g.isVisible=function(){return this.visible_};g.focus=function(){this.focusElement_()};
g.resizeBackground_=function(){this.bgIframeEl_&&$O(this.bgIframeEl_,!1);this.bgEl_&&$O(this.bgEl_,!1);var a=this.getDomHelper().document_;var b=Fpc(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_&&($O(this.bgIframeEl_,!0),tfc(this.bgIframeEl_,c,a));this.bgEl_&&($O(this.bgEl_,!0),tfc(this.bgEl_,c,a))};
g.reposition=function(){if("fixed"==Mp(this.getElement(),"position"))var a=0,b=0;else b=OB(this.getDomHelper().document_),a=b.x,b=b.y;var c=$q(this.getElement());var d=Fpc(this);a=Math.max(a+d.width/2-c.width/2,0);b=Math.max(b+d.height/2-c.height/2,0);ar(this.getElement(),a,b);ar(this.tabCatcherElement_,a,b)};g.onFocus=function(a){this.backwardTabWrapInProgress_?this.resetBackwardTabWrap_():a.target==this.tabCatcherElement_&&iq(this.focusElement_,0,this)};
g.focusElement_=function(){try{Nq&&this.getDomHelper().document_.body.focus(),this.getElement().focus()}catch(a){}};var Fpc=function(a){a=a.getDomHelper().document_;return MB(PB(a)||window)};zV.prototype.disposeInternal=function(){Jh(this.popupShowTransition_);this.popupShowTransition_=null;Jh(this.popupHideTransition_);this.popupHideTransition_=null;Jh(this.bgShowTransition_);this.bgShowTransition_=null;Jh(this.bgHideTransition_);this.bgHideTransition_=null;zV.superClass_.disposeInternal.call(this)};var CV=function(a,b,c){zV.call(this,b,c);this.class_=a||"modal-dialog";this.buttons_=AV(AV(new BV,Gpc,!0),Hpc,!1,!0)};Et(CV,zV);g=CV.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_&&SB(this.titleTextEl_,a)};g.getTitle=function(){return this.title_};g.getContent=function(){return""};g.getContentElement=function(){this.getElement()||this.render();return this.contentEl_};var Ipc=function(a){a.getElement()||a.render();return a.getElement()};CV.prototype.getBackgroundElement=function(){this.getElement()||this.render();return CV.superClass_.getBackgroundElement.call(this)};
var Jpc=function(a,b){a.backgroundElementOpacity_=b;a.getElement()&&(b=a.getBackgroundElement())&&ufc(b,a.backgroundElementOpacity_)};CV.prototype.handleDrag=function(){};
var Kpc=function(a,b){var c=bi(a.class_+"-title-draggable").split(" ");a.getElement()&&(b?UO(a.titleEl_,c):nfc(a.titleEl_,c));b&&!a.dragger_?(b=new wV(a.getElement(),a.titleEl_),a.dragger_=b,UO(a.titleEl_,c),Oo(a.dragger_,"start",a.setDraggerLimits_,!1,a),Oo(a.dragger_,"drag",a.handleDrag,!1,a)):!b&&a.dragger_&&(a.dragger_.dispose(),a.dragger_=null)};g=CV.prototype;
g.createDom=function(){CV.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"));MXb(a,this.titleEl_,this.contentEl_=b.createDom("DIV",{className:this.class_+"-content",id:c}),this.buttonEl_=
b.createDom("DIV",this.class_+"-buttons"));SM(this.titleTextEl_,"heading");SM(this.titleCloseEl_,"button");this.titleCloseEl_.tabIndex=0;$$b(this.titleCloseEl_,"Close");SM(a,"dialog");TM(a,"labelledby",this.titleTextId_||"");$O(this.titleCloseEl_,this.hasTitleCloseButton_);this.buttons_&&(a=this.buttons_,a.element_=this.buttonEl_,a.render());$O(this.buttonEl_,!!this.buttons_);Jpc(this,this.backgroundElementOpacity_)};
g.decorateInternal=function(a){CV.superClass_.decorateInternal.call(this,a);a=this.getElement();var b=this.class_+"-content";this.contentEl_=LB(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_=LB(document,null,b,a)[0])?(this.titleTextEl_=LB(document,null,c,this.titleEl_)[0],this.titleCloseEl_=LB(document,null,d,this.titleEl_)[0]):
(this.titleEl_=this.getDomHelper().createDom("DIV",b),a.insertBefore(this.titleEl_,this.contentEl_));this.titleTextEl_?(this.title_=TXb(this.titleTextEl_),this.titleTextEl_.id||(this.titleTextEl_.id=this.getId())):(this.titleTextEl_=KXb("SPAN",{className:c,id:this.getId()}),this.titleEl_.appendChild(this.titleTextEl_));this.titleTextId_=this.titleTextEl_.id;TM(a,"labelledby",this.titleTextId_||"");this.titleCloseEl_||(this.titleCloseEl_=this.getDomHelper().createDom("SPAN",d),this.titleEl_.appendChild(this.titleCloseEl_));
$O(this.titleCloseEl_,this.hasTitleCloseButton_);b=this.class_+"-buttons";(this.buttonEl_=LB(document,null,b,a)[0])?(this.buttons_=new BV(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()),$O(this.buttonEl_,!!this.buttons_));Jpc(this,this.backgroundElementOpacity_)};
g.enterDocument=function(){CV.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_);Kpc(this,!0);this.getHandler().listen(this.titleCloseEl_,"click",this.onTitleCloseClick_);var a=this.getElement();SM(a,"dialog");""!==this.titleTextEl_.id&&TM(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()&&Dpc(this,!1)}};g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);Kpc(this,!1);CV.superClass_.exitDocument.call(this)};g.setVisible=function(a){a!=this.isVisible()&&(this.inDocument_||this.render(),CV.superClass_.setVisible.call(this,a))};g.onShow=function(){CV.superClass_.onShow.call(this);this.dispatchEvent("aftershow")};
g.onHide=function(){CV.superClass_.onHide.call(this);this.dispatchEvent("afterhide");this.disposeOnHide_&&this.dispose()};g.setDraggerLimits_=function(){var a=this.getDomHelper().document_,b=MB(PB(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=$q(this.getElement());"fixed"==Mp(this.getElement(),"position")?this.dragger_.limits=new WO(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height)):this.dragger_.limits=new WO(0,0,c-d.width,a-d.height)};
g.onTitleCloseClick_=function(){Lpc(this)};var Lpc=function(a){if(a.hasTitleCloseButton_){var b=a.buttons_,c=b&&b.cancelButton_;c?(b=b.get(c),a.dispatchEvent(new Mpc(c,b))&&a.setVisible(!1)):a.setVisible(!1)}},Npc=function(a){a.hasTitleCloseButton_=!1;a.titleCloseEl_&&$O(a.titleCloseEl_,a.hasTitleCloseButton_)};CV.prototype.setDisposeOnHide=function(a){this.disposeOnHide_=a};CV.prototype.disposeInternal=function(){this.buttonEl_=this.titleCloseEl_=null;CV.superClass_.disposeInternal.call(this)};
CV.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 Mpc(a,b))&&this.setVisible(!1)}};
CV.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 Mpc(f,b))):e||(b=!0)}else{if(9==a.keyCode&&a.shiftKey&&e==this.getElement()){this.backwardTabWrapInProgress_=!0;try{this.tabCatcherElement_.focus()}catch(w){}iq(this.resetBackwardTabWrap_,0,this)}}else if(13==a.keyCode){if("BUTTON"==e.tagName&&!e.disabled)f=e.name;
else if(e==this.titleCloseEl_)Lpc(this);else if(d){var h=d.defaultButton_,k;if(k=h)a:{k=KB("BUTTON",d.element_);for(var q=0,t;t=k[q];q++)if(t.name==h||t.id==h){k=t;break a}k=null}e=("TEXTAREA"==e.tagName||"SELECT"==e.tagName||"A"==e.tagName)&&!e.disabled;!k||k.disabled||e||(f=h)}f&&d&&(c=!0,b=this.dispatchEvent(new Mpc(f,String(d.get(f)))))}else e!=this.titleCloseEl_||32!=a.keyCode&&" "!=a.key||Lpc(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};
var Mpc=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};Et(Mpc,yB);var BV=function(a){yV.call(this);this.dom_=a||Qo();this.class_="goog-buttonset";this.cancelButton_=this.element_=this.defaultButton_=null};Et(BV,yV);BV.prototype.clear=function(){yV.prototype.clear.call(this);this.defaultButton_=this.cancelButton_=null};BV.prototype.set=function(a,b,c,d){yV.prototype.set.call(this,a,b);c&&(this.defaultButton_=a);d&&(this.cancelButton_=a);return this};
var AV=function(a,b,c,d){return a.set(b.key,b.caption,c,d)};BV.prototype.render=function(){if(this.element_){MIa(this.element_,et);var a=Qo(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)}};
BV.prototype.decorate=function(a){if(a&&1==a.nodeType){this.element_=a;a=KB("BUTTON",this.element_);for(var b=0,c,d,e;c=a[b];b++)if(d=c.name||c.id,e=TXb(c)||c.value,d){var f=0==b;this.set(d,e,f,"cancel"==c.name);f&&TO(c,this.class_+"-default")}}};BV.prototype.getElement=function(){return this.element_};BV.prototype.getDomHelper=function(){return this.dom_};
var Gpc={key:"ok",caption:"OK"},Hpc={key:"cancel",caption:"Cancel"},Opc={key:"yes",caption:"Yes"},Ppc={key:"no",caption:"No"},Qpc={key:"save",caption:"Save"},Rpc={key:"continue",caption:"Continue"};"undefined"!=typeof document&&(AV(new BV,Gpc,!0,!0),AV(AV(new BV,Gpc,!0),Hpc,!1,!0),AV(AV(new BV,Opc,!0),Ppc,!1,!0),AV(AV(AV(new BV,Opc),Ppc,!0),Hpc,!1,!0),AV(AV(AV(new BV,Rpc),Qpc),Hpc,!0,!0));var Spc=function(a,b,c){CV.call(this,a,b,c)};Et(Spc,CV);var Tpc=function(a,b){No.call(this);this.element_=a;a=RB(this.element_)?this.element_:this.element_?this.element_.body:null;this.isRtl_=!!a&&aP(a);this.listenKey_=Oo(this.element_,Ht?"DOMMouseScroll":"mousewheel",this,b)};Et(Tpc,No);
Tpc.prototype.handleEvent=function(a){var b=0,c=0,d=a.event_;"mousewheel"==d.type?(a=Upc(-d.wheelDelta),void 0!==d.wheelDeltaX?(b=Upc(-d.wheelDeltaX),c=Upc(-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 Vpc(a,d,b,c);this.dispatchEvent(b)};
var Upc=function(a){return It&&(Tq||JMb)&&0!=a%40?a:a/40};Tpc.prototype.disposeInternal=function(){Tpc.superClass_.disposeInternal.call(this);FB(this.listenKey_);this.listenKey_=null};var Vpc=function(a,b,c,d){zB.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};Et(Vpc,zB);var Wpc;var Xpc=tt(["https://about:blank"]),Ypc=tt(['javascript:""']),Zpc=tt(["about:blank"]),DV=function(a,b,c,d,e,f,h,k,q){k=void 0===k?!1:k;q=void 0===q?!1:q;CV.call(this,f?f+" picker modal-dialog":"picker modal-dialog",!0,c);MZb(a,"protocol");this.iframeManager_=new fpc;this.targetId_=Lu();this.rpcToken_=Lu();this.useGapi_=!q&&!0;a=xD(a);vD(a,"hostId");k&&uD(a,"fv2","true");this.setUrl(a.toString());this.preferredDialogWidth_=d;this.preferredDialogHeight_=e;void 0!==d||void 0!==e?d=!0:(d=vD(xD(a.toString()),
"hostId"),Wpc||(Wpc=new Set("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" "))),d=!Wpc.has(d));this.autoSizeDialog_=d;this.gadgetsDomHelper_=h||this.getDomHelper();b&&(h=this.gadgetsDomHelper_,b="true"==vD(xD(this.url_),"grugl")?Boc:Aoc,GVa(h)||(h=h||Qo(document),d=h.createElement("SCRIPT"),Sh(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):Ft(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()):MIa(this.buttonEl_,et),$O(this.buttonEl_,!!this.buttons_))};Et(DV,Spc);g=DV.prototype;g.url_="";g.iframe_=null;g.iframeLoaded_=!1;g.loadedFired_=!1;g.callback_=function(){};
g.enterDocument=function(){DV.superClass_.enterDocument.call(this);var a=this.getBackgroundElement(),b=this.getHandler(),c=new Tpc(a);xB(b,c);b.listen(c,"mousewheel",Ct(KVa,void 0,a)).listen(a,"scroll",Ct(KVa,void 0,a))};g.render=function(a){var b=this;DV.superClass_.render.call(this,a);this.useGapi_?gpc(this.iframeManager_,window).then(function(){return $pc(b)}).then(null,function(c){return void b.handleError_(c)}):aqc(this)};
var $pc=function(a){var b=a.getDomHelper().createDom("div",["picker-dialog-content","picker-frame"]);$O(b,!1);a.getContentElement().appendChild(b);return hpc(a.iframeManager_,b,function(c){var d=cOb(c["iframe-command"]);switch(d.getCommand()){case 1:c=a.callback_;d=$i(d,aOb,2);var e="";switch(d.getStatus()){case 2:e="cancel";break;case 1:e="picked";break;case 3:e="error"}var f=d.getItemList(Li);d=0===f.length?{action:e}:Poc(f,e,d.getInternalOnlyV1ViewInfo());c.call(a,d);a.setVisible(!1);break;case 4:Npc(a),
a.callback_({action:"loaded"})}},a.url_,a.targetId_,a.rpcToken_).then(function(c){a.iframe_=c.getIframeEl();bqc(a);$O(a.iframe_.parentElement,!0);TO(a.getElement(),"picker-dialog");cqc(a);return c})},aqc=function(a){a.iframe_=a.dom_.createDom("IFRAME",{id:a.targetId_,name:a.targetId_,"class":"picker-frame",frameBorder:"0",allow:"camera"});Ura(a.iframe_,dqc(a));TO(a.getElement(),"picker-dialog");a.getContentElement().appendChild(a.iframe_);a.getHandler().listen(a.iframe_,"load",function(){return void bqc(a)});
a.iframe_.src=a.url_;cqc(a)},fqc=function(a){eqc(a,Ct(function(b){b.setAuthToken(this.targetId_,this.rpcToken_)},a))},cqc=function(a){var b=vD(xD(a.url_),"title");b&&a.setTitle(b)},dqc=function(a){return 7<=taa()&&0==a.url_.lastIndexOf("https",0)?lh(Xpc):Nq?lh(Ypc):lh(Zpc)},bqc=function(a){fqc(a);a.iframeLoaded_=!0;a.iframe_.tabIndex=0;a.isVisible()&&a.focus()};DV.prototype.handleKeydown_=function(a){27==a.keyCode&&(this.setVisible(!1),this.callback_({action:"cancel"}),a.stopPropagation(),a.preventDefault())};
var eqc=function(a,b){var c=a.gadgetsDomHelper_;IVa(function(){b(c.getWindow().gadgets.rpc)},c)};DV.prototype.setUrl=function(a){a=uD(new So(a),"rpcService",this.targetId_);uD(a,"rpctoken",this.rpcToken_);qD(a,"rpctoken="+this.rpcToken_);nD(a,"https");this.url_=a.toString();this.iframe_&&(this.iframe_.src=this.url_)};DV.prototype.setAppId=function(a){this.appId_=a;this.loadedFired_&&gqc(this)};
DV.prototype.setCallback=function(a){this.callback_=a;eqc(this,Ct(function(b){b.register(this.targetId_,Ct(this.handlePickerAction_,this))},this))};DV.prototype.handlePickerAction_=function(a){var b=a.action;"loaded"==b&&(this.loadedFired_=!0,this.sendCommand(new xoc(this.isVisible())),gqc(this),Npc(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 gqc=function(a){a.appId_&&a.sendCommand(new FVa(a.appId_,window.location.protocol+"//"+window.location.host))};g=DV.prototype;g.setRelayUrl=function(a){eqc(this,Ct(function(b){b.setRelayUrl(this.targetId_,a)},this))};g.sendCommand=function(a){var b=this;this.useGapi_&&mpc(a,this.iframeManager_).then(null,function(c){return void b.handleError_(c)});eqc(this,Ct(function(c){c.call(this.targetId_,"picker",null,a)},this))};
g.resizePicker_=function(){var a=this.getDomHelper().document_;a=PB(a)||window;if("true"==vD(xD(this.url_),"ignoreLimits"))a=new GB(this.preferredDialogWidth_,this.preferredDialogHeight_);else if("true"==vD(xD(this.url_),"shadeDialog")){var b=zfc(Ipc(this)),c=MB(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 GB(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=MB(a),c=.85*c.height);var d=Math.max(480,Math.min(650,c))}else c=MB(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=MB(a);b=Math.min(b,Math.max(c.width,320));d=Math.min(d,Math.max(c.height,480));a=new GB(b,d)}tfc(this.getContentElement(),a);this.reposition()};
g.reposition=function(){if("true"==vD(xD(this.url_),"shadeDialog")){var a=$q(this.getElement()),b=MB(this.getDomHelper().getWindow());a=Math.floor(b.width/2-a.width/2);if(b=zfc(Ipc(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=OB(this.getDomHelper().document_).y;ar(this.getElement(),a,b)}else DV.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_))}DV.superClass_.setVisible.call(this,a);this.sendCommand(new xoc(a))};
g.focus=function(){DV.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 EV=function(a,b){b=void 0===b?DV:b;toc.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};X(EV,uoc);EV.prototype.disposeOnHide_=!1;
EV.prototype.build=function(){this.urlParamMap_.get("parent")||this.setRelayUrl(qD(pD(xD(window.location.href)),"").setPath("/favicon.ico").toString());this.urlParamMap_.set("ifls",Date.now());if(this.urlParamMap_.get("minimal"))throw Error("ee");var a=new this.pickerConstructor(hqc(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 iqc=function(a,b){a.urlParamMap_.set(b,"true");return a};g=EV.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 jqc=function(a){a.urlParamMap_.set("hostId","buganizer-drive");return a};g=EV.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 hqc=function(a){a.postProcessors_.length&&a.urlParamMap_.set("pp",JSON.stringify(a.postProcessors_));a.urlParamMap_.set("nav",roc(a.nav_));var b=new So(a.getBaseUrl());a.urlParamMap_.forEach(function(c,d){uD(b,d,c)});return b};var FV=function(a,b){this.activeSession=a;this.attachmentsApi=b;this.disabled=!1;this.onPickDoc=new zv;this.onCloneBlob=new zv;this.onePickUrl=a.getOnePickUrl();this.onePickSecretToken=a.getOnePickSecretToken()};
FV.prototype.showDialog=function(){var a=this;if(!this.drivePicker){var b=window.location.origin||window.location.protocol+"//"+window.location.host;this.drivePicker=jqc(iqc(iqc(iqc(iqc((new EV(this.onePickUrl)).addView(koc().setMode("list")),"navHidden"),"multiselectEnabled"),"edbe"),"showAttach").setCallback(function(c){if(c&&"picked"===c.action)for(var d=l(c.docs),e=d.next();!e.done;e=d.next())e=new hoc(e.value),c.extraUserInputs.isAttachment?(e=new ioc(e),joc(e,a.attachmentsApi),a.onCloneBlob.emit(e)):
a.onPickDoc.emit(e)}).setOrigin(b)).build()}this.drivePicker.setVisible(!0)};FV.\u0275fac=function(a){return new (a||FV)(A(nt),A(cK))};
FV.\u0275cmp=Lc({type:FV,selectors:[["b-drive-attachment"]],inputs:{disabled:"disabled"},outputs:{onPickDoc:"onPickDoc",onCloneBlob:"onCloneBlob"},decls:3,vars:1,consts:[[1,"goog-inline-block","vertical-centered"],["mat-icon-button","","matTooltip","Add Drive attachments","aria-label","Add Drive attachments",3,"disabled","click"],["svgIcon","google-drive"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"button",1),M("click",function(){return b.showDialog()}),I(2,"mat-icon",2),G()());a&2&&(y(),D("disabled",
b.disabled))},dependencies:[hB,nA,PC],encapsulation:2});var GV=function(a,b,c){Y.call(this);this.issueDetailsBrain=a;this.userResources=b;this.analytics=c;this.isPlusOneText=!1;this.onSubmitComment=new zv};X(GV,Y);GV.\u0275dir=Y.\u0275dir;GV.prototype.ngOnChanges=function(a){a.isPlusOneText&&this.isPlusOneText&&kp(this.analytics,Sp.EDIT_ISSUE,"view","commentAndVoteBanner")};
GV.prototype.onClick=function(){var a=om(this.issueDetailsBrain.id$);this.onSubmitComment.emit();null!=a&&(t6b(this.userResources,a,{voted:!0,starred:null,notificationSubscription:null}).pipe(ef(this.destroyed$)).subscribe(),kp(this.analytics,Sp.EDIT_ISSUE,"click","commentAndVote"))};GV.\u0275fac=function(a){return new (a||GV)(A(GK),A(AI),A(MI))};
GV.\u0275cmp=Lc({type:GV,selectors:[["b-plus-one-comment-callout"]],inputs:{isPlusOneText:"isPlusOneText"},outputs:{onSubmitComment:"onSubmitComment"},features:[nf,ed],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&&C(0,LVa,7,1,"div",0);a&2&&D("ngIf",b.isPlusOneText)},dependencies:[dw,hB,nA,PC],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 kqc=["commentBoxContainer"],lqc=[[["","warning",""]],[["","recaptchaContainer",""]],[["","additionalToolbarItems",""]]],mqc=function(a){return{focused:a}},nqc=function(a,b){return[a,b]},HV=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 zv;this.warn=this.disabled=this.supportsPreview=!1;this.showToolbar=!0;this.attachmentsDisabled=!1;this.showRestrictionOptions=!0;this.isPlusOneCalloutEnabled=
!1;this.onPlusOneTextEntered=new zv;this.onChange=new zv;this.onFocusEvent=new zv;this.onSubmit=new zv;this.onRestrict=new zv;this.focused=!1;this.commentRebound$=new W.ReplaySubject(1);this.destroyed$=new W.ReplaySubject(1);this.createRestrictedResourcesComponentIds=this.activeSession.getCreateRestrictedSubresourcesComponentIds()};g=HV.prototype;g.ngOnDestroy=function(){var a;null==(a=this.comment)||R7b(a);this.destroyed$.next()};
g.ngOnInit=function(){var a=this;this.appEvents.focusCommentBox.pipe(ef(this.destroyed$)).subscribe(function(b){Czb(a,b)});this.appEvents.scrollToCommentBox.pipe(ef(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 eua(c)};
g.isRestricted=function(){var a,b;return"NONE_DETECTED"!==(null!=(b=null==(a=this.judgementForNewContent)?void 0:a.severity)?b:"NONE_DETECTED")};var Czb=function(a,b){(b=void 0===b?"":b)&&kp(a.analytics,"commentBox","takeFocus",b);a.scrollIntoView();setTimeout(function(){var c;null==(c=a.commentDraftComponent)||ggc(c)})};g=HV.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&&ua(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))};HV.\u0275fac=function(a){return new (a||HV)(A(MI),A(VM),A(nt),A(RH),A(IM))};
HV.\u0275cmp=Lc({type:HV,selectors:[["b-comment-box"]],viewQuery:function(a,b){a&1&&(Uf(lP,5),Uf(kqc,5),Uf(oV,5));if(a&2){var c;Yf(c=Zf())&&(b.commentDraftComponent=c.first);Yf(c=Zf())&&(b.commentBoxContainer=c.first);Yf(c=Zf())&&(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:[ed],ngContentSelectors:["[warning]","[recaptchaContainer]","[additionalToolbarItems]"],decls:10,vars:16,consts:[[1,"bv2-comment-box-container",
3,"ngClass"],["commentBoxContainer",""],[1,"bv2-comment-textarea-wrapper"],[3,"content","placeholder","disabled","textareaClass","audience","idForAriaLabel","contentChange","focus","blur","keydown","paste"],[4,"ngIf"],[3,"uploads","onUploadCancel","onUploadComplete"],["class","bv2-comment-toolbar",4,"ngIf"],[3,"isPlusOneText","onSubmitComment"],[1,"bv2-comment-toolbar"],[3,"disabled","onSelect"],[3,"disabled","onPickDoc","onCloneBlob",4,"ngIf"],["class","goog-inline-block vertical-centered restriction-button",
4,"ngIf"],[3,"disabled","onPickDoc","onCloneBlob"],[1,"goog-inline-block","vertical-centered","restriction-button"],[4,"ngIf","ngIfElse"],["restrictedFlatButton",""],["mat-icon-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",3,"disabled","click"],["svgIcon","restricted"],["mat-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",1,"button-with-text",3,"click"],[3,"comment","issueId","audience",
"formattingMode"]],template:function(a,b){a&1&&(Lf(lqc),E(0,"div",0,1)(2,"div",2)(3,"b-comment-draft",3),M("contentChange",function(c){if(b.comment){var d=b.comment.value;b.comment.value=c;c!==d&&(b.onChange&&(b.commentChange.emit(b.comment),b.onChange.emit()),b.onPlusOneTextEntered&&b.onPlusOneTextEntered.emit("+1"===c.trim()))}})("focus",function(){return b.onFocus()})("blur",function(){return b.onBlur()})("keydown",function(c){return b.onKeydown(c)})("paste",function(c){if(c&&null!=c.clipboardData){var d=
c.clipboardData;for(var e=!1,f=!1,h=0,k=0;k<d.items.length;k++)"string"===d.items[k].kind&&"text/plain"===d.items[k].type?e=!0:"file"===d.items[k].kind&&(f=!0,h=k);f&&d.items&&d.files?(f=d.files[0],h=d.items[h].type.replace(/^.*[/]/,""),e?(d=d.getData("text/plain"),d=d.replace(/^.*[\\\/]/,"")):d=(new Date).toString()+"."+h,d={file:f,filename:d}):d=void 0;d&&(c.preventDefault(),c=new File([d.file],d.filename,{type:d.file.type}),b.uploadFile(c))}}),G(),C(4,MVa,2,1,"ng-container",4),G(),Mf(5),E(6,"b-attachment-uploader",
5),M("onUploadCancel",function(c){b.removeUpload(c);return b.onChange.emit()})("onUploadComplete",function(){return b.onChange.emit()}),G(),Mf(7,1),C(8,RVa,6,5,"div",6),G(),C(9,SVa,2,4,"div",4));a&2&&(D("ngClass",fg(11,mqc,b.focused)),y(3),D("content",b.comment.value)("placeholder",b.placeholder)("disabled",b.disabled)("textareaClass",gg(13,nqc,b.disabled?"bv2-disabled":"",b.warn?"banned-words-warning":""))("audience",b.audience)("idForAriaLabel",b.idForAriaLabel),y(),D("ngIf",b.isPlusOneCalloutEnabled),
y(2),D("uploads",b.comment.uploads),y(2),D("ngIf",b.showToolbar),y(),D("ngIf",b.supportsPreview&&b.comment.formattingMode===b.MARKDOWN))},dependencies:[gw,dw,hB,lP,PC,HM,FV,lV,oV,nA,GV,mw],encapsulation:2});var oqc=["multiUserInput"],IV=function(a,b,c,d,e,f){Y.call(this);var h=this;this.element=a;this.principalTypes=b;this.activeSession=c;this.documentationLinks=d;this.appEvents=e;this.usersChange=new zv(!0);this.includeViewAliases=this.includeAliases=!1;this.maxUserAllowed=-1;this.customValidators={};this.detailedUserValidators={};this.ariaLabel="";this.isValid=new zv;this.typedText="";this.items=[];this.chipifyFn=function(){pqc(h)};this.additionalContactsFn=function(){return qqc(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(WM(f,{title:"Manage Component Page",hotkeys:[{keys:[],displayAs:"Right Arrow (>)",description:"Move the Cursor to Input Field",onPress:function(){}}]}))};X(IV,Y);IV.\u0275dir=Y.\u0275dir;
IV.prototype.ngOnInit=function(){var a=this;this.validators=Object.assign({},{validateGaia:function(b,c){return rqc(c)},validateInternalAccessLevel:function(b,c){return sqc(a,c)},validateExternalAccessLevel:function(b,c){return tqc(a,c)}},this.customValidators)};IV.prototype.ngOnChanges=function(a){if(a.users||a.containerChips)this.items=uqc(this,this.users),JV(this)};
var JV=function(a){var b=[].concat(r(a.items)),c=vqc(b),d=wqc(b);b=a.validate(c,d,b);a.isValid.emit(b);a.users&&Th(a.users,c)||(a.users=c,b&&a.usersChange.emit(c))};
IV.prototype.validate=function(a,b,c){for(var d=new Set,e=l(Object.entries(this.validators)),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;h(a,c)||d.add(f)}a=l(Object.entries(this.detailedUserValidators));for(c=a.next();!c.done;c=a.next())e=l(c.value),c=e.next().value,e=e.next().value,e(b)||d.add(c);this.violations=d;return 0===this.violations.size};
var VVa=function(a){!a.isWidgetDisabled()&&xqc(a)&&(a.isFocused=!0,a.textInputElement.nativeElement.focus())},TVa=function(a){Np(a,a.selectedChipIndex)&&(a.items[a.selectedChipIndex].isSelected=!1);a.selectedChipIndex=-1};IV.prototype.isWidgetDisabled=function(){return this.$element.classList.contains("disabled")||!!this.$element.hasAttribute("disabled")};var xqc=function(a){var b,c;return 0>a.maxUserAllowed||(null!=(c=null==(b=a.users)?void 0:b.length)?c:0)<a.maxUserAllowed};
IV.prototype.removeItem=function(a){this.isWidgetDisabled()||!Np(this,a)||this.items[a].isReadonly||(TVa(this),this.items.splice(a,1),JV(this))};IV.prototype.setAccessLevel=function(a){this.accessLevel=a};
var qqc=function(a){return yqc(a).map(function(b){return{text:ssa(b),id:yo({alias:b})}})},yqc=function(a){if(!a.includeAliases||sE(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},pqc=function(a){setTimeout(function(){a.typedText&&ia(a.typedText,",")&&WVa(a,a.typedText.split(",")[0].trim())})},WVa=function(a,b){b&&(b=ibc.test(b)?zqc(a,b):Aqc(a,b),a.items.push(b));
a.typedText="";JV(a)},Np=function(a,b){return 0<=b&&b<a.items.length},zqc=function(a,b){var c=void 0===c?!1:c;var d=Ao(b);if(void 0===d.alias)throw Error("dd`"+b);b=d.alias;d=ssa(b);return new KV("ALIAS",b,d,null,c,a)},Bqc=function(a,b){b=po(b);var c=new KV("GROUP",b,b,null,!1,a);pK(a.principalTypes,b,!0).then(function(d){c.detailedUserType=d.detailedUserType;JV(a)});return c},Cqc=function(a,b){var c=void 0===c?!1:c;b=po(b);var d=new KV("USER",b,b,null,c,a);pK(a.principalTypes,b,!0).then(function(e){d.detailedUserType=
e.detailedUserType;JV(a)});return d},Aqc=function(a,b){var c=void 0===c?!1:c;b=po(b);var d=new KV("PRINCIPAL_TYPE_UNSPECIFIED",b,b,null,c,a);pK(a.principalTypes,b,!0).then(function(e){d.principalType=e.principalType;d.detailedUserType=e.detailedUserType;JV(a)});return d},Dqc=function(a,b,c){return new KV("PRINCIPAL_TYPE_UNSPECIFIED","",b,c,!0,a)};IV.prototype.getAccessLevel=function(){return this.accessLevel};IV.prototype.getAppName=function(){return this.activeSession.getAppName()};
IV.prototype.onKeyDown=function(a){8===a.keyCode?Np(this,this.selectedChipIndex)?(Np(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?Np(this,this.selectedChipIndex)&&Np(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex):39===a.keyCode&&VVa(this)};
var uqc=function(a,b){b=(b||[]).map(function(d){return Eqc(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 Dqc(a,d.displayText,d.values.map(function(e){return Eqc(a,e)}))});return[].concat(r(c),r(b))}return b},Eqc=function(a,b){var c=b.split(":");if(2!==c.length)throw Error("fe`"+b);var d=c[0];if("USER"!==d&&"GROUP"!==d&&"ALIAS"!==d)throw Error("fe`"+b);return"ALIAS"===d?zqc(a,b):"USER"===
d?Cqc(a,c[1]):Bqc(a,c[1])},vqc=function(a){return(a||[]).filter(function(b){return"PRINCIPAL_TYPE_UNSPECIFIED"!==b.principalType}).map(function(b){return b.principalType+":"+b.value})},wqc=function(a){return(a||[]).filter(function(b){return"NO_DETAILED_TYPE"!==b.detailedUserType}).map(function(b){return b.detailedUserType+":"+b.value})},rqc=function(a){return!a.some(function(b){return b.isNonGaiaChip()})},sqc=function(a,b){return"INTERNAL"!==a.accessLevel?!0:!b.some(function(c){return c.isInternalAccessViolated()})},
tqc=function(a,b){return"EXTERNAL_PARTNER"!==a.accessLevel?!0:!b.some(function(c){return c.isExternalPartnerAccessViolated()})};IV.\u0275fac=function(a){return new (a||IV)(A(Ad),A(oK),A(nt),A(jG),A(RH),A(VM))};
IV.\u0275cmp=Lc({type:IV,selectors:[["b-multi-user-input"]],viewQuery:function(a,b){a&1&&Uf(oqc,5);if(a&2){var c;Yf(c=Zf())&&(b.textInputElement=c.first)}},hostBindings:function(a,b){a&1&&M("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:[nf,ed],decls:13,vars:12,consts:[["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,"isReadonly","isSelected","isWidgetDisabled","principalType","detailedUserType","nestedChips","value","displayText","accessLevel","chipSelection","chipClear","chipRemove"],["b-adaptive-width-input","","tabindex","0",1,"bv2-multi-user-embedded-input",3,"bContactAutocomplete","additionalContactsCallback","ngModel","disabled",
"autocompleteActive","ngModelChange","focus","blur"],["multiUserInput",""],["target","_blank"]],template:function(a,b){a&1&&(E(0,"div",0),M("click",function(){return VVa(b)}),E(1,"div",1),R(2," Press tab to navigate through users and right arrow to go to input section "),G(),E(3,"div"),C(4,UVa,2,9,"div",2)(5,XVa,2,4,"input",3),G()(),E(6,"div",4),C(7,YVa,4,1,"span",5)(8,ZVa,2,0,"span",5)(9,$Va,2,0,"span",5)(10,aWa,2,0,"span",5)(11,bWa,2,0,"span",5)(12,cWa,2,0,"span",5),G());a&2&&(yf("focused",b.isFocused),
pf("aria-label",b.idForInputBox),y(4),D("ngForOf",b.items),y(),D("ngIf",xqc(b)),y(),pf("aria-hidden",0===b.violations.size),y(),D("ngIf",b.violations.has("noRestrictedPlusGroups")),y(),D("ngIf",b.violations.has("validateGaia")),y(),D("ngIf",b.violations.has("validateInternalAccessLevel")),y(),D("ngIf",b.violations.has("validateExternalAccessLevel")),y(),D("ngIf",b.violations.has("sloLeadNotUser")),y(),D("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 KV=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=KV.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("ge`"+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 LV=function(a,b,c,d){var e=this;this.accessIndicatorService=a;this.documentationLinks=b;this.issueFridge=c;this.issueResources=d;this.compactMode=!1;this.issueId$=new W.ReplaySubject;this.accessIndicator$=this.issueId$.pipe(df(function(f){return Wgc(e.accessIndicatorService,f)}));this.chipClass$=this.accessIndicator$.pipe(B(function(f){return f.type}));this.chipText$=this.accessIndicator$.pipe(B(function(f){return f.displayText}));this.bubbleText$=this.accessIndicator$.pipe(B(function(f){return f.explanation}));
this.shouldShowIndicator$=this.accessIndicator$.pipe(B(function(f){return"no_indicator"!==f.type}));this.issue$=this.issueId$.pipe(df(function(f){return e.issueFridge.watch(f)}));this.viewers$=(0,W.combineLatest)([this.issue$,this.accessIndicator$]).pipe(df(function(f){var h=l(f);f=h.next().value;h=h.next().value;if(!f||!hWa(h.type))return(0,W.of)();var k,q;return e.issueResources.getRetainedAccessPrincipals(null==f?void 0:f.issueId,null!=(q=null==f?void 0:null==(k=f.snapshot[0])?void 0:k.issueAccessLimitLevel)?
q:"LIMIT_NONE",[],[]).pipe(B(function(t){t=[].concat(r(Co(t.writers)),r(Co(t.appenders)),r(Co(t.readers)));return[].concat(r(new Set(t)))}))}),af({refCount:!0,bufferSize:1}));this.viewersLoaded$=this.viewers$.pipe(B(function(){}))};Vg.Object.defineProperties(LV.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});LV.\u0275fac=function(a){return new (a||LV)(A($P),A(jG),A(UI),A(OH))};
LV.\u0275cmp=Lc({type:LV,selectors:[["b-issue-visibility-chip"]],inputs:{issueId:"issueId",compactMode:"compactMode"},decls:2,vars:3,consts:[[4,"ngIf"],["tabindex","0","matTooltip","Press Alt + Right arrow for more details",1,"chippy","rounded","nowrap","keep-focus-ring",3,"onedevHovercardTrigger","matTooltipDisabled","ngClass","focus","blur"],["tooltip","matTooltip"],["card","onedevHovercard"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"issue-visibility-chip-bubble"],["target",
"_blank",3,"href"],[3,"onedevIsHovercardReady"],[3,"onedevIsHovercardReady",4,"onedevHovercardLazyBody"],["idForInputBox","Users who can view",3,"users"]],template:function(a,b){a&1&&(C(0,gWa,17,17,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.shouldShowIndicator$))},dependencies:[gw,dw,IV,LF,MF,QF,NF,PC,mw],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 MV=function(a){this.activeSession=a;this.sessionIsExternal=a.isExternalSession()};MV.prototype.shouldShowLinks=function(){return!this.sessionIsExternal&&!!Bn(this.email)};MV.prototype.getName=function(){return void 0===this.email?"":this.email.split("@")[0]};MV.\u0275fac=function(a){return new (a||MV)(A(nt))};
MV.\u0275cmp=Lc({type:MV,selectors:[["b-group-email-card"]],inputs:{email:"email"},ngContentSelectors:["*"],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["content",""],["role","button","tabindex","0",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],["role","dialog","aria-label","Group email hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow","bv2-group-email-card"],[1,"bv2-group-email-card-content"],[1,"bv2-group-email-card-name"],
[1,"bv2-group-email-card-email"],["svgIcon","group"],["class","bv2-group-email-card-links-container",4,"ngIf"],[1,"bv2-group-email-card-links-container"],["target","_blank",1,"bv2-group-email-card-link",3,"href"],[4,"ngIf"]],template:function(a,b){a&1&&(Lf(),C(0,nWa,17,5,"ng-container",0)(1,oWa,1,0,"ng-template",null,1,jg));if(a&2){var c=Q(2);D("ngIf",!!Bn(b.email))("ngIfElse",c)}},dependencies:[dw,lw,hB,LF,QF],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 NV=function(){};NV.\u0275fac=function(a){return new (a||NV)};NV.\u0275mod=Nc({type:NV});NV.\u0275inj=wc({imports:[SH,aN]});var jma=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}},OV=function(a){Y.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 zv;this.chipClear=new zv;this.chipRemove=new zv};X(OV,Y);OV.\u0275dir=Y.\u0275dir;
g=OV.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("ge`"+this.value);}};
var Fqc=function(a){if(a.isGroupChip())return"group";if(a.isDomainChip())return"acl-alias-domain";if(a.isPublicChip())return"public"};OV.\u0275fac=function(a){return new (a||OV)(A(nt))};
OV.\u0275cmp=Lc({type:OV,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:[nf],decls:9,vars:15,consts:[[1,"bv2-user-chip-item",3,"ngClass","matTooltip","focus","blur"],[1,"alias-icon"],
[3,"svgIcon",4,"ngIf"],[1,"user-chip-name"],[3,"email",4,"ngIf"],[4,"ngIf"],["role","button","tabindex","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,"matTooltip","click","keydown.enter"],["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&&(E(0,"span",0),M("focus",function(){return b.chipSelection.emit()})("blur",function(){return b.chipClear.emit()}),E(1,"span",1),C(2,pWa,1,1,"mat-icon",2),G(),E(3,"div",3),C(4,qWa,2,2,"b-person-hovercard",4)(5,rWa,2,2,"b-group-email-card",
4)(6,sWa,2,1,"div",5),G(),C(7,tWa,2,2,"div",6)(8,vWa,7,1,"div",7),G());a&2&&(D("ngClass",kma(b.isExternalChip(),b.isNonGaiaChip(),b.isInternalAccessViolated()||b.isExternalPartnerAccessViolated(),b.isContainerChip(),b.isSelected,b.isReadonly))("matTooltip",b.getTooltip()),y(2),D("ngIf",Fqc(b)),y(2),D("ngIf",b.isUserChip()),y(),D("ngIf",b.isGroupChip()),y(),D("ngIf",!b.isUserChip()&&!b.isGroupChip()),y(),D("ngIf",!b.isReadonly&&!b.isWidgetDisabled),y(),D("ngIf",b.isContainerChip()))},dependencies:[gw,
hw,dw,hB,PC,rM,MV,OV],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 PV=function(){};PV.\u0275fac=function(a){return new (a||PV)};PV.\u0275mod=Nc({type:PV});PV.\u0275inj=wc({imports:[SH,dx,JD,bN,NV,WK,iP,WT]});nma(IV,[hw,dw,Dg,Hw,Ow,hP,VT,OV]);var QV=function(){};QV.\u0275fac=function(a){return new (a||QV)};QV.\u0275mod=Nc({type:QV});QV.\u0275inj=wc({imports:[SH,UR,PV,aN,JD]});var RV=function(a){this.activeSession=a;this.externalWarnings=[];this.enableNewVisibilityChips=tE(this.activeSession,"enableNewVisibilityChips")};RV.\u0275fac=function(a){return new (a||RV)(A(nt))};
RV.\u0275cmp=Lc({type:RV,selectors:[["b-external-warnings"]],inputs:{externalWarnings:"externalWarnings"},decls:1,vars:1,consts:[["class","bv2-external-component-modal-warning"],[1,"bv2-external-component-modal-warning"],[3,"href"],[3,"issueId"],[3,"accessLevel"]],template:function(a,b){a&1&&C(0,BWa,8,1,"div",0);a&2&&Cf(0,0<b.externalWarnings.length?0:-1)},dependencies:[zR,LV],styles:[".bv2-external-component-modal-warning[_ngcontent-%COMP%] {\n  padding-top: 10px;\n\n  ul {\n    padding-left: 0;\n  }\n}"],
changeDetection:0});var SV=function(){};SV.\u0275fac=function(a){return new (a||SV)};SV.\u0275mod=Nc({type:SV});SV.\u0275inj=wc({imports:[WR,QV]});var Gqc=["captchaContainer"],TV=function(a,b,c,d,e){this.ngZone=a;this.window=b;this.darkmodeService=c;this.appEvents=d;this.analytics=e;this.onUpdate=new zv;this.destroyed$=new W.ReplaySubject(1)};TV.prototype.ngOnInit=function(){var a=this;this.appEvents.recaptchaSubmitted.pipe(ef(this.destroyed$)).subscribe(function(){a.reset();a.onUpdate.emit("")})};
TV.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);kp(a.analytics,Sp.RECAPTCHA_TOKEN,"create")})},"expired-callback":function(){a.ngZone.run(function(){a.onUpdate.emit("");kp(a.analytics,Sp.RECAPTCHA_TOKEN,
"expire")})},theme:d?"dark":"light"})})};TV.prototype.ngOnDestroy=function(){this.reset();this.destroyed$.next()};TV.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)})}};TV.\u0275fac=function(a){return new (a||TV)(A(Ge),A(uE),A(eS),A(RH),A(MI))};
TV.\u0275cmp=Lc({type:TV,selectors:[["b-recaptcha"]],viewQuery:function(a,b){a&1&&Uf(Gqc,5);if(a&2){var c;Yf(c=Zf())&&(b.captchaContainer=c.first)}},outputs:{onUpdate:"onUpdate"},decls:2,vars:0,consts:[["captchaContainer",""]],template:function(a){a&1&&I(0,"div",null,0)},encapsulation:2});var Hqc=["dialog"],UV=function(a,b,c,d){Y.call(this);this.matDialog=a;this.activeSession=b;this.hotkeys=c;this.save=new zv;this.close=new zv;this.externalWarnings=[];this.issueEditBuilder=null;this.FocusableField=Iqc;this.enableRecaptcha=this.activeSession.userRequiresCaptcha()&&tE(this.activeSession,"enableBulkEditCaptchaUi");this.comment=new vK;var e;this.comment.formattingMode=Qi(null==(e=CE(d).textDisplayPreferences)?void 0:e.lastPublishMode);this.issueStates=H4b};X(UV,Y);UV.\u0275dir=Y.\u0275dir;
UV.prototype.showDialog=function(a,b,c){var d=this;this.issueEditBuilder=new nnc(this.activeSession.getUserEmail(),a);this.issueEditBuilder.comment=this.comment;b&&CWa(this.issueEditBuilder,b);this.focus=c;this.hotkeys.pause();this.matDialogRef=this.matDialog.open(this.dialog,{minWidth:512,maxWidth:512});this.matDialogRef.afterClosed().pipe(ef(this.destroyed$)).subscribe(function(e){d.hotkeys.unpause();e&&d.save.emit();d.close.emit()})};
UV.\u0275fac=function(a){return new (a||UV)(A(EA),A(nt),A(VM),A(BE))};
UV.\u0275cmp=Lc({type:UV,selectors:[["b-state-modal"]],viewQuery:function(a,b){a&1&&Uf(Hqc,5);if(a&2){var c;Yf(c=Zf())&&(b.dialog=c.first)}},inputs:{externalWarnings:"externalWarnings"},outputs:{save:"save",close:"close"},features:[nf],decls:2,vars:0,consts:[["dialog",""],["statusForm","ngForm"],["mat-dialog-title",""],["mat-dialog-content",""],["class","bv2-modal-form",4,"ngIf"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-dialog-actions",""],["type","button","mat-button","",1,"gmat-button",
"medium",3,"mat-dialog-close"],["type","submit","color","primary","mat-flat-button","",1,"gmat-button","medium","confirm",3,"mat-dialog-close","disabled"],[1,"bv2-modal-form"],["type","button","mat-button","",1,"gmat-button","medium","primary","status-select",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["statusMenu",""],["mat-menu-item","","type","button",3,"disabled","click"],["mat-menu-item","","type","button",3,"disabled","click",4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"],
["class","bv2-modal-text-field",4,"ngSwitchDefault"],["placeholder","Add a comment (optional)",3,"comment","showToolbar","onSubmit"],[1,"float-clear"],[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,"ngModel","bContactAutocomplete","ngModelChange"],["title","Clear verifiers",3,"click"],["type","text","name","verifier",3,"ngModel","required","bContactAutocomplete","ngModelChange"],["for","bv2-state-modal-issue-id",1,"bv2-top-field-label"],["type","text","name","duplicateOf",3,"ngModel","ngModelChange"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a){a&1&&C(0,QWa,14,5,"ng-template",null,0,jg)},dependencies:[hw,
dw,iw,jw,kw,FA,GA,HA,IA,Pw,Dg,Hw,Iw,$w,Ow,Mw,nA,yP,HC,FC,GC,hP,HV,TV,RV],encapsulation:2});var Iqc={ASSIGNEE:0,VERIFIER:1,COMMENT:2,DUPE_ID:3,0:"ASSIGNEE",1:"VERIFIER",2:"COMMENT",3:"DUPE_ID"};var ZXa={displayAs:"Open",queryAtom:"status:open",tooltip:'Issues that match "status:open"'};var Jqc=Ei(function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.voteCount)?c:0},Fi),Kqc=new Set([ZXa]),VV=function(a,b){this.issueFridge=a;this.similarIssuesApi=b;this.componentIdToRecentCanonicals=new Map},Lqc=function(a,b,c){c=void 0===c?Kqc:c;b={issueId:Number(b),scope:Pp.apply(null,[Qp("-id",b),Qp("modified","365d")].concat(r(Array.from(c).map(function(d){return d.queryAtom})))),scopeSortOrder:"vote_count desc"};return qE(a.similarIssuesApi,b)},Nqc=function(a,
b,c,d,e){c=void 0===c?Kqc:c;return b.trim()?"canonical"===d?(b={scope:Pp.apply(null,[Qp("-id",null==e?void 0:e.id),Qp("modified","365d")].concat(r(Array.from(c).map(function(f){return f.queryAtom})))),scopeSortOrder:"vote_count desc",keyword:b},qE(a.similarIssuesApi,b)):Mqc(a,b):(0,W.of)(void 0)};
VV.prototype.search=function(a,b,c,d){var e=this;if(!a.trim())return(0,W.of)(void 0);if("canonical"===b){b=Oqc(this,a,d);d=Pqc(this,d).pipe(df(function(h){return e.issueFridge.watchMany({filter:Pp(a,Qp("-id",null==c?void 0:c.id),Qp("status","open"),Qp("componentid",h)),pageSize:10})}),B(function(h){return null==h?void 0:h.results}));var f=this.issueFridge.watchMany({filter:Pp(a,Qp("-id",null==c?void 0:c.id)),pageSize:10,sort:"modified_time:desc"}).pipe(B(function(h){return null==h?void 0:h.results}),
cf([]));return(0,W.combineLatest)([b,d,f]).pipe(B(function(h){return zn(h.flat(),function(k){return k.issueId})}),B(function(h){return h.slice(0,10)}),B(function(h){return Jqc(h,"desc")}))}return Mqc(this,a)};
var Mqc=function(a,b){return a.issueFridge.watchMany({filter:b,pageSize:10}).pipe(B(function(c){return null==c?void 0:c.results}))},Oqc=function(a,b,c){return c?Qqc(a,c).pipe(df(function(d){return 0===d.length?(0,W.of)([]):a.issueFridge.watchMany({filter:Pp(b,Qp("id",d),Qp("status","open")),pageSize:10}).pipe(B(function(e){return null==e?void 0:e.results}))})):(0,W.of)([])},Qqc=function(a,b){if(!b)return(0,W.of)([]);if(a.componentIdToRecentCanonicals.has(b))return a.componentIdToRecentCanonicals.get(b);
var c=a.issueFridge.watchMany({filter:Pp(Qp("componentid",b,!0),Qp("status","duplicate")),sort:"modified_time:desc",pageSize:250}).pipe(B(function(d){return null==d?void 0:d.results}),B(function(d){return d.map(function(e){return e.snapshot[0].duplicateOfIssueId})}),B(function(d){return An(d.filter(Bi))}),af({bufferSize:1,refCount:!0}));a.componentIdToRecentCanonicals.set(b,c);return c},Pqc=function(a,b){return b?Qqc(a,b).pipe(df(function(c){return a.issueFridge.watchSet(c)}),B(function(c){return c.map(function(d){return d.snapshot[0].componentId})}),
B(function(c){return[b].concat(r(c.filter(Bi)))}),B(An),af({bufferSize:1,refCount:!0})):(0,W.of)([])};VV.\u0275fac=function(a){return new (a||VV)(p(UI),p(pE))};VV.\u0275prov=vc({token:VV,factory:VV.\u0275fac,providedIn:"root"});var WV=function(){};WV.\u0275fac=function(a){return new (a||WV)};WV.\u0275cmp=Lc({type:WV,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&&(Lf(),C(0,TWa,1,0,"div",0)(1,UWa,2,0,"ng-container",1));a&2&&(D("ngIf",!b.isReady),y(),D("ngIf",b.isReady))},dependencies:[dw],encapsulation:2});var XV=function(){this.mode="datetime";this.isDataLoaded=!1};XV.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};XV.\u0275fac=function(a){return new (a||XV)};
XV.\u0275cmp=Lc({type:XV,selectors:[["b-issue-created-time-cell"]],inputs:{issue:"issue",mode:"mode"},features:[ed],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[3,"mode","timestamp","paddingLeftPx",4,"ngIf","ngIfElse"],["noData",""],[3,"mode","timestamp","paddingLeftPx"]],template:function(a,b){a&1&&(E(0,"b-async-data-placeholder",0),C(1,VWa,1,3,"b-formatted-date-time",1),G(),C(2,WWa,1,0,"ng-template",null,2,jg));if(a&2){var c=Q(3);D("isReady",b.isDataLoaded);y();D("ngIf",b.createdTime)("ngIfElse",
c)}},dependencies:[WV,dw,AS],encapsulation:2,changeDetection:0});var YV=function(a,b,c,d){Y.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=yq};X(YV,Y);YV.\u0275dir=Y.\u0275dir;YV.prototype.copyIssueId=function(){this.clipboard.copy(this.issueId);Ks(this.butterBar,"Issue ID copied",2E3)};var Rp=function(a,b){a.clipboard.copy(b.value);a.trigger.close()};
YV.prototype.getIssueUrl=function(){return this.getAppBaseUrl(this.isExternalIssue)};YV.prototype.getAppBaseUrl=function(a){return JM(this.currentTracker,this.issueId,void 0,void 0===a?!1:a)};YV.\u0275fac=function(a){return new (a||YV)(A(nt),A(IM),A(LE),A(hG))};
YV.\u0275cmp=Lc({type:YV,selectors:[["b-issue-id-picker"]],viewQuery:function(a,b){a&1&&Uf(JS,5);if(a&2){var c;Yf(c=Zf())&&(b.trigger=c.first)}},inputs:{componentId:"componentId",issueId:"issueId",issueTitle:"issueTitle",isExternalIssue:"isExternalIssue",disabled:"disabled",enableHotkeys:"enableHotkeys",showCopyOptions:"showCopyOptions"},features:[nf],decls:4,vars:6,consts:[["matTooltip","Copy issue ID","matTooltipShowDelay","750","disableRipple","true",1,"unstyled","square-right","issue-id",3,"click"],
["svgIcon","copy","class","icon-xs invisible",4,"ngIf"],[4,"ngIf"],["svgIcon","copy",1,"icon-xs","invisible"],["matTooltip","Show links for this issue","onedevPopupPanelTrigger","","disableRipple","true",1,"unstyled","square-left",3,"onedevPopupPanelTriggerFor","hotkey","hotkeyEnabled","onHotkey","onedevPopupPanelTriggerOpened","onedevPopupPanelTriggerClosed","click"],["trigger","onedevPopupPanelTrigger"],["svgIcon","arrow-dropdown",1,"icon-xs"],["role","region"],["contentPanel","onedevPopupPanel"],
["class","issue-id-picker-popup","cdkTrapFocus","",3,"cdkTrapFocusAutoCapture",4,"ngIf"],["cdkTrapFocus","",1,"issue-id-picker-popup",3,"cdkTrapFocusAutoCapture"],[1,"id-details-row"],[3,"htmlFor"],["cdkFocusInitial","","type","text","readonly","","id","id-details-issue-id-field",1,"value",3,"hotkey","hotkeyEnabled","onHotkey","focus"],["issueIdField",""],["class","muted shortcut",4,"ngIf"],["mat-icon-button","","tabindex","-1","aria-label","Copy ID","matTooltip","Copy ID",1,"gmat-button","copy",
3,"hotkey","hotkeyEnabled","onHotkey","click"],["svgIcon","copy",1,"icon-s"],["class","id-details-row",4,"ngIf"],["type","text","readonly","","id","id-details-issue-url-field",1,"value",3,"hotkey","hotkeyEnabled","onHotkey","focus"],["issueUrlField",""],["mat-icon-button","","tabindex","-1","aria-label","Copy URL","matTooltip","Copy URL",1,"gmat-button","copy",3,"hotkey","hotkeyEnabled","onHotkey","click"],["type","text","readonly","","id","id-details-url-and-title-field",1,"value",3,"hotkey","hotkeyEnabled",
"onHotkey","focus"],["urlAndTitleField",""],["mat-icon-button","","tabindex","-1","aria-label","Copy text","matTooltip","Copy text",1,"gmat-button","copy",3,"hotkey","hotkeyEnabled","onHotkey","click"],[1,"muted","shortcut"],["type","text","readonly","","id","id-details-issue-shortlink-field",1,"value",3,"hotkey","hotkeyEnabled","onHotkey","focus"],["issueShortlinkField",""],["mat-icon-button","","tabindex","-1","aria-label","Copy shortlink","matTooltip","Copy shortlink",1,"gmat-button","copy",3,
"hotkey","hotkeyEnabled","onHotkey","click"],["type","text","readonly","","id","id-details-issue-email-field","matTooltip","Email this address to add comments to this issue",1,"value",3,"hotkey","hotkeyEnabled","onHotkey","focus"],["issueEmailField",""],["mat-icon-button","","tabindex","-1","aria-label","Copy email","matTooltip","Copy email",1,"gmat-button","copy",3,"hotkey","hotkeyEnabled","onHotkey","click"],["type","text","readonly","","id","id-details-todo-comment-field","matTooltip","TODO comment for code",
1,"value",3,"hotkey","hotkeyEnabled","onHotkey","focus"],["todoCommentField",""],["mat-icon-button","","tabindex","-1","aria-label","Copy comment","matTooltip","Copy comment",1,"gmat-button","copy",3,"hotkey","hotkeyEnabled","onHotkey","click"]],template:function(a,b){a&1&&(E(0,"button",0),M("click",function(){return b.copyIssueId()}),R(1),C(2,XWa,1,0,"mat-icon",1),G(),C(3,hXa,7,5,"ng-container",2));a&2&&(yf("square-right",b.showCopyOptions),pf("aria-label","Copy issue number "+b.issueId),y(),S(" ",
b.issueId," "),y(),D("ngIf",!b.showCopyOptions),y(),D("ngIf",b.showCopyOptions))},dependencies:[mx,dw,hB,XM,nA,PC,IS,JS],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 ZV=function(){};ZV.prototype.ngOnInit=function(){};ZV.prototype.onClick=function(a){a.stopPropagation()};ZV.\u0275fac=function(a){return new (a||ZV)};
ZV.\u0275cmp=Lc({type:ZV,selectors:[["b-issue-id-cell"]],hostBindings:function(a,b){a&1&&M("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&&(E(0,"b-async-data-placeholder",0),C(1,iXa,1,2,"b-issue-id-picker",1),G());a&2&&(D("isReady",!!b.id),y(),D("ngIf",b.id))},dependencies:[WV,dw,YV],encapsulation:2,changeDetection:0});var $V=function(){},Rqc=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""}};$V.\u0275fac=function(a){return new (a||$V)};
$V.\u0275cmp=Lc({type:$V,selectors:[["b-issue-priority-display"]],inputs:{issuePriority:"issuePriority"},decls:2,vars:2,consts:[[1,"p-chip",3,"ngClass"]],template:function(a,b){a&1&&(E(0,"span",0),R(1),G());a&2&&(D("ngClass",Rqc(b)),y(),a=b.issuePriority,S(" ",null==a?"--":E4b[a]," "))},dependencies:[gw],styles:["/*# sourceMappingURL=issue_priority_display.css.map */"],changeDetection:0});var aW=function(){this.priority=this.issue=null;this.isDataLoaded=!1};aW.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};aW.\u0275fac=function(a){return new (a||aW)};
aW.\u0275cmp=Lc({type:aW,selectors:[["b-issue-priority-cell"]],inputs:{issue:"issue"},features:[ed],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"],["noData",""],[3,"issuePriority"]],template:function(a,b){a&1&&(E(0,"b-async-data-placeholder",0),C(1,jXa,2,1,"ng-container",1)(2,kXa,1,0,"ng-template",null,2,jg),G());if(a&2){var c=Q(3);D("isReady",b.isDataLoaded);y();D("ngIf",b.priority)("ngIfElse",c)}},dependencies:[WV,dw,$V],encapsulation:2,changeDetection:0});var bW=function(){this.STATUS_JS_FULL_TEXT=mn;this.STATUS_JS_TERSE=C4b;this.issue=null;this.isDataLoaded=!1};bW.prototype.ngOnChanges=function(){var a,b;this.status=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.status)||void 0;this.isDataLoaded=null!==this.issue};bW.\u0275fac=function(a){return new (a||bW)};
bW.\u0275cmp=Lc({type:bW,selectors:[["b-issue-status-cell"]],inputs:{issue:"issue"},features:[ed],decls:4,vars:3,consts:[[3,"isReady"],[3,"class","title",4,"ngIf","ngIfElse"],["noData",""],[3,"title"]],template:function(a,b){a&1&&(E(0,"b-async-data-placeholder",0),C(1,lXa,2,5,"div",1)(2,mXa,1,0,"ng-template",null,2,jg),G());if(a&2){var c=Q(3);D("isReady",b.isDataLoaded);y();D("ngIf",b.status)("ngIfElse",c)}},dependencies:[WV,dw],encapsulation:2,changeDetection:0});var cW=function(a,b,c,d){this.activeSession=a;this.issueApi=b;this.analytics=c;this.errorHandler=d;this.onCc=new zv};cW.prototype.ngOnInit=function(){};
cW.prototype.toggle=function(){var a=this;kp(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)}))};cW.\u0275fac=function(a){return new (a||cW)(A(nt),A(PH),A(MI),A(AG))};
cW.\u0275cmp=Lc({type:cW,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&&(E(0,"button",0),M("click",function(){return b.toggle()}),C(1,nXa,2,0,"ng-container",1),R(2,"CC me\n"),G());a&2&&(y(),D("ngIf",b.ccState))},dependencies:[dw,nA],encapsulation:2});var dW=function(a,b){Y.call(this);this.errorHandler=a;this.issueFridge=b;this.upvoted=!1;this.voteCount=0;this.onVote=new zv;this.tooltip="Indicate that you are affected by this issue";this.isSaving=!1};X(dW,Y);dW.\u0275dir=Y.\u0275dir;
dW.prototype.onClick=function(){var a=this;if(null!=this.issueId&&!this.isSaving){var b=(this.upvoted=!this.upvoted)?1:-1;this.voteCount+=b;this.onVote.emit(this.upvoted);this.isSaving=!0;this.issueFridge.setVoted(String(this.issueId),this.upvoted).pipe(Ue(),ef(this.destroyed$)).subscribe(function(){a.isSaving=!1},function(c){a.isSaving=!1;a.errorHandler.errorHandler(null,c);a.upvoted=!a.upvoted;a.voteCount-=b})}};dW.\u0275fac=function(a){return new (a||dW)(A(AG),A(UI))};
dW.\u0275cmp=Lc({type:dW,selectors:[["b-app-vote-button"]],hostVars:2,hostBindings:function(a,b){a&2&&yf("no-votes",0>=b.voteCount)},inputs:{issueId:"issueId",upvoted:"upvoted",voteCount:"voteCount"},outputs:{onVote:"onVote"},features:[nf],decls:4,vars:5,consts:[["mat-button","",1,"gmat-button","small",3,"matTooltip","click"],["svgIcon","exposure_plus_1_24px",1,"icon-m"],[3,"title"]],template:function(a,b){a&1&&(E(0,"button",0),M("click",function(){return b.onClick()}),I(1,"mat-icon",1),E(2,"output",
2),R(3),G()());a&2&&(D("matTooltip",b.upvoted?"Remove vote: I am not impacted":"Vote: I am impacted"),pf("aria-pressed",b.upvoted)("aria-label","Vote count "+b.voteCount),y(2),Nf("title","",b.voteCount," votes on this issue"),y(),S(" ",99999<b.voteCount?"99999+":b.voteCount," "))},dependencies:[hB,nA,PC],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 DXa=function(){return[]},eW=function(a,b,c,d,e,f,h){Y.call(this);var k=this;this.issuesApi=a;this.cdr=b;this.activeSession=c;this.analytics=d;this.relationshipService=e;this.issueFridge=f;this.butterBar=h;this.STATUS_JS_FULL_TEXT=mn;this.ISSUE_PRIORITY_TEXT_JS=E4b;this.ISSUE_PRIORITY_ENUM=o1b;this.providedIssueId$=new W.ReplaySubject(1);this.issueFetchResponse$=this.providedIssueId$.pipe(df(function(q){return k.issuesApi.getIssue(q)}));this.editIssue=dn;this.FormattingMode=OD;this.enableNewVisibilityChips=
tE(this.activeSession,"enableNewVisibilityChips");this.init=new W.ReplaySubject(1)};X(eW,Y);eW.\u0275dir=Y.\u0275dir;eW.prototype.ngOnInit=function(){var a=this;this.providedIssueId$.next(this.issueId);this.issueFetchResponse$.pipe(ef(this.destroyed$)).subscribe(function(b){a.issue=b.issue;a.firstEvent=b.firstEvent;a.cdr.markForCheck();a.init.next()})};eW.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};
eW.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 CXa=function(a,b){return Hi(b).includes(a.activeSession.getUserEmail())},xXa=function(a,b){var c;return ke(function(d){if(1==d.nextAddress)return c=a.issueId,RG(a.issueFridge,b,function(e){var f=e.parentIssueIds.indexOf(c);0>f||(e.parentIssueIds.splice(f,1),Object.assign({},e))}),le(d,2,3),me(d,(0,W.firstValueFrom)(a.relationshipService.delete(c,"CHILD",b)),3);if(2!=d.nextAddress)return ne(d),a.issueFridge.poke(b),oe(d,0);pe(d);a.butterBar.showWarning("Error removing the parent issue.");return d.jumpTo(3)})};
eW.\u0275fac=function(a){return new (a||eW)(A(OH),A(EF,2),A(nt),A(MI),A(nJ),A(UI),A(hG))};
eW.\u0275cmp=Lc({type:eW,selectors:[["b-issue-card"]],inputs:{issueId:"issueId",location:"location",childContextId:"childContextId"},outputs:{init:"init"},features:[bg([EF]),nf],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"],[1,"priority-status"],[1,"bv2-priority",3,"ngClass"],[3,"ngSwitch",4,"ngIf"],[1,"issue-card-buttons","margin-y"],
[3,"issueId","ccState","onCc"],["class","bv2-issue-card-comment",4,"ngIf"],[3,"labelOnlyMode","accessLevel"],[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&&(E(0,"div",0),C(1,EXa,24,15,"ng-container",1),G());a&2&&(y(),D("ngIf",b.issue&&b.issue.snapshot[0]))},dependencies:[gw,dw,iw,jw,kw,zR,nA,PC,xT,AS,$M,dW,LV,cW],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 fW=function(){this.issue=null;this.useButtonToNavigate=!1;this.anchorTarget=void 0;this.enableHovercard=!1;this.title="";this.isDataLoaded=!1;this.link=""};fW.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:"")};
fW.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):dn(a)};fW.\u0275fac=function(a){return new (a||fW)};
fW.\u0275cmp=Lc({type:fW,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:[ed],decls:9,vars:7,consts:[[1,"title","title-location",3,"isReady"],[3,"trackerId","compactMode"],[4,"ngIf","ngIfElse"],["useLinkToNavigate",""],["class","b-chip s margin-s-left",3,"class","matTooltip",
4,"ngIf"],["issueHovercard","onedevHovercard"],[3,"issueId",4,"ngIf"],[1,"line-clamp-3"],["mat-icon-button","","tabindex","0","matTooltip","Open issue in a new tab","aria-label","Open issue",1,"small","visible-on-row-active","hover-link",3,"routerLink","target","matTooltipShowDelay","keydown","click"],["svgIcon","pop-out",1,"icon-s"],[1,"hover-link","line-clamp-3",3,"routerLink","target","onedevHovercardTrigger","onedevHovercardActive","keydown","click"],[1,"b-chip","s","margin-s-left",3,"matTooltip"],
[3,"issueId"]],template:function(a,b){a&1&&(E(0,"b-async-data-placeholder",0),I(1,"b-tracker-chip-smart",1),C(2,FXa,5,4,"ng-container",2)(3,GXa,2,5,"ng-template",null,3,jg)(5,HXa,2,6,"span",4),G(),E(6,"onedev-hovercard",null,5),C(8,IXa,1,1,"b-issue-card",6),G());if(a&2){var c=Q(4);D("isReady",b.isDataLoaded);y();D("trackerId",null==b.issue?null:b.issue.trackerId)("compactMode",!0);y();D("ngIf",b.useButtonToNavigate)("ngIfElse",c);y(3);D("ngIf",b.trailingChip);y(3);D("ngIf",b.issue)}},dependencies:[WV,
dw,hB,oA,PC,xF,DR,eW,LF,QF],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 gW=function(a,b){this.checker=a;this.document=b};gW.prototype.focusFirstFocusableElement=function(a){(a=Sqc(this,a,!0))&&a.focus()};var Sqc=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?Sqc(a,b[c]):null;if(d)return d}return null};gW.\u0275fac=function(a){return new (a||gW)(p(gx),p(Tg))};gW.\u0275prov=vc({token:gW,factory:gW.\u0275fac,providedIn:"root"});var hW=function(a,b){this.elementRef=a;this.interactivityHelper=b};hW.prototype.ngOnInit=function(){};hW.prototype.focus=function(){this.interactivityHelper.focusFirstFocusableElement(this.elementRef.nativeElement)};Vg.Object.defineProperties(hW.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this.elementRef.nativeElement}}});hW.\u0275fac=function(a){return new (a||hW)(A(Ad),A(gW))};hW.\u0275dir=Qc({type:hW,selectors:[["tr","row",""]],inputs:{row:"row"}});var iW=function(){};iW.\u0275fac=function(a){return new (a||iW)};iW.\u0275mod=Nc({type:iW});iW.\u0275inj=wc({});var Tqc=function(a,b){Rx.call(this,a);this.directives=a;this.isEqual=b};X(Tqc,Rx);var Up=function(a,b){var c;return ke(function(d){if(1==d.nextAddress)return me(d,(0,W.firstValueFrom)(a.directives.changes.pipe(cf(a.directives.toArray()),B(function(e){return e.find(function(f){return a.isEqual(f.row,b)})}),Ce(Boolean),Ee(3E3))),2);c=d.yieldResult;Px(a,c);qe(d)})};var Uqc=new Xc("GMAT_TABLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var jW=function(a){this.options=a};jW.\u0275fac=function(a){return new (a||jW)(A(Uqc))};jW.\u0275dir=Qc({type:jW,selectors:[["table","mat-table",""],["mat-table"]],hostVars:2,hostBindings:function(a,b){a&2&&yf("gmat-mdc-table",!b.options.disableGmatStyle)}});var Vqc=["input"],Wqc=["formField"],Xqc=0,Yqc=function(a,b){this.source=a;this.value=b},Zqc={provide:fw,useExisting:Cc(function(){return kW}),multi:!0},$qc=new Xc("MatRadioGroup"),arc=new Xc("mat-radio-default-options",{providedIn:"root",factory:JXa}),kW=function(a){this._changeDetector=a;this._value=null;this._name="mat-radio-group-"+Xqc++;this._selected=null;this._isInitialized=!1;this._labelPosition="after";this._required=this._disabled=!1;this._controlValueAccessorChangeFn=function(){};this.onTouched=
function(){};this.change=new zv};g=kW.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 Yqc(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()};
Vg.Object.defineProperties(kW.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()}}});
kW.\u0275fac=function(a){return new (a||kW)(A(Uu))};
kW.\u0275dir=Qc({type:kW,selectors:[["mat-radio-group"]],contentQueries:function(a,b,c){a&1&&Vf(c,lW,5);if(a&2){var d;Yf(d=Zf())&&(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",pg],required:[2,"required","required",pg]},outputs:{change:"change"},exportAs:["matRadioGroup"],standalone:!0,features:[bg([Zqc,{provide:$qc,useExisting:kW}]),of]});
var lW=function(a,b,c,d,e,f,h,k){this._elementRef=b;this._changeDetector=c;this._focusMonitor=d;this._radioDispatcher=e;this._providerOverride=h;this.id=this._uniqueId="mat-radio-"+ ++Xqc;this.disableRipple=!1;this.tabIndex=0;this.change=new zv;this._checked=!1;this._value=null;this._removeUniqueSelectionListener=function(){};this.radioGroup=a;this._noopAnimations="NoopAnimations"===f;k&&(this.tabIndex=qg(k,0))};g=lW.prototype;
g.focus=function(a,b){b?qx(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 Yqc(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)}};
Vg.Object.defineProperties(lW.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"}}});
lW.\u0275fac=function(a){return new (a||lW)(A($qc,8),A(Ad),A(Uu),A(px),A(ny),A(Su,8),A(arc,8),ud("tabindex"))};
lW.\u0275cmp=Lc({type:lW,selectors:[["mat-radio-button"]],viewQuery:function(a,b){a&1&&(Uf(Vqc,5),Uf(Wqc,7,Ad));if(a&2){var c;Yf(c=Zf())&&(b._inputElement=c.first);Yf(c=Zf())&&(b._rippleTrigger=c.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(a,b){a&1&&M("focus",function(){return b._inputElement.nativeElement.focus()});a&2&&(pf("id",b.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),yf("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",pg],tabIndex:[2,"tabIndex","tabIndex",function(a){return null==a?0:qg(a)}],checked:[2,"checked","checked",pg],value:"value",labelPosition:"labelPosition",
disabled:[2,"disabled","disabled",pg],required:[2,"required","required",pg],color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],standalone:!0,features:[of,dg],ngContentSelectors:["*"],decls:13,vars:16,consts:[["mat-internal-form-field","",3,"labelPosition"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[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){a&1&&(Lf(),E(0,"div",0,1)(2,"div",2)(3,"div",3),M("click",function(c){return b._onTouchTargetClick(c)}),G(),E(4,"input",4,5),M("change",function(c){return b._onInputInteraction(c)}),G(),E(6,"div",6),I(7,"div",7)(8,"div",8),G(),E(9,"div",9),I(10,
"div",10),G()(),E(11,"label",11),Mf(12),G()());a&2&&(D("labelPosition",b.labelPosition),y(2),yf("mdc-radio--disabled",b.disabled),y(2),D("id",b.inputId)("checked",b.checked)("disabled",b.disabled)("required",b.required),pf("name",b.name)("value",b.value)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby),y(5),D("matRippleTrigger",b._rippleTrigger.nativeElement)("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",!0),y(2),D("for",b.inputId))},
dependencies:[Sy,Ny],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 mW=new Xc("CDK_TABLE");new Xc("text-column-options");var nW=function(a){this.template=a};nW.\u0275fac=function(a){return new (a||nW)(A(Rf))};nW.\u0275dir=Qc({type:nW,selectors:[["","cdkCellDef",""]],standalone:!0});var oW=function(a){this.template=a};oW.\u0275fac=function(a){return new (a||oW)(A(Rf))};oW.\u0275dir=Qc({type:oW,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});var pW=function(a){this.template=a};pW.\u0275fac=function(a){return new (a||pW)(A(Rf))};pW.\u0275dir=Qc({type:pW,selectors:[["","cdkFooterCellDef",""]],standalone:!0});
var brc=KXa(function(){}),qW=function(a){var b=brc.call(this)||this;b._table=a;b._stickyEnd=!1;return b};X(qW,brc);qW.prototype._updateColumnCssClassName=function(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]};qW.prototype._setNameInput=function(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())};
Vg.Object.defineProperties(qW.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}},stickyEnd:{configurable:!0,enumerable:!0,get:function(){return this._stickyEnd},set:function(a){a!==this._stickyEnd&&(this._stickyEnd=a,this._hasStickyChanged=!0)}}});qW.\u0275fac=function(a){return new (a||qW)(A(mW,8))};
qW.\u0275dir=Qc({type:qW,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,b,c){a&1&&(Vf(c,nW,5),Vf(c,oW,5),Vf(c,pW,5));if(a&2){var d;Yf(d=Zf())&&(b.cell=d.first);Yf(d=Zf())&&(b.headerCell=d.first);Yf(d=Zf())&&(b.footerCell=d.first)}},inputs:{sticky:"sticky",name:[0,"cdkColumnDef","name"],stickyEnd:[2,"stickyEnd","stickyEnd",pg]},standalone:!0,features:[bg([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:qW}]),of,nf]});
var rW=function(a,b){b.nativeElement.classList.add.apply(b.nativeElement.classList,r(a._columnCssClassName))},sW=function(a,b){rW.call(this,a,b)};X(sW,rW);sW.\u0275fac=function(a){return new (a||sW)(A(qW),A(Ad))};sW.\u0275dir=Qc({type:sW,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[nf]});
var tW=function(a,b){rW.call(this,a,b);var c;(a=null==(c=a._table)?void 0:c._getCellRole())&&b.nativeElement.setAttribute("role",a)};X(tW,rW);tW.\u0275fac=function(a){return new (a||tW)(A(qW),A(Ad))};tW.\u0275dir=Qc({type:tW,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[nf]});var uW=function(a,b){rW.call(this,a,b);var c;(a=null==(c=a._table)?void 0:c._getCellRole())&&b.nativeElement.setAttribute("role",a)};X(uW,rW);
uW.\u0275fac=function(a){return new (a||uW)(A(qW),A(Ad))};uW.\u0275dir=Qc({type:uW,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[nf]});var crc=function(){this.tasks=[];this.endTasks=[]},drc=new Xc("_COALESCED_STYLE_SCHEDULER"),vW=function(a){this._ngZone=a;this._currentSchedule=null;this._destroyed=new W.Subject};vW.prototype.schedule=function(a){this._createScheduleIfNeeded();this._currentSchedule.tasks.push(a)};vW.prototype.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};
vW.prototype._createScheduleIfNeeded=function(){var a=this;this._currentSchedule||(this._currentSchedule=new crc,this._getScheduleObservable().pipe(ef(this._destroyed)).subscribe(function(){for(;a._currentSchedule.tasks.length||a._currentSchedule.endTasks.length;){var b=a._currentSchedule;a._currentSchedule=new crc;for(var c=l(b.tasks),d=c.next();!d.done;d=c.next())d=d.value,d();b=l(b.endTasks);for(c=b.next();!c.done;c=b.next())c=c.value,c()}a._currentSchedule=null}))};
vW.prototype._getScheduleObservable=function(){return this._ngZone.isStable?(0,W.from)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Ue())};vW.\u0275fac=function(a){return new (a||vW)(p(Ge))};vW.\u0275prov=vc({token:vW,factory:vW.\u0275fac});var wW=function(a,b){this.template=a;this._differs=b};wW.prototype.ngOnChanges=function(a){this._columnsDiffer||(a=a.columns&&a.columns.currentValue||[],this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a))};wW.\u0275fac=function(a){return new (a||wW)(A(Rf),A(Wu))};wW.\u0275dir=Qc({type:wW,features:[ed]});var erc=function(){wW.apply(this,arguments)};X(erc,wW);erc.\u0275dir=wW.\u0275dir;erc.\u0275fac=wW.\u0275fac;
var frc=KXa(erc),xW=function(a,b,c){a=frc.call(this,a,b)||this;a._table=c;return a};X(xW,frc);xW.prototype.ngOnChanges=function(a){frc.prototype.ngOnChanges.call(this,a)};xW.\u0275fac=function(a){return new (a||xW)(A(Rf),A(Wu),A(mW,8))};xW.\u0275dir=Qc({type:xW,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[0,"cdkHeaderRowDefSticky","sticky"]},standalone:!0,features:[nf,ed]});var grc=function(){wW.apply(this,arguments)};X(grc,wW);grc.\u0275dir=wW.\u0275dir;
grc.\u0275fac=wW.\u0275fac;var hrc=KXa(grc),yW=function(a,b,c){a=hrc.call(this,a,b)||this;a._table=c;return a};X(yW,hrc);yW.prototype.ngOnChanges=function(a){hrc.prototype.ngOnChanges.call(this,a)};yW.\u0275fac=function(a){return new (a||yW)(A(Rf),A(Wu),A(mW,8))};yW.\u0275dir=Qc({type:yW,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[0,"cdkFooterRowDefSticky","sticky"]},standalone:!0,features:[nf,ed]});
var zW=function(a,b,c){wW.call(this,a,b);this._table=c};X(zW,wW);zW.\u0275fac=function(a){return new (a||zW)(A(Rf),A(Wu),A(mW,8))};zW.\u0275dir=Qc({type:zW,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[nf]});var AW=function(a){this._viewContainer=a;irc=this};AW.prototype.ngOnDestroy=function(){irc===this&&(irc=null)};var irc=null;AW.\u0275fac=function(a){return new (a||AW)(A(Sf))};
AW.\u0275dir=Qc({type:AW,selectors:[["","cdkCellOutlet",""]],standalone:!0});var BW=function(){};BW.\u0275fac=function(a){return new (a||BW)};BW.\u0275cmp=Lc({type:BW,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[dg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Gf(0,0)},dependencies:[AW],encapsulation:2});var CW=function(){};CW.\u0275fac=function(a){return new (a||CW)};
CW.\u0275cmp=Lc({type:CW,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],standalone:!0,features:[dg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Gf(0,0)},dependencies:[AW],encapsulation:2});var DW=function(){};DW.\u0275fac=function(a){return new (a||DW)};
DW.\u0275cmp=Lc({type:DW,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[dg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Gf(0,0)},dependencies:[AW],encapsulation:2});var EW=function(a){this.templateRef=a;this._contentClassName="cdk-no-data-row"};EW.\u0275fac=function(a){return new (a||EW)(A(Rf))};EW.\u0275dir=Qc({type:EW,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});var jrc=new Xc("CDK_SPL");var krc=["top","bottom","left","right"],lrc=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"}},mrc=function(a,b,c){var d=[];b=l(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=l(d),k=h.next();!k.done;k=h.next())a._removeStickyStyle(k.value,c)})},nrc=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 k=a._getStickyStartColumnPositions(f,
c),q=a._getStickyEndColumnPositions(f,d),t=c.lastIndexOf(!0),w=d.indexOf(!0),z="rtl"===a.direction,F=z?"right":"left";z=z?"left":"right";for(var J=l(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,F,k[O],O===t);d[O]&&a._addStickyStyle(P,z,q[O],O===w)}}a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:-1===t?[]:f.slice(0,t+1).map(function(U,Z){return c[Z]?U:null})}),a._positionListener.stickyEndColumnsUpdated({sizes:-1===
w?[]:f.slice(w).map(function(U,Z){return d[Z+w]?U:null}).reverse()}))}):a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:[]}),a._positionListener.stickyEndColumnsUpdated({sizes:[]}))},orc=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=[],k=[],q=[],t=0,w=0;t<e.length;t++)if(f[t]){h[t]=w;var z=e[t];q[t]=a._isNativeHtmlTable?Array.from(z.children):[z];z=z.getBoundingClientRect().height;
w+=z;k[t]=z}t=f.lastIndexOf(!0);for(w=0;w<e.length;w++)if(f[w]){z=h[w];for(var F=w===t,J=l(q[w]),H=J.next();!H.done;H=J.next())a._addStickyStyle(H.value,d,z,F)}if("top"===d){var O;null==(O=a._positionListener)||O.stickyHeaderRowsUpdated({sizes:k,offsets:h,elements:q})}else{var P;null==(P=a._positionListener)||P.stickyFooterRowsUpdated({sizes:k,offsets:h,elements:q})}})},prc=function(a,b,c){a._isNativeHtmlTable&&a._coalescedStyleScheduler.schedule(function(){var d=b.querySelector("tfoot");c.some(function(e){return!e})?
a._removeStickyStyle(d,["bottom"]):a._addStickyStyle(d,"bottom",0,!1)})};g=lrc.prototype;g._removeStickyStyle=function(a,b){for(var c=l(b),d=c.next();!d.done;d=c.next())d=d.value,a.style[d]="",a.classList.remove(this._borderCellCss[d]);krc.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=l(krc),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 qrc=[[["caption"]],[["colgroup"],["col"]],"*"],FW=function(a,b){this.viewContainer=a;this.elementRef=b;a=Gc(mW);a._rowOutlet=this;a._outletAssigned()};FW.\u0275fac=function(a){return new (a||FW)(A(Sf),A(Ad))};FW.\u0275dir=Qc({type:FW,selectors:[["","rowOutlet",""]],standalone:!0});var GW=function(a,b){this.viewContainer=a;this.elementRef=b;a=Gc(mW);a._headerRowOutlet=this;a._outletAssigned()};GW.\u0275fac=function(a){return new (a||GW)(A(Sf),A(Ad))};
GW.\u0275dir=Qc({type:GW,selectors:[["","headerRowOutlet",""]],standalone:!0});var HW=function(a,b){this.viewContainer=a;this.elementRef=b;a=Gc(mW);a._footerRowOutlet=this;a._outletAssigned()};HW.\u0275fac=function(a){return new (a||HW)(A(Sf),A(Ad))};HW.\u0275dir=Qc({type:HW,selectors:[["","footerRowOutlet",""]],standalone:!0});var IW=function(a,b){this.viewContainer=a;this.elementRef=b;a=Gc(mW);a._noDataRowOutlet=this;a._outletAssigned()};IW.\u0275fac=function(a){return new (a||IW)(A(Sf),A(Ad))};
IW.\u0275dir=Qc({type:IW,selectors:[["","noDataRowOutlet",""]],standalone:!0});
var JW=function(a,b,c,d,e,f,h,k,q,t,w,z){this._differs=a;this._changeDetectorRef=b;this._elementRef=c;this._dir=e;this._platform=h;this._viewRepeater=k;this._coalescedStyleScheduler=q;this._viewportRuler=t;this._stickyPositioningListener=w;this._ngZone=z;this._onDestroy=new W.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._hasRendered=this._isShowingNoDataRow=!1;this._cellRoleInternal=void 0;this._fixedLayout=this._multiTemplateDataRows=!1;this.contentChanged=new zv;d||c.nativeElement.setAttribute("role","table");this._document=f;this._isServer=!h.isBrowser;this._isNativeHtmlTable="TABLE"===c.nativeElement.nodeName};g=JW.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(ef(this._onDestroy)).subscribe(function(){a._forceRecalculateCellWidths=!0})};g.ngAfterContentChecked=function(){this._hasRendered&&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();
woa(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;uSb(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();CPb(b,function(d){c.get(d.currentIndex).context.$implicit=d.item.data});this._updateNoDataRow();this._ngZone&&vQb()?this._ngZone.onStable.pipe(Ue(),
ef(this._onDestroy)).subscribe(function(){KW(a)}):KW(this)}else this._updateNoDataRow();this.contentChanged.next()};
var rrc=function(a){var b=a._getRenderedRows(a._headerRowOutlet);if(a._isNativeHtmlTable){var c=PXa(a._headerRowOutlet,"thead");c&&(c.style.display=b.length?"":"none")}c=a._headerRowDefs.map(function(d){return d.sticky});mrc(a._stickyStyler,b,["top"]);orc(a._stickyStyler,b,c,"top");a._headerRowDefs.forEach(function(d){return d.resetStickyChanged()})},src=function(a){var b=a._getRenderedRows(a._footerRowOutlet);if(a._isNativeHtmlTable){var c=PXa(a._footerRowOutlet,"tfoot");c&&(c.style.display=b.length?
"":"none")}c=a._footerRowDefs.map(function(d){return d.sticky});mrc(a._stickyStyler,b,["bottom"]);orc(a._stickyStyler,b,c,"bottom");prc(a._stickyStyler,a._elementRef.nativeElement,c);a._footerRowDefs.forEach(function(d){return d.resetStickyChanged()})},KW=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)mrc(a._stickyStyler,[].concat(r(b),r(c),
r(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=JW.prototype;
g._outletAssigned=function(){!this._hasRendered&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasRendered=!0,this._render())};
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&&KW(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();OXa(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=OXa(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs);this._footerRowDefs=OXa(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs);this._rowDefs=OXa(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=[];woa(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;woa(this.dataSource)?b=this.dataSource.connect(this):(0,W.isObservable)(this.dataSource)?b=this.dataSource:Array.isArray(this.dataSource)&&(b=(0,W.of)(this.dataSource));this._renderChangeSubscription=b.pipe(ef(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)});rrc(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)});src(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});nrc(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=l(this._getCellTemplates(a));for(var c=a.next();!c.done;c=a.next())c=c.value,irc&&irc._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 xW?c.headerCell.template:a instanceof yW?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)&&rrc(this);this._footerRowDefs.reduce(a,!1)&&src(this);Array.from(this._columnDefsByName.values()).reduce(a,!1)&&(this._stickyColumnStylesNeedReset=!0,KW(this))};
g._setupStickyStyler=function(){var a=this;this._stickyStyler=new lrc(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,W.of)()).pipe(ef(this._onDestroy)).subscribe(function(b){a._stickyStyler.direction=b;KW(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()}}};
Vg.Object.defineProperties(JW.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(),KW(this))}},fixedLayout:{configurable:!0,enumerable:!0,get:function(){return this._fixedLayout},set:function(a){this._fixedLayout=a;this._stickyColumnStylesNeedReset=this._forceRecalculateCellWidths=!0}}});JW.\u0275fac=function(a){return new (a||JW)(A(Wu),A(Uu),A(Ad),ud("role"),A(ay,8),A(Tg),A(fx),A(sSb),A(drc),A(oy),A(jrc,12),A(Ge,8))};
JW.\u0275cmp=Lc({type:JW,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,b,c){a&1&&(Vf(c,EW,5),Vf(c,qW,5),Vf(c,zW,5),Vf(c,xW,5),Vf(c,yW,5));if(a&2){var d;Yf(d=Zf())&&(b._noDataRow=d.first);Yf(d=Zf())&&(b._contentColumnDefs=d);Yf(d=Zf())&&(b._contentRowDefs=d);Yf(d=Zf())&&(b._contentHeaderRowDefs=d);Yf(d=Zf())&&(b._contentFooterRowDefs=d)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(a,b){a&2&&yf("cdk-table-fixed-layout",b.fixedLayout)},inputs:{trackBy:"trackBy",
dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",pg],fixedLayout:[2,"fixedLayout","fixedLayout",pg]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[bg([{provide:mW,useExisting:JW},{provide:sSb,useClass:tSb},{provide:drc,useClass:vW},{provide:jrc,useValue:null}]),of,dg],ngContentSelectors:["caption","colgroup, col","*"],decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",
""],["footerRowOutlet",""]],template:function(a,b){a&1&&(Lf(qrc),Mf(0),Mf(1,1),C(2,LXa,1,0)(3,MXa,7,0)(4,NXa,4,0));a&2&&(y(2),Cf(2,b._isServer?2:-1),y(),Cf(3,b._isNativeHtmlTable?3:4))},dependencies:[GW,FW,IW,HW],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2});var LW=function(){};LW.\u0275fac=function(a){return new (a||LW)};LW.\u0275mod=Nc({type:LW});LW.\u0275inj=wc({imports:[qy]});var MW=function(){nW.apply(this,arguments)};X(MW,nW);MW.\u0275fac=function(){var a;return function(b){return(a||(a=zd(MW)))(b||MW)}}();MW.\u0275dir=Qc({type:MW,selectors:[["","matCellDef",""]],standalone:!0,features:[bg([{provide:nW,useExisting:MW}]),nf]});var NW=function(){oW.apply(this,arguments)};X(NW,oW);NW.\u0275fac=function(){var a;return function(b){return(a||(a=zd(NW)))(b||NW)}}();
NW.\u0275dir=Qc({type:NW,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[bg([{provide:oW,useExisting:NW}]),nf]});var OW=function(){pW.apply(this,arguments)};X(OW,pW);OW.\u0275fac=function(){var a;return function(b){return(a||(a=zd(OW)))(b||OW)}}();OW.\u0275dir=Qc({type:OW,selectors:[["","matFooterCellDef",""]],standalone:!0,features:[bg([{provide:pW,useExisting:OW}]),nf]});var PW=function(){return qW.apply(this,arguments)||this};X(PW,qW);
PW.prototype._updateColumnCssClassName=function(){qW.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};Vg.Object.defineProperties(PW.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});PW.\u0275fac=function(){var a;return function(b){return(a||(a=zd(PW)))(b||PW)}}();
PW.\u0275dir=Qc({type:PW,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:[0,"matColumnDef","name"]},standalone:!0,features:[bg([{provide:qW,useExisting:PW},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:PW}]),nf]});var QW=function(){sW.apply(this,arguments)};X(QW,sW);QW.\u0275fac=function(){var a;return function(b){return(a||(a=zd(QW)))(b||QW)}}();
QW.\u0275dir=Qc({type:QW,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[nf]});var RW=function(){tW.apply(this,arguments)};X(RW,tW);RW.\u0275fac=function(){var a;return function(b){return(a||(a=zd(RW)))(b||RW)}}();RW.\u0275dir=Qc({type:RW,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],standalone:!0,features:[nf]});
var SW=function(){uW.apply(this,arguments)};X(SW,uW);SW.\u0275fac=function(){var a;return function(b){return(a||(a=zd(SW)))(b||SW)}}();SW.\u0275dir=Qc({type:SW,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[nf]});var TW=function(){return xW.apply(this,arguments)||this};X(TW,xW);TW.\u0275fac=function(){var a;return function(b){return(a||(a=zd(TW)))(b||TW)}}();TW.\u0275dir=Qc({type:TW,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[0,"matHeaderRowDefSticky","sticky"]},standalone:!0,features:[bg([{provide:xW,useExisting:TW}]),nf]});var UW=function(){return yW.apply(this,arguments)||this};X(UW,yW);
UW.\u0275fac=function(){var a;return function(b){return(a||(a=zd(UW)))(b||UW)}}();UW.\u0275dir=Qc({type:UW,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[0,"matFooterRowDefSticky","sticky"]},standalone:!0,features:[bg([{provide:yW,useExisting:UW}]),nf]});var VW=function(){zW.apply(this,arguments)};X(VW,zW);VW.\u0275fac=function(){var a;return function(b){return(a||(a=zd(VW)))(b||VW)}}();
VW.\u0275dir=Qc({type:VW,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[bg([{provide:zW,useExisting:VW}]),nf]});var WW=function(){};X(WW,BW);WW.\u0275fac=function(){var a;return function(b){return(a||(a=zd(WW)))(b||WW)}}();
WW.\u0275cmp=Lc({type:WW,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:[bg([{provide:BW,useExisting:WW}]),nf,dg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Gf(0,0)},dependencies:[AW],encapsulation:2});var XW=function(){};X(XW,CW);XW.\u0275fac=function(){var a;return function(b){return(a||(a=zd(XW)))(b||XW)}}();
XW.\u0275cmp=Lc({type:XW,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:[bg([{provide:CW,useExisting:XW}]),nf,dg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Gf(0,0)},dependencies:[AW],encapsulation:2});var YW=function(){};X(YW,DW);YW.\u0275fac=function(){var a;return function(b){return(a||(a=zd(YW)))(b||YW)}}();
YW.\u0275cmp=Lc({type:YW,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[bg([{provide:DW,useExisting:YW}]),nf,dg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Gf(0,0)},dependencies:[AW],encapsulation:2});var ZW=function(){EW.apply(this,arguments);this._contentClassName="mat-mdc-no-data-row"};X(ZW,EW);
ZW.\u0275fac=function(){var a;return function(b){return(a||(a=zd(ZW)))(b||ZW)}}();ZW.\u0275dir=Qc({type:ZW,selectors:[["ng-template","matNoDataRow",""]],standalone:!0,features:[bg([{provide:EW,useExisting:ZW}]),nf]});var trc=[[["caption"]],[["colgroup"],["col"]],"*"],$W=function(){JW.apply(this,arguments);this.stickyCssClass="mat-mdc-table-sticky";this.needsPositionStickyOnElement=!1};X($W,JW);$W.\u0275fac=function(){var a;return function(b){return(a||(a=zd($W)))(b||$W)}}();
$W.\u0275cmp=Lc({type:$W,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(a,b){a&2&&yf("mdc-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[bg([{provide:JW,useExisting:$W},{provide:mW,useExisting:$W},{provide:drc,useClass:vW},{provide:sSb,useClass:tSb},{provide:jrc,useValue:null}]),nf,dg],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&&(Lf(trc),Mf(0),Mf(1,1),C(2,QXa,1,0)(3,RXa,7,0)(4,SXa,4,0));a&2&&(y(2),Cf(2,b._isServer?2:-1),y(),Cf(3,b._isNativeHtmlTable?3:4))},dependencies:[GW,FW,IW,HW],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 urc=["searchInput"],vrc={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1},wrc={SIMILAR_ISSUES:"Similar issues",SEARCH_RESULTS:"Search results",SEMANTIC_SEARCH_RESULTS:"Semantic search results",ISSUE_IDS:"Issue IDs"},xrc={},yrc=(xrc["Similar issues"]="similar",xrc["Search results"]="exact",xrc["Semantic search results"]="semantic",xrc["Issue IDs"]="id",xrc),zrc={SEMANTIC_SEARCH:"Smart search",EXACT_MATCH:"Exact match"},aX=function(a,b,c,d,e,f,h,k){Y.call(this);var q=this;this.dialogRef=
a;this.initialData=b;this.issueFridge=c;this.issuePickerSearchService=d;this.analytics=e;this.activeSession=f;this.componentFridge=h;this.teamFridge=k;this.isSimilarIssuesUiEnabled=tE(this.activeSession,"enableEmbeddedSimilarIssuesUi")&&this.activeSession.isInternalSession();this.data=Object.assign({},vrc,this.initialData);var t;this.currentComponentId=null!=(t=this.data.componentId)?t:void 0;this.currentIssueId$=(0,W.defer)(function(){var w;return"issue"===(null==(w=q.data.currentResource)?void 0:
w.type)?(0,W.of)(q.data.currentResource.id):W.NEVER});this.currentIssue$=this.currentIssueId$.pipe(df(this.issueFridge.watch),af({bufferSize:1,refCount:!0}));this.team$=this.currentIssue$.pipe(Ce(function(w){return!!(w&&w.aggregatedData&&w.aggregatedData.teamId)}),df(function(w){return q.teamFridge.watch(w.aggregatedData.teamId)}),af({bufferSize:1,refCount:!0}));this.component$=this.componentFridge.watch(this.currentComponentId);this.selectedIssues=new XK;this.tableColumns="single-selection title id priority status duplicateCount votes createdTime".split(" ");
this.issueUrlFactory=dn;this.trackByIssueId=function(w,z){return z.issueId};this.searchText$=new W.BehaviorSubject("");this.searchTextTrimmed$=this.searchText$.pipe(B(function(w){return w.trim()}),Te());this.idsInSearchText$=this.searchTextTrimmed$.pipe(B(rFa),B(An),Te(Th));this.issuesWithIdMatches$=this.idsInSearchText$.pipe(df(function(w){return q.issueFridge.watchSet(w)}),ff(function(){q.isLoading=!1}));this.openFilter=ZXa;this.teamFilter=this.componentFilter=void 0;this.includeDescendants=!1;
this.selectedFilters$=new XK([this.openFilter]);this.similarIssues$=(0,W.combineLatest)([this.currentIssue$.pipe(Ce(Bi)),this.selectedFilters$.value$,this.searchTextTrimmed$]).pipe(Ce(function(){return q.isSimilarIssuesUiEnabled}),Ce(function(w){w=l(w);w.next();w.next();return""===w.next().value}),ff(function(){q.isLoading=!0}),df(function(w){var z=l(w);w=z.next().value;z=z.next().value;return Lqc(q.issuePickerSearchService,w.issueId,z)}),ff(function(){q.isLoading=!1}),af({bufferSize:1,refCount:!0}));
this.SearchSource=zrc;this.selectedSearchSource$=new W.BehaviorSubject(this.isSimilarIssuesUiEnabled?"Smart search":"Exact match");this.searchResults$=(0,W.combineLatest)([this.searchTextTrimmed$.pipe(ff(function(){q.isLoading=!0}),Re(200)),this.selectedFilters$.value$.pipe(ff(function(){q.isLoading=!0})),this.selectedSearchSource$]).pipe(df(function(w){w=l(w);var z=w.next().value,F=w.next().value;return"Smart search"===w.next().value?(kp(q.analytics,"assistive-issue-picker","semantic-search-"+q.data.edgeType),
Nqc(q.issuePickerSearchService,z,F,q.data.edgeType,q.data.currentResource)):q.issuePickerSearchService.search(z,q.data.edgeType,q.data.currentResource,q.currentComponentId)}),ff(function(){q.isLoading=!1}),af({bufferSize:1,refCount:!0}));this.idsToAutoSelect$=this.issuesWithIdMatches$.pipe(B(function(w){return 1!==w.length||4>w[0].issueId.length?[]:[w[0].issueId]}),Te(Th));this.TableDataSource=wrc;this.tableDataSource="Search results";this.issues$=(0,W.combineLatest)([this.searchTextTrimmed$,this.idsToAutoSelect$,
this.similarIssues$.pipe(cf([])),this.selectedSearchSource$]).pipe(df(function(w){var z=l(w);w=z.next().value;var F=z.next().value,J=z.next().value;z=z.next().value;return F.length?(q.tableDataSource="Issue IDs",q.issuesWithIdMatches$):w?(q.tableDataSource="Smart search"===z?"Semantic search results":"Search results",q.searchResults$):(null==J?0:J.length)?(q.tableDataSource="Similar issues",q.similarIssues$):(0,W.of)(void 0)}),Te());this.correctedDisplayedRows=new Tf;this.isLoading=!1};X(aX,Y);
aX.\u0275dir=Y.\u0275dir;
aX.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.idsToAutoSelect$.subscribe(function(b){a.selectedIssues.reset(b)}));this.subscriptions.add(this.component$.pipe(Ue()).subscribe(function(b){b&&(a.componentFilter=SWa(b,!1),a.selectedScopeFilter=a.componentFilter,a.selectedFilters$.add(a.componentFilter))}));this.subscriptions.add(this.team$.pipe(Ue()).subscribe(function(b){b&&(a.teamFilter=RWa(b,!1))}));"canonical"===this.data.edgeType&&this.subscriptions.add(Qqc(this.issuePickerSearchService,this.currentComponentId).subscribe())};
aX.prototype.ngAfterViewInit=function(){this.focusManager=Ox(new Tqc(this.correctedDisplayedRows,function(a,b){return a.issueId===b.issueId}))};
var WXa=function(a,b){if(a.componentFilter&&a.teamFilter&&a.selectedScopeFilter!==b){a.selectedScopeFilter=b;var c=new Set(om(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)}},tYa=function(a,b){var c,d;return ke(function(e){if(1==e.nextAddress)return me(e,mp(),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(Bi);
a.correctedDisplayedRows.reset(d);Xf(a.correctedDisplayedRows);qe(e)})};aX.prototype.onPressConfirm=function(){var a=this,b,c;return ke(function(d){if(!a.selectedIssues.size)return d.return();b=[].concat(r(a.selectedIssues));c={selectedIssueIds:b};a.dialogRef.close(c);Arc(a,b[0]);return me(d,Brc(a,b[0]),0)})};aX.prototype.onPressCancel=function(){this.dialogRef.close()};aX.prototype.selectIssue=function(a){this.selectedIssues.reset([a])};
aX.prototype.onRowKeydown=function(a,b,c){if(0===a&&"ArrowUp"===c.key)this.inputEl.nativeElement.focus(),c.preventDefault();else this.focusManager.onKeydown(c)};
var Brc=function(a,b){var c,d;return ke(function(e){if(1==e.nextAddress)return me(e,Crc(a,b),2);c=e.yieldResult;d=yrc[a.tableDataSource];kp(a.analytics,"assistive-issue-picker","picked-c-"+a.data.edgeType,c?d+"-hit":d+"-miss",c?1:0);qe(e)})},Arc=function(a,b){if(a.isSimilarIssuesUiEnabled){var c,d=(null!=(c=om(a.similarIssues$))?c:[]).map(function(e){return e.issueId});c=yrc[a.tableDataSource];b=d.includes(b);kp(a.analytics,"assistive-issue-picker","hit-rate-"+a.data.edgeType,b?c+"-hit":c+"-miss",
b?1:0)}},Crc=function(a,b){var c,d;return ke(function(e){if(1==e.nextAddress){if("canonical"!==a.data.edgeType)return e.return(!1);c=Set;return me(e,(0,W.firstValueFrom)(Qqc(a.issuePickerSearchService,a.currentComponentId)),2)}d=new c(e.yieldResult);return e.return(d.has(b))})};aX.\u0275fac=function(a){return new (a||aX)(A(BA),A(DA),A(UI),A(VV),A(MI),A(nt),A(oH),A(VJ))};
aX.\u0275cmp=Lc({type:aX,selectors:[["assistive-issue-picker-dialog"]],viewQuery:function(a,b){a&1&&(Uf(urc,5),Uf(hW,5));if(a&2){var c;Yf(c=Zf())&&(b.inputEl=c.first);Yf(c=Zf())&&(b.displayedRows=c)}},hostBindings:function(a,b){a&1&&M("keydown.control.enter",function(){return b.onPressConfirm()})("keydown.meta.enter",function(){return b.onPressConfirm()})},features:[nf],decls:23,vars:16,consts:[["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"],["svgIcon","search",1,"icon-m"],["placeholder","Search by title, contents, or id",3,"keydown.arrowdown","input"],["searchInput",""],["class","padded-s",3,"value","selectionChange",4,"ngIf"],[4,"ngIf"],["class","center-text padded",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,"disabled","click"],[1,"heading","flex-kids-y","gap-s","border-bottom","padded-bottom","margin-s-bottom"],[1,"type-xs"],[1,"heading-s","line-clamp-3"],[1,"padded-s",3,"value","selectionChange"],["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"],["teamComponentMenu","matMenu"],["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"],["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,"matMenuTriggerFor","keydown.enter","keyup.space"],["menuTrigger",
"matMenuTrigger"],["matChipTrailingIcon","","svgIcon","arrow-dropdown"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"matTooltip","click"],["svgIcon","done"],[1,"center-text","padded"],["ariaLabel","Loading results",1,"margined","inline-block"],["mat-dialog-content",""],["mat-table","","class","full-width",3,"dataSource","trackBy","contentChanged",4,"ngIf"],["mat-table","",1,"full-width",3,"dataSource","trackBy","contentChanged"],["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"],[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","relativepast",3,"issue"],["mat-header-row",""],["mat-row","",1,"clickable",3,"row","keydown","keydown.enter","focusin","click"],[1,"margined","inline-block"]],template:function(a,b){if(a&1){var c=u();E(0,"div",0);C(1,TXa,5,1,"div",1);T(2,"async");E(3,"div",2);I(4,"mat-icon",3);E(5,"span");R(6,"Close as duplicate of:");G()();E(7,"header",4);I(8,
"mat-icon",5);E(9,"input",6,7);M("keydown.arrowdown",function(){return b.focusManager.setActiveItem(0)})("input",function(){v(c);var d=Q(10);return x(b.searchText$.next(d.value))});G();C(11,UXa,6,7,"mat-select",8);G();C(12,$Xa,15,8,"ng-container",9);T(13,"async");G();C(14,aYa,2,0,"div",10)(15,wYa,4,2,"ng-container",9);T(16,"async");E(17,"div",11)(18,"button",12);M("click",function(){return b.onPressCancel()});R(19," Cancel ");G();E(20,"button",13);M("click",function(){return b.onPressConfirm()});
T(21,"async");R(22," Close as duplicate ");G()()}a&2&&(y(),D("ngIf",V(2,8,b.currentIssue$)),y(8),yf("additional-padding-right",b.isSimilarIssuesUiEnabled),y(2),D("ngIf",b.isSimilarIssuesUiEnabled),y(),D("ngIf",b.isSimilarIssuesUiEnabled&&V(13,10,b.selectedSearchSource$)===b.SearchSource.SEMANTIC_SEARCH&&b.tableDataSource!==b.TableDataSource.ISSUE_IDS),y(2),D("ngIf",b.isLoading),y(),D("ngIf",V(16,12,b.issues$)),y(5),D("disabled",!V(21,14,b.selectedIssues.size$)))},dependencies:[dw,hB,nP,tP,sP,rP,XV,
ZV,aW,bW,fW,nA,GA,HA,IA,HC,FC,GC,kW,lW,pN,qA,jW,$W,NW,TW,PW,MW,VW,QW,SW,WW,YW,PC,HQ,hW,mw],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:solid var(--mat-table-row-item-outline-width,1px) #dadce0}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}.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-select-arrow, [_nghost-%COMP%]     .mat-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 bX=function(){this.expandable=this.issue=null;this.expanded=!1;this.level=0;this.expansionChange=new zv;this.title=""};bX.prototype.ngOnChanges=function(){var a,b;this.title=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.title)||""};bX.\u0275fac=function(a){return new (a||bX)};
bX.\u0275cmp=Lc({type:bX,selectors:[["b-expandable-issue-title-cell"]],inputs:{issue:"issue",expandable:"expandable",expanded:"expanded",level:"level"},outputs:{expansionChange:"expansionChange"},features:[ed],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&&(E(0,"div",0),C(1,xYa,2,3,"button",1)(2,yYa,1,0,"div",2),I(3,"b-issue-title-cell",3),G());a&2&&(xf("margin-left",24*b.level,"px"),y(),D("ngIf",b.expandable),y(),D("ngIf",!b.expandable),y(),D("issue",b.issue))},dependencies:[dw,yP,nA,fW],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 cX=function(){this.issue=null;this.isDataLoaded=!1};cX.prototype.ngOnChanges=function(){var a;this.assignee=iFa(Ki(null==(a=this.issue)?void 0:a.snapshot[0].assigneeUser)||void 0);this.isDataLoaded=null!==this.issue};cX.\u0275fac=function(a){return new (a||cX)};
cX.\u0275cmp=Lc({type:cX,selectors:[["b-issue-assignee-cell"]],inputs:{issue:"issue"},features:[ed],decls:4,vars:3,consts:[[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],["noData",""],[3,"email"]],template:function(a,b){a&1&&(E(0,"b-async-data-placeholder",0),C(1,zYa,2,2,"b-person-hovercard",1)(2,AYa,1,0,"ng-template",null,2,jg),G());if(a&2){var c=Q(3);D("isReady",b.isDataLoaded);y();D("ngIf",b.assignee)("ngIfElse",c)}},dependencies:[WV,dw,rM],encapsulation:2,changeDetection:0});var dX=function(){this.issue=null;this.componentId=this.teamId="";this.isDataLoaded=!1};dX.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};dX.\u0275fac=function(a){return new (a||dX)};
dX.\u0275cmp=Lc({type:dX,selectors:[["b-issue-team-cell"]],inputs:{issue:"issue"},features:[ed],decls:4,vars:3,consts:[[3,"isReady"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled",4,"ngIf","ngIfElse"],["noData",""],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"]],template:function(a,b){a&1&&(E(0,"b-async-data-placeholder",0),C(1,BYa,1,3,"b-team-display",1)(2,CYa,1,0,"ng-template",null,2,jg),G());if(a&2){var c=Q(3);D("isReady",b.isDataLoaded);
y();D("ngIf",b.teamId)("ngIfElse",c)}},dependencies:[WV,dw,AU],encapsulation:2,changeDetection:0});var eX=function(){this.type=this.issue=null;this.isDataLoaded=!1};eX.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};eX.\u0275fac=function(a){return new (a||eX)};
eX.\u0275cmp=Lc({type:eX,selectors:[["b-issue-type-cell"]],inputs:{issue:"issue"},features:[ed],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"],["noData",""]],template:function(a,b){a&1&&(E(0,"b-async-data-placeholder",0),C(1,DYa,3,3,"ng-container",1)(2,EYa,1,0,"ng-template",null,2,jg),G());if(a&2){var c=Q(3);D("isReady",b.isDataLoaded);y();D("ngIf",b.type)("ngIfElse",c)}},dependencies:[WV,dw,LK],encapsulation:2,changeDetection:0});var fX=function(){};fX.\u0275fac=function(a){return new (a||fX)};fX.\u0275mod=Nc({type:fX});fX.\u0275inj=wc({imports:[SH,$C,JD]});var gX=function(){};gX.\u0275fac=function(a){return new (a||gX)};gX.\u0275mod=Nc({type:gX});gX.\u0275inj=wc({providers:[{provide:j4b,useValue:eW}],imports:[SH,WR,$C,JD,DT,QS,PN,fX,QV]});var hX=function(){};hX.\u0275fac=function(a){return new (a||hX)};hX.\u0275mod=Nc({type:hX});hX.\u0275inj=wc({imports:[SH]});var iX=function(){};iX.\u0275fac=function(a){return new (a||iX)};iX.\u0275mod=Nc({type:iX});iX.\u0275inj=wc({imports:[Bx,SH,YM,$C,JD,mT]});var jX=function(){this.issue=null;this.isDataLoaded=!1};jX.prototype.ngOnChanges=function(){var a;this.reporter=iFa(Ki(null==(a=this.issue)?void 0:a.snapshot[0].reporterUser)||void 0);this.isDataLoaded=null!==this.issue};jX.\u0275fac=function(a){return new (a||jX)};
jX.\u0275cmp=Lc({type:jX,selectors:[["b-issue-reporter-cell"]],inputs:{issue:"issue"},features:[ed],decls:4,vars:3,consts:[[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],["noData",""],[3,"email"]],template:function(a,b){a&1&&(E(0,"b-async-data-placeholder",0),C(1,FYa,2,2,"b-person-hovercard",1)(2,GYa,1,0,"ng-template",null,2,jg),G());if(a&2){var c=Q(3);D("isReady",b.isDataLoaded);y();D("ngIf",b.reporter)("ngIfElse",c)}},dependencies:[WV,dw,rM],encapsulation:2,changeDetection:0});var Drc=["theInput"],kX=function(){this.placeholder=this.value="";this.readonly=!1;this.autoFocus=!0;this.valueChange=new zv;this.commit=new zv};kX.prototype.ngAfterViewInit=function(){this.autoFocus&&this.input.nativeElement.focus()};kX.\u0275fac=function(a){return new (a||kX)};
kX.\u0275cmp=Lc({type:kX,selectors:[["b-text-input-cell"]],viewQuery:function(a,b){a&1&&Uf(Drc,5);if(a&2){var c;Yf(c=Zf())&&(b.input=c.first)}},inputs:{value:"value",placeholder:"placeholder",readonly:"readonly",autoFocus:"autoFocus"},outputs:{valueChange:"valueChange",commit:"commit"},decls:2,vars:7,consts:[["type","text",3,"placeholder","disabled","ngModel","keydown.enter","ngModelChange"],["theInput",""]],template:function(a,b){a&1&&(E(0,"input",0,1),M("keydown.enter",function(c){b.readonly||b.commit.emit(c)})("ngModelChange",
function(c){return b.valueChange.emit(c)}),G());a&2&&(yf("readonly",b.readonly)("override",b.readonly),D("placeholder",b.placeholder)("disabled",b.readonly)("ngModel",b.value))},dependencies:[Dg,Hw,Ow],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 lX=function(){};lX.\u0275fac=function(a){return new (a||lX)};lX.\u0275mod=Nc({type:lX});lX.\u0275inj=wc({imports:[SH]});var mX=function(){};mX.\u0275fac=function(a){return new (a||mX)};mX.\u0275mod=Nc({type:mX});mX.\u0275inj=wc({imports:[lX,WK,SH,QS,dx,DP,iX,hX,$C,JD,bN,YT,BF,BU,YR,gX,aN]});var nX=new Xc("GMAT_LEGACY_TABS_OPTION");var oX=function(a){this.inkBarPositioner=a};oX.prototype.isEnabled=function(){return this.inkBarPositioner===HYa};oX.\u0275fac=function(a){return new (a||oX)(A(Cac))};oX.\u0275dir=Qc({type:oX,selectors:[["","gmat-tabs",""],["mat-tab-group"],["","mat-tab-nav-bar",""]],hostVars:2,hostBindings:function(a,b){a&2&&yf("gmat-tabs",b.isEnabled())},features:[bg([{provide:Cac,useFactory:function(a,b,c){return a.nativeElement.hasAttribute("gmat-tabs")||c&&c.enabled?HYa:b},deps:[Ad,[new Ou,Cac],[new Nu,nX]]}])]});var pX=function(){};pX.\u0275fac=function(a){return new (a||pX)};pX.\u0275mod=Nc({type:pX});pX.\u0275inj=wc({imports:[uw,ON]});var qX=function(){};qX.\u0275fac=function(a){return new (a||qX)};qX.\u0275mod=Nc({type:qX});qX.\u0275inj=wc({imports:[Gy,LW,Gy]});var rX=function(){};rX.\u0275fac=function(a){return new (a||rX)};rX.\u0275mod=Nc({type:rX});rX.\u0275inj=wc({imports:[qX]});var sX=function(){};sX.\u0275fac=function(a){return new (a||sX)};sX.\u0275mod=Nc({type:sX});sX.\u0275inj=wc({imports:[Gy,uw,Vy,lW,Gy]});var tX=function(){};tX.\u0275fac=function(a){return new (a||tX)};tX.\u0275mod=Nc({type:tX});tX.\u0275inj=wc({providers:[{provide:nX,useValue:{enabled:!0}}],imports:[SH,vP,pX,mX,$C,JA,IC,sX,qN,rX,JD,kR,iW]});var uX=function(a){this.issuesApi=a};uX.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})};uX.\u0275fac=function(a){return new (a||uX)(p(PH))};uX.\u0275prov=vc({token:uX,factory:uX.\u0275fac,providedIn:"root"});var vX=function(a,b,c,d,e,f,h){Y.call(this);var k=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=G4b;this.entrySelect=new zv;this.selectedIssues=[];this.asyncChoices=[];this.choices=[];this.currentQuery="";this.hasLoadedResults=!0;this.searchingForSelf=!1;this.queryInternal="";this.queryChange=new zv;this.getTextToPutInInputOnSelect=function(){return k.query}};X(vX,Y);vX.\u0275dir=Y.\u0275dir;
vX.prototype.ngOnInit=function(){var a=this;this.queryChange.pipe(Re(250),ef(this.destroyed$)).subscribe(function(b){a.doSearch(b)})};vX.prototype.ngOnChanges=function(a){a.defaultChoices&&(this.choices=[].concat(r(this.defaultChoices),r(this.asyncChoices)))};vX.prototype.selectIssue=function(a){Erc(this,[a])};
var Grc=function(a){var b=a.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});if(Frc(b))return b;b=a;a.startsWith("b/")?b=a.substring(2):a.startsWith("http://b/")&&(b=a.substring(9));return to(b)?[b]:[]},Frc=function(a){return!a.some(function(b){return!to(b)})};vX.prototype.search=function(a){"string"===typeof a&&(this.query=a)};
vX.prototype.doSearch=function(a){this.currentQuery=a;this.searchingForSelf=!1;if(""===a)Hrc(this);else{var b=Grc(a);1===b.length||1<b.length&&this.allowMultipleIds?(this.lastSearchType="id",Irc(this,b,a)):(this.lastSearchType="query",this.searchAsync(a))}};
var Hrc=function(a){a.choices=a.defaultChoices;a.asyncChoices=[];a.hasLoadedResults=!0;Erc(a,[])},Erc=function(a,b){a.selectedIssues=b;a.entrySelect.emit(a.selectedIssues);var c;null==(c=a.autocomplete)||lgb(c)},Irc=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,Hrc(a)):(a.choices=Jrc(a,b),a.hasLoadedResults=!1,a.issueFridge.watchSet(b).pipe(Ue(),ef(a.destroyed$)).subscribe(function(e){if(a.currentQuery===
c){var f=e.reduce(function(h,k){var q=qa(k.snapshot);return h.set(k.issueId,{resourceId:k.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(r(a.choices),r(a.asyncChoices));Erc(a,a.asyncChoices);a.hasLoadedResults=!0;a.cdr.detectChanges()}},function(){a.asyncChoices=[];a.hasLoadedResults=!0;a.cdr.detectChanges()}))};
vX.prototype.searchAsync=function(a){var b=this;this.choices=Krc(this,a);this.hasLoadedResults=!1;if(Ui(a))this.hasLoadedResults=!0;else{var c=Lrc(a,this.defaultChoices),d,e;this.relatedIssues.get({query:c,trackerId:this.currentTracker.getTrackerId(),resourceType:null==(d=this.currentResource)?void 0:d.type,resourceId:xi(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(r(b.choices),r(f)),b.cdr.detectChanges())},function(f){b.errorHandler.errorHandler(null,f)}).finally(function(){b.hasLoadedResults=!0})}};var Jrc=function(a,b){return a.defaultChoices.filter(function(c){return c.resourceId.toString().startsWith(b[0])})},Krc=function(a,b){return Ui(b)?a.defaultChoices:a.defaultChoices.filter(function(c){return c.displayText.toLowerCase().startsWith(b.toLowerCase())})};vX.prototype.getIssueLink=function(a){return this.paths.editIssue(a.resourceId)};
var NYa=function(a){return a.relations.map(function(b){return Mrc.get(b)}).filter(function(b){return!!b}).join("/")},Lrc=function(a,b){if(0===b.length)return a;b=b.map(function(c){return c.resourceId}).join("|");return a+" -id:("+b+")"};vX.prototype.onEnter=function(a){var b;(null==(b=this.autocomplete)?0:b.panelOpen)&&a.stopPropagation()};Vg.Object.defineProperties(vX.prototype,{query:{configurable:!0,enumerable:!0,get:function(){return this.queryInternal},set:function(a){this.queryInternal=a;this.queryChange.emit(a)}}});
vX.\u0275fac=function(a){return new (a||vX)(A(EF,2),A(iI),A(UI),A(uX),A(AG),A(IE),A(IM))};
vX.\u0275cmp=Lc({type:vX,selectors:[["b-simple-issue-picker"]],viewQuery:function(a,b){a&1&&Uf(KQ,5);if(a&2){var c;Yf(c=Zf())&&(b.autocomplete=c.first)}},inputs:{defaultChoices:"defaultChoices",currentResource:"currentResource",allowMultipleIds:"allowMultipleIds"},outputs:{entrySelect:"entrySelect",queryChange:"queryChange"},features:[bg([uX,EF]),nf,ed],decls:9,vars:8,consts:[[1,"bv2-issue-picker"],[4,"ngIf"],[1,"bv2-resource-picker","bv2-picker"],["type","text","placeholder","Type issue ID or search query...",
"autocomplete","off","spellcheck","false","aria-autocomplete","list","role","combobox","autofocus","autofocus","cdkFocusInitial","",1,"bv2-resource-picker-input",3,"ngModel","matAutocomplete","ngModelChange","keydown.enter","keydown.alt.arrowright"],[1,"issue-picker","base-resource-picker",3,"displayWith","optionActivated","optionSelected"],["auto","matAutocomplete"],["disabled","",4,"ngIf"],["disabled","","class","bv2-resource-picker-message",4,"ngIf"],["class","bv2-resource-picker-item bv2-issue-picker-item",
3,"value",4,"ngFor","ngForOf"],[1,"bv2-issue-picker-message"],["disabled",""],[1,"spinner-container"],[3,"large"],["disabled","",1,"bv2-resource-picker-message"],[1,"bv2-resource-picker-item","bv2-issue-picker-item",3,"value"],["role","region","tabindex","0"],["class","icon-s margin-none",3,"svgIcon",4,"ngIf"],[1,"bv2-issue-picker-issue-id",3,"title"],["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],["mat-icon-button","","aria-label","Go to issue page.",
"data-stable","issue-pop-out","target","_blank",1,"gmat-button","small","bv2-issue-picker-pop-out",3,"onedevHovercardTrigger","href","click"],["svgIcon","pop-out",1,"icon-s"],[1,"bv2-issue-picker-relations"],[1,"bv2-issue-picker-description",3,"title","innerHTML"],[1,"icon-s","margin-none",3,"svgIcon"],[3,"onedevIsHovercardReady","issueId"],["cardBody",""]],template:function(a,b){a&1&&(E(0,"div",0),C(1,IYa,3,0,"div",1),E(2,"div",2)(3,"input",3),M("ngModelChange",function(d){return b.search(d)})("keydown.enter",
function(d){return b.onEnter(d)})("keydown.alt.arrowright",function(){b.activeChoice&&b.domSafe.openInNewTab(b.getIssueLink(b.activeChoice))}),G(),E(4,"mat-autocomplete",4,5),M("optionActivated",function(d){b.activeChoice=null==d.option?null:d.option.value})("optionSelected",function(d){return b.selectIssue(d.option.value)}),C(6,JYa,3,1,"mat-option",6)(7,KYa,2,0,"mat-option",7)(8,OYa,14,13,"mat-option",8),G()()());if(a&2){var c=Q(5);y();D("ngIf",b.searchingForSelf);y(2);D("ngModel",b.query)("matAutocomplete",
c);pf("aria-label",0<b.selectedIssues.length?"issue "+b.selectedIssues[0].resourceId+" selected. Change.":"Choose issue");y();D("displayWith",b.getTextToPutInInputOnSelect);y(2);D("ngIf",""!==b.query&&!b.hasLoadedResults);y();D("ngIf",""!==b.query&&!!b.hasLoadedResults&&0===b.choices.length);y();D("ngForOf",b.choices)}},dependencies:[hw,dw,hB,Dg,Hw,Ow,LF,MF,QF,NF,eW,LQ,KQ,qA,oA,HQ,NK],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-autocomplete-panel.issue-picker{max-height:400px;width:450px}.mat-autocomplete-panel.issue-picker .mat-option{font-size:inherit;line-height:inherit;white-space:inherit;height:auto;min-height:40px;padding:10px}.mat-autocomplete-panel.issue-picker .bv2-resource-picker-item{cursor:pointer;padding:10px}.mat-autocomplete-panel.issue-picker .bv2-resource-picker-item:hover,.mat-autocomplete-panel.issue-picker .bv2-resource-picker-item.selected{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.mat-autocomplete-panel.issue-picker .bv2-resource-picker-message{color:#5f6368;color:var(--muted);padding:5px;text-align:center}.mat-autocomplete-panel.issue-picker .margin-none{margin:0}.mat-autocomplete-panel.issue-picker .bv2-issue-picker-relations{color:#5f6368;color:var(--muted);float:right;font-style:italic}.mat-autocomplete-panel.issue-picker .bv2-issue-picker-issue-id{margin-left:5px;opacity:.8}.mat-autocomplete-panel.issue-picker .bv2-issue-picker-description{margin-left:20px}.mat-autocomplete-panel.issue-picker .bv2-issue-picker-pop-out{float:right;visibility:hidden}.mat-autocomplete-panel.issue-picker .bv2-resource-picker-item:hover .bv2-issue-picker-pop-out,.mat-autocomplete-panel.issue-picker .bv2-resource-picker-item.selected .bv2-issue-picker-pop-out{visibility:visible}.mat-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 Mrc=new Map([["BLOCKED_BY","blocked"],["BLOCKING","blocking"],["DUPLICATE","duplicate"],["CANONICAL","canonical"]]);var wX=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+"+":""},SYa=function(a){if(""!==a.queryRestriction&&null!=a.issuePicker){var b=a.issuePicker.query;a.issuePicker.query=a.isQueryRestricted?b.replace(new RegExp(no(a.queryRestriction)+" ?"),""):a.queryRestriction+
" "+b}};g=wX.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()};
wX.\u0275fac=function(a){return new (a||wX)(A(BA),A(DA),A(wK))};
wX.\u0275cmp=Lc({type:wX,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&Uf(vX,5);if(a&2){var c;Yf(c=Zf())&&(b.issuePicker=c.first)}},hostBindings:function(a,b){a&1&&M("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,"defaultChoices","currentResource","allowMultipleIds","keydown.enter","entrySelect","queryChange"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"disabled","click"],[1,"bv2-rel-issue-preview-link"],["target","_blank","class","bv2-rel-issue-id-link",3,"href",4,"ngFor","ngForOf"],["target","_blank",1,"bv2-rel-issue-id-link",3,"href"],["target","_blank",
1,"keep-underline","bv2-rel-issue-title-link",3,"href"],[1,"bv2-rel-issue-title-link-txt"],["svgIcon","pop-out",1,"icon-xs"],[1,"bv2-rel-issue-narrow-to-component"],["role","checkbox","tabindex","0","aria-label","Include subcomponents",1,"bv2-narrow-search-comp-btn","keep-focus-ring",3,"matTooltip","click","keyup.space"]],template:function(a,b){a&1&&(E(0,"h2",0),R(1),G(),E(2,"div",1)(3,"div",2),C(4,QYa,2,1,"div",3)(5,RYa,6,2,"div",3),G(),E(6,"div",4)(7,"div",5),C(8,TYa,2,2,"div",6),E(9,"b-simple-issue-picker",
7),M("keydown.enter",function(){return b.onEnter()})("entrySelect",function(c){b.selectedIssues=c})("queryChange",function(c){return b.onQueryChange(c)}),G()()()(),E(10,"div",8)(11,"button",9),M("click",function(){return b.onPressCancel()}),R(12," Cancel "),G(),E(13,"button",10),M("click",function(){return b.onPressConfirm()}),R(14," Confirm "),G()());a&2&&(y(),S(" ",b.data.title,"\n"),y(3),D("ngIf",1<b.selectedIssues.length),y(),D("ngIf",1===b.selectedIssues.length),y(3),D("ngIf",!!b.queryRestriction),
y(),yf("bv2-rel-issue-issue-picker-full-width",!!b.queryRestriction),D("defaultChoices",b.data.defaultChoices)("currentResource",b.data.currentResource)("allowMultipleIds",b.data.allowMultipleIds),y(4),D("disabled",!b.selectedIssues.length))},dependencies:[hw,dw,hB,nA,GA,HA,IA,PC,vX],encapsulation:2});var xX=function(){};xX.\u0275fac=function(a){return new (a||xX)};xX.\u0275mod=Nc({type:xX});xX.\u0275inj=wc({imports:[WK,SH,dx,aN,gX,MQ,$C,JA,JD,kR]});var Nrc=new Xc("XapHatsSurveyApiKey"),Orc=new Xc("XapHatsSurveyLocale"),Prc=new Xc("XapHatsSurveyWindow"),Qrc=new Xc("XapHatsSurveyListnrProductId");var Rrc=new Map([[0,1],[1,2]]),yX=function(a,b,c,d,e){var f=function(){var h={apiKey:a,locale:null!=c?c:"en-US",window:d};h=U0b(X0b,"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 W0b(h)};this.helpService=e?e.runOutsideAngular(f):f()},Src=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 W.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(df(function(f){return new W.Observable(function(h){var k;a.helpService.presentSurvey({surveyData:f,colorScheme:d.theme?Rrc.get(d.theme):1,authuser:e,customZIndex:null!=(k=d.zIndex)?k:1E4,customLogoUrl:d.customLogoUrl,productData:c,listener:{surveyClosed:function(){h.complete()}}});h.next(f.surveyMetadata)})}))};yX.\u0275fac=function(a){return new (a||yX)(p(Nrc),p(Qrc),p(Orc,8),p(Prc,8),p(Ge,8))};
yX.\u0275prov=vc({token:yX,factory:yX.\u0275fac,providedIn:"root"});var Trc=Sp.ISSUE_PICKER,zX=function(a,b,c,d){this.dialog=a;this.analytics=b;this.hatsService=c;this.activeSession=d};
zX.prototype.open=function(a,b){var c=this,d=Urc(this,a),e=d.dialog,f=d.config;return new Promise(function(h){c.dialog.open(e,f).afterClosed().subscribe(function(k){var q,t=null!=(q=null==k?void 0:k.selectedIssueIds)?q:[],w;k=null!=(w=null==k?void 0:k.lastSearchType)?w:"";w=[a.originIsBulk?"bulk":void 0,1<t.length?"search-multi":"search",a.edgeType].filter(Boolean).join("-");kp(c.analytics,Trc,w,k);null==b||b(t);h(t);c.activeSession.isInternalSession()&&"id"===k&&Src(c.hatsService,"etC5mMepi0g6pPHSLo10TaNs15gn").pipe(Ue()).subscribe()})})};
var Urc=function(a,b){var c={panelClass:"no-jitter",data:b};return tE(a.activeSession,"enableIDPCanonicalIssuePicker")&&"canonical"===b.edgeType?(c.width="60vw",c.minWidth="800px",{dialog:aX,config:c}):{dialog:wX,config:c}};zX.\u0275fac=function(a){return new (a||zX)(p(EA),p(MI),p(yX),p(nt))};zX.\u0275prov=vc({token:zX,factory:zX.\u0275fac,providedIn:"root"});var AX=function(){};AX.\u0275fac=function(a){return new (a||AX)};AX.\u0275mod=Nc({type:AX});AX.\u0275inj=wc({imports:[xX,tX]});var BX=function(a){this.dialogRef=a;this.reporter="";this.autocompleteActive=!1};BX.prototype.enableSubmit=function(){return""!==this.reporter};BX.prototype.cancel=function(){this.dialogRef.close()};BX.prototype.save=function(){this.dialogRef.close(this.reporter)};BX.\u0275fac=function(a){return new (a||BX)(A(BA))};
BX.\u0275cmp=Lc({type:BX,selectors:[["b-reporter-picker-dialog"]],decls:12,vars:3,consts:[["mat-dialog-title",""],["matInput","",3,"bContactAutocomplete","ngModel","ngModelChange","autocompleteActive","keydown"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","",1,"gmat-button",3,"disabled","click"]],template:function(a,b){a&1&&(E(0,"h1",0),R(1,"Change Reporter"),G(),E(2,"mat-dialog-content")(3,"mat-form-field")(4,"mat-label"),R(5," Reporter "),G(),E(6,"input",1),M("ngModelChange",
function(c){return b.reporter=c})("autocompleteActive",function(c){return b.autocompleteActive=c})("keydown",function(c){"Enter"===c.key&&!b.autocompleteActive&&b.enableSubmit()&&b.save()}),G()()(),E(7,"mat-dialog-actions")(8,"button",2),M("click",function(){return b.cancel()}),R(9," Cancel "),G(),E(10,"button",3),M("click",function(){return b.save()}),R(11," Save "),G()());a&2&&(y(6),D("bContactAutocomplete","SINGLE")("ngModel",b.reporter),y(4),D("disabled",!b.enableSubmit()))},dependencies:[Dg,
Hw,Ow,nA,GA,HA,IA,dB,bB,fB,hP],encapsulation:2});var Vrc=["addCommentDialog"],CX=function(a,b,c,d,e,f,h,k,q,t,w,z,F){Y.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=k;this.matDialog=q;this.$log=t;this.issuePicker=w;this.userPreferencesManager=z;this.accessIndicatorService=F;this.currentUserEmail=this.activeSession.getUserEmail();this.uniqueComponentIds$=new W.Subject;this.effortSpec$=this.uniqueComponentIds$.pipe(df(function(H){return J.componentFridge.watchSet(H)}),
B(function(H){return J.getCommonEffortSpec(H)}),af({bufferSize:1,refCount:!0}));this.enableBulkEstimatedEffortOption$=this.effortSpec$.pipe(B(function(H){return void 0!==H}));this.hotlistIdMatrix=[];this.hotlistChoices=[];this.onSave=new zv;this.onCreateHotlist=new zv;this.onLoadHotlist=new zv;this.externalWarnings=[];this.enableRecaptcha=this.activeSession.userRequiresCaptcha()&&tE(this.activeSession,"enableBulkEditCaptchaUi");this.recaptchaResponse="";this.controllerName="baseControls"};X(CX,Y);
var Wrc=function(a){var b=new vK,c;b.formattingMode=Qi(null==(c=CE(a.userPreferencesManager).textDisplayPreferences)?void 0:c.lastPublishMode);return b};CX.prototype.hasSelectedIssues=function(){return 0<this.getSelectedIssues().length};var Xrc=function(a){return a.getSelectedIssues().some(function(b){return!b.isRead})},UYa=function(a){return Xrc(a)?"Mark as read":"Mark as unread"},Vp=function(a){return a.getSelectedIssues().map(function(b){return b.issueId})};
CX.prototype.onSelectionChange=function(){for(var a=this.getSelectedIssues(),b=l(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=Yrc(a);this.uniqueComponentIds$.next(a)};
var Yrc=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b.includes(c.componentId)||b.push(c.componentId);return b},Zrc=function(a){if(!sE(a.activeSession)){a.externalWarnings=[];var b=(0,W.combineLatest)(a.getSelectedIssues().map(function(e){return Wgc(a.accessIndicatorService,e.issueId,e.componentId).pipe(B(function(f){return{issue:e,indicator:f}}))}));(0,W.firstValueFrom)(b).then(function(e){e=l(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=l(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()&&Hp(e)||rE(a.activeSession)&&Ip(e)){var f,h={type:"component",path:aVa(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=CX.prototype;g.getCommonEffortSpec=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;if(!b.effortSpec)return;b=b.effortSpec;var c=b.id;if(!d){var d=c;var e=b}else if(d!==c)return}return e};
g.bulkEdit=function(a){switch(a){case "ASSIGNEE":DX(this,null,0);break;case "COMPONENT":$rc(this);break;case "VERIFIER":DX(this,null,1);break;case "REPORTER":asc(this);break;case "CHANGELIST":bsc(this,"changelists","Changelists",!0);break;case "CUSTOM_FIELDS":csc(this);break;case "FOUND_IN":bsc(this,"foundInVersion","Found In");break;case "VERIFIED_IN":bsc(this,"verifiedInVersion","Verified In");break;case "TARGETED_TO":bsc(this,"targetedToVersion","Targeted To");break;case "COMMENT":dsc(this);break;
case "SLO_START_TIME":esc(this);break;case "ESTIMATED_EFFORT":fsc(this);break;case "CC":bsc(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)&&EX(this,"priority",a);break;case "SEVERITY":(a=a.newValue)&&EX(this,"severity",a);break;case "STATUS":(a=a.newValue)&&DX(this,Fn[a],"DUPLICATE"===a?3:void 0);break;case "TYPE":(a=a.newValue)&&EX(this,"type",a);break;case "IS_ARCHIVED":EX(this,"isArchived",""+a.newValue);break;case "IN_PROD":EX(this,"inProd",""+a.newValue);break;case "CC":EX(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?FX(this,{actionType:"ADD",fieldName:"blockedByIssueId",title:"Mark all selected issues as blocked by:",edgeType:"blocker"}):FX(this,{actionType:"REMOVE",fieldName:"blockedByIssueId",title:"Unmark all selected issues as blocked by:",edgeType:"un-blocker"});break;case "BLOCKING":a.isMarking?FX(this,{actionType:"ADD",fieldName:"blockingIssueId",title:"Mark all selected issues as blocking:",edgeType:"blocking"}):FX(this,
{actionType:"REMOVE",fieldName:"blockingIssueId",title:"Unmark all selected issues as blocking:",edgeType:"un-blocking"});break;case "PARENT":a.isMarking?FX(this,{actionType:"ADD",fieldName:"parentId",title:"Mark all selected issues as children of:",edgeType:"child"}):FX(this,{actionType:"REMOVE",fieldName:"parentId",title:"Unlink all selected issues from this parent:",edgeType:"un-parent"});break;case "DUPLICATE":DX(this,Fn.DUPLICATE,3);break;default:this.$log.error("unsupported issue relation: "+
a.issueRelation)}};g.bulkMarkIssueRead=function(){var a=Xrc(this);EX(this,"readState",a?"true":"")};
var EX=function(a,b,c,d){var e={fieldName:b,value:c};void 0!==d&&(e.actionType=d);var f=Vp(a),h=[e];"deletionReason"===b&&h.push({fieldName:"isDeleted",value:"true"});d=function(){var k={bulkEditOps:[{issueIds:f,actions:h}]};a.enableRecaptcha&&""!==a.recaptchaResponse&&(k.recaptchaToken=a.recaptchaResponse);a.onSave.emit(k)};"type"!==b||"VULNERABILITY"!==c&&"PRIVACY_ISSUE"!==c?d():("VULNERABILITY"===c&&nG(a.issueTypeDialog,"VULNERABILITY",d,function(){}),"PRIVACY_ISSUE"===c&&nG(a.issueTypeDialog,
"PRIVACY_ISSUE",d,function(){}))},DX=function(a,b,c){a.hasSelectedIssues()&&(Zrc(a),a.stateModal.showDialog(a.getSelectedIssues(),b,c))},gsc=function(a){var b=a.onSave,c=b.emit,d=Vp(a),e=a.stateModal.issueEditBuilder,f=[];e.issueState||CWa(e);e=l(PWa(e));for(var h=e.next();!h.done;h=e.next()){var k=l(h.value);h=k.next().value;k=k.next().value;void 0!==k&&f.push({fieldName:h,value:k})}c.call(b,{bulkEditOps:[{issueIds:d,actions:f}],recaptchaToken:a.stateModal.issueEditBuilder.recaptchaResponse})},asc=
function(a){a.hasSelectedIssues()&&(Zrc(a),a.matDialog.open(BX,{width:"400px"}).afterClosed().pipe(ef(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&EX(a,"reporter",b)}),a.hotkeys.pause())},bsc=function(a,b,c,d){d=void 0===d?!1:d;a.hasSelectedIssues()&&(a.matDialog.open(YU,{width:"400px",data:{fieldDisplayName:c}}).afterClosed().pipe(ef(a.destroyed$)).subscribe(function(e){a.hotkeys.unpause();e&&hsc(a,b,e.addItems,e.removeItems,d)}),a.hotkeys.pause())},esc=function(a){a.hasSelectedIssues()&&
(a.matDialog.open(WU,{width:"330px",data:{fieldDisplayName:"SLO Start Time"}}).afterClosed().pipe(ef(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:Vp(a),actions:c}]})}}),a.hotkeys.pause())},fsc=function(a){var b=om(a.effortSpec$);a.hasSelectedIssues()&&void 0!==b&&(a.matDialog.open(XU,{width:"400px",data:{fieldDisplayName:"Estimated Effort",effortSpec:b}}).afterClosed().pipe(ef(a.destroyed$)).subscribe(function(c){a.hotkeys.unpause();
if(c){var d=[];d.push({fieldName:"effortEstimate",value:c.estimate});a.onSave.emit({bulkEditOps:[{issueIds:Vp(a),actions:d}]})}}),a.hotkeys.pause())},hsc=function(a,b,c,d,e){e=void 0===e?!1:e;c=Ti(c);d=Ti(d);var f=[],h=!["foundInVersion","targetedToVersion","verifiedInVersion"].includes(b),k=function(q){return qsa(q,h).map(function(t){return t.trim()})};Ui(c)||(c=k(c),e&&(c=c.filter(function(q){return!isNaN(q)})),f.push.apply(f,r(c.map(function(q){return{fieldName:b,value:q,actionType:"ADD"}}))));
Ui(d)||(d=k(d),f.push.apply(f,r(d.map(function(q){return{fieldName:b,value:q,actionType:"REMOVE"}}))));f.length&&a.onSave.emit({bulkEditOps:[{issueIds:Vp(a),actions:f}]})},$rc=function(a){a.hasSelectedIssues()&&(a.matDialog.open(UU,{width:"600px",position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"}).afterClosed().pipe(ef(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.onSave.emit({bulkEditOps:[{issueIds:Vp(a),actions:[{fieldName:"componentId",value:String(b.componentId)}]}]}),
kp(a.analytics,a.controllerName,"bulkMove"))}),a.hotkeys.pause())},isc=function(a){a.hasSelectedIssues()&&(a.matDialog.open(TU,{width:"600px",data:{issuesToFlag:a.getSelectedIssues()}}).afterClosed().pipe(ef(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(kp(a.analytics,a.controllerName,"bulkFlagAsSpam"),EX(a,"deletionReason","ABUSE"))}),a.hotkeys.pause())},dsc=function(a){a.hasSelectedIssues()&&a.addCommentDialog&&(a.comment||(a.comment=Wrc(a)),a.addCommentDialogRef=a.matDialog.open(a.addCommentDialog,
{panelClass:"no-jitter",minWidth:512,maxWidth:512}),a.addCommentDialogRef.afterClosed().pipe(ef(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();a.comment&&(b&&T7b(a.comment)&&EX(a,"comment",a.comment.value),a.comment.reset())}),a.hotkeys.pause(),Zrc(a))},aZa=function(a){var b;null==(b=a.addCommentDialogRef)||b.close(!0)},csc=function(a){a.hasSelectedIssues()&&a.matDialog.open(PS,{data:a.getSelectedIssues(),width:"500px"}).afterClosed().pipe(ef(a.destroyed$)).subscribe(function(b){b&&(a.onSave.emit({bulkEditOps:b}),
kp(a.analytics,a.controllerName,"bulkCustomField"))})};
CX.prototype.handleHotlistPickerSave=function(a){var b=a.oldSelectionMap,c=[],d=[],e=0;Object.entries(a.newSelectionMap).forEach(function(f){var h=l(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:Vp(this),actions:a}]}),kp(this.analytics,this.controllerName,"applyHotlists",
"numHotlists",e))};var FX=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:Vp(a),actions:[{fieldName:d,value:e,actionType:c}]}]}))});a.hotkeys.pause()};CX.\u0275fac=function(a){return new (a||CX)(A(oH),A(EF),A(nt),A(MI),A(VM),A(xR),A(mG),A(UT),A(EA),A(DF),A(zX),A(BE),A($P))};
CX.\u0275dir=Qc({type:CX,viewQuery:function(a,b){a&1&&(Uf(Vrc,5),Uf(ZU,5),Uf(UV,5));if(a&2){var c;Yf(c=Zf())&&(b.addCommentDialog=c.first);Yf(c=Zf())&&(b.hotlistPicker=c.first);Yf(c=Zf())&&(b.stateModal=c.first)}},inputs:{hotlistChoices:"hotlistChoices"},outputs:{onSave:"onSave",onCreateHotlist:"onCreateHotlist",onLoadHotlist:"onLoadHotlist"},features:[nf]});var GX=function(){};GX.\u0275fac=function(a){return new (a||GX)};GX.\u0275mod=Nc({type:GX});GX.\u0275inj=wc({providers:[{provide:$nc,useFactory:function(){return new Xnc}}]});var HX=function(){};HX.\u0275fac=function(a){return new (a||HX)};HX.\u0275mod=Nc({type:HX});HX.\u0275inj=wc({imports:[uw,GX]});var IX=function(){};IX.\u0275fac=function(a){return new (a||IX)};IX.\u0275mod=Nc({type:IX});IX.\u0275inj=wc({providers:[{provide:Znc,useFactory:mV}],imports:[SH,$C,JD,HX,WK]});var JX=function(){};JX.\u0275fac=function(a){return new (a||JX)};JX.\u0275mod=Nc({type:JX});JX.\u0275inj=wc({imports:[SH,$C,JD]});var KX=function(){};KX.\u0275fac=function(a){return new (a||KX)};KX.\u0275mod=Nc({type:KX});KX.\u0275inj=wc({imports:[SH,mP,DP,JD,fQ,PN,IX,$C,JX]});var LX=function(){};LX.\u0275fac=function(a){return new (a||LX)};LX.\u0275mod=Nc({type:LX});LX.\u0275inj=wc({imports:[SH,IC,$C,ID,dx,Wy,JD,EP,jT,DP]});var MX=function(){};MX.\u0275fac=function(a){return new (a||MX)};MX.\u0275mod=Nc({type:MX});MX.\u0275inj=wc({});var NX=function(){};NX.\u0275fac=function(a){return new (a||NX)};NX.\u0275mod=Nc({type:NX});NX.\u0275inj=wc({imports:[SH,JA,WR,dx,$C,DP,IC,iP,KX,MX,SV]});var OX=function(a,b,c,d,e,f,h,k,q,t,w,z,F){CX.call(this,a,b,c,d,e,f,h,k,q,t,w,z,F);this.panels=[];this.isNonPublicSession=this.activeSession.isNonPublicSession();this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha();this.controllerName="dashboardControls";this.onSelectionChange.bind(this);this.getCommonEffortSpec.bind(this)};X(OX,CX);OX.\u0275dir=CX.\u0275dir;OX.prototype.ngOnChanges=function(a){if(a.panels)this.onSelectionChange()};
OX.prototype.getSelectedIssues=function(){var a=this.panels.flatMap(function(b){return b.selectedIssues});Eaa(a,null,function(b){return b.issueId.toString()});return a};OX.\u0275fac=function(a){return new (a||OX)(A(oH),A(EF,2),A(nt),A(MI),A(VM),A(xR),A(mG),A(UT),A(EA),A(DF),A(zX),A(BE),A($P))};
OX.\u0275cmp=Lc({type:OX,selectors:[["b-dashboard-controls"]],inputs:{panels:"panels"},features:[bg([EF]),nf,ed],decls:7,vars:5,consts:[[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,"showFlagIssuesAsSpam",
"flagAsSpamClicked"],[3,"externalWarnings","save","close"],["addCommentDialog",""],[3,"readStatePrompt","enableBulkEstimatedEffortOption","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch"],[1,"bv2-grid-hotlist-picker"],[3,"selectedHotlistIds","choices","onApply","onCreate","onLoad"],["mat-dialog-title",""],[3,"comment","showToolbar","commentChange",
"onSubmit",4,"ngIf"],[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,"comment","showToolbar","commentChange","onSubmit"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,b){a&1&&(C(0,VYa,2,4,"b-app-bar-bulk-edit-menus",0)(1,ZYa,1,2,"b-copy-issue-id-button",1)(2,$Ya,2,2,"div",
2),E(3,"b-app-bar-more-menu",3),M("flagAsSpamClicked",function(){return isc(b)}),G(),E(4,"b-state-modal",4),M("save",function(){return gsc(b)})("close",function(){return b.hotkeys.unpause()}),G(),C(5,dZa,11,6,"ng-template",null,5,jg));a&2&&(D("ngIf",b.hasSelectedIssues()),y(),D("ngIf",b.hasSelectedIssues()),y(),D("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),y(),D("showFlagIssuesAsSpam",b.isNonPublicSession&&b.hasSelectedIssues()),y(),D("externalWarnings",b.externalWarnings))},dependencies:[BP,
AP,HV,dw,RT,ZU,nA,FA,GA,HA,IA,UV,TV,RV,mw],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var PX=function(){};PX.\u0275fac=function(a){return new (a||PX)};PX.\u0275mod=Nc({type:PX});PX.\u0275inj=wc({imports:[FP,fQ,KX,SH,WR,TT,LX,DP,$C,JA,NX,MX,SV]});var jsc=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)},ksc=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)},QX=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=Ki(c.assigneeUser)||"";this.verifier=Ki(c.verifierUser)||"";this.collaborators=Ii(c.collaboratorsUsers)||[];this.cc=Ii(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=l(c.customField||[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.customFieldValues[b.customFieldId.toString()]=b;a=l(Object.entries(this.customFields));for(b=a.next();!b.done;b=a.next())c=l(b.value),b=c.next().value,
c=c.next().value,b=Number(b),this.customFieldValues[b]||(this.customFieldValues[b]=null!=c.typedDefaultValue?c.typedDefaultValue:{customFieldId:b})},msc=function(a,b){b.name=a.name;b.description=a.description;var c=b.snapshot||{};c.componentId=a.componentId;lsc(a.type)?delete c.type:c.type=a.type;lsc(a.priority)?delete c.priority:c.priority=a.priority;lsc(a.severity)?delete c.severity:c.severity=a.severity;c.assigneeUser=Oi(a.assignee);c.verifierUser=Oi(a.verifier);c.collaboratorsUsers=a.collaborators.map(function(f){return Oi(f)});
0<a.collaboratorGroups.length&&(c.collaboratorsUsers=Osa(a.collaboratorGroups).concat(c.collaboratorsUsers||[]));c.ccUsers=a.cc.map(function(f){return Oi(f)});c.comment=a.comment;c.formattingMode=a.formattingMode;c.title=a.title;c.hotlistId=a.hotlistId;c.inProd=a.inProd;c.customField=[];c.issueAccessLimitLevel=a.issueAccessLimitLevel;for(var d=l(Object.keys(a.customFields)),e=d.next();!e.done;e=d.next())(e=a.customFieldValues[e.value])&&!kn(e)&&c.customField.push(e);b.snapshot=c};
QX.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:Nh(c,"Unexpected custom field type: "+c)}}this.dirty=!0};QX.prototype.isDirty=function(){return this.dirty};QX.prototype.setFormattingMode=function(a){this.formattingMode=a;this.dirty=!0};QX.prototype.onAccessLimitLevelSelected=function(a){this.issueAccessLimitLevel=a;this.dirty=!0};
var lsc=function(a){return Ui(a)||"--"===a};QX.prototype.getCollaboratorGroupsString=function(){return 0===this.collaboratorGroups.length?"":1<this.collaboratorGroups.length?this.collaboratorGroups.length+" groups selected":this.collaboratorGroups[0]};QX.prototype.separateCollaboratorGroups=function(a){a=new Set(a);for(var b=[],c=l(this.collaborators),d=c.next();!d.done;d=c.next())d=d.value,a.has(d)?this.collaboratorGroups.push(d):b.push(d);this.collaborators=b};
var MZa=function(a,b){a.collaborators=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},NZa=function(a,b){a.cc=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},nsc={value:"--",displayText:"--"};var osc=new sz("M/d/yyyy"),RX=function(a){this.dateFormatter=a;this.boundValueChange=new zv;this.textValue="";this.ariaLabelledBy=this.inputId=void 0;this.isRequired=!1};RX.prototype.ngOnInit=function(){if(this.boundValue){if(this.boundValue)if("string"===typeof this.boundValue)var a=$h(this.boundValue);else{var b;a=null!=(b=gn(this.boundValue))?b:void 0}else a=void 0;this.googDate=a;this.change(this.googDate,!0)}};
RX.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=osc.format(a);else{var d;a=null!=(d=KAa(osc.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):""}};RX.\u0275fac=function(a){return new (a||RX)(A(EG))};
RX.\u0275cmp=Lc({type:RX,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,"required","value","customFormId","customAriaLabelledBy","valueChange"]],template:function(a,b){a&1&&(E(0,"b-date-time-input",0),M("valueChange",function(c){return b.change(c)}),G());a&2&&D("required",b.isRequired)("value",
b.googDate)("customFormId",b.inputId)("customAriaLabelledBy",b.ariaLabelledBy)},dependencies:[FS],encapsulation:2});var psc={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"},qsc=new Xc("routes",{providedIn:"root",factory:function(){return psc}}),SX=function(a){this.routes=a};g=SX.prototype;g.createIssue=function(a){return Wp(this.routes.CREATE_ISSUE,{params:a})};g.editIssue=function(a,b){return Xp(this.routes.EDIT_ISSUE(a),{id:a,params:b})};g.listIssues=function(a){return Wp(this.routes.LIST_ISSUES,{params:a})};g.viewSavedSearch=function(a){return Xp(this.routes.VIEW_SAVEDSEARCH(a),{id:a,params:void 0})};
g.viewHotlist=function(a){return Xp(this.routes.VIEW_HOTLIST(a),{id:a})};g.editHotlist=function(a){return Wp(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 Xp(this.routes.VIEW_BOOKMARK_GROUP(a),{id:a})};g.editBookmarkGroup=function(a){return Wp(this.routes.EDIT_BOOKMARK_GROUP(a),{id:a})};
g.editSavedSearch=function(a){return Wp(this.routes.EDIT_SAVED_SEARCH(a),{id:a})};g.dashboard=function(a){return Wp(this.routes.DASHBOARD(a),{id:a})};g.issuesCsvAction=function(a,b,c,d){b=this.toApiSortParamValue(b);c=eZa(c);return nC("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=eZa(c))&&(c="position,"+c);return nC(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 Wp(this.routes.LIST_COMPONENTS,{params:void 0})};g.viewComponent=function(a,b){return Xp(this.routes.VIEW_COMPONENT(a),{id:a,tab:b})};g.manageComponent=function(a,b){return Xp(this.routes.MANAGE_COMPONENT(a),{id:a,tab:b})};
g.createComponent=function(a){return Wp(this.routes.CREATE_COMPONENT,{params:a})};g.editComponent=function(a,b){return Wp(this.routes.EDIT_COMPONENT(a),{id:a,tab:b})};g.createSlo=function(){return Wp(this.routes.CREATE_SLO,{params:void 0})};g.editSlo=function(a){return Wp(this.routes.EDIT_SLO(a),{id:a,tab:void 0})};g.listSlos=function(){return Wp(this.routes.LIST_SLOS,{params:void 0})};g.listHotlists=function(){return this.routes.LIST_HOTLISTS};SX.\u0275fac=function(a){return new (a||SX)(p(qsc))};
SX.\u0275prov=vc({token:SX,factory:SX.\u0275fac,providedIn:"root"});var TX=function(a){this.pathBuilder=a;this.showHovercard=this.removable=!0;this.disabled=!1;this.removeHotlist=new zv};TX.prototype.getAriaLabel=function(a){return"hotlist: "+a.name};TX.\u0275fac=function(a){return new (a||TX)(A(SX))};
TX.\u0275cmp=Lc({type:TX,selectors:[["b-hotlist-chip"]],inputs:{hotlist:"hotlist",removable:"removable",showHovercard:"showHovercard",disabled:"disabled"},outputs:{removeHotlist:"removeHotlist"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"chip",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"name"],[1,"keep-focus-ring",3,"href"],["mat-icon-button","",3,"invisible","click",4,"ngIf"],["card","onedevHovercard"],[3,"hotlist"],["mat-icon-button","",3,"click"],["svgIcon","close"]],template:function(a,
b){a&1&&C(0,gZa,9,11,"ng-container",0);a&2&&D("ngIf",b.hotlist)},dependencies:[dw,hB,LF,QF,wQ,nA],styles:["[_nghost-%COMP%]{margin-right:8px;display:inline-block;vertical-align:middle;white-space:nowrap}.chip.muted[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--c100);color:#5f6368;color:var(--text-muted)}.chip[_ngcontent-%COMP%]{background-color:#e4f7fb;background-color:var(--hotlist-chip-bg);border-radius:10px;display:inline-flex;align-items:center;height:20px;font-size:.75rem;font-weight:normal;padding:0 10px}.chip[_ngcontent-%COMP%]   .mat-icon-button[_ngcontent-%COMP%]{height:25px;width:25px;line-height:25px}.chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:50%}.chip[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}"]});var Yp={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"},rsc={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"},hZa=[Yp,{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"},rsc];var UX=function(){Y.call(this);var a=this;this.defaultAccessLimitLevel$=new W.ReplaySubject(1);this.disabled=!0;this.implicitAccessEnabled=!1;this.updatedAccessLimitLevel=new zv;this.selectedDisplay$=new W.BehaviorSubject(null);this.displays=hZa;this.disabledDropdownTooltip="Only users with Issue Admin permission can adjust restriction levels.";this.currentIssueAccessLimitLevelDisplay$=(0,W.combineLatest)([this.selectedDisplay$,this.defaultAccessLimitLevel$]).pipe(B(function(b){var c=l(b);b=c.next().value;
c=c.next().value;return b?b:ssc(a,c)}));this.issueAccessLimitLevelDisplayTitle$=this.currentIssueAccessLimitLevelDisplay$.pipe(B(function(b){return b.title}));this.defaultAccessLimitLevel$.subscribe(function(b){a.selectedDisplay$.next(ssc(a,b))})};X(UX,Y);UX.\u0275dir=Y.\u0275dir;var ssc=function(a,b){a=l(a.displays);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.accessLevel===b)return c;return Yp};
Vg.Object.defineProperties(UX.prototype,{defaultAccessLimitLevel:{configurable:!0,enumerable:!0,set:function(a){this.defaultAccessLimitLevel$.next(a)}}});UX.\u0275fac=function(a){return new (a||UX)};
UX.\u0275cmp=Lc({type:UX,selectors:[["b-issue-access-limits-dropdown"]],inputs:{defaultAccessLimitLevel:"defaultAccessLimitLevel",disabled:"disabled",implicitAccessEnabled:"implicitAccessEnabled"},outputs:{updatedAccessLimitLevel:"updatedAccessLimitLevel"},features:[nf],decls:13,vars:10,consts:[[1,"access-limits-dropdown"],["mat-button","","mat-stroked-button","","dropdown-menu-button","","type","button",1,"access-limits-dropdown-button","gmat-button","small",3,"matMenuTriggerFor","disabled"],[1,
"selected-access-limit-level-title"],["svgIcon","acl-alias-domain",1,"icon-s"],[1,"selected-access-limit-level-title-text"],["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"],["accessLimitsMenu","matMenu"],["mat-menu-item","","class","access-limit-level-option",3,"click",4,"ngFor","ngForOf"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",1,"icon-s",
"valign-middle",3,"matTooltip"],["mat-menu-item","",1,"access-limit-level-option",3,"click"],[1,"access-limit-level-title"],[1,"icon-s",3,"svgIcon"],[1,"access-limit-level-title-text"],[1,"access-limit-level-description"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"button",1),T(2,"async"),E(3,"span",2),I(4,"mat-icon",3),E(5,"span",4),R(6),T(7,"async"),G()(),I(8,"mat-icon",5),G(),C(9,iZa,1,1,"mat-icon",6),E(10,"mat-menu",7,8),C(12,jZa,7,3,"button",9),G()());if(a&2){var c=Q(11),d;y();D("matMenuTriggerFor",
c)("disabled",b.disabled);pf("aria-label","Issue Access level, "+(null!==(d=null==(d=V(2,6,b.selectedDisplay$))?null:d.title)&&void 0!==d?d:"Default access"));y(5);S(" ",V(7,8,b.issueAccessLimitLevelDisplayTitle$)," ");y(3);D("ngIf",b.disabled);y(3);D("ngForOf",b.displays)}},dependencies:[hw,dw,hB,nA,HC,FC,GC,PC,mw],styles:[".bv2-material.d-compact .mat-menu-item.access-limit-level-option{height:fit-content;line-height:12px}.bv2-material.d-cozy .mat-menu-item.access-limit-level-option{height:fit-content;line-height:16px}.mat-menu-panel.access-limit-level-options{min-width:320px}.mat-menu-item.access-limit-level-option{height:fit-content;line-height:20px}.mat-menu-item.access-limit-level-option:focus,.mat-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-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 VX=function(a){this.confirmationDialogService=a},tsc=function(a,b,c){return ke(function(d){return d.return(W4b(a.confirmationDialogService,{title:b,content:gh(c)}))})},usc=function(a,b){return ke(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),k;f=!(null==(k=b.ccUsers)||!k.length);d=!d&&!e&&!h&&!f}c=d?c.return(tsc(a,b.confirmationDialogText.noListedUsers.title,
b.confirmationDialogText.noListedUsers.content)):"LIMIT_VIEW"===b.issueAccessLimitLevel&&kZa(b)?c.return(tsc(a,b.confirmationDialogText.loseAccess.title,b.confirmationDialogText.loseAccess.content)):c.return(!0)}else c=c.return(!0);return c})};VX.\u0275fac=function(a){return new (a||VX)(p(lG))};VX.\u0275prov=vc({token:VX,factory:VX.\u0275fac,providedIn:"root"});var vsc=["saveBeforeClosingDialog"],wsc=["deleteDialog"],GZa=function(){return[]},xsc={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?"}},
WX=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U){Y.call(this);var Z=this;this.matDialogService=a;this.cdr=b;this.userApi=c;this.templatesApi=d;this.hotlistApi=e;this.constants=f;this.paths=h;this.butterBar=k;this.analytics=q;this.issueTypeDialog=t;this.componentActions=w;this.documentationLinks=z;this.appEvents=F;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=amc;this.componentId$=new W.ReplaySubject(0);this.component$=this.componentId$.pipe(df(function(la){return Z.componentFridge.watch(la)}));this.trackerId$=
this.component$.pipe(B(function(la){return null==la?void 0:la.trackerId}));this.tracker$=this.trackerId$.pipe(df(function(la){return!la||xn(la)?(0,W.of)(void 0):Z.trackerFridge.watch(la)}));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=ysc(this);
this.priorityChoices=zsc(this);this.severityChoices=Asc(this);this.subscriptions.add(this.tracker$.subscribe(function(la){la&&(Z.trackerCollaboratorGroups=Hi(la.collaboratorGroups));Z.currentTemplate&&Z.currentTemplate.separateCollaboratorGroups(Z.trackerCollaboratorGroups)}))};X(WX,Y);WX.\u0275dir=Y.\u0275dir;g=WX.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(){XX(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 Kq(c.name,d.name)})};
g.removeHotlist=function(a){ua(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;kp(this.analytics,"editTemplate","createHotlist");Ks(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){Ks(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;Yb(a.newSelectionMap,function(d,e){e=Zh(e);if(d!==c[e]){b.currentTemplate.dirty=!0;var f=b.selectedHotlistIds[0].includes(e);d&&!f?(d=b.templateHotlistIds[b.hotlistPickerIndex],sa(d,e)||d.push(e)):!d&&f&&ua(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=l(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);a.cdr.detectChanges()})};g.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&ua(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};
var ysc=function(a){var b=a.constants.editIssueTypes.map(function(c){return{value:c,displayText:QZa(c),altText:a.constants.issueTypesShortDescriptions.get(c)}});return[nsc].concat(b)},QZa=function(a){return a===nsc.value?a:ln(a)};WX.prototype.getDateValue=function(a){return a};WX.prototype.getListFieldType=function(a){return a};
var JZa=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},yZa=function(a){"VULNERABILITY"===a.currentTemplateRow.issueType||"PRIVACY_ISSUE"===a.currentTemplateRow.issueType?nG(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)},zsc=function(a){return[nsc].concat(a.constants.priorities.map(function(b){return{value:b,displayText:b}}))},Asc=function(a){return[nsc].concat(a.constants.severities.map(function(b){return{value:b,displayText:b}}))};WX.prototype.setCustomField=function(a,b,c){a.editableTemplate.setCustomField(b,null!==c?c:void 0)};
var PZa=function(a){a.currentTemplate=null;a.currentTemplateRow=null;a.currentIndex=-1;XX(a)},oZa=function(a,b){var c=a.currentIndex;Bsc(a,function(){b.index===c?PZa(a):a.openEditor(b.index)})},Csc=function(a){a.templateHotlistIds.push([]);Bsc(a,function(){a.openEditor()})},qZa=function(a,b){return 0<=b.index&&b.index===a.currentIndex},sZa=function(a,b){var c;return 0<=b.index&&!(null==(c=a.templates[b.index])?0:c.default)},OZa=function(a){var b,c,d,e,f,h,k,q,t,w,z,F,J,H;return ke(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 me(O,usc(a.confirmIssueAccessLimitSettingsService,{assigneeUser:a.currentTemplate.assignee,verifierUser:a.currentTemplate.verifier,ccUsers:a.currentTemplate.cc,collaboratorsUsers:[].concat(r(c),r(e)),issueAccessLimitLevel:a.currentTemplate.issueAccessLimitLevel,currentUserEmail:a.activeSession.getUserEmail(),canEditIssuesInComponent:!0,
confirmationDialogText:xsc}),2)}f=O.yieldResult;if(!f)return O.return();0>a.currentIndex?(k="creating",q={componentId:a.componentId,default:!1},h=function(P){Ks(a.butterBar,P.name?'Template "'+P.name+'" created.':"Template created.");kp(a.analytics,"template","create");Dsc(a,"create",P.snapshot);Esc(a,"create",P.templateId);a.templates.push(P);a.openEditor(a.templates.length-1)}):(k="updating",t=a.currentIndex,q=a.templates[t],h=function(P){Ks(a.butterBar,P.name?'Template "'+P.name+'" updated.':"Template updated.");
kp(a.analytics,"template","update");Dsc(a,"update",P.snapshot);Esc(a,"update",P.templateId);a.templates[t]=P;PZa(a)});a.currentTemplate.hotlistId=a.templateHotlistIds[a.hotlistPickerIndex];msc(a.currentTemplate,q);Ks(a.butterBar,"Saving template...");z=w=q;F=z.componentId;H=(J=z.templateId)&&"0"!==String(J)?a.templatesApi.update(F,J,w):a.templatesApi.create(F,w);return O.return(H.then(function(P){a.appEvents.templateModified.next(String(a.componentId));h(P);a.cdr.detectChanges()}).catch(function(P){P=
tn(P);a.butterBar.showWarning(P?"Error "+k+" template: "+P:"There was an error "+k+" the template.",0)}))})},pZa=function(a,b){a.matDialogService.open(a.deleteDialog,{data:b}).afterClosed().pipe(ef(a.destroyed$)).subscribe(function(c){c&&Fsc(a,b)})},Fsc=function(a,b){var c=b.index,d;ke(function(e){switch(e.nextAddress){case 1:d=a.templates[c];if(0>c||d.default)return e.return(Promise.resolve());ta(a.templateHotlistIds,c);ta(a.templates,c);a.defaultIndex=a.templates.findIndex(function(f){return f.default});
XX(a);a.cdr.detectChanges();Ks(a.butterBar,"Deleting...");le(e,2,3);return me(e,a.templatesApi.delete(d.componentId,d.templateId),5);case 5:a.appEvents.templateModified.next(String(a.componentId)),Ks(a.butterBar,"Deleted template"),kp(a.analytics,"template","delete"),a.currentIndex===c&&PZa(a);case 3:return ne(e),me(e,a.loadTemplates(),6);case 6:XX(a);a.cdr.detectChanges();oe(e,0);break;case 2:pe(e),a.butterBar.showWarning("Error while deleting template"),e.jumpTo(3)}})},Hsc=function(a,b){b?OZa(a).then(function(){Gsc(a);
a.cdr.detectChanges()}):Gsc(a)},rZa=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};
WX.prototype.openEditor=function(a){var b=this;this.currentIndex=void 0===a?-1:a;if(0>this.currentIndex){this.currentTemplate=Isc(this,{componentId:this.componentId,default:!1,name:"New Template"});this.currentTemplate.dirty=!0;this.updateSelectedHotlists();XX(this);this.cdr.detectChanges();var c;null==(c=document.getElementById("template-name"))||c.focus()}else Jsc(this,this.templates[this.currentIndex]).then(function(d){b.currentTemplate=Isc(b,d);b.hotlistPickerIndex=b.currentIndex;b.updateSelectedHotlists();
XX(b);b.currentTemplate.separateCollaboratorGroups(b.trackerCollaboratorGroups);b.cdr.detectChanges();var e;null==(e=document.getElementById("template-name"))||e.focus()})};
var Jsc=function(a,b){return a.templatesApi.get(b.componentId,b.templateId||0)},Bsc=function(a,b){a.currentTemplate&&a.currentTemplate.isDirty()?(a.afterSaveCheckFunc=b,Ksc(a)):b()},Dsc=function(a,b,c){c&&c.issueAccessLimitLevel&&"LIMIT_NONE"!==c.issueAccessLimitLevel&&kp(a.analytics,Sp.ISSUE_ACCESS_LIMITS,b,"template:"+c.issueAccessLimitLevel)},Esc=function(a,b,c){a.currentTemplate&&0<a.currentTemplate.collaboratorGroups.length&&kp(a.analytics,Sp.QUICK_ADD_COLLABORATORS,b,"template:"+c)},Ksc=function(a){a.matDialogService.open(a.saveBeforeClosingDialog,
{data:a.currentTemplateRow}).afterClosed().pipe(ef(a.destroyed$)).subscribe(function(b){void 0!==b&&Hsc(a,b)})},Gsc=function(a){var b=a.afterSaveCheckFunc;a.afterSaveCheckFunc=null;b&&b()},Isc=function(a,b){return new QX(a.customFieldIds,b)};
WX.prototype.loadCustomFields=function(){var a=this;this.customFieldRows=[];this.customFieldIds={};return this.supportCustomFields?this.componentActions.get(this.componentId).then(function(b){b=l(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 ksc(c,"TEXT"===c.type?"1":"2"))}a.cdr.detectChanges()}).catch(function(){a.butterBar.showWarning("Unable to load custom fields")}):
Promise.resolve()};WX.prototype.loadTemplates=function(){var a=this;this.templates=[];return this.templatesApi.query(this.componentId).then(function(b){a.templates=b;b=l(a.templates);for(var c=b.next();!c.done;c=b.next())c=c.value,c.snapshot.hotlistId?a.templateHotlistIds.push(c.snapshot.hotlistId):a.templateHotlistIds.push([]);a.defaultIndex=a.templates.findIndex(function(d){return d.default});a.cdr.detectChanges()}).catch(function(){a.butterBar.showWarning("Unable to load templates")})};
var XX=function(a){if(0>a.currentIndex)a.templateRows=a.templates.map(function(e,f){return new jsc(f,e)}),a.currentTemplate&&(a.currentTemplateRow=new jsc(-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 jsc(f,e)}));a.currentTemplate&&(a.currentTemplateRow=new jsc(b,a.currentTemplate),c.push(a.currentTemplateRow));d=a.templates.slice(b+1);
c=c.concat(d.map(function(e,f){return new jsc(b+f+1,e)}));a.templateRows=c;a.hotlistPickerIndex=a.currentIndex}},nZa=function(a,b){var c,d,e,f;return ke(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;Ui(Ti(d))&&(d="(unnamed template)");a.defaultIndex=b;Ks(a.butterBar,"Changing default template...");kp(a.analytics,"template","changeDefault");le(h,2,3);return me(h,Lsc(a,c.templateId),5);case 5:Ks(a.butterBar,
"Changed default template to "+d);case 3:return ne(h),me(h,a.loadTemplates(),6);case 6:oe(h,0);break;case 2:e=pe(h),f="Error while changing default message"+(sn(e)?": "+tn(e):"."),a.butterBar.showWarning(f),h.jumpTo(3)}})},Lsc=function(a,b){var c,d;return ke(function(e){if(1==e.nextAddress)return me(e,(0,W.firstValueFrom)(a.component$),2);if(3!=e.nextAddress){c=e.yieldResult;if(!c||c.defaultTemplateId===b)return e.return();c.defaultTemplateId=b;return me(e,a.componentActions.update(c),3)}d=e.yieldResult;
a.componentFridge.announce(d);a.appEvents.templateModified.next(String(d.componentId));qe(e)})};WX.\u0275fac=function(a){return new (a||WX)(A(EA),A(EF,2),A(BI),A(tH),A(qI),A(DG),A(iI),A(hG),A(MI),A(mG),A(xR),A(jG),A(RH),A(hH),A(ZJ),A(oH),A(VX),A(nt))};
WX.\u0275cmp=Lc({type:WX,selectors:[["b-edit-templates"]],viewQuery:function(a,b){a&1&&(Uf(vsc,5),Uf(wsc,5));if(a&2){var c;Yf(c=Zf())&&(b.saveBeforeClosingDialog=c.first);Yf(c=Zf())&&(b.deleteDialog=c.first)}},inputs:{componentId:"componentId",supportCustomFields:"supportCustomFields"},features:[bg([EF]),nf],decls:21,vars:2,consts:[[1,"component-banner","template-help-banner"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[1,"templates-list"],[1,"template-column-tool"],[4,"ngFor",
"ngForOf"],[1,"edit-button-row"],["format","fill","bAriaLabel","Create New template in this component",3,"onAction"],["deleteDialog",""],["saveBeforeClosingDialog",""],[4,"ngIf"],["colspan","4",4,"ngIf"],["tabindex","-1",1,"template-row-name"],[1,"template-row-new-issue-link"],["tabindex","0",1,"keep-focus-ring",3,"href"],[3,"id","checked","aria-label","value","change"],["format","hairline",3,"bAriaLabel","onAction"],["format","hairline",3,"bAriaLabel","disabled","onAction"],["colspan","4"],[1,"template-edit-pane",
"template-editor-within-table"],["class","form-header",4,"ngIf"],[1,"cell-1"],[1,"template-label"],["for","template-name"],["id","template-name","type","text",1,"template-field",3,"ngModel","ngModelChange"],["for","template-description"],["id","template-description","type","text",1,"template-field",3,"ngModel","ngModelChange"],"role;region;tabindex;0;aria-label;Standard issue fields".split(";"),[1,"cell-1","access-limit-row"],[1,"access-limit-field"],["for","template-issue-access-limits-dropdown"],
["id","template-issue-access-limits-dropdown",3,"disabled","defaultAccessLimitLevel","implicitAccessEnabled","updatedAccessLimitLevel"],["class","collaborator-group-field",4,"ngIf"],["for","template-title"],["id","template-title","type","text",1,"template-field",3,"ngModel","ngModelChange"],[1,"cell-3"],["for","template-default-type"],["id","template-default-type","type","button","mat-button","",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],[3,
"overlapTrigger"],["typeMenu",""],["mat-menu-item","",3,"disabled","matTooltip","click",4,"ngFor","ngForOf"],["for","template-default-priority"],["id","template-default-priority","type","button","mat-button","",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],["priorityMenu",""],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["for","template-default-severity"],["id","template-default-severity","type","button","mat-button","",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],
["severityMenu",""],[1,"cell-1","bv2-edit-template-hotlists"],["for","template-default-hotlist"],["id","template-default-hotlist",1,"hotlist-picker",3,"selectedHotlistIds","choices","onApply","onCreate","onLoad"],["class","bv2-hotlist-chips",4,"ngFor","ngForOf"],[1,"float-clear"],[1,"cell-2"],["for","template-assignee"],["id","template-assignee","type","text",1,"template-field",3,"bContactAutocomplete","ngModel","ngModelChange"],["for","template-verifier"],["id","template-verifier","type","text",
1,"template-field",3,"bContactAutocomplete","ngModel","ngModelChange"],["for","template-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,"bContactAutocomplete","ngModel","ngModelChange"],["for","template-cc"],["id","template-cc","type","text",
1,"template-field",3,"bContactAutocomplete","ngModel","ngModelChange"],["for","template-comment"],["id","template-comment",1,"template-field",3,"ngModel","ngModelChange"],[3,"initialValue","change"],["for","template-in-prod"],["id","template-in-prod","aria-label","issue in prod",3,"model","modelChange"],"role;region;tabindex;0;aria-label;Custom issue fields".split(";"),[3,"class",4,"ngFor","ngForOf"],[1,"buttons-row"],["format","fill",3,"disabled","onAction"],["format","hairline",3,"onAction"],[1,
"form-header"],[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,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["mat-menu-item","",3,"disabled","matTooltip","click"],["mat-menu-item","",3,"disabled","click"],[1,"bv2-hotlist-chips"],
[3,"hotlist","removeHotlist"],[3,"for"],[3,"ngSwitch"],["class","template-field","type","text",3,"ngModel","ngModelChange",4,"ngSwitchCase"],["class","template-field","type","number","step","any",3,"ngModel","ngModelChange",4,"ngSwitchCase"],[3,"type","name","clearable","value","choices","valueChange",4,"ngSwitchCase"],[3,"boundValue","boundValueChange",4,"ngSwitchCase"],[3,"defaultLineCount","type","values","enumChoices","truncate","valuesChange",4,"ngSwitchDefault"],["type","text",1,"template-field",
3,"ngModel","ngModelChange"],["type","number","step","any",1,"template-field",3,"ngModel","ngModelChange"],[3,"type","name","clearable","value","choices","valueChange"],[3,"boundValue","boundValueChange"],[3,"defaultLineCount","type","values","enumChoices","truncate","valuesChange"],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"mat-dialog-close"],["color","primary","mat-flat-button","",1,"gmat-button","medium","confirm",3,"mat-dialog-close"],
["mat-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["cdkFocusInitial","","color","primary","mat-flat-button","",1,"gmat-button","medium","confirm",3,"mat-dialog-close"]],template:function(a,b){a&1&&(E(0,"div")(1,"div",0),R(2," A template is a set of default values for new issues created in this component. "),E(3,"a",1),R(4,"Learn more"),G()(),E(5,"table",2)(6,"tr")(7,"th"),R(8,"TEMPLATE"),G(),E(9,"th",3),R(10,"DEFAULT"),G(),I(11,"th",3)(12,"th",3),G(),C(13,SZa,3,2,"tr",4),G(),E(14,"div",
5)(15,"b-button",6),M("onAction",function(){return Csc(b)}),R(16," Create New Template "),G()(),C(17,TZa,7,3,"ng-template",null,7,jg)(19,UZa,9,4,"ng-template",null,8,jg),G());a&2&&(y(3),D("href","https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/templates",Pd),y(10),D("ngForOf",b.templateRows))},dependencies:[eQ,hw,dw,iw,jw,kw,hB,ZM,rU,Dg,Qw,Hw,Ow,TX,ZU,RX,LU,nA,FA,HA,IA,lW,nU,hP,dB,pN,oN,qA,PC,yP,HC,FC,GC,UX],styles:["[_nghost-%COMP%]     mat-form-field.static-label{width:180px;margin-top:3px;font-size:1rem}[_nghost-%COMP%]     mat-form-field.static-label .mat-form-field-infix{padding:4px}[_nghost-%COMP%]     mat-form-field.static-label .mat-select-arrow-wrapper{transform:translateY(50%)}.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 YX=function(){};YX.\u0275fac=function(a){return new (a||YX)};YX.\u0275mod=Nc({type:YX});YX.\u0275inj=wc({imports:[SH,YS]});var ZX=function(a,b){this.hotlists=a;this.userAccess=b;this.id$=new W.ReplaySubject(1);this.removeHotlist=new zv;this.removable=!0;this.hotlist$=this.id$.pipe(df(this.hotlists.watch));this.isDisabled$=(0,W.combineLatest)([this.id$,this.id$.pipe(df(this.hotlists.isSaving$))]).pipe(B(function(c){var d=l(c);c=d.next().value;d=d.next().value;return null==c?!1:d?!0:!1}))};
ZX.prototype.ngOnInit=function(){var a=this;this.removable$="check-acl"===this.removable?this.id$.pipe(df(function(b){return zH(a.userAccess,"appender","hotlists/"+b)})):(0,W.of)(this.removable)};Vg.Object.defineProperties(ZX.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.idInternal=String(a);this.id$.next(String(a))}}});ZX.\u0275fac=function(a){return new (a||ZX)(A(CI),A(xH))};
ZX.\u0275cmp=Lc({type:ZX,selectors:[["b-hotlist-chip-smart"]],inputs:{id:"id",removable:"removable"},outputs:{removeHotlist:"removeHotlist"},decls:4,vars:9,consts:[[3,"hotlist","disabled","removable","removeHotlist"]],template:function(a,b){a&1&&(E(0,"b-hotlist-chip",0),M("removeHotlist",function(){null==b.idInternal?Xj("Missing id"):b.removeHotlist.emit()}),T(1,"async"),T(2,"async"),T(3,"async"),G());if(a&2){var c;D("hotlist",V(1,3,b.hotlist$))("disabled",!0===V(2,5,b.isDisabled$))("removable",null!==
(c=V(3,7,b.removable$))&&void 0!==c?c:!1)}},dependencies:[TX,mw],encapsulation:2,changeDetection:0});var $X=function(){};$X.\u0275fac=function(a){return new (a||$X)};$X.\u0275mod=Nc({type:$X});$X.\u0275inj=wc({imports:[SH,aN,gR,$C]});var aY=function(){};aY.\u0275fac=function(a){return new (a||aY)};aY.\u0275mod=Nc({type:aY});aY.\u0275inj=wc({imports:[SH,$C,IC,JD,DP]});var bY=function(){};bY.\u0275fac=function(a){return new (a||bY)};bY.\u0275mod=Nc({type:bY});bY.\u0275inj=wc({imports:[fQ,SH,PN,sU,dx,$X,LX,YX,MU,$C,kN,JA,sX,oU,WK,iP,qN,rA,JD,DP,IC,aY]});var cY=function(a,b,c,d,e){this.appSearchState=b;this.analytics=c;this.domSafe=d;this.currentTracker=e;this.enableEstado=tE(a,"enableEstado")};cY.prototype.openInEstado=function(){kp(this.analytics,"listIssues","addOns","Estado");this.domSafe.openInNewTab("http://go/estado/dashboard-lite/buganizer?buganizer-query="+encodeURIComponent(this.appSearchState.currentQuery))};cY.\u0275fac=function(a){return new (a||cY)(p(nt),p(KM),p(MI),p(IE),p(IM))};cY.\u0275prov=vc({token:cY,factory:cY.\u0275fac,providedIn:"root"});var dY=function(a,b){this.sloStatusHelpersService=a;this.dateFormatter=b;this.timeDisplayText="--";this.rawObjectiveDisplayText=this.objectiveDisplayText=null;this.cardActionText="--";this.sloEndTimeDisplayText=(0,W.of)("--");this.SloRuleDayType=f1b;this.iconName="slo-status-no-data"};dY.prototype.getIconName=function(a){return Msc.has(a)?Msc.get(a):"slo-status-no-data"};
var Nsc=function(a,b,c){a.iconName=a.getIconName(b);c=null!==c?mkc(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:Xj("unknown status type: "+b)}};
dY.prototype.ngOnChanges=function(){var a=Date.now()/1E3;if(this.sloBounds&&BK(this.sloBounds)){var b=this.sloBounds.targetTime.seconds,c=b-this.sloBounds.startTime.seconds;c?this.objectiveDisplayText=mkc(1E3*c):this.objectiveDisplayText=null;var d,e,f;this.rawObjectiveDisplayText=mkc(1E3*((null!=(e=null==(d=this.sloBounds.objective)?void 0:d.seconds)?e:0)+86400*(null!=(f=this.sloBounds.businessDays)?f:0)));this.sloEndTimeDisplayText=zS(this.dateFormatter,new Date(1E3*b));c=this.sloBounds;BK(c)&&
c.endTime&&0!==c.endTime.seconds&&c.endTime.seconds<=Date.now()/1E3?(b=this.sloBounds.endTime.seconds,this.sloEndTimeDisplayText=zS(this.dateFormatter,new Date(1E3*b)),Nsc(this,"COMPLETED",a-b)):b<a?Nsc(this,"OUT_OF_SLO",a-b):(c=this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime),a=b-a,Nsc(this,259200<a?c?"SNOOZED_HEALTHY":"HEALTHY":c?"SNOOZED_NEAR":"NEAR",a))}else Nsc(this,"NO_DATA",null),this.rawObjectiveDisplayText=this.objectiveDisplayText=null};
dY.\u0275fac=function(a){return new (a||dY)(A(AK),A(yS))};
dY.\u0275cmp=Lc({type:dY,selectors:[["b-slo-time-indicator"]],inputs:{sloBounds:"sloBounds",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSnoozeDetails:"includeSnoozeDetails",sloMetricDescription:"sloMetricDescription",includeObjective:"includeObjective"},features:[ed],decls:16,vars:13,consts:[[3,"ngClass","svgIcon"],[1,"slo-time-indicator-text",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"slo-status-text"],["card",""],["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"],["dayTypeCalendar",""]],template:function(a,b){a&1&&(I(0,"mat-icon",0),E(1,"span",1)(2,"span",2),R(3),G()(),E(4,"onedev-hovercard",null,3)(6,"div",4)(7,"div",5)(8,"div"),R(9),G(),E(10,"div",6),R(11),T(12,"async"),G(),C(13,VZa,5,2,"ng-container",7),G()()(),C(14,WZa,2,1,"ng-template",null,8,jg));if(a&2){var c=Q(5),d=Q(15);D("ngClass",b.iconName)("svgIcon",b.iconName);
pf("aria-label","--"===b.timeDisplayText?"No SLO data":"");y();D("onedevHovercardTrigger",c)("onedevHovercardActive",!(!b.includeObjective||!b.rawObjectiveDisplayText));y(2);$f(b.timeDisplayText);y(6);$f(b.timeDisplayText);y(2);ag(" ",b.cardActionText," ",V(12,11,b.sloEndTimeDisplayText)," ");y(2);D("ngIf",(null==b.sloBounds?null:b.sloBounds.dayType)===b.SloRuleDayType.BUSINESS)("ngIfElse",d)}},dependencies:[gw,dw,hB,LF,QF,mw],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 Msc=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 eY=function(a){this.sloStatusHelpersService=a;this.includeNoSlo=!1};eY.prototype.ngOnInit=function(){Osc(this);this.hasSlo=!!this.sloStatus&&b8b(this.sloStatus)};eY.prototype.ngOnChanges=function(){Osc(this)};var Osc=function(a){a.sloStatus&&(a.assignmentSlo=Psc(zi(a.sloStatus.assignmentBounds)),a.responseSlo=Psc(zi(a.sloStatus.responseBounds)),a.closureSlo=Psc(zi(a.sloStatus.closureBounds)))};eY.prototype.isSloStartTimeApplied=function(){return this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime)};
var Psc=function(a){if(BK(a))return a};eY.\u0275fac=function(a){return new (a||eY)(A(AK))};
eY.\u0275cmp=Lc({type:eY,selectors:[["b-slo-status-summary"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeNoSlo:"includeNoSlo",onlyShowMetric:"onlyShowMetric"},features:[ed],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&&C(0,XZa,2,4,"div",0)(1,YZa,2,4,"div",0)(2,ZZa,2,4,"div",0);a&2&&(D("ngIf",(b.includeNoSlo||b.assignmentSlo)&&(!b.onlyShowMetric||"ASSIGNMENT"==b.onlyShowMetric)),y(),D("ngIf",(b.includeNoSlo||b.responseSlo)&&(!b.onlyShowMetric||"RESPONSE"==b.onlyShowMetric)),y(),D("ngIf",(b.includeNoSlo||b.closureSlo)&&(!b.onlyShowMetric||"CLOSURE"==b.onlyShowMetric)))},dependencies:[dw,dY],encapsulation:2,changeDetection:0});var fY=function(a,b,c,d){this.sloStatusHelpersService=a;this.paths=b;this.analytics=c;this.sloApi=d};fY.prototype.ngOnInit=function(){this.hasSlo=!!this.sloStatus&&c8b(this.sloStatus,this.onlyShowMetric);"0"!==this.sloId?(this.editSloLink=this.paths.editSlo(this.sloId),Qsc(this)):this.editSloLink=null};fY.prototype.trackOpenSlo=function(){kp(this.analytics,Sp.EDIT_SLO,"open","fromSloStatusCard")};
var Qsc=function(a){a.sloApi.get(a.sloId).then(function(b){a.sloName=b.name}).catch(function(){a.sloName=null})};fY.\u0275fac=function(a){return new (a||fY)(A(AK),A(iI),A(MI),A(IJ))};
fY.\u0275cmp=Lc({type:fY,selectors:[["slo-status-card"]],inputs:{sloId:"sloId",sloStatus:"sloStatus",sloStartTime:"sloStartTime",onlyShowMetric:"onlyShowMetric"},ngContentSelectors:["*"],decls:10,vars:4,consts:[[3,"onedevHovercardTrigger"],["card",""],["role","dialog","aria-label","SLO Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow"],["class","slo-indicators",4,"ngIf"],["class","no-slo-message",4,"ngIf"],[4,"ngIf"],[1,"slo-indicators"],[3,"sloStatus",
"sloStartTime","onlyShowMetric"],[1,"no-slo-message"],["class","slo-link",3,"href","click",4,"ngIf"],[1,"slo-link",3,"href","click"]],template:function(a,b){a&1&&(Lf(),E(0,"span",0),Mf(1),G(),E(2,"onedev-hovercard",null,1)(4,"div",2)(5,"div",3)(6,"div",4),C(7,$Za,2,3,"div",5)(8,c_a,3,2,"div",6)(9,f_a,4,2,"span",7),G()()()());if(a&2){var c=Q(3);D("onedevHovercardTrigger",c);y(7);D("ngIf",b.hasSlo);y();D("ngIf",!b.hasSlo);y();D("ngIf",b.editSloLink)}},dependencies:[dw,LF,QF,eY],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 Rsc=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};Rsc.\u0275fac=function(a){return new (a||Rsc)(A(DA))};
Rsc.\u0275cmp=Lc({type:Rsc,selectors:[["b-column-picker-custom-dialog"]],decls:9,vars:4,consts:[["mat-dialog-title",""],[3,"filter","fieldSelected"],["mat-button","",1,"gmat-button","medium","cancel",3,"mat-dialog-close"],["mat-flat-button","",1,"gmat-button","medium","dialog-primary-action","confirm",3,"disabled","mat-dialog-close"]],template:function(a,b){a&1&&(E(0,"h1",0),R(1),G(),E(2,"mat-dialog-content")(3,"b-custom-field-picker",1),M("fieldSelected",function(c){return b.selectedCustomField=
c}),G()(),E(4,"mat-dialog-actions")(5,"button",2),R(6," Cancel "),G(),E(7,"button",3),R(8," Add "),G()());a&2&&(y(),S("Insert custom field column next to ",b.column.fullLabel,""),y(2),D("filter",b.isLegalColumn),y(4),D("disabled",!b.selectedCustomField)("mat-dialog-close",b.selectedCustomField))},dependencies:[nA,FA,GA,HA,IA,PU],encapsulation:2});var g_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(" "),
Ssc="priority type title assignee status sevenDayViewCount issueId modifiedTime".split(" ");var $p=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)};$p.prototype.toString=function(){return this.isCustomField?"customfield:"+this.name+"["+this.fullLabel+"]":this.name};
var m_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 Tsc=function(a,b,c){this.target=a;this.eventType=b;this.listener=c;this.target.addEventListener(this.eventType,this.listener)};Tsc.prototype.off=function(){this.target.removeEventListener(this.eventType,this.listener)};var Usc=function(){this.bindings=[]};Usc.prototype.off=function(){for(var a=l(this.bindings),b=a.next();!b.done;b=a.next())b.value.off()};
var Vsc=function(a){var b=this;this.params=a;this.mask=document.createElement("div");this.element=this.params.nativeElement;this.eventBindings=new Usc;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()}};
Vsc.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(){Wsc(a,"dragstart",a.onDragTargetDragstart);Wsc(a,"dragenter",a.onDragTargetDragenter);Wsc(a,"dragend",a.onDragTargetDragend);Wsc(a,"selectstart",a.onDragTargetSelectstart);a.eventBindings.bindings.push(new Tsc(a.mask,"dragleave",a.onMaskDragLeave));
a.eventBindings.bindings.push(new Tsc(a.mask,"dragover",a.onMaskDragover));a.eventBindings.bindings.push(new Tsc(a.mask,"drop",a.onMaskDrop))})};var Wsc=function(a,b,c){a.eventBindings.bindings.push(new Tsc(a.element,b,aq("th.drag-target",c)))};Vsc.prototype.tearDown=function(){this.eventBindings.off()};var Xsc=["table"],Ysc=["defaultHeaderCellTemplate"],Zsc=["defaultViewCellTemplate"],$sc=["dataRows"],r_a=function(a){return{column:a}},u_a=function(a,b,c){return{row:a,column:b,index:c}},gY=function(a,b){var c=this;this.activeSession=a;this.ngZone=b;this.headerCellTemplates={};this.viewCellTemplates={};this.list=[];this.columns=[];this.columnsChange=new zv;this.rowClick=new zv;this.rowLabelRenderer=function(d,e){return"Row "+e};this.sortChange=new zv;this.focusedRowIndexChange=new zv;this.afterViewInit=
new zv;this.enableDragDropHeader=!0;this.readUnreadOptOut=tE(this.activeSession,"readUnreadOptOut");this.onDragDropColumn=function(d,e){var f=[].concat(r(c.columns));d=f.splice(d,1)[0];f.splice(e,0,d);c.columns=f;c.columnsChange.emit([].concat(r(c.columns)))};this.onTdClickableClick=aq("td.clickable",function(d,e){if(("mouseup"!==d.type||1===d.button)&&!iac(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})}})};
gY.prototype.ngOnInit=function(){this.enableDragDropHeader&&atc(this);this.tableElement.nativeElement.addEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.addEventListener("mouseup",this.onTdClickableClick)};var atc=function(a){a.dragDropHeaderLogic=new Vsc({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()};
gY.prototype.ngOnChanges=function(a){if(a=a.focusedRowIndex){var b=a.currentValue;null!=b&&b!==a.previousValue&&this.dataRows&&(a=this.dataRows.toArray()[b])&&(zHa(a.nativeElement)||a.nativeElement.scrollIntoView({block:"center"}),this.focus())}};gY.prototype.ngAfterViewInit=function(){this.afterViewInit.emit(this)};
gY.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 btc=function(a){return a.columns.map(function(b){b=b.name;return null!=b?a.viewCellTemplates[b]||a.defaultViewCellTemplate:a.defaultViewCellTemplate})};gY.prototype.renderRowLabel=function(a,b){return this.rowLabelRenderer(a,b)};
gY.prototype.focus=function(){if(null!=this.focusedRowIndex&&null!=this.dataRows){var a=this.dataRows.toArray()[this.focusedRowIndex];a&&a.nativeElement.focus()}};gY.prototype.getColumnIndexForElement=function(a){var b=a.dataset.dragTargetColumnName;return this.columns.findIndex(function(c){return c.name===b})};gY.\u0275fac=function(a){return new (a||gY)(A(nt),A(Ge))};
gY.\u0275cmp=Lc({type:gY,selectors:[["pop-grid"]],viewQuery:function(a,b){a&1&&(Uf(Xsc,7),Uf(Ysc,7),Uf(Zsc,7),Uf($sc,5,Ad));if(a&2){var c;Yf(c=Zf())&&(b.tableElement=c.first);Yf(c=Zf())&&(b.defaultHeaderCellTemplate=c.first);Yf(c=Zf())&&(b.defaultViewCellTemplate=c.first);Yf(c=Zf())&&(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:[ed],decls:13,vars:3,consts:[[1,"pop-grid",3,"mousedown"],["table",""],[3,"class",4,"ngFor","ngForOf"],[1,"header-row"],[4,"ngFor","ngForOf"],[4,"ngIf"],["defaultHeaderCellTemplate",""],["defaultViewCellTemplate",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","0",3,"selected","unread","closed","grid-focus","click",
"focus",4,"ngFor","ngForOf"],["tabindex","0",3,"click","focus"],["dataRows",""],[3,"column"],[3,"row","column"]],template:function(a,b){a&1&&(E(0,"table",0,1),M("mousedown",function(c){c.shiftKey&&window.getSelection().removeAllRanges()}),E(2,"colgroup"),C(3,p_a,1,3,"col",2),G(),E(4,"thead")(5,"tr",3),C(6,s_a,2,4,"ng-container",4),G()(),E(7,"tbody"),C(8,x_a,2,1,"ng-container",5),G()(),C(9,y_a,2,1,"ng-template",null,6,jg)(11,z_a,2,2,"ng-template",null,7,jg));a&2&&(y(3),D("ngForOf",b.columns),y(3),
D("ngForOf",b.columns),y(2),D("ngIf",btc(b)))},encapsulation:2});var hY=function(a,b){this.templateRef=a;this.popGrid=b};hY.prototype.ngOnInit=function(){this.forHeaderCell&&(this.popGrid.headerCellTemplates[this.forHeaderCell]=this.templateRef)};hY.\u0275fac=function(a){return new (a||hY)(A(Rf),A(gY))};hY.\u0275dir=Qc({type:hY,selectors:[["","forHeaderCell",""]],inputs:{forHeaderCell:"forHeaderCell"}});var iY=function(a,b){this.templateRef=a;this.popGrid=b};
iY.prototype.ngOnInit=function(){this.forViewCell&&(this.popGrid.viewCellTemplates[this.forViewCell]=this.templateRef)};iY.\u0275fac=function(a){return new (a||iY)(A(Rf),A(gY))};iY.\u0275dir=Qc({type:iY,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var jY=function(a,b){this.templateRef=a;this.popGrid=b};jY.prototype.ngOnInit=function(){this.popGrid.defaultHeaderCellTemplate=this.templateRef};jY.\u0275fac=function(a){return new (a||jY)(A(Rf),A(gY))};
jY.\u0275dir=Qc({type:jY,selectors:[["","forHeaderCellDefault",""]]});var kY=function(){this.columnLabel=this.columnName="";this.defaultSortDirection="ASC";this.sortChanged=new zv};kY.prototype.ariaLabel=function(){var a=this.columnLabel+", sortable";return this.isActive()?"ASC"===this.sort.direction?a+", sorted ascending":a+", sorted descending":a};kY.prototype.isActive=function(){return!!this.sort&&this.sort.field===this.columnName};
kY.prototype.activate=function(){var a=this.defaultSortDirection;this.isActive()&&(a="ASC"===this.sort.direction?"DESC":"ASC");this.sortChanged.emit({field:this.columnName,direction:a})};kY.\u0275fac=function(a){return new (a||kY)};
kY.\u0275cmp=Lc({type:kY,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&&(E(0,"div",0),M("click",function(){return b.activate()})("keydown.enter",function(c){b.activate();return c.stopPropagation()})("keydown.space",
function(c){b.activate();return c.stopPropagation()}),I(1,"span",1),R(2),G());a&2&&(yf("current-sort",b.isActive())("direction-asc",b.isActive()&&"ASC"===b.sort.direction)("direction-desc",b.isActive()&&"DESC"===b.sort.direction),pf("aria-label",b.ariaLabel()),y(2),S(" ",b.columnLabel," "))},encapsulation:2});var lY=function(a,b){this.elementRef=a;this.grid=b};lY.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}}};lY.prototype.ngOnDestroy=function(){this.cellParent&&delete this.cellParent.dataset.dragTargetColumnName};
lY.\u0275fac=function(a){return new (a||lY)(A(Ad),A(gY,8))};
lY.\u0275cmp=Lc({type:lY,selectors:[["pop-grid-default-th"]],inputs:{column:"column"},decls:3,vars:2,consts:[[1,"pop-grid-default-th"],[3,"columnLabel","columnName","defaultSortDirection","sort","matTooltip","sortChanged",4,"ngIf"],["class","pop-grid-non-sort-header keep-focus-ring","tabindex","0",4,"ngIf"],[3,"columnLabel","columnName","defaultSortDirection","sort","matTooltip","sortChanged"],["tabindex","0",1,"pop-grid-non-sort-header","keep-focus-ring"],["class","a11y-only",4,"ngIf"],[1,"a11y-only"]],
template:function(a,b){a&1&&(E(0,"div",0),C(1,A_a,1,5,"b-sortable-header",1)(2,C_a,3,3,"div",2),G());a&2&&(y(),D("ngIf",b.column.sortable),y(),D("ngIf",!b.column.sortable))},dependencies:[dw,PC,kY],encapsulation:2});var J_a=function(a,b){return{columns:a,before:b}},ctc=function(){return{before:!1}},dtc=function(){return{before:!0}},mY=function(a,b,c,d,e,f){Y.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 zv;this.onAddTeamColumn=new zv;this.currentAvailableItems=[];this.isRemovable=!0;this.menuOpen=!1;this.listViewPrefs=YD.listViewPreferences;b.preferences$.pipe(ef(this.destroyed$)).subscribe(function(k){h.listViewPrefs=
k.listViewPreferences||YD.listViewPreferences})};X(mY,Y);mY.\u0275dir=Y.\u0275dir;mY.prototype.ngOnChanges=function(a){a.selectedColumns&&etc(this)};
var ftc=function(a){a.selectedColumnsChange.emit([].concat(r(a.selectedColumns)));etc(a)},E_a=function(a,b){var c=Object.assign({},a.listViewPrefs),d=F_a(b),e=d.get;d=d.set;d(c,!e(c));a.activeSession.isAnonymous()||Ks(a.butterBar,"Saving display preference...",0);a.userPreferencesManager.save({listViewPreferences:c}).pipe(Ue(),ef(a.destroyed$)).subscribe(function(){kp(a.analytics,"preferences","setListViewPref:"+b,e(c).toString());a.listViewPrefs=c;a.activeSession.isAnonymous()||Ks(a.butterBar,"Display preference saved.",
4E3)},function(){a.activeSession.isAnonymous()||a.butterBar.showWarning("Display preference could not be saved.")})},M_a=function(a,b){a.hotkeys.pause();a.matDialog.open(Rsc,{data:{column:a.column,columns:a.selectedColumns},position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"}).afterClosed().pipe(ef(a.destroyed$)).subscribe({next:function(c){c&&a.add(c,b)},error:function(){a.hotkeys.unpause()},complete:function(){a.hotkeys.unpause()}})},etc=function(a){for(var b={},c=l(a.selectedColumns),
d=c.next();!d.done;d=c.next())b[d.value.name]=!0;var e=a.availableColumns.filter(function(f){return!Rda(b,f.name)});c=[].concat(r(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(r(d),r(c));a.currentAvailableItems.sort(function(f,h){return Kq(f instanceof $p?f.fullLabel:f.label,h instanceof
$p?h.fullLabel:h.label)});a.isRemovable=gtc(a)};mY.prototype.isIssueGridColumn=function(a){return a instanceof $p};mY.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,ftc(this),!0}return!1};
mY.prototype.add=function(a,b){var c=this;this.menuTrigger.closeMenu();a="customFieldId"in a&&a.customFieldId?new $p({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(r(this.selectedColumns));this.selectedColumns.splice(b,0,a);ftc(this);return!0};
var gtc=function(a){return 1<a.selectedColumns.filter(function(b){return!b.isMetadata}).length};mY.\u0275fac=function(a){return new (a||mY)(A(EA),A(BE),A(hG),A(MI),A(VM),A(nt))};
mY.\u0275cmp=Lc({type:mY,selectors:[["b-column-picker"]],viewQuery:function(a,b){a&1&&Uf(GC,5);if(a&2){var c;Yf(c=Zf())&&(b.menuTrigger=c.first)}},inputs:{column:"column",availableColumns:"availableColumns",selectedColumns:"selectedColumns"},outputs:{selectedColumnsChange:"selectedColumnsChange",onAddTeamColumn:"onAddTeamColumn"},features:[nf,ed],decls:20,vars:11,consts:[[1,"bv2-column-picker-container"],[1,"bv2-columnheader-content"],[3,"column"],["mat-button","","tabindex","0","role","button","class",
"columnpicker-button",3,"matMenuTriggerFor","columnpicker-button-active","menuOpened","menuClosed","keydown.enter","keydown.space",4,"ngIf"],[1,"columnpicker-menu"],["pickerMenu","matMenu"],["mat-menu-item","","class","checkbox-item",3,"b-menu-item-checked","click",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-menu-item","",3,"disabled","click"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],["addColumnMenu","matMenu"],["matMenuContent",""],["columnGroupMenu","matMenu"],["mat-button","",
"tabindex","0","role","button",1,"columnpicker-button",3,"matMenuTriggerFor","menuOpened","menuClosed","keydown.enter","keydown.space"],["menuTrigger","matMenuTrigger"],["mat-menu-item","",1,"checkbox-item",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-description"],["mat-menu-item","",3,"click"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"matTooltip","click","keydown.enter",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData",
4,"ngIf"],["mat-menu-item","",3,"matTooltip","click","keydown.enter"],["mat-menu-item","",3,"click","keydown.enter",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","keydown.enter"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1),I(2,"pop-grid-default-th",2),G(),C(3,D_a,2,4,"div",3),E(4,"mat-menu",4,5),C(6,G_a,4,3,"button",6)(7,H_a,1,0,"mat-divider",7),E(8,"button",8),M("click",function(){return b.remove()}),R(9," Remove column "),G(),E(10,"button",9),R(11," Add column right "),G(),E(12,"button",
9),R(13," Add column left "),G()(),E(14,"mat-menu",null,10),C(16,N_a,4,1,"ng-template",11),G(),E(17,"mat-menu",null,12),C(19,P_a,1,1,"ng-template",11),G()());if(a&2){var c=Q(15);y(2);D("column",b.column);y();D("ngIf",!0);y(3);D("ngForOf",b.column.moreOptions);y();D("ngIf",b.column.moreOptions.length);y();D("disabled",!b.isRemovable);y(2);D("matMenuTriggerFor",c)("matMenuTriggerData",eg(9,ctc));y(2);D("matMenuTriggerFor",c)("matMenuTriggerData",eg(10,dtc))}},dependencies:[hw,dw,HC,FC,GC,EC,zP,PC,yP,
lY],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-menu-content button.mat-menu-item{line-height:0px;padding:5px 32px 5px 16px;white-space:normal;font-family:Roboto,Arial,sans-serif}  .columnpicker-menu .mat-menu-content button.mat-menu-item.checkbox-item{padding-left:24px}  .columnpicker-menu .mat-menu-content button.mat-menu-item .b-menu-item-check-mark{top:50%;transform:translate(0, -50%)}/*# sourceMappingURL=column_picker.css.map */']});var jtc=function(a){var b=this;this.params=a;this.element=this.params.nativeElement;this.dropzone=document.createElement("div");this.onTdDragStart=aq("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=aq("tr",function(c,d){if(b.draggedRow&&b.dragTargetRow!==d&&d.closest("tbody")&&
d!==b.draggedRow){htc(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=aq("tr",function(){b.draggedRow&&(htc(b.draggedRow),htc(b.dragTargetRow),b.draggedRow.setAttribute("aria-grabbed",
"false"),b.draggedRow=b.dragTargetRow=void 0)});this.onTrDragLeave=aq("tr",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragEnter=aq(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragLeave=aq(".row-dropzone",function(c){htc(b.dragTargetRow);itc(b);c.stopPropagation();c.preventDefault()});this.onDropzoneDragOver=aq(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDrop=aq(".row-dropzone",function(c){itc(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()})};
jtc.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");itc(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)})};
jtc.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 htc=function(a){a&&(a.classList.remove("drag-over"),a.classList.remove("above"),a.classList.remove("below"),a.classList.remove("dragging"))},itc=function(a){a.dropzone.style.display="none"};var nY=function(a){this.sloStatusHelpersService=a;this.includeObjective=this.includeSloMetric=!1;this.firstOpenSlo=null;this.firstOpenSloMetric=""};nY.prototype.ngOnInit=function(){ktc(this)};nY.prototype.ngOnChanges=function(a){(a.sloStatus||a.includeSloMetric)&&ktc(this)};var ktc=function(a){var b=d8b(a.sloStatus);b?(a.firstOpenSlo=b.sloBounds,a.includeSloMetric?a.firstOpenSloMetric=b.sloMetric:a.firstOpenSloMetric=""):(a.firstOpenSlo=null,a.firstOpenSloMetric="")};
nY.\u0275fac=function(a){return new (a||nY)(A(AK))};
nY.\u0275cmp=Lc({type:nY,selectors:[["b-aggregated-slo-status-indicator"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSloMetric:"includeSloMetric",includeObjective:"includeObjective"},features:[ed],decls:1,vars:5,consts:[[3,"sloBounds","sloMetricDescription","sloStartTime","sloEndTime","includeObjective"]],template:function(a,b){a&1&&I(0,"b-slo-time-indicator",0);a&2&&D("sloBounds",b.firstOpenSlo)("sloMetricDescription",b.firstOpenSloMetric)("sloStartTime",
b.sloStartTime)("sloEndTime",b.sloEndTime)("includeObjective",b.includeObjective)},dependencies:[dY],encapsulation:2,changeDetection:0});var ltc=function(){};ltc.\u0275fac=function(a){return new (a||ltc)};ltc.\u0275cmp=Lc({type:ltc,selectors:[["archived-issue-indicator"]],decls:3,vars:0,consts:[["aria-hidden","true","svgIcon","archive_24px"]],template:function(a){a&1&&(E(0,"span"),I(1,"mat-icon",0),R(2,"Archived "),G())},dependencies:[hB],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 oY=function(){};oY.\u0275fac=function(a){return new (a||oY)};oY.\u0275mod=Nc({type:oY});oY.\u0275inj=wc({imports:[SH]});var pY=function(a){this.bFocus=!0;this.nativeElement=a.nativeElement};pY.prototype.ngOnInit=function(){this.bFocus&&this.nativeElement.focus()};pY.prototype.ngOnChanges=function(){this.bFocus&&this.nativeElement.focus()};pY.\u0275fac=function(a){return new (a||pY)(A(Ad))};pY.\u0275dir=Qc({type:pY,selectors:[["","bFocus",""]],inputs:{bFocus:"bFocus"},features:[ed]});var qY=function(){};qY.\u0275fac=function(a){return new (a||qY)};qY.\u0275mod=Nc({type:qY});qY.\u0275inj=wc({});var mtc=function(a){this.internalArray_=m(a,0,mtc.messageId)};X(mtc,n);mtc.repeatedFields_=[1];mtc.messageId="b.ListStatusUpdateHistoryResponse";var rY=function(a){this.executor=a};rY.prototype.get=function(a,b){return this.executor.get({url:A4b(a),responseConstructor:jE,options:{params:{issueCommentView:String(l1b[void 0===b?"MARKDOWN":b])}}}).pipe(B(cm))};rY.prototype.update=function(a){var b=this.executor,c=b.post,d=A4b(a.issueId);a=(new jE).setIt(Rva(a));return c.call(b,{url:d,body:a,responseConstructor:jE}).pipe(B(cm))};rY.prototype.delete=function(a){return this.executor.delete({url:A4b(a),responseConstructor:null})};
var ntc=function(a,b){return a.executor.get({url:"action/issues/"+b+"/statusUpdateHistory",responseConstructor:mtc,options:{params:{issueCommentView:String(l1b.MARKDOWN)}}}).pipe(B(function(c){return gi(c,jE,1,hi()).map(cm)}))};rY.\u0275fac=function(a){return new (a||rY)(p(QD))};rY.\u0275prov=vc({token:rY,factory:rY.\u0275fac,providedIn:"root"});var otc=function(a){this.internalArray_=m(a,0,otc.messageId)};X(otc,n);g=otc.prototype;g.getComponentId=function(){return $t(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return $t(this,1)};g.getComponentId_asString=function(){return fj(this,1)};g.setComponentId=function(a){return yj(this,1,a)};g.hasComponentId=function(){return null!=ej(this,1)};g.getText=function(){return Zi(this,2)};g.setText=function(a){return Lh(this,2,a)};otc.messageId="b.CheckBannedWordsRequest";var ptc=function(a){this.internalArray_=m(a,0,ptc.messageId)};X(ptc,n);ptc.repeatedFields_=[1];ptc.messageId="b.CheckBannedWordsResponse";var sY=function(a){this.executor=a};sY.prototype.checkBannedWords=function(a){a=(new otc).setComponentId(a.componentId).setText(a.text);return this.executor.post({url:"action/check_banned_words",body:a,responseConstructor:ptc}).pipe(B(Q_a))};sY.\u0275fac=function(a){return new (a||sY)(p(QD))};sY.\u0275prov=vc({token:sY,factory:sY.\u0275fac,providedIn:"root"});var tY=function(a){this.observableApi=a};tY.prototype.checkBannedWords=function(a){return(0,W.firstValueFrom)(this.observableApi.checkBannedWords(a))};
tY.\u0275fac=function(a){return new (a||tY)(p(sY))};tY.\u0275prov=vc({token:tY,factory:tY.\u0275fac,providedIn:"root"});var uY=function(a,b,c,d){Y.call(this);this.bannedWordsApi=a;this.activeSession=b;this.errorHandler=c;this.analytics=d;this.matchedPatterns=[];this.warningState="INITIAL";this.enableBannedWordsCheck=tE(this.activeSession,"enableBannedWordsCheck");this.isUserInternal=this.activeSession.isInternalSession()};X(uY,Y);uY.\u0275dir=Y.\u0275dir;
uY.prototype.check=function(a,b,c){var d=this;return ke(function(e){if(!(d.enableBannedWordsCheck&&d.isUserInternal&&b&&c))return e.return(!0);switch(d.warningState){case "INITIAL":return e.return(qtc(d,String(c),a));case "SHOW_WARNING":return d.warningState="SKIP_WARNING",kp(d.analytics,Sp.BANNED_WORDS,"skipBannedWordsCheck",bq(d)),e.return(!0);default:return e.return(!0)}})};
var qtc=function(a,b,c){var d,e;return ke(function(f){if(1==f.nextAddress)return le(f,2),me(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",kp(a.analytics,Sp.BANNED_WORDS,"failBannedWordsCheck",bq(a)),f.return(!1)):f.return(!0);e=pe(f);CG(a.errorHandler,e);return f.return(!0)})},bq=function(a){return a.matchedPatterns.join(", ")};
uY.prototype.showWarning=function(){return"SHOW_WARNING"===this.warningState};uY.prototype.reset=function(){this.matchedPatterns=[];this.warningState="INITIAL"};uY.\u0275fac=function(a){return new (a||uY)(p(tY),p(nt),p(AG),p(MI))};uY.\u0275prov=vc({token:uY,factory:uY.\u0275fac});var vY=function(){var a=this;this.checks=[];this.beforeUnloadEventHandler=function(b){if(a.checks.some(function(c){return c.dataChanged()}))return b.preventDefault(),b.returnValue="","You have unsaved changes in your form."};window.addEventListener("beforeunload",this.beforeUnloadEventHandler)};vY.prototype.ngOnDestroy=function(){this.checks=[];window.removeEventListener("beforeunload",this.beforeUnloadEventHandler)};
var wY=function(a,b,c){var d={dataChanged:b,triggerOnSearch:c};a.checks.push(d);return new W.Subscription(function(){a.checks=a.checks.filter(function(e){return e!==d})})};vY.prototype.canDeactivate=function(a,b,c,d){a:{a=xD(c.url).getPath()===xD(d.url).getPath();b=l(this.checks);for(c=b.next();!c.done;c=b.next())if(c=c.value,a){if(c.triggerOnSearch&&c.dataChanged()){a=!0;break a}}else if(c.dataChanged()){a=!0;break a}a=!1}return a?rtc()?(this.checks=[],!0):!1:!0};var rtc=function(){return window.confirm("You have unsaved changes; are you sure you want to navigate away without saving?")};
vY.\u0275fac=function(a){return new (a||vY)};vY.\u0275prov=vc({token:vY,factory:vY.\u0275fac,providedIn:"root"});var stc=function(a){return[a]},xY=function(a){this.matDialog=a};xY.prototype.show=function(a,b,c){"LITERAL"===a.formattingMode&&(a.formattingMode="PLAIN");this.dialog=this.matDialog.open(yY,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{componentId:c,formattingAudience:b,statusUpdate:a}});return(0,W.firstValueFrom)(this.dialog.afterClosed())};xY.\u0275fac=function(a){return new (a||xY)(p(EA))};xY.\u0275prov=vc({token:xY,factory:xY.\u0275fac,providedIn:"root"});
var yY=function(a,b,c,d,e,f){Y.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=OD;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=
Uh(this.origStatusUpdate);this.subscriptions.add(wY(e,function(){return h.isModified()},!1))};X(yY,Y);yY.\u0275dir=Y.\u0275dir;var ttc=function(a){var b,c;return null!=(c=qFa(null==(b=a.newStatusUpdate)?void 0:b.updateText))?c:""};g=yY.prototype;g.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(ef(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(ef(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!Th(this.newStatusUpdate,this.origStatusUpdate)};g.asNumber=function(a){return Number(a)};
g.closeDialogForSave=function(){var a=this,b,c,d;return ke(function(e){if(1==e.nextAddress)return a.isModified()?me(e,a.bannedWordsChecker.check(a.newStatusUpdate.updateText,"EXTERNAL_AUDIENCE"===a.formattingAudience,a.data.componentId),2):e.return();b=e.yieldResult;if(!b)return null==(c=a.commentDraft)||ggc(c),e.return();null==(d=a.dialogService.dialog)||d.close(a.newStatusUpdate);qe(e)})};yY.\u0275fac=function(a){return new (a||yY)(A(nt),A(DA),A(xY),A(BA),A(vY),A(uY))};
yY.\u0275cmp=Lc({type:yY,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&Uf(lP,5);if(a&2){var c;Yf(c=Zf())&&(b.commentDraft=c.first)}},features:[bg([uY]),nf],decls:19,vars:17,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"content","textareaClass","contentChange","onSubmit"],["class","char-limit-warning",4,"ngIf"],["class","banned-words-warning break-word",4,"ngIf"],[1,"inline-block",3,"initialValue",
"change"],["class","clamper line-clamp-4","tabindex","0",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-flat-button","",1,"gmat-button","save-button",3,"disabled","color","click"],[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&&(E(0,"h1",0),R(1,"Editing Status Update"),G(),E(2,"section",1)(3,"p",2),R(4," Editing the Status Update will not permanently remove old ones from database history. "),I(5,"br"),R(6," For deletion of PII or other sensitive content, please "),E(7,"a",3),R(8," file a support request. "),G()(),E(9,"b-comment-draft",4),M("contentChange",function(d){return b.newStatusUpdate.updateText=d})("contentChange",function(){b.bannedWordsChecker.reset()})("onSubmit",
function(){return b.closeDialogForSave()}),G(),C(10,R_a,2,1,"p",5)(11,S_a,4,1,"p",6),E(12,"b-markdown-toggle",7),M("change",function(d){return b.newStatusUpdate.formattingMode=d}),G(),C(13,T_a,2,4,"div",8),G(),E(14,"footer",9)(15,"button",10),R(16," Cancel "),G(),E(17,"button",11),M("click",function(){return b.closeDialogForSave()}),R(18),G()());if(a&2){var c;y(7);D("href",b.contentRemovalRequestLink,Pd);y(2);zf(ttc(b));D("content",b.newStatusUpdate.updateText)("textareaClass",fg(15,stc,b.bannedWordsChecker.showWarning()?
"banned-words-warning":""));y();D("ngIf",1E3<b.newStatusUpdate.updateText.length);y();D("ngIf",b.bannedWordsChecker.showWarning());y();yf("margin-bottom",b.newStatusUpdate.formattingMode!==b.FormattingMode.MARKDOWN);D("initialValue",null!==(c=b.origStatusUpdate.formattingMode)&&void 0!==c?c:b.FormattingMode.PLAIN);y();D("ngIf",b.newStatusUpdate.formattingMode===b.FormattingMode.MARKDOWN);y(2);D("mat-dialog-close",void 0);y(2);D("disabled",0===b.newStatusUpdate.updateText.length||1E3<b.newStatusUpdate.updateText.length||
!b.isModified())("color",b.bannedWordsChecker.showWarning()?"warn":"primary");y();S(" ",b.bannedWordsChecker.showWarning()?"Save Anyway":"Save"," ")}},dependencies:[FA,GA,HA,IA,dw,nA,ZM,HM,lP],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 utc={},vtc=(utc[0]="Please provide a brief summary of the topic of the following conversation using a single line.",utc[1]="Please provide a brief summary of the topic, any recommendations, and any status in the following conversation using up to 3 lines.",utc),zY=function(a,b,c){this.prompts=a;this.palmApi=b;this.issueApi=c},xtc=function(a,b,c){var d;return ke(function(e){if(1==e.nextAddress)return me(e,(0,W.firstValueFrom)(wtc(a.prompts,b)),2);if(d=e.yieldResult){var f=e.return,h=W.firstValueFrom;
var k=a.issueApi;var q=new LH;q=tj(q,2,0===c?1:2).setIssueId(b);k=k.executor.post({url:"action/issues/"+b+"/summarize",body:q,responseConstructor:kE}).pipe(B(Dxa));e=f.call(e,h.call(W,k))}else e=e.return({status:1,summary:""});return e})},ytc=function(a,b){var c,d;return ke(function(e){if(1==e.nextAddress)return c={prompt:b},me(e,a.palmApi.generate(c),2);d=e.yieldResult;return e.return(d.output)})};zY.\u0275fac=function(a){return new (a||zY)(p(AY),p(UD),p(OH))};
zY.\u0275prov=vc({token:zY,factory:zY.\u0275fac,providedIn:"root"});
var AY=function(a){this.eventsForIssueFridge=a},wtc=function(a,b){return ztc(a,b).pipe(B(function(c){return!!(c&&3<=c.commentEvents.length)}),Te())},Atc=function(a,b,c){var d,e;return ke(function(f){if(1==f.nextAddress)return me(f,(0,W.firstValueFrom)(ztc(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(vtc[c]+"\nThe input is of the form: <speaker>: <comment>, where the comment is a JSON string.\n\n"+
e.join("\n")+"\n\nSUMMARY:")})},ztc=function(a,b){return a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(B(function(c){if(!c)return{commentEvents:[]};c=c.events;return{commentEvents:[].concat(r(c.slice(0,1).filter(function(d){var e;return null==(e=d.unlinkifiedComment)?void 0:e.trim()})),r(c.slice(1).filter(U_a).filter(function(d){var e;return null==(e=d.unlinkifiedComment)?void 0:e.trim()})))}}))};AY.\u0275fac=function(a){return new (a||AY)(p($H))};
AY.\u0275prov=vc({token:AY,factory:AY.\u0275fac,providedIn:"root"});var Btc=function(a){this.internalArray_=m(a)};X(Btc,n);Btc.prototype.getEmail=function(){return Zi(this,1)};Btc.prototype.setEmail=function(a){return Rj(this,1,a)};var cq=function(a){this.internalArray_=m(a)};X(cq,n);g=cq.prototype;g.getWorkspaceId=function(){return kj(this,1)};g.getWorkspaceId_asLegacyNumberOrString=function(){return kj(this,1)};g.getName=function(){return Zi(this,2)};g.setName=function(a){return Rj(this,2,a)};g.getTimeZone=function(){return $i(this,Il,8)};g.setTimeZone=function(a){return li(this,Il,8,a)};g.hasTimeZone=function(){return ji(this,Il,8)};g.getMembersList=function(){return gi(this,Btc,9,hi())};
g.setMembersList=function(a){return gl(this,9,a)};g.getUpdateTime=function(){return $i(this,mj,12)};g.setUpdateTime=function(a){li(this,mj,12,a)};g.hasUpdateTime=function(){return ji(this,mj,12)};g.getBookmarkGroupId_asLegacyNumberOrString=function(){return kj(this,14)};g.setBookmarkGroupId=function(a){return Qj(this,14,a)};g.getTeamId=function(){return Zi(this,20)};g.setTeamId=function(a){return Rj(this,20,a)};var Ctc=Xb(cq);cq.repeatedFields_=[5,9,13,15,17,18];var Dtc=function(a){this.internalArray_=m(a)};X(Dtc,n);Dtc.prototype.getWorkspaceId=function(){return kj(this,1)};Dtc.prototype.getWorkspaceId_asLegacyNumberOrString=function(){return kj(this,1)};var Etc=new bD("/google.corp.devtools.worktracker.v1.WorkspaceService/Get",Dtc,cq,function(a){return a.serialize()},Ctc);var Ftc=function(a){this.internalArray_=m(a)};X(Ftc,n);var Htc=function(a,b){return Fk(a,1,Gtc,b)};Ftc.repeatedFields_=[3];var Gtc=[1,2];var Itc=function(a){this.internalArray_=m(a)};X(Itc,n);var Jtc=Xb(Itc);Itc.repeatedFields_=[1,2,3];var Ktc=new bD("/google.corp.devtools.worktracker.v1.WorkspaceService/List",Ftc,Itc,function(a){return a.serialize()},Jtc);var Ltc=function(a){var b={withCredentials:!0,suppressCorsPreflight:!0};b=b||{};b.format="jspb";this.client_=new DD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};Ltc.prototype.get=function(a,b){return ZC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/Get",a,b||{},Etc)};Ltc.prototype.list=function(a,b){return ZC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/List",a,b||{},Ktc)};var Mtc={},Ntc;Mtc.Authorization=null!=(Ntc=Io([]))?Ntc:"";Mtc["X-Goog-Api-Key"]="AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c";Mtc["X-Goog-AuthUser"]="0";var BY=function(a,b){this.activeSession=a;this.clientFactory=b;this.environmentType=this.activeSession.getEnvironmentType();this.client=this.clientFactory.create(this.getServiceEndpoint())},Otc=function(a,b){return a.activeSession.isExternalSession()?(0,W.of)([]):(0,W.from)(a.client.list(Htc(new Ftc,"b/"+b),Mtc)).pipe(B(V_a(b)),Pe(function(){return(0,W.of)([])}))};
BY.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"}};BY.\u0275fac=function(a){return new (a||BY)(p(nt),p(CY))};BY.\u0275prov=vc({token:BY,factory:BY.\u0275fac,providedIn:"root"});var CY=function(){};CY.prototype.create=function(a){return new Ltc(a)};
CY.\u0275fac=function(a){return new (a||CY)};CY.\u0275prov=vc({token:CY,factory:CY.\u0275fac,providedIn:"root"});var Ptc=[[["",8,"value-action"]]],DY=function(a){Y.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 zv;this.toggleAccessLimits=new zv;this.additionAllowed=!0;this.ListFieldType=Rmc;this.userPrincipalValidator=function(c){var d,e,f;return ke(function(h){if(1==h.nextAddress){if(!c)return h.return("This field is required");d=c.split(",").map(function(k){return k.trim()}).filter(Boolean);
return me(h,O7b(b.jspbPrincipalTypes,d,!1),2)}e=h.yieldResult;f=d.find(function(k){var q;return"USER"!==(null==(q=e[k])?void 0:q.principalType)});return h.return(f?"You can only add users to collaborators.":"")})}};X(DY,Y);DY.\u0275dir=Y.\u0275dir;DY.\u0275fac=function(a){return new (a||DY)(A(qK))};
DY.\u0275cmp=Lc({type:DY,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:[bg([EF]),nf],ngContentSelectors:[".value-action"],decls:3,vars:16,consts:[["aria-label","Collaborators are people directly working on this issue.",
1,"full-width",3,"defaultLineCount","readonly","additionAllowed","title","type","isUser","values","users","inputValidator","listFieldDisabled","teamId","isExpanded","collapsiblePanelTitle","isCollapsible","iconName","valuesChange","toggleAccessLimits"],[1,"value-action"]],template:function(a,b){a&1&&(Lf(Ptc),E(0,"b-list-field",0),M("valuesChange",function(c){return b.valuesChange.emit(c)})("toggleAccessLimits",function(){return b.toggleAccessLimits.emit()}),E(1,"div",1),Mf(2),G()());a&2&&(Pf("collapsiblePanelTitle",
"",b.collaborators.length," ",1===b.collaborators.length?"user":"users",""),D("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:[LU],
encapsulation:2});var EY=function(){};EY.\u0275fac=function(a){return new (a||EY)};EY.\u0275mod=Nc({type:EY});EY.\u0275inj=wc({imports:[MU,SH,JD]});var Qtc=function(){var a=this;this.pressed=new zv;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"}};Qtc.\u0275fac=function(a){return new (a||Qtc)};
Qtc.\u0275cmp=Lc({type:Qtc,selectors:[["insights-graph-btn"]],inputs:{disabled:"disabled"},outputs:{pressed:"pressed"},decls:14,vars:3,consts:[["mat-stroked-button","","color","primary",1,"gmat-button",3,"title","disabled","click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 18 22"],["fill","none","fill-rule","evenodd"],"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-opacity;.4;d;M17.5 5.41l-8-3.91m0 7.82l-8-3.91".split(";"),"stroke;currentColor;stroke-opacity;.4;d;M9.5 9.32v10".split(";"),
"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-width;1.5;d;M9.5 1.5l-8 3.91v10.01l8 3.91 8-3.91V5.41l-8 3.91".split(";"),"cx 1.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 9.32 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 1.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 19.33 r 1.5 fill currentColor fill-rule nonzero".split(" "),
"cx 9.5 cy 1.5 r 1.5 fill currentColor fill-rule nonzero".split(" ")],template:function(a,b){a&1&&(E(0,"button",0),M("click",function(){return b.pressed.emit()}),R(1,"Insights "),qd(),E(2,"svg",1)(3,"g",2),I(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),G()()());a&2&&(D("title",b.getTooltip())("disabled",b.disabled),pf("aria-label",b.getTooltip()))},dependencies:[nA],styles:["button.gmat-button[_ngcontent-%COMP%]{line-height:20px;padding:0 5px;font-size:.75rem;font-weight:500;font-family:Roboto,Arial,sans-serif}[disabled][_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{filter:grayscale(1);opacity:.5}svg[_ngcontent-%COMP%]{height:14px;width:14px;vertical-align:text-bottom}/*# sourceMappingURL=insights_graph_btn.css.map */"],
changeDetection:0});var FY=function(a,b){Y.call(this);var c=this;this.componentFridge=a;this.currentTracker=b;this.componentId$=new W.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(Bi),df(this.componentFridge.watch),Ce(Bi));this.component$=(0,W.merge)(this.error$,this.rawComponent$).pipe(B(function(d){return d.componentId&&d.name?d:{componentId:Number(d.idOrKey),name:"(unknown)"}}));
this.isArchived$=this.component$.pipe(B(function(d){return d.archived}));this.componentPath$=this.component$.pipe(B(function(d){d=Is(c.currentTracker,d.componentPathInfo);return wp(d)}));this.init=new W.ReplaySubject(1);this.routes$=this.componentId$.pipe(B(function(d){return{createIssue:GCa(d),componentSettings:HCa(d),recentIssues:Ln(d)}}))};X(FY,Y);FY.\u0275dir=Y.\u0275dir;FY.prototype.ngOnInit=function(){var a=this;this.component$.pipe(Ue(),ef(this.destroyed$)).subscribe(function(){a.init.next()})};
Vg.Object.defineProperties(FY.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentIdInternal=a=String(a);this.componentId$.next(a)}}});FY.\u0275fac=function(a){return new (a||FY)(A(oH),A(IM))};
FY.\u0275cmp=Lc({type:FY,selectors:[["b-component-path-card"]],inputs:{componentId:"componentId",hidePath:"hidePath"},outputs:{init:"init"},features:[nf],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&&(E(0,"div",0)(1,"div",1),C(2,Z_a,5,6,"div",2)(3,$_a,11,5,"ng-container",3),T(4,"async"),C(5,a0a,7,3,"div",4),T(6,"async"),G()());a&2&&(y(2),D("ngIf",!b.hidePath),y(),D("ngIf",V(4,3,b.component$)),y(2),D("ngIf",V(6,5,b.routes$)))},dependencies:[hw,dw,hB,oA,XT,zR,mw],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 Rtc=function(a){this.internalArray_=m(a,0,Rtc.messageId)};X(Rtc,n);Rtc.messageId="b.CompareComponentAccessResponse";var GY=function(a){this.executor=a};GY.prototype.check=function(a,b,c){return this.executor.get({url:"action/compare_component_access/"+a+"/"+b,options:{params:{issueId:c}},responseConstructor:Rtc}).then(twa)};GY.\u0275fac=function(a){return new (a||GY)(p(RD))};GY.\u0275prov=vc({token:GY,factory:GY.\u0275fac,providedIn:"root"});var HY=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},U0a=function(a,b,c){var d,e,f,h,k;ke(function(q){switch(q.nextAddress){case 1:return b=String(b),EK(a.issueInteractionsTracking,b,{label:"changeComponent"}),c?me(q,(0,W.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():me(q,a.compareComponentAccess.check(String(e),String(f),b),3);case 3:h=q.yieldResult;if(!h.warning){q.jumpTo(4);break}return me(q,Stc(a,h),5);case 5:if(k=q.yieldResult,!k)return q.return();case 4:return q.return(a.editIssueService.updateComponent(b,f,h.isExternalMove))}})},Stc=function(a,b){return new Promise(function(c){a.matDialogService.open(bU,{width:"580px",data:{response:b,callbacks:{allow:function(){c(!0)},cancel:function(){c(!1)}}}}).afterClosed().subscribe(function(){c(!1)})})};
HY.\u0275fac=function(a){return new (a||HY)(p(DK),p(UI),p(hG),p(GY),p(EA),p(aL))};HY.\u0275prov=vc({token:HY,factory:HY.\u0275fac,providedIn:"root"});var Ttc=function(a){this.documentationLinks=a};Ttc.\u0275fac=function(a){return new (a||Ttc)(A(jG))};
Ttc.\u0275cmp=Lc({type:Ttc,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&&(E(0,"h1",0),R(1,"Apply component retention settings?"),G(),E(2,
"div",1)(3,"p"),R(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. "),G(),E(5,"a",2),R(6,"Learn more"),G()(),E(7,"div",3)(8,"button",4),R(9," Cancel "),G(),E(10,"button",5),R(11," OK "),G()());a&2&&(y(5),D("href",ht(),Pd),y(3),D("mat-dialog-close",!1),y(2),D("mat-dialog-close",!0))},dependencies:[FA,GA,HA,IA,nA],encapsulation:2});var Utc=function(a,b){this.documentationLinks=b;this.deletionReasons=a.deletionReasons;this.attachmentId=a.attachmentId};Utc.\u0275fac=function(a){return new (a||Utc)(A(DA),A(jG))};
Utc.\u0275cmp=Lc({type:Utc,selectors:[["b-issue-delete-attachment-dialog"]],decls:14,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["title","Deletion Reasons Help Link","target","_blank",1,"icon-s",3,"href"],[3,"ngModel","ngModelChange"],[3,"value","disabled",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close",
"disabled"],[3,"value","disabled"],[4,"ngIf"]],template:function(a,b){a&1&&(E(0,"h1",0),R(1),G(),E(2,"div",1)(3,"span"),R(4," Please select the reason for deleting this attachment. "),E(5,"a",2),R(6," \u00a0Learn more "),G()(),E(7,"mat-radio-group",3),M("ngModelChange",function(c){return b.selectedReason=c}),C(8,c0a,3,4,"mat-radio-button",4),G()(),E(9,"div",5)(10,"button",6),R(11," Cancel "),G(),E(12,"button",7),R(13," Delete "),G()());a&2&&(y(),S("Delete attachment ",b.attachmentId,""),y(4),D("href",
V4b(b.documentationLinks),Pd),y(2),D("ngModel",b.selectedReason),y(),D("ngForOf",b.deletionReasons),y(4),D("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[hw,dw,FA,GA,HA,IA,nA,Hw,Ow,kW,lW],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var Vtc=function(a,b){this.documentationLinks=b;this.commentNumber=a.commentNumber;this.issueId=a.issueId;this.deletionReasons=a.deletionReasons};Vtc.\u0275fac=function(a){return new (a||Vtc)(A(DA),A(jG))};
Vtc.\u0275cmp=Lc({type:Vtc,selectors:[["b-issue-delete-comment-dialog"]],decls:14,vars:7,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["title","Deletion Reasons Help Link","target","_blank",1,"icon-s",3,"href"],[3,"ngModel","ngModelChange"],[3,"value","disabled",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close",
"disabled"],[3,"value","disabled"],[4,"ngIf"]],template:function(a,b){a&1&&(E(0,"h1",0),R(1),G(),E(2,"div",1)(3,"label"),R(4,"Please select the reason for deleting this comment."),G(),E(5,"a",2),R(6," \u00a0Learn more "),G(),E(7,"mat-radio-group",3),M("ngModelChange",function(c){return b.selectedReason=c}),C(8,e0a,3,4,"mat-radio-button",4),G()(),E(9,"div",5)(10,"button",6),R(11," Cancel "),G(),E(12,"button",7),R(13," Delete "),G()());a&2&&(y(),ag("Delete Comment #",b.commentNumber," of Issue ",b.issueId,
""),y(4),D("href",V4b(b.documentationLinks),Pd),y(2),D("ngModel",b.selectedReason),y(),D("ngForOf",b.deletionReasons),y(4),D("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[hw,dw,FA,GA,HA,IA,nA,Hw,Ow,kW,lW],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var Wtc=function(a,b){this.documentationLinks=a;this.activeSession=b;this.REMOVAL_URL=f0a(this.activeSession.isInternalSession())};Wtc.\u0275fac=function(a){return new (a||Wtc)(A(jG),A(nt))};
Wtc.\u0275cmp=Lc({type:Wtc,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&&(E(0,"h1",0),R(1,"Report spam?"),G(),E(2,"div",1)(3,
"p"),R(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, "),E(5,"a",2),R(6,"see here"),G(),R(7,". "),G(),I(8,"p"),E(9,"p"),R(10," To delete PII or other sensitive content, "),E(11,"a",2),R(12,"file a support request"),G(),R(13,". "),G()(),E(14,"div",3)(15,"button",4),R(16," Cancel "),G(),E(17,"button",5),R(18," Report spam "),G()());a&2&&(y(5),D("href",T4b(b.documentationLinks),Pd),y(6),D("href",b.REMOVAL_URL,
Pd),y(4),D("mat-dialog-close",!1),y(2),D("mat-dialog-close",!0))},dependencies:[FA,GA,HA,IA,nA],encapsulation:2});var Xtc=function(a){this.documentationLinks=a;this.indefiniteRetentionAcknowledged=!1};Xtc.\u0275fac=function(a){return new (a||Xtc)(A(jG))};
Xtc.\u0275cmp=Lc({type:Xtc,selectors:[["b-issue-indefinite-retention-dialog"]],decls:28,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["cdkFocusInitial","",3,"checked","change"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close","disabled"]],template:function(a,b){a&1&&(E(0,"h1",0),R(1,"Retain issue indefinitely?"),
G(),E(2,"div",1)(3,"p"),R(4," Are you sure you want to override any component retention settings, and retain this issue indefinitely? "),G(),E(5,"p")(6,"b"),R(7,"Please note indefinite retention is not appropriate in many circumstances."),G(),I(8,"br"),R(9," Before selecting this option, you should make sure at least one of the following is true: "),G(),E(10,"ul")(11,"li"),R(12," There is no personal data, user data, or any other forms of sensitive data being stored in this issue. "),G(),E(13,"li"),
R(14," You have a process in place to manually delete this issue within an approved period of time. "),G(),E(15,"li"),R(16," Legal and Privacy have approved this non-standard retention period. "),G()(),I(17,"p"),E(18,"p")(19,"a",2),R(20,"Learn more"),G()(),E(21,"mat-checkbox",3),M("change",function(c){return b.indefiniteRetentionAcknowledged=c.checked}),R(22," I acknowledge "),G()(),E(23,"div",4)(24,"button",5),R(25," Cancel "),G(),E(26,"button",6),R(27," OK "),G()());a&2&&(y(19),D("href",ht(),Pd),
y(2),D("checked",b.indefiniteRetentionAcknowledged),y(3),D("mat-dialog-close",!1),y(2),D("mat-dialog-close",!0)("disabled",!b.indefiniteRetentionAcknowledged))},dependencies:[WE,FA,GA,HA,IA,nA],styles:[".mat-dialog-content[_ngcontent-%COMP%] { max-height: unset; overflow: unset; }","ul[_ngcontent-%COMP%] { list-style: disc }"]});var IY=function(a){Y.call(this);this.userPreferencesManager=a;this.timestamps$=this.userPreferencesManager.preferences$.pipe(B(function(b){var c;return null!=(c=b.dismissalTimestamps)?c:void 0}));this.timestampsSubject$=nm(this.timestamps$.pipe(ef(this.destroyed$)),{})};X(IY,Y);IY.\u0275dir=Y.\u0275dir;var Ytc=function(a,b){return a.timestamps$.pipe(B(function(c){return c?!!c[b]:!1}))};IY.prototype.isDismissed=function(a){return!!om(Ytc(this,a))};
IY.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(B(function(c){if(c.dismissalTimestamps&&c.dismissalTimestamps[a])return c.dismissalTimestamps[a]}))};IY.\u0275fac=function(a){return new (a||IY)(p(BE))};IY.\u0275prov=vc({token:IY,factory:IY.\u0275fac,providedIn:"root"});var JY=function(a,b,c){Y.call(this);this.data=a;this.dialogRef=b;this.dismissalService=c;this.dontShowAgain=!1};X(JY,Y);JY.\u0275dir=Y.\u0275dir;JY.prototype.confirm=function(){this.dontShowAgain&&this.dismissalService.dismiss(g0a(this.data.action)).pipe(ef(this.destroyed$)).subscribe();this.dialogRef.close(!0)};JY.\u0275fac=function(a){return new (a||JY)(A(DA),A(BA),A(IY))};
JY.\u0275cmp=Lc({type:JY,selectors:[["b-share-email-confirmation-dialog"]],features:[nf],decls:9,vars:2,consts:[["mat-dialog-content",""],[3,"innerHTML"],[3,"checked","change"],["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&&(E(0,"div",0),I(1,"div",1),E(2,"mat-checkbox",2),M("change",function(c){return b.dontShowAgain=c.checked}),R(3," Don't show this again "),
G()(),E(4,"div",3)(5,"button",4),M("click",function(){return b.dialogRef.close(!1)}),R(6," Cancel "),G(),E(7,"button",5),M("click",function(){return b.confirm()}),R(8," Confirm "),G()());a&2&&(y(),D("innerHTML",b.data.content,Od),y(),D("checked",b.dontShowAgain))},dependencies:[WE,HA,IA,nA],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-top: 12px;\n      padding-bottom: 12px;\n    }"]});var KY=function(){};KY.\u0275fac=function(a){return new (a||KY)};KY.\u0275mod=Nc({type:KY});KY.\u0275inj=wc({imports:[SH,kN,JA,$C,ID,dx,eB,sX,kR,ON,kN]});var LY=function(a){this.internalArray_=m(a)};X(LY,n);LY.prototype.getContentJudgement=function(){return $i(this,Pj,1)};LY.prototype.setContentJudgement=function(a){return li(this,Pj,1,a)};var MY=function(a){this.internalArray_=m(a,0,MY.messageId)};X(MY,n);MY.prototype.getIt=function(){return $i(this,LY,4)};MY.prototype.setIt=function(a){return li(this,LY,4,a)};MY.prototype.hasIt=function(){return ji(this,LY,4)};MY.messageId="b.CreateContentJudgementRequest";var Ztc=function(a){this.internalArray_=m(a,0,Ztc.messageId)};X(Ztc,n);Ztc.repeatedFields_=[1];Ztc.messageId="b.ListContentJudgementsResponse";var NY=function(a){this.internalArray_=m(a,0,NY.messageId)};X(NY,n);NY.prototype.getContentJudgement=function(){return $i(this,mk,1)};NY.prototype.setContentJudgement=function(a){return li(this,mk,1,a)};NY.messageId="b.UpdateContentJudgementRequest";var OY=function(a){this.executor=a};OY.prototype.create=function(a,b,c){var d=new MY,e=d.setIt,f=new LY,h=f.setContentJudgement;a=Sj(bua({resourcePath:a,severity:b,judgementReason:c,contentJudgementId:void 0,contentJudge:""}),5,2);a=Sj(a,6,2);d=e.call(d,h.call(f,a));return this.executor.post({url:"action/content_judgements",body:d,responseConstructor:mk}).pipe(B(fua))};
OY.prototype.update=function(a){var b=a.contentJudgementId,c=new NY,d=c.setContentJudgement;a=(new mk).setIt(bua(a));c=d.call(c,a);d=Sj(c.getContentJudgement().getIt(),5,2);lk(d,8);return this.executor.post({url:"action/content_judgements/"+b,body:c,responseConstructor:mk}).pipe(B(fua))};OY.prototype.list=function(a){return this.executor.get({url:"action/content_judgements",options:{params:{resource_path:a}},responseConstructor:Ztc}).pipe(B(function(b){b=gi(b,mk,1,hi());return(null!=b?b:[]).map(fua)}))};
OY.\u0275fac=function(a){return new (a||OY)(p(QD))};OY.\u0275prov=vc({token:OY,factory:OY.\u0275fac,providedIn:"root"});var QY=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=s1b;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 k="RESTRICTION_SEVERITY_UNSPECIFIED";h=l(h);for(var q=h.next();!q.done;q=h.next())q=q.value,
q.contentJudge===f.activeSession.getUserEmail()?$tc(f,q):PY(q.severity,k)&&(k=q.severity);f.minimumSeverity=k;PY(f.minimumSeverity,f.severity)&&(f.severity=f.minimumSeverity);f.loaded=!0}):($tc(this,e.contentJudgement),this.loaded=!0)};QY.prototype.canInteract=function(){return this.loaded&&(this.data.hasAclToCreate||!!this.judgement)};
var PY=function(a,b){return h0a(a)>h0a(b)},$tc=function(a,b){if(a.judgement=b)a.severity=b.severity},auc=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.";
PY(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};QY.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};
QY.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()})};QY.prototype.onNoClick=function(){this.dialogRef.close(null)};QY.\u0275fac=function(a){return new (a||QY)(A(BA),A(jG),A(OY),A(nt),A(DA))};
QY.\u0275cmp=Lc({type:QY,selectors:[["b-content-judgement-dialog"]],decls:28,vars:11,consts:[["mat-dialog-title",""],["svgIcon","restricted",1,"icon-m"],["mat-dialog-content",""],["id","restriction-radio-group-label"],["target","_blank","aria-label","Learn more about restricted access",1,"keep-focus-ring",3,"rel"],["aria-labelledby","restriction-radio-group-label",3,"ngModel","ngModelChange"],[1,"restriction-radio","restriction-none",3,"value","disabled"],[1,"restriction-radio","restriction-pii",
3,"value","disabled"],[1,"restriction-radio","restriction-spii",3,"value","disabled"],["mat-button","",1,"gmat-button","medium","content-judgement-dialog-cancel",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","content-judgement-dialog-confirm",3,"disabled","click"]],template:function(a,b){a&1&&(E(0,"header",0)(1,"h1"),I(2,"mat-icon",1),E(3,"div"),R(4," Set restriction "),G()()(),E(5,"section",2)(6,"label",3),R(7),E(8,"a",4),R(9," Learn More "),G()(),
E(10,"mat-radio-group",5),M("ngModelChange",function(c){return b.severity=c}),E(11,"mat-radio-button",6),R(12," No restriction "),E(13,"div"),R(14,' Users with "View issues" can access. '),G()(),E(15,"mat-radio-button",7),R(16," Restricted "),E(17,"div"),R(18,' Users with "View restricted content" can access. '),G()(),E(19,"mat-radio-button",8),R(20," Restricted+ "),E(21,"div"),R(22,' Users with "View restricted+ content" can access. '),G()()()(),E(23,"mat-dialog-actions")(24,"button",9),M("click",
function(){return b.onNoClick()}),R(25," Cancel "),G(),E(26,"button",10),M("click",function(){return b.onSaveClick()}),R(27," Set "),G()());a&2&&(y(7),S(" ",auc(b)," "),y(),D("rel",b.EXTERNAL_LINK_REL),pf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Pd),y(2),D("ngModel",b.severity),y(),D("value",b.RestrictionSeverity.NONE_DETECTED)("disabled",!b.canInteract()||PY(b.minimumSeverity,b.RestrictionSeverity.NONE_DETECTED)),y(4),D("value",b.RestrictionSeverity.RESTRICTED)("disabled",!b.canInteract()||
PY(b.minimumSeverity,b.RestrictionSeverity.RESTRICTED)),y(4),D("value",b.RestrictionSeverity.RESTRICTED_PLUS)("disabled",!b.canInteract()||PY(b.minimumSeverity,b.RestrictionSeverity.RESTRICTED_PLUS)),y(7),D("disabled",!b.canInteract()))},dependencies:[hB,nA,GA,HA,IA,kW,lW,Hw,Ow],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 RY=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};RY.prototype.canInteract=function(){return!SY(this)||this.acknowledgeToMatchIssueRetention};var SY=function(a){return"INDEFINITE"===a.piiRetention};RY.prototype.onSaveClick=function(){this.dialogRef.close(1)};RY.prototype.onNoClick=function(){this.dialogRef.close(0)};
RY.\u0275fac=function(a){return new (a||RY)(A(BA),A(jG),A(DA))};
RY.\u0275cmp=Lc({type:RY,selectors:[["b-update-retention-dialog"]],decls:19,vars:8,consts:[["mat-dialog-title",""],["svgIcon","restricted",1,"icon-m"],[4,"ngIf"],["mat-dialog-content",""],["target","_blank","aria-label","Learn more about component retention",3,"rel"],[3,"ngModel","ngModelChange",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","update-retention-dialog-cancel",3,"click"],["mat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","dialog-primary-action",
"medium","update-retention-dialog-confirm",3,"disabled","click"],[3,"ngModel","ngModelChange"]],template:function(a,b){a&1&&(E(0,"h1",0),I(1,"mat-icon",1),E(2,"div"),C(3,i0a,2,1,"span",2)(4,j0a,2,0,"span",2),G()(),E(5,"div",3),C(6,k0a,8,1,"span",2)(7,l0a,3,2,"span",2),E(8,"span")(9,"a",4),R(10," Learn More "),G()()(),E(11,"div")(12,"span"),C(13,m0a,2,1,"mat-checkbox",5),G()(),E(14,"div",6)(15,"button",7),M("click",function(){return b.onNoClick()}),R(16," Cancel "),G(),E(17,"button",8),M("click",function(){return b.onSaveClick()}),
R(18," Save "),G()());a&2&&(y(3),D("ngIf",SY(b)),y(),D("ngIf",!SY(b)),y(2),D("ngIf",SY(b)),y(),D("ngIf",!SY(b)),y(2),D("rel",b.EXTERNAL_LINK_REL),pf("href",ht(),Pd),y(4),D("ngIf",SY(b)),y(4),D("disabled",!b.canInteract()))},dependencies:[dw,hB,nA,GA,HA,IA,WE,Hw,Ow],styles:["h1[_ngcontent-%COMP%]{text-align:center}.mat-dialog-content[_ngcontent-%COMP%]{overflow:inherit}/*# sourceMappingURL=update_retention_dialog.css.map */"]});var TY=function(a,b,c,d,e,f,h){this.errorHandler=a;this.eventsForIssueFridge=b;this.issueFetchResponseFridge=c;this.issueCommentsService=d;this.issueInteractionsTracking=e;this.butterBar=f;this.editIssueService=h},buc=function(a,b){var c=b.issueId,d=b.newCommentId,e=b.newComment,f=b.newCommentFormattingMode,h=b.recaptchaToken,k,q;ke(function(t){switch(t.nextAddress){case 1:k=a.editIssueService.savingState(c);if(!e.trim())return a.butterBar.showWarning("New comment cannot be empty."),t.return();YK(k,
"commentEdit");Ks(a.butterBar,"Saving comment edit...",0);EK(a.issueInteractionsTracking,c,{label:1===d?"description":"comment"});le(t,2,3);return me(t,a.issueCommentsService.update(c,d,e,f,h),5);case 5:Ks(a.butterBar,"Comment edit successful.",4E3),ZI(a.issueFetchResponseFridge,c),RG(a.eventsForIssueFridge,c,function(w){w.events=ZBa(w.events,d,{formattedComment:void 0,unlinkifiedComment:e,formattingMode:f})}),a.eventsForIssueFridge.poke(c);case 3:ne(t);ZK(k,"commentEdit");oe(t,0);break;case 2:q=
pe(t),CG(a.errorHandler,q),t.jumpTo(3)}})};TY.\u0275fac=function(a){return new (a||TY)(p(AG),p($H),p(XI),p(nK),p(DK),p(hG),p(aL))};TY.\u0275prov=vc({token:TY,factory:TY.\u0275fac,providedIn:"root"});var cuc=function(a,b,c){this.objectId=a;this.version=b;this.payload=c},duc=function(){},euc=function(a){this.timestampMicros=a};n0a.prototype.reset=function(){this.currentMaxDelayMs_=this.initialMaxDelayMs_;this.inRetryMode_=!1};var fuc=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 lq=function(a){this.internalArray_=m(a)};X(lq,n);var s0a=[1,2,3,15];var nq=function(a){this.internalArray_=m(a)};X(nq,n);var pq=[1,2,3,4,5,6,7,8,9,10,11,12];var mq=function(a){this.internalArray_=m(a)};X(mq,n);mq.repeatedFields_=[1];var kq=function(a){this.internalArray_=m(a)};X(kq,n);kq.prototype.getName=function(){return ao(this,1,guc)};kq.prototype.setName=function(a){return Fk(this,1,guc,a)};kq.prototype.hasName=function(){return null!=ao(this,1,guc)};kq.prototype.getNameOrUndefined=function(){return fu(this,tk(this,guc,1))};var guc=[1,2];var huc=function(a){this.internalArray_=m(a)};X(huc,n);g=huc.prototype;g.setProject=function(a){li(this,kq,1,a)};g.getOwner=function(){return $i(this,lq,2)};g.setOwner=function(a){return li(this,lq,2,a)};g.getPath=function(){return $i(this,mq,3)};g.setPath=function(a){return li(this,mq,3,a)};g.hasPath=function(){return ji(this,mq,3)};var iuc=function(a){this.internalArray_=m(a)};X(iuc,n);g=iuc.prototype;g.setProject=function(a){li(this,kq,1,a)};g.getOwner=function(){return $i(this,lq,2)};g.setOwner=function(a){return li(this,lq,2,a)};g.getPrefix=function(){return $i(this,mq,3)};g.setPrefix=function(a){li(this,mq,3,a)};var UY=function(a){this.internalArray_=m(a)};X(UY,n);UY.prototype.getVersion=function(){return Xt(this,1)};UY.prototype.setVersion=function(a){return rj(this,1,a)};UY.prototype.getVersionOrUndefined=function(){return du(this,1)};var VY=function(a){this.internalArray_=m(a)};X(VY,n);VY.prototype.getHeader=function(){return $i(this,UY,4)};VY.prototype.getPrefix=function(){return Ak(this,iuc,6,juc)};VY.prototype.setPrefix=function(a){Gk(this,6,juc,a)};var juc=[2,3,6];var kuc=function(a){this.internalArray_=m(a)};X(kuc,n);var luc=function(a){this.internalArray_=m(a)};X(luc,n);luc.prototype.setAffinitization=function(a){tj(this,2,a)};luc.prototype.getAffinitizationOrUndefined=function(){return xs(this,2)};var muc=function(a){this.internalArray_=m(a)};X(muc,n);var nuc=function(a){this.internalArray_=m(a)};X(nuc,n);g=nuc.prototype;g.getStreamId_legacyNullable_asLegacyNumberOrString=function(){return ej(this,1)};g.setStreamId=function(a){yj(this,1,a)};g.getClose=function(){return Ak(this,muc,3,ouc)};g.setClose=function(a){Gk(this,3,ouc,a)};g.hasClose=function(){return Wk(this,muc,3,ouc)};g.setAffinitization=function(a){tj(this,4,a)};g.getAffinitizationOrUndefined=function(){return xs(this,4)};var ouc=[2,3];var WY=function(a){this.internalArray_=m(a)};X(WY,n);WY.prototype.setRequestsList=function(a){return gl(this,1,a)};WY.prototype.addAndReturnRequests=function(){return Uca(this,1,nuc)};WY.repeatedFields_=[1];var XY=function(a){this.internalArray_=m(a)};X(XY,n);XY.prototype.getCode=function(){return ho(this,1)};XY.prototype.getCode_legacyNullable=function(){return ho(this,1)};XY.prototype.setCode=function(a){return tj(this,1,a)};var puc=function(a){this.internalArray_=m(a)};X(puc,n);var YY=function(a){this.internalArray_=m(a)};X(YY,n);YY.prototype.getVersion=function(){return ej(this,3)};YY.prototype.getVersion_asLegacyNumberOrString=function(){return ej(this,3)};YY.prototype.setVersion=function(a){return yj(this,3,a)};YY.prototype.getVersionOrUndefined=function(){var a=ej(this,3);return null==a?void 0:a};var quc=function(a){this.internalArray_=m(a)};X(quc,n);quc.repeatedFields_=[1];var ruc=function(a){this.internalArray_=m(a)};X(ruc,n);var ZY=function(a){this.internalArray_=m(a)};X(ZY,n);ZY.prototype.getStart=function(){return Ak(this,ruc,1,$Y)};ZY.prototype.setStart=function(a){return Gk(this,1,$Y,a)};ZY.prototype.getChanges=function(){return Ak(this,quc,2,$Y)};ZY.prototype.hasChanges=function(){return Wk(this,quc,2,$Y)};var $Y=[1,2,3,5];var aZ=function(a){this.internalArray_=m(a)};X(aZ,n);aZ.prototype.getStatus=function(){return $i(this,Au,1)};aZ.prototype.setStatus=function(a){return li(this,Au,1,a)};aZ.prototype.hasStatus=function(){return ji(this,Au,1)};var suc=function(a){this.internalArray_=m(a)};X(suc,n);g=suc.prototype;g.getStreamId_legacyNullable_asLegacyNumberOrString=function(){return ej(this,1)};g.setStreamId=function(a){yj(this,1,a)};g.getClose=function(){return Ak(this,aZ,3,tuc)};g.setClose=function(a){Gk(this,3,tuc,a)};g.hasClose=function(){return Wk(this,aZ,3,tuc)};var tuc=[2,3];var bZ=function(a){this.internalArray_=m(a)};X(bZ,n);bZ.prototype.getResponsesList=function(){return gi(this,suc,1,hi())};bZ.prototype.getStatus=function(){return $i(this,XY,2)};bZ.prototype.setStatus=function(a){return li(this,XY,2,a)};bZ.prototype.hasStatus=function(){return ji(this,XY,2)};bZ.repeatedFields_=[1];var uuc=function(){yB.call(this,"y")};Et(uuc,yB);var vuc=function(){yB.call(this,"x")};Et(vuc,yB);var wuc=function(a,b){this.path=a;this.authMethod=b},xuc=function(a,b,c,d,e){this.channelMessageHandler=a;this.channelStatusHandler=b;this.config=c;this.channelCreator=d;this.state=0;this.channelHandler=new Qq;this.channel=this.createWebChannel(e)};
xuc.prototype.createWebChannel=function(a){var b=this;a={sendRawJson:!0,messageContentType:"application/json+protobuf",httpSessionIdParam:void 0,messageUrlParams:Object.assign({},{gsessionid:a},this.config.authMethod.getQueryParameters()),messageHeaders:this.config.authMethod.getHeaders(),supportsCrossDomainXhr:this.config.authMethod.usesCredentialedRequests()};a=this.channelCreator(this.config.path,a);this.channelHandler.listen(a,"v",function(){b.channelStatusHandler.onOpen()});this.channelHandler.listen(a,
"w",function(){b.channelStatusHandler.onClose((new yuc(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 bZ(c[0]))});this.channelHandler.listen(a,"x",function(c){b.channelStatusHandler.onError(c,(new yuc(b.channel.channel_)).getLastStatusCode());0!==c.status&&(b.state=2)});return a};
xuc.prototype.open=function(){0===this.state&&(this.state=1,this.channel.open())};xuc.prototype.close=function(){2!==this.state&&this.channel.close()};xuc.prototype.send=function(a){a=a.serialize();this.channel.send(a)};var zuc,Auc=(new UY).setVersion(7);zuc=tj(Auc,2,5);var rq=function(a){this.rep=a};rq.prototype.equals=function(a){return this.rep===a.rep};var Buc=function(){var a=8;a=void 0===a?1:a;this.max=8;this.lastAddedTimestampMs=Date.now();this.tokens=a};Buc.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 qq=function(a,b){this.seconds=a;this.nanos=b},u0a=function(a){var b=new mj;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},z0a=function(a){try{var b=a.getSeconds_asLegacyNumberOrString(),c=a.getNanos();if(-62135596800>b)throw Error("je`"+b);if(253402300800<=b)throw Error("ke`"+b);if(0>c)throw Error("le`"+c);if(1E9<=c)throw Error("me`"+c);if(!Number.isInteger(b))throw Error("ne`"+b);if(!Number.isInteger(c))throw Error("oe`"+c);return new qq(b,c)}catch(d){return null}};
qq.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var oq=function(a,b){this.low_=a|0;this.high_=b|0},Cuc=function(a){return 4294967296*a.high_+(a.low_>>>0)};g=oq.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("pe`"+a);if(this.isSafeInteger()){var b=Cuc(this);return 10==a?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=cZ(c,c/4294967296);c=dZ(this,d);var e=Math,f=e.abs;d=c.multiply(d);d=this.add(eZ(d));e=f.call(e,Cuc(d));f=10==a?""+e:e.toString(a);f.length<b&&(f="0000000000000".slice(f.length-b)+f);e=Cuc(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 eZ=function(a){var b=~a.low_+1|0;return cZ(b,~a.high_+!b|0)};
oq.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 cZ((h&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};
oq.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,k=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*k;w+=t>>>16;w+=c*a;var z=w>>>16;w=(w&65535)+d*k;z+=w>>>16;w=(w&65535)+e*h;z=z+(w>>>16)+(b*a+c*k+d*h+e*f)&65535;return cZ((t&65535)<<16|q&65535,z<<16|w&65535)};
var dZ=function(a,b){if(b.isZero())throw Error("qe");if(0>a.high_){if(a.equals(Duc)){if(b.equals(Euc)||b.equals(Fuc))return Duc;if(b.equals(Duc))return Euc;var c=a.high_;c=cZ(a.low_>>>1|c<<31,c>>1);c=dZ(c,b).shiftLeft(1);if(c.equals(fZ))return 0>b.high_?Euc:Fuc;var d=b.multiply(c);a=a.add(eZ(d));return c.add(dZ(a,b))}return 0>b.high_?dZ(eZ(a),eZ(b)):eZ(dZ(eZ(a),b))}if(a.isZero())return fZ;if(0>b.high_)return b.equals(Duc)?fZ:eZ(dZ(a,eZ(b)));for(d=fZ;0<=a.compare(b);){c=Math.max(1,Math.floor(Cuc(a)/
Cuc(b)));var e=Math.ceil(Math.log(c)/Math.LN2);e=48>=e?1:Math.pow(2,e-48);for(var f=gZ(c),h=f.multiply(b);0>h.high_||0<h.compare(a);)c-=e,f=gZ(c),h=f.multiply(b);f.isZero()&&(f=Euc);d=d.add(f);a=a.add(eZ(h))}return d};oq.prototype.and=function(a){return cZ(this.low_&a.low_,this.high_&a.high_)};oq.prototype.or=function(a){return cZ(this.low_|a.low_,this.high_|a.high_)};oq.prototype.xor=function(a){return cZ(this.low_^a.low_,this.high_^a.high_)};
oq.prototype.shiftLeft=function(a){a&=63;if(0==a)return this;var b=this.low_;return 32>a?cZ(b<<a,this.high_<<a|b>>>32-a):cZ(0,b<<a-32)};
var gZ=function(a){return 0<a?0x7fffffffffffffff<=a?Guc:new oq(a,a/4294967296):0>a?-0x7fffffffffffffff>=a?Duc:eZ(new oq(-a,-a/4294967296)):fZ},cZ=function(a,b){return new oq(a,b)},uq=function(a,b){if("-"==a.charAt(0))return eZ(uq(a.substring(1),b));var c=parseInt(a,b||10);if(9007199254740991>=c)return new oq(c%4294967296|0,c/4294967296|0);if(0==a.length)throw Error("re");if(0<=a.indexOf("-"))throw Error("se`"+a);b=b||10;if(2>b||36<b)throw Error("pe`"+b);c=gZ(Math.pow(b,8));for(var d=fZ,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(gZ(Math.pow(b,f))).add(gZ(h)):(d=d.multiply(c),d=d.add(gZ(h)))}return d},fZ=cZ(0,0),Euc=cZ(1,0),Fuc=cZ(-1,-1),Guc=cZ(4294967295,2147483647),Duc=cZ(0,2147483648);var dq=function(a,b){this.value=a;this.isDecreasing=!!b};
dq.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 oq)b=a.value instanceof oq?this.value.equals(a.value):!1;else if(this.value instanceof rq)b=a.value instanceof rq?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 qq?a.value instanceof qq?this.value.equals(a.value):!1:!1;return b};var tq=function(a,b){this.parts=a;this.isPrivate=b},w0a=function(){for(var a=[],b=l(Vc.apply(0,arguments)),c=b.next();!c.done;c=b.next())c=c.value,c instanceof dq?a.push(c):a.push(new dq(c));return new tq(a,!1)};
tq.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 Huc=function(){},hq=function(a,b){this.apiKey=a;this.authUser=b};hq.prototype.getHeaders=function(){var a={},b;(b=Io([]))?(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};hq.prototype.getQueryParameters=function(){return{key:this.apiKey}};hq.prototype.domainType=function(){return 0};hq.prototype.usesCredentialedRequests=function(){return!0};var fq=function(a){this.oauthTokens=a};
fq.prototype.getHeaders=function(){var a={};a.Authorization="OAuth "+this.oauthTokens.getValue();return a};fq.prototype.getQueryParameters=function(){return{}};fq.prototype.domainType=function(){return 1};fq.prototype.usesCredentialedRequests=function(){return!0};var gq=function(a,b){this.apiKey=a;this.appAuthTokens=b};gq.prototype.getHeaders=function(){return{}};gq.prototype.getQueryParameters=function(){return{key:this.apiKey}};gq.prototype.domainType=function(){return 1};
gq.prototype.usesCredentialedRequests=function(){return!1};var Iuc={send:function(a,b,c,d,e,f,h){qp(a,b,c,d,e,f,h)}};var Juc=function(a,b,c){this.code=a;this.message=b;this.status=c},Kuc=function(a){var b=void 0===b?Iuc:b;this.baseUri=a;this.xhrIo=b};Kuc.prototype.post=function(a,b,c,d){d=void 0===d?{}:d;return this.request("POST",a,b,c,d)};
Kuc.prototype.request=function(a,b,c,d,e){var f=this,h=new So(this.baseUri);h.setPath(b);if(e.queryParams){b=l(Object.entries(e.queryParams));for(var k=b.next();!k.done;k=b.next()){var q=l(k.value);k=q.next().value;q=q.next().value;uD(h,k,q)}}var t={"Content-type":"application/json+protobuf"};Object.assign(t,e.extraHeaders);var w=c.serialize();return new Promise(function(z,F){var J;f.xhrIo.send(h,function(){var H=-1===this.getStatus()?void 0:this.getStatus();if(this.isSuccess())try{z(Nda(d,this.getResponseText()))}catch(O){F(new Juc(4,
"Failed to deserialize response from "+h+": "+this.getResponseText(),H))}else F(new Juc(this.getLastErrorCode(),this.getLastError(),H))},a,w,t,null!=(J=e.timeoutMs)?J:2E4,e.withCredentials)})};var Luc=function(a,b,c){wB.call(this);this.listener_=null!=c?a.bind(c):a;this.interval_=b;this.args_=null;this.shouldFire_=!1;this.pauseCount_=0;this.timer_=null};X(Luc,wB);g=Luc.prototype;g.fire=function(a){this.args_=arguments;this.timer_||this.pauseCount_?this.shouldFire_=!0:this.doAction_()};g.stop=function(){this.timer_&&(jq(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(){wB.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_=iq(function(){return a.onTimer_()},this.interval_);var b=this.args_;this.args_=null;this.listener_.apply(null,b)};var Muc=null,Nuc=function(){return Muc=Muc||new No},Ouc=function(a){yB.call(this,"serverreachability",a)};Et(Ouc,yB);var Puc=function(a){var b=Nuc();b.dispatchEvent(new Ouc(b,a))},Quc=function(a,b){yB.call(this,"statevent",a);this.stat=b};Et(Quc,yB);var hZ=function(a){var b=Nuc();b.dispatchEvent(new Quc(b,a))},Ruc=function(a,b,c){yB.call(this,"timingevent",a);this.size=b;this.rtt=c};Et(Ruc,yB);
var Suc=function(a,b,c){var d=Nuc();d.dispatchEvent(new Ruc(d,a,b,c))},Tuc=function(a,b){if("function"!==typeof a)throw Error("ue");return ca.setTimeout(function(){a()},b)};var iZ=function(){this.redactEnabled_=!0};iZ.prototype.disableRedact=function(){this.redactEnabled_=!1};
var Uuc=function(a,b,c,d,e,f){a.info(function(){if(a.redactEnabled_)if(f){var h="";for(var k=f.split("&"),q=0;q<k.length;q++){var t=k[q].split("=");if(1<t.length){var w=t[0];t=t[1];var z=w.split("_");h=2<=z.length&&"type"==z[1]?h+(w+"="+t+"&"):h+(w+"=redacted&")}}}else h=null;else h=f;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+h})},Vuc=function(a,b,c,d,e,f,h){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+f+" "+h})},jZ=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+Wuc(a,c)+(d?" "+d:"")})},Xuc=function(a,b){a.info(function(){return"TIMEOUT: "+b})};iZ.prototype.debug=function(){};iZ.prototype.info=function(){};iZ.prototype.warning=function(){};
var Wuc=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 k=1;k<f.length;k++)f[k]=""}}}return(new uZb).serialize(c)}catch(q){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};var kZ=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 Qq(this);this.timeout_=45E3;a=Xo?125:void 0;this.pollingTimer_=new YB(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 Yuc},Yuc=function(){this.textDecoder=null;this.responseBuffer="";this.responseArrivedForFetch=!1},Zuc=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"}},
$uc={},avc={};kZ.prototype.setExtraHeaders=function(a){this.extraHeaders_=a};kZ.prototype.setTimeout=function(a){this.timeout_=a};kZ.prototype.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};kZ.prototype.getPendingMessages=function(){return this.pendingMessages_};
var cvc=function(a,b,c){a.type_=1;a.baseUri_=wD(b.clone());a.postData_=c;a.decodeChunks_=!0;bvc(a,null)},bvc=function(a,b){a.requestStartTime_=Date.now();dvc(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 Yuc;a.xmlHttp_=evc(a.channel_,c?b:null,!a.postData_);0<a.readyStateChangeThrottleMs_&&(a.readyStateChangeThrottle_=new Luc(Ct(a.xmlHttpHandler_,
a,a.xmlHttp_),a.readyStateChangeThrottleMs_));a.eventHandler_.listen(a.xmlHttp_,"readystatechange",a.readyStateChangeHandler_);b=a.extraHeaders_?dc(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));Puc(1);Uuc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,a.postData_)};
kZ.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)};kZ.prototype.xmlHttpHandler_=function(a){try{a==this.xmlHttp_?fvc(this):this.channelDebug_.warning("Called back with an unexpected xmlhttp")}catch(b){this.channelDebug_.debug("Failed call to OnXmlHttpReadyStateChanged_"),gvc(this)}finally{}};
var fvc=function(a){var b=a.xmlHttp_.getReadyState(),c=a.xmlHttp_.getLastErrorCode(),d=a.xmlHttp_.getStatus();if(!(3>b||3==b&&!Xo&&!gvc(a))){a.cancelled_||4!=b||7==c||(8==c||0>=d?Puc(3):Puc(2));hvc(a);var e=a.xmlHttp_.getStatus();a.lastStatusCode_=e;c=ivc(a);gvc(a)||a.channelDebug_.debug(function(){return"No response text for uri "+a.requestUri_+" status "+e});a.successful_=200==e;Vuc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,b,e);if(a.successful_){if(a.decodeInitialResponse_&&!a.initialResponseDecoded_)if(d=
jvc(a))jZ(a.channelDebug_,a.rid_,d,"Initial handshake response via X-HTTP-Initial-Response"),a.initialResponseDecoded_=!0,kvc(a,d);else{a.successful_=!1;a.lastError_=3;hZ(12);a.channelDebug_.warning("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+a.rid_+")");lZ(a);lvc(a);return}a.decodeChunks_?(mvc(a,b,c),Xo&&a.successful_&&3==b&&nvc(a)):(jZ(a.channelDebug_,a.rid_,c,null),kvc(a,c));4==b&&lZ(a);a.successful_&&!a.cancelled_&&(4==b?ovc(a.channel_,a):(a.successful_=!1,dvc(a)))}else a.xmlHttp_.getResponseHeaders(),
400==e&&0<c.indexOf("Unknown SID")?(a.lastError_=3,hZ(12),a.channelDebug_.warning("XMLHTTP Unknown SID ("+a.rid_+")")):(a.lastError_=0,hZ(13),a.channelDebug_.warning("XMLHTTP Bad status "+e+" ("+a.rid_+")")),lZ(a),lvc(a)}},jvc=function(a){return a.xmlHttp_&&(a=Oh(a.xmlHttp_,"X-HTTP-Initial-Response"))&&!Ui(a)?a:null},ivc=function(a){if(!pvc(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 lZ(a),lvc(a),"";a.fetchResponseState_.textDecoder=new ca.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},gvc=function(a){return a.xmlHttp_?a.fetchResponseState_.responseArrivedForFetch?!0:!(!a.xmlHttp_.getResponseText()&&!a.xmlHttp_.getResponse()):!1},pvc=
function(a){return a.xmlHttp_?"GET"==a.verb_&&2!=a.type_&&a.channel_.usesFetchStreams_:!1},mvc=function(a,b,c){for(var d=!0,e;!a.cancelled_&&a.xmlHttpChunkStart_<c.length;)if(e=qvc(a,c),e==avc){4==b&&(a.lastError_=4,hZ(14),d=!1);jZ(a.channelDebug_,a.rid_,null,"[Incomplete Response]");break}else if(e==$uc){a.lastError_=4;hZ(15);jZ(a.channelDebug_,a.rid_,c,"[Invalid Chunk]");d=!1;break}else jZ(a.channelDebug_,a.rid_,e,null),kvc(a,e);pvc(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,hZ(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),rvc(b),b.bpDetectionDone_=!0,hZ(11))):(jZ(a.channelDebug_,
a.rid_,c,"[Invalid Chunked Response]"),lZ(a),lvc(a))};kZ.prototype.pollResponse_=function(){if(this.xmlHttp_){var a=this.xmlHttp_.getReadyState(),b=this.xmlHttp_.getResponseText();this.xmlHttpChunkStart_<b.length&&(hvc(this),mvc(this,a,b),this.successful_&&4!=a&&dvc(this))}};
var nvc=function(a){a.eventHandler_.listen(a.pollingTimer_,"tick",a.pollResponse_);a.pollingTimer_.start()},qvc=function(a,b){var c=a.xmlHttpChunkStart_,d=b.indexOf("\n",c);if(-1==d)return avc;c=Number(b.substring(c,d));if(isNaN(c))return $uc;d+=1;if(d+c>b.length)return avc;b=b.slice(d,d+c);a.xmlHttpChunkStart_=d+c;return b};kZ.prototype.cancel=function(){this.cancelled_=!0;lZ(this)};
var dvc=function(a){a.watchDogTimeoutTime_=Date.now()+a.timeout_;svc(a,a.timeout_)},svc=function(a,b){if(null!=a.watchDogTimerId_)throw Error("ve");a.watchDogTimerId_=Tuc(Ct(a.onWatchDogTimeout_,a),b)},hvc=function(a){a.watchDogTimerId_&&(ca.clearTimeout(a.watchDogTimerId_),a.watchDogTimerId_=null)};
kZ.prototype.onWatchDogTimeout_=function(){this.watchDogTimerId_=null;var a=Date.now();0<=a-this.watchDogTimeoutTime_?(Xuc(this.channelDebug_,this.requestUri_),2!=this.type_&&(Puc(3),hZ(17)),lZ(this),this.lastError_=2,lvc(this)):(this.channelDebug_.warning("WatchDog timer called too early"),svc(this,this.watchDogTimeoutTime_-a))};
var lvc=function(a){a.channel_.isClosed()||a.cancelled_||ovc(a.channel_,a)},lZ=function(a){hvc(a);Jh(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()}};kZ.prototype.getLastError=function(){return this.lastError_};kZ.prototype.getLastStatusCode=function(){return this.lastStatusCode_};kZ.prototype.getRequestId=function(){return this.rid_};kZ.prototype.getXhr=function(){return this.xmlHttp_};
var kvc=function(a,b){try{var c=a.channel_;if(0!=c.state_&&(c.backChannelRequest_==a||tvc(c.forwardChannelRequestPool_,a)))if(!a.initialResponseDecoded_&&tvc(c.forwardChannelRequestPool_,a)&&3==c.state_){try{var d=c.wireCodec_.parser_.parse(b)}catch(Z){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_)uvc(c),vvc(c);else break a;else c.channelDebug_.warning("We do not have a BackChannel established");wvc(c);hZ(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_=Tuc(Ct(c.onBackChannelDead_,c),6E3))}}if(1>=xvc(c.forwardChannelRequestPool_)&&
c.forwardChannelFlushedCallback_){try{c.forwardChannelFlushedCallback_()}catch(Z){}c.forwardChannelFlushedCallback_=void 0}}else c.channelDebug_.debug("Bad POST response data returned"),mZ(c,11)}else if((a.initialResponseDecoded_||c.backChannelRequest_==a)&&uvc(c),!Ui(b))for(e=c.wireCodec_.parser_.parse(b),f=0;f<e.length;f++){var k=e[f];c.lastArrayId_=k[0];k=k[1];if(2==c.state_)if("c"==k[0]){c.sid_=k[1];c.hostPrefix_=c.correctHostPrefix(k[2]);var q=k[3];null!=q&&(c.channelVersion_=q,c.channelDebug_.info("VER="+
c.channelVersion_));var t=k[4];null!=t&&(c.serverVersion_=t,c.channelDebug_.info("SVER="+c.serverVersion_));var w=k[5];null!=w&&"number"===typeof w&&0<w&&(h=1.5*w,c.backChannelRequestTimeoutMs_=h,c.channelDebug_.info("backChannelRequestTimeoutMs_="+h));h=c;var z=a.getXhr();if(z){var F=Oh(z,"X-Client-Wire-Protocol");if(F){var J=h.forwardChannelRequestPool_;b=F;!J.requestPool_&&(ia(b,"spdy")||ia(b,"quic")||ia(b,"h2"))&&(J.maxSize_=J.maxPoolSizeConfigured_,J.requestPool_=new Set,J.request_&&(J.addRequest(J.request_),
J.request_=null))}if(h.httpSessionIdParam_){var H=Oh(z,"X-HTTP-Session-Id");H?(h.httpSessionId_=H,uD(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=yvc(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.");zvc(h.forwardChannelRequestPool_,b);d=b;var U=h.backChannelRequestTimeoutMs_;U&&d.setTimeout(U);d.watchDogTimerId_&&(hvc(d),dvc(d));h.backChannelRequest_=b}else Avc(h);0<c.outgoingMaps_.length&&Bvc(c)}else"stop"!=k[0]&&"close"!=k[0]||mZ(c,7);else 3==c.state_&&("stop"==k[0]||"close"==k[0]?"stop"==k[0]?mZ(c,7):c.disconnect():"noop"!=k[0]&&c.handler_&&c.handler_.channelHandleArray(k),
c.backChannelRetryCount_=0)}Puc(4)}catch(Z){}};var Cvc=function(a,b){this.mapId=a;this.map=b;this.context=null};var Dvc=function(a){this.maxPoolSizeConfigured_=a||10;ca.PerformanceNavigationTiming?(a=ca.performance.getEntriesByType("navigation"),a=0<a.length&&("hq"==a[0].nextHopProtocol||"h2"==a[0].nextHopProtocol)):a=!!(ca.chrome&&ca.chrome.loadTimes&&ca.chrome.loadTimes()&&ca.chrome.loadTimes().wasFetchedViaSpdy);this.maxSize_=a?this.maxPoolSizeConfigured_:1;this.requestPool_=null;1<this.maxSize_&&(this.requestPool_=new Set);this.request_=null;this.pendingMessages_=[]},Evc=function(a){return a.request_?!0:
a.requestPool_?a.requestPool_.size>=a.maxSize_:!1},xvc=function(a){return a.request_?1:a.requestPool_?a.requestPool_.size:0},tvc=function(a,b){return a.request_?a.request_==b:a.requestPool_?a.requestPool_.has(b):!1};Dvc.prototype.addRequest=function(a){this.requestPool_?this.requestPool_.add(a):this.request_=a};var zvc=function(a,b){a.request_&&a.request_==b?a.request_=null:a.requestPool_&&a.requestPool_.has(b)&&a.requestPool_.delete(b)};
Dvc.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=l(this.requestPool_.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.requestPool_.clear()}};
Dvc.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=l(this.requestPool_.values()),c=b.next();!c.done;c=b.next())a=a.concat(c.value.getPendingMessages());return a}return wa(this.pendingMessages_)};var Fvc=function(a,b){a.pendingMessages_=a.pendingMessages_.concat(b)};var Hvc=function(a,b){var c=new iZ;c.debug("TestLoadImage: loading "+a);if(ca.Image){var d=new Image;d.onload=Dt(Gvc,c,d,"TestLoadImage: loaded",!0,b);d.onerror=Dt(Gvc,c,d,"TestLoadImage: error",!1,b);d.onabort=Dt(Gvc,c,d,"TestLoadImage: abort",!1,b);d.ontimeout=Dt(Gvc,c,d,"TestLoadImage: timeout",!1,b);ca.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)},Gvc=function(a,b,c,d,e){try{a.debug(c),b.onload=null,b.onerror=null,b.onabort=null,b.ontimeout=null,e(d)}catch(f){}};var Ivc=function(){this.replacer_=void 0};Ivc.prototype.stringify=function(a){return ca.JSON.stringify(a,this.replacer_)};Ivc.prototype.parse=function(a){return ca.JSON.parse(a,void 0)};var Jvc=function(){this.parser_=new Ivc},Kvc=function(a,b,c){var d=c||"";try{f0b(a,function(e,f){var h=e;za(e)&&(h=(new uZb).serialize(e));b.push(d+f+"="+encodeURIComponent(h))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}};var Lvc=function(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b},nZ=function(a){this.clientVersion_=22;this.serverVersion_=0;this.outgoingMaps_=[];this.channelDebug_=new iZ;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_=Lvc("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_=Lvc("baseRetryDelayMs",5E3,a);this.retryDelaySeedMs_=Lvc("retryDelaySeedMs",1E4,a);this.forwardChannelMaxRetries_=Lvc("forwardChannelMaxRetries",2,a);this.forwardChannelRequestTimeoutMs_=
Lvc("forwardChannelRequestTimeoutMs",2E4,a);this.xmlHttpFactory_=a&&a.xmlHttpFactory||void 0;this.usesFetchStreams_=a&&a.useFetchStreams||!1;this.backChannelRequestTimeoutMs_=void 0;this.readyStateChangeThrottleMs_=0;this.supportsCrossDomainXhrs_=a&&a.supportsCrossDomainXhr||!1;this.sid_="";this.forwardChannelRequestPool_=new Dvc(a&&a.concurrentRequestLimit);this.wireCodec_=new Jvc;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};nZ.prototype.channelVersion_=8;nZ.prototype.state_=1;
nZ.prototype.connect=function(a,b,c,d){this.channelDebug_.debug("connect()");hZ(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=yvc(this,null,this.path_);this.channelDebug_.debug("GetForwardChannelUri: "+a);this.forwardChannelUri_=a;Bvc(this)};
nZ.prototype.disconnect=function(){this.channelDebug_.debug("disconnect()");Mvc(this);if(3==this.state_){var a=this.nextRid_++,b=this.forwardChannelUri_.clone();uD(b,"SID",this.sid_);uD(b,"RID",a);uD(b,"TYPE","terminate");Nvc(this,b);a=new kZ(this,this.channelDebug_,this.sid_,a);a.type_=2;a.baseUri_=wD(b.clone());b=!1;if(ca.navigator&&ca.navigator.sendBeacon)try{b=ca.navigator.sendBeacon(a.baseUri_.toString(),"")}catch(c){}!b&&ca.Image&&((new Image).src=a.baseUri_,b=!0);b||(a.xmlHttp_=evc(a.channel_,
null),a.xmlHttp_.send(a.baseUri_));a.requestStartTime_=Date.now();dvc(a)}Ovc(this)};var vvc=function(a){a.backChannelRequest_&&(rvc(a),a.backChannelRequest_.cancel(),a.backChannelRequest_=null)},Mvc=function(a){vvc(a);a.backChannelTimerId_&&(ca.clearTimeout(a.backChannelTimerId_),a.backChannelTimerId_=null);uvc(a);a.forwardChannelRequestPool_.cancel();a.forwardChannelTimerId_&&("number"===typeof a.forwardChannelTimerId_&&ca.clearTimeout(a.forwardChannelTimerId_),a.forwardChannelTimerId_=null)};
g=nZ.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 Bvc=function(a){Evc(a.forwardChannelRequestPool_)||a.forwardChannelTimerId_||(a.forwardChannelTimerId_=!0,TB(a.onStartForwardChannelTimer_,a),a.forwardChannelRetryCount_=0)},Qvc=function(a,b){if(xvc(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_=Tuc(Ct(a.onStartForwardChannelTimer_,a,b),Pvc(a,a.forwardChannelRetryCount_));a.forwardChannelRetryCount_++;return!0};
nZ.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 kZ(this,this.channelDebug_,"",a),c=this.extraHeaders_;this.initHeaders_&&(c?(c=dc(c),Xda(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=Rvc(this,b,d);e=this.forwardChannelUri_.clone();uD(e,"RID",a);0<this.clientVersion_&&uD(e,"CVER",this.clientVersion_);this.httpSessionIdParam_&&
uD(e,"X-HTTP-Session-Id",this.httpSessionIdParam_);Nvc(this,e);c&&(this.encodeInitMessageHeaders_?d="headers="+encodeURIComponent(String(o0b(c)))+"&"+d:this.httpHeadersOverwriteParam_&&p0b(e,this.httpHeadersOverwriteParam_,c));this.forwardChannelRequestPool_.addRequest(b);this.blockingHandshake_&&uD(e,"TYPE","init");this.fastHandshake_?(uD(e,"$req",d),uD(e,"SID","null"),b.decodeInitialResponse_=!0,cvc(b,e,null)):cvc(b,e,d);this.state_=2}}else 3==this.state_&&(a?Svc(this,a):0==this.outgoingMaps_.length?
this.channelDebug_.debug("startForwardChannel_ returned: nothing to send"):Evc(this.forwardChannelRequestPool_)||(Svc(this),this.channelDebug_.debug("startForwardChannel_ finished, sent request")))};
var Svc=function(a,b){var c;b?c=b.getRequestId():c=a.nextRid_++;var d=a.forwardChannelUri_.clone();uD(d,"SID",a.sid_);uD(d,"RID",c);uD(d,"AID",a.lastArrayId_);Nvc(a,d);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&p0b(d,a.httpHeadersOverwriteParam_,a.extraHeaders_);c=new kZ(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=Rvc(a,c,1E3);c.setTimeout(Math.round(.5*
a.forwardChannelRequestTimeoutMs_)+Math.round(.5*a.forwardChannelRequestTimeoutMs_*Math.random()));a.forwardChannelRequestPool_.addRequest(c);cvc(c,d,b)},Nvc=function(a,b){a.extraParams_&&Yb(a.extraParams_,function(c,d){uD(b,d,c)});a.handler_&&f0b({},function(c,d){uD(b,d,c)})},Rvc=function(a,b,c){c=Math.min(a.outgoingMaps_.length,c);var d=a.handler_?Ct(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 k=!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),k=!1;else try{Kvc(w,h,"req"+t+"_")}catch(z){d&&d(w)}}if(k){d=h.join("&");break a}}a=a.outgoingMaps_.splice(0,c);b.pendingMessages_=a;return d},Avc=function(a){a.backChannelRequest_||a.backChannelTimerId_||(a.backChannelAttemptId_=1,TB(a.onStartBackChannelTimer_,a),a.backChannelRetryCount_=0)},wvc=function(a){if(a.backChannelRequest_||a.backChannelTimerId_||3<=a.backChannelRetryCount_)return!1;a.channelDebug_.debug("Going to retry GET");
a.backChannelAttemptId_++;a.backChannelTimerId_=Tuc(Ct(a.onStartBackChannelTimer_,a),Pvc(a,a.backChannelRetryCount_));a.backChannelRetryCount_++;return!0};
nZ.prototype.onStartBackChannelTimer_=function(){this.backChannelTimerId_=null;Tvc(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_=Tuc(Ct(this.onBpDetectionTimer_,this),a)}};
nZ.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;hZ(10);vvc(this);Tvc(this)}else this.channelDebug_.warning("Invalid operation.")};
var rvc=function(a){null!=a.bpDetectionTimerId_&&(a.channelDebug_.debug("Cancel the BP detection timer."),ca.clearTimeout(a.bpDetectionTimerId_),a.bpDetectionTimerId_=null)},Tvc=function(a){a.channelDebug_.debug("Creating new HttpRequest");a.backChannelRequest_=new kZ(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();uD(b,"RID","rpc");uD(b,"SID",a.sid_);uD(b,"AID",a.lastArrayId_);uD(b,"CI",a.enableStreaming_?"0":"1");!a.enableStreaming_&&a.longPollingTimeout_&&uD(b,"TO",a.longPollingTimeout_);uD(b,"TYPE","xmlhttp");Nvc(a,b);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&p0b(b,a.httpHeadersOverwriteParam_,a.extraHeaders_);a.backChannelRequestTimeoutMs_&&a.backChannelRequest_.setTimeout(a.backChannelRequestTimeoutMs_);var c=a.backChannelRequest_,d=a.hostPrefix_;c.type_=1;c.baseUri_=wD(b.clone());
c.postData_=null;c.decodeChunks_=!0;bvc(c,d);a.channelDebug_.debug("New Request created")};nZ.prototype.correctHostPrefix=function(a){return this.handler_?this.handler_.correctHostPrefix(a):a};nZ.prototype.onBackChannelDead_=function(){null!=this.deadBackChannelTimerId_&&(this.deadBackChannelTimerId_=null,vvc(this),wvc(this),hZ(19))};
var uvc=function(a){null!=a.deadBackChannelTimerId_&&(ca.clearTimeout(a.deadBackChannelTimerId_),a.deadBackChannelTimerId_=null)},ovc=function(a,b){a.channelDebug_.debug("Request complete");var c=null;if(a.backChannelRequest_==b){uvc(a);rvc(a);a.backChannelRequest_=null;var d=2}else if(tvc(a.forwardChannelRequestPool_,b))c=b.getPendingMessages(),zvc(a.forwardChannelRequestPool_,b),d=1;else return;if(0!=a.state_)if(b.successful_)1==d?(Suc(b.postData_?b.postData_.length:0,Date.now()-b.requestStartTime_,
a.forwardChannelRetryCount_),Bvc(a)):Avc(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: "+Zuc(f,a.errorResponseStatusCode_)});if(1==d&&Qvc(a,b)||2==d&&wvc(a))return;a.channelDebug_.debug("Exceeded max number of retries")}c&&0<c.length&&Fvc(a.forwardChannelRequestPool_,c);a.channelDebug_.debug("Error: HTTP request failed");
switch(f){case 1:mZ(a,5);break;case 4:mZ(a,10);break;case 3:mZ(a,6);break;default:mZ(a,2)}}},Pvc=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},mZ=function(a,b){a.channelDebug_.info("Error code "+b);if(2==b){var c=null;a.handler_&&(c=null);var d=Ct(a.testNetworkCallback_,a);c||(c=new So("//www.google.com/images/cleardot.gif"),ca.location&&"http"==ca.location.protocol||nD(c,"https"),wD(c));
Hvc(c.toString(),d)}else hZ(2);a.onError_(b)};nZ.prototype.testNetworkCallback_=function(a){a?(this.channelDebug_.info("Successfully pinged google.com"),hZ(2)):(this.channelDebug_.info("Failed to ping google.com"),hZ(1))};nZ.prototype.onError_=function(a){this.channelDebug_.debug("HttpChannel: error - "+a);this.state_=0;this.handler_&&this.handler_.channelError(a);Ovc(this);Mvc(this)};
var Ovc=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,wa(a.outgoingMaps_),a.outgoingMaps_.length=0;a.handler_.channelClosed()}},
yvc=function(a,b,c){var d=xD(c);""!=d.getDomain()?(b&&oD(d,b+"."+d.getDomain()),d.setPort(d.getPort())):(d=ca.location,d=m0b(d.protocol,null,b?b+"."+d.hostname:d.hostname,+d.port,c));b=a.httpSessionIdParam_;c=a.getHttpSessionId();b&&c&&uD(d,b,c);uD(d,"VER",a.channelVersion_);Nvc(a,d);return d},evc=function(a,b,c){if(b&&!a.supportsCrossDomainXhrs_)throw Error("we");b=a.usesFetchStreams_&&!a.xmlHttpFactory_?new oC(new iD({streamBinaryChunks:c})):new oC(a.xmlHttpFactory_);b.withCredentials_=a.supportsCrossDomainXhrs_;
return b};nZ.prototype.isActive=function(){return!!this.handler_&&this.handler_.isActive(this)};var Uvc=function(){};g=Uvc.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 Vvc=function(){if(Nq&&!(10<=Number(Jt)))throw Error("xe");};Vvc.prototype.createWebChannel=function(a,b){return new oZ(a,b)};
var oZ=function(a,b){No.call(this);this.channel_=new nZ(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)&&!Ui(a)&&(this.channel_.httpHeadersOverwriteParam_=a);this.supportsCrossDomainXhr_=b&&b.supportsCrossDomainXhr||!1;this.sendRawJson_=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!Ui(b)&&(this.channel_.httpSessionIdParam_=b,Rda(this.messageUrlParams_,b)&&cc(this.messageUrlParams_,b));this.channelHandler_=new pZ(this)};Et(oZ,No);
oZ.prototype.open=function(){this.channel_.handler_=this.channelHandler_;this.supportsCrossDomainXhr_&&(this.channel_.supportsCrossDomainXhrs_=!0);this.channel_.connect(this.url_,this.messageUrlParams_||void 0)};oZ.prototype.close=function(){this.channel_.disconnect()};oZ.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 uZb).serialize(a),a=c);b.outgoingMaps_.push(new Cvc(b.nextMapId_++,a));3==b.state_&&Bvc(b)};
oZ.prototype.disposeInternal=function(){this.channel_.handler_=null;delete this.channelHandler_;this.channel_.disconnect();delete this.channel_;oZ.superClass_.disposeInternal.call(this)};var Wvc=function(a){uuc.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)?Vda(b,this.metadataKey):b}else this.data=a};Et(Wvc,uuc);
var Xvc=function(a){vuc.call(this);this.status=1;this.errorCode=a};Et(Xvc,vuc);var pZ=function(a){this.channel_=a};Et(pZ,Uvc);pZ.prototype.channelOpened=function(){this.channel_.dispatchEvent("v")};pZ.prototype.channelHandleArray=function(a){this.channel_.dispatchEvent(new Wvc(a))};pZ.prototype.channelError=function(a){this.channel_.dispatchEvent(new Xvc(a))};pZ.prototype.channelClosed=function(){this.channel_.dispatchEvent("w")};var yuc=function(a){this.channel_=a};
yuc.prototype.getHttpSessionId=function(){return this.channel_.getHttpSessionId()};yuc.prototype.commit=function(a){this.channel_.forwardChannelFlushedCallback_=a};yuc.prototype.getLastStatusCode=function(){return this.channel_.getLastStatusCode()};var Yvc=function(){this.changeList=[]};Yvc.prototype.add=function(a){this.changeList.push(a)};
var Zvc=function(a,b){this.authMethod=b;this.jspbClient=new Kuc(a)},$vc=function(a,b){var c,d,e,f,h;return ke(function(k){if(1==k.nextAddress){c=new kuc;li(c,VY,1,b);var q=a.jspbClient,t=q.post;var w=a.authMethod;w={queryParams:w.getQueryParameters(),extraHeaders:w.getHeaders(),withCredentials:w.usesCredentialedRequests()};return me(k,t.call(q,"/punctual/v1/chooseServer",c,luc,w),2)}d=k.yieldResult;e=Fj(d,1);if(null==e)throw Error("ye");return k.return({gsessionid:e,affinitization:null!=(f=d.getAffinitizationOrUndefined())?
f:0,initialConnectionDelayMillis:null!=(h=Xt(d,3))?h:0})})},awc=function(a,b,c){this.project=a;this.interestSet=b;this.knowledgeTimestamp=c;this.hasRecurred=!1;this.resyncMillis=Date.now()},qZ=function(a,b,c){this.defaultProject=a;this.channelDeps=c;this.causalStreams=new Map;this.limboStreams=new Map;this.nonCausalStreams=new Map;this.newStreamSubject=new W.Subject;this.streamNumber=0;this.rawStatus=new W.Subject;this.status=new W.BehaviorSubject(new eD);this.skipBackoff=new Buc;this.recentResyncs=
[];this.hasConnected=!1;this.rawStatus.pipe(Xja(function(d){return 0===d.getCode()?Promise.resolve():new Promise(function(e){iq(e,500)})})).subscribe(this.status);this.delayGenerator=new n0a;this.reconnectHint=b?b.pipe(Pe(function(){return W.NEVER}),Vja(W.NEVER)):W.NEVER;bwc(this)},cwc=function(a,b,c,d){b=b.then(function(e){switch(e.domainType()){case 2:case 0:var f=a.firstPartyUri;break;case 1:f=a.thirdPartyUri;break;default:f=new So}var h=f.clone().setPath("/punctual/multi-watch/channel"),k=new wuc(h.toString(),
e);return{serverChooser:new Zvc(f,e),channelCreator:function(q,t,w){q=new xuc(q,t,k,function(z,F){return(new Vvc).createWebChannel(z,F)},w);q.open();return q}}});return new qZ(d,c,b)};qZ.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 dwc=function(a){for(var b=0,c=Date.now();b<a.recentResyncs.length;)c>=a.recentResyncs[b].resyncMillis+6E4?a.recentResyncs.splice(b):++b},ewc=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 tq&&d instanceof tq?c.equals(d):!1;return d})};qZ.prototype.onOpen=function(){var a=new eD;a.setCode(0);try{this.rawStatus.next(a)}catch(b){}};qZ.prototype.onClose=function(){this.channelState=void 0;bwc(this)};
qZ.prototype.onError=function(a,b){a=new eD;a.setCode(p0a(b));try{this.rawStatus.next(a)}catch(c){}b=l(this.causalStreams.values());for(a=b.next();!a.done;a=b.next())a.value.streamInitiationReason=2;b=l(this.nonCausalStreams.values());for(a=b.next();!a.done;a=b.next())a.value.streamInitiationReason=2};
var hwc=function(a,b,c){if(a.channelState){var d=fwc(c.project,c.interestSet);c instanceof gwc&&(yj(d,1,c.knowledgeTimestamp.toString()),Mh(d,8,c.knowledgeTimestampChosenByPunctual));tj(d,9,c.streamInitiationReason);c.streamInitiationReason=0;c=new WY;var e=c.addAndReturnRequests();e.setStreamId(b.toString());Gk(e,2,ouc,d);e.setAffinitization(a.channelState.affinitization);a.channelState.channel.send(c)}},fwc=function(a,b){var c=new VY;c=li(c,UY,4,zuc);if(b instanceof tq){var d=new huc;null!=a&&d.setProject(r0a(a));
d.setOwner(t0a(b));d.setPath(v0a(b));Gk(c,2,juc,d)}else d=new iuc,null!=a&&d.setProject(r0a(a)),d.setOwner(t0a(b.root)),d.setPrefix(v0a(b.root)),c.setPrefix(d);return c},iwc=function(a,b){var c=new WY,d=c.addAndReturnRequests();d.setStreamId(b.toString());d.setClose(new muc);a.channelState&&a.channelState.channel.send(c);a.causalStreams.delete(b);a.limboStreams.delete(b);a.nonCausalStreams.delete(b)},bwc=function(a){var b=fuc(a.delayGenerator);q0a(b).pipe(uka(a.reconnectHint.pipe(Xe(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){jwc(a,c.serverChooser).then(function(d){iq(function(){a.hasConnected=!0;kwc(a,c.channelCreator,d)},a.hasConnected?0:d.initialConnectionDelayMillis)},function(){bwc(a)})},function(c){var d=new eD;d.setCode(13);d.setMessage(c.toString());a.rawStatus.next(d)})})},jwc=function(a,b){var c,d,e,f,h,k;return ke(function(q){if(1==q.nextAddress)return me(q,lwc(a),2);c=q.yieldResult;d=
l(c);e=d.next().value;f=d.next().value;h=e;k=f;return q.return($vc(b,fwc(h,k)))})},lwc=function(a){var b,c,d,e,f,h,k;return ke(function(q){b=[a.causalStreams,a.limboStreams,a.nonCausalStreams];c=l(b);for(d=c.next();!d.done;d=c.next())for(e=d.value,f=l(e.values()),h=f.next();!h.done;)return k=h.value,q.return([k.project,k.interestSet]);return me(q,PPb(Ls(a.newStreamSubject).pipe(Xe())),1)})},kwc=function(a,b,c){a.channelState={channel:b(function(f){for(var h=l(f.getResponsesList()),k=h.next();!k.done;k=
h.next()){var q=a,t=k.value;if(k=t.getStreamId_legacyNullable_asLegacyNumberOrString())if(k=Number(k),t.hasClose()){a:{if(t=t.getClose())if(t=t.getStatus())break a;t=void 0}t&&q.handleClose(k,t)}else if(t=Ak(t,ZY,2,tuc))switch(kl(t,$Y)){case 1:if(t=q.causalStreams.get(k)){try{t.observer.next(new duc)}catch(O){}q.causalStreams.delete(k);q.limboStreams.set(k,t.start())}break;case 3:a:{if(t=Ak(t,puc,3,$Y))if(t=ej(t,1)){var w=new euc(uq(t));break a}w=void 0}if(w&&(t=k,k=w,(w=q.limboStreams.get(t))?(w=
w.advance(k.timestampMicros),q.limboStreams.delete(t),q.nonCausalStreams.set(t,w),q=w):q=q.nonCausalStreams.get(t),q)){t=q;w=k.timestampMicros;w>t.knowledgeTimestamp&&(t.knowledgeTimestamp=w,t.knowledgeTimestampChosenByPunctual=!0);try{q.observer.next(k)}catch(O){}}break;case 2:k=q.nonCausalStreams.get(k)||q.limboStreams.get(k);if(!k)break;q=k.interestSet;if(w=t.getChanges()){t=new Yvc;w=l(gi(w,YY,1,hi()));for(var z=w.next();!z.done;z=w.next()){var F=z.value,J=$i(F,mq,6);z=ej(F,3);if(J&&z){var H=
void 0;F=null==(H=wq(F,2))?void 0:y0a(H);H=null===F?void 0:F;(J=A0a(q,J))&&t.add(new cuc(J,uq(z),H))}}q=t}else q=void 0;if(q)for(q=l(q.changeList),t=q.next();!t.done;t=q.next()){t=t.value;t=new cuc(t.objectId,t.version,t.payload);try{k.observer.next(t)}catch(O){}}break;case 5:if(k=q.causalStreams.get(k)||q.limboStreams.get(k)||q.nonCausalStreams.get(k)){k instanceof gwc&&(dwc(q),(t=ewc(q,k))?(t.hasRecurred=!0,t.knowledgeTimestamp=k.knowledgeTimestamp,t.resyncMillis=Date.now()):q.recentResyncs.push(new awc(k.project,
k.interestSet,k.knowledgeTimestamp)));try{k.observer.complete()}catch(O){}}}}if(f.hasStatus())switch(f.getStatus().getCode_legacyNullable()){case 1:f=l(a.causalStreams.values());for(h=f.next();!h.done;h=f.next())h.value.streamInitiationReason=3;f=l(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=l(b);for(c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;hwc(a,c,d)}b=l(a.limboStreams);for(c=b.next();!c.done;c=b.next())c=l(c.value),c.next(),c.next().value.observer.complete();a.limboStreams.clear();var e=a.channelState;iq(function(){a.channelState===e&&a.delayGenerator.reset()},45E3)};
qZ.prototype.watch=function(a,b){var c=this;b=void 0===b?{}:b;return new W.Observable(function(d){var e=++c.streamNumber,f,h=null!=(f=b.projectOverride)?f:c.defaultProject;d=new mwc(d,h,a);c.causalStreams.set(e,d);c.newStreamSubject.next({});hwc(c,e,d);return function(){iwc(c,e)}})};
qZ.prototype.watchWithStartTime=function(a,b,c){var d=this;c=void 0===c?{}:c;return new W.Observable(function(e){var f=++d.streamNumber,h,k=null!=(h=c.projectOverride)?h:d.defaultProject,q=new gwc(e,k,a,b,!1);dwc(d);if((e=ewc(d,q))&&(e.hasRecurred||0>=b.compare(e.knowledgeTimestamp))){var t=!0;iq(function(){t&&q.observer.complete()},6E4);return function(){t=!1}}d.nonCausalStreams.set(f,q);d.newStreamSubject.next({});hwc(d,f,q);return function(){iwc(d,f)}})};
var mwc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c;this.streamInitiationReason=1};mwc.prototype.start=function(){return new nwc(this.observer,this.project,this.interestSet)};var nwc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};nwc.prototype.advance=function(a){return new gwc(this.observer,this.project,this.interestSet,a,!0)};
var gwc=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 owc={firstPartyUri:new So("https://signaler-pa.clients6.google.com"),thirdPartyUri:new So("https://signaler-pa.googleapis.com")},pwc={firstPartyUri:new So("https://punctual-dev.corp.google.com"),thirdPartyUri:new So("https://signaler-staging.sandbox.google.com")},qwc=new Map(Object.entries({prod:owc,ytprod:{firstPartyUri:new So("https://signaler-pa.youtube.com"),thirdPartyUri:new So("https://signaler-pa.googleapis.com")},dev:pwc}));var rwc=function(a){this.projectPath=a;this.authParams=new Huc};rwc.prototype.setApiKey=function(a){this.authParams.apiKey=a;return this};
rwc.prototype.build=function(){var a=o0a(this.authParams),b=this.projectPath;if(!b.startsWith("/punctual/"))throw Error("ze`"+b);var c=b.substring(10).split("/");if(2!==c.length)throw Error("Ae`"+b);b=l(c);c=b.next().value;b=b.next().value;if(c.startsWith("custom:"))c=new So(decodeURIComponent(c.substring(7))),c={firstPartyUri:c,thirdPartyUri:c};else{var d=qwc.get(c);if(!d)throw Error("Be`"+c);c=d}return cwc(c,a,this.reconnectHint,b)};var swc={watch:function(){return(0,W.of)()},watchWithStartTime:function(){return(0,W.of)()},status:(0,W.of)()},rZ=function(a){this.activeSession=a;if(tE(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 rwc(b)).setApiKey(a).build()}else this.punctualClient=swc},twc=function(a,b){return a.punctualClient.watch(w0a("new-comment-issue",b)).pipe(Ce(function(c){return c instanceof cuc}))};rZ.\u0275fac=function(a){return new (a||rZ)(p(nt))};rZ.\u0275prov=vc({token:rZ,factory:rZ.\u0275fac,providedIn:"root"});var sZ=function(a){this.punctualService=a;this.stream=new W.Subject;this.isPaused=!1;this.closeStream$=new W.Subject};sZ.prototype.resume=function(){this.isPaused=!1};var uwc=function(a,b){a.issueId!==b&&(a.closeStream$.next(),a.stream=new W.Subject,a.issueId=b,a.resume(),a.watch(b).subscribe(a.stream));return a.stream};sZ.prototype.watch=function(a){var b=this;return twc(this.punctualService,a).pipe(Ce(function(){var c=!b.isPaused;b.resume();return c}),Re(1E3),ef(this.closeStream$))};
sZ.\u0275fac=function(a){return new (a||sZ)(p(rZ))};sZ.\u0275prov=vc({token:sZ,factory:sZ.\u0275fac,providedIn:"root"});var vwc=function(a,b){this.displayText=a;this.value=b;this.enabled=!0;this.disabledReason=""};var wwc=function(a){return[a]},tZ=function(a){this.matDialog=a};tZ.prototype.show=function(a,b,c,d){this.dialog=this.matDialog.open(uZ,{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,W.firstValueFrom)(this.dialog.afterClosed())};tZ.\u0275fac=function(a){return new (a||tZ)(p(EA))};
tZ.\u0275prov=vc({token:tZ,factory:tZ.\u0275fac,providedIn:"root"});
var uZ=function(a,b,c,d,e,f){Y.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(wY(e,function(){return h.isModified()},!1))};X(uZ,Y);uZ.\u0275dir=Y.\u0275dir;g=uZ.prototype;g.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(ef(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(ef(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!Th(this.newComment,this.origComment)};
g.closeDialogForSave=function(){var a=this,b,c,d;return ke(function(e){if(1==e.nextAddress){if(!a.isModified())return e.return();a.enableRecaptcha&&(a.newComment.recaptchaToken=a.recaptchaResponse);return me(e,a.bannedWordsChecker.check(a.newComment.text,"EXTERNAL_AUDIENCE"===a.newComment.audience,a.newComment.componentId),2)}(b=e.yieldResult)?null==(d=a.dialogService.dialog)||d.close(a.newComment):null==(c=a.commentDraft)||ggc(c);qe(e)})};
uZ.\u0275fac=function(a){return new (a||uZ)(A(nt),A(DA),A(tZ),A(BA),A(vY),A(uY))};
uZ.\u0275cmp=Lc({type:uZ,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&Uf(lP,5);if(a&2){var c;Yf(c=Zf())&&(b.commentDraft=c.first)}},features:[bg([uY]),nf],decls:19,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"content","audience","textareaClass","contentChange","onSubmit"],["class","banned-words-warning break-word",4,"ngIf"],[1,"inline-block",3,"initialValue","change"],[3,"comment","issueId",
"audience","formattingMode",4,"ngIf"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-flat-button","",1,"gmat-button",3,"disabled","color","click"],[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&&(E(0,
"h1",0),R(1),G(),E(2,"section",1)(3,"p",2),R(4," Editing comments will not permanently remove old ones from database history. "),I(5,"br"),R(6," For deletion of PII or other sensitive content, please "),E(7,"a",3),R(8," file a support request."),G()(),E(9,"b-comment-draft",4),M("contentChange",function(c){return b.newComment.text=c})("onSubmit",function(){return b.closeDialogForSave()})("contentChange",function(){b.bannedWordsChecker.reset()}),G(),C(10,B0a,4,1,"p",5),E(11,"b-markdown-toggle",6),M("change",
function(c){return b.newComment.formattingMode=c}),G(),C(12,C0a,1,4,"b-live-preview",7),G(),C(13,D0a,3,0,"section",8),E(14,"footer",9)(15,"button",10),R(16," Cancel "),G(),E(17,"button",11),M("click",function(){return b.closeDialogForSave()}),R(18),G()());a&2&&(y(),ag("Editing Comment #",b.origComment.id," of Issue ",b.origComment.issueId,""),y(6),D("href",b.contentRemovalRequestLink,Pd),y(2),D("content",b.newComment.text)("audience",b.origComment.audience)("textareaClass",fg(16,wwc,b.bannedWordsChecker.showWarning()?
"banned-words-warning":"")),y(),D("ngIf",b.bannedWordsChecker.showWarning()),y(),yf("margin-bottom",(null==b.newComment?null:b.newComment.formattingMode)!==b.MARKDOWN),D("initialValue",b.origComment.formattingMode),y(),D("ngIf",(null==b.newComment?null:b.newComment.formattingMode)===b.MARKDOWN),y(),D("ngIf",b.enableRecaptcha),y(2),D("mat-dialog-close",void 0),y(2),D("disabled",!b.isModified()||!b.isCaptchaValid())("color",b.bannedWordsChecker.showWarning()?"warn":"primary"),y(),S(" ",b.bannedWordsChecker.showWarning()?
"Save Anyway":"Save"," "))},dependencies:[FA,GA,HA,IA,dw,nA,ZM,HM,lP,TV],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 vZ=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la,oa,Fa,Ta,Pa){this.dismissalService=a;this.editIssueService=b;this.butterBar=c;this.issuePermissionService=d;this.issueCommentService=e;this.editCommentDialogService=f;this.issueFridge=h;this.matDialogService=k;this.paths=q;this.analytics=t;this.domSafe=w;this.confirmationDialogService=z;this.issueComments=F;this.errorHandler=J;this.issueFetchResponseFridge=H;this.eventsForIssueFridge=O;this.componentFridge=P;this.commentFormatter=U;this.confirmNoAccessService=
Z;this.activeSession=la;this.appEvents=oa;this.issuePicker=Fa;this.eventsForIssueWatcher=Ta;this.issueInteractionsTracking=Pa},Xs=function(a,b,c){var d,e,f,h,k,q,t;return ke(function(w){if(1==w.nextAddress)return me(w,(0,W.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!=(k=a.issuePermissionService.audience())?k:"EXTERNAL_AUDIENCE";
return me(w,a.editCommentDialogService.show(b,q,c,f),3)}t=w.yieldResult;if(null==t)return w.return();buc(a.issueCommentService,{issueId:b,newCommentId:t.id,newComment:t.text,newCommentFormattingMode:t.formattingMode,recaptchaToken:t.recaptchaToken});qe(w)})},ywc=function(a,b,c){var d,e,f;return ke(function(h){if(1==h.nextAddress)return c?me(h,xwc(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"},me(h,a.issuePicker.open(d),3);e=h.yieldResult;if(null==(f=e)?0:f.length){var k=a.paths.editIssue(e[0],{template_issue:b,template_comment:c,do_attribution:!0});kp(a.analytics,Sp.EDIT_ISSUE,"copyComment");a.domSafe.openInNewTab(k)}qe(h)})},xwc=function(a,b){function c(U){return z.get(U)}var d,e,f,h,k,q,t,w,z,F,J,H,O,P;return ke(function(U){if(1==U.nextAddress)return me(U,(0,W.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:[];k=null!=(h=d.snapshot[0].blockingIssueId)?h:[];t=null!=(q=d.snapshot[0].blockedByIssueId)?q:[];return me(U,(0,W.firstValueFrom)(a.issueFridge.watchSet(An([].concat(r(f),r(k),r(t))))),3)}w=U.yieldResult;z=new Map(w.map(function(Z){return[Z.issueId,Z]}));F=t.map(c).filter(Bi).map(E0a("BLOCKED_BY"));J=k.map(c).filter(Bi).map(E0a("BLOCKING"));H=f.map(c).filter(Bi).map(E0a("DUPLICATE"));O=[].concat(r(F),r(J),r(H));P=F0a(O);return U.return(P)})},Awc=function(a,
b,c){var d;return ke(function(e){return 1==e.nextAddress?c?me(e,W4b(a.confirmationDialogService,{title:"Restore comment # "+c+"?",content:gh("Are you sure you want to restore this comment?")}),2):e.return():(d=e.yieldResult)?me(e,zwc(a,b,c),0):e.return()})},zwc=function(a,b,c){var d,e;return ke(function(f){switch(f.nextAddress){case 1:d=a.editIssueService.savingState(b);if(d.get("commentUndelete"))return f.return();Ks(a.butterBar,"Restoring comment...",0);le(f,2,3);YK(d,"commentUndelete");return me(f,
a.issueComments.undelete(b,c),5);case 5:Ks(a.butterBar,"Comment restored successfully.");case 3:ne(f);ZK(d,"commentUndelete");ZI(a.issueFetchResponseFridge,b);a.eventsForIssueFridge.poke(b);oe(f,0);break;case 2:e=pe(f),Ks(a.butterBar,"Comment restoration failed."),CG(a.errorHandler,e),f.jumpTo(3)}})},Dwc=function(a,b,c,d){var e,f,h,k;return ke(function(q){if(1==q.nextAddress){if(!c)return q.return();e=a.editIssueService.savingState(b);return e.get("commentDelete")?q.return():me(q,Bwc(a,b),2)}return 3!=
q.nextAddress?(f=q.yieldResult,a.butterBar.dismiss(),me(q,(0,W.firstValueFrom)(a.matDialogService.open(Vtc,{width:"560px",data:{commentNumber:c,issueId:b,deletionReasons:f}}).afterClosed()),3)):(h=q.yieldResult)?me(q,Cwc(a,b,c,h.value,null!=(k=d)?k:""),0):q.jumpTo(0)})},Cwc=function(a,b,c,d,e){var f,h;return ke(function(k){switch(k.nextAddress){case 1:f=a.editIssueService.savingState(b);if(f.get("commentDelete"))return k.return();le(k,2,3);Ks(a.butterBar,"Deleting comment...",0);YK(f,"commentDelete");
return me(k,a.issueComments.delete(b,c,d,e),5);case 5:Ks(a.butterBar,"Comment deleted. Deleted items may be restored within 30 days."),a.eventsForIssueFridge.poke(b);case 3:ne(k);ZK(f,"commentDelete");ZI(a.issueFetchResponseFridge,b);oe(k,0);break;case 2:h=pe(k),Ks(a.butterBar,"Comment deletion failed."),CG(a.errorHandler,h),k.jumpTo(3)}})},Bwc=function(a,b){var c,d,e,f,h,k,q,t;return ke(function(w){switch(w.nextAddress){case 1:return me(w,(0,W.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 me(w,(0,W.firstValueFrom)(a.componentFridge.watch(e)),4);case 4:f=w.yieldResult;case 3:return h=f,k=new vwc("Other","USER_REQUEST"),h&&"DISABLED"!==h.commentEditState||(k.enabled=!1,k.disabledReason="comment editing must be enabled"),q=new vwc("Spam or Abuse","ABUSE"),"EXTERNAL_PUBLIC"!==a.issuePermissionService.accessLevel()&&(q.enabled=!1,q.disabledReason="available on Public components"),
t=new vwc("Personally Identifiable Information","RESTRICTED"),w.return([t,q,k])}})},Ewc=function(a,b,c){var d,e;return ke(function(f){if(1==f.nextAddress)return d=HK(a.issuePermissionService,Ki(c.userPerformingActionUser)),kp(a.analytics,Sp.RESTRICTED_CONTENT,"updateContentJudgement","comment"),me(f,a.showContentJudgementDialog({severity:Tj(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}},ZI(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),WI(a.issueFridge,[b],{markRead:!0,userActivityType:"EDIT"});qe(f)})};vZ.prototype.showContentJudgementDialog=function(a){return(0,W.firstValueFrom)(this.matDialogService.open(QY,{panelClass:"no-jitter",width:"500px",data:a}).afterClosed())};
var Fwc=function(a,b,c){var d;return ke(function(e){if(1==e.nextAddress)return me(e,(0,W.firstValueFrom)(a.matDialogService.open(RY,{width:"500px",data:{resource:b,piiRetention:c}}).afterClosed()),2);d=e.yieldResult;return e.return(1===d)})},Gwc=function(a,b,c,d){var e;ke(function(f){if(1==f.nextAddress){if(null==d)return f.return();kp(a.analytics,Sp.RESTRICTED_CONTENT,"updateContentJudgement","attachment");return me(f,a.showContentJudgementDialog({severity:Tj(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}},ZI(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),WI(a.issueFridge,[b],{markRead:!0,userActivityType:"EDIT"});qe(f)})};
vZ.prototype.showDeleteAttachmentDialog=function(a,b){var c=this,d,e,f,h,k,q,t;ke(function(w){if(1==w.nextAddress){d=c.editIssueService.savingState(a);if(d.get("deleteAttachment")||!b.attachmentId)return w.return();e=W;f=e.firstValueFrom;h=c.matDialogService;k=h.open;q=Utc;return me(w,Bwc(c,a),3)}return 2!=w.nextAddress?me(w,f.call(e,k.call(h,q,{width:"560px",data:{deletionReasons:w.yieldResult,attachmentId:b.attachmentId}}).afterClosed()),2):(t=w.yieldResult)?me(w,E8b(c.editIssueService,a,b,t.value),
0):w.jumpTo(0)})};
var Hwc=function(a,b){var c=b.issueId,d=b.componentId,e=b.comment,f,h,k;return ke(function(q){if(1==q.nextAddress){if("INTERNAL"!==a.issuePermissionService.accessLevel()||a.issuePermissionService.hasAclToEdit()&&a.issuePermissionService.isImplicitAccessEnabled())return q.return(!0);le(q,2);var t=W.firstValueFrom;var w=a.commentFormatter;var z={comment:e.value,issueId:c,audience:null!=(f=a.issuePermissionService.audience())?f:"EXTERNAL_AUDIENCE",formattingMode:e.formattingMode,idPrefix:"b"+c+"-draft"};
if("LITERAL"===z.formattingMode||""===z.comment.trim())w=(0,W.of)([]);else{var F=new wE;F.setSource(z.comment);var J;F.setIssueId(null!=(J=xi(z.issueId))?J:0);tj(F,6,k1b[z.audience]);F.setFormattingMode(bl(z.formattingMode));F.setIdPrefix(z.idPrefix);w=O1b(w,z).pipe(B(Qwa))}return me(q,t.call(W,w),4)}if(2!=q.nextAddress)return h=q.yieldResult,q.return(tK(a.confirmNoAccessService,{componentId:d,userEmails:h,relation:"reader",analyticsEventLabel:"mention"}));k=pe(q);CG(a.errorHandler,k);return q.return(!1)})},
Iwc=function(a,b){b=void 0===b?"comment":b;var c,d;return ke(function(e){if((c=a.issuePermissionService.accessLevel())&&"INTERNAL"===c||a.issuePermissionService.hasAclToEdit()||a.activeSession.isInternalSession()||rE(a.activeSession)||a.dismissalService.isDismissed(g0a(b)))return e.return(!0);switch(b){case "comment":d=gh("Commenting on this bug report means your email address will be shared with the team that works on this product.");break;case "reaction":d=gh("Reacting to this comment means your email address will be shared with the team that works on this product.");
break;default:Nh(b)}return e.return((0,W.firstValueFrom)(a.matDialogService.open(JY,{width:"500px",data:{content:d,action:b}}).afterClosed()))})};
vZ.prototype.submitCommentBox=function(a,b,c,d){var e=this,f,h,k,q;return ke(function(t){if(1==t.nextAddress){f=e.editIssueService.savingState(b);if(!e.issuePermissionService.hasAclToComment()||!T7b(c)||f.get("comment"))return t.return();YK(f,"comment");h=function(){ZK(f,"comment")};return me(t,Hwc(e,{issueId:b,componentId:a,comment:c}),2)}if(3!=t.nextAddress)return k=t.yieldResult,k?me(t,Iwc(e),3):(h(),t.return());q=t.yieldResult;if(!q)return h(),t.return();kp(e.analytics,Sp.EDIT_ISSUE,"addComment",
"MARKDOWN"===c.formattingMode?"markdown":"non markdown");EK(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()}))})};
vZ.prototype.showNewContentJudgementDialog=function(a){var b=this,c,d,e,f,h,k;return ke(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",me(q,b.showContentJudgementDialog({severity:h,contentJudgement:void 0,hasAclToCreate:!0}),2);(k=q.yieldResult)&&c.setJudgementForNewContent(k.contentJudgement);qe(q)})};
vZ.prototype.updateCommentReaction=function(a){var b=this,c;return ke(function(d){return 1==d.nextAddress?a.hasReacted?me(d,Iwc(b,"reaction"),3):d.jumpTo(2):2==d.nextAddress||(c=d.yieldResult,c)?d.return(b.issueComments.updateCommentReaction(a)):d.return(void 0)})};vZ.\u0275fac=function(a){return new (a||vZ)(p(IY),p(aL),p(hG),p(IK),p(TY),p(tZ),p(UI),p(EA),p(iI),p(MI),p(IE),p(lG),p(nK),p(AG),p(XI),p($H),p(oH),p(zE),p(sK),p(nt),p(RH),p(zX),p(sZ),p(DK))};
vZ.\u0275prov=vc({token:vZ,factory:vZ.\u0275fac,providedIn:"root"});var wZ=function(a,b,c,d){this.editIssueService=a;this.issuePicker=b;this.analytics=c;this.butterBar=d},Jwc=function(a,b){var c,d,e,f,h,k,q;return ke(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(),me(t,a.issuePicker.open(e),2);h=t.yieldResult;if(null==(k=h)||
!k.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;kp(a.analytics,Sp.ISSUE_PICKER,"duplicate duration","<"+Math.min(2*Math.ceil(q/2E3),600)+"s",q);kp(a.analytics,Sp.EDIT_ISSUE,"setCanonicalIssue");return t.return(w8b(a.editIssueService,b,h[0]))})};wZ.\u0275fac=function(a){return new (a||wZ)(p(aL),p(zX),p(MI),p(hG))};wZ.\u0275prov=vc({token:wZ,factory:wZ.\u0275fac,providedIn:"root"});var xZ=function(a,b,c,d){var e=this;this.componentFridge=a;this.issueEditComponentService=b;this.currentTracker=c;this.activeSession=d;this.componentId$=new W.ReplaySubject(1);this.viewOnly=!1;this.compactMode$=new W.BehaviorSubject(!1);this.editing=!1;this.component$=this.componentId$.pipe(df(function(f){return e.componentFridge.watch(f).pipe(cf(void 0))}));this.isArchived$=this.component$.pipe(B(function(f){return null==f?void 0:f.archived}));this.showPublicIndicator$=this.component$.pipe(B(function(f){var h;
f=null==f?void 0:null==(h=f.accessLimit)?void 0:h.accessLevel;return!tE(e.activeSession,"enableNewVisibilityChips")||null==f||e.activeSession.isExternalSession()?!1:e.activeSession.isInternalSession()||rE(e.activeSession)?"EXTERNAL_PUBLIC"===f:!1}));this.showPartnerIndicator$=this.component$.pipe(B(function(f){var h;f=null==f?void 0:null==(h=f.accessLimit)?void 0:h.accessLevel;return!tE(e.activeSession,"enableNewVisibilityChips")||null==f||e.activeSession.isExternalSession()||rE(e.activeSession)?
!1:e.activeSession.isInternalSession()?"EXTERNAL_PARTNER"===f:!1}));this.folder$=(0,W.combineLatest)([this.showPublicIndicator$,this.showPartnerIndicator$,this.currentTracker.inTracker$]).pipe(B(function(f){var h=l(f);f=h.next().value;var k=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."}:k?{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:""}}),cf({icon:"folder",tooltip:""}));this.componentPath$=(0,W.combineLatest)([this.componentId$,this.component$,this.compactMode$]).pipe(B(function(f){var h=l(f);f=h.next().value;var k=h.next().value;h=h.next().value;if(null==k)return wp({componentPathId:[Number(f)]});f=Is(e.currentTracker,k.componentPathInfo);f=wp(f);if(h){h=[];k=0;for(var q=f.length-1;0<=q;q--){var t=f[q],w=q===f.length-1?48:32;if(k>=w)break;var z=String(t.name),
F=void 0;if(k+[].concat(r(z)).length>w){var J=w-k;w="";z=void 0===z?"":z;J=void 0===J?48:J;w=void 0===w?"...":w;F=[].concat(r(z));F.length<=J||(z=J-[].concat(r(w)).length,z=F.slice(-z).join(""),null!=String.prototype.trimStart&&(z=z.trimStart()),z=w+z);F=!0}k+=[].concat(r(z)).length;h.unshift(Object.assign({},t,{name:z,isTruncated:F}));if(F)break}f.length>h.length&&(h[0].isSpliced=!0);f=h}return f}));this.isEmpty$=this.component$.pipe(B(function(f){return!f}));this.isThinkingAndEmpty$=(0,W.combineLatest)([this.componentFridge.thinking$,
this.isEmpty$]).pipe(B(function(f){var h=l(f);f=h.next().value;h=h.next().value;return f&&h}));this.isReady$=this.isThinkingAndEmpty$.pipe(B(function(f){return!f}))};xZ.prototype.ngOnInit=function(){};Vg.Object.defineProperties(xZ.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)}}});xZ.\u0275fac=function(a){return new (a||xZ)(A(oH),A(HY),A(IM),A(nt))};
xZ.\u0275cmp=Lc({type:xZ,selectors:[["b-component-breadcrumb-chip"]],inputs:{componentId:"componentId",issueId:"issueId",viewOnly:"viewOnly",popoutLink:"popoutLink",compactMode:"compactMode"},decls:3,vars:2,consts:[[3,"isReady",4,"ngIf","ngIfElse"],["componentPicker",""],[3,"isReady"],[1,"b-chip","squared","s"],["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"],["viewOnlyComponent",""],["card",""],[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"],["cardBody",""],["mat-icon-button","","aria-label","Change Component","matTooltip","Change Component",1,"edit-btn",3,"click"],["svgIcon",
"edit-outline",1,"icon-xxs"],["mat-icon-button","","aria-label","View Component (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,"selectedComponent","isRequired","shouldFocus","selectedComponentChange","dropdownClosed"]],template:function(a,b){a&1&&C(0,T0a,13,22,"b-async-data-placeholder",0)(1,V0a,2,5,"ng-template",null,1,jg);if(a&2){var c=Q(2);
D("ngIf",!b.editing)("ngIfElse",c)}},dependencies:[WV,hw,dw,hB,nA,oA,LR,LF,MF,QF,NF,PC,FY,XT,mw],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 yZ=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J){Y.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=k;this.dialogRef=q;this.data=t;this.analytics=w;this.confirmationDialogService=F;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(B(function(O){var P;return null!=(P=null==O?void 0:O.snapshot[0].issueAccessLimitLevel)?P:H.defaultAccessLimitLevel}));this.updatedAccessLimitLevel$=new W.BehaviorSubject(this.defaultAccessLimitLevel);
this.hasAccessLimitLevelSelectionChanged$=(0,W.combineLatest)([this.currentAccessLimitLevel$,this.updatedAccessLimitLevel$]).pipe(B(function(O){var P=l(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(B(function(O){return null==O?void 0:O.trackerId}));this.tracker$=this.trackerId$.pipe(df(function(O){return xn(O)?(0,W.of)(void 0):H.trackerFridge.watch(O)}));
this.collaboratorGroupsEmailToDetailsMap=new Map;this.addedCollaboratorGroups=new Set;this.removedCollaboratorGroups=new Set;this.expandedAccessTooltip$=this.isImplicitAccessEnabled$.pipe(B(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=z.getUserEmail()};
X(yZ,Y);yZ.\u0275dir=Y.\u0275dir;
yZ.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.currentAccessLimitLevel$.subscribe(function(b){a.updatedAccessLimitLevel$.next(b);W0a(a,b)}));this.subscriptions.add((0,W.combineLatest)([this.tracker$,this.issue$]).subscribe(function(b){var c=l(b);b=c.next().value;c=c.next().value;a.updateCollaboratorGroups(b,c)}));this.subscriptions.add(this.hasAccessLimitLevelSelectionChanged$.subscribe(function(b){a.dialogRef.disableClose=b}));kp(this.analytics,Sp.ISSUE_ACCESS_LIMITS,"view",
"issue_access_limits_dialog:"+this.issueId)};
yZ.prototype.updateCollaboratorGroups=function(a,b){var c=this,d,e,f,h;ke(function(k){if(1==k.nextAddress){c.collaboratorGroupsEmailToDetailsMap.clear();c.addedCollaboratorGroups.clear();c.removedCollaboratorGroups.clear();if(a&&a.collaboratorGroups)for(d=l(a.collaboratorGroups),e=d.next();!e.done;e=d.next())f=e.value,f.emailAddress&&c.collaboratorGroupsEmailToDetailsMap.set(f.emailAddress,{user:f,specifiedOnIssue:!1});return b&&b.snapshot&&b.snapshot[0].collaboratorsUsers?me(k,Kwc(c,b.snapshot[0].collaboratorsUsers),
3):k.jumpTo(0)}h=k.yieldResult;h.forEach(function(q){c.collaboratorGroupsEmailToDetailsMap.set(q.emailAddress,{user:q,specifiedOnIssue:!0})});qe(k)})};
var Kwc=function(a,b){var c,d;return ke(function(e){if(1==e.nextAddress)return c=b.map(function(f){return f.emailAddress}).filter(Bi),me(e,O7b(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)}))})},Lwc=function(a){return a?"Expanded access on":"Expanded access off"},Z0a=function(a,b){return 0<a.addedCollaboratorGroups.size||0<a.removedCollaboratorGroups.size||!0===
b},W0a=function(a,b){0<a.addedCollaboratorGroups.size&&kp(a.analytics,Sp.QUICK_ADD_COLLABORATORS,"update","idp_added_dryrun:"+a.issueId);0<a.removedCollaboratorGroups.size&&kp(a.analytics,Sp.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=Co(c.writers);a.appenders=Co(c.appenders);a.readers=Co(c.readers)},function(c){CG(a.errorHandler,
c)})};g=yZ.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=yo({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:gh(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();kp(a.analytics,Sp.ISSUE_ACCESS_LIMITS,"update","issue_access_limits_dialog:"+a.updatedAccessLimitLevel$.value);0<a.addedCollaboratorGroups.size&&kp(a.analytics,Sp.QUICK_ADD_COLLABORATORS,"update","idp_added:"+a.issueId);0<a.removedCollaboratorGroups.size&&
kp(a.analytics,Sp.QUICK_ADD_COLLABORATORS,"update","idp_removed:"+a.issueId)},function(b){CG(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()};yZ.\u0275fac=function(a){return new (a||yZ)(A(AG),A(PH),A(UI),A(oH),A(ZJ),A($H),A(IK),A(SE),A(BA),A(DA),A(MI),A(nt),A(lG),A(qK))};
yZ.\u0275cmp=Lc({type:yZ,selectors:[["b-issue-access-limits-dialog"]],hostBindings:function(a,b){a&1&&M("keydown.escape",function(){return b.onEscape()})},features:[nf],decls:38,vars:43,consts:[[1,"bv2-issue-limits-title"],[1,"lock-circle"],["svgIcon","lock","color","text-primary"],[1,"issue-limits-dialog-title-txt"],[3,"issueId","componentId","compactMode","popoutLink","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,"disabled","defaultAccessLimitLevel","implicitAccessEnabled","updatedAccessLimitLevel"],[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"],["closeButton",""],[1,"collaborator-groups-title"],[1,"collaborator-groups-checkboxes"],[4,"ngFor","ngForOf"],[1,"collaborator-group-checkbox",3,"id","name","checked","click","change"],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"disabled","click"],["mat-button","",1,"gmat-button","medium","close",3,"click"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"span",
1),I(2,"mat-icon",2),G(),E(3,"h2",3),R(4,"Issue access level"),G()(),E(5,"div"),I(6,"b-component-breadcrumb-chip",4),E(7,"span",5),T(8,"async"),E(9,"span",6),R(10),T(11,"async"),G(),I(12,"mat-icon",7),T(13,"async"),G()(),E(14,"b-issue-access-limits-dropdown",8),M("updatedAccessLimitLevel",function(k){b.updatedAccessLimitLevel$.next(k);W0a(b,k)}),T(15,"async"),T(16,"async"),T(17,"async"),G(),C(18,Y0a,8,4,"ng-container",9),T(19,"async"),E(20,"div",10)(21,"div")(22,"div",11),R(23,"Users who can edit, comment, and view"),
G(),I(24,"b-multi-user-input",12),G(),E(25,"div")(26,"div",11),R(27,"Users who can comment and view"),G(),I(28,"b-multi-user-input",13),G(),E(29,"div")(30,"div",11),R(31,"Users who can only view"),G(),I(32,"b-multi-user-input",14),G()(),E(33,"div",15),C(34,$0a,6,3,"ng-container",16),T(35,"async"),C(36,a1a,2,0,"ng-template",null,17,jg),G());if(a&2){var c=Q(37),d,e,f,h;y(6);D("issueId",b.issueId)("componentId",b.data.componentId)("compactMode",!0)("popoutLink",b.manageComponentAccessRouterLink)("viewOnly",
!0);y();yf("expanded-access-on",V(8,27,b.isImplicitAccessEnabled$));y(3);$f(Lwc(null!==(d=V(11,29,b.isImplicitAccessEnabled$))&&void 0!==d?d:!1));y(2);D("matTooltip",null!==(e=V(13,31,b.expandedAccessTooltip$))&&void 0!==e?e:"");y(2);D("disabled",!V(15,33,b.hasAclToAdmin$))("defaultAccessLimitLevel",null!==(f=V(16,35,b.currentAccessLimitLevel$))&&void 0!==f?f:b.defaultAccessLimitLevel)("implicitAccessEnabled",null!==(h=V(17,37,b.isImplicitAccessEnabled$))&&void 0!==h?h:!1);y(4);D("ngIf",0<b.collaboratorGroupsEmailToDetailsMap.size&&
V(19,39,b.hasAclToAdmin$));y(6);D("users",b.writers)("includeAliases",!1)("includeViewAliases",!1);pf("disabled",!0);y(4);D("users",b.appenders)("includeAliases",!1)("includeViewAliases",!1);pf("disabled",!0);y(4);D("users",b.readers)("includeAliases",!1)("includeViewAliases",!1);pf("disabled",!0);y(2);D("ngIf",V(35,41,b.hasAclToAdmin$))("ngIfElse",c)}},dependencies:[UX,hw,dw,hB,xZ,nA,IA,PC,IV,WE,mw,rw],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-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 zZ=function(a){this.dialog=a;this.dialogRef=null};zZ.prototype.open=function(a){this.dialogRef=this.dialog.open(yZ,{panelClass:"no-jitter",data:a,ariaLabel:"Issue access level"})};zZ.prototype.isOpen=function(){return this.dialogRef?0===this.dialogRef.getState():!1};zZ.\u0275fac=function(a){return new (a||zZ)(p(EA))};zZ.\u0275prov=vc({token:zZ,factory:zZ.\u0275fac,providedIn:"root"});var AZ=function(){this.isReady=!1};AZ.\u0275fac=function(a){return new (a||AZ)};AZ.\u0275cmp=Lc({type:AZ,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&&(Lf(),C(0,b1a,1,0,"div",0)(1,c1a,2,0,"ng-container",1));a&2&&(D("ngIf",!b.isReady),y(),D("ngIf",b.isReady))},dependencies:[dw],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 Mwc=function(){this.warning=""};Mwc.\u0275fac=function(a){return new (a||Mwc)};
Mwc.\u0275cmp=Lc({type:Mwc,selectors:[["onedev-warning-icon"]],hostVars:2,hostBindings:function(a,b){a&2&&yf("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&&C(0,d1a,2,1,"svg",0);a&
2&&D("ngIf",b.warning)},dependencies:[dw,PC],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 Nwc=["*",[["","actions",""]]],Owc=[[["onedev-field-label"]],[["onedev-field-value"]]],Pwc=0,BZ=function(){this.thinking=!1;this.warning=this.labelTooltip="";this.id="onedev-field-label-"+Pwc;Pwc++};BZ.\u0275fac=function(a){return new (a||BZ)};
BZ.\u0275cmp=Lc({type:BZ,selectors:[["onedev-field-label"]],hostVars:1,hostBindings:function(a,b){a&2&&pf("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&&(Lf(),E(0,"onedev-async-data-placeholder",0)(1,"span",1),Mf(2),G(),I(3,"onedev-warning-icon",2),G());a&2&&(D("isReady",!b.thinking),y(),D("matTooltip",b.labelTooltip),y(2),D("warning",
b.warning))},dependencies:[AZ,PC,Mwc],styles:["[_nghost-%COMP%]{line-height:29px;font-size:13px}span.label[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]});var CZ=function(){this.thinking=!1};CZ.\u0275fac=function(a){return new (a||CZ)};
CZ.\u0275cmp=Lc({type:CZ,selectors:[["onedev-field-value"]],inputs:{thinking:"thinking"},ngContentSelectors:["*","[actions]"],decls:3,vars:1,consts:[[3,"isReady"]],template:function(a,b){a&1&&(Lf(Nwc),E(0,"onedev-async-data-placeholder",0),Mf(1),Mf(2,1),G());a&2&&D("isReady",!b.thinking)},dependencies:[AZ],encapsulation:2});var DZ=function(){this.labelPosition="left"};DZ.prototype.ngAfterContentInit=function(){var a=this;setTimeout(function(){a.field&&a.label&&(a.field.labelledById=a.label.id)})};
DZ.\u0275fac=function(a){return new (a||DZ)};
DZ.\u0275cmp=Lc({type:DZ,selectors:[["onedev-edit-field"]],contentQueries:function(a,b,c){a&1&&(Vf(c,NS,5),Vf(c,BZ,7));if(a&2){var d;Yf(d=Zf())&&(b.field=d.first);Yf(d=Zf())&&(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&&(Lf(Owc),E(0,"div",0),Mf(1),Mf(2,1),G());a&2&&yf("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 Qwc=["popOverContent"],EZ=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 zv;this.isOpen=!1;this.destroyed$=new W.ReplaySubject(1);this.backdropClickSubscription=W.Subscription.EMPTY};EZ.prototype.ngOnInit=function(){};EZ.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
EZ.prototype.open=function(){var a=this;this.isOpen||(this.overlayRef=this.createOverlay(),this.attach(),this.isOpen=!0,this.backdropClickSubscription=this.overlayRef.backdropClick().pipe(ef(this.destroyed$)).subscribe(function(){g1a(a)}))};EZ.prototype.close=function(){this.isOpen&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=void 0,this.isOpen=!1,this.backdropClickSubscription.unsubscribe())};
var f1a=function(a){a.closedWithAction.emit(0);a.close()},g1a=function(a){a.closedWithAction.emit(1);a.close()};g=EZ.prototype;g.processKeydown=function(a){switch(a.key){case "Escape":g1a(this);a.stopPropagation();break;case "Enter":if(this.newlineWithEnterKey){if(a.metaKey||a.ctrlKey)f1a(this),a.stopPropagation(),a.preventDefault()}else a.shiftKey||(f1a(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 Ux(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=CSb(xy(By(this.overlay.position(),this.anchor),this.fitToViewport),this.fitToViewport);a._offsetX=-4;a._offsetY=this.displayUnder?this.anchor.offsetHeight:-4;return vy(a,Rwc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
EZ.\u0275fac=function(a){return new (a||EZ)(A(Cy),A(Sf))};
EZ.\u0275cmp=Lc({type:EZ,selectors:[["onedev-pop-over-edit-panel"]],viewQuery:function(a,b){a&1&&Uf(Qwc,7);if(a&2){var c;Yf(c=Zf())&&(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,"cdkTrapFocusAutoCapture","keydown"],[1,"edit-field"],[4,"ngTemplateOutlet"],[1,"actions"],["mat-button","","color","primary",1,"save",3,"disabled","click"],["mat-button","","color","primary",1,"cancel",3,"click"]],template:function(a){a&1&&C(0,h1a,8,3,"ng-template",null,0,jg)},dependencies:[lw,mx,nA],styles:[".content[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;background-color:var(--surface-default,#fff);border-radius:4px;overflow:auto;padding:4px}.actions[_ngcontent-%COMP%]{margin-top:4px}.actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{height:24px;line-height:24px;min-width:auto;padding-left:8px;padding-right:8px;font-size:13px}"]});
var Rwc=[{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 Swc=["popOver"],j1a=function(a){return{$implicit:a}},FZ=function(a){this.disabled=!1;this.displayEditIcon=!0;this.openPopOverOnInit=!1;this.valueChange=new zv;this.required=this.editing=this.headerFocused=!1;this.editingValue="";this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0};X(FZ,NS);g=FZ.prototype;g.ngOnInit=function(){};g.ngAfterViewInit=function(){var a=this;this.openPopOverOnInit&&setTimeout(function(){a.startEditing()})};
g.valueChanged=function(){return o1a(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=o1a(this.editingValue),this.valueChange.emit(a))};g.writeValue=function(a){var b=o1a(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};Vg.Object.defineProperties(FZ.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(null!=a?String(a):null)}}});FZ.\u0275fac=function(a){return new (a||FZ)(ud("required"))};
FZ.\u0275cmp=Lc({type:FZ,selectors:[["onedev-numeric-field"]],viewQuery:function(a,b){a&1&&Uf(Swc,7);if(a&2){var c;Yf(c=Zf())&&(b.popOver=c.first)}},inputs:{value:"value",disabled:"disabled",displayEditIcon:"displayEditIcon",labelledById:"labelledById",openPopOverOnInit:"openPopOverOnInit",valueTemplate:"valueTemplate"},outputs:{valueChange:"valueChange"},features:[bg([{provide:fw,useExisting:Cc(function(){return FZ}),multi:!0},{provide:NS,useExisting:Cc(function(){return FZ}),multi:!0}]),nf],decls:11,
vars:6,consts:[["aria-label","Edit numeric field",3,"disabled","click","focus","blur"],["anchor",""],[4,"ngIf","ngIfElse"],["standardValueDisplay",""],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],[3,"anchor","editorTemplate","closedWithAction"],["popOver","onedevPopOverEditPanel"],["inputTemplate",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"edit-icon"],["d","M20.71,5.63l-2.34-2.34C18.18,3.1,17.92,3,17.67,3c-0.26,0-0.51,0.1-0.71,0.29L3,17.25L3,21h3.75L20.71,7.04 C21.1,6.65,21.1,6.02,20.71,5.63z M5.92,19H5l0-0.92L15.54,7.53l0.92,0.92L5.92,19z"],
["type","number",3,"ngModel","ngModelChange"]],template:function(a,b){a&1&&(E(0,"button",0,1),M("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),E(2,"span"),C(3,k1a,2,4,"ng-container",2)(4,l1a,1,1,"ng-template",null,3,jg),G(),C(6,m1a,2,0,"svg",4),G(),E(7,"onedev-pop-over-edit-panel",5,6),M("closedWithAction",function(f){return b.stopEditing(f)}),G(),C(9,n1a,1,1,"ng-template",null,7,jg));if(a&2){var c=Q(1),d=Q(5),
e=Q(10);D("disabled",b.disabled);y(3);D("ngIf",b.valueTemplate)("ngIfElse",d);y(3);D("ngIf",!b.disabled&&b.displayEditIcon);y();D("anchor",c)("editorTemplate",e)}},dependencies:[dw,lw,Dg,Qw,Hw,Ow,EZ],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 u1a=function(){return[]},GZ=function(){this.disabled=this.thinking=!1;this.effortChange=new zv;this.isCompatibleValue=!0;this.fieldName="";this.fieldType="UNKNOWN";this.isNaN=isNaN};
GZ.prototype.ngOnChanges=function(){if("DROPDOWN"===this.getFieldType()){var a;this.effortSpec&&null!=(a=this.effortSpec.enumSpec)&&a.options&&this.effort&&this.effort.estimate?(a=Twc(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=Uwc(this)};GZ.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=Uwc(this);this.effortChange.emit(this.effort)};GZ.prototype.getFieldName=function(){return this.effortSpec?this.effortSpec.name||"":this.effort?"Estimate "+this.effort.specId:"Estimate"};
GZ.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 Uwc=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"===Twc(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},Twc=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 k;return h.label===(null==(k=a.effort)?void 0:k.estimate)}))?f:"incompatible"}};GZ.\u0275fac=function(a){return new (a||GZ)};
GZ.\u0275cmp=Lc({type:GZ,selectors:[["b-estimated-effort-row"]],inputs:{thinking:"thinking",effort:"effort",effortSpec:"effortSpec",disabled:"disabled"},outputs:{effortChange:"effortChange"},features:[ed],decls:3,vars:1,consts:[[4,"ngIf"],["rawNumericValueTemplate",""],["labelTooltip","Estimated effort",3,"thinking"],["svgIcon","error","aria-hidden","false","aria-label","This estimate was made under a different configuration and needs to be \n                          updated.","class","icon-xs effort-warning align-items-center",
3,"onedevHovercardTrigger",4,"ngIf"],["warningHovercard","onedevHovercard"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["href","http://go/buganizer/user-guide/concepts/wtdm-home.md?cl=head#stale-effort","target","_blank"],[3,"thinking"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["svgIcon","error","aria-hidden","false","aria-label","This estimate was made under a different configuration and needs to be \n                          updated.",1,"icon-xs",
"effort-warning","align-items-center",3,"onedevHovercardTrigger"],[1,"flex-kids-x",3,"value","valueTemplate","disabled","displayEditIcon","valueChange"],[3,"value","options","includeEmptyOption","optionTemplate","disabled","displayArrowIcon","valueChange"],["optionTemplate",""],[4,"ngIf","ngIfElse"],["emptyOption",""],["regularNumeric",""]],template:function(a,b){a&1&&C(0,x1a,16,7,"onedev-edit-field",0)(1,A1a,3,2,"ng-template",null,1,jg);a&2&&D("ngIf",b.effortSpec)},dependencies:[dw,iw,jw,kw,hB,BZ,
CZ,DZ,OS,FZ,LF,QF],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 Aeb=function(a){this.internalArray_=m(a,1)};X(Aeb,n);var Nr=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=Nr.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 Nr;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 ws=function(a){this.internalArray_=m(a)};X(ws,n);ws.prototype.getEntryPoint=function(){return cj(this,5,0)};ws.prototype.setEntryPoint=function(a){return tj(this,5,a)};var ys=function(a){this.internalArray_=m(a)};X(ys,n);ys.prototype.getEntryPoint=function(){return cj(this,1,0)};ys.prototype.setEntryPoint=function(a){return tj(this,1,a)};var HZ=function(a){this.internalArray_=m(a)};X(HZ,n);HZ.prototype.getQuery=function(){return Zi(this,1,"")};HZ.prototype.setQuery=function(a){return Lh(this,1,a)};HZ.prototype.clearQuery=function(){lk(this,1)};HZ.prototype.hasQuery=function(){return Pi(this,1)};var Vwc=function(a,b){zj(a,3,b)};HZ.prototype.getAffinityVersion=function(){return qi(this,7)};HZ.prototype.setAffinityVersion=function(a){rj(this,7,a)};HZ.prototype.getAffinityVersionOrUndefined=function(){return du(this,7)};
var Wwc=function(a){var b=Pbc();lk(a,8,ib(b))};g=HZ.prototype;g.getSources=function(){return $i(this,ws,10)};g.getInstanceId=function(){return Zi(this,11,"")};g.setInstanceId=function(a){return Lh(this,11,a)};g.clearInstanceId=function(){lk(this,11)};g.hasInstanceId=function(){return Pi(this,11)};g.getInstanceIdOrUndefined=function(){return fu(this,11)};var qs=function(a){this.internalArray_=m(a)};X(qs,n);g=qs.prototype;g.getPersonLoggingId=function(){return Zi(this,1)};g.setPersonLoggingId=function(a){Lh(this,1,a)};g.getFieldLoggingId=function(){return Zi(this,2)};g.setFieldLoggingId=function(a){Lh(this,2,a)};g.setFieldValue=function(a){return Lh(this,3,a)};g.clearFieldValue=function(){return lk(this,3)};g.getName=function(){return Zi(this,4)};g.setName=function(a){return Lh(this,4,a)};g.hasName=function(){return Pi(this,4)};
g.getNameOrUndefined=function(){return fu(this,4)};g.getContactId=function(){return Zi(this,5)};g.setContactId=function(a){Lh(this,5,a)};g.getProfileId=function(){return Zi(this,6)};g.getProfileId_legacyNullable=function(){return Fj(this,6)};g.setProfileId=function(a){return Lh(this,6,a)};g.hasProfileId=function(){return Pi(this,6)};g.getFieldType=function(){return cj(this,7,0)};g.getIsPlaceholder=function(){return Xi(this,10,!1)};g.setIsPlaceholder=function(a){Mh(this,10,a)};
g.getGroupId=function(){return Zi(this,11)};g.setGroupId=function(a){Lh(this,11,a)};g.hasGroupId=function(){return Pi(this,11)};var ps=function(a){this.internalArray_=m(a)};X(ps,n);g=ps.prototype;g.getProvenance=function(){return cj(this,3,0)};g.setProvenance=function(a){return tj(this,3,a)};g.getContext=function(){return cj(this,5,0)};g.getExistingSelectionsCount=function(){return qi(this,6,0)};g.setExistingSelectionsCount=function(a){rj(this,6,a)};var os=function(a){this.internalArray_=m(a)};X(os,n);var Ar=function(a){return $i(a,ps,2)};os.prototype.getSessionState=function(){return $i(this,HZ,3)};os.prototype.setSessionState=function(a){li(this,HZ,3,a)};os.prototype.hasSessionState=function(){return ji(this,HZ,3)};var ns=function(a){this.internalArray_=m(a)};X(ns,n);g=ns.prototype;g.getType=function(){return cj(this,1,0)};g.setType=function(a){return tj(this,1,a)};g.hasType=function(){return aj(this,1)};g.getValue=function(){return Zi(this,2,"")};g.setValue=function(a){return Lh(this,2,a)};g.hasValue=function(){return Pi(this,2)};var Xwc=function(a){this.delegate_=a};g=Xwc.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.getExtendedData=function(){return this.delegate_.getExtendedData()};var geb=function(){this.familyName_=this.givenName_=this.displayName_="";this.sourceType_=0};g=geb.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 Ywc=function(a,b){this.delegate_=a;this.name_=b};X(Ywc,Xwc);Ywc.prototype.getName=function(){return this.name_};var IZ=function(a){this.delegate_=a};g=IZ.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 xq=function(a){this.delegate_=a};X(xq,IZ);g=xq.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 B1a=function(a,b){this.delegate_=a;this.targets_=b};X(B1a,IZ);B1a.prototype.getTargetList=function(){return this.targets_};var Zwc=function(){};Zwc.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 xq(new B1a(a,c))};Zwc.prototype.reset=function(){};var D1a=function(a){this.types_=a};X(D1a,Zwc);D1a.prototype.shouldRemove=function(a){return!this.types_.includes(a.getTargetType())};D1a.prototype.reset=function(){};var F1a=function(a){this.sourceIds_=a.filter(function(b){return ceb.includes(b.getType())}).map(String);this.targetIds_=a.filter(function(b){return rcc.includes(b.getType())}).map(String)};X(F1a,Zwc);F1a.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 H1a=function(a){this.filters_=a};H1a.prototype.filterResult=function(a){for(var b=l(this.filters_),c=b.next();!c.done;c=b.next())if(a=c.value.filterResult(a),!a)return null;return a};H1a.prototype.reset=function(a){for(var b=l(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var $wc=I1a();var axc=new Xc("PeoplekitClientConfig"),bxc=function(a){this.matcher=a};bxc.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};bxc.prototype.reset=function(){};var cxc=function(a){this.internalArray_=m(a)};X(cxc,n);g=cxc.prototype;g.setMaxResults=function(a){return rj(this,1,a)};g.getQuery=function(){return Zi(this,2,"")};g.setQuery=function(a){return Lh(this,2,a)};g.clearQuery=function(){lk(this,2)};g.hasQuery=function(){return Pi(this,2)};var dxc=function(){this.dynamicDataProviders_=[];this.staticDataProviders_=[]};var exc=function(a){this.internalArray_=m(a,1)};X(exc,n);var fxc=function(a){this.internalArray_=m(a)};X(fxc,n);g=fxc.prototype;g.getExperimentIdsList=function(a){return si(this,1,hi(a))};g.setExperimentIdsList=function(a){return Lb(this,1,a,mb)};g.getExperimentIds=function(){return bu(this,1)};g.setExperimentIds=function(a){gu(this,1,a)};g.getProfileId=function(){return Zi(this,2)};g.getProfileId_legacyNullable=function(){return Fj(this,2)};g.setProfileId=function(a){return Lh(this,2,a)};g.hasProfileId=function(){return Pi(this,2)};
fxc.repeatedFields_=[1];var gxc=function(){},hxc=function(){return!1},ixc=function(){this.experiments_=(new fxc).setProfileId(sO.userProfileId);this.peopleApiEnv_=sO.apiEnv;this.userEmail_=sO.userEmail;this.delegatorId_="";this.onAuthError_=gxc;this.offlineStorage_=null;this.apiKey_=this.clearcutUrl_="";this.isOffline_=hxc;this.customDataConfig_=null;this.isOrgStateEnabled_=!1};g=ixc.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||gxc};g.getApiKey=function(){return this.apiKey_};g.setApiKey=function(a){this.apiKey_=a;return this};var JZ=function(a,b){null!=b||(b=Gc(Ge));var c=new ixc;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 dxc;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 wcc(c.getPeopleApiEnv(),new xcc(""))}});this.peopleStore=b.peopleStore;this.environmentConfig=b.environmentConfig};JZ.\u0275fac=function(a){return new (a||JZ)(p(axc),p(Ge))};JZ.\u0275prov=vc({token:JZ,factory:JZ.\u0275fac});var KZ=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 zv;this.sessionOptions=(new Nr).setFilter(jxc);this.inputSearchDelay=200;this.destroyed$=new W.ReplaySubject(1);this.inputChanged$=new W.ReplaySubject(1)};KZ.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.autocomplete.dispose()};
KZ.prototype.ngOnInit=function(){var a=this,b=this.clientConfig.autocompleteFactory.createConfig(this.peopleKitService.environmentConfig);J1a(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=hAa(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});kxc(this.autocomplete,function(c){a.selectionChange.emit(c);a.autocomplete.report(4)});this.inputChanged$.pipe(Re(this.inputSearchDelay)).subscribe(function(){a.search()})};KZ.prototype.search=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.search(a.inputEl.nativeElement.value,a.inputEl.nativeElement)})};
KZ.prototype.cancel=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.cancel()})};KZ.\u0275fac=function(a){return new (a||KZ)(A(axc),A(Tg),A(JZ),A(Ad),A(Ge),A(Tu))};
KZ.\u0275dir=Qc({type:KZ,selectors:[["input","peoplekitAutocomplete",""]],hostBindings:function(a,b){a&1&&M("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 jxc=E1a(1);var lxc=["popOver"],mxc=["inputBox"],LZ=function(a){this.defaultAutocompleteConfig=a;this.mergedAutocompleteConfig=Object.assign({},nxc,this.defaultAutocompleteConfig);this.displayUnder=!1;this.initialInputValue="";this.openPopOverOnInit=!1;this.closed=new zv;this.inputValue="";this.sessionOptions=oxc};LZ.prototype.ngAfterViewInit=function(){this.openPopOverOnInit&&this.openPopOver(this.initialInputValue)};
LZ.prototype.ngOnChanges=function(a){a.autocompleteConfig&&(this.mergedAutocompleteConfig=Object.assign({},nxc,this.defaultAutocompleteConfig,this.autocompleteConfig))};LZ.prototype.openPopOver=function(a){var b=this;this.inputValue=a;this.popOver.open();setTimeout(function(){var c;null==(c=b.inputBox)||c.nativeElement.select()})};LZ.prototype.onPopOverClose=function(a){this.closed.emit(0===a?this.inputValue:void 0);this.inputValue=""};LZ.\u0275fac=function(a){return new (a||LZ)(A(pxc,8))};
LZ.\u0275cmp=Lc({type:LZ,selectors:[["onedev-user-picker-panel","anchor",""]],viewQuery:function(a,b){a&1&&(Uf(lxc,7),Uf(mxc,5));if(a&2){var c;Yf(c=Zf())&&(b.popOver=c.first);Yf(c=Zf())&&(b.inputBox=c.first)}},inputs:{anchor:"anchor",autocompleteConfig:"autocompleteConfig",displayUnder:"displayUnder",initialInputValue:"initialInputValue",openPopOverOnInit:"openPopOverOnInit"},outputs:{closed:"closed"},features:[ed],attrs:["anchor",""],decls:4,vars:3,consts:[[3,"anchor","displayUnder","editorTemplate",
"closedWithAction"],["popOver","onedevPopOverEditPanel"],["autocompleteTemplate",""],["peoplekitAutocomplete","",3,"peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","ngModel","peoplekitAutocompleteSelectionChange","ngModelChange"],["inputBox",""]],template:function(a,b){a&1&&(E(0,"onedev-pop-over-edit-panel",0,1),M("closedWithAction",function(d){return b.onPopOverClose(d)}),G(),C(2,K1a,2,3,"ng-template",null,2,jg));if(a&2){var c=Q(3);D("anchor",b.anchor)("displayUnder",b.displayUnder)("editorTemplate",
c)}},dependencies:[Dg,Hw,Ow,EZ,KZ],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 pxc=new Xc("user-picker-autocomplete-config"),nxc={showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2},oxc=(new Nr).setFilter(I1a(E1a(1),new bxc(function(a){return 0<=a.indexOf("-pager")||0<=a.indexOf("+pager")||0<=a.indexOf("lifeguard-ng")})));var M1a=function(a){return{$implicit:a}},qxc=0,MZ=function(){this.val="";this.disabled=!1;this.emailChange=new zv;this.popOverOpen=this.active=!1;this.contentId="onedev-user-picker-"+qxc;this.onChange=function(){};this.onTouched=function(){};qxc++};X(MZ,NS);g=MZ.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};
Vg.Object.defineProperties(MZ.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});MZ.\u0275fac=function(a){return new (a||MZ)};
MZ.\u0275cmp=Lc({type:MZ,selectors:[["onedev-user-picker"]],viewQuery:function(a,b){a&1&&Uf(LZ,7);if(a&2){var c;Yf(c=Zf())&&(b.popOver=c.first)}},inputs:{email:"email",disabled:"disabled",labelledById:"labelledById",selectedUserTemplate:"selectedUserTemplate",autocompleteConfig:"autocompleteConfig"},outputs:{emailChange:"emailChange"},exportAs:["onedevUserPicker"],features:[bg([{provide:NS,useExisting:Cc(function(){return MZ}),multi:!0},{provide:fw,useExisting:Cc(function(){return MZ}),multi:!0}]),
nf],decls:7,vars:9,consts:[[1,"unstyled-button",3,"focus","blur","click"],["anchor",""],[4,"ngIf","ngIfElse"],["plainText",""],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],[3,"anchor","autocompleteConfig","closed"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"edit-icon"],["d","M20.71,5.63l-2.34-2.34C18.18,3.1,17.92,3,17.67,3c-0.26,0-0.51,0.1-0.71,0.29L3,17.25L3,21h3.75L20.71,7.04 C21.1,6.65,21.1,6.02,20.71,5.63z M5.92,19H5l0-0.92L15.54,7.53l0.92,0.92L5.92,19z"]],
template:function(a,b){a&1&&(E(0,"button",0,1),M("focus",function(){return b.active=!0})("blur",function(){return b.active=!1})("click",function(){return b.openPopOver()}),C(2,N1a,2,4,"ng-container",2)(3,O1a,1,1,"ng-template",null,3,jg)(5,P1a,2,0,"svg",4),G(),E(6,"onedev-user-picker-panel",5),M("closed",function(e){return b.onPopOverClose(e)}),G());if(a&2){var c=Q(1),d=Q(4);yf("active",b.isActive());pf("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());y(2);D("ngIf",b.selectedUserTemplate)("ngIfElse",
d);y(3);D("ngIf",!b.disabled);y();D("anchor",c)("autocompleteConfig",b.autocompleteConfig)}},dependencies:[dw,lw,LZ],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 rxc=["picker"],NZ=function(){this.disabled=!1;this.emailChange=new zv;this.userEmail=""};X(NZ,NS);NZ.prototype.openPopOver=function(){this.picker.openPopOver()};NZ.prototype.isActive=function(){return this.picker.isActive()};Vg.Object.defineProperties(NZ.prototype,{user:{configurable:!0,enumerable:!0,set:function(a){this.userEmail=Ki(a)||""}}});NZ.\u0275fac=function(){var a;return function(b){return(a||(a=zd(NZ)))(b||NZ)}}();
NZ.\u0275cmp=Lc({type:NZ,selectors:[["b-user-picker"]],viewQuery:function(a,b){a&1&&Uf(rxc,7);if(a&2){var c;Yf(c=Zf())&&(b.picker=c.first)}},inputs:{user:"user",teamId:"teamId",disabled:"disabled",labelledById:"labelledById"},outputs:{emailChange:"emailChange"},exportAs:["bUserPicker"],features:[bg([{provide:NS,useExisting:Cc(function(){return NZ}),multi:!0}]),nf],decls:4,vars:4,consts:[[3,"email","disabled","labelledById","selectedUserTemplate","emailChange"],["picker","onedevUserPicker"],["userChip",
""],[3,"email","teamId","enableSmallChip",4,"ngIf"],[3,"email","teamId","enableSmallChip"]],template:function(a,b){a&1&&(E(0,"onedev-user-picker",0,1),M("emailChange",function(d){return b.emailChange.emit(d)}),G(),C(2,R1a,1,1,"ng-template",null,2,jg));if(a&2){var c=Q(3);D("email",b.userEmail)("disabled",b.disabled)("labelledById",b.labelledById)("selectedUserTemplate",c)}},dependencies:[dw,CT,MZ],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 OZ=function(a,b,c,d,e){Y.call(this);var f=this;this.session=a;this.userPreferencesManager=b;this.sloStatusHelpersService=c;this.paths=d;this.sloFridge=e;this.onSloStartTimeChange=new zv;this.onSloEndTimeChange=new zv;this.providedSloId$=new W.ReplaySubject(1);this.slo$=this.providedSloId$.pipe(df(function(h){return f.sloFridge.watchOne(h)}));this.hasClosureSlo=this.isSloEndEditTimePickerOpen=this.isSloStartEditTimePickerOpen=this.enableSloEndTime=this.hasSloEndTime=this.hasSloStartTime=this.isAccordionExpanded=
!1};X(OZ,Y);OZ.\u0275dir=Y.\u0275dir;OZ.prototype.ngOnInit=function(){var a=this;sxc(this);this.userPreferencesManager.layoutPreferences$.pipe(ef(this.destroyed$)).subscribe(function(b){a.isAccordionExpanded=!!b.expandIssueSlo})};OZ.prototype.ngOnChanges=function(){this.sloId&&this.providedSloId$.next(this.sloId);sxc(this)};
var sxc=function(a){a.hasSlo=!!a.sloStatus&&b8b(a.sloStatus);a.hasClosureSlo=a.hasSlo&&c8b(a.sloStatus,"CLOSURE");a.enableSloEndTime=tE(a.session,"enableSloEndTime");var b,c;(c=a.sloStatus)?(c=c.closureBounds,c=BK(zi(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},txc=function(a){a.isAccordionExpanded=!a.isAccordionExpanded;Q1b(a.userPreferencesManager,{expandIssueSlo:a.isAccordionExpanded}).pipe(ef(a.destroyed$)).subscribe();$m(Sp.ISSUE_SLO,"toggle",a.isAccordionExpanded?"open":"close")};OZ.prototype.updateSloStartTime=function(a){this.onSloStartTimeChange.next(a)};OZ.prototype.updateSloEndTime=function(a){this.onSloEndTimeChange.next(a)};
OZ.prototype.trackOpenSlo=function(){$m(Sp.EDIT_SLO,"open","fromIssueSloBox")};OZ.\u0275fac=function(a){return new (a||OZ)(A(nt),A(BE),A(AK),A(iI),A(JJ))};
OZ.\u0275cmp=Lc({type:OZ,selectors:[["b-issue-slo-box"]],inputs:{sloId:"sloId",componentId:"componentId",sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",isEditable:"isEditable",issueCreationTimestamp:"issueCreationTimestamp"},outputs:{onSloStartTimeChange:"onSloStartTimeChange",onSloEndTimeChange:"onSloEndTimeChange"},features:[nf,ed],decls:17,vars:19,consts:[[1,"issue-slo-box-title",3,"click"],[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","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"],["trigger","cdkOverlayOrigin"],[4,"ngIf"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],["mode","date",3,"timestamp"],[3,"sloStatus","sloEditTime","closePicker","sloEditCommit"],["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&&(E(0,
"span",0),M("click",function(){return txc(b)}),E(1,"label"),R(2,"SLO Status"),G()(),E(3,"div",1)(4,"div",2)(5,"div",3),I(6,"b-aggregated-slo-status-indicator",4),G(),E(7,"div",3),I(8,"b-slo-status-summary",5),G(),E(9,"button",6),M("click",function(){return txc(b)}),C(10,S1a,1,0,"mat-icon",7)(11,T1a,1,0,"mat-icon",8),G()(),E(12,"div",9),C(13,X1a,9,4,"div",10)(14,b2a,10,5,"div",11)(15,d2a,4,3,"div",12)(16,e2a,3,1,"div",12),G()());a&2&&(y(5),D("hidden",b.isAccordionExpanded),y(),D("sloStatus",b.sloStatus)("sloStartTime",
b.sloStartTime)("sloEndTime",b.sloEndTime)("includeSloMetric",!0)("includeObjective",!0),y(),D("hidden",!b.isAccordionExpanded),y(),D("sloStatus",b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeNoSlo",!0),y(),pf("aria-expanded",b.isAccordionExpanded),y(),D("ngIf",!b.isAccordionExpanded),y(),D("ngIf",b.isAccordionExpanded),y(),D("hidden",!b.isAccordionExpanded),y(),D("ngIf",b.isEditable),y(),D("ngIf",b.enableSloEndTime&&b.isEditable),y(),D("ngIf",b.editSloLink),y(),D("ngIf",
!b.editSloLink&&b.componentSloLink))},dependencies:[dw,hB,PC,nA,nY,AS,eY,VU,Ey,Dy,mw],styles:["[_nghost-%COMP%]{align-items:baseline;margin:8px 19px 8px 19px}[_nghost-%COMP%]:focus{outline:0}[_nghost-%COMP%]:hover   .slo-body[_ngcontent-%COMP%]{box-shadow:0 0 0 1px #d2e3fc;box-shadow:0 0 0 1px var(--primary-c100);border-radius:4px}[_nghost-%COMP%]:focus   .slo-body[_ngcontent-%COMP%], [_nghost-%COMP%]:focus-within   .slo-body[_ngcontent-%COMP%]{box-shadow:0 0 0 1px #1a73e8;box-shadow:0 0 0 1px var(--primary);border-radius:4px}[_nghost-%COMP%]:focus   .issue-slo-box-title[_ngcontent-%COMP%], [_nghost-%COMP%]:focus-within   .issue-slo-box-title[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.issue-slo-box-title[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;font-weight:500;flex:0 0 23%;min-width:80px;max-width:120px;padding-right:10px;color:#5f6368;color:var(--text-muted)}.slo-body[_ngcontent-%COMP%]{display:inline-block;margin:0 14px;padding:8px 0 8px 4px;width:fill-available;width:-webkit-fill-available}.slo-status[_ngcontent-%COMP%]{display:flex}.slo-actions[_ngcontent-%COMP%]   .slo-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 uxc={MISSING:"MISSING",DELETED:"DELETED",VALID:"VALID"};var PZ=function(a,b,c,d,e,f,h,k,q,t){Y.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=k;this.errorHandler=q;this.componentFridge=t;this.teamSuggestionIds=[];this.header="";this.teamOptions=[];this.teamAction="CHANGE";this.WarningType=uxc;this.warningType=a.warningType;this.componentId=a.componentId;this.parentComponentId=a.parentComponentId;this.teamSuggestionIds=a.teamSuggestionIds;
this.selectedTeam=new vxc(this.teamSuggestionIds[0]||"0",[]);this.componentSetting=this.pathBuilder.editComponent(this.componentId,"basic");this.suggestedTeams$=F7b(this.teamsService,this.teamSuggestionIds).pipe(B(function(z){for(var F=[],J=l(w.teamSuggestionIds),H=J.next();!H.done;H=J.next()){H=H.value;var O=z.get(H);O&&F.push(new vxc(H,O.collapsedPathNames))}return F}),cf([]));this.myTeams$=SJ(this.teamsService,"").pipe(B(function(z){return z.map(function(F){return new vxc(F.teamId,F.pathNames)})}));
(0,W.combineLatest)([this.suggestedTeams$,this.myTeams$]).pipe(B(function(z){var F=l(z);z=F.next().value;F=F.next().value;return[].concat(r(z),r(F))}),B(BBa(function(z){return z.teamId})),ef(this.destroyed$)).subscribe(function(z){w.teamOptions=z;w.selectedTeam=z[0]})};X(PZ,Y);PZ.\u0275dir=Y.\u0275dir;PZ.prototype.ngOnInit=function(){"MISSING"===this.warningType?this.header="Add team to the component":"DELETED"===this.warningType&&(this.header="Change team mapping for this component")};
PZ.prototype.confirm=function(){var a=this;if("CHANGE"===this.teamAction)0<this.parentComponentId?this.componentActions.get(this.parentComponentId).then(function(c){var d;wxc(a,(null==(d=c.team)?void 0:d.id)||"0",a.selectedTeam.teamId)}):wxc(this,"0",this.selectedTeam.teamId);else{var b=Uh(this.userPreferencesManager.teamWarningPreferencesSubject$.value);b.componentTeamWarnings.push({componentId:this.componentId,dismissMillis:(new Date).getTime()});V1b(this.userPreferencesManager,b).pipe(ef(this.destroyed$)).subscribe(function(){kp(a.analytics,
Sp.TEAM_WARNING,"dismiss","componentId",a.componentId);var c;null==(c=a.dialogRef)||c.close()},function(){})}};var wxc=function(a,b,c){a.componentActions.updateTeam(a.componentId,{inherit:c===b,id:c}).then(function(d){a.componentFridge.announce(d);kp(a.analytics,Sp.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)})};
PZ.prototype.selectOption=function(a){this.selectedTeam=a};PZ.prototype.trackClick=function(a){kp(this.analytics,Sp.TEAM_WARNING,"click",a)};PZ.prototype.getMomaTeamLink=function(){return"https://moma.corp.google.com/team/"+this.selectedTeam.teamId};PZ.\u0275fac=function(a){return new (a||PZ)(A(DA),A(BA),A(SX),A(QJ),A(xR),A(BE),A(SE),A(MI),A(AG),A(oH))};
PZ.\u0275cmp=Lc({type:PZ,selectors:[["b-team-warning-dialog"]],features:[nf],decls:11,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["aria-label","Quick team actions",3,"ngModel","ngModelChange",4,"ngIf"],["class","suggested-teams",4,"ngIf"],["mat-button","","mat-dialog-close","",1,"gmat-button","medium"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button",3,"click"],["mat-dialog-content",""],["target","_blank",3,"href","click"],["target","_blank",3,"href"],["aria-label",
"Quick team actions",3,"ngModel","ngModelChange"],["value","NONE"],["value","CHANGE"],[1,"suggested-teams"],[3,"disabled","value","options","includeEmptyOption","optionTemplate","valueChange"],["optionTemplate",""],["mat-icon-button","","target","_blank","matTooltip","Go to Moma Team page.",1,"gmat-button","small",3,"click"],["svgIcon","pop-out",1,"icon-s"],[4,"ngIf","ngIfElse"],["emptyOption",""],[1,"suggested-team-option"]],template:function(a,b){a&1&&(E(0,"h1",0),R(1),G(),C(2,g2a,5,1,"div",1)(3,
h2a,5,1,"div",1)(4,i2a,7,1,"mat-radio-group",2)(5,m2a,6,6,"div",3),E(6,"mat-dialog-actions")(7,"button",4),R(8," Cancel "),G(),E(9,"button",5),M("click",function(){return b.confirm()}),R(10," Confirm "),G()());a&2&&(y(),$f(b.header),y(),D("ngIf",b.warningType===b.WarningType.MISSING),y(),D("ngIf",b.warningType===b.WarningType.DELETED),y(),D("ngIf",b.warningType===b.WarningType.MISSING),y(),D("ngIf",0<b.teamOptions.length))},dependencies:[dw,hB,Hw,Ow,nA,oA,FA,GA,HA,IA,kW,lW,PC,OS],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 vxc=function(a,b){this.teamId=a;this.teamPath=b.join(" > ")};var QZ=function(a,b){Y.call(this);this.matDialogService=a;this.analytics=b;this.teamSuggestions=[];this.messageOnly=!1;this.updateTeam=new zv};X(QZ,Y);QZ.\u0275dir=Y.\u0275dir;QZ.prototype.ngOnInit=function(){};QZ.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")};
QZ.prototype.openDialog=function(){var a=this;kp(this.analytics,Sp.TEAM_WARNING,"open");this.matDialogService.open(PZ,{width:"580px",data:{warningType:this.warningType,componentId:this.componentId,parentComponentId:this.parentComponentId,teamSuggestionIds:this.teamSuggestions.map(function(b){return String(b.teamId)})}}).afterClosed().pipe(ef(this.destroyed$)).subscribe(function(b){b&&a.updateTeam.emit(b)})};QZ.\u0275fac=function(a){return new (a||QZ)(A(EA),A(MI))};
QZ.\u0275cmp=Lc({type:QZ,selectors:[["b-team-warning"]],inputs:{warningType:"warningType",componentId:"componentId",parentComponentId:"parentComponentId",teamSuggestions:"teamSuggestions",messageOnly:"messageOnly"},outputs:{updateTeam:"updateTeam"},features:[nf,ed],decls:4,vars:2,consts:[["messageType","caution","format","app"],[4,"ngIf"],["format","fill","mat-button","",3,"click"]],template:function(a,b){a&1&&(E(0,"b-callout",0)(1,"b-callout-body"),R(2),G(),C(3,n2a,3,1,"b-callout-actions",1),G());
a&2&&(y(2),S(" ",b.warningMessage," "),y(),D("ngIf",!b.messageOnly))},dependencies:[eQ,JP,KP,dw],encapsulation:2});var xxc=new Xc("DevopsGraphLogger",{providedIn:"root",factory:function(){return Xj}}),yxc=new Xc("DEV_GRAPH",{providedIn:"root",factory:function(){var a;return ke(function(b){switch(b.nextAddress){case 1:return le(b,2),me(b,q2a(),4);case 4:a=b.yieldResult;xt(b,3);break;case 2:return pe(b),b.return();case 3:return le(b,5),me(b,a.loadGraph(),7);case 7:xt(b,6);break;case 5:return pe(b),b.return();case 6:return b.return(google.corp.devops.tools.graph)}})}});var RZ=function(a,b,c,d){var e=this;this.session=a;this.theme=b;this.logger=c;this.graphBuilder=d;this.open$=new W.Subject;this.close$=new W.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()};
RZ.prototype.init=function(){var a=this,b,c,d,e,f;return ke(function(h){if(1==h.nextAddress)return b=a.getContainer(),!b||a.graphService&&a.graphController?h.return():me(h,a.graphBuilder,2);c=h.yieldResult;d=r2a(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(k){var q;
null==(q=a.graphController)||q.setTheme(k?"dark":"light")});qe(h)})};var zxc=function(a,b){var c;return ke(function(d){switch(d.nextAddress){case 1:return le(d,2),me(d,a.init(),4);case 4:return null==a.graphService?d.return(new Set):me(d,a.graphService.getAvailableIssueContexts(Number(b)),6);case 6:return d.return(d.yieldResult);case 5:xt(d,0);break;case 2:return c=pe(d),a.logger(c),d.return(new Set)}})};
RZ.prototype.openSidebar=function(a,b){var c=this,d;return ke(function(e){switch(e.nextAddress){case 1:return me(e,c.init(),2);case 2:if(!c.graphController)return e.return();le(e,3);return me(e,c.graphController.openIssueContext(Number(a),b),5);case 5:xt(e,0);break;case 3:d=pe(e),c.logger(d),qe(e)}})};
RZ.prototype.close=function(){var a=this,b;return ke(function(c){switch(c.nextAddress){case 1:return me(c,a.init(),2);case 2:if(!a.graphController)return c.return();le(c,3);return me(c,a.graphController.close(),5);case 5:xt(c,0);break;case 3:b=pe(c),a.logger(b),qe(c)}})};RZ.\u0275fac=function(a){return new (a||RZ)(p(nt),p(eS),p(xxc),p(yxc))};RZ.\u0275prov=vc({token:RZ,factory:RZ.\u0275fac,providedIn:"root"});var SZ=function(a,b,c,d,e,f,h,k){Y.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=k;this.id$=this.contextSensitiveRegistry.getIssueId().pipe(B(function(t){return t||void 0}));this.contexts$=this.id$.pipe(df(function(t){return ke(function(w){return null!=q.devopsGraph.getContainer()&&t?w.return(zxc(q.devopsGraph,t).then(function(z){return{issueId:t,availablePanels:z}})):w.return(void 0)})}),
af({refCount:!1,bufferSize:1}));this.availablePanels$=this.contexts$.pipe(B(function(t){return t?t.availablePanels:new Set}));this.shouldShowInsightsGraphMenu$=this.contexts$.pipe(B(function(t){return!!t&&0<t.availablePanels.size&&q.activeSession.isInternalSession()&&null!=q.devopsGraph.getContainer()}));this.shouldShowInsightsGraphButton$=this.contexts$.pipe(B(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(){Axc(q,null)}))};X(SZ,Y);SZ.\u0275dir=Y.\u0275dir;SZ.prototype.openSidebar=function(a){var b=this,c,d,e,f;return ke(function(h){c=om(b.contexts$);if(!c)return h.return();d=c;e=d.issueId;Axc(b,null!=(f=a)?f:"default");return h.return(b.devopsGraph.openSidebar(e,{panel:a}))})};
SZ.prototype.track=function(a){kp(this.analytics,"sidebar",a)};var Axc=function(a,b){null==a.router.navigationTransitions.currentNavigation&&a.router.navigate([],{relativeTo:a.route,queryParams:{showInsights:b},queryParamsHandling:"merge",replaceUrl:!0,preserveFragment:!0})};SZ.\u0275fac=function(a){return new (a||SZ)(p(RZ),p(wK),p(MI),p(hG),p(vF),p(Im),p(nt),p(FK))};SZ.\u0275prov=vc({token:SZ,factory:SZ.\u0275fac,providedIn:"root"});var u2a=function(a){return[a]},x2a=function(){return[]},n3a=function(a){return{$implicit:a}},TZ=function(a,b,c,d,e,f,h,k,q,t,w,z,F,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=k;this.documentationLinks=q;this.workspaceService=t;this.changelistApi=w;this.issueMarkAsDuplicateDialogService=z;this.analytics=F;this.issueInsightsSidebarService=J;this.issueLimits=
H;this.issueId$=new W.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Te());this.issue$=this.distinctIssueId$.pipe(df(function(P){return O.editIssueService.editableIssue$(P)}));this.enablePeoplekitAc=tE(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=yq;this.trackCustomField=function(P,U){return"{"+U.componentId+", "+U.customFieldId+"}"};this.FieldType=amc;this.ListFieldType=Rmc;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(B(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(B(f2a));this.component$=this.issueDetailsBrain.component$;this.effort$=this.issueDetailsBrain.effort$;this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.issueFields$=this.distinctIssueId$.pipe(B(function(P){return O.editIssueService.issueFields(P)}),
af({refCount:!0,bufferSize:1}));this.isForgottenFourPrimary$=this.issueFields$.pipe(df(function(P){return P.isForgottenFourPrimary$}));this.showHiddenFieldsLabel$=this.issueFields$.pipe(df(function(P){return P.showHiddenFieldsLabel$}));this.hasHiddenFields$=this.issueFields$.pipe(df(function(P){return P.hasHiddenFields$}));this.isChangelistPrimary$=this.issueFields$.pipe(df(function(P){return P.isChangelistPrimary$}));this.isSeverityPrimary$=this.issueFields$.pipe(df(function(P){return P.isSeverityPrimary$}));
this.isSloStatusPrimary$=this.issueFields$.pipe(df(function(P){return P.isSloStatusPrimary$}));this.hiddenCustomFields$=this.issueFields$.pipe(df(function(P){return P.hiddenCustomFields$}));this.visibleCustomFields$=this.issueFields$.pipe(df(function(P){return P.visibleCustomFields$}));this.issueQuickActions$=this.distinctIssueId$.pipe(B(function(P){return O.editIssueService.issueQuickActions(P)}),af({refCount:!0,bufferSize:1}));this.issueAssigneeQuickAction$=this.issueQuickActions$.pipe(df(function(P){return P.issueAssigneeQuickAction$}));
this.issueStatusQuickAction$=this.issueQuickActions$.pipe(df(function(P){return P.issueStatusQuickAction$}));this.trackerId$=this.component$.pipe(B(function(P){return null==P?void 0:P.trackerId}));this.priorityChoices=this.constants.priorities.map(function(P){return{value:P,displayText:P,hotkey:o2a(P)}});this.severityChoices=this.constants.severities.map(function(P){return{value:P,displayText:P}});this.typeChoices=this.constants.editIssueTypeChoices;this.teamHovercardInputs$=(0,W.combineLatest)([this.issueDetailsBrain.componentId$,
this.teamId$]).pipe(B(function(P){var U=l(P);P=U.next().value;U=U.next().value;return{teamId:U?String(U):"0",componentId:P?String(P):"0"}}));this.isTeamWarningDismissed$=(0,W.combineLatest)([this.issue$,this.userPreferencesManager.preferences$]).pipe(B(function(P){P=l(P);var U=P.next().value,Z,la;return null==(Z=P.next().value.teamWarningPreferences)?void 0:null==(la=Z.componentTeamWarnings)?void 0:la.some(function(oa){return oa.componentId===U.componentId})}));this.shouldDisplayTeamSuggestions$=
(0,W.combineLatest)([this.issuePermissionService.userIsComponentAdmin$,this.isTeamWarningDismissed$,this.teamWarningType$]).pipe(B(function(P){var U=l(P);P=U.next().value;var Z=U.next().value;U=U.next().value;return P&&!Z&&("MISSING"===U||"DELETED"===U)}));this.statusChoices$=this.canonicalIssueId$.pipe(B(function(P){return[].concat(r(I4b.filter(function(U){return"DUPLICATE"!==U.value})),[{value:"DUPLICATE",displayText:P?"Duplicate of "+P:"Duplicate"}])}),B(function(P){return P.map(function(U){return Object.assign({},
U,{hotkey:p2a(U.value)})})}));this.workspaces$=this.distinctIssueId$.pipe(df(function(P){return Otc(O.workspaceService,P)}),af({refCount:!0,bufferSize:1}));this.pendingChangelists$=M6b(this.refreshMonitor,this.distinctIssueId$).pipe(df(function(P){return O.changelistApi.getPendingChangelistsForIssue(P)}),B(function(P){return P.changelistNumbers}),B(function(P){return{cls:P,hasError:!1}}),Pe(function(){return(0,W.of)({cls:[],hasError:!0})}),af({refCount:!0,bufferSize:1}));this.USER_FIELD_HOVERCARD_CONFIG=
Object.assign({},new OF,{position:[o4b]});this.ACCESS_LIMITS_HOVERCARD_CONFIG=Object.assign({},new OF,{position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-30}]});this.reconcileView={assignee:function(P){var U,Z;P.value=null!=(Z=null==(U=om(O.issue$))?void 0:U.assignee)?Z:""},reporter:function(P){var U,Z;P.value=null!=(Z=null==(U=om(O.issue$))?void 0:U.reporter)?Z:""},verifier:function(P){var U,Z;P.value=null!=(Z=null==(U=om(O.issue$))?void 0:U.verifier)?Z:""},ccs:function(P){var U,
Z;P.values=null!=(Z=null==(U=om(O.issue$))?void 0:U.cc)?Z:[]},collaborators:function(P){var U,Z;P.collaborators=null!=(Z=null==(U=om(O.issue$))?void 0:U.collaborators)?Z:[]},issueType:function(P){var U,Z;P.value=null!=(Z=null==(U=om(O.issue$))?void 0:U.type)?Z:null}}};TZ.prototype.ngOnChanges=function(){this.issueId$.next(this.issueId)};
var g3a=function(a){var b=a.issuePermissionService.isCurrentUserCCd();kp(a.analytics,Sp.EDIT_ISSUE,"toggleCC (appbar)",(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.cc.filter(function(e){return!HK(a.issuePermissionService,e)}):[].concat(r(c.cc),[a.activeSession.getUserEmail()]);return A8b(a.editIssueService,a.issueId,d)},c3a=function(a){var b=a.issuePermissionService.isCurrentUserCollaborator();kp(a.analytics,Sp.EDIT_ISSUE,"toggleCollaborators (appbar)",(!b).toString());
var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.collaborators.filter(function(e){return!HK(a.issuePermissionService,e)}):[].concat(r(c.collaborators),[a.activeSession.getUserEmail()]);return B8b(a.editIssueService,a.issueId,d)};TZ.prototype.getTrackerId=function(){return om(this.trackerId$)};
TZ.prototype.toggleAccessLimits=function(){var a=this;return ke(function(b){if(a.issueLimits.isOpen())return b.return();a.issueLimits.open({componentId:Number(om(a.issueDetailsBrain.componentId$)),issueId:a.issueId});qe(b)})};TZ.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};
var Q2a=function(a,b,c){return S2a(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.assignee(b)})},A2a=function(a,b,c){return ke(function(d){return d.return(C2a(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.reporter(b)}))})},X2a=function(a,b,c){return ke(function(d){return d.return(Z2a(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.verifier(b)}))})},b4a=function(a,b,c){return ke(function(d){return d.return(A8b(a.editIssueService,a.issueId,
c).finally(function(){a.reconcileView.ccs(b)}))})},a4a=function(a,b,c){return ke(function(d){return d.return(B8b(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.collaborators(b)}))})},Y3a=function(a,b,c,d){return ke(function(e){return e.return(u8b(a.editIssueService,a.issueId,c,d).finally(function(){a.reconcileView.issueType(b)}))})},zq=function(a,b){kp(a.analytics,Sp.EDIT_ISSUE,"quickAction (sidebar)",null==b?void 0:b.displayText);return y8b(a.editIssueService,a.issueId,b)},$3a=
function(a,b){var c;return ke(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(Jwc(a.issueMarkAsDuplicateDialogService,a.issueId)):d.return(x8b(a.editIssueService,a.issueId,c)):d.return()})};
TZ.prototype.isSaving$=function(a){var b=this;return this.distinctIssueId$.pipe(B(function(c){return b.editIssueService.savingState(c)}),df(function(c){return Tp(c.propertiesBeingSaved,oo(String(a)))}))};TZ.prototype.getAccessLimitLevelDisplay=function(a){return Zp(a)};TZ.\u0275fac=function(a){return new (a||TZ)(A(nt),A(aL),A(UI),A(IK),A(GK),A(DG),A(SI),A(BE),A(jG),A(BY),A(cH),A(wZ),A(MI),A(SZ),A(zZ))};
TZ.\u0275cmp=Lc({type:TZ,selectors:[["edit-issue-metadata"]],inputs:{issueId:"issueId"},features:[ed],decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["peoplekitReporter",""],[3,"name","title","type","value","choices","readonly","disabled","valueChange"],["typeField",""],[1,"flex-wrappable","flex-kids-y"],[1,"flex-1",3,"name","title","type","tooltip","value","choices","hotkey","readonly","disabled","onHotkey","valueChange"],["priorityField",""],[1,"status-field-row"],[3,"name","title","type",
"value","choices","showHotkeyHint","hotkey","readonly","disabled","onedevHovercardActive","onedevHovercardTrigger","onHotkey","valueChange"],["statusField",""],["canonicalHovercard","onedevHovercard"],[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,"matTooltip","click","keydown.enter","keydown.space"],["ialCard","onedevHovercard"],[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"],["peoplekitAssignee",""],["peoplekitVerifier",""],[3,"readonly","collaborators","collaboratorsUsers","listFieldDisabled","teamId","isCollapsible","onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig","toggleAccessLimits","valuesChange"],["collaboratorsField",""],[1,"value-action"],["class","bv2-metadata-tool bv2-metadata-link","tabindex",
"0","role","button",3,"disabled","matTooltip","click","keydown.enter","keydown.space",4,"ngIf"],["collaboratorsCard","onedevHovercard"],["mat-button","","href","https://developers.google.com/issue-tracker/references/glossary-of-fields","target","_blank",1,"gmat-button","primary"],["title","CC","iconName","add_alert_24px",1,"full-width",3,"defaultLineCount","readonly","type","isUser","values","users","listFieldDisabled","isCollapsible","isExpanded","onedevHovercardTrigger","onedevHovercardActive",
"onedevHovercardConfig","collapsiblePanelTitle","teamId","valuesChange"],["ccsField",""],["ccCard","onedevHovercard"],[3,"readonly","defaultLineCount","title","type","values","tooltip",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","hidden-fields-separator",4,"ngIf"],[3,"titleWhenCollapsed","titleWhenExpanded",4,"ngIf"],["sloField",""],["severityField",""],["changelistsFields",""],["foundInField",""],["targetedToField",""],["verifiedInField",""],["inProdField",""],["forgottenFourFields",
""],["customFieldTemplate",""],[4,"ngTemplateOutlet"],["class","issue-metadata-field-long",3,"readonly","defaultLineCount","title","type","values",4,"ngIf"],[1,"issue-metadata-field-long",3,"readonly","defaultLineCount","title","type","values"],["class","issue-metadata-field-short",4,"ngIf"],[1,"issue-metadata-field-short"],[3,"warningType","componentId","parentComponentId","teamSuggestions","updateTeam"],[3,"name","title","type","value","user","isUser","readonly","disabled","showAvailability","teamId",
"valueChange"],["reporterField",""],[3,"thinking"],[3,"user","teamId","disabled","emailChange"],["class","bv2-metadata-quick-action",4,"ngIf"],[1,"bv2-metadata-quick-action"],[1,"bv2-field-label-spacer"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"matTooltip","click","keydown.enter","keydown.space"],[3,"onedevIsHovercardReady","issueId"],["canonicalCardBody",""],[3,"effort","effortSpec","disabled","effortChange"],[1,"implicit-access-header","flex-kids-x","flex-cross-axis-centered","flex-spread",
"full-width"],[1,"implicit-access-header-text"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["implicitAccessHelpBubble",""],["target","_blank",3,"href"],[3,"hotkey","name","title","type","value","user","isUser","readonly","disabled","showAvailability","teamId","onHotkey","valueChange"],["assigneeField",""],["class","bv2-metadata-quick-action","tabindex","0","role","button",3,"hotkey","matTooltip","onHotkey","click","keydown.enter","keydown.space",4,"ngIf"],["tabindex","0","role","button",
1,"bv2-metadata-quick-action",3,"hotkey","matTooltip","onHotkey","click","keydown.enter","keydown.space"],["class","bv2-metadata-link",3,"disabled",4,"ngIf"],[1,"bv2-metadata-link"],[3,"hotkey","user","teamId","disabled","onHotkey","emailChange"],["userPicker","bUserPicker"],["actions",""],["class","bv2-metadata-link","tabindex","0","role","button",3,"click",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"click"],["class","bv2-metadata-link","tabindex","0","role","button",3,"hotkey",
"matTooltip","disabled","onHotkey","click","keydown.enter","keydown.space",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"hotkey","matTooltip","onHotkey","click","keydown.enter","keydown.space"],[1,"flex-1",3,"name","title","type","value","user","isUser","readonly","disabled","showAvailability","teamId","valueChange"],["verifierField",""],[3,"readonly","defaultLineCount","title","type","values","tooltip"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"hidden-fields-separator"],
[3,"titleWhenCollapsed","titleWhenExpanded"],[3,"refreshable"],["tabindex","0",1,"issue-metadata-field-long",3,"sloStatus","sloStartTime","sloEndTime","sloId","componentId","isEditable","issueCreationTimestamp","onSloStartTimeChange","onSloEndTimeChange"],[1,"flex-1",3,"name","title","type","tooltip","value","choices","readonly","disabled","valueChange"],[3,"readonly","defaultLineCount","title","type","values","listFieldDisabled","valuesChange"],[1,"title-action"],[3,"pressed",4,"ngIf"],[3,"pressed"],
[1,"issue-metadata-field-short","issue-metadata-field-short-left",3,"name","title","type","multiline","tooltip","value","readonly","disabled","valueChange"],[3,"name","title","type","multiline","tooltip","value","readonly","disabled","valueChange"],[3,"name","title","type","value","tooltip","readonly","disabled","valueChange"],[3,"issue","field","readonly","disabled","save"]],template:function(a,b){a&1&&(C(0,c4a,137,161,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.issue$))},dependencies:[CU,
hw,dw,lw,hB,NU,rU,GZ,BZ,CZ,DZ,XM,LF,MF,QF,NF,Qtc,eW,OZ,LU,DY,PC,gN,QZ,NZ,yR,VQ,TK,mw],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 Bxc=["descriptionArea"],Cxc=["container"],UZ=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H){Y.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=k;this.clipboard=q;this.snackBar=t;this.prompts=w;this.llmService=z;this.activeSession=F;this.analytics=J;this.userFeedback=H;this.closeSidebar=new zv;this.navigateToNextIssue=
new zv;this.navigateToPreviousIssue=new zv;this.issueId$=new W.ReplaySubject(1);this.issue$=this.issueId$.pipe(ef(this.destroyed$),df(this.issueFridge.watch),af({bufferSize:1,refCount:!0}));this.componentId$=this.issue$.pipe(B(function(P){return null==P?void 0:P.snapshot[0].componentId}));this.accessLevel$=this.issue$.pipe(B(function(P){var U;return null==P?void 0:null==(U=P.accessLimit)?void 0:U.accessLevel}));this.events$=this.issueId$.pipe(ef(this.destroyed$),df(this.eventsForIssueFridge.watch),
B(function(P){return(null==P?void 0:P.events)||[]}));this.firstEvent$=this.events$.pipe(B(function(P){return 0<P.length?P[0]:void 0}));this.statusUpdate$=this.issue$.pipe(B(function(P){return null==P?void 0:P.statusUpdate}));this.statusUpdateNote$=this.statusUpdate$.pipe(Ce(Bi),B(function(P){return{unlinkifiedComment:P.updateText,formattedComment:P.formattedText}}));this.userCanEditStatusUpdate$=this.issuePermissionService.hasAclToEdit$;this.hasStatusUpdate$=this.statusUpdate$.pipe(B(function(P){return!!P&&
""!==P.updateText}));this.firstNote$=this.events$.pipe(ef(this.destroyed$),B(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}}),af({bufferSize:1,refCount:!0}));this.userCanEditDescription$=this.firstEvent$.pipe(df(function(P){return P?O.issuePermissionService.canEditComment$(P):(0,W.of)(!1)}));this.hasDescription$=this.events$.pipe(ef(this.destroyed$),
B(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=OD;this.descriptionHasMore=!0;this.showFullDescription=!1;this.enableLlmSummarization=tE(this.activeSession,"enableLlmSummarization")&&this.activeSession.isInternalSession();this.summaryThumbsDown=this.summaryThumbsUp=this.hasRatedSummary=this.hasIssueSummary=this.isLoadingIssueSummary=
this.isIssueSummaryExpanded=!1;this.isSummarizable$=this.issueId$.pipe(df(function(P){return wtc(O.prompts,P)}));this.issueSummaryRequested$=new W.ReplaySubject(1);this.issueSummary$=this.issueSummaryRequested$.pipe(gf(this.issueId$),df(function(P){P=l(P);P.next();P=P.next().value;return xtc(O.llmService,P,1)}),ff(function(){O.hasIssueSummary=!0;O.isLoadingIssueSummary=!1}),af({bufferSize:1,refCount:!1}));this.containerScrolled=!1;this.destroyed$.subscribe(function(){Aq(O)});this.issueId$.pipe(ef(this.destroyed$)).subscribe(function(){Aq(O);
O.hasIssueSummary=!1;O.isIssueSummaryExpanded=!1;O.hasRatedSummary=!1;O.summaryThumbsUp=!1;O.summaryThumbsDown=!1;O.showFullDescription=!1});this.firstNote$.pipe(ef(this.destroyed$)).subscribe(function(){Dxc(O)})};X(UZ,Y);UZ.\u0275dir=Y.\u0275dir;UZ.prototype.ngAfterViewInit=function(){var a=this;this.issueId$.pipe(ef(this.destroyed$)).subscribe(function(){a.container.nativeElement.scrollTop=0})};
var Dxc=function(a){setTimeout(function(){var b;a.descriptionHasMore=130<(null==(b=a.descriptionArea)?void 0:b.nativeElement.scrollHeight);a.cdr.detectChanges()})};g=UZ.prototype;g.copyIssueId=function(a){this.clipboard.copy(a);this.snackBar.open("IssueId copied","",{duration:2E3});kp(this.analytics,Sp.ISSUE_SIDEBAR,"copyIssueId")};g.trackThumbsUp=function(){this.summaryThumbsUp=this.hasRatedSummary=!0;kp(this.analytics,Sp.LLM_SUMMARIZE,"accept",m4a(this))};
g.trackThumbsDown=function(){this.summaryThumbsDown=this.hasRatedSummary=!0;kp(this.analytics,Sp.LLM_SUMMARIZE,"reject",m4a(this))};g.copySummary=function(){var a=om(this.issueSummary$);a&&""!==a.summary&&(this.clipboard.copy(a.summary),this.snackBar.open("Issue summary copied to clipboard","",{duration:2E3}),kp(this.analytics,Sp.LLM_SUMMARIZE,"copy",m4a(this)))};g.openFeedbackDialog=function(){this.userFeedback.startFeedback()};
var m4a=function(a){return JSON.stringify({id:a.issueId,stage:"long",fromIssueSidebar:!0})};
UZ.prototype.editStatusUpdate=function(){var a=this,b,c,d,e,f,h,k,q;return ke(function(t){switch(t.nextAddress){case 1:return me(t,(0,W.firstValueFrom)(a.issueId$),2);case 2:return b=t.yieldResult,me(t,(0,W.firstValueFrom)(a.componentId$),3);case 3:return c=t.yieldResult,d={issueId:b,updateText:"",version:-1},f=null!=(e=om(a.statusUpdate$))?e:d,me(t,(0,W.firstValueFrom)(a.accessLevel$),4);case 4:return k=(h=t.yieldResult)&&"INTERNAL"===h?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE",me(t,a.editStatusUpdateDialogService.show(f,
k,c),5);case 5:q=t.yieldResult;if(!q)return t.return();a.statusUpdateService.update(q).subscribe(function(w){kp(a.analytics,Sp.ISSUE_SIDEBAR,"edit","statusUpdate",0===w.updateText.length);RG(a.issueFridge,b,function(z){z.statusUpdate=w});a.issueFridge.poke(b)});qe(t)}})};
var I4a=function(a){var b,c,d;return ke(function(e){switch(e.nextAddress){case 1:return me(e,(0,W.firstValueFrom)(a.issueId$),2);case 2:return b=e.yieldResult,(c=om(a.firstEvent$))?me(e,Xs(a.issueCommentDialogsService,b,c),3):e.return();case 3:return me(e,a.eventsForIssueFridge.poke(b),4);case 4:kp(a.analytics,Sp.ISSUE_SIDEBAR,"edit","description",0===(null==(d=c.unlinkifiedComment)?void 0:d.length)),qe(e)}})},f4a=function(a){var b;return ke(function(c){if(1==c.nextAddress)return me(c,(0,W.firstValueFrom)(a.issue$),
2);b=c.yieldResult;if(!b)return c.return();a.draftTitle=b.snapshot[0].title;a.editTitleMode=!0;qe(c)})},Aq=function(a){a.isSavingTitle||(a.draftTitle="",a.editTitleMode=!1)};
UZ.prototype.saveTitle=function(){var a=this,b;return ke(function(c){if(1==c.nextAddress)return me(c,(0,W.firstValueFrom)(a.issue$),2);b=c.yieldResult;if(!b||b.snapshot[0].title===a.draftTitle)return Aq(a),c.return();a.isSavingTitle=!0;O6b(a.issueFridge,b.issueId,a.draftTitle).subscribe(function(){kp(a.analytics,Sp.ISSUE_SIDEBAR,"edit","title");a.isSavingTitle=!1;Aq(a)});qe(c)})};UZ.prototype.upvoted=function(a){kp(this.analytics,Sp.ISSUE_SIDEBAR,"toggle","vote",a)};
Vg.Object.defineProperties(UZ.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){a?(this.issueId$.next(String(a)),this.contextSensitiveRegistry.issueIdOverride$.next(String(a)),kp(this.analytics,Sp.ISSUE_SIDEBAR,"changeIssue")):this.contextSensitiveRegistry.issueIdOverride$.next(null)}},content:{configurable:!0,enumerable:!0,set:function(a){a&&(this.descriptionArea=a,Dxc(this))}}});
UZ.\u0275fac=function(a){return new (a||UZ)(A(EF,2),A(UI),A($H),A(xY),A(rY),A(vZ),A(FK),A(IK),A(LE),A(SE),A(AY),A(zY),A(nt),A(MI),A(gS))};
UZ.\u0275cmp=Lc({type:UZ,selectors:[["issue-sidebar"]],viewQuery:function(a,b){a&1&&(Uf(Bxc,5),Uf(Cxc,5));if(a&2){var c;Yf(c=Zf())&&(b.content=c.first);Yf(c=Zf())&&(b.container=c.first)}},inputs:{issueId:"issueId"},outputs:{closeSidebar:"closeSidebar",navigateToNextIssue:"navigateToNextIssue",navigateToPreviousIssue:"navigateToPreviousIssue"},features:[bg([EF]),nf],decls:23,vars:15,consts:[[1,"container","flex-kids-y",3,"scroll"],["container",""],[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"],["spinner",""],[1,"heading-xs","muted","hover-link",3,"href","click"],[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,"issueId","upvoted","voteCount","onVote"],[1,"title"],[1,"flex"],["mat-icon-button","","matTooltip","Edit issue title",
"aria-label","Edit issue title",1,"fade-icon-button","gmat-button","small",3,"matTooltipShowDelay","click"],["svgIcon","edit-outline",1,"icon-s"],[1,"full-width"],["matInput","","type","text","aria-label","Edit issue title","rows","3",3,"cdkTextareaAutosize","cdkAutosizeMinRows","ngModel","bFocus","ngModelChange"],[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,"disabled","click"],["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,"matTooltipShowDelay","click"],["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"],
["aiHelp",""],["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,"matTooltipShowDelay","click"],["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"],["plainTextSummary",""],[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,"disabled","click"],["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,"disabled","click"],["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,"matTooltipShowDelay","click"],["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,"matTooltipShowDelay","click"],["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,"matTooltipShowDelay",
"click"],["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,"matTooltipShowDelay","click"],[1,"description-area"],["descriptionArea",""],[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){a&1&&(E(0,"div",0,1),M("scroll",function(){b.containerScrolled=0===b.container.nativeElement.scrollTop?!1:!0}),E(2,"header")(3,"div",2)(4,"div",3),C(5,d4a,7,2,"ng-container",4),T(6,"async"),G(),E(7,"div"),C(8,e4a,1,3,"b-app-vote-button",5),T(9,"async"),E(10,"button",6),M("click",function(){return b.navigateToPreviousIssue.emit()}),I(11,"mat-icon",7),G(),E(12,"button",8),M("click",function(){return b.navigateToNextIssue.emit()}),I(13,"mat-icon",9),G(),E(14,"button",10),M("click",
function(){return b.closeSidebar.emit()}),I(15,"mat-icon",11),G()()(),C(16,k4a,4,2,"div",12),T(17,"async"),G(),E(18,"div",13),C(19,V4a,32,26,"ng-container",14),T(20,"async"),G()(),C(21,W4a,2,0,"ng-template",null,15,jg));if(a&2){var c=Q(22);y(2);yf("elevated",b.containerScrolled);y(3);D("ngIf",V(6,7,b.issueId$));y(3);D("ngIf",V(9,9,b.issue$));y(8);D("ngIf",V(17,11,b.issue$));y(3);D("ngIf",V(20,13,b.issue$))("ngIfElse",c)}},dependencies:[nA,PC,Dg,Hw,Ow,dB,WA,fB,QQ,PQ,mR,dw,lw,hB,HQ,TZ,BM,$M,pY,dW,mw],
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 Exc=[[["",8,"tooltip-content"]],[["",8,"chip-content"]]],VZ=function(){this.compactMode=this.labelOnlyMode=!1};VZ.prototype.ngOnInit=function(){};VZ.\u0275fac=function(a){return new (a||VZ)};
VZ.\u0275cmp=Lc({type:VZ,selectors:[["b-base-chip"]],inputs:{labelOnlyMode:"labelOnlyMode",compactMode:"compactMode",labelClass:"labelClass",hovercardAriaLabel:"hovercardAriaLabel"},ngContentSelectors:[".tooltip-content",".chip-content"],decls:9,vars:6,consts:[[1,"bv2-chip"],["chipHovercard","onedevHovercard"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"field-label-with-help",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"help-label",3,"ngClass"]],template:function(a,
b){a&1&&(Lf(Exc),E(0,"span",0)(1,"onedev-hovercard",null,1)(3,"div",2)(4,"div",3),Mf(5),G()()(),E(6,"div",4)(7,"span",5),Mf(8,1),G()()());if(a&2){var c=Q(2),d;y(3);pf("aria-label",b.hovercardAriaLabel);y(3);D("onedevHovercardTrigger",c)("onedevHovercardActive",!b.labelOnlyMode);y();yf("compact-chip",b.compactMode);D("ngClass",null!==(d=b.labelClass)&&void 0!==d?d:"")}},dependencies:[gw,LF,QF],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 WZ=function(a){this.documentationLinks=a;this.documentationLink=ht()};WZ.prototype.ngOnChanges=function(){this.retentionState?this.retentionExpireTime=on(this.retentionState.scheduledDeletionTime):this.retentionExpireTime=void 0};WZ.\u0275fac=function(a){return new (a||WZ)(A(jG))};
WZ.\u0275cmp=Lc({type:WZ,selectors:[["retention-help-text"]],inputs:{retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[ed],decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["indefinite",""],["target","_blank",3,"href"],[3,"mode","timestamp","paddingLeftPx"]],template:function(a,b){a&1&&C(0,Z4a,6,3,"ng-container",0);a&2&&D("ngIf",b.retentionState&&b.modifiedTime)},dependencies:[dw,AS],encapsulation:2});var XZ=function(a){this.dateFormatter=a;this.compactMode=!1;this.text=""};XZ.prototype.ngOnChanges=function(){var a;null!=(null==(a=this.retentionState)?void 0:a.scheduledDeletionTime)?this.text=Ckb(on(this.retentionState.scheduledDeletionTime),!this.compactMode):this.text="Indefinite"};XZ.\u0275fac=function(a){return new (a||XZ)(A(yS))};
XZ.\u0275cmp=Lc({type:XZ,selectors:[["retention-text"]],inputs:{retentionState:"retentionState",compactMode:"compactMode"},features:[ed],decls:1,vars:1,template:function(a,b){a&1&&R(0);a&2&&$f(b.text)},encapsulation:2});var YZ=function(){this.showRetentionInfo=this.dangerZone=this.labelOnlyMode=this.compactMode=this.showOnlyInDangerZone=!1};YZ.prototype.ngOnChanges=function(){this.retentionState&&this.retentionState.retentionPeriod&&this.retentionState.scheduledDeletionTime?(this.dangerZone=a5a(this.retentionState),this.showRetentionInfo=this.showOnlyInDangerZone&&this.dangerZone||!this.showOnlyInDangerZone):this.showRetentionInfo=!1};YZ.\u0275fac=function(a){return new (a||YZ)(A(jG))};
YZ.\u0275cmp=Lc({type:YZ,selectors:[["b-retention-chip"]],inputs:{showOnlyInDangerZone:"showOnlyInDangerZone",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode",retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[ed],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&&C(0,$4a,5,7,"b-base-chip",0);a&2&&D("ngIf",b.showRetentionInfo)},dependencies:[dw,VZ,XZ,WZ],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 Fxc=mh("transform",[ph("open, open-instant",oh({transform:"none",visibility:"visible"})),ph("void",oh({"box-shadow":"none",visibility:"hidden"})),rh("void => open-instant",nh("0ms")),rh("void <=> open, open-instant => void",nh("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))]);var Gxc=["*"],Hxc=["content"],Ixc=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Jxc=new Xc("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:d5a}),Kxc=new Xc("MAT_DRAWER_CONTAINER"),ZZ=function(a,b,c,d,e){ly.call(this,c,d,e);this._changeDetectorRef=a;this._container=b};X(ZZ,ly);ZZ.\u0275dir=ly.\u0275dir;ZZ.prototype.ngAfterContentInit=function(){var a=this;this._container._contentMarginChanges.subscribe(function(){a._changeDetectorRef.markForCheck()})};
ZZ.\u0275fac=function(a){return new (a||ZZ)(A(Uu),A(Cc(function(){return $Z})),A(Ad),A(ky),A(Ge))};
ZZ.\u0275cmp=Lc({type:ZZ,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(a,b){a&2&&xf("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px")},standalone:!0,features:[bg([{provide:ly,useExisting:ZZ}]),nf,dg],ngContentSelectors:Gxc,decls:1,vars:0,template:function(a){a&1&&(Lf(),Mf(0))},encapsulation:2,changeDetection:0});
var a_=function(a,b,c,d,e,f,h,k){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=k;this._elementFocusedBeforeDrawerWasOpened=this._focusTrap=null;this._enableAnimations=!1;this._position="start";this._mode="over";this._opened=this._disableClose=!1;this._animationStarted=new W.Subject;this._animationEnd=new W.Subject;this._animationState="void";this.openedChange=new zv(!0);this._openedStream=
this.openedChange.pipe(Ce(function(t){return t}),B(function(){}));this.openedStart=this._animationStarted.pipe(Ce(function(t){return t.fromState!==t.toState&&0===t.toState.indexOf("open")}),Ye());this._closedStream=this.openedChange.pipe(Ce(function(t){return!t}),B(function(){}));this.closedStart=this._animationStarted.pipe(Ce(function(t){return t.fromState!==t.toState&&"void"===t.toState}),Ye());this._destroyed=new W.Subject;this.onPositionChanged=new zv;this._modeChanged=new W.Subject;this.openedChange.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,W.fromEvent)(q._elementRef.nativeElement,"keydown").pipe(Ce(function(t){return 27===t.keyCode&&!q.disableClose&&!Mg(t)}),ef(q._destroyed)).subscribe(function(t){return q._ngZone.run(function(){q.close();t.stopPropagation();t.preventDefault()})})});this._animationEnd.pipe(Te(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=a_.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":kx(this._focusTrap).then(function(c){c||"function"!==typeof a._elementRef.nativeElement.focus||b.focus()});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?qx(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(Ue()).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)}};
Vg.Object.defineProperties(a_.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=Og(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=Og(a);this._autoFocus=a}},opened:{configurable:!0,enumerable:!0,get:function(){return this._opened},set:function(a){this.toggle(Og(a))}}});a_.\u0275fac=function(a){return new (a||a_)(A(Ad),A(lx),A(px),A(fx),A(Ge),A(gx),A(Tg,8),A(Kxc,8))};
a_.\u0275cmp=Lc({type:a_,selectors:[["mat-drawer"]],viewQuery:function(a,b){a&1&&Uf(Hxc,5);if(a&2){var c;Yf(c=Zf())&&(b._content=c.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(a,b){a&1&&Kf("@transform.start",function(c){return b._animationStarted.next(c)})("@transform.done",function(c){return b._animationEnd.next(c)});a&2&&(pf("align",null),If("@transform",b._animationState),yf("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:[dg],ngContentSelectors:Gxc,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],
["content",""]],template:function(a){a&1&&(Lf(),E(0,"div",0,1),Mf(2),G())},dependencies:[ly],encapsulation:2,data:{animation:[Fxc]},changeDetection:0});
var $Z=function(a,b,c,d,e,f,h){var k=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 Tf;this.backdropClick=new zv;this._destroyed=new W.Subject;this._doCheckSubject=new W.Subject;this._contentMargins={left:null,right:null};this._contentMarginChanges=new W.Subject;a&&a.change.pipe(ef(this._destroyed)).subscribe(function(){k._validateDrawers();b_(k)});e.change().pipe(ef(this._destroyed)).subscribe(function(){return b_(k)});
this._autosize=f};
$Z.prototype.ngAfterContentInit=function(){var a=this;this._allDrawers.changes.pipe(cf(this._allDrawers),ef(this._destroyed)).subscribe(function(b){a._drawers.reset(b.filter(function(c){return!c._container||c._container===a}));Xf(a._drawers)});this._drawers.changes.pipe(cf(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))&&b_(a);
a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._doCheckSubject.pipe(Re(10),ef(a._destroyed)).subscribe(function(){return b_(a)})})};$Z.prototype.ngOnDestroy=function(){this._contentMarginChanges.complete();this._doCheckSubject.complete();this._drawers.destroy();this._destroyed.next();this._destroyed.complete()};$Z.prototype.open=function(){this._drawers.forEach(function(a){return a.open()})};$Z.prototype.close=function(){this._drawers.forEach(function(a){return a.close()})};
var b_=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=$Z.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}),ef(this._drawers.changes)).subscribe(function(c){"open-instant"!==c.toState&&"NoopAnimations"!==b._animationMode&&b._element.nativeElement.classList.add("mat-drawer-transition");b_(b);b._changeDetectorRef.markForCheck()});"side"!==a.mode&&a.openedChange.pipe(ef(this._drawers.changes)).subscribe(function(){return b._setContainerClass(a.opened)})};
g._watchDrawerPosition=function(a){var b=this;a&&a.onPositionChanged.pipe(ef(this._drawers.changes)).subscribe(function(){b._ngZone.onMicrotaskEmpty.pipe(Ue()).subscribe(function(){b._validateDrawers()})})};g._watchDrawerMode=function(a){var b=this;a&&a._modeChanged.pipe(ef((0,W.merge)(this._drawers.changes,this._destroyed))).subscribe(function(){b_(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};
Vg.Object.defineProperties($Z.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=Og(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:Og(a)}},scrollable:{configurable:!0,
enumerable:!0,get:function(){return this._userContent||this._content}}});$Z.\u0275fac=function(a){return new (a||$Z)(A(ay,8),A(Ad),A(Ge),A(Uu),A(oy),A(Jxc),A(Su,8))};
$Z.\u0275cmp=Lc({type:$Z,selectors:[["mat-drawer-container"]],contentQueries:function(a,b,c){a&1&&(Vf(c,ZZ,5),Vf(c,a_,5));if(a&2){var d;Yf(d=Zf())&&(b._content=d.first);Yf(d=Zf())&&(b._allDrawers=d)}},viewQuery:function(a,b){a&1&&Uf(ZZ,5);if(a&2){var c;Yf(c=Zf())&&(b._userContent=c.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(a,b){a&2&&yf("mat-drawer-container-explicit-backdrop",b._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},
exportAs:["matDrawerContainer"],standalone:!0,features:[bg([{provide:Kxc,useExisting:$Z}]),dg],ngContentSelectors:["mat-drawer","mat-drawer-content","*"],decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(a,b){a&1&&(Lf(Ixc),C(0,b5a,1,2,"div",0),Mf(1),Mf(2,1),C(3,c5a,2,0,"mat-drawer-content"));a&2&&(Cf(0,b.hasBackdrop?0:-1),y(3),Cf(3,b._content?-1:3))},dependencies:[ZZ],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{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);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);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 Lxc=["*"],Mxc=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],c_=function(a,b,c,d,e){ZZ.call(this,a,b,c,d,e)};X(c_,ZZ);c_.\u0275dir=ZZ.\u0275dir;c_.\u0275fac=function(a){return new (a||c_)(A(Uu),A(Cc(function(){return d_})),A(Ad),A(ky),A(Ge))};
c_.\u0275cmp=Lc({type:c_,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(a,b){a&2&&xf("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px")},standalone:!0,features:[bg([{provide:ly,useExisting:c_}]),nf,dg],ngContentSelectors:Lxc,decls:1,vars:0,template:function(a){a&1&&(Lf(),Mf(0))},encapsulation:2,changeDetection:0});
var e_=function(){a_.apply(this,arguments);this._fixedInViewport=!1;this._fixedBottomGap=this._fixedTopGap=0};X(e_,a_);
Vg.Object.defineProperties(e_.prototype,{fixedInViewport:{configurable:!0,enumerable:!0,get:function(){return this._fixedInViewport},set:function(a){this._fixedInViewport=Og(a)}},fixedTopGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedTopGap},set:function(a){this._fixedTopGap=Rg(a)}},fixedBottomGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedBottomGap},set:function(a){this._fixedBottomGap=Rg(a)}}});
e_.\u0275fac=function(){var a;return function(b){return(a||(a=zd(e_)))(b||e_)}}();
e_.\u0275cmp=Lc({type:e_,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(a,b){a&2&&(pf("align",null),xf("top",b.fixedInViewport?b.fixedTopGap:null,"px")("bottom",b.fixedInViewport?b.fixedBottomGap:null,"px"),yf("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:[nf,dg],ngContentSelectors:Lxc,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(a){a&1&&(Lf(),E(0,"div",0,1),Mf(2),G())},dependencies:[ly],encapsulation:2,data:{animation:[Fxc]},changeDetection:0});var d_=function(){$Z.apply(this,arguments);this._content=this._allDrawers=void 0};X(d_,$Z);
d_.\u0275fac=function(){var a;return function(b){return(a||(a=zd(d_)))(b||d_)}}();
d_.\u0275cmp=Lc({type:d_,selectors:[["mat-sidenav-container"]],contentQueries:function(a,b,c){a&1&&(Vf(c,c_,5),Vf(c,e_,5));if(a&2){var d;Yf(d=Zf())&&(b._content=d.first);Yf(d=Zf())&&(b._allDrawers=d)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(a,b){a&2&&yf("mat-drawer-container-explicit-backdrop",b._backdropOverride)},exportAs:["matSidenavContainer"],standalone:!0,features:[bg([{provide:Kxc,useExisting:d_}]),nf,dg],ngContentSelectors:["mat-sidenav",
"mat-sidenav-content","*"],decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(a,b){a&1&&(Lf(Mxc),C(0,e5a,1,2,"div",0),Mf(1),Mf(2,1),C(3,f5a,2,0,"mat-sidenav-content"));a&2&&(Cf(0,b.hasBackdrop?0:-1),y(3),Cf(3,b._content?-1:3))},dependencies:[c_],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{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);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);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 f_=function(){};f_.\u0275fac=function(a){return new (a||f_)};f_.\u0275mod=Nc({type:f_});f_.\u0275inj=wc({imports:[Gy,py,py,Gy]});var Nxc=["issueSidenavContainer"],Y5a=function(a,b,c){return{low:a,high:b,p0:c}},E6a=function(a){return{id:a}},j7a=function(a,b){return{"bv2-grid-cell-variable-height":a,"rtl-component-path":b}},$7a=function(){return[]},g_=function(a,b,c,d,e,f,h,k,q,t,w,z,F,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=k;this.bLocation=q;this.issuePagination=t;this.paths=w;this.errorHandler=
z;this.$log=F;this.domSafe=J;this.currentTracker=H;this.anayltics=O;this.ISSUE_STATUS_JS_ICON_NAME=G4b;this.STATUS_JS_FULL_TEXT=mn;this.STATUS_JS_TERSE=C4b;this.lastCheckedIndex=null;this.focusedRowIndexChange=new zv;this.columns=[];this.columnsChange=new zv;this.enableColumnSaving=!1;this.sort=null;this.enableSidebar=!1;this.sortChange=new zv;this.rowClick=new zv;this.init=new zv;this.onRowDragDrop=new zv;this.onNextPage=new zv;this.onPrevPage=new zv;this.selectionCallbacks=[];this.GET_ISSUE_ACCESS_LEVEL_TITLE=
Zp;this.isLoadingTeams=!0;this.isTotalEstimatesEnabled=tE(this.activeSession,"enableAggregationRules");this.enableNewVisibilityChips=tE(this.activeSession,"enableNewVisibilityChips");this.isIssueSidebarOpen=this.isIssueSidebarEnabled=!1;this.destroyed$=new W.ReplaySubject(1);this.starInProgress={};this.readUnreadOptOut=tE(this.activeSession,"readUnreadOptOut");this.enableAddViewCountColumnsOnIlp=tE(this.activeSession,"enableAddViewCountColumnsOnIlp");b=wa(g_a);a.isInternalSession()||(ua(b,"minSlo"),
ua(b,"responseSlo"),ua(b,"assignmentSlo"),ua(b,"closureSlo"),ua(b,"deletionTime"),ua(b,"team"),ua(b,"estimate"),ua(b,"estimateTotalOpen"),ua(b,"estimateTotalComplete"));this.enableAddViewCountColumnsOnIlp||(ua(b,"oneDayViewCount"),ua(b,"sevenDayViewCount"),ua(b,"thirtyDayViewCount"));this.availableColumns=b.map(h_a);this.dragDropLogic=new jtc({ngZone:this.ngZone,nativeElement:this.elementRef.nativeElement,rowFinder:function(U){return Oxc(P,U)},onRowDragDrop:function(U){P.onRowDragDrop.emit(U)}})};
g=g_.prototype;g.ngOnInit=function(){var a=this;this.dragDropLogic.setup();this.userPreferencesManager.listViewPreferences$.pipe(ef(this.destroyed$)).subscribe(function(b){a.listViewPrefs=b;a.cdr.detectChanges()});this.isIssueSidebarEnabled=this.enableSidebar&&tE(this.activeSession,"enableIssueSidebar")||!1;this.init.emit(this)};
g.ngOnChanges=function(a){if(a.searchResults){var b,c=Yra((null==(b=this.searchResults)?void 0:b.issues.map(function(e){return new Set([].concat(r(e.hotlistId||[])))}))||[]);this.hotlistFridge.watchSet([].concat(r(c)))}if(a.searchResults||a.columns)for(b=l(this.columns),c=b.next();!c.done;c=b.next())"TEAM"===c.value.label&&Pxc(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}))||[]);psa(a,d)||Bq(this)}};g.ngOnDestroy=function(){this.dragDropLogic.tearDown();this.destroyed$.next()};g.focus=function(){this.grid.focus()};g.selectAll=function(){if(this.searchResults){for(var a=l(this.searchResults.issues),b=a.next();!b.done;b=a.next())b.value.selected=!0;this.cdr.detectChanges()}Bq(this)};
var Qxc=function(a){if(a.searchResults){for(var b=l(a.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.cdr.detectChanges()}Bq(a)};g_.prototype.hasSelectedIssues=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};
var r5a=function(a){return a.searchResults?a.searchResults.issues.every(function(b){return b.selected}):!1},Rxc=function(a){return a.searchResults?a.searchResults.issues.some(function(b){return b.selected}):!1},q5a=function(a){if(!a.searchResults)return"unchecked";var b=!0,c=!1;a=l(a.searchResults.issues);for(var d=a.next();!d.done;d=a.next())d.value.selected?c=!0:b=!1;return b?"checked":c?"indeterminate":"unchecked"};
g_.prototype.getSelectedIssues=function(){return this.searchResults?this.searchResults.issues.filter(function(a){return a.selected}):[]};
var Txc=function(a){if(Sxc(a)&&null!=a.focusedRowIndex&&a.searchResults){var b=a.searchResults.issues[a.focusedRowIndex];b&&(b.selected=!b.selected,a.cdr.detectChanges(),Bq(a))}},p5a=function(a){if(a.searchResults){for(var b=!Rxc(a),c=l(a.searchResults.issues),d=c.next();!d.done;d=c.next())d.value.selected=b;a.cdr.detectChanges();Bq(a)}},g5a=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()&&Ogc(a.issuePagination,a.searchResults.endIndex+1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onNextPage.emit()})},h5a=function(a){null!=a.focusedRowIndex&&0<a.focusedRowIndex?(a.focusedRowIndex--,a.focusedRowIndexChange.emit(a.focusedRowIndex),a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasPreviousPage()&&Ogc(a.issuePagination,a.searchResults.startIndex-1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onPrevPage.emit()})},
h_=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)))};g_.prototype.getFocusedIssue=function(){return Sxc(this)&&null!=this.focusedRowIndex&&this.searchResults?this.searchResults.issues[this.focusedRowIndex]:null};
var Uxc=function(a,b){a.selectionCallbacks.push(b);b()},Bq=function(a){a=l(a.selectionCallbacks);for(var b=a.next();!b.done;b=a.next())b=b.value,b()},Vxc=function(a){Sxc(a)&&null!=a.focusedRowIndex&&a.searchResults&&a.toggleStar(a.searchResults.issues[a.focusedRowIndex])},Wxc=function(a,b){b=void 0===b?!0:b;var c=a.getSelectedIssues();if(0!==c.length){for(var d=l(c),e=d.next();!e.done;e=d.next())e.value.isRead=b;a.cdr.detectChanges();WI(a.issueFridge,c.map(function(f){return f.issueId}),{markRead:b,
userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(f){for(var h=l(c),k=h.next();!k.done;k=h.next()){var q=void 0;k.value.lastViewedTime=null!=(q=f)?q:null}}).catch(function(){for(var f=l(c),h=f.next();!h.done;h=f.next())h=h.value,h.isRead=!!h.lastViewedTime&&h.lastViewedTime>=h.majorModifiedTime}).finally(function(){a.cdr.detectChanges()})}};
g_.prototype.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,N6b(this.issueFridge,String(a.issueId),a.starred).pipe(Ue(),ef(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()}))};
g_.prototype.issueDescription=function(a){return(a.isClosed?"Closed ":this.readUnreadOptOut||a.isRead?"":"Unread ")+"Issue ID "+a.id+" titled: "+a.title};
var Sxc=function(a){return null!=a.searchResults&&null!=a.focusedRowIndex&&0<=a.focusedRowIndex&&a.focusedRowIndex<a.searchResults.issues.length},Oxc=function(a,b){return b?a.searchResults?a.searchResults.issues.findIndex(function(c){return c.id===b}):-1:-1},Pxc=function(a){if(a.searchResults){for(var b=new Set,c=l(a.searchResults.issues),d=c.next();!d.done;d=c.next())d=String(d.value.teamId),"0"!==d&&b.add(d);0<b.size?(a.isLoadingTeams=!0,F7b(a.teamsService,[].concat(r(b))).pipe(ef(a.destroyed$)).subscribe(function(e){if(a.searchResults)for(var f=
l(a.searchResults.issues),h=f.next();!h.done;h=f.next()){h=h.value;var k=String(h.teamId);"0"!==k&&(k=e.get(k))&&(h.team=k.name)}a.isLoadingTeams=!1;a.cdr.detectChanges()})):a.isLoadingTeams=!1}};g_.prototype.isIssueGridColumn=function(){return!0};g_.prototype.getComponentPath=function(a){return Wh(a)?a.join(" > "):(a=Is(this.currentTracker,a))&&a.componentPathName?a.componentPathName.join(" > "):""};
g_.\u0275fac=function(a){return new (a||g_)(A(nt),A(EF,2),A(Ad),A(QJ),A(Ge),A(BE),A(CI),A(UI),A(hI),A(WP),A(iI),A(AG),A(DF),A(IE),A(IM),A(MI))};
g_.\u0275cmp=Lc({type:g_,selectors:[["b-issues-grid"]],viewQuery:function(a,b){a&1&&(Uf(gY,7),Uf(Nxc,5));if(a&2){var c;Yf(c=Zf())&&(b.grid=c.first);Yf(c=Zf())&&(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:[bg([EF]),ed],decls:6,vars:2,consts:[["hasBackdrop","false",3,"sidebar-enabled",4,"ngIf","ngIfElse"],["issuesGrid",""],["issueWithHovercard",""],["hasBackdrop","false"],["issueSidenavContainer",""],["mode","side","position","end",3,"opened","disableClose","openedChange"],[3,"issueId","closeSidebar","navigateToNextIssue","navigateToPreviousIssue",4,"ngIf"],[4,"ngTemplateOutlet"],[3,"issueId","closeSidebar","navigateToNextIssue",
"navigateToPreviousIssue"],[1,"keep-focus-ring",3,"list","columns","focusedRowIndex","scrollContainer","sort","rowLabelRenderer","columnsChange","focusedRowIndexChange","sortChange","rowClick"],["class","focus-indicator",4,"forHeaderCell"],["class","drag-handle",4,"forHeaderCell"],["class","selected-box",4,"forHeaderCell"],[4,"forHeaderCell"],[4,"forHeaderCellDefault"],["class","focus-indicator",4,"forViewCell"],["class","drag-handle","draggable","true",4,"forViewCell"],["class","selected-box",4,
"forViewCell"],["class","star-cell",4,"forViewCell"],[4,"forViewCell"],["data-template","issueId","class","clickable 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,"state","click","keydown.enter","keydown.space"],[3,"column"],[3,"column","availableColumns","selectedColumns","selectedColumnsChange",4,
"ngIf"],[3,"column",4,"ngIf"],[3,"column","availableColumns","selectedColumns","selectedColumnsChange"],["draggable","true",1,"drag-handle"],["tabindex","-1","role","checkbox",3,"state","click"],[1,"star-cell"],["tabindex","-1",3,"starred","disabled","starMessage","unStarMessage","starClicked"],["data-template","issueId",1,"clickable","issue-id-cell"],[3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],["tabindex","-1",1,"row-issue-id",3,"href"],[1,"row-issue-id",3,"issueId","showCopyOptions",
"click"],[1,"clickable","title-cell"],[1,"bv2-grid-cell-container"],[3,"issueId","compactMode"],[3,"trackerId","compactMode"],[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href"],["svgIcon","input_24px","class","navigate-to-idp icon-s",4,"ngIf"],["class","bv2-hotlist-chips",4,"ngIf"],[3,"accessLevel","compactMode"],["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"],["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"onedevHovercardTrigger"],[3,"onedevIsHovercardReady","issueId"],["cardBody",""]],template:function(a,b){a&1&&(E(0,"div"),C(1,k5a,6,6,"mat-sidenav-container",0),G(),C(2,a8a,54,61,"ng-template",null,1,jg)(4,c8a,5,2,"ng-template",null,2,jg));if(a&2){var c=Q(3);y();D("ngIf",b.isIssueSidebarEnabled)("ngIfElse",c)}},dependencies:[ltc,
gw,hw,dw,lw,iw,jw,kw,hB,Ty,e_,d_,c_,gY,lY,hY,iY,jY,dY,fY,AS,nY,rM,ZX,YZ,DR,zR,yQ,LF,MF,QF,NF,eW,UZ,AU,YV,LV,mY,MK,LK,RK,OK],styles:["mat-sidenav-container.sidebar-enabled[_ngcontent-%COMP%]{height:calc(100vh - 100px)}/*# sourceMappingURL=issues_grid.css.map */"],changeDetection:0});
var i_=new $p({name:"focused",sortable:!1,draggable:!1,isMetadata:!0}),Xxc=new $p({name:"draghandle",sortable:!1,draggable:!1,isMetadata:!0}),j_=new $p({name:"selected",sortable:!1,draggable:!1,isMetadata:!0}),k_=new $p({name:"starred",sortable:!1,draggable:!1,isMetadata:!0}),Yxc=new $p({name:"position",sortable:!0,draggable:!1,fullLabel:"Position",label:"POS",isMetadata:!0});var l_=function(a,b,c){Y.call(this);var d=this;this.snackBar=a;this.issuePicker=b;this.issueApi=c;this.issueAddedToHotlist=new zv;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,k,q,t=null!=(q=null!=(k=null==e?void 0:null==(f=e.error)?void 0:f.message)?k: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"})}};X(l_,Y);l_.\u0275dir=Y.\u0275dir;l_.\u0275fac=function(a){return new (a||l_)(A(SE),A(zX),A(PH))};
l_.\u0275cmp=Lc({type:l_,selectors:[["hotlist-add-issue-btn"]],inputs:{id:[0,"hotlistId","id"]},outputs:{issueAddedToHotlist:"issueAddedToHotlist"},features:[nf],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&&(E(0,"button",0),M("click",function(){b.issuePicker.open({title:"Add Issues to this Hotlist",allowMultipleIds:!0},b.onCloseIssuePicker)}),R(1," Add Issue(s) "),G())},dependencies:[nA,PC],encapsulation:2});var m_=function(a,b,c,d){Y.call(this);var e=this;this.fridge=a;this.snackBar=b;this.dialog=c;this.events=d;this.id$=new W.ReplaySubject(1);this.hotlist$=this.id$.pipe(df(function(f){return e.fridge.watchOne(f)}),af({refCount:!0,bufferSize:1}));this.archived$=this.hotlist$.pipe(B(function(f){return!(null==f||!f.archived)}),Te());this.archiveActionLabel$=this.archived$.pipe(B(function(f){return f?"Unarchive":"Archive"}));this.archiveActionTooltip$=this.archived$.pipe(B(function(f){return f?"Unarchive this hotlist":
"Archive this hotlist, hiding it from most searches"}));this.didSave=function(f){return function(){e.snackBar.open(f?"Hotlist was archived":"Hotlist was unarchived",void 0,{duration:2500});e.events.hotlistChanged.next()}};this.gotErr=function(f){return function(h){var k=f?"archiving":"unarchiving";e.snackBar.open(tn(h)||"Error "+k+" the hotlist","close",{panelClass:"error"})}};this.hotlist$.pipe(ef(this.destroyed$)).subscribe(function(f){e.latestHotlist=f})};X(m_,Y);m_.\u0275dir=Y.\u0275dir;
m_.prototype.isThinking=function(a){return this.fridge.isThinking(a)};m_.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};var $xc=function(a){if(null!=a.latestHotlist){var b=!a.latestHotlist.archived;b?a.dialog.open({title:"Archive Hotlist",content:gh("Do you want to archive this hotlist?"),isDestructive:!0,onConfirm:function(){Zxc(a,b)}}):Zxc(a,b)}},Zxc=function(a,b){a.fridge.save(Object.assign({},a.latestHotlist,{archived:b})).subscribe({next:a.didSave(b),error:a.gotErr(b)})};
m_.\u0275fac=function(a){return new (a||m_)(A(CI),A(SE),A(lG),A(RH))};
m_.\u0275cmp=Lc({type:m_,selectors:[["hotlist-archive-btn"]],inputs:{id:[0,"hotlistId","id"]},features:[nf,ed],decls:4,vars:7,consts:[["mat-button","",1,"gmat-button","medium",3,"disabled","matTooltip","click"]],template:function(a,b){a&1&&(E(0,"button",0),M("click",function(){return $xc(b)}),T(1,"async"),R(2),T(3,"async"),G());if(a&2){var c;D("disabled",b.isThinking(b.id))("matTooltip",null!==(c=V(1,3,b.archiveActionTooltip$))&&void 0!==c?c:"");y(2);S(" ",V(3,5,b.archiveActionLabel$)," ")}},dependencies:[nA,
PC,mw],encapsulation:2});var n_=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H){CX.call(this,a,b,c,d,e,f,h,k,q,t,F,J,H);this.estadoService=w;this.refreshMonitor=z;this.init=new zv;this.onRefresh=new zv;this.isHotlistAdmin=!1;this.onExportCsv=new zv;this.showHotlistButtons=!1;this.isNonPublicSession=this.activeSession.isNonPublicSession();a=this.estadoService;this.enableEstadoInAppBar=a.enableEstado&&!a.currentTracker.inTracker;this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha();this.controllerName="gridControls"};
X(n_,CX);n_.\u0275dir=CX.\u0275dir;g=n_.prototype;g.ngOnInit=function(){this.init.emit(this)};g.ngOnChanges=function(a){var b=this;a.grid&&this.grid&&Uxc(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 ayc=function(a){return a.hasSelectedIssues()&&a.isNonPublicSession};n_.\u0275fac=function(a){return new (a||n_)(A(oH),A(EF,2),A(nt),A(MI),A(VM),A(xR),A(mG),A(UT),A(EA),A(DF),A(cY),A(SI),A(zX),A(BE),A($P))};
n_.\u0275cmp=Lc({type:n_,selectors:[["b-grid-controls"]],inputs:{grid:"grid",isHotlistAdmin:"isHotlistAdmin",currentHotlistId:"currentHotlistId",showHotlistButtons:"showHotlistButtons"},outputs:{init:"init",onRefresh:"onRefresh",onExportCsv:"onExportCsv"},features:[bg([EF]),nf,ed],decls:11,vars:8,consts:[["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,"showExportCsv","showFlagIssuesAsSpam","exportCsvClicked","flagAsSpamClicked"],[3,"externalWarnings",
"save","close"],["addCommentDialog",""],[3,"enableBulkEstimatedEffortOption","readStatePrompt","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch"],[1,"bv2-grid-hotlist-picker"],[3,"selectedHotlistIds","choices","onApply","onCreate","onLoad"],[3,"hotlistId","issueAddedToHotlist",4,"ngIf"],[3,"hotlistId",4,"ngIf"],[3,"hotlistId","issueAddedToHotlist"],
[3,"hotlistId"],["tooltip","Reporting","aria-label","Reporting",1,"compact",3,"size","format","onAction"],["name","bar-chart","size","large"],["class","bv2-estado-text",4,"ngIf"],[1,"bv2-estado-text"],["mat-dialog-title",""],[3,"comment","showToolbar","commentChange","onSubmit",4,"ngIf"],[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,"comment","showToolbar","commentChange","onSubmit"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,b){a&1&&(E(0,"b-button",0),M("onAction",function(){return b.refresh()}),I(1,"b-icon",1),G(),C(2,d8a,2,4,"b-app-bar-bulk-edit-menus",2)(3,e8a,1,2,"b-copy-issue-id-button",3)(4,f8a,2,2,"div",4)(5,i8a,3,2,"ng-container",5)(6,k8a,3,3,"b-button",6),E(7,"b-app-bar-more-menu",7),M("exportCsvClicked",function(){return b.onExportCsv.emit()})("flagAsSpamClicked",
function(){return isc(b)}),G(),E(8,"b-state-modal",8),M("save",function(){return gsc(b)})("close",function(){return b.hotkeys.unpause()}),G(),C(9,n8a,11,6,"ng-template",null,9,jg));a&2&&(y(2),D("ngIf",b.hasSelectedIssues()),y(),D("ngIf",b.hasSelectedIssues()),y(),D("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),y(),D("ngIf",b.showHotlistButtons&&!b.hasSelectedIssues()),y(),D("ngIf",b.enableEstadoInAppBar),y(),D("showExportCsv",b.isNonPublicSession)("showFlagIssuesAsSpam",ayc(b)),y(),D("externalWarnings",
b.externalWarnings))},dependencies:[BP,AP,eQ,HV,dw,RT,m_,l_,ZU,yP,nA,FA,GA,HA,IA,UV,TV,RV,mw],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var byc=function(a){return{displayText:"Admins",values:a}},cyc=function(a){return[a]},dyc=function(a){return{displayText:"Appenders",values:a}},eyc=gh("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?"),o_=function(a,b,c,d,e,f,h,k,q){Y.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=k;this.activeSession=q;this.id$=new W.ReplaySubject(1);this.idSubject$=nm(this.id$.pipe(ef(this.destroyed$)));this.acl$=this.id$.pipe(df(function(w){return t.hotlistAccessPolicyFridge.watchOne(w)}));this.latestCompactPolicy={};this.admins=[];this.appenders=[];this.readers=[];this.accessControlLink=Q4b(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:eyc,isDestructive:!0,onConfirm:t.doSave}):t.doSave()};this.doSave=function(){var w=t.idSubject$.value;if(null!=w){var z=t.isRevokingAdmin();w={id:w,admins:iIa(t.admins),appenders:iIa(t.appenders),editors:null,readers:iIa(t.readers),implicitAccess:null,restrictedReaders:null,restrictedPlusReaders:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null};
t.hotlistAccessPolicyFridge.save(w).subscribe({next:t.didSave(z,w.id),error:t.gotErr})}};this.didSave=function(w,z){return function(){t.snackBar.open("Access control saved",void 0,{duration:2500});t.events.hotlistChanged.next();t.permissions.poke(z);w&&t.doStar()}};this.gotErr=function(w){t.snackBar.open(tn(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 z,F,J;t.latestCompactPolicy={admins:Co(null==(z=t.latestPolicy)?void 0:z.admins),appenders:Co(null==(F=t.latestPolicy)?void 0:F.appenders),readers:Co(null==(J=t.latestPolicy)?void 0:J.readers)};t.resetEdits()};this.isChanged=function(){var w=t.latestCompactPolicy,z;if(!Th(null!=(z=w.admins)?z:[],t.admins))return!0;var F;if(!Th(null!=(F=w.appenders)?F:[],t.appenders))return!0;var J;return Th(null!=(J=w.readers)?
J:[],t.readers)?!1:!0};this.hasNoChanges=function(){return!t.isChanged()};this.acl$.pipe(ef(this.destroyed$)).subscribe(this.gotAcl);this.subscriptions.add(wY(e,this.isChanged,!1))};X(o_,Y);o_.\u0275dir=Y.\u0275dir;var fyc=function(a){return[].concat(r(new Set([].concat(r(a.admins),r(a.appenders)))))};o_.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};
o_.prototype.resetEdits=function(){var a;this.admins=[].concat(r(null!=(a=this.latestCompactPolicy.admins)?a:[]));var b;this.appenders=[].concat(r(null!=(b=this.latestCompactPolicy.appenders)?b:[]));var c;this.readers=[].concat(r(null!=(c=this.latestCompactPolicy.readers)?c:[]));this.allAppenders=fyc(this)};o_.prototype.isRevokingAdmin=function(){var a=this.admins,b,c=null!=(b=this.latestCompactPolicy.admins)?b:[];return this.isRevokingDirectAdmin(a,c,this.activeSession.getUserEmail())};
o_.prototype.isRevokingDirectAdmin=function(a,b,c){c=void 0===c?"":c;if(DBa(a,b))return!1;c="USER:"+c;b=b.includes(c);a=!a.includes(c);return b&&a};o_.\u0275fac=function(a){return new (a||o_)(A(gI),A(jG),A(SE),A(RH),A(vY),A(lG),A(xJ),A(BI),A(nt))};
o_.\u0275cmp=Lc({type:o_,selectors:[["b-edit-hotlist-acl"]],inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[nf,ed],decls:22,vars:24,consts:[[1,"flex-kids-y"],[1,"muted","type-s","margin-s-bottom"],[3,"users","usersChange","isValid"],[3,"users","includeAliases","containerChips","usersChange","isValid"],[3,"users","includeAliases","includeViewAliases","containerChips","usersChange","isValid"],["target","_blank",3,"href"],["class","margin-top flex-kids-x gap-s",4,"ngIf"],[1,"margin-top",
"flex-kids-x","gap-s"],["mat-flat-button","","color","primary","type","submit",1,"gmat-button","medium",3,"disabled","matTooltip","click"],["mat-button","","type","button",1,"gmat-button","medium",3,"disabled","matTooltip","click"]],template:function(a,b){a&1&&(E(0,"form",0)(1,"label"),R(2,"Admins"),G(),E(3,"p",1),R(4,"Edit access controls, edit name and description, reorder hotlist, add/remove issues"),G(),E(5,"b-multi-user-input",2),M("usersChange",function(c){b.admins=c;b.allAppenders=fyc(b)})("isValid",
function(c){return b.validity.admins=c}),G(),E(6,"label"),R(7,"View and append"),G(),E(8,"p",1),R(9,"Reorder hotlist, add/remove issues"),G(),E(10,"b-multi-user-input",3),M("usersChange",function(c){b.appenders=c;b.allAppenders=fyc(b)})("isValid",function(c){return b.validity.appenders=c}),G(),E(11,"label"),R(12,"View only"),G(),E(13,"p",1),R(14,"View the hotlist"),G(),E(15,"b-multi-user-input",4),M("usersChange",function(c){b.readers=c})("isValid",function(c){return b.validity.readers=c}),G()(),
E(16,"p"),R(17," Users can see which issues are in a hotlist, even when they don't have view access to the hotlist. See "),E(18,"a",5),R(19,"access control documentation"),G(),R(20," for an explanation of the settings.\n"),G(),C(21,o8a,5,4,"div",6));a&2&&(y(5),yf("disabled",b.isReadOnly),D("users",b.admins),y(5),yf("disabled",b.isReadOnly),D("users",b.appenders)("includeAliases",!0)("containerChips",fg(18,cyc,fg(16,byc,b.admins))),y(5),yf("disabled",b.isReadOnly),D("users",b.readers)("includeAliases",
!0)("includeViewAliases",!0)("containerChips",fg(22,cyc,fg(20,dyc,b.allAppenders))),y(3),D("href",b.accessControlLink,Pd),y(3),D("ngIf",!b.isReadOnly))},dependencies:[dw,Pw,Iw,Mw,nA,PC,IV],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 gyc=["hotlistName"],p_=function(a,b,c,d){Y.call(this);var e=this;this.fridge=a;this.snackBar=b;this.events=c;this.isReadOnly=!1;this.id$=new W.ReplaySubject(1);this.hotlist$=this.id$.pipe(df(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(tn(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!Th(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(ef(this.destroyed$)).subscribe(function(f){e.gotHotlist(f)});this.subscriptions.add(wY(d,
this.isChanged,!1))};X(p_,Y);p_.\u0275dir=Y.\u0275dir;p_.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){var b;null==(b=a.hotlistName)||b.nativeElement.focus()})};p_.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};p_.prototype.resetEdits=function(a){var b;this.localEdits=null!=(b=Uh(a))?b:{}};p_.\u0275fac=function(a){return new (a||p_)(A(CI),A(SE),A(RH),A(vY))};
p_.\u0275cmp=Lc({type:p_,selectors:[["b-edit-hotlist-basic"]],viewQuery:function(a,b){a&1&&Uf(gyc,5);if(a&2){var c;Yf(c=Zf())&&(b.hotlistName=c.first)}},inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[nf,ed],decls:10,vars:5,consts:[["name","hotlist",1,"flex-kids-y"],["for","hotlist-name",1,"required"],["type","text","id","hotlist-name","name","name","required","","aria-required","true","autocomplete","off",3,"disabled","ngModel","ngModelChange"],["hotlistName",""],["for","hotlist-description",
1,"margin-top"],["id","hotlist-description","name","description",3,"disabled","ngModel","ngModelChange"],["class","margin-top flex-kids-x gap-s",4,"ngIf"],[1,"margin-top","flex-kids-x","gap-s"],["mat-flat-button","","color","primary","type","submit",1,"gmat-button","medium",3,"disabled","matTooltip","click"],["mat-button","","type","button",1,"gmat-button","medium",3,"disabled","matTooltip","click"],[3,"hotlistId"]],template:function(a,b){a&1&&(E(0,"form",0)(1,"label",1),R(2,"Name"),G(),E(3,"input",
2,3),M("ngModelChange",function(c){return b.localEdits.name=c}),G(),E(5,"label",4),R(6,"Description"),G(),E(7,"textarea",5),M("ngModelChange",function(c){return b.localEdits.description=c}),R(8,"  "),G(),C(9,p8a,7,7,"div",6),G());a&2&&(y(3),D("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.name),y(4),D("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.description),y(2),D("ngIf",!b.isReadOnly))},dependencies:[dw,Pw,Dg,Hw,Iw,$w,Ow,Mw,nA,PC,m_,mw],styles:["[_nghost-%COMP%]{display:block;max-width:600px;padding:16px}label[_ngcontent-%COMP%]{font-weight:bold;line-height:2em}textarea[_ngcontent-%COMP%]{min-height:150px;resize:vertical}input.ng-invalid[_ngcontent-%COMP%], input.ng-invalid.ng-touched[_ngcontent-%COMP%]:not(.mat-input-element){border:1px solid;border-color:#ea4335;border-color:var(--bad)}/*# sourceMappingURL=edit_hotlist_basic.css.map */"]});var q_=function(a,b){Y.call(this);var c=this;this.hotlists=a;this.acls=b;this.id$=new W.ReplaySubject(1);this.hotlist$=this.id$.pipe(df(function(d){return c.hotlists.watchOne(d)}))};X(q_,Y);q_.\u0275dir=Y.\u0275dir;q_.prototype.isThinking=function(a){var b=a?"hotlists/"+a:void 0;return this.hotlists.isThinking(a)||this.acls.isThinking(b)};q_.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};q_.\u0275fac=function(a){return new (a||q_)(A(CI),A(gI))};
q_.\u0275cmp=Lc({type:q_,selectors:[["b-edit-hotlist-header"]],inputs:{id:[0,"hotlistId","id"]},features:[nf,ed],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&&(E(0,"header",0)(1,"h2")(2,"span",1),R(3),G(),C(4,q8a,2,1,"ng-container",2),T(5,"async"),G(),C(6,r8a,2,0,"strong",3),T(7,"async"),C(8,s8a,1,0,"b-spinner",2),G());if(a&2){var c;y(3);S(" Hotlist ",b.id,
": ");y();D("ngIf",V(5,4,b.hotlist$));y(2);D("ngIf",null==(c=V(7,6,b.hotlist$))?null:c.archived);y(2);D("ngIf",b.isThinking(b.id))}},dependencies:[dw,HQ,mw],styles:["[_nghost-%COMP%] {\n      display: block;\n    }"]});var r_=function(a){Y.call(this);this.activeSession=a;this.URLS=Vs;this.id$=new W.ReplaySubject(1);this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha()};X(r_,Y);r_.\u0275dir=Y.\u0275dir;r_.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};r_.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};r_.\u0275fac=function(a){return new (a||r_)(A(nt))};
r_.\u0275cmp=Lc({type:r_,selectors:[["b-edit-hotlist-toolbar"]],inputs:{id:[0,"hotlistId","id"]},features:[nf,ed],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&&(E(0,"section",0)(1,"b-button",1),M("onAction",function(){return b.onPressBack()}),I(2,"b-icon",2),G(),E(3,"a",3),R(4," View Issues "),G(),C(5,t8a,2,3,"hotlist-add-issue-btn",4),G());a&2&&(y(3),D("href",b.URLS.HOTLIST_VIEW(b.id),Pd),y(2),D("ngIf",b.enableBulkEditUi))},dependencies:[dw,oA,PC,eQ,yP,l_,mw],styles:[".button-bar[_ngcontent-%COMP%] {\n      display: flex;\n      align-items: center;\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var hyc=new Map([[403,"You do not have permission to view this Hotlist."],[404,"This Hotlist does not exist."]]),s_=function(a,b,c,d){this.routeParams=a;this.pageTitle=b;this.permissions=c;this.hotlists=d;this.id=this.routeParams.hotlistId;this.resourceId="hotlists/"+this.id;this.isAdmin$=this.permissions.watchOne(this.resourceId).pipe(B(function(e){return null==e?void 0:e.admin}));this.hotlistErrorMsg$=this.hotlists.error$.pipe(B(function(e){var f;return null!=(f=e.status)?f:-1}),B(function(e){var f;
return null!=(f=hyc.get(e))?f:"unknown error"}),cf(void 0));this.tabIndex=0};s_.prototype.ngOnInit=function(){this.pageTitle.setTitle("Edit Hotlist "+this.id);window.location.hash.includes("access")&&(this.tabIndex=1)};s_.\u0275fac=function(a){return new (a||s_)(A(xK),A(YP),A(xJ),A(CI))};
s_.\u0275cmp=Lc({type:s_,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&&(C(0,v8a,13,14,"ng-container",0),T(1,"async"),C(2,w8a,7,1,"ng-container",0),T(3,"async"));a&2&&(D("ngIf",void 0===V(1,2,b.hotlistErrorMsg$)),y(2),D("ngIf",V(3,
4,b.hotlistErrorMsg$)))},dependencies:[dw,KN,JN,oX,fN,o_,p_,q_,r_,mw],encapsulation:2});var t_=function(){};t_.\u0275fac=function(a){return new (a||t_)};t_.\u0275cmp=Lc({type:t_,selectors:[["b-error-banner"]],inputs:{error:"error"},decls:1,vars:1,consts:[["messageType","error",4,"ngIf"],["messageType","error"]],template:function(a,b){a&1&&C(0,x8a,3,1,"b-callout",0);a&2&&D("ngIf",b.error)},dependencies:[dw,JP,KP],encapsulation:2});var u_=function(){};u_.\u0275fac=function(a){return new (a||u_)};u_.\u0275mod=Nc({type:u_});u_.\u0275inj=wc({imports:[SH,gQ]});var v_=function(){};v_.\u0275fac=function(a){return new (a||v_)};v_.\u0275mod=Nc({type:v_});v_.\u0275inj=wc({providers:[{provide:nX,useValue:{enabled:!0}}],imports:[SH,dx,$C,JD,ON,fQ,RE,pX,DP,kR,u_,PV,jN]});var w_=function(){};w_.\u0275fac=function(a){return new (a||w_)};w_.\u0275mod=Nc({type:w_});w_.\u0275inj=wc({imports:[FP,fQ,KX,SH,WR,TT,v_,LX,DP,$C,JA,JD,NX,MX,SV]});var x_=function(a,b,c,d,e){Y.call(this);this.element=a;this.bLocation=b;this.paths=c;this.hotkeys=d;this.cdr=e;this.focusedIndex=0;this.convertUserToString=Ki;this.hotlists=[];this.registerKeys()};X(x_,Y);x_.\u0275dir=Y.\u0275dir;g=x_.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=WM(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))};
x_.\u0275fac=function(a){return new (a||x_)(A(Ad),A(hI),A(iI),A(VM),A(EF,2))};
x_.\u0275cmp=Lc({type:x_,selectors:[["b-hotlist-grid"]],inputs:{hotlists:"hotlists"},features:[bg([EF]),nf],decls:26,vars:1,consts:[[1,"pop-grid","bv2-resource-list"],[1,"header-row"],[1,"focus-indicator"],[1,"bv2-columnheader-content"],[1,"pop-grid-default-th"],[1,"pop-grid-non-sort-header"],["class","bv2-resource-list-row","tabindex","0",3,"grid-focus","click","focus",4,"ngFor","ngForOf"],["tabindex","0",1,"bv2-resource-list-row",3,"click","focus"],[1,"bv2-resource-list-cell","hotlist-name","clickable"],
["tabindex","-1",1,"grid-link",3,"href","click"],[1,"bv2-resource-list-cell","hotlist-description","clickable"],[1,"bv2-resource-list-cell","resource-admins","clickable"],[4,"ngFor","ngForOf"],[1,"bv2-resource-list-cell","hotlist-id","clickable"],[4,"ngIf"]],template:function(a,b){a&1&&(E(0,"table",0)(1,"thead")(2,"tr",1),I(3,"th",2),E(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),R(8," Hotlist name "),G()()()(),E(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),R(13," Description "),G()()()(),E(14,"th")(15,
"div",3)(16,"div",4)(17,"div",5),R(18," Admins "),G()()()(),E(19,"th")(20,"div",3)(21,"div",4)(22,"div",5),R(23," ID "),G()()()()()(),E(24,"tbody"),C(25,A8a,11,9,"tr",6),G()());a&2&&(y(25),D("ngForOf",b.hotlists))},dependencies:[hw,dw],encapsulation:2});var y_=function(){};y_.\u0275fac=function(a){return new (a||y_)};y_.\u0275mod=Nc({type:y_});y_.\u0275inj=wc({imports:[SH]});var z_=function(a,b){this.bLocation=a;this.butterBar=b},iyc=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};z_.prototype.getCount=function(){var a=iyc(this,"c");return a?Zh(a):null};var jyc=function(a){return(a=iyc(a,"p"))?Zh(a):null};z_.prototype.getQuery=function(){return iyc(this,"q")};
z_.prototype.getDisplayColumns=function(){var a=this.bLocation.search().d;return a?(Array.isArray(a)?a:[a]).map(Si).filter(Bi):null};z_.prototype.getSortColumns=function(){var a=this.bLocation.search().s;return a?(Array.isArray(a)?a:[a]).map(Vsa).filter(Bi):null};
var A_=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 kyc(e)}));void 0!==b.sortColumns&&d("s",null==b.sortColumns?null:(b.sortColumns||[]).map(function(e){var f="ASCENDING"==e.direction?"asc":"desc";return kyc(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)},kyc=function(a){return a.isCustomField()?String(a.customFieldId):a.type.toLowerCase()};z_.\u0275fac=function(a){return new (a||z_)(p(hI),p(hG))};z_.\u0275prov=vc({token:z_,factory:z_.\u0275fac,providedIn:"root"});var B_=function(a,b,c){this.urlPreferences=a;this.userPreferencesManager=b;this.customFieldApi=c};B_.prototype.fetch=function(a,b){a=this.getParameters(a,void 0===b?null:b);return{searchPreferences:lp({page:a.page,query:a.query,resultsPerPage:a.resultsPerPage,sortColumns:a.sortColumns}),displayColumns:a.displayColumns}};
B_.prototype.getParameters=function(a,b){var c=this,d=b?function(){return lyc(b)}:function(){return myc(c)},e=b?function(){return nyc(b)}:function(){return oyc(c)};d=Promise.resolve(this.urlPreferences.getDisplayColumns()).then(function(k){return C_(k)}).then(null,d).then(function(k){return C_(k)}).then(null,Du(a.displayColumns)).then(function(k){return pyc(c,k)});e=Promise.resolve(this.urlPreferences.getSortColumns()).then(function(k){return C_(k)}).then(null,e).then(function(k){return C_(k)}).then(null,
Du(a.sortColumns));var f=Promise.resolve(this.urlPreferences.getCount()).then(function(k){return C_(k)}).then(null,function(){return qyc(c)}).then(function(k){return C_(k)}).then(null,Du(a.resultsPerPage)),h=Promise.resolve(this.urlPreferences.getQuery()).then(function(k){return C_(k)}).then(null,function(){return ryc(b,function(k){return k.query})}).then(null,Du(a.query));a=jyc(this.urlPreferences)||a.page;return{displayColumns:d,sortColumns:e,resultsPerPage:f,query:h,page:a}};
var C_=function(a){return null==a?Promise.reject(null):a},lyc=function(a){return ryc(a,function(b){return b.displayColumn}).then(function(b){return syc(b)})},nyc=function(a){return ryc(a,function(b){return b.sortOrder}).then(function(b){return tyc(b)})},oyc=function(a){return(0,W.firstValueFrom)(a.userPreferencesManager.sortColumnsPreferences$).then(function(b){return C_(b)}).then(function(b){return tyc(b)})},myc=function(a){return(0,W.firstValueFrom)(a.userPreferencesManager.displayColumnsPreferences$).then(function(b){return C_(b)}).then(function(b){return syc(b)})},
qyc=function(a){return(0,W.firstValueFrom)(a.userPreferencesManager.preferences$.pipe(B(function(b){var c;return null!=(c=b.resultsPerPage)?c:null}))).then(function(b){return C_(b)})},ryc=function(a,b){return a?a.then(function(c){c=b(c);return null==c?Promise.reject(null):c}):Promise.reject(null)},syc=function(a){if(!a||!a.length)return null;a=zn(a,function(b){return b.customFieldId||b.customFieldName||b.type});return a.map(function(b){return new Ri({customFieldId:b.customFieldId||void 0,customFieldName:b.customFieldName||
void 0,type:b.type})})},tyc=function(a){return a&&a.length?a.map(function(b){return void 0!==b.column?new Vi(new Ri(b.column),b.order):new Vi(new Ri(b.field),b.direction)}).filter(function(b){return"CUSTOM_FIELD"!=b.fieldId.type||null!=b.fieldId.customFieldId}):null},pyc=function(a,b){function c(){for(var k=l(b),q=k.next();!q.done;q=k.next())if(q=q.value,q.isCustomField()&&!q.customFieldName){var t=d[q.customFieldId];q.customFieldName=t?t:"Custom field "+q.customFieldId}return b}if(!b)return Promise.resolve([]);
for(var d={},e=[],f=l(b),h=f.next();!h.done;h=f.next())h=h.value,h.customFieldId&&h.isCustomField()&&(h.customFieldName?d[h.customFieldId]=h.customFieldName:e.push(a.customFieldApi.get(h.customFieldId).then(function(k){d[k.customFieldId]=k.name})));return Promise.all(e).then(c,c)};B_.\u0275fac=function(a){return new (a||B_)(p(z_),p(BE),p(YH))};B_.\u0275prov=vc({token:B_,factory:B_.\u0275fac,providedIn:"root"});var D_=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P){Y.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=k;this.paths=q;this.errorHandler=t;this.domSafe=w;this.timeout=z;this.hotkeys=F;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 zv;this.resultsLoaded=new zv;this.selectionChange=new zv;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 Z;null==(Z=U.issuesGrid)||g5a(Z)}},{keys:["k"],displayAs:"k",
description:"Move to the previous issue in the current panel",onPress:function(){var Z;null==(Z=U.issuesGrid)||h5a(Z)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var Z;null==(Z=U.issuesGrid)||Txc(Z)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var Z;null==(Z=U.issuesGrid)||Vxc(Z)}},{keys:[wo("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var Z;null==(Z=U.issuesGrid)||Wxc(Z,!0)}},
{keys:[wo("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var Z;null==(Z=U.issuesGrid)||Wxc(Z,!1)}},{keys:[xo("*","a")],displayAs:"* then a",description:"Select all issues in the current panel",onPress:function(){var Z;null==(Z=U.issuesGrid)||Z.selectAll()}},{keys:[xo("*","n")],displayAs:"* then n",description:"Deselect all issues in the current panel",onPress:function(){var Z;null==(Z=U.issuesGrid)||Qxc(Z)}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",
onPress:function(Z){var la=J.document.activeElement;if(1===Z&&"A"===(null==la?void 0:la.tagName))if(la.href)Z=U.paths.getBaseUrl(),la.href.startsWith(Z)?b.setUrl(la.href.slice(Z.length)):U.domSafe.openInNewTab(la.href);else{var oa;null==(oa=U.issuesGrid)||h_(oa)}else{var Fa;null==(Fa=U.issuesGrid)||h_(Fa)}}}];this.destroyed$.subscribe(function(){var Z;null==(Z=U.unregisterHotkeys)||Z.call(U)})};X(D_,Y);D_.prototype.columnsChange=function(a){this.issueColumns=a};
D_.prototype.ngOnInit=function(){this.getIssues();uyc(this)};var uyc=function(a){var b;null==(b=a.unregisterHotkeys)||b.call(a);a.isFocused?a.unregisterHotkeys=WM(a.hotkeys,{title:"Bookmark Group Dashboard",hotkeys:a.BASE_HOTKEYS}):a.unregisterHotkeys=void 0},m9a=function(a,b){a.issuesGrid=b;Uxc(a.issuesGrid,function(){var c,d={panelId:a.panel.panelId,selectedIssues:null==(c=a.issuesGrid)?void 0:c.getSelectedIssues()};a.selectionChange.emit(d)})};g=D_.prototype;
g.setSort=function(a,b,c){c=void 0===c?!0:c;var d=Si(a);if(null==d)this.$log.warn("WARNING: Invalid column name: "+a);else{var e=new Vi(d,"ASC"==b?"ASCENDING":"DESCENDING");va(this.sortPreferences,function(f){return Th(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):Xh(a.fieldId.type),direction:"ASCENDING"==a.direction?"ASC":"DESC"};Th(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.initColumns=function(a,b){this.displayColumns=a;this.issueColumnsInternal=[].concat(r(b),r(k_a(a)));this.initialIssueColumns=Uh(this.issueColumns);this.isColumnSaveEnabled=!0};
g.goToIssue=function(a,b,c){c&&"A"===c.target.tagName||(kp(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(){XP(this.issuePagination);this.getIssues()};g.exportCsv=function(){JE(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 Lgc(b.issuePagination,e)});a.catch(function(e){"number"===typeof e?
b.goToPage(e):e&&b.errorHandler.errorHandler(null,e)});return lp({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=Uh(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 W.Subscription;a=l(a);for(c=a.next();!c.done;c=a.next())this.issueSubscriptions.add(this.issueFridge.watch(c.value.id).pipe(Ce(Bi),ef(this.destroyed$)).subscribe(function(d){var e;return ke(function(f){if(1==f.nextAddress)return b.searchResults?me(f,(0,W.firstValueFrom)(b.componentFridge.watch(d.snapshot[0].componentId,{trustUncertainMemory:!0})),3):f.jumpTo(2);if(2!=f.nextAddress){e=
f.yieldResult;if(!e)return f.return();Bgc(b.searchResults,[{issue:d,component:e}]);b.searchResults=b.searchResults.clone()}b.cdr.detectChanges();qe(f)})}))};g.getGridPreferencesDefaults=function(){return{page:this.page,displayColumns:vyc,sortColumns:[],query:"",resultsPerPage:25}};
g.save=function(){var a=this,b=l_a(this.issueColumns.slice((this.searchResults?this.getMetaColumns(this.searchResults):wyc).length)).map(function(c){return new Ri(c)});this.resource.displayColumn=b;b=this.sortPreferences.map(function(c){return{direction:c.direction,field:c.fieldId}});this.resource.sortOrder=b;Ks(this.butterBar,"Saving changes to panel...");this.saveResource().then(function(){a.initialIssueColumns=Uh(a.issueColumns);a.initialSortPreferences=Uh(a.sortPreferences);a.cdr.detectChanges()})};
g.discardChanges=function(){kp(this.analytics,this.ANALYTICS_CATEGORY,"discardChanges");this.issueColumns=[].concat(r(this.initialIssueColumns||[]));this.initialSortPreferences&&!Th(this.initialSortPreferences,this.sortPreferences)&&(Aaa(this.sortPreferences),Dt(Daa,this.sortPreferences,void 0,0).apply(null,this.initialSortPreferences),this.refreshResults())};
g.hasParamChanges=function(){return this.resource&&this.isEditable()?this.initialIssueColumns&&!Th(this.initialIssueColumns,this.issueColumns)?!0:!!this.initialSortPreferences&&!Th(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 wyc};
g.getSearchParams=function(a){a=Uh(a);a.resultsPerPage=10;a.page=this.page;this.sortPreferences.length&&(a.sortColumns=this.sortPreferences);a.returnUrl=this.bLocation.getUrl();return a};
Vg.Object.defineProperties(D_.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){Th(a,this.issueColumnsInternal)||(this.issueColumnsInternal=a,kp(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&&uyc(this)},get:function(){return this.focusedRowIndexInternal}},
isFocused:{configurable:!0,enumerable:!0,get:function(){return null!==this.focusedRowIndex}}});var wyc=[i_,j_,k_],vyc=Ssc.map(Si).filter(Bi);D_.\u0275fac=function(a){return new (a||D_)(A(EF),A(hI),A(DF),A(nt),A(hG),A(MI),A(WP),A(B_),A(iI),A(AG),A(IE),A(zG),A(VM),A(Window),A(KM),A(oH),A(UI))};
D_.\u0275dir=Qc({type:D_,viewQuery:function(a,b){a&1&&Uf(g_,5);if(a&2){var c;Yf(c=Zf())&&(b.issuesGrid=c.first)}},inputs:{panel:"panel",isDashboardEditable:"isDashboardEditable",first:"first",last:"last",focusedRowIndex:"focusedRowIndex"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",resultsLoaded:"resultsLoaded",selectionChange:"selectionChange"},features:[nf]});var E_=function(a,b){this.dialog=a;this.appEvents=b;this.last=this.first=!1};E_.prototype.removePanel=function(){var a=this;this.dialog.open({title:"Remove Item?",content:gh("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)}})};E_.\u0275fac=function(a){return new (a||E_)(A(lG),A(RH))};
E_.\u0275cmp=Lc({type:E_,selectors:[["b-panel-controls"]],inputs:{panelId:"panelId",first:"first",last:"last"},decls:6,vars:1,consts:[["mat-icon-button","","aria-label","Customize list view",1,"gmat-button","small","bv2-grid-settings-button",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown",1,"icon-s"],["menu",""],["matMenuContent",""],["mat-menu-item","","class","bv2-panel-move-to-top-menuitem",3,"click",4,"ngIf"],["mat-menu-item","","class","bv2-panel-move-up-menuitem",3,"click",4,"ngIf"],["mat-menu-item",
"","class","bv2-panel-move-down-menuitem",3,"click",4,"ngIf"],["mat-menu-item","","class","bv2-panel-move-to-bottom-menuitem",3,"click",4,"ngIf"],["mat-menu-item","",1,"bv2-panel-remove-edit-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-to-top-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-up-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-down-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-to-bottom-menuitem",3,"click"]],template:function(a){a&1&&(E(0,
"div")(1,"button",0),I(2,"mat-icon",1),G(),E(3,"mat-menu",null,2),C(5,F8a,6,4,"ng-template",3),G()());if(a&2){var b=Q(4);y();D("matMenuTriggerFor",b)}},dependencies:[dw,hB,HC,FC,GC,EC,nA],encapsulation:2});var F_=function(){};F_.\u0275fac=function(a){return new (a||F_)};F_.\u0275mod=Nc({type:F_});F_.\u0275inj=wc({imports:[SH,IC,$C]});var G_=function(){};G_.\u0275fac=function(a){return new (a||G_)};G_.\u0275mod=Nc({type:G_});G_.\u0275inj=wc({imports:[SH,aN]});var H_=function(){};H_.\u0275fac=function(a){return new (a||H_)};H_.\u0275mod=Nc({type:H_});H_.\u0275inj=wc({imports:[SH,G_]});var I_=function(){};I_.\u0275fac=function(a){return new (a||I_)};I_.\u0275mod=Nc({type:I_});I_.\u0275inj=wc({imports:[SH,aN,H_]});var J_=function(){};J_.\u0275fac=function(a){return new (a||J_)};J_.\u0275mod=Nc({type:J_});J_.\u0275inj=wc({imports:[SH,G_]});var xyc=function(){this.availablePanels=new Set;this.iconOnly=!1;this.buttonClassname="";this.openSidebar=new zv};xyc.\u0275fac=function(a){return new (a||xyc)};
xyc.\u0275cmp=Lc({type:xyc,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,"ngClass","disabled","click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 18 22"],["fill","none","fill-rule","evenodd"],"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-opacity;.4;d;M17.5 5.41l-8-3.91m0 7.82l-8-3.91".split(";"),
"stroke;currentColor;stroke-opacity;.4;d;M9.5 9.32v10".split(";"),"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-width;1.5;d;M9.5 1.5l-8 3.91v10.01l8 3.91 8-3.91V5.41l-8 3.91".split(";"),"cx 1.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 9.32 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 1.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),
"cx 9.5 cy 19.33 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 1.5 r 1.5 fill currentColor fill-rule nonzero".split(" "),[4,"ngIf"]],template:function(a,b){a&1&&(E(0,"button",0),M("click",function(){b.openSidebar.emit({panel:void 0})}),qd(),E(1,"svg",1)(2,"g",2),I(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),G()(),C(13,G8a,2,0,"ng-container",13),G());a&2&&(yf("icon-only-mode",b.iconOnly),
D("ngClass",b.buttonClassname)("disabled",0===b.availablePanels.size),y(13),D("ngIf",!b.iconOnly))},dependencies:[gw,dw,nA,PC],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 K_=function(a){this.issueInsightsSidebarService=a;this.iconOnly=!1;this.buttonClassname="";this.availablePanels$=this.issueInsightsSidebarService.availablePanels$;this.shouldShowInsightsGraphMenu$=this.issueInsightsSidebarService.shouldShowInsightsGraphMenu$};K_.prototype.openSidebar=function(a){this.issueInsightsSidebarService.openSidebar(a)};K_.\u0275fac=function(a){return new (a||K_)(A(SZ))};
K_.\u0275cmp=Lc({type:K_,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,"availablePanels","iconOnly","buttonClassname","openSidebar"]],template:function(a,b){a&1&&(C(0,I8a,3,3,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.availablePanels$))},dependencies:[dw,xyc,mw],encapsulation:2,changeDetection:0});var L_=function(){};L_.\u0275fac=function(a){return new (a||L_)};L_.\u0275mod=Nc({type:L_});L_.\u0275inj=wc({imports:[SH,$C,IC,BF,JD]});var M_=function(){};M_.\u0275fac=function(a){return new (a||M_)};M_.\u0275mod=Nc({type:M_});M_.\u0275inj=wc({imports:[uw]});var N_=function(){};N_.\u0275fac=function(a){return new (a||N_)};N_.\u0275mod=Nc({type:N_});N_.\u0275inj=wc({imports:[uw,JD]});var O_=function(){};O_.\u0275fac=function(a){return new (a||O_)};O_.\u0275mod=Nc({type:O_});O_.\u0275inj=wc({imports:[M_,uw,JD,N_]});var P_=function(){};P_.\u0275fac=function(a){return new (a||P_)};P_.\u0275mod=Nc({type:P_});P_.\u0275inj=wc({imports:[uw,Bx,Fy,Zx,$C]});var Q_=function(){};Q_.\u0275fac=function(a){return new (a||Q_)};Q_.\u0275mod=Nc({type:Q_});Q_.\u0275inj=wc({imports:[uw,dx,P_]});var R_=function(){};R_.\u0275fac=function(a){return new (a||R_)};R_.\u0275mod=Nc({type:R_});R_.\u0275inj=wc({imports:[SH,JD,O_,oT,Q_,aN]});var S_=function(){};S_.\u0275fac=function(a){return new (a||S_)};S_.\u0275mod=Nc({type:S_});S_.\u0275inj=wc({imports:[uw]});var T_=function(){};T_.\u0275fac=function(a){return new (a||T_)};T_.\u0275mod=Nc({type:T_});T_.\u0275inj=wc({imports:[uw,dx,P_,S_]});var U_=function(){};U_.\u0275fac=function(a){return new (a||U_)};U_.\u0275mod=Nc({type:U_});U_.\u0275inj=wc({imports:[SH,DT,T_]});var V_=function(){};V_.\u0275fac=function(a){return new (a||V_)};V_.\u0275mod=Nc({type:V_});V_.\u0275inj=wc({imports:[SH,HE,XS,ex,qN]});var W_=function(){};W_.\u0275fac=function(a){return new (a||W_)};W_.\u0275mod=Nc({type:W_});W_.\u0275inj=wc({imports:[SH,JD,$C,J_,QS,H_,V_,Fy]});var X_=function(){};X_.\u0275fac=function(a){return new (a||X_)};X_.\u0275mod=Nc({type:X_});X_.\u0275inj=wc({imports:[fQ,gQ,SH,dx,$C,JA,sX,RE,JD,oT]});var llb=function(a){return!!a&&("object"===typeof a||"function"===typeof a)};var yyc={},zyc=(yyc.COMFORTABLE=330,yyc.COZY=300,yyc.COMPACT=270,yyc),Y_=function(a){Y.call(this);var b=this;this.userPreferencesManager=a;this.RIGHT_SIDEBAR_MIN_WIDTH=245;this.density$=this.userPreferencesManager.preferences$.pipe(B(function(c){var d;return null==(d=c.themePreferences)?void 0:d.density}));this.sidebarWidthPreference$=this.userPreferencesManager.preferences$.pipe(B(function(c){var d;return null==(d=c.layoutPreferences)?void 0:d.rightSidebarWidth}));this.rightSidebarWidthChanged$=
new W.Subject;this.currentSidebarWidth$=(0,W.combineLatest)([this.density$,this.sidebarWidthPreference$,this.rightSidebarWidthChanged$.pipe(cf(void 0))]).pipe(B(function(c){var d=l(c);c=d.next().value;var e=d.next().value;d=d.next().value;return null!=d?d:null!=e?e:zyc[null!=c?c:"COMFORTABLE"]}));(0,W.combineLatest)([this.rightSidebarWidthChanged$.pipe(Te()),this.sidebarWidthPreference$]).pipe(Ce(function(c){c=l(c);var d=c.next().value;return c.next().value!==d}),df(function(c){c=l(c);var d=c.next().value;
c.next();return Q1b(b.userPreferencesManager,{rightSidebarWidth:d})}),ef(this.destroyed$)).subscribe()};X(Y_,Y);Y_.\u0275dir=Y.\u0275dir;Y_.prototype.ngOnInit=function(){};Y_.\u0275fac=function(a){return new (a||Y_)(A(BE))};
Y_.\u0275cmp=Lc({type:Y_,selectors:[["issue-metadata-sidebar"]],inputs:{issueId:"issueId"},features:[nf],decls:7,vars:7,consts:[[1,"a11y-only"],["direction","rtl",3,"disableToggleBtn","hideToggleBtnOnOpen","minWidth","size","widthChanged"],[1,"bv2-issue-metadata"],[1,"flex-kids-y"],[3,"issueId",4,"ngIf"],[3,"issueId"]],template:function(a,b){a&1&&(E(0,"h3",0),R(1,"Issue metadata"),G(),E(2,"b-resizable-sidebar",1),M("widthChanged",function(d){return b.rightSidebarWidthChanged$.next(d)}),T(3,"async"),
E(4,"div",2)(5,"div",3),C(6,J8a,1,1,"edit-issue-metadata",4),G()()());if(a&2){var c;y(2);D("disableToggleBtn",!1)("hideToggleBtnOnOpen",!0)("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("size",null!==(c=V(3,5,b.currentSidebarWidth$))&&void 0!==c?c:0);y(4);D("ngIf",b.issueId)}},dependencies:[dw,hN,TZ,mw],styles:["[_nghost-%COMP%] {\n      display: inherit;\n    }"],changeDetection:0});var Z_=function(){};Z_.\u0275fac=function(a){return new (a||Z_)};Z_.\u0275mod=Nc({type:Z_});Z_.\u0275inj=wc({imports:[WK,DU,SH,OU,sU,R_,O_,YM,aN,L_,gX,W_,MU,EY,JD,jN,X_,U_,VR,nR,aD]});var a0=function(){};a0.\u0275fac=function(a){return new (a||a0)};a0.\u0275mod=Nc({type:a0});a0.\u0275inj=wc({imports:[$C,JD,dx,eB,ID,BF,YA,lR,nR,SH,hX,DT,WK,kR,Z_,PN,qY,fX]});var b0=function(){};b0.prototype.getValue=function(){return this.row[this.column.name]||""};b0.prototype.isCustomField=function(){return this.column.isCustomField};b0.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 Th(this.customFieldValue,a)||(this.customFieldValue=a),this.customFieldValue};
b0.\u0275fac=function(a){return new (a||b0)};b0.\u0275cmp=Lc({type:b0,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&&C(0,K8a,2,2,"span",0)(1,L8a,1,1,"b-custom-field-value-display",1);a&2&&(D("ngIf",!b.isCustomField()),y(),D("ngIf",b.isCustomField()))},dependencies:[dw,RU],encapsulation:2,changeDetection:0});var c0=function(){};c0.\u0275fac=function(a){return new (a||c0)};c0.\u0275mod=Nc({type:c0});c0.\u0275inj=wc({imports:[SH,JD,SU]});nma(gY,[hw,dw,lw,lY,b0]);var d0=function(){};d0.\u0275fac=function(a){return new (a||d0)};d0.\u0275mod=Nc({type:d0});d0.\u0275inj=wc({imports:[SH,aN]});var e0=function(){};e0.\u0275fac=function(a){return new (a||e0)};e0.\u0275mod=Nc({type:e0});e0.\u0275inj=wc({imports:[SH,d0,QS]});var f0=function(){};f0.\u0275fac=function(a){return new (a||f0)};f0.\u0275mod=Nc({type:f0});f0.\u0275inj=wc({imports:[oY,SH,IC,EP,JD,$C,JA,Wy,f_,DP,c0,G_,I_,QS,J_,WK,bN,$X,e0,YR,WR,iR,QU,aN,gX,a0,BU,iX,QV]});var g0=function(a,b,c){this.hotlistsApi=a;this.butterBar=b;this.appEvents=c};
g0.prototype.repositionIssue=function(a,b,c,d,e,f){var h=this,k=b[0].position,q=k>b[1].position,t=b[c],w=b[d].position;Jaa(b,c,d);null==f||f();Ks(this.butterBar,"Saving...",0);return this.hotlistsApi.repositionHotlistIssue(a,t.issueId,w).then(function(){for(var z=k,F=l(b),J=F.next();!J.done;J=F.next())J.value.position=z,z+=q?-1:1;null==f||f();Ks(h.butterBar,"Saved issue position.",4E3);h.appEvents.hotlistChanged.next({hotlistId:a,origin:e});return h.hotlistsApi.get(a)})};
g0.\u0275fac=function(a){return new (a||g0)(p(qI),p(hG),p(RH))};g0.\u0275prov=vc({token:g0,factory:g0.\u0275fac,providedIn:"root"});var Ayc=["actionsMenuIconButton"],h0=function(){this.buttonLabel="";this.buttonIcon="more-settings-vertical"};h0.prototype.trackByIndex=function(a){return a};h0.prototype.onAction=function(a,b){return ke(function(c){if("mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button)return c.return();"action"!==b.type&&"select"!==b.type||b.action(a);qe(c)})};h0.prototype.ngOnInit=function(){};h0.\u0275fac=function(a){return new (a||h0)};
h0.\u0275cmp=Lc({type:h0,selectors:[["b-actions-menu"]],viewQuery:function(a,b){a&1&&Uf(Ayc,5);if(a&2){var c;Yf(c=Zf())&&(b.actionsMenuIconButton=c.first)}},inputs:{menuItems:"menuItems",buttonLabel:"buttonLabel",buttonIcon:"buttonIcon",header:"header"},decls:6,vars:4,consts:[["mat-icon-button","","class","gmat-button medium","aria-haspopup","true",3,"matTooltip","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],[1,"b-actions-menu-panel"],["class","bv2-menu-header",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],
["mat-icon-button","","aria-haspopup","true",1,"gmat-button","medium",3,"matTooltip","matMenuTriggerFor"],["actionsMenuIconButton",""],[1,"icon-s",3,"svgIcon"],[1,"bv2-menu-header"],[4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["class","icon-s",3,"svgIcon",4,"ngIf"],["class","hint",4,"ngIf"],["submenu","matMenu"],[1,"hint"],["mat-menu-item","",3,"disabled","ngClass","click","mouseup",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled","ngClass","click",
"mouseup",4,"ngIf"],["mat-menu-item","",3,"disabled","ngClass","click","mouseup"],["mat-menu-item","","role","menuitemcheckbox",3,"disabled","ngClass","click","mouseup"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"]],template:function(a,b){a&1&&(C(0,M8a,3,4,"button",0),E(1,"mat-menu",null,1)(3,"div",2),C(4,N8a,2,1,"div",3)(5,a9a,3,2,"ng-container",4),G()());a&2&&(D("ngIf",0<b.menuItems.length),y(4),D("ngIf",b.header),y(),D("ngForOf",b.menuItems)("ngForTrackBy",b.trackByIndex))},dependencies:[HC,
FC,GC,gw,hw,dw,hB,nA,PC],styles:["[_nghost-%COMP%]{display:inline-block}.mat-menu-item[_ngcontent-%COMP%]{align-items:center;display:flex}.mat-menu-item[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-right:8px}.mat-menu-item[_ngcontent-%COMP%]   .hint[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin-left:auto;padding-left:16px}  .b-actions-menu-panel .mat-menu-item[disabled]{pointer-events:auto}/*# sourceMappingURL=actions_menu.css.map */"],changeDetection:0});var i0=function(){this.pageChange=new zv;this.resultsPerPageChange=new zv;this.resultsPerPageFixed=!1;this.resultsPerPageOptions=[10,25,50,100,250]};i0.prototype.nextPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page+1})};var Byc=function(a){a.searchResults&&a.pageChange.emit({page:a.searchResults.params.page-1})};
Vg.Object.defineProperties(i0.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}})}}});i0.\u0275fac=function(a){return new (a||i0)};
i0.\u0275cmp=Lc({type:i0,selectors:[["b-pagination"]],inputs:{searchResults:"searchResults",resultsPerPageFixed:"resultsPerPageFixed"},outputs:{pageChange:"pageChange",resultsPerPageChange:"resultsPerPageChange"},decls:7,vars:4,consts:[[1,"bv2-appbar-page"],["header","Results per page:","buttonLabel","Results per page","buttonIcon","arrow-dropdown",3,"menuItems",4,"ngIf"],["aria-live","polite","role","alert","class","bv2-appbar-pagenums",4,"ngIf"],["mat-icon-button","","focusBack","","color","primary",
"mat-tooltip","Go to previous page","aria-label","Go to previous page",1,"large","left","compact",3,"disabled","click","keydown.enter"],["svgIcon","arrow-left",1,"large"],["mat-icon-button","","focusBack","","color","primary","mat-tooltip","Go to next page","aria-label","Go to next page",1,"large","right","compact",3,"disabled","click","keydown.enter"],["svgIcon","arrow-right",1,"large"],["header","Results per page:","buttonLabel","Results per page","buttonIcon","arrow-dropdown",3,"menuItems"],["aria-live",
"polite","role","alert",1,"bv2-appbar-pagenums"]],template:function(a,b){a&1&&(E(0,"div",0),C(1,b9a,1,1,"b-actions-menu",1)(2,c9a,6,3,"span",2),E(3,"button",3),M("click",function(){return Byc(b)})("keydown.enter",function(c){Byc(b);return c.stopPropagation()}),I(4,"mat-icon",4),G(),E(5,"button",5),M("click",function(){return b.nextPage()})("keydown.enter",function(c){b.nextPage();return c.stopPropagation()}),I(6,"mat-icon",6),G()());a&2&&(y(),D("ngIf",b.searchResults&&0<b.searchResults.issues.length&&
!b.resultsPerPageFixed),y(),D("ngIf",b.searchResults&&0<b.searchResults.issues.length),y(),D("disabled",!(null==b.searchResults?0:b.searchResults.hasPreviousPage())),y(2),D("disabled",!(null==b.searchResults?0:b.searchResults.hasNextPage())))},dependencies:[dw,hB,nA,h0,xQ],encapsulation:2});var j0=function(){};j0.\u0275fac=function(a){return new (a||j0)};j0.\u0275mod=Nc({type:j0});j0.\u0275inj=wc({imports:[IC,SH,$C,JD]});var k0=function(){};k0.\u0275fac=function(a){return new (a||k0)};k0.\u0275mod=Nc({type:k0});k0.\u0275inj=wc({imports:[SH,$C,j0,hR]});var l0=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la){D_.call(this,c,e,f,h,k,q,t,w,z,d,F,H,O,P,U,Z,la);this.hotlists=a;this.hotlistApi=b;this.appEvents=J;this.resource=null};X(l0,D_);l0.\u0275dir=D_.\u0275dir;g=l0.prototype;g.ngOnInit=function(){D_.prototype.ngOnInit.call(this)};g.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?D_.prototype.setSort.call(this,a,b,!1):D_.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"});Ks(a.butterBar,'Saved changes to hotlist "'+b.name+'".');kp(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({},D_.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?Cyc:Dyc};g.getSearchParams=function(a){a=D_.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;kp(c.analytics,c.ANALYTICS_CATEGORY,"issueDragDrop")})};l0.\u0275fac=function(a){return new (a||l0)(A(g0),A(qI),A(EF,2),A(AG),A(hI),A(DF),A(nt),A(hG),A(MI),A(WP),A(B_),A(iI),A(IE),A(RH),A(zG),A(VM),A(uE),A(KM),A(oH),A(UI))};
l0.\u0275cmp=Lc({type:l0,selectors:[["b-hotlist-panel"]],inputs:{hotlistId:"hotlistId"},features:[bg([EF]),nf],decls:9,vars:8,consts:[[1,"bv2-panel","bv2-view-hotlist-grid"],[1,"bv2-view-hotlist-title"],[1,"bv2-view-hotlist-title-text"],[4,"ngIf"],["class","bv2-view-hotlist-save-form",4,"ngIf"],[3,"searchResults","resultsPerPageFixed","pageChange"],["class","bv2-panel-controls",3,"panelId",4,"ngIf"],["tabindex","0"],[3,"href"],[3,"matTooltip"],["matTooltip","Display preferences have changed",4,"ngIf"],
[1,"bv2-panel-controls",3,"panelId"],["matTooltip","Display preferences have changed"],[1,"bv2-view-hotlist-save-form"],["mat-flat-button","","type","button","color","primary","matTooltip","Save changes to display preferences",1,"gmat-button","medium",3,"click"],["mat-stroked-button","","type","button","color","primary","matTooltip","Discard changes to display preferences",1,"gmat-button","medium",3,"click"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","0",4,"ngIf"],
["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],[3,"large"],["tabindex","0",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","init","focusedRowIndexChange","columnsChange","sortChange","onRowDragDrop","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1)(2,"div",2),C(3,d9a,2,0,"div",3)(4,e9a,2,0,"div",3)(5,h9a,8,5,"div",3),G(),C(6,i9a,5,0,"div",4),E(7,"b-pagination",5),M("pageChange",
function(c){return b.goToPage(c.page)}),G()(),C(8,o9a,4,3,"div",3),G());a&2&&(pf("aria-busy",b.isLoading),y(3),D("ngIf",!b.resource&&!b.isLoading),y(),D("ngIf",!b.resource&&b.isLoading),y(),D("ngIf",b.resource),y(),D("ngIf",b.hasParamChanges()),y(),D("searchResults",b.searchResults)("resultsPerPageFixed",!0),y(),D("ngIf",b.resource))},dependencies:[dw,g_,nA,PC,i0,E_,HQ],encapsulation:2});var Dyc=[i_,j_,k_,Yxc],Cyc=[i_,Xxc,j_,k_,Yxc],m0=function(){};m0.\u0275fac=function(a){return new (a||m0)};
m0.\u0275mod=Nc({type:m0});m0.\u0275inj=wc({imports:[SH,f0,$C,JD,k0,F_,kR]});var n0=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U){D_.call(this,b,d,e,f,h,k,q,t,w,c,z,F,J,H,O,P,U);this.savedSearchApi=a;this.resource=null};X(n0,D_);n0.\u0275dir=D_.\u0275dir;n0.prototype.ngOnInit=function(){D_.prototype.ngOnInit.call(this)};n0.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};
n0.prototype.saveResource=function(){return Promise.resolve()};n0.\u0275fac=function(a){return new (a||n0)(A(CJ),A(EF,2),A(AG),A(hI),A(DF),A(nt),A(hG),A(MI),A(WP),A(B_),A(iI),A(IE),A(zG),A(VM),A(uE),A(KM),A(oH),A(UI))};
n0.\u0275cmp=Lc({type:n0,selectors:[["b-saved-search-panel"]],inputs:{savedSearchId:"savedSearchId"},features:[bg([EF]),nf],decls:8,vars:7,consts:[[1,"bv2-panel","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],[1,"bv2-view-savedsearch-title-text"],[4,"ngIf"],["tabindex","0",4,"ngIf"],[3,"searchResults","resultsPerPageFixed","pageChange"],["tabindex","0"],["class","bv2-panel-controls",3,"panelId",4,"ngIf"],[3,"href"],[3,"matTooltip"],["matTooltip","Display preferences or search query have changed",
4,"ngIf"],[1,"bv2-panel-controls",3,"panelId"],["matTooltip","Display preferences or search query have changed"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","0","role","region",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],[3,"large"],["tabindex","0","role","region",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","init","focusedRowIndexChange","columnsChange","sortChange",
"rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1)(2,"div",2),C(3,p9a,2,0,"div",3)(4,q9a,2,0,"div",3)(5,t9a,8,5,"div",4),G(),E(6,"b-pagination",5),M("pageChange",function(c){return b.goToPage(c.page)}),G()(),C(7,y9a,4,3,"div",3),G());a&2&&(pf("aria-busy",b.isLoading),y(3),D("ngIf",!b.resource&&!b.isLoading),y(),D("ngIf",!b.resource&&b.isLoading),y(),D("ngIf",b.resource),y(),D("searchResults",b.searchResults)("resultsPerPageFixed",!0),y(),D("ngIf",b.resource))},
dependencies:[dw,g_,PC,i0,E_,HQ],encapsulation:2});var o0=function(){};o0.\u0275fac=function(a){return new (a||o0)};o0.\u0275mod=Nc({type:o0});o0.\u0275inj=wc({imports:[SH,f0,JD,k0,F_,kR]});var p0=function(){this.label="Team"};p0.prototype.ngOnInit=function(){};p0.\u0275fac=function(a){return new (a||p0)};
p0.\u0275cmp=Lc({type:p0,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&&(E(0,"div",0)(1,"span",1),C(2,z9a,3,3,"span",2),G()());a&2&&(pf("aria-label",b.label),y(2),D("ngForOf",b.teamPath))},dependencies:[hw,xF],encapsulation:2});var q0=function(){};q0.\u0275fac=function(a){return new (a||q0)};q0.\u0275mod=Nc({type:q0});q0.\u0275inj=wc({imports:[SH,BF,zU]});var Eyc=["form"],Fyc=["numberInput"],Gyc=/^\d+\.?\d*$/,Hyc={DAYS:0,YEARS:1,0:"DAYS",1:"YEARS"},r0=function(){this.disabled=!1;this.ariaLabel="";this.durationDaysChange=new zv;this.displayUnits=0;this.timeUnitEnum=Hyc};
r0.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()})};r0.prototype.ngAfterViewInit=function(){};
r0.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))};r0.prototype.ngOnDestroy=function(){this.formSubscription&&this.formSubscription.unsubscribe()};r0.\u0275fac=function(a){return new (a||r0)};
r0.\u0275cmp=Lc({type:r0,selectors:[["b-duration-picker"]],viewQuery:function(a,b){a&1&&(Uf(Eyc,7),Uf(Fyc,7));if(a&2){var c;Yf(c=Zf())&&(b.form=c.first);Yf(c=Zf())&&(b.numberInput=c.first)}},inputs:{durationDays:"durationDays",disabled:"disabled",ariaLabel:"ariaLabel"},outputs:{durationDaysChange:"durationDaysChange"},decls:14,vars:7,consts:[["form","ngForm"],[1,"duration-picker-form"],["color","accent","appearance","outline"],["matInput","","type","number","step","1","min","0","name","numbers",3,
"ngModel","disabled","keydown","paste"],["numberInput",""],["name","unit",3,"ngModel","disabled"],["color","accent",3,"value"]],template:function(a,b){a&1&&(E(0,"form",null,0)(2,"div",1)(3,"mat-form-field",2)(4,"mat-label"),R(5," Custom Duration "),G(),E(6,"input",3,4),M("keydown",function(c){switch(c.key){case "-":case "e":case "E":c.preventDefault()}})("paste",function(c){var d=c.clipboardData.getData("Text");Gyc.test(d)||c.preventDefault()}),G()(),E(8,"mat-form-field",2)(9,"mat-select",5)(10,"mat-option",
6),R(11,"days"),G(),E(12,"mat-option",6),R(13,"year(s)"),G()()()()());a&2&&(y(6),D("ngModel",b.displayNumber)("disabled",b.disabled),pf("aria-label",b.ariaLabel),y(3),D("ngModel",b.displayUnits)("disabled",b.disabled),y(),D("value",b.timeUnitEnum.DAYS),y(2),D("value",b.timeUnitEnum.YEARS))},dependencies:[Pw,Dg,Qw,Hw,Iw,Zw,Ow,Mw,dB,bB,fB,pN,qA],styles:["[_nghost-%COMP%]     .duration-picker-form{display:flex;flex-direction:row;width:250px}[_nghost-%COMP%]     .duration-picker-form .mat-form-field{min-width:130px;padding-right:10px}[_nghost-%COMP%]     .duration-picker-form .mat-form-field .mat-form-field-flex{cursor:default}[_nghost-%COMP%]     .duration-picker-form .mat-form-field .mat-form-field-label{margin-top:-1.5em}[_nghost-%COMP%]     .duration-picker-form .mat-form-field.mat-focused .mat-form-field-label.mat-accent{margin-top:-0.7em}[_nghost-%COMP%]     .duration-picker-form .mat-form-field .mat-form-field-label:not(.mat-form-field-empty){margin-top:-0.7em}[_nghost-%COMP%]     .duration-picker-form .mat-form-field-wrapper{padding:0}[_nghost-%COMP%]     .duration-picker-form .mat-select-arrow-wrapper{transform:none}[_nghost-%COMP%]     .mat-form-field-infix{padding:1px 0 7px}"],
changeDetection:0});var s0=function(){};s0.\u0275fac=function(a){return new (a||s0)};s0.\u0275mod=Nc({type:s0});s0.\u0275inj=wc({imports:[SH,dx,ID,eB,qN,qY]});var t0=function(a,b,c){this.dialogRef=a;this.data=b;this.documentationLinks=c};t0.prototype.getDisablingFieldsHelpLink=function(){return this.documentationLinks.getDisablingFieldsHelpLink()};t0.prototype.onNoClick=function(){this.dialogRef.close(!1)};t0.\u0275fac=function(a){return new (a||t0)(A(BA),A(DA),A(jG))};
t0.\u0275cmp=Lc({type:t0,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&&(E(0,"h1",0),R(1),G(),E(2,"div",1)(3,"p"),R(4,
" The "),E(5,"strong"),R(6),G(),R(7," field will change state from "),E(8,"strong"),R(9),G(),R(10," to "),E(11,"strong"),R(12),G(),R(13,". "),G(),C(14,A9a,6,2,"p",2),E(15,"p"),R(16,"Are you sure?"),G()(),E(17,"div",3)(18,"button",4),M("click",function(){return b.onNoClick()}),R(19," Cancel "),G(),E(20,"button",5),R(21," Confirm "),G()());a&2&&(y(),S("Field State Change for ",b.data.fieldName,""),y(5),$f(b.data.fieldName),y(3),$f(b.data.oldFieldState),y(3),$f(b.data.newFieldState),y(2),D("ngIf",b.data.noteText),
y(6),D("mat-dialog-close",!0))},dependencies:[dw,nA,FA,GA,HA,IA],styles:[".notice[_ngcontent-%COMP%]{font-weight:bold}"]});var Iyc=["fieldStateMenuButton"],Jyc=function(a){return{"mat-stroked-button":a}},u0=function(a){this.dialog=a;this.fieldName="";this.fieldState="INHERIT";this.confirmationDialog=this.enabledOnParent=!0;this.disabled=!1;this.fieldStateChange=new zv;this.FieldState=i1b;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."}};u0.prototype.ngOnInit=function(){this.updateMenuButton()};
u0.prototype.ngOnChanges=function(){this.updateMenuButton()};
var Lyc=function(a,b){b!==a.fieldState&&(a.confirmationDialog?Kyc(a,b):(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b)))},Kyc=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(t0,{width:"500px",data:{fieldName:a.fieldName,oldFieldState:Myc(a,a.fieldState),
newFieldState:Myc(a,b),noteText:e}}).afterClosed().pipe(Ue()).subscribe(function(f){f?(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b),a.disabled=!0):a.focus()})};u0.prototype.updateMenuButton=function(){this.defaultLabel="Default ("+(this.enabledOnParent?this.msgs.visibleName:this.msgs.hiddenName)+")";this.menuLabel=Myc(this,this.fieldState)};
var Myc=function(a,b){switch(b){case "INHERIT":return a.defaultLabel;case "DISABLED":return a.msgs.hiddenName;case "ENABLED":return a.msgs.visibleName;default:Nh(b,"Unknown FieldState.")}};u0.prototype.focus=function(){this.disabled=!1;this.fieldStateMenuButton.nativeElement.focus()};u0.\u0275fac=function(a){return new (a||u0)(A(EA))};
u0.\u0275cmp=Lc({type:u0,selectors:[["b-field-state-menu"]],viewQuery:function(a,b){a&1&&Uf(Iyc,5,Ad);if(a&2){var c;Yf(c=Zf())&&(b.fieldStateMenuButton=c.first)}},inputs:{fieldName:"fieldName",fieldState:"fieldState",enabledOnParent:"enabledOnParent",confirmationDialog:"confirmationDialog",disabled:"disabled"},outputs:{fieldStateChange:"fieldStateChange"},features:[ed],decls:33,vars:18,consts:[["mat-button","",1,"field-state-menu-button","gmat-button","medium",3,"ngClass","disabled","matMenuTriggerFor"],
["fieldStateMenuButton",""],[1,"field-state-menu-button-inner"],[1,"field-state-menu-label",3,"innerHTML"],["name","arrow-dropdown","size","small",1,"field-state-dropdown-icon"],["fieldStateMenu","matMenu"],[1,"field-state-menu"],[1,"menu-row-container","default-container"],["mat-menu-item","",1,"default-button","field-state-option",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-title","gmat-subhead-2"],[1,"item-description","gmat-caption"],["mat-menu-item",
"",1,"field-state-option",3,"click"],[1,"menu-row-container"],[1,"state-info"]],template:function(a,b){a&1&&(E(0,"div")(1,"button",0,1)(3,"div",2),I(4,"span",3)(5,"b-icon",4),G()()(),E(6,"mat-menu",null,5)(8,"div",6)(9,"div",7)(10,"button",8),M("click",function(){return Lyc(b,b.FieldState.INHERIT)}),I(11,"b-icon",9),E(12,"div",10),R(13),G(),E(14,"div",11),R(15),G()()(),I(16,"mat-divider"),E(17,"button",12),M("click",function(){return Lyc(b,b.FieldState.DISABLED)}),E(18,"div",13)(19,"div",14),I(20,
"b-icon",9),E(21,"div",10),R(22),G(),E(23,"div",11),R(24),G()()()(),E(25,"button",12),M("click",function(){return Lyc(b,b.FieldState.ENABLED)}),E(26,"div",13)(27,"div",14),I(28,"b-icon",9),E(29,"div",10),R(30),G(),E(31,"div",11),R(32),G()()()()()());if(a&2){var c=Q(7);y();D("ngClass",fg(16,Jyc,!b.disabled))("disabled",b.disabled)("matMenuTriggerFor",c);y(3);D("innerHTML",b.menuLabel,Od);y(6);yf("b-menu-item-checked",b.fieldState===b.FieldState.INHERIT);y(3);S(" ",b.defaultLabel," ");y(2);S(" ",b.msgs.inheritDescription,
" ");y(2);yf("b-menu-item-checked",b.fieldState===b.FieldState.DISABLED);y(5);S(" ",b.msgs.hiddenName," ");y(2);S(" ",b.msgs.hiddenDescription," ");y();yf("b-menu-item-checked",b.fieldState===b.FieldState.ENABLED);y(5);S(" ",b.msgs.visibleName," ");y(2);S(" ",b.msgs.visibleDescription," ")}},dependencies:[gw,nA,zP,HC,FC,GC,yP],styles:[".field-state-menu[_ngcontent-%COMP%]{max-width:210px}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]{height:auto;padding:5px 0px 5px 24px;white-space:normal}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-checkmark[_ngcontent-%COMP%]{height:18px;line-height:0px;width:18px}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-description[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-icon[_ngcontent-%COMP%]{display:block;margin:auto;width:18px}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-title[_ngcontent-%COMP%]{line-height:normal}.field-state-menu-button-inner[_ngcontent-%COMP%]{align-items:center;display:inline-flex}.field-state-menu-button[disabled][_ngcontent-%COMP%]{border:none}.field-state-menu-button[disabled][_ngcontent-%COMP%]   .field-state-dropdown-icon[_ngcontent-%COMP%]{display:none}"]});var v0=function(){};v0.\u0275fac=function(a){return new (a||v0)};v0.\u0275mod=Nc({type:v0});v0.\u0275inj=wc({imports:[SH,$C,JA,EP,IC,DP,fQ]});var w0=function(a,b){this.dialogRef=b;this.issueId=a.issueId;this.issueTitle=a.issueTitle};w0.prototype.close=function(){this.dialogRef.close(!1)};w0.\u0275fac=function(a){return new (a||w0)(A(DA),A(BA))};
w0.\u0275cmp=Lc({type:w0,selectors:[["b-unsubscribe-dialog"]],decls:21,vars:3,consts:[["mat-dialog-title",""],[1,"gmat-body-2"],[1,"gmat-body-1"],["target","_blank",3,"href"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","dialog-primary-action",3,"click"]],template:function(a,b){a&1&&(E(0,"h1",0),R(1,"Unsubscribe From Issue"),G(),E(2,"mat-dialog-content")(3,"div",1),R(4," Are you sure you would like to unsubscribe from the following issue? "),
G(),I(5,"br"),E(6,"div",2)(7,"a",3)(8,"span"),R(9),G()(),R(10," - "),E(11,"span"),R(12),G()(),I(13,"br"),E(14,"div",1),R(15," By unsubscribing, you will no longer receive email updates about this issue. "),G()(),E(16,"mat-dialog-actions")(17,"button",4),M("click",function(){return b.close()}),R(18," Cancel "),G(),E(19,"button",5),M("click",function(){b.dialogRef.close(!0)}),R(20," Unsubscribe "),G()());a&2&&(y(7),Nf("href","/issues/",b.issueId,"",Pd),y(2),S("b/",b.issueId,""),y(3),$f(b.issueTitle))},
dependencies:[GA,HA,IA,nA],encapsulation:2});var Nyc=function(a,b){return{small:a,medium:b}},Oyc=function(a){return{black:a}},x0=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 zv;this.showNotificationSettings=new zv;this.menuLabel="Default";this.menuIcon="notifications_none_24px";this.isAnonymous=this.activeSession.isAnonymous();this.subscriptionInternal="UNKNOWN_SUBSCRIPTION";this.NotificationSubscription=n1b;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"}]])};x0.prototype.ngOnInit=function(){Pyc(this)};x0.prototype.ngOnChanges=function(){this.updateMenuButton()};x0.prototype.updateSubscription=function(a){a!==this.subscriptionInternal&&this.subscriptionChange.emit(a)};x0.prototype.updateMenuButton=function(){var a=this.subscriptions.get(this.subscriptionInternal);a&&(this.menuLabel=a.label,this.menuIcon=a.icon)};
var Pyc=function(a){var b,c;ke(function(d){if(1==d.nextAddress)return"true"!==a.routeParams.unsubscribe||a.subscription&&"UNSUBSCRIBED"===a.subscription?d.return():me(d,(0,W.firstValueFrom)(a.issueFridge.watch(a.issueId)),2);if(3!=d.nextAddress){b=d.yieldResult;if(!b)return d.return();a.matDialogService.closeAll();return me(d,(0,W.firstValueFrom)(a.matDialogService.open(w0,{width:"400px",data:{issueId:a.issueId,issueTitle:b.snapshot[0].title}}).afterClosed()),3)}if(c=d.yieldResult)a.updateSubscription("UNSUBSCRIBED"),
kp(a.analytics,Sp.EDIT_ISSUE,"unsubscribeUsingDialog");qe(d)})};Vg.Object.defineProperties(x0.prototype,{subscription:{configurable:!0,enumerable:!0,set:function(a){null!=a&&(this.subscriptionInternal=a)},get:function(){return this.subscriptionInternal}}});x0.\u0275fac=function(a){return new (a||x0)(A(nt),A(EA),A(UI),A(MI),A(xK))};
x0.\u0275cmp=Lc({type:x0,selectors:[["b-notification-menu"]],inputs:{subscription:"subscription",iconOnly:"iconOnly",issueId:"issueId"},outputs:{subscriptionChange:"subscriptionChange",showNotificationSettings:"showNotificationSettings"},features:[ed],decls:63,vars:31,consts:[["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"],
["notificationMenu","matMenu"],[1,"notification-menu"],[1,"menu-row-container","default-container"],["mat-menu-item","",1,"default-button","notification-option",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-title","gmat-subhead-2"],[1,"item-description","gmat-caption"],[1,"default-divider",3,"vertical"],["mat-menu-item","","aria-label","Settings",1,"default-settings",3,"click"],["name","settings-outline","size","small",1,"item-icon"],[1,"menu-row-container"],
["mat-menu-item","","aria-label","All Updates. Receive emails for major and minor updates.","aria-describedby","all-updates-help",1,"notification-option",3,"click"],[1,"subscription-info"],["mat-menu-item","",1,"subscription-help","help-icon",3,"click","focus","blur"],[3,"panelTemplate","overlayPositions"],["allUpdates",""],["svgIcon","help-outline",1,"subscription-help","item-icon","small"],["all",""],["mat-menu-item","","aria-label","Major Updates. Receive emails for major updates only.","aria-describedby",
"major-updates-help",1,"notification-option",3,"click"],["majorUpdates",""],["major",""],["mat-menu-item","",1,"notification-option",3,"click"],[1,"notification-menu-label",3,"innerHTML"],["name","arrow-dropdown","size","small",1,"notification-dropdown-icon"],["id","all-updates-help",1,"subscription-help-bubble"],[1,"subscription-help-list"],["id","major-updates-help",1,"subscription-help-bubble"]],template:function(a,b){if(a&1){var c=u();E(0,"div")(1,"button",0)(2,"div",1);I(3,"b-icon",2);C(4,B9a,
3,1,"ng-container",3);G()()();E(5,"mat-menu",null,4)(7,"div",5)(8,"div",6)(9,"button",7);M("click",function(){return b.updateSubscription(b.NotificationSubscription.UNKNOWN_SUBSCRIPTION)});I(10,"b-icon",8);E(11,"div",9);R(12," Default ");G();E(13,"div",10);R(14," receive emails based on your default settings. ");G()();I(15,"mat-divider",11);E(16,"button",12);M("click",function(h){return b.showNotificationSettings.emit(h)});I(17,"b-icon",13);G()();I(18,"mat-divider");E(19,"div",14)(20,"button",15);
M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)});E(21,"div",16);I(22,"b-icon",8);E(23,"div",9);R(24," All Updates ");G();E(25,"div",10);R(26," receive emails for major and minor updates. ");G()()();E(27,"button",17);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)})("focus",function(){v(c);var h=Q(29);return x(h.toggle(!0))})("blur",function(){v(c);var h=Q(29);return x(h.toggle(!1))});E(28,"xap-bubble",
18,19);I(30,"mat-icon",20);C(31,C9a,13,0,"ng-template",null,21,jg);G()()();E(33,"div",14)(34,"button",22);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)});E(35,"div",16);I(36,"b-icon",8);E(37,"div",9);R(38," Major Updates ");G();E(39,"div",10);R(40," receive emails for major updates only. ");G()()();E(41,"button",17);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)})("focus",function(){v(c);
var h=Q(43);return x(h.toggle(!0))})("blur",function(){v(c);var h=Q(43);return x(h.toggle(!1))});E(42,"xap-bubble",18,23);I(44,"mat-icon",20);C(45,D9a,17,0,"ng-template",null,24,jg);G()()();E(47,"button",25);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY)});E(48,"div",14)(49,"div",16);I(50,"b-icon",8);E(51,"div",9);R(52," Closure Only ");G();E(53,"div",10);R(54," only receive emails when the issue is closed. ");G()()()();E(55,"button",25);M("click",
function(){return b.updateSubscription(b.NotificationSubscription.UNSUBSCRIBED)});E(56,"div",14)(57,"div",16);I(58,"b-icon",8);E(59,"div",9);R(60," None ");G();E(61,"div",10);R(62," unsubscribe from further email updates. ");G()()()()()()}if(a&2){var d=Q(6),e=Q(32),f=Q(46);y();yf("icon-only",b.iconOnly);D("ngClass",gg(26,Nyc,b.iconOnly,!b.iconOnly))("matMenuTriggerFor",d)("disabled",b.isAnonymous);pf("aria-label","Notifications Menu, current value is "+b.subscriptions.get(b.subscriptionInternal||
"UNKNOWN_SUBSCRIPTION").label);y(2);D("name",b.menuIcon)("ngClass",fg(29,Oyc,"notifications-off"===b.menuIcon));y();D("ngIf",!b.iconOnly);y(5);yf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNKNOWN_SUBSCRIPTION);y(6);D("vertical",!0);y(5);yf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES);y(7);pf("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.");
y();D("panelTemplate",e)("overlayPositions",b.bubblePosition);y(6);yf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES);y(7);pf("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.");y();D("panelTemplate",f)("overlayPositions",b.bubblePosition);y(5);yf("b-menu-item-checked",b.subscriptionInternal===
b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY);y(8);yf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNSUBSCRIBED)}},dependencies:[gw,dw,hB,nA,zP,HC,FC,GC,yP,yR,PC],styles:[".notification-menu[_ngcontent-%COMP%]{max-width:210px}.notification-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]{height:auto;padding:5px 0px 5px 24px;white-space:normal}.notification-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-checkmark[_ngcontent-%COMP%]{height:18px;line-height:0px;width:18px}.notification-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-description[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}.notification-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-icon[_ngcontent-%COMP%]{display:block;margin:auto;width:18px}.notification-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-title[_ngcontent-%COMP%]{line-height:normal}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 1px 40px}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .default-button[_ngcontent-%COMP%]{grid-column:1}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .default-divider[_ngcontent-%COMP%]{grid-column:2;margin:0px}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .default-settings[_ngcontent-%COMP%]{grid-column:3;height:100%;padding:0px}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .help-icon[_ngcontent-%COMP%]{align-self:center;grid-column:3;height:100%;padding:0px}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .subscription-help[_ngcontent-%COMP%]{align-self:center;grid-column:3}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .subscription-info[_ngcontent-%COMP%]{grid-column:1}.notification-menu-button-inner[_ngcontent-%COMP%]{align-items:center;display:inline-flex}.notification-menu-button-inner[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{margin-right:3px}.icon-only[_ngcontent-%COMP%]{padding:0 2px}.icon-only[_ngcontent-%COMP%]   .icon.black[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}  .subscription-help-bubble{max-width:300px}  .subscription-help-bubble ul.subscription-help-list{margin-top:.5em;list-style:disc}  .notification-menu .subscription-help .mat-icon{margin:0px}  .notification-menu .subscription-help .mat-icon:hover{color:#202124;color:var(--text-high-contrast)}"]});var y0=function(){};y0.\u0275fac=function(a){return new (a||y0)};y0.\u0275mod=Nc({type:y0});y0.\u0275inj=wc({imports:[SH,$C,EP,IC,DP,fQ,VR,JD]});var z0=function(a,b){this.sloApi=a;this.cdr=b;this.isDisabled=!1;this.dropdownChoices=null;this.onSloSelect=new zv;this.internalBoundId=this.selectedSlo=null;this.lastProcessedIndex=-1;this.requestIndex=0},Qyc=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()};
z0.prototype.displayFn=function(a){return(null==a?void 0:a.name)||(null==a?void 0:a.sloId)||""};z0.prototype.updateSelectionOnChange=function(a){if(a=a.option.value)this.boundId=a.sloId;this.onSloSelect.emit(a);this.cdr.detectChanges()};
Vg.Object.defineProperties(z0.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)}}});z0.\u0275fac=function(a){return new (a||z0)(A(IJ),A(EF,2))};
z0.\u0275cmp=Lc({type:z0,selectors:[["slo-picker"]],inputs:{isDisabled:[0,"bv2Disabled","isDisabled"],placeholder:[0,"bv2Placeholder","placeholder"],boundId:"boundId"},outputs:{onSloSelect:"onSloSelect"},features:[bg([EF])],decls:6,vars:6,consts:[[1,"bv2-slo-picker"],["matInput","","type","text","autocomplete","slo-name",1,"bv2-picker-input","form-control",3,"placeholder","ngModel","disabled","matAutocomplete","ngModelChange","click","input"],["searchInput",""],["panelWidth","574px",3,"displayWith",
"optionSelected"],["auto","matAutocomplete"],["class","slo-search-result",3,"value",4,"ngFor","ngForOf"],[1,"slo-search-result",3,"value"]],template:function(a,b){if(a&1){var c=u();E(0,"div",0)(1,"input",1,2);M("ngModelChange",function(e){return b.selectedSlo=e})("click",function(){v(c);var e=Q(2);return x(Qyc(b,e.value))})("input",function(){v(c);var e=Q(2);return x(Qyc(b,e.value))});G();E(3,"mat-autocomplete",3,4);M("optionSelected",function(e){return b.updateSelectionOnChange(e)});C(5,E9a,2,2,
"mat-option",5);G()()}if(a&2){var d=Q(4);y();D("placeholder",b.placeholder)("ngModel",b.selectedSlo)("disabled",b.isDisabled)("matAutocomplete",d);y(2);D("displayWith",b.displayFn);y(2);D("ngForOf",b.dropdownChoices)}},dependencies:[hw,LQ,KQ,qA,Dg,Hw,Ow],encapsulation:2});var A0=function(){};A0.\u0275fac=function(a){return new (a||A0)};A0.\u0275mod=Nc({type:A0});A0.\u0275inj=wc({imports:[SH,MQ,dx]});var Ryc=function(a){return{"empty-list-field-indication":a}},B0=function(a,b){this.documentationLinks=a;this.activeSession=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.issueRetentionDisabled=!1;this.modelChange=new zv;this.validChange=new zv;this.RetentionSelection=u1b;this.indefiniteRetentionComponentsAllowlist=new Set(this.activeSession.getIndefiniteRetentionComponentsAllowlist())};
B0.prototype.ngOnInit=function(){this.initialModel?this.model=this.initialModel:this.model={retentionSelection:"UNSPECIFIED_RETENTION",retentionPeriodDays:null,piiRetentionSelection:"UNSPECIFIED_RETENTION",piiRetentionPeriodDays:null,spiiRetentionPeriodDays:null};Cq(this)};B0.prototype.updateSelectionOnChange=function(a){this.model.retentionSelection=a;this.model.retentionPeriodDays=null;this.modelChange.emit(this.model);Cq(this)};
var Cq=function(a){var b;if(b=Dq(a))b=(b=a.model.piiRetentionSelection)&&b!==a.RetentionSelection.UNSPECIFIED_RETENTION&&(a.model.piiRetentionSelection!==a.RetentionSelection.BUGANIZER_DEFAULT||!Syc(a))&&(a.model.piiRetentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||Tyc(a));a.validChange.emit(b)},Uyc=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},Dq=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)},G9a=function(a){return a?pn(a):"[unset period]"},Tyc=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},L9a=function(a){if(!Dq(a)||Tyc(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 "+G9a(e):"Restricted+ retention must not exceed Restricted retention."},Syc=function(a){return a.model.retentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&(!a.model.retentionPeriodDays||60>a.model.retentionPeriodDays)},O9a=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};B0.\u0275fac=function(a){return new (a||B0)(A(jG),A(nt))};
B0.\u0275cmp=Lc({type:B0,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,"ngClass","disabled","name","ngModel","ngModelChange"],[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,"ngClass","disabled","name","ngModel","ngModelChange"],["target","_blank","aria-label","Learn more about restricted access",1,"keep-underline","keep-focus-ring",3,"rel"],[3,"aria-label",
"disabled","value"],["class","warning-box","id","indefinite-pii-retention-warning-box",4,"ngIf"],[1,"duration-error"],[1,"custom-duration"],["ariaLabel","Custom duration",3,"disabled","durationDays","durationDaysChange"],[1,"duration-description"],["id","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,"disabled","durationDays","durationDaysChange"],[1,
"warning-box"],["ariaLabel","Restricted+ retention duration",3,"disabled","durationDays","durationDaysChange"],["class","warning-box","id","custom-pii-retention-warning-box",4,"ngIf"],["id","custom-pii-retention-warning-box",1,"warning-box"],["id","indefinite-pii-retention-warning-box",1,"warning-box"]],template:function(a,b){a&1&&(E(0,"mat-radio-group",0),M("ngModelChange",function(c){return b.updateSelectionOnChange(c)}),E(1,"p")(2,"b"),R(3,"Issue Retention"),G()(),E(4,"mat-radio-button",1),R(5,
" Buganizer default retention period (for minimal or no PII/SPII): 10 years "),G(),E(6,"mat-radio-button",2),R(7," Custom retention period "),C(8,F9a,2,0,"span",3)(9,H9a,4,3,"div",4)(10,I9a,13,0,"div",5),G(),E(11,"mat-radio-button",6),R(12),C(13,J9a,13,0,"div",7),G()(),E(14,"mat-radio-group",8),M("ngModelChange",function(c){b.model.piiRetentionSelection=c;b.model.piiRetentionPeriodDays=null;b.model.spiiRetentionPeriodDays=null;b.modelChange.emit(b.model);Cq(b)}),E(15,"p"),I(16,"br"),E(17,"b"),R(18,
"Restricted Comments/Attachments Retention "),G(),E(19,"a",9),R(20,"Learn more "),G()(),E(21,"mat-radio-button",1),R(22," Buganizer default retention period : 60 days "),C(23,K9a,2,0,"span",3),G(),E(24,"mat-radio-button",10),R(25," Custom retention period "),C(26,M9a,2,1,"span",3)(27,P9a,16,7,"div",4),G(),E(28,"mat-radio-button",6),R(29," Match Issue Retention "),C(30,Q9a,3,0,"div",11),G()());a&2&&(D("ngClass",fg(29,Ryc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",
b.issueRetentionDisabled)("name","retentionForm")("ngModel",b.model.retentionSelection),y(4),D("value",b.RetentionSelection.BUGANIZER_DEFAULT),y(2),D("value",b.RetentionSelection.CUSTOM_PERIOD),y(2),D("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!(b.model.retentionPeriodDays&&30<=b.model.retentionPeriodDays&&7300>=b.model.retentionPeriodDays)),y(),D("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD),y(),D("ngIf",!!b.model.retentionPeriodDays&&3650<b.model.retentionPeriodDays),
y(),D("disabled",!Uyc(b))("value",b.RetentionSelection.INDEFINITE_RETENTION),y(),S(" Indefinite retention period ",Uyc(b)?"":"(Internal components only)"," "),y(),D("ngIf",b.model.retentionSelection===b.RetentionSelection.INDEFINITE_RETENTION),y(),D("ngClass",fg(31,Ryc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","piiRetentionForm")("ngModel",b.model.piiRetentionSelection),y(5),D("rel",b.EXTERNAL_LINK_REL),pf("href",b.documentationLinks.getRestrictedAccessHelpLink(),
Pd),y(2),D("value",b.RetentionSelection.BUGANIZER_DEFAULT),y(2),D("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.BUGANIZER_DEFAULT&&Syc(b)),y(),D("aria-label","Custom Retention Period,"+L9a(b))("disabled",!Dq(b))("value",b.RetentionSelection.CUSTOM_PERIOD),y(2),D("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!Tyc(b)),y(),D("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD),y(),D("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),
y(2),D("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.INDEFINITE_RETENTION&&O9a(b)))},dependencies:[gw,dw,Hw,Ow,kW,lW,r0],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 C0=function(){};C0.\u0275fac=function(a){return new (a||C0)};C0.\u0275mod=Nc({type:C0});C0.\u0275inj=wc({imports:[SH,dx,sX,s0]});var Vyc=function(){this.type="component";this.includeChildren=!1},Wyc=function(){this.type="tracker"},Xyc=function(){this.type="team";this.includeChildren=!1},Yyc=function(){this.type="hotlist"},Zyc=function(){this.type="savedsearch"},$yc=function(){this.type="customfield"};var azc=function(a,b){this.query=a;this.cursorIdx=b;this.label=null;this.value={val:"",idx:0};this.value.idx=b},bzc="componentid c hotlistid h savedsearchid teamid trackerid".split(" "),czc=bzc.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(" ")),
dzc="cl deleted deletionreason deletiontime effortlabel nearestslo postmortem teamid".split(" "),ezc="(?:\\s|^)(-?)(customfield\\d+|"+czc.join("|")+")(:|>|<|>=|<=|=)";var D0=function(a,b,c,d,e,f,h,k,q,t){Y.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=k;this.teamsService=q;this.activeSession=t;this.query="";this.requestIndex=0;this.producers=[{match:function(z){return fzc(w,z)}},{updateHeader:function(z){return gzc(w,z)}},{updateHeader:function(z){return hzc(w,z)}},{updateHeader:function(z){return izc(w,z)}},{updateHeader:function(z){return jzc(w,
z)}},{updateHeader:function(z){return kzc(w,z)}},{updateHeader:function(z){return lzc(w,z)}}];this.currentSearchContext=null;this.items=[];this.acHeader=null;this.acRefreshed$=new W.Subject;this.refreshRequest$=new W.Subject;this.refreshRequest$.pipe(Re(250),ef(this.destroyed$)).subscribe(function(z){mzc(w,z.currentRequestIndex,z.currentSearchContext)});this.sessionIsInternal=t.isInternalSession();a=new Set(czc);this.sessionIsInternal||a.delete("mention");if(!this.sessionIsInternal)for(b=l(dzc),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"]))};X(D0,Y);D0.\u0275dir=Y.\u0275dir;D0.prototype.isTrackerSearchEnabled=function(){return!this.currentTracker.inTracker};
var mzc=function(a,b,c){for(var d=!1,e=!1,f=[],h=l(a.producers),k=h.next();!k.done;k=h.next())k=k.value,k.match&&f.push(k.match(c).then(function(q){d||(d=!0,a.items=[]);b<a.requestIndex||a.items.push.apply(a.items,r(q))}).catch(function(q){return q})),k.updateHeader&&f.push(k.updateHeader(c).then(function(q){e||(e=!0,a.acHeader=null);b<a.requestIndex||(a.acHeader=q)}).catch(function(q){return q}));Promise.all(f).finally(function(){d||(a.items=[]);e||(a.acHeader=null);a.acRefreshed$.next()})},fzc=
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 nzc(a,b);if(b.label){if(b.label.customFieldId)return ozc(a,b);switch(b.label.val){case "archived":return Promise.resolve(Gq(pzc,b.value,!0));case "componentid":case "c":return qzc(a,b);case "deleted":return rzc(b);case "deletionreason":return Promise.resolve(Gq(szc,
b.value,!0));case "hotlistid":case "h":return tzc(a,b);case "savedsearchid":return uzc(a,b);case "status":case "is":return Promise.resolve(Gq(vzc,b.value,!0));case "trackerid":return wzc(a,b);case "teamid":return xzc(a,b);case "type":case "t":return a.matchType(b);case "priority":case "p":return Promise.resolve(Gq(yzc,b.value,!0));case "severity":case "s":return Promise.resolve(Gq(zzc,b.value,!0));case "inprod":case "star":case "mute":return rzc(b);case "accesslevel":return Promise.resolve(Gq(Azc,
b.value,!0));default:return Promise.reject(null)}}if(!b.value.val)return Promise.reject(null);c=[];d=T9a(b.value.val);e=l(a.atoms);for(var f=e.next();!f.done;f=e.next())if(f=f.value,d.token!==f&&f.startsWith(d.token)){var h=b.value.idx+(d.negated?1:0);h={type:"atom",startIdx:h,endIdx:h+b.value.val.length,completionValue:f+(a.atomsWithoutOp.has(f)?"":":"),enableShadowPlaceholder:!0};c.push({trackId:"atom:"+f,name:f,completionCfg:h})}c.sort(function(k,q){return Kq(k.name,q.name)});return Promise.resolve(c)},
nzc=function(a,b){var c=b.value.val.replace(/^(cf|customfield)/,""),d=L$b(a.appSearchState);if(!c&&!d)return Promise.reject(null);var e=C$b(a.currentTracker)||[];return a.customFieldsApi.query({query:d?"componentid:"+d+" "+c:c,trackerIds:e}).then(function(f){return Bzc(a,b,f)})},Bzc=function(a,b,c){var d=c.customFields.map(function(h){return h.componentId}).filter(Bi);0<d.length&&a.componentActions.bulkLoad(d);d=[];c=l(c.customFields);for(var e=c.next(),f={};!e.done;f={customField$jscomp$20:void 0},
e=c.next())f.customField$jscomp$20=e.value,e=a.getComponentPathNames(f.customField$jscomp$20).then(function(h){return function(k){var q=h.customField$jscomp$20,t=b.value.val,w=q.customFieldId,z=b.value.idx;return{id:w,componentPathNames:k,name:q.name,trackId:"customField:"+w,completionCfg:{type:"customField",startIdx:z,endIdx:z+t.length,completionValue:"customfield"+w+":",matchingString:t}}}}(f)),d.push(e);return Promise.all(d)};
D0.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 ozc=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 Gq(d,b.value,!1,!1)}):Promise.reject(null)};
D0.prototype.matchType=function(a){return Promise.resolve(Gq(Czc,a.value,!0))};
var rzc=function(a){if(!a.label)return Promise.reject(null);var b=a.label.val;return Promise.resolve(Gq([{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))},qzc=function(a,b){var c=b.value.val;return!c||Fq(c,!0)?Promise.reject(null):a.componentActions.search(c,!1).then(function(d){return a.processResponse(b,
d)})};
D0.prototype.processResponse=function(a,b){var c=a.value.val,d=[];b=l(b);for(var e=b.next(),f={};!e.done;f={paths$jscomp$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=Is(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(k){return function(q,t){return{trackId:"subcomponent:"+q,id:""+q,name:String(k.paths$jscomp$43.componentPathName[t]),completionCfg:{type:"component",completionValue:String(q),startIdx:k.startIdx$jscomp$4,endIdx:k.endIdx$jscomp$4}}}}(f))};d.push(f)}return d};
var xzc=function(a,b){var c=b.value.val;if(!a.sessionIsInternal||!c||Fq(c,!0))return Promise.reject(null);var d=un();SJ(a.teamsService,c).pipe(ef(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,k=[];e=l(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(z,F){return{trackId:"team:"+z,id:z,name:w.pathNames$jscomp$2[F],completionCfg:{type:"team",completionValue:String(z),startIdx:f,endIdx:h}}}}(t))},k.push(t);d.resolve(k)},function(){d.reject()});return d.promise},gzc=function(a,b){if(!b.label||"componentid"!==b.label.val&&"c"!==b.label.val)return Promise.reject(null);var c=new Vyc;b=b.value.val;return Fq(b,!0)?(Ft(b,"+")&&(b=b.slice(0,
b.length-1),c.includeChildren=!0),a.componentActions.get(Number(b)).then(function(d){a.currentTracker.inTracker&&d.trackerId!==a.currentTracker.getTrackerId()||(c.component=d);return c})):Promise.resolve(c)},jzc=function(a,b){if(!a.isTrackerSearchEnabled()||!b.label||"trackerid"!==b.label.val)return Promise.reject(null);var c=new Wyc,d=un();b=b.value.val;Fq(b)?a.trackerFridge.watchOne(b).pipe(ef(a.destroyed$)).subscribe(function(e){c.tracker=e;d.resolve(c)}):b&&d.resolve(c);return d.promise},lzc=
function(a,b){if(!a.sessionIsInternal||!b.label||"teamid"!==b.label.val)return Promise.reject(null);var c=new Xyc,d=un(),e=b.value.val;Fq(e,!0)?(Ft(e,"+")&&(e=e.slice(0,e.length-1),c.includeChildren=!0),SJ(a.teamsService,e).pipe(ef(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},hzc=function(a,b){if(!b.label||"hotlistid"!==b.label.val&&"h"!==b.label.val)return Promise.reject(null);var c=new Yyc;b=b.value.val;return Fq(b)?a.hotlistApi.get(b).then(function(d){c.hotlist=d;return c}):b?Promise.reject(null):Promise.resolve(c)},izc=function(a,b){if(!b.label||"savedsearchid"!==b.label.val)return Promise.reject(null);var c=new Zyc;b=b.value.val;return Fq(b)?a.savedSearchApi.get(b).then(function(d){c.savedSearch=d;return c}):b?Promise.reject(null):Promise.resolve(c)},
kzc=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]),$m("search-usage","customfield");else return Promise.reject(null);var d=new $yc;return c?a.customFieldsApi.get(c).then(function(e){d.customField=e;return d}):Promise.resolve(d)},wzc=function(a,b){var c=b.value.val;if(!a.isTrackerSearchEnabled()||!c||Fq(c,!0))return Promise.reject(null);var d=un();a.trackerFridge.watchMany({filter:c,
pageSize:5}).pipe(ef(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,k=[];e=l(e.results);for(var q=e.next();!q.done;q=e.next())q=q.value,k.push({trackId:"trackerid:"+q.trackerId,name:q.name,id:q.trackerId,label:"Tracker "+q.trackerId,completionCfg:{type:"tracker",startIdx:f,endIdx:h,completionValue:q.trackerId,matchingString:c}});d.resolve(k)});return d.promise},tzc=function(a,b){return Fq(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 Gq(c,b.value,!1,!0)})},uzc=function(a,b){return Fq(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 Gq(c,b.value,!1,!0)})};
D0.\u0275fac=function(a){return new (a||D0)(p(KM),p(BI),p(ZJ),p(IM),p(YH),p(qI),p(CJ),p(xR),p(QJ),p(nt))};D0.\u0275prov=vc({token:D0,factory:D0.\u0275fac,providedIn:"root"});
var vzc="accepted assigned closed duplicate fixed infeasible intended_behavior new not_reproducible obsolete open verified".split(" ").map(function(a){return Hq({name:a,label:"Status",type:"status"})}),Czc="bug customer_issue feature_request internal_cleanup process vulnerability privacy_issue project feature milestone epic story task".split(" ").map(function(a){return Hq({name:a,label:"Type",type:"type",trackIdPrefix:"bugType"})}),yzc=["p0","p1","p2","p3","p4"].map(function(a){return Hq({name:a,
label:"Priority",type:"priority"})}),zzc=["s0","s1","s2","s3","s4"].map(function(a){return Hq({name:a,label:"Severity",type:"severity"})}),pzc=["all","true","false"].map(function(a){return Hq({name:a,label:"Archived",type:"archived"})}),szc=["abuse","pii","user_request","retention"].map(function(a){return Hq({name:a,label:"Deletion Reason",type:"deletionreason",trackIdPrefix:"deletionReason"})}),Azc=[["limit_none","Default access"],["limit_view","Limited visibility"],["limit_append","Limited commenting"],
["limit_view_trusted","Limited visibility + Google"]].map(function(a){var b=l(a);a=b.next().value;b=b.next().value;return Hq({name:b,label:"Issue access level",type:"accesslevel",id:a})});var E0=function(a){this.cdr=a;this.optionsChange=new zv};E0.prototype.ngOnInit=function(){U9a(this)};
var U9a=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},V9a=function(a){a.validator&&(a.errorString=a.validator(),a.cdr.detectChanges())},Dzc=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);V9a(a)},Ezc=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(", ")};E0.\u0275fac=function(a){return new (a||E0)(A(EF,2))};
E0.\u0275cmp=Lc({type:E0,selectors:[["slo-element-property-picker"]],inputs:{selectAllText:"selectAllText",validator:"validator",options:"options"},outputs:{optionsChange:"optionsChange"},features:[bg([EF])],decls:16,vars:12,consts:[["mat-stroked-button","",1,"gmat-button","bv2-appbar-menu",3,"matMenuTriggerFor"],[1,"flex-kids-x","flex-cross-axis-centered"],[1,"bv2-property-picker-summary-text"],["svgIcon","arrow-dropdown"],["menu","matMenu"],["mat-menu-item","","role","menuitemcheckbox",1,"bv2-property-picker-selectall",
"bv2-property-picker-option-row",3,"click"],[3,"checked","indeterminate","change"],["mat-menu-item","","class","bv2-property-picker-options","role","menuitemcheckbox",4,"ngFor","ngForOf"],["class","bv2-property-picker-error-message",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",1,"bv2-property-picker-options"],["title","option",1,"bv2-property-picker-option-row",3,"click"],[3,"checked","change","click"],[1,"bv2-property-picker-error-message"]],template:function(a,b){a&1&&(E(0,"div")(1,"button",
0)(2,"div",1)(3,"span",2),R(4),R(5," \u00a0 "),G(),I(6,"mat-icon",3),G()(),E(7,"mat-menu",null,4)(9,"div",5),M("click",function(d){return Dzc(b,d)}),E(10,"mat-checkbox",6),M("change",function(d){b.selectAllValue=d.checked;return Dzc(b)}),R(11),G()(),I(12,"mat-divider"),C(13,W9a,4,3,"div",7),T(14,"keyvalue"),G(),C(15,X9a,2,1,"div",8),G());if(a&2){var c=Q(8);y();yf("ng-invalid",!!b.errorString);D("matMenuTriggerFor",c);y(3);S(" ",Ezc(b)," ");y(5);pf("aria-checked",b.selectAllValue);y();D("checked",
!!b.selectAllValue)("indeterminate",null===b.selectAllValue);y();S(" ",b.selectAllText," ");y(2);D("ngForOf",V(14,10,b.options.propertyValues));y(2);D("ngIf",!!b.errorString)}},dependencies:[hw,dw,hB,WE,HC,FC,GC,zP,nA,rw],styles:["[_nghost-%COMP%]   .gmat-button[_ngcontent-%COMP%] {padding: 0 10px;}\n[_nghost-%COMP%]   .bv2-property-picker-summary-text[_ngcontent-%COMP%] {text-align: left;}"]});
var Fzc=function(a,b){this.displayString=a;this.value=b},Gzc=function(a){this.propertyValues=a},Hzc=function(a){for(var b=l(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(a.propertyValues[c.value].value)return!0;return!1},z$a=function(a){for(var b=l(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(!a.propertyValues[c.value].value)return!1;return!0};Gzc.prototype.setAll=function(a){for(var b in this.propertyValues)this.propertyValues[b].value=a};var F0=function(){};F0.\u0275fac=function(a){return new (a||F0)};F0.\u0275mod=Nc({type:F0});F0.\u0275inj=wc({imports:[SH,kN,IC,EP,$C]});var Izc=function(a,b){this.name=a;this.secondsPerUnit=b},Iq=new Izc("minute",60),Jq=new Izc("hour",3600),e$a=new Izc("day",86400),G0=function(){this.errorString=null;this.objectiveDurationChange=new zv;this.objectiveBusinessDaysChange=new zv;this.intervalUnit=e$a};G0.prototype.ngOnInit=function(){Jzc(this)};G0.prototype.ngOnChanges=function(a){[a.objectiveBusinessDays,a.objectiveDuration,a.dayType].some(function(b){return b&&!b.isFirstChange()})&&Jzc(this)};
var $9a=function(a,b){b=b.name;1!==Zh(a.intervalString)&&(b+="s");return b},d$a=function(a){return"BUSINESS"===a.dayType},Jzc=function(a){!d$a(a)&&Kzc(a,e$a)||Kzc(a,Jq)||Kzc(a,Iq);if(0!=a.objectiveBusinessDays||""!=a.businessDayString)a.businessDayString=""+a.objectiveBusinessDays},Kzc=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):(d$a(a)?[Iq,Jq]:[Iq,Jq,e$a]).includes(a.intervalUnit)||
(a.intervalUnit=b),!0):!1},Y9a=function(a){a.errorString=a.validator(a.intervalString,a.businessDayString);b$a(a);c$a(a)},b$a=function(a){a.objectiveDuration.seconds=a.intervalUnit.secondsPerUnit*(Zh(a.intervalString)||0);a.objectiveDurationChange.emit(a.objectiveDuration)},c$a=function(a){a.objectiveBusinessDays=Zh(a.businessDayString)||0;a.objectiveBusinessDaysChange.emit(a.objectiveBusinessDays)};G0.\u0275fac=function(a){return new (a||G0)};
G0.\u0275cmp=Lc({type:G0,selectors:[["slo-objective-selector"]],inputs:{isDisabled:"isDisabled",validator:"validator",dayType:"dayType",objectiveDuration:"objectiveDuration",objectiveBusinessDays:"objectiveBusinessDays"},outputs:{objectiveDurationChange:"objectiveDurationChange",objectiveBusinessDaysChange:"objectiveBusinessDaysChange"},features:[ed],decls:2,vars:2,consts:[["class","enabled bv2-slo-objective",4,"ngIf"],["class","disabled",4,"ngIf"],[1,"enabled","bv2-slo-objective"],["class","bv2-slo-objective-interval",
4,"ngIf"],[1,"bv2-slo-objective-interval"],["type","text",3,"ngModel","ngModelChange"],[1,"bv2-slo-objective-unit",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[1,"bv2-slo-objective-unit"],[3,"value"],[1,"disabled"],["class","bv2-slo-objective-biz-day-text",4,"ngIf"],[4,"ngIf"],[1,"bv2-slo-objective-biz-day-text"]],template:function(a,b){a&1&&C(0,f$a,6,6,"span",0)(1,j$a,3,2,"span",1);a&2&&(D("ngIf",!b.isDisabled),y(),D("ngIf",b.isDisabled))},dependencies:[hw,dw,Dg,
Hw,Ow,pN,qA],styles:['[_nghost-%COMP%]{width:200px;line-height:29px}.bv2-slo-objective[_ngcontent-%COMP%]{display:flex}.bv2-slo-objective-interval[_ngcontent-%COMP%]{display:flex}.bv2-slo-objective-unit[_ngcontent-%COMP%]{padding-right:4px;padding-left:4px}[_nghost-%COMP%]     .mat-select-value{font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;color:#1a73e8;color:var(--link);min-width:60px}input.ng-invalid.ng-dirty[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast);border-width:2px}/*# sourceMappingURL=slo_objective_selector.css.map */']});var H0=function(){this.typeStringToEnum=new Map([["BUG","BUG"],["FEATURE_REQUEST","FEATURE_REQUEST"],["CUSTOMER_ISSUE","CUSTOMER_ISSUE"],["INTERNAL_CLEANUP","INTERNAL_CLEANUP"],["PROCESS","PROCESS"],["VULNERABILITY","VULNERABILITY"],["PRIVACY_ISSUE","PRIVACY_ISSUE"],["PROJECT","PROJECT"],["FEATURE","FEATURE"],["MILESTONE","MILESTONE"],["EPIC","EPIC"],["STORY","STORY"],["TASK","TASK"]]);this.enumTypeToString=new Map([["BUG","BUG"],["FEATURE_REQUEST","FEATURE_REQUEST"],["CUSTOMER_ISSUE","CUSTOMER_ISSUE"],
["INTERNAL_CLEANUP","INTERNAL_CLEANUP"],["PROCESS","PROCESS"],["VULNERABILITY","VULNERABILITY"],["PRIVACY_ISSUE","PRIVACY_ISSUE"],["PROJECT","PROJECT"],["FEATURE","FEATURE"],["MILESTONE","MILESTONE"],["EPIC","EPIC"],["STORY","STORY"],["TASK","TASK"]]);this.priorityStringToEnum=new Map([["P0","P0"],["P1","P1"],["P2","P2"],["P3","P3"],["P4","P4"]]);this.enumPriorityToString=new Map([["P0","P0"],["P1","P1"],["P2","P2"],["P3","P3"],["P4","P4"]]);this.postmortemValuesToCanonical=new Map([["TRUE","ANY"],
["FALSE","NONE"],["ANY","ANY"],["NONE","NONE"]]);this.canonicalGroupQueryKeywordToQueryValue=new Map([["ANY","any"],["NONE","none"]])},Ozc=function(a,b){var c=new Lzc,d=Mzc(b,"type",function(f){var h=f.toUpperCase(),k=new Nzc;a.typeStringToEnum.has(h)?k.value=h:k.error='The string "'+f+'" is not a valid type';return k});if(d.error)return c.error=d.error,c;d=l(d.values);for(var e=d.next();!e.done;e=d.next())c.types.push(a.typeStringToEnum.get(e.value));d=Mzc(b,"priority",function(f){var h=f.toUpperCase(),
k=new Nzc;a.priorityStringToEnum.has(h)?k.value=h:k.error='The string "'+f+'" is not a valid priority';return k});if(d.error)return c.error=d.error,c;d=l(d.values);for(e=d.next();!e.done;e=d.next())c.priorities.push(a.priorityStringToEnum.get(e.value));b=Mzc(b,"postmortem",function(f){var h=f.toUpperCase(),k=new Nzc;a.postmortemValuesToCanonical.has(h)?k.value=h:k.error='The string "'+f+'" is not a valid postmortem value';return k});if(b.error)c.error=b.error;else for(b=l(b.values),d=b.next();!d.done;d=
b.next())c.postmortemValues.push(a.postmortemValuesToCanonical.get(d.value));return c},Mzc=function(a,b,c){var d=new Pzc;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};H0.\u0275fac=function(a){return new (a||H0)(p(DG),p(nt))};H0.\u0275prov=vc({token:H0,factory:H0.\u0275fac,providedIn:"root"});
var Lzc=function(){this.types=[];this.priorities=[];this.postmortemValues=[];this.error=""},Pzc=function(){this.values=[];this.error=""},Nzc=function(){this.error=this.value=""};var I0=function(){};I0.prototype.validate=function(a){for(var b={},c=l(Object.entries(this.validators)),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;e(a.value)||(b[d]=!0)}return Object.keys(b).length?b:null};I0.\u0275fac=function(a){return new (a||I0)};I0.\u0275dir=Qc({type:I0,selectors:[["","customValidators",""]],inputs:{validators:[0,"customValidators","validators"]},features:[bg([{provide:Bw,useExisting:I0,multi:!0}])]});var J0=function(a,b,c){this.constants=a;this.sloParseService=b;this.confirmationDialogService=c;this.collection=[];this.boundCollection=[];this.onCollectionUpdate=new zv;this.onValidation=new zv;this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.postmortemAllSummaryValue="Either";this.canPerformActionsInternal=!1;this.openRow=null;this.metricChoices=["METRIC_UNSPECIFIED"].concat(v7b);this.dayTypes=["CALENDAR","BUSINESS"];v7b.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},V$a=function(a,b,c){A$a(a);a=l(a.collection);for(var d=a.next();!d.done;d=a.next())d.value.canEdit=!1;b.startEditing();c&&c.stopPropagation()},Y$a=function(a,b,c){c=aab(a,b,c);var d=c.newOffset;
c.valid&&(A$a(a),ua(a.collection,b),ua(a.boundCollection,b.sloElement),a.collection.splice(d,0,b),a.boundCollection.splice(d,0,b.sloElement),Qzc(a))},aab=function(a,b,c){b=a.collection.indexOf(b)+c;return{valid:0<=b&&b<a.collection.length,newOffset:b}},A$a=function(a){a=l(a.collection);for(var b=a.next();!b.done;b=a.next())b=b.value,b.stopEditing(),b.canEdit=!0},Rzc=function(a,b){var c=b.map(function(d){return new K0(d,a)});a.openRow=null;a.collection=c;a.boundCollection=b;a.canPerformActions=!a.openRow},
s$a=function(a){return"METRIC_UNSPECIFIED"===a?" - ":w7b.get(a)},G$a=function(a,b){return"TYPE_UNSPECIFIED"!==b&&a.constants.issueTypesDisplayNames.has(b)?a.constants.issueTypesDisplayNames.get(b):" - "},L$a=function(a,b){return"PRIORITY_UNSPECIFIED"!==b&&a.constants.issuePrioritiesDisplayNames.has(b)?a.constants.issuePrioritiesDisplayNames.get(b):" - "},B$a=function(a,b){A$a(a);ua(a.collection,b);ua(a.boundCollection,b.sloElement);Qzc(a)},m$a=function(a,b){a.confirmationDialogService.open({title:"Are you sure you'd like to clear all the rules?",
content:gh("This won't take effect until you save the changes, but any local changes will be lost."),onConfirm:function(){a.collection=[];a.boundCollection=[];Qzc(a)},onDismiss:function(){}});b.stopPropagation()},k$a=function(a,b){var c=new K0({metric:"METRIC_UNSPECIFIED",matcher:"",dayType:"DAY_TYPE_UNSPECIFIED",objective:{seconds:0,nanos:0},businessDays:0},a,!0);V$a(a,c);a.collection.splice(b,0,c);a.boundCollection.splice(b,0,c.sloElement);Qzc(a)};
J0.prototype.onDrop=function(a){Y$a(this,this.collection[a.previousIndex],a.currentIndex-a.previousIndex)};var Qzc=function(a){a.onCollectionUpdate.emit(a.boundCollection)};
Vg.Object.defineProperties(J0.prototype,{collectionInput:{configurable:!0,enumerable:!0,set:function(a){Rzc(this,a)}},canPerformActions:{configurable:!0,enumerable:!0,set:function(a){this.canPerformActionsInternal=a;this.onValidation.emit(a)},get:function(){return this.canPerformActionsInternal}},isDisabled:{configurable:!0,enumerable:!0,set:function(a){this.isDisabledInternal=a;if(this.collection)for(var b=l(this.collection),c=b.next();!c.done;c=b.next())c=c.value,c.canEdit=!a||this.openRow===c},
get:function(){return this.isDisabledInternal}}});J0.\u0275fac=function(a){return new (a||J0)(A(DG),A(H0),A(lG))};
J0.\u0275cmp=Lc({type:J0,selectors:[["slo-elements-picker"]],inputs:{collectionInput:[0,"collection","collectionInput"],isDisabled:"isDisabled"},outputs:{onCollectionUpdate:"onCollectionUpdate",onValidation:"onValidation"},decls:29,vars:5,consts:[[1,"bv2-slo-elements-picker"],[1,"bv2-slo-elements-table-label","edit-field-header"],["href","http://g3doc/company/teams/buganizer/user-guide/guides/define-slo#creating-a-new-slo-rule"],["matTooltip","These ordered rules determine the objectives for each type of issue for this SLO",
1,"bv2-slo-elements-table-help-icon",3,"name","size"],["class","bv2-slo-elements-actionbar",4,"ngIf"],["cellspacing","0",1,"bv2-slo-elements-table"],[1,"header-row"],[1,"bv2-slo-elements-table-order-header"],[1,"bv2-slo-elements-table-type-header"],[1,"bv2-slo-elements-table-priority-header"],[1,"bv2-slo-elements-table-postmortem-header"],[1,"bv2-slo-elements-table-metric-header"],[1,"bv2-slo-elements-table-objective-header"],[1,"bv2-slo-elements-table-daytype-header"],[1,"bv2-slo-elements-table-actions-header"],
["cdkDropList","",3,"cdkDropListData","cdkDropListDisabled","cdkDropListDropped",4,"ngIf"],["class","bv2-slo-elements-table-empty-list-description",4,"ngIf"],[1,"bv2-slo-elements-actionbar"],[1,"slo-picker-actions"],[1,"slo-picker-icon-action-icon-container"],["class","hoverable","matTooltip","Add a new rule",3,"name","size","click",4,"ngIf"],["matTooltip","Clear all rules",1,"hoverable",3,"name","size","click"],["matTooltip","Add a new rule",1,"hoverable",3,"name","size","click"],["cdkDropList",
"",3,"cdkDropListData","cdkDropListDisabled","cdkDropListDropped"],["class","bv2-slo-element-row","cdkDrag","",3,"draggable",4,"ngFor","ngForOf"],["cdkDrag","",1,"bv2-slo-element-row"],["class","bv2-slo-element-row-counter editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-type-column bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-priority-column bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-postmortem-column bv2-editable-slo-element editable-row",
4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-metric bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-objective bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-daytype bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-action editable-row",4,"ngIf"],["class","bv2-slo-element-row-counter display-row",4,"ngIf"],["class","bv2-slo-element-type-column bv2-slo-element-picker-column display-row",
4,"ngIf"],["class","bv2-slo-element-priority-column bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-postmortem-column bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-metric bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-objective bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-daytype bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-action display-row",
4,"ngIf"],[1,"bv2-slo-element-row-counter","editable-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-type-column","bv2-editable-slo-element","editable-row"],[1,"bv2-type-property-picker",3,"selectAllText","validator","options","optionsChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-priority-column","bv2-editable-slo-element","editable-row"],[1,"bv2-priority-property-picker",3,"selectAllText","validator","options","optionsChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-postmortem-column",
"bv2-editable-slo-element","editable-row"],[1,"bv2-postmortem-property-picker",3,"selectAllText","validator","options","optionsChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-metric","bv2-editable-slo-element","editable-row"],["appearance","outline"],["required","true",1,"bv2-enum-field","bv2-slo-elements-picker-metric-selector",3,"ngModel","customValidators","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"bv2-slo-element-picker-column","bv2-slo-element-objective","bv2-editable-slo-element",
"editable-row"],["required","",3,"dayType","objectiveDuration","objectiveBusinessDays","validator","isDisabled","objectiveDurationChange","objectiveBusinessDaysChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-daytype","bv2-editable-slo-element","editable-row"],["color","accent","appearance","outline"],[1,"bv2-enum-field","bv2-slo-elements-picker-daytype-selector",3,"ngModel","ngModelChange","selectionChange"],[1,"bv2-slo-element-action","editable-row"],["matTooltip","Finish editing",1,
"bv2-slo-element-action",3,"name","size","click"],["matTooltip","Remove row",1,"bv2-slo-element-action",3,"name","size","click"],[1,"bv2-slo-element-row-counter","display-row"],[1,"bv2-slo-element-type-column","bv2-slo-element-picker-column","display-row"],[4,"ngIf"],["class","bv2-property-display-chips",4,"ngIf"],[1,"bv2-property-display-chips"],["class","bv2-property-display-chip-container",4,"ngFor","ngForOf"],[1,"bv2-property-display-chip-container"],[1,"matcher-chip-content"],[1,"bv2-slo-element-priority-column",
"bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-postmortem-column","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-metric","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-objective","bv2-slo-element-picker-column","display-row"],["required","",3,"dayType","objectiveDuration","objectiveBusinessDays","isDisabled","objectiveDurationChange","objectiveBusinessDaysChange"],[1,"bv2-slo-element-daytype","bv2-slo-element-picker-column","display-row"],
[1,"bv2-slo-element-action","display-row"],["class","hoverable bv2-slo-element-action-edit","matTooltip","Edit this rule",3,"name","size","click",4,"ngIf"],["class","hoverable bv2-slo-element-action-more-settings","matTooltip","More options",3,"name","size","matMenuTriggerFor",4,"ngIf"],["settingsMenu","matMenu"],["mat-menu-item","","class","bv2-slo-element-action-more-settings-move-down",3,"click",4,"ngIf"],["mat-menu-item","","class","bv2-slo-element-action-more-settings-move-up",3,"click",4,"ngIf"],
["mat-menu-item","",1,"bv2-slo-element-action-more-settings-add-row-below",3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-add-row-above",3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-remove",3,"click"],["matTooltip","Edit this rule",1,"hoverable","bv2-slo-element-action-edit",3,"name","size","click"],["matTooltip","More options",1,"hoverable","bv2-slo-element-action-more-settings",3,"name","size","matMenuTriggerFor"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-down",
3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-up",3,"click"],[1,"bv2-slo-elements-table-empty-list-description"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div")(2,"div")(3,"label",1),R(4,"Rules"),G(),E(5,"a",2),I(6,"b-icon",3),G(),C(7,n$a,6,3,"span",4),G(),E(8,"table",5)(9,"thead")(10,"tr",6)(11,"th",7),R(12,"Order"),G(),E(13,"th",8),R(14,"Type"),G(),E(15,"th",9),R(16,"Priority"),G(),E(17,"th",10),R(18,"Postmortem"),G(),E(19,"th",11),R(20,"Metric"),G(),E(21,"th",
12),R(22,"Objective"),G(),E(23,"th",13),R(24," Day Type "),G(),I(25,"th",14),G()(),C(26,dab,2,3,"tbody",15),G(),E(27,"div"),C(28,eab,2,0,"div",16),G()()());a&2&&(y(6),D("name","help-outline")("size","small"),y(),D("ngIf",!b.isDisabled),y(19),D("ngIf",b.collection&&0!=b.collection.length),y(2),D("ngIf",!b.collection||0==b.collection.length))},dependencies:[hw,dw,I0,JU,IU,Hw,$w,Ow,yP,dB,HC,FC,GC,pN,qA,PC,E0,G0],styles:['.bv2-slo-elements-picker[_ngcontent-%COMP%]{display:block}.bv2-slo-elements-picker[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]{width:1270px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{cursor:pointer}.bv2-slo-elements-picker[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:inherit}.bv2-slo-elements-picker[_ngcontent-%COMP%]     .bv2-slo-elements-picker-metric-selector .mat-select-value-text, .cdk-drag-preview[_ngcontent-%COMP%]     .bv2-slo-elements-picker-metric-selector .mat-select-value-text{padding-left:4px;text-align:left;width:8em}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-table-empty-list-description[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-table-empty-list-description[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);color:#5f6368;color:var(--muted);line-height:32px;text-align:center}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]{cursor:default;display:inline-block;font-size:.8125rem;padding-top:2px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--c100);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:3px;display:inline-block;height:20px;margin-right:4px;white-space:nowrap}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%]   .matcher-chip-content[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%]   .matcher-chip-content[_ngcontent-%COMP%]{display:inline-block;line-height:16px;margin:2px 5px;max-width:550px;overflow:hidden;text-overflow:ellipsis}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .ng-dirty.ng-invalid[_ngcontent-%COMP%] > .jfk-select[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .ng-dirty.ng-invalid[_ngcontent-%COMP%] > .jfk-select[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast);border-width:2px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-table-label[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-table-label[_ngcontent-%COMP%]{font-weight:bold;padding-left:8px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-table-help-icon[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-table-help-icon[_ngcontent-%COMP%]{display:inline-block;padding-bottom:4px;padding-left:4px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%]{float:right}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%]   .slo-picker-icon-action-icon-container[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%]   .slo-picker-icon-action-icon-container[_ngcontent-%COMP%]{display:inline-block;padding-right:8px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-actionbar[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-actionbar[_ngcontent-%COMP%]{float:right}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);counter-reset:rulenumber;width:100%}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]{counter-increment:rulenumber}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border-bottom:0;border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child.drag-over-after, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child.drag-over-after{border-bottom-color:#1a73e8;border-bottom-color:var(--primary)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action[_ngcontent-%COMP%]{padding-left:8px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action.editable-row[_ngcontent-%COMP%]{padding-top:10px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:after, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:after{content:counter(rulenumber) ""}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row.draggable[_ngcontent-%COMP%]:hover > td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:before, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row.draggable[_ngcontent-%COMP%]:hover > td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:before{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 3px 50%;content:"";cursor:grab;float:left;height:14px;width:5px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]{line-height:14px;padding-left:initial;padding-right:initial;text-align:right;width:28px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter.editable-row[_ngcontent-%COMP%]{padding-top:12px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]{text-align:left;padding-left:16px;padding-right:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-summary-text, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-summary-text{width:190px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-option-row, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-option-row{width:212px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-summary-text, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-summary-text{width:102px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-option-row, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-option-row{width:124px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-summary-text, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-summary-text{width:88px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-option-row, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-option-row{width:110px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column.editable-row[_ngcontent-%COMP%]{padding-top:6px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]{text-align:left;padding-left:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:128px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field[_ngcontent-%COMP%]{padding-top:3px;padding-bottom:0px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field.ng-invalid[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field.ng-invalid[_ngcontent-%COMP%]{padding-top:3px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .goog-flat-menu-button[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .goog-flat-menu-button[_ngcontent-%COMP%]{background-color:initial;background-image:initial}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric.editable-row[_ngcontent-%COMP%]{padding-top:3px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector{float:left}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector input, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector input{margin:auto;padding-right:4px;text-align:right;width:3em}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector .goog-flat-menu-button, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector .goog-flat-menu-button{background-color:initial;background-image:initial}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective.editable-row[_ngcontent-%COMP%]{padding-top:6px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype{text-align:left;padding-left:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype mat-form-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype mat-form-field{width:111px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field{padding-top:3px;padding-bottom:0px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field.ng-invalid, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field.ng-invalid{padding-top:3px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .goog-flat-menu-button, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .goog-flat-menu-button{background-color:initial;background-image:initial}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-daytype.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-daytype.editable-row[_ngcontent-%COMP%]{padding-top:6px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field{padding-right:10px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-wrapper, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-wrapper{padding:0}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-select-arrow-wrapper, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-select-arrow-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-select-arrow-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-select-arrow-wrapper{transform:none}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-infix, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-infix, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-infix, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-infix{padding:1px 0 7px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   .header-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   .header-row[_ngcontent-%COMP%]{border:0px;height:28px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-order-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-order-header[_ngcontent-%COMP%]{padding-left:16px;text-align:right;width:28px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-type-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-type-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:212px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-postmortem-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-postmortem-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-priority-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-priority-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-metric-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-metric-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-objective-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-objective-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:200px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-daytype-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-daytype-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-actions-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-actions-header[_ngcontent-%COMP%]{padding-left:16px;text-align:left;width:60px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%]{height:18px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%]   .goog-inline-block[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%]   .goog-inline-block[_ngcontent-%COMP%]{background:none;border:none;box-shadow:none;line-height:initial;min-width:initial;padding:0;vertical-align:initial}.cdk-drag-preview[_ngcontent-%COMP%]{counter-increment:rulenumber;background-color:#fff;background-color:var(--surface-default);box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);display:table}.cdk-drag-preview[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border-bottom:0;border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider)}.cdk-drag-preview[_ngcontent-%COMP%]:last-child{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}.cdk-drag-preview[_ngcontent-%COMP%]:last-child.drag-over-after{border-bottom-color:#1a73e8;border-bottom-color:var(--primary)}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-action[_ngcontent-%COMP%]{padding-left:8px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-action.editable-row[_ngcontent-%COMP%]{padding-top:10px;vertical-align:top}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:after{content:counter(rulenumber) ""}.cdk-drag-preview.draggable[_ngcontent-%COMP%]:hover > td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:before{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 3px 50%;content:"";cursor:grab;float:left;height:14px;width:5px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]{line-height:14px;padding-left:initial;padding-right:initial;text-align:right;width:28px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter.editable-row[_ngcontent-%COMP%]{padding-top:12px;vertical-align:top}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]{text-align:left;padding-left:16px;padding-right:16px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-summary-text{width:190px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-option-row{width:212px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-summary-text{width:102px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-option-row{width:124px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-summary-text{width:88px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-option-row{width:110px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column.editable-row[_ngcontent-%COMP%]{padding-top:6px;vertical-align:top}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]{text-align:left;padding-left:16px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:128px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field[_ngcontent-%COMP%]{padding-top:3px;padding-bottom:0px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field.ng-invalid[_ngcontent-%COMP%]{padding-top:3px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .goog-flat-menu-button[_ngcontent-%COMP%]{background-color:initial;background-image:initial}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric.editable-row[_ngcontent-%COMP%]{padding-top:3px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector{float:left}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector input{margin:auto;padding-right:4px;text-align:right;width:3em}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector .goog-flat-menu-button{background-color:initial;background-image:initial}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective.editable-row[_ngcontent-%COMP%]{padding-top:6px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype{text-align:left;padding-left:16px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype mat-form-field{width:111px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field{padding-top:3px;padding-bottom:0px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field.ng-invalid{padding-top:3px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .goog-flat-menu-button{background-color:initial;background-image:initial}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-daytype.editable-row[_ngcontent-%COMP%]{padding-top:6px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field{padding-right:10px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-wrapper{padding:0}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-select-arrow-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-select-arrow-wrapper{transform:none}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-infix, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-infix{padding:1px 0 7px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:after{content:""}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform 250ms cubic-bezier(0, 0, 0.2, 1)}/*# sourceMappingURL=slo-elements-picker.css.map */']});
var K0=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=Hzc(d.priorityPickerValues)?null:"Priority can't be empty";d.priorityPickerValid=null===e;return e};this.validateTypePicker=function(){var e=Hzc(d.typePickerValues)?null:"Type can't be empty";d.typePickerValid=
null===e;return e};this.validatePostmortemPicker=function(){var e=Hzc(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=Szc(a.objective);this.selectedObjectiveBusinessDays=a.businessDays;this.canEdit=!b.isDisabled;this.metricValidators={required:function(e){return Tzc(d,e)}};Uzc(this);this.typePickerValues=Vzc(this.controllerReference.sloParseService.enumTypeToString.keys(),function(e){return 0===
d.parseResult.types.length||d.parseResult.types.includes(e)},function(e){return G$a(d.controllerReference,e)});this.priorityPickerValues=Vzc(this.controllerReference.sloParseService.enumPriorityToString.keys(),function(e){return 0===d.parseResult.priorities.length||d.parseResult.priorities.includes(e)},function(e){return L$a(d.controllerReference,e)});this.postmortemPickerValues=Vzc(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();Tzc(this,this.selectedMetric)},Szc=function(a){return a?a:{seconds:86400,nanos:0}};K0.prototype.isValid=function(){return this.priorityPickerValid&&this.typePickerValid&&this.postmortemPickerValid&&this.metricSelectorValid&&this.objectiveValid};
var Tzc=function(a,b){b="METRIC_UNSPECIFIED"!==b;return a.metricSelectorValid=b};
K0.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;Wzc(this);this.sloElement.metric=this.selectedMetric;this.sloElement.dayType=this.selectedDayType;this.sloElement.objective=this.selectedObjectiveDuration;this.sloElement.businessDays=this.selectedObjectiveBusinessDays;Uzc(this)}};
var Wzc=function(a){var b=a.getEnumValues(a.typePickerValues),c=a.getEnumValues(a.priorityPickerValues),d=a.getEnumValues(a.postmortemPickerValues);b=Xzc(b,function(f){return a.controllerReference.sloParseService.enumTypeToString.get(f)});c=Xzc(c,function(f){return a.controllerReference.sloParseService.enumPriorityToString.get(f)});d=Xzc(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};K0.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 Xzc=function(a,b){if(0===a.length)return"";if(1===a.length)return b(a[0]);var c=[];a=l(a);for(var d=a.next();!d.done;d=a.next())c.push(b(d.value));return"("+c.join("|")+")"};
K0.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;Uzc(this)}};var Uzc=function(a){a.parseResult=Ozc(a.controllerReference.sloParseService,a.matcherText)},Vzc=function(a,b,c){var d={};a=l(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=b(e),h=c(e);d[""+e]=new Fzc(h,f)}return new Gzc(d)};var L0=function(){};L0.\u0275fac=function(a){return new (a||L0)};L0.\u0275mod=Nc({type:L0});L0.\u0275inj=wc({imports:[SH,dx,qN]});var M0=function(){};M0.\u0275fac=function(a){return new (a||M0)};M0.\u0275mod=Nc({type:M0});M0.\u0275inj=wc({imports:[SH]});var N0=function(){};N0.\u0275fac=function(a){return new (a||N0)};N0.\u0275mod=Nc({type:N0});N0.\u0275inj=wc({imports:[SH,M0,KU,dx,DP,eB,IC,qN,JD,F0,L0]});var O0=function(a,b,c,d,e){Y.call(this);this.element=a;this.cdr=b;this.location=c;this.paths=d;this.hotkeys=e;this.focusedIndex=0;this.slos=[]};X(O0,Y);O0.\u0275dir=Y.\u0275dir;g=O0.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=WM(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))};
O0.\u0275fac=function(a){return new (a||O0)(A(Ad),A(EF,2),A(hI),A(iI),A(VM))};
O0.\u0275cmp=Lc({type:O0,selectors:[["b-slo-grid"]],inputs:{slos:"slos"},features:[bg([EF]),nf],decls:16,vars:1,consts:[[1,"pop-grid","bv2-resource-list","bv2-slo-grid"],[1,"header-row"],[1,"focus-indicator"],[1,"bv2-columnheader-content"],[1,"pop-grid-default-th"],[1,"pop-grid-non-sort-header"],["class","bv2-resource-list-row","tabindex","0",3,"grid-focus","click","focus",4,"ngFor","ngForOf"],["tabindex","0",1,"bv2-resource-list-row",3,"click","focus"],[1,"bv2-resource-list-cell","slo-name","clickable"],
["tabindex","-1",1,"grid-link",3,"href","click"],[1,"bv2-resource-list-cell","slo-description","clickable"]],template:function(a,b){a&1&&(E(0,"table",0)(1,"thead")(2,"tr",1),I(3,"th",2),E(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),R(8," SLO name "),G()()()(),E(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),R(13," Description "),G()()()()()(),E(14,"tbody"),C(15,fab,7,7,"tr",6),G()());a&2&&(y(15),D("ngForOf",b.slos))},dependencies:[hw],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 P0=function(){};P0.\u0275fac=function(a){return new (a||P0)};P0.\u0275mod=Nc({type:P0});P0.\u0275inj=wc({imports:[SH]});var Q0=function(a,b){this.log=a;this.dateFormatter=b},Zzc=function(a,b){var c=XQa(b.addMask.paths),d=XQa(b.removeMask.paths),e={author:b.author||null,timestamp:b.timestamp||null,diffs:[]},f=b.add;b=b.remove;for(var h=l(new Set([].concat(r(c),r(d)))),k=h.next();!k.done;k=h.next()){var q=k.value;k=x7b.get(q);if("name"===q){var t=up(d,q,b.name);q=up(c,q,f.name);e.diffs.push(vp(k,t,q))}else if("description"===q)t=up(d,q,b.description),q=up(c,q,f.description),e.diffs.push(vp(k,t,q));else if("parentId"===
q)t=up(d,q,String(b.parentId)),q=up(c,q,String(f.parentId)),e.diffs.push(vp(k,t,q));else if("elements"===q){var w=f.elements;t=YQa(d,q,b.elements.map(function(z){return Yzc(z)}));q=YQa(c,q,w.map(function(z){return Yzc(z)}));e.diffs.push({fieldName:k,diffType:"COLLECTION",diff:{removed:t,added:q}})}else a.log.error("Unsupported diff field.")}return e},Yzc=function(a){var b=a.matcher,c=w7b.get(a.metric),d=w$a.get(a.dayType),e=[];0<a.businessDays&&e.push(a.businessDays+" day"+(1<a.businessDays?"s":""));
0<a.objective.seconds&&e.push(mkc(1E3*a.objective.seconds));return'("'+b+'", '+c+") - "+(d+" days - "+e.join(", "))};Q0.\u0275fac=function(a){return new (a||Q0)(p(DF),p(yS))};Q0.\u0275prov=vc({token:Q0,factory:Q0.\u0275fac,providedIn:"root"});var R0=function(){};R0.\u0275fac=function(a){return new (a||R0)};R0.\u0275mod=Nc({type:R0});R0.\u0275inj=wc({imports:[SH,vS,$C,JA]});var bAc=function(a,b){this.$log=b;this.templateAttributes={};this.templateCustomFields={};b=l($zc);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?bi(f):""}):e="string"===typeof d?bi(d):"";this.templateAttributes[c]=e}b=l(aAc);for(c=b.next();!c.done;c=b.next())c=c.value,a[c]&&(this.templateAttributes[c]=a[c]);if(a=a.customFields)for(a=Array.isArray(a)?a:[a],a=l(a),b=a.next();!b.done;b=a.next())b=b.value.split(":"),
c=b.slice(1).join(":"),Ui(c)||(this.templateCustomFields[b[0]]=c)},dAc=function(a){return 0!==Object.keys(a.templateCustomFields||{}).length||cAc.some(function(b){return null!=a.templateAttributes[b]})},iAc=function(a,b,c){null!=c&&(eAc(a,c),fAc(a,b,c),gAc(b,c));c=l(Object.entries(a.templateAttributes));for(var d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;hAc[d](b,e)}a.templateAttributes={};a.templateCustomFields={}},fAc=function(a,b,c){null==b.customField&&(b.customField=
[]);for(var d={},e=l(b.customField),f=e.next();!f.done;f=e.next())f=f.value,d[f.customFieldId]=f;e=l(Object.entries(a.templateCustomFields));var h=e.next();for(f={};!h.done;f={customFieldId$jscomp$21:void 0},h=e.next()){var k=l(h.value);h=k.next().value;k=k.next().value;f.customFieldId$jscomp$21=Zh(h);k={customFieldId:f.customFieldId$jscomp$21,value:k};h=a.getCustomFieldValue(k,c);null!=d[f.customFieldId$jscomp$21]?(f=b.customField.findIndex(function(q){return function(t){return t.customFieldId===
q.customFieldId$jscomp$21}}(f)),b.customField[f]=h):(b.customField.push(h),d[k.customFieldId]=h)}};
bAc.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=KAa(a.value)||void 0;break;case "ENUM":c.enumValue=a.value;break;case "NUMERIC":c.numericValue=LAa(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 KAa(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 LAa(e)}).filter(function(e){return null!==e});c.repeatedNumericValue={values:d};break;default:this.$log.warn("Invalid custom field type '"+b+"'.")}}return c};bAc.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=b[a.customFieldId])?void 0:c.type)?d:""};
var eAc=function(a,b){a.templateCustomFields=$b(a.templateCustomFields,function(c,d){return!!b[d]})},gAc=function(a,b){if(null!=a.customField){a=l(a.customField);for(var c=a.next(),d={};!c.done;d={allowedValues:void 0},c=a.next()){c=c.value;var e=b[c.customFieldId];if(e&&e.type&&e.type.includes("ENUM")){d.allowedValues=e.allowedValue||[];var f=e.required&&e.typedDefaultValue;e.type.includes("REPEATED")?(c.repeatedEnumValue=c.repeatedEnumValue||{values:[]},c.repeatedEnumValue.values=c.repeatedEnumValue.values.filter(function(h){return function(k){return h.allowedValues.includes(k)}}(d)),
!c.repeatedEnumValue.values.length&&f&&(c.repeatedEnumValue=e.typedDefaultValue.repeatedEnumValue)):d.allowedValues.includes(c.enumValue)||(c.enumValue=f?e.typedDefaultValue.enumValue:"")}}}},$zc="title type priority severity assignee verifier reporter collaborators cc hotlistIds blockedByIssueIds blockingIssueIds foundIn targetedTo".split(" "),aAc=["inProd"],cAc="severity foundIn inProd reporter verifier targetedTo blockedByIssueIds blockingIssueIds".split(" "),S0={},hAc=(S0.cc=function(a,b){a.ccUsers=
jab(b,a.ccUsers||[])},S0.collaborators=function(a,b){a.collaboratorsUsers=jab(b,a.collaboratorsUsers||[])},S0.title=function(a,b){"string"===typeof b&&(a.title=b)},S0.assignee=function(a,b){iab(b,function(c){a.assigneeUser=c})},S0.reporter=function(a,b){iab(b,function(c){a.reporterUser=c})},S0.verifier=function(a,b){iab(b,function(c){a.verifierUser=c})},S0.hotlistIds=function(a,b){if(b=gab(b)){a.hotlistId||(a.hotlistId=[]);b=l(b);for(var c=b.next();!c.done;c=b.next())a.hotlistId.push(c.value)}},S0.blockingIssueIds=
function(a,b){if(b=gab(b))a.blockingIssueId=b.map(String)},S0.blockedByIssueIds=function(a,b){if(b=gab(b))a.blockedByIssueId=b.map(String)},S0.foundIn=function(a,b){"string"===typeof b&&(a.foundInVersion=b.split(","))},S0.targetedTo=function(a,b){"string"===typeof b&&(a.targetedToVersion=b.split(","))},S0.inProd=function(a,b){a.inProd="true"===b},S0.priority=function(a,b){if(b=hab(p5b,b))a.priority=dl(b)},S0.severity=function(a,b){if(b=hab(s5b,b))a.severity=Nva(b)},S0.type=function(a,b){if(b=hab(r5b,
b))a.type=Mva(b)},S0);var T0=function(a,b){this.issueRelationshipApi=a;this.issueApi=b};
T0.prototype.bulkEdit=function(a){var b=this,c,d,e,f,h,k,q,t,w,z,F,J,H;return ke(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("De");h={};k=[];q=[];t=HBa(e);w=l(t.reverse());z=w.next();case 2:if(z.done){O.jumpTo(4);break}F=z.value;le(O,5);return"ADD"===f?(J=F.map(function(P){return{targetIssueId:P,afterIssueId:void 0}}),me(O,(0,W.firstValueFrom)(Y6b(b.issueRelationshipApi,d,J)),8)):me(O,(0,W.firstValueFrom)(Z6b(b.issueRelationshipApi,
d,F)),8);case 8:return me(O,b.issueApi.batchGetIssues(F).then(function(P){return P.map(function(U){return h[U.issueId]=U})}),11);case 11:xt(O,3);break;case 5:H=pe(O);if(!sn(H))throw H;q.push(H);k.push.apply(k,r(F));case 3:z=w.next();O.jumpTo(2);break;case 4:return O.return({finishedIssues:h,notFinishedIssueIds:k,errors:q})}})};T0.\u0275fac=function(a){return new (a||T0)(p(nJ),p(PH))};T0.\u0275prov=vc({token:T0,factory:T0.\u0275fac,providedIn:"root"});var U0=function(a,b){Y.call(this);this.routerEvents=a;this.bLocation=b;this.history=[]};X(U0,Y);U0.\u0275dir=Y.\u0275dir;U0.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()}))};U0.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};U0.prototype.hasPreviousPage=function(){return 1<this.history.length};
var V0=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("/")};U0.\u0275fac=function(a){return new (a||U0)(p(LI),p(hI))};U0.\u0275prov=vc({token:U0,factory:U0.\u0275fac,providedIn:"root"});var W0=function(a,b,c){this.bLocation=a;this.routeParams=b;this.domSafe=c},jAc=function(a,b,c){var d=a.routeParams.redirectUrl;if(d&&d.startsWith("http")){if(c&&Ft(d,"id=")||Ft(d,"bugId="))d+=c;JE(a.domSafe,d)}else{var e;a.bLocation.replaceUrl(null!=(e=d)?e:b)}};W0.\u0275fac=function(a){return new (a||W0)(p(hI),p(xK),p(IE))};W0.\u0275prov=vc({token:W0,factory:W0.\u0275fac,providedIn:"root"});var X0=function(a,b){Y.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||(y4b("appNavStart"),c.mostRecentlyMeasured="")};this.onNavSuccess=function(){c.ignoringNextNav?c.ignoringNextNav=!1:c.validNavigations++}};X(X0,Y);X0.\u0275dir=Y.\u0275dir;
X0.prototype.install=function(){var a=this;Ym()&&(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}),Ue()).subscribe(function(){a.tabWasHidden=!0})))};
var kAc=function(a,b){y4b(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)&&Ym())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)}}};X0.\u0275fac=function(a){return new (a||X0)(p(LI),p(Y0))};
X0.\u0275prov=vc({token:X0,factory:X0.\u0275fac,providedIn:"root"});var Y0=function(a){var b=this;this.window=a;this.visibilityState$=(0,W.fromEvent)(this.window.document,"visibilityChange").pipe(cf(void 0),B(function(){return b.currentVisibility}))};Vg.Object.defineProperties(Y0.prototype,{currentVisibility:{configurable:!0,enumerable:!0,get:function(){return this.window.document.visibilityState}}});Y0.\u0275fac=function(a){return new (a||Y0)(p(uE))};
Y0.\u0275prov=vc({token:Y0,factory:Y0.\u0275fac,providedIn:"root"});var lAc={provide:n6b,useValue:function(a){return a.replace(/(action\/components\/[0-9]+)\/(move|updateSlo|updateTeam)/,"$1")},multi:!0},mAc={provide:n6b,useValue:function(a){return a.replace(/(action\/hotlists\/[0-9]+)\/archive/,"$1")},multi:!0};var Z0=function(a){this.activeSession=a};Z0.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)};Z0.\u0275fac=function(a){return new (a||Z0)(p(nt))};Z0.\u0275prov=vc({token:Z0,factory:Z0.\u0275fac,providedIn:"root"});var nAc={provide:Oz,useClass:Z0,multi:!0};var a1=function(a){this.http=a};X(a1,QD);g=a1.prototype;g.get=function(a){return this.request("get",a)};g.delete=function(a){return this.request("delete",a)};g.post=function(a){return this.request("post",a,a.body)};g.put=function(a){return this.request("put",a,a.body)};g.request=function(a,b,c){var d=b.options;d=void 0===d?{}:d;d={headers:d.headers||{},params:Object.assign({},d.params)};var e;c=null!=(e=null==c?void 0:c.toJSON())?e:null;return this.http.request(a,b.url,Object.assign({},d,{body:c})).pipe(B(kab(b.responseConstructor)))};
a1.\u0275fac=function(a){return new (a||a1)(p(Nz))};a1.\u0275prov=vc({token:a1,factory:a1.\u0275fac,providedIn:"root"});var b1=function(a){this.jspbExecutor=a};X(b1,RD);b1.prototype.get=function(a){return(0,W.firstValueFrom)(this.jspbExecutor.get(a))};b1.prototype.delete=function(a){return(0,W.firstValueFrom)(this.jspbExecutor.delete(a))};b1.prototype.post=function(a){return(0,W.firstValueFrom)(this.jspbExecutor.post(a))};b1.prototype.put=function(a){return(0,W.firstValueFrom)(this.jspbExecutor.put(a))};
b1.\u0275fac=function(a){return new (a||b1)(p(a1))};b1.\u0275prov=vc({token:b1,factory:b1.\u0275fac,providedIn:"root"});var c1=function(){};c1.\u0275fac=function(a){return new (a||c1)};c1.\u0275mod=Nc({type:c1});c1.\u0275inj=wc({providers:[{provide:QD,useClass:a1},{provide:RD,useClass:b1}],imports:[SH]});var oAc=function(a){this.lookupId_=a;this.displayName_="";this.forceDisplayNameOverride_=!1};g=oAc.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 d1=function(a){this.internalArray_=m(a)};X(d1,n);g=d1.prototype;g.getEnableClearcut=function(){return Xi(this,1,!1)};g.setEnableClearcut=function(a){return Mh(this,1,a)};g.getClientId=function(){return cj(this,2,0)};g.setClientId=function(a){return tj(this,2,a)};g.getSocialApplication=function(){return cj(this,3,0)};g.getSocialApplicationOrUndefined=function(){return xs(this,3)};g.getComponentFlow=function(){return cj(this,4,0)};g.setComponentFlow=function(a){return tj(this,4,a)};
g.getInterfaceType=function(){return cj(this,5,0)};g.setInterfaceType=function(a){return tj(this,5,a)};var e1=function(a){this.internalArray_=m(a)};X(e1,n);var pAc=function(){var a=xr.getExperiments();return Xi(a,12,!1)},qAc=[0,iu,-12];var f1=function(a){this.internalArray_=m(a)};X(f1,n);f1.prototype.getApplication=function(){return cj(this,1,0)};f1.prototype.setApplication=function(a){return tj(this,1,a)};f1.prototype.getApplicationOrUndefined=function(){return xs(this,1)};f1.prototype.getIsEnabled=function(){return Xi(this,2,!1)};var rAc=function(a){this.internalArray_=m(a)};X(rAc,n);g=rAc.prototype;g.getClearcut=function(){return $i(this,d1,1)};g.setClearcut=function(a){li(this,d1,1,a)};g.hasClearcut=function(){return ji(this,d1,1)};g.getExperiments=function(){return $i(this,f1,2)};g.setExperiments=function(a){return li(this,f1,2,a)};g.hasExperiments=function(){return ji(this,f1,2)};var or=function(a){return Xi(a,7,!1)};var sAc=Mda(rAc);var tAc;var uAc=function(){this.actionListeners=new Map};uAc.prototype.subscribe=function(a,b){this.actionListeners.has(a)?this.actionListeners.get(a).push(b):this.actionListeners.set(a,[b])};uAc.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)}};
uAc.prototype.notify=function(a){var b=Vc.apply(1,arguments);if(this.actionListeners.has(a)){var c=this.actionListeners.get(a);c=l(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;try{d.apply(null,b)}catch(e){}}}};var vAc=function(){this.actionEventDispatcher=new uAc};var wAc=function(){var a=Ab(tAc||(tAc=sAc("[[true,49,740,4],[7,true]]")));this.injectorService=new vAc;a.hasClearcut()||a.setClearcut(new d1);a.hasExperiments()||a.setExperiments(new f1);this.internal=a};var pab=function(a){this.root=a;this.length=0};g=pab.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("Fe");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("Fe");var b=this.getItems();this.root.removeChild(b[a]);--this.length};
g.clear=function(){NXb(this.root);this.length=0};g.getRoot=function(){return this.root};var nab=function(a){return er('<ul id="'+hr(a.id)+'" peoplekit-id="'+hr("rymPhb")+'" role="listbox" aria-multiselectable="true" class="'+hr("peoplekitComponentsListImplList")+'"></ul>')};var oab=Uq.getInstance();var Eab=function(a){this.isActive=!1;this.multiActivateAnchorIndex=this.spotlightIndex=-1;this.secondaryEventTargets=[];this.list=[].concat(r(a));this.activeItems=new Set([]);this.hideContextMenu=function(){}};g=Eab.prototype;
g.remove=function(a,b){var c=-1;a=l(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c=this.list.indexOf(d),this.list.splice(c,1),this.activeItems.delete(d),b||(c<this.spotlightIndex?--this.spotlightIndex:c===this.spotlightIndex&&this.reset());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(r(b)));c?(xAc(this),yAc(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:xAc(this);zAc(this);break;case 3:zAc(this);break;case 1:a=rab(this.spotlightIndex,c,this.multiActivateAnchorIndex);b=rab(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);yAc(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=l(this.list),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.getRoot();if(d===a||d.contains(a))return c}};g.getIndexOf=function(a){return this.list.indexOf(a)};g.clear=function(){this.reset();this.list.length=0};g.reset=function(){this.hideContextMenu();xAc(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(r(this.secondaryEventTargets));b=l(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 zAc=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},xAc=function(a){for(var b=l(a.activeItems),c=b.next();!c.done;c=b.next())c=c.value,c.deactivate(),c.unspotlight();a.activeItems.clear()},yAc=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 AAc=function(a){this.delegate=a};g=AAc.prototype;g.prev=function(a){a=this.delegate.prev(a);BAc(this);return a};g.next=function(a){a=this.delegate.next(a);BAc(this);return a};g.size=function(){return this.delegate.size()};g.goToItem=function(a,b){a=this.delegate.goToItem(a,b);BAc(this);return a};g.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);BAc(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 BAc=function(a){(a=a.delegate.getSpotlitItem())&&uab(a.getRoot())};var Wab=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=Wab.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("Fe");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("Fe");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 CAc=function(a,b,c,d){this.loggingToken=d;(new oAc(a)).setDisplayName(b).forceDisplayNameOverride_=c};CAc.prototype.getLoggingToken=function(){return this.loggingToken};var DAc=function(){};DAc.prototype.getDisplayNameMatches=function(){return[]};DAc.prototype.getDisplayValueMatches=function(){return[]};DAc.prototype.getGivenNameMatches=function(){return[]};var EAc=new DAc;var vab=function(a,b,c){this.resultType_=a;this.targets_=b;this.memberCount_=c};g=vab.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("He");};g.getDisplayName=function(){return""};g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};
g.getMatchInfo=function(){return EAc};g.getExtendedData=function(){return null};var FAc=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 Yr=function(){this.url_="";this.sourceType_=this.type_=0;this.glyph_=""};g=Yr.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 GAc=(new Yr).setType(1).setUrl("https://lh3.googleusercontent.com/a/default-user"),HAc=new Yr;var g1=function(a){this.id_=a;this.value_=this.id_.getOriginalValue();this.description_=this.canonicalValue_="";this.name_=null;this.photo_=yr(this.id_)?HAc:GAc;this.tags_=[];this.sourceIds_=ceb.includes(this.id_.getType())?[this.id_]:[];8===this.id_.getType()&&this.sourceIds_.push($db(this.id_.getOriginalValue()));this.isMe_=17===this.id_.getType();this.dataSource_=0;this.resultType_=FAc.get(this.id_.getType())||0;this.personLoggingId_=this.fieldLoggingId_="";this.orgState_=0;this.extendedData_=
this.originatingField_=this.emailSecurityInfo_=null};g=g1.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_=Oq(a);return this};g.getDisplayValue=function(){switch(this.getTargetType()){case 8:var a=this.getOriginatingField();return Oq(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_=Oq(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_=Oq(a);return this};g.getPhoto=function(){return this.photo_};g.setPhoto=function(a){a&&a.getUrl()&&1!==a.getType()?this.photo_=a:this.photo_=yr(this.id_)?HAc:GAc};
g.getTagList=function(){return this.tags_};var heb=function(a,b){a.tags_=b||[]};g=g1.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 os};
g.getIsMe=function(){return this.isMe_};var feb=function(a,b){a.isMe_=b;return a};g=g1.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_=Oq(a)};g.getPersonLoggingId=function(){return this.personLoggingId_};g.setPersonLoggingId=function(a){this.personLoggingId_=Oq(a)};
g.getOrgState=function(){return this.orgState_};g.getOriginatingField=function(){return this.originatingField_};var Veb=function(a,b){a.originatingField_=b;return a};g1.prototype.getEmailSecurityInfo=function(){return this.emailSecurityInfo_};var jeb=function(a,b){a.emailSecurityInfo_=b};g1.prototype.getExtendedData=function(){return this.extendedData_};var Xr=function(a){return new g1(a)};var IAc=function(a){this.internalId=a;this.displayNameOverride="";this.forceDisplayNameOverride=!1;a=Xr(this.internalId).setDataSource(3);this.internalResult=new xq(wab(0,[a]));this.internalSelectionToken=new CAc(this.internalId,this.displayNameOverride,this.forceDisplayNameOverride,null)};g=IAc.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 Cab=function(a,b){this.root=a;this.options=b};g=Cab.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 IAc(beb(this.options.id))};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var Bab=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="'+hr(e)+'" peoplekit-id="'+hr("UhZROb")+'" class="'+hr("peoplekitComponentsContextmenuitemImplMenuItem")+" "+hr(c)+'"'+(d?' aria-label="'+hr(d)+'"':"")+'><div class="'+hr("peoplekitComponentsContextmenuitemImplRow")+'">'+(LO(f)?'<img class="'+hr("peoplekitComponentsContextmenuitemImplIcon")+" "+hr("peoplekitComponentsContextmenuitemImplLeft")+'" src="'+
hr(Kec(f))+'" draggable="false" alt=""/>':"")+'<div class="'+hr("peoplekitComponentsContextmenuitemImplLabel")+" "+hr("peoplekitComponentsContextmenuitemImplCenter")+'">'+ir(a)+"</div>";0<b.length&&(c+='<div class="'+hr("peoplekitComponentsContextmenuitemImplKeyboardShortcut")+" "+hr("peoplekitComponentsContextmenuitemImplRight")+'"><span dir="ltr">',c+=ir(b.join("+"))+"</span></div>");return er(c+"</div></div>")};var Mdb=new Map([["pcw-select",3],["pcw-deselect",3],["pcw-click",3],["pcw-input",15]]);var yab=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 Vq=function(a,b){this.ariaParent=a;this.delegate=b};g=Vq.prototype;g.update=function(){var a=this.getSpotlitItem();a?(a=a.getRoot(),UM(this.ariaParent,a)):UM(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 h1=function(a){this.event=a;this.hasStoppedPropagationInternal=!1};h1.prototype.stopPropagation=function(){this.event.stopPropagation();this.hasStoppedPropagationInternal=!0};h1.prototype.preventDefault=function(){this.event.preventDefault()};var Gab=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=Rq(this)};g=Gab.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 h1(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(new h1(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 JAc=Object.freeze(new Yq(NaN,NaN)),KAc=Object.freeze(new WO(NaN,NaN,NaN,NaN)),br=function(a,b){this.root=a;this.options=b;this.lastPosition=JAc;this.lastBounds=KAc;this.anchorUpdateTimer=new YB(15);this.eventHandler=Rq(this);this.attach()};br.prototype.attach=function(){var a=this;this.eventHandler.listen(this.anchorUpdateTimer,"tick",function(){return LAc(a)})};br.prototype.isShown=function(){return"none"!=this.root.style.display};br.prototype.dispose=function(){this.hide();this.eventHandler.removeAll()};
br.prototype.show=function(a){this.anchor=a;this.lastPosition=JAc;this.lastBounds=KAc;$O(this.root,!0);LAc(this);this.anchorUpdateTimer.start()};
var LAc=function(a){var b;if(b=a.anchor){if(!(b=!a.lastPosition.equals(ZO(a.anchor)))){b=a.lastBounds;var c=Wq(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=Wq(c),b=(c=Xq(c))?b.intersection(Jab(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;ar(b,"","");b.style.height=YO("",!0);var h=Nab(c,e,b,f,d);c=Nab(c,e^1,b,f^1,d);h.height>=
c.height||!d?Qab(b,h):Qab(b,c);a.lastPosition=ZO(a.anchor);a.lastBounds=Wq(a.root)}};br.prototype.hide=function(){this.root.style.cssText="";$O(this.root,!1);this.anchorUpdateTimer.stop();this.lastPosition=JAc;this.lastBounds=KAc};var MAc=new zB;MAc.altKey=!0;MAc.keyCode=39;(new zB).keyCode=13;var NAc=function(){wB.call(this)};X(NAc,wB);NAc.prototype.init=function(){};new NAc;var OAc=!Nq&&!qaa(),PAc=function(a,b){if(/-[a-z]/.test(b))return null;if(OAc&&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 dr=function(a,b,c,d,e){this.root=a;this.anchor=b;this.container=d;this.appearanceConfig=e;this.popup=Rab(this.root,{});this.navigatable=Fab(c);this.navigationEventHandler=Hab({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=Rq(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()};
dr.prototype.append=function(a){var b=this;this.contextMenuItemOptions.set(a.id,a);var c=Dab(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(Sq(e))}d.stopPropagation();QAc(b,a);b.hide()});this.navigatable.insert(this.navigatable.size(),[c],!1)};
dr.prototype.show=function(){for(var a=l(this.beforeShowCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b();this.popup.show(this.anchor);this.navigationEventHandler.attach(this.root,this.navigatable);this.navigatable.next(0)};dr.prototype.hide=function(){this.popup.hide();this.navigatable.reset();this.navigationEventHandler.detach();for(var a=l(this.afterHideCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b()};
dr.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(Sq(c));b=b.getSelection().id().getValue();b=this.contextMenuItemOptions.get(b);QAc(this,b);this.hide();a.stopPropagation();a.preventDefault()}}};
var RAc=function(a,b){a.itemSelectedCallbacks.add(b)},SAc=function(a,b){a.afterHideCallbacks.add(b)},QAc=function(a,b){a=l(a.itemSelectedCallbacks.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};dr.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 Vab=function(){return er('<div peoplekit-id="'+hr("xl07Ob")+'" class="'+hr("peoplekitComponentsContextmenuImplMenu")+'" role="menu"></div>')};var Zab=function(a){var b=this;this.root=a;this.internalIsDisabled=!1;this.eventHandler=Rq(this);this.eventHandler.listen(this.root,"click",function(c){var d;null==(d=b.onClick)||d.call(b,c)})};g=Zab.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 Yab=function(a){a=a.label;return er('<button class="'+hr("peoplekitComponentsButtonLabelLabelButton")+'">'+ir(a)+"</button>")};var tbb=function(a,b,c){var d=this;this.root=a;this.actionListeners=[];this.eventHandler=Rq(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=cr(this.root,"Sx9Kwc");this.startFocusableElement=cr(this.root,"tYwGbe");this.endFocusableElement=cr(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=tbb.prototype;g.subscribeToAction=function(a){this.actionListeners.push(a)};
g.dispatchAction=function(a){var b=this.actionButtons.get(a);if(b&&!b.isDisabled()){for(var c=l(this.actionListeners),d=c.next();!d.done;d=c.next())d=d.value,d(a);a=b.getRoot();a.dispatchEvent(Sq(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=Sab(this.dialog);a.length&&a[0].focus()};g.focusLastFocusableElement=function(){var a=Sab(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=l(this.actionButtons.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.actionButtons.clear()};var sbb=function(a){var b=a.content;a=a.header;return er('<div peoplekit-id="'+hr("GGAcbc")+'" class="'+hr("peoplekitComponentsDialogImplScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+hr("tYwGbe")+'" tabindex="0" role="application"></div><div peoplekit-id="'+hr("Sx9Kwc")+'" class="'+hr("peoplekitComponentsDialogImplDialog")+'" tabindex="-1">'+(LO(a)?'<div class="'+hr("peoplekitComponentsDialogImplHeader")+'">'+ir(a)+"</div>":"")+'<div class="'+hr("peoplekitComponentsDialogImplContent")+
'">'+ir(b)+'</div><div class="'+hr("peoplekitComponentsDialogImplActions")+'">'+er(TAc("IbE0S"))+er('<div class="'+hr("peoplekitComponentsDialogImplActionDivider")+'"></div>')+er(TAc("McfNlf"))+'</div></div><div peoplekit-id="'+hr("dYgZK")+'" tabindex="0" role="application"></div></div>')},TAc=function(a){return er('<div peoplekit-id="'+hr(a)+'"></div>')};var dbb=function(a,b){var c=this;this.root=a;this.closeButton=b;this.actionListeners=[];this.eventHandler=Rq(this);this.dialog=cr(this.root,"Sx9Kwc");this.startFocusableElement=cr(this.root,"tYwGbe");this.endFocusableElement=cr(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=dbb.prototype;g.subscribeToAction=function(a){this.actionListeners.push(a)};g.dispatchAction=function(a){if(!this.closeButton.isDisabled()&&2===a)for(var b=l(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=Sab(this.dialog);a.length&&a[0].focus()};g.focusLastFocusableElement=function(){var a=Sab(this.dialog);a.length&&a[a.length-1].focus()};g.onScrimClick=function(){this.dispatchAction(2)};var cbb=function(a){var b=a.content;a=a.header;return er('<div peoplekit-id="'+hr("GGAcbc")+'" class="'+hr("peoplekitComponentsDialogInfoScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+hr("tYwGbe")+'" tabindex="0" role="application"></div><div peoplekit-id="'+hr("Sx9Kwc")+'" class="'+hr("peoplekitComponentsDialogInfoDialog")+'" tabindex="-1" role="dialog">'+(LO(a)?'<div class="'+hr("peoplekitComponentsDialogInfoHeader")+'">'+ir(a)+"</div>":"")+'<div class="'+hr("peoplekitComponentsDialogInfoContent")+
'"><div class="'+hr("peoplekitComponentsDialogInfoDescription")+'">'+ir(b)+'</div></div><div class="'+hr("peoplekitComponentsDialogInfoActions")+'">'+er('<div peoplekit-id="'+hr("TvD9Pc")+'"></div>')+'</div></div><div peoplekit-id="'+hr("dYgZK")+'" tabindex="0" role="application"></div></div>')},fbb=function(a){a=a.header;return er('<div class="'+hr("peoplekitComponentsDialogInfoTextHeader")+'">'+ir(a)+"</div>")},UAc=function(a){var b=a.description,c=a.learnMoreLinkUrl;a=a.learnMoreLinkText;return er('<div class="'+
hr("peoplekitComponentsDialogInfoDescription")+'">'+ir(b)+'  <a href="'+hr(NO(c))+'" target="_blank" class="'+hr("peoplekitComponentsDialogInfoLearnMoreLink")+'" peoplekit-id="'+hr("lh87ke")+'">'+ir(a)+"</a></div>")};var abb=new Map([[0,"peoplekitThemeLight"],[1,"peoplekitThemeDark"]]);var kbb=function(a){var b=a.imageUrls,c=a.backupUrl,d=a.size,e=a.preloadSize,f=a.pixelRatio;Array.isArray(b);a=er;var h='<div class="'+hr("peoplekitComponentsAvatarImplAvatarContainer")+'" style="width: '+hr(OO(d))+"px; height: "+hr(OO(d))+'px"><div peoplekit-id="'+hr("YLEF4c")+'" class="'+hr("peoplekitComponentsAvatarImplAvatar")+'" style="width: '+hr(OO(d))+"px; height: "+hr(OO(d))+'px">';Array.isArray(b);1===b.length?(Array.isArray(b),b=er('<div class="'+hr("peoplekitComponentsAvatarImplContainer")+
'">'+i1(b[0],c,d,e,f)+"</div>")):2===b.length?(Array.isArray(b),b=er('<div class="'+hr("peoplekitComponentsAvatarImplContainer")+'"><div class="'+hr("peoplekitComponentsAvatarImplColumn")+'">'+i1(b[0],c,d,e,f)+"</div>"+j1()+'<div class="'+hr("peoplekitComponentsAvatarImplColumn")+'">'+i1(b[1],c,d,e,f)+"</div></div>")):3===b.length?(Array.isArray(b),b=er('<div class="'+hr("peoplekitComponentsAvatarImplContainer")+'"><div class="'+hr("peoplekitComponentsAvatarImplColumn")+'">'+i1(b[0],c,d,e,f)+"</div>"+
j1()+'<div class="'+hr("peoplekitComponentsAvatarImplColumn")+'"><div class="'+hr("peoplekitComponentsAvatarImplRow")+'">'+i1(b[1],c,Math.round(.5*d),e,f)+"</div>"+j1()+'<div class="'+hr("peoplekitComponentsAvatarImplRow")+'">'+i1(b[2],c,Math.round(.5*d),e,f)+"</div></div></div>")):(Array.isArray(b),b=er('<div class="'+hr("peoplekitComponentsAvatarImplContainer")+'"><div class="'+hr("peoplekitComponentsAvatarImplColumn")+'"><div class="'+hr("peoplekitComponentsAvatarImplRow")+'">'+i1(b[0],c,Math.round(.5*
d),e,f)+"</div>"+j1()+'<div class="'+hr("peoplekitComponentsAvatarImplRow")+'">'+i1(b[2],c,Math.round(.5*d),e,f)+"</div></div>"+j1()+'<div class="'+hr("peoplekitComponentsAvatarImplColumn")+'"><div class="'+hr("peoplekitComponentsAvatarImplRow")+'">'+i1(b[1],c,Math.round(.5*d),e,f)+"</div>"+j1()+'<div class="'+hr("peoplekitComponentsAvatarImplRow")+'">'+i1(b[3],c,Math.round(.5*d),e,f)+"</div></div></div>"));b=er(b);return a(h+b+'</div><div peoplekit-id="'+hr("Btuy5e")+'" class="'+hr("peoplekitComponentsAvatarImplAvatarBadge")+
'">'+er('<img class="'+hr("peoplekitComponentsAvatarImplBadgeIconImage")+'" peoplekit-id="'+hr("m6fZne")+'" draggable="false" alt="">')+"</div></div>")},i1=function(a,b,c,d,e){var f='<div peoplekit-id="'+hr("IHgMKc")+'" class="'+hr("peoplekitComponentsAvatarImplImageRoot")+'">',h=NO(g$b(a,c,c,e));h=vec(h);a=NO(g$b(a,d,d,e));a=vec(a);b=NO(g$b(b,c,c,e));b=vec(b);h='<img peoplekit-id="'+hr("HiaYvf")+'" class="'+hr("peoplekitComponentsAvatarImplImage")+'" style="width: '+hr(OO(c))+"px; height: "+hr(OO(c))+
'px;" data-preload-src="'+hr(a)+'" data-src="'+hr(h)+'" data-backup-src="'+hr(b)+'" draggable="false" alt="">';c=er('<svg xmlns="http://www.w3.org/2000/svg" height="'+hr(c)+'px" viewBox="0 0 24 24" width="'+hr(c)+'px" class="'+hr("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 er(f+(h+c+"</div>"))},j1=function(){return er('<div class="'+hr("peoplekitComponentsAvatarImplDivider")+'"></div>')};var VAc=new Map([[0,"light_theme"],[1,"dark_theme"]]);var WAc=new Map([[1,"badge_active"],[2,"badge_inactive"],[3,"badge_idle"],[4,"badge_do_not_disturb"],[5,"badge_video"]]),XAc=new Map([[1,"Active."],[2,"Inactive."],[3,"Idle."],[4,"Do Not Disturb."],[5,"In Video Call."]]),mbb=function(a,b){this.appearance=b;this.root=a;YAc(this)};g=mbb.prototype;
g.setBadge=function(a){var b=cr(this.root,"Btuy5e");if(0===a.badgeType)b.classList.remove("visible");else{var c=WAc.get(a.badgeType)||"";if(c){var d=this.appearance.getTheme();c="https://www.gstatic.com/people/peoplekit/icons/"+(VAc.get(d)||"light_theme")+"/"+c+".svg"}else c="";a=XAc.get(a.badgeType)||"";d=cr(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 YAc=function(a){a=l(Array.from(a.root.querySelectorAll('[peoplekit-id="IHgMKc"]')));for(var b=a.next(),c={};!b.done;c={img$jscomp$10:void 0,src$jscomp$60:void 0,imageRoot:void 0,backupSrc:void 0},b=a.next())c.imageRoot=b.value,c.img$jscomp$10=cr(c.imageRoot,"HiaYvf"),b=PAc(c.img$jscomp$10,"preloadSrc"),c.src$jscomp$60=PAc(c.img$jscomp$10,"src"),c.backupSrc=PAc(c.img$jscomp$10,"backupSrc"),jbb(c.src$jscomp$60)?c.img$jscomp$10.src=c.src$jscomp$60:jbb(b)?(c.img$jscomp$10.src=b,iq(function(d){return function(){d.img$jscomp$10.src=
d.src$jscomp$60}}(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$60)};var fr=function(){this.theme=this.density=0};fr.prototype.getDensity=function(){return this.density};fr.prototype.setDensity=function(a){this.density=a};fr.prototype.getTheme=function(){return this.theme};fr.prototype.setTheme=function(a){this.theme=a};var kr=function(a){this.dialog=a};kr.prototype.subscribeToAction=function(a){this.dialog.subscribeToAction(a)};kr.prototype.dispatchAction=function(a){this.dialog.dispatchAction(a)};kr.prototype.getRoot=function(){return this.dialog.getRoot()};kr.prototype.dispose=function(){this.dialog.dispose()};var k1=function(a){this.delegate=a};g=k1.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 mr=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=cr(a.getRoot(),"QL45qe");this.eventHandler=Rq(this);this.eventHandler.listen(document,"click",function(h){f.contextMenuContainer.contains(h.target)||ZAc(f)});this.eventHandler.listen(document,"keydown",function(h){if(f.contextMenu)f.contextMenu.onKeyDown(new h1(h))})};
X(mr,k1);mr.prototype.onKeyDown=function(a){if(this.contextMenu)this.contextMenu.onKeyDown(a);else k1.prototype.onKeyDown.call(this,a)};
mr.prototype.onContextMenu=function(a,b){var c=this;a.stopPropagation();a.preventDefault();this.activate();this.contextMenu&&ZAc(this);this.contextMenu=Xab(this.contextMenuContainer,this.getRoot(),this.ariaParent,this.appearanceConfig);a=this.appearanceConfig.getTheme();this.contextMenu.append(zab(a));RAc(this.contextMenu,function(d){switch(d.id){case "ENOWEf":2>c.groupMembers.length?$Ac(c):aBc(c);break;default:throw Error("Ke`"+d.id);}ZAc(c)});SAc(this.contextMenu,function(){ZAc(c);b()});this.contextMenu.show();
return function(){ZAc(c)}};mr.prototype.dispose=function(){this.eventHandler.removeAll();k1.prototype.dispose.call(this)};
var $Ac=function(a){bBc(a);a.dispatcher.notify(8);a.hideConfirmationDialog=ubb(Uab(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));bBc(a)})},bBc=function(a){var b;null==(b=a.hideConfirmationDialog)||b.dispose();a.hideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())},aBc=function(a){cBc(a);a.dispatcher.notify(8);
a.hideGroupErrorDialog=hbb(a.getRoot().ownerDocument.body,a.appearanceConfig);a.hideGroupErrorDialog.subscribeToAction(function(){cBc(a)})},cBc=function(a){var b;null==(b=a.hideGroupErrorDialog)||b.dispose();a.hideGroupErrorDialog=void 0;a.dispatcher.notify(9,a.getRoot())},ZAc=function(a){var b;null==(b=a.contextMenu)||b.dispose();a.contextMenu=void 0;a.dispatcher.notify(7,a.getRoot())};var Fcb=function(){var a=lr.decoratorTypeOrder,b=lr.getCompatibleTypes,c=lr,d=lr.extractor;this.coreTypeOrder=lr.coreTypeOrder;this.decoratorTypeOrder=a;this.getCompatibleTypes=b;this.container=c;this.extractor=d;this.configurationKey="\ud83c\udf68"};
Fcb.prototype.create=function(a){for(var b=this,c=l(this.coreTypeOrder.filter(function(h){var k=b.configurationKey;return b.container.configurations.hasCoreType(h,void 0===k?"\ud83c\udf68":k)})),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("Le");};
Fcb.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 k=d.configurationKey;return d.container.configurations.hasDecoratorType(h,void 0===k?"\ud83c\udf68":k)&&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,k){return k.create(c,h)},a)};var l1=function(){this.core=new Set;this.decorators=new Set};l1.prototype.addCoreType=function(a){this.core.add(a)};l1.prototype.addDecoratorType=function(a){this.decorators.add(a)};l1.prototype.hasCoreType=function(a){return this.core.has(a)};l1.prototype.hasDecoratorType=function(a){return this.decorators.has(a)};var dBc=function(){this.configurations=new Map};g=dBc.prototype;g.addCoreType=function(a,b){this.configurations.has(b)||this.configurations.set(b,new l1);this.configurations.get(b).addCoreType(a)};
g.addDecoratorType=function(a,b){this.configurations.has(b)||this.configurations.set(b,new l1);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 eBc=function(){this.core=new Map;this.decorator=new Map};g=eBc.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 gBc=function(a){var b=this,c=a.coreTypeOrder,d=a.decoratorTypeOrder,e=a.extractor;a=a.getCompatibleTypes;this.configurations=new dBc;this.factories=new eBc;this.coreTypeOrder=c;this.decoratorTypeOrder=d;this.extractor=e;this.getCompatibleTypes=a;fBc.set(this,function(){b.configurations.clear();b.factories.clear()})};
gBc.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)};gBc.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)};gBc.prototype.getCoreFactory=function(a){return this.factories.getCoreFactory(a)};
gBc.prototype.getDecoratorFactory=function(a){return this.factories.getDecoratorFactory(a)};var fBc=new Map;var lr=new gBc({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 gs=function(a){this.internalArray_=m(a)};X(gs,n);gs.repeatedFields_=[3];var Ceb=new ju(417869137,gs);var nr=function(){};nr.prototype.filterResult=function(a){var b,c;return 1===(null==(b=a.getExtendedData())?void 0:null==(c=b.getExtension(Ceb))?void 0:ho(c,1))?a:null};nr.prototype.reset=function(){};var Sbb=function(a){a=a.memberCount;return(new xS("{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)},Rbb=function(a){a=a.memberNames;Array.isArray(a);return a.join(", ")};var hBc=[0,iu,hu];var iBc=[0,iu,-4];var jBc=[0,iu];var kBc=[0,iu];var lBc=[0,iu,NNb];var tr=function(a){this.internalArray_=m(a)};X(tr,n);tr.prototype.getRequestType=function(){return cj(this,1,0)};tr.prototype.setRequestType=function(a){return tj(this,1,a)};var mBc=[0,SNb,99,lBc,[0],[0],iBc,kBc,hBc,qAc,jBc,[0]];var nBc=function(){var a=new tr,b=new e1;this.experimentFlags_=li(a,e1,107,b)};nBc.prototype.getExperimentFlags=function(){return this.experimentFlags_};nBc.prototype.getExperimentIds=function(){return[]};var qdb=function(a,b){this.cache=b;this.overriddenExperiments=$i(a,e1,3)||new e1};qdb.prototype.getExperiments=function(){var a,b=(null==(a=this.cache.getExperimentFlags())?void 0:$i(a,e1,107))||new e1;a=this.overriddenExperiments;Wi(a,3)&&Mh(b,3,Xi(a,3,!1));Wi(a,4)&&Mh(b,4,Xi(a,4,!0));return b};qdb.prototype.getExperimentIds=function(){return this.cache.getExperimentIds()};var oBc=function(a){this.internalArray_=m(a)};X(oBc,n);g=oBc.prototype;g.getCacheStaleSec=function(){return qi(this,4,14400)};g.getCacheExpiredSec=function(){return qi(this,5,1209600)};g.getRpcTimeoutSec=function(){return qi(this,7,60)};g.getApiKey=function(){return Zi(this,8,"")};g.setApiKey=function(a){return Lh(this,8,a)};g.getEnableClearcut=function(){return Xi(this,13,!0)};g.setEnableClearcut=function(a){return Mh(this,13,a)};var odb=Mda(oBc);var ndb;var pBc=function(){};pBc.prototype.getExperimentFlags=function(){return new tr};pBc.prototype.getExperimentIds=function(){return[]};var Or=function(){};Or.prototype.prefetch=function(){};Or.prototype.loadExperiments=function(){return new pBc};var m1=function(a){this.internalArray_=m(a)};X(m1,n);m1.prototype.getVersion=function(){return kj(this,1)};m1.prototype.getVersion_asLegacyNumberOrString=function(){return kj(this,1)};m1.prototype.setVersion=function(a){return zj(this,1,a)};m1.prototype.getVersionOrUndefined=function(){return eu(this,1)};var n1=function(a){this.internalArray_=m(a)};X(n1,n);g=n1.prototype;g.getApplication=function(){return cj(this,1,0)};g.setApplication=function(a){return tj(this,1,a)};g.getApplicationOrUndefined=function(){return xs(this,1)};g.getVersion=function(){return kj(this,2)};g.getVersion_asLegacyNumberOrString=function(){return kj(this,2)};g.setVersion=function(a){return zj(this,2,a)};g.getVersionOrUndefined=function(){return eu(this,2)};var qBc=function(a){this.internalArray_=m(a)};X(qBc,n);g=qBc.prototype;g.getRequestType=function(){return cj(this,1,0)};g.setRequestType=function(a){return tj(this,1,a)};g.getProfileId=function(){return Zi(this,2)};g.getProfileId_legacyNullable=function(){return Fj(this,2)};g.setProfileId=function(a){return Lh(this,2,a)};g.hasProfileId=function(){return Pi(this,2)};g.getCaller=function(){return $i(this,m1,3)};g.setCaller=function(a){return li(this,m1,3,a)};
g.getInstanceId=function(){return Zi(this,4)};g.setInstanceId=function(a){return Lh(this,4,a)};g.clearInstanceId=function(){lk(this,4)};g.hasInstanceId=function(){return Pi(this,4)};g.getInstanceIdOrUndefined=function(){return fu(this,4)};g.getClient=function(){return $i(this,n1,5)};g.setClient=function(a){return li(this,n1,5,a)};g.hasClient=function(){return ji(this,n1,5)};var qr=function(a){this.internalArray_=m(a)};X(qr,n);qr.prototype.getErrorType=function(){return cj(this,2,1)};qr.prototype.setErrorType=function(a){return tj(this,2,a)};qr.prototype.getErrorMessage=function(){return Zi(this,3)};qr.prototype.setErrorMessage=function(a){Lh(this,3,a)};var sr=function(a){this.internalArray_=m(a)};X(sr,n);g=sr.prototype;g.getExperimentFlags=function(){return $i(this,tr,1)};g.setExperimentFlags=function(a){return li(this,tr,1,a)};g.hasExperimentFlags=function(){return ji(this,tr,1)};g.getError=function(){return $i(this,qr,2)};g.setError=function(a){li(this,qr,2,a)};g.hasError=function(){return ji(this,qr,2)};g.getSource=function(){return cj(this,3,0)};g.setSource=function(a){return tj(this,3,a)};g.hasSource=function(){return aj(this,3)};
g.getSourceOrUndefined=function(){return xs(this,3)};g.getInstanceId=function(){return Zi(this,4)};g.setInstanceId=function(a){return Lh(this,4,a)};g.clearInstanceId=function(){lk(this,4)};g.hasInstanceId=function(){return Pi(this,4)};g.getInstanceIdOrUndefined=function(){return fu(this,4)};g.getExperimentIdsList=function(a){return si(this,5,hi(a))};g.setExperimentIdsList=function(a){return Lb(this,5,a,mb)};g.getExperimentIds=function(){return bu(this,5)};
g.setExperimentIds=function(a){gu(this,5,a)};sr.repeatedFields_=[5];var rBc=function(a,b){this.client_=a;this.runtime_=b;ybb();this.apiKey_=a.getApiKey();this.apiRoot_=Zi(this.client_,10)||pIa("peoplestackwebexperiments-pa",this.runtime_.getPeopleApiEnv())};rBc.prototype.getClient=function(){return this.client_};rBc.prototype.getApiKey=function(){return this.apiKey_};var o1=function(a){this.internalArray_=m(a)};X(o1,n);g=o1.prototype;g.getExperimentFlags=function(){return $i(this,tr,1)};g.setExperimentFlags=function(a){return li(this,tr,1,a)};g.hasExperimentFlags=function(){return ji(this,tr,1)};g.getObfuscatedGaiaId=function(){return Fj(this,2)};g.getObfuscatedGaiaId_legacyNullable=function(){return Fj(this,2)};g.setObfuscatedGaiaId=function(a){Lh(this,2,a)};g.getExperimentIdsList=function(a){return si(this,3,hi(a))};
g.setExperimentIdsList=function(a){return Lb(this,3,a,mb)};g.getExperimentIds=function(){return bu(this,3)};g.setExperimentIds=function(a){gu(this,3,a)};var sBc=Xb(o1);o1.repeatedFields_=[3];var tBc=[0,mBc,RNb,ONb];var uBc=function(a){var b=void 0;b=void 0===b?Date.now:b;this.clientConfig_=a;this.now_=b},vBc=function(a,b,c){a=a.now_()-1E3*c;return b>a};uBc.prototype.getCacheState=function(a){var b=qi(this.clientConfig_.getClient(),3,1800);if(vBc(this,a,b))return 1;b=this.clientConfig_.getClient().getCacheStaleSec();if(vBc(this,a,b))return 2;b=this.clientConfig_.getClient().getCacheExpiredSec();return vBc(this,a,b)?3:4};var wBc=function(a){this.internalArray_=m(a)};X(wBc,n);g=wBc.prototype;g.getExperiments=function(){return $i(this,o1,2)};g.setExperiments=function(a){return li(this,o1,2,a)};g.hasExperiments=function(){return ji(this,o1,2)};g.getInstanceId=function(){return Zi(this,4)};g.setInstanceId=function(a){return Lh(this,4,a)};g.clearInstanceId=function(){lk(this,4)};g.hasInstanceId=function(){return Pi(this,4)};g.getInstanceIdOrUndefined=function(){return fu(this,4)};
var xBc=[0,RNb,tBc,NNb,RNb],yBc=Lda(wBc,xBc),zBc=function(a){return function(b){var c=new ANb;yda(b.internalArray_,c,Rb(a));return Waa(BNb(c))}}(xBc);var rr=function(a,b){b=Error.call(this,void 0===b?"":b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.type=a};X(rr,Error);var ABc=new rr(6);var BBc=function(){};var p1=function(){};Et(p1,BBc);p1.prototype.getCount=function(){for(var a=0,b=l(this),c=b.next();!c.done;c=b.next())a++;return a};p1.prototype[Symbol.iterator]=function(){return a5b(this.__iterator__(!0)).toEs6()};p1.prototype.clear=function(){var a=Array.from(this);a=l(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};var CBc=function(a){this.storage_=a;this.cachedIsStorageAvailable_=null};Et(CBc,p1);g=CBc.prototype;g.set=function(a,b){q1(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){q1(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){q1(this);this.storage_.removeItem(a)};
g.getCount=function(){q1(this);return this.storage_.length};g.__iterator__=function(a){q1(this);var b=0,c=this.storage_,d=new oG;d.next=function(){if(b>=c.length)return $4b;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(){q1(this);this.storage_.clear()};g.key=function(a){q1(this);return this.storage_.key(a)};
var q1=function(a){if(null==a.storage_)throw Error("Me");var b;(null!=(b=a.cachedIsStorageAvailable_)?b:a.cachedIsStorageAvailable_=Jbb(a.storage_))||da(Error("Me"))},Jbb=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 Fbb=function(){var a=null;try{a=ca.localStorage||null}catch(b){}CBc.call(this,a)};Et(Fbb,CBc);var pr=function(a,b){this.mechanism_=a;this.prefix_=b+"::"};Et(pr,p1);pr.prototype.set=function(a,b){this.mechanism_.set(this.prefix_+a,b)};pr.prototype.get=function(a){return this.mechanism_.get(this.prefix_+a)};pr.prototype.remove=function(a){this.mechanism_.remove(this.prefix_+a)};
pr.prototype.__iterator__=function(a){var b=this.mechanism_[Symbol.iterator](),c=this,d=new oG;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 Cbb=["PeopleStackExperiments2"],vr=function(a,b){b=void 0===b?new Fbb:b;this.clientConfig_=a;this.transformer_=new uBc(this.clientConfig_);this.localStorage_=b;this.storage_=new pr(this.localStorage_,"pse/591286274")};vr.prototype.set=function(a,b){var c=Bbb(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw ABc;var d=new wBc;b=Lh(d,1,c).setExperiments(b);d=Date.now();a=zj(b,3,d).setInstanceId(a.getInstanceId());this.storage_.set(c,yca(zBc(a)));return c};
vr.prototype.get=function(a){a=Bbb(a);if(!a)return null;a=this.storage_.get(a);if(!a)return null;a=DBc(a);if(a&&4!==this.transformer_.getCacheState(kj(a,3))){var b=this.transformer_,c;var d={keyPath:Zi(a,1),experiments:null!=(c=a.getExperiments())?c:new o1,lastUpdated:new Date(kj(a,3)),state:b.getCacheState(kj(a,3)),instanceId:a.getInstanceId()}}else d=null;return d};var DBc=function(a){if(!a)return null;try{return yBc(a)}catch(b){return null}};
vr.prototype.delete=function(a){this.storage_.remove(a);return!0};vr.prototype.clean=function(){var a=[].concat(r(this.storage_));a=l(a);for(var b=a.next();!b.done;b=a.next())b=b.value,4!==EBc(this,b)&&0!==EBc(this,b)||this.delete(b);a=l(Dbb(this.localStorage_));for(b=a.next();!b.done;b=a.next())b.value.clear()};var EBc=function(a,b){return b&&(b=DBc(a.storage_.get(b)),null==b?0:jj(b,3))?a.transformer_.getCacheState(kj(b,3)):0};var wr=function(a){var b=void 0;b=void 0===b?new Map:b;this.clientConfig_=a;this.transformer_=new uBc(this.clientConfig_);this.cache_=b};wr.prototype.set=function(a,b){var c=Bbb(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw ABc;this.cache_.set(c,{keyPath:c,experiments:b,lastUpdated:new Date,state:1,instanceId:a.getInstanceId()});return c};
wr.prototype.get=function(a){a=Bbb(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};wr.prototype.delete=function(a){this.cache_.delete(a);return!0};wr.prototype.clean=function(){var a=this;this.cache_.forEach(function(b,c){4===a.transformer_.getCacheState(b.lastUpdated.getTime())&&a.cache_.delete(c)})};var FBc=function(){};g=FBc.prototype;g.start=function(){};g.stop=function(){};g.count=function(){};g.latency=function(){};g.error=function(){};g.status=function(){};g.logError=function(){};var GBc=function(a){this.internalArray_=m(a)};X(GBc,n);g=GBc.prototype;g.getCaller=function(){return $i(this,m1,1)};g.setCaller=function(a){return li(this,m1,1,a)};g.getClient=function(){return $i(this,n1,2)};g.setClient=function(a){return li(this,n1,2,a)};g.hasClient=function(){return ji(this,n1,2)};var HBc=function(a){this.internalArray_=m(a)};X(HBc,n);g=HBc.prototype;g.getRequestType=function(){return cj(this,1,0)};g.setRequestType=function(a){return tj(this,1,a)};g.setProperties=function(a){return li(this,GBc,3,a)};g.getInstanceId=function(){return Zi(this,4)};g.setInstanceId=function(a){return Lh(this,4,a)};g.clearInstanceId=function(){lk(this,4)};g.hasInstanceId=function(){return Pi(this,4)};g.getInstanceIdOrUndefined=function(){return fu(this,4)};var IBc=new bD("/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",HBc,o1,function(a){return a.serialize()},sBc);var JBc=function(a){this.client_=new DD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};JBc.prototype.getExperimentFlags=function(a,b){return ZC(this.client_,this.hostname_+"/$rpc/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",a,b||{},IBc)};var KBc=function(a,b){this.clientRequest_=a;this.rpcClient_=b;this.metric_=new FBc};KBc.prototype.getMetric=function(){return this.metric_};KBc.prototype.send=function(a){var b=this,c;return ke(function(d){var e=(new GBc).setCaller(b.clientRequest_.getCaller()).setClient(b.clientRequest_.getClient());c=(new HBc).setRequestType(b.clientRequest_.getRequestType()).setInstanceId(b.clientRequest_.getInstanceIdOrUndefined()).setProperties(e);return d.return(b.rpcClient_.getExperimentFlags(c,a))})};
KBc.prototype.close=function(){};KBc.prototype.processResponse=function(a){return a};var LBc=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var MBc=function(a,b){this.config_=a;this.request_=b;this.resolver_=new LBc;this.rpcPromise_=null;this.state_=0};g=MBc.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_=jYb(new XB),this.resolver_.reject(1)}};
g.send=function(){var a=this;if(0!==this.state_)return this.resultPromise();var b=oIa(this.config_.apiKey);this.config_.customAuthHeaders&&(b=Object.assign({},b,this.config_.customAuthHeaders));this.state_=1;b=this.request_.send(b);this.rpcPromise_=tYb(mYb([b,CYb(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 XB?c=1:a&&"object"===typeof a?(c=a.code||2,2===c&&(c=Ho("result.error.code",a)||a.status,c=Number(c),c=Dcc.has(c)?Dcc.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 NBc=Symbol("Ne"),OBc=function(){};OBc.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[NBc]=d)}return c})};var PBc=function(a){this.request_=a;this.metric_=this.request_.getMetric();this.metric_.start("total");this.metric_.start("blocked");this.contentLength_=0};PBc.prototype.getMetric=function(){return this.metric_};PBc.prototype.send=function(a){this.metric_.stop("blocked");this.metric_.count();this.metric_.start("network");return this.request_.send(a)};
PBc.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[NBc]||0}};PBc.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 QBc=function(a){this.config_=a;this.pendingRpcs_=new Set},SBc=function(a,b){b=new PBc(b);b=new MBc(a.config_,b);a.pendingRpcs_.add(b);RBc(a,b);return b.resultPromise()},RBc=function(a,b){ke(function(c){if(1==c.nextAddress)return le(c,2,3),me(c,b.send(),3);if(2!=c.nextAddress)return ne(c),a.pendingRpcs_.delete(b),oe(c,0);pe(c);return c.jumpTo(3)})};var Hbb=function(a){this.clientConfig_=a;this.inflightRequests_=new Map;a={apiKey:this.clientConfig_.getApiKey(),timeoutSec:this.clientConfig_.getClient().getRpcTimeoutSec()};this.dispatcher_=new QBc(a);this.rpcClient_=new JBc(this.clientConfig_.apiRoot_)},UBc=function(a,b){var c,d,e,f;return ke(function(h){switch(h.nextAddress){case 1:var k=TBc(b);if(c=a.inflightRequests_.get(k)||null)return h.return(c);d=new KBc(b,a.rpcClient_);le(h,2,3);e=SBc(a.dispatcher_,d);k=TBc(b);a.inflightRequests_.set(k,
e);return me(h,e,5);case 5:return f=h.yieldResult,h.return(f);case 3:ne(h);k=TBc(b);a.inflightRequests_.delete(k);oe(h,0);break;case 2:throw pe(h),Error("Oe");}})},TBc=function(a){a=Abb(a);if(!a)throw ABc;return a};var VBc=function(a){this.internalArray_=m(a)};X(VBc,n);g=VBc.prototype;g.getInstanceId=function(){return Zi(this,1)};g.setInstanceId=function(a){return Lh(this,1,a)};g.clearInstanceId=function(){lk(this,1)};g.hasInstanceId=function(){return Pi(this,1)};g.getInstanceIdOrUndefined=function(){return fu(this,1)};g.getRequestId=function(){return Zi(this,2)};g.getRequestType=function(){return cj(this,4,0)};g.setRequestType=function(a){return tj(this,4,a)};g.getSourceType=function(){return cj(this,6,0)};
g.setSourceType=function(a){return tj(this,6,a)};g.getClient=function(){return cj(this,7,0)};g.setClient=function(a){return tj(this,7,a)};g.hasClient=function(){return aj(this,7)};g.getErrorType=function(){return cj(this,8,0)};g.setErrorType=function(a){return tj(this,8,a)};var Ibb=function(a){var b=a.getClient();a=a.runtime_.getPeopleApiEnv();this.logContext_=ts(new us,"PeopleExperiments").setEnvironment(a).setLogSource(1250).setVersion("1.0.1").setBaselineCl(601920380).setEnableClearcut(b.getEnableClearcut())};g=Ibb.prototype;g.getLogContext=function(){return this.logContext_};g.createCountMetric=function(){throw Error("Pe");};g.createStatusMetric=function(){throw Error("Pe");};g.createErrorMetric=function(){throw Error("Pe");};
g.createLatencyMetric=function(a,b){a=b.source();b=Math.round(1E3*b.duration());zj(a,3,b);return a};var WBc=function(a,b){this.metrics_=a;this.state_=new iO(b);this.label_="total";this.source=b};WBc.prototype.start=function(){this.metrics_.start(this.state_,this.label_)};WBc.prototype.stop=function(){this.metrics_.stop(this.state_,this.label_);this.metrics_.latency(this.state_)};var Kbb=function(a,b){this.worker_=a;this.metrics_=Rr(b)},XBc=function(a,b){var c=new VBc,d=ybb();c=Lh(c,2,d).setRequestType(a.getRequestType());return tj(c,5,b).setClient(a.getClient().getApplicationOrUndefined())};
Kbb.prototype.updateExperimentsCache=function(a,b){b=void 0===b?2:b;var c=this,d,e,f,h;return ke(function(k){if(1==k.nextAddress)return d=XBc(a,b),e=new WBc(c.metrics_,d),e.start(),me(k,c.worker_.updateExperimentsCache(a,b),2);f=k.yieldResult;d.setSourceType(f.getSourceOrUndefined());d.setInstanceId(f.getInstanceIdOrUndefined());(h=f.getError())&&d.setErrorType(h.getErrorType());e.stop();return k.return(f)})};
Kbb.prototype.getCachedExperiments=function(a,b){b=void 0===b?0:b;var c=XBc(a,b),d=new WBc(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 YBc=function(a){this.timer=a;this.count=0},Mbb=function(a,b){this.clientConfig_=a;this.worker_=b;this.refreshers_=new Map;this.refreshRateMs_=1E3*qi(this.clientConfig_.getClient(),11,14400);this.eventHandler_=new Qq(this)};Mbb.prototype.updateExperimentsCache=function(a,b){try{return ZBc(this,a),this.worker_.updateExperimentsCache(a,b)}catch(c){return Promise.resolve(ur(c))}};Mbb.prototype.getCachedExperiments=function(a,b){try{return ZBc(this,a),this.worker_.getCachedExperiments(a,b)}catch(c){return ur(c)}};
var ZBc=function(a,b){var c=Abb(b);if(!c)throw new rr(6);if(a.refreshers_.has(c))a.refreshers_.get(c).count=0;else{var d=new YB(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=qi(a.clientConfig_.getClient(),12,18);e.count>=f&&(e.timer.stop(),a.refreshers_.delete(c))}});d.start();a.refreshers_.set(c,new YBc(d))}a.refreshers_.get(c)};var $Bc=function(){},Lbb=function(a,b){this.cache_=a;this.loader_=b};
Lbb.prototype.updateExperimentsCache=function(a,b){var c=this,d,e,f,h;return ke(function(k){if(1==k.nextAddress){e=d=null;try{d=aCc(c,a)}catch(z){e=z}if(d&&3!==d.state)return k.return(c.getCachedExperiments(a,b));le(k,3);return me(k,bCc(c,a),5)}if(3!=k.nextAddress){f=k.yieldResult;var q=k.return,t=f,w=e;w=void 0===w?null:w;t=(new sr).setExperimentFlags(t.getExperimentFlags()).setExperimentIdsList(t.getExperimentIdsList()).setSource(1).setInstanceId(a.getInstanceIdOrUndefined());w&&t.setError(Ebb(w));
return q.call(k,t)}h=pe(k);return k.return(ur(h))})};Lbb.prototype.getCachedExperiments=function(a){try{var b=aCc(this,a);if(b){var c=(new sr).setExperimentFlags(b.experiments.getExperimentFlags()).setExperimentIdsList(b.experiments.getExperimentIdsList()).setInstanceId(b.instanceId).setSource(2);1!==b.state&&bCc(this,a).catch($Bc);return c}bCc(this,a).catch($Bc);return ur()}catch(d){return ur(d)}};
var aCc=function(a,b){try{var c=a.cache_.get(b);return c&&c.experiments.hasExperimentFlags()?c:null}catch(d){if(d instanceof rr)throw d;throw new rr(3);}},bCc=function(a,b){var c,d;return ke(function(e){if(1==e.nextAddress)return le(e,2),b.hasInstanceId()||b.setInstanceId(ybb()),me(e,UBc(a.loader_,b),4);if(2!=e.nextAddress)return c=e.yieldResult,a.cache_.set(b,c),e.return(c);d=pe(e);if(d instanceof rr)throw d;throw new rr(2);})};var Gbb;var cCc=function(a){this.clientConfig_=a;this.worker_=Nbb(this.clientConfig_)};cCc.prototype.getCachedExperiments=function(a){return this.worker_.getCachedExperiments(a,0)};var Pr=function(){this.peopleApiEnv_=4};Pr.prototype.getPeopleApiEnv=function(){return this.peopleApiEnv_};Pr.prototype.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};var dCc=function(a,b){this.client_=a;this.request_=b;this.response_=null};dCc.prototype.getExperimentFlags=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentFlags()};dCc.prototype.getExperimentIds=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentIdsList(Li)};var pdb=function(a,b){this.clientConfig_=a;this.requestType_=b};pdb.prototype.prefetch=function(a){var b=new rBc(this.clientConfig_,new Pr);a=eCc(this,a,"");Nbb(b).updateExperimentsCache(a,2)};pdb.prototype.loadExperiments=function(a,b,c){var d=new rBc(this.clientConfig_,b),e=eCc(this,a,c);Nbb(d).updateExperimentsCache(e,2);b=new cCc(new rBc(this.clientConfig_,b));a=eCc(this,a,c);return new dCc(b,a)};var eCc=function(a,b,c){var d=new m1;b=(new n1).setApplication(b);return(new qBc).setProfileId(c).setRequestType(a.requestType_).setCaller(d).setClient(b)};var xr=new qdb(new f1,new nBc);var Qbb=Uq.getInstance();var Ubb=Uq.getInstance();var fCc=new sz(VS.WEEKDAY_MONTH_DAY_MEDIUM),gCc=new sz(7);new sz(VS.WEEKDAY_MONTH_DAY_MEDIUM);var hCc=new Map([[0,2],[1,1],[2,3],[3,4],[4,2],[5,5]]);var iCc=function(a){var b=a.iconUrl,c=a.altText,d=a.persistentText;a=a.styleClass;return er('<div class="'+hr("peoplekitComponentsTagTag")+" "+(a?hr(a):"")+'" peoplekit-id="'+hr("mQXP")+'">'+(LO(b)?'<img class="'+hr("peoplekitComponentsTagIcon")+'" src="'+hr(Kec(b))+'" alt="'+hr(c)+'"><div'+(d?"":' class="'+hr("peoplekitComponentsTagUnrollingAltText")+'"')+'><div class="'+hr("peoplekitComponentsTagText")+'">'+ir(c)+"</div></div>":'<div class="'+hr("peoplekitComponentsTagText")+'">'+ir(c)+"</div>")+
"</div>")};var Wbb=function(a,b,c,d,e,f){var h=this;this.root=a;this.avatar=e;this.features=f;this.isIntelligenceInitialized=this.isOutOfOffice=!1;jCc(this,{tags:d});lab(a,b.getPrimaryTarget());c.getResultDecorationConfigRequestCallback()(b,function(k){jCc(h,k)})};g=Wbb.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("Re");};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};
g.updateWaldo=function(a){if(this.getSupportedIntelligenceFeatures().includes(1)){var b=cr(this.root,"Z306Oe");if(this.isOutOfOffice=4===a.getCurrentStatus()){if(4!==a.getCurrentStatus())throw Error("Qe");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 "+gCc.format(c):"Out of office - back on "+fCc.format(c);SB(b,String(c));this.root.classList.add("isOutOfOffice")}else SB(b,
""),this.root.classList.remove("isOutOfOffice")}};g.updateHubAvailabilityDot=function(a){this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:hCc.get(a.getType()||0)||2})};g.getSupportedIntelligenceFeatures=function(){return this.features};g.addTag=function(a){var b=cr(this.root,"x00ATb");a:switch(a.style||0){case 1:var c="isWarning";break a;default:c=""}a=Ro(iCc,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 jCc=function(a,b){for(var c=l(b.tags||[]),d=c.next();!d.done;d=c.next())a.addTag(d.value);b.metaIcon&&a.setMetaIcon(b.metaIcon)};Wbb.prototype.initializeIntelligence=function(){this.isIntelligenceInitialized||(this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:2}),this.isIntelligenceInitialized=!0)};Wbb.prototype.dispose=function(){};var $bb=function(a,b,c,d,e){this.delegate=Xbb(a,b,c,d,e,[2]);this.root=a;this.root.setAttribute("aria-selected","true");this.id=b.getPrimaryTarget().getId();this.selection=new IAc(cs)};X($bb,k1);$bb.prototype.getAllIds=function(){return[this.id]};$bb.prototype.getSelection=function(){return this.selection};var kCc=function(a,b,c,d,e,f,h,k){d=void 0===d?"":d;e=void 0===e?!1:e;return er('<div role="option" class="'+hr("peoplekitComponentsResultlistitemResultListItem")+" "+hr(d)+'" id="'+hr(a)+'" peoplekit-id="'+hr(a)+'" aria-disabled="'+hr(e)+'" aria-selected="false"><div class="'+hr("peoplekitComponentsResultlistitemResultListItemRow")+'"><div class="'+hr("peoplekitComponentsResultlistitemLeft")+'" data-hovercard-id="'+hr(b)+'" data-name="'+hr(jr(c))+'">'+ir(f)+'</div><div class="'+hr("peoplekitComponentsResultlistitemCenter")+
'">'+ir(h)+'</div><div class="'+hr("peoplekitComponentsResultlistitemRight")+'" peoplekit-id="'+hr("QChpEe")+'">'+ir(k)+'</div></div><div peoplekit-id="'+hr("Z306Oe")+'" class="'+hr("peoplekitComponentsResultlistitemOutOfOffice")+'"></div><div peoplekit-id="'+hr("QL45qe")+'"></div></div>')},lCc=function(a,b,c,d){return er('<div class="'+hr("peoplekitComponentsResultlistitemLabelContainer")+'"><div class="'+hr("peoplekitComponentsResultlistitemLabel")+" "+hr("peoplekitComponentsResultlistitemLabelRow")+
'"><div class="'+hr("peoplekitComponentsResultlistitemLabelText")+'" data-hovercard-id="'+hr(b)+'" data-name="'+hr(jr(a))+'" translate="no">'+ir(jr(a))+'</div><div peoplekit-id="'+hr("x00ATb")+'" class="'+hr("peoplekitComponentsResultlistitemTags")+'"></div></div>'+(c?'<div class="'+hr("peoplekitComponentsResultlistitemSublabel")+" "+hr("peoplekitComponentsResultlistitemLabelRow")+'"><div class="'+hr("peoplekitComponentsResultlistitemSublabelText")+'" data-hovercard-id="'+hr(b)+'" data-name="'+hr(jr(a))+
'"'+(d?"":' translate="no"')+">"+ir(jr(c))+"</div></div>":"")+"</div>")},mCc=function(a){return er('<div class="'+hr("peoplekitComponentsResultlistitemAvatar")+'"><div class="'+hr("peoplekitComponentsResultlistitemAvatarContainer")+'" peoplekit-id="'+hr("d6MZcd")+'"></div>'+(LO(a)?ir(a):"")+"</div>")},nCc=function(){var a=er,b=er,c='<div class="'+hr("peoplekitComponentsResultlistitemAvatarSelectionOverlay")+'"><div class="'+hr("peoplekitComponentsResultlistitemWhiteCheck")+'">';var d=er('<svg viewBox="0 0 24 24" class="'+
(hr("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(mCc(b(c+d+"</div></div>")))},oCc=function(){return er('<img class="'+hr("peoplekitComponentsResultlistitemMetaIcon")+'" peoplekit-id="'+hr("SC3Htd")+'" alt="" src=""/>')};var Zbb=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.disableReason,f=a.allowSublabelTranslation;return er(kCc(a.id,b,c,"isDisabled "+a.densityClass,!0,er(""+mCc()),er(""+lCc(c,b,d,f)),er('<div class="'+hr("peoplekitComponentsResultlistitemDisabledDisableReasonContainer")+'">'+ir(e)+"</div>")))},Ybb=function(){var a=er,b='<div class="'+hr("peoplekitComponentsResultlistitemDisabledIconIndicator")+'" aria-label="'+hr(". Already selected")+'">';var c=er('<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" class="'+
(hr("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 Br=function(a){this.delegate=a;var b=this;this.eventHandler=Rq(this);this.eventHandler.listen(this.getRoot(),"click",function(c){b.onClick(c)})};X(Br,k1);Br.prototype.onClick=function(){this.toggleSelection()};var dcb=function(a,b){this.internalResult=a;this.displayNameOverride=b;this.forceDisplayNameOverride=!1;a=this.internalResult.getTargetList()[0];if(!a)throw new RangeError("Se");this.target=a;a=this.target.getLoggingToken();b=this.target.getId();this.internalSelectionToken=new CAc(b,this.displayNameOverride,this.forceDisplayNameOverride,a)};g=dcb.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 Cr=function(a,b,c,d,e,f){this.delegate=Xbb(a,b,d,e,f,[]);this.root=a;this.result=b;this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=new IAc(cs)};X(Cr,k1);Cr.prototype.getAllIds=function(){return[this.id]};Cr.prototype.toggleSelection=function(){for(var a=l(this.result.getMemberList()),b=a.next();!b.done;b=a.next())b=ecb(b.value),this.selectionsState.select(b);this.root.dispatchEvent(xab("pcw-select",this.root))};Cr.prototype.getSelection=function(){return this.selection};var gcb=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return er(kCc(a.id,b,c,a.densityClass,void 0,er(""+mCc()),er(""+lCc(c,b,d,e)),er(""+oCc())))};var Er=function(a,b){this.delegate=a;var c=this;this.selectionsState=b;this.id=a.getAllIds()[0];b.get(this.id)&&pCc(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){pCc(c,d)};qCc(this.selectionsState,this.onDeselectionCallback);rCc(this.selectionsState,this.onSelectionCallback)};X(Er,k1);
Er.prototype.toggleSelection=function(){if(this.selectionsState.get(this.id)){var a=this.getRoot();a=xab("pcw-deselect",a)}else a=this.getRoot(),a=xab("pcw-select",a);this.getRoot().dispatchEvent(a);this.selectionsState.toggle(this.getSelection(),1)};var pCc=function(a,b){b.id().equals(a.id)&&(a.getRoot().classList.add("isSelected"),a.getRoot().setAttribute("aria-selected","true"))};Er.prototype.dispose=function(){this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback)};var Dr=function(a,b,c,d,e,f,h){this.delegate=Xbb(a,b,d,e,f,[2]);this.selectionsState=c;this.clientConfig=h;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||ecb(b,b.getDisplayName())};X(Dr,k1);Dr.prototype.onContextMenu=function(a,b){or(this.clientConfig.internal)&&a.preventDefault();return k1.prototype.onContextMenu.call(this,a,b)};Dr.prototype.getAllIds=function(){return[this.id]};Dr.prototype.getSelection=function(){return this.selection};var jcb=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return er(kCc(a.id,b,c,a.densityClass,void 0,er(""+nCc()),er(""+lCc(c,b,d,e)),er(""+oCc())))};var Fr=function(a,b,c,d,e,f,h){this.delegate=Xbb(a,b,d,e,f,[]);this.selectionsState=c;this.clientConfig=h;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||ecb(b)};X(Fr,k1);Fr.prototype.onContextMenu=function(a,b){or(this.clientConfig.internal)&&a.preventDefault();return k1.prototype.onContextMenu.call(this,a,b)};Fr.prototype.getAllIds=function(){return[this.id]};Fr.prototype.getSelection=function(){return this.selection};var mcb=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return er(kCc(a.id,b,c,a.densityClass,void 0,er(""+nCc()),er(""+lCc(c,b,d,e)),er(""+oCc())))};var sCc=function(a){return"To unhide this suggestion, press "+a.shortcutKey+" + Enter.  "};var tcb=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=Rq(this);this.onClick=f;this.eventHandler.listen(this.root,"click",function(k){var q;null==(q=h.onClick)||q.call(h,k)});this.disableDomNavigation?this.root.tabIndex=-1:(this.eventHandler.listen(this.root,"focus",function(){h.activate()}),this.eventHandler.listen(this.root,"blur",function(){h.deactivate()}))};g=tcb.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 tCc=0;var pcb=function(a){var b=a.icon,c=a.ariaLabel,d="";c=(a=a.tooltipLabel?"tt-c"+tCc++:"")?' data-tooltip-id="'+hr(a)+'" aria-labelledby="'+hr(a)+'"':c?' aria-label="'+hr(c)+'"':"";d+='<button class="'+hr("peoplekitComponentsButtonIconIconButton")+'"'+c+">"+er('<span><img src="'+hr(Kec(b))+'" draggable="false" aria-hidden="true" alt="" class="'+hr("peoplekitComponentsButtonIconAdaptableIcon")+'"/></span>')+"</button>";return er(d)};var Gr=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("Ue");if("Escape"===e.key){var f=document.activeElement;f&&d.tooltip.contains(f)&&d.anchor.focus();d.hideTooltip();e.stopPropagation()}};this.eventHandler=Rq(this)};
Gr.prototype.showTooltip=function(){if(!this.isDisplayed()&&this.anchor){this.displayed=!0;var a;null==(a=this.showCallback)||a.call(this);uCc(this);document.body.addEventListener("keydown",this.tooltipKeydownHandler)}};Gr.prototype.hideTooltip=function(){if(this.isDisplayed()&&this.anchor){this.displayed=!1;var a;null==(a=this.hideCallback)||a.call(this);vCc(this);document.body.removeEventListener("keydown",this.tooltipKeydownHandler)}};Gr.prototype.isDisplayed=function(){return this.displayed};
Gr.prototype.getAnchorElement=function(){return this.anchor};
var wCc=function(a,b){a.hideCallback=b.hideTooltipCallback;a.showCallback=b.showTooltipCallback},ACc=function(a,b){if(a.anchor)throw Error("Te");a.anchor=b;xCc(a);yCc(a);zCc(a)},BCc=function(a){vCc(a);uCc(a);a.showTimeout=setTimeout(function(){a.showTooltip()},a.showDelayMs)},CCc=function(a){vCc(a);uCc(a);a.hideTimeout=setTimeout(function(){a.hideTooltip()},a.hideDelayMs)},xCc=function(a){if(!a.anchor)throw Error("Ue");a.eventHandler.listen(a.anchor,"mouseenter",function(){a.isDisplayed()?a.showTooltip():
BCc(a)});a.eventHandler.listen(a.anchor,"touchstart",function(){BCc(a)});a.eventHandler.listen(a.anchor,"focus",function(b){a.tooltip.contains(b.relatedTarget)||BCc(a)});a.eventHandler.listen(a.anchor,"touchend",function(){uCc(a)});a.eventHandler.listen(a.anchor,"mouseleave",function(){CCc(a)});a.eventHandler.listen(a.anchor,"blur",function(){a.hideTooltip()})},yCc=function(a){a.eventHandler.listen(a.tooltip,"mouseenter",function(){BCc(a)});a.eventHandler.listen(a.tooltip,"mouseleave",function(){CCc(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()})},zCc=function(a){a.eventHandler.listen(window,"touchmove",function(){CCc(a)});a.eventHandler.listen(window,"focus",function(b){b.target!==a.anchor&&CCc(a)});a.eventHandler.listen(window,"blur",function(b){b.target===window&&a.hideTooltip()})},uCc=function(a){clearTimeout(a.showTimeout);a.showTimeout=void 0},vCc=function(a){clearTimeout(a.hideTimeout);
a.hideTimeout=void 0};var rcb=function(a,b){this.tooltip=a;this.tooltipEventTracker=b;this.popupService=Rab(this.tooltip,{anchorCorner:3,popupCorner:2})},scb=function(a,b){ACc(a.tooltipEventTracker,b);wCc(a.tooltipEventTracker,{showTooltipCallback:function(){a.showTooltipCallback()},hideTooltipCallback:function(){a.hideTooltipCallback()}})};g=rcb.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 qcb=function(a){var b=a.label,c=a.ariaLabel,d=a.classes,e=a.attributes;return er('<div id="'+hr(a.id)+'" peoplekit-id="'+hr("suEOdc")+'" class="'+hr("peoplekitComponentsTooltipImplTooltip")+(d?" "+hr(d):"")+'" style="display: none;" aria-hidden="true"'+(c?' aria-label="'+hr(c)+'"':"")+(LO(e)?Fec(KO(e,oec)?e.getContent():Pec(e)):"")+">"+ir(b)+"</div>")};var vcb=function(a,b,c){this.delegate=a;var d=this;this.secondaryActionConfig=c;for(var e=cr(a.getRoot(),"QChpEe");e.firstChild;)e.removeChild(e.firstChild);this.secondaryActionButton=ucb(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&&SM(this.buttonRoot,"menuitem");Pq({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(Sq(d.buttonRoot))};this.eventHandler=Rq(this);this.eventHandler.listen(a.getRoot(),"mouseover",this.displaySecondaryActionButton);this.eventHandler.listen(a.getRoot(),"mouseleave",this.hideSecondaryActionButton)};X(vcb,k1);g=vcb.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(),TM(this.buttonRoot,"hidden","true"),a.stopPropagation(),a.preventDefault()):(this.secondaryActionButton.activate(),TM(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();k1.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 DCc={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"},ECc=sCc({shortcutKey:"Ctrl"}),FCc=sCc({shortcutKey:"\u2318"}),xcb=function(a,b,c,d){var e=0===b.getTheme()?DCc.LIGHT_THEME:DCc.DARK_THEME,f=waa()?FCc:ECc;k1.call(this,wcb(a,b,{icon:e,tooltipLabel:"Unhide suggestion",ariaLabel:f,onClick:function(k){h.onButtonClick(k)},disableDomNavigation:!0},d));var h=
this;this.appearanceConfig=b;this.clientConfig=c;this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher};X(xcb,k1);xcb.prototype.onButtonClick=function(a){GCc(this);a.stopPropagation()};
var GCc=function(a){a.unhideConfirmationDialog&&HCc(a);a.dispatcher.notify(8);a.unhideConfirmationDialog=ubb(Uab(a.getRoot()),a.getSelection(),a.appearanceConfig,1);a.unhideConfirmationDialog.subscribeToAction(function(b){1===b&&a.dispatcher.notify(4,a.getAllIds());HCc(a)})},HCc=function(a){var b;null==(b=a.unhideConfirmationDialog)||b.dispose();a.unhideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())};var Ecb=!1,Hcb=new Map([[1,Ccb()],[4,Ccb()],[5,Dcb(1)],[6,Dcb(2)],[2,function(a){return Bcb(Acb(ncb(a),a),a)}],[3,function(a){return Acb(hcb(a),a)}]]);var Scb=function(a,b,c,d,e,f,h,k){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=h;this.ariaParent=k;this.results=[];this.intelligentCollection=f.create();this.navigatable=new AAc(new Eab(this.results))};g=Scb.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=l(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,k=this.clientConfig,q=aP(this.list.getRoot()),t=this.interactions,w=this.ariaParent;c=pAc()?Gcb(c,d,e,f,h,k,q,t,w):Icb(c,d,e,f,h,k,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=l(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 r1=function(a){this.delegate=a};g=r1.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 ICc=function(a){var b=a.id,c=a.groupName;a=a.classes;return er('<div class="'+hr("peoplekitComponentsGroupingHeaderCollapsibleChevronContainer")+" "+(a?" "+hr(a):"")+'" peoplekit-id="'+hr("wgPSWd")+'" id="'+hr(b)+'" aria-expanded="false" role="menuitem" aria-label="'+hr("To expand "+c+" group, press enter")+'"><svg class="'+hr("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>')},
JCc=function(a){return"To "+a.action+" "+a.groupName+" group, press enter"};var Hr=function(a,b,c){this.delegate=a;var d=this;this.isCollapsed=b;this.interactionListener=c;this.eventHandler=Rq(this);this.chevron=Ro(ICc,{id:Mq(Uq.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);cr(this.getRoot(),"QChpEe").appendChild(this.chevron);b||(this.chevron.classList.toggle("rotate"),TM(this.chevron,"expanded",!0),$$b(this.chevron,JCc({groupName:this.getHeader(),action:"collapse"})))};X(Hr,r1);Hr.prototype.getActionItems=function(){return this.groupingHeaderActionItems};Hr.prototype.dispose=function(){this.eventHandler.removeAll();r1.prototype.dispose.call(this)};
Hr.prototype.toggleView=function(){this.isCollapsed=!this.isCollapsed;this.chevron.classList.toggle("rotate");this.interactionListener(this.isCollapsed);var a=this.isCollapsed?"expand":"collapse";TM(this.chevron,"expanded",!this.isCollapsed);$$b(this.chevron,JCc({groupName:this.getHeader(),action:a}))};var KCc=function(a){var b=a.id,c=a.ariaLabel;a=a.classes;return er('<div class="'+hr("peoplekitComponentsGroupingHeaderInfoInfoIconContainer")+" "+(a?" "+hr(a):"")+'" peoplekit-id="'+hr("CLghmc")+'" id="'+hr(b)+'" aria-label="'+hr(c)+'"><svg class="'+hr("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 MCc=function(a,b,c,d){this.delegate=a;var e=this;this.infoGroupConfig=b;this.appearanceConfig=c;this.infoGroupingHeaderVeIds=d;this.infoIcon=Ro(KCc,{id:Mq(Uq.getInstance()),ariaLabel:"For more information about "+this.getHeader()+", press enter.",classes:"TdcT2c"});cr(this.getRoot(),"xiK4Cd").appendChild(this.infoIcon);void 0!==this.infoGroupingHeaderVeIds.infoIconVeId&&Pq({element:this.infoIcon,veid:this.infoGroupingHeaderVeIds.infoIconVeId,actions:["impression","pcw-click"],componentId:"peoplekitweb"});
this.eventHandler=Rq(this);this.eventHandler.listen(this.infoIcon,"click",function(){LCc(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&&(LCc(e),f.stopPropagation(),f.preventDefault())}})};X(MCc,r1);
var LCc=function(a){a.infoIcon.dispatchEvent(Sq(a.infoIcon));var b=fbb({header:a.infoGroupConfig.infoDialogHeader}),c=UAc({description:a.infoGroupConfig.learnMoreMessage,learnMoreLinkUrl:a.infoGroupConfig.learnMoreUrl,learnMoreLinkText:a.infoGroupConfig.learnMoreLinkText}),d=a.getRoot().ownerDocument.activeElement,e=Uab(a.getRoot()),f=ebb(e,c,a.appearanceConfig,b),h=cr(f.getRoot(),"lh87ke");void 0!==a.infoGroupingHeaderVeIds.learnMoreLinkVeId&&Pq({element:h,veid:a.infoGroupingHeaderVeIds.learnMoreLinkVeId,
actions:["impression","pcw-click"],componentId:"peoplekitweb"});a.eventHandler.listen(h,"click",function(){h.dispatchEvent(Sq(h))});f.subscribeToAction(function(k){2===k&&(f.dispose(),d&&d.focus())})};MCc.prototype.getActionItems=function(){return this.groupingHeaderActionItems};MCc.prototype.dispose=function(){this.eventHandler.removeAll();r1.prototype.dispose.call(this)};var Kcb=function(a,b){this.root=a;this.header=b};g=Kcb.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("Re");};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var Jcb=function(a){var b=er;var c=a.id;a=a.header;c=er('<div class="'+hr("peoplekitComponentsGroupingHeaderGroupingHeader")+'" id="'+hr(c)+'" peoplekit-id="'+hr("XLuqBd")+'" role="menu"><div class="'+hr("peoplekitComponentsGroupingHeaderGroupingHeaderRow")+'"><div class="'+hr("peoplekitComponentsGroupingHeaderHeader")+'">'+ir(a)+'</div><div class="'+hr("peoplekitComponentsGroupingHeaderAction")+'"><div class="'+hr("peoplekitComponentsGroupingHeaderActionRow")+'"><div class="'+hr("peoplekitComponentsGroupingHeaderLeft")+
'" peoplekit-id="'+hr("xiK4Cd")+'"></div><div class="'+hr("peoplekitComponentsGroupingHeaderRight")+'" peoplekit-id="'+hr("QChpEe")+'"></div></div></div></div></div>');return b(c)};var NCc=function(a){this.delegate=a};X(NCc,r1);NCc.prototype.spotlight=function(){var a=this.getActionItems();a.length&&(this.activeActionItemIndex=0,a[this.activeActionItemIndex].focus())};NCc.prototype.unspotlight=function(){void 0!==this.activeActionItemIndex&&(this.getActionItems()[this.activeActionItemIndex].unfocus(),this.activeActionItemIndex=void 0)};
NCc.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 s1=function(a){this.delegate=a};g=s1.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 Kr=function(a,b){this.delegate=a;var c=this;this.listContainer=cr(this.getRoot(),"tjneg");a=a.getHeader();if(!a)throw Error("We");this.collapsibleHeader=Mcb(a,b.isInitiallyCollapsed,function(d){c.interactionListener(d)});cr(this.collapsibleHeader.getRoot(),"wgPSWd").setAttribute("aria-controls",this.listContainer.id);b.isInitiallyCollapsed&&this.listContainer.classList.add("collapsed")};X(Kr,s1);Kr.prototype.isInteractive=function(){return!0};Kr.prototype.getHeader=function(){return this.collapsibleHeader};
Kr.prototype.dispose=function(){this.collapsibleHeader.dispose();s1.prototype.dispose.call(this)};Kr.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 Jr=function(a,b,c){this.delegate=a;a=a.getHeader();if(!a)throw Error("Xe");var d={};1===b.infoType&&(d={infoIconVeId:185198,learnMoreLinkVeId:185199});this.infoHeader=new MCc(a,b,c,d)};X(Jr,s1);Jr.prototype.isInteractive=function(){return!0};Jr.prototype.getHeader=function(){return this.infoHeader};Jr.prototype.dispose=function(){this.infoHeader.dispose();s1.prototype.dispose.call(this)};var Ir=function(a,b){this.delegate=a;this.groupName=b;this.header=Lcb(b);cr(a.getRoot(),"Bm3u4d").appendChild(this.header.getRoot())};X(Ir,s1);Ir.prototype.getGroupName=function(){return this.groupName};Ir.prototype.getHeader=function(){return this.header};Ir.prototype.dispose=function(){this.header.dispose();s1.prototype.dispose.call(this)};var OCc=function(a){this.root=a;this.items=[];this.list=qab(cr(a,"tjneg"))};g=OCc.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=l(this.items),b=a.next();!b.done;b=a.next())b.value.dispose();this.list.clear();this.items=[]};var PCc=function(a,b,c){this.delegate=a;var d=this;this.resultListGroupConfig=b;this.navigatable=c;this.listContainer=cr(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 NCc(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})};X(PCc,s1);g=PCc.prototype;g.append=function(a){this.isCollapsed||this.navigatable.insert(this.navigatable.size(),[a],!1);s1.prototype.append.call(this,a)};g.getHeader=function(){return this.header};g.dispose=function(){this.mutationObserver.disconnect();s1.prototype.dispose.call(this)};g.getItems=function(){return this.isCollapsed?[]:s1.prototype.getItems.call(this)};
g.onMutation=function(a){if(this.header){a=l(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),uab(this.getRoot())))}};var QCc=function(a){var b=a.listId;return er('<div id="'+hr(a.id)+'" peoplekit-id="'+hr("E9WxSb")+'" role="group"><div peoplekit-id="'+hr("Bm3u4d")+'"></div><div id="'+hr(b)+'" role="region" class="'+hr("peoplekitComponentsResultListGroupListContainer")+'" peoplekit-id="'+hr("tjneg")+'"></div></div>')};var Xcb=function(a,b,c,d,e,f,h,k){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=f;this.grouping=h;this.ariaParent=k;this.groups=new Map;this.navigatable=new AAc(new Eab([]));this.list.getRoot().removeAttribute("role")};g=Xcb.prototype;
g.append=function(a,b){a=l(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,k=this.resultConfig,q=this.appearanceConfig,t=this.clientConfig,w=aP(this.list.getRoot()),z=this.interactions,F=this.ariaParent;d=pAc()?Gcb(d,f,h,k,q,t,w,z,F):Icb(d,f,h,k,q,t,w,z,F);if(c&&!e){e=this.grouping;f=c;h=this.navigatable;k=this.appearanceConfig;t=[Ncb,Pcb,Qcb];q=Mq(Uq.getInstance());w=Mq(Uq.getInstance());w=Ro(QCc,{id:q,listId:w});
q=Ocb();w=new OCc(w);t=l(t);for(z=t.next();!z.done;z=t.next())z=z.value,w=z(w,e,f,k);e=new PCc(w,q,h);this.groups.set(c,e);this.list.append(e.getRoot())}e.append(d)}};g.clear=function(){this.list.clear();this.navigatable.clear();for(var a=l(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=l(this.groups.values()),c=b.next();!c.done;c=b.next())a.push.apply(a,r(c.value.getItems()));return a};var Ucb=function(a,b,c){this.delegate=a;this.list=b;this.grouping=c;this.renderedGroups=new Set};g=Ucb.prototype;g.append=function(a,b){a=l(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=Lcb(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 Vcb=function(a,b){this.delegate=a;this.interactions=b};g=Vcb.prototype;g.append=function(a,b){a=l(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 Rcb=function(a){a=a.header;return er('<div peoplekit-id="'+hr("aittld")+'">'+(0<a.length?'<div class="'+hr("peoplekitUiResultlistHeader")+'">'+ir(a)+"</div>":"")+'<div peoplekit-id="'+hr("tjneg")+'"></div></div>')};var zdb=function(a){this.label=a};zdb.prototype.getGroupId=function(a){return a.getTargetList().some(function(b){return 2!==b.getDataSource()})?"non_directory":"directory"};zdb.prototype.getGroupName=function(a){switch(a){case "directory":return this.label;case "non_directory":return"";default:return a}};var Ocb=function(){throw Error("Ye");};zdb.prototype.reset=function(){};var Adb=function(a){this.label=a};Adb.prototype.getGroupId=function(a){return 7!==a.getResultType()?"suggestions":"non_suggestions"};Adb.prototype.getGroupName=function(a){switch(a){case "suggestions":return this.label;case "non_suggestions":return"";default:return a}};Adb.prototype.reset=function(){};var RCc=function(a){this.delegate=a};g=RCc.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 Sr=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(k){return SCc(h,k)};this.unhideListener=function(k){return TCc(h,k)};this.onContextMenuDisposedListener=function(k){if(h.navigationInput!==document.activeElement){var q;null==(q=h.navigatable.getItem(k))||q.deactivate();h.navigatable.reset()}};this.saveActiveElement=
function(){h.previouslyActiveElement=document.activeElement};this.onDialogDisposedListener=function(k){h.navigationInput===h.previouslyActiveElement&&(k=h.navigatable.getItem(k))&&h.navigatable.goToItem(k,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)};X(Sr,RCc);Sr.prototype.search=function(a,b,c,d){this.currentSearchState={query:a,anchor:b,showSuggestions:c,listener:d};RCc.prototype.search.call(this,a,b,c,d)};
Sr.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);RCc.prototype.dispose.call(this)};
var SCc=function(a,b){return ke(function(c){switch(c.nextAddress){case 1:return le(c,2),me(c,a.hide.hideResults(b),4);case 4:return me(c,a.refreshResults(),5);case 5:xt(c,0);break;case 2:pe(c),UCc(a),qe(c)}})},TCc=function(a,b){return ke(function(c){switch(c.nextAddress){case 1:return le(c,2),me(c,a.hide.unhideResults(b),4);case 4:return me(c,a.refreshResults(),5);case 5:xt(c,0);break;case 2:pe(c),VCc(a),qe(c)}})};
Sr.prototype.refreshResults=function(){var a=this;return ke(function(b){if(1==b.nextAddress)return a.getRoot().classList.add("isLoading"),a.peopleStore.flushCache(2),me(b,a.peopleStore.warmUpCache(),2);a.currentSearchState?RCc.prototype.search.call(a,a.currentSearchState.query,a.currentSearchState.anchor,a.currentSearchState.showSuggestions,a.currentSearchState.listener):a.getRoot().classList.remove("isLoading");qe(b)})};
var UCc=function(a){a.hideErrorDialog=gbb(a.getRoot(),a.autocompleteConfig);a.hideErrorDialog.subscribeToAction(function(){var b;null==(b=a.hideErrorDialog)||b.dispose()})},VCc=function(a){a.unhideErrorDialog=ibb(a.getRoot(),a.autocompleteConfig);a.unhideErrorDialog.subscribeToAction(function(){var b;null==(b=a.unhideErrorDialog)||b.dispose()})};var WCc=function(a,b){Vq.call(this,a,b)};X(WCc,Vq);WCc.prototype.onKeyDown=function(a){if(9===a.event.keyCode){var b=this.getSpotlitItem();if(b){b=b.getRoot();var c=this.ariaParent;var d=Z$b(c,"activedescendant");c=IB(c).getElementById(d);(d=b.querySelector('[id="'+(b.id+'-2ab"]')))?UM(this.ariaParent,c===d?b:d):Zcb(b)&&(b=Array.from(b.querySelectorAll('[class~="TdcT2c"]')),c=c?b.indexOf(c):-1,-1!==c&&UM(this.ariaParent,b[(c+1)%b.length]))}}Vq.prototype.onKeyDown.call(this,a)};
WCc.prototype.next=function(a){a=Vq.prototype.next.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),Zcb(b)&&XCc(this,b));return a};WCc.prototype.prev=function(a){a=Vq.prototype.prev.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),Zcb(b)&&XCc(this,b));return a};var XCc=function(a,b){(b=b.querySelector('[class~="TdcT2c"]'))&&UM(a.ariaParent,b)};var Gdb=function(a,b,c,d,e,f,h,k){this.root=a;this.navigationInput=b;this.resultList=c;this.session=d;this.health=e;this.config=f;this.noResultsMessage=h;this.clientConfig=k;this.attached=!1;this.resultsLoadingCompleteListeners=[];this.navigatable=new WCc(this.navigationInput,this.resultList.getNavigatable());this.navigatable.setSecondaryEventTargets([this]);this.navigationEventHandler=Hab({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{shouldReactToHomeEnd:!1});this.eventHandler=
Rq(this);Lq(this.root,0)};g=Gdb.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");Lq(this.root,1);if(a){var f=YCc(this.health);f.start();this.session.search(a,function(k){e.update(k,d,f,!0)})}else if(c){var h=YCc(this.health);h.start();this.session.suggest(function(k){e.update(k,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()}),Xi(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 h1(b),function(){}))}))};
g.detach=function(){this.attached=!1;this.navigatable.reset();this.navigationEventHandler.detach();this.eventHandler.removeAll();this.session.cancel();Lq(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});or(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(Lq(this.root,0===a.getCode()?2:3,a.getCode()),b={query:f,resultCount:e.length},d=l(this.resultsLoadingCompleteListeners),a=d.next();!a.done;a=d.next())a=a.value,a(b);else Lq(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=l(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 ydb=function(){var a=er,b='<div class="'+hr("peoplekitComponentsAutocompleteInlineContainer")+'" peoplekit-id="'+hr("yDHfq")+'"><div class="'+hr("peoplekitComponentsAutocompleteInlineListContainer")+'">';var c=er('<div peoplekit-id="'+hr("tjneg")+'"></div>');c=er('<div tabindex="-1" class="'+hr("peoplekitComponentsScrollboxScrollbar")+'" peoplekit-id="'+hr("I8ejUe")+'">'+ir(c)+"</div>");b=b+c+'</div><div class="'+hr("peoplekitComponentsAutocompleteInlineCircularProgress")+'">';c='<div class="'+
hr("peoplekitComponentsCircularprogressCircularProgress")+(" "+hr("isActive"))+'" data-loadingmessage="'+hr("Loading...")+'" data-active="true"'+(LO()?Fec(KO(void 0,oec)?(void 0).getContent():Pec()):"")+'><div class="'+hr("peoplekitComponentsCircularprogressMessageContainer")+'" aria-live="polite" jsname="'+hr("vyyg5")+'">'+ir("Loading...")+'</div><div class="'+hr("peoplekitComponentsCircularprogressCircularProgressContainer")+'"><div class="'+hr("peoplekitComponentsCircularprogressCircularProgressLayer")+
" "+hr("peoplekitComponentsCircularprogressColorOne")+" "+hr("exportColorOne")+'"><div class="'+hr("peoplekitComponentsCircularprogressCircleClipper")+" "+hr("peoplekitComponentsCircularprogressLeft")+'"><div class="'+hr("peoplekitComponentsCircularprogressCircle")+" "+hr("exportCircle")+'"></div></div><div class="'+hr("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+hr("peoplekitComponentsCircularprogressCircle")+" "+hr("exportCircle")+'"></div></div><div class="'+hr("peoplekitComponentsCircularprogressCircleClipper")+
" "+hr("peoplekitComponentsCircularprogressRight")+'"><div class="'+hr("peoplekitComponentsCircularprogressCircle")+" "+hr("exportCircle")+'"></div></div></div><div class="'+hr("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+hr("peoplekitComponentsCircularprogressColorTwo")+" "+hr("exportColorTwo")+'"><div class="'+hr("peoplekitComponentsCircularprogressCircleClipper")+" "+hr("peoplekitComponentsCircularprogressLeft")+'"><div class="'+hr("peoplekitComponentsCircularprogressCircle")+
" "+hr("exportCircle")+'"></div></div><div class="'+hr("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+hr("peoplekitComponentsCircularprogressCircle")+" "+hr("exportCircle")+'"></div></div><div class="'+hr("peoplekitComponentsCircularprogressCircleClipper")+" "+hr("peoplekitComponentsCircularprogressRight")+'"><div class="'+hr("peoplekitComponentsCircularprogressCircle")+" "+hr("exportCircle")+'"></div></div></div><div class="'+hr("peoplekitComponentsCircularprogressCircularProgressLayer")+
" "+hr("peoplekitComponentsCircularprogressColorThree")+" "+hr("exportColorThree")+'"><div class="'+hr("peoplekitComponentsCircularprogressCircleClipper")+" "+hr("peoplekitComponentsCircularprogressLeft")+'"><div class="'+hr("peoplekitComponentsCircularprogressCircle")+" "+hr("exportCircle")+'"></div></div><div class="'+hr("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+hr("peoplekitComponentsCircularprogressCircle")+" "+hr("exportCircle")+'"></div></div><div class="'+hr("peoplekitComponentsCircularprogressCircleClipper")+
" "+hr("peoplekitComponentsCircularprogressRight")+'"><div class="'+hr("peoplekitComponentsCircularprogressCircle")+" "+hr("exportCircle")+'"></div></div></div><div class="'+hr("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+hr("peoplekitComponentsCircularprogressColorFour")+" "+hr("exportColorFour")+'"><div class="'+hr("peoplekitComponentsCircularprogressCircleClipper")+" "+hr("peoplekitComponentsCircularprogressLeft")+'"><div class="'+hr("peoplekitComponentsCircularprogressCircle")+
" "+hr("exportCircle")+'"></div></div><div class="'+hr("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+hr("peoplekitComponentsCircularprogressCircle")+" "+hr("exportCircle")+'"></div></div><div class="'+hr("peoplekitComponentsCircularprogressCircleClipper")+" "+hr("peoplekitComponentsCircularprogressRight")+'"><div class="'+hr("peoplekitComponentsCircularprogressCircle")+" "+hr("exportCircle")+'"></div></div></div></div></div>';c=er(c);return a(b+c+"</div></div>")},Bdb=function(){return er('<div class="'+
hr("peoplekitComponentsAutocompleteInlineNoResultsContainer")+'"></div>')};var Ddb=function(a){a=a||{};var b=a.primaryMessage,c=a.contextMessage,d=a.learnMoreUrl,e=a.urlText;a=a.jsname;a='<div class="'+hr("peoplekitComponentsNoResultsMessageNoResultsMessage")+'"'+(a?' jsname="'+hr(a)+'"':"")+'><p class="'+hr("peoplekitComponentsNoResultsMessageHeader")+'">';a=b?a+ir(b):a+"No results";a+="</p>";if(c||d)a+='<p class="'+hr("peoplekitComponentsNoResultsMessageExplanation")+'">'+(c?ir(c)+(d?" ":""):""),d&&(a+='<a jsname="'+hr("viORvd")+'" class="'+hr("peoplekitComponentsNoResultsMessageLearnMoreLink")+
'" target="_blank" href="'+hr(NO(d))+'">',a=e?a+ir(e):a+"Learn more",a+="</a>"),a+="</p>";return er(a+"</div>")};var Cdb=function(a,b){this.parent=a;this.config=b};Cdb.prototype.update=function(a){this.root&&this.root.remove();a=this.config.display(a);if(!a)return!1;this.root=Ro(Ddb,a);this.parent.appendChild(this.root);return!0};var Fdb=function(){};Fdb.prototype.update=function(){return!1};var Edb=function(){};Edb.prototype.update=function(){return!0};var Hdb=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=Rab(this.root,{moveAboveAnchorIfOffscreen:this.config.getMoveAutocompleteAboveAnchorIfOffscreen()});this.inlineAutocomplete.getNavigatable().setSecondaryEventTargets([this.inlineAutocomplete,this]);this.eventHandler=Rq(this);this.onSelectionCallback=function(){f.onSelect()};this.onSelectionAttemptedCallback=function(){f.hide()};this.attach()};
g=Hdb.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;rCc(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("Ge`"+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("Ge`"+c);}}this.root.style.width=YO(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("Ge`"+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 xdb=function(){return er('<div class="'+hr("peoplekitComponentsAutocompletePopupContainer")+'" peoplekit-id="'+hr("noeiCf")+'" style="display: none;"></div>')};var ZCc=function(){this.batches=new Map};ZCc.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 $cb=function(a,b){this.service=a;this.resolveComponents=b};
$cb.prototype.update=function(a){var b=this;a=l([].concat(r(a.batches.values())));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.features.length){c=this.service.for(d.ids);d=l(d.features);for(var e=d.next();!e.done;e=d.next())switch(e.value){case 1:c=c.withWaldo(function(f){$Cc(b,f.values,function(h,k,q){q.updateWaldo(k,h)})});break;case 2:c=c.withHubAvailabilityDot(function(f){$Cc(b,f.values,function(h,k,q){q.updateHubAvailabilityDot(k,h)})})}c.execute()}}};
var $Cc=function(a,b,c){b=l(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;for(var e=d.getLookupId(),f=l(a.resolveComponents(e)),h=f.next();!h.done;h=f.next())c(e,d,h.value)}};var aDc=new Set([1,3,20]),bDc=function(a){var b=this;this.idToComponent=new Map;this.updater=adb(a,function(c){return b.resolveComponents(c)})};g=bDc.prototype;
g.append=function(a){var b=a.filter(function(f){return f.getAllIds().some(function(h){return aDc.has(h.getType())})});a=[];b=l(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;c.initializeIntelligence();for(var d=l(c.getAllIds()),e=d.next();!e.done;e=d.next())e=e.value,a.push(e),e=String(e),this.idToComponent.has(e)||this.idToComponent.set(e,[]),this.idToComponent.get(e).push(c)}this.refresh(a)};
g.remove=function(a){a=l(a);for(var b=a.next(),c={};!b.done;c={component$jscomp$96:void 0},b=a.next()){c.component$jscomp$96=b.value;b=l(c.component$jscomp$96.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$96}}(c)))}}};g.resolveComponents=function(a){return this.idToComponent.get(String(a))||[]};
g.refresh=function(a){var b=new ZCc;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.resolveComponents(c);d=l(d);for(var e=d.next();!e.done;e=d.next())b.add(c,e.value.getSupportedIntelligenceFeatures())}this.updater.update(b)};g.clear=function(){this.idToComponent.clear()};var cDc=function(){};cDc.prototype.append=function(){};cDc.prototype.remove=function(){};cDc.prototype.refresh=function(){};cDc.prototype.clear=function(){};var wdb=function(a){this.peopleIntelligence=a};wdb.prototype.create=function(){return this.peopleIntelligence?new bDc(this.peopleIntelligence):new cDc};var dDc=function(){this.label="";this.type=0};g=dDc.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 eDc=function(){this.decorationConfigRequest=function(){};this.resultCustomizationCallback=function(){return{}}};g=eDc.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 fDc=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 dDc;this.result=new eDc;this.appearance=new fr};g=fDc.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)};var gDc=function(a){this.environmentConfig=a;this.autocomplete=new fDc(a);this.autocomplete.setClearSelectionsOnSearch(!0)};g=gDc.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)};var hDc=Object.freeze(new Map([[5,1]]));var iDc=function(){this.entryPoint_=0};iDc.prototype.getPeoplekitEntryPoint=function(){return this.entryPoint_};iDc.prototype.setPeoplekitEntryPoint=function(a){this.entryPoint_=a;return this};iDc.prototype.serialize=function(){return[this.entryPoint_].toString()};var jDc=Object.freeze(new iDc);var kDc=function(){this.originator_=0};kDc.prototype.setOriginator=function(a){this.originator_=a;return this};kDc.prototype.getOriginator=function(){return this.originator_};var sdb=function(a,b,c){var d=this;this.reporter=a.getReporter((new iDc).setPeoplekitEntryPoint(c));rCc(b,function(e,f,h){d.select(e,h)},0);qCc(b,function(e,f,h){d.deselect(e,h)},0);lDc(b,function(e,f,h,k){d.replace(e,k)})};g=sdb.prototype;g.display=function(a){this.reporter.reportDisplay(bdb(a.getTargetList()))};g.select=function(a,b){if(!a.isPlaceholder())switch(b){case 1:case 12:case 5:this.reporter.reportSelect(Lr([a]),(new kDc).setOriginator(hDc.get(b)||0));break;case 6:this.reporter.reportExternalSelect(Lr([a]))}};
g.deselect=function(a,b){if(!a.isPlaceholder())switch(b){case 7:case 8:case 1:this.reporter.reportDeselect(Lr([a]))}};g.dismiss=function(a){this.reporter.reportDismiss(Lr(a))};g.save=function(a){this.reporter.reportSave(Lr(a))};g.send=function(a){this.reporter.reportSend(Lr(a))};g.replace=function(a,b){switch(b){case 5:case 6:this.select(a,b)}};var mDc=function(){this.isBatchingInternal=!1;this.timerId=this.lastBatchTime=0};mDc.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=iq(function(){b.isBatchingInternal=!1;a()},100<d?0:100)}};mDc.prototype.cancel=function(){jq(this.timerId);this.isBatchingInternal=!1};var Ndb=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 mDc;rCc(this.selectionsState,function(){nDc(h,!1)});qCc(this.selectionsState,function(){nDc(h,!0)})};g=Ndb.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(Lr(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(Lr(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 kxc=function(a,b){a.selectionChangedListeners.push({listener:b,listenToDeselections:!1})},nDc=function(a,b){a.selectionChangedAutoBatcher.call(function(){for(var c=a.selectionsState.asArray(),d=l(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 rdb=function(a){a=a||{};a=a.classes;return er('<div peoplekit-id="'+hr("nVhUhf")+'"'+(a?' class="'+hr(a)+'"':"")+"></div>")};var oDc=function(a){this.internalArray_=m(a)};X(oDc,n);g=oDc.prototype;g.getClientId=function(){return cj(this,1,0)};g.setClientId=function(a){return tj(this,1,a)};g.getEntryPoint=function(){return cj(this,5,0)};g.setEntryPoint=function(a){return tj(this,5,a)};g.getSocialClient=function(){return $i(this,XN,2)};g.setSocialClient=function(a){return li(this,XN,2,a)};g.setVersionName=function(a){return Lh(this,3,a)};g.getBaselineCl=function(){return kj(this,4)};
g.setBaselineCl=function(a){return zj(this,4,a)};g.hasBaselineCl=function(){return jj(this,4)};g.getBaselineClOrUndefined=function(){return eu(this,4)};g.getComponentFlow=function(){return cj(this,7,0)};g.setComponentFlow=function(a){return tj(this,7,a)};var pDc=function(a){this.internalArray_=m(a)};X(pDc,n);var qDc=function(a){this.internalArray_=m(a)};X(qDc,n);g=qDc.prototype;g.getLabel=function(){return cj(this,1,0)};g.setLabel=function(a){return tj(this,1,a)};g.hasLabel=function(){return aj(this,1)};g.getValue=function(){return kj(this,2,1)};g.setValue=function(a){return zj(this,2,a)};g.hasValue=function(){return jj(this,2)};var t1=function(a){this.internalArray_=m(a)};X(t1,n);t1.prototype.getLabel=function(){return Zi(this,1)};t1.prototype.setLabel=function(a){return Lh(this,1,a)};t1.prototype.hasLabel=function(){return Pi(this,1)};t1.prototype.getCause=function(){return Zi(this,2)};var rDc=function(a){this.internalArray_=m(a)};X(rDc,n);g=rDc.prototype;g.getLabel=function(){return cj(this,1,0)};g.setLabel=function(a){return tj(this,1,a)};g.hasLabel=function(){return aj(this,1)};g.setLatencyUsec=function(a){zj(this,2,a)};g.getCacheStatus=function(){return cj(this,3,0)};g.setCacheStatus=function(a){return tj(this,3,a)};var u1=function(a){this.internalArray_=m(a)};X(u1,n);u1.prototype.getInterfaceType=function(){return cj(this,1,0)};u1.prototype.setInterfaceType=function(a){return tj(this,1,a)};var sDc=function(a){this.internalArray_=m(a)};X(sDc,n);g=sDc.prototype;g.getCount=function(){return $i(this,qDc,3)};g.setCount=function(a){return li(this,qDc,3,a)};g.getLatency=function(){return $i(this,rDc,4)};g.setLatency=function(a){return li(this,rDc,4,a)};g.getError=function(){return $i(this,t1,5)};g.setError=function(a){li(this,t1,5,a)};g.hasError=function(){return ji(this,t1,5)};var tDc=function(a){this.internalArray_=m(a)};X(tDc,n);tDc.prototype.setElementIndex=function(a){rj(this,2,a)};tDc.repeatedFields_=[3];var v1=function(a){this.internalArray_=m(a)};X(v1,n);v1.prototype.getClientInterface=function(){return $i(this,oDc,3)};v1.prototype.setClientInterface=function(a){return li(this,oDc,3,a)};v1.prototype.getMetadata=function(){return $i(this,pDc,4)};v1.prototype.setMetadata=function(a){li(this,pDc,4,a)};var tdb=function(a,b){this.entryPoint=b;this.logContext=Cfb(ts(new us,"PeopleKit").setLogSource(624).setApplication(a.getSocialApplicationOrUndefined()).setEnvironment(0).setVersion("1.0").setBaselineCl(601920380).setEnableClearcut(a.getEnableClearcut()),xr.getExperimentIds());this.clientId=a.getClientId();this.componentFlow=a.getComponentFlow()};g=tdb.prototype;g.getLogContext=function(){return this.logContext};g.createCountMetric=function(){throw Error("Pe");};
g.createStatusMetric=function(){throw Error("Pe");};g.createLatencyMetric=function(a,b){b=b.source();a=(new v1).setClientInterface((new oDc).setClientId(this.clientId).setSocialClient(a.getSocialClient()).setVersionName(this.getLogContext().getVersionOrUndefined()).setBaselineCl(this.getLogContext().getBaselineClOrUndefined()).setComponentFlow(this.componentFlow).setEntryPoint(this.entryPoint));return li(a,sDc,2,b)};g.createErrorMetric=function(){throw Error("Pe");};var uDc=function(a,b){this.count=0;this.metrics=a;this.label="total";a=new sDc;a=tj(a,1,4);var c=new u1;b=tj(c,2,2).setInterfaceType(b);this.dataEntry=li(a,u1,2,b).setLatency((new rDc).setLabel(8));this.state=new iO(this.dataEntry)};uDc.prototype.start=function(){this.count=0;this.metrics.start(this.state,this.label)};
uDc.prototype.stop=function(a){a=void 0===a?function(){}:a;this.metrics.stop(this.state,this.label);var b=jO(this.state,this.label),c;null==(c=this.dataEntry.getLatency())||c.setLatencyUsec(b);a(b);var d;null!=(d=$i(this.dataEntry,u1,2))&&rj(d,3,this.count);this.metrics.latency(this.state);++this.count};var vdb=function(a,b){this.metrics=a;this.userInterfaceType=b};var udb=function(a){this.trackers=a},YCc=function(a){a=a.trackers;return new uDc(a.metrics,a.userInterfaceType)};var w1=function(){this.itemsByPriority=[]};w1.prototype.add=function(a,b){this.itemsByPriority[b]||(this.itemsByPriority[b]=new Set);this.itemsByPriority[b].add(a)};w1.prototype.remove=function(a){for(var b=l(this.itemsByPriority),c=b.next();!c.done;c=b.next())(c=c.value)&&c.delete(a)};w1.prototype.asArray=function(){return this.itemsByPriority.flatMap(function(a){return[].concat(r(a))})};var Qr=function(){this.selectionCallbacks=new w1;this.deselectionCallbacks=new w1;this.selectionReplacedCallbacks=new w1;this.selectionAttemptedCallbacks=new w1;this.selectionsState=[]};
Qr.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 Mr(a,b,c,this.selectionAttemptedCallbacks.asArray()),!1;0<=b?(this.selectionsState.splice(b,0,a),Mr(a,b,c,this.selectionCallbacks.asArray())):(this.selectionsState.push(a),Mr(a,this.selectionsState.length-1,c,this.selectionCallbacks.asArray()));return!0};
Qr.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),Mr(a,d,b,this.deselectionCallbacks.asArray()))};Qr.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 rCc=function(a,b,c){a.selectionCallbacks.add(b,void 0===c?2:c)},qCc=function(a,b,c){a.deselectionCallbacks.add(b,void 0===c?2:c)},lDc=function(a,b){a.selectionReplacedCallbacks.add(b,0)};g=Qr.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;cdb(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 Mr(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 vDc={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"}},ddb=hdb(vDc),wDc=new Map,xDc=l(Object.keys(vDc)),yDc=xDc.next();!yDc.done;yDc=xDc.next()){var zDc=yDc.value;wDc.set(vDc[zDc].xid,vDc[zDc].string)}
var fdb=hdb({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 x1=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_=[]},y1=function(a,b){return b?a.tracks_.has(a.maybeXidEventLabel_(b)):0!=a.tracks_.size};g=x1.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 ADc=function(a,b){for(var c=0;c<a.metadataHandlers_.length;++c)a.metadataHandlers_[c](b)};x1.prototype.maybeXidEventLabel_=function(a){return this.xidTagComponents_?edb(a):a};x1.prototype.maybeXidPartLabel_=function(a){return this.xidTagComponents_?gdb(a):a};var BDc=function(a){x1.call(this,a)};X(BDc,x1);var CDc=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};CDc.prototype.getTag=function(){return this.veTag_};CDc.prototype.getElement=function(){return this.el_};var EDc=function(a){var b=DDc++;a.traversalOrder_=b};CDc.prototype.setParent=function(a){this.parent_=a};CDc.prototype.getParent=function(){return this.parent_};
var FDc=function(a){if(a.impressionEventID){var b=new xu;b.setVeIndex(a.traversalOrder_);rj(b,2,a.getTag().visualElementID_);li(b,wu,13,a.impressionEventID);a=jOb(b);return"0"+Laa(a,4)}};var Idb=function(a){this.internalArray_=m(a)};X(Idb,n);g=Idb.prototype;g.getClientId=function(){return cj(this,1,0)};g.setClientId=function(a){return tj(this,1,a)};g.getEntryPoint=function(){return cj(this,2,0)};g.setEntryPoint=function(a){return tj(this,2,a)};g.getApplication=function(){return cj(this,3,0)};g.setApplication=function(a){return tj(this,3,a)};g.getApplicationOrUndefined=function(){return xs(this,3)};g.setVersionName=function(a){return Lh(this,4,a)};
g.getBaselineCl=function(){return kj(this,5)};g.setBaselineCl=function(a){return zj(this,5,a)};g.hasBaselineCl=function(){return jj(this,5)};g.getBaselineClOrUndefined=function(){return eu(this,5)};g.getMetadata=function(){return $i(this,pDc,6)};g.setMetadata=function(a){li(this,pDc,6,a)};g.setSharekitEntryPoint=function(a){tj(this,7,a)};g.getSharekitEntryPointOrUndefined=function(){return xs(this,7)};var Jdb=function(a){this.context_=a};Jdb.prototype.createNewTag=function(a){return new BDc(a)};Jdb.prototype.addEventMetadata=function(a){hZb(a,this.context_.serialize())};var GDc=function(){this.client_info=this.global_metadata=this.ve_metadata=void 0;this.testCodes=[]};var HDc=function(){};HDc.prototype.impressionEvent=function(){return[]};HDc.prototype.interactionEvent=function(){return[]};HDc.prototype.visibilityEvent=function(){return[]};var KDc=function(){if(!IDc){var a=IDc=new dOb,b=1E3*Date.now();zj(a,1,b);lk(IDc,2,Dba());lk(IDc,3,Dba())}a=(new wu).setBase(IDc);b=++JDc;return zj(a,2,b)},JDc=0,IDc=void 0;var z1=function(a){this.internalArray_=m(a,1)};X(z1,n);var A1=function(a){this.internalArray_=m(a)};X(A1,n);var LDc=function(a){this.internalArray_=m(a,7)};X(LDc,n);g=LDc.prototype;g.getTarget=function(){return $i(this,yu,1)};g.setTarget=function(a){return li(this,yu,1,a)};g.getType=function(){return cj(this,2,0)};g.setType=function(a){return tj(this,2,a)};g.hasType=function(){return aj(this,2)};var MDc=function(a){var b=Date.now();b=Number.isFinite(b)?1E3*b:void 0;zj(a,4,b)};var B1=function(a){this.internalArray_=m(a)};X(B1,n);B1.repeatedFields_=[1];var C1=function(a){this.internalArray_=m(a,17)};X(C1,n);g=C1.prototype;g.setVed=function(a){return Lh(this,11,a)};g.setUiType=function(a){return rj(this,1,a)};g.setVeIndex=function(a){rj(this,2,a)};g.getResultIndex=function(){return qi(this,7,-1)};g.setResultIndex=function(a){rj(this,7,a)};g.setElementIndex=function(a){rj(this,8,a)};var NDc=function(a,b){gl(a,14,b)};C1.repeatedFields_=[14];var D1=function(a){this.internalArray_=m(a)};X(D1,n);D1.repeatedFields_=[2];var ODc=function(a){this.userAction=a};var PDc=function(){};PDc.prototype.createNewTag=function(a){return new x1(a)};PDc.prototype.addEventMetadata=function(){};var E1=function(a){this.internalArray_=m(a)};X(E1,n);var QDc=function(a,b){gl(a,1,b)};E1.prototype.addPath=function(a,b){return sq(this,1,zu,a,b)};E1.prototype.setPath=function(a,b){return Tt(this,1,zu,a,b)};E1.repeatedFields_=[1];var RDc=new ju(100,E1);var F1=function(a){this.internalArray_=m(a)};X(F1,n);var G1=function(a){this.internalArray_=m(a)};X(G1,n);G1.prototype.getTimestamp=function(){return $i(this,F1,1)};G1.prototype.setTimestamp=function(a){return li(this,F1,1,a)};G1.prototype.hasTimestamp=function(){return ji(this,F1,1)};var SDc=new ju(126,G1);var TDc=new ju(618,G1);var UDc=function(a){this.internalArray_=m(a)};X(UDc,n);var VDc=new ju(273,UDc);var Tr=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};X(Tr,HDc);Tr.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=WDc(this,c,b);b=this.enableBatching_?XDc(this,d,b):YDc(this,d,b);return a.concat(b)};
Tr.prototype.interactionEvent=function(a,b){var c=new gC,d=new D1,e=KDc();li(d,wu,1,e);e=new C1;a.serverVed_?e.setVed(a.serverVed_):e.setUiType(a.getTag().visualElementID_).setVeIndex(a.traversalOrder_);NDc(rj(e,3,b.userAction),this.getAncestry_(a));this.setTimestamp(e);b=new A1;li(b,wu,1,a.impressionEventID);li(d,wu,3,a.impressionEventID);li(d,C1,4,e);li(d,A1,9,b);hC(c,d.serialize());return[c]};
Tr.prototype.visibilityEvent=function(a,b){for(var c=[],d=new Map,e=0;e<a.length;++e){var f=a[e],h=f.getElement(),k=f.rootImpressionEventID,q=d.get(k);q=q?q:[];var t=new E1;this.enableAncestryLoggingForGrafts_&&QDc(t,this.getAncestry_(f));if(f.neverShown||y1(f.getTag(),"vis"))if(h=this.isVisible_(h,b),f.hidden&&h){h=new LDc;h.setType(1);var w=ZDc(f);h.setTarget(w);MDc(h);this.enableAncestryLoggingForGrafts_&&fs(h,RDc,t);q.push(h);f.hidden=!1;f.neverShown=!1}else f.hidden||h||(h=new LDc,h.setType(2),
w=ZDc(f),h.setTarget(w),MDc(h),this.enableAncestryLoggingForGrafts_&&fs(h,RDc,t),q.push(h),f.hidden=!0);d.set(k,q)}a=l(d.keys());for(b=a.next();!b.done;b=a.next())b=b.value,f=d.get(b),f.length&&(e=new B1,gl(e,1,f),f=new D1,k=KDc(),q=new A1,li(q,wu,1,b),li(f,wu,1,k),li(f,wu,3,b),li(f,B1,7,e),li(f,A1,9,q),b=new gC,hC(b,f.serialize()),c.push(b));return c};
Tr.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=pfc(b,new WO(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};
var WDc=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 D1;e.testCodes$jscomp$1=[];e.impressionEventID=KDc();li(e.clientVeProto$jscomp$7,wu,1,e.impressionEventID);var h=new A1;li(h,wu,1,e.impressionEventID);li(e.clientVeProto$jscomp$7,A1,9,h);if(h=MZb(window.location.href,"ved"))h=(new C1).setVed(h),li(e.clientVeProto$jscomp$7,C1,4,h);b[f].forEach(function(k){return function(q,
t){t.impressionEventID=k.impressionEventID;t.rootImpressionEventID=k.impressionEventID;var w=this.getVisualElementLiteProto_(t);q.length&&mOb(w,q);q=t.getElement();this.isVisible_(q,c)?(t.neverShown=!1,t.hidden=!1):w.setVisible(1);this.enableAttentionLogging_&&y1(t.getTag(),"hover")&&void 0!==t.traversalOrder_&&(q.setAttribute("data-hveid",Number(t.traversalOrder_)),0===gi(k.clientVeProto$jscomp$7,zu,2,hi()).length&&FDc(t)&&(q.setAttribute("decode-data-ved","1"),q.setAttribute("data-ved",FDc(t)+"")));
this.setTimestamp(w);sq(k.clientVeProto$jscomp$7,2,zu,w);k.testCodes$jscomp$1=k.testCodes$jscomp$1.concat(t.getTag().testCodes_)}}(e),a);h=new gC;hC(h,e.clientVeProto$jscomp$7.serialize());Lb(h,20,e.testCodes$jscomp$1,mb);d.push(h)}return d},XDc=function(a,b,c){for(var d=[],e=new Map,f=b.length-1;0<=f;f--){var h=b[f],k=h.keys().next().value.rootImpressionEventID,q=e.get(k)||[];q.push(h);e.set(k,q)}e.forEach(function(t,w){var z=0,F=[],J=new D1,H=[],O=KDc();li(J,wu,1,O);li(J,wu,3,w);var P=new A1;li(P,
wu,1,w);li(J,A1,9,P);for(P=0;P<t.length;P++)for(var U=t[P],Z=U.keys(),la=Z.next().value,oa=U.get(la),Fa={},Ta=0;Ta<oa.length;Fa={startingOffset:void 0,cloneTreeRootIndex:void 0},++Ta){var Pa=la;Fa.cloneTreeRootIndex=0;Fa.startingOffset=oa[Ta];var Ya=U.size;Ta!=oa.length-1&&(Ya=oa[Ta+1]);for(var sb=Fa.startingOffset;sb<Ya;++sb){var Na=Z.next().value;sb==Fa.startingOffset&&(Pa=Na,Fa.cloneTreeRootIndex=z);Na.impressionEventID=O;Na.rootImpressionEventID=w;Na.traversalOrder_=z;var ja=U.get(Na),ya=this.getVisualElementLiteProto_(Na);
ja.length&&mOb(ya,ja.map(function(Ga){return function(gb){return gb-Ga.startingOffset+Ga.cloneTreeRootIndex}}(Fa)));ja=Na.getElement();this.isVisible_(ja,c)?(Na.neverShown=!1,Na.hidden=!1):ya.setVisible(1);this.setTimestamp(ya);sq(J,2,zu,ya);H=H.concat(Na.getTag().testCodes_);z++}Fa=new LDc;Fa.setType(3);Ya=ZDc(la);Fa.setTarget(Ya);Ya=new yu;sb=new xu;Na=new E1;sb.setVeIndex(Pa.traversalOrder_);rj(sb,2,Pa.getTag().visualElementID_);Gk(Ya,2,kOb,sb);li(Fa,yu,3,Ya);this.enableAncestryLoggingForGrafts_&&
(QDc(Na,this.getAncestry_(Pa)),fs(Fa,RDc,Na));F.push(Fa)}F.length&&(t=new B1,gl(t,1,F),li(J,B1,7,t));F=new gC;hC(F,J.serialize());Lb(F,20,H,mb);d.push(F)},a);return d},YDc=function(a,b,c){for(var d=[],e=b.length-1;0<=e;e--)for(var f=b[e],h=f.keys(),k=h.next().value,q=f.get(k),t={},w=0;w<q.length;t={startingOffset$jscomp$1:void 0},++w){t.startingOffset$jscomp$1=q[w];var z=f.size;w!=q.length-1&&(z=q[w+1]);var F=new D1,J=[],H=KDc(),O=new A1;li(O,wu,1,k.impressionEventID);li(F,wu,1,H);li(F,wu,3,k.impressionEventID);
tj(F,5,3);li(F,A1,9,O);O=new C1;k.serverVed_?O.setVed(k.serverVed_):O.setUiType(k.getTag().visualElementID_).setVeIndex(k.traversalOrder_);NDc(O,a.getAncestry_(k));li(F,C1,4,O);for(O=t.startingOffset$jscomp$1;O<z;++O){var P=h.next().value;P.impressionEventID=H;P.rootImpressionEventID=k.rootImpressionEventID;void 0!=P.traversalOrder_&&(P.traversalOrder_-=t.startingOffset$jscomp$1);var U=f.get(P),Z=a.getVisualElementLiteProto_(P);U.length&&mOb(Z,U.map(function(la){return function(oa){return oa-la.startingOffset$jscomp$1}}(t)));
U=P.getElement();a.isVisible_(U,c)?(P.neverShown=!1,P.hidden=!1):Z.setVisible(1);a.enableAttentionLogging_&&y1(P.getTag(),"hover")&&void 0!==P.traversalOrder_&&(U.setAttribute("data-hveid",Number(P.traversalOrder_)),0===gi(F,zu,2,hi()).length&&FDc(P)&&(U.setAttribute("decode-data-ved","1"),U.setAttribute("data-ved",FDc(P)+"")));a.setTimestamp(Z);sq(F,2,zu,Z);J=J.concat(P.getTag().testCodes_)}t=new gC;hC(t,F.serialize());Lb(t,20,J,mb);d.push(t)}return d};
Tr.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};Tr.prototype.getVisualElementLiteProto_=function(a){var b=(new zu).setUiType(a.getTag().visualElementID_);Number.isFinite(a.getTag().getIndex())&&b.setElementIndex(a.getTag().getIndex());ADc(a.getTag(),b);this.enableAttentionLogging_&&y1(a.getTag(),"hover")&&(a=new UDc,Mh(a,1,!0),fs(b,VDc,a));return b};
var ZDc=function(a){var b=new yu;if(a.serverVed_)b.setVed(a.serverVed_);else{var c=new xu;Gk(b,3,lOb,a.impressionEventID);c.setVeIndex(a.traversalOrder_);rj(c,2,a.getTag().visualElementID_);Gk(b,2,kOb,c)}return b};
Tr.prototype.setTimestamp=function(a){var b=Date.now();b=Number.isFinite(b)?b.toString():void 0;if(a instanceof C1&&(!$i(a,z1,15)||!$i(a,z1,15).getExtension(SDc))){var c=new G1,d=new F1,e=$i(a,z1,15);e||(e=new z1);yj(d,1,b);c.setTimestamp(d);fs(e,SDc,c);li(a,z1,15,e)}a instanceof zu&&(c=new G1,d=new F1,yj(d,1,b),c.setTimestamp(d),fs(a,TDc,c))};var $Dc=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 aEc=function(){},bEc=[[],[]],cEc=0,dEc=new Set,eEc=null,fEc=0,gEc=0,hEc=0,iEc=0,jEc=0,kEc=function(a){this.mutate_=this.measure_=void 0;this.runInCurrentFrameIfPossible_=!1;this.window_=window;this.context_=a;this.state_ctor_=aEc};g=kEc.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 lEc({measure:this.measure_,mutate:this.mutate_,stateCtor:this.state_ctor_,window:this.window_,runInCurrentFrameIfPossible:this.runInCurrentFrameIfPossible_},this.context_)};
var lEc=function(a,b){var c=jEc++,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=cEc,!a.runInCurrentFrameIfPossible||0==iEc||a.measure&&1!=iEc||(h=(h+1)%2),bEc[h].push(f));return mEc(a.window)}},nEc=function(a,b){var c={};
iEc=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,da(f)}}}iEc=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){da(f)}}0<fEc&&1<b&&(a=b-fEc,500>a&&($Dc++,100<a&&gEc++,hEc<a&&(hEc=a)));fEc=dEc.size&&1<b?b:0},mEc=function(a){if(!dEc.has(a)){dEc.size||
(eEc=new LBc);dEc.add(a);var b=eEc.resolve;a.requestAnimationFrame(function(c){dEc.clear();var d=bEc[cEc];cEc=(cEc+1)%2;try{nEc(d,c)}finally{iEc=0,d.length=0}b()})}return eEc.promise};var oEc=function(a,b){this.tagPopulator_=a;this.expectXidTagComponents_=b||!1;this.componentID_=void 0},H1=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||Ui(d)||d!=c.getTag().getAttribute()));if(d)return c;d=b.getAttribute("jslog");if(!d)return null;d=pEc(a,d);if(!d||(d.getComponentID()||a.componentID_)&&
d.getComponentID()!=a.componentID_)return null;a=new CDc(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=iOb(c);e=$i(f,wu,13)}catch(h){e=null}}e&&(a.impressionEventID=e,a.rootImpressionEventID=e)}return b.LSWHIf=a},pEc=function(a,b){if(Ui(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(!Ui(f)){var h=HOb(f);if(2>h.length)return null;f=h[0].trim();h=h[1].trim();if(Ui(f)||Ui(h))return null;switch(f){case a.maybeXidPartLabel_("track"):f=h.split(",");for(h=0;h<f.length;++h){var k=d,q=f[h].trim();if(a.expectXidTagComponents_){if(!k.xidTagComponents_)throw Error("af");if(!wDc.has(q))throw Error("bf`"+q);k.tracks_.add(q)}else k.tracks_.add(k.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)};oEc.prototype.maybeXidPartLabel_=function(a){return this.expectXidTagComponents_?gdb(a):a};oEc.prototype.setComponentID=function(a){this.componentID_=a};oEc.prototype.getComponentID=function(){return this.componentID_};var qEc=function(a,b){this.visualElementProvider_=a;this.traverseShadowDom_=void 0===b?!1:b},sEc=function(a,b){return rEc(a,b).filter(function(c){return null!=H1(this.visualElementProvider_,c)},a)},tEc=function(a,b){var c=a.visualElementProvider_;a=[];for(var d=void 0,e={},f=0;f<b.length;e={parent$jscomp$185:void 0},++f){var h=H1(c,b[f]);void 0==h.traversalOrder_&&void 0==h.serverVed_&&(e.parent$jscomp$185=void 0,kdb(b[f],function(k){return function(q){q=H1(c,q);return null!=q?(k.parent$jscomp$185=
q,!0):!1}}(e),!1),e.parent$jscomp$185?d&&d.has(e.parent$jscomp$185)||(d=new Map,a.unshift(d),d.set(e.parent$jscomp$185,[]),DDc=1):(d=new Map,a.unshift(d),DDc=0),EDc(h),h.setParent(e.parent$jscomp$185),d.set(h,[]),e.parent$jscomp$185&&d.get(e.parent$jscomp$185).push(h.traversalOrder_))}return a},uEc=function(a,b){var c=a.visualElementProvider_;return b.map(function(d){return H1(c,d)})},rEc=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},DDc=0;var vEc=function(a,b){yB.call(this,"visibilitychange");this.hidden=a;this.visibilityState=b};X(vEc,yB);var wEc=function(a){No.call(this);this.domHelper_=a||Qo();if(this.eventType_=this.getBrowserEventType_())this.eventKey_=Oo(this.domHelper_.document_,this.eventType_,Ct(this.handleChange_,this))};Et(wEc,No);g=wEc.prototype;g.getBrowserEventType_=Lo(function(){var a=!!this.getHiddenPropertyName_(),b="hidden"!=this.getHiddenPropertyName_();if(a){var c;b?c=(((It?"Webkit":Ht?"Moz":Nq?"ms":null)||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});
g.getHiddenPropertyName_=Lo(function(){return ofc("hidden",this.domHelper_.document_)});g.getVisibilityStatePropertyName_=Lo(function(){return ofc("visibilityState",this.domHelper_.document_)});g.handleChange_=function(){var a=this.getHiddenPropertyName_()?this.domHelper_.document_[this.getVisibilityStatePropertyName_()]:null;a=new vEc(!!this.domHelper_.document_[this.getHiddenPropertyName_()],a);this.dispatchEvent(a)};g.disposeInternal=function(){FB(this.eventKey_);wEc.superClass_.disposeInternal.call(this)};var I1=function(a,b,c,d,e,f,h){var k=void 0===d?{}:d,q=void 0===k.backgroundJobDeferrer?void 0:k.backgroundJobDeferrer;d=void 0===k.expectXidTagComponents?!1:k.expectXidTagComponents;k=void 0===k.traverseShadowDom?!1:k.traverseShadowDom;Qq.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 PDc;this.visualElementProvider_=
new oEc(this.metadataHandler_,this.expectXidTagComponents_);this.eventToActionMap_={click:3};this.eventToTracksLabelMap_={click:this.maybeXidEventLabel_("generic_click")};this.pageVisibilityMonitor_=new wEc;this.logImpressionsTask_=(new kEc(this)).measure(q?function(){return q().then(t.handleImpressions_.bind(t))}:this.handleImpressions_).runInCurrentFrameIfPossible().build();this.logImpressionsThrottle_=new Luc(this.logImpressionsTask_,500,this);this.traverser_=h||new qEc(this.visualElementProvider_,
k);this.eventBuilder instanceof HDc&&(this.eventHandler_=this.eventBuilder);this.zwiebackId_=e;this.windowProvider_=f};X(I1,Qq);I1.prototype.setComponentID=function(a){this.visualElementProvider_.setComponentID(a)};I1.prototype.logImpressions=function(){this.domHelper_&&this.logImpressionsThrottle_.fire()};
var yEc=function(a,b,c,d){var e=xEc(d),f=a.getIndex(c);var h=new tDc;h=tj(h,4,b);h=rj(h,1,c.getTag().visualElementID_);e=Lb(h,3,e,mb);null!=f&&e.setElementIndex(f);f=new GDc;f.ve_metadata=a.getMetadata(c,d);f.global_metadata=a.invariantData_;f.client_info=a.appInfo_;c=hZb(new gC,e.serialize());c=Lb(c,20,f.testCodes,mb);a.transport&&mC(a.transport,c);if(null!=b)for(b=new ODc(b),c=0;c<a.listeners_.length;c++)a.listeners_[c](b)};I1.prototype.log=function(a){this.transport&&mC(this.transport,a)};
var zEc=function(a){for(var b=0;b<a.impressionListeners_.length;b++)a.impressionListeners_[b]()};I1.prototype.getIndex=function(a){return a.getTag().getIndex()};var xEc=function(a){return a.map(function(b){return b.getTag().visualElementID_})};I1.prototype.getMetadata=function(a,b){var c=new zu;ADc(a.getTag(),c);for(a=0;a<b.length;++a)ADc(b[a].getTag(),c);return c};
var AEc=function(a,b,c){var d,e=a.visualElementProvider_,f=a.eventToTracksLabelMap_[b];kdb(c,function(h){if(!RB(h))return!1;h=H1(e,h);var k;if(k=null!=h)if(k=h.getTag(),a.expectXidTagComponents_){if(!k.xidTagComponents_)throw Error("af");if(!wDc.has(f))throw Error("bf`"+f);k=k.tracks_.has(f)}else k=y1(k,f);return k?(d=h,!0):!1},!0);return d};
I1.prototype.getAncestry_=function(a){var b=[],c=this.visualElementProvider_;kdb(a,function(d){if(!RB(d))return!1;d=H1(c,d);null!=d&&b.push(d);return!1},!1);return b};
I1.prototype.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=sEc(this.traverser_,this.root_);if(this.eventHandler_){var c=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();c=
new WO(0,0,c.width,c.height);var d=tEc(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]),Lh(d[e],28,this.zwiebackId_),this.transport&&mC(this.transport,d[e])}b=uEc(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_&&Lh(b[c],28,this.zwiebackId_),this.transport&&mC(this.transport,b[c]);zEc(this)}else{c=
[];d=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();d=new WO(0,0,d.width,d.height);for(e=0;e<b.length;e++){var f=b[e];this.isVisible_(f,d)&&(f=H1(this.visualElementProvider_,f))&&y1(f.getTag(),"impression")&&c.push(f)}for(b=0;b<c.length;b++)d=c[b],d.loggedImpression_||(e=this.getAncestry_(d.getElement()),yEc(this,void 0,d,e),zEc(this),d.loggedImpression_=!0)}a&&window.performance.measure("ZVwBtb","KtiTlc")}};
I1.prototype.isVisible_=function(a,b){if(a.hasAttribute("ve-visible"))return"true"===a.getAttribute("ve-visible");a=a.getBoundingClientRect();return(b=pfc(b,new WO(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};I1.prototype.maybeXidEventLabel_=function(a){return this.expectXidTagComponents_?edb(a):a};var Ur=function(a,b,c,d,e,f,h,k,q,t,w,z){e=void 0===e?!1:e;q=void 0===q?!1:q;k||(b=new Mo(b,c),d&&(b.destinationUrl=d),f&&(b.backgroundJobDeferrer=f),k=b.build());I1.call(this,a,h||null,k,{expectXidTagComponents:e,backgroundJobDeferrer:f,traverseShadowDom:q},t,w,z);this.clearcut_=k;this.clearcut_.setClientSideLogOnlyForDevelopment(!1);a=this.clearcut_;a.useSendBeaconForFinalFlush=a.isSendBeaconSupported;this.clearcut_.useGetRequestForFinalFlush=!0};X(Ur,I1);Ur.prototype.setClearcutClientInfo=function(a){this.clearcut_.setClearcutClientInfo(a)};
Ur.prototype.setBuildLabel=function(a){this.clearcut_.setBuildLabel(a)};Ur.prototype.setClientSideLogOnlyForDevelopment=function(a){this.clearcut_.setClientSideLogOnlyForDevelopment(a)};var Ldb=function(){};Ldb.prototype.start=function(){};Ldb.prototype.stop=function(){};var BEc=function(a){this.tracker=a};var CEc=function(a,b){this.root=a;this.handler=b;this.eventHandler=new Qq(this)};
CEc.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=AEc(d,e,c.target)))if(d.eventHandler_)for(f=d.eventHandler_.interactionEvent(e,new ODc(f)),e=0;e<f.length;++e)d.metadataHandler_.addEventMetadata(f[e]),d.zwiebackId_&&Lh(f[e],28,d.zwiebackId_),d.transport&&
mC(d.transport,f[e]);else{var h=d.getAncestry_(e.getElement());yEc(d,f,e,h)}c.stopPropagation()}))};CEc.prototype.dispose=function(){var a;null==(a=this.observer)||a.disconnect();this.eventHandler.removeAll()};CEc.prototype.onMutation=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,"childList"===b.type){b=l(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 Kdb=function(a,b){this.root=a;this.tracker=b;this.observer=new CEc(this.root,new BEc(this.tracker))};
Kdb.prototype.start=function(a){var b=this.tracker,c=this.root;b.domHelper_=new HB;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=l(a);for(c=b.next();!c.done;c=
b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;var e=this.tracker;e.eventToActionMap_[c]=d;e.eventToTracksLabelMap_[c]=e.maybeXidEventLabel_(c)}this.observer.observe([].concat(r(a.keys())))};Kdb.prototype.stop=function(){this.observer.dispose();this.tracker.dispose()};var Bs=function(a){this.internalArray_=m(a)};X(Bs,n);var J1=function(a,b){return Mh(a,1,b)};Bs.prototype.getProvenance=function(){return cj(this,2,0)};Bs.prototype.setProvenance=function(a){return tj(this,2,a)};Bs.prototype.getCode=function(){return cj(this,3,0)};Bs.prototype.setCode=function(a){return tj(this,3,a)};var K1=function(a){this.internalArray_=m(a)};X(K1,n);K1.prototype.getSource=function(){return $i(this,Bs,1)};K1.prototype.setSource=function(a){return li(this,Bs,1,a)};K1.prototype.hasSource=function(){return ji(this,Bs,1)};var L1=function(a,b){return tj(a,2,b)},M1=function(a,b){return tj(a,3,b)};var DEc=function(){this.filter_=null;this.originator_=this.queryScope_=0;this.useOriginalDisplayValue_=!1};g=DEc.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 DEc).setFilter(this.getFilter()).setOriginator(this.getOriginator()).setQueryScope(this.getQueryScope());a.useOriginalDisplayValue_=this.useOriginalDisplayValue_;return a};var EEc=function(){this.isLastCallback_=this.isFirstCallback_=!1;this.notFoundIdList_=[];this.code_=2;this.cacheState_=new K1};g=EEc.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 FEc=function(a,b){this.results_=a;this.metadata_=b};FEc.prototype.getResults=function(){return this.results_};FEc.prototype.getMetadata=function(){return this.metadata_};var N1=function(a){this.internalArray_=m(a)};X(N1,n);g=N1.prototype;g.getQuery=function(){return Zi(this,1,"")};g.setQuery=function(a){return Lh(this,1,a)};g.clearQuery=function(){lk(this,1)};g.hasQuery=function(){return Pi(this,1)};g.getIsFirstCallback=function(){return Xi(this,2,!1)};g.setIsFirstCallback=function(a){return Mh(this,2,a)};g.getIsLastCallback=function(){return Xi(this,3,!1)};g.setIsLastCallback=function(a){return Mh(this,3,a)};g.setCallbackNumber=function(a){return rj(this,4,a)};
g.getNextPageToken=function(){return Zi(this,5,"")};g.getCode=function(){return cj(this,6,2)};g.setCode=function(a){return tj(this,6,a)};g.getCacheState=function(){return $i(this,K1,7)};g.setCacheState=function(a){return li(this,K1,7,a)};g.hasCacheState=function(){return ji(this,K1,7)};var O1=function(a,b){this.results_=a;this.metadata_=b};O1.prototype.getResults=function(){return this.results_};O1.prototype.getMetadata=function(){return this.metadata_};var GEc={create:function(a,b,c,d,e){e=void 0===e?new Nr:e;return mdb(a,b,c,d,new wAc,{sessionOptions:e})},createWith:function(a,b,c,d,e){e=void 0===e?{}:e;return mdb(a,b,c,d,new wAc,e)},createConfig:function(a){var b;void 0===a?b=new wcc(sO.apiEnv,new xcc(sO.userProfileId)):b=a;return new gDc(b)}};var ss=function(a){this.internalArray_=m(a)};X(ss,n);g=ss.prototype;g.getTimestamp=function(){return kj(this,1)};g.getTimestamp_asLegacyNumberOrString=function(){return kj(this,1)};g.setTimestamp=function(a){return zj(this,1,a)};g.hasTimestamp=function(){return jj(this,1)};g.getAffinityVersion=function(){return qi(this,2)};g.setAffinityVersion=function(a){rj(this,2,a)};g.getAffinityVersionOrUndefined=function(){return du(this,2)};g.getNextPageToken=function(){return Zi(this,4)};
g.getCode=function(){return cj(this,6,0)};g.setCode=function(a){return tj(this,6,a)};var HEc=function(){this.bits_=[]};g=HEc.prototype;g.and=function(a){for(var b=new HEc,c=l(this),d=c.next();!d.done;d=c.next())d=d.value,a.bits_[d]&&(b.bits_[d]=!0);return b};g.or=function(a){for(var b=new HEc,c=l(this),d=c.next();!d.done;d=c.next())b.bits_[d.value]=!0;a=l(a);for(c=a.next();!c.done;c=a.next())b.bits_[c.value]=!0;return b};g.get=function(a){return!!this.bits_[a]};g.set=function(a){this.bits_[a]=!0};g.setAll=function(a){var b=a;for(a+=NaN;b<a;b++)this.bits_[b]=!0};
g.clear=function(a){this.bits_[a]=!1};HEc.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 Qdb=RegExp("[\\s,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]+","g"),Sdb=/^[<"']|[>"']$/g,Odb=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"),IEc=/[^a-z0-9]+/gi,Rdb=String.prototype.normalize?function(a){return a.normalize("NFKC")}:function(a){return a};var JEc=function(a,b){this.key=a;this.terms=Tdb(b)};var P1=function(a,b,c){b=void 0===b?"":b;c=void 0===c?new HEc:c;this.items_=a;this.prefix_=b;this.matchIndices_=c;this.childNodes_={};this.isExpanded_="\u2026"===b};P1.prototype.cloneNode=function(a){for(var b=[],c=l(this.items_),d=c.next();!d.done&&(d=d.value,!a.loadOrSkip(d.key)||(b.push(d),!a.isDone()));d=c.next());return new P1(b)};
P1.prototype.getMatches=function(a){for(var b=[],c=l(this.prefix_?this.matchIndices_:Vdb(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};
P1.prototype.search=function(a){var b=this;return a.length?a.map(function(c){for(var d=b,e=0;e<c.length;e++){var f=c.charAt(e),h=d;if(!h.isExpanded_){for(var k=l(h.prefix_?h.matchIndices_:Vdb(h.items_.length)),q=k.next();!q.done;q=k.next()){var t=h;q=q.value;for(var w=t.prefix_+"\ufdc7",z=l(t.items_[q].terms),F=z.next();!F.done;F=z.next())F=F.value,F.length<=t.prefix_.length||F<t.prefix_||F>w||(F=F.charAt(t.prefix_.length),t.childNodes_[F]||(t.childNodes_[F]=new P1(t.items_,t.prefix_+F)),t.childNodes_[F].matchIndices_.set(q))}h.isExpanded_=
!0}d=d.childNodes_[f]||Q1;if(d===Q1)break}return d}).reduce(function(c,d){return c.and(d)}):this};var KEc=function(a){a.isExpanded_=!1;for(var b=l(Object.keys(a.childNodes_)),c=b.next();!c.done;c=b.next())c=a.childNodes_[c.value],c.isExpanded_&&KEc(c)};P1.prototype.and=function(a){a=this.matchIndices_.and(a.matchIndices_);return new P1(this.items_,"\u2026",a)};P1.prototype.or=function(a){a=this.matchIndices_.or(a.matchIndices_);return new P1(this.items_,"\u2026",a)};var Q1=new P1([]);
Q1.isExpanded_=!0;var LEc=function(a,b,c){this.expiry_=a;this.value_=b;this.stale_=c};LEc.prototype.getExpiry=function(){return this.expiry_};LEc.prototype.getValue=function(){return this.value_};LEc.prototype.isExpired=function(){return this.expiry_<Date.now()};LEc.prototype.isStale=function(){return this.stale_<Date.now()};var MEc=function(a){this.shouldEvictItem_=a;this.items_=new Map};g=MEc.prototype;g.size=function(){return this.items_.size};g.clear=function(){this.items_.clear()};g.has=function(a){return this.items_.has(a)};g.get=function(a){var b=this.items_.get(a);this.items_.has(a)&&(this.items_.delete(a),this.items_.set(a,b));return b};
g.set=function(a,b){this.items_.has(a)&&this.items_.delete(a);this.items_.set(a,b);b=l(this.items_.entries().next().value);a=b.next().value;b=b.next().value;this.shouldEvictItem_(a,b)&&this.items_.delete(a);return this};g.delete=function(a){return this.items_.delete(a)};g.compact=function(){for(var a=0,b=l(this.items_),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;this.shouldEvictItem_(c,d)&&(this.items_.delete(c),a++)}return a};
var NEc=function(){var a=new MEc(function(){return 1E3<a.size()});return a};var OEc=function(a,b){var c=this;this.capacity_=a;this.itemFactory_=b;this.delegate_=new MEc(function(d,e){return e.isExpired()||c.delegate_.size()>c.capacity_})};g=OEc.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 R1=function(a,b){return new OEc(a,function(c){var d=Date.now()+b;return new LEc(d,c,d)})};var S1=function(a){this.internalArray_=m(a)};X(S1,n);g=S1.prototype;g.getSuggestMaxResults=function(){return qi(this,1,10)};g.getSearchMaxResults=function(){return qi(this,2,10)};g.getCacheSize=function(){return qi(this,3,500)};g.setCacheSize=function(a){rj(this,3,a)};g.hasCacheSize=function(){return Yi(this,3)};g.getCacheStaleSec=function(){return zk(this,4,86400)};g.getCacheExpiredSec=function(){return zk(this,5,1209600)};g.getRpcTimeoutSec=function(){return zk(this,12,60)};
g.getSuggestFormat=function(){return cj(this,15,1)};g.getSearchFormat=function(){return cj(this,16,1)};S1.repeatedFields_=[24,25];var Xdb=new Set([10,11]);var PEc=function(a){this.interleaveGroups_=Xi(a,33,!1)},QEc=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=Ydb(d,e,f,!0);break a;default:d=Zdb(d,e,f)}}return d}).map(function(d){return String(d.id)})};var REc=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new PEc(e);this.indexes_=R1(qi(e,8,250),1E3*zk(e,9,3600));this.maxResults_=e.getSearchMaxResults()};g=REc.prototype;g.getCacheType=function(){return 3};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d;return ke(function(e){switch(e.nextAddress){case 1:c=J1(new Bs,!0).setProvenance(7).setCode(0);if(b.canSkipFetch_(a))return e.return(J1(c,!1));le(e,2);return me(e,b.adapter_.search(a.getPrefix(),b.maxResults_),4);case 4:d=e.yieldResult;xt(e,3);break;case 2:return pe(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new ss),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=QEc(this.ranker_,b,1),d=l(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=SEc(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 TEc=function(a,b,c){this.adapter_=a;this.targetFactory_=b;this.indexer_=c};TEc.prototype.getStageType=function(){return 2};TEc.prototype.index_=function(a,b){for(var c=l(a),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.indexer_.storeItems(a,b)};
TEc.prototype.lookup=function(a){var b=this,c,d,e,f,h,k,q,t,w;return ke(function(z){switch(z.nextAddress){case 1:return c=new Map,d=J1(new Bs,!0).setProvenance(7).setCode(0),e=3===a.queryScope(),f=UEc(a),le(z,2),me(z,b.adapter_.lookup(f),4);case 4:h=z.yieldResult;xt(z,3);break;case 2:return pe(z),d.setCode(13),a.notify(c,[],d),z.return();case 3:b.index_(h,e);k=l(f);for(q=k.next();!q.done;q=k.next())t=q.value,(w=b.indexer_.load(t,a.getFormat(),a.getOptions().useOriginalDisplayValue_))&&c.set(t,w);
a.notify(c,[],d);qe(z)}})};var VEc=function(a,b){this.metrics_=a;this.state_=new iO(b);this.source=b;this.label_="total"};VEc.prototype.call=function(){this.metrics_.count(this.state_);this.metrics_.start(this.state_,this.label_)};VEc.prototype.result=function(a){this.metrics_.stop(this.state_,this.label_);this.metrics_.status(this.state_,a)};var WEc=function(a,b){this.metrics_=a;this.state_=new iO(b);this.source=b};WEc.prototype.increment=function(a){this.metrics_.count(this.state_,void 0===a?1:a)};var XEc=function(a,b){this.metrics_=a;this.state_=new iO(b);this.source=b};XEc.prototype.report=function(){this.metrics_.error(this.state_)};var is=function(a){this.internalArray_=m(a)};X(is,n);is.prototype.hasNoChanges=function(){return Wi(this,12)};var hs=function(a){this.internalArray_=m(a)};X(hs,n);hs.prototype.getEventType=function(){return cj(this,1,0)};hs.prototype.setEventType=function(a){return tj(this,1,a)};var js=function(a,b){return tj(a,2,b)},Heb=function(a,b){return tj(a,3,b)};g=hs.prototype;g.getErrorType=function(){return cj(this,6,0)};g.setErrorType=function(a){return tj(this,6,a)};g.getIdType=function(){return cj(this,8,0)};g.setIdType=function(a){tj(this,8,a)};g.getResultIndex=function(){return qi(this,9,0)};
g.setResultIndex=function(a){rj(this,9,a)};g.getToken=function(){return Zi(this,10,"")};g.setToken=function(a){return Lh(this,10,a)};g.getCacheState=function(){return $i(this,K1,11)};g.setCacheState=function(a){return li(this,K1,11,a)};g.hasCacheState=function(){return ji(this,K1,11)};g.getQueryLength=function(){return qi(this,14)};g.setQueryLength=function(a){return rj(this,14,a)};g.hasQueryLength=function(){return Yi(this,14)};g.getItemCount=function(){return qi(this,15)};
g.setItemCount=function(a){return rj(this,15,a)};g.hasItemCount=function(){return Yi(this,15)};g.getLookupInfo=function(){return $i(this,is,16)};g.setLookupInfo=function(a){return li(this,is,16,a)};g.hasLookupInfo=function(){return ji(this,is,16)};g.getQueryScope=function(){return cj(this,17,0)};g.setQueryScope=function(a){return tj(this,17,a)};g.hasQueryScope=function(){return aj(this,17)};var YEc=function(a,b){this.delegate_=a;this.trackers_=b;this.name=a.name};YEc.prototype.search=function(a){var b=this,c,d;return ke(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(66),c.start(),le(e,2,3),me(e,b.delegate_.search(a),5);case 5:return e.return(e.yieldResult);case 3:ne(e);c.stop();oe(e,0);break;case 2:throw d=pe(e),b.trackers_.error(36,11).report(),d;}})};
YEc.prototype.lookup=function(a){var b=this,c,d;return ke(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(67),c.start(),le(e,2,3),me(e,b.delegate_.lookup(a),5);case 5:return e.return(e.yieldResult);case 3:ne(e);c.stop();oe(e,0);break;case 2:throw d=pe(e),b.trackers_.error(37,11).report(),d;}})};var ZEc=function(a,b){this.delegate_=a;this.trackers_=b;this.name=a.name};ZEc.prototype.getPosition=function(){try{return this.delegate_.getPosition()}catch(a){throw this.trackers_.error(38,11).report(),a;}};
ZEc.prototype.warmUpCache=function(){var a=this,b,c;return ke(function(d){switch(d.nextAddress){case 1:return b=a.trackers_.latency(65),b.start(),le(d,2,3),me(d,a.delegate_.warmUpCache(),5);case 5:return d.return(d.yieldResult);case 3:ne(d);b.stop();oe(d,0);break;case 2:throw c=pe(d),a.trackers_.error(35,11).report(),c;}})};ZEc.prototype.needsWarmUp=function(){try{return this.delegate_.needsWarmUp()}catch(a){throw this.trackers_.error(38,11).report(),a;}};var $Ec=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new PEc(e);this.index_=Q1};g=$Ec.prototype;g.getCacheType=function(){switch(this.adapter_.getPosition()){case 1:return 2;case 2:return 3;default:return 0}};g.flush=function(){this.index_=Q1};
g.fetch=function(a){var b=this,c,d;return ke(function(e){switch(e.nextAddress){case 1:c=J1(new Bs,!0).setProvenance(7).setCode(0);if(b.index_!=Q1&&!b.adapter_.needsWarmUp())return e.return(J1(c,!1));le(e,2);return me(e,b.adapter_.warmUpCache(),4);case 4:d=e.yieldResult;xt(e,3);break;case 2:return pe(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new ss),e.return(c)}catch(f){return e.return(c.setCode(13))}}})};
g.index=function(a,b){a=QEc(this.ranker_,b,1);for(var c=l(b),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.storage_.storeItems(1,b);this.index_=SEc(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 aFc=function(a,b,c){this.indexLatency_=a;this.searchLatency_=b;this.errorType_=c};aFc.prototype.getErrorType=function(){return this.errorType_};var T1=function(a,b,c){this.delegate_=a;this.trackers_=b;this.indexingLabel_=c.indexLatency_;this.searchLabel_=c.searchLatency_;this.errorLabel_=c.getErrorType()};g=T1.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 bFc=function(a,b){this.provider_=a;this.itemFactory_=b};bFc.prototype.search=function(a,b){var c=this,d;return ke(function(e){if(1==e.nextAddress)return 1>b?e.return([]):me(e,c.provider_.search((new cxc).setQuery(a).setMaxResults(b)),2);d=e.yieldResult;return e.return(cFc(d))})};bFc.prototype.lookup=function(a){var b=this,c;return ke(function(d){if(1==d.nextAddress)return a.length?me(d,b.provider_.lookup(a),2):d.return([]);c=d.yieldResult;return d.return(cFc(c))})};bFc.prototype.getName=function(){return this.provider_.name};var dFc=function(a,b){this.provider_=a;this.itemFactory_=b};dFc.prototype.getPosition=function(){return this.provider_.getPosition()};dFc.prototype.needsWarmUp=function(){return this.provider_.needsWarmUp()};dFc.prototype.warmUpCache=function(){var a=this,b;return ke(function(c){if(1==c.nextAddress)return me(c,a.provider_.warmUpCache(),2);b=c.yieldResult;return c.return(cFc(b))})};dFc.prototype.getName=function(){return this.provider_.name};var eFc=new aFc(68,69,38);var fFc=function(){},gFc=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=void 0,e=[],f=l(c.getTargetList()),h=f.next();!h.done;h=f.next())h=deb(c,h.value,7),e.push(String(h.id)),h.coalescedKeys=e,d||(d=h),b.push(h);d&&yr(d.id)&&(e=void 0,d.totalMemberCount=null!=(e=c.getTotalMemberCountOrUndefined())?e:void 0,d.memberKeys=c.getMemberList().map(function(k){for(var q=l(k.getTargetList()).next();!q.done;)return k=deb(k,q.value,8),b.push(k),String(k.id)}))}return b},
cFc=function(a){a=a.getResultList(Li);return gFc(a)};var hFc=function(){};hFc.prototype.processItem=function(){};var iFc=new hFc;var jFc=function(a,b){this.encryptionSupport_=a;this.certificateStatus_=b};jFc.prototype.getEncryptionSupport=function(){return this.encryptionSupport_};var keb=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 jFc(4===a?c?4:3:c?2:1,a)};var kFc=function(){this.iconUrl_=this.altText_=""},ieb=function(a){var b=new kFc;b.altText_=a||"";return b};kFc.prototype.getIconUrl=function(){return this.iconUrl_};kFc.prototype.setIconUrl=function(a){this.iconUrl_=a||"";return this};var lFc=function(a){this.delegate_=a};lFc.prototype.processItem=function(a){a.target=leb(a);this.delegate_.processItem(a);a.resultData&&delete a.resultData;a.targetData&&delete a.targetData};var mFc=function(){};
mFc.prototype.configure=function(a){var b=a.clientConfig,c=a.trackers,d=a.storage,e=a.indexer,f=a.trieFactory,h=a.prefixCaches;a=a.lookupStages;var k=b.runtimeConfig_.customDataConfig_;if(k){b=b.getClient();var q=new fFc;var t=void 0===t?iFc:t;t=new lFc(t);for(var w=[],z=l(k.staticDataProviders_.reverse()),F=z.next();!F.done;F=z.next()){F=F.value;var J=c,H=F;H=new ZEc(H,J);J=new T1(new $Ec(new dFc(H,q),t,f,d,b),J,eFc);switch(F.getPosition()){case 1:w.push(J);break;case 2:h.push(J);break;default:throw Error("cf");
}}w.length&&h.splice.apply(h,[0,0].concat(r(w)));k=l(k.dynamicDataProviders_);for(w=k.next();!w.done;w=k.next())w=w.value,z=c,F=w,F=new YEc(F,z),F=new REc(new bFc(F,q),t,f,d,b),z=new T1(F,z,eFc),h.push(z),w=new YEc(w,c),a.push(new TEc(new bFc(w,q),t,e))}};var U1=function(a){this.internalArray_=m(a)};X(U1,n);g=U1.prototype;g.getEnableClearcut=function(){return Xi(this,1,!1)};g.setEnableClearcut=function(a){return Mh(this,1,a)};g.getSocialApplication=function(){return cj(this,2,0)};g.getSocialApplicationOrUndefined=function(){return xs(this,2)};g.setEventSources=function(a){Tt(this,5,ws,a)};U1.repeatedFields_=[5,6];var V1=function(a){this.internalArray_=m(a)};X(V1,n);V1.prototype.getApplication=function(){return cj(this,1,0)};V1.prototype.setApplication=function(a){return tj(this,1,a)};V1.prototype.getApplicationOrUndefined=function(){return xs(this,1)};V1.prototype.getIsEnabled=function(){return Xi(this,2,!1)};var W1=function(a){this.internalArray_=m(a)};X(W1,n);W1.prototype.getApiKey=function(){return Zi(this,1,"")};W1.prototype.setApiKey=function(a){return Lh(this,1,a)};var X1=function(a){this.internalArray_=m(a)};X(X1,n);g=X1.prototype;g.getClientId=function(){return Zi(this,1,"CLIENT_UNSPECIFIED")};g.setClientId=function(a){return Lh(this,1,a)};g.getAffinityType=function(){return Zi(this,4,"AFFINITY_TYPE_UNKNOWN")};g.setAffinityType=function(a){return Lh(this,4,a)};g.getContainerType=function(){return LNb(this,7)};X1.repeatedFields_=[7,8];var nFc=function(a){this.internalArray_=m(a)};X(nFc,n);g=nFc.prototype;g.getClient=function(){return $i(this,S1,1)};g.setClient=function(a){return li(this,S1,1,a)};g.hasClient=function(){return ji(this,S1,1)};g.getGapi=function(){return $i(this,W1,2)};g.getPeopleApi=function(){return $i(this,X1,3)};g.getClearcut=function(){return $i(this,U1,4)};g.setClearcut=function(a){li(this,U1,4,a)};g.hasClearcut=function(){return ji(this,U1,4)};g.getExperiments=function(){return $i(this,V1,5)};
g.setExperiments=function(a){return li(this,V1,5,a)};g.hasExperiments=function(){return ji(this,V1,5)};var oFc=Mda(nFc);var pFc;var Y1=function(a,b){this.delegate_=a;this.runtimeConfig_=b||new ixc;a=this.getPeopleApi();qj(a,7,hi()).length||Aj(a,7,[2,8,1,7,10,11]);ri(a,8,hi()).length||Lb(a,8,["person.name","person.photo","person.email","person.phone","person.metadata"],rb);b=l(ri(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":Nb(a,8,rb,c+".metadata.verified")}};
Y1.prototype.getClient=function(){this.delegate_.hasClient()||this.delegate_.setClient(new S1);return this.delegate_.getClient()};Y1.prototype.getGapi=function(){if(!ji(this.delegate_,W1,2)){var a=this.delegate_,b=new W1;li(a,W1,2,b)}return this.delegate_.getGapi()};Y1.prototype.getPeopleApi=function(){if(!ji(this.delegate_,X1,3)){var a=this.delegate_,b=new X1;li(a,X1,3,b)}return this.delegate_.getPeopleApi()};
Y1.prototype.getClearcut=function(){this.delegate_.hasClearcut()||this.delegate_.setClearcut(new U1);return this.delegate_.getClearcut()};var qFc=function(a){a.delegate_.hasExperiments()||a.delegate_.setExperiments(new V1);return a.delegate_.getExperiments()};Y1.prototype.getAuthErrorHandler=function(){return this.runtimeConfig_.getAuthErrorHandler()};var rFc=function(a){a=a.getClient();return qi(a,6,500)?Math.min(Math.round(qi(a,6,500)/4),500):500};var sFc;var vs=null;var tFc=function(a,b){this.isOrgStateEnabled_=a.runtimeConfig_.isOrgStateEnabled_;this.delegate_=b};tFc.prototype.processItem=function(a){this.delegate_.processItem(a);a=a.target;this.isOrgStateEnabled_||(a.orgState_=0)};var Z1=function(a){this.internalArray_=m(a)};X(Z1,n);Z1.prototype.setDevice=function(a){return tj(this,1,a)};var uFc=function(a){this.internalArray_=m(a)};X(uFc,n);g=uFc.prototype;g.getAffinityType=function(){return ho(this,1)};g.setAffinityType=function(a){return tj(this,1,a)};g.getQuery=function(){return Fj(this,2)};g.setQuery=function(a){return Lh(this,2,a)};g.clearQuery=function(){lk(this,2)};g.hasQuery=function(){return Pi(this,2)};g.setClientInformation=function(a){li(this,Z1,3,a)};g.setMaxResults=function(a){return rj(this,4,a)};var vFc=function(a){this.internalArray_=m(a)};X(vFc,n);g=vFc.prototype;g.getAffinityVersion=function(){return Xt(this,1)};g.setAffinityVersion=function(a){rj(this,1,a)};g.getAffinityVersionOrUndefined=function(){return du(this,1)};g.getAffinityType=function(){return Fj(this,4)};g.setAffinityType=function(a){return Lh(this,4,a)};vFc.repeatedFields_=[3];var Eeb=function(a){this.internalArray_=m(a)};X(Eeb,n);var a2=function(a){this.internalArray_=m(a)};X(a2,n);g=a2.prototype;g.getLoggingId=function(){return wq(this,1)};g.setLoggingId=function(a){lk(this,1,$a(a,!1,!0,!1))};g.getValue=function(){return vq(this,2)};g.getValue_legacyNullable=function(){return vq(this,2)};g.setValue=function(a){return lk(this,2,ib(a))};g.hasValue=function(){return null!=vq(this,2)};var wFc=function(a){this.internalArray_=m(a)};X(wFc,n);g=wFc.prototype;g.getValue=function(){return Fj(this,1)};g.getValue_legacyNullable=function(){return Fj(this,1)};g.setValue=function(a){return Lh(this,1,a)};g.hasValue=function(){return Pi(this,1)};g.getGivenName=function(){return Fj(this,2)};g.setGivenName=function(a){return Lh(this,2,a)};g.hasGivenName=function(){return Pi(this,2)};g.getFamilyName=function(){return Fj(this,3)};g.setFamilyName=function(a){return Lh(this,3,a)};
g.hasFamilyName=function(){return Pi(this,3)};g.getSourceType=function(){return ho(this,4)};g.setSourceType=function(a){return tj(this,4,a)};var xFc=function(a){this.internalArray_=m(a)};X(xFc,n);g=xFc.prototype;g.getUrl=function(){return Fj(this,1)};g.setUrl=function(a){return Lh(this,1,a)};g.hasUrl=function(){return Pi(this,1)};g.getType=function(){return ho(this,2)};g.setType=function(a){return tj(this,2,a)};g.hasType=function(){return aj(this,2)};g.getGlyph=function(){return Fj(this,3)};g.setGlyph=function(a){return Lh(this,3,a)};var b2=function(a){this.internalArray_=m(a)};X(b2,n);g=b2.prototype;g.getPhoto=function(){return $i(this,xFc,1)};g.setPhoto=function(a){li(this,xFc,1,a)};g.hasPhoto=function(){return ji(this,xFc,1)};g.getName=function(){return $i(this,wFc,2)};g.setName=function(a){return li(this,wFc,2,a)};g.hasName=function(){return ji(this,wFc,2)};g.getAffinity=function(){return $i(this,a2,3)};g.hasAffinity=function(){return ji(this,a2,3)};g.getPrimary=function(){return es(this,4)};var c2=function(a){this.internalArray_=m(a)};X(c2,n);c2.prototype.getStatus=function(){return ho(this,2)};c2.prototype.setStatus=function(a){return tj(this,2,a)};c2.prototype.hasStatus=function(){return aj(this,2)};var yFc=function(a){this.internalArray_=m(a)};X(yFc,n);var Peb=function(a){this.internalArray_=m(a)};X(Peb,n);Peb.prototype.getState=function(){return ho(this,2)};Peb.prototype.setState=function(a){return tj(this,2,a)};var d2=function(a){this.internalArray_=m(a)};X(d2,n);d2.prototype.getApplication=function(){return cj(this,1,0)};d2.prototype.setApplication=function(a){return tj(this,1,a)};d2.prototype.getApplicationOrUndefined=function(){return xs(this,1)};d2.repeatedFields_=[2];var e2=function(a){this.internalArray_=m(a)};X(e2,n);e2.prototype.getValue=function(){return Fj(this,1)};e2.prototype.getValue_legacyNullable=function(){return Fj(this,1)};e2.prototype.setValue=function(a){return Lh(this,1,a)};e2.prototype.hasValue=function(){return Pi(this,1)};e2.repeatedFields_=[2];var peb=function(a){this.internalArray_=m(a)};X(peb,n);g=peb.prototype;g.getProfileId=function(){return Fj(this,1)};g.getProfileId_legacyNullable=function(){return Fj(this,1)};g.setProfileId=function(a){return Lh(this,1,a)};g.hasProfileId=function(){return Pi(this,1)};g.getEmail=function(){return ao(this,2,bs)};g.getEmail_legacyNullable=function(){return ao(this,2,bs)};g.setEmail=function(a){return Fk(this,2,bs,a)};g.hasEmail=function(){return null!=ao(this,2,bs)};
g.getPhone=function(){return ao(this,3,bs)};g.getPhone_legacyNullable=function(){return ao(this,3,bs)};g.setPhone=function(a){return Fk(this,3,bs,a)};g.hasPhone=function(){return null!=ao(this,3,bs)};var bs=[2,3];var f2=function(a){this.internalArray_=m(a)};X(f2,n);f2.prototype.getDisplayValue=function(){return Fj(this,1)};f2.prototype.getCanonicalValue=function(){return Fj(this,2)};f2.prototype.setCanonicalValue=function(a){return Lh(this,2,a)};f2.prototype.getOriginalValue=function(){return Fj(this,3)};var g2=function(a){this.internalArray_=m(a)};X(g2,n);g2.prototype.getStatus=function(){return ho(this,1)};g2.prototype.setStatus=function(a){return tj(this,1,a)};g2.prototype.hasStatus=function(){return aj(this,1)};var seb=function(a){this.internalArray_=m(a)};X(seb,n);g=seb.prototype;g.getIdCase=function(){return kl(this,h2)};g.getProfileId=function(){return ao(this,1,h2)};g.getProfileId_legacyNullable=function(){return ao(this,1,h2)};g.setProfileId=function(a){return Fk(this,1,h2,a)};g.hasProfileId=function(){return null!=ao(this,1,h2)};g.getContactId=function(){return ao(this,2,h2)};g.setContactId=function(a){Fk(this,2,h2,a)};var h2=[1,2];var zFc=function(a){this.internalArray_=m(a)};X(zFc,n);g=zFc.prototype;g.getValueCase=function(){return kl(this,$r)};g.getDisplayInfo=function(){return $i(this,b2,1)};g.hasDisplayInfo=function(){return ji(this,b2,1)};g.getEmail=function(){return Ak(this,e2,2,$r)};g.setEmail=function(a){return Gk(this,2,$r,a)};g.hasEmail=function(){return Wk(this,e2,2,$r)};g.getPhone=function(){return Ak(this,f2,3,$r)};g.setPhone=function(a){return Gk(this,3,$r,a)};g.hasPhone=function(){return Wk(this,f2,3,$r)};
g.getIsSelf=function(){return es(this,6)};g.getTypeLabel=function(){return Fj(this,10)};zFc.repeatedFields_=[5];var $r=[2,3,4];var AFc=function(a){this.internalArray_=m(a)};X(AFc,n);g=AFc.prototype;g.getDisplayInfo=function(){return $i(this,b2,1)};g.hasDisplayInfo=function(){return ji(this,b2,1)};g.getMembersList=function(){return gi(this,zFc,2,hi())};g.setMembersList=function(a){return gl(this,2,a)};g.getLabelId=function(){return Fj(this,3)};AFc.repeatedFields_=[2];var ds=function(a){this.internalArray_=m(a,5)};X(ds,n);ds.prototype.getIsPlaceholder=function(){return Xi(this,2)};ds.prototype.setIsPlaceholder=function(a){Mh(this,2,a)};ds.prototype.getContactId=function(){return kj(this,4)};ds.prototype.setContactId=function(a){zj(this,4,a)};var i2=function(a){this.internalArray_=m(a)};X(i2,n);i2.prototype.getAffinity=function(){return $i(this,a2,2)};i2.prototype.hasAffinity=function(){return ji(this,a2,2)};i2.repeatedFields_=[1];var Xeb=function(a){this.internalArray_=m(a)};X(Xeb,n);Xeb.prototype.getIdCase=function(){return kl(this,Yeb)};var Yeb=[1,2];var j2=function(a){this.internalArray_=m(a)};X(j2,n);g=j2.prototype;g.getDisplayInfo=function(){return $i(this,b2,1)};g.hasDisplayInfo=function(){return ji(this,b2,1)};g.getMembersList=function(){return gi(this,i2,2,hi())};g.setMembersList=function(a){return gl(this,2,a)};g.getGroupId=function(){return Fj(this,4)};g.setGroupId=function(a){Lh(this,4,a)};g.hasGroupId=function(){return Pi(this,4)};j2.repeatedFields_=[2,10,13,6,11];var k2=function(a){this.internalArray_=m(a)};X(k2,n);k2.prototype.getDataCase=function(){return kl(this,BFc)};k2.prototype.getGroup=function(){return Ak(this,j2,2,BFc)};k2.prototype.setGroup=function(a){Gk(this,2,BFc,a)};var BFc=[1,2,3];var l2=function(a){this.internalArray_=m(a)};X(l2,n);var CFc=Xb(l2);l2.repeatedFields_=[1];var DFc=new bD("/peoplestack.PeopleStackAutocompleteService/Autocomplete",uFc,l2,function(a){return a.serialize()},CFc);var EFc=function(a){this.internalArray_=m(a)};X(EFc,n);g=EFc.prototype;g.getAffinityType=function(){return ho(this,1)};g.setAffinityType=function(a){return tj(this,1,a)};g.setClientInformation=function(a){li(this,Z1,2,a)};g.getName=function(){return Fj(this,3)};g.setName=function(a){return Lh(this,3,a)};g.hasName=function(){return Pi(this,3)};g.getNameOrUndefined=function(){return fu(this,3)};EFc.repeatedFields_=[7];var FFc=function(a){this.internalArray_=m(a)};X(FFc,n);FFc.prototype.getGroup=function(){return $i(this,j2,1)};FFc.prototype.setGroup=function(a){li(this,j2,1,a)};var GFc=new bD("/peoplestack.PeopleStackAutocompleteService/CreateGroup",EFc,FFc,function(a){return a.serialize()},Xb(FFc));var ks=function(a){this.internalArray_=m(a)};X(ks,n);g=ks.prototype;g.getIdCase=function(){return kl(this,ls)};g.getEmail=function(){return ao(this,1,ls)};g.getEmail_legacyNullable=function(){return ao(this,1,ls)};g.setEmail=function(a){return Fk(this,1,ls,a)};g.hasEmail=function(){return null!=ao(this,1,ls)};g.getPhone=function(){return ao(this,2,ls)};g.getPhone_legacyNullable=function(){return ao(this,2,ls)};g.setPhone=function(a){return Fk(this,2,ls,a)};
g.hasPhone=function(){return null!=ao(this,2,ls)};g.getProfileId=function(){return ao(this,3,ls)};g.getProfileId_legacyNullable=function(){return ao(this,3,ls)};g.setProfileId=function(a){return Fk(this,3,ls,a)};g.hasProfileId=function(){return null!=ao(this,3,ls)};var ls=[1,2,3,4];var HFc=function(a){this.internalArray_=m(a)};X(HFc,n);g=HFc.prototype;g.getAffinityType=function(){return ho(this,1)};g.setAffinityType=function(a){return tj(this,1,a)};g.setClientInformation=function(a){li(this,Z1,2,a)};g.setIdsList=function(a){gl(this,3,a)};g.setIds=function(a){return Tt(this,3,ks,a)};HFc.repeatedFields_=[3];var IFc=function(a){this.internalArray_=m(a)};X(IFc,n);IFc.prototype.getId=function(){return $i(this,ks,1)};IFc.prototype.setId=function(a){return li(this,ks,1,a)};var JFc=[2,3];var KFc=function(a){this.internalArray_=m(a)};X(KFc,n);var LFc=Xb(KFc);KFc.repeatedFields_=[1];var MFc=new bD("/peoplestack.PeopleStackAutocompleteService/Lookup",HFc,KFc,function(a){return a.serialize()},LFc);var m2=function(a){this.internalArray_=m(a)};X(m2,n);m2.prototype.getAffinityType=function(){return ho(this,1)};m2.prototype.setAffinityType=function(a){return tj(this,1,a)};m2.prototype.setClientInformation=function(a){li(this,Z1,2,a)};var NFc=function(a){this.internalArray_=m(a)};X(NFc,n);var OFc=new bD("/peoplestack.PeopleStackAutocompleteService/Warmup",m2,NFc,function(a){return a.serialize()},Xb(NFc));var PFc=function(a){var b={unaryInterceptors:[new OBc]};b=b||{};b.format="jspb";this.client_=new DD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};PFc.prototype.autocomplete=function(a,b){return ZC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Autocomplete",a,b||{},DFc)};PFc.prototype.lookup=function(a,b){return ZC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Lookup",a,b||{},MFc)};
PFc.prototype.createGroup=function(a,b){return ZC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/CreateGroup",a,b||{},GFc)};var Beb=new ju(417869898,ds);var Feb=new ju(417866180,Eeb);var QFc=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},yeb=function(a){if(!a)return 0;a=Array.from(a).map(QFc);a.sort();for(var b=1,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a[c];return b};var meb=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 RFc=function(a){this.leanResponseProcessorConfig_=a},SFc=function(a,b,c,d){d=void 0===d?!1:d;for(var e=[],f=Deb(b),h=[],k=l(gi(b,zFc,1,hi())),q=k.next();!q.done;q=k.next()){q=q.value;var t=reb(q);if(t.equals(cs)){if(!a.leanResponseProcessorConfig_.allowEmptyTargets&&!d)continue;var w=zeb(q);if(!w)continue;t=beb(w)}h.push(String(t));var z=w=void 0;t={id:t,containerIds:teb(q),coalescedKeys:h,isMe:!!q.getIsSelf(),dataSource:ueb(b,q),provenance:c,isPrimary:xeb(null!=(w=q.getDisplayInfo())?w:null),
itemAffinity:web(b),fieldAffinity:veb(null!=(z=q.getDisplayInfo())?z:null),contactMethod:q,person:b};f&&(t.resultExtendedData=f);if(q=Geb(q))t.targetExtendedData=q;e.push(t)}e.length&&e.every(function(F){return!F.isPrimary})&&(e[0].isPrimary=!0);return e},TFc=function(a,b,c){var d=Wr(neb(Fj(b,5)),b.getGroupId()||""),e=b.getMembersList().map(function(q){return SFc(a,q,8,!0)}),f=e.filter(function(q){return q&&q.length}).map(function(q){return String(q[0].id)}),h,k;d=[{id:d,containerIds:[d],memberKeys:f,
totalMemberCount:null!=(h=du(b,3))?h:void 0,provenance:c,isPrimary:!0,itemAffinity:veb(null!=(k=b.getDisplayInfo())?k:null),fieldAffinity:-Infinity,group:b}];b=l(e);for(c=b.next();!c.done;c=b.next())d.push.apply(d,r(c.value));return d},UFc=function(a,b){var c=scc(a.getLabelId()||""),d=a.getMembersList().map(function(h){if(h.hasEmail()&&h.getEmail().getValue()){var k,q;var t={id:Zr(h.getEmail().getValue()),containerIds:teb(h),contactMethod:h,provenance:8,isMe:!1,dataSource:1,isPrimary:xeb(null!=(k=
h.getDisplayInfo())?k:null),itemAffinity:-Infinity,fieldAffinity:veb(null!=(q=h.getDisplayInfo())?q:null)};if(h=Geb(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:veb(null!=(f=a.getDisplayInfo())?f:null),fieldAffinity:-Infinity,isMe:!1,contactLabel:a}].concat(r(d))},VFc=function(a,b,c){switch(b.getDataCase()){case 1:return SFc(a,
Ak(b,i2,1,BFc),c);case 2:return TFc(a,b.getGroup(),c);case 3:return UFc(Ak(b,AFc,3,BFc),c);default:return[]}},WFc=function(a,b,c){return gi(b,k2,1,hi()).flatMap(function(d){return VFc(a,d,c)})};var Jeb=new Map([[0,1],[1,2],[2,3],[3,4]]);var XFc=function(a){this.internalArray_=m(a)};X(XFc,n);g=XFc.prototype;g.getLabel=function(){return ho(this,1)};g.setLabel=function(a){return tj(this,1,a)};g.hasLabel=function(){return aj(this,1)};g.getItemCount=function(){return Xt(this,2)};g.setItemCount=function(a){return rj(this,2,a)};g.hasItemCount=function(){return Yi(this,2)};g.getLookupInfo=function(){return $i(this,is,3)};g.setLookupInfo=function(a){return li(this,is,3,a)};g.hasLookupInfo=function(){return ji(this,is,3)};
g.getQueryLength=function(){return Xt(this,4)};g.setQueryLength=function(a){return rj(this,4,a)};g.hasQueryLength=function(){return Yi(this,4)};g.getQueryScope=function(){return cj(this,5,0)};g.setQueryScope=function(a){return tj(this,5,a)};g.hasQueryScope=function(){return aj(this,5)};var YFc=function(a){this.internalArray_=m(a)};X(YFc,n);g=YFc.prototype;g.getLabel=function(){return ho(this,1)};g.setLabel=function(a){return tj(this,1,a)};g.hasLabel=function(){return aj(this,1)};g.getStatus=function(){return ho(this,2)};g.setStatus=function(a){return tj(this,2,a)};g.hasStatus=function(){return aj(this,2)};g.setLatencyUsec=function(a){zj(this,3,a)};g.getResultIndex=function(){return Xt(this,4)};g.setResultIndex=function(a){rj(this,4,a)};
g.getDataSource=function(){return ho(this,7)};g.setDataSource=function(a){return tj(this,7,a)};g.hasDataSource=function(){return aj(this,7)};g.getItemCount=function(){return Xt(this,8)};g.setItemCount=function(a){return rj(this,8,a)};g.hasItemCount=function(){return Yi(this,8)};g.getLookupInfo=function(){return $i(this,is,10)};g.setLookupInfo=function(a){return li(this,is,10,a)};g.hasLookupInfo=function(){return ji(this,is,10)};g.setStatusCode=function(a){tj(this,11,a)};
g.getQueryLength=function(){return Xt(this,13)};g.setQueryLength=function(a){return rj(this,13,a)};g.hasQueryLength=function(){return Yi(this,13)};g.getQueryScope=function(){return cj(this,14,0)};g.setQueryScope=function(a){return tj(this,14,a)};g.hasQueryScope=function(){return aj(this,14)};var ZFc=function(a){this.internalArray_=m(a)};X(ZFc,n);var $Fc=function(a){this.internalArray_=m(a)};X($Fc,n);g=$Fc.prototype;g.getDataSource=function(){return ho(this,3)};g.setDataSource=function(a){return tj(this,3,a)};g.hasDataSource=function(){return aj(this,3)};g.getType=function(){return ho(this,4)};g.setType=function(a){return tj(this,4,a)};g.hasType=function(){return aj(this,4)};g.getValue=function(){return kj(this,2,1)};g.setValue=function(a){return zj(this,2,a)};g.hasValue=function(){return jj(this,2)};g.getLabel=function(){return Fj(this,1)};
g.setLabel=function(a){return Lh(this,1,a)};g.hasLabel=function(){return Pi(this,1)};var n2=function(a){this.internalArray_=m(a)};X(n2,n);g=n2.prototype;g.setStatusCode=function(a){tj(this,5,a)};g.getLabel=function(){return Fj(this,1)};g.setLabel=function(a){return Lh(this,1,a)};g.hasLabel=function(){return Pi(this,1)};g.getCause=function(){return Fj(this,2)};g.getType=function(){return ho(this,3)};g.setType=function(a){return tj(this,3,a)};g.hasType=function(){return aj(this,3)};var o2=function(a){this.internalArray_=m(a)};X(o2,n);g=o2.prototype;g.getType=function(){return ho(this,3)};g.setType=function(a){return tj(this,3,a)};g.hasType=function(){return aj(this,3)};g.setLatencyUsec=function(a){zj(this,2,a)};g.getLabel=function(){return Fj(this,1)};g.setLabel=function(a){return Lh(this,1,a)};g.hasLabel=function(){return Pi(this,1)};var p2=function(a){this.internalArray_=m(a)};X(p2,n);p2.prototype.getLabel=function(){return ho(this,1)};p2.prototype.setLabel=function(a){return tj(this,1,a)};p2.prototype.hasLabel=function(){return aj(this,1)};var aGc=function(a){this.internalArray_=m(a)};X(aGc,n);g=aGc.prototype;g.getLabel=function(){return ho(this,1)};g.setLabel=function(a){return tj(this,1,a)};g.hasLabel=function(){return aj(this,1)};g.getStatus=function(){return ho(this,2)};g.setStatus=function(a){return tj(this,2,a)};g.hasStatus=function(){return aj(this,2)};g.setLatencyUsec=function(a){zj(this,3,a)};g.getErrorCode=function(){return Yt(this,4)};g.hasErrorCode=function(){return jj(this,4)};g.setStatusCode=function(a){tj(this,7,a)};
g.setBlockedUsec=function(a){return zj(this,8,a)};var q2=function(a){this.internalArray_=m(a)};X(q2,n);g=q2.prototype;g.getClientInterface=function(){return $i(this,YN,1)};g.setClientInterface=function(a){return li(this,YN,1,a)};g.getEventType=function(){return ho(this,3)};g.getEventType_legacyNullable=function(){return ho(this,3)};g.setEventType=function(a){return tj(this,3,a)};g.getCacheStatus=function(){return $i(this,ZFc,12)};g.setCacheStatus=function(a){return li(this,ZFc,12,a)};g.getCount=function(){return $i(this,$Fc,4)};
g.setCount=function(a){return li(this,$Fc,4,a)};g.getLatency=function(){return $i(this,o2,5)};g.setLatency=function(a){return li(this,o2,5,a)};g.getError=function(){return $i(this,n2,6)};g.setError=function(a){li(this,n2,6,a)};g.hasError=function(){return ji(this,n2,6)};g.setRpcRequest=function(a){return li(this,p2,7,a)};g.setRpcResponse=function(a){return li(this,aGc,8,a)};g.setApiCall=function(a){return li(this,XFc,9,a)};g.setApiResult=function(a){return li(this,YFc,10,a)};var r2=function(a,b,c,d,e){this.leanResponseProcessor_=a;this.grpcClient_=b;e?a=Ieb(e):(a=new hs,Heb(a.setEventType(4),4));this.sourceInfo_=a;this.provenance_=e?2:1;this.trackers_=d;this.query_=e;this.affinity_=cj(c.getPeopleApi(),5,0);this.searchMaxResults_=c.getClient().getSearchMaxResults();this.cacheSize_=c.getClient().getCacheSize()};r2.prototype.getMetric=function(){return new bGc(this.trackers_.metrics_,this.sourceInfo_)};
r2.prototype.send=function(a){var b=new uFc;b.setAffinityType(this.affinity_).setQuery(this.query_).setClientInformation((new Z1).setDevice(1));this.query_.length?b.setMaxResults(this.searchMaxResults_):b.setMaxResults(this.cacheSize_);return this.grpcClient_.autocomplete(b,a)};r2.prototype.processResponse=function(a){var b=WFc(this.leanResponseProcessor_,a,this.provenance_),c=new ss;ji(a,vFc,2)&&c.setAffinityVersion($i(a,vFc,2).getAffinityVersion());return{data:b,metadata:c}};
r2.prototype.close=function(){};var cGc=function(a,b,c,d,e,f){this.leanResponseProcessor_=a;this.grpcClient_=b;a=new hs;Heb(a.setEventType(4),7).setIdType(e);this.sourceInfo_=a;this.provenance_=3;this.keys_=f;this.type_=e;this.trackers_=d;this.affinity_=cj(c.getPeopleApi(),5,0)};cGc.prototype.getMetric=function(){return new bGc(this.trackers_.metrics_,this.sourceInfo_)};
cGc.prototype.send=function(a){var b=this,c=new HFc;c.setAffinityType(this.affinity_).setClientInformation((new Z1).setDevice(1));c.setIdsList(this.keys_.map(function(d){return Oeb(b.type_,d)}).filter(function(d){return!!d}));return this.grpcClient_.lookup(c,a)};
cGc.prototype.processResponse=function(a){var b=this.leanResponseProcessor_,c=this.provenance_,d=new Map;a=l(gi(a,IFc,1,hi()));for(var e=a.next();!e.done;e=a.next())if(e=e.value,Wk(e,k2,2,JFc)){var f=VFc(b,Ak(e,k2,2,JFc),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(ao(e.getId(),4,ls),f)}}return{data:d,metadata:new ss}};
cGc.prototype.close=function(){};var dGc=function(a){this.internalArray_=m(a)};X(dGc,n);var eGc=new ju(342338249,dGc);var fGc=function(){};fGc.prototype.write=function(a,b){var c=new dGc;b=li(c,l2,1,b);fs(a,eGc,b)};fGc.prototype.read=function(a){return(a=a.getExtension(eGc))?$i(a,l2,1):null};var gGc=function(a,b,c){this.grpcClient_=a;this.sourceInfo_=Ieb("");this.trackers_=c;this.affinity_=cj(b.getPeopleApi(),5,0)};gGc.prototype.getMetric=function(){return new bGc(this.trackers_.metrics_,this.sourceInfo_)};gGc.prototype.send=function(a){var b=new m2;b.setAffinityType(this.affinity_).setClientInformation((new Z1).setDevice(1));var c=this.grpcClient_;return ZC(c.client_,c.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Warmup",b,a||{},OFc)};
gGc.prototype.processResponse=function(){return{data:[],metadata:new ss}};gGc.prototype.close=function(){};var hGc=new O_b;var s2=function(a,b,c){this.delegate_=a;this.runtimeConfig_=b;this.offlineResponse_=c};s2.prototype.send=function(a){var b=this;return ke(function(c){return b.runtimeConfig_.isOffline_()?c.return(hGc):c.return(b.delegate_.send(a))})};s2.prototype.getMetric=function(){return this.delegate_.getMetric()};s2.prototype.processResponse=function(a){return a===hGc?this.offlineResponse_:this.delegate_.processResponse(a)};s2.prototype.close=function(a){this.delegate_.close(a)};
var iGc={data:[],metadata:Mh(new ss,5,!0).setCode(14)},jGc={data:new Map,metadata:Mh(new ss,5,!0).setCode(14)};Mh(new ss,5,!0).setCode(14);Mh(new ss,5,!0).setCode(14);Mh(new ss,5,!0).setCode(14);var kGc=function(a){this.internalArray_=m(a)};X(kGc,n);g=kGc.prototype;g.getTimestamp=function(){return kj(this,1)};g.getTimestamp_asLegacyNumberOrString=function(){return kj(this,1)};g.setTimestamp=function(a){return zj(this,1,a)};g.hasTimestamp=function(){return jj(this,1)};g.getOwner=function(){return Zi(this,2)};g.setOwner=function(a){return Lh(this,2,a)};var lGc=new ju(342656659,kGc);var t2=function(a,b,c,d,e){this.delegate_=a;this.offlineStorage_=b;this.offlineDataTransformer_=c;this.owner_=d;this.storageTaskDelayMillis_=e;this.offlineMetadata_=null};t2.prototype.store_=function(a,b){var c=new exc;fs(c,lGc,(new kGc).setTimestamp(b).setOwner(String(this.owner_)));this.offlineDataTransformer_.write(c,a);this.offlineStorage_.store(c)};
var mGc=function(a){var b,c;return ke(function(d){if(1==d.nextAddress)return le(d,2),me(d,a.offlineStorage_.fetch(),4);if(2!=d.nextAddress){b=d.yieldResult;if(!b)return d.return(null);a.offlineMetadata_=b.getExtension(lGc);c=a.offlineMetadata_?ucc(a.offlineMetadata_.getOwner()):cs;return a.owner_.equals(c)?d.return(a.offlineDataTransformer_.read(b)):d.return(null)}pe(d);return d.return(null)})};
t2.prototype.send=function(a){var b=this,c,d,e,f,h;return ke(function(k){switch(k.nextAddress){case 1:return le(k,2),me(k,b.delegate_.send(a),4);case 4:c=k.yieldResult;d=Date.now();if(c!==hGc){k.jumpTo(5);break}return me(k,mGc(b),6);case 6:return e=k.yieldResult,k.return(e||hGc);case 5:return setTimeout(function(){b.store_(c,d)},b.storageTaskDelayMillis_),k.return(c);case 2:return f=pe(k),me(k,mGc(b),7);case 7:return(h=k.yieldResult)?k.return(h):k.return(Promise.reject(f))}})};
t2.prototype.getMetric=function(){return this.delegate_.getMetric()};t2.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};t2.prototype.close=function(a){this.delegate_.close(a)};var nGc=function(a,b){this.config_=a;this.trackers_=b;b=this.config_;b={apiKey:b.runtimeConfig_.getApiKey()||(7===b.runtimeConfig_.getPeopleApiEnv()?Zi(b.getGapi(),2,""):b.getGapi().getApiKey()),timeoutSec:a.getClient().getRpcTimeoutSec(),authErrorHandler:a.runtimeConfig_.getAuthErrorHandler(),customAuthHeaders:a.runtimeConfig_.customAuthHeaders_};this.dispatcher_=new QBc(b);b=pIa("peoplestack-pa",a.runtimeConfig_.getPeopleApiEnv());this.grpcPeopleStackClient_=new PFc(b);this.offlineDataTransformer_=
new fGc;a=Xi(a.getClient(),22,!1);this.leanResponseProcessor_=new RFc({allowEmptyTargets:a})};nGc.prototype.loadRankedItems=function(){var a=new r2(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,"");a=new s2(a,this.config_.runtimeConfig_,iGc);var b=this.config_,c=this.offlineDataTransformer_,d=b.runtimeConfig_.offlineStorage_;if(d){var e=b.runtimeConfig_.getUserEmail();e&&(e=Zr(e),b=qi(b.getPeopleApi(),14,5E3),a=new t2(a,d,c,e,b))}return SBc(this.dispatcher_,a)};
nGc.prototype.warmUpServer=function(){var a=new gGc(this.grpcPeopleStackClient_,this.config_,this.trackers_);a=new s2(a,this.config_.runtimeConfig_,iGc);return SBc(this.dispatcher_,a)};nGc.prototype.loadAutocompleteItems=function(a){var b=this.leanResponseProcessor_;var c=this.grpcPeopleStackClient_,d=this.config_,e=this.trackers_;a=a.getPrefix();b=new r2(b,c,d,e,a);b=new s2(b,this.config_.runtimeConfig_,iGc);return SBc(this.dispatcher_,b)};
nGc.prototype.loadLookupItems=function(a,b){a=new cGc(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a,b);a=new s2(a,this.config_.runtimeConfig_,jGc);return SBc(this.dispatcher_,a)};var Qeb=new Map([[1,1],[2,2]]);var Teb=new Map([[3,3],[1,2],[2,1]]),oGc=new Map([[2,1],[4,2],[3,3],[1,4]]),pGc=function(a){this.delegate_=a};
pGc.prototype.processItem=function(a){if(a.person||a.contactMethod){switch(a.contactMethod.getValueCase()){case 2:var b=a.contactMethod.getEmail();var c=ms(b.getValue()),d=a.id.normalizedValue_;c=Xr(a.id).setValue(c).setCanonicalValue(d);if(gi(b,c2,2,hi()).length||ji(b,yFc,3)){d=1;var e=0;if(gi(b,c2,2,hi()).length){var f=gi(b,c2,2,hi())[0];e=Yt(f,1)||e;d=oGc.get(f.getStatus())||d}f=ji(b,yFc,3)&&!!es($i(b,yFc,3),1);d=keb(d,e,f)}else d=null;d&&(c.emailSecurityInfo_=d);ji(b,d2,4)&&(b=Reb($i(b,d2,4)),
c.orgState_=b);es(a.contactMethod,7)&&(c.resultType_=2);b=c;break;case 3:c=a.contactMethod.getPhone();b=ms(c.getCanonicalValue());c=ms(c.getOriginalValue())||ms(c.getDisplayValue())||b;b=Xr(a.id).setValue(c).setCanonicalValue(b);break;case 4:b=Ak(a.contactMethod,peb,4,$r);b=Web(a,b);break;default:b=Xr(a.id||cs)}b.setDataSource(a.dataSource||0);a.containerIds&&(b.sourceIds_=a.containerIds||[]);feb(b,!!a.isMe);a.person&&a.person.hasAffinity()&&b.setPersonLoggingId(Seb(Ida(wq(a.person.getAffinity(),
1))||""));a.contactMethod.hasDisplayInfo()&&Ueb(b,a.contactMethod.getDisplayInfo());Pi(a.contactMethod,10)&&heb(b,[ieb(a.contactMethod.getTypeLabel())]);ji(a.contactMethod,g2,13)&&$i(a.contactMethod,g2,13).getStatus();a.targetExtendedData&&(b.extendedData_=a.targetExtendedData);a.target=b}else a.group?Zeb(a,a.group.getDisplayInfo()):a.contactLabel&&Zeb(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 bGc=function(a,b){this.metrics_=a;this.state_=new iO(b)};g=bGc.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();tj(d,13,b)}c&&(b=this.state_.source(),rj(b,12,c));this.metrics_.status(this.state_,a)};g.logError=function(a,b){this.metrics_.logError(a,b)};var qGc=function(a){this.metrics_=a};qGc.prototype.error=function(a,b){var c=this.metrics_,d=new hs;a=d.setEventType(3).setErrorType(a);tj(a,7,b);return new XEc(c,d)};qGc.prototype.latency=function(a){var b=this.metrics_,c=new hs,d=c.setEventType(2);tj(d,5,a);return new WBc(b,c)};qGc.prototype.count=function(a){var b=this.metrics_,c=new hs,d=c.setEventType(1);tj(d,4,a);return new WEc(b,c)};qGc.prototype.api=function(a){return new VEc(this.metrics_,a)};var rGc=function(a,b){this.ranker_=new PEc(a.getClient());this.loader_=new nGc(a,b);b=iFc;b=void 0===b?iFc:b;this.targetFactory_=new tFc(a,new pGc(b))};var sGc=function(){this.cacheConfigurators_=[];this.grpcClient_=null};var $eb=function(a){this.delegate_=a};X($eb,IZ);var tGc=function(a){this.keys_=new Set(a)};tGc.prototype.loadOrSkip=function(a){return this.keys_.delete(a)?a:null};tGc.prototype.isDone=function(){return!this.keys_.size};var uGc=function(a){this.keys_=a;this.foundKeys_=new Set;this.delegate_=new tGc(a)};uGc.prototype.loadOrSkip=function(a){return this.delegate_.loadOrSkip(a)?(this.foundKeys_.add(a),!0):!1};uGc.prototype.isDone=function(){return this.delegate_.isDone()};var vGc=function(a){return a.keys_.filter(function(b){return!a.foundKeys_.has(b)})};var wGc=new Bs,xGc=function(a,b,c){this.itemResolver_=a;this.trieFactory_=b;this.indexes_=R1(qi(c,31,5),1E3*zk(c,32,3600))};g=xGc.prototype;g.getCacheType=function(){return 2};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return ke(function(h){if(1==h.nextAddress){c=a.getBoostKey();if(!c.cacheKey||b.indexes_.get(c.cacheKey))return h.return(wGc);d=c.ids.map(function(k){if(rcc.includes(ucc(k).getType()))return k;var q=u2(b.itemResolver_,k);return q?String(q.id):k});e=new uGc(d);return me(h,yGc(b.trieFactory_,e,a.getFormat(),c.primingTimeoutMillis),2)}f=h.yieldResult;b.indexes_.set(c.cacheKey,f);return h.return(wGc)})};
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)||Q1).search(a.getTerms()).getMatches(a.getCollector()).map(afb)};g.index=function(){};g.getName=function(){};var zGc=new aFc(60,61,34);var AGc=function(){};AGc.prototype.configure=function(a){var b=a.storage,c=a.trackers,d=a.trieFactory,e=a.prefixCaches;a=a.clientConfig.getClient();Xi(a,30,!1)&&(b=new xGc(b,d,a),c=new T1(b,c,zGc),e.unshift(c))};var BGc=function(){return Date.now()},CGc=function(a,b,c){this.staleMillis_=1E3*a;this.expiredMillis_=1E3*b;this.nowFn_=c;this.timestamp_=0};g=CGc.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 cfb=new Map([[1,1],[2,2],[3,3],[8,6],[6,7],[7,5],[4,4],[9,9]]),bfb=new Map([[1,7],[2,5]]);var DGc=function(a,b){this.delegate_=a;this.extendedData_=b};X(DGc,IZ);DGc.prototype.getExtendedData=function(){return this.extendedData_};var EGc=function(a,b,c){this.group_=a;this.members_=b;this.totalMemberCount_=zr(this.group_.getId())?this.members_.length:c;this.resultType_=FAc.get(this.group_.getTargetType())||0};g=EGc.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("He");};g.getDisplayName=function(){return""};
g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};g.getMatchInfo=function(){return EAc};g.getExtendedData=function(){return null};var efb=function(a,b){this.delegate_=a;this.loggingToken_=b};X(efb,Xwc);efb.prototype.getLoggingToken=function(){return this.loggingToken_};var FGc=function(a){this.itemResolver_=a};FGc.prototype.create=function(a,b){var c=this,d=ucc(a);a=u2(this.itemResolver_,a);if(!a)return null;if(yr(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 u2(c.itemResolver_,h)}).filter(Boolean):[a];return GGc(f,d,b)};
var GGc=function(a,b,c){var d=[],e=0,f=null,h=null;a=l(a);for(var k=a.next();!k.done;k=a.next()){k=k.value;var q=k.target,t=q.getId().equals(b);if(!e||t)e=q.getResultType();q=ffb(q,k.provenance,c);t?(h=void 0,f=null!=(h=k.totalMemberCount)?h:null,d.unshift(q),h=k.resultExtendedData):d.push(q)}b=wab(e,d,f);return h?new DGc(b,h):b};
FGc.prototype.createGroup=function(a,b,c){c=ffb(a.target,a.provenance,c);var d,e=null!=(d=a.totalMemberCount)?d:null;b=new xq(new EGc(c,null!=b?b:[],null!=e?e:null));return(a=a.resultExtendedData)?new DGc(b,a):b};var gfb=[1,2,3,4,5,6,9,7,8],HGc=function(a,b){this.targetFactory_=a;this.resultFactory_=new FGc(this);a=b.getCacheStaleSec();var c=b.getCacheExpiredSec();var d=void 0===d?BGc:d;this.expiry_=new CGc(a,c,d);this.affinityVersion_=0;this.ttlStorage_=new Map;this.lruStorage_=R1(qi(b,6,500),1E3*qi(b,7,43200));d=Set;b=qj(b,25,hi());this.idTypes_=new d(b)};HGc.prototype.load=function(a,b){var c;return null!=(c=this.resultFactory_.create(a,b))?c:null};
var u2=function(a,b){return a.ttlStorage_.get(b)||a.lruStorage_.get(b)||null};g=HGc.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=l(b);for(e=b.next();!e.done;e=b.next())this.store_(a,e.value,c,d)};
g.store_=function(a,b,c,d){if(!this.idTypes_.size||!rcc.includes(b.id.getType())||this.idTypes_.has(b.id.getType())){var e=!1,f=String(b.id),h=(b.containerIds||[]).map(String),k=IGc(this,a,f);JGc(this,a,f,b,c)&&(k(f,b),e=!0);h=l(h);for(var q=h.next();!q.done;q=h.next())q=q.value,JGc(this,a,q,b,c)&&(k(q,b),e=!0);b.isMe&&(h=String(tcc),JGc(this,a,h,b,c)&&(k(h,b),e=!0));d&&f!==d&&JGc(this,a,d,b,c)&&(k(d,b),e=!0);e&&!b.target&&this.targetFactory_.processItem(b)}};
var JGc=function(a,b,c,d,e){var f=u2(a,c);if(!f)return!0;1===b&&a.lruStorage_.has(c)&&(b=a.lruStorage_.get(c),a.ttlStorage_.set(c,b),a.lruStorage_.delete(c));return e&&(f.id.equals(d.id)||String(f.id)!==c)?!0:f.id.equals(d.id)?ifb(d)&&!ifb(f)||KGc(a,f)<KGc(a,d)||hfb(d)<hfb(f)||18===d.id.getType()&&18===f.id.getType()?!0:!1:String(d.id)===c},KGc=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},IGc=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 jfb=function(a,b){this.delegate_=a;this.displayValue_=b};X(jfb,Xwc);jfb.prototype.getDisplayValue=function(){return this.displayValue_};var lfb=function(){};lfb.prototype.createFromQuery=function(a){var b=a.getPrefix();if(0!==a.getCollector().resultCount()||!a.isEmailAddress())return null;b=Xr(Zr(b)).setValue(b).setDataSource(3);b=wab(b.getResultType(),[b],null);return(a=a.getResultFilter())?a.filterResult(b):b};lfb.prototype.createFromLookupId=function(a){if(1!==a.getType()||!kcc(a.getValue()))return null;a=Xr(a).setValue(a.getOriginalValue()).setDataSource(3);return wab(a.getResultType(),[a],null)};var LGc=function(){};LGc.prototype.createFromQuery=function(){return null};LGc.prototype.createFromLookupId=function(){return null};var mfb=new LGc;var MGc=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=nfb(e.getClient())};g=MGc.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 UEc=function(a){return Array.from(a.remainingIds.values())};MGc.prototype.hasError=function(){return this.hasErrorCode};
MGc.prototype.notify=function(a,b,c){if(a.size||b.length||this.isDone()||ofb(c.getCode())){var d=new Map,e=this.getResultFilter();a=l(a);for(var f=a.next();!f.done;f=a.next()){var h=l(f.value);f=h.next().value;h=h.next().value;this.notNotifiedIds.delete(String(f));if(h=e?e.filterResult(h):h)d.set(f,h),this.remainingIds.delete(String(f))}a=[];b=l(b);for(f=b.next();!f.done;f=b.next())f=f.value,this.notNotifiedIds.delete(String(f)),this.remainingIds.delete(String(f)),(h=this.placeholderFactory.createFromLookupId(f))&&
e&&(h=e.filterResult(h)),h?d.set(f,h):a.push(f);d=kfb(d,this.options);ofb(c.getCode())&&(this.hasErrorCode=!0);e=(new EEc).setCallbackNumber(this.callbackNumber).setIsFirstCallback(0===this.callbackNumber).setIsLastCallback(this.isDone()).setCode(c.getCode());e.notFoundIdList_=a;d=new FEc(d,e);this.callbackNumber++;this.listener(d,c)}};var NGc=function(a,b,c){this.stages=a;this.indexer=b;this.clientConfig=c};NGc.prototype.flush=function(){this.indexer.flush()};
NGc.prototype.lookup=function(a,b,c,d){var e=this,f,h,k,q,t,w;return ke(function(z){switch(z.nextAddress){case 1:null==(f=d.getFilter())||f.reset(""),h=new MGc(a,b,c,d,e.clientConfig),k=new Set,1!==h.queryScope()&&2!==h.queryScope()||k.add(2),3===h.queryScope()&&k.add(1),q=l(e.stages),t=q.next();case 2:if(t.done){z.jumpTo(4);break}w=t.value;if(h.isDone()||h.isCancelled()){z.jumpTo(4);break}if(k.has(w.getStageType())){z.jumpTo(3);break}return me(z,w.lookup(h),3);case 3:t=q.next();z.jumpTo(2);break;
case 4:if(!h.isDone()){if(0===h.queryScope()&&!h.hasError()){var F=e.indexer,J=Array.from(h.notNotifiedIds.values());J=l(J);for(var H=J.next();!H.done;H=J.next())H=String(H.value),F.notFoundIds.set(H,H)}h.notify(new Map,UEc(h),J1((new Bs).setProvenance(10),!1).setCode(0))}e.indexer.compact();return z.return()}})};var OGc=function(a,b){this.storage=a;a=b.getClient();this.notFoundIds=R1(qi(a,10,500),1E3*zk(a,11,600))};g=OGc.prototype;g.compact=function(){this.notFoundIds.compact()};g.flush=function(){this.notFoundIds.clear()};g.store=function(a,b,c,d){if(!Xi(c,5))for(Mh(c,5,!0),b=l(b),c=b.next();!c.done;c=b.next()){var e=l(c.value);c=e.next().value;e=e.next().value;c=String(Wr(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=G1a(a).filterResult(b));return b};var PGc={ids:[],cacheKey:"",primingTimeoutMillis:0};var QGc=function(){};QGc.prototype.loadOrSkip=function(){return null};QGc.prototype.resultCount=function(){return 0};QGc.prototype.isDone=function(){return!0};var RGc=new QGc;var SGc=function(){this.prefix_="";this.terms_=[];this.format_=0;this.collector_=RGc;this.boostKey_=PGc;this.listener_=function(){}};g=SGc.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 TGc=new SGc;var UGc=function(){this.fetchDone_=Promise.resolve((new Bs).setCode(0))};g=UGc.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 VGc=new UGc;var WGc=function(a){a=Array.from(new Set(a));this.primary_=a.find(function(b){return 1===b.getCacheType()})||VGc;this.prefetched_=a.filter(function(b){return 2===b.getCacheType()||1===b.getCacheType()});this.lazyLoaded_=a.filter(function(b){return 3===b.getCacheType()})};
WGc.prototype.prefetch=function(a){var b=this,c,d,e,f,h;return ke(function(k){if(1==k.nextAddress)return me(k,b.primary_.fetch(a),2);if(3!=k.nextAddress){c=k.yieldResult;if(0!==c.getCode())return k.return(c);d=l(b.lazyLoaded_);for(e=d.next();!e.done;e=d.next())f=e.value,f.flush();h=b.prefetched_.filter(function(q){return q!==b.primary_}).map(function(q){q.flush();return q.fetch(a)});return h.length?me(k,Promise.all(h),3):k.jumpTo(3)}return k.return(c)})};
WGc.prototype.warmUpSession=function(a){var b=this;if(1===a.queryScope())return Promise.resolve([(new Bs).setProvenance(2).setCode(1)]);var c=this.prefetched_.filter(function(d){return d!==b.primary_});2!==a.queryScope()&&c.push.apply(c,r(this.lazyLoaded_));return Promise.all(c.map(function(d){return d.fetch(a)}))};
var XGc=function(a){var b=[a.primary_].concat(r(a.prefetched_.filter(function(d){return d!==a.primary_})),r(a.lazyLoaded_)).reverse();b=l(b);for(var c=b.next();!c.done;c=b.next())c.value.flush()},YGc=function(a,b){var c=[];a=l(a.prefetched_);for(var d=a.next();!d.done;d=a.next()){d=d.value;if(b.isDone()||b.isCancelled())break;b.shouldSkipCache(d.getName())||c.push.apply(c,r(d.search(b)))}return c},$Gc=function(a,b,c){var d,e,f,h,k;return ke(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=l(d);h=f.next()}if(3!=q.nextAddress){if(h.done)return q.jumpTo(0);k=h.value;return b.isDone()||b.isCancelled()?q.return():me(q,ZGc(k,b,c,e===k),3)}h=f.next();return q.jumpTo(2)})},ZGc=function(a,b,c,d){var e,f;return ke(function(h){if(1==h.nextAddress)return 1===b.queryScope()?(e=J1((new Bs).setProvenance(6).setCode(0),!1),h.jumpTo(2)):me(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);qe(h)})};var aHc=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=aHc.prototype;g.getLastUpdatedTimestamp=function(){return this.storage_.getExpiry().getTimestamp()};g.getAffinityVersion=function(){return this.storage_.getAffinityVersion()};
g.warmUpCache=function(){bHc(this,TGc);return this.cacheWarming_&&this.storage_.getExpiry().isExpired()?this.cacheWarming_:Promise.resolve(M1(L1((new K1).setSource(J1(new Bs,!1).setProvenance(1).setCode(0)),v2(this)),v2(this)))};g.flushCache=function(a){switch(a){case 2:return cHc(this),Promise.resolve(new K1);case 1:return this.storage_.markAsStale(),Promise.resolve(new K1);default:return this.warmUpCache()}};
g.warmUpSession=function(a){var b=this,c,d,e,f,h;return ke(function(k){switch(k.nextAddress){case 1:c=L1(new K1,v2(b));bHc(b,a);if(!b.cacheWarming_){k.jumpTo(2);break}return me(k,b.cacheWarming_,2);case 2:return le(k,4,5),b.sessionWarming_||(b.sessionWarming_=b.prefixSearch_.warmUpSession(a)),me(k,b.sessionWarming_,7);case 7:return d=k.yieldResult,e=d.find(function(q){return 2===q.getProvenance()})||(new Bs).setProvenance(2).setCode(0),k.return(M1(c.setSource(e),v2(b)));case 5:ne(k);b.sessionWarming_=
null;oe(k,0);break;case 4:return f=pe(k),h=f instanceof Bs?f:(new Bs).setProvenance(2).setCode(13),k.return(Promise.reject(M1(c.setSource(h),v2(b))))}})};
g.search=function(a){var b=this,c,d,e,f,h;return ke(function(k){switch(k.nextAddress){case 1:dHc(b);le(k,2);d=v2(b);bHc(b,a);if(!a.isSuggestQuery()){k.jumpTo(4);break}if(!b.cacheWarming_){k.jumpTo(5);break}e=b.storage_.getExpiry().isExpired();if(!e){k.jumpTo(5);break}return me(k,b.cacheWarming_,7);case 7:c=k.yieldResult;case 5:if(!b.sessionWarming_){k.jumpTo(4);break}return me(k,b.sessionWarming_,4);case 4:return c||(c=M1(L1((new K1).setSource(J1(new Bs,!1).setProvenance(1).setCode(0)),d),v2(b)),
bHc(b,a)),me(k,eHc(b,a,c),10);case 10:xt(k,0);break;case 2:f=pe(k);if(a.isCancelled())return k.return();f instanceof K1?c=f:(h=f instanceof Bs?f:(new Bs).setCode(13),M1(c.setSource(h),v2(b)));a.getListener()(new O1([],(new N1).setQuery(a.getPrefix()).setIsLastCallback(!0).setCacheState(c).setCode(c.getSource().getCode())));qe(k)}})};
var eHc=function(a,b,c){var d,e,f,h;return ke(function(k){if(1==k.nextAddress){if(b.isCancelled())return k.return();d=YGc(a.prefixSearch_,b);e=(new N1).setIsLastCallback(b.isSuggestQuery()).setQuery(b.getPrefix()).setCode(c.getSource().getCode()).setCacheState(c);b.getListener()(new O1(d,e));if(e.getIsLastCallback())return k.return();f=!1;return me(k,$Gc(a.prefixSearch_,b,function(q,t,w){t=(new N1).setIsLastCallback(w).setQuery(b.getPrefix()).setCode(t.getCode()).setCacheState(M1(L1((new K1).setSource(t),
xs(c,2)),v2(a)));b.getListener()(new O1(q,t));t.getIsLastCallback()&&(f=!0)}),2)}f||b.isCancelled()||(h=(new N1).setIsLastCallback(!0).setQuery(b.getPrefix()).setCode(0).setCacheState(M1(L1((new K1).setSource((new Bs).setProvenance(10).setCode(0)),xs(c,2)),v2(a))),b.getListener()(new O1([],h)));qe(k)})};
aHc.prototype.lookup=function(a,b,c){var d=this;dHc(this);bHc(this,TGc);var e=L1(new K1,v2(this));this.lookupCache_.lookup(a,cj(this.clientInfo_,17,1),function(f,h){e.setSource(h);M1(e,v2(d));f.getMetadata().setCacheState(e);b(f)},c)};
var bHc=function(a,b){if(a.storage_.getExpiry().isStale()&&(a.storage_.getExpiry().isExpired()&&a.storage_.getExpiry().getTimestamp()&&cHc(a),!a.cacheWarming_)){var c=v2(a);a.cacheWarming_=new Promise(function(d,e){var f,h,k,q;return ke(function(t){switch(t.nextAddress){case 1:return f=L1(new K1,c),le(t,2,3),me(t,a.prefixSearch_.prefetch(b),5);case 5:h=t.yieldResult,M1(f,v2(a)).setSource(h),d(f);case 3:ne(t);a.cacheWarming_=null;oe(t,0);break;case 2:k=pe(t),q=k instanceof Bs?k:(new Bs).setCode(13),
M1(f,v2(a)).setSource(q),e(f),t.jumpTo(3)}})})}},v2=function(a){return a.storage_.getExpiry().getStatus()},cHc=function(a){XGc(a.prefixSearch_);a.lookupCache_.flush();a.storage_.flush()},dHc=function(a){var b=1===v2(a)?1:2;a.trackers_.count(b).increment()};var fHc=function(a){this.itemResolver_=a},gHc=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,k=e.split(IEc).filter(Boolean),q=k.length-1;if(0<q){var t=k.join(".");k.push(k.join("-"));for(k.push(t);0<q;q--)k[q-1]+=k[q]}k.push(e);k.push(e.replace(Qdb,""));"+"===e[0]&&k.push("+"+k[0]);h.call(f,c,r(k));break;default:c.push(e)}if(!c.length&&
b.memberKeys&&b.memberKeys.length&&10!==d.getTargetType())for(b=l(b.memberKeys),d=b.next();!d.done;d=b.next())(d=u2(a.itemResolver_,d.value))&&gHc(a,d,c);return c};var hHc=new DEc,iHc=function(a,b,c){this.itemResolver_=a;this.lookupCache_=b;this.trackers_=c;this.indexer_=new fHc(a);this.trieRoots_=new Map},yGc=function(a,b,c,d){var e=(a.trieRoots_.get(c)||Q1).cloneNode(b);if(b.isDone())return a.trackers_.count(120).increment(),Promise.resolve(e);var f=a.trackers_.latency(95);f.start();var h=new Promise(function(k){var q=vGc(b).map(ucc);a.lookupCache_.lookup(q,c,function(t){var w=Array.from(t.getResults().keys(),String);w=jHc(a,w);Array.prototype.push.apply(e.items_,
w);KEc(e);t.getMetadata().getIsLastCallback()&&(f.stop(),k(e))},hHc)});return qfb(h,e,d)},SEc=function(a,b){a=jHc(a,b);return new P1(a)},jHc=function(a,b){var c=[];b=l(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=u2(a.itemResolver_,d);e&&(e=gHc(a.indexer_,e),c.push(new JEc(d,e)))}return c};var kHc=function(){this.queryId_=0};kHc.prototype.getQueryId=function(){return this.queryId_};var lHc=function(a){this.delegate=a};g=lHc.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 ke(function(c){return c.return(b.delegate.warmUpSession(a))})};g.search=function(a){var b=this;return ke(function(c){return c.return(b.delegate.search(a))})};
g.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};var mHc=function(){this.delegate=$wc};mHc.prototype.filterResult=function(a){return this.delegate.filterResult(a)};mHc.prototype.reset=function(a){this.delegate.reset(a)};var nHc=function(a,b){a.delegate=null!=b?b:$wc};var oHc=function(a){this.delegate=a};g=oHc.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 pHc=function(a,b){this.delegate_=a;this.limit_=b;this.count_=0};pHc.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);if(!a)return null;this.count_++;return a};pHc.prototype.resultCount=function(){return this.count_};pHc.prototype.isDone=function(){return this.count_>=this.limit_||this.delegate_.isDone()};var qHc=function(a,b,c,d){this.delegate=a;var e=this;this.isLastSlot=d;d=a.getCollector();0<c.limit&&(d=new pHc(d,c.limit));this.collector=d;this.listener=function(h){var k=h.getMetadata();k.getIsLastCallback()&&k.setIsLastCallback(e.isLastSlot);e.delegate.getListener()(h)};d=[];c.filter&&(d.push(c.filter),c.filter.reset(a.getPrefix()));b&&d.push(b);this.resultFilter=d.length?I1a.apply(null,r(d)):null;var f;this.scope=null!=(f=c.scope)?f:a.queryScope()};X(qHc,oHc);g=qHc.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 rHc=function(a,b,c,d){this.delegate=a;this.slots=b;this.filterInterceptor=c;this.originalFilter=d};X(rHc,lHc);
rHc.prototype.search=function(a){var b=this,c,d,e,f,h,k;return ke(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 qHc(a,b.originalFilter,t,w===d.length-1)}),f=l(e),h=f.next();case 2:if(h.done){q.jumpTo(4);break}k=h.value;if(a.isCancelled()||a.isDone()){q.jumpTo(4);break}nHc(b.filterInterceptor,k.getResultFilter());return me(q,b.delegate.search(k),
3);case 3:h=f.next();q.jumpTo(2);break;case 4:return q.return()}})};var sHc=function(a,b,c){this.delegate=a;var d=this;this.query_=b;this.terms_=Tdb([b]);this.id_=Zr(b);this.listener_=function(e){var f=e.getResults().map(function(h){if(d.id_.equals(h.getPrimaryTarget().getId())&&h.getDisplayName()!==c){var k=(new geb).setDisplayName(c),q=h.getPrimaryTarget();h=C1a(h,new Ywc(q,k))}return h});e=new O1(f,e.getMetadata());a.getListener()(e)}};X(sHc,oHc);sHc.prototype.getPrefix=function(){return this.query_};sHc.prototype.getTerms=function(){return this.terms_};
sHc.prototype.getListener=function(){return this.listener_};var tHc=function(a,b,c){this.cache_=a;this.queryFactory_=b;this.querySession_=new kHc;this.clientInfo_=c};g=tHc.prototype;g.warmUpSession=function(a){a=uHc(this.queryFactory_,"",this.querySession_,a,function(){});return this.cache_.warmUpSession(a)};g.suggest=function(a,b){a=uHc(this.queryFactory_,"",this.querySession_,b,a);this.cache_.search(a)};
g.search=function(a,b,c){a=uHc(this.queryFactory_,a,this.querySession_,c,b);Xi(this.clientInfo_,28,!1)&&(b=a.getPrefix(),b.includes("<")&&(c=icc(b),c.isValid()||(c=icc(b+">")),a=c.isValid()&&c.getName()?new sHc(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("Pe");};g.getSessionState=function(){throw Error("Pe");};g.getHide=function(){throw Error("Pe");};var vHc=function(a,b,c){var d=this;this.cache_=a;this.queryFactory_=b;this.clientInfo_=c;this.getSessionCache_=Xi(c,34,!1)?function(e){var f=d.cache_,h=e.slots_;if(h.length){var k=e.getFilter(),q=new mHc;e.setFilter(q);e=new rHc(f,h,q,k)}else e=f;return e}:function(){return d.cache_}};vHc.prototype.warmUpCache=function(){return this.cache_.warmUpCache()};vHc.prototype.flushCache=function(a){this.cache_.flushCache(a)};vHc.prototype.lookup=function(a,b,c){this.cache_.lookup(a,b,c)};
vHc.prototype.beginSession=function(a){a=this.getSessionCache_(a);return new tHc(a,this.queryFactory_,this.clientInfo_)};var wHc=function(a,b,c,d,e,f,h,k){this.delegate_=a;this.prefix_=b;this.terms_=c;this.collector_=d;this.boostKey_=e;this.filter_=h;this.listener_=rfb(this,f);this.isEmailAddress_=null;this.selectedCustomProviderNames_=k?new Set(k):null};g=wHc.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_=kcc(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 xHc=function(a,b,c){this.format_=a;this.querySession_=b;this.queryScope_=c;this.id_=++this.querySession_.queryId_};xHc.prototype.getFormat=function(){return this.format_};xHc.prototype.isCancelled=function(){return this.querySession_.getQueryId()!==this.id_};xHc.prototype.queryScope=function(){return this.queryScope_};var w2=function(){this.foundKeys_=new Set};X(w2,Zwc);w2.prototype.shouldRemove=function(a){return this.foundKeys_.has(String(a.getId()))};w2.prototype.has=function(a){return this.foundKeys_.has(a)};w2.prototype.add=function(a){this.foundKeys_.add(a)};w2.prototype.reset=function(){this.foundKeys_.clear()};var yHc=function(a){this.delegate_=a;this.filter_=new w2};yHc.prototype.loadOrSkip=function(a){if(this.filter_.has(a))return null;a=this.delegate_.loadOrSkip(a);if(!a)return null;a=this.filter_.filterResult(a);if(!a)return null;for(var b=l(a.getTargetList()),c=b.next();!c.done;c=b.next())this.filter_.add(String(c.value.getId()));return a};yHc.prototype.resultCount=function(){return this.delegate_.resultCount()};yHc.prototype.isDone=function(){return this.delegate_.isDone()};var zHc=function(a,b,c){this.delegate_=a;this.filter_=b;this.filter_.reset(c)};zHc.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);return a?(a=this.filter_.filterResult(a))&&a.getTargetList().length?a:null:null};zHc.prototype.resultCount=function(){return this.delegate_.resultCount()};zHc.prototype.isDone=function(){return this.delegate_.isDone()};var AHc=function(a,b){this.storage_=a;this.format_=b};AHc.prototype.loadOrSkip=function(a){return this.storage_.load(a,this.format_)||null};AHc.prototype.resultCount=function(){return 0};AHc.prototype.isDone=function(){return!1};var BHc=[198,230,306,307,338,339],CHc=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)"+no(b),"g")})},sfb=function(a,b){var c=[];if(!b||!a.matchers_.length)return c;var d=Vr(Rdb(b)).replace(Sdb,"").toUpperCase().toLowerCase(),e=d.indexOf("@");a=l(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(k,q){return k[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++):BHc.includes(f)&&e.push(a);b=l(c);for(a=b.next();!a.done;a=b.next()){a=a.value;f=l(d);for(h=f.next();!h.done;h=f.next())h=h.value,h<a[0]&&a[0]++,h<a[1]&&a[1]++;f=l(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 rs=function(a,b){this.start_=a;this.end_=b};rs.prototype.getStart=function(){return this.start_};rs.prototype.getEnd=function(){return this.end_};var tfb=function(a,b,c){this.displayNameMatches_=a;this.displayValueMatches_=b;this.givenNameMatches_=c};tfb.prototype.getDisplayNameMatches=function(){return this.displayNameMatches_};tfb.prototype.getDisplayValueMatches=function(){return this.displayValueMatches_};tfb.prototype.getGivenNameMatches=function(){return this.givenNameMatches_};var DHc=function(a,b){this.delegate_=a;this.matcher_=b;this.memberList_=a.getMemberList().map(function(c){return new DHc(c,b)});this.matchInfo_=null};X(DHc,IZ);DHc.prototype.getMemberList=function(){return this.memberList_};DHc.prototype.getMatchInfo=function(){if(!this.matchInfo_){var a,b=(null==(a=this.getDelegate().getPrimaryTarget().getName())?void 0:a.getGivenName())||"";this.matchInfo_=ufb(this.matcher_,this.getDelegate().getDisplayName(),this.getDelegate().getDisplayValue(),b)}return this.matchInfo_};var EHc=function(a,b){this.delegate_=a;this.matcher_=new CHc(b)};EHc.prototype.loadOrSkip=function(a){return(a=this.delegate_.loadOrSkip(a))?new DHc(a,this.matcher_):null};EHc.prototype.resultCount=function(){return this.delegate_.resultCount()};EHc.prototype.isDone=function(){return this.delegate_.isDone()};var FHc=/\s+/g,GHc=function(a,b){this.clientInfo_=a;this.storage_=b},uHc=function(a,b,c,d,e){var f=Tdb([b]);b=(b||"").replace(FHc," ").trim();var h=!f.length;var k=a.clientInfo_;k=h?d.getSuggestFormat()||k.getSuggestFormat():d.getSearchFormat()||k.getSearchFormat();var q=a.clientInfo_;h=h?d.getSuggestMaxResults()||q.getSuggestMaxResults():d.getSearchMaxResults()||q.getSearchMaxResults();var t=d.boostIds_;q=d.primingTimeoutMillis_;if(t.length){t=t.map(String);var w=yeb(t)+":"+t.length;q={ids:t,cacheKey:w,
primingTimeoutMillis:q}}else q=PGc;t=d.getFilter();a=new AHc(a.storage_,k);t&&(a=new zHc(a,t,b));a=new yHc(a);a=new pHc(a,h);a=f.length?new EHc(a,f):a;h=d.getQueryScope();c=new xHc(k,c,h);return new wHc(c,b,f,a,q,e,t,d.selectedCustomProviderNames_)};var HHc=function(a){this.fetcher=a};HHc.prototype.getStageType=function(){return 2};HHc.prototype.lookup=function(a){var b=this,c,d,e,f,h,k,q,t,w;return ke(function(z){switch(z.nextAddress){case 1:c=wfb(UEc(a)),d=l(c),e=d.next();case 2:if(e.done){z.jumpTo(4);break}f=e.value;h=l(f);k=h.next().value;q=h.next().value;t=k;w=q;if(!t){z.jumpTo(3);break}return me(z,b.fetcher.fetch(w,t,a.getFormat(),function(F,J){a.notify(F,[],J)},a.getOptions()),3);case 3:e=d.next();z.jumpTo(2);break;case 4:return z.return()}})};var IHc=function(a,b){this.delegate=a;this.maxLookupChunkSize=rFc(b)};IHc.prototype.fetch=function(a,b,c,d,e){var f=this,h,k,q;return ke(function(t){switch(t.nextAddress){case 1:var w=f.maxLookupChunkSize;if(a.length)if(a.length<=w)w=[a];else{for(var z=[],F=0;F<a.length;F+=w){var J=a.slice(F,F+w);J.length&&z.push(J)}w=z}else w=[];h=l(w);k=h.next();case 2:if(k.done){t.jumpTo(4);break}q=k.value;return me(t,f.delegate.fetch(q,b,c,d,e),3);case 3:k=h.next();t.jumpTo(2);break;case 4:return t.return()}})};var JHc=function(a){this.qos=a};JHc.prototype.getIndex=function(){return String(this.qos)};var KHc=new JHc(1),LHc=new JHc(2);var MHc=function(a,b,c){this.trackers=a;this.loader=b;this.indexer=c};
MHc.prototype.fetch=function(a,b,c,d,e){var f=this,h,k,q,t,w,z,F,J,H,O,P;return ke(function(U){switch(U.nextAddress){case 1:return h=3===b?4:3,k=J1((new Bs).setProvenance(h),!0).setCode(0),le(U,2),me(U,f.loader.loadLookupItems(b,a.map(function(Z){return Z.getOriginalValue()}),LHc),4);case 4:q=U.yieldResult;q.metadata.getCode()&&k.setCode(q.metadata.getCode());t=3===e.getQueryScope();try{f.indexer.store(b,q.data,q.metadata,t)}catch(Z){f.trackers.error(21,10).report(),k.setCode(13)}xt(U,3);break;case 2:w=
pe(U),z=Number(w),k.setCode(isFinite(z)&&z?z:13);case 3:F=new Map;J=l(a);for(H=J.next();!H.done;H=J.next())O=H.value,(P=f.indexer.load(O,c,e.useOriginalDisplayValue_))&&F.set(O,P);d(F,k);return U.return()}})};var NHc=function(a){this.indexer=a};NHc.prototype.getStageType=function(){return 1};NHc.prototype.lookup=function(a){var b=this,c,d,e,f,h,k;return ke(function(q){c=new Map;d=[];e=l(UEc(a));for(f=e.next();!f.done;f=e.next())if(h=f.value,k=b.indexer.load(h,a.getFormat(),a.getOptions().useOriginalDisplayValue_))c.set(h,k);else{var t=b.indexer;(vcc(h)?t.notFoundIds.get(String(h)):1)&&d.push(h)}a.notify(c,d,J1((new Bs).setProvenance(6),!1).setCode(0));return q.return()})};var OHc=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"),PHc=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.placeholderFactory_=nfb(e);this.indexes_=R1(qi(e,8,250),1E3*zk(e,9,3600));this.notFound_=R1(qi(e,10,500),1E3*zk(e,11,600))};g=PHc.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 ke(function(f){switch(f.nextAddress){case 1:c=J1(new Bs,!0).setProvenance(2).setCode(0);if(a.isSuggestQuery())return b.loader_.warmUpServer(KHc).catch(function(){}),f.return(c);if(b.canSkipFetch_(a))return f.return(J1(c,!1));le(f,2);return me(f,b.loader_.loadAutocompleteItems(a,LHc),4);case 4:d=f.yieldResult;xt(f,3);break;case 2:return e=pe(f),f.return(c.setCode(isFinite(e)?e:13));case 3:try{b.index(a,d.data,d.metadata)}catch(h){return f.return(c.setCode(13))}return f.return(c)}})};
g.search=function(a){return a.isSuggestQuery()?[]:this.indexes_.has(a.getPrefix())?this.indexes_.get(a.getPrefix()).search([]).getMatches(a.getCollector()):(a=this.placeholderFactory_.createFromQuery(a))?[a]:[]};g.index=function(a,b,c){if(!Xi(c,5))if(Mh(c,5,!0),b.length){c=QEc(this.ranker_,b,1);var d=3===a.queryScope();this.storage_.storeItems(1,b,d);b=SEc(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(OHc))break;if(this.notFound_.has(c))return!0}return!1};g.getName=function(){};var QHc=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=QHc.prototype;g.getCacheType=function(){return 1};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return ke(function(h){switch(h.nextAddress){case 1:return c=J1(new Bs,!0).setProvenance(1).setCode(0),d=b.storage_.getExpiry().isExpired()?LHc:KHc,le(h,2),me(h,b.loader_.loadRankedItems(d),4);case 4:e=h.yieldResult;xt(h,3);break;case 2:return f=pe(h),h.return(c.setCode(isFinite(f)?f:13));case 3:try{b.index(a,e.data,e.metadata)}catch(k){c.setCode(13)}return h.return(c)}})};
g.search=function(a){return a.isSuggestQuery()||a.getTerms().length?(this.indexes_.get(a.getFormat())||Q1).search(a.getTerms()).getMatches(a.getCollector()):[]};g.index=function(a,b,c){if(!Xi(c,5)){Mh(c,5,!0);a=1!==this.coalescedSortOrder_?QEc(this.ranker_,b,this.coalescedSortOrder_):null;var d=QEc(this.ranker_,b,1);this.storage_.flush();this.storage_.storeItems(1,b);this.storage_.markAsFresh(c);b=SEc(this.trieFactory_,d);c=a?SEc(this.trieFactory_,a):b;this.indexes_.set(1,b);this.indexes_.set(2,c)}};
g.getName=function(){};var RHc=new aFc(27,32,33),SHc=new aFc(24,23,20);var THc=function(){};THc.prototype.configure=function(a){var b=a.trackers,c=a.storage,d=a.indexer,e=a.loader,f=a.trieFactory,h=a.prefixCaches,k=a.lookupStages,q=a.loaderFactory.ranker_,t=a.clientConfig.getClient();if(0<t.getCacheSize()){var w=cj(t,19,1);w=new QHc(e,q,f,c,w);w=new T1(w,b,SHc);h.push(w);k.push(new NHc(d))}0<t.getSearchMaxResults()&&(c=new PHc(e,q,f,c,t),b=new T1(c,b,RHc),h.push(b));h=new MHc(a.trackers,a.loader,a.indexer);h=new IHc(h,a.clientConfig);k.push(new HHc(h))};var UHc=function(a){this.delegate=a};g=UHc.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 x2=function(a){this.delegate=a};x2.prototype.warmUpCache=function(){return this.delegate.warmUpCache()};x2.prototype.flushCache=function(a){this.delegate.flushCache(a)};x2.prototype.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};x2.prototype.beginSession=function(a){return this.delegate.beginSession(a)};var VHc=function(a,b,c){this.idType_=a;this.id_=b;this.options_=c};VHc.prototype.getId=function(){return this.id_};VHc.prototype.getIndex=function(){return this.getId()+":"+this.idType_+":"+this.options_.getIndex()};var WHc=function(a,b,c){this.idType_=a;this.ids_=b;this.options_=c};g=WHc.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 VHc(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 WHc(a,b,c)};var XHc=function(a,b){this.ids_=new Set(b.getIds());this.parameters_=b.clone();this.loader_=a;this.resolver_=new LBc;this.isSent_=!1};XHc.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)}};XHc.prototype.promise=function(){return this.resolver_.promise};
XHc.prototype.merge=function(a,b){var c;(c=this.isSent_)||(c=this.parameters_,c=!(a.getIdType()===c.getIdType()&&a.getOptions()===c.getOptions()));if(c||a.getIds().length+this.ids_.size>b)return!1;a=l(a.getIds());for(b=a.next();!b.done;b=a.next())this.ids_.add(b.value);return!0};var YHc=function(a,b,c){this.delegate_=a;this.batchedRequest_=null;this.tracker_=b;this.maxRequestSize_=rFc(c);this.lastRequestCreationTime_=0};
YHc.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 XHc(this.delegate_,a);a=Date.now();var d=a-this.lastRequestCreationTime_;this.lastRequestCreationTime_=a;iq(function(){c===b.batchedRequest_&&(c.send(),b.batchedRequest_=null)},30<d?0:30)}return this.batchedRequest_.promise()};var ZHc=function(a,b){this.delegate_=a;this.inflightRequests_=NEc();this.tracker_=b};
ZHc.prototype.load=function(a){for(var b=this,c=new Set,d=[],e=l(a.getKeys()),f=e.next();!f.done;f=e.next()){f=f.value;var h=f.getIndex();this.inflightRequests_.has(h)?c.add(this.inflightRequests_.get(h)):d.push(f.getId())}d.length===a.getKeys().length?this.tracker_.count(93).increment():d.length?this.tracker_.count(92).increment():this.tracker_.count(91).increment();if(d.length){var k=a.clone().setIds(d);var q=new XHc(this.delegate_,k);q.send();c.add(q);a=l(k.getKeys());for(d=a.next();!d.done;d=
a.next())this.inflightRequests_.set(d.value.getIndex(),q);q.promise().catch(function(){}).finally(function(){for(var t=l(k.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 xfb(t,w.metadata)}):xfb(t)})};var $Hc=function(a){this.peopleLoader_=a};$Hc.prototype.load=function(a){return this.peopleLoader_.loadLookupItems(a.getIdType(),a.getIds(),a.getOptions())};var aIc=function(a,b,c){this.peopleLoader_=a;this.gatedLoaders_=new Map;this.tracker_=b;this.clientConfig_=c};aIc.prototype.load=function(a){if(!this.gatedLoaders_.has(a.getIdType())){var b=new $Hc(this.peopleLoader_);b=new YHc(b,this.tracker_,this.clientConfig_);b=new ZHc(b,this.tracker_);this.gatedLoaders_.set(a.getIdType(),b)}return this.gatedLoaders_.get(a.getIdType()).load(a)};var bIc=function(a,b,c){this.delegate_=a;this.trackers_=b;this.searchRequests_=new Map;this.lookupLoader_=new aIc(this.delegate_,this.trackers_,c)},cIc=function(a,b,c,d){var e,f;return ke(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 me(h,f,4)}if(2!=h.nextAddress)return h.return(h.yieldResult);ne(h);a.searchRequests_.delete(e);
return oe(h,0)})};bIc.prototype.loadRankedItems=function(a){var b=this;return cIc(this,81,"",function(){return b.delegate_.loadRankedItems(a)})};bIc.prototype.warmUpServer=function(a){var b=this;return cIc(this,82,"",function(){return b.delegate_.warmUpServer(a)})};bIc.prototype.loadAutocompleteItems=function(a,b){var c=this;return cIc(this,82,a.getPrefix(),function(){return c.delegate_.loadAutocompleteItems(a,b)})};
bIc.prototype.loadLookupItems=function(a,b,c){return this.lookupLoader_.load(new WHc(a,b,c))};var dIc=function(){return Date.now()},eIc=function(a,b,c){this.delegate_=a;this.nowFn_=c;this.cacheFlushRateMillis_=1E3*zk(b.getClient(),14,300);this.serverWarmupRateMillis_=1E3*zk(b.getClient(),13,60);this.lastServerWarmup_=this.lastCacheFlush_=0};eIc.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)};
eIc.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)};eIc.prototype.loadAutocompleteItems=function(a,b){return this.delegate_.loadAutocompleteItems(a,b)};eIc.prototype.loadLookupItems=function(a,b,c){return this.delegate_.loadLookupItems(a,b,c)};var fIc=function(a,b,c){this.delegate_=a;this.listener_=b;this.options_=c;this.delegate_.warmUpSession(c)};g=fIc.prototype;g.suggest=function(a){a=void 0===a?this.listener_:a;this.delegate_.suggest(a,this.options_)};g.search=function(a,b){b=void 0===b?this.listener_:b;this.delegate_.search(a,b,this.options_);return this};g.cancel=function(){this.delegate_.cancel();return this};g.getReporter=function(a){a=void 0===a?jDc:a;return this.delegate_.getReporter(a)};g.getHide=function(){return this.delegate_.getHide()};var gIc=function(a,b){this.delegate_=a;this.members_=b;this.totalMemberCount_=zr(a.getPrimaryTarget().getId())?b.length:a.getTotalMemberCount()};X(gIc,IZ);gIc.prototype.getMemberList=function(){return this.members_};gIc.prototype.getTotalMemberCount=function(){return this.totalMemberCount_};var hIc=function(a,b){this.filter_=a;this.filterEmptyExplodingGroups_=b};hIc.prototype.filterResult=function(a){var b=this;if(!zr(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 xq(new gIc(a,c))};hIc.prototype.reset=function(a){this.filter_.reset(a)};
var yfb=function(a,b){this.filter_=I1a(a,new hIc(a,b))};yfb.prototype.filterResult=function(a){return this.filter_.filterResult(a)};yfb.prototype.reset=function(a){this.filter_.reset(a)};var iIc=function(a){this.delegate_=a};iIc.prototype.warmUpCache=function(){return this.delegate_.warmUpCache().then(function(){return Promise.resolve()},function(a){var b=2;a instanceof K1&&(a=a.getSource())&&(b=a.getCode());return Promise.reject(b)})};iIc.prototype.flushCache=function(a){this.delegate_.flushCache(a)};iIc.prototype.lookup=function(a,b,c){c=void 0===c?new DEc:c;c.setFilter(zfb(c.getFilter(),!0));this.delegate_.lookup(a,b,c);return this};
iIc.prototype.beginSession=function(a,b){b=void 0===b?new Nr:b;b=b.clone();b.setFilter(zfb(b.getFilter(),b.filterEmptyExplodingGroups_));var c=this.delegate_.beginSession(b);return new fIc(c,a,b)};var jIc=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]]),kIc=new Map([[2,13],[3,6]]),lIc=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 Afb=new Map([[1,1],[2,3],[3,5]]),mIc=new Map([[1,2],[2,4],[3,5],[4,8],[6,15],[7,19],[10,20]]),nIc=new Map([[1,2],[2,9],[3,6],[4,6],[6,15],[7,19],[10,20]]),oIc=function(a,b){this.logContext_=Dfb(a,b)};g=oIc.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b,c){var d=b.source(),e=new q2;switch(d.getEventType()){case 1:d=e.setCount;b=cj(b.source(),4,0);var f=new $Fc;f.setType(b);f.setValue(c);d.call(e,f);e.setEventType(1);break;case 4:case 5:c=e.setRpcRequest;b=cj(b.source(),3,0);d=new p2;d.setLabel(b);c.call(e,d);e.setEventType(4);break;case 6:case 7:c=e.setApiCall;b=b.source();d=cj(b,2,0);f=new XFc;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 q2;switch(d.getEventType()){case 4:case 5:d=e.setRpcResponse;var f=b.source(),h=cj(f,3,0);var k=cj(f,13,0)||0;k=kIc.get(k)||jIc.get(c)||0;var q=jO(b,"blocked"),t=jO(b,"network"),w=jO(b,"processed");b=new aGc;b.setLabel(h);b.setStatus(k);b.setBlockedUsec(q);b.setLatencyUsec(t);zj(b,9,w);b.setStatusCode(c);qi(f,12,0)&&(c=qi(f,12,0),zj(b,6,c));d.call(e,b);e.setEventType(5);break;case 6:case 7:d=e.setApiResult;h=b.source();k=cj(h,2,0);f=new YFc;
f.setLabel(k);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=jO(b,"total"),f.setLatencyUsec(b));c=lIc.get(c)||0;f.setStatus(c);c=h.getResultIndex();f.setResultIndex(c);if(b=h.getCacheState())c=Bfb(ho(b,2)),tj(f,5,c),c=Bfb(ho(b,3)),tj(f,6,c),c=f.setDataSource,h=b.getSource(),b=!Xi(h,1),h=h.getProvenance(),
b=(b?nIc.get(h):mIc.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 q2;d.setClientInterface(a);a=d.setLatency;var e=cj(b.source(),5,0);if(37===e||38===e||40===e){e=cj(b.source(),5,0);var f=jO(b,"LATENCY_A");b=jO(b,"LATENCY_B");b=null!=f&&null!=b?f-b:NaN;f=new o2;f.setType(e);isFinite(b)&&f.setLatencyUsec(b);e=f}else b=jO(b,"total"),f=new o2,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 q2;d.setClientInterface(a);a=d.setError;var e=b.source();b=e.getErrorType();e=cj(e,7,0);var f=new n2;f.setType(b);tj(f,4,e);a.call(d,f);d.setEventType(c.getEventType());return d};var pIc=function(a,b){this.delegate_=a;this.trackers_=b};g=pIc.prototype;g.reportDisplay=function(a){this.delegate_.reportDisplay(a)};g.reportSelect=function(a,b){b=void 0===b?new kDc: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();qIc(this)};
g.reportSave=function(a){this.delegate_.reportSave(a);qIc(this)};g.reportSecondaryAction=function(a){this.delegate_.reportSecondaryAction(a);qIc(this)};g.reportSend=function(a){this.delegate_.reportSend(a);qIc(this)};var qIc=function(a){a=a.trackers_;var b=a.api,c=new hs;js(c.setEventType(6),3);b.call(a,c).call()};var rIc=function(a,b){this.delegate_=this.delegate=a;this.trackers_=b};X(rIc,UHc);
rIc.prototype.suggest=function(a,b){var c=this;try{var d=!1,e=!1,f=this.trackers_.api(Neb(b.getQueryScope()));f.call();this.delegate_.suggest(function(h){var k=h.getMetadata(),q=k.getCacheState();f.source.setCacheState(q);f.source.setItemCount(h.getResults().length);f.result(q.getSource().getCode());k.getIsFirstCallback()&&(d&&0===k.getCode()&&c.trackers_.error(22,19).report(),d=!0);k.getIsLastCallback()&&(e&&0===k.getCode()&&c.trackers_.error(22,20).report(),e=!0);k=c.trackers_.latency(90);k.start();
try{a(h)}catch(t){throw c.trackers_.error(22,11).report(),t;}finally{k.stop()}},b)}catch(h){throw this.trackers_.error(22,1).report(),h;}};
rIc.prototype.search=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(Meb(a,c.getQueryScope()));h.call();this.delegate_.search(a,function(k){var q=k.getMetadata(),t=q.getCacheState();h.source.setCacheState(t);h.source.setItemCount(k.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(k)}catch(w){throw d.trackers_.error(23,11).report(),w;}finally{q.stop()}},c)}catch(k){throw this.trackers_.error(23,1).report(),k;}};rIc.prototype.getReporter=function(a){a=this.delegate_.getReporter(a);return new pIc(a,this.trackers_)};var y2=function(a,b){this.delegate_=this.delegate=a;a=this.trackers_=b;b=a.api;var c=new hs;js(c.setEventType(6),1);b.call(a,c).call()};X(y2,x2);
y2.prototype.warmUpCache=function(){var a=this,b=this.trackers_.api(Leb());b.call();return this.delegate_.warmUpCache().then(function(c){b.source.setCacheState(c);b.result(c.getSource().getCode());return c},function(c){c instanceof K1?(b.source.setCacheState(c),b.result(c.getSource().getCode())):(a.trackers_.error(17,1).report(),c=(new K1).setSource((new Bs).setCode(2)));return Promise.reject(c)})};
y2.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 hs;js(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;}};
y2.prototype.lookup=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(Keb(a,c.getQueryScope()));h.call();this.delegate_.lookup(a,function(k){var q=k.getMetadata(),t=q.getCacheState();h.source.setCacheState(t);h.source.setItemCount(k.getResults().size);for(var w=0,z=0,F=0,J=l(k.getResults().keys()),H=J.next();!H.done;H=J.next())H=H.value,occ.includes(H.getType())?w++:pcc.includes(H.getType())?z++:qcc.includes(H.getType())&&F++;var O=0;J=H=0;for(var P=l(q.notFoundIdList_),U=P.next();!U.done;U=
P.next())U=U.value,occ.includes(U.getType())?O++:pcc.includes(U.getType())?H++:qcc.includes(U.getType())&&J++;P=h.source.getLookupInfo();w=rj(P,2,w);z=rj(w,1,z);F=rj(z,3,F);F=rj(F,5,O);F=rj(F,4,H);rj(F,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(k)}catch(Z){throw d.trackers_.error(8,11).report(),
Z;}finally{q.stop()}},c)}catch(k){throw this.trackers_.error(8,1).report(),k;}};y2.prototype.beginSession=function(a){var b=this.trackers_,c=b.api,d=new hs;js(d.setEventType(6),2);c.call(b,d).call();a=this.delegate_.beginSession(a);return new rIc(a,this.trackers_)};var sIc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};sIc.prototype.report=function(a){var b=tO(this.clearcut_);a=this.logEventFactory_.eventsFactory_.create(b,a);a=l(a);for(b=a.next();!b.done;b=a.next())uO(this.clearcut_,b.value)};var tIc=function(a){this.clearcut_=a};tIc.prototype.report=function(a){this.clearcut_.report(a)};var uIc=function(a){this.writer_=a};var vIc=function(){};
vIc.prototype.create=function(a,b,c){var d=new Tbc;d.setQueryId(kj(b,3,0));d.setSelectionId(kj(b,4,0));var e=kj(b,5,0);zj(d,3,e);d.setInstanceId(b.getInstanceId());d.setAffinityVersion(b.getAffinityVersionOrUndefined());e=new Ubc;li(e,Tbc,3,d);7!==c&&b.hasQuery()&&(d=b.getQuery(),2===c&&e.setQuery(d),e.setQueryLength(d.length));var f=new Vbc;d=uIa(zk(b,9,0)-zk(b,8,0));rj(f,2,d);d=new qO;li(d,Ubc,1,e);li(d,Vbc,6,f);e=new Sbc;if(f=kj(b,6,0)){zj(e,3,1E3*f);var h=1E3*(Date.now()-f);zj(e,2,h)}Mh(e,1,!!f);
li(d,Sbc,3,e);d.setAffinityVersion(b.getAffinityVersionOrUndefined());b=new Wbc;b.setEventType(c);b.setMetadata(d);b.setClientInterface(a.clone());return b};var wIc=function(){};wIc.prototype.extractPersonEventSource=function(a){return ho(Efb(a),4)};wIc.prototype.extractFieldEventSource=function(a){return ho(Efb(a),3)};var xIc=function(){};xIc.prototype.extractPersonEventSource=function(a){var b=a.getSources()||new ws;return(a.getQuery()||"").length?ho(b,2):ho(b,4)};xIc.prototype.extractFieldEventSource=function(a){var b=a.getSources()||new ws;return(a.getQuery()||"").length?ho(b,1):ho(b,3)};var yIc=function(){};yIc.prototype.extractPersonEventSource=function(a){return ho(Ffb(a),4)};yIc.prototype.extractFieldEventSource=function(a){return ho(Ffb(a),3)};var Hfb=new Set([8]);var zIc=function(a,b,c){this.defaultTokenGroups_=a;this.additionTokenGroups_=b;this.replacementTokenGroups_=c};var AIc=new Map([[1,11],[2,12],[0,0]]),BIc=function(){};BIc.prototype.write=function(a,b,c){var d=new kO;rj(d,1,c);c=new lO;c.setPosition(d);c.setExistingSelectionsCount(b.getExistingSelectionsCount());li(a,lO,8,c);b=AIc.get(b.getContext());Aj(a,3,[b])};var CIc=new Map([[1,5],[2,4],[3,6],[7,13]]),DIc=function(){};DIc.prototype.write=function(a,b,c,d){var e=new kO;rj(e,1,c);a.setPosition(e);c=CIc.get(b.getProvenance())||0;d||1===cj(b,4,0)?c=3:2===cj(b,4,0)&&(c=10);Aj(a,3,[c])};var EIc=new Set([9,1,2]),FIc=function(){};FIc.prototype.write=function(a,b,c,d){if(8===c||10===c||9===c||2===c&&EIc.has(d))c=new mO,1!==ho(b,7)&&7!==ho(b,7)||c.setEmail(fu(b,3)),2!==ho(b,7)&&5!==ho(b,7)||c.setPhone(fu(b,3)),b.hasProfileId()&&c.setObfuscatedGaiaId(b.getProfileId()),b.hasGroupId()&&c.setGroupId(b.getGroupId()),li(a,mO,4,c),c=new nO,c.setName(b.getNameOrUndefined()),b=a.getMetadata()||new oO,li(b,nO,2,c),a.setMetadata(b)};var GIc=function(a){var b=new FIc;this.metadataStateWriter_=a;this.contactInfoWriter_=b},HIc=function(a){var b;return(null==(b=$i(a,qs,1))?0:b.getIsPlaceholder())?!0:!1};var zs=function(a){this.internalArray_=m(a)};X(zs,n);g=zs.prototype;g.getEventType=function(){return cj(this,1,0)};g.getEventType_legacyNullable=function(){return ho(this,1)};g.setEventType=function(a){return tj(this,1,a)};g.getSessionState=function(){return $i(this,HZ,2)};g.setSessionState=function(a){li(this,HZ,2,a)};g.hasSessionState=function(){return ji(this,HZ,2)};g.setEventSources=function(a){li(this,ws,4,a)};zs.repeatedFields_=[3];var IIc=function(){this.defaultEntityFactory_=new uIc(new GIc(new DIc));this.contextualEntityFactory_=new uIc(new GIc(new BIc));this.extensionFactory_=new vIc;this.defaultEventSourceExtractor_=new xIc;this.additionEventSourceExtractor_=new wIc;this.replacementEventSourceExtractor_=new yIc};
IIc.prototype.create=function(a,b){var c=b.getSessionState()||new HZ,d=b.getEventType_legacyNullable();b=gi(b,os,3,hi(Li));var e=Jfb(b,Lfb);var f=e.get(0);b=e.get(1);e=e.get(2);f=f?[].concat(r(Jfb(f,Kfb).values())):[];b=b?[].concat(r(Jfb(b,Kfb).values())):[];e=e?[].concat(r(Jfb(e,Kfb).values())):[];e=new zIc(f,b,e);b=[];f=l(e.defaultTokenGroups_);for(var h=f.next();!h.done;h=f.next())b.push.apply(b,r(JIc(this,a,d,h.value,c,this.defaultEventSourceExtractor_,this.defaultEntityFactory_)));f=l(e.additionTokenGroups_);
for(h=f.next();!h.done;h=f.next())b.push.apply(b,r(JIc(this,a,d,h.value,c,this.additionEventSourceExtractor_,this.contextualEntityFactory_)));e=l(e.replacementTokenGroups_);for(f=e.next();!f.done;f=e.next())b.push.apply(b,r(JIc(this,a,d,f.value,c,this.replacementEventSourceExtractor_,this.contextualEntityFactory_)));return b};
var JIc=function(a,b,c,d,e,f,h){var k=[];e=d[0].getSessionState()||e;var q=Gfb(d).map(function(t){var w=new pO,z=h.writer_,F=w.getMetadata()||new oO;w.setMetadata(F);var J=Ar(t)||new ps,H=$i(t,qs,1)||new qs;z.metadataStateWriter_.write(F,J,qi(J,2,0)||0,HIc(t));z.contactInfoWriter_.write(w,H,c,J.getProvenance()||0);w.setLoggingId(fu(H,1));t=$i(w,mO,4)||new mO;li(w,mO,4,t);t.setType(xs(H,8));return w});q.length&&k.push(KIc(a,b,c,f.extractPersonEventSource(e),q,e));d=Ifb(d).map(function(t){var w=new pO,
z=h.writer_,F=w.getMetadata()||new oO;w.setMetadata(F);var J=Ar(t)||new ps,H=$i(t,qs,1)||new qs;z.metadataStateWriter_.write(F,J,(Xi(H,9,!0)?qi(J,2,0):qi(J,1,0))||0,HIc(t));z.contactInfoWriter_.write(w,H,c,J.getProvenance()||0);t=$i(w,mO,4)||new mO;li(w,mO,4,t);$i(w,mO,4).setType(xs(H,7));w.setLoggingId(fu(H,2));return w});d.length&&k.push(KIc(a,b,c,f.extractFieldEventSource(e),d,e));return k},KIc=function(a,b,c,d,e,f){a=a.extensionFactory_.create(b,f,c);a.getClientInterface().setEventSource(d);gl(a,
2,e);return a};var LIc=function(a,b){this.logContext_=Cfb(ts(new us,"PeopleStore.BigBug").setLogSource(cj(a.getClearcut(),3,41)).setApplication(a.getClearcut().getSocialApplication()).setEnvironment(a.runtimeConfig_.getPeopleApiEnv()).setVersion("1004").setBaselineCl(601920380).setEnableClearcut(a.getClearcut().getEnableClearcut()),[].concat(r(a.runtimeConfig_.getExperiments().getExperimentIdsList()),r(vs?vs.getExperimentIds():[]))).setPeoplekitEntryPoint(b.getPeoplekitEntryPoint()).setClientAgent(2);this.eventsFactory_=
new IIc};LIc.prototype.getLogContext=function(){return this.logContext_};var MIc=function(a){this.clientConfig_=a;this.reportingCache_=new Map};MIc.prototype.create=function(a){var b=a.serialize();this.reportingCache_.has(a.serialize())||(a=new LIc(this.clientConfig_,a),a=new tIc(new sIc(Bcc(a),a)),this.reportingCache_.set(b,a));return this.reportingCache_.get(b)};var NIc=function(a,b){this.reporting_=a;this.sharedSessionState_=b};g=NIc.prototype;g.reportDisplay=function(a){z2(this,As(a,1))};g.reportSelect=function(a,b){b=void 0===b?new kDc:b;if(0!==b.getOriginator())for(var c=l(a),d=c.next();!d.done;d=c.next()){d=d.value;if(!ji(d,ps,2)){var e=d,f=new ps;li(e,ps,2,f)}d=Ar(d);tj(d,4,b.getOriginator())}b=this.sharedSessionState_;c=kj(this.sharedSessionState_,4,0)+1;zj(b,4,c);z2(this,As(a,2,this.sharedSessionState_))};
g.reportExternalSelect=function(a){for(var b=l(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!ji(c,ps,2)){var d=c,e=new ps;li(d,ps,2,e)}c=Ar(c);tj(c,4,2)}b=this.sharedSessionState_;c=kj(this.sharedSessionState_,4,0)+1;zj(b,4,c);z2(this,As(a,15,this.sharedSessionState_))};g.reportDeselect=function(a){z2(this,As(a,17,this.sharedSessionState_))};g.reportProceed=function(a){z2(this,As(a,10,this.sharedSessionState_))};
g.reportDismiss=function(){var a=this.sharedSessionState_,b=new zs;a=a.clone();b.setSessionState(a);b.setEventType(7);b.setEventSources(a.getSources());z2(this,[b])};g.reportSave=function(a){z2(this,As(a,9,this.sharedSessionState_))};g.reportSecondaryAction=function(a){z2(this,As(a,19,this.sharedSessionState_))};g.reportSend=function(a){z2(this,As(a,8,this.sharedSessionState_,!0))};var z2=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next())a.reporting_.report(c.value)};var A2=function(a,b,c){this.delegate_=this.delegate=a;this.sharedSessionState_=c;zj(this.sharedSessionState_,5,Math.floor(9007199254740991*Math.random()));this.reportingFactory_=b};X(A2,UHc);A2.prototype.suggest=function(a,b){var c=this;Vwc(this.sharedSessionState_,kj(this.sharedSessionState_,3,0)+1);var d=this.sharedSessionState_.clone();d.setQuery("");Wwc(d);var e=0;this.delegate_.suggest(function(f){e=OIc(c,f.getResults(),Nfb(f),d,e);a(f)},b)};
A2.prototype.search=function(a,b,c){var d=this;Vwc(this.sharedSessionState_,kj(this.sharedSessionState_,3,0)+1);var e=this.sharedSessionState_.clone();e.setQuery(a);Wwc(e);var f=0;this.delegate_.search(a,function(h){f=OIc(d,h.getResults(),Nfb(h),e,f);b(h)},c)};A2.prototype.getReporter=function(a){return new NIc(this.reportingFactory_.create(a),this.sharedSessionState_)};A2.prototype.getSessionState=function(){return this.sharedSessionState_};
var OIc=function(a,b,c,d,e){var f=Pbc();lk(d,9,ib(f));f=a.delegate_.getLastUpdatedTimestamp();zj(d,6,f);d.setAffinityVersion(a.delegate_.getAffinityVersion());a=l(b);for(f=a.next();!f.done;f=a.next()){b=0;f=l(f.value.getTargetList());for(var h=f.next();!h.done;h=f.next()){h=h.value.getLoggingToken();var k=Ar(h)||new ps;7!==k.getProvenance()&&k.setProvenance(c.getProvenance());rj(k,2,e);rj(k,1,b);li(h,ps,2,k);h.setSessionState(d);b++}e++}return e};var PIc=function(a,b,c){this.delegate_=this.delegate=a;this.reportingFactory_=b;this.instanceId_=ybb();this.clearcutConfig_=c};X(PIc,x2);
PIc.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 Bs;h=c.getOriginator();e=l(e);for(var k=e.next();!k.done;k=e.next()){k=l(k.value.getTargetList());for(var q=k.next();!q.done;q=k.next()){q=q.value.getLoggingToken();var t=Ar(q)||new ps;7!==t.getProvenance()&&t.setProvenance(f.getProvenance());tj(t,4,h);li(q,ps,2,t)}}b(d)},c)};
PIc.prototype.beginSession=function(a){var b=new HZ,c=QIc(this,a);li(b,ws,10,c);c=RIc(this,a);li(b,ys,12,c);b.setInstanceId(this.instanceId_);a=this.delegate_.beginSession(a);return new A2(a,this.reportingFactory_,b)};
var QIc=function(a,b){a=gi(a.clearcutConfig_,ws,5,hi());return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new ws},RIc=function(a,b){a=gi(a.clearcutConfig_,ys,6,hi());return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new ys};var SIc={create:function(a){var b=Ab(pFc||(pFc=oFc('[[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 Y1(b,a);a.runtimeConfig_.getExperiments().getProfileId()?qFc(a).getIsEnabled()?(b=Ab(sFc||(sFc=odb('[null,null,null,null,null,null,null,"AIzaSyABqJ85_R2irnKzMtGBL0iHuyFBi6Efk1w"]'))),
b=new pdb(b,1)):b=new Or:b=new Or;var c=a.runtimeConfig_.getExperiments().getProfileId_legacyNullable(),d=a.runtimeConfig_;vs=b.loadExperiments(qFc(a).getApplication(),(new Pr).setPeopleApiEnv(d.getPeopleApiEnv()),c);b=new sGc;b.cacheConfigurators_.push(new mFc);c=b;c=void 0===c?new sGc:c;b=a.getClearcut();b=new oIc(b,a.runtimeConfig_);b=Rr(b);b=new qGc(b);d=new rGc(a,b);var e=c;c=d.targetFactory_;var f=a.getClient();c=new HGc(c,f);var h=void 0===h?dIc:h;h=new eIc(d.loader_,a,h);f=new bIc(h,b,a);
var k=[new THc,new AGc].concat(r(e.cacheConfigurators_));e=[];var q=[],t=new OGc(c,a);h=new NGc(q,t,a);d={clientConfig:a,trackers:b,storage:c,indexer:t,loader:f,loaderFactory:d,trieFactory:new iHc(c,h,b),prefixCaches:e,lookupStages:q};f=l(k);for(k=f.next();!k.done;k=f.next())k.value.configure(d);d=new WGc(e);h=new aHc(a,b,d,h,c);d=a.getClient();c=new GHc(d,c);d=a.getClient();h=new vHc(h,c,d);c=new MIc(a);a=a.getClearcut();h=new PIc(h,c,a);h=new y2(h,b);return new iIc(h)}};var B2=function(a,b){var c=this;this.fridge=a;this.userAccess=b;this.currentComponentId="";this.providedComponentId$=new W.ReplaySubject(1);this.accessCheckIsThinking$=new W.BehaviorSubject(!0);this.component$=this.providedComponentId$.pipe(df(function(d){return c.fridge.watchOne(d)}));this.userIsComponentReader$=this.providedComponentId$.pipe(df(function(d){d!==c.currentComponentId&&(c.accessCheckIsThinking$.next(!0),c.currentComponentId=d);return zH(c.userAccess,"reader","components/"+d).then(function(e){return e},
function(){return!1}).finally(function(){c.accessCheckIsThinking$.next(!1)})}));this.isReady$=(0,W.combineLatest)([this.fridge.thinking$,this.accessCheckIsThinking$]).pipe(B(function(d){var e=l(d);d=e.next().value;e=e.next().value;return!d&&!e}),cf(!1));this.manageComponentLink=""};B2.prototype.ngOnInit=function(){this.currentComponentId=this.componentId};B2.prototype.ngOnChanges=function(){this.providedComponentId$.next(this.componentId);this.manageComponentLink="/components/"+this.componentId};
B2.\u0275fac=function(a){return new (a||B2)(A(oH),A(xH))};
B2.\u0275cmp=Lc({type:B2,selectors:[["b-async-component"]],inputs:{componentId:"componentId"},features:[ed],decls:6,vars:7,consts:[[3,"isReady"],[3,"href",4,"ngIf","ngIfElse"],["notComponentReader",""],[3,"href"]],template:function(a,b){a&1&&(E(0,"b-async-data-placeholder",0),T(1,"async"),C(2,Ofb,3,4,"a",1),T(3,"async"),C(4,Pfb,2,1,"ng-template",null,2,jg),G());if(a&2){var c=Q(5);D("isReady",V(1,3,b.isReady$));y(2);D("ngIf",V(3,5,b.userIsComponentReader$))("ngIfElse",c)}},dependencies:[dw,WV,mw],
encapsulation:2});var C2=function(a){this.documentationLinks=a;this.showIssueMetadataContainer=!1};
Vg.Object.defineProperties(C2.prototype,{issueMetadata:{configurable:!0,enumerable:!0,set:function(a){if(null==a)this.showIssueMetadataContainer=!1;else if(this.showIssueMetadataContainer=!0,this.issueId=a.issueId,this.issueLastModified=on(a.modifiedTime),a.teamId&&0!==a.teamId&&(this.issueTeamId=String(a.teamId)),a=a.issueState)this.issueType=ln(a.type),this.issueStatus=mn[a.status],this.issuePriority=a.priority,this.issueSeverity=F4b[a.severity],this.issueComponentId=String(a.componentId),this.accessLimitLevel=
Zp(a.accessLimitLevel)}}});C2.\u0275fac=function(a){return new (a||C2)(A(jG))};
C2.\u0275cmp=Lc({type:C2,selectors:[["b-access-denied-metadata"]],inputs:{issueMetadata:"issueMetadata"},decls:4,vars:1,consts:[[1,"b-access-denied"],[1,"heading-l","margin-bottom"],["class","carded margin-top",4,"ngIf"],[1,"carded","margin-top"],[3,"issuePriority"],["target","_blank","aria-label","Learn more about issue access limits",3,"href"],[4,"ngIf"],[3,"componentId"],[3,"teamId"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"h3",1),R(2," Access is denied to this issue "),G(),C(3,Sfb,40,13,
"ol",2),G());a&2&&(y(3),D("ngIf",b.showIssueMetadataContainer))},dependencies:[dw,B2,$V,AU,pw],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 D2=function(){};D2.\u0275fac=function(a){return new (a||D2)};D2.\u0275mod=Nc({type:D2});D2.\u0275inj=wc({imports:[SH,lX]});var E2=function(){};E2.\u0275fac=function(a){return new (a||E2)};E2.\u0275mod=Nc({type:E2});E2.\u0275inj=wc({imports:[SH,D2,hX,BU]});var TIc=Symbol("df"),F2=function(a){this.ruleConfigService=a};
F2.prototype.build=function(a){if(a.customField)var b="DATE"===a.customField.type?new G2(a,H2(this.ruleConfigService)):"ENUM"===a.customField.type?new UIc(a,H2(this.ruleConfigService)):"REPEATED_ENUM"===a.customField.type?new VIc(a,H2(this.ruleConfigService)):"NUMERIC"===a.customField.type?new I2(a,H2(this.ruleConfigService)):new J2(a,H2(this.ruleConfigService));else b=a.label.field,b=H2(this.ruleConfigService)[b],b=new (b&&b.ruleCtor||K2)(a,H2(this.ruleConfigService));b[TIc](a);return b};
var Chb=function(a,b,c){return a.build({label:{field:b,customFieldId:c&&c.customFieldId||void 0},operator:"EQ",negated:!1,type:"",customField:c})};F2.\u0275fac=function(a){return new (a||F2)(p(L2))};F2.\u0275prov=vc({token:F2,factory:F2.\u0275fac,providedIn:"root"});
var WIc=["OR","AND","NAND"],XIc=["OR","NAND"],YIc="LT GT LE GE RANGE NRANGE DURATION NDURATION OR".split(" "),ZIc=["AND","OR","NAND"],$Ic=["OR","LT","GT","LE","GE"],K2=function(a,b){this.ruleConfigLookup=b;this.values=[];this.type="";this.isPendingCustomField=!1;this.label=a.label};K2.prototype[TIc]=function(a){this.initType(a);this.initValues(a)};
K2.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]};K2.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){return{value:b.simpleValues[0].value}})};
var aJc=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}};
K2.prototype.toString=function(){var a=aJc(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=bJc(this);return(a.negated?"-":"")+d+(d?c[a.operator]:"")+b};var bJc=function(a){var b=a.label.field,c=a.ruleConfigLookup[b];return c&&(c=c.queryLabel,null!=c)?c:Xh(b).toLowerCase()+(a.label.customFieldId||"")};K2.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value}).filter(function(a){return a})};
K2.prototype.getWidgetType=function(){return"default"};K2.prototype.isValid=function(){return this.getLegalTypes().includes(this.type)};K2.prototype.getLegalTypes=function(){return WIc};var cJc=[],M2=function(a,b){K2.call(this,a,b);this.enumValues={}};X(M2,K2);g=M2.prototype;g.getLegalTypes=function(){return XIc};g.getWidgetType=function(){return"enum"};
g.initValues=function(a){this.enumValues={};for(var b=l(this.getOptions()),c=b.next();!c.done;c=b.next())this.enumValues[c.value.id]=!1;a=l(a.values||[]);for(b=a.next();!b.done;b=a.next())this.enumValues[Tfb(b.value.simpleValues[0].value)]=!0};g.valuesToStrings=function(){return Object.keys($b(this.enumValues,function(a){return a}))};g.getOptions=function(){return cJc};var dJc=Iaa().map(function(a){return{id:"p"+a,label:"P"+a}}),eJc=function(a,b){M2.call(this,a,b)};X(eJc,M2);
eJc.prototype.getOptions=function(){return dJc};var fJc=Iaa().map(function(a){return{id:"s"+a,label:"S"+a}}),gJc=function(a,b){M2.call(this,a,b)};X(gJc,M2);gJc.prototype.getOptions=function(){return fJc};
var hJc=[{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"}],iJc=function(a,b){M2.call(this,a,b)};X(iJc,M2);iJc.prototype.getOptions=function(){return hJc};
var jJc=[{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"}],kJc=function(a,b){M2.call(this,a,b)};X(kJc,M2);kJc.prototype.getOptions=function(){return jJc};
var lJc=[{id:"abuse"},{id:"pii"},{id:"user_request",label:"user request"},{id:"retention"}],mJc=function(a,b){M2.call(this,a,b)};X(mJc,M2);mJc.prototype.getOptions=function(){return lJc};var nJc=[{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"}],oJc=function(a,b){M2.call(this,a,b)};X(oJc,M2);oJc.prototype.getOptions=function(){return nJc};
var UIc=function(a,b){M2.call(this,a,b);this.allowedValues=[]};X(UIc,M2);UIc.prototype[TIc]=function(a){this.allowedValues=a.customField.allowedValue.map(function(b){return{label:b,id:Tfb(b)}});M2.prototype[TIc].call(this,a)};UIc.prototype.valuesToStrings=function(){return Object.keys($b(this.enumValues,function(a){return a})).map(function(a){return'"'+a+'"'})};UIc.prototype.getOptions=function(){return this.allowedValues};
var VIc=function(a,b){K2.call(this,a,b);this.allowedValues=[];var c,d;this.allowedValues=null!=(d=null==(c=a.customField)?void 0:c.allowedValue)?d:[]};X(VIc,K2);VIc.prototype.getWidgetType=function(){return"repeated-enum"};VIc.prototype.getOptions=function(){return this.allowedValues};var Hs=function(a,b){K2.call(this,a,b);this.csv=""};X(Hs,K2);Hs.prototype.getWidgetType=function(){return"csv"};Hs.prototype.initValues=function(a){this.csv=(a.values||[]).map(function(b){return b.simpleValues[0].value}).join(",")};
Hs.prototype.valuesToStrings=function(){return this.csv.split(",").map(function(a){return a.trim()}).filter(function(a){return a})};var N2=function(a,b){Hs.call(this,a,b)};X(N2,Hs);N2.prototype.getWidgetType=function(){return"id"};N2.prototype.valuesToStrings=function(){return Hs.prototype.valuesToStrings.call(this).map(function(a){return"none"===a.toLowerCase()?"none":"any"===a.toLowerCase()?"any":String(Zh(a))})};var pJc=function(a,b){Hs.call(this,a,b)};X(pJc,N2);pJc.prototype.getLegalTypes=function(){return XIc};
var O2=function(a,b){Hs.call(this,a,b)};X(O2,Hs);O2.prototype.getWidgetType=function(){return"user"};var P2=function(a,b){Hs.call(this,a,b)};X(P2,O2);P2.prototype.getLegalTypes=function(){return XIc};var G2=function(a,b){K2.call(this,a,b);this.dateTo=this.dateFrom=this.duration=""};X(G2,K2);var hhb=function(a){return a&&"string"===typeof a?a:""};
G2.prototype.initType=function(a){K2.prototype.initType.call(this,a);var b=a.values&&a.values[0];b&&("RANGE"===b.type?this.type=a.negated?"NRANGE":"RANGE":Ft(b.simpleValues[0].value,"d")&&(this.type=a.negated?"NDURATION":"DURATION"))};G2.prototype.getWidgetType=function(){return"date"};
G2.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=qJc(b),"RANGE"===this.type||"NRANGE"===this.type)this.dateTo=qJc(a.values[0].simpleValues[1].value)}};
G2.prototype.valuesToStrings=function(){if("DURATION"===this.type||"NDURATION"===this.type){var a=Zh(this.duration);return!a||isNaN(a)?[]:[a+"d"]}if("RANGE"===this.type||"NRANGE"===this.type){a=this.dateFrom&&rJc(this.dateFrom)||(new Yh).toIsoString(!0);var b=this.dateTo&&rJc(this.dateTo)||(new Yh).toIsoString(!0);return[a+".."+b]}return[this.dateFrom&&rJc(this.dateFrom)||(new Yh).toIsoString(!0)]};
var sJc=function(a){var b=String(a.getMonth()+1),c=String(a.getDate());return b+"/"+c+"/"+String(a.getFullYear())},qJc=function(a){var b=new qn(2E3);a=bi(a);var c=-1==a.indexOf("T")?" ":"T";a=a.split(c);var d=a[0].match(vTb);if(d){var e=Number(d[2]),f=Number(d[3]),h=Number(d[4]);c=Number(d[5]);var k=Number(d[6])||1;b.setFullYear(Number(d[1]));h?(b.setDate(1),b.setMonth(0),b.add(new rz("d",h-1))):c?(b.setMonth(0),b.setDate(1),d=b.getDay()||7,b.add(new rz("d",(4>=d?1-d:8-d)+(Number(k)+7*(Number(c)-
1))-1))):(e&&(b.setDate(1),b.setMonth(e-1)),f&&b.setDate(f));c=!0}else c=!1;if(c&&!(c=2>a.length)){c=a[1];a=c.match(xTb);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(wTb)){if(a){a=b.getYear();c=b.getMonth();k=b.getDate();d=Number(h[1]);e=Number(h[2])||0;f=Number(h[3])||0;var t=h[4]?1E3*Number(h[4]):0;(h=0<=a&&100>a)&&(a+=400);a=Date.UTC(a,c,k,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 sJc(c?b:null)},rJc=function(a){a=a.split("/").map(Number);return(new Yh(a[2],a[0]-1,a[1])).toIsoString(!0)};G2.prototype.getLegalTypes=function(){return YIc};var Q2=function(a,b){K2.call(this,a,b)};X(Q2,K2);Q2.prototype.getWidgetType=function(){return"bool"};
Q2.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"};Q2.prototype.toString=function(){return bJc(this)+":"+("OR"===this.type)};Q2.prototype.getLegalTypes=function(){return XIc};var R2=function(a,b){K2.call(this,a,b)};X(R2,K2);R2.prototype.getWidgetType=function(){return"boolwithall"};
R2.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")};R2.prototype.toString=function(){var a=bJc(this)+":";switch(this.type){case "OR":return a+"true";case "NAND":return a+"false";default:return a+"all"}};
R2.prototype.getLegalTypes=function(){return ZIc};var J2=function(a,b){K2.call(this,a,b)};X(J2,K2);J2.prototype.getWidgetType=function(){return"text"};J2.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}})};J2.prototype.valuesToStrings=function(){return this.values.map(function(a){return-1<a.value.indexOf(" ")?'"'+a.value+'"':a.value})};
var tJc=function(a,b){K2.call(this,a,b)};X(tJc,K2);tJc.prototype.getWidgetType=function(){return"component"};tJc.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};Ft(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};tJc.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};
var uJc=function(a,b){K2.call(this,a,b)};X(uJc,K2);uJc.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};Ft(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};uJc.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};var vJc=function(a,b){K2.call(this,a,b)};X(vJc,K2);vJc.prototype.getWidgetType=function(){return"tracker"};
var wJc=function(a,b){K2.call(this,a,b)};X(wJc,uJc);wJc.prototype.getWidgetType=function(){return"team"};var xJc=function(a,b){K2.call(this,a,b)};X(xJc,K2);xJc.prototype.getWidgetType=function(){return"hotlist"};var yJc=function(a,b){K2.call(this,a,b)};X(yJc,K2);yJc.prototype.getWidgetType=function(){return"savedsearch"};var I2=function(a,b){Hs.call(this,a,b)};X(I2,Hs);I2.prototype.getWidgetType=function(){return"number"};I2.prototype.getLegalTypes=function(){return $Ic};
var zJc=function(a,b){G2.call(this,a,b)};X(zJc,G2);zJc.prototype.initType=function(a){G2.prototype.initType.call(this,a);a.negated&&(this.type="ERR")};
var S2={},AJc=(S2.ATTACHMENT={ruleCtor:J2,name:"Attachment name"},S2.COMMENT={ruleCtor:J2},S2.TITLE={ruleCtor:J2},S2.ASSIGNEE={ruleCtor:P2},S2.MODIFIER={ruleCtor:O2},S2.REPORTER={ruleCtor:P2},S2.VERIFIER={ruleCtor:P2},S2.CC={ruleCtor:O2},S2.COLLABORATOR={ruleCtor:O2},S2.COMPONENT_ID={ruleCtor:tJc,name:"Component"},S2.TRACKER_ID={ruleCtor:vJc,name:"Tracker"},S2.TYPE={ruleCtor:iJc},S2.STATUS={ruleCtor:kJc},S2.PRIORITY={ruleCtor:eJc},S2.SEVERITY={ruleCtor:gJc},S2.BLOCKED_BY_ID={ruleCtor:N2},S2.BLOCKING_ID=
{ruleCtor:N2},S2.PARENT_ID={ruleCtor:N2},S2.CANONICAL_ID={ruleCtor:pJc},S2.ID={ruleCtor:pJc},S2.FOUND_IN={ruleCtor:Hs},S2.TARGETED_TO={ruleCtor:Hs},S2.VERIFIED_IN={ruleCtor:Hs},S2.CL={ruleCtor:Hs,name:"Changelists"},S2.MODIFIED={ruleCtor:G2},S2.RESOLVED={ruleCtor:zJc},S2.CREATED={ruleCtor:G2},S2.VERIFIED={ruleCtor:zJc},S2.DELETION_TIME={ruleCtor:G2,name:"Deletion time"},S2.SAVED_SEARCH_ID={ruleCtor:yJc,name:"Saved search"},S2.HOTLIST_ID={ruleCtor:xJc,name:"Hotlist"},S2.STAR={ruleCtor:Q2,name:"Starred"},
S2.MUTE={ruleCtor:Q2,name:"Muted"},S2.VOTE={ruleCtor:Q2,name:"Upvoted by me"},S2.IN_PROD={ruleCtor:Q2,name:"In production"},S2.CC_COUNT={ruleCtor:I2},S2.COLLABORATOR_COUNT={ruleCtor:I2},S2.DUPLICATE_COUNT={ruleCtor:I2},S2.VOTE_COUNT={ruleCtor:I2},S2.COMMENT_COUNT={ruleCtor:I2},S2.DESCENDANT_COUNT={ruleCtor:I2},S2.OPEN_DESCENDANT_COUNT={ruleCtor:I2},S2.ONE_DAY_VIEW_COUNT={ruleCtor:I2},S2.SEVEN_DAY_VIEW_COUNT={ruleCtor:I2},S2.THIRTY_DAY_VIEW_COUNT={ruleCtor:I2},S2.LAST_MODIFIER={ruleCtor:P2,name:"Last Modified By"},
S2.COMMENTER={ruleCtor:O2},S2.LAST_COMMENTER={ruleCtor:P2},S2.ARCHIVED={ruleCtor:R2},S2.IS_DELETED={ruleCtor:Q2,name:"Deleted",queryLabel:"deleted"},S2.DELETION_REASON={ruleCtor:mJc,name:"Deletion reason"},S2.ACCESS_LEVEL={ruleCtor:oJc,name:"Issue access level"},S2._TEXT_={ruleCtor:J2,queryLabel:"",name:"All fields"},S2),BJc=Object.assign({},AJc,{EFFORT_LABEL:{ruleCtor:Hs},MENTION:{ruleCtor:O2},MIN_SLO_TARGET:{ruleCtor:G2,name:"Nearest SLO",queryLabel:"nearestslo"},POSTMORTEM:{ruleCtor:Hs,name:"Postmortems"},
TEAM_ID:{ruleCtor:wJc,name:"Team"}}),L2=function(a){this.activeSession=a},H2=function(a){return a.activeSession.isExternalSession()?AJc:BJc};L2.\u0275fac=function(a){return new (a||L2)(p(nt))};L2.\u0275prov=vc({token:L2,factory:L2.\u0275fac,providedIn:"root"});var CJc=function(a){this.internalArray_=m(a)};X(CJc,n);g=CJc.prototype;g.getField=function(){return cj(this,1,0)};g.getCustomFieldId=function(){return $t(this,2)};g.getCustomFieldId_asLegacyNumberOrString=function(){return $t(this,2)};g.getCustomFieldId_asString=function(){return fj(this,2)};g.setCustomFieldId=function(a){return yj(this,2,a)};g.hasCustomFieldId=function(){return null!=ej(this,2)};var Zfb=function(a){this.internalArray_=m(a)};X(Zfb,n);g=Zfb.prototype;g.getType=function(){return cj(this,1,0)};g.setType=function(a){return tj(this,1,a)};g.hasType=function(){return aj(this,1)};g.getValue=function(){return Zi(this,2)};g.setValue=function(a){return Lh(this,2,a)};g.hasValue=function(){return Pi(this,2)};var T2=function(a){this.internalArray_=m(a)};X(T2,n);g=T2.prototype;g.getType=function(){return cj(this,1,0)};g.setType=function(a){return tj(this,1,a)};g.hasType=function(){return aj(this,1)};g.getValuesList=function(){return gi(this,T2,2,hi())};g.setValuesList=function(a){return gl(this,2,a)};g.setValues=function(a,b){Tt(this,2,T2,a,b)};T2.repeatedFields_=[2,3];var ggb=function(a){this.internalArray_=m(a)};X(ggb,n);g=ggb.prototype;g.getType=function(){return cj(this,1,0)};g.setType=function(a){return tj(this,1,a)};g.hasType=function(){return aj(this,1)};g.getValuesList=function(){return gi(this,T2,2,hi())};g.setValuesList=function(a){return gl(this,2,a)};g.setValues=function(a,b){Tt(this,2,T2,a,b)};g.getLabel=function(){return $i(this,CJc,4)};g.setLabel=function(a){return li(this,CJc,4,a)};g.hasLabel=function(){return ji(this,CJc,4)};
ggb.repeatedFields_=[2];var Cs=function(a){this.internalArray_=m(a,0,Cs.messageId)};X(Cs,n);Cs.prototype.getType=function(){return cj(this,1,0)};Cs.prototype.setType=function(a){return tj(this,1,a)};Cs.prototype.hasType=function(){return aj(this,1)};Cs.repeatedFields_=[2];Cs.messageId="b.QueryBuilderResponse";var dgb=function(a){this.internalArray_=m(a,0,dgb.messageId)};X(dgb,n);dgb.messageId="b.SyntaxErrorResponse";var DJc=function(a){this.internalArray_=m(a,0,DJc.messageId)};X(DJc,n);DJc.prototype.getKindCase=function(){return kl(this,egb)};var egb=[1,2];DJc.messageId="b.QueryBuilderResponseOrError";var U2=function(a){this.executor=a},EJc=function(a,b){b=vn(b);return a.executor.get({url:"action/issue_query_parse/"+b,responseConstructor:DJc}).then(igb).then(function(c){var d;null!=(d=c.syntaxErrorResponse)?c=d:(c=c.queryBuilderResponse,c={type:c.type,expressions:c.expressions.map(Ufb)});return c})};U2.\u0275fac=function(a){return new (a||U2)(p(RD))};U2.\u0275prov=vc({token:U2,factory:U2.\u0275fac,providedIn:"root"});var V2=function(a){var b=this;this.teamsService=a;this.placeholder="Choose Team";this.panelWidth="574px";this.disabled=!1;this.onTeamSelect=new zv;this.onEmptyQuery=new zv;this.searchQuery$=new W.Subject;this.teamSuggestions$=this.searchQuery$.pipe(Re(300),Te(),df(function(c){return SJ(b.teamsService,c)}),B(function(c){return c.map(function(d){return new kgb(d.pathIds,d.pathNames,d.description)})}))};V2.prototype.updateSelectionOnChange=function(a){this.onTeamSelect.emit(a.option.value)};
V2.prototype.search=function(a){a||this.onEmptyQuery.emit();this.searchQuery$.next(a)};V2.prototype.displayFn=function(a){return a?a.name:""};V2.prototype.ngAfterViewInit=function(){};V2.\u0275fac=function(a){return new (a||V2)(A(QJ))};
V2.\u0275cmp=Lc({type:V2,selectors:[["b-team-picker"]],viewQuery:function(a,b){a&1&&Uf(KQ,7);if(a&2){var c;Yf(c=Zf())&&(b.autocompleteTrigger=c.first)}},inputs:{teamSelected:"teamSelected",placeholder:"placeholder",panelWidth:"panelWidth",disabled:"disabled"},outputs:{onTeamSelect:"onTeamSelect",onEmptyQuery:"onEmptyQuery"},decls:7,vars:10,consts:[[1,"team-id-select"],["id","team-id","matInput","","type","text","autocomplete","off","aria-label","Team selection",3,"placeholder","ngModel","disabled",
"matAutocomplete","click","input"],["searchInput",""],[3,"panelWidth","displayWith","optionSelected"],["auto","matAutocomplete"],["class","team-search-result",3,"value",4,"ngFor","ngForOf"],[1,"team-search-result",3,"value"],[4,"ngFor","ngForOf"],[1,"description",3,"matTooltip"],[1,"path-names",3,"matTooltip","click"],["class","path-names-separator",4,"ngIf"],[1,"path-names-separator"]],template:function(a,b){if(a&1){var c=u();E(0,"div",0)(1,"input",1,2);M("click",function(){v(c);var e=Q(2);return x(b.search(e.value))})("input",
function(){v(c);var e=Q(2);return x(b.search(e.value))});G();E(3,"mat-autocomplete",3,4);M("optionSelected",function(e){return b.updateSelectionOnChange(e)});C(5,ngb,6,8,"mat-option",5);T(6,"async");G()()}if(a&2){var d=Q(4);y();Of("placeholder",b.placeholder);D("ngModel",b.teamSelected)("disabled",b.disabled)("matAutocomplete",d);pf("aria-disabled",b.disabled);y(2);D("panelWidth",b.panelWidth)("displayWith",b.displayFn);y(2);D("ngForOf",V(6,8,b.teamSuggestions$))}},dependencies:[hw,dw,LQ,KQ,qA,PC,
Dg,Hw,Ow,mw,tw],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}"],
changeDetection:0});var kgb=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 FJc(a.slice(0,e+1),b.slice(0,e+1))})},FJc=function(a,b){this.pathIds=a;this.pathNames=b;this.name=0<b.length?b[b.length-1]:"";this.pathNameText=b.join(" > ")};var W2=function(a){var b=this;this.trackerFridge=a;this.placeholder="Choose Tracker";this.disabled=!1;this.onTrackerSelect=new zv;this.searchQuery$=new W.Subject;this.trackerSuggestions$=this.searchQuery$.pipe(Re(300),Te(),df(function(c){return b.trackerFridge.watchMany({filter:c,pageSize:5})}),B(function(c){return c.results}));this.displayFn=function(c){return c?c.name:""}};W2.prototype.ngAfterViewInit=function(){};W2.prototype.updateSelectionOnChange=function(a){this.onTrackerSelect.emit(a.option.value)};
W2.prototype.search=function(a){this.searchQuery$.next(a)};W2.\u0275fac=function(a){return new (a||W2)(A(ZJ))};
W2.\u0275cmp=Lc({type:W2,selectors:[["b-tracker-picker"]],viewQuery:function(a,b){a&1&&Uf(KQ,7);if(a&2){var c;Yf(c=Zf())&&(b.autocompleteTrigger=c.first)}},inputs:{selectedTracker:"selectedTracker",placeholder:"placeholder",disabled:"disabled"},outputs:{onTrackerSelect:"onTrackerSelect"},decls:6,vars:9,consts:[["id","tracker-id","type","text","autocomplete","off","aria-label","Tracker selection",3,"placeholder","ngModel","disabled","matAutocomplete","click","input"],["trackerSearchInput",""],[3,"displayWith",
"optionSelected"],["auto","matAutocomplete"],["class","tracker-search-result",3,"value",4,"ngFor","ngForOf"],[1,"tracker-search-result",3,"value"],[1,"tracker-name"]],template:function(a,b){if(a&1){var c=u();E(0,"input",0,1);M("click",function(){v(c);var e=Q(1);return x(b.search(e.value))})("input",function(){v(c);var e=Q(1);return x(b.search(e.value))});G();E(2,"mat-autocomplete",2,3);M("optionSelected",function(e){return b.updateSelectionOnChange(e)});C(4,ogb,3,2,"mat-option",4);T(5,"async");G()}if(a&
2){var d=Q(3);D("placeholder",b.placeholder)("ngModel",b.selectedTracker)("disabled",b.disabled)("matAutocomplete",d);pf("aria-disabled",b.disabled);y(2);D("displayWith",b.displayFn);y(2);D("ngForOf",V(5,7,b.trackerSuggestions$))}},dependencies:[hw,LQ,KQ,qA,Dg,Hw,Ow,mw],styles:[".tracker-search-result.mat-option[_ngcontent-%COMP%]{line-height:normal;height:auto;padding:0 8px}.tracker-search-result.mat-option.mat-active[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}.tracker-search-result[_ngcontent-%COMP%]   .tracker-name[_ngcontent-%COMP%]{color:#202124;color:var(--text);font-size:.8125rem;padding:4px 0;overflow-wrap:break-word;white-space:pre-wrap}"],
changeDetection:0});var X2=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O){Y.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=k;this.elementRef=q;this.errorHandler=t;this.componentActions=w;this.teamsService=z;this.searchRuleConfigService=F;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=GJc;this.globalTypeLabels=HJc;this.state="INIT"};X(X2,Y);X2.\u0275dir=Y.\u0275dir;
var IJc=function(a){var b=[];Yb(H2(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,bFa(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};X2.prototype.schedule=function(a){this.subscriptions.add(W.asyncScheduler.schedule(a))};X2.prototype.ngOnInit=function(){this.cdr.detectChanges()};
X2.prototype.ngOnChanges=function(a){a.isTrackerSearchEnabled&&(this.availableLabels=IJc(this))};
var LJc=function(a,b){a.reset();b?JJc(a,b):(a.expressions=KJc.map(function(c){return Chb(a.searchRuleFactory,c)}),a.state="SUCCESS");a.userApi.getUserSavedSearches().then(function(c){a.userSavedSearches=c;c=l(a.userSavedSearches);for(var d=c.next();!d.done;d=c.next())d=d.value,a.savedSearches[d.searchId]=d;a.cdr.detectChanges()});a.userApi.getUserHotlists().then(function(c){a.userHotlists=c;c=l(a.userHotlists);for(var d=c.next();!d.done;d=c.next())d=d.value,a.hotlists[d.hotlistId]=d;a.cdr.detectChanges()});
a.cdr.detectChanges()},JJc=function(a,b){EJc(a.issueSearchResources,b).then(function(c){if(c.syntaxError)return a.state="SYNTAX_ERROR",kp(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 MJc(a,d)});return Promise.all(c).then(function(d){if(d.every(function(f){return!!f})){a.state="SUCCESS";d=l(d);for(var e=d.next();!e.done;e=d.next())a.expressions.push(e.value)}else a.state="NOT_REPRESENTABLE",
kp(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()})},MJc=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?NJc(a,b.label.customFieldId).then(function(c){b.customField=
c;return OJc(a,b)}):Promise.resolve(OJc(a,b))},NJc=function(a,b){return a.customFields[b]?Promise.resolve(a.customFields[b]):a.customFieldsApi.get(b).then(function(c){return a.customFields[b]=c})},OJc=function(a,b){b="ERR"===b.type?null:a.searchRuleFactory.build(b);if(!b||b&&!b.isValid())return null;PJc(a,b);return b},PJc=function(a,b){switch(b.label.field){case "COMPONENT_ID":b=l(b.values);for(var c=b.next();!c.done;c=b.next())c=Pk(c.value.value),a.components[c]||a.fetchComponent(c);break;case "TRACKER_ID":if(a.isTrackerSearchEnabled)for(b=
l(b.values),c=b.next();!c.done;c=b.next())c=c.value.value,a.trackers[c]||QJc(a,c);break;case "TEAM_ID":if(a.sessionIsInternal)for(b=l(b.values),c=b.next();!c.done;c=b.next())c=c.value.value,a.teams[c]||RJc(a,c);break;case "SAVED_SEARCH_ID":b=l(b.values);for(c=b.next();!c.done;c=b.next())c=c.value,a.savedSearches[c.value]||a.savedSearchApi.get(c.value).then(function(d){a.savedSearches[d.searchId]=d});break;case "HOTLIST_ID":for(b=l(b.values),c=b.next();!c.done;c=b.next())c=c.value,a.hotlists[c.value]||
a.hotlistApi.get(c.value).then(function(d){a.hotlists[d.hotlistId]=d})}};X2.prototype.fetchComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){b.currentTracker.inTracker&&c.trackerId!==b.currentTracker.getTrackerId()||(b.components[a]=c)})};
var QJc=function(a,b){a.trackerFridge.watch(b).pipe(ef(a.destroyed$)).subscribe(function(c){c&&(a.trackers[b]=c)})},RJc=function(a,b){SJ(a.teamsService,b).pipe(Pe(function(){return(0,W.of)([])}),ef(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:""}})},SJc=function(a){var b="AND"===a.expressionType?" ":" | ";return BMb(a.expressions.map(function(c){return c.label?
c.toString():""}),nOb).join(b)};X2.prototype.getState=function(){return this.state};X2.prototype.reset=function(){this.expressionType="AND";this.expressions=[];this.state="INIT"};
var Fhb=function(a,b){var c=a.expressions[b],d=c.label;"CUSTOM_FIELD"===d.field?c.isPendingCustomField=!0:(a.expressions[b]=Chb(a.searchRuleFactory,d.field),Dhb(a,a.expressions[b]));a.cdr.detectChanges()},Dhb=function(a,b){var c=b.getWidgetType();"component"===c||"savedsearch"===c||"hotlist"===c||"text"===c||"team"===c||"tracker"===c||"repeatedenum"===c?Fs(a,b):"date"===c&&(b.dateFrom||(b.dateFrom=sJc(new Yh)),b.dateTo||(b.dateTo=sJc(new Yh)))};
X2.prototype.removeExpression=function(a){ua(this.expressions,a);this.cdr.detectChanges()};
var Fs=function(a,b){var c={value:""};b.values.push(c);"COMPONENT_ID"===b.label.field?Lgb(a,c):"TRACKER_ID"===b.label.field?Sgb(a,c):"TEAM_ID"===b.label.field?Zgb(a,c):"CUSTOM_FIELD"===b.label.field?ugb(a,c):Gs(a,c);a.cdr.detectChanges()},Es=function(a,b,c){ua(b.values,c);b.values.length||a.removeExpression(b);a.cdr.detectChanges()},Gs=function(a,b){a.chipUnderEdit=b;a.cdr.detectChanges()},Lgb=function(a,b){Gs(a,b);a.componentUnderEdit=b.value?Uh(a.components[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-component-picker input").focus()})},
ugb=function(a,b){Gs(a,b);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-adv-search-custom-repeated-enum-chip input").focus()})},Sgb=function(a,b){Gs(a,b);a.trackerUnderEdit=b.value?Uh(a.trackers[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-tracker-picker input").focus()})},Zgb=function(a,b){Gs(a,b);a.teamUnderEdit=b.value?Uh(a.teams[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})},
Ds=function(a){a.chipUnderEdit=null;a.cdr.detectChanges()},ahb=function(a,b){kp(a.analytics,Sp.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;Ds(a);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})};
X2.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]};X2.prototype.getCustomFieldName=function(a){return(a=a.label.customFieldId)?this.customFields[a].name||String(a):""};X2.prototype.getComponentPath=function(a){if(!a)return"";var b=Is(this.currentTracker,a.componentPathInfo);return b&&b.componentPathName?b.componentPathName.join(" > "):a.name};
var HJc={AND:"Match all (AND)",OR:"Match any (OR)"},GJc={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"}},KJc=["COMPONENT_ID","ASSIGNEE","STATUS","_TEXT_"];X2.\u0275fac=function(a){return new (a||X2)(A(MI),A(BI),A(YH),A(CJ),A(qI),A(ZJ),A(U2),A(nt),A(Ad),A(AG),A(xR),A(QJ),A(L2),A(F2),A(EF,2),A(IM))};
X2.\u0275cmp=Lc({type:X2,selectors:[["b-advanced-search"]],inputs:{isTrackerSearchEnabled:"isTrackerSearchEnabled"},features:[bg([EF]),nf,ed],decls:1,vars:1,consts:[["class","bv2-adv-search",4,"ngIf"],[1,"bv2-adv-search"],[1,"bv2-adv-search-title"],["appearance","outline",4,"ngIf"],["class","bv2-adv-search-rule",4,"ngFor","ngForOf","ngForTrackBy"],[1,"bv2-adv-search-rule","bv2-adv-search-rule-new"],["mat-stroked-button","","type","button",1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",
3,"matMenuTriggerFor"],[1,"mat-select-panel"],["newExpressionMenu","matMenu"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf"],["appearance","outline"],[1,"bv2-adv-search-join-type",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"bv2-adv-search-rule"],[1,"bv2-adv-search-rule-title"],[1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",3,"ngModel","ngModelChange","selectionChange"],["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,"ngModel","ngModelChange"],[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,"title","click"],[1,"bv2-adv-search-chip-content-text"],[1,"bv2-adv-search-chip-content"],[1,"bv2-search-custom-repeated-enum-picker",3,"customFieldTitle","selectedValue","allowedValues","onValueSelect"],["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,"checked","change"],["type","text","aria-label","Add one or more user names, separated by comma","placeholder",
"One or more user names, comma-separated",3,"ngModel","bContactAutocomplete","ngModelChange"],["type","text","aria-label","Add one or more values, separated by comma","placeholder","One or more values, comma-separated",3,"ngModel","ngModelChange"],["type","text","placeholder","One or more IDs, comma-separated - e.g., 1,2,3",3,"ngModel","ngModelChange"],["type","text","aria-label","Add the condition",3,"ngModel","ngModelChange"],["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,"title","click"],[3,"svgIcon"],[1,"bv2-search-component-picker",3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["class",
"bv2-adv-search-chip bv2-adv-search-tracker-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-tracker-chip"],[1,"bv2-search-tracker-picker",3,"selectedTracker","onTrackerSelect"],["class","bv2-adv-search-chip bv2-adv-search-team-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-team-chip"],["role","switch","aria-label","Include subteams",1,"unstyled-button",3,"title","click"],[1,"bv2-search-team-picker",3,"teamSelected","onTeamSelect"],[3,"boundValue","isRequired","boundValueChange"],
["type","text","maxlength","3",1,"bv2-duration-field",3,"ngModel","ngModelChange"],["class","bv2-adv-search-chip bv2-adv-search-bookmark-item-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-bookmark-item-chip"],["appearance","outline","class","bv2-adv-search-bookmark-item-form-field",4,"ngIf"],["appearance","outline",1,"bv2-adv-search-bookmark-item-form-field"],["placeholder","Select hotlist",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModel","ngModelChange",
"selectionChange"],["placeholder","Select search",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModel","ngModelChange","selectionChange"],[1,"bv2-adv-search-custom-field-label"],[1,"bv2-adv-search-custom-field-selection"],[3,"fieldSelected"],["mat-menu-item","","type","button",3,"click"]],template:function(a,b){a&1&&C(0,Ihb,11,6,"div",0);a&2&&D("ngIf","SUCCESS"===b.getState())},dependencies:[hw,dw,hB,hP,PU,Dg,Hw,ax,Ow,RX,nA,dB,HC,FC,GC,pN,qA,WE,V2,W2,LR,tU,rw,PK],styles:['[_nghost-%COMP%]     .mat-form-field-infix{width:unset;min-width:105px;border:0}[_nghost-%COMP%]     .mat-select-value{max-width:unset;color:#5f6368;color:var(--muted);font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;font-weight:500;letter-spacing:0.0107142857em;font-variant-ligatures:none}[_nghost-%COMP%]     mat-select .mat-select-arrow-wrapper{transform:unset}[_nghost-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0;padding:0}[_nghost-%COMP%]     .bv2-custom-field-picker{width:unset}.mat-form-field[_ngcontent-%COMP%]{margin-right:5px;text-align:center}.bv2-adv-search-rule-type[_ngcontent-%COMP%]{min-width:105px}.bv2-adv-search-title[_ngcontent-%COMP%]{font-weight:bold;padding-left:8px;margin-right:5px;display:inline-block;min-width:254px}.bv2-adv-search-bookmark-item-chip[_ngcontent-%COMP%]{align-items:baseline}.bv2-adv-search-bookmark-item-form-field[_ngcontent-%COMP%]{text-align:left;width:100%}div.bv2-adv-search-enum-item[_ngcontent-%COMP%]{max-width:170px;min-width:170px}']});var Y2=function(){};Y2.\u0275fac=function(a){return new (a||Y2)};Y2.\u0275mod=Nc({type:Y2});Y2.\u0275inj=wc({imports:[SH,MQ,kN,JD,dx]});var Z2=function(){};Z2.\u0275fac=function(a){return new (a||Z2)};Z2.\u0275mod=Nc({type:Z2});Z2.\u0275inj=wc({imports:[SH,MQ,kN,JD,dx]});var a3=function(){};a3.\u0275fac=function(a){return new (a||a3)};a3.\u0275mod=Nc({type:a3});a3.\u0275inj=wc({imports:[SH,iP,QU,dx,YX,$C,eB,ID,IC,qN,kN,WK,Y2,Z2,$R,uU]});var b3=function(a){this.beapFridge=a};b3.prototype.getFeature=function(a){return TJc(this,"ALL").pipe(B(function(b){return b.find(function(c){return c.experimentId===a})}))};var TJc=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(B(function(e){return e.results.filter(function(f){return c?!0:f.userGroup===d})}))};b3.prototype.refresh=function(){this.beapFridge.pokeMany({})};
b3.\u0275fac=function(a){return new (a||b3)(p(WG))};b3.\u0275prov=vc({token:b3,factory:b3.\u0275fac,providedIn:"root"});var c3=function(){};c3.\u0275fac=function(a){return new (a||c3)};
c3.\u0275cmp=Lc({type:c3,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&&(K(0,0),C(1,Jhb,1,0,"div",1)(2,Khb,1,0,"div",2),L());a&2&&(D("ngSwitch",b.featureStage),y(),D("ngSwitchCase","TEAM_FOOD"),y(),D("ngSwitchCase","EARLY_ACCESS"))},dependencies:[iw,jw],styles:[".badged[_ngcontent-%COMP%]::after{margin-left:0}"]});var d3=function(a){var b=this;this.beapService=a;this.experimentId$=new W.ReplaySubject(1);this.featureState$=this.experimentId$.pipe(df(function(c){return b.beapService.getFeature(c)}));this.featureStage$=this.featureState$.pipe(B(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"}))};d3.prototype.ngOnChanges=function(){this.experimentId$.next(this.experimentId)};d3.prototype.ngOnInit=function(){};
d3.\u0275fac=function(a){return new (a||d3)(A(b3))};d3.\u0275cmp=Lc({type:d3,selectors:[["b-app-beap-state-indicator"]],inputs:{experimentId:"experimentId"},features:[ed],decls:2,vars:3,consts:[[3,"featureStage"]],template:function(a,b){a&1&&(I(0,"b-feature-stage-label",0),T(1,"async"));if(a&2){var c;D("featureStage",null!==(c=V(1,1,b.featureStage$))&&void 0!==c?c:void 0)}},dependencies:[c3,mw],encapsulation:2});var e3=function(){};e3.\u0275fac=function(a){return new (a||e3)};e3.\u0275mod=Nc({type:e3});e3.\u0275inj=wc({imports:[SH]});var f3=function(){};f3.\u0275fac=function(a){return new (a||f3)};f3.\u0275mod=Nc({type:f3});f3.\u0275inj=wc({imports:[SH,e3]});var g3=function(a){this.domSafe=a;this.buttonLabel="";this.alertMode=this.menuMode=!1},Lhb=function(a){rm(a.domSafe,"https://g3doc.corp.google.com/company/teams/buganizer/release-notes/b3-releasenotes.md")};g3.\u0275fac=function(a){return new (a||g3)(A(IE))};
g3.\u0275cmp=Lc({type:g3,selectors:[["b-whats-new-button"]],inputs:{buttonLabel:"buttonLabel",menuMode:"menuMode",alertMode:"alertMode"},decls:2,vars:2,consts:[["mat-icon-button","","class","gmat-button","aria-label","Open release notes in a new tab",3,"matTooltip","click",4,"ngIf"],["mat-menu-item","","aria-label","Open release notes in a new tab",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Open release notes in a new tab",1,"gmat-button",3,"matTooltip","click"],[3,"svgIcon"],["mat-menu-item",
"","aria-label","Open release notes in a new tab",3,"click"]],template:function(a,b){a&1&&C(0,Mhb,3,3,"button",0)(1,Nhb,2,1,"button",1);a&2&&(D("ngIf",!b.menuMode),y(),D("ngIf",b.menuMode))},dependencies:[dw,hB,nA,FC,PC],styles:["[_nghost-%COMP%] { display: flex; }"]});var h3=function(a,b,c){Y.call(this);this.session=a;this.appsEvents=b;this.prefsManager=c;this.ThemePreferencesDensity=g1b;this.density="COMFORTABLE";this.enableWhatsNewDialog=tE(a,"enableWhatsNewDialog");this.enableBeap=tE(a,"enableBeap")};X(h3,Y);h3.\u0275dir=Y.\u0275dir;g=h3.prototype;g.ngOnInit=function(){var a=this;this.prefsManager.preferences$.pipe(ef(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})};h3.\u0275fac=function(a){return new (a||h3)(A(nt),A(RH),A(BE))};
h3.\u0275cmp=Lc({type:h3,selectors:[["b-app-settings-menu"]],features:[nf],decls:28,vars:13,consts:[["mat-icon-button","","matTooltip","Settings","aria-label","Settings",1,"gmat-button",3,"disabled","matMenuTriggerFor"],["svgIcon","settings-outline",1,"icon-m"],["settingsMenu","matMenu"],[1,"b-menu-header"],["mat-menu-item","","role","menuitemcheckbox","aria-label","set display density to comfortable",3,"click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],["mat-menu-item","","role",
"menuitemcheckbox","aria-label","set display density to cozy",3,"click"],["mat-menu-item","","role","menuitemcheckbox","aria-label","set display density to compact",3,"click"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"click",4,"internalOnly"],["mat-menu-item","","href","/settings/early-access",4,"ngIf"],[4,"ngIf"],["mat-menu-item","","href","/settings/early-access"],["featureStage","TEAM_FOOD","matTooltip","Teamfood"],["buttonLabel","Release Notes",3,"menuMode"]],template:function(a,b){a&
1&&(E(0,"button",0),I(1,"mat-icon",1),G(),E(2,"mat-menu",null,2)(4,"div",3),R(5,"Display Density"),G(),E(6,"button",4),M("click",function(){return b.setDensity(b.ThemePreferencesDensity.COMFORTABLE)}),E(7,"span",5),I(8,"mat-icon",6),G(),R(9," Comfortable "),G(),E(10,"button",7),M("click",function(){return b.setDensity(b.ThemePreferencesDensity.COZY)}),E(11,"span",5),I(12,"mat-icon",6),G(),R(13," Cozy "),G(),E(14,"button",8),M("click",function(){return b.setDensity(b.ThemePreferencesDensity.COMPACT)}),
E(15,"span",5),I(16,"mat-icon",6),G(),R(17," Compact "),G(),I(18,"mat-divider"),E(19,"button",9),M("click",function(d){return b.browseComponents(d)}),R(20,"Browse components"),G(),E(21,"button",9),M("click",function(d){return b.manageHotlists(d)}),R(22,"Manage hotlists"),G(),C(23,Ohb,2,0,"button",10),E(24,"button",9),M("click",function(d){b.appsEvents.topBarEvents.openSettings.next({newTab:d.ctrlKey||d.metaKey})}),R(25,"Settings"),G(),C(26,Phb,3,0,"a",11)(27,Qhb,3,1,"ng-container",12),G());if(a&2){var c=
Q(3);D("disabled",b.session.isAnonymous())("matMenuTriggerFor",c);y(6);yf("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COMFORTABLE);pf("aria-checked",b.density===b.ThemePreferencesDensity.COMFORTABLE);y(4);yf("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COZY);pf("aria-checked",b.density===b.ThemePreferencesDensity.COZY);y(4);yf("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COMPACT);pf("aria-checked",b.density===b.ThemePreferencesDensity.COMPACT);y(12);D("ngIf",
b.enableBeap);y();D("ngIf",b.enableWhatsNewDialog)}},dependencies:[dw,hB,HC,FC,GC,nA,zP,PC,g3,sS,c3],encapsulation:2,changeDetection:0});var i3=function(a){this.theme=a;this.isDark=!1;this.iconName="dark-mode-filled"};i3.prototype.ngOnInit=function(){this.theme.loadLocalDarkmode();UJc(this)};var UJc=function(a){a.isDark=a.theme.clientDarkmodeSubject.getValue();a.iconName=a.isDark?"brightness-high":"dark-mode-filled"};i3.\u0275fac=function(a){return new (a||i3)(A(eS))};
i3.\u0275cmp=Lc({type:i3,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&&(E(0,"button",0),M("click",function(){var c=b.theme;c.setLocalDarkmode(!c.clientDarkmodeSubject.getValue());c.clientStreamzService&&rC(c.clientStreamzService,"toggleDarkmode",!c.clientDarkmodeSubject.getValue());yjc(c,!c.clientDarkmodeSubject.getValue());UJc(b)}),
I(1,"mat-icon",1),G());a&2&&(y(),D("svgIcon",b.iconName))},dependencies:[hB,nA,PC],encapsulation:2});var j3=function(a,b,c,d){this.session=a;this.userFeedback=b;this.domSafe=c;this.docLinks=d;this.enableWhatsNewDialog=tE(a,"enableWhatsNewDialog");this.majorReleaseNotesUpdated=tE(a,"majorReleaseNotesUpdated")};j3.prototype.openFeedbackDialog=function(){this.userFeedback.startFeedback()};j3.\u0275fac=function(a){return new (a||j3)(A(nt),A(gS),A(IE),A(jG))};
j3.\u0275cmp=Lc({type:j3,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&&(I(0,"theme-change-btn"),C(1,Rhb,1,1,"b-whats-new-button",0)(2,Shb,2,0,"button",1),E(3,"button",2),M("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)}),I(4,"mat-icon",3),G(),I(5,"b-app-settings-menu"));a&2&&(y(),D("ngIf",b.enableWhatsNewDialog))},
dependencies:[dw,hB,nA,PC,g3,sS,i3,h3],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 VJc=function(a,b){this.currentTracker=a;this.appSearchState=b;this.isTrackerExpanded=!1};VJc.\u0275fac=function(a){return new (a||VJc)(A(IM),A(KM))};
VJc.\u0275cmp=Lc({type:VJc,selectors:[["tracker-switcher"]],inputs:{associatedTrackers:"associatedTrackers"},decls:7,vars:3,consts:[["mat-icon-button","","matTooltip","Tracker menu",1,"tracker-menu-button",3,"matMenuTriggerFor","menuOpened","menuClosed"],["svgIcon","arrow-dropdown"],["xPosition","before"],["trackerMenu","matMenu"],[1,"tracker-menu-label"],["mat-menu-item","","role","menuitemcheckbox",3,"value","click",4,"ngFor","ngForOf"],["mat-menu-item","","role","menuitemcheckbox",3,"value","click"],
["alt","Tracker Logo Image",1,"tracker-menu-item-logo",3,"src"],[1,"tracker-menu-item-name"]],template:function(a,b){a&1&&(E(0,"button",0),M("menuOpened",function(){return b.isTrackerExpanded=!0})("menuClosed",function(){return b.isTrackerExpanded=!1}),I(1,"mat-icon",1),G(),E(2,"mat-menu",2,3)(4,"span",4),R(5,"Select a tracker"),G(),C(6,Thb,4,4,"button",5),G());if(a&2){var c=Q(3);D("matMenuTriggerFor",c);pf("aria-label",b.isTrackerExpanded?"Expanded tracker menu":"Collapsed tracker menu");y(6);D("ngForOf",
b.associatedTrackers)}},dependencies:[hw,hB,nA,HC,FC,GC,PC],styles:[".tracker-menu-button[_ngcontent-%COMP%]{color:#3c4043;color:var(--gfx)}mat-icon[_ngcontent-%COMP%]{line-height:0}.tracker-menu-label[_ngcontent-%COMP%]{display:inline-block;padding:8px}.mat-menu-item[_ngcontent-%COMP%]{max-width:none;height:auto;overflow:visible;padding:8px 25px}.mat-menu-item[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin:0px}.tracker-menu-item-logo[_ngcontent-%COMP%]{height:40px;vertical-align:middle;width:40px;margin-right:12px}.tracker-menu-item-name[_ngcontent-%COMP%]{color:#3c4043;color:var(--gfx);font-size:.8125rem;white-space:nowrap}/*# sourceMappingURL=tracker_switcher.css.map */"],
changeDetection:0});var Vhb=function(a){return[a]},Whb=function(){return[]},k3=function(a){this.activeSession=a;this.clickMenu=new zv;this.showMenu=!1;this.clickLogo=new zv;this.chips=[]};k3.prototype.ngOnInit=function(){this.showMenu=!this.activeSession.isAnonymous()&&this.clickMenu.observed};k3.\u0275fac=function(a){return new (a||k3)(A(nt))};
k3.\u0275cmp=Lc({type:k3,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&&(Lf(),C(0,Uhb,2,0,"button",0),E(1,"a",1),M("click",function(){return b.clickLogo.emit()}),I(2,"img",2)(3,"img",3),E(4,"h1"),R(5),G()(),Mf(6),C(7,Xhb,2,5,"output",4));a&2&&(D("ngIf",b.showMenu),y(),pf("href",b.href?b.href:void 0,Pd),y(),D("src",b.imgSrc,Pd),y(),D("src",b.imgSrcDark||b.imgSrc,Pd),y(2),$f(b.name),y(2),D("ngForOf",b.chips))},dependencies:[gw,hw,dw,hB,nA],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 WJc=function(){return[]},l3=function(a,b){this.events=a;this.imageUrls=b;this.environmentType="QA";this.frontendAccessMode="INTERNAL";this.href="/";this.chips=[];this.name="Buganizer"};l3.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"})};
l3.prototype.ngOnChanges=function(a){if(a.tracker||a.frontendAccessMode)this.name=this.getAppName()};l3.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:Nh(this.frontendAccessMode,"unknown frontend access mode.")}};
Vg.Object.defineProperties(l3.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"}}});l3.\u0275fac=function(a){return new (a||l3)(A(RH),A(BR))};
l3.\u0275cmp=Lc({type:l3,selectors:[["b-app-logo"]],inputs:{environmentType:"environmentType",frontendAccessMode:"frontendAccessMode",tracker:"tracker",associatedTrackers:"associatedTrackers",href:"href"},features:[ed],decls:2,vars:7,consts:[[3,"name","href","chips","imgSrc","imgSrcDark","clickMenu"],[3,"associatedTrackers",4,"ngIf"],[3,"associatedTrackers"]],template:function(a,b){a&1&&(E(0,"app-logo",0),M("clickMenu",function(){return b.events.onClickAppMenuIcon.next()}),C(1,Yhb,1,1,"tracker-switcher",
1),G());if(a&2){var c;D("name",b.name)("href",b.href)("chips",b.chips)("imgSrc",b.imgSrc)("imgSrcDark",b.imgSrcDark);y();D("ngIf",0<(null!==(c=b.associatedTrackers)&&void 0!==c?c:eg(6,WJc)).length)}},dependencies:[dw,k3,VJc],encapsulation:2,changeDetection:0});var m3=function(){this.isActive=!1;this.optionClicked=new zv};m3.prototype.ngOnInit=function(){};m3.prototype.onClick=function(){this.optionClicked.emit(this.index)};m3.\u0275fac=function(a){return new (a||m3)};
m3.\u0275cmp=Lc({type:m3,selectors:[["b-app-search-auto-complete-option"]],hostVars:2,hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()});a&2&&yf("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&&(Lf(),E(0,"div",0),Mf(1),G())},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 n3=function(a,b,c){this.ref=a;this.hostElement=b;this.currentTracker=c;this.items=[];this.header=null;this.itemSelected=new zv;this.activeItemChanged=new zv;this.SPECIAL_ITEM_TYPES="issue hotlist savedsearch atom component customField team tracker".split(" ")};n3.prototype.ngOnChanges=function(a){a.items&&(0<this.items.length?(this.activeItemIndex=0,this.activeItemChanged.emit(this.items[0])):this.clearActiveItem(),this.ref.markForCheck())};n3.prototype.ngAfterViewInit=function(){};
var zib=function(a){var b=N(3);Kib(a);b.itemSelected.emit(a)};n3.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(),XJc(this))};
n3.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(),XJc(this))};var YJc=function(a){null!=a.activeItemIndex&&a.itemSelected.emit(a.items[a.activeItemIndex])};n3.prototype.clearActiveItem=function(){this.activeItemIndex=void 0;this.activeItemChanged.emit(void 0)};
var ZJc=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}},XJc=function(a){var b=a.itemElements.find(function(c,d){return d===a.activeItemIndex});b&&tab(b.nativeElement,a.hostElement.nativeElement)},Kib=function(a){$m(Sp.SEARCH,"autocomplete-select",a.completionCfg.type||"unknown_type",isNaN(Number(a.id))?1:Number(a.id))};n3.\u0275fac=function(a){return new (a||n3)(A(EF,2),A(Ad),A(IM))};
n3.\u0275cmp=Lc({type:n3,selectors:[["b-app-search-auto-complete-list"]],viewQuery:function(a,b){a&1&&Uf(m3,5,Ad);if(a&2){var c;Yf(c=Zf())&&(b.itemElements=c)}},inputs:{items:"items",header:"header"},outputs:{itemSelected:"itemSelected",activeItemChanged:"activeItemChanged"},features:[bg([EF]),ed],decls:3,vars:2,consts:[["class","header gmat-caption",4,"ngIf"],"role;listbox;aria-label;Search autocomplete list;id;b-search-box-autocomplete".split(";"),["role","option",3,"index","isActive","optionClicked",
4,"ngFor","ngForOf"],[1,"header","gmat-caption"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["noHotlistSelected",""],["noSavedSearchSelected",""],["noComponentSelected",""],[1,"margin-s-right"],[3,"accessLevel"],[3,"trackerId"],["noTrackerSelected",""],["noTeamSelected",""],["noSelectedCustomField",""],["role","option",3,"index","isActive","optionClicked"],[1,"monospaced","item-description"],[1,"item-description"],[4,"ngFor","ngForOf"],["role","button",3,"title","click"],[1,"item-description","item-de-emphasized"]],
template:function(a,b){a&1&&(C(0,tib,7,6,"div",0),E(1,"div",1),C(2,Lib,10,12,"b-app-search-auto-complete-option",2),G());a&2&&(D("ngIf",b.header&&b.header.type),y(2),D("ngForOf",b.items))},dependencies:[hw,dw,zR,DR,m3,nw],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 $Jc=["box"],aKc=["initialFocus"],bKc=["finalFocus"],o3=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 zv;this.onAdvancedSearchClose=new zv;this.onAdvancedSearchSubmit=new zv;this.onSaveSearch=new zv;this.dropdownStatus="closed";this.searchName="";this.searchHelpLink=this.documentationLinks.baseDocumentationUrl+"/guides/search-editor";
this.destroyed$=new W.Subject;this.currentQuery$=this.appSearchState.queryState$.pipe(B(function(d){return d.query}));this.autoCompleteItemSelected$=new W.Subject;this.isAnonymous=this.activeSession.isAnonymous()};
o3.prototype.ngOnInit=function(){var a=this;this.autoCompleteItemSelected$.pipe(gf(this.currentQuery$),ef(this.destroyed$)).subscribe(function(b){var c=l(b);b=c.next().value;c=c.next().value;b=b.completionCfg;a.appSearchState.queryState$.next({query:c.slice(0,b.startIdx)+b.completionValue+c.slice(b.endIdx),cursorPosition:null!=b.cursorIdx?b.cursorIdx:null==b.startIdx?b.completionValue.length:b.startIdx+b.completionValue.length,setViaInteraction:!1});a.inputBox.nativeElement.focus()})};
o3.prototype.ngAfterViewInit=function(){var a=this;this.appSearchState.queryState$.pipe(Ce(function(b){return!b.setViaInteraction}),ef(this.destroyed$)).subscribe(function(b){var c=b.cursorPosition;a.inputBox.nativeElement.value=b.query;null!=c&&(b=a.inputBox.nativeElement,Vec(b)&&(b.selectionStart=c,b.selectionEnd=c))})};o3.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var cKc=function(a){a.appSearchState.searchTriggered$.next("keyboard")},dKc=function(a,b){a.dropdownStatus="auto_complete";a.acList.clearActiveItem();a.appSearchState.queryState$.next({query:b,cursorPosition:a.getCursorPosition(),setViaInteraction:!0})};
o3.prototype.handleKeydown=function(a){switch(a.key){case "Escape":if(!p3(this))return;eKc(this);break;case "ArrowUp":if(!p3(this))return;this.acList.setPreviousItemActive();break;case "ArrowDown":if(!p3(this))return;this.acList.setNextItemActive();break;case "Tab":case "ArrowRight":if(!p3(this)){dKc(this,this.inputBox.nativeElement.value);return}YJc(this.acList);break;case "ArrowLeft":dKc(this,this.inputBox.nativeElement.value);return;case "Enter":p3(this)?null!=this.acList.activeItemIndex?YJc(this.acList):
cKc(this):cKc(this);break;default:return}a.preventDefault();a.stopPropagation()};o3.prototype.submitAdvancedSearch=function(){this.onAdvancedSearchSubmit.emit();fKc(this)};o3.prototype.getCursorPosition=function(){var a=Wec(this.inputBox.nativeElement,!0)[0];if(a===Wec(this.inputBox.nativeElement,!1)[1])return a};
var eKc=function(a){"auto_complete"===a.dropdownStatus&&(a.dropdownStatus="closed")},fKc=function(a){"advanced_search"===a.dropdownStatus&&(a.dropdownStatus="closed",a.onAdvancedSearchClose.emit())},p3=function(a){return"auto_complete"===a.dropdownStatus&&0<a.autoCompleteItems.length},gKc=function(a){return"auto_complete"===a.dropdownStatus&&null!=a.autoCompleteHeader},hKc=function(a){return"advanced_search"===a.dropdownStatus};
o3.prototype.saveSearch=function(){this.searchName&&(this.onSaveSearch.emit(this.searchName),this.searchName="",fKc(this))};var iKc=function(a,b){b.shiftKey&&"Tab"===b.key&&a.advancedSearchFinalFocus&&setTimeout(function(){return a.advancedSearchFinalFocus.nativeElement.focus()})},Mib=function(a){a.advancedSearchInitialFocus&&setTimeout(function(){return a.advancedSearchInitialFocus.nativeElement.focus()})};o3.\u0275fac=function(a){return new (a||o3)(A(jG),A(KM),A(nt))};
o3.\u0275cmp=Lc({type:o3,selectors:[["b-app-search-box"]],viewQuery:function(a,b){a&1&&(Uf(n3,7),Uf($Jc,5),Uf(aKc,7,Ad),Uf(bKc,7));if(a&2){var c;Yf(c=Zf())&&(b.acList=c.first);Yf(c=Zf())&&(b.inputBox=c.first);Yf(c=Zf())&&(b.advancedSearchInitialFocus=c.first);Yf(c=Zf())&&(b.advancedSearchFinalFocus=c.first)}},inputs:{placeholder:"placeholder",isSearchDisabled:"isSearchDisabled",autoCompleteItems:"autoCompleteItems",autoCompleteHeader:"autoCompleteHeader"},outputs:{onAdvancedSearchOpen:"onAdvancedSearchOpen",
onAdvancedSearchClose:"onAdvancedSearchClose",onAdvancedSearchSubmit:"onAdvancedSearchSubmit",onSaveSearch:"onSaveSearch"},ngContentSelectors:["*"],decls:24,vars:19,consts:[[1,"search-form-container","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,"placeholder","keydown","input","click","focus"],["box",""],["mat-icon-button","","aria-label","Show search options","matTooltip","Show search options",3,"click"],["svgIcon","arrow-dropdown",1,"icon-m"],["role","search",1,"search-dropdown"],[3,"items","header","itemSelected"],[1,"advanced-search"],["align","right",1,"advanced-search-header"],["mat-icon-button",
"","aria-label","Close advanced search","matTooltip","Close advanced search",1,"gmat-button",3,"disabled","keydown","click"],["initialFocus",""],["svgIcon","close",1,"icon-s"],["cdkScrollable","",1,"advanced-search-content"],[1,"advanced-search-footer"],["mat-flat-button","",1,"gmat-button","medium",3,"disabled","click"],["target","_blank",1,"keep-underline","search-help-link"],["svgIcon","pop-out",1,"icon-xs"],["class","save-search-container",4,"ngIf"],[1,"save-search-container"],["type","text",
"aria-label","Enter the name for saving this search.","placeholder","Save search as",3,"ngModel","ngModelChange","keydown.Tab","keydown.enter"],["finalFocus",""],["mat-icon-button","","aria-label","Save search","matTooltip","Save search",1,"gmat-button",3,"disabled","click"],["svgIcon","saved-search-18px",1,"icon-s"]],template:function(a,b){if(a&1){var c=u();Lf();E(0,"div",0);M("clickOutside",function(){eKc(b)});E(1,"div",1)(2,"button",2);M("click",function(){return cKc(b)});I(3,"mat-icon",3);G();
E(4,"textarea",4,5);M("keydown",function(d){return b.handleKeydown(d)})("input",function(){v(c);var d=Q(5);return x(dKc(b,d.value))})("click",function(){v(c);var d=Q(5);return x(dKc(b,d.value))})("focus",function(){b.dropdownStatus="auto_complete"});G();E(6,"button",6);M("click",function(){b.dropdownStatus="advanced_search";b.onAdvancedSearchOpen.emit()});I(7,"mat-icon",7);G()();E(8,"aside",8)(9,"b-app-search-auto-complete-list",9);M("itemSelected",function(d){return b.autoCompleteItemSelected$.next(d)});
G();E(10,"div",10)(11,"div",11)(12,"button",12,13);M("keydown",function(d){return iKc(b,d)})("click",function(){return fKc(b)});I(14,"mat-icon",14);G()();E(15,"div",15);Mf(16);G();E(17,"div",16)(18,"button",17);M("click",function(){return b.submitAdvancedSearch()});R(19," Search ");G();E(20,"a",18);R(21,"Search help ");I(22,"mat-icon",19);G();C(23,Nib,5,2,"div",20);G()()()()}a&2&&(yf("dropdown-opened",p3(b)||gKc(b)||hKc(b)),y(),yf("hidden",hKc(b)),y(3),D("placeholder",b.placeholder),pf("aria-activedescendant",
ZJc(b.acList))("aria-expanded",p3(b)||gKc(b)),y(4),yf("advanced-search-open",hKc(b)),y(),yf("hidden",!(p3(b)||gKc(b))),D("items",b.autoCompleteItems)("header",b.autoCompleteHeader),y(),yf("hidden",!hKc(b)),y(2),D("disabled",b.isSearchDisabled),y(6),D("disabled",b.isSearchDisabled),y(2),pf("href",b.searchHelpLink,Pd),y(3),D("ngIf",!b.isAnonymous))},dependencies:[dw,hB,ly,nA,PC,Dg,Hw,Ow,GE,WA,n3],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% - 8px * 2);min-height:40px;height:auto}.search-dropdown[_ngcontent-%COMP%]{max-height:0;overflow:hidden;top:40px;width:100%;transition:max-height .2s ease-in-out}.search-form-container.dropdown-opened[_ngcontent-%COMP%]   .search-dropdown[_ngcontent-%COMP%]{max-height:600px;padding-bottom:6px}.search-dropdown[_ngcontent-%COMP%]{padding-bottom:0}.search-form-container[_ngcontent-%COMP%]:focus-within, .search-form-container.dropdown-opened[_ngcontent-%COMP%]{box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);background-color:#fff;background-color:var(--surface-default)}.search-form-container[_ngcontent-%COMP%]:focus-within   textarea[_ngcontent-%COMP%], .search-form-container.dropdown-opened[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{color:#202124;color:var(--text-default)}.search-form-container[_ngcontent-%COMP%]:focus-within   input[_ngcontent-%COMP%], .search-form-container.dropdown-opened[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{color:#202124;color:var(--text-default)}.search-form-container[_ngcontent-%COMP%]:not(:focus-within):not(.dropdown-opened)   textarea[_ngcontent-%COMP%]{height:auto !important;overflow:hidden}.mat-icon-button[_ngcontent-%COMP%]{height:24px;width:24px;line-height:24px}.search-box-container[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}.search-box-container[_ngcontent-%COMP%]   .mat-icon-button[_ngcontent-%COMP%]{margin-top:8px}textarea[_ngcontent-%COMP%]{border:0;background-color:initial;outline:none;resize:none;padding:0;cursor:auto;color:#202124;color:var(--text-high-contrast);margin:10px 0;margin-left:5px;height:20px;line-height:20px;width:100%;overflow:auto}textarea[_ngcontent-%COMP%]:focus{border:0;padding:0;outline:none}textarea[_ngcontent-%COMP%]::-webkit-scrollbar{width:10px}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:rgba(0,0,0,0);border-radius:10px;border:0}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track:vertical{margin:5px 0}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track:horizontal{margin:0 5px}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:10px;background-color:rgba(0,0,0,.2)}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.4)}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background-color:rgba(0,0,0,.5)}.advanced-search[_ngcontent-%COMP%]{padding:6px 6px 0 6px}.advanced-search-content[_ngcontent-%COMP%]{overflow:auto;max-height:532px}.advanced-search-footer[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:6px}.search-help-link[_ngcontent-%COMP%]{margin-left:10px}.save-search-container[_ngcontent-%COMP%]{display:inline-flex;align-items:center;margin-left:auto;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:2px;padding:0 5px}.save-search-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:0;outline:none}[_nghost-%COMP%]     .bv2-adv-search-rule{background-color:#fff;background-color:var(--surface-default);display:flex;border-radius:10px;width:initial}[_nghost-%COMP%]     .bv2-adv-search-rule-title{display:flex}[_nghost-%COMP%]     .bv2-adv-search-rule-content{flex-grow:1;padding-right:25px;width:100%}[_nghost-%COMP%]     .bv2-adv-search-enum-item{min-width:130px;max-width:130px}[_nghost-%COMP%]     .bv2-adv-search-chip-content input:not(.override){border-radius:5px;border:1px solid;border-color:#dadce0;border-color:var(--divider);outline:0}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select{border-radius:5px;letter-spacing:0;min-width:105px;padding-right:24px}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select .goog-flat-menu-button-dropdown{border:0;height:initial;margin-top:initial;position:relative;right:initial;top:initial;width:initial}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled){border:1px solid;border-color:#dadce0;border-color:var(--divider);color:#3c4043;color:var(--gfx);padding-right:24px}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):hover, [_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):active, [_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):not(.mdc-ripple-upgraded):focus{padding-right:24px;border-color:#3c4043;border-color:var(--gfx);color:#202124;color:var(--text-default);box-shadow:none}[_nghost-%COMP%]     .goog-flat-menu-button.goog-flat-menu-button-open.jfk-select{background-color:#fff;background-color:var(--surface-default)}[_nghost-%COMP%]     .bv2-adv-search-custom-field-selection input:not(.override), [_nghost-%COMP%]     .bv2-adv-search-rule-content input:not(.override){border-radius:5px;border:1px solid;border-color:#dadce0;border-color:var(--divider);height:28px;margin:0;padding-left:10px;width:100%}[_nghost-%COMP%]     .bv2-adv-search-custom-field-selection input:not(.override):focus, [_nghost-%COMP%]     .bv2-adv-search-rule-content input:not(.override):focus{border-color:#3c4043;border-color:var(--gfx);outline:0}[_nghost-%COMP%]     .bv2-adv-search-chip-add-btn{margin-right:20px}[_nghost-%COMP%]     .bv2-adv-search-chip{display:inline-flex;align-items:center;border:none;background-color:#fff;background-color:var(--surface-default);height:32px;width:100%;margin-bottom:10px}[_nghost-%COMP%]     .bv2-adv-search-chip-container{display:flex;flex-direction:column;width:100%}[_nghost-%COMP%]     .bv2-adv-search-chip-content{width:100%}[_nghost-%COMP%]     .bv2-adv-search-chip-content input[type=text]:not(.override){width:calc(100% - 10px)}[_nghost-%COMP%]     .bv2-adv-search-chip-content .bv2-adv-search-chip-delete-btn{margin-left:10px}[_nghost-%COMP%]     .bv2-adv-search-chip-content-selectable .goog-flat-menu-button{height:32px;margin:0;width:100%;text-align:left}[_nghost-%COMP%]     .bv2-adv-search-chip-content-btn{display:inline-flex;align-items:center;font-family:"Google Sans",Roboto,Arial,sans-serif;height:32px;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:5px;box-sizing:border-box;color:#3c4043;color:var(--gfx)}[_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:hover, [_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:active, [_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:focus{border-color:#3c4043;border-color:var(--gfx);color:#202124;color:var(--text-default)}[_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:after{margin-left:auto;content:"";width:16px;height:16px;background:no-repeat url("https://www.gstatic.com/buganizer/img/v0/edit.svg") 0 -2px;margin-right:5px;opacity:.6}[_nghost-%COMP%]     .bv2-adv-search-chip-content-text{font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;font-weight:500;line-height:1rem;padding-left:12px;vertical-align:middle}/*# sourceMappingURL=app_search_box.css.map */'],
changeDetection:0});var jKc=function(a){this.currentTracker=a;this.logoEnvironmentType="QA";this.logoFrontendAccessMode="INTERNAL";this.isSearchDisabled=!1;this.searchBoxPlaceholder="";this.searchBoxAutoCompleteItems=[];this.searchBoxAutoCompleteHeader=null;this.searchBoxOnAdvancedSearchOpen=new zv;this.searchBoxOnAdvancedSearchClose=new zv;this.searchBoxOnAdvancedSearchSubmit=new zv;this.searchBoxOnSaveSearch=new zv},kKc=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()})};jKc.\u0275fac=function(a){return new (a||jKc)(A(IM))};
jKc.\u0275cmp=Lc({type:jKc,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:9,vars:12,consts:[[3,"environmentType","frontendAccessMode","tracker","associatedTrackers"],[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,"placeholder","autoCompleteItems","autoCompleteHeader","isSearchDisabled","onAdvancedSearchOpen","onAdvancedSearchClose","onAdvancedSearchSubmit","onSaveSearch"]],template:function(a,
b){a&1&&(Lf(),I(0,"b-app-logo",0),T(1,"async"),T(2,"async"),E(3,"div",1)(4,"button",2),M("click",function(){return kKc()})("keydown.enter",function(){return kKc()}),R(5," Skip Navigation "),G()(),E(6,"b-app-search-box",3),M("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)}),
Mf(7),G(),I(8,"b-app-actions"));a&2&&(D("environmentType",b.logoEnvironmentType)("frontendAccessMode",b.logoFrontendAccessMode)("tracker",V(1,8,b.currentTracker.tracker$))("associatedTrackers",V(2,10,b.currentTracker.associatedTrackers$)),y(6),D("placeholder",b.searchBoxPlaceholder)("autoCompleteItems",b.searchBoxAutoCompleteItems)("autoCompleteHeader",b.searchBoxAutoCompleteHeader)("isSearchDisabled",b.isSearchDisabled))},dependencies:[nA,l3,j3,o3,mw],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 q3=function(){};q3.\u0275fac=function(a){return new (a||q3)};q3.\u0275mod=Nc({type:q3});q3.\u0275inj=wc({imports:[SH,JA,$C,jR]});var r3=function(){};r3.\u0275fac=function(a){return new (a||r3)};r3.\u0275mod=Nc({type:r3});r3.\u0275inj=wc({imports:[SH,$C,IC,JD]});var s3=function(){};s3.\u0275fac=function(a){return new (a||s3)};s3.\u0275mod=Nc({type:s3});s3.\u0275inj=wc({imports:[SH,$C,IC,JD]});var t3=function(){};t3.\u0275fac=function(a){return new (a||t3)};t3.\u0275mod=Nc({type:t3});t3.\u0275inj=wc({imports:[SH,$C,JD]});var u3=function(){};u3.\u0275fac=function(a){return new (a||u3)};u3.\u0275mod=Nc({type:u3});u3.\u0275inj=wc({providers:[eS]});var v3=function(){};v3.\u0275fac=function(a){return new (a||v3)};v3.\u0275mod=Nc({type:v3});v3.\u0275inj=wc({imports:[SH,$C,JD,u3]});var w3=function(){};w3.\u0275fac=function(a){return new (a||w3)};w3.\u0275mod=Nc({type:w3});w3.\u0275inj=wc({imports:[SH,IC,$C,EP,JD,qy,dx,HE,s3,uS,t3,WR,YA,e3,v3,q3,r3,YR]});var x3=function(){};x3.\u0275fac=function(a){return new (a||x3)};x3.\u0275mod=Nc({type:x3});x3.\u0275inj=wc({imports:[SH,$C,JA]});var y3=function(){};y3.\u0275fac=function(a){return new (a||y3)};y3.\u0275mod=Nc({type:y3});y3.\u0275inj=wc({imports:[SH,dx,$C,ID,eB,JA,$R]});var z3=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 zv;this.selectedChange=new zv;this.cardTitleChange=new zv;this.onSaveButtonClicked=new zv;this.onCancelButtonClicked=
new zv;this.isInheritedChange=new zv;this.isExpanded=!1};z3.prototype.expand=function(){this.isExpanded=!0};z3.prototype.collapse=function(){this.isExpanded=!1};z3.prototype.onSave=function(){this.collapse();this.onSaveButtonClicked.emit()};z3.prototype.onCancel=function(){this.collapse();this.onCancelButtonClicked.emit()};z3.\u0275fac=function(a){return new (a||z3)};
z3.\u0275cmp=Lc({type:z3,selectors:[["b-collapsible-card"]],inputs:{cardTitle:"cardTitle",dropdownOptions:"dropdownOptions",selectedOption:"selectedOption",selected:"selected",disabled:"disabled",isSaveButtonDisabled:"isSaveButtonDisabled",showRequiredToggle:"showRequiredToggle",showDeleteButton:"showDeleteButton",showInheritedToggle:"showInheritedToggle",isInherited:"isInherited",inheritedDisabled:"inheritedDisabled",inheritedDisabledTooltipText:"inheritedDisabledTooltipText",placeholderForCardTitle:"placeholderForCardTitle",
ariaLabelForCardTitle:"ariaLabelForCardTitle"},outputs:{dropdownSelectionChanged:"dropdownSelectionChanged",selectedChange:"selectedChange",cardTitleChange:"cardTitleChange",onSaveButtonClicked:"onSaveButtonClicked",onCancelButtonClicked:"onCancelButtonClicked",isInheritedChange:"isInheritedChange"},ngContentSelectors:["*"],decls:11,vars:14,consts:[[1,"carded"],[1,"flex-kids-x","flex-cross-axis-centered","card-header"],[1,"collapsible-card-checkbox",3,"disabled","checked","aria-label","change"],[4,
"ngIf","ngIfElse"],["mat-icon-button","",3,"ngClass","click"],["svgIcon","chevron-left",4,"ngIf"],["svgIcon","arrow-down",4,"ngIf"],["expandedCardHeader",""],["class","expanded-card-container",4,"ngIf"],["class","expanded-card-actions",4,"ngIf"],[1,"card-title","heading-s"],["svgIcon","chevron-left"],["svgIcon","arrow-down"],["appearance","fill",1,"card-title"],["matInput","","type","text","required","","aria-required","true","maxlength","40","autocomplete","off",1,"heading-s",3,"placeholder","disabled",
"ngModel","ngModelChange"],["class","type-dropdown","appearance","outline",4,"ngIf"],["appearance","outline",1,"type-dropdown"],[3,"disabled","value","valueChange","selectionChange"],[4,"ngIf"],["class","ee-config-option",3,"value",4,"ngFor","ngForOf"],[1,"icon-s",3,"svgIcon"],[1,"ee-config-option",3,"value"],["class","icon-s",3,"svgIcon",4,"ngIf"],[1,"expanded-card-container"],[1,"expanded-card-actions"],["mat-raised-button","","color","primary",1,"gmat-button",3,"disabled","click"],["mat-button",
"","color","primary",1,"gmat-button","cancel-button",3,"disabled","click"],["mat-icon-button","","aria-label","Delete","class","delete-button",3,"disabled",4,"ngIf"],[3,"vertical",4,"ngIf"],["labelPosition","before",3,"disabled",4,"ngIf"],["class","inherited-toggle","labelPosition","before",3,"checked","disabled","matTooltip","matTooltipDisabled","change",4,"ngIf"],["mat-icon-button","","aria-label","Delete",1,"delete-button",3,"disabled"],["svgIcon","delete",1,"icon-m"],[3,"vertical"],["labelPosition",
"before",3,"disabled"],["labelPosition","before",1,"inherited-toggle",3,"checked","disabled","matTooltip","matTooltipDisabled","change"]],template:function(a,b){a&1&&(Lf(),E(0,"div",0)(1,"div",1)(2,"mat-checkbox",2),M("change",function(d){b.selected=d.checked;b.expand();b.selectedChange.emit(b.selected)}),G(),C(3,Oib,3,3,"ng-container",3),E(4,"button",4),M("click",function(){b.isExpanded?b.collapse():b.expand()}),C(5,Pib,1,0,"mat-icon",5)(6,Qib,1,0,"mat-icon",6),G(),C(7,Vib,3,7,"ng-template",null,
7,jg),G(),C(9,Wib,2,0,"div",8)(10,ajb,9,6,"div",9),G());if(a&2){var c=Q(8);pf("aria-expanded",b.isExpanded);y(2);yf("expanded-checkbox",b.isExpanded);D("disabled",b.disabled)("checked",b.selected)("aria-label",b.cardTitle);y();D("ngIf",!b.isExpanded)("ngIfElse",c);y();D("ngClass",b.isExpanded?"collapse-toggle":"expand-toggle");pf("aria-label",b.isExpanded?"Collapse editor":"Expand editor");y();D("ngIf",b.isExpanded);y();D("ngIf",!b.isExpanded);y(3);D("ngIf",b.isExpanded);y();D("ngIf",b.isExpanded)}},
dependencies:[gw,hw,dw,hB,Dg,Hw,$w,ax,Ow,WE,nA,jU,kU,dB,bB,pN,oN,qA,zP,fB,PC],styles:['.card-title[_ngcontent-%COMP%]{margin-left:10px;width:440px}.expand-toggle[_ngcontent-%COMP%]{margin-left:auto}.collapse-toggle[_ngcontent-%COMP%]{align-self:baseline}.expanded-card-container[_ngcontent-%COMP%]{padding:18px}.expanded-card-actions[_ngcontent-%COMP%]{display:flex;align-items:center;border-top:1px solid;border-top-color:#9aa0a6;border-top-color:var(--c500);padding-top:16px}.expanded-card-actions[_ngcontent-%COMP%]   .cancel-button[_ngcontent-%COMP%]{width:80px;margin-left:16px}.expanded-card-actions[_ngcontent-%COMP%]   .delete-button[_ngcontent-%COMP%]{margin-left:auto;margin-right:16px}.expanded-card-actions[_ngcontent-%COMP%]   mat-slide-toggle[_ngcontent-%COMP%]{margin-left:16px}.expanded-card-actions[_ngcontent-%COMP%]   mat-divider[_ngcontent-%COMP%]{height:40px}.expanded-card-actions[_ngcontent-%COMP%]   .inherited-toggle[_ngcontent-%COMP%]{margin-left:auto}[_nghost-%COMP%]     .mat-select-value, .ee-config-option[_ngcontent-%COMP%]{font-family:"Google Sans Display",Roboto,Arial,sans-serif;font-weight:500;color:#5f6368;color:var(--text-muted)}.type-dropdown[_ngcontent-%COMP%]{margin-left:auto;margin-right:8px}mat-select-trigger[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}mat-select-trigger[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{vertical-align:middle}[_nghost-%COMP%]     .expanded-checkbox .mat-checkbox-inner-container{margin-top:-10px}mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}']});var A3=function(){};A3.\u0275fac=function(a){return new (a||A3)};A3.\u0275mod=Nc({type:A3});A3.\u0275inj=wc({imports:[SH,dx,kN,$C,mU,qN,EP,ID,JD]});var B3=function(a){this.internalArray_=m(a,0,B3.messageId)};X(B3,n);B3.prototype.getIt=function(){return $i(this,Uk,4)};B3.prototype.setIt=function(a){return li(this,Uk,4,a)};B3.prototype.hasIt=function(){return ji(this,Uk,4)};B3.messageId="b.FieldConfig";var C3=function(a){this.internalArray_=m(a,0,C3.messageId)};X(C3,n);C3.prototype.setFieldId=function(a){return Tt(this,1,sl,a)};C3.repeatedFields_=[1];C3.messageId="b.ReorderFieldsRequest";var D3=function(a){this.executor=a};D3.prototype.updateCustomFieldState=function(a,b,c){var d={customFieldId:b};var e=new B3;var f=e.setIt;d=(new Uk).setFieldId(Sua(d));c=Sj(d,4,j1b[c]);c=Ik(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:B3}).pipe(B(bjb))};D3.prototype.reorder=function(a,b){b=b.map(Cwa);var c=new C3;b=gl(c,1,b);return this.executor.post({url:"action/components/"+a+"/reorder",body:b,responseConstructor:null})};
D3.\u0275fac=function(a){return new (a||D3)(p(QD))};D3.\u0275prov=vc({token:D3,factory:D3.\u0275fac,providedIn:"root"});var lKc=["SILENT","MINOR","MAJOR"];var mKc=["fieldStateMenu"],fjb=function(a){return{type:a}},E3=function(a,b,c,d,e,f,h,k,q,t,w){Y.call(this);var z=this;this.customFieldsApi=a;this.checkBeforeExit=b;this.butterBar=c;this.analytics=d;this.routeParams=e;this.componentActions=f;this.fieldConfigService=h;this.documentationLinks=k;this.paths=q;this.confirmationDialog=t;this.appEvents=w;this.FieldType=amc;this.ListFieldType=Rmc;this.getSingleEditFieldType=RSa;this.getListFieldType=yUa;this.isRepeated=Oua;this.typeChoices=["TEXT","DATE",
"ENUM","NUMERIC"];this.secondaryTypes=["Single","Multiple"];this.componentIdsToNames={};this.isLoading=!1;this.editableField=null;this.allowedValues=[];this.originalEditableFieldValue=null;this.msgFieldStateTip="Whether the field is visible in this component";this.significanceChoices=lKc;this.componentId=Zh(this.routeParams.componentId);this.subscriptions.add(wY(b,function(){return z.hasUnsavedChanges()},!0))};X(E3,Y);E3.\u0275dir=Y.\u0275dir;E3.prototype.ngOnInit=function(){this.loadCustomFields()};
E3.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};
E3.prototype.editField=function(a){window.scrollTo({top:0,behavior:"smooth"});if(!this.hasUnsavedChanges()||rtc())this.editableField=Uh(this.customFields[a]),this.originalEditableFieldValue=Uh(this.editableField),this.serverError=null,this.setType(this.editableField.type),jjb(this,this.editableField.allowedValue)};
var vjb=function(a,b){var c=a.customFields[b];a.confirmationDialog.open({title:"Deleting field: "+c.name,content:gh("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)}})};
E3.prototype.doDelete=function(a){var b=this;Ks(this.butterBar,"Deleting field: "+a.name,2E3);this.customFieldsApi.delete(this.componentId,a.customFieldId).then(function(){b.appEvents.componentModified.next(b.componentId);kp(b.analytics,"customField","delete");Ks(b.butterBar,"Deleted field: "+a.name,2E3);b.loadCustomFields()})};
E3.prototype.save=function(){var a=this;this.isLoading=!0;var b=function(){a.appEvents.componentModified.next(a.componentId);a.loadCustomFields();kp(a.analytics,"customField",d)},c=function(e){a.serverError=tn(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)};
E3.prototype.updateCustomFieldState=function(a,b,c){var d=this;return new Promise(function(e,f){d.fieldConfigService.updateCustomFieldState(d.componentId,a.customFieldId,b).pipe(ef(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}kp(d.analytics,"customField","updateFieldConfig",h);d.componentActions.getUncached(d.componentId).then(function(){return d.loadCustomFields(!0)}).then(function(){setTimeout(function(){var k,
q;null==(k=d.fieldStateMenus)||null==(q=k.get(c))||q.focus()})}).then(function(){e(void 0)})},function(h){d.serverError=tn(h);d.isLoading=!1;f(h)})})};E3.prototype.cancel=function(){this.originalEditableFieldValue=this.editableField=null};
var mjb=function(a,b){var c=a.editableField.type,d="TEXT"===c&&Vh(b)?b:void 0,e="DATE"===c&&b&&JAa(b)?b:void 0,f="ENUM"===c&&Vh(b)?b:void 0,h="NUMERIC"===c&&isa(b)?b:void 0,k="REPEATED_TEXT"===c&&Wh(b)?{values:b}:void 0,q;if(q="REPEATED_DATE"===c)q=Array.isArray(b)&&b.every(JAa);q=q?{values:b}:void 0;var t="REPEATED_ENUM"===c&&Wh(b)?{values:b}:void 0;b="REPEATED_NUMERIC"===c&&jsa(b)?{values:b}:void 0;a.editableField.typedDefaultValue={customFieldId:a.editableField.customFieldId,textValue:d,dateValue:e,
enumValue:f,numericValue:h,repeatedTextValue:k,repeatedDateValue:q,repeatedEnumValue:t,repeatedNumericValue:b}};
E3.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 jjb=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}}):[]};E3.prototype.hasUnsavedChanges=function(){return this.editableField&&!Th(this.editableField,this.originalEditableFieldValue)?!0:!1};
E3.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(k,q){return Kq(k.name,q.name)};b.customFields=e.filter(function(k){return b.componentId===k.componentId}).sort(c);b.inheritedCustomFields=e.filter(function(k){return b.componentId!==k.componentId}).sort(c);b.appEvents.customFieldsModified.next(e)})};var Bjb=function(a,b){return a.fieldsEnabledOnParentComponent.has(b)?a.fieldsEnabledOnParentComponent.get(b):!0};E3.prototype.trackClick=function(a){kp(this.analytics,"editComponent","click",a)};
var njb=function(a){var b;return(a=null==(b=a.editableField)?void 0:b.typedDefaultValue)?jn(a):null};E3.prototype.getListFieldValues=function(){var a,b=null==(a=this.editableField)?void 0:a.typedDefaultValue,c,d;return null!=(d=null==(c=b?jn(b):null)?void 0:c.values)?d:null};E3.prototype.setFieldSignificance=function(a){this.editableField.fieldSignificance=a};E3.\u0275fac=function(a){return new (a||E3)(A(YH),A(vY),A(hG),A(MI),A(xK),A(xR),A(D3),A(jG),A(iI),A(lG),A(RH))};
E3.\u0275cmp=Lc({type:E3,selectors:[["b-component-custom-fields"]],viewQuery:function(a,b){a&1&&Uf(mKc,5);if(a&2){var c;Yf(c=Zf())&&(b.fieldStateMenus=c)}},inputs:{editMode:"editMode",isSaving:"isSaving",component:"component",parentComponent:"parentComponent"},features:[nf,ed],decls:4,vars:3,consts:[[1,"edit-resource-panel","edit-component-field-parent"],["class","edit-custom-field-panel",4,"ngIf"],["class","custom-fields-loader",4,"ngIf"],[4,"ngIf"],[1,"edit-custom-field-panel"],["class","bv2-validation-error-banner",
4,"ngIf"],["name","editForm",1,"edit-custom-field-form"],[1,"edit-field"],["for","field-name",1,"help-label"],["name","fieldName","type","text","required","","id","field-name",3,"bFocus","ngModel","disabled","ngModelChange"],["for","field-description",1,"help-label"],["name","fieldDescription","id","field-description",3,"ngModel","disabled","ngModelChange"],[1,"edit-custom-field-table"],[1,"field-label-with-help","bv2-component-custom-field-label"],["id","field-type-label",1,"help-label",3,"onedevHovercardTrigger"],
["typeHelp",""],["role","dialog","aria-label","Type help hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["mat-button","","mat-stroked-button","","aria-labelledby","field-type-label",1,"bv2-enum-field","gmat-button",3,"matMenuTriggerFor","disabled"],["name","arrow-dropdown","size","small"],["enumMenu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData",4,"ngFor","ngForOf"],["secondaryMenu","matMenu"],["matMenuContent",""],["class","edit-field",4,"ngIf"],
["class","bv2-component-custom-field-label","id","field-default-label",4,"ngIf"],["aria-labelledby","field-default-label",3,"name","type","tooltip","value","choices","showEnumTitle","disabled","truncate","clearable","valueChange",4,"ngIf"],["class","bv2-component-custom-field-label","id","field-repeated-default-label",4,"ngIf"],["aria-labelledby","field-repeated-default-label",3,"defaultLineCount","type","tooltip","values","enumChoices","isDefaultOrAllowedValues","listFieldDisabled","truncate","valuesChange",
4,"ngIf"],["id","field-required-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-required-label",3,"name","type","tooltip","value","valueChange"],["id","field-significance-label","tabindex","0","aria-label","Field Significance - Press alt+right arrow to learn more.",1,"help-label",3,"onedevHovercardTrigger"],["significanceHelp",""],[1,"onedev-hovercard-content"],["aria-label","See email settings for more details.","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],
["mat-button","","mat-stroked-button","","type","button","aria-labelledby","field-significance-label",1,"keep-focus-ring","bv2-enum-field","gmat-button",3,"matMenuTriggerFor"],["significanceMenu","matMenu"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf"],["mat-raised-button","","color","primary","type","button",3,"disabled","click"],["mat-stroked-button","","type","button",3,"click"],[1,"bv2-validation-error-banner"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],
["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],["id","field-enums-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-enums-label",3,"defaultLineCount","type","values","listFieldDisabled","preventDuplicates","isDefaultOrAllowedValues","truncate","valuesChange"],["id","field-default-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-default-label",3,"name","type","tooltip","value","choices","showEnumTitle","disabled","truncate",
"clearable","valueChange"],["id","field-repeated-default-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-repeated-default-label",3,"defaultLineCount","type","tooltip","values","enumChoices","isDefaultOrAllowedValues","listFieldDisabled","truncate","valuesChange"],["mat-menu-item","","type","button",3,"click"],[1,"custom-fields-loader"],[3,"large"],[1,"custom-fields-table"],[3,"ngClass",4,"ngFor","ngForOf"],["class","edit-button-row",4,"ngIf"],[3,"ngClass"],[3,"customFieldValue"],
["class","action-buttons",4,"ngIf"],[1,"action-buttons"],["mat-stroked-button","",3,"click"],["colspan","9",1,"custom-fields-inherited-parent"],["colspan","9"],[1,"ancestor-component-note"],[1,"header-label"],[3,"onedevHovercardTrigger","href","click"],["card","onedevHovercard"],[4,"onedevHovercardLazyBody"],[3,"fieldName","fieldState","enabledOnParent","disabled","matTooltip","fieldStateChange",4,"ngIf"],[3,"onedevIsHovercardReady","componentId"],["cardBody",""],[3,"fieldName","fieldState","enabledOnParent",
"disabled","matTooltip","fieldStateChange"],["fieldStateMenu",""],["routerLink","./","fragment","fieldOrdering",1,"keep-underline"],[1,"edit-button-row"],["mat-raised-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(E(0,"div",0),C(1,sjb,68,32,"div",1)(2,tjb,2,1,"div",2)(3,Hjb,26,7,"div",3),G());a&2&&(y(),D("ngIf",b.editableField&&!b.isLoading),y(),D("ngIf",b.isLoading),y(),D("ngIf",!b.isLoading))},dependencies:[gw,hw,dw,Pw,Dg,Hw,Iw,$w,Ow,Mw,LU,rU,yP,u0,LF,MF,QF,NF,IT,PC,HC,FC,
GC,EC,nA,pY,RU,HQ,xF,MK,LK,OK],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 F3=function(){};F3.\u0275fac=function(a){return new (a||F3)};F3.\u0275mod=Nc({type:F3});F3.\u0275inj=wc({imports:[SH,dx,MU,sU,DP,v0,aN,NT,JD,IC,$C,qN,qY,SU,WK,kR,BF]});var G3=function(){this.options=[];this.disabled=!1;this.removeAtIndex=new zv;this.addRow=new zv;this.optionsChange=new zv};G3.prototype.valueChange=function(a,b){this.options[b].value=Number(a.target.value);this.optionsChange.emit(this.options)};G3.prototype.drop=function(a){Bp(this.options,a.previousIndex,a.currentIndex);this.optionsChange.emit(this.options)};G3.\u0275fac=function(a){return new (a||G3)};
G3.\u0275cmp=Lc({type:G3,selectors:[["b-config-grid"]],inputs:{options:"options",disabled:"disabled"},outputs:{removeAtIndex:"removeAtIndex",addRow:"addRow",optionsChange:"optionsChange"},decls:11,vars:7,consts:[[1,"flex-kids-x"],[1,"padded-sides","heading-xs","flex-kids-y"],[1,"config-title","config-title-container"],[1,"padded-sides","heading-xs","config-title-container","flex-kids-x"],["aria-label","Average days. All estimated effort types map to an average number of days.",1,"config-title"],["svgIcon",
"help-outline","tabindex","0","aria-hidden","false","aria-label","All estimated effort types map to an average number of days.",1,"icon-xs",3,"matTooltip"],["cdkDropList","",1,"options-container",3,"cdkDropListDropped"],["cdkDrag","",4,"ngFor","ngForOf"],["mat-button","","class","gmat-button add-row-button",3,"click",4,"ngIf"],["cdkDrag",""],[1,"flex-kids-x","flex-cross-axis-centered","option-row"],["cdkDragHandle","","svgIcon","drag-indicator",1,"drag-handle"],[3,"appearance"],["matInput","","aria-label",
"Dropdown value","autocomplete","off","maxlength","40",1,"input-text",3,"value","placeholder","disabled","change"],["displayInput","matInput"],["matInput","","aria-label","Average days","autocomplete","off","type","number",1,"input-text",3,"value","placeholder","disabled","change"],["valueInput","matInput"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["svgIcon","close",1,"icon-s","delete-icon"],["mat-button","",1,"gmat-button","add-row-button",3,"click"]],template:function(a,
b){a&1&&(E(0,"div",0)(1,"div",1)(2,"span",2),R(3," Dropdown value "),G()(),E(4,"div",3)(5,"span",4),R(6," Average days "),G(),I(7,"mat-icon",5),G()(),E(8,"div",6),M("cdkDropListDropped",function(c){return b.drop(c)}),C(9,Jjb,12,13,"div",7),G(),C(10,Kjb,2,0,"button",8));a&2&&(y(2),yf("muted",b.disabled),y(3),yf("muted",b.disabled),y(2),D("matTooltip","All estimated effort types map to an average number of days."),y(2),D("ngForOf",b.options),y(),D("ngIf",!b.disabled))},dependencies:[hw,dw,hB,dB,fB,
nA,PC,JU,IU,EU],styles:[".delete-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}.add-row-button[_ngcontent-%COMP%]{font-size:1rem;color:#5f6368;color:var(--text-muted);font-style:normal;font-weight:400;font-family:Roboto,Arial,sans-serif}.options-container[_ngcontent-%COMP%]{margin-left:-32px}.option-row[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.option-row[_ngcontent-%COMP%]   .drag-handle[_ngcontent-%COMP%]{cursor:move;visibility:hidden;margin-top:8px;margin-left:8px}.option-row[_ngcontent-%COMP%]:hover   .drag-handle[_ngcontent-%COMP%]{visibility:visible;color:#dadce0;color:var(--c300)}\n/*# sourceMappingURL=config_grid.css.map */"]});var H3=function(){this.disabled=!1;this.valueChange=new zv};H3.prototype.onValueChange=function(a){this.valueChange.emit(Number(a.target.value))};H3.\u0275fac=function(a){return new (a||H3)};
H3.\u0275cmp=Lc({type:H3,selectors:[["b-numeric-config"]],inputs:{disabled:"disabled",value:"value"},outputs:{valueChange:"valueChange"},decls:14,vars:8,consts:[[1,"flex-kids-x"],[1,"padded-sides","heading-xs","flex-kids-y"],[1,"config-title","config-title-container"],[1,"type-m","margin-y","disabled-time-val"],[1,"config-title-container","flex-kids-x"],["id","config-label","aria-label","Average days. All estimated effort types map to an average number of days.",1,"config-title"],["svgIcon","help-outline",
"tabindex","0","aria-hidden","false","aria-label","All estimated effort types map to an average number of days.",1,"icon-xs",3,"matTooltip"],[3,"appearance"],["matInput","","type","number","aria-labelledby","config-label",1,"input-text",3,"disabled","value","change"],["timeInput","matInput"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1)(2,"span",2),R(3," Time "),G(),E(4,"span",3),R(5,"1"),G()(),E(6,"div",1)(7,"div",4)(8,"span",5),R(9," Average days "),G(),I(10,"mat-icon",6),G(),E(11,"mat-form-field",
7)(12,"input",8,9),M("change",function(d){return b.onValueChange(d)}),G()()()());if(a&2){var c=Q(13);y(2);yf("muted",b.disabled);y(6);yf("muted",b.disabled);y(2);D("matTooltip","All estimated effort types map to an average number of days.");y();D("appearance",c.focused?"standard":"none");y();D("disabled",b.disabled)("value",b.value)}},dependencies:[hB,dB,fB,PC],styles:[".disabled-time-val[_ngcontent-%COMP%]{color:#bdc1c6;color:var(--text-disabled);font-size:1rem;line-height:24px;font-weight:400;width:168px}\n/*# sourceMappingURL=numeric_config.css.map */"]});var J3=function(a){this.activeSession=a;this.disabled=!1;this.updateEffortSpec=new zv;this.configurationOptions=[nKc,oKc,I3];this.estimatedEffortFieldEnabled=this.inherit=!1;this.name="Estimated effort";this.numericSpecMultiplier=1;this.enumSpecOptions=[];this.aggregationRules=w1b;this.selectedAggregationRule=this.aggregationRules.SUM;this.enableAggregationRules=tE(this.activeSession,"enableAggregationRules")};
J3.prototype.ngOnInit=function(){(this.originalEffortSpec=this.effortSpec)&&this.effortSpec.numericSpec&&(this.originalSelectedEffortConfig=I3)};J3.prototype.ngOnChanges=function(a){a.effortSpec&&this.effortSpec&&(this.originalEffortSpec=Uh(this.effortSpec),this.setValues(this.effortSpec))};
J3.prototype.setValues=function(a){if(a.numericSpec){this.selectedEffortConfig=I3;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(k){return{label:k.label,value:k.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 pKc=function(a){var b,c,d;if((null==(b=a.effortSpec)?0:b.enumSpec)&&!a.selectedEffortConfig||(null==(c=a.selectedEffortConfig)?void 0:c.displayText)===nKc.displayText||(null==(d=a.selectedEffortConfig)?void 0:d.displayText)===oKc.displayText)return"enum";var e;return(null==(e=a.selectedEffortConfig)?void 0:e.displayText)===I3.displayText?"numeric":"empty"};J3.prototype.addRow=function(){this.enumSpecOptions.push({label:null,value:null})};
J3.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=l(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 qKc=function(a){a.selectedEffortConfig=void 0;a.enumSpecOptions=[];a.effortSpec=void 0;a.name="Estimated effort"};J3.\u0275fac=function(a){return new (a||J3)(A(nt))};
J3.\u0275cmp=Lc({type:J3,selectors:[["b-estimated-effort-config"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateEffortSpec:"updateEffortSpec"},features:[ed],decls:8,vars:14,consts:[["placeholderForCardTitle","Enter the estimated effort field title (required)","ariaLabelForCardTitle","Estimated effort field title",3,"cardTitle","dropdownOptions","selectedOption","disabled","selected","isSaveButtonDisabled","showInheritedToggle","isInherited",
"inheritedDisabled","cardTitleChange","dropdownSelectionChanged","onSaveButtonClicked","selectedChange","onCancelButtonClicked","isInheritedChange"],[1,"content",3,"ngSwitch"],[4,"ngSwitchCase"],["class","margin-top",4,"ngIf"],["enumConfig",""],[4,"ngTemplateOutlet"],[3,"disabled","value","valueChange"],[1,"margin-top"],["id","aggregation-rule-label",1,"aggregation-rule-label","config-label","heading-xs","margined"],"mat-icon-button;;matTooltip;Learn more about the aggregation rules;href;http://go/wtdm-home#aggregation;target;_blank".split(";"),
["svgIcon","help-outline",1,"icon-s","gfx-muted"],["appearance","outline",1,"static-label","margined"],["aria-labelledby","aggregation-rule-label","panelClass","multi-line-select",3,"value","disabled","valueChange"],[1,"multi-line",3,"value"],[1,"title"],[1,"help-text"],[3,"options","disabled","optionsChange","addRow","removeAtIndex"]],template:function(a,b){a&1&&(E(0,"b-collapsible-card",0),M("cardTitleChange",function(c){return b.name=c})("dropdownSelectionChanged",function(c){b.selectedEffortConfig=
c;c.displayText===nKc.displayText?(b.enumSpecOptions=[].concat(r(rKc)),b.name="Story points"):c.displayText===oKc.displayText?(b.enumSpecOptions=[].concat(r(sKc)),b.name="T-shirt sizes"):c.displayText===I3.displayText&&(b.numericSpecMultiplier=1,b.name="Days");b.estimatedEffortFieldEnabled=!0})("onSaveButtonClicked",function(){if(b.estimatedEffortFieldEnabled){var c={name:b.name,inherit:b.inherit};b.enableAggregationRules&&(c.aggregationType=b.selectedAggregationRule);b.originalEffortSpec&&0!==b.originalEffortSpec.customFieldId&&
(c.customFieldId=b.originalEffortSpec.customFieldId);var d;if((null==(d=b.selectedEffortConfig)?void 0:d.displayText)===I3.displayText)c.numericSpec={multiplier:b.numericSpecMultiplier};else if(0<b.enumSpecOptions.length){d=[];for(var e=l(b.enumSpecOptions),f=e.next();!f.done;f=e.next())f=f.value,f.label&&null!==f.value&&d.push({label:f.label,value:f.value});c.enumSpec={options:d}}b.updateEffortSpec.emit(c)}else b.updateEffortSpec.emit({name:"",inherit:!1})})("selectedChange",function(c){b.estimatedEffortFieldEnabled=
c;b.estimatedEffortFieldEnabled||qKc(b)})("onCancelButtonClicked",function(){b.effortSpec=b.originalEffortSpec;b.selectedEffortConfig=b.originalSelectedEffortConfig;b.effortSpec?b.setValues(b.effortSpec):(b.estimatedEffortFieldEnabled=!1,qKc(b))})("isInheritedChange",function(c){(c=c.checked)?(b.setValues(b.parentEffortSpec?b.parentEffortSpec:{name:"Estimated effort"}),b.effortSpec=b.parentEffortSpec,b.effortSpec||qKc(b)):b.effortSpec&&(b.setValues({}),qKc(b));b.inherit=c}),E(1,"div",1),C(2,Mjb,2,
1,"ng-container",2)(3,Njb,2,2,"ng-container",2)(4,Ojb,1,0,"ng-container",2),G(),C(5,Pjb,23,13,"div",3),G(),C(6,Qjb,1,2,"ng-template",null,4,jg));a&2&&(D("cardTitle",b.name)("dropdownOptions",b.configurationOptions)("selectedOption",b.selectedEffortConfig)("disabled",b.disabled||b.inherit)("selected",b.estimatedEffortFieldEnabled)("isSaveButtonDisabled",b.isSaveButtonDisabled())("showInheritedToggle",!0)("isInherited",b.inherit)("inheritedDisabled",b.disabled),y(),D("ngSwitch",pKc(b)),y(),D("ngSwitchCase",
"enum"),y(),D("ngSwitchCase","numeric"),y(),D("ngSwitchCase","empty"),y(),D("ngIf",b.enableAggregationRules&&b.estimatedEffortFieldEnabled))},dependencies:function(){return[dw,lw,iw,jw,hB,dB,oA,z3,PC,pN,oN,qA,G3,H3,K3]},styles:["[_nghost-%COMP%]     .content .config-title-container{width:168px}[_nghost-%COMP%]     .content .config-title-container mat-icon{margin-left:8px}[_nghost-%COMP%]     .content mat-form-field{height:34px;width:168px}[_nghost-%COMP%]     .content mat-form-field .mat-form-field-flex{padding-top:1px}[_nghost-%COMP%]     .content mat-form-field .mat-form-field-infix{padding:0 0 .5em}[_nghost-%COMP%]     .content .input-text{font-weight:400;font-size:1rem}.aggregation-rule-label[_ngcontent-%COMP%]{margin-right:2px}[_nghost-%COMP%]     mat-select .mat-select-arrow-wrapper{-webkit-transform:translateX(0);transform:translateX(0);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}\n/*# sourceMappingURL=estimated_effort_config.css.map */"]});
var rKc=[{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}],sKc=[{label:"XS",value:1},{label:"S",value:3},{label:"M",value:5},{label:"L",value:10},{label:"XL",value:20}],nKc={displayText:"Story points",icon:"story-point-24px"},oKc={displayText:"T-shirt sizes",icon:"t-shirt-24px"},I3={displayText:"Time",icon:"time-24px"},K3=function(){};
K3.prototype.transform=function(a){switch(a){case "MAX":return"Max Point";default:return"Simple Sum"}};K3.\u0275fac=function(a){return new (a||K3)};K3.\u0275pipe=Rc({name:"aggregationRuleText",type:K3,pure:!0});var tKc=function(){this.disabled=!1;this.updateComponent=new zv};tKc.\u0275fac=function(a){return new (a||tKc)};
tKc.\u0275cmp=Lc({type:tKc,selectors:[["b-component-standard-fields"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateComponent:"updateComponent"},decls:4,vars:3,consts:[[1,"padded","field-container"],[1,"margin-bottom"],[3,"effortSpec","parentEffortSpec","disabled","updateEffortSpec"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1),R(2,"Once activated, standard fields appear in the right panel of all issues."),G(),E(3,"b-estimated-effort-config",
2),M("updateEffortSpec",function(c){b.updateComponent.emit(c)}),G()());a&2&&(y(3),D("effortSpec",b.effortSpec)("parentEffortSpec",b.parentEffortSpec)("disabled",b.disabled))},dependencies:[J3],styles:[".field-container[_ngcontent-%COMP%]{max-width:1100px}"]});var L3=function(){};L3.\u0275fac=function(a){return new (a||L3)};L3.\u0275mod=Nc({type:L3});L3.\u0275inj=wc({imports:[SH,ID,$C,kN,A3,JD,qN,KU]});var M3=function(){};M3.\u0275fac=function(a){return new (a||M3)};M3.\u0275mod=Nc({type:M3});M3.\u0275inj=wc({imports:[SH,A3,L3]});var N3=function(a){var b=this;this.teamsService=a;this.anchorTarget="_blank";this.useInternalLink=this.isTopLevel=this.isAdmin=!1;this.modelChange=new zv;this.inherit=!1;this.selectedTeam$=new W.Subject;this.teamIdChanged$=new W.ReplaySubject(1);this.placeholder$=this.teamIdChanged$.pipe(B(function(c){return"0"===c?!b.isAdmin||!b.isTopLevel&&b.inherit?"No team selected":"Type to search for a team (leave blank to disable)":""}),cf(""));this.teamFromId$=this.teamIdChanged$.pipe(df(function(c){return"0"===
c?(0,W.of)(new kgb([c],[""],"")):RJ(b.teamsService,c).pipe(B(function(d){return new kgb([],d.collapsedPathNames,d.description)}))}));this.displayedTeam$=(0,W.merge)(this.teamFromId$,this.selectedTeam$);this.warningType$=this.teamIdChanged$.pipe(df(function(c){return"0"===c?(0,W.of)("MISSING"):b.teamsService.getTeam(c).pipe(B(function(d){return!d||d.deleted?"DELETED":"VALID"}))}))};
N3.prototype.updateSelectionOnChange=function(a){$m(Sp.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);uKc(this)};var uKc=function(a){a.inherit=a.model.inherit;a.teamIdChanged$.next(a.model.id)};N3.prototype.ngOnInit=function(){Object.assign({},this.model);uKc(this)};var Ujb=function(a){return a.model.id&&"0"!==a.model.id};
N3.prototype.getMomaTeamLink=function(){return Ujb(this)?"https://moma.corp.google.com/team/"+this.model.id:null};N3.\u0275fac=function(a){return new (a||N3)(A(QJ))};
N3.\u0275cmp=Lc({type:N3,selectors:[["b-component-team-picker"]],inputs:{parentModel:"parentModel",model:"model",anchorTarget:"anchorTarget",isAdmin:"isAdmin",isTopLevel:"isTopLevel",useInternalLink:"useInternalLink"},outputs:{modelChange:"modelChange"},decls:13,vars:13,consts:[[4,"ngIf"],["class","edit-field",4,"ngIf"],[1,"edit-field","component-team-id-select"],["for","component-team-id"],["id","component-team-id","panelWidth","479px",3,"placeholder","disabled","teamSelected","onTeamSelect","onEmptyQuery"],
[4,"ngIf","ngIfElse"],["externalLink",""],["class","team-warning",4,"ngIf"],[1,"team-warning"],[3,"warningType","messageOnly"],[1,"edit-field"],[3,"disabled","checked","change"],["mat-icon-button","","class","gmat-button small","aria-label","Go to Team page.","matTooltip","Go to Team page.",3,"routerLink","target","click",4,"ngIf"],["mat-icon-button","","aria-label","Go to Team page.","matTooltip","Go to Team page.",1,"gmat-button","small",3,"routerLink","target","click"],["svgIcon","pop-out",1,"icon-s"],
["mat-icon-button","","class","gmat-button small","target","_blank","aria-label","Go to Moma Team page.","matTooltip","Go to Moma Team page.",3,"click",4,"ngIf"],["mat-icon-button","","target","_blank","aria-label","Go to Moma Team page.","matTooltip","Go to Moma Team page.",1,"gmat-button","small",3,"click"]],template:function(a,b){a&1&&(E(0,"div"),C(1,Sjb,2,1,"ng-container",0),T(2,"async"),C(3,Tjb,3,2,"div",1),E(4,"div",2)(5,"label",3),R(6,"Team selection"),G(),E(7,"b-team-picker",4),M("onTeamSelect",
function(d){return b.updateSelectionOnChange(d)})("onEmptyQuery",function(){b.model.id="0";b.modelChange.emit(b.model);uKc(b)}),T(8,"async"),T(9,"async"),G(),C(10,Wjb,2,1,"ng-container",5),G()(),C(11,Yjb,1,1,"ng-template",null,6,jg));if(a&2){var c=Q(12);y();D("ngIf",V(2,7,b.warningType$));y(2);D("ngIf",!b.isTopLevel);y(4);D("placeholder",V(8,9,b.placeholder$))("disabled",!b.isAdmin||!b.isTopLevel&&b.inherit)("teamSelected",V(9,11,b.displayedTeam$));y(3);D("ngIf",b.useInternalLink)("ngIfElse",c)}},
dependencies:[dw,hB,WE,PC,V2,QZ,oA,xF,mw],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 O3=function(){};O3.\u0275fac=function(a){return new (a||O3)};O3.\u0275mod=Nc({type:O3});O3.\u0275inj=wc({imports:[SH,MQ,kN,JD,Y2,X_,dx,$C,BF]});var P3=function(){};P3.\u0275fac=function(a){return new (a||P3)};P3.\u0275mod=Nc({type:P3});P3.\u0275inj=wc({imports:[SH,dx,$C,ID,eB,JA]});var Q3=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},vKc=function(a){a.fields.sort(function(b,c){return b.name.localeCompare(c.name)});a.detectChanges()};Q3.prototype.drop=function(a){Bp(this.fields,a.previousIndex,a.currentIndex);this.detectChanges()};
var Zjb=function(a,b){return 0<b?(Bp(a.fields,b,b-1),a.detectChanges(),!0):!1},$jb=function(a,b){return b<a.fields.length-1?(Bp(a.fields,b,b+1),a.detectChanges(),!0):!1};Q3.prototype.trackByFn=function(){return-1};Q3.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.")};
Q3.prototype.onKeyDown=function(a,b){switch(a.key){case " ":a.preventDefault();wKc(this,b);break;case "Tab":this.grabbed&&wKc(this,b);break;case "ArrowUp":xKc(this,a);break;case "ArrowDown":xKc(this,a)}};
var wKc=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."))},xKc=function(a,b){if(a.grabbed){var c=document.activeElement;if(c&&void 0!==a.grabbedIndex){if("ArrowUp"===b.key){if(Zjb(a,a.grabbedIndex)){var d=c.previousElementSibling;
a.grabbedIndex--}}else $jb(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."))}}};Q3.prototype.detectChanges=function(){this.hasChanges=!Th(this.fields,this.originalFields)};Q3.\u0275fac=function(a){return new (a||Q3)(A(DA),A(BA),A(Ax))};
Q3.\u0275cmp=Lc({type:Q3,selectors:[["b-field-reorder-dialog"]],decls:14,vars:3,consts:[["mat-dialog-title",""],[1,"flex-kids-x","space-between","align-items-center"],["mat-dialog-title","",1,"margin-none"],["mat-icon-button","","aria-label","Sorts the fields alphabetically","matTooltip","Sort alphabetically",3,"click"],["svgIcon","sort_by_alpha_24px"],["mat-dialog-content",""],["cdkDropList","",3,"cdkDropListDropped"],["cdkDrag","","tabindex","0",3,"keydown","focus",4,"ngFor","ngForOf","ngForTrackBy"],
["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action","save",3,"disabled","click"],["cdkDrag","","tabindex","0",3,"keydown","focus"],["cdkDragHandle","","svgIcon","drag-indicator",1,"drag-handle"],[1,"arrows"],["mat-icon-button","","aria-label","Move the field up",3,"click"],["svgIcon","arrow-up"],["mat-icon-button","","aria-label","Move the field down",3,"click"],["svgIcon",
"arrow-down"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1)(2,"h1",2),R(3," Reorder custom fields "),G(),E(4,"button",3),M("click",function(){return vKc(b)}),I(5,"mat-icon",4),G()()(),E(6,"div",5)(7,"ol",6),M("cdkDropListDropped",function(c){return b.drop(c)}),C(8,akb,9,7,"li",7),G()(),E(9,"div",8)(10,"button",9),M("click",function(){return b.dialogRef.close()}),R(11," Cancel "),G(),E(12,"button",10),M("click",function(){return b.dialogRef.close(b.fields)}),R(13," Save "),G()());a&2&&(y(8),
D("ngForOf",b.fields)("ngForTrackBy",b.trackByFn),y(4),D("disabled","CUSTOMIZED"===b.fieldOrdering&&!b.hasChanges))},dependencies:[hw,hB,nA,GA,HA,IA,JU,IU,EU,PC],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 R3=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 zv;this.displayedColumn=["index","name","type","required","customFieldId"]},okb=function(a){return a.matDialog.open(Q3,{width:"500PX",autoFocus:!1,data:{fields:a.fields,orderingCustomized:a.fieldOrdering}}).afterClosed().subscribe(function(b){b&&yKc(a,b)})},pkb=function(a){a.confirmationDialog.open({title:"Reset ordering?",
content:gh("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()}})},yKc=function(a,b){kp(a.analytics,Sp.FIELD_ORDERING,"reorderFields");var c=b.map(function(d){return{customFieldId:d.customFieldId}});a.componentId?(Ks(a.butterBar,"Saving...",0),a.fieldConfigService.reorder(a.componentId,c).subscribe(function(){Ks(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.")};
R3.prototype.reset=function(){var a=this;kp(this.analytics,Sp.FIELD_ORDERING,"resetFields");this.componentId?(Ks(this.butterBar,"Resetting orderings..."),this.fieldConfigService.executor.post({url:"action/components/"+this.componentId+"/unorder",body:null,responseConstructor:null}).subscribe(function(){Ks(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.")};
R3.\u0275fac=function(a){return new (a||R3)(A(EA),A(lG),A(D3),A(MI),A(hG))};
R3.\u0275cmp=Lc({type:R3,selectors:[["b-field-reorder"]],inputs:{fields:"fields",componentId:"componentId",fieldOrdering:"fieldOrdering",isAdmin:"isAdmin"},outputs:{onReload:"onReload"},decls:22,vars:5,consts:[[1,"field-reorder-panel"],[1,"field-order-table"],["mat-table","",3,"dataSource"],["matColumnDef","index"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","type"],["matColumnDef","required"],["matColumnDef","customFieldId"],
["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["class","no-data-row",4,"ngIf"],["class","edit-button-row",4,"ngIf"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""],[1,"no-data-row"],[1,"edit-button-row"],["mat-flat-button","","color","primary",1,"gmat-button","medium",3,"disabled","click"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1)(2,"table",2),K(3,3),C(4,bkb,2,0,"th",4)(5,ckb,2,1,"td",5),L(),K(6,6),C(7,dkb,2,0,"th",
4)(8,ekb,2,1,"td",5),L(),K(9,7),C(10,fkb,2,0,"th",4)(11,gkb,3,3,"td",5),L(),K(12,8),C(13,hkb,2,0,"th",4)(14,ikb,2,1,"td",5),L(),K(15,9),C(16,jkb,2,0,"th",4)(17,kkb,2,1,"td",5),L(),C(18,lkb,1,0,"tr",10)(19,mkb,1,0,"tr",11),G(),C(20,nkb,2,0,"div",12),G(),C(21,qkb,6,2,"div",13),G());a&2&&(y(2),D("dataSource",b.fields),y(16),D("matHeaderRowDef",b.displayedColumn),y(),D("matRowDefColumns",b.displayedColumn),y(),D("ngIf",0===b.fields.length),y(),D("ngIf",b.isAdmin))},dependencies:[dw,nA,jW,$W,NW,TW,PW,
MW,VW,QW,SW,WW,YW,SR],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 S3=function(){};S3.\u0275fac=function(a){return new (a||S3)};S3.\u0275mod=Nc({type:S3});S3.\u0275inj=wc({providers:[lG],imports:[SH,$C,JA]});var T3=function(){};T3.\u0275fac=function(a){return new (a||T3)};T3.\u0275mod=Nc({type:T3});T3.\u0275inj=wc({imports:[SH,$C,fQ,JA,rX,KU,JD,DP,S3,UR]});var U3=function(a){this.analytics=a;this.filename=this.packageName=this.issueId="";this.lineNumbers=[];this.changeNumber=0},skb=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="+zKc+a.issueId+AKc;a.changeNumber&&(c+="&rcl="+a.changeNumber);Array.isArray(b)?c+="&l="+b.join(","):b&&(c+="&l="+b);return c}};
U3.prototype.trackClick=function(a){kp(this.analytics,"codeMentions","clickCodeSearchLink",a)};U3.\u0275fac=function(a){return new (a||U3)(A(MI))};
U3.\u0275cmp=Lc({type:U3,selectors:[["b-file-mention"]],inputs:{issueId:"issueId",packageName:"packageName",filename:"filename",lineNumbers:"lineNumbers",changeNumber:"changeNumber"},decls:5,vars:4,consts:[[1,"bv2-file-mention"],["target","_blank",1,"bv2-file-mention-filename",3,"href","click"],[4,"ngIf"],[1,"bv2-file-mention-line-number-list"],["class","bv2-file-mention-line-number",4,"ngFor","ngForOf"],[1,"bv2-file-mention-line-number"],["target","_blank",3,"href","click"]],template:function(a,
b){a&1&&(E(0,"div",0)(1,"a",1),M("click",function(){return b.trackClick("fileName")}),R(2),G(),C(3,rkb,2,1,"span",2)(4,ukb,5,1,"span",2),G());a&2&&(y(),D("href",skb(b,b.lineNumbers),Pd),y(),S(" ",b.filename," "),y(),D("ngIf",!(10>=b.lineNumbers.length&&"wiki"!=b.packageName)),y(),D("ngIf",10>=b.lineNumbers.length&&"wiki"!=b.packageName))},dependencies:[hw,dw],encapsulation:2});var zKc=encodeURIComponent("content:(https?://)?b(uganizer)?(\\.corp(\\.google\\.com)?)?/(issues/|issue\\?id=)?"),AKc=encodeURIComponent("(\\b|$)");var V3=function(){};V3.\u0275fac=function(a){return new (a||V3)};V3.\u0275mod=Nc({type:V3});V3.\u0275inj=wc({imports:[SH]});var BKc=function(){return{width:400}},CKc=function(){return[]},W3=function(a,b,c,d,e,f,h,k,q){var t=this;this.bLocation=c;this.paths=d;this.analytics=e;this.currentTracker=h;this.componentActions=k;this.cdr=q;this.includeArchived$=new W.BehaviorSubject(!1);this.rootComponent$=this.currentTracker.tracker$.pipe(df(function(w){return w?t.componentActions.get(Number(w.componentId)):(0,W.of)(void 0)}));this.topLevelComponents$=(0,W.combineLatest)([this.rootComponent$,this.includeArchived$]).pipe(df(function(w){var z=
l(w);w=z.next().value;z=z.next().value;var F;return t.componentActions.getChildren(null!=(F=null==w?void 0:w.parentComponentId)?F:0,z)}));this.createComponentPath=Vs.COMPONENT_CREATE;a.setTitle("Browse Components");b.componentId&&xkb(this,Number(b.componentId),(0,W.firstValueFrom)(this.topLevelComponents$));this.isInternalSession=f.isInternalSession()};W3.prototype.viewComponent=function(a,b){b=void 0===b?null:b;a&&(b&&kp(this.analytics,"listComponents",b),this.bLocation.setUrl(this.paths.manageComponent(a.componentId)))};
var xkb=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=l(e),k=h.next();!k.done;k=h.next())k=k.value,f[k]=a.componentActions.getChildren(k,a.includeArchived);return lp(f).then(function(q){for(var t=q[0],w=0,z=l(e),F=z.next(),J={};!F.done;J={parentId$jscomp$17:void 0},F=z.next()){J.parentId$jscomp$17=F.value;F=void 0;var H=null!=(F=t.find(function(O){return function(P){return P.componentId===
O.parentId$jscomp$17}}(J)))?F: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)})})})};Vg.Object.defineProperties(W3.prototype,{includeArchived:{configurable:!0,enumerable:!0,get:function(){return this.includeArchived$.value}}});W3.\u0275fac=function(a){return new (a||W3)(A(YP),A(xK),A(hI),A(iI),A(MI),A(nt),A(IM),A(xR),A(EF,2))};
W3.\u0275cmp=Lc({type:W3,selectors:[["b-list-components-page"]],features:[bg([EF])],decls:16,vars:15,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-appbar-left"],["mat-button","","class","gmat-button",3,"href",4,"ngIf"],["mat-button","","panelClass","overflow-visible-inline-dialog-panel",1,"gmat-button",3,"xapInlineDialogClick","overlaySize"],["componentPickerTemplate",""],["id","bv2-issue-showarchived-button",4,"ngIf"],[1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],[1,"top-tree",
3,"components","includeArchived","init"],["mat-button","",1,"gmat-button",3,"href"],[1,"component-picker-dialog"],["ariaLabel","Choose a component to navigate to that component.",3,"includeArchived","placeholder","shouldFocus","isRequired","selectedComponentChange"],["id","bv2-issue-showarchived-button"],["label","Show archived",3,"model","tooltip","modelChange"],[1,"bv2-view-loading"],["size","small"]],template:function(a,b){a&1&&(E(0,"h2",0),R(1,"Browse Components"),G(),E(2,"div",1)(3,"div",2),
C(4,vkb,2,1,"a",3),E(5,"button",4),R(6," Search Components "),G(),C(7,wkb,4,6,"ng-template",null,5,jg)(9,ykb,3,4,"div",6),G()(),E(10,"div",7),C(11,zkb,2,0,"div",8),T(12,"async"),E(13,"component-tree-list",9),M("init",function(h){return b.componentTree=h}),T(14,"async"),T(15,"async"),G()());if(a&2){var c=Q(8),d,e,f;y(4);D("ngIf",b.isInternalSession);y();D("xapInlineDialogClick",c)("overlaySize",eg(13,BKc));y(4);D("ngIf",b.isInternalSession);y(2);D("ngIf",!(null!==(d=V(12,7,b.topLevelComponents$))&&
void 0!==d&&d));y(2);D("components",null!==(e=V(14,9,b.topLevelComponents$))&&void 0!==e?e:eg(14,CKc))("includeArchived",null!==(f=V(15,11,b.includeArchived$))&&void 0!==f?f:!1)}},dependencies:[dw,HQ,QQ,PQ,TQ,nU,nA,oA,gU,LR,mw],styles:[".component-picker-dialog[_ngcontent-%COMP%]{width:400px}.component-picker-dialog[_ngcontent-%COMP%]     input{box-sizing:border-box}"]});var X3=function(){};X3.\u0275fac=function(a){return new (a||X3)};X3.\u0275mod=Nc({type:X3});X3.\u0275inj=wc({imports:[SH,kR,iR,lR,nR,MQ,oU,$C,iU,$R]});var DKc=function(){this.issueId="";this.packageMentionSet={packageName:"",fileMentionSet:[]};this.displayPackageName=!1};DKc.\u0275fac=function(a){return new (a||DKc)};
DKc.\u0275cmp=Lc({type:DKc,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&&(E(0,"div",0),C(1,Akb,2,1,"p",1),E(2,"ul"),C(3,Bkb,2,
5,"li",2),G()());a&2&&(y(),D("ngIf",b.displayPackageName),y(2),D("ngForOf",b.packageMentionSet.fileMentionSet))},dependencies:[hw,dw,U3],encapsulation:2});var Y3=function(){};Y3.\u0275fac=function(a){return new (a||Y3)};Y3.\u0275mod=Nc({type:Y3});Y3.\u0275inj=wc({imports:[SH,V3]});var Z3=function(){};Z3.\u0275fac=function(a){return new (a||Z3)};Z3.\u0275mod=Nc({type:Z3});Z3.\u0275inj=wc({imports:[SH,dx,$C,JA,ID,iP,eB]});var a4=function(a,b){this.documentationLinks=a;this.dateFormatter=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.retentionModel=t1b;this.label="Restricted";this.contentType="item"};a4.prototype.getRetentionPeriod=function(){return this.retentionState&&this.retentionState.retentionPeriod?pn(Math.floor(1E3*this.retentionState.retentionPeriod.seconds/864E5)):""};
var Dkb=function(a){var b=new Date(864E13);return a.retentionState&&a.retentionState.scheduledDeletionTime?new Date(on(a.retentionState.scheduledDeletionTime)||b):b},EKc=function(a){return a.retentionState&&a.retentionState.scheduledDeletionTime?12096E5>on(a.retentionState.scheduledDeletionTime)-Date.now():!1};a4.\u0275fac=function(a){return new (a||a4)(A(jG),A(yS))};
a4.\u0275cmp=Lc({type:a4,selectors:[["b-restricted-chip"]],inputs:{label:"label",contentType:"contentType",retention:"retention",retentionState:"retentionState"},decls:11,vars:5,consts:[[1,"bubble",3,"panelTemplate"],["bubble",""],["tabindex","0","aria-label","Display retention information","aria-haspopup","dialog","role","button",1,"chip","nowrap",3,"focus","blur"],[1,"icon-s",3,"svgIcon"],["popup",""],["infiniteRetention",""],["hasExpiredText",""],[1,"popup"],["target","_blank",3,"rel"],[3,"ngSwitch",
4,"ngIf"],[3,"ngSwitch"],[4,"ngIf","ngIfElse"],[3,"ngSwitchCase"]],template:function(a,b){if(a&1){var c=u();E(0,"xap-bubble",0,1)(2,"div",2);M("focus",function(){v(c);var e=Q(1);return x(e.toggle(!0))})("blur",function(){v(c);var e=Q(1);return x(e.toggle(!1))});I(3,"mat-icon",3);R(4);G();C(5,Ikb,8,4,"ng-template",null,4,jg)(7,Jkb,3,1,"ng-template",null,5,jg)(9,Kkb,8,5,"ng-template",null,6,jg);G()}if(a&2){var d=Q(6);D("panelTemplate",d);y(2);yf("warning",EKc(b));y();D("svgIcon",EKc(b)?"delete-alert":
"delete-clock");y();S(" ",b.label," ")}},dependencies:[dw,iw,jw,hB,yR,pw],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 b4=function(a,b,c){this.dialogRef=a;this.documentationLinks=b;this.data=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc"};b4.prototype.onNoClick=function(){this.dialogRef.close(!1)};b4.\u0275fac=function(a){return new (a||b4)(A(BA),A(jG),A(DA))};
b4.\u0275cmp=Lc({type:b4,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&&(E(0,"h1",0),R(1),G(),E(2,"div",1)(3,"p"),R(4),E(5,"a",2),R(6," Learn More "),G()()(),E(7,"div",3)(8,"button",4),M("click",function(){return b.onNoClick()}),R(9," Cancel "),G(),E(10,"button",5),R(11," Confirm "),G()());a&2&&(y(),$f(b.data.title),y(3),S(" ",b.data.content," "),y(),D("rel",b.EXTERNAL_LINK_REL),pf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Pd),y(5),D("mat-dialog-close",!0))},dependencies:[nA,FA,GA,HA,IA],encapsulation:2});var c4=function(a,b){this.dialog=a;this.documentationLinks=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.disabled=!1;this.onConfirm=new zv};
c4.prototype.openDialog=function(){var a=this;this.dialog.open(b4,{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()})};c4.\u0275fac=function(a){return new (a||c4)(A(EA),A(jG))};
c4.\u0275cmp=Lc({type:c4,selectors:[["b-restricted-comment-placeholder"]],inputs:{disabled:"disabled"},outputs:{onConfirm:"onConfirm"},decls:5,vars:3,consts:[["mat-stroked-button","","color","primary",1,"gmat-button","small","restricted-comment-load",3,"disabled","click"],["target","_blank","aria-label","Learn more about restricted access",3,"rel"]],template:function(a,b){a&1&&(E(0,"span")(1,"button",0),M("click",function(){return b.openDialog()}),R(2," Show Restricted Content "),G(),E(3,"a",1),R(4,
" Learn More "),G()());a&2&&(y(),D("disabled",b.disabled),y(2),D("rel",b.EXTERNAL_LINK_REL),pf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Pd))},dependencies:[nA],styles:[".mat-stroked-button[_ngcontent-%COMP%]{margin-right:1em}/*# sourceMappingURL=restricted_comment_placeholder.css.map */"],changeDetection:0});var d4=function(){};d4.\u0275fac=function(a){return new (a||d4)};d4.\u0275mod=Nc({type:d4});d4.\u0275inj=wc({imports:[SH,IC,$C,JA,EP,eB,jT,JD,rX,sX,kN,dx,VR]});var e4=function(){};e4.prototype.ngOnInit=function(){};e4.\u0275fac=function(a){return new (a||e4)};
e4.\u0275cmp=Lc({type:e4,selectors:[["b-tracker-account-menu-hack"]],decls:5,vars:2,consts:[["aria-label","Open account menu",1,"tracker-account-hack-button",3,"matMenuTriggerFor"],["xPosition","before"],["accountHackMenu","matMenu"],[3,"href"]],template:function(a){a&1&&(I(0,"button",0),E(1,"mat-menu",1,2)(3,"a",3),R(4,"Sign out or switch accounts"),G()());if(a&2){var b=Q(2);D("matMenuTriggerFor",b);y(3);D("href","https://accounts.google.com/SignOutOptions?hl=en&continue="+encodeURIComponent(window.location.href),
Pd)}},dependencies:[HC,GC],styles:[".tracker-account-hack-button[_ngcontent-%COMP%]{z-index:9999;top:0;right:0;position:absolute;width:48px;height:48px;padding:0;margin:0;border:none;cursor:pointer;background:none;outline:none}a[_ngcontent-%COMP%]{padding:8px}"]});var f4=function(){Y.apply(this,arguments);this.trackerCheckboxValues={}};X(f4,Y);f4.\u0275dir=Y.\u0275dir;f4.prototype.ngOnChanges=function(a){if(a.currentTrackerId){this.trackerCheckboxValues={};var b;a=l(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 FKc=function(a){return Object.keys($b(a.trackerCheckboxValues,function(b){return b}))};
f4.\u0275fac=function(){var a;return function(b){return(a||(a=zd(f4)))(b||f4)}}();
f4.\u0275cmp=Lc({type:f4,selectors:[["b-tracker-search"]],inputs:{currentTrackerId:"currentTrackerId",availableTrackers:"availableTrackers"},features:[nf,ed],decls:8,vars:4,consts:[[1,"bv2-tracker-search"],[1,"bv2-adv-search-rule","bv2-adv-tracker-search-rule"],[1,"bv2-adv-tracker-search-rule-title"],["class","bv2-adv-tracker-search-rule-error",4,"ngIf"],[1,"bv2-adv-search-enum-rule"],["class","bv2-adv-search-enum-item",4,"ngFor","ngForOf"],[1,"bv2-adv-tracker-search-rule-error"],[1,"bv2-adv-search-enum-item"],
["gmat-checkbox","",3,"checked","change"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"span"),R(4,"Select a tracker"),G(),C(5,Lkb,2,0,"span",3),G(),E(6,"div",4),C(7,Mkb,3,2,"div",5),G()()());a&2&&(yf("hidden",!(b.availableTrackers&&1<b.availableTrackers.length)),y(5),D("ngIf",0===FKc(b).length),y(2),D("ngForOf",b.availableTrackers))},dependencies:[hw,dw,WE],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 g4=function(a,b,c,d,e,f){Y.call(this);var h=this;this.analytics=b;this.location=c;this.prefsManager=e;this.domSafe=f;this.prefsManager.preferences$.pipe(ef(this.destroyed$)).subscribe(function(k){h.prefs=k});a.topBarEvents.browseComponents.pipe(ef(this.destroyed$)).subscribe(function(k){k=k.newTab;GKc(h,d.listComponents(),k)});a.topBarEvents.manageHotlists.pipe(ef(this.destroyed$)).subscribe(function(k){GKc(h,d.listHotlists(),k.newTab)});a.topBarEvents.manageSlos.pipe(ef(this.destroyed$)).subscribe(function(k){k=
k.newTab;GKc(h,d.listSlos(),k)});a.topBarEvents.setDensity.pipe(ef(this.destroyed$)).subscribe(function(k){h.setDensity(k)});a.topBarEvents.openSettings.pipe(ef(this.destroyed$)).subscribe(function(k){var q=k.newTab;GKc(h,HAa(k.settingsTabName),q)})};X(g4,Y);g4.\u0275dir=Y.\u0275dir;var GKc=function(a,b,c){c?a.domSafe.openInNewTab(b):a.location.setUrl(b)};
g4.prototype.setDensity=function(a){this.prefs.themePreferences&&(this.prefs.themePreferences.density=a,this.prefsManager.save(this.prefs).pipe(Ue(),ef(this.destroyed$)).subscribe(),kp(this.analytics,"preferences","setDisplayDensity",a))};g4.\u0275fac=function(a){return new (a||g4)(p(RH),p(MI),p(hI),p(iI),p(BE),p(IE))};g4.\u0275prov=vc({token:g4,factory:g4.\u0275fac,providedIn:"root"});var h4=function(a,b,c,d,e,f,h,k,q,t,w){Y.call(this);var z=this;this.activeSession=a;this.currentTracker=b;this.searchAcData=c;this.savedSearchApi=d;this.butterBar=e;this.bLocation=f;this.paths=h;this.analytics=k;this.appEvents=t;this.appSearchState=w;this.items=[];this.acHeader=null;this.currentQuery="";this.enableTrackersAccountHack=tE(this.activeSession,"enableTrackersAccountHack");this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType();
this.searchAcData.acRefreshed$.pipe(ef(this.destroyed$)).subscribe(function(){z.items=z.searchAcData.items;z.acHeader=z.searchAcData.acHeader})};X(h4,Y);h4.\u0275dir=Y.\u0275dir;var HKc=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"}};
h4.prototype.ngOnInit=function(){var a=this;this.appSearchState.queryState$.pipe(ef(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("Ce");e=new azc(f,h);if(f){var k=f.slice(0,h);for(var q=!1,t=-1,w=-1;-1<(t=k.indexOf('"',t+1));)q=!q,w=t;k=q?w:-1;if(-1<k)e.value={val:f.slice(k,h),idx:k};else if(k=f.slice(h),q=k.search("\\s"),
(k=S9a(f.slice(0,h)+(-1<q?k.slice(0,q):k),ezc))?(k={negated:!!k[1],val:k[2].toLowerCase(),operator:k[3],idx:k.index-k[1].length-k[2].length-k[3].length},k.val.startsWith("customfield")&&(k.customFieldId=k.val.slice(11),k.val="customfield")):k=null,k){q=k.idx+(k.negated?1:0)+k.val.length+k.operator.length+(k.customFieldId?k.customFieldId.length:0);f=f.slice(q);t=Math.max(h-q,0);w=k;if("("===f.charAt(0)){b:{w=[];for(var z=/[()]/g,F;null!=(F=z.exec(f));){var J=w[w.length-1];if(J&&J!==F[0]){if(w.pop(),
!w.length){w=F.index>=t;break b}}else w.push(F[0])}w=!0}w=w?2:0}else w=bzc.includes(w.val)&&-1===f.search("^\\d")?1:0;switch(w){case 2:h=bzc.includes(k.val)?Eq(f,t,"([()|]\\s*|OR\\s+|AND\\s+|NOT\\s+|-|\\b\\d+\\s+)","[()|\\s-]"):Eq(f,t,"[()|\\s-]");/(OR|AND|NOT|-)$/.test(h.val)&&(h.val="",h.idx=t);e.value=h;break;case 1:e.value=Eq(f,t,"[()|]","[()|,\\s]");break;case 0:e.value=Eq(f,t,"[\\s()|]");-1<f.slice(0,t).search("[\\s()|]")&&(k=null,t=S9a(f,"(?:\\s|^)(?:-?)(customfield|cf)"))&&(e.value=R9a(f,
t.index-t[1].length,h));break;default:Nh(w,"unknown ValueType.")}e.value.idx+=q;e.label=k}else k=S9a(f,"(?:\\s|^)(?:-?)(customfield|cf)"),e.value=k?R9a(f,k.index-k[1].length,h):Eq(f,h,"[\\s()]")}d.currentSearchContext=e}d.currentSearchContext&&(e=d.currentSearchContext,h=++d.requestIndex,d.refreshRequest$.next({currentRequestIndex:h,currentSearchContext:e}));a.currentQuery=c.query});var b=this.appSearchState.queryState$.pipe(B(function(c){return c.query}));this.appSearchState.searchTriggered$.pipe(gf(b),
ef(this.destroyed$)).subscribe(function(c){c=l(c);var d=c.next().value;c=c.next().value;var e=a.appSearchState;d=void 0===d?"":d;var f=RGa(c),h=f.filters,k=f.text,q=f.complexSyntax,t=f.resourceIds;f=[h,k,t].reduce(sm);h=[h?"filters":void 0,k?"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=qa(e.searchHandlerStack);void 0===d?e.$log.warn("No search function installed."):d(c)})};
h4.prototype.ngAfterViewInit=function(){LJc(this.advancedSearchCtrl,this.appSearchState.currentQuery)};var IKc=function(a){if(a.advancedSearchCtrl)return"SUCCESS"!==a.advancedSearchCtrl.getState()?a.currentQuery:SJc(a.advancedSearchCtrl).trim()};g=h4.prototype;g.onAdvancedSearchOpen=function(){this.advancedSearchCtrl&&(IKc(this)!==this.currentQuery||"SUCCESS"!==this.advancedSearchCtrl.getState())&&LJc(this.advancedSearchCtrl,this.currentQuery)};
g.onAdvancedSearchClose=function(){var a,b;this.appSearchState.selectedTrackerIds$.next(null!=(b=null==(a=this.trackerSearchCtrl)?void 0:FKc(a))?b:[]);this.advancedSearchCtrl&&(a=IKc(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:FKc(a))?b:[]);this.advancedSearchCtrl&&(a=IKc(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=IKc(this);void 0!==c&&(Ks(this.butterBar,"Saving saved search.",1E3),this.savedSearchApi.create(a,c).then(function(d){b.appEvents.savedSearchModified.next();d=d.searchId;Ks(b.butterBar,"Created saved search '"+a+"' ID "+d+".");b.bLocation.setUrl(b.paths.viewSavedSearch(d));kp(b.analytics,"savedSearches","create")}).catch(function(d){b.butterBar.showWarning(tn(d))}))}};g.isSearchDisabled=function(){return this.inTracker()&&0===FKc(this.trackerSearchCtrl).length};
g.inTracker=function(){return!!this.trackerSearchCtrl};h4.\u0275fac=function(a){return new (a||h4)(A(nt),A(IM),A(D0),A(CJ),A(hG),A(hI),A(iI),A(MI),A(g4),A(RH),A(KM))};
h4.\u0275cmp=Lc({type:h4,selectors:[["b-top-bar-outlet"]],viewQuery:function(a,b){a&1&&(Uf(X2,5),Uf(f4,5));if(a&2){var c;Yf(c=Zf())&&(b.advancedSearchCtrl=c.first);Yf(c=Zf())&&(b.trackerSearchCtrl=c.first)}},features:[nf],decls:11,vars:20,consts:[[3,"logoFrontendAccessMode","logoEnvironmentType","searchBoxPlaceholder","searchBoxAutoCompleteItems","searchBoxAutoCompleteHeader","isSearchDisabled","searchBoxOnAdvancedSearchOpen","searchBoxOnAdvancedSearchClose","searchBoxOnAdvancedSearchSubmit","searchBoxOnSaveSearch"],
[3,"currentTrackerId","availableTrackers",4,"ngIf"],[3,"isTrackerSearchEnabled"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-validation-error-banner",4,"ngIf"],[4,"ngIf"],[3,"currentTrackerId","availableTrackers"],[1,"bv2-view-loading"],[1,"bv2-validation-error-banner"],["class","warning-container",4,"ngIf"],[1,"warning-container"],["svgIcon","alert"]],template:function(a,b){a&1&&(E(0,"b-app-top-bar",0),M("searchBoxOnAdvancedSearchOpen",function(){return b.onAdvancedSearchOpen()})("searchBoxOnAdvancedSearchClose",
function(){return b.onAdvancedSearchClose()})("searchBoxOnAdvancedSearchSubmit",function(){return b.submitAdvancedSearch()})("searchBoxOnSaveSearch",function(d){return b.saveSearch(d)}),T(1,"async"),C(2,Nkb,3,6,"b-tracker-search",1),T(3,"async"),I(4,"b-advanced-search",2),T(5,"async"),C(6,Okb,4,0,"div",3)(7,Rkb,3,2,"div",4)(8,Skb,2,0,"div",4),G(),C(9,Tkb,1,0,"b-tracker-account-menu-hack",5),T(10,"async"));if(a&2){var c;D("logoFrontendAccessMode",b.frontendAccessMode)("logoEnvironmentType",b.environmentType)("searchBoxPlaceholder",
HKc(b,V(1,12,b.currentTracker.tracker$)))("searchBoxAutoCompleteItems",b.items)("searchBoxAutoCompleteHeader",b.acHeader)("isSearchDisabled",b.isSearchDisabled());y(2);D("ngIf",null!==(c=V(3,14,b.currentTracker.inTracker$))&&void 0!==c?c:!1);y(2);D("isTrackerSearchEnabled",!V(5,16,b.currentTracker.inTracker$));y(2);D("ngIf","INIT"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));y();D("ngIf","NOT_REPRESENTABLE"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState())||
"SYNTAX_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));y();D("ngIf","SERVER_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));y();D("ngIf",b.enableTrackersAccountHack&&!b.activeSession.isAnonymous()&&V(10,18,b.currentTracker.inTracker$))}},dependencies:[dw,hB,X2,f4,jKc,HQ,e4,mw],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 i4=function(){};i4.\u0275fac=function(a){return new (a||i4)};i4.\u0275mod=Nc({type:i4});i4.\u0275inj=wc({imports:[SH,kN]});var j4=function(){};j4.\u0275fac=function(a){return new (a||j4)};j4.\u0275mod=Nc({type:j4});j4.\u0275inj=wc({imports:[SH,a3,i4,w3,kR,IC]});var k4=function(a,b){this.dialogRef=a;this.data=b;this.userToDisplay=Gi;this.updateDiffs=b.updateDiffs};k4.prototype.close=function(){this.dialogRef.close()};k4.\u0275fac=function(a){return new (a||k4)(A(BA),A(DA))};
k4.\u0275cmp=Lc({type:k4,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&&(E(0,"div",0)(1,"ul",1),C(2,blb,10,4,"li",2),G()(),E(3,"div",3)(4,"button",4),M("click",function(){return b.close()}),R(5," Close "),G()());a&2&&(y(2),D("ngForOf",b.updateDiffs))},dependencies:[hw,dw,nA,HA,IA,yT,wT,AS],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 l4=function(){};l4.\u0275fac=function(a){return new (a||l4)};l4.\u0275mod=Nc({type:l4});l4.\u0275inj=wc({imports:[SH,$C,JA,DT,QS]});var m4=function(a,b){Y.call(this);this.$window=a;this.currentTracker=b;this.faviconUrl=this.defaultFaviconUrl=dh("https://www.gstatic.com/buganizer/img/v4/favicon.png")};X(m4,Y);m4.\u0275dir=Y.\u0275dir;
var JKc=function(a){var b=a.$window.document.head.querySelector('link[rel="shortcut icon"]'),c=null==b?void 0:b.href;a.faviconUrl=c?dh(c):a.defaultFaviconUrl;a.currentTracker.tracker$.pipe(B(function(d){var e;if(null==d?0:null==(e=d.branding)?0:e.logoUrl){var f;d=dh(null==d?void 0:null==(f=d.branding)?void 0:f.logoUrl)}else d=a.faviconUrl;return d}),ef(a.destroyed$)).subscribe(function(d){if(b&&b.href!==d.toString())a:{if(d instanceof Ju)b.href=Rh(d).toString();else{if(-1===Q0b.indexOf("icon"))throw Error("Ob`icon");
d=ypa(d);if(void 0===d)break a;b.href=d}b.rel="icon"}})};m4.\u0275fac=function(a){return new (a||m4)(p(uE),p(IM))};m4.\u0275prov=vc({token:m4,factory:m4.\u0275fac,providedIn:"root"});var KKc=/^\s*[^:/?#]+:/i,LKc=/^#/i,n4=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"))&&!KKc.test(d))if(LKc.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)}}};n4.prototype.install=function(){document.addEventListener("click",this.linkClickHandler)};n4.\u0275fac=function(a){return new (a||n4)(p(hI))};n4.\u0275prov=vc({token:n4,factory:n4.\u0275fac,providedIn:"root"});var MKc=[],NKc=!1,o4=function(a,b,c,d,e,f,h,k,q){Y.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=k;this.imageUrls=q};X(o4,Y);o4.\u0275dir=Y.\u0275dir;o4.prototype.tearDown=function(){Y.prototype.ngOnDestroy.call(this);document.removeEventListener("click",this.linkClickHandler.linkClickHandler)};
o4.\u0275fac=function(a){return new (a||o4)(p(yX),p(gB),p(nt),p(U0),p(X0),p(n4),p(bR),p(m4),p(BR))};o4.\u0275prov=vc({token:o4,factory:o4.\u0275fac,providedIn:"root"});
var OKc={provide:DQb,useFactory:function(a){return function(){Vj("app initializer starting");NKc||(a.iconRegistry._addSvgIconSetConfig("",new LWb(a.imageUrls.ICON_URL)),NKc=!0);if(a.session.isInternalSession()){Src(a.hatsService,"Y4qgAGETM0g6pPHSLo10T83aMF4T").pipe(Ue(),ef(a.destroyed$)).subscribe();for(var b=l(MKc),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.hatsTriggerId;tE(a.session,c.flagName)&&Src(a.hatsService,d).pipe(Ue(),ef(a.destroyed$)).subscribe()}}a.appHistory.install();a.routePerformance.install();
a.linkClickHandler.install();b=a.issueLru;TLa(b.viewed,zic());TLa(b.edited,xic());b.appEvents.issueViewed.pipe(ef(b.stop$)).subscribe(b.addViewed);b.appEvents.issueEdited.pipe(ef(b.stop$)).subscribe(b.addEdited);JKc(a.faviconService)}},deps:[o4],multi:!0};var p4=function(a,b){this.paths=a;this.bLocation=b};p4.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)};p4.\u0275fac=function(a){return new (a||p4)(p(iI),p(hI))};p4.\u0275prov=vc({token:p4,factory:p4.\u0275fac,providedIn:"root"});var PKc={provide:IF,useExisting:p4};var QKc=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 q4=function(a){wB.call(this);this.errorHandlerFn_=a};Et(q4,wB);q4.prototype.wrap=function(a){return RKc(this,a)};var r4=function(a,b){return(b?"__wrapper_":"__protected_")+Aa(a)+"__"},RKc=function(a,b){var c=r4(a,!0);b[c]||((b[c]=SKc(a,b))[r4(a,!1)]=b);return b[c]},SKc=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[r4(a,!1)]=b;return c};
q4.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 TKc(a);};
var UKc=function(a,b){var c=ca.window||ca.globalThis,d=c[b];if(!d)throw Error("ef`"+b);c[b]=function(e,f){"string"===typeof e&&(e=Dt(gMb,e));e&&(arguments[0]=e=RKc(a,e));if(d.apply)return d.apply(this,arguments);var h=e;if(2<arguments.length){var k=Array.prototype.slice.call(arguments,2);h=function(){e.apply(this,k)}}return d(h,f)};c[b][r4(a,!1)]=d};
q4.prototype.disposeInternal=function(){var a=ca.window||ca.globalThis;var b=a.setTimeout;b=b[r4(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[r4(this,!1)]||b;a.setInterval=b;q4.superClass_.disposeInternal.call(this)};var TKc=function(a){aa.call(this,"Error in protected function: "+(a&&a.message?String(a.message):String(a)),a);(a=a&&a.stack)&&"string"===typeof a&&(this.stack=a)};Et(TKc,aa);var WKc=function(a,b,c){No.call(this);this.contextProvider_=b||null;this.additionalArguments_={};this.xhrSender_=VKc;this.handlerUrl_=a;if(!c){this.errorHandler_=null;this.errorHandler_=new q4(Ct(this.handleException,this));UKc(this.errorHandler_,"setTimeout");UKc(this.errorHandler_,"setInterval");a=this.errorHandler_;b=ca.window||ca.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&UKc(a,
e)}a=this.errorHandler_;kXb=!0;b=Ct(a.wrap,a);for(c=0;c<iXb.length;c++)iXb[c](b);jXb.push(a)}};Et(WKc,No);var XKc=function(a,b){yB.call(this,"F");this.error=a;this.context=b};Et(XKc,yB);var VKc=function(a,b,c,d){if(d instanceof Map){var e={};d=l(d);for(var f=d.next();!f.done;f=d.next()){var h=l(f.value);f=h.next().value;h=h.next().value;e[f]=h}}else e=d;qp(a,null,b,c,e)};
WKc.prototype.handleException=function(a,b){a=a.error||a;b=b?dc(b):{};a instanceof Error&&Xda(b,a.__closure__error__context__984382||{});var c=HUb(a);if(this.contextProvider_)try{this.contextProvider_(c,b)}catch(t){}var d=c.message.substring(0,1900);if(!(a instanceof aa)||a.reportErrorToServer){var e=c.fileName,f=c.lineNumber;a=c.stack;try{var h=nC(this.handlerUrl_,"script",e,"error",d,"line",f);bc(this.additionalArguments_)||(h=IAa(h,this.additionalArguments_));d={};d.trace=a;if(b)for(var k in b)d["context."+
k]=b[k];var q=JZb(d);this.xhrSender_(h,"POST",q,this.extraHeaders_)}catch(t){}}try{this.dispatchEvent(new XKc(c,b))}catch(t){}};WKc.prototype.disposeInternal=function(){Jh(this.errorHandler_);WKc.superClass_.disposeInternal.call(this)};var s4=function(){this.jsBuild="602209390";this.buildLabel="buganizer.frontend_20240128.11_p0"};s4.\u0275fac=function(a){return new (a||s4)};s4.\u0275prov=vc({token:s4,factory:s4.\u0275fac,providedIn:"root"});var t4=function(){};t4.prototype.reportingEnabled=function(){return 4!==QKc};t4.\u0275fac=function(a){return new (a||t4)};t4.\u0275prov=vc({token:t4,factory:t4.\u0275fac,providedIn:"root"});
var u4=function(a,b){var c=this;this.appContext=b;this.context={};this.reportingExtensions=[];this.jsDebugErrorReporter=new WKc("/jserror",function(d,e){e.js_build=a.jsBuild;e.buildLabel=a.buildLabel;e["build-label"]=a.buildLabel;d=l(c.reportingExtensions);for(var f=d.next();!f.done;f=d.next())f.value.enhanceContext(e)},!0)};
u4.prototype.reportError=function(a){console.error("ErrorReporter: ",(null==a?void 0:a.stack)||a);if(this.appContext.reportingEnabled()){a.stack&&(a.stack=a.stack.replace(/ \[angular\]/g,""));this.jsDebugErrorReporter.handleException(a);a=l(this.reportingExtensions);for(var b=a.next();!b.done;b=a.next())b.value.onReportedError()}};u4.\u0275fac=function(a){return new (a||u4)(p(s4),p(t4))};u4.\u0275prov=vc({token:u4,factory:u4.\u0275fac,providedIn:"root"});var v4=function(a){this._console=console;this.reporter=a};X(v4,Ud);v4.prototype.handleError=function(a){this.reporter.reportError(a)};v4.\u0275fac=function(a){return new (a||v4)(p(u4))};v4.\u0275prov=vc({token:v4,factory:v4.\u0275fac,providedIn:"root"});var w4=function(a){this.activeSession=a};X(w4,t4);w4.prototype.reportingEnabled=function(){return tE(this.activeSession,"reportErrors")};w4.\u0275fac=function(a){return new (a||w4)(p(nt))};w4.\u0275prov=vc({token:w4,factory:w4.\u0275fac,providedIn:"root"});
var YKc={provide:Ud,useClass:v4},ZKc={provide:t4,useClass:w4},$Kc={provide:s4,useValue:{jsBuild:"602209390",buildLabel:"buganizer.frontend_20240128.11_p0"}};var x4=function(){};x4.\u0275fac=function(a){return new (a||x4)};x4.\u0275cmp=Lc({type:x4,selectors:[["b-empty"]],decls:0,vars:0,template:function(){},encapsulation:2});var y4=function(){};y4.\u0275fac=function(a){return new (a||y4)};y4.\u0275mod=Nc({type:y4});y4.\u0275inj=wc({});var z4=function(){};X(z4,rF);z4.prototype.store=function(){};z4.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig&&Th(a.params,b.params)};z4.\u0275fac=function(){var a;return function(b){return(a||(a=zd(z4)))(b||z4)}}();z4.\u0275prov=vc({token:z4,factory:z4.\u0275fac,providedIn:"root"});var A4=function(a){this.router=a};
A4.prototype.canActivate=function(a,b){if(b.url.includes("#ISSUE_HistoryHeader")){var c=l(b.url.split("#ISSUE_HistoryHeader"));a=c.next().value;c=c.next().value;return wF(this.router,[a],{fragment:c&&!isNaN(Number(c))?"comment"+c:void 0})}if(a.queryParamMap.has("showInsights")&&"1"===a.queryParamMap.get("showInsights")){b=l(b.url.split("?")).next().value;var d={};return wF(this.router,[b],{queryParams:Object.assign({},KCa(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?wF(this.router,["home"]):!0};A4.\u0275fac=function(a){return new (a||A4)(p(vF))};A4.\u0275prov=vc({token:A4,factory:A4.\u0275fac,providedIn:"root"});var aLc=/^(\d+)$/,B4=function(a){this.butterBar=a;this.paramNamesToCheck=new Set(Object.values(B4b))};B4.prototype.validate=function(a){for(var b=l(Object.keys(a)),c=b.next();!c.done;c=b.next())if(c=c.value,this.paramNamesToCheck.has(c)){var d=a[c],e=Pk(d);if(!aLc.test(d)||isNaN(e)||!Number.isInteger(e))return this.butterBar.showWarning("The URL parameter "+c+' has the malformed value "'+d+'".'),!1}return!0};B4.\u0275fac=function(a){return new (a||B4)(p(hG))};
B4.\u0275prov=vc({token:B4,factory:B4.\u0275fac,providedIn:"root"});var C4=function(a){this.routeParamsValidator=a};C4.prototype.canActivate=function(a){return this.routeParamsValidator.validate(a.params)};C4.\u0275fac=function(a){return new (a||C4)(p(B4))};C4.\u0275prov=vc({token:C4,factory:C4.\u0275fac,providedIn:"root"});var D4=function(a,b){this.activeSession=a;this.router=b};D4.prototype.canActivate=function(){return this.activeSession.isInternalSession()?!0:wF(this.router,["issues"])};D4.\u0275fac=function(a){return new (a||D4)(p(nt),p(vF))};D4.\u0275prov=vc({token:D4,factory:D4.\u0275fac,providedIn:"root"});var E4=function(a,b){this.currentTracker=a;this.router=b};E4.prototype.canActivate=function(){return this.currentTracker.inTracker?wF(this.router,["issues"]):!0};E4.\u0275fac=function(a){return new (a||E4)(p(IM),p(vF))};E4.\u0275prov=vc({token:E4,factory:E4.\u0275fac,providedIn:"root"});var F4=function(a,b){this.userPreferences=a;this.activeSession=b},bLc=function(a){var b=tE(a.activeSession,"enableHomepageVariantA")&&a.activeSession.isInternalSession();a=om(a.userPreferences.homepagePreferences$);if(b&&(null==a||0===Object.keys(a).length||"MISSION_CONTROL"===(null==a?void 0:a.resourceType))||"NEEDS_ATTENTION"===(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"}};F4.\u0275fac=function(a){return new (a||F4)(p(BE),p(nt))};F4.\u0275prov=vc({token:F4,factory:F4.\u0275fac,providedIn:"root"});var G4=function(a,b){this.router=a;this.homepageRedirection=b};G4.prototype.canActivate=function(){return wF(this.router,[bLc(this.homepageRedirection)])};G4.\u0275fac=function(a){return new (a||G4)(p(vF),p(F4))};G4.\u0275prov=vc({token:G4,factory:G4.\u0275fac,providedIn:"root"});var cLc={ANDROID:"Android",CHROME:"ChromeOS",IOS:"iOS",LINUX:"Linux",MAC:"Mac",UNKNOWN:"Unknown",WINDOWS:"Windows"};var dLc={USER:"USER",DEVELOPER:"DEVELOPER",CONTRIBUTOR:"CONTRIBUTOR"},eLc={INPUT:"INPUT",TEXT:"TEXT",SELECT:"SELECT"},fLc=new Xc("CustomQuestionsConfig"),gLc=new Xc("ComponentIds"),hLc=new Xc("CustomFieldIds"),iLc=new Xc("HotlistIds");var jLc=function(a){this.componentIds=a;this.persona="USER";this.categoryChange=new zv;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},
{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},{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:"Security",description:"Problems with the browser security",value:"SECURITY"},{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.CONTRIBUTOR=[],a)};
jLc.\u0275fac=function(a){return new (a||jLc)(A(gLc))};
jLc.\u0275cmp=Lc({type:jLc,selectors:[["wizard-category-select"]],inputs:{persona:"persona",category:"category"},outputs:{categoryChange:"categoryChange"},decls:5,vars:3,consts:[["appearance","outline","aria-label","Which of the following describes your issue?"],["panelClass","oversized","aria-label","Choose issue category",3,"value","valueChange"],["class","multiline",3,"value",4,"ngFor","ngForOf"],[1,"multiline",3,"value"],[1,"description"]],template:function(a,b){a&1&&(E(0,"mat-form-field",0)(1,
"mat-select",1),M("valueChange",function(d){b.category=d;b.categoryChange.emit(b.category)}),E(2,"mat-select-trigger"),R(3),G(),C(4,dlb,5,3,"mat-option",2),G()());if(a&2){var c;y();D("value",b.category);y(2);S(" ",null!==(c=null==b.category?null:b.category.title)&&void 0!==c?c:""," ");y();D("ngForOf",b.options[b.persona])}},dependencies:[hw,dB,pN,oN,qA],styles:[".mat-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 Js=function(a){return{question:a}},H4=function(a){this.config=a;this.CustomQuestionType=eLc;this.responses=new zv;this.model=Object.assign({},a)};H4.prototype.ngOnInit=function(){};var olb=function(a){var b=a.model[a.category].filter(function(c){return!!c.response});a.responses.emit(b)};H4.\u0275fac=function(a){return new (a||H4)(A(fLc))};
H4.\u0275cmp=Lc({type:H4,selectors:[["wizard-custom-questions"]],inputs:{category:"category"},outputs:{responses:"responses"},decls:9,vars:1,consts:[[4,"ngFor","ngForOf"],["customQuestion",""],["input",""],["text",""],["select",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"innerHtml"],["appearance","outline"],["matInput","",3,"ngModel","ngModelChange"],[1,"textarea"],["required","",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet",
"ngTemplateOutletContext",4,"ngIf"],[3,"value"]],template:function(a,b){a&1&&C(0,elb,2,4,"ng-container",0)(1,ilb,4,4,"ng-template",null,1,jg)(3,jlb,3,3,"ng-template",null,2,jg)(5,klb,4,3,"ng-template",null,3,jg)(7,plb,5,5,"ng-template",null,4,jg);a&2&&D("ngForOf",b.model[b.category])},dependencies:[hw,dw,lw,iw,jw,Dg,Hw,Ow,dB,fB,pN,qA],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%]   mat-form-field.textarea[_ngcontent-%COMP%]     .mat-form-field-underline{display:none}[_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 kLc=function(){this.Persona=dLc;this.persona="USER";this.personaChange=new zv};kLc.\u0275fac=function(a){return new (a||kLc)};
kLc.\u0275cmp=Lc({type:kLc,selectors:[["wizard-persona-picker"]],inputs:{persona:"persona"},outputs:{personaChange:"personaChange"},decls:14,vars:4,consts:[["aria-label","Select your following role",3,"ngModel","ngModelChange"],[3,"value"],[1,"subtext"]],template:function(a,b){a&1&&(E(0,"div")(1,"mat-radio-group",0),M("ngModelChange",function(c){b.persona=c;b.personaChange.emit(b.persona)}),E(2,"mat-radio-button",1),R(3," End User "),E(4,"div",2),R(5," I am trying to use a website. "),G()(),E(6,"mat-radio-button",
1),R(7," Web Developer "),E(8,"div",2),R(9," I am trying to build something on a website. "),G()(),E(10,"mat-radio-button",1),R(11," Chromium Contributor "),E(12,"div",2),R(13," I know about a problem in specific tests or code. "),G()()()());a&2&&(y(),D("ngModel",b.persona),y(),D("value",b.Persona.USER),y(4),D("value",b.Persona.DEVELOPER),y(4),D("value",b.Persona.CONTRIBUTOR))},dependencies:[Hw,Ow,kW,lW],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-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}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;margin-right:60px;max-width:270px;height:90px;padding:24px 12px;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 lLc=new Xc("GMAT_CARD_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var mLc=function(a){this.options=a};mLc.\u0275fac=function(a){return new (a||mLc)(A(lLc))};mLc.\u0275dir=Qc({type:mLc,selectors:[["mat-card"]],hostVars:2,hostBindings:function(a,b){a&2&&yf("gmat-mdc-card",!b.options.disableGmatStyle)}});var nLc=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],oLc=new Xc("MAT_CARD_CONFIG"),pLc=function(a){this.appearance=(null==a?void 0:a.appearance)||"raised"};pLc.\u0275fac=function(a){return new (a||pLc)(A(oLc,8))};
pLc.\u0275cmp=Lc({type:pLc,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(a,b){a&2&&yf("mat-mdc-card-outlined","outlined"===b.appearance)("mdc-card--outlined","outlined"===b.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[dg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Lf(),Mf(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 qLc=function(){};qLc.\u0275fac=function(a){return new (a||qLc)};qLc.\u0275dir=Qc({type:qLc,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0});var rLc=function(){};rLc.\u0275fac=function(a){return new (a||rLc)};
rLc.\u0275cmp=Lc({type:rLc,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[dg],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&&(Lf(nLc),Mf(0),E(1,"div",0),Mf(2,1),G(),Mf(3,2))},encapsulation:2,changeDetection:0});var I4=function(a){this._elementRef=a};I4.prototype.focus=function(){this._elementRef.nativeElement.focus()};I4.\u0275fac=function(a){return new (a||I4)(A(Ad))};I4.\u0275dir=Qc({type:I4,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0});var J4=function(a){this.template=a};J4.\u0275fac=function(a){return new (a||J4)(A(Rf))};J4.\u0275dir=Qc({type:J4,selectors:[["","cdkStepLabel",""]],standalone:!0});var sLc=0,tLc=new Xc("STEPPER_GLOBAL_OPTIONS"),K4=function(a,b){this._stepper=a;this.interacted=!1;this.interactedStream=new zv;this.editable=!0;this.optional=!1;this._customError=this._completedOverride=null;this._stepperOptions=b?b:{};this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType};g=K4.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};Vg.Object.defineProperties(K4.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}}});
K4.\u0275fac=function(a){return new (a||K4)(A(Cc(function(){return L4})),A(tLc,8))};
K4.\u0275cmp=Lc({type:K4,selectors:[["cdk-step"]],contentQueries:function(a,b,c){a&1&&Vf(c,J4,5);if(a&2){var d;Yf(d=Zf())&&(b.stepLabel=d.first)}},viewQuery:function(a,b){a&1&&Uf(Rf,7);if(a&2){var c;Yf(c=Zf())&&(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",pg],optional:[2,"optional","optional",pg],completed:[2,
"completed","completed",pg],hasError:[2,"hasError","hasError",pg]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[of,ed,dg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Lf(),C(0,qlb,1,0,"ng-template"))},encapsulation:2,changeDetection:0});
var L4=function(a,b,c){this._dir=a;this._changeDetectorRef=b;this._elementRef=c;this._destroyed=new W.Subject;this.steps=new Tf;this._sortedHeaders=new Tf;this.linear=!1;this._selectedIndex=0;this.selectionChange=new zv;this.selectedIndexChange=new zv;this._orientation="horizontal";this._groupId=sLc++};g=L4.prototype;
g.ngAfterContentInit=function(){var a=this;this._steps.changes.pipe(cf(this._steps),ef(this._destroyed)).subscribe(function(b){a.steps.reset(b.filter(function(c){return c._stepper===a}));Xf(a.steps)})};
g.ngAfterViewInit=function(){var a=this;this._stepHeader.changes.pipe(cf(this._stepHeader),ef(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}));Xf(a._sortedHeaders)});this._keyManager=Lx(Ox(Kx(new Rx(this._sortedHeaders))),"vertical"===this._orientation);(this._dir?this._dir.change:(0,W.of)()).pipe(cf(this._layoutDirection()),
ef(this._destroyed)).subscribe(function(b){return Mx(a._keyManager,b)});Px(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):Px(this._keyManager,a);this._selectedIndex=a;this.selectedIndexChange.emit(this._selectedIndex);this._stateChanged()};
g._onKeydown=function(a){var b=Mg(a),c=a.keyCode,d=this._keyManager;if(null==d.activeItemIndex||b||32!==c&&13!==c)mSb(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=Kg();return a===b||a.contains(b)};g._isValidIndex=function(a){return-1<a&&(!this.steps||a<this.steps.length)};
Vg.Object.defineProperties(L4.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&&Lx(this._keyManager,"vertical"===a)}}});L4.\u0275fac=function(a){return new (a||L4)(A(ay,8),A(Uu),A(Ad))};
L4.\u0275dir=Qc({type:L4,selectors:[["","cdkStepper",""]],contentQueries:function(a,b,c){a&1&&(Vf(c,K4,5),Vf(c,I4,5));if(a&2){var d;Yf(d=Zf())&&(b._steps=d);Yf(d=Zf())&&(b._stepHeader=d)}},inputs:{linear:[2,"linear","linear",pg],selectedIndex:[2,"selectedIndex","selectedIndex",qg],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"],standalone:!0,features:[of]});var M4=function(a){this._stepper=a;this.type="submit"};M4.\u0275fac=function(a){return new (a||M4)(A(L4))};M4.\u0275dir=Qc({type:M4,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(){return b._stepper.next()});a&2&&Hf("type",b.type)},inputs:{type:"type"},standalone:!0});var N4=function(a){this._stepper=a;this.type="button"};N4.\u0275fac=function(a){return new (a||N4)(A(L4))};
N4.\u0275dir=Qc({type:N4,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(){return b._stepper.previous()});a&2&&Hf("type",b.type)},inputs:{type:"type"},standalone:!0});var O4=function(){};O4.\u0275fac=function(a){return new (a||O4)};O4.\u0275mod=Nc({type:O4});O4.\u0275inj=wc({imports:[by]});var P4=function(){M4.apply(this,arguments)};X(P4,M4);P4.\u0275fac=function(){var a;return function(b){return(a||(a=zd(P4)))(b||P4)}}();P4.\u0275dir=Qc({type:P4,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(a,b){a&2&&Hf("type",b.type)},standalone:!0,features:[nf]});var Q4=function(){N4.apply(this,arguments)};X(Q4,N4);Q4.\u0275fac=function(){var a;return function(b){return(a||(a=zd(Q4)))(b||Q4)}}();
Q4.\u0275dir=Qc({type:Q4,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(a,b){a&2&&Hf("type",b.type)},standalone:!0,features:[nf]});var R4=function(a){this.templateRef=a};R4.\u0275fac=function(a){return new (a||R4)(A(Rf))};R4.\u0275dir=Qc({type:R4,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]},standalone:!0});var uLc=function(a){this._template=a};uLc.\u0275fac=function(a){return new (a||uLc)(A(Rf))};uLc.\u0275dir=Qc({type:uLc,selectors:[["ng-template","matStepContent",""]],standalone:!0});var S4=function(){J4.apply(this,arguments)};X(S4,J4);S4.\u0275fac=function(){var a;return function(b){return(a||(a=zd(S4)))(b||S4)}}();S4.\u0275dir=Qc({type:S4,selectors:[["","matStepLabel",""]],standalone:!0,features:[nf]});var T4=function(){this.changes=new W.Subject;this.optionalLabel="Optional";this.completedLabel="Completed";this.editableLabel="Editable"};T4.\u0275fac=function(a){return new (a||T4)};T4.\u0275prov=vc({token:T4,factory:T4.\u0275fac,providedIn:"root"});var vLc={provide:T4,deps:[[new Nu,new Ou,T4]],useFactory:function(a){return a||new T4}};var U4=function(a,b,c,d){this._elementRef=c;this._intl=a;this._focusMonitor=b;this._intlSubscription=a.changes.subscribe(function(){return d.markForCheck()})};X(U4,I4);U4.\u0275dir=I4.\u0275dir;g=U4.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?qx(this._focusMonitor,this._elementRef,a,b):this._elementRef.nativeElement.focus(b)};
g._stringLabel=function(){return this.label instanceof S4?null:this.label};g._templateLabel=function(){return this.label instanceof S4?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};U4.\u0275fac=function(a){return new (a||U4)(A(T4),A(px),A(Ad),A(Uu))};
U4.\u0275cmp=Lc({type:U4,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(a,b){a&2&&zf("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:[nf,dg],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"],["class","mat-step-text-label"],["class","mat-step-optional"],["class","mat-step-sub-label-error"],["aria-hidden","true"],["class","cdk-visually-hidden"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(a,b){a&1&&(I(0,"div",0),E(1,"div")(2,"div",1),C(3,rlb,1,2,
"ng-container",2)(4,wlb,2,1),G()(),E(5,"div",3),C(6,xlb,2,1,"div",4)(7,ylb,2,1)(8,zlb,2,1,"div",5)(9,Alb,2,1,"div",6),G());if(a&2){var c;D("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disableRipple);y();Bf("mat-step-icon-state-",b.state," mat-step-icon");yf("mat-step-icon-selected",b.selected);y(2);Cf(3,b.iconOverrides&&b.iconOverrides[b.state]?3:4);y(2);yf("mat-step-label-active",b.active)("mat-step-label-selected",b.selected)("mat-step-label-error","error"==b.state);y();Cf(6,(c=
b._templateLabel())?6:b._stringLabel()?7:-1,c);y(2);Cf(8,b.optional&&"error"!=b.state?8:-1);y();Cf(9,"error"===b.state?9:-1)}},dependencies:[Sy,lw,hB],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 wLc=mh("horizontalStepTransition",[ph("previous",oh({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),ph("current",oh({transform:"none",visibility:"inherit"})),ph("next",oh({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),rh("* => *",Gpa([nh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),th("@*",sh())]),{params:{animationDuration:"500ms"}})]),xLc=mh("verticalStepTransition",[ph("previous",oh({height:"0px",visibility:"hidden"})),ph("next",oh({height:"0px",visibility:"hidden"})),
ph("current",oh({height:"*",visibility:"inherit"})),rh("* <=> current",Gpa([nh("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),th("@*",sh())]),{params:{animationDuration:"225ms"}})]);var yLc=["*"],Flb=function(a,b){return{step:a,i:b}},Ilb=function(a){return{animationDuration:a}},Hlb=function(a,b){return{value:a,params:b}},V4=function(a,b,c,d){K4.call(this,a,d);this._errorStateMatcher=b;this._viewContainerRef=c;this._isSelected=W.Subscription.EMPTY;this.stepLabel=void 0};X(V4,K4);
V4.prototype.ngAfterContentInit=function(){var a=this;this._isSelected=this._stepper.steps.changes.pipe(df(function(){return a._stepper.selectionChange.pipe(B(function(b){return b.selectedStep===a}),cf(a._stepper.selected===a))})).subscribe(function(b){b&&a._lazyContent&&!a._portal&&(a._portal=new Ux(a._lazyContent._template,a._viewContainerRef))})};V4.prototype.ngOnDestroy=function(){this._isSelected.unsubscribe()};
V4.prototype.isErrorState=function(a,b){var c=!!(a&&a.invalid&&this.interacted);return this._errorStateMatcher.isErrorState(a,b)||c};V4.\u0275fac=function(a){return new (a||V4)(A(Cc(function(){return W4})),A(My,4),A(Sf),A(tLc,8))};
V4.\u0275cmp=Lc({type:V4,selectors:[["mat-step"]],contentQueries:function(a,b,c){a&1&&(Vf(c,S4,5),Vf(c,uLc,5));if(a&2){var d;Yf(d=Zf())&&(b.stepLabel=d.first);Yf(d=Zf())&&(b._lazyContent=d.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[bg([{provide:My,useExisting:V4},{provide:K4,useExisting:V4}]),nf,dg],ngContentSelectors:yLc,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(a){a&1&&(Lf(),C(0,Clb,2,1,"ng-template"))},dependencies:[Yx],
encapsulation:2,changeDetection:0});var W4=function(a,b,c){L4.call(this,a,b,c);this._steps=this._stepHeader=void 0;this.steps=new Tf;this.animationDone=new zv;this.labelPosition="end";this.headerPosition="top";this._iconOverrides={};this._animationDone=new W.Subject;this._animationDuration="";this._isServer=!Gc(fx).isBrowser;this.orientation="mat-vertical-stepper"===c.nativeElement.nodeName.toLowerCase()?"vertical":"horizontal"};X(W4,L4);W4.\u0275dir=L4.\u0275dir;
W4.prototype.ngAfterContentInit=function(){var a=this;L4.prototype.ngAfterContentInit.call(this);this._icons.forEach(function(b){return a._iconOverrides[b.name]=b.templateRef});this.steps.changes.pipe(ef(this._destroyed)).subscribe(function(){a._stateChanged()});this._animationDone.pipe(Te(function(b,c){return b.fromState===c.fromState&&b.toState===c.toState}),ef(this._destroyed)).subscribe(function(b){"current"===b.toState&&a.animationDone.emit()})};
W4.prototype._stepIsNavigable=function(a,b){return b.completed||this.selectedIndex===a||!this.linear};W4.prototype._getAnimationDuration=function(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"};Vg.Object.defineProperties(W4.prototype,{animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){this._animationDuration=/^\d+$/.test(a)?a+"ms":a}}});
W4.\u0275fac=function(a){return new (a||W4)(A(ay,8),A(Uu),A(Ad))};
W4.\u0275cmp=Lc({type:W4,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(a,b,c){a&1&&(Vf(c,V4,5),Vf(c,R4,5));if(a&2){var d;Yf(d=Zf())&&(b._steps=d);Yf(d=Zf())&&(b._icons=d)}},viewQuery:function(a,b){a&1&&Uf(U4,5);if(a&2){var c;Yf(c=Zf())&&(b._stepHeader=c)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(a,b){a&2&&(pf("aria-orientation",b.orientation),yf("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:[bg([{provide:L4,useExisting:W4}]),nf,dg],ngContentSelectors:yLc,decls:5,vars:2,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-horizontal-stepper-content",
"role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],["class","mat-step"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(a,b){a&1&&(Lf(),C(0,Dlb,1,0)(1,Klb,7,0)(2,Mlb,2,0)(3,Nlb,1,23,"ng-template",null,0,jg));if(a&2){var c;Cf(0,
b._isServer?0:-1);y();Cf(1,"horizontal"===(c=b.orientation)?1:"vertical"===c?2:-1)}},dependencies:[lw,U4],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:[wLc,xLc]},changeDetection:0});var zLc=["summary"],ALc=["reproSteps"],BLc=["description"],Qlb=function(){return{noWizard:"true"}},CLc=function(a){return{nonEmptyValidator:a}},DLc=function(a,b){return{reproStepsValidator:a,nonEmptyValidator:b}},ELc=[Oi("security@chromium.org")],X4=function(a,b,c,d,e,f,h,k,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=k;this.paths=q;this.redirectUrl=t;this.userAccess=w;this.Persona=dLc;this.PlatformOs=
cLc;a=clb();var z;b=window.navigator.userAgent.match(/chrome\/(\d|\.)+/i)||[];if(0<b.length){var F;b=null==(F=b[0])?void 0:F.split("/")[1]}else b=void 0;this.model={persona:"USER",category:void 0,os:a?[a]:[],channel:"Not sure",version:null!=(z=b)?z:"",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},Olb=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:Nh(b)}};g=X4.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){ua(this.uploads,a)};
g.getAttachments=function(){for(var a=[],b=l(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,2===c.state&&c.blobRef&&a.push(Uh(c.blobRef));return a};
g.submit=function(){var a=this,b,c,d,e,f;return ke(function(h){switch(h.nextAddress){case 1:var k="BUG",q=null,t=null,w="P2",z="S2",F=a.hotlistIds.unconfirmed?[a.hotlistIds.unconfirmed]:null,J;"SECURITY"===(null==(J=a.model.category)?void 0:J.value)&&(k="VULNERABILITY",w="P4",z="S4",q="LIMIT_VIEW",t=ELc);var H;J=(null==(H=a.model.category)?void 0:H.componentId)||a.componentIds.default;H=a.model.summary;var O=$lb(a.model,a.customFieldIds),P=a.model,U,Z="\n# Steps to reproduce the problem\n"+P.reproSteps+
"\n\n# Problem Description\n"+P.description+"\n\n"+(0<P.comments.length?"\n# Additional Comments\n"+P.comments:"")+"\n\n# Summary\n"+P.summary+"\n\n"+bmb(P.customQuestionResponses)+"\n\n# Additional Data\nCategory: "+(null==(U=P.category)?void 0:U.title)+" \\\nChrome Channel: "+P.channel+" \\\nRegression: "+P.regression;Z=Z.replace(/^\n/,"");b={componentId:J,type:k,status:"NEW",priority:w,severity:z,title:H,customField:O,comment:Z.replace(/\n{3,}/g,"\n\n"),formattingMode:"MARKDOWN",inProd:!0,isArchived:!1,
reporterUser:a.currentUser.user,issueAccessLimitLevel:q,collaboratorsUsers:t,ccUsers:[a.currentUser.user],hotlistId:F,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};Ks(a.butterBar,"Saving...",0);le(h,2);
return me(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("ff");a.butterBar.dismiss();kp(a.analytics,Sp.CREATE_ISSUE,"fileAndRedirect","wizard",!0);return me(h,zH(a.userAccess,"reader","issues/"+d),5);case 5:(e=h.yieldResult)?jAc(a.redirectUrl,a.paths.editIssue(d),String(d)):(Ks(a.butterBar,"New issue created: "+d+" (view access not granted)",0),jAc(a.redirectUrl,
a.paths.listIssues()));xt(h,0);break;case 2:f=pe(h),Ks(a.butterBar,"Failed to create issue: "+f),qe(h)}})};X4.\u0275fac=function(a){return new (a||X4)(A(nt),A(MI),A(hG),A(bS),A(gLc),A(hLc),A(iLc),A(PH),A(iI),A(W0),A(xH))};
X4.\u0275cmp=Lc({type:X4,selectors:[["chrome-wizard"]],viewQuery:function(a,b){a&1&&(Uf(zLc,5),Uf(ALc,5),Uf(BLc,5),Uf(oV,5));if(a&2){var c;Yf(c=Zf())&&(b.summaryControl=c.first);Yf(c=Zf())&&(b.reproStepsControl=c.first);Yf(c=Zf())&&(b.descriptionControl=c.first);Yf(c=Zf())&&(b.attachmentUploader=c.first)}},inputs:{fullScreen:"fullScreen"},decls:117,vars:46,consts:[["headerPosition","bottom","animationDuration","0","aria-label","Issue filing form","linear","",3,"disableRipple"],["aria-label","Report an issue with Chromium",
3,"completed"],[1,"required"],[3,"persona","personaChange"],[4,"ngIf","ngIfElse"],["contributor",""],[3,"completed","aria-label"],[1,"inline-block"],["appearance","outline","aria-label","Operating system",1,"inline"],["multiple","",3,"ngModel","ngModelChange"],[3,"value"],[1,"inline-block","channel"],["appearance","outline","aria-label","Chrome Channel",1,"inline"],[3,"ngModel","ngModelChange"],["value","Not sure"],["value","Stable"],["value","Beta"],["value","Dev"],["value","Canary"],[1,"inline"],
["matInput","","aria-label","Chrome version",3,"ngModel","ngModelChange"],[1,"textarea"],["matInput","","required","","maxlength","100","name","summary","aria-label","One line summary",3,"ngModel","customValidators","ngModelChange"],["summary","ngModel"],[4,"ngIf"],["matInput","","required","","maxlength","5000","name","reproSteps","aria-label","Steps to reproduce problem",3,"ngModel","customValidators","ngModelChange"],["reproSteps","ngModel"],["matInput","","required","","maxlength","5000","name",
"description","aria-label","Describe the problem",3,"ngModel","customValidators","ngModelChange"],["description","ngModel"],["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,"ngModel","ngModelChange"],[3,"uploads","onUploadComplete","onUploadCancel"],[1,"attachment-selector"],[3,"includeTextLabel","onSelect"],["class","wizard-recaptcha",4,"ngIf"],["mat-raised-button","","color","primary",3,"disabled","click"],["matStepperIcon","number"],["matStepperIcon","edit"],["matStepperIcon","done"],[3,"persona","category","categoryChange"],[1,"dupes"],[1,"ack-dupes",3,"ngModel","ngModelChange"],[3,"href"],
[3,"category","responses"],[1,"wizard-recaptcha"],[3,"onUpdate"]],template:function(a,b){a&1&&(E(0,"mat-stepper",0)(1,"mat-step",1)(2,"h2"),R(3,"Report an issue with Chromium"),G(),E(4,"h3"),R(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. "),G(),I(6,"br"),E(7,"h4",2),R(8,"Please select your following role:"),G(),E(9,"wizard-persona-picker",3),M("personaChange",
function(h){b.model.category=void 0;b.model.persona=h}),G(),C(10,Plb,17,5,"ng-container",4)(11,Rlb,10,2,"ng-template",null,5,jg),G(),E(13,"mat-step",6)(14,"h2"),R(15),G(),E(16,"h3"),R(17,"Please confirm that the following version information is correct."),G(),E(18,"h4",7),R(19,"Operating System:"),G(),E(20,"mat-form-field",8)(21,"mat-select",9),M("ngModelChange",function(h){return b.model.os=h}),E(22,"mat-option",10),R(23,"Android"),G(),E(24,"mat-option",10),R(25,"Chrome OS"),G(),E(26,"mat-option",
10),R(27,"iOS"),G(),E(28,"mat-option",10),R(29,"Linux"),G(),E(30,"mat-option",10),R(31,"Mac OS"),G(),E(32,"mat-option",10),R(33,"Windows"),G(),E(34,"mat-option",10),R(35,"Unknown/Other"),G()()(),E(36,"h4",11),R(37,"Channel:"),G(),E(38,"mat-form-field",12)(39,"mat-select",13),M("ngModelChange",function(h){return b.model.channel=h}),E(40,"mat-option",14),R(41,"Not sure"),G(),E(42,"mat-option",15),R(43,"Stable"),G(),E(44,"mat-option",16),R(45,"Beta"),G(),E(46,"mat-option",17),R(47,"Dev"),G(),E(48,"mat-option",
18),R(49,"Canary"),G()()(),I(50,"br"),E(51,"h4",7),R(52,"Chrome version:"),G(),E(53,"mat-form-field",19)(54,"input",20),M("ngModelChange",function(h){return b.model.version=h}),G()(),E(55,"h4",2),R(56,"Please enter a one line summary (100 character limit)"),G(),E(57,"mat-form-field",21)(58,"textarea",22,23),M("ngModelChange",function(h){return b.model.summary=h}),R(60,"      "),G(),C(61,Slb,2,0,"mat-error",24),G(),E(62,"h4",2),R(63,"Steps to reproduce problem (5000 character limit)"),G(),E(64,"mat-form-field",
21)(65,"textarea",25,26),M("ngModelChange",function(h){return b.model.reproSteps=h}),R(67,"      "),G(),C(68,Tlb,2,0,"mat-error",24),G(),E(69,"h4",2),R(70,"Please describe the problem (5000 character limit)"),G(),E(71,"mat-form-field",21)(72,"textarea",27,28),M("ngModelChange",function(h){return b.model.description=h}),R(74,"      "),G(),C(75,Ulb,2,0,"mat-error",24),G(),E(76,"h4"),R(77,"Did this work before?"),G(),E(78,"mat-form-field",29)(79,"mat-select",13),M("ngModelChange",function(h){return b.model.regression=
h}),E(80,"mat-option",30),R(81,"Not applicable or don't know"),G(),E(82,"mat-option",31),R(83,"Yes - This is a regression"),G(),E(84,"mat-option",32),R(85,"No - I think it never worked"),G()()(),E(86,"div",33)(87,"button",34),I(88,"mat-icon",35),R(89," Back "),G(),E(90,"button",36),R(91," Next "),I(92,"mat-icon",37),G()()(),E(93,"mat-step",38)(94,"h2"),R(95,"Extra information about the issue"),G(),C(96,Vlb,1,1,"wizard-custom-questions",39),E(97,"h4"),R(98,"Additional comments"),G(),E(99,"mat-form-field",
21)(100,"textarea",40),M("ngModelChange",function(h){return b.model.comments=h}),G()(),E(101,"h4"),R(102,"Upload any relevant screenshots"),G(),E(103,"b-attachment-uploader",41),M("onUploadComplete",function(){return b.enableSubmit()})("onUploadCancel",function(h){b.removeUpload(h);return b.enableSubmit()}),G(),E(104,"div",42)(105,"b-attachment-selector",43),M("onSelect",function(h){b.uploadFile(h);b.isSubmitEnabled=!1}),G(),R(106," You can include multiple attachments. "),G(),C(107,Wlb,2,0,"div",
44),E(108,"div",33)(109,"button",34),I(110,"mat-icon",35),R(111," Back "),G(),E(112,"button",45),M("click",function(){return b.submit()}),R(113," Submit "),G()()(),C(114,Xlb,0,0,"ng-template",46)(115,Ylb,0,0,"ng-template",47)(116,Zlb,0,0,"ng-template",48),G());if(a&2){var c=Q(12),d=Q(59),e=Q(66),f=Q(73);yf("bv2-view",b.fullScreen)("hide-dots",b.model.persona===b.Persona.CONTRIBUTOR);D("disableRipple",!0);y();D("completed",Olb(b,0));y(8);D("persona",b.model.persona);y();D("ngIf",b.model.persona!==
b.Persona.CONTRIBUTOR)("ngIfElse",c);y(3);Nf("aria-label","Details for problems with ",null==b.model.category?null:b.model.category.title,"");D("completed",Olb(b,1));y(2);S("Details for problems with ",null==b.model.category?null:b.model.category.title,"");y(6);D("ngModel",b.model.os);y();D("value",b.PlatformOs.ANDROID);y(2);D("value",b.PlatformOs.CHROME);y(2);D("value",b.PlatformOs.IOS);y(2);D("value",b.PlatformOs.LINUX);y(2);D("value",b.PlatformOs.MAC);y(2);D("value",b.PlatformOs.WINDOWS);y(2);
D("value",b.PlatformOs.UNKNOWN);y(5);D("ngModel",b.model.channel);y(15);D("ngModel",b.model.version);y(4);D("ngModel",b.model.summary)("customValidators",fg(39,CLc,b.nonEmptyValidator));y(3);D("ngIf",d.invalid&&(d.dirty||d.touched));y(4);D("ngModel",b.model.reproSteps)("customValidators",gg(41,DLc,b.reproStepsValidator,b.nonEmptyValidator));y(3);D("ngIf",e.invalid&&(e.dirty||e.touched));y(4);D("ngModel",b.model.description)("customValidators",fg(44,CLc,b.nonEmptyValidator));y(3);D("ngIf",f.invalid&&
(f.dirty||f.touched));y(4);D("ngModel",b.model.regression);y(11);D("disabled",!Olb(b,1));y(6);D("ngIf",b.model.category);y(4);D("ngModel",b.model.comments);y(3);D("uploads",b.uploads);y(2);D("includeTextLabel",!0);y(2);D("ngIf",b.enableRecaptcha);y(5);D("disabled",!b.isSubmitEnabled||!b.isCaptchaValid())}},dependencies:[lV,oV,dw,hB,I0,Dg,Hw,$w,ax,Ow,nA,mLc,pLc,qLc,rLc,WE,UA,dB,fB,pN,qA,V4,W4,P4,Q4,R4,TV,jLc,H4,kLc],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%]   mat-form-field.textarea[_ngcontent-%COMP%]     .mat-form-field-underline{display:none}[_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 yLb={default:1363614,apps:1456886,blink:1456407,devtools:1457055,enterprise:1456152,extensions:1456110,installer:1456937,media:1456190,network:1456527,sync:1457192,ui:1457123,webstore:1457238},xLb={default:402888,apps:422083,blink:421442,devtools:422123,enterprise:421726,extensions:422130,installer:421863,media:421886,network:421924,sync:422168,ui:422198,webstore:422443};var Y4=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()?xLb.default:yLb.default};
Y4.prototype.canActivate=function(){var a=this,b;return ke(function(c){if(1==c.nextAddress)return(b=tE(a.activeSession,"enableChromeWizard")&&"157"===a.currentTracker.getTrackerId()&&!a.routeParams.template&&!a.routeParams.noWizard)?me(c,zH(a.userAccess,"writer","components/"+a.rootComponentId+"/issueDefaults"),3):c.jumpTo(2);2!=c.nextAddress&&(b=!c.yieldResult);return b?c.return(wF(a.router,["issues/wizard"])):c.return(!0)})};Y4.\u0275fac=function(a){return new (a||Y4)(p(nt),p(IM),p(xK),p(vF),p(xH))};
Y4.\u0275prov=vc({token:Y4,factory:Y4.\u0275fac,providedIn:"root"});var Z4=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=Ln;this.createIssue=GCa;this.componentSettings=HCa;this.trackerId=this.currentTracker.getTrackerId();this.includeArchived=!1;this.isThinking=!0;this.isInternalSession=this.activeSession.isInternalSession();this.placeholder$=this.currentTracker.inTracker$.pipe(B(function(h){return h||f.activeSession.isExternalSession()?"Find components by name or id":"Find components by name, team, or id"}));
this.recentComponents$=this.userResources.getRecentComponents().then(function(h){return h.filter(function(k){return f.filterTrackerComponents(k)})}).finally(function(){f.isThinking=!1})};Z4.prototype.back=function(){V0(this.history)};Z4.prototype.filterTrackerComponents=function(a){return xn(this.trackerId)||a.trackerId===this.trackerId};Z4.\u0275fac=function(a){return new (a||Z4)(A(BI),A(U0),A(vF),A(IM),A(nt))};
Z4.\u0275cmp=Lc({type:Z4,selectors:[["components-screen-wrapper"]],decls:24,vars:12,consts:[[1,"flex-kids-y","pos-fill","bg-off-main","overflow","overflow-on-print-media"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-appbar-left"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[1,"bv2-appbar-right"],["mat-button","","routerLink","/components/new","class","gmat-button medium",4,"ngIf"],["label","Show archived","tooltip","Toggle whether to show 'archived' Components",
1,"margin-x",3,"model","modelChange"],[1,"padded"],[3,"includeArchived","placeholder","ariaLabel","selectedComponentChange"],[1,"margin-top"],[1,"pos-rel","carded","bg-main"],[4,"ngIf"],[1,"muted","margin-s-top","margin-left"],["routerLink","/components/all",1,"muted","hover-link"],["mat-button","","routerLink","/components/new",1,"gmat-button","medium"],["class","muted",4,"ngIf"],[1,"unstyled-list","reverse-padded-sides","recent-components"],[4,"ngFor","ngForOf"],[1,"muted"],["href","https://developers.google.com/issue-tracker/concepts/components#recent-components",
"target","_blank"],[1,"flex-kids-x","clickable-row","padded",3,"routerLinkObj"],[1,"flex-1",3,"onedevHovercardTrigger"],[1,"type-l","normal-link"],[1,"margin-s-left",3,"accessLevel","labelOnlyMode"],[1,"margin-s-left",3,"trackerId","showHovercard"],[1,"muted","line-clamp-2"],[1,"right"],["mat-button","","type","button",1,"gmat-button","medium",3,"routerLinkObj"],["card",""],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"],["cardBody",""]],template:function(a,b){a&1&&(E(0,"article",
0)(1,"header",1)(2,"div",2)(3,"button",3),M("click",function(){return b.back()}),I(4,"mat-icon",4),G(),E(5,"h2"),R(6,"Components"),G()(),E(7,"div",5),C(8,cmb,2,0,"a",6),E(9,"b-slide-toggle",7),M("modelChange",function(e){return b.includeArchived=e}),G()()(),E(10,"section",8)(11,"h3"),R(12,"Search"),G(),E(13,"b-team-component-picker",9),M("selectedComponentChange",function(e){null!=e&&Ts(b.router,HCa(e.componentId).path)}),T(14,"async"),T(15,"async"),G(),E(16,"h3",10),R(17,"Recent Components"),G(),
E(18,"div",11),C(19,gmb,4,2,"ng-container",12),T(20,"async"),G(),E(21,"p",13)(22,"a",14),R(23,"See all Components"),G()()()());if(a&2){var c,d;y(8);D("ngIf",b.isInternalSession);y();D("model",b.includeArchived);y(4);D("includeArchived",b.includeArchived)("placeholder",null!==(c=V(14,6,b.placeholder$))&&void 0!==c?c:"")("ariaLabel",null!==(d=V(15,8,b.placeholder$))&&void 0!==d?d:"");y(6);D("ngIf",V(20,10,b.recentComponents$))}},dependencies:[nA,oA,PC,hw,dw,hB,xF,XT,LR,FY,LF,MF,QF,NF,nU,zR,DR,mw],encapsulation:2});var a5=function(){};a5.\u0275fac=function(a){return new (a||a5)};a5.\u0275mod=Nc({type:a5});a5.\u0275inj=wc({imports:[SH,$C,BF,YT,WR]});var FLc=["bookmarkGroupName"],GLc=function(a){return{"bv2-edit-resource-readonly":a}},b5=function(a,b,c,d,e,f,h,k,q,t){Y.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=k;this.appEvents=t;this.error="";this.isSaving=!1;this.bookmarkGroupUnderEdit=new Lw({name:new Nw("",Dw),description:new Nw("")});h.setTitle("Create Bookmark Group");this.subscriptions.add(wY(q,function(){return!(!w.name()&&!w.description())},
!1))};X(b5,Y);b5.\u0275dir=Y.\u0275dir;g=b5.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});kp(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(){V0(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:""};b5.\u0275fac=function(a){return new (a||b5)(A(hI),A(U0),A(SE),A(nQ),A(iI),A(MI),A(YP),A(AG),A(vY),A(RH))};
b5.\u0275cmp=Lc({type:b5,selectors:[["b-create-bookmark-group"]],viewQuery:function(a,b){a&1&&Uf(FLc,5);if(a&2){var c;Yf(c=Zf())&&(b.bookmarkGroupName=c.first)}},features:[nf],decls:27,vars:11,consts:[[1,"kd-appbar"],[1,"kd-buttonbar","ltr"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[1,"bv2-view"],[1,"edit-resource-panel"],[3,"formGroup"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","bookmark-group-name",1,"required"],
["type","text","autofocus","autofocus","id","bookmark-group-name","required","","aria-required","true","formControlName","name",3,"disabled"],["bookmarkGroupName",""],["for","bookmark-group-description"],["id","bookmark-group-description","formControlName","description",3,"disabled"],[1,"advanced-settings-info"],[1,"edit-button-row"],["mat-flat-button","","color","primary",1,"gmat-button",3,"disabled","click"],["mat-stroked-button","","color","primary",1,"gmat-button",3,"click"]],template:function(a,
b){a&1&&(E(0,"div",0)(1,"div",1)(2,"button",2),M("click",function(){return b.back()}),I(3,"mat-icon",3),G(),E(4,"h2"),R(5,"Create a new bookmark group"),G()()(),E(6,"div",4)(7,"div",5)(8,"form",6),I(9,"b-error-banner",7),E(10,"div",8)(11,"label",9),R(12,"Name"),G(),I(13,"input",10,11),G(),E(15,"div",8)(16,"label",12),R(17,"Description"),G(),E(18,"textarea",13),R(19,"        "),G()(),E(20,"p",14),R(21," Advanced settings such as selected items and access controls may be defined once the bookmark group is created. "),
G(),E(22,"div",15)(23,"button",16),M("click",function(){return b.save()}),R(24," Save "),G(),E(25,"button",17),M("click",function(){return b.revertChanges()}),R(26," Revert changes "),G()()()()());a&2&&(y(8),D("formGroup",b.bookmarkGroupUnderEdit),y(),D("error",b.error),y(),D("ngClass",fg(7,GLc,b.isSaving)),y(3),D("disabled",b.isSaving),y(2),D("ngClass",fg(9,GLc,b.isSaving)),y(3),D("disabled",b.isSaving),y(5),D("disabled",b.isSaving))},dependencies:[gw,hB,nA,PC,Pw,Dg,Hw,Iw,$w,Ww,Xw,t_],encapsulation:2});var HLc=["form"],c5=function(a,b,c,d,e,f,h,k,q,t){Y.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();k.parentId&&this.loadParentComponent(Zh(k.parentId));q.setTitle("Create component")};X(c5,Y);c5.\u0275dir=Y.\u0275dir;g=c5.prototype;g.ngAfterViewInit=function(){};
g.create=function(){var a=this;this.validate()&&(Ks(this.butterBar,"Saving component...",0),this.isSaving=!0,this.component.parentComponentId=this.parentComponent.componentId,this.componentActions.create(this.component).then(function(b){Ks(a.butterBar,"Component saved, redirecting in "+a.activeSession.getCreateComponentRedirectDelay()/1E3+"s.",a.activeSession.getCreateComponentRedirectDelay());kp(a.analytics,"component","create");a.commentEditsEnabled?kp(a.analytics,"component","comment edits enabled",
"create"):kp(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(tn(b),0);a.isSaving=!1}))};g.back=function(){V0(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;ILc(this)};g.accessCheckComplete=function(a){this.componentIsValid=a;ILc(this)};
var ILc=function(a){a.parentComponent?(a.component.commentEditState=a.parentComponent.commentEditState,a.commentEditsEnabled="ENABLED"===a.component.commentEditState):(a.component.commentEditState="DISABLED",a.commentEditsEnabled=!1)};Vg.Object.defineProperties(c5.prototype,{parentComponent:{configurable:!0,enumerable:!0,get:function(){return this.parentComponentInternal},set:function(a){this.parentComponentInternal=a;ILc(this)}}});
c5.\u0275fac=function(a){return new (a||c5)(A(hG),A(iI),A(MI),A(U0),A(hI),A(nt),A(jG),A(xK),A(YP),A(xR))};
c5.\u0275cmp=Lc({type:c5,selectors:[["create-component-page"]],viewQuery:function(a,b){a&1&&Uf(HLc,5);if(a&2){var c;Yf(c=Zf())&&(b.createComponentForm=c.first)}},features:[nf],decls:55,vars:32,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],["format","icon","size","large","tooltip","Go back","b-aria-label","Go back",3,"onAction"],["name","arrow-backward","size","large"],[1,"bv2-view"],[1,"edit-resource-header"],[1,"edit-resource-panel"],["novalidate","",1,"create-component-form"],["form","ngForm"],[3,
"error"],[1,"edit-field"],["for","component-name",1,"required"],[1,"edit-field-header"],["type","text","id","component-name","placeholder","Component name","name","componentName","aria-label","Component name",3,"bFocus","ngModel","disabled","required","ngModelChange"],["for","component-description"],["id","component-description","placeholder","Component description","name","componentDescription","aria-label","Component description",3,"ngModel","disabled","ngModelChange"],["for","parent-component",
1,"required"],["id","parent-component","ariaLabel","Parent component",3,"selectedComponent","placeholder","isRequired","checkAdminAccess","selectedComponentChange","accessCheckComplete"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],["ariaLabel","Editable comments",3,"checked","change"],[1,"edit-field-help"],[1,"permission-toggle-help","edit-field-help"],["target","_blank","class","keep-underline keep-focus-ring",3,"href",4,"ngIf"],["for","retention-settings",1,"required"],
["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["id","retention-settings"],[3,"issueRetentionDisabled","isExternal","componentPathInfo","initialModel","modelChange","validChange"],[1,"advanced-settings-info"],[1,"bv2-component-button-bar"],["format","fill",3,"disabled","onAction"],["format","hairline",3,"disabled","onAction"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1)(2,"b-button",2),M("onAction",function(){return b.back()}),I(3,"b-icon",3),G()()(),E(4,"div",4)(5,"h2",
5),R(6,"Create component"),G(),E(7,"div",6)(8,"form",7,8),I(10,"b-error-banner",9),E(11,"div",10)(12,"label",11)(13,"span",12),R(14,"Name"),G()(),E(15,"input",13),M("ngModelChange",function(c){return b.component.name=c}),G()(),E(16,"div",10)(17,"label",14)(18,"span",12),R(19,"Description"),G()(),E(20,"textarea",15),M("ngModelChange",function(c){return b.component.description=c}),R(21,"        "),G()(),E(22,"div",10)(23,"label",16)(24,"span",12),R(25,"Parent Component"),G()(),E(26,"b-team-component-picker",
17),M("selectedComponentChange",function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)})("accessCheckComplete",function(c){return b.accessCheckComplete(c)}),G()(),E(27,"div",18)(28,"div",19)(29,"mat-checkbox",20),M("change",function(c){return b.setCommentEditState(c.checked)}),G()(),E(30,"div")(31,"strong",21),R(32,"Editable Comments"),G(),E(33,"div",22),R(34," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. "),
C(35,imb,2,1,"a",23),G()()(),E(36,"div",10)(37,"label",24)(38,"span",12),R(39,"Retention Settings"),G()(),E(40,"div",21)(41,"p"),R(42,"Please choose a period of time to retain the data stored in this component."),I(43,"br"),E(44,"a",25),R(45," Learn more "),G()()(),E(46,"div",26)(47,"b-retention-settings-form",27),M("modelChange",function(c){return b.component.retentionSettings=c})("validChange",function(c){return b.retentionIsValid=c}),G()()(),E(48,"p",28),R(49," Advanced settings such as custom field and access controls may be defined once the component is created. "),
G(),E(50,"div",29)(51,"b-button",30),M("onAction",function(){return b.create()}),R(52," Save "),G(),E(53,"b-button",31),M("onAction",function(){return b.back()}),R(54," Discard "),G()()()()());a&2&&(y(8),yf("show-errors",b.error),y(2),D("error",b.error),y(),yf("bv2-edit-resource-readonly",b.isSaving),y(4),D("bFocus",!0)("ngModel",b.component.name)("disabled",b.isSaving)("required",!0),y(),yf("bv2-edit-resource-readonly",b.isSaving),y(4),D("ngModel",b.component.description)("disabled",b.isSaving),
y(2),yf("bv2-edit-resource-readonly",b.isSaving),y(4),D("selectedComponent",b.parentComponent)("placeholder","Choose Component")("isRequired",!0)("checkAdminAccess",!0),y(),yf("bv2-edit-resource-readonly",b.isSaving),y(2),D("checked",b.commentEditsEnabled),y(6),D("ngIf",!b.sessionIsExternal),y(9),D("href",ht(),Pd),y(2),yf("bv2-edit-resource-readonly",b.isSaving),y(),D("issueRetentionDisabled",b.isSaving)("isExternal",Hp(b.parentComponent))("componentPathInfo",null==b.parentComponent?null:b.parentComponent.componentPathInfo)("initialModel",
b.component.retentionSettings),y(4),D("disabled",b.isSaving||!b.componentIsValid),y(2),D("disabled",b.isSaving))},dependencies:[eQ,dw,t_,pY,Pw,Dg,Hw,Iw,$w,Ow,Mw,yP,WE,B0,LR],styles:["b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}\n/*# sourceMappingURL=create_component_page.css.map */"]});var JLc=["hotlistName"],KLc=function(a){return{"bv2-edit-resource-readonly":a}},d5=function(a,b,c,d,e,f,h,k,q,t){Y.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=k;this.appEvents=t;this.error="";this.isSaving=!1;this.hotlistUnderEdit=new Lw({name:new Nw("",Dw),description:new Nw("")});h.setTitle("Create Hotlist");this.subscriptions.add(wY(q,function(){return!(!w.name()&&!w.description())},!1))};X(d5,Y);
d5.\u0275dir=Y.\u0275dir;g=d5.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});kp(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(){V0(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:""};
d5.\u0275fac=function(a){return new (a||d5)(A(hI),A(U0),A(SE),A(qI),A(iI),A(MI),A(YP),A(AG),A(vY),A(RH))};
d5.\u0275cmp=Lc({type:d5,selectors:[["b-create-hotlist"]],viewQuery:function(a,b){a&1&&Uf(JLc,5);if(a&2){var c;Yf(c=Zf())&&(b.hotlistName=c.first)}},features:[nf],decls:27,vars:11,consts:[[1,"kd-appbar"],[1,"kd-buttonbar","ltr"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[1,"bv2-view"],[1,"edit-resource-panel"],[3,"formGroup"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","hotlist-name",1,"required"],["type","text",
"autofocus","autofocus","id","hotlist-name","required","","aria-required","true","formControlName","name",3,"disabled"],["hotlistName",""],["for","hotlist-description"],["id","hotlist-description","formControlName","description",3,"disabled"],[1,"advanced-settings-info"],[1,"edit-button-row"],["mat-flat-button","","color","primary",1,"gmat-button",3,"disabled","click"],["mat-stroked-button","","color","primary",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1)(2,"button",
2),M("click",function(){return b.back()}),I(3,"mat-icon",3),G(),E(4,"h2"),R(5,"Create a new hotlist"),G()()(),E(6,"div",4)(7,"div",5)(8,"form",6),I(9,"b-error-banner",7),E(10,"div",8)(11,"label",9),R(12,"Name"),G(),I(13,"input",10,11),G(),E(15,"div",8)(16,"label",12),R(17,"Description"),G(),E(18,"textarea",13),R(19,"        "),G()(),E(20,"p",14),R(21," Advanced settings such as access controls may be defined once the hotlist is created. "),G(),E(22,"div",15)(23,"button",16),M("click",function(){return b.save()}),
R(24," Save "),G(),E(25,"button",17),M("click",function(){return b.revertChanges()}),R(26," Revert changes "),G()()()()());a&2&&(y(8),D("formGroup",b.hotlistUnderEdit),y(),D("error",b.error),y(),D("ngClass",fg(7,KLc,b.isSaving)),y(3),D("disabled",b.isSaving),y(2),D("ngClass",fg(9,KLc,b.isSaving)),y(3),D("disabled",b.isSaving),y(5),D("disabled",b.isSaving))},dependencies:[gw,hB,nA,PC,Pw,Dg,Hw,Iw,$w,Ww,Xw,t_],encapsulation:2});var e5=function(a){this.internalArray_=m(a,0,e5.messageId)};X(e5,n);e5.prototype.getContent=function(){return Zi(this,1)};e5.prototype.setContent=function(a){return Lh(this,1,a)};e5.prototype.hasContent=function(){return Pi(this,1)};e5.messageId="b.LlmGenericRequest";var LLc=function(a){this.internalArray_=m(a,0,LLc.messageId)};X(LLc,n);LLc.prototype.getOutput=function(){return Zi(this,1)};LLc.messageId="b.LlmGenericResponse";var f5=function(a){this.executor=a};f5.prototype.suggestIssueTitle=function(a){a=(new e5).setContent(a);return this.executor.post({url:"/action/llm/suggest_title",body:a,responseConstructor:LLc}).then(function(b){var c;return null!=(c=b.getOutput())?c:""})};f5.\u0275fac=function(a){return new (a||f5)(p(RD))};f5.\u0275prov=vc({token:f5,factory:f5.\u0275fac,providedIn:"root"});var g5=function(){this.isGeneratingTitle=new W.BehaviorSubject(!1);this.generatedTitle=new W.BehaviorSubject(null);this.suggestTitleRequested=new W.Subject};g5.\u0275fac=function(a){return new (a||g5)};g5.\u0275prov=vc({token:g5,factory:g5.\u0275fac,providedIn:"root"});var h5=function(a,b,c,d,e){Y.call(this);var f=this;this.activeSession=a;this.butterBar=b;this.analytics=c;this.llmSuggestTitleService=d;this.llmApi=e;this.suggestedTitle=new zv;this.enableSuggestTitle=tE(this.activeSession,"enableSuggestTitle")||!1;Ls(this.llmSuggestTitleService.suggestTitleRequested).pipe(ef(this.destroyed$)).subscribe(function(){f.suggestIssueTitle()})};X(h5,Y);h5.\u0275dir=Y.\u0275dir;
h5.prototype.suggestIssueTitle=function(){var a=this,b;return ke(function(c){if(1==c.nextAddress){if(!a.enableSuggestTitle||""===a.description.value)return c.return();kp(a.analytics,Sp.LLM,"generate","title");a.llmSuggestTitleService.isGeneratingTitle.next(!0);return me(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);Ks(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);qe(c)})};h5.\u0275fac=function(a){return new (a||h5)(A(nt),A(hG),A(MI),A(g5),A(f5))};
h5.\u0275cmp=Lc({type:h5,selectors:[["llm-suggest-title-button"]],inputs:{description:"description"},outputs:{suggestedTitle:"suggestedTitle"},features:[nf],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,"matTooltip","disabled","click"],["svgIcon","pen_spark_24px",1,"icon-s","margin-xs-right"]],template:function(a,b){a&1&&
(E(0,"button",0),M("click",function(){return b.suggestIssueTitle()}),I(1,"mat-icon",1),R(2," Suggest title\n"),G());a&2&&D("matTooltip",""===b.description.value?"Enter a description to suggest a title":"Generate AI-suggested title for this issue")("disabled",""===b.description.value)},dependencies:[hB,nA,PC],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 MLc=[[["","mainSegment",""]],[["","dropdownSegment",""]]],i5=function(){this.mainSegment=!0};i5.\u0275fac=function(a){return new (a||i5)};i5.\u0275dir=Qc({type:i5,selectors:[["button","mainSegment",""]],hostVars:2,hostBindings:function(a,b){a&2&&yf("main-segment",b.mainSegment)}});var j5=function(){this.dropdownAriaLabel=this.dropdownTooltip="";this.disabled=!1;this.size="large";this.dialogClosed=new zv;this.dialogOpened=new zv};j5.prototype.ngAfterContentInit=function(){};
j5.prototype.ngOnChanges=function(a){a.dropdownTooltip&&!this.dropdownAriaLabel&&(this.dropdownAriaLabel=this.dropdownTooltip)};Vg.Object.defineProperties(j5.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){var a,b;return null!=(b=null==(a=this.trigger)?void 0:a.isOpen)?b:!1}}});j5.\u0275fac=function(a){return new (a||j5)};
j5.\u0275cmp=Lc({type:j5,selectors:[["split-button"]],contentQueries:function(a,b,c){a&1&&Vf(c,i5,5);if(a&2){var d;Yf(d=Zf())&&(b.mainSegment=d.first)}},viewQuery:function(a,b){a&1&&Uf(JS,5);if(a&2){var c;Yf(c=Zf())&&(b.trigger=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&yf("expanded",b.expanded)},inputs:{dropdownTooltip:"dropdownTooltip",dropdownAriaLabel:"dropdownAriaLabel",disabled:"disabled",size:"size"},outputs:{dialogClosed:"dialogClosed",dialogOpened:"dialogOpened"},exportAs:["splitButton"],
features:[ed],ngContentSelectors:["[mainSegment]","[dropdownSegment]"],decls:8,vars:7,consts:[["mat-icon-button","","onedevPopupPanelTrigger","",3,"onedevPopupPanelTriggerFor","matTooltip","disabled","click","onedevPopupPanelTriggerOpened","onedevPopupPanelTriggerClosed"],["trigger","onedevPopupPanelTrigger"],["svgIcon","arrow-dropdown"],["role","region"],["contentPanel","onedevPopupPanel"],[1,"dropdown-container"]],template:function(a,b){a&1&&(Lf(MLc),Mf(0),E(1,"button",0,1),M("click",function(){var d,
e;if(null!=(e=null==(d=b.trigger)?void 0:d.isOpen)&&e){var f;null==(f=b.trigger)||f.close()}else{var h;null==(h=b.trigger)||h.open()}})("onedevPopupPanelTriggerOpened",function(){return b.dialogOpened.emit()})("onedevPopupPanelTriggerClosed",function(){return b.dialogClosed.emit()}),I(3,"mat-icon",2),G(),E(4,"onedev-popup-panel",3,4)(6,"div",5),Mf(7,1),G()());if(a&2){var c=Q(5);y();Bf("dropdown-button ",b.size,"");D("onedevPopupPanelTriggerFor",c)("matTooltip",b.dropdownTooltip)("disabled",b.disabled);
pf("aria-label",b.dropdownAriaLabel)}},dependencies:[hB,nA,PC,IS,JS],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 NLc=new Map([["TOTALLY_INCORRECT","Totally incorrect"],["MISSING_IMPORTANT_INFO","Missing important info"],["OTHER","Other"]]),k5=function(a,b,c){Y.call(this);this.butterBar=a;this.analytics=b;this.llmSuggestTitleService=c;this.suggestionAccepted=new zv;this.isGeneratingTitle$=Ls(this.llmSuggestTitleService.isGeneratingTitle).pipe(af({refCount:!0,bufferSize:1}));this.suggestedTitle$=Ls(this.llmSuggestTitleService.generatedTitle).pipe(af({refCount:!0,bufferSize:1}));this.isVisible$=(0,W.combineLatest)([Ls(this.llmSuggestTitleService.isGeneratingTitle),
Ls(this.llmSuggestTitleService.generatedTitle)]).pipe(ef(this.destroyed$),B(function(d){var e=l(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=NLc};X(k5,Y);k5.\u0275dir=Y.\u0275dir;k5.prototype.close=function(){this.llmSuggestTitleService.generatedTitle.next(null)};k5.\u0275fac=function(a){return new (a||k5)(A(hG),A(MI),A(g5))};
k5.\u0275cmp=Lc({type:k5,selectors:[["llm-suggest-title-preview"]],outputs:{suggestionAccepted:"suggestionAccepted"},features:[nf],decls:4,vars:3,consts:[["class","suggest-title flex-kids-x carded margin-s-top",4,"ngIf"],["spinner",""],[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,"disabled","click"],["dropdownTooltip","Specify reject reason",3,"size","disabled"],["splitButton",""],["mat-button","","mainSegment","",
1,"gmat-button","small",3,"disabled","click"],["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&&(C(0,lmb,25,15,"div",0),T(1,"async"),C(2,mmb,1,0,"ng-template",null,1,jg));a&2&&D("ngIf",V(1,1,b.isVisible$))},dependencies:[hw,dw,hB,nA,PC,HQ,j5,i5,FC,mw],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 qmb=function(a){return{issues:a}},ymb=function(){return[]},l5=function(a,b,c){var d=this;this.similarIssuesApi=a;this.analytics=b;this.activeSession=c;this.componentId$=new W.ReplaySubject(1);this.context$=new W.ReplaySubject(1);this.collapsed=this.inline=!1;this.issues$=(0,W.combineLatest)([this.componentId$,this.context$]).pipe(Re(250),Ce(function(e){e=l(e);e.next();return!!e.next().value}),df(function(e){var f=l(e);e=f.next().value;f=f.next().value;return qE(d.similarIssuesApi,{scope:"componentId:"+
e+" modified:365d status:open",scopeSortOrder:"vote_count desc",keyword:f})}),ff(function(){d.isLoading=!1;d.hasSearched=!0}));this.hasSearched=this.isLoading=!1;this.isSimilarIssuesUiEnabled=tE(this.activeSession,"enableEmbeddedSimilarIssuesUi")&&this.activeSession.isInternalSession()};l5.prototype.ngOnInit=function(){this.collapsed=this.inline};l5.prototype.toggleCollapsed=function(){this.collapsed=!this.collapsed};
l5.prototype.upvoted=function(a){kp(this.analytics,Sp.SIMILAR_ISSUES,"toggle","vote",a)};Vg.Object.defineProperties(l5.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentId$.next(a)},get:function(){return om(this.componentId$)}},context:{configurable:!0,enumerable:!0,set:function(a){a&&(this.isLoading=!0,this.context$.next(a))}}});l5.\u0275fac=function(a){return new (a||l5)(A(pE),A(MI),A(nt))};
l5.\u0275cmp=Lc({type:l5,selectors:[["similar-issues"]],inputs:{componentId:"componentId",context:"context",inline:"inline"},decls:7,vars:1,consts:[["class","bg-off-main padded-x padded-s-y rounded",4,"ngIf"],["sideView",""],["inlineView",""],["issueList",""],[1,"bg-off-main","padded-x","padded-s-y","rounded"],[3,"ngTemplateOutlet"],[1,"heading-xs","badged","early-access"],["class","type-s muted",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"type-s","muted"],[1,"flex-kids-x","space-between"],
[1,"flex","flex-kids-x","align-items-center"],[1,"type-s","muted","margin-left",3,"hidden"],["mat-button","","aria-label","Toggle display of similar issues",1,"gmat-button",3,"disabled","matTooltip","matTooltipShowDelay","click"],[1,"hold-space",3,"hidden"],[4,"ngIf"],["class","margin-y",3,"hidden",4,"ngFor","ngForOf"],[1,"border-top","margin-s-top","padded-s-top"],["target","_blank",1,"type-s","subtle-link",3,"href"],["svgIcon","open_in_new_24px",1,"icon-xxs"],[1,"margin-y",3,"hidden"],["target",
"_blank",1,"subtle-link",3,"href","onedevHovercardTrigger","click"],["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId","init",4,"onedevHovercardLazyBody"],[1,"flex-kids-x","align-items-center","margin-xs-y"],["class","margin-s-right",3,"issuePriority",4,"ngIf"],[3,"issueId","upvoted","voteCount","onVote"],["class","duplicates chippy rounded","aria-label","View issues marked as duplicates of the above issue","target","_blank","matTooltip","View issues marked as duplicates of the above issue",
3,"href","click",4,"ngIf"],[3,"onedevIsHovercardReady","issueId","init"],["cardBody",""],[1,"margin-s-right",3,"issuePriority"],["aria-label","View issues marked as duplicates of the above issue","target","_blank","matTooltip","View issues marked as duplicates of the above issue",1,"duplicates","chippy","rounded",3,"href","click"],["svgIcon","merge_type_24px",1,"icon-s","rotate-180"]],template:function(a,b){a&1&&C(0,nmb,2,1,"div",0)(1,rmb,5,7,"ng-template",null,1,jg)(3,tmb,11,12,"ng-template",null,
2,jg)(5,Amb,6,3,"ng-template",null,3,jg);a&2&&D("ngIf",b.isSimilarIssuesUiEnabled)},dependencies:[hw,dw,lw,hB,HQ,$V,eW,dW,PC,LF,MF,QF,NF,nA,mw],styles:[".hold-space[_ngcontent-%COMP%]{min-height:295px}.duplicates[_ngcontent-%COMP%]{padding-right:8px;margin-left:4px;height:24px;line-height:24px;background-color:#fff;background-color:var(--background);box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}.duplicates[_ngcontent-%COMP%]:focus, .duplicates[_ngcontent-%COMP%]:hover{background-color:#e8f0fe;background-color:var(--primary-c50);box-shadow:inset 0 0 0 1px #d2e3fc;box-shadow:inset 0 0 0 1px var(--primary-c100)}\n/*# sourceMappingURL=similar_issues.css.map */"]});var m5=function(a,b,c){this.analytics=a;this.activeSession=b;this.hatsService=c;this.enableDupSearchControl=tE(this.activeSession,"enableDupSearchControl");this.enableDupSearchA=tE(this.activeSession,"enableDupSearchA");this.enableDupSearchB=tE(this.activeSession,"enableDupSearchB");this.enableDupSearchC=tE(this.activeSession,"enableDupSearchC");this.enableSimilarIssues=this.activeSession.isInternalSession()&&(this.enableDupSearchControl||this.enableDupSearchA||this.enableDupSearchB||this.enableDupSearchC)};
m5.prototype.triggerSimilarIssuesSurvey=function(){return Src(this.hatsService,"HFPx18aEL0g6pPHSLo10YtkWxxH9",OLc(this)).pipe(B(function(){}))};m5.prototype.trackTitleHoverOver=function(){kp(this.analytics,Sp.MAGIC_BOX,"titleHoverOver",this.getGroupName())};m5.prototype.trackTitleClick=function(){kp(this.analytics,Sp.MAGIC_BOX,"titleClick",this.getGroupName())};
var OLc=function(a){var b={},c={};a.enableDupSearchControl&&(b.experimentIds=["44573608"]);a.enableDupSearchA&&(b.experimentIds=["44573610"]);a.enableDupSearchB&&(b.experimentIds=["44573612"]);a.enableDupSearchC&&(b.experimentIds=["44573614"]);c.groupName=a.getGroupName();b.customData=c;return b};m5.prototype.getGroupName=function(){return this.enableDupSearchControl?"BaseVariant":this.enableDupSearchA?"VariantA":this.enableDupSearchB?"VariantB":this.enableDupSearchC?"VariantC":"Control"};
m5.\u0275fac=function(a){return new (a||m5)(p(MI),p(nt),p(yX))};m5.\u0275prov=vc({token:m5,factory:m5.\u0275fac,providedIn:"root"});var n5=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},PLc=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)};
n5.prototype.hasCustomFieldValue=function(a){return a.customField?0<a.customField.filter(function(b){return!kn(b)}).length:!1};
n5.prototype.searchAsync=function(a,b,c){var d=this;return(0,W.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(k){return{id:k.issueId,title:k.title,href:d.paths.editIssue(k.issueId)}}),numTotalResults:null!=(h=e.numTotalResults)?h:0,viewAllHref:d.paths.listIssues({q:a,s:"modified_time:desc"})}}).catch(function(){return{issues:[],
numTotalResults:0}})})};
n5.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(PLc(this,c,d)){var e=Cmb(d.title||"");e=0<e.length?"title:("+e.join(" ")+")":"";var f=zi(d.componentId);e=(f?"componentid:"+f:"")+(e?" "+e:"");if(this.enableDupSearchControl)b=e;else if(f=Cmb(zi(d.comment)||""),f=0<f.length?"comment:("+f.join(" ")+")":"",e+=f?" "+f:"",this.enableDupSearchA)b=e;else{f=zi(d.type);
var h=zi(d.priority);e=e+(" "+(h?"priority:"+h:""))+(" "+(f?"type:"+f:""));this.enableDupSearchB?b=e:(f=zi(d.hotlistId),e=e+(" "+(!f||1>(null==f?void 0:f.length)?"":"hotlistid:("+(f.join(" | ")+")")))+(" "+QLc(this,c,zi(d.customField))),b=this.enableDupSearchC?e:RLc(b))}}else b=RLc(b);return this.searchAsync(b,a.count,a.page)}return this.searchAsync(RLc(a.componentId),a.count,a.page)};
var RLc=function(a){return"componentid:"+a+" status:open"},QLc=function(a,b,c){return!c||1>(null==c?void 0:c.length)?"":c.map(function(d){return d}).filter(function(d){return!kn(d)}).map(function(d){return SLc(a,b,d)}).join(" ")},SLc=function(a,b,c){if(kn(c))return"";var d="customfield"+c.customFieldId+":";switch(a.getCustomFieldType(b,c)){case "TEXT":var e='"'+c.textValue+'"';break;case "DATE":e=TLc(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 TLc(f)}).join(" | ")+")";break;case "REPEATED_ENUM":e='("'+c.repeatedEnumValue.values.join('" | "')+'")';break;case "REPEATED_NUMERIC":e="("+c.repeatedNumericValue.values.join(" | ")+")"}return e?d+e:""},TLc=function(a){return a?a.year+"-"+("0"+a.month).slice(-2)+"-"+("0"+a.day).slice(-2):""};
n5.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=a[b.customFieldId])?void 0:c.type)?d:""};n5.\u0275fac=function(a){return new (a||n5)(p(iI),p(uX),p(m5))};n5.\u0275prov=vc({token:n5,factory:n5.\u0275fac,providedIn:"root"});var Bmb=RegExp("\\w+","g");var o5=function(a,b,c,d){Y.call(this);this.cdr=a;this.analytics=b;this.relatedIssueFetcher=c;this.experimentSupport=d;this.refreshMagicBox=!1;this.refreshMagicBoxChange=new zv;this.hideHeader=this.showInline=!1;this.issueTitle="";this.issue={};this.customFieldMap={};this.numIssues=5;this.headerChange=new zv;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 W.Subject;this.CATEGORIES=Sp};X(o5,Y);o5.\u0275dir=Y.\u0275dir;g=o5.prototype;g.ngOnInit=function(){var a=this;this.fetchIssues();this.currentIssueData$.pipe(Re(750),Te(Th),ef(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=PLc(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(ef(this.destroyed$)).subscribe(function(c){var d=c.issues;1===b.page&&(b.magicBoxIssues=[]);b.magicBoxIssues=b.enableSimilarIssues?[].concat(r(b.magicBoxIssues),r(d)):d;d=b.numIssues;b.numTotalResults=c.numTotalResults;b.numPages=Math.ceil(b.numTotalResults/
d);b.startIndex=0===b.numTotalResults?0:((null!=a?a:1)-1)*d+1;b.endIndex=Math.min(b.startIndex+d-1,b.numTotalResults);b.viewAllHref=c.viewAllHref;b.totalText=b.getTotalText(b.numTotalResults,null!=a?a:1,d,1===a);b.isInitiallyLoading=!1;b.isRefreshing=!1;b.cdr.detectChanges()}))};g.getHeader=function(){return this.showSuggestedDupes?"Similar Issues":"Recent Issues"};g.getTotalText=function(a,b,c,d){return a<=b*c?a.toString():d?"many":a.toString()};g.triggerSimilarIssuesSurvey=function(){this.experimentSupport.triggerSimilarIssuesSurvey().pipe(ef(this.destroyed$)).subscribe()};
g.trackTitleHoverOver=function(){this.experimentSupport.trackTitleHoverOver()};g.trackTitleClick=function(){this.experimentSupport.trackTitleClick()};g.getGroupName=function(){return this.experimentSupport.getGroupName()};o5.\u0275fac=function(a){return new (a||o5)(A(EF,2),A(MI),A(n5),A(m5))};
o5.\u0275cmp=Lc({type:o5,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:[bg([uX,EF]),nf,ed],decls:3,vars:1,consts:[["class","bv2-magic-box",4,"ngIf"],["afterLoaded",""],[1,"bv2-magic-box"],[4,"ngIf","ngIfElse"],[4,"ngIf"],
["class","magic-box-text",4,"ngIf"],["class","magic-box-more",4,"ngIf"],["class","magic-box-load",4,"ngIf"],["class","magic-box-all",4,"ngIf"],["class","magic-box-pager",4,"ngIf"],["class","unstyled feedback-button","type","button","matTooltip","Send feedback for the suggested similar issues",3,"click",4,"ngIf"],[1,"magic-box-pager"],["class","magic-box-pagenums",4,"ngIf"],["format","icon","size","large","tooltip","Previous page","b-aria-label","Previous page",1,"left","compact",3,"disabled","onAction"],
["name","arrow-left","size","large"],["format","icon","size","large","tooltip","Next page","b-aria-label","Next page",1,"right","compact",3,"disabled","onAction"],["name","arrow-right","size","large"],[1,"magic-box-pagenums"],["type","button","matTooltip","Send feedback for the suggested similar issues",1,"unstyled","feedback-button",3,"click"],["svgIcon","feedback-outline",1,"icon-s","gfx-muted"],[1,"magic-box-text"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["issueHovercard","onedevHovercard"],
[3,"onedevIsHovercardReady","issueId","location","init",4,"onedevHovercardLazyBody"],["target","_blank",1,"magic-box-title",3,"href","onedevHovercardTrigger","click"],[3,"onedevIsHovercardReady","issueId","location","init"],["cardBody",""],[1,"magic-box-more"],["target","_blank",3,"href"],[1,"magic-box-load"],["mat-button","",1,"gmat-button",3,"click"],["svgIcon","arrow-down"],[1,"magic-box-all"],["mat-button","",1,"gmat-button","primary","hovercard-action",3,"click"],["svgIcon","pop-out"]],template:function(a,
b){a&1&&C(0,Emb,2,2,"div",0)(1,Smb,9,8,"ng-template",null,1,jg);a&2&&D("ngIf",b.componentId)},dependencies:[eQ,yP,HQ,gw,hw,dw,hB,eW,LF,MF,QF,NF,nA],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 ULc=["popOver"],Umb=function(a){return{$implicit:a}},bnb=function(a){return{editingValue:a}},p5=function(a){this.val="";this.allowMultipleLines=!0;this.disabled=this.centerEditIcon=this.newlineWithEnterKey=!1;this.hasBackdrop=!0;this.fitPopoverToViewport=!1;this.valueChange=new zv;this.editorOpen=new zv;this.required=this.editing=this.headerFocused=!1;this.editingValue=new Nw("",{nonNullable:!0});this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=
!0};X(p5,NS);g=p5.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};Vg.Object.defineProperties(p5.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});
p5.\u0275fac=function(a){return new (a||p5)(ud("required"))};
p5.\u0275cmp=Lc({type:p5,selectors:[["onedev-text-field"]],viewQuery:function(a,b){a&1&&Uf(ULc,7);if(a&2){var c;Yf(c=Zf())&&(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:[bg([{provide:fw,useExisting:Cc(function(){return p5}),multi:!0},{provide:NS,useExisting:Cc(function(){return p5}),multi:!0}]),nf],decls:11,vars:9,consts:[[3,"click","focus","blur"],["anchor",""],[4,"ngIf","ngIfElse"],["standardValueDisplay",""],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"centered",4,"ngIf"],[3,"anchor","editorTemplate","newlineWithEnterKey","hasBackdrop","fitToViewport","closedWithAction"],
["popOver","onedevPopOverEditPanel"],["inputTemplate",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"edit-icon"],["d","M20.71,5.63l-2.34-2.34C18.18,3.1,17.92,3,17.67,3c-0.26,0-0.51,0.1-0.71,0.29L3,17.25L3,21h3.75L20.71,7.04 C21.1,6.65,21.1,6.02,20.71,5.63z M5.92,19H5l0-0.92L15.54,7.53l0.92,0.92L5.92,19z"],[4,"ngIf"],[1,"textarea-wrapper"],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows","1",
3,"formControl","cdkAutosizeMaxRows",4,"ngIf","ngIfElse"],["singleLineTemplate",""],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows","1",3,"formControl","cdkAutosizeMaxRows"],["spellcheck","false","autocomplete","off",3,"formControl"]],template:function(a,b){a&1&&(E(0,"button",0,1),M("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),E(2,"span"),C(3,Vmb,2,4,"ng-container",
2)(4,Wmb,1,1,"ng-template",null,3,jg),G(),C(6,Xmb,2,2,"svg",4),G(),E(7,"onedev-pop-over-edit-panel",5,6),M("closedWithAction",function(f){return b.stopEditing(f)}),G(),C(9,dnb,2,2,"ng-template",null,7,jg));if(a&2){var c=Q(1),d=Q(5),e=Q(10);pf("aria-labelledby",b.labelledById);y(3);D("ngIf",b.valueTemplate)("ngIfElse",d);y(3);D("ngIf",!b.disabled);y();D("anchor",c)("editorTemplate",e)("newlineWithEnterKey",b.newlineWithEnterKey)("hasBackdrop",b.hasBackdrop)("fitToViewport",b.fitPopoverToViewport)}},
dependencies:[dw,lw,Dg,Hw,WA,EZ,Vw],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 VLc=mh("indicatorRotate",[ph("collapsed, void",oh({transform:"rotate(0deg)"})),ph("expanded",oh({transform:"rotate(180deg)"})),rh("expanded <=> collapsed, void => collapsed",nh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),WLc=mh("bodyExpansion",[ph("collapsed, void",oh({height:"0px",visibility:"hidden"})),ph("expanded",oh({height:"*",visibility:""})),rh("expanded <=> collapsed, void => collapsed",nh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]);var XLc=new Xc("CdkAccordion");var YLc=0,q5=function(a,b,c){var d=this;this.accordion=a;this._changeDetectorRef=b;this._expansionDispatcher=c;this._openCloseAllSubscription=W.Subscription.EMPTY;this.closed=new zv;this.opened=new zv;this.destroyed=new zv;this.expandedChange=new zv;this.id="cdk-accordion-child-"+YLc++;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=q5.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)})};Vg.Object.defineProperties(q5.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())}}});
q5.\u0275fac=function(a){return new (a||q5)(A(XLc,12),A(Uu),A(ny))};q5.\u0275dir=Qc({type:q5,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",pg],disabled:[2,"disabled","disabled",pg]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[bg([{provide:XLc,useValue:void 0}]),of]});var r5=function(){};r5.\u0275fac=function(a){return new (a||r5)};r5.\u0275mod=Nc({type:r5});r5.\u0275inj=wc({});var ZLc=new Xc("MAT_ACCORDION");var $Lc=new Xc("MAT_EXPANSION_PANEL");var aMc=function(a,b){this._template=a;this._expansionPanel=b};aMc.\u0275fac=function(a){return new (a||aMc)(A(Rf),A($Lc,8))};aMc.\u0275dir=Qc({type:aMc,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0});var bMc=["body"],cMc=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],dMc=0,eMc=new Xc("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),s5=function(a,b,c,d,e,f,h){q5.call(this,a,b,c);var k=this;this._viewContainerRef=d;this._animationMode=f;this._hideToggle=!1;this.afterExpand=new zv;this.afterCollapse=new zv;this._inputChanges=new W.Subject;this._headerId="mat-expansion-panel-header-"+dMc++;this._bodyAnimationDone=new W.Subject;this.accordion=a;this._document=e;this._bodyAnimationDone.pipe(Te(function(q,
t){return q.fromState===t.fromState&&q.toState===t.toState})).subscribe(function(q){"void"!==q.fromState&&("expanded"===q.toState?k.afterExpand.emit():"collapsed"===q.toState&&k.afterCollapse.emit())});h&&(this.hideToggle=h.hideToggle)};X(s5,q5);s5.\u0275dir=q5.\u0275dir;g=s5.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(cf(null),Ce(function(){return a.expanded&&!a._portal}),Ue()).subscribe(function(){a._portal=new Ux(a._lazyContent._template,a._viewContainerRef)})};g.ngOnChanges=function(a){this._inputChanges.next(a)};
g.ngOnDestroy=function(){q5.prototype.ngOnDestroy.call(this);this._bodyAnimationDone.complete();this._inputChanges.complete()};g._containsFocus=function(){if(this._body){var a=this._document.activeElement,b=this._body.nativeElement;return a===b||b.contains(a)}return!1};
Vg.Object.defineProperties(s5.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}}});s5.\u0275fac=function(a){return new (a||s5)(A(ZLc,12),A(Uu),A(ny),A(Sf),A(Tg),A(Su,8),A(eMc,8))};
s5.\u0275cmp=Lc({type:s5,selectors:[["mat-expansion-panel"]],contentQueries:function(a,b,c){a&1&&Vf(c,aMc,5);if(a&2){var d;Yf(d=Zf())&&(b._lazyContent=d.first)}},viewQuery:function(a,b){a&1&&Uf(bMc,5);if(a&2){var c;Yf(c=Zf())&&(b._body=c.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(a,b){a&2&&yf("mat-expanded",b.expanded)("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-expansion-panel-spacing",b._hasSpacing())},inputs:{hideToggle:[2,"hideToggle",
"hideToggle",pg],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[bg([{provide:ZLc,useValue:void 0},{provide:$Lc,useExisting:s5}]),of,nf,ed,dg],ngContentSelectors:["mat-expansion-panel-header","*","mat-action-row"],decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(a,b){a&1&&(Lf(cMc),
Mf(0),E(1,"div",0,1),M("@bodyExpansion.done",function(c){return b._bodyAnimationDone.next(c)}),E(3,"div",2),Mf(4,1),C(5,enb,0,0,"ng-template",3),G(),Mf(6,2),G());a&2&&(y(),D("@bodyExpansion",b._getExpandedState())("id",b.id),pf("aria-labelledby",b._headerId),y(4),D("cdkPortalOutlet",b._portal))},dependencies:[Yx],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:[WLc]},changeDetection:0});var fMc=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],t5=function(a,b,c,d,e,f,h){var k=this;this.panel=a;this._element=b;this._focusMonitor=c;this._changeDetectorRef=d;this._animationMode=f;this._parentChangeSubscription=W.Subscription.EMPTY;this.tabIndex=0;var q=a.accordion?a.accordion._stateChanges.pipe(Ce(function(t){return!(!t.hideToggle&&!t.togglePosition)})):W.EMPTY;this.tabIndex=parseInt(h||"")||0;this._parentChangeSubscription=(0,W.merge)(a.opened,a.closed,q,a._inputChanges.pipe(Ce(function(t){return!!(t.hideToggle||
t.disabled||t.togglePosition)}))).subscribe(function(){return k._changeDetectorRef.markForCheck()});a.closed.pipe(Ce(function(){return a._containsFocus()})).subscribe(function(){return qx(c,b,"program")});e&&(this.expandedHeight=e.expandedHeight,this.collapsedHeight=e.collapsedHeight)};g=t5.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:Mg(a)||(a.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(a)}};
g.focus=function(a,b){a?qx(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)};Vg.Object.defineProperties(t5.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this.panel.disabled}}});
t5.\u0275fac=function(a){return new (a||t5)(A(s5,1),A(Ad),A(px),A(Uu),A(eMc,8),A(Su,8),ud("tabindex"))};
t5.\u0275cmp=Lc({type:t5,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(a,b){a&1&&M("click",function(){return b._toggle()})("keydown",function(c){return b._keydown(c)});a&2&&(pf("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),xf("height",b._getHeaderHeight()),yf("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:qg(a)}]},standalone:!0,features:[of,dg],ngContentSelectors:["mat-panel-title","mat-panel-description","*"],decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator"],[1,"mat-expansion-indicator"]],
template:function(a,b){a&1&&(Lf(fMc),E(0,"span",0),Mf(1),Mf(2,1),Mf(3,2),G(),C(4,fnb,1,1,"span",1));a&2&&(yf("mat-content-hide-toggle",!b._showToggle()),y(4),Cf(4,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)}.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:[VLc]},changeDetection:0});var u5=function(){};u5.\u0275fac=function(a){return new (a||u5)};u5.\u0275dir=Qc({type:u5,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0});var v5=function(){};v5.\u0275fac=function(a){return new (a||v5)};v5.\u0275mod=Nc({type:v5});v5.\u0275inj=wc({imports:[Gy,r5,Zx]});var gMc=["descriptionConfirmDialog"],hnb=function(a,b){return{partner:a,"public":b}},mob=function(a){return{required:a}},uob=function(a){return{"bv2-upload-ongoing":a}},Bob=function(){return{standalone:!1}},hMc=function(a){return{submitted:a}},iMc=new Xc("titleBannedWordsChecker"),jMc=new Xc("descriptionBannedWordsChecker"),kMc={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?"}},w5=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la,oa,Fa,Ta,Pa,Ya,sb,Na,ja,ya,Ga,gb,Wa,zc,cb,pb,Za,Fb,ac,vb,Zb,sc){Y.call(this);var Vb=this;this.ngZone=a;this.$log=b;this.reloadService=c;this.paths=d;this.redirectUrl=e;this.userAccess=f;this.accessPolicy=h;this.bLocation=k;this.appHistory=
q;this.issueTemplate=t;this.issueTypeDialog=w;this.componentActions=z;this.activeSession=F;this.draftStore=J;this.pageTitle=H;this.analytics=O;this.issueApi=P;this.userApi=U;this.hotlistApi=Z;this.butterBar=la;this.errorHandler=oa;this.matDialogService=Fa;this.appEvents=Ta;this.userPreferencesManager=sb;this.cdr=ya;this.issueRelationshipsFridge=Ga;this.issueFridge=gb;this.componentFridge=Wa;this.clearcut=zc;this.currentTracker=cb;this.jspbPrincipalTypes=pb;this.trackerFridge=Za;this.titleBannedWordsChecker=
Fb;this.descriptionBannedWordsChecker=ac;this.confirmIssueAccessLimitSettingsService=vb;this.componentTemplateApi=Zb;this.dismissalService=sc;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.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.componentPickerTouched=this.isLoadingComponent=!1;this.availablePredefinedTemplates=[];this.preferredTemplateId=this.selectedTemplateInternal=this.availableExistingIssueTemplate=null;this.showRecentIssuesInline=!0;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=dl;this.toIssueSeverity=Nva;this.FieldType=amc;this.initialized=!1;this.trackerComponent$=this.currentTracker.tracker$.pipe(df(function(Pc){return Pc?Vb.componentFridge.watch(Number(Pc.componentId)).pipe(cf(void 0)):(0,W.of)(void 0)}));this.trackerId$=new W.BehaviorSubject("");
this.tracker$=this.trackerId$.pipe(df(function(Pc){return xn(Pc)?(0,W.of)(void 0):Vb.trackerFridge.watch(Pc)}));this.trackerCollaboratorGroups=[];this.enableSuggestTitle=tE(this.activeSession,"enableSuggestTitle")&&this.activeSession.isInternalSession();this.getSingleEditFieldType=RSa;this.getListFieldType=yUa;this.fetchUserHotlists();this.subscriptions.add(this.tracker$.subscribe(function(Pc){Vb.updateCollaboratorGroups(Pc)}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){Vb.fetchUserHotlists()}));
this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(function(){Vb.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(){Vb.fetchUserHotlists()}));this.enableCreateIssueWithTemplate=tE(F,"enableCreateIssueWithTemplate");this.frontendIsInternalOrPartner=F.isInternalSession()||rE(F);this.priorityChoices=ja.priorities.map(function(Pc){return{value:Pc,displayText:Pc}});this.severityChoices=ja.severities.map(function(Pc){return{value:Pc,displayText:Pc}});
this.issueTypeChoices=ja.editIssueTypes.map(function(Pc){return{value:Pc,displayText:ln(Pc),altText:ja.issueTypesShortDescriptions.get(Pc)}});this.urlTemplate=new bAc(Pa,b);this.piiWarningMessage=F.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=Pa.componentAutocomplete;this.componentRequestedInUrl=Pa.component;this.templateIssueRequestedInUrl=Pa.template_issue;Pa.template&&(a=Number(Pa.template))&&(this.preferredTemplateId=a);if(a=Pa.parentIssueId)this.parentIssueIds=Array.isArray(a)?a:[a];if(a=Pa.childrenIssueIds)this.childrenIssueIds=Array.isArray(a)?a:[a];if(a=Pa.afterIssueId)this.afterIssueId=Array.isArray(a)?a[0]:a;this.issue=Uh(Fob);Dob(this.issue,this);this.audience=
"EXTERNAL_AUDIENCE";Pa.description?this.comment=new vK(Pa.description,!0):(a=this.draftStore.$window.sessionStorage.getItem(rn("0"))||"",this.comment=new vK(a));this.comment.formattingMode=lMc(this);a=mMc(Pa);this.isFormatInRoute=null!=a;a&&(this.comment.formattingMode=a);this.selectedComponentProcessedPromise=Promise.resolve(void 0);this.subscriptions.add(sb.preferences$.subscribe(function(Pc){var Td;Vb.useCodefont=null!=(Td=Pc.useCodefont)?Td:Vb.useCodefont}));this.hasAdvancedFieldsInUrlTemplate=
dAc(this.urlTemplate)||!!this.parentIssueIds||!!this.childrenIssueIds;this.subscriptions.add(WM(Ya,{title:"Create Issue Page",hotkeys:[{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var Pc;null==(Pc=Vb.hotlistPicker)||Pc.open()}},{keys:["u"],displayAs:"u",description:"Back to previous page",onPress:function(){Vb.back()}}]}));this.componentRequestedInUrl?(this.newIssueStarted=!0,nMc(this,Number(this.componentRequestedInUrl))):this.componentAutocomplete?oMc(this,this.componentAutocomplete):
(iAc(this.urlTemplate,this.issue),this.updateSelectedHotlists());this.templateIssueRequestedInUrl&&(this.newIssueStarted=!0,pMc(this));this.originalIssueCopy=Uh(this.issue);Pa.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=
F.getCreateRestrictedSubresourcesComponentIds();this.subscriptions.add(wY(Na,function(){return Vb.hasUnsavedChanges()},!1))};X(w5,Y);w5.\u0275dir=Y.\u0275dir;w5.prototype.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};var vob=function(a){return a.isSaving||a.isNavigatingAway||!a.canCreateNewIssuesInComponent||!a.isCaptchaValid()||!1};w5.prototype.ngOnDestroy=function(){Y.prototype.ngOnDestroy.call(this);qMc(this)};
w5.prototype.ngOnInit=function(){var a=this;this.initialized=!0;this.subscriptions.add(this.trackerComponent$.subscribe(function(b){b&&(a.selectedComponent||a.componentRequestedInUrl||a.templateIssueRequestedInUrl||a.preferredTemplateId||rMc(a,b))}))};w5.prototype.unloadPageHandler=function(){qMc(this)};var x5=function(a){a.initialized&&a.ngZone.run(function(){a.cdr.detectChanges()})};w5.prototype.back=function(){V0(this.appHistory)};
var sMc=function(a){var b;return Ip(a.selectedComponent)&&!(null==(b=a.selectedComponent)||!b.trackerId)&&!a.currentTracker.inTracker},tMc=function(a,b){"LIMIT_VIEW"===b||"LIMIT_VIEW_TRUSTED"===b?a.selectedAccessLimitLevel=b:(a.selectedAccessLimitLevel="LIMIT_VIEW_TRUSTED",Ks(a.butterBar,"Because this issue will be on a public tracker, the following Issue Access Limit will be applied: Limited visibility + Google. You may modify this access level before creating the issue."))};
w5.prototype.onAccessLimitLevelSelected=function(a){this.selectedAccessLimitLevel=a};
var rMc=function(a,b){a.selectedComponent=b;a.selectedComponent?(a.issue=Object.assign({},a.issue,{componentId:a.selectedComponent.componentId}),a.originalIssueCopy.componentId=a.selectedComponent.componentId,uMc(a),a.audience=Hp(a.selectedComponent)?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE",a.trackerId$.next(a.selectedComponent.trackerId||""),a.createRestrictedResourcesComponentIds.includes(a.selectedComponent.componentId)?a.judgementForNewContent={severity:"RESTRICTED",judgementReason:"None Specified"}:
a.judgementForNewContent=void 0):(cc(a.issue,"componentId"),a.audience="EXTERNAL_AUDIENCE");a.submitRequested=!1;vMc(a);a.selectedComponentProcessedPromise=Promise.all([wMc(a),xMc(a)]).then(function(){});return a.selectedComponentProcessedPromise},yMc=function(a){a.assigneeText=a.assigneeText?a.assigneeText:null;a.verifierText=a.verifierText?a.verifierText:null;a.reporterText=a.reporterText?a.reporterText:null},knb=function(a){return $Ua(a.selectedComponent)?"External Google partners may be able to see this issue.":
Ip(a.selectedComponent)?"Public users may be able to see this issue.":""};w5.prototype.getCollaboratorGroupsString=function(){return 0===this.collaboratorGroupsText.length?"":1<this.collaboratorGroupsText.length?this.collaboratorGroupsText.length+" groups selected":this.collaboratorGroupsText[0]};w5.prototype.updateCollaboratorGroups=function(a){a&&a.collaboratorGroups&&(this.trackerCollaboratorGroups=Hi(a.collaboratorGroups),this.separateCollaboratorGroups())};
w5.prototype.separateCollaboratorGroups=function(){for(var a=[],b=new Set(this.trackerCollaboratorGroups),c=l(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&&!Ip(this.selectedComponent)){var e;null==(e=this.advancedFieldsZippy)||e.open()}};
var pMc=function(a){var b=Number(a.templateIssueRequestedInUrl);Number.isNaN(b)?a.butterBar.showWarning("Invalid template_issue specified"):(a.availableExistingIssueTemplate=new zMc(b,"issue","Issue "+b,!1),a.selectedTemplate=a.availableExistingIssueTemplate)},wMc=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;Ui(Ti(f))&&(f=e.default?"(default template)":"(unnamed template)");return new zMc(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=l(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]);x5(a)}).catch(function(){a.butterBar.showWarning("Unable to load templates for this component")}):Promise.resolve(void 0)},xMc=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=zH(a.userAccess,"appender","components/"+b).then(function(f){a.canCreateNewIssuesInComponent=f;x5(a)}),e=zH(a.userAccess,"writer",c).then(function(f){a.canEditIssuesInComponent=f;x5(a)});c=zH(a.userAccess,"reader",c).then(function(f){a.canViewIssuesInComponent=f;x5(a)});b=a.accessPolicy.checkComponentImplicitAccessEnabled(b).then(function(f){a.componentHasExpandedAccessEnabled=f;x5(a)});return Promise.all([d,
e,c,b]).then(function(){AMc(a);x5(a)}).catch(function(f){a.$log.warn(f)}).finally(function(){a.createAclLoading=!1})},DMc=function(a){if(a.selectedTemplate){var b=function(c){var d=Object.assign(Uh(Fob),c.snapshot);a.selectedComponent&&(d.componentId=a.selectedComponent.componentId);var e=Uh(d);yMc(a);Eob(a,a.issue);var f=Uh(a.issue);if(a.appliedTemplate)for(var h=l(Object.keys(a.appliedTemplate)),k=h.next();!k.done;k=h.next()){k=k.value;var q=a.appliedTemplate[k];if(Array.isArray(q)&&Array.isArray(f[k])){q=
l(q);for(var t=q.next();!t.done;t=q.next())esa(f[k],t.value)}else Th(q,f[k])&&delete f[k]}a.appliedTemplate=e;Gob(d,f);f=e.comment||"";a.comment.value!==a.templateComment&&(S7b(a.comment)||""===f||a.comment.value===f||(a.templateComment=f,BMc(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=Oi(a.userEmail);sMc(a)?tMc(a,d.issueAccessLimitLevel||
"LIMIT_NONE"):a.selectedAccessLimitLevel=d.issueAccessLimitLevel||"LIMIT_NONE";a.issue=d;Dob(a.issue,a);AMc(a);yMc(a);Eob(a,a.issue);a.comment.value=a.issue.comment||"";a.issue.comment&&a.issue.formattingMode&&(a.comment.formattingMode=a.issue.formattingMode);iAc(a.urlTemplate,a.issue,a.customFieldMap);Dob(a.issue,a);a.originalIssueCopy=Uh(a.issue);a.loadHotlists(a.issue.hotlistId).then(function(){a.updateSelectedHotlists();a.originalIssueCopy.hotlistId=Uh(a.issue.hotlistId);x5(a)});CMc(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(Job(a.selectedComponent)).then(b).then(function(){x5(a)}):"issue"===a.selectedTemplate.type&&(g6b(a.issueTemplate,String(a.selectedTemplate.id)).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("gf");return b(c)}).then(function(c){c&&
(nMc(a,c),x5(a))}).catch(function(c){a.butterBar.showWarning(c.message)}),(0,W.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&&kp(a.analytics,Sp.CREATE_ISSUE,"changeTemplate");vMc(a)}};
w5.prototype.isValid=function(){return!(0!==mnb(this).length||0!==nnb(this).length)&&!!(this.isBlockedByIssueIdValid&&this.isBlockingIssueIdValid&&this.isParentIssueIdsValid&&this.isCollaboratorsValid)&&!tnb(this.comment)&&!0};
var mnb=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})},nnb=function(a){return(a.issue.customField||[]).filter(function(b){return a.isCustomFieldRequired(b)&&kn(b)}).map(function(b){return'custom field "'+a.getCustomFieldName(b)+'"'})},EMc=function(a){return 0!==a.collaboratorsText.length&&a.canEditIssuesInComponent?O7b(a.jspbPrincipalTypes,
a.collaboratorsText,!1).then(function(b){a.invalidCollaboratorsInput=Object.entries(b).filter(function(c){c=l(c);c.next();c=c.next().value;return"USER"!==(null==c?void 0:c.principalType)}).map(function(c){return l(c).next().value});return 0===a.invalidCollaboratorsInput.length}).catch(function(b){a.butterBar.showWarning(b.message);return!1}):Promise.resolve(!0)},$nb=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)},Pnb=function(a){return a.split(",").map(function(b){return b.trim()}).filter(Boolean)},Ms=function(a){return a?a.join(", "):""},CMc=function(a){if(Pda(a.customFieldMap,function(c){return c.required||!1})||a.hasAdvancedFieldsInUrlTemplate){var b;null==(b=a.advancedFieldsZippy)||b.open()}};g=w5.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 jn(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});kp(this.analytics,Sp.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=jn(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(rn("0"),a);this.issue=Object.assign({},this.issue,{comment:a})};
g.handleHotlistPickerSave=function(a){var b=[];a=l(Object.entries(a.newSelectionMap));for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;(d=d.next().value)&&b.push(Number(c))}this.issue=Object.assign({},this.issue,{hotlistId:b});this.updateSelectedHotlists();kp(this.analytics,Sp.CREATE_ISSUE,"changeHotlists")};g.removeHotlist=function(a){var b;ua(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})};g.setPriority=function(a){this.issue=Object.assign({},this.issue,{priority:dl(a)});var b;kp(this.analytics,Sp.CREATE_ISSUE,"changePriority",null!=(b=this.issue.priority)?b:void 0)};var Gnb=function(a,b){a.issue=Object.assign({},a.issue,{type:Mva(b)});var c;kp(a.analytics,Sp.CREATE_ISSUE,"changeType",null!=(c=a.issue.type)?c:void 0)};
w5.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 Kq(b.name,c.name)})};
var FMc=function(a,b){var c,d,e,f,h,k,q,t,w,z,F;return ke(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?me(J,a.issueRelationshipsFridge.assignParentToIssues(d[0],[{issueId:c,afterIssueId:a.afterIssueId}]),6):me(J,h7b(a.issueRelationshipsFridge,c,d),5);case 5:h=J.yieldResult;e=h.notAdded;f=h.errors;J.jumpTo(4);break;case 6:k=J.yieldResult,e=k.notAdded,f=k.errors;case 4:e.length&&a.butterBar.showWarning("Unable to add "+
e+" as parent(s). "+f);case 2:q=a.childrenIssueIds;if(null==(t=q)||!t.length){J.jumpTo(7);break}return me(J,a.issueRelationshipsFridge.assignParentToIssues(c,q.map(function(H){return{issueId:H}})),8);case 8:w=J.yieldResult,z=w.notAdded,F=w.errors,z.length&&a.butterBar.showWarning("Unable to add "+z+" as children. "+F);case 7:return J.return(b)}})},rob=function(a,b,c){var d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la,oa,Fa,Ta,Pa,Ya;return ke(function(sb){switch(sb.nextAddress){case 1:return me(sb,EMc(a),2);case 2:a.isCollaboratorsValid=
sb.yieldResult;d=a.issue;a.submitRequested=!0;if(!a.isValid()){if(e=document.querySelector(".bv2-view"))e.scrollTop=0;return sb.return()}d.issueAccessLimitLevel=a.selectedAccessLimitLevel;d.issueAccessLimitLevel&&"LIMIT_NONE"!==d.issueAccessLimitLevel&&kp(a.analytics,Sp.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=$b(f.snapshot,function(Na){return"string"!==typeof Na||!Ui(Na)});f.snapshot.customField&&(f.snapshot.customField=f.snapshot.customField.filter(function(Na){return!kn(Na)}));Eob(a,f.snapshot);if(a.trackerId$.value&&"VULNERABILITY"===f.snapshot.type&&(k=lFa(a.activeSession.getEnvironmentType(),a.trackerId$.value),void 0!==k)){f.snapshot.collaboratorsUsers||(f.snapshot.collaboratorsUsers=[]);q=l(k);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=Osa(a.collaboratorGroupsText).concat(f.snapshot.collaboratorsUsers||[]));f.snapshot.assigneeUser&&(f.snapshot.status="ASSIGNED");z=function(){a.isSaving=!0;a.newIssueStarted=!1;Ks(a.butterBar,"Creating...",0);a.issueApi.createIssue(f).then(function(Na){return FMc(a,Na)}).then(function(Na){a.draftStore.$window.sessionStorage.removeItem(rn("0"));a.originalIssueCopy=Uh(a.issue);kp(a.analytics,Sp.CREATE_ISSUE,"create","MARKDOWN"===
a.comment.formattingMode?"markdown":"non markdown");GMc(a);0<a.collaboratorGroupsText.length&&kp(a.analytics,Sp.QUICK_ADD_COLLABORATORS,"create","create_issue:"+Na.issueId);if(c){var ja;kp(a.analytics,Sp.CREATE_ISSUE,"fileAndRedirect","component",null!=(ja=d.componentId)?ja:void 0);a.butterBar.dismiss();a.isNavigatingAway=!0;a.isSaving=!1;zH(a.userAccess,"reader","issues/"+Na.issueId).then(function(gb){a.componentPickerTouched=!1;gb?jAc(a.redirectUrl,a.paths.editIssue(Na.issueId),String(Na.issueId)):
(Ks(a.butterBar,"New issue created: "+Na.issueId+" (view access not granted)",0),jAc(a.redirectUrl,a.paths.listIssues()));x5(a)}).catch(function(gb){a.errorHandler.errorHandler(null,gb);a.isNavigatingAway=!1})}else{a.componentPickerTouched=!1;var ya;kp(a.analytics,Sp.CREATE_ISSUE,"fileAndNew","component",null!=(ya=d.componentId)?ya:void 0);ja={};P4b(a.butterBar,ih(["New issue created: ",jh("a",(ja.href=a.paths.editIssue(Na.issueId),ja),String(Na.issueId))]),0);d.title=a.templateTitle;a.comment=new vK(a.templateComment);
(d.comment=a.templateComment)&&a.templateCommentFormattingMode&&(a.comment.formattingMode=a.templateCommentFormattingMode,d.formattingMode=a.templateCommentFormattingMode);a.isSaving=!1;a.submitRequested=!1;var Ga;ja=l(null!=(Ga=a.magicBoxes)?Ga:[]);for(Ga=ja.next();!Ga.done;Ga=ja.next())Ga.value.refresh();a.newIssueStarted=!0;a.originalIssueCopy=Uh(a.issue)}x5(a)}).catch(function(Na){403===Na.status&&sn(Na)?BG(a.errorHandler,tn(Na)):a.errorHandler.errorHandler(null,Na);a.isSaving=!1;a.submitRequested=
!1;a.newIssueStarted=!1}).finally(function(){a.titleBannedWordsChecker.reset();a.descriptionBannedWordsChecker.reset()})};return me(sb,a.dismissalService.isDismissed(g0a("create-issue"))||a.canEditIssuesInComponent||a.frontendIsInternalOrPartner||!a.selectedComponent||!a.selectedComponent.accessLimit||"INTERNAL"===a.selectedComponent.accessLimit.accessLevel?Promise.resolve(!0):(0,W.firstValueFrom)(a.matDialogService.open(JY,{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(F=sb.yieldResult)?me(sb,HMc(a),4):sb.return();case 4:return(J=sb.yieldResult)?me(sb,usc(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(Na){return Na.emailAddress}).filter(Bi),collaboratorsUsers:null==(U=f.snapshot.collaboratorsUsers)?void 0:U.map(function(Na){return null==Na?void 0:Na.emailAddress}).filter(Bi),
issueAccessLimitLevel:f.snapshot.issueAccessLimitLevel,currentUserEmail:a.activeSession.getUserEmail(),canEditIssuesInComponent:a.canEditIssuesInComponent,confirmationDialogText:kMc}),5):sb.return();case 5:return(Z=sb.yieldResult)?me(sb,a.titleBannedWordsChecker.check(null!=(la=a.issue.title)?la:"",IMc(a),f.snapshot.componentId),6):sb.return();case 6:return oa=sb.yieldResult,me(sb,a.descriptionBannedWordsChecker.check(null!=(Fa=a.issue.comment)?Fa:"",IMc(a),f.snapshot.componentId),7);case 7:Ta=sb.yieldResult;
if(!oa||!Ta)return null==(Pa=b)||Pa.preventDefault(),null==(Ya=b)||Ya.stopPropagation(),sb.return();z();qe(sb)}})},IMc=function(a){return!!a.selectedComponent&&!!a.selectedComponent.accessLimit&&"EXTERNAL_PUBLIC"===a.selectedComponent.accessLimit.accessLevel},HMc=function(a){var b=un();!a.canEditIssuesInComponent||"VULNERABILITY"!==a.issue.type&&"PRIVACY_ISSUE"!==a.issue.type?b.resolve(!0):nG(a.issueTypeDialog,a.issue.type,function(){b.resolve(!0)},function(){b.resolve(!1)});return b.promise},oMc=
function(a,b){a.isLoadingComponent=!0;a.componentActions.search(b).then(function(c){1===c.length?(rMc(a,c[0]),x5(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})},nMc=function(a,b){a.isLoadingComponent=!0;a.componentActions.getUncached(b).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("hf");rMc(a,
c);x5(a)}).catch(function(){a.butterBar.showWarning("Component ID "+b+" does not exist or you do not have access.")}).finally(function(){a.isLoadingComponent=!1})};w5.prototype.hasUnsavedChanges=function(){var a=Hob(this.issue),b=Hob(this.originalIssueCopy);return!Th(a,b)||this.comment.value!==this.originalIssueCopy.comment};
var Lnb=function(a){a.showRecentIssuesInline=!a.showRecentIssuesInline;kp(a.analytics,Sp.CREATE_ISSUE,"toggleRecentIssuesInline",a.showRecentIssuesInline.toString())},BMc=function(a,b){a.matDialogService.open(a.descriptionConfirmDialog,{data:b}).afterClosed().pipe(Xe()).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="")})},vMc=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)))},inb=function(a){return a.sessionIsExternal?!1:$Ua(a.selectedComponent)},jnb=function(a){return sE(a.activeSession)?!1:Ip(a.selectedComponent)},uMc=function(a){if(a.selectedComponent&&a.selectedComponent.componentPathInfo&&a.selectedComponent.componentPathInfo.allCustomField){for(var b=a.selectedComponent.componentPathInfo.allCustomField,c={},d=l(b),e=d.next();!e.done;e=d.next())e=e.value,c[e.customFieldId]=e;a.customFieldMap=c;a.customFieldAllowedValuesMap=
Iob(b);JMc(a)}},JMc=function(a){if(a.issue.customField){a.issue.customField=a.issue.customField.filter(function(e){return a.customFieldMap[e.customFieldId]&&a.customFieldMap[e.customFieldId].enabledOnIssues});for(var b=a.issue.customField.map(function(e){return e.customFieldId}),c=l(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next())d=d.value,!b.includes(d.customFieldId)&&d.enabledOnIssues&&a.issue.customField.push(d.typedDefaultValue||{customFieldId:d.customFieldId});a.originalIssueCopy.customField=
a.issue.customField}},AMc=function(a){if(a.canViewIssuesInComponent||a.componentHasExpandedAccessEnabled)void 0!==a.ccsText?a.ccsText.includes(a.userEmail)||(a.ccsText=[a.userEmail].concat(r(a.ccsText))):a.ccsText=[a.userEmail]};g=w5.prototype;g.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);x5(a)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&ua(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};g.createHotlist=function(a){var b=this;kp(this.analytics,"baseIssue","createHotlist");Ks(this.butterBar,"Creating hotlist "+a.name+"...",0);this.hotlistApi.createHotlist(a.name).then(function(c){Ks(b.butterBar,"Hotlist "+a.name+" created successfully.");b.addHotlist(c);b.appEvents.hotlistCreated.next();a.successCallback(c);x5(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);x5(b);return d},function(){var d=b.hotlistMap[c];cc(b.hotlistMap,c);ua(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(){x5(b)})};
var mMc=function(a){var b;switch((null==(b=a.format)?void 0:b.toLowerCase())||""){case "plain":return"PLAIN";case "markdown":return"MARKDOWN"}},lMc=function(a){var b;return Qi(null==(b=CE(a.userPreferencesManager).textDisplayPreferences)?void 0:b.lastPublishMode)||"PLAIN"};
w5.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(ef(this.destroyed$)).subscribe(function(e){e&&(a.judgementForNewContent=e.contentJudgement)})};w5.prototype.showContentJudgementDialog=function(a){return this.matDialogService.open(QY,{panelClass:"no-jitter",width:"500px",data:a}).afterClosed()};
var qMc=function(a){a.componentPickerTouched&&(kp(a.analytics,Sp.CREATE_ISSUE,"exit-after-component-picker-interaction","new-ui"),a.componentPickerTouched=!1);kp(a.analytics,Sp.CREATE_ISSUE,"creation-abandon","new-ui")},GMc=function(a){var b=(new Date).getTime()-a.startTime.getTime();if(0<b){var c=Math.min(b,108E5);K6b("createIssue",c,"new-ui");kp(a.analytics,Sp.CREATE_ISSUE,"createIssue","time-to-create-new-ui",c);FI(a.clearcut,b,"createIssue-fromNewIssuePage")}a.startTime=new Date},tob=function(a){return a.activeSession.isInternalSession()&&
tE(a.activeSession,"enableEmbeddedSimilarIssuesUi")};Vg.Object.defineProperties(w5.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(){DMc(b)})}}}});
w5.\u0275fac=function(a){return new (a||w5)(A(Ge),A(DF),A(oQ),A(iI),A(W0),A(xH),A(hH),A(hI),A(U0),A(QH),A(mG),A(xR),A(nt),A(iG),A(YP),A(MI),A(PH),A(BI),A(qI),A(hG),A(AG),A(EA),A(RH),A(xK),A(VM),A(BE),A(vY),A(DG),A(EF,2),A(pJ),A(UI),A(oH),A(EI),A(IM),A(qK),A(ZJ),A(iMc),A(jMc),A(VX),A(tH),A(IY))};
w5.\u0275cmp=Lc({type:w5,selectors:[["b-create-issue-page"]],viewQuery:function(a,b){a&1&&(Uf(ZU,5),Uf(HV,5),Uf(gMc,5),Uf(s5,5),Uf(o5,5));if(a&2){var c;Yf(c=Zf())&&(b.hotlistPicker=c.first);Yf(c=Zf())&&(b.commentBox=c.first);Yf(c=Zf())&&(b.descriptionConfirmDialog=c.first);Yf(c=Zf())&&(b.advancedFieldsZippy=c.first);Yf(c=Zf())&&(b.magicBoxes=c)}},hostBindings:function(a,b){a&1&&M("unload",function(){return b.unloadPageHandler()},!1,Gd)},features:[bg([EF,{provide:iMc,useClass:uY},{provide:jMc,useClass:uY}]),
nf],decls:33,vars:15,consts:[[1,"a11y-only"],[1,"kd-appbar","bv2-create-issue-scroll-header"],[1,"kd-buttonbar","ltr"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[3,"selectedHotlistIds","choices","onApply","onLoad","onCreate",4,"ngIf"],["cdkScrollable","",1,"bv2-view"],[1,"bv2-new-issue-main-content"],["novalidate","","name","createIssueForm",3,"ngClass"],["class","bv2-create-component-external-warning",3,"ngClass",
4,"ngIf"],["class","bv2-validation-error-banner","role","alert",4,"ngIf"],["class","bv2-create-issue-hotlists",4,"ngIf"],[1,"bv2-create-issue-row"],[1,"bv2-create-field"],[1,"bv2-top-field-label"],["for","bv2-component",1,"required"],[1,"bv2-create-issue-component"],[3,"selectedComponent","shouldFocus","isRequired","selectedComponentChange","touched"],["class","bv2-create-field bv2-right-button",4,"ngIf"],["class","bv2-validation-error-banner",4,"ngIf"],[4,"ngIf"],[1,"create-issue-right-sidebar",
"padded-s-top"],[3,"context","componentId",4,"ngIf"],[3,"componentId","issueTitle","issue","customFieldMap","headerChange",4,"ngIf"],["descriptionConfirmDialog",""],["collaboratorGroupField",""],[3,"selectedHotlistIds","choices","onApply","onLoad","onCreate"],[1,"bv2-create-component-external-warning",3,"ngClass"],[3,"name","size"],[3,"href"],["role","alert",1,"bv2-validation-error-banner"],["class","bv2-validation-error",4,"ngIf"],[1,"bv2-validation-error"],[1,"bv2-create-issue-hotlists"],["class",
"bv2-hotlist-chips",4,"ngFor","ngForOf"],[1,"bv2-hotlist-chips"],[3,"hotlist","removeHotlist"],[1,"bv2-create-field","bv2-right-button"],["for","bv2-template-chooser"],["mat-button","","color","primary","id","bv2-template-chooser","aria-label","Template","type","button",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],[3,"overlapTrigger"],["templateMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],
[1,"bv2-validation-error-banner"],["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,"ngModel","bFocus","ngModelChange"],[3,"description",4,"ngIf"],[3,"suggestionAccepted",4,"ngIf"],["class","banned-words-warning break-word",4,"ngIf"],["class","similar-issues-inline margin-bottom",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,"supportsPreview","comment","disabled","judgementForNewContent","componentId","placeholder","idForAriaLabel","audience","showRestrictionOptions","ngClass","warn","commentChange","onChange","onSubmit","onRestrict"],["class","banned-words-warning break-word",
"warning","",4,"ngIf"],["additionalToolbarItems","",3,"initialValue","change"],["class","bv2-create-issue-row access-level-row",4,"ngIf"],[1,"float-clear"],[1,"bv2-create-issue-zippy"],["class","mat-elevation-z0",4,"ngIf"],["class","create-issue-recaptcha",4,"ngIf"],[1,"bv2-issue-create-button-bar"],["format","fill","id","bv2-issue-create-button",3,"disabled","color","onAction"],["format","fill","id","bv2-issue-create-start-button",3,"disabled","color","onAction"],["format","hairline","id","bv2-issue-discard-button",
3,"disabled","onAction"],[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"],["priorityMenu","matMenu"],["mat-menu-item","","type","button",3,"click"],["mat-menu-item","","type","button",3,"click",4,"ngFor",
"ngForOf"],["for","bv2-type",1,"required"],["typeMenu","matMenu"],["mat-menu-item","","type","button",3,"title","click",4,"ngFor","ngForOf"],["mat-menu-item","","type","button",3,"title","click"],[1,"similar-issues-inline","margin-bottom"],[3,"context","componentId","inline"],[1,"bv2-recent-issues-inline-container"],[1,"bv2-recent-issues-toggle-container"],["tabindex","0",1,"bv2-recent-issues-toggle",3,"click","keydown.enter","keydown.space"],["class","bv2-recent-issues-inline",4,"ngIf"],[1,"bv2-recent-issues-inline"],
[3,"componentId","hideHeader","showInline","issueTitle","issue","customFieldMap","headerChange"],[1,"bv2-create-field","bv2-create-issue-assignee"],["for","bv2-assignee"],[1,"overflow-hidden"],["id","bv2-assignee","type","text","name","assignee","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModel","bContactAutocomplete","ngModelChange"],[1,"bv2-create-field","bv2-create-issue-collaborators"],["for","bv2-collaborators"],["matTooltip","Collaborators are people directly working on this issue. When expanded access is on, this field grants issue edit permissions",
"matTooltipPosition","above","svgIcon","help-outline","tabindex","0",1,"collaborators-tooltip-icon"],["id","bv2-collaborators","type","text","name","collaborators","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModel","bContactAutocomplete","ngModelChange"],[1,"bv2-create-field","bv2-create-issue-cc"],["for","bv2-cc"],["id","bv2-cc","type","text","name","cc","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModel","bContactAutocomplete","ngModelChange"],["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,"disabled","implicitAccessEnabled","defaultAccessLimitLevel","updatedAccessLimitLevel"],["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"],
["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"],["severityMenu","matMenu"],[1,"bv2-create-adv-field"],["for","bv2-found-in","title","Set version(s) of the product affected by this issue (comma-separated list)"],
["id","bv2-found-in","name","foundIn","type","text","autocomplete","off",3,"ngModel","ngModelChange"],["aria-label","Set in prod",1,"bv2-create-adv-field"],["for","bv2-in-prod","title","Set if this issue occurs in production"],["id","bv2-in-prod","name","inProd","aria-label","Set in prod",3,"ngModel","ngModelChange"],["for","bv2-reporter","title","Set the reporter of this issue."],["id","bv2-reporter","name","reporter","type","text","autocomplete","off",3,"ngModel","bContactAutocomplete","ngModelChange"],
["for","bv2-verifier","title","Set the verifier of this issue."],["id","bv2-verifier","name","verifier","type","text","autocomplete","off",3,"ngModel","bContactAutocomplete","ngModelChange"],["for","bv2-targeted-to","title","Set the version(s) of the product in which the issue should be fixed (comma-separated list)"],["id","bv2-targeted-to","name","targetedTo","type","text","autocomplete","off",3,"ngModel","ngModelChange"],["for","bv2-blocked-by","title","Set issue(s) blocking this issue (comma-separated list)"],
["id","bv2-blocked-by","name","blockedByInputField","type","text","autocomplete","off","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["for","bv2-blocking","title","Set issue(s) blocked by this issue (comma-separated list)"],["id","bv2-blocking","name","blockingInputField","type","text","autocomplete","off","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["class","bv2-create-adv-field",4,"ngIf"],["class","bv2-create-adv-field",4,"ngFor","ngForOf"],["for","bv2-parents","title","Set parent issue(s) of this issue (comma-separated list)"],
["id","bv2-parents","name","parentsInputField","type","text","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["for","bv2-children","title","Set children issue(s) of this issue (comma-separated list)"],["id","bv2-children","name","childrenInputField","type","text","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["id","bv2-access-limits",3,"disabled","defaultAccessLimitLevel","implicitAccessEnabled","updatedAccessLimitLevel"],[3,"id","ngClass","title"],[3,"id","value","valueChange",4,"ngIf"],
[3,"value","options","includeEmptyOption","valueChange",4,"ngIf"],[3,"id","value","valueChange"],[3,"boundValue","isRequired","bv2Id","bv2AriaLabelledby","boundValueChange"],[3,"value","options","includeEmptyOption","valueChange"],["name","customInput","tabindex","0",3,"defaultLineCount","type","values","enumChoices","truncate","valuesChange"],[1,"create-issue-recaptcha"],[3,"onUpdate"],[3,"context","componentId"],[3,"componentId","issueTitle","issue","customFieldMap","headerChange"],["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,"ngModel","ngModelOptions","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){a&1&&(E(0,"h2",0),R(1,"Create issue"),G(),E(2,"div",1)(3,"div",2)(4,"button",3),M("click",function(){return b.back()}),I(5,"mat-icon",4),G(),E(6,"h2"),R(7,"Create Issue"),
G(),C(8,gnb,1,2,"b-hotlist-picker",5),G()(),E(9,"div",6)(10,"div")(11,"div",7)(12,"form",8),C(13,lnb,6,8,"div",9)(14,unb,4,3,"div",10)(15,wnb,2,1,"div",11),E(16,"div",12)(17,"div",13)(18,"div",14)(19,"label",15),R(20,"Component"),G()(),E(21,"div",16)(22,"b-team-component-picker",17),M("selectedComponentChange",function(c){return rMc(b,null!==c&&void 0!==c?c:null)})("touched",function(){return b.componentPickerTouched=!0}),G()()(),C(23,znb,11,5,"div",18),G(),C(24,Anb,3,0,"div",19)(25,wob,43,40,"div",
20),G()(),E(26,"div",21),C(27,xob,1,2,"similar-issues",22)(28,yob,1,4,"b-magic-box",23),G()()(),C(29,zob,11,2,"ng-template",null,24,jg)(31,Cob,5,5,"ng-template",null,25,jg));a&2&&(y(8),D("ngIf",b.canEditIssuesInComponent),y(4),D("ngClass",fg(13,hMc,b.submitRequested)),y(),D("ngIf",inb(b)||jnb(b)),y(),D("ngIf",b.submitRequested&&!b.isValid()),y(),D("ngIf",0<b.selectedHotlists.length),y(7),D("selectedComponent",b.selectedComponent)("shouldFocus",!b.componentRequestedInUrl&&!b.templateIssueRequestedInUrl)("isRequired",
!0),y(),D("ngIf",0<b.availablePredefinedTemplates.length||null!=b.availableExistingIssueTemplate),y(),D("ngIf",!b.isLoadingComponent&&(null!=b.componentRequestedInUrl||null!=b.selectedComponent)&&!b.canCreateNewIssuesInComponent&&!b.createAclLoading&&b.selectedComponent),y(),D("ngIf",b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent),y(2),D("ngIf",tob(b)&&b.issue.componentId),y(),D("ngIf",!tob(b)))},dependencies:[eQ,HV,ZM,hP,OS,FZ,UA,dB,pY,Pw,Dg,Hw,Iw,$w,bx,Ow,Mw,TX,ZU,yP,
RX,LU,o5,nA,ly,pN,oN,qA,FA,GA,HA,IA,s5,t5,u5,HC,FC,GC,jU,kU,PC,p5,LR,gw,hw,dw,lw,hB,TV,UX,h5,k5,l5,LK],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:3px;font-size:1rem}[_nghost-%COMP%]     mat-form-field.static-label .mat-form-field-infix{padding:4px}[_nghost-%COMP%]     mat-form-field.static-label .mat-select-arrow-wrapper{-webkit-transform:translateY(50%);transform:translateY(50%)}.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-menu-item[_ngcontent-%COMP%]:active, .mat-menu-item[_ngcontent-%COMP%]:focus, .mat-menu-item[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}[_nghost-%COMP%]   .collaborators-tooltip-icon[_ngcontent-%COMP%]{height:18px}[_nghost-%COMP%]     .collaborators-tooltip-icon 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)}.similar-issues-inline[_ngcontent-%COMP%]{display:none}@media (max-width:1099px){.similar-issues-inline[_ngcontent-%COMP%]{display:inline-block;width:750px}}.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 Fob={hotlistId:[],comment:"",severity:"S2",inProd:!1,customField:[]},zMc=function(a,b,c,d){this.id=a;this.type=b;this.name=c;this.isDefault=d};var KMc=["form"],y5=function(a,b,c,d,e,f,h,k){this.bLocation=a;this.sloApi=b;this.errorHandler=c;this.paths=d;this.analytics=e;this.butterBar=f;this.appHistory=k;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=y5.prototype;g.ngAfterViewInit=function(){};
g.save=function(){var a=this;if(!this.validate())return Promise.reject("Correct the errors in the form");Ks(this.butterBar,"Saving SLO...",0);this.isSaving=!0;return this.sloApi.create(this.sloUnderEdit).then(function(b){Ks(a.butterBar,"SLO "+b.name+" saved.",2E3);kp(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(){V0(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};y5.\u0275fac=function(a){return new (a||y5)(A(hI),A(IJ),A(AG),A(iI),A(MI),A(hG),A(YP),A(U0))};
y5.\u0275cmp=Lc({type:y5,selectors:[["create-slo-page"]],viewQuery:function(a,b){a&1&&Uf(KMc,5);if(a&2){var c;Yf(c=Zf())&&(b.createSloForm=c.first)}},decls:30,vars:17,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],["format","icon","size","large","tooltip","Go back","bAriaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],[1,"bv2-view"],[1,"edit-resource-header"],[1,"vertical-centered"],[1,"edit-resource-panel"],["name","createSloForm"],["form","ngForm"],[3,"error"],[1,"edit-field"],
["for","slo-name",1,"required"],["type","text","id","slo-name","name","name",3,"required","bFocus","ngModel","disabled","ngModelChange"],["for","slo-description"],["id","slo-description","name","description",3,"ngModel","disabled","ngModelChange"],[3,"isDisabled","collection","onCollectionUpdate","onValidation"],[1,"advanced-settings-info"],[1,"edit-button-row"],["format","fill",3,"disabled","onAction"],["format","hairline",3,"disabled","onAction"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",
1)(2,"b-button",2),M("onAction",function(){return b.back()}),I(3,"b-icon",3),G()()(),E(4,"div",4)(5,"h2",5)(6,"span",6),R(7,"Create a new SLO"),G()(),E(8,"div",7)(9,"form",8,9),I(11,"b-error-banner",10),E(12,"div",11)(13,"label",12),R(14,"Name"),G(),E(15,"input",13),M("ngModelChange",function(c){return b.sloUnderEdit.name=c}),G()(),E(16,"div",11)(17,"label",14),R(18,"Description"),G(),E(19,"textarea",15),M("ngModelChange",function(c){return b.sloUnderEdit.description=c}),R(20,"        "),G()(),E(21,
"div",11)(22,"slo-elements-picker",16),M("onCollectionUpdate",function(c){return b.updateCollection(c)})("onValidation",function(c){return b.elementPickerIsValid=c}),G()(),E(23,"p",17),R(24," Access controls may be defined once the slo is created. "),G(),E(25,"div",18)(26,"b-button",19),M("onAction",function(){return b.save()}),R(27," Save "),G(),E(28,"b-button",20),M("onAction",function(){return b.revertChanges()}),R(29," Revert changes "),G()()()()());a&2&&(y(9),yf("show-errors",b.error),y(2),D("error",
b.error),y(),yf("bv2-edit-resource-readonly",b.isSaving),y(3),D("required",!0)("bFocus",!0)("ngModel",b.sloUnderEdit.name)("disabled",b.isSaving),y(),yf("bv2-edit-resource-readonly",b.isSaving),y(3),D("ngModel",b.sloUnderEdit.description)("disabled",b.isSaving),y(3),D("isDisabled",!1)("collection",b.sloUnderEdit.elements),y(4),D("disabled",b.isSaving||(null==b.createSloForm?null:b.createSloForm.pending)||(null==b.createSloForm?null:b.createSloForm.invalid)||!b.elementPickerIsValid),y(2),D("disabled",
!(""!==b.sloUnderEdit.name||""!==b.sloUnderEdit.description||0<b.sloUnderEdit.elements.length)))},dependencies:[eQ,t_,pY,Pw,Dg,Hw,Iw,$w,Ow,Mw,yP,J0],encapsulation:2});var z5=function(){this.nextPanelId=1};z5.\u0275fac=function(a){return new (a||z5)};z5.\u0275prov=vc({token:z5,factory:z5.\u0275fac,providedIn:"root"});var A5=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la,oa){Y.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=k;this.hotlistApi=q;this.butterBar=t;this.pageTitle=w;this.dashboards=z;this.routeParams=F;this.appSearchState=H;this.userAccess=O;this.errorHandler=P;this.statusMessages=U;this.appEvents=Z;this.hotlistFridge=la;this.issueFridge=oa;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=F.groupId||null};X(A5,Y);A5.\u0275dir=Y.\u0275dir;
A5.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){LMc(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){MMc(a,
b,function(c){return c+1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveUp.subscribe(function(b){MMc(a,b,function(c){return c-1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToTop.subscribe(function(b){MMc(a,b,function(){return 0})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToBottom.subscribe(function(b){MMc(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 Oob=function(a,b){var c=b.selectedIssues;if(a=NMc(a,b.panelId))a.selectedIssues=null!=c?c:[]},Nob=function(a,b,c){b.focusedRowIndex=c;if(null!=c)for(a=l(a.panels),c=a.next();!c.done;c=a.next())c=c.value,c!==b&&(c.focusedRowIndex=null)},NMc=function(a,b){return a.panels.find(function(c){return c.panelId===b})},OMc=function(a,b){a=a.panels.findIndex(function(c){return c.panelId===b});return-1!==a?a:void 0};g=A5.prototype;
g.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];Th(d,c)||(d&&ua(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;kp(this.analytics,this.ANALYTICS_CATEGORY,"createHotlist");Ks(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);Ks(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;Ks(this.butterBar,"Loading hotlist "+c);this.hotlistMap[c]||this.hotlistApi.get(c).then(function(e){b.addHotlist(e);d(e);b.cdr.detectChanges()}).catch(a)};g.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
g.loadHotlists=function(a){var b=this,c=new Set;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=l(d.value.hotlistId||[]);for(var e=d.next();!e.done;e=d.next())e=e.value,this.hotlistMap[e]||c.has(e)||c.add(e)}c=l(c);for(a=c.next();!a.done;a=c.next())this.hotlistApi.get(a.value).then(function(f){b.hotlistFridge.announce(f);b.addHotlist(f);b.cdr.detectChanges()}).catch(function(f){(new Set([403,404])).has(f.status)||b.errorHandler.errorHandler(null,f)})};
g.sendBulkEditRequest=function(a,b){var c=this;if(1===a.length&&1===a[0].actions.length&&"readState"===a[0].actions[0].fieldName){var d=!!a[0].actions[0].value;b=l(this.panels);for(var e=b.next();!e.done;e=b.next()){e=l(e.value.selectedIssues);for(var f=e.next();!f.done;f=e.next())f.value.isRead=d}this.cdr.detectChanges();Ks(this.butterBar,"Marking "+a[0].issueIds.length+" issues  "+(d?"read":"unread")+"...",0);return WI(this.issueFridge,a[0].issueIds,{markRead:d,userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(k){Ks(c.butterBar,
"Issues marked "+(d?"read":"unread")+".");for(var q=l(c.panels),t=q.next();!t.done;t=q.next()){t=l(t.value.selectedIssues);for(var w=t.next();!w.done;w=t.next()){var z=void 0;w.value.lastViewedTime=null!=(z=k)?z:null}}}).catch(function(k){for(var q=l(c.panels),t=q.next();!t.done;t=q.next()){t=l(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,k)}).finally(function(){c.cdr.detectChanges()})}e=
WAa(a).map(function(k){return k.fieldName});kp(this.analytics,this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};Ks(this.butterBar,"Saving changes...",0);return this.issueApi.issueBulkEdit(h,b).then(function(k){for(var q=l([].concat(r(c.searchPanels),r(c.hotlistPanels))),t=q.next();!t.done;t=q.next()){t=t.value;var w=k;if(t.searchResults){t.searchResults=t.searchResults.clone();for(var z=0,F=l(t.searchResults.issues),J=F.next();!J.done;J=F.next()){J=J.value;if(w.affectedIssues[J.issueId]){var H=
w.affectedIssues[J.issueId];H=AJa(H,w.componentMap[Number(qa(H.snapshot).componentId)]);H.selected=J.selected;t.searchResults.issues[z]=H;t.resultsLoaded.emit([t.searchResults.issues[z]])}z++}}}k.errors&&k.errors.length?(q=nsa(k.errors,"issueId"),c.butterBar.showWarning("Failed to update issue(s) "+q.join(", ")+"."),kp(c.analytics,c.ANALYTICS_CATEGORY,"bulkEditError",""+k.errors.length)):(k=K7b(c.statusMessages,h))?Ks(c.butterBar,k):Ks(c.butterBar,"Saved "+XAa(a).length+" issue(s).")}).catch(function(k){c.errorHandler.errorHandler(null,
k)})};g.loadBookmarkGroup=function(){var a=this;return this.bookmarkGroupsApi.get(this.groupId).then(function(b){zH(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 LMc=function(a,b){a.panels=(b.item||[]).map(function(c,d){return PMc(a,c,0===d?0:void 0)})};
A5.prototype.removePanel=function(a){var b=this,c=NMc(this,a);if(null!=c){Ks(this.butterBar,"Saving changes...",0);a=Uh(this.bookmarkGroup);var d;a.item=(null!=(d=a.item)?d:[]).filter(function(e){return!QMc(b,c,e)});RMc(this,a)}};
var MMc=function(a,b,c){b=OMc(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=Uh(a.bookmarkGroup);var e,f,h=null==(e=a.bookmarkGroup)?void 0:null==(f=e.item)?void 0:f.findIndex(function(k){return QMc(a,d,k)});void 0!==h&&(Jaa(b.item,h,c),RMc(a,b))}}},RMc=function(a,b){a.bookmarkGroupsApi.update(b).then(function(c){a.bookmarkGroup=c;SMc(a,a.bookmarkGroup.item);Ks(a.butterBar,"Bookmark group saved.",4E3);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});
a.cdr.detectChanges()},function(c){a.errorHandler.errorHandler(null,c)})},QMc=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}},TMc=function(a,b){return a.panels.find(function(c){return QMc(a,c,b)})},PMc=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:[]}},SMc=function(a,b){a.panels=(null!=b?b:[]).map(function(c){var d;return null!=(d=TMc(a,c))?d:PMc(a,c)})};
A5.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)})};A5.prototype.editBookmarkGroup=function(){this.bLocation.setUrl(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};
A5.\u0275fac=function(a){return new (a||A5)(A(EF),A(iI),A(hI),A(DF),A(MI),A(PH),A(BI),A(nQ),A(qI),A(hG),A(YP),A(z5),A(xK),A(nt),A(KM),A(xH),A(AG),A($J),A(RH),A(CI),A(UI))};
A5.\u0275cmp=Lc({type:A5,selectors:[["dashboard-page"]],viewQuery:function(a,b){a&1&&(Uf(n0,5),Uf(l0,5));if(a&2){var c;Yf(c=Zf())&&(b.searchPanels=c);Yf(c=Zf())&&(b.hotlistPanels=c)}},features:[bg([EF]),nf],decls:9,vars:5,consts:[[1,"a11y-only"],[1,"kd-dashboard-bar","kd-appbar","kd-buttonbar"],[1,"bv2-dashboard-header"],[3,"hotlistChoices","panels","onSave","onCreateHotlist","onLoadHotlist"],["role","main","tabindex","0",1,"bv2-view",3,"bFocus"],[4,"ngIf"],[3,"ngSwitch",4,"ngFor","ngForOf"],[1,"bv2-dashboard-title"],
[3,"starMessage","unStarMessage","starred","starClicked",4,"ngIf"],[3,"starMessage","unStarMessage","starred","disabled",4,"ngIf"],[1,"bv2-dashboard-title-text"],["aria-label","Bookmark group settings","matTooltip","Bookmark group settings",1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],[3,"starMessage","unStarMessage","starred","starClicked"],[3,"starMessage","unStarMessage","starred","disabled"],[3,"ngSwitch"],[3,"panel","isDashboardEditable","focusedRowIndex","savedSearchId","first",
"last","focusedRowIndexChange","selectionChange","resultsLoaded",4,"ngSwitchCase"],[3,"panel","isDashboardEditable","focusedRowIndex","hotlistId","first","last","focusedRowIndexChange","selectionChange","resultsLoaded",4,"ngSwitchCase"],[3,"panel","isDashboardEditable","focusedRowIndex","savedSearchId","first","last","focusedRowIndexChange","selectionChange","resultsLoaded"],[3,"panel","isDashboardEditable","focusedRowIndex","hotlistId","first","last","focusedRowIndexChange","selectionChange","resultsLoaded"]],
template:function(a,b){a&1&&(E(0,"h2",0),R(1,"Dashboard"),G(),E(2,"div",1)(3,"div",2),R(4,"Bookmark groups dashboard"),G(),E(5,"b-dashboard-controls",3),M("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)}),G()(),E(6,"div",4),C(7,Mob,8,3,"div",5)(8,Rob,3,3,"div",6),G());a&2&&(y(5),D("hotlistChoices",b.hotlistChoices)("panels",b.panels),y(),D("bFocus",!0),
y(),D("ngIf",b.bookmarkGroup),y(),D("ngForOf",b.panels))},dependencies:[OX,yQ,n0,l0,hw,dw,iw,jw,pY,PC],encapsulation:2});var B5=function(){};B5.\u0275fac=function(a){return new (a||B5)};B5.\u0275mod=Nc({type:B5});B5.\u0275inj=wc({imports:[PX,iR,o0,m0,SH,qY,JD]});var UMc=["editBookmarkGroupItemsContainer"],VMc=["bookmarkGroupName"],qpb=function(a){return{"bv2-edit-resource-readonly":a}},spb=function(a){return{displayText:"Admins",values:a}},rpb=function(a){return[a]},C5=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z){Y.call(this);var la=this;this.routeParams=a;this.location=b;this.butterBar=c;this.accessPolicyApi=d;this.userApi=e;this.bookmarkGroupsApi=f;this.hotlistApi=h;this.paths=k;this.appHistory=q;this.pageTitle=t;this.userAccess=w;this.errorHandler=
F;this.appEvents=H;this.snackBar=O;this.confirmationDialog=P;this.cdr=U;this.documentationLinks=Z;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=Do();this.flattenedAccessPolicy=Do();a=this.loadBookmarkGroup(this.routeParams.groupId);
b=this.loadUserAccess(this.routeParams.groupId);this.loadAccessPolicy(this.routeParams.groupId);WMc(this);XMc(this);Promise.all([a,b]).then(function(){var oa;null==(oa=la.bookmarkGroupNameInput)||oa.nativeElement.focus()});this.subscriptions.add(wY(z,function(){return la.hasUnsavedChanges()},!1));z=function(){WMc(la)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(z));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(z));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){XMc(la)}))};
X(C5,Y);C5.\u0275dir=Y.\u0275dir;g=C5.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(){V0(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!Th(this.bookmarkGroup,this.bookmarkGroupUnderEdit)};g.hasUnsavedAccessPolicyChanges=function(){return!Th(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};g.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};
g.revertMetadataChanges=function(){this.bookmarkGroupUnderEdit=Uh(this.bookmarkGroup);this.error="";this.selectedHotlistIds=[YMc(this.bookmarkGroup.item.filter(function(a){return a.hasOwnProperty("hotlistId")}))];ZMc(this)};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=Uh(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",gh("Are you sure you want to remove yourself from the admins?\n                  You may lose the permission to edit the access settings"),function(){a.doSaveAccessPolicy()})};
g.validate=function(){if(""===this.bookmarkGroupUnderEdit.name)return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};g.archive=function(){var a=this;this.openConfirmationDialog("Archive bookmark group",gh("Do you want to archive this bookmark group?"),function(){$Mc(a,"archive")})};g.unarchive=function(){var a=this;this.openConfirmationDialog("Unarchive bookmark group",gh("Do you want to unarchive this bookmark group?"),function(){$Mc(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});aNc(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=Fo(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=Eo(c);a.accessPolicyUnderEdit=Uh(a.flattenedAccessPolicy);
a.loadUserAccess(a.bookmarkGroup.bookmarkGroupId)},function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isUpdating=!1})};
var $Mc=function(a,b){var c=Uh(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});aNc(a,d)}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isArchiving=!1})};
C5.prototype.loadBookmarkGroup=function(a){var b=this;this.isLoading=!0;return this.bookmarkGroupsApi.get(a).then(function(c){aNc(b,c);b.selectedHotlistIds=[YMc(b.bookmarkGroup.item)];ZMc(b);b.pageTitle.setTitle("Bookmark group: "+c.name);b.cdr.detectChanges()},function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1})};var aNc=function(a,b){a.bookmarkGroup=b;a.bookmarkGroup.item||(a.bookmarkGroup.item=[]);a.bookmarkGroupUnderEdit=Uh(a.bookmarkGroup)};
C5.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("BOOKMARK_GROUP",a).then(function(c){b.flattenedAccessPolicy=Eo(c);b.accessPolicyUnderEdit=Uh(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};C5.prototype.loadUserAccess=function(a){var b=this;return zH(this.userAccess,"admin","bookmarkGroups/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var WMc=function(a){a.userApi.getUserHotlists().then(function(b){a.userHotlists=b;a.cdr.detectChanges()})},XMc=function(a){a.userSavedSearches=null;a.userApi.getUserSavedSearches().then(function(b){a.userSavedSearches=b;ZMc(a);a.cdr.detectChanges()})},ZMc=function(a){if(a.userSavedSearches&&null!=a.bookmarkGroupUnderEdit){var b=bNc(a.bookmarkGroupUnderEdit.item.filter(function(c){return c.hasOwnProperty("savedSearchId")}));a.savedSearchChoices=a.userSavedSearches.filter(function(c){return-1==b.indexOf(c.searchId)})}},
Vob=function(a,b){var c=Number(b);va(a.bookmarkGroupUnderEdit.item,function(e){return e.hotlistId===c});cNc(a,c);var d;null==(d=a.editBookmarkGroupItemsContainer)||d.nativeElement.focus()},Xob=function(a,b){va(a.bookmarkGroupUnderEdit.item,function(d){return d.savedSearchId===b});ZMc(a);var c;null==(c=a.editBookmarkGroupItemsContainer)||c.nativeElement.focus()},jpb=function(a,b){switch(b.resourceType){case "SAVED_SEARCH":return a.paths.viewSavedSearch(b.savedSearchId);case "HOTLIST":return a.paths.viewHotlist(b.hotlistId);
default:Nh(b.resourceType)}},epb=function(a,b){for(var c=l(Object.entries(b.newSelectionMap)),d=c.next(),e={};!d.done;e={id$jscomp$541:void 0},d=c.next()){var f=l(d.value);d=f.next().value;f=f.next().value;e.id$jscomp$541=Zh(d);f&&!b.oldSelectionMap[e.id$jscomp$541]?(hpb(a,e.id$jscomp$541),e=a.userHotlists.find(function(h){return function(k){return k.hotlistId===h.id$jscomp$541}}(e)),a.bookmarkGroupUnderEdit.item.push({hotlistId:e.hotlistId,name:e.name,resourceType:"HOTLIST"})):b.oldSelectionMap[e.id$jscomp$541]&&
!f&&(cNc(a,e.id$jscomp$541),va(a.bookmarkGroupUnderEdit.item,function(h){return function(k){return k.hotlistId===h.id$jscomp$541}}(e)))}},hpb=function(a,b){a.selectedHotlistIds[0].push(b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},cNc=function(a,b){ua(a.selectedHotlistIds[0],b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},apb=function(a,b){-1===bNc(a.bookmarkGroupUnderEdit.item).indexOf(b.searchId)&&a.bookmarkGroupUnderEdit.item.push({name:b.name,resourceType:"SAVED_SEARCH",savedSearchId:b.searchId});
setTimeout(function(){ZMc(a)})},bNc=function(a){return a?nsa(a,"savedSearchId"):[]},YMc=function(a){return a?nsa(a,"hotlistId"):[]},fpb=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)},gpb=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)};C5.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:Nh(a.resourceType)}};C5.prototype.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};
C5.\u0275fac=function(a){return new (a||C5)(A(xK),A(hI),A(hG),A(hH),A(BI),A(nQ),A(qI),A(iI),A(U0),A(YP),A(xH),A(vY),A(AG),A(nt),A(RH),A(SE),A(lG),A(EF,2),A(jG))};
C5.\u0275cmp=Lc({type:C5,selectors:[["b-edit-bookmark-group"]],viewQuery:function(a,b){a&1&&(Uf(UMc,5),Uf(VMc,5),Uf(JN,5,Ad));if(a&2){var c;Yf(c=Zf())&&(b.editBookmarkGroupItemsContainer=c.first);Yf(c=Zf())&&(b.bookmarkGroupNameInput=c.first);Yf(c=Zf())&&(b.tabs=c)}},features:[bg([EF]),nf],decls:9,vars:3,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],["mat-button",
"","color","primary",3,"disabled","click",4,"ngIf"],[1,"bv2-view"],[4,"ngIf"],["mat-button","","color","primary",3,"disabled","click"],[1,"edit-resource-header"],["class","resource-archived",4,"ngIf"],[1,"edit-resource-header-link","normal-link",3,"href"],["mat-align-tabs","start",3,"selectedIndex","selectedIndexChange"],["id","basic","label","Basic Information"],[1,"edit-resource-panel"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","bookmark-group-name",1,"required"],[1,"edit-field-header"],["type",
"text","id","bookmark-group-name","required","","aria-required","true",3,"ngModel","disabled","ngModelChange"],["bookmarkGroupName",""],["for","bookmark-group-description"],["id","bookmark-group-description",3,"ngModel","disabled","ngModelChange"],[4,"ngIf","ngIfElse"],["bookmarkItems",""],["class","edit-button-row",4,"ngIf"],["id","access","label","Access Control"],[1,"edit-field-note"],[3,"users","usersChange","isValid"],[3,"users","includeAliases","includeViewAliases","containerChips","usersChange",
"isValid"],[1,"edit-field"],["target","_blank",3,"href"],[1,"resource-archived"],["for","edit-bookmark-group-items-container"],["role","region","aria-label","Selected items","id","edit-bookmark-group-items-container",1,"keep-focus-ring","edit-bookmark-group-items-container"],["editBookmarkGroupItemsContainer",""],["class","bv2-bookmark-item-chip",4,"ngFor","ngForOf"],[1,"edit-bookmark-group-edit-items-pane"],[1,"edit-bookmark-group-hotlist-picker"],["for","hotlist-picker-button"],[3,"selectedHotlistIds",
"choices","checkEditAcl","onApply","onCreate","onLoad"],[1,"edit-bookmark-group-hotlist-search"],["for","hotlist-search-input-box"],[3,"showGroups","allowStarring","itemSelect"],["class","edit-bookmark-group-saved-search-picker",4,"ngIf"],[1,"bv2-bookmark-item-chip"],["class","bv2-saved-search-chip b-chip yellow split",4,"ngIf"],["class","edit-bookmark-group-none-select",4,"ngIf"],[3,"id","removeHotlist"],[1,"bv2-saved-search-chip","b-chip","yellow","split"],[1,"left","interactive",3,"href","matTooltip"],
["role","button","tabindex","0",1,"right","interactive",3,"matTooltip","click","keydown.enter","keydown.space"],[1,"edit-bookmark-group-none-select"],[1,"edit-bookmark-group-saved-search-picker"],["for","add-from-saved-searches-button"],["id","add-from-saved-searches-button","mat-button","","aria-describedby","select-from-saved-searches-button",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],["id","select-from-saved-searches-button"],["svgIcon","arrow-dropdown","color","primary"],["savedSearchMenu",
"matMenu"],["matMenuContent",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],[1,"edit-field","bv2-edit-resource-readonly"],[1,"edit-bookmark-group-view-items"],[4,"ngFor","ngForOf"],[3,"href"],[1,"edit-button-row"],["mat-flat-button","","color","primary",3,"disabled","click"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),M("click",function(){return b.back()}),I(4,"mat-icon",
4),G(),C(5,Sob,2,1,"button",5)(6,Tob,2,1,"button",5),G()()(),E(7,"div",6),C(8,tpb,48,40,"ng-container",7),G());a&2&&(y(5),D("ngIf",b.isAdmin&&!b.isArchived()),y(),D("ngIf",b.isAdmin&&b.isArchived()),y(2),D("ngIf",!b.isLoading&&b.bookmarkGroup.bookmarkGroupId))},dependencies:[gw,hw,dw,hB,PC,nA,KN,JN,t_,ZX,ZU,NQ,Dg,Hw,$w,Ow,HC,FC,GC,EC,IV],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 dNc=["savedSearchNameInput"],ypb=function(a){return{"bv2-edit-resource-readonly":a}},Apb=function(a){return{displayText:"Admins",values:a}},zpb=function(a){return[a]},D5=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P){Y.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=k;this.documentationLinks=t;this.userAccess=z;this.errorHandler=F;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=Do();this.flattenedAccessPolicy=Do();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 Z;null==(Z=U.savedSearchName)||Z.nativeElement.focus()});this.subscriptions.add(wY(w,function(){return U.hasUnsavedChanges()},!1))};X(D5,Y);D5.\u0275dir=Y.\u0275dir;g=D5.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=Uh(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=Eo(c);b.accessPolicyUnderEdit=Uh(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.loadUserAccess=function(a){var b=this;return zH(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(){V0(this.appHistory)};g.revertMetadataChanges=function(){this.savedSearchUnderEdit=Uh(this.savedSearch);this.error=""};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=Uh(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.hasUnsavedMetadataChanges=function(){return!Th(this.savedSearch,this.savedSearchUnderEdit)};
g.hasUnsavedAccessPolicyChanges=function(){return!Th(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=Uh(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",gh("Are you sure you want to remove yourself from the admins?\n                'You may lose the permission to edit the access settings"),function(){a.doSaveAccessPolicy()})};
g.doSaveAccessPolicy=function(){var a=this;try{var b=Fo(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=Eo(c);a.accessPolicyUnderEdit=Uh(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(tn(c),0)}).finally(function(){a.isUpdating=!1})};g.delete=function(){var a=this;this.openConfirmationDialog("Delete saved search",gh("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"});k6b(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()}})};D5.\u0275fac=function(a){return new (a||D5)(A(xK),A(hI),A(hH),A(CJ),A(iI),A(U0),A(hG),A(YP),A(nt),A(jG),A(vY),A(xH),A(AG),A(SE),A(lG),A(EF,2),A(RH))};
D5.\u0275cmp=Lc({type:D5,selectors:[["b-edit-saved-search"]],viewQuery:function(a,b){a&1&&(Uf(dNc,5),Uf(JN,5,Ad));if(a&2){var c;Yf(c=Zf())&&(b.savedSearchName=c.first);Yf(c=Zf())&&(b.tabs=c)}},features:[bg([EF]),nf],decls:9,vars:3,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],["mat-button","","color","primary","matTooltip","Delete saved search",3,"disabled",
"click",4,"ngIf"],[1,"bv2-view"],[4,"ngIf"],["mat-button","","color","primary","matTooltip","Delete saved search",3,"disabled","click"],[1,"edit-resource-header"],[1,"edit-resource-header-link",3,"href"],["gmat-tabs","","mat-align-tabs","start",3,"selectedIndex","selectedIndexChange"],["id","basic","label","Basic Information"],[1,"edit-resource-panel"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","saved-search-name",1,"required"],[1,"edit-field-header"],["type","text","id","saved-search-name",
"required","","aria-required","true",3,"ngModel","disabled","ngModelChange"],["savedSearchNameInput",""],["for","saved-search-description"],["id","saved-search-description",3,"ngModel","disabled","ngModelChange"],[1,"edit-field","bv2-edit-resource-readonly"],["for","saved-search-query"],[1,"edit-field-note"],[1,"edit-saved-search-query-container","codefont"],["class","edit-button-row",4,"ngIf"],["id","access","label","Access Control"],["for","saved-search-acl-admins"],[3,"users","usersChange","isValid"],
["for","saved-search-acl-readers"],[3,"users","includeAliases","includeViewAliases","containerChips","usersChange","isValid"],[1,"edit-field"],["target","_blank",3,"href"],[1,"edit-button-row"],["mat-flat-button","","color","primary",3,"disabled","click"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),M("click",function(){return b.back()}),I(4,"mat-icon",4),G(),C(5,upb,2,1,"button",5),G()()(),E(6,"div",6),C(7,vpb,
4,0,"ng-container",7)(8,Bpb,51,38,"ng-container",7),G());a&2&&(y(5),D("ngIf",b.isAdmin),y(2),D("ngIf",!b.isLoading&&!b.savedSearch),y(),D("ngIf",!b.isLoading&&b.savedSearch))},dependencies:[gw,dw,hB,PC,nA,KN,JN,t_,Dg,Hw,$w,Ow,IV],encapsulation:2});var E5=function(a){this.internalArray_=m(a)};X(E5,n);g=E5.prototype;g.getAuthor=function(){return $i(this,ui,1)};g.setAuthor=function(a){li(this,ui,1,a)};g.hasAuthor=function(){return ji(this,ui,1)};g.getTimestamp=function(){return $i(this,mj,2)};g.setTimestamp=function(a){return li(this,mj,2,a)};g.hasTimestamp=function(){return ji(this,mj,2)};g.getAdd=function(){return $i(this,Kl,3)};g.getRemove=function(){return $i(this,Kl,4)};g.getAddMask=function(){return $i(this,Cu,5)};
g.getRemoveMask=function(){return $i(this,Cu,6)};E5.repeatedFields_=[7];var eNc=function(a){this.internalArray_=m(a)};X(eNc,n);eNc.prototype.getIt=function(){return $i(this,E5,7)};eNc.prototype.setIt=function(a){return li(this,E5,7,a)};eNc.prototype.hasIt=function(){return ji(this,E5,7)};var F5=function(a){this.internalArray_=m(a,0,F5.messageId)};X(F5,n);F5.prototype.getUpdatesList=function(){return gi(this,eNc,1,hi())};F5.repeatedFields_=[1];F5.messageId="b.SloHistory";var G5=function(a,b){this.executor=b;this.sloHistories=a.get("slo_histories-second-level-cache")||a.create("slo_histories-second-level-cache",{capacity:25})};G5.prototype.get=function(a){var b=this.sloHistories.get(String(a));return void 0!==b?b:this.sloHistories.put(String(a),fNc(this,a))};var fNc=function(a,b){return a.executor.get({url:"action/slo_updates/"+b,responseConstructor:F5}).then(function(c){var d;return{updates:(null!=(d=c.getUpdatesList())?d:[]).map($wa)}})};
G5.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};G5.prototype.invalidateCache=function(a){this.sloHistories.remove(String(a))};G5.\u0275fac=function(a){return new (a||G5)(p(jI),p(RD))};G5.\u0275prov=vc({token:G5,factory:G5.\u0275fac,providedIn:"root"});var H5=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z){Y.call(this);var la=this;this.routeParams=a;this.bLocation=b;this.appHistory=d;this.butterBar=e;this.pageTitle=f;this.documentationLinks=k;this.userAccess=t;this.accessPolicyApi=w;this.sloApi=z;this.sloUpdatesApi=F;this.sloUpdatesService=J;this.errorHandler=H;this.matDialogService=O;this.analytics=P;this.confirmationDialogService=U;this.appEvents=Z;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(la.validity).some(function(oa){return!oa})};this.editableAccessPolicy=Do();this.flattenedAccessPolicy=Do();this.subscriptions.add(wY(q,function(){return la.hasUnsavedChanges()},!1));a=this.routeParams.sloId;this.resourceName=wn("SLO",Zh(a));if(this.sloEnabled=h.isInternalSession())this.pageTitle.setTitle("SLO Overview"),gNc(this,a),this.loadUserAccess(a),this.loadAccessPolicy(a),
hNc(this,a);this.alertState={getValue:function(){return la.editableCopy?"ON"===la.editableCopy.alertState:!1},getSavedValue:function(){return la.slo?"ON"===la.slo.alertState:!1},setValue:function(oa){la.editableCopy&&(la.editableCopy.alertState=oa?"ON":"OFF")}};this.currentUserEmail=h.getUserEmail()};X(H5,Y);H5.\u0275dir=Y.\u0275dir;
H5.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)};H5.prototype.ngOnInit=function(){"access"===this.bLocation.hash()&&(this.selectedTabIndex=1)};H5.prototype.updateCollection=function(a){this.editableCopy&&(this.editableCopy.elements=a)};
var gNc=function(a,b){a.isLoading=!0;a.sloApi.get(b).then(function(c){a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=Uh(a.slo);a.pageTitle.setTitle("SLO: "+c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isLoading=!1})};
H5.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SLO",Number(a)).then(function(c){b.flattenedAccessPolicy=Eo(c);b.editableAccessPolicy=Uh(b.flattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)})};var iNc=function(a,b){return a.sloUpdatesApi.get(b).then(function(c){a.historyDiffs=c.updates.map(function(d){return Zzc(a.sloUpdatesService,d)})}).catch(function(c){a.errorHandler.errorHandler(null,c)})};g=H5.prototype;
g.loadUserAccess=function(a){var b=this;zH(this.userAccess,"admin",wn("SLO",Zh(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!Th(this.slo,this.editableCopy)};g.hasUnsavedAccessPolicyChanges=function(){return!Th(this.flattenedAccessPolicy,this.editableAccessPolicy)};
g.saveMetadata=function(){var a=this;jNc(this.slo.elements,this.editableCopy.elements)?this.save():this.confirmationDialogService.open({title:"Save SLO changes?",content:ih([gh("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."),jh("br"),jh("br"),gh("Please combine changes into as few updates as possible.")]),onConfirm:function(){a.save()},onDismiss:Eu})};
var Fpb=function(a,b){if(!a.hasUnsavedMetadataChanges()){var c=function(){a.editableCopy.isArchived=b;a.save()};b?a.confirmationDialogService.open({title:"Archive SLO?",content:gh("Archiving this SLO will prevent new usages of the SLO, and will hide the SLO from most searches."),onConfirm:c,onDismiss:Eu}):c()}},jNc=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};
H5.prototype.save=function(){var a=this,b=this.editableCopy;Ks(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.';jNc(a.slo.elements,a.editableCopy.elements)||(d+=" Propagating this change may take several hours.");Ks(a.butterBar,d);a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=Uh(c);a.sloUpdatesApi.invalidateCache(a.slo.sloId);kp(a.analytics,Sp.EDIT_SLO,"update")}).catch(function(c){a.errorHandler.errorHandler(null,
c)}).finally(function(){a.isUpdating=!1})};H5.prototype.saveAccessPolicy=function(){var a=this;this.isRevokingAdmin()?this.confirmationDialogService.open({title:"Change SLO admins",content:gh("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:Eu}):this.doSaveAccessPolicy()};
H5.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=Fo(this.editableAccessPolicy)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);this.butterBar.showWarning(b);return}this.isUpdating=!0;Ks(this.butterBar,"Saving access settings...");this.accessPolicyApi.update("SLO",this.slo.sloId,b).then(function(c){Ks(a.butterBar,"Access settings saved.");a.flattenedAccessPolicy=Eo(c);a.editableAccessPolicy=Uh(a.flattenedAccessPolicy);a.loadUserAccess(a.slo.sloId);kp(a.analytics,
Sp.EDIT_SLO,"updateAccessPolicy")},function(c){a.butterBar.showWarning(tn(c),0)}).finally(function(){a.isUpdating=!1})};H5.prototype.isRevokingAdmin=function(){return this.isRevokingDirectAdmin()};
var hNc=function(a,b){iNc(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"===Ki(c.author)&&(a.isImportedFromBugScope=!0);d.author&&"buganizer-system@google.com"===Ki(d.author)&&(a.isUneditedFromBugScope=!0)}})};g=H5.prototype;
g.isRevokingDirectAdmin=function(){if(Th(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;jNc(this.slo.elements,this.editableCopy.elements)?this.editableCopy=Uh(this.slo):this.confirmationDialogService.open({title:"Revert SLO changes?",content:ih([gh("Revert all changes to this SLO?")]),onConfirm:function(){a.editableCopy=Uh(a.slo)},onDismiss:Eu})};g.revertAccessPolicyChanges=function(){this.editableAccessPolicy=Uh(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.isSaving=function(){return this.isUpdating};
g.back=function(){V0(this.appHistory)};g.isEditDisabled=function(){return!this.editableCopy||this.isSaving()||!this.isAdmin()};g.isAdmin=function(){return this.isAdminInternal};g.showUpdateHistoryModal=function(){var a=this;iNc(this,this.slo.sloId).then(function(){a.matDialogService.open(k4,{width:"600px",data:{updateDiffs:a.historyDiffs}});kp(a.analytics,Sp.UPDATE_HISTORY_MODAL,"open");kp(a.analytics,Sp.EDIT_SLO,"viewHistory")})};
H5.\u0275fac=function(a){return new (a||H5)(A(xK),A(hI),A(iI),A(U0),A(hG),A(YP),A(nt),A(jG),A(vY),A(xH),A(hH),A(IJ),A(G5),A(Q0),A(AG),A(EA),A(MI),A(lG),A(RH))};
H5.\u0275cmp=Lc({type:H5,selectors:[["edit-slo-page"]],viewQuery:function(a,b){a&1&&Uf(JN,5,Ad);if(a&2){var c;Yf(c=Zf())&&(b.tabs=c)}},features:[nf],decls:7,vars:2,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],["format","icon","size","large","tooltip","Go back","bAriaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],[1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],[4,"ngIf"],[1,"bv2-view-loading"],[1,"edit-resource-header"],[1,"vertical-centered"],["gmat-tabs","",1,"bv2-tab-bar",
3,"selectedIndex","selectedIndexChange"],["id","basic","label","Basic Information"],[1,"edit-resource-panel","edit-slo-basics-form"],["name","sloBasicsForm"],["sloBasicsForm","ngForm"],[1,"edit-field"],["for","slo-name",1,"required"],[1,"edit-field-header"],["type","text","id","slo-name","name","slo-name",3,"required","ngModel","disabled","ngModelChange"],["for","slo-description"],["id","slo-description","name","slo-description",3,"ngModel","disabled","ngModelChange"],["class","edit-field permission-toggle",
3,"bv2-edit-resource-readonly",4,"ngIf"],["id","bs-warning",4,"ngIf"],[3,"isDisabled","collection","onCollectionUpdate","onValidation"],["id","bv2-slo-edit-buttons"],[1,"edit-button-row"],[1,"edit-button-group"],["title","View history for 'Basic Information'",3,"onAction"],["class","edit-button-group",4,"ngIf"],["id","access","label","Access Control"],[1,"edit-resource-panel"],["name","accessControlForm","novalidate",""],["for","slo-acl-admins"],[1,"edit-field-note"],[3,"users","usersChange","isValid"],
["for","slo-acl-readers"],[3,"users","includeAliases","includeViewAliases","usersChange","isValid"],["target","_blank",3,"href"],["class","edit-button-row",4,"ngIf"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],[3,"checked","disabled","change"],[1,"edit-field-help"],[1,"permission-toggle-help","edit-field-help"],["id","bs-warning"],["target","_blank","href","https://goto.google.com/buganizer-bugscope-slo-sync"],["format","fill","tooltip","Save any changes to the SLO",3,"disabled",
"onAction"],["tooltip","Discard any changes",3,"disabled","onAction"],["format","fill","tooltip","Archive the SLO and prevent new usages",3,"disabled","onAction",4,"ngIf"],["tooltip","Unarchive the SLO and allow new usages",3,"disabled","onAction",4,"ngIf"],["format","fill","tooltip","Archive the SLO and prevent new usages",3,"disabled","onAction"],["tooltip","Unarchive the SLO and allow new usages",3,"disabled","onAction"],["format","fill",3,"disabled","onAction"],[3,"onAction"]],template:function(a,
b){a&1&&(E(0,"div",0)(1,"div",1)(2,"b-button",2),M("onAction",function(){return b.back()}),I(3,"b-icon",3),G()()(),E(4,"div",4),C(5,Cpb,2,0,"div",5)(6,Kpb,55,31,"div",6),G());a&2&&(y(5),D("ngIf",b.isLoading),y(),D("ngIf",!b.isLoading&&b.slo&&b.slo.sloId&&b.editableCopy))},dependencies:[eQ,dw,Pw,Dg,Hw,Iw,$w,Ow,Mw,oX,yP,KN,JN,IV,WE,J0,HQ],encapsulation:2});var kNc="focus-indicator title type team id assignee status menu".split(" "),lNc="focus-indicator drag-handle title type id assignee status menu".split(" "),mNc="priority title assignee status id modifiedTime".split(" "),nNc="focus-indicator drag-handle title assignee status id menu".split(" ");var oNc=Nj().user.email,Ns={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===oNc&&Gn(a):!1},queryFragment:"assignee:me status:open",tooltip:"Open issues with me as the assignee"},OPEN:{key:"OPEN",displayAs:"Open",check:function(a){return Gn(a)},queryFragment:"status:open",tooltip:'Issues that match "status:open"'},FIXED:{key:"FIXED",displayAs:"Fixed",check:function(a){return gCa(a,"FIXED")},
queryFragment:"status:fixed"},BROAD_IN_PROGRESS:{key:"BROAD_IN_PROGRESS",displayAs:"Assigned",check:function(a){return gCa(a,"ASSIGNED")||gCa(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)&&Gn(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&&Gn(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(oCa(a))&&Gn(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 yCa(b,c)},queryFragment:'(no server query available for "is trending")',tooltip:"Issues with unusually high view activity"}};var pNc=mh("indicator",[ph("active-asc, asc",oh({transform:"translateY(0px)"})),ph("active-desc, desc",oh({transform:"translateY(10px)"})),rh("active-asc <=> active-desc",nh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),qNc=mh("leftPointer",[ph("active-asc, asc",oh({transform:"rotate(-45deg)"})),ph("active-desc, desc",oh({transform:"rotate(45deg)"})),rh("active-asc <=> active-desc",nh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),rNc=mh("rightPointer",[ph("active-asc, asc",oh({transform:"rotate(45deg)"})),ph("active-desc, desc",
oh({transform:"rotate(-45deg)"})),rh("active-asc <=> active-desc",nh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),sNc=mh("arrowOpacity",[ph("desc-to-active, asc-to-active, active",oh({opacity:1})),ph("desc-to-hint, asc-to-hint, hint",oh({opacity:.54})),ph("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",oh({opacity:0})),rh("* => asc, * => desc, * => active, * => hint, * => void",nh("0ms")),rh("* <=> *",nh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),tNc=mh("arrowPosition",[rh("* => desc-to-hint, * => desc-to-active",
nh("225ms cubic-bezier(0.4,0.0,0.2,1)",qh([oh({transform:"translateY(-25%)"}),oh({transform:"translateY(0)"})]))),rh("* => hint-to-desc, * => active-to-desc",nh("225ms cubic-bezier(0.4,0.0,0.2,1)",qh([oh({transform:"translateY(0)"}),oh({transform:"translateY(25%)"})]))),rh("* => asc-to-hint, * => asc-to-active",nh("225ms cubic-bezier(0.4,0.0,0.2,1)",qh([oh({transform:"translateY(25%)"}),oh({transform:"translateY(0)"})]))),rh("* => hint-to-asc, * => active-to-asc",nh("225ms cubic-bezier(0.4,0.0,0.2,1)",
qh([oh({transform:"translateY(0)"}),oh({transform:"translateY(-25%)"})]))),ph("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",oh({transform:"translateY(0)"})),ph("hint-to-desc, active-to-desc, desc",oh({transform:"translateY(-25%)"})),ph("hint-to-asc, active-to-asc, asc",oh({transform:"translateY(25%)"}))]),uNc=mh("allowChildren",[rh("* <=> *",[th("@*",sh())])]);var I5=function(){this.changes=new W.Subject};I5.\u0275fac=function(a){return new (a||I5)};I5.\u0275prov=vc({token:I5,factory:I5.\u0275fac,providedIn:"root"});var vNc={provide:I5,deps:[[new Nu,new Ou,I5]],useFactory:function(a){return a||new I5}};var wNc=new Xc("MAT_SORT_DEFAULT_OPTIONS"),xNc=Coa(function(){}),J5=function(a){var b=xNc.call(this)||this;b._defaultOptions=a;b.sortables=new Map;b._stateChanges=new W.Subject;b.start="asc";b._direction="";b.disabled=!1;b.sortChange=new zv;return b};X(J5,xNc);g=J5.prototype;g.register=function(a){this.sortables.set(a.id,a)};g.deregister=function(a){this.sortables.delete(a.id)};
g.sort=function(a){if(this.active!=a.id)this.active=a.id,this.direction=a.start?a.start:this.start;else{if(a){var b,c,d,e=null!=(d=null!=(c=null==a?void 0:a.disableClear)?c:this.disableClear)?d:!(null==(b=this._defaultOptions)||!b.disableClear);b=["asc","desc"];"desc"==(a.start||this.start)&&b.reverse();e||b.push("");a=b.indexOf(this.direction)+1;a>=b.length&&(a=0);a=b[a]}else a="";this.direction=a}this.sortChange.emit({active:this.active,direction:this.direction})};g.ngOnInit=function(){this._markInitialized()};
g.ngOnChanges=function(){this._stateChanges.next()};g.ngOnDestroy=function(){this._stateChanges.complete()};Vg.Object.defineProperties(J5.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return this._direction},set:function(a){this._direction=a}}});J5.\u0275fac=function(a){return new (a||J5)(A(wNc,8))};
J5.\u0275dir=Qc({type:J5,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",pg],disabled:[2,"matSortDisabled","disabled",pg]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],standalone:!0,features:[of,nf,ed]});var K5=function(a,b,c,d,e,f,h,k){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==k?0:k.arrowPosition)this.arrowPosition=null==k?void 0:k.arrowPosition;this._handleStateChanges()};g=K5.prototype;
g.ngOnInit=function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name);this._updateArrowDirection();this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection});this._sort.register(this);this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container");this._updateSortActionDescription(this._sortActionDescription)};
g.ngAfterViewInit=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b=!!b;b!==a._showIndicatorHint&&(a._setIndicatorHintVisible(b),a._changeDetectorRef.markForCheck())})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._sort.deregister(this);this._rerenderSubscription.unsubscribe()};
g._setIndicatorHintVisible=function(a){this._isDisabled()&&a||(this._showIndicatorHint=a,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))};g._setAnimationTransitionState=function(a){this._viewState=a||{};this._disableViewStateAnimation&&(this._viewState={toState:a.toState})};
g._toggleOnInteraction=function(){this._sort.sort(this);if("hint"===this._viewState.toState||"active"===this._viewState.toState)this._disableViewStateAnimation=!0};g._handleClick=function(){this._isDisabled()||this._sort.sort(this)};g._handleKeydown=function(a){this._isDisabled()||32!==a.keyCode&&13!==a.keyCode||(a.preventDefault(),this._toggleOnInteraction())};g._isSorted=function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)};
g._getArrowDirectionState=function(){return(this._isSorted()?"active-":"")+this._arrowDirection};g._getArrowViewState=function(){var a=this._viewState.fromState;return(a?a+"-to-":"")+this._viewState.toState};g._updateArrowDirection=function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start};g._isDisabled=function(){return this._sort.disabled||this.disabled};
g._getAriaSortAttribute=function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"};g._renderArrow=function(){return!this._isDisabled()||this._isSorted()};g._updateSortActionDescription=function(a){if(this._sortButton){var b;null==(b=this._ariaDescriber)||Ex(b,this._sortButton,this._sortActionDescription);var c;null==(c=this._ariaDescriber)||Dx(c,this._sortButton,a)}this._sortActionDescription=a};
g._handleStateChanges=function(){var a=this;this._rerenderSubscription=(0,W.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()})};Vg.Object.defineProperties(K5.prototype,{sortActionDescription:{configurable:!0,enumerable:!0,get:function(){return this._sortActionDescription},set:function(a){this._updateSortActionDescription(a)}}});K5.\u0275fac=function(a){return new (a||K5)(A(I5),A(Uu),A(J5,8),A("MAT_SORT_HEADER_COLUMN_DEF",8),A(px),A(Ad),A(Cx,8),A(wNc,8))};
K5.\u0275cmp=Lc({type:K5,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(a,b){a&1&&M("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&&(pf("aria-sort",b._getAriaSortAttribute()),yf("mat-sort-header-disabled",b._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",
start:"start",disabled:[2,"disabled","disabled",pg],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",pg]},exportAs:["matSortHeader"],standalone:!0,features:[of,dg],attrs:["mat-sort-header",""],ngContentSelectors:["*"],decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow"],[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&&(Lf(),E(0,"div",0)(1,"div",1),Mf(2),G(),C(3,Npb,6,6,"div",2),G());a&2&&(yf("mat-sort-header-sorted",b._isSorted())("mat-sort-header-position-before","before"===b.arrowPosition),pf("tabindex",b._isDisabled()?null:0)("role",b._isDisabled()?null:"button"),y(3),Cf(3,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:[pNc,qNc,rNc,sNc,tNc,uNc]},changeDetection:0});var L5=function(a,b,c){Y.call(this);var d=this;this.issueFridge=a;this.router=b;this.domSafe=c;this.isOpen=function(e){return Gn(e)};this.getAssigneeString=function(e){var f,h;e=Ki(null==e?void 0:null==(f=e.snapshot)?void 0:null==(h=f[0])?void 0:h.assigneeUser);return Bn(e)?e:void 0};this.getPriority=Mqb;this.getModifiedTimeMicros=Nqb;this.issueIds$=new W.BehaviorSubject([]);this.menuItemFactory=function(){return[]};this.optionsInternal={menu:{includeGoToIssueItem:!0}};this.rowLimit$=new W.BehaviorSubject(this.options.rowLimit);
this.DEFAULT_DATETIME_MODE="datetime";this.DEFAULT_MENU_OPTIONS={buttonIcon:"more-settings-vertical",buttonLabel:"More options"};this.internalFilters=new XK;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(r(kNc));this.activeSort$=new W.BehaviorSubject(void 0);this.allRows$=this.issueIds$.pipe(pm(),B(function(e){return e.map(function(f){return{id:f,issue$:d.issueFridge.watch(f)}})}),
af({refCount:!0,bufferSize:1}));this.allIssuesAreLoaded$=this.allRows$.pipe(df(function(e){return(0,W.combineLatest)(e.map(function(f){return f.issue$.pipe(cf(null))}))}),B(function(e){return e.every(function(f){return null!==f})}));this.unarchivedRows$=this.allRows$.pipe(Qe(this.allIssuesAreLoaded$),B(function(e){e=l(e);var f=e.next().value;return e.next().value?f.filter(function(h){var k;return!(null==(k=In(h))?0:k.isArchived)}):f}));this.unarchivedRows$.pipe(B(function(e){return e.length}));this.sortRows=
(0,W.pipe)(Qe(this.activeSort$,this.allIssuesAreLoaded$),B(function(e){e=l(e);var f=e.next().value,h=e.next().value;return e.next().value?Oqb(f,h):f}));this.filterRows=(0,W.pipe)(Qe(this.internalFilters.value$),df(function(e){e=l(e);var f=e.next().value,h=e.next().value;return 0===h.size?(0,W.of)(f):(0,W.combineLatest)(f.map(function(k){return k.issue$})).pipe(B(function(k){return f.filter(function(q,t){return k[t]?Lpb(h,t,k):!0})}))}));this.limitRows=(0,W.pipe)(Qe(this.rowLimit$),B(function(e){var f=
l(e);e=f.next().value;return(f=f.next().value)?e.slice(0,f):e}));this.filteredRows$=this.unarchivedRows$.pipe(this.filterRows);this.trendingChipsById$=nm(this.unarchivedRows$.pipe(Qe(this.allIssuesAreLoaded$.pipe(Te())),B(function(e){var f=l(e);e=f.next().value;if(f.next().value){f=e.map(In).map(function(w){return null==w?void 0:w.userActivityStats});var h=f.map(function(w){var z;return null!=(z=null==w?void 0:w.oneDayViewCount)?z:0}),k=f.map(function(w){var z;return null!=(z=null==w?void 0:w.sevenDayViewCount)?
z:0}),q=f.map(function(w){var z;return null!=(z=null==w?void 0:w.thirtyDayViewCount)?z:0}),t={};e.forEach(function(w,z){w=w.id;null!=w&&(z=tm(h[z],h)?{title:"Trending 24h",tooltip:h[z]+" Views in 24 hours",cssClass:"cyan"}:tm(k[z],k)?{title:"Trending 7d",tooltip:k[z]+" Views in 7 days",cssClass:"purple"}:tm(q[z],q)?{title:"Trending 30d",tooltip:q[z]+" Views in the last 30 days",cssClass:"blue"}:void 0,z&&(t[w]=z))});return t}})));this.rows$=this.filteredRows$.pipe(this.limitRows,this.sortRows);this.rowCountAfterFilters$=
this.unarchivedRows$.pipe(this.filterRows,B(function(e){return e.length}));this.hiddenRowCount$=(0,W.combineLatest)([this.unarchivedRows$,this.rows$]).pipe(B(function(e){var f=l(e);e=f.next().value;f=f.next().value;return e.length-f.length}),Te());this.trackBy=function(e,f){return f.id};this.correctedDisplayedRows=new Tf};X(L5,Y);L5.\u0275dir=Y.\u0275dir;g=L5.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,r(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,W.combineLatest)([this.rows$,this.displayedRows.changes.pipe(cf(void 0))]).pipe(ef(this.destroyed$)).subscribe(function(b){b=l(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);Xf(a.correctedDisplayedRows)});this.focusManager=Ox(new Tqc(this.correctedDisplayedRows,Lqb))};
g.navigateToIssue=function(a,b){!b||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=this.getIssueUrl(b),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?rm(this.domSafe,b):Ts(this.router,b))};g.onRowKeydown=function(a,b){this.focusManager.onKeydown(b)};g.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):dn(a)};
Vg.Object.defineProperties(L5.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:[])}}});L5.\u0275fac=function(a){return new (a||L5)(A(UI),A(vF),A(IE))};
L5.\u0275cmp=Lc({type:L5,selectors:[["b-issues-table"]],viewQuery:function(a,b){a&1&&Uf(hW,5);if(a&2){var c;Yf(c=Zf())&&(b.displayedRows=c)}},inputs:{issueIds:"issueIds",menuItemFactory:"menuItemFactory",initialSort:"initialSort",options:"options",issueUrlFactory:"issueUrlFactory",filters:"filters",tableColumns:"tableColumns"},features:[nf],decls:48,vars:11,consts:[["mat-table","","matSort","",1,"full-width",3,"dataSource","trackBy","matSortActive","matSortDirection","matSortChange"],["matColumnDef",
"focus-indicator"],["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","type"],["mat-header-cell","","mat-sort-header","type",4,"matHeaderCellDef"],["matColumnDef","assignee"],["mat-header-cell","","mat-sort-header","assignee",4,"matHeaderCellDef"],["matColumnDef","reporter"],["mat-header-cell","","mat-sort-header","reporter",4,"matHeaderCellDef"],["matColumnDef","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","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","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns"],["class","muted margin-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"],["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"],["mat-header-cell","","mat-sort-header","createdTime"],[3,"issue","mode"],["mat-header-cell","","mat-sort-header","modifiedTime"],[4,"ngIf","ngIfElse"],["noData",""],[3,"timestamp","mode","paddingLeftPx"],[3,"buttonLabel",
"buttonIcon","menuItems","click"],["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"row","click","mouseup","focusin","keydown"],[1,"muted","margin-top","flex-kids-x","align-items-center"],["noLimit",""],["mat-button","",1,"gmat-button",3,"click"],["svgIcon","arrow-down",1,"icon"],["svgIcon","arrow-up",1,"icon"]],template:function(a,b){a&1&&(E(0,"table",0),M("matSortChange",function(e){b.activeSort$.next(e)}),T(1,"async"),T(2,"async"),K(3,1),C(4,Opb,1,0,"th",2)(5,Ppb,
1,0,"td",3),L(),K(6,4),C(7,Qpb,2,0,"th",2)(8,Rpb,2,1,"td",5),L(),K(9,6),C(10,Spb,2,0,"th",2)(11,Tpb,3,6,"td",5),L(),K(12,7),C(13,Upb,2,0,"th",8)(14,Vpb,3,3,"td",5),L(),K(15,9),C(16,Ypb,4,2,"th",10)(17,dqb,4,2,"td",5),L(),K(18,11),C(19,eqb,2,0,"th",12)(20,fqb,3,3,"td",5),L(),K(21,13),C(22,gqb,2,0,"th",14)(23,hqb,2,1,"td",5),L(),K(24,15),C(25,iqb,2,0,"th",16)(26,jqb,3,3,"td",5),L(),K(27,17),C(28,kqb,2,0,"th",2)(29,lqb,3,3,"td",5),L(),K(30,18),C(31,mqb,2,0,"th",2)(32,pqb,3,3,"td",5),L(),K(33,19),C(34,
qqb,2,0,"th",2)(35,tqb,3,3,"td",5),L(),K(36,20),C(37,uqb,2,0,"th",21)(38,vqb,3,4,"td",5),L(),K(39,22),C(40,wqb,2,0,"th",23)(41,zqb,4,2,"td",5),L(),K(42,24),C(43,Aqb,1,0,"th",2)(44,Bqb,2,3,"td",5),L(),C(45,Cqb,1,0,"tr",25)(46,Dqb,1,1,"tr",26),G(),C(47,Kqb,3,3,"div",27));if(a&2){var c,d;D("dataSource",b.rows$)("trackBy",b.trackBy)("matSortActive",null!==(c=null==(c=V(1,7,b.activeSort$))?null:c.active)&&void 0!==c?c:"")("matSortDirection",null!==(d=null==(d=V(2,9,b.activeSort$))?null:d.direction)&&void 0!==
d?d:"");y(45);D("matHeaderRowDef",b.tableColumns);y();D("matRowDefColumns",b.tableColumns);y();D("ngIf",b.options.rowLimit)}},dependencies:[dw,iw,jw,kw,hB,nA,J5,K5,jW,$W,NW,TW,PW,MW,VW,QW,SW,WW,YW,h0,cX,XV,ZV,jX,bW,dX,fW,eX,iN,hW,yT,$V,AS,mw],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:solid var(--mat-table-row-item-outline-width, 1px) #dadce0}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)}"],
changeDetection:0});var M5=function(a,b,c,d,e){Y.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(B(function(h){return{path:"/issues",params:{q:"blockedbyid:"+h}}}));this.issue$=this.id$.pipe(df(this.issues.watch));this.blockingIds$=this.issue$.pipe(B(function(h){var k;
return null!=(k=null==h?void 0:h.snapshot[0].blockingIssueId)?k:[]}));this.issuesBeingBlocked$=this.blockingIds$.pipe(df(this.issues.watchSet));this.blockedAndOpen$=this.issuesBeingBlocked$.pipe(B(function(h){return h.filter(Gn)}));this.blockedAndOpenIds$=this.blockedAndOpen$.pipe(B(function(h){return h.map(function(k){return String(k.issueId)})}));this.blockedAndClosed$=this.issuesBeingBlocked$.pipe(B(function(h){return h.filter(function(k){return fCa(k)})}));this.blockedAndClosedIds$=this.blockedAndClosed$.pipe(B(function(h){return h.map(function(k){return String(k.issueId)})}));
this.thinking$=this.issues.thinking$;this.getMenuItems=function(h){return[{type:"action",label:"Remove this relationship",action:function(){var k=om(f.id$);null!=k&&VI(f.issues,"REMOVE","BLOCKING",k,[String(h)]).catch(f.gotErr)},title:"Remove this relationship",icon:"clear"}]};this.didChooseBlocking=function(h){var k=om(f.id$);null!=k&&VI(f.issues,"ADD","BLOCKING",k,h).catch(f.gotErr)};this.gotErr=function(h){f.snackBar.open(tn(h)||"Error with network request","close",{panelClass:"error"})}};
X(M5,Y);M5.\u0275dir=Y.\u0275dir;var Pqb=function(a){a.issuePicker.open({title:"Add Blocking",allowMultipleIds:!0,edgeType:"blocking"},a.didChooseBlocking)};M5.\u0275fac=function(a){return new (a||M5)(A(FK),A(UI),A(zX),A(SE),A(BR))};
M5.\u0275cmp=Lc({type:M5,selectors:[["ng-component"]],features:[nf],decls:5,vars:6,consts:[[1,"carded","bg-main"],[4,"ngIf"],["class","pos-tr padded",4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],["hasResults",""],[1,"empty-state","layout-centered-column","gap"],["aria-hidden","true","alt","",1,"light-only",3,"src"],["aria-hidden","true","alt","",1,"dark-only",3,"src"],[1,"type-l"],[1,"muted"],["href","https://developers.google.com/issue-tracker/guides/block-issue",
"target","_blank",1,"nowrap"],["mat-flat-button","","color","primary","matTooltip","Add something this issue is blocking",1,"gmat-button","small",3,"click"],[4,"ngIf","ngIfElse"],["notLoaded",""],[1,"margin-s-top","flex-kids-x","gap-s"],[1,"section-heading","muted"],["noBlockedAndOpen",""],[3,"issueIds","menuItemFactory",4,"ngIf"],[3,"issueIds","menuItemFactory"],[1,"muted","margin-bottom"],[1,"unstyled","reverse-padded-sides"],[4,"ngFor","ngForOf"],[1,"padded-x",3,"routerLink"],[1,"right"],["mat-icon-button",
"","aria-label","",1,"gmat-button","invisible"],["mat-button","","color","primary",1,"gmat-button","small",3,"routerLink","queryParams"],[1,"pos-tr","padded"]],template:function(a,b){a&1&&(E(0,"section",0),C(1,crb,4,2,"ng-container",1),T(2,"async"),G(),C(3,drb,2,0,"aside",2),T(4,"async"));a&2&&(y(),D("ngIf",V(2,2,b.blockingIds$)),y(2),D("ngIf",V(4,4,b.thinking$)))},dependencies:[hw,dw,xF,nA,oA,PC,HQ,L5,mw],styles:["[_nghost-%COMP%]{display:block;padding:8px}.b-chip[_ngcontent-%COMP%]{margin:-3px 0;margin-right:0}.section-heading[_ngcontent-%COMP%]{margin-top:0;margin-bottom:4px}b-issues-table[_ngcontent-%COMP%] + .section-heading[_ngcontent-%COMP%]{margin-top:16px}ol[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;padding:8px;padding-left:16px;line-height:1.3}ol[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}ol[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{margin-left:auto;margin-top:-8px;margin-bottom:-8px}[_nghost-%COMP%]     .remove-btn{opacity:0;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;margin:-16px 0}[_nghost-%COMP%]     ol a:hover .remove-btn{opacity:1}ol[_ngcontent-%COMP%]   a[disabled=true][_ngcontent-%COMP%]{background:transparent;opacity:.5;cursor:default}[_nghost-%COMP%]     ol a[disabled=true] .remove-btn{opacity:0}.empty-state[_ngcontent-%COMP%]{padding:32px 0;max-width:30rem}.empty-state[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:240px;min-height:230px}\n/*# sourceMappingURL=issue_blocking.css.map */"],
changeDetection:0});var N5=function(){};N5.\u0275fac=function(a){return new (a||N5)};N5.\u0275mod=Nc({type:N5});N5.\u0275inj=wc({providers:[vNc],imports:[Gy]});var O5=function(){};O5.\u0275fac=function(a){return new (a||O5)};O5.\u0275mod=Nc({type:O5});O5.\u0275inj=wc({imports:[Bx,mA,Xz,SH,dx,$C,N5,rX,ON,JD,ex,BF,j0,lX,fQ,mX,jN,kR,iW,DT,hX,QS]});var P5=function(){};P5.\u0275fac=function(a){return new (a||P5)};P5.\u0275mod=Nc({type:P5});P5.\u0275inj=wc({imports:[SH,Xz,mA,dx,ex,BF,$C,ON,JD,gX,aN,jN,kR,O5]});var Q5=function(){this.LIMIT_INCREMENT=32;this.limit=8;this.emails=[]};Q5.\u0275fac=function(a){return new (a||Q5)};
Q5.\u0275cmp=Lc({type:Q5,selectors:[["avatar-bunch"]],inputs:{emails:"emails"},decls:3,vars:6,consts:[["size","medium",3,"email",4,"ngFor","ngForOf"],[4,"ngIf"],["size","medium",3,"email"],["href","#",1,"subtle-link",3,"title","click"]],template:function(a,b){a&1&&(C(0,erb,1,1,"b-user-image",0),T(1,"slice"),C(2,grb,2,1,"ng-container",1));a&2&&(D("ngForOf",mma(1,2,b.emails,b.limit)),y(2),D("ngIf",0<b.emails.length-b.limit))},dependencies:[hw,dw,yT,tw],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 hrb=function(){return[]},R5=function(){this.makeCritiqueUrl=sLa;this.submitted=[];this.pending=[]};R5.\u0275fac=function(a){return new (a||R5)};
R5.\u0275cmp=Lc({type:R5,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&&C(0,jrb,7,3,"div",0);a&2&&D("ngIf",b.submitted.length+b.pending.length)},dependencies:[dw],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 S5=function(){this.joinerStr=""};Vg.Object.defineProperties(S5.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){if(null!=a){var b=uCa(1049928)(a);this.startDate=NAa(null==b?void 0:b.dateValue);a=uCa(1049953)(a);this.endDate=NAa(null==a?void 0:a.dateValue);this.startDateShortStr=OAa(this.startDate);this.endDateShortStr=OAa(this.endDate);this.joinerStr=this.endDate?"\u2192":""}}}});S5.\u0275fac=function(a){return new (a||S5)};
S5.\u0275cmp=Lc({type:S5,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&&C(0,mrb,4,2,"div",
0);a&2&&D("ngIf",b.startDate||b.endDate)},dependencies:[dw,hB,pw],styles:["[_nghost-%COMP%] {\n      white-space: nowrap;\n    }\n    .date[_ngcontent-%COMP%] {\n      display: inline-block;\n    }"],changeDetection:0});var yNc=function(){this.makePie=tLa;this.useXofYLabel=!1};yNc.\u0275fac=function(a){return new (a||yNc)};yNc.\u0275cmp=Lc({type:yNc,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,"title","click"],[1,"pie","margin-s-right"]],template:function(a,b){a&1&&C(0,nrb,7,13,"div",0);a&2&&D("ngIf",0<b.total)},dependencies:[dw,sw],encapsulation:2,changeDetection:0});var prb=function(){return[]},T5=function(a,b,c,d){Y.call(this);var e=this;this.issueRelationshipsFridge=a;this.metadataFridge=b;this.issueFridge=c;this.changelistFridge=d;this.id$=new W.ReplaySubject(1);this.issue$=this.id$.pipe(df(this.issueFridge.watchOne));this.metadata$=this.id$.pipe(df(this.metadataFridge.watchOne));this.closedAndTotal$=this.metadata$.pipe(B(IBa));this.metadata$.pipe(B(KBa));this.emails$=this.metadata$.pipe(B(LBa));this.pendingCls$=(0,W.combineLatest)([this.id$,this.metadata$]).pipe(df(function(f){var h=
l(f);f=h.next().value;h=h.next().value;var k;h=null!=(k=null==h?void 0:h.issueIds)?k:[];k=[f].concat(r(h));return e.changelistFridge.watchMany({pendingForIssues:k})}),B(function(f){return f.results}));this.subscriptions.add((0,W.merge)(this.issueRelationshipsFridge.memoryWasSet$,this.issueRelationshipsFridge.collectiveMemoryWasSet$,this.issueFridge.memoryWasSet$,this.issueFridge.collectiveMemoryWasSet$).pipe(Qe(this.id$),Re(2E3)).subscribe(function(f){return void e.metadataFridge.poke(f[1])}))};
X(T5,Y);T5.\u0275dir=Y.\u0275dir;Vg.Object.defineProperties(T5.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});T5.\u0275fac=function(a){return new (a||T5)(A(pJ),A(TG),A(UI),A(dH))};
T5.\u0275cmp=Lc({type:T5,selectors:[["rollups-project"]],inputs:{id:"id"},features:[nf],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&&(E(0,"section",0),C(1,orb,1,2,"progress-pie",1),T(2,"async"),I(3,"issue-timeframe",2),T(4,"async"),C(5,qrb,2,5,"cl-counts",3),T(6,"async"),C(7,
rrb,1,1,"avatar-bunch",4),T(8,"async"),G());a&2&&(y(),D("ngIf",V(2,4,b.closedAndTotal$)),y(2),D("issue",V(4,6,b.issue$)),y(2),D("ngIf",V(6,8,b.metadata$)),y(2),D("ngIf",V(8,10,b.emails$)))},dependencies:[dw,Q5,R5,yNc,S5,mw],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 urb=function(a){this.internalArray_=m(a)};X(urb,n);g=urb.prototype;g.getFilename=function(){return Zi(this,1)};g.setFilename=function(a){Lh(this,1,a)};g.getLineNumber=function(a){return bu(this,2,a)};g.getChangeNumber_asLegacyNumberOrString=function(){return kj(this,3)};g.setChangeNumber=function(a){return zj(this,3,a)};urb.repeatedFields_=[2];var wrb=function(a){this.internalArray_=m(a)};X(wrb,n);wrb.repeatedFields_=[2];var zNc=function(a){this.internalArray_=m(a,0,zNc.messageId)};X(zNc,n);zNc.repeatedFields_=[3];zNc.messageId="b.MentionSearchResult";var U5=function(a){this.executor=a};U5.\u0275fac=function(a){return new (a||U5)(p(RD))};U5.\u0275prov=vc({token:U5,factory:U5.\u0275fac,providedIn:"root"});var V5=function(a,b,c){this.mentionsApi=a;this.refreshMonitor=b;this.analytics=c},ANc=function(a,b){var c="https://todo.corp.google.com/?issue="+b;a.cachedId===b&&a.cachedEntry||(a.cachedId=b,a.cachedEntry=M6b(a.refreshMonitor,(0,W.defer)(function(){return a.mentionsApi.executor.get({url:"action/issues/"+b+"/mentions",responseConstructor:zNc}).then(xrb).then(function(d){return{mentions:d,link:c}}).catch(function(){return{link:c}})}).pipe(cf({link:c}))).pipe(af({refCount:!0,bufferSize:1})));return a.cachedEntry};
V5.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)};V5.prototype.trackSqueegeeClick=function(){kp(this.analytics,"codeMentions","clickSqueegeeLink")};V5.\u0275fac=function(a){return new (a||V5)(p(U5),p(SI),p(MI))};V5.\u0275prov=vc({token:V5,factory:V5.\u0275fac,providedIn:"root"});var X5=function(a,b,c,d,e,f,h){var k=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(Se(1E3));this.issue$=this.id$.pipe(df(this.issueFridge.watch));this.issueEvents$=this.id$.pipe(df(this.eventsForIssue.watch),B(function(q){var t;return null!=(t=null==q?void 0:q.events)?t:[]}));this.blockerIssueIds$=this.issue$.pipe(B(function(q){var t;return null!=
(t=null==q?void 0:q.snapshot[0].blockedByIssueId)?t:[]}),Te(Th));this.blockedIssueIds$=this.issue$.pipe(B(function(q){var t;return null!=(t=null==q?void 0:q.snapshot[0].blockingIssueId)?t:[]}),Te(Th));this.parentIds$=this.issue$.pipe(B(function(q){var t;return null!=(t=null==q?void 0:q.parentIssueIds)?t:[]}),Te(Th));this.childrenIds$=this.id$.pipe(df(this.issueRelationshipsFridge.watch),B(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(B(function(q){var t;return null!=(t=null==q?void 0:q.snapshot[0].duplicateIssueId)?t:[]}),Te(Th));this.blockersDualCount$=(0,W.combineLatest)([this.id$,this.blockerIssueIds$]).pipe(df(function(q){var t=l(q);q=t.next().value;t=t.next().value;return W5(k,q,t,["BLOCKED_BY"])}),af({bufferSize:1,refCount:!0}));this.countBlockersDisplay$=this.blockersDualCount$.pipe(B(Os),af({bufferSize:1,refCount:!0}));this.blockedDualCount$=(0,W.combineLatest)([this.id$,
this.blockedIssueIds$]).pipe(df(function(q){var t=l(q);q=t.next().value;t=t.next().value;return W5(k,q,t,["BLOCKING"])}),af({bufferSize:1,refCount:!0}));this.countBlockedDisplay$=this.blockedDualCount$.pipe(B(Os),af({bufferSize:1,refCount:!0}));this.childrenDualCount$=(0,W.combineLatest)([this.id$,this.childrenIds$]).pipe(df(function(q){var t=l(q);q=t.next().value;t=t.next().value;return W5(k,q,t,["CHILDREN"])}),af({bufferSize:1,refCount:!0}));this.countChildrenDisplay$=this.childrenDualCount$.pipe(B(Os),
af({bufferSize:1,refCount:!0}));this.parentsDualCount$=(0,W.combineLatest)([this.id$,this.parentIds$]).pipe(df(function(q){var t=l(q);q=t.next().value;t=t.next().value;return W5(k,q,t,["PARENT"])}),af({bufferSize:1,refCount:!0}));this.countParentsDisplay$=this.parentsDualCount$.pipe(B(Os),af({bufferSize:1,refCount:!0}));this.dependenciesDualCount$=(0,W.combineLatest)([this.id$,this.blockerIssueIds$,this.childrenIds$]).pipe(df(function(q){var t=l(q);q=t.next().value;var w=t.next().value;t=t.next().value;
return W5(k,q,[].concat(r(t),r(w)),["CHILDREN","BLOCKED_BY"])}));this.countDependenciesDisplay$=this.dependenciesDualCount$.pipe(B(Os),af({bufferSize:1,refCount:!0}));this.duplicatesDualCount$=(0,W.combineLatest)([this.id$,this.duplicateIssueIds$]).pipe(df(function(q){var t=l(q);q=t.next().value;t=t.next().value;return W5(k,q,t,["DUPLICATE"])}),af({bufferSize:1,refCount:!0}));this.countDuplicateDisplay$=this.duplicatesDualCount$.pipe(B(function(q){return q.total}),B(zrb),af({bufferSize:1,refCount:!0}));
this.countResourcesDisplay$=this.issue$.pipe(B(function(q){var t;return null!=(t=null==q?void 0:q.relatedLinks)?t:[]}),B(function(q){return k.activeSession.isInternalSession()?q:q.filter(function(t){return!rGa(t)})}),B(function(q){return Ps(q.length)}),B(zrb),af({bufferSize:1,refCount:!0}));this.countTodosDisplay$=this.id$.pipe(Ce(Bi),df(function(q){return ANc(k.codeMentions,q)}),B(function(q){var t,w;return Ps(null!=(w=null==(t=q.mentions)?void 0:t.totalMentions)?w:0)}),B(zrb),af({bufferSize:1,refCount:!0}));
this.countCommentsDisplay$=this.issueEvents$.pipe(B(function(q){return Ps(q.filter(Cn).length)}),B(zrb),af({bufferSize:1,refCount:!0}))},W5=function(a,b,c,d){d=void 0===d?[]:d;c=An(c);if(!b||0===c.length)return(0,W.of)({open:{count:0,exact:!0},total:{count:0,exact:!0}});d=d.map(function(e){return Arb(b,e)}).filter(Bi).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(Gn).filter(Hn).length;return{open:Ps(e),
total:Ps(c.length)}}):(0,W.combineLatest)(c.map(function(e){return a.issueFridge.watch(e)})).pipe(B(function(e){return{open:Ps(e.filter(Bi).filter(Gn).filter(Hn).length),total:Ps(e.filter(function(f){return!f||Hn(f)}).length)}}))};X5.\u0275fac=function(a){return new (a||X5)(p(wK),p(pJ),p(UI),p(V5),p(PH),p($H),p(nt))};X5.\u0275prov=vc({token:X5,factory:X5.\u0275fac,providedIn:"root"});var Y5=function(a,b,c,d,e,f,h,k,q){Y.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=k;this.counts=q;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe(df(this.issueFridge.watchOne));this.filters=[];this.shouldResetFilters=new zv;this.tableColumns=[].concat(r(kNc));this.initialSort={active:"status",direction:"asc"};
this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.blockerIds$=this.issue$.pipe(B(function(w){return null==w?void 0:w.snapshot[0]}),B(function(w){var z,F;return null!=(F=null==w?void 0:null==(z=w.blockedByIssueId)?void 0:z.map(String))?F:[]}));this.blockersCount$=this.blockerIds$.pipe(df(function(w){return 0===w.length?(0,W.of)(0):t.counts.blockersDualCount$.pipe(B(function(z){return z.total.count}))}));this.showBlockersTable$=this.blockersCount$.pipe(B(function(w){return 0<w}),cf(!0));
this.getMenuItems=function(w){return[{type:"action",label:"Remove blocker",action:function(){BNc(t,w)},title:"Remove blocker",icon:"clear"}]};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){var w=om(t.blockerIds$);if(null!=w){w=l(w);for(var z=w.next();!z.done;z=w.next())t.issueFridge.poke(z.value)}}))};X(Y5,Y);Y5.\u0275dir=Y.\u0275dir;
var Irb=function(a){var b;return ke(function(c){b=om(a.issueId$);if(null==b)return c.return();kp(a.analytics,Sp.EDIT_ISSUE,"update","add-blocker");return me(c,a.issuePicker.open({title:"Add Blockers of "+b,allowMultipleIds:!0,edgeType:"blocker"},function(d){CNc(a,b,d)}),0)})},CNc=function(a,b,c){ke(function(d){return 0===c.length?d.return():me(d,VI(a.issueFridge,"ADD","BLOCKED_BY",b,c).catch(function(e){CG(a.errorHandler,e)}),0)})},BNc=function(a,b){var c,d;ke(function(e){if(1==e.nextAddress){c=om(a.issueId$);
if(null==c)return e.return();kp(a.analytics,Sp.EDIT_ISSUE,"update","remove-blocker");le(e,2);var f=VI(a.issueFridge,"REMOVE","BLOCKED_BY",c,[b]);return me(e,f,4)}if(2!=e.nextAddress)return xt(e,0);d=pe(e);a.butterBar.showWarning("Could not remove blocker "+b+". "+(sn(d)?tn(d):d));qe(e)})};Y5.\u0275fac=function(a){return new (a||Y5)(A(UI),A(hG),A(MI),A(SI),A(FK),A(IK),A(zX),A(AG),A(X5))};
Y5.\u0275cmp=Lc({type:Y5,selectors:[["b-blockers-table"]],viewQuery:function(a,b){a&1&&Uf(L5,5);if(a&2){var c;Yf(c=Zf())&&(b.issuesTable=c.first)}},inputs:{filters:"filters"},outputs:{shouldResetFilters:"shouldResetFilters"},features:[nf],decls:16,vars:13,consts:[[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"],["noBlockersState",""],["addBlocker",""],[4,"ngTemplateOutlet"],[3,"issueIds","tableColumns","menuItemFactory","filters","initialSort"],[1,"muted"],[1,"subtle-link","unstyled",3,"click"],[1,"emoji"],["size","small","title","Mark an existing issue as blocker",1,"add",3,"disabled","onAction"]],template:function(a,b){a&1&&(E(0,"div",0)(1,
"h4",1)(2,"div",2),I(3,"mat-icon",3),G(),R(4),T(5,"async"),G(),C(6,Crb,2,1,"ng-container",4),T(7,"async"),G(),C(8,Erb,3,3,"ng-container",5),T(9,"async"),C(10,Frb,4,2,"p",6),T(11,"async"),C(12,Hrb,6,1,"ng-template",null,7,jg)(14,Jrb,3,3,"ng-template",null,8,jg));if(a&2){var c=Q(13);y(4);S(" Blockers ",V(5,5,b.counts.countBlockersDisplay$)," ");y(2);D("ngIf",V(7,7,b.showBlockersTable$));y(2);D("ngIf",V(9,9,b.showBlockersTable$))("ngIfElse",c);y(2);D("ngIf",V(11,11,null==b.issuesTable?null:b.issuesTable.hiddenRowCount$))}},
dependencies:[dw,lw,hB,PC,eQ,L5,mw],styles:["[_nghost-%COMP%] {\n      display: block;\n    }\n    b-issues-table[_ngcontent-%COMP%] {\n      display: block;\n      overflow-x: auto;\n    }"],changeDetection:0});var DNc=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};DNc.\u0275fac=function(a){return new (a||DNc)(A(BR))};
DNc.\u0275cmp=Lc({type:DNc,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&&(E(0,"h1",0),R(1,"About Dependencies"),G(),E(2,"div",1)(3,"div",2),I(4,"img",3)(5,"img",3)(6,"img",4)(7,"img",4),G(),E(8,"article")(9,"p",5),R(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. "),E(11,"a",6),R(12,"Learn more"),G()()()(),E(13,"div",7)(14,
"button",8),R(15,"Ok"),G()());a&2&&(y(4),D("src",b.EMPTY_CHILD_LIGHT,Pd),y(),D("src",b.EMPTY_BLOCKER_LIGHT,Pd),y(),D("src",b.EMPTY_CHILD_DARK,Pd),y(),D("src",b.EMPTY_BLOCKER_DARK,Pd))},dependencies:[nA,FA,GA,HA,IA],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 ENc={CANCEL:"CANCEL",ARCHIVE_ALL:"ARCHIVE_ALL",ARCHIVE_ONE:"ARCHIVE_ONE"},FNc=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=ENc};FNc.\u0275fac=function(a){return new (a||FNc)(A(DA),A(iI))};
FNc.\u0275cmp=Lc({type:FNc,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&&(E(0,"h1",0),R(1,"Archive with all descendant issues?"),
G(),E(2,"div",1),R(3),I(4,"br")(5,"br"),E(6,"a",2),R(7,"View all descendant issues"),G(),I(8,"br"),E(9,"a",3),R(10,"Learn more"),G()(),E(11,"div",4)(12,"button",5),R(13,"Cancel"),G(),E(14,"button",5),R(15," Just this one "),G(),E(16,"button",6),R(17," Archive all "),G()());a&2&&(y(3),S(" 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? "),y(3),Of("href",b.descendantIssuesUrl,
Pd),y(6),D("matDialogClose",b.ActionType.CANCEL),y(2),D("matDialogClose",b.ActionType.ARCHIVE_ONE),y(2),D("matDialogClose",b.ActionType.ARCHIVE_ALL))},dependencies:[nA,FA,GA,HA,IA],encapsulation:2});var Z5=function(a,b,c,d,e,f,h,k,q){this.issueApi=a;this.dialog=b;this.confirmationDialogService=c;this.issueRelationshipsFridge=d;this.issueFridge=e;this.eventsForIssueFridge=f;this.paths=h;this.butterBar=k;this.editIssueService=q};
Z5.prototype.submitArchivalState=function(a,b){var c=this;return ke(function(d){if(1==d.nextAddress)return b?me(d,c.archive(a),5):me(d,c.editIssueService.unarchive(a),0);c.issueFridge.poke(a);c.eventsForIssueFridge.poke(a);qe(d)})};
Z5.prototype.archive=function(a){var b=this,c,d,e,f,h,k,q,t,w,z;return ke(function(F){if(1==F.nextAddress)return me(F,Promise.all([b.getDescendants(a),(0,W.firstValueFrom)(b.issueFridge.watch(a))]),2);c=F.yieldResult;d=l(c);e=d.next().value;f=d.next().value;h=e;k=f;q=h;t=q.childToParents;w=q.completeResult;z=[].concat(r(t.keys()));t.set(a,k.parentIssueIds||[]);return 0===z.length?F.return(GNc(b,a,t)):w?F.return(HNc(b,a,z,t)):F.return(INc(b,a,t))})};
var HNc=function(a,b,c,d){var e,f,h;return ke(function(k){if(1==k.nextAddress)return e={numberOfDescendants:c.length,issueId:b},f={data:e,width:"500px"},me(k,(0,W.firstValueFrom)(a.dialog.open(FNc,f).afterClosed()),2);h=k.yieldResult;switch(h){case "ARCHIVE_ALL":return k.return(JNc(a,[b].concat(r(c)),d));case "ARCHIVE_ONE":return k.return(GNc(a,b,d));case "CANCEL":return k.return();default:return k.return(Nh(h))}})},JNc=function(a,b,c){var d=[{issueIds:b,actions:[{fieldName:"isArchived",value:"true"}]}];
KNc(a,c);Ks(a.butterBar,"Archiving "+b.length+" issues...");return a.issueApi.issueBulkEdit({bulkEditOps:d}).then(function(){Ks(a.butterBar,"Archived "+b.length+" issues successfully.")}).catch(function(e){a.butterBar.showWarning(e);LNc(a,c)})},GNc=function(a,b,c){KNc(a,c);return a.issueApi.updateIssue(b,{issueId:b,actions:[{fieldName:"isArchived",value:"true"}]}).then(function(){Ks(a.butterBar,"Archived successfully.")}).catch(function(d){a.butterBar.showWarning(d);LNc(a,c)})},INc=function(a,b,c){return new Promise(function(d){a.confirmationDialogService.open({title:"Archive issue with descendant issues?",
content:ih([gh("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."),jh("br",{}),jh("br",{}),jh("a",{href:a.paths.listIssues({q:"parentId:"+b+"+"}),target:"_blank"},"View all descendant issues"),jh("br",{}),jh("a",{href:"http://go/b-issue-archive",target:"_blank"},"Learn more")]),cancelButtonText:"Cancel",confirmButtonText:"Just this one",
onConfirm:function(){GNc(a,b,c).then(d)},onDismiss:d})})},KNc=function(a,b){b=l(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;d=l(d);for(var e=d.next();!e.done;e=d.next())a.issueRelationshipsFridge.unlinkFromParent(c,e.value,!0)}},LNc=function(a,b){b=[].concat(r(b.values())).flat();b=l(b);for(var c=b.next();!c.done;c=b.next())a.issueRelationshipsFridge.poke(c.value)};
Z5.prototype.getDescendants=function(a){var b=this,c,d,e,f,h,k,q,t,w,z,F,J;return ke(function(H){if(1==H.nextAddress)return me(H,(0,W.firstValueFrom)(d7b(b.issueRelationshipsFridge,a)),2);c=H.yieldResult;d=c.results;e=!0;f=new Map;h=l(d);for(k=h.next();!k.done;k=h.next()){q=k.value;t=l(q.relatedChildren);for(w=t.next();!w.done;w=t.next())z=w.value,F=void 0,J=null!=(F=f.get(z.targetIssueId))?F:[],J.push(q.issueId),f.set(z.targetIssueId,J);q.totalChildCount===q.relatedChildren.length||(e=!1)}return H.return({childToParents:f,
completeResult:e})})};Z5.\u0275fac=function(a){return new (a||Z5)(p(PH),p(EA),p(lG),p(pJ),p(UI),p($H),p(iI),p(hG),p(aL))};Z5.\u0275prov=vc({token:Z5,factory:Z5.\u0275fac,providedIn:"root"});var $5=function(a){this.pathToAncestor=a},Rs=function(a){return new $5(a.split(">"))},MNc=function(a,b){return new $5([].concat(r(a.pathToAncestor),[b]))};$5.prototype.hash=function(){return this.pathToAncestor.join(">")};$5.prototype.equals=function(a){return!!a&&Th(this.pathToAncestor,a.pathToAncestor)};var NNc=function(a,b){a=l(a.pathToAncestor.entries());for(var c=a.next();!c.done;c=a.next()){c=l(c.value);var d=c.next().value;if(c.next().value!==b.pathToAncestor[d])return!1}return!0};
$5.prototype.contains=function(a){return this.pathToAncestor.join(",").includes(a.pathToAncestor.join(","))};$5.prototype.some=function(a){return this.pathToAncestor.some(a)};$5.prototype.toString=function(){return this.hash()};
Vg.Object.defineProperties($5.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 $5(this.pathToAncestor.slice(0,this.size-1))}},root:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[0]}}});var a6=function(){var a=this;this.draftRows=new Map;this.changed$=new W.Subject;this.counter=0;this.createId=function(){return String(a.counter++)}};a6.prototype.create=function(a,b,c){var d=this.createId();b={type:"draft-issue",title:"",ancestorChain:MNc(a,d),level:a.size-1,issue$:(0,W.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};
a6.prototype.get=function(a){var b;return null!=(b=this.draftRows.get(a.hash()))?b:[]};a6.prototype.remove=function(a){var b=a.ancestorChain.parentChain,c=this.get(b),d=c.filter(function(f){return f.id!==a.id});if(c.length!==d.length){c=l(d);for(var e=c.next();!e.done;e=c.next())e=e.value,e.afterDraftId===a.id&&(e.afterDraftId=a.afterDraftId);this.draftRows.set(b.hash(),d);this.changed$.next(this.draftRows)}};
var ONc=function(a,b){return ke(function(c){return c.return((0,W.firstValueFrom)(a.changed$.pipe(cf(a.draftRows),B(function(d){return![].concat(r(d.values())).flat().some(function(e){return e.issueId===b||e.id===b})}),Ce(Boolean),B(function(){}))))})};a6.prototype.isSaving=function(){return[].concat(r(this.draftRows.values())).flat().some(function(a){return a.saving})};a6.prototype.set=function(a,b){var c=this.get(a);this.draftRows.set(a.hash(),[].concat(r(c),[b]));this.changed$.next(this.draftRows)};var PNc={defaultExpandedChildren:10,defaultExpansionLevel:3,maxExpansion:500},QNc=function(a){var b=void 0;b=void 0===b?PNc:b;a=void 0===a?{}:a;this.config=b;this.expansionState=this.initialState=a;this.changed$=new W.ReplaySubject(1)},RNc=function(a,b){b=b.hash();return a.expansionState[b]},SNc=function(a,b,c){b=b.hash();void 0===c?delete a.expansionState[b]:a.expansionState[b]=c;a.changed$.next(a.expansionState)},TNc=function(a,b,c){var d=!1;c=l(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;
var f=MNc(b,e.nodeId);e.size<=a.config.defaultExpansionLevel&&void 0===RNc(a,e)&&(a.expansionState[f.hash()]=a.config.defaultExpandedChildren,d=!0);for(var h=l(Object.entries(a.expansionState)),k=h.next();!k.done;k=h.next()){k=l(k.value);var q=k.next().value;k=k.next().value;q=Rs(q);q.contains(e)&&(d=q.pathToAncestor.join(",").replace(e.pathToAncestor.join(","),f.pathToAncestor.join(",")).split(","),d=new $5(d),delete a.expansionState[q.hash()],a.expansionState[d.hash()]=k,d=!0)}}if(!RNc(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 b6=function(a,b,c,d,e){this.issueApi=a;this.activeSession=b;this.issueFridge=c;this.componentFridge=d;this.componentTemplatesFridge=e;this.currentUser=Oi(this.activeSession.getUserEmail())},VNc=function(a,b){var c,d,e;return ke(function(f){if(1==f.nextAddress)return me(f,UNc(a,b),2);c=f.yieldResult;d=c.component;e=c.defaultTemplate;return f.return(MBa(d,e))})},XNc=function(a,b){var c;return ke(function(d){if(1==d.nextAddress)return me(d,WNc(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})})},YNc=function(a,b,c){var d;return ke(function(e){if(1==e.nextAddress)return me(e,WNc(a,b),2);d=e.yieldResult;d.title=c;return e.return(a.create(d))})};
b6.prototype.create=function(a){var b=this,c,d;return ke(function(e){return 1==e.nextAddress?me(e,b.issueApi.createIssue({snapshot:a}),2):3!=e.nextAddress?(c=e.yieldResult,d=c.issueId,me(e,b.issueFridge.poke(String(d)),3)):e.return({issueId:String(d)})})};
var WNc=function(a,b){var c,d,e,f,h;return ke(function(k){if(1==k.nextAddress)return me(k,(0,W.firstValueFrom)(a.issueFridge.watch(b).pipe(Ce(Bi))),2);if(3!=k.nextAddress)return c=k.yieldResult,me(k,UNc(a,String(c.snapshot[0].componentId)),3);d=k.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=$6b[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,ZNc(f),$Nc(e,f));h.assigneeUser&&(h.status="ASSIGNED");return k.return(h)})},ZNc=function(a){if(!a)return{};a=$b(a.snapshot,function(b){return null==b||"string"===typeof b&&Ui(b)?!1:!0});delete a.componentId;return a},$Nc=function(a,b){var c=[],d,e;a=l(null!=(e=null==(d=a.componentPathInfo)?
void 0:d.allCustomField)?e:[]);e=a.next();for(d={};!e.done;d={customField$jscomp$44:void 0},e=a.next())if(d.customField$jscomp$44=e.value,d.customField$jscomp$44.required){var f=void 0;e=null!=(f=d.customField$jscomp$44.typedDefaultValue)?f:{customFieldId:d.customField$jscomp$44.customFieldId};var h=f=void 0,k=void 0,q=null!=(k=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$44.customFieldId}}(d)))?k:e;
q&&c.push(Object.assign({},q))}return 0===c.length?{}:{customField:c}},UNc=function(a,b){var c,d,e,f,h,k;return ke(function(q){if(1==q.nextAddress)return me(q,Promise.all([(0,W.firstValueFrom)(a.componentTemplatesFridge.defaultTemplate$(b)),(0,W.firstValueFrom)(a.componentFridge.watch(b).pipe(Ce(Bi)))]),2);c=q.yieldResult;d=l(c);e=d.next().value;f=d.next().value;h=e;k=f;return q.return({component:k,defaultTemplate:h})})};b6.\u0275fac=function(a){return new (a||b6)(p(PH),p(nt),p(UI),p(oH),p(TH))};
b6.\u0275prov=vc({token:b6,factory:b6.\u0275fac,providedIn:"root"});var c6=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J){c=void 0===c?1:c;Y.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=k;this.issueRelationshipsFridge=q;this.paths=t;this.router=w;this.issueCreationService=z;this.clearcut=F;this.refreshMonitor=J;this.defaultApiRequestDepth=this.defaultExpansionLevel+2;this.defaultExpandedChildren=10;this.saveExpansion=this.saveExpansionAtKey?
Hj(this.saveExpansionAtKey):function(){};this.expansion=new QNc(aOc(this));this.draftRows=new a6;this.refetchingAll$=new W.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(df(function(){H.refetchingAll$.next(!0);var O=om(H.rows$),P=[];if(!O)return Promise.resolve();P.push(e7b(H.issueRelationshipsFridge,H.rootIssueId,H.defaultApiRequestDepth));O=l(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,W.merge)(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,(0,W.scheduled)((0,W.of)({}),W.asapScheduler)).pipe(df(function(){return d7b(H.issueRelationshipsFridge,H.rootIssueId,H.defaultApiRequestDepth)}),df(function(){for(var O=new Map,P=l(Object.entries(H.expansion.expansionState)),U=P.next();!U.done;U=P.next()){U=l(U.value);var Z=U.next().value;
U=U.next().value;Z=Rs(Z).nodeId;var la=void 0;U=Math.max(U,null!=(la=O.get(Z))?la:0);O.set(Z,U)}return bOc(H,O)}),Qe(this.quickFilters.value$),df(function(O){O=l(O);var P=O.next().value,U=O.next().value;return 0===U.size?(H.hiddenRowCount$.next(0),(0,W.of)(P)):cOc(H,P).pipe(B(function(Z){return dOc(H,P,U,Z)}))}),B(function(O){return eOc(H,O)}),af({refCount:!0,bufferSize:1}));this.hiddenRowCount$=new W.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(Ce(Bi));this.ROOT_ROW=
{type:"data",id:this.rootIssueId,level:-1,ancestorChain:new $5([this.rootIssueId]),expandedCount:500,issue$:W.NEVER,hasChildren$:W.NEVER};this.supportsOneLineCreation=(0,W.firstValueFrom)(this.rootIssue$).then(function(O){return oo(O.snapshot[0].componentId)}).then(function(O){return VNc(H.issueCreationService,O)});this.isOneLineCreationSupported=function(){return H.supportsOneLineCreation};this.saveExpansionAtKey&&this.subscriptions.add(this.expansion.changed$.pipe(Re(100)).subscribe(this.saveExpansion))};
X(c6,Y);c6.\u0275dir=Y.\u0275dir;c6.\u0275fac=Y.\u0275fac;
var aOc=function(a){a=a.saveExpansionAtKey;if(null!=a){a=Ota(a)();a:if("object"!==typeof a||Object.getPrototypeOf(a)!==Object.prototype)var b=!1;else{b=l(Object.getOwnPropertyNames(a));for(var c=b.next();!c.done;c=b.next())if("number"!==typeof a[c.value]){b=!1;break a}b=!0}return b?a:void 0}},fOc=function(a,b,c){b=void 0===b?a.ROOT_ROW.ancestorChain:b;var d,e,f,h,k,q,t;ke(function(w){switch(w.nextAddress){case 1:return d=b.nodeId,me(w,(0,W.firstValueFrom)(a.issueFridge.watch(d)),2);case 2:return(e=
w.yieldResult)?me(w,a.supportsOneLineCreation,3):w.return();case 3:f=w.yieldResult;if(!f){w.jumpTo(4);break}return me(w,XNc(a.issueCreationService,d),5);case 5:return h=w.yieldResult,w.return(a.draftRows.create(b,h,c));case 4:return k=e.snapshot[0].componentId,t={},me(w,Ts(a.router,a.paths.createIssue((t.component=k?String(k):void 0,t.parentIssueId=e.issueId,t.redirectUrl=DAa(a.rootIssueId),t.afterIssueId=null==(q=c)?void 0:q.afterIssueId,t))),6);case 6:return w.return()}})};
c6.prototype.addExistingChild=function(a){var b=this,c,d,e,f;ke(function(h){if(1==h.nextAddress)return me(h,(0,W.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 me(h,b.issuePicker.open({title:"Add Children of b/"+f,allowMultipleIds:!0,edgeType:"child"},function(k){return ke(function(q){if(1==q.nextAddress){if(0===k.length)return q.return();b.assignParentToIssues(f,k);kp(b.analytics,Sp.EDIT_ISSUE,"add","existing-child-issue");
return me(q,mp(),2)}a&&SNc(b.expansion,a.ancestorChain,500);qe(q)})}),0)})};c6.prototype.saveDraft=function(a){var b=this,c;return ke(function(d){if(1==d.nextAddress){if(a.saving||!a.title)return d.return();a.saving=!0;return me(d,gOc(b,a),2)}return(c=d.yieldResult)?d.return(hOc(b,a,c)):d.return()})};
var gOc=function(a,b){var c,d,e,f;return ke(function(h){switch(h.nextAddress){case 1:return c=b.ancestorChain.parentNodeId,le(h,2),me(h,YNc(a.issueCreationService,c,b.title),4);case 4:e=h.yieldResult;d=e.issueId;xt(h,3);break;case 2:return f=pe(h),a.butterBar.showWarning("Could not create issue. Error: "+JSON.stringify(f)),a.draftRows.remove(b),h.return();case 3:var k=(new Date).getTime()-b.draftStartedAt.getTime();if(0<k){var q=Math.min(k,108E5);K6b("createIssue",q,"from-tree");kp(a.analytics,Sp.CREATE_ISSUE,
"createIssue","time-to-create-from-tree",q);FI(a.clearcut,k,"createIssue-fromTree")}SNc(a.expansion,b.ancestorChain.parentChain,500);k=a.draftRows;q=d;b.issueId=q;for(var t=l(k.draftRows.values()),w=t.next();!w.done;w=t.next()){w=l(w.value);for(var z=w.next();!z.done;z=w.next())z=z.value,z.afterDraftId===b.id&&(z.afterIssueId=q)}k.changed$.next(k.draftRows);return h.return(d)}})},hOc=function(a,b,c){var d,e,f,h,k,q;return ke(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):me(t,ONc(a.draftRows,f),2);if(4!=t.nextAddress)return me(t,a.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:c,afterIssueId:b.afterIssueId}]),4);h=t.yieldResult;k=h.errors;(null==(q=k)?0:q.length)&&a.butterBar.showWarning("Could not create issue relationship. Error: "+JSON.stringify(k));a.draftRows.remove(b);qe(t)})},bOc=function(a,b,c){c=void 0===c?0:c;return(0,W.combineLatest)([a.rootIssueId].concat(r(b.keys())).map(function(d){return a.refetchingAll$.pipe(Ce(function(e){return!e}),
df(function(){return c7b(a.issueRelationshipsFridge,d)}))})).pipe(df(function(d){var e=new Map;d=l(d);for(var f=d.next();!f.done;f=d.next())(f=f.value)&&e.set(f.issueId,f);if(c===a.defaultExpansionLevel)return(0,W.of)(e);d=iOc(a,e,c);d=new Map(d.map(function(h){return[h,a.defaultExpandedChildren]}));return bOc(a,d,c+1).pipe(B(function(h){var k=new Map(e);h=l(h.entries());for(var q=h.next();!q.done;q=h.next()){var t=l(q.value);q=t.next().value;t=t.next().value;k.set(q,t)}return k}))}))},iOc=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,k=null!=(h=null==(f=b.get(e.current$jscomp$37.id))?void 0:f.relatedChildren)?h:[];a.push.apply(a,r(k.map(function(q){return function(t){return{id:t.targetIssueId,level:q.current$jscomp$37.level+1}}}(e))))}return d},eOc=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,k=null!=(h=null==(f=b.get(e.parentRow$jscomp$1.id))?void 0:f.relatedChildren)?h:[];f=k.slice(0,e.parentRow$jscomp$1.expandedCount);e.childrenLevel=e.parentRow$jscomp$1.level+1;e.parentRow$jscomp$1.expandedCount&&
f.length<k.length&&(h=MNc(e.parentRow$jscomp$1.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.childrenLevel,parentIssue$:e.parentRow$jscomp$1.issue$,ancestorChain:h,truncatedSiblingCount:k.length-f.length}));k=f.map(function(q){return function(t){var w=MNc(q.parentRow$jscomp$1.ancestorChain,t.targetIssueId),z=t.targetIssueId,F=q.childrenLevel,J=a.issueRelationshipsFridge.watch(t.targetIssueId).pipe(B(qDa));var H=q.childrenLevel;var O=w.nodeId,P=RNc(a.expansion,
w);if(void 0!==P)H=P;else if(H<a.defaultExpansionLevel){var U,Z;H=Math.min(a.defaultExpandedChildren,null!=(Z=null==(U=b.get(O))?void 0:U.relatedChildren.length)?Z:0)}else H=0;return{type:"data",id:z,level:F,hasChildren$:J,ancestorChain:w,expandedCount:H,issue$:a.issueFridge.watch(t.targetIssueId)}}}(e));d.push.apply(d,r(jOc(a,k,e.parentRow$jscomp$1.ancestorChain).reverse()))}return c},jOc=function(a,b,c){var d=[].concat(r(b));a=a.draftRows.get(c);a=l(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};
c6.prototype.assignParentToIssues=function(a,b){var c=this,d,e,f,h;return ke(function(k){if(1==k.nextAddress)return 0===b.length?k.return():me(k,c.issueRelationshipsFridge.assignParentToIssues(a,b.map(function(q){return{issueId:q,afterIssueId:"-1"}})),2);d=k.yieldResult;e=d.notAdded;f=d.errors;if(e.length)return c.butterBar.showWarning("Could not add "+e+" as child of b/"+a+". "+(null==(h=f)?void 0:h.map(function(q){return tn(q)}))),k.return();qe(k)})};
var cOc=function(a,b){for(var c=new Set,d=l(b.keys()),e=d.next();!e.done;e=d.next())c.add(e.value);b=l(b.values());for(d=b.next();!d.done;d=b.next())for(d=d.value.relatedChildren.map(function(f){return f.targetIssueId}),d=l(d),e=d.next();!e.done;e=d.next())c.add(e.value);return(0,W.combineLatest)([].concat(r(c)).map(function(f){return a.issueFridge.watch(f)})).pipe(B(function(f){return f.filter(Bi)}))},dOc=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 z=t.relatedChildren.filter(function(F){return e(F.targetIssueId)});k+=t.relatedChildren.length-z.length;f.set(q,Object.assign({},t,{relatedChildren:z}));return 0!==z.length||w}var f=new Map(b.entries()),h=new Map(d.map(function(q,t,w){return[q.issueId,Lpb(c,t,w)]})),k=0;e(a.rootIssueId);a.hiddenRowCount$.next(k);return f},d6=function(a,b,c,d,e,f,h,k,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=
k;this.clearcut=q;this.refreshMonitor=t};d6.prototype.create=function(a,b,c,d){b=void 0===b?new XK:b;return new c6(a,b,c,d,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};d6.\u0275fac=function(a){return new (a||d6)(p(MI),p(hG),p(UI),p(zX),p(pJ),p(iI),p(vF),p(b6),p(EI),p(SI))};d6.\u0275prov=vc({token:d6,factory:d6.\u0275fac,providedIn:"root"});var e6=function(a,b,c,d){var e=this;this.rootElement=a;this.rows=b;this.ngZone=c;this.rowSelectionModel=d;this.onLongHover$=new W.Subject;this.onRowsMoved$=new W.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=pOb(function(f,h){if(e.activeDrag){var k=f||0,q=h.getBoundingClientRect();f=q.height;k-=q.top;
f=Mrb(k<=.25*f?"top":k>=.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=(k=null==(t=f.querySelector(".title-location"))?void 0:t.getBoundingClientRect().left)?k-f.getBoundingClientRect().left:0;t=f.offsetLeft+t;k="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=k-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};kOc(e,f,h)}},10);this.ngZone.runOutsideAngular(function(){a.addEventListener("dragover",function(f){var h,k=null==(h=f.target)?
void 0:h.closest("tr");if(k&&(e.onDragOver(f.clientY,k),k.classList.contains("dragging")||k.classList.contains("nodrop")))return!0;var q;if("none"===(null==(q=e.currentReorderingGuide)?void 0:q.position))return!0;f.preventDefault();return!1});a.addEventListener("dragend",function(){lOc(e)});a.addEventListener("drop",function(){e.reorder(e.currentReorderingGuide,mOc(e.rowSelectionModel),"mouse",4);lOc(e)})})};
e6.prototype.handleDragStart=function(a){var b=this;this.activeDrag=!0;var c=a.target.closest("tr");this.rowSelectionModel.select(Nrb(c));nOc(this.rowSelectionModel);oOc(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=l(a);for(c=a.next();!c.done;c=a.next())c.value.element.classList.add("dragging")};
var pOc=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)},qOc=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=l(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)}};
e6.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)}};
e6.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?pOc(this,a):(b=c&&b.row.level<Lrb(c)?{position:"before",rowElement:c}:{position:"after",rowElement:b.element},this.reorder(b,[a.row.ancestorChain],"keyboard",1))}};
e6.prototype.onKeydown=function(a){if(a.ctrlKey){var b,c=null==(b=a.target)?void 0:b.closest("tr");if(c){var d=Nrb(c);if(b=this.rows.toArray().find(function(e){return e.row.ancestorChain.equals(d)}))switch(a.key){case "ArrowLeft":pOc(this,b);break;case "ArrowRight":qOc(this,b);break;case "ArrowUp":this.moveUp(b);break;case "ArrowDown":this.moveDown(b)}}}};
e6.prototype.reorder=function(a,b,c,d){var e=this;if(a){var f=Nrb(a.rowElement),h=void 0,k=f;switch(a.position){case "current":k=f;h={parentId:f.nodeId};break;case "before":case "after":k=f.parentChain,h={parentId:f.parentNodeId,position:{issueId:f.nodeId,position:a.position}}}this.ngZone.run(function(){b.length&&h&&e.onRowsMoved$.next({movedRows:b,insertAt:h,parentAncestorChain:k,origin:c,actionMessage:Krb(d)})})}};
var lOc=function(a){for(var b=l(a.rootElement.querySelectorAll("tr.dragging")),c=b.next();!c.done;c=b.next())c.value.classList.remove("dragging");b=l(a.rootElement.querySelectorAll("tr.nodrop"));for(c=b.next();!c.done;c=b.next())c.value.classList.remove("nodrop");a.rowSelectionModel.clear();a.placeholder.style.display="none";a.insertionBar.style.display="none";var d;null==(d=a.updatingNoDropRows)||d.unsubscribe();var e,f;null==(e=a.dragPreview)||null==(f=e.parentElement)||f.removeChild(a.dragPreview);
a.activeDrag=!1},kOc=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 Nrb(b).equals(e.row.ancestorChain)});d&&(a.ngZone.run(function(){a.onLongHover$.next(d)}),a.longHoveredRow.emitted=!0)}},oOc=function(a){var b;
null==(b=a.updatingNoDropRows)||b.unsubscribe();a.updatingNoDropRows=a.rows.changes.pipe(cf(null)).subscribe(function(){var c=a.rows.toArray(),d=new Set(a.rowSelectionModel.selectedRows.map(function(f){return f.nodeId}));c=l(c);for(var e=c.next();!e.done;e=c.next())e=e.value,e.row.ancestorChain.some(function(f){return d.has(f)})&&e.element.classList.add("nodrop")})};var f6=function(a){Y.call(this);var b=this;this.analytics=a;this.dragStarted$=new W.Subject;this.onRowsMoved$=new W.Subject;(0,W.merge)(this.dragStarted$,this.onRowsMoved$).pipe(Uxa(),ef(this.destroyed$)).subscribe(function(c){var d=c[c.length-1].timestamp-c[0].timestamp;c=An(c.map(function(e){return e.event.origin}));c=1===c.length?c[0]:"mixed";kp(b.analytics,Sp.EDIT_ISSUE,"reorderChildren",c);K6b("reorderChildren",d,c)})};X(f6,Y);f6.\u0275dir=Y.\u0275dir;
f6.\u0275fac=function(a){return new (a||f6)(p(MI))};f6.\u0275prov=vc({token:f6,factory:f6.\u0275fac,providedIn:"root"});var g6=function(){this.changed$=new W.Subject;this.selectedRowHashes=new Set;this.isSelectedObservableMap=new Map};g6.prototype.init=function(a){this.visibleRows=a};g6.prototype.isSelected=function(a){return this.selectedRowHashes.has(a.hash())};var zsb=function(a,b){var c=b.hash(),d,e=null!=(d=a.isSelectedObservableMap.get(c))?d:a.changed$.pipe(cf(a.selectedRowHashes),B(function(f){return f.has(b.hash())}),Te(),af({refCount:!0,bufferSize:1}));a.isSelectedObservableMap.set(c,e);return e};
g6.prototype.select=function(a){this.selectedRowHashes.add(a.hash());this.changed$.next(this.selectedRowHashes)};g6.prototype.clear=function(){this.selectedRowHashes.clear();this.changed$.next(this.selectedRowHashes)};
var nOc=function(a){for(var b=a.visibleRows.toArray().map(function(k){return k.row.ancestorChain}),c=!1,d=l(a.selectedRowHashes.values()),e=d.next();!e.done;e=d.next()){e=Rs(e.value);for(var f=l(b),h=f.next();!h.done;h=f.next())h=h.value,NNc(e,h)&&(a.selectedRowHashes.add(h.hash()),c=!0)}c&&a.changed$.next(a.selectedRowHashes)},mOc=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(r(a.selectedRowHashes.values())).map(function(f){return Rs(f)}).map(function(f){return f.nodeId})),d=[];a=l(a.selectedRowHashes.values());for(var e=a.next();!e.done;e=a.next())(e=b.get(e.value))&&(e.ancestorChain.parentChain.some(function(f){return c.has(f)})||d.push(e.ancestorChain));return d};
Vg.Object.defineProperties(g6.prototype,{selectedRows:{configurable:!0,enumerable:!0,get:function(){return[].concat(r(this.selectedRowHashes)).map(function(a){return Rs(a)})}},selectedCount:{configurable:!0,enumerable:!0,get:function(){return this.selectedRowHashes.size}}});var rOc=function(){return["focus-indicator","load-more-children"]},h6=Sp.EDIT_ISSUE,sOc={type:"data",id:"",issue$:W.NEVER,hasChildren$:W.NEVER,ancestorChain:new $5([]),level:0,expandedCount:0},i6=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H){Y.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=z;this.liveAnnouncer=
F;this.clearcut=J;this.paths=H;this.defaultExpansionLevel=1;this.internalFilters=new XK;this.isClosed=fCa;this.tableColumns=[].concat(r(lNc));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 g6;this.hasLogged=!1;this.correctedDisplayedRows=new Tf;this.TITLE_FIXED_OFFSET_PX=
42;this.rowDirectiveMap=new Map;this.getRowIndex=function(P){var U;return(null!=(U=om(O.rows$))?U:[]).findIndex(function(Z){return Qs(Z,P)})};this.showError=function(P){return function(U){O.butterBar.showWarning(P+". "+(sn(U)?tn(U):U))}};this.subscriptions.add(wY(k,function(){return O.tableModel.draftRows.isSaving()||O.issueRelationshipsFridge.isSaving()},!1))};X(i6,Y);i6.\u0275dir=Y.\u0275dir;
i6.prototype.ngOnInit=function(){var a=this;this.tableModel=this.relationsTableModelFactory.create(this.rootIssueId,this.internalFilters,this.defaultExpansionLevel,this.saveExpansionAtKey);this.rows$=(0,W.scheduled)([this.tableModel.rows$,(0,W.of)([sOc])],W.asyncScheduler).pipe(xe(1),af({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(df(function(c){return(0,W.combineLatest)(c.filter(function(d){return"data"===d.type}).map(function(d){return d.issue$}))}),Re(0,W.asapScheduler));this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();
tOc(a,c)}));this.rowReorderingModel=new e6(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?tsb(a,d):"data"===d.type&&(c=a.tableModel.expansion,d=d.ancestorChain,RNc(c,d)||SNc(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;return ke(function(e){if(1==e.nextAddress)return i7b(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")),TNc(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),me(e,(0,W.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(B(function(f){return f.find(function(h){return"data"===h.row.type&&h.row.ancestorChain.nodeId===c.movedRows[0].nodeId&&h.row.ancestorChain.parentNodeId===
c.insertAt.parentId})}),Ce(Boolean),Ee(6E4))),2);d=e.yieldResult;d.focus();qe(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
var tOc=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;y6b(a.clearcut,"view-relations-"+(d?"all-loaded":"some-loaded"));kp(a.analytics,h6,"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",y6b(a.clearcut,"view-relations-"+c),kp(a.analytics,h6,"view-relations","ratio-estimated",b),kp(a.analytics,h6,"view-relations",c))}};
i6.prototype.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);(0,W.combineLatest)([this.rows$,this.displayedRows.changes]).pipe(ef(this.destroyed$)).subscribe(function(b){b=l(b).next().value;a.rowDirectiveMap=new Map(a.displayedRows.map(function(c){return[c.row.ancestorChain.hash(),c]}));b=b.map(function(c){return a.rowDirectiveMap.get(c.ancestorChain.hash())}).filter(Boolean);a.correctedDisplayedRows.reset(b);Xf(a.correctedDisplayedRows)});this.focusManager=Ox(new Tqc(this.correctedDisplayedRows,
Qs))};i6.prototype.toggleExpansion=function(a){SNc(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};i6.prototype.navigateToIssue=function(a,b){!b.id||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(kp(this.analytics,h6,"navigate","to-child-issue"),b=dn(b.id),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?rm(this.domSafe,b):Ts(this.router,b))};
var tsb=function(a,b){var c;return ke(function(d){if(1==d.nextAddress)return c=a.getRowIndex(b),SNc(a.tableModel.expansion,b.ancestorChain.parentChain,500),me(d,mp(),2);a.focusManager.setActiveItem(c);qe(d)})},psb=function(a,b){return[{type:"action",label:"Continue on the create issue page",action:function(c){return uOc(a,c,b)},title:"Continue on the create issue page",icon:"arrow-forward"}]};
i6.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:!om(a.hasChildren$),action:function(){var c=fn({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 ke(function(c){if(1==c.nextAddress)return me(c,
mp(),2);vOc(b,a);qe(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 ke(function(c){if(1==c.nextAddress)return me(c,mp(),2);wOc(b,a);qe(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(){qOc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},{type:"action",label:"Unindent",action:function(){pOc(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(){xOc(b,a)},title:"Archive issue",icon:"archive_24px"}]};
i6.prototype.saveDraft=function(a){var b=this,c,d;return ke(function(e){if(1==e.nextAddress){if(!a.title)return e.return();b.tableModel.saveDraft(a);b.focusManager.setActiveItem(b.getRowIndex(a));return me(e,(0,W.firstValueFrom)(b.displayedRows.changes.pipe(B(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;Qs(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);qe(e)})};
var Ss=function(a,b){if(!b.saving){a.tableModel.draftRows.remove(b);var c;Qs(null==(c=a.focusManager.activeItem)?void 0:c.row,b)&&a.focusManager.setPreviousItemActive()}},vOc=function(a,b){fOc(a.tableModel,null==b?void 0:b.ancestorChain,{afterIssueId:"-1"})},wOc=function(a,b){"data"===b.type?fOc(a.tableModel,b.ancestorChain.parentChain,{afterIssueId:b.id}):fOc(a.tableModel,b.ancestorChain.parentChain,{afterDraftId:b.id})};i6.prototype.addExistingChild=function(a){this.tableModel.addExistingChild(a)};
var yOc=function(a){return a.tableColumns.map(function(b){return"title"===b?"editable-title":"menu"===b?"save":"id"===b?"empty-id":b})};i6.prototype.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
i6.prototype.onRowKeydown=function(a,b){var c=this,d;return ke(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&&(tsb(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?me(e,c.tableModel.isOneLineCreationSupported(),4):e.return();case 4:d=e.yieldResult;if(!d)return e.return();"data"===
a.type&&(b.shiftKey?vOc(c,a):wOc(c,a));"draft-issue"===a.type&&a.saving&&wOc(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);qe(e)}})};
var uOc=function(a,b,c){var d,e,f,h,k,q,t,w;return ke(function(z){if(1==z.nextAddress)return b.defaultPrevented||"mouseup"===b.type&&b instanceof MouseEvent&&1!==b.button?z.return():me(z,(0,W.firstValueFrom)(c.issue$),2);d=z.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=DAa(a.rootIssueId),t.afterIssueId=c.afterIssueId,t.title=c.title,t.priority=null!=(k=null==(f=d)?void 0:f.snapshot[0].priority)?
k: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 Ss(a,c),a.domSafe.openInNewTab(w),z.return();if(b&&b.shiftKey)return Ss(a,c),rm(a.domSafe,w),z.return();Ts(a.router,w);qe(z)})},xOc=function(a,b){var c,d;ke(function(e){if(1==e.nextAddress)return kp(a.analytics,h6,"update","archive-child-issue"),c=a.getRowIndex(b),a.issueArchiveService.archive(b.id),me(e,(0,W.firstValueFrom)(a.rows$.pipe(B(function(f){return!f.find(function(h){return"data"===
h.type&&h.id===b.id})}),Ce(Boolean),Ee(6E4))),2);Qs(null==(d=a.focusManager.activeItem)?void 0:d.row,b)&&a.focusManager.setActiveItem(c);qe(e)})};
i6.prototype.unlinkFromParent=function(a){var b=this,c,d;return ke(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;kp(b.analytics,h6,"update","unlink-child-issue");return me(e,b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){Ks(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};i6.prototype.isOpen=function(a){return Gn(a)};
i6.prototype.getAssigneeString=function(a){var b,c;return iFa(Ki(null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.assigneeUser)||void 0)};Vg.Object.defineProperties(i6.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$}}});
i6.\u0275fac=function(a){return new (a||i6)(A(pJ),A(vF),A(hG),A(MI),A(Z5),A(Ge),A(Ad),A(vY),A(IE),A(f6),A(EF),A(d6),A(Ax),A(EI),A(iI))};
i6.\u0275cmp=Lc({type:i6,selectors:[["b-issue-relations-table"]],viewQuery:function(a,b){a&1&&Uf(hW,5);if(a&2){var c;Yf(c=Zf())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",defaultExpansionLevel:"defaultExpansionLevel",saveExpansionAtKey:"saveExpansionAtKey",filters:"filters",tableColumns:"tableColumns",options:"options"},features:[bg([EF]),nf],decls:46,vars:10,consts:[["mat-table","","multiTemplateDataRows","",1,"full-width",3,"dataSource","trackBy"],["matColumnDef","focus-indicator"],
["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","drag-handle"],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","empty-id"],["matColumnDef","title"],["matColumnDef","type"],["matColumnDef","assignee"],["matColumnDef","status"],["matColumnDef","team"],["matColumnDef","menu"],["matColumnDef","save"],["mat-cell","","class","text-center",
4,"matCellDef"],["matColumnDef","load-more-children"],["mat-cell","",3,"padding-left",4,"matCellDef"],["matColumnDef","editable-title"],[4,"ngIf"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","selected","closed","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","",3,"row","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","","class","draft","cdkTrapFocus","",3,"row","keydown","keydown.escape","keydown.backspace",
"focusin",4,"matRowDef","matRowDefColumns","matRowDefWhen"],[1,"drag-preview"],[1,"placeholder"],[1,"insertion-bar"],["mat-header-cell",""],["tabindex","-1","mat-cell","",3,"click"],["focusIndicator",""],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart"],["dragHandle",""],["svgIcon","drag-indicator",1,"icon-s"],["mat-cell",""],[3,"id"],[3,"issue","expandable","expanded","level","expansionChange"],[3,"issue"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"issue",
4,"ngSwitchDefault"],["size","medium",3,"email",4,"ngIf"],["size","medium",3,"email"],["buttonLabel","More options",3,"menuItems","click"],["mat-cell","",1,"text-center"],["buttonLabel","More options",3,"menuItems","click",4,"ngIf","ngIfElse"],["saving",""],[3,"isReady"],["format","flat",3,"onAction"],[1,"title-location"],[1,"flex-kids-x","align-items-center","gap-s"],["placeholder","Start typing the title...",1,"grow-1",3,"value","readonly","valueChange","commit"],["color","primary","format","fill",
"size","small","title","Create issue","matTooltip","(Shortcut: Enter)",3,"disabled","onAction"],["format","flat","size","small","title","Cancel","matTooltip","(Shortcut: Esc)",3,"disabled","onAction"],["mat-header-row","",4,"matHeaderRowDef"],["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"row","click","mouseup","focusin","keydown"],["mat-row","",3,"row","focusin","keydown"],["mat-row","","cdkTrapFocus","",1,"draft",3,"row","keydown","keydown.escape","keydown.backspace",
"focusin"]],template:function(a,b){a&1&&(E(0,"table",0),K(1,1),C(2,Orb,1,0,"th",2)(3,Prb,2,0,"td",3),L(),K(4,4),C(5,Qrb,1,0,"th",2)(6,Rrb,3,0,"td",5),L(),K(7,6),C(8,Srb,2,0,"th",2)(9,Trb,2,1,"td",7),L(),K(10,8),C(11,Urb,2,0,"th",2)(12,Vrb,2,0,"td",7),L(),K(13,9),C(14,Wrb,2,0,"th",2)(15,Xrb,4,8,"td",7),L(),K(16,10),C(17,Yrb,2,0,"th",2)(18,Zrb,3,3,"td",7),L(),K(19,11),C(20,bsb,4,2,"th",2)(21,hsb,4,2,"td",7),L(),K(22,12),C(23,isb,2,0,"th",2)(24,jsb,3,3,"td",7),L(),K(25,13),C(26,ksb,2,0,"th",2)(27,lsb,
3,3,"td",7),L(),K(28,14),C(29,msb,1,0,"th",2)(30,nsb,2,1,"td",7),L(),K(31,15),C(32,osb,1,0,"th",2)(33,ssb,4,2,"td",16),L(),K(34,17),C(35,usb,6,7,"td",18),L(),K(36,19),C(37,vsb,2,0,"th",2)(38,wsb,7,6,"td",18),L(),C(39,ysb,2,1,"ng-container",20)(40,Asb,3,12,"tr",21)(41,Bsb,1,4,"tr",22)(42,Csb,1,2,"tr",23),G(),I(43,"div",24)(44,"div",25)(45,"div",26));a&2&&(D("dataSource",b.rows$)("trackBy",b.trackBy),y(39),D("ngIf",!b.options.hideColumnHeaders),y(),D("matRowDefColumns",b.tableColumns)("matRowDefWhen",
b.isDataRow),y(),D("matRowDefColumns",eg(9,rOc))("matRowDefWhen",b.isLoadMoreRow),y(),D("matRowDefColumns",yOc(b))("matRowDefWhen",b.isDraftRow))},dependencies:[mx,dw,iw,jw,kw,hB,jW,$W,NW,TW,PW,MW,VW,QW,SW,WW,YW,PC,h0,WV,eQ,bX,cX,ZV,bW,dX,eX,kX,iN,HQ,hW,yT,mw],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:solid var(--mat-table-row-item-outline-width, 1px) #dadce0}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 j6=function(a,b,c,d,e){Y.call(this);var f=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.issueRelationshipsFridge=e;this.parentIssueIds$=new W.BehaviorSubject([]);this.filters=[];this.editIssueDependencies=DAa;this.tableColumns=[].concat(r(kNc));this.getMenuItems=function(h){return[{type:"action",label:"Unlink parent",action:function(){return zOc(f,h)},title:"Unlink parent",icon:"link"}]};this.showError=function(h){return function(k){f.butterBar.showWarning(h+
". "+(sn(k)?tn(k):k))}};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){for(var h=l(f.parentIssueIds$.value),k=h.next();!k.done;k=h.next())f.issueFridge.poke(k.value)}))};X(j6,Y);j6.\u0275dir=Y.\u0275dir;j6.prototype.ngOnInit=function(){};
var zOc=function(a,b){var c;return ke(function(d){kp(a.analytics,Sp.EDIT_ISSUE,"update","remove-parent");c=a.issueId;return me(d,a.issueRelationshipsFridge.unlinkFromParent(c,b).catch(a.showError("Failed to unlink child "+c+" from parent "+b)),0)})};Vg.Object.defineProperties(j6.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$}}});
j6.\u0275fac=function(a){return new (a||j6)(A(UI),A(hG),A(MI),A(SI),A(pJ))};
j6.\u0275cmp=Lc({type:j6,selectors:[["b-parents-table"]],viewQuery:function(a,b){a&1&&Uf(L5,5);if(a&2){var c;Yf(c=Zf())&&(b.issuesTable=c.first)}},inputs:{parentIds:"parentIds",filters:"filters",issueId:"issueId"},features:[nf],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","tableColumns","filters","issueUrlFactory","menuItemFactory"]],template:function(a,b){a&1&&(C(0,Dsb,2,5,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.parentIssueIds$))},dependencies:[dw,L5,mw],encapsulation:2,changeDetection:0});var k6=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 zv;this.onConfirm=new zv;this.onCancel=new zv;this.internalSelectedOptions=new XK};k6.prototype.confirm=function(a){this.onConfirm.emit(new Set(this.internalSelectedOptions));a.close()};k6.prototype.cancel=function(a){this.onCancel.emit();a.close()};
Vg.Object.defineProperties(k6.prototype,{selectedOptions:{configurable:!0,enumerable:!0,set:function(a){this.internalSelectedOptions.reset(a)}}});k6.\u0275fac=function(a){return new (a||k6)};
k6.\u0275cmp=Lc({type:k6,selectors:[["select-menu"]],inputs:{buttonSize:"buttonSize",buttonAriaLabel:"buttonAriaLabel",buttonSvgIcon:"buttonSvgIcon",buttonTooltip:"buttonTooltip",showActiveState:"showActiveState",overlayTitle:"overlayTitle",options:"options",selectedOptions:"selectedOptions",confirmButtonLabel:"confirmButtonLabel",cancelButtonLabel:"cancelButtonLabel",showActionButtons:"showActionButtons"},outputs:{onChange:"onChange",onConfirm:"onConfirm",onCancel:"onCancel"},decls:11,vars:15,consts:[["mat-icon-button",
"","onedevPopupPanelTrigger","","aria-haspopup","true",1,"gmat-button",3,"onedevPopupPanelTriggerFor","color","matTooltip","click"],["trigger","onedevPopupPanelTrigger"],[3,"svgIcon"],[4,"ngIf"],["role","region","className","select-menu-popup"],["optionsPanel","onedevPopupPanel"],[1,"padded-s","flex-kids-y"],["class","title margin-s-x padded-s",4,"ngIf"],["class","flex-kids-x",4,"ngFor","ngForOf"],["class","badge",3,"title",4,"ngIf"],[1,"badge",3,"title"],[1,"title","margin-s-x","padded-s"],[1,"flex-kids-x"],
[1,"option","grow-1","flex-kids-x","align-items-center","padded-x","padded-s-y","gap"],[3,"checked","change"],[1,"flex-kids-x","justify-flex-end","padded-s","gap-s"],["mat-stroked-button","",1,"cancel",3,"click"],["mat-flat-button","","color","primary",1,"confirm",3,"click"]],template:function(a,b){if(a&1){var c=u();E(0,"button",0,1);M("click",function(){v(c);var e=Q(1),f;null!=(f=e.isOpen)&&f?e.close():e.open();return x()});T(2,"async");I(3,"mat-icon",2);C(4,Fsb,3,3,"ng-container",3);G();E(5,"onedev-popup-panel",
4,5)(7,"div",6);C(8,Gsb,2,1,"h1",7)(9,Jsb,7,5,"div",8)(10,Ksb,7,2,"ng-container",3);G()()}if(a&2){var d=Q(6);yf("large","large"===b.buttonSize)("small","small"===b.buttonSize);D("onedevPopupPanelTriggerFor",d)("color",b.showActiveState&&V(2,13,b.internalSelectedOptions.size$)?"primary":null)("matTooltip",b.buttonTooltip);pf("aria-label",b.buttonAriaLabel);y(3);D("svgIcon",b.buttonSvgIcon);y();D("ngIf",b.showActiveState);y(4);D("ngIf",b.overlayTitle);y();D("ngForOf",b.options);y();D("ngIf",b.showActionButtons)}},
dependencies:[hw,dw,hB,nA,WE,zP,PC,IS,JS,mw],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 Qsb=function(a){return{filteredCount:a}},AOc=function(){return[]},l6=function(a,b,c,d,e,f,h,k,q,t,w,z,F){Y.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=k;this.issuePermissionService=q;this.activeSession=t;this.counts=w;this.matDialog=z;this.butterBar=F;this.recallFilters=Ota("deps-filters");this.saveFilters=Hj("deps-filters");this.isThinking$=(0,W.combineLatest)([this.issueFridge.saving$,
this.issueRelationshipsFridge.saving$]).pipe(B(function(H){return H.some(Boolean)}));this.issueId$=this.brain.id$.pipe(Ce(Bi),B(oo));this.issue$=this.brain.issueJs$.pipe(Ce(Bi));this.parentIds$=this.issue$.pipe(B(function(H){var O;return null!=(O=H.issue.parentIssueIds)?O:[]}));this.parentIssues$=this.parentIds$.pipe(df(this.issueFridge.watchSet));this.parentsCount$=this.parentIssues$.pipe(B(function(H){return H.filter(Hn).length}));this.childrenIds$=this.issueId$.pipe(df(this.issueRelationshipsFridge.watch),
B(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(B(function(H){var O,P;return(null==(O=$Ba(H))?void 0:null==(P=O.effort)?void 0:P.totalOpen)||0}));this.totalDaysComplete$=this.issue$.pipe(B(function(H){var O,P;return(null==(O=$Ba(H))?void 0:null==(P=O.effort)?void 0:P.totalComplete)||0}));this.unarchivedChildIssueCount$=this.childrenIds$.pipe(B(function(H){return H.length}));this.isTotalEstimatesEnabled=
tE(this.activeSession,"enableAggregationRules");this.isNonPublicSession=this.activeSession.isNonPublicSession();this.isInternalSession=this.activeSession.isInternalSession();this.enableRollupStatsUi=tE(this.activeSession,"enableRollupStatsUi");this.totalDaysCount$=(0,W.combineLatest)([this.totalDaysOpen$,this.totalDaysComplete$]).pipe(B(function(H){var O=l(H);H=O.next().value;O=O.next().value;return H+O}));this.totalDaysDisplayPercent$=jtb(this.totalDaysComplete$,this.totalDaysCount$);this.progressHovercardContent$=
(0,W.combineLatest)([this.totalDaysComplete$,this.totalDaysOpen$,this.totalDaysDisplayPercent$]).pipe(B(function(H){var O=l(H);H=O.next().value;var P=O.next().value;O=O.next().value;return ktb(Math.round(100*H)/100)+" completed | "+ktb(Math.round(100*P)/100)+" open | "+O+"% completed"}));this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.rowCreated$=new W.Subject;this.issueFilters=new XK;this.ISSUE_FILTER_OPTIONS=[{key:Ns.OPEN.key,title:Ns.OPEN.displayAs,description:"Hides closed issues"},
{key:Ns.ASSIGNED_TO_ME.key,title:Ns.ASSIGNED_TO_ME.displayAs,description:"Hides issues not assigned to me"}];(0,W.firstValueFrom)(o_a("b-issue-relations-table tr .mat-column-title a",this.element.nativeElement).pipe(ef((0,W.merge)(this.destroyed$,this.rowCreated$)))).then(function(){var H=function(){kAc(J.routePerformance,"issue-details-w-tree")};requestAnimationFrame(H);setTimeout(H)}).catch(function(){});try{this.issueFilters.reset(this.recallFilters().filter(Mpb))}catch(H){}this.subscriptions.add(this.issueFilters.value$.subscribe(function(H){J.saveFilters([].concat(r(H)))}))};
X(l6,Y);l6.\u0275dir=Y.\u0275dir;
var ftb=function(a){var b,c;return ke(function(d){if(1==d.nextAddress)return kp(a.analytics,Sp.EDIT_ISSUE,"update","add-parent"),me(d,(0,W.firstValueFrom)(a.issue$),2);b=d.yieldResult;c=b.issue.issueId;return me(d,a.issuePicker.open({title:"Add Parent to b/"+c,allowMultipleIds:!1,edgeType:"parent"},function(e){BOc(a,c,e)}),0)})},BOc=function(a,b,c){var d=l(c).next().value,e,f,h,k;ke(function(q){if(1==q.nextAddress)return(e=d)?me(q,a.issueRelationshipsFridge.assignParentToOneIssue(e,b),2):q.return();
f=q.yieldResult;h=f.errors;return(null==(k=h)?0:k.length)?(a.butterBar.showWarning("Could not add parent"),q.return()):me(q,a.issueFridge.poke(b),0)})};l6.prototype.shouldResetFilters=function(){this.issueFilters.reset([])};l6.prototype.addChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||a.addExistingChild()};l6.prototype.createChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||vOc(a)};
l6.\u0275fac=function(a){return new (a||l6)(A(GK),A(zX),A(pJ),A(UI),A(vF),A(X0),A(Ad),A(MI),A(IK),A(nt),A(X5),A(EA),A(hG))};
l6.\u0275cmp=Lc({type:l6,selectors:[["b-issue-dependencies"]],viewQuery:function(a,b){a&1&&(Uf(i6,5),Uf(Y5,5),Uf(j6,5));if(a&2){var c;Yf(c=Zf())&&(b.relationsTable=c.first);Yf(c=Zf())&&(b.blockersTable=c.first);Yf(c=Zf())&&(b.parentsTable=c.first)}},features:[nf],decls:15,vars:13,consts:[[1,"status","flex-kids-x","gap-s","align-items-center","justify-flex-end"],[4,"ngIf"],["buttonSize","small","buttonSvgIcon","filter-alt","buttonTooltip","Filter issues","buttonAriaLabel","Filter issues","overlayTitle",
"Only show issues that are",3,"options","selectedOptions","showActionButtons","showActiveState","onChange"],["mat-icon-button","","matTooltip","Learn more","aria-label","Open dialog to learn more about the Dependencies tab",1,"small",3,"click"],["svgIcon","info",1,"icon-s"],["class","pos-rel carded margined-s bg-main flex-kids-y gap-l",4,"ngIf"],["filterInfo",""],["addParent",""],["addChildren",""],[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"],["noParentsState",""],[3,"filters","shouldResetFilters"],[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"],["progressHovercard","onedevHovercard"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body","progress-hover-card"],["svgIcon","info","aria-hidden","false","aria-label","The progress of child issues takes into consideration all child issues and descendant issues\n                  which have estimation data. If a child issue doesn\u2019t have an estimate, their progress is\n                  not reflected in the progress bar.",1,"icon-s",3,"onedevHovercardTrigger"],
["effortHovercard","onedevHovercard"],[1,"onedev-hovercard-body"],[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,"disabled","onAction"],["class","add","size","small","title","Create an issue as a child",3,"disabled","onAction",4,"ngIf"],["size","small","title","Add an existing issue as a child",1,"add",3,"disabled","onAction"],["size","small","title","Create an issue as a child",1,
"add",3,"disabled","onAction"]],template:function(a,b){a&1&&(E(0,"div",0),C(1,Lsb,1,0,"b-spinner",1),T(2,"async"),E(3,"select-menu",2),M("onChange",function(d){return b.issueFilters.reset(d)}),T(4,"async"),G(),E(5,"button",3),M("click",function(){b.matDialog.open(DNc,{maxWidth:"1300px",width:"90%"})}),I(6,"mat-icon",4),G()(),C(7,ctb,41,47,"div",5),T(8,"async"),C(9,etb,1,1,"ng-template",null,6,jg)(11,gtb,3,3,"ng-template",null,7,jg)(13,itb,4,4,"ng-template",null,8,jg));if(a&2){var c;y();D("ngIf",V(2,
6,b.isThinking$));y(2);D("options",b.ISSUE_FILTER_OPTIONS)("selectedOptions",null!==(c=V(4,8,b.issueFilters.value$))&&void 0!==c?c:eg(12,AOc))("showActionButtons",!1)("showActiveState",!0);y(4);D("ngIf",V(8,10,b.issueId$))}},dependencies:[dw,lw,hB,LF,QF,nA,PC,eQ,k6,HQ,T5,Y5,i6,j6,mw,sw],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 m6=function(a){this.imageUrls=a;this.LOGO_LIGHT=this.imageUrls.LOGO_LIGHT};Vg.Object.defineProperties(m6.prototype,{ref:{configurable:!0,enumerable:!0,set:function(a){this.searchPageUrl=wLa(a)}}});m6.\u0275fac=function(a){return new (a||m6)(A(BR))};
m6.\u0275cmp=Lc({type:m6,selectors:[["issue-count"]],inputs:{ref:"ref",count:"count"},decls:4,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"],["class","subtle-link",3,"routerLink",4,"ngIf"],[1,"subtle-link",3,"routerLink"]],template:function(a,b){a&1&&(E(0,"div",0),I(1,"img",1),R(2," \u00a0 "),C(3,ltb,2,2,"a",2),G());a&2&&(y(),D("src",b.LOGO_LIGHT,Pd),y(2),D("ngIf",null!=b.count))},dependencies:[dw,
xF],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 n6=function(){};n6.\u0275fac=function(a){return new (a||n6)};n6.\u0275mod=Nc({type:n6});n6.\u0275inj=wc({imports:[SH,ON,QC,BF,$C,DT]});var COc=function(){return[]},o6=function(a,b){Y.call(this);var c=this;this.issueFridge=a;this.changelistFridge=b;this.query$=new W.ReplaySubject(1);this.issues$=this.query$.pipe(df(function(d){return c.issueFridge.watchMany(d)}),B(function(d){return d.results}));this.emails$=this.issues$.pipe(B(function(d){return d.map(aCa).filter(Bi)}),B(An));this.submittedClLinks$=this.issues$.pipe(B(function(d){return d.flatMap(function(e){var f,h,k;return null!=(k=null==(f=e.snapshot)?void 0:null==(h=f[0])?void 0:
h.changelist)?k:[]})}));this.pendingCls$=this.issues$.pipe(B(function(d){return d.map(function(e){return e.issueId})}),df(function(d){return c.changelistFridge.watchMany({pendingForIssues:d})}),B(function(d){return d.results}))};X(o6,Y);o6.\u0275dir=Y.\u0275dir;o6.prototype.getHotlistId=function(){if("hotlist"===jp(this.ref))return ip(this.ref)};Vg.Object.defineProperties(o6.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){null!=a&&this.query$.next(a)}}});
o6.\u0275fac=function(a){return new (a||o6)(A(UI),A(dH))};
o6.\u0275cmp=Lc({type:o6,selectors:[["rollups-list"]],inputs:{ref:"ref",query:"query"},features:[nf],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&&(E(0,"section",0)(1,"div",1),I(2,"issue-count",2),T(3,"async"),I(4,"cl-counts",3),T(5,"async"),T(6,"async"),C(7,mtb,1,1,"avatar-bunch",4),T(8,"async"),G(),E(9,"div",5),C(10,ntb,3,1,"a",6),G()());if(a&2){var c,d,e;y(2);D("ref",b.ref)("count",null==(c=V(3,6,b.issues$))?null:c.length);y(2);D("submitted",null!==(d=V(5,8,b.submittedClLinks$))&&void 0!==d?d:eg(14,COc))("pending",null!==(e=V(6,10,b.pendingCls$))&&void 0!==
e?e:eg(15,COc));y(3);D("ngIf",V(8,12,b.emails$));y(3);var f=void 0===f?Oj():f;a=b.getHotlistId();D("ngIf",null!=a&&f?"https://taskflow.corp.google.com/hotlists/"+a:void 0)}},dependencies:[dw,hB,oA,Q5,R5,m6,mw],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 p6=function(a){var b=this;this.prefsService=a;this.isNumeric=to;this.isActive=function(){return DOc(b,b.prefsService.prefs,b.filter.key)};this.active$=this.prefsService.prefs$.pipe(B(function(c){var d;return DOc(b,c,null==(d=b.filter)?void 0:d.key)}))};
p6.prototype.onClick=function(){var a=!this.isActive(),b=this.prefsService,c=this.ref;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];kt(b,{workAreaQuickFilters:b.prefs.workAreaQuickFilters})};var DOc=function(a,b,c){if(null==b)return!1;var d;return(null==(d=b.workAreaQuickFilters)?void 0:d[a.ref])===c};
Vg.Object.defineProperties(p6.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=l(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=Fn[c.status])?0:e.open)b+=d.length}}this.countDisplay=b}else if("BROAD_IN_PROGRESS"===this.filter.key)b=JBa(a,"ASSIGNED"),a=JBa(a,"ACCEPTED"),this.countDisplay=b+a;else throw Error("jf`"+
this.filter.key);},get:function(){return this.metadataInternal}},key:{configurable:!0,enumerable:!0,set:function(a){this.filter=Ns[a]}},computeCountFor:{configurable:!0,enumerable:!0,set:function(a){if(null==a)this.countDisplay="-";else{var b,c,d=null==(c=Ns[null==(b=this.filter)?void 0:b.key])?void 0:c.check;this.countDisplay=a.filter(d).length}}}});p6.\u0275fac=function(a){return new (a||p6)(A(YQ))};
p6.\u0275cmp=Lc({type:p6,selectors:[["qif-stat"]],hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()})},inputs:{metadata:"metadata",key:"key",ref:"ref",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&&(E(0,"button",0),T(1,"async"),E(2,"label"),R(3),G(),C(4,otb,3,3,"ng-container",1),G());if(a&2){var c;D("title",null!==(c=b.filter.tooltip)&&void 0!==c?c:"");pf("aria-pressed",
V(1,4,b.active$));y(3);$f(b.filter.displayAs);y();D("ngIf",b.metadata||void 0!==b.countDisplay)}},dependencies:[dw,mw],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 q6=function(){};q6.\u0275fac=function(a){return new (a||q6)};q6.\u0275mod=Nc({type:q6});q6.\u0275inj=wc({imports:[SH,ON,QC,$C]});var r6=function(a){var b=this;this.issueFridge=a;this.query$=new W.ReplaySubject(1);this.issues$=this.query$.pipe(df(function(c){return b.issueFridge.watchMany(c)}),B(function(c){return c.results}))};Vg.Object.defineProperties(r6.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){null!=a&&this.query$.next(a)}}});r6.\u0275fac=function(a){return new (a||r6)(A(UI))};
r6.\u0275cmp=Lc({type:r6,selectors:[["stat-cards-list"]],inputs:{ref:"ref",query:"query"},decls:15,vars:28,consts:[[1,"flex-kids-x","gap"],["key","OPEN",3,"ref","computeCountFor"],["key","BROAD_IN_PROGRESS",3,"ref","computeCountFor"],["key","ASSIGNED_TO_ME",3,"ref","computeCountFor"],["key","NEWLY_FILED",3,"ref","computeCountFor"],["key","RECENTLY_ACTIVE",3,"ref","computeCountFor"],["key","HIGH_PRIORITY",3,"ref","computeCountFor"],["key","TRENDING",3,"ref","computeCountFor"]],template:function(a,
b){a&1&&(E(0,"div",0),I(1,"qif-stat",1),T(2,"async"),I(3,"qif-stat",2),T(4,"async"),I(5,"qif-stat",3),T(6,"async"),I(7,"qif-stat",4),T(8,"async"),I(9,"qif-stat",5),T(10,"async"),I(11,"qif-stat",6),T(12,"async"),I(13,"qif-stat",7),T(14,"async"),G());a&2&&(y(),D("ref",b.ref)("computeCountFor",V(2,14,b.issues$)),y(2),D("ref",b.ref)("computeCountFor",V(4,16,b.issues$)),y(2),D("ref",b.ref)("computeCountFor",V(6,18,b.issues$)),y(2),D("ref",b.ref)("computeCountFor",V(8,20,b.issues$)),y(2),D("ref",b.ref)("computeCountFor",
V(10,22,b.issues$)),y(2),D("ref",b.ref)("computeCountFor",V(12,24,b.issues$)),y(2),D("ref",b.ref)("computeCountFor",V(14,26,b.issues$)))},dependencies:[p6,mw],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_list.css.map */"],changeDetection:0});var s6=function(a){this.metadataFridge=a;this.id$=new W.ReplaySubject(1);this.metadata$=this.id$.pipe(df(this.metadataFridge.watchOne))};Vg.Object.defineProperties(s6.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a);this.idInternal=a},get:function(){return this.idInternal}}});s6.\u0275fac=function(a){return new (a||s6)(A(TG))};
s6.\u0275cmp=Lc({type:s6,selectors:[["stat-cards-project"]],inputs:{id:"id"},decls:5,vars:8,consts:[[1,"flex-kids-x","gap"],["key","OPEN",3,"ref","metadata"],["key","BROAD_IN_PROGRESS",3,"ref","metadata"]],template:function(a,b){a&1&&(E(0,"div",0),I(1,"qif-stat",1),T(2,"async"),I(3,"qif-stat",2),T(4,"async"),G());a&2&&(y(),D("ref",b.id)("metadata",V(2,4,b.metadata$)),y(2),D("ref",b.id)("metadata",V(4,6,b.metadata$)))},dependencies:[p6,mw],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_project.css.map */"],
changeDetection:0});var t6=function(){};t6.\u0275fac=function(a){return new (a||t6)};t6.\u0275mod=Nc({type:t6});t6.\u0275inj=wc({imports:[SH,ON,QC,$C,n6,q6]});var u6=function(){};u6.\u0275fac=function(a){return new (a||u6)};u6.\u0275mod=Nc({type:u6});u6.\u0275inj=wc({imports:[SH,$C,kN,EP,JD,mT]});var v6=function(){};v6.\u0275fac=function(a){return new (a||v6)};v6.\u0275mod=Nc({type:v6});v6.\u0275inj=wc({imports:[Bx,mA,Xz,SH,dx,aN,$C,JA,N5,rX,ON,JD,ex,BF,j0,lX,fQ,gX,O5,mX,u6,jN,kR,t6,iW,DT]});var w6=function(a){this.internalArray_=m(a,0,w6.messageId)};X(w6,n);w6.prototype.getIssueId=function(){return $t(this,1)};w6.prototype.getIssueId_asLegacyNumberOrString=function(){return $t(this,1)};w6.prototype.getIssueId_asString=function(){return fj(this,1)};w6.prototype.setIssueId=function(a){return yj(this,1,a)};w6.messageId="b.MonorailIssueRedirectRequest";var x6=function(a){this.internalArray_=m(a,0,x6.messageId)};X(x6,n);x6.prototype.getUrl=function(){return $i(this,Bu,1)};x6.prototype.setUrl=function(a){return li(this,Bu,1,a)};x6.prototype.hasUrl=function(){return ji(this,Bu,1)};x6.messageId="b.MonorailIssueRedirectResponse";var y6=function(a){this.executor=a},EOc=function(a,b){b=(new w6).setIssueId(b);return a.executor.post({url:"action/monorailIssueRedirect",body:b,responseConstructor:x6}).pipe(B(function(c){return Jta(c.getUrl())}),Pe(function(){return(0,W.of)(null)}))};y6.\u0275fac=function(a){return new (a||y6)(p(QD))};y6.\u0275prov=vc({token:y6,factory:y6.\u0275fac,providedIn:"root"});var utb=function(a){this.internalArray_=m(a)};X(utb,n);g=utb.prototype;g.getTitle=function(){return Zi(this,1)};g.setTitle=function(a){return Lh(this,1,a)};g.getUrl=function(){return Zi(this,2)};g.setUrl=function(a){return Lh(this,2,a)};g.hasUrl=function(){return Pi(this,2)};g.getIconUrl=function(){return Zi(this,3)};g.setIconUrl=function(a){return Lh(this,3,a)};utb.repeatedFields_=[5];var stb=function(a){this.internalArray_=m(a)};X(stb,n);stb.repeatedFields_=[1];var rtb=function(a){this.internalArray_=m(a)};X(rtb,n);g=rtb.prototype;g.getUrl=function(){return Zi(this,1)};g.setUrl=function(a){return Lh(this,1,a)};g.hasUrl=function(){return Pi(this,1)};g.getTitle=function(){return Zi(this,2)};g.setTitle=function(a){return Lh(this,2,a)};var ttb=[3,4,5,6];var z6=function(a){this.internalArray_=m(a)};X(z6,n);z6.prototype.setModelId=function(a){Lh(this,2,a)};z6.prototype.getText=function(){return Zi(this,3)};z6.prototype.setText=function(a){return Lh(this,3,a)};z6.repeatedFields_=[6];var A6=function(a){this.internalArray_=m(a)};X(A6,n);g=A6.prototype;g.getMessageId=function(){return Zi(this,1)};g.getText=function(){return Zi(this,3)};g.setText=function(a){return Lh(this,3,a)};g.setModelId=function(a){Lh(this,4,a)};g.getClient=function(){return cj(this,7,0)};g.setClient=function(a){return tj(this,7,a)};g.hasClient=function(){return aj(this,7)};A6.repeatedFields_=[13];var FOc=function(a){this.internalArray_=m(a)};X(FOc,n);g=FOc.prototype;g.getResponse=function(){return $i(this,A6,1)};g.getReadonlyResponse=function(){return fi(this,A6,1)};g.getMutableResponse=function(){return Vt(this,A6,1)};g.setResponse=function(a){return li(this,A6,1,a)};g.getQuery=function(){return $i(this,A6,2)};g.setQuery=function(a){return li(this,A6,2,a)};g.clearQuery=function(){lk(this,2)};g.hasQuery=function(){return ji(this,A6,2)};g.getResponsesList=function(){return gi(this,A6,3,hi())};
var GOc=Xb(FOc);FOc.repeatedFields_=[3];var HOc=new bD("/google.corp.devtools.devassist.ml4answers.v1.DuckieBackendService/GenerateAnswers",z6,FOc,function(a){return a.serialize()},GOc);var IOc=function(a){var b={withCredentials:!0,suppressCorsPreflight:!0};b=b||{};b.format="jspb";this.client_=new DD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};IOc.prototype.generateAnswers=function(a){return ZC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.devassist.ml4answers.v1.DuckieBackendService/GenerateAnswers",a,{},HOc)};var B6=function(a,b){this.activeSession=a;this.clientFactory=b;this.environmentType=this.activeSession.getEnvironmentType();this.client=this.clientFactory.create(this.getServiceEndpoint())};
B6.prototype.generateAnswers=function(a){var b=this;return this.activeSession.isExternalSession()?(0,W.of)({response:"",citationResources:[]}):(0,W.defer)(function(){var c=b.client,d=c.generateAnswers;var e=(new z6).setText(a);e=tj(e,5,0);return d.call(c,e)}).pipe(B(qtb()),Pe(function(){return(0,W.of)({response:"",citationResources:[]})}))};
B6.prototype.getServiceEndpoint=function(){switch(this.environmentType){case "NIGHTLY":return"https://autopush-ml4answers-googleapis.corp.google.com";case "PROD":return"https://autopush-ml4answers-googleapis.corp.google.com";default:return"https://autopush-ml4answers-googleapis.corp.google.com"}};B6.\u0275fac=function(a){return new (a||B6)(p(nt),p(C6))};B6.\u0275prov=vc({token:B6,factory:B6.\u0275fac,providedIn:"root"});var C6=function(){};C6.prototype.create=function(a){return new IOc(a)};
C6.\u0275fac=function(a){return new (a||C6)};C6.\u0275prov=vc({token:C6,factory:C6.\u0275fac,providedIn:"root"});var D6=function(a,b,c,d){Y.call(this);this.contextSensitiveRegistry=a;this.appEvents=b;this.eventsForIssueFridge=c;this.duckieService=d;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.events$=this.issueId$.pipe(ef(this.destroyed$),df(this.eventsForIssueFridge.watch),B(function(e){return(null==e?void 0:e.events)||[]}));this.firstEvent$=this.events$.pipe(B(function(e){return 0<e.length?e[0]:void 0}));this.duckieResponse=null};X(D6,Y);D6.\u0275dir=Y.\u0275dir;
D6.prototype.ngAfterViewInit=function(){JOc(this)};D6.prototype.closeSidebar=function(){this.appEvents.closeHelpMeFixSidebar.next()};var JOc=function(a){a.firstEvent$.subscribe(function(b){if(b){var c;a.duckieService.generateAnswers("What could be the cause and potential solution of this? Explain in 3 sentences."+(null==b?void 0:null==(c=b.unlinkifiedComment)?void 0:c.substring(0,100))).subscribe(function(d){a.duckieResponse=d})}})};D6.\u0275fac=function(a){return new (a||D6)(A(FK),A(RH),A($H),A(B6))};
D6.\u0275cmp=Lc({type:D6,selectors:[["help-me-fix-sidebar"]],features:[nf],decls:12,vars:2,consts:[[1,"padded"],[1,"header","flex-kids-x","space-between"],[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,"summary-module"],[4,"ngIf","ngIfElse"],["duckieLoading",""]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1)(2,"div",2),I(3,"mat-icon",3),E(4,
"span",4),R(5,"Help me fix"),G()(),E(6,"button",5),M("click",function(){return b.closeSidebar()}),I(7,"mat-icon",6),G()(),E(8,"div",7),C(9,vtb,3,1,"ng-container",8)(10,wtb,1,0,"ng-template",null,9,jg),G()());if(a&2){var c=Q(11);y(9);D("ngIf",null!=b.duckieResponse)("ngIfElse",c)}},dependencies:[dw,hB,nA],styles:["[_nghost-%COMP%]{display:block;width:300px}.summary-module[_ngcontent-%COMP%]{background-color:#f2f6ff;border-radius:0 16px 16px;font-style:italic;padding:16px}"]});var E6=function(a){this.internalArray_=m(a,0,E6.messageId)};X(E6,n);E6.prototype.getIssueIdsList=function(){return Ij(this,1,hi())};E6.prototype.getIssueIdsList_asLegacyNumberOrString=function(){return Ij(this,1,hi())};E6.prototype.setIssueIdsList=function(a){return Lb(this,1,a,ob)};E6.prototype.addIssueIds=function(a){Nb(this,1,ob,a)};E6.repeatedFields_=[1];E6.messageId="b.BatchIssueDigestRequest";var F6=function(a){this.internalArray_=m(a,0,F6.messageId)};X(F6,n);F6.prototype.getIssueDigestsList=function(){return gi(this,MH,1,hi())};F6.repeatedFields_=[1];F6.messageId="b.BatchIssueDigestResponse";var G6=function(a,b){this.batchApiConfig=a;this.batchApiAdapter=b;this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};G6.prototype.get=function(a){return this.adaptedGet(a).pipe(B(jxa))};G6.prototype.getAll=function(a){return this.batchApiConfig.call(a).pipe(B(xtb))};G6.\u0275fac=function(a){return new (a||G6)(p(H6),p(jH))};G6.\u0275prov=vc({token:G6,factory:G6.\u0275fac,providedIn:"root"});var H6=function(a){this.executor=a};
H6.prototype.call=function(a){var b=[].concat(r(a));b.sort();a=new E6;b=l(b);for(var c=b.next();!c.done;c=b.next())a.addIssueIds(c.value);return this.executor.post({url:"action/issues/digest",body:a,responseConstructor:F6})};H6.prototype.split=function(a,b){b=l(b.getIssueDigestsList());for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.getIssueId_asString()===a)return c;return(new MH).setIssueId(a)};H6.\u0275fac=function(a){return new (a||H6)(p(QD))};
H6.\u0275prov=vc({token:H6,factory:H6.\u0275fac,providedIn:"root"});var KOc={BLOCKED_BY_ISSUES:"blocked_by",PARENT_ISSUES:"parent"},I6=function(a,b){Y.call(this);var c=this;this.issueFridge=a;this.router=b;this.STATUS_JS_TERSE=C4b;this.URLS=Vs;this.ListIssuesHovercardMode=KOc;this.mode="blocked_by";this.currentIssueId="";this.issueIds$=new W.ReplaySubject(1);this.init=new W.ReplaySubject(1);this.issues$=this.issueIds$.pipe(Ce(Bi),df(this.issueFridge.watchSet),B(function(d){return"parent"===c.mode?d.filter(Hn):d.filter(Gn)}))};X(I6,Y);I6.\u0275dir=Y.\u0275dir;
I6.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};var Dtb=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=l(c.entries()),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;d+=h;d=f<c.length-1?d+"|":d+")"}a.router.navigate([Vs.ISSUE_LIST],{queryParams:{q:d}})})};
I6.prototype.ngOnInit=function(){var a=this;this.issues$.pipe(ef(this.destroyed$)).subscribe(function(){a.init.next()})};Vg.Object.defineProperties(I6.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a)}}});I6.\u0275fac=function(a){return new (a||I6)(A(UI),A(vF))};
I6.\u0275cmp=Lc({type:I6,selectors:[["b-list-issues-card"]],inputs:{mode:"mode",currentIssueId:"currentIssueId",issueIds:"issueIds",hovercardInstance:"hovercardInstance"},outputs:{init:"init"},features:[nf],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&&(E(0,"div",0),C(1,ytb,5,3,"div",1)(2,ztb,5,3,"div",1)(3,Gtb,4,3,"div",2),T(4,"async"),
G());a&2&&(y(),D("ngIf",b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),y(),D("ngIf",b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES),y(),D("ngIf",V(4,3,b.issues$)))},dependencies:[gw,hw,dw,hB,xF,nA,mw],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 J6=function(a,b){this.issueDigestsApi=a;this.paths=b;this.ancestors=new Map;this.issueId="";this.ListIssuesHovercardMode=KOc;this.reorderedAncestors=[];this.issueIdToTitle=new Map;this.multiParentIssueIds=[]};J6.prototype.ngOnChanges=function(a){var b=this;a.ancestors&&LOc(this).then(function(c){b.issueIdToTitle=c})};J6.prototype.getIssueLink=function(a){return this.paths.editIssue(a)};
var LOc=function(a){a.reorderedAncestors=[];for(var b=a.issueId;;)if(b=a.ancestors.get(b))if(1===b.sourceIssueIds.length)b=b.sourceIssueIds[0],a.reorderedAncestors.push(b);else{a.multiParentIssueIds=b.sourceIssueIds;break}else break;a.reorderedAncestors.reverse();return(0,W.firstValueFrom)(a.issueDigestsApi.getAll(new Set(a.reorderedAncestors)).pipe(B(function(c){var d=new Map;c=l(c);for(var e=c.next();!e.done;e=c.next())e=e.value,d.set(e.issueId,e.title);return d})))};
J6.\u0275fac=function(a){return new (a||J6)(A(G6),A(iI))};
J6.\u0275cmp=Lc({type:J6,selectors:[["ancestors-breadcrumbs"]],inputs:{ancestors:"ancestors",issueId:"issueId"},features:[ed],decls:3,vars:2,consts:[["svgIcon","account_tree_24px","title","Ancestor issues",1,"icon-xs","margin-s-right"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"muted",3,"onedevHovercardTrigger","title"],["svgIcon","chevron-right","class","icon-xs chevron muted",4,"ngIf"],["card","onedevHovercard"],[4,"onedevHovercardLazyBody"],["svgIcon","chevron-right",1,"icon-xs","chevron","muted"],[3,
"onedevIsHovercardReady","hovercardInstance","currentIssueId","issueIds","mode"],["cardBody",""],[1,"type-s",3,"href","issueId"]],template:function(a,b){a&1&&(I(0,"mat-icon",0),C(1,Jtb,7,4,"ng-container",1)(2,Ktb,4,5,"ng-container",2));a&2&&(y(),D("ngIf",1<b.multiParentIssueIds.length),y(),D("ngForOf",b.reorderedAncestors))},dependencies:[hw,dw,hB,SF,LF,MF,QF,NF,I6],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 K6=function(a,b){this.paths=a;this.activeSession=b;this.isCompact=!1;this.starClicked=new zv;this.currentUserEmail=this.activeSession.getUserEmail()};K6.prototype.ngOnInit=function(){};K6.prototype.isDirectAdmin=function(a){return a?Hi(a.adminUsers).includes(this.currentUserEmail):!1};K6.prototype.shouldShowStar=function(a){return!this.isDirectAdmin(a)&&!a.archived};K6.\u0275fac=function(a){return new (a||K6)(A(iI),A(nt))};
K6.\u0275cmp=Lc({type:K6,selectors:[["hotlist-matlist-option"]],inputs:{hotlist:"hotlist",isCompact:"isCompact",starredHotlists:"starredHotlists",isSavingStar:"isSavingStar"},outputs:{starClicked:"starClicked"},decls:1,vars:1,consts:[["class","hotlist-matlist-option",4,"ngIf"],[1,"hotlist-matlist-option"],[1,"title-line"],[1,"overflow-ellipsis"],[1,"hotlist-link-and-star","flex-kids-x","align-items-center","gap-xs"],["class","valign-middle",3,"starMessage","unStarMessage","acceptInput","starred",
"starClicked",4,"ngIf"],["matTooltip","Open hotlist in a new tab","target","_blank",1,"keep-focus-ring",3,"routerLink","click","keydown.enter"],["svgIcon","pop-out",1,"icon-s"],["class","line-clamp-2 muted type-s",4,"ngIf"],[1,"valign-middle",3,"starMessage","unStarMessage","acceptInput","starred","starClicked"],[1,"line-clamp-2","muted","type-s"]],template:function(a,b){a&1&&C(0,Ntb,9,4,"div",0);a&2&&D("ngIf",b.hotlist)},dependencies:[dw,hB,xF,yQ,PC,mw],encapsulation:2,changeDetection:0});var MOc=function(){this.tokens=new Map};MOc.prototype.add=function(a,b){var c=this.tokens.get(a);c?c.push(b):this.tokens.set(a,[b]);return this};MOc.prototype.build=function(){var a=this,b=Array.from(this.tokens.keys()).sort();return new NOc(b.map(function(c){return{token:c,labels:a.tokens.get(c)}}))};var NOc=function(a){this.sortedEntries=a};
NOc.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};NOc.prototype.search=function(a){var b=new Set;a=l(this.match(a));for(var c=a.next();!c.done;c=a.next()){c=l(c.value.labels);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b};
var OOc=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(r(a.search(b[d]))).filter(function(f){return c.has(f)});c=new Set(e)}return c};var POc=function(a){this.hotlists=a;var b=new MOc,c=new MOc;a=l(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())?nFa(d.name.toLowerCase()):[];e=l(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())?nFa(d.description.toLowerCase()):[];e=l(f);for(f=e.next();!f.done;f=e.next())c.add(f.value,d)}this.nameTokenMatcher=b.build();this.descriptionTokenMatcher=c.build();this.positions=new Map(this.hotlists.map(function(h,
k){return[h,k]}))};
POc.prototype.search=function(a){a=a.toLowerCase();for(var b=new Set,c=l(this.hotlists),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0,f=null==(e=d.name)?void 0:e.toLowerCase(),h=void 0;e=null==(h=d.description)?void 0:h.toLowerCase();h=d.hotlistId;var k=void 0,q=void 0;(ksa(a)&&String(h).includes(a)||(null==(k=f)?0:k.includes(a))||(null==(q=e)?0:q.includes(a)))&&b.add(d)}a=nFa(a);c=l(OOc(this.nameTokenMatcher,a));for(d=c.next();!d.done;d=c.next())b.add(d.value);a=l(OOc(this.descriptionTokenMatcher,a));
for(c=a.next();!c.done;c=a.next())b.add(c.value);return QOc(this,b)};var QOc=function(a,b){return[].concat(r(b)).sort(function(c,d){c=a.positions.get(c);d=a.positions.get(d);return c===d?0:c<d?-1:1})};var L6=function(){this.innerHeight$=(0,W.concat)((0,W.defer)(function(){return(0,W.of)(window.innerHeight)}),(0,W.fromEvent)(window,"resize").pipe(B(function(){return window.innerHeight})))};L6.\u0275fac=function(a){return new (a||L6)};L6.\u0275prov=vc({token:L6,factory:L6.\u0275fac,providedIn:"root"});var M6=function(a,b,c,d,e,f,h,k,q,t,w){Y.call(this);var z=this;this.dialogRef=a;this.data=b;this.paths=c;this.hotlistFridge=d;this.hotlistApi=e;this.snackBar=f;this.appEvents=h;this.errorHandler=k;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 W.BehaviorSubject("");this.debouncedQuery$=this.query$.pipe(Re(100),cf(""));this.hotlists=[];this.allHotlistIds=
new Set(this.data.selectedHotlistIds);this.selectedHotlistIds=new Set(this.data.selectedHotlistIds);this.originalIds=new Set(this.data.selectedHotlistIds);this.pristine=!0;this.saveBtnLabel="Save";this.saveBtnTooltip="Save your hotlist choices";this.hotlistUnderEdit=new Lw({name:new Nw("",Dw),description:new Nw("")});this.starredHotlists=new XK;this.isSavingStar=new XK;this.userHotlists$=v6b(this.hotlistFridge);this.issueHotlists$=this.hotlistFridge.watchSet(Array.from(this.data.selectedHotlistIds));
this.combineHotlistsWithPermissions=B(function(F){var J=z.permissionsFridge.watchSet(F.map(function(H){return"hotlists/"+H.hotlistId}));return F.map(function(H,O){return Object.assign({},H,{permissions$:J.pipe(B(function(P){return P[O]}))})})});this.hotlists$=(0,W.combineLatest)([this.issueHotlists$,this.userHotlists$]).pipe(B(function(F){var J=l(F);F=J.next().value;J=J.next().value;return[].concat(r(F),r(J))}),B(BBa(function(F){return F.hotlistId})),B(function(F){return F.filter(Bi)}),B(function(F){return F.sort(dub)}),
B(function(F){return F.sort(function(J,H){var O=z.selectedHotlistIds;J=O.has(J.hotlistId);H=O.has(H.hotlistId);return J&&H?0:J?-1:H?1:0})}),this.combineHotlistsWithPermissions,af({bufferSize:1,refCount:!0}));this.hotlistQuerySearcher$=this.hotlists$.pipe(B(function(F){return new POc(F)}),af({bufferSize:1,refCount:!0}));this.forceShowOverflow$=new W.Subject;this.matchedHotlists$=(0,W.combineLatest)([this.debouncedQuery$,this.hotlistQuerySearcher$,this.hotlists$]).pipe(B(function(F){var J=l(F);F=J.next().value;
var H=J.next().value;J=J.next().value;return""!==F.trim()?H.search(F):J}),af({bufferSize:1,refCount:!0}));this.visibleHotlists$=(0,W.combineLatest)([this.matchedHotlists$,(0,W.merge)(this.matchedHotlists$.pipe(B(function(){return!1})),this.forceShowOverflow$)]).pipe(B(function(F){var J=l(F);F=J.next().value;J=J.next().value;return 200<F.length&&!J?F.slice(0,200):F}),af({bufferSize:1,refCount:!0}));this.isOverflowMode$=(0,W.combineLatest)([this.matchedHotlists$,this.visibleHotlists$]).pipe(B(function(F){var J=
l(F);F=J.next().value;J=J.next().value;return F.length!==J.length}));this.showLoadById$=this.query$.pipe(B(function(F){F=F.trim();return!z.allHotlistIds.has(Number(F))&&ksa(F)}));this.showCreateNew$=(0,W.combineLatest)([this.query$,this.matchedHotlists$]).pipe(B(function(F){var J=l(F);F=J.next().value;J=J.next().value;return eub(F,J)}));this.compactNumberOfHotlistsToShow$=this.windowHeight.innerHeight$.pipe(B(function(F){return Math.max(1,Math.floor(.5*F/24))}),Te());this.compactNumberOfHotlistsToShow$.pipe(B(function(F){return 24*
F}));this.subscriptions.add(this.hotlists$.subscribe(function(F){z.hotlists=F;F=l(F);for(var J=F.next();!J.done;J=F.next())z.allHotlistIds.add(J.value.hotlistId)}))};X(M6,Y);M6.\u0275dir=Y.\u0275dir;M6.prototype.ngOnInit=function(){var a=this;ROc(this);this.query$.pipe(ef(this.destroyed$)).subscribe(function(){a.hotlistUnderEdit.setValue({name:a.query$.value,description:""})})};
M6.prototype.onChangeMatList=function(a){var b=this;a.options.forEach(function(d){d.selected?b.selectedHotlistIds.add(d.value):b.selectedHotlistIds.delete(d.value)});a=Zra(this.originalIds,this.selectedHotlistIds);this.pristine=!a;var c=l(fub(a));a=c.next().value;c=c.next().value;this.saveBtnLabel=a;this.saveBtnTooltip=c};
var Us=function(a){a.dialogRef.close(a.selectedHotlistIds)},Ttb=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("name"))?void 0:b.value)?a:""},SOc=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("description"))?void 0:b.value)?a:""},Stb=function(a){a.snackBar.open("Saving hotlist...","dismiss",{duration:0});var b=Ttb(a),c=SOc(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)})},ROc=function(a){a.userApi.getUserSidebar().then(function(b){a.starredHotlists.clear();for(var c=l(b.hotlists||[]),d=c.next();!d.done;d=c.next()){d=d.value;var e=Number(d.id);d.starred&&a.starredHotlists.add(e)}b=l(b.bookmarkGroups||[]);for(c=b.next();!c.done;c=b.next())for(c=l(c.value.sublinks||[]),d=c.next();!d.done;d=c.next())d=d.value,d.starred&&a.starredHotlists.add(Number(d.id))}).catch(function(b){a.errorHandler.errorHandler(null,
b)})};
M6.prototype.toggleStar=function(a){var b=this,c,d,e;return ke(function(f){switch(f.nextAddress){case 1:c=b.starredHotlists.has(a);d={resourceType:"HOTLIST",resourceId:a};le(f,2,3);b.isSavingStar.add(a);if(c)return b.starredHotlists.delete(a),me(f,b.userApi.deleteFavorite(d),3);b.starredHotlists.add(a);return me(f,b.userApi.saveFavorite(d),3);case 3:ne(f);b.isSavingStar.delete(a);oe(f,4);break;case 2:e=pe(f);CG(b.errorHandler,e);f.jumpTo(3);break;case 4:b.appEvents.hotlistChanged.next(),b.appEvents.favoritesModified.next(),ROc(b),
qe(f)}})};var Wtb=function(a,b){a.hotlistApi.get(b).then(function(c){a.hotlists.push(c);a.selectedHotlistIds.add(c.hotlistId);Us(a)}).catch(function(c){a.errorHandler.errorHandler(null,c)})};M6.prototype.trackByHotlistId=function(a,b){return b.hotlistId};M6.\u0275fac=function(a){return new (a||M6)(A(BA),A(DA),A(iI),A(CI),A(qI),A(SE),A(RH),A(AG),A(BI),A(L6),A(xJ))};
M6.\u0275cmp=Lc({type:M6,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("keydown.meta.enter",function(){return Us(b)})("keydown.shift.enter",function(){return Us(b)})("keydown.control.enter",function(){return Us(b)})},features:[nf],decls:13,vars:4,consts:[[4,"ngIf","ngIfElse"],["mat-button","","mat-dialog-close","","tooltip","Dismiss modal","aria-label","Dismiss modal","role","button",3,"click"],["createNewHotlistBtn",""],["applyHotlistSelectionBtn",""],["updateHotlistSelectionPane",
""],["createNewHotlistPane",""],[4,"ngTemplateOutlet"],["mat-flat-button","","color","primary","matTooltip","Create new hotlist","aria-label","Create",1,"gmat-button",3,"disabled","click"],["mat-flat-button","","color","primary",1,"gmat-button",3,"mat-dialog-close","matTooltip","disabled","click"],["mat-dialog-title",""],[1,"search-container"],["svgIcon","search"],["type","search","spellcheck","false","autocomplete","off","aria-label","Filter hotlists","placeholder","Type to filter hotlists from your sidebar",
1,"search-box",3,"input"],["searchBox",""],["mat-dialog-content","",1,"search-results"],["content",""],["class","load-from-id-btn",3,"click",4,"ngIf"],["class","create-new-hotlist-btn",3,"click",4,"ngIf"],[4,"ngIf"],[1,"load-from-id-btn",3,"click"],[1,"muted"],[1,"create-new-hotlist-btn",3,"click"],[3,"selectionChange"],["hotlistMatList",""],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"matTooltip"],["tooltip","matTooltip"],["checkboxPosition","before",3,"selected","disabled","value","focus","blur"],[3,
"hotlist","isCompact","starredHotlists","isSavingStar","starClicked"],[1,"margin-top","kids-x"],[1,"force-show-overflow-btn",3,"click"],["mat-dialog-content",""],[1,"create-hotlist-pane"],[3,"formGroup"],["for","hotlist-name"],"type text autofocus autofocus id hotlist-name required  aria-required true formControlName name".split(" "),["for","hotlist-description",1,"margin-s-top"],["id","hotlist-description","formControlName","description"]],template:function(a,b){a&1&&(C(0,Ptb,2,1,"ng-container",
0),E(1,"mat-dialog-actions")(2,"button",1),M("click",function(){b.dialogRef.close()}),R(3," Cancel "),G(),C(4,Rtb,2,1,"ng-container",0),G(),C(5,Utb,2,1,"ng-template",null,2,jg)(7,Vtb,2,5,"ng-template",null,3,jg)(9,bub,15,9,"ng-template",null,4,jg)(11,cub,14,1,"ng-template",null,5,jg));if(a&2){var c=Q(8),d=Q(10);D("ngIf",b.showCreateNewPane)("ngIfElse",d);y(4);D("ngIf",b.showCreateNewPane)("ngIfElse",c)}},dependencies:[hw,dw,lw,hB,FA,GA,HA,IA,nA,ZS,hT,gT,Pw,Dg,Hw,Iw,$w,Ww,Xw,PC,K6,mw],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 N6=function(a,b,c,d){this.dialog=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.errorHandler=d},UOc=function(a,b){var c,d,e,f,h,k,q,t;return ke(function(w){switch(w.nextAddress){case 1:return me(w,(0,W.firstValueFrom)(b),2);case 2:return c=w.yieldResult,(e=null==(d=c)?void 0:d.snapshot[0].hotlistId)&&c?me(w,TOc(a,e),3):w.return();case 3:f=w.yieldResult;if(null==f)return w.return();h=f.added.map(String);k=f.removed.map(String);q=String(c.issueId);le(w,4,5);return me(w,P6b(a.issueFridge,
q,h,k),5);case 5:ne(w);a.eventsForIssueFridge.poke(q);oe(w,0);break;case 4:t=pe(w),CG(a.errorHandler,t),w.jumpTo(5)}})},TOc=function(a,b){var c,d,e,f;return ke(function(h){if(1==h.nextAddress)return c={panelClass:"no-jitter",data:{selectedHotlistIds:b},ariaLabel:"Search for Hotlists"},d=a.dialog.open(M6,c),me(h,(0,W.firstValueFrom)(d.afterClosed()),2);e=h.yieldResult;if(!e)return h.return(Promise.resolve());f=Zra(new Set(b),new Set(e));return h.return(Promise.resolve(f))})};
N6.\u0275fac=function(a){return new (a||N6)(p(EA),p(UI),p($H),p(AG))};N6.\u0275prov=vc({token:N6,factory:N6.\u0275fac,providedIn:"root"});var O6=function(a,b,c){this.issueFridge=a;this.hotlistFridge=b;this.hotlistPicker=c;this.issueId$=new W.ReplaySubject(1);this.issue$=this.issueId$.pipe(df(this.issueFridge.watch));this.hotlistsOnIssue$=this.issue$.pipe(B(function(d){var e;return null!=(e=null==d?void 0:d.snapshot[0].hotlistId)?e:[]}));this.count$=this.hotlistsOnIssue$.pipe(B(function(d){return null==d?void 0:d.length}),cf(0));this.label$=this.count$.pipe(B(function(d){return 0<d?"Hotlists ("+d+")":"Hotlists"}));this.isDisabled$=this.hotlistFridge.saving$;
this.HOTKEYS=yq};O6.prototype.onClick=function(){UOc(this.hotlistPicker,this.issue$)};Vg.Object.defineProperties(O6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(String(a))}}});O6.\u0275fac=function(a){return new (a||O6)(A(UI),A(CI),A(N6))};
O6.\u0275cmp=Lc({type:O6,selectors:[["hotlist-picker-btn"]],inputs:{issueId:"issueId"},decls:4,vars:7,consts:[["mat-stroked-button","",1,"gmat-button","small",3,"hotkey","disabled","onHotkey","click"]],template:function(a,b){a&1&&(E(0,"button",0),M("onHotkey",function(){return b.onClick()})("click",function(){return b.onClick()}),T(1,"async"),R(2),T(3,"async"),G());a&2&&(D("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER)("disabled",V(1,3,b.isDisabled$)),y(2),S(" ",V(3,5,b.label$),"\n"))},dependencies:[XM,
nA,mw],encapsulation:2});var VOc=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()}}}},WOc=function(a,b){return b.isInternal?{type:"action",label:"Request issue deletion...",title:"Request issue deletion",action:function(){a.requestIssueDeletion()}}:void 0},XOc=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)}}},YOc=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 ZOc=function(a){return{isDupe:a}},P6=function(a,b,c,d,e){Y.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 W.ReplaySubject(1);this.issue$=this.issueId$.pipe(df(function(h){return f.fridge.watchOne(h)}));this.isDupe$=this.issue$.pipe(B(function(h){var k;return!!(null==
h?0:null==(k=h.snapshot[0])?0:k.duplicateOfIssueId)}));this.permissions$=this.issueId$.pipe(df(function(h){return f.permissionsFridge.watchOne("issues/"+h)}));this.canEdit$=this.permissions$.pipe(B(function(h){return!(null==h||!h.writer)}),cf(!0));this.didChooseCanonical=function(h){return function(k){(k=k[0])&&Q6b(f.fridge,k,h).then(function(){f.eventsForIssueFridge.poke(h)}).catch(f.gotErr)}};this.gotErr=function(h){f.snackBar.open(tn(h)||"Error with network request","close",{panelClass:"error"})}};
X(P6,Y);P6.\u0275dir=Y.\u0275dir;
var gub=function(a){var b,c;return ke(function(d){if(1==d.nextAddress)return a.disabled||a.fridge.isSaving(a.internalIssueId)||!om(a.canEdit$)?d.return():me(d,(0,W.firstValueFrom)(a.isDupe$),2);if(3!=d.nextAddress)return b=d.yieldResult,me(d,(0,W.firstValueFrom)(a.issue$),3);c=d.yieldResult;if(null==c)return d.return();b?$Oc(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));qe(d)})},$Oc=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)};Vg.Object.defineProperties(P6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)}}});P6.\u0275fac=function(a){return new (a||P6)(A(UI),A(xJ),A(zX),A(SE),A($H))};
P6.\u0275cmp=Lc({type:P6,selectors:[["smart-dupe-btn"]],inputs:{disabled:"disabled",issueId:"issueId"},features:[nf],decls:2,vars:5,consts:[["mat-stroked-button","","class","gmat-button small",3,"disabled","title","click",4,"ngIf"],["mat-stroked-button","",1,"gmat-button","small",3,"disabled","title","click"]],template:function(a,b){a&1&&(C(0,hub,3,5,"button",0),T(1,"async"));a&2&&D("ngIf",fg(3,ZOc,V(1,1,b.isDupe$)))},dependencies:[dw,nA,mw]});var Q6=function(){this.label=""};Q6.prototype.toggle=function(){this.hovercardTrigger&&this.hovercardTrigger.toggle(!this.hovercardTrigger.isExpanded())};Q6.\u0275fac=function(a){return new (a||Q6)};
Q6.\u0275cmp=Lc({type:Q6,selectors:[["help-hover"]],viewQuery:function(a,b){a&1&&Uf(QF,5);if(a&2){var c;Yf(c=Zf())&&(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&&(E(0,"onedev-hovercard",null,0)(2,"div",1)(3,"div",
2),C(4,jub,2,1,"ng-container",3),G()()(),I(5,"mat-icon",4));if(a&2){var c=Q(1);y(2);pf("aria-label",b.label);y(2);D("ngIf",b.content);y();D("onedevHovercardTrigger",c)}},dependencies:[dw,lw,hB,LF,QF],encapsulation:2});var R6=function(){};R6.\u0275fac=function(a){return new (a||R6)};R6.\u0275mod=Nc({type:R6});R6.\u0275inj=wc({imports:[SH,aN]});var S6=function(a,b,c,d,e,f,h,k,q){Y.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=k;this.analytics=q;this.issueId$=new W.ReplaySubject(1);this.retentionEnabled=this.activeSession.isInternalSession();this.HOTKEYS=yq;this.issue$=this.issueId$.pipe(df(this.issueFridge.watch));this.issueDerivedProperties$=this.issue$.pipe(B(function(t){var w,z,F,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==(z=t.userData)?void 0:z.voted)?O:!1,voteCount:null!=(P=null==t?void 0:null==(F=t.aggregatedData)?void 0:F.voteCount)?P:0,notificationSubscription:zi(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$=aPc(this);this.state$=(0,W.combineLatest)([this.issueId$,
this.issueDerivedProperties$,this.menuItems$]).pipe(B(function(t){var w=l(t);t=w.next().value;var z=w.next().value;w=w.next().value;return Object.assign({},{issueId:t},z,{menuItems:w})}))};X(S6,Y);S6.\u0275dir=Y.\u0275dir;g=S6.prototype;g.updateSubscription=function(a){var b=this,c;return ke(function(d){if(1==d.nextAddress)return(c=om(b.issueId$))?me(d,b.editIssueService.updateSubscription(c,a),2):d.return();kp(b.analytics,Sp.EDIT_ISSUE,"updateSubscription",a);qe(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 ke(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():me(d,(0,W.firstValueFrom)(b.matDialogService.open(Xtc,{maxWidth:560}).afterClosed()),2):(c=d.yieldResult)?me(d,b.editIssueService.updateIssueRetention(a,"INDEFINITE"),0):d.jumpTo(0)})};
g.showComponentRetentionDialog=function(a){var b=this,c;return ke(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():me(d,(0,W.firstValueFrom)(b.matDialogService.open(Ttc,{maxWidth:560}).afterClosed()),2):(c=d.yieldResult)?me(d,b.editIssueService.updateIssueRetention(a,"COMPONENT_DEFAULT"),0):d.jumpTo(0)})};
g.showFlagAsSpamDialog=function(a){var b=this,c;return ke(function(d){return 1==d.nextAddress?me(d,(0,W.firstValueFrom)(b.matDialogService.open(Wtc,{maxWidth:560}).afterClosed()),2):(c=d.yieldResult)?me(d,C8b(b.editIssueService,String(a)),0):d.jumpTo(0)})};
var aPc=function(a){var b={requestIssueDeletion:function(){a.domSafe.openInNewTab(f0a(a.activeSession.isInternalSession()))},showIndefiniteRetentionDialog:function(){var c=om(a.issueId$);c&&a.showIndefiniteRetentionDialog(c)},showComponentRetentionDialog:function(){var c=om(a.issueId$);c&&a.showComponentRetentionDialog(c)},submitArchivalState:function(c){var d=om(a.issueId$);d&&a.issueArchiveService.submitArchivalState(d,c)},showFlagAsSpamDialog:function(){var c=om(a.issueId$);c&&a.showFlagAsSpamDialog(c)}};
return(0,W.combineLatest)([a.issue$,a.issuePermissionService.userIsComponentAdmin$,a.issuePermissionService.issuePermissions$]).pipe(B(function(c){var d=l(c);c=d.next().value;var e=d.next().value,f;d={permissions:d.next().value,accessLevel:NEa(c),isArchived:null!=(f=null==c?void 0:c.isArchived)?f:!1,isDeleted:LEa(c),isInternal:a.activeSession.isInternalSession(),isComponentAdmin:e,retentionOverride:QEa(c),retentionState:TEa(c)};return[XOc(b,d),YOc(b,d),WOc(b,d),VOc(b,d)].filter(Bi)}))};
Vg.Object.defineProperties(S6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});S6.\u0275fac=function(a){return new (a||S6)(A(UI),A(IK),A(nt),A(RH),A(Z5),A(IE),A(aL),A(EA),A(MI))};
S6.\u0275cmp=Lc({type:S6,selectors:[["issue-actions"]],viewQuery:function(a,b){a&1&&Uf(Q6,5);if(a&2){var c;Yf(c=Zf())&&(b.helpHover=c.first)}},inputs:{issueId:"issueId"},features:[nf],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueId","voteCount","upvoted"],[3,"issueId"],[3,"issueId","hotkey","onHotkey"],["smartDupeBtn",""],["aria-label","Notification menu",3,"subscription","issueId","iconOnly","subscriptionChange","showNotificationSettings"],["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"],["menu","matMenu"],["mat-menu-item","",3,"disabled","title","click",4,"ngFor","ngForOf"],["retentionHelpContent",""],["mat-menu-item","",3,"disabled","title","click"],[1,"icon-s",3,"svgIcon"],["mat-menu-item","",1,"informational-only","border-top","flush-bottom",3,"click"],["svgIcon","",1,"icon-s"],[3,"retentionState"],
["label","Learn more about retention",3,"content"],[3,"retentionState","modifiedTime"]],template:function(a,b){a&1&&(C(0,oub,15,13,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.state$))},dependencies:[dW,hw,dw,hB,Q6,XM,K_,nA,HC,FC,GC,PC,x0,XZ,WZ,P6,O6,mw],styles:["[_nghost-%COMP%]{display:flex;gap:4px}[_nghost-%COMP%] > *[_ngcontent-%COMP%]:empty{margin-left:-4px}[mat-icon-button][_ngcontent-%COMP%]{margin-top:-4px;margin-bottom:-4px}[_nghost-%COMP%]     .gmat-button.small{font-size:.8125rem}.bv2-material   [_nghost-%COMP%]     button.mat-icon-button:not(.mat-primary):not([disabled]){color:#5f6368;color:var(--muted)}  .issue-actions-menu .mat-menu-content button.mat-menu-item mat-icon.mat-icon{vertical-align:text-bottom}"]});var bPc=["issueTitleEl"],cPc=["issueTitleInputEl"],T6=function(a,b){this.issuePermissionService=a;this.bannedWordsChecker=b;this.disabled=!1;this.updateTitle=new zv;this.isEditMode=!1;this.editModeWidth=0};T6.prototype.ngDoCheck=function(){dPc(this)};var sub=function(a){a.isEditMode=!a.isEditMode;a.isEditMode?setTimeout(function(){return a.issueTitleInputEl.nativeElement.focus()},0):a.bannedWordsChecker.reset()};
T6.prototype.saveTitle=function(a){var b=this,c;return ke(function(d){if(1==d.nextAddress)return a&&b.isModified(a)?me(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;dPc(b);qe(d)})};T6.prototype.isModified=function(a){return a!==this.titlePlain};
var qub=function(a,b){if(b)"Enter"===b.key?a.saveTitle(b.target.value):"Escape"===b.key||"Esc"===b.key?sub(a):a.bannedWordsChecker.reset();else{var c;b=null==(c=a.issueTitleInputEl)?void 0:c.nativeElement.value;a.saveTitle(b)}},dPc=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};
Vg.Object.defineProperties(T6.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titlePlain=a=null!=a?a:void 0;this.titleTruncated=mFa(a,300);this.isLongTitle=null==a?!1:300<=a.length}}});T6.\u0275fac=function(a){return new (a||T6)(A(IK),A(uY))};
T6.\u0275cmp=Lc({type:T6,selectors:[["issue-title"]],viewQuery:function(a,b){a&1&&(Uf(bPc,5),Uf(cPc,5));if(a&2){var c;Yf(c=Zf())&&(b.issueTitleEl=c.first);Yf(c=Zf())&&(b.issueTitleInputEl=c.first)}},inputs:{title:"title",componentId:"componentId",disabled:"disabled",hasAclToEdit:"hasAclToEdit"},outputs:{updateTitle:"updateTitle"},features:[bg([uY])],decls:5,vars:4,consts:[["class","heading-m",4,"ngIf"],[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"],["issueTitleEl",""],["matInput","","aria-label","Enter a new title",1,"heading-m",3,"value","keyup","blur"],["issueTitleInputEl",""],["mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",1,"small",3,"disabled","click"],["svgIcon","edit-outline",1,"icon-xxs"],[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&&(E(0,"div"),C(1,pub,3,2,"h3",0)(2,rub,3,5,"mat-form-field",1)(3,tub,2,1,"button",2),G(),C(4,uub,4,1,"p",3));a&2&&(y(),D("ngIf",!b.isEditMode),y(),D("ngIf",b.isEditMode),y(),D("ngIf",b.hasAclToEdit),y(),D("ngIf",b.bannedWordsChecker.showWarning()))},dependencies:[dw,hB,nA,PC,dB,fB],styles:["[_nghost-%COMP%]{display:flex;align-items:center}h3[_ngcontent-%COMP%]{vertical-align:middle;margin-bottom:-1px;word-break:break-word}mat-form-field[_ngcontent-%COMP%]{min-width:200px;max-width:100%;margin-bottom:-3px}[_nghost-%COMP%]     .mat-form-field.banned-words-warning .mat-form-field-underline{background-color:#c5221f;background-color:var(--bad-text)}[_nghost-%COMP%]     .mat-form-field.banned-words-warning .mat-form-field-ripple{background-color:#c5221f;background-color:var(--bad-text)}mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--c700);margin-top:-2px}[_nghost-%COMP%]     .mat-form-field-wrapper{padding:0}[_nghost-%COMP%]     .mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{padding:0;border:0}[_nghost-%COMP%]     .mat-form-field-wrapper .mat-form-field-underline{margin-bottom:-15px}.banned-words-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-text)}"]});var U6=function(a,b,c,d,e,f,h,k,q){Y.call(this);var t=this;this.issueDetailsBrain=a;this.issuePagination=b;this.issueFridge=c;this.componentFridge=d;this.issueInteractionsTracking=e;this.bLocation=f;this.paths=h;this.refreshMonitor=k;this.butterBar=q;this.internalSearchResults$=new W.BehaviorSubject(null);this.searchResults$=this.internalSearchResults$.pipe(Te(),df(function(w){return w?w.changed$:(0,W.of)(null)}));this.issueIds$=this.searchResults$.pipe(B(function(w){var z;return null!=(z=null==w?
void 0:w.issues.map(function(F){return F.id}).map(oo))?z:[]}),Te(Th));this.issues$=this.issueIds$.pipe(df(function(w){return(0,W.combineLatest)(w.map(function(z){return t.issueFridge.watch(z,{trustUncertainMemory:!0})}))}),df(function(w){return(0,W.combineLatest)(w.map(function(z){return t.componentFridge.watch(String(null==z?void 0:z.snapshot[0].componentId),{trustUncertainMemory:!0}).pipe(B(function(F){return{issue:z,component:F}}))}))}));this.issueId$=this.issueDetailsBrain.id$;this.totalText$=
this.searchResults$.pipe(B(function(w){var z;return null!=(z=null==w?void 0:w.totalText)?z:""}));this.backNavigationLabel$=this.searchResults$.pipe(B(function(w){return(null==w?0:w.params.returnUrl)?"Back to previous search":"Go home"}));this.issueIndex$=(0,W.combineLatest)([this.searchResults$,this.issueId$]).pipe(B(function(w){var z=l(w);w=z.next().value;z=z.next().value;var F;return null!=(F=z&&(null==w?void 0:RP(w,z)))?F:-1}));this.hasPreviousIssue$=(0,W.combineLatest)([this.searchResults$,this.issueId$]).pipe(B(function(w){var z=
l(w);w=z.next().value;z=z.next().value;var F;if(F=z)null==w?w=0:(z=RP(w,z),w=null==z||-1===z?!1:z>w.startIndex||1<w.params.page),F=w;return!!F}));this.hasNextIssue$=(0,W.combineLatest)([this.searchResults$,this.issueId$]).pipe(B(function(w){var z=l(w);w=z.next().value;z=z.next().value;var F;if(F=z)null==w?w=0:(z=RP(w,z),w=null==z||-1===z?!1:z<w.endIndex||w.params.page<w.numPages),F=w;return!!F}));this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){ePc(t)}));this.subscriptions.add(this.issueDetailsBrain.id$.subscribe(function(w){t.issueId=
w;ePc(t)}));this.subscriptions.add(this.issues$.subscribe(function(w){var z=t.internalSearchResults$.value;z&&Bgc(z,w.filter(function(F){var J=F.component;return F.issue&&J}))}))};X(U6,Y);U6.\u0275dir=Y.\u0275dir;
var fPc=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)},yub=function(a){var b=om(a.hasNextIssue$),c=om(a.issueIndex$);b&&c&&gPc(a,c+1)},xub=function(a){var b=om(a.hasPreviousIssue$),c=om(a.issueIndex$);b&&c&&gPc(a,c-1)},ePc=function(a){var b,c,d;ke(function(e){if(1==e.nextAddress)return me(e,Ngc(a.issuePagination).catch(vub),2);b=e.yieldResult;
a.internalSearchResults$.next(null!=(c=b)?c:null);if(!b||!a.issueId)return e.return();d=RP(b,a.issueId);return-1===d?e.jumpTo(0):me(e,Ogc(a.issuePagination,d).catch(vub),0)})},gPc=function(a,b){Ogc(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+"'")})};U6.\u0275fac=function(a){return new (a||U6)(p(GK),p(WP),p(UI),p(oH),p(DK),p(hI),p(iI),p(SI),p(hG))};
U6.\u0275prov=vc({token:U6,factory:U6.\u0275fac,providedIn:"root"});var zub=function(a){return{"invisible zero-width":a}},hPc=function(a){this.currentSearchResults=a;this.HOTKEYS=yq};hPc.\u0275fac=function(a){return new (a||hPc)(A(U6))};
hPc.\u0275cmp=Lc({type:hPc,selectors:[["b-pagination-one-issue"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"ngClass"],["mat-icon-button","","matTooltip","Previous Issue","aria-label","Previous Issue",1,"gmat-button","medium",3,"hotkey","disabled","onHotkey","click"],["svgIcon","arrow-left",1,"icon-l"],["mat-icon-button","","matTooltip","Next Issue","aria-label","Next Issue",1,"gmat-button","medium",3,"hotkey","disabled","onHotkey","click"],["svgIcon","arrow-right",1,"icon-l"]],template:function(a,b){a&
1&&(C(0,Aub,9,12,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.currentSearchResults.issueIndex$))},dependencies:[gw,dw,hB,XM,nA,PC,mw],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 V6=function(a,b,c){this.documentationLinks=a;this.issueLimits=b;this.accessPolicyApi=c;this.implicitAccessEnabled=!1};V6.prototype.ngOnInit=function(){var a=this;this.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(this.componentId)).then(function(b){return a.implicitAccessEnabled=b})};V6.prototype.toggleAccessLimits=function(){var a=this;return ke(function(b){a.issueLimits.open({componentId:Number(a.componentId),issueId:a.issueId});qe(b)})};
V6.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};V6.prototype.getAccessLimitLevelDisplay=function(a){return"LIMIT_APPEND"===a?"Commenting":"LIMIT_VIEW"===a||"LIMIT_VIEW_TRUSTED"===a?"Visibility":""};
var iPc=function(a,b){if(b)a:if(a=a.implicitAccessEnabled,b===rsc.accessLevel)b=a?"Only added users + Googlers may access. The assignee, verifier and collaborators may edit. CCs can comment. Googler access is according to their component-level permissions.":"Only added users + Googlers may access. They have their normal access as defined by the component-level permissions.";else{for(var c=l(hZa),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?Yp.descriptionWithExpandedAccess:Yp.descriptionNoExpandedAccess}else b="";return b};V6.\u0275fac=function(a){return new (a||V6)(A(jG),A(zZ),A(hH))};
V6.\u0275cmp=Lc({type:V6,selectors:[["b-access-limits-chip"]],inputs:{issueId:"issueId",componentId:"componentId",accessLimitLevel:"accessLimitLevel"},decls:12,vars:4,consts:[["role","button","matTooltip","Press Alt + Right arrow for more details",1,"chippy","rounded","nowrap","access-limited",3,"onedevHovercardTrigger","click","keydown.enter","keydown.space"],["svgIcon","encrypted_24px",1,"icon-s","valign-middle"],[1,"access-limit-display-name"],["card","onedevHovercard"],[1,"onedev-hovercard-content"],
[1,"onedev-hovercard-body"],[1,"hovertext"],["target","_blank","aria-label","Learn more about issue access limits",3,"href"]],template:function(a,b){a&1&&(E(0,"button",0),M("click",function(){return b.toggleAccessLimits()})("keydown.enter",function(d){return b.toggleAccessLimitsWithKeystroke(d)})("keydown.space",function(d){return b.toggleAccessLimitsWithKeystroke(d)}),I(1,"mat-icon",1),E(2,"span",2),R(3),G()(),E(4,"onedev-hovercard",null,3)(6,"div",4)(7,"div",5)(8,"span",6),R(9),E(10,"a",7),R(11,
" Learn more"),G()()()()());if(a&2){var c=Q(5);D("onedevHovercardTrigger",c);y(3);$f(b.getAccessLimitLevelDisplay(b.accessLimitLevel));y(6);S(" Issue access is limited. ",iPc(b,b.accessLimitLevel)," ");y();D("href",b.documentationLinks.getIssueAccessLimit(),Pd)}},dependencies:[hB,PC,LF,QF],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 jPc=function(a,b,c){var d=this;this.brain=a;this.activeSession=b;this.accessIndicatorService=c;this.enableNewVisibilityChips=tE(this.activeSession,"enableNewVisibilityChips");this.INTERNAL="INTERNAL";this.issue$=this.brain.issueJs$.pipe(B(function(e){return null==e?void 0:e.issue}),Ce(Bi));this.retentionState$=this.issue$.pipe(B(function(e){var f;return null==(f=e.aggregatedData)?void 0:f.retentionState}));this.modifiedTime$=this.issue$.pipe(B(function(e){var f;return(null==(f=e.aggregatedData)?
0:f.modifiedTimeMicros)?e.aggregatedData.modifiedTimeMicros/1E3:void 0}),Ce(Bi));this.accessLevel$=this.issue$.pipe(B(function(e){var f;return null==(f=e.accessLimit)?void 0:f.accessLevel}),Ce(Bi));this.issueAccessLimitLevel$=this.issue$.pipe(B(function(e){return e.snapshot[0].issueAccessLimitLevel}));this.issueId$=this.issue$.pipe(B(function(e){return e.issueId}));this.hasAccessIndicator$=this.issue$.pipe(df(function(e){return Wgc(d.accessIndicatorService,e.issueId)}),B(function(e){return"no_indicator"!==
e.type}));this.state$=(0,W.combineLatest)([this.retentionState$,this.issueAccessLimitLevel$,this.modifiedTime$,this.issueId$,this.brain.componentId$,(0,W.combineLatest)([this.accessLevel$,this.hasAccessIndicator$])]).pipe(B(function(e){var f=l(e);e=f.next().value;var h=f.next().value,k=f.next().value,q=f.next().value,t=f.next().value,w=l(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:a5a(e),isShowingPublicPartner:"INTERNAL"!==f,modifiedTime:k,accessLevel:f,issueId:q,componentId:t,issueAccessLimitLevel:h,hasAccessIndicator:w}}))};jPc.\u0275fac=function(a){return new (a||jPc)(A(GK),A(nt),A($P))};
jPc.\u0275cmp=Lc({type:jPc,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,"issueId","componentId","accessLimitLevel",4,"ngIf"],[3,"retentionState","compactMode","modifiedTime",4,"ngIf"],[3,"issueId"],[3,"accessLevel"],[3,"issueId","componentId","accessLimitLevel"],[3,"retentionState","compactMode","modifiedTime"]],template:function(a,b){a&1&&(C(0,Hub,2,1,"ng-container",0),
T(1,"async"));a&2&&D("ngIf",V(1,1,b.state$))},dependencies:[V6,dw,zR,YZ,LV,mw],encapsulation:2});var W6=function(a){this.teamsService=a;this.onTeamLoaded=new W.ReplaySubject(1);this.teamName$=new W.BehaviorSubject("");this.isTeamLoaded=!1};W6.prototype.ngOnChanges=function(a){var b=this;a.teamId&&null!==this.teamId&&(0===this.teamId?(this.isTeamLoaded=!0,this.onTeamLoaded.next(this.isTeamLoaded)):RJ(this.teamsService,String(this.teamId)).pipe(Ue(),B(function(c){return c.name})).subscribe(function(c){b.teamName$.next(c);b.isTeamLoaded=!0;b.onTeamLoaded.next(b.isTeamLoaded)}))};
W6.\u0275fac=function(a){return new (a||W6)(A(QJ))};
W6.\u0275cmp=Lc({type:W6,selectors:[["b-team-chip"]],inputs:{componentId:"componentId",teamId:"teamId"},outputs:{onTeamLoaded:"onTeamLoaded"},features:[ed],decls:7,vars:6,consts:[[3,"isReady"],["class","b-chip squared s",3,"onedevHovercardTrigger",4,"ngIf"],["card","onedevHovercard"],[3,"componentId","teamId"],[1,"b-chip","squared","s",3,"onedevHovercardTrigger"],["svgIcon","supervisor_account_24px",1,"icon-xs"]],template:function(a,b){a&1&&(E(0,"b-async-data-placeholder",0),C(1,Iub,4,4,"div",1),
T(2,"async"),G(),E(3,"onedev-hovercard",null,2),K(5),I(6,"b-team-card",3),L(),G());if(a&2){var c;D("isReady",b.isTeamLoaded);y();D("ngIf",V(2,4,b.teamName$));y(5);D("componentId",null==b.componentId?null:b.componentId.toString())("teamId",null!==(c=null==b.teamId?null:b.teamId.toString())&&void 0!==c?c:"0")}},dependencies:[dw,hB,WV,LF,QF,yU,mw],styles:["[_nghost-%COMP%]{min-height:22px}mat-icon[_ngcontent-%COMP%]{margin-right:4px;vertical-align:middle}"],changeDetection:0});var X6=function(a,b,c,d,e,f,h,k){Y.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=k;this.editTitleDisabled=this.starToggleDisabled=!1;this.issueId$=new W.ReplaySubject(1);this.internalIssueId="";this.isTeamLoaded=!1;this.ListIssuesHovercardMode=KOc;this.blockedIdsToUrlQuery=function(t){if(!(2>t.length))return{q:"blockingid:"+q.issueId}};this.HOTKEYS=yq;
this.issue$=this.issueId$.pipe(df(this.issueFridge.watch));this.issueTitle$=this.issue$.pipe(B(function(t){return null==t?void 0:t.snapshot[0].title}));this.starred$=this.issue$.pipe(B(function(t){var w;return zi(null==t?void 0:null==(w=t.userData)?void 0:w.starred)}));this.componentId$=this.issue$.pipe(B(function(t){return zi(null==t?void 0:t.snapshot[0].componentId)}));this.ancestors$=this.issue$.pipe(B(function(t){return zi(null==t?void 0:t.ancestors)}));this.hasAncestors$=this.ancestors$.pipe(B(function(t){return!!(t&&
0<t.size)}));this.teamId$=this.issue$.pipe(B(function(t){var w;return zi(null==t?void 0:null==(w=t.aggregatedData)?void 0:w.teamId)}));this.blockedByids$=this.issue$.pipe(B(function(t){var w;return null!=(w=null==t?void 0:t.snapshot[0].blockedByIssueId)?w:[]}));this.issuesBlockedByCount$=this.blockedByids$.pipe(df(this.issueFridge.watchSet),B(function(t){return t.filter(Gn)}),B(function(t){return t.length}));nm(this.issuesBlockedByCount$.pipe(B(Tub),ef(this.destroyed$)),"Blocked");this.blockedByids$.pipe(B(Uub));
this.blockedByids$.pipe(B(this.blockedIdsToUrlQuery));this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.status$=this.issue$.pipe(B(function(t){return(null==t?void 0:t.snapshot[0].status)||void 0}));this.statusCssClass$=this.status$.pipe(B(function(t){return q.computeStatusCssClass(t)}));this.prettyStatus$=this.status$.pipe(Ce(Bi),B(function(t){return mn[t]}));this.statusIsFeatured$=this.status$.pipe(B(function(t){return!!D4b[t]}));this.toggleStar=function(){var t=
!!om(q.starred$);q.starToggleDisabled=!0;N6b(q.issueFridge,q.issueId,!t).pipe(Xe(),ef(q.destroyed$)).subscribe(function(){q.starToggleDisabled=!1;q.cdr.markForCheck()})};this.toggleStarDebounced=Fu(this.toggleStar,1E3)};X(X6,Y);X6.\u0275dir=Y.\u0275dir;var kPc=function(a,b){a.editTitleDisabled=!0;O6b(a.issueFridge,a.issueId,b).pipe(ef(a.destroyed$)).subscribe(function(){a.editTitleDisabled=!1;a.eventsForIssueFridge.poke(a.issueId);a.cdr.markForCheck()})};
X6.prototype.computeStatusCssClass=function(a){return a?"status-"+a:""};X6.prototype.refresh=function(){this.refreshMonitor.refreshRequest.next()};Vg.Object.defineProperties(X6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)},get:function(){return this.internalIssueId}}});X6.\u0275fac=function(a){return new (a||X6)(A(UI),A(IK),A(vF),A(SI),A(U6),A(IM),A($H),A(Uu))};
X6.\u0275cmp=Lc({type:X6,selectors:[["issue-header"]],inputs:{issueId:"issueId"},features:[nf],decls:41,vars:49,consts:[[1,"padded-s","border-bottom",3,"ngClass"],[1,"pos-fill",2,"bottom","auto","height","6px",3,"title"],[1,"row","row-1","flex-kids-x","space-between"],[1,"left","flex-kids-x","flex-wrap","gap-s"],[4,"ngIf","ngIfElse"],["withAncestorsBreadcrumbs",""],["withoutAncestorBreadcrumbs",""],[1,"right"],[1,"row","row-2","flex-kids-x","margin-s-top"],[1,"left","flex-kids-x","align-items-center"],
[1,"nowrap"],["mat-icon-button","",1,"small","back-btn",3,"hotkey","matTooltip","onHotkey","click"],["svgIcon","arrow-backward",1,"icon-s"],["mat-icon-button","","matTooltip","Refresh","aria-label","Refresh",1,"small",3,"hotkey","onHotkey","click"],["svgIcon","refresh",1,"icon-s"],[3,"starred","disabled","hotkey","starClicked","onHotkey"],[1,"right","pos-rel","flex-kids-x","align-items-center"],[3,"title","componentId","disabled","hasAclToEdit","updateTitle"],["class","b-chip squared bad xs margin-xs-left",
3,"onedevHovercardTrigger",4,"ngIf"],["card","onedevHovercard"],[4,"onedevHovercardLazyBody"],[1,"pos-br",3,"issueId"],["inert","","aria-hidden","true",3,"issueId"],[4,"ngTemplateOutlet"],[3,"componentId","teamId","onTeamLoaded"],[4,"ngIf"],[3,"componentId","compactMode","issueId"],[1,"b-chip","squared","s"],[3,"ancestors","issueId",4,"ngIf"],[2,"margin-right","-4px",3,"issueId","componentId","issueTitle","isExternalIssue"],[3,"ancestors","issueId"],[3,"componentId","issueId"],[1,"b-chip","squared",
"s","padding-0"],[3,"issueId","componentId","issueTitle","isExternalIssue"],[1,"b-chip","squared","bad","xs","margin-xs-left",3,"onedevHovercardTrigger"],["svgIcon","slo-status-no-data",1,"icon-xxs"],[3,"onedevIsHovercardReady","hovercardInstance","currentIssueId","issueIds","mode"],["cardBody",""]],template:function(a,b){a&1&&(E(0,"div",0),T(1,"async"),T(2,"async"),T(3,"async"),I(4,"aside",1),T(5,"async"),T(6,"async"),E(7,"div",2)(8,"div",3),C(9,Kub,2,1,"ng-container",4),T(10,"async"),C(11,Nub,4,
7,"ng-template",null,5,jg)(13,Pub,4,7,"ng-template",null,6,jg),G(),E(15,"div",7),I(16,"b-pagination-one-issue"),G()(),E(17,"div",8)(18,"div",9)(19,"div",10)(20,"button",11),M("onHotkey",function(){return fPc(b.currentSearchResults)})("click",function(){return fPc(b.currentSearchResults)}),T(21,"async"),T(22,"async"),I(23,"mat-icon",12),G(),E(24,"button",13),M("onHotkey",function(){return b.refresh()})("click",function(){return b.refresh()}),I(25,"mat-icon",14),G(),E(26,"b-star-toggle",15),M("starClicked",
function(){return b.toggleStar()})("onHotkey",function(){return b.toggleStarDebounced()}),T(27,"async"),G()(),I(28,"issue-chip-indicators"),G(),E(29,"div",16)(30,"issue-title",17),M("updateTitle",function(e){return kPc(b,e)}),T(31,"async"),T(32,"async"),T(33,"async"),G(),C(34,Rub,3,2,"div",18),T(35,"async"),E(36,"onedev-hovercard",null,19),C(38,Sub,4,7,"ng-container",20),G(),I(39,"issue-actions",21)(40,"issue-actions",22),G()()());if(a&2){var c=Q(14),d;yf("overline",V(1,23,b.statusIsFeatured$))("color-field",
V(2,25,b.statusIsFeatured$));Of("ngClass",V(3,27,b.statusCssClass$));y(4);Pf("title","[",V(5,29,b.prettyStatus$),"] ",V(6,31,b.issueTitle$),"");y(5);D("ngIf",V(10,33,b.hasAncestors$))("ngIfElse",c);y(11);D("hotkey",b.HOTKEYS.GO_UP_TO_LIST)("matTooltip",null!==(d=V(21,35,b.currentSearchResults.backNavigationLabel$))&&void 0!==d?d:"");pf("aria-label",V(22,37,b.currentSearchResults.backNavigationLabel$));y(4);D("hotkey",b.HOTKEYS.REFRESH_ISSUE);y(2);D("starred",V(27,39,b.starred$))("disabled",b.starToggleDisabled)("hotkey",
b.HOTKEYS.TOGGLE_STAR);y(4);D("title",V(31,41,b.issueTitle$))("componentId",V(32,43,b.componentId$))("disabled",b.editTitleDisabled)("hasAclToEdit",V(33,45,b.issuePermissionService.hasAclToEdit$));y(4);D("ngIf",V(35,47,b.issuesBlockedByCount$));y(5);D("issueId",b.issueId);y();D("issueId",b.issueId)}},dependencies:[J6,gw,dw,lw,hB,xZ,XM,LF,MF,QF,NF,YV,T6,I6,nA,PC,yQ,W6,hPc,S6,jPc,mw],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 lPc=function(a,b,c){var d=this;this.activeSession=a;this.brain=b;this.currentTracker=c;this.isChromiumTrackerIssue$=this.brain.component$.pipe(B(function(e){return"157"===(null==e?void 0:e.trackerId)}));this.shouldDisplay$=(0,W.combineLatest)([this.isChromiumTrackerIssue$,this.currentTracker.trackerId$]).pipe(B(function(e){var f=l(e);e=f.next().value;f=f.next().value;return tE(d.activeSession,"enableMonorailMigrationWarning")&&e&&("157"===f||d.activeSession.isInternalSession())}))};
lPc.\u0275fac=function(a){return new (a||lPc)(A(nt),A(GK),A(IM))};lPc.\u0275cmp=Lc({type:lPc,selectors:[["monorail-migration-warning"]],decls:2,vars:3,consts:[[4,"ngIf"],[1,"container"],[1,"warning-text"]],template:function(a,b){a&1&&(C(0,Vub,4,0,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.shouldDisplay$))},dependencies:[dw,mw],styles:[".container[_ngcontent-%COMP%]{background:-webkit-repeating-linear-gradient(45deg,#000,#000 10px,var(--warn-c200) 10px,var(--warn-c200) 20px);background:repeating-linear-gradient(45deg,#000,#000 10px,var(--warn-c200) 10px,var(--warn-c200) 20px);color:#d42521;color:var(--red-text);text-align:center;font-size:1.8rem;font-weight:500}.warning-text[_ngcontent-%COMP%]{background-color:#fdd663;background-color:var(--warn-c200)}\n/*# sourceMappingURL=monorail_migration_warning.css.map */"]});var Y6=function(a,b){var c=this;this.currentTracker=a;this.trackerFridge=b;this.issueTrackerId$=new W.BehaviorSubject("");this.showTrackerBanner$=(0,W.combineLatest)([this.issueTrackerId$,this.currentTracker.trackerId$]).pipe(B(function(d){var e=l(d);d=e.next().value;e=e.next().value;return!!xn(e)&&!xn(d)}));this.tracker$=this.issueTrackerId$.pipe(df(function(d){return xn(d)?(0,W.of)(void 0):c.trackerFridge.watch(d)}));this.trackerRedirectUrl$=this.tracker$.pipe(B(function(d){return JM(c.currentTracker,
String(c.issueId),d)}))};Vg.Object.defineProperties(Y6.prototype,{trackerId:{configurable:!0,enumerable:!0,set:function(a){this.issueTrackerId$.next(null!=a?a:"")}}});Y6.\u0275fac=function(a){return new (a||Y6)(A(IM),A(ZJ))};
Y6.\u0275cmp=Lc({type:Y6,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&&(C(0,Wub,7,6,"div",0),T(1,"async"),T(2,"async"));a&2&&D("ngIf",V(1,1,b.showTrackerBanner$)&&V(2,3,b.tracker$))},dependencies:[dw,oA,mw],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 Z6=function(a,b,c,d){var e=this;this.currentTracker=a;this.trackerFridge=b;this.activeSession=c;this.imageUrls=d;this.trackerId$=new W.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(df(function(f){return xn(f)?(0,W.of)(void 0):e.trackerFridge.watch(f)}));this.trackerName$=this.tracker$.pipe(B(function(f){return f?f.name:e.activeSession.getAppName()}));this.currentTrackerLogo$=this.currentTracker.tracker$.pipe(B(function(f){return e.getLogoUrl(f)}));this.trackerLogo$=this.tracker$.pipe(B(function(f){return e.getLogoUrl(f)}));
this.trackerRedirectUrl$=this.tracker$.pipe(B(function(f){var h="";e.issue&&(h=String(e.issueId));e.component&&(h="components/"+e.componentId);return f?JM(e.currentTracker,h,f):D$b(e.currentTracker,h)}))};Z6.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:""};
Z6.prototype.ngOnChanges=function(a){a.issue&&this.issue&&this.trackerId$.next(this.issue.trackerId||"");a.component&&this.component&&this.trackerId$.next(this.component.trackerId||"")};
Vg.Object.defineProperties(Z6.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 ln(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 mn[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}}});Z6.\u0275fac=function(a){return new (a||Z6)(A(IM),A(ZJ),A(nt),A(BR))};
Z6.\u0275cmp=Lc({type:Z6,selectors:[["b-tracker-redirect"]],inputs:{issue:"issue",component:"component"},features:[ed],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&&C(0,Yub,15,13,"div",0);a&2&&D("ngIf",b.showResourceContainer)},dependencies:[dw,hB,oA,PC,mw],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 $6=function(){};$6.prototype.watch=function(a,b){b=void 0===b?document.documentElement:b;return(0,W.concat)((0,W.defer)(function(){return(0,W.of)(document.getElementById(a))}),n_a(b,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0}).pipe(B(function(){return document.getElementById(a)}))).pipe(Ce(Bi),Ue())};$6.\u0275fac=function(a){return new (a||$6)};$6.\u0275prov=vc({token:$6,factory:$6.\u0275fac,providedIn:"root"});var a7=function(a){this.idWatch=a},mPc=function(a,b){var c=b.scrollableContainerId,d=void 0===b.scrollPadding?0:b.scrollPadding;return a.idWatch.watch(b.elementId,b.parentElement).pipe(Ue(),B(function(e){e.scrollIntoView();if(e=document.getElementById(c))e.scrollTop-=d}))};a7.\u0275fac=function(a){return new (a||a7)(p($6))};a7.\u0275prov=vc({token:a7,factory:a7.\u0275fac,providedIn:"root"});var b7=function(a,b,c,d){this.dynamicScrollIntoView=a;this.paths=b;this.routeParams=c;this.baseIssueReferenceResolver=d;this.destroyed$=new W.ReplaySubject(1);var e;this.issueId=null!=(e=this.routeParams.issueId)?e:""};
b7.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());a.issueId&&a.issueId!==this.issueId||!a.elementId?this.baseIssueReferenceResolver.visit(a):(mPc(this.dynamicScrollIntoView,{elementId:a.elementId,parentElement:document.body,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(ef(this.destroyed$)).subscribe(),history&&history.pushState(null,"",this.paths.editIssue(this.issueId)+"#"+a.elementId))};b7.prototype.ngOnDestroy=function(){this.destroyed$.next()};
b7.\u0275fac=function(a){return new (a||b7)(p(a7),p(iI),p(xK),p(p4))};b7.\u0275prov=vc({token:b7,factory:b7.\u0275fac});var c7=function(a,b){Y.call(this);var c=this;this.el=a;this.router=b;this.router.events.pipe(Ce($za),ef(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(Zza),ef(this.destroyed$)).subscribe(function(d){Zub(c.el.nativeElement,["scrollY",c.rememberScroll,d.url].join("-"))})};X(c7,Y);
c7.\u0275fac=function(a){return new (a||c7)(A(Ad),A(vF))};c7.\u0275dir=Qc({type:c7,selectors:[["","rememberScroll",""]],inputs:{rememberScroll:"rememberScroll"},features:[nf]});var d7=function(){};d7.\u0275fac=function(a){return new (a||d7)};d7.\u0275mod=Nc({type:d7});d7.\u0275inj=wc({imports:[SH,BF]});var bvb=function(a){return{monorailRedirectUrl:a}},vvb=function(){return{exact:!0}},e7=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la,oa,Fa,Ta){Y.call(this);var Pa=this;this.contextSensitiveRegistry=a;this.issueFridge=b;this.activeSession=c;this.permissions=d;this.editIssueService=e;this.counts=f;this.appEvents=h;this.issueInteractionsTracking=k;this.checkBeforeExit=q;this.butterBar=t;this.routerEvents=w;this.devopsGraph=z;this.refreshMonitor=F;this.eventsForIssueFridge=J;this.issueFetchResponseFridge=
H;this.hotlistFridge=O;this.permissionsFridge=P;this.issueRelationshipsFridge=U;this.issueService=Z;this.errorHandler=la;this.currentTracker=oa;this.monorailIssueRedirectApi=Fa;this.domSafe=Ta;this.id$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.id$.pipe(df(this.issueFridge.watch));this.hasIssueFetchResponseError$=this.issueFetchResponseFridge.error$.pipe(gf(this.id$),df(function(Ya){var sb=l(Ya);Ya=sb.next().value;sb=sb.next().value;switch(Ya.status){case 403:return(0,W.of)(nPc(Pa,
Ya,!1));case 404:return oPc(Pa,Ya,sb);default:return(0,W.of)(nPc(Pa,Ya,!0))}}),af({refCount:!0,bufferSize:1}));this.issueTrackerId$=this.issue$.pipe(B(function(Ya){return null==Ya?void 0:Ya.trackerId}));this.showTrackerRedirect$=(0,W.combineLatest)([this.currentTracker.trackerId$,this.issueTrackerId$]).pipe(B(function(Ya){var sb=l(Ya);Ya=sb.next().value;sb=sb.next().value;return Pa.shouldShowTrackerRedirect(Ya,Ai("")(sb))}));this.snapshot$=this.issue$.pipe(B(function(Ya){return null==Ya?void 0:Ya.snapshot[0]}));
this.archived$=this.snapshot$.pipe(B(function(Ya){return null==Ya?void 0:Ya.isArchived}));this.deleted$=this.snapshot$.pipe(B(function(Ya){return null==Ya?void 0:Ya.isDeleted}));this.undeleteButtonTooltip$=this.permissions.canUndeleteIssue$.pipe(B(function(Ya){return Ya?void 0:"Only issue admins can undelete issues"}));this.inArchivedComponent$=this.issue$.pipe(B(function(Ya){return(null==Ya?void 0:Ya.isArchived)&&!(null==Ya?0:Ya.snapshot[0].isArchived)}));this.status$=this.issue$.pipe(B(function(Ya){return(null==
Ya?void 0:Ya.snapshot[0].status)||void 0}));this.prettyStatus$=this.status$.pipe(Ce(Bi),B(function(Ya){return mn[Ya]}));this.issue$.pipe(B(function(Ya){var sb;return null!=(sb=null==Ya?void 0:Ya.snapshot[0].title)?sb:""}));this.issuesBeingBlocked$=this.issue$.pipe(B(function(Ya){var sb;return null!=(sb=null==Ya?void 0:Ya.snapshot[0].blockingIssueId)?sb:[]}),Se(1E3),df(this.issueFridge.watchSet));this.issue$.pipe(B(function(Ya){var sb;return null!=(sb=null==Ya?void 0:Ya.snapshot[0].duplicateIssueId)?
sb:[]}),Se(1E3),df(this.issueFridge.watchSet));this.issueMetadata$=(0,W.defer)(function(){return Pa.id$}).pipe(Ce(Bi),df(function(Ya){return Pa.issueService.getMetadata(Ya)}),af({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(r(tE(this.activeSession,"enableCodeMentionsUi")?[{link:"./todos",title:"TODOs",count$:this.counts.countTodosDisplay$}]:[]));this.enableHelpMeFixSidebar=tE(this.activeSession,"enableHelpMeFixSidebar")&&this.activeSession.isInternalSession();this.isHelpMeFixSidebarOpen=!1};X(e7,Y);e7.\u0275dir=Y.\u0275dir;e7.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};
e7.prototype.ngOnInit=function(){var a=this,b,c,d;return ke(function(e){if(1==e.nextAddress)return b=pB,c=b.assertExists,me(e,(0,W.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(){JE(a.domSafe,f.monorailRedirectUrl)},1E3)}));a.subscriptions.add(wY(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(Bi),Ue()).subscribe(function(f){WI(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);
ZI(a.issueFetchResponseFridge,d);a.eventsForIssueFridge.poke(d);a.hotlistFridge.pokeMany(u6b);WI(a.issueFridge,[d],{userActivityType:"RELOAD"})}));a.subscriptions.add(a.appEvents.openHelpMeFixSidebar.subscribe(function(){a.isHelpMeFixSidebarOpen=!0}));a.subscriptions.add(a.appEvents.closeHelpMeFixSidebar.subscribe(function(){a.isHelpMeFixSidebarOpen=!1}));a.destroyed$.subscribe(function(){a.devopsGraph.close();var f=a.issueInteractionsTracking,h=f.getState(d);f.trackDestroy("edit-count",h.editCount);
var k=Date.now()-h.startTime;f8b(f,k,"idp-time-on-page",h.variations);f.resetState(d);a.editIssueService.clear(d)});qe(e)})};var nPc=function(a,b,c){(void 0===c?0:c)&&a.errorHandler.errorHandler(null,b);return{status:b.status,monorailRedirectUrl:null}},oPc=function(a,b,c){return c&&c===b.idOrKey?EOc(a.monorailIssueRedirectApi,c).pipe(B(function(d){return d?{status:b.status,monorailRedirectUrl:d.toString()}:nPc(a,b,!0)})):(0,W.of)(nPc(a,b,!0))};
e7.\u0275fac=function(a){return new (a||e7)(A(FK),A(UI),A(nt),A(IK),A(aL),A(X5),A(RH),A(DK),A(vY),A(hG),A(LI),A(RZ),A(SI),A($H),A(XI),A(CI),A(xJ),A(pJ),A(RI),A(AG),A(IM),A(y6),A(IE))};
e7.\u0275cmp=Lc({type:e7,selectors:[["issue-details-wrapper"]],features:[bg([EF,eL,{provide:IF,useClass:b7}]),nf],decls:14,vars:7,consts:[["class","a11y-only",4,"ngIf"],[4,"ngIf","ngIfElse"],["showIssueDetails",""],["issueDetails",""],["showTrackerRedirect",""],["showMonorailRedirect",""],["showNoAccessScreen",""],[1,"a11y-only"],[3,"ngSwitch"],[3,"ngTemplateOutlet",4,"ngSwitchCase"],[4,"ngSwitchCase"],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[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,"matTooltip","disabled","click"],[1,"issue-header"],[3,"issueId","trackerId"],[3,"issueId"],["mat-tab-nav-bar","","gmat-tabs",""],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions",4,"ngFor","ngForOf"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions"],["rla","routerLinkActive"],["style","margin-left: 4px;",
4,"ngIf"],[2,"margin-left","4px"],[1,"bv2-limited-issue-view"],[3,"issue"],["target","_self",3,"href"],["data-test-id","internal-access-denied",3,"issueMetadata",4,"ngIf","ngIfElse"],["publicAccessDenied",""],["data-test-id","internal-access-denied",3,"issueMetadata"],["data-test-id","public-access-denied"]],template:function(a,b){a&1&&(C(0,$ub,2,1,"h2",0),T(1,"async"),C(2,evb,4,3,"ng-container",1),T(3,"async"),C(4,jvb,2,1,"ng-template",null,2,jg)(6,Avb,2,4,"ng-template",null,3,jg)(8,Bvb,3,3,"ng-template",
null,4,jg)(10,Cvb,4,2,"ng-template",null,5,jg)(12,Fvb,4,2,"ng-template",null,6,jg));if(a&2){var c=Q(5);D("ngIf",V(1,3,b.id$));y(2);D("ngIf",V(3,5,b.hasIssueFetchResponseError$))("ngIfElse",c)}},dependencies:[C2,hw,dw,lw,iw,jw,JP,KP,ly,oX,D6,X6,Y_,nA,e_,d_,c_,MN,NN,PC,lPc,c7,gF,xF,yF,Y6,Z6,mw],styles:["[mat-tab-nav-bar][_ngcontent-%COMP%]{padding-left:8px}mat-sidenav-container[_ngcontent-%COMP%]{height:100%}"]});var f7=function(a,b){Y.call(this);var c=this;this.issueFridge=a;this.butterBar=b;this.duplicateIssueIds$=new W.BehaviorSubject([]);this.tableColumns="focus-indicator title team id createdTime reporter menu".split(" ");this.initialSort={active:"createdTime",direction:"desc"};this.getMenuItems=function(d){return[{type:"action",label:"Remove duplicate",action:function(){c.removeDuplicate(d)},title:"Remove duplicate",icon:"clear"}]}};X(f7,Y);f7.\u0275dir=Y.\u0275dir;f7.prototype.ngOnInit=function(){};
f7.prototype.removeDuplicate=function(a){var b=this,c;return ke(function(d){if(1==d.nextAddress)return le(d,2),me(d,b.issueFridge.removeDuplicate(b.issueId,a),4);if(2!=d.nextAddress)return xt(d,0);c=pe(d);b.butterBar.showWarning("Could not remove duplicate "+a+". "+c);qe(d)})};Vg.Object.defineProperties(f7.prototype,{duplicateIds:{configurable:!0,enumerable:!0,set:function(a){this.duplicateIssueIds$.next((null!=a?a:[]).map(function(b){return String(b)}))}}});
f7.\u0275fac=function(a){return new (a||f7)(A(UI),A(hG))};f7.\u0275cmp=Lc({type:f7,selectors:[["b-duplicates-table"]],inputs:{duplicateIds:"duplicateIds",issueId:"issueId"},features:[nf],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","menuItemFactory","tableColumns","initialSort"]],template:function(a,b){a&1&&(C(0,Gvb,2,4,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.duplicateIssueIds$))},dependencies:[dw,L5,mw],encapsulation:2,changeDetection:0});var g7=function(a,b,c,d,e,f){Y.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(B(function(k){return{path:"/issues",params:{q:"canonicalid:"+k}}}));this.issue$=this.id$.pipe(df(this.issues.watch));this.duplicateIds$=this.issue$.pipe(B(function(k){var q;return null!=(q=null==k?void 0:k.snapshot[0].duplicateIssueId)?
q:[]}));this.duplicatesCount$=this.duplicateIds$.pipe(df(function(k){return 0===k.length?(0,W.of)(0):h.counts.duplicatesDualCount$.pipe(B(function(q){return q.total.count}))}));this.showTable$=this.duplicatesCount$.pipe(B(function(k){return 0<k}),cf(!0));this.didChooseDupes=function(k){var q=om(h.id$);null!=q&&Q6b(h.issues,q,k[0]).catch(h.gotErr)};this.gotErr=function(k){h.snackBar.open(tn(k)||"Error with network request","close",{panelClass:"error"})}};X(g7,Y);g7.\u0275dir=Y.\u0275dir;
g7.prototype.isThinking=function(){return this.issues.isThinking()};var Hvb=function(a){a.issuePicker.open({title:"Add Duplicate",allowMultipleIds:!1,edgeType:"duplicate"},a.didChooseDupes)};g7.\u0275fac=function(a){return new (a||g7)(A(wK),A(UI),A(zX),A(SE),A(X5),A(BR))};
g7.\u0275cmp=Lc({type:g7,selectors:[["ng-component"]],features:[nf],decls:4,vars:4,consts:[[1,"carded","bg-main"],[4,"ngIf"],["class","pos-tr padded",4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],["hasResults",""],[1,"empty-state","layout-centered-column","gap"],["aria-hidden","true","alt","",3,"src"],[1,"type-l"],[1,"muted"],["href","https://developers.google.com/issue-tracker/guides/duplicate-issue",1,"nowrap"],["mat-flat-button","","color","primary","matTooltip",
"Add a duplicate to the current issue",1,"gmat-button","small",3,"click"],[1,"section-heading","muted"],["mat-flat-button","","color","primary","matTooltip","Add a duplicate to the current issue",1,"gmat-button","small","add",3,"click"],[3,"issueId","duplicateIds",4,"ngIf"],[1,"margin-s-top","flex-kids-x","gap-s"],[3,"issueId","duplicateIds"],["mat-button","","color","primary",1,"gmat-button","small",3,"routerLink","queryParams"],[1,"pos-tr","padded"]],template:function(a,b){a&1&&(E(0,"section",0),
C(1,Mvb,5,4,"ng-container",1),T(2,"async"),G(),C(3,Nvb,2,0,"aside",2));a&2&&(y(),D("ngIf",V(2,2,b.duplicateIds$)),y(2),D("ngIf",b.isThinking()))},dependencies:[dw,xF,nA,oA,PC,HQ,f7,mw],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 h7=function(){};h7.\u0275fac=function(a){return new (a||h7)};h7.\u0275mod=Nc({type:h7});h7.\u0275inj=wc({imports:[SH,Xz,mA,dx,ex,BF,$C,ON,JD,aN,gX,jN,kR,O5]});var i7=function(a){this.internalArray_=m(a)};X(i7,n);g=i7.prototype;g.getIssueId=function(){return kj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return kj(this,1)};g.getIssueId_asString=function(){return au(this,1)};g.setIssueId=function(a){return Qj(this,1,a)};g.getAttachmentId_asLegacyNumberOrString=function(){return kj(this,2)};g.setAttachmentId=function(a){return Qj(this,2,a)};g.getRestrictedRetention=function(){return cj(this,3,0)};
g.setRestrictedRetention=function(a){return Sj(this,3,a)};var pPc=function(a){this.internalArray_=m(a)};X(pPc,n);pPc.prototype.getIt=function(){return $i(this,i7,4)};pPc.prototype.setIt=function(a){return li(this,i7,4,a)};pPc.prototype.hasIt=function(){return ji(this,i7,4)};var j7=function(a){this.executor=a};j7.prototype.updateRetention=function(a,b,c){c=(new pPc).setIt((new i7).setIssueId(a).setAttachmentId(b).setRestrictedRetention(wua(c)));return this.executor.post({url:"action/issues/"+a+"/attachments/"+b+"/update_retention",body:c,responseConstructor:HH}).pipe(B(nk))};j7.\u0275fac=function(a){return new (a||j7)(p(QD))};j7.\u0275prov=vc({token:j7,factory:j7.\u0275fac,providedIn:"root"});var k7=function(){this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.isGreyedOut=!0;this.linkUrl=this.displayName="";this.useCustomHandler=this.linkEnabled=!1;this.customHandler=new zv};k7.prototype.handleClick=function(a){this.useCustomHandler&&(a.preventDefault(),this.customHandler.emit())};k7.\u0275fac=function(a){return new (a||k7)};
k7.\u0275cmp=Lc({type:k7,selectors:[["b-conditional-link"]],inputs:{isGreyedOut:"isGreyedOut",displayName:"displayName",linkUrl:"linkUrl",linkEnabled:"linkEnabled",useCustomHandler:"useCustomHandler"},outputs:{customHandler:"customHandler"},decls:2,vars:2,consts:[[3,"muted",4,"ngIf"],["class","normal-link","target","_blank",3,"href","rel","click",4,"ngIf"],["target","_blank",1,"normal-link",3,"href","rel","click"]],template:function(a,b){a&1&&C(0,Ovb,2,3,"span",0)(1,Pvb,2,3,"a",1);a&2&&(D("ngIf",
b.isGreyedOut||!b.linkEnabled),y(),D("ngIf",!b.isGreyedOut&&b.linkEnabled))},dependencies:[dw],encapsulation:2,changeDetection:0});var l7=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O){Y.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=k;this.userAccess=q;this.butterBar=t;this.errorHandler=w;this.analytics=z;this.issueCommentDialogsService=F;this.issuePermissionService=J;this.editIssueService=H;this.routeParams=O;this.isInternalSession=this.activeSession.isInternalSession();this.hasViewAccess=!1;this.actionMenuItems=[];this.attachmentRetentionSaveInProgress=
!1;this.canDeleteAttachment$=new W.BehaviorSubject(!1);this.canUndeleteAttachment$=new W.BehaviorSubject(!1)};X(l7,Y);l7.\u0275dir=Y.\u0275dir;
l7.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;qPc(this);rPc(this);this.issuePermissionService.canDeleteAttachment$(this.attachment,this.attachmentUploader).pipe(ef(this.destroyed$)).subscribe(function(c){a.canDeleteAttachment$.next(c);qPc(a)});this.issuePermissionService.canUndeleteAttachment$(this.attachment,this.attachmentUploader).pipe(ef(this.destroyed$)).subscribe(function(c){a.canUndeleteAttachment$.next(c);
qPc(a)})};l7.prototype.ngDoCheck=function(){this.attachmentDiffer&&this.attachmentDiffer.diff(this.attachment)&&qPc(this)};l7.prototype.ngOnChanges=function(a){this.setHasViewAccess();a.attachment&&this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create())};
var qPc=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(){D8b(a.editIssueService,a.issueId,a.attachment)},label:"Restore attachment"});a.isInternalSession&&a.actionMenuItems.push({type:"action",action:function(){Gwc(a.issueCommentDialogsService,
a.issueId,a.attachmentUploader===a.activeSession.getUserEmail(),a.attachment)},label:"Restriction settings..."});if(a.isInternalSession&&a.isRestricted()&&a.isActive()){var c="COMPONENT_DEFAULT"===a.attachmentRetentionOverride;a.actionMenuItems.push({type:"action",action:function(){var d=c?"INDEFINITE":"COMPONENT_DEFAULT";Fwc(a.issueCommentDialogsService,"attachment",d).then(function(e){e&&sPc(a,d)})},label:c?"Match issue retention...":"Revert to component retention..."})}a.cdr.markForCheck()};
l7.prototype.setHasViewAccess=function(){var a=this;this.isRestricted()?null==this.attachment?this.hasViewAccess=!1:(this.hasViewAccess=!1,zH(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b;a.cdr.detectChanges()})):this.hasViewAccess=!0};l7.prototype.getFilename=function(){var a;return(null==(a=this.attachment)?void 0:a.filename)||""};
l7.prototype.getSize=function(){var a;return(null==(a=this.attachment)?void 0:a.length)||0};var Tvb=function(a,b){b=void 0===b?!0:b;var c;if(null==(c=a.attachment)||!c.attachmentId)throw Error("kf");c=a.paths.getAttachmentAction(a.issueId,a.attachment.attachmentId);a=a.paths.getBaseUrl()+"/"+c;return KZb(a,"download",b)};l7.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)};
l7.prototype.isRestricted=function(){return"NONE_DETECTED"!==this.getRestrictionSeverity()};l7.prototype.getRestrictionSeverity=function(){var a;return Tj(null==(a=this.attachment)?void 0:a.contentVerdict)};l7.prototype.getRestrictedLabel=function(){return eua(this.getRestrictionSeverity())};
var Uvb=function(a){return(a=a.getRestrictionSeverity())?"bv2-restricted-content-limit-"+dua(a):""},Svb=function(a,b){kp(a.analytics,Sp.RESTRICTED_CONTENT,"viewRestrictedContent","attachment");a.matDialogService.open(tS,{width:"400px",data:{attachment:a.attachment,issueId:a.issueId,download:b}})};l7.prototype.showDeleteAttachmentDialog=function(){var a;null!=(a=this.attachment)&&a.attachmentId&&this.issueCommentDialogsService.showDeleteAttachmentDialog(this.issueId,this.attachment)};
var sPc=function(a,b){var c;null!=(c=a.attachment)&&c.attachmentId?(kp(a.analytics,Sp.RESTRICTED_CONTENT,"updateRetention","attachment"),a.attachmentRetentionSaveInProgress=!0,a.attachmentService.updateRetention(a.issueId,a.attachment.attachmentId||0,b).pipe(ef(a.destroyed$)).subscribe({next:function(d){a.attachmentRetentionSaveInProgress=!1;a.attachment&&(a.attachment.piiRetention=d.piiRetention,a.attachment.piiRetentionState=d.piiRetentionState);Ks(a.butterBar,"Attachment retention updated",4E3);
a.attachmentRetentionOverride="INDEFINITE"===b?"INDEFINITE":"COMPONENT_DEFAULT";qPc(a);a.cdr.detectChanges()},error:function(){a.attachmentRetentionSaveInProgress=!1;BG(a.errorHandler,"Attachment retention update failed")}})):BG(a.errorHandler,"Attachment id is missing")},rPc=function(a){var b,c,d;ke(function(e){(b=Number(a.routeParams.downloadAttachment))&&b===(null==(c=a.attachment)?void 0:c.attachmentId)&&(d="true"===a.routeParams.download,Svb(a,d));qe(e)})};
l7.\u0275fac=function(a){return new (a||l7)(A(nt),A(jG),A(IE),A(EA),A(j7),A(EF,2),A(Xu),A(iI),A(xH),A(hG),A(AG),A(MI),A(vZ),A(IK),A(aL),A(xK))};
l7.\u0275cmp=Lc({type:l7,selectors:[["b-attachment-viewer"]],inputs:{attachment:"attachment",issueId:"issueId",attachmentUploader:"attachmentUploader"},features:[bg([EF]),nf,ed],decls:16,vars:8,consts:[[1,"bv2-issue-attachment-image"],["name","file-present","size","large",1,"bv2-issue-attachment-icon"],[1,"bv2-issue-attachment-filename"],[1,"bv2-issue-event-attachment-info"],[3,"label","retentionState","contentType",4,"ngIf"],["class","bv2-issue-attachment-overflow-menu",4,"ngIf"],[3,"class",4,"ngIf"],
[3,"panelTemplate"],["class","bv2-restricted-access-help-icon help-icon",4,"ngIf"],["restrictedAccessHelp",""],[3,"label","retentionState","contentType"],[1,"bv2-issue-attachment-overflow-menu"],[1,"issue-detail-actions",3,"menuItems","buttonLabel","matTooltip"],[3,"isGreyedOut","displayName","linkUrl","linkEnabled","useCustomHandler","customHandler"],[1,"bv2-restricted-access-help-icon","help-icon"],["aria-label","Restricted Access Help","mat-icon-button","","target","_blank",1,"help","small",3,
"href","disableRipple"],[3,"svgIcon"],[1,"implicit-access-help-bubble"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(E(0,"div",0),I(1,"b-icon",1),G(),E(2,"div")(3,"div",2),R(4),E(5,"span",3),C(6,Qvb,1,3,"b-restricted-chip",4)(7,Rvb,2,3,"span",5),G()(),E(8,"div"),R(9),C(10,Vvb,2,8,"span",6)(11,Wvb,2,8,"span",6),E(12,"xap-bubble",7),C(13,Xvb,3,3,"span",8)(14,Yvb,4,1,"ng-template",null,9,jg),G()()());if(a&2){var c=Q(15);y(4);S(" ",b.getFilename()," ");y(2);D("ngIf",b.isRestricted());y();
D("ngIf",0<b.actionMenuItems.length);y(2);S(" ",gFa(b.getSize())," ");y();var d;a=b.isActive()&&msa(null==(d=b.attachment)?void 0:d.contentType);D("ngIf",a);y();D("ngIf",b.isActive());y();D("panelTemplate",c);y();D("ngIf",b.isRestricted()&&!b.hasViewAccess)}},dependencies:[dw,hB,h0,k7,yP,oA,PC,a4,yR],encapsulation:2,changeDetection:0});var tPc=["commentActionsMenu"],uPc=["editDescription"],uwb=function(){return[]},m7=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O){Y.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=k;this.butterBar=q;this.userAccess=t;this.issueCommentDialogsService=w;this.issuePermissionService=z;this.commentHistoryDialogService=F;this.dateFormatter=J;this.issueFetchResponseFridge=
H;this.appEvents=O;this.id$=new W.ReplaySubject(1);this.accessLevel$=this.id$.pipe(df(this.issueFridge.watch),B(function(U){var Z;return null==U?void 0:null==(Z=U.accessLimit)?void 0:Z.accessLevel}));this.firstEvent$=new W.ReplaySubject(1);this.firstNote$=this.firstEvent$.pipe(B(function(U){return U}));this.commentActionMenuItems$=new W.BehaviorSubject([]);this.isFormattingOverrideEnabled=!1;this.formattingMode="PLAIN";this.formattingMode$=nm(this.firstEvent$.pipe(Ce(Bi),B(function(U){return U.formattingMode})),
"PLAIN");this.isRedacted$=this.firstEvent$.pipe(Ce(Bi),B(function(U){return U.commentRedacted}));this.isDeleted$=this.firstEvent$.pipe(Ce(Bi),B(function(U){return"DELETED"===U.commentDeletionStatus}));this.shouldShowRestrictedPlaceholder$=(0,W.combineLatest)([this.isRedacted$,this.isDeleted$]).pipe(B(function(U){var Z=l(U);U=Z.next().value;Z=Z.next().value;return!(!U||Z)}));this.isRestricted$=this.firstEvent$.pipe(Ce(Bi),B(function(U){return Tj(U.commentContentVerdict)}),B(function(U){if(!P.isInternalSession)return!1;
switch(U){case "NONE_DETECTED":case "RESTRICTION_SEVERITY_UNSPECIFIED":return!1;case "RESTRICTED":case "RESTRICTED_PLUS":return!0;default:Nh(U)}}));this.commentRetentionOverride$=this.firstEvent$.pipe(Ce(Bi),B(function(U){return U.commentRetention}));this.commentHistoryEnabled=tE(this.activeSession,"enableCommentHistoryUi");this.isShowCommentHistoryActionInMenu$=(0,W.combineLatest)([this.firstEvent$,this.isRedacted$]).pipe(B(function(U){var Z=l(U);U=Z.next().value;Z=Z.next().value;return!(!(tE(P.activeSession,
"enableCommentHistoryUi")&&0<((null==U?void 0:U.commentVersion)||0))||Z)}));this.doesDescriptionContainStackTrace$=this.firstEvent$.pipe(B(function(U){if(!U||!U.unlinkifiedComment)return!1;var Z;return 0<(null!=(Z=U.unlinkifiedComment.match(new RegExp(/^.*?Exception.*(?:[\r\n]+^\s*at .*)+/m)))?Z:[]).length}));this.canEditComment$=this.firstEvent$.pipe(df(function(U){return U?P.issuePermissionService.canEditComment$(U):(0,W.of)(!1)}),af({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!om(P.canEditComment$)};
this.isInternalSession=this.activeSession.isInternalSession();this.mayReadPii$=this.isRestricted$.pipe(df(function(U){return U?P.mayReadPii():(0,W.of)(void 0)}));this.reporterUser$=this.id$.pipe(df(function(U){return P.issueFridge.watch(U)}),B(function(U){var Z;return null==U?void 0:null==(Z=U.snapshot[0])?void 0:Z.reporterUser}));this.reporterUserEmailAddress$=this.reporterUser$.pipe(B(function(U){return Ki(U)||""}));this.firstEventReporterEmail$=this.firstEvent$.pipe(B(function(U){U=l((null==U?
void 0:U.postDiffs)||[]);for(var Z=U.next();!Z.done;Z=U.next())if(Z=Z.value,"reporter"===Z.name)return Z.newValue||"";return""}));this.onBehalfOfEmail$=(0,W.combineLatest)([this.firstEventReporterEmail$,this.reporterUserEmailAddress$]).pipe(B(function(U){var Z=l(U);U=Z.next().value;Z=Z.next().value;return U||Z}));this.isAuthorNotReporter$=(0,W.combineLatest)([this.onBehalfOfEmail$,this.firstEvent$]).pipe(B(function(U){var Z=l(U);U=Z.next().value;Z=Z.next().value;return U!==Ki(null==Z?void 0:Z.userPerformingActionUser)}));
this.allEvents$=this.id$.pipe(df(function(U){return P.eventsForIssue.watch(U)}));this.attachments$=this.allEvents$.pipe(B(function(U){var Z,la;return null!=(la=null==U?void 0:null==(Z=U.events[0])?void 0:Z.attachments)?la:[]}));this.showHelpMeFix=tE(this.activeSession,"enableHelpMeFixSidebar")&&this.activeSession.isInternalSession()};X(m7,Y);m7.\u0275dir=Y.\u0275dir;
m7.prototype.mayReadPii=function(){var a=this;return this.id$.pipe(df(function(b){return(0,W.defer)(function(){return zH(a.userAccess,"reader","issues/"+b+"/comments/1").catch(function(c){Xj("error: ",c);return!1})})}))};
m7.prototype.ngOnInit=function(){var a=this;vPc(this,"PLAIN");this.id$.pipe(df(this.issueFetchResponseFridge.watch),B(function(b){return null==b?void 0:b.firstEvent}),ef(this.destroyed$)).subscribe(function(b){a.firstEvent$.next(b)});this.canEditComment$.pipe(ef(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(ef(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=null!=b.commentDisplayOverride;a.initializeActionsMenu()});
this.formattingMode$.pipe(ef(this.destroyed$)).subscribe(function(b){a.formattingMode=null!=b?b:"PLAIN";vPc(a,null!=b?b:"PLAIN")});this.issuePermissionService.canChangeCommentRetention$.pipe(ef(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};m7.prototype.openHelpMeFixSidebar=function(){this.appEvents.openHelpMeFixSidebar.next()};
m7.prototype.initializeActionsMenu=function(){var a=this,b=[];this.isFormattingOverrideEnabled||b.push({type:"submenu",label:"View as...",items:[this.formattingModeMenuItems.PLAIN,this.formattingModeMenuItems.MARKDOWN,this.formattingModeMenuItems.LITERAL]});var c=om(this.firstEvent$);this.canEditComment()&&c&&b.push({type:"action",action:function(){Xs(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Edit description...",disabled:om(this.isRedacted$)});
om(this.isShowCommentHistoryActionInMenu$)&&c&&b.push({type:"action",action:function(){c.commentNumber&&a.showCommentHistoryDialog(c.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Show editing history"});c&&i8b(this.issuePermissionService,c)&&b.push({type:"action",action:function(){c.commentEtag&&Dwc(a.issueCommentDialogsService,a.id,1,c.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete description"});c&&h8b(this.issuePermissionService,
c)&&b.push({type:"action",action:function(){Awc(a.issueCommentDialogsService,a.id,1).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore description"});this.isInternalSession&&c&&b.push({type:"action",action:function(){Ewc(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restriction settings..."});if(this.isInternalSession&&om(this.isRestricted$)&&this.issuePermissionService.canChangeCommentRetention()&&
!om(this.isDeleted$)){var d="COMPONENT_DEFAULT"===om(this.commentRetentionOverride$);b.push({type:"action",action:function(){var e=d?"INDEFINITE":"COMPONENT_DEFAULT";Fwc(a.issueCommentDialogsService,"comment",e).then(function(f){a.commentActionsMenu.actionsMenuIconButton.focus();f&&a.updateCommentRetention(e)})},label:d?"Match issue retention...":"Revert to component retention..."})}this.commentActionMenuItems$.next(b)};
var vPc=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)};
m7.prototype.updateCommentRetention=function(a){var b=this,c=om(this.firstEvent$),d=om(this.id$);c&&!c.commentNumber&&BG(this.errorHandler,"Comment number is missing");kp(this.analytics,Sp.RESTRICTED_CONTENT,"updateRetention","comment");d&&c&&this.commentService.updateRetention(d,c.commentNumber||0,a).pipe(ef(this.destroyed$)).subscribe({next:function(){b.eventsForIssue.poke(d);Ks(b.butterBar,"Comment retention updated",4E3);b.initializeActionsMenu()},error:function(){BG(b.errorHandler,"Comment retention update failed")}})};
m7.prototype.loadRestrictedComment=function(a,b){var c=this;kp(this.analytics,Sp.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var d=b.commentNumber||0,e=Tj(b.commentContentVerdict);a&&this.commentService.get(a,d,e).pipe(Ue(),ef(this.destroyed$)).subscribe(function(f){f=YBa(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))})};
m7.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.id,a,-1)};m7.prototype.getUserEmailIfAvailable=function(){var a;return Ki(null==(a=om(this.firstEvent$))?void 0:a.userPerformingActionUser)};
var Zvb=function(a){var b=om(a.firstEvent$);b&&Xs(a.issueCommentDialogsService,a.id,b).then(function(){a.editDescriptionButton.focus()})},dwb=function(a,b){var c="Last edited by ";0===b.version&&b.lastCommentEditorUser&&(c+=Gi(b.lastCommentEditorUser));b.commentLastModifiedAtDate&&(c+=" on ",zS(a.dateFormatter,new Date(b.commentLastModifiedAtDate)).subscribe(function(d){c+=d}));return c};Vg.Object.defineProperties(m7.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)},get:function(){return om(this.id$)}}});
m7.\u0275fac=function(a){return new (a||m7)(A($H),A(BE),A(UI),A(IF),A(nt),A(mK),A(AG),A(MI),A(hG),A(xH),A(vZ),A(IK),A(FT),A(yS),A(XI),A(RH))};
m7.\u0275cmp=Lc({type:m7,selectors:[["b-issue-description"]],viewQuery:function(a,b){a&1&&(Uf(tPc,5),Uf(uPc,5));if(a&2){var c;Yf(c=Zf())&&(b.commentActionsMenu=c.first);Yf(c=Zf())&&(b.editDescriptionButton=c.first)}},inputs:{id:"id"},features:[nf],decls:4,vars:4,consts:[["id","comment1","class","flex-kids-x",4,"ngIf","ngIfElse"],["loading",""],["id","comment1",1,"flex-kids-x"],["svgIcon","description_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"flex-1-hemmed"],[1,"flex-kids-x"],[1,
"flex-1"],[1,"uppercase","inline-block","margin-xs-right"],["mat-stroked-button","","color","primary","class","gmat-button update-button small margin-xs-right","aria-label","Edit description",3,"click",4,"ngIf"],[3,"onedevHovercardTrigger","model"],["card",""],[3,"email"],[4,"ngIf"],["class","keep-focus-ring first-comment",3,"routerLinkObj","click",4,"ngIf"],["mode","datetime",1,"margin-s-right",3,"timestamp"],[1,"issue-detail-actions",3,"buttonLabel","menuItems"],["commentActionsMenu",""],[4,"ngIf",
"ngIfElse"],["showFirstComment",""],["mat-stroked-button","","color","primary","aria-label","Edit description",1,"gmat-button","update-button","small","margin-xs-right",3,"click"],["editDescription",""],[3,"email","showEmail"],[1,"keep-focus-ring","first-comment",3,"routerLinkObj","click"],[1,"muted",3,"matTooltip"],[1,"description-deleted"],["showNote",""],["class","critical-feature",3,"disabled","onConfirm",4,"ngIf"],[1,"critical-feature",3,"disabled","onConfirm"],["mat-flat-button","","class",
"gmat-button medium",3,"click",4,"ngIf"],["class","muted critical-feature",4,"ngIf"],["mat-flat-button","",1,"gmat-button","medium",3,"click"],["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&&(C(0,vwb,30,26,"div",0),T(1,"async"),C(2,wwb,1,0,"ng-template",null,1,jg));if(a&2){var c=Q(3);D("ngIf",V(1,2,b.firstEvent$))("ngIfElse",c)}},dependencies:[h0,l7,$M,hw,dw,hB,AS,LF,QF,tM,nA,PC,c4,XT,HQ,wT,xT,mw],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}"]});var n7=function(a,b,c,d){Y.call(this);this.prefs=a;this.cdr=b;this.analytics=c;this.butterBar=d;this.on$=this.prefs.showFullHistory$;this.isSaving=!1;this.tooltip$=this.on$.pipe(B(function(e){return e?"(Showing full history) Click for major events only":"(Showing major events) Click for full history"}),cf(""))};X(n7,Y);n7.\u0275dir=Y.\u0275dir;
n7.prototype.onClick=function(){var a=this,b;return ke(function(c){if(1==c.nextAddress)return a.isSaving?c.return():me(c,(0,W.firstValueFrom)(a.on$),2);b=c.yieldResult;a.save(!b);qe(c)})};
n7.prototype.save=function(a){var b=this;kp(this.analytics,Sp.EDIT_ISSUE,"toggleShowFullHistory",String(a));this.isSaving=!0;var c=(0,W.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(ef(this.destroyed$)).subscribe()};
n7.\u0275fac=function(a){return new (a||n7)(A(BE),A(Uu),A(MI),A(hG))};
n7.\u0275cmp=Lc({type:n7,selectors:[["smart-full-history-btn"]],features:[nf],decls:7,vars:16,consts:[["mat-icon-button","",1,"gmat-button",3,"matTooltip","disabled","click"],["svgIcon","history","class","icon-s",4,"ngIf"],[4,"ngIf"],["svgIcon","history",1,"icon-s"]],template:function(a,b){a&1&&(E(0,"button",0),M("click",function(){return b.onClick()}),T(1,"async"),T(2,"async"),T(3,"async"),T(4,"async"),C(5,xwb,1,0,"mat-icon",1)(6,ywb,1,0,"b-spinner",2),G());a&2&&(yf("on",V(1,8,b.on$)),D("matTooltip",
V(2,10,b.tooltip$))("disabled",b.isSaving),pf("aria-pressed",V(3,12,b.on$))("aria-label",V(4,14,b.tooltip$)),y(5),D("ngIf",!b.isSaving),y(),D("ngIf",b.isSaving))},dependencies:[dw,hB,nA,PC,HQ,mw],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 o7=function(a,b,c,d,e,f,h){Y.call(this);var k=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistPickerService=c;this.issueInteractionsTracking=d;this.errorHandler=e;this.liveAnnouncer=f;this.activeSession=h;this.issueTypeToDisplay=ln;this.STATUS_JS_FULL_TEXT=mn;this.STATUS_JS_TERSE=C4b;this.DUPLICATE="DUPLICATE";this.id$=new W.ReplaySubject(1);this.issue$=this.id$.pipe(df(this.issueFridge.watch));this.hotlistIds$=this.issue$.pipe(B(Iwb));this.textOfHotlistBtn$=this.hotlistIds$.pipe(B(function(q){var t;
return null!=(t=null==q?void 0:q.length)?t:0}),B(function(q){return 5>=q?"Add Hotlist":""}));this.priority$=this.issue$.pipe(B(function(q){return(null==q?void 0:q.snapshot[0].priority)||void 0}));this.type$=this.issue$.pipe(B(function(q){var t;return null!=(t=null==q?void 0:q.snapshot[0].type)?t:void 0}));this.canonicalId$=this.issue$.pipe(B(function(q){return null==q?void 0:q.snapshot[0].duplicateOfIssueId}));this.status$=this.issue$.pipe(B(function(q){return(null==q?void 0:q.snapshot[0].status)||
void 0}));this.statusForChip$=this.status$.pipe(B(function(q){return D4b[q]?q:void 0}));this.statusCssClass$=this.status$.pipe(B(function(q){return k.computeStatusCssClass(q)}));this.HOTKEYS=yq;this.enableCommentFilters=tE(this.activeSession,"enableCommentFiltering")};X(o7,Y);o7.\u0275dir=Y.\u0275dir;o7.prototype.computeStatusCssClass=function(a){return a?"status-"+a:""};
var Ewb=function(a){return ke(function(b){return me(b,UOc(a.hotlistPickerService,a.issue$),0)})},Cwb=function(a,b){var c,d;return ke(function(e){switch(e.nextAddress){case 1:return me(e,(0,W.firstValueFrom)(a.id$),2);case 2:c=e.yieldResult;EK(a.issueInteractionsTracking,c,{label:"remove-hotlists",value:1});le(e,3,4);var f=P6b(a.issueFridge,c,[],[String(b)]);return me(e,f,6);case 6:return me(e,a.liveAnnouncer.announce("Hotlist removed successfully"),4);case 4:ne(e);a.eventsForIssueFridge.poke(c);oe(e,
0);break;case 3:d=pe(e),CG(a.errorHandler,d),e.jumpTo(4)}})};Vg.Object.defineProperties(o7.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});o7.\u0275fac=function(a){return new (a||o7)(A(UI),A($H),A(N6),A(DK),A(AG),A(Ax),A(nt))};
o7.\u0275cmp=Lc({type:o7,selectors:[["issue-description-area"]],inputs:{id:"id"},features:[nf],decls:14,vars:13,consts:[[1,"flex-kids-x","gap-s"],[1,"chip-container","border-right","padded-s-right"],[4,"ngIf"],[3,"class",4,"ngIf"],[3,"issuePriority"],["class","flex-1 hotlist-container chip-container",4,"ngIf"],["class","thread-filters",4,"ngIf"],["canonicalHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"title"],["class","type-s nowrap",4,"ngIf"],
[1,"type-s","nowrap"],[3,"routerLink","onedevHovercardTrigger"],[1,"flex-1","hotlist-container","chip-container"],["mat-stroked-button","","aria-label","Add Hotlist","matTooltip","Add Hotlist",1,"gmat-button","small","add-hotlists-btn",3,"hotkey","onHotkey","click"],["svgIcon","add",1,"icon-xs"],["removable","check-acl",3,"id","removeHotlist",4,"ngFor","ngForOf"],["removable","check-acl",3,"id","removeHotlist"],[1,"thread-filters"],[3,"onedevIsHovercardReady","issueId"],["canonicalCardBody",""]],
template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1),C(2,Awb,6,10,"div",2),T(3,"async"),C(4,Bwb,2,4,"span",3),T(5,"async"),I(6,"b-issue-priority-display",4),T(7,"async"),G(),C(8,Fwb,6,5,"div",5),T(9,"async"),C(10,Gwb,2,0,"div",6),G(),E(11,"onedev-hovercard",null,7),C(13,Hwb,3,4,"b-issue-card",8),G());a&2&&(y(2),D("ngIf",V(3,5,b.statusForChip$)),y(2),D("ngIf",V(5,7,b.type$)),y(2),D("issuePriority",V(7,9,b.priority$)),y(2),D("ngIf",V(9,11,b.hotlistIds$)),y(2),D("ngIf",!b.enableCommentFilters))},dependencies:[hw,
dw,hB,XM,ZX,LF,MF,QF,NF,eW,$V,nA,PC,xF,n7,mw],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 p7=function(a,b,c,d){Y.call(this);this.preferences=a;this.activeSession=b;this.clearcut=c;this.analytics=d;this.enableCommentFilters=tE(this.activeSession,"enableCommentFiltering");this.selectedFilter=null;a=this.activeSession.isInternalSession();Ws.description=a?"Including CLs, Blunderbuss, etc.":"Including all automated comments";this.filters=wPc;this.showRecentEventsFirst=!1};X(p7,Y);p7.\u0275dir=Y.\u0275dir;
p7.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Ce(Bi),ef(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.preferences.commentFilterPreferences$.pipe(ef(this.destroyed$)).subscribe(function(b){b.commentFilter?a.selectedFilter=Qwb(b.commentFilter):(a.selectedFilter=CE(a.preferences).showFullHistory?Nwb:Ws,a.preferences.save({commentFilterPreferences:{commentFilter:a.selectedFilter.commentFilterType}}).pipe(ef(a.destroyed$)).subscribe())})};
p7.\u0275fac=function(a){return new (a||p7)(A(BE),A(nt),A(EI),A(MI))};
p7.\u0275cmp=Lc({type:p7,selectors:[["b-event-stream-header"]],features:[nf],decls:8,vars:3,consts:[[1,"flex-kids-x","flex-spread"],[1,"uppercase"],[1,"flex-kids-x"],["appearance","outline","class","filter-select",4,"ngIf"],["mat-stroked-button","","color","primary",1,"gmat-button","sort-order-button",3,"click"],[4,"ngIf"],["appearance","outline",1,"filter-select"],[3,"value","valueChange","selectionChange"],["class","filter-option",3,"value",4,"ngFor","ngForOf"],[1,"filter-option",3,"value"],[1,
"filter-option-name"],[1,"filter-option-description"],["svgIcon","arrow-downward",1,"sort-order-arrow","icon-xs"],["svgIcon","arrow-upward",1,"sort-order-arrow","icon-xs"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"h4",1),R(2,"Comments"),G(),E(3,"div",2),C(4,Kwb,5,3,"mat-form-field",3),E(5,"button",4),M("click",function(){Dsa("hasClickedCommentSortBtn")(!0);var c=!b.showRecentEventsFirst;y6b(b.clearcut,"click_recentFirst_"+c);b.preferences.save({showRecentEventsFirst:c}).pipe(ef(b.destroyed$)).subscribe()}),
C(6,Lwb,4,0,"ng-container",5)(7,Mwb,4,0,"ng-container",5),G()()());a&2&&(y(4),D("ngIf",b.enableCommentFilters),y(2),D("ngIf",!b.showRecentEventsFirst),y(),D("ngIf",b.showRecentEventsFirst))},dependencies:[hw,dw,hB,nA,dB,pN,oN,qA],styles:[".sort-order-button[_ngcontent-%COMP%]{height:24px;line-height:24px;padding-left:6px;padding-right:10px}.sort-order-button[_ngcontent-%COMP%]   .mat-button-wrapper[_ngcontent-%COMP%]{display:inline-block;height:24px}.sort-order-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;height:24px;line-height:20px}.sort-order-arrow[_ngcontent-%COMP%]{padding-right:4px;padding-bottom:4px}[_nghost-%COMP%]     .filter-select{max-width:165px;margin-right:8px}[_nghost-%COMP%]     .filter-select .mat-form-field{min-width:70px}[_nghost-%COMP%]     .filter-select .mat-form-field .mat-form-field-flex{cursor:default}[_nghost-%COMP%]     .filter-select .mat-form-field-wrapper{padding:0;margin:0}[_nghost-%COMP%]     .filter-select .mat-select-arrow-wrapper{-webkit-transform:none;transform:none}[_nghost-%COMP%]     .mat-form-field-infix{border-top-width:8px;padding:0 0 5px}[_nghost-%COMP%]     mat-select-trigger{color:#1967d2;color:var(--primary-c700);font-size:.875rem;letter-spacing:.0107142857em;font-family:Google Sans,Roboto,Arial,sans-serif;font-weight:500}[_nghost-%COMP%]     .mat-select-arrow{color:#1967d2;color:var(--primary-c700)}  .mat-select-panel .mat-option.filter-option{height:48px}.filter-option[_ngcontent-%COMP%]   .filter-option-name[_ngcontent-%COMP%], [_nghost-%COMP%]     .mat-select-value .filter-option-name{line-height:20px;font-size:.94rem}.filter-option[_ngcontent-%COMP%]   .filter-option-description[_ngcontent-%COMP%], [_nghost-%COMP%]     .mat-select-value .filter-option-description{line-height:20px;color:#5f6368;color:var(--text-muted);font-size:.8125rem}  .mat-select-panel .mat-option.filter-option.mat-active{background-color:#e8f0fe;background-color:var(--selected-bg-muted)}  .mat-select-panel .mat-option.filter-option.mat-active .filter-option-name{color:#174ea6;color:var(--primary-c900)}  .mat-select-panel .mat-option.filter-option.mat-active .filter-option-description{color:#185abc;color:var(--primary-high-contrast)}"]});
var Nwb={name:"Full history",description:"Including everything with audit trail",displayName:"Full history",commentFilterType:"FULL_HISTORY"},Ws={name:"All comments and updates",description:"Including CLs, Blunderbuss, etc.",displayName:"All comments",commentFilterType:"ALL_COMMENTS"},Owb={name:"Users' comments",description:"All human generated comments",displayName:"Users",commentFilterType:"HUMAN_ONLY"},Pwb={name:"Team and assignee comments",description:"Issue's owning team and assignee",displayName:"Team and assignee",
commentFilterType:"TEAM_AND_ASSIGNEE"},wPc=[Nwb,Ws,Owb,Pwb];var q7=function(){this.reactionState$=new W.ReplaySubject(1);this.issueId="";this.emails$=this.reactionState$.pipe(Ce(Bi),B(function(a){return a.recentResponders.map(Ki).filter(function(b){return""!==b}).slice(0,5)}))};Vg.Object.defineProperties(q7.prototype,{reactionState:{configurable:!0,enumerable:!0,set:function(a){a&&this.reactionState$.next(a)}}});q7.\u0275fac=function(a){return new (a||q7)};
q7.\u0275cmp=Lc({type:q7,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&&(E(0,"div",0)(1,"div",1),C(2,Twb,5,3,"ng-container",2),T(3,"async"),G()());a&2&&(y(2),D("ngForOf",V(3,1,b.emails$)))},dependencies:[hw,
dw,mw],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto;max-width:400px}.normal-link.unstyled-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}"]});var xPc=function(){};xPc.\u0275fac=function(a){return new (a||xPc)};xPc.\u0275cmp=Lc({type:xPc,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&&C(0,Vwb,7,2,"ng-container",0);a&2&&D("ngIf",b.event.commentLastModifiedAtDate)},dependencies:[dw,AS],encapsulation:2,changeDetection:0});var r7=function(){this.texts=[]};r7.prototype.getIssueId=function(a){return a.text};r7.prototype.trackByIndex=function(a){return a};r7.\u0275fac=function(a){return new (a||r7)};
r7.\u0275cmp=Lc({type:r7,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&&C(0,Zwb,5,3,"ng-container",0);a&2&&D("ngForOf",b.texts)("ngForTrackBy",b.trackByIndex)},dependencies:[SF,hw,iw,jw,kw,BT],encapsulation:2,changeDetection:0});var yPc=function(a){this.hotlists=a;this.HOTLIST_SEARCH=Vs.HOTLIST_SEARCH};yPc.\u0275fac=function(a){return new (a||yPc)(A(CI))};yPc.\u0275cmp=Lc({type:yPc,selectors:[["hotlist-link"]],inputs:{id:"id"},decls:3,vars:4,consts:[[3,"href"]],template:function(a,b){a&1&&(E(0,"a",0),R(1),T(2,"async"),G());if(a&2){var c;D("href",b.HOTLIST_SEARCH(b.id),Pd);y();$f((null==(c=V(2,2,b.hotlists.watch(b.id)))?null:c.name)||b.id)}},dependencies:[mw],encapsulation:2,changeDetection:0});var s7=function(a){var b=this;this.componentFridge=a;this.id$=new W.ReplaySubject(1);this.name$=this.id$.pipe(Te(),df(function(c){return b.componentFridge.watchOne(c).pipe(B(function(d){var e;return d?aVa(null==(e=d.componentPathInfo)?void 0:e.componentPathName,c):c}))}))};s7.prototype.ngOnChanges=function(){this.id$.next(this.id)};s7.\u0275fac=function(a){return new (a||s7)(A(oH))};
s7.\u0275cmp=Lc({type:s7,selectors:[["plain-component-path"]],inputs:{id:"id"},features:[ed],decls:6,vars:4,consts:[[3,"onedevHovercardTrigger"],["thisHovercard","onedevHovercard"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"],["cardBody",""]],template:function(a,b){a&1&&(E(0,"span",0),R(1),T(2,"async"),G(),E(3,"onedev-hovercard",null,1),C(5,$wb,3,2,"ng-container",2),G());if(a&2){var c=Q(4);D("onedevHovercardTrigger",c);y();$f(V(2,2,b.name$)||b.id)}},dependencies:[LF,MF,
QF,NF,IT,mw],encapsulation:2,changeDetection:0});var xxb=function(a){return{"bv2-diff-newvalue-nextline":a}},Rxb=function(a,b,c){return{diff:a,change:b,isLast:c}},t7=function(a,b){Y.call(this);this.activeSession=a;this.preferences=b;this.customFieldMap={};this.effortEnabled=!0;this.isStringArray=Wh;this.isLinkedItemArray=RBa;this.isIssueDiff=OBa;this.isHotlistDiff=PBa};X(t7,Y);t7.\u0275dir=Y.\u0275dir;
var zPc=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)},APc=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)};t7.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Ce(Bi),ef(this.destroyed$)).subscribe(function(b){2>a.internalDiffs.length||(b&&zPc(a)||!b&&APc(a))&&a.internalDiffs.reverse()})};t7.prototype.trackByIndex=function(a){return a};
var cyb=function(a,b,c){return"<none>"===Vda(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"DATE"===a.customFieldMap[b.customFieldId].type?!0:!1},dyb=function(a,b,c){return"<none>"===Vda(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"REPEATED_DATE"===a.customFieldMap[b.customFieldId].type?!0:!1};t7.prototype.asNumber=function(a){return Number(a)};
t7.prototype.customFieldName=function(a){if(a.customFieldId){var b;return(null==(b=this.customFieldMap[a.customFieldId])?void 0:b.customFieldName)||"customfield"+a.customFieldId}return""};Vg.Object.defineProperties(t7.prototype,{diffs:{configurable:!0,enumerable:!0,set:function(a){this.internalDiffs=[].concat(r(a))}}});t7.\u0275fac=function(a){return new (a||t7)(A(nt),A(BE))};
t7.\u0275cmp=Lc({type:t7,selectors:[["b-issue-event-details"]],inputs:{diffs:"diffs",customFieldMap:"customFieldMap",effortSpecName:"effortSpecName",effortEnabled:"effortEnabled"},features:[nf],decls:6,vars:2,consts:[[1,"bv2-event-details"],["class","bv2-diff-row",4,"ngFor","ngForOf","ngForTrackBy"],["changeCollection",""],["effortNameDisabled",""],[1,"bv2-diff-row"],[4,"ngIf"],["mode","time",1,"float-right",3,"timestamp"],[3,"ngSwitch"],["class","bv2-diff-detail",4,"ngSwitchCase"],["class","bv2-diff-detail",
4,"ngSwitchDefault"],[1,"bv2-diff-detail"],[4,"ngIf","ngIfElse"],["nonEffortFieldNames",""],[1,"bv2-diff-arrow"],[3,"email","showEmail"],[3,"id"],["mode","date",3,"timestamp",4,"ngIf"],["mode","date",3,"timestamp"],[3,"email","showEmail",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["title","For more detail, click on the three-dot menu near status update",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["title","For more detail, click on the three-dot menu near status update"],
[1,"muted","inline-block","margin-none","unhandled-diff-type"],["notIssue",""],[3,"href","issueId"],["plainLink",""],["target","_blank",3,"href"]],template:function(a,b){a&1&&(E(0,"div",0),C(1,tyb,2,1,"div",1),G(),C(2,Cyb,1,1,"ng-template",null,2,jg)(4,Dyb,2,0,"ng-template",null,3,jg));a&2&&(y(),D("ngForOf",b.internalDiffs)("ngForTrackBy",b.trackByIndex))},dependencies:[gw,hw,dw,lw,iw,jw,kw,AS,wT,SF,yPc,s7,qw],styles:["/*# sourceMappingURL=issue_event_details.css.map */"],changeDetection:0});var u7=function(a){Y.call(this);var b=this;a.textDisplayPreferencesSubject$.pipe(ef(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:Nh(c.commentDisplayOverride)}})};X(u7,Y);u7.\u0275dir=Y.\u0275dir;
u7.prototype.ngOnInit=function(){};u7.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";BPc(this);this.audience=this.issueAccessLevel&&"INTERNAL"===this.issueAccessLevel?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE";this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber};
var BPc=function(a){if(2>a.rawComment.split("\n").slice(0,3).filter(Boolean).length)a.rawComment=mFa(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")}};u7.\u0275fac=function(a){return new (a||u7)(A(BE))};
u7.\u0275cmp=Lc({type:u7,selectors:[["b-summarized-note-container"]],inputs:{note:"note",issueId:"issueId",formattingMode:"formattingMode",issueAccessLevel:"issueAccessLevel"},features:[nf,ed],decls:1,vars:5,consts:[[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&I(0,"b-live-preview",0);a&2&&D("comment",b.rawComment)("issueId",b.issueId)("audience",b.audience)("formattingMode",b.formattingModeOverride||b.formattingMode)("idPrefix",b.idPrefix)},dependencies:[HM],
styles:["[_nghost-%COMP%]     b-live-preview .md-preview{background-color:#fff;background-color:var(--background);padding:0}"]});var CPc=["commentActionsMenu"],DPc=["commentReactionButton"],Myb=function(){return[]},bzb=function(a){return{"no-upvote-reactions":a}},v7=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z){Y.call(this);var la=this;this.documentationLinks=a;this.activeSession=b;this.issueReferenceResolver=c;this.commentService=d;this.el=e;this.userAccess=f;this.butterBar=h;this.errorHandler=k;this.analytics=q;this.userPreferencesManager=t;this.issueDetailsBrain=w;this.editIssueService=z;this.issuePermissionService=F;
this.commentHistoryDialogService=J;this.issueCommentDialogsService=H;this.dateFormatter=O;this.paths=P;this.domSafe=U;this.eventsForIssueFridge=Z;this.isSummarized=!1;this.issueId$=new W.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Te());this.event$=new W.ReplaySubject(1);this.isCommentEvent=Cn;this.isNonObfuscatedEmail=Bn;this.commentActionMenuItems$=new W.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(){la.formattingMode="PLAIN";la.initializeActionsMenu()},label:"Classic",selected:!0},a.MARKDOWN={type:"select",action:function(){la.formattingMode="MARKDOWN";la.initializeActionsMenu()},label:"Markdown",selected:!1},a.LITERAL={type:"select",action:function(){la.formattingMode="LITERAL";la.initializeActionsMenu()},label:"Source",selected:!1},
a);this.isFormattingOverrideEnabled=!1;this.canEditComment$=this.event$.pipe(df(function(oa){return la.issuePermissionService.canEditComment$(oa)}),af({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!om(la.canEditComment$)};this.commentHistoryEnabled=tE(this.activeSession,"enableCommentHistoryUi");this.commentReactionsEnabled=tE(this.activeSession,"enableCommentReaction");this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;
this.teamId$=this.issueDetailsBrain.teamId$;this.issue$=this.distinctIssueId$.pipe(df(function(oa){return la.editIssueService.editableIssue$(oa)}));this.modifiedDateDisplay$=this.event$.pipe(B(function(oa){return new Date(oa.modifiedDate)}),df(function(oa){return zS(la.dateFormatter,oa)}));this.ariaLabelHeading$=(0,W.combineLatest)([this.event$,this.modifiedDateDisplay$]).pipe(B(function(oa){var Fa=l(oa);oa=Fa.next().value;Fa=Fa.next().value;if(null==oa)oa="";else{var Ta=[];oa.commentNumber&&Ta.push("Comment #"+
oa.commentNumber);oa.userPerformingActionUser&&Ta.push(Gi(oa.userPerformingActionUser));Ta.push("Modified: "+Fa);oa=Ta.join(", ")}return oa}));this.ReactionType=p1b;this.upvoteReactionCount$=this.event$.pipe(B(function(oa){var Fa,Ta,Pa;return null!=(Pa=null==(Fa=oa.commentReactions)?void 0:null==(Ta=Fa.get("UPVOTE"))?void 0:Ta.count)?Pa:0}));this.upvoteReactionCountDisplayString$=this.upvoteReactionCount$.pipe(B(function(oa){return oa&&0!==oa?999<oa?"999+":String(oa):null}));this.noUpvoteReactions$=
this.upvoteReactionCount$.pipe(B(function(oa){return 0===oa}));this.commentReactionsHovercardConfig=Object.assign({},new OF,{position:[p4b]});this.commentReactionIsSaving=!1;this.showRecentEventsFirst$=this.userPreferencesManager.showRecentEventsFirst$;this.showFullHistoryFromFiltering$=this.userPreferencesManager.commentFilterPreferences$.pipe(B(function(oa){var Fa;return null!=(Fa=oa.commentFilter)?Fa:""}));this.isFullHistoryPreference$=this.showFullHistoryFromFiltering$.pipe(B(function(oa){return"FULL_HISTORY"===
oa}));this.preEventDiffs$=(0,W.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(B(function(oa){oa=l(oa);var Fa=oa.next().value;return oa.next().value?Fa.postDiffs:Fa.preDiffs}));this.postEventDiffs$=(0,W.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(B(function(oa){oa=l(oa);var Fa=oa.next().value;return oa.next().value?Fa.preDiffs:Fa.postDiffs}));this.hasAclToUpvoteReact$=(0,W.combineLatest)([this.event$,this.issuePermissionService.hasAclToComment$]).pipe(B(function(oa){var Fa=
l(oa);oa=Fa.next().value;Fa=Fa.next().value;var Ta,Pa;return(null==(Ta=oa.commentReactions)?void 0:null==(Pa=Ta.get("UPVOTE"))?void 0:Pa.hasReacted)||Fa}));this.showCommentReactionHovercard$=(0,W.combineLatest)([this.issuePermissionService.hasAclToEdit$,this.upvoteReactionCount$]).pipe(B(function(oa){var Fa=l(oa);oa=Fa.next().value;Fa=Fa.next().value;return oa&&0<Fa&&5>=Fa}));this.isShowingCommentTimestamp$=this.isFullHistoryPreference$.pipe(B(function(oa){return oa&&jzb(la)&&(0<la.event.preDiffs.length||
0<la.event.postDiffs.length)}));this.getCommentNumberLink=function(oa){return Kn(la.issueId,{comment:oa})}};X(v7,Y);v7.\u0275dir=Y.\u0275dir;
v7.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(ef(this.destroyed$)).subscribe(function(){Cn(a.event)&&a.isRestricted()?a.mayReadPii$=a.mayReadPii():a.mayReadPii$=(0,W.of)(void 0)});EPc(this);this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(ef(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=
null!=b.commentDisplayOverride;a.initializeActionsMenu()});this.issueDetailsBrain.canonicalIssueId$.pipe(ef(this.destroyed$)).subscribe(function(b){a.canonicalIssueId=b;a.initializeActionsMenu()});this.canEditComment$.pipe(ef(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.issuePermissionService.canChangeCommentRetention$.pipe(ef(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
var EPc=function(a){if(a.formattingMode){for(var b=l(Object.values(a.formattingModeMenuItems)),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.formattingModeMenuItems[a.formattingMode].selected=!0}};g=v7.prototype;
g.updateCommentRetention=function(a){var b=this;this.event.commentNumber||BG(this.errorHandler,"Comment number is missing");kp(this.analytics,Sp.RESTRICTED_CONTENT,"updateRetention","comment");this.commentService.updateRetention(this.issueId,this.event.commentNumber||0,a).pipe(ef(this.destroyed$)).subscribe({next:function(c){var d;b.event=Object.assign({},b.event,{commentRetention:c.piiRetention,commentRetentionState:null!=(d=c.piiRetentionState)?d:null});Ks(b.butterBar,"Comment retention updated",
4E3);b.commentRetentionOverride="INDEFINITE"===a?"INDEFINITE":"COMPONENT_DEFAULT";b.initializeActionsMenu()},error:function(){BG(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 eua(Tj(this.event.commentContentVerdict))};g.isRestricted=function(){if(!this.isInternalSession)return!1;var a=Tj(this.event.commentContentVerdict);switch(a){case "NONE_DETECTED":case "RESTRICTION_SEVERITY_UNSPECIFIED":return!1;case "RESTRICTED":case "RESTRICTED_PLUS":return!0;default:Nh(a)}};
g.isDeleted=function(){return"DELETED"===this.event.commentDeletionStatus};var Ys=function(a){var b;return(null==(b=a.event)?void 0:b.commentRedacted)&&!a.deobfuscatedEvent};
v7.prototype.loadRestrictedComment=function(){var a=this;kp(this.analytics,Sp.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var b=this.event.commentNumber||0;this.commentService.get(String(this.issueId),b,Tj(this.event.commentContentVerdict)).pipe(Ue()).subscribe(function(c){a.deobfuscatedEvent=YBa(a.event,c);a.initializeActionsMenu()},function(c){var d;a.butterBar.showWarning("Error showing comment "+b+": "+(null==(d=c.error)?void 0:d.message))})};
v7.prototype.initializeActionsMenu=function(){var a=this,b=[];if(this.isCommentEvent(this.event)&&(this.isFormattingOverrideEnabled||(b.push({type:"submenu",label:"View as",items:[this.formattingModeMenuItems.PLAIN,this.formattingModeMenuItems.MARKDOWN,this.formattingModeMenuItems.LITERAL]}),EPc(this)),this.canEditComment()&&b.push({type:"action",action:function(){Xs(a.issueCommentDialogsService,String(a.issueId),a.deobfuscatedEvent||a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},
label:"Edit comment",disabled:Ys(this)}),this.commentHistoryEnabled&&0<(this.event.commentVersion||0)&&!Ys(this)&&b.push({type:"action",action:function(){a.event.commentNumber&&a.showCommentHistoryDialog(a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Show comment history"}),!this.canonicalIssueId||this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){var d=a.paths.editIssue(a.canonicalIssueId,{template_issue:a.issueId,
template_comment:a.event.commentNumber,do_attribution:!0});a.domSafe.openInNewTab(d);a.commentActionsMenu.actionsMenuIconButton.focus()},label:"Copy to canonical issue",disabled:Ys(this)}),this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){ywc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Copy comment to",disabled:Ys(this)}),i8b(this.issuePermissionService,
this.event)&&b.push({type:"action",action:function(){Dwc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber,a.event.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete comment"}),h8b(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){Awc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore comment"}),this.isInternalSession&&
b.push({type:"action",action:function(){Ewc(a.issueCommentDialogsService,String(a.issueId),a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restriction settings"}),this.isInternalSession&&this.isRestricted()&&this.issuePermissionService.canChangeCommentRetention()&&!this.isDeleted())){var c="COMPONENT_DEFAULT"===this.commentRetentionOverride;b.push({type:"action",action:function(){var d=c?"INDEFINITE":"COMPONENT_DEFAULT";Fwc(a.issueCommentDialogsService,"comment",
d).then(function(e){a.commentActionsMenu.actionsMenuIconButton.focus();e&&a.updateCommentRetention(d)})},label:c?"Match issue retention":"Revert to component retention"})}this.commentActionMenuItems$.next(b)};v7.prototype.getUserEmailIfAvailable=function(){return Ki(this.event.userPerformingActionUser)};var jzb=function(a){return Cn(a.event)&&!!a.event.unlinkifiedComment};v7.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.issueId,a,-1)};
v7.prototype.mayReadPii=function(){var a=zH(this.userAccess,"reader","issues/"+this.issueId+"/comments/"+this.event.commentNumber);a.catch(function(b){Xj("error: ",b);return!1});return(0,W.from)(a)};
var $yb=function(a){if(om(a.hasAclToUpvoteReact$)){a.commentReactionIsSaving=!0;var b=czb(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);RG(a.eventsForIssueFridge,a.issueId,function(f){var h;f.events=ZBa(f.events,null!=(h=a.event.commentNumber)?h:2,{commentReactions:d})});kp(a.analytics,
Sp.EDIT_ISSUE,"click",b?"removeUpvoteReaction":"addUpvoteReaction")}})}},czb=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},azb=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};
Vg.Object.defineProperties(v7.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){this.internalEvent=a;this.event$.next(a)},get:function(){return this.internalEvent}}});v7.\u0275fac=function(a){return new (a||v7)(A(jG),A(nt),A(IF),A(mK),A(Ad),A(xH),A(hG),A(AG),A(MI),A(BE),A(GK),A(aL),A(IK),A(FT),A(vZ),A(yS),A(iI),A(IE),A($H))};
v7.\u0275cmp=Lc({type:v7,selectors:[["b-history-event"]],viewQuery:function(a,b){a&1&&(Uf(CPc,5),Uf(DPc,5));if(a&2){var c;Yf(c=Zf())&&(b.commentActionsMenu=c.first);Yf(c=Zf())&&(b.commentReactionButton=c.first)}},inputs:{issueId:"issueId",issueAccessLevel:"issueAccessLevel",isSummarized:"isSummarized",event:"event"},features:[nf,ed],decls:2,vars:3,consts:[[4,"ngIf"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"bv2-event-content-cell"],[1,"bv2-event-user"],[3,"user","email",
"teamId"],[4,"ngIf","ngIfElse"],["emailDisplay",""],["class","bv2-edit-comment-button","matTooltip","Edit Comment","aria-label","Edit Comment",3,"click",4,"ngIf"],[1,"bv2-event-info"],["content-type","comment",3,"label","retention","retentionState",4,"ngIf"],["mode","datetime",3,"timestamp"],["class","issue-detail-actions",3,"buttonLabel","menuItems",4,"ngIf"],[1,"float-clear"],["class","bv2-event-major-status",4,"ngIf"],[3,"diffs","customFieldMap","effortSpecName","effortEnabled",4,"ngIf"],[1,"bv2-event-note-container",
"critical-feature"],[1,"flex-kids-x","space-between"],["class","muted italic",4,"ngIf"],[3,"disabled","onConfirm",4,"ngIf"],[1,"flex-kids-y","flex-1-hemmed"],[3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],[1,"flex-kids-y","justify-space-between"],[1,"comment-timestamp"],["mode","time","class","muted type-s",3,"timestamp",4,"ngIf"],["class","align-self-flex-end",4,"ngIf"],["class","bv2-event-note-edit-timestamp",4,"ngIf"],["class","margin-s-y border-top bv2-issue-event-attachments",
4,"ngIf"],[1,"bv2-event-user-name",3,"model"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],[1,"bv2-event-user-id"],[1,"keep-focus-ring","vertical-centered","comment-number",3,"routerLinkObj","click"],["matTooltip","Edit Comment","aria-label","Edit Comment",1,"bv2-edit-comment-button",3,"click"],["content-type","comment",3,"label","retention","retentionState"],[1,"issue-detail-actions",3,"buttonLabel","menuItems"],["commentActionsMenu",""],[1,"bv2-event-major-status"],
[3,"texts"],[3,"diffs","customFieldMap","effortSpecName","effortEnabled"],[1,"muted","italic"],[3,"disabled","onConfirm"],[3,"issueId","issueAccessLevel","note","formattingMode"],["mat-button","",1,"summarized-note-button",3,"click"],["svgIcon","arrow-down",1,"icon-m"],["svgIcon","arrow-up",1,"icon-m"],["mode","time",1,"muted","type-s",3,"timestamp"],[1,"align-self-flex-end"],["mat-stroked-button","",1,"comment-reaction-button",3,"ariaLabel","ngClass","onedevHovercardTrigger","onedevHovercardConfig",
"onedevHovercardActive","click"],["commentReactionButton",""],["svgIcon","thumb_up_24px","class","icon-s",4,"ngIf"],["svgIcon","thumb_up_filled_24px","class","icon-s has-reacted-icon",4,"ngIf"],["commentReactionCard","onedevHovercard"],[3,"reactionState","issueId","commentNumber",4,"ngIf"],["svgIcon","thumb_up_24px",1,"icon-s"],["svgIcon","thumb_up_filled_24px",1,"icon-s","has-reacted-icon"],[3,"reactionState","issueId","commentNumber"],[1,"bv2-event-note-edit-timestamp"],[3,"event"],[3,"click",4,
"ngIf"],[3,"click"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],["class","margin-s-y bv2-issue-event-attachment",3,"id",4,"ngFor","ngForOf"],[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,"issueId","attachment","attachmentUploader"]],template:function(a,b){a&1&&(C(0,kzb,41,29,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.issue$))},dependencies:[h0,l7,$M,gw,hw,dw,lw,hB,AS,LF,QF,t7,tM,a4,c4,XT,yT,xT,CT,PC,u7,nA,q7,xPc,r7,mw],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 FPc={FULL:"full",SUMMARIZED:"summarized",FOLDED:"folded",HIDDEN:"hidden"},w7=function(a,b,c,d,e,f,h,k,q,t,w){Y.call(this);var z=this;this.formattedCommentsForIssueFridge=a;this.preferences=b;this.eventsForIssue=c;this.dynamicScrollIntoView=d;this.bLocation=e;this.elementRef=f;this.activeSession=h;this.routerEvents=k;this.analytics=q;this.teamFridge=t;this.issueFridge=w;this.issueId$=new W.ReplaySubject(1);this.internalIssueId="";this.eventDisplayModes=FPc;this.internalEvents=[];this.showRecentEventsFirst=
null;this.currentFilterLevel="FULL_HISTORY";this.enableCommentFiltering=tE(this.activeSession,"enableCommentFiltering");this.issue$=this.issueId$.pipe(df(this.issueFridge.watch));this.events$=new W.ReplaySubject(1);this.commentsToFormat$=new W.ReplaySubject(1);this.eventDisplayMode=new Map;this.commentNumbersDisplayed=new Set;this.foldedCommentsCounts=new Map;this.authoritativeEmails=new Set;this.authoritativeEmails$=this.preferences.commentFilterPreferences$.pipe(df(function(F){var J=new Set;return"TEAM_AND_ASSIGNEE"!==
F.commentFilter?(0,W.of)(J):z.issue$.pipe(df(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 Z;J.add(null==H?void 0:null==(Z=H.snapshot[0].verifierUser)?void 0:Z.emailAddress)}var la;if(void 0===(null==H?void 0:null==(la=H.aggregatedData)?void 0:la.teamId))return(0,W.of)(J);
var oa;return GPc(z,String(null==H?void 0:null==(oa=H.aggregatedData)?void 0:oa.teamId)).pipe(df(function(Fa){Fa=l(Fa);for(var Ta=Fa.next();!Ta.done;Ta=Fa.next())J.add(Ta.value);return(0,W.of)(J)}))}))}));this.isLoading$=(0,W.combineLatest)([this.formattedCommentsForIssueFridge.thinking$,this.eventsForIssue.thinking$]).pipe(Se(0),B(function(F){var J=l(F);F=J.next().value;J=J.next().value;return F||J}));this.sendAnalytics=Fu(function(){var F=[].concat(r(document.querySelectorAll(".bv2-event-note, .bv2-event-major-status"))).map(function(J){return J.innerText}).join("").length;
kp(z.analytics,Sp.EDIT_ISSUE,"updateCommentThread","visibleCharCount",F)},200);this.scrollToCommentOrAttachment=Fu(function(){var F=z.bLocation.hash();if(F&&z.internalEvents){var J,H=l(null!=(J=F.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"===F){H=dCa(z.internalEvents);if(-1===H)return;P=String(H);H="comment"}if(H&&P){if(F=z.internalEvents.findIndex(function(U){return U.commentNumber===Number(P)}),J=-1<F,O=z.internalEvents.flatMap(function(U){return U.attachments}).some(function(U){return U.attachmentId===
Number(P)}),J||O)J&&"folded"===z.eventDisplayMode.get(F)&&(z.eventDisplayMode.set(F,"full"),HPc(z,F)),O&&(F=z.internalEvents.findIndex(function(U){return-1<U.attachments.findIndex(function(Z){return Z.attachmentId===Number(P)})}),z.eventDisplayMode.get(F)||(z.eventDisplayMode.set(F,"full"),HPc(z,F))),mPc(z.dynamicScrollIntoView,{elementId:H+P,parentElement:z.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(ef(z.destroyed$)).subscribe()}else mPc(z.dynamicScrollIntoView,
{elementId:F,parentElement:z.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(ef(z.destroyed$)).subscribe()}},200)};X(w7,Y);w7.\u0275dir=Y.\u0275dir;
w7.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.authoritativeEmails$.subscribe(function(b){a.authoritativeEmails=b}));this.preferences.showRecentEventsFirst$.pipe(Ce(Bi),ef(this.destroyed$),Te()).subscribe(function(b){a.showRecentEventsFirst!==b&&(a.showRecentEventsFirst=b,IPc(a))});(0,W.combineLatest)([this.events$,this.preferences.commentFilterPreferences$,this.authoritativeEmails$]).subscribe(function(b){b=l(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,JPc(a,c,d.commentFilter,e),KPc(a),c=l(a.commentNumbersDisplayed.values()),d=c.next();!d.done;d=c.next())b.push(a.internalIssueId+"-"+d.value);else for(c=l(c),d=c.next();!d.done;d=c.next())(d=d.value)&&d.commentNumber&&b.push(a.internalIssueId+"-"+d.commentNumber);a.commentsToFormat$.next(b)});this.commentsToFormat$.pipe(Ce(Bi),ef(this.destroyed$),df(this.formattedCommentsForIssueFridge.watchSet)).subscribe(function(b){LPc(a,
b)});this.routerEvents.navigationEnd$.pipe(ef(this.destroyed$)).subscribe(function(){a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()})};
var LPc=function(a,b){for(var c={i$jscomp$1170:0};c.i$jscomp$1170<a.internalEvents.length;c={i$jscomp$1170:c.i$jscomp$1170},c.i$jscomp$1170++)if(pzb(a.eventDisplayMode.get(c.i$jscomp$1170))&&Cn(a.internalEvents[c.i$jscomp$1170])){var d=b.find(function(f){return function(h){return h.id.commentId===a.internalEvents[f.i$jscomp$1170].commentNumber}}(c));if(d){var e=a.internalEvents[c.i$jscomp$1170];e.formattedComment=d.formattedComment.formattedComment;e.formattingMode=d.formattedComment.formattingMode;
a.internalEvents[c.i$jscomp$1170]=Object.assign({},e)}}IPc(a)},JPc=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=MPc(b[c]);a.eventDisplayMode.set(c,e?"full":"hidden");Cn(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=NPc(b[c]),a.eventDisplayMode.set(c,e?"full":"hidden"),
Cn(b[c])&&b[c].commentNumber&&e&&(e=void 0,a.commentNumbersDisplayed.add(null!=(e=b[c].commentNumber)?e:0));break;case "HUMAN_ONLY":OPc(a,b,function(f){var h;return null!=(h=UBa(f.userPerformingAction)&&f.isMajorEvent)?h:!0});break;case "TEAM_AND_ASSIGNEE":OPc(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"),Cn(b[c])&&b[c].commentNumber&&(e=void 0,a.commentNumbersDisplayed.add(null!=(e=
b[c].commentNumber)?e:0))}a.sendAnalytics()},KPc=function(a){if("FULL_HISTORY"!==a.currentFilterLevel)for(var b=0;b<a.internalEvents.length;b++)Cn(a.internalEvents[b])&&tCa(a.internalEvents[b])&&(a.eventDisplayMode.set(b,"summarized"),HPc(a,b))},OPc=function(a,b,c){for(var d=0,e=0,f=0,h=0;h<b.length;h++){var k=c(b[h]);a.eventDisplayMode.set(h,k?"full":"folded");if(k){if(0<d||0<e)a.foldedCommentsCounts.has(f)||a.foldedCommentsCounts.set(f,{commentFoldedCount:d,eventFoldedCount:e});e=d=0;Cn(b[h])&&
b[h].commentNumber&&(k=void 0,a.commentNumbersDisplayed.add(null!=(k=b[h].commentNumber)?k:0))}else{if(Cn(b[h])&&b[h].commentNumber||Dn(b[h]))d++,f=h;e++}}if(0<d||0<e)b=1===dCa(a.internalEvents)?a.showRecentEventsFirst?0:a.internalEvents.length:PPc(a),a.foldedCommentsCounts.set(b,{commentFoldedCount:d,eventFoldedCount:e})},PPc=function(a){return yaa(a.internalEvents,function(b){var c;return null!=(c=b.isMajorEvent)?c:!1})},MPc=function(a){return Cn(a)&&!!a.unlinkifiedComment||Dn(a)||0<a.preDiffs.length||
0<a.postDiffs.length},NPc=function(a){var b;return(null!=(b=a.isMajorEvent)?b:!1)&&(Cn(a)&&!!a.unlinkifiedComment||Dn(a)||0<a.preDiffs.length||0<a.postDiffs.length)},IPc=function(a){if(!(2>a.internalEvents.length)){if(a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate<=QPc(a,a.internalEvents).modifiedDate||!a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate>=QPc(a,a.internalEvents).modifiedDate)if(a.internalEvents.reverse(),a.enableCommentFiltering){var b;JPc(a,a.internalEvents,null!=
(b=a.currentFilterLevel)?b:"FULL_HISTORY",a.authoritativeEmails);KPc(a)}a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()}},QPc=function(a,b){var c;return null!=(c=b.find(function(d){return a.internalEvents[0].modifiedDate!==d.modifiedDate}))?c:b[1]};w7.prototype.trackEventByVersion=function(a,b){return b.version};
var HPc=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(r(a.foldedCommentsCounts.entries())).sort(function(k,q){return k[0]-q[0]})),e=l(e.entries()),f=e.next();!f.done;f=e.next())if(h=
l(f.value),f=h.next().value,h=h.next().value,f>b){if(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++)(Cn(a.internalEvents[c])||Dn(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}},
pzb=function(a){return"summarized"===a||"full"===a},GPc=function(a,b){var c=new Set;return a.teamFridge.watch(b).pipe(B(function(d){if(void 0!==d){d=l(d.members.map(function(f){return f.user.emailAddress}).filter(Bi));for(var e=d.next();!e.done;e=d.next())c.add(e.value)}return c}))};
Vg.Object.defineProperties(w7.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(r(b));b=Object.assign({},b[0],{attachments:[],commentNumber:null,formattedComment:void 0,taggedSummary:[],isMajorEvent:!1});a[0]=b}a&&!DBa(this.internalEvents,a)&&(this.internalEvents=a,this.events$.next(a))}}});
w7.\u0275fac=function(a){return new (a||w7)(A(fI),A(BE),A($H),A(a7),A(hI),A(Ad),A(nt),A(LI),A(MI),A(VJ),A(UI))};
w7.\u0275cmp=Lc({type:w7,selectors:[["b-event-stream"]],inputs:{issueAccessLevel:"issueAccessLevel",showFullHistory:"showFullHistory",issueId:"issueId",events:"events"},features:[nf],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&&(C(0,lzb,2,0,"aside",0),T(1,"async"),E(2,"div",1),C(3,qzb,3,2,"ng-container",2),G(),C(4,rzb,2,0,"aside",0),T(5,"async"));a&2&&(D("ngIf",b.showRecentEventsFirst&&V(1,4,b.isLoading$)),y(3),D("ngForOf",b.internalEvents)("ngForTrackBy",b.trackEventByVersion),y(),D("ngIf",!b.showRecentEventsFirst&&V(5,6,b.isLoading$)))},dependencies:[hw,dw,v7,nA,HQ,mw],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 x7=function(a,b){this.message=a;this.snackbarRef=b;this.DEFAULT_MESSAGE="New data is available. Click to refresh."};x7.prototype.onDismiss=function(a){this.snackbarRef.dismiss();a.stopPropagation()};x7.\u0275fac=function(a){return new (a||x7)(A($1b),A(ME))};
x7.\u0275cmp=Lc({type:x7,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&&(E(0,"div",0),M("click",function(){return RAa(b.snackbarRef)}),
I(1,"mat-icon",1),E(2,"p",2),R(3),G()(),E(4,"button",3),M("click",function(c){return b.onDismiss(c)}),I(5,"mat-icon",4),G());a&2&&(y(3),S(" ",b.message||b.DEFAULT_MESSAGE," "))},dependencies:[hB,nA],styles:[".mat-snack-bar-container.refresh-data-notification{padding:0;min-height:auto;border-radius:8px;background-color:rgba(0,0,0,0);width:480px}.refresh-data-notification-container{border-radius:8px;background-color:#1a73e8;background-color:var(--primary);color:#fff;cursor:pointer;display:flex;padding:8px 32px 8px 12px}.refresh-data-notification-dismiss-button{position:absolute;right:8px;top:8px}.refresh-data-notification-dismiss-button .mat-icon{color:#fff}/*# sourceMappingURL=refresh_data_notification.css.map */\n"],
encapsulation:2});var y7=function(a){this.snackbar=a},RPc=function(a){var b=yq.REFRESH_ISSUE.displayAs,c={panelClass:"refresh-data-notification",data:"New comment available"};b&&(c.announcementMessage="New comment available. ",c.announcementMessage+="Press "+b+" to fetch new data.");a.currentSnackBar=a.snackbar._attach(x7,c);return a.currentSnackBar};y7.\u0275fac=function(a){return new (a||y7)(p(SE))};y7.\u0275prov=vc({token:y7,factory:y7.\u0275fac,providedIn:"root"});var z7=function(a,b,c,d,e,f,h,k,q,t,w){Y.call(this);var z=this;this.eventsForIssue=a;this.issueFetchResponseFridge=b;this.preferences=c;this.activeSession=d;this.commentHistoryDialogService=e;this.issueDetailsBrain=f;this.errorHandler=h;this.refreshDataNotification=k;this.eventsForIssueWatcher=q;this.analytics=t;this.appEvents=w;this.id$=new W.ReplaySubject(1);this.events$=this.id$.pipe(df(this.eventsForIssue.watch),B(function(F){var J;return null!=(J=null==F?void 0:F.events)?J:[]}));this.issue$=
this.id$.pipe(df(function(F){return YI(z.issueFetchResponseFridge,F)}));this.accessLevel$=this.issue$.pipe(B(function(F){var J,H;return null==F?void 0:null==(J=F.issue)?void 0:null==(H=J.accessLimit)?void 0:H.accessLevel}));this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(B(function(F){return F&&tE(z.activeSession,"enableImageSummary")}),cf(!0))};X(z7,Y);z7.\u0275dir=Y.\u0275dir;
z7.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=om(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(uwc(this.eventsForIssueWatcher,om(this.id$)).subscribe(function(){SPc(a)}));this.subscriptions.add(this.events$.subscribe(function(){var b;
null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()}));this.destroyed$.pipe(Ue()).subscribe(function(){var b;null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()})};
var SPc=function(a){kp(a.analytics,Sp.PUSH_UPDATE,"display","comment");RPc(a.refreshDataNotification)._afterDismissed.subscribe(function(b){b.dismissedByAction?(kp(a.analytics,Sp.PUSH_UPDATE,"fetchResource","comment"),ZI(a.issueFetchResponseFridge,om(a.id$)),a.eventsForIssue.poke(om(a.id$)),a.appEvents.scrollToCommentBox.next()):kp(a.analytics,Sp.PUSH_UPDATE,"dismiss","comment")})};Vg.Object.defineProperties(z7.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});
z7.\u0275fac=function(a){return new (a||z7)(A($H),A(XI),A(BE),A(nt),A(FT),A(GK),A(AG),A(y7),A(sZ),A(MI),A(RH))};
z7.\u0275cmp=Lc({type:z7,selectors:[["issue-event-list"]],inputs:{id:"id"},features:[nf],decls:6,vars:15,consts:[[3,"issueId","events","issueAccessLevel","showFullHistory"]],template:function(a,b){a&1&&(I(0,"b-event-stream",0),T(1,"async"),T(2,"async"),T(3,"async"),T(4,"async"),T(5,"async"));a&2&&(D("issueId",V(2,7,b.id$))("events",V(3,9,b.events$))("issueAccessLevel",V(4,11,b.accessLevel$))("showFullHistory",V(5,13,b.preferences.showFullHistory$)),pf("data-will-inline-screenshots",V(1,5,b.enableInlineScreenshots$)?
!0:null))},dependencies:[w7,mw],styles:["[_nghost-%COMP%]     .bv2-edit-issue-history-stream {\n      padding-left: 0;\n    }"]});var Ezb=function(a,b){return{empty:a,"never-focused":b}},A7=function(a,b,c,d,e,f,h,k,q,t,w,z,F){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=k;this.appEvents=q;this.bannedWordsChecker=t;this.componentFridge=w;this.currentTracker=z;this.butterBar=F;this.issueId$=new W.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Te());this.issue$=
this.distinctIssueId$.pipe(df(function(H){return J.editIssueService.editableIssue$(H)}));this.wasFocused=!1;this.commentButtonStyle="fill";this.enableRecaptcha=this.activeSession.userRequiresCaptcha();this.enableNewVisibilityChips=tE(this.activeSession,"enableNewVisibilityChips");this.recaptchaResponse$=new W.BehaviorSubject("");this.commentSubmitted=new zv;this.issueComponent$=this.issue$.pipe(df(function(H){return J.componentFridge.watch(null==H?void 0:H.componentId)}));this.issueAccessLimitLevel$=
this.issuePermissionService.accessLimitLevel$.pipe(B(function(H){return null!=H?H:"LIMIT_NONE"}));this.isAccessLimited$=this.issueAccessLimitLevel$.pipe(B(function(H){return"LIMIT_VIEW"===H||"LIMIT_APPEND"===H||"LIMIT_VIEW_TRUSTED"===H}));this.HOTKEYS=yq;this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.hasAclToComment$=this.issuePermissionService.hasAclToComment$;this.isCurrentUserCCd$=this.issuePermissionService.isCurrentUserCCd$;this.accessLevel$=this.issuePermissionService.accessLevel$;
this.audience$=this.issuePermissionService.audience$;this.autoCcOnComment$=this.userPreferencesManager.preferences$.pipe(B(function(H){return H.autoCcOnComment}));this.issueCommentDraft$=this.issueId$.pipe(B(function(H){return J.editIssueService.issueCommentDraft(H)}));this.judgementForNewContent$=this.issueCommentDraft$.pipe(df(function(H){return H.judgementForNewContent$}));this.comment$=this.issueCommentDraft$.pipe(df(function(H){return H.comment$}));this.events$=this.issueDetailsBrain.eventsJs$;
this.savingState$=this.issueId$.pipe(B(function(H){return J.editIssueService.savingState(H)}));this.isSaving$=this.savingState$.pipe(df(function(H){return Tp(H.propertiesBeingSaved,oo("comment"))}));this.commentLimitReached$=this.events$.pipe(B(function(H){var O=J.activeSession.getCommentNumberLimit();return dCa(H)>=O}));this.commentPlaceholderText$=this.commentLimitReached$.pipe(B(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,W.combineLatest)([this.hasAclToComment$,this.commentLimitReached$,this.isSaving$]).pipe(B(function(H){var O=l(H);H=O.next().value;var P=O.next().value;O=O.next().value;return H&&!P&&!O}));this.showRecaptcha$=(0,W.combineLatest)([this.hasAclToComment$,this.commentLimitReached$]).pipe(B(function(H){var O=l(H);H=O.next().value;O=
O.next().value;return H&&!O&&J.enableRecaptcha}));this.commentDraftUpdated$=new W.BehaviorSubject(!0);this.commentButtonEnabled$=(0,W.combineLatest)([this.hasAclToComment$,this.comment$,this.isSaving$,this.recaptchaResponse$,this.commentDraftUpdated$]).pipe(B(function(H){var O=l(H);H=O.next().value;var P=O.next().value,U=O.next().value;O=O.next().value;return H&&T7b(P)&&!U&&(!J.enableRecaptcha||""!==O)}));this.empty$=(0,W.combineLatest)([this.comment$,this.commentDraftUpdated$]).pipe(B(function(H){var O,
P;return null!=(P=null==(O=l(H).next().value)?void 0:O.value)?P:""}),B(function(H){return 0===H.length}));this.doAutoRestrictComment$=(0,W.combineLatest)([this.issueComponent$,this.comment$,this.commentDraftUpdated$]).pipe(B(function(H){H=l(H);var O=H.next().value,P=H.next().value;H.next();H=J.currentTracker.inTracker;var U=om(J.judgementForNewContent$);O=null!=O?O:null;P=0<P.uploads.length;var Z=!(null==O||!O.trackerId);U="RESTRICTED"!==(null==U?void 0:U.severity)&&"RESTRICTED_PLUS"!==(null==U?void 0:
U.severity);return Ip(O)&&Z&&!H&&P&&U}))};A7.prototype.setJudgementForNewContent=function(a,b){this.editIssueService.issueCommentDraft(a).setJudgementForNewContent(b)};
A7.prototype.autoRestrictComment=function(a){var b=this,c;return ke(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),Ks(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."));qe(d)})};
A7.prototype.ngOnInit=function(){this.doAutoRestrictComment$.subscribe(this.autoRestrictComment.bind(this))};var uzb=function(a){var b;return ke(function(c){b=!CE(a.userPreferencesManager).autoCcOnComment;kp(a.analytics,Sp.EDIT_ISSUE,"toggleAutoCcOnComment",String(b));return me(c,(0,W.firstValueFrom)(a.userPreferencesManager.save({autoCcOnComment:b})),0)})};
A7.prototype.saveCommentDraft=function(){var a=this,b;return ke(function(c){if(1==c.nextAddress)return a.bannedWordsChecker.reset(),me(c,(0,W.firstValueFrom)(a.comment$),2);b=c.yieldResult;a.draftStore.$window.sessionStorage.setItem(rn(a.internalIssueId),b.value);a.commentDraftUpdated$.next(!0);qe(c)})};
A7.prototype.submitCommentBox=function(a){var b=this,c,d,e,f,h,k;return ke(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),me(q,b.bannedWordsChecker.check(d.value,"EXTERNAL_PUBLIC"===b.issuePermissionService.accessLevel(),e.componentId),2);if(3!=q.nextAddress)return f=q.yieldResult,f?me(q,b.issueCommentDialogsService.submitCommentBox(String(e.componentId),
b.internalIssueId,d,c),3):(null==(h=a)||h.preventDefault(),null==(k=b.commentBox)||Czb(k),q.return());b.commentSubmitted.emit();b.bannedWordsChecker.reset();b.appEvents.recaptchaSubmitted.next();qe(q)})};A7.prototype.showNewContentJudgementDialog=function(){var a=this;return ke(function(b){return me(b,a.issueCommentDialogsService.showNewContentJudgementDialog(a.internalIssueId),0)})};
A7.prototype.isPlusOneCalloutEnabled=function(){return this.activeSession.isInternalSession()&&tE(this.activeSession,"enableReducePlusOneComments")&&!om(this.issueDetailsBrain.voted$)};Vg.Object.defineProperties(A7.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)}}});
A7.\u0275fac=function(a){return new (a||A7)(A(IK),A(BE),A(aL),A(MI),A(iG),A(nt),A(GK),A(vZ),A(RH),A(uY),A(oH),A(IM),A(hG))};
A7.\u0275cmp=Lc({type:A7,selectors:[["b-post-comment"]],viewQuery:function(a,b){a&1&&Uf(HV,5);if(a&2){var c;Yf(c=Zf())&&(b.commentBox=c.first)}},inputs:{issueId:"issueId"},outputs:{commentSubmitted:"commentSubmitted"},features:[bg([uY])],decls:2,vars:3,consts:[[4,"ngIf"],[1,"a11y-only"],[1,"bv2-edit-issue-add-comment",3,"ngClass"],["id","AddCommentBox",3,"hotkey","supportsPreview","issueId","comment","componentId","placeholder","judgementForNewContent","audience","disabled","isPlusOneCalloutEnabled",
"warn","onHotkey","onChange","onFocusEvent","onSubmit","onRestrict","onPlusOneTextEntered"],["commentBox",""],["class","banned-words-warning break-word","warning","",4,"ngIf"],["recaptchaContainer","",4,"ngIf"],["additionalToolbarItems","",1,"goog-inline-block"],[3,"format","disabled","color","onAction","click"],[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"],
["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,"checked","disabled","change"],[1,"goog-inline-block","vertical-centered"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",3,"checked","disabled",4,"ngIf"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",
3,"checked","disabled"],[3,"initialValue","change"],[3,"issueId","componentId","accessLimitLevel"],[3,"accessLevel"]],template:function(a,b){a&1&&(C(0,Gzb,2,1,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.issue$))},dependencies:[eQ,HV,ZM,gw,dw,zR,XM,WE,TV,V6,LV,mw],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 B7=function(a){this.issueReferenceResolver=a;this.userToString=Ki};B7.prototype.ngOnInit=function(){};B7.prototype.getCommentNumberLink=function(a){return Kn(this.issueId,{comment:a})};B7.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};B7.\u0275fac=function(a){return new (a||B7)(A(IF))};
B7.\u0275cmp=Lc({type:B7,selectors:[["comments-info"]],inputs:{issueId:"issueId",comments:"comments"},decls:1,vars:1,consts:[["class","comment-info",4,"ngFor","ngForOf"],[1,"comment-info"],[4,"ngIf"],["class","keep-focus-ring hover-link",3,"routerLinkObj","click",4,"ngIf"],[1,"ldap",3,"onedevHovercardTrigger"],["personCard",""],[3,"email",4,"ngIf"],[3,"email"],[1,"keep-focus-ring","hover-link",3,"routerLinkObj","click"]],template:function(a,b){a&1&&C(0,Lzb,5,3,"span",0);a&2&&D("ngForOf",b.comments)},
dependencies:[hw,dw,LF,QF,tM,XT,TR],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 C7=function(a){Y.call(this);this.ngZone=a};X(C7,Y);C7.\u0275dir=Y.\u0275dir;var TPc=function(a,b){return(new W.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(ef(a.destroyed$))};C7.\u0275fac=function(a){return new (a||C7)(p(Ge))};C7.\u0275prov=vc({token:C7,factory:C7.\u0275fac,providedIn:"root"});var UPc=["imagesSummaryWidget"],D7=function(a,b,c){var d=this;this.resizeService=a;this.router=b;this.route=c;this.imageLinks$=new W.ReplaySubject(1);this.paginate=!1;this.container$=new W.ReplaySubject(1);this.containerResize$=this.container$.pipe(B(function(e){return e.nativeElement}),df(function(e){return TPc(d.resizeService,e)}));this.issueId$=new W.ReplaySubject(1);this.lastRenderedImageIndex$=new W.BehaviorSubject(0);this.allImages$=this.imageLinks$.pipe(B(function(e){e=e.map(function(f){if(f.comment){var h=
uGa(f.href);if(h)return{src:h,comment:f.comment}}}).filter(Bi);return Szb(e)}));this.maxImagesInOneRow$=this.containerResize$.pipe(B(function(e){return Math.floor((e.width-16)/216)}),af({refCount:!0,bufferSize:1}));this.initialNumberOfImages$=this.maxImagesInOneRow$.pipe(B(function(e){return 2*e}));this.imagesToRender$=(0,W.combineLatest)([this.initialNumberOfImages$,this.allImages$,this.lastRenderedImageIndex$]).pipe(B(function(e){var f=l(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)}),Te())};D7.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};D7.prototype.ngOnInit=function(){this.issueId$.next(this.issueId)};D7.prototype.ngAfterContentInit=function(){this.container$.next(this.container)};Vg.Object.defineProperties(D7.prototype,{imageLinks:{configurable:!0,enumerable:!0,set:function(a){this.imageLinks$.next(a)},get:function(){return om(this.imageLinks$)}}});
D7.\u0275fac=function(a){return new (a||D7)(A(C7),A(vF),A(Im))};
D7.\u0275cmp=Lc({type:D7,selectors:[["inline-images-summary"]],viewQuery:function(a,b){a&1&&Uf(UPc,7);if(a&2){var c;Yf(c=Zf())&&(b.container=c.first)}},inputs:{issueId:"issueId",imageLinks:"imageLinks",paginate:"paginate"},decls:4,vars:3,consts:[["imagesSummaryWidget",""],[4,"ngIf"],[1,"container"],["class","image-wrapper",4,"ngFor","ngForOf"],[1,"image-wrapper"],["target","_blank",1,"thumbnail",3,"href"],[3,"showByDefault","src"],[3,"issueId","comments"],["mat-button","","class","gmat-button small load-more-screenshots",
3,"click",4,"ngIf","ngIfElse"],["withoutPagination",""],["mat-button","",1,"gmat-button","small","load-more-screenshots",3,"click"],["mat-button","",1,"gmat-button","small","see-all-screenshots",3,"click"]],template:function(a,b){a&1&&(E(0,"div",null,0),C(2,Rzb,3,3,"ng-container",1),T(3,"async"),G());a&2&&(y(2),D("ngIf",V(3,1,b.allImages$)))},dependencies:function(){return[B7,hw,dw,nA,yM,mw,E7]},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 E7=function(){};E7.prototype.transform=function(a){return a.split(".png")[0]};E7.\u0275fac=function(a){return new (a||E7)};E7.\u0275pipe=Rc({name:"removePngExtension",type:E7,pure:!0});var VPc={IMAGES:"SW-images",MENTIONED_ISSUES:"SW-mentioned-bugs",LINKS:"SW-links",SIMILAR_ISSUES:"SW-similar-issues"},dBb=[].concat(r(Object.values(VPc)));var WPc=function(a,b){var c=this;this.issueInteractionsTracking=a;this.analytics=b;this.recordInteractionOnce=oDa(function(d){kp(c.analytics,Sp.EDIT_ISSUE,"click",d)});this.recordImpressionOnce=oDa(function(){kp(c.analytics,Sp.EDIT_ISSUE,"view","SW")})},QAb=function(a,b,c){a.recordInteractionOnce(c);Zs(a.issueInteractionsTracking,b,c+"-content-interacted");Zs(a.issueInteractionsTracking,b,"SW-content-interacted")};var F7=function(a,b){this.activeSession=a;this.currentTracker=b;this.linkText=this.rightText=this.leftText="";this.isExternalLink=!1;this.issueId=this.originalHref=this.redirectedHref=""};
F7.prototype.ngOnChanges=function(){var a;a:{var b=null==(a=this.sourceComment)?void 0:a.formattedComment;if(b){if(b.markdownFormat){a=Zzb(b.markdownFormat.content);break a}if(b.literalFormat){a=Zzb(b.literalFormat.content);break a}if(b.plainFormat){a=document.createElement("div");b=l(b.plainFormat.plainSection);for(var c=b.next();!c.done;c=b.next())(c=c.value.content)&&a.appendChild(Zzb(c));break a}}a=void 0}if(a=a&&XPc(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(YPc.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(YPc.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="",so(this.relatedLink)?c=b=this.relatedLink.href:vGa(this.relatedLink)&&(a=this.relatedLink.issueId,b=this.getIssueUrl(this.relatedLink.issueId),c=this.relatedLink.issueId,c=this.activeSession.isInternalSession()?rsa(JM(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 XPc=function(a,b){if(a.relatedLink){if(vGa(a.relatedLink)){var c=a.relatedLink.issueId;return[].concat(r(b.querySelectorAll("a"))).find(function(e){return e.dataset.bIssueId===c})}if(so(a.relatedLink)){var d=a.relatedLink;return[].concat(r(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})}}};
F7.prototype.getIssueUrl=function(a){return JM(this.currentTracker,a)};F7.\u0275fac=function(a){return new (a||F7)(A(nt),A(IM))};
F7.\u0275cmp=Lc({type:F7,selectors:[["mentioned-link-with-context"]],inputs:{sourceComment:"sourceComment",relatedLink:"relatedLink"},features:[ed],decls:8,vars:4,consts:[[1,"wrapper"],["class","muted margin-xs-right left","aria-hidden","true",4,"ngIf"],[4,"ngIf","ngIfElse"],["internalLink",""],["class","muted margin-xs-left right","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"muted","margin-xs-right","left"],[3,"href","originalHref"],[3,"href","issueId",4,"ngIf","ngIfElse"],["hyperLink",
""],[3,"href","issueId"],["target","_blank",1,"keep-focus-ring",3,"href"],["aria-hidden","true",1,"muted","margin-xs-left","right"]],template:function(a,b){a&1&&(E(0,"div",0),R(1," \u201c "),C(2,Tzb,3,3,"span",1)(3,Uzb,3,3,"ng-container",2)(4,Xzb,3,2,"ng-template",null,3,jg)(6,Yzb,2,1,"span",4),R(7," \u201d\n"),G());if(a&2){var c=Q(5);y(2);D("ngIf",b.leftText);y();D("ngIf",b.isExternalLink)("ngIfElse",c);y(3);D("ngIf",b.rightText)}},dependencies:[GF,SF,dw,UK],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 YPc=new Set(["BR"]);var G7=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 W.ReplaySubject(1);this.currentIssueId$=new W.ReplaySubject(1);this.paginate=!1;this.lastRenderedMentionedIssueIndex$=new W.BehaviorSubject(10);this.issuesMap$=this.issueReferences$.pipe(Ce(Bi),df(function(h){var k=An(h.map(function(q){return q.issueId}));return f.issueFridge.watchSet(k).pipe(B(function(q){return new Map(q.map(function(t){return[null==
t?void 0:t.issueId.toString(),t]}))}),B(function(q){return new Map(k.map(function(t){return[t,q.get(t)]}))}))}));this.issueReferencesMap$=this.issueReferences$.pipe(Ce(Bi),B(function(h){var k=new Map;h=l(h);for(var q=h.next();!q.done;q=h.next()){q=q.value;var t=q.issueId.toString();k.has(t)?k.get(t).push(q):k.set(t,[q])}return k}));this.allMentionedIssues$=(0,W.combineLatest)([this.issueReferencesMap$,this.issuesMap$]).pipe(B(function(h){h=l(h);var k=h.next().value;h=h.next().value;return[].concat(r(h)).filter(function(q){return l(q).next().value!==
f.issueId}).map(function(q){var t=l(q);q=t.next().value;t=t.next().value;var w=k.get(q),z=null==w?void 0:w.map(function(F){var J,H,O=null==(J=F.comment)?void 0:null==(H=J.userPerformingActionUser)?void 0:H.emailAddress;return{commentNumber:F.sourceCommentNumber,author:(null==O?void 0:O.split("@")[0])+"@",issueEvent:F.comment}});return{hasViewAccess:!!t,issueId:q,shortIssueUrl:rsa(f.activeSession.getAppBaseUrl(),q),sourceComments:z,title:null==t?void 0:t.snapshot[0].title,priority:t?t.snapshot[0].priority:
null,relatedLinks:w}})}));this.mentionedIssuesToRender$=(0,W.combineLatest)([this.allMentionedIssues$,this.lastRenderedMentionedIssueIndex$]).pipe(B(function(h){var k=l(h);h=k.next().value;k=k.next().value;return f.paginate?h.slice(0,k):h.slice(0,5)}))};G7.prototype.getCommentNumberLink=function(a){return Kn(this.issueId,{comment:a})};G7.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};
G7.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};Vg.Object.defineProperties(G7.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}}});G7.\u0275fac=function(a){return new (a||G7)(A(nt),A(UI),A(vF),A(Im),A(IF))};
G7.\u0275cmp=Lc({type:G7,selectors:[["b-mentioned-issues"]],inputs:{issueReferences:"issueReferences",currentIssueId:"currentIssueId",paginate:"paginate"},decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"matTooltip","issuePriority"],[1,"issue-title-and-link"],[1,"padded-s-sides","title",3,"matTooltip"],[3,"sourceComment","relatedLink"],[1,"margin-left-auto",3,"issueId","comments"],["mat-button","","class","gmat-button small load-more-issues",3,"click",4,"ngIf","ngIfElse"],["withoutPagination",
""],["mat-button","",1,"gmat-button","small","load-more-issues",3,"click"],["mat-button","",1,"gmat-button","small","see-all-issues",3,"click"]],template:function(a,b){a&1&&(C(0,fAb,3,3,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.mentionedIssuesToRender$))},dependencies:function(){return[hw,dw,$V,nA,PC,F7,B7,mw,H7]},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 H7=function(){};H7.prototype.transform=function(a){return a.map(function(b){return b.issueEvent}).filter(Bi)};H7.\u0275fac=function(a){return new (a||H7)};H7.\u0275pipe=Rc({name:"toComments",type:H7,pure:!0});var I7=function(a,b){var c=this;this.router=a;this.route=b;this.allLinks$=new W.ReplaySubject(1);this.issueId$=new W.ReplaySubject(1);this.lastRenderedRelatedLinkIndex$=new W.BehaviorSubject(10);this.paginate=!1;this.trackByHref=function(d,e){return e[0].href};this.allLinkGroups$=this.allLinks$.pipe(B(function(d){return GBa(d,function(e){return e.href})}));this.linkGroupsToRender$=(0,W.combineLatest)([this.allLinkGroups$,this.lastRenderedRelatedLinkIndex$]).pipe(B(function(d){var e=l(d);d=e.next().value;
e=e.next().value;return c.paginate?nAb(d,e):6===d.length?nAb(d,6):nAb(d,5)}))};I7.prototype.ngOnInit=function(){};I7.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};Vg.Object.defineProperties(I7.prototype,{links:{configurable:!0,enumerable:!0,set:function(a){this.allLinks$.next(a)},get:function(){throw Error("Pe");}},issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return om(this.issueId$)}}});
I7.\u0275fac=function(a){return new (a||I7)(A(vF),A(Im))};
I7.\u0275cmp=Lc({type:I7,selectors:[["related-links-widget"]],inputs:{links:"links",issueId:"issueId",paginate:"paginate"},decls:2,vars:3,consts:[[4,"ngIf"],["class","related-link flex-kids-x align-items-center gap-s margin-xs-bottom",4,"ngFor","ngForOf","ngForTrackBy"],[1,"related-link","flex-kids-x","align-items-center","gap-s","margin-xs-bottom"],[3,"sourceComment","relatedLink"],[1,"margin-left-auto",3,"issueId","comments"],["mat-button","","class","gmat-button small load-more-links",3,"click",
4,"ngIf","ngIfElse"],["withoutPagination",""],["mat-button","",1,"gmat-button","small","load-more-links",3,"click"],["mat-button","",1,"gmat-button","small","see-all-links",3,"click"]],template:function(a,b){a&1&&(C(0,lAb,3,3,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.allLinkGroups$))},dependencies:function(){return[B7,hw,dw,nA,F7,mw,J7]},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 mAb=Ei(function(a){return Math.min.apply(Math,r(a.map(function(b){return b.sourceCommentNumber})))},Fi),J7=function(){};J7.prototype.transform=function(a){return a.map(function(b){return b.comment}).filter(Bi)};J7.\u0275fac=function(a){return new (a||J7)};J7.\u0275pipe=Rc({name:"toComments",type:J7,pure:!0});var K7=function(a,b,c,d,e,f){Y.call(this);var h=this;this.similarIssuesApi=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.snackBar=d;this.analytics=e;this.hostElement=f;this.issueId$=new W.ReplaySubject(1);this.isLoading=!0;this.issueIds$=this.issueId$.pipe(Ce(Bi),df(function(k){return qE(h.similarIssuesApi,{issueId:k})}),ff(function(k){k.forEach(function(q){h.issueFridge.announce(q)})}),B(function(k){return k.slice(0,3)}),B(function(k){return k.map(function(q){return q.issueId})}),ff(function(){setTimeout(function(){h.isLoading=
!1})}));this.tableColumns=["title","dupeCount","voteCount","createdTime","menu"];this.tableOptions={modes:{createdTime:"date"},enableIssueHovercard:!0,menu:{includeGoToIssueItem:!1}};this.menuItemFactory=function(k){return[{type:"action",label:"Close current issue as duplicate of this row",action:function(){ZPc(h,k)}}]};this.gotErr=function(k){h.snackBar.open({message:tn(k)||"Error with network request",snackbarType:"ERROR"})}};X(K7,Y);K7.\u0275dir=Y.\u0275dir;
K7.prototype.ngOnInit=function(){this.hostElement.nativeElement.addEventListener("click",this.captureAnyClick,!0)};K7.prototype.ngOnDestroy=function(){Y.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.captureAnyClick,!0)};
var ZPc=function(a,b){var c=String(a.issueIdInternal);c&&Q6b(a.issueFridge,b,c).then(function(){$Pc(a,b);$Pc(a,c);a.snackBar.open({message:"Issue closed as duplicate",actionLabel:"Undo"})._afterDismissed.subscribe(function(d){d.dismissedByAction&&aQc(a,b,c)});kp(a.analytics,Sp.SIMILAR_ISSUES,"closeAsDuplicate","fromSummaryWidget")}).catch(a.gotErr)},aQc=function(a,b,c){a.issueFridge.removeDuplicate(b,c).then(function(){$Pc(a,b);$Pc(a,c);a.snackBar.open({message:"Un-marked issue as duplicate"})}).catch(a.gotErr);
kp(a.analytics,Sp.SIMILAR_ISSUES,"undoCloseAsDuplicate","fromSummaryWidget")},$Pc=function(a,b){a.issueFridge.poke(b);a.eventsForIssueFridge.poke(b)};K7.prototype.captureAnyClick=function(){var a;null==(a=this.analytics)||kp(a,"similar-issues-idp","any-click")};Vg.Object.defineProperties(K7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueIdInternal=a=Number(a);this.issueId$.next(a)}}});K7.\u0275fac=function(a){return new (a||K7)(A(pE),A(UI),A($H),A(fG),A(MI),A(Ad))};
K7.\u0275cmp=Lc({type:K7,selectors:[["suggested-similar-issues"]],inputs:{issueId:"issueId"},features:[nf],decls:3,vars:9,consts:[[3,"issueIds","tableColumns","options","menuItemFactory"],[4,"ngIf"]],template:function(a,b){a&1&&(I(0,"b-issues-table",0),T(1,"async"),C(2,oAb,2,0,"div",1));a&2&&(yf("hidden",b.isLoading),D("issueIds",V(1,7,b.issueIds$))("tableColumns",b.tableColumns)("options",b.tableOptions)("menuItemFactory",b.menuItemFactory),y(2),D("ngIf",b.isLoading))},dependencies:[dw,L5,HQ,mw],
encapsulation:2});var L7=function(){Xx.apply(this,arguments)};X(L7,Xx);L7.\u0275fac=function(){var a;return function(b){return(a||(a=zd(L7)))(b||L7)}}();L7.\u0275dir=Qc({type:L7,selectors:[["","expandable-tab-content",""]],features:[nf]});var M7=function(){Xx.apply(this,arguments)};X(M7,Xx);M7.\u0275fac=function(){var a;return function(b){return(a||(a=zd(M7)))(b||M7)}}();M7.\u0275dir=Qc({type:M7,selectors:[["","expandable-tab-header",""]],features:[nf]});var N7=function(){Xx.apply(this,arguments)};X(N7,Xx);
N7.\u0275fac=function(){var a;return function(b){return(a||(a=zd(N7)))(b||N7)}}();N7.\u0275dir=Qc({type:N7,selectors:[["","expandable-tab-icon",""]],features:[nf]});var O7=function(){};O7.prototype.ngOnInit=function(){};O7.\u0275fac=function(a){return new (a||O7)};
O7.\u0275cmp=Lc({type:O7,selectors:[["expandable-tab"]],contentQueries:function(a,b,c){a&1&&(Vf(c,M7,5,Rf),Vf(c,L7,5,Rf),Vf(c,N7,5,Rf));if(a&2){var d;Yf(d=Zf())&&(b.tabHeaderTemplate=d.first);Yf(d=Zf())&&(b.tabContentTemplate=d.first);Yf(d=Zf())&&(b.tabIconTemplate=d.first)}},inputs:{key:"key",ariaLabel:"ariaLabel"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var pAb=function(a){return{tab:a}},GAb=function(){return[]},bQc=function(a){return{allTabsExpanded:a}},P7=function(){Y.apply(this,arguments);this.internalTabKeys$=new W.ReplaySubject(1);this.ariaLabel="";this.internalExpandedTabs=new XK;this.visibleExpandedTabs$=(0,W.combineLatest)([this.internalTabKeys$,this.internalExpandedTabs.value$]).pipe(B(function(a){a=l(a);var b=a.next().value,c=a.next().value;return b.filter(function(d){return c.has(d)})}));this.expandedTabsChanged=new zv;this.contentShownChanged=
new zv;this.tabs$=new W.BehaviorSubject([]);this.allTabsExpanded$=(0,W.combineLatest)([this.tabs$,this.internalExpandedTabs.value$]).pipe(B(function(a){a=l(a);var b=a.next().value,c=a.next().value;return b.every(function(d){return c.has(d.key)})}));this.trackByKey=function(a,b){return b.key}};X(P7,Y);P7.\u0275dir=Y.\u0275dir;
P7.prototype.ngAfterContentInit=function(){var a=this;this.subscriptions.add(this.internalTabs.changes.pipe(cf(void 0),B(function(){return a.internalTabs.toArray()}),B(function(b){return new Map(b.map(function(c){return[c.key,c]}))}),df(function(b){return(0,W.combineLatest)([(0,W.of)(b),a.internalTabKeys$])}),B(function(b){b=l(b);var c=b.next().value;return b.next().value.map(function(d){return Object.assign({},{key:d},c.get(d))})})).subscribe(this.tabs$));this.subscriptions.add((0,W.combineLatest)([this.internalTabKeys$,
this.internalExpandedTabs.value$]).pipe(B(function(b){var c=l(b);b=c.next().value;c=c.next().value;return $ra(new Set(b),new Set(c))}),Te(Th)).subscribe(function(b){a.contentShownChanged.emit(b)}))};P7.prototype.ngOnInit=function(){};P7.prototype.showAll=function(){this.internalExpandedTabs.add.apply(this.internalExpandedTabs,r(this.tabs$.value.map(function(a){return a.key})));this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};
P7.prototype.hideAll=function(){this.internalExpandedTabs.clear();this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};var wAb=function(a){var b;return ke(function(c){if(1==c.nextAddress)return me(c,(0,W.firstValueFrom)(a.allTabsExpanded$),2);(b=c.yieldResult)?a.hideAll():a.showAll();qe(c)})};
Vg.Object.defineProperties(P7.prototype,{tabKeys:{configurable:!0,enumerable:!0,set:function(a){this.internalTabKeys$.next([].concat(r(a)))},get:function(){var a;return null!=(a=om(this.internalTabKeys$))?a:[]}},expandedTabs:{configurable:!0,enumerable:!0,set:function(a){this.internalExpandedTabs.reset(a)},get:function(){return[].concat(r(this.internalExpandedTabs))}}});P7.\u0275fac=function(){var a;return function(b){return(a||(a=zd(P7)))(b||P7)}}();
P7.\u0275cmp=Lc({type:P7,selectors:[["expandable-tabs"]],contentQueries:function(a,b,c){a&1&&Vf(c,O7,5);if(a&2){var d;Yf(d=Zf())&&(b.internalTabs=d)}},inputs:{tabKeys:"tabKeys",ariaLabel:"ariaLabel",expandedTabs:"expandedTabs"},outputs:{expandedTabsChanged:"expandedTabsChanged",contentShownChanged:"contentShownChanged"},features:[nf],decls:11,vars:14,consts:[[1,"tabs-row","flex-kids-x","centered-inside"],["role","tablist","aria-multiselectable","true",1,"expandable-tabs","flex-kids-x","centered-inside"],
["mat-button","","class","expandable-tab keep-focus-ring","role","tab",3,"expanded","click",4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],[1,"expandable-tabs-contents"],[4,"ngFor","ngForOf","ngForTrackBy"],["headerText",""],["mat-button","","role","tab",1,"expandable-tab","keep-focus-ring",3,"click"],[4,"ngIf","ngIfElse"],["notExpanded",""],["svgIcon","done",1,"icon-s"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],["mat-button","",1,"gmat-button","small",3,"click"],["class",
"expandable-tab-content","role","tabpanel",3,"id",4,"ngIf"],["role","tabpanel",1,"expandable-tab-content",3,"id"],["spacer",""],[1,"spacer"],["noTemplate",""]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1),C(2,vAb,8,16,"button",2),T(3,"async"),G(),C(4,xAb,3,6,"ng-container",3),T(5,"async"),G(),E(6,"div",4),C(7,IAb,3,3,"ng-container",5),T(8,"async"),G(),C(9,NAb,3,2,"ng-template",null,6,jg));a&2&&(y(),pf("aria-label",b.ariaLabel),y(),D("ngForOf",V(3,6,b.tabs$))("ngForTrackBy",b.trackByKey),y(2),
D("ngIf",fg(12,bQc,V(5,8,b.allTabsExpanded$))),y(3),D("ngForOf",V(8,10,b.tabs$))("ngForTrackBy",b.trackByKey))},dependencies:[hw,dw,lw,hB,nA,mw],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 RAb=function(){return[]},Q7=function(a,b,c,d,e,f){Y.call(this);var h=this;this.activeSession=a;this.userPreferencesManager=b;this.issueInteractionsTracking=c;this.issueFridge=d;this.analytics=e;this.eventsForIssueFridge=f;this.TabKeys=VPc;this.issueId$=new W.ReplaySubject(1);this.alwaysStartCollapsed=!1;this.issue$=this.issueId$.pipe(df(function(k){return h.issueFridge.watch(k)}),Ce(Bi));this.commentNumberToEventMap$=this.issueId$.pipe(df(function(k){return h.eventsForIssueFridge.watch(k)}),B(function(k){var q;
return null!=(q=null==k?void 0:k.events)?q:[]}),B(function(k){return new Map(k.filter(function(q){return!!q.commentNumber}).map(function(q){return[q.commentNumber,q]}))}));this.relatedLinks$=(0,W.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(B(function(k){k=l(k);var q=k.next().value,t=k.next().value,w;return(null==(w=q.relatedLinks)?void 0:w.map(function(z){return Object.assign({},z,{comment:t.get(z.sourceCommentNumber)})}))||[]}));this.imageLinks$=this.relatedLinks$.pipe(B(function(k){return k.filter(rGa)}));
this.distinctImageLinksCount$=this.imageLinks$.pipe(B(function(k){return zn(k,function(q){return uGa(q.href)})}),B(function(k){return k.length}));this.shouldShowImages$=this.imageLinks$.pipe(B(function(k){return h.activeSession.isInternalSession()&&tE(h.activeSession,"enableImageSummary")&&cQc(h,k)}));this.issues$=this.relatedLinks$.pipe(B(function(k){return k.filter(vGa)}));this.distinctIssuesCount$=this.issues$.pipe(B(function(k){return k.filter(function(q){return q.issueId!==h.issueId})}),B(function(k){return zn(k,
function(q){return q.issueId})}),B(function(k){return k.length}));this.shouldShowIssues$=this.distinctIssuesCount$.pipe(B(function(k){return tE(h.activeSession,"enableRelatedIssuesWidget")&&!!k}));this.otherLinks$=this.relatedLinks$.pipe(B(function(k){return k.filter(wGa)}));this.distinctOtherLinksCount$=this.otherLinks$.pipe(B(function(k){return zn(k,function(q){return q.href})}),B(function(k){return k.length}));this.shouldShowLinks$=this.otherLinks$.pipe(B(function(k){return tE(h.activeSession,
"enableLinksWidget")&&h.shouldShowLinks(k)}));this.shouldShowSimilarIssues$=(0,W.of)(this.activeSession.isInternalSession()&&tE(this.activeSession,"enableEmbeddedSimilarIssuesUi"));this.tabKeys$=(0,W.combineLatest)([this.shouldShowSimilarIssues$.pipe(B(function(k){return{show:k,key:"SW-similar-issues"}})),this.shouldShowImages$.pipe(B(function(k){return{show:k,key:"SW-images"}})),this.shouldShowIssues$.pipe(B(function(k){return{show:k,key:"SW-mentioned-bugs"}})),this.shouldShowLinks$.pipe(B(function(k){return{show:k,
key:"SW-links"}}))]).pipe(B(function(k){return k.filter(function(q){return q.show}).map(function(q){return q.key})}));this.shouldShowSummaryCard$=this.tabKeys$.pipe(B(function(k){return!!k.length}),Se(0,W.asapScheduler));this.initiallyExpandedTabs=dBb.map(function(k){return T1b(h.userPreferencesManager,k)?void 0:k}).filter(Bi);this.onTabExpanded$=new zv;this.issueSummaryTracking=new WPc(this.issueInteractionsTracking,this.analytics)};X(Q7,Y);Q7.\u0275dir=Y.\u0275dir;
Q7.prototype.ngOnInit=function(){var a=this;this.alwaysStartCollapsed&&(this.initiallyExpandedTabs=[]);this.subscriptions.add(this.onTabExpanded$.pipe(Re(1E3),df(function(b){var c=b.expandedTabKeys;return S1b(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=l(b),f=e.next();!f.done;f=e.next())Zs(c.issueInteractionsTracking,
d,f.value+"-available");0<b.size&&Zs(c.issueInteractionsTracking,d,"SW-available")}))};Q7.prototype.shouldShowLinks=function(a){return 0===a.length||a.every(function(b){return 1===b.sourceCommentNumber})?!1:!0};var cQc=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 CE(a.userPreferencesManager).showInlineImages&&b?!1:!0};
Vg.Object.defineProperties(Q7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return om(this.issueId$)}}});Q7.\u0275fac=function(a){return new (a||Q7)(A(nt),A(BE),A(DK),A(UI),A(MI),A($H))};
Q7.\u0275cmp=Lc({type:Q7,selectors:[["issue-summary-card"]],inputs:{issueId:"issueId",alwaysStartCollapsed:"alwaysStartCollapsed"},features:[nf],decls:4,vars:3,consts:[[1,"a11y-only"],["ariaLabel","issue summary sections",3,"tabKeys","expandedTabs","expandedTabsChanged","contentShownChanged",4,"ngIf"],["ariaLabel","issue summary sections",3,"tabKeys","expandedTabs","expandedTabsChanged","contentShownChanged"],["ariaLabel","Toggle screenshots summary section",3,"key"],["expandable-tab-icon",""],["expandable-tab-header",
""],["expandable-tab-content",""],["ariaLabel","Toggle mentioned issues summary section",3,"key"],["ariaLabel","Toggle links summary section",3,"key"],["ariaLabel","Toggle similar issues summary section",3,"key"],["svgIcon","image",1,"icon-s"],[3,"issueId","imageLinks","click",4,"ngIf"],[3,"issueId","imageLinks","click"],["svgIcon","bug_report_24px",1,"icon-s"],[3,"issueReferences","currentIssueId","click",4,"ngIf"],[3,"issueReferences","currentIssueId","click"],["svgIcon","link",1,"icon-s"],[3,"links",
"issueId","click"],["svgIcon","search_spark_24px",1,"icon-s"],[3,"issueId","click"]],template:function(a,b){a&1&&(E(0,"h3",0),R(1,"Issue summary"),G(),C(2,eBb,17,6,"expandable-tabs",1),T(3,"async"));a&2&&(y(2),D("ngIf",V(3,1,b.tabKeys$)))},dependencies:[dw,hB,O7,L7,M7,N7,P7,D7,G7,I7,K7,mw],styles:["[_nghost-%COMP%]{display:block}.chip-container[_ngcontent-%COMP%]{display:flex}issue-summary-chip[_ngcontent-%COMP%]{margin:0 4px}inline-images-summary[_ngcontent-%COMP%]{display:block}inline-images-summary.hidden[_ngcontent-%COMP%]{display:none}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var R7=function(a){this.matDialog=a};R7.prototype.show=function(a){this.dialog=this.matDialog.open(S7,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{statusUpdates:a}});return(0,W.firstValueFrom)(this.dialog.afterClosed())};R7.\u0275fac=function(a){return new (a||R7)(p(EA))};R7.\u0275prov=vc({token:R7,factory:R7.\u0275fac,providedIn:"root"});var S7=function(a,b,c){Y.call(this);this.data=a;this.dialogService=b;this.dialogRef=c;this.statusUpdates=a.statusUpdates};X(S7,Y);S7.\u0275dir=Y.\u0275dir;
S7.prototype.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(ef(this.destroyed$)).subscribe(function(b){if("Escape"===b.key){var c;null==(c=a.dialogService.dialog)||c.close()}});this.dialogRef.backdropClick().pipe(ef(this.destroyed$)).subscribe(function(){var b;null==(b=a.dialogService.dialog)||b.close()})};S7.\u0275fac=function(a){return new (a||S7)(A(DA),A(R7),A(BA))};
S7.\u0275cmp=Lc({type:S7,selectors:[["ng-component"]],features:[nf],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&&(E(0,"h1",0),R(1,"History for Status Update"),G(),E(2,"section",1)(3,"ul",2),C(4,fBb,19,12,"li",3),G()(),E(5,"footer",4)(6,"button",5),R(7," Close "),G()());a&2&&(y(4),D("ngForOf",b.statusUpdates),y(2),D("mat-dialog-close",void 0))},dependencies:[hw,AS,nA,FA,GA,HA,IA,rM,yT,xT,$K,qT],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 dQc=["noteContainer"],qBb=function(a){return[a]},eQc={FRESH:0,STALE:1,NONE:2,0:"FRESH",1:"STALE",2:"NONE"},T7=function(a,b,c,d,e,f,h,k,q){Y.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=k;this.statusUpdateHistoryDialogService=q;this.Freshness=eQc;this.UiState=fQc;this.FormattingMode=OD;this.issueId$=new W.ReplaySubject(1);
this.issue$=this.issueId$.pipe(df(this.issueFridge.watch));this.componentId$=this.issue$.pipe(B(function(w){return null==w?void 0:w.snapshot[0].componentId}));this.accessLevel$=this.issue$.pipe(B(function(w){var z;return null==w?void 0:null==(z=w.accessLimit)?void 0:z.accessLevel}));this.issue$.pipe(B(function(w){var z;return null==w?void 0:null==(z=w.aggregatedData)?void 0:z.teamId}));this.isCollapsed=!1;this.statusUpdate$=this.issue$.pipe(B(function(w){return null==w?void 0:w.statusUpdate}));this.statusUpdateAsNote$=
this.statusUpdate$.pipe(Ce(Bi),B(function(w){return{unlinkifiedComment:w.updateText,formattedComment:w.formattedText}}));this.semanticClass$=this.statusUpdate$.pipe(B(function(w){var z;return null!=(z=qFa(null==w?void 0:w.updateText))?z:""}));this.statusIsEmpty$=this.statusUpdate$.pipe(B(function(w){return""===((null==w?void 0:w.updateText)||"").trim()}));this.freshnessIndicator$=(0,W.combineLatest)([this.statusIsEmpty$,this.statusUpdate$]).pipe(B(function(w){var z=l(w);w=z.next().value;z=z.next().value;
if(w)return 2;var F;w=(null==z?void 0:null==(F=z.updateTime)?void 0:F.seconds)||0;return 86400>Date.now()/1E3-w?0:1}));this.uiState$=this.statusIsEmpty$.pipe(B(function(w){return w?1:2}),cf(0));this.formattingModeOverride$=new W.BehaviorSubject(void 0);this.formattingMode$=(0,W.combineLatest)([this.statusUpdate$,this.formattingModeOverride$]).pipe(B(function(w){var z=l(w);w=z.next().value;return(z=z.next().value)?z:(null==w?void 0:w.formattingMode)||"PLAIN"}));this.menuItems$=(0,W.combineLatest)([this.issueId$,
this.statusUpdate$,this.issuePermissionService.hasAclToAdmin$,this.formattingMode$]).pipe(B(function(w){var z=l(w),F=z.next().value,J=z.next().value;w=z.next().value;z=z.next().value;var H=null!=J;J=J&&""!==(null==J?void 0:J.updateText);var O=[];J&&O.push({type:"submenu",label:"View as",className:"view-as-format",items:[{type:"select",label:"Classic",action:function(){t.formattingModeOverride$.next("PLAIN")},selected:"PLAIN"===z},{type:"select",label:"Markdown",action:function(){t.formattingModeOverride$.next("MARKDOWN")},
selected:"MARKDOWN"===z},{type:"select",label:"Source",action:function(){t.formattingModeOverride$.next("LITERAL")},selected:"LITERAL"===z}]});O.push({type:"action",label:"Edit Status Update",action:function(){t.editStatusUpdate()}});H&&O.push({type:"action",label:"Show editing history",action:function(){gQc(t,F)}});J&&w&&O.push({type:"action",label:"Delete Status Update",action:function(){t.confirmationDialogService.open({title:"Delete Status Update?",content:gh("\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()}})}});O.push(hQc);return O}))};X(T7,Y);T7.\u0275dir=Y.\u0275dir;T7.prototype.ngOnInit=function(){var a=this;setTimeout(function(){var b,c;return ke(function(d){if(1==d.nextAddress)return me(d,(0,W.firstValueFrom)(a.uiState$.pipe(Ce(function(e){return 0!==e}))),2);b=d.yieldResult;c=sBb(b);kp(a.analytics,Sp.ISSUE,"statusUpdateDisplay",c);qe(d)})},1E3)};
T7.prototype.ngAfterViewInit=function(){var a;84<(null==(a=this.noteContainer)?void 0:a.nativeElement.scrollHeight)&&(this.isCollapsed=!0)};
T7.prototype.editStatusUpdate=function(){var a=this,b,c,d,e,f,h,k,q;return ke(function(t){switch(t.nextAddress){case 1:return me(t,(0,W.firstValueFrom)(a.issueId$),2);case 2:return b=t.yieldResult,me(t,(0,W.firstValueFrom)(a.componentId$),3);case 3:return c=t.yieldResult,d={issueId:b,updateText:"",version:-1},f=null!=(e=om(a.statusUpdate$))?e:d,me(t,(0,W.firstValueFrom)(a.accessLevel$),4);case 4:return h=t.yieldResult,k="INTERNAL"===h?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE",me(t,a.editStatusUpdateDialogService.show(f,
k,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)});qe(t)}})};var hBb=function(a){var b,c;return ke(function(d){if(1==d.nextAddress)return me(d,(0,W.firstValueFrom)(a.issueId$),2);b=d.yieldResult;c=om(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)});qe(d)})};
T7.prototype.didSave=function(a,b){RG(this.issueFridge,a,function(c){c.statusUpdate=b});this.issueFridge.poke(a)};var gQc=function(a,b){var c;ke(function(d){if(1==d.nextAddress)return me(d,(0,W.firstValueFrom)(ntc(a.statusUpdateService,b)),2);c=d.yieldResult;a.statusUpdateHistoryDialogService.show(c);qe(d)})};
T7.prototype.doDelete=function(){var a=this,b;ke(function(c){if(1==c.nextAddress)return me(c,(0,W.firstValueFrom)(a.issueId$),2);b=c.yieldResult;a.statusUpdateService.delete(b).subscribe(function(){RG(a.issueFridge,b,function(d){d.statusUpdate=void 0});a.issueFridge.poke(b)});qe(c)})};Vg.Object.defineProperties(T7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});T7.\u0275fac=function(a){return new (a||T7)(A(MI),A(lG),A(bS),A(xY),A(AG),A(UI),A(IK),A(rY),A(R7))};
T7.\u0275cmp=Lc({type:T7,selectors:[["status-update"]],viewQuery:function(a,b){a&1&&Uf(dQc,5);if(a&2){var c;Yf(c=Zf())&&(b.noteContainer=c.first)}},inputs:{issueId:"issueId"},features:[nf],decls:2,vars:3,consts:[[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",3,"click"],[1,"flex-1-hemmed"],[1,"flex-kids-x","space-between"],[1,"left"],[1,"uppercase","inline-block","margin-xs-right"],["mat-stroked-button","","aria-label","Edit Status Update","color","primary",1,"gmat-button","small","margin-xs-right",3,"click"],["mat-button","","aria-label","Mark Status Update as fresh","color","primary","class","gmat-button small margin-xs-right mark-fresh",3,"click",4,"ngIf"],[1,"edit-info",
"right"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems",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"],["userCard",""],[3,"email"],["matTooltip","Last update made within 24 hours",
"svgIcon","check_circle_filled_24px",1,"fresh-checkmark"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems"],[1,"pos-rel"],["noteContainer",""],[3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],["mat-stroked-button","","color","primary","class","gmat-button small show-more",3,"click",4,"ngIf"],[3,"issueId","issueAccessLevel","note","formattingMode"],["mat-stroked-button","","color","primary",1,"gmat-button","small","show-more",3,"click"]],template:function(a,b){a&1&&
(C(0,rBb,5,13,"div",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.uiState$))},dependencies:[h0,$M,dw,hB,AS,LF,QF,tM,nA,PC,mw,TR],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 fQc={LOADING:0,EMPTY:1,NORMAL:2,0:"LOADING",1:"EMPTY",2:"NORMAL"},hQc={type:"action",label:"Using the Status Update field...",action:function(){Vra(window,dh("https://developers.google.com/issue-tracker/concepts/status-update"),"_blank")},icon:"help-outline",className:"border-top"};var U7=function(a){this.internalArray_=m(a)};X(U7,n);U7.prototype.setModelId=function(a){Rj(this,1,a)};U7.prototype.setTemperature=function(a){lk(this,3,ib(a))};U7.repeatedFields_=[5,6];var V7=function(a){this.internalArray_=m(a)};X(V7,n);V7.prototype.getOptions=function(){return $i(this,U7,1)};V7.prototype.setOptions=function(a){li(this,U7,1,a)};V7.prototype.hasOptions=function(){return ji(this,U7,1)};V7.prototype.setInput=function(a){return Rj(this,2,a)};var $s=function(a){this.internalArray_=m(a)};X($s,n);$s.prototype.getContent=function(){return Zi(this,1)};$s.prototype.setContent=function(a){return Rj(this,1,a)};$s.prototype.getScore=function(){return zk(this,2)};$s.prototype.setScore=function(a){return Mb(this,2,ib(a),0)};var W7=function(a){this.internalArray_=m(a)};X(W7,n);W7.prototype.setModelId=function(a){Rj(this,4,a)};W7.repeatedFields_=[1];var X7=function(a){this.internalArray_=m(a,0,X7.messageId)};X(X7,n);X7.prototype.getResponse=function(){return $i(this,W7,1)};X7.prototype.getReadonlyResponse=function(){return fi(this,W7,1)};X7.prototype.getMutableResponse=function(){return Vt(this,W7,1)};X7.prototype.setResponse=function(a){return li(this,W7,1,a)};X7.messageId="b.GoosePredictionGenerateTextWrappedResponse";var Y7=function(a){this.executor=a};
Y7.prototype.generate=function(a){var b=(new V7).setInput(a.input);if(a.options){var c=new U7;void 0!==a.options.modelId&&c.setModelId(a.options.modelId);void 0!==a.options.outputCount&&rj(c,2,a.options.outputCount);void 0!==a.options.temperature&&c.setTemperature(a.options.temperature);void 0!==a.options.maxDecoderSteps&&rj(c,4,a.options.maxDecoderSteps);void 0!==a.options.eosId&&Lb(c,5,a.options.eosId,mb);b.setOptions(c)}return this.executor.post({url:"/action/goose/prediction/generateText",body:b,
responseConstructor:X7}).then(tBb)};Y7.\u0275fac=function(a){return new (a||Y7)(p(RD))};Y7.\u0275prov=vc({token:Y7,factory:Y7.\u0275fac,providedIn:"root"});var Z7=function(a){this.internalArray_=m(a,0,Z7.messageId)};X(Z7,n);Z7.prototype.getResponse=function(){return $i(this,ND,1)};Z7.prototype.getReadonlyResponse=function(){return fi(this,ND,1)};Z7.prototype.getMutableResponse=function(){return Vt(this,ND,1)};Z7.prototype.setResponse=function(a){return li(this,ND,1,a)};Z7.messageId="b.PiperCreateWorkspaceAndChangeWrappedResponse";var $7=function(a){this.internalArray_=m(a,0,$7.messageId)};X($7,n);$7.prototype.getResponsesList=function(){return gi(this,d1b,1,hi())};$7.repeatedFields_=[1];$7.messageId="b.PiperReadFilesWrappedResponse";var a8=function(a){this.executor=a},jQc=function(a,b){return iQc(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}})},iQc=function(a,b){b=wBb(b);return a.executor.post({url:"/action/piper/readFiles",body:b,responseConstructor:$7}).then(xBb)},kQc=function(a,b){var c=new b1b;b.citcAlias&&Lh(c,3,b.citcAlias);if(b.changeDescription){var d=c.setDescription;var e=b.changeDescription;e=(new MD).setText(e.text);d.call(c,
e)}b=b.files.map(ABb);gl(c,4,b);return a.executor.post({url:"/action/piper/createWorkspaceAndChange",body:c,responseConstructor:Z7}).then(yBb)};a8.\u0275fac=function(a){return new (a||a8)(p(RD))};a8.\u0275prov=vc({token:a8,factory:a8.\u0275fac,providedIn:"root"});var b8=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=[lQc,mQc,nQc,oQc,pQc,qQc,rQc,sQc,tQc,uQc,vQc]},yQc=function(a,b){return(0,W.combineLatest)([wQc(a,b),xQc(a,b)]).pipe(B(function(c){var d=l(c);c=d.next().value;d=d.next().value;a.issue=c;a.issueDescription=d;a:{c=a.issue;d=a.issueDescription;var e=tE(a.activeSession,"enableGoosePrompting"),f=tE(a.activeSession,
"enableGoosePromptingSupportedIssues");if(null!=c&&null!=d&&Gn(c))if(e)(c="BUG"===c.snapshot[0].type||"FEATURE_REQUEST"===c.snapshot[0].type)&&kp(a.analytics,Sp.BUG_2_CODE,"display","isBugOrFeatureRequest");else{if(f)for(e=l(a.supportedIssueList),f=e.next();!f.done;f=e.next()){f=f.value;var h=void 0,k=void 0,q=void 0;var t=f.creatorEmail&&(null==d?void 0:null==(q=d.userPerformingActionUser)?void 0:q.emailAddress)!==f.creatorEmail?!1:f.reporterEmail&&(null==(k=c.snapshot[0].reporterUser)?void 0:k.emailAddress)!==
f.reporterEmail?!1:f.matchingDescriptionSubstring&&!(null==d?0:null==(h=d.unlinkifiedComment)?0:h.includes(f.matchingDescriptionSubstring))?!1:!0;if(t){kp(a.analytics,Sp.BUG_2_CODE,"display",f.metricTag);c=!0;break a}}c=!1}else c=!1}return c}))},wQc=function(a,b){return a.issueFridge.watch(b,{trustUncertainMemory:!0}).pipe(B(function(c){return c?c:null}))},xQc=function(a,b){return a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(B(function(c){if(!c)return null;c=[].concat(r(c.events.slice(0,
1)));return 0<c.length?c[0]:null}))},zQc=function(a){return a.filter(function(b){return"+"!==b.charAt(0)}).map(function(b){return b.slice(1)})},AQc=function(a,b,c){return zQc(c).every(function(d,e){return d===a[b+e]})},BQc=function(a,b,c){for(var d=[],e=zQc(b).length,f=a.length-e;c<=f;c++)AQc(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}};
b8.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=l(b.split("@@\n").slice(1));for(e=b.next();!e.done;e=b.next()){var h=e.value;d=BQc(a,h.split("\n"),d);e=d.startRange;d=f=d.endRange;h=h.split("\n").filter(function(k){return"-"!==k[0]}).map(function(k){return k.slice(1)});c.push([e,f,h])}d=e=b=0;c=l(c);for(e=c.next();!e.done;e=c.next())e=l(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(r(e))),b-=f,e=e.length-b,d+=e;return a.join("\n")};b8.\u0275fac=function(a){return new (a||b8)(p($H),p(UI),p(a8),p(Y7),p(nt),p(MI))};b8.\u0275prov=vc({token:b8,factory:b8.\u0275fac,providedIn:"root"});
var c8=function(a,b,c,d){this.creatorEmail=a;this.reporterEmail=b;this.matchingDescriptionSubstring=c;this.metricTag=d},lQc=new c8(null,null,"Visit Upkeep to monitor tech debt of your","isUpkeepIssue"),mQc=new c8("cloud-control2-frontend-onboarding-automation@prod.google.com","cloud-control2-frontend-onboarding-automation@prod.google.com",null,"isCloudControl2FrontendOnboardingAutomationIssue"),nQc=new c8("flagbuster-prod@prod.google.com","flagbuster@prod.google.com",null,"isFlagBusterIssue"),oQc=
new c8("corpeng-compliance-checker@prod.google.com","corpeng-compliance-checker@prod.google.com",null,"isCorpEngComplianceCheckerIssue"),pQc=new c8("gce-fleet-deployment-autocleanup-jobs@prod.google.com","gce-fleet-deployment-autocleanup-jobs@google.com",null,"isGCEFleetDeploymentAutoCleanupIssue"),qQc=new c8("identity-metrics@prod.google.com","identity-metrics@prod.google.com",null,"isIdentityMetricsIssue"),rQc=new c8("dirt-federated-docs@prod.google.com","dirt-federated-docs@prod.google.com",null,
"isDirtFederatedDocsIssue"),sQc=new c8("rtc-bugle-mapreduce@prod.google.com","rtc-bugle-mapreduce@prod.google.com",null,"isRtcBugleMapreduceIssue"),tQc=new c8("assistant-server-dev@prod.google.com","assistant-server-dev@prod.google.com",null,"isAssistantServerDevIssue"),uQc=new c8("gce-turnup-smi-runner@prod.google.com","gce-turnup-smi-runner@prod.google.com",null,"isGCETurnupSmiRunnerIssue"),vQc=new c8("cloud-sdk-testing@prod.google.com","cloud-sdk-testing@prod.google.com",null,"isCloudSdkTestingIssue");var CQc=/:(\w+):/,DQc=/(\/\/depot\/)?(google3\/[A-z0-9\.\/_-]+)/,d8=function(a,b,c,d,e,f,h,k){Y.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=k;this.stages=[];setTimeout(function(){return q.generate()},1E3)};X(d8,Y);d8.\u0275dir=Y.\u0275dir;
d8.prototype.generate=function(){var a=this,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la;return ke(function(oa){switch(oa.nextAddress){case 1:if(!Fa)var Fa=a.data.issueId;Fa=(0,W.firstValueFrom)(a.issueFridge.watch(Fa,{trustUncertainMemory:!0}).pipe(Ce(Bi),Xe()));return me(oa,Fa,2);case 2:return b=oa.yieldResult,me(oa,EQc(a),3);case 3:e=null!=(d=null==(c=oa.yieldResult)?void 0:c.unlinkifiedComment)?d:"",h=(f=e.match(DQc))?"//depot/"+f[2]:"";case 4:return h?me(oa,FQc(a,h),8):me(oa,GQc(a),7);case 7:k=oa.yieldResult;
h=(q=k.match(DQc))?"//depot/"+q[2]:"";oa.jumpTo(4);break;case 8:return t=oa.yieldResult,F=null!=(z=null==(w=b)?void 0:w.snapshot[0].title.trim())?z:"",J=e.trim(),H="\u25a0 cat "+h+"\n"+t.content+"\n\u25a0 Bug b/2234234 title\n"+F+"\n\u25a0 Bug b/2234234 description\n"+J+'\n\u25a0 critique --cl_description --cl_number=541707606\nAutomated fix for "'+F+'"\n\u25a1 What is the code diff needed to fix the bug?\n\u25a0 patch --goose '+h+"\n@@\n",me(oa,HQc(a,"Analyzing issue using LLM",H),9);case 9:return O=
oa.yieldResult,P="@@\n"+O,me(oa,IQc(a,P),10);case 10:return me(oa,a.applyDiff(t.content,P),11);case 11:return U=oa.yieldResult,Z="\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",me(oa,HQc(a,"Generating changelist description",Z),12);case 12:return la=oa.yieldResult,a.stages.push({title:"Create changelist",description:la,state:"in-progress",type:"changelist-create",contents:U,revision:t.revision,path:h}),
Fa=Promise.resolve(),me(oa,Fa,0)}})};
var EQc=function(a){if(!b)var b=a.data.issueId;return(0,W.firstValueFrom)(a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(B(function(c){if(!c)return null;c=c.events.slice(0,1);return 0<c.length?c[0]:null}),Xe()))},GQc=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)})},HQc=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("mf");d.state="complete";return e.outputs[0]})},FQc=function(a,b){var c={title:"Retrieving data from Piper",state:"in-progress",type:"process"};a.stages.push(c);return jQc(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;})},IQc=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=l(a);for(b=a.next();!b.done;b=a.next())c.blocks.push({lines:b.value.split("\n")});console.log(c);return Promise.resolve()};
d8.prototype.applyDiff=function(a,b){var c={title:"Applying code changes",state:"in-progress",type:"process"};this.stages.push(c);try{var d=FBb(a,b);c.state="complete";return Promise.resolve(d)}catch(e){return c.state="error",c.error=""+e,Promise.reject(e)}};
d8.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:RBb(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 kQc(this.piperApi,a).then(function(d){var e=d.changeNumber;d="https://cider.corp.google.com/?createWs="+
d.workspaceName.match(CQc)[1]+"&patchCl="+e;b.domSafe.openInNewTab(d);kp(b.analytics,Sp.BUG_2_CODE,"patchCL");b.dialogRef.close()})}};d8.prototype.blocks=function(a){return"diff-preview"===a.type?a.blocks:[]};d8.prototype.complete=function(){this.stages.push({title:"Complete",state:"complete",type:"process"});return Promise.resolve()};d8.\u0275fac=function(a){return new (a||d8)(A(XVb),A(a8),A(Y7),A(UI),A($H),A(IE),A(MI),A(YVb))};
d8.\u0275cmp=Lc({type:d8,selectors:[["b-llm-generation-dialog"]],features:[nf],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,"disabled","keyup"],["color","primary","mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action",3,"disabled","click"],["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,"disabled","click"]],template:function(a,b){a&1&&(E(0,"article",0)(1,"header",1)(2,"h1",2),I(3,"mat-icon",3),E(4,"span"),R(5," Generate LLM suggested change "),G()()(),E(6,"section",4)(7,"div",5),C(8,QBb,9,5,"div",6),G()(),
E(9,"footer",7)(10,"button",8),M("click",function(){b.dialogRef.close()}),R(11," Cancel "),G()()());a&2&&(y(8),D("ngForOf",b.stages.slice().reverse()))},dependencies:[hw,dw,iw,jw,kw,hB,nA,GA,HA,IA],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 e8=function(a,b,c,d){this.llmSuggestionService=a;this.activeSession=b;this.matDialogService=c;this.analytics=d;this.issueId="";this.isInternalSession=this.activeSession.isInternalSession()};e8.prototype.ngOnInit=function(){this.showLlmSuggestion$=yQc(this.llmSuggestionService,this.issueId)};e8.prototype.openDialog=function(){kp(this.analytics,Sp.BUG_2_CODE,"generate",this.issueId);this.matDialogService.open(d8,{panelClass:"no-jitter",maxWidth:"70vw",disableClose:!0,data:{issueId:this.issueId}})};
e8.\u0275fac=function(a){return new (a||e8)(A(b8),A(nt),A(zA),A(MI))};
e8.\u0275cmp=Lc({type:e8,selectors:[["llm-suggested-bug-fix"]],inputs:{issueId:"issueId"},decls:4,vars:3,consts:[["class","carded margin-s-sides margin-s-bottom bg-main flex-kids-x",4,"ngIf"],["showHeader",""],[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"],["aiHelp",""],["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&&(C(0,SBb,7,1,"div",
0),T(1,"async"),C(2,UBb,9,1,"ng-template",null,1,jg));a&2&&D("ngIf",b.isInternalSession&&V(1,1,b.showLlmSuggestion$))},dependencies:[dw,lw,hB,nA,VQ,yR,mw],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 JQc=["textarea"],f8=function(a,b,c){Y.call(this);var d=this;this.dialogData=a;this.prompts=b;this.cdr=c;this.resetRequested$=new W.ReplaySubject(1);this.defaultSummaryPrompt$=Atc(this.prompts,this.dialogData.issueId,this.dialogData.summaryType);this.initialPromptText$=(0,W.merge)((0,W.of)(this.dialogData.customPrompt),this.resetRequested$.pipe(df(function(){return d.defaultSummaryPrompt$})));this.dialogData.customPrompt||this.resetRequested$.next()};X(f8,Y);f8.\u0275dir=Y.\u0275dir;
f8.prototype.ngAfterViewInit=function(){var a=this;this.initialPromptText$.pipe(ef(this.destroyed$)).subscribe(function(b){setTimeout(function(){a.textareaRef.nativeElement.value=b;a.cdr.markForCheck()})})};f8.\u0275fac=function(a){return new (a||f8)(A(DA),A(AY),A(Uu))};
f8.\u0275cmp=Lc({type:f8,selectors:[["b-custom-summary-prompt-dialog"]],viewQuery:function(a,b){a&1&&Uf(JQc,7);if(a&2){var c;Yf(c=Zf())&&(b.textareaRef=c.first)}},features:[nf],decls:12,vars:2,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["textarea",""],["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){a&1&&(E(0,"h1",0),R(1,"Experiment with prompt"),G(),E(2,"div",1),I(3,"textarea",null,2),G(),E(5,"div",3)(6,"button",4),R(7," Cancel "),G(),E(8,"button",5),M("click",function(){return b.resetRequested$.next()}),R(9," Reset prompt to default "),G(),E(10,"button",6),R(11," Generate "),G()());if(a&2){var c=Q(4);y(6);D("mat-dialog-close",void 0);y(4);D("mat-dialog-close",c.value)}},dependencies:[nA,FA,GA,HA,IA],styles:["textarea[_ngcontent-%COMP%] { width: 500px; height: 50vh}"]});var VBb=function(a){return{stage:a}},fCb=function(a,b){return{summary:a,stage:b}},iCb=function(a){return{summary:a}},rCb=function(a){return{"has-reacted-icon":a}},g8=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=tE(this.activeSession,"enableLlmDogfood");this.isSummarizable$=(0,W.defer)(function(){return wtc(h.prompts,h.issueId)});this.stage$=new W.BehaviorSubject("initial");this.defaultSummaryRequested$=new W.ReplaySubject(1);this.defaultCommentThreadSummary$=this.defaultSummaryRequested$.pipe(gf(this.stage$),df(function(k){k=l(k);k.next();k=k.next().value;return xtc(h.llmService,h.issueId,xCb(k))}));this.customSummaryRequested$=new W.ReplaySubject(1);this.customCommentThreadSummary$=
this.customSummaryRequested$.pipe(df(function(k){return ytc(h.llmService,k).then(function(q){return{status:0,summary:q}})}));this.lastCustomPrompt="";this.commentThreadSummary$=(0,W.merge)((0,W.merge)(this.defaultSummaryRequested$,this.customSummaryRequested$).pipe(B(function(){})),this.defaultCommentThreadSummary$,this.customCommentThreadSummary$);this.thumbsDownClicked=this.thumbsUpClicked=this.hasReacted=!1},$Bb=function(a){var b=wCb(a.stage$.value);a.stage$.next(b);kp(a.analytics,Sp.LLM_SUMMARIZE,
"click",b);a.defaultSummaryRequested$.next()},cCb=function(a){var b,c;return ke(function(d){if(1==d.nextAddress)return b={issueId:a.issueId,summaryType:1,customPrompt:a.lastCustomPrompt},me(d,(0,W.firstValueFrom)(a.matDialogService.open(f8,{maxWidth:560,data:b}).afterClosed()),2);if(c=d.yieldResult)a.stage$.next("custom"),a.customSummaryRequested$.next(c),a.lastCustomPrompt=c;qe(d)})};g8.prototype.isString=function(a){return"string"===typeof a};
g8.prototype.trackThumbsUp=function(){Wj("thumbsup");this.thumbsUpClicked=this.hasReacted=!0;kp(this.analytics,Sp.LLM_SUMMARIZE,"accept",KQc(this))};g8.prototype.trackThumbsDown=function(){Wj("thumbsdown");this.thumbsDownClicked=this.hasReacted=!0;kp(this.analytics,Sp.LLM_SUMMARIZE,"reject",KQc(this))};var KQc=function(a){return JSON.stringify({id:a.issueId,stage:a.stage$.value})};g8.prototype.openFeedbackDialog=function(){this.userFeedback.startFeedback()};
g8.prototype.copySummary=function(a){navigator.clipboard.writeText(a);kp(this.analytics,Sp.LLM_SUMMARIZE,"copy",KQc(this))};g8.\u0275fac=function(a){return new (a||g8)(A(zY),A(AY),A(EA),A(nt),A(MI),A(gS))};
g8.\u0275cmp=Lc({type:g8,selectors:[["llm-summary"]],inputs:{issueId:"issueId"},decls:12,vars:3,consts:[["class","summary carded margin-s-sides margin-s-bottom flex-kids-x padded-sides main-div",4,"ngIf"],["showHeader",""],["showStage",""],["summaryLoading",""],["renderedSummary",""],["showingSummary",""],[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"],["aiHelp",""],[4,"ngIf"],[1,"flex-kids-x","gap-s"],["mat-flat-button","","color","primary","class","gmat-button small",3,"click",4,"ngIf","ngIfElse"],["notSummarizable",""],["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"],["plainTextSummary",""],[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,"disabled","click"],["svgIcon","thumb_up_24px",3,"ngClass"],["mat-icon-button","","aria-label","thumb down",1,"gmat-button","feedback-button",3,"disabled","click"],["svgIcon","thumb_down_24px",3,"ngClass"],
[1,"instructional"]],template:function(a,b){a&1&&(C(0,XBb,6,4,"div",0),T(1,"async"),C(2,ZBb,7,1,"ng-template",null,1,jg)(4,lCb,3,3,"ng-template",null,2,jg)(6,mCb,1,0,"ng-template",null,3,jg)(8,pCb,3,2,"ng-template",null,4,jg)(10,vCb,3,3,"ng-template",null,5,jg));a&2&&D("ngIf",V(1,1,b.isSummarizable$))},dependencies:[gw,dw,lw,hB,HQ,nA,PC,yR,VQ,BM,mw],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 h8=function(a,b,c,d,e,f,h,k,q,t,w){Y.call(this);var z=this;this.brain=a;this.preferences=b;this.scrollTiming=c;this.analytics=d;this.element=e;this.editIssueService=f;this.appEvents=h;this.routePerformance=k;this.clearcut=q;this.activeSession=t;this.issuePermissionService=w;this.id$=this.brain.id$;this.issueAndEvents$=(0,W.combineLatest)([this.brain.issueJs$.pipe(Ce(Boolean)),this.brain.eventsJs$]);this.enableSummarySection=tE(this.activeSession,"enableSummarySection");this.enableLlmSummarization=
tE(this.activeSession,"enableLlmSummarization")&&this.activeSession.isInternalSession();this.enableGoosePrompting=tE(this.activeSession,"enableGoosePrompting")&&this.activeSession.isInternalSession();this.enableGoosePromptingSupportedIssues=tE(this.activeSession,"enableGoosePromptingSupportedIssues")&&this.activeSession.isInternalSession();this.showRecentEventsFirst=!1;this.comment$=this.id$.pipe(Ce(Bi),df(function(F){return z.editIssueService.issueCommentDraft(F).comment$}));this.finishedRendering$=
(0,W.combineLatest)([this.brain.eventsJs$.pipe(Se(0)),o_a("#AddCommentBox textarea",this.element.nativeElement)]).pipe(Ue())};X(h8,Y);h8.\u0275dir=Y.\u0275dir;
h8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Ce(Bi),ef(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.destroyed$.subscribe(function(){LQc(a)});o_a("#comment1 .critical-feature",this.element.nativeElement).pipe(ef(this.destroyed$)).subscribe(function(){var b=function(){kAc(a.routePerformance,"issue-details-w-comments")};requestAnimationFrame(b);setTimeout(b)});this.subscriptions.add(this.issueAndEvents$.pipe(Xe()).subscribe(function(b){var c=
l(b);b=c.next().value;c=c.next().value;MQc(a,b,c)}));this.subscriptions.add(this.finishedRendering$.pipe(gf(this.comment$)).subscribe(function(b){b=l(b);b.next();b.next().value.hasContent()&&a.appEvents.scrollToCommentBox.next()}))};
var MQc=function(a,b,c){var d=b.issue,e=c.map(function(f){return f.unlinkifiedComment});b=rCa(d,c).length;d=sCa(d,c);e=e.filter(Boolean).length;b=5<=b||10<=e||10<=d?"collab":"other";y6b(a.clearcut,"view_idp_"+b);an("dimension10",b);c=c.some(function(f){var h,k,q;return 0<(null!=(q=null==(h=f.commentReactions)?void 0:null==(k=h.get("UPVOTE"))?void 0:k.count)?q:0)});kp(a.analytics,Sp.EDIT_ISSUE,"view",c?"hasUpvoteReaction":"noUpvoteReaction")};h8.prototype.unloadPageHandler=function(){LQc(this)};
var LQc=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);kp(a.analytics,Sp.EDIT_ISSUE,"scroll","commentThread",e);FI(a.clearcut,e,"idp-time-scrolling-comments-recentFirst-"+a.showRecentEventsFirst)}};
h8.\u0275fac=function(a){return new (a||h8)(A(GK),A(BE),A(mS),A(MI),A(Ad),A(aL),A(RH),A(X0),A(EI),A(nt),A(IK))};
h8.\u0275cmp=Lc({type:h8,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("unload",function(){return b.unloadPageHandler()},!1,Gd)},features:[nf],decls:7,vars:10,consts:[["id","bv2-edit-issue-details-scroll","tabindex","-1",3,"bFocus"],[4,"ngIf"],["class","carded margined-s bg-main",3,"issueId","hidden",4,"ngIf"],["class","carded margined-s bg-main",3,"recent-first",4,"ngIf"],[1,"margin-s-sides","margin-s-top","padded-left",3,"id"],[3,"issueId"],[1,"carded","margin-s-sides","margin-s-bottom",
"bg-main","highlighted-left",3,"id"],[1,"carded","margined-s","bg-main",3,"issueId"],["issueSummaryCard",""],[1,"carded","margined-s","bg-main"],[3,"id",4,"ngIf"],[3,"id"]],template:function(a,b){a&1&&(E(0,"div",0),C(1,ACb,6,5,"ng-container",1),T(2,"async"),C(3,BCb,3,5,"issue-summary-card",2),T(4,"async"),C(5,ECb,5,5,"div",3),T(6,"async"),G());a&2&&(D("bFocus",!0),y(),D("ngIf",V(2,4,b.id$)),y(2),D("ngIf",b.enableSummarySection&&V(4,6,b.id$)),y(2),D("ngIf",V(6,8,b.id$)))},dependencies:[dw,p7,pY,o7,
m7,z7,Q7,A7,T7,g8,e8,mw],styles:["issue-summary-card[_ngcontent-%COMP%]{padding:8px}.summary[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}"]});var i8=function(){};i8.\u0275fac=function(a){return new (a||i8)};i8.\u0275mod=Nc({type:i8});i8.\u0275inj=wc({imports:[SH]});var j8=function(){};j8.\u0275fac=function(a){return new (a||j8)};j8.\u0275mod=Nc({type:j8});j8.\u0275inj=wc({imports:[SH,j0,i8,DP,$C,JD,d4,VR]});var k8=function(){};k8.\u0275fac=function(a){return new (a||k8)};k8.\u0275mod=Nc({type:k8});k8.\u0275inj=wc({imports:[j0,j8,PN,SH,QS,aN,cN,$C,JD,d4,YT,kR,DT]});var l8=function(){};l8.\u0275fac=function(a){return new (a||l8)};l8.\u0275mod=Nc({type:l8});l8.\u0275inj=wc({imports:[SH,EP,JA,BF,kN,$C,jT,RE,dx,ex,iR,JD,qy]});var m8=function(){};m8.\u0275fac=function(a){return new (a||m8)};m8.\u0275mod=Nc({type:m8});m8.\u0275inj=wc({imports:[SH,$C,JD,eB,ID]});var n8=function(a){Y.call(this);this.prefs=a};X(n8,Y);n8.\u0275dir=Y.\u0275dir;n8.prototype.onChange=function(a){this.prefs.save({useCodefont:a.checked}).pipe(ef(this.destroyed$)).subscribe()};n8.\u0275fac=function(a){return new (a||n8)(A(BE))};
n8.\u0275cmp=Lc({type:n8,selectors:[["b-toggle-code-font"]],features:[nf],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matTooltip","Use a monospace typeface to display all comments",3,"checked","change"]],template:function(a,b){a&1&&(Lf(),E(0,"mat-slide-toggle",0),M("change",function(c){return b.onChange(c)}),T(1,"async"),Mf(2),G());a&2&&D("checked",V(1,1,b.prefs.codeFont$))},dependencies:[jU,kU,PC,mw],styles:["mat-slide-toggle[_ngcontent-%COMP%] {font-size: 14px; }"],changeDetection:0});var o8=function(){};o8.\u0275fac=function(a){return new (a||o8)};o8.\u0275mod=Nc({type:o8});o8.\u0275inj=wc({imports:[SH,$C,kN,JA,mU,RE,JD,kR]});var p8=function(){};p8.\u0275fac=function(a){return new (a||p8)};p8.\u0275mod=Nc({type:p8});p8.\u0275inj=wc({providers:[N6],imports:[SH,WR,YM,$X,l8,aN,gX,iX,hX,m8,$C,JD,BF,iR,o8]});var q8=function(){};q8.\u0275fac=function(a){return new (a||q8)};q8.\u0275mod=Nc({type:q8});q8.\u0275inj=wc({imports:[SH,$C,eB,qN]});var r8=function(){};r8.\u0275fac=function(a){return new (a||r8)};r8.\u0275mod=Nc({type:r8});r8.\u0275inj=wc({imports:[SH]});var s8=function(){};s8.\u0275fac=function(a){return new (a||s8)};s8.\u0275mod=Nc({type:s8});s8.\u0275inj=wc({imports:[SH,aN,gX,QS,DT,NT,PN]});var t8=function(){};t8.\u0275fac=function(a){return new (a||t8)};t8.\u0275mod=Nc({type:t8});t8.\u0275inj=wc({imports:[SH,PN]});var u8=function(){};u8.\u0275fac=function(a){return new (a||u8)};u8.\u0275mod=Nc({type:u8});u8.\u0275inj=wc({imports:[j0,j8,PN,SH,QS,aN,s8,cN,d4,YT,DT,JD,t8,$C,r8]});var v8=function(){};v8.\u0275fac=function(a){return new (a||v8)};v8.\u0275mod=Nc({type:v8});v8.\u0275inj=wc({imports:[SH,u8,s8,$C,kR]});var w8=function(){};w8.\u0275fac=function(a){return new (a||w8)};w8.\u0275mod=Nc({type:w8});w8.\u0275inj=wc({imports:[SH,$C,RE]});var x8=function(){};x8.\u0275fac=function(a){return new (a||x8)};x8.\u0275mod=Nc({type:x8});x8.\u0275inj=wc({imports:[PN,SH,v8,k8,iX,m8,$C,JD,kR,iR,w8,DT,RE]});var y8=function(){};y8.\u0275fac=function(a){return new (a||y8)};y8.\u0275mod=Nc({type:y8});y8.\u0275inj=wc({imports:[SH,UR,JD,aN]});var z8=function(){};z8.\u0275fac=function(a){return new (a||z8)};z8.\u0275mod=Nc({type:z8});z8.\u0275inj=wc({imports:[fQ,KX,PN,SH,WR,dx,YM,$C,kN,MX,y8,QV]});var A8=function(){};A8.\u0275fac=function(a){return new (a||A8)};A8.\u0275mod=Nc({type:A8});A8.\u0275inj=wc({imports:[SH,aN,cN,UR,YT]});var B8=function(){};B8.\u0275fac=function(a){return new (a||B8)};B8.\u0275mod=Nc({type:B8});B8.\u0275inj=wc({imports:[A8,SH,aN,cN,$C,UR,YT,BF,jN]});var C8=function(){};C8.\u0275fac=function(a){return new (a||C8)};C8.\u0275mod=Nc({type:C8});C8.\u0275inj=wc({imports:[PN,SH,WK]});var D8=function(){};D8.\u0275fac=function(a){return new (a||D8)};D8.\u0275mod=Nc({type:D8});D8.\u0275inj=wc({imports:[SH,hX,$C,JD,C8,bN,YT,BF,A8]});var E8=function(){};E8.\u0275fac=function(a){return new (a||E8)};E8.\u0275mod=Nc({type:E8});E8.\u0275inj=wc({imports:[A8,SH,$C,C8]});var F8=function(){};F8.\u0275fac=function(a){return new (a||F8)};F8.\u0275mod=Nc({type:F8});F8.\u0275inj=wc({imports:[SH,O5,kR]});var G8=function(){};G8.\u0275fac=function(a){return new (a||G8)};G8.\u0275mod=Nc({type:G8});G8.\u0275inj=wc({imports:[SH,$C,Zx]});var H8=function(){};H8.\u0275fac=function(a){return new (a||H8)};H8.\u0275mod=Nc({type:H8});H8.\u0275inj=wc({imports:[SH,G8,B8,D8,E8,F8]});var I8=function(){};I8.\u0275fac=function(a){return new (a||I8)};I8.\u0275mod=Nc({type:I8});I8.\u0275inj=wc({imports:[JA,kN,SH,Fy,$C,PN,mP]});var J8=function(){};J8.\u0275fac=function(a){return new (a||J8)};J8.\u0275mod=Nc({type:J8});J8.\u0275inj=wc({imports:[PN,SH]});var K8=function(){};K8.\u0275fac=function(a){return new (a||K8)};K8.\u0275mod=Nc({type:K8});K8.\u0275inj=wc({imports:[SH,QS,$C,JA,Fy,bN,UR,J8,DT]});var L8=function(){};L8.\u0275fac=function(a){return new (a||L8)};L8.\u0275mod=Nc({type:L8});L8.\u0275inj=wc({imports:[j0,PN,SH,QS,I8,aN,cN,$C,JD,UR,K8,J8]});var M8=function(){};M8.\u0275fac=function(a){return new (a||M8)};M8.\u0275mod=Nc({type:M8});M8.\u0275inj=wc({imports:[SH,$C,JA,nR,VR]});var N8=function(){};N8.\u0275fac=function(a){return new (a||N8)};N8.\u0275mod=Nc({type:N8});N8.\u0275inj=wc({imports:[SH,kR,$C,JA,JD,VR,nR,PN]});var O8=function(){};O8.\u0275fac=function(a){return new (a||O8)};O8.\u0275mod=Nc({type:O8});O8.\u0275inj=wc({imports:[SH,mA,Xz,dx,$C,JA,ON,ex,BF,q8,qY,p8,k8,x8,H8,D8,z8,jN,L8,DT,kR,N8,M8]});var NQc=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(df(this.issueFridge.watch),Ce(Bi));this.commentNumberToEventMap$=this.issue$.pipe(B(function(f){return f.issueId}),df(function(f){return e.eventsForIssueFridge.watch(f)}),B(function(f){var h;return null!=(h=null==f?void 0:f.events)?h:[]}),B(function(f){return new Map(f.filter(function(h){return!!h.commentNumber}).map(function(h){return[h.commentNumber,
h]}))}));this.relatedLinks$=(0,W.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(B(function(f){f=l(f);var h=f.next().value,k=f.next().value,q;return(null==(q=h.relatedLinks)?void 0:q.map(function(t){return Object.assign({},t,{comment:k.get(t.sourceCommentNumber)})}))||[]}));this.issueReferences$=this.relatedLinks$.pipe(B(function(f){return f.filter(vGa)}));this.imageLinks$=this.relatedLinks$.pipe(B(function(f){return f.filter(rGa)}));this.otherLinks$=this.relatedLinks$.pipe(B(function(f){return f.filter(wGa)}))};
NQc.\u0275fac=function(a){return new (a||NQc)(A(nt),A(UI),A(GK),A($H))};
NQc.\u0275cmp=Lc({type:NQc,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&&(E(0,"section",0),C(1,MCb,7,9,"ng-container",1),T(2,"async"),G());a&2&&(y(),D("ngIf",V(2,1,b.issue$)))},dependencies:[dw,
hB,G7,D7,I7,mw],styles:["[_nghost-%COMP%]{display:block;padding:8px}h4[_ngcontent-%COMP%]{margin:16px 0}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var P8=function(){};P8.\u0275fac=function(a){return new (a||P8)};P8.\u0275mod=Nc({type:P8});P8.\u0275inj=wc({imports:[SH,D8,B8,E8]});var Q8=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(Bi));this.codeMentionsState$=this.id$.pipe(df(function(e){return ANc(d.codeMentions,e)}))};Q8.prototype.displayPackageNames=function(a){return this.codeMentions.displayPackageNames(a)};Q8.prototype.trackSqueegeeClick=function(){this.codeMentions.trackSqueegeeClick()};Q8.\u0275fac=function(a){return new (a||Q8)(A(GK),A(V5),A(BR))};
Q8.\u0275cmp=Lc({type:Q8,selectors:[["issue-todos"]],decls:3,vars:3,consts:[[1,"carded","bg-main"],[4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],["hasResults",""],[1,"empty-state","layout-centered-column","gap"],["aria-hidden","true","alt","",3,"src"],[1,"type-l"],[1,"muted"],["href","http://go/buganizer-guide/guides/issue-todos.md","target","_blank"],[3,"issueId","packageMentionSet","displayPackageName",4,"ngFor","ngForOf"],[1,"margin-top"],["target","_blank",
3,"href","click"],[3,"issueId","packageMentionSet","displayPackageName"]],template:function(a,b){a&1&&(E(0,"section",0),C(1,SCb,3,3,"ng-container",1),T(2,"async"),G());a&2&&(y(),D("ngIf",V(2,1,b.id$)))},dependencies:[hw,dw,DKc,mw],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 R8=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()};R8.prototype.ngOnInit=function(){this.pageTitle.setTitle("All of my hotlists");this.fetchUserHotlists()};
R8.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)})};R8.\u0275fac=function(a){return new (a||R8)(A(EF,2),A(YP),A(BI),A(iI),A(AG))};
R8.\u0275cmp=Lc({type:R8,selectors:[["list-hotlists-page"]],features:[bg([EF])],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&&(E(0,"h2",0),R(1,"Browse Hotlists"),G(),E(2,"div",1)(3,"a",2),R(4," Create Hotlist "),G()(),E(5,"div",3),C(6,TCb,1,1,"b-spinner",4)(7,UCb,1,1,"b-hotlist-grid",5),G());a&
2&&(y(3),D("href",b.createHotlistPath,Pd),y(3),D("ngIf",b.isLoading),y(),D("ngIf",!b.isLoading))},dependencies:[dw,x_,HQ,oA],encapsulation:2});var OQc=new Set(["issueId","modifiedTime","createdTime"]),S8=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la,oa,Fa,Ta,Pa,Ya,sb){Y.call(this);var Na=this;this.cdr=a;this.routerEvents=b;this.window=c;this.bLocation=d;this.$log=e;this.issueApi=f;this.userApi=h;this.hotlistApi=k;this.activeSession=q;this.butterBar=t;this.analytics=w;this.appSearchState=z;this.issuePagination=F;this.userPreferencesManager=J;this.urlPreferences=H;this.gridPreferencesFetcher=O;this.paths=P;this.timeout=U;this.errorHandler=
Z;this.statusMessages=la;this.domSafe=oa;this.appEvents=Fa;this.hotlistFridge=Ta;this.issueFridge=Pa;this.batchIssueRelationshipsService=Ya;this.componentFridge=sb;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 ja;null==(ja=Na.resultsGrid)||g5a(ja)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue",onPress:function(){var ja;null==(ja=Na.resultsGrid)||h5a(ja)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var ja;null==(ja=Na.resultsGrid)||Txc(ja)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var ja;null==(ja=Na.resultsGrid)||
Vxc(ja)}},{keys:[wo("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var ja;null==(ja=Na.resultsGrid)||Wxc(ja,!0)}},{keys:[wo("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var ja;null==(ja=Na.resultsGrid)||Wxc(ja,!1)}},{keys:[xo("*","a")],displayAs:"* then a",description:"Select all issues on this page",onPress:function(){var ja;null==(ja=Na.resultsGrid)||ja.selectAll()}},{keys:[xo("*","n")],displayAs:"* then n",description:"Deselect all issues on this page",
onPress:function(){var ja;null==(ja=Na.resultsGrid)||Qxc(ja)}},{keys:["a"],displayAs:"a",description:"Change assignee",onPress:function(){var ja;null==(ja=Na.gridControls)||DX(ja,null,0)}},{keys:["d"],displayAs:"d",description:"Mark as duplicate",onPress:function(){var ja;null==(ja=Na.gridControls)||DX(ja,Fn.DUPLICATE,3)}},{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var ja;if(null!=(ja=Na.gridControls)&&ja.hasSelectedIssues()){var ya;null==(ya=ja.hotlistPicker)||ya.open()}}},
{keys:["r"],displayAs:"r",description:"Add comment",onPress:function(){var ja;null==(ja=Na.gridControls)||dsc(ja)}},{keys:["u",wo("r")],displayAs:"u / Shift+r",description:"Refresh search results",onPress:function(){return Na.refreshResults()}},{keys:[xo("p","0"),xo("p","1"),xo("p","2"),xo("p","3"),xo("p","4")],displayAs:"p <n>",description:"Mark selected issues as priority n",onPress:function(ja){Na.resultsGrid&&Na.sendBulkEditRequest([{actions:[{fieldName:"priority",value:"P"+ja}],issueIds:Na.resultsGrid.getSelectedIssues().map(function(ya){return ya.issueId})}])}},
{keys:[EHa("ENTER")],displayAs:"Ctrl+Enter",description:"Open current issue in new tab",onPress:function(){var ja=c.document.activeElement;if("A"===ja.tagName){var ya=Na.paths.getBaseUrl();if(ja.href&&!ja.href.startsWith(ya)){Na.domSafe.openInNewTab(ja.href);return}}var Ga;null==(Ga=Na.resultsGrid)||h_(Ga,{openInNewTab:!0})}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(ja){var ya=c.document.activeElement;if(1===ja&&"A"===ya.tagName)if(ya.href)ja=
Na.paths.getBaseUrl(),ya.href.startsWith(ja)?Na.bLocation.setUrl(ya.href.slice(ja.length)):Na.domSafe.openInNewTab(ya.href);else{var Ga;null==(Ga=Na.resultsGrid)||h_(Ga)}else if(2===ja){var gb;null==(gb=Na.resultsGrid)||h_(gb,{openInNewTab:!0})}else{var Wa;null==(Wa=Na.resultsGrid)||h_(Wa)}}}];tE(this.activeSession,"enableIssueSidebar")&&a.push({keys:[wo("o"),wo("ENTER")],displayAs:"Shift+o / Shift+Enter",description:"Toggle current issue in sidebar",onPress:function(ja){var ya=c.document.activeElement;
1===ja&&"A"===ya.tagName&&ya.href?rm(Na.domSafe,ya.href):null!=(ja=Na.resultsGrid)&&(ja.isIssueSidebarOpen=!ja.isIssueSidebarOpen,ja.cdr.detectChanges())}});this.BASE_HOTKEYS=a};X(S8,Y);S8.prototype.ngOnInit=function(){var a=this;PQc(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(ef(this.destroyed$)).subscribe(function(){PQc(a)})};
var QQc=function(a){var b=[].concat(r(Ssc));a.activeSession.isInternalSession()&&(a=b.indexOf("issueId"),b.splice(a,0,"minSlo"));return b.map(Si).filter(Bi)};
S8.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];Th(d,c)||(d&&ua(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var PQc=function(a){return RQc(a).then(function(){return a.getIssues()}).then(function(){return a.searchResults?(a.subscribeToIssueChanges(a.searchResults.issues),SQc(a,a.searchResults.startIndex,a.searchResults.endIndex)):Promise.resolve()}).finally(function(){a.cdr.detectChanges()})};
S8.prototype.subscribeToIssueChanges=function(a){var b=this,c;null==(c=this.issueSubscriptions)||c.unsubscribe();this.issueSubscriptions=new W.Subscription;a=l(a);for(c=a.next();!c.done;c=a.next())this.issueSubscriptions.add(this.issueFridge.watch(c.value.id).pipe(Ce(Bi),ef(this.destroyed$)).subscribe(function(d){var e;return ke(function(f){if(1==f.nextAddress)return b.searchResults?me(f,(0,W.firstValueFrom)(b.componentFridge.watch(d.snapshot[0].componentId,{trustUncertainMemory:!0})),3):f.jumpTo(2);
if(2!=f.nextAddress){e=f.yieldResult;if(!e)return f.return();Bgc(b.searchResults,[{issue:d,component:e}]);b.searchResults=b.searchResults.clone()}b.cdr.detectChanges();qe(f)})}))};
var TQc=function(a){return null!=a.window.document.activeElement&&a.window.document.activeElement!==a.window.document.body},RQc=function(a){var b=un();TQc(a)&&a.window.document.activeElement.blur();a.timeout.schedule(function(){b.resolve()});return b.promise},SQc=function(a,b,c){var d=un();TQc(a)||UQc(a,b,c);a.timeout.schedule(function(){d.resolve()});return d.promise},VQc=function(a,b){var c=a.activeSession.getMaxAccurateSearchResults();b.numResults>c&&!b.isPreSort&&(b=ih(["Number of search results exceeds "+
c+" ; some matching issues may be omitted.",jh("br"),"Please try to restrict your search further or change the sort column to either CREATED or LAST MODIFIED. "]),c={},c=jh("a",(c.href="http://go/buganizer-faq#q-why-do-i-need-to-restrict-my-search-to-less-than-1000-results",c),"go/buganizer-faq"),c=ih([jh("br"),"See ",c," for more details."]),b=a.activeSession.isInternalSession()?ih([b,c]):b,P4b(a.butterBar,b))};g=S8.prototype;
g.setSort=function(a,b,c){c=void 0===c?!0:c;var d=Si(a);if(d){var e=new Vi(d,"ASC"===b?"ASCENDING":"DESCENDING");va(this.sortPreferences,function(f){return Th(f.fieldId,e.fieldId)});!c||OQc.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):Xh(a.fieldId.type),direction:"ASCENDING"===a.direction?"ASC":"DESC"};Th(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.saveSortColumns=function(a){A_(this.urlPreferences,{sortColumns:a,page:1})};
g.initColumns=function(a,b){var c=this;b=void 0===b?WQc:b;a.then(function(d){c.displayColumns=d;c.metaColumns=b;c.isColumnSaveEnabled=!0;c.issueColumnsInternal=[].concat(r(b),r(k_a(d)));c.cdr.detectChanges()})};g.saveColumns=function(a){this.displayColumns=a.map(function(b){return Si(b.name)});A_(this.urlPreferences,{displayColumns:this.displayColumns})};
g.goToIssue=function(a,b,c){var d;c&&"A"===(null==(d=c.target)?void 0:d.tagName)||(kp(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?rm(this.domSafe,a):this.bLocation.setUrl(a))};g.goToPage=function(a){this.bLocation.search("p",a)};var dt=function(a,b,c){void 0!==b&&a.goToPage(b+c)};g=S8.prototype;g.refreshResults=function(){XP(this.issuePagination);return PQc(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=l(a[0].issueIds);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=void 0;null==(f=this.searchResults)||Cgc(f,e,d)}this.cdr.detectChanges();Ks(this.butterBar,"Saving changes...",0);return WI(this.issueFridge,a[0].issueIds,{markRead:d,userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(k){for(var q=l(a[0].issueIds),t=q.next();!t.done;t=
q.next()){t=t.value;var w=void 0,z=void 0;null==(w=c.searchResults)||Cgc(w,t,void 0,null!=(z=k)?z:null)}Ks(c.butterBar,"Successfully marked issues "+(d?"read.":"unread."))}).catch(function(k){for(var q=l(a[0].issueIds),t=q.next();!t.done;t=q.next()){t=t.value;var w=void 0;null==(w=c.searchResults)||Cgc(w,t)}c.errorHandler.errorHandler(null,k)}).finally(function(){c.cdr.detectChanges()})}e=WAa(a).map(function(k){return k.fieldName});kp(this.analytics,this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));
var h={bulkEditOps:a};Ks(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(k){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=l(c.searchResults.issues.entries()),t=q.next();!t.done;t=q.next()){var w=l(t.value);t=w.next().value;w=w.next().value;k.finishedIssues[w.issueId]&&(t=c.searchResults.issues[t],zJa(t,k.finishedIssues[w.issueId],null),
c.loadHotlists(t),Object.assign(c.customFieldMap,t.customFieldMap))}c.cdr.detectChanges()}w=a[0];q=k.notFinishedIssueIds;t=String(w.actions[0].value);w=w.actions[0].actionType;if("ADD"!==w&&"REMOVE"!==w)throw Error("De");q.length?(c.butterBar.showWarning("Failed to update issue(s) "+q.join(", ")+"."),kp(c.analytics,c.ANALYTICS_CATEGORY,"bulkEditError",""+q.length)):Ks(c.butterBar,("ADD"===w?"Added child issue(s) to parent ["+t+"]":"Removed child issue(s) from parent ["+t+"]")+" on "+String(Object.keys(k.finishedIssues).length)+
" issues.");c.cdr.detectChanges()}).catch(function(k){c.errorHandler.errorHandler(null,k)}):this.issueApi.issueBulkEdit(h,b).then(function(k){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=l(c.searchResults.issues.entries()),t=q.next();!t.done;t=q.next()){var w=l(t.value);t=w.next().value;w=w.next().value;k.affectedIssues[w.issueId]&&(w=k.affectedIssues[w.issueId],t=c.searchResults.issues[t],zJa(t,w,k.componentMap[qa(w.snapshot).componentId]),c.loadHotlists(t),Object.assign(c.customFieldMap,
t.customFieldMap))}c.cdr.detectChanges()}k.errors&&k.errors.length?(q="Failed to update issue(s) "+(nsa(k.errors,"issueId").join(", ")+"."),c.butterBar.showWarning(q),kp(c.analytics,c.ANALYTICS_CATEGORY,"bulkEditError",""+k.errors.length)):(k=K7b(c.statusMessages,h,c.customFieldMap))?Ks(c.butterBar,k):Ks(c.butterBar,"Saved "+XAa(h.bulkEditOps).length+" issue(s).");c.cdr.detectChanges()}).catch(function(k){c.errorHandler.errorHandler(null,k)})};
g.loadHotlists=function(a){var b=this;a=l(a?[a]:this.searchResults?this.searchResults.issues:[]);for(var c=a.next();!c.done;c=a.next()){c=c.value;if(!c.hotlistId)break;c=l(c.hotlistId);for(var d=c.next();!d.done;d=c.next())d=d.value,this.hotlistMap[d]||this.hotlistApi.get(d).then(function(e){b.hotlistFridge.announce(e);b.addHotlist(e)})}};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;kp(this.analytics,this.ANALYTICS_CATEGORY,"createHotlist");Ks(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);Ks(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;Ks(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(){kp(this.analytics,this.ANALYTICS_CATEGORY,"exportCsv");JE(this.domSafe,this.getCsvUrl())};
var XQc=function(a,b){a.userPreferencesManager.save({resultsPerPage:b}).pipe(ef(a.destroyed$)).subscribe(function(){a.resultsPerPage=b;A_(a.urlPreferences,{page:1});kp(a.analytics,a.ANALYTICS_CATEGORY,"resultsPerPageSave",b.toString());a.refreshResults();a.cdr.detectChanges()},function(c){Vj(c)})},UQc=function(a,b,c){var d=a.issuePagination.getFocusedIssue();a.timeout.schedule(function(){if(d>=b&&d<=c)a.focusedRowIndex=d-b;else{Pgc(a.issuePagination);a.focusedRowIndex=0;var e=document.querySelector(".bv2-view");
e&&(e.scrollTop=0)}a.cdr.detectChanges()})},bDb=function(){setTimeout(function(){var a=document.querySelector(".b-select-all-toggle");a&&a.focus()})};
Vg.Object.defineProperties(S8.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){Th(this.issueColumnsInternal,a)||(kp(this.analytics,this.ANALYTICS_CATEGORY,"columnModification",iDa(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 WQc=[i_,j_,k_];
S8.\u0275fac=function(a){return new (a||S8)(A(EF),A(LI),A(Window),A(hI),A(DF),A(PH),A(BI),A(qI),A(nt),A(hG),A(MI),A(KM),A(WP),A(BE),A(z_),A(B_),A(iI),A(zG),A(AG),A($J),A(IE),A(RH),A(CI),A(UI),A(T0),A(oH))};S8.\u0275dir=Qc({type:S8,features:[nf]});var YCb=function(){return{q:"status:open"}},T8=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la,oa,Fa,Ta,Pa,Ya,sb,Na,ja,ya,Ga,gb,Wa){S8.call(this,a,b,c,d,f,h,k,q,e,t,w,z,F,J,H,O,P,U,Ta,Z,la,Ya,Na,ja,Ga,gb);this.hotkeys=oa;this.pageTitle=Fa;this.routePerformance=Pa;this.element=sb;this.currentTracker=ya;this.imageUrls=Wa;this.ANALYTICS_CATEGORY=Sp.LIST_ISSUES;this.isLoading=!0;this.showHotlists=!1;this.SPACE_EMPTY_STATE=this.imageUrls.SPACE_EMPTY_STATE;this.cancelConcurrentlyRunningSearches$=new W.Subject};
X(T8,S8);T8.\u0275dir=S8.\u0275dir;g=T8.prototype;g.ngOnInit=function(){var a=this;S8.prototype.ngOnInit.call(this);this.subscriptions.add(WM(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="",LM(this.appSearchState,this.query),this.searchResults=null,this.setPageTitle(),this.isLoading=!1):(this.routePerformance.ignoringNextNav=!0,A_(this.urlPreferences,{query:"assignee:"+this.currentUserEmail+" status:open"},!0)),Promise.resolve(void 0);LM(this.appSearchState,
this.query);b=J$b(this.appSearchState);if(0<b)return k6b(this.bLocation,this.paths.viewHotlist(b)),A_(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);b=K$b(this.appSearchState);if(0<b)return k6b(this.bLocation,this.paths.viewSavedSearch(b)),A_(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);this.searchResults=null;this.isLoading=!0;this.setPageTitle();this.subscriptions.add((0,W.concat)((0,W.timer)(0).pipe(kka()),o_a("b-issues-grid, #no-results",this.element.nativeElement)).subscribe(function(){var c=
function(){kAc(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 YQc);var b=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:QQc(this)}),c=Promise.race([b.searchPreferences.then(function(f){f=Uh(f);f.query=a.computeQuery(f);f.returnUrl=a.bLocation.getUrl();f.trackerIds=a.appSearchState.currentTrackerScope;return Lgc(a.issuePagination,f)}),(0,W.firstValueFrom)(this.cancelConcurrentlyRunningSearches$)]),d;(null==(d=this.query)?0:d.includes("teamid:"))&&
kp(this.analytics,this.ANALYTICS_CATEGORY,"searchByTeam");var e;(null==(e=this.query)?0:e.includes("componentid:"))&&kp(this.analytics,this.ANALYTICS_CATEGORY,"searchByComponent");c.then(function(f){f instanceof YQc||VQc(a,f)}).catch(function(f){"number"===typeof f?A_(a.urlPreferences,{page:f}):a.errorHandler.errorHandler(null,f)});b=b.displayColumns;this.initColumns(b);return lp({searchResultsPage:c,displayColumns:b}).then(function(f){var h=f.searchResultsPage;if(h instanceof YQc)return!1;a.searchResults=
a.processSearchResults(h);a.page=h.params.page;a.sortPreferences=h.params.sortColumns||[];a.loadHotlists();a.cdr.detectChanges();kp(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 Si(b.name)});U1b(this.userPreferencesManager,l_a(a)).pipe(ef(this.destroyed$)).subscribe()};
g.setPageTitle=function(){this.appSearchState.currentQuery===MM(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===I$b(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(ef(this.destroyed$)).subscribe(function(){A_(b.urlPreferences,{page:1,sortColumns:null});bDb();var d=b.bLocation.search();Th(c,d)&&b.refreshResults()})};g.getCsvUrl=function(){return this.paths.issuesCsvAction(this.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
T8.\u0275fac=function(a){return new (a||T8)(A(EF),A(LI),A(uE),A(hI),A(nt),A(DF),A(PH),A(BI),A(qI),A(hG),A(MI),A(KM),A(WP),A(BE),A(z_),A(B_),A(iI),A(zG),A($J),A(IE),A(VM),A(YP),A(AG),A(X0),A(RH),A(Ad),A(CI),A(UI),A(IM),A(T0),A(oH),A(BR))};
T8.\u0275cmp=Lc({type:T8,selectors:[["list-issues-page"]],features:[bg([EF]),nf],decls:11,vars:7,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[3,"grid","hotlistChoices","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],["id","no-results","class","bv2-view-loading layout-centered-column gap","tabindex","-1",3,"bFocus",4,"ngIf"],["class",
"bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],["id","no-results","tabindex","-1",1,"bv2-view-loading","layout-centered-column","gap",3,"bFocus"],["aria-hidden","true","alt","",1,"empty-state-img",3,"src"],[4,"ngIf","ngIfElse"],["noQuery",""],["routerLink","/issues",3,"queryParams",4,"ngIf","ngIfElse"],["noTracker",""],["routerLink","/issues",3,"queryParams"],["href","https://developers.google.com/issue-tracker/concepts/searches","target","_blank"],[1,"bv2-grid-container"],[3,"searchResults",
"focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar","init","columnsChange","sortChange","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(E(0,"h2",0),R(1,"Issue search results"),G(),E(2,"div",1)(3,"b-grid-controls",2),M("init",function(c){return b.gridControls=c})("onRefresh",function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",
function(c){return b.loadHotlist(c)})("onExportCsv",function(){return b.exportCsv()}),G(),E(4,"div",3)(5,"b-pagination",4),M("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return XQc(b,c.option)}),G()()(),E(6,"div",5),I(7,"ask-ai"),C(8,VCb,4,1,"div",6)(9,aDb,9,8,"div",7)(10,cDb,2,6,"div",8),G());a&2&&(y(3),D("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),y(2),D("searchResults",b.searchResults),y(),pf("aria-busy",b.isLoading),y(2),D("ngIf",b.isLoading),
y(),D("ngIf",!b.isLoading&&!b.hasResults()),y(),D("ngIf",!b.isLoading&&b.hasResults()))},dependencies:[n_,i0,g_,dw,HQ,pY,xF,NM,mw],styles:[".empty-state-img[_ngcontent-%COMP%]{max-width:320px;max-height:320px;padding-bottom:56px}/*# sourceMappingURL=list_issues.css.map */"]});var YQc=function(){},U8=function(){};U8.\u0275fac=function(a){return new (a||U8)};U8.\u0275mod=Nc({type:U8});U8.\u0275inj=wc({imports:[w_,k0,f0,gQ,SH,kR,qY,BF,wP]});var V8=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la,oa,Fa,Ta,Pa,Ya,sb,Na,ja,ya,Ga,gb,Wa,zc){T8.call(this,a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la,oa,Fa,Ta,Pa,Ya,sb,ja,ya,Ga,gb,Wa,zc);this.issueLru=Na;this.ANALYTICS_CATEGORY="recentIssues";this.recentIds=Array.from(this.issueLru.viewed.keys());this.initialLoad=!0};X(V8,T8);V8.\u0275dir=T8.\u0275dir;
V8.prototype.ngOnInit=function(){T8.prototype.ngOnInit.call(this);this.pageTitle.setTitle("Recent Issues");this.appSearchState.clear();this.initialLoad=!0};V8.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()})};
V8.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("|")};V8.prototype.processSearchResults=function(a){this.initialLoad&&(a.params.sortColumns=[]);var b;null!=(b=a.params.sortColumns)&&b.length||(a.issues=gDb(this.recentIds,a.issues));return a};
V8.\u0275fac=function(a){return new (a||V8)(A(EF),A(LI),A(uE),A(hI),A(nt),A(DF),A(PH),A(BI),A(qI),A(hG),A(MI),A(KM),A(WP),A(BE),A(z_),A(B_),A(iI),A(zG),A($J),A(IE),A(VM),A(YP),A(AG),A(X0),A(RH),A(Ad),A(bR),A(CI),A(UI),A(IM),A(T0),A(oH),A(BR))};
V8.\u0275cmp=Lc({type:V8,selectors:[["list-issues-recent"]],features:[bg([EF]),nf],decls:10,vars:7,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[3,"grid","hotlistChoices","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],["id","no-results","class","bv2-view-loading",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],
["id","no-results",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","init","columnsChange","sortChange","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(E(0,"h2",0),R(1,"Recent Issues"),G(),E(2,"div",1)(3,"b-grid-controls",2),M("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()}),G(),E(4,"div",3)(5,"b-pagination",4),M("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return XQc(b,d.option)}),G()()(),E(6,"div",5),C(7,dDb,3,0,"div",6)(8,eDb,2,0,"div",7)(9,fDb,2,5,"div",8),G());if(a&2){var c;y(3);D("grid",null!==(c=b.resultsGrid)&&void 0!==c?c:void 0)("hotlistChoices",b.hotlistChoices);y(2);D("searchResults",
b.searchResults);y();pf("aria-busy",b.isLoading);y();D("ngIf",b.isLoading);y();D("ngIf",!b.isLoading&&!b.hasResults());y();D("ngIf",!b.isLoading&&b.hasResults())}},dependencies:[HQ,n_,i0,g_,dw],encapsulation:2});var W8=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};W8.prototype.ngOnInit=function(){this.sloEnabled&&(this.pageTitle.setTitle("Manage SLOs"),ZQc(this))};
var ZQc=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)})};W8.\u0275fac=function(a){return new (a||W8)(A(EF,2),A(YP),A(iI),A(IJ),A(AG),A(nt))};
W8.\u0275cmp=Lc({type:W8,selectors:[["list-slos-page"]],features:[bg([EF])],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&&(E(0,"div",0)(1,"a",1),R(2," Create SLO "),G()(),E(3,"div",2),C(4,hDb,5,0,"div",3)(5,iDb,1,1,"b-spinner",4)(6,lDb,3,2,"ng-container",5)(7,pDb,6,5,"ng-container",5),G());a&2&&(y(),D("href",b.createSloPath,Pd),y(3),D("ngIf",b.sloEnabled),y(),D("ngIf",b.isLoading),y(),D("ngIf",!b.isLoading),y(),D("ngIf",!b.isLoading))},dependencies:[dw,
hB,oA,O0,HQ],encapsulation:2});var $Qc=function(a){this.internalArray_=m(a)};X($Qc,n);g=$Qc.prototype;g.getAuthor=function(){return $i(this,Mi,1)};g.setAuthor=function(a){li(this,Mi,1,a)};g.hasAuthor=function(){return ji(this,Mi,1)};g.getTimestamp=function(){return $i(this,mj,2)};g.setTimestamp=function(a){return li(this,mj,2,a)};g.hasTimestamp=function(){return ji(this,mj,2)};g.getAdd=function(){return $i(this,pl,3)};g.getRemove=function(){return $i(this,pl,4)};g.getAddMask=function(){return $i(this,Cu,5)};
g.getRemoveMask=function(){return $i(this,Cu,6)};var X8=function(a){this.internalArray_=m(a,0,X8.messageId)};X(X8,n);X8.prototype.getUpdatesList=function(){return gi(this,$Qc,1,hi())};X8.repeatedFields_=[1];X8.messageId="b.ComponentHistory";var Y8=function(a,b){this.executor=b;this.componentHistoriesCache=a.get("component_histories-second-level-cache")||a.create("component_histories-second-level-cache",{capacity:25})};Y8.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:X8}).then(owa))};Y8.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};
Y8.prototype.invalidateCache=function(a){this.componentHistoriesCache.remove(String(a))};Y8.\u0275fac=function(a){return new (a||Y8)(p(jI),p(RD))};Y8.\u0275prov=vc({token:Y8,factory:Y8.\u0275fac,providedIn:"root"});var Z8=function(){};Z8.prototype.ngOnInit=function(){};Z8.\u0275fac=function(a){return new (a||Z8)};
Z8.\u0275cmp=Lc({type:Z8,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&&C(0,qDb,4,1,"ng-container",0)(1,rDb,4,1,"ng-container",0);a&2&&(D("ngIf",b.teamPath),y(),D("ngIf",b.componentPath))},dependencies:[dw,ZT,p0],styles:["b-component-breadcrumb[_ngcontent-%COMP%], b-team-breadcrumb[_ngcontent-%COMP%]{display:inline-block}"]});var wDb=function(a){this.internalArray_=m(a)};X(wDb,n);var aRc=function(a){this.internalArray_=m(a,0,aRc.messageId)};X(aRc,n);aRc.repeatedFields_=[1];aRc.messageId="b.BatchGroupMetadataResult";var $8=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=sDb(e);return CMb(d,function(h){return f[h]||null})})})};$8.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"}})};$8.\u0275fac=function(a){return new (a||$8)(p(a9),p(uH))};
$8.\u0275prov=vc({token:$8,factory:$8.\u0275fac,providedIn:"root"});var a9=function(a){this.executor=a};a9.prototype.bulkGet=function(a){a=[].concat(r(new Set(a)));a=vn(a.join(","));return this.executor.get({url:"action/group_metadata/"+a,responseConstructor:aRc}).then(xDb)};a9.\u0275fac=function(a){return new (a||a9)(p(RD))};a9.\u0275prov=vc({token:a9,factory:a9.\u0275fac,providedIn:"root"});var yDb=[{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 b9=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 Ip(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:gh("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:gh('"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){IDb(e.activeSession.getUserEmail(),e.componentFlattenedAccessPolicy,e.componentAccessPolicyUnderEdit)?e.confirmationDialogService.open({title:"Component Administrators Changed",content:gh("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){HDb(e.issueDefaultFlattenedAccessPolicy,e.issueDefaultAccessPolicyUnderEdit)?e.confirmationDialogService.open({title:"Group Removed from Restricted+ Readers",content:gh("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=Ao(f);return di(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=An([].concat(r(ai(e.componentAccessPolicyUnderEdit.admins,e.componentFlattenedAccessPolicy.admins)),r(ai(e.issueDefaultAccessPolicyUnderEdit.admins,e.issueDefaultFlattenedAccessPolicy.admins)),r(ai(e.issueDefaultAccessPolicyUnderEdit.editors,
e.issueDefaultFlattenedAccessPolicy.editors)),r(ai(e.issueDefaultAccessPolicyUnderEdit.appenders,e.issueDefaultFlattenedAccessPolicy.appenders)),r(ai(e.issueDefaultAccessPolicyUnderEdit.readers,e.issueDefaultFlattenedAccessPolicy.readers)),r(ai(e.issueDefaultAccessPolicyUnderEdit.restrictedReaders,e.issueDefaultFlattenedAccessPolicy.restrictedReaders)),r(ai(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=CDb(f);f=GDb(f);if(0===h.size&&0===f.size)return Promise.resolve(!0);var k=DDb(h.size,f.size);h=EDb(h);f=FDb(f);var q=ih([h,h===et?et:jh("br"),f]);h={};q=ih([q,jh("p",{},ih(["Please review the ",jh("a",(h.href=S4b(e.documentationLinks)+"#fully-public-component",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:k,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()&&BDb(e.issueDefaultAccessPolicyUnderEdit,e.issueDefaultFlattenedAccessPolicy)){var h={};h=ih([jh("p",{},"You are about to give a broad category of users permissions on a public component."),jh("p",{},ih(["Please review the ",
jh("a",(h.href=S4b(e.documentationLinks)+"#recommended-access-settings",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(k){e.componentAccessPolicyUnderEdit&&(e.componentAccessPolicyUnderEdit=Object.assign({},e.componentAccessPolicyUnderEdit,{implicitAccess:k?"ALLOW":"DENY"}))}};var f={},h=jh("a",(f.href=np(e.documentationLinks)+"#expanded-access",f),"Learn more.");return new Promise(function(k){e.implicitAccess.getValue()===
e.implicitAccess.getSavedValue()?k(!0):e.implicitAccess.getValue()?e.confirmationDialogService.open({title:"Turn on expanded access for component "+e.component.componentId+"?",content:ih(["When expanded access is on, assignees and verifiers can edit issues in this component, and CC'd users can comment. ",h]),onConfirm:function(){k(!0)},onDismiss:function(){k(!1)}}):e.confirmationDialogService.open({title:"Turn off expanded access for component "+e.component.componentId+"?",content:ih(["Some users may lose the ability to edit or comment on issues in this component. ",
h]),onConfirm:function(){k(!0)},onDismiss:function(){k(!1)}})})};this.getAddedAutomationInPolicyChange=function(){var f=[].concat(r(zDb(e.issueDefaultFlattenedAccessPolicy,e.issueDefaultAccessPolicyUnderEdit)),r(zDb(e.componentFlattenedAccessPolicy,e.componentAccessPolicyUnderEdit))),h=new Set;f=l(f);for(var k=f.next();!k.done;k=f.next()){k=l(k.value.addedPrincipals);for(var q=k.next();!q.done;q=k.next())q=Ao(q.value),(ci(q)?WBa(q.user.emailAddress):di(q)&&WBa(q.group.emailAddress))&&h.add(q)}return[].concat(r(h))};
this.performAutomationUserAccessCheck=function(){if(!e.enableComponentAutomationCheck)return Promise.resolve(!0);var f=e.getAddedAutomationInPolicyChange();return new Promise(function(h){if(f.length){var k={};k=jh("a",(k.href=R4b(e.documentationLinks),k)," automation account documentation");e.confirmationDialogService.open({title:"Adding automation accounts",content:ih([gh("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"),
jh("wbr"),k,gh("."),jh.apply(null,["ol",{}].concat(r(f.map(function(q){if(ci(q)){var t;return jh("li",{},gh(null!=(t=q.user.emailAddress)?t:""))}if(di(q)){var w;return jh("li",{},gh(null!=(w=q.group.emailAddress)?w:""))}throw Error("nf`"+JSON.stringify(q));})))),jh("br",{}),gh("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,k,q;return ke(function(t){switch(t.nextAddress){case 1:h=
l(f),k=h.next();case 2:if(k.done){t.jumpTo(4);break}q=k.value;return me(t,q(),5);case 5:if(!t.yieldResult)return t.return(!1);k=h.next();t.jumpTo(2);break;case 4:return t.return(!0)}})};this.enableRostersChecks=tE(this.activeSession,"enableRostersChecks");this.enableComponentAutomationCheck=tE(this.activeSession,"enableComponentAutomationCheck")},bRc=function(a,b){var c=b.component,d=b.originalComponent,e=b.componentReaders,f=b.componentAccessPolicyUnderEdit,h=b.componentFlattenedAccessPolicy,k=b.issueDefaultAccessPolicyUnderEdit,
q=b.issueDefaultFlattenedAccessPolicy,t,w;return ke(function(z){if(1==z.nextAddress)return a.component=c,a.originalComponent=d,a.componentReaders=e,a.componentAccessPolicyUnderEdit=f,a.componentFlattenedAccessPolicy=h,a.issueDefaultAccessPolicyUnderEdit=k,a.issueDefaultFlattenedAccessPolicy=q,t=[a.performAccessLimitCheck,a.performDeletedAccountsCheck,a.performAdminAccessRemovalCheck,a.performRestrictedPlusGroupRemovalCheck,a.performAddedLargeOrOpenGroupCheck,a.performAddedNewInternalAliasesCheck,
a.performChangedImplicitAccessCheck,a.performAutomationUserAccessCheck],me(z,a.runValidation(t),2);w=z.yieldResult;return z.return(w)})};b9.\u0275fac=function(a){return new (a||b9)(p(nt),p(lG),p(jG),p($8))};b9.\u0275prov=vc({token:b9,factory:b9.\u0275fac});var c9=function(a){Y.call(this);this.principalTypes=a;this.componentReaders=[];this.templates=[]};X(c9,Y);c9.\u0275dir=Y.\u0275dir;
c9.prototype.ngOnChanges=function(){var a=this.componentAccessPolicy,b=this.issueAccessPolicy,c=new Set([].concat(r(this.componentReaders))),d=new Set([].concat(r(a.admins),r(a.inheritedAdmins)));a=new Set([].concat(r(d),r(a.appenders)));var e=new Set([].concat(r(b.admins))),f=new Set([].concat(r(e),r(b.editors))),h=new Set([].concat(r(f),r(b.appenders))),k=new Set([].concat(r(b.restrictedPlusReaders))),q=new Set([].concat(r(k),r(b.restrictedReaders)));b=new Set([].concat(r(q),r(h),r(b.readers)));
this.templates=[{permission:"Admin Components",principals:[].concat(r(d)).map(ft)},{permission:"Create Issues",principals:[].concat(r(a)).map(ft)},{permission:"Admin Issues",principals:[].concat(r(e)).map(ft)},{permission:"Edit Issues",principals:[].concat(r(f)).map(ft)},{permission:"Comment on Issues",principals:[].concat(r(h)).map(ft)},{permission:"View Issues",principals:[].concat(r(b)).map(ft)},{permission:"View Components",principals:[].concat(r(c)).map(ft)},{permission:"View Restricted",principals:[].concat(r(q)).map(ft)},
{permission:"View Restricted+",principals:[].concat(r(k)).map(ft)}];cRc(this,this.templates)};
var cRc=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next()){c=l(c.value.principals);for(var d=c.next(),e={};!d.done;e={principal$jscomp$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":pK(a.principalTypes,e.principal$jscomp$14.value,!0).then(function(f){return function(h){f.principal$jscomp$14.detailedUserType=h.detailedUserType}}(e))}};c9.\u0275fac=function(a){return new (a||c9)(A(oK))};
c9.\u0275cmp=Lc({type:c9,selectors:[["permissions-view"]],inputs:{issueAccessPolicy:"issueAccessPolicy",componentAccessPolicy:"componentAccessPolicy",componentReaders:"componentReaders",accessLevel:"accessLevel"},features:[nf,ed],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&&(E(0,"table")(1,"tr",0)(2,"th",1),R(3,"Permission"),G(),E(4,"th",1),R(5,"Users With Permission"),G()(),C(6,KDb,6,2,"ng-container",2),G());a&2&&(y(6),D("ngForOf",b.templates))},dependencies:[hw,OV],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 dRc=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"}),d9={},eRc=(d9.issueAdmin=new Set(["issueEditor"]),d9.issueEditor=new Set(["issueAppender"]),d9.issueAppender=new Set(["issueReader"]),d9.issueRestrictedReader=
new Set(["issueReader"]),d9.issueRestrictedPlusReader=new Set(["issueRestrictedReader"]),d9.issueReader=new Set(["componentReader"]),d9.componentAdmin=new Set(["componentAppender"]),d9.componentAppender=new Set(["componentReader"]),d9.componentReader=new Set,d9),UDb=mo(dRc,function(a){return eRc[a]}),gt=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"}),e9={},fRc=(e9.componentAdmin=new Set(["componentAdmin","issueAdmin"]),e9.issueAdmin=new Set(["issueAdmin","componentAppender"]),e9.issueEditor=new Set(["issueEditor","componentAppender"]),e9.issueContributor=new Set(["issueAppender","componentAppender"]),e9.componentAdminOnly=new Set(["componentAdmin"]),
e9.issueCreator=new Set(["componentAppender"]),e9.issueAdminOnly=new Set(["issueAdmin"]),e9.issueEditorExisting=new Set(["issueEditor"]),e9.issueCommenter=new Set(["issueAppender"]),e9.restrictedPlusViewer=new Set(["issueRestrictedPlusReader"]),e9.restrictedViewer=new Set(["issueRestrictedReader"]),e9.issueViewer=new Set(["issueReader"]),e9),SDb=mo(gt,function(a){return fRc[a]}),gRc=VDb(),RDb=mo(gt,function(a){a=[].concat(r(SDb.get(a))).flatMap(function(b){return[].concat(r(gRc.get(b)))});return new Set(a)}),
TDb=mo(gt,function(a){return new Set(gt.filter(function(b){return b!==a&&asa(RDb.get(b),RDb.get(a))}))});var YDb={componentAdmin:[],componentAdminOnly:[],issueAdminOnly:[],inheritedComponentAdmin:[],issueAdmin:[],editor:[],contributor:[],viewer:[],editExistingIssuesOnly:[],createIssuesOnly:[],commentOnly:[],viewRestricted:[],viewRestrictedPlus:[]},hRc={admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null};var f9=function(a,b,c,d,e,f,h){var k=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=YDb;this.originalComponent=this.parentComponent=this.component=null;this.isUpdatingAccessLimit=this.isUpdatingAccessPolicy=this.isSaving=!1;this.implicitAccess={getValue:function(){return k.componentAccessPolicyUnderEdit?"ALLOW"===k.componentAccessPolicyUnderEdit.implicitAccess:!1},getSavedValue:function(){return k.componentFlattenedAccessPolicy?
"ALLOW"===k.componentFlattenedAccessPolicy.implicitAccess:!1},setValue:function(q){k.componentAccessPolicyUnderEdit&&(k.componentAccessPolicyUnderEdit=Object.assign({},k.componentAccessPolicyUnderEdit,{implicitAccess:q?"ALLOW":"DENY"}))},isUpdated:function(){var q;return k.componentAccessPolicyUnderEdit.implicitAccess!==(null==(q=k.componentFlattenedAccessPolicy)?void 0:q.implicitAccess)}};this.componentReaders=[];this.issueDefaultFlattenedAccessPolicy=this.componentFlattenedAccessPolicy=hRc;this.componentAccessPolicyUnderEdit=
Do();this.issueDefaultAccessPolicyUnderEdit=Do();this.restrictedPlusReadersValidators={noRestrictedPlusGroups:function(q){a:{var t=k.issueDefaultFlattenedAccessPolicy;if(q&&t){t=t.restrictedPlusReaders;q=l(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}}};f9.prototype.hasUnsavedAccessLimitChanges=function(){var a=this.originalComponent,b=this.component;return a&&b?a.accessLimit.accessLevel!==b.accessLimit.accessLevel:!1};
var iRc=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;Ks(a.butterBar,"Changed access level.")},function(b){a.component.accessLimit.accessLevel=a.originalComponent.accessLimit.accessLevel;
var c="Could not change access level. ";sn(b)&&(c+=tn(b));a.butterBar.showWarning(c)}).finally(function(){a.isUpdatingAccessLimit=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit})};f9.prototype.updateComponentAndOriginalComponent=function(a){this.component=Uh(a);this.originalComponent=Uh(a)};
f9.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)})};f9.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)})};
f9.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=Eo(c);b.componentAccessPolicyUnderEdit=Uh(b.componentFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.accessPolicyApi.get("ISSUE_DEFAULTS",this.componentId).then(function(c){b.issueDefaultFlattenedAccessPolicy=
Eo(c);b.issueDefaultAccessPolicyUnderEdit=Uh(b.issueDefaultFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.loadComponent(),this.loadUserAccess(this.componentId)]).then(function(){})};
var jRc=function(a){a.rolesMap=ZDb({componentAccessPolicy:a.componentAccessPolicyUnderEdit,issueAccessPolicy:a.issueDefaultAccessPolicyUnderEdit})},kRc=function(a,b){var c=a.issueDefaultAccessPolicyUnderEdit,d=a.issueDefaultFlattenedAccessPolicy;return d&&aEb(d,c)?a.accessPolicyApi.update("ISSUE_DEFAULTS",a.componentId,b):Promise.resolve(void 0)},lRc=function(a){var b=$Db(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy);var c=a.issueDefaultAccessPolicyUnderEdit;a=a.issueDefaultFlattenedAccessPolicy;
c=!(!a||!aEb(a,c));return b||c},mRc=function(a,b){return $Db(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy)?a.accessPolicyApi.get("COMPONENT",a.componentId).then(function(c){var d=Eo(c);if($Db(d,a.componentAccessPolicyUnderEdit)){if($Db(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)};f9.prototype.loadUserAccess=function(a){var b=this;return zH(this.userAccess,"admin","components/"+String(a)).then(function(c){b.isAdmin=c;return b.isAdmin?Promise.resolve(!0):zH(b.userAccess,"writer","components/"+String(a))}).catch(function(c){b.errorHandler.errorHandler(null,c);return Promise.resolve(!1)})};
f9.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=Fo(this.componentAccessPolicyUnderEdit);var c=Fo(this.issueDefaultAccessPolicyUnderEdit)}catch(d){return c="An unknown problem occurred",d instanceof Error&&(c=d.message),this.butterBar.showWarning(c),Promise.resolve()}if(lRc(this))return this.isSaving=this.isUpdatingAccessPolicy=!0,Ks(this.butterBar,"Saving access settings...",0),kRc(this,c).then(function(d){d&&(b.readers=[].concat(r(d.admins||[]),r(d.editors||[]),r(d.appenders||[]),
r(d.readers||[]),r(d.restrictedPlusReaders||[]),r(d.restrictedReaders||[])));return mRc(a,b).catch(function(e){var f;return ke(function(h){if(1==h.nextAddress)return f=Fo(a.issueDefaultFlattenedAccessPolicy),me(h,kRc(a,f),2);throw e;})})}).then(function(){return iRc(a)}).then(function(){return a.initialize()}).then(function(){var d=a.rolesMap;jRc(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=bEb({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=bEb(f,h);switch(d&&f?2:d?0:f?1:3){case 0:kp(a.analytics,Sp.ROLE_BASED_PERMISSIONS,"update","roles:standard");break;case 1:kp(a.analytics,Sp.ROLE_BASED_PERMISSIONS,"update","roles:advanced");break;case 2:kp(a.analytics,Sp.ROLE_BASED_PERMISSIONS,"update","roles:both");break;default:kp(a.analytics,Sp.ROLE_BASED_PERMISSIONS,"update","roles:neither")}Ks(a.butterBar,"Access settings saved",0)}).catch(function(d){a.butterBar.showWarning(tn(d),
0)}).finally(function(){return ke(function(d){if(1==d.nextAddress)return me(d,a.loadUserAccess(a.componentId),2);a.isUpdatingAccessPolicy=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;qe(d)})});jRc(this);return iRc(this)};
var nRc=function(a,b){b=WDb(b);a.issueDefaultAccessPolicyUnderEdit=Object.assign({},a.issueDefaultAccessPolicyUnderEdit,b.issuesPermissions);a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,b.componentPermissions)},mEb=function(a,b){a.component&&a.originalComponent&&a.componentFlattenedAccessPolicy&&a.componentAccessPolicyUnderEdit&&a.issueDefaultFlattenedAccessPolicy&&a.issueDefaultAccessPolicyUnderEdit?(nRc(a,b),bRc(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();Ks(a.butterBar,"Update failed: Invalid changes to component permissions",0);return Promise.resolve()})):Promise.resolve()};
Vg.Object.defineProperties(f9.prototype,{componentAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){Th(a,this.componentAccessPolicyUnderEditInternal)||(this.componentAccessPolicyUnderEditInternal=a,this.componentReaders=XDb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.componentAccessPolicyUnderEditInternal}},issueDefaultAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){Th(a,
this.issueDefaultAccessPolicyUnderEditInternal)||(this.issueDefaultAccessPolicyUnderEditInternal=a,this.componentReaders=XDb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.issueDefaultAccessPolicyUnderEditInternal}}});f9.\u0275fac=function(a){return new (a||f9)(p(hH),p(AG),p(hG),p(xH),p(xR),p(b9),p(MI))};f9.\u0275prov=vc({token:f9,factory:f9.\u0275fac});var g9=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.rolesEditor=c;this.AccessLevelStrings=e1b};g9.prototype.getRecentIssuesLink=function(){return Ln(this.rolesEditor.component.componentId,{includeArchived:this.rolesEditor.component?this.rolesEditor.component.archived:!1})};g9.prototype.isParentPartner=function(){return!(!this.rolesEditor.parentComponent||!$Ua(this.rolesEditor.parentComponent))};
g9.prototype.isParentPublic=function(){return!(!this.rolesEditor.parentComponent||!Ip(this.rolesEditor.parentComponent))};g9.\u0275fac=function(a){return new (a||g9)(A(nt),A(jG),A(f9))};
g9.\u0275cmp=Lc({type:g9,selectors:[["access-limit-settings"]],decls:6,vars:2,consts:[["class","component-banner",4,"ngIf"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about access control","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[1,"component-banner"],[1,"component-visibility-settings"],[1,"component-visibility-header"],[1,"access-level-panel"],[1,"access-level-field"],["type","radio","id","access-level-internal","name","accessLevelInternal",
"value","INTERNAL",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for","access-level-internal"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for","access-level-external-partner"],[1,"access-level-field","bv2-edit-resource-readonly"],["type","radio","id","access-level-public","name","accessLevelPublic","value","EXTERNAL_PUBLIC",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for",
"access-level-public"],[1,"access-level-warning"],["aria-label","Learn more about access level","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["type","radio","id","access-level-internal","name","accessLevelInternal","value","INTERNAL",3,"disabled","ngModel","ngModelChange"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"disabled","ngModel","ngModelChange"],["type","radio","id","access-level-public","name","accessLevelPublic",
"value","EXTERNAL_PUBLIC",3,"disabled","ngModel","ngModelChange"]],template:function(a,b){a&1&&(C(0,fEb,20,7,"div",0),E(1,"div",1)(2,"p"),R(3," Access to issues is granted per component using the settings below. All settings provide access to view the component. "),E(4,"a",2),R(5,"Learn more"),G()()());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=Hp(b.rolesEditor.parentComponent)||
Hp(b.rolesEditor.component);break a}}else{a=!1;break a}a=void 0}D("ngIf",a);y(4);Nf("href","",np(b.documentationLinks),"#recommended-role-based-permissions-configurations",Pd)}},dependencies:[dw,Dg,Sw,Hw,Ow],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 h9=function(a,b){this.documentationLinks=a;this.rolesEditor=b};h9.prototype.isAccessEditDisabled=function(){return this.rolesEditor.isSaving||!this.rolesEditor.isAdmin};h9.prototype.setImplicitAccess=function(a){this.rolesEditor.implicitAccess.setValue(a)};h9.\u0275fac=function(a){return new (a||h9)(A(jG),A(f9))};
h9.\u0275cmp=Lc({type:h9,selectors:[["expanded-access-settings"]],decls:10,vars:5,consts:[[1,"expanded-access-settings"],[1,"permission-toggle-checkbox"],["ariaLabelledby","expanded-access-help permission-toggle-help",3,"checked","disabled","change"],[1,"permission-toggle-text"],["id","expanded-access-help",1,"edit-field-help"],["id","permission-toggle-help",1,"permission-toggle-help","edit-field-help"],["target","_blank","aria-label","Learn more about expanded access","aria-describedby","expanded-access-help",
1,"keep-underline","keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"span",1)(2,"mat-checkbox",2),M("change",function(c){return b.setImplicitAccess(c.checked)}),G()(),E(3,"div",3)(4,"strong",4),R(5,"Expanded access"),G(),E(6,"div",5),R(7," When checked, assignees, verifiers, and collaborators can edit issues for this component, and CC'd users can add comments. "),E(8,"a",6),R(9,"Learn more"),G()()()());a&2&&(yf("bv2-edit-resource-readonly",b.isAccessEditDisabled()),y(2),D("checked",
b.rolesEditor.implicitAccess.getValue())("disabled",b.isAccessEditDisabled()),y(6),Nf("href","",np(b.documentationLinks),"#expanded-access",Pd))},dependencies:[WE],styles:["[_nghost-%COMP%]{display:flex}.expanded-access-settings[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);display:flex;margin:10px 0px;border-radius:8px;width:100%;padding:16px}.expanded-access-settings[_ngcontent-%COMP%]   .permission-toggle-text[_ngcontent-%COMP%]{margin-left:1em}/*# sourceMappingURL=expanded_access_settings.css.map */"]});var gEb=function(){return{}},iEb=function(a,b){return{displayText:a,values:b}},hEb=function(a){return[a]},jEb=function(){return[]},i9=function(){this.rolesTableData=[];this.canEdit=!1;this.rolesMapUpdated=new zv;this.formIsValid=new zv;this.aclFormValidity=new Map};i9.prototype.getIconName=function(a,b){return a.grantedPermissions[b]?"done":"issue-status-wont-fix"};i9.prototype.updateRolesMap=function(a,b){this.rolesMapUpdated.emit({role:a,assignees:b})};i9.\u0275fac=function(a){return new (a||i9)};
i9.\u0275cmp=Lc({type:i9,selectors:[["roles-view-table"]],inputs:{rolesTableData:"rolesTableData",displayedTableColumns:"displayedTableColumns",canEdit:"canEdit",accessLevel:"accessLevel"},outputs:{rolesMapUpdated:"rolesMapUpdated",formIsValid:"formIsValid"},decls:31,vars:1,consts:[["scope","col"],[4,"ngFor","ngForOf"],[1,"edit-field"],[1,"role-title"],[3,"htmlFor"],["mat-icon-button","",3,"matTooltip"],["svgIcon","help-outline"],[3,"idForInputBox","users","ariaLabel","accessLevel","customValidators",
"includeAliases","includeViewAliases","containerChips","usersChange","isValid"],["size","large",3,"name"]],template:function(a,b){a&1&&(E(0,"table")(1,"thead")(2,"tr")(3,"th",0),R(4,"Role Assignments"),G(),E(5,"th",0)(6,"h6"),R(7,"Admin Components"),G()(),E(8,"th",0)(9,"h6"),R(10,"Create Issues"),G()(),E(11,"th",0)(12,"h6"),R(13,"Admin Issues"),G()(),E(14,"th",0)(15,"h6"),R(16,"Edit Issues"),G()(),E(17,"th",0)(18,"h6"),R(19,"Comment on Issues"),G()(),E(20,"th",0)(21,"h6"),R(22,"View Issues"),G()(),
E(23,"th",0)(24,"h6"),R(25,"View Restricted"),G()(),E(26,"th",0)(27,"h6"),R(28,"View Restricted+"),G()()()(),E(29,"tbody"),C(30,kEb,26,29,"ng-container",1),G()());a&2&&(y(30),D("ngForOf",b.rolesTableData))},dependencies:[hw,hB,IV,yP,nA,PC],styles:["table[_ngcontent-%COMP%]{width:100%;font-size:.8125rem;font-family:Roboto,Arial,sans-serif}table[_ngcontent-%COMP%], thead[_ngcontent-%COMP%], tbody[_ngcontent-%COMP%]{display:flex;flex-direction:column}tr[_ngcontent-%COMP%]{display:flex}th[_ngcontent-%COMP%]:first-child{visibility:hidden;flex:0 0 40%}th[_ngcontent-%COMP%]:not(:first-child){width:20em;height:20px;text-align:center}th[_ngcontent-%COMP%]:not(:first-child)   h6[_ngcontent-%COMP%]{display:inline;font-size:.8125rem}td[_ngcontent-%COMP%]:first-child{min-width:250px;flex:0 0 40%}td[_ngcontent-%COMP%]:not(:first-child){display:flex;justify-content:center;width:20em;padding-top:16px}b-multi-user-input[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%]     td .edit-field{margin:14px 0 0}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input{width:auto;max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input input.bv2-multi-user-embedded-input{max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-multi-user-errors{padding:9px}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-user-chip{max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-user-chip .mat-tooltip-trigger{display:flex}.role-title[_ngcontent-%COMP%]{display:flex;margin:5px 2px}.role-title[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%]     .mat-icon-button{margin:0 5px;width:inherit;height:inherit}[_nghost-%COMP%]     .mat-icon-button mat-icon{display:flex;height:16px;width:16px}[_nghost-%COMP%]     b-icon{width:2em;margin:30px 0px}/*# sourceMappingURL=roles_view_table.css.map */"]});var j9=function(){this.rolesMap=YDb;this.isSaving=!1;this.saveRolesMap=new zv;this.rolesUnderEdit=YDb;this.formIsValid=!0;this.displayedTableColumns="role componentAdmin createIssues issueAdmin issueEditor issueCommenter issueReader restrictedReader restrictedPlusReader".split(" ");this.standardRolesTableData=[];this.advancedRolesTableData=[]},oRc=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},pRc=function(a){return a.advancedRolesTableData.some(function(b){return 0<b.users.length})},qRc=function(a){a.rolesUnderEdit=Object.assign({},a.rolesMap)};g=j9.prototype;g.ngOnInit=function(){qRc(this);oRc(this)};
g.ngOnChanges=function(a){a.rolesMap&&qRc(this);oRc(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()&&(!Th(this.rolesMap,this.rolesUnderEdit)||this.rolesEditor.implicitAccess.isUpdated()||this.hasUnsavedAccessLimitChanges())&&this.formIsValid};j9.\u0275fac=function(a){return new (a||j9)};
j9.\u0275cmp=Lc({type:j9,selectors:[["roles-view"]],inputs:{rolesMap:"rolesMap",isSaving:"isSaving",component:"component",rolesEditor:"rolesEditor"},outputs:{saveRolesMap:"saveRolesMap"},features:[ed],decls:12,vars:11,consts:[[3,"rolesTableData","displayedTableColumns","canEdit","accessLevel","rolesMapUpdated","formIsValid"],["togglePosition","before",1,"mat-elevation-z0",3,"expanded"],["mat-raised-button","","aria-label","Update","color","primary",3,"disabled","click"],["mat-raised-button","","aria-label",
"Revert Changes",3,"disabled","click"]],template:function(a,b){a&1&&(I(0,"access-limit-settings"),E(1,"roles-view-table",0),M("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),G(),E(2,"mat-expansion-panel",1)(3,"mat-expansion-panel-header")(4,"mat-panel-title"),R(5," Advanced Roles "),G()(),E(6,"roles-view-table",0),M("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),G()(),I(7,"expanded-access-settings"),
E(8,"button",2),M("click",function(){b.canSave()&&b.saveRolesMap.emit(b.rolesUnderEdit)}),R(9,"Update"),G(),E(10,"button",3),M("click",function(){qRc(b);oRc(b)}),R(11," Revert Changes\n"),G());a&2&&(y(),D("rolesTableData",b.standardRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),y(),D("expanded",pRc(b)),y(4),D("rolesTableData",b.advancedRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",
b.getComponentAccessLevel()),y(2),D("disabled",!b.canSave()),y(2),D("disabled",!!Th(b.rolesMap,b.rolesUnderEdit)))},dependencies:[s5,t5,u5,nA,i9,g9,h9],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 k9=function(a,b){Y.call(this);this.rolesEditor=a;this.route=b};X(k9,Y);k9.\u0275dir=Y.\u0275dir;k9.prototype.ngOnInit=function(){var a=this;this.route.paramMap.pipe(B(function(b){return b.get("componentId")}),Ce(Bi),df(function(b){return a.rolesEditor.initialize(Number(b))}),ef(this.destroyed$)).subscribe(function(){jRc(a.rolesEditor)})};k9.prototype.isSaving=function(){return this.rolesEditor.isSaving};k9.\u0275fac=function(a){return new (a||k9)(A(f9),A(Im))};
k9.\u0275cmp=Lc({type:k9,selectors:[["role-based-permissions"]],features:[bg([f9,b9]),nf],decls:2,vars:2,consts:[["class","bv2-view-loading",4,"ngIf"],[4,"ngIf"],[1,"bv2-view-loading"],[1,"padded"],["label","Edit Roles"],[3,"rolesMap","isSaving","component","rolesEditor","saveRolesMap"],["label","View Permissions"],[3,"componentReaders","componentAccessPolicy","issueAccessPolicy","accessLevel"]],template:function(a,b){a&1&&C(0,lEb,2,0,"div",0)(1,nEb,7,8,"div",1);a&2&&(D("ngIf",!(null==b.rolesEditor.component?
0:b.rolesEditor.component.componentId)),y(),D("ngIf",null==b.rolesEditor.component?null:b.rolesEditor.component.componentId))},dependencies:[dw,KN,JN,HQ,c9,j9],styles:["/*# sourceMappingURL=role_based_permissions.css.map */"]});var rRc=new Xc("GMAT_LEGACY_CHECKBOX_OPTION");var sRc=new Map([["primary","mat-primary"],["accent","mat-accent"],["warn","mat-warn"]]),l9=function(a,b){this.elementRef=a;this.gmatCheckboxOption=b;this.color="primary";this.hasGmatAttribute=a.nativeElement.hasAttribute("gmat-checkbox")};l9.prototype.ngOnInit=function(){this.isEnabled()&&(this.elementRef.nativeElement.classList.remove.apply(this.elementRef.nativeElement.classList,r(sRc.values())),this.elementRef.nativeElement.classList.add(sRc.get(this.color)))};
l9.prototype.isEnabled=function(){return this.gmatCheckboxOption?this.hasGmatAttribute||this.gmatCheckboxOption.enabled:this.hasGmatAttribute};l9.\u0275fac=function(a){return new (a||l9)(A(Ad),A(rRc,8))};l9.\u0275dir=Qc({type:l9,selectors:[["mat-checkbox","gmat-checkbox",""],["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&yf("gmat-checkbox",b.isEnabled())},inputs:{color:"color"}});var tRc=["archiveDialog"],uRc=["archiveButton"],vRc=["metadataForm"],wRc={BASIC:"basic",CUSTOM_FIELDS:"customFields",FIELD_ORDERING:"fieldOrdering",TEMPLATES:"templates",ACCESS:"access"},m9=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la,oa,Fa,Ta,Pa,Ya){Y.call(this);var sb=this;this.route=a;this.cdr=b;this.routeParams=c;this.bLocation=d;this.templatesApi=e;this.paths=f;this.appHistory=h;this.butterBar=k;this.pageTitle=q;this.activeSession=t;this.documentationLinks=w;this.matDialogService=z;this.analytics=
F;this.checkBeforeExit=J;this.userAccess=H;this.componentActions=O;this.errorHandler=P;this.componentUpdates=U;this.componentUpdatesApi=Z;this.confirmationDialogService=la;this.appEvents=oa;this.teamsService=Fa;this.sloApi=Ta;this.sloService=Pa;this.currentTracker=Ya;this.componentId$=new W.ReplaySubject(1);this.Tab=wRc;this.componentListRoute=ICa;this.showSloInheritancePath=!1;this.component$=new W.BehaviorSubject(null);this.componentTrackerId$=this.component$.pipe(B(function(Na){return null==Na?
void 0:Na.trackerId}));this.showTrackerRedirect$=(0,W.combineLatest)([this.currentTracker.trackerId$,this.componentTrackerId$]).pipe(B(function(Na){var ja=l(Na);Na=ja.next().value;ja=ja.next().value;return sb.shouldShowTrackerRedirect(Na,Ai("")(ja))}));this.parentComponent$=new W.BehaviorSubject(null);this.componentTeam$=new W.BehaviorSubject(null);this.team$=this.componentTeam$.pipe(df(function(Na){return(Na=null==Na?void 0:Na.id)&&"0"!==Na?RJ(sb.teamsService,Na):(0,W.of)(null)}));this.parentComponentTeam$=
this.parentComponent$.pipe(df(function(Na){var ja;return(Na=null==Na?void 0:null==(ja=Na.team)?void 0:ja.id)&&"0"!==Na?RJ(sb.teamsService,Na):(0,W.of)(null)}));this.inheritedSloMetadata$=(0,W.combineLatest)([this.component$,this.parentComponent$,this.team$]).pipe(B(function(Na){var ja=l(Na);Na=ja.next().value;var ya=ja.next().value;ja=ja.next().value;if((null==Na?0:Na.team)&&!Na.team.inherit&&"0"!==Na.team.id){var Ga,gb=null!=(Ga=null==ja?void 0:ja.slo)?Ga:null;if(gb)return{containerType:"TEAM",content:gb}}else if(Ga=
null!=(gb=null==ya?void 0:ya.slo)?gb:null)return{containerType:"COMPONENT",content:Ga};return null}));this.inheritedSlo$=this.inheritedSloMetadata$.pipe(Te(),df(function(Na){var ja="0";Na&&("TEAM"===Na.containerType?ja=Na.content.sloId:"COMPONENT"===Na.containerType&&(ja=Na.content.id));return"0"===ja?(0,W.of)({id:"0"}):sb.sloService.get(ja).then(function(ya){return{id:ja,slo:ya}})}));this.sloPolicySource$=this.inheritedSloMetadata$.pipe(Te(),df(function(Na){if(!Na)return(0,W.of)({name:"None",type:"none"});
Na=GFb(Na);var ja=Na.sourceTeamId,ya=Na.sourceComponentId;return ja&&"0"!==ja?sb.teamsService.getTeam(ja).pipe(B(function(Ga){var gb;return{name:null!=(gb=null==Ga?void 0:Ga.name)?gb:ja,type:"team",link:{path:"/teams/"+ja+"/edit",fragment:"slo"}}})):ya?sb.componentActions.get(Number(ya)).then(function(Ga){var gb;return{name:null!=(gb=Ga.name)?gb:ya,type:"component",link:{path:"/components/"+ya+"/edit"}}}):(0,W.of)(null)}));this.policySourcePath$=(0,W.combineLatest)([this.component$,this.team$,this.parentComponentTeam$,
this.inheritedSloMetadata$]).pipe(B(function(Na){var ja=l(Na);Na=ja.next().value;var ya=ja.next().value,Ga=ja.next().value;ja=ja.next().value;if(!Na||!Na.componentPathInfo||!ja)return null;var gb=GFb(ja);ja=gb.sourceComponentId;ya=IFb(ya,gb.sourceTeamId,Na.team,Ga);return null===ja?{componentPath:null,teamPath:ya}:{componentPath:HFb(Na,ja),teamPath:ya}}));this.enableSloLockingCheck=tE(this.activeSession,"enableSloLockingCheck");this.component=null;this.effectiveCustomFields=[];this.parentComponent=
null;this.descendants=[];this.isLoading=this.hasInitialized=!1;this.selectedTabIndex=0;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=
tE(this.activeSession,"enableSloLockingUi");this.enableTeamLeadSloEditingUi=tE(this.activeSession,"enableTeamLeadSloEditingUi");this.sloLocked$=this.componentId$.pipe(Ce(Boolean),df(function(Na){return sb.sloApi.executor.get({url:"action/components/"+Na+"/slo_edit_policy",responseConstructor:y7b}).pipe(B(Uwa))}));this.getSloManagementLink=JCa};X(m9,Y);m9.\u0275dir=Y.\u0275dir;m9.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};
m9.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)};
m9.prototype.ngOnInit=function(){var a=this;this.componentId=Zh(this.routeParams.componentId);this.componentId$.next(String(this.componentId));this.sessionIsExternal=this.activeSession.isExternalSession();this.sessionIsInternal=this.activeSession.isInternalSession();this.selectedTabIndex=0;this.subscriptions.add(wY(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));this.loadUserAccess(this.componentId);this.enableSloLockingCheck&&xRc(this);this.componentHistoryUiEnabled=this.activeSession.isInternalSession();
yRc(this);this.subscriptions.add(this.appEvents.customFieldsModified.subscribe(function(b){a.effectiveCustomFields=zRc(b)}));this.hasInitialized=!0;this.route.fragment.pipe(ef(this.destroyed$)).subscribe(function(b){"basic"===b?a.selectedTabIndex=0:"customFields"===b?a.selectedTabIndex=1:"fieldOrdering"===b?a.selectedTabIndex=2:"templates"===b?a.selectedTabIndex=3:"access"===b&&(a.selectedTabIndex=4)})};
var yRc=function(a){a=[ARc(a,a.componentId),a.loadComponent(a.componentId),a.loadTemplates(a.componentId)];return Promise.all(a).then(function(){})};m9.prototype.isAdmin=function(){return this.isAdminInternal};var it=function(a){return a.enableSloLockingCheck?a.isComponentSloEditor:a.isAdmin()};g=m9.prototype;g.isSaving=function(){return this.isUpdating||this.isArchiving};g.isArchived=function(){return this.component?this.component.archived:!1};g.isPublic=function(){return Ip(this.component)};
g.isExternal=function(){return Hp(this.component)};g.isParentPublic=function(){return!(!this.parentComponent||!Ip(this.parentComponent))};g.isParentPartner=function(){return!(!this.parentComponent||!$Ua(this.parentComponent))};var YEb=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};
m9.prototype.hasUnsavedMetadataChanges=function(){return!(Th(this.component,this.originalComponent)&&Th(this.parentComponent,this.originalParentComponent))};m9.prototype.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()};
var BRc=function(a){var b=un();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:gh("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},CRc=function(a){var b=un();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:ih([gh('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.'),jh("br",{}),jh("br",{}),gh('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.'),
jh("br",{}),jh("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};m9.prototype.saveMetadata=function(){var a=this;return DRc(this)?CRc(this).then(function(b){return b?BRc(a):Promise.resolve(!1)}).then(function(b){b&&a.doSaveMetadata().then(function(){return yRc(a)})}):Promise.resolve()};
m9.prototype.doSaveMetadata=function(){var a=this;this.isUpdating=!0;Ks(this.butterBar,"Saving changes ...",0);return ERc(this).then(function(){a.parentComponent&&(a.component.parentComponentId=a.parentComponent.componentId)}).then(function(){return FRc(a)}).then(function(){return GRc(a)}).then(function(){return HRc(a)}).then(function(){Ks(a.butterBar,"Save complete.")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.componentUpdatesApi.invalidateCache(a.componentId);
a.isUpdating=!1})};
var ERc=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)},FRc=function(a){return a.component.slo&&!Th(a.originalComponent.slo,a.component.slo)?a.componentActions.updateSlo(a.component.componentId,a.component.slo).then(function(){kp(a.analytics,
Sp.MANAGE_COMPONENT,"updateSlo");return!0}).catch(function(b){a.component.slo=a.originalComponent.slo;return Promise.reject(b)}):Promise.resolve(!1)},GRc=function(a){return a.component.team&&!Th(a.originalComponent.team,a.component.team)?a.componentActions.updateTeam(a.component.componentId,a.component.team).then(function(){kp(a.analytics,Sp.MANAGE_COMPONENT,"updateTeam");return!0}).catch(function(b){a.component.team=a.originalComponent.team;return Promise.reject(b)}):Promise.resolve(!1)},HRc=function(a){return IRc(a)?
a.componentActions.update(a.component).then(function(){kp(a.analytics,Sp.MANAGE_COMPONENT,"update");a.commentEditsEnabled?kp(a.analytics,"component","comment edits enabled","update"):kp(a.analytics,"component","comment edits disabled","update");return!0}):Promise.resolve(!1)},IRc=function(a){var b=Uh(a.component);b.team=a.originalComponent.team;b.slo=a.originalComponent.slo;b.parentComponentId=a.originalComponent.parentComponentId;return!Th(a.originalComponent,b)},DRc=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};m9.prototype.getComponentAccessLevel=function(){if(this.component&&this.component.accessLimit)return this.component.accessLimit.accessLevel};var ARc=function(a,b){return a.componentActions.getChildren(b).then(function(c){a.childComponents=c}).catch(function(c){a.errorHandler.errorHandler(null,c)})};
m9.prototype.revertMetadataChanges=function(){this.updateComponentAndOriginalComponent(this.originalComponent);this.error="";this.parentComponent=Uh(this.originalParentComponent);this.parentComponent$.next(this.parentComponent);this.commentEditsEnabled="ENABLED"==this.component.commentEditState};
var pFb=function(a){a.componentActions.getUncached(a.componentId).then(function(b){a.effectiveCustomFields=zRc(b.componentPathInfo.allCustomField)})},zRc=function(a){return a?a.filter(function(b){return b.enabledOnIssues}):[]};
m9.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=zRc(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()})};m9.prototype.loadUserAccess=function(a){var b=this,c=wn("COMPONENT",a);zH(this.userAccess,"admin",c).then(function(d){b.isAdminInternal=d;return b.isAdminInternal?!0:zH(b.userAccess,"writer",c)}).then(function(d){b.isEditorInternal=d}).catch(function(d){b.errorHandler.errorHandler(null,d)})};
var xRc=function(a){zH(a.userAccess,"writer",wn("COMPONENT_SLO",a.componentId)).then(function(b){a.isComponentSloEditor=b})},zEb=function(a){var b,c=Is(a.currentTracker,null==(b=a.parentComponent)?void 0:b.componentPathInfo);return a.currentTracker.inTracker&&(!c||!c.componentPathId||0===c.componentPathId.length)},jt=function(a){return a.isSaving()||!a.isEditorInternal};g=m9.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=Uh(c);return c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.getRecentIssuesLink=function(){var a=this.isArchived();return Ln(this.componentId,{includeArchived:a})};g.componentPermissions=function(a){return{path:"/components/"+a,fragment:"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){kp(this.analytics,"editComponent","click",a)};
var oEb=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,Ks(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(ef(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.")};
m9.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 pn(a);case "UNSPECIFIED_RETENTION":return"Retention period unspecified";default:Nh(b,"unexpected value "+b+"!")}};
m9.prototype.archive=function(){var a=this;this.isArchiving=!0;Ks(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);Ks(a.butterBar,a.archiveAction+'d component "'+a.component.name+'"',4E3);kp(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;Ks(a.butterBar,"Could not "+a.archiveAction.toLowerCase()+" component: "+(sn(b)?tn(b):b));a.isArchiving=!1})};
m9.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)})};
m9.prototype.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};
var JRc=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=XQa(d.addMask.paths),h=XQa(d.removeMask.paths),k={author:d.author||null,timestamp:d.timestamp||null,diffs:[]},q=d.add;d=d.remove;for(var t=l(new Set([].concat(r(f),r(h)))),w=t.next();!w.done;w=t.next()){var z=w.value;if(w=tlc.get(z))if("name"===z){var F=up(h,z,d.name);z=up(f,z,q.name);k.diffs.push(vp(w,F,z))}else if("description"===
z)F=up(h,z,d.description),z=up(f,z,q.description),k.diffs.push(vp(w,F,z));else if("parentComponentId"===z)F=up(h,z,String(d.parentComponentId)),z=up(f,z,String(q.parentComponentId)),k.diffs.push(vp(w,F,z));else if("isArchived"===z)F=up(h,z,String(d.archived)),z=up(f,z,String(q.archived)),k.diffs.push(vp(w,F,z));else if("commentEditState"===z){var J=ulc.get(d.commentEditState);F=ulc.get(q.commentEditState);J&&F&&(J=up(h,z,J),z=up(f,z,F),k.diffs.push(vp(w,J,z)))}else"defaultTemplateId"===z?(F=up(h,
z,String(d.defaultTemplateId)),z=up(f,z,String(q.defaultTemplateId)),k.diffs.push(vp(w,F,z))):"slo"===z?e.sessionIsInternal&&(F=up(h,z,cRa(d.slo)),z=up(f,z,cRa(q.slo)),k.diffs.push(vp(w,F,z))):"team"===z?e.sessionIsInternal&&(F=up(h,z,dRa(d.team)),z=up(f,z,dRa(q.team)),k.diffs.push(vp(w,F,z))):"retentionSettings"===z?(F=up(h,z,aRa(d.retentionSettings)),z=up(f,z,aRa(q.retentionSettings)),k.diffs.push(vp(w,F,z))):e.$log.error("Unsupported diff field "+z)}return k}).filter(function(d){return d.diffs.length})}).catch(function(c){a.errorHandler.errorHandler(null,
c)}):Promise.reject()};m9.prototype.showUpdateHistoryModal=function(){var a=this;JRc(this,this.componentId).then(function(){a.matDialogService.open(k4,{width:"600px",data:{updateDiffs:a.updateDiffs}});kp(a.analytics,Sp.UPDATE_HISTORY_MODAL,"open");kp(a.analytics,Sp.MANAGE_COMPONENT,"viewHistory")})};m9.prototype.onSloChange=function(a){this.component.slo.id=a?a.sloId:"0";a&&KRc(this)};
var UEb=function(a){var b=!!a.parentComponent,c="0"!==a.component.team.id;return it(a)&&(c||b)},$Eb=function(a){var b=!a.component.team||"0"===a.component.team.id,c=!a.parentComponent;return it(a)&&(!a.component.slo.inherit||c&&b)},DEb=function(a){var b,c,d,e;ke(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?me(f,(0,W.firstValueFrom)(a.team$.pipe(B(function(h){a.component.slo.id=
h.slo.sloId;KRc(a)}))),0):(d=LRc(a),e=d.id,a.component.slo.id=e,KRc(a),f.jumpTo(0))})},ZEb=function(a){var b=a.parentComponent||a.isParentComponentRequired;return"0"!==a.component.team.id||b?!0:!1},LRc=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}},jFb=function(a,b){Ks(a.butterBar,"Saving effort spec...",0);
a.component&&(a.component.effortSpec=b,a.componentActions.update(a.component).then(function(c){a.updateComponentAndOriginalComponent(c);kp(a.analytics,Sp.MANAGE_COMPONENT,"updateEffort");var d,e;if(null==(d=a.component)?0:null==(e=d.effortSpec)?0:e.name){var f;Ks(a.butterBar,(null==(f=a.component.effortSpec)?void 0:f.name)+" saved")}else Ks(a.butterBar,"Estimated Effort saved")}).catch(function(c){a.errorHandler.errorHandler(null,c)}))};
m9.prototype.updateComponentAndOriginalComponent=function(a){this.component=Uh(a);this.component$.next(this.component);this.originalComponent=Uh(a);var b;this.componentTeam$.next(null!=(b=this.component.team)?b:null);KRc(this)};m9.prototype.back=function(){V0(this.appHistory)};var KRc=function(a){var b;(null==(b=a.component)?0:b.slo)?a.isEnableSloChecked="0"!==a.component.slo.id:a.isEnableSloChecked=!1};
m9.\u0275fac=function(a){return new (a||m9)(A(Im),A(EF,2),A(xK),A(hI),A(tH),A(iI),A(U0),A(hG),A(YP),A(nt),A(jG),A(EA),A(MI),A(vY),A(xH),A(xR),A(AG),A(HT),A(Y8),A(lG),A(RH),A(QJ),A(HJ),A(IJ),A(IM))};
m9.\u0275cmp=Lc({type:m9,selectors:[["manage-component-page"]],viewQuery:function(a,b){a&1&&(Uf(tRc,5),Uf(uRc,5),Uf(vRc,5),Uf(JN,5,Ad));if(a&2){var c;Yf(c=Zf())&&(b.confirmArchiveDialog=c.first);Yf(c=Zf())&&(b.archiveButton=c.first);Yf(c=Zf())&&(b.metadataForm=c.first);Yf(c=Zf())&&(b.tabs=c)}},features:[bg([EF]),nf],decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["showTrackerRedirect",""],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["format","icon","size","large","tooltip","Go back","ariaLabel",
"Go back",3,"onAction"],["name","arrow-backward","size","large"],[4,"ngIf"],["cdkScrollable","",1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],["archiveDialog",""],["mat-button","",1,"gmat-button",3,"routerLinkObj"],["format","flat",3,"disabled","onAction",4,"ngIf"],["format","flat",3,"tooltip","disabled","onAction",4,"ngIf"],["format","flat",3,"disabled","onAction"],["archiveButton",""],["format","flat",3,"tooltip","disabled","onAction"],[1,"bv2-view-loading"],[1,"edit-resource-header"],["class",
"resource-archived",4,"ngIf"],[1,"keep-focus-ring","margin-s-right",3,"routerLinkObj","click"],[3,"accessLevel"],[3,"trackerId"],[1,"component-hierarchy-container"],["componentPathsLinkTo","settings",3,"componentPathInfo","isArchived","label"],[1,"float-clear"],["gmat-tabs","",1,"bv2-tab-bar",3,"selectedIndex","selectedIndexChange"],["label","Basic Information",3,"id"],[4,"ngTemplateOutlet"],[3,"id","label"],["label","Field Ordering",3,"id"],["label","Templates",3,"id"],["label","Access Control",
3,"id"],["basic",""],["customFields",""],["fieldOrdering",""],["templatesList",""],["access",""],[1,"resource-archived"],[1,"edit-resource-panel"],["name","metadataForm"],["metadataForm",""],[3,"error"],["aria-label","Name",1,"edit-field"],["for","component-name",1,"required"],[1,"edit-field-header"],["type","text","name","name","required","","id","component-name",3,"ngModel","disabled","ngModelChange"],["aria-label","Description",1,"edit-field"],["tabindex","0",1,"field-label-with-help","keep-focus-ring"],
["aria-describedby","component-description-bubble","for","component-description",1,"help-label"],[1,"help-container"],["id","component-description-bubble",1,"help-bubble","jfk-bubble"],[1,"jfk-bubble-arrow","jfk-bubble-arrowleft"],[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],["name","description","aria-describedby","component-description-bubble","id","component-description",3,"ngModel","disabled","ngModelChange"],["class","edit-field","tabindex","0","aria-label","Parent component",
4,"ngIf"],["role","region","aria-label","Editable Comments",1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],["ariaLabelledby","editable-comments-label permission-toggle-help",3,"checked","disabled","change"],["id","editable-comments-label",1,"edit-field-help"],["id","permission-toggle-help",1,"permission-toggle-help","edit-field-help"],["target","_blank","aria-label","Learn more about editable comments","class","keep-underline keep-focus-ring",3,"href",4,"ngIf"],["class","edit-field",
"role","region","aria-label","Retention Settings",3,"bv2-edit-resource-readonly",4,"ngIf"],["class","edit-field","role","region","tabindex","0","aria-label","Team Configuration",3,"bv2-edit-resource-readonly",4,"ngIf"],["class","edit-field","role","region","tabindex","0","aria-label","SLO Configuration",3,"bv2-edit-resource-readonly",4,"ngIf"],["aria-label","Component alias",1,"edit-field","bv2-edit-resource-readonly"],["aria-describedby","edit-alias-help-bubble",1,"help-label"],["id","edit-alias-help-bubble",
1,"help-bubble","jfk-bubble"],["aria-label","Learn more about component alias","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"href"],[1,"edit-button-row"],["class","edit-button-group",4,"ngIf"],[1,"edit-button-group"],["format","hairline","title","View history for 'Basic Information'",3,"onAction",4,"ngIf"],[1,"edit-field","bv2-edit-resource-readonly"],[3,"children","onVisit",4,"ngIf"],["tabindex","0","aria-label","Parent component",1,"edit-field"],["aria-describedby","edit-parent-help-bubble",
"for","component-parent-id",1,"help-label"],["id","edit-parent-help-bubble",1,"help-bubble","jfk-bubble"],["id","component-parent-id",3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["target","_blank","aria-label","Learn more about editable comments",1,"keep-underline","keep-focus-ring",3,"href"],["role","region","aria-label","Retention Settings",1,"edit-field"],["for","retention-settings",1,"required"],[1,"edit-field-help"],["target","_blank","aria-label","Learn more about choosing a period of time to retain the data stored in this component.",
1,"keep-underline","keep-focus-ring",3,"href"],["id","retention-settings"],[3,"issueRetentionDisabled","isExternal","componentPathInfo","componentId","initialModel","modelChange","validChange"],["role","region","tabindex","0","aria-label","Team Configuration",1,"edit-field"],["for","team-picker"],["id","team-picker",4,"ngIf"],["id","team-picker"],[3,"isAdmin","isTopLevel","parentModel","useInternalLink","anchorTarget","model","modelChange"],["role","region","tabindex","0","aria-label","SLO Configuration",
1,"edit-field"],["aria-describedby","edit-slo-help-bubble",1,"help-label"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],["class","slo-policy-link",4,"ngIf"],["class","slo-policy-source-link",4,"ngIf"],["class","slo-admins-link",4,"ngIf"],[1,"lock-state"],["class","edit-field less-margin",4,"ngIf"],[1,"slo-policy-link"],[3,"routerLinkObj",4,"ngIf","ngIfElse"],["noInheritedSlo",""],[3,"routerLinkObj"],[1,"slo-policy-source-link"],["class","keep-focus-ring slo-inheritance-link",
3,"routerLinkObj",4,"ngIf","ngIfElse"],["noPolicySource",""],["mat-stroked-button","","type","button","aria-label","Display the full SLO inheritance path below",1,"gmat-button","slo-inheritance-path","small",3,"click"],[1,"keep-focus-ring","slo-inheritance-link",3,"routerLinkObj"],["class","slo-breadcrumbs",4,"ngIf"],[1,"slo-breadcrumbs"],[3,"componentPath","teamPath"],[1,"slo-admins-link"],["target","_blank",1,"keep-focus-ring",3,"routerLinkObj"],["unlocked",""],["svgIcon","lock-outline"],["svgIcon",
"lock-open"],[1,"edit-field","less-margin"],["gmat-checkbox","",1,"slo-override",3,"checked","disabled","change"],["class","edit-field component-slo-justification-text",4,"ngIf"],["name","slo-enable","labelPosition","before",1,"slo-enable",3,"ngModel","disabled","ngModelChange","change"],[1,"edit-field","component-slo-id-select"],["for","component-slo-id"],["id","component-slo-id","aria-describedby","edit-slo-help-bubble","tabindex","-1",1,"bv2-slo-picker","bv2-picker",3,"bv2Disabled","boundId","bv2Placeholder",
"onSloSelect"],["mat-icon-button","","class","gmat-button small","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",3,"routerLinkObj","target",4,"ngIf"],[1,"edit-field","component-slo-justification-text"],["for","component-slo-justification","id","component-settings-slo-justification-label",1,"required"],["svgIcon","help-outline","tabindex","0","aria-hidden","false","matTooltip","Justification is required to override the org SLO.","aria-label","Justification is required to override the org SLO.",
1,"slo-info","icon-s","valign-middle"],["name","comment","aria-labelledby","component-settings-slo-justification-label","required","",3,"ngModel","disabled","ngModelChange"],["mat-icon-button","","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",1,"gmat-button","small",3,"routerLinkObj","target"],["svgIcon","pop-out",1,"icon-s"],["format","fill",3,"disabled","onAction"],["format","hairline",3,"disabled","onAction"],["format","hairline","title","View history for 'Basic Information'",
3,"onAction"],[3,"children","onVisit"],["class","heading-m padded-x margin-top","aria-label","Standard Fields",4,"ngIf"],[3,"effortSpec","parentEffortSpec","disabled","updateComponent",4,"ngIf"],["class","heading-m padded-x margin-top","aria-label","Custom Fields",4,"ngIf"],[3,"editMode","isSaving","component","parentComponent"],["aria-label","Standard Fields",1,"heading-m","padded-x","margin-top"],[3,"effortSpec","parentEffortSpec","disabled","updateComponent"],["aria-label","Custom Fields",1,"heading-m",
"padded-x","margin-top"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about field ordering","class","keep-underline keep-focus-ring","target","_blank",3,"href",4,"ngIf"],[3,"fields","componentId","fieldOrdering","isAdmin","onReload"],["aria-label","Learn more about field ordering","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"componentId","supportCustomFields",4,"ngIf"],[3,"componentId","supportCustomFields"],["class","component-field",4,"ngFor",
"ngForOf"],[1,"component-field"],["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&&(C(0,EFb,12,3,"ng-container",0),T(1,"async"),C(2,FFb,2,1,"ng-template",null,1,jg));if(a&2){var c=Q(3);D("ngIf",!V(1,2,b.showTrackerRedirect$))("ngIfElse",c)}},dependencies:[eQ,hw,dw,lw,hB,zR,ZT,MT,E3,tKc,
N3,WX,t_,R3,Pw,Dg,Hw,Iw,$w,Ow,Mw,l9,oX,yP,nA,oA,WE,FA,GA,HA,IA,ly,jU,kU,KN,JN,PC,B0,k9,XT,Z8,z0,HQ,LR,DR,Z6,mw,ow],styles:[".mat-form-field[_ngcontent-%COMP%]{width:500px}b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}div.edit-field.less-margin[_ngcontent-%COMP%]{margin:8px 0}div.slo-admins-link[_ngcontent-%COMP%]{margin-top:3px}.metadata[_ngcontent-%COMP%]{margin:10px 0}.metadata[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);width:16px;height:16px}.lock-state[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.component-slo-id-select[_ngcontent-%COMP%], .component-slo-justification-text[_ngcontent-%COMP%], .indented[_ngcontent-%COMP%], div.slo-breadcrumbs[_ngcontent-%COMP%]{margin-left:24px}.component-slo-id-select[_ngcontent-%COMP%], mat-slide-toggle.slo-enable[_ngcontent-%COMP%]{display:inline-block}button.slo-inheritance-path[_ngcontent-%COMP%]{margin-left:30px}div.slo-breadcrumbs[_ngcontent-%COMP%]{padding:4px}.field-label-with-help[_ngcontent-%COMP%]:focus   .help-bubble[_ngcontent-%COMP%]{left:8px}.field-label-with-help[_ngcontent-%COMP%]:focus   .help-bubble-right[_ngcontent-%COMP%]{left:-120px}.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}  .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 lGb=function(a){return{value:a}},mGb=function(a){return[a]},nGb=function(){return[]},MRc={BASIC:"basic",SLO:"slo",MAPPINGS:"componentMapping"},n9=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J){Y.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=k;this.pageTitle=q;this.routeParams=t;this.teamsService=w;this.userAccess=z;this.sloApi=F;this.sloService=J;this.originalSloLock=
!1;this.canEditSloLock=!0;this.sloJustification$=new W.BehaviorSubject("");this.error="";this.justificationRequiredText="Justification is required to override the org SLO.";this.selectedTabIndex=0;this.teamId=this.routeParams.teamId;this.team$=new W.ReplaySubject(1);this.teamSlo$=this.team$.pipe(B(function(P){return P.slo}));this.isSloLeadValid=!1;this.sloLeadEmail$=new W.BehaviorSubject("");this.sloLead$=new W.BehaviorSubject("");this.sloLeadUserValidators={sloLeadNotUser:function(P){if(P){P=l(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=l(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,W.from)(this.accessPolicyApi.get("TEAM",this.teamId)).pipe(B(function(P){return P.admins.filter(ci).map(yo)}));this.teamLeads$=this.team$.pipe(B(function(P){return P.members.filter(function(U){return U.isLead}).map(function(U){var Z,
la;return"USER:"+(null!=(la=null==(Z=U.user)?void 0:Z.emailAddress)?la:"")})}));this.adminsAndLeads$=(0,W.combineLatest)([this.teamAdmins$,this.teamLeads$]).pipe(B(function(P){var U=l(P);P=U.next().value;U=U.next().value;var Z=new Set(P);U=U.filter(function(la){return!Z.has(la)});return[].concat(r(P),r(U))}));this.associatedComponents$=(0,W.from)(this.componentActions.search("directteamid:"+this.teamId));this.teamPath$=this.team$.pipe(B(function(P){var U=P.pathNames;return P.pathIds.map(function(Z,
la){return{id:Z,name:U[la]}})}));this.isRootTeam$=this.teamPath$.pipe(B(function(P){return 1>=P.length?!0:!1}));this.parentTeam$=(0,W.combineLatest)([this.isRootTeam$,this.teamPath$]).pipe(df(function(P){var U=l(P);P=U.next().value;U=U.next().value;return P?(0,W.of)(null):H.teamsService.getTeam(U[U.length-2].id)}));this.parentTeam=null;this.inheritedSlo$=this.parentTeam$.pipe(df(function(P){var U=null==P?void 0:P.slo.sloId;return U&&"0"!==U?H.sloService.get(U).then(function(Z){return{id:U,link:JCa(U),
slo:Z}}):(0,W.of)({id:"0"})}));this.sloPolicySource$=(0,W.combineLatest)([this.parentTeam$,this.teamPath$]).pipe(B(function(P){var U=l(P);P=U.next().value;U=U.next().value;var Z=null==P?void 0:P.slo.sourceTeamId;P=U.find(function(la){return la.id===Z});return Z&&P?{name:P.name,link:{path:"/teams/"+Z+"/edit",fragment:"slo"}}:null}));this.Tab=MRc;this.enableSloLockingUi=tE(this.activeSession,"enableSloLockingUi");this.isSloInheritEnabled$=new W.BehaviorSubject(!0);this.sloId$=new W.BehaviorSubject("0");
this.enableSloCheckedInternal=!1;this.sloLocked$=new W.BehaviorSubject(!1);this.hasSloReadAccess$=this.sloId$.pipe(df(function(P){return zH(H.userAccess,"reader","slos/"+P)}),cf(!1));this.sloPickerLink$=(0,W.combineLatest)([this.sloId$,this.hasSloReadAccess$]).pipe(B(function(P){var U=l(P);P=U.next().value;U=U.next().value;return P&&0<Number(P)&&U?JCa(P):null}));this.hasUnsavedChanges$=(0,W.combineLatest)([this.team$,this.sloId$,this.isSloInheritEnabled$,this.sloLocked$,this.sloJustification$,this.sloLeadEmail$]).pipe(B(function(P){var U=
l(P),Z=U.next().value;P=U.next().value;var la=U.next().value,oa=U.next().value,Fa=U.next().value;U=U.next().value;var Ta=Z.slo,Pa,Ya;Z=null!=(Ya=null==(Pa=Z.sloLead)?void 0:Pa.emailAddress)?Ya:"";return Ta.inherit!==la||Ta.sloId!==P||oa!==H.originalSloLock||Ta.comment!==Fa||Z!==U}));this.hasEditAccess=!1;this.pageTitle.setTitle("Team Overview");this.team$.pipe(ef(this.destroyed$)).subscribe(function(P){H.pageTitle.setTitle("Team: "+P.name)});a=tE(this.activeSession,"enableSloLockingCheck")?"teams/"+
this.teamId+"/slo":"teams/"+this.teamId;zH(this.userAccess,"writer",a).then(function(P){H.hasEditAccess=P});this.childTeams$=this.teamsService.getChildTeams([this.teamId]).pipe(B(function(P){return P.values().next().value}));this.sloLock$=this.sloApi.executor.get({url:"action/teams/"+this.teamId+"/slo_edit_policy",responseConstructor:EJ}).pipe(B(Swa));var O=nm(this.hasUnsavedChanges$.pipe(ef(this.destroyed$)),!1);this.subscriptions.add(wY(this.checkBeforeExit,function(){return O.getValue()},!1))};
X(n9,Y);n9.\u0275dir=Y.\u0275dir;
n9.prototype.ngOnInit=function(){var a=this,b,c;return ke(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),le(d,2),me(d,(0,W.firstValueFrom)(a.teamsService.get(a.teamId)),4);case 4:c=d.yieldResult;xt(d,3);break;case 2:return pe(d),a.butterBar.showWarning("Unable to fetch team ID '"+a.teamId+"'"),d.return();case 3:return a.team$.next(c),fGb(a),me(d,(0,W.firstValueFrom)(a.parentTeam$),
5);case 5:a.parentTeam=d.yieldResult||null,qe(d)}})};n9.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)};n9.prototype.onSloChange=function(a){a&&(this.sloId=a.sloId)};
var eGb=function(a,b){var c,d,e,f,h,k;return ke(function(q){switch(q.nextAddress){case 1:if(!a.validate())return q.return();Ks(a.butterBar,"Saving changes...",0);le(q,2);if((null==(c=b.sloLead)?void 0:c.emailAddress)===a.sloLeadEmail){q.jumpTo(4);break}return me(q,(0,W.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=W.firstValueFrom;var w=
a.sloApi;var z=a.teamId,F=a.sloLocked,J=new gE;F=Sj(J,2,F?1:2).setTeamId(Number(z));w=w.executor.post({url:"action/teams/"+z+"/slo_edit_policy",responseConstructor:GJ,body:F}).pipe(B(Swa));return me(q,t.call(W,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=W.firstValueFrom;F={sloId:a.sloId,inherit:a.isSloInheritEnabled,comment:a.isSloInheritEnabled?
"":a.sloJustification$.getValue(),sourceTeamId:"0"};w=a.teamsService;z=a.teamId;F=(new PJ).setIt(yva(F));w=w.executor.post({url:"/action/teams/"+z+"/update_slo",body:F,responseConstructor:LJ}).pipe(B(ko));return me(q,t.call(W,w),9);case 9:h=q.yieldResult,a.team$.next(h);case 8:Ks(a.butterBar,"Save complete.");xt(q,0);break;case 2:k=pe(q),CG(a.errorHandler,k),qe(q)}})};
n9.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 NRc=function(a){(0,W.firstValueFrom)(a.team$).then(function(b){var c;b=null==(c=b.sloLead)?void 0:c.emailAddress;a.sloLead=b?"USER:"+b:""})},ORc=function(a){(0,W.firstValueFrom)(a.teamSlo$).then(function(b){a.sloId=b.sloId;a.isSloInheritEnabled=b.inherit;a.sloJustification$.next(b.comment)})},PRc=function(a){(0,W.firstValueFrom)(a.sloLock$).then(function(b){a.originalSloLock=b;a.sloLocked=b})},fGb=function(a){a.error="";NRc(a);ORc(a);a.enableSloLockingUi&&PRc(a)};n9.prototype.back=function(){V0(this.appHistory)};
Vg.Object.defineProperties(n9.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()}}});n9.\u0275fac=function(a){return new (a||n9)(A(nt),A(hH),A(U0),A(hG),A(vY),A(xR),A(AG),A(hI),A(YP),A(xK),A(QJ),A(xH),A(HJ),A(IJ))};
n9.\u0275cmp=Lc({type:n9,selectors:[["manage-team-page"]],viewQuery:function(a,b){a&1&&Uf(JN,5,Ad);if(a&2){var c;Yf(c=Zf())&&(b.tabs=c)}},features:[nf],decls:8,vars:3,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["type","button","mat-icon-button","","aria-label","Go back","color","primary","ngClass","large","matTooltip","Go back",1,"gmat-button",3,"click"],["svgIcon","arrow-backward",1,"icon-m"],["cdkScrollable","",1,"bv2-view"],[4,"ngIf"],[1,"edit-resource-header"],["target",
"_blank",3,"href"],["svgIcon","pop-out",1,"icon-s"],["class","team-hierarchy-container",4,"ngIf"],["gmat-tabs","","mat-align-tabs","start",3,"selectedIndex","selectedIndexChange"],["label","Basic Information",3,"id"],[1,"edit-resource-panel"],[1,"edit-field"],[1,"field-label"],[1,"edit-field-header"],[1,"description"],[4,"ngIf","ngIfElse"],["emptyDescription",""],[1,"field-label-with-help"],[1,"help-label"],[1,"help-container"],[1,"help-bubble","jfk-bubble"],[1,"jfk-bubble-arrow","jfk-bubble-arrowleft"],
[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],["label","Team SLO",3,"id"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],["class","slo-policy-link",4,"ngIf"],[1,"slo-policy-source-link"],["class","slo-inheritance-link",3,"routerLinkObj",4,"ngIf","ngIfElse"],["noPolicySource",""],[1,"lock-state"],[3,"error"],["class","edit-field",4,"ngIf"],["idForInputBox","team-slo-lead","ariaLabel","Team SLO lead email",3,"users","customValidators","detailedUserValidators",
"maxUserAllowed","usersChange","isValid"],["class","edit-button-row",4,"ngIf"],["label","Component mapping",3,"id"],[1,"team-hierarchy-container"],[3,"teamPath"],[3,"users"],["childTeamsLinks",""],[4,"ngFor","ngForOf"],[3,"routerLink"],[1,"slo-policy-link"],[3,"routerLinkObj",4,"ngIf","ngIfElse"],["noInheritedSlo",""],[3,"routerLinkObj"],[1,"slo-inheritance-link",3,"routerLinkObj"],["unlocked",""],["svgIcon","lock-outline"],["svgIcon","lock-open"],["class","edit-field less-margin",4,"ngIf"],[1,"edit-field",
"less-margin"],["gmat-checkbox","",1,"override-slo",3,"disabled","checked","change"],["class","edit-field slo-justification",4,"ngIf"],["name","slo-enable","labelPosition","before",1,"slo-enable",3,"ngModel","disabled","ngModelChange","change"],[1,"team-slo-id-select",3,"boundId","bv2Disabled","bv2Placeholder","onSloSelect"],["mat-icon-button","","class","gmat-button small slo-link","matTooltip","Go to SLO management page",3,"routerLinkObj","target",4,"ngIf"],[1,"edit-field","slo-justification"],
["id","team-slo-justification-label",1,"required"],["svgIcon","help-outline",1,"icon-s","valign-middle",3,"matTooltip"],["aria-labelledby","team-slo-justification-label","required","",1,"slo-justification-text",3,"ngModel","disabled","ngModelChange"],["mat-icon-button","","matTooltip","Go to SLO management page",1,"gmat-button","small","slo-link",3,"routerLinkObj","target"],["gmat-checkbox","",1,"slo-lock",3,"checked","disabled","change"],[1,"edit-button-row"],[1,"edit-button-group"],["gmat-button",
"","mat-flat-button","","color","primary",3,"disabled","click"],["gmat-button","","mat-stroked-button","","color","primary",3,"disabled","click"],["associatedComponentLinks",""]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),M("click",function(){return b.back()}),I(4,"mat-icon",4),G()()()(),E(5,"div",5),C(6,oGb,99,46,"ng-container",6),T(7,"async"),G());a&2&&(y(6),D("ngIf",V(7,1,b.team$)))},dependencies:[gw,hw,dw,hB,t_,Dg,Hw,$w,Ow,l9,oX,nA,oA,WE,KN,JN,PC,ly,jU,kU,IV,
xF,XT,z0,p0,mw],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 uGb=function(a,b){return b.commentNumber},rGb=function(a){return{"margin-s-bottom padded-s-bottom border-bottom":a}},o9=function(a,b){this.issueCommentsBatchApi=a;this.analytics=b;this.commentNumbers=[];this.mentionedComments$=(0,W.of)();this.contentReady$=new W.ReplaySubject(1)};o9.prototype.ngOnInit=function(){var a=this;kp(this.analytics,Sp.MENTIONS_CARD,"view","hovercard");this.mentionedComments$=this.issueCommentsBatchApi.batchGet(this.issueId,this.commentNumbers).pipe(ff(function(){a.contentReady$.next()}))};
o9.prototype.getCommentNumberLink=function(a,b){return Kn(a,{comment:b})};o9.\u0275fac=function(a){return new (a||o9)(A(eI),A(MI))};
o9.\u0275cmp=Lc({type:o9,selectors:[["mentioned-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,"routerLinkObj","click"],[3,"issueId","note","formattingMode"]],
template:function(a,b){a&1&&(C(0,vGb,6,0,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.mentionedComments$))},dependencies:[gw,dw,xT,AS,$M,XT,mw],styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-y:auto}"]});var p9=function(a,b){this.context={};b.createEmbeddedView(a,this.context)};Vg.Object.defineProperties(p9.prototype,{xapLet:{configurable:!0,enumerable:!0,set:function(a){var b=new Set(wGb(a));if(void 0!==this.context)for(var c=l(wGb(this.context).filter(function(e){return!b.has(e)})),d=c.next();!d.done;d=c.next())delete this.context[d.value];c=l(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}}});
p9.\u0275fac=function(a){return new (a||p9)(A(Rf),A(Sf))};p9.\u0275dir=Qc({type:p9,selectors:[["","xapLet",""]],inputs:{xapLet:"xapLet"},standalone:!0});var BGb=function(a,b){return b.type},yGb=function(a){return{signal:a}},KGb=function(){return[]},QRc=function(a){this.activeSession=a;this.signals=[];this.SIGNAL_TO_DISPLAY_TEXT=mhc;this.SIGNAL_TO_ACTION_TEXT=nhc;this.getSignalUrgency=$o;this.getHighestPrioritySignal=pKa;this.enableMentionedCommentsHovercard=tE(this.activeSession,"enableMentionedCommentsHovercard")},EGb=function(a,b){return a.filter(function(c){return c!==b}).map(function(c){return mhc.get(c.type)}).join("; ")},HGb=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};QRc.\u0275fac=function(a){return new (a||QRc)(A(nt))};
QRc.\u0275cmp=Lc({type:QRc,selectors:[["needs-attention-signals-cell"]],inputs:{issueId:"issueId",signals:"signals"},decls:4,vars:1,consts:[["class","flex-kids-x gap-xs"],["signalChip",""],[1,"flex-kids-x","gap-xs"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","flex-kids-x gap-xs align-items-center"],[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"],["mentionedCommentsHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId","commentNumbers",4,"onedevHovercardLazyBody"],[3,"onedevHovercardActive","onedevHovercardTrigger","matTooltip","mouseenter","mouseleave"],["tooltip","matTooltip"],[3,"onedevIsHovercardReady","issueId","commentNumbers"],["cardBody",""]],template:function(a,b){a&1&&C(0,CGb,3,0,"div",0)(1,GGb,1,1)(2,MGb,4,1,"ng-template",null,1,jg);a&2&&Cf(0,3>b.signals.length?0:1)},dependencies:[lw,PC,LF,
MF,QF,NF,o9,p9],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 q9=function(){this.DEFINITIONS=khc;this.sourceFilterKeys=[];this.selectedSources=[];this.change=new zv};q9.\u0275fac=function(a){return new (a||q9)};
q9.\u0275cmp=Lc({type:q9,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&&(E(0,"mat-chip-listbox",0),M("change",function(c){b.selectedSources=
c.value;b.change.emit(c.value)}),C(1,OGb,2,1,"ng-container",1),G());a&2&&(y(),D("ngForOf",b.sourceFilterKeys))},dependencies:[hw,dw,nP,tP,sP,PC],encapsulation:2});var RRc=["menuTrigger"],SRc={label:"Last 1 day",numberOfDays:1},TRc={label:"Last 7 days",numberOfDays:7},URc={label:"Last 30 days",numberOfDays:30},VRc={label:"Last 90 days",numberOfDays:90},WRc=[SRc,TRc,URc,VRc],XRc={1:SRc,7:TRc,30:URc,90:VRc},r9=function(){this.timeBoundaries=WRc;this.change=new zv};r9.prototype.getLabel=function(a){if(null==a)return"";var b,c;return null!=(c=null==(b=XRc[a])?void 0:b.label)?c:""};r9.prototype.openMenu=function(){this.menuTrigger.openMenu()};
r9.\u0275fac=function(a){return new (a||r9)};
r9.\u0275cmp=Lc({type:r9,selectors:[["time-boundary-filter"]],viewQuery:function(a,b){a&1&&Uf(RRc,5);if(a&2){var c;Yf(c=Zf())&&(b.menuTrigger=c.first)}},inputs:{selectedTimeBoundary:"selectedTimeBoundary"},outputs:{change:"change"},decls:8,vars:4,consts:[["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,"matMenuTriggerFor","keyup.enter","keyup.space"],
["menuTrigger","matMenuTrigger"],["matChipTrailingIcon","","svgIcon","arrow-dropdown"],["xPosition","before"],["timeBoundaryMenu","matMenu"],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"disabled","click"]],template:function(a,b){a&1&&(E(0,"mat-chip-listbox",0)(1,"mat-chip-option",1,2),M("keyup.enter",function(){return b.openMenu()})("keyup.space",function(){return b.openMenu()}),R(3),I(4,"mat-icon",3),G()(),E(5,"mat-menu",4,5),C(7,PGb,2,2,"button",6),G());if(a&
2){var c=Q(6);D("selectable",!1);y();D("matMenuTriggerFor",c);y(2);S(" ",b.getLabel(b.selectedTimeBoundary)," ");y(4);D("ngForOf",b.timeBoundaries)}},dependencies:[hw,hB,nP,tP,sP,rP,HC,FC,GC],encapsulation:2});var YRc=[5433823,5418819,5421028,5122552,5422257];var s9=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 zv},ZRc=function(a){return YRc.some(function(b){var c;return null==(c=a.hotlistIds)?void 0:c.includes(b)})};s9.\u0275fac=function(a){return new (a||s9)};
s9.\u0275cmp=Lc({type:s9,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&&C(0,QGb,5,1,"ng-container",0);a&2&&D("ngIf",ZRc(b))},dependencies:[dw,PC],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 nHb=function(a){return[a]},$Rc=Sp.MISSION_CONTROL,t9=function(a,b,c,d,e,f,h,k,q,t,w,z,F){Y.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=k;this.analytics=q;this.clipboard=t;this.activeSession=w;this.featureTooltipService=z;this.needsAttentionTaskFridge=F;this.BUGANIZER_SOURCE_ICON="bug_report_24px";this.ALL_NEEDS_ATTENTION_SOURCE_FILTERS=hhc;this.enableNewVisibilityChips=
tE(this.activeSession,"enableNewVisibilityChips");this.refreshTable=new W.Subject;this.SIGNAL_TO_DISPLAY_TEXT=mhc;this.SIGNAL_TO_ACTION_TEXT=nhc;this.needsAttentionIssues$=new W.BehaviorSubject([]);this.sources$=this.missionControlPrefs.needsAttentionSources$;this.timeBoundary$=this.missionControlPrefs.prefs$.pipe(B(function(H){var O;return null!=(O=null==H?void 0:H.needsAttentionDaysOld)?O:30}));this.allNeedsAttention$=new W.BehaviorSubject([]);this.tasksWithSignals$=this.timeBoundary$.pipe(df(function(H){return J.taskFridge.watchMany({maxTaskAgeDays:H})}),
B(kKa));this.liteTasks$=(0,W.combineLatest)([this.timeBoundary$,this.sources$]).pipe(ef(this.destroyed$),df(function(H){var O=l(H);H=O.next().value;O=O.next().value.map(function(P){return aSc(J,P)});return J.needsAttentionTaskFridge.watchMany({maxTaskAgeDays:H,sources:O})}),B(oKa));this.loading=!0;this.displayedColumns="selection type description timestamp signal action copy dismiss".split(" ");this.selection=new my(!0,[]);this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=10;this.getSignalUrgency=
$o;this.getHighestPrioritySignal=pKa;this.enableNeedsAttentionV2Api=tE(this.activeSession,"enableNeedsAttentionV2Api");this.enableMentionedCommentsHovercard=tE(this.activeSession,"enableMentionedCommentsHovercard");this.TOOLTIP_ID_MENTIONED_COMMENTS_HOVERCARD="tooltipIdMentionedCommentsHovercard";this.TOOLTIP_POSITIONS=mB;this.showFeatureTooltip$=e_b(this.featureTooltipService,"HIDDEN",["tooltipIdMentionedCommentsHovercard"]).pipe(Ce(function(H){return 0===H.length}),df(function(){return b_b(J.featureTooltipService)}),
Ce(Boolean),Se(1E3),B(function(){}));this.enableNeedsAttentionV2Api||this.needsAttentionApi.listIssues(void 0,void 0,cKa()).then(function(H){J.needsAttentionIssues$.next(lKa(H))});(0,W.combineLatest)([this.enableNeedsAttentionV2Api?this.liteTasks$:this.tasksWithSignals$,this.needsAttentionIssues$,this.sources$,this.timeBoundary$]).pipe(ef(this.destroyed$),B(function(H){var O=l(H);H=O.next().value;var P=O.next().value,U=O.next().value;O=O.next().value;var Z=jKa(H,P,U,O,J.enableNeedsAttentionV2Api);
setTimeout(function(){J.appEvents.missionControlTaskCount.next(Z.length)});return Z})).subscribe(function(H){J.loading=!1;J.allNeedsAttention$.next(H)});this.taskFridge.error$.pipe(ef(this.destroyed$)).subscribe(function(H){J.loading=!1;J.errorHandler.errorHandler(null,H)});this.needsAttentionTaskFridge.error$.pipe(ef(this.destroyed$)).subscribe(function(H){J.loading=!1;J.errorHandler.errorHandler(null,H)})};X(t9,Y);t9.\u0275dir=Y.\u0275dir;
var aSc=function(a,b){return"CRITIQUE"===b?"CHANGELIST":"DRIVE"===b?"DRIVE":"BUGANIZER"===b&&a.enableNeedsAttentionV2Api?"ISSUE":"TASK_RESOURCE_TYPE_UNSPECIFIED"};
t9.prototype.ngOnInit=function(){var a=this;this.refreshTable.pipe(ef(this.destroyed$)).subscribe(function(){a.loading=!0;a.taskFridge.pokeMany({});if(a.enableNeedsAttentionV2Api){var b,c;a.needsAttentionTaskFridge.pokeMany({maxTaskAgeDays:null!=(b=om(a.timeBoundary$))?b:0,sources:(null!=(c=om(a.sources$))?c:[]).map(function(d){return aSc(a,d)})})}else a.needsAttentionApi.listIssues(void 0,void 0,cKa()).then(function(d){a.needsAttentionIssues$.next(lKa(d))})})};
var UGb=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,r(b)))},uHb=function(a,b){if("Buganizer"===b.type){var c=ip(b.id);if(!c)return;Ggc(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)};
t9.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;a&&"A"===(null==(d=a.target)?void 0:d.tagName)||("Buganizer"===b.type?(b=ip(b.id),b=dn(b),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):(null==a?0:a.shiftKey)?rm(this.domSafe,b):Ts(this.router,b)):this.domSafe.openInNewTab(b.link))}};
t9.prototype.sendClickAnalytics=function(a,b){kp(this.analytics,$Rc,"navigate","needsAttention-"+a.type+"-"+a.signals.map(function(c){return c.type}).join(","));b=l(GHb(a,b));a=b.next().value;b=b.next().value;kp(this.analytics,$Rc,"ctr-sig-yes",a);kp(this.analytics,$Rc,"ctr-sig-no",b)};t9.prototype.setNumDisplayedRows=function(a){this.numDisplayedRows=a.length>this.numDisplayedRows?a.length:10};
var $Gb=function(a){var b=a.selection.selected,c=b.filter(function(f){return f.startsWith("b/")}).map(function(f){return ip(f)}),d=b.filter(function(f){return!f.startsWith("b/")});0<c.length&&Ggc(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()};t9.prototype.copyIdOrLink=function(a){"Buganizer"===a.type?(a=ip(a.id))&&this.clipboard.copy(a):this.clipboard.copy(a.link)};t9.prototype.sendDmaAnalytics=function(){kp(this.analytics,Sp.MISSION_CONTROL,"click","dmaChip")};t9.prototype.extractLastDigits=function(a){var b;return null!=(b=ip(a))?b:""};
t9.\u0275fac=function(a){return new (a||t9)(A(UP),A(KJ),A(AG),A(vJ),A(YQ),A(IE),A(vF),A(RH),A(MI),A(LE),A(nt),A(sC),A(wJ))};
t9.\u0275cmp=Lc({type:t9,selectors:[["b-needs-attention-table"]],inputs:{refreshTable:"refreshTable"},features:[nf],decls:10,vars:8,consts:[[1,"flex-kids-x","align-items-center","padded-xs-y","border-bottom"],[1,"heading-s"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["loadingSpinner",""],[1,"padded-s-x",3,"sourceFilterKeys","selectedSources","change"],[1,"border-left","padded-s-left",3,"selectedTimeBoundary","change"],["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,"checked","indeterminate","change"],["mat-cell",""],["aria-label","Select alert",3,"checked","click","change"],["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"],["noTitle",""],[1,"alert-description"],[3,"issueId"],["class","margin-xs-right",3,"issuePriority",4,"ngIf"],["tabindex","0","role","link",1,"subtle-link",3,"href","auxclick"],[3,"hotlistIds","onChipClicked"],[3,"accessLevel","compactMode"],[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,"matTooltip","click"],["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&&(E(0,"div",0)(1,"span",1),R(2,"Sources"),G(),C(3,RGb,2,2,"ng-container",2),T(4,"async"),C(5,SGb,2,1,"ng-container",2),T(6,"async"),G(),C(7,EHb,3,3,"ng-container",3)(8,FHb,2,1,"ng-template",null,4,jg));if(a&2){var c=Q(9);y(3);D("ngIf",V(4,4,b.sources$));y(2);D("ngIf",V(6,6,b.timeBoundary$));y(2);D("ngIf",!b.loading)("ngIfElse",
c)}},dependencies:[dw,hB,AS,jW,$W,NW,TW,PW,MW,VW,QW,SW,WW,YW,ZW,WE,PC,nA,oA,q9,r9,HQ,$V,zR,s9,LV,QRc,qB,uC,xC,yC,mw],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:solid var(--mat-table-row-item-outline-width,1px) #dadce0}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)}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}"]});var u9=function(a,b,c){Y.call(this);var d=this;this.prefsService=a;this.appEvents=b;this.analytics=c;this.numNeedsAttentionTasks$=this.appEvents.missionControlTaskCount;this.refreshData=new W.Subject;this.numNeedsAttentionTasks$.pipe(Ce(Bi),Ue(),ef(this.destroyed$)).subscribe(function(h){kp(d.analytics,Sp.MISSION_CONTROL,"display","num-needs-attention-"+h,h)});var e;a=null!=(e=this.prefsService.prefs.needsAttentionSources)?e:hhc;var f;e=null!=(f=this.prefsService.prefs.needsAttentionDaysOld)?f:30;
kp(this.analytics,Sp.MISSION_CONTROL,"view","needsAttention-filters-"+a.join(",")+"-"+e)};X(u9,Y);u9.\u0275dir=Y.\u0275dir;u9.prototype.isCollapsed=function(){return this.prefsService.isCollapsed("needs-attention-wrapper")};u9.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("needs-attention-wrapper")};u9.\u0275fac=function(a){return new (a||u9)(A(YQ),A(RH),A(MI))};
u9.\u0275cmp=Lc({type:u9,selectors:[["needs-attention-wrapper"]],inputs:{refreshData:"refreshData"},features:[nf],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&&(E(0,"div",0)(1,"header",1)(2,"h3",2),R(3," Needs attention "),G(),I(4,"mat-icon",3),E(5,"button",4),M("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),G(),C(7,HHb,3,1,"div",6),T(8,"async"),G(),C(9,IHb,
2,1,"div",7),G());a&2&&(yf("collapsed",b.isCollapsed()),y(7),D("ngIf",V(8,4,b.numNeedsAttentionTasks$)),y(2),D("ngIf",!b.isCollapsed()))},dependencies:[dw,hB,nA,t9,PC,mw],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 uIb=function(){return[]},vIb=function(){return["moreRows"]},v9=function(a,b,c,d,e,f,h,k,q,t,w){Y.call(this);var z=this;this.prefsService=a;this.issueFridge=b;this.taskFridge=c;this.currentUser=d;this.router=e;this.domSafe=f;this.analytics=h;this.constants=k;this.errorHandler=q;this.activeSession=t;this.clipboard=w;this.BUGANIZER_SOURCE_ICON="bug_report_24px";this.ALL_MY_TASK_FILTERS=ihc;this.refreshData=new W.Subject;this.sources$=this.prefsService.myTasksSources$;this.timeBoundary$=this.prefsService.prefs$.pipe(B(function(J){var H;
return null!=(H=null==J?void 0:J.myTasksDaysOld)?H:7}));var F;this.INITIAL_TAB_INDEX=null!=(F=tic(this.prefsService,"mc-my-tasks"))?F:0;this.tabData=[{label:"Owned",description:"Tasks you own or are the author of",tasks:new W.BehaviorSubject([]),loading:!0},{label:"Collaborating",description:"Tasks you're working on or contributing to (but don't own)",tasks:new W.BehaviorSubject([]),loading:!0},{label:"Following",description:"Tasks you're tracking or have recent activities on",tasks:new W.BehaviorSubject([]),
loading:!0}];this.ownedIssues$=this.timeBoundary$.pipe(df(function(J){return bSc(z,"assignee:me modified:$$BOUNDARY$$ status:open",J)}));this.collaboratingIssues$=this.timeBoundary$.pipe(df(function(J){return bSc(z,"(collaborator:me OR reporter:me) -assignee:me modified:$$BOUNDARY$$ status:open",J)}));this.followingIssues$=this.timeBoundary$.pipe(df(function(J){return bSc(z,"(star:true OR (cc:me AND status:open) OR (commenter:me AND status:open)) modified:$$BOUNDARY$$ -(collaborator:me OR reporter:me OR assignee:me)",
J)}));this.ownedTasks$=this.timeBoundary$.pipe(df(function(J){return z.taskFridge.watchMany({maxTaskAgeDays:J}).pipe(B(function(H){return H.results}),B(function(H){var O=z.currentUser.email,P=[];H=l(H);for(var U=H.next();!U.done;U=H.next()){U=U.value;var Z=void 0;switch(null==(Z=U.resource)?void 0:Z.source){case "CRITIQUE":var la=Z=void 0;(null==(Z=U.resource)?void 0:null==(la=Z.critiqueResource)?void 0:la.authorEmail)===O&&P.push(U);break;case "DRIVE":la=Z=void 0;(null==(Z=U.resource)?0:null==(la=
Z.driveResource)?0:la.ownedByMe)&&P.push(U);break;case "ARIANE":la=Z=void 0;(null==(Z=U.resource)?0:null==(la=Z.launchResource)?0:la.ownedByMe)&&P.push(U);break;default:Z=void 0,console.warn("getMyTasksOwned() Unhandled task type: "+(null==(Z=U.resource)?void 0:Z.source),U)}}return P}))}));this.collaboratingTasks$=this.timeBoundary$.pipe(df(function(J){return z.taskFridge.watchMany({maxTaskAgeDays:J}).pipe(B(function(H){return H.results}),B(function(H){var O=z.currentUser.email,P=[];H=l(H);for(var U=
H.next();!U.done;U=H.next()){U=U.value;var Z=void 0;switch(null==(Z=U.resource)?void 0:Z.source){case "CRITIQUE":var la=Z=void 0;(null==(Z=U.resource)?0:null==(la=Z.critiqueResource)?0:la.reviewerEmails.includes(O))&&P.push(U);break;case "DRIVE":la=Z=void 0;(null==(Z=U.resource)?0:null==(la=Z.driveResource)?0:la.sharedWithMe)&&P.push(U);break;case "ARIANE":la=Z=void 0;(null==(Z=U.resource)?0:null==(la=Z.launchResource)?0:la.needApprovalFromMe)&&P.push(U);break;default:Z=void 0,console.warn("getMyTasksCollaborating() Unhandled task type: "+
(null==(Z=U.resource)?void 0:Z.source),U)}}return P}))}));this.followingTasks$=this.timeBoundary$.pipe(df(function(J){return z.taskFridge.watchMany({maxTaskAgeDays:J}).pipe(B(function(H){return H.results}),B(function(H){return DCa(H,z.currentUser.email)}))}));this.enableNewVisibilityChips=tE(this.activeSession,"enableNewVisibilityChips");this.displayColumns="type title modified role created copy".split(" ");this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=10;cSc(this,this.ownedIssues$,this.ownedTasks$,
this.tabData[0]).pipe(ef(this.destroyed$)).subscribe(function(J){z.tabData[0].loading=!1;z.tabData[0].tasks.next(J)});cSc(this,this.collaboratingIssues$,this.collaboratingTasks$,this.tabData[1]).pipe(ef(this.destroyed$)).subscribe(function(J){z.tabData[1].loading=!1;z.tabData[1].tasks.next(J)});cSc(this,this.followingIssues$,this.followingTasks$,this.tabData[2]).pipe(ef(this.destroyed$)).subscribe(function(J){z.tabData[2].loading=!1;z.tabData[2].tasks.next(J)});kp(this.analytics,Sp.MISSION_CONTROL,
"display","my-tasks-"+this.tabData[this.INITIAL_TAB_INDEX].label);this.tabData[this.INITIAL_TAB_INDEX].tasks.pipe(Ue(),ef(this.destroyed$)).subscribe(function(J){kp(z.analytics,Sp.MISSION_CONTROL,"display",0===J.length?"num-my-tasks-0":0<J.length&&11>J.length?"num-my-tasks-1-10":"num-my-tasks-10plus",J.length)});this.taskFridge.error$.pipe(ef(this.destroyed$)).subscribe(function(J){z.errorHandler.errorHandler(null,J)})};X(v9,Y);v9.\u0275dir=Y.\u0275dir;
v9.prototype.ngOnInit=function(){var a=this;this.refreshData.pipe(ef(this.destroyed$)).subscribe(function(){var b,c=null!=(b=a.prefsService.prefs.myTasksDaysOld)?b:7;a.tabData[0].loading=!0;dSc(a,"assignee:me modified:$$BOUNDARY$$ status:open",c);a.tabData[1].loading=!0;dSc(a,"(collaborator:me OR reporter:me) -assignee:me modified:$$BOUNDARY$$ status:open",c);a.tabData[2].loading=!0;dSc(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 cSc=function(a,b,c,d){var e=a.currentUser.email;return(0,W.combineLatest)([b.pipe(B(function(f){return LHb(f,e,d.label)})),c.pipe(B(function(f){return MHb(f,d.label)})),a.sources$]).pipe(B(function(f){var h=l(f);f=h.next().value;var k=h.next().value;h=h.next().value;return eSc(f,k,h)}))},eSc=function(a,b,c){var d=[];c.some(function(e){return"WTDM"===e})&&d.push.apply(d,r(a.filter(function(e){return v5b.has(e.type)})));c.some(function(e){return"NON_WTDM"===e})&&d.push.apply(d,r(a.filter(function(e){return!v5b.has(e.type)})));
d.push.apply(d,r(b.filter(function(e){return c.some(function(f){return f===e.source})})));return d.sort(EIb)},bSc=function(a,b,c){return a.issueFridge.watchMany({filter:b.replace("$$BOUNDARY$$",c+"d"),pageSize:50,sort:"modified_time:desc"}).pipe(B(function(d){return d.results}))},dSc=function(a,b,c){a.issueFridge.pokeMany({filter:b.replace("$$BOUNDARY$$",c+"d"),pageSize:50,sort:"modified_time:desc"})};g=v9.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.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?rm(this.domSafe,b.link):Ts(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("");kp(this.analytics,Sp.MISSION_CONTROL,"navigate","myTasks-"+a.source+"-"+c)};g.sendDmaAnalytics=function(){kp(this.analytics,Sp.MISSION_CONTROL,"click","dmaChip")};v9.\u0275fac=function(a){return new (a||v9)(A(YQ),A(UI),A(KJ),A(bS),A(vF),A(IE),A(MI),A(DG),A(AG),A(nt),A(LE))};
v9.\u0275cmp=Lc({type:v9,selectors:[["my-tasks"]],inputs:{refreshData:"refreshData"},features:[nf],decls:12,vars:3,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","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"],["loadingSpinner",""],["dashDash",""],[1,"main-content","margin-s-top"],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedIndex","selectedIndexChange"],[4,"ngFor","ngForOf"],["mat-tab-label",""],[1,"tab-filters","flex-kids-x","align-items-center",
"padded-xs-y","border-bottom"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["matTooltipShowDelay","500",1,"tab-label",3,"matTooltip"],[1,"padded-s-x",3,"sourceFilterKeys","selectedSources","change"],[1,"border-left","padded-s-left",3,"selectedTimeBoundary","change"],[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"],["noTitle",""],["class","margin-xs-right",3,"issuePriority",4,"ngIf"],[1,"subtle-link",3,"href","auxclick"],[3,"hotlistIds","onChipClicked"],[3,"issueId","compactMode"],[3,"accessLevel","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,"matTooltip","click"],["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){a&1&&(E(0,"div",0)(1,"header",1)(2,"h3",2),R(3," My tasks "),G(),I(4,"mat-icon",3),E(5,"button",4),M("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),G()(),C(7,BIb,3,2,"div",6),G(),C(8,CIb,2,1,"ng-template",
null,7,jg)(10,DIb,1,0,"ng-template",null,8,jg));a&2&&(yf("collapsed",b.isCollapsed()),y(7),D("ngIf",!b.isCollapsed()))},dependencies:[hw,dw,hB,$V,HQ,q9,r9,AS,zR,s9,LV,nA,KN,LN,JN,oX,jW,$W,NW,TW,PW,MW,VW,OW,UW,QW,SW,RW,WW,YW,XW,ZW,PC,mw],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:solid var(--mat-table-row-item-outline-width,1px) #dadce0}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.css.map */"]});var w9=function(a,b){Y.call(this);this.dialogRef=a;this.savedSearchFridge=b;this.selectedIds=new Set;this.savedSearches$=this.savedSearchFridge.watchMany({parent:"me"}).pipe(B(function(c){return c.results}))};X(w9,Y);w9.\u0275dir=Y.\u0275dir;w9.prototype.trackBySearchId=function(a,b){return b.searchId};w9.prototype.onChangeMatList=function(a){var b=this;a.options.forEach(function(c){c.selected?b.selectedIds.add(c.value):b.selectedIds.delete(c.value)})};
w9.prototype.onSave=function(){var a=[].concat(r(this.selectedIds)).map(String);this.dialogRef.close(a)};w9.prototype.onCancel=function(){this.dialogRef.close()};w9.\u0275fac=function(a){return new (a||w9)(A(BA),A(DJ))};
w9.\u0275cmp=Lc({type:w9,selectors:[["saved-search-picker-dialog"]],features:[nf],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,"disabled","click"],["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&&(E(0,"header",0),R(1," Add a Saved Search\n"),G(),E(2,"div",1),C(3,HIb,3,2,"ng-container",2),T(4,"async"),G(),E(5,"div",3)(6,"button",4),M("click",function(){return b.onCancel()}),R(7," Cancel "),G(),E(8,"button",5),M("click",function(){return b.onSave()}),
R(9),G()());a&2&&(y(3),D("ngIf",V(4,3,b.savedSearches$)),y(5),D("disabled",0===b.selectedIds.size),y(),S(" Save ",1<b.selectedIds.size?"("+b.selectedIds.size+")":""," "))},dependencies:[hw,dw,nA,GA,HA,IA,ZS,hT,gT,mw],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 x9=function(){};x9.\u0275fac=function(a){return new (a||x9)};x9.\u0275mod=Nc({type:x9});x9.\u0275inj=wc({imports:[SH,$C,JA,JD,kN,jT,BF,YT,dx,ex,WK,$C,MQ,gX,aN]});var y9=function(a){this.dialog=a};y9.prototype.open=function(a){var b=this,c={panelClass:"no-jitter"};return new Promise(function(d){b.dialog.open(w9,c).afterClosed().subscribe(function(e){e=void 0===e?[]:e;null==a||a(e);d(e)})})};y9.\u0275fac=function(a){return new (a||y9)(p(EA))};y9.\u0275prov=vc({token:y9,factory:y9.\u0275fac,providedIn:"root"});var z9=function(a){this.paths=a;this.toIssuePriority=dl;this.type="default"},MIb=function(a,b){var c;return null==(c=[].concat(r(a.preDiffs),r(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue},lt=function(a,b){var c;return null==(c=[].concat(r(a.preDiffs),r(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue},JIb=function(a){var b,c,d,e=null!=(d=null==(b=a.unlinkifiedComment)?void 0:null==(c=b.match(/by (\w+)@/))?void 0:c[1])?d:"";if(!e){var f,h;return null!=
(h=null==(f=a.userPerformingActionUser)?void 0:f.emailAddress)?h:""}return e+"@google.com"};z9.prototype.getChangelistNumber=function(a){var b,c,d;a=null!=(d=null==(b=a.unlinkifiedComment)?void 0:null==(c=b.match(/Change (\d+)/))?void 0:c[1])?d:"0";return Number(a)};z9.\u0275fac=function(a){return new (a||z9)(A(iI))};
z9.\u0275cmp=Lc({type:z9,selectors:[["recent-event-row"]],inputs:{event:"event",type:"type"},decls:9,vars:8,consts:[[1,"type-s","recent-event-row-container","flex-kids-x","align-items-center","margin-xs-bottom"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"email","size"],[1,"margin-s-left","user-display"],[3,"model"],[3,"href","issueId"],["mode","relativepast",3,"timestamp"],[3,"changelistId"],[3,"issuePriority"],[4,"ngIf","ngIfElse"],["changeAssignee",""],["noAssignee",""],[3,"email"]],template:function(a,
b){a&1&&(E(0,"div",0),K(1,1),C(2,IIb,8,7,"ng-container",2)(3,KIb,10,8,"ng-container",2)(4,LIb,8,7,"ng-container",2)(5,NIb,12,9,"ng-container",2)(6,OIb,9,9,"ng-container",2)(7,TIb,6,2,"ng-container",2)(8,UIb,8,7,"ng-container",2),L(),G());a&2&&(y(),D("ngSwitch",b.type),y(),D("ngSwitchCase","create"),y(),D("ngSwitchCase","changelist"),y(),D("ngSwitchCase","comment"),y(),D("ngSwitchCase","priority"),y(),D("ngSwitchCase","status"),y(),D("ngSwitchCase","assignee"),y(),D("ngSwitchCase","default"))},dependencies:[dw,
iw,jw,yT,BT,xT,AS,SF,$V,wU],styles:[".recent-event-row-container[_ngcontent-%COMP%]{height:20px}.recent-event-row-container[_ngcontent-%COMP%]   .user-display[_ngcontent-%COMP%]{font-weight:500}"],changeDetection:0});var A9=function(a){Y.call(this);var b=this;this.recentEventsForIssuesFridge=a;this.query$=new W.ReplaySubject(1);this.events$=this.query$.pipe(Ce(Bi),ef(this.destroyed$),df(function(c){return b.recentEventsForIssuesFridge.watchOne(c+"-20")}),B(function(c){return null==c?void 0:c.events}));this.numDisplayedEvents=3};X(A9,Y);A9.\u0275dir=Y.\u0275dir;
var VIb=function(a){if(Cn(a)&&1===a.commentNumber)return"create";if(tCa(a))return"changelist";if(Cn(a))return"comment";if(0<a.preDiffs.length||0<a.postDiffs.length){a=new Set([].concat(r(a.preDiffs),r(a.postDiffs)).map(function(b){return b.name}));if(a.has("priority"))return"priority";if(a.has("assignee"))return"assignee";if(a.has("status"))return"status"}return"default"};Vg.Object.defineProperties(A9.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){null!=a&&this.query$.next(a)}}});
A9.\u0275fac=function(a){return new (a||A9)(A(yJ))};A9.\u0275cmp=Lc({type:A9,selectors:[["recent-events"]],inputs:{query:"query"},features:[nf],decls:2,vars:3,consts:[[4,"ngIf"],[1,"heading-xs","margin-s-top","margin-xs-bottom"],[4,"ngFor","ngForOf"],[1,"link-button","margin-s-top",3,"click"],[3,"event","type"]],template:function(a,b){a&1&&(C(0,XIb,6,2,"ng-container",0),T(1,"async"));a&2&&D("ngIf",V(1,1,b.events$))},dependencies:[hw,dw,z9,mw],changeDetection:0});var eJb=function(){return{assignee:"avatar-if-open"}},dJb=function(a){return{hideColumnHeaders:!0,modes:a}},fSc={modes:{assignee:"avatar-if-open",modifiedTime:"relativepast"},rowLimit:15,showTrending:!0},gSc={active:"modifiedTime",direction:"desc"},B9=function(a,b,c,d){Y.call(this);var e=this;this.prefsService=a;this.issueFridge=b;this.savedSearchFridge=c;this.analytics=d;this.TREE_COLUMNS=[].concat(r(nNc));this.FLAT_LIST_COLUMNS=[].concat(r(mNc));this.INITIAL_SORT=gSc;this.extractLastDigits=ip;this.refreshWorkArea=
new W.Subject;this.tableOptions=fSc;this.typeAndId$=new W.BehaviorSubject([void 0,void 0]);this.typeAndId$.pipe(df(function(f){var h=l(f);f=h.next().value;h=h.next().value;return"savedsearch"===f?e.savedSearchFridge.watchOne(h):(0,W.of)(void 0)}));this.issueFilter$=this.typeAndId$.pipe(B(function(f){var h=l(f);f=h.next().value;h=h.next().value;if("issue"!==f){if("savedsearch"===f)return"savedsearchid:"+h;if("hotlist"===f)return"hotlistid:"+h;throw Error("of`"+f);}}));this.issueQuery$=this.issueFilter$.pipe(B(function(f){return{filter:f,
pageSize:500,sort:"modified_time:desc"}}));this.issueIds$=this.issueQuery$.pipe(df(function(f){return e.issueFridge.watchMany(f)}),B(function(f){return f.results.map(function(h){return h.issueId})}))};X(B9,Y);B9.\u0275dir=Y.\u0275dir;B9.prototype.ngOnInit=function(){var a=this;this.refreshWorkArea.pipe(ef(this.destroyed$)).subscribe(function(){a.typeAndId$.next([a.entityType,a.referencedId])})};
Vg.Object.defineProperties(B9.prototype,{reference:{configurable:!0,enumerable:!0,set:function(a){this.entityReference=a;this.referencedId=ip(a);this.entityType=jp(a);this.tableOptions=Object.assign({},fSc);kp(this.analytics,Sp.MISSION_CONTROL,"view","work-area-"+this.entityType);this.typeAndId$.next([this.entityType,this.referencedId])}}});B9.\u0275fac=function(a){return new (a||B9)(A(YQ),A(UI),A(DJ),A(MI))};
B9.\u0275cmp=Lc({type:B9,selectors:[["one-work-area"]],inputs:{reference:"reference",refreshWorkArea:"refreshWorkArea"},features:[nf],decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","muted",4,"ngSwitchDefault"],[1,"margin-bottom",3,"ref","query"],[3,"issueIds","options","filters","tableColumns","initialSort"],[3,"query"],[1,"margin-bottom",3,"id"],[3,"saveExpansionAtKey","rootIssueId","filters","tableColumns","options","defaultExpansionLevel"],[1,"muted"]],template:function(a,
b){a&1&&C(0,hJb,6,4,"ng-container",0);a&2&&D("ngIf",b.referencedId)},dependencies:[dw,iw,jw,kw,T5,o6,s6,r6,L5,i6,A9,mw],styles:["[_nghost-%COMP%] { display: block; }"]});var C9=function(a,b,c,d,e,f,h,k,q,t,w,z){Y.call(this);var F=this;this.prefsService=a;this.issueFridge=b;this.hotlistFridge=c;this.savedSearchFridge=d;this.hotlistPicker=e;this.issuePicker=f;this.savedSearchPicker=h;this.analytics=k;this.clipboard=q;this.butterBar=t;this.parentIssueSuggestions=w;this.imageUrls=z;this.refreshData=new W.Subject;this.SECTION_SLUG="work-areas-wrapper-card";this.EMPTY_STATE_IMG=this.imageUrls.WORK_AREA_EXAMPLE_ILLUSTRATION;this.makeBuganizerUrl=wLa;this.getEntityTypeName=
vLa;this.extractLastDigits=ip;this.suggestions=[];this.titles={};this.INITIAL_TAB_INDEX=tic(this.prefsService,"work-areas-wrapper-card");this.workAreaReferences$=this.prefsService.prefs$.pipe(B(function(H){var O;return null!=(O=null==H?void 0:H.workAreaUrls)?O:[]}));this.issues$=this.workAreaReferences$.pipe(B(function(H){return H.filter(function(O){return"issue"===jp(O)})}),B(function(H){return H.map(ip)}),Te(Th),B(function(H){return H.filter(Bi)}),df(this.issueFridge.watchSet));this.hotlists$=this.workAreaReferences$.pipe(B(function(H){return H.filter(function(O){return"hotlist"===
jp(O)})}),B(function(H){return H.map(ip)}),Te(Th),B(function(H){return H.filter(Bi)}),df(this.hotlistFridge.watchSet));this.savedSearches$=this.workAreaReferences$.pipe(B(function(H){return H.filter(function(O){return"savedsearch"===jp(O)})}),B(function(H){return H.map(ip)}),Te(Th),B(function(H){return H.filter(Bi)}),df(this.savedSearchFridge.watchSet));this.issues$.pipe(ef(this.destroyed$)).subscribe(this.updateTitlesForIssues.bind(this));this.hotlists$.pipe(ef(this.destroyed$)).subscribe(this.updateTitlesForHotlists.bind(this));
this.savedSearches$.pipe(ef(this.destroyed$)).subscribe(this.updateTitlesForSavedSearches.bind(this));a=this.workAreaReferences.length;kp(this.analytics,Sp.MISSION_CONTROL,"display","num-work-areas-"+a,a);var J;a=Object.values(null!=(J=this.prefsService.prefs.workAreaQuickFilters)?J:{}).flat();0<a.length&&kp(this.analytics,Sp.MISSION_CONTROL,"view","workAreas-filters-"+a.join(","));(0,W.timer)(2E3).pipe(df(function(){return F.parentIssueSuggestions.suggestions$}),ef(this.destroyed$),Ue()).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(r(P));if(!(1>=P.length))for(P=U.length-1;0<P;--P){var Z=Math.floor(Math.random()*(P+1)),la=U[P];U[P]=U[Z];U[Z]=la}O=U.slice(0,O);H=H[0];O.includes(H)||(O.pop(),O.unshift(H));H=O}F.suggestions=H;0===F.workAreaReferences.length&&(H=H.length,kp(F.analytics,Sp.MISSION_CONTROL,"suggestions-shown",String(H),H))})};X(C9,Y);C9.\u0275dir=Y.\u0275dir;C9.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("work-areas-wrapper-card")};
C9.prototype.updateTitlesForIssues=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;this.titles[b.issueId]=null==(c=b.snapshot[0])?void 0:c.title}};C9.prototype.updateTitlesForHotlists=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[gp(b.hotlistId)]=b.name};C9.prototype.updateTitlesForSavedSearches=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[hp(b.searchId)]=b.name};
var hSc=function(a){var b,c,d,e,f,h,k,q,t;return ke(function(w){if(1==w.nextAddress)return b=a.workAreaReferences.filter(function(z){return"hotlist"===jp(z)}).map(ip).map(Number),me(w,TOc(a.hotlistPicker,b),2);c=w.yieldResult;f=(null!=(e=null==(d=c)?void 0:d.added)?e:[]).map(gp);q=(null!=(k=null==(h=c)?void 0:h.removed)?k:[]).map(gp);t=a.workAreaReferences.slice();t=CBa(q,t);t=EBa(f,t);kt(a.prefsService,{workAreaUrls:t});qe(w)})},iSc=function(a){var b;return ke(function(c){if(1==c.nextAddress)return me(c,
a.issuePicker.open({title:"Choose a parent issue",allowMultipleIds:!0}),2);b=c.yieldResult;null!=b&&ZQ(a.prefsService,b);qe(c)})},kJb=function(a,b){var c=a.suggestions.map(function(d){return d.ref}).indexOf(b);kp(a.analytics,Sp.MISSION_CONTROL,"suggestion-chosen",String(c));null!=b&&ZQ(a.prefsService,b)},jSc=function(a){var b,c,d,e;return ke(function(f){if(1==f.nextAddress)return me(f,a.savedSearchPicker.open(),2);b=f.yieldResult;d=null!=(c=b)?c:[];if(0===d.length)return f.return();e=d.map(hp);ZQ(a.prefsService,
e);qe(f)})};Vg.Object.defineProperties(C9.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")}}});
C9.\u0275fac=function(a){return new (a||C9)(A(YQ),A(UI),A(CI),A(DJ),A(N6),A(zX),A(y9),A(MI),A(LE),A(hG),A(cS),A(BR))};
C9.\u0275cmp=Lc({type:C9,selectors:[["work-areas-wrapper-card"]],hostVars:4,hostBindings:function(a,b){a&2&&yf("is-empty",b.isEmpty)("collapsed",b.isCollapsed)},inputs:{refreshData:"refreshData"},features:[nf],decls:19,vars:3,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","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"],["addMenu","matMenu"],["mat-menu-item","",3,"click"],["emptyState",""],["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,"title","click"],[1,"line-clamp-2"],[1,"muted","type-s",3,"onedevHovercardTrigger"],["issueHovercard","onedevHovercard"],[3,"issueId",4,"ngIf"],[3,"issueId"],["gmat-tabs","",1,
"main-content","margin-s-top",3,"selectedIndex","selectedIndexChange"],[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,"matMenuTriggerFor","click"],["svgIcon","more-settings-vertical",1,"icon-xs"],["data-test","edit-menu",1,"foo"],["editMenu","matMenu"],["mat-menu-item","","title","View the work area full screen",3,"routerLink"],["svgIcon","link",1,"icon-s"],["mat-menu-item",
"",3,"click",4,"ngIf"],["mat-menu-item","",3,"disabled","click"],["svgIcon","arrow-backward",1,"icon-s"],["svgIcon","arrow-forward",1,"icon-s"],["mat-menu-item","",3,"title","click"],["svgIcon","close",1,"icon-s"],["svgIcon","copy",1,"icon-s"],[1,"margin-top",3,"reference","refreshWorkArea"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"header",1)(2,"h3",2),R(3," Work areas "),G(),I(4,"mat-icon",3),E(5,"button",4),M("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),G(),C(7,iJb,3,1,
"button",6),E(8,"mat-menu",null,7)(10,"button",8),M("click",function(){return iSc(b)}),R(11,"Issue (parent/child project)"),G(),E(12,"button",8),M("click",function(){return hSc(b)}),R(13,"Hotlist"),G(),E(14,"button",8),M("click",function(){return jSc(b)}),R(15,"Saved Search"),G()()(),C(16,nJb,9,3,"ng-template",null,9,jg)(18,tJb,2,2,"mat-tab-group",10),G());if(a&2){var c=Q(17);y(7);D("ngIf",0<b.workAreaReferences.length);y(11);D("ngIf",0<b.workAreaReferences.length)("ngIfElse",c)}},dependencies:[hw,
dw,hB,xF,KN,LN,JN,GN,HC,FC,GC,nA,zP,oX,PC,eW,LF,QF,B9],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-tab-label .mat-tab-label-content{padding-left:4px;margin-right:-4px}[_nghost-%COMP%]     .mat-tab-label .menu-trigger{visibility:hidden}[_nghost-%COMP%]     .mat-tab-label.mat-tab-label-active .menu-trigger, [_nghost-%COMP%]     .mat-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 kSc=Sp.MISSION_CONTROL,D9=function(a,b,c,d,e,f,h){Y.call(this);var k=this;this.pageTitle=a;this.hostElement=b;this.analytics=c;this.userFeedback=d;this.prefsService=e;this.hatsService=f;this.appSearchState=h;this.HOTKEYS=yq;this.refreshMissionControlData=new W.Subject;this.captureAnyClick=function(q){q=q.target;for(var t=[];q.parentNode;){var w=void 0,z=q,F=[];for(w in z.dataset)"true"===z.dataset[w]&&F.push(w);w=F;t.unshift(q.tagName+(0<w.length?"["+w.join(",")+"]":""));q=q.parentNode}q=t.join(" > ");
t=l(Object.entries(lSc));for(w=t.next();!w.done;w=t.next())if(z=l(w.value),w=z.next().value,z=z.next().value,q.includes(w)){kp(k.analytics,kSc,"click",z);break}}};X(D9,Y);D9.\u0275dir=Y.\u0275dir;
D9.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=l(mSc(this)),c=b.next().value;b=b.next().value;kp(this.analytics,kSc,"sections-on-load",c,b);Src(this.hatsService,"u5xoTzKbb0g6pPHSLo10WcCoiLmK").pipe(ef(this.destroyed$)).subscribe()};
D9.prototype.ngOnDestroy=function(){Y.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.captureAnyClick,!0)};var mSc=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]};D9.prototype.refresh=function(){this.refreshMissionControlData.next()};
D9.\u0275fac=function(a){return new (a||D9)(A(YP),A(Ad),A(MI),A(gS),A(YQ),A(yX),A(KM))};
D9.\u0275cmp=Lc({type:D9,selectors:[["ng-component"]],features:[nf],decls:14,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,"hotkey","onHotkey"],[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&&(E(0,"h2",0),R(1,"Mission Control"),G(),E(2,"div",1),M("onHotkey",function(){return b.refresh()}),E(3,"div",2)(4,"a",3),R(5,"Learn about 'Home'"),G(),E(6,"button",4),M("click",function(){Ijc(b.userFeedback)}),R(7,"Give feedback"),G()(),E(8,"section",5),I(9,"needs-attention-wrapper",6),G(),E(10,"section",7),I(11,"my-tasks",6),G(),E(12,"section",8),I(13,"work-areas-wrapper-card",6),G()());a&2&&(y(2),D("hotkey",b.HOTKEYS.REFRESH_ISSUE_LIST),y(7),D("refreshData",b.refreshMissionControlData),y(2),
D("refreshData",b.refreshMissionControlData),y(2),D("refreshData",b.refreshMissionControlData))},dependencies:[nA,C9,u9,v9,XM],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 lSc={"NEEDS-ATTENTION-WRAPPER":"needs-attention","MY-TASKS":"my-tasks","WORK-AREAS-WRAPPER-CARD":"work-areas"};var vJb=function(a){return{feature:a}},nSc=function(a){this.beapService=a;this.beapFeaturesTF$=TJc(this.beapService,"TEAM_FOOD");this.beapFeaturesEA$=TJc(this.beapService,"EARLY_ACCESS");this.hasFeatures$=(0,W.combineLatest)([this.beapFeaturesTF$,this.beapFeaturesEA$]).pipe(B(function(b){var c=l(b);b=c.next().value;c=c.next().value;return 0<b.length+c.length}));this.hasFeaturesTF$=this.beapFeaturesTF$.pipe(B(function(b){return 0<b.length}));this.hasFeaturesEA$=this.beapFeaturesEA$.pipe(B(function(b){return 0<
b.length}));this.linkClicked={}};nSc.\u0275fac=function(a){return new (a||nSc)(A(b3))};
nSc.\u0275cmp=Lc({type:nSc,selectors:[["b-beap-settings"]],decls:6,vars:4,consts:[[4,"ngIf","ngIfElse"],["featureEmptyState",""],["featureStageContainer",""],["class","feature-stage-container",4,"ngIf"],[1,"feature-stage-container"],[1,"feature-stage-title"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"feature-empty-state-message"],[1,"feature-container"],[1,"feature-container-row"],[1,"feature-toggle-col"],[3,"checked","matTooltip","disabled"],[1,"feature-desc-col"],
[1,"feature-title"],[1,"feature-desc"],["mat-button","","color","primary","class","small no-visited-no-active","target","_blank",4,"ngIf"],[1,"feature-action-bar"],["mat-button","","color","primary","target","_blank",1,"small","no-visited-no-active",3,"click"],["svgIcon","pop-out",1,"icon-s"],["messageType","info",4,"ngIf"],[1,"feature-badge-col"],[3,"experimentId"],["mat-button","","color","primary","target","_blank",1,"small","no-visited-no-active"],["messageType","info"]],template:function(a,b){a&
1&&(C(0,BJb,5,6,"ng-container",0),T(1,"async"),C(2,CJb,2,0,"ng-template",null,1,jg)(4,FJb,20,16,"ng-template",null,2,jg));if(a&2){var c=Q(3);D("ngIf",V(1,2,b.hasFeatures$))("ngIfElse",c)}},dependencies:function(){return[d3,JP,KP,hw,dw,lw,hB,oA,jU,kU,PC,mw,E9]},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 E9=function(){};E9.prototype.transform=function(a){return"STATE_ENABLED"===a?!0:!1};E9.\u0275fac=function(a){return new (a||E9)};E9.\u0275pipe=Rc({name:"featureState",type:E9,pure:!0});var F9=function(a,b){this.name=a;this.resourceType=b;this.options=[]};F9.prototype.shouldDisplay=function(){return!0};F9.prototype.hasOptions=function(){return!1};F9.prototype.getDefaultOptionId=function(){return null};var G9=function(a,b){this.name=a;this.resourceType=b;this.options=[]};G9.prototype.shouldDisplay=function(){return 0<this.options.length};G9.prototype.hasOptions=function(){return 0<this.options.length};
G9.prototype.getDefaultOptionId=function(){return this.hasOptions()?this.options[0].id:null};
var oSc=function(a,b){this.id=a;this.name=b},rSc=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 W.Subscription;this.missionControlMainOption=new F9("Home","MISSION_CONTROL");this.needsAttentionMainOption=new F9("Needs attention","NEEDS_ATTENTION");this.assignedToMeMainOption=new F9("Assigned to me","ASSIGNED_TO_ME");this.hotlistMainOption=new G9("Hotlist",
"HOTLIST");this.savedSearchMainOption=new G9("Saved search","SAVED_SEARCH");this.bookmarkGroupMainOption=new G9("Bookmark group","BOOKMARK_GROUP");this.mainOptions=[this.assignedToMeMainOption,this.hotlistMainOption,this.savedSearchMainOption,this.bookmarkGroupMainOption];pSc(this)&&this.mainOptions.unshift(this.missionControlMainOption);a={};this.resourceMainOptions=(a.MISSION_CONTROL=this.missionControlMainOption,a.NEEDS_ATTENTION=this.needsAttentionMainOption,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];qSc(this);this.subscriptions.add(this.appEvents.sidebarUpdated.subscribe(function(){qSc(h);h.cdr.detectChanges()}));this.subscriptions.add(this.userPreferencesManager.preferences$.subscribe(function(k){k.homepagePreferences&&(k=k.homepagePreferences,k.resourceType&&"NEEDS_ATTENTION"!==k.resourceType?h.selectedMainOption=h.resourceMainOptions[k.resourceType]||
h.mainOptions[0]:pSc(h)?h.selectedMainOption=h.missionControlMainOption:h.selectedMainOption=h.assignedToMeMainOption,h.selectedOptionId=k.resourceId||null,qSc(h))}))};rSc.prototype.destroy=function(){this.subscriptions.unsubscribe()};
var JJb=function(a){Ks(a.butterBar,"Saving preferences...",0);var b={resourceType:a.selectedMainOption.resourceType};a.selectedMainOption.hasOptions()&&a.selectedOptionId&&(b.resourceId=a.selectedOptionId);R1b(a.userPreferencesManager,b).subscribe(function(){Ks(a.butterBar,"Preferences saved.",4E3)})},qSc=function(a){function b(c){return new oSc(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 oSc(String(a.selectedOptionId),a.selectedMainOption.name+" "+a.selectedOptionId)))},pSc=function(a){return a.activeSession.isInternalSession()&&tE(a.activeSession,"enableHomepageVariantA")};var sSc=Usa[3],H9=function(a,b,c,d,e,f,h,k,q){Y.call(this);this.cdr=a;this.userPreferencesManager=b;this.butterBar=c;this.activeSession=d;this.documentationLinks=e;this.analytics=f;this.sidebar=k;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,r(h.supportedTimeZones.map(function(t){return{value:t.id,label:t.name}})));this.sloEnabled=d.isInternalSession();this.showBugScreensaverSetting=d.isInternalSession();this.showShowInlineImagesSetting=d.isInternalSession()&&tE(this.activeSession,
"enableImageSummary")};X(H9,Y);H9.\u0275dir=Y.\u0275dir;H9.prototype.ngOnInit=function(){var a=this;this.destroyed$.subscribe(function(){var b;null==(b=a.preferredHomepage)||b.destroy()});this.preferredHomepage=new rSc(this.butterBar,this.sidebar,this.userPreferencesManager,this.cdr,this.appEvents,this.activeSession);this.userPreferencesManager.preferences$.pipe(ef(this.destroyed$)).subscribe(function(b){a.userPreferences=b;a.cdr.detectChanges()})};
H9.prototype.save=function(a,b,c){var d=this;Ks(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){Ks(d.butterBar,"Preferences saved.",4E3)});kp(this.analytics,"preferences",a,b,c)};var tSc=function(a){var b;return(null==(b=a.userPreferences.textDisplayPreferences)?void 0:b.commentDisplayOverride)===sSc};H9.prototype.getShowInlineImages=function(){var a;return null!=(a=this.userPreferences.showInlineImages)?a:!1};
Vg.Object.defineProperties(H9.prototype,{hideBadgeInNav:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this.userPreferences)?0:null==(b=a.missionControlPreferences)?0:b.hideBadgeInNav)}}});H9.\u0275fac=function(a){return new (a||H9)(A(EF,2),A(BE),A(hG),A(nt),A(jG),A(MI),A(DG),A(pQ),A(RH))};
H9.\u0275cmp=Lc({type:H9,selectors:[["b-general-settings"]],features:[bg([EF]),nf],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,"ngModel","ngModelChange","selectionChange"],[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,"ngModel","ngModelChange","selectionChange"],[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,"checked","change"],[1,"margin-bottom"],["id","bv2-force-plain-text",3,"checked","change"],["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,"ngModel","ngModelChange","selectionChange"],["class","bv2-settings-preferred-homepage-option-select-item",
3,"value",4,"ngFor","ngForOf"],[1,"bv2-settings-preferred-homepage-option-select-item",3,"value"],["id","hide-nav-badge",3,"checked","change"],[3,"value"],["id","bv2-show-inline-images",3,"checked","change"],["id","bv2-bug-screensaver",3,"checked","change"]],template:function(a,b){a&1&&(E(0,"div")(1,"div",0)(2,"div",1)(3,"p",2),R(4,"Preferred homepage"),G(),E(5,"p",3),R(6," Select your preferred homepage when first opening the app. "),E(7,"a",4),R(8," Learn more "),G()()(),E(9,"div")(10,"div")(11,
"mat-form-field",5)(12,"mat-label",6),R(13," Current selection "),G(),E(14,"mat-select",7),M("ngModelChange",function(c){return b.preferredHomepage.selectedMainOption=c})("selectionChange",function(){var c=b.preferredHomepage;c.selectedOptionId=c.selectedMainOption.getDefaultOptionId();JJb(c);c.cdr.detectChanges()}),C(15,HJb,2,1,"ng-container",8),G()(),C(16,KJb,3,2,"mat-form-field",9),G(),C(17,LJb,3,1,"div",10),G()(),I(18,"hr",11),E(19,"div",0)(20,"div",1)(21,"p",2),R(22,"Date/time formatting settings"),
G(),E(23,"p",3),R(24," Select how you want dates and times to be formatted. "),E(25,"a",4),R(26," Learn more "),G()()(),E(27,"div")(28,"div")(29,"mat-form-field",12)(30,"mat-label",13),R(31," Dates "),G(),E(32,"mat-select",14),M("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.calendarFormat=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),C(33,MJb,2,2,"mat-option",15),G()()(),E(34,"div")(35,"mat-form-field",16)(36,"mat-label",17),R(37," Times "),
G(),E(38,"mat-select",14),M("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeFormat=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),C(39,NJb,2,2,"mat-option",15),G()()(),E(40,"div")(41,"mat-form-field",18)(42,"mat-label",19),R(43," Time Zones "),G(),E(44,"mat-select",14),M("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeZone=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),C(45,OJb,2,2,
"mat-option",15),G()()()()(),I(46,"hr",11),E(47,"div",0)(48,"div",1)(49,"p",2),R(50,"Keyboard settings"),G()(),E(51,"div")(52,"div")(53,"mat-slide-toggle",20),M("change",function(c){b.userPreferences.keyboardPreferences.enableAllHotkeys=c.checked;return b.save("saveKeyboardPreferences")}),R(54," Enable all hotkeys "),G()()()(),I(55,"hr",11),E(56,"div",0)(57,"div",1)(58,"p",2),R(59,"Display settings"),G()(),E(60,"div")(61,"div",21)(62,"mat-slide-toggle",22),M("change",function(c){b.userPreferences.textDisplayPreferences&&
(b.userPreferences.textDisplayPreferences.commentDisplayOverride=c.checked?sSc:void 0,b.save("saveTextDisplayPreferences.commentDisplayOverride"))}),R(63," Force comments to display as plain text "),G()(),E(64,"div",21)(65,"b-toggle-code-font",23),R(66," Force comments to display with code font "),G()(),C(67,PJb,3,1,"div",24),G()(),I(68,"hr",11),C(69,QJb,9,1,"ng-container",10),G());a&2&&(y(7),D("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-a-homepage",Pd),y(7),D("ngModel",b.preferredHomepage.selectedMainOption),
y(),D("ngForOf",b.preferredHomepage.mainOptions),y(),D("ngIf",b.preferredHomepage.selectedMainOption.hasOptions()),y(),D("ngIf",b.IS_INTERNAL_USER),y(8),D("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-date-time-formatting",Pd),y(7),D("ngModel",b.userPreferences.dateTimePreferences.calendarFormat),y(),D("ngForOf",b.dateFormats),y(5),D("ngModel",b.userPreferences.dateTimePreferences.timeFormat),y(),D("ngForOf",b.timeFormats),y(5),D("ngModel",b.userPreferences.dateTimePreferences.timeZone),
y(),D("ngForOf",b.timeZones),y(8),D("checked",b.userPreferences.keyboardPreferences.enableAllHotkeys),y(9),D("checked",tSc(b)),y(5),D("ngIf",b.showShowInlineImagesSetting),y(2),D("ngIf",b.showBugScreensaverSetting))},dependencies:[hw,dw,Hw,Ow,dB,bB,pN,qA,jU,kU,PC,n8],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}[_nghost-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}  .cdk-overlay-container .slo-report-subscription-dialog .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}[_nghost-%COMP%]     .gmat-tabs .mat-tab-list .mat-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-tab-list .mat-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}/*# sourceMappingURL=settings.css.map */"]});var I9=function(a,b,c,d){Y.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(ef(this.destroyed$)).subscribe(function(f){e.userPreferences=f})};X(I9,Y);I9.\u0275dir=Y.\u0275dir;
I9.prototype.save=function(a,b,c){var d=this;Ks(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){Ks(d.butterBar,"Preferences saved.",4E3)});kp(this.analytics,"preferences",a,b,c)};I9.\u0275fac=function(a){return new (a||I9)(A(BE),A(hG),A(jG),A(MI))};
I9.\u0275cmp=Lc({type:I9,selectors:[["b-notification-settings"]],features:[nf],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,"ngModel","ngModelChange","selectionChange"],[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,"checked","change"],[3,"value"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1)(2,"p",2),R(3,"Notification settings"),G(),E(4,"p",3),R(5," Select the level of email you want to receive for each issue role. "),E(6,"a",4),R(7," Learn more "),G()()(),E(8,"div")(9,"div")(10,"mat-form-field",5)(11,"mat-label",6),R(12," Assignee "),G(),E(13,"mat-select",
7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.assignedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(14,RJb,3,4,"mat-option",8),G()()(),E(15,"div")(16,"mat-form-field",9)(17,"mat-label",10),R(18," Reporter "),G(),E(19,"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.reportedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(20,SJb,3,
4,"mat-option",8),G()()(),E(21,"div")(22,"mat-form-field",11)(23,"mat-label",12),R(24," Verifier "),G(),E(25,"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.verifiedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(26,TJb,3,4,"mat-option",8),G()()(),E(27,"div")(28,"mat-form-field",13)(29,"mat-label",14),R(30," Collaborator "),G(),E(31,"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.collaboratorPriority=
c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(32,UJb,3,4,"mat-option",8),G()()(),E(33,"div")(34,"mat-form-field",15)(35,"mat-label",16),R(36," CC'd "),G(),E(37,"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.ccdPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(38,VJb,3,4,"mat-option",8),G()()(),E(39,"div")(40,"mat-form-field",17)(41,"mat-label",18),R(42," Starred "),G(),E(43,
"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.starredPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(44,WJb,3,4,"mat-option",8),G()()(),E(45,"div")(46,"mat-slide-toggle",19),M("change",function(c){b.userPreferences.notificationPreferences.excludeChangesByMe=c.checked;return b.save("saveNotificationPreferences")}),R(47," Exclude edits made by you "),G()()()());a&2&&(y(6),D("href",b.documentationLinks.baseDocumentationUrl+
"/concepts/settings#email",Pd),y(7),D("ngModel",b.userPreferences.notificationPreferences.assignedPriority),y(),D("ngForOf",b.priorities),y(5),D("ngModel",b.userPreferences.notificationPreferences.reportedPriority),y(),D("ngForOf",b.priorities),y(5),D("ngModel",b.userPreferences.notificationPreferences.verifiedPriority),y(),D("ngForOf",b.priorities),y(5),D("ngModel",b.userPreferences.notificationPreferences.collaboratorPriority),y(),D("ngForOf",b.priorities),y(5),D("ngModel",b.userPreferences.notificationPreferences.ccdPriority),
y(),D("ngForOf",b.priorities),y(5),D("ngModel",b.userPreferences.notificationPreferences.starredPriority),y(),D("ngForOf",b.priorities),y(2),D("checked",b.userPreferences.notificationPreferences.excludeChangesByMe))},dependencies:[hw,Hw,Ow,dB,bB,pN,qA,jU,kU,PC,KK],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}[_nghost-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}  .cdk-overlay-container .slo-report-subscription-dialog .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}[_nghost-%COMP%]     .gmat-tabs .mat-tab-list .mat-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-tab-list .mat-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}/*# sourceMappingURL=settings.css.map */"]});var uSc=function(a){this.internalArray_=m(a,0,uSc.messageId)};X(uSc,n);uSc.messageId="f.mt";var vSc=function(a){this.internalArray_=m(a,0,vSc.messageId)};X(vSc,n);vSc.repeatedFields_=[1];vSc.messageId="b.ListSloReportSubscriptionsResponse";var J9=function(a){this.internalArray_=m(a,0,J9.messageId)};X(J9,n);J9.prototype.getSubscription=function(){return $i(this,Hl,1)};J9.prototype.setSubscription=function(a){return li(this,Hl,1,a)};J9.messageId="b.SloReportSubscriptionRequest";var K9=function(a){this.internalArray_=m(a,0,K9.messageId)};X(K9,n);K9.prototype.getSubscription=function(){return $i(this,Hl,1)};K9.prototype.setSubscription=function(a){return li(this,Hl,1,a)};K9.messageId="b.SloReportSubscriptionResponse";var L9=function(a){this.executor=a};g=L9.prototype;g.get=function(a){return this.executor.get({url:"action/slo_report_subscriptions/"+a,responseConstructor:K9}).pipe(B(function(b){if(b=b.getSubscription())return Vwa(b);throw Error("pf");}))};g.list=function(){return this.executor.get({url:"action/slo_report_subscriptions",responseConstructor:vSc}).pipe(B(function(a){return gi(a,Hl,1,hi()).map(Vwa)}))};
g.create=function(a){if(0!==a.id)throw Error("qf");return this.executor.post({url:"action/slo_report_subscriptions",body:(new J9).setSubscription(Xwa(a)),responseConstructor:K9}).pipe(B(function(b){if(b=b.getSubscription())return Vwa(b);throw Error("rf");}))};
g.update=function(a){if(0===a.id)throw Error("sf");return this.executor.post({url:"action/slo_report_subscriptions/"+a.id,body:(new J9).setSubscription(Xwa(a)),responseConstructor:K9}).pipe(B(function(b){if(b=b.getSubscription())return Vwa(b);throw Error("rf");}))};g.delete=function(a){return this.executor.delete({url:"action/slo_report_subscriptions/"+a,responseConstructor:uSc}).pipe(B(function(){}))};L9.\u0275fac=function(a){return new (a||L9)(p(QD))};
L9.\u0275prov=vc({token:L9,factory:L9.\u0275fac,providedIn:"root"});var wSc=function(a){this.timeZones=a;this.label="Time zone";this.timezoneId="";this.fullWidth=this.disabled=!1;this.timezoneIdChange=new zv;this.timeZoneOptions$=l5b(this.timeZones).pipe(B(function(b){return b.sort(YJb)}))};wSc.\u0275fac=function(a){return new (a||wSc)(A(xG))};
wSc.\u0275cmp=Lc({type:wSc,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,"disabled","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){a&1&&(E(0,"mat-form-field",0)(1,"mat-label"),R(2),G(),E(3,"mat-select",1),M("ngModelChange",function(c){b.timezoneId!==c&&
(b.timezoneId=c,b.timezoneIdChange.emit(b.timezoneId))}),C(4,XJb,2,2,"mat-option",2),T(5,"async"),G()());a&2&&(yf("full-width",b.fullWidth),y(2),S(" ",b.label," "),y(),D("disabled",b.disabled)("ngModel",b.timezoneId),y(),D("ngForOf",V(5,6,b.timeZoneOptions$)))},dependencies:[dB,bB,pN,qA,hw,Hw,Ow,mw],styles:["[_nghost-%COMP%]     .mat-form-field-infix { width: fit-content; }","mat-form-field[_ngcontent-%COMP%] { font-size: 16px; }"]});var xSc=["sloSubscriptionDialog"],M9=function(a,b,c,d,e,f,h,k){Y.call(this);var q=this;this.dateFormatter=a;this.api=b;this.currentUser=c;this.dialog=d;this.timeZones=e;this.confirmationDialogService=f;this.principalTypes=h;this.analytics=k;this.subscriptions$=new W.BehaviorSubject([]);this.isBasicMode$=this.subscriptions$.pipe(B(function(t){return 0===t.length||1===t.length&&t[0].lead.emailAddress===q.currentUser.email}));this.userSubscription$=this.subscriptions$.pipe(B(function(t){t=l(t);for(var w=
t.next();!w.done;w=t.next())if(w=w.value,w.lead.emailAddress===q.currentUser.email)return w;return{id:0,lead:q.currentUser.user,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:ySc[9].timeOfDay}}));this.isThinking$=new W.BehaviorSubject(!1);this.inputHasFocus=!1;this.frequencyOptions=zSc;this.repeatOnOptions=new Map([["daily",[]],["weekly",oKb],["monthly",ASc]]);this.DAILY="daily";this.repeatAtOptions$=(0,W.combineLatest)(ySc.map(function(t){return(0,W.of)(q.dateFormatter.format("HH:mma",
void 0,t.date)).pipe(B(function(w){return{timeOfDay:t.timeOfDay,display:w}}))}));this.ceoSelected=this.dialogInvalidEmailFormat=!1;this.emailToUser=Oi;this.columns=["scope","frequency","actions"];this.frequencyDisplayMap=new Map(zSc.map(function(t){return[t.frequency,t.display]}));this.timeZoneDisplayMap$=l5b(this.timeZones).pipe(Ue(),B(function(t){return new Map(t.map(function(w){return[w.id,w.displayName]}))}),af({bufferSize:1,refCount:!0}));this.hourOfDayDisplayMap$=this.repeatAtOptions$.pipe(Ue(),
B(function(t){return new Map(t.map(function(w){return[w.timeOfDay.hours,w.display]}))}),af({bufferSize:1,refCount:!0}));this.compareTimeOfDay=function(t,w){return t.hours===w.hours&&t.minutes===w.minutes&&t.seconds===w.seconds&&t.nanos===w.nanos}};X(M9,Y);M9.\u0275dir=Y.\u0275dir;M9.prototype.ngOnInit=function(){BSc(this)};
var hKb=function(a){a.userSubscription$.pipe(Ue(),df(function(b){if(0===b.id)return kp(a.analytics,Sp.SLO_REPORTS,"enableOwnSubscription"),a.api.create(b);kp(a.analytics,Sp.SLO_REPORTS,"disableOwnSubscription");return a.api.delete(b.id)})).subscribe(function(){BSc(a)})},BSc=function(a){a.isThinking$.next(!0);a.api.list().pipe(Ue()).subscribe(function(b){a.isThinking$.next(!1);a.subscriptions$.next(b)})},mt=function(a,b){a.isThinking$.next(!0);a.api.update(b).subscribe(function(){kp(a.analytics,Sp.SLO_REPORTS,
"editSubscription");BSc(a)})},CSc=function(a,b){a.isThinking$.next(!0);a.api.delete(b.id).subscribe(function(){kp(a.analytics,Sp.SLO_REPORTS,"deleteSubscription");BSc(a)})},sKb=function(a,b){a.confirmationDialogService.open({title:"Delete a subscription",content:gh("You will no longer receive reports from '"+b.lead.emailAddress+"'."),confirmButtonText:"Delete",isDestructive:!0,onConfirm:function(){CSc(a,b)}})};M9.prototype.setFrequency=function(a,b){b.frequency=a;FKb(a,b);mt(this,b)};
var FKb=function(a,b){"daily"!==a?b.ordinal="weekly"===a?oKb[0].ordinal:ASc[0].ordinal:delete b.ordinal};M9.prototype.setTimeZone=function(a,b){mt(this,Object.assign({},b,{timeZone:Object.assign({},b.timeZone,{id:a})}))};
M9.prototype.openDialog=function(a){this.sloSubscriptionDialog&&(a||(a={id:0,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:ySc[9].timeOfDay}),this.ceoSelected=this.dialogInvalidEmailFormat=!1,this.dialogRef=this.dialog.open(this.sloSubscriptionDialog,{data:Uh(a),panelClass:"slo-report-subscription-dialog",width:"500px"}))};
var GKb=function(a,b){return ke(function(c){if(1==c.nextAddress)return a.dialogRef&&void 0!==b.lead?me(c,DSc(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(){kp(a.analytics,Sp.SLO_REPORTS,"createSubscription");BSc(a)}):mt(a,b);a.dialogRef.close();qe(c)})},DSc=function(a,b){var c;
return ke(function(d){if(1==d.nextAddress)return Bn(b)?me(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))})};M9.\u0275fac=function(a){return new (a||M9)(A(yS),A(L9),A(bS),A(EA),A(xG),A(lG),A(oK),A(MI))};
M9.\u0275cmp=Lc({type:M9,selectors:[["b-slo-reports-settings"]],viewQuery:function(a,b){a&1&&Uf(xSc,7);if(a&2){var c;Yf(c=Zf())&&(b.sloSubscriptionDialog=c.first)}},features:[nf],decls:22,vars:14,consts:[[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,"disabled","click"],["sloSubscriptionDialog",""],["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,"disabled","checked","change"],["appearance","outline",1,"full-width"],["matInput","","readonly","",3,"ngModel","focus","blur"],[3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"timezoneId","fullWidth",
"timezoneIdChange"],["class","muted type-s",4,"ngIf"],[3,"value"],[3,"ngModel","compareWith","ngModelChange"],[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"],["subscriptionMenu","matMenu"],["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,"ngModel","bContactAutocomplete","ngModelChange"],["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(" ")],template:function(a,b){a&1&&(C(0,jKb,12,3,"ng-container",0),T(1,"async"),E(2,"div",1)(3,"div",2)(4,"p",3),R(5,"Advanced settings"),G(),E(6,"p",4),R(7," Add subscriptions to receive other user's reports. "),E(8,"a",5),
R(9,"Learn more"),G()()(),E(10,"div",6)(11,"div",7)(12,"button",8),M("click",function(){return b.openDialog()}),T(13,"async"),R(14," Create subscription "),G()(),C(15,kKb,2,0,"ng-container",0),T(16,"async"),C(17,wKb,13,3,"ng-container",0),T(18,"async"),T(19,"async"),G()(),C(20,HKb,33,15,"ng-template",null,9,jg));a&2&&(D("ngIf",V(1,4,b.isBasicMode$)),y(12),D("disabled",V(13,6,b.isThinking$)),y(3),D("ngIf",V(16,8,b.isThinking$)),y(2),D("ngIf",!V(18,10,b.isBasicMode$)&&!V(19,12,b.isThinking$)))},dependencies:[hw,
dw,hB,Dg,Hw,$w,Ow,nA,FA,GA,HA,IA,UA,dB,aB,bB,pN,qA,fB,jU,kU,jW,$W,NW,TW,PW,MW,VW,QW,SW,WW,YW,HC,FC,GC,wSc,HQ,hP,mw],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}[_nghost-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}  .cdk-overlay-container .slo-report-subscription-dialog .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}[_nghost-%COMP%]     .gmat-tabs .mat-tab-list .mat-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-tab-list .mat-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}/*# sourceMappingURL=settings.css.map */",
".mat-form-field[_ngcontent-%COMP%]{min-width:300px}.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 zSc=[{frequency:"daily",display:"Daily"},{frequency:"weekly",display:"Weekly"},{frequency:"monthly",display:"Monthly"}],oKb=[{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"}],ASc=[].concat(r(Array.from({length:31}).fill(0).keys())).map(function(a){return{ordinal:a+1,display:pKb(a+1)}}),ySc=[].concat(r(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 N9=function(a,b,c,d){this.activeSession=a;this.location=b;this.routeParams=c;this.beapEnabled=tE(this.activeSession,"enableBeap");this.enableSloReportEmail=this.activeSession.isInternalSession()&&tE(this.activeSession,"enableSloReportEmail");this.selectedTabIndex=0;d.setTitle("Settings")};N9.prototype.ngAfterViewInit=function(){this.selectedTabIndex=ESc(this,this.routeParams.settingsTab)};
N9.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(HAa(d))};var ESc=function(a,b){a=a.tabs.toArray().findIndex(function(c){return c.nativeElement.id===b});return 0>a?0:a};N9.\u0275fac=function(a){return new (a||N9)(A(nt),A(hI),A(xK),A(YP))};
N9.\u0275cmp=Lc({type:N9,selectors:[["b-settings"]],viewQuery:function(a,b){a&1&&Uf(JN,5,Ad);if(a&2){var c;Yf(c=Zf())&&(b.tabs=c)}},decls:11,vars:3,consts:[[1,"margined","heading-m"],["gmat-tabs","",3,"selectedIndex","selectedIndexChange"],["label","General"],[1,"padded"],["label","Notifications","id","notifications"],["label","SLO Reports","id","slo-reports",4,"ngIf"],["label","Early Access","id","early-access",4,"ngIf"],["label","SLO Reports","id","slo-reports"],["label","Early Access","id","early-access"]],
template:function(a,b){a&1&&(E(0,"p",0),R(1,"Settings"),G(),E(2,"mat-tab-group",1),M("selectedIndexChange",function(c){return b.tabChange(c)}),E(3,"mat-tab",2)(4,"div",3),I(5,"b-general-settings"),G()(),E(6,"mat-tab",4)(7,"div",3),I(8,"b-notification-settings"),G()(),C(9,IKb,3,0,"mat-tab",5)(10,JKb,3,0,"mat-tab",6),G());a&2&&(y(2),D("selectedIndex",b.selectedTabIndex),y(7),D("ngIf",b.enableSloReportEmail),y(),D("ngIf",b.beapEnabled))},dependencies:[dw,oX,KN,JN,nSc,H9,I9,M9],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}[_nghost-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}  .cdk-overlay-container .slo-report-subscription-dialog .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}[_nghost-%COMP%]     .gmat-tabs .mat-tab-list .mat-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-tab-list .mat-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}/*# sourceMappingURL=settings.css.map */"],
changeDetection:0});var O9=function(a,b,c,d,e,f,h,k,q){Y.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=k.getUserEmail()};X(O9,Y);O9.\u0275dir=Y.\u0275dir;g=O9.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("tf`"+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("tf`"+a.resourceType);}};O9.\u0275fac=function(a){return new (a||O9)(A(EF,2),A(xK),A(hI),A(YP),A(BI),A(nQ),A(iI),A(nt),A(RH))};
O9.\u0275cmp=Lc({type:O9,selectors:[["view-bookmark-group-page"]],features:[bg([EF]),nf],decls:5,vars:3,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-view"],[4,"ngIf"],[1,"bv2-view-bookmark-group-title"],[1,"bv2-view-bookmark-group-header"],[3,"starMessage","unStarMessage","starred","starClicked",4,"ngIf"],[3,"starMessage","unStarMessage","starred","disabled",4,"ngIf"],[1,"bv2-view-bookmark-group-title-text"],["aria-label","Bookmark group settings","matTooltip","Bookmark group settings",
1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],[1,"bv2-view-bookmark-group-description"],[1,"bv2-view-bookmark-group-hotlists"],[4,"ngFor","ngForOf"],[3,"starMessage","unStarMessage","starred","starClicked"],[3,"starMessage","unStarMessage","starred","disabled"],[3,"href","title"]],template:function(a,b){a&1&&(E(0,"h2",0),R(1),G(),I(2,"div",1),E(3,"div",2),C(4,NKb,12,5,"div",3),G());a&2&&(y(),S("View Bookmark Group ",null==b.bookmarkGroup?null:b.bookmarkGroup.name,""),y(2),pf("aria-busy",
!b.bookmarkGroup),y(),D("ngIf",b.bookmarkGroup))},dependencies:[hw,dw,yQ,PC],encapsulation:2});var P9=function(){};P9.\u0275fac=function(a){return new (a||P9)};P9.\u0275mod=Nc({type:P9});P9.\u0275inj=wc({imports:[SH,iR,JD]});var Q9=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la,oa,Fa,Ta,Pa,Ya,sb,Na,ja,ya,Ga,gb,Wa,zc){S8.call(this,b,c,d,e,h,k,q,t,f,w,z,F,H,O,P,U,Z,la,Ya,oa,Fa,ja,ya,Ga,gb,Wa);this.ngZone=a;this.hotlists=J;this.hotkeys=Ta;this.pageTitle=Pa;this.userAccess=Na;this.mcPrefs=zc;this.ANALYTICS_CATEGORY="hotlistIssues";this.canAppend=this.isAdmin=this.isStarred=!1;this.hotlist=null;this.isLoading=!0;this.repositioning=this.showHotlists=!1;this.hotlistId=sb.hotlistId};X(Q9,S8);Q9.\u0275dir=S8.\u0275dir;
Q9.prototype.ngOnInit=function(){var a=this;S8.prototype.ngOnInit.call(this);this.subscriptions.add(WM(this.hotkeys,{title:"Hotlist",hotkeys:[].concat(r(this.BASE_HOTKEYS),[{keys:[wo("j")],displayAs:"Shift+j",description:"Move the current issue down (when sorting by POS)",onPress:function(){FSc(a,1)}},{keys:[wo("k")],displayAs:"Shift+k",description:"Move the current issue up (when sorting by POS)",onPress:function(){FSc(a,-1)}}])}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(b){b&&
Number(b.hotlistId)===Number(a.hotlistId)&&"view-hotlist"!==b.origin&&GSc(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)};
Q9.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)}};
Q9.prototype.loadUserAccess=function(a){var b=this;zH(this.userAccess,"admin","hotlists/"+a).then(function(c){b.isAdmin=c},function(c){b.errorHandler.errorHandler(null,c)});zH(this.userAccess,"appender","hotlists/"+a).then(function(c){b.canAppend=c},function(c){b.errorHandler.errorHandler(null,c)})};
Q9.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;LM(this.appSearchState,"hotlistid:"+this.hotlistId);var b=this.hotlist?Promise.resolve(this.hotlist):GSc(this);return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
var GSc=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};
Q9.prototype.doSearch=function(a){var b=this,c=Ssc.map(Si).filter(Bi),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=Uh(f);f.query=d;f.returnUrl=b.bLocation.getUrl();f.hotlistId=b.hotlistId;f.trackerIds=b.appSearchState.currentTrackerScope;return Lgc(b.issuePagination,f)});a.then(function(f){VQc(b,
f)}).catch(function(f){"number"===typeof f?A_(b.urlPreferences,{page:f}):b.errorHandler.errorHandler(null,f)});return lp({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,HSc(b)?ISc:JSc);b.loadHotlists();b.cdr.detectChanges()}).catch(function(){})};
var HSc=function(a){return 0===a.sortPreferences.length||1===a.sortPreferences.length&&"POSITION"===a.sortPreferences[0].fieldId.type};Q9.prototype.getCsvUrl=function(){return this.paths.hotlistIssuesCsvAction(this.hotlistId,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
Q9.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;kp(d.analytics,d.ANALYTICS_CATEGORY,c?"reorderByKeyboard":"issueDragDrop")}).finally(function(){d.repositioning=!1}))};
var FSc=function(a,b){if(a.searchResults&&!a.repositioning&&HSc(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)||g5a(f)}else if(-1===b){var h;null==(h=a.resultsGrid)||h5a(h)}a.repositionIssue(e,c,!0)}}};g=Q9.prototype;
g.save=function(){var a=this;if(this.hotlist){var b=this.hotlist,c=this.urlPreferences.getDisplayColumns();if(c){var d=iDa(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}});Ks(this.butterBar,"Saving changes to hotlist...");KSc(this,b).then(function(e){Ks(a.butterBar,'Saved changes to hotlist "'+
e.name+'".');A_(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});kp(a.analytics,a.ANALYTICS_CATEGORY,"savedParams",d)})}};g.discardChanges=function(){kp(this.analytics,this.ANALYTICS_CATEGORY,"discardChanges");A_(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?Hi(this.hotlist.adminUsers).includes(this.currentUserEmail):!1};g.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?S8.prototype.setSort.call(this,a,b,!1):S8.prototype.setSort.call(this,a,b)};
var KSc=function(a,b){return a.hotlistApi.updateMetadata(b.hotlistId,b).then(function(c){a.hotlist=c;LSc(a,c.hotlistId);return c},function(c){a.errorHandler.errorHandler(null,c);return Promise.reject(c)})},LSc=function(a,b){a.appEvents.hotlistChanged.next({hotlistId:b,origin:"view-hotlist"})};
Q9.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=Pk(this.hotlistId),c=function(){LSc(a,b)};this.isStarred?this.userApi.saveFavorite({resourceType:"HOTLIST",resourceId:b}).then(c):this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:b}).then(c)};Q9.prototype.openEditHotlist=function(){this.bLocation.setUrl(this.paths.editHotlist(this.hotlistId))};Q9.prototype.addToMissionControl=function(a){null!=a&&(this.mcPrefs.addHotlist(a),this.bLocation.setUrl("home"))};
Q9.prototype.showAddToMcButton=function(a){var b=this.activeSession.isInternalSession();a=500>=a;var c=!this.mcPrefs.hasHotlist(this.hotlistId);return b&&a&&c};var JSc=[i_,j_,k_,Yxc],ISc=[i_,Xxc,j_,k_,Yxc];Q9.\u0275fac=function(a){return new (a||Q9)(A(Ge),A(EF),A(LI),A(uE),A(hI),A(nt),A(DF),A(PH),A(BI),A(qI),A(hG),A(MI),A(KM),A(g0),A(WP),A(BE),A(z_),A(B_),A(iI),A(zG),A($J),A(IE),A(VM),A(YP),A(AG),A(xK),A(xH),A(RH),A(CI),A(UI),A(T0),A(oH),A(YQ))};
Q9.\u0275cmp=Lc({type:Q9,selectors:[["view-hotlist-page"]],features:[bg([EF]),nf],decls:11,vars:12,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"grid","hotlistChoices","showHotlistButtons","currentHotlistId","isHotlistAdmin","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[4,"ngIf"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[1,"bv2-view","bv2-view-hotlist-grid"],["class","bv2-view-hotlist-title",4,"ngIf"],["class",
"bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],["mat-flat-button","","type","button","class","medium gmat-button reverse-margin-left","matTooltip","Add a section on the home page to track and get insights for this hotlist like trending issues, collaborators, and recent activity.",3,"click",4,"ngIf"],["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"],["class","bv2-view-hotlist-save-form",4,"ngIf"],[3,"starMessage","unStarMessage","starred","starClicked","keydown.space","keydown.enter"],[3,"starMessage","unStarMessage","starred",
"disabled"],["tabindex","-1",3,"bFocus"],["role","heading","aria-level","3"],[3,"matTooltip"],["class","hotlist-archived",4,"ngIf"],[1,"button-container"],["aria-label","Hotlist settings","matTooltip","Hotlist settings",1,"bv2-edit-button","bv2-view-resource-edit-button",3,"click"],["matTooltip","Display preferences have changed",4,"ngIf"],[1,"hotlist-archived"],["matTooltip","Display preferences have changed"],[1,"bv2-view-hotlist-save-form"],["type","button","mat-flat-button","","matTooltip","Save changes to display preferences",
1,"gmat-button","medium",3,"click"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences",1,"gmat-button","medium",3,"click"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar","init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onRowDragDrop","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(E(0,
"div",0)(1,"b-grid-controls",1),M("init",function(c){return b.gridControls=c})("onRefresh",function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)})("onExportCsv",function(){return b.exportCsv()}),G(),C(2,PKb,2,1,"ng-container",2),E(3,"div",3)(4,"b-pagination",4),M("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",
function(c){return XQc(b,c.option)}),G()()(),E(5,"div",5),I(6,"ask-ai"),C(7,ZKb,9,7,"div",6)(8,$Kb,4,1,"div",7)(9,aLb,2,2,"div",8)(10,bLb,2,6,"div",9),G());a&2&&(y(),D("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices)("showHotlistButtons",b.canAppend)("currentHotlistId",b.hotlistId)("isHotlistAdmin",b.isAdmin),y(),D("ngIf",null==b.searchResults?null:b.searchResults.numResults),y(2),D("searchResults",b.searchResults),y(),pf("aria-busy",b.isLoading),y(2),D("ngIf",!b.isInitializing),y(),D("ngIf",
b.isLoading),y(),D("ngIf",!b.isLoading&&!b.hasResults()),y(),D("ngIf",!b.isLoading&&b.hasResults()))},dependencies:[n_,i0,yQ,g_,PC,dw,HQ,pY,nA,NM],encapsulation:2});var R9=function(){};R9.\u0275fac=function(a){return new (a||R9)};R9.\u0275mod=Nc({type:R9});R9.\u0275inj=wc({imports:[w_,k0,iR,f0,JD,SH,kR,qY,$C,wP]});var S9=function(a,b,c,d,e,f,h,k,q,t,w,z,F,J,H,O,P,U,Z,la,oa,Fa,Ta,Pa,Ya,sb,Na,ja,ya,Ga,gb,Wa){S8.call(this,a,b,c,d,f,h,k,t,e,w,z,F,J,H,O,P,U,Z,Pa,la,oa,Na,ja,ya,Ga,gb);this.savedSearchApi=q;this.hotkeys=Fa;this.pageTitle=Ta;this.userAccess=sb;this.mcPrefs=Wa;this.ANALYTICS_CATEGORY="savedSearchIssues";this.isAdmin=!1;this.savedSearch=null;this.isLoading=!0;this.showHotlists=!1;this.savedSearchId=Ya.savedSearchId};X(S9,S8);S9.\u0275dir=S8.\u0275dir;g=S9.prototype;
g.ngOnInit=function(){var a=this;S8.prototype.ngOnInit.call(this);this.subscriptions.add(WM(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(M$b(this.appSearchState,function(b){a.savedSearch?A_(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;zH(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;LM(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:QQc(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;LM(b.appSearchState,d.query);b.exitLink=b.paths.listIssues({q:d.query});b.cdr.detectChanges();d=Uh(d);d.returnUrl=b.bLocation.getUrl();d.trackerIds=
b.appSearchState.currentTrackerScope;return Lgc(b.issuePagination,d)});c.then(function(d){VQc(b,d)}).catch(function(d){"number"===typeof d?A_(b.urlPreferences,{page:d}):d&&b.errorHandler.errorHandler(null,d)});this.initColumns(a.displayColumns);return lp({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;Ks(this.butterBar,"Saving changes to search...");this.savedSearchApi.update(this.savedSearch.searchId,this.savedSearch).then(function(c){Ks(a.butterBar,'Saved changes to search "'+
c.name+'".');a.savedSearch=c;A_(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});kp(a.analytics,a.ANALYTICS_CATEGORY,"savedParams");a.cdr.detectChanges()}).catch(function(c){a.errorHandler.errorHandler(null,c)})};g.discardChanges=function(){kp(this.analytics,this.ANALYTICS_CATEGORY,"discardChanges");A_(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&&(ZQ(this.mcPrefs,hp(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};S9.\u0275fac=function(a){return new (a||S9)(A(EF),A(LI),A(uE),A(hI),A(nt),A(DF),A(PH),A(BI),A(CJ),A(qI),A(hG),A(MI),A(KM),A(WP),A(BE),A(z_),A(B_),A(iI),A(zG),A($J),A(IE),A(VM),A(YP),A(AG),A(xK),A(xH),A(RH),A(CI),A(UI),A(T0),A(oH),A(YQ))};
S9.\u0275cmp=Lc({type:S9,selectors:[["view-saved-search-page"]],features:[bg([EF]),nf],decls:11,vars:8,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"grid","hotlistChoices","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[4,"ngIf"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[1,"bv2-view","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],["class","bv2-view-savedsearch-title-text",4,"ngIf"],["class","bv2-view-savedsearch-save-form",
4,"ngIf"],["mat-flat-button","","type","button","class","medium gmat-button reverse-margin-left","matTooltip","Add a section on the home page to track and get insights for this Saved Search like trending issues, collaborators, and recent activity.",3,"click",4,"ngIf"],["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,"href","click"],["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"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar","init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"b-grid-controls",
1),M("init",function(c){return b.gridControls=c})("onRefresh",function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)})("onExportCsv",function(){return b.exportCsv()}),G(),C(2,dLb,2,1,"ng-container",2),E(3,"div",3)(4,"b-pagination",4),M("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return XQc(b,c.option)}),
G()()(),E(5,"div",5),I(6,"ask-ai"),E(7,"div",6),C(8,iLb,4,3,"div",7)(9,kLb,7,2,"div",8),G(),C(10,pLb,4,3,"div",2),G());a&2&&(y(),D("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),y(),D("ngIf",null==b.searchResults?null:b.searchResults.numResults),y(2),D("searchResults",b.searchResults),y(),pf("aria-busy",b.isLoading),y(3),D("ngIf",!b.isInitializing),y(),D("ngIf",b.hasParamChanges()),y(),D("ngIf",b.savedSearch))},dependencies:[n_,i0,g_,dw,PC,HQ,pY,nA,NM],encapsulation:2});var T9=function(){};
T9.\u0275fac=function(a){return new (a||T9)};T9.\u0275mod=Nc({type:T9});T9.\u0275inj=wc({imports:[w_,k0,f0,SH,JD,kR,qY,$C,wP]});var MSc={path:"issues/:issueId",component:e7,children:[{path:"",pathMatch:"full",component:h8},{path:"dependencies",component:l6},{path:"dupes",component:g7},{path:"blocking",component:M5},{path:"resources",component:NQc}].concat(r(rLb("enableCodeMentionsUi",{path:"todos",component:Q8})))},NSc=[{path:"",component:x4,canActivateGuards:[G4]},{path:"issues",component:T8},{path:"recent",component:V8,canActivateGuards:[D4]},{path:"issues/new",component:w5,canActivateGuards:[Y4]}].concat(r(qLb(function(){var a;
if(a=pi("enableChromeWizard")){var b;a="157"===(null==(b=Nj().tracker)?void 0:b.trackerId)}return a},{path:"issues/wizard",component:X4})),[MSc,{path:"components/all",component:W3},{path:"components",component:Z4},{path:"components/new",component:c5},{path:"components/:componentId/edit",component:m9},{path:"components/:componentId",component:m9},{path:"components/:componentId/manage",component:m9},{path:"teams/:teamId/edit",component:n9},{path:"teams/:teamId",component:n9},{path:"bookmark-groups/new",
component:b5},{path:"bookmark-groups/:groupId",component:O9},{path:"bookmark-groups/:groupId/edit",component:C5},{path:"hotlists/new",component:d5},{path:"hotlists/:hotlistId",component:Q9},{path:"hotlists/:hotlistId/edit",component:s_},{path:"slos/new",component:y5},{path:"slos/:sloId",component:H5},{path:"slos/:sloId/edit",component:H5},{path:"savedsearches/:savedSearchId/edit",component:D5},{path:"hotlists",component:R8},{path:"slos",component:W8},{path:"savedsearches/:savedSearchId",component:S9},
{path:"dashboard/:groupId",component:A5},{path:"settings/:settingsTab?",component:N9},{path:"settings",component:N9}],r(rLb("enableHomepageVariantA",{path:"home",component:D9,canActivateGuards:[D4,E4]})),[{path:"**",component:x4,canActivateGuards:[G4]}]);var U9=function(){};U9.\u0275fac=function(a){return new (a||U9)};U9.\u0275mod=Nc({type:U9});U9.\u0275inj=wc({imports:[SH,$C]});var V9=function(){};V9.\u0275fac=function(a){return new (a||V9)};V9.\u0275mod=Nc({type:V9});V9.\u0275inj=wc({imports:[SH,hX,BF,$C]});var W9=function(){};W9.\u0275fac=function(a){return new (a||W9)};W9.\u0275mod=Nc({type:W9});W9.\u0275inj=wc({imports:[SH,PN,aN,gX,V9]});var X9=function(){};X9.\u0275fac=function(a){return new (a||X9)};X9.\u0275mod=Nc({type:X9});X9.\u0275inj=wc({imports:[lX,SH,$C,$R,aN,JD,a5,BF,YT]});var Y9=function(){};Y9.\u0275fac=function(a){return new (a||Y9)};Y9.\u0275mod=Nc({type:Y9});Y9.\u0275inj=wc({imports:[SH,YM,$C,JA]});var Z9=function(){};Z9.\u0275fac=function(a){return new (a||Z9)};Z9.\u0275mod=Nc({type:Z9});Z9.\u0275inj=wc({imports:[fX,SH,R6,YM,L_,$C,EP,IC,JD,y0,e0,o8,Y9]});var $9=function(){};$9.\u0275fac=function(a){return new (a||$9)};$9.\u0275mod=Nc({type:$9});$9.\u0275inj=wc({imports:[SH,YM,$C,JD]});var a$=function(){};a$.\u0275fac=function(a){return new (a||a$)};a$.\u0275mod=Nc({type:a$});a$.\u0275inj=wc({imports:[y8,SH,JD,kN,mU,$C,kR,WR,e0,QV]});var b$=function(){};b$.\u0275fac=function(a){return new (a||b$)};b$.\u0275mod=Nc({type:b$});b$.\u0275inj=wc({imports:[SH,lX,aN,zU]});var c$=function(){};c$.\u0275fac=function(a){return new (a||c$)};c$.\u0275mod=Nc({type:c$});c$.\u0275inj=wc({imports:[W9,lX,SH,X9,NT,YM,aN,iX,m8,V9,$C,EP,JD,BF,iR,zU,b$,$9,Z9,a$]});var d$=function(){};d$.\u0275fac=function(a){return new (a||d$)};d$.\u0275mod=Nc({type:d$});d$.\u0275inj=wc({imports:[SH]});var e$=function(){};e$.\u0275fac=function(a){return new (a||e$)};e$.\u0275mod=Nc({type:e$});e$.\u0275inj=wc({imports:[SH,$C]});var f$=function(){};f$.\u0275fac=function(a){return new (a||f$)};f$.\u0275mod=Nc({type:f$});f$.\u0275inj=wc({imports:[SH,QS,$C,JD]});var g$=function(){};g$.\u0275fac=function(a){return new (a||g$)};g$.\u0275mod=Nc({type:g$});g$.\u0275inj=wc({imports:[E2,mA,Xz,SH,gQ,py,PN,WR,dx,pX,U9,c$,Z_,$C,JA,f_,ON,JD,d$,ex,d7,e0,BF,jN,e$,f$]});var h$=function(){};h$.\u0275fac=function(a){return new (a||h$)};h$.\u0275mod=Nc({type:h$});h$.\u0275inj=wc({imports:[SH,Y3]});var i$=function(){};i$.\u0275fac=function(a){return new (a||i$)};i$.\u0275mod=Nc({type:i$});i$.\u0275inj=wc({imports:[SH,Xz,mA,dx,ex,BF,$C,ON,pX,jN,fX,g$,O8,v6,P5,h7,h$,P8]});var OSc=NSc.map(function(a){return{path:a.path,component:a.component,canDeactivate:[vY],canActivate:[A4,C4].concat(r(a.canActivateGuards||[])),children:a.children,isRootRoute:!0}});OSc.push({path:"**",canActivate:["dontActivate"],component:x4,isRootRoute:!0});
var PSc=Nj().appBaseHref,QSc,j$={initialNavigation:"disabled"},RSc={provide:a4b,useFactory:function(){return"guarded"},deps:[[vF,new Nu,new Ou]]},SSc={provide:mF,useValue:j$?j$:{}},TSc=(null==j$?0:j$.useHash)?{provide:xw,useClass:zw}:{provide:xw,useClass:yw},USc={provide:U3b,useFactory:function(){var a=Gc(wRb),b=Gc(Ge),c=Gc(mF),d=Gc(qF),e=Gc(ZE);c.scrollOffset&&a.setOffset(c.scrollOffset);return new AF(e,d,a,b,c)}},VSc=(null==j$?0:j$.preloadingStrategy)?Wm(0,[{provide:$3b,useExisting:zF},{provide:Q3b,
useExisting:j$.preloadingStrategy}]).\u0275providers:[],WSc;
(null==j$?0:j$.initialNavigation)?WSc=["disabled"===j$.initialNavigation?Wm(3,[{provide:DQb,multi:!0,useFactory:function(){var a=Gc(vF);return function(){G3b(a)}}},{provide:Z3b,useValue:2}]).\u0275providers:[],"enabledBlocking"===j$.initialNavigation?Wm(2,[{provide:Z3b,useValue:0},{provide:DQb,multi:!0,deps:[He],useFactory:function(a){var b=a.get(sRb,Promise.resolve());return function(){return b.then(function(){return new Promise(function(c){var d=a.get(vF),e=a.get(Y3b);Wza(d,function(){c(!0)});a.get(qF).afterPreactivation=
function(){c(!0);return e.closed?(0,W.of)(void 0):e};d.initialNavigation()})})}}}]).\u0275providers:[]]:WSc=[];var XSc=WSc,YSc=(null==j$?0:j$.bindToComponentInputs)?Wm(8,[iF,{provide:Q2b,useExisting:iF}]).\u0275providers:[],ZSc;if(null==j$?0:j$.enableViewTransitions){var $Sc=[{provide:p3b,useValue:Vza},{provide:Tza,useValue:Object.assign({},{skipNextTransition:!1},void 0)}];ZSc=Wm(9,$Sc).\u0275providers}else ZSc=[];
QSc={ngModule:BF,providers:[b4b,[],{provide:Rza,multi:!0,useValue:[]},RSc,SSc,TSc,USc,VSc,XSc,YSc,ZSc,[{provide:c4b,useFactory:function(){var a=Gc(He);return function(b){var c=a.get(aw);if(b===c.components[0]){b=a.get(vF);var d=a.get(Y3b);1===a.get(Z3b)&&b.initialNavigation();var e;null==(e=a.get($3b,null,8))||R3b(e);var f;null==(f=a.get(U3b,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:RQb,multi:!0,useExisting:c4b}]]};var k$=function(a,b){a.config=OSc.map(dza);a.navigated=!1;a.initialNavigation();W7b(b)};k$.\u0275fac=function(a){return new (a||k$)(p(vF),p(wK))};k$.\u0275mod=Nc({type:k$});k$.\u0275inj=wc({providers:[{provide:"dontActivate",useValue:function(){return!1}},{provide:rF,useClass:z4},{provide:vRb,useValue:PSc},C4,A4],imports:[QSc,y4,i$,BF]});var aTc=new Xc("Environment");var bTc=new Xc("Worktracker API Key");var cTc=new Xc("G3C API Keys");var l$=function(){};l$.\u0275fac=function(a){return new (a||l$)};l$.\u0275mod=Nc({type:l$});l$.\u0275inj=wc({providers:[{provide:aTc,useFactory:sLb},{provide:cTc,useValue:{prodApiKey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",stagingApiKey:"AIzaSyCYqhU0fWA9T487wYfx1ogB9z2mNJ9AQco",autopushApiKey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM"}},{provide:bTc,useValue:"AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c"}]});var vLb={os:1223084,version:1223033},uLb={os:201569,version:201543};var BLb={unconfirmed:5437934},ALb={unconfirmed:void 0};var m$={},dTc=(m$.NETWORK_DOWNLOADING=[{type:"INPUT",question:"What specific URL can reproduce the problem?",answerPrefix:"Example URL: "}],m$.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"}],m$.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?"}}]}],m$.APPS=[{type:"INPUT",question:ih([gh("What is the link to that software in "),
tLb(),gh("?")]),answerPrefix:"Webstore page: "}],m$.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:ih([gh("What is the link to that software in "),tLb(),gh("?")]),answerPrefix:"WebStore page: "}],m$.WEBSTORE=[{type:"INPUT",question:"What is the URL of the Chrome WebStore page that had the problem?",
answerPrefix:"Webstore page: "}],m$.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"]}],
m$.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"]}],m$.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"}}]}],m$);var n$=function(){};n$.\u0275fac=function(a){return new (a||n$)};n$.\u0275mod=Nc({type:n$});n$.\u0275inj=wc({imports:[Gy,uw,Gy]});var o$=function(){};o$.\u0275fac=function(a){return new (a||o$)};o$.\u0275mod=Nc({type:o$});o$.\u0275inj=wc({imports:[n$]});var p$=function(){};p$.\u0275fac=function(a){return new (a||p$)};p$.\u0275mod=Nc({type:p$});p$.\u0275inj=wc({providers:[vLc,My],imports:[Gy,uw,Zx,O4,QC,Vy,W4,U4,Gy]});var q$=function(){};q$.\u0275fac=function(a){return new (a||q$)};q$.\u0275mod=Nc({type:q$});q$.\u0275inj=wc({providers:[{provide:fLc,useValue:dTc},{provide:hLc,useFactory:wLb},{provide:gLc,useFactory:zLb},{provide:iLc,useFactory:CLb}],imports:[IX,SH,M0,dx,$C,o$,kN,ID,sX,qN,p$,MX]});var r$=function(){};r$.\u0275fac=function(a){return new (a||r$)};r$.\u0275mod=Nc({type:r$});r$.\u0275inj=wc({imports:[SH,$C,JD,RE,dx,ex,u_]});var s$=function(){};s$.\u0275fac=function(a){return new (a||s$)};s$.\u0275mod=Nc({type:s$});s$.\u0275inj=wc({imports:[fQ,SH,u_,qY,dx,DP,JD,kN,C0,$R]});var t$=function(){};t$.\u0275fac=function(a){return new (a||t$)};t$.\u0275mod=Nc({type:t$});t$.\u0275inj=wc({imports:[SH,$C,JD,RE,dx,ex,u_]});var u$=function(){};u$.\u0275fac=function(a){return new (a||u$)};u$.\u0275mod=Nc({type:u$});u$.\u0275inj=wc({imports:[SH,$C,JD,mT]});var v$=function(){};v$.\u0275fac=function(a){return new (a||v$)};v$.\u0275mod=Nc({type:v$});v$.\u0275inj=wc({imports:[SH,$C,JD,kR,u$,IC]});var w$=function(){};w$.\u0275fac=function(a){return new (a||w$)};w$.\u0275mod=Nc({type:w$});w$.\u0275inj=wc({imports:[SH,kR,hX,gX,fX,JD,aN,$C]});var x$=function(){};x$.\u0275fac=function(a){return new (a||x$)};x$.\u0275mod=Nc({type:x$});x$.\u0275inj=wc({imports:[fQ,DP,kR,SH,gX,aN,$C]});var y$=function(){};y$.\u0275fac=function(a){return new (a||y$)};y$.\u0275mod=Nc({type:y$});y$.\u0275inj=wc({imports:[uw,dx,YA,P_,ex]});var z$=function(){};z$.\u0275fac=function(a){return new (a||z$)};z$.\u0275mod=Nc({type:z$});z$.\u0275inj=wc({imports:[fQ,KX,PN,iP,oT,Q_,eB,qY,dx,$X,LX,DP,YX,MU,x$,$C,kN,qN,JA,v5,IC,mU,JD,Q_,WK,ex,y$,$R,SH,qy,MX,aY,v$,w$]});var A$=function(){};A$.\u0275fac=function(a){return new (a||A$)};A$.\u0275mod=Nc({type:A$});A$.\u0275inj=wc({imports:[fQ,SH,u_,qY,dx,DP,JD,N0]});var B$=function(){};B$.\u0275fac=function(a){return new (a||B$)};B$.\u0275mod=Nc({type:B$});B$.\u0275inj=wc({imports:[SH,JD,$C,ON,u_,$X,LX,oR,RE,JA,dx,ex,IC,PV]});var C$=function(){};C$.\u0275fac=function(a){return new (a||C$)};C$.\u0275mod=Nc({type:C$});C$.\u0275inj=wc({imports:[JA,kN,SH,Fy,$C,PN,mP,MX]});var D$=function(){};D$.\u0275fac=function(a){return new (a||D$)};D$.\u0275mod=Nc({type:D$});D$.\u0275inj=wc({imports:[SH,JD,$C,ON,u_,RE,JA,dx,ex,IC,PV]});var E$=function(){};E$.\u0275fac=function(a){return new (a||E$)};E$.\u0275mod=Nc({type:E$});E$.\u0275inj=wc({imports:[fQ,SH,u_,dx,pX,DP,ON,JD,PV,kN,N0,kR]});var F$=function(){};F$.\u0275fac=function(a){return new (a||F$)};F$.\u0275mod=Nc({type:F$});F$.\u0275inj=wc({imports:[SH,y_,kR,$C]});var G$=function(){};G$.\u0275fac=function(a){return new (a||G$)};G$.\u0275mod=Nc({type:G$});G$.\u0275inj=wc({imports:[SH,$C,P0,kR]});var H$=function(){};H$.\u0275fac=function(a){return new (a||H$)};H$.\u0275mod=Nc({type:H$});H$.\u0275inj=wc({imports:[SH,$T,q0]});var I$=function(){};I$.\u0275fac=function(a){return new (a||I$)};I$.\u0275mod=Nc({type:I$});I$.\u0275inj=wc({imports:[SH,WR,dx,ON,DT,PV,DP,v5,$C,kN,JD,JA,YT,kR]});var J$=function(){};J$.\u0275fac=function(a){return new (a||J$)};J$.\u0275mod=Nc({type:J$});J$.\u0275inj=wc({});var K$=function(){};K$.\u0275fac=function(a){return new (a||K$)};K$.\u0275mod=Nc({type:K$});K$.\u0275inj=wc({imports:[fQ,SH,WR,$T,QT,F3,M3,O3,bY,u_,T3,dx,J$,pX,DP,$C,kN,JA,qN,mU,ON,JD,PV,C0,I$,YT,BF,qy,H$,A0,kR,$R,YR,f$]});var L$=function(){};L$.\u0275fac=function(a){return new (a||L$)};L$.\u0275mod=Nc({type:L$});L$.\u0275inj=wc({imports:[SH,u_,dx,J$,pX,$C,kN,ON,JD,mU,PV,BF,YT,qy,A0,q0]});var M$=function(){};M$.\u0275fac=function(a){return new (a||M$)};M$.\u0275mod=Nc({type:M$});M$.\u0275inj=wc({imports:[SH,DT,QS,PN,YT]});var N$=function(){};N$.\u0275fac=function(a){return new (a||N$)};N$.\u0275mod=Nc({type:N$});N$.\u0275inj=wc({imports:[SH,JD,aN,M$]});var O$=function(){};O$.\u0275fac=function(a){return new (a||O$)};O$.\u0275mod=Nc({type:O$});O$.\u0275inj=wc({imports:[SH,vP,JD]});var P$=function(){};P$.\u0275fac=function(a){return new (a||P$)};P$.\u0275mod=Nc({type:P$});P$.\u0275inj=wc({imports:[SH,vP,IC]});var Q$=function(){};Q$.\u0275fac=function(a){return new (a||Q$)};Q$.\u0275mod=Nc({type:Q$});Q$.\u0275inj=wc({imports:[uw,hL,JD]});var R$=function(){};R$.\u0275fac=function(a){return new (a||R$)};R$.\u0275mod=Nc({type:R$});R$.\u0275inj=wc({imports:[SH,QS,rX,kN,JD,$C,O$,P$,kR,hX,WR,Q$,QV,N$,aD]});var S$=function(){};S$.\u0275fac=function(a){return new (a||S$)};S$.\u0275mod=Nc({type:S$});S$.\u0275inj=wc({imports:[SH,$C,R$,JD]});var T$=function(){};T$.\u0275fac=function(a){return new (a||T$)};T$.\u0275mod=Nc({type:T$});T$.\u0275inj=wc({providers:[{provide:nX,useValue:{enabled:!0}}],imports:[SH,hX,kR,O$,P$,QS,WR,Q$,QV,$C,ON,pX,rX,JD]});var U$=function(){};U$.\u0275fac=function(a){return new (a||U$)};U$.\u0275mod=Nc({type:U$});U$.\u0275inj=wc({imports:[SH,DT,QS,PN,hX,xU]});var V$=function(){};V$.\u0275fac=function(a){return new (a||V$)};V$.\u0275mod=Nc({type:V$});V$.\u0275inj=wc({providers:[{provide:nX,useValue:{enabled:!0}}],imports:[SH,BF,ON,IC,QC,$C,EP,pX,JD,t6,O5,x9,v6,U$,gX,aN]});var W$=function(){};W$.\u0275fac=function(a){return new (a||W$)};W$.\u0275mod=Nc({type:W$});W$.\u0275inj=wc({imports:[SH,dx,$C,JD,ex,V$,S$,T$,YM]});var X$=function(){};X$.\u0275fac=function(a){return new (a||X$)};X$.\u0275mod=Nc({type:X$});X$.\u0275inj=wc({imports:[qN,SH,dx]});var Y$=function(){};Y$.\u0275fac=function(a){return new (a||Y$)};Y$.\u0275mod=Nc({type:Y$});Y$.\u0275inj=wc({providers:[{provide:nX,useValue:{enabled:!0}}],imports:[f3,gQ,SH,dx,pX,kN,$C,$C,JA,qN,ID,mU,rX,IC,ON,JD,JD,oU,WK,o8,X$,kR,iP]});var Z$=function(){};Z$.\u0275fac=function(a){return new (a||Z$)};Z$.\u0275mod=Nc({type:Z$});Z$.\u0275inj=wc({imports:[SH,RE,$C]});var eTc=function(){};eTc.prototype.send=function(a,b){DFa(a);return this.makeRequest(a).then(function(c){return b?NFa(b,c):c})};var ot=function(a,b,c,d,e){this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c||{};this.gapiAuthParams=d||{};this.defaultApiId=e};X(ot,eTc);ot.prototype.getGapi=function(){var a=this;return ZFa().then(function(b){b=b||window.gapi;a.setGapiConfig(b);return fGa(b,{apiKey:a.gapiKey,clientId:a.gapiAuthParams.clientId,scope:a.gapiAuthParams.scope,hostedDomain:a.gapiAuthParams.hostedDomain,fetchBasicProfile:a.gapiAuthParams.fetchBasicProfile}).then(function(){return b})})};
ot.prototype.makeRequest=function(a){var b=this;return this.getGapi().then(function(c){return ke(function(d){if(1==d.nextAddress)return void 0===b.gapiAuthParams.minAuthTokenTimeRemaining?d.jumpTo(2):me(d,eGa(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})))})})};
ot.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)})})};ot.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&cGa(a,b,this.gapiConfigUpdates[b])};ot.$inject=["gapiUrl","gapiKey","gapiConfigUpdates","gapiAuthParams","defaultApiId"];var fTc={disableCheatSheet:!0};fTc=void 0===fTc?{}:fTc;
var gTc=[SH,pS,AT,Xz,mA,YS,YX,XS,NP,DP,pR,oU,PP,C0,iR,rR,iX,fQ,F_,QU,FP,w3,j4,d4,sU,MU,OU,TT,fX,A$,E$,G$,F$,B5,U8,R9,T9,s$,K$,L$,P9,y_,P0,bY,V3,Y3,c0,qU,w_,PX,l4,x3,P3,y3,Z3,m0,o0,KY,k0,NX,wR,gQ,PN,mP,C$,AX,CP,v0,oR,DU,y0,R0,d0,e0,X3,a3,kR,wS,j0,zU,Y2,O3,Z$,T3,E2,DT,WR,QS,Y$,f3,xU,bN,G_,J_,N0,A0,H_,u_,A3,r$,t$,L3,F0,iU,$T,cU,QT,I_,f0,SU,NV,R_,LX,L0,V_,W_,M3,kT,pT,PV,v_,KX,F3,B$,hQ,D$,z$,ET,g$,c1,l$,W$,Sz,{ngModule:KD,providers:[{provide:I_b,useFactory:function(){var a=Nj().config.environmentType||
"QA";return"PROD"===a||"NIGHTLY"===a?{apikey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",environment:"prod"}:{apikey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM",environment:"nonprod"}},deps:[He]}]},{ngModule:$L,providers:[YL,{provide:n9b,useFactory:function(a){return new DLb(new A9b("https://appswaldo-pa.clients6.google.com",a.waldoApiKey,a.globalApiKey,Object.assign({},E9b,a.gapiConfig),{scope:"https://www.googleapis.com/auth/calendar.readonly"}))},deps:[D9b]},{provide:D9b,useFactory:function(){return{waldoApiKey:"AIzaSyDvxpDVHooCQawPUQkmQxwrtt-Xdp3Q3so",
globalApiKey:"AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc",gapiConfig:{withCredentials:!0}}}}]},{ngModule:S_,providers:[JZ,{provide:axc,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:SIc,autocompleteFactory:GEc}}}]},{ngModule:RM,providers:[QM,{provide:W$b,useValue:fTc}]}];pi("enableChromeWizard")&&gTc.push(q$);
var hTc=[OKc,r6b,lAc,mAc,nAc,wgc,f4b,{provide:Eac,useValue:{animationDuration:"0ms"}},{provide:a_b,useValue:{productName:"Buganizer",cooldownMilliseconds:864E5,enableUsageTracking:!0}},{provide:B_b,useValue:{disableTooltipInteractivity:!0}},{provide:Nrc,useValue:"AIzaSyCBj23e6C2MNif_tvceM-CPTXcVDK3sarY"},{provide:Qrc,useValue:"92912"},{provide:$8b,useFactory:ELb},PKc,YKc,ZKc,$Kc],cw=function(){};cw.prototype.ngDoBootstrap=function(){Vj("bootstrapping AppModule")};
cw.\u0275fac=function(a){return new (a||cw)};cw.\u0275mod=Nc({type:cw,bootstrap:[oS,h4]});cw.\u0275inj=wc({providers:[].concat(r(hTc)),imports:[gTc,k$]});CB(document,"DOMContentLoaded",function(){bRb()});
__._ModuleManager_initialize=function(){};
__._ModuleManager_initialize('c/dSirkf/n90YA/ZGAB2e/sLGWFe/M79aPc/nJ4XF',[]);
}catch(e){__._DumpException(e)}
}).call(this,this.default_b);
// Google Inc.
