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

 Copyright Google LLC All Rights Reserved.

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


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

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

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

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

 The MIT License

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

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

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

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

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

 Copyright Google LLC All Rights Reserved.

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

 SPDX-License-Identifier: Apache-2.0
*/
var f,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])},baa=function(a){ba.setTimeout(function(){throw a;},0)},ca=function(){var a=ba.navigator;return a&&(a=a.userAgent)?a:""},caa=function(a){return da?ea?ea.brands.some(function(b){return(b=
b.brand)&&fa(b,a)}):!1:!1},ha=function(a){return fa(ca(),a)},ka=function(){return da?!!ea&&0<ea.brands.length:!1},daa=function(){return ka()?!1:ha("Opera")},eaa=function(){return ka()?!1:ha("Trident")||ha("MSIE")},faa=function(){return ka()?!1:ha("Edge")},gaa=function(){return ka()?caa("Microsoft Edge"):ha("Edg/")},haa=function(){return ha("Firefox")||ha("FxiOS")},jaa=function(){return ha("Safari")&&!(iaa()||(ka()?0:ha("Coast"))||daa()||faa()||gaa()||(ka()?caa("Opera"):ha("OPR"))||haa()||ha("Silk")||
ha("Android"))},iaa=function(){return ka()?caa("Chromium"):(ha("Chrome")||ha("CriOS"))&&!faa()||ha("Silk")},kaa=function(){return ha("Android")&&!(iaa()||haa()||daa()||ha("Silk"))},laa=function(a){var b={};a.forEach(function(c){b[c[0]]=c[1]});return function(c){return b[c.find(function(d){return d in b})]||""}},maa=function(a){var b=ca();if("Internet Explorer"===a){if(eaa())if((a=/rv: *([\d\.]*)/.exec(b))&&a[1])b=a[1];else{a="";var c=/MSIE +([\d\.]+)/.exec(b);if(c&&c[1])if(b=/Trident\/(\d.\d)/.exec(b),
"7.0"==c[1])if(b&&b[1])switch(b[1]){case "4.0":a="8.0";break;case "5.0":a="9.0";break;case "6.0":a="10.0";break;case "7.0":a="11.0"}else a="7.0";else a=c[1];b=a}else b="";return b}var d=RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g");c=[];for(var e;e=d.exec(b);)c.push([e[1],e[2],e[3]||void 0]);b=laa(c);switch(a){case "Opera":if(daa())return b(["Version","Opera"]);if(ka()?caa("Opera"):ha("OPR"))return b(["OPR"]);break;case "Microsoft Edge":if(faa())return b(["Edge"]);if(gaa())return b(["Edg"]);
break;case "Chromium":if(iaa())return b(["Chrome","CriOS","HeadlessChrome"])}return"Firefox"===a&&haa()||"Safari"===a&&jaa()||"Android Browser"===a&&kaa()||"Silk"===a&&ha("Silk")?(b=c[2])&&b[1]||"":""},naa=function(a){if(ka()&&"Silk"!==a){var b=ea.brands.find(function(c){return c.brand===a});if(!b||!b.version)return NaN;b=b.version.split(".")}else{b=maa(a);if(""===b)return NaN;b=b.split(".")}return 0===b.length?NaN:Number(b[0])},la=function(){return da?!!ea&&!!ea.platform:!1},oaa=function(){return la()?
"Android"===ea.platform:ha("Android")},paa=function(){return ha("iPhone")&&!ha("iPod")&&!ha("iPad")},ma=function(){return paa()||ha("iPad")||ha("iPod")},qaa=function(){return la()?"macOS"===ea.platform:ha("Macintosh")},raa=function(){return la()?"Windows"===ea.platform:ha("Windows")},saa=function(){return la()?"Chrome OS"===ea.platform:ha("CrOS")},uaa=function(){var a=ca(),b="";raa()?(b=/Windows (?:NT|Phone) ([0-9.]+)/,b=(a=b.exec(a))?a[1]:"0.0"):ma()?(b=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,b=
(a=b.exec(a))&&a[1].replace(/_/g,".")):qaa()?(b=/Mac OS X ([0-9_.]+)/,b=(a=b.exec(a))?a[1].replace(/_/g,"."):"10"):na(ca(),"KaiOS")?(b=/(?:KaiOS)\/(\S+)/i,b=(a=b.exec(a))&&a[1]):oaa()?(b=/Android\s+([^\);]+)(\)|;)/,b=(a=b.exec(a))&&a[1]):saa()&&(b=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,b=(a=b.exec(a))&&a[1]);return 0<=taa(b||"",12)},oa=function(a){return a[a.length-1]},vaa=function(a,b){var c=0;pa(a,function(d,e,g){b.call(void 0,d,e,g)&&++c});return c},waa=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},qa=function(a,b){return 0<=xaa(a,b)},yaa=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},ra=function(a,b){b=xaa(a,b);var c;(c=0<=b)&&zaa(a,b);return c},zaa=function(a,b){Array.prototype.splice.call(a,b,1)},ta=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&&zaa(a,b)},ua=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[]},Aaa=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(va(d)){var e=a.length||0,g=d.length||0;a.length=e+g;for(var h=0;h<g;h++)a[e+h]=d[h]}else a.push(d)}},Caa=function(a,b,c,d){return Array.prototype.splice.apply(a,Baa(arguments,1))},Baa=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Daa=function(a,b,c){b=b||a;var d=function(q){return wa(q)?
"o"+xa(q):(typeof q).charAt(0)+q};c=c||d;for(var e=d=0,g={};e<a.length;){var h=a[e++],l=c(h);Object.prototype.hasOwnProperty.call(g,l)||(g[l]=!0,b[d++]=h)}b.length=d},Faa=function(a,b){a.sort(b||Eaa)},Gaa=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||Eaa;Faa(c,function(g,h){return e(g.value,h.value)||g.index-h.index});for(b=0;b<a.length;b++)a[b]=c[b].value},Eaa=function(a,b){return a>b?1:a<b?-1:0},Haa=function(){for(var a=[],b=0;5>b;b+=1)a.push(b);return a},
Iaa=function(a,b,c){b=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,c,0,b[0])},Laa=function(a){if(!Jaa)return Kaa(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)},Naa=function(a){return Maa[a]||""},Qaa=function(a){if(!Jaa)return Oaa(a);Paa.test(a)&&(a=a.replace(Paa,Naa));a=atob(a);for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b},
ya=function(a){return Raa&&null!=a&&a instanceof Uint8Array},Taa=function(){return Saa||(Saa=new Uint8Array(0))},Uaa=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},Vaa=function(a){return 0==a.length?za():new Ba(a,Ca)},Waa=function(a){if("string"===typeof a)return{buffer:Qaa(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===Ba)return{buffer:Ea(a)||Taa(),isImmutable:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),isImmutable:!1};throw Error("I");},Yaa=function(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&(c=k(Xaa(c,a)),b=c.next().value,a=c.next().value,c=b);Fa=c>>>0;Ga=a>>>0},Zaa=function(a,b){return 4294967296*b+(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=Zaa(a,b);return c?-a:a},cba=function(a,b){b>>>=0;a>>>=0;if(2097151>=b)var c=""+(4294967296*b+a);else aba?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+bba(c)+bba(a));return c},bba=function(a){a=String(a);return"0000000".slice(a.length)+a},dba=function(a){if(16>a.length)Yaa(Number(a));else if(aba)a=
BigInt(a),Fa=Number(a&BigInt(4294967295))>>>0,Ga=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+("-"===a[0]);Ga=Fa=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)),Ga*=1E6,Fa=1E6*Fa+d,4294967296<=Fa&&(Ga+=Fa/4294967296|0,Fa%=4294967296);b&&(b=k(Xaa(Fa,Ga)),a=b.next().value,b=b.next().value,Fa=a,Ga=b)}},Xaa=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]},Ha=function(a){return Array.prototype.slice.call(a)},eba=function(a){var b=Ia(a);1!==(b&1)&&(Object.isFrozen(a)&&(a=
Ha(a)),Ja(a,b|1));return a},fba=function(a,b){Object.isFrozen(a)&&(a=Ha(a));Ja(a,b);return a},Ma=function(a){La(a,1);return a},Na=function(a){La(a,18);return a},gba=function(a){La(a,16);return a},hba=function(a,b){Ja(b,(a|0)&-51)},iba=function(a,b){Ja(b,(a|18)&-41)},jba=function(a){a=a>>10&1023;return 0===a?536870912:a},Pa=function(a){return(a>>8&1)-1},Ra=function(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object},Sa=function(a,b,c){if(null!=a)if("string"===typeof a)a=
a?new Ba(a,Ca):za();else if(a.constructor!==Ba)if(ya(a))a=c?Vaa(a):a.length?new Ba(new Uint8Array(a),Ca):za();else{if(!b)throw Error();a=void 0}return a},kba=function(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=Ia(a);if(d&1)return!0;if(!b||!b.includes(c))return!1;Ja(a,d|1);return!0},Ua=function(a){if(a&2)throw Error();},Va=function(a,b){if("number"!==typeof b||0>b||b>=a.length)throw Error();},lba=function(a,b){if("number"!==typeof b||0>b||b>a.length)throw Error();},mba=function(a){return~~a},
oba=function(a){return nba(a)},nba=function(a){if("number"!==typeof a)throw Error("J`"+typeof a+"`"+a);return a},Xa=function(a){if(null!=a&&"number"!==typeof a)throw Error("K`"+typeof a+"`"+a);return a},pba=function(a){if(null==a)return a;if("number"===typeof a||"NaN"===a||"Infinity"===a||"-Infinity"===a)return Number(a)},Za=function(a){if(null!=a){if("boolean"!==typeof a)throw Error("L`"+Ya(a)+"`"+a);a=!!a}return a},qba=function(a){if(null==a)return a;switch(typeof a){case "string":return+a;case "number":return a}},
ab=function(a){if(null==a)return a;switch(typeof a){case "string":return+a;case "number":return a}},db=function(a){return a},rba=function(a){return null==a?a:a},eb=function(a){return a},gb=function(a){return a},sba=function(a){return a},tba=function(a){return a},jb=function(a){return a},kb=function(a){if("string"!==typeof a)throw Error();return a},uba=function(a){if(null!=a&&"string"!==typeof a)throw Error();return a},vba=function(a){return null==a||"string"===typeof a?a:void 0},xba=function(a,b,
c,d){var e=!1;if(null!=a&&"object"===typeof a&&!(e=Array.isArray(a))&&a.messagePrototypeMarker===lb)return a;if(!e)return c?d&2?wba(b):new b:void 0;e=c=Ia(a);0===e&&(e|=d&16);e|=d&2;e!==c&&Ja(a,e);return new b(a)},wba=function(a){var b=a[yba];if(b)return b;b=new a;Na(b.internalArray_);return a[yba]=b},zba=function(a){return a},mb=function(a,b,c){return"boolean"===typeof a||"number"===typeof a?!!a:c?!1:void 0},Aba=function(a,b,c){b=typeof a;return"number"===b||"string"===b?mba(a):c?0:void 0},nb=function(a,
b,c){b=typeof a;a="number"===b||"string"===b?a:c?0:void 0;return"string"===typeof a&&(c=+a,Number.isSafeInteger(c))?c:a},ob=function(a,b,c){return"string"===typeof a?a:c?"":void 0},Bba=function(a,b,c){a=a||{};b=b||{};var d={},e;for(e in a)d[e]=0;for(var g in b)d[g]=0;for(var h in d)if(!isNaN(h)&&!pb(a,h,a[h],b,h,b[h],c,0))return!1;return!0},Cba=function(a,b,c){null!=a&&(a instanceof Map?a.set(b,c):a[b]=c);return c},Dba=function(a,b){if("string"===typeof b)try{b=Qaa(b)}catch(c){return!1}return ya(b)&&
Uaa(a,b)},Eba=function(a,b){var c=void 0;if(a.messagePrototypeMarker===lb){var d=a.constructor.repeatedFields_;a=a.internalArray_;c=Pa(qb(a))}b.messagePrototypeMarker===lb&&(d=d||b.constructor.repeatedFields_,b=b.internalArray_,c=null==c?Pa(qb(b)):c);return pb(void 0,void 0,a,void 0,void 0,b,d,c)},pb=function(a,b,c,d,e,g,h,l){l=void 0===l?9999:l;if(c===g||null==c&&null==g)return!0;if(c instanceof rb)return Fba(c,g);if(g instanceof rb)return Fba(g,c);if(null==c)return kba(g,h,+b-l);if(null==g)return kba(c,
h,+e-l);if(c instanceof Ba)return Gba(c,g,d,e);if(g instanceof Ba)return Gba(g,c,a,b);if(ya(c))return Dba(c,g);if(ya(g))return Dba(g,c);a=typeof c;b=typeof g;if("object"!==a||"object"!==b)return Number.isNaN(c)||Number.isNaN(g)?String(c)===String(g):"string"===a&&"number"===b||"number"===a&&"string"===b?+c===+g:"boolean"===a&&"number"===b||"number"===a&&"boolean"===b?!c===!g:!1;if(c.messagePrototypeMarker===lb||g.messagePrototypeMarker===lb)return Eba(c,g);if(c.constructor!=g.constructor)return!1;
if(c.constructor===Array){b=a=void 0;d=c.length;e=g.length;for(var q=Math.max(d,e),v=0;v<q;v++){var x=v>=d?void 0:c[v],A=v>=e?void 0:g[v];x&&v==d-1&&Ra(x)&&(a=x,x=void 0);A&&v==e-1&&Ra(A)&&(b=A,A=void 0);null==A&&kba(x,h,v-l)&&(x=void 0);null==x&&kba(A,h,v-l)&&(A=void 0);if(!pb(c,v,x,g,v,A))return!1}return a||b?Bba(a,b,h):!0}if(c.constructor===Object)return Bba(c,g);throw Error();},Hba=function(a,b,c,d,e,g){a=xba(a,d,c,g);e&&(a=sb(a));return a},Iba=function(a){return a},Jba=function(a,b){if(a.size!=
b.size)return!1;var c=!0;a.forEach(function(d,e){pb(a,e,d,b,e,b.get(e))||(c=!1)});return c},Kba=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},Lba=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(Kba);for(var c=0,d=void 0,e=b.length-1;0<=e;e--){var g=b[e];if(!g||!Array.isArray(g)||2!==g.length)return!1;var h=g[0];if(h!==d){if(!pb(a,h,a.get(h),g,1,g[1]))return!1;d=
h;c++}}return c===a.size},tb=function(a,b,c,d,e){var g=jba(b);if(c>=g||e){e=b;if(b&128)g=a[a.length-1];else{if(null==d)return;g=a[g+Pa(b)]={};e|=128}g[c]=d;e&=-513;e!==b&&Ja(a,e)}else a[c+Pa(b)]=d,b&128&&(d=a[a.length-1],c in d&&delete d[c]),b&512&&Ja(a,b&-513)},Nba=function(a,b,c,d,e){var g=b&2,h=ub(a,b,c,e);Array.isArray(h)||(h=vb);var l=Ia(h);l&1||Ma(h);if(g)l&2||Na(h),d&1||Object.freeze(h);else{g=!(d&2);var q=l&2;d&1||!q?g&&l&16&&!q&&Mba(h,16):(h=Ma(Ha(h)),tb(a,b,c,h,e))}return h},wb=function(a,
b,c,d,e){a=a.internalArray_;var g=qb(a),h=g&2,l=Nba(a,g,b,e||1,d),q=Ia(l);if(!(q&4)){Object.isFrozen(l)&&(l=Ma(Ha(l)),tb(a,g,b,l,d));for(var v=0,x=0;v<l.length;v++){var A=c(l[v]);null!=A&&(l[x++]=A)}x<v&&(l.length=x);q|=5;h&&(q|=18);Ja(l,q);q&2&&Object.freeze(l)}if(2===e)return l;!h&&(q&2||Object.isFrozen(l))&&(l=Ha(l),La(l,5),tb(a,g,b,l,d));return l},Oba=function(a){return Sa(a,!0,!0)},Pba=function(a){return Sa(a,!0,!1)},Sba=function(){var a;return null!=(a=Qba)?a:Qba=new rb(Na([]),void 0,void 0,
void 0,Rba)},Uba=function(a,b,c,d,e,g,h){var l=b&2;a:{var q=c,v=b&2;c=!1;if(null==q){if(v){a=Sba();break a}q=[]}else if(q.constructor===rb){if(0==(q.arrayState&2)||v){a=q;break a}q=Tba(q)}else Array.isArray(q)?c=!!(Ia(q)&2):q=[];if(v){if(!q.length){a=Sba();break a}c||(c=!0,Na(q))}else if(c)for(c=!1,q=Ha(q),v=0;v<q.length;v++){var x=q[v]=Ha(q[v]);Array.isArray(x[1])&&(x[1]=Na(x[1]))}c||(Ia(q)&32?Mba(q,16):16&b&&gba(q));g=new rb(q,e,g,h);tb(a,b,d,g,!1);a=g}if(null==a)return a;!l&&e&&(a.callToMutableOnAccess=
!0);return a},xb=function(a,b,c){a=a.internalArray_;var d=qb(a);return Uba(a,d,ub(a,d,b),b,void 0,ob,c)},zb=function(a,b,c,d){a=a.internalArray_;var e=qb(a);return Uba(a,e,ub(a,e,b),b,c,d)},Ab=function(a,b,c,d){var e=a.internalArray_,g=qb(e);Ua(g);if(null==c)return tb(e,g,b),a;var h=Ia(c);if(!(h&4)){if(h&2||Object.isFrozen(c))c=Ha(c);for(var l=0;l<c.length;l++)c[l]=d(c[l]);Ja(c,h|5)}tb(e,g,b,c);return a},Bb=function(a,b,c,d){var e=a.internalArray_,g=qb(e);Ua(g);tb(e,g,b,c!==d?c:void 0);return a},
Cb=function(a,b,c,d){var e=a.internalArray_,g=qb(e);Ua(g);b=Nba(e,g,b,2,!1);void 0!=d?b.splice(d,0,c):b.push(c);g&512&&Ja(e,g&-513);return a},Db=function(a,b,c,d,e){var g=a.internalArray_,h=qb(g);Ua(h);b=e(a,b,!1,2);lba(b,c);b[c]=d;h&512&&Ja(g,h&-513);return a},Vba=function(a,b,c){for(var d=0,e=0;e<c.length;e++){var g=c[e];null!=ub(a,b,g)&&(0!==d&&tb(a,b,d),d=g)}return d},Wba=function(a,b,c,d,e,g){var h=!!(b&2),l=Nba(a,b,d,1,e);if(l===vb||!(Ia(l)&4)){var q=l;l=!!(b&2);var v=!!(Ia(q)&2);h=q;!l&&v&&
(q=Ha(q));var x=b|(v?2:0);v=v||void 0;for(var A=0,G=0;A<q.length;A++){var M=xba(q[A],c,!1,x);void 0!==M&&(v=v||qb(M.internalArray_)&2,q[G++]=M)}G<A&&(q.length=G);c=q;q=Ia(c);x=q|5;v=v?x&-9:x|8;q!=v&&(c=fba(c,v));q=c;h!==q&&tb(a,b,d,q,e);(l&&2!==g||1===g)&&Object.freeze(q);return q}if(3===g)return l;h||(h=Object.isFrozen(l),1===g?h||Object.freeze(l):(g=Ia(l),c=g&-19,h&&(l=Ha(l),g=0,tb(a,b,d,l,e)),g!==c&&Ja(l,c)));return l},Fb=function(a,b,c,d,e,g,h){a=a.internalArray_;var l=qb(a);Ua(l);b=Wba(a,l,c,
b,g,2);c=null!=d?d:new c;h&&lba(b,e);void 0!=e?b.splice(e,h,c):b.push(c);c.isImmutable()&&Mba(b,8);l&512&&Ja(a,l&-513);return c},Gb=function(a,b,c){return Bb(a,b,Za(c),!1)},Ib=function(a,b,c){return Bb(a,b,c,0)},Jb=function(a,b,c){return Bb(a,b,c,0)},Kb=function(a,b){return null!=a?a:b},Yba=function(a,b){Xba=b;a=new a(b);Xba=void 0;return a},m=function(a,b,c){null==a&&(a=Xba);Xba=void 0;if(null==a){var d=48;c?(a=[c],d|=256):a=[];b&&(d=d&-1047553|(b&1023)<<10)}else{if(!Array.isArray(a))throw Error();
d=Ia(a);if(d&32)return a;d|=32;if(c&&(d|=256,c!==a[0]))throw Error();a:{c=a;var e=c.length;if(e){var g=e-1,h=c[g];if(Ra(h)){d|=128;b=Pa(d);e=g-b;1024<=e&&(Zba(c,b,h),e=1023);d=d&-1047553|(e&1023)<<10;break a}}b&&(h=Pa(d),b=Math.max(b,e-h),1024<b&&(Zba(c,h,{}),d|=128,b=1023),d=d&-1047553|(b&1023)<<10)}}Ja(a,d);return a},Zba=function(a,b,c){for(var d=1023+b,e=a.length,g=d;g<e;g++){var h=a[g];null!=h&&h!==c&&(c[g-b]=h)}a.length=d+1;a[d]=c},aca=function(a,b){return $ba(b)},$ba=function(a){switch(typeof a){case "number":return isFinite(a)?
a:String(a);case "boolean":return a?1:0;case "object":if(a&&!Array.isArray(a)){if(ya(a))return Laa(a);if(a instanceof Ba)return Lb(a);if(a instanceof rb)return bca(a)}}return a},cca=function(a,b,c){var d=Ha(a),e=d.length,g=b&128?d[e-1]:void 0;e+=g?-1:0;for(b=b&256?1:0;b<e;b++)d[b]=c(d[b]);if(g){b=d[b]={};for(var h in g)b[h]=c(g[h])}(a=Mb?a[Mb]:void 0)&&(d[Mb]=Ha(a));return d},eca=function(a,b,c,d,e,g){if(null!=a){if(Array.isArray(a))a=e&&0==a.length&&Ia(a)&1?void 0:g&&Ia(a)&2?a:dca(a,b,c,void 0!==
d,e,g);else if(Ra(a)){var h={},l;for(l in a)h[l]=eca(a[l],b,c,d,e,g);a=h}else a=b(a,d);return a}},dca=function(a,b,c,d,e,g){var h=d||c?Ia(a):0;d=d?!!(h&16):void 0;a=Ha(a);for(var l=0;l<a.length;l++)a[l]=eca(a[l],b,c,d,e,g);c&&c(h,a);return a},gca=function(a){return eca(a,fca,void 0,void 0,!1,!1)},fca=function(a){return a.messagePrototypeMarker===lb?a.toJSON():a instanceof rb?bca(a,gca):$ba(a)},hca=function(a){return dca(a,fca,void 0,void 0,!1,!1)},ica=function(a,b,c){c=void 0===c?iba:c;if(null!=a){if(Raa&&
a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=Ia(a);if(d&2)return a;if(b&&!(d&32)&&(d&16||0===d))return Ja(a,d|18),a;a=dca(a,ica,d&4?iba:c,!0,!1,!0);b=Ia(a);b&4&&b&2&&Object.freeze(a);return a}a.messagePrototypeMarker===lb?(b=a.internalArray_,c=qb(b),a=c&2?a:jca(a,b,c,!0)):a instanceof rb&&(b=Na(Tba(a,ica)),a=new rb(b,a.valueCtor,a.keyToApi,a.valueToApi));return a}},jca=function(a,b,c,d){var e=d||c&2?iba:hba,g=!!(c&16);b=cca(b,c,function(h){return ica(h,g,e)});La(b,
16|(d?2:0));return Yba(a.constructor,b)},sb=function(a){var b=a.internalArray_,c=qb(b);if(!(c&2))return a;b=jca(a,b,c,!1);b.internalCachedImmutable_=a;La(b.internalArray_,512);return b},kca=function(a,b,c){var d=a.constructor.repeatedFields_,e=jba(qb(c?a.internalArray_:b)),g=!1;if(d){if(!c){b=Ha(b);var h;if(b.length&&Ra(h=b[b.length-1]))for(g=0;g<d.length;g++)if(d[g]>=e){Object.assign(b[b.length-1]={},h);break}g=!0}e=b;c=!c;h=qb(a.internalArray_);a=jba(h);h=Pa(h);for(var l,q,v=0;v<d.length;v++)if(q=
d[v],q<a){q+=h;var x=e[q];null==x?e[q]=c?vb:Ma([]):c&&x!==vb&&eba(x)}else l||(x=void 0,e.length&&Ra(x=e[e.length-1])?l=x:e.push(l={})),x=l[q],null==l[q]?l[q]=c?vb:Ma([]):c&&x!==vb&&eba(x)}d=b.length;if(!d)return b;var A;if(Ra(l=b[d-1])){a:{var G=l;e={};c=!1;for(var M in G)a=G[M],Array.isArray(a)&&a!=a&&(c=!0),null!=a?e[M]=a:c=!0;if(c){for(var Q in e){G=e;break a}G=null}}G!=l&&(A=!0);d--}for(;0<d;d--){l=b[d-1];if(null!=l)break;var Y=!0}if(!A&&!Y)return b;var W;g?W=b:W=Array.prototype.slice.call(b,
0,d);b=W;g&&(b.length=d);G&&b.push(G);return b},qca=function(a){var b=a[lca];if(!b){var c=mca(a),d=c.messageSetReader;b=d?function(e,g){return d(e,g,c)}:function(e,g){for(;nca(g)&&4!=g.nextWireType_;){var h=g.nextField_,l=c[h];if(!l){var q=c.extensions;q&&(q=q[h])&&(l=c[h]=oca(q))}if(!l||!l(g,e,h)){h=e.internalArray_;q=g;l=q.fieldCursor_;pca(q);if(q.discardUnknownFields)l=void 0;else{var v=q.decoder_.getCursor()-l;q.decoder_.cursor_=l;l=q.decoder_.readByteString(v)}l&&(Mb||(Mb=Symbol()),(q=h[Mb])?
q.push(l):h[Mb]=[l])}}return e};a[lca]=b}return b},rca=function(a){if(a=a.binaryFieldsInitializer)return qca(a)},oca=function(a){var b=rca(a),c=a.readerWriterSelector.$$binaryReaderFn;if(b){var d=mca(a.binaryFieldsInitializer).ctor;return function(e,g,h){return c(e,g,h,d,b)}}return function(e,g,h){return c(e,g,h)}},sca=function(a,b){var c=a[b];"function"==typeof c&&0===c.length&&(c=c(),a[b]=c);return Array.isArray(c)&&(Pb in c||Qb in c||0<c.length&&"function"==typeof c[0])?c:void 0},tca=function(a,
b,c,d){b.ctor=a[0];var e=1;if(a.length>e&&"number"!==typeof a[e]){var g=a[e++];if(Array.isArray(g))return b.messageSetReader=g[0],b.extensions=g[1],b;b.extensions=g}for(;e<a.length;){g=a[e++];for(var h=e+1;h<a.length&&"number"!==typeof a[h];)h++;var l=a[e++];h-=e;switch(h){case 0:b[g]=c(l);break;case 1:(h=sca(a,e))?(e++,b[g]=d(l,h)):b[g]=c(l,a[e++]);break;case 2:h=e++;h=sca(a,h);b[g]=d(l,h,a[e++]);break;default:throw Error("V`"+h);}}return b},xca=function(a){var b=a[uca];if(!b){var c=vca(a);b=function(d,
e){return wca(d,e,c)};a[uca]=b}return b},yca=function(a){return a.$$binaryWriterFn},zca=function(a,b){var c=xca(b),d=vca(b).ctor,e=a.$$binaryWriterFn;return function(g,h,l){return e(g,h,l,d,c)}},vca=function(a){var b=a[Qb];if(b)return b;b=tca(a,a[Qb]={},yca,zca);Pb in a&&Qb in a&&(a.length=0);return b},Aca=function(a,b){var c=a.$$binaryReaderFn;return b?function(d,e,g){return c(d,e,g,b)}:c},Bca=function(a,b,c){var d=a.$$binaryReaderFn,e=qca(b),g=mca(b).ctor;return function(h,l,q){return d(h,l,q,g,
e,c)}},mca=function(a){var b=a[Pb];if(b)return b;b=tca(a,a[Pb]={},Aca,Bca);Pb in a&&Qb in a&&(a.length=0);return b},Cca=function(a,b){var c=a[b];if(c)return c;if(c=a.extensions)if(c=c[b]){var d=c.binaryFieldsInitializer,e=c.readerWriterSelector.$$binaryWriterFn;if(d){var g=xca(d),h=vca(d).ctor;c=function(l,q,v){return e(l,q,v,h,g)}}else c=e;return a[b]=c}},wca=function(a,b,c){for(var d=a.internalArray_,e=qb(d),g=Pa(e),h=d.length,l=h+(e&128?-1:0),q=e&256?1:0;q<l;q++)if(null!=d[q]){var v=q-g,x=Cca(c,
v);x&&x(b,a,v)}if(e&128){e=d[h-1];for(var A in e)g=+A,Number.isNaN(g)||null==e[A]||(h=Cca(c,g))&&h(b,a,g)}if(a=Mb?d[Mb]:void 0)for(Dca(b,b.encoder_.end()),c=0;c<a.length;c++)Dca(b,Ea(a[c])||Taa())},Rb=function(a,b){return new Eca(a,b)},Sb=function(a,b,c){a=a.internalArray_;tb(a,qb(a),b,c)},Tb=function(a,b,c,d){return new Fca(a,b,c,d)},Ub=function(a,b){for(var c=[],d=0;d<a.length;d++)c.push(b(a[d]));return c},Vb=function(a,b,c){for(var d in c){var e=c[d],g=e.isRepeated?a.getExtension(e):Gca(a,e);if(null!=
g){var h=void 0;for(h in e.fieldName)if(e.fieldName.hasOwnProperty(h))break;var l=e.toObjectFn;b[h]=l?e.isRepeated?Ub(g,l):l(g):g}}},Hca=function(a){null!=a&&(a=a.value_||"",a="string"===typeof a?a:new Uint8Array(a));return a},Wb=function(a,b){var c=[];a.forEach(b?function(d,e){c.push([e,b(d)])}:function(d,e){c.push([e,d])});return c},n=function(a){return null===a?void 0:a},Xb=function(a){return null==a?void 0:Array.isArray(a)?a.map(function(b){return Lb(b)}):Lb(a)},Ica=function(a){a=Yb(a,2);if(null==
a)return"";if("string"===typeof a)return a;if(ya(a))return Laa(a);if(Array.isArray(a))return hca(a);if(a instanceof Ba)return Lb(a);if(a instanceof p)return a.toJSON();throw Error("W`"+a);},r=function(a){if(Ia(a.internalArray_)&2)throw Error("Z");},Jca=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("U`"+Ya(b)+"`"+b);Na(b);return new a(b)}},Zb=function(a){return function(b){return Kca(a,b)}},$b=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},ac=function(a,b){var c=
{},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Lca=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c},Mca=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Nca=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Oca=function(a,b){return null!==a&&b in a},Pca=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c},Qca=function(a,b){return(b=Pca(a,b))&&a[b]},bc=function(a){for(var b in a)return!1;return!0},Rca=function(a){for(var b in a)delete a[b]},
cc=function(a,b){b in a&&delete a[b]},Sca=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},Uca=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 g=0;g<Tca.length;g++)c=Tca[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},Vca=function(a){var b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return Vca.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c},
bda=function(a){if(a instanceof ec)return'url("'+fc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof hc)a=ic(a);else{a=String(a);var b=a.replace(Wca,"$1").replace(Wca,"$1").replace(Xca,"url");if(Yca.test(b)){if(b=!Zca.test(a)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}b=b&&c&&$ca(a)}a=b?ada(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new aaa("Value does not allow [{;}], got: %s.",[a]);return a},$ca=function(a){for(var b=
!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b},ada=function(a){return a.replace(Xca,function(b,c,d,e){var g="";d=d.replace(/^(['"])(.*)\1$/,function(h,l,q){g=l;return q});b=(cda(d)||dda).getTypedStringValue();return c+g+b+g+e})},eda=function(a,b){return Zone.current.wrap(a,b)},fda=function(a,b){for(var c=a.length-1;0<=c;c--)"function"===typeof a[c]&&(a[c]=eda(a[c],b+"_"+c));return a},
hda=function(a){for(var b=["getCurrentPosition","watchPosition"],c=a.constructor.name,d={},e=0;e<b.length;d={$jscomp$loop$prop$name$2262:d.$jscomp$loop$prop$name$2262},e++){d.$jscomp$loop$prop$name$2262=b[e];var g=a[d.$jscomp$loop$prop$name$2262];if(g){var h=jc(a,d.$jscomp$loop$prop$name$2262);gda(h)&&(a[d.$jscomp$loop$prop$name$2262]=function(l){return function(q){var v=function(){return q.apply(this,fda(arguments,c+"."+l.$jscomp$loop$prop$name$2262))};kc(v,q);return v}}(d)(g))}}},gda=function(a){return a?
!1===a.writable?!1:!("function"===typeof a.get&&"undefined"===typeof a.set):!0},lda=function(a,b,c){var d=jc(a,b);!d&&c&&jc(c,b)&&(d={enumerable:!0,configurable:!0});if(d&&d.configurable&&(c=mc("on"+b+"patched"),!a.hasOwnProperty(c)||!a[c])){delete d.writable;delete d.value;var e=d.get,g=d.set,h=b.slice(2),l=ida[h];l||(l=ida[h]=mc("ON_PROPERTY"+h));d.set=function(q){var v=this;v||a!==nc||(v=nc);v&&("function"===typeof v[l]&&v.removeEventListener(h,jda),g&&g.call(v,null),v[l]=q,"function"===typeof q&&
v.addEventListener(h,jda,!1))};d.get=function(){var q=this;q||a!==nc||(q=nc);if(!q)return null;var v=q[l];return v?v:e&&(v=e.call(this))?(d.set.call(this,v),"function"===typeof q.removeAttribute&&q.removeAttribute(b),v):null};kda(a,b,d);a[c]=!0}},mda=function(a,b,c){if(b)for(var d=0;d<b.length;d++)lda(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++)lda(a,b[d],c)}},pc=function(a){var b=nc[a];if(b){nc[mc(a)]=b;nc[a]=function(){var e=fda(arguments,a);switch(e.length){case 0:this[oc]=
new b;break;case 1:this[oc]=new b(e[0]);break;case 2:this[oc]=new b(e[0],e[1]);break;case 3:this[oc]=new b(e[0],e[1],e[2]);break;case 4:this[oc]=new b(e[0],e[1],e[2],e[3]);break;default:throw Error("qa");}};kc(nc[a],b);var c=new b(function(){}),d;for(d in c)"XMLHttpRequest"===a&&"responseBlob"===d||function(e){"function"===typeof c[e]?nc[a].prototype[e]=function(){return this[oc][e].apply(this[oc],arguments)}:kda(nc[a].prototype,e,{set:function(g){"function"===typeof g?(this[oc][e]=eda(g,a+"."+e),
kc(this[oc][e],g)):this[oc][e]=g},get:function(){return this[oc][e]}})}(d);for(d in b)"prototype"!==d&&b.hasOwnProperty(d)&&(nc[a][d]=b[d])}},qc=function(a,b,c){for(var d=a;d&&!d.hasOwnProperty(b);)d=nda(d);!d&&a[b]&&(d=a);a=mc(b);var e=null;if(d&&(!(e=d[a])||!d.hasOwnProperty(a))){e=d[a]=d[b];var g=d&&jc(d,b);if(gda(g)){var h=c(e,a,b);d[b]=function(){return h(this,arguments)};kc(d[b],e)}}return e},oda=function(a,b,c){function d(g){var h=g.data;h.args[h.cbIdx]=function(){g.invoke.apply(this,arguments)};
e.apply(h.target,h.args);return g}var e=null;e=qc(a,b,function(g){return function(h,l){var q=c(h,l);return 0<=q.cbIdx&&"function"===typeof l[q.cbIdx]?Zone.current.scheduleMacroTask(q.name,l[q.cbIdx],q,d):g.apply(h,l)}})},kc=function(a,b){a[mc("OriginalDelegate")]=b},rda=function(){if(pda)return qda;pda=!0;try{var a=rc.navigator.userAgent;if(-1!==a.indexOf("MSIE ")||-1!==a.indexOf("Trident/")||-1!==a.indexOf("Edge/"))qda=!0}catch(b){}return qda},sda=function(a,b){var c=(b?b(a):a)+"false";b=(b?b(a):
a)+"true";c=sc+c;b=sc+b;tc[a]={};tc[a]["false"]=c;tc[a]["true"]=b},zda=function(a,b,c,d){function e(ia,ja,Aa){if(ja=ja||a.event){ia=ia||ja.target||a;var Da=ia[tc[ja.type][Aa?"true":"false"]];if(Da){Aa=[];if(1===Da.length)(ja=G(Da[0],ia,ja))&&Aa.push(ja);else{Da=Da.slice();for(var Oa=0;Oa<Da.length&&(!ja||!0!==ja[tda]);Oa++){var Ta=G(Da[Oa],ia,ja);Ta&&Aa.push(Ta)}}if(1===Aa.length)throw Aa[0];ja={};for(ia=0;ia<Aa.length;ja={$jscomp$loop$prop$err$1786$2264:ja.$jscomp$loop$prop$err$1786$2264},ia++)ja.$jscomp$loop$prop$err$1786$2264=
Aa[ia],b.nativeScheduleMicroTask(function(Wa){return function(){throw Wa.$jscomp$loop$prop$err$1786$2264;}}(ja))}}}function g(ia,ja){if(!ia)return!1;var Aa=!0;ja&&void 0!==ja.useG&&(Aa=ja.useG);var Da=ja&&ja.vh,Oa=!0;ja&&void 0!==ja.chkDup&&(Oa=ja.chkDup);var Ta=!1;ja&&void 0!==ja.rt&&(Ta=ja.rt);for(var Wa=ia;Wa&&!Wa.hasOwnProperty(h);)Wa=nda(Wa);!Wa&&ia[h]&&(Wa=ia);if(!Wa||Wa[x])return!1;var Nb=ja&&ja.eventNameToString,Eb={},cb=Wa[x]=Wa[h],sa=Wa[mc(l)]=Wa[l];ia=Wa[mc(q)]=Wa[q];var Ka=Wa[mc(v)]=Wa[v],
Qa;ja&&ja.prepend&&(Qa=Wa[mc(ja.prepend)]=Wa[ja.prepend]);var fb=function(ib){if(!ib.isRemoved){var Ob=tc[ib.eventName],lc;Ob&&(lc=Ob[ib.capture?"true":"false"]);if(Ob=lc&&ib.target[lc])for(var Hc=0;Hc<Ob.length;Hc++)if(Ob[Hc]===ib){Ob.splice(Hc,1);ib.isRemoved=!0;0===Ob.length&&(ib.allRemoved=!0,ib.target[lc]=null);break}}if(ib.allRemoved)return sa.call(ib.target,ib.eventName,ib.capture?Q:M,ib.options)},$a=function(ib){return cb.call(Eb.target,Eb.eventName,ib.invoke,Eb.options)},Yc=function(ib){return Qa.call(Eb.target,
Eb.eventName,ib.invoke,Eb.options)},hb=function(ib){return sa.call(ib.target,ib.eventName,ib.invoke,ib.options)};$a=Aa?function(){if(!Eb.isExisting)return cb.call(Eb.target,Eb.eventName,Eb.capture?Q:M,Eb.options)}:$a;fb=Aa?fb:hb;hb=function(ib,Ob){var lc=typeof Ob;return"function"===lc&&ib.callback===Ob||"object"===lc&&ib.originalDelegate===Ob};var yb=ja&&ja.diff?ja.diff:hb,bb=Zone[mc("UNPATCHED_EVENTS")],Hb=a[mc("PASSIVE_EVENTS")];hb=function(ib,Ob,lc,Hc,Tc,jg){Tc=void 0===Tc?!1:Tc;jg=void 0===jg?
!1:jg;return function(){var Od=this||a,Ae=arguments[0];ja&&ja.transferEventName&&(Ae=ja.transferEventName(Ae));var Mj=arguments[1];if(!Mj||uda&&"uncaughtException"===Ae)return ib.apply(this,arguments);var Hha=!1;if("function"!==typeof Mj){if(!Mj.handleEvent)return ib.apply(this,arguments);Hha=!0}if(!Da||Da(ib,Mj,Od,arguments)){var Mt=uc&&!!Hb&&-1!==Hb.indexOf(Ae);var Rg=arguments[2];Rg=!uc&&"object"===typeof Rg&&Rg?!!Rg.capture:uc&&Mt?"boolean"===typeof Rg?{capture:Rg,passive:!0}:Rg?"object"===typeof Rg&&
!1!==Rg.passive?Object.assign({},Rg,{passive:!0}):Rg:{passive:!0}:Rg;if(bb)for(var QT=0;QT<bb.length;QT++)if(Ae===bb[QT])return Mt?ib.call(Od,Ae,Mj,Rg):ib.apply(this,arguments);Mt=Rg?"boolean"===typeof Rg?!0:Rg.capture:!1;QT=Rg&&"object"===typeof Rg?Rg.once:!1;var aDb=Zone.current,Nt=tc[Ae];Nt||(sda(Ae,Nb),Nt=tc[Ae]);var ay=Nt[Mt?"true":"false"];Nt=Od[ay];var LK=!1;if(Nt){if(LK=!0,Oa)for(ay=0;ay<Nt.length;ay++)if(yb(Nt[ay],Mj))return}else Nt=Od[ay]=[];var en;ay=Od.constructor.name;var CTa=vda[ay];
CTa&&(en=CTa[Ae]);en||(en=ay+Ob+(Nb?Nb(Ae):Ae));Eb.options=Rg;QT&&(Eb.options.once=!1);Eb.target=Od;Eb.capture=Mt;Eb.eventName=Ae;Eb.isExisting=LK;if(LK=Aa?wda:void 0)LK.taskData=Eb;en=aDb.scheduleEventTask(en,Mj,LK,lc,Hc);Eb.target=null;LK&&(LK.taskData=null);QT&&(Rg.once=!0);if(uc||"boolean"!==typeof en.options)en.options=Rg;en.target=Od;en.capture=Mt;en.eventName=Ae;Hha&&(en.originalDelegate=Mj);jg?Nt.unshift(en):Nt.push(en);if(Tc)return Od}}};Wa[h]=hb(cb,A,$a,fb,Ta);Qa&&(Wa.prependListener=hb(Qa,
".prependListener:",Yc,fb,Ta,!0));Wa[l]=function(){var ib=this||a,Ob=arguments[0];ja&&ja.transferEventName&&(Ob=ja.transferEventName(Ob));var lc=arguments[2],Hc=lc?"boolean"===typeof lc?!0:lc.capture:!1;lc=arguments[1];if(!lc)return sa.apply(this,arguments);if(!Da||Da(sa,lc,ib,arguments)){var Tc=tc[Ob],jg;Tc&&(jg=Tc[Hc?"true":"false"]);if(Hc=jg&&ib[jg])for(Tc=0;Tc<Hc.length;Tc++){var Od=Hc[Tc];if(yb(Od,lc)){Hc.splice(Tc,1);Od.isRemoved=!0;0===Hc.length&&(Od.allRemoved=!0,ib[jg]=null,"string"===typeof Ob&&
(ib[sc+"ON_PROPERTY"+Ob]=null));Od.zone.cancelTask(Od);if(Ta)return ib;return}}return sa.apply(this,arguments)}};Wa[q]=function(ib){var Ob=this||a,lc=ib;ja&&ja.transferEventName&&(lc=ja.transferEventName(lc));ib=[];Ob=xda(Ob,Nb?Nb(lc):lc);for(lc=0;lc<Ob.length;lc++){var Hc=Ob[lc];ib.push(Hc.originalDelegate?Hc.originalDelegate:Hc.callback)}return ib};Wa[v]=function(ib){var Ob=this||a;if(ib){ja&&ja.transferEventName&&(ib=ja.transferEventName(ib));var lc=tc[ib];if(lc){var Hc=Ob[lc["false"]];Ob=Ob[lc["true"]];
if(Hc)for(Hc=Hc.slice(),lc=0;lc<Hc.length;lc++){var Tc=Hc[lc];this[l].call(this,ib,Tc.originalDelegate?Tc.originalDelegate:Tc.callback,Tc.options)}if(Ob)for(Ob=Ob.slice(),Hc=0;Hc<Ob.length;Hc++)lc=Ob[Hc],this[l].call(this,ib,lc.originalDelegate?lc.originalDelegate:lc.callback,lc.options)}}else{ib=Object.keys(Ob);for(Ob=0;Ob<ib.length;Ob++)(Hc=(Hc=yda.exec(ib[Ob]))&&Hc[1])&&"removeListener"!==Hc&&this[v].call(this,Hc);this[v].call(this,"removeListener")}if(Ta)return this};kc(Wa[h],cb);kc(Wa[l],sa);
Ka&&kc(Wa[v],Ka);ia&&kc(Wa[q],ia);return!0}for(var h=d&&d.add||"addEventListener",l=d&&d.rm||"removeEventListener",q=d&&d.listeners||"eventListeners",v=d&&d.rmAll||"removeAllListeners",x=mc(h),A="."+h+":",G=function(ia,ja,Aa){if(!ia.isRemoved){var Da=ia.callback;"object"===typeof Da&&Da.handleEvent&&(ia.callback=function(Wa){return Da.handleEvent(Wa)},ia.originalDelegate=Da);try{ia.invoke(ia,ja,[Aa])}catch(Wa){var Oa=Wa}var Ta=ia.options;Ta&&"object"===typeof Ta&&Ta.once&&ja[l].call(ja,Aa.type,ia.originalDelegate?
ia.originalDelegate:ia.callback,Ta);return Oa}},M=function(ia){return e(this,ia,!1)},Q=function(ia){return e(this,ia,!0)},Y=[],W=0;W<c.length;W++)Y[W]=g(c[W],d);return Y},xda=function(a,b){if(!b){var c=[],d;for(d in a){var e=yda.exec(d);if((e=e&&e[1])&&(!b||e===b)&&(e=a[d]))for(var g=0;g<e.length;g++)c.push(e[g])}return c}c=tc[b];c||(sda(b),c=tc[b]);b=a[c["false"]];a=a[c["true"]];return b?a?b.concat(a):b.slice():a?a.slice():[]},Ada=function(a,b){(a=a.Event)&&a.prototype&&b.patchMethod(a.prototype,
"stopImmediatePropagation",function(c){return function(d,e){d[tda]=!0;c&&c.apply(d,e)}})},Bda=function(a,b){b.patchMethod(a,"queueMicrotask",function(){return function(c,d){Zone.current.scheduleMicroTask("queueMicrotask",d[0])}})},vc=function(a,b,c,d){function e(v){var x=v.data;x.args[0]=function(){return v.invoke.apply(this,arguments)};x.handleId=h.apply(a,x.args);return v}function g(v){return l.call(a,v.data.handleId)}var h=null,l=null;b+=d;c+=d;var q={};h=qc(a,b,function(v){return function(x,A){if("function"===
typeof A[0]){var G={isPeriodic:"Interval"===d,delay:"Timeout"===d||"Interval"===d?A[1]||0:void 0,args:A},M=A[0];A[0]=function(){try{return M.apply(this,arguments)}finally{G.isPeriodic||("number"===typeof G.handleId?delete q[G.handleId]:G.handleId&&(G.handleId[Cda]=null))}};x=Zone.current.scheduleMacroTask(b,A[0],G,e,g);if(!x)return x;A=x.data.handleId;"number"===typeof A?q[A]=x:A&&(A[Cda]=x);A&&A.ref&&A.unref&&"function"===typeof A.ref&&"function"===typeof A.unref&&(x.ref=A.ref.bind(A),x.unref=A.unref.bind(A));
return"number"===typeof A||A?A:x}return v.apply(a,A)}});l=qc(a,c,function(v){return function(x,A){x=A[0];if("number"===typeof x)var G=q[x];else(G=x&&x[Cda])||(G=x);G&&"string"===typeof G.type?"notScheduled"!==G.state&&(G.cancelFn&&G.data.isPeriodic||0===G.runCount)&&("number"===typeof x?delete q[x]:x&&(x[Cda]=null),G.zone.cancelTask(G)):v.apply(a,A)}})},Dda=function(a,b,c,d,e){var g=Zone.__symbol__(d);if(!b[g]){var h=b[g]=b[d];b[d]=function(l,q,v){q&&q.prototype&&e.forEach(function(x){var A=c+"."+
d+"::"+x,G=q.prototype;try{if(G.hasOwnProperty(x)){var M=a.ObjectGetOwnPropertyDescriptor(G,x);M&&M.value?(M.value=a.wrapWithCurrentZone(M.value,A),a._redefineProperty(q.prototype,x,M)):G[x]&&(G[x]=a.wrapWithCurrentZone(G[x],A))}else G[x]&&(G[x]=a.wrapWithCurrentZone(G[x],A))}catch(Q){}});return h.call(b,l,q,v)};a.attachOriginToPatched(b[d],h)}},Eda=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)})},Fda=function(a){return Object.getOwnPropertyNames(a).filter(function(b){return b.startsWith("on")&&2<b.length}).map(function(b){return b.substring(2)})},Mda=function(){Gda=Zone.__symbol__;Hda=Object[Gda("defineProperty")]=Object.defineProperty;Ida=Object[Gda("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor;Jda=Object.create;wc=Gda("unconfigurables");Object.defineProperty=function(a,b,c){if(a&&a[wc]&&a[wc][b])throw new TypeError("ua`"+b+"`"+a);var d=c.configurable;"prototype"!==
b&&(c=Kda(a,b,c));return Lda(a,b,c,d)};Object.defineProperties=function(a,b){Object.keys(b).forEach(function(g){Object.defineProperty(a,g,b[g])});for(var c=k(Object.getOwnPropertySymbols(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0;(null==(e=Object.getOwnPropertyDescriptor(b,d))?0:e.enumerable)&&Object.defineProperty(a,d,b[d])}return a};Object.create=function(a,b){"object"!==typeof b||Object.isFrozen(b)||Object.keys(b).forEach(function(c){b[c]=Kda(a,c,b[c])});return Jda(a,b)};Object.getOwnPropertyDescriptor=
function(a,b){var c=Ida(a,b);c&&a&&a[wc]&&a[wc][b]&&(c.configurable=!1);return c}},Nda=function(a,b,c){var d=c.configurable;c=Kda(a,b,c);return Lda(a,b,c,d)},Kda=function(a,b,c){Object.isFrozen(c)||(c.configurable=!0);c.configurable||(a[wc]||Object.isFrozen(a)||Hda(a,wc,{writable:!0,value:{}}),a[wc]&&(a[wc][b]=!0));return c},Lda=function(a,b,c,d){try{return Hda(a,b,c)}catch(e){if(c.configurable){"undefined"==typeof d?delete c.configurable:c.configurable=d;try{return Hda(a,b,c)}catch(g){d=!1;if("createdCallback"===
b||"attachedCallback"===b||"detachedCallback"===b||"attributeChangedCallback"===b)d=!0;if(!d)throw g;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: "+g)}}else throw e;}},Oda=function(a,b){var c=b.getGlobalObjects(),d=c.eventNames,e=c.globalSources,g=c.zoneSymbolEventNames,h=c.TRUE_STR,l=c.FALSE_STR,q=c.ZONE_SYMBOL_PREFIX,v="ApplicationCache EventSource FileReader InputMethodContext MediaController MessagePort Node Performance SVGElementInstance SharedWorker TextTrack TextTrackCue TextTrackList WebKitNamedFlow Window Worker WorkerGlobalScope XMLHttpRequest XMLHttpRequestEventTarget XMLHttpRequestUpload IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor DBIndex WebSocket".split(" ");
c=[];var x="Anchor Area Audio BR Base BaseFont Body Button Canvas Content DList Directory Div Embed FieldSet Font Form Frame FrameSet HR Head Heading Html IFrame Image Input Keygen LI Label Legend Link Map Marquee Media Menu Meta Meter Mod OList Object OptGroup Option Output Paragraph Pre Progress Quote Script Select Source Span Style TableCaption TableCell TableCol Table TableRow TableSection TextArea Title Track UList Unknown Video".split(" ");a.wtf?c=x.map(function(ja){return"HTML"+ja+"Element"}).concat(v):
a.EventTarget?c.push("EventTarget"):c=v;var A=a.__Zone_disable_IE_check||!1,G=a.__Zone_enable_cross_context_check||!1,M=b.isIEOrEdge(),Q={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"};for(v=0;v<d.length;v++){var Y=d[v],W=q+(Y+l),ia=q+(Y+h);g[Y]={};g[Y][l]=W;g[Y][h]=ia}for(g=0;g<x.length;g++)for(h=
x[g],l=e[h]={},q=0;q<d.length;q++)v=d[q],l[v]=h+".addEventListener:"+v;d=[];for(e=0;e<c.length;e++)x=a[c[e]],d.push(x&&x.prototype);b.patchEventTarget(a,b,d,{vh:function(ja,Aa,Da,Oa){if(!A&&M)if(G)try{var Ta=Aa.toString();if("[object FunctionWrapper]"===Ta||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==Ta)return ja.apply(Da,Oa),!1}catch(Wa){return ja.apply(Da,Oa),!1}else{if(Aa=Aa.toString(),"[object FunctionWrapper]"===Aa||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==
Aa)return ja.apply(Da,Oa),!1}else if(G)try{Aa.toString()}catch(Wa){return ja.apply(Da,Oa),!1}return!0},transferEventName:function(ja){return Q[ja]||ja}});Zone[b.symbol("patchEventTarget")]=!!a.EventTarget},Pda=function(a,b){var c=a.getGlobalObjects(),d=c.ADD_EVENT_LISTENER_STR,e=c.REMOVE_EVENT_LISTENER_STR,g=b.WebSocket;b.EventTarget||a.patchEventTarget(b,a,[g.prototype]);b.WebSocket=function(l,q){var v=1<arguments.length?new g(l,q):new g(l),x=a.ObjectGetOwnPropertyDescriptor(v,"onmessage");if(x&&
!1===x.configurable){var A=a.ObjectCreate(v);var G=v;[d,e,"send","close"].forEach(function(M){A[M]=function(){var Q=a.ArraySlice.call(arguments);if(M===d||M===e){var Y=0<Q.length?Q[0]:void 0;Y&&(Y=Zone.__symbol__("ON_PROPERTY"+Y),v[Y]=A[Y])}return v[M].apply(v,Q)}})}else A=v;a.patchOnProperties(A,["close","error","message","open"],G);return A};c=b.WebSocket;for(var h in g)c[h]=g[h]},Qda=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 g=a.symbol("fake");a.ObjectDefineProperty(c,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[g]},set:function(h){this[g]=h}});a=new e;c=function(){};a.onreadystatechange=c;c=a[g]===c;a.onreadystatechange=null;return c},Sda=function(a){for(var b=a.symbol("unbound"),c={},d=0;d<Rda.length;c={$jscomp$loop$prop$onproperty$2271:c.$jscomp$loop$prop$onproperty$2271},
d++){var e=Rda[d];c.$jscomp$loop$prop$onproperty$2271="on"+e;self.addEventListener(e,function(g){return function(h){h=h.target;var l;for(l=h?h.constructor.name+"."+g.$jscomp$loop$prop$onproperty$2271:"unknown."+g.$jscomp$loop$prop$onproperty$2271;h;){if(h[g.$jscomp$loop$prop$onproperty$2271]&&!h[g.$jscomp$loop$prop$onproperty$2271][b]){var q=a.wrapWithCurrentZone(h[g.$jscomp$loop$prop$onproperty$2271],l);q[b]=h[g.$jscomp$loop$prop$onproperty$2271];h[g.$jscomp$loop$prop$onproperty$2271]=q}h=h.parentElement}}}(c),
!0)}},xc=function(a){for(var b in a)if(a[b]===xc)return b;throw Error("va");},Tda=function(a,b){for(var c in b)b.hasOwnProperty(c)&&!a.hasOwnProperty(c)&&(a[c]=b[c])},yc=function(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}},zc=function(a){return{providers:a.providers||[],imports:a.imports||[]}},Wda=function(a){var b;(b=a.hasOwnProperty(Uda)?a[Uda]:null)||(b=a.hasOwnProperty(Vda)?a[Vda]:null);return b},Xda=function(a){return(a=a&&(a[Uda]||a[Vda]))?a:null},
$da=function(a){return a&&(a.hasOwnProperty(Yda)||a.hasOwnProperty(Zda))?a[Yda]:null},Ac=function(a){return"string"===typeof a?a:null==a?"":String(a)},Bc=function(a){if("string"===typeof a)return a;if(Array.isArray(a))return"["+a.map(Bc).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)},aea=function(a,b){return null==a||""===a?null===b?"":b:null==b||
""===b?a:a+" "+b},bea=function(){throw new Cc(-201,!1);},Dc=function(a){var b=cea;cea=a;return b},dea=function(a,b,c){var d=Wda(a);if(d&&"root"==d.providedIn)return void 0===d.value?d.value=d.factory():d.value;if(c&8)return null;if(void 0!==b)return b;bea(Bc(a))},Ec=function(a){a.__forward_ref__=Ec;a.toString=function(){return Bc(this())};return a},Fc=function(a){return eea(a)?a():a},eea=function(a){return"function"===typeof a&&a.hasOwnProperty(fea)&&a.__forward_ref__===Ec},Ic=function(a){var b=Gc;
Gc=a;return b},gea=function(a,b){b=void 0===b?0:b;if(void 0===Gc)throw new Cc(-203,!1);return null===Gc?dea(a,void 0,b):Gc.get(a,b&8?null:void 0,b)},t=function(a,b){b=void 0===b?0:b;return(cea||gea)(Fc(a),b)},Jc=function(a,b){return t(a,hea(void 0===b?0:b))},hea=function(a){return"undefined"===typeof a||"number"===typeof a?a:0|(a.optional&&8)|(a.host&&1)|(a.self&&2)|(a.skipSelf&&4)},iea=function(a){for(var b=[],c=0;c<a.length;c++){var d=Fc(a[c]);if(Array.isArray(d)){if(0===d.length)throw new Cc(900,
!1);for(var e=void 0,g=0,h=0;h<d.length;h++){var l=d[h],q=l.__NG_DI_FLAG__;"number"===typeof q?-1===q?e=l.token:g|=q:e=l}b.push(t(e,g))}else b.push(t(d))}return b},Kc=function(a,b){a.__NG_DI_FLAG__=b;a.prototype.__NG_DI_FLAG__=b;return a},jea=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}},kea=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 g=c[d++],h=c[d++];a.setAttribute(b,g,h,e)}else g=c[++d],64===e.charCodeAt(0)?a.setProperty(b,e,g):a.setAttribute(b,e,g),d++}},Lc=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?lea(a,c,e,b[++d]):lea(a,c,e,null))}return a},lea=function(a,b,c,d){var e=0,g=a.length;if(-1===b)g=-1;else for(;e<a.length;){var h=a[e++];if("number"===typeof h)if(h===b){g=-1;
break}else if(h>b){g=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!==g&&(a.splice(g,0,b),e=g+1);a.splice(e++,0,c);null!==d&&a.splice(e++,0,d)},mea=function(a,b,c){var d=4,e=a.attrs||[],g;a:{for(g=0;g<e.length;g++){var h=e[g];if(3===h||4===h||6===h)break a}g=e.length}h=!1;for(var l=0;l<b.length;l++){var q=b[l];if("number"===typeof q){if(!h&&0!==(d&1)&&0!==(q&1))return!1;h&&0===(q&1)||(h=!1,d=q|d&1)}else if(!h)if(d&4){if(d=
2|d&1,""!==q&&q!==(4!==a.type||c?a.value:"ng-template")||""===q&&1===b.length){if(0===(d&1))return!1;h=!0}}else{var v=d&8?q:b[++l];if(d&8&&null!==a.attrs){a:{q=a.attrs;for(var x=c,A=0,G=!0;A<q.length;){var M=q[A++];if("string"===typeof M&&G){var Q=q[A++];if(x&&"class"===M&&-1!==jea(Q.toLowerCase(),v)){v=!0;break a}}else if(1===M){for(;A<q.length&&"string"==typeof(M=q[A++]);)if(M.toLowerCase()===v){v=!0;break a}break}else"number"===typeof M&&(G=!1)}v=!1}if(!v){if(0===(d&1))return!1;h=!0}}else{a:if(q=
d&8?"class":q,null===e)q=-1;else if(x=0,c||4!==a.type||"ng-template"===a.value){for(A=!1;x<e.length;){G=e[x];if(G===q){q=x;break a}if(3===G||6===G)A=!0;else if(1===G||2===G){for(G=e[++x];"string"===typeof G;)G=e[++x];continue}else if(4===G)break;else if(0===G){x+=4;continue}x+=A?1:2}q=-1}else b:{x=e.indexOf(4);if(-1<x)for(x++;x<e.length;){A=e[x];if("number"===typeof A)break;if(A===q){q=x;break b}x++}q=-1}if(-1===q){if(0===(d&1))return!1;h=!0}else if(""!==v&&(q=q>g?"":e[q+1].toLowerCase(),(x=d&8?q:
null)&&-1!==jea(x,v)||d&2&&v!==q)){if(0===(d&1))return!1;h=!0}}}}return 0===(d&1)||h},nea=function(a,b,c){c=void 0===c?!1:c;for(var d=0;d<b.length;d++)if(mea(a,b[d],c))return!0;return!1},oea=function(a){for(var b=a[0],c=1,d=2,e="",g=!1;c<a.length;){var h=a[c];if("string"===typeof h)if(d&2){var l=a[++c];e+="["+h+(0<l.length?'="'+l+'"':"")+"]"}else d&8?e+="."+h:d&4&&(e+=" "+h);else""!==e&&0!==(h&1)&&(b+=g?":not("+e.trim()+")":e,e=""),d=h,g=g||0!==(d&1);c++}""!==e&&(b+=g?":not("+e.trim()+")":e);return b},
Mc=function(a){return{toString:a}.toString()},Oc=function(a){return Mc(function(){var b=pea(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||Nc,_:null,schemas:a.schemas||null,tView:null,
id:""});qea(b);c=a.dependencies;b.directiveDefs=rea(c,!1);b.pipeDefs=rea(c,!0);c=0;var d=[b.selectors,b.ngContentSelectors,b.hostVars,b.hostAttrs,b.consts,b.vars,b.decls,b.encapsulation,b.standalone,b.signals,b.exportAs,JSON.stringify(b.inputs),JSON.stringify(b.outputs),Object.getOwnPropertyNames(b.type.prototype),!!b.contentQueries,!!b.viewQuery].join("|");d=k(d);for(var e=d.next();!e.done;e=d.next())c=Math.imul(31,c)+e.value.charCodeAt(0)<<0;b.id="c"+(c+2147483648);return b})},sea=function(a,b){a=
a.\u0275cmp;a.directiveDefs=rea(b,!1);a.pipeDefs=rea([],!0)},uea=function(a){return a[Pc]||a[tea]||null},vea=function(a){return null!==a},Qc=function(a){return Mc(function(){return{type:a.type,bootstrap:a.bootstrap||Nc,declarations:a.declarations||Nc,imports:a.imports||Nc,exports:a.exports||Nc,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null}})},wea=function(a,b){if(null==a)return Rc;var c={},d;for(d in a)if(a.hasOwnProperty(d)){var e=a[d],g=e;Array.isArray(e)&&(g=e[1],e=e[0]);c[e]=
d;b&&(b[e]=g)}return c},Sc=function(a){return Mc(function(){var b=pea(a);qea(b);return b})},Uc=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}},yea=function(a){return a[xea]||null},pea=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||Rc,exportAs:a.exportAs||null,standalone:!0===a.standalone,signals:!0===a.signals,selectors:a.selectors||Nc,viewQuery:a.viewQuery||null,features:a.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:wea(a.inputs,b),outputs:wea(a.outputs)}},qea=function(a){var b;null==(b=a.features)||b.forEach(function(c){return c(a)})},rea=function(a,b){if(!a)return null;var c=b?yea:uea;return function(){return("function"===typeof a?a():a).map(function(d){return c(d)}).filter(vea)}},
Vc=function(a){return a.hasOwnProperty(zea)?a[zea]:null},Aea=function(a,b){a.forEach(function(c){return Array.isArray(c)?Aea(c,b):b(c)})},Bea=function(a,b){return b>=a.length-1?a.pop():a.splice(b,1)[0]},Cea=function(a,b){for(var c=[],d=0;d<a;d++)c.push(b);return c},Xc=function(a,b,c){var d=Wc(a,b);if(0<=d)a[d|1]=c;else{var e=d=~d,g=a.length;if(g==e)a.push(b,c);else if(1===g)a.push(c,a[0]),a[0]=b;else{g--;for(a.push(a[g-1],a[g]);g>e;)a[g]=a[g-2],g--;a[e]=b;a[e+1]=c}}return d},Dea=function(a,b){b=Wc(a,
b);if(0<=b)return a[b|1]},Wc=function(a,b){for(var c=0,d=a.length>>1;d!==c;){var e=c+(d-c>>1),g=a[e<<1];if(b===g)return e<<1;g>b?d=e:c=e+1}return~(d<<1)},Fea=function(){return{"\u0275providers":Eea(!0,Zc.apply(0,arguments)),"\u0275fromNgModule":!0}},Eea=function(a){var b=[],c=new Set,d;Aea(Zc.apply(1,arguments),function(e){Gea(e,b,[],c)&&(d||(d=[]),d.push(e))});void 0!==d&&Hea(d,b);return b},Hea=function(a,b){for(var c={},d=0;d<a.length;c={$jscomp$loop$prop$providers$2273:c.$jscomp$loop$prop$providers$2273,
$jscomp$loop$prop$ngModule$2274:c.$jscomp$loop$prop$ngModule$2274},d++){var e=a[d];c.$jscomp$loop$prop$ngModule$2274=e.ngModule;c.$jscomp$loop$prop$providers$2273=e.providers;Iea(c.$jscomp$loop$prop$providers$2273,function(){return function(g){b.push(g)}}(c))}},Gea=function(a,b,c,d){a=Fc(a);if(!a)return!1;var e=null,g=$da(a),h=!g&&(a[Pc]||null);if(g||h){if(h&&!h.standalone)return!1;e=a}else{var l=a.ngModule;if(g=$da(l))e=l;else return!1}l=d.has(e);if(h){if(l)return!1;d.add(e);if(h.dependencies)for(g=
"function"===typeof h.dependencies?h.dependencies():h.dependencies,g=k(g),l=g.next();!l.done;l=g.next())Gea(l.value,b,c,d)}else if(g){if(null!=g.imports&&!l){d.add(e);var q;Aea(g.imports,function(v){Gea(v,b,c,d)&&(q||(q=[]),q.push(v))});void 0!==q&&Hea(q,b)}l||(h=Vc(e)||function(){return new e},b.push({provide:e,useFactory:h,deps:Nc},{provide:Jea,useValue:e,multi:!0},{provide:Kea,useValue:function(){return t(e)},multi:!0}));g=g.providers;null==g||l||Iea(g,function(v){b.push(v)})}else return!1;return e!==
a&&void 0!==a.providers},Iea=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())(c=c.value)&&c.\u0275providers&&(c=c.\u0275providers),Array.isArray(c)?Iea(c,b):b(c)},Mea=function(a){return null!==a&&"object"==typeof a&&Lea in a},$c=function(a){return"function"===typeof a},Pea=function(){void 0===Nea&&(Nea=new Oea);return Nea},Rea=function(a){var b=Wda(a);b=null!==b?b.factory:Vc(a);if(null!==b)return b;if(a instanceof ad)throw new Cc(204,!1);if(a instanceof Function)return Qea(a);throw new Cc(204,
!1);},Qea=function(a){var b=a.length;if(0<b)throw Cea(b,"?"),new Cc(204,!1);var c=Xda(a);return null!==c?function(){return c.factory(a)}:function(){return new a}},Uea=function(a){if(Mea(a))return bd(void 0,a.useValue);a=Sea(a);return bd(a,Tea)},Sea=function(a){var b=void 0;if($c(a))return b=Fc(a),Vc(b)||Rea(b);if(Mea(a))b=function(){return Fc(a.useValue)};else if(a&&a.useFactory)b=function(){return a.useFactory.apply(a,cd(iea(a.deps||[])))};else if(a&&a.useExisting)b=function(){return t(Fc(a.useExisting))};
else{var c=Fc(a&&(a.useClass||a.provide));if(a.deps)b=function(){return new (Function.prototype.bind.apply(c,[null].concat(cd(iea(a.deps)))))};else return Vc(c)||Rea(c)}return b},bd=function(a,b,c){return{factory:a,value:b,multi:(void 0===c?0:c)?[]:void 0}},Vea=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Array.isArray(c)?Vea(c,b):c&&c&&c.\u0275providers?Vea(c.\u0275providers,b):b(c)},Wea=function(a){return function(){var b=Zc.apply(0,arguments);if(a){b=a.apply(null,cd(b));
for(var c in b)this[c]=b[c]}}},dd=function(a){return Mc(function(){function b(){function d(h,l,q){for(l=h.hasOwnProperty("__parameters__")?h.__parameters__:Object.defineProperty(h,"__parameters__",{value:[]}).__parameters__;l.length<=q;)l.push(null);(l[q]=l[q]||[]).push(g);return h}var e=Zc.apply(0,arguments);if(this instanceof b)return c.apply(this,e),this;var g=new (Function.prototype.bind.apply(b,[null].concat(cd(e))));d.annotation=g;return d}var c=Wea(a);return b})},ed=function(a){return Array.isArray(a)&&
"object"===typeof a[1]},fd=function(a){return Array.isArray(a)&&!0===a[1]},gd=function(){return Xea},Xea=function(a){a.type.prototype.ngOnChanges&&(a.setInput=Yea);return Zea},Zea=function(){var a=this.__ngSimpleChanges__||null,b=null==a?void 0:a.current;if(b){var c=a.previous;if(c===Rc)a.previous=b;else for(var d in b)c[d]=b[d];a.current=null;this.ngOnChanges(b)}},Yea=function(a,b,c,d){c=this.declaredInputs[c];var e;(e=a.__ngSimpleChanges__||null)||(e=a.__ngSimpleChanges__={previous:Rc,current:null});
var g=e;e=g.current||(g.current={});g=g.previous;var h=g[c];e[c]=new $ea(h&&h.currentValue,b,g===Rc);a[d]=b},hd=function(a){for(;Array.isArray(a);)a=a[0];return a},id=function(a,b){return hd(b[a.index])},jd=function(a,b){a=b[a];return ed(a)?a:a[0]},kd=function(a,b){return null===b||void 0===b?null:a[b]},bfa=function(a){a[2]&1024&&(a[2]&=-1025,afa(a,-1))},afa=function(a,b){a=a[3];if(null!==a){a[5]+=b;var c=a;for(a=a[3];null!==a&&(1===b&&1===c[5]||-1===b&&0===c[5]);)a[5]+=b,c=a,a=a[3]}},u=function(){return ld.lView},
w=function(a){ld.contextLView=a;return a[8]},y=function(a){ld.contextLView=null;return a},md=function(){for(var a=ld.currentTNode;null!==a&&64===a.type;)a=a.parent;return a},nd=function(a,b){var c=ld;c.currentTNode=a;c.isParent=b},od=function(){var a=ld,b=a.bindingRootIndex;-1===b&&(b=a.bindingRootIndex=a.tView.bindingStartIndex);return b},pd=function(a){var b=ld,c=b.bindingIndex;b.bindingIndex+=a;return c},cfa=function(a){var b=ld.currentDirectiveIndex;return-1===b?null:a[b]},efa=function(a,b,c){if(c&
4){for(;!(b=b.parent,null!==b||c&1);){b=a[1];b=2===b.type?b.declTNode:1===b.type?a[6]:null;if(null===b)break;a=a[14];if(b.type&10)break}if(null===b)return!1}c=ld=dfa();c.currentTNode=b;c.lView=a;return!0},ffa=function(a){var b=dfa(),c=a[1];ld=b;b.currentTNode=c.firstChild;b.lView=a;b.tView=c;b.contextLView=a;b.bindingIndex=c.bindingStartIndex;b.inI18n=!1},dfa=function(){var a=ld,b=null===a?null:a.child;return null===b?gfa(a):b},gfa=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},hfa=function(){var a=ld;ld=a.parent;a.currentTNode=null;a.lView=null;return a},ifa=function(){var a=hfa();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},qd=function(){var a=ld;return a.tView.data[a.selectedIndex]},rd=function(){ld.currentNamespace="svg"},sd=function(){ld.currentNamespace=null},td=function(a){var b=jfa;jfa=a;return b},kfa=function(a){var b=td(null);try{return a()}finally{td(b)}},lfa=function(a,b){var c=b.directiveStart;for(b=b.directiveEnd;c<b;c++){var d=a.data[c].type.prototype,e=d.ngAfterContentInit,g=d.ngAfterContentChecked,h=d.ngAfterViewInit,l=d.ngAfterViewChecked;d=d.ngOnDestroy;if(e){var q=void 0,v=
void 0;(null!=(v=(q=a).contentHooks)?v:q.contentHooks=[]).push(-c,e)}g&&(q=e=void 0,(null!=(q=(e=a).contentHooks)?q:e.contentHooks=[]).push(c,g),q=e=void 0,(null!=(q=(e=a).contentCheckHooks)?q:e.contentCheckHooks=[]).push(c,g));h&&(e=g=void 0,(null!=(e=(g=a).viewHooks)?e:g.viewHooks=[]).push(-c,h));l&&(g=h=void 0,(null!=(g=(h=a).viewHooks)?g:h.viewHooks=[]).push(c,l),g=h=void 0,(null!=(g=(h=a).viewCheckHooks)?g:h.viewCheckHooks=[]).push(c,l));null!=d&&(h=l=void 0,(null!=(h=(l=a).destroyHooks)?h:l.destroyHooks=
[]).push(c,d))}},mfa=function(a,b,c,d){(a[2]&3)===c&&ud(a,b,c,d)},nfa=function(a,b){var c=a[2];(c&3)===b&&(a[2]=(c&8191)+1)},ud=function(a,b,c,d){for(var e=null!=d?d:-1,g=b.length-1,h=0,l=void 0!==d?a[17]&65535:0;l<g;l++)if("number"===typeof b[l+1]){if(h=b[l],null!=d&&h>=d)break}else{0>b[l]&&(a[17]+=65536);if(h<e||-1==e){var q=0>b[l],v=b[l+1],x=a[q?-b[l]:b[l]];q?a[2]>>13<a[17]>>16&&(a[2]&3)===c&&(a[2]+=8192,ofa(x,v)):ofa(x,v);a[17]=(a[17]&4294901760)+l+2}l++}},ofa=function(a,b){var c=td(null);try{b.call(a)}finally{td(c)}},
pfa=function(a,b){for(a>>=16;0<a;)b=b[14],a--;return b},rfa=function(a){var b=qfa;qfa=a;return b},tfa=function(a,b,c){var d;"string"===typeof c?d=c.charCodeAt(0)||0:c.hasOwnProperty(vd)&&(d=c[vd]);null==d&&(d=c[vd]=sfa++);c=d&255;b.data[a+(c>>5)]|=1<<c},xfa=function(a,b){var c=ufa(a,b);if(-1!==c)return c;c=b[1];c.firstCreatePass&&(a.injectorIndex=b.length,vfa(c.data,a),vfa(b,null),vfa(c.blueprint,null));c=wfa(a,b);a=a.injectorIndex;if(-1!==c)for(var d=c&32767,e=pfa(c,b),g=e[1].data,h=0;8>h;h++)b[a+
h]=e[d+h]|g[d+h];b[a+8]=c;return a},vfa=function(a,b){a.push(0,0,0,0,0,0,0,0,b)},ufa=function(a,b){return-1===a.injectorIndex||a.parent&&a.parent.injectorIndex===a.injectorIndex||null===b[a.injectorIndex+8]?-1:a.injectorIndex},wfa=function(a,b){if(a.parent&&-1!==a.parent.injectorIndex)return a.parent.injectorIndex;a=0;for(var c=b;null!==c;){b=yfa(c);if(null===b)break;a++;c=c[14];if(-1!==b.injectorIndex)return b.injectorIndex|a<<16}return-1},wd=function(a){var b=md();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},zfa=function(a,b,c,d){c&8&&void 0===d&&(d=null);if(0===(c&3)){a=a[9];var e=Dc();try{return a?a.get(b,d,c&8):dea(b,d,c&8)}finally{Dc(e)}}c&8||void 0!==d?b=d:(bea(),b=void 0);return b},Bfa=function(a,b,c,d,e){d=void 0===d?0:d;if(null!==a){if(b[2]&2048&&!(d&2)){a:{var g=
d;for(var h=xd,l=a,q=b;null!==l&&null!==q&&q[2]&2048&&!(q[2]&512);){var v=Afa(l,q,c,g|2);if(v!==xd){g=v;break a}l=l.parent;if(!l){if(l=q[20])if(l=l.get(c,xd,g),l!==xd){g=l;break a}l=yfa(q);q=q[14]}}g=h}if(g!==xd)return g}a=Afa(a,b,c,d);if(a!==xd)return a}return zfa(b,c,d,e)},Afa=function(a,b,c,d){var e=xd;if("string"===typeof c)var g=c.charCodeAt(0)||0;else g=c.hasOwnProperty(vd)?c[vd]:void 0,g="number"===typeof g?0<=g?g&255:Cfa:g;if("function"===typeof g){if(!efa(b,a,d))return d&1?d&8||void 0!==
e?b=e:(bea(),b=void 0):b=zfa(b,c,d,e),b;try{var h=g(d);if(null!=h||d&8)return h;bea()}finally{hfa()}}else if("number"===typeof g){h=null;var l=ufa(a,b),q=d&1?b[15][6]:null;if(-1===l||d&4){var v=-1===l?wfa(a,b):b[l+8];-1===v||d&2?l=-1:(h=b[1],l=v&32767,b=pfa(v,b))}for(;-1!==l;){a=b[1];if(a.data[l+(g>>5)]&1<<g){v=b[1];var x=v.data[l+8],A=Dfa(x,v,c,null==h?-1<x.componentOffset&&qfa:h!=v&&0!==(x.type&3),d&1&&q===x);v=null!==A?yd(b,v,A,x):xd;if(v!==xd)return v}v=b[l+8];-1!==v&&!(d&2||d&1&&b[1].data[l+
8]===q)&&b[l+(g>>5)]&1<<g?(h=a,l=v&32767,b=pfa(v,b)):l=-1}}return e},Dfa=function(a,b,c,d,e){var g=a.providerIndexes,h=b.data,l=g&1048575;b=a.directiveStart;a=a.directiveEnd;var q=g>>20;g=e?l+q:a;for(d=d?l:l+q;d<g;d++)if(l=h[d],d<b&&c===l||d>=b&&l.type===c)return d;return e&&(e=h[b])&&e.template&&e.type===c?b:null},yd=function(a,b,c,d){var e=a[c],g=b.data;if(e instanceof zd){var h=e;if(h.resolving)throw a=g[c],new Cc(-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():Ac(a)));var l=rfa(h.canSeeViewProviders);h.resolving=!0;var q=h.injectImpl?Dc(h.injectImpl):null;efa(a,d,0);try{if(e=a[c]=h.factory(void 0,g,a,d),b.firstCreatePass&&c>=d.directiveStart){var v=g[c],x=v.type.prototype,A=x.ngOnInit,G=x.ngDoCheck;if(x.ngOnChanges){var M=Xea(v),Q;(null!=(Q=b.preOrderHooks)?Q:b.preOrderHooks=[]).push(c,M);var Y;(null!=(Y=b.preOrderCheckHooks)?Y:b.preOrderCheckHooks=[]).push(c,M)}if(A){var W;
(null!=(W=b.preOrderHooks)?W:b.preOrderHooks=[]).push(-c,A)}if(G){var ia;(null!=(ia=b.preOrderHooks)?ia:b.preOrderHooks=[]).push(c,G);var ja;(null!=(ja=b.preOrderCheckHooks)?ja:b.preOrderCheckHooks=[]).push(c,G)}}}finally{null!==q&&Dc(q),rfa(l),h.resolving=!1,hfa()}}return e},Cfa=function(){return new Ad(md(),u())},Bd=function(a){return Mc(function(){var b=a.prototype.constructor;b=b[zea]||Efa(b);for(var c=Object.prototype,d=Object.getPrototypeOf(a.prototype).constructor;d&&d!==c;){var e=d[zea]||
Efa(d);if(e&&e!==b)return e;d=Object.getPrototypeOf(d)}return function(g){return new g}})},Efa=function(a){return eea(a)?function(){var b=Efa(Fc(a));return b&&b()}:Vc(a)},yfa=function(a){var b=a[1],c=b.type;return 2===c?b.declTNode:1===c?a[6]:null},Hfa=function(a,b,c,d){a=Ffa(a,void 0===b?null:b,void 0===c?null:c,d);Gfa(a);return a},Ffa=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)||Nc,Fea(a)];d=d||("object"===typeof a?void 0:Bc(a));return new Cd(c,b||Pea(),
d||null,e)},Jfa=function(){if(void 0!==Ifa)return Ifa;if("undefined"!==typeof document)return document;throw new Cc(210,!1);},Ed=function(a,b){return new Dd(id(a,b))},Kfa=function(a){return a instanceof Dd?a.nativeElement:a},Fd=function(a,b){ed(b)?(a.__ngContext__=b[19],Lfa.set(b[19],b)):a.__ngContext__=b},Mfa=function(a){a=a[3];return fd(a)?a[3]:a},Nfa=function(a){for(;null!==a&&!fd(a);)a=a[4];return a},Ofa=function(a){for(;a;){a[2]|=64;var b=Mfa(a);if(0!==(a[2]&512)&&!b)break;a=b}},Gd=function(a){return a.ownerDocument.defaultView},
Pfa=function(a){return a.ownerDocument},z=function(a){Qfa(ld.tView,u(),ld.selectedIndex+a)},Qfa=function(a,b,c){3===(b[2]&3)?(a=a.preOrderCheckHooks,null!==a&&ud(b,a,3,c)):(a=a.preOrderHooks,null!==a&&mfa(b,a,0,c));ld.selectedIndex=c},B=function(a,b){b=void 0===b?0:b;var c=u();return null===c?t(a,b):Bfa(md(),c,Fc(a),b)},Hd=function(){throw Error("za");},Tfa=function(){return"".replace(Rfa,function(a){return a.replace(Sfa,"\u200b$1\u200b")})},Id=function(a,b,c,d,e){if(null!=d){var g=!1;if(fd(d))var h=
d;else ed(d)&&(g=!0,d=d[0]);d=hd(d);if(0===a&&null!==c)null==e?b.appendChild(c,d):b.insertBefore(c,d,e||null,!0);else if(1===a&&null!==c)b.insertBefore(c,d,e||null,!0);else if(2===a){var l=b.parentNode(d);l&&b.removeChild(l,d,g)}else 3===a&&b.destroyNode(d);if(null!=h)for(d=h[7],g=hd(h),d!==g&&Id(a,b,c,d,e),e=11;e<h.length;e++)g=h[e],Jd(b,a,g[1].firstChild,g,c,d,!1)}},Ufa=function(a,b){a=a[9];var c=a.indexOf(b);bfa(b);a.splice(c,1)},Vfa=function(a,b){if(!(11>=a.length)){var c=11+b,d=a[c];if(d){var e=
d[16];null!==e&&e!==a&&Ufa(e,d);0<b&&(a[c-1][4]=d[4]);a=Bea(a,11+b);Jd(d[11],2,d[1].firstChild,d,null,null,!1);d[0]=null;d[6]=null;b=a[18];null!==b&&b.detachView(a[1]);d[3]=null;d[4]=null;d[2]&=-129}return d}},Xfa=function(a,b){if(!(b[2]&256)){var c=b[11],d;null==(d=b[23])||d.destroy();var e;null==(e=b[24])||e.destroy();c.destroyNode&&Jd(c,3,a.firstChild,b,null,null,!1);if(a=b[12])for(;a;){c=null;ed(a)?c=a[12]:(d=a[11])&&(c=d);if(!c){for(;a&&!a[4]&&a!==b;)ed(a)&&Wfa(a[1],a),a=a[3];null===a&&(a=b);
ed(a)&&Wfa(a[1],a);c=a&&a[4]}a=c}else Wfa(b[1],b)}},Wfa=function(a,b){if(!(b[2]&256)){b[2]&=-129;b[2]|=256;var c;if(null!=a&&null!=(c=a.destroyHooks))for(var d=0;d<c.length;d+=2){var e=b[c[d]];if(!(e instanceof zd)){var g=c[d+1];if(Array.isArray(g))for(var h=0;h<g.length;h+=2)g[h+1].call(e[g[h]]);else g.call(e)}}c=a.cleanup;d=b[7];if(null!==c)for(e=0;e<c.length-1;e+=2)if("string"===typeof c[e]){g=c[e+3];if(0<=g)d[g]();else d[-g].unsubscribe();e+=2}else c[e].call(d[c[e+1]]);null!==d&&(b[7]=null);c=
b[21];if(null!==c)for(b[21]=null,d=0;d<c.length;d++)(0,c[d])();1===b[1].type&&b[11].destroy();c=b[16];null!==c&&fd(b[3])&&(c!==b[3]&&Ufa(c,b),c=b[18],null!==c&&c.detachView(a));Lfa.delete(b[19])}},Yfa=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:id(b,c)},Zfa=function(a,b,c,d){a=Yfa(a,d.parent,b);var e=b[11];d=d.parent||b[6];b=d.type&40?id(d,b):null;if(null!=a)if(Array.isArray(c))for(d=
0;d<c.length;d++){var g=c[d];null!==b?e.insertBefore(a,g,b,!1):e.appendChild(a,g)}else null!==b?e.insertBefore(a,c,b,!1):e.appendChild(a,c)},aga=function(a,b){if(null!==b){var c=b.type;if(c&3)return id(b,a);if(c&4)return $fa(-1,a[b.index]);if(c&8){c=b.child;if(null!==c)return aga(a,c);a=a[b.index];return fd(a)?$fa(-1,a):hd(a)}if(c&32)return(void 0)(b,a)()||hd(a[b.index]);c=null!==b?a[15][6].projection[b.projection]:null;if(null!==c){if(Array.isArray(c))return c[0];a=Mfa(a[15]);return aga(a,c)}return aga(a,
b.next)}return null},$fa=function(a,b){a+=12;if(a<b.length){a=b[a];var c=a[1].firstChild;if(null!==c)return aga(a,c)}return b[7]},Jd=function(a,b,c,d,e,g,h){for(;null!=c;){var l=d[c.index],q=c.type;h&&0===b&&(l&&Fd(hd(l),d),c.flags|=2);if(32!==(c.flags&32))if(q&8)Jd(a,b,c.child,d,e,g,!1),Id(b,a,e,l,g);else if(q&32){q=(void 0)(c,d);for(var v;v=q();)Id(b,a,e,v,g);Id(b,a,e,l,g)}else q&16?bga(a,b,d,c,e,g):Id(b,a,e,l,g);c=h?c.projectionNext:c.next}},bga=function(a,b,c,d,e,g){var h=c[15];c=h[6].projection[d.projection];
if(Array.isArray(c))for(d=0;d<c.length;d++)Id(b,a,e,c[d],g);else h=h[3],128===(d.flags&128)&&(c.flags|=128),Jd(a,b,c,h,e,g,!0)},cga=function(a,b,c){var d=c.mergedAttrs,e=c.classes;c=c.styles;null!==d&&kea(a,b,d);null!==e&&(""===e?a.removeAttribute(b,"class"):a.setAttribute(b,"class",e));null!==c&&a.setAttribute(b,"style",c)},dga=function(){null!=Kd||(Kd=new Ld);return Kd},ega=function(a,b){var c;return null!=(c=a[b])?c:dga()},fga=function(a,b){var c=dga();c.hasReadASignal&&(a[b]=Kd,c.lView=a,Kd=new Ld)},
Nd=function(a){return a instanceof Md?a.changingThisBreaksApplicationSecurity:a},Pd=function(a,b){a=a instanceof Md&&a.getTypeName()||null;if(null!=a&&a!==b){if("ResourceURL"===a&&"URL"===b)return!0;throw Error("Aa`"+b+"`"+a);}return a===b},hga=function(){if(void 0===gga&&(gga=null,Qd.trustedTypes))try{gga=Qd.trustedTypes.createPolicy("angular",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return gga},iga=function(a){var b;return(null==
(b=hga())?void 0:b.createHTML(a))||a},kga=function(a){a=String(a);return a.match(jga)?a:"unsafe:"+a},Rd=function(a){var b={};a=k(a.split(","));for(var c=a.next();!c.done;c=a.next())b[c.value]=!0;return b},Sd=function(){for(var a={},b=k(Zc.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},nga=function(a){return a.replace(/&/g,"&amp;").replace(lga,function(b){return"&#"+(1024*(b.charCodeAt(0)-55296)+(b.charCodeAt(1)-56320)+65536)+";"}).replace(mga,
function(b){return"&#"+b.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")},xga=function(a,b){var c=null;try{var d;if(!(d=oga)){var e=new pga(a);try{var g=!!(new window.DOMParser).parseFromString(iga(""),"text/html")}catch(ia){g=!1}d=g?new qga(e):e}oga=d;var h=b?String(b):"";c=oga.getInertBodyElement(h);a=5;b=h;do{if(0===a)throw Error("Ca");a--;h=b;b=c.innerHTML;c=oga.getInertBodyElement(h)}while(h!==b);var l=new rga,q=(("content"in c&&c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName?
c.content:null)||c).firstChild;for(h=!0;q;){if(q.nodeType===Node.ELEMENT_NODE){a=l;b=q;var v=b.nodeName.toLowerCase();if(sga.hasOwnProperty(v)){a.buf.push("<");a.buf.push(v);var x=b.attributes;for(b=0;b<x.length;b++){var A=x.item(b),G=A.name,M=G.toLowerCase();if(tga.hasOwnProperty(M)){var Q=A.value;uga[M]&&(Q=kga(Q));a.buf.push(" ",G,'="',nga(Q),'"')}}a.buf.push(">");h=!0}else h=!vga.hasOwnProperty(v)}else q.nodeType===Node.TEXT_NODE&&l.buf.push(nga(q.nodeValue));if(h&&q.firstChild)q=q.firstChild;
else for(;q;){q.nodeType===Node.ELEMENT_NODE&&l.endElement(q);var Y=wga(q,q.nextSibling);if(Y){q=Y;break}q=wga(q,q.parentNode)}}var W=l.buf.join("");return iga(W)}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)}},zga=function(){if(void 0===yga&&(yga=null,Qd.trustedTypes))try{yga=Qd.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(a){return a},createScript:function(a){return a},
createScriptURL:function(a){return a}})}catch(a){}return yga},Aga=function(a){var b;return(null==(b=zga())?void 0:b.createHTML(a))||a},Bga=function(a){var b;return(null==(b=zga())?void 0:b.createScriptURL(a))||a},Td=function(a){var b=Cga();return b?Aga(b.sanitize(1,a)||""):Pd(a,"HTML")?Aga(Nd(a)):xga(Jfa(),Ac(a))},Dga=function(a){var b=Cga();return b?b.sanitize(2,a)||"":Pd(a,"Style")?Nd(a):Ac(a)},Ud=function(a){var b=Cga();return b?b.sanitize(4,a)||"":Pd(a,"URL")?Nd(a):kga(Ac(a))},Ega=function(a){var b=
Cga();if(b)return Bga(b.sanitize(5,a)||"");if(Pd(a,"ResourceURL"))return Bga(Nd(a));throw new Cc(904,!1);},Cga=function(){var a=u();return a&&a[10].sanitizer},Gga=function(a,b,c,d,e,g,h,l,q,v,x){var A=b.blueprint.slice();A[0]=e;A[2]=d|140;if(null!==v||a&&a[2]&2048)A[2]|=2048;A[17]=0;A[3]=A[14]=a;A[8]=c;A[10]=h||a&&a[10];A[11]=l||a&&a[11];A[9]=q||a&&a[9]||null;A[6]=g;A[19]=Fga++;A[22]=x;A[20]=v;A[15]=2==b.type?a[15]:A;return A},Vd=function(a,b,c,d,e){var g=a.data[b];if(null===g){g=ld.currentTNode;
var h=ld.isParent,l=a.data,q=h?g:g&&g.parent,v=q?q.injectorIndex:-1,x=0;null!==Hga&&(x|=128);b=l[b]={type:c,index:b,insertBeforeIndex:null,injectorIndex:v,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:x,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!==g&&(h?null==g.child&&null!==b.parent&&(g.child=b):null===g.next&&(g.next=b,b.prev=g));g=b;ld.inI18n&&(g.flags|=32)}else g.type&64&&(g.type=c,g.value=d,g.attrs=e,a=ld,b=a.currentTNode,a=a.isParent?b:b.parent,g.injectorIndex=null===a?-1:a.injectorIndex);nd(g,!0);return g},Iga=function(a,b,c,d){if(0===c)return-1;for(var e=b.length,g=0;g<c;g++)b.push(d),a.blueprint.push(d),
a.data.push(null);return e},Jga=function(a,b,c,d,e){var g=ega(b,23),h=ld.selectedIndex,l=d&2;try{if(ld.selectedIndex=-1,l&&25<b.length&&Qfa(a,b,25),l)g.runInContext(c,d,e);else{var q=td(null);try{c(d,e)}finally{td(q)}}}finally{l&&null===b[23]&&fga(b,23),ld.selectedIndex=h}},Kga=function(a,b,c){if(0!==(b.flags&4)){var d=td(null);try{for(var e=b.directiveEnd,g=b.directiveStart;g<e;g++){var h=a.data[g];h.contentQueries&&h.contentQueries(1,c[g],g)}}finally{td(d)}}},Pga=function(a,b,c){var d=id(c,b),e=
c.directiveStart,g=c.directiveEnd;if(-1<c.componentOffset){var h=a.data[e+c.componentOffset],l=id(c,b),q=Lga(h),v=b[10].rendererFactory,x=16;h.signals?x=4096:h.onPush&&(x=64);h=Mga(b,Gga(b,q,null,x,l,c,null,v.createRenderer(l,h),null,null,null));b[c.index]=h}a.firstCreatePass||xfa(c,b);Fd(d,b);d=c.initialInputs;for(h=e;h<g;h++){l=a.data[h];q=yd(b,a,h,c);Fd(q,b);if(null!==d&&(v=d[h-e],null!==v))for(x=0;x<v.length;){var A=v[x++],G=v[x++],M=v[x++];Nga(l,q,A,G,M)}l.template&&(jd(c.index,b)[8]=yd(b,a,
h,c))}64===(c.flags&64)&&Oga(a,b,c)},Qga=function(a,b,c){c=void 0===c?id:c;var d=b.localNames;if(null!==d)for(var e=b.index+1,g=0;g<d.length;g+=2){var h=d[g+1];h=-1===h?c(b,a):a[h];a[e++]=h}},Lga=function(a){var b=a.tView;return null===b||b.incompleteFirstPass?a.tView=Rga(1,null,a.template,a.decls,a.vars,a.directiveDefs,a.pipeDefs,a.viewQuery,a.schemas,a.consts,a.id):b},Rga=function(a,b,c,d,e,g,h,l,q,v,x){d=25+d;e=d+e;for(var A=[],G=0;G<e;G++)A.push(G<d?null:Wd);v="function"===typeof v?v():v;return A[1]=
{type:a,blueprint:A,template:c,queries:null,viewQuery:l,declTNode:b,data:A.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 g?g():g,pipeRegistry:"function"===
typeof h?h():h,firstChild:null,schemas:q,consts:v,incompleteFirstPass:!1,ssrId:x}},Sga=function(a,b,c,d){for(var e in a)if(a.hasOwnProperty(e)){c=null===c?{}:c;var g=a[e];if(null===d){var h=c,l=b,q=e;h.hasOwnProperty(q)?h[q].push(l,g):h[q]=[l,g]}else d.hasOwnProperty(e)&&(h=c,l=b,q=d[e],h.hasOwnProperty(q)?h[q].push(l,g):h[q]=[l,g])}return c},Xd=function(a,b,c,d,e,g,h,l){var q=id(b,c),v=b.inputs,x;!l&&null!=v&&(x=v[d])?(Tga(a,c,x,d,e),-1<b.componentOffset&&(a=jd(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,g.setProperty(q,d,e))},Wga=function(a,b,c,d){var e=null===d?null:{"":-1};var g=a.directiveRegistry;var h=null,l=null;if(g)for(var q=0;q<g.length;q++){var v=g[q];if(nea(c,v.selectors,!1))if(h||(h=[]),v.template)if(null!==v.findHostDirectiveDefs){var x=[];l=l||new Map;v.findHostDirectiveDefs(v,x,l);h.unshift.apply(h,
[].concat(cd(x),[v]));Uga(a,c,x.length)}else h.unshift(v),Uga(a,c,0);else{l=l||new Map;var A=x=void 0;null==(A=(x=v).findHostDirectiveDefs)||A.call(x,v,h,l);h.push(v)}}g=null===h?null:[h,l];null===g?g=h=null:(h=k(g),g=h.next().value,h=h.next().value);null!==g&&Vga(a,b,c,g,e,h);if(e&&d)for(a=c.localNames=[],b=0;b<d.length;b+=2){g=e[d[b+1]];if(null==g)throw new Cc(-301,!1);a.push(d[b],g)}c.mergedAttrs=Lc(c.mergedAttrs,c.attrs)},Vga=function(a,b,c,d,e,g){for(var h=0;h<d.length;h++){var l=xfa(c,b);tfa(l,
a,d[h].type)}h=a.data.length;l=d.length;c.flags|=1;c.directiveStart=h;c.directiveEnd=h+l;c.providerIndexes=h;for(h=0;h<d.length;h++)l=d[h],l.providersResolver&&l.providersResolver(l);var q=!1,v=!1;h=Iga(a,b,d.length,null);for(l=0;l<d.length;l++){var x=d[l];c.mergedAttrs=Lc(c.mergedAttrs,x.hostAttrs);var A=a,G=c,M=b,Q=h;A.data[Q]=x;var Y=x.factory||(x.factory=Vc(x.type));Y=new zd(Y,!!x.template);A.blueprint[Q]=Y;M[Q]=Y;var W=G;M=Iga(A,M,x.hostVars,Wd);if(G=x.hostBindings){Y=A.hostBindingOpCodes;null===
Y&&(Y=A.hostBindingOpCodes=[]);A=~W.index;a:{for(W=Y.length;0<W;){var ia=Y[--W];if("number"===typeof ia&&0>ia){W=ia;break a}}W=0}W!=A&&Y.push(A);Y.push(Q,M,G)}A=h;if(Q=e){if(x.exportAs)for(M=0;M<x.exportAs.length;M++)Q[x.exportAs[M]]=A;x.template&&(Q[""]=A)}null!==x.contentQueries&&(c.flags|=4);if(null!==x.hostBindings||null!==x.hostAttrs||0!==x.hostVars)c.flags|=64;x=x.type.prototype;!q&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&(A=q=void 0,(null!=(A=(q=a).preOrderHooks)?A:q.preOrderHooks=[]).push(c.index),
q=!0);v||!x.ngOnChanges&&!x.ngDoCheck||(x=v=void 0,(null!=(x=(v=a).preOrderCheckHooks)?x:v.preOrderCheckHooks=[]).push(c.index),v=!0);h++}b=c.directiveEnd;a=a.data;d=c.attrs;e=[];l=h=null;for(q=c.directiveStart;q<b;q++){v=a[q];A=(x=g?g.get(v):null)?x.outputs:null;h=Sga(v.inputs,q,h,x?x.inputs:null);l=Sga(v.outputs,q,l,A);if(null===h||null===d||4===c.type&&"ng-template"!==c.value)v=null;else{v=h;x=q;A=null;for(Q=0;Q<d.length;)if(M=d[Q],0===M)Q+=4;else{if(5!==M){if("number"===typeof M)break;if(v.hasOwnProperty(M))for(null===
A&&(A=[]),G=v[M],Y=0;Y<G.length;Y+=2)if(G[Y]===x){A.push(M,G[Y+1],d[Q+1]);break}}Q+=2}v=A}e.push(v)}null!==h&&(h.hasOwnProperty("class")&&(c.flags|=8),h.hasOwnProperty("style")&&(c.flags|=16));c.initialInputs=e;c.inputs=h;c.outputs=l},Oga=function(a,b,c){var d=c.directiveStart,e=c.directiveEnd,g=c.index;c=ld.currentDirectiveIndex;try{for(ld.selectedIndex=g;d<e;d++){var h=a.data[d],l=b[d];ld.currentDirectiveIndex=d;null===h.hostBindings&&0===h.hostVars&&null===h.hostAttrs||null===h.hostBindings||h.hostBindings(1,
l)}}finally{ld.selectedIndex=-1,ld.currentDirectiveIndex=c}},Uga=function(a,b,c){b.componentOffset=c;var d;(null!=(d=a.components)?d:a.components=[]).push(b.index)},Xga=function(a,b,c,d,e,g){var h=id(a,b);b=b[11];a=a.value;null==d?b.removeAttribute(h,c,g):(d=null==e?Ac(d):e(d,a||"",c),b.setAttribute(h,c,d,g))},Nga=function(a,b,c,d,e){var g=td(null);try{var h=a.inputTransforms;null!==h&&h.hasOwnProperty(d)&&(e=h[d].call(b,e));null!==a.setInput?a.setInput(b,e,c,d):b[d]=e}finally{td(g)}},Yga=function(a,
b){var c=a.contentQueries;if(null!==c)for(var d=0;d<c.length;d+=2){var e=c[d],g=c[d+1];if(-1!==g){var h=a.data[g];ld.currentQueryIndex=e;h.contentQueries(2,b[g],g)}}},Mga=function(a,b){a[12]?a[13][4]=b:a[12]=b;return a[13]=b},Zga=function(a,b,c){ld.currentQueryIndex=0;var d=td(null);try{b(a,c)}finally{td(d)}},$ga=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]},aha=function(a,b){(a=(a=a[9])?a.get(Yd,null):
null)&&a.handleError(b)},Tga=function(a,b,c,d,e){for(var g=0;g<c.length;){var h=c[g++],l=c[g++];Nga(a.data[h],b[h],d,l,e)}},bha=function(a,b){var c=hd(a[ld.selectedIndex]);a[11].setValue(c,b)},cha=function(a,b,c){ffa(b);try{var d=a.viewQuery;null!==d&&Zga(1,d,c);var e=a.template;null!==e&&Jga(a,b,e,1,c);a.firstCreatePass&&(a.firstCreatePass=!1);a.staticContentQueries&&Yga(a,b);a.staticViewQueries&&Zga(2,a.viewQuery,c);var g=a.components;if(null!==g)for(c=0;c<g.length;c++){var h=jd(g[c],b),l=h[1];
d=l;e=h;for(var q=e.length;q<d.blueprint.length;q++)e.push(d.blueprint[q]);null!==h[0]&&null===h[22]&&(h[22]=null);cha(l,h,h[8])}}catch(v){throw a.firstCreatePass&&(a.incompleteFirstPass=!0,a.firstCreatePass=!1),v;}finally{b[2]&=-5,ifa()}},dha=function(a,b,c){var d=c?a.styles:null,e=c?a.classes:null,g=0;if(null!==b)for(var h=0;h<b.length;h++){var l=b[h];if("number"===typeof l)g=l;else if(1==g)e=aea(e,l);else if(2==g){var q=b[++h];d=aea(d,l+": "+q+";")}}c?a.styles=d:a.stylesWithoutHost=d;c?a.classes=
e:a.classesWithoutHost=e},eha=function(a,b,c,d,e){for(e=void 0===e?!1:e;null!==c;){var g=b[c.index];null!==g&&d.push(hd(g));if(fd(g)){for(var h=11;h<g.length;h++){var l=g[h],q=l[1].firstChild;null!==q&&eha(l[1],l,q,d)}g[7]!==g[0]&&d.push(g[7])}g=c.type;if(g&8)eha(a,b,c.child,d);else if(g&32)for(g=(void 0)(c,b);h=g();)d.push(h);else g&16&&(g=null!==c?b[15][6].projection[c.projection]:null,Array.isArray(g)?d.push.apply(d,cd(g)):(h=Mfa(b[15]),eha(h[1],h,g,d,!0)));c=e?c.projectionNext:c.next}return d},
gha=function(a,b,c,d){d=void 0===d?!0:d;var e=b[10].rendererFactory;e.begin&&e.begin();try{fha(a,b,a.template,c)}catch(h){throw d&&aha(b,h),h;}finally{e.end&&e.end();var g;null!=(g=b[10].effectManager)&&g.flush()}},fha=function(a,b,c,d){var e=b[2];if(256!==(e&256)){var g;null!=(g=b[10].effectManager)&&g.flush();ffa(b);try{b[17]=0;ld.bindingIndex=a.bindingStartIndex;null!==c&&Jga(a,b,c,2,d);if(c=3===(e&3)){var h=a.preOrderCheckHooks;null!==h&&ud(b,h,3,null)}else{var l=a.preOrderHooks;null!==l&&mfa(b,
l,0,null);nfa(b,0)}for(var q=Nfa(b[12]);null!==q;q=Nfa(q[4]))if(q[2]){var v=q[9];for(h=0;h<v.length;h++){var x=v[h];0===(x[2]&1024)&&(x[2]|=1024,afa(x,1))}}hha(b,2);null!==a.contentQueries&&Yga(a,b);if(c){var A=a.contentCheckHooks;null!==A&&ud(b,A,3)}else{var G=a.contentHooks;null!==G&&mfa(b,G,1);nfa(b,1)}var M=a.hostBindingOpCodes;if(null!==M){var Q=ega(b,24);try{for(q=0;q<M.length;q++){var Y=M[q];if(0>Y)ld.selectedIndex=~Y;else{v=Y;var W=M[++q],ia=M[++q];x=ld;x.bindingIndex=x.bindingRootIndex=W;
ld.currentDirectiveIndex=v;Q.runInContext(ia,2,b[v])}}}finally{null===b[24]&&fga(b,24),ld.selectedIndex=-1}}var ja=a.components;if(null!==ja)for(M=0;M<ja.length;M++){var Aa=jd(ja[M],b);iha(Aa,0)}var Da=a.viewQuery;null!==Da&&Zga(2,Da,d);if(c){var Oa=a.viewCheckHooks;null!==Oa&&ud(b,Oa,3)}else{var Ta=a.viewHooks;null!==Ta&&mfa(b,Ta,2);nfa(b,2)}!0===a.firstUpdatePass&&(a.firstUpdatePass=!1);b[2]&=-73;bfa(b)}finally{ifa()}}},hha=function(a,b){for(a=Nfa(a[12]);null!==a;a=Nfa(a[4]))for(var c=11;c<a.length;c++)iha(a[c],
b)},iha=function(a,b){if(128===(a[2]&128)){var c=a[1];if(a[2]&80&&0===b||a[2]&1024||2===b)fha(c,a,c.template,a[8]);else if(0<a[5]&&(hha(a,1),b=a[1].components,null!==b))for(c=0;c<b.length;c++){var d=jd(b[c],a);iha(d,1)}}},jha=function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push({propName:a[c],templateName:c});return b},kha=function(){lfa(u()[1],md())},lha=function(a,b,c){return new Zd(a,b,c)},nha=function(a,b,c){return(new mha({providers:a,parent:b,debugName:void 0===c?null:c,runEnvironmentInitializers:!0})).injector},
$d=function(a){return!!a&&"function"===typeof a.then},oha=function(a){return!!a&&"function"===typeof a.subscribe},ae=function(a){var b=a.toLowerCase().replace(/_/g,"-");if(a=pha(b))return a;b=b.split("-")[0];if(a=pha(b))return a;if("en"===b)return qha;throw new Cc(701,!1);},pha=function(a){a in rha||(rha[a]=Qd.ng&&Qd.ng.common&&Qd.ng.common.locales&&Qd.ng.common.locales[a]);return rha[a]},be=function(a){setTimeout(function(){throw a;},0)},ce=function(a){return"function"===typeof a},sha=function(a){return null!==
a&&"object"===typeof a},tha=function(a){return a instanceof de||a&&"closed"in a&&"function"===typeof a.remove&&"function"===typeof a.add&&"function"===typeof a.unsubscribe},uha=function(a){return a.reduce(function(b,c){return b.concat(c instanceof ee?c.errors:c)},[])},vha=function(a){for(;a;){var b=a,c=b.destination,d=b.isStopped;if(b.closed||d)return!1;c&&c instanceof fe?a=c:a=null}return!0},ge=function(a){return a},wha=function(a){return 0===a.length?ge:1===a.length?a[0]:function(b){return a.reduce(function(c,
d){return d(c)},b)}},xha=function(a){return a&&"function"===typeof a.next&&"function"===typeof a.error&&"function"===typeof a.complete},yha=function(a){a||(a=he.Promise||Promise);if(!a)throw Error("Fa");return a},zha=function(a){return new ie(function(b){return a.schedule(function(){return b.complete()})})},Aha=function(a,b){return new ie(function(c){var d=new de,e=0;d.add(b.schedule(function(){e===a.length?c.complete():(c.next(a[e++]),c.closed||d.add(this.schedule()))}));return d})},je=function(a,
b){return b?Aha(a,b):new ie(Bha(a))},ke=function(a){return a&&"function"===typeof a.schedule},Cha=function(){var a=Zc.apply(0,arguments),b=a[a.length-1];return ke(b)?(a.pop(),Aha(a,b)):je(a)},Dha=function(a){a.subscriber.error(a.error)},le=function(a,b){if(a&&"function"===typeof a.lift)return a.lift(b);throw new TypeError("Ga");},Eha=function(a,b,c){if(a&&"function"===typeof a.lift)return a.lift.call(b,c);throw new TypeError("Ga");},me=function(){return function(a){return le(a,new Fha)}},C=function(a){return function(b){if("function"!==
typeof a)throw new TypeError("Ha");return le(b,new Gha(a))}},Iha=function(a,b,c){if(b)if(ke(b))c=b;else return function(){return Iha(a,c).apply(null,cd(Zc.apply(0,arguments))).pipe(C(function(d){return ne(d)?b.apply(null,cd(d)):b(d)}))};return function(){var d=Zc.apply(0,arguments),e=this,g,h={context:e,subject:void 0,callbackFunc:a,scheduler:c};return new ie(function(l){if(c)return c.schedule(Jha,0,{args:d,subscriber:l,params:h});if(!g){g=new oe;var q=function(){var v=Zc.apply(0,arguments);g.next(1>=
v.length?v[0]:v);g.complete()};try{a.apply(e,[].concat(cd(d),[q]))}catch(v){vha(g)?g.error(v):console.warn(v)}}return g.subscribe(l)})}},Jha=function(a){var b=this,c=a.args,d=a.subscriber,e=a.params;a=e.callbackFunc;var g=e.context,h=e.scheduler,l=e.subject;if(!l){l=e.subject=new oe;e=function(){var q=Zc.apply(0,arguments);b.add(h.schedule(Kha,0,{value:1>=q.length?q[0]:q,subject:l}))};try{a.apply(g,[].concat(cd(c),[e]))}catch(q){l.error(q)}}this.add(l.subscribe(d))},Kha=function(a){var b=a.subject;
b.next(a.value);b.complete()},Lha=function(a,b,c){if(b)if(ke(b))c=b;else return function(){return Lha(a,c).apply(null,cd(Zc.apply(0,arguments))).pipe(C(function(d){return ne(d)?b.apply(null,cd(d)):b(d)}))};return function(){var d=Zc.apply(0,arguments),e={subject:void 0,args:d,callbackFunc:a,scheduler:c,context:this};return new ie(function(g){var h=e.context,l=e.subject;if(c)return c.schedule(Mha,0,{params:e,subscriber:g,context:h});if(!l){l=e.subject=new oe;var q=function(){var v=Zc.apply(0,arguments),
x=v.shift();x?l.error(x):(l.next(1>=v.length?v[0]:v),l.complete())};try{a.apply(h,[].concat(cd(d),[q]))}catch(v){vha(l)?l.error(v):console.warn(v)}}return l.subscribe(g)})}},Mha=function(a){var b=this,c=a.params,d=a.subscriber;a=a.context;var e=c.callbackFunc,g=c.args,h=c.scheduler,l=c.subject;if(!l){l=c.subject=new oe;c=function(){var q=Zc.apply(0,arguments),v=q.shift();v?b.add(h.schedule(Nha,0,{err:v,subject:l})):b.add(h.schedule(Oha,0,{value:1>=q.length?q[0]:q,subject:l}))};try{e.apply(a,[].concat(cd(g),
[c]))}catch(q){this.add(h.schedule(Nha,0,{err:q,subject:l}))}}this.add(l.subscribe(d))},Oha=function(a){var b=a.subject;b.next(a.value);b.complete()},Nha=function(a){a.subject.error(a.err)},Pha=function(a){return!!a&&"function"!==typeof a.subscribe&&"function"===typeof a.then},Rha=function(a){return function(b){Qha(a,b).catch(function(c){return b.error(c)})}},Qha=function(a,b){var c,d,e,g,h,l;return pe(function(q){switch(q.nextAddress){case 1:qe(q,2,3);var v=a[Symbol.asyncIterator];g=void 0!==v?v.call(a):
new Sha(k(a));case 5:return q.yield(g.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:re(q);q.catchAddress_=0;q.finallyAddress_=9;if(!d||d.done||!(e=g.return)){q.jumpTo(9);break}return q.yield(e.call(g),9);case 9:re(q,0,0,1);if(c)throw c.error;se(q,10,1);break;case 10:se(q,4);break;case 2:l=te(q);c={error:l};q.jumpTo(3);break;case 4:b.complete(),ue(q)}})},ve=function(a,b){if(!b.closed)return a instanceof ie?a.subscribe(b):Tha(a)(b)},Uha=function(a,
b){if(!a)throw Error("Ka");return new ie(function(c){var d=new de;d.add(b.schedule(function(){var e=a[Symbol.asyncIterator]();d.add(b.schedule(function(){var g=this;e.next().then(function(h){h.done?c.complete():(c.next(h.value),g.schedule())})}))}));return d})},Vha=function(a,b){if(!a)throw Error("Ka");return new ie(function(c){var d=new de,e;d.add(function(){e&&"function"===typeof e.return&&e.return()});d.add(b.schedule(function(){e=a[we]();d.add(b.schedule(function(){if(!c.closed){try{var g=e.next();
var h=g.value;var l=g.done}catch(q){c.error(q);return}l?c.complete():(c.next(h),this.schedule())}}))}));return d})},Wha=function(a,b){return new ie(function(c){var d=new de;d.add(b.schedule(function(){var e=a[xe]();d.add(e.subscribe({next:function(g){d.add(b.schedule(function(){return c.next(g)}))},error:function(g){d.add(b.schedule(function(){return c.error(g)}))},complete:function(){d.add(b.schedule(function(){return c.complete()}))}}))}));return d})},Xha=function(a,b){return new ie(function(c){var d=
new de;d.add(b.schedule(function(){return a.then(function(e){d.add(b.schedule(function(){c.next(e);d.add(b.schedule(function(){return c.complete()}))}))},function(e){d.add(b.schedule(function(){return c.error(e)}))})}));return d})},Zha=function(a,b){if(null!=a){if(a&&"function"===typeof a[xe])return Wha(a,b);if(Pha(a))return Xha(a,b);if(Yha(a))return Aha(a,b);if(a&&"function"===typeof a[we]||"string"===typeof a)return Vha(a,b);if(Symbol&&Symbol.asyncIterator&&"function"===typeof a[Symbol.asyncIterator])return Uha(a,
b)}throw new TypeError("La`"+(null!==a&&typeof a||a));},ye=function(a,b){return b?Zha(a,b):a instanceof ie?a:new ie(Tha(a))},ze=function(a,b){var c=void 0===c?Infinity:c;if("function"===typeof b)return function(d){return d.pipe(ze(function(e,g){return ye(a(e,g)).pipe(C(function(h,l){return b(e,h,g,l)}))},c))};"number"===typeof b&&(c=b);return function(d){return le(d,new $ha(a,c))}},Be=function(a){a=void 0===a?Infinity:a;return ze(ge,a)},Ce=function(){return Be(1)(Cha.apply(null,cd(Zc.apply(0,arguments))))},
aia=function(a){return new ie(function(b){try{var c=a()}catch(d){b.error(d);return}return ye(c).subscribe(b)})},dia=function(a){return new ie(function(b){var c=a||bia,d=c.now(),e=function(h){var l=c.now();b.next({timestamp:a?l:h,elapsed:l-d});b.closed||(g=cia(e))};var g=cia(e);return function(){return g.unsubscribe()}})},eia=function(a,b){return new ie(function(c){var d=a.length;if(0===d)c.complete();else for(var e=Array(d),g=0,h=0,l={$jscomp$loop$prop$i$2281:0};l.$jscomp$loop$prop$i$2281<d;l={$jscomp$loop$prop$hasValue$2282:l.$jscomp$loop$prop$hasValue$2282,
$jscomp$loop$prop$i$2281:l.$jscomp$loop$prop$i$2281},l.$jscomp$loop$prop$i$2281++){var q=ye(a[l.$jscomp$loop$prop$i$2281]);l.$jscomp$loop$prop$hasValue$2282=!1;c.add(q.subscribe({next:function(v){return function(x){v.$jscomp$loop$prop$hasValue$2282||(v.$jscomp$loop$prop$hasValue$2282=!0,h++);e[v.$jscomp$loop$prop$i$2281]=x}}(l),error:function(v){return c.error(v)},complete:function(v){return function(){g++;g!==d&&v.$jscomp$loop$prop$hasValue$2282||(h===d&&c.next(b?b.reduce(function(x,A,G){return x[A]=
e[G],x},{}):e),c.complete())}}(l)}))}})},fia=function(a,b,c,d){ce(c)&&(d=c,c=void 0);return d?fia(a,b,c).pipe(C(function(e){return ne(e)?d.apply(null,cd(e)):d(e)})):new ie(function(e){gia(a,b,function(g){1<arguments.length?e.next(Array.prototype.slice.call(arguments)):e.next(g)},e,c)})},gia=function(a,b,c,d,e){if(a&&"function"===typeof a.addEventListener&&"function"===typeof a.removeEventListener){a.addEventListener(b,c,e);var g=function(){return a.removeEventListener(b,c,e)}}else if(a&&"function"===
typeof a.on&&"function"===typeof a.off)a.on(b,c),g=function(){return a.off(b,c)};else if(a&&"function"===typeof a.addListener&&"function"===typeof a.removeListener)a.addListener(b,c),g=function(){return a.removeListener(b,c)};else if(a&&a.length)for(var h=0,l=a.length;h<l;h++)gia(a[h],b,c,d,e);else throw new TypeError("Ma");d.add(g)},hia=function(a,b,c){return c?hia(a,b).pipe(C(function(d){return ne(d)?c.apply(null,cd(d)):c(d)})):new ie(function(d){var e=function(){var h=Zc.apply(0,arguments);return d.next(1===
h.length?h[0]:h)};try{var g=a(e)}catch(h){d.error(h);return}if(ce(b))return function(){return b(e,g)}})},iia=function(a){var b=a.subscriber,c=a.condition;if(!b.closed){if(a.needIterate)try{a.state=a.iterate(a.state)}catch(g){b.error(g);return}else a.needIterate=!0;if(c){try{var d=c(a.state)}catch(g){b.error(g);return}if(!d){b.complete();return}if(b.closed)return}try{var e=a.resultSelector(a.state)}catch(g){b.error(g);return}if(!b.closed&&(b.next(e),!b.closed))return this.schedule(a)}},jia=function(a){return!ne(a)&&
0<=a-parseFloat(a)+1},kia=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)},De=function(){},lia=function(){var a=Zc.apply(0,arguments);if(0===a.length)return Ee;var b=k(a),c=b.next().value,d=Fe(b);return 1===a.length&&ne(c)?lia.apply(null,cd(c)):new ie(function(e){var g=function(){return e.add(lia.apply(null,cd(d)).subscribe(e))};return ye(c).subscribe({next:function(h){e.next(h)},error:g,complete:g})})},mia=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 g=b[c];d.next([g,a[g]]);e.add(this.schedule({keys:b,index:c+1,subscriber:d,subscription:e,obj:a}))}else d.complete()},Ge=function(a,b){return function(c){return le(c,new nia(a,b))}},oia=function(a,b){function c(){return!c.pred.apply(c.thisArg,arguments)}c.pred=a;c.thisArg=b;return c},qia=function(){var a=Zc.apply(0,arguments);if(1===a.length)if(ne(a[0]))a=a[0];else return ye(a[0]);return le(je(a),new pia)},ria=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)))},sia=function(a){return a instanceof Date&&!isNaN(a)},uia=function(a,b,c){a=void 0===a?0:a;var d=-1;null!=b&&(ke(b)?c=b:d=b);ke(c)||(c=He);return new ie(function(e){var g=Math.max(0,sia(a)?+a-c.now():a);return c.schedule(tia,g,{counter:0,period:d,subscriber:e})})},tia=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)}},Ie=function(a){var b;return function(c){var d=void 0,e=void 0,g=null,h;b=null!=(h=b)?h:He;if(sia(a))var l=a;else if("number"===typeof a)d=a;else{l=a.first;d=a.each;e=a.with;b=a.scheduler||He;var q;g=null!=(q=a.meta)?q:null}var v;e=null!=(v=e)?v:via;if(null==l&&null==d)throw new TypeError("Oa");return le(c,function(x){var A=this,G=new de,M,Q=null,Y=null,W=0,ia=function(ja){G.add(Q=b.schedule(function(){var Aa={meta:g,lastValue:Y,seen:W};try{var Da=ye(e(Aa))}catch(Oa){A.error(Oa);return}M.unsubscribe();
G.add(Da.subscribe(A))},ja))};G.add(M=x.subscribe({next:function(ja){var Aa;null==(Aa=Q)||Aa.unsubscribe();Q=null;W++;Y=ja;null!=d&&0<d&&ia(d);A.next(ja)},error:function(ja){return A.error(ja)},complete:function(){return A.complete()}}));x=null!=l?"number"===typeof l?l:+l-b.now():d;ia(x);return G})}},via=function(a){throw new wia(a);},yia=function(a){return a in xia?(delete xia[a],!0):!1},zia=function(a){return function(b){setTimeout(a,void 0,b)}},Aia=function(){},Cia=function(a){return function(b){return le(b,
new Bia(a))}},Je=function(a,b){b=void 0===b?He:b;return Cia(function(){return uia(a,b)})},Eia=function(a){return function(b){return le(b,new Dia(a))}},Ke=function(a){return function(b){return le(b,function(c){var d=this,e=new de,g=null,h=!1,l;g=c.subscribe({next:function(q){return d.next(q)},error:function(q){try{l=ye(a(q,Ke(a)(c)))}catch(v){d.error(v)}l&&(g?(g.unsubscribe(),g=null,e.add(l.subscribe(d))):h=!0)},complete:function(){return d.complete()}});h?(g.unsubscribe(),g=null,e.add(l.subscribe(d))):
e.add(g);return e})}},Gia=function(){var a=Zc.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());1===a.length&&ne(a[0])&&(a=a[0].slice());return function(c){return Eha(c,ye([c].concat(cd(a))),new Fia(b))}},Hia=function(){return Gia.apply(null,cd(Zc.apply(0,arguments)))},Iia=function(){var a=Zc.apply(0,arguments);return function(b){return Eha(b,Ce.apply(null,[b].concat(cd(a))))}},Jia=function(){var a=Zc.apply(0,arguments);return function(b){return Eha(b,Ce.apply(null,[b].concat(cd(a))))}},
Lia=function(a){return function(b){return le(b,new Kia(a))}},Le=function(a,b){b=void 0===b?He:b;return function(c){return le(c,new Mia(a,b))}},Oia=function(a){Nia(a)},Qia=function(a){a=void 0===a?null:a;return function(b){return le(b,new Pia(a))}},Me=function(a,b){b=void 0===b?He:b;var c=sia(a)?+a-b.now():Math.abs(a);return function(d){return le(d,new Ria(c,b))}},Ne=function(a){return function(b){return le(b,new Sia(a))}},Oe=function(){if(isNaN(1))throw new TypeError("Pa");return function(a){return le(a,
new Tia)}},Wia=function(a){a=void 0===a?Uia:a;return function(b){return le(b,new Via(a))}},Uia=function(){return new Pe},Qe=function(a){return function(b){return le(b,new Xia(a))}},Re=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?Ge(function(e,g){return a(e,g,d)}):ge,Oe(),c?Qia(b):Wia(function(){return new Pe}))}},Zia=function(){return function(a){return le(a,new Yia)}},aja=function(){if(isNaN(1))throw new TypeError("Pa");return function(a){return le(a,new $ia)}},bja=
function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?Ge(function(e,g){return a(e,g,d)}):ge,aja(),c?Qia(b):Wia(function(){return new Pe}))}},Se=function(a){return function(b){return le(b,new cja(a))}},Te=function(a,b){var c=!1;2<=arguments.length&&(c=!0);return function(d){return le(d,new dja(a,b,c))}},fja=function(a){return function(b){var c="function"===typeof a?a:function(){return a};var d=Object.create(b,eja);d.source=b;d.subjectFactory=c;return d}},gja=function(){var a=new Ue(1,
void 0,void 0);return function(b){return fja(function(){return a})(b)}},hja=function(){var a=Zc.apply(0,arguments);return function(b){return 0===a.length?b:Eha(b,qia.apply(null,[b].concat(cd(a))))}},ija=function(){return new Ve},We=function(){return function(a){return me()(fja(ija)(a))}},Xe=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 le(c,jja(b))}},jja=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,g,h=0,l;return function(q){h++;if(g)var v=g.subscribe(this);else g=new Ue(b,c,e),v=g.subscribe(this),l=q.subscribe({next:function(x){g.next(x)},error:function(x){var A=g;g=l=void 0;A.error(x)},complete:function(){l=void 0;g.complete()}}),l.closed&&(l=void 0);this.add(function(){h--;v.unsubscribe();d&&0===h&&l&&(l.unsubscribe(),g=l=void 0)})}},Ye=function(a){return function(b){return le(b,new kja(a))}},Ze=function(){var a=Zc.apply(0,
arguments),b=a[a.length-1];return ke(b)?(a.pop(),function(c){return Ce(a,c,b)}):function(c){return Ce(a,c)}},$e=function(a){return function(b){return le(b,new lja(a))}},af=function(a){return function(b){return le(b,new mja(a))}},oja=function(a){var b=void 0===b?!1:b;return function(c){return le(c,new nja(a,b))}},bf=function(a,b){return function(c){return le(c,new pja(a,b))}},sja=function(a){var b=void 0===b?qja:b;return function(c){return le(c,new rja(a,!!b.leading,!!b.trailing))}},cf=function(){var a=
Zc.apply(0,arguments);return function(b){var c;"function"===typeof a[a.length-1]&&(c=a.pop());return le(b,new tja(a,c))}},uja=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}}},wja=function(a){a.isCheckStableRunning||-1!==a.lastRequestAnimationFrameId||(a.lastRequestAnimationFrameId=a.nativeRequestAnimationFrame.call(Qd,
function(){a.fakeTopEventTask||(a.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){a.lastRequestAnimationFrameId=-1;vja(a);a.isCheckStableRunning=!0;uja(a);a.isCheckStableRunning=!1},void 0,function(){},function(){}));a.fakeTopEventTask.invoke()}),vja(a))},yja=function(a){a._inner=a._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(b,c,d,e,g,h){try{return xja(a),b.invokeTask(d,e,g,h)}finally{(a.shouldCoalesceEventChangeDetection&&"eventTask"===
e.type||a.shouldCoalesceRunChangeDetection)&&wja(a),a._nesting--,uja(a)}},onInvoke:function(b,c,d,e,g,h,l){try{return xja(a),b.invoke(d,e,g,h,l)}finally{a.shouldCoalesceRunChangeDetection&&wja(a),a._nesting--,uja(a)}},onHasTask:function(b,c,d,e){b.hasTask(d,e);c===d&&("microTask"==e.change?(a._hasPendingMicrotasks=e.microTask,vja(a),uja(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}})},vja=function(a){a.hasPendingMicrotasks=a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&-1!==a.lastRequestAnimationFrameId?!0:!1},xja=function(a){a._nesting++;a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))},Bja=function(){var a=Jc(df),b=!0;return(0,D.merge)(new D.Observable(function(c){b=a.isStable&&!a.hasPendingMacrotasks&&!a.hasPendingMicrotasks;a.runOutsideAngular(function(){c.next(b);c.complete()})}),(new D.Observable(function(c){var d;
a.runOutsideAngular(function(){d=a.onStable.subscribe(function(){zja();queueMicrotask(function(){b||a.hasPendingMacrotasks||a.hasPendingMicrotasks||(b=!0,c.next(!0))})})});var e=a.onUnstable.subscribe(function(){if(!Aja())throw new Cc(909,!1);b&&(b=!1,a.runOutsideAngular(function(){c.next(!1)}))});return function(){d.unsubscribe();e.unsubscribe()}})).pipe(We()))},Dja=function(a){var b;null==(b=a.get(Cja,null))||b.forEach(function(c){return c()})},Hja=function(a,b,c){c=void 0===c?[]:c;var d="Platform: "+
b,e=new ad(d);return function(g){g=void 0===g?[]:g;var h=Eja();if(!h||h.injector.get(Fja,!1))if(g=[].concat(cd(c),cd(g),[{provide:e,useValue:!0}]),a)a(g);else{g=Gja(g,d);if(ef&&!ef.get(Fja,!1))throw new Cc(400,!1);ef=g;g.get(ff);Dja(g)}g=Eja();if(!g)throw new Cc(401,!1);return g}},Gja=function(a,b){a=void 0===a?[]:a;return gf({name:b,providers:[{provide:Ija,useValue:"platform"},{provide:Jja,useValue:new Set([function(){return ef=null}])}].concat(cd(a))})},Eja=function(){var a,b;return null!=(b=null==
(a=ef)?void 0:a.get(ff))?b:null},Kja=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}},Lja=function(a,b){a=void 0===a?"zone.js":a;return"noop"===a?new hf:"zone.js"===a?new df(b):a},Mja=function(a,b,c){try{var d=c();return $d(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;}},Nja=function(a,b){return Array.isArray(b)?b.reduce(Nja,a):Object.assign({},a,b)},Oja=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)},Pja=function(){var a=Jc(df),b=Jc(Yd);return function(c){return a.runOutsideAngular(function(){return b.handleError(c)})}},Sja=function(a){return[{provide:df,useFactory:a},{provide:Kea,multi:!0,useFactory:function(){var b=Jc(jf,{optional:!0});return function(){return b.initialize()}}},{provide:Qja,useFactory:Pja},{provide:Rja,useFactory:Bja}]},kf=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 Cc(903,!1);e=b.\u0275dir}if(e){if(c){d.push(e);var g=a;g.inputs=Tja(a.inputs);g.inputTransforms=Tja(a.inputTransforms);g.declaredInputs=Tja(a.declaredInputs);g.outputs=Tja(a.outputs);var h=e.hostBindings;h&&Uja(a,h);h=e.viewQuery;var l=e.contentQueries;h&&Vja(a,h);l&&Wja(a,l);Tda(a.inputs,e.inputs);Tda(a.declaredInputs,e.declaredInputs);Tda(a.outputs,e.outputs);
null!==e.inputTransforms&&(null===g.inputTransforms&&(g.inputTransforms={}),Tda(g.inputTransforms,e.inputTransforms));e.template&&e.data.animation&&(g=a.data,g.animation=(g.animation||[]).concat(e.data.animation))}if(e=e.features)for(g=0;g<e.length;g++)(h=e[g])&&h.ngInherit&&h(a),h===kf&&(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=Lc(e.hostAttrs,b=Lc(b,e.hostAttrs))},Tja=function(a){return a===Rc?{}:a===Nc?[]:a},Vja=function(a,
b){var c=a.viewQuery;a.viewQuery=c?function(d,e){b(d,e);c(d,e)}:b},Wja=function(a,b){var c=a.contentQueries;a.contentQueries=c?function(d,e,g){b(d,e,g);c(d,e,g)}:b},Uja=function(a,b){var c=a.hostBindings;a.hostBindings=c?function(d,e){b(d,e);c(d,e)}:b},Yja=function(a){return Xja(a)?Array.isArray(a)||!(a instanceof Map)&&Symbol.iterator in a:!1},Zja=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)},Xja=function(a){return null!==
a&&("function"===typeof a||"object"===typeof a)},lf=function(a,b,c){return a[b]=c},mf=function(a,b,c){if(Object.is(a[b],c))return!1;a[b]=c;return!0},nf=function(a,b,c,d){c=mf(a,b,c);return mf(a,b+1,d)||c},of=function(a,b,c,d){var e=u(),g=ld.bindingIndex++;mf(e,g,b)&&(g=qd(),Xga(g,e,a,b,c,d));return of},pf=function(a,b,c,d){return mf(a,ld.bindingIndex++,c)?b+Ac(c)+d:Wd},$ja=function(a,b,c,d,e,g){a=nf(a,ld.bindingIndex,c,e);pd(2);return a?b+Ac(c)+d+Ac(e)+g:Wd},qf=function(a,b,c,d,e,g){var h=u();b=pf(h,
b,c,d);b!==Wd&&(c=qd(),Xga(c,h,a,b,e,g));return qf},rf=function(a,b,c,d,e,g,h,l){var q=u();b=$ja(q,b,c,d,e,g);b!==Wd&&(c=qd(),Xga(c,q,a,b,h,l));return rf},aka=function(a,b,c,d,e,g,h,l,q,v){var x=u();var A=ld.bindingIndex;var G=nf(x,A,c,e);A=mf(x,A+2,h)||G;pd(3);b=A?b+Ac(c)+d+Ac(e)+g+Ac(h)+l:Wd;b!==Wd&&(c=qd(),Xga(c,x,a,b,q,v));return aka},E=function(a,b,c){var d=u(),e=ld.bindingIndex++;if(mf(d,e,b)){e=ld.tView;var g=qd();Xd(e,g,d,a,b,d[11],c,!1)}return E},bka=function(a,b,c,d,e){e=e?"class":"style";
Tga(a,c,b.inputs[e],e,d)},cka=function(a,b,c,d){for(var e=a[c+1],g=null===b,h=d?e>>17&32767:(e&131068)>>2,l=!1;0!==h&&(!1===l||g);){var q=a[h+1],v=a[h],x=b;if(null===v||null==x||(Array.isArray(v)?v[1]:v)===x||Array.isArray(v)&&"string"===typeof x&&0<=Wc(v,x))l=!0,a[h+1]=d?q|1:q|2;h=d?q>>17&32767:(q&131068)>>2}l&&(a[c+1]=d?e|2:e|1)},dka=function(a,b){var c=sf;if(c===b)return-1;for(b=tf=b;b<c&&32<a.charCodeAt(b);)b++;b=uf=b;return vf(a,b,c)},ika=function(a,b){var c=sf;b=tf=vf(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=uf=b;b=eka(a,b,c);d=b=fka=vf(a,b,c);for(var e=b=-1,g=-1,h=d,l=h;h<c;){var q=a.charCodeAt(h++);if(59===q)break;else 34===q||39===q?l=h=gka(a,q,h,c):d===h-4&&85===g&&82===e&&76===b&&40===q?l=h=gka(a,41,h,c):32<q&&(l=h);g=e;e=b;b=q&-33}b=hka=l;return eka(a,b,c)},vf=function(a,b,c){for(;b<c&&32>=a.charCodeAt(b);)b++;return b},eka=function(a,b,c){b=vf(a,b,c);b<c&&b++;return b},gka=function(a,b,c,d){for(var e=
-1;c<d;){var g=a.charCodeAt(c++);if(g==b&&92!==e)return c;e=92==g&&92===e?0:g}throw Error();},wf=function(a,b,c){jka(a,b,c,!1);return wf},xf=function(a,b){jka(a,b,null,!0);return xf},lka=function(a,b){var c;hka=fka=uf=tf=0;sf=b.length;for(c=ika(b,vf(b,0,sf));0<=c;c=ika(b,c))kka(a,b.substring(tf,uf),b.substring(fka,hka))},yf=function(a){mka(nka,oka,a,!0)},oka=function(a,b){var c;hka=fka=uf=tf=0;sf=b.length;for(c=dka(b,vf(b,0,sf));0<=c;c=dka(b,c))Xc(a,b.substring(tf,uf),!0)},jka=function(a,b,c,d){var e=
u(),g=ld.tView,h=pd(2);g.firstUpdatePass&&pka(g,a,h,d);if(b!==Wd&&mf(e,h,b)){var l=g.data[ld.selectedIndex],q=e[11];null!=b&&""!==b&&("string"===typeof c?b+=c:"object"===typeof b&&(b=Bc(Nd(b))));qka(g,l,e,q,a,e[h+1]=b,d,h)}},mka=function(a,b,c,d){var e=ld.tView,g=pd(2);e.firstUpdatePass&&pka(e,null,g,d);var h=u();if(c!==Wd&&mf(h,g,c)){var l=e.data[ld.selectedIndex];if(0===(l.flags&(d?8:16))||g>=e.expandoStartIndex){var q=h[11],v=h[g+1];if(null==c||""===c)a=Nc;else{var x=[];c=Nd(c);if(Array.isArray(c))for(b=
0;b<c.length;b++)a(x,c[b],!0);else if("object"===typeof c)for(var A in c)c.hasOwnProperty(A)&&a(x,A,c[A]);else"string"===typeof c&&b(x,c);a=x}a=h[g+1]=a;v===Wd&&(v=Nc);b=x=0;c=0<v.length?v[0]:null;for(A=0<a.length?a[0]:null;null!==c||null!==A;){var G=x<v.length?v[x+1]:void 0,M=b<a.length?a[b+1]:void 0,Q=null,Y=void 0;c===A?(x+=2,b+=2,G!==M&&(Q=A,Y=M)):null===A||null!==c&&c<A?(x+=2,Q=c):(b+=2,Q=A,Y=M);null!==Q&&qka(e,l,h,q,Q,Y,d,g);c=x<v.length?v[x]:null;A=b<a.length?a[b]:null}}else g=d?l.classesWithoutHost:
l.stylesWithoutHost,null!==g&&(c=aea(g,c?c:"")),bka(e,l,h,c,d)}},pka=function(a,b,c,d){var e=a.data;if(null===e[c+1]){var g=e[ld.selectedIndex];a=c>=a.expandoStartIndex;0!==(g.flags&(d?8:16))&&null===b&&!a&&(b=!1);var h=cfa(e),l=d?g.residualClasses:g.residualStyles;if(null===h)0===(d?g.classBindings:g.styleBindings)&&(b=rka(null,e,g,b,d),b=zf(b,g.attrs,d),l=null);else{var q=g.directiveStylingLast;if(-1===q||e[q]!==h)if(b=rka(h,e,g,b,d),null===l)h=d?g.classBindings:g.styleBindings,h=0!==(h&131068)>>
2?e[h>>17&32767]:void 0,void 0!==h&&Array.isArray(h)&&(h=rka(null,e,g,h[1],d),h=zf(h,g.attrs,d),e[(d?g.classBindings:g.styleBindings)>>17&32767]=h);else{l=void 0;h=g.directiveEnd;for(q=1+g.directiveStylingLast;q<h;q++)l=zf(l,e[q].hostAttrs,d);l=zf(l,g.attrs,d)}}void 0!==l&&(d?g.residualClasses=l:g.residualStyles=l);q=b;l=d?g.classBindings:g.styleBindings;b=l>>17&32767;l=(l&131068)>>2;e[c]=q;var v=!1;if(Array.isArray(q)){if(h=q[1],null===h||0<Wc(q,h))v=!0}else h=q;a?0!==l?(a=e[b+1]>>17&32767,e[c+1]=
a<<17|b<<2,0!==a&&(e[a+1]=e[a+1]&-131069|c<<2),e[b+1]=e[b+1]&131071|c<<17):(e[c+1]=b<<17|0,0!==b&&(e[b+1]=e[b+1]&-131069|c<<2),b=c):(e[c+1]=l<<17|0,0===b?b=c:e[l+1]=e[l+1]&-131069|c<<2,l=c);v&&(e[c+1]=e[c+1]|2);cka(e,h,c,!0);cka(e,h,c,!1);a=d?g.residualClasses:g.residualStyles;null!=a&&"string"==typeof h&&0<=Wc(a,h)&&(e[c+1]=e[c+1]|1);l=b<<17|l<<2;d?g.classBindings=l:g.styleBindings=l}},rka=function(a,b,c,d,e){var g=c.directiveEnd,h=c.directiveStylingLast;for(-1===h?h=c.directiveStart:h++;h<g;){var l=
b[h];d=zf(d,l.hostAttrs,e);if(l===a)break;h++}null!==a&&(c.directiveStylingLast=h);return d},zf=function(a,b,c){var d=c?1:2,e=-1;if(null!==b)for(var g=0;g<b.length;g++){var h=b[g];"number"===typeof h?e=h:e===d&&(Array.isArray(a)||(a=void 0===a?[]:["",a]),Xc(a,h,c?!0:b[++g]))}return void 0===a?null:a},kka=function(a,b,c){Xc(a,b,Nd(c))},nka=function(a,b,c){b=String(b);""===b||b.includes(" ")||Xc(a,b,c)},qka=function(a,b,c,d,e,g,h,l){if(b.type&3){a=a.data;var q=a[l+1];void 0===(1===(q&1)?ska(a,b,c,e,
(q&131068)>>2,h):void 0)&&(void 0!==g||2==(q&2)&&(g=ska(a,null,c,e,l,h)),b=hd(c[ld.selectedIndex]),h?g?d.addClass(b,e):d.removeClass(b,e):(h=-1===e.indexOf("-")?void 0:2,null==g?d.removeStyle(b,e,h):("string"===typeof g&&g.endsWith("!important")&&(g=g.slice(0,-10),h|=1),d.setStyle(b,e,g,h))))}},ska=function(a,b,c,d,e,g){for(var h=null===b,l=void 0;0<e;){var q=a[e],v=Array.isArray(q),x=v?q[1]:q,A=null===x,G=c[e+1];G===Wd&&(G=A?Nc:void 0);x=A?Dea(G,d):x===d?G:void 0;v&&void 0===x&&(x=Dea(q,d));if(void 0!==
x&&(l=x,h))return l;e=a[e+1];e=h?e>>17&32767:(e&131068)>>2}null!==b&&(a=g?b.residualClasses:b.residualStyles,null!=a&&(l=Dea(a,d)));return l},Af=function(a,b,c){a=pf(u(),a,b,c);mka(Xc,oka,a,!0)},F=function(a,b,c,d){var e=u(),g=ld.tView,h=25+a;a=e[11];if(g.firstCreatePass){var l=g.consts;c=kd(l,c);c=Vd(g,h,2,b,c);Wga(g,e,c,kd(l,d));null!==c.attrs&&dha(c,c.attrs,!1);null!==c.mergedAttrs&&dha(c,c.mergedAttrs,!0);null!==g.queries&&g.queries.elementStart(g,c);l=c}else l=g.data[h];Bf=!0;b=a.createElement(b,
ld.currentNamespace);e[h]=b;h=1===(l.flags&1);nd(l,!0);cga(a,b,l);32!==(l.flags&32)&&Bf&&Zfa(g,e,b,l);0===ld.elementDepthCount&&Fd(b,e);ld.elementDepthCount++;h&&(Pga(g,e,l),Kga(g,l,e));null!==d&&Qga(e,l);return F},H=function(){var a=md();ld.isParent?ld.isParent=!1:(a=a.parent,nd(a,!1));var b=a;Hga===b&&(Hga=null);ld.elementDepthCount--;var c=ld.tView;c.firstCreatePass&&(lfa(c,a),0!==(a.flags&4)&&c.queries.elementEnd(a));null!=b.classesWithoutHost&&0!==(b.flags&8)&&bka(c,b,u(),b.classesWithoutHost,
!0);null!=b.stylesWithoutHost&&0!==(b.flags&16)&&bka(c,b,u(),b.stylesWithoutHost,!1);return H},I=function(a,b,c,d){F(a,b,c,d);H();return I},J=function(a,b,c){var d=u(),e=ld.tView;a+=25;if(e.firstCreatePass){var g=e.consts;var h=kd(g,b);b=Vd(e,a,8,"ng-container",h);null!==h&&dha(b,h,!0);g=kd(g,c);Wga(e,d,b,g);null!==e.queries&&e.queries.elementStart(e,b);g=b}else g=e.data[a];nd(g,!0);Bf=!0;b=d[11].createComment(Tfa());d[a]=b;Bf&&Zfa(e,d,b,g);Fd(b,d);1===(g.flags&1)&&(Pga(e,d,g),Kga(e,g,d));null!=c&&
Qga(d,g);return J},K=function(){var a=md(),b=ld.tView;ld.isParent?ld.isParent=!1:(a=a.parent,nd(a,!1));b.firstCreatePass&&(lfa(b,a),0!==(a.flags&4)&&b.queries.elementEnd(a));return K},Cf=function(a,b,c){J(a,b,c);K();return Cf},Df=function(a,b,c){var d=u(),e=ld.bindingIndex++;if(mf(d,e,b)){e=ld.tView;var g=qd();Xd(e,g,d,a,b,d[11],c,!0)}return Df},Ef=function(a,b,c){var d=u(),e=ld.bindingIndex++;if(mf(d,e,b)){e=ld.tView;var g=qd(),h=$ga(cfa(e.data),g,d);Xd(e,g,d,a,b,h,c,!0)}return Ef},L=function(a,
b,c,d){c=u();tka(ld.tView,c,c[11],md(),a,b,d);return L},uka=function(a,b){var c=md(),d=u(),e=ld.tView,g=$ga(cfa(e.data),c,d);tka(e,d,g,c,a,b);return uka},vka=function(a,b,c,d){a=a.cleanup;if(null!=a)for(var e=0;e<a.length-1;e+=2){var g=a[e];if(g===c&&a[e+1]===d)return b=b[7],c=a[e+2],b.length>c?b[c]:null;"string"===typeof g&&(e+=2)}return null},tka=function(a,b,c,d,e,g,h){var l=1===(d.flags&1),q=a.firstCreatePass&&(a.cleanup||(a.cleanup=[])),v=b[7]||(b[7]=[]),x=!0;if(d.type&3||h){var A=id(d,b),G=
h?h(A):A;A=v.length;var M=h?function(W){return h(hd(W[d.index]))}:d.index,Q=null;!h&&l&&(Q=vka(a,b,e,d.index));null!==Q?((Q.__ngLastListenerFn__||Q).__ngNextListenerFn__=g,Q.__ngLastListenerFn__=g,x=!1):(g=wka(d,b,g),a=c.listen(G,e,g),v.push(g,a),q&&q.push(e,M,A,A+1))}else g=wka(d,b,g);a=d.outputs;var Y;if(x&&null!==a&&(Y=a[e])&&(x=Y.length))for(a=0;a<x;a+=2)c=b[Y[a]][Y[a+1]].subscribe(g),l=v.length,v.push(g,c),q&&q.push(e,d.index,l,-(l+1))},xka=function(a,b,c){try{return!1!==b(c)}catch(d){return aha(a,
d),!1}finally{}},wka=function(a,b,c){return function g(e){if(e===Function)return c;var h=-1<a.componentOffset?jd(a.index,b):b;Ofa(h);h=xka(b,c,e);for(var l=g.__ngNextListenerFn__;l;)h=xka(b,l,e)&&h,l=l.__ngNextListenerFn__;return h}},N=function(a){var b=ld;a=void 0===a?1:a;for(var c=ld.contextLView;0<a;)c=c[14],a--;return(b.contextLView=c)[8]},Ff=function(a){var b=u()[15][6];if(!b.projection){var c=b.projection=Cea(a?a.length:1,null),d=c.slice();for(b=b.child;null!==b;){if(a)a:{var e=b;var g=a,h=
null;b:{var l=e.attrs;if(null!=l){var q=l.indexOf(5);if(0===(q&1)){l=l[q+1];break b}}l=null}for(q=0;q<g.length;q++){var v=g[q];if("*"===v)h=q;else{if(null===l)v=nea(e,v,!0);else b:{var x=0;c:for(;x<v.length;x++){var A=v[x];if(l.length===A.length){for(var G=0;G<l.length;G++)if(l[G]!==A[G])continue c;v=!0;break b}}v=!1}if(v){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}}},Gf=function(a,b,c){b=void 0===b?0:b;var d=u(),e=ld.tView;a=Vd(e,25+a,16,null,c||null);
null===a.projection&&(a.projection=b);ld.isParent=!1;d[22]&&null===Hga||32===(a.flags&32)||(b=d[11],e=Yfa(e,a.parent,d),c=a.parent||d[6],c=c.type&40?id(c,d):null,bga(b,0,d,a,e,c))},If=function(a,b,c){Hf(a,"",b,"",c);return If},Hf=function(a,b,c,d,e){var g=u();b=pf(g,b,c,d);b!==Wd&&(c=ld.tView,d=qd(),Xd(c,d,g,a,b,g[11],e,!1));return Hf},Jf=function(a,b,c,d,e,g,h){var l=u();b=$ja(l,b,c,d,e,g);b!==Wd&&(c=ld.tView,d=qd(),Xd(c,d,l,a,b,l[11],h,!1));return Jf},Kf=function(a){return ld.contextLView[25+a]},
O=function(a,b,c,d,e,g,h,l){var q=u(),v=ld.tView,x=a+25;if(v.firstCreatePass){var A=v.consts;e=Vd(v,x,4,e||null,kd(A,g));Wga(v,q,e,kd(A,h));lfa(v,e);b=e.tView=Rga(2,e,b,c,d,v.directiveRegistry,v.pipeRegistry,null,v.schemas,A,null);null!==v.queries&&(v.queries.template(v,e),b.queries=v.queries.embeddedTView(e));b=e}else b=v.data[x];nd(b,!1);a=yka(v,q,b,a);Bf&&Zfa(v,q,a,b);Fd(a,q);Mga(q,q[x]=[a,!0,!1,q,null,0,b,a,null,null,null]);1===(b.flags&1)&&Pga(v,q,b);null!=h&&Qga(q,b,l)},zka=function(a,b){Bf=
!0;return b[11].createComment("")},P=function(a,b){b=void 0===b?"":b;var c=u(),d=ld.tView;a+=25;var e=d.firstCreatePass?Vd(d,a,1,b,null):d.data[a];Bf=!0;b=c[11].createText(b);c[a]=b;Bf&&Zfa(d,c,b,e);nd(e,!1)},Mf=function(a){Lf("",a,"");return Mf},Lf=function(a,b,c){var d=u();a=pf(d,a,b,c);a!==Wd&&bha(d,a);return Lf},Nf=function(a,b,c,d,e){var g=u();a=$ja(g,a,b,c,d,e);a!==Wd&&bha(g,a);return Nf},Aka=function(a,b,c,d,e,g,h,l,q){var v=u();var x=ld.bindingIndex;var A=nf(v,x,b,d);x=nf(v,x+2,g,l)||A;pd(4);
a=x?a+Ac(b)+c+Ac(d)+e+Ac(g)+h+Ac(l)+q:Wd;a!==Wd&&bha(v,a);return Aka},Bka=function(a,b,c,d,e){a=Fc(a);if(Array.isArray(a))for(var g=0;g<a.length;g++)Bka(a[g],b,c,d,e);else{g=ld.tView;var h=u(),l=$c(a)?a:Fc(a.provide),q=Sea(a),v=md(),x=v.providerIndexes&1048575,A=v.directiveStart,G=v.providerIndexes>>20;if($c(a)||!a.multi)d=new zd(q,e),q=Cka(l,b,e?x:x+G,A),-1===q?(q=xfa(v,h),tfa(q,g,l),Dka(g,a,b.length),b.push(l),v.directiveStart++,v.directiveEnd++,e&&(v.providerIndexes+=1048576),c.push(d),h.push(d)):
(c[q]=d,h[q]=d);else{A=Cka(l,b,x+G,A);x=Cka(l,b,x,x+G);var M=0<=A&&c[A];G=0<=x&&c[x];e&&!G||!e&&!M?(A=xfa(v,h),tfa(A,g,l),A=c.length,M=new zd(e?Eka:Fka,e),M.multi=[],M.index=A,M.componentProviders=0,d&&!e&&M.componentProviders++,M.multi.push(q),!e&&G&&(c[x].providerFactory=M),Dka(g,a,b.length,0),b.push(l),v.directiveStart++,v.directiveEnd++,e&&(v.providerIndexes+=1048576),c.push(M),h.push(M)):(b=c[e?x:A],!e&&d&&b.componentProviders++,b=b.multi.push(q)-1,Dka(g,a,-1<A?A:x,b));!e&&d&&G&&c[x].componentProviders++}}},
Dka=function(a,b,c,d){var e=$c(b),g=!!b.useClass;if(e||g)if(g=(g?Fc(b.useClass):b).prototype.ngOnDestroy)a=a.destroyHooks||(a.destroyHooks=[]),!e&&b.multi?(b=a.indexOf(c),-1===b?a.push(c,[d,g]):a[b+1].push(d,g)):a.push(c,g)},Cka=function(a,b,c,d){for(;c<d;c++)if(b[c]===a)return c;return-1},Fka=function(){return Gka(this.multi,[])},Eka=function(a,b,c,d){b=this.multi;if(this.providerFactory){var e=this.providerFactory.componentProviders;d=yd(c,c[1],this.providerFactory.index,d);c=d.slice(0,e);Gka(b,
c);for(b=e;b<d.length;b++)c.push(d[b])}else c=[],Gka(b,c);return c},Gka=function(a,b){for(var c=0;c<a.length;c++)b.push((0,a[c])());return b},Of=function(a){var b=void 0===b?[]:b;return function(c){c.providersResolver=function(d,e){e=e?e(a):a;var g=ld.tView;g.firstCreatePass&&(d=!!d.template,Bka(b,g.data,g.blueprint,d,!0),Bka(e,g.data,g.blueprint,d,!1))}}},Hka=function(a){a.getStandaloneInjector=function(b){b=b.get(Pf);if(a.standalone){if(!b.cachedInjectors.has(a.id)){var c=Eea(!1,a.type);c=0<c.length?
nha([c],b._injector,"Standalone["+a.type.name+"]"):null;b.cachedInjectors.set(a.id,c)}b=b.cachedInjectors.get(a.id)}else b=null;return b}},Qf=function(a,b){a=od()+a;var c=u();return c[a]===Wd?lf(c,a,b()):c[a]},Rf=function(a,b,c){return Ika(u(),od(),a,b,c)},Sf=function(a,b,c,d){return Jka(u(),od(),a,b,c,d)},Tf=function(a,b,c,d){return Kka(u(),od(),2,a,b,c,d)},Mka=function(a,b,c,d,e,g){var h=Lka,l=od()+8,q=u();var v=nf(q,l,a,b);v=nf(q,l+2,c,d)||v;return nf(q,l+4,e,g)||v?lf(q,l+6,h(a,b,c,d,e,g)):q[l+
6]},Nka=function(a,b){a=a[b];return a===Wd?void 0:a},Ika=function(a,b,c,d,e,g){b+=c;return mf(a,b,e)?lf(a,b+1,g?d.call(g,e):d(e)):Nka(a,b+1)},Jka=function(a,b,c,d,e,g,h){b+=c;return nf(a,b,e,g)?lf(a,b+2,h?d.call(h,e,g):d(e,g)):Nka(a,b+2)},Kka=function(a,b,c,d,e,g,h,l){b+=c;c=nf(a,b,e,g);return mf(a,b+2,h)||c?lf(a,b+3,l?d.call(l,e,g,h):d(e,g,h)):Nka(a,b+3)},R=function(a,b){var c=ld.tView;a+=25;if(c.firstCreatePass){a:{var d=c.pipeRegistry;if(d)for(var e=d.length-1;0<=e;e--){var g=d[e];if(b===g.name){b=
g;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=Vc(b.type));b=Dc(B);try{var l=rfa(!1),q=h();rfa(l);var v=u();a>=c.data.length&&(c.data[a]=null,c.blueprint[a]=null);v[a]=q}finally{Dc(b)}},S=function(a,b,c){a+=25;var d=u(),e=d[a];return d[1].data[a].pure?Ika(d,od(),b,e.transform,c,e):e.transform(c)},Uf=function(a,b,c,d){a+=25;var e=u(),g=e[a];return e[1].data[a].pure?Jka(e,od(),b,g.transform,
c,d,g):g.transform(c,d)},Vf=function(a,b,c,d,e){a+=25;var g=u(),h=g[a];return g[1].data[a].pure?Kka(g,od(),b,h.transform,c,d,e,h):h.transform(c,d,e)},Oka=function(){return this._results[Symbol.iterator]()},Qka=function(){return Pka(md(),u())},Pka=function(a,b){return a.type&4?new Wf(b,a,Ed(a,b)):null},Ska=function(){return Rka(md(),u())},Tka=function(a){return a[8]||(a[8]=[])},Rka=function(a,b){var c=b[a.index];if(fd(c))var d=c;else d=[c,!0,!1,b,null,0,a,null,null,null,null],b[a.index]=d,Mga(b,d);
Uka(d,b,a,c);return new Xf(d,a,b)},Vka=function(a,b,c,d){if(!a[7]){if(c.type&8)d=hd(d);else{d=b[11];var e=d.createComment("");c=id(c,b);b=d.parentNode(c);c=d.nextSibling(c);d.insertBefore(b,e,c,!1);d=e}a[7]=d}},Wka=function(a,b,c,d){d=b[18].queries[d];if(null===d.matches){a=a.data;for(var e=c.matches,g=[],h=0;h<e.length;h+=2){var l=e[h];if(0>l)g.push(null);else{var q=g,v=q.push,x=b,A=a[l],G=e[h+1];l=c.metadata.read;-1===G?(l=A,x=l.type&11?Ed(l,x):l.type&4?Pka(l,x):null):-2===G?x=l===Dd?Ed(A,x):l===
Yf?Pka(A,x):l===Zf?Rka(A,x):void 0:x=yd(x,x[1],G,A);v.call(q,x)}}d.matches=g}return d.matches},Xka=function(a,b,c,d){var e=a.queries.queries[c],g=e.matches;if(null!==g)for(a=Wka(a,b,e,c),c=0;c<g.length;c+=2){var h=g[c];if(0<h)d.push(a[c/2]);else{e=g[c+1];h=b[-h];for(var l=11;l<h.length;l++){var q=h[l];q[16]===q[3]&&Xka(q[1],q,e,d)}if(null!==h[9])for(h=h[9],l=0;l<h.length;l++)q=h[l],Xka(q[1],q,e,d)}}return d},ag=function(a){var b=u(),c=ld.tView,d=ld.currentQueryIndex;ld.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?Xka(c,b,d,[]):Wka(c,b,e,d),a.reset(b,Kfa),$f(a)),!0):!1},bg=function(a,b,c){var d=ld.tView;d.firstCreatePass&&(Yka(d,new Zka(a,b,c),-1),2===(b&2)&&(d.staticViewQueries=!0));$ka(d,b)},cg=function(a,b,c,d){var e=ld.tView;e.firstCreatePass&&(Yka(e,new Zka(b,c,d),md().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));$ka(e,c)},dg=function(){return u()[18].queries[ld.currentQueryIndex].queryList},$ka=function(a,b){var c=u();b=new eg(4===(b&4));var d=b.destroy,e=c[7]||(c[7]=[]);e.push(b);a.firstCreatePass&&(a.cleanup||(a.cleanup=[])).push(d,e.length-1);null===c[18]&&(c[18]=new ala);c[18].queries.push(new bla(b))},Yka=function(a,b,c){null===a.queries&&(a.queries=new cla);a.queries.track(new fg(b,c))},gg=function(a,b){return Pka(a,b)},dla=function(a){var b=md(),c=u();-1<
b.componentOffset&&16!==(a&16)?(a=jd(b.index,c),a=new hg(a,a)):a=b.type&47?new hg(c[15],c):null;return a},ela=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},ig=function(a){return"boolean"===typeof a?a:null!=a&&"false"!==a},fla=function(a){var b=a[Pc]||null;if(!b)return null;var c=new kg(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}}},gla=function(a,b){if(b&&!b.createEmbeddedView)throw Error("Ra`"+a+"`"+Bc(b));},hla=function(a,b,c){a=ae(a);b=lg([a[1],a[2]],b);return lg(b,c)},ila=function(a,b,c){a=ae(a);b=lg([a[3],a[4]],b);return lg(b,c)},jla=function(a,b,c){a=ae(a);b=lg([a[5],a[6]],b);return lg(b,c)},kla=function(a,b){a=ae(a)[7];return lg(a,b)},lla=function(a,b){a=ae(a);return lg(a[10],b)},mla=function(a,b){a=ae(a);return lg(a[11],b)},nla=function(a,b){a=
ae(a)[12];return lg(a,b)},mg=function(a,b){a=ae(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},ola=function(a){if(!a[21])throw Error("Sa`"+a[0]);},qla=function(a){a=ae(a);ola(a);return(a[21][2]||[]).map(function(b){return"string"===typeof b?pla(b):[pla(b[0]),pla(b[1])]})},rla=function(a,b,c){a=ae(a);ola(a);b=lg([a[21][0],a[21][1]],b)||[];return lg(b,c)||[]},lg=function(a,b){for(;-1<b;b--)if("undefined"!==typeof a[b])return a[b];throw Error("Ta");
},pla=function(a){var b=k(a.split(":"));a=b.next().value;b=b.next().value;return{hours:+a,minutes:+b}},ng=function(){return new Cc(2100,!1)},Ala=function(a,b,c,d){var e=sla(a);b=og(c,b)||b;a=[];for(var g;b;)if(g=tla.exec(b)){if(a=a.concat(g.slice(1)),b=a.pop(),!b)break}else{a.push(b);break}var h=e.getTimezoneOffset();d&&(h=ula(d,h),e=vla(e,d));var l="";a.forEach(function(q){a:if(wla[q])var v=wla[q];else{switch(q){case "G":case "GG":case "GGG":v=pg(3,1);break;case "GGGG":v=pg(3,2);break;case "GGGGG":v=
pg(3,0);break;case "y":v=qg(0,1,0,!1,!0);break;case "yy":v=qg(0,2,0,!0,!0);break;case "yyy":v=qg(0,3,0,!1,!0);break;case "yyyy":v=qg(0,4,0,!1,!0);break;case "Y":v=xla(1);break;case "YY":v=xla(2,!0);break;case "YYY":v=xla(3);break;case "YYYY":v=xla(4);break;case "M":case "L":v=qg(1,1,1);break;case "MM":case "LL":v=qg(1,2,1);break;case "MMM":v=pg(2,1);break;case "MMMM":v=pg(2,2);break;case "MMMMM":v=pg(2,0);break;case "LLL":v=pg(2,1,1);break;case "LLLL":v=pg(2,2,1);break;case "LLLLL":v=pg(2,0,1);break;
case "w":v=yla(1);break;case "ww":v=yla(2);break;case "W":v=yla(1,!0);break;case "d":v=qg(2,1);break;case "dd":v=qg(2,2);break;case "c":case "cc":v=qg(7,1);break;case "ccc":v=pg(1,1,1);break;case "cccc":v=pg(1,2,1);break;case "ccccc":v=pg(1,0,1);break;case "cccccc":v=pg(1,3,1);break;case "E":case "EE":case "EEE":v=pg(1,1);break;case "EEEE":v=pg(1,2);break;case "EEEEE":v=pg(1,0);break;case "EEEEEE":v=pg(1,3);break;case "a":case "aa":case "aaa":v=pg(0,1);break;case "aaaa":v=pg(0,2);break;case "aaaaa":v=
pg(0,0);break;case "b":case "bb":case "bbb":v=pg(0,1,1,!0);break;case "bbbb":v=pg(0,2,1,!0);break;case "bbbbb":v=pg(0,0,1,!0);break;case "B":case "BB":case "BBB":v=pg(0,1,0,!0);break;case "BBBB":v=pg(0,2,0,!0);break;case "BBBBB":v=pg(0,0,0,!0);break;case "h":v=qg(3,1,-12);break;case "hh":v=qg(3,2,-12);break;case "H":v=qg(3,1);break;case "HH":v=qg(3,2);break;case "m":v=qg(4,1);break;case "mm":v=qg(4,2);break;case "s":v=qg(5,1);break;case "ss":v=qg(5,2);break;case "S":v=qg(6,1);break;case "SS":v=qg(6,
2);break;case "SSS":v=qg(6,3);break;case "Z":case "ZZ":case "ZZZ":v=zla(0);break;case "ZZZZZ":v=zla(3);break;case "O":case "OO":case "OOO":case "z":case "zz":case "zzz":v=zla(1);break;case "OOOO":case "ZZZZ":case "zzzz":v=zla(2);break;default:v=null;break a}wla[q]=v}l+=v?v(e,c,h):"''"===q?"'":q.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return l},Bla=function(a,b,c){var d=new Date(0);d.setFullYear(a,b,c);d.setHours(0,0,0);return d},og=function(a,b){var c=ae(a)[0];rg[c]=rg[c]||{};if(rg[c][b])return rg[c][b];
var d="";switch(b){case "shortDate":d=lla(a,0);break;case "mediumDate":d=lla(a,1);break;case "longDate":d=lla(a,2);break;case "fullDate":d=lla(a,3);break;case "shortTime":d=mla(a,0);break;case "mediumTime":d=mla(a,1);break;case "longTime":d=mla(a,2);break;case "fullTime":d=mla(a,3);break;case "short":d=og(a,"shortTime");var e=og(a,"shortDate");d=Cla(nla(a,0),[d,e]);break;case "medium":d=og(a,"mediumTime");e=og(a,"mediumDate");d=Cla(nla(a,1),[d,e]);break;case "long":d=og(a,"longTime");e=og(a,"longDate");
d=Cla(nla(a,2),[d,e]);break;case "full":d=og(a,"fullTime"),e=og(a,"fullDate"),d=Cla(nla(a,3),[d,e])}d&&(rg[c][b]=d);return d},Cla=function(a,b){b&&(a=a.replace(/\{([^}]+)}/g,function(c,d){return null!=b&&d in b?b[d]:c}));return a},sg=function(a,b,c,d,e){c=void 0===c?"-":c;var g="";if(0>a||e&&0>=a)e?a=-a+1:(a=-a,g=c);for(a=String(a);a.length<b;)a="0"+a;d&&(a=a.slice(a.length-b));return g+a},qg=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(g,h){g=Dla(a,g);
if(0<c||g>-c)g+=c;if(3===a)0===g&&-12===c&&(g=12);else if(6===a)return sg(g,3).substring(0,b);h=mg(h,5);return sg(g,b,h,d,e)}},Dla=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("Ua`"+a);}},pg=function(a,b,c,d){c=void 0===c?0:c;d=void 0===d?!1:d;return function(e,g){return Ela(e,
g,a,b,c,d)}},Ela=function(a,b,c,d,e,g){switch(c){case 2:return jla(b,e,d)[a.getMonth()];case 1:return ila(b,e,d)[a.getDay()];case 0:var h=a.getHours(),l=a.getMinutes();return g&&(c=qla(b),a=rla(b,e,d),c=c.findIndex(function(q){if(Array.isArray(q)){var v=k(q);q=v.next().value;v=v.next().value;var x=h>=q.hours&&l>=q.minutes,A=h<v.hours||h===v.hours&&l<v.minutes;if(q.hours<v.hours){if(x&&A)return!0}else if(x||A)return!0}else if(q.hours===h&&q.minutes===l)return!0;return!1}),-1!==c)?a[c]:hla(b,e,d)[12>
h?0:1];case 3:return kla(b,d)[0>=a.getFullYear()?0:1];default:throw Error("Va`"+c);}},zla=function(a){return function(b,c,d){b=-1*d;c=mg(c,5);var e=0<b?Math.floor(b/60):Math.ceil(b/60);switch(a){case 0:return(0<=b?"+":"")+sg(e,2,c)+sg(Math.abs(b%60),2,c);case 1:return"GMT"+(0<=b?"+":"")+sg(e,1,c);case 2:return"GMT"+(0<=b?"+":"")+sg(e,2,c)+":"+sg(Math.abs(b%60),2,c);case 3:return 0===d?"Z":(0<=b?"+":"")+sg(e,2,c)+":"+sg(Math.abs(b%60),2,c);default:throw Error("Wa`"+a);}}},Fla=function(a){return Bla(a.getFullYear(),
a.getMonth(),a.getDate()+(4-a.getDay()))},yla=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=Fla(c);c=e.getFullYear();var g=Bla(c,0,1).getDay();c=Bla(c,0,1+(4>=g?4:11)-g);e=1+Math.round((e.getTime()-c.getTime())/6048E5)}return sg(e,a,mg(d,5))}},xla=function(a,b){b=void 0===b?!1:b;return function(c,d){c=Fla(c).getFullYear();return sg(c,a,mg(d,5),b)}},ula=function(a,b){a=a.replace(/:/g,
"");a=Date.parse("Jan 01, 1970 00:00:00 "+a)/6E4;return isNaN(a)?b:a},vla=function(a,b){var c=a.getTimezoneOffset();b=ula(b,c);a=new Date(a.getTime());a.setMinutes(a.getMinutes()+-1*(b-c));return a},sla=function(a){if(a instanceof Date&&!isNaN(a.valueOf()))return a;if("number"===typeof a&&!isNaN(a))return new Date(a);if("string"===typeof a){a=a.trim();if(/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(a)){var b=k(a.split("-").map(function(d){return+d}));a=b.next().value;var c=b.next().value;c=void 0===c?1:
c;b=b.next().value;return Bla(a,c-1,void 0===b?1:b)}b=parseFloat(a);if(!isNaN(a-b))return new Date(b);if(b=a.match(Gla))return Hla(b)}b=new Date(a);if(!(b instanceof Date)||isNaN(b.valueOf()))throw Error("Xa`"+a);return b},Hla=function(a){var b=new Date(0),c=0,d=0,e=a[8]?b.setUTCFullYear:b.setFullYear,g=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]));g.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},Ila=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},Ola=function(a,b,c,d){var e=void 0===e?!1:e;var g="",h=!1;if(isFinite(a)){h=Jla(a);e&&(h=Kla(h));g=b.minInt;
e=b.minFrac;var l=b.maxFrac;if(d){var q=d.match(Lla);if(null===q)throw Error("Ya`"+d);d=q[1];var v=q[3];q=q[5];null!=d&&(g=Mla(d));null!=v&&(e=Mla(v));null!=q?l=Mla(q):null!=v&&e>l&&(l=e)}Nla(h,e,l);d=h.digits;q=h.integerLen;e=h.exponent;l=[];for(h=d.every(function(x){return!x});q<g;q++)d.unshift(0);for(;0>q;q++)d.unshift(0);0<q?l=d.splice(q,d.length):(l=d,d=[0]);g=[];for(d.length>=b.lgSize&&g.unshift(d.splice(-b.lgSize,d.length).join(""));d.length>b.gSize;)g.unshift(d.splice(-b.gSize,d.length).join(""));
d.length&&g.unshift(d.join(""));g=g.join(mg(c,1));l.length&&(g+=mg(c,0)+l.join(""));e&&(g+=mg(c,6)+"+"+e)}else g=mg(c,9);return g=0>a&&!h?b.negPre+g+b.negSuf:b.posPre+g+b.posSuf},Kla=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},Jla=function(a){a=Math.abs(a)+"";var b=0,c,d,e,g;-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===(g=a.length)){var h=[0];c=1}else{for(g--;"0"===a.charAt(g);)g--;c-=d;h=[];for(e=0;d<=g;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}},Nla=function(a,b,c){if(b>c)throw Error("Za`"+b+"`"+c);var d=a.digits,e=d.length-a.integerLen;c=Math.min(Math.max(b,e),c);var g=c+a.integerLen,h=d[g];if(0<g){d.splice(Math.max(a.integerLen,g));for(var l=g;l<d.length;l++)d[l]=0}else for(e=
Math.max(0,e),a.integerLen=1,d.length=Math.max(1,g=c+1),d[0]=0,l=1;l<g;l++)d[l]=0;if(5<=h)if(0>g-1){for(h=0;h>g;h--)d.unshift(0),a.integerLen++;d.unshift(1);a.integerLen++}else d[g-1]++;for(;e<Math.max(0,c);e++)d.push(0);var q=0!==c,v=b+a.integerLen;if(b=d.reduceRight(function(x,A,G,M){A+=x;M[G]=10>A?A:A-10;q&&(0===M[G]&&G>=v?M.pop():q=!1);return 10<=A?1:0},0))d.unshift(b),a.integerLen++},Mla=function(a){var b=parseInt(a);if(isNaN(b))throw Error("$a`"+a);return b},Pla=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},Qla=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)},tg=function(a){return a&&"?"!==a[0]?"?"+a:a},Rla=function(a){return RegExp("^(https?:)?//").test(a)?(a=k(a.split(/\/\/[^\/]+/)),a.next(),a.next().value):a},Sla=function(a){return null==a||("string"===typeof a||Array.isArray(a))&&0===a.length},Tla=function(a){return function(b){if(Sla(b.value)||
Sla(a))return null;var c=parseFloat(b.value);return!isNaN(c)&&c<a?{min:{min:a,actual:b.value}}:null}},Ula=function(a){return Sla(a.value)?{required:!0}:null},Vla=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}},Xla=function(a){if(!a)return Wla;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(Sla(d.value))return null;d=d.value;return c.test(d)?null:{pattern:{requiredPattern:b,actualValue:d}}}},Wla=function(){return null},Yla=function(a){return null!=a},Zla=function(a){return $d(a)?(0,D.from)(a):a},$la=function(a){var b={};a.forEach(function(c){b=null!=c?Object.assign({},b,c):b});return 0===Object.keys(b).length?null:b},ama=function(a,b){return b.map(function(c){return c(a)})},bma=function(a){return a.map(function(b){return b.validate?function(c){return b.validate(c)}:
b})},cma=function(a){if(!a)return null;var b=a.filter(Yla);return 0==b.length?null:function(c){return $la(ama(c,b))}},dma=function(a){return null!=a?cma(bma(a)):null},ema=function(a){if(!a)return null;var b=a.filter(Yla);return 0==b.length?null:function(c){c=ama(c,b).map(Zla);return(0,D.forkJoin)(c).pipe(C($la))}},fma=function(a){return null!=a?ema(bma(a)):null},gma=function(a,b){return null===a?[b]:Array.isArray(a)?[].concat(cd(a),[b]):[a,b]},hma=function(a,b){return[].concat(cd(b.path),[a])},ug=
function(a,b,c){c=void 0===c?"whenDisabledForLegacyCode":c;ima(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)}jma(a,b);kma(a,b);lma(a,b);mma(a,b)},oma=function(a,b){var c=function(){};b.valueAccessor&&(b.valueAccessor.registerOnChange(c),b.valueAccessor.registerOnTouched(c));nma(a,b);a&&(b._invokeOnDestroyCallbacks(),a._registerOnCollectionChange(function(){}))},pma=function(a,b){a.forEach(function(c){c.registerOnValidatorChange&&
c.registerOnValidatorChange(b)})},mma=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)})}},ima=function(a,b){var c=a._rawValidators;null!==b.validator?qma(a,gma(c,b.validator)):"function"===typeof c&&qma(a,[c]);c=a._rawAsyncValidators;null!==b.asyncValidator?rma(a,gma(c,b.asyncValidator)):"function"===typeof c&&rma(a,[c]);c=function(){return vg(a)};
pma(b._rawValidators,c);pma(b._rawAsyncValidators,c)},nma=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(g){return g!==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(g){return g!==b.asyncValidator}),e.length!==d.length&&(c=!0,a._assignAsyncValidators(e))))}a=function(){};pma(b._rawValidators,
a);pma(b._rawAsyncValidators,a);return c},jma=function(a,b){b.valueAccessor.registerOnChange(function(c){a._pendingValue=c;a._pendingChange=!0;a._pendingDirty=!0;"change"===a.updateOn&&sma(a,b)})},lma=function(a,b){b.valueAccessor.registerOnTouched(function(){a._pendingTouched=!0;"blur"===a.updateOn&&a._pendingChange&&sma(a,b);"submit"!==a.updateOn&&tma(a)})},sma=function(a,b){a._pendingDirty&&uma(a);a.setValue(a._pendingValue,{emitModelToViewChange:!1});b.viewToModelUpdate(a._pendingValue);a._pendingChange=
!1},kma=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)})},vma=function(a,b){if(!a.hasOwnProperty("model"))return!1;a=a.model;return a.isFirstChange()?!0:!Object.is(b,a.currentValue)},wma=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)})},xma=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===wg?b=e:Object.getPrototypeOf(e.constructor)===xg?c=e:d=e});return d?d:c?c:b?b:null},yma=function(a){return(yg(a)?a.validators:a)||null},yg=function(a){return null!=a&&!Array.isArray(a)&&"object"===typeof a},zma=function(a,b){a._forEachChild(function(c,d){if(void 0===b[d])throw new Cc(1002,"");})},Ama=function(a){return"object"===typeof a&&null!==a&&2===Object.keys(a).length&&"value"in a&&"disabled"in a},Dma=function(){if(Bma)return Bma;
if("object"!==typeof document||!document)return Bma=new Set(Cma);var a=document.createElement("input");return Bma=new Set(Cma.filter(function(b){a.setAttribute("type",b);return a.type===b}))},Ema=function(){if(null==zg&&"undefined"!==typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return zg=!0}}))}finally{zg=zg||!1}return zg},Ag=function(a){return Ema()?a:!!a.capture},Fma=function(){if(null==Bg){if("object"!==typeof document||!document||"function"!==
typeof Element||!Element)return Bg=!1;if("scrollBehavior"in document.documentElement.style)Bg=!0;else{var a=Element.prototype.scrollTo;Bg=a?!/\{\s*\[native code\]\s*\}/.test(a.toString()):!1}}return Bg},Hma=function(){if("object"!==typeof document||!document)return 0;if(null==Gma){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);Gma=0;0===a.scrollLeft&&(a.scrollLeft=1,Gma=0===a.scrollLeft?1:2);a.remove()}return Gma},Jma=function(a){if(null==Ima){var b="undefined"!==typeof document?document.head:null;Ima=!(!b||!b.createShadowRoot&&!b.attachShadow)}return Ima&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},Cg=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},Dg=function(a){return a.composedPath?a.composedPath()[0]:a.target},Kma=function(){return"undefined"!==typeof __karma__&&!!__karma__||"undefined"!==typeof jasmine&&!!jasmine||"undefined"!==typeof jest&&!!jest||"undefined"!==typeof Mocha&&!!Mocha},Lma=function(a){if(!a.hasAttribute("tabindex")||void 0===a.tabIndex)return!1;a=a.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))},Mma=function(a){if(!Lma(a))return null;a=parseInt(a.getAttribute("tabindex")||
"",10);return isNaN(a)?-1:a},Eg=function(a){return Array.isArray(a)?a:[a]},Fg=function(a){return null!=a&&"false"!==""+a},Gg=function(a){return null==a?"":"string"===typeof a?a:a+"px"},Hg=function(a){return a instanceof Dd?a.nativeElement:a},Ig=function(a,b){return isNaN(parseFloat(a))||isNaN(Number(a))?void 0===b?0:b:Number(a)},Nma=function(a){var b=void 0===b?/\s+/:b;var c=[];if(null!=a)for(a=Array.isArray(a)?a:(""+a).split(b),a=k(a),b=a.next();!b.done;b=a.next())(b=(""+b.value).trim())&&c.push(b);
return c},Oma=function(a){return 0===a.buttons||0===a.offsetX&&0===a.offsetY},Pma=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)},Jg=function(a){var b=Zc.apply(1,arguments);return b.length?b.some(function(c){return a[c]}):a.altKey||a.shiftKey||a.ctrlKey||a.metaKey},Rma=function(a,b){return b.map(function(c){return c.replace(Qma,a)})},Sma=function(a){var b=new Map;0<a.length&&
a.replace(/^\?/,"").split("&").forEach(function(c){var d=c.indexOf("=");if(-1==d)var e=[decodeURIComponent(c),""];else e=c.slice(0,d),e=decodeURIComponent(e),c=c.slice(d+1),c=decodeURIComponent(c),e=[e,c];c=k(e);e=c.next().value;c=c.next().value;d=b.get(e)||[];d.push(c);b.set(e,d)});return b},Vma=function(a){return encodeURIComponent(a).replace(Tma,function(b,c){var d;return null!=(d=Uma[c])?d:b})},Wma=function(a){return""+a},Xma=function(a){return"undefined"!==typeof ArrayBuffer&&a instanceof ArrayBuffer},
Yma=function(a){return"undefined"!==typeof Blob&&a instanceof Blob},Zma=function(a){return"undefined"!==typeof FormData&&a instanceof FormData},$ma=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}},ana=function(a,b){return b(a)},bna=function(a,b){return function(c,d){return b.intercept(c,{handle:function(e){return a(e,d)}})}},cna=function(a,b,c){return function(d,
e){return c.runInContext(function(){return b(d,function(g){return a(g,e)})})}},gna=function(a,b){var c=a.url.toLowerCase();if(!Jc(dna)||"GET"===a.method||"HEAD"===a.method||c.startsWith("http://")||c.startsWith("https://"))return b(a);c=Jc(ena).getToken();var d=Jc(fna);null==c||a.headers.has(d)||(a=a.clone({headers:a.headers.set(d,c)}));return b(a)},ina=function(a){if(a instanceof ec)a=fc(a);else{b:if(hna){try{var b=new URL(a)}catch(c){b="https:";break b}b=b.protocol}else c:{b=document.createElement("a");
try{b.href=a}catch(c){b=void 0;break c}b=b.protocol;b=":"===b||""===b?"https:":b}a="javascript:"!==b?a:void 0}return a},Mg=function(a){var b=void 0===b?{}:b;if(a instanceof Kg)return a;a=a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;");b.preserveSpaces&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;"));b.preserveNewlines&&(a=a.replace(/(\r\n|\n|\r)/g,"<br>"));b.preserveTabs&&(a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>'));
return Lg(a)},Og=function(a){var b=Zc.apply(1,arguments);if(0===b.length)return Ng(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return Ng(c)},Pg=function(a){return new jna(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})},Sg=function(a){var b=void 0===b?kna:b;a:{b=void 0===b?kna:b;for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof jna&&d.isValid(a)){a=Qg(a);break a}}a=void 0}return a||dda},nna=function(a,b){var c=[];"string"==typeof a?a.split(/\s*,\s*/).forEach(function(d){a:{if(":"==
d[0]&&(d=lna(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 Cc(3015,!1)),d=c;else{d=e[1];var g=e[2];e=e[3];c.push(mna(d,e));"<"!=g[0]||"*"==d&&"*"==e||c.push(mna(e,d));d=void 0}}return d}):c.push(a);return c},lna=function(a,b){switch(a){case ":enter":return"void => *";case ":leave":return"* => void";case ":increment":return function(c,d){return parseFloat(d)>parseFloat(c)};case ":decrement":return function(c,
d){return parseFloat(d)<parseFloat(c)};default:return b.push(new Cc(3016,!1)),"* => *"}},mna=function(a,b){var c=ona.has(a)||pna.has(a),d=ona.has(b)||pna.has(b);return function(e,g){var h="*"==a||a==e,l="*"==b||b==g;!h&&c&&"boolean"===typeof e&&(h=e?ona.has(a):pna.has(a));!l&&d&&"boolean"===typeof g&&(l=g?ona.has(b):pna.has(b));return h&&l}},Tg=function(a,b){return{type:7,name:a,definitions:b,options:{}}},Ug=function(a,b){return{type:4,styles:void 0===b?null:b,timings:a}},qna=function(a){return{type:3,
steps:a,options:null}},Vg=function(a){return{type:6,styles:a,offset:null}},Wg=function(a,b){return{type:0,name:a,styles:b,options:void 0}},Xg=function(a,b,c){return{type:1,expr:a,animation:b,options:void 0===c?null:c}},Yg=function(){return{type:9,options:null}},Zg=function(a,b){var c={optional:!0};return{type:11,selector:a,animation:b,options:void 0===c?null:c}},ah=function(a){switch(a.length){case 0:return new $g;case 1:return a[0];default:return new rna(a)}},una=function(a,b,c){b=void 0===b?new Map:
b;c=void 0===c?new Map:c;var d=[],e=[],g=-1,h=null;a.forEach(function(l){var q=l.get("offset"),v=q==g,x=v&&h||new Map;l.forEach(function(A,G){var M=G;if("offset"!==G)switch(M=sna(M),A){case "!":A=b.get(G);break;case "*":A=c.get(G);break;default:A=tna(M,A,d)}x.set(M,A)});v||e.push(x);h=x;g=q});if(d.length)throw new Cc(3502,!1);return e},wna=function(a,b,c,d){switch(b){case "start":a.onStart(function(){return d(c&&vna(c,"start",a))});break;case "done":a.onDone(function(){return d(c&&vna(c,"done",a))});
break;case "destroy":a.onDestroy(function(){return d(c&&vna(c,"destroy",a))})}},vna=function(a,b,c){var d=c.totalTime;b=xna(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},xna=function(a,b,c,d,e,g,h){return{element:a,triggerName:b,fromState:c,toState:d,phaseName:void 0===e?"":e,totalTime:void 0===g?0:g,disabled:!!h}},bh=function(a,b,c){var d=a.get(b);d||a.set(b,d=c);return d},yna=function(a){var b=a.indexOf(":"),
c=a.substring(1,b);a=a.slice(b+1);return[c,a]},Ana=function(a){a=a.parentNode||a.host||null;return a===zna?null:a},Bna=function(a,b){for(;b;){if(b===a)return!0;b=Ana(b)}return!1},Cna=function(a,b,c){return c?Array.from(a.querySelectorAll(b)):(a=a.querySelector(b))?[a]:[]},ch=function(a){if("number"==typeof a)return a;a=a.match(/^(-?[\.\d]+)(m?s)/);return!a||2>a.length?0:Dna(parseFloat(a[1]),a[2])},Dna=function(a,b){switch(b){case "s":return 1E3*a;default:return a}},Ena=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,g="";if("string"===typeof a){d=a.match(d);if(null===d){b.push(new Cc(3E3,!1));b={duration:0,delay:0,easing:""};break a}a=Dna(parseFloat(d[1]),d[2]);var h=d[3];null!=h&&(e=Dna(parseFloat(h),d[4]));(d=d[5])&&(g=d)}c||(c=!1,d=b.length,0>a&&(b.push(new Cc(3100,!1)),c=!0),0>e&&(b.push(new Cc(3101,!1)),c=!0),c&&b.splice(d,0,new Cc(3E3,!1)));b={duration:a,delay:e,easing:g}}return b},dh=function(a){var b=void 0===
b?{}:b;Object.keys(a).forEach(function(c){b[c]=a[c]});return b},Fna=function(a){var b=new Map;Object.keys(a).forEach(function(c){b.set(c,a[c])});return b},Gna=function(a){return a.length?a[0]instanceof Map?a:a.map(function(b){return Fna(b)}):[]},eh=function(a,b,c){b=void 0===b?new Map:b;if(c){c=k(c);for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b.set(d,e)}}a=k(a);for(c=a.next();!c.done;c=a.next())d=k(c.value),c=d.next().value,d=d.next().value,b.set(c,d);
return b},fh=function(a,b,c){b.forEach(function(d,e){var g=sna(e);c&&!c.has(e)&&c.set(e,a.style[g]);a.style[g]=d})},gh=function(a,b){b.forEach(function(c,d){d=sna(d);a.style[d]=""})},hh=function(a){return Array.isArray(a)?1==a.length?a[0]:{type:2,steps:a,options:null}:a},Ina=function(a,b,c){var d=b.params||{};a=Hna(a);a.length&&a.forEach(function(e){d.hasOwnProperty(e)||c.push(new Cc(3001,!1))})},Hna=function(a){var b=[];if("string"===typeof a){for(var c;c=Jna.exec(a);)b.push(c[1]);Jna.lastIndex=
0}return b},ih=function(a,b,c){var d=a.toString(),e=d.replace(Jna,function(g,h){h=b[h];null==h&&(c.push(new Cc(3003,!1)),h="");return h.toString()});return e==d?a:e},Kna=function(a){for(var b=[],c=a.next();!c.done;)b.push(c.value),c=a.next();return b},sna=function(a){return a.replace(Lna,function(){return Zc.apply(0,arguments)[1].toUpperCase()})},Mna=function(a,b,c){if(c.size&&b.length){var d=b[0],e=[];c.forEach(function(h,l){d.has(l)||e.push(l);d.set(l,h)});if(e.length){c={};for(var g=1;g<b.length;c=
{$jscomp$loop$prop$kf$2287:c.$jscomp$loop$prop$kf$2287},g++)c.$jscomp$loop$prop$kf$2287=b[g],e.forEach(function(h){return function(l){var q=h.$jscomp$loop$prop$kf$2287,v=q.set;var x=window.getComputedStyle(a)[l];return v.call(q,l,x)}}(c))}}return b},jh=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 Cc(3004,!1);}},Ona=function(a){var b=a.split(/\s*,\s*/).find(function(c){return":self"==c})?!0:!1;b&&(a=a.replace(Nna,""));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]},Pna=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},Qna=function(a,b){if(a.hasOwnProperty("duration"))return a;if("number"==typeof a)return{duration:Ena(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=Ena(a,b);return{duration:a.duration,delay:a.delay,easing:a.easing}},kh=function(a){if(a){if(a=dh(a),a.params){var b=a;var c=(c=a.params)?dh(c):null;b.params=c}}else a={};return a},Rna=function(a,b,c,d,e,g,h,l){return{type:1,element:a,keyframes:b,preStyleProps:c,postStyleProps:d,duration:e,delay:g,totalTime:e+g,easing:void 0===h?null:h,subTimeline:void 0===l?!1:l}},Tna=function(a,b,c,d,e,g,h,l,q,v){g=void 0===g?new Map:g;h=void 0===h?new Map:
h;v=void 0===v?[]:v;return(new Sna).buildKeyframes(a,b,c,d,e,g,h,l,q,v)},Una=function(a){var b=Math.pow(10,2);return Math.round(a*b)/b},Vna=function(a,b){var c=new Map,d;a.forEach(function(e){if("*"===e){d=d||b.keys();e=k(d);for(var g=e.next();!g.done;g=e.next())c.set(g.value,"*")}else eh(e,c)});return c},Wna=function(a,b,c,d,e,g,h,l,q,v,x,A,G){return{type:0,element:a,triggerName:b,isRemovalTransition:e,fromState:c,fromStyles:g,toState:d,toStyles:h,timelines:l,queriedElements:q,preStyleProps:v,postStyleProps:x,
totalTime:A,errors:G}},Xna=function(a,b,c,d,e){return a.some(function(g){return g(b,c,d,e)})},Yna=function(a,b){b=dh(b);for(var c in a)a.hasOwnProperty(c)&&null!=a[c]&&(b[c]=a[c]);return b},Zna=function(a,b){return new lh(a,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(){return!0}],options:null,queryCount:0,depCount:0},b)},$na=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))},aoa=function(a){return a&&1===a.nodeType},boa=function(a,b){var c=a.style.display;
a.style.display=null!=b?b:"none";return c},doa=function(a,b,c,d,e){var g=[];c.forEach(function(q){return g.push(boa(q))});var h=[];d.forEach(function(q,v){var x=new Map;q.forEach(function(A){var G=b.computeStyle(v,A,e);x.set(A,G);G&&0!=G.length||(v.__ng_removed=coa,h.push(v))});a.set(v,x)});var l=0;c.forEach(function(q){return boa(q,g[l++])});return h},eoa=function(a,b){function c(h){if(!h)return 1;var l=g.get(h);if(l)return l;var q=h.parentNode;d.has(q)?l=q:e.has(q)?l=1:l=c(q);g.set(h,l);return l}
var d=new Map;a.forEach(function(h){return d.set(h,[])});if(0==b.length)return d;var e=new Set(b),g=new Map;b.forEach(function(h){var l=c(h);1!==l&&d.get(l).push(h)});return d},mh=function(a,b){var c;null==(c=a.classList)||c.add(b)},nh=function(a,b){var c;null==(c=a.classList)||c.remove(b)},foa=function(a,b,c){ah(c).onDone(function(){return oh(a,b)})},hoa=function(a){var b=[];goa(a,b);return b},goa=function(a,b){for(var c=0;c<a.length;c++){var d=a[c];d instanceof rna?goa(d.players,b):b.push(d)}},
ioa=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},joa=function(a,b,c){var d=c.get(a);if(!d)return!1;var e=b.get(a);e?d.forEach(function(g){return e.add(g)}):b.set(a,d);c.delete(a);return!0},moa=function(a,b){var c=null,d=null;Array.isArray(b)&&b.length?(c=koa(b[0]),1<b.length&&(d=koa(b[b.length-1]))):b instanceof Map&&(c=koa(b));return c||d?new loa(a,c,d):null},koa=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},noa=function(a){switch(a){case "body":return document.body;case "document":return document;case "window":return window;default:return a}},ooa=function(a){var b=a.indexOf("."),c=a.substring(0,b);a=a.slice(b+1);return[c,a]},poa=function(a){return{matches:"all"===a||""===a,media:a,addListener:function(){},removeListener:function(){}}},qoa=function(a){return a.map(function(b){return b.split(",")}).reduce(function(b,
c){return b.concat(c)}).map(function(b){return b.trim()})},roa=function(){return null},toa=function(a,b,c){var d=soa(a,b);d.some(function(e){return e.trim()==c.trim()})||(d.push(c.trim()),a.setAttribute(b,d.join(" ")))},ph=function(a,b,c){var d=soa(a,b).filter(function(e){return e!=c.trim()});d.length?a.setAttribute(b,d.join(" ")):a.removeAttribute(b)},soa=function(a,b){return(a.getAttribute(b)||"").match(/\S+/g)||[]},uoa=function(a,b){return"string"===typeof a?(b||"")+"/"+a:a},woa=function(a,b){a.id||
(a.id="cdk-describedby-message-"+b+"-"+voa++)},xoa=function(){return Jc(qh)},yoa=function(a,b){return b.some(function(c){var d=a.top>c.bottom,e=a.right<c.left,g=a.left>c.right;return a.bottom<c.top||d||e||g})},zoa=function(a,b){return b.some(function(c){var d=a.bottom>c.bottom,e=a.left<c.left,g=a.right>c.right;return a.top<c.top||d||e||g})},Aoa=function(a){return a&&"function"===typeof a.connect&&!(a instanceof D.ConnectableObservable)},rh=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},
Coa=function(a){if("number"!==typeof a&&null!=a){var b=k(a.split(Boa));a=b.next().value;return(b=b.next().value)&&"px"!==b?null:parseFloat(a)}return a||null},Doa=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)}},th=function(a,b){var c=function(){var d=a.apply(this,[].concat(cd(Zc.apply(0,arguments))))||this;d.defaultColor=b;d.color=b;return d};T(c,a);sh.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},uh=function(a){var b=function(){var c=a.apply(this,[].concat(cd(Zc.apply(0,arguments))))||this;c._disableRipple=!1;return c};T(b,a);sh.Object.defineProperties(b.prototype,{disableRipple:{configurable:!0,
enumerable:!0,get:function(){return this._disableRipple},set:function(c){this._disableRipple=Fg(c)}}});return b},vh=function(a){var b=function(){var c=a.apply(this,[].concat(cd(Zc.apply(0,arguments))))||this;c._disabled=!1;return c};T(b,a);sh.Object.defineProperties(b.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(c){this._disabled=Fg(c)}}});return b},Eoa=function(a){var b=function(){var c=a.apply(this,[].concat(cd(Zc.apply(0,arguments))))||this;
c.errorState=!1;return c};T(b,a);b.prototype.updateErrorState=function(){var c=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);c!==this.errorState&&(this.errorState=c,this.stateChanges.next())};return b},Foa=function(a){var b=function(){var c=a.apply(this,[].concat(cd(Zc.apply(0,arguments))))||this;c._isInitialized=!1;c._pendingSubscribers=[];c.initialized=new D.Observable(function(d){c._isInitialized?
c._notifySubscriber(d):c._pendingSubscribers.push(d)});return c};T(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},wh=function(a,b){b=void 0===b?0:b;var c=function(){var d=a.apply(this,[].concat(cd(Zc.apply(0,arguments))))||this;d._tabIndex=b;d.defaultTabIndex=b;return d};T(c,a);sh.Object.defineProperties(c.prototype,
{tabIndex:{configurable:!0,enumerable:!0,get:function(){return this.disabled?-1:this._tabIndex},set:function(d){this._tabIndex=null!=d?Ig(d):this.defaultTabIndex}}});return c},Goa=function(){return Jc(xh)},Hoa=function(a,b){var c=void 0===c?"mat":c;a.changes.pipe(Ze(a)).subscribe(function(d){d=d.length;b.nativeElement.classList.toggle(c+"-2-line",!1);b.nativeElement.classList.toggle(c+"-3-line",!1);b.nativeElement.classList.toggle(c+"-multi-line",!1);2===d||3===d?b.nativeElement.classList.toggle(c+
"-"+d+"-line",!0):3<d&&b.nativeElement.classList.toggle(c+"-multi-line",!0)})},Ioa=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)},Joa=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},Koa=function(a,b,c,d){return a<c?a:a+b>c+d?Math.max(0,a-d+b):c},Loa=function(a){a&1&&(F(0,"tr",3)(1,"td",4),P(2),H()());a&2&&(a=N(),
z(1),wf("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),of("colspan",a.numCols),z(1),Lf(" ",a.label," "))},Moa=function(a){a&1&&(F(0,"td",4),P(1),H());a&2&&(a=N(2),wf("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),of("colspan",a._firstRowOffset),z(1),Lf(" ",a._firstRowOffset>=a.labelMinRequiredCells?a.label:""," "))},Noa=function(a,b){if(a&1){var c=u();F(0,"td",8)(1,"button",9);L("click",function(g){var h=w(c).$implicit,l=N(2);return y(l._cellClicked(h,g))})("focus",
function(g){var h=w(c).$implicit,l=N(2);return y(l._emitActiveDateChange(h,g))});F(2,"span",10);P(3);H();I(4,"span",11);H()()}if(a&2){a=b.$implicit;b=b.index;var d=N().index,e=N();wf("width",e._cellWidth)("padding-top",e._cellPadding)("padding-bottom",e._cellPadding);of("data-mat-row",d)("data-mat-col",b);z(1);xf("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));E("ngClass",a.cssClasses)("tabindex",e._isActiveCell(d,b)?0:-1);of("aria-label",a.ariaLabel)("aria-disabled",!a.enabled||null)("aria-pressed",e._isSelected(a.compareValue))("aria-current",e.todayValue===a.compareValue?"date":null)("aria-describedby",e._getDescribedby(a.compareValue));z(1);xf("mat-calendar-body-selected",e._isSelected(a.compareValue))("mat-calendar-body-comparison-identical",e._isComparisonIdentical(a.compareValue))("mat-calendar-body-today",
e.todayValue===a.compareValue);z(1);Lf(" ",a.displayValue," ")}},Ooa=function(a,b){a&1&&(F(0,"tr",5),O(1,Moa,2,6,"td",6),O(2,Noa,5,48,"td",7),H());if(a&2){a=b.$implicit;b=b.index;var c=N();z(1);E("ngIf",0===b&&c._firstRowOffset);z(1);E("ngForOf",a)}},Poa=function(a){return"TD"===(null==a?void 0:a.nodeName)},Qoa=function(a){if(Poa(a))var b=a;else if(Poa(a.parentNode))b=a.parentNode;else{var c;Poa(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},Roa=function(a,b,c){return null!==c&&b!==c&&a<c&&a===b},Soa=function(a,b,c){return null!==b&&b!==c&&a>=b&&a===c},Toa=function(a,b,c,d){return d&&null!==b&&null!==c&&b!==c&&a>=b&&a<=c},Uoa=function(a){a=a.changedTouches[0];return document.elementFromPoint(a.clientX,a.clientY)},Voa=function(a,b){a&1&&(F(0,"th",5)(1,"span",6),P(2),H(),F(3,"span",7),P(4),H()());a&2&&(a=b.$implicit,z(2),Mf(a.long),z(2),Mf(a.narrow))},Xoa=function(a,b,c,d,e){b=a.getYear(b);
c=a.getYear(c);a=Woa(a,d,e);return Math.floor((b-a)/24)===Math.floor((c-a)/24)},yh=function(a,b,c,d){return((a.getYear(b)-Woa(a,c,d))%24+24)%24},Woa=function(a,b,c){var d=0;c?d=a.getYear(c)-24+1:b&&(d=a.getYear(b));return d},Yoa=function(){},Zoa=function(a){if(a&1){var b=u();F(0,"mat-month-view",5);L("activeDateChange",function(c){w(b);var d=N();return y(d.activeDate=c)})("_userSelection",function(c){w(b);var d=N();return y(d._dateSelected(c))})("dragStarted",function(c){w(b);var d=N();return y(d._dragStarted(c))})("dragEnded",
function(c){w(b);var d=N();return y(d._dragEnded(c))});H()}a&2&&(a=N(),E("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))},$oa=function(a){if(a&1){var b=u();F(0,"mat-year-view",6);L("activeDateChange",function(c){w(b);
var d=N();return y(d.activeDate=c)})("monthSelected",function(c){w(b);var d=N();return y(d._monthSelectedInYearView(c))})("selectedChange",function(c){w(b);var d=N();return y(d._goToDateInView(c,"month"))});H()}a&2&&(a=N(),E("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},apa=function(a){if(a&1){var b=u();F(0,"mat-multi-year-view",7);L("activeDateChange",function(c){w(b);var d=N();return y(d.activeDate=
c)})("yearSelected",function(c){w(b);var d=N();return y(d._yearSelectedInMultiYearView(c))})("selectedChange",function(c){w(b);var d=N();return y(d._goToDateInView(c,"year"))});H()}a&2&&(a=N(),E("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},bpa=function(a){a&1&&I(0,"mat-pseudo-checkbox",5);a&2&&(a=N(),E("state",a.selected?"checked":"unchecked")("disabled",a.disabled))},cpa=function(a){a&1&&(F(0,"span",
6),P(1),H());a&2&&(a=N(),z(1),Lf("(",a.group.label,")"))},dpa=function(){},epa=function(a,b){for(var c=a.length;c--;)b(a[c])},fpa=function(){},gpa=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},hpa=function(a){a&1&&(J(0),F(1,"div",14),I(2,"div",15)(3,"div",16)(4,"div",17),H(),F(5,"div",18),I(6,"div",15)(7,"div",16)(8,"div",17),H(),K())},ipa=function(a){if(a&1){var b=u();
F(0,"div",19);L("cdkObserveContent",function(){w(b);var c=N();return y(zh(c))});Gf(1,1);H()}a&2&&(a=N(),E("cdkObserveContentDisabled","outline"!=a.appearance))},jpa=function(a){a&1&&(J(0),Gf(1,2),F(2,"span"),P(3),H(),K());a&2&&(a=N(2),z(3),Mf(a._control.placeholder))},kpa=function(a){a&1&&Gf(0,3,["*ngSwitchCase","true"])},lpa=function(a){a&1&&(F(0,"span",23),P(1," *"),H())},mpa=function(a){if(a&1){var b=u();F(0,"label",20,21);L("cdkObserveContent",function(){w(b);var c=N();return y(zh(c))});O(2,jpa,
4,1,"ng-container",12);O(3,kpa,1,0,"ng-content",12);O(4,lpa,2,0,"span",22);H()}a&2&&(a=N(),xf("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),E("cdkObserveContentDisabled","outline"!=a.appearance)("id",a._labelId)("ngSwitch",a._hasLabel()),of("for",a._control.id)("aria-owns",a._control.id),z(2),E("ngSwitchCase",!1),z(1),E("ngSwitchCase",!0),z(1),E("ngIf",!a.hideRequiredMarker&&
a._control.required&&!a._control.disabled))},npa=function(a){a&1&&(F(0,"div",24),Gf(1,4),H())},opa=function(a){a&1&&(F(0,"div",25),I(1,"span",26),H());a&2&&(a=N(),z(1),xf("mat-accent","accent"==a.color)("mat-warn","warn"==a.color))},ppa=function(a){a&1&&(F(0,"div"),Gf(1,5),H());a&2&&(a=N(),E("@transitionMessages",a._subscriptAnimationState))},qpa=function(a){a&1&&(F(0,"div",30),P(1),H());a&2&&(a=N(2),E("id",a._hintLabelId),z(1),Mf(a.hintLabel))},rpa=function(a){a&1&&(F(0,"div",27),O(1,qpa,2,2,"div",
28),Gf(2,6),I(3,"div",29),Gf(4,7),H());a&2&&(a=N(),E("@transitionMessages",a._subscriptAnimationState),z(1),E("ngIf",a.hintLabel))},tpa=function(){if(void 0===spa&&(spa=null,"undefined"!==typeof window)){var a=window;void 0!==a.trustedTypes&&(spa=a.trustedTypes.createPolicy("angular#components",{createHTML:function(b){return b}}))}return spa},upa=function(a){var b;return(null==(b=tpa())?void 0:b.createHTML(a))||a},vpa=function(){var a=Jc(qh),b=a?a.location:null;return{getPathname:function(){return b?
b.pathname+b.search:""}}},Ah=function(a){a&&"function"==typeof a.dispose&&a.dispose()},wpa=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];va(d)?wpa.apply(null,d):Ah(d)}},xpa=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;x=v=0}function b(A){for(var G=h,M=0;64>M;M+=4)G[M/4]=A[M]<<24|A[M+1]<<16|A[M+2]<<8|A[M+3];for(M=16;80>M;M++)A=G[M-3]^G[M-8]^G[M-14]^G[M-16],G[M]=(A<<1|A>>>31)&4294967295;A=e[0];var Q=e[1],Y=e[2],W=e[3],
ia=e[4];for(M=0;80>M;M++){if(40>M)if(20>M){var ja=W^Q&(Y^W);var Aa=1518500249}else ja=Q^Y^W,Aa=1859775393;else 60>M?(ja=Q&Y|W&(Q|Y),Aa=2400959708):(ja=Q^Y^W,Aa=3395469782);ja=((A<<5|A>>>27)&4294967295)+ja+ia+Aa+G[M]&4294967295;ia=W;W=Y;Y=(Q<<30|Q>>>2)&4294967295;Q=A;A=ja}e[0]=e[0]+A&4294967295;e[1]=e[1]+Q&4294967295;e[2]=e[2]+Y&4294967295;e[3]=e[3]+W&4294967295;e[4]=e[4]+ia&4294967295}function c(A,G){if("string"===typeof A){A=unescape(encodeURIComponent(A));for(var M=[],Q=0,Y=A.length;Q<Y;++Q)M.push(A.charCodeAt(Q));
A=M}G||(G=A.length);M=0;if(0==v)for(;M+64<G;)b(A.slice(M,M+64)),M+=64,x+=64;for(;M<G;)if(g[v++]=A[M++],x++,64==v)for(v=0,b(g);M+64<G;)b(A.slice(M,M+64)),M+=64,x+=64}function d(){var A=[],G=8*x;56>v?c(l,56-v):c(l,64-(v-56));for(var M=63;56<=M;M--)g[M]=G&255,G>>>=8;b(g);for(M=G=0;5>M;M++)for(var Q=24;0<=Q;Q-=8)A[G++]=e[M]>>Q&255;return A}for(var e=[],g=[],h=[],l=[128],q=1;64>q;++q)l[q]=0;var v,x;a();return{reset:a,update:c,digest:d,digestString:function(){for(var A=d(),G="",M=0;M<A.length;M++)G+="0123456789ABCDEF".charAt(Math.floor(A[M]/
16))+"0123456789ABCDEF".charAt(A[M]%16);return G}}},ypa=function(a,b,c){Bh(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)},zpa=function(a){a&1&&(rd(),F(0,"svg",3),I(1,"polygon",4),H())},Apa=function(a){if(a&1){var b=u();F(0,"div",0);L("keydown",function(c){w(b);var d=N();return y(d._handleKeydown(c))})("click",function(){w(b);var c=N();return y(c.closed.emit("click"))})("@transformMenu.start",
function(c){w(b);var d=N();return y(d._onAnimationStart(c))})("@transformMenu.done",function(c){w(b);var d=N();return y(d._onAnimationDone(c))});F(1,"div",1);Gf(2);H()()}a&2&&(a=N(),E("id",a.panelId)("ngClass",a._classList)("@transformMenu",a._panelAnimationState),of("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},Bpa=function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}},
Cpa=function(a){a&1&&(rd(),F(0,"svg",2),I(1,"polygon",3),H())},Dpa=function(a){if(a&1){var b=u();F(0,"div",0);L("keydown",function(c){w(b);var d=N();return y(d._handleKeydown(c))})("click",function(){w(b);var c=N();return y(c.closed.emit("click"))})("@transformMenu.start",function(c){w(b);var d=N();return y(d._onAnimationStart(c))})("@transformMenu.done",function(c){w(b);var d=N();return y(d._onAnimationDone(c))});F(1,"div",1);Gf(2);H()()}a&2&&(a=N(),E("id",a.panelId)("ngClass",a._classList)("@transformMenu",
a._panelAnimationState),of("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},Ch=function(a,b){throw Error(void 0===b?"unexpected value "+a+"!":b);},Gpa=function(a){var b=Dh(a,"Content-Type");if(!b)return null;b=b.toLowerCase();if(b.startsWith("application/json"))return b.startsWith("application/json+protobuf")?new Epa:new Fpa;if(b.startsWith("application/x-protobuf")){a=Dh(a,"Content-Transfer-Encoding");if(!a)return new Eh;if("base64"==
a.toLowerCase())return new Fh}return null},Hpa=function(a,b){if(a.nodeType===Node.ELEMENT_NODE&&b){var c,d;b=((null==(c=a.getAttribute)?void 0:null==(d=c.call(a,"aria-labelledby"))?void 0:d.split(/\s+/g))||[]).reduce(function(q,v){(v=document.getElementById(v))&&q.push(v);return q},[]);if(b.length)return b.map(function(q){return Hpa(q,!1)}).join(" ")}if(a.nodeType===Node.ELEMENT_NODE){var e;if(c=null==(e=a.getAttribute("aria-label"))?void 0:e.trim())return c}if("INPUT"===a.nodeName||"TEXTAREA"===
a.nodeName){var g;if(null==(g=a.labels)?0:g.length)return Array.from(a.labels).map(function(q){return Hpa(q,!1)}).join(" ");var h;if(e=null==(h=a.getAttribute("placeholder"))?void 0:h.trim())return e;var l;if(h=null==(l=a.getAttribute("title"))?void 0:l.trim())return h}return(a.textContent||"").replace(/\s+/g," ").trim()},Ipa=function(){return{color:"accent"}},Jpa=function(a){return"nonprod"===a.environment?"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com":"https://devopsconsole-pa-googleapis.corp.google.com"},
Kpa=function(a){a=a.tagName;if("SCRIPT"===a||"STYLE"===a)throw Error("ca");},Lpa=function(a,b){a.src=Gh(b).toString()},Hh=function(a,b){a.src=Gh(b);var c,d;(c=(b=null==(d=(c=(a.ownerDocument&&a.ownerDocument.defaultView||window).document).querySelector)?void 0:d.call(c,"script[nonce]"))?b.nonce||b.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",c)},Mpa=function(a,b,c){b=ina(b);void 0!==b&&a.open(b,c,void 0)},Ih=function(a){return null==console?!1:"function"===typeof console[a]},Jh=function(){Ih("debug")&&
console.debug.apply(console,Zc.apply(0,arguments))},Npa=function(){Ih("info")&&console.info.apply(console,Zc.apply(0,arguments))},Opa=function(){Ih("log")&&console.log.apply(console,Zc.apply(0,arguments))},Kh=function(){Ih("warn")&&console.warn.apply(console,Zc.apply(0,arguments))},Ppa=function(){Ih("error")&&console.error.apply(console,Zc.apply(0,arguments))},Qpa=function(a){if(null!=a){var b=a.getYear();if(null==b)Kh("No year. dateToJs");else{var c=a.getDay();if(null==c)Kh("No day. dateToJs");else if(a=
a.getMonth(),null==a)Kh("No month. dateToJs");else return{year:b,day:c,month:a}}}},Rpa=function(a){var b=new Lh;Ib(b,3,a.day);b.setMonth(a.month);b.setYear(a.year);return b},Mh=function(a){if(null!=a){var b=a.getSeconds();a=a.getNanos();return{seconds:b,nanos:a}}},Oh=function(a){var b=new Nh;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},Spa=function(a){var b=new Ph;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},Tpa=function(a){if(null!=a)return Number(a.toDate())},Upa=function(a){var b;
return{changelistNumbers:null!=(b=Qh(a,1))?b:[]}},Wpa=function(a){return{changelists:a.getChangelistsList().map(Vpa),nextPageToken:a.getNextPageToken()}},Vpa=function(a){var b,c;return{author:a.getAuthor(),changelistNumber:Rh(a,2),pending:a.getPending(),timestamp:Mh(a.getTimestamp()),issueIds:null!=(b=a.getIssueIdsList())?b:[],fixedIssueIds:null!=(c=Sh(a,6))?c:[]}},Xpa=function(a){var b;return{author:a.getAuthor(),description:a.getDescription(),pending:a.getPending(),timestamp:a.getTimestamp(),affectedFiles:null!=
(b=Th(a,5))?b:[]}},Vh=function(a){return new Uh(a.year,a.month-1,a.day)},Wh=function(a){return{month:a.getMonth()+1,day:a.getDate(),year:a.getFullYear()}},Ypa=function(a){return!(!a||null==a.day||null==a.month||null==a.year)},Zpa=function(a,b){return a.size!==b.size?!1:[].concat(cd(a)).every(function(c){return b.has(c)})},$pa=function(a){var b=new Set;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=k(c.value);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b},aqa=function(a,b){if(!Zpa(a,
b)){var c=[].concat(cd(b)).filter(function(e){return!a.has(e)}),d=[].concat(cd(a)).filter(function(e){return!b.has(e)});return{added:c,removed:d}}},bqa=function(a,b){var c=a.size>b.size?a:b;return new Set([].concat(cd(a===c?b:a)).filter(function(d){return c.has(d)}))},cqa=function(a,b){return a.size>=b.size&&[].concat(cd(b)).every(function(c){return a.has(c)})},Xh=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(!Xh(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?Zpa(a,b):!1;if(a instanceof p||b instanceof p)return a instanceof p&&b instanceof p?a==b||!(!a||!b)&&a instanceof b.constructor&&Eba(a,b):!1;if("object"===typeof a){if("object"!==typeof b)return!1;
c=Object.keys(a);d=c.length;if(d!==Object.keys(b).length)return!1;for(var e=0;e<d;e++){var g=c[e];if(!dqa.call(b,g)||!Xh(a[g],b[g]))return!1}return!0}return!1},eqa=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=!1,e=k(b),g=e.next();!g.done;g=e.next())if(Xh(c,g.value)){d=!0;break}d||b.push(c)}return b},fqa=function(a,b){for(var c=a.length-1;0<=c;c--)Xh(a[c],b)&&a.splice(c,1)},gqa=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 g=d[e];if(a[g]!==b[g]&&("object"!==typeof a[g]||"object"!==typeof b[g]))return!1}return!0},iqa=function(a){return Object.assign.apply(Object,[{}].concat(cd(hqa.map(function(b){var c={};return c[b]=a[b],c}))))},Yh=function(a){if(null!==a&&void 0!==a&&-1===["boolean","function","number","string"].indexOf(typeof a))if(Array.isArray(a)){var b=[];a=k(a);for(var c=a.next();!c.done;c=
a.next())b.push(Yh(c.value));a=b}else if(a instanceof Date)a=new Date(a.getTime());else if(a instanceof Map){b=new Map;a=k(a);for(c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.set(Yh(c),Yh(d))}a=b}else if(a instanceof p)a=a.clone();else{b={};c=k(Object.entries(a));for(d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b[d]=Yh(e)}Object.setPrototypeOf(b,Object.getPrototypeOf(a));a=b}return a},jqa=function(a){return"number"===typeof a},
Zh=function(a){return"string"===typeof a},$h=function(a){return Array.isArray(a)&&a.every(Zh)},kqa=function(a){return Array.isArray(a)&&a.every(jqa)},lqa=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},ai=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},ci=function(a){if(a){if(jqa(a)){var b=new Date(a);47E3<b.getFullYear()&&(b=new Date(a/1E3));return new Uh(b)}b=
a.split("/");if(3===b.length)return a=bi(b[2]),50>a?a+=2E3:100>a&&(a+=1900),new Uh(a,bi(b[0])-1,bi(b[1]));if(1===b.length)return ci(Number(a))}return new Uh},mqa=function(a){return a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"")},nqa=function(a){return!(!a||!di(a,"text/")&&!di(a,"image/")&&"application/pdf"!==a)},oqa=function(a,b){return a.map(function(c){return c[b]})},pqa=function(a,b){return a.filter(function(c){return!b.has(c)})},qqa=function(a,b){for(var c=k(a),d=c.next();!d.done;d=c.next())if(!b.has(d.value))return!1;
b=k(b);for(d=b.next();!d.done;d=b.next())if(!a.has(d.value))return!1;return!0},ei=function(a,b){return pqa(a,new Set(b))},rqa=function(a,b){var c=/[,;]/;(void 0===b||b)&&(c=/[\s,;]/);return a.split(c).map(fi).filter(function(d){return!!d})},sqa=function(a,b){a=new URL(a);return a.host+a.pathname+b},tqa=function(a){return a?Wh(ci(a)):null},uqa=function(a){return a?(a=gi(a),isNaN(a)?null:a):null},wqa=function(a){var b=new hi;b.customFieldId=a.customFieldId;b.componentId=a.componentId;b.name=a.name;
b.type=a.type;b.description=a.description||"";a.typedDefaultValue&&(b.typedDefaultValue=new ii(a.typedDefaultValue));b.required=!!a.required;b.fieldSignificance=a.fieldSignificance||"MINOR";b.allowedValue=a.allowedValue||null;b.stateOnIssues=vqa[a.stateOnIssues]||1;var c=a.enabledOnIssues;b.enabledOnIssues=null==c?!0:c;b.shared=a.shared;return b},xqa=function(a){return void 0!==a.user},yqa=function(a){switch(a){case "public_non_google":return"Public (non-google.com)";case "googlers_unrestricted":return"Full-time Googlers";
default:return ji(a.replace(/_/g," ").toLowerCase())}},Aqa=function(a){if(a)return{accessLevel:zqa[a.getAccessLevel()]}},Cqa=function(a){a=Bqa[a.accessLevel];var b=new ki;b.setAccessLevel(a);return b},Dqa=function(a){if(!a)return!1;a=a.userGaiaStatus;return!a||"ACTIVE"===a||"UNSPECIFIED"===a},mi=function(a){return a?a.map(li):[]},ni=function(a){a=mi(a);a.sort();return a},li=function(a){return a&&a.getUserGaiaStatus?Eqa(oi(a)):Eqa(a)},Eqa=function(a){return a?"DELETED"===a.userGaiaStatus?"[Deleted User]":
"UNAVAILABLE"===a.userGaiaStatus?"[Unavailable User]":Dqa(a)?Fqa(a)||"[No Data]":"[No Data]":""},pi=function(a){return a&&a.getUserGaiaStatus?Fqa(oi(a)):Fqa(a)},Fqa=function(a){if(a)return a.emailAddress||a.obfuscatedEmailAddress||""},oi=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=Gqa[c];(c=a.getAliasesList())&&0<c.length&&(b.aliases=c);return b}},qi=function(a){if(!a)return null;
var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())(c=oi(c.value))&&b.push(c);return b},si=function(a){var b=a.emailAddress,c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new ri;b&&e.setEmailAddress(b);c&&e.setObfuscatedEmailAddress(c);d&&e.setAliasesList(d);a&&e.setUserGaiaStatus(Hqa[a]);return e},ti=function(a){return a?{emailAddress:a.trim(),userGaiaStatus:"ACTIVE"}:null},Iqa=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())b.push(ti(c.value));return b},ui=
function(a){if(null!=a&&(a=String(a),""!==a.trim()))return a=Number(a),isNaN(a)?void 0:a},vi=function(a){if(null!=a)return String(a)},wi=function(a){if(null!=a&&"0"!==a)return a},xi=function(a){return null==a?void 0:a},yi=function(a){return null==a?null:a},zi=function(a){return function(b){return null==b?a:b}},Ai=function(a){return null!=a},Jqa=function(a){return{noAccessEmails:Th(a,1),unknownEmails:Th(a,2)}},Kqa=function(a){if(null!=a){var b={},c;if(c=a.getUser())b.user=oi(c);if(c=a.getGroup())b.group=
oi(c);if(c=a.getAlias())b.alias=c;return b}},Ci=function(a){var b=new Bi;if(xqa(a))return b.setUser(si(a.user)),b;if(void 0!==a.group)return b.setGroup(si(a.group)),b;void 0!==a.alias&&b.setAlias(a.alias);return b},Mqa=function(a){var b=Lqa[a.getImplicitAccess()],c,d,e,g,h,l,q,v,x,A;return{admins:Di(null!=(c=a.getAdminsList())?c:[]),appenders:Di(null!=(d=a.getAppendersList())?d:[]),editors:Di(null!=(e=a.getEditorsList())?e:[]),readers:Di(null!=(g=a.getReadersList())?g:[]),restrictedReaders:Di(null!=
(h=a.getRestrictedReadersList())?h:[]),restrictedPlusReaders:Di(null!=(l=a.getRestrictedPlusReadersList())?l:[]),inheritedAdmins:Di(null!=(q=a.getInheritedAdminsList())?q:[]),implicitAppenders:Di(null!=(v=a.getImplicitAppendersList())?v:[]),implicitEditors:Di(null!=(x=a.getImplicitEditorsList())?x:[]),implicitReaders:Di(null!=(A=a.getImplicitReadersList())?A:[]),implicitAccess:b}},Di=function(a){return a.map(Kqa).filter(Ai)},Ei=function(a){if(null==a)return"";var b=a.user,c=a.group,d=a.alias;if(null!=
b){var e="USER";var g=b.emailAddress||b.obfuscatedEmailAddress||void 0}else null!=c?(e="GROUP",g=c.emailAddress||c.obfuscatedEmailAddress||void 0):null!=d&&(e="ALIAS",g=d);return null==e||null==g?(Ppa("Invalid principal: ",a),""):e+":"+g},Fi=function(a){return(null!=a?a:[]).map(Ei)},Oqa=function(a){return(null!=a?a:[]).map(Nqa)},Nqa=function(a){var b=k(a.split(":"));a=b.next().value;b=b.next().value;if(!a||!b)throw Error("Vb`"+b);switch(a){case "USER":return{user:{emailAddress:b}};case "GROUP":return{group:{emailAddress:b}};
case "ALIAS":return{alias:b};default:throw Error("Wb`"+b);}},Pqa=function(a){switch(a){case 2:return"PII";case 3:return"SPII";case 0:case 1:return"NONE_DETECTED";default:return Ch(a,"Unexpected pii severity")}},Qqa=function(a){switch(a){case "PII":return 2;case "SPII":return 3;case "NONE_DETECTED":return 1;case "PII_SEVERITY_UNSPECIFIED":return 0;default:return Ch(a,"Unexpected pii severity")}},Gi=function(a){return a&&a.piiVerdict?a.piiVerdict.severity:"NONE_DETECTED"},Rqa=function(a){switch(a){case "NONE_DETECTED":return 1;
case "PII":return 2;case "SPII":return 3;default:return 1}},Sqa=function(a){switch(a){case "PII":return"Restricted";case "SPII":return"Restricted+";default:return""}},Tqa=function(a){var b=Hi(a,1)?Ii(a,1):void 0,c=a.hasResourcePath()?a.getResourcePath():void 0,d=Pqa(a.getSeverity()),e=a.getJudgementReason();a=U(a,5);return{contentJudgementId:b,resourcePath:c,severity:d,judgementReason:e,contentJudge:a}},Uqa=function(a){var b=new Ji;b.setJudgementReason(a.judgementReason);b.setSeverity(Qqa(a.severity));
return b},Vqa=function(a){return String(a)},Ki=function(a){var b=ui(a);if(null==b)throw Error("Xb`"+a);return b},Xqa=function(a){if(null!=a)return{customFieldId:xi(a.getCustomFieldId()),standardField:Wqa[a.getStandardField()]}},Zqa=function(a){var b=new Li;a.customFieldId?b.setCustomFieldId(a.customFieldId):a.standardField&&b.setStandardField(Yqa[a.standardField]);return b},ara=function(a){if(a&&(a=$qa(a)))return wqa(a)},$qa=function(a){if(null!=a){var b=a.getName();if(null==b)Kh("No name. customFieldToJs");
else{var c=ui(a.getCustomFieldId());if(null==c)Kh("No customFieldId. customFieldToJs");else{if(a.hasType())return{name:b,description:xi(a.getDescription()),required:xi(a.getRequired()),enabledOnIssues:!!a.getEnabledOnIssues(),type:bra[a.getType()],customFieldId:c,componentId:ui(a.getComponentId()),allowedValue:xi(Th(a,8)),stateOnIssues:cra[a.getStateOnIssues()],fieldSignificance:dra[a.getFieldSignificance()],typedDefaultValue:era(a.getTypedDefaultValue()),shared:!!a.getShared()};Kh("No type. customFieldToJs")}}}},
era=function(a){if(null!=a){var b=ui(a.getCustomFieldId());if(null==b)Kh("No customFieldId. customFieldValueToJs");else{var c=xi(Th(a,12));b={customFieldId:b,displayValues:c};switch(Mi(a,Ni)){case 4:b.textValue=xi(a.getTextValue());break;case 5:b.dateValue=Qpa(a.getDateValue());break;case 6:b.enumValue=xi(a.getEnumValue());break;case 7:b.numericValue=xi(a.getNumericValue());break;case 8:var d,e;b.repeatedTextValue={values:null!=(e=null==(d=a.getRepeatedTextValue())?void 0:d.getValuesList())?e:[]};
break;case 10:var g,h;b.repeatedEnumValue={values:null!=(h=null==(g=a.getRepeatedEnumValue())?void 0:g.getValuesList())?h:[]};break;case 11:var l,q;b.repeatedNumericValue={values:null!=(q=null==(l=a.getRepeatedNumericValue())?void 0:l.getValuesList())?q:[]};break;case 9:var v,x,A,G;b.repeatedDateValue={values:null!=(G=null==(v=a.getRepeatedDateValue())?void 0:null==(x=v.getValuesList())?void 0:null==(A=x.map(Qpa))?void 0:A.filter(Ai))?G:[]}}return b}}},fra=function(a){var b=new Oi;a.customFieldId&&
b.setCustomFieldId(String(a.customFieldId));a.displayValues&&Pi(b,12,a.displayValues);if(void 0!==a.textValue)b.setTextValue(a.textValue);else if(void 0!==a.enumValue)b.setEnumValue(a.enumValue);else if(void 0!==a.numericValue)b.setNumericValue(a.numericValue);else if(void 0!==a.dateValue)b.setDateValue(Rpa(a.dateValue));else if(void 0!==a.repeatedTextValue){var c=new Qi;c.setValuesList(a.repeatedTextValue.values);b.setRepeatedTextValue(c)}else void 0!==a.repeatedEnumValue?(c=new Qi,c.setValuesList(a.repeatedEnumValue.values),
b.setRepeatedEnumValue(c)):void 0!==a.repeatedNumericValue?(c=new Ri,c.setValuesList(a.repeatedNumericValue.values),b.setRepeatedNumericValue(c)):void 0!==a.repeatedDateValue&&(c=new Si,c.setValuesList(a.repeatedDateValue.values.map(Rpa)),b.setRepeatedDateValue(c));return b},gra=function(a){return ara(a.getCustomField())},jra=function(a){var b=new Ti;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));b.setComponentId(String(a.componentId));b.setType(hra[a.type]);b.setRequired(a.required);
b.setName(a.name);b.setDescription(a.description);a.typedDefaultValue&&b.setTypedDefaultValue(fra(a.typedDefaultValue));a.allowedValue&&Pi(b,8,a.allowedValue);b.setFieldSignificance(ira[a.fieldSignificance]);b.setStateOnIssues(a.stateOnIssues);b.setEnabledOnIssues(a.enabledOnIssues);b.setShared(a.shared);return b},nra=function(a){var b=new Ui;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&&kra(b,lra(new Vi,
a.numericSpec.multiplier));if(a.enumSpec){var c;mra(b,(new Wi).setOptionsList((null!=(c=a.enumSpec.options)?c:[]).map(function(d){return(new Xi).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}Yi(b,6,a)}return b},pra=function(a){if(a.hasPlainFormat()){var b;var c={plainSection:(null!=(b=a.getPlainFormat().getPlainSectionList())?b:[]).map(ora)}}else c=void 0;return{plainFormat:c,markdownFormat:a.hasMarkdownFormat()?
{content:a.getMarkdownFormat().getContent()}:void 0,literalFormat:a.hasLiteralFormat()?{content:a.getLiteralFormat().getContent()}:void 0}},ora=function(a){return{isQuoted:a.getIsQuoted(),content:a.getContent()}},rra=function(a){return(new qra).setIsQuoted(a.isQuoted).setContent(a.content)},tra=function(a){return{retentionSelection:sra[Zi(a,1,0)],retentionPeriodDays:Rh(a,2),piiRetentionSelection:sra[Zi(a,3,0)],piiRetentionPeriodDays:Rh(a,4),spiiRetentionPeriodDays:Rh(a,5)}},vra=function(a){var b=
new $i;V(b,1,ura[a.retentionSelection]);null!==a.retentionPeriodDays&&V(b,2,a.retentionPeriodDays);V(b,3,ura[a.piiRetentionSelection]);null!==a.piiRetentionPeriodDays&&V(b,4,a.piiRetentionPeriodDays);null!==a.spiiRetentionPeriodDays&&V(b,5,a.spiiRetentionPeriodDays);return b},wra=function(a){if(null!=a){var b=yi(Mh(a.getRetentionPeriod()));a=yi(Mh(a.getScheduledDeletionTime()));return{retentionPeriod:b,scheduledDeletionTime:a}}},yra=function(a){if(null!=a){a:{a=X(a,aj,1);if(null!=a){if(a.hasSeverity()){a=
{severity:xra[a.getSeverity()]};break a}Kh("No severity. piiVerdictToJs")}a=void 0}return{piiVerdict:a}}},zra=function(a){var b;return{paths:null!=(b=Th(a,1))?b:[]}},Ara=function(a){return{startTime:Mh(a.getStartTime()),endTime:Mh(a.getEndTime()),targetTime:Mh(a.getTargetTime())}},Bra=function(a){var b=new bj;a.startTime&&b.setStartTime(Oh(a.startTime));a.endTime&&b.setEndTime(Oh(a.endTime));a.targetTime&&b.setTargetTime(Oh(a.targetTime));return b},Dra=function(a){var b=new cj;b.setInherit(a.inherit);
b.setSource(Cra[a.source]);b.setId(a.id);b.setComment(a.comment);V(b,6,a.sourceComponentId);b.setSourceTeamId(a.sourceTeamId);return b},Era=function(a){var b;return 1===(null==(b=a.getTeamSloEditPolicy())?void 0:Zi(b,2,0))},Fra=function(a){var b;return 1===(null==(b=X(a,dj,1))?void 0:b.getEffectiveSloEditPolicy())},Gra=function(a){var b=X(a,ej,2);a:{var c=Zi(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:Ch(c)}c=void 0}var d=a.getTimeZone(),
e=X(a,fj,6);if(null==b)throw Error("Yb");if(null==c)throw Error("Zb");if(null==d)throw Error("$b");if(null==e)throw Error("ac");var g=a.getId(),h={},l=b.getEmailAddress();l&&(h.emailAddress=l);if(l=b.getObfuscatedEmailAddress())h.obfuscatedEmailAddress=l;l=b.getUserGaiaStatus();switch(l){case 0:h.userGaiaStatus="UNSPECIFIED";break;case 1:h.userGaiaStatus="ACTIVE";break;case 2:h.userGaiaStatus="DELETED";break;case 3:h.userGaiaStatus="UNAVAILABLE";break;default:Ch(l)}if(b=b.getAliasesList())h.aliases=
b;a=Rh(a,4);b={id:d.getId()};d.getVersion()&&(b.version=d.getVersion());return{id:g,lead:h,frequency:c,ordinal:a,timeZone:b,timeOfDay:{hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds(),nanos:e.getNanos()}}},Ira=function(a){var b=(new gj).setId(a.id),c=a.lead,d=c.emailAddress,e=c.obfuscatedEmailAddress,g=c.aliases;c=c.userGaiaStatus;var h=new ej;d&&h.setEmailAddress(d);e&&h.setObfuscatedEmailAddress(e);g&&h.setAliasesList(g);if(c)switch(c){case "UNSPECIFIED":h.setUserGaiaStatus(0);break;
case "ACTIVE":h.setUserGaiaStatus(1);break;case "DELETED":h.setUserGaiaStatus(2);break;case "UNAVAILABLE":h.setUserGaiaStatus(3);break;default:Ch(c)}b=hj(b,ej,2,h).setFrequency(Hra(a.frequency));b=Ib(b,4,a.ordinal);d=b.setTimeZone;e=a.timeZone;g=(new ij).setId(e.id);e.version&&g.setVersion(e.version);b=d.call(b,g);a=a.timeOfDay;a=(new fj).setHours(a.hours).setMinutes(a.minutes).setSeconds(a.seconds).setNanos(a.nanos);return hj(b,fj,6,a)},Lra=function(a){return{metric:Jra[a.getMetric()],matcher:a.getMatcher(),
dayType:Kra[a.getDayType()],objective:Mh(a.getObjective()),businessDays:a.getBusinessDays()}},Ora=function(a){var b=new jj;return V(b,1,Mra[a.metric]).setMatcher(a.matcher).setDayType(Nra[a.dayType]).setObjective(Spa(a.objective)).setBusinessDays(a.businessDays)},lj=function(a){var b,c;return{sloId:a.getSloId(),version:a.getVersion(),name:a.getName(),description:a.getDescription(),parentId:a.getParentId(),elements:(null!=(b=kj(a,jj,6))?b:[]).map(Lra),effectiveElements:(null!=(c=kj(a,jj,7))?c:[]).map(Lra),
isArchived:a.getIsArchived(),alertState:Pra[Zi(a,9,0)]}},Rra=function(a){var b=(new mj).setSloId(a.sloId).setVersion(a.version).setName(a.name).setDescription(a.description).setParentId(a.parentId);var c=a.elements.map(Ora);b=nj(b,6,c);c=a.effectiveElements.map(Ora);b=nj(b,7,c).setIsArchived(a.isArchived);return V(b,9,Qra[a.alertState])},Sra=function(a){return{author:oi(a.getAuthor()),timestamp:Mh(a.getTimestamp()),add:lj(a.getAdd()),remove:lj(a.getRemove()),addMask:zra(a.getAddMask()),removeMask:zra(a.getRemoveMask())}},
Hra=function(a){switch(a){case "daily":return 1;case "weekly":return 2;case "monthly":return 3;default:return Ch(a)}},Tra=function(a){if(null!=a)return{tag:a.getTag(),text:a.getText()}},bsa=function(a){if(null!=a){var b,c,d,e,g,h,l,q,v=a.getTitle()||"",x=yi(a.getComment()),A=Ura(a.getFormattingMode()),G=yi(a.getVersion()),M=yi(a.getCreatedTimeMicros()),Q=!!a.getIsArchived(),Y=!!a.getInProd(),W=yi(a.getIsDeleted()),ia=yi(Th(a,18)),ja=yi(a.getPostmortemsList()),Aa=yi(Th(a,19)),Da=yi(Th(a,20)),Oa=yi(Th(a,
21)),Ta=yi(ui(a.getComponentId())),Wa=null!=(h=wi(Ii(a,15)))?h:null;h=yi(null==(b=Sh(a,14))?void 0:b.map(ui).filter(Ai));b=yi(null==(c=Sh(a,16))?void 0:c.map(wi).filter(Ai));c=yi(null==(d=Sh(a,17))?void 0:d.map(wi).filter(Ai));d=yi(null==(e=a.getHotlistIdList())?void 0:e.map(ui).filter(Ai));e=yi(null==(g=Sh(a,30))?void 0:g.map(wi).filter(Ai));g=null!=(l=Mh(a.getSloStartTime()))?l:null;l=null!=(q=Mh(a.getSloEndTime()))?q:null;q=yi(oi(X(a,ri,36)));var Nb=yi(oi(X(a,ri,37))),Eb=yi(oi(X(a,ri,38))),cb=
yi(oi(X(a,ri,39))),sa=yi(qi(kj(a,ri,40))),Ka=yi(qi(kj(a,ri,51))),Qa=kj(a,Oi,24).map(era).filter(Ai),fb=Vra[a.getRetention()],$a=dra[a.getSignificanceOverride()],Yc=Wra[a.getDeletionReason()],hb=a.hasType()?Xra[a.getType()]:null,yb=a.hasPriority()?Yra[a.getPriority()]:null,bb=a.hasSeverity()?Zra[a.getSeverity()]:null,Hb=a.hasStatus()?oj[a.getStatus()]:null,ib=pj(a,52)?$ra[a.getSloSnoozeType()]:null,Ob=a.hasAccessLimitLevel()?asa[a.getAccessLimitLevel()]:null;a.hasEffort()?(a=a.getEffort(),a={specId:qj(a,
1),estimate:U(a,2),averageDays:rj(a,3),totalOpen:rj(a,4),totalComplete:rj(a,5)}):a=void 0;return{title:v,comment:x,formattingMode:A,version:G,createdTimeMicros:M,isArchived:Q,inProd:Y,isDeleted:W,changelist:ia,postmortems:ja,foundInVersion:Aa,targetedToVersion:Da,verifiedInVersion:Oa,componentId:Ta,duplicateOfIssueId:Wa,attachmentId:h,blockedByIssueId:b,blockingIssueId:c,hotlistId:d,duplicateIssueId:e,sloStartTime:g,sloEndTime:l,authorUser:q,reporterUser:Nb,assigneeUser:Eb,verifierUser:cb,ccUsers:sa,
collaboratorsUsers:Ka,customField:Qa,retention:fb,significanceOverride:$a,deletionReason:Yc,type:hb,priority:yb,severity:bb,status:Hb,sloSnoozeType:ib,issueAccessLimitLevel:Ob,effort:a}}},ksa=function(a){var b=new sj;if(a.authorUser){var c=si(a.authorUser);hj(b,ri,36,c)}a.createdTimeMicros&&b.setCreatedTimeMicros(a.createdTimeMicros);a.componentId&&b.setComponentId(String(a.componentId));a.version&&b.setVersion(a.version);a.type&&b.setType(csa[a.type]);a.status&&b.setStatus(tj[a.status]);a.priority&&
b.setPriority(dsa[a.priority]);a.severity&&b.setSeverity(esa[a.severity]);void 0!==a.title&&b.setTitle(a.title);a.reporterUser&&(c=si(a.reporterUser),hj(b,ri,37,c));a.assigneeUser&&(c=si(a.assigneeUser),hj(b,ri,38,c));a.verifierUser&&(c=si(a.verifierUser),hj(b,ri,39,c));a.ccUsers&&(c=a.ccUsers.map(si),nj(b,40,c));a.collaboratorsUsers&&(c=a.collaboratorsUsers.map(si),nj(b,51,c));a.attachmentId&&(c=a.attachmentId.map(Vqa),uj(b,14,c));a.duplicateOfIssueId&&V(b,15,a.duplicateOfIssueId);a.blockedByIssueId&&
uj(b,16,a.blockedByIssueId);a.blockingIssueId&&uj(b,17,a.blockingIssueId);a.changelist&&Pi(b,18,a.changelist);a.postmortems&&b.setPostmortemsList(a.postmortems);a.foundInVersion&&Pi(b,19,a.foundInVersion);a.targetedToVersion&&Pi(b,20,a.targetedToVersion);a.verifiedInVersion&&Pi(b,21,a.verifiedInVersion);a.hotlistId&&b.setHotlistIdList(a.hotlistId.map(Vqa));a.customField&&(c=a.customField.map(fra),nj(b,24,c));a.comment&&b.setComment(a.comment);a.formattingMode&&b.setFormattingMode(fsa[a.formattingMode]);
a.retention&&b.setRetention(gsa[a.retention]);a.isDeleted&&b.setIsDeleted(a.isDeleted);a.deletionReason&&b.setDeletionReason(hsa[a.deletionReason]);a.significanceOverride&&b.setSignificanceOverride(ira[a.significanceOverride]);a.duplicateIssueId&&uj(b,30,a.duplicateIssueId);void 0!==a.inProd&&b.setInProd(a.inProd);void 0!==a.isArchived&&b.setIsArchived(a.isArchived);a.sloStartTime&&b.setSloStartTime(Oh(a.sloStartTime));a.sloEndTime&&b.setSloEndTime(Oh(a.sloEndTime));a.sloSnoozeType&&b.setSloSnoozeType(isa[a.sloSnoozeType]);
a.issueAccessLimitLevel&&b.setAccessLimitLevel(jsa[a.issueAccessLimitLevel]);if(a.effort){c=b.setEffort;a=a.effort;var d=new vj;a.specId&&Jb(d,1,a.specId);a.estimate&&wj(d,2,a.estimate);a.averageDays&&Bb(d,3,Xa(a.averageDays),0);a.totalOpen&&Bb(d,4,Xa(a.totalOpen),0);a.totalComplete&&Bb(d,5,Xa(a.totalComplete),0);c.call(b,d)}return b},lsa=function(a){var b={targetIssueId:String(qj(a,1))};if(a=qj(a,2))b.afterIssueId=vi(a);return b},msa=function(a,b,c,d){a=(new xj).setIssueId(a);b&&(b=jsa[b])&&(b=(new yj).setAccessLevel(b),
a.setIssueAccessLimit(b));c&&a.setAddedCollaboratorsList(c.map(si));d&&a.setRemovedCollaboratorsList(d.map(si));return a},nsa=function(a){var b=new zj;b.setIssueId(String(a));return b},psa=function(a){var b=new osa;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));return b},rsa=function(a){var b=new qsa;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));return b},ssa=function(a){return{issueId:wi(a.getIssueId()),status:oj[a.getStatus()],title:a.getTitle()}},
usa=function(a){var b=new Aj;b.setFieldName(a.fieldName);a.value&&b.setValue(a.value);a.actionType&&b.setActionType(tsa[a.actionType]);a.customFieldValue&&b.setCustomFieldValue(fra(a.customFieldValue));return b},vsa=function(a){var b=new Bj;b.setIssueId(String(a.issueId));b.setActionsList(a.actions.map(usa));return b},xsa=function(a){var b=new Cj;b.setAddHotlistIdsList(a.addHotlistIds.map(String));b.setRemoveHotlistIdsList(a.removeHotlistIds.map(String));var c=a.hotlistIssue;a=new Dj;a.setIssueId(String(c.issueId));
c.position&&a.setPosition(c.position);if(c.issue){var d=a.setIssue;c=c.issue;var e=new Ej;e.setIssueId(String(c.issueId));var g,h=(null!=(g=c.snapshot)?g:[]).map(ksa);nj(e,2,h);if(c.userData){g=e.setUserData;h=c.userData;var l=new Fj;h.voted&&l.setVoted(h.voted);h.starred&&l.setStarred(h.starred);h.notificationSubscription&&l.setNotificationSubscription(wsa[h.notificationSubscription]);void 0!==h.lastViewedTimeMicros&&V(l,5,h.lastViewedTimeMicros);g.call(e,l)}if(c.aggregatedData){h=c.aggregatedData;
g=new Gj;g.setVoteCount(h.voteCount);g.setCreatedTimeMicros(h.createdTimeMicros);V(g,4,h.resolvedTimeMicros);V(g,5,h.verifiedTimeMicros);g.setModifiedTimeMicros(h.modifiedTimeMicros);g.setLastModifier(si(h.lastModifier));g.setSloId(String(h.sloId));g.setTeamId(String(h.teamId));if(h.retentionState){l=g.setRetentionState;var q=h.retentionState,v=new Hj;q.retentionPeriod&&v.setRetentionPeriod(Spa(q.retentionPeriod));q.scheduledDeletionTime&&v.setScheduledDeletionTime(Oh(q.scheduledDeletionTime));l.call(g,
v)}h.sloStatus&&(l=g.setSloStatus,h=h.sloStatus,q=new Ij,h.assignmentBounds&&q.setAssignmentBounds(Bra(h.assignmentBounds)),h.responseBounds&&q.setResponseBounds(Bra(h.responseBounds)),h.closureBounds&&q.setClosureBounds(Bra(h.closureBounds)),l.call(g,q));hj(e,Gj,4,g)}c.accessLimit&&e.setAccessLimit(Cqa(c.accessLimit));e.setCustomFieldsList(c.customFields.map(wqa).map(jra));var x;e.setVisibleFieldsList((null!=(x=c.visibleFields)?x:[]).map(Zqa));V(e,7,c.majorModifiedTimeMicros);e.setParentIssueIdsList(c.parentIssueIds);
if(c.ancestors)for(x=e.getAncestorsMap(),g=k(c.ancestors.entries()),h=g.next();!h.done;h=g.next()){h=k(h.value);v=h.next().value;h=h.next().value;l=x;q=l.set;v=Number(v);var A=new Jj;A.setSourceIssueIdsList(h.sourceIssueIds.map(ui).filter(Ai));q.call(l,v,A)}e.setChildIssueCount(c.childIssueCount);e.setIsArchived(c.isArchived);d.call(a,e)}hj(b,Dj,3,a);return b},ysa=function(a){var b;return{issueDigests:(null!=(b=a.getIssueDigestsList())?b:[]).map(ssa),numTotalResults:a.getNumTotalResults()}},Asa=function(a){var b=
new Kj;b.setIssueId(String(a.issueId));var c=a.targetIds.map(String);uj(b,2,c);b.setRelation(zsa[a.relation]);b.setActionType(tsa[a.actionType]);return b},Csa=function(a){var b=new Bsa;b.setIssueId(String(a.issueId));b.setRetention(gsa[a.retention]);a.significanceOverride&&b.setSignificanceOverride(ira[a.significanceOverride]);return b},Dsa=function(a){var b=new Lj;b.setSnapshot(ksa(a.snapshot));a.attachments&&b.setAttachmentsList(a.attachments);a.templateId&&b.setTemplateId(String(a.templateId));
a.contentJudgement&&b.setContentJudgement(Uqa(a.contentJudgement));return b},Esa=function(a){return{issueId:wi(a.getIssueId())}},Pj=function(a){return{issueId:wi(a.getIssueId()),updateText:a.getUpdateText(),formattedText:Nj(a,Oj,3)?pra(X(a,Oj,3)):void 0,formattingMode:Ura(a.getFormattingMode()),author:xi(oi(a.getAuthor())),updateTime:xi(Mh(a.getUpdateTime())),version:a.getVersion()}},Ura=function(a){switch(a){case 0:break;case 1:return"PLAIN";case 2:return"MARKDOWN";case 3:return"LITERAL";default:return Ch(a)}},
Fsa=function(a){return{encryptedMedia:Lb(Qj(a,1)),errorMessage:a.getErrorMessage()}},Gsa=function(a){var b=new Rj;V(b,1,Sa(a.attachment,!1,!1));void 0!==a.contentJudgement&&b.setContentJudgement(Uqa(a.contentJudgement));return b},Isa=function(a){var b;return{attachments:(null!=(b=a.getAttachmentsList())?b:[]).map(Hsa)}},Hsa=function(a){if(null!=a){var b=ui(a.getAttachmentId()),c=U(a,7),d=a.getEtag(),e=a.getContentType(),g=a.getDescription(),h=a.getFilename(),l=a.getLength(),q=Vra[a.getPiiRetention()],
v=wra(a.getPiiRetentionState()),x=Jsa(a.getEntityStatus()),A=yra(a.getContentVerdict());a=X(a,Sj,3);a=null!=a?{filename:xi(Z(a,5)),length:xi(a.getLength_legacyNullable()),contentType:xi(Z(a,1))}:void 0;return{attachmentId:b,filecompUrl:c,etag:d,contentType:e,description:g,filename:h,length:l,piiRetention:q,piiRetentionState:v,entityStatus:x,contentVerdict:A,media:a}}},Jsa=function(a){if(null!=a)return{reason:Ksa[a.getReason()],status:Lsa[a.hasStatus()?a.getStatus():0]}},Msa=function(a){return{id:a.getId(),
name:a.getName(),description:a.getDescription()}},Osa=function(a){var b=a.getTeamId(),c=a.getVersion(),d=a.getName(),e=a.getDescription(),g=a.getPathNamesList(),h=a.getPathIdsList().map(String),l=Th(a,6),q=a.getMembersList().map(Nsa),v=a.getDeleted(),x=qj(a,9);var A=a.getSlo();A=null!=A?{inherit:A.getInherit(),sloId:A.getSloId(),comment:A.getComment(),sourceTeamId:A.getSourceTeamId()}:void 0;return{teamId:b,version:c,name:d,description:e,pathNames:g,pathIds:h,collapsedPathNames:l,members:q,deleted:v,
estimatedComponentCount:x,slo:A,sloLead:oi(X(a,ri,12)),defaultSloLead:oi(X(a,ri,13))}},Nsa=function(a){var b;return{user:null!=(b=oi(a.getUser()))?b:{},isLead:Tj(a,2)}},Psa=function(a){var b=new Uj;Vj(b,2,a.isLead);b.setUser(si(a.user));return b},Qsa=function(a){var b=new Wj;if(null==a)return b;b.setInherit(a.inherit);b.setSloId(a.sloId);b.setComment(a.comment);b.setSourceTeamId(a.sourceTeamId);return b},Rsa=function(a){var b=new Xj;b.setInherit(a.inherit);b.setId(String(a.id));return b},Ssa=function(a){return{teamId:a.getId(),
name:a.getName(),description:a.getDescription(),pathNames:a.getPathNamesList(),pathIds:a.getPathIdsList()}},Tsa=function(a){return{teamId:a.getTeamId(),score:a.getScore()}},Vsa=function(a){var b=new Usa;b.setTeamId(a.teamId);b.setScore(a.score);return b},Wsa=function(a){return{author:oi(a.getAuthor()),timestamp:Mh(a.getTimestamp()),add:Yj(a.getAdd()),remove:Yj(a.getRemove()),addMask:zra(a.getAddMask()),removeMask:zra(a.getRemoveMask())}},Xsa=function(a){var b;return{updates:(null!=(b=a.getUpdatesList())?
b:[]).map(Wsa)}},Yj=function(a){var b=a.hasRetentionSettings()?tra(a.getRetentionSettings()):void 0;if(Nj(a,Zj,10)){var c=X(a,Zj,10),d,e;var g=(null!=(d=Sh(c,1))?d:[]).map(Ki);d=Th(c,2);var h=kj(c,Ti,4);if(h){c=[];h=k(h);for(var l=h.next();!l.done;l=h.next())(l=ara(l.value))&&c.push(l)}else c=void 0;g={componentPathId:g,componentPathName:d,allCustomField:null!=(e=c)?e:[]}}else g=void 0;e=g;a.hasSlo()?(g=a.getSlo(),g={inherit:g.getInherit(),source:Ysa[g.getSource()],id:g.getId(),sourceComponentId:Ii(g,
6),sourceTeamId:g.getSourceTeamId(),comment:g.getComment()}):g=void 0;var q;if(Nj(a,Ui,24)){c=a.getEffortSpec();d=c.getInherit();h=c.getId();l=c.getName();a:switch(Zi(c,6,0)){case 2:var v="MAX";break a;case 1:v="SUM";break a;default:v="AGGREGATION_TYPE_UNSPECIFIED"}d={inherit:d,id:h,name:l,aggregationType:v,customFieldId:c.getCustomFieldId()};if(ak(c,Vi,4,bk)){if(q=ck(c,Vi,4,bk))d.numericSpec={multiplier:rj(q,1)}}else if(ak(c,Wi,5,bk)&&(c=ck(c,Wi,5,bk),d.enumSpec={options:[]},c&&0<(null==c?void 0:
null==(q=c.getOptionsList())?void 0:q.length)))for(q=k(c.getOptionsList()),c=q.next();!c.done;c=q.next())c=c.value,l=h=void 0,null==(h=d.enumSpec)||null==(l=h.options)||l.push({label:c.getLabel(),value:c.getValue()});q=d}else q=void 0;a.hasTeam()?(d=a.getTeam(),d={inherit:d.getInherit(),id:d.getId()}):d=void 0;var x,A;c=Ki(a.getComponentId());h=Ki(Ii(a,2));l=a.getName();v=a.getDescription();var G=a.getArchived(),M=(null!=(x=Sh(a,7))?x:[]).map(Ki);x=Aqa(a.getAccessLimit());var Q=U(a,13),Y=Tj(a,14);
var W=1===Zi(a,15,0)?"ENABLED":"DISABLED";return{componentId:c,parentComponentId:h,name:l,description:v,archived:G,customFieldId:M,componentPathInfo:e,accessLimit:x,emailAlias:Q,userHasEditAccess:Y,commentEditState:W,defaultTemplateId:Ki(Ii(a,18)),slo:g,bugscopeSloId:Ii(a,20),retentionSettings:b,fieldOrdering:Zsa[Zi(a,23,0)],effortSpec:q,team:d,teamSuggestions:(null!=(A=a.getTeamSuggestionsList())?A:[]).map(Tsa),trackerId:"0"!==a.getTrackerId()?a.getTrackerId():void 0}},$sa=function(a){var b=new dk;
V(b,2,String(a.parentComponentId));b.setName(a.name);b.setDescription(a.description);a.commentEditState&&b.setCommentEditState("ENABLED"===a.commentEditState?1:2);a.retentionSettings&&b.setRetentionSettings(vra(a.retentionSettings));return b},ata=function(a){var b;return(null!=(b=kj(a,dk,1))?b:[]).map(Yj)},bta=function(a){return{warningHeader:U(a,1),warning:U(a,2),isAllowed:Tj(a,3),isExternalMove:Tj(a,4)}},cta=function(a){return{templateId:a.getTemplateId(),componentId:Ki(a.getComponentId()),default:!!a.getDefault(),
name:a.getName(),description:a.getDescription(),snapshot:bsa(a.getSnapshot())}},dta=function(a){var b=new ek;b.setTemplateId(a.templateId);b.setComponentId(String(a.componentId));b.setDefault(a.default);b.setName(a.name);b.setDescription(a.description);b.setSnapshot(ksa(a.snapshot));return b},eta=function(a){var b={},c=fk(a,2,Ti).entries();c=k(c);for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;(e=ara(e))&&(b[Ki(d)]=e)}return{snapshot:bsa(a.getSnapshot()),
customFieldMap:b}},fta=function(a){var b;return(null!=(b=kj(a,dk,1))?b:[]).map(Yj)},gta=function(a){var b=tra(a.getRetentionSettings());return{componentPath:a.getComponentPath(),retentionSettings:b}},ita=function(a){return kj(a,hta,2).map(gta)},lta=function(a){if(null!=a){var b=a.getName();if(null==b)Kh("No name. eventDiffToJs");else{b={name:b,displayName:xi(a.getDisplayName()),timestamp:Tpa(a.getTimestamp()),important:!!Tj(a,5),type:jta[a.getType()]};if(ak(a,gk,6,hk)){var c=ck(a,gk,6,hk);if(ak(c,
ik,1,jk)){var d=ck(c,ik,1,jk);b.isUser=!0;b.oldValue=zi("<none>")(pi(null==d?void 0:X(d,ri,1)));b.newValue=zi("<none>")(pi(null==d?void 0:X(d,ri,2)))}if(ak(c,kk,2,jk)){var e,g;b.oldValue=xi(null==(e=ck(a,gk,6,hk))?void 0:null==(g=ck(e,kk,2,jk))?void 0:g.getOldValue());var h,l;b.newValue=xi(null==(h=ck(a,gk,6,hk))?void 0:null==(l=ck(h,kk,2,jk))?void 0:l.getNewValue())}}else if(ak(a,lk,9,hk)){var q;b.customFieldId=xi(null==(q=ck(a,lk,9,hk))?void 0:q.getCustomFieldId());var v;b.oldValue=xi(null==(v=
ck(a,lk,9,hk))?void 0:v.getOldValue());var x;b.newValue=xi(null==(x=ck(a,lk,9,hk))?void 0:x.getNewValue())}else if(ak(a,mk,10,hk))e=ck(a,mk,10,hk),b.isUser=!0,a=(null==e?void 0:e.getAddedList())||[],e=(null==e?void 0:e.getRemovedList())||[],b.added=a.map(function(M){return pi(M)}).map(zi("<none>")),b.removed=e.map(function(M){return pi(M)}).map(zi("<none>"));else if(ak(a,nk,7,hk)){var A;b.added=(null==(A=ck(a,nk,7,hk))?void 0:A.getAddedList())||[];var G;b.removed=(null==(G=ck(a,nk,7,hk))?void 0:G.getRemovedList())||
[]}else ak(a,ok,8,hk)?(e=(null==(d=ck(a,ok,8,hk))?void 0:d.getAddedList())||[],a=(null==(c=ck(a,ok,8,hk))?void 0:c.getRemovedList())||[],b.added=e.map(kta).filter(Ai),b.removed=a.map(kta).filter(Ai)):ak(a,pk,11,hk)?(a=Jsa(ck(a,pk,11,hk).getEntityStatus()),b.statusUpdateDiff={entityStatus:a}):Kh("Unhandled diff type '"+b.type+"'");return b}}},kta=function(a){if(null!=a){var b=a.getValue();if(null==b)Kh("No value. linkedItemToJs");else if(a=a.getHref(),null==a)Kh("No href. linkedItemToJs");else return{value:b,
href:a}}},mta=function(a){a=qk(a).toString();var b=new rk;sk(b,2,a);return b},nta=function(a){if(!a)return null;a=Z(a,2);var b;null===a||void 0===a?b=null:b=Lg(a);return b},tk=function(a){if(null!=a){var b=a.getIssueId();if(null==b)Kh("No issueId. issueToJs");else{for(var c=new Map,d=k(a.getAncestorsMap().entries()),e=d.next();!e.done;e=d.next()){var g=k(e.value);e=g.next().value;g=g.next().value;c.set(String(e),{sourceIssueIds:g.getSourceIssueIdsList().map(String)})}var h,l,q,v;d=a.getUserData();
if(null!=d){var x;d={voted:yi(d.getVoted()),starred:yi(d.getStarred()),notificationSubscription:ota[d.getNotificationSubscription()],lastViewedTimeMicros:null!=(x=qj(d,5))?x:0}}else d=void 0;x=Aqa(a.getAccessLimit());e=kj(a,sj,2).map(bsa).filter(Ai);g=a.getCustomFieldsList().map($qa).filter(Ai);var A=a.getVisibleFieldsList().map(Xqa).filter(Ai);var G=X(a,Gj,4);if(null!=G){var M=void 0;if(G.hasSloStatus()){var Q=G.getSloStatus();M={assignmentBounds:Q.hasAssignmentBounds()?Ara(Q.getAssignmentBounds()):
void 0,responseBounds:Q.hasResponseBounds()?Ara(Q.getResponseBounds()):void 0,closureBounds:Q.hasClosureBounds()?Ara(Q.getClosureBounds()):void 0}}var Y,W,ia,ja,Aa;Q={voteCount:null!=(Y=G.getVoteCount())?Y:0,createdTimeMicros:null!=(W=G.getCreatedTimeMicros())?W:0,resolvedTimeMicros:null!=(ia=qj(G,4))?ia:0,verifiedTimeMicros:null!=(ja=qj(G,5))?ja:0,modifiedTimeMicros:null!=(Aa=G.getModifiedTimeMicros())?Aa:0,lastModifier:oi(G.getLastModifier()),sloId:ui(G.getSloId()),teamId:ui(G.getTeamId()),retentionState:wra(G.getRetentionState()),
sloStatus:M}}else Q=void 0;return{issueId:b,userData:d,accessLimit:x,snapshot:e,customFields:g,visibleFields:A,aggregatedData:Q,majorModifiedTimeMicros:null!=(h=qj(a,7))?h:0,parentIssueIds:null!=(l=a.getParentIssueIdsList())?l:[],ancestors:c,childIssueCount:null!=(q=a.getChildIssueCount())?q:0,isArchived:a.getIsArchived(),relatedLinks:(null!=(v=a.getRelatedLinksList())?v:[]).map(pta),trackerId:"0"!==a.getTrackerId()?a.getTrackerId():void 0,statusUpdate:a.hasStatusUpdate()?Pj(a.getStatusUpdate()):
void 0}}}},rta=function(a){if(null!=a)if(null==Tpa(X(a,Nh,4)))Kh("No modifiedDate. issueEventToJs");else{var b;a:{if(null!=a){var c=Tpa(X(a,Nh,4));var d=!!Tj(a,8),e,g=null!=(e=qta(a.getComment()))?e:{};e=a.hasStatusUpdate()?Pj(a.getStatusUpdate()):void 0;var h,l=null==(h=kj(a,uk,2))?void 0:h.map(lta).filter(Ai),q;h=null==(q=kj(a,uk,3))?void 0:q.map(lta).filter(Ai);var v;q=null==(v=kj(a,vk,9))?void 0:v.map(Tra).filter(Ai);v=a.getAttachmentsList().map(Hsa).filter(Ai);var x=pi(X(a,ri,5));x=zi("<none>")(x);
var A=oi(X(a,ri,5));if(null==c)Kh("No modifiedDate. issueEventToJs");else{c=Object.assign({},g,{attachments:v,issueId:a.getIssueId(),version:a.getVersion(),modifiedDate:c,preDiffs:l,postDiffs:h,isMajorEvent:d,statusUpdate:e,taggedSummary:q,userPerformingAction:x,userPerformingActionUser:A});break a}}c=void 0}c=null!=(b=c)?b:{};b=!!Tj(a,11);a=!!Tj(a,12);return Object.assign({},c,{isHumanAuthor:b,isCollaboratorAuthor:a})}},sta=function(a){var b;var c=a.lastModified;return{version:a.version,unlinkifiedComment:a.unlinkifiedComment,
commentNumber:a.commentNumber,commentVersion:a.version,commentLastModifiedAtDate:null!=c?c/1E3:void 0,commentRedacted:xi(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}},qta=function(a){return null==
a?{}:sta(wk(a))},yk=function(a){if(null!=a){var b=tk(a.getIssue());if(null==b)Kh("No issue. issueFetchResponseToJs");else return a=rta(X(a,xk,5)),{issue:b,firstEvent:a}}},tta=function(a){var b=[];a=k(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.push({issueId:c,relatedChildren:d.getIssueRelationshipsList().map(lsa),totalChildCount:d.getTotalSize()})}return b},uta=function(a){var b=new zk;b.setIssueIdsList(a.issueIds.map(String));b.setActionsList(a.actions.map(usa));
return b},vta=function(a){return{issueId:a.getIssueId(),message:a.getMessage()}},wta=function(a){for(var b={},c=k(fk(a,1,Ej).entries()),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b[Number(d)]=tk(e)}c={};d=k(fk(a,3,dk).entries());for(e=d.next();!e.done;e=d.next()){var g=k(e.value);e=g.next().value;g=g.next().value;c[Number(e)]=Yj(g)}var h;a=(null!=(h=kj(a,Ak,2))?h:[]).map(vta);return{affectedIssues:b,componentMap:c,errors:a}},xta=function(a){var b;return(null!=
(b=a.getIssueCommentsList())?b:[]).map(qta)},pta=function(a){var b=Mi(a,Bk);switch(b){case 2:return b=ck(a,yta,2,Bk),0!==b.getCommentNumber()?{type:"issueReference",issueId:String(b.getIssueId()),commentNumber:b.getCommentNumber(),sourceCommentNumber:Rh(a,3)}:{type:"issueReference",issueId:String(b.getIssueId()),sourceCommentNumber:Rh(a,3)};case 1:return{type:"hyperlink",href:ck(a,Ck,1,Bk).getHref(),sourceCommentNumber:Rh(a,3)};case 0:throw Error("bc");default:return Ch(b)}},zta=function(a){return{readTimestamp:qj(a,
1)}},Ata=function(a){var b=a.getIssueState();b={componentId:b.getComponentId(),type:Xra[b.getType()],status:oj[b.getStatus()],priority:Yra[b.getPriority()],severity:Zra[b.getSeverity()],accessLimitLevel:b.hasAccessLimitLevel()?asa[b.getAccessLimitLevel()]:null};return{issueId:String(a.getIssueId()),issueState:b,modifiedTime:Mh(a.getModifiedTime()),teamId:a.getTeamId()}},Bta=function(a){switch(a){case "PLAIN":return 1;case "MARKDOWN":return 2;case "LITERAL":return 3;case void 0:case null:case "UNSPECIFIED_FORMATTING_MODE":return 0;
default:return Ch(a,"Unexpected formatting mode")}},wk=function(a){var b=void 0;Nj(a,Dk,14)&&(b=yra(X(a,Dk,14)));return{issueId:a.getIssueId(),commentNumber:a.getCommentId(),commentContentVerdict:b,formattingMode:Cta[a.getFormattingMode()],formattedComment:a.hasFormattedComment()?pra(a.getFormattedComment()):void 0,lastEditorUser:oi(X(a,ri,8)),lastModified:a.getLastModified(),version:a.getVersion(),unlinkifiedComment:U(a,7),entityStatus:Jsa(a.getEntityStatus()),piiRetentionState:wra(a.getPiiRetentionState()),
piiRetention:Vra[a.getPiiRetention()],redacted:a.getRedacted(),etag:a.getEtag(),commentReactions:Dta(a.getCommentReaction())}},Eta=function(a){var b;return(null!=(b=a.getIssueCommentsList())?b:[]).map(wk)},Dta=function(a){var b=null==a?void 0:a.getReactionStatesList();a=new Map;b=k(b||[]);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0,e=null!=(d=Fta[c.getType()])?d:"REACTION_TYPE_UNSPECIFIED",g=d=void 0,h=void 0,l=void 0,q={type:e,hasReacted:null!=(g=c.getHasReacted())?g:!1,count:null!=
(h=c.getCount())?h:0,recentResponders:null!=(l=null==(d=c.getRecentRespondersList())?void 0:d.map(oi).filter(Ai))?l:[]};a.set(e,q)}return a},Gta=function(a){return{user:oi(X(a,ri,1)),createdTime:Mh(a.getCreatedTime())}},Hta=function(a){return{responders:kj(a,Ek,1).map(Gta),totalSize:a.getTotalSize(),nextPageToken:a.getNextPageToken()}},Ita=function(a){var b=a.getIssuesList();if(b){var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next())(d=d.value)&&(d=tk(d))&&c.push(d)}else c=[];b=a.getNumTotalResults();
var e=a.getComponentsMap();d={};e=k(e.entries());for(var g=e.next();!g.done;g=e.next()){var h=k(g.value);g=h.next().value;h=h.next().value;d[Number(g)]=Yj(h)}g=xb(a,4,Aba);if(void 0!==g)for(e={},g=k(g.entries()),h=g.next();!h.done;h=g.next()){var l=k(h.value);h=l.next().value;l=l.next().value;e[Number(h)]=l}else e=void 0;return{issues:c,numTotalResults:b,componentMap:d,positionMap:e,nextPageToken:a.getNextPageToken()}},Jta=function(a){return Fk({id:a.getId(),std_offset:Rh(a,3),names:Th(a,2),transitions:Qh(a,
4)||[]})},Lta=function(a){var b=a.getTrackerId(),c=a.getName(),d=a.getComponentId(),e=Sh(a,4);var g=X(a,Gk,5);g=null!=g?{logoUrl:g.getLogoUrl(),cocUrl:U(g,3),theme:Kta[g.getTheme()]}:void 0;return{trackerId:b,name:c,componentId:d,associatedTrackerIds:e,branding:null!=g?g:null,internalBaseUrl:Hk(a,6)?U(a,6):void 0,externalBaseUrl:Hk(a,7)?U(a,7):void 0,collaboratorGroups:0<kj(a,ri,8).length?qi(kj(a,ri,8)):void 0}},Mta=function(a){var b;return(null!=(b=a.getTrackersList())?b:[]).map(Lta)},Nta=function(a){return{trackers:a.getTrackersList().map(Lta),
nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},Ik=function(a){if(null==a)return"UNSPECIFIED_FORMATTING_MODE";switch(Ota[a]){case 2:return"MARKDOWN";case 1:return"PLAIN";case 3:return"LITERAL";default:return"UNSPECIFIED_FORMATTING_MODE"}},Kk=function(a){"duplicateOfIssueId"===a&&(a="canonicalIssueId");var b=Number(a);isNaN(b)?a=new Jk({type:String(a).replace(/([A-Z])/g,"_$1").toUpperCase()}):0===b?a=null:(a={customFieldId:b},a=new Jk({type:"CUSTOM_FIELD",customFieldId:a.customFieldId,
customFieldName:a.name}));return a},Pta=function(a){a=Lk(a);if(Mk(a))return null;var b=a.split(":");if(2!==b.length||Mk(b[1]))return null;a="asc"===b[1].toLowerCase()?"ASCENDING":"DESCENDING";return(b=Kk(b[0]))&&a?new Nk(b,a):null},$ta=function(a){var b={};Ok(a,1)&&(b.showFullHistory=Tj(a,1));Ok(a,2)&&(b.useCodefont=Tj(a,2));Pk(a,5)&&(b.resultsPerPage=Rh(a,5));Ok(a,26)&&(b.showRecentEventsFirst=Tj(a,26));var c=a.getDisplayColumns();c&&(b.displayColumns={column:c.getColumnList().map(Qta)});if(c=a.getSortColumns())b.sortColumns=
{column:c.getColumnList().map(Rta)};Hk(a,7)&&(b.bannerMessageId=U(a,7));if(c=X(a,Qk,3)){var d={};pj(c,1)&&(d.reportedPriority=Rk[Zi(c,1,0)]);pj(c,2)&&(d.assignedPriority=Rk[Zi(c,2,0)]);pj(c,3)&&(d.verifiedPriority=Rk[Zi(c,3,0)]);pj(c,4)&&(d.ccdPriority=Rk[Zi(c,4,0)]);pj(c,9)&&(d.collaboratorPriority=Rk[Zi(c,9,0)]);pj(c,5)&&(d.starredPriority=Rk[Zi(c,5,0)]);Ok(c,6)&&(d.excludeChangesByMe=Tj(c,6));Ok(c,7)&&(d.unsubscribeFromAll=Tj(c,7));Ok(c,8)&&(d.enableV2Prefs=Tj(c,8));b.notificationPreferences=d}if(d=
X(a,Sk,9)){c={showHotlists:Tj(d,1),showStatusIcons:Tj(d,4),wrapComponents:Tj(d,3),wrapTitles:Tj(d,2),rtlComponentPath:Tj(d,5)};var e=xb(d,6,ob);c.fieldStatus=Object.fromEntries(e.entries());d=xb(d,7,ob);c.modeForField=Object.fromEntries(d.entries());b.listViewPreferences=c}if(c=a.getLayoutPreferences())d={},Pk(c,1)&&(d.leftSidebarWidth=Rh(c,1)),Ok(c,2)&&(d.expandIssueSlo=Tj(c,2)),Pk(c,3)&&(d.rightSidebarWidth=Rh(c,3)),b.layoutPreferences=d;if(c=a.getDateTimePreferences())d={},Hk(c,1)&&(d.calendarFormat=
U(c,1)),Hk(c,2)&&(d.timeFormat=U(c,2)),c.hasTimeZone()&&(d.timeZone=c.getTimeZone()),pj(c,7)&&(d.sloEtaViewAs=Sta[Zi(c,7,0)]),b.dateTimePreferences=d;if(c=X(a,Tk,8))d={},pj(c,1)&&(d.density=Tta[c.getDensity()]),b.themePreferences=d;if(c=a.getHomepagePreferences())d={},c.hasResourceType()&&(d.resourceType=Uta(c.getResourceType())),c.hasResourceId()&&(d.resourceId=c.getResourceId()),b.homepagePreferences=d;if(c=X(a,Uk,17))d={},Ok(c,1)&&(d.enableAllHotkeys=Tj(c,1,!0)),b.keyboardPreferences=d;Hi(a,16)&&
(b.newFeaturesAcknowledgedMillis=Ii(a,16));Ok(a,18)&&(b.autoCcOnComment=Tj(a,18));Nj(a,Vk,20)&&(d=X(a,Vk,20),c=Zi(d,2,0),d=Zi(d,1,0),b.textDisplayPreferences={commentDisplayOverride:Vta(c),lastPublishMode:Vta(d)});Nj(a,Wk,21)&&(c=X(a,Wk,21),d={},Ok(c,2)&&(d.announcementDismissed=Tj(c,2)),Ok(c,1)&&(d.enableBugScreensaver=Tj(c,1)),b.bugScreensaverPreferences=d);Nj(a,Xk,24)&&(c=X(a,Xk,24),d={},Yk(c,1)&&(d.announcementDismissedMillis=qj(c,1)),b.g3nPreferences=d);if(c=X(a,Zk,23))b.teamWarningPreferences=
{componentTeamWarnings:kj(c,$k,1).map(Wta)};c=fk(a,25,Nh);c.size&&(b.dismissalTimestamps=Xta(c));c=xb(a,27,mb);c.size&&(b.collapsed=Object.fromEntries(c.entries()));Ok(a,29)&&(b.showInlineImages=a.getShowInlineImages());Nj(a,al,28)&&(c=X(a,al,28),d={},pj(c,1)&&(d.commentFilter=Yta(Zi(c,1,0))),b.commentFilterPreferences=d);Nj(a,bl,30)&&(b.needsAttentionPreferences=Zta(X(a,bl,30)));return b},Qta=function(a){var b={};a.hasType()&&(b.type=aua[a.getType()]);a.hasCustomFieldId()&&(b.customFieldId=a.getCustomFieldId());
return b},Rta=function(a){var b={};if(pj(a,2)){a:{var c=Zi(a,2,1);switch(c){case 1:c="ASCENDING";break a;case 2:c="DESCENDING";break a;default:c=Ch(c,"Unknown sortOrder: "+c)}}b.order=c}if(a=a.getColumn())b.column=Qta(a);return b},Vta=function(a){if(0!==a)return Ota[a]},Uta=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"EXPERIMENTAL_HOMEPAGE";default:return Ch(a,"Unknown resourceType: "+a)}},Wta=function(a){var b=
{};a.hasComponentId()&&(b.componentId=a.getComponentId());Yk(a,2)&&(b.dismissMillis=qj(a,2));return b},Xta=function(a){a=Array.from(a.entries()).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return[b,c.toDate()]});return Object.fromEntries(a)},Yta=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 Ch(a,"Unknown resourceType: "+a)}},Zta=function(a){var b={};b.selectedSignals=cl(a,1).map(function(c){return bua[c]});
return b},mua=function(a){var b=new dl;null!=a.showFullHistory&&Vj(b,1,a.showFullHistory);null!=a.useCodefont&&Vj(b,2,a.useCodefont);null!=a.resultsPerPage&&V(b,5,a.resultsPerPage);if(null!=a.displayColumns){var c=cua(a.displayColumns);hj(b,el,4,c)}null!=a.sortColumns&&(c=dua(a.sortColumns),hj(b,fl,6,c));null!=a.bannerMessageId&&sk(b,7,a.bannerMessageId);if(null!=a.notificationPreferences){c=a.notificationPreferences;var d=new Qk;d=V(d,1,gl[c.reportedPriority]);d=V(d,2,gl[c.assignedPriority]);d=V(d,
3,gl[c.verifiedPriority]);d=V(d,4,gl[c.ccdPriority]);d=V(d,9,gl[c.collaboratorPriority]);d=V(d,5,gl[c.starredPriority]);d=Vj(d,6,c.excludeChangesByMe);d=Vj(d,7,c.unsubscribeFromAll);c=Vj(d,8,c.unsubscribeFromAll);hj(b,Qk,3,c)}null!=a.listViewPreferences&&(c=a.listViewPreferences,d=new Sk,d=Vj(d,1,c.showHotlists),d=Vj(d,2,c.wrapTitles),d=Vj(d,3,c.wrapComponents),d=Vj(d,4,c.showStatusIcons),d=Vj(d,5,c.rtlComponentPath),null!=c.fieldStatus&&eua(c.fieldStatus,xb(d,6,ob)),null!=c.modeForField&&eua(c.modeForField,
xb(d,7,ob)),hj(b,Sk,9,d));null!=a.layoutPreferences&&(c=a.layoutPreferences,d=new hl,null!=c.leftSidebarWidth&&V(d,1,c.leftSidebarWidth),null!=c.expandIssueSlo&&Vj(d,2,c.expandIssueSlo),null!=c.rightSidebarWidth&&V(d,3,c.rightSidebarWidth),hj(b,hl,10,d));null!=a.dateTimePreferences&&(c=a.dateTimePreferences,d=new il,d=sk(d,1,c.calendarFormat),d=sk(d,2,c.timeFormat).setTimeZone(c.timeZone),c=V(d,7,fua[c.sloEtaViewAs]),hj(b,il,11,c));null!=a.themePreferences&&(c=a.themePreferences,c=(new Tk).setDensity(gua[c.density]),
hj(b,Tk,8,c));null!=a.homepagePreferences&&(c=a.homepagePreferences,d=new jl,null!=c.resourceType&&d.setResourceType(hua(c.resourceType)),null!=c.resourceId&&d.setResourceId(c.resourceId),hj(b,jl,13,d));null!=a.keyboardPreferences&&(c=a.keyboardPreferences,d=new Uk,c=Vj(d,1,c.enableAllHotkeys),hj(b,Uk,17,c));null!=a.newFeaturesAcknowledgedMillis&&V(b,16,a.newFeaturesAcknowledgedMillis);null!=a.autoCcOnComment&&Vj(b,18,a.autoCcOnComment);null!=a.textDisplayPreferences&&(c=a.textDisplayPreferences,
d=new Vk,c.commentDisplayOverride&&V(d,2,iua(c.commentDisplayOverride)),c.lastPublishMode&&V(d,1,iua(c.lastPublishMode)),hj(b,Vk,20,d));null!=a.bugScreensaverPreferences&&(c=a.bugScreensaverPreferences,d=new Wk,null!=c.enableBugScreensaver&&Vj(d,1,c.enableBugScreensaver),null!=c.announcementDismissed&&Vj(d,2,c.announcementDismissed),hj(b,Wk,21,d));null!=a.g3nPreferences&&(c=a.g3nPreferences,d=new Xk,null!=c.announcementDismissedMillis&&V(d,1,c.announcementDismissedMillis),hj(b,Xk,24,d));null!=a.teamWarningPreferences&&
(c=jua(a.teamWarningPreferences),hj(b,Zk,23,c));if(null!=a.dismissalTimestamps){c=fk(b,25,Nh);d=k(Object.entries(a.dismissalTimestamps));for(var e=d.next();!e.done;e=d.next()){var g=k(e.value);e=g.next().value;var h=g.next().value;g=c;var l=g.set,q=new Nh;h=h.getTime();q.setSeconds(Math.trunc(h/1E3)).setNanos(Math.trunc(h%1E3*1E6));l.call(g,e,q)}}null!=a.collapsed&&eua(a.collapsed,xb(b,27,mb));null!=a.showRecentEventsFirst&&Vj(b,26,a.showRecentEventsFirst);null!=a.showInlineImages&&Vj(b,29,a.showInlineImages);
null!=a.commentFilterPreferences&&(d=a.commentFilterPreferences,c=new al,null!=d.commentFilter&&(d=kua(d.commentFilter),V(c,1,d)),hj(b,al,28,c));null!=a.needsAttentionPreferences&&(c=a.needsAttentionPreferences,a=new bl,c.selectedSignals&&(c=c.selectedSignals.map(lua),Ab(a,1,c,db)),hj(b,bl,30,a));return b},cua=function(a){return(new el).setColumnList(a.column.map(function(b){return nua(b)}))},nua=function(a){var b=new kl,c=b.setType,d=a.type;if(!ll.hasOwnProperty(d))throw Error("cc`"+d);b=c.call(b,
oua[d]);null!=a.customFieldId&&b.setCustomFieldId(a.customFieldId);return b},dua=function(a){return(new fl).setColumnList(a.column.map(function(b){var c=(new ml).setColumn(nua(b.column));a:switch(b=b.order,b){case "ASCENDING":b=1;break a;case "DESCENDING":b=2;break a;default:b=Ch(b,"Unknown sortOrder: "+b)}return V(c,2,b)}))},hua=function(a){switch(a){case "HOTLIST":return 1;case "SAVED_SEARCH":return 2;case "BOOKMARK_GROUP":return 3;case "NEEDS_ATTENTION":return 4;case "EXPERIMENTAL_HOMEPAGE":return 5;
default:return Ch(a,"Unknown resourceType: "+a)}},iua=function(a){switch(Ota[a]){case 2:return 2;case 1:return 1;case 3:return 3;default:return 0}},jua=function(a){var b=new Zk;null!=a.componentTeamWarnings&&pua(b,a.componentTeamWarnings.map(function(c){var d=new $k;c.componentId&&d.setComponentId(c.componentId);c.dismissMillis&&V(d,2,c.dismissMillis);return d}));return b},kua=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 Ch(a,"Unknown commentFilterType: "+a)}},lua=function(a){return qua[a]},eua=function(a,b){a=k(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}},vl=function(){null==nl&&(nl=new rua(sua.buganizerSessionJspb));if(!Nj(nl,ol,2)){var a=nl,b=new ol;hj(a,ol,2,b)}Nj(nl,pl,9)||(a=nl,b=new pl,hj(a,pl,9,b));nl.hasUser()||nl.setUser(new ql);Nj(nl,dl,7)||(a=nl,b=new dl,hj(a,dl,7,b));b=nl;a=b.hasUser()?b.getUser():new ql;a=Tj(a,
4)?{anonymous:!0,email:null,userTypeLabel:"ANONYMOUS",sessionIdentifier:""}:{anonymous:!1,email:a.getEmail(),userTypeLabel:a.getUserTypeLabel(),sessionIdentifier:a.getSessionIdentifier()};var c=Nj(b,ol,2)?b.getConfig():new ol;for(var d=new Map,e=k(xb(c,4,mb).entries()),g=e.next();!g.done;g=e.next()){var h=k(g.value);g=h.next().value;h=h.next().value;d.set(g,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:Sh(c,10),isDogfooder:Tj(c,11),createRestrictedSubresourcesComponentWhitelist:rl(c,13)};d=$ta(Nj(b,dl,7)?b.getUserPreferences():new dl);g=Nj(b,pl,9)?X(b,pl,9):new pl;e=kj(g,sl,1).map(Jta);Nj(g,tl,2)?(g=g.getAnnouncement(),
g={message:g.getMessage(),messageId:U(g,2),dismissible:Tj(g,3),tags:g.getTagsList()}):g=null;e={timezones:e,announcement:g};g=b.getXsrfToken();h=b.getCspNonce();var l=b.getFrontendAccessMode(),q=b.getMustAcknowledgeTerms(),v=b.getShowNewFeaturesDialog(),x=b.getAppBaseHref(),A=Nj(b,ul,11)?Lta(b.getTracker()):null;Nj(b,tua,12)?(b=b.getPassiveLoginIframeUrl())?(b=Z(b,4),b=null===b||void 0===b?null:Ng(b)):b=null:b=null;return{user:a,config:c,xsrfToken:g,cspNonce:h,frontendAccessMode:l,mustAcknowledgeTerms:q,
showNewFeaturesDialog:v,userPreferences:d,preload:e,appBaseHref:x,tracker:A,passiveLoginIframeUrl:b}},wl=function(a){switch(a){case "P0":case "P1":case "P2":case "P3":case "P4":return a;default:return null}},uua=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}},
vua=function(a){switch(a){case "S0":case "S1":case "S2":case "S3":case "S4":return a;default:return null}},wua=function(a){return ji(a.replace(/_/g," ").toLowerCase())},xua=function(a,b){return Object.entries(a).reduce(function(c,d){var e=k(d);d=e.next().value;e=e.next().value;c[b[d]]=e;return c},{})},yl=function(a,b,c,d){return new yua(a,xl[a],b,c,d)},zua=function(a){return a},Al=function(a){return zl(a,zua)},zl=function(a,b){var c={};return a.filter(function(d){d=String(b(d));return c[d]?!1:c[d]=
!0})},Aua=function(a){return function(b){return zl(b,a)}},Bua=function(a){a=void 0===a?[]:a;return a.filter(function(b){return"number"===typeof b}).filter(function(b){return 0!==b})},Dua=function(a){var b=Cua,c=void 0===b?[]:b;a=void 0===a?[]:a;if(0===c.length)return a;b=a.filter(function(d){return 0>c.indexOf(d)});return b.length===a.length?a:b},Eua=function(a,b){if(a.length!==b.length)return!1;a=[].concat(cd(a)).sort();b=[].concat(cd(b)).sort();return a.every(function(c,d){return c===b[d]})},Fua=
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)})}},Gua=function(a,b){var c=new Map;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b(d),g=void 0,h=null!=(g=c.get(e))?g:[];h.push(d);c.set(e,h)}return[].concat(cd(c.values()))},Hua=function(a){for(var b=[],c=0;c<a.length;c+=100){var d=a.slice(c,c+100);b.push(d)}return b},Iua=function(a){if(null==a)return[0,0];var b=0,c=0;a=k(a.aggregatedStatus);
for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0===d.issueIds?[]:d.issueIds,g=void 0;(null==(g=Bl[d.status])?0:g.open)||(b+=e.length);c+=e.length}return[b,c]},Jua=function(a,b){if(null==a)return 0;var c=0;a=k(a.aggregatedStatus);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0===d.issueIds?[]:d.issueIds;d.status===b&&(c+=e.length)}return c},Kua=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.changelists)?void 0:b.length)?c:0},Lua=function(a){if(null==a)return[];
a=[].concat(cd(a.assignees.map(function(b){return b.emailAddress})),cd(a.collaborators.map(function(b){return b.emailAddress})),cd(a.verifiers.map(function(b){return b.emailAddress})),cd(a.reporters.map(function(b){return b.emailAddress})));return Al(a).filter(Ai)},Mua=function(a,b){var c;a=null==(c=a.componentPathInfo)?void 0:c.allCustomField;if(!a)return!0;c=k(a);var d=c.next();for(a={};!d.done;a={$jscomp$loop$prop$customField$2299:a.$jscomp$loop$prop$customField$2299},d=c.next())if(a.$jscomp$loop$prop$customField$2299=
d.value,a.$jscomp$loop$prop$customField$2299.required){d=!!a.$jscomp$loop$prop$customField$2299.typedDefaultValue;var e=void 0,g=void 0,h=null==(e=b)?void 0:null==(g=e.snapshot.customField)?void 0:g.some(function(l){return function(q){return q.customFieldId===l.$jscomp$loop$prop$customField$2299.customFieldId}}(a));if(!d&&!h)return!1}return!0},Oua=function(a){return null==a?!1:Nua.has(a.name)},Pua=function(a){return"hotlist"===(null==a?void 0:a.name)},Qua=function(a){return null==a?!1:null!=a.href&&
null!=a.value},Rua=function(a){return Array.isArray(a)?a.every(Qua):!1},Cl=function(a){if(!a)return 0;if(a instanceof Nh){var b=a.getSeconds();a=a.getNanos()||0}else b=a.seconds,a=a.nanos;return 1E3*b+a/1E6},Sua=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":""))+")"},Tua=function(a){if(a){var b=new Dl;b.setTime(a.getTime());return b}},Uua=function(a){if(null!=a)return new Date(a.year,a.month-1,a.day)},Vua=function(a){if(null==
a)return"";var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});return(new Date).getFullYear()===a.getFullYear()?b.split(", ")[0]:b},El=function(a,b){return function(c,d){return Wua(c,a,b,d)}},Wua=function(a,b,c,d){d=void 0===d?"":d;return""===d?a:[].concat(cd(a)).sort(function(e,g){var h="asc"===d?1:-1;return c(b(e),b(g))*h})},Xua=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},Yua=function(a,b){return null==
a||null==b?null==a&&null==b?0:null==a?1:null==b?-1:0:a.localeCompare(b)},Fl=function(a){return!(null==a||!a.commentNumber)},Gl=function(a){var b;return 0<(null==(b=a.attachments)?void 0:b.length)},Zua=function(a,b,c){var d=a.findIndex(function(g){return g.commentNumber===b}),e=a[d];if(null==e)return a;c=Object.assign({},e,c);return[].concat(cd(a.slice(0,d)),[c],cd(a.slice(d+1)))},$ua=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.snapshot)?void 0:c[0]},ava=function(a){var b;
return li(null==(b=Hl(a))?void 0:b.assigneeUser)||void 0},bva=function(a){if(null==a)return"";var b,c,d,e,g=a.etag,h=a.piiRetention;var l=a.piiRetentionState;l=null==l?"":[JSON.stringify(l.retentionPeriod),JSON.stringify(l.scheduledDeletionTime)].join("-");return[g,h,l,null==(b=a.entityStatus)?void 0:b.reason,null==(c=a.entityStatus)?void 0:c.status,null==(d=a.contentVerdict)?void 0:null==(e=d.piiVerdict)?void 0:e.severity].join("-")},cva=function(a){if(null==a)return"";var b=a.attachments.map(bva).join("-"),
c=[];if(a.commentReactions&&0<a.commentReactions.size){var d,e=k(null==(d=a.commentReactions)?void 0:d.entries());for(d=e.next();!d.done;d=e.next()){var g=k(d.value);d=g.next().value;g=g.next().value;c.push(d+"-"+g.count)}}c=c.join("-");var h,l;return[a.modifiedDate,a.version,"["+b+"]",a.preDiffs.length,a.postDiffs.length,a.commentVersion,null==(h=a.commentContentVerdict)?void 0:null==(l=h.piiVerdict)?void 0:l.severity,a.commentDeletionStatus,a.commentRetention,"["+c+"]"].join("-")},dva=function(a){return a.map(function(b){return b.commentNumber}).filter(Ai).reduce(function(b,
c){return Math.max(b,c)},1)},eva=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||cva(d)!==cva(e)))return!1}return!0},Il=function(a){if(null==a?0:a.isArchived)return!1;var b,c;a=null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.status;if(null==a)return!1;var d,e;return null!=(e=null==(d=Bl[a])?void 0:d.open)?e:!1},fva=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=Bl[a];return null==b?!1:!(null==b?0:b.open)},gva=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)},Jl=function(a){return null==a.isArchived?!1:!a.isArchived},iva=function(){var a=Kl;return El(function(b){var c,d;return null!=(d=hva[null==(c=a(b))?void 0:c.snapshot[0].status])?d:0},Xua)},jva=function(){var a=
Kl;return El(function(b){var c,d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].assigneeUser)?void 0:d.emailAddress},Yua)},kva=function(){var a=Kl;return El(function(b){var c;return null==(c=a(b))?void 0:c.snapshot[0].type},Yua)},lva=function(){var a=Kl;return El(function(b){var c,d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].reporterUser)?void 0:d.emailAddress},Yua)},mva=function(){var a=Kl;return El(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},Xua)},Ll=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.snapshot)?void 0:c[0]},Hl=function(a){var b;return null==a?void 0:null==(b=a.snapshot)?void 0:b[0]},nva=function(a,b){a=Hl(a);b=[null==a?void 0:a.authorUser,null==a?void 0:a.reporterUser,null==a?void 0:a.assigneeUser,null==a?void 0:a.verifierUser].concat(cd(b.map(function(c){return c.userPerformingActionUser})));return zl(b.filter(Ai),pi)},ova=function(a,b){b=nva(a,b);var c,d,e;
a=null!=(e=null==(c=Hl(a))?void 0:null==(d=c.ccUsers)?void 0:d.length)?e:0;return b.length+a},Ml=function(a){var b;return"piper-bugupdater@prod.google.com"===(null==a?void 0:null==(b=a.userPerformingActionUser)?void 0:b.emailAddress)},pva=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})}},qva=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},rva=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"}},sva=function(a){var b=a.newEditors,c=a.newImplicitUsers,d=a.isExternalSession,e=a.issueId,g=a.actionIssueId;a=qva(a.userPrincipals);d="Allow "+(1===a?"members of the group to ":
rva(a,d)+" to ")+(0===b.length?"comment?":"edit?");b="Adding "+c.join(", ")+" will allow "+(1===a?"all members of the group":"them")+" to "+(0===b.length?"comment on ":"edit ")+(e===g?"issue "+g:"canonical issue "+g)+".";return{title:d,content:b}},tva=function(){},uva=function(a){return 0<Object.values(a).length},vva=function(a,b){a.next(Object.freeze(Object.assign({},a.getValue(),b)))},wva=function(a,b){var c=a.getValue();c=Object.assign({},c);b=(delete c[b],c);a.next(Object.freeze(b))},xva=function(a,
b){var c=a.getValue(),d={};c=k(Object.entries(c));for(var e=c.next();!e.done;e=c.next()){var g=k(e.value);e=g.next().value;g=g.next().value;b.includes(e)||(d[e]=g)}a.next(Object.freeze(d))},yva=function(a){var b=Object.assign({},a);a=a.ids;b=(delete b.ids,b);a&&(b.ids=[].concat(cd(a)).sort());return JSON.stringify(b)},zva=function(a,b,c){c=a.get(b)||c;a.has(b)||a.set(b,c);return c},Ava=function(a){a=void 0===a?{}:a;return iqa(a)},Bva=function(a){var b=new D.Subject,c=a.subscribe(b);a=(0,D.firstValueFrom)(b);
a.finally(function(){c.unsubscribe()});return a},Cva=function(a){return null==a?new Promise(function(){}):Promise.resolve(a)},Dva=function(){return new Promise(function(){})},Fva=function(a){return!!a.match(Eva)&&!a.endsWith("/history")},Nl=function(a){return"hyperlink"===a.type},Gva=function(a){return Nl(a)&&Fva(a.href)},Iva=function(a){return Nl(a)&&!!a.href.match(Hva)},Jva=function(a){if(a.endsWith("/history"))return null;var b,c;return(a=null!=(c=null==(b=a.match(Eva))?void 0:b[2])?c:null)?"https://screenshot.googleplex.com/"+
a+".png":null},Kva=function(a){return"issueReference"===a.type},Lva=function(a){return Nl(a)&&!Gva(a)&&!(Nl(a)&&a.href.startsWith("mailto:"))},Mva=function(a){return[].concat(cd(a.values())).flatMap(function(b){return b.sourceIssueIds})},Nva=function(a,b){b=void 0===b?[]:b;return"http://cl/search/cl:("+[].concat(cd(a),cd(b.map(function(c){return String(c.changelistNumber)}))).join("|")+")"},Ova=function(a,b){return"background: conic-gradient(var(--"+(void 0===b?"good-gfx":b)+") "+100*a+"%, var(--divider) 0 100%);"},
Ol=function(a){var b,c,d;return null!=(d=null==(b=a.unlinkifiedComment)?void 0:null==(c=b.match(/by (\w+)@/))?void 0:c[1])?d:""},Pva=function(a,b){var c=[];a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0;if(!b.has(d.issueId)||b.get(d.issueId)!==(null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)){c.push(d);var g=e=void 0;b.set(d.issueId,null!=(g=null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)?g:0)}}return c},Qva=function(a){return{emailAddress:Ol(a)+"@google.com"}},
Rva=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)},Sva=function(a){var b,c;return null!=(c=null==(b=a.unlinkifiedComment)?void 0:b.split("\n")[2])?c:""},Tva=function(a,b){var c;return null==(c=[].concat(cd(a.preDiffs),cd(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue},Uva=function(a,b){var c;return null==(c=[].concat(cd(a.preDiffs),cd(a.postDiffs)).find(function(d){return d.name===
b}))?void 0:c.newValue},Vva=function(a){return"http://b/issues/"+a},Pl=function(a){if(a.match(/\bhotlists?\b/))return Wva(a)},Ql=function(a){return"hotlist-"+a},Rl=function(a){return"savedsearch-"+a},Xva=function(a){if(a.match(/\bsavedsearch(?:es|)\b/))return Wva(a)},Yva=function(a){var b=/\bb\/\d+\b/;if(a.match(/\bissues?\b/)||a.match(b))return Wva(a)},Sl=function(a){if(null!=a){if(Zva.includes(a))return a;if(Pl(a))return"hotlist";if(Xva(a))return"savedsearch";if(Yva(a))return"issue";a=a.trim();
if(3>a.length?0:a.match(/^\d+$/))return"plain-id"}},Wva=function(a){if(null!=a)return a.split(/[^\d]+/).filter(Boolean).pop()},$va=function(a){a=a.target;for(var b=[];a.parentNode;){var c=void 0,d=a,e=[];for(c in d.dataset)"true"===d.dataset[c]&&e.push(c);c=e;c=0<c.length?"["+c.join(",")+"]":"";b.unshift(a.tagName+c);a=a.parentNode}return b.join(" > ")},Tl=function(){var a;return null==(a=document.location.search.match(/\bldap=(.*)\b/))?void 0:a[1]},Vl=function(){var a;return null!=(a=Tl())?a:Ul},
Wl=function(a){return(null!=a?a:"").split("@")[0]},awa=function(a,b){b=void 0===b?Ul:b;var c,d=null==a?void 0:null==(c=a.snapshot)?void 0:c[0];c=Wl(pi(null==d?void 0:d.assigneeUser));c=b&&b===c;var e=Wl(pi(null==d?void 0:d.reporterUser));e=b&&b===e;var g;d=(null!=(g=null==d?void 0:d.ccUsers)?g:[]).map(pi).map(Wl);b=b&&d.includes(b);var h;g=null==a?void 0:null==(h=a.userData)?void 0:h.voted;var l;h=null==a?void 0:null==(l=a.userData)?void 0:l.starred;var q,v;a=(null!=(v=null==a?void 0:null==(q=a.userData)?
void 0:q.lastViewedTimeMicros)?v:0)/1E3;q=Date.now()-a;q=0<q&&864E5>q;v=[];c&&v.push("Assigned");e&&v.push("Reported");b&&v.push("CC'd");g&&v.push("Upvoted");h&&v.push("Starred");q&&v.push("Viewed <24h");return v.join(", ")},bwa=function(a){if(a)return{status:oj[a.getStatus()],issueIds:a.getIssueIdsList()}},Xl=function(a){return!a||"0"===a},cwa=function(a){return cta(X(a,ek,1))},dwa=function(a){return(kj(a,ek,1)||[]).map(cta)},Yl=function(){return new ewa},fwa=function(a){var b={};if(null==a)return b;
a=k(kj(a,Zl,1));for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getResource(),e={admin:!1,writer:!1,appender:!1,reader:!1};b[d]=b[d]||e;switch(c.getRelation()){case 1:b[d].admin=!0;break;case 2:b[d].writer=!0;break;case 3:b[d].appender=!0;break;case 4:b[d].reader=!0}}return b},gwa=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})},hwa=function(a){if(a&1){var b=u();F(0,"div",2)(1,"button",3);L("click",function(){w(b);
var c=N();return y(c.action())});P(2);H()()}a&2&&(a=N(),z(2),Mf(a.data.action))},iwa=function(){},jwa=function(a){a&1&&(F(0,"span",6),P(1),H());a&2&&(a=N(),z(1),Mf(a.data.message))},kwa=function(a){a&1&&I(0,"span",7);a&2&&(a=N(),E("innerHtml",a.data.htmlMessage,Td))},mwa=function(a){if(a&1){var b=u();F(0,"button",8);L("click",function(){w(b);var c=N();return y(lwa(c.snackBarRef))});P(1);H()}a&2&&(a=N(),z(1),Lf(" ",a.data.actionLabel," "))},nwa=function(a){if(a&1){var b=u();F(0,"button",8);L("click",
function(){w(b);var c=N();return y(c.snackBarRef.dismiss())});P(1);H()}a&2&&(a=N(),z(1),Lf(" ",a.data.dismissLabel," "))},owa=function(a){if(a&1){var b=u();F(0,"button",9);L("click",function(){w(b);var c=N();return y(c.snackBarRef.dismiss())});I(1,"mat-icon",10);H()}},pwa=function(a){var b;return void 0!==(null==(b=a.error)?void 0:b.message)},$l=function(a){return!!a&&wa(a)&&(!!a.data&&void 0!==a.data.message||pwa(a))},am=function(a){return a.data&&void 0!==a.data.message&&a.data&&a.data.message?
a.data.message:pwa(a)&&a.error&&a.error.message?a.error.message:""},bm=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,"+")},qwa=function(a){return new D.Observable(function(b){a.on("data",function(c){b.next(c)});a.on("error",function(c){b.error(c)});a.on("status",function(c){b.error(c)});a.on("end",function(){b.complete()});
return function(){a.cancel()}})},cm=function(a,b){switch(a){case "HOTLIST":return"hotlists/"+b;case "BOOKMARK_GROUP":return"bookmarkGroups/"+b;case "SAVED_SEARCH":return"savedSearches/"+b;case "COMPONENT":return"components/"+b;case "COMPONENT_SLO":return"components/"+b+"/slo";case "ISSUE":return"issues/"+b;case "ISSUE_DEFAULTS":return"components/"+b+"/issueDefaults";case "SLO":return"slos/"+b;case "TEAM":return"teams/"+b;default:throw Error("sc`"+a);}},em=function(a,b){return dm("issues/:issueId",
{id:a,params:b})},fm=function(a,b){return dm("issues/:issueId/dependencies",{id:a,params:b})},hm=function(a){return gm("issues",{params:a})},rwa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},swa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},twa=function(a,b){return dm("components/:componentId/manage",{id:a,tab:b})},uwa=function(a){return a?gm("settings/:settingsTab?",{id:a,token:":settingsTab?"}):gm("settings")},
dm=function(a,b){b=void 0===b?{}:b;return null==b.id?"":gm(a,b)},gm=function(a,b){var c=b=void 0===b?{}:b;b=c.id;var d=c.params,e=c.tab;c=c.token;var g=a;null!=b&&(g=a.replace(c?c:/:\w+/,b.toString()));d&&(g=vwa(g,d));e&&(g=g+"#"+e);return g},wwa=function(a,b){b=(void 0===b?{}:b).comment;return{path:"/issues/"+a,fragment:b?"comment"+b:void 0}},im=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},xwa=function(a){var b={};a=(b.component=a?String(a):void 0,b);a=void 0===a?{}:a;return{path:"/issues/new",queryParams:a}},ywa=function(a){return{path:"/components/"+a}},zwa=function(a){var b={};a&&(b.componentId=a);return{path:"/components",queryParams:b}},Awa=function(a){return{path:"/slos/"+a+"/edit"}},Bwa=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],g=a[c];if(e.startsWith(":"))b[e.substring(1)]=g;else if(e!==g.path)return null}return{consumed:a.slice(0,d.length),posParams:b}},jm=function(a,b){var c=a?Object.keys(a):void 0,d=b?Object.keys(b):void 0;if(!c||!d||c.length!=d.length)return!1;for(var e=0;e<c.length;e++)if(d=c[e],!Cwa(a[d],b[d]))return!1;return!0},Cwa=function(a,b){if(Array.isArray(a)&&Array.isArray(b)){if(a.length!==b.length)return!1;a=[].concat(cd(a)).sort();var c=[].concat(cd(b)).sort();return a.every(function(d,
e){return c[e]===d})}return a===b},km=function(a){return(0,D.isObservable)(a)?a:$d(a)?(0,D.from)(Promise.resolve(a)):(0,D.of)(a)},Fwa=function(a,b,c){return Dwa[c.paths](a.root,b.root,c.matrixParams)&&Ewa[c.queryParams](a.queryParams,b.queryParams)&&!("exact"===c.fragment&&a.fragment!==b.fragment)},Gwa=function(a,b){return jm(a,b)},Iwa=function(a,b,c){if(!lm(a.segments,b.segments)||!Hwa(a.segments,b.segments,c)||a.numberOfChildren!==b.numberOfChildren)return!1;for(var d in b.children)if(!a.children[d]||
!Iwa(a.children[d],b.children[d],c))return!1;return!0},Jwa=function(a,b){return Object.keys(b).length<=Object.keys(a).length&&Object.keys(b).every(function(c){return Cwa(a[c],b[c])})},Lwa=function(a,b,c){return Kwa(a,b,b.segments,c)},Kwa=function(a,b,c,d){if(a.segments.length>c.length)return a=a.segments.slice(0,c.length),lm(a,c)&&!b.hasChildren()&&Hwa(a,c,d)?!0:!1;if(a.segments.length===c.length){if(!lm(a.segments,c)||!Hwa(a.segments,c,d))return!1;for(var e in b.children)if(!a.children[e]||!Lwa(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 lm(a.segments,e)&&Hwa(a.segments,e,d)&&a.children.primary?Kwa(a.children.primary,b,c,d):!1},Hwa=function(a,b,c){return b.every(function(d,e){return Ewa[c](a[e].parameters,d.parameters)})},Mwa=function(a,b){return lm(a,b)&&a.every(function(c,d){return jm(c.parameters,b[d].parameters)})},lm=function(a,b){return a.length!==b.length?!1:a.every(function(c,d){return c.path===b[d].path})},Nwa=function(a,
b){var c=[];Object.entries(a.children).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;"primary"===d&&(c=c.concat(b(e,d)))});Object.entries(a.children).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;"primary"!==d&&(c=c.concat(b(e,d)))});return c},Qwa=function(a){return a.segments.map(function(b){return Owa(b.path)+Pwa(b.parameters)}).join("/")},mm=function(a,b){if(!a.hasChildren())return Qwa(a);if(b){b=a.children.primary?mm(a.children.primary,!1):"";var c=[];Object.entries(a.children).forEach(function(d){var e=
k(d);d=e.next().value;e=e.next().value;"primary"!==d&&c.push(d+":"+mm(e,!1))});return 0<c.length?b+"("+c.join("//")+")":b}b=Nwa(a,function(d,e){return"primary"===e?[mm(a.children.primary,!1)]:[e+":"+mm(d,!1)]});return 1===Object.keys(a.children).length&&null!=a.children.primary?Qwa(a)+"/"+b[0]:Qwa(a)+"/("+b.join("//")+")"},Rwa=function(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")},Swa=function(a){return Rwa(a).replace(/%3B/gi,";")},
Owa=function(a){return Rwa(a).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")},Pwa=function(a){return Object.keys(a).map(function(b){return";"+Owa(b)+"="+Owa(a[b])}).join("")},Twa=function(a){var b=Object.keys(a).map(function(c){var d=a[c];return Array.isArray(d)?d.map(function(e){return Swa(c)+"="+Swa(e)}).join("&"):Swa(c)+"="+Swa(d)}).filter(function(c){return!!c});return b.length?"?"+b.join("&"):""},Vwa=function(a){return(a=a.match(Uwa))?a[0]:""},Wwa=function(a){var b={};return 0<
a.segments.length?new nm([],(b.primary=a,b)):a},Xwa=function(a){for(var b={},c=k(Object.keys(a.children)),d=c.next();!d.done;d=c.next()){d=d.value;var e=Xwa(a.children[d]);if("primary"===d&&0===e.segments.length&&e.hasChildren())for(d=k(Object.entries(e.children)),e=d.next();!e.done;e=d.next()){var g=k(e.value);e=g.next().value;g=g.next().value;b[e]=g}else if(0<e.segments.length||e.hasChildren())b[d]=e}a=new nm(a.segments,b);1===a.numberOfChildren&&a.children.primary&&(b=a.children.primary,a=new nm(a.segments.concat(b.segments),
b.children));return a},pm=function(a){return a instanceof om},Ywa=function(a){function b(g){for(var h={},l=k(g.children),q=l.next();!q.done;q=l.next()){q=q.value;var v=b(q);h[q.outlet]=v}h=new nm(g.url,h);g===a&&(c=h);return h}var c,d=b(a.root);d=Wwa(d);var e;return null!=(e=c)?e:d},dxa=function(a,b,c,d){for(var e=a;e.parent;)e=e.parent;if(0===b.length)return Zwa(e,e,e,c,d);b=$wa(b);if(b.isAbsolute&&1===b.commands.length&&"/"==b.commands[0])return Zwa(e,e,new nm([],{}),c,d);var g=e;if(b.isAbsolute)a=
new axa(g,!0,0);else if(a)if(null===a.parent)a=new axa(a,!0,0);else{g=a;a=a.segments.length-1+(bxa(b.commands[0])?0:1);for(var h=b.numberOfDoubleDots;h>a;){h-=a;g=g.parent;if(!g)throw new Cc(4005,!1);a=g.segments.length}a=new axa(g,!1,a-h)}else a=new axa(g,!1,NaN);b=a.processChildren?qm(a.segmentGroup,a.index,b.commands):cxa(a.segmentGroup,a.index,b.commands);return Zwa(e,a.segmentGroup,b,c,d)},bxa=function(a){return"object"===typeof a&&null!=a&&!a.outlets&&!a.segmentPath},rm=function(a){return"object"===
typeof a&&null!=a&&a.outlets},Zwa=function(a,b,c,d,e){var g={};d&&Object.entries(d).forEach(function(h){var l=k(h);h=l.next().value;l=l.next().value;g[h]=Array.isArray(l)?l.map(function(q){return""+q}):""+l});a=a===b?c:exa(a,b,c);a=Wwa(Xwa(a));return new om(a,g,e)},exa=function(a,b,c){var d={};Object.entries(a.children).forEach(function(e){var g=k(e);e=g.next().value;g=g.next().value;d[e]=g===b?c:exa(g,b,c)});return new nm(a.segments,d)},$wa=function(a){if("string"===typeof a[0]&&1===a.length&&"/"===
a[0])return new fxa(!0,0,a);var b=0,c=!1;a=a.reduce(function(d,e,g){if("object"===typeof e&&null!=e){if(e.outlets){var h={};Object.entries(e.outlets).forEach(function(l){var q=k(l);l=q.next().value;q=q.next().value;h[l]="string"===typeof q?q.split("/"):q});return[].concat(cd(d),[{outlets:h}])}if(e.segmentPath)return[].concat(cd(d),[e.segmentPath])}return"string"!==typeof e?[].concat(cd(d),[e]):0===g?(e.split("/").forEach(function(l,q){if(0!=q||"."!==l)0==q&&""===l?c=!0:".."===l?b++:""!=l&&d.push(l)}),
d):[].concat(cd(d),[e])},[]);return new fxa(c,b,a)},gxa=function(a){if(rm(a[0]))return a[0].outlets;var b={};return b.primary=a,b},cxa=function(a,b,c){a||(a=new nm([],{}));if(0===a.segments.length&&a.hasChildren())return qm(a,b,c);a:{var d=a;for(var e=0,g=b,h={match:!1,pathIndex:0,commandIndex:0};g<d.segments.length;){if(e>=c.length){d=h;break a}var l=d.segments[g],q=c[e];if(rm(q))break;q=""+q;var v=e<c.length-1?c[e+1]:null;if(0<g&&void 0===q)break;if(q&&v&&"object"===typeof v&&void 0===v.outlets){if(q!=
l.path||!jm(v,l.parameters)){d=h;break a}e+=2}else{v={};if(q!=l.path||!jm(v,l.parameters)){d=h;break a}e++}g++}d={match:!0,pathIndex:g,commandIndex:e}}e=c.slice(d.commandIndex);return d.match&&d.pathIndex<a.segments.length?(b=new nm(a.segments.slice(0,d.pathIndex),{}),b.children.primary=new nm(a.segments.slice(d.pathIndex),a.children),qm(b,0,e)):d.match&&0===e.length?new nm(a.segments,{}):d.match&&!a.hasChildren()?hxa(a,b,c):d.match?qm(a,0,e):hxa(a,b,c)},qm=function(a,b,c){if(0===c.length)return new nm(a.segments,
{});var d=gxa(c),e={};if(!d.primary&&a.children.primary&&1===a.numberOfChildren&&0===a.children.primary.segments.length)return c=qm(a.children.primary,b,c),new nm(a.segments,c.children);Object.entries(d).forEach(function(g){var h=k(g);g=h.next().value;h=h.next().value;"string"===typeof h&&(h=[h]);null!==h&&(e[g]=cxa(a.children[g],b,h))});Object.entries(a.children).forEach(function(g){var h=k(g);g=h.next().value;h=h.next().value;void 0===d[g]&&(e[g]=h)});return new nm(a.segments,e)},hxa=function(a,
b,c){for(var d=a.segments.slice(0,b),e=0;e<c.length;){var g=c[e];if(rm(g))return a=ixa(g.outlets),new nm(d,a);if(0===e&&bxa(c[0]))d.push(new sm(a.segments[b].path,jxa(c[0]))),e++;else{g=rm(g)?g.outlets.primary:""+g;var h=e<c.length-1?c[e+1]:null;g&&h&&bxa(h)?(d.push(new sm(g,jxa(h))),e+=2):(d.push(new sm(g,{})),e++)}}return new nm(d,{})},ixa=function(a){var b={};Object.entries(a).forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;"string"===typeof d&&(d=[d]);null!==d&&(b[c]=hxa(new nm([],
{}),0,d))});return b},jxa=function(a){var b={};Object.entries(a).forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b[c]=""+d});return b},kxa=function(a,b){if(a===b.value)return b;b=k(b.children);for(var c=b.next();!c.done;c=b.next())if(c=kxa(a,c.value))return c;return null},lxa=function(a,b){if(a===b.value)return[b];for(var c=k(b.children),d=c.next();!d.done;d=c.next())if(d=lxa(a,d.value),d.length)return d.unshift(b),d;return[]},tm=function(a){var b={};a&&a.children.forEach(function(c){return b[c.value.outlet]=
c});return b},oxa=function(){var a=new mxa("",new um(new wm([],{},{},"",{},"primary",null,null,{}),[])),b=new xm(new D.BehaviorSubject([new sm("",{})]),new D.BehaviorSubject({}),new D.BehaviorSubject({}),new D.BehaviorSubject(""),new D.BehaviorSubject({}),"primary",null,a.root);b.snapshot=a.root;return new nxa(new um(b,[]),a)},qxa=function(a,b){a=a.pathFromRoot;var c=0;if("always"!==(void 0===b?"emptyOnly":b))for(c=a.length-1;1<=c;){b=a[c];var d=a[c-1];if(b.routeConfig&&""===b.routeConfig.path)c--;
else if(d.component)break;else c--}return pxa(a.slice(c))},pxa=function(a){return a.reduce(function(b,c){var d=Object.assign({},b.params,c.params),e=Object.assign({},b.data,c.data),g;b=Object.assign({},c.data,b.resolve,null==(g=c.routeConfig)?void 0:g.data,c._resolvedData);return{params:d,data:e,resolve:b}},{params:{},data:{},resolve:{}})},rxa=function(a,b){b.value._routerState=a;b.children.forEach(function(c){return rxa(a,c)})},sxa=function(a){var b=0<a.children.length?" { "+a.children.map(sxa).join(", ")+
" } ":"";return""+a.value+b},txa=function(a){if(a.snapshot){var b=a.snapshot,c=a._futureSnapshot;a.snapshot=c;jm(b.queryParams,c.queryParams)||a.queryParamsSubject.next(c.queryParams);b.fragment!==c.fragment&&a.fragmentSubject.next(c.fragment);jm(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 g=0;g<d.length;++g)if(!jm(d[g],e[g])){d=!1;break a}d=!0}}d||a.urlSubject.next(c.url);jm(b.data,c.data)||a.dataSubject.next(c.data)}else a.snapshot=
a._futureSnapshot,a.dataSubject.next(a._futureSnapshot.data)},uxa=function(a,b){var c=jm(a.params,b.params)&&Mwa(a.url,b.url),d=!a.parent!==!b.parent;return c&&!d&&(!a.parent||uxa(a.parent,b.parent))},xxa=function(a,b,c){if(c&&a.shouldReuseRoute(b.value,c.value.snapshot)){var d=c.value;d._futureSnapshot=b.value;b=vxa(a,b,c);return new um(d,b)}d=wxa(b.value);b=b.children.map(function(e){return xxa(a,e)});return new um(d,b)},vxa=function(a,b,c){return b.children.map(function(d){for(var e=k(c.children),
g=e.next();!g.done;g=e.next())if(g=g.value,a.shouldReuseRoute(d.value,g.value.snapshot))return xxa(a,d,g);return xxa(a,d)})},wxa=function(a){return new xm(new D.BehaviorSubject(a.url),new D.BehaviorSubject(a.params),new D.BehaviorSubject(a.queryParams),new D.BehaviorSubject(a.fragment),new D.BehaviorSubject(a.data),a.outlet,a.component,a)},zxa=function(a){var b=pm(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a,c=b.redirectTo;b=b.navigationBehaviorOptions;a=yxa(0,a);a.url=c;a.navigationBehaviorOptions=
b;return a},yxa=function(a,b){var c=Error("uc`");c.ngNavigationCancelingError=!0;c.cancellationCode=a;b&&(c.url=b);return c},Axa=function(a){return a&&a.ngNavigationCancelingError},Bxa=function(a,b){a.providers&&!a._injector&&(a._injector=nha(a.providers,b,"Route: "+a.path));var c;return null!=(c=a._injector)?c:b},Cxa=function(a){var b=a.children&&a.children.map(Cxa);a=b?Object.assign({},a,{children:b}):Object.assign({},a);a.component||a.loadComponent||!b&&!a.loadChildren||!a.outlet||"primary"===
a.outlet||(a.component=ym);return a},zm=function(a){return a.outlet||"primary"},Dxa=function(a,b){var c=a.filter(function(d){return zm(d)===b});c.push.apply(c,cd(a.filter(function(d){return zm(d)!==b})));return c},Am=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},
Bm=function(){return $e(function(a){return(0,D.combineLatest)(a.map(function(b){return b.pipe(Oe(),Ze(Exa))})).pipe(C(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,!0!==c){if(c===Exa)return Exa;if(!1===c||c instanceof om)return c}return!0}),Ge(function(b){return b!==Exa}),Oe())})},Cm=function(a,b){var c=Symbol(),d=b.get(a,c);return d===c?"function"!==typeof a||null!==Wda(a)?b.get(a):a:d},Dm=function(a,b,c,d,e){e=void 0===e?{canDeactivateChecks:[],canActivateChecks:[]}:e;var g=
tm(b);a.children.forEach(function(h){var l=g[h.value.outlet],q=d.concat([h.value]),v=e;v=void 0===v?{canDeactivateChecks:[],canActivateChecks:[]}:v;var x=h.value,A=l?l.value:null,G=c?c.getContext(h.value.outlet):null;if(A&&x.routeConfig===A.routeConfig){var M=Fxa(A,x,x.routeConfig.runGuardsAndResolvers);M?v.canActivateChecks.push(new Gxa(q)):(x.data=A.data,x._resolvedData=A._resolvedData);x.component?Dm(h,l,G?G.children:null,q,v):Dm(h,l,c,q,v);M&&G&&G.outlet&&G.outlet.isActivated&&v.canDeactivateChecks.push(new Hxa(G.outlet.component,
A))}else A&&Em(l,G,v),v.canActivateChecks.push(new Gxa(q)),x.component?Dm(h,null,G?G.children:null,q,v):Dm(h,null,c,q,v);delete g[h.value.outlet]});Object.entries(g).forEach(function(h){var l=k(h);h=l.next().value;l=l.next().value;return Em(l,c.getContext(h),e)});return e},Fxa=function(a,b,c){if("function"===typeof c)return c(a,b);switch(c){case "pathParamsChange":return!lm(a.url,b.url);case "pathParamsOrQueryParamsChange":return!lm(a.url,b.url)||!jm(a.queryParams,b.queryParams);case "always":return!0;
case "paramsOrQueryParamsChange":return!uxa(a,b)||!jm(a.queryParams,b.queryParams);default:return!uxa(a,b)}},Em=function(a,b,c){var d=tm(a),e=a.value;Object.entries(d).forEach(function(g){var h=k(g);g=h.next().value;h=h.next().value;e.component?b?Em(h,b.children.getContext(g),c):Em(h,null,c):Em(h,b,c)});e.component?b&&b.outlet&&b.outlet.isActivated?c.canDeactivateChecks.push(new Hxa(b.outlet.component,e)):c.canDeactivateChecks.push(new Hxa(null,e)):c.canDeactivateChecks.push(new Hxa(null,e))},Fm=
function(a){return"function"===typeof a},Ixa=function(a){return a instanceof D.EmptyError||"EmptyError"===(null==a?void 0:a.name)},Lxa=function(a,b){return ze(function(c){var d=c.targetSnapshot,e=c.currentSnapshot,g=c.guards,h=g.canActivateChecks;g=g.canDeactivateChecks;return 0===g.length&&0===h.length?(0,D.of)(Object.assign({},c,{guardsResult:!0})):Jxa(g,d,e,a).pipe(ze(function(l){return l&&"boolean"===typeof l?Kxa(d,h,a,b):(0,D.of)(l)}),C(function(l){return Object.assign({},c,{guardsResult:l})}))})},
Jxa=function(a,b,c,d){return(0,D.from)(a).pipe(ze(function(e){return Mxa(e.component,e.route,c,b,d)}),Re(function(e){return!0!==e},!0))},Kxa=function(a,b,c,d){return(0,D.from)(b).pipe(ze(function(e){var g=D.concat;var h=e.route.parent;null!==h&&d&&d(new Nxa(h));h=(0,D.of)(!0);var l=e.route;null!==l&&d&&d(new Oxa(l));l=(0,D.of)(!0);return g.call(D,h,l,Pxa(a,e.path,c),Qxa(a,e.route,c))},1),Re(function(e){return!0!==e},!0))},Qxa=function(a,b,c){var d=b.routeConfig?b.routeConfig.canActivate:null;if(!d||
0===d.length)return(0,D.of)(!0);d=d.map(function(e){return(0,D.defer)(function(){var g,h=null!=(g=Am(b))?g:c,l=Cm(e,h);g=l&&Fm(l.canActivate)?l.canActivate(b,a):h.runInContext(function(){return l(b,a)});return km(g).pipe(Re())})});return(0,D.of)(d).pipe(Bm())},Pxa=function(a,b,c){var d=b[b.length-1];b=b.slice(0,b.length-1).reverse().map(function(e){var g=e.routeConfig?e.routeConfig.canActivateChild:null;return g&&0!==g.length?{node:e,guards:g}:null}).filter(function(e){return null!==e}).map(function(e){return(0,D.defer)(function(){var g=
e.guards.map(function(h){var l,q=null!=(l=Am(e.node))?l:c,v=Cm(h,q);h=v&&Fm(v.canActivateChild)?v.canActivateChild(d,a):q.runInContext(function(){return v(d,a)});return km(h).pipe(Re())});return(0,D.of)(g).pipe(Bm())})});return(0,D.of)(b).pipe(Bm())},Mxa=function(a,b,c,d,e){var g=b&&b.routeConfig?b.routeConfig.canDeactivate:null;if(!g||0===g.length)return(0,D.of)(!0);g=g.map(function(h){var l,q=null!=(l=Am(b))?l:e,v=Cm(h,q);h=v&&Fm(v.canDeactivate)?v.canDeactivate(a,b,c,d):q.runInContext(function(){return v(a,
b,c,d)});return km(h).pipe(Re())});return(0,D.of)(g).pipe(Bm())},Sxa=function(a,b,c){var d=b.canLoad;if(void 0===d||0===d.length)return(0,D.of)(!0);d=d.map(function(e){var g=Cm(e,a);e=g&&Fm(g.canLoad)?g.canLoad(b,c):a.runInContext(function(){return g(b,c)});return km(e)});return(0,D.of)(d).pipe(Bm(),Rxa())},Rxa=function(){return(0,D.pipe)(bf(function(a){if(pm(a))throw zxa(a);}),C(function(a){return!0===a}))},Txa=function(a,b,c){var d=b.canMatch;if(!d||0===d.length)return(0,D.of)(!0);d=d.map(function(e){var g=
Cm(e,a);e=g&&Fm(g.canMatch)?g.canMatch(b,c):a.runInContext(function(){return g(b,c)});return km(e)});return(0,D.of)(d).pipe(Bm(),Rxa())},Gm=function(a){return(0,D.throwError)(new Uxa(a))},Xxa=function(a,b,c,d){var e=Vxa(a,b,c);if(!e.matched)return(0,D.of)(e);d=Bxa(b,d);return Txa(d,b,c).pipe(C(function(g){return!0===g?e:Object.assign({},Wxa)}))},Vxa=function(a,b,c){if(""===b.path)return"full"===b.pathMatch&&(a.hasChildren()||0<c.length)?Object.assign({},Wxa):{matched:!0,consumedSegments:[],remainingSegments:c,
parameters:{},positionalParamSegments:{}};a=(b.matcher||Bwa)(c,a,b);if(!a)return Object.assign({},Wxa);var d={},e;Object.entries(null!=(e=a.posParams)?e:{}).forEach(function(h){var l=k(h);h=l.next().value;l=l.next().value;d[h]=l.path});e=0<a.consumed.length?Object.assign({},d,a.consumed[a.consumed.length-1].parameters):d;var g;return{matched:!0,consumedSegments:a.consumed,remainingSegments:c.slice(a.consumed.length),parameters:e,positionalParamSegments:null!=(g=a.posParams)?g:{}}},aya=function(a,
b,c,d){if(0<c.length&&Yxa(a,c,d)){var e=nm;a=new nm(c,a.children);c={};c.primary=a;a=k(d);for(d=a.next();!d.done;d=a.next())if(d=d.value,""===d.path&&"primary"!==zm(d)){var g=new nm([],{});c[zm(d)]=g}c={segmentGroup:new e(b,c),slicedSegments:[]}}else if(0===c.length&&Zxa(a,c,d)){b=nm;e=a.segments;g=a.children;var h={};d=k(d);for(var l=d.next();!l.done;l=d.next())if(l=l.value,$xa(a,c,l)&&!g[zm(l)]){var q=new nm([],{});h[zm(l)]=q}a=Object.assign({},g,h);c={segmentGroup:new b(e,a),slicedSegments:c}}else c=
{segmentGroup:new nm(a.segments,a.children),slicedSegments:c};return c},Yxa=function(a,b,c){return c.some(function(d){return $xa(a,b,d)&&"primary"!==zm(d)})},Zxa=function(a,b,c){return c.some(function(d){return $xa(a,b,d)})},$xa=function(a,b,c){return(a.hasChildren()||0<b.length)&&"full"===c.pathMatch?!1:""===c.path},bya=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)})},cya=function(a){return(a=a.value.routeConfig)&&
""===a.path},dya=function(a){var b=[],c=new Set;a=k(a);for(var d=a.next(),e={};!d.done;e={$jscomp$loop$prop$node$2304:e.$jscomp$loop$prop$node$2304},d=a.next())e.$jscomp$loop$prop$node$2304=d.value,cya(e.$jscomp$loop$prop$node$2304)?(d=b.find(function(g){return function(h){return g.$jscomp$loop$prop$node$2304.value.routeConfig===h.value.routeConfig}}(e)),void 0!==d?(d.children.push.apply(d.children,cd(e.$jscomp$loop$prop$node$2304.children)),c.add(d)):b.push(e.$jscomp$loop$prop$node$2304)):b.push(e.$jscomp$loop$prop$node$2304);
a=k(c);for(e=a.next();!e.done;e=a.next())e=e.value,d=dya(e.children),b.push(new um(e.value,d));return b.filter(function(g){return!c.has(g)})},fya=function(a,b,c,d,e,g){return ze(function(h){return(new eya(a,b,c,d,h.extractedUrl,void 0===g?"emptyOnly":g,e)).recognize().pipe(C(function(l){return Object.assign({},h,{targetSnapshot:l.state,urlAfterRedirects:l.tree})}))})},hya=function(a,b){return ze(function(c){var d=c.targetSnapshot,e=c.guards.canActivateChecks;if(!e.length)return(0,D.of)(c);var g=0;
return(0,D.from)(e).pipe(ze(function(h){return gya(h.route,d,a,b)},1),bf(function(){return g++}),aja(),ze(function(){return g===e.length?(0,D.of)(c):D.EMPTY}))})},gya=function(a,b,c,d){var e=a.routeConfig,g=a._resolve;void 0!==(null==e?void 0:e.title)&&"string"!==typeof e.title&&null!==e.title&&(g[Hm]=e.title);return iya(g,a,b,d).pipe(C(function(h){a._resolvedData=h;a.data=qxa(a,c).resolve;!e||"string"!==typeof e.title&&null!==e.title||(a.data[Hm]=e.title);return null}))},iya=function(a,b,c,d){var e=
jya(a);if(0===e.length)return(0,D.of)({});var g={};return(0,D.from)(e).pipe(ze(function(h){return kya(a[h],b,c,d).pipe(Re(),bf(function(l){g[h]=l}))}),aja(),Se(g),Ke(function(h){return Ixa(h)?D.EMPTY:(0,D.throwError)(h)}))},jya=function(a){return[].concat(cd(Object.keys(a)),cd(Object.getOwnPropertySymbols(a)))},kya=function(a,b,c,d){var e,g=null!=(e=Am(b))?e:d,h=Cm(a,g);a=h.resolve?h.resolve(b,c):g.runInContext(function(){return h(b,c)});return km(a)},lya=function(a){return $e(function(b){var c=a(b);
return c?(0,D.from)(c).pipe(C(function(){return b})):(0,D.of)(b)})},mya=function(a){return a&&"object"===typeof a&&"default"in a?a["default"]:a},nya=function(a,b){a.events.pipe(Ge(function(c){return c instanceof Im||c instanceof Jm||c instanceof Km||c instanceof Lm}),C(function(c){return c instanceof Im||c instanceof Lm?0:c instanceof Jm&&(0===c.code||1===c.code)?2:1}),Ge(function(c){return 2!==c}),Oe()).subscribe(function(){b()})},oya=function(a){throw a;},pya=function(a,b){return b.parse("/")},
qya=function(a,b){return{"\u0275kind":a,"\u0275providers":b}},rya=function(a){for(var b={},c=k(a.keys),d=c.next();!d.done;d=c.next()){d=d.value;var e=a.getAll(d);b[d]=1<e.length?e:e[0]}return b},tya=function(a){if(!a.getType())throw Error("zc");return{type:sya[a.getType()],customFieldId:ui(a.getCustomFieldId()),customFieldName:xi(a.getCustomFieldName())}},vya=function(a){var b=new Mm;void 0!==a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));void 0!==a.customFieldName&&sk(b,3,a.customFieldName);
void 0!==a.type&&b.setType(uya[a.type]);return b},wya=function(a){var b=a.getField();if(!b)throw Error("Ac");if(!a.getDirection())throw Error("Bc");return{field:tya(b),direction:1===a.getDirection()?"ASCENDING":"DESCENDING"}},xya=function(a){var b=new Nm;b.setField(vya(a.field));b.setDirection("ASCENDING"===a.direction?1:2);return b},yya=function(a){var b=new Om;b.setHotlistId(""+a.hotlistId);b.setName(a.name);b.setDescription(a.description);b.setArchived(a.archived);b.setCreatedTimeMicros(a.createdTimeMicros);
b.setModifiedTimeMicros(a.modifiedTimeMicros);var c;b.setDisplayColumnList((null!=(c=a.displayColumn)?c:[]).map(vya));var d;b.setSortOrderList((null!=(d=a.sortOrder)?d:[]).map(xya));void 0!==a.etag&&b.setEtag(a.etag);var e;b.setAdminUsersList((null!=(e=a.adminUsers)?e:[]).map(si));return b},Pm=function(a){if(!a.getHotlistId())throw Error("Cc");if(!a.getName())throw Error("Dc");if(!a.getCreatedTimeMicros())throw Error("Ec");if(!a.getModifiedTimeMicros())throw Error("Fc");var b,c,d,e;return{hotlistId:Number(a.getHotlistId()),
name:a.getName(),description:null!=(b=a.getDescription())?b:"",archived:null!=(c=a.getArchived())?c:!1,createdTimeMicros:a.getCreatedTimeMicros(),modifiedTimeMicros:a.getModifiedTimeMicros(),displayColumn:(null!=(d=a.getDisplayColumnList())?d:[]).map(tya),sortOrder:(null!=(e=a.getSortOrderList())?e:[]).map(wya),etag:a.getEtag(),adminUsers:qi(a.getAdminUsersList())}},zya=function(a){var b;return(null!=(b=kj(a,Om,1))?b:[]).map(Pm)},Bya=function(a){a=a.getFavorite();return{user:oi(a.getUser()),resourceType:Aya[a.getResourceType()],
resourceId:Number(a.getResourceId()),name:a.getName()}},Cya=function(a){var b,c;return{searchId:Number(Ii(a,1)),name:a.getName(),description:a.getDescription(),query:a.getQuery(),sortOrder:(null!=(b=a.getSortOrderList())?b:[]).map(wya),displayColumn:(null!=(c=a.getDisplayColumnList())?c:[]).map(tya),adminUsers:qi(a.getAdminUsersList())}},Dya=function(a){var b;return(null!=(b=kj(a,Qm,1))?b:[]).map(Cya)},Eya=function(a){return{id:a.getId(),name:a.getName(),description:a.getDescription(),adminUsers:qi(a.getAdminUsersList()),
starred:a.getStarred(),resourceType:a.getResourceType()}},Fya=function(a){var b;return{id:a.getId(),name:a.getName(),description:a.getDescription(),adminUsers:qi(a.getAdminUsersList()),starred:a.getStarred(),sublinks:(null!=(b=kj(a,Rm,6))?b:[]).map(Eya)}},Gya=function(a){var b,c,d,e;return{hotlists:(null!=(b=a.getHotlistsList())?b:[]).map(Eya),bookmarkGroups:(null!=(c=a.getBookmarkGroupsList())?c:[]).map(Fya),archivedHotlists:(null!=(d=kj(a,Rm,3))?d:[]).map(Eya),archivedBookmarkGroups:(null!=(e=kj(a,
Sm,4))?e:[]).map(Fya)}},Iya=function(){var a=window.defrostedResourcesJspb;if(a&&Array.isArray(a)&&(a=kj(new Hya(a),Tm,1))&&1===a.length)return yk(a[0])},Vm=function(a){return function(){var b=Um.getItem(a);return null==b?!1:!!JSON.parse(b)}},Jya=function(a){return function(b){!0===b?Um.setItem(a,"1"):Um.removeItem(a)}},Wm=function(){return Kya.performance&&Kya.PerformanceObserver&&"function"===typeof window.performance.getEntriesByType&&"function"===typeof window.performance.mark&&"function"===typeof window.performance.measure},
Lya=function(a){var b=a.name;if(null!=b&&(a=Math.round(a.duration),!isNaN(a))){var c=k(b.split(" -> ")),d=c.next().value;c=c.next().value;if(null==d||null==c)console.warn("can't parse 'from' and 'to' in PerformanceEntry: "+b);else return{from:d,to:c,duration:a}}},Nya=function(a){a=a.sort(function(d,e){return d.startTime-e.startTime});var b=a.find(Mya);if(null!=b){var c=b.name.split(" -> ")[1];return a.find(function(d){return d.name===c})}},Rya=function(){var a=window.performance.getEntries(),b=Nya(a);
if(null==b)return[];var c=b.startTime;return a.filter(Oya).filter(Pya).filter(Qya).filter(function(d){return d.startTime<=c})},Mya=function(a){var b=a.name;return"measure"===a.entryType&&0===b.indexOf("browserStart")},Oya=function(a){return 0!==a.name.indexOf("Zone")},Qya=function(a){return"resource"===a.entryType},Sya=function(a){return"xmlhttprequest"===a.initiatorType},Pya=function(a){return null==a.name.match(/\.html$/)},Tya=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}},Uya=function(a){if(null!=a&&!(3E4<=a.duration))return{hitType:"event",eventCategory:"cf",eventAction:a.from,eventLabel:a.to,eventValue:a.duration}},Wya=function(a){a=a.getEntries().map(Lya).map(Uya);a=k(a);for(var b=a.next();!b.done;b=a.next())Xm(b.value);setTimeout(Vya,100)},Vya=function(){if(!Xya){var a=Rya(),b=a.filter(function(c){return!Sya(c)}).reduce(Tya,Yya());Ym("r-until-cf","asset",
"count",b.count);Ym("r-until-cf","asset","transferSize",b.transferSize);Ym("r-until-cf","asset","duration",b.duration);Ym("r-until-cf","asset","cacheHitRate",b.cacheHitRate);a=a.filter(Sya).reduce(Tya,Yya());Ym("r-until-cf","xhr","count",a.count);Ym("r-until-cf","xhr","transferSize",a.transferSize);Ym("r-until-cf","xhr","duration",a.duration);Xya=!0}},Ym=function(a,b,c,d){Xm(Object.assign({},{hitType:"event",eventCategory:a},void 0!==b?{eventAction:b}:{},void 0!==c?{eventLabel:c}:{},void 0!==d?{eventValue:d}:
{}))},Xm=function(a){null!=a&&(Zm("location","Scrubbed Page URL"),Zm("title","Scrubbed Page Title"),"function"===typeof $m.ga&&$m.ga("send",a),Zya&&Npa("[stub ga.ts] ga('send')",a))},Zm=function(a,b){"function"===typeof $m.ga&&$m.ga("set",a,b);Zya&&Npa("[stub ga.ts] ga('set', '"+a+"', "+b+")")},$ya=function(){return Zc.apply(0,arguments).map(String).join("__")},aza=function(){for(var a={},b=k(Object.entries(an)),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;1<d&&
(a[c]=d)}return a},bza=function(a,b){return a+b},cza=function(){var a=Object.values(an),b=a.map(function(c){return c-1}).reduce(bza,0);a=a.reduce(bza,0);return{total:a,redundant:b,redundancyRatio:Math.round(b/a*100)/100}},dza=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("/")},eza=function(a){return a instanceof Im},fza=function(a){return a instanceof bn},gza=function(a){return function(b){return new D.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()})})})}},lza=function(){var a=void 0===a?Ym:a;var b=Date.now(),c=cn(b);cn(hza())!==c?a("retention","first-visit"):(c=cn(b),cn(hza())===c&&1===iza()&&a("retention","second-visit"));a=cn(b);cn(hza())!==a?jza(1):(a=iza()||0,jza(a+1));kza(b)},cn=function(a){if(null!=a)return(new Date(a)).toLocaleDateString()},mza=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},nza=function(a){var b=Object.assign({},a);a=a.issue;b=(delete b.issue,b);return Object.assign({},b,{issueId:a.issueId})},oza=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)}},pza=function(a){function b(){var e,g,h,l;return pe(function(q){if(1==q.nextAddress){if(d||0===c.length)return q.return();
d=!0;e=[].concat(cd(c));c=[];g=k(e);h=g.next()}if(3!=q.nextAddress){if(h.done)return d=!1,q.yield(b(),0);l=h.value;return q.yield(a.apply(null,cd(l.args)).then(l.returnValue.resolve).catch(l.returnValue.reject),3)}h=g.next();return q.jumpTo(2)})}var c=[],d=!1;return function(){var e=Zc.apply(0,arguments),g=new ewa;c.push({args:e,returnValue:g});b();return g.promise}},qza=function(a){var b=!1;return function(){var c=Zc.apply(0,arguments);if(!b)return b=!0,a.apply(null,cd(c))}},rza=function(a){var b=
new Map;return function(){var c=Zc.apply(0,arguments),d=c.map(String).join("-");if(b.has(d))return b.get(d);c=a.apply(null,cd(c));b.set(d,c);return c}},sza=function(a){return!(null==a||!a.relatedChildren.length)},uza=function(a,b){var c=[].concat(cd(a));a=new Set(a.map(function(h){return h.targetIssueId}));b=k(b);for(var d=b.next(),e={};!d.done;e={$jscomp$loop$prop$newItem$2310:e.$jscomp$loop$prop$newItem$2310},d=b.next())if(e.$jscomp$loop$prop$newItem$2310=d.value,!a.has(e.$jscomp$loop$prop$newItem$2310.targetIssueId)){d=
c.findIndex(function(h){return function(l){return l.targetIssueId===h.$jscomp$loop$prop$newItem$2310.afterIssueId}}(e));var g=void 0;g=e.$jscomp$loop$prop$newItem$2310.afterIssueId?-1===d?c.length:d+1:0;c.splice(g,0,e.$jscomp$loop$prop$newItem$2310);a.add(e.$jscomp$loop$prop$newItem$2310.targetIssueId)}return tza(c)},vza=function(a,b){return tza(a.filter(function(c){return c.targetIssueId!==b}))},tza=function(a){for(var b=[],c=k(a.entries()),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;
var g=e.next().value;e=void 0;d=Object.assign({},g,{afterIssueId:null==(e=a[d-1])?void 0:e.targetIssueId});null==d.afterIssueId&&delete d.afterIssueId;b.push(d)}return b},wza=function(a){var b=new Map;a=k(a);for(var c=a.next(),d={};!c.done;d={$jscomp$loop$prop$previousOperation$2312:d.$jscomp$loop$prop$previousOperation$2312},c=a.next()){var e=c.value;c=e.issues.map(function(g){return g.issueId}).join(",");d.$jscomp$loop$prop$previousOperation$2312=b.get(c);d.$jscomp$loop$prop$previousOperation$2312?
(e={newParentId:e.newParentId,newRelations:e.newRelations,issues:d.$jscomp$loop$prop$previousOperation$2312.issues,eventTimestamps:[].concat(cd(d.$jscomp$loop$prop$previousOperation$2312.eventTimestamps),cd(e.eventTimestamps)),newParentChildrenSnapshot:e.newParentChildrenSnapshot,done:e.done},e.done.promise.then(d.$jscomp$loop$prop$previousOperation$2312.done.resolve).catch(function(g){return function(h){g.$jscomp$loop$prop$previousOperation$2312.done.reject(h);throw h;}}(d)),b.set(c,e)):b.set(c,
e)}b=[].concat(cd(b.values()));a=k(b);c=a.next();for(d={};!c.done;d={$jscomp$loop$prop$operation$2051$2314:d.$jscomp$loop$prop$operation$2051$2314},c=a.next())d.$jscomp$loop$prop$operation$2051$2314=c.value,d.$jscomp$loop$prop$operation$2051$2314.newRelations=d.$jscomp$loop$prop$operation$2051$2314.newRelations.map(function(g){return function(h){return g.$jscomp$loop$prop$operation$2051$2314.newParentChildrenSnapshot.find(function(l){return l.targetIssueId===h.targetIssueId})}}(d));return b.sort(function(g,
h){var l=g.newParentChildrenSnapshot,q=h.newParentChildrenSnapshot;g=Math.min.apply(Math,cd(g.issues.map(function(v){return l.findIndex(function(x){return x.targetIssueId===v.issueId})})));h=Math.min.apply(Math,cd(h.issues.map(function(v){return q.findIndex(function(x){return x.targetIssueId===v.issueId})})));return g===h?0:g<h?-1:1})},yza=function(a){return kj(a,dn,1).map(xza)},xza=function(a){var b=U(a,1);var c=a.getResource();if(c){var d={resourceId:c.getResourceId(),source:U(c,1),title:c.getTitle(),
lastModifiedTimestamp:c.getLastModifiedTimestamp(),externalLink:c.getExternalLink()};if(ak(c,fn,8,gn))c=hn(c),c={description:c.getDescription(),category:zza(c.getCategory()),status:Aza(c.getStatus()),reviewerEmails:c.getReviewerEmailsList(),authorEmail:c.getAuthorEmail(),needsAttention:c.getNeedsAttention(),attentionSetUsers:Th(c,17)},d.critiqueResource=c;else if(ak(c,jn,5,gn))c=kn(c),c={type:Bza(c.getMimeType()),createdTimestamp:c.getCreatedTimestamp(),createdByMe:Tj(c,2),ownedByMe:c.getOwnedByMe(),
sharedWithMe:c.getSharedToMe(),commentsAssignedToMeCount:Rh(c,22),commentsMentioningMeCount:Rh(c,23)},d.driveResource=c;else if(ak(c,ln,9,gn))c=mn(c),c={description:c.getDescription(),ownedByMe:c.getOwnedByMe(),needApprovalFromMe:Tj(c,8),creatorEmail:c.getCreatorEmail()},d.launchResource=c;else throw Error("Hc");}else d=void 0;return{taskId:b,resource:d,createdTimestamp:a.getCreatedTimestamp(),updatedTimestamp:a.getUpdatedTimestamp()}},zza=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"}},Aza=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"}},Bza=function(a){switch(a){case "document":return"Docs";case "spreadsheet":return"Sheets";case "presentation":return"Slides";
default:return"File"}},Cza=function(a){return{teamId:a,version:0,name:a,description:"",pathIds:[a],pathNames:[a],collapsedPathNames:[a],members:[],deleted:!1,estimatedComponentCount:0}},nn=function(a,b){b=new D.BehaviorSubject(b);a.subscribe(b);return b},on=function(a){var b;a.subscribe(function(c){b=c}).unsubscribe();return b},Dza=function(a){a=void 0===a?[]:a;return a.map(function(b){return"teamId:"+b+"+"}).join(" OR ")},Eza=function(){var a=new Date;a.setDate(a.getDate()-1);return a.getFullYear()+
"-"+(a.getMonth()+1).toString().padStart(2,"0")+"-"+a.getDate().toString().padStart(2,"0")},Fza=function(a,b){if(null==a)return null;a=a.getRequestHook(b);return null==a?null:a},Gza=function(a){return Object.assign({},{arrays:{},descriptions:{},keys:[],objectMaps:{},objects:{},enums:{},emptyArrayIsUnset:!1},a)},Hza=function(a,b){return pn(b,a)},Iza=function(a,b,c){b[a]=c},Jza=function(){return{}},Oza=function(a,b){var c=new a;return null==b?c:Kza(b,Lza,Mza,Nza,a)},Lza=function(a,b){return b[a]},Mza=
function(a,b,c){b.Serializable$values[a]=c},Nza=function(a){if(null==a)throw Error("Jc");return new a},Kza=function(a,b,c,d,e){e=d(e);for(var g=Pza(a,e),h=g.arrays||{},l=g.objects||{},q=g.objectMaps||{},v=k(g.keys||[]),x=v.next(),A={};!x.done;A={$jscomp$loop$prop$mapMetadata$2318:A.$jscomp$loop$prop$mapMetadata$2318},x=v.next()){x=x.value;var G=b(x,a);if(null!=G){var M=void 0;if(h.hasOwnProperty(x)){if(g.emptyArrayIsUnset&&0===G.length)continue;M=Qza(G,b,c,d,!0,!0,h[x])}else if(l.hasOwnProperty(x))M=
Qza(G,b,c,d,!1,!0,l[x]);else if(q.hasOwnProperty(x))A.$jscomp$loop$prop$mapMetadata$2318=q[x],M=A.$jscomp$loop$prop$mapMetadata$2318.isPropertyArray?G.map(function(Q){return function(Y){return Rza(Y,Q.$jscomp$loop$prop$mapMetadata$2318,b,c,d)}}(A)):Rza(G,A.$jscomp$loop$prop$mapMetadata$2318,b,c,d);else if(Array.isArray(G)){if(g.emptyArrayIsUnset&&0===G.length)continue;M=Qza(G,b,c,d,!0,!1)}else M=G;c(x,e,M)}}return e},Rza=function(a,b,c,d,e){for(var g={},h=k(Object.keys(a)),l=h.next();!l.done;l=h.next()){l=
l.value;var q=a[l];null!=q&&(g[l]=Qza(q,c,d,e,b.isValueArray,b.isSerializable,b.ctor))}return g},Qza=function(a,b,c,d,e,g,h){if(g&&null==h)throw Error("Kc");if(null==a)return a;var l;e&&g?l=a.map(function(q){return Kza(q,b,c,d,h)}):e&&!g?l=a.map(function(q){return q}):l=!e&&g?Kza(a,b,c,d,h):"object"===typeof a?JSON.parse(JSON.stringify(a)):a;return l},Pza=function(a,b){if(b instanceof qn)a=Gza(b.getPartialClassMetadata());else if(a instanceof qn)a=Gza(a.getPartialClassMetadata());else throw Error("Lc");
return a},Sza=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}},Tza=function(a,b,c){c=void 0===c?{}:c;b=k(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=k(d.value);d=e.next().value;e=e.next().value;d in a&&(c[e]=a[d])}return c},Uza=function(a,b){a&1&&(F(0,"div",1),rd(),F(1,"svg",2)(2,"g"),I(3,"path",3),H()(),sd(),F(4,"span",4),P(5),H()());a&2&&(a=b.ngIf,of("aria-label",a)("title",a),z(5),Mf(a))},
Vza=function(a){a&1&&I(0,"waldo-availability-chip",1);a&2&&(a=N(),E("user",a.user),of("coinonly",a.coinonly))},Wza=function(a){if(!a||!a.seconds&&!a.nanos)return null;var b=new Ph;a.seconds&&b.setSeconds(a.seconds);a.nanos&&b.setNanos(a.nanos);return b},rn=function(a){if(!a||!a.seconds&&!a.nanos)return null;var b=new Nh;a.seconds&&b.setSeconds(a.seconds);a.nanos&&b.setNanos(a.nanos);return b},Xza=function(a){return a.retentionPeriod&&(a=Wza(a.retentionPeriod))?Sua(Math.floor(1E3*a.getSeconds()/864E5)):
"indefinite"},sn=function(a){return"string"===typeof a?"buganizer.drafts."+a:"buganizer.drafts.labeled."+a.label},Yza=function(a){if(a&1){var b=u();F(0,"button",5);L("click",function(){w(b);var c=N();return y(c.dialogRef.close(!1))});P(1);H()}a&2&&(a=N(),z(1),Lf(" ",a.cancelButtonText," "))},Zza=function(a){var b=[];a=[].concat.apply([],cd(a.map(function(e){return e.actions})));a=k(a);for(var c=a.next(),d={};!c.done;d={$jscomp$loop$prop$action$2325:d.$jscomp$loop$prop$action$2325},c=a.next())d.$jscomp$loop$prop$action$2325=
c.value,b.some(function(e){return function(g){return Xh(e.$jscomp$loop$prop$action$2325,g)}}(d))||b.push(d.$jscomp$loop$prop$action$2325);return b},$za=function(a){return Array.from(new Set([].concat.apply([],cd(a.map(function(b){return b.issueIds})))))},tn=function(){return Ne(function(a,b){return Xh(a,b)})},aAa=function(){return function(a){return a.pipe(C(function(b){return{event:b,timestamp:Date.now()}}),Eia(a.pipe(Le(1E4,D.asapScheduler))))}},bAa=function(a){a=void 0===a?{}:a;return Bua(Object.values(a)).sort(function(b,
c){return b-c})},un=function(a,b){if(a.length!==b.length)throw Error("Mc");for(var c=new Map,d=0;d<a.length;d++)c.set(a[d],b[d]);return c},fAa=function(a){var b={};a=k(fk(a,1,cAa).entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b[c]={principalType:dAa[Zi(d,1,0)],detailedUserType:eAa[Zi(d,2,0)]}}return b},gAa=function(a,b){return a.map(function(c){return b[c]||null})},hAa=function(){return{principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}},
iAa=function(a,b){a&1&&(F(0,"li"),P(1),H());a&2&&(a=b.$implicit,z(1),Mf(a))},jAa=function(a){return a.endsWith("?")?a.slice(0,a.length-1):a},kAa=function(a,b,c,d){c&&c.targetTime&&(c.endTime?b.push({sloBounds:c,sloMetric:d}):a.push({sloBounds:c,sloMetric:d}))},lAa=function(a,b){return a.sloBounds.targetTime.seconds-b.sloBounds.targetTime.seconds},mAa=function(a,b){a=new Map(a);b=k(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a.set(c,d)}return a},
vn=function(a,b){return function(c){if(a.has(c))return a.get(c);var d=b(c);a.set(c,d);return d}},wn=function(a,b){return new Map(a.map(function(c){return[c,b(c)]}))},nAa=function(a,b){return wn([].concat(cd(a.keys())),function(c){return b(a.get(c))})},oAa=function(){return{startTime:Date.now(),firstActionSeen:!1,editCount:0,variations:new Set}},pAa=function(a){var b;return null!=(b=ui(a))?b:null},qAa=function(a){var b;return null!=(b=vi(a))?b:null},rAa=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},sAa=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},tAa=function(a){var b;return null==(b=Ll(a))?void 0:b.title},uAa=function(a){var b,c;return null!=(c=null==(b=Ll(a))?void 0:b.status)?c:void 0},vAa=function(a){var b,c;return null!=(c=null==(b=Ll(a))?void 0:b.priority)?c:void 0},wAa=function(a){var b,c;return null!=(c=null==(b=Ll(a))?void 0:b.assigneeUser)?c:void 0},
xAa=function(a){var b,c;return null!=(c=null==(b=Ll(a))?void 0:b.reporterUser)?c:void 0},yAa=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 vi(a)},zAa=function(a){var b;a=null==(b=Ll(a))?void 0:b.componentId;return vi(a)},AAa=function(a){var b,c;return null!=(c=null==(b=Ll(a))?void 0:b.ccUsers)?c:[]},BAa=function(a){var b,c;return null!=(c=null==(b=Ll(a))?void 0:b.issueAccessLimitLevel)?c:"LIMIT_NONE"},CAa=function(a){var b,c;return null!=
(c=null==(b=Ll(a))?void 0:b.collaboratorsUsers)?c:[]},DAa=function(a){var b,c;return null!=(c=null==(b=Ll(a))?void 0:b.type)?c:void 0},EAa=function(a){var b,c;return null!=(c=null==(b=Ll(a))?void 0:b.foundInVersion)?c:[]},FAa=function(a){var b,c;return null!=(c=null==(b=Ll(a))?void 0:b.targetedToVersion)?c:[]},GAa=function(a){var b,c;return null!=(c=null==(b=Ll(a))?void 0:b.changelist)?c:[]},HAa=function(a){var b,c;return null!=(c=null==(b=Ll(a))?void 0:b.postmortems)?c:[]},IAa=function(a){var b;
return(null==(b=Ll(a))?void 0:b.inProd)||!1},JAa=function(a){var b;return null==(b=Ll(a))?void 0:b.effort},KAa=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.aggregatedData)?void 0:c.voteCount},LAa=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},NAa=function(a){return MAa(null==a?void 0:a.issue)},MAa=function(a){var b,c;return null!=(c=null==(b=Hl(a))?void 0:b.isDeleted)?c:!1},PAa=function(a){return OAa(null==
a?void 0:a.issue)},OAa=function(a){var b;return null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel},QAa=function(a){var b;return(a=null==a?void 0:null==(b=a.issue)?void 0:b.aggregatedData)&&Math.round(a.modifiedTimeMicros/1E3)},SAa=function(a){return RAa(null==a?void 0:a.issue)},RAa=function(a){var b,c;return null!=(c=null==(b=Hl(a))?void 0:b.retention)?c:void 0},TAa=function(a){var b,c;return null!=(c=null==(b=Ll(a))?void 0:b.duplicateOfIssueId)?c:void 0},VAa=function(a){return UAa(null==
a?void 0:a.issue)},UAa=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.retentionState)?c:void 0},WAa=function(a){var b;return vi(null==a?void 0:null==(b=a.issue.aggregatedData)?void 0:b.sloId)},XAa=function(a){var b;return null==a?void 0:null==(b=a.issue.aggregatedData)?void 0:b.createdTimeMicros},YAa=function(a){return null==a?void 0:a.effortSpec},ZAa=function(a){a=YAa(a);return!(!a||!a.name&&!a.inherit)},$Aa=function(a){return null==a?void 0:a.componentPathInfo},
aBa=function(a){if(!a)return{};var b,c=k(null!=(b=a.match(RegExp("comment([0-9]+)")))?b:[]);c.next();b=c.next().value;var d;a=k(null!=(d=a.match(RegExp("comment[0-9]+version([0-9]+)")))?d:[]);a.next();d=a.next().value;return{commentNumber:ui(b),commentVersion:ui(d)}},xn=function(a){return!!a&&bBa.test(a)&&!cBa.test(a)},eBa=function(a){a=void 0===a?"":a;return a.endsWith("@prod.google.com")||a.endsWith("-robots@google.com")||dBa(a)},dBa=function(a){return fBa.some(function(b){return a.endsWith(b)})},
gBa=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}},hBa=function(a){return a?ji(a.replace(/_/g," ").toLowerCase()):""},iBa=function(a){return a?a.join(", "):""},jBa=function(a,b){if(!a)return yn("");if(!b)return yn(a);b=b.split(" ").map(mqa);b=b.filter(function(h){return!!h});b=b.map(zn);if(0===b.length)return yn(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,g=d[2];d=d[3];c.push(a.substring(0,e));c.push(An("b",{},g));c.push(d);a=a.substring(e+g.length+d.length)}return Bn(c)},kBa=function(a){return a?"Yes":"No"},lBa=function(a){return a?a.pathNames?a.pathNames.join(" > "):"":""},mBa=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},Cn=function(a){if(a&&xn(a))return a},Dn=function(a){return null==a?"":String(a)},nBa=function(a){var b;return null!=(b=null==a?void 0:a.filter(function(c){return!!c.trim()}).join(", "))?b:""},En=function(a){return a?fa(a,"@")?a:"[Deleted User]"===a?a:a+"@google.com":""},oBa=function(a,b){a=void 0===a?"":a;b=void 0===b?48:b;var c=void 0===c?"...":c;var d=[].concat(cd(a));if(d.length<=b)return a;a=b-[].concat(cd(c)).length;d=d.slice(0,a).join("");null!=String.prototype.trimEnd&&
(d=d.trimEnd());return d+c},pBa=function(a){a=void 0===a?"":a;var b=new Set([].concat(cd('!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n')));a=[].concat(cd(a)).map(function(c){return b.has(c)?" ":c}).join("").trim();return 0===a.length?[]:a.split(/[\s]+/g)},qBa=function(a){return a.split("").every(function(b){return 1===b.length&&0<=b.charCodeAt(0)&&255>=b.charCodeAt(0)})},sBa=function(a){if(null!=a){a=[].concat(cd(a)).slice(0,100);a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=rBa[b.value])return b}},tBa=
function(a){if(a.includes('"')||a.includes("'"))return[];var b=[].concat(cd(a.matchAll(RegExp("(^|[;,\\-\\s])+(\\d+)","g"))));if(b.length)return b.map(function(c){c=k(c);c.next();c.next();return c.next().value});a=[].concat(cd(a.matchAll(RegExp("(b|b-qa|issues)\\/(\\d+)","g"))));return a.length?a.map(function(c){c=k(c);c.next();c.next();return c.next().value}):[]},uBa=function(a){return a.customFieldValue?String(a.customFieldValue.customFieldId):a.fieldName},wBa=function(a){if(null==vBa){var b="undefined"!==
typeof document?document.head:null;vBa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return vBa&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},xBa=function(a){if(a&1){var b=u();F(0,"div",0);L("clickOutside",function(){w(b);var c=N();return y(c.closeHovercard$.next())})("mouseenter",function(){w(b);N().isOnHover$.next(!0);return y()})("mouseleave",function(){w(b);N().isOnHover$.next(!1);return y()});Gf(1);H()}a&2&&(a=N(),yf(a.className),
E("cdkTrapFocusAutoCapture",a.wasTriggeredByKeyboard))},yBa=function(a){a&1&&I(0,"img",9);a&2&&(a=N(),E("src",a.person.imageUrl,Ud)("alt",a.person.name+"'s profile picture"))},zBa=function(a){a&1&&(F(0,"div",10),P(1),H());a&2&&(a=N(),z(1),Lf(" ",a.person.email," "))},ABa=function(a){a&1&&(F(0,"div",11)(1,"onedev-chip",12),I(2,"mat-icon",13),P(3),H()());a&2&&(a=N(),z(3),Lf("",a.outOfOfficeDescription," "))},BBa=function(a){a&1&&(F(0,"li"),P(1),H());a&2&&(a=N(2),z(1),Mf(a.person.title))},CBa=function(a){a&
1&&I(0,"li",18)},DBa=function(a){a&1&&(F(0,"li"),P(1),H());a&2&&(a=N(2),z(1),Mf(a.person.department))},EBa=function(a){a&1&&(J(0),I(1,"mat-icon",14),F(2,"div",15)(3,"ul",16),O(4,BBa,2,1,"li",8),O(5,CBa,1,0,"li",17),O(6,DBa,2,1,"li",8),H()(),K());a&2&&(a=N(),z(4),E("ngIf",a.person.title),z(1),E("ngIf",a.person.title&&a.person.department),z(1),E("ngIf",a.person.department))},FBa=function(a){a&1&&(J(0),I(1,"mat-icon",19),F(2,"div",15),P(3),H(),K());a&2&&(a=N(),z(3),Mf(a.person.location))},GBa=function(a){a&
1&&(F(0,"li")(1,"a",21),P(2,"Teams"),H()());a&2&&(a=N(2),z(1),E("href","https://moma.corp.google.com/person/"+a.person.ldap,Ud))},HBa=function(a){a&1&&I(0,"li",18)},IBa=function(a){a&1&&(J(0),I(1,"mat-icon",20),F(2,"div",15)(3,"ul",16),O(4,GBa,3,1,"li",8),O(5,HBa,1,0,"li",17),F(6,"li")(7,"a",21),P(8,"Whostory"),H()(),I(9,"li",18),F(10,"li")(11,"a",21),P(12,"Calendar"),H()(),I(13,"li",18),F(14,"li")(15,"a",21),P(16,"CLs"),H()(),I(17,"li",18),F(18,"li")(19,"a",21),P(20,"Readability"),H()()()(),K());
a&2&&(a=N(),z(4),E("ngIf",a.person.title||a.person.department),z(1),E("ngIf",a.person.title||a.person.department),z(2),E("href","https://whostory.corp.google.com/"+a.person.ldap,Ud),z(4),E("href","https://www.google.com/calendar/embed?src="+a.person.email+"&mode=WEEK&showCalendars=0",Ud),z(4),E("href","https://critique.corp.google.com/"+a.person.ldap,Ud),z(4),E("href","https://icanread.corp.google.com/s/"+a.person.ldap,Ud))},KBa=function(a){return a&&JBa.test(a)?a.split("@")[0]:""},LBa=function(a){return a?
a.find(function(b){var c;return"DOMAIN_PROFILE"===(null==(c=b.metadata)?void 0:c.container)}):null},MBa=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===(null==(c=b.metadata)?void 0:c.container)}):null},NBa=function(a,b){return a.map(function(c){var d,e,g,h=null==(e=null==b?void 0:null==(d=b.matches)?void 0:d.find(function(M){return M.lookupId===c}))?void 0:null==(g=e.personId)?void 0:g[0];if(!h)return{ldap:KBa(c),name:"",email:c};var l;d=null==b?void 0:null==(l=b.people)?void 0:
l[h];var q;h=null==(q=MBa(null==d?void 0:d.email))?void 0:q.value;var v,x;q=null==d?void 0:null==(v=d.name)?void 0:null==(x=v[0])?void 0:x.displayName;var A,G;v=null==d?void 0:null==(A=d.photo)?void 0:null==(G=A[0])?void 0:G.url;x=LBa(null==d?void 0:d.organization);A=null==x?void 0:x.title;G=null==x?void 0:x.department;x=null==x?void 0:x.location;return{ldap:KBa(h),email:h||c||"",name:q||"",imageUrl:v,title:A,department:G,location:x}})},OBa=function(a,b){a&1&&(F(0,"onedev-person-hovercard-body",1),
R(1,"async"),Gf(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),Gf(3,1,["ngProjectAs","[onedev-additional-content]",5,["","onedev-additional-content",""]]),H());a&2&&(a=b.ngIf,b=N(),E("person",a)("outOfOfficeDescription",S(1,2,b.outOfOfficeDescription$)))},PBa=function(a){a&1&&(F(0,"onedev-person-hovercard",1,2),Gf(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),H());if(a&2){var b=Kf(1);a=N();E("email",a.email)("enableWaldo",!0)("onedevIsHovercardReady",
b.init)}},QBa=function(a){a&1&&Cf(0)},RBa=function(a){a&1&&(J(0),F(1,"span",2),O(2,QBa,1,0,"ng-container",3),H(),F(3,"onedev-hovercard",null,4),I(5,"b-person-card",5),H(),K());if(a&2){var b=Kf(4);a=N();var c=Kf(2);z(1);E("onedevHovercardTrigger",b)("onedevHovercardActive",!!a.email);z(1);E("ngTemplateOutlet",c);z(3);E("email",a.email)}},SBa=function(a){a&1&&Gf(0)},VBa=function(a){if(a&1){var b=u();J(0,3);F(1,"onedev-hovercard-action",4);L("onAction",function(){w(b);var e=N();return y(TBa(e))});R(2,
"async");F(3,"span");P(4);H()();F(5,"onedev-hovercard-action",4);L("onAction",function(){w(b);var e=N();return y(UBa(e))});R(6,"async");F(7,"span");P(8);H()();K()}if(a&2){a=N();var c,d;z(1);E("disabled",null!==(c=S(2,4,a.actionService.assigneeUpdating$))&&void 0!==c?c:!1);z(3);Mf(a.email!==a.currentAssignee?"Set as assignee":"Remove assignee");z(1);E("disabled",null!==(d=S(6,6,a.actionService.ccUpdating$))&&void 0!==d?d:!1);z(3);Mf(a.currentCc.includes(a.email)?"Remove from CCs":"Add to CCs")}},WBa=
function(a){a&1&&(J(0),I(1,"b-availability-chip",3),K());a&2&&(a=N(2).ngIf,z(1),E("user",a.email))},XBa=function(a){a&1&&(J(0),P(1),K(),O(2,WBa,2,1,"ng-container",0));if(a&2){a=N().ngIf;var b=N();z(1);Mf(a.content);z(1);E("ngIf",b.enableWaldoAvailability&&b.availabilityChipEnabled)}},YBa=function(a){a&1&&Cf(0)},ZBa=function(a){a&1&&(J(0),F(1,"span",4),O(2,YBa,1,0,"ng-container",5),H(),F(3,"onedev-hovercard",null,6),I(5,"b-issue-person-card",7),H(),K());if(a&2){var b=Kf(4);a=N().ngIf;var c=Kf(2),d=
N();z(1);E("onedevHovercardTrigger",b);of("tabindex",d.hovercardEnabled&&d.hovercardFocusEnabled?"0":null);z(1);E("ngTemplateOutlet",c);z(3);E("email",a.email)}},$Ba=function(a,b){a&1&&(J(0),O(1,XBa,3,2,"ng-template",null,1,gg),O(3,ZBa,6,4,"ng-container",2),K());if(a&2){a=b.ngIf;var c=Kf(2);b=N();z(3);E("ngIf",b.hovercardEnabled&&b.isNonObfuscatedEmail(a.email))("ngIfElse",c)}},aCa=function(a){a&1&&Cf(0)},bCa=function(a){a&1&&(J(0),F(1,"span",3),O(2,aCa,1,0,"ng-container",4),H(),F(3,"onedev-hovercard",
null,5),I(5,"b-issue-person-card",6),H(),K());if(a&2){var b=Kf(4);a=N().ngIf;var c=Kf(3);z(1);E("onedevHovercardTrigger",b);z(1);E("ngTemplateOutlet",c);z(3);E("email",a.email)}},dCa=function(a){a&1&&(J(0),I(1,"img",8),K());a&2&&(a=N(2).ngIf,N(),z(1),E("src",cCa[a.email],Ud))},eCa=function(a){a&1&&I(0,"img",11);a&2&&(a=N(3).ngIf,E("src",a.src,Ud)("srcset",a.srcset))},fCa=function(a){a&1&&(F(0,"span",9),O(1,eCa,1,2,"img",10),H());a&2&&(a=N(2).ngIf,xf("anonymous",!a.showImage),z(1),E("ngIf",a.showImage))},
hCa=function(a){a&1&&(O(0,dCa,2,1,"ng-container",0),O(1,fCa,2,3,"span",7));if(a&2){a=N().ngIf;var b=N();E("ngIf",a.email&&gCa(b,a.email));z(1);E("ngIf",!gCa(b,a.email))}},iCa=function(a,b){a&1&&(J(0),O(1,bCa,6,3,"ng-container",1),O(2,hCa,2,2,"ng-template",null,2,gg),K());if(a&2){a=b.ngIf;var c=Kf(3);b=N();z(1);E("ngIf",b.isNonObfuscatedEmail(a.email))("ngIfElse",c)}},jCa=function(a){if(a&1){var b=u();F(0,"div",6)(1,"button",7);L("click",function(){w(b);N(2).onDismiss.emit();return y()});F(2,"mat-icon",
8);P(3);H()()()}if(a&2){a=N(2);var c;z(1);E("matTooltip",null!==(c=a.dismissTooltip)&&void 0!==c?c:"")("disabled",a.disableDismiss);z(2);Lf(" ",a.dismissIcon," ")}},kCa=function(a){a&1&&(F(0,"span"),P(1,"Unassigned"),H())},lCa=function(a){a&1&&I(0,"b-user-image",12);a&2&&(a=N(3),E("email",(null==a.issue.snapshot[0].assigneeUser?null:a.issue.snapshot[0].assigneeUser.emailAddress)||""))},mCa=function(a){a&1&&I(0,"b-user-display-name",13);a&2&&(a=N(3),E("email",a.issue.snapshot[0].assigneeUser.emailAddress||
""))},nCa=function(a){a&1&&(F(0,"div",9),O(1,kCa,2,0,"span",0),O(2,lCa,1,1,"b-user-image",10),O(3,mCa,1,1,"b-user-display-name",11),H());a&2&&(a=N(2),z(1),E("ngIf",!a.issue.snapshot[0].assigneeUser),z(1),E("ngIf",a.issue.snapshot[0].assigneeUser),z(1),E("ngIf",a.issue.snapshot[0].assigneeUser))},oCa=function(a,b){a&1&&(J(0),F(1,"span"),P(2),H(),K());a&2&&(a=b.$implicit,b=N(3),z(1),Af("chippy status-",a," margin-s-right"),z(1),Lf(" ",b.STATUS_TERSE[a]," "))},pCa=function(a){a&1&&I(0,"b-issue-priority-display",
16);a&2&&(a=N(3),E("issuePriority",a.issue.snapshot[0].priority))},qCa=function(a){a&1&&(F(0,"span"),P(1),R(2,"enumToHuman"),H());a&2&&(a=N(3),z(1),Lf(" ",S(2,1,a.issue.snapshot[0].type)," "))},rCa=function(a){a&1&&(F(0,"div",14),O(1,oCa,3,4,"ng-container",0),O(2,pCa,1,1,"b-issue-priority-display",15),O(3,qCa,3,3,"span",0),H());a&2&&(a=N(2),z(1),E("ngIf",a.convertIssueStatusStrToTag(a.issue.snapshot[0].status)),z(1),E("ngIf",!a.onlyTitle),z(1),E("ngIf",!a.onlyTitle))},sCa=function(a){a&1&&I(0,"mat-icon",
20);a&2&&(a=N(3),E("svgIcon",a.moreInfoIconSvg))},tCa=function(a){a&1&&(F(0,"mat-icon",21),P(1),H());a&2&&(a=N(3),z(1),Mf(a.moreInfoIcon))},uCa=function(a){a&1&&(J(0),F(1,"div"),O(2,sCa,1,1,"mat-icon",17),O(3,tCa,2,1,"mat-icon",18),F(4,"span",19),P(5),H()(),K());a&2&&(a=N(2),z(1),Af("more-info padded-s-top margin-s-top ",a.moreInfoAccentColor,""),z(1),E("ngIf",a.moreInfoIconSvg),z(1),E("ngIf",a.moreInfoIcon),z(2),Mf(a.moreInfoMessage))},vCa=function(a){a&1&&(J(0),F(1,"div",1)(2,"a",2),P(3),H()(),
O(4,jCa,4,3,"div",3),O(5,nCa,4,3,"div",4),O(6,rCa,4,3,"div",5),O(7,uCa,6,6,"ng-container",0),K());a&2&&(a=N(),z(2),Hf("href","/issues/",a.issue.issueId,"",Ud),z(1),Nf(" ",a.issue.snapshot[0].title," (",a.issue.issueId,") "),z(1),E("ngIf",a.dismissIcon),z(1),E("ngIf",!a.onlyTitle),z(1),E("ngIf",!a.onlyTitle),z(1),E("ngIf",a.moreInfoMessage&&!a.onlyTitle))},wCa=function(a,b){a&1&&(J(0),F(1,"time",1),R(2,"async"),P(3),H(),K());if(a&2){a=b.ngIf;b=N();z(1);var c=pf(u(),"padding-left: ",b.paddingLeftPx,
"px");mka(kka,lka,c,!1);E("title",a.title);of("datetime",S(2,6,b.timestampIso$));z(2);Mf(a.formatted)}},xCa=function(a){a&1&&I(0,"div",2)},yCa=function(a){a&1&&(J(0),Gf(1),K())},zCa=function(a){a&1&&(F(0,"b-person-hovercard",3),P(1),H());a&2&&(a=N(),E("email",a.assignee),z(1),Lf(" ",a.assignee," "))},ACa=function(a){a&1&&P(0,"--")},BCa=function(a){a&1&&I(0,"b-formatted-date-time",3);a&2&&(a=N(),E("mode",a.mode)("timestamp",a.createdTime))},CCa=function(a){a&1&&P(0,"--")},DCa=function(a){a&1&&(F(0,
"b-person-hovercard",3),P(1),H());a&2&&(a=N(),E("email",a.reporter),z(1),Lf(" ",a.reporter," "))},ECa=function(a){a&1&&P(0,"--")},FCa=function(a,b){a&1&&(F(0,"div",3),P(1),H());a&2&&(a=b.$implicit,b=N(),Af("chippy status-",a,""),E("title",b.STATUS_FULL_TEXT[a]),z(1),Lf(" ",b.STATUS_TERSE[a]," "))},GCa=function(a){a&1&&P(0,"--")},HCa=function(a){if(a&1){var b=u();F(0,"a",15);L("click",function(){w(b);var c=N();return y(c.trackClick("viewTeamAssociationOnComponent"))});F(1,"button",11);P(2,"View team association on component");
H()()}a&2&&(a=N(),E("href",a.manageComponentLink(),Ud))},ICa=function(a){if(a&1){var b=u();F(0,"a",6);L("click",function(){w(b);var d=N(2);return y(d.trackClick("viewTeamInMoma"))});F(1,"span");P(2);I(3,"mat-icon",7);H()()}if(a&2){a=N(2);var c=Kf(3);Hf("href","https://moma.corp.google.com/team/",a.teamId,"",Ud);E("onedevHovercardTrigger",c);of("aria-labelledby",a.linkAriaLabelledBy())("aria-label",(a.teamName?a.teamName:a.teamId)+" - link opens in a new tab");z(1);of("id",a.teamLinkId);z(1);Lf("",
a.teamName?a.teamName:a.teamId," ")}},JCa=function(a){a&1&&(F(0,"span",8),P(1),H());if(a&2){a=N(2);var b=Kf(3);E("onedevHovercardTrigger",b);z(1);Mf(a.teamName?a.teamName:a.teamId)}},KCa=function(a){a&1&&(J(0),O(1,ICa,4,6,"a",4),O(2,JCa,2,2,"span",5),K());a&2&&(a=N(),z(1),E("ngIf",a.anchorLinkEnabled),z(1),E("ngIf",!a.anchorLinkEnabled))},LCa=function(a){a&1&&I(0,"span",11)},MCa=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N(2),z(1),Mf(a.teamNotAssignedMessage))},NCa=function(a){a&1&&(O(0,LCa,
1,0,"span",9),O(1,MCa,2,1,"span",10));a&2&&(a=N(),E("ngIf","0"!=a.teamId),z(1),E("ngIf","0"==a.teamId))},OCa=function(a){a&1&&I(0,"b-team-display",3);a&2&&(a=N(),E("teamId",a.teamId)("componentId",a.componentId)("anchorLinkEnabled",!1))},PCa=function(a){a&1&&P(0,"--")},QCa=function(a){a&1&&(J(0),P(1," Trackers are distinct communities with their own branding. "),K())},RCa=function(a){a&1&&(F(0,"a",12),P(1,"Learn More"),H())},SCa=function(a){a&1&&(J(0),F(1,"button",1),I(2,"img",2)(3,"img",3),F(4,"span",
4),P(5),H()(),F(6,"onedev-hovercard",null,5)(8,"div",6)(9,"div",7)(10,"span",8),P(11),O(12,QCa,2,0,"ng-container",0),H(),F(13,"div",9)(14,"a",10),P(15),H(),O(16,RCa,2,0,"a",11),H()()()(),K());if(a&2){var b=Kf(7);a=N();z(1);xf("xs",a.compactMode);E("onedevHovercardTrigger",b)("onedevHovercardActive",a.showHovercard);z(1);E("src",a.logoLight,Ud);z(1);E("src",a.logoDark,Ud);z(2);Mf(a.name);z(6);Lf(" This component or issue is part of ",a.extendedName,". ");z(1);E("ngIf",!a.isGlobalBuganizer);z(2);E("href",
a.redirectUrl,Ud);z(1);Lf("View ",a.extendedName,"");z(1);E("ngIf",!a.isGlobalBuganizer)}},TCa=function(a){a&1&&(I(0,"b-tracker-chip",1),R(1,"async"));a&2&&(a=N(),E("tracker",S(1,4,a.tracker$)||void 0)("compactMode",a.compactMode)("showHovercard",a.showHovercard)("isGlobalBuganizer",a.isGlobalBuganizer))},UCa=function(a){if(a&1){var b=u();J(0);F(1,"span",4);P(2);H();F(3,"a",5);L("keydown",function(c){w(b);N();"Enter"===c.key&&c.stopPropagation();return y()})("click",function(c){return c.stopPropagation()});
I(4,"mat-icon",6);H();K()}a&2&&(a=N(),z(2),Mf(a.title||"--"),z(1),E("routerLink","/"+a.link)("target",a.anchorTarget))},VCa=function(a){if(a&1){var b=u();F(0,"a",7);L("keydown",function(c){w(b);N();"Enter"===c.key&&c.stopPropagation();return y()})("click",function(c){return c.stopPropagation()});P(1);H()}a&2&&(a=N(),E("routerLink","/"+a.link)("target",a.anchorTarget),z(1),Mf(a.title||"--"))},WCa=function(a){a&1&&(J(0),P(1),R(2,"enumToHuman"),K());a&2&&(a=N(),z(1),Mf(S(2,1,a.type)))},XCa=function(a){a&
1&&P(0,"--")},YCa=function(a){a&1&&(F(0,"button",5,6),I(2,"mat-icon",7),H());if(a&2){a=N();var b=Kf(2);E("matTooltip",a.buttonLabel)("matMenuTriggerFor",b);of("aria-label",a.buttonLabel);z(2);E("svgIcon",a.buttonIcon)}},ZCa=function(a){a&1&&(F(0,"div",8),P(1),H());a&2&&(a=N(),z(1),Mf(a.header))},$Ca=function(a){a&1&&I(0,"mat-icon",7);a&2&&(a=N(2).$implicit,E("svgIcon",a.icon))},aDa=function(a){a&1&&(F(0,"span",14),P(1),H());a&2&&(a=N(2).$implicit,z(1),Mf(a.hintText))},bDa=function(a){a&1&&I(0,"mat-icon",
7);a&2&&(a=N(2).$implicit,E("svgIcon",a.icon))},cDa=function(a){a&1&&(F(0,"span",14),P(1),H());a&2&&(a=N(2).$implicit,z(1),Mf(a.hintText))},dDa=function(a){if(a&1){var b=u();F(0,"button",17);L("click",function(d){w(b);var e=N().$implicit,g=N(3);return y(g.onAction(d,e))})("mouseup",function(d){w(b);var e=N().$implicit,g=N(3);return y(g.onAction(d,e))});O(1,bDa,1,1,"mat-icon",11);P(2);O(3,cDa,2,1,"span",12);H()}if(a&2){a=N().$implicit;var c=N(2).$implicit;E("disabled",a.disabled)("ngClass",c.className);
of("title",a.title);z(1);E("ngIf",a.icon);z(1);Lf(" ",a.label," ");z(1);E("ngIf",a.hintText)}},eDa=function(a){if(a&1){var b=u();F(0,"button",18);L("click",function(d){w(b);var e=N().$implicit,g=N(3);return y(g.onAction(d,e))})("mouseup",function(d){w(b);var e=N().$implicit,g=N(3);return y(g.onAction(d,e))});F(1,"span",19);I(2,"mat-icon",20);H();P(3);H()}if(a&2){a=N().$implicit;var c=N(2).$implicit;xf("b-menu-item-checked",a.selected);E("disabled",a.disabled)("ngClass",c.className);of("title",a.title);
z(3);Lf(" ",a.label," ")}},fDa=function(a,b){a&1&&(J(0),O(1,dDa,4,6,"button",15),O(2,eDa,4,6,"button",16),K());a&2&&(a=b.$implicit,z(1),E("ngIf","action"===a.type),z(1),E("ngIf","select"===a.type))},gDa=function(a){a&1&&(J(0),F(1,"button",10),O(2,$Ca,1,1,"mat-icon",11),P(3),O(4,aDa,2,1,"span",12),H(),F(5,"mat-menu",null,13),O(7,fDa,3,2,"ng-container",4),H(),K());if(a&2){var b=Kf(6);a=N().$implicit;var c=N();z(1);E("matMenuTriggerFor",b);z(1);E("ngIf",a.icon);z(1);Lf(" ",a.label," ");z(1);E("ngIf",
a.hintText);z(3);E("ngForOf",a.items)("ngForTrackBy",c.trackByIndex)}},hDa=function(a){a&1&&I(0,"mat-icon",7);a&2&&(a=N(3).$implicit,E("svgIcon",a.icon))},iDa=function(a){a&1&&(F(0,"span",14),P(1),H());a&2&&(a=N(3).$implicit,z(1),Mf(a.hintText))},jDa=function(a){if(a&1){var b=u();F(0,"button",17);L("click",function(c){w(b);var d=N(2).$implicit,e=N();return y(e.onAction(c,d))})("mouseup",function(c){w(b);var d=N(2).$implicit,e=N();return y(e.onAction(c,d))});O(1,hDa,1,1,"mat-icon",11);P(2);O(3,iDa,
2,1,"span",12);H()}a&2&&(a=N(2).$implicit,E("disabled",a.disabled)("ngClass",a.className),of("title",a.title),z(1),E("ngIf",a.icon),z(1),Lf(" ",a.label," "),z(1),E("ngIf",a.hintText))},kDa=function(a){if(a&1){var b=u();F(0,"button",18);L("click",function(c){w(b);var d=N(2).$implicit,e=N();return y(e.onAction(c,d))})("mouseup",function(c){w(b);var d=N(2).$implicit,e=N();return y(e.onAction(c,d))});F(1,"span",19);I(2,"mat-icon",20);H();P(3);H()}a&2&&(a=N(2).$implicit,xf("b-menu-item-checked",a.selected),
E("disabled",a.disabled)("ngClass",a.className),of("title",a.title)("aria-label",a.label+" results per page"),z(3),Lf(" ",a.label," "))},lDa=function(a){a&1&&(J(0),O(1,jDa,4,6,"button",15),O(2,kDa,4,7,"button",16),K());a&2&&(a=N().$implicit,z(1),E("ngIf","action"===a.type),z(1),E("ngIf","select"===a.type))},mDa=function(a,b){a&1&&(J(0),O(1,gDa,8,6,"ng-container",9),O(2,lDa,3,2,"ng-container",9),K());a&2&&(a=b.$implicit,z(1),E("ngIf","submenu"===a.type),z(1),E("ngIf","submenu"!==a.type))},nDa=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}},oDa=function(a,b,c){var d=a.bottom,e=a.left,g=a.right;return c>=a.top&&c<=d&&b>=e&&b<=g},Fn=function(a,b,c){a.top+=b;a.bottom=a.top+a.height;a.left+=c;a.right=a.left+a.width},pDa=function(a,b,c){var d=a.right,e=a.bottom,g=a.left,h=.05*a.width,l=.05*a.height;return c>a.top-l&&c<e+l&&b>g-h&&b<d+h},tDa=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?qDa(a,b):("input"===d||"select"===d||"textarea"===d)&&rDa(a,b);sDa("canvas",a,b,qDa);sDa("input, textarea, select",a,b,rDa);return b},sDa=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])},rDa=function(a,b){"file"!==b.type&&(b.value=a.value);"radio"===b.type&&b.name&&(b.name="mat-clone-"+b.name+"-"+uDa++)},qDa=function(a,b){if(b=b.getContext("2d"))try{b.drawImage(a,
0,0)}catch(c){}},vDa=function(a,b,c){for(var d in b)if(b.hasOwnProperty(d)){var e=b[d];if(e){var g=void 0;a.setProperty(d,e,(null==(g=c)?0:g.has(d))?"important":"")}else a.removeProperty(d)}},Gn=function(a,b){var c=b?"":"none";vDa(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})},xDa=function(a,b){vDa(a.style,{position:b?"":"fixed",top:b?"":"0",opacity:b?
"":"0",left:b?"":"-999em"},wDa)},yDa=function(a,b){return b&&"none"!=b?a+" "+b:a},zDa=function(a){var b=-1<a.toLowerCase().indexOf("ms")?1:1E3;return parseFloat(a)*b},BDa=function(a){a=getComputedStyle(a);var b=ADa(a,"transition-property"),c=b.find(function(d){return"transform"===d||"all"===d});if(!c)return 0;b=b.indexOf(c);c=ADa(a,"transition-duration");a=ADa(a,"transition-delay");return zDa(c[b])+zDa(a[b])},ADa=function(a,b){return a.getPropertyValue(b).split(",").map(function(c){return c.trim()})},
CDa=function(a,b){return"translate3d("+Math.round(a)+"px, "+Math.round(b)+"px, 0)"},Hn=function(a){return"t"===a.type[0]},DDa=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},EDa=function(a,b){a.style.width=b.width+"px";a.style.height=b.height+"px";a.style.transform=CDa(b.left,b.top)},In=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}},FDa=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},GDa=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},HDa=function(a){var b=function(){var c=a.apply(this,[].concat(cd(Zc.apply(0,arguments))))||this;c._sticky=!1;c._hasStickyChanged=!1;return c};T(b,a);b.prototype.hasStickyChanged=function(){var c=this._hasStickyChanged;this._hasStickyChanged=
!1;return c};b.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};sh.Object.defineProperties(b.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(c){var d=this._sticky;this._sticky=Fg(c);this._hasStickyChanged=d!==this._sticky}}});return b},IDa=function(a,b){return a.concat(Array.from(b))},JDa=function(a){a&1&&(F(0,"th",22),P(1," Id "),H())},KDa=function(a,b){a&1&&(F(0,"td",23),P(1),H());a&2&&(a=b.$implicit,z(1),Lf(" ",a.issueId," "))},
LDa=function(a){a&1&&(F(0,"th",22),P(1," Priority "),H())},MDa=function(a,b){a&1&&(F(0,"td",23),I(1,"b-issue-priority-display",24),H());a&2&&(a=b.$implicit,z(1),E("issuePriority",a.snapshot[0].priority))},NDa=function(a){a&1&&(F(0,"th",22),P(1," Title "),H())},ODa=function(a,b){a&1&&(F(0,"td",23),I(1,"b-issue-title-cell",25),H());a&2&&(a=b.$implicit,z(1),E("issue",a))},PDa=function(a){a&1&&(F(0,"th",22),P(1," Type "),H())},QDa=function(a,b){a&1&&(F(0,"td",23),I(1,"b-issue-type-cell",26),H());a&2&&
(a=b.$implicit,z(1),E("issue",a))},RDa=function(a){a&1&&(F(0,"th",22),P(1," Status "),H())},SDa=function(a,b){a&1&&(F(0,"td",23),I(1,"b-issue-status-cell",26),H());a&2&&(a=b.$implicit,z(1),E("issue",a))},TDa=function(a){a&1&&(F(0,"th",22),P(1," Team "),H())},UDa=function(a,b){a&1&&(F(0,"td",23),I(1,"b-issue-team-cell",26),H());a&2&&(a=b.$implicit,z(1),E("issue",a))},VDa=function(a){a&1&&(F(0,"th",27),P(1),H());a&2&&(a=N(2),z(1),Lf(" ","avatar-in-progress"===a.assigneeMode?"":"Assignee"," "))},WDa=
function(a){a&1&&(J(0),F(1,"b-person-hovercard",31),P(2),H(),K());if(a&2){a=N(2).$implicit;var b=N(2);z(1);E("email",b.getAssigneeString(a));z(1);Lf(" ",b.ldapOnly(b.getAssigneeString(a))," ")}},XDa=function(a){a&1&&(J(0),O(1,WDa,3,2,"ng-container",0),K());a&2&&(a=N().$implicit,z(1),E("ngIf",a))},YDa=function(a,b){a&1&&I(0,"b-user-image",31);a&2&&E("email",b.$implicit)},ZDa=function(a){a&1&&(J(0),O(1,YDa,1,1,"b-user-image",32),K());if(a&2){a=N(2).$implicit;var b=N(2);z(1);E("ngIf",b.getAssigneeString(a))}},
$Da=function(a){a&1&&(J(0),O(1,ZDa,2,1,"ng-container",0),K());a&2&&(a=N().$implicit,z(1),E("ngIf",a))},aEa=function(a,b){a&1&&I(0,"b-user-image",31);a&2&&E("email",b.$implicit)},bEa=function(a){a&1&&(J(0),O(1,aEa,1,1,"b-user-image",32),K());if(a&2){a=N(3).$implicit;var b=N(2);z(1);E("ngIf",b.getAssigneeString(a))}},cEa=function(a){a&1&&(J(0),O(1,bEa,2,1,"ng-container",0),K());if(a&2){a=N(2).$implicit;var b=N(2);z(1);E("ngIf",b.isInProgress(a))}},dEa=function(a){a&1&&(J(0),O(1,cEa,2,1,"ng-container",
0),K());a&2&&(a=N().$implicit,z(1),E("ngIf",a))},eEa=function(a){a&1&&I(0,"b-issue-assignee-cell",26);a&2&&(a=N().$implicit,E("issue",a))},fEa=function(a){a&1&&(F(0,"td",23),J(1,28),O(2,XDa,2,1,"ng-container",29),O(3,$Da,2,1,"ng-container",29),O(4,dEa,2,1,"ng-container",29),O(5,eEa,1,1,"b-issue-assignee-cell",30),K(),H());a&2&&(a=N(2),z(1),E("ngSwitch",a.assigneeMode),z(1),E("ngSwitchCase","short"),z(1),E("ngSwitchCase","avatar"),z(1),E("ngSwitchCase","avatar-in-progress"))},gEa=function(a){a&1&&
(F(0,"th",33),P(1," Reporter "),H())},hEa=function(a,b){a&1&&(F(0,"td",23),I(1,"b-issue-reporter-cell",26),H());a&2&&(a=b.$implicit,z(1),E("issue",a))},iEa=function(a){a&1&&(F(0,"th",34),P(1," Created "),H())},jEa=function(a,b){a&1&&(F(0,"td",23),I(1,"b-issue-created-time-cell",26),H());a&2&&(a=b.$implicit,z(1),E("issue",a))},kEa=function(a){a&1&&(F(0,"th",35),P(1," Last Modified "),H())},lEa=function(a){a&1&&I(0,"b-formatted-date-time",38);a&2&&(a=N().$implicit,E("timestamp",a.aggregatedData.modifiedTimeMicros/
1E3))},mEa=function(a){a&1&&P(0,"--")},nEa=function(a,b){a&1&&(F(0,"td",23),O(1,lEa,1,1,"b-formatted-date-time",36),O(2,mEa,1,0,"ng-template",null,37,gg),H());if(a&2){a=b.$implicit;var c=Kf(3);z(1);E("ngIf",a.aggregatedData.modifiedTimeMicros)("ngIfElse",c)}},oEa=function(a){a&1&&I(0,"th",22)},pEa=function(a,b){a&1&&(F(0,"td",23)(1,"b-actions-menu",39),L("click",function(c){return c.stopPropagation()}),H()());a&2&&(a=b.$implicit,b=N(2),z(1),E("menuItems",b.getMenuItems(a)))},qEa=function(a){a&1&&
(F(0,"th",43),P(1),H());if(a&2){a=N(2).$implicit;var b=N(2);z(1);Lf(" ",b.COLUMN_TITLES.get(a)," ")}},rEa=function(a){a&1&&Cf(0)},tEa=function(a,b){a&1&&(F(0,"td",23),O(1,rEa,1,0,"ng-container",44),H());a&2&&(a=b.$implicit,b=N().ngIf,z(1),E("ngTemplateOutlet",b)("ngTemplateOutletContext",Rf(2,sEa,a)))},uEa=function(a){a&1&&(J(0,41),O(1,qEa,2,1,"th",42),O(2,tEa,2,4,"td",4),K());a&2&&(a=N().$implicit,If("matColumnDef",a))},vEa=function(a,b){a&1&&(J(0),O(1,uEa,3,1,"ng-container",40),K());a&2&&(a=b.$implicit,
b=N(2),z(1),E("ngIf",b.getViewCellTemplate(a)))},wEa=function(a){a&1&&I(0,"tr",45)},xEa=function(a){a&1&&I(0,"issue-card-compact",26);a&2&&(a=N().$implicit,E("issue",a))},yEa=function(a,b){if(a&1){var c=u();F(0,"tr",46);L("click",function(d){var e=w(c).$implicit,g=N(2);return y(g.navigateToIssue(d,e))})("mouseup",function(d){var e=w(c).$implicit,g=N(2);return y(g.navigateToIssue(d,e))});O(1,xEa,1,1,"issue-card-compact",47);H()}a&2&&(a=b.$implicit,b=N(2),xf("highlighted",!!b.getUserInvolvement(a)))},
AEa=function(a,b){a&1&&(J(0),F(1,"table",1),J(2,2),O(3,JDa,2,0,"th",3),O(4,KDa,2,1,"td",4),K(),J(5,5),O(6,LDa,2,0,"th",3),O(7,MDa,2,1,"td",4),K(),J(8,6),O(9,NDa,2,0,"th",3),O(10,ODa,2,1,"td",4),K(),J(11,7),O(12,PDa,2,0,"th",3),O(13,QDa,2,1,"td",4),K(),J(14,8),O(15,RDa,2,0,"th",3),O(16,SDa,2,1,"td",4),K(),J(17,9),O(18,TDa,2,0,"th",3),O(19,UDa,2,1,"td",4),K(),J(20,10),O(21,VDa,2,1,"th",11),O(22,fEa,6,4,"td",4),K(),J(23,12),O(24,gEa,2,0,"th",13),O(25,hEa,2,1,"td",4),K(),J(26,14),O(27,iEa,2,0,"th",15),
O(28,jEa,2,1,"td",4),K(),J(29,16),O(30,kEa,2,0,"th",17),O(31,nEa,4,2,"td",4),K(),J(32,18),O(33,oEa,1,0,"th",3),O(34,pEa,2,1,"td",4),K(),O(35,vEa,2,1,"ng-container",19),O(36,wEa,1,0,"tr",20),O(37,yEa,2,2,"tr",21),H(),K());a&2&&(a=b.ngIf,b=N(),z(1),E("dataSource",b.displayedIssues$)("trackBy",b.trackByIssueLastModified)("cdkDropListConnectedTo",Qf(7,zEa))("cdkDropListData",a),z(34),E("ngForOf",b.customColumns),z(1),E("matHeaderRowDef",b.displayedColumns),z(1),E("matRowDefColumns",b.displayedColumns))},
CEa=function(a,b){b?(b=nta(b))?(1===a.nodeType&&Kpa(a),a.innerHTML=qk(b)):BEa(a):BEa(a)},BEa=function(a){for(;a.lastChild;)a.lastChild.remove()},DEa=function(a){for(a=a.firstChild;a;){if(a.nodeType!==Node.TEXT_NODE)return!1;a=a.nextSibling}return!0},Jn=function(a){return a.endsWith("px")?Math.floor(Number(a.substr(0,a.length-2))):Number.NaN},EEa=function(a){return a.ctrlKey||a.metaKey||a.shiftKey||a.altKey},FEa=function(a){a&1&&(F(0,"div",4),Cf(1,5),H());a&2&&(a=N(),E("onedevIsHovercardReady",a.hovercardReady))},
GEa=function(a,b){a&1&&(F(0,"span",9),P(1," by "),I(2,"b-user-display-name",10),H());a&2&&(a=b.ngIf,z(2),E("email",a)("hovercardEnabled",!1))},HEa=function(a,b){a&1&&(F(0,"div")(1,"span"),P(2),H(),I(3,"b-formatted-date-time",11),H());a&2&&(a=b.ngIf,b=N().ngIf,z(2),Mf(b.pending?"Created on: ":"Submitted on: "),z(1),E("timestamp",a))},IEa=function(a,b){a&1&&(J(0),I(1,"br"),P(2),K());a&2&&(a=b.$implicit,z(2),Lf("",a," "))},JEa=function(a,b){a&1&&(J(0),F(1,"div",3)(2,"a",4),P(3," CL "),F(4,"span"),P(5),
H()(),O(6,GEa,3,2,"span",5),I(7,"br")(8,"br"),O(9,HEa,4,2,"div",2),F(10,"div",6),I(11,"div",7)(12,"br"),F(13,"div"),P(14," Affected files: "),O(15,IEa,3,1,"ng-container",8),H()()(),K());a&2&&(a=b.ngIf,b=N(),z(2),E("href","http://critique.corp.google.com/"+b.changelistId,Ud),z(3),Mf(b.changelistId),z(1),E("ngIf",a.author),z(3),E("ngIf",a.timestamp),z(2),E("innerHTML",a.description,Td),z(4),E("ngForOf",a.affectedFiles))},KEa=function(a){a&1&&I(0,"b-changelist-card",3,4);if(a&2){var b=Kf(1);a=N();E("onedevIsHovercardReady",
b.init)("changelistId",a.changelistId)}},LEa=function(a){a&1&&I(0,"b-user-display-name",2);a&2&&(a=N(),E("email",a.getEmailAddress())("hovercardEnabled",!1)("availabilityChipEnabled",a.availabilityChipEnabled)("hovercardFocusEnabled",a.hovercardFocusEnabled))},MEa=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N(),z(1),Mf(a.getDisplayString()))},NEa=function(a){a&1&&(J(0),F(1,"div",9),I(2,"b-user-display",10),P(3," submitted "),I(4,"b-changelist-link",11),P(5," for "),F(6,"b-issue-reference-widget",
12),P(7),H(),I(8,"b-formatted-date-time",13),H(),F(9,"p",14),P(10),H(),K());if(a&2){a=N().$implicit;var b=N(2);z(2);E("model",b.clAuthorToUser(a.event));z(2);E("changelistId",b.getClNumber(a.event));z(2);E("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Lf("b/",a.issueId,"");z(1);E("timestamp",a.event.modifiedDate);z(2);Mf(b.clEventToClDescription(a.event))}},OEa=function(a){a&1&&(J(0),F(1,"div",9),I(2,"b-user-display",10),P(3," commented on "),F(4,"b-issue-reference-widget",12),
P(5),H(),I(6,"b-formatted-date-time",13),H(),F(7,"p",14),P(8),H(),K());if(a&2){a=N().$implicit;var b=N(2);z(2);E("model",a.event.userPerformingActionUser);z(2);E("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Lf("b/",a.issueId,"");z(1);E("timestamp",a.event.modifiedDate);z(2);Mf(a.event.unlinkifiedComment)}},PEa=function(a){a&1&&(J(0),F(1,"div",9),I(2,"b-user-display",10),P(3," changed priority for "),F(4,"b-issue-reference-widget",12),P(5),H(),I(6,"b-formatted-date-time",13),H(),
F(7,"p",15),P(8,"Priority changed from "),I(9,"b-issue-priority-display",16),P(10," to "),I(11,"b-issue-priority-display",16),H(),K());if(a&2){a=N().$implicit;var b=N(2);z(2);E("model",a.event.userPerformingActionUser);z(2);E("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Lf("b/",a.issueId,"");z(1);E("timestamp",a.event.modifiedDate);z(3);E("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,"priority")));z(2);E("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,
"priority")))}},QEa=function(a){a&1&&(J(0),F(1,"div",9),I(2,"b-user-display",10),P(3," changed status for "),F(4,"b-issue-reference-widget",12),P(5),H(),I(6,"b-formatted-date-time",13),H(),F(7,"p",15),P(8),H(),K());if(a&2){a=N().$implicit;var b=N(2);z(2);E("model",a.event.userPerformingActionUser);z(2);E("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Lf("b/",a.issueId,"");z(1);E("timestamp",a.event.modifiedDate);z(2);Nf("Status changed from ",b.getPreviousDiffValue(a.event,"status"),
" to ",b.getNewDiffValue(a.event,"status"),"")}},REa=function(a){a&1&&(J(0),F(1,"div",9),I(2,"b-user-display",10),P(3," created new issue "),F(4,"b-issue-reference-widget",12),P(5),H(),I(6,"b-formatted-date-time",13),H(),F(7,"p",14),P(8),H(),K());if(a&2){a=N().$implicit;var b=N(2);z(2);E("model",a.event.userPerformingActionUser);z(2);E("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Lf("b/",a.issueId,"");z(1);E("timestamp",a.event.modifiedDate);z(2);Mf(""===a.event.unlinkifiedComment?
"No description":a.event.unlinkifiedComment)}},SEa=function(a){a&1&&(J(0),F(1,"div",9),I(2,"b-user-display",10),P(3," fixed "),F(4,"b-issue-reference-widget",12),P(5),H(),P(6," with "),I(7,"b-changelist-link",11)(8,"b-formatted-date-time",13),H(),F(9,"p",14),P(10),H(),K());if(a&2){a=N().$implicit;var b=N(2);z(2);E("model",b.clAuthorToUser(a.event));z(2);E("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Lf("b/",a.issueId,"");z(2);E("changelistId",b.getClNumber(a.event));z(1);E("timestamp",
a.event.modifiedDate);z(2);Mf(b.clEventToClDescription(a.event))}},TEa=function(a){a&1&&(J(0),F(1,"div",9),I(2,"b-user-display",10),P(3),H(),K());a&2&&(a=N().$implicit,z(2),E("model",a.event.userPerformingActionUser),z(1),Lf(" updated ",a.issueId," "))},UEa=function(a,b){a&1&&(F(0,"div",4)(1,"div"),I(2,"b-user-image",5),H(),F(3,"div"),J(4,6),O(5,NEa,11,7,"ng-container",7),O(6,OEa,9,6,"ng-container",7),O(7,PEa,12,7,"ng-container",7),O(8,QEa,9,7,"ng-container",7),O(9,REa,9,6,"ng-container",7),O(10,
SEa,11,7,"ng-container",7),O(11,TEa,4,2,"ng-container",8),K(),H()());a&2&&(a=b.$implicit,b=b.last,N(2),xf("margin-xs-bottom",!b),z(2),E("email","changelist"===a.eventType||"changelistFixed"===a.eventType?Ol(a.event)+"@google.com":pi(a.event.userPerformingActionUser)),z(2),E("ngSwitch",a.eventType),z(1),E("ngSwitchCase","changelist"),z(1),E("ngSwitchCase","comment"),z(1),E("ngSwitchCase","priority"),z(1),E("ngSwitchCase","status"),z(1),E("ngSwitchCase","newIssue"),z(1),E("ngSwitchCase","changelistFixed"))},
VEa=function(a,b){a&1&&(J(0),F(1,"p",1),P(2),H(),F(3,"div",2),O(4,UEa,12,10,"div",3),H(),K());a&2&&(a=b.ngIf,b=N(),z(2),Mf(b.title),z(2),E("ngForOf",a)("ngForTrackBy",b.trackByEventModifiedTime))},XEa=function(a){if(a&1){var b=u();J(0);F(1,"button",17);L("click",function(){w(b);var c=N();c.numEventsDisplayed+=3;return y()});P(2);H();K()}a&2&&(a=N(),z(2),Lf("Show ",WEa(a)," more "))},YEa=function(a){a&1&&(rd(),F(0,"svg",11),I(1,"circle",12),H());a&2&&(a=N(),of("viewBox",a._viewBox()),z(1),wf("stroke-dasharray",
a._strokeCircumference(),"px")("stroke-dashoffset",a._strokeCircumference()/2,"px")("stroke-width",a._circleStrokeWidth(),"%"),of("r",a._circleRadius()))},ZEa=function(){return{diameter:100}},$Ea=function(a){a&1&&(rd(),I(0,"circle",4));if(a&2){a=N();var b=Kf(1);wf("animation-name","mat-progress-spinner-stroke-rotate-"+a._spinnerAnimationLabel)("stroke-dashoffset",a._getStrokeDashOffset(),"px")("stroke-dasharray",a._getStrokeCircumference(),"px")("stroke-width",a._getCircleStrokeWidth(),"%")("transform-origin",
a._getCircleTransformOrigin(b));of("r",a._getCircleRadius())}},aFa=function(a){a&1&&(rd(),I(0,"circle",4));if(a&2){a=N();var b=Kf(1);wf("stroke-dashoffset",a._getStrokeDashOffset(),"px")("stroke-dasharray",a._getStrokeCircumference(),"px")("stroke-width",a._getCircleStrokeWidth(),"%")("transform-origin",a._getCircleTransformOrigin(b));of("r",a._getCircleRadius())}},bFa=function(a){a&1&&I(0,"mat-spinner",2);a&2&&(a=N(),E("diameter",36),of("aria-label",a.ariaLabel))},cFa=function(a){a&1&&I(0,"mat-spinner",
3);a&2&&(a=N(),E("diameter",16)("strokeWidth",2),of("aria-label",a.ariaLabel))},dFa=function(a){a&1&&(F(0,"div",29),I(1,"img",30),P(2,"\u00a0 "),F(3,"a",31),P(4),H()());if(a&2){a=N().ngIf;var b=N(3);z(3);E("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Ud);z(1);Lf("",a.clIds.length+a.pendingChangeLists.length," CLs")}},eFa=function(a,b){a&1&&I(0,"b-user-image",32);a&2&&E("email",b.$implicit)},fFa=function(a,b){a&1&&(F(0,"div",23)(1,"div",24),O(2,dFa,5,2,"div",25),H(),O(3,eFa,1,1,"b-user-image",
26),R(4,"slice"),F(5,"button",27),I(6,"mat-icon",28),H()());if(a&2){a=b.ngIf;N(2);var c=Kf(17);z(2);E("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);z(1);E("ngForOf",Vf(4,3,a.contributors,0,10));z(2);E("matMenuTriggerFor",c)}},gFa=function(a){a&1&&(J(0),O(1,fFa,7,7,"div",22),R(2,"async"),K());a&2&&(a=N(2),z(1),E("ngIf",S(2,1,a.projectData$)))},hFa=function(a,b){a&1&&(F(0,"div",36),I(1,"div",37),P(2),R(3,"number"),H());if(a&2){a=b.$implicit;b=N().$implicit;var c=N(3);Jf("title","",b.totalCount-
b.openCount," of ",b.totalCount," tasks complete");z(1);of("style",c.makePie(a/100),Dga);z(1);Lf(" ",Uf(3,4,a,"1.0-0"),"% Complete ")}},jFa=function(a){a&1&&(F(0,"a",31),P(1),H());if(a&2){a=N(2).$implicit;var b=N(3);E("href",b.makeCritiqueUrl(Qf(2,iFa),a.pendingChangeLists),Ud);z(1);Lf("(",a.pendingChangeLists.length," pending)")}},kFa=function(a){a&1&&(F(0,"div",29),I(1,"img",30),P(2,"\u00a0 "),F(3,"a",31),P(4),H(),P(5," \u00a0 "),O(6,jFa,2,3,"a",38),H());if(a&2){a=N().$implicit;var b=N(3);z(3);
E("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Ud);z(1);Lf("",a.clIds.length+a.pendingChangeLists.length," CLs");z(2);E("ngIf",0<a.pendingChangeLists.length)}},lFa=function(a,b){a&1&&(F(0,"div",34),O(1,hFa,4,7,"div",35),O(2,kFa,7,3,"div",25),H());a&2&&(a=b.$implicit,z(1),E("ngIf",(a.totalCount-a.openCount)/a.totalCount*100),z(1),E("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length))},mFa=function(a){a&1&&(J(0),O(1,lFa,3,2,"div",33),R(2,"async"),K());a&2&&(a=N(2),z(1),E("ngIf",S(2,1,
a.projectData$)))},nFa=function(a,b){a&1&&(J(0),I(1,"flat-issues-table",42),K());a&2&&(a=b.ngIf,b=N(3),z(1),E("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode","avatar-in-progress"))},oFa=function(a){a&1&&(F(0,"div",39),O(1,nFa,2,3,"ng-container",11),R(2,"slice"),R(3,"async"),F(4,"div",40)(5,"a",41),P(6,"View all issues"),H()()());if(a&2){a=N().ngIf;var b=N();z(1);E("ngIf",Vf(2,2,S(3,6,b.hotlistIssueIds$),0,10));z(4);Hf("href","/hotlists/",a.hotlistId,"",Ud)}},pFa=function(a){a&
1&&(J(0),I(1,"activity-stream",45),R(2,"async"),K());a&2&&(a=N(3),z(1),E("activityEvents",S(2,1,a.hotlistActivityEvents$)))},qFa=function(a){a&1&&I(0,"b-spinner")},rFa=function(a){a&1&&(F(0,"footer"),I(1,"hr"),O(2,pFa,3,3,"ng-container",43),R(3,"async"),O(4,qFa,1,0,"ng-template",null,44,gg),H());if(a&2){var b=Kf(5);a=N(2);z(2);E("ngIf",S(3,2,a.hotlistActivityEvents$))("ngIfElse",b)}},sFa=function(a,b){if(a&1){var c=u();F(0,"div",1)(1,"header",2)(2,"aside",3)(3,"div",4)(4,"button",5);L("click",function(){var d=
w(c).ngIf,e=N();return y(Kn(e.hackyPrefs,"hotlist-"+d.hotlistId))});P(5,"Add");H()()();F(6,"div",6)(7,"span",7)(8,"a",8);P(9);H();F(10,"button",9);L("click",function(){var d=w(c).ngIf,e=N();return y(e.hackyPrefs.toggleCollapsed("hotlist-"+d.hotlistId))});I(11,"mat-icon",10);H()()();O(12,gFa,3,3,"ng-container",11);H();O(13,mFa,3,3,"ng-container",11);O(14,oFa,7,8,"div",12);O(15,rFa,6,4,"footer",11);F(16,"mat-menu",null,13)(18,"button",14);L("click",function(){var d=w(c).ngIf,e=N();return y(e.reorder(d.hotlistId,
-1))});I(19,"mat-icon",15);F(20,"span",16);P(21,"Move up");H()();F(22,"button",14);L("click",function(){var d=w(c).ngIf,e=N();return y(e.reorder(d.hotlistId,1))});I(23,"mat-icon",17);F(24,"span",16);P(25,"Move down");H()();I(26,"mat-divider");F(27,"button",18);L("click",function(){var d=w(c).ngIf,e=N();return y(e.removeHotlist(d.hotlistId))});I(28,"mat-icon",19);F(29,"span",16);P(30,"Remove from My Projects");H()();F(31,"a",20);I(32,"mat-icon",21);F(33,"span",16);P(34,"View Hotlist");H()()()()}a&
2&&(a=b.ngIf,b=N(),xf("collapsed",b.isCollapsed(a))("never-collapse-mode",b.neverCollapse)("add-mode",b.addMode),z(8),Hf("href","/hotlists/",a.hotlistId,"",Ud),z(1),Lf(" ",a.name," "),z(3),E("ngIf",!b.addMode),z(1),E("ngIf",!b.isCollapsed(a)),z(1),E("ngIf",!b.isCollapsed(a)),z(1),E("ngIf",!b.isCollapsed(a)),z(3),E("disabled",!b.canMove(a.hotlistId,-1)),z(4),E("disabled",!b.canMove(a.hotlistId,1)),z(9),Hf("href","/hotlists/",a.hotlistId,"",Ud))},tFa=function(a,b){a&1&&(J(0),I(1,"hotlist-as-project-card",
9),K());a&2&&(a=b.$implicit,z(1),E("hotlistId",a)("addMode",!0))},uFa=function(a){a&1&&(F(0,"p",3),P(1,"No hotlists found."),H())},vFa=function(a){if(a&1){var b=u();F(0,"button",10);L("click",function(){w(b);var c=N(2);return y(c.suggestionCount=2*c.suggestionCount)});P(1," Show more ");H()}},wFa=function(a,b){a&1&&(J(0),F(1,"div",2)(2,"p",3)(3,"a",4),I(4,"mat-icon",5),H(),P(5," Hotlists from your recent issues. "),H(),O(6,tFa,2,2,"ng-container",6),R(7,"slice"),O(8,uFa,2,0,"p",7),O(9,vFa,2,0,"button",
8),H(),K());a&2&&(a=b.ngIf,b=N(),z(6),E("ngForOf",Vf(7,3,a,b.skipFirstSuggestion?1:0,b.suggestionCount)),z(2),E("ngIf",0===a.length),z(1),E("ngIf",a.length>b.suggestionCount&&!b.disableShowMore))},xFa=function(a){a&1&&(F(0,"p",3),I(1,"b-spinner"),P(2," Loading Hotlist suggestions... "),H())},yFa=function(){return Zc.apply(0,arguments).filter(Boolean).join(" AND ")},Ln=function(a,b,c){c=void 0===c?!1:c;if(!b)return"";Array.isArray(b)||(b=[b]);b=b.filter(Ai);return 0===b.length?"":a+":("+b.join("|")+
")"+(c?"+":"")},zFa=function(a){return a instanceof Mn?a:new Mn(a,{})},Nn=function(a){a=zFa(a);return new Mn(a.char,Object.assign({},a.modifiers,{shift:!0}))},AFa=function(a){a=zFa(a);return new Mn(a.char,Object.assign({},a.modifiers,{ctrl:!0}))},BFa=function(){var a=Nn("f");a=zFa(a);return new Mn(a.char,Object.assign({},a.modifiers,{alt:!0}))},DFa=function(a){if(a instanceof Mn){var b=CFa(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(DFa).join(" "):CFa(a)},On=function(){return Zc.apply(0,arguments)},CFa=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 Ch(a)}},EFa=function(a){return a.keys.join("-")+"-"+a.description+"-"+a.displayAs},FFa=function(a){if(a&1){var b=u();F(0,"div",0);L("keydown",function(c){w(b);var d=N();return y(d.processKeydown(c))});Gf(1);H()}a&2&&(a=N(),yf(a.className),of("id",a.id))},GFa=function(a){a&1&&I(0,"mat-icon",3)},HFa=function(a){a&
1&&(F(0,"span",25),P(1),H());a&2&&(a=N(3),z(1),Mf(a.HOTKEYS.COPY_ISSUE_ID.displayAs))},IFa=function(a){a&1&&(F(0,"span",25),P(1),H());a&2&&(a=N(4),z(1),Mf(a.HOTKEYS.COPY_ISSUE_SHORTLINK.displayAs))},JFa=function(a){if(a&1){var b=u();F(0,"div",11)(1,"label",12);P(2,"Issue shortlink");H();F(3,"input",26,27);L("onHotkey",function(){w(b);var d=Kf(4),e=N(3);return y(Pn(e,d))})("focus",function(){w(b);var d=Kf(4);return y(d.select())});H();O(5,IFa,2,1,"span",15);F(6,"button",28);L("onHotkey",function(){w(b);
var d=Kf(4),e=N(3);return y(Pn(e,d))})("click",function(){w(b);var d=Kf(4),e=N(3);return y(Pn(e,d))});I(7,"mat-icon",17);H()()}if(a&2){var c=Kf(4);a=N(3);z(1);E("htmlFor",c.id);z(2);E("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",a.enableHotkeys);of("value",a.getAppBaseUrl().replace(/^.*?:\/\//,""));z(2);E("ngIf",a.enableHotkeys);z(1);E("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",a.enableHotkeys)}},KFa=function(a){a&1&&(F(0,"span",25),P(1),H());a&2&&(a=N(3),z(1),Mf(a.HOTKEYS.COPY_ISSUE_URL.displayAs))},
LFa=function(a){a&1&&(F(0,"span",25),P(1),H());a&2&&(a=N(3),z(1),Mf(a.HOTKEYS.COPY_ISSUE_TITLE.displayAs))},MFa=function(a){a&1&&(F(0,"span",25),P(1),H());a&2&&(a=N(4),z(1),Mf(a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS.displayAs))},OFa=function(a){if(a&1){var b=u();F(0,"div",11)(1,"label",12);P(2,"Issue email");H();F(3,"input",29,30);L("onHotkey",function(){w(b);var d=Kf(4),e=N(3);return y(Pn(e,d))})("focus",function(){w(b);var d=Kf(4);return y(d.select())});H();O(5,MFa,2,1,"span",15);F(6,"button",31);L("onHotkey",
function(){w(b);var d=Kf(4),e=N(3);return y(Pn(e,d))})("click",function(){w(b);var d=Kf(4),e=N(3);return y(Pn(e,d))});I(7,"mat-icon",17);H()()}if(a&2){var c=Kf(4);a=N(3);z(1);E("htmlFor",c.id);z(2);E("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",a.enableHotkeys);of("value","buganizer-system"+(NFa(a.activeSession)?"":"-qa")+("+"+a.componentId+"+"+a.issueId)+"@google.com");z(2);E("ngIf",a.enableHotkeys);z(1);E("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",a.enableHotkeys)}},
PFa=function(a){a&1&&(F(0,"span",25),P(1),H());a&2&&(a=N(4),z(1),Mf(a.HOTKEYS.COPY_ISSUE_TODO.displayAs))},QFa=function(a){if(a&1){var b=u();F(0,"div",11)(1,"label",12);P(2,"TODO comment");H();F(3,"input",32,33);L("onHotkey",function(){w(b);var d=Kf(4),e=N(3);return y(Pn(e,d))})("focus",function(){w(b);var d=Kf(4);return y(d.select())});H();O(5,PFa,2,1,"span",15);F(6,"button",34);L("onHotkey",function(){w(b);var d=Kf(4),e=N(3);return y(Pn(e,d))})("click",function(){w(b);var d=Kf(4),e=N(3);return y(Pn(e,
d))});I(7,"mat-icon",17);H()()}if(a&2){var c=Kf(4);a=N(3);z(1);E("htmlFor",c.id);z(2);E("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys);of("value","TODO("+a.getAppBaseUrl().replace(/^.*?:\/\//,"")+"): "+a.issueTitle);z(2);E("ngIf",a.enableHotkeys);z(1);E("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys)}},RFa=function(a){if(a&1){var b=u();F(0,"div",10)(1,"div",11)(2,"label",12);P(3,"Issue ID");H();F(4,"input",13,14);L("onHotkey",function(){w(b);var g=Kf(5),
h=N(2);return y(Pn(h,g))})("focus",function(){w(b);var g=Kf(5);return y(g.select())});H();O(6,HFa,2,1,"span",15);F(7,"button",16);L("onHotkey",function(){w(b);var g=Kf(5),h=N(2);return y(Pn(h,g))})("click",function(){w(b);var g=Kf(5),h=N(2);return y(Pn(h,g))});I(8,"mat-icon",17);H()();O(9,JFa,8,7,"div",18);F(10,"div",11)(11,"label",12);P(12,"Issue URL");H();F(13,"input",19,20);L("onHotkey",function(){w(b);var g=Kf(14),h=N(2);return y(Pn(h,g))})("focus",function(){w(b);var g=Kf(14);return y(g.select())});
H();O(15,KFa,2,1,"span",15);F(16,"button",21);L("onHotkey",function(){w(b);var g=Kf(14),h=N(2);return y(Pn(h,g))})("click",function(){w(b);var g=Kf(14),h=N(2);return y(Pn(h,g))});I(17,"mat-icon",17);H()();F(18,"div",11)(19,"label",12);P(20,"URL and title");H();F(21,"input",22,23);L("onHotkey",function(){w(b);var g=Kf(22),h=N(2);return y(Pn(h,g))})("focus",function(){w(b);var g=Kf(22);return y(g.select())});H();O(23,LFa,2,1,"span",15);F(24,"button",24);L("onHotkey",function(){w(b);var g=Kf(22),h=N(2);
return y(Pn(h,g))})("click",function(){w(b);var g=Kf(22),h=N(2);return y(Pn(h,g))});I(25,"mat-icon",17);H()();O(26,OFa,8,7,"div",18);O(27,QFa,8,7,"div",18);H()}if(a&2){var c=Kf(5),d=Kf(14),e=Kf(22);a=N(2);E("cdkTrapFocusAutoCapture",!0);z(2);E("htmlFor",c.id);z(2);E("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);of("value",a.issueId);z(2);E("ngIf",a.enableHotkeys);z(1);E("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);z(2);E("ngIf",a.activeSession.isInternalSession()&&
!a.currentTracker.inTracker);z(2);E("htmlFor",d.id);z(2);E("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);of("value",a.getIssueUrl());z(2);E("ngIf",a.enableHotkeys);z(1);E("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);z(3);E("htmlFor",e.id);z(2);E("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",a.enableHotkeys);of("value",a.getAppBaseUrl(a.isExternalIssue)+" "+a.issueTitle);z(2);E("ngIf",a.enableHotkeys);z(1);E("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",
a.enableHotkeys);z(2);E("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker);z(1);E("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker)}},SFa=function(a){if(a&1){var b=u();J(0);F(1,"button",4,5);L("onHotkey",function(){w(b);var d=N();d.disabled||d.trigger.open();return y()})("onedevPopupPanelTriggerOpened",function(){w(b);var d=N();return y(d.isOpen=!0)})("onedevPopupPanelTriggerClosed",function(){w(b);var d=N();return y(d.isOpen=!1)})("click",function(){w(b);
var d=N();d.disabled||d.trigger.open();return y()});I(3,"mat-icon",6);H();F(4,"onedev-popup-panel",7,8);O(6,RFa,28,25,"div",9);H();K()}if(a&2){var c=Kf(5);a=N();z(1);E("onedevPopupPanelTriggerFor",c)("hotkey",a.HOTKEYS.HIGHLIGHT_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);of("aria-label","Show links for the issue "+a.issueId);z(5);E("ngIf",a.isOpen)}},TFa=function(a){a&1&&I(0,"b-issue-id-picker",2);a&2&&(a=N(),E("issueId",a.id)("showCopyOptions",!1))},UFa=function(a){a&1&&(J(0),I(1,"b-issue-priority-display",
3),K());a&2&&(a=N(),z(1),E("issuePriority",a.priority))},VFa=function(a){a&1&&P(0,"--")},WFa=function(a){var b=a.getName(),c,d=k(null!=(c=b.match(/components\/(\d+)\/recommendationSettings/))?c:[]);d.next();c=d.next().value;c=yi(ui(c));if(!c)throw Error("gd`"+b);return{componentId:c,duplicateAssistanceEnabled:Tj(a,2),optedOutFromDataCollection:Tj(a,4),showSettings:Tj(a,3)}},ZFa=function(a){var b=(new Qn).setParent(a.parent);a=a.userEngagement;var c=(new Rn).setType(XFa[a.type]);void 0!==a.rejectionReason&&
V(c,3,YFa[a.rejectionReason]);return hj(b,Rn,2,c)},cGa=function(a){var b=void 0;switch(Mi(a,$Fa)){case 9:b={recommendedIssue:tk(ck(a,Ej,9,$Fa))}}return{name:a.getName(),source:a.getSource(),resource:a.getResource(),type:aGa[a.getType()],recommendation:U(a,5),score:a.getScore(),confidence:bGa[a.getConfidence()],createTime:Mh(X(a,Nh,8)),content:b}},dGa=function(a){return{recommendations:kj(a,Sn,1).map(cGa),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},Tn=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]]}))})},Un=function(){var a=0;a=void 0===a?0:a;return new Promise(function(b){setTimeout(b,a)})},eGa=function(a){var b=function(){var c=a.apply(this,[].concat(cd(Zc.apply(0,arguments))))||this;c._fitToContent=!1;return c};T(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)}},fGa=function(){},gGa=function(){},hGa=function(a){a&1&&Gf(0)},iGa=function(){},jGa=function(a){a&1&&O(0,iGa,0,0,"ng-template",10);a&2&&(a=N().$implicit,E("cdkPortalOutlet",a.templateLabel))},kGa=function(a){a&1&&P(0);a&2&&(a=N().$implicit,Mf(a.textLabel))},lGa=function(a,b){if(a&1){var c=u();F(0,"div",6);L("click",function(){var g=w(c),h=
g.$implicit;g=g.index;var l=N(),q=Kf(1);return y(l._handleClick(h,q,g))})("cdkFocusChange",function(g){var h=w(c).index,l=N();return y(l._tabFocusChanged(g,h))});F(1,"div",7);O(2,jGa,1,1,"ng-template",8);O(3,kGa,1,1,"ng-template",null,9,gg);H()()}if(a&2){a=b.$implicit;b=b.index;var d=Kf(4),e=N();xf("mat-tab-label-active",e.selectedIndex===b);E("id",e._getTabLabelId(b))("ngClass",a.labelClass)("disabled",a.disabled)("matRippleDisabled",a.disabled||e.disableRipple);of("tabIndex",e._getTabIndex(b))("aria-posinset",
b+1)("aria-setsize",e._tabs.length)("aria-controls",e._getTabContentId(b))("aria-selected",e.selectedIndex===b)("aria-label",a.ariaLabel||null)("aria-labelledby",!a.ariaLabel&&a.ariaLabelledby?a.ariaLabelledby:null);z(2);E("ngIf",a.templateLabel)("ngIfElse",d)}},mGa=function(a,b){if(a&1){var c=u();F(0,"mat-tab-body",11);L("_onCentered",function(){w(c);var e=N();return y(e._removeTabBodyWrapperHeight())})("_onCentering",function(e){w(c);var g=N();return y(g._setTabBodyWrapperHeight(e))});H()}if(a&
2){a=b.$implicit;b=b.index;var d=N();xf("mat-tab-body-active",d.selectedIndex===b);E("id",d._getTabContentId(b))("ngClass",a.bodyClass)("content",a.content)("position",a.position)("origin",a.origin)("animationDuration",d.animationDuration)("preserveContent",d.preserveContent);of("tabindex",null!=d.contentTabIndex&&d.selectedIndex===b?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(b))}},nGa=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"}},oGa=function(a){return void 0===a||null===a?[]:Object.keys(a).filter(function(b){return a.hasOwnProperty(b)})},
pGa=function(){return{color:"accent"}},qGa=function(){},rGa=function(a){a&1&&O(0,qGa,0,0,"ng-template")},tGa=function(a){a&1&&(J(0),O(1,rGa,1,0,null,19),K());if(a&2){a=N().xapLet;var b=N(2),c=Kf(19);z(1);E("ngTemplateOutlet",c)("ngTemplateOutletContext",Sf(2,sGa,a,b.TABS.SIMILAR_ISSUES))}},uGa=function(a){a&1&&(J(0),O(1,tGa,2,5,"ng-container",18),K());if(a&2){N();var b=Kf(1);z(1);E("ngIf",b.isActive)}},vGa=function(a){a&1&&(F(0,"mat-tab",15,16),O(2,uGa,2,1,"ng-container",17),R(3,"async"),H());a&2&&
(a=N(),z(2),E("xapLet",S(3,1,a.similarIssues$)))},wGa=function(){},xGa=function(a){a&1&&O(0,wGa,0,0,"ng-template")},yGa=function(a){a&1&&(J(0),O(1,xGa,1,0,null,19),K());if(a&2){a=N().xapLet;var b=N(2),c=Kf(19);z(1);E("ngTemplateOutlet",c)("ngTemplateOutletContext",Sf(2,sGa,a,b.TABS.SEARCH_RESULTS))}},zGa=function(a){a&1&&(J(0),O(1,yGa,2,5,"ng-container",18),K());if(a&2){N();var b=Kf(1);z(1);E("ngIf",b.isActive)}},AGa=function(a){a&1&&(F(0,"mat-tab",20,16),O(2,zGa,2,1,"ng-container",17),R(3,"async"),
H());a&2&&(a=N(),z(2),E("xapLet",S(3,1,a.searchResults$)))},BGa=function(){},CGa=function(a){a&1&&O(0,BGa,0,0,"ng-template")},DGa=function(a){a&1&&(J(0),O(1,CGa,1,0,null,19),K());if(a&2){a=N().xapLet;var b=N(2),c=Kf(19);z(1);E("ngTemplateOutlet",c)("ngTemplateOutletContext",Sf(2,sGa,a,b.TABS.ISSUE_IDS))}},EGa=function(a){a&1&&(J(0),O(1,DGa,2,5,"ng-container",18),K());if(a&2){N();var b=Kf(1);z(1);E("ngIf",b.isActive)}},FGa=function(a){a&1&&(F(0,"mat-tab",21,16),O(2,EGa,2,1,"ng-container",17),R(3,"async"),
H());a&2&&(a=N(),z(2),E("xapLet",S(3,1,a.issuesWithIdMatches$)))},GGa=function(a){a&1&&(F(0,"th",43)(1,"span",44),P(2,"Selection"),H()())},HGa=function(a,b){a&1&&(F(0,"td",45),I(1,"mat-radio-button",46),R(2,"async"),H());a&2&&(a=b.$implicit,b=N(3),z(1),E("checked",S(2,3,Vn(b.selectedIssues,a.issueId)))("aria-label",a.snapshot[0].title)("value",a.issueId))},IGa=function(a){a&1&&(F(0,"th",43),P(1," Title "),H())},JGa=function(a,b){a&1&&(F(0,"td",45),I(1,"b-issue-title-cell",47),H());a&2&&(a=b.$implicit,
b=N(3),z(1),E("issue",a)("issueUrlFactory",b.issueUrlFactory)("useButtonToNavigate",!0))},KGa=function(a){a&1&&(F(0,"th",43),P(1," Id "),H())},LGa=function(a,b){a&1&&(F(0,"td",45),I(1,"b-issue-id-cell",48),H());a&2&&(a=b.$implicit,z(1),E("id",a.issueId))},MGa=function(a){a&1&&(F(0,"th",43),P(1," Priority "),H())},NGa=function(a,b){a&1&&(F(0,"td",45),I(1,"b-issue-priority-cell",49),H());a&2&&(a=b.$implicit,z(1),E("issue",a))},OGa=function(a){a&1&&(F(0,"th",50),P(1," Status "),H())},PGa=function(a,
b){a&1&&(F(0,"td",45),I(1,"b-issue-status-cell",49),H());a&2&&(a=b.$implicit,z(1),E("issue",a))},QGa=function(a){a&1&&(F(0,"th",43),P(1," Dupes "),H())},RGa=function(a,b){a&1&&(F(0,"td",51),P(1),H());if(a&2){a=b.$implicit;var c;z(1);Lf(" ",null!==(c=null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length)&&void 0!==c?c:0," ")}},SGa=function(a){a&1&&(F(0,"th",52)(1,"span",44),P(2,"Votes"),H(),I(3,"mat-icon",53),H())},TGa=function(a,b){a&1&&(F(0,"td",51),P(1),H());a&2&&(a=b.$implicit,
z(1),Lf(" ",a.aggregatedData.voteCount," "))},UGa=function(a){a&1&&(F(0,"th",54),P(1," Created "),H())},VGa=function(a,b){a&1&&(F(0,"td",45),I(1,"b-issue-created-time-cell",55),H());a&2&&(a=b.$implicit,z(1),E("issue",a))},WGa=function(a){a&1&&I(0,"tr",56)},XGa=function(a,b){if(a&1){var c=u();F(0,"tr",57);L("keydown",function(d){var e=w(c),g=e.index;e=e.$implicit;var h=N(3);return y(h.onRowKeydown(g,e,d))})("keydown.enter",function(){var d=w(c).$implicit,e=N(2).tab,g=N();return y(g.selectIssue(d.issueId,
e))})("focusin",function(){var d=w(c).$implicit,e=N(3);return y(Wn(e.focusManager,d))})("click",function(){var d=w(c),e=d.$implicit;d=d.index;var g=N(2).tab,h=N();h.selectIssue(e.issueId,g);return y(h.focusManager.setActiveItem(d))});H()}a&2&&E("row",b.$implicit)},ZGa=function(a){if(a&1){var b=u();F(0,"table",25);L("contentChanged",function(){w(b);var d=N().issues,e=N();return y(YGa(e,d))});J(1,26);O(2,GGa,3,0,"th",27);F(3,"mat-radio-group",28);L("change",function(d){w(b);var e=N().tab,g=N();return y(g.selectIssue(d.value,
e))});O(4,HGa,3,5,"td",29);H();K();J(5,30);O(6,IGa,2,0,"th",27);O(7,JGa,2,3,"td",29);K();J(8,31);O(9,KGa,2,0,"th",27);O(10,LGa,2,1,"td",29);K();J(11,32);O(12,MGa,2,0,"th",27);O(13,NGa,2,1,"td",29);K();J(14,33);O(15,OGa,2,0,"th",34);O(16,PGa,2,1,"td",29);K();J(17,35);O(18,QGa,2,0,"th",27);O(19,RGa,2,1,"td",36);K();J(20,37);O(21,SGa,4,0,"th",38);O(22,TGa,2,1,"td",36);K();J(23,39);O(24,UGa,2,0,"th",40);O(25,VGa,2,1,"td",29);K();O(26,WGa,1,0,"tr",41);O(27,XGa,1,1,"tr",42);H()}if(a&2){a=N().issues;var c=
N();E("dataSource",a)("trackBy",c.trackByIssueId);z(26);E("matHeaderRowDef",c.tableColumns);z(1);E("matRowDefColumns",c.tableColumns)}},$Ga=function(a){a&1&&(F(0,"div",58),I(1,"b-spinner",59),H())},aHa=function(a){a&1&&(F(0,"div",58)(1,"span",60),P(2,"No results found"),H()())},bHa=function(a,b){a&1&&(F(0,"div",22),O(1,ZGa,28,4,"table",23),O(2,$Ga,2,0,"div",24),O(3,aHa,3,0,"div",24),H());a&2&&(a=b.issues,z(1),E("ngIf",a&&a.length),z(1),E("ngIf",!a),z(1),E("ngIf",0===(null==a?null:a.length)))},cHa=
function(a){if(a&1){var b=u();F(0,"button",4);L("click",function(c){w(b);N().expansionChange.emit();c.stopPropagation();return y()});I(1,"b-icon",5);H()}a&2&&(a=N(),xf("collapsed",!a.expanded),of("aria-label",a.expanded?"Collapse children":"Expand children"))},dHa=function(a){a&1&&I(0,"div",6)},eHa=function(){},hHa=function(){var a={timeout:5E3};a=void 0===a?{}:a;return null!=fHa?fHa:fHa=gHa(a)},iHa=function(){return new Promise(function(a,b){window.gapi.load("client",{callback:a,onerror:b})})},gHa=
function(a){a=void 0===a?{}:a;var b;return pe(function(c){if(1==c.nextAddress)return(b=window.gapi)&&b.client&&b.client.load?c.return(b):c.yield(jHa(Xn(Yn("https://apis.google.com/js/api.js")),a),2);if(3!=c.nextAddress){b=window.gapi;if(!b)throw Error("hd");return b.client&&b.client.load?c.jumpTo(3):c.yield(iHa(),3)}return c.return(b)})},kHa=function(a,b,c){var d=a.config.get(b);c!==d&&a.config.update(b,c)},mHa=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(lHa.has(a))return lHa.get(a);b=Promise.resolve(c.reloadAuthResponse()).finally(function(){lHa.delete(a)});lHa.set(a,b);return b}return Promise.resolve()},nHa=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})},oHa=function(a){if(a&1){var b=u();F(0,"div",5);L("clickOutside",function(){w(b);var c=N();return y(c.hide())});
F(1,"div",6);P(2," Relative link may be malformed:\u00a0 ");F(3,"code");P(4);H();F(5,"button",7);L("click",function(){w(b);var c=N();return y(c.copyToClipboard())});I(6,"mat-icon",8);H()();F(7,"div",6);P(8," Force open as: \u00a0 ");F(9,"a",9);L("click",function(c){w(b);var d=N();EEa(c)||(c.preventDefault(),c.stopPropagation(),Zn(d.domSafe,"http://"+d.originalHref));return y()});P(10);H()()()}a&2&&(a=N(),z(4),Mf(a.originalHref),z(5),Hf("href","http://",a.originalHref,"",Ud),z(1),Lf(" http://",a.originalHref,
" "))},pHa=function(){return{color:"accent",clickAction:"check-indeterminate"}},qHa=function(a){a&1&&(F(0,"b-glue"),I(1,"mat-icon",5),H())},uHa=function(a){if(a&1){var b=u();F(0,"div",6);L("clickOutside",function(){w(b);var c=N();return y(c.hide())});F(1,"span",7)(2,"a",8);L("click",function(c){w(b);var d=N();return y(rHa(d,c))})("keydown",function(c){w(b);var d=N();return y(sHa(d,c))});P(3);H()();F(4,"button",9);L("keydown.Tab",function(c){w(b);var d=N();return y(tHa(d,c))})("click",function(){w(b);
var c=N();return y(c.copyToClipboard())});I(5,"mat-icon",10);H()()}a&2&&(a=N(),z(2),E("href",a.originalHref,Ud)("rel",a.EXTERNAL_LINK_REL),z(1),Mf(a.originalHref))},vHa=function(a){a&1&&(J(0),I(1,"img",3),R(2,"async"),K());if(a&2){a=N(2);var b;z(1);E("src",S(2,2,a.srcRedirected$),Ud);of("alt",null!==(b=a.alt)&&void 0!==b?b:"user provided image")}},wHa=function(a){a&1&&(J(0),O(1,vHa,3,4,"ng-container",0),R(2,"async"),K());if(a&2){a=N();var b=Kf(3);z(1);E("ngIf",S(2,2,a.showImage$))("ngIfElse",b)}},
xHa=function(a){if(a&1){var b=u();F(0,"a",4);L("click",function(c){w(b);var d=N();return y(d.trigger(c))})("keydown.enter",function(c){w(b);var d=N();return y(d.trigger(c))});R(1,"async");R(2,"async");F(3,"b-glue");I(4,"mat-icon",5);H();J(5);P(6);R(7,"async");K();H()}a&2&&(a=N(),E("href",S(1,3,a.src$),Ud)("title",S(2,5,a.src$)),z(6),Mf(S(7,7,a.srcTruncated$)))},yHa=function(a){a&1&&(I(0,"mat-icon",6),R(1,"async"));a&2&&(a=N(),Hf("matTooltip","Unable to load image ",S(1,1,a.srcTruncated$),""))},zHa=
function(a){a&1&&(J(0),I(1,"br"),F(2,"a",4),I(3,"b-secure-image-widget",5),H(),I(4,"br"),K());if(a&2){a=N().ngIf;var b=N();z(2);E("href",a,Ud)("rel",b.EXTERNAL_LINK_REL);z(1);E("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!0)}},AHa=function(a){a&1&&I(0,"b-secure-image-widget",6);if(a&2){a=N().ngIf;var b=N();E("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!1)}},BHa=function(a){a&1&&(J(0)(1,1),R(2,"async"),O(3,zHa,5,5,"ng-container",2),O(4,AHa,1,3,"b-secure-image-widget",
3),K()());a&2&&(a=N(),z(1),E("ngSwitch",S(2,3,a.displayMode$)),z(2),E("ngSwitchCase",a.DisplayMode.SHOW),z(1),E("ngSwitchCase",a.DisplayMode.COLLAPSE))},CHa=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},DHa=function(a,b){a&1&&(J(0),I(1,"b-plain-format-section",2),K());a&2&&(a=b.$implicit,z(1),E("section",a))},EHa=function(a){a&1&&I(0,"b-plain-format-quoted-section",1);a&2&&(a=N(),E("section",a.section))},FHa=function(a){a&1&&I(0,"b-plain-format-unquoted-section",1);a&2&&(a=N(),E("section",
a.section))},HHa=function(a){if(a&1){var b=u();F(0,"a",4);L("click",function(){w(b);var c=N();c.showQuote=!0;GHa(c);return y()});P(1," - Show quoted text - ");H()}a&2&&(a=N(),of("aria-controls",a.childId))},IHa=function(a){if(a&1){var b=u();F(0,"a",5);L("click",function(){w(b);var c=N();c.showQuote=!1;GHa(c);return y()});P(1," - Hide quoted text - ");H()}a&2&&(a=N(),of("aria-controls",a.childId))},JHa=function(a,b){a&1&&(J(0),I(1,"b-literal-format-presenter",1),K());a&2&&(a=b.ngIf,z(1),E("content",
a))},KHa=function(a,b){a&1&&(J(0),I(1,"b-markdown-format-presenter",1),K());a&2&&(a=b.ngIf,z(1),E("content",a))},LHa=function(a,b){a&1&&(J(0),I(1,"b-plain-format-presenter",1),K());a&2&&(a=b.ngIf,z(1),E("content",a))},MHa=function(a){switch(a.formattingMode){case "LITERAL":return(0,D.of)({literalFormat:{content:mta(Mg(a.comment))}});case "MARKDOWN":return a={markdownFormat:{content:mta(Mg(""))}},(0,D.of)(a);case void 0:case "PLAIN":case "UNSPECIFIED_FORMATTING_MODE":return a={plainFormat:{plainSection:[{isQuoted:!1,
content:mta(Mg(a.comment))}]}},(0,D.of)(a);default:return Ch(a.formattingMode,"Unknown formatting mode: "+a.formattingMode)}},NHa=function(a,b){a&1&&(J(0),F(1,"div",1),I(2,"b-formatted-comment-presenter",2),H(),K());a&2&&(a=b.$implicit,b=N(),z(1),xf("invisible",""===(b.comment||"").trim())("error",a.isFallback),z(1),E("formattedComment",a.formattedComment))},OHa=function(a){a&1&&(F(0,"a",2),I(1,"mat-icon",3),H());a&2&&(a=N(),E("href",a.mdHelpLink,Ud)("disableRipple",!0))},PHa=function(a){a&1&&I(0,
"b-formatted-comment-presenter",4);a&2&&(a=N(),E("formattedComment",a.note.formattedComment))},QHa=function(a){a&1&&I(0,"b-live-preview",5);a&2&&(a=N(),E("comment",a.rawComment)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.formattingModeOverride||a.formattingMode||a.FormattingMode.PLAIN)("idPrefix",a.idPrefix))},RHa=function(a,b){if(a&1){var c=u();F(0,"a",8);L("click",function(){var d=w(c).$implicit,e=N(2);return y(e.clickSegment.emit(d.name||d.path))});P(1);H()}a&2&&(a=b.$implicit,
E("href",a.path,Ud),z(1),Lf(" ",a.name||a.path," "))},SHa=function(a){a&1&&(J(0),F(1,"button",4),I(2,"mat-icon",5),H(),F(3,"mat-menu",null,6),O(5,RHa,2,2,"a",7),H(),K());if(a&2){var b=Kf(4);a=N();z(1);E("matMenuTriggerFor",b);z(4);E("ngForOf",a.segments)}},THa=function(a){if(a&1){var b=u();F(0,"button",4);L("click",function(){w(b);var c=N();return y(c.toggle())});I(1,"mat-icon",5);H()}a&2&&(a=N(),xf("isClosed",a.isClosed),E("ngClass",a.direction)("matTooltip",a.toggleButtonLabel),of("aria-label",
a.toggleButtonLabel),z(1),E("svgIcon",a.isLTR?"chevron-left":"chevron-right"))},UHa=function(a){a=a.getBoundingClientRect();return 0<=a.top&&a.bottom<=window.innerHeight},VHa=function(a){a=a.getBoundingClientRect();return 0<a.bottom&&a.top<window.innerHeight},WHa=function(a,b,c,d){var e=(d=void 0===d?!1:d)?function(g){return c.partially(g)}:function(g){return c.fully(g)};return(new D.Observable(function(g){g.next(e(a));var h=b(function(l){g.next(l[0].isIntersecting)},d?{threshold:0}:{threshold:1});
h.observe(a);return function(){h.unobserve(a)}})).pipe(Ne())},XHa=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,D.merge)((0,D.of)(void 0),(0,D.fromEvent)(window,"scroll").pipe(Le(500))).pipe(C(function(){return d(a)}),Ne())},YHa=function(a){a&1&&(F(0,"span",8),P(1),H());a&2&&(a=N(),z(1),Mf(a.placeholder))},ZHa=function(a){a&1&&(F(0,"span",12),P(1),H());a&2&&(a=N(2),z(1),Mf(a.triggerValue))},$Ha=function(a){a&1&&Gf(0,0,["*ngSwitchCase",
"true"])},aIa=function(a){a&1&&(F(0,"span",9),O(1,ZHa,2,1,"span",10),O(2,$Ha,1,0,"ng-content",11),H());a&2&&(a=N(),E("ngSwitch",!!a.customTrigger),z(2),E("ngSwitchCase",!0))},bIa=function(a){if(a&1){var b=u();F(0,"div",13)(1,"div",14,15);L("@transformPanel.done",function(c){w(b);var d=N();return y(d._panelDoneAnimatingStream.next(c.toState))})("keydown",function(c){w(b);var d=N();return y(d._handleKeydown(c))});Gf(3,1);H()()}a&2&&(a=N(),E("@transformPanelWrap",void 0),z(1),Af("mat-select-panel ",
a._getPanelTheme(),""),wf("transform-origin",a._transformOrigin)("font-size",a._triggerFontSize,"px"),E("ngClass",a.panelClass)("@transformPanel",a.multiple?"showing-multiple":"showing"),of("id",a.id+"-panel")("aria-multiselectable",a.multiple)("aria-label",a.ariaLabel||null)("aria-labelledby",a._getPanelAriaLabelledby()))},cIa=function(a){a&1&&Cf(0)},dIa=function(a){if(a&1){var b=u();F(0,"div",3);L("mouseenter",function(){w(b);var c=N();return y(c.toggle(!0))})("mouseleave",function(){w(b);var c=
N();return y(c.toggle(!1))})("mousemove",function(){w(b);N().activity.next();return y()});O(1,cIa,1,0,"ng-container",4);H()}a&2&&(a=N(),E("ngClass",a.bubbleStyle)("@fade",void 0),z(1),E("ngTemplateOutlet",a.panelTemplate))},eIa=function(a){a&1&&(J(0),F(1,"span",3),P(2),R(3,"toAccessLevelLabel"),H(),K());a&2&&(a=N(2),z(1),xf("xs",a.compactMode),E("ngClass",a.chipClass),z(1),Lf(" ",Uf(3,4,a.accessLevel,a.compactMode)," "))},fIa=function(a){a&1&&(F(0,"div",7),P(1),F(2,"a",8),P(3," Learn more"),H()());
a&2&&(a=N(3),z(1),Lf(" ",a.bubbleText," "),z(1),E("href",$n(a.documentationLinks),Ud))},gIa=function(a){a&1&&(F(0,"xap-bubble",4)(1,"span",5),P(2),R(3,"toAccessLevelLabel"),H(),O(4,fIa,4,2,"ng-template",null,6,gg),H());if(a&2){var b=Kf(5);a=N(2);E("panelTemplate",b);z(1);xf("xs",a.compactMode);E("ngClass",a.chipClass);z(1);Lf(" ",Uf(3,5,a.accessLevel,a.compactMode)," ")}},hIa=function(a){a&1&&(J(0),O(1,eIa,4,7,"ng-container",1),O(2,gIa,6,8,"ng-template",null,2,gg),K());if(a&2){var b=Kf(3);a=N();z(1);
E("ngIf",a.labelOnlyMode)("ngIfElse",b)}},iIa=function(a){a&1&&(J(0),P(1,"Un-"),K())},jIa=function(a){a&1&&(F(0,"span"),P(1," Assigned to "),I(2,"b-user-display",16),H());a&2&&(a=N(2).ngIf,z(2),E("model",a.assigneeUser)("hovercardEnabled",!1))},kIa=function(a){a&1&&(F(0,"span"),P(1," Accepted by "),I(2,"b-user-display",16),H());a&2&&(a=N(2).ngIf,z(2),E("model",a.assigneeUser)("hovercardEnabled",!1))},lIa=function(a){a&1&&(F(0,"span"),P(1," Duplicate of "),F(2,"a",3),P(3),H()());if(a&2){a=N(2).ngIf;
var b=N(),c;z(2);qf("aria-label","Go to issue ",a.duplicateOfIssueId,"");E("href",b.editIssue(null!==(c=a.duplicateOfIssueId)&&void 0!==c?c:void 0),Ud);z(1);Lf(" ",a.duplicateOfIssueId," ")}},mIa=function(a){a&1&&(F(0,"span"),P(1),H());if(a&2){a=N().ngIf;var b=N(2);z(1);Lf(" ",b.STATUS_JS_FULL_TEXT[a]," ")}},nIa=function(a,b){a&1&&(J(0,13),O(1,jIa,3,2,"span",14),O(2,kIa,3,2,"span",14),O(3,lIa,4,3,"span",14),O(4,mIa,2,1,"span",15),K());a&2&&(E("ngSwitch",b.ngIf),z(1),E("ngSwitchCase","ASSIGNED"),z(1),
E("ngSwitchCase","ACCEPTED"),z(1),E("ngSwitchCase","DUPLICATE"))},oIa=function(a,b){a&1&&(J(0),I(1,"b-app-vote-button",17),K());if(a&2){a=b.ngIf;b=N().ngIf;var c=N(2),d;z(1);E("issueId",c.issueId)("voteCount",b.voteCount)("upvoted",null!==(d=a.voted)&&void 0!==d?d:!1)}},pIa=function(a){a&1&&(J(0),O(1,oIa,2,3,"ng-container",1),K());a&2&&(a=N(2),z(1),E("ngIf",a.issue.userData))},rIa=function(a){if(a&1){var b=u();J(0);F(1,"button",18);L("click",function(){w(b);var c=N(2);return y(qIa(c,c.childContextId))});
P(2," Unlink parent ");H();K()}},sIa=function(a,b){a&1&&(F(0,"li"),P(1," Last updated by "),I(2,"b-user-display",16),P(3," on: "),I(4,"b-formatted-date-time",19),H());a&2&&(a=b.ngIf,b=N().ngIf,z(2),E("model",a)("hovercardEnabled",!1),z(2),E("timestamp",b.modifiedTimeMicros/1E3))},tIa=function(a,b){a&1&&(J(0),O(1,sIa,5,3,"li",1),F(2,"li"),P(3," Reported by "),I(4,"b-user-display",16),P(5," on: "),I(6,"b-formatted-date-time",19),H(),K());a&2&&(a=b.ngIf,b=N().ngIf,z(1),E("ngIf",a.lastModifier),z(3),
E("model",b.reporterUser)("hovercardEnabled",!1),z(2),E("timestamp",a.createdTimeMicros/1E3))},uIa=function(a){a&1&&(F(0,"li",20),I(1,"b-note-container",21),H());if(a&2){a=N(2);var b;z(1);E("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())}},xIa=function(a,b){if(a&1){var c=u();J(0);F(1,"div",2)(2,"h3")(3,"a",3);
P(4);H();P(5," \u00a0 ");F(6,"span",4);P(7);H()();F(8,"ul")(9,"li",5);I(10,"b-access-level-indicator",6);H();F(11,"li",7)(12,"span",8);P(13);H();P(14," \u00a0 ");O(15,nIa,5,4,"ng-container",9);H()();F(16,"div",10)(17,"b-cc-button",11);L("onCc",function(g){w(c);var h=N();h.location&&g&&h.analytics.trackEvent(h.location+"_"+ao.ISSUE_CARD,"add","CC");return y()});H();O(18,pIa,2,1,"ng-container",1);O(19,rIa,3,0,"ng-container",1);H();F(20,"ul");O(21,tIa,7,4,"ng-container",1);O(22,uIa,2,4,"li",12);H()();
K()}if(a&2){a=b.ngIf;b=N();var d,e;z(3);qf("aria-label","Go to issue ",b.issueId,"");E("href",b.editIssue(b.issueId),Ud);z(1);Mf(b.issueId);z(3);Mf(a.title);z(3);E("labelOnlyMode",!0)("accessLevel",null==b.issue.accessLimit?null:b.issue.accessLimit.accessLevel);z(2);E("ngClass",b.priorityClass(a.priority));z(1);Mf(b.ISSUE_PRIORITY_TEXT_JS[null!==(d=a.priority)&&void 0!==d?d:b.ISSUE_PRIORITY_ENUM.PRIORITY_UNSPECIFIED]);z(2);E("ngIf",a.status);z(2);E("issueId",b.issueId)("ccState",vIa(b,null!==(e=a.ccUsers)&&
void 0!==e?e:Qf(15,wIa)));z(1);E("ngIf",b.issue.aggregatedData);z(1);E("ngIf",b.childContextId);z(2);E("ngIf",b.issue.aggregatedData);z(1);E("ngIf",b.firstEvent.unlinkifiedComment)}},yIa=function(a){a&1&&I(0,"b-user-image",5);a&2&&(a=N(),E("email",a.email))},zIa=function(a){a&1&&Cf(0)},AIa=function(a){a&1&&(J(0),F(1,"span",6),O(2,zIa,1,0,"ng-container",7),H(),F(3,"onedev-hovercard",null,8),I(5,"b-issue-person-card",9),H(),K());if(a&2){var b=Kf(4);a=N();var c=Kf(4);z(1);E("onedevHovercardTrigger",
b);z(1);E("ngTemplateOutlet",c);z(3);E("email",a.email)}},BIa=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N(),z(1),Mf(a.email))},CIa=function(a){a&1&&(F(0,"span",10),I(1,"b-availability-chip",11),H());a&2&&(a=N(),z(1),E("user",a.email))},DIa=function(a){a&1&&I(0,"b-icon",7)},EIa=function(a){a&1&&I(0,"b-user-image",8);a&2&&(a=N(2),E("email",a.email))},FIa=function(a){a&1&&(J(0),O(1,DIa,1,0,"b-icon",5),O(2,EIa,1,1,"ng-template",null,6,gg),K());if(a&2){var b=Kf(3);a=N();z(1);E("ngIf",a.enableGroupIcon&&
a.isGroup)("ngIfElse",b)}},GIa=function(a){a&1&&I(0,"b-user-display-name",9);a&2&&(a=N(),E("email",a.email)("hovercardFocusEnabled",!0)("availabilityChipEnabled",!1))},HIa=function(a){a&1&&Cf(0)},IIa=function(a){a&1&&(J(0),F(1,"span",12),O(2,HIa,1,0,"ng-container",13),H(),F(3,"onedev-hovercard",null,14),I(5,"b-issue-person-card",15),H(),K());if(a&2){var b=Kf(4);N();var c=Kf(2);a=N();z(1);E("onedevHovercardTrigger",b);z(1);E("ngTemplateOutlet",c);z(3);E("email",a.email)}},JIa=function(a){a&1&&(F(0,
"span",16),P(1),H());a&2&&(a=N(2),z(1),Mf(a.email))},KIa=function(a){a&1&&(O(0,IIa,6,3,"ng-container",10),O(1,JIa,2,1,"ng-template",null,11,gg));if(a&2){var b=Kf(2);a=N();E("ngIf",a.isNonObfuscatedEmail(a.email))("ngIfElse",b)}},LIa=function(a){a&1&&(I(0,"mat-icon",17),R(1,"async"),R(2,"async"));if(a&2){a=N();var b,c;E("svgIcon",null!==(b=S(1,2,a.iconName$))&&void 0!==b?b:"")("matTooltip",null!==(c=S(2,4,a.iconToolTip$))&&void 0!==c?c:"")}},MIa=function(a){a&1&&(J(0),I(1,"b-availability-chip",18),
K());a&2&&(a=N(),z(1),E("user",a.email))},NIa=function(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}},OIa=function(a,b){a&1&&(F(0,"div",0,1),Gf(2),H());a&2&&(a=b.id,b=N(),E("id",b.id)("ngClass",b._classList),of("aria-label",b.ariaLabel||null)("aria-labelledby",b._getPanelAriaLabelledby(a)))},PIa=function(a){a&1&&(F(0,"div")(1,"div",9),P(2," An issue cannot reference itself. "),H()())},QIa=function(a){a&1&&(F(0,"mat-option",10)(1,"div",11),I(2,"b-spinner",
12),H()());a&2&&(z(2),E("large",!0))},RIa=function(a){a&1&&(F(0,"mat-option",13),P(1," No issues found. "),H())},SIa=function(a){a&1&&I(0,"mat-icon",24);if(a&2){a=N().$implicit;var b=N();E("svgIcon",b.STATUS_ICON[a.status])}},TIa=function(a){a&1&&I(0,"b-issue-card",25,26);if(a&2){var b=Kf(1);a=N().$implicit;E("onedevIsHovercardReady",b.init)("issueId",a.resourceId)}},VIa=function(a,b){a&1&&(F(0,"mat-option",14)(1,"div",15),O(2,SIa,1,1,"mat-icon",16),F(3,"strong",17),P(4),H(),F(5,"onedev-hovercard",
null,18),O(7,TIa,2,2,"b-issue-card",19),H(),F(8,"a",20),L("click",function(d){return d.stopPropagation()}),I(9,"mat-icon",21),H(),F(10,"span",22),P(11),H(),I(12,"div",23),R(13,"boldPrefixMatches"),H()());if(a&2){a=b.$implicit;var c=Kf(6);b=N();E("value",a);z(1);of("aria-label",a.resourceId+", "+a.displayText+", click ALT RightArrow to open the issue in a new tab.");z(1);E("ngIf",a.status);z(1);If("title",a.resourceId);z(1);Lf(" ",a.resourceId," ");z(4);E("onedevHovercardTrigger",c)("href",b.getIssueLink(a),
Ud);z(3);Mf(UIa(a));z(1);If("title",a.displayText);E("innerHTML",Uf(13,10,a.displayText,b.query),Td)}},WIa=function(a,b){a&1&&(F(0,"a",13),P(1),H());a&2&&(a=b.$implicit,b=b.last,Hf("href","issues/",a.resourceId,"",Ud),z(1),Nf(" ",a.resourceId,"",b?"":","," "))},XIa=function(a){a&1&&(F(0,"div",11),O(1,WIa,2,3,"a",12),H());a&2&&(a=N(),z(1),E("ngForOf",a.selectedIssues))},YIa=function(a){a&1&&(F(0,"div",11)(1,"a",14)(2,"span",15),P(3),H(),F(4,"span"),I(5,"mat-icon",16),H()()());a&2&&(a=N(),z(1),Hf("href",
"issues/",a.selectedIssues[0].resourceId,"",Ud),z(2),Lf(" ",a.selectedIssues[0].displayText," "))},$Ia=function(a){if(a&1){var b=u();F(0,"div",17)(1,"div",18);L("click",function(){w(b);var c=N();return y(ZIa(c))})("keyup.space",function(){w(b);var c=N();return y(ZIa(c))});H()()}a&2&&(a=N(),z(1),E("matTooltip",a.isQueryRestricted?"Searching in current component tree":"Click to search in current component tree"),of("aria-checked",a.isQueryRestricted))},aJa=function(a,b){return[].concat(cd(b)).map(function(c){return bo[c]}).every(function(c){return c.check(a)})},
bJa=function(a){return!!bo[a]},co=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))},cJa=function(a){a&1&&Gf(0)},dJa=function(a){a&1&&Cf(0)},eJa=function(a){if(a&1){var b=u();F(0,"button",7,8);L("click",function(e){w(b);var g=N();return y(g.onClick(e))});O(2,dJa,1,0,"ng-container",9);H()}if(a&2){a=N();var c=Kf(1),d;E("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&
void 0!==d?d:"");of("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);E("ngTemplateOutlet",c)}},fJa=function(a){a&1&&Cf(0)},gJa=function(a){if(a&1){var b=u();F(0,"button",10,8);L("click",function(e){w(b);var g=N();return y(g.onClick(e))});O(2,fJa,1,0,"ng-container",9);H()}if(a&2){a=N();var c=Kf(1),d;E("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");of("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);E("ngTemplateOutlet",
c)}},hJa=function(a){a&1&&Cf(0)},iJa=function(a){if(a&1){var b=u();F(0,"button",11,8);L("click",function(e){w(b);var g=N();return y(g.onClick(e))});O(2,hJa,1,0,"ng-container",9);H()}if(a&2){a=N();var c=Kf(1),d;E("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");of("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);E("ngTemplateOutlet",c)}},jJa=function(a){a&1&&Cf(0)},kJa=function(a){if(a&1){var b=u();F(0,"button",12,8);L("click",
function(e){w(b);var g=N();return y(g.onClick(e))});O(2,jJa,1,0,"ng-container",9);H()}if(a&2){a=N();var c=Kf(1),d;E("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");of("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);E("ngTemplateOutlet",c)}},lJa=function(a){a&1&&Cf(0)},mJa=function(a){if(a&1){var b=u();F(0,"button",7,8);L("click",function(e){w(b);var g=N();return y(g.onClick(e))});O(2,lJa,1,0,"ng-container",9);H()}if(a&
2){a=N();var c=Kf(1),d;E("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");of("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);E("ngTemplateOutlet",c)}},nJa=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:Ch(a)}},pJa=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=oJa(b),g=b.nextElementSibling&&oJa(b.nextElementSibling),h=b.previousElementSibling&&oJa(b.previousElementSibling);if("top"===a){var l;if((null==(l=b.previousElementSibling)?0:l.classList.contains("dragging"))&&h===e)return d="none",c();d="before";return c()}if("bottom"===a){if(null!=g&&e<g){var q;if(null==(q=b.nextElementSibling)?0:q.classList.contains("dragging"))return d="none",c();b=b.nextElementSibling;
d="before";return c()}var v;if((null==(v=b.nextElementSibling)?0:v.classList.contains("dragging"))&&e===g)return d="none",c();d="after";return c()}d="current";return c()},oJa=function(a){return Number(a.dataset.level)},qJa=function(a){var b;return eo(null!=(b=a.dataset.ancestorchain)?b:"")},rJa=function(a){a&1&&I(0,"th",28)},sJa=function(a){if(a&1){var b=u();F(0,"td",29,30);L("click",function(c){w(b);Kf(1).focus();return y(c.stopPropagation())});H()}},tJa=function(a){a&1&&I(0,"th",28)},uJa=function(a){if(a&
1){var b=u();F(0,"td",31,32);L("click",function(c){w(b);Kf(1).focus();return y(c.stopPropagation())})("dragstart",function(c){w(b);var d=N();return y(d.handleDragStart(c))});I(2,"mat-icon",33);H()}},vJa=function(a){a&1&&(F(0,"th",28),P(1," Id "),H())},wJa=function(a,b){a&1&&(F(0,"td",34),I(1,"b-issue-id-cell",35),H());a&2&&(a=b.$implicit,z(1),E("id",a.id))},xJa=function(a){a&1&&(F(0,"th",28),P(1," Id "),H())},yJa=function(a){a&1&&(F(0,"td",34),P(1,"--"),H())},zJa=function(a){a&1&&(F(0,"th",28),P(1,
" Title "),H())},AJa=function(a,b){if(a&1){var c=u();F(0,"td",34)(1,"b-expandable-issue-title-cell",36);L("expansionChange",function(){var d=w(c).$implicit,e=N();return y(e.toggleExpansion(d))});R(2,"async");R(3,"async");H()()}a&2&&(a=b.$implicit,z(1),E("issue",S(2,4,a.issue$))("expandable",S(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},BJa=function(a){a&1&&(F(0,"th",28),P(1," Type "),H())},CJa=function(a,b){a&1&&(F(0,"td",34),I(1,"b-issue-type-cell",37),R(2,"async"),H());
a&2&&(a=b.$implicit,z(1),E("issue",S(2,1,a.issue$)))},DJa=function(a){a&1&&(F(0,"th",28),P(1," Assignee "),H())},EJa=function(a,b){a&1&&(J(0),F(1,"b-person-hovercard",41),P(2),H(),K());a&2&&(a=b.$implicit,b=N(3),z(1),E("email",b.getAssigneeString(a)),z(1),Lf(" ",b.ldapOnly(b.getAssigneeString(a))," "))},FJa=function(a){a&1&&(J(0),O(1,EJa,3,2,"ng-container",21),R(2,"async"),K());a&2&&(a=N().$implicit,z(1),E("ngIf",S(2,1,a.issue$)))},GJa=function(a,b){a&1&&I(0,"b-user-image",41);a&2&&E("email",b.$implicit)},
HJa=function(a,b){a&1&&(J(0),O(1,GJa,1,1,"b-user-image",42),K());a&2&&(a=b.$implicit,b=N(3),z(1),E("ngIf",b.getAssigneeString(a)))},IJa=function(a){a&1&&(J(0),O(1,HJa,2,1,"ng-container",21),R(2,"async"),K());a&2&&(a=N().$implicit,z(1),E("ngIf",S(2,1,a.issue$)))},JJa=function(a,b){a&1&&I(0,"b-user-image",41);a&2&&E("email",b.$implicit)},KJa=function(a){a&1&&(J(0),O(1,JJa,1,1,"b-user-image",42),K());if(a&2){a=N().$implicit;var b=N(3);z(1);E("ngIf",b.getAssigneeString(a))}},LJa=function(a,b){a&1&&(J(0),
O(1,KJa,2,1,"ng-container",21),K());a&2&&(a=b.$implicit,b=N(3),z(1),E("ngIf",b.isInProgress(a)))},MJa=function(a){a&1&&(J(0),O(1,LJa,2,1,"ng-container",21),R(2,"async"),K());a&2&&(a=N().$implicit,z(1),E("ngIf",S(2,1,a.issue$)))},NJa=function(a){a&1&&(I(0,"b-issue-assignee-cell",37),R(1,"async"));a&2&&(a=N().$implicit,E("issue",S(1,1,a.issue$)))},OJa=function(a){a&1&&(F(0,"td",34),J(1,38),O(2,FJa,3,3,"ng-container",39),O(3,IJa,3,3,"ng-container",39),O(4,MJa,3,3,"ng-container",39),O(5,NJa,2,3,"b-issue-assignee-cell",
40),K(),H());a&2&&(a=N(),z(1),E("ngSwitch",a.options.assigneeMode),z(1),E("ngSwitchCase","short"),z(1),E("ngSwitchCase","avatar"),z(1),E("ngSwitchCase","avatar-in-progress"))},PJa=function(a){a&1&&(F(0,"th",28),P(1," Status "),H())},QJa=function(a,b){a&1&&(J(0),F(1,"a",45),P(2," Fix Pending "),H(),K());a&2&&(a=b.$implicit,z(1),Hf("href","http://cl/",a.changelistNumber,"",Ud),Jf("matTooltip","Open cl/",a.changelistNumber," from ",a.author,""))},RJa=function(a){a&1&&(J(0),O(1,QJa,3,3,"ng-container",
21),K());if(a&2){a=N().$implicit;var b=N();z(1);E("ngIf",null==b.projectData?null:null==b.projectData.bugToPendingFixCl?null:b.projectData.bugToPendingFixCl.get(a.id))}},SJa=function(a){a&1&&(I(0,"b-issue-status-cell",37),R(1,"async"));a&2&&(a=N().$implicit,E("issue",S(1,1,a.issue$)))},UJa=function(a,b){a&1&&(F(0,"td",34),O(1,RJa,2,1,"ng-container",43),O(2,SJa,2,3,"ng-template",null,44,gg),H());if(a&2){a=b.$implicit;var c=Kf(3);b=N();z(1);E("ngIf",b.options.showPendingFixCls&&TJa(b,a.id))("ngIfElse",
c)}},VJa=function(a){a&1&&(F(0,"th",28),P(1," Team "),H())},WJa=function(a,b){a&1&&(F(0,"td",34),I(1,"b-issue-team-cell",37),R(2,"async"),H());a&2&&(a=b.$implicit,z(1),E("issue",S(2,1,a.issue$)))},XJa=function(a){a&1&&I(0,"th",28)},YJa=function(a,b){a&1&&(F(0,"td",34)(1,"b-actions-menu",46),L("click",function(c){return c.stopPropagation()}),H()());a&2&&(a=b.$implicit,b=N(),z(1),E("menuItems",b.getMenuItems(a)))},ZJa=function(a){a&1&&(F(0,"th",28),P(1," CLs "),H())},$Ja=function(a,b){a&1&&(F(0,"b-async-data-placeholder",
48)(1,"a",49),L("click",function(c){return c.stopPropagation()}),I(2,"b-formatted-date-time",50),H()());a&2&&(a=b.ngIf,E("isReady",null!==a.cl),z(1),Hf("href","http://cl/",null==a.cl?null:a.cl.changelistNumber,"",Ud)("matTooltip","Submitted by ",null==a.cl?null:a.cl.author,""),z(1),E("paddingLeftPx",0)("timestamp",null==a.cl?null:a.cl.timestamp))},bKa=function(a){a&1&&(J(0),O(1,$Ja,3,5,"b-async-data-placeholder",47),R(2,"async"),R(3,"mostRecentCL$"),K());a&2&&(a=N().$implicit,z(1),E("ngIf",Rf(5,aKa,
S(2,1,S(3,3,a.issue$)))))},cKa=function(a,b){a&1&&(F(0,"td",34),O(1,bKa,4,7,"ng-container",21),H());a&2&&(a=b.$implicit,z(1),E("ngIf",0<a.level))},dKa=function(a){a&1&&I(0,"th",28)},eKa=function(a){a&1&&(F(0,"b-actions-menu",46),L("click",function(c){return c.stopPropagation()}),H());if(a&2){a=N().$implicit;var b=N();E("menuItems",b.getMenuItemsForDraft(a))}},fKa=function(a){a&1&&I(0,"b-spinner")},gKa=function(a,b){a&1&&(F(0,"td",51),O(1,eKa,1,1,"b-actions-menu",52),O(2,fKa,1,0,"ng-template",null,
53,gg),H());if(a&2){a=b.$implicit;var c=Kf(3);z(1);E("ngIf",!a.saving)("ngIfElse",c)}},hKa=function(a,b){if(a&1){var c=u();F(0,"td",34)(1,"b-async-data-placeholder",48);R(2,"async");F(3,"b-button",54);L("onAction",function(){var d=w(c).$implicit,e=N();return y(e.displayAllSiblings(d))});F(4,"span",55);P(5);H()()()()}a&2&&(a=b.$implicit,b=N(),wf("padding-left",24*a.level+b.TITLE_FIXED_OFFSET_PX,"px"),of("colspan",b.tableColumns.length),z(1),E("isReady",!!S(2,5,a.parentIssue$)),z(4),Lf("Display ",a.truncatedSiblingCount,
" more"))},iKa=function(a){a&1&&(F(0,"th",28),P(1," Title "),H())},jKa=function(a,b){if(a&1){var c=u();F(0,"td",34)(1,"div",56)(2,"b-text-input-cell",57);L("valueChange",function(d){var e=w(c).$implicit;return y(e.title=d)})("commit",function(){var d=w(c).$implicit,e=N();return y(e.saveDraft(d))});H();F(3,"b-button",58);L("onAction",function(){var d=w(c).$implicit,e=N();return y(e.saveDraft(d))});P(4," Create ");H();F(5,"b-button",59);L("onAction",function(){var d=w(c).$implicit,e=N();return y(e.cancelDraft(d))});
P(6," Cancel ");H()()()}a&2&&(a=b.$implicit,wf("padding-left",24*(a.level+1),"px"),z(2),E("value",a.title)("readonly",a.saving),z(1),E("disabled",!a.title||a.saving),z(2),E("disabled",a.saving))},kKa=function(a){a&1&&I(0,"tr",61)},lKa=function(a){a&1&&(J(0),O(1,kKa,1,0,"tr",60),K());a&2&&(a=N(),z(1),E("matHeaderRowDef",a.tableColumns))},nKa=function(a,b){if(a&1){var c=u();F(0,"tr",62);L("click",function(d){var e=w(c).$implicit,g=N();return y(g.navigateToIssue(d,e))})("mouseup",function(d){var e=w(c).$implicit,
g=N();return y(g.navigateToIssue(d,e))})("focusin",function(){var d=w(c).$implicit,e=N();return y(Wn(e.focusManager,d))})("keydown",function(d){var e=w(c).$implicit,g=N();return y(g.onRowKeydown(e,d))});R(1,"async");R(2,"async");R(3,"async");H()}a&2&&(a=b.$implicit,b=N(),xf("selected",S(1,10,mKa(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(S(2,12,a.issue$)))("highlighted",!!b.getUserInvolvement(S(3,14,a.issue$))),E("row",a),of("data-level",a.level)("data-type",a.type)("data-ancestorchain",
a.ancestorChain.hash()))},oKa=function(a,b){if(a&1){var c=u();F(0,"tr",63);L("focusin",function(){var d=w(c).$implicit,e=N();return y(Wn(e.focusManager,d))})("keydown",function(d){var e=w(c).$implicit,g=N();return y(g.onRowKeydown(e,d))});H()}a&2&&(a=b.$implicit,E("row",a),of("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},pKa=function(a,b){if(a&1){var c=u();F(0,"tr",64);L("keydown",function(d){var e=w(c).$implicit,g=N();return y(g.onRowKeydown(e,d))})("keydown.escape",
function(){var d=w(c).$implicit,e=N();return y(e.cancelDraft(d))})("keydown.backspace",function(){var d=w(c).$implicit,e=N();return y(d.title||e.cancelDraft(d))})("focusin",function(){var d=w(c).$implicit,e=N();return y(Wn(e.focusManager,d))});H()}a&2&&(a=b.$implicit,E("row",a),of("data-type",a.type))},qKa=function(a){return function(b){return kj(b,fo,1).map(function(c){return{workspaceId:c.getWorkspaceId(),workspaceName:c.getName(),issueId:a}})}},rKa=function(a,b){if(a&1){var c=u();J(0);F(1,"iframe",
6);L("load",function(){w(c);var d=N();return y(d.contentLoaded=!0)});H();K()}a&2&&(a=b.$implicit,b=N(),z(1),xf("loading",!b.contentLoaded),E("src",a,Ega))},sKa=function(a){a&1&&I(0,"mat-spinner",7)},uKa=function(a){return tKa.some(function(b){return b.test(a)})},vKa=function(a){var b;return null==(b=a.formContent)?void 0:b.locale},zKa=function(a,b){var c=vKa(a);c=(c&&wKa.includes(c)?vKa(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))?Og(xKa,a):Og(yKa,a,c)},BKa=function(a,b,c,d){if(AKa)return AKa;var e=zKa(a,d);return AKa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var l=go(document,"SCRIPT");Hh(l,e);l.onload=function(){b.feedbackV2GlobalObject?g(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};l.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};
c.body.appendChild(l)})},DKa=function(a,b,c,d){if(CKa)return CKa;var e=zKa(a,d);return CKa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var l=go(document,"SCRIPT");Hh(l,e);l.onload=function(){b.feedbackV2GlobalObject?g(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};l.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(l)})},EKa=function(a,b,c,d,e){e=void 0===e?!0:e;var g,h,
l,q,v;return pe(function(x){switch(x.nextAddress){case 1:return g=Date.now(),x.yield(BKa(a,c,d,b),2);case 2:h=x.yieldResult;if(!(e||(null==(q=a.initializationData)?0:q.useNightlyRelease)||(null==(v=a.initializationData)?0:v.isLocalServer))){l=h.initializeFeedbackClient(a,g,b);x.jumpTo(3);break}return x.yield(h.initializeFeedbackClientAsync(a,g,b),4);case 4:l=x.yieldResult;case 3:return l.initiateAloha(),x.return(l)}})},FKa=function(a,b,c,d){var e,g,h;return pe(function(l){if(1==l.nextAddress)return e=
Date.now(),l.yield(DKa(a,c,d.document,b),2);if(3!=l.nextAddress)return g=l.yieldResult,l.yield(g.initializeFeedbackClientAsync(a,e,b,d),3);h=l.yieldResult;h.initiateAloha();return l.return(h)})},GKa=function(a,b,c){var d=!0;d=void 0===d?!0:d;var e,g,h,l,q,v,x,A,G,M;return pe(function(Q){e=c||ba;if(null==(g=b)?0:null==(l=(h=g).getEnableAlohaBinarySplit)?0:l.call(h)){q=e;if(q.isFormOpened)throw v=Error("id"),v.name="DuplicateFormError",v;q.isFormOpened=!0;a.callbacks=a.callbacks||{};x=a.callbacks.onClose||
function(){};a.callbacks.onClose=function(Y){q.isFormOpened=!1;x(Y)};try{return Q.return(FKa(a,b,q,e))}catch(Y){throw q.isFormOpened=!1,Y;}}else{A=e;if(A.isFormOpened)throw G=Error("id"),G.name="DuplicateFormError",G;A.isFormOpened=!0;a.callbacks=a.callbacks||{};M=a.callbacks.onClose||function(){};a.callbacks.onClose=function(Y){A.isFormOpened=!1;M(Y)};try{return Q.return(EKa(a,b,A,e.document,d))}catch(Y){throw A.isFormOpened=!1,Y;}}})},KKa=function(a,b){return pe(function(c){return c.return(new Promise(function(d){var e=
HKa(null!=b?b:"")+"/aloha_form_properties?productId="+a;Bh(e,function(g){g=g.target;var h=null;try{h=Kca(IKa,JSON.stringify(g.getResponseJson(")]}'\n")))}catch(l){g=new IKa,h=JKa(),h=Gb(h,7,!0),h=Gb(h,10,!0),h=Gb(h,12,!0),h=Gb(h,13,!1),h=Gb(h,14,!0),h=Gb(h,15,!0),h=Gb(h,20,!1),h=hj(g,ho,1,h)}d(h)},"GET","",{},2E3,!0)}))})},HKa=function(a){return uKa(a)?a:"https://www.google.com/tools/feedback"},LKa=function(a){a&1&&(F(0,"div",8),I(1,"b-spinner"),H())},MKa=function(a){a&1&&I(0,"code",22);a&2&&(a=N(2).$implicit,
N(2),E("innerHtml",qk(a.formattingModeDiff),Td))},NKa=function(a){a&1&&(F(0,"code",23),P(1),H());a&2&&(a=N(2).$implicit,z(1),Lf(" ",a.formattingMode," "))},OKa=function(a){a&1&&(F(0,"p",19),P(1," Formatting: "),O(2,MKa,1,1,"code",20),O(3,NKa,2,1,"code",21),H());a&2&&(a=N(3),z(2),E("ngIf",a.diffView),z(1),E("ngIf",!a.diffView))},PKa=function(a){if(a&1){var b=u();F(0,"div")(1,"span",24)(2,"b-person-hovercard",25);R(3,"omitObfuscatedEmail");P(4);R(5,"appendDomain");H()();F(6,"a",26);L("click",function(c){w(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 y()});P(7);H()()}a&2&&(a=N().$implicit,N(2),z(2),E("email",S(3,5,pi(a.lastEditorUser))),z(2),Lf(" <",S(5,7,pi(a.lastEditorUser)),"> "),z(2),qf("aria-label","Comment version ",a.version,""),Hf("id","bv2-edit-issue-comment-",a.version,""),z(1),Lf(" #",a.version,""))},QKa=function(a){a&1&&(F(0,"div",30),P(1),H());a&2&&(a=N(2).$implicit,z(1),
Mf(a.preview))},RKa=function(a){a&1&&(F(0,"div",31),P(1,"Comment deleted."),H())},SKa=function(a){a&1&&(F(0,"div",32),P(1,"Comment history restricted."),H())},TKa=function(a){a&1&&(J(0),O(1,QKa,2,1,"div",27),O(2,RKa,2,0,"div",28),O(3,SKa,2,0,"div",29),K());a&2&&(a=N().$implicit,z(1),E("ngIf",!a.restricted&&!a.deleted),z(1),E("ngIf",!a.restricted&&a.deleted),z(1),E("ngIf",a.restricted))},UKa=function(a){a&1&&(F(0,"div",35),P(1,"Comment deleted."),H())},VKa=function(a){a&1&&(F(0,"div",36),R(1,"async"),
H());if(a&2){a=N(2).$implicit;var b=N(2);xf("codefont",S(1,3,b.codefont.codefont$));E("innerHtml",a.unlinkifiedComment,Td)}},WKa=function(a){a&1&&(F(0,"div",36),R(1,"async"),H());if(a&2){a=N(2).$implicit;var b=N(2);xf("codefont",S(1,3,b.codefont.codefont$));E("innerHtml",qk(a.diff),Td)}},XKa=function(a){a&1&&(F(0,"div",32),P(1," This comment is not available due to present or past restrictions on the comment. "),H())},YKa=function(a){a&1&&(J(0),O(1,UKa,2,0,"div",33),O(2,VKa,2,5,"div",34),O(3,WKa,
2,5,"div",34),O(4,XKa,2,0,"div",29),K());if(a&2){a=N().$implicit;var b=N(2);z(1);E("ngIf",!a.restricted&&a.deleted);z(1);E("ngIf",!b.diffView&&!a.restricted&&!a.deleted);z(1);E("ngIf",b.diffView&&!a.restricted&&!a.deleted);z(1);E("ngIf",a.restricted)}},ZKa=function(a,b){if(a&1){var c=u();F(0,"li",11)(1,"div",12);I(2,"b-user-image",13);H();F(3,"div",14);L("click",function(){var d=w(c).$implicit;return y(d.open=!d.open)});I(4,"b-user-display",15)(5,"b-formatted-date-time",16);O(6,OKa,4,2,"p",17);O(7,
PKa,8,9,"div",18);O(8,TKa,4,3,"ng-container",18);H();O(9,YKa,5,4,"ng-container",18);H()}a&2&&(a=b.$implicit,N(2),xf("comment-version-open",a.open),z(2),E("email",pi(a.lastEditorUser)),z(2),E("model",a.lastEditorUser),z(1),E("timestamp",a.lastModified),z(1),E("ngIf",!a.deleted),z(1),E("ngIf",a.open),z(1),E("ngIf",!a.open),z(1),E("ngIf",a.open))},$Ka=function(a){a&1&&(F(0,"ul",9),O(1,ZKa,10,9,"li",10),H());a&2&&(a=N(),z(1),E("ngForOf",a.history)("ngForTrackBy",a.trackByIndex))},cLa=function(a,b){var c=
new aLa;a=io(c,a,b);bLa(c,a);c=a.map(function(d){var e=d[0];d=d[1];switch(e){case -1:return An("SPAN",{"class":"diff-removed"},d);case 1:return An("SPAN",{"class":"diff-added"},d);case 0:return An("SPAN",{"class":null},d);default:throw Error("kd`"+e);}});return Bn(c)},dLa=function(a){var b;return"DELETED"===(null==(b=a.entityStatus)?void 0:b.status)},eLa=function(a){a&1&&(F(0,"div",2),P(1," You are about to access a file marked as restricted. Access will be logged and audited. You must delete any downloaded files from local storage when finished. "),
F(2,"a",13),P(3," Learn more "),H()());a&2&&(a=N(2),z(2),E("href",a.getRestrictedAccessHelpLink(),Ud))},gLa=function(a){a&1&&(J(0),O(1,eLa,4,1,"div",8),K());a&2&&(a=N(),z(1),E("ngIf",fLa(a)))},hLa=function(a){a&1&&(F(0,"div",2)(1,"span",14),P(2," You do not have access to view this attachment. "),H()())},iLa=function(a){a&1&&I(0,"mat-spinner",15)},jLa=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N(),xf("muted",a.isGreyedOut),z(1),Lf(" ",a.displayName,""))},kLa=function(a){if(a&1){var b=u();F(0,
"a",2);L("click",function(c){w(b);var d=N();return y(d.handleClick(c))});P(1);H()}a&2&&(a=N(),E("href",a.linkUrl,Ud)("rel",a.EXTERNAL_LINK_REL),z(1),Lf(" ",a.displayName,""))},nLa=function(a){a&1&&(F(0,"span"),P(1),F(2,"b"),P(3),H(),P(4," on "),F(5,"b"),P(6),R(7,"date"),H(),P(8,". "),H());a&2&&(a=N(4),z(1),Lf(" Currently, the ",a.contentType," is scheduled for deletion in "),z(2),Mf(lLa(mLa(a).getTime(),!0)),z(3),Mf(Uf(7,3,mLa(a),"longDate")))},oLa=function(a){a&1&&(F(0,"span")(1,"b"),P(2,"Retention:"),
H(),P(3),F(4,"b"),P(5),H(),P(6," from the last modification of the issue. "),O(7,nLa,9,6,"span",11),H());if(a&2){a=N(3);var b=Kf(10);z(3);Lf(" This ",a.contentType," has a retention period of ");z(2);Mf(a.getRetentionPeriod());z(2);E("ngIf",!(mLa(a).getTime()<(new Uh).getTime()))("ngIfElse",b)}},pLa=function(a){a&1&&(P(0),F(1,"b"),P(2,"overridden"),H(),P(3," retention period set to match the issue retention period. "));a&2&&(a=N(3),Lf(" The ",a.contentType," has an "))},qLa=function(a){a&1&&(F(0,
"p",10),O(1,oLa,8,4,"span",11),O(2,pLa,4,1,"ng-template",12),H());if(a&2){a=N(2);var b=Kf(8);E("ngSwitch",a.retention);z(1);E("ngIf",!(a.retentionState&&!a.retentionState.scheduledDeletionTime))("ngIfElse",b);z(1);E("ngSwitchCase",a.retentionModel.INDEFINITE)}},rLa=function(a){a&1&&(F(0,"div",7)(1,"p")(2,"b"),P(3,"Restricted Access:"),H(),P(4),F(5,"a",8),P(6," Learn More "),H()(),O(7,qLa,3,4,"p",9),H());a&2&&(a=N(),z(4),Lf(" This ",a.contentType," is only available to users with the appropriate permissions. "),
z(1),E("rel",a.EXTERNAL_LINK_REL),of("href",a.documentationLinks.getRestrictedAccessHelpLink(),Ud),z(2),E("ngIf",a.retentionState))},sLa=function(a){a&1&&(F(0,"b"),P(1,"Retention:"),H(),P(2));a&2&&(a=N(),z(2),Lf(" This ",a.contentType," has an indefinite retention period. "))},tLa=function(a){a&1&&(P(0," The retention has "),F(1,"b"),P(2,"expired"),H(),P(3),F(4,"b"),P(5),R(6,"date"),H(),P(7,". "));a&2&&(a=N(),z(3),Lf(" and the ",a.contentType," was scheduled for deletion on "),z(2),Mf(Uf(6,2,mLa(a),
"longDate")))},uLa=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N().$implicit,z(1),Mf(a.text))},vLa=function(a){a&1&&(F(0,"span"),I(1,"b-access-level-indicator",2),H());a&2&&(a=N().$implicit,z(1),E("accessLevel",a.accessLevel))},wLa=function(a,b){a&1&&(F(0,"span"),O(1,uLa,2,1,"span",1),O(2,vLa,2,1,"span",1),H());a&2&&(a=b.$implicit,b=N(),z(1),E("ngIf",b.isText(a)),z(1),E("ngIf",!b.isText(a)))},yLa=function(a,b){var c=xLa.get(b);if(!c)return null;a=a.toLowerCase().indexOf(c);return 0<=a?{accessLevel:b,
startOfMatch:a,endOfMatch:a+c.length}:null},zLa=function(a){if(a&1){var b=u();F(0,"div");I(1,"br");F(2,"mat-checkbox",8);L("ngModelChange",function(c){w(b);var d=N();return y(d.acknowledged=c)});H();F(3,"span");P(4,"All information in this issue is suitable for external sharing.");H()()}a&2&&(a=N(),z(2),E("ngModel",a.acknowledged))},ALa=function(a){if(a&1){var b=u();F(0,"button",9);L("click",function(){w(b);var c=N();return y(c.allow())});P(1," Move Issue ");H()}a&2&&(a=N(),E("disabled",!a.acknowledged))},
BLa=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N().$implicit,z(1),Lf("(",a.disabledReason,")"))},CLa=function(a,b){a&1&&(F(0,"mat-radio-button",8),P(1),O(2,BLa,2,1,"span",9),H());a&2&&(a=b.$implicit,E("value",a)("disabled",!a.enabled),z(1),Lf(" ",a.displayText," "),z(1),E("ngIf",!a.enabled))},DLa=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N().$implicit,z(1),Lf("(",a.disabledReason,")"))},ELa=function(a,b){a&1&&(F(0,"mat-radio-button",8),P(1),O(2,DLa,2,1,"span",9),H());a&2&&(a=b.$implicit,
E("value",a)("disabled",!a.enabled),z(1),Lf(" ",a.displayText," "),z(1),E("ngIf",!a.enabled))},FLa=function(a){return a?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202"},GLa=function(a){a&1&&I(0,"mat-icon",7);if(a&2){a:switch(N().reactionType){case "UPVOTE":a="thumb_up_24px";break a;default:a="warning"}E("svgIcon",a)}},HLa=function(a){a&1&&I(0,"b-spinner")},ILa=function(a,b){a&1&&(F(0,"div")(1,"div",9),P(2),H()());a&2&&(a=
b.$implicit,N(2),z(2),Mf(pi(a.user)))},JLa=function(a){a&1&&(J(0),O(1,ILa,3,1,"div",8),K());a&2&&(a=N(),z(1),E("ngForOf",a.allResponders))},KLa=function(a){switch(a){case "PII_SEVERITY_UNSPECIFIED":return 0;case "NONE_DETECTED":return 1;case "PII":return 2;case "SPII":return 3;default:throw Error("ld`"+a);}},LLa=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N(),z(1),Lf("Retain ",a.resource," as long as issue?"))},MLa=function(a){a&1&&(F(0,"span"),P(1,"Apply component retention settings?"),H())},
NLa=function(a){a&1&&(F(0,"span")(1,"p"),P(2),H(),F(3,"p")(4,"b"),P(5,"Please note long retention is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored."),H(),I(6,"br"),P(7," Before selecting this option, you should make sure that Legal and Privacy have approved this non-standard retention period."),H()());a&2&&(a=N(),z(2),Lf("Are you sure you want to override any component retention settings, and retain this ",a.resource," as long as issue?"))},
OLa=function(a){a&1&&(F(0,"span")(1,"p"),P(2),H()());a&2&&(a=N(),z(2),Nf("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."))},PLa=function(a){if(a&1){var b=u();F(0,"mat-checkbox",9);L("ngModelChange",function(c){w(b);var d=N();return y(d.acknowledgeToMatchIssueRetention=c)});P(1," I acknowledge ");H()}a&2&&(a=N(),E("ngModel",a.acknowledgeToMatchIssueRetention))},
QLa=function(){var a=Math.random;this.initialMaxDelayMs_=500;this.random_=a;this.reset()},ko=function(a){return new jo((a instanceof jo?a:new jo(a)).value,!0)},RLa=function(a){if(a.oauthTokens){var b=a.oauthTokens;return(0,D.firstValueFrom)(b).then(function(c){c=new D.BehaviorSubject(c);b.subscribe(c);return new lo(c)})}return a.apiKey?a.appAuthTokens?Promise.resolve(new mo(a.apiKey,a.appAuthTokens)):Promise.resolve(new no(a.apiKey,a.authUser)):Promise.reject(Error("wd"))},SLa=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}},TLa=function(a){return new D.Observable(function(b){var c=oo(function(){b.next({});b.complete()},a);return function(){po(c)}})},ULa=function(a){var b=new qo;b.setName(a);return b},VLa=function(a){a.isPrivateToUser()?(a=new ro,so(a,2,to,Za(!0))):(a=new ro,so(a,1,to,Za(!0)));return a},XLa=function(a){var b=
new uo;a=k(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new vo;if(d.value instanceof wo)d.isDecreasing?so(c,4,xo,d.value.toString()):so(c,2,xo,d.value.toString());else if("string"===typeof d.value)d.isDecreasing?yo(c,3,xo,d.value):yo(c,1,xo,d.value);else if("number"===typeof d.value)d.isDecreasing?so(c,9,xo,Xa(d.value)):so(c,10,xo,Xa(d.value));else if(d.value instanceof Uint8Array)d.isDecreasing?so(c,5,xo,Sa(d.value,!1,!1)):so(c,7,xo,Sa(d.value,!1,!1));else if(d.value instanceof
zo)d.isDecreasing?(d=WLa(d.value),Ao(c,11,xo,d)):(d=WLa(d.value),Ao(c,12,xo,d));else if(d.value instanceof Bo){var e=d.value.rep;"number"===typeof e?d.isDecreasing?so(c,9,xo,Xa(e)):so(c,10,xo,Xa(e)):"string"===typeof e&&(d.isDecreasing?so(c,6,xo,e):so(c,8,xo,e))}Co(b,1,vo,c)}return b},bMa=function(a,b){if(a instanceof Do)return 0<kj(b,vo,1).length?null:YLa.apply(Do,cd(a.parts));a=Array.of.apply(Array,cd(a.root.parts));b=k(kj(b,vo,1));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,Mi(c,xo)){case 4:a.push(ko(Eo(Fo(c,
Go(c,xo,4)))));break;case 2:a.push(new jo(Eo(Fo(c,Go(c,xo,2)))));break;case 6:a.push(ko(new Bo(ZLa(c,6))));break;case 8:a.push(new jo(new Bo(ZLa(c,8))));break;case 10:a.push(new jo(new Bo(Ho(c,Go(c,xo,10)))));break;case 9:a.push(ko(new Bo(Ho(c,Go(c,xo,9)))));break;case 3:a.push(ko(Io(c,3,xo)));break;case 1:a.push(new jo(Io(c,1,xo)));break;case 7:var d=void 0;a.push(new jo(null==(d=Jo(c,Go(c,xo,7)))?void 0:$La(d)));break;case 5:d=void 0;a.push(ko(null==(d=Jo(c,Go(c,xo,5)))?void 0:$La(d)));break;case 12:c=
aMa(ck(c,Nh,12,xo));if(null===c)return null;a.push(new jo(c));break;case 11:c=aMa(ck(c,Nh,11,xo));if(null===c)return null;a.push(ko(c));break;case 0:return null;default:return null}return YLa.apply(Do,cd(a))},Ko=function(a){return(null!=a?a:[]).map(Ei)},Lo=function(a){return(null!=a?a:[]).map(Nqa)},Mo=function(a){return null==a?"":"number"===typeof a?isFinite(a)?String(a):"":a&&(a=String(a),254>=a.length)?a:""},fMa=function(){var a=No("gapi.config.get");if((a=Mo(a&&a("googleapis.config/sessionIndex")))||
(a=Mo(ba.__X_GOOG_AUTHUSER))||(a=Mo(No("google.authuser"))))return a;var b=ba.location.href||"",c=cMa.exec(b);try{a=Mo(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;c=dMa.exec(b);try{a=Mo(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;a=eMa.exec(b);return(a=Mo(a&&a[1]))?a:""},gMa=function(){var a=No("gapi.auth.getToken");a=(a=a?a():null)&&a.access_token;var b=null;if(!a){a=(a=No("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}},hMa=function(a){a=void 0===a?"":a;var b;if(!(b=gMa())){b=a;var c=void 0===c?fMa():c;a={};var d=Oo([]);d&&(a.Authorization=d);b||(b=(b=No("gapi.config.get"))&&b("client/apiKey"));b&&(a["X-Goog-Api-Key"]=b);c&&(a["X-Goog-AuthUser"]=String(c));b=a}return b},iMa=function(a,b){b=void 0===b?0:b;var c;if(c=0===b)c=(c=No("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=No("gapi.config.get"))&&b("client/rewrite"))&&b[a]&&(a=String(b[a]));return a},kMa=function(a,b){return 1>a||!isFinite(a)?Promise.reject("gapi.client missing"):(new Promise(function(c){return ba.setTimeout(c,b)})).then(function(){return jMa(a-1,2*b)})},jMa=function(a,
b){a=void 0===a?0:a;b=void 0===b?5E3:b;var c=ba;try{do var d=c.gapi;while(!d&&c!==c.top&&(c=c.parent))}catch(e){}if(!d)return kMa(a,b);ba.gapi||(ba.gapi=d);return d.client?Promise.resolve(d):new Promise(function(e,g){d.load("client",function(){d.client?e(d):g("gapi.client missing")})})},lMa=function(){var a=void 0===a?"":a;var b=void 0===b?fMa():b;var c=No("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)},mMa=function(a){return(new Po).setEventType(2).setRpcType(2).setLookupType(a)},nMa=function(a){a=Math.round(1E3*a);return isFinite(a)?a:null},Qo=function(a){var b;return null!=(b=null==a?void 0:a.trim())?b:""},To=function(a,b,c,d){Ro.call(this);this.initialized_=!1;this.title_=null;this.cache_=b;this.id_=c;this.transport_=a;oMa(this.transport_,this.id_);d&&So(d.getEventTarget(),"e",this.onContactsChange_,!1,this)},pMa=function(a){var b={};if(a){a=k(a);for(var c=a.next();!c.done;c=
a.next()){var d=c.value;c=d.containerType;d=d.id||"";c&&d&&(b[c]=b[c]||d)}}return b},rMa=function(a){return a.extendedData&&a.extendedData.contactPreferences?a.extendedData.contactPreferences.map(function(b){return qMa(b.name,b.email)}).join(", "):""},uMa=function(a,b,c){var d=[];a&&(sMa("name",a.name,b,d,c),sMa("phone",a.phone,b,d,c),sMa("photo",a.photo,b,d,c));return d.map(function(e){return new tMa(e)})},sMa=function(a,b,c,d,e){if(b){b=k(b);for(var g=b.next();!g.done;g=b.next())if(g=g.value,"CONTACT"!==
No("metadata.containerType",g)){var h=c,l=d,q=e,v=No("metadata.encodedContainerId",g),x=No("metadata.containerType",g);if(h.contains(v,x))var A=h.get(v,x)||0;else A=l.length,h.set(v,x,A),l.push({}),q.push(v);A=l[A];A[a]=A[a]||[];A[a].push(g)}}},wMa=function(a,b){if(a){a=vMa(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},xMa=function(a,b){if(a){a=a.getPhone();for(var c=0;c<a.getFieldLength();c++){var d=a.getField(c);
if(d.hasValue()&&(!b||b(d.getMetaData())))return d.getValue()}}return null},yMa=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},zMa=function(a){this.query_=a;this.error_=0},Vo=function(a,b){b=a(b||AMa,void 0);a=Uo();b&&b.renderAsElement?a=b.renderAsElement():(a=a.createElement("DIV"),b=BMa(b),CMa(a,b));1==a.childNodes.length&&(b=a.firstChild,1==b.nodeType&&(a=b));return a},BMa=function(a){return wa(a)?
a.toSafeHtml&&(a=a.toSafeHtml(),a instanceof Kg)?a:yn("zSoyz"):yn(String(a))},Xo=function(a,b,c,d,e,g,h){this.serverBase_="string"===typeof a?new Wo(a):a;this.useApiary_=!!c;this.apiaryClientDeferred_=d;this.onAuthError_=e;this.testGaia_=!!g;this.contactStoreConfig_=h;this.commonAcParams_={};this.acWrappers_={};this.onAcCompleteListeners_={};this.inputToAcWrapper_={};this.focusedElement_=null},DMa=function(a){a=a.getEmail();if(!a)return!1;for(var b=k(["-pager","+pager","-oncall","+oncall","lifeguard-ng"]),
c=b.next();!c.done;c=b.next())if(0<=a.indexOf(c.value))return!0;return!1},HMa=function(a,b,c,d){a=a.filter(EMa());if(!d)return a;d=d.map(function(e){return{contact:e,toString:function(){return e.text}}});b=FMa(new GMa(d),b,d.length);return a.concat(b.map(function(e){return e.contact}))},LMa=function(a){if(a&1){var b=u();F(0,"input",7,8);L("change",function(){w(b);var c=N();if(IMa(c)){var d=Yo(c);JMa(c);KMa(c,!0);Yo(c).focus();d.scrollTop=c.scrollPosition;d.selectionEnd=c.textAreaLastCursorLocation;
d.dispatchEvent(new KeyboardEvent("keydown"));c.contentChange.emit(c.getValue())}return y()})("keyup",function(c){w(b);var d=N();document.activeElement===Zo(d)&&("Enter"===c.key||"Tab"===c.key?(d.taggingInProgress=!1,KMa(d,!0),Yo(d).focus()):KMa(d));return y()});H()}a&2&&(a=N(),E("value",a.autocompleteUserName))},MMa=function(a){a&1&&I(0,"div",9,10)},NMa=function(a){a&1&&Cf(0)},OMa=function(a){a&1&&Cf(0)},PMa=function(a){a&1&&I(0,"b-live-preview",11);a&2&&(a=N(),E("comment",a.newComment.text)("issueId",
a.origComment.issueId)("audience",a.origComment.audience)("formattingMode",a.newComment.formattingMode))},QMa=function(a){if(a&1){var b=u();F(0,"section")(1,"div",12)(2,"b-recaptcha",13);L("onUpdate",function(c){w(b);var d=N();return y(d.recaptchaResponse=c)});H()()()}},RMa=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]}}},SMa=function(a){var b=[],c=new Map;a=k(a);for(var d=
a.next();!d.done;d=a.next())if(d=d.value,""!==d.displayText)if(c.get(d.resourceId)){var e=c.get(d.resourceId);e.relations=[].concat(cd(e.relations),cd(d.relations))}else c.set(d.resourceId,d),b.push(d);return b},TMa=function(a){a&1&&I(0,"b-restricted-chip",10);a&2&&(a=N(),E("label",a.getRestrictedLabel())("retentionState",null==a.attachment?null:a.attachment.piiRetentionState)("contentType","attachment"))},UMa=function(a){a&1&&(F(0,"span",11),I(1,"b-actions-menu",12),H());a&2&&(a=N(),z(1),E("menuItems",
a.actionMenuItems)("buttonLabel","Attachment actions")("matTooltip","Attachment actions"))},YMa=function(a){if(a&1){var b=u();F(0,"span")(1,"b-conditional-link",13);L("customHandler",function(){w(b);var c=N();c.isRestricted()?VMa(c,!1):c.domSafe.openInNewTab(WMa(c,!1));return y()});H()()}a&2&&(a=N(),Af("bv2-issue-attachment-link ",XMa(a),""),z(1),E("isGreyedOut",!a.hasViewAccess)("displayName","View")("linkUrl",WMa(a,!1))("linkEnabled",!0)("useCustomHandler",!0))},ZMa=function(a){if(a&1){var b=u();
F(0,"span")(1,"b-conditional-link",13);L("customHandler",function(){w(b);var c=N();c.isRestricted()?VMa(c,!0):c.domSafe.openInNewTab(WMa(c,!0));return y()});H()()}a&2&&(a=N(),Af("bv2-issue-attachment-link ",XMa(a),""),z(1),E("isGreyedOut",!a.hasViewAccess)("displayName","Download")("linkUrl",WMa(a,!0))("linkEnabled",!0)("useCustomHandler",!0))},$Ma=function(a){a&1&&(F(0,"span",14)(1,"a",15),I(2,"mat-icon",16),H()());a&2&&(a=N(),z(1),E("href",a.documentationLinks.getRestrictedAccessHelpLink(),Ud)("disableRipple",
!0),z(1),E("svgIcon","help-outline"))},aNa=function(a){a&1&&(F(0,"div",17),P(1," You do not have access to this restricted attachment. "),F(2,"a",18),P(3,"Learn more"),H()());a&2&&(a=N(),z(2),E("href",a.documentationLinks.getRestrictedAccessHelpLink(),Ud))},cNa=function(a){if(a&1){var b=u();F(0,"button",20,21);L("click",function(){w(b);var c=N(2);return y(bNa(c))});P(2," Edit ");H()}},dNa=function(a,b){a&1&&(J(0),P(1," on behalf of "),I(2,"b-user-display-name",22),K());a&2&&(a=b.ngIf,z(2),E("email",
a)("showEmail",!1))},eNa=function(a){a&1&&(J(0),O(1,dNa,3,2,"ng-container",12),R(2,"async"),K());a&2&&(a=N(2),z(1),E("ngIf",S(2,1,a.onBehalfOfEmail$)))},fNa=function(a,b){if(a&1){var c=u();F(0,"a",23);L("click",function(d){var e=w(c).$implicit;N(2).issueReferenceResolver.visit({issueId:e,elementId:"comment1",event:d});return y()});P(1);H()}a&2&&(a=b.$implicit,b=N().$implicit,N(),E("routerLinkObj",wwa(a,{comment:1})),of("aria-label","Comment number"+b.commentNumber),z(1),Lf(" #",b.commentNumber,""))},
hNa=function(a){a&1&&(J(0),F(1,"span",24),P(2," \u2022 Edited"),H(),K());if(a&2){a=N().$implicit;var b=N();z(1);E("matTooltip",gNa(b,a))}},iNa=function(a){a&1&&(J(0),F(1,"p",25),P(2," Description has been deleted. "),H(),K())},jNa=function(a){if(a&1){var b=u();F(0,"b-restricted-comment-placeholder",28);L("onConfirm",function(){w(b);var c=N().ngIf,d=N(3).$implicit,e=N();return y(e.loadRestrictedComment(c,d))});R(1,"async");H()}a&2&&(a=N(5),E("disabled",!S(1,1,a.mayReadPii$)))},kNa=function(a){a&1&&
(J(0),O(1,jNa,2,3,"b-restricted-comment-placeholder",27),R(2,"async"),K());a&2&&(a=N(4),z(1),E("ngIf",S(2,1,a.shouldShowRestrictedPlaceholder$)))},lNa=function(a){a&1&&(J(0),O(1,kNa,3,3,"ng-container",12),R(2,"async"),K());a&2&&(a=N(3),z(1),E("ngIf",S(2,1,a.id$)))},mNa=function(a,b){a&1&&(I(0,"b-note-container",31),R(1,"async"));if(a&2){a=b.$implicit;b=N().ngIf;var c=N(4);E("issueId",b)("issueAccessLevel",S(1,4,c.accessLevel$))("note",a)("formattingMode",c.formattingMode)}},nNa=function(a){a&1&&(J(0),
O(1,mNa,2,6,"b-note-container",30),R(2,"async"),K());if(a&2){a=N(3).$implicit;var b=N();z(1);E("ngIf",""!==a.unlinkifiedComment&&S(2,1,b.firstNote$))}},oNa=function(a){a&1&&(J(0),P(1," Add one."),K())},pNa=function(a){a&1&&(F(0,"p",32),P(1," No description yet."),O(2,oNa,2,0,"ng-container",12),H());a&2&&(a=N(4),z(2),E("ngIf",a.canEditComment()))},qNa=function(a){a&1&&(O(0,nNa,3,3,"ng-container",12),R(1,"async"),O(2,pNa,3,1,"p",29));if(a&2){a=N(2).$implicit;var b=N();E("ngIf",S(1,2,b.id$));z(2);E("ngIf",
""===a.unlinkifiedComment)}},rNa=function(a){a&1&&(O(0,lNa,3,3,"ng-container",17),R(1,"async"),O(2,qNa,3,4,"ng-template",null,26,gg));if(a&2){var b=Kf(3);a=N(2);E("ngIf",S(1,2,a.isRedacted$))("ngIfElse",b)}},sNa=function(a,b){a&1&&(J(0),I(1,"b-attachment-viewer",36),K());if(a&2){a=b.ngIf;b=N().$implicit;var c=N(3);z(1);E("issueId",a)("attachment",b)("attachmentUploader",c.getUserEmailIfAvailable())}},tNa=function(a,b){a&1&&(F(0,"div",35),O(1,sNa,2,3,"ng-container",12),R(2,"async"),H());a&2&&(a=b.$implicit,
b=N(3),Hf("id","attachment",a.attachmentId,""),z(1),E("ngIf",S(2,2,b.id$)))},uNa=function(a){a&1&&(F(0,"div",33),O(1,tNa,3,4,"div",34),H());a&2&&(a=N().$implicit,z(1),E("ngForOf",a.attachments))},wNa=function(a,b){a&1&&(F(0,"div",2),I(1,"mat-icon",3),F(2,"div",4)(3,"div",5)(4,"div",6)(5,"h4",7),P(6,"Description"),H(),O(7,cNa,3,0,"button",8),I(8,"b-user-display",9),F(9,"onedev-hovercard",null,10),I(11,"b-issue-person-card",11),H(),P(12," created issue "),O(13,eNa,3,3,"ng-container",12),R(14,"async"),
O(15,fNa,2,3,"a",13),R(16,"async"),O(17,hNa,3,1,"ng-container",12),R(18,"async"),H(),F(19,"div"),I(20,"b-formatted-date-time",14)(21,"b-actions-menu",15,16),R(23,"async"),H()(),O(24,iNa,3,0,"ng-container",17),R(25,"async"),O(26,rNa,4,4,"ng-template",null,18,gg),O(28,uNa,2,1,"div",19),H()());if(a&2){a=b.$implicit;var c=Kf(10),d=Kf(27);b=N();var e;z(7);E("ngIf",b.canEditComment());z(1);E("onedevHovercardTrigger",c)("model",a.userPerformingActionUser);z(3);E("email",b.getUserEmailIfAvailable());z(2);
E("ngIf",S(14,13,b.isAuthorNotReporter$));z(2);E("ngIf",a.commentNumber&&S(16,15,b.id$));z(2);E("ngIf",S(18,17,b.isShowCommentHistoryActionInMenu$));z(3);E("timestamp",a.modifiedDate);z(1);E("buttonLabel","Description actions")("menuItems",null!==(e=S(23,19,b.commentActionMenuItems$))&&void 0!==e?e:Qf(23,vNa));z(3);E("ngIf",S(25,21,b.isDeleted$))("ngIfElse",d);z(4);E("ngIf",null==a?null:null==a.attachments?null:a.attachments.length)}},xNa=function(a){a&1&&I(0,"b-spinner")},yNa=function(a){return(null==
a?void 0:a.emailAddress)||(null==a?void 0:a.obfuscatedEmailAddress)||""},zNa=function(a,b){a&1&&I(0,"b-issue-person-card",7);a&2&&E("email",b.ngIf)},ANa=function(a,b){a&1&&(J(0),F(1,"span",4),P(2),R(3,"shortenEmail"),H(),F(4,"onedev-hovercard",null,5),O(6,zNa,1,1,"b-issue-person-card",6),H(),K());if(a&2){a=b.ngIf;var c=Kf(5);b=N(2);z(1);E("onedevHovercardTrigger",c);z(1);Lf(" ",Uf(3,3,b.userToString(a),30)," ");z(4);E("ngIf",a.emailAddress)}},BNa=function(a,b){if(a&1){var c=u();F(0,"a",8);L("click",
function(d){var e=w(c).ngIf,g=N(2);return y(g.scrollCommentIntoView(d,e))});P(1);H()}a&2&&(a=b.ngIf,b=N(2),qf("aria-label","Comment number ",a,""),E("routerLinkObj",b.getCommentNumberLink(a)),z(1),Lf(" #",a,""))},CNa=function(a){a&1&&(J(0),P(1,","),K())},DNa=function(a,b){a&1&&(F(0,"span",1),O(1,ANa,7,6,"ng-container",2),F(2,"span"),O(3,BNa,2,3,"a",3),O(4,CNa,2,0,"ng-container",2),H()());a&2&&(a=b.$implicit,b=b.last,z(1),E("ngIf",a.userPerformingActionUser),z(2),E("ngIf",a.commentNumber),z(1),E("ngIf",
!b))},ENa=function(a,b){a&1&&(F(0,"div",4)(1,"a",5),R(2,"removePngExtension"),I(3,"b-secure-image-widget",6),H(),I(4,"comments-info",7),H());a&2&&(a=b.$implicit,b=N(3),z(1),If("href",S(2,5,a.src),Ud),z(2),E("showByDefault",!0)("src",a.src),z(1),E("issueId",b.issueId)("comments",a.comments))},FNa=function(a){if(a&1){var b=u();F(0,"button",10);L("click",function(){w(b);var c=N(2).ngIf,d=N(2);c=c.length;var e=on(d.maxImagesInOneRow$);e&&d.lastRenderedImageIndex$.next((Math.floor(c/e)+4)*e);return y()});
P(1," Load more ");H()}},GNa=function(a){if(a&1){var b=u();F(0,"button",11);L("click",function(){w(b);var c=N(4);return y(c.goToResourcesTab())});P(1," See all screenshots ");H()}},HNa=function(a){a&1&&(J(0),O(1,FNa,2,0,"button",8),O(2,GNa,2,0,"ng-template",null,9,gg),K());if(a&2){var b=Kf(3);a=N(3);z(1);E("ngIf",a.paginate)("ngIfElse",b)}},INa=function(a,b){a&1&&(J(0),F(1,"div",2),O(2,ENa,5,7,"div",3),R(3,"async"),H(),O(4,HNa,4,2,"ng-container",1),K());if(a&2){a=b.ngIf;b=N().ngIf;var c=N();z(1);
xf("show-all-images",c.paginate);z(1);E("ngForOf",S(3,4,c.imagesToRender$));z(2);E("ngIf",b.length!==a.length)}},JNa=function(a){a&1&&(J(0),O(1,INa,5,6,"ng-container",1),R(2,"async"),K());a&2&&(a=N(),z(1),E("ngIf",S(2,1,a.imagesToRender$)))},KNa=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0,e=null!=(d=b.get(c.src))?d:[];e.push(c.comment);b.set(c.src,e)}return Array.from(b.entries()).map(function(g){var h=k(g);g=h.next().value;h=h.next().value;return{src:g,
comments:Al(h)}})},LNa=function(a){a&1&&(F(0,"span",5),P(1),R(2,"reverse"),H());a&2&&(a=N(),z(1),Mf(S(2,1,a.leftText)))},MNa=function(a){a&1&&(J(0),F(1,"b-external-hyperlink-widget",6),P(2),H(),K());a&2&&(a=N(),z(1),E("href",a.redirectedHref)("originalHref",a.originalHref),z(1),Mf(a.linkText))},NNa=function(a){a&1&&(F(0,"b-issue-reference-widget",9),P(1),H());a&2&&(a=N(2),E("href",a.redirectedHref)("issueId",a.issueId),z(1),Mf(a.linkText))},ONa=function(a){a&1&&(F(0,"a",10),P(1),H());a&2&&(a=N(2),
If("href",a.redirectedHref,Ud),z(1),Mf(a.linkText))},PNa=function(a){a&1&&(O(0,NNa,2,3,"b-issue-reference-widget",7),O(1,ONa,2,2,"ng-template",null,8,gg));if(a&2){var b=Kf(2);a=N();E("ngIf",a.issueId)("ngIfElse",b)}},QNa=function(a){a&1&&(F(0,"span",11),P(1),H());a&2&&(a=N(),z(1),Mf(a.rightText))},RNa=function(a){var b=document.createElement("div");if(a=nta(a))1===b.nodeType&&Kpa(b),b.innerHTML=qk(a);return b},SNa=function(a){a&1&&(J(0),F(1,"td"),I(2,"b-issue-priority-display",2),H(),F(3,"td",3)(4,
"span",4),P(5),H(),I(6,"mentioned-link-with-context",5),H(),F(7,"td"),I(8,"comments-info",6),R(9,"toComments"),H(),K());if(a&2){a=N().$implicit;var b=N(3),c;z(2);E("matTooltip",a.hasViewAccess?"":"Access is denied to this issue")("issuePriority",a.priority);z(2);E("matTooltip",a.hasViewAccess?"":"Access is denied to this issue");z(1);Lf(" ",null!==(c=a.title)&&void 0!==c?c:"--"," ");z(1);E("sourceComment",a.sourceComments[0].issueEvent)("relatedLink",a.relatedLinks[0]);z(2);E("issueId",b.issueId)("comments",
S(9,8,a.sourceComments))}},TNa=function(a,b){a&1&&(F(0,"tr"),O(1,SNa,10,10,"ng-container",0),H());a&2&&(a=b.$implicit,z(1),E("ngIf",a.sourceComments&&a.relatedLinks))},UNa=function(a){if(a&1){var b=u();F(0,"button",9);L("click",function(){w(b);var c=N(4);c.lastRenderedMentionedIssueIndex$.next(c.lastRenderedMentionedIssueIndex$.value+100);return y()});P(1," Load more ");H()}},VNa=function(a){if(a&1){var b=u();F(0,"button",10);L("click",function(){w(b);var c=N(4);return y(c.goToResourcesTab())});P(1,
" See all mentioned issues ");H()}},WNa=function(a){a&1&&(F(0,"div"),O(1,UNa,2,0,"button",7),O(2,VNa,2,0,"ng-template",null,8,gg),H());if(a&2){var b=Kf(3);a=N(3);z(1);E("ngIf",a.paginate)("ngIfElse",b)}},XNa=function(a,b){a&1&&(J(0),F(1,"section")(2,"table"),O(3,TNa,2,1,"tr",1),H(),O(4,WNa,4,2,"div",0),H(),K());a&2&&(a=b.ngIf,b=N().ngIf,z(3),E("ngForOf",b),z(1),E("ngIf",a.length!==b.length))},YNa=function(a){a&1&&(J(0),O(1,XNa,5,2,"ng-container",0),R(2,"async"),K());a&2&&(a=N(),z(1),E("ngIf",S(2,
1,a.allMentionedIssues$)))},ZNa=function(a,b){a&1&&(F(0,"div",2),I(1,"mentioned-link-with-context",3)(2,"comments-info",4),R(3,"toComments"),H());a&2&&(a=b.$implicit,b=N(3),z(1),E("sourceComment",a[0].comment)("relatedLink",a[0]),z(1),E("issueId",b.issueId)("comments",S(3,4,a)))},$Na=function(a){if(a&1){var b=u();F(0,"button",7);L("click",function(){w(b);var c=N(4);c.lastRenderedRelatedLinkIndex$.next(c.lastRenderedRelatedLinkIndex$.value+100);return y()});P(1," Load more ");H()}},aOa=function(a){if(a&
1){var b=u();F(0,"button",8);L("click",function(){w(b);var c=N(4);return y(c.goToResourcesTab())});P(1," See all related links ");H()}},bOa=function(a){a&1&&(F(0,"div"),O(1,$Na,2,0,"button",5),O(2,aOa,2,0,"ng-template",null,6,gg),H());if(a&2){var b=Kf(3);a=N(3);z(1);E("ngIf",a.paginate)("ngIfElse",b)}},cOa=function(a,b){a&1&&(J(0),O(1,ZNa,4,6,"div",1),O(2,bOa,4,2,"div",0),K());if(a&2){a=b.ngIf;b=N().ngIf;var c=N();z(1);E("ngForOf",a)("ngForTrackBy",c.trackByHref);z(1);E("ngIf",b.length!==a.length)}},
dOa=function(a){a&1&&(J(0),O(1,cOa,3,3,"ng-container",0),R(2,"async"),K());a&2&&(a=N(),z(1),E("ngIf",S(2,1,a.linkGroupsToRender$)))},fOa=function(a,b){var c=a.filter(function(d){return Iva(d[0])});a=a.filter(function(d){return!Iva(d[0])});return eOa([].concat(cd(c),cd(a)).slice(0,b),"asc")},hOa=function(a){a&1&&(J(0),I(1,"mat-icon",10),Cf(2,11),K());if(a&2){a=N().$implicit;N();var b=Kf(10);z(2);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Rf(2,gOa,a))}},iOa=function(){},jOa=function(a){a&1&&
O(0,iOa,0,0,"ng-template")},kOa=function(a){a&1&&(J(0),O(1,jOa,1,0,null,12),K());a&2&&(a=N(2).$implicit,z(1),E("ngTemplateOutlet",a.tabIconTemplate))},lOa=function(a){a&1&&(O(0,kOa,2,1,"ng-container",3),Cf(1,11));if(a&2){a=N().$implicit;N();var b=Kf(10);E("ngIf",a.tabIconTemplate);z(1);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Rf(3,gOa,a))}},mOa=function(a,b){if(a&1){var c=u();F(0,"button",7);L("click",function(){var e=w(c).$implicit,g=N();e=e.key;g.internalExpandedTabs.has(e)?g.internalExpandedTabs.delete(e):
g.internalExpandedTabs.add(e);g.expandedTabsChanged.emit(new Set(g.internalExpandedTabs));return y()});R(1,"async");R(2,"async");R(3,"async");O(4,hOa,3,4,"ng-container",8);R(5,"async");O(6,lOa,2,5,"ng-template",null,9,gg);H()}if(a&2){a=b.$implicit;var d=Kf(7);b=N();xf("expanded",!!S(1,8,Vn(b.internalExpandedTabs,a.key)));qf("aria-controls","expandable-tabs-",a.key,"-content");of("aria-label",a.ariaLabel)("aria-expanded",!!S(2,10,Vn(b.internalExpandedTabs,a.key)))("aria-selected",!!S(3,12,Vn(b.internalExpandedTabs,
a.key)));z(4);E("ngIf",S(5,14,Vn(b.internalExpandedTabs,a.key)))("ngIfElse",d)}},oOa=function(a,b){if(a&1){var c=u();J(0);F(1,"button",13);L("click",function(){w(c);var d=N();return y(nOa(d))});P(2);H();K()}a&2&&(a=b.ngIf,b=N(),z(1),xf("expandable-tabs-hide-all",a.allTabsExpanded)("expandable-tabs-show-all",!a.allTabsExpanded),of("aria-label",(a.allTabsExpanded?"Hide all":"Show all")+" "+b.ariaLabel),z(1),Lf(" ",a.allTabsExpanded?"Hide all":"Show all"," "))},pOa=function(){},qOa=function(a){a&1&&
O(0,pOa,0,0,"ng-template")},rOa=function(a){a&1&&(J(0),O(1,qOa,1,0,null,12),K());a&2&&(a=N(2).$implicit,z(1),E("ngTemplateOutlet",a.tabIconTemplate))},sOa=function(){},tOa=function(a){a&1&&O(0,sOa,0,0,"ng-template")},uOa=function(a){a&1&&(J(0),O(1,tOa,1,0,null,12),K());a&2&&(a=N(2).$implicit,z(1),E("ngTemplateOutlet",a.tabContentTemplate))},vOa=function(a){a&1&&(F(0,"div",15)(1,"h4"),O(2,rOa,2,1,"ng-container",3),Cf(3,11),H(),O(4,uOa,2,1,"ng-container",3),H());if(a&2){a=N().$implicit;N();var b=Kf(10);
Hf("id","expandable-tabs-",a.key,"-content");z(2);E("ngIf",a.tabIconTemplate);z(1);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Rf(5,gOa,a));z(1);E("ngIf",a.tabContentTemplate)}},wOa=function(a,b){a&1&&(J(0),O(1,vOa,5,7,"div",14),R(2,"async"),K());a&2&&(a=b.$implicit,b=N(),z(1),E("ngIf",S(2,1,Vn(b.internalExpandedTabs,a.key))))},xOa=function(){},yOa=function(a){a&1&&O(0,xOa,0,0,"ng-template")},zOa=function(a){a&1&&(J(0),O(1,yOa,1,0,null,12),K());a&2&&(a=N().tab,z(1),E("ngTemplateOutlet",a.tabHeaderTemplate))},
AOa=function(a){a&1&&P(0);a&2&&(a=N().tab,Mf(a.key))},BOa=function(a,b){a&1&&(O(0,zOa,2,1,"ng-container",8),O(1,AOa,1,1,"ng-template",null,16,gg));if(a&2){a=b.tab;var c=Kf(2);E("ngIf",a.tabHeaderTemplate)("ngIfElse",c)}},COa=function(a){a&1&&I(0,"mat-icon",9)},DOa=function(a){a&1&&(P(0),R(1,"async"));if(a&2){a=N(2);var b;Lf("Screenshots (",null!==(b=S(1,1,a.distinctImageLinksCount$))&&void 0!==b?b:0,")")}},GOa=function(a,b){if(a&1){var c=u();F(0,"inline-images-summary",11);L("click",function(){w(c);
var e=N(3);EOa(e.issueSummaryTracking,e.issueId,e.TabKeys.IMAGES);return y()});R(1,"async");H()}if(a&2){a=b.ngIf;b=N(3);var d;E("issueId",a)("imageLinks",null!==(d=S(1,2,b.imageLinks$))&&void 0!==d?d:Qf(4,FOa))}},HOa=function(a){a&1&&(O(0,GOa,2,5,"inline-images-summary",10),R(1,"async"));a&2&&(a=N(2),E("ngIf",S(1,1,a.issueId$)))},IOa=function(a){a&1&&I(0,"mat-icon",12)},JOa=function(a){a&1&&(P(0),R(1,"async"));if(a&2){a=N(2);var b;Lf("Mentioned issues (",null!==(b=S(1,1,a.distinctIssuesCount$))&&
void 0!==b?b:0,")")}},KOa=function(a,b){if(a&1){var c=u();F(0,"b-mentioned-issues",14);L("click",function(){w(c);var d=N(3);EOa(d.issueSummaryTracking,d.issueId,d.TabKeys.MENTIONED_ISSUES);return y()});H()}a&2&&(a=b.ngIf,b=N(3),E("issueReferences",a)("currentIssueId",b.issueId))},LOa=function(a){a&1&&(O(0,KOa,1,2,"b-mentioned-issues",13),R(1,"async"));a&2&&(a=N(2),E("ngIf",S(1,1,a.issues$)))},MOa=function(a){a&1&&I(0,"mat-icon",15)},NOa=function(a){a&1&&(P(0),R(1,"async"));if(a&2){a=N(2);var b;Lf("Links (",
null!==(b=S(1,1,a.distinctOtherLinksCount$))&&void 0!==b?b:0,")")}},OOa=function(a){if(a&1){var b=u();F(0,"related-links-widget",16);L("click",function(){w(b);var d=N(2);EOa(d.issueSummaryTracking,d.issueId,d.TabKeys.LINKS);return y()});R(1,"async");H()}if(a&2){a=N(2);var c;E("links",null!==(c=S(1,2,a.otherLinks$))&&void 0!==c?c:Qf(4,FOa))("issueId",a.issueId)}},QOa=function(a,b){if(a&1){var c=u();F(0,"expandable-tabs",2);L("expandedTabsChanged",function(d){var e=w(c).ngIf,g=N();return y(g.onTabExpanded$.emit({expandedTabKeys:d,
allTabKeys:e}))})("contentShownChanged",function(d){w(c);var e=N(),g=e.issueSummaryTracking;e=e.issueId;for(var h=k(POa),l=h.next();!l.done;l=h.next())l=l.value,d.has(l)?($o(g.issueInteractionsTracking,e,l+"-content-shown"),g.issueInteractionsTracking.getState(e).variations.delete(l+"-content-not-shown")):($o(g.issueInteractionsTracking,e,l+"-content-not-shown"),g.issueInteractionsTracking.getState(e).variations.delete(l+"-content-shown"));0<d.size?(g.recordImpressionOnce(),$o(g.issueInteractionsTracking,
e,"SW-content-shown"),g.issueInteractionsTracking.getState(e).variations.delete("SW-content-not-shown")):($o(g.issueInteractionsTracking,e,"SW-content-not-shown"),g.issueInteractionsTracking.getState(e).variations.delete("SW-content-shown"));return y()});F(1,"expandable-tab",3);O(2,COa,1,0,"ng-template",4);O(3,DOa,2,3,"ng-template",5);O(4,HOa,2,3,"ng-template",6);H();F(5,"expandable-tab",7);O(6,IOa,1,0,"ng-template",4);O(7,JOa,2,3,"ng-template",5);O(8,LOa,2,3,"ng-template",6);H();F(9,"expandable-tab",
8);O(10,MOa,1,0,"ng-template",4);O(11,NOa,2,3,"ng-template",5);O(12,OOa,2,5,"ng-template",6);H()()}a&2&&(a=b.ngIf,b=N(),E("tabKeys",a)("expandedTabs",b.initiallyExpandedTabs),z(1),E("key",b.TabKeys.IMAGES),z(4),E("key",b.TabKeys.MENTIONED_ISSUES),z(4),E("key",b.TabKeys.LINKS))},ROa=function(a){a&1&&(F(0,"div",31),I(1,"img",32),P(2,"\u00a0 "),F(3,"a",33),P(4),H()());if(a&2){a=N().$implicit;var b=N(3);z(3);E("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Ud);z(1);Lf("",a.clIds.length+a.pendingChangeLists.length,
" CLs")}},SOa=function(a,b){a&1&&I(0,"b-user-image",34);a&2&&E("email",b.$implicit)},TOa=function(a,b){if(a&1){var c=u();F(0,"div",25);L("click",function(){var e=w(c).$implicit,g=N(3);return y(g.log(e))});F(1,"div",26);O(2,ROa,5,2,"div",27);H();O(3,SOa,1,1,"b-user-image",28);R(4,"slice");F(5,"button",29);I(6,"mat-icon",30);H()()}if(a&2){a=b.$implicit;N(2);var d=Kf(16);z(2);E("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);z(1);E("ngForOf",Vf(4,3,a.contributors,0,10));z(2);E("matMenuTriggerFor",
d)}},UOa=function(a){a&1&&(J(0),O(1,TOa,7,7,"div",24),R(2,"async"),K());a&2&&(a=N(2),z(1),E("ngIf",S(2,1,a.projectData$)))},VOa=function(a,b){a&1&&(F(0,"div",38),I(1,"div",39),P(2),R(3,"number"),H());if(a&2){a=b.$implicit;b=N().$implicit;var c=N(3);Jf("title","",b.totalCount-b.openCount," of ",b.totalCount," tasks complete");z(1);of("style",c.makePie(a/100),Dga);z(1);Lf(" ",Uf(3,4,a,"1.0-0"),"% Complete ")}},WOa=function(a){a&1&&(F(0,"div",31),I(1,"mat-icon",40),P(2),H());if(a&2){a=N(3).$implicit;
var b=N();z(2);Lf(" Target: ",b.getEndDate(a)," ")}},YOa=function(a){a&1&&(F(0,"a",33),P(1),H());if(a&2){a=N(2).$implicit;var b=N(3);E("href",b.makeCritiqueUrl(Qf(2,XOa),a.pendingChangeLists),Ud);z(1);Lf("(",a.pendingChangeLists.length," pending)")}},ZOa=function(a){a&1&&(F(0,"div",31),I(1,"img",32),P(2,"\u00a0 "),F(3,"a",33),P(4),H(),P(5," \u00a0 "),O(6,YOa,2,3,"a",41),H());if(a&2){a=N().$implicit;var b=N(3);z(3);E("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Ud);z(1);Lf("",a.clIds.length+
a.pendingChangeLists.length," CLs");z(2);E("ngIf",0<a.pendingChangeLists.length)}},$Oa=function(a,b){if(a&1){var c=u();F(0,"div",36);L("click",function(){var e=w(c).$implicit,g=N(3);return y(g.log(e))});O(1,VOa,4,7,"div",37);O(2,WOa,3,1,"div",27);O(3,ZOa,7,3,"div",27);H()}if(a&2){a=b.$implicit;b=N(2).$implicit;var d=N();z(1);E("ngIf",0<a.totalCount&&(a.totalCount-a.openCount)/a.totalCount*100);z(1);E("ngIf",d.getEndDate(b));z(1);E("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length)}},aPa=function(a){a&
1&&(J(0),O(1,$Oa,4,3,"div",35),R(2,"async"),K());a&2&&(a=N(2),z(1),E("ngIf",S(2,1,a.projectData$)))},cPa=function(a){a&1&&(J(0),I(1,"expandable-issues-table",43),R(2,"async"),K());if(a&2){a=N(2).$implicit;var b=N();z(1);Hf("saveExpansionAtKey","project-expansion-",a.issueId,"");E("rootIssueId",a.issueId)("filters",b.hackyPrefs.prefs.projectFilters)("tableColumns",b.TABLE_COLUMNS)("options",Qf(8,bPa))("projectData",S(2,6,b.projectData$))}},dPa=function(a){a&1&&(J(0),I(1,"b-issue-description",44)(2,
"hr")(3,"issue-summary-card",45,46),R(5,"async"),I(6,"hr"),F(7,"p",47),P(8," No children. "),F(9,"a",48),P(10,"Add Children"),H()(),K());if(a&2){var b=Kf(4);a=N(2).$implicit;z(1);E("id",a.issueId);z(2);xf("hidden",!S(5,6,b.shouldShowSummaryCard$));E("issueId",a.issueId)("alwaysStartCollapsed",!0);z(6);Hf("href","/issues/",a.issueId,"/dependencies",Ud)}},ePa=function(a){a&1&&(F(0,"div",42),I(1,"hr"),O(2,cPa,3,9,"ng-container",13),O(3,dPa,11,8,"ng-container",13),H());a&2&&(a=N().$implicit,z(2),E("ngIf",
0<a.childIssueCount),z(1),E("ngIf",0===a.childIssueCount))},fPa=function(a,b){a&1&&(J(0),F(1,"a",51),P(2,"Taskflow"),H(),K());a&2&&(a=b.$implicit,z(1),E("href",a,Ud))},gPa=function(a){a&1&&(J(0),F(1,"a",52),P(2),H(),K());if(a&2){a=N().$implicit;var b=N(3);z(1);E("href",b.makeScreenshotViewUrl(a.screenshots),Ud);z(1);Lf("",a.screenshots.length," Screenshots")}},hPa=function(a,b){a&1&&(J(0),O(1,gPa,3,2,"ng-container",13),K());a&2&&(a=b.$implicit,z(1),E("ngIf",3<a.screenshots.length))},iPa=function(a,
b){a&1&&(J(0),I(1,"activity-stream",53),K());a&2&&(a=b.$implicit,z(1),E("activityEvents",a)("title","Project Activity"))},jPa=function(a){a&1&&I(0,"b-spinner")},kPa=function(a){a&1&&(F(0,"footer"),I(1,"hr"),F(2,"a",49),P(3,"Launch"),H(),O(4,fPa,3,1,"ng-container",13),R(5,"async"),O(6,hPa,2,1,"ng-container",13),R(7,"async"),I(8,"hr"),O(9,iPa,2,2,"ng-container",1),R(10,"async"),O(11,jPa,1,0,"ng-template",null,50,gg),H());if(a&2){var b=Kf(12);a=N(2);z(4);E("ngIf",S(5,4,a.taskFlowLink$));z(2);E("ngIf",
S(7,6,a.projectData$));z(3);E("ngIf",S(10,8,a.projectActivityStream$))("ngIfElse",b)}},lPa=function(a,b){if(a&1){var c=u();J(0);F(1,"header",3)(2,"aside",4)(3,"div",5)(4,"button",6);L("click",function(){var d=w(c).$implicit,e=N();return y(Kn(e.hackyPrefs,d.issueId))});P(5,"Add");H()()();F(6,"div",7)(7,"div",3)(8,"div",8)(9,"span",9)(10,"a",10);P(11);H();F(12,"button",11);L("click",function(){var d=w(c).$implicit,e=N();return y(e.hackyPrefs.toggleCollapsed("project-"+d.issueId))});I(13,"mat-icon",
12);H()()();O(14,UOa,3,3,"ng-container",13);H()();F(15,"mat-menu",null,14)(17,"button",15);L("click",function(){var d=w(c).$implicit,e=N();return y(ap(e.hackyPrefs,d.issueId,-1))});I(18,"mat-icon",16);F(19,"span",17);P(20,"Move up");H()();F(21,"button",15);L("click",function(){var d=w(c).$implicit,e=N();return y(ap(e.hackyPrefs,d.issueId,1))});I(22,"mat-icon",18);F(23,"span",17);P(24,"Move down");H()();I(25,"mat-divider");F(26,"button",19);L("click",function(){var d=w(c).$implicit,e=N();return y(bp(e.hackyPrefs,
d.issueId))});I(27,"mat-icon",20);F(28,"span",17);P(29,"Remove from My Projects");H()();F(30,"a",21);I(31,"mat-icon",22);F(32,"span",17);P(33,"View Issue Relationships");H()()()();O(34,aPa,3,3,"ng-container",13);O(35,ePa,4,2,"div",23);O(36,kPa,13,10,"footer",13);K()}a&2&&(a=b.$implicit,b=N(),z(10),Hf("href","/issues/",a.issueId,"/dependencies",Ud),z(1),Lf(" ",a.snapshot[0].title," "),z(3),E("ngIf",!b.addMode),z(3),E("disabled",!cp(b.hackyPrefs,a.issueId,-1)),z(4),E("disabled",!cp(b.hackyPrefs,a.issueId,
1)),z(9),Hf("href","/issues/",a.issueId,"/dependencies",Ud),z(4),E("ngIf",!b.isCollapsed(a.issueId)),z(1),E("ngIf",!b.isCollapsed(a.issueId)),z(1),E("ngIf",!b.isCollapsed(a.issueId)&&0<a.childIssueCount))},mPa=function(a){a&1&&(J(0),I(1,"b-spinner"),K())},nPa=function(a){if(a&1){var b=u();F(0,"p",55);P(1);F(2,"a",56);L("click",function(){w(b);var c=N(2);return y(bp(c.hackyPrefs,c.issueId))});P(3," Remove ");H()()}a&2&&(a=N(2),z(1),Lf(" b/",a.issueId," "))},oPa=function(a){a&1&&(O(0,mPa,2,0,"ng-container",
1),O(1,nPa,4,1,"ng-template",null,54,gg));if(a&2){var b=Kf(2);a=N();E("ngIf",a.issueFridge.isThinking(a.issueId))("ngIfElse",b)}},qPa=function(a){a=pPa(a);null!=a?(a=a.dateValue,a=new Date(a.year,a.month-1,a.day)):a=void 0;if(null==a)return"";var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});return(new Date).getFullYear()===a.getFullYear()?b.split(", ")[0]:b},sPa=function(a){a=encodeURIComponent(a.join("\n\n"));return"/issues/new?component="+rPa+"&description="+a},tPa=function(a,b){a&1&&(J(0),
I(1,"issue-as-project-card",9),K());a&2&&(a=b.$implicit,z(1),E("issueId",a.issueId)("addMode",!0))},uPa=function(a){a&1&&(F(0,"p",3),P(1,"No projects found."),H())},vPa=function(a){if(a&1){var b=u();F(0,"button",10);L("click",function(){w(b);var c=N(2);return y(c.suggestionCount=2*c.suggestionCount)});P(1," Show more ");H()}},wPa=function(a,b){a&1&&(J(0),F(1,"div",2)(2,"p",3)(3,"a",4),I(4,"mat-icon",5),H(),P(5," Issues calculated from parent/child work items. "),H(),O(6,tPa,2,2,"ng-container",6),
R(7,"slice"),O(8,uPa,2,0,"p",7),O(9,vPa,2,0,"button",8),H(),K());a&2&&(a=b.ngIf,b=N(),z(6),E("ngForOf",Vf(7,3,a,0,b.suggestionCount)),z(2),E("ngIf",0===a.length),z(1),E("ngIf",a.length>b.suggestionCount&&!b.disableShowMore))},xPa=function(a){a&1&&(F(0,"p",3),I(1,"b-spinner"),P(2," Loading project suggestions... "),H())},yPa=function(a){a&1&&(F(0,"p",11),P(1),H());a&2&&(a=N(),z(1),Lf(" ",a.errorMsg," "))},zPa=function(a){if(a&1){var b=u();F(0,"aside",12)(1,"div",13)(2,"h2");P(3,"Hotlist Suggestions");
H();F(4,"suggested-hotlists",14);L("click",function(c){w(b);var d=N();$va(c).match(/\bBUTTON\b/)&&d.dialogRef.close();return y()});H()();F(5,"div",13)(6,"h2");P(7,"Project Suggestions");H();F(8,"suggested-issue-projects",15);L("click",function(c){w(b);var d=N();$va(c).match(/\bBUTTON\b/)&&d.dialogRef.close();return y()});H()()()}a&2&&(z(4),E("suggestionCount",5)("disableShowMore",!0),z(4),E("suggestionCount",5)("disableShowMore",!0))},APa=function(a){if(a&1){var b=u();F(0,"div",3);L("@arrowPosition.start",
function(){w(b);var c=N();return y(c._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){w(b);var c=N();return y(c._disableViewStateAnimation=!1)});I(1,"div",4);F(2,"div",5);I(3,"div",6)(4,"div",7)(5,"div",8);H()()}a&2&&(a=N(),E("@arrowOpacity",a._getArrowViewState())("@arrowPosition",a._getArrowViewState())("@allowChildren",a._getArrowDirectionState()),z(2),E("@indicator",a._getArrowDirectionState()),z(1),E("@leftPointer",a._getArrowDirectionState()),z(1),E("@rightPointer",a._getArrowDirectionState()))},
BPa=function(a){a&1&&I(0,"th",21)},CPa=function(a){a&1&&I(0,"td",22)},DPa=function(a){a&1&&(F(0,"th",21),P(1," Id "),H())},EPa=function(a,b){a&1&&(F(0,"td",23),I(1,"b-issue-id-cell",24),H());a&2&&(a=b.$implicit,z(1),E("id",a.id))},FPa=function(a){a&1&&(F(0,"th",21),P(1," Title "),H())},GPa=function(a,b){a&1&&(F(0,"td",23),I(1,"b-issue-title-cell",25),R(2,"async"),H());a&2&&(a=b.$implicit,b=N(),z(1),E("issue",S(2,2,a.issue$))("issueUrlFactory",b.issueUrlFactory))},HPa=function(a){a&1&&(F(0,"th",26),
P(1," Type "),H())},IPa=function(a,b){a&1&&(F(0,"td",23),I(1,"b-issue-type-cell",27),R(2,"async"),H());a&2&&(a=b.$implicit,z(1),E("issue",S(2,1,a.issue$)))},JPa=function(a){a&1&&(F(0,"th",28),P(1," Assignee "),H())},KPa=function(a,b){a&1&&(F(0,"td",23),I(1,"b-issue-assignee-cell",27),R(2,"async"),H());a&2&&(a=b.$implicit,z(1),E("issue",S(2,1,a.issue$)))},LPa=function(a){a&1&&(F(0,"th",29),P(1," Reporter "),H())},MPa=function(a,b){a&1&&(F(0,"td",23),I(1,"b-issue-reporter-cell",27),R(2,"async"),H());
a&2&&(a=b.$implicit,z(1),E("issue",S(2,1,a.issue$)))},NPa=function(a){a&1&&(F(0,"th",30),P(1," Status "),H())},OPa=function(a,b){a&1&&(F(0,"td",23),I(1,"b-issue-status-cell",27),R(2,"async"),H());a&2&&(a=b.$implicit,z(1),E("issue",S(2,1,a.issue$)))},PPa=function(a){a&1&&(F(0,"th",21),P(1," Team "),H())},QPa=function(a,b){a&1&&(F(0,"td",23),I(1,"b-issue-team-cell",27),R(2,"async"),H());a&2&&(a=b.$implicit,z(1),E("issue",S(2,1,a.issue$)))},RPa=function(a){a&1&&(F(0,"th",31),P(1," Created "),H())},SPa=
function(a,b){a&1&&(F(0,"td",23),I(1,"b-issue-created-time-cell",27),R(2,"async"),H());a&2&&(a=b.$implicit,z(1),E("issue",S(2,1,a.issue$)))},TPa=function(a){a&1&&I(0,"th",21)},UPa=function(a,b){a&1&&(F(0,"td",23)(1,"b-actions-menu",32),L("click",function(c){return c.stopPropagation()}),H()());a&2&&(a=b.$implicit,b=N(),z(1),E("menuItems",b.getMenuItems(a.id)))},VPa=function(a){a&1&&I(0,"tr",33)},WPa=function(a,b){if(a&1){var c=u();F(0,"tr",34);L("click",function(d){var e=w(c).$implicit,g=N();return y(g.navigateToIssue(d,
e.id))})("mouseup",function(d){var e=w(c).$implicit,g=N();return y(g.navigateToIssue(d,e.id))})("focusin",function(){var d=w(c).$implicit,e=N();return y(Wn(e.focusManager,d))})("keydown",function(d){var e=w(c).$implicit,g=N();return y(g.onRowKeydown(e,d))});H()}a&2&&E("row",b.$implicit)},XPa=function(a,b){return(null==a?void 0:a.id)===(null==b?void 0:b.id)},Kl=function(a){return on(a.issue$)},YPa=function(a,b){if(!b||!b.direction)return a;switch(b.active){case "status":return iva()(a,b.direction);
case "assignee":return jva()(a,b.direction);case "reporter":return lva()(a,b.direction);case "type":return kva()(a,b.direction);case "createdTime":return mva()(a,b.direction);default:return a}},ZPa=function(a){a&1&&(F(0,"div"),I(1,"b-slo-time-indicator",1),H());a&2&&(a=N(),z(1),E("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.assignmentSlo)("includeObjective",!0))},$Pa=function(a){a&1&&(F(0,"div"),I(1,"b-slo-time-indicator",2),H());a&2&&(a=N(),z(1),E("sloStartTime",a.sloStartTime)("sloEndTime",
a.sloEndTime)("sloBounds",a.responseSlo)("includeObjective",!0))},aQa=function(a){a&1&&(F(0,"div"),I(1,"b-slo-time-indicator",3),H());a&2&&(a=N(),z(1),E("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.closureSlo)("includeObjective",!0))},bQa=function(a){a&1&&(F(0,"div",8),I(1,"b-slo-status-summary",9),H());a&2&&(a=N(),z(1),E("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric",a.onlyShowMetric))},cQa=function(a){a&1&&(J(0),P(1," No applicable SLO rules "),
K())},dQa=function(a){a&1&&(J(0),P(1," No SLO set on issue component "),K())},eQa=function(a){a&1&&(F(0,"div",10),O(1,cQa,2,0,"ng-container",7),O(2,dQa,2,0,"ng-container",7),H());a&2&&(a=N(),z(1),E("ngIf",a.editSloLink),z(1),E("ngIf",!a.editSloLink))},fQa=function(a){if(a&1){var b=u();F(0,"a",12);L("click",function(){w(b);var c=N(2);return y(c.trackOpenSlo())});P(1);H()}a&2&&(a=N(2),E("href",a.editSloLink,Ud),z(1),Lf(" ",a.sloName," "))},gQa=function(a){a&1&&(F(0,"span"),P(1," (private) "),H())},
hQa=function(a){a&1&&(F(0,"span"),P(1," SLO definition: "),O(2,fQa,2,2,"a",11),O(3,gQa,2,0,"span",7),H());a&2&&(a=N(),z(2),E("ngIf",a.sloName),z(1),E("ngIf",!a.sloName))},iQa=function(a,b){if(a&1){var c=u();F(0,"div",5)(1,"mat-checkbox",6);L("change",function(d){var e=w(c).$implicit,g=N();e=e.key;d.checked?g.updatedColumns.push(e):g.updatedColumns.splice(g.updatedColumns.indexOf(e),1);return y()});H();P(2);H()}a&2&&(a=b.$implicit,b=N(),z(1),E("checked",b.currentColumns.includes(a.key)),z(1),Lf(" ",
a.value," "))},jQa=function(a){a&1&&(F(0,"div",15),I(1,"img",16),P(2,"\u00a0 "),F(3,"a",17),P(4),H()());if(a&2){a=N().$implicit;var b=N(2);z(3);E("href",b.makeCritiqueUrl(a.clIds),Ud);z(1);Lf("",a.clIds.length," CLs")}},kQa=function(a,b){a&1&&I(0,"b-user-image",18);a&2&&E("email",b.$implicit)},lQa=function(a,b){if(a&1){var c=u();F(0,"div",11);L("click",function(){var d=w(c).$implicit,e=N(2);return y(e.log(d))});F(1,"div",12);O(2,jQa,5,2,"div",13);H();O(3,kQa,1,1,"b-user-image",14);H()}a&2&&(a=b.$implicit,
z(2),E("ngIf",0<a.clIds.length),z(1),E("ngForOf",a.contributors))},mQa=function(a){a&1&&(J(0),I(1,"b-issue-priority-display",20),K());a&2&&(a=N().$implicit,z(1),E("issuePriority",a))},nQa=function(a,b){a&1&&(J(0),O(1,mQa,2,1,"ng-container",10),K());a&2&&(a=b.$implicit,z(1),E("ngIf","P0"===a||"P1"===a))},oQa=function(a){a&1&&(J(0),F(1,"div"),P(2),F(3,"a",21),P(4,"View as project"),H()(),K());a&2&&(a=N(2).$implicit,z(2),Nf(" \ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66 ",a.childIssueCount," ",1===
a.childIssueCount?"child":"children",". "))},pQa=function(a){a&1&&(F(0,"div",15),I(1,"img",16),P(2,"\u00a0 "),F(3,"a",17),P(4),H()());if(a&2){a=N().$implicit;var b=N(2);z(3);E("href",b.makeCritiqueUrl(a.clIds),Ud);z(1);Lf("",a.clIds.length," CLs")}},qQa=function(a,b){if(a&1){var c=u();F(0,"div",19);L("click",function(){var d=w(c).$implicit,e=N(2);return y(e.log(d))});O(1,nQa,2,1,"ng-container",10);O(2,oQa,5,2,"ng-container",10);O(3,pQa,5,2,"div",13);H()}a&2&&(a=b.$implicit,b=N().$implicit,z(1),E("ngIf",
b.snapshot[0].priority),z(1),E("ngIf",0<b.childIssueCount),z(1),E("ngIf",0<a.clIds.length))},rQa=function(a,b){if(a&1){var c=u();J(0);F(1,"p",22);L("click",function(){var d=w(c).$implicit,e=N(2);return y(e.log(d))});P(2," Description: ");H();F(3,"p");P(4);R(5,"slice");H();K()}a&2&&(a=b.$implicit,z(4),Lf(" ",Vf(5,1,null==a.firstEvent?null:a.firstEvent.unlinkifiedComment,0,300)," "))},sQa=function(a,b){if(a&1){var c=u();F(0,"div",1);L("click",function(){var d=w(c).$implicit,e=N();return y(e.log(d))});
F(1,"div",2)(2,"div")(3,"span",3)(4,"a",4);P(5);H();F(6,"i",5);L("click",function(){var d=w(c).$implicit,e=N();return y(e.hackyPrefs.toggleCollapsed("project-"+d.issueId))});H()();F(7,"span",6);P(8);H()();O(9,lQa,4,2,"div",7);R(10,"async");H();O(11,qQa,4,3,"div",8);R(12,"async");F(13,"div",9);O(14,rQa,6,5,"ng-container",10);R(15,"async");H();I(16,"div",2);H()}a&2&&(a=b.$implicit,b=N(),xf("collapsed",b.prefs.collapsed["project-"+a.issueId]),z(4),Hf("href","/issues/",a.issueId,"/dependencies",Ud),z(1),
Lf(" ",a.snapshot[0].title," "),z(3),Lf(" ",a.issueId," "),z(1),E("ngIf",S(10,8,b.projectData$)),z(2),E("ngIf",S(12,10,b.projectData$)),z(3),E("ngIf",S(15,12,b.issueFr$)))},uQa=function(a){a=tQa(a);null!=a?(a=a.dateValue,a=new Date(a.year,a.month-1,a.day)):a=void 0;if(null==a)return"";var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});return(new Date).getFullYear()===a.getFullYear()?b.split(", ")[0]:b},wQa=function(a){a=encodeURIComponent(a.join("\n\n"));return"/issues/new?component="+vQa+"&description="+
a},yQa=function(a){if(a&1){var b=u();F(0,"mat-slide-toggle",23);L("ngModelChange",function(c){w(b);var d=N();return y(d.isAssignedToMeOnly=c)})("change",function(c){w(b);var d=N();return y(xQa(d,c.checked))});P(1," Assigned only ");H()}a&2&&(a=N(),E("ngModel",a.isAssignedToMeOnly))},zQa=function(a,b){a&1&&(J(0),I(1,"flat-issues-table",24),K());a&2&&(a=b.ngIf,b=N(),z(1),E("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode","avatar-in-progress"))},AQa=function(a){a&1&&I(0,"b-spinner")},
BQa=function(a){return Cya(a.getSearch())},CQa=function(a){a&1&&(F(0,"div",29),I(1,"img",30),P(2,"\u00a0 "),F(3,"a",31),P(4),H()());if(a&2){a=N().ngIf;var b=N(3);z(3);E("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Ud);z(1);Lf("",a.clIds.length+a.pendingChangeLists.length," CLs")}},DQa=function(a,b){a&1&&I(0,"b-user-image",32);a&2&&E("email",b.$implicit)},EQa=function(a,b){a&1&&(F(0,"div",23)(1,"div",24),O(2,CQa,5,2,"div",25),H(),O(3,DQa,1,1,"b-user-image",26),R(4,"slice"),F(5,"button",27),
I(6,"mat-icon",28),H()());if(a&2){a=b.ngIf;N(2);var c=Kf(17);z(2);E("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);z(1);E("ngForOf",Vf(4,3,a.contributors,0,10));z(2);E("matMenuTriggerFor",c)}},FQa=function(a){a&1&&(J(0),O(1,EQa,7,7,"div",22),R(2,"async"),K());a&2&&(a=N(2),z(1),E("ngIf",S(2,1,a.savedSearchAggregatedData$)))},HQa=function(a){a&1&&(F(0,"a",31),P(1),H());if(a&2){a=N(2).$implicit;var b=N(3);E("href",b.makeCritiqueUrl(Qf(2,GQa),a.pendingChangeLists),Ud);z(1);Lf("(",a.pendingChangeLists.length,
" pending)")}},IQa=function(a){a&1&&(F(0,"div",29),I(1,"img",30),P(2,"\u00a0 "),F(3,"a",31),P(4),H(),P(5," \u00a0 "),O(6,HQa,2,3,"a",35),H());if(a&2){a=N().$implicit;var b=N(3);z(3);E("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Ud);z(1);Lf("",a.clIds.length+a.pendingChangeLists.length," CLs");z(2);E("ngIf",0<a.pendingChangeLists.length)}},JQa=function(a,b){a&1&&(F(0,"div",34),O(1,IQa,7,3,"div",25),H());a&2&&(a=b.$implicit,z(1),E("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length))},
KQa=function(a){a&1&&(J(0),O(1,JQa,2,1,"div",33),R(2,"async"),K());a&2&&(a=N(2),z(1),E("ngIf",S(2,1,a.savedSearchAggregatedData$)))},LQa=function(a,b){a&1&&(J(0),I(1,"flat-issues-table",39),K());a&2&&(a=b.ngIf,b=N(3),z(1),E("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode","avatar-in-progress"))},MQa=function(a){a&1&&(F(0,"div",36),O(1,LQa,2,3,"ng-container",11),R(2,"slice"),R(3,"async"),F(4,"div",37)(5,"a",38),P(6,"View all issues"),H()()());if(a&2){a=N().ngIf;var b=N();z(1);E("ngIf",
Vf(2,2,S(3,6,b.savedSearchIssueIds$),0,10));z(4);Hf("href","/savedsearches/",a.searchId,"",Ud)}},NQa=function(a){a&1&&(J(0),I(1,"activity-stream",42),R(2,"async"),K());a&2&&(a=N(3),z(1),E("activityEvents",S(2,1,a.savedSearchActivityEvents$)))},OQa=function(a){a&1&&I(0,"b-spinner")},PQa=function(a){a&1&&(F(0,"footer"),I(1,"hr"),O(2,NQa,3,3,"ng-container",40),R(3,"async"),O(4,OQa,1,0,"ng-template",null,41,gg),H());if(a&2){var b=Kf(5);a=N(2);z(2);E("ngIf",S(3,2,a.savedSearchActivityEvents$))("ngIfElse",
b)}},QQa=function(a,b){if(a&1){var c=u();F(0,"div",1)(1,"header",2)(2,"aside",3)(3,"div",4)(4,"button",5);L("click",function(){var d=w(c).ngIf,e=N();return y(Kn(e.hackyPrefs,"savedsearch-"+d.searchId))});P(5,"Add");H()()();F(6,"div",6)(7,"span",7)(8,"a",8);P(9);H();F(10,"button",9);L("click",function(){var d=w(c).ngIf,e=N();return y(e.hackyPrefs.toggleCollapsed("savedsearch-"+d.searchId))});I(11,"mat-icon",10);H()()();O(12,FQa,3,3,"ng-container",11);H();O(13,KQa,3,3,"ng-container",11);O(14,MQa,7,
8,"div",12);O(15,PQa,6,4,"footer",11);F(16,"mat-menu",null,13)(18,"button",14);L("click",function(){var d=w(c).ngIf,e=N();return y(e.reorder(d.searchId,-1))});I(19,"mat-icon",15);F(20,"span",16);P(21,"Move up");H()();F(22,"button",14);L("click",function(){var d=w(c).ngIf,e=N();return y(e.reorder(d.searchId,1))});I(23,"mat-icon",17);F(24,"span",16);P(25,"Move down");H()();I(26,"mat-divider");F(27,"button",18);L("click",function(){var d=w(c).ngIf,e=N();bp(e.hackyPrefs,Rl(d.searchId));return y()});I(28,
"mat-icon",19);F(29,"span",16);P(30,"Remove from My Projects");H()();F(31,"a",20);I(32,"mat-icon",21);F(33,"span",16);P(34,"View Saved Search");H()()()()}a&2&&(a=b.ngIf,b=N(),xf("never-collapse-mode",b.neverCollapse)("collapsed",b.isCollapsed(a)),z(8),Hf("href","/savedsearches/",a.searchId,"",Ud),z(1),Lf(" ",a.name," "),z(3),E("ngIf",!b.addMode),z(1),E("ngIf",!b.isCollapsed(a)),z(1),E("ngIf",!b.isCollapsed(a)),z(1),E("ngIf",!b.isCollapsed(a)),z(3),E("disabled",!b.canMove(a.searchId,-1)),z(4),E("disabled",
!b.canMove(a.searchId,1)),z(9),Hf("href","/savedsearches/",a.searchId,"",Ud))},RQa=function(a){a&1&&I(0,"mat-pseudo-checkbox",5);a&2&&(a=N(),E("state",a.selected?"checked":"unchecked")("disabled",a.disabled))},SQa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},ep=function(a,b){b=void 0===b?{}:b;return null==b.id?"":dp(a,b)},dp=function(a,b){var c=b=void 0===b?{}:b;b=c.params;c=c.tab;b&&(a=vwa(a,b));c&&(a=a+"#"+c);return a},TQa=function(a){if(a&1){var b=
u();F(0,"button",7);L("click",function(){w(b);var c=N(2);return y(c.removeHotlist.emit())});I(1,"mat-icon",8);H()}a&2&&(a=N(2),xf("invisible",a.disabled),of("aria-disabled",a.disabled)("aria-label","Remove the hotlist "+a.hotlist.name))},UQa=function(a){a&1&&(J(0),F(1,"span",1)(2,"span",2)(3,"a",3),P(4),H()(),O(5,TQa,2,4,"button",4),H(),F(6,"onedev-hovercard",null,5),I(8,"b-hotlist-card",6),H(),K());if(a&2){var b=Kf(7);a=N();z(1);wf("padding-right",a.removable?0:"10px");xf("muted",a.disabled);E("onedevHovercardTrigger",
b)("onedevHovercardActive",a.showHovercard);z(2);E("href",a.pathBuilder.viewHotlist(a.hotlist.hotlistId),Ud);of("aria-label",a.getAriaLabel(a.hotlist));z(1);Mf(a.hotlist.name);z(1);E("ngIf",a.removable);z(3);E("hotlist",a.hotlist)}},VQa=function(a){a&1&&I(0,"mat-icon",3)},WQa=function(a){a&1&&I(0,"b-spinner")},XQa=function(a){if(a&1){var b=u();F(0,"b-star-toggle",9);L("starClicked",function(){w(b);var c=N(2);return y(c.starClicked.emit())});R(1,"async");R(2,"async");H()}a&2&&(a=N(2),E("starMessage",
"Star this hotlist")("unStarMessage","Un-star this hotlist")("acceptInput",!S(1,4,Vn(a.isSavingStar,a.hotlist.hotlistId)))("starred",S(2,6,Vn(a.starredHotlists,a.hotlist.hotlistId))))},YQa=function(a){a&1&&(F(0,"p",10),P(1),H());a&2&&(a=N(2),z(1),Lf(" ",a.hotlist.description," "))},ZQa=function(a){a&1&&(F(0,"div",1)(1,"div",2)(2,"label",3),P(3),H(),F(4,"span",4),O(5,XQa,3,8,"b-star-toggle",5),F(6,"a",6),L("click",function(b){return b.stopPropagation()})("keydown.enter",function(b){return b.stopPropagation()}),
I(7,"mat-icon",7),H()()(),O(8,YQa,2,1,"p",8),H());a&2&&(a=N(),z(3),Lf(" ",a.hotlist.name," "),z(2),E("ngIf",a.shouldShowStar(a.hotlist)),z(1),E("routerLink",a.paths.viewHotlist(a.hotlist.hotlistId)),z(2),E("ngIf",!a.isCompact&&a.hotlist.description))},$Qa=function(a){a&1&&Cf(0)},aRa=function(a){a&1&&(J(0),O(1,$Qa,1,0,"ng-container",6),K());if(a&2){N();var b=Kf(12);z(1);E("ngTemplateOutlet",b)}},bRa=function(a){a&1&&Cf(0)},cRa=function(a){a&1&&(J(0),O(1,bRa,1,0,"ng-container",6),K());if(a&2){N();var b=
Kf(6);z(1);E("ngTemplateOutlet",b)}},fRa=function(a){if(a&1){var b=u();F(0,"button",7);L("click",function(){w(b);var c=N();return y(dRa(c))});P(1," Create ");H()}a&2&&(a=N(),E("disabled",!(0<eRa(a).length)))},gRa=function(a){if(a&1){var b=u();F(0,"button",8);L("click",function(){w(b);var c=N();return y(fp(c))});P(1);H()}a&2&&(a=N(),E("mat-dialog-close",!0)("matTooltip",a.saveBtnTooltip)("disabled",a.pristine),of("aria-label",a.saveBtnTooltip),z(1),Lf(" ",a.saveBtnLabel," "))},iRa=function(a){if(a&
1){var b=u();F(0,"button",19);L("click",function(){w(b);var c=N(2),d=bi(c.query$.value);c.allHotlistIds.has(d)?(c.selectedHotlistIds.add(d),fp(c)):hRa(c,d);return y()});P(1);R(2,"async");F(3,"span",20);P(4,"(add hotlist by ID)");H()()}a&2&&(a=N(2),z(1),Lf(" ",S(2,1,a.query$)," "))},jRa=function(a){if(a&1){var b=u();F(0,"button",21);L("click",function(){w(b);N(2).showCreateNewPane=!0;return y()});P(1);R(2,"async");F(3,"span",20);P(4,"(create new)");H()()}a&2&&(a=N(2),z(1),Lf(" ",S(2,1,a.query$)," "))},
kRa=function(a,b){if(a&1){var c=u();J(0);F(1,"div",25,26);R(3,"async");F(4,"mat-list-option",27);L("focus",function(){w(c);var g=Kf(2);return y(g.show())})("blur",function(){w(c);var g=Kf(2);return y(g.hide())});R(5,"async");F(6,"hotlist-matlist-option",28);L("starClicked",function(){var g=w(c).$implicit,h=N(3);return y(h.toggleStar(g.hotlistId))});H()()();K()}if(a&2){a=b.$implicit;b=N(3);var d,e;z(1);E("matTooltip",!1===(null==(d=S(3,10,a.permissions$))?null:d.appender)?b.NO_ACCESS_MESSAGE:"");z(3);
wf("height","auto");E("selected",b.selectedHotlistIds.has(a.hotlistId))("disabled",!1===(null==(e=S(5,12,a.permissions$))?null:e.appender))("value",a.hotlistId);z(2);E("hotlist",a)("isCompact",!1)("starredHotlists",b.starredHotlists)("isSavingStar",b.isSavingStar)}},lRa=function(a){if(a&1){var b=u();J(0);F(1,"div",29)(2,"span",20);P(3," The number of hotlists is too large to show at once. ");H();F(4,"button",30);L("click",function(){w(b);var c=N(3);return y(c.forceShowOverflow$.next(!0))});P(5," Show all anyway ");
H()();K()}},mRa=function(a,b){if(a&1){var c=u();J(0);F(1,"mat-selection-list",22,23);L("selectionChange",function(d){w(c);var e=N(2);return y(e.onChangeMatList(d))});O(3,kRa,7,14,"ng-container",24);H();O(4,lRa,6,0,"ng-container",18);R(5,"async");K()}a&2&&(a=b.$implicit,b=N(2),z(3),E("ngForOf",a)("ngForTrackBy",b.trackByHotlistId),z(1),E("ngIf",S(5,3,b.isOverflowMode$)))},nRa=function(a){if(a&1){var b=u();F(0,"header",9)(1,"h2");P(2,"Search for Hotlists");H();F(3,"div",10);I(4,"mat-icon",11);F(5,"input",
12,13);L("input",function(){w(b);var c=Kf(6);N().query$.next(c.value);return y()});H()()();F(7,"section",14,15);O(9,iRa,5,3,"button",16);R(10,"async");O(11,jRa,5,3,"button",17);R(12,"async");O(13,mRa,6,5,"ng-container",18);R(14,"async");H()}a&2&&(a=N(),z(9),E("ngIf",S(10,3,a.showLoadById$)),z(2),E("ngIf",S(12,5,a.showCreateNew$)),z(2),E("ngIf",S(14,7,a.visibleHotlists$)))},oRa=function(a){a&1&&(F(0,"header",9)(1,"h2"),P(2,"Create new hotlist"),H()(),F(3,"section",31)(4,"div",32)(5,"form",33)(6,"label",
34),P(7,"Name"),H(),I(8,"input",35),F(9,"label",36),P(10,"Description"),H(),I(11,"textarea",37),F(12,"p",20),P(13," Note: Access controls can be adjusted after the hotlist is created. "),H()()()());a&2&&(a=N(),z(5),E("formGroup",a.hotlistUnderEdit))},pRa=function(a,b){return a.name.localeCompare(b.name)},qRa=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)},rRa=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)"]},sRa=function(a,b){a&1&&(F(0,"span",11),P(1," of "),F(2,"a",12),P(3),H()());if(a&2){a=b.$implicit;N(2);var c=Kf(12);z(2);Hf("routerLink","/issues/",a,"");E("onedevHovercardTrigger",c);z(1);Lf(" ",a," ")}},tRa=function(a,
b){a&1&&(F(0,"div")(1,"div",9),R(2,"async"),P(3),H(),O(4,sRa,4,3,"span",10),R(5,"async"),H());a&2&&(a=b.$implicit,b=N(),z(1),Af("chippy ",S(2,6,b.statusCssClass$),""),E("title",b.STATUS_JS_FULL_TEXT[a]),z(2),Lf(" ",b.STATUS_JS_TERSE[a]," "),z(1),E("ngIf",S(5,8,b.canonicalId$)))},uRa=function(a,b){a&1&&(F(0,"span"),P(1),H());a&2&&(a=b.$implicit,b=N(),Af("b-chip squared issue-type-",a,""),z(1),Lf(" ",b.ISSUE_TYPE_JS_TEXT[a]," "))},wRa=function(a,b){if(a&1){var c=u();F(0,"b-hotlist-chip-smart",17);L("removeHotlist",
function(){var d=w(c).$implicit,e=N(2);return y(vRa(e,d))});H()}a&2&&E("id",b.$implicit)},yRa=function(a,b){if(a&1){var c=u();F(0,"div",13)(1,"button",14);L("onHotkey",function(){w(c);var d=N();return y(xRa(d))})("click",function(){w(c);var d=N();return y(xRa(d))});I(2,"mat-icon",15);P(3);R(4,"async");H();O(5,wRa,1,1,"b-hotlist-chip-smart",16);H()}a&2&&(a=b.$implicit,b=N(),z(1),E("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER),z(2),Lf(" ",S(4,3,b.textOfHotlistBtn$)," "),z(2),E("ngForOf",a))},zRa=function(a){a&
1&&(F(0,"div",18),I(1,"smart-full-history-btn"),H())},ARa=function(a){a&1&&(I(0,"b-issue-card",19,20),R(2,"async"));if(a&2){var b=Kf(1);a=N();E("onedevIsHovercardReady",b.init)("issueId",S(2,2,a.canonicalId$))}},BRa=function(a){return null==a?void 0:a.snapshot[0].hotlistId},CRa=function(a){a&1&&(F(0,"h3",3,4),P(2),H());a&2&&(a=N(),of("title",a.isLongTitle?a.titlePlain:""),z(2),Lf(" ",a.titleTruncated,"\n"))},FRa=function(a){if(a&1){var b=u();F(0,"mat-form-field",5)(1,"input",6,7);L("keyup",function(c){w(b);
var d=N();return y(DRa(d,c))})("blur",function(){w(b);var c=N();return y(DRa(c,null))});H()()}a&2&&(a=N(),E("ngStyle",Rf(2,ERa,a.editModeWidth)),z(1),E("value",a.titlePlain))},HRa=function(a){if(a&1){var b=u();F(0,"button",8);L("click",function(){w(b);var c=N();return y(GRa(c))});I(1,"mat-icon",9);H()}a&2&&(a=N(),E("disabled",a.disabled))},JRa=function(a,b){if(a&1){var c=u();F(0,"button",1);L("click",function(){w(c);var d=N();return y(IRa(d))});R(1,"async");P(2);H()}a&2&&(a=b.ngIf,b=N(),E("disabled",
b.disabled||b.fridge.isSaving(b.internalIssueId)||!1===S(1,3,b.canEdit$))("title",a.isDupe?b.TOOLTIP_UNMARK_DUPE:b.TOOLTIP_MARK_DUPE),z(2),Lf(" ",a.isDupe?"Unmark Duplicate":"Mark as Duplicate"," "))},KRa=function(a){a&1&&(F(0,"p",11),P(1),H());a&2&&(a=N(),z(1),Lf(" * Status update must be less than ",a.CHAR_LIMIT," characters. "))},LRa=function(a){a&1&&(F(0,"div",12),I(1,"b-live-preview",13),H());a&2&&(a=N(),z(1),E("comment",a.newStatusUpdate.updateText)("issueId",a.origStatusUpdate.issueId)("formattingMode",
a.newStatusUpdate.formattingMode)("audience",a.formattingAudience))},MRa=function(a,b){a&1&&(F(0,"li",6)(1,"div",7),I(2,"b-user-image",8),H(),F(3,"div",9),I(4,"b-user-display",10)(5,"b-formatted-date-time",11),F(6,"p",12),P(7," Formatting: "),F(8,"code",13),P(9),H()(),I(10,"br"),F(11,"span",14)(12,"b-person-hovercard",15),R(13,"omitObfuscatedEmail"),P(14),R(15,"appendDomain"),H()(),P(16),H(),F(17,"pre"),P(18),H()());a&2&&(a=b.$implicit,b=b.index+1,z(2),E("email",null==a.author?null:a.author.emailAddress),
z(2),E("model",a.author),z(1),E("timestamp",a.updateTime),z(4),Lf(" ",a.formattingMode," "),z(3),E("email",S(13,8,null==a.author?null:a.author.emailAddress)),z(2),Lf(" <",S(15,10,null==a.author?null:a.author.emailAddress),"> "),z(2),Lf(" #",b," "),z(2),Mf(a.updateText))},NRa=function(a){if(a&1){var b=u();J(0);F(1,"header",3)(2,"h4",4);P(3,"Status Update");H();F(4,"p",5);P(5,"No update yet.");H();F(6,"button",6);L("click",function(){w(b);var c=N(2);return y(c.editStatusUpdate())});P(7," Edit ");H()();
K()}},PRa=function(a){if(a&1){var b=u();F(0,"button",15);L("click",function(){w(b);var c=N(4);return y(ORa(c))});P(1," Mark as fresh ");H()}},QRa=function(a){a&1&&(J(0),O(1,PRa,2,0,"button",14),R(2,"async"),K());a&2&&(a=N(3),z(1),E("ngIf",S(2,1,a.freshnessIndicator$)===a.Freshness.STALE))},RRa=function(a){a&1&&I(0,"mat-icon",21)},SRa=function(a,b){a&1&&(J(0),O(1,RRa,1,0,"mat-icon",16),R(2,"async"),P(3," Updated by "),F(4,"span",17),P(5),R(6,"shortenEmail"),H(),I(7,"b-formatted-date-time",18),F(8,
"onedev-hovercard",null,19),I(10,"b-issue-person-card",20),H(),K());if(a&2){a=b.ngIf;var c=Kf(9);b=N(3);var d,e;z(1);E("ngIf",S(2,5,b.freshnessIndicator$)===b.Freshness.FRESH);z(3);E("onedevHovercardTrigger",c);z(1);Lf(" ",S(6,7,null!==(d=null==a.author?null:a.author.emailAddress)&&void 0!==d?d:"")," ");z(2);E("timestamp",a.updateTime);z(3);E("email",null!==(e=null==a.author?null:a.author.emailAddress)&&void 0!==e?e:"")}},TRa=function(a,b){a&1&&I(0,"b-actions-menu",22);a&2&&(a=b.ngIf,E("buttonLabel",
"Status Update actions")("menuItems",a))},URa=function(a,b){a&1&&(I(0,"b-note-container",27),R(1,"async"),R(2,"async"));if(a&2){a=b.ngIf;b=N().ngIf;var c=N(3),d;E("issueId",b.issueId)("issueAccessLevel",S(1,4,c.accessLevel$))("note",a)("formattingMode",null!==(d=S(2,6,c.formattingMode$))&&void 0!==d?d:c.FormattingMode.PLAIN)}},VRa=function(a){if(a&1){var b=u();F(0,"button",28);L("click",function(){w(b);var c=N(4);return y(c.isCollapsed=!1)});P(1," Show More ");H()}},WRa=function(a){a&1&&(J(0),F(1,
"div",23)(2,"div",null,24),O(4,URa,3,8,"b-note-container",25),R(5,"async"),H(),O(6,VRa,2,0,"button",26),H(),K());a&2&&(a=N(3),z(2),xf("collapsed",a.isCollapsed),z(2),E("ngIf",S(5,4,a.statusUpdateAsNote$)),z(2),E("ngIf",a.isCollapsed))},XRa=function(a){if(a&1){var b=u();J(0);F(1,"div",7)(2,"header",8)(3,"div",9)(4,"h4",10);P(5,"Status Update");H();F(6,"button",11);L("click",function(){w(b);var c=N(2);return y(c.editStatusUpdate())});P(7," Edit ");H();O(8,QRa,3,3,"ng-container",2);R(9,"async");H();
F(10,"div",12);O(11,SRa,11,9,"ng-container",2);R(12,"async");O(13,TRa,1,2,"b-actions-menu",13);R(14,"async");H()();O(15,WRa,7,6,"ng-container",2);R(16,"async");H();K()}a&2&&(a=N(2),z(8),E("ngIf",S(9,4,a.currentUserIsAuthoritative$)),z(3),E("ngIf",S(12,6,a.statusUpdate$)),z(2),E("ngIf",S(14,8,a.menuItems$)),z(2),E("ngIf",S(16,10,a.statusUpdate$)))},ZRa=function(a,b){a&1&&(F(0,"div"),R(1,"async"),I(2,"mat-icon",1),O(3,NRa,8,0,"ng-container",2),O(4,XRa,17,12,"ng-container",2),H());a&2&&(a=b.ngIf,b=N(),
Af("carded margin-s-sides margin-s-bottom bg-main highlighted-left flex-kids-x ",S(1,9,b.semanticClass$),""),xf("display-none",Sf(11,YRa,b.UiState.LOADING,b.UiState.HIDDEN).includes(a))("short-height",b.UiState.SHOW_EMPTY===a),z(3),E("ngIf",a===b.UiState.SHOW_EMPTY),z(1),E("ngIf",a===b.UiState.NORMAL))},$Ra=function(a){switch(a){case 1:return"noUpdate";case 2:return"noUpdateTeamMember";case 3:return"hasUpdate";case 0:return"";default:return""}},aSa=function(a){a&1&&(F(0,"p",10),P(1),H());a&2&&(a=
N().$implicit,z(1),Mf(a.description))},bSa=function(a,b){a&1&&(J(0),F(1,"mat-list-option",6)(2,"div",7)(3,"label",8),P(4),H()(),O(5,aSa,2,1,"p",9),H(),K());a&2&&(a=b.$implicit,b=N(),z(1),wf("height","auto"),E("selected",b.selectedSavedSearches.has(a.searchId))("value",a.searchId),z(3),Mf(a.name),z(1),E("ngIf",a.description))},cSa=function(a){if(a&1){var b=u();F(0,"div",19)(1,"button",20);L("click",function(){w(b);var c=N(2);return y(c.headerOnly=!1)});P(2," Show affected files ");I(3,"mat-icon",21);
H()()}},dSa=function(a,b){a&1&&(F(0,"div",27)(1,"div",28),P(2," \u00b7 "),F(3,"a",9),P(4),H()()());a&2&&(a=b.$implicit,b=N(3),z(3),Jf("href","https://critique.corp.google.com/cl/",null==b.changelistWithId?null:b.changelistWithId.id,"",a.replace("//","/").split("#")[0],"",Ud),z(1),Lf(" ",a.replace("//depot/google3/","").split("#")[0]," "))},eSa=function(a){if(a&1){var b=u();F(0,"div",22)(1,"p",23);P(2," Affected files ");F(3,"button",24);L("click",function(){w(b);var c=N(2);return y(c.headerOnly=!0)});
I(4,"mat-icon",25);H()();O(5,dSa,5,3,"div",26);H()}a&2&&(a=N().ngIf,z(5),E("ngForOf",a.affectedFiles))},fSa=function(a){a&1&&(F(0,"div",29)(1,"div",30),I(2,"mat-icon",31),F(3,"a",32),P(4," Open in Critique "),H()()());a&2&&(a=N(2),z(3),Hf("href","https://critique.corp.google.com/cl/",null==a.changelistWithId?null:a.changelistWithId.id,"",Ud))},gSa=function(a,b){a&1&&(F(0,"div",1)(1,"div",2)(2,"div",3),I(3,"img",4),H(),F(4,"div",5)(5,"div",6)(6,"a",7),P(7),H()(),F(8,"div",8)(9,"a",9),P(10),H(),P(11,
" \u00b7 "),F(12,"span"),P(13),H(),P(14," \u00b7 "),F(15,"span"),P(16,"Authored by "),I(17,"b-user-display",10),H(),P(18," \u00b7 "),F(19,"span"),P(20),H()()(),F(21,"div",11)(22,"button",12),I(23,"mat-icon",13),H(),F(24,"mat-menu",null,14)(26,"button",15),P(27," Hide this notification "),H()()()(),O(28,cSa,4,0,"div",16),O(29,eSa,6,1,"div",17),O(30,fSa,5,1,"div",18),H());if(a&2){a=b.ngIf;var c=Kf(25);b=N();z(5);E("title",a.description.replace(/<br>/g," ").replace(/<[^>]*>/g,""));z(1);Hf("href","https://critique.corp.google.com/cl/",
null==b.changelistWithId?null:b.changelistWithId.id,"",Ud);z(1);Lf(" ",a.description.replace(/<br>/g," ").replace(/<[^>]*>/g,"")," ");z(2);Hf("href","https://critique.corp.google.com/cl/",null==b.changelistWithId?null:b.changelistWithId.id,"",Ud);z(1);Lf("cl/",null==b.changelistWithId?null:b.changelistWithId.id,"");z(3);Mf(a.pending?"Pending":"Submitted");z(4);E("model",b.emailToUser(a.author));z(3);Nf("",a.affectedFiles.length," file",1===a.affectedFiles.length?"":"s"," affected");z(2);E("matMenuTriggerFor",
c);z(6);E("ngIf",b.headerOnly);z(1);E("ngIf",!b.headerOnly);z(1);E("ngIf",!b.headerOnly)}},hSa=function(a){a&1&&(J(0),P(1),I(2,"b-user-display",21),K());if(a&2){a=N().$implicit;var b=N().ngIf,c=N();z(1);Lf(" \u00b7 ",c.STATUS_TERSE[a]," to ");z(1);E("model",b.snapshot[0].assigneeUser)}},iSa=function(a){a&1&&(J(0),P(1),I(2,"b-user-display",21),K());if(a&2){a=N().$implicit;var b=N().ngIf,c=N();z(1);Lf(" \u00b7 ",c.STATUS_TERSE[a]," \u00b7 ");z(1);E("model",b.snapshot[0].assigneeUser)}},jSa=function(a){a&
1&&(J(0),P(1),K());if(a&2){a=N().$implicit;var b=N(2);z(1);Lf(" \u00b7 ",b.STATUS_TERSE[a]," ")}},kSa=function(a){a&1&&(J(0,18),O(1,hSa,3,2,"ng-container",19),O(2,iSa,3,2,"ng-container",19),O(3,jSa,2,1,"ng-container",20),K());if(a&2){a=N().ngIf;var b=N();E("ngSwitch",a.snapshot[0].status);z(1);E("ngSwitchCase",b.IssueStatus.ASSIGNED);z(1);E("ngSwitchCase",b.IssueStatus.ACCEPTED)}},lSa=function(a){if(a&1){var b=u();F(0,"div",25)(1,"button",26);L("click",function(){w(b);var c=N(3);return y(c.headerOnly=
!1)});P(2," Show recent updates ");I(3,"mat-icon",27);H()()}},mSa=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N().$implicit,z(1),Lf("(",a.count,")"))},nSa=function(a,b){if(a&1){var c=u();J(0);F(1,"span");P(2," \u00b7 ");F(3,"span",40);L("click",function(){w(c);N(7);console.log("likeComment() is unimplemented");return y()});P(4);H()();O(5,mSa,2,1,"span",1);K()}a&2&&(a=b.$implicit,z(4),Mf(a.hasReacted?"Unlike":"Like"),z(1),E("ngIf",0<a.count))},oSa=function(a){a&1&&(J(0),O(1,nSa,6,2,"ng-container",
1),K());if(a&2){a=N(2).$implicit;var b=N(4);z(1);E("ngIf",null==a.event.commentReactions?null:a.event.commentReactions.get(b.ReactionType.UPVOTE))}},pSa=function(a){a&1&&(J(0),F(1,"div",34),I(2,"b-user-image",35),H(),F(3,"div",36)(4,"p",37)(5,"a",8),P(6),H()(),F(7,"p",38),I(8,"b-user-display",21),P(9," commented \u00b7"),I(10,"b-formatted-date-time",39),O(11,oSa,2,1,"ng-container",1),H()(),K());if(a&2){a=N().$implicit;var b=N(3).ngIf,c=N();z(2);E("email",c.getUserEmailIfAvailable(a.event));z(2);E("title",
a.event.unlinkifiedComment);z(1);Jf("href","/issues/",b.issueId,"#comment",a.event.commentNumber,"",Ud);z(1);Lf(" ",a.event.unlinkifiedComment," ");z(2);E("model",a.event.userPerformingActionUser);z(2);E("timestamp",a.event.modifiedDate);z(1);E("ngIf",null==a.event.commentReactions?null:a.event.commentReactions.has(c.ReactionType.UPVOTE))}},qSa=function(a){a&1&&(J(0),F(1,"div",34),I(2,"b-user-image",35),H(),F(3,"div",36)(4,"p",41),P(5," Issue created "),H(),F(6,"p",38),I(7,"b-user-display",21),P(8,
" created issue \u00b7"),I(9,"b-formatted-date-time",39),H()(),K());if(a&2){a=N().$implicit;var b=N(4);z(2);E("email",b.getUserEmailIfAvailable(a.event));z(5);E("model",a.event.userPerformingActionUser);z(2);E("timestamp",a.event.modifiedDate)}},rSa=function(a){a&1&&(J(0),F(1,"div",34),I(2,"b-user-image",35),H(),F(3,"div",36)(4,"p",41),P(5),H(),F(6,"p",38),I(7,"b-user-display",21),P(8," submitted "),I(9,"b-changelist-link",42),P(10," \u00b7"),I(11,"b-formatted-date-time",39),H()(),K());if(a&2){a=
N().$implicit;var b=N(4);z(2);E("email",b.clAuthorToEmailAddress(a.event));z(3);Lf(" ",b.clEventToClDescription(a.event)," ");z(2);E("model",b.clAuthorToUser(a.event));z(2);E("changelistId",b.getClNumber(a.event));z(2);E("timestamp",a.event.modifiedDate)}},sSa=function(a){a&1&&(J(0),F(1,"div",34),I(2,"b-user-image",35),H(),F(3,"div",36)(4,"p",41),P(5),H(),F(6,"p",38),I(7,"b-user-display",21),P(8," submitted "),I(9,"b-changelist-link",42),P(10,", fixing "),F(11,"a",8),P(12),H(),P(13," \u00b7"),I(14,
"b-formatted-date-time",39),H()(),K());if(a&2){a=N().$implicit;var b=N(3).ngIf,c=N();z(2);E("email",c.clAuthorToEmailAddress(a.event));z(3);Lf(" ",c.clEventToClDescription(a.event)," ");z(2);E("model",c.clAuthorToUser(a.event));z(2);E("changelistId",c.getClNumber(a.event));z(2);Hf("href","/issues/",b.issueId,"",Ud);z(1);Lf("b/",b.issueId,"");z(2);E("timestamp",a.event.modifiedDate)}},tSa=function(a){a&1&&(J(0),F(1,"div",34),I(2,"b-user-image",35),H(),F(3,"div",36)(4,"p",41),P(5," Priority changed from "),
I(6,"b-issue-priority-display",10),P(7," to "),I(8,"b-issue-priority-display",10),H(),F(9,"p",38),I(10,"b-user-display",21),P(11," updated issue \u00b7"),I(12,"b-formatted-date-time",39),H()(),K());if(a&2){a=N().$implicit;var b=N(4);z(2);E("email",b.getUserEmailIfAvailable(a.event));z(4);E("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,"priority")));z(2);E("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")));z(2);E("model",a.event.userPerformingActionUser);z(2);
E("timestamp",a.event.modifiedDate)}},uSa=function(a){a&1&&(J(0),F(1,"div",34),I(2,"b-user-image",35),H(),F(3,"div",36)(4,"p",41),P(5),H(),F(6,"p",38),I(7,"b-user-display",21),P(8," updated issue \u00b7"),I(9,"b-formatted-date-time",39),H()(),K());if(a&2){a=N().$implicit;var b=N(4);z(2);E("email",b.getUserEmailIfAvailable(a.event));z(3);Nf(" Status changed from ",b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status")," ");z(2);E("model",a.event.userPerformingActionUser);
z(2);E("timestamp",a.event.modifiedDate)}},vSa=function(a){a&1&&(J(0),F(1,"div",34),I(2,"b-user-image",35),H(),F(3,"div",36)(4,"p",41),P(5),H(),F(6,"p",38),I(7,"b-user-display",21),P(8," updated issue \u00b7"),I(9,"b-formatted-date-time",39),H()(),K());if(a&2){a=N().$implicit;var b=N(4);z(2);E("email",b.getUserEmailIfAvailable(a.event));z(3);Nf(" Assignee changed from ",b.getPreviousDiffValue(a.event,"assignee")," to ",b.getNewDiffValue(a.event,"assignee")," ");z(2);E("model",a.event.userPerformingActionUser);
z(2);E("timestamp",a.event.modifiedDate)}},wSa=function(a){a&1&&(J(0),F(1,"div",34),I(2,"b-user-image",35),H(),F(3,"div",36)(4,"p",41),P(5),H(),F(6,"p",38),I(7,"b-user-display",21),P(8," modified status update \u00b7"),I(9,"b-formatted-date-time",39),H()(),K());if(a&2){a=N().$implicit;var b=N(4);z(2);E("email",b.getUserEmailIfAvailable(a.event));z(3);Lf(" ",null==a.event.statusUpdate?null:a.event.statusUpdate.updateText," ");z(2);E("model",a.event.userPerformingActionUser);z(2);E("timestamp",a.event.modifiedDate)}},
xSa=function(a){a&1&&(J(0),P(1," Default case "),K())},ySa=function(a,b){a&1&&(F(0,"div",33),J(1,18),O(2,pSa,12,8,"ng-container",19),O(3,qSa,10,3,"ng-container",19),O(4,rSa,12,5,"ng-container",19),O(5,sSa,15,7,"ng-container",19),O(6,tSa,13,5,"ng-container",19),O(7,uSa,10,5,"ng-container",19),O(8,vSa,10,5,"ng-container",19),O(9,wSa,10,4,"ng-container",19),O(10,xSa,2,0,"ng-container",20),K(),H());a&2&&(a=b.$implicit,z(1),E("ngSwitch",a.eventType),z(1),E("ngSwitchCase","comment"),z(1),E("ngSwitchCase",
"newIssue"),z(1),E("ngSwitchCase","changelist"),z(1),E("ngSwitchCase","changelistFixed"),z(1),E("ngSwitchCase","priority"),z(1),E("ngSwitchCase","status"),z(1),E("ngSwitchCase","assignee"),z(1),E("ngSwitchCase","statusUpdate"))},zSa=function(a){if(a&1){var b=u();F(0,"div",28)(1,"p",29);P(2," Recent updates ");F(3,"button",30);L("click",function(){w(b);var c=N(3);return y(c.headerOnly=!0)});I(4,"mat-icon",31);H()();O(5,ySa,11,9,"div",32);H()}a&2&&(a=N().ngIf,z(5),E("ngForOf",a.slice(-3)))},ASa=function(a){if(a&
1){var b=u();F(0,"div",46);I(1,"mat-icon",47);F(2,"button",48);L("click",function(){w(b);var c=N(3).ngIf,d=N();return y(d.showCommentBox.set(c.issueId,!0))});P(3," Add a comment ");H()()}},BSa=function(a){if(a&1){var b=u();F(0,"div",49);I(1,"b-user-image",35);F(2,"mat-form-field");I(3,"textarea",50);H();F(4,"button",51);I(5,"mat-icon",52);H();F(6,"button",53);L("click",function(){w(b);var c=N(3).ngIf,d=N();return y(d.showCommentBox.set(c.issueId,!1))});I(7,"mat-icon",54);H();F(8,"button",55);I(9,
"mat-icon",56);H()()}a&2&&(a=N(4),z(1),E("email",a.currentUser.email),z(2),E("bFocus",!0))},CSa=function(a){a&1&&(F(0,"div",43),O(1,ASa,4,0,"div",44),O(2,BSa,10,2,"div",45),H());if(a&2){a=N(2).ngIf;var b=N();z(1);E("ngIf",!b.showCommentBox.get(a.issueId));z(1);E("ngIf",b.showCommentBox.get(a.issueId))}},DSa=function(a){a&1&&(J(0),O(1,lSa,4,0,"div",22),O(2,zSa,6,1,"div",23),O(3,CSa,3,2,"div",24),K());a&2&&(a=N(2),z(1),E("ngIf",a.headerOnly),z(1),E("ngIf",!a.headerOnly),z(1),E("ngIf",!a.headerOnly))},
ESa=function(a,b){a&1&&(J(0),F(1,"div",3)(2,"div",4),I(3,"img",5),H(),F(4,"div",6)(5,"div",7)(6,"a",8),P(7),H()(),F(8,"div",9)(9,"a",8),P(10),H(),P(11," \u00b7 "),I(12,"b-issue-priority-display",10),O(13,kSa,4,3,"ng-container",11),H()(),F(14,"div",12)(15,"button",13),I(16,"mat-icon",14),H(),F(17,"mat-menu",null,15)(19,"button",16),P(20," Hide this notification "),H()()()(),O(21,DSa,4,3,"ng-container",17),R(22,"async"),K());if(a&2){a=b.ngIf;var c=Kf(18);b=N();var d=Kf(3);z(6);Hf("href","/issues/",
a.issueId,"",Ud);z(1);Lf(" ",a.snapshot[0].title," ");z(2);Hf("href","/issues/",a.issueId,"",Ud);z(1);Lf("b/",a.issueId,"");z(2);E("issuePriority",a.snapshot[0].priority);z(1);E("ngIf",b.convertIssueStatusStrToTag(a.snapshot[0].status));z(2);E("matMenuTriggerFor",c);z(6);E("ngIf",S(22,9,null==b.issueWithEvents?null:b.issueWithEvents.events))("ngIfElse",d)}},FSa=function(a){a&1&&I(0,"b-spinner")},GSa=function(a){a&1&&(J(0),I(1,"mat-icon",11),K())},HSa=function(a){if(a&1){var b=u();J(0);F(1,"button",
12);L("mousedown",function(c){w(b);var d=N();return y(d.back(c))});I(2,"mat-icon",13);H();K()}},ISa=function(a){if(a&1){var b=u();J(0);F(1,"button",14);L("mousedown",function(c){w(b);var d=N();return y(d.expand(d.componentOption,c))});I(2,"mat-icon",15);H();K()}a&2&&(a=N(),z(1),E("matTooltip","View child components of "+a.componentOption.name),of("aria-label","View child components of "+a.componentOption.name),z(1),E("svgIcon",a.showFolderSpecialIcon?"folder_special_24px":"folder"))},JSa=function(a){if(a&
1){var b=u();J(0);F(1,"a",19);L("mousedown",function(d){w(b);var e=N().$implicit;N(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return y()});R(2,"boldPrefixMatches");R(3,"toString");H();K()}if(a&2){a=N().$implicit;var c=N(2);z(1);E("innerHtml",Uf(2,1,S(3,4,a.name),c.query),Td)}},KSa=function(a){a&1&&P(0);a&2&&(a=N().$implicit,Lf(" ",a.name," "))},LSa=function(a){a&1&&(J(0),P(1,"\u00a0>\u00a0"),K())},MSa=function(a,b){a&1&&(J(0),O(1,JSa,4,6,"ng-container",6),O(2,KSa,1,1,"ng-template",
null,17,gg),O(4,LSa,2,0,"ng-container",18),K());if(a&2){a=b.$implicit;b=b.last;var c=Kf(3);z(1);E("ngIf",a.name!=a.id)("ngIfElse",c);z(3);E("ngIf",!b)}},NSa=function(a){a&1&&(J(0),O(1,MSa,5,3,"ng-container",16),K());a&2&&(a=N(),z(1),E("ngForOf",a.componentOption.componentPath))},OSa=function(a,b){if(a&1){var c=u();J(0);F(1,"a",20);L("mousedown",function(d){var e=w(c).ngIf;N(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return y()});P(2);H();K()}a&2&&(a=b.ngIf,z(2),Lf(" ",
a.name," "))},PSa=function(a){a&1&&O(0,OSa,3,1,"ng-container",18);a&2&&(a=N(),E("ngIf",a.componentOption.componentPath[a.componentOption.componentPath.length-1]))},QSa=function(a){a&1&&(F(0,"span",21),P(1," [Archived] "),H())},RSa=function(a){return{type:"team",id:a.teamId,name:a.name,description:a.description,pathNames:a.pathNames,pathIds:a.pathIds,expanded:!1}},SSa=function(a){return{type:"team",id:a.id,name:a.name,description:a.description,expanded:!1}},TSa=function(a,b){var c,d=null!=(c=null==
b?void 0:b.componentPathId)?c:[],e,g=null!=(e=null==b?void 0:b.componentPathName)?e:[];b=d.map(function(h,l){return{id:h,name:g[l],pathText:g.slice(0,l+1).join(" > ")}});return{type:"component",id:a.componentId,name:a.name,description:a.description,accessLimit:a.accessLimit,archived:a.archived,componentPath:b,trackerId:a.trackerId}},USa=function(a){return new Map([].concat(cd(a.entries())).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return[b,c.map(SSa)]}))},VSa=function(a){a&1&&I(0,
"img",5);a&2&&(a=N(),of("src",a.getLogoUrl(),Ud))},WSa=function(a){a&1&&(F(0,"span",9),P(1,"no components"),H())},XSa=function(a){a&1&&(F(0,"div",6),I(1,"div",7),R(2,"boldPrefixMatches"),O(3,WSa,2,0,"span",8),H());a&2&&(a=N(),z(1),E("innerHtml",Uf(2,2,a.teamOption.name,a.query),Td),z(2),E("ngIf",a.hasNoComponent))},YSa=function(a){if(a&1){var b=u();J(0);F(1,"a",15);L("mousedown",function(c){w(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 y()});P(2);H();K()}a&2&&(a=N(2).$implicit,z(2),Mf(a))},ZSa=function(a){a&1&&P(0);a&2&&(a=N(2).$implicit,Mf(a))},$Sa=function(a){a&1&&(J(0),O(1,YSa,3,1,"ng-container",12),O(2,ZSa,1,1,"ng-template",null,14,gg),J(4),P(5," \u00b7 "),K()());if(a&2){var b=Kf(3);a=N(3);z(1);E("ngIf",a.allowSegmentSelection)("ngIfElse",b)}},aTa=function(a){a&1&&(J(0),F(1,"strong",17),P(2),H(),K());a&2&&(a=N(2).$implicit,z(2),Mf(a))},bTa=function(a){a&1&&P(0);a&2&&(a=N(2).$implicit,Mf(a))},
cTa=function(a){a&1&&(O(0,aTa,3,1,"ng-container",12),O(1,bTa,1,1,"ng-template",null,16,gg));if(a&2){var b=Kf(2);a=N(3);E("ngIf",a.compact)("ngIfElse",b)}},dTa=function(a,b){a&1&&(J(0),O(1,$Sa,6,2,"ng-container",12),O(2,cTa,3,2,"ng-template",null,13,gg),K());if(a&2){a=b.last;var c=Kf(3);z(1);E("ngIf",!a)("ngIfElse",c)}},eTa=function(a){a&1&&(F(0,"div",10),O(1,dTa,4,2,"ng-container",11),H());a&2&&(a=N(),z(1),E("ngForOf",a.teamOption.pathNames))},fTa=function(){var a=Jc(qh),b=a?a.location:null;return{getPathname:function(){return b?
b.pathname+b.search:""}}},gTa=function(a){if(a&1){var b=u();F(0,"button",9);L("mousedown",function(c){w(b);N().clearQuery();return y(gp(c))});I(1,"mat-icon",10);H()}},hTa=function(a){a&1&&(F(0,"div",13),P(1," Checking for admin access... "),H())},iTa=function(a){a&1&&(F(0,"div",15),P(1," You do not have admin access to this component. "),F(2,"a",16),P(3,"View component admins"),H()());a&2&&(a=N(3),z(2),E("href",a.paths.manageComponent(a.selectedComponent.componentId,"access"),Ud))},jTa=function(a){a&
1&&O(0,iTa,4,1,"div",14);a&2&&(a=N(2),E("ngIf",!a.hasAccess&&a.selectedComponent))},kTa=function(a){a&1&&(F(0,"div"),O(1,hTa,2,0,"div",11),O(2,jTa,1,1,"ng-template",null,12,gg),H());if(a&2){var b=Kf(3);a=N();z(1);E("ngIf",a.checkingAccess)("ngIfElse",b)}},lTa=function(a){a&1&&I(0,"mat-progress-bar",24)},mTa=function(a){a&1&&(J(0),P(1,"s"),K())},oTa=function(a,b){if(a&1){var c=u();J(0);F(1,"div",30);L("mousedown",function(e){var g=w(c).$implicit,h=N(5);nTa(h.searchState,g);return y(gp(e))});F(2,"team-row",
31);L("selectTeamId",function(e){w(c);var g=N(5);return y(hp(g.searchState,e))});H()();K()}if(a&2){a=b.$implicit;b=N(5);var d=Kf(3);z(1);E("data",a);z(1);E("teamOption",a)("query",d.value)("hasNoComponent",b.searchState.hasNoComponent(a.id))}},pTa=function(a){a&1&&(F(0,"div",27)(1,"div",28),P(2," Filter components by my teams "),F(3,"span"),P(4),O(5,mTa,2,0,"ng-container",5),H()(),O(6,oTa,3,4,"ng-container",29),I(7,"mat-divider"),H());a&2&&(a=N().ngIf,z(4),Lf("",a.length," team"),z(1),E("ngIf",1<
a.length),z(1),E("ngForOf",a))},qTa=function(a,b){a&1&&(J(0),O(1,pTa,8,3,"div",26),K());a&2&&(a=b.ngIf,z(1),E("ngIf",a.length))},rTa=function(a){a&1&&Cf(0)},tTa=function(a){a&1&&(J(0),O(1,qTa,2,1,"ng-container",5),R(2,"async"),O(3,rTa,1,0,"ng-container",25),K());if(a&2){a=N(2);var b=Kf(12);z(1);E("ngIf",S(2,3,a.searchState.myTeams$));z(2);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Rf(5,sTa,a.searchState.recentComponents))}},uTa=function(a){a&1&&(J(0),P(1,"s"),K())},vTa=function(a){a&1&&Cf(0)},
yTa=function(a,b){a&1&&(J(0),O(1,vTa,1,0,"ng-container",25),K());if(a&2){a=b.$implicit;b=b.index;N(5);var c=Kf(10);z(1);E("ngTemplateOutlet",c)("ngTemplateOutletContext",Sf(4,wTa,a,Rf(2,xTa,b)))}},zTa=function(a){if(a&1){var b=u();F(0,"button",33);L("mousedown",function(){w(b);var c=N(5);return y(c.searchState.showAllTeams$.next(!0))});I(1,"mat-icon",34);P(2," Show all teams ");H()}},ATa=function(a,b){a&1&&(F(0,"div",27)(1,"div",28),P(2," Filter components by teams "),F(3,"span"),P(4),O(5,uTa,2,0,
"ng-container",5),H()(),O(6,yTa,2,7,"ng-container",29),R(7,"async"),O(8,zTa,3,0,"button",32),R(9,"async"),I(10,"mat-divider"),H());a&2&&(a=b.ngIf,b=N(4),z(4),Lf("",a," team"),z(1),E("ngIf",1<a),z(1),E("ngForOf",S(7,4,b.searchState.filteredTeamOptions$)),z(2),E("ngIf",S(9,6,b.searchState.hasHiddenTeams$)))},BTa=function(a,b){a&1&&(J(0),O(1,ATa,11,8,"div",26),K());a&2&&(a=b.ngIf,z(1),E("ngIf",a.length))},DTa=function(a){a&1&&Cf(0)},FTa=function(a){a&1&&(J(0),O(1,BTa,2,1,"ng-container",5),R(2,"async"),
O(3,DTa,1,0,"ng-container",25),K());if(a&2){a=N(2);var b=Kf(12);z(1);E("ngIf",S(2,3,a.searchState.teamOptions$));z(2);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Rf(5,ETa,a.searchState.componentOptions))}},GTa=function(a){a&1&&Cf(0)},ITa=function(a,b){a&1&&(J(0),O(1,GTa,1,0,"ng-container",25),K());if(a&2){a=b.$implicit;b=b.index;N(7);var c=Kf(10);z(1);E("ngTemplateOutlet",c)("ngTemplateOutletContext",Sf(4,wTa,a,Rf(2,HTa,b)))}},JTa=function(a){a&1&&(F(0,"div",42),O(1,ITa,2,7,"ng-container",29),
H());a&2&&(a=N(2).ngIf,z(1),E("ngForOf",a))},MTa=function(a){if(a&1){var b=u();J(0);O(1,JTa,2,1,"div",41);F(2,"button",33);L("mousedown",function(c){w(b);var d=N(5),e=d.searchState.teamScope$.value;e.expanded?KTa(d.searchState,e):LTa(d.searchState,e);return y(gp(c))});I(3,"mat-icon",34);P(4);H();K()}a&2&&(a=N(5),z(1),E("ngIf",a.searchState.teamScope$.value.expanded),z(2),xf("expanded",a.searchState.teamScope$.value.expanded),z(1),Lf(" ",a.searchState.teamScope$.value.expanded?"Hide":"Show"," child teams "))},
NTa=function(a,b){a&1&&(J(0),O(1,MTa,5,4,"ng-container",5),K());a&2&&(a=b.ngIf,z(1),E("ngIf",a.length))},QTa=function(a){if(a&1){var b=u();F(0,"div",36)(1,"div",28);P(2," Filtering by team: ");H();F(3,"div",37)(4,"team-row",38);L("selectTeamId",function(d){w(b);var e=N(3);return y(hp(e.searchState,d))});H();F(5,"button",39);L("mousedown",function(d){w(b);var e=N(3);OTa(e.searchState);return y(gp(d))});I(6,"mat-icon",40);H()();O(7,NTa,2,1,"ng-container",5);H()}if(a&2){a=N(3);var c=Kf(3);z(3);E("data",
a.searchState.teamScope$.value)("listOrder",Qf(7,PTa));z(1);E("teamOption",a.searchState.teamScope$.value)("query",c.value)("compact",!0)("allowSegmentSelection",!0);z(3);E("ngIf",a.searchState.getChildTeams(a.searchState.teamScope$.value.id))}},RTa=function(a){a&1&&Cf(0)},TTa=function(a){a&1&&(J(0),O(1,QTa,8,8,"div",35),O(2,RTa,1,0,"ng-container",25),K());if(a&2){a=N(2);var b=Kf(12);z(1);E("ngIf",a.searchState.teamScope$.value);z(1);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Sf(3,STa,a.searchState.componentOptions,
a.searchState.teamScope$.value))}},WTa=function(a){if(a&1){var b=u();F(0,"div",44)(1,"div",45);P(2,"Component Tree Browser");H();F(3,"component-row",46);L("goBack",function(){w(b);var c=N(3);return y(UTa(c.searchState))})("selectComponentId",function(c){w(b);var d=N(3);return y(VTa(d.searchState,c))});H()()}a&2&&(a=N(3),z(3),E("componentOption",a.searchState.componentScope))},XTa=function(a){a&1&&Cf(0)},ZTa=function(a){a&1&&(J(0),O(1,WTa,4,1,"div",43),O(2,XTa,1,0,"ng-container",25),K());if(a&2){a=
N(2);var b=Kf(12);z(1);E("ngIf",a.searchState.componentScope);z(1);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Rf(3,YTa,a.searchState.componentOptions))}},$Ta=function(a){if(a&1){var b=u();F(0,"div",17,18);L("mousedown",function(c){w(b);N();return y(gp(c))});F(2,"div",19);O(3,lTa,1,0,"mat-progress-bar",20);H();F(4,"div",21);J(5,22);R(6,"async");O(7,tTa,4,7,"ng-container",23);O(8,FTa,4,7,"ng-container",23);O(9,TTa,3,6,"ng-container",23);O(10,ZTa,3,5,"ng-container",23);K();H()()}a&2&&(a=N(),z(3),
E("ngIf",a.isLoading()),z(2),E("ngSwitch",S(6,6,a.searchState.state$)),z(2),E("ngSwitchCase","default"),z(1),E("ngSwitchCase","global"),z(1),E("ngSwitchCase","team_scope"),z(1),E("ngSwitchCase","component_scope"))},aUa=function(a){if(a&1){var b=u();F(0,"button",50);L("mousedown",function(c){w(b);var d=N().team,e=N();d.expanded?KTa(e.searchState,d):LTa(e.searchState,d);return y(gp(c))});I(1,"mat-icon",51);H()}a&2&&(a=N().team,z(1),xf("expanded",a.expanded))},bUa=function(a){a&1&&Cf(0)},dUa=function(a,
b){a&1&&(J(0),O(1,bUa,1,0,"ng-container",25),K());if(a&2){a=b.$implicit;b=b.index;var c=N(2),d=c.level;c=c.order;N();var e=Kf(10);z(1);E("ngTemplateOutlet",e)("ngTemplateOutletContext",Tf(cUa,a,d+1,c.concat(b)))}},eUa=function(a){a&1&&(J(0),O(1,dUa,2,6,"ng-container",29),K());if(a&2){a=N().team;var b=N();z(1);E("ngForOf",b.searchState.getChildTeams(a.id))}},fUa=function(a,b){if(a&1){var c=u();F(0,"div",47);L("mousedown",function(h){var l=w(c).team,q=N();nTa(q.searchState,l);return y(gp(h))});F(1,
"div",48);O(2,aUa,2,2,"button",49);F(3,"team-row",31);L("selectTeamId",function(h){w(c);var l=N();return y(hp(l.searchState,h))});H()()();O(4,eUa,2,1,"ng-container",5)}if(a&2){a=b.team;var d=b.level;b=b.order;var e=N(),g=Kf(3);E("listOrder",b)("data",a);z(1);wf("margin-left",28*d,"px");z(1);E("ngIf",e.searchState.getChildTeams(a.id).length);z(1);xf("indent",!e.searchState.getChildTeams(a.id).length);E("teamOption",a)("query",g.value)("hasNoComponent",e.searchState.hasNoComponent(a.id));z(1);E("ngIf",
a.expanded)}},gUa=function(a){a&1&&(J(0),P(1,"s"),K())},iUa=function(a,b){if(a&1){var c=u();F(0,"div",56);L("mousedown",function(g){var h=w(c).$implicit,l=N(3);hUa(l.searchState,h.id);return y(gp(g))});F(1,"component-row",57);L("selectComponentId",function(g){w(c);var h=N(3);return y(hUa(h.searchState,g))})("expandComponent",function(g){w(c);var h=N(3);return y(h.searchState.expandComponent(g))});H()()}if(a&2){a=b.$implicit;b=N(2).mode;var d=N(),e=Kf(3);E("data",a);z(1);E("showFolderSpecialIcon",
d.currentTracker.enableTrackersComponentPathTruncation&&d.currentTracker.inTracker)("componentOption",a)("query",e.value)("mode",b)}},jUa=function(a,b){a&1&&(F(0,"div",54)(1,"div",28),P(2),F(3,"span"),P(4),O(5,gUa,2,0,"ng-container",5),H()(),O(6,iUa,2,5,"div",55),H());if(a&2){a=b.ngIf;var c=N();b=c.mode;c=c.$implicit;z(2);Lf(" ","recent"===b?"Select recent component":"Select component"," ");z(2);Lf("",a," component");z(1);E("ngIf",1<a);z(1);E("ngForOf",c)}},kUa=function(a){a&1&&(J(0),P(1," No recent components "),
K())},lUa=function(a){a&1&&(J(0),P(1," No child components "),K())},mUa=function(a){a&1&&(J(0),P(1),I(2,"mat-icon",61),P(3," above ("),F(4,"a",62),P(5,"learn more "),I(6,"mat-icon",63),H(),P(7," about team associations)"),K());a&2&&(a=N(4).teamScope,z(1),Lf(" for ",a.name,". Remove the team filter by clicking on the "))},nUa=function(a){a&1&&(J(0),P(1," No components found "),O(2,mUa,8,1,"ng-container",5),K());a&2&&(a=N(3).teamScope,z(2),E("ngIf",a))},oUa=function(a){a&1&&(F(0,"div",59),J(1,22),O(2,
kUa,2,0,"ng-container",23),O(3,lUa,2,0,"ng-container",23),O(4,nUa,3,1,"ng-container",60),K(),H());a&2&&(a=N(2).mode,z(1),E("ngSwitch",a),z(1),E("ngSwitchCase","recent"),z(1),E("ngSwitchCase","leaf"))},pUa=function(a){a&1&&O(0,oUa,5,3,"div",58);a&2&&(a=N(2),E("ngIf",!(a.componentLoading||a.searchState.componentsLoading)))},qUa=function(a,b){a&1&&(O(0,jUa,7,4,"div",52),O(1,pUa,1,1,"ng-template",null,53,gg));if(a&2){a=b.$implicit;var c=Kf(2);E("ngIf",a.length)("ngIfElse",c)}},rUa=function(a,b){b=k([a.listOrder,
b.listOrder]);a=b.next().value;b=b.next().value;for(var c=0;c<Math.min(a.length,b.length);c++)if(a[c]!==b[c])return a[c]-b[c];return a.length-b.length},sUa=function(a,b){a&1&&(F(0,"mat-radio-button",13),P(1),H());a&2&&(a=b.$implicit,b=N(2),E("checked",b.selectedFilter.type===a.type)("value",a),z(1),Lf(" ",a.display," "))},tUa=function(a,b){a&1&&(F(0,"mat-radio-button",13),P(1),H());a&2&&(a=b.$implicit,b=N(2),E("checked",b.selectedFilter.type===a.type)("value",a),z(1),Lf(" ",a.display," "))},uUa=function(a){if(a&
1){var b=u();J(0);F(1,"b-team-component-picker",14);L("selectedComponentChange",function(c){w(b);var d=N(2);return y(d.selectComponent(null!==c&&void 0!==c?c:null))});H();K()}a&2&&(a=N(2),z(1),E("selectedComponent",a.selectedComponent)("placeholder","Choose Component")("isRequired",!0))},vUa=function(a,b){a&1&&(F(0,"mat-radio-button",13),P(1),H());a&2&&(a=b.$implicit,b=N(2),E("checked",b.selectedFilter.type===a.type)("value",a),z(1),Lf(" ",a.display," "))},wUa=function(a,b){a&1&&(F(0,"mat-list-option",
23),P(1),H());a&2&&(a=b.$implicit,E("value",a),z(1),Lf(" ",a.name," "))},xUa=function(a){a&1&&(F(0,"mat-list-option",23),P(1," No hotlists matching search "),H());a&2&&E("value",null)},yUa=function(a,b){a&1&&(J(0),O(1,wUa,2,2,"mat-list-option",21),O(2,xUa,2,1,"mat-list-option",22),K());a&2&&(a=b.$implicit,z(1),E("ngForOf",a),z(1),E("ngIf",0===a.length))},zUa=function(a){if(a&1){var b=u();F(0,"mat-selection-list",19);L("selectionChange",function(d){w(b);var e=N(3);0<d.options.length&&(d=d.options[0].value,
e.selectedHotlist=d,ip("streamFilterSelectedHotlist")(d),e.filters.get(3).search.value=String(d.hotlistId),e.selectedFilter=e.filters.get(3));e.isHotlistPanelOpen=!1;return y()});O(1,yUa,3,2,"ng-container",20);R(2,"async");H()}if(a&2){a=N(3);var c=Kf(7);E("multiple",!1);z(1);E("ngIf",S(2,3,a.displayedHotlists$))("ngIfElse",c)}},AUa=function(a){if(a&1){var b=u();J(0);F(1,"mat-form-field",15)(2,"mat-label");P(3,"Search starred hotlists");H();F(4,"input",16,17);L("input",function(){w(b);var e=Kf(5);
N(2).userHotlistQuery$.next(e.value);return y()})("focus",function(){w(b);var e=Kf(5),g=N(2);e.select();g.isHotlistPanelOpen=!0;return y()});H()();O(7,zUa,3,5,"ng-template",18);L("detach",function(){w(b);N(2).isHotlistPanelOpen=!1;return y()})("backdropClick",function(){w(b);N(2).isHotlistPanelOpen=!1;return y()});K()}if(a&2){var c=Kf(6);a=N(2);var d=Kf(1);z(4);E("value",a.selectedHotlist?a.selectedHotlist.name:"");z(3);E("cdkConnectedOverlayOrigin",d)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",
a.isHotlistPanelOpen)}},BUa=function(a){if(a&1){var b=u();F(0,"div")(1,"label",6);P(2,"Filter stream by");H();F(3,"mat-radio-group",7);L("change",function(c){w(b);var d=N();if(c=c.value)d.selectedFilter=c;return y()});O(4,sUa,2,3,"mat-radio-button",8);O(5,tUa,2,3,"mat-radio-button",8);O(6,uUa,2,3,"ng-container",9);O(7,vUa,2,3,"mat-radio-button",8);O(8,AUa,8,4,"ng-container",9);H()();I(9,"mat-divider");F(10,"div",10)(11,"button",11);L("click",function(){w(b);var c=N();return y(c.closeMenu())});P(12,
"Cancel");H();F(13,"button",12);L("click",function(){w(b);var c=N();return y(c.emitSelection())});P(14,"Apply");H()()}a&2&&(a=N(),z(3),E("value",a.selectedFilter),z(1),E("ngIf",a.filters.get(a.FilterType.ME)),z(1),E("ngIf",a.filters.get(a.FilterType.COMPONENT)),z(1),E("ngIf",a.selectedFilter.type===a.FilterType.COMPONENT),z(1),E("ngIf",a.filters.get(a.FilterType.HOTLIST)),z(1),E("ngIf",a.selectedFilter.type===a.FilterType.HOTLIST))},CUa=function(a){a&1&&I(0,"b-spinner")},DUa=function(a,b){if(a&1){var c=
u();J(0);F(1,"mat-list-option",11);L("click",function(){var d=w(c).$implicit;N(2);d.value=!d.value;Jya("activityStreamHeaderOnly")(d.value);return y()});P(2);H();K()}a&2&&(a=b.$implicit,z(1),E("value",a)("selected",a.value),z(1),Lf(" ",a.display," "))},EUa=function(a){a&1&&(F(0,"mat-selection-list"),O(1,DUa,3,3,"ng-container",10),H());a&2&&(a=N(),z(1),E("ngIf",a.settings.get(a.SettingType.CARD_HEADER_ONLY)))},FUa=function(a,b){a&1&&(J(0),I(1,"b-changelist-activity-card",14),K());a&2&&(a=b.$implicit,
z(1),E("changelistWithId",a))},GUa=function(a){a&1&&(F(0,"div",12),O(1,FUa,2,1,"ng-container",13),R(2,"async"),H());a&2&&(a=N(),z(1),E("ngForOf",S(2,1,a.changelistsWithIds)))},HUa=function(a){a&1&&(F(0,"div",18),I(1,"b-spinner"),H())},IUa=function(a){a&1&&(J(0),F(1,"p",20),P(2),R(3,"async"),H(),K());if(a&2){a=N(2).$implicit;var b=N(2);z(2);b.currentDisplayDate=new Date(a.issue.majorModifiedTimeMicros/1E3);a=b.dateFormatter.formatUserCalendar(b.currentDisplayDate);Mf(S(3,1,a))}},JUa=function(a){a&
1&&(J(0),O(1,IUa,4,3,"ng-container",10),I(2,"b-issue-activity-card",19),K());if(a&2){a=N().$implicit;var b=N(2);z(1);if(b.currentDisplayDate){var c=b.getDayOfYear(new Date(a.issue.majorModifiedTimeMicros/1E3));var d=b.getDayOfYear(b.currentDisplayDate);c=c===d}else c=!1;E("ngIf",!c);z(1);E("issueWithEvents",a)("headerOnly",b.settings.get(b.SettingType.CARD_HEADER_ONLY).value)}},LUa=function(a,b){a&1&&(J(0),O(1,JUa,3,3,"ng-container",10),R(2,"async"),K());if(a&2){a=b.$implicit;var c;z(1);E("ngIf",
0<(null!==(c=S(2,1,a.events))&&void 0!==c?c:Qf(3,KUa)).length)}},MUa=function(a){if(a&1){var b=u();F(0,"div",21)(1,"p",22);P(2,"You've reached the end of recent activity.");H();F(3,"button",23);L("click",function(){w(b);N();var c=Kf(1);return y(c.scrollTo(0,0))});P(4,"Back to top");H()()}},NUa=function(a){a&1&&(F(0,"div",12,15),O(2,HUa,2,0,"div",16),O(3,LUa,3,4,"ng-container",13),R(4,"async"),O(5,MUa,5,0,"div",17),H());a&2&&(a=N(),z(2),E("ngIf",a.loadingCards),z(1),E("ngForOf",S(4,3,a.issuesWithEvents$)),
z(2),E("ngIf",!a.loadingCards))},OUa=function(a){a&1&&(F(0,"span",8),Gf(1,1),H())},PUa=function(a){a&1&&(F(0,"span",9),Gf(1,2),H())},QUa=function(a){a&1&&(F(0,"span",9),Gf(1,1),F(2,"span",10),rd(),F(3,"svg",11),I(4,"path",12),H()()())},RUa=function(a){a&1&&(F(0,"span",13),Gf(1,2),H())},SUa=function(a,b){a&1&&(F(0,"mat-chip-option",36),P(1),H());a&2&&(a=b.$implicit,E("selected",a.selected),z(1),Lf(" ",a.label," "))},TUa=function(a){a&1&&(F(0,"mat-header-cell"),P(1," Type "),H())},UUa=function(a,b){a&
1&&(F(0,"mat-cell")(1,"mat-icon"),P(2),H()());a&2&&(a=b.$implicit,z(1),Af("google-material-icons product-icon ",a.icon,""),z(1),Mf(a.icon))},VUa=function(a){a&1&&(F(0,"mat-header-cell"),P(1," Description "),H())},WUa=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N().$implicit,Af("priority-badge ",a.priority,""),z(1),Mf(a.priority))},XUa=function(a,b){a&1&&(F(0,"mat-cell"),O(1,WUa,2,4,"span",37),F(2,"a",38),P(3),H()());a&2&&(a=b.$implicit,z(1),E("ngIf",a.priority),z(1),E("href",a.link,Ud),of("target",
"Buganizer"!=a.source?"_blank":null),z(1),Mf(a.title))},YUa=function(a){a&1&&(F(0,"mat-header-cell"),P(1," Last modified "),H())},ZUa=function(a,b){a&1&&(F(0,"mat-cell"),P(1),R(2,"date"),H());a&2&&(a=b.$implicit,z(1),Mf(Uf(2,1,a.modifiedDate,"MMM d, y h:mma")))},$Ua=function(a){a&1&&(F(0,"mat-header-cell"),P(1," Role "),H())},aVa=function(a,b){a&1&&(F(0,"mat-cell"),P(1),H());a&2&&(a=b.$implicit,z(1),Mf(a.role))},bVa=function(a){a&1&&(F(0,"mat-header-cell"),P(1," Created "),H())},cVa=function(a,b){a&
1&&(F(0,"mat-cell"),P(1),R(2,"date"),H());a&2&&(a=b.$implicit,z(1),Mf(S(2,1,a.creationDate)))},dVa=function(a){a&1&&I(0,"mat-header-row")},eVa=function(a){a&1&&I(0,"mat-row")},fVa=function(a){a&1&&I(0,"b-spinner")},gVa=function(a,b){a&1&&(F(0,"mat-tab",13)(1,"div",14)(2,"button",15),P(3),F(4,"mat-icon",8),P(5,"arrow_drop_down"),H()(),F(6,"mat-menu",16,17)(8,"div",18),L("click",function(d){return d.stopPropagation()}),F(9,"mat-checkbox",19),P(10," Buganizer "),H(),F(11,"mat-checkbox",20),P(12," Critique "),
H(),F(13,"mat-checkbox",20),P(14," Drive "),H(),F(15,"mat-checkbox",21),P(16," Launch "),H()()(),F(17,"mat-chip-listbox",22),O(18,SUa,2,2,"mat-chip-option",23),H()(),F(19,"div",24)(20,"mat-table",25),J(21,26),O(22,TUa,2,0,"mat-header-cell",27),O(23,UUa,3,4,"mat-cell",28),K(),J(24,29),O(25,VUa,2,0,"mat-header-cell",27),O(26,XUa,4,4,"mat-cell",28),K(),J(27,30),O(28,YUa,2,0,"mat-header-cell",27),O(29,ZUa,3,4,"mat-cell",28),K(),J(30,31),O(31,$Ua,2,0,"mat-header-cell",27),O(32,aVa,2,1,"mat-cell",28),K(),
J(33,32),O(34,bVa,2,0,"mat-header-cell",27),O(35,cVa,3,3,"mat-cell",28),K(),O(36,dVa,1,0,"mat-header-row",33),O(37,eVa,1,0,"mat-row",34),H(),O(38,fVa,1,0,"ng-template",null,35,gg),H()());if(a&2){a=b.$implicit;var c=Kf(7);b=N(2);E("label",a.label);z(2);E("matMenuTriggerFor",c);z(1);Lf(" Source: ",a.sources.join(", ")," ");z(15);E("ngForOf",a.chips);z(2);E("dataSource",a.tasks);z(16);E("matHeaderRowDef",b.displayedColumns);z(1);E("matRowDefColumns",b.displayedColumns)}},hVa=function(a){a&1&&(F(0,"div",
10)(1,"mat-tab-group",11),O(2,gVa,40,7,"mat-tab",12),H()());a&2&&(a=N(),z(2),E("ngForOf",a.mvpMyTaskTabsData$))},iVa=function(){return(0,D.pipe)(Te(function(a,b){return a.concat(b)}))},kVa=function(a){if(a&1){var b=u();J(0);F(1,"div",11);rd();F(2,"svg",12);I(3,"path",13)(4,"path",14)(5,"path",15)(6,"path",16)(7,"path",17)(8,"path",18)(9,"path",19)(10,"path",20)(11,"path",21)(12,"path",22)(13,"path",23)(14,"path",24);F(15,"g",25)(16,"mask",26);I(17,"path",27);H();F(18,"g",28);I(19,"path",29);H()();
I(20,"path",30)(21,"path",31)(22,"path",32)(23,"path",33)(24,"path",34)(25,"path",35)(26,"path",36)(27,"path",37)(28,"path",38)(29,"path",39)(30,"path",40)(31,"path",41)(32,"path",42)(33,"path",43)(34,"path",44)(35,"path",45);F(36,"mask",46);I(37,"path",47);H();F(38,"g",48);I(39,"path",49);H();F(40,"mask",50);I(41,"path",51);H();F(42,"g",52);I(43,"path",53)(44,"path",54)(45,"path",55)(46,"path",56)(47,"path",57)(48,"path",58);H();I(49,"path",59)(50,"path",60)(51,"path",61)(52,"path",62);F(53,"defs")(54,
"linearGradient",63);I(55,"stop",64)(56,"stop",65);H();F(57,"linearGradient",66);I(58,"stop",67)(59,"stop",68);H();F(60,"linearGradient",69);I(61,"stop",70)(62,"stop",65);H();F(63,"linearGradient",71);I(64,"stop",67)(65,"stop",68);H();F(66,"linearGradient",72);I(67,"stop",70)(68,"stop",65);H();F(69,"linearGradient",73);I(70,"stop",64)(71,"stop",65);H();F(72,"linearGradient",74);I(73,"stop",75)(74,"stop",76);H();F(75,"linearGradient",77);I(76,"stop",78)(77,"stop",65);H();F(78,"linearGradient",79);
I(79,"stop",78)(80,"stop",65);H();F(81,"linearGradient",80);I(82,"stop",70)(83,"stop",65);H();F(84,"linearGradient",81);I(85,"stop",70)(86,"stop",65);H();F(87,"linearGradient",82);I(88,"stop",64)(89,"stop",65);H()()();sd();F(90,"p");P(91,"Use work areas to closely monitor a hotlist, component or a project.");H();F(92,"button",83);L("click",function(){w(b);var c=N(2);return y(jVa(c))});F(93,"mat-icon",84);P(94,"add");H();P(95," Add work area ");H()();K()}},lVa=function(a){a&1&&(F(0,"mat-header-cell"),
P(1," Type "),H())},mVa=function(a,b){a&1&&(F(0,"mat-cell")(1,"mat-icon"),P(2),H()());a&2&&(a=b.$implicit,z(1),Af("google-material-icons product-icon ",a.icon,""),z(1),Mf(a.icon))},nVa=function(a){a&1&&(F(0,"mat-header-cell"),P(1," Title "),H())},oVa=function(a,b){a&1&&(F(0,"mat-cell"),P(1),H());a&2&&(a=b.$implicit,z(1),Lf(" ",a.title," "))},pVa=function(a){a&1&&(F(0,"mat-header-cell"),P(1," ID "),H())},qVa=function(a,b){a&1&&(F(0,"mat-cell"),P(1),H());a&2&&(a=b.$implicit,z(1),Lf(" ",a.id," "))},
rVa=function(a){a&1&&(F(0,"mat-header-cell"),P(1," Priority "),H())},sVa=function(a,b){a&1&&(F(0,"mat-cell")(1,"span"),P(2),H()());a&2&&(a=b.$implicit,z(1),Af("priority-badge ",a.priority,""),z(1),Mf(a.priority))},tVa=function(a){a&1&&(F(0,"mat-header-cell"),P(1," Creation date "),H())},uVa=function(a,b){a&1&&(F(0,"mat-cell"),P(1),R(2,"date"),H());a&2&&(a=b.$implicit,z(1),Lf(" ",S(2,1,a.date)," "))},vVa=function(a){a&1&&(F(0,"mat-header-cell"),P(1," Assignee "),H())},wVa=function(a,b){a&1&&(F(0,"mat-cell"),
P(1),H());a&2&&(a=b.$implicit,z(1),Lf(" ",a.assignee," "))},xVa=function(a){a&1&&I(0,"mat-header-row")},yVa=function(a){a&1&&I(0,"mat-row")},zVa=function(a){a&1&&(F(0,"div",9)(1,"mat-tab-group",85)(2,"mat-tab",86)(3,"div",87)(4,"div",88)(5,"p"),P(6,"New/unread"),H(),F(7,"h2"),P(8,"4"),H()(),F(9,"div",88)(10,"p"),P(11,"Spiking"),H(),F(12,"h2"),P(13,"2"),H()(),F(14,"div",88)(15,"p"),P(16,"Recently active"),H(),F(17,"h2"),P(18,"6"),H()(),F(19,"div",88)(20,"p"),P(21,"Mine"),H(),F(22,"h2"),P(23,"3"),H()()(),
F(24,"div",89)(25,"mat-chip-listbox",90)(26,"mat-chip-option",91),P(27," Open "),H()(),I(28,"span",6),F(29,"button",92),P(30," View in TaskFlow "),F(31,"mat-icon",93),P(32,"launch"),H()(),F(33,"button",94)(34,"mat-icon",84),P(35,"help_outline"),H()()(),F(36,"mat-table",95),J(37,96),O(38,lVa,2,0,"mat-header-cell",97),O(39,mVa,3,4,"mat-cell",98),K(),J(40,99),O(41,nVa,2,0,"mat-header-cell",97),O(42,oVa,2,1,"mat-cell",98),K(),J(43,100),O(44,pVa,2,0,"mat-header-cell",97),O(45,qVa,2,1,"mat-cell",98),K(),
J(46,101),O(47,rVa,2,0,"mat-header-cell",97),O(48,sVa,3,4,"mat-cell",98),K(),J(49,102),O(50,tVa,2,0,"mat-header-cell",97),O(51,uVa,3,3,"mat-cell",98),K(),J(52,103),O(53,vVa,2,0,"mat-header-cell",97),O(54,wVa,2,1,"mat-cell",98),K(),O(55,xVa,1,0,"mat-header-row",104),O(56,yVa,1,0,"mat-row",105),H(),F(57,"div",106)(58,"button",92),P(59," Go to hotlist "),F(60,"mat-icon",93),P(61,"launch"),H()()()()()());a&2&&(a=N(3),z(36),E("dataSource",a.fakeData.hotlistFull),z(19),E("matHeaderRowDef",a.displayedColumns),
z(1),E("matRowDefColumns",a.displayedColumns))},AVa=function(a){a&1&&(J(0),O(1,zVa,62,3,"div",7),K());a&2&&(a=N(2),z(1),E("ngIf",!a.isCollapsed()))},BVa=function(a){a&1&&(F(0,"div",9),O(1,kVa,96,0,"ng-container",10),O(2,AVa,2,1,"ng-container",10),H());a&2&&(a=N(),z(1),E("ngIf",0===a.currentViewIndex),z(1),E("ngIf",1==a.currentViewIndex))},CVa=function(a,b){if(a&1){var c=u();F(0,"button",123);L("click",function(){var d=w(c).$implicit;N(2).currentSourceType=d.label;return y()});P(1);H()}a&2&&(a=b.$implicit,
E("disabled",a.disabled),z(1),Mf(a.label))},DVa=function(a,b){a&1&&(F(0,"mat-option",124),P(1),H());a&2&&(a=b.$implicit,E("value",a),z(1),Lf(" ",a," "))},EVa=function(a){if(a&1){var b=u();F(0,"div",107)(1,"div",108)(2,"h2",109);P(3,"Add Work Area");H();F(4,"p");P(5,"Select a data source");H();F(6,"button",110);P(7);F(8,"mat-icon",84);P(9,"arrow_drop_down");H()();F(10,"mat-menu",111,112);O(12,CVa,2,2,"button",113);H();F(13,"p");P(14,"Choose hotlist");H();F(15,"mat-form-field",114);I(16,"input",115);
F(17,"mat-autocomplete",null,116);O(19,DVa,2,2,"mat-option",117);R(20,"async");H()()();F(21,"div",118)(22,"h2",109);P(23,"Preview");H();I(24,"img",119);H()();F(25,"mat-dialog-actions",120)(26,"button",121);L("click",function(){var e=w(b).dialogRef;return y(e.close("cancel"))});P(27,"Cancel");H();F(28,"button",122);L("click",function(){var e=w(b).dialogRef;return y(e.close(1))});P(29,"Add");H()()}if(a&2){var c=Kf(11),d=Kf(18);a=N();z(6);E("matMenuTriggerFor",c);z(1);Lf(" ",a.currentSourceType," ");
z(5);E("ngForOf",a.sourceTypes);z(4);E("formControl",a.autocompleteControl)("matAutocomplete",d);z(3);E("ngForOf",S(20,6,a.filteredOptions))}},GVa=function(a){for(var b={},c=k(a.getComponentsMap().entries()),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b[Number(d)]=Yj(e)}var g,h;return{issuesWithSignals:kj(a,jp,1).map(FVa),numTotalResults:null!=(g=a.getNumTotalResults())?g:0,components:b,nextPageToken:null!=(h=a.getNextPageToken())?h:""}},FVa=function(a){return{issue:tk(a.getIssue()),
signals:a.getSignalsList().map(HVa)}},HVa=function(a){return{signalType:bua[Zi(a,1,0)],timestamp:Mh(a.getTimestamp())}},IVa=function(a){return{dismissTimestamp:Nj(a,Nh,1)?Mh(X(a,Nh,1)):void 0}},JVa=function(a){return qua[a]},KVa=function(){return"NEAR_SLO MENTIONED UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" ")},LVa=function(a,b){switch(a.signalType){case "NEAR_SLO":return b?"SLO violation occurs on "+b:"This issue is near or past an SLO deadline";case "MENTIONED":return b?
"You were mentioned on "+b:"You were mentioned on this issue recently";case "UNBLOCKED":return b?"The last blocking issue was closed on "+b:"The last blocking issue was closed recently";case "NEEDS_REPORTER_INPUT":return b?"Issue was assigned back to reporter (you) on "+b:"Issue was assigned back to reporter (you) recently";case "REPLIED_TO_MENTION":return b?"Someone replied to your mention on "+b:"Someone replied to your mention recently";case "NEWLY_BLOCKING":return b?"This issue started blocking another issue on "+
b:"This issue started blocking another issue recently";case "ASSIGNED":return b?"This issue was newly assigned to you on "+b:"This issue was newly assigned to you recently";default:return"This issue requires your attention"}},MVa=function(a){switch(a.signalType){case "NEAR_SLO":return"Issues which have less than 20% of SLO time remaining";case "MENTIONED":return"Someone mentioned you in a comment";case "NEEDS_REPORTER_INPUT":return"Issue is assigned back to reporter (you) for more context";case "UNBLOCKED":return"All blocking issues are closed";
case "NEWLY_BLOCKING":return"Issues that are blocking other issues";case "REPLIED_TO_MENTION":return"Someone you mentioned replied to your comment";case "ASSIGNED":return"Issue newly assigned to you";default:return""}},NVa=function(a){a=new Date(a);var b=new Date;return b.getFullYear()===a.getFullYear()&&b.getMonth()===a.getMonth()&&b.getDate()===a.getDate()?"back at "+a.toLocaleString("en-Us",{hour:"numeric",minute:"2-digit",hour12:!0}):"back on "+a.toLocaleString("en-Us",{month:"short",day:"numeric"})},
OVa=function(a,b,c){b=Math.round((b.getTime()-(new Date).getTime())/6E4);if(!(b>60*c))return c=5*Math.round(b/5),55>=c?c=c.toString()+" minutes":(c=Math.round(b/60),c=c.toString()+" hour"+(1===c?"":"s")),a+" "+c},QVa=function(a){return(a=a.map(PVa).find(function(b){return!!b}))?{type:"Future Availability",text:a}:void 0},PVa=function(a){var b=new Date(a.timeRange.startTime);if(a.status.hasOutOfOffice)return OVa("OOO in",b,24);if(a.status.hasOutsideWorkingHours)return OVa("Outside working hours in",
b,3)},RVa=function(a){a=a.map(function(b){return new kp({email:b})});return new lp({userIds:a})},SVa=function(a){return new D.Observable(function(b){a.on("data",function(c){b.next(c)});a.on("error",function(c){b.error(c)});a.on("status",function(c){b.error(c)});a.on("end",function(){b.complete()});return function(){a.cancel()}})},mp=function(a){return{"X-Goog-Api-Key":a,Authorization:Oo([])||"","X-Goog-AuthUser":"0"}},TVa=function(a){return a.pipe(Eia(a.pipe(Le(0))))},UVa=function(a){return a.getTagsList().includes(3)&&
3===a.getType()},np=function(a){return!!a},VVa=function(a,b){return[a.filter(b),a.filter(function(c){return!b(c)})]},XVa=function(a){return WVa(a).some(function(b){return qj(b,3)<=(new Date).getTime()})},YVa=function(a){return XVa(a)?!1:WVa(a).some(function(b){return 2592E5>=qj(b,3)-(new Date).getTime()})},WVa=function(a){return(a=a.getSloStatus())?[a.getResponseBounds(),a.getClosureBounds(),a.getAssignmentBounds()].filter(np).filter(function(b){return 0!==qj(b,3)}):[]},$Va=function(a){if(a=hn(a.getResource())){var b;
var c=a.getChangeSize();var d=a.getReviewerEmailsList().length;var e={};d=null!=(b=(e[0]=0,e[1]=1,e[2]=2,e[3]=3,e[4]=4,e[5]=5,e[6]=5,e[7]=5,e)[d])?b:6;b=0!==d&&0!==c?ZVa[c][d]:void 0;var g=(a=null==(g=a.getDescription().match(/REVIEW_TIME_SECONDS=(\d+)/))?void 0:g[1])?(new Date).getTime()/1E3-Number(a):void 0;if(!(!g||!b||g<b||21600>g))return{type:"Slow CL",text:"Slow CL",tooltipText:"This CL has taken longer to submit than similar CLs"}}},bWa=function(a){var b=a.numTasksPerSection,c=a.myWorkCriteria,
d=a.needsMyInputCriteria,e=k(VVa(a.tasks,function(g){return g.isMyWork}));a=e.next().value;e=e.next().value;return[].concat(cd(aWa(a,c).slice(0,b)),cd(aWa(e,d).slice(0,b)))},op=function(a){return a.resource.getLastModifiedTimestamp()},pp=function(a,b){return a.signals.some(function(c){return c.type===b})},aWa=function(a,b){return a.sort(function(c,d){var e;return null!=(e=b.map(function(g){return Number(g(d))-Number(g(c))}).find(function(g){return 0!==g}))?e:0})},cWa=function(a){return a.isMyWork||
Tj(mn(a.resource),8)},fWa=function(a){return 1===kj(mn(a.resource),qp,4).map(dWa).map(Number).reduce(eWa,0)},iWa=function(a){var b=(a=null==(b=X(mn(a.resource),gWa,2))?void 0:ck(b,Lh,1,hWa))?(new Date(a.getYear(),a.getMonth()-1,a.getDay())).getTime()-(new Date).getTime():void 0;return b&&6048E5>b?-b:-6048E5},dWa=function(a){return![2,1].includes(a.getApprovalStatus())},eWa=function(a,b){return a+b},jWa=function(a){return 3===rp(a.resource).getStatus()},kWa=function(a){return pp(a,"Current Iteration")},
lWa=function(a){return pp(a,"P0")},mWa=function(a){return pp(a,"Out of SLO")},nWa=function(a){return pp(a,"Near SLO")},oWa=function(a){return qj(rp(a.resource),19)},wWa=function(a){for(var b=k(a),c=b.next();!c.done;c=b.next())c=c.value,pWa.set(c.id,c);return bWa({tasks:a,numTasksPerSection:2,myWorkCriteria:[qWa,rWa,sWa,op],needsMyInputCriteria:[qWa,tWa,rWa,uWa,sWa,vWa,op]})},uWa=function(a){return pp(a,"Future Availability")},vWa=function(a){return!pp(a,"Current Availability")},qWa=function(a){return hn(a.resource).getNeedsAttention()},
tWa=function(a){var b=(a=null==(b=hn(a.resource).getDescription().match(/DIFFBASE=(\d+)/))?void 0:b[1])&&"cl/"+a;return b?(b=pWa.get(b))&&qWa(b)?tWa(b)-1:0:0},sWa=function(a){return pp(a,"Submission Deadline")},rWa=function(a){return pp(a,"Rollback")},xWa=function(a){return Rh(kn(a.resource),21)},yWa=function(a){return Rh(kn(a.resource),24)},zWa=function(a){return Rh(kn(a.resource),23)},AWa=function(a){return Rh(kn(a.resource),22)},BWa=function(a){return Tj(kn(a.resource),25)},CWa=function(a){var b=
new Set(a.map(function(c){return c.resource.getResourceCase()}));if(0===b.size)return a;if(1===b.size)switch([].concat(cd(b.keys()))[0]){case 6:return bWa({tasks:a,numTasksPerSection:2,myWorkCriteria:[lWa,jWa,kWa,mWa,nWa,oWa],needsMyInputCriteria:[lWa,mWa,nWa,oWa]});case 5:return bWa({tasks:a,numTasksPerSection:2,myWorkCriteria:[xWa,yWa,op],needsMyInputCriteria:[BWa,AWa,zWa,op]});case 8:return wWa(a);case 9:return bWa({tasks:a.filter(cWa),numTasksPerSection:1,myWorkCriteria:[iWa,op],needsMyInputCriteria:[iWa,
fWa,op]});default:return a}throw Error("Vd");},DWa=function(a){var b;a.pipe(Oe()).subscribe(function(c){b=c});return b},EWa=function(a){return(0,D.pipe)(Te(function(b,c){return"hidden"===c.type?[].concat(cd(b),[c.id]):b.filter(function(d){return d!==c.id})},a),Ze(a))},FWa=function(a){var b,c;a=null!=(c=null==(b=rp(a.getResource()))?void 0:b.getBlockingIssueIdsList().length)?c:0;return 0<a?(0,D.of)({type:"Blocking",text:"Blocking "+a+" issue"+(1<a?"s":"")}):(0,D.of)(void 0)},GWa=function(){return(0,D.pipe)(Te(function(a,
b){return a.concat(b)}))},HWa=function(a){a=a.getResource();switch(a.getResourceCase()){case 8:return 2===hn(a).getCategory();case 6:return rp(a).getAssignedToMe();case 5:return kn(a).getOwnedByMe();case 9:return mn(a).getOwnedByMe();default:return!1}},IWa=function(a){a=hn(a.getResource());return 1===(null==a?void 0:a.getCategory())?a.getAuthorEmail():""},JWa=function(a){a&1&&(F(0,"div",13)(1,"span",14),P(2),H()());a&2&&(a=N(),z(2),Mf(a.allAlerts.length))},LWa=function(a){if(a&1){var b=u();F(0,"th",
39)(1,"mat-checkbox",40);L("change",function(c){w(b);var d=N(2);c?(KWa(d)?d.selection.clear():d.selection.select.apply(d.selection,cd(d.allAlerts)),c=void 0):c=null;return y(c)});H()()}a&2&&(a=N(2),z(1),E("checked",a.selection.hasValue()&&KWa(a))("indeterminate",a.selection.hasValue()&&!KWa(a)))},MWa=function(a,b){if(a&1){var c=u();F(0,"td",41)(1,"mat-checkbox",42);L("click",function(d){return d.stopPropagation()})("change",function(d){var e=w(c).$implicit,g=N(2);return y(d?g.selection.toggle(e):
null)});H()()}a&2&&(a=b.$implicit,b=N(2),z(1),E("checked",b.selection.isSelected(a)))},NWa=function(a){a&1&&(F(0,"th",39),P(1," Type "),H())},PWa=function(a){a&1&&(F(0,"mat-icon"),P(1),H());a&2&&(a=N().$implicit,N(2),Af("google-material-icons product-icon ",OWa(a),""),z(1),Mf(OWa(a)))},QWa=function(a){a&1&&I(0,"img",45);a&2&&(a=N().$implicit,N(2),E("src",OWa(a),Ud))},RWa=function(a,b){a&1&&(F(0,"td",41),O(1,PWa,2,4,"mat-icon",43),O(2,QWa,1,1,"ng-template",null,44,gg),H());if(a&2){a=b.$implicit;var c=
Kf(3);z(1);E("ngIf","Ariane"!==a.type)("ngIfElse",c)}},SWa=function(a){a&1&&(F(0,"th",39),P(1," Description "),H())},UWa=function(a){a&1&&I(0,"b-issue-priority-display",48);a&2&&(a=N().$implicit,N(2),Af("priority-badge-",TWa(a),""),E("issuePriority",TWa(a)))},VWa=function(a,b){a&1&&(F(0,"td",41)(1,"div",46),O(2,UWa,1,4,"b-issue-priority-display",47),P(3),H()());a&2&&(a=b.$implicit,z(2),E("ngIf","Buganizer"===a.type),z(1),Lf(" ",a.description," "))},WWa=function(a){a&1&&(F(0,"th",39),P(1," Time of alert "),
F(2,"mat-icon",49),P(3,"arrow_downward"),H()())},XWa=function(a){a&1&&I(0,"b-formatted-date-time",51);a&2&&(a=N().$implicit,E("timestamp",a.timestamp))},YWa=function(a,b){a&1&&(F(0,"td",41),O(1,XWa,1,1,"b-formatted-date-time",50),H());a&2&&(a=b.$implicit,z(1),E("ngIf",a.timestamp))},ZWa=function(a){a&1&&(F(0,"th",39),P(1," Alert "),H())},bXa=function(a,b){a&1&&(F(0,"td",41)(1,"div"),P(2),H()());a&2&&(a=b.$implicit,N(2),z(1),Af("signal-chip type-button ",$Wa(a),""),z(1),Mf(aXa(a)))},cXa=function(a){a&
1&&(F(0,"th",39),P(1," Action "),H())},eXa=function(a,b){a&1&&(F(0,"td",41)(1,"a",52),P(2),H()());a&2&&(a=b.$implicit,b=N(2),z(2),Mf(dXa(b,a)))},fXa=function(a){a&1&&I(0,"td",53)},gXa=function(a){a&1&&(F(0,"td",41)(1,"mat-icon",54),P(2,"do_not_disturb_on"),H()())},hXa=function(a){a&1&&I(0,"tr",55)},jXa=function(a){if(a&1){var b=u();F(0,"tr",56);L("click",function(c){var d=w(b).$implicit,e=N(2);return y(iXa(e,c,d))})("mouseup",function(c){var d=w(b).$implicit,e=N(2);return y(iXa(e,c,d))});H()}},kXa=
function(a){a&1&&(F(0,"div",15)(1,"div",16)(2,"button",17),P(3," Source: Buganizer, Critique, Drive, Launch "),F(4,"mat-icon",18),P(5,"arrow_drop_down"),H()(),F(6,"mat-menu",19,20)(8,"div",21),L("click",function(c){return c.stopPropagation()}),F(9,"mat-checkbox",22),P(10," Buganizer "),H(),F(11,"mat-checkbox",23),P(12," Critique "),H(),F(13,"mat-checkbox",23),P(14," Drive "),H(),F(15,"mat-checkbox",23),P(16," Launch "),H()()(),F(17,"mat-chip-listbox",24)(18,"mat-chip-option",25),P(19,"Last 30 days"),
H()()(),F(20,"table",26),J(21,27),O(22,LWa,2,2,"th",28),O(23,MWa,2,1,"td",29),K(),J(24,30),O(25,NWa,2,0,"th",28),O(26,RWa,4,2,"td",29),K(),J(27,31),O(28,SWa,2,0,"th",28),O(29,VWa,4,2,"td",29),K(),J(30,32),O(31,WWa,4,0,"th",28),O(32,YWa,2,1,"td",29),K(),J(33,33),O(34,ZWa,2,0,"th",28),O(35,bXa,3,4,"td",29),K(),J(36,34),O(37,cXa,2,0,"th",28),O(38,eXa,3,1,"td",29),K(),J(39,35),O(40,fXa,1,0,"td",36),O(41,gXa,3,0,"td",29),K(),O(42,hXa,1,0,"tr",37),O(43,jXa,1,0,"tr",38),H()());if(a&2){var b=Kf(7);a=N();
z(2);E("matMenuTriggerFor",b);z(18);E("dataSource",a.allAlerts)("trackBy",a.trackByAlertId);z(22);E("matHeaderRowDef",a.displayedColumns);z(1);E("matRowDefColumns",a.displayedColumns)}},lXa=function(a){a&1&&Cf(0)},mXa=function(a){a&1&&(J(0),F(1,"span",11),P(2,"No projects added"),H(),K())},nXa=function(a){a&1&&(J(0),O(1,mXa,3,0,"ng-container",10),R(2,"async"),R(3,"async"),K());if(a&2){N();var b=Kf(2);a=N();var c;z(1);E("ngIf",0===S(2,1,a.unarchivedProjectsCount$)&&0===((null==(c=S(3,3,null==b?null:
b.rows$))?null:c.length)||0))}},pXa=function(a){if(a&1){var b=u();F(0,"p",11);P(1);F(2,"a",14);L("click",function(){w(b);var c=N(4);return y(oXa(c,[]))});P(3,"Show all");H()()}a&2&&(a=N().ngIf,z(1),Nf("Filtering ",a.count," closed issue",1===a.count?"":"s",". "))},qXa=function(a){if(a&1){var b=u();F(0,"p");P(1,"Closed issues may be filtered. ");F(2,"a",14);L("click",function(){w(b);var c=N(4);return y(oXa(c,[]))});P(3,"Show all");H()()}},rXa=function(a,b){a&1&&(J(0),O(1,pXa,4,2,"p",13),O(2,qXa,4,
0,"p",10),K());if(a&2){a=b.ngIf;N(2);var c=Kf(2);z(1);E("ngIf",a.count);z(1);E("ngIf",0===a.count&&0<c.filters.length)}},sXa=function(a){if(a&1){var b=u();F(0,"a",14);L("click",function(){w(b);var c=N(3);return y(oXa(c,["OPEN"]))});P(1,"Only show open issues");H()}},uXa=function(a){a&1&&(J(0),O(1,rXa,3,2,"ng-container",10),R(2,"async"),O(3,sXa,2,0,"a",12),K());if(a&2){N();var b=Kf(2);z(1);E("ngIf",Rf(4,tXa,S(2,2,b.model.filteredRowCount$)));z(2);E("ngIf",0===b.filters.length)}},vXa=function(a,b){a&
1&&(F(0,"section"),I(1,"expandable-issues-table",8,9),R(3,"async"),O(4,nXa,4,5,"ng-container",10),R(5,"async"),O(6,uXa,4,6,"ng-container",10),R(7,"async"),H());if(a&2){a=b.$implicit;var c=Kf(2);b=N();var d,e;xf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(1);xf("hidden",0===((null==(d=S(3,9,c.rows$))?null:d.length)||0));E("rootIssueId",a)("modifyMenuItems",b.modifyMenuItems)("filters",b.hackyPrefs.prefs.projectFilters);z(3);E("ngIf",null!==S(5,11,b.unarchivedProjectsCount$));z(2);E("ngIf",
null==(e=S(7,13,null==c?null:c.rows$))?null:e.length)}},wXa=function(a){if(a&1){var b=u();F(0,"issue-card-compact",23);L("onDismiss",function(){w(b);var c=N().$implicit,d=N(3);return y(d.addProject(c.issueId))});H()}a&2&&(a=N().$implicit,E("issue",a)("onlyTitle",!0))},xXa=function(a,b){a&1&&(J(0),O(1,wXa,1,2,"issue-card-compact",22),K());a&2&&(a=b.index,b=N(3),z(1),E("ngIf",a<b.suggestLimit))},yXa=function(a){a&1&&(F(0,"p"),P(1," No projects to suggest. Check out the "),F(2,"a",24),P(3," work tracking data model "),
I(4,"mat-icon",25),H()())},zXa=function(a){if(a&1){var b=u();F(0,"b-button",26);L("onAction",function(){w(b);var c=N().ngIf,d=N(2);return y(d.suggestLimit=c.length)});P(1," Show more ");H()}},AXa=function(a,b){a&1&&(J(0),F(1,"div",19),O(2,xXa,2,1,"ng-container",20),O(3,yXa,5,0,"p",10),O(4,zXa,2,0,"b-button",21),H(),K());a&2&&(a=b.ngIf,b=N(2),z(2),E("ngForOf",a),z(1),E("ngIf",0===a.length),z(1),E("ngIf",a.length>b.suggestLimit))},BXa=function(a){a&1&&I(0,"b-spinner")},CXa=function(a){a&1&&(F(0,"div",
15)(1,"h1",16),P(2,"Suggested projects"),H(),O(3,AXa,5,3,"ng-container",17),R(4,"async"),O(5,BXa,1,0,"ng-template",null,18,gg),H());if(a&2){var b=Kf(6);a=N();z(3);E("ngIf",S(4,2,a.suggestedProjects$))("ngIfElse",b)}},DXa=function(a){if(a&1){var b=u();F(0,"b-button",30);L("onAction",function(){w(b);var c=N(2);return y(c.createChild())});R(1,"async");P(2," Create new project ");H()}a&2&&(a=N(2),E("disabled",!S(1,1,a.canEdit$)))},EXa=function(a){if(a&1){var b=u();O(0,DXa,3,3,"b-button",27);F(1,"b-button",
28);L("onAction",function(){w(b);var c=N();return y(c.addChild())});R(2,"async");P(3," Add existing project ");H();F(4,"b-button",29);L("onAction",function(){w(b);var c=N();return y(c.showSuggestedProjects=!c.showSuggestedProjects)});R(5,"async");P(6);H()}a&2&&(a=N(),E("ngIf",a.isNonPublicSession),z(1),E("disabled",!S(2,4,a.canEdit$)),z(3),E("disabled",!S(5,6,a.canEdit$)),z(2),Lf(" ",a.showSuggestedProjects?"Hide suggestions":"Suggest projects"," "))},FXa=function(a){a&1&&I(0,"my-work-card",10);a&
2&&E("assignedOnly",!0)},GXa=function(a){a&1&&I(0,"my-work-card",10);a&2&&E("assignedOnly",!1)},HXa=function(a,b){a&1&&I(0,"hotlist-as-project-card",12);a&2&&E("hotlistId",b.$implicit)},IXa=function(a){a&1&&(J(0),O(1,HXa,1,1,"hotlist-as-project-card",11),K());if(a&2){a=N().$implicit;var b=N();z(1);E("ngIf",b.extractHotlistId(a))}},JXa=function(a){a&1&&I(0,"issue-as-immersed-card",15);a&2&&(a=N(2).$implicit,E("issueId",a))},KXa=function(a){a&1&&I(0,"issue-as-project-card",15);a&2&&(a=N(2).$implicit,
E("issueId",a))},LXa=function(a){a&1&&(J(0)(1,6),O(2,JXa,1,1,"issue-as-immersed-card",13),O(3,KXa,1,1,"issue-as-project-card",14),K()());if(a&2){a=N().$implicit;var b=N();z(1);E("ngSwitch",null==b.prefs.itemDisplayType?null:b.prefs.itemDisplayType[a]);z(1);E("ngSwitchCase",b.IMMERSED)}},MXa=function(a){a&1&&I(0,"issue-as-immersed-card",15);a&2&&(a=N(2).$implicit,E("issueId",a))},NXa=function(a){a&1&&I(0,"issue-as-project-card",15);a&2&&(a=N(2).$implicit,E("issueId",a))},OXa=function(a){a&1&&(J(0)(1,
6),O(2,MXa,1,1,"issue-as-immersed-card",13),O(3,NXa,1,1,"issue-as-project-card",14),K()());if(a&2){a=N().$implicit;var b=N();z(1);E("ngSwitch",null==b.prefs.itemDisplayType?null:b.prefs.itemDisplayType[a]);z(1);E("ngSwitchCase",b.IMMERSED)}},PXa=function(a,b){a&1&&I(0,"saved-search-as-project-card",17);a&2&&E("savedSearchId",b.$implicit)},QXa=function(a){a&1&&(J(0),O(1,PXa,1,1,"saved-search-as-project-card",16),K());if(a&2){a=N().$implicit;var b=N();z(1);E("ngIf",b.extractSavedSearchId(a))}},RXa=
function(a){if(a&1){var b=u();J(0);F(1,"p",18);P(2," Unknown id/url format: `");F(3,"code");P(4);H();P(5,"`. ");F(6,"a",19);L("click",function(){w(b);var c=N().$implicit,d=N();return y(bp(d.hackyPrefs,c))});P(7," Remove ");H();I(8,"br");P(9," Learn more: ");F(10,"a",20);P(11,"go/b-learn-project-add");H()();K()}a&2&&(a=N().$implicit,z(4),Mf(a))},SXa=function(a,b){a&1&&(J(0)(1,6),O(2,FXa,1,1,"my-work-card",7),O(3,GXa,1,1,"my-work-card",7),O(4,IXa,2,1,"ng-container",8),O(5,LXa,4,2,"ng-container",8),
O(6,OXa,4,2,"ng-container",8),O(7,QXa,2,1,"ng-container",8),O(8,RXa,12,1,"ng-container",9),K()());a&2&&(a=b.$implicit,b=N(),z(1),E("ngSwitch",b.inferEntityType(a)),z(1),E("ngSwitchCase","assigned-to-me"),z(1),E("ngSwitchCase","recent-stuff-i-follow"),z(1),E("ngSwitchCase","hotlist"),z(1),E("ngSwitchCase","plain-id"),z(1),E("ngSwitchCase","issue"),z(1),E("ngSwitchCase","savedsearch"))},TXa=function(a){if(a&1){var b=u();J(0);F(1,"div",21);I(2,"img",22);F(3,"p");P(4," Nothing selected. ");F(5,"button",
23);L("click",function(){w(b);var c=N();return y(c.onClickAdd())});P(6,"Add Project");H()();F(7,"p",18)(8,"a",24);I(9,"mat-icon",25);H();P(10," You can pin almost anything here: hotlist, saved search, or parent issue. ");H()();K()}a&2&&(a=N(),z(2),E("src",a.SPACE_EMPTY_STATE,Ud))},UXa=function(a){a&1&&(J(0),F(1,"div")(2,"h2"),P(3,"Suggestions"),H(),I(4,"suggested-issue-projects"),H(),I(5,"suggested-hotlists"),K())},VXa=function(a){if(a&1){var b=u();F(0,"aside",26)(1,"button",27);L("click",function(){w(b);
var c=N();return y(c.onClickAdd())});I(2,"mat-icon",28);P(3," Add project ");H();F(4,"button",29);L("click",function(){w(b);var c=N();return y(c.onClickAddHotlist())});P(5," Add Hotlist ");H();F(6,"button",29);L("click",function(){w(b);var c=N();return y(c.onClickAddSavedSearch())});P(7," Add Saved Search ");H()()}},WXa=function(a){a&1&&I(0,"my-work-card",21);a&2&&E("assignedOnly",!0)},XXa=function(a){a&1&&I(0,"my-work-card",21);a&2&&E("assignedOnly",!1)},YXa=function(a,b){a&1&&I(0,"hotlist-as-project-card",
23);a&2&&E("hotlistId",b.$implicit)("neverCollapse",!0)},ZXa=function(a){a&1&&(J(0),O(1,YXa,1,2,"hotlist-as-project-card",22),K());if(a&2){a=N().$implicit;var b=N();z(1);E("ngIf",b.extractHotlistId(a))}},$Xa=function(a){a&1&&(J(0),I(1,"issue-as-project-card",24),K());a&2&&(a=N().$implicit,z(1),E("issueId",a)("neverCollapse",!0))},aYa=function(a,b){a&1&&I(0,"issue-as-project-card",24);a&2&&E("issueId",b.$implicit)("neverCollapse",!0)},bYa=function(a){a&1&&(J(0),O(1,aYa,1,2,"issue-as-project-card",
25),K());if(a&2){a=N().$implicit;var b=N();z(1);E("ngIf",b.extractIssueId(a))}},cYa=function(a,b){a&1&&I(0,"saved-search-as-project-card",27);a&2&&E("savedSearchId",b.$implicit)("neverCollapse",!0)},dYa=function(a){a&1&&(J(0),O(1,cYa,1,2,"saved-search-as-project-card",26),K());if(a&2){a=N().$implicit;var b=N();z(1);E("ngIf",b.extractSavedSearchId(a))}},eYa=function(a){if(a&1){var b=u();J(0);F(1,"p",12);P(2," Unknown id/url format: `");F(3,"code");P(4);H();P(5,"`. ");F(6,"a",28);L("click",function(){w(b);
var c=N().$implicit,d=N();return y(bp(d.hackyPrefs,c))});P(7," Remove ");H();I(8,"br");P(9," Learn more: ");F(10,"a",29);P(11,"go/b-learn-project-add");H()();K()}a&2&&(a=N().$implicit,z(4),Mf(a))},gYa=function(a,b){a&1&&(J(0)(1,16),F(2,"mat-tab",17),O(3,WXa,1,1,"my-work-card",18),O(4,XXa,1,1,"my-work-card",18),O(5,ZXa,2,1,"ng-container",19),O(6,$Xa,2,2,"ng-container",19),O(7,bYa,2,1,"ng-container",19),O(8,dYa,2,1,"ng-container",19),O(9,eYa,12,1,"ng-container",20),H(),K()());if(a&2){a=b.$implicit;
b=N();var c;z(1);E("ngSwitch",b.inferEntityType(a));z(1);E("label",null!==(c=fYa(b,a))&&void 0!==c?c:a);z(1);E("ngSwitchCase","assigned-to-me");z(1);E("ngSwitchCase","recent-stuff-i-follow");z(1);E("ngSwitchCase","hotlist");z(1);E("ngSwitchCase","plain-id");z(1);E("ngSwitchCase","issue");z(1);E("ngSwitchCase","savedsearch")}},hYa=function(a){if(a&1){var b=u();F(0,"aside",31)(1,"button",32);L("click",function(){w(b);var c=N(2);return y(c.onClickAdd())});I(2,"mat-icon",33);P(3," Add project ");H();
F(4,"button",34);L("click",function(){w(b);var c=N(2);return y(c.onClickAddHotlist())});P(5," Add Hotlist ");H();F(6,"button",34);L("click",function(){w(b);var c=N(2);return y(c.onClickAddSavedSearch())});P(7," Add Saved Search ");H()()}},iYa=function(a,b){a&1&&(J(0),O(1,hYa,8,0,"aside",30),K());a&2&&(a=b.$implicit,z(1),E("ngIf",0<a.length&&10>=a.length))},jYa=function(a,b){a&1&&(J(0),I(1,"flat-issues-table",19),K());a&2&&(a=b.ngIf,b=N(),z(1),E("issueIds",a)("displayedColumns",b.DEFAULT_COLUMNS)("assigneeMode",
"avatar-in-progress"))},kYa=function(a){a&1&&I(0,"b-spinner")},mYa=function(a,b){if(a&1){var c=u();F(0,"span",6);L("click",function(){w(c);var e=N().$implicit,g=N();return y(g.toggleSignal(e))});I(1,"mat-icon",7);P(2);H()}if(a&2){a=b.$implicit;b=N().$implicit;var d=N();Af("chippy rounded ",a.className," margin-s-right");xf("selected",d.selectedSignals.includes(b));E("matTooltip",lYa(b));z(1);E("svgIcon",a.icon);z(1);Nf(" ",a.text," (",d.signalCounts[b],") ")}},nYa=function(a,b){a&1&&(J(0),O(1,mYa,
3,9,"span",5),K());a&2&&(a=b.$implicit,b=N(),z(1),E("ngIf",b.SIGNAL_MAPPING[a]))},oYa=function(a,b){if(a&1){var c=u();J(0);F(1,"issue-card-compact",9);L("onDismiss",function(){w(c);var e=N().$implicit,g=N();return y(g.dismissIssue(e.issueId))});H();K()}if(a&2){a=b.$implicit;b=N().$implicit;var d=N();z(1);E("issue",b)("moreInfoIconSvg",a.icon)("moreInfoMessage",d.getSignalTypeTooltip(b.issueId))("moreInfoAccentColor",a.color)("disableDismiss",d.dismissInProgress[b.issueId])}},qYa=function(a,b){a&1&&
(J(0),O(1,oYa,2,5,"ng-container",8),K());a&2&&(b=b.$implicit,a=N(),z(1),b=pYa(a,b.issueId),E("ngIf",b?a.SIGNAL_MAPPING[b.signalType]:null))},rYa=function(a,b){a&1&&(F(0,"span",1),I(1,"mat-icon",2),H());a&2&&(a=b.ngIf,b=N(),Af("chippy rounded ",a.className," margin-xs-right"),E("matTooltip",b.getSignalTypeTooltip()),z(1),E("svgIcon",a.icon))},sYa=function(a,b){a&1&&(J(0),I(1,"b-signal-chip",8),K());a&2&&(a=b.$implicit,z(1),E("signal",a))},tYa=function(a,b){a&1&&(F(0,"span"),O(1,sYa,2,1,"ng-container",
7),H());a&2&&(a=b.row,b=N(2),z(1),E("ngIf",pYa(b,a.issueId)))},uYa=function(a,b){if(a&1){var c=u();J(0);F(1,"button",9);L("click",function(d){var e=w(c).$implicit,g=N().row;N(2).navigateToIssue(d,e,g);return y(d.stopPropagation())});P(2);H();K()}if(a&2){a=b.$implicit;N(3);z(2);a:switch(a.signalType){case "MENTIONED":case "NEEDS_REPORTER_INPUT":a="Reply";break a;default:a="View"}Lf(" ",a," ")}},vYa=function(a,b){a&1&&(F(0,"span"),O(1,uYa,3,1,"ng-container",7),H());a&2&&(a=b.row,b=N(2),z(1),E("ngIf",
pYa(b,a.issueId)))},wYa=function(a){a&1&&(F(0,"flat-issues-table",5),O(1,tYa,2,1,"span",6),O(2,vYa,2,1,"span",6),H());a&2&&(a=N(),xf("collapsed",a.hackyPrefs.prefs.collapsed[a.SECTION_SLUG]),E("issueIds",a.getIssueIdsToDisplay())("displayedColumns",a.columnsToDisplay)("customColumns",a.customColumns),z(1),E("forViewCell","alert"),z(1),E("forViewCell","action"))},xYa=function(a){a&1&&(F(0,"p",10),P(1,"None"),H())},yYa=function(a,b){if(a&1){var c=u();J(0);F(1,"issue-card-compact",4);L("onDismiss",function(){var d=
w(c).$implicit,e=N();bp(e.hackyPrefs,d.issueId);e.refreshMonitor.refreshRequest.next();return y()});H();K()}a&2&&(a=b.$implicit,z(1),E("issue",a))},zYa=function(a){a&1&&(J(0),P(1," No pinned issues. Click the 'pin' icon to add issues here. "),K())},AYa=function(a,b){for(a.has(b)&&a.delete(b);50<=a.size;)a.delete(a.keys().next().value);a.set(b,void 0)},BYa=function(a,b){var c;b=null!=(c=null==b?void 0:b.split(","))?c:[];a.clear();c=k(b);for(b=c.next();!b.done;b=c.next())a.set(b.value,void 0)},CYa=
function(a){a&1&&(F(0,"h4",11),P(1,"Pinned"),H())},DYa=function(a,b){if(a&1){var c=u();J(0);F(1,"issue-card-compact",12);L("onDismiss",function(){var d=w(c).$implicit,e=N(2);bp(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return y()});H();K()}a&2&&(a=b.$implicit,z(1),E("issue",a))},FYa=function(a){a&1&&(J(0),O(1,CYa,2,0,"h4",8),R(2,"async"),F(3,"section",9),O(4,DYa,2,1,"ng-container",10),R(5,"async"),H(),K());if(a&2){a=N();var b;z(1);E("ngIf",null!==(b=0<(null!==(b=S(2,2,a.pinnedIssues$))&&void 0!==
b?b:Qf(6,EYa)).length)&&void 0!==b?b:!1);z(3);E("ngForOf",S(5,4,a.pinnedIssues$))}},GYa=function(a){if(a&1){var b=u();J(0);F(1,"button",13);L("click",function(c){w(b);var d=N().row,e=N();bp(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return y(c.stopPropagation())});F(2,"mat-icon",14);P(3,"keep_off");H()();K()}},HYa=function(a){if(a&1){var b=u();J(0);F(1,"button",15);L("click",function(c){w(b);var d=N().row,e=N();Kn(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return y(c.stopPropagation())});
F(2,"mat-icon",14);P(3,"keep");H()();K()}},IYa=function(a,b){a&1&&(F(0,"span"),O(1,GYa,4,0,"ng-container",1),O(2,HYa,4,0,"ng-container",1),H());a&2&&(a=b.row,b=N(),z(1),E("ngIf",sp(b.hackyPrefs).includes(a.issueId)),z(1),E("ngIf",!sp(b.hackyPrefs).includes(a.issueId)))},JYa=function(a,b){a&1&&(J(0),I(1,"flat-issues-table",5),K());a&2&&(a=b.ngIf,b=N(),z(1),xf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),E("issueIds",a)("displayedColumns",b.columnsToDisplay))},KYa=function(a){a&1&&I(0,
"b-spinner")},LYa=function(a){a&1&&(F(0,"div",4),I(1,"mat-icon",5),P(2),R(3,"async"),H());if(a&2){a=N();var b=Kf(4);E("onedevHovercardTrigger",b);z(2);Lf("",S(3,2,a.teamName$)," ")}},MYa=function(a,b){a&1&&I(0,"b-team-chip",7);a&2&&E("teamId",b.$implicit)},NYa=function(a){a&1&&(J(0),F(1,"div",2),I(2,"b-user-image",14)(3,"b-user-display",15),P(4," submitted "),I(5,"b-changelist-link",16),P(6," for "),F(7,"b-issue-reference-widget",17),P(8),H(),I(9,"b-formatted-date-time",18),H(),F(10,"p",19),P(11),
H(),K());if(a&2){a=N().$implicit;var b=N(2);z(2);E("email",b.clAuthorToEmailAddress(a.event));z(1);E("model",b.clAuthorToUser(a.event));z(2);E("changelistId",b.getClNumber(a.event));z(2);E("href","b/issues/{{event.issueId}}")("issueId",a.issueId);z(1);Lf("b/",a.issueId,"");z(1);E("timestamp",a.event.modifiedDate);z(2);Mf(b.clEventToClDescription(a.event))}},OYa=function(a){a&1&&(J(0),F(1,"div",2),I(2,"b-user-image",14)(3,"b-user-display",15),P(4," commented on "),F(5,"b-issue-reference-widget",17),
P(6),H(),I(7,"b-formatted-date-time",18),H(),F(8,"p",19),P(9),H(),K());if(a&2){a=N().$implicit;var b=N(2);z(2);E("email",b.getUserEmailIfAvailable(a.event));z(1);E("model",a.event.userPerformingActionUser);z(2);E("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Lf("b/",a.issueId,"");z(1);E("timestamp",a.event.modifiedDate);z(2);Mf(a.event.unlinkifiedComment)}},PYa=function(a){a&1&&(J(0),F(1,"div",2),I(2,"b-user-image",14)(3,"b-user-display",15),P(4," changed priority for "),F(5,"b-issue-reference-widget",
17),P(6),H(),I(7,"b-formatted-date-time",18),H(),F(8,"p",20),P(9,"Priority changed from "),I(10,"b-issue-priority-display",21),P(11," to "),I(12,"b-issue-priority-display",21),H(),K());if(a&2){a=N().$implicit;var b=N(2);z(2);E("email",b.getUserEmailIfAvailable(a.event));z(1);E("model",a.event.userPerformingActionUser);z(2);E("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);Lf("b/",a.issueId,"");z(1);E("timestamp",a.event.modifiedDate);z(3);E("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,
"priority")));z(2);E("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")))}},QYa=function(a){a&1&&(J(0),F(1,"div",2),I(2,"b-user-image",14)(3,"b-user-display",15),P(4," changed status for "),F(5,"b-issue-reference-widget",17),P(6),H(),I(7,"b-formatted-date-time",18),H(),F(8,"p",20),P(9),H(),K());if(a&2){a=N().$implicit;var b=N(2);z(2);E("email",b.getUserEmailIfAvailable(a.event));z(1);E("model",a.event.userPerformingActionUser);z(2);E("href",b.getIssueDetailsUrl(a.issueId))("issueId",
a.issueId);z(1);Lf("b/",a.issueId,"");z(1);E("timestamp",a.event.modifiedDate);z(2);Nf("Status changed from ",b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status"),"")}},RYa=function(a){a&1&&(J(0),F(1,"div",2),I(2,"b-user-image",14)(3,"b-user-display",15),P(4),H(),K());if(a&2){a=N().$implicit;var b=N(2);z(2);E("email",b.getUserEmailIfAvailable(a.event));z(1);E("model",a.event.userPerformingActionUser);z(1);Lf(" updated ",a.issueId," ")}},SYa=function(a,b){a&1&&(F(0,"div",
10),J(1,11),O(2,NYa,12,8,"ng-container",12),O(3,OYa,10,7,"ng-container",12),O(4,PYa,13,8,"ng-container",12),O(5,QYa,10,8,"ng-container",12),O(6,RYa,5,3,"ng-container",13),K(),H());a&2&&(a=b.$implicit,xf("margin-bottom",!b.last),z(1),E("ngSwitch",a.eventType),z(1),E("ngSwitchCase","changelist"),z(1),E("ngSwitchCase","comment"),z(1),E("ngSwitchCase","priority"),z(1),E("ngSwitchCase","status"))},TYa=function(a){a&1&&(F(0,"div",8),O(1,SYa,7,7,"div",9),H());a&2&&(a=N(),z(1),E("ngForOf",a.teamActivityEvents))},
UYa=function(a,b){a&1&&I(0,"b-team-chip",12);a&2&&E("teamId",b.$implicit)},VYa=function(){},WYa=function(a){a&1&&O(0,VYa,0,0,"ng-template")},YYa=function(a,b){a&1&&(F(0,"li"),O(1,WYa,1,0,null,14),H());if(a&2){a=b.$implicit;N(2);var c=Kf(38);z(1);E("ngTemplateOutlet",c)("ngTemplateOutletContext",Rf(2,XYa,a))}},ZYa=function(a,b){a&1&&(F(0,"div")(1,"ol"),O(2,YYa,2,4,"li",13),H()());a&2&&(a=b.$implicit,z(2),E("ngForOf",null==a?null:a.results))},$Ya=function(){},aZa=function(a){a&1&&O(0,$Ya,0,0,"ng-template")},
bZa=function(a,b){a&1&&(F(0,"li"),O(1,aZa,1,0,null,14),H());if(a&2){a=b.$implicit;N(2);var c=Kf(38);z(1);E("ngTemplateOutlet",c)("ngTemplateOutletContext",Rf(2,XYa,a))}},cZa=function(a,b){a&1&&(F(0,"div")(1,"ol"),O(2,bZa,2,4,"li",13),H()());a&2&&(a=b.$implicit,z(2),E("ngForOf",null==a?null:a.results))},dZa=function(a){a&1&&I(0,"b-issue-card",24,25);if(a&2){var b=Kf(1);a=N().$implicit;E("onedevIsHovercardReady",b.init)("issueId",a.issueId)}},eZa=function(a){a&1&&(F(0,"span",26),P(1),H());a&2&&(a=N().$implicit,
z(1),Lf("(",null==a.aggregatedData?null:a.aggregatedData.voteCount," Votes)"))},fZa=function(a){a&1&&(F(0,"span",26),P(1),H());a&2&&(a=N().$implicit,z(1),Lf("(",null==a?null:null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length," Duplicates)"))},gZa=function(a,b){a&1&&(F(0,"span"),P(1),H());a&2&&(a=b.$implicit,b=N(2),Af("chippy status-",a,""),z(1),Lf(" ",b.STATUS_TERSE[a]," "))},hZa=function(a,b){a&1&&(F(0,"onedev-hovercard",null,15),O(2,dZa,2,2,"b-issue-card",16),H(),F(3,
"div",17)(4,"span",18)(5,"span"),P(6),H(),F(7,"span",19),P(8),H()(),F(9,"span")(10,"a",20),P(11),H(),O(12,eZa,2,1,"span",21),O(13,fZa,2,1,"span",21),H(),F(14,"span",22),O(15,gZa,2,4,"span",23),H()());if(a&2){a=b.$implicit;var c=Kf(1);N();z(5);b=a.snapshot[0].priority;b=null!=b?dsa[b]:void 0;Af("p-chip priority-",b," margin-s-right");z(1);Lf(" ",a.snapshot[0].priority," ");z(2);Mf(a.issueId);z(2);Hf("href","/issues/",a.issueId,"",Ud);E("onedevHovercardTrigger",c);z(1);Mf(a.snapshot[0].title);z(1);
var d,e;b=0<(null!=(e=null==(d=a.aggregatedData)?void 0:d.voteCount)?e:0);E("ngIf",b);z(1);var g;d=0<(null!=(g=null==a?void 0:a.snapshot[0].duplicateIssueId)?g:[]).length;E("ngIf",d);z(2);if(g="NEW"===a.snapshot[0].status||"ASSIGNED"===a.snapshot[0].status?!1:!0)g=a.snapshot[0].status,g=null!=g?tj[g]:void 0;E("ngIf",g)}},iZa=function(a){a=void 0===a?[]:a;return a.map(function(b){return"teamId:"+b+"+"}).join(" OR ")},jZa=function(a,b){if(a&1){var c=u();J(0);F(1,"issue-card-compact",5);L("onDismiss",
function(){var d=w(c).$implicit,e=N().hackyPrefs;d=d.issueId;var g=e.prefs;g.issuesThisWeek&&g.issuesThisWeek.issues.includes(d)&&(g.issuesThisWeek.issues.splice(g.issuesThisWeek.issues.indexOf(d),1),e.save(g));return y()});H();K()}a&2&&(a=b.$implicit,z(1),E("issue",a)("onlyTitle",!0))},kZa=function(a,b){a&1&&I(0,"b-user-image",1);a&2&&E("email",b.$implicit)},lZa=function(a){a&1&&(F(0,"a",3),P(1),H());a&2&&(a=N(2),E("href",a.makeCritiqueUrl(a.pending),Ud),z(1),Lf("(",a.pending.length," pending)"))},
mZa=function(a,b){a&1&&(F(0,"div",1),I(1,"img",2),P(2," \u00a0 "),F(3,"a",3),P(4),H(),P(5," \u00a0 "),O(6,lZa,2,2,"a",4),H());a&2&&(a=b.$implicit,b=N(),z(3),E("href",b.makeCritiqueUrl(b.pending,b.submitted),Ud),z(1),Lf("",a," CLs"),z(2),E("ngIf",0<b.pending.length))},nZa=function(a,b){b=void 0===b?[]:b;return"http://cl/search/cl:("+[].concat(cd(a.map(function(c){return c.changelistNumber})),cd(b)).join("|")+")"},oZa=function(a){a&1&&(F(0,"span",5),R(1,"date"),P(2),H());a&2&&(a=N(2),Hf("title","Start Date: ",
Uf(1,3,a.startDate,"longDate"),""),z(2),Nf(" ",a.startDateShortStr,"",a.joinerStr," "))},pZa=function(a){a&1&&(F(0,"span",6),R(1,"date"),P(2),H());a&2&&(a=N(2),Hf("title","End Date: ",Uf(1,2,a.endDate,"longDate"),""),z(2),Lf(" ",a.endDateShortStr," "))},qZa=function(a){a&1&&(F(0,"div",1),I(1,"mat-icon",2),O(2,oZa,3,6,"span",3),O(3,pZa,3,5,"span",4),H());a&2&&(a=N(),z(2),E("ngIf",a.startDate),z(1),E("ngIf",a.endDate))},rZa=function(a,b){if(a&1){var c=u();F(0,"div",1);L("click",function(){w(c);var d=
N();return y(d.useXofYLabel=!d.useXofYLabel)});I(1,"div",2);F(2,"span");P(3);R(4,"number");H();F(5,"span");P(6);H()()}a&2&&(a=b.$implicit,b=N(),Jf("title","",b.closed," of ",b.total," issues closed in this work area"),z(1),of("style",b.makePie(a/100),Dga),z(1),xf("display-none",b.useXofYLabel),z(1),Lf("",Uf(4,10,a,"1.0-0"),"% complete"),z(2),xf("display-none",!b.useXofYLabel),z(1),Nf("",b.closed," of ",b.total," closed"))},sZa=function(a,b,c){c=void 0===c?22:c;return["display: inline-block; border-radius: 50%;",
"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(" ")},tZa=function(a,b){a&1&&I(0,"progress-pie",6);a&2&&(a=b.$implicit,E("closed",a[0])("total",a[1]))},vZa=function(a,b){a&1&&(I(0,"cl-counts",7),R(1,"async"));if(a&2){a=b.$implicit;b=N();var c;E("submitted",a.changelists)("pending",null!==(c=S(1,2,b.pendingCls$))&&void 0!==c?c:Qf(4,uZa))}},wZa=function(a,b){a&
1&&I(0,"avatar-bunch",8);a&2&&E("emails",b.$implicit)},yZa=function(a,b){a&1&&(J(0),I(1,"rollups-project",1)(2,"stat-cards-project",1)(3,"expandable-issues-table",2),K());a&2&&(a=b.$implicit,b=N(),z(1),E("id",a),z(1),E("id",a),z(1),Hf("saveExpansionAtKey","project-expansion-",a,""),E("rootIssueId",a)("filters",b.hackyPrefs.prefs.projectFilters)("tableColumns",b.TABLE_COLUMNS)("options",Qf(7,xZa)))},zZa=function(a,b){a&1&&(J(0),F(1,"mat-tab",9),I(2,"one-work-area",10),H(),K());a&2&&(a=b.$implicit,
z(1),E("label",a),z(1),E("rootIssueId",a))},AZa=function(a){if(a&1){var b=u();J(0);I(1,"br");P(2," Some tasks are hidden, ");F(3,"a",11);L("click",function(){w(b);var c=N(3);return y(c.showHiddenTasks.emit())});P(4,"show hidden tasks");H();P(5,"? ");K()}},BZa=function(a){a&1&&(F(0,"mat-header-cell",8),I(1,"img",9),F(2,"div"),P(3," No tasks available that meet the criteria. "),O(4,AZa,6,0,"ng-container",10),H()());a&2&&(a=N(2),z(4),E("ngIf",a.areTasksHidden))},CZa=function(a){a&1&&I(0,"mat-cell")},
DZa=function(a){a&1&&I(0,"mat-header-row",12)},EZa=function(a){a&1&&I(0,"mat-row")},HZa=function(a){a&1&&(F(0,"mat-table",2),J(1,3),O(2,BZa,5,1,"mat-header-cell",4),O(3,CZa,1,0,"mat-cell",5),K(),O(4,DZa,1,0,"mat-header-row",6),O(5,EZa,1,0,"mat-row",7),H());a&2&&(E("dataSource",Qf(3,FZa)),z(4),E("matHeaderRowDef",Qf(4,GZa)),z(1),E("matRowDefColumns",Qf(5,GZa)))},IZa=function(a){a&1&&(F(0,"mat-header-cell"),P(1,"Task title"),H())},JZa=function(a,b){if(a&1){var c=u();F(0,"mat-cell")(1,"div",19);I(2,
"mat-icon",20);R(3,"taskIcon");F(4,"span",21)(5,"a",22);L("click",function(){var d=w(c).$implicit,e=N(2);return y(e.logTaskOpenedMetric(d))});P(6);H()()()()}a&2&&(a=b.$implicit,z(2),E("svgIcon",S(3,3,a)),z(3),E("href",a.resourceUrl,Ud),z(1),Lf(" ",a.title," "))},KZa=function(a){a&1&&(F(0,"mat-header-cell"),P(1," Signals "),H())},LZa=function(a,b){a&1&&(F(0,"div",24),P(1),H());a&2&&(a=b.$implicit,E("matTooltip",a.tooltipText)("matTooltipDisabled",!a.tooltipText),z(1),Lf(" ",a.text," "))},MZa=function(a,
b){a&1&&(F(0,"mat-cell"),O(1,LZa,2,3,"div",23),H());a&2&&(a=b.$implicit,z(1),E("ngForOf",a.signals))},NZa=function(a){a&1&&(F(0,"mat-header-cell"),P(1," Actions "),H())},OZa=function(a){if(a&1){var b=u();F(0,"button",27);L("click",function(){w(b);var c=N().$implicit,d=N(2);return y(d.unhideTask(c))});I(1,"mat-icon",20);H()}a&2&&(z(1),E("svgIcon","show_task"))},PZa=function(a){if(a&1){var b=u();F(0,"button",28);L("click",function(){w(b);var c=N().$implicit,d=N(2);return y(d.hideTask(c))});I(1,"mat-icon",
20);H()}a&2&&(z(1),E("svgIcon","hide_task"))},QZa=function(a,b){a&1&&(F(0,"mat-cell"),O(1,OZa,2,1,"button",25),R(2,"async"),O(3,PZa,2,1,"ng-template",null,26,gg),H());if(a&2){a=b.$implicit;var c=Kf(4);z(1);E("ngIf",S(2,2,a.isHidden$))("ngIfElse",c)}},RZa=function(a){a&1&&I(0,"mat-header-row")},SZa=function(a,b){a&1&&(F(0,"mat-row"),R(1,"async"),H());a&2&&xf("hidden-task",S(1,2,b.$implicit.isHidden$))},TZa=function(a){a&1&&(F(0,"mat-table",2),J(1,13),O(2,IZa,2,0,"mat-header-cell",14),O(3,JZa,7,5,"mat-cell",
5),K(),J(4,15),O(5,KZa,2,0,"mat-header-cell",14),O(6,MZa,2,1,"mat-cell",5),K(),J(7,16),O(8,NZa,2,0,"mat-header-cell",14),O(9,QZa,5,4,"mat-cell",5),K(),O(10,RZa,1,0,"mat-header-row",17),O(11,SZa,2,4,"mat-row",18),H());a&2&&(a=N(),E("dataSource",a.tasks),z(10),E("matHeaderRowDef",a.displayedColumns),z(1),E("matRowDefColumns",a.displayedColumns))},UZa=function(a){var b={attributeFilter:["aria-label","aria-valuenow"]};return new D.Observable(function(c){(new MutationObserver(function(d){var e=d[0].target,
g;d=null!=(g=e.getAttribute("aria-label"))?g:"";var h;g=null!=(h=e.getAttribute("aria-valuenow"))?h:"indeterminate";c.next([d,g])})).observe(a,b)})},VZa=function(a){a&1&&(J(0),P(1,"Recommended Tasks"),K())},WZa=function(a){a&1&&(J(0),P(1,"Needs My Input"),K())},XZa=function(a){a&1&&I(0,"mat-progress-spinner",5);a&2&&E("diameter",16)},YZa=function(a){a&1&&(J(0),P(1,"Less"),K())},ZZa=function(a){a&1&&(J(0),P(1,"More"),K())},$Za=function(a){if(a&1){var b=u();F(0,"button",8);L("click",function(){w(b);
var c=N().ngIf,d=N(2);c=!c.viewAll;d.viewAll$.next(c);d.metrics.logUsageMetric("toggle_view_all",c);return y()});P(1," View ");O(2,YZa,2,0,"ng-container",2);O(3,ZZa,2,0,"ng-container",2);H()}a&2&&(a=N().ngIf,z(2),E("ngIf",a.viewAll),z(1),E("ngIf",!a.viewAll))},a_a=function(a){a&1&&(J(0),P(1,"Hide"),K())},b_a=function(a){a&1&&(J(0),P(1,"Show"),K())},c_a=function(a){if(a&1){var b=u();F(0,"button",9);L("click",function(){w(b);var c=N().ngIf,d=N(2);return y(d.setShowHidden(!c.showHidden))});O(1,a_a,2,
0,"ng-container",2);O(2,b_a,2,0,"ng-container",2);P(3," Hidden Tasks ");H()}a&2&&(a=N().ngIf,z(1),E("ngIf",a.showHidden),z(1),E("ngIf",!a.showHidden))},d_a=function(a){a&1&&(J(0),O(1,$Za,4,2,"button",6),R(2,"async"),O(3,c_a,4,2,"button",7),R(4,"async"),K());a&2&&(a=N(2),z(1),E("ngIf",S(2,2,a.areTasksFiltered$)),z(2),E("ngIf",S(4,4,a.areTasksHidden$)))},f_a=function(a){a&1&&(Gf(0),O(1,d_a,5,6,"ng-container",2),R(2,"async"),R(3,"async"));a&2&&(a=N(),z(1),E("ngIf",Sf(5,e_a,S(2,1,a.showHidden$),S(3,3,
a.viewAll$))))},g_a=function(a){if(a&1){var b=u();J(0);F(1,"tp-task-table",10);L("showHiddenTasks",function(){w(b);var e=N(2);return y(e.setShowHidden(!0))});R(2,"async");H();K()}if(a&2){a=N().ngIf;var c=N(),d;z(1);E("tasks",a.tasks)("showZeroState",!!a.areAllTasksLoaded&&0===a.tasks.length)("areTasksHidden",null!==(d=S(2,3,c.areTasksHidden$))&&void 0!==d?d:!1)}},h_a=function(a,b){a&1&&(J(0),O(1,g_a,3,5,"ng-container",2),K());a&2&&(a=b.ngIf,z(1),E("ngIf",a.tasks&&(0<a.tasks.length||a.areAllTasksLoaded)))},
j_a=function(a,b){if(a&1){var c=u();F(0,"div",44);I(1,"span",45);F(2,"button",46);L("click",function(){w(c);var d=N(2);i_a(d.userFeedback);return y()});P(3," Give feedback ");H()()}a&2&&(a=b.$implicit,z(1),E("innerHtml",a,Td))},k_a=function(a){if(a&1){var b=u();F(0,"button",47);L("click",function(){w(b);var c=N(2);i_a(c.userFeedback);return y()});P(1," Give feedback ");H()}},l_a=function(a,b){if(a&1){var c=u();F(0,"button",48);L("click",function(){var d=w(c).$implicit,e=N(2);return y(e.prefs.sectionA=
d)});P(1);H()}a&2&&(a=b.$implicit,z(1),Mf(a))},m_a=function(a,b){if(a&1){var c=u();F(0,"button",48);L("click",function(){var d=w(c).$implicit,e=N(2);return y(e.prefs.sectionT=d)});P(1);H()}a&2&&(a=b.$implicit,z(1),Mf(a))},n_a=function(a,b){if(a&1){var c=u();F(0,"button",48);L("click",function(){var d=w(c).$implicit,e=N(2);return y(e.prefs.sectionW=d)});P(1);H()}a&2&&(a=b.$implicit,z(1),Mf(a))},o_a=function(a){a&1&&I(0,"working-on-this-week")},p_a=function(a){a&1&&I(0,"pinned-issues")},q_a=function(a){a&
1&&I(0,"needs-attention-widget")},r_a=function(a){a&1&&I(0,"needs-attention-table")},s_a=function(a){a&1&&I(0,"mvp-needs-attention")},t_a=function(a){a&1&&(F(0,"section",49),O(1,o_a,1,0,"working-on-this-week",39),O(2,p_a,1,0,"pinned-issues",39),O(3,q_a,1,0,"needs-attention-widget",39),O(4,r_a,1,0,"needs-attention-table",39),O(5,s_a,1,0,"mvp-needs-attention",39),H());a&2&&(a=N(2),z(1),E("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("working-on-this-week")),z(1),E("ngIf",null==a.prefs.sectionA?
null:a.prefs.sectionA.includes("pinned-issues")),z(1),E("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("needs-attention-cards")),z(1),E("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("needs-attention-table")),z(1),E("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("mvp-needs-attention")))},u_a=function(a){a&1&&I(0,"my-projects",50)},v_a=function(a){a&1&&I(0,"my-projects-as-cards")},w_a=function(a){a&1&&I(0,"my-projects-as-tabs",51)},x_a=function(a){a&1&&I(0,
"work-areas-wrapper-card",51)},y_a=function(a){a&1&&(F(0,"h2"),P(1," My issues "),H())},z_a=function(a){a&1&&I(0,"working-on-this-week")},A_a=function(a){if(a&1){var b=u();F(0,"pinned-issues",52,53);L("cdkDropListDropped",function(c){w(b);var d=N(2);Kn(d.hackyPrefs,c.previousContainer.data[c.previousIndex].issueId);d.refreshMonitor.refreshRequest.next();return y()});H()}},B_a=function(a){a&1&&I(0,"recently-viewed-i-own")},C_a=function(a){a&1&&I(0,"suggested-issues")},D_a=function(a){a&1&&I(0,"my-tasks-area",
51)},E_a=function(a){a&1&&I(0,"my-work-card",54);a&2&&E("assignedOnly",!0)},F_a=function(a){a&1&&I(0,"my-work-card",54);a&2&&E("assignedOnly",!1)},G_a=function(a){a&1&&I(0,"team-inbox",57)},H_a=function(a,b){a&1&&(F(0,"div",59),P(1),H());a&2&&(a=b.ngIf,z(1),Lf(" ",a," "))},I_a=function(a){a&1&&(F(0,"tp-needs-attention",57),O(1,H_a,2,1,"div",58),R(2,"async"),H());a&2&&(a=N(3),z(1),E("ngIf",S(2,1,a.taskPrioritizationTasksCount$)))},J_a=function(a){a&1&&I(0,"team-activity-stream",57)},K_a=function(a){a&
1&&I(0,"b-activity-stream",57)},L_a=function(a){a&1&&I(0,"my-tasks-area",51)},M_a=function(a){a&1&&I(0,"my-work-card",54);a&2&&E("assignedOnly",!0)},N_a=function(a){a&1&&I(0,"my-work-card",54);a&2&&E("assignedOnly",!1)},O_a=function(a){a&1&&I(0,"mvp-my-tasks")},P_a=function(a){a&1&&I(0,"mvp-my-work")},Q_a=function(a){a&1&&(F(0,"section",55),O(1,G_a,1,0,"team-inbox",56),O(2,I_a,3,3,"tp-needs-attention",56),O(3,J_a,1,0,"team-activity-stream",56),O(4,K_a,1,0,"b-activity-stream",56),O(5,L_a,1,0,"my-tasks-area",
40),O(6,M_a,1,1,"my-work-card",42),O(7,N_a,1,1,"my-work-card",42),O(8,O_a,1,0,"mvp-my-tasks",39),O(9,P_a,1,0,"mvp-my-work",39),H());a&2&&(a=N(2),z(1),E("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("team-inbox")),z(1),E("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("tp-my-work")),z(1),E("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("team-activity-stream")),z(1),E("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("large-activity-stream")),z(1),
E("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("my-tasks-area")),z(1),E("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("assigned-to-me")),z(1),E("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("recent-stuff-i-follow")),z(1),E("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("mvp-my-tasks")),z(1),E("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("mvp-my-work")))},T_a=function(a){if(a&1){var b=u();F(0,"article",2)(1,"header",3);O(2,
j_a,4,1,"div",4);O(3,k_a,2,0,"ng-template",null,5,gg);F(5,"form",6);L("submit",function(){w(b);var d=N(),e=d.ldapOverride;null!=e&&(document.location.search="?ldap="+e,d.hackyPrefs.init(e));return y()});F(6,"input",7);L("ngModelChange",function(d){w(b);var e=N();return y(e.ldapOverride=d)});H();I(7,"input",8);H();F(8,"button",9);L("click",function(){w(b);var d=N();d.showSettings=!d.showSettings;return y(d.log(d.prefs))});I(9,"mat-icon",10);H()();F(10,"aside",11)(11,"div",12)(12,"h2",13);P(13," Dashboard Settings ");
H();F(14,"p",13);P(15," Layout: ");F(16,"mat-button-toggle-group",14);L("change",function(d){w(b);var e=N();return y(tp(e.hackyPrefs,{layout:d.value}))});F(17,"mat-button-toggle",15)(18,"mat-icon",16);P(19,"space_dashboard");H()();F(20,"mat-button-toggle",17)(21,"mat-icon",16);P(22,"view_stream");H()();F(23,"mat-button-toggle",18);I(24,"mat-icon",19);H()();I(25,"br");P(26," Show Hidden Settings: ");F(27,"mat-button-toggle-group",20);L("change",function(d){w(b);var e=N();tp(e.hackyPrefs,{showHiddenSettings:d.value});
e.showSettings=!1;return y()});F(28,"mat-button-toggle",21);P(29," Yes ");H();F(30,"mat-button-toggle",22);P(31," No ");H()()();F(32,"form",23);L("submit",function(){w(b);var d=N();console.log("Saving settings",d.prefs);d.showSettings=!1;d.hackyPrefs.save(d.prefs);return y()});F(33,"div",13)(34,"h2");P(35,"Widgets");H();F(36,"div",24)(37,"section",25)(38,"label");P(39,"Alerts (A)");H();F(40,"div",26)(41,"input",27);L("ngModelChange",function(d){w(b);var e=N();return y(e.prefs.sectionA=d)});H();F(42,
"div",28);O(43,l_a,2,1,"button",29);H()()();F(44,"section",25)(45,"label");P(46,"Tasks (T)");H();F(47,"div",26)(48,"input",27);L("ngModelChange",function(d){w(b);var e=N();return y(e.prefs.sectionT=d)});H();F(49,"div",28);O(50,m_a,2,1,"button",29);H()()();F(51,"section",25)(52,"label");P(53,"Work (W)");H();F(54,"div",26)(55,"input",27);L("ngModelChange",function(d){w(b);var e=N();return y(e.prefs.sectionW=d)});H();F(56,"div",28);O(57,n_a,2,1,"button",29);H()()()()();F(58,"button",30);P(59,"Close");
H();F(60,"a",31);P(61,"Power edit");H();F(62,"button",32);L("click",function(){w(b);var d=N();return y(R_a(d))});P(63,"Clear all settings");H();F(64,"button",33);L("click",function(){w(b);N().refreshMonitor.refreshRequest.next();return y()});I(65,"mat-icon",34);H()()()();F(66,"div",35);O(67,t_a,6,5,"section",36);F(68,"section",37);O(69,u_a,1,0,"my-projects",38);O(70,v_a,1,0,"my-projects-as-cards",39);O(71,w_a,1,0,"my-projects-as-tabs",40);O(72,x_a,1,0,"work-areas-wrapper-card",40);O(73,y_a,2,0,"h2",
39);O(74,z_a,1,0,"working-on-this-week",39);O(75,A_a,2,0,"pinned-issues",41);O(76,B_a,1,0,"recently-viewed-i-own",39);O(77,C_a,1,0,"suggested-issues",39);O(78,D_a,1,0,"my-tasks-area",40);O(79,E_a,1,1,"my-work-card",42);O(80,F_a,1,1,"my-work-card",42);H();O(81,Q_a,10,9,"section",43);H()()}if(a&2){var c=Kf(4);a=N();xf("settings-open",a.showSettings)("show-hidden-settings",a.prefs.showHiddenSettings);z(2);E("ngIf",(null==a.announcement?null:null==a.announcement.tags?null:a.announcement.tags.includes("home-feedback"))&&
(null==a.announcement?null:a.announcement.message))("ngIfElse",c);z(4);E("ngModel",a.ldapOverride)("ngModelOptions",Qf(46,S_a));z(2);xf("active",a.showSettings);z(2);xf("collapsed",!a.showSettings);z(7);E("checked",null==a.prefs.layout?null:a.prefs.layout.includes("-a"));z(3);E("checked",null==a.prefs.layout||a.prefs.layout.includes("-b"));z(3);E("checked",null==a.prefs.layout?null:a.prefs.layout.includes("-c"));z(5);E("value",!0)("checked",a.prefs.showHiddenSettings);z(2);E("value",!1)("checked",
!a.prefs.showHiddenSettings);z(11);E("ngModel",a.prefs.sectionA)("ngModelOptions",Qf(47,S_a));z(2);E("ngForOf",a.VALID_WIDGETS_A);z(5);E("ngModel",a.prefs.sectionT)("ngModelOptions",Qf(48,S_a));z(2);E("ngForOf",a.VALID_WIDGETS_T);z(5);E("ngModel",a.prefs.sectionW)("ngModelOptions",Qf(49,S_a));z(2);E("ngForOf",a.VALID_WIDGETS_W);z(3);Hf("href","/issues/",a.prefs.id,"",Ud);z(6);Af("grid padded margin-top ",a.prefs.layout,"");z(1);E("ngIf",a.isCurrentUserHomepage);z(2);E("ngIf",null==a.prefs.sectionW?
null:a.prefs.sectionW.includes("my-projects-as-tree"));z(1);E("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-cards"));z(1);E("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-tabs"));z(1);E("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("work-areas-wrapper-card"));z(1);E("ngIf",(null==a.prefs.sectionW?null:a.prefs.sectionW.includes("pinned-issues"))||(null==a.prefs.sectionW?null:a.prefs.sectionW.includes("recently-viewed-i-own")));
z(1);E("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("working-on-this-week"));z(1);E("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("pinned-issues"));z(1);E("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("recently-viewed-i-own"));z(1);E("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("suggested-issues"));z(1);E("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-tasks-area"));z(1);E("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("assigned-to-me"));
z(1);E("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("recent-stuff-i-follow"));z(1);E("ngIf",a.isCurrentUserHomepage)}},U_a=function(a){a&1&&(F(0,"button",16)(1,"span"),P(2,"Edit"),H(),I(3,"b-icon",17),H());if(a&2){a=N();var b=Kf(7);E("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},V_a=function(a){a&1&&(F(0,"button",16)(1,"span"),P(2,"Link"),H(),I(3,"b-icon",17),H());if(a&2){a=N();var b=Kf(69);E("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},W_a=function(a){a&1&&(F(0,"button",
16)(1,"span"),P(2,"CC"),H(),I(3,"b-icon",17),H());if(a&2){a=N();var b=Kf(85);E("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},X_a=function(a){if(a&1){var b=u();F(0,"button",3);L("click",function(){w(b);var c=N();return y(c.bulkEdit("ESTIMATED_EFFORT"))});P(1,"Estimated Effort");H()}},Y_a=function(a,b){if(a&1){var c=u();F(0,"button",3);L("click",function(){var d=w(c).$implicit,e=N();return y(e.quickBulkEdit("PRIORITY",d))});P(1);H()}a&2&&(a=b.$implicit,z(1),Lf(" ",a," "))},Z_a=function(a,b){if(a&
1){var c=u();F(0,"button",3);L("click",function(){var d=w(c).$implicit,e=N();return y(e.quickBulkEdit("SEVERITY",d))});P(1);H()}a&2&&(a=b.$implicit,z(1),Lf(" ",a," "))},$_a=function(a,b){if(a&1){var c=u();F(0,"button",3);L("click",function(){var d=w(c).$implicit,e=N();return y(e.quickBulkEdit("STATUS",d))});P(1);H()}a&2&&(a=b.$implicit,b=N(),z(1),Lf(" ",b.STATUS_JS_FULL_TEXT[a]," "))},a0a=function(a,b){if(a&1){var c=u();F(0,"button",18);L("click",function(){var e=w(c).$implicit,g=N();return y(g.quickBulkEdit("TYPE",
e))});P(1);H()}if(a&2){a=b.$implicit;b=N();var d;E("matTooltip",null!==(d=b.constants.issueTypesShortDescriptions.get(a))&&void 0!==d?d:"");z(1);Lf(" ",b.constants.issueTypesDisplayNames.get(a)," ")}},b0a=function(a){if(a&1){var b=u();F(0,"button",5);L("click",function(){w(b);var c=N(2);return y(c.exportCsvClicked.emit())});P(1,"Export issues to CSV ");H()}},c0a=function(a){if(a&1){var b=u();F(0,"button",5);L("click",function(){w(b);var c=N(2);return y(c.flagAsSpamClicked.emit())});P(1,"Flag issues as spam ");
H()}},d0a=function(a){a&1&&(J(0),F(1,"button",1)(2,"span"),P(3,"More"),H(),I(4,"b-icon",2),H(),F(5,"mat-menu",null,3),O(7,b0a,2,0,"button",4),O(8,c0a,2,0,"button",4),H(),K());if(a&2){var b=Kf(6);a=N();z(1);E("disabled",a.isAnonymous)("matMenuTriggerFor",b);z(6);E("ngIf",a.showExportCsv);z(1);E("ngIf",a.showFlagIssuesAsSpam)}},e0a=function(a){a&1&&(J(0),P(1," Network connection has been interrupted. "),K())},f0a=function(a){a&1&&P(0," Network connection has been interrupted or login credentials may have expired. ")},
i0a=function(a){if(a&1){var b=u();F(0,"button",5);L("click",function(c){w(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=cda("undefined"!=typeof"/refreshSso".href?"/refreshSso".href:"/refreshSso")||dda;var g=void 0!==self.crossOriginIsolated,h="strict-origin-when-cross-origin";window.Request&&(h=(new Request("/")).referrerPolicy);var l="unsafe-url"===h;h=d.noreferrer;
if(g&&h){if(l)throw Error("Xd");h=!1}g=d.target||"/refreshSso".target;l=[];for(var q in d)switch(q){case "width":case "height":case "top":case "left":l.push(q+"="+d[q]);break;case "target":case "noopener":case "noreferrer":break;default:l.push(q+"="+(d[q]?1:0))}q=l.join(",");ma()&&c.navigator&&c.navigator.standalone&&g&&"_self"!=g?(d=go(document,"A"),e=e instanceof ec?e:g0a(e),d.href=fc(e),d.target=g,h&&(d.rel="noreferrer"),e=document.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,c,1),
d.dispatchEvent(e)):h?(c=h0a("",c,g,q),e=fc(e),c&&(up&&fa(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),c.opener=null,""===e&&(e="javascript:''"),e=Lg('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+vp(e)+'">'),(c=c.document)&&c.write&&(c.write(qk(e)),c.close()))):((c=h0a(e,c,g,q))&&d.noopener&&(c.opener=null),c&&d.noreferrer&&(c.opener=null));return y()});P(1," Log in again ");H()}},j0a=function(a){a&1&&(F(0,"b-callout",1)(1,"b-callout-body"),O(2,e0a,2,0,"ng-container",
2),O(3,f0a,1,0,"ng-template",null,3,gg),H(),F(5,"b-callout-actions"),O(6,i0a,2,0,"button",4),H()());if(a&2){var b=Kf(4);a=N();E("messageType","error");z(2);E("ngIf",a.isAnonymous)("ngIfElse",b);z(4);E("ngIf",!a.isAnonymous)}},k0a=function(a){a&1&&(F(0,"a",1),P(1," Hiring!\n"),H())},l0a=function(a,b){a&1&&(F(0,"tr")(1,"td",5),P(2),H(),F(3,"td"),P(4,":"),H(),F(5,"td",6),P(6),H()());a&2&&(a=b.$implicit,z(2),Mf(a.displayAs),z(4),Mf(a.description))},m0a=function(a,b){a&1&&(F(0,"thead")(1,"tr"),I(2,"th",
3),F(3,"th",4),P(4),H()(),O(5,l0a,7,2,"tr",1),H());a&2&&(a=b.$implicit,z(4),Mf(a.title),z(1),E("ngForOf",a.hotkeys))},p0a=function(a,b){var c=new n0a;o0a(c,a,b);return c},o0a=function(a,b,c){var d=oa(b.snapshot),e=b.aggregatedData;var g=b&&b.accessLimit?b.accessLimit.accessLevel:void 0;a.accessLevel=g;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 h;a.isClosed=!(null==(h=Bl[d.status])?0:h.open)||b.isArchived}a.priority=d.priority.substr(1);a.severity=d.severity.substr(1);a.reporter=li(d.reporterUser);a.assignee=li(d.assigneeUser);a.assigneeEmail=pi(d.assigneeUser);a.verifier=li(d.verifierUser);a.verifierEmail=pi(d.verifierUser);a.cc=mi(d.ccUsers);a.collaborator=mi(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;b.aggregatedData?(b=b.aggregatedData,g=Date.now()-b.modifiedTimeMicros/1E3,b=Math.pow(.5,g/6048E5)+
1-Math.pow(.5,b.voteCount/50)):b=0;a.magic=b;a.duplicateCount=d.duplicateIssueId?d.duplicateIssueId.length:0;a.ccCount=d.ccUsers?d.ccUsers.length:0;a.collaboratorCount=d.collaboratorsUsers?d.collaboratorsUsers.length:0;a.lastModifier=li(d.authorUser);a.customFieldMap={};a.customFieldNameToIdMap={};a.customFieldValueMap={};if(c&&c.componentPathInfo&&c.componentPathInfo.allCustomField)for(c=k(c.componentPathInfo.allCustomField),b=c.next();!b.done;b=c.next())b=b.value,a.customFieldMap[String(b.customFieldId)]=
b,a.customFieldNameToIdMap[b.name.toLowerCase()]=b.customFieldId;if(d.customField)for(c=k(d.customField),b=c.next();!b.done;b=c.next())b=b.value,a.customFieldValueMap[String(b.customFieldId)]=b;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)},q0a=function(a){a&1&&I(0,"bug-screensaver")},r0a=
function(a,b){a&1&&(F(0,"div")(1,"span",3),P(2,"|"),H(),F(3,"a",6),P(4,"Code of Conduct"),H()());a&2&&(a=b.ngIf,z(3),E("href",a,Ud))},s0a=function(a){a&1&&(F(0,"footer"),I(1,"img",1),R(2,"async"),F(3,"span",2),P(4),R(5,"async"),H(),P(6," Powered by Google "),F(7,"span",3),P(8,"|"),H(),F(9,"a",4),P(10,"Privacy"),H(),F(11,"span",3),P(12,"|"),H(),F(13,"a",5),P(14,"Terms"),H(),O(15,r0a,5,1,"div",0),R(16,"async"),H());a&2&&(a=N(),z(1),E("src",S(2,3,a.trackerLogo$),Ud),z(3),Lf("",S(5,5,a.trackerName$),
" Issue Tracker"),z(11),E("ngIf",S(16,7,a.trackerCoc$)))},t0a=function(a,b){if(a&1){var c=u();J(0);F(1,"b-fab-segmented",1);L("clickMain",function(g){w(c);var h=N(3);return y(h.trackClick(g))})("clickSegment",function(g){w(c);var h=N(3);return y(h.trackClick(g))});H();K()}if(a&2){a=b.ngIf;b=N().ngIf;var d=N().ngIf,e=N();z(1);E("label",b)("icon",a)("href",e.createIssuePath)("segments",d)}},u0a=function(a){a&1&&(J(0),O(1,t0a,2,4,"ng-container",0),R(2,"async"),K());a&2&&(a=N(2),z(1),E("ngIf",S(2,1,a.buttonIcon$)))},
v0a=function(a){a&1&&(J(0),O(1,u0a,3,3,"ng-container",0),R(2,"async"),K());a&2&&(a=N(),z(1),E("ngIf",S(2,1,a.buttonLabel$)))},w0a=function(a){for(var b=k(a.item||[]),c=b.next();!c.done;c=b.next())c=c.value,"hotlistId"in c?c.resourceType="HOTLIST":"savedSearchId"in c&&(c.resourceType="SAVED_SEARCH");return a},x0a=function(a){return a.map(w0a)},y0a=function(a){var b={name:a.getName(),description:a.getDescription()};1===Mi(a,wp)?b.hotlistId=Number(a.getHotlistId()):4===Mi(a,wp)&&(b.savedSearchId=Number(Ii(a,
Go(a,wp,4))));return b},z0a=function(a){var b;return{bookmarkGroupId:Number(a.getBookmarkGroupId()),name:a.getName(),description:a.getDescription(),archived:a.getArchived(),item:(null!=(b=a.getItemList())?b:[]).map(y0a),adminUsers:qi(a.getAdminUsersList())}},A0a=function(a){var b=new xp;b.setName(a.name);void 0!==a.description&&b.setDescription(a.description);void 0!==a.hotlistId?b.setHotlistId(String(a.hotlistId)):void 0!==a.savedSearchId&&so(b,4,wp,String(a.savedSearchId));return b},B0a=function(a){var b;
return(null!=(b=a.getBookmarkGroupsList())?b:[]).map(z0a)},C0a=function(a){a&1&&Cf(0)},D0a=function(a){a&1&&Cf(0)},E0a=function(a){a&1&&(J(0),O(1,D0a,1,0,"ng-container",1),K());a&2&&(a=N(),z(1),E("ngTemplateOutlet",a.content))},F0a=function(a){a&1&&P(0," Archived ")},G0a=function(a){a&1&&(F(0,"button",16),L("click",function(c){return c.stopPropagation()}),I(1,"mat-icon",17),H());if(a&2){N();var b=Kf(5);E("matMenuTriggerFor",b)}},H0a=function(a){if(a&1){var b=u();F(0,"button",18);L("click",function(){w(b);
var c=N(3).$implicit;return y(c.unstar())});P(1," Unstar ");H()}},I0a=function(a){if(a&1){var b=u();F(0,"button",18);L("click",function(){w(b);var c=N(3).$implicit;return y(c.unarchive())});P(1," Unarchive ");H()}},J0a=function(a){if(a&1){var b=u();F(0,"button",18);L("click",function(){w(b);var c=N(2).$implicit,d=N(3);return y(d.handleBookmarkGroupOpen(c.id))});P(1," Open ");H();F(2,"button",18);L("click",function(){w(b);var c=N(2).$implicit,d=N(3);return y(d.handleBookmarkGroupDashboard(c.id))});
P(3," Dashboard ");H();F(4,"button",18);L("click",function(){w(b);var c=N(2).$implicit,d=N(3);return y(d.openEditBookmarkGroup(c.id))});P(5," Settings ");H();O(6,H0a,2,0,"button",19);O(7,I0a,2,0,"button",19)}a&2&&(a=N(2).$implicit,z(6),E("ngIf",a.isUnstarable()),z(1),E("ngIf",a.isEditable()))},K0a=function(a){a&1&&(F(0,"div",11)(1,"span",12),P(2),H(),O(3,G0a,2,1,"button",13),F(4,"mat-menu",null,14),O(6,J0a,8,2,"ng-template",15),H()());a&2&&(a=N().$implicit,qf("id","bv2-user-archived-bookmarkgroup-item-",
a.id,""),z(2),Mf(a.name),z(1),E("ngIf",a))},L0a=function(a,b){if(a&1){var c=u();F(0,"li",22)(1,"a",23);L("click",function(d){var e=w(c).$implicit,g=N(5);return y(g.onAnchorClick(e.href,d))});F(2,"span",12);P(3);H()()()}a&2&&(a=b.$implicit,b=N(2).$implicit,xf("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),aka("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),E("title",a.name),z(1),E("href",
a.href,Ud),z(2),Lf(" ",a.name," "))},M0a=function(a){a&1&&(F(0,"ul",20),O(1,L0a,4,12,"li",21),H());a&2&&(a=N().$implicit,z(1),E("ngForOf",a.items))},N0a=function(a,b){a&1&&(F(0,"li",7)(1,"sidebar-zippy",8),O(2,K0a,7,3,"ng-template",null,9,gg),O(4,M0a,2,1,"ng-template",null,10,gg),H()());if(a&2){a=b.$implicit;var c=Kf(3),d=Kf(5);E("title",a.name);z(1);E("header",c)("content",d)}},O0a=function(a){a&1&&(F(0,"button",28),I(1,"mat-icon",17),H());if(a&2){N();var b=Kf(6);E("matMenuTriggerFor",b)}},P0a=function(a){if(a&
1){var b=u();F(0,"button",18);L("click",function(){w(b);var c=N(2).$implicit;return y(c.unstar())});P(1," Unstar ");H()}},Q0a=function(a){if(a&1){var b=u();F(0,"button",18);L("click",function(){w(b);var c=N(2).$implicit;return y(c.unarchive())});P(1," Unarchive ");H()}},R0a=function(a){if(a&1){var b=u();F(0,"button",18);L("click",function(){w(b);var c=N().$implicit,d=N(3);return y(d.openEditHotlist(c.id))});P(1," Settings ");H();O(2,P0a,2,0,"button",19);O(3,Q0a,2,0,"button",19)}a&2&&(a=N().$implicit,
z(2),E("ngIf",a.isUnstarable()),z(1),E("ngIf",a.isEditable()))},S0a=function(a,b){if(a&1){var c=u();F(0,"li",24)(1,"a",25);L("click",function(d){var e=w(c).$implicit,g=N(3);return y(g.onAnchorClick(e.href,d))});F(2,"span",12);P(3);H()();O(4,O0a,2,1,"button",26);F(5,"mat-menu",null,27);O(7,R0a,4,2,"ng-template",15);H()()}a&2&&(a=b.$implicit,xf("selected",a.isSelected()),Hf("id","bv2-user-hotlists-archived-hotlist-item-",a.id,""),E("title",a.name),z(1),E("href",a.href,Ud),z(2),Mf(a.name),z(1),E("ngIf",
a))},T0a=function(a){a&1&&(F(0,"ul",4),O(1,N0a,6,3,"li",5),O(2,S0a,8,7,"li",6),H());a&2&&(a=N(2),z(1),E("ngForOf",a.bookmarkGroups),z(1),E("ngForOf",a.hotlists))},U0a=function(a){a&1&&(F(0,"div"),I(1,"hr"),F(2,"sidebar-zippy",1),O(3,F0a,1,0,"ng-template",null,2,gg),O(5,T0a,3,2,"ng-template",null,3,gg),H()());if(a&2){var b=Kf(4),c=Kf(6);z(2);E("header",b)("content",c)}},V0a=function(a){a&1&&I(0,"b-spinner")},W0a=function(a){if(a&1){var b=u();F(0,"b-star-toggle",15);L("starClicked",function(){w(b);
var c=N().$implicit,d=N();return y(d.toggleStar(c))});H()}a&2&&(a=N().$implicit,E("starMessage","Star this item")("unStarMessage","Un-star this item")("starred",a.isStarred))},X0a=function(a){a&1&&I(0,"b-hotlist-card",16);a&2&&(a=N().$implicit,E("hotlist",a))},Y0a=function(a){a&1&&I(0,"b-bookmark-group-card",17);a&2&&(a=N().$implicit,E("bookmarkGroup",a))},Z0a=function(a,b){a&1&&(F(0,"mat-option",8)(1,"div",9),O(2,W0a,1,3,"b-star-toggle",10),F(3,"onedev-hovercard",null,11),O(5,X0a,1,1,"b-hotlist-card",
12),O(6,Y0a,1,1,"b-bookmark-group-card",13),H(),F(7,"span",14),P(8),H()()());if(a&2){a=b.$implicit;var c=Kf(4);b=N();E("value",a);z(1);xf("bv2-bookmark-group",b.showHotlists&&a.isGroup);z(1);E("ngIf",b.shouldShowStar(a));z(3);E("ngIf",!a.isGroup);z(1);E("ngIf",!!a.isGroup);z(1);E("onedevHovercardTrigger",c);z(1);Mf(a.name)}},$0a=function(){return Lia(function(){return(0,D.from)(Promise.resolve(void 0))})},a1a=function(a){a&1&&I(0,"a",1)},b1a=function(a){if(a&1){var b=u();F(0,"xap-dialog-layout")(1,
"xap-dialog-layout-content")(2,"b-hotlist-search",3);L("itemSelect",function(c){w(b);var d=N();d.itemSelect.emit(c);d.dialog.disabled=!0;d.dialog.disabled=!1;return y()});H()()()}a&2&&(a=N(),z(2),E("showGroups",a.showGroups)("showHotlists",a.showHotlists)("allowStarring",a.allowStarring)("focusOnInit",!0))},c1a=function(a){if(a&1){var b=u();F(0,"span");P(1,"Bookmark groups");H();F(2,"b-hotlist-search-popup",4);L("itemSelect",function(c){w(b);var d=N();c.isGroup&&d.handleBookmarkGroupOpen(c.bookmarkGroupId);
return y()})("click",function(c){return c.stopPropagation()});H()}a&2&&(z(2),E("showHotlists",!1))},d1a=function(a){a&1&&(F(0,"button",17),L("click",function(c){return c.stopPropagation()}),I(1,"mat-icon",18),H());if(a&2){N();var b=Kf(5);E("matMenuTriggerFor",b)}},e1a=function(a){if(a&1){var b=u();F(0,"button",19);L("click",function(){w(b);var c=N(3).$implicit;return y(c.unstar())});P(1," Unstar ");H()}},f1a=function(a){if(a&1){var b=u();F(0,"button",19);L("click",function(){w(b);var c=N(3).$implicit;
return y(c.archive())});P(1," Archive ");H()}},g1a=function(a){if(a&1){var b=u();F(0,"button",19);L("click",function(){w(b);var c=N(3).$implicit;return y(c.setAsPreferredHomepage())});P(1," Set as homepage ");H()}},h1a=function(a){if(a&1){var b=u();F(0,"button",19);L("click",function(){w(b);var c=N(2).$implicit,d=N(3);return y(d.handleBookmarkGroupOpen(c.id))});P(1," Open ");H();F(2,"button",19);L("click",function(){w(b);var c=N(2).$implicit,d=N(3);return y(d.handleBookmarkGroupDashboard(c.id))});
P(3," Dashboard ");H();F(4,"button",19);L("click",function(){w(b);var c=N(2).$implicit,d=N(3);return y(d.editBookmarkGroup(c.id))});P(5," Settings ");H();O(6,e1a,2,0,"button",20);O(7,f1a,2,0,"button",20);O(8,g1a,2,0,"button",20)}a&2&&(a=N(2).$implicit,z(6),E("ngIf",a.isUnstarable()),z(1),E("ngIf",a.isEditable()),z(1),E("ngIf",!a.isPreferredHomepage()))},i1a=function(a){a&1&&(F(0,"div",12)(1,"span",13),P(2),H(),O(3,d1a,2,1,"button",14),F(4,"mat-menu",null,15),O(6,h1a,9,3,"ng-template",16),H()());a&
2&&(a=N().$implicit,qf("id","bv2-user-bookmarkgroup-item-",a.id,""),z(2),Mf(a.name),z(1),E("ngIf",a))},j1a=function(a){a&1&&(F(0,"button",27),I(1,"mat-icon",18),H());if(a&2){N();var b=Kf(6);E("matMenuTriggerFor",b)}},k1a=function(a){if(a&1){var b=u();F(0,"button",19);L("click",function(){w(b);var c=N(2).$implicit;return y(c.unstar())});P(1," Unstar ");H()}},l1a=function(a){if(a&1){var b=u();F(0,"button",19);L("click",function(){w(b);var c=N(2).$implicit;return y(c.setAsPreferredHomepage())});P(1,
" Set as homepage ");H()}},m1a=function(a){if(a&1){var b=u();F(0,"button",19);L("click",function(){w(b);var c=N().$implicit,d=N(5);"HOTLIST"===c.type?d.location.url(d.paths.editHotlist(c.id)):d.location.url(d.paths.editSavedSearch(c.id));return y()});P(1," Settings ");H();O(2,k1a,2,0,"button",20);O(3,l1a,2,0,"button",20)}a&2&&(a=N().$implicit,z(2),E("ngIf",a.isUnstarable()),z(1),E("ngIf",!a.isPreferredHomepage()))},n1a=function(a,b){if(a&1){var c=u();F(0,"li",23)(1,"a",24);L("click",function(d){var e=
w(c).$implicit,g=N(5);return y(g.onAnchorClick(e.href,d))});F(2,"span",13);P(3);H()();O(4,j1a,2,1,"button",25);F(5,"mat-menu",null,26);O(7,m1a,4,2,"ng-template",16);H()()}a&2&&(a=b.$implicit,b=N(2).$implicit,xf("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),aka("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),E("title",a.name),z(1),E("href",a.href,Ud),z(2),Lf(" ",a.name," "),z(1),E("ngIf",
b))},o1a=function(a){a&1&&(F(0,"ul",21),O(1,n1a,8,13,"li",22),H());a&2&&(a=N().$implicit,z(1),E("ngForOf",a.items))},p1a=function(a,b){a&1&&(F(0,"li",8)(1,"sidebar-zippy",9),O(2,i1a,7,3,"ng-template",null,10,gg),O(4,o1a,2,1,"ng-template",null,11,gg),H()());if(a&2){a=b.$implicit;var c=Kf(3),d=Kf(5);E("title",a.name);z(1);E("header",c)("content",d)("expanded",!1)}},q1a=function(a){a&1&&(F(0,"ul",6),O(1,p1a,6,4,"li",7),H());a&2&&(a=N(2),z(1),E("ngForOf",a.bookmarkGroups))},r1a=function(a){a&1&&O(0,q1a,
2,1,"ul",5);a&2&&(a=N(),E("ngIf",a.bookmarkGroups))},s1a=function(a){if(a&1){var b=u();F(0,"span");P(1,"Hotlists");H();F(2,"b-hotlist-search-popup",4);L("itemSelect",function(c){w(b);var d=N();d.analytics.trackEvent("hotlistSearch","goToHotlist");d.location.url(c.href);return y()})("click",function(c){return c.stopPropagation()});H()}a&2&&(z(2),E("showGroups",!1))},t1a=function(a){a&1&&(F(0,"button",14),I(1,"mat-icon",15),H());if(a&2){N();var b=Kf(6);E("matMenuTriggerFor",b)}},u1a=function(a){if(a&
1){var b=u();F(0,"button",16);L("click",function(){w(b);var c=N(2).$implicit;return y(c.unstar())});P(1," Unstar ");H()}},v1a=function(a){if(a&1){var b=u();F(0,"button",16);L("click",function(){w(b);var c=N(2).$implicit;return y(c.setAsPreferredHomepage())});P(1," Set as homepage ");H()}},w1a=function(a){if(a&1){var b=u();F(0,"button",16);L("click",function(){w(b);var c=N().$implicit,d=N(3);return y(d.openEditHotlist(c.id))});P(1," Settings ");H();O(2,u1a,2,0,"button",17);O(3,v1a,2,0,"button",17)}a&
2&&(a=N().$implicit,z(2),E("ngIf",a.isUnstarable()),z(1),E("ngIf",!a.isPreferredHomepage()))},x1a=function(a,b){if(a&1){var c=u();F(0,"li",8)(1,"a",9);L("click",function(d){var e=w(c).$implicit,g=N(3);return y(g.onAnchorClick(e.href,d))});F(2,"span",10);P(3);H()();O(4,t1a,2,1,"button",11);F(5,"mat-menu",null,12);O(7,w1a,4,2,"ng-template",13);H()()}a&2&&(a=b.$implicit,xf("selected",a.isSelected()),Hf("id","bv2-user-hotlists-hotlist-item-",a.id,""),E("title",a.name),z(1),E("href",a.href,Ud),z(2),Mf(a.name),
z(1),E("ngIf",a))},y1a=function(a){a&1&&(F(0,"ul",6),O(1,x1a,8,7,"li",7),H());a&2&&(a=N(2),z(1),E("ngForOf",a.hotlists))},z1a=function(a){a&1&&O(0,y1a,2,1,"ul",5);a&2&&(a=N(),E("ngIf",a.hotlists))},A1a=function(a){a&1&&(F(0,"span"),P(1,"Saved searches"),H())},B1a=function(a){if(a&1){var b=u();F(0,"button",14);L("click",function(){w(b);var c=N(2).$implicit;return y(c.setAsPreferredHomepage())});P(1," Set as homepage ");H()}},D1a=function(a){if(a&1){var b=u();F(0,"button",14);L("click",function(){w(b);
var c=N().$implicit,d=N(3);return y(d.openEditSavedSearch(c.id))});P(1," Settings ");H();O(2,B1a,2,0,"button",15);F(3,"button",14);L("click",function(){w(b);var c=N().$implicit,d=N(3);return y(C1a(d,c))});P(4," Delete ");H()}a&2&&(a=N().$implicit,z(2),E("ngIf",!a.isPreferredHomepage()))},E1a=function(a,b){if(a&1){var c=u();F(0,"li",7)(1,"a",8);L("click",function(e){var g=w(c).$implicit,h=N(3);return y(h.onAnchorClick(g.href,e))});F(2,"span",9);P(3);H()();F(4,"button",10);I(5,"mat-icon",11);H();F(6,
"mat-menu",null,12);O(8,D1a,5,1,"ng-template",13);H()()}if(a&2){a=b.$implicit;var d=Kf(7);xf("selected",a.isSelected());qf("id","bv2-saved-searches-search-item-",a.id,"");E("title",a.name);z(1);E("href",a.href,Ud);z(2);Mf(a.name);z(1);E("matMenuTriggerFor",d)}},F1a=function(a){a&1&&(F(0,"ul",5),O(1,E1a,9,7,"li",6),H());a&2&&(a=N(2),z(1),E("ngForOf",a.searches))},G1a=function(a){a&1&&O(0,F1a,2,1,"ul",4);a&2&&(a=N(),E("ngIf",a.searches))},J1a=function(a){var b=a.match(/\(.*\)/);if(a.match(/'.*'/)||
a.match(/".*"/)||b)return{complexSyntax:!0};a=a.split(/\s+/).filter(Boolean);b=a.filter(H1a).length;var c=a.filter(function(d){return!H1a(d)}).filter(I1a).length;return{filters:b,text:a.length-b-c,resourceIds:c}},I1a=function(a){a=String(a);a=a.replace("http://b/","");a=a.replace("https://b/","");a=a.replace("b/","");a=a.trim();return 3>a.length?!1:!/[^0-9]/.test(a)},H1a=function(a){return!!a.match(/\w:\w/g)},K1a=function(a,b){return(null!=a?a:0)+(null!=b?b:0)},M1a=function(a){if(a&1){var b=u();F(0,
"button",27);L("click",function(){w(b);var c=N(2);return y(L1a(c,c.EXPERIMENTAL_HOMEPAGE))});P(1," Set as homepage ");H();F(2,"span",28);P(3," Experimental. ");F(4,"a",29);P(5,"Learn more");H();P(6,". ");H()}},N1a=function(a){if(a&1){var b=u();J(0);F(1,"li",22)(2,"a",7);L("click",function(d){w(b);var e=N();e.onAnchorClick(e.experimentalHomepagePath,d);e.appSearchState.clear();return y()});I(3,"mat-icon",23);P(4," Home ");H();F(5,"button",24);I(6,"mat-icon",25);H();F(7,"mat-menu",null,26);O(9,M1a,
7,0,"ng-template",10);H()();K()}if(a&2){var c=Kf(8);a=N();z(1);xf("selected",!!a.location.path().match(/^\/dash\b/));z(1);E("href",a.experimentalHomepagePath,Ud);z(3);E("matMenuTriggerFor",c)}},O1a=function(a,b){a&1&&I(0,"mat-icon",34);a&2&&(a=b.$implicit,E("matBadge",99<a?"99+":a)("matBadgeHidden",0===a)("matBadgeDescription","Badge indicating "+a+" issues need attention"))},P1a=function(a){a&1&&I(0,"mat-icon",35)},Q1a=function(a){a&1&&(J(0),F(1,"button",36),I(2,"mat-icon",25),H(),K());if(a&2){N();
var b=Kf(10);z(1);E("matMenuTriggerFor",b)}},R1a=function(a){if(a&1){var b=u();F(0,"button",27);L("click",function(){w(b);var c=N(2);L1a(c,"NEEDS_ATTENTION");return y()});P(1," Set as homepage ");H()}},S1a=function(a){if(a&1){var b=u();F(0,"li",30)(1,"a",7);L("click",function(d){w(b);var e=N();return y(e.onAnchorClick(e.needsAttentionPath,d))});O(2,O1a,1,3,"mat-icon",31);R(3,"async");O(4,P1a,1,0,"ng-template",null,32,gg);P(6," Needs attention ");H();O(7,Q1a,3,1,"ng-container",4);R(8,"async");F(9,
"mat-menu",null,33);O(11,R1a,2,0,"ng-template",10);H()()}if(a&2){var c=Kf(5);a=N();xf("selected",!!a.location.path().match(/^\/attention\b/));z(1);E("href",a.needsAttentionPath,Ud);z(1);E("ngIf",S(3,6,a.needsAttentionIssueCount$))("ngIfElse",c);z(5);E("ngIf",!S(8,8,a.isHomepageNeedsAttention$))}},T1a=function(a){a&1&&(J(0),F(1,"button",37),I(2,"mat-icon",25),H(),K());if(a&2){N();var b=Kf(14);z(1);E("matMenuTriggerFor",b)}},V1a=function(a){if(a&1){var b=u();F(0,"button",27);L("click",function(){w(b);
var c=N();return y(U1a(c))});P(1," Set as homepage ");H()}},X1a=function(a){if(a&1){var b=u();F(0,"li")(1,"a",7);L("click",function(c){w(b);var d=N();return y(d.onAnchorClick(d.votedPath,c))});I(2,"mat-icon",38);P(3," Upvoted by me ");H()()}a&2&&(a=N(),xf("selected",W1a(a.appSearchState)),z(1),E("href",a.votedPath,Ud))},Y1a=function(a,b){if(a&1){var c=u();F(0,"li")(1,"a",7);L("click",function(d){var e=w(c).$implicit,g=N();return y(g.onAnchorClick(e,d))});I(2,"mat-icon",39);P(3," Recently Viewed ");
H()()}a&2&&(a=b.$implicit,b=N(),xf("selected",!!b.location.path().match(/^\/recent\b/)),z(1),E("href",a,Ud))},Z1a=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},$1a=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)},b2a=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;a2a++;var d=156;d+=12*(a2a-1);return function(e){e=void 0===e?b:e;var g,h=null!=(g=document.getElementById(a))?g:Z1a(a,d);$1a(h,e,c)}},c2a=function(a){a=void 0===a?!1:a;var b=cza(),c=b.total,d=b.redundancyRatio;Ym("after-60s","xhr","redundant",b.redundant);Ym("after-60s","xhr","total",c);Ym("after-60s","xhr","redundancyRatio",d);a&&(console.table(aza()),console.log(b))},
e2a=function(a){if(a&1){var b=u();F(0,"a",8);L("keydown.enter",function(){w(b);var c=N(2);return y(d2a(c))})("keydown.space",function(){w(b);var c=N(2);return y(d2a(c))})("click",function(){w(b);var c=N(2);return y(d2a(c))});P(1," Dismiss");H()}},f2a=function(a){a&1&&(F(0,"div",4)(1,"div",5),I(2,"span",6),O(3,e2a,2,0,"a",7),H()());a&2&&(a=N(),z(2),E("innerHtml",a.announcement.message,Td),z(1),E("ngIf",a.announcement.dismissible))},h2a=function(a){if(a&1){var b=u();F(0,"b-resizable-sidebar",9);L("widthChanged",
function(c){w(b);var d=N();c!==d.matSidebarWidth&&(d.matSidebarWidth=c,g2a(d,c));return y()});I(1,"b-sidebar");H()}a&2&&(a=N(),E("size",a.matSidebarWidth)("disableToggleBtn",!0))},i2a=function(a){switch(a){case "COMFORTABLE":return"d-comfort";case "COZY":return"d-cozy";case "COMPACT":return"d-compact";default:return"d-comfort"}},k2a=function(a){if(a&1){var b=u();F(0,"button",10);L("click",function(){w(b);var c=N(2),d=new Uh;c.date=d;c.dateSelectionChange.emit(d);j2a(c,c.date);c.calendar._getCurrentViewComponent()._focusActiveCell(!1);
c.dateChange.emit(c.date);return y(c.saveClicked.emit())});P(1,"Today");H()}},l2a=function(a){if(a&1){var b=u();F(0,"button",11);L("click",function(){w(b);var c=N(2);c.date=void 0;c.dateSelectionChange.emit(void 0);c.dateChange.emit(c.date);return y(c.saveClicked.emit())});P(1,"None");H()}},m2a=function(a){a&1&&(F(0,"div",1),O(1,k2a,2,0,"button",8),O(2,l2a,2,0,"button",9),I(3,"mat-divider"),H());a&2&&(a=N(),z(1),E("ngIf",a.todayButtonEnabled),z(1),E("ngIf",a.noneButtonEnabled&&!a.required))},n2a=
function(a){a&1&&I(0,"b-formatted-date-time",4);a&2&&(a=N(),E("date",a.value))},o2a=function(a){a&1&&(J(0),P(1,"---"),K())},p2a=function(a,b){if(a&1){var c=u();F(0,"div",8)(1,"mat-checkbox",9);L("change",function(){var d=w(c).$implicit,e=N();e.focusFilterBox();var g=e.valueMap.get(d);g?e.valueMap.set(d,!1):!1===g?(g=null===e.originalValueMap.get(d),e.valueMap.set(d,g?null:!0)):e.valueMap.set(d,!0);e.onSave.emit({valueMap:e.valueMap,valueChanged:e.valueChanged()});return y()})("click",function(d){return d.stopPropagation()});
P(2);H()()}a&2&&(a=b.$implicit,b=N(),E("title",b.getDisplayString(a)),z(1),E("checked",!!b.valueMap.get(a))("indeterminate",null===b.valueMap.get(a)),z(1),Lf(" ",b.getDisplayString(a)," "))},r2a=function(a){if(a&1){var b=u();F(0,"input",10,11);L("keydown",function(c){w(b);var d=N();"Enter"===c.key&&(q2a(d)&&d.addValue(),c.preventDefault());return y()})("click",function(c){return c.stopPropagation()})("ngModelChange",function(c){w(b);var d=N();return y(d.filterValue=c)});H()}a&2&&(a=N(),E("type","REPEATED_NUMERIC"===
a.type?"number":"text")("ngModel",a.filterValue)("placeholder","REPEATED_ENUM"===a.type?"Filter values":"Add or filter values"))},s2a=function(a){a&1&&I(0,"mat-divider")},t2a=function(a){if(a&1){var b=u();F(0,"div",12);L("click",function(c){w(b);var d=N();c.stopPropagation();return y(d.addValue())});P(1," Add ");H()}},u2a=function(a){if(a&1){var b=u();F(0,"div")(1,"b-date-time-input",13);L("valueChange",function(c){w(b);var d=N();return y(d.currentSelectedDate=c)});H();F(2,"div",14);L("click",function(c){w(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 y()});P(3," Add ");H()()}a&2&&(a=N(),z(1),E("value",a.currentSelectedDate))},v2a=function(a){a&1&&Cf(0)},x2a=function(a){if(a&1){var b=u();F(0,"div",3);L("click",function(){w(b);var d=N();return y(d.select(void 0))});O(1,v2a,1,0,"ng-container",4);H()}if(a&2){a=N();var c=Kf(3);E("option",void 0);of("aria-selected",a.isSelected(void 0));
z(1);E("ngTemplateOutlet",c)("ngTemplateOutletContext",Qf(4,w2a))}},y2a=function(a){a&1&&Cf(0)},A2a=function(a){if(a&1){var b=u();F(0,"div",3);L("click",function(){w(b);var e=N().$implicit,g=N();return y(g.select(e))});O(1,y2a,1,0,"ng-container",4);H()}if(a&2){a=N().$implicit;var c=N(),d=Kf(3);E("option",a);of("aria-selected",c.isSelected(a));z(1);E("ngTemplateOutlet",d)("ngTemplateOutletContext",Rf(4,z2a,a))}},B2a=function(a,b){a&1&&(J(0),O(1,A2a,2,6,"div",0),K());a&2&&(a=b.$implicit,z(1),E("ngIf",
a))},C2a=function(a){a&1&&(J(0),P(1),K());a&2&&(a=N(2).$implicit,z(1),Lf(" ",a," "))},D2a=function(a){a&1&&(F(0,"span",8),P(1,"--"),H())},E2a=function(a){a&1&&(J(0),O(1,C2a,2,1,"ng-container",5),O(2,D2a,2,0,"ng-template",null,7,gg),K());if(a&2){var b=Kf(3);a=N().$implicit;z(1);E("ngIf",null!=a)("ngIfElse",b)}},F2a=function(a){a&1&&Cf(0)},G2a=function(a){a&1&&O(0,F2a,1,0,"ng-container",4);if(a&2){a=N().$implicit;var b=N();E("ngTemplateOutlet",b.optionTemplate)("ngTemplateOutletContext",Rf(2,z2a,a))}},
H2a=function(a){a&1&&(O(0,E2a,4,2,"ng-container",5),O(1,G2a,1,4,"ng-template",null,6,gg));if(a&2){var b=Kf(2);a=N();E("ngIf",!a.optionTemplate)("ngIfElse",b)}},I2a=function(a){a&1&&Cf(0)},K2a=function(a){a&1&&(J(0),O(1,I2a,1,0,"ng-container",10),K());a&2&&(a=N(),z(1),E("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Rf(2,J2a,a.value)))},L2a=function(a){a&1&&Cf(0)},M2a=function(a){a&1&&(J(0),O(1,L2a,1,0,"ng-container",10),K());a&2&&(a=N(2),z(1),E("ngTemplateOutlet",a.optionTemplate)("ngTemplateOutletContext",
Rf(2,J2a,a.value)))},N2a=function(a){a&1&&O(0,M2a,2,4,"ng-container",3);if(a&2){a=N();var b=Kf(8);E("ngIf",a.optionTemplate)("ngIfElse",b)}},O2a=function(a){a&1&&(J(0),P(1),K());a&2&&(a=N(2),z(1),Lf(" ",a.value," "))},P2a=function(a){a&1&&(F(0,"span",12),P(1,"--"),H())},Q2a=function(a){a&1&&(O(0,O2a,2,1,"ng-container",3),O(1,P2a,2,0,"ng-template",null,11,gg));if(a&2){var b=Kf(2);a=N();E("ngIf",null!=a.value)("ngIfElse",b)}},R2a=function(a){a&1&&(rd(),F(0,"svg",13),I(1,"path",14),H())},S2a=function(a){a&
1&&(F(0,"div"),P(1," The selected issues have no custom fields in common. "),H())},T2a=function(a){a&1&&(F(0,"span"),P(1,"*"),H())},U2a=function(a){if(a&1){var b=u();F(0,"input",16);L("ngModelChange",function(c){w(b);var d=N(2).$implicit;return y(d.textValue=c)});H()}a&2&&(a=N(2).$implicit,N(),E("ngModel",a.textValue),of("aria-labelledby",yp(a)))},V2a=function(a){if(a&1){var b=u();F(0,"input",17);L("ngModelChange",function(c){w(b);var d=N(2).$implicit;return y(d.numericValue=c)});H()}a&2&&(a=N(2).$implicit,
N(),E("ngModel",a.numericValue),of("aria-labelledby",yp(a)))},X2a=function(a){if(a&1){var b=u();F(0,"div")(1,"b-date-time-input",18);L("valueChange",function(e){w(b);var g=N(2).$implicit;N();return y(g.dateValue=e?Wh(e):void 0)});H()()}if(a&2){a=N(2).$implicit;var c=N(),d;z(1);E("value",null!==(d=W2a(a.dateValue))&&void 0!==d?d:void 0)("required",c.isCustomFieldRequired(a))("customAriaLabelledBy",yp(a))("customFormId","bv2-custom-field-"+a.customFieldId)}},Z2a=function(a){if(a&1){var b=u();F(0,"onedev-single-select",
19);L("valueChange",function(d){w(b);var e=N(2).$implicit;return y(e.enumValue=d)});H()}if(a&2){a=N(2).$implicit;N();var c;E("value",a.enumValue)("options",null!==(c=a.allowedValue)&&void 0!==c?c:Qf(3,Y2a));of("aria-labelledby",yp(a))}},a3a=function(a){if(a&1){var b=u();F(0,"b-bulk-repeated-field-picker",20);L("onSave",function(e){w(b);var g=N(2).$implicit,h=N();return y($2a(h,g.customFieldId,e))});H()}if(a&2){a=N(2).$implicit;var c=N(),d;E("type",c.getCustomFieldType(a))("originalValueMap",c.repeatedCustomFieldsMap.get(a.customFieldId))("enumChoices",
null!==(d=a.allowedValue)&&void 0!==d?d:Qf(3,Y2a))}},b3a=function(a){a&1&&(J(0,10),O(1,U2a,1,2,"input",11),O(2,V2a,1,2,"input",12),O(3,X2a,2,4,"div",13),O(4,Z2a,1,4,"onedev-single-select",14),O(5,a3a,1,4,"b-bulk-repeated-field-picker",15),K());if(a&2){a=N().$implicit;var b=N();E("ngSwitch",b.getCustomFieldType(a));z(1);E("ngSwitchCase","TEXT");z(1);E("ngSwitchCase","NUMERIC");z(1);E("ngSwitchCase","DATE");z(1);E("ngSwitchCase","ENUM")}},c3a=function(a){if(a&1){var b=u();F(0,"span");P(1," Multiple values ");
H();F(2,"a",21);L("click",function(){w(b);var c=N().$implicit,d=N();return y(d.clearCustomFieldValue(c))});P(3,"X");H()}},d3a=function(a,b){a&1&&(F(0,"div",5)(1,"div",6)(2,"label",7),P(3),O(4,T2a,2,0,"span",1),H()(),O(5,b3a,6,5,"ng-template",8),O(6,c3a,4,0,"ng-template",null,9,gg),H());if(a&2){a=b.$implicit;var c=Kf(7);N();z(2);E("matTooltip",(a.description||"")+" [ID: "+a.customFieldId+"]");of("id",yp(a));z(1);Lf(" ",a.name," ");z(1);E("ngIf",a.required);z(1);E("ngIf",!a.hasMultipleValues)("ngIfElse",
c)}},e3a=function(a){return new Set(a.map(function(b){return ai(b)}))},zp=function(a,b,c){return a.has(b)?c:""},f3a=function(a,b,c){return a.has(b)?c:[]},Ap=function(a,b,c){return{fieldName:a,diffType:"SINGLE_VALUE",diff:{oldValue:b,newValue:c}}},i3a=function(a){if(!a)return"";var b=g3a.get(a.retentionSelection),c=a.retentionPeriodDays,d="Issue Retention: "+b;b=d;c&&(b=d+(", Days: "+c));d=h3a.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},k3a=function(a){if(!a)return"";var b=a.inherit,c=j3a.get(a.source),d=a.comment;a="Inherit: "+b+", Source: "+c+", ID: "+a.id;return d?a+(", Justification: "+d):a},l3a=function(a){return a?"Inherit: "+a.inherit+", ID: "+a.id:""},m3a=function(a){a&1&&(F(0,"li")(1,"a",4),P(2," Create an issue in this component"),H()());a&2&&(a=N(2),z(1),E("href",a.createIssueUrl,Ud))},n3a=function(a,b){a&1&&(J(0),F(1,"h3"),P(2),H(),F(3,"p"),
P(4),H(),I(5,"b-access-level-indicator",3),F(6,"p"),P(7),H(),F(8,"ul")(9,"li")(10,"a",4),P(11," View recent open issues"),H()(),O(12,m3a,3,1,"li",2),F(13,"li")(14,"a",4),P(15," View component"),H()()(),K());a&2&&(a=b.ngIf,b=N(),z(2),Mf(a.name),z(2),Lf("ID: ",b.componentId,""),z(1),E("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",!0),z(2),Mf(a.description),z(3),E("href",b.recentIssuesUrl,Ud),z(2),E("ngIf",!b.isAnonymous),z(2),E("href",b.viewComponentUrl,Ud))},o3a=
function(a,b){a&1&&(F(0,"mat-option",19),P(1),H());a&2&&(a=b.$implicit,E("value",a),z(1),Lf(" ",a," "))},p3a=function(a){if(a&1){var b=u();F(0,"mat-form-field",16)(1,"mat-select",17);L("selectionChange",function(c){w(b);var d=N(2);return y(d._changePageSize(c.value))});O(2,o3a,2,2,"mat-option",18);H()()}a&2&&(a=N(2),E("appearance",a._formFieldAppearance)("color",a.color),z(1),E("value",a.pageSize)("disabled",a.disabled)("panelClass",a.selectConfig.panelClass||"")("disableOptionCentering",a.selectConfig.disableOptionCentering)("aria-label",
a._intl.itemsPerPageLabel),z(1),E("ngForOf",a._displayedPageSizeOptions))},q3a=function(a){a&1&&(F(0,"div",20),P(1),H());a&2&&(a=N(2),z(1),Mf(a.pageSize))},r3a=function(a){a&1&&(F(0,"div",12)(1,"div",13),P(2),H(),O(3,p3a,3,8,"mat-form-field",14),O(4,q3a,2,1,"div",15),H());a&2&&(a=N(),z(2),Lf(" ",a._intl.itemsPerPageLabel," "),z(1),E("ngIf",1<a._displayedPageSizeOptions.length),z(1),E("ngIf",1>=a._displayedPageSizeOptions.length))},s3a=function(a){if(a&1){var b=u();F(0,"button",21);L("click",function(){w(b);
var c=N();if(c.hasPreviousPage()){var d=c.pageIndex;c.pageIndex=0;c._emitPageEvent(d)}return y()});rd();F(1,"svg",7);I(2,"path",22);H()()}a&2&&(a=N(),E("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("matTooltipPosition","above")("disabled",a._previousButtonsDisabled()),of("aria-label",a._intl.firstPageLabel))},t3a=function(a){if(a&1){var b=u();rd();sd();F(0,"button",23);L("click",function(){w(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 y()});rd();F(1,"svg",7);I(2,"path",24);H()()}a&2&&(a=N(),E("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("matTooltipPosition","above")("disabled",a._nextButtonsDisabled()),of("aria-label",a._intl.lastPageLabel))},u3a=function(a){if(a&1){var b=u();F(0,"mat-paginator",3);L("page",function(c){w(b);var d=N(),e=c.pageIndex*c.pageSize;d.childrenOnPage=d.children.slice(e,e+c.pageSize);return y()});H()}a&2&&
(a=N(),E("length",a.children.length)("pageSize",a.pageSize)("pageSizeOptions",a.pageSizeOptions))},v3a=function(a,b){if(a&1){var c=u();F(0,"li")(1,"a",4);L("click",function(){var e=w(c).$implicit,g=N();return y(g.onVisit.emit(e))});P(2);H();F(3,"onedev-hovercard",null,5);I(5,"b-component-card",6);H()()}if(a&2){a=b.$implicit;var d=Kf(4);b=N();z(1);E("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId),Ud);z(1);Lf(" ",a.name," ");z(3);E("componentId",a.componentId.toString())}},
w3a=function(a){if(a&1){var b=u();F(0,"button",6);L("click",function(){w(b);var c=N();return y(c.onClickCopyIssueShortLinks.emit())});P(1);H()}a&2&&(a=N(),z(1),Lf(" Copy '",a.shortLinkPrefix,"'' links "))},x3a=function(a,b){a&1&&(F(0,"span",5)(1,"a",6),P(2),H(),F(3,"onedev-hovercard",null,7),I(5,"b-component-card",8),H()());if(a&2){a=b.$implicit;var c=Kf(4);z(1);E("onedevHovercardTrigger",c)("routerLinkObj",a.route);z(1);Mf(a.name);z(3);E("componentId",a.id.toString())}},y3a=function(a){a&1&&(F(0,
"span",9),P(1,"[Archived]"),H())},Bp=function(a,b){b=void 0===b?im:b;var c,d=null!=(c=null==a?void 0:a.componentPathId)?c:[],e,g=null!=(e=null==a?void 0:a.componentPathName)?e:[];return d.map(function(h,l){var q;l=null!=(q=g[l])?q:String(h);q=b(h);return{id:h,name:l,route:q}})},z3a=function(a){if(a&1){var b=u();F(0,"a",18);L("click",function(){w(b);var c=N().$implicit,d=N();return y(d.showChildren(c))});I(1,"mat-icon",19);H()}},A3a=function(a){if(a&1){var b=u();F(0,"a",20);L("click",function(){w(b);
var c=N().$implicit;return y(c.showChildren=!1)});I(1,"mat-icon",21);H()}},C3a=function(a){a&1&&(F(0,"a",22),P(1," (Recent Issues) "),H());if(a&2){a=N().$implicit;var b=N();E("href",b.paths.listIssues(Rf(1,B3a,"status:open componentid:"+a.componentId)),Ud)}},D3a=function(a){a&1&&(F(0,"span"),P(1,"[Archived]"),H())},E3a=function(a){a&1&&(F(0,"a",23),P(1," Create issue "),H());if(a&2){a=N().$implicit;var b=N();E("href",b.paths.createIssue()+"?component="+a.componentId,Ud)}},F3a=function(a){a&1&&(F(0,
"div",28),P(1," No child components found. "),H())},G3a=function(a){a&1&&(F(0,"div",29),I(1,"b-spinner"),H())},H3a=function(a){if(a&1){var b=u();F(0,"component-subtree-list",30);L("childClosed",function(d){w(b);var e=N(3);return y(e.onSubtreeChildClosed(d))});H()}if(a&2){a=N(2).$implicit;var c=N();E("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},I3a=function(a){a&1&&(F(0,"div",24),O(1,F3a,2,0,"div",25),O(2,G3a,2,0,"div",26),
O(3,H3a,1,4,"component-subtree-list",27),H());a&2&&(a=N().$implicit,z(1),E("ngIf",a.noChildren),z(1),E("ngIf",!(a.noChildren||a.children)),z(1),E("ngIf",a.children))},J3a=function(a,b){if(a&1){var c=u();F(0,"li",2);L("click",function(d){var e=w(c).$implicit,g=N();return y(g.setSelected(e.componentId,d))});F(1,"div",3);I(2,"div",4);F(3,"div",5);O(4,z3a,2,0,"a",6);O(5,A3a,2,0,"a",7);H();F(6,"div",8)(7,"div")(8,"a",9);P(9);H();O(10,C3a,2,3,"a",10);O(11,D3a,2,0,"span",11);I(12,"b-access-level-indicator",
12)(13,"b-tracker-chip-smart",13);H();F(14,"div",14);P(15);H()();F(16,"div",15);O(17,E3a,2,1,"a",16);H()();O(18,I3a,4,3,"div",17);H()}a&2&&(a=b.$implicit,b=N(),Hf("id","component-",a.componentId,""),z(4),E("ngIf",!a.showChildren),z(1),E("ngIf",a.showChildren),z(3),E("href",b.paths.viewComponent(a.componentId),Ud),z(1),Lf(" ",a.name," "),z(1),E("ngIf",!a.archived),z(1),E("ngIf",a.archived),z(1),E("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),z(1),E("trackerId",a.trackerId),z(2),
Mf(a.description),z(2),E("ngIf",!a.archived),z(1),E("ngIf",a.showChildren))},K3a=function(a){if(a&1){var b=u();F(0,"a",18);L("click",function(){w(b);var c=N().$implicit,d=N();return y(d.showChildren(c))});I(1,"mat-icon",19);H()}},L3a=function(a){if(a&1){var b=u();F(0,"a",20);L("click",function(){w(b);var c=N().$implicit;return y(c.showChildren=!1)});I(1,"mat-icon",21);H()}},N3a=function(a){a&1&&(F(0,"a",22),P(1," (Recent Issues) "),H());if(a&2){a=N().$implicit;var b=N();E("href",b.paths.listIssues(Rf(1,
M3a,"status:open componentid:"+a.componentId)),Ud)}},O3a=function(a){a&1&&(F(0,"span"),P(1,"[Archived]"),H())},P3a=function(a){a&1&&(F(0,"a",23),P(1," Create issue "),H());if(a&2){a=N().$implicit;var b=N();E("href",b.paths.createIssue()+"?component="+a.componentId,Ud)}},Q3a=function(a){a&1&&(F(0,"div",28),P(1," No child components found. "),H())},R3a=function(a){a&1&&(F(0,"div",29),I(1,"b-spinner"),H())},S3a=function(a){if(a&1){var b=u();F(0,"component-subtree-list",30);L("childClosed",function(d){w(b);
var e=N(3);return y(e.onSubtreeChildClosed(d))});H()}if(a&2){a=N(2).$implicit;var c=N();E("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},T3a=function(a){a&1&&(F(0,"div",24),O(1,Q3a,2,0,"div",25),O(2,R3a,2,0,"div",26),O(3,S3a,1,4,"component-subtree-list",27),H());a&2&&(a=N().$implicit,z(1),E("ngIf",a.noChildren),z(1),E("ngIf",!(a.noChildren||a.children)),z(1),E("ngIf",a.children))},U3a=function(a,b){if(a&1){var c=u();F(0,"li",
2);L("click",function(d){var e=w(c).$implicit,g=N();return y(g.setSelected(e.componentId,d))});F(1,"div",3);I(2,"div",4);F(3,"div",5);O(4,K3a,2,0,"a",6);O(5,L3a,2,0,"a",7);H();F(6,"div",8)(7,"div")(8,"a",9);P(9);H();O(10,N3a,2,3,"a",10);O(11,O3a,2,0,"span",11);I(12,"b-access-level-indicator",12)(13,"b-tracker-chip-smart",13);H();F(14,"div",14);P(15);H()();F(16,"div",15);O(17,P3a,2,1,"a",16);H()();O(18,T3a,4,3,"div",17);H()}a&2&&(a=b.$implicit,b=N(),E("id","component-"+a.componentId),z(4),E("ngIf",
!a.showChildren),z(1),E("ngIf",a.showChildren),z(3),E("href",b.paths.viewComponent(a.componentId),Ud),z(1),Lf(" ",a.name," "),z(1),E("ngIf",!a.archived),z(1),E("ngIf",a.archived),z(1),E("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),z(1),E("trackerId",a.trackerId),z(2),Mf(a.description),z(2),E("ngIf",!a.archived),z(1),E("ngIf",a.showChildren))},V3a=function(a){a&1&&(I(0,"div"),R(1,"lowercase"));a&2&&(a=N(3),Af("bv2-edit-icon ",S(1,3,a.type),""))},W3a=function(a){a&1&&(F(0,"div")(1,
"label"),P(2),H(),O(3,V3a,2,5,"div",10),H());a&2&&(a=N(2),Af("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),z(2),Lf(" ",a.title," "),z(1),E("ngIf",!a.readonly&&!a.disabled))},X3a=function(a){a&1&&Cf(0)},Y3a=function(a){if(a&1){var b=u();F(0,"div",14);L("menuClosed",function(){w(b);var e=N(2);return y(Cp(e,null,!1,!0))});O(1,X3a,1,0,"ng-container",15);H()}if(a&2){N();var c=Kf(6);N();var d=Kf(7);E("matMenuTriggerFor",d);z(1);E("ngTemplateOutlet",c)}},Z3a=function(a){a&1&&Cf(0)},$3a=
function(a){a&1&&(F(0,"div",16),O(1,Z3a,1,0,"ng-container",15),H());if(a&2){N();var b=Kf(6);z(1);E("ngTemplateOutlet",b)}},a4a=function(a){a&1&&I(0,"b-user-membership-chip",25);a&2&&(a=N(5),E("user",a.user)("email",a.value)("teamId",a.teamId)("enableSmallChip",!0))},b4a=function(a){a&1&&I(0,"b-user-image",26);a&2&&(a=N(5),E("email",a.value))},c4a=function(a){a&1&&(F(0,"span",27)(1,"b-person-hovercard",28),P(2),H()());a&2&&(a=N(5),z(1),E("email",a.value),z(1),Lf(" ",a.getDisplayValue("--")," "))},
d4a=function(a){a&1&&(J(0),F(1,"div",21),O(2,a4a,1,4,"b-user-membership-chip",22),O(3,b4a,1,1,"b-user-image",23),O(4,c4a,3,2,"span",24),H(),K());a&2&&(a=N(4),z(2),E("ngIf",a.enableTeamAnnotations&&!!a.value),z(1),E("ngIf",!a.enableTeamAnnotations&&!!a.value),z(1),E("ngIf",!a.enableTeamAnnotations))},e4a=function(a){a&1&&(F(0,"div"),O(1,d4a,5,3,"ng-container",3),H());a&2&&(a=N(3),z(1),E("ngIf",a.isUser))},f4a=function(a){a&1&&I(0,"b-truncated-span",33);a&2&&(a=N(4),E("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",
!a.truncate))},g4a=function(a){a&1&&I(0,"b-truncated-span",34);a&2&&(a=N(4),E("ngClass",a.getPriority(a.value))("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},h4a=function(a){a&1&&I(0,"b-truncated-span",33);a&2&&(a=N(4),Af("chippy status-",a.convertIssueStatusStrToTag(a.value),""),E("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},i4a=function(a){a&1&&I(0,"div",35)},j4a=function(a){a&1&&(F(0,"div"),O(1,f4a,1,3,"b-truncated-span",29),
O(2,g4a,1,4,"b-truncated-span",30),O(3,h4a,1,6,"b-truncated-span",31),O(4,i4a,1,0,"div",32),H());a&2&&(a=N(3),z(1),E("ngIf","Priority"!==a.title&&"Status"!==a.title),z(1),E("ngIf","Priority"===a.title),z(1),E("ngIf","Status"===a.title),z(1),E("ngIf",!a.title&&!a.readonly&&!a.disabled))},k4a=function(a){a&1&&(F(0,"div",36),I(1,"mat-icon",37),H())},l4a=function(a){a&1&&(F(0,"div",38),I(1,"mat-icon",39),H())},n4a=function(a){if(a&1){var b=u();F(0,"div",17,18);L("keydown",function(c){w(b);var d=N(2);
return y(m4a(d,c))})("click",function(c){w(b);var d=N(2);return y(Cp(d,c,!0,!1))});O(2,e4a,2,1,"div",3);O(3,j4a,5,4,"div",3);O(4,k4a,2,0,"div",19);O(5,l4a,2,0,"div",20);H()}a&2&&(a=N(2),xf("edit-field-user-container",a.isUser)("edit-field-activated",a.isActive),z(2),E("ngIf",a.isUser),z(1),E("ngIf",!a.isUser),z(1),E("ngIf","ENUM"!=a.type),z(1),E("ngIf","ENUM"==a.type))},o4a=function(a){if(a&1){var b=u();F(0,"div",8,9);L("click",function(c){w(b);var d=N();return y(Cp(d,c,!0,!1))})("keydown",function(c){w(b);
var d=N();return y(m4a(d,c))});O(2,W3a,4,5,"div",10);O(3,Y3a,2,2,"div",11);O(4,$3a,2,1,"div",12);O(5,n4a,6,8,"ng-template",null,13,gg);H()}a&2&&(a=N(),Af("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,""),xf("bv2-disabled",a.disabled)("bv2-readonly",a.readonly),rf("aria-label","",a.title," value is ",a.getDisplayValue("empty"),""),E("matTooltip",a.getTooltip()),of("aria-disabled",!1),z(2),E("ngIf",a.title),z(1),E("ngIf","ENUM"===a.type),z(1),E("ngIf","ENUM"!==a.type))},p4a=function(a){if(a&
1){var b=u();F(0,"div",43);L("click",function(){w(b);var c=N(2);return y(c.setFieldValue(!c.value))});F(1,"label");P(2);H()()}a&2&&(a=N(2),Af("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),z(2),Mf(a.title))},r4a=function(a){if(a&1){var b=u();F(0,"div",40);O(1,p4a,3,4,"div",41);F(2,"b-slide-toggle",42);L("modelChange",function(){w(b);var d=N();return y(d.setFieldValue(!d.value))});H()()}if(a&2){a=N();var c;Af("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,"");E("ngClass",
Sf(10,q4a,a.disabled,a.readonly))("matTooltip",a.getTooltip());of("aria-disabled",!1);z(1);E("ngIf",a.title);z(1);E("disabled",a.disabled||a.readonly)("aria-label",a.name)("model",null!==(c=a.value)&&void 0!==c?c:void 0)}},s4a=function(a){a&1&&I(0,"b-availability-chip",45);a&2&&(a=N(2),E("user",a.value))},t4a=function(a){a&1&&(J(0),O(1,s4a,1,1,"b-availability-chip",44),K());a&2&&(a=N(),z(1),E("ngIf",a.value&&a.enableWaldoAvailability))},u4a=function(a){if(a&1){var b=u();F(0,"button",48);L("click",
function(){w(b);var c=N(2);return y(c.clearFieldValue())});F(1,"span",49);I(2,"mat-icon",50);H();P(3," \u00a0 ");H()}a&2&&(a=N(2),xf("b-menu-item-checked",null==a.value),E("disabled",null==a.value))},v4a=function(a,b){if(a&1){var c=u();F(0,"button",51);L("click",function(){var d=w(c).$implicit,e=N(2);return y(e.setFieldValue(d.value))});F(1,"span",49);I(2,"mat-icon",50);H();P(3);H()}a&2&&(a=b.$implicit,b=N(2),xf("b-menu-item-checked",b.value==a.value),E("disabled",b.value==a.value)("matTooltip",a.altText||
""),of("aria-label",a.displayText)("title",!b.showEnumTitle||a.altText?"":a.displayText),z(3),Lf(" ",a.displayText," "))},w4a=function(a){a&1&&(O(0,u4a,4,3,"button",46),O(1,v4a,4,7,"button",47));a&2&&(a=N(),E("ngIf",a.clearable),z(1),E("ngForOf",a.choices))},x4a=function(a){a&1&&Cf(0)},y4a=function(a){a&1&&Cf(0)},z4a=function(a){if(a&1){var b=u();F(0,"div",43);L("click",function(d){return d.stopPropagation()});F(1,"b-date-time-picker-content",57);L("dateSelectionChange",function(d){w(b);var e=N(2);
return y(e.googDateValue=null!==d&&void 0!==d?d:null)})("saveClicked",function(){w(b);var d=N(2);return y(d.setFieldValue(d.googDateValue))})("cancelClicked",function(){w(b);var d=N(2);return y(Cp(d,null,!1,!1))});H()()}if(a&2){a=N(2);var c;z(1);E("required",!(a.clearable&&"DATE"===a.type))("date",null!==(c=a.googDateValue)&&void 0!==c?c:void 0)}},B4a=function(a){if(a&1){var b=u();F(0,"textarea",66);L("ngModelChange",function(c){w(b);var d=N(4);return y(d.textBuffer=c)})("keydown",function(c){w(b);
var d=N(4);return y(A4a(d,c))});H()}a&2&&(a=N(4),E("ngModel",a.textBuffer),of("aria-label",a.title))},D4a=function(a){if(a&1){var b=u();F(0,"input",67);L("ngModelChange",function(c){w(b);var d=N(4);return y(d.textBuffer=c)})("keydown",function(c){w(b);var d=N(4);return y(C4a(d,c))});H()}a&2&&(a=N(4),E("ngModel",a.textBuffer),of("type","NUMERIC"===a.type?"number":"text")("aria-label",a.title))},E4a=function(a){a&1&&(F(0,"div"),O(1,B4a,1,2,"textarea",64),O(2,D4a,1,3,"input",65),H());a&2&&(a=N(3),z(1),
E("ngIf",a.multiline),z(1),E("ngIf",!a.multiline))},F4a=function(a){if(a&1){var b=u();F(0,"textarea",70);L("ngModelChange",function(c){w(b);var d=N(4);return y(d.textBuffer=c)})("keydown",function(c){w(b);var d=N(4);return y(A4a(d,c))})("autocompleteActive",function(c){w(b);var d=N(4);return y(d.autocompleteActive=c)});H()}a&2&&(a=N(4),E("ngModel",a.textBuffer)("bContactAutocomplete","MULTI"),of("aria-label",a.title))},G4a=function(a){if(a&1){var b=u();F(0,"input",71);L("ngModelChange",function(c){w(b);
var d=N(4);return y(d.textBuffer=c)})("keydown",function(c){w(b);var d=N(4);return y(C4a(d,c))})("autocompleteActive",function(c){w(b);var d=N(4);return y(d.autocompleteActive=c)});H()}a&2&&(a=N(4),E("ngModel",a.textBuffer)("bContactAutocomplete","SINGLE"),of("type","NUMERIC"===a.type?"number":"text")("aria-label",a.title))},H4a=function(a){a&1&&(F(0,"div"),O(1,F4a,1,3,"textarea",68),O(2,G4a,1,4,"input",69),H());a&2&&(a=N(3),z(1),E("ngIf",a.multiline),z(1),E("ngIf",!a.multiline))},J4a=function(a){if(a&
1){var b=u();F(0,"div",58);L("click",function(c){return c.stopPropagation()});O(1,E4a,3,2,"div",3);O(2,H4a,3,2,"div",3);F(3,"div",59)(4,"button",60);L("click",function(){w(b);var c=N(2);return y(I4a(c))});I(5,"mat-icon",61);H();F(6,"button",62);L("click",function(c){w(b);var d=N(2);return y(Cp(d,c,!1,!0))});I(7,"mat-icon",63);H()();F(8,"div",36);I(9,"mat-icon",37);H()()}a&2&&(a=N(2),z(1),E("ngIf",!a.isUser),z(1),E("ngIf",a.isUser),z(2),qf("aria-label","Apply change to ",a.title,""),Hf("matTooltip",
"Apply change to ",a.title,""),E("disabled",a.value==a.textBuffer),z(2),qf("aria-label","Discard change to ",a.title,""),Hf("matTooltip","Discard change to ",a.title,""))},K4a=function(a){a&1&&(F(0,"div",52,53),O(2,x4a,1,0,"ng-container",54),O(3,y4a,1,0,"ng-container",54),O(4,z4a,2,2,"div",55),O(5,J4a,10,7,"div",56),H());a&2&&(a=N(),Af("bv2-issue-metadata-field-edit bv2-issue-metadata-field-",a.name,"-edit"),E("ngSwitch",a.type),z(2),E("ngSwitchCase","ENUM"),z(1),E("ngSwitchCase","BOOL"),z(1),E("ngSwitchCase",
"DATE"))},L4a=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}},M4a=function(a){a&1&&I(0,"b-icon",7);a&2&&(a=N(),E("name",a.iconName))},N4a=function(a){a&1&&(F(0,"span",8),P(1),H());a&2&&(a=N(),z(1),Mf(a.title))},O4a=function(a){a&1&&(F(0,"div",9),P(1,"\u00a0"),H())},P4a=function(a){a&1&&(F(0,"label"),P(1),H());a&2&&(a=N(),z(1),Lf(" ",a.title," "))},R4a=function(a,b){a&1&&(F(0,"div",
18),Cf(1,19),H());if(a&2){a=b.$implicit;b=b.index;N(2);var c=Kf(13);z(1);E("ngTemplateOutletContext",Sf(2,Q4a,a,b))("ngTemplateOutlet",c)}},S4a=function(a){a&1&&(F(0,"collapsible-panel",15),O(1,R4a,2,5,"div",16),Cf(2,17),H());if(a&2){a=N();var b=Kf(15);E("isExpanded",a.isExpanded)("iconName",a.iconName)("hasCompactTitleBar",!0)("title",a.collapsiblePanelTitle);z(1);E("ngForOf",a.getDisplayValues())("ngForTrackBy",a.trackByIndex);z(1);E("ngTemplateOutlet",b)}},T4a=function(a,b){a&1&&(F(0,"div",18),
Cf(1,19),H());if(a&2){a=b.$implicit;b=b.index;N(2);var c=Kf(13);z(1);E("ngTemplateOutletContext",Sf(2,Q4a,a,b))("ngTemplateOutlet",c)}},U4a=function(a){a&1&&(F(0,"div"),P(1,"--"),H())},V4a=function(a){a&1&&(J(0),O(1,T4a,2,5,"div",16),Cf(2,17),O(3,U4a,2,0,"div",3),K());if(a&2){a=N();var b=Kf(15);z(1);E("ngForOf",a.getDisplayValues())("ngForTrackBy",a.trackByIndex);z(1);E("ngTemplateOutlet",b);z(1);E("ngIf",!(null==a.values?0:a.values.length))}},Y4a=function(a){if(a&1){var b=u();F(0,"button",24);L("menuOpened",
function(){w(b);var d=N(2);W4a(d);d.enumPendingValues=new Set(d.values||[]);return y()})("menuClosed",function(){w(b);var d=N(2);return y(X4a(d))});P(1,"Edit ");H()}if(a&2){a=N(2);var c=Kf(17);qf("aria-label","Add item to ",a.title,"");E("matMenuTriggerFor",c)}},Z4a=function(a){a&1&&(F(0,"button",25),P(1,"Add "),H());if(a&2){a=N(2);var b=Kf(22);qf("aria-label","Add item to ",a.title,"");E("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST)}},$4a=function(a){if(a&1){var b=u();F(0,
"button",26);L("beforeOpened",function(){w(b);var d=N(2);return y(d.invalidMessage="")});P(1,"Add ");H()}if(a&2){a=N(2);var c=Kf(20);qf("aria-label","Add item to ",a.title,"");Hf("matTooltip","Add item to ",a.title,"");E("xapInlineDialogClick",c)("overlayPositions",a.OVERLAY_POSITION_LIST)}},a5a=function(a){a&1&&(J(0,20),O(1,Y4a,2,2,"button",21),O(2,Z4a,2,3,"button",22),O(3,$4a,2,4,"button",23),K());a&2&&(a=N(),E("ngSwitch",a.type),z(1),E("ngSwitchCase","REPEATED_ENUM"),z(1),E("ngSwitchCase","REPEATED_DATE"))},
b5a=function(a){a&1&&(F(0,"div"),I(1,"b-changelist-link",38),H());if(a&2){a=N(2).item;var b=N();z(1);E("changelistId",b.asNumber(a))}},c5a=function(a){a&1&&(F(0,"div")(1,"a",39),P(2),H()());if(a&2){a=N(3).item;var b=N();z(1);E("href",b.getTaskFlowLink(a),Ud);of("aria-label","Workspace"+a.workspaceId);z(1);Lf(" ",a.workspaceName," ")}},d5a=function(a){a&1&&O(0,c5a,3,3,"div",30);if(a&2){N();var b=Kf(6);N();a=N();E("ngIf","WORKSPACES"===a.type)("ngIfElse",b)}},e5a=function(a){a&1&&(F(0,"div"),I(1,"b-team-display",
40),H());a&2&&(a=N(3).item,z(1),E("teamId",a.teamId)("componentId",a.componentId))},f5a=function(a){a&1&&O(0,e5a,2,2,"div",30);if(a&2){N();var b=Kf(8);N();a=N();E("ngIf","TEAM"===a.type)("ngIfElse",b)}},g5a=function(a){if(a&1){var b=u();F(0,"div")(1,"a",41);L("click",function(){w(b);var c=N(4);return y(c.trackClick("postmortem"))});P(2);H()()}a&2&&(a=N(3).item,z(1),Hf("href","https://pm.corp.google.com/",a,"",Ud),qf("aria-label","Postmortem ",a,""),z(1),Lf(" ",a," "))},h5a=function(a){a&1&&O(0,g5a,
3,3,"div",30);if(a&2){N();var b=Kf(10);N();a=N();E("ngIf","POSTMORTEMS"===a.type)("ngIfElse",b)}},i5a=function(a){a&1&&(F(0,"div"),I(1,"b-truncated-span",43),H());if(a&2){a=N(3).item;var b=N();z(1);E("maxWidth",150)("modelValue",a)("disabled",!b.truncate)}},j5a=function(a){a&1&&I(0,"b-user-membership-chip",47,48);if(a&2){a=N(4).item;var b=N();E("user",b.getUser(a))("email",a)("teamId",b.teamId)("enableSmallChip",!0)("enableGroupIcon",!0)}},k5a=function(a){a&1&&(F(0,"b-person-hovercard",49),P(1),H());
a&2&&(a=N(4).item,E("email",a),z(1),Lf(" ",a," "))},l5a=function(a){a&1&&(F(0,"div",44),O(1,j5a,2,5,"b-user-membership-chip",45),O(2,k5a,2,2,"b-person-hovercard",46),H());a&2&&(a=N(4),z(1),E("ngIf",a.enableTeamAnnotations),z(1),E("ngIf",!a.enableTeamAnnotations))},m5a=function(a){a&1&&(O(0,i5a,2,3,"div",3),O(1,l5a,3,2,"div",42));if(a&2){a=N(2).item;var b=N();E("ngIf",!b.isUser&&b.isString(a));z(1);E("ngIf",b.isUser&&b.isString(a))}},n5a=function(a){if(a&1){var b=u();F(0,"b-icon",50);L("click",function(){w(b);
var c=N(3);return y(c.toggleAccessLimits.emit())});H()}},o5a=function(a){if(a&1){var b=u();F(0,"button",52,53);L("click",function(){w(b);var d=N(3).$index,e=N();return y(e.removeItem(d))});H()}if(a&2){a=N(3).item;var c=N();rf("aria-label","Remove ",a," from ",c.title,"");E("disabled",c.listFieldDisabled)("matTooltip","Remove item")}},p5a=function(a){a&1&&O(0,o5a,2,4,"button",51);a&2&&(a=N(3),E("ngIf",!a.readonly&&"REPEATED_ENUM"!==a.type))},q5a=function(a){a&1&&(F(0,"div",28)(1,"div",29),O(2,b5a,
2,1,"div",30),O(3,d5a,1,2,"ng-template",null,31,gg),O(5,f5a,1,2,"ng-template",null,32,gg),O(7,h5a,1,2,"ng-template",null,33,gg),O(9,m5a,2,2,"ng-template",null,34,gg),H(),O(11,n5a,1,0,"b-icon",35),O(12,p5a,1,1,"ng-template",null,36,gg),I(14,"div",37),H());if(a&2){var b=Kf(4),c=Kf(13);a=N().$index;var d=N();z(2);E("ngIf","CHANGELISTS"===d.type)("ngIfElse",b);z(9);E("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)}},r5a=function(a,b){a&1&&O(0,q5a,15,4,"div",27);a&2&&(a=b.$index,b=N(),E("ngIf",b.showingAll||a<b.defaultLineCount||!!b.values&&b.values.length===b.defaultLineCount+1))},s5a=function(a){if(a&1){var b=u();F(0,"div",55,56);L("click",function(c){w(b);var d=N(2);return y(Dp(d,!1,c))})("keydown.enter",function(c){w(b);var d=N(2);return y(Dp(d,!1,c))})("keydown.space",function(c){w(b);var d=N(2);return y(Dp(d,!1,c))});P(2," (show fewer) ");H()}a&2&&(a=N(2),rf("aria-label","Show at most ",a.defaultLineCount,
" ",a.title," items"),Hf("matTooltip","Show a truncated list of at most ",a.defaultLineCount," items"))},t5a=function(a){if(a&1){var b=u();F(0,"div")(1,"div",57);P(2);F(3,"span",58,59);L("click",function(c){w(b);var d=N(2);return y(Dp(d,!0,c))})("keydown.enter",function(c){w(b);var d=N(2);return y(Dp(d,!0,c))})("keydown.space",function(c){w(b);var d=N(2);return y(Dp(d,!0,c))});P(5," (show all) ");H()()()}a&2&&(a=N(2),z(2),Lf(" ... and ",a.values.length-a.defaultLineCount," more "),z(1),rf("aria-label",
"Show all ",null==a.values?null:a.values.length," ",a.title," items"),Hf("matTooltip","Show all ",null==a.values?null:a.values.length," items in the list"))},u5a=function(a){a&1&&(O(0,s5a,3,3,"div",54),O(1,t5a,6,4,"div",3));a&2&&(a=N(),E("ngIf",a.showingAll&&!!a.values&&a.values.length>a.defaultLineCount+1),z(1),E("ngIf",!a.showingAll&&!!a.values&&a.values.length>a.defaultLineCount+1))},v5a=function(a,b){if(a&1){var c=u();F(0,"button",61);L("click",function(d){var e=w(c).$implicit,g=N(2);e=e.value;
g.enumPendingValues.has(e)?g.enumPendingValues.delete(e):g.enumPendingValues.add(e);null==d||d.stopPropagation();return y()});F(1,"span",62);I(2,"mat-icon",63);H();P(3);H()}a&2&&(a=b.$implicit,b=N(2),xf("b-menu-item-checked",b.enumPendingValues.has(a.value)),E("disabled",b.listFieldDisabled),of("aria-label",a.displayText),z(3),Lf(" ",a.displayText," "))},w5a=function(a){a&1&&O(0,v5a,4,5,"button",60);a&2&&(a=N(),E("ngForOf",a.sortedEnumChoices)("ngForTrackBy",a.trackByIndex))},x5a=function(a){a&1&&
I(0,"input",73);a&2&&(a=N(2),qf("aria-label","Addition to ",a.title,""),E("bContactAutocomplete","MULTI"))},y5a=function(a){a&1&&I(0,"input",74);a&2&&(a=N(2),qf("aria-label","Addition to ",a.title,""),E("type","REPEATED_NUMERIC"===a.type?"number":"text"))},z5a=function(a){a&1&&(F(0,"mat-error"),P(1),H());a&2&&(a=N(2),rf("aria-label","",a.title," error: ",a.invalidMessage,""),z(1),Lf(" ",a.invalidMessage," "))},C5a=function(a){if(a&1){var b=u();F(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,
"form",64,65);L("ngSubmit",function(){w(b);var d=Kf(3),e=Kf(4),g=N();return y(A5a(g,d,e))});O(5,x5a,1,2,"input",66);O(6,y5a,1,2,"input",67);F(7,"div",68)(8,"button",69);I(9,"mat-icon",70);H();F(10,"button",71);L("click",function(){w(b);var d=N();return y(B5a(d,!0))});I(11,"mat-icon",72);H()();O(12,z5a,2,3,"mat-error",3);H()()()}if(a&2){var c=Kf(3);a=N();z(5);E("ngIf",a.isUser);z(1);E("ngIf",!a.isUser);z(2);qf("aria-label","Apply addition to ",a.title,"");E("disabled",!c.valid||a.listFieldDisabled);
z(2);qf("aria-label","Discard addition to ",a.title,"");z(2);E("ngIf",a.invalidMessage)}},D5a=function(a){if(a&1){var b=u();F(0,"b-date-time-picker-content",75);L("dateChange",function(c){w(b);var d=N();return y(c&&d.addItems(c))})("cancelClicked",function(){w(b);var c=N();return y(B5a(c,!1))});H()}a&2&&E("required",!0)("renderPanel",!1)},Ep=function(a,b){return{originX:a,originY:b}},Fp=function(a,b){return{overlayX:a,overlayY:b}},E5a=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}},F5a=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},I5a=function(a){if(a&1){var b=u();
F(0,"b-edit-field",3);L("valueChange",function(e){w(b);var g=N(2);return y(g.save.emit(e))});H()}if(a&2){a=N().ngIf;var c=N(),d;E("readonly",c.readonly)("name","customField"+c.field.customFieldId)("title",c.field.name)("type",c.field.type)("tooltip",c.getTooltip())("clearable",!c.field.required)("value",G5a(c))("displayValueOverride",c.getDisplayValue())("choices",null!==(d=a.choices)&&void 0!==d?d:Qf(11,H5a))("showEnumTitle",!0)("disabled",c.disabled)}},K5a=function(a){if(a&1){var b=u();F(0,"b-list-field",
4);L("valuesChange",function(d){w(b);var e=N(2);return y(e.save.emit(d.values))});H()}if(a&2){a=N().ngIf;var c=N();E("readonly",c.readonly)("defaultLineCount",3)("title",c.field.name)("type",c.field.type)("tooltip",c.getTooltip())("values",J5a(c))("displayValuesOverride",a.displayValues)("enumChoices",a.choices)("listFieldDisabled",c.disabled)}},L5a=function(a,b){a&1&&(J(0),O(1,I5a,1,12,"b-edit-field",1),O(2,K5a,1,9,"b-list-field",2),K());a&2&&(a=b.ngIf,z(1),E("ngIf",!a.isRepeated()),z(1),E("ngIf",
a.isRepeated()))},M5a=function(a){a&1&&(F(0,"div"),P(1," Loading custom fields... "),H())},N5a=function(a){a&1&&(F(0,"div"),P(1),H());a&2&&(a=N(2),z(1),Lf(" There are no custom fields in component ",a.selectedComponent.name,". "))},O5a=function(a,b){a&1&&(F(0,"mat-option",9),P(1),H());a&2&&(a=b.$implicit,E("value",a),z(1),Lf(" ",a.name," "))},P5a=function(a){if(a&1){var b=u();F(0,"div")(1,"mat-form-field",6)(2,"mat-label");P(3,"Custom field");H();F(4,"mat-select",7);L("selectionChange",function(c){w(b);
var d=N(2);return y(d.fieldSelected.emit(c.value))});O(5,O5a,2,2,"mat-option",8);H()()()}a&2&&(a=N(2),z(5),E("ngForOf",a.customFields))},Q5a=function(a){a&1&&(F(0,"div",4),O(1,M5a,2,0,"div",5),O(2,N5a,2,1,"div",5),O(3,P5a,6,1,"div",5),H());a&2&&(a=N(),z(1),E("ngIf",null==a.customFields),z(1),E("ngIf",a.customFields&&!a.customFields.length),z(1),E("ngIf",null==a.customFields?null:a.customFields.length))},R5a=function(a){a&1&&Cf(0)},S5a=function(){},T5a=function(a){a&1&&(J(0),P(1),K());a&2&&(a=N().value,
z(1),Mf(a.textValue))},U5a=function(a){a&1&&(J(0),I(1,"b-formatted-date-time",5),K());if(a&2){a=N().value;var b=N();z(1);E("date",b.toDate(a.dateValue))}},V5a=function(a){a&1&&(J(0),P(1),K());a&2&&(a=N().value,z(1),Mf(a.enumValue))},W5a=function(a){a&1&&(J(0),P(1),K());a&2&&(a=N().value,z(1),Mf(a.numericValue))},X5a=function(a,b){a&1&&(J(0),P(1),K());a&2&&(a=b.$implicit,b=b.last,z(1),Nf("",a,"",b?"":", ",""))},Y5a=function(a){a&1&&(J(0),O(1,X5a,2,2,"ng-container",6),K());a&2&&(a=N().value,z(1),E("ngForOf",
a.repeatedTextValue.values))},Z5a=function(a,b){a&1&&(J(0),I(1,"b-formatted-date-time",5),P(2),K());if(a&2){a=b.$implicit;b=b.last;var c=N(3);z(1);E("date",c.toDate(a));z(1);Mf(b?"":", ")}},$5a=function(a){a&1&&(J(0),O(1,Z5a,3,2,"ng-container",6),K());a&2&&(a=N().value,z(1),E("ngForOf",a.repeatedDateValue.values))},a6a=function(a,b){a&1&&(J(0),P(1),K());a&2&&(a=b.$implicit,b=b.last,z(1),Nf("",a,"",b?"":", ",""))},b6a=function(a){a&1&&(J(0),O(1,a6a,2,2,"ng-container",6),K());a&2&&(a=N().value,z(1),
E("ngForOf",a.repeatedEnumValue.values))},c6a=function(a,b){a&1&&(J(0),P(1),K());a&2&&(a=b.$implicit,b=b.last,z(1),Nf("",a,"",b?"":", ",""))},d6a=function(a){a&1&&(J(0),O(1,c6a,2,2,"ng-container",6),K());a&2&&(a=N().value,z(1),E("ngForOf",a.repeatedNumericValue.values))},e6a=function(a,b){a&1&&(O(0,T5a,2,1,"ng-container",4),O(1,U5a,2,1,"ng-container",4),O(2,V5a,2,1,"ng-container",4),O(3,W5a,2,1,"ng-container",4),O(4,Y5a,2,1,"ng-container",4),O(5,$5a,2,1,"ng-container",4),O(6,b6a,2,1,"ng-container",
4),O(7,d6a,2,1,"ng-container",4));a&2&&(a=b.value,b=N(),E("ngIf",null!=a.textValue),z(1),E("ngIf",b.isNonemptyJsonDateValue(a.dateValue)),z(1),E("ngIf",null!=a.enumValue),z(1),E("ngIf",null!=a.numericValue),z(1),E("ngIf",null!=a.repeatedTextValue),z(1),E("ngIf",null!=a.repeatedDateValue),z(1),E("ngIf",null!=a.repeatedEnumValue),z(1),E("ngIf",null!=a.repeatedNumericValue))},Gp=function(a){var b=void 0===b?f6a:b;var c=xa(a),d=function(e){e=k(e);e.next();e=Fe(e);return b(c,e)};return function(){var e=
Zc.apply(0,arguments),g=this||ba,h=g6a.get(g);h||(h={},g6a.set(g,h));g=h;h=[this].concat(cd(e));e=d?d(h):h;if(Object.prototype.hasOwnProperty.call(g,e))g=g[e];else{var l=k(h);h=l.next().value;l=Fe(l);h=a.apply(h,l);g=g[e]=h}return g}},Hp=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},Ip=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase())return a[c]},h6a=function(a,
b){for(var c in a)if(c.toLowerCase()===b.toLowerCase()){delete a[c];break}},j6a=function(a){a=dc(a);for(var b=0;b<i6a.length;++b){var c=i6a[b],d=Ip(a,c);d&&(a["X-Goog-Upload-Header-"+c]=d,h6a(a,c))}return a},k6a=function(a){a=dc(a);h6a(a,"X-Goog-Upload-Status");return a},m6a=function(a){if(a&1){var b=u();F(0,"button",3);L("fileSelected",function(c){w(b);var d=N();return y(l6a(d,c))});I(1,"mat-icon",4);H()}a&2&&(a=N(),E("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",
a.disabled))},n6a=function(a){if(a&1){var b=u();F(0,"button",5);L("fileSelected",function(c){w(b);var d=N();return y(l6a(d,c))});I(1,"mat-icon",4);P(2," Add attachments ");H()}a&2&&(a=N(),E("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},o6a=function(a){a&1&&(F(0,"span"),P(1),R(2,"humanFileSize"),R(3,"humanFileSize"),H());if(a&2){a=N().$implicit;var b;z(1);Nf(" ",S(2,2,a.transferredBytes)," of ",S(3,4,null!==(b=a.size)&&void 0!==b?b:0)," ")}},
p6a=function(a){a&1&&(F(0,"span",11),P(1),H());a&2&&(a=N().$implicit,z(1),Lf(" ",a.errorMessage," "))},q6a=function(a){a&1&&(F(0,"span",11),P(1),R(2,"humanFileSize"),H());if(a&2){a=N().$implicit;var b;z(1);Lf(" ",S(2,1,null!==(b=a.size)&&void 0!==b?b:0)," ")}},s6a=function(a,b){if(a&1){var c=u();F(0,"div",3)(1,"div",4);I(2,"mat-icon",5);F(3,"span",6);P(4);H();F(5,"span",7);O(6,o6a,4,6,"span",8);O(7,p6a,2,1,"span",9);O(8,q6a,3,3,"span",9);H()();F(9,"button",10);L("click",function(){var d=w(c).$implicit,
e=N(2);return y(e.cancel(d))});H()()}a&2&&(a=b.$implicit,b=N(2),E("ngClass",Rf(8,r6a,a.state===b.uploadStates.ERROR)),z(3),E("matTooltip",a.name),z(1),Mf(a.name),z(2),E("ngIf",a.state===b.uploadStates.UPLOADING),z(1),E("ngIf",a.state===b.uploadStates.ERROR),z(1),E("ngIf",a.state===b.uploadStates.COMPLETE),z(1),E("matTooltip",a.state===b.uploadStates.UPLOADING?"Cancel upload":"Remove attachment"),of("aria-label","Remove attachment"+a.name))},t6a=function(a){a&1&&(F(0,"div",1),O(1,s6a,10,10,"div",2),
H());a&2&&(a=N(),z(1),E("ngForOf",a.uploads))},u6a=function(a){this.action=a;this.wfv=!1},v6a=function(a,b){u6a.call(this,"set-drive-options");this.appId=a;this.appOrigin=b},w6a=function(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc},y6a=function(a,b){var c=b&&b.getWindow()||window;if(w6a(b))a();else if(x6a)x6a.push(a);else var d=x6a=[a],e=c.setInterval(function(){if(w6a(b)){c.clearInterval(e);for(var g=0;g<d.length;g++)d[g]();x6a=null}},100)},A6a=function(a,b){var c;a:{for(c=b.target;c;){if(1==
c.nodeType){var d=Jp(c,"overflowY");if("auto"==d||"scroll"==d)break a}c=c.parentNode}c=null}(!c||!z6a(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()},B6a=function(a){if(a&1){var b=u();F(0,"div",1);I(1,"mat-icon",2);F(2,"div",3);P(3," Comment and vote +1 on this issue to increase visibility ");H();F(4,"div",4)(5,"button",5);L("click",function(){w(b);var c=N();return y(c.onClick())});P(6,"Comment and vote +1");
H()()()}a&2&&(z(1),E("matTooltip","The +1 button is located in the top right corner of the issue details page"))},C6a=function(a){if(a&1){var b=u();J(0);F(1,"b-plus-one-comment-callout",7);L("onSubmitComment",function(){w(b);N().onSubmit.emit();return y()});H();K()}a&2&&(a=N(),z(1),E("isPlusOneText","+1"===a.comment.value.trim()))},D6a=function(a){if(a&1){var b=u();F(0,"b-drive-attachment",12);L("onPickDoc",function(c){w(b);var d=N(2);d.comment&&(d.comment.value+="\n\n"+c.url+" ("+c.name+")");return y()})("onCloneBlob",
function(c){w(b);var d=N(2);return y(d.addUpload(c))});H()}a&2&&(a=N(2),E("disabled",a.attachmentsDisabled))},E6a=function(a){if(a&1){var b=u();J(0);F(1,"button",16);L("click",function(){w(b);var c=N(3);return y(c.onRestrict.emit())});I(2,"mat-icon",17);H();K()}a&2&&(a=N(3),z(1),E("disabled",a.attachmentsDisabled))},F6a=function(a){if(a&1){var b=u();F(0,"button",18);L("click",function(){w(b);var c=N(3);return y(c.onRestrict.emit())});I(1,"mat-icon",17);P(2);H()}a&2&&(a=N(3),z(2),Lf(" ",a.getRestrictedLabel(),
" "))},G6a=function(a){a&1&&(F(0,"div",13),O(1,E6a,3,1,"ng-container",14),O(2,F6a,3,1,"ng-template",null,15,gg),H());if(a&2){var b=Kf(3);a=N(2);z(1);E("ngIf",!a.isRestricted())("ngIfElse",b)}},H6a=function(a){if(a&1){var b=u();F(0,"div",8);Gf(1,1,["class","goog-inline-block"]);F(2,"b-attachment-selector",9);L("onSelect",function(d){w(b);var e=N();return y(e.uploadFile(d))});H();O(3,D6a,1,1,"b-drive-attachment",10);R(4,"async");O(5,G6a,4,2,"div",11);H()}if(a&2){a=N();var c;z(2);E("disabled",a.attachmentsDisabled);
z(1);E("ngIf",!(null!==(c=S(4,3,a.currentTracker.inTracker$))&&void 0!==c&&c));z(2);E("ngIf",a.showRestrictionOptions)}},I6a=function(a){a&1&&(F(0,"div"),I(1,"b-live-preview",19),H());a&2&&(a=N(),z(1),E("comment",a.comment.value)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.comment.formattingMode))},K6a=function(a,b){if(a&1){var c=u();F(0,"button",13);L("click",function(){var d=w(c).$implicit,e=N(3);return y(J6a(e.issueEditBuilder,d))});P(1);H()}a&2&&(a=b.$implicit,b=N(3),E("disabled",
b.issueEditBuilder.issueState==a),z(1),Lf(" ",a.displayValue," "))},L6a=function(a){if(a&1){var b=u();F(0,"div",27)(1,"span");P(2,"Multiple");H();F(3,"a",28);L("click",function(){w(b);var c=N(4);return y(c.issueEditBuilder.clearAssignee())});P(4,"X");H()()}},M6a=function(a){if(a&1){var b=u();F(0,"div",27)(1,"span");P(2,"Possibly multiple");H();F(3,"a",28);L("click",function(){w(b);var c=N(4);return y(c.issueEditBuilder.clearAssignee())});P(4,"X");H()()}},O6a=function(a){if(a&1){var b=u();F(0,"div")(1,
"input",29);L("ngModelChange",function(c){w(b);var d=N(4);return y(d.issueEditBuilder.commonAssignee=c)})("ngModelChange",function(){w(b);var c=N(4);return y(N6a(c.issueEditBuilder))});H()()}a&2&&(a=N(4),z(1),E("ngModel",a.issueEditBuilder.commonAssignee)("bContactAutocomplete","SINGLE"),of("cdkFocusInitial",a.focus===a.FocusableField.ASSIGNEE||null))},P6a=function(a){if(a&1){var b=u();F(0,"div",27)(1,"span");P(2);H();F(3,"a",30);L("click",function(){w(b);var c=N(4);return y(c.issueEditBuilder.clearVerifier())});
P(4,"X");H()()}a&2&&(a=N(4),xf("bv2-invalid-multiple-user-chip",!Kp(a.issueEditBuilder)),z(2),Lf(" Multiple ",Kp(a.issueEditBuilder)?"":"(some unset)"," "))},Q6a=function(a){if(a&1){var b=u();F(0,"div",27)(1,"span");P(2);H();F(3,"a",30);L("click",function(){w(b);var c=N(4);return y(c.issueEditBuilder.clearVerifier())});P(4,"X");H()()}a&2&&(a=N(4),xf("bv2-invalid-multiple-user-chip",!Kp(a.issueEditBuilder)),z(2),Lf(" Possibly multiple ",Kp(a.issueEditBuilder)?"":"(some unset)"," "))},R6a=function(a){if(a&
1){var b=u();F(0,"div")(1,"input",31);L("ngModelChange",function(c){w(b);var d=N(4);return y(d.issueEditBuilder.commonVerifier=c)});H()()}a&2&&(a=N(4),z(1),E("ngModel",a.issueEditBuilder.commonVerifier)("required","VERIFIED"==(null==a.issueEditBuilder.issueState?null:a.issueEditBuilder.issueState.status))("bContactAutocomplete","SINGLE"),of("cdkFocusInitial",a.focus===a.FocusableField.VERIFIER||null))},S6a=function(a){a&1&&(F(0,"div")(1,"div",21)(2,"label",22),P(3," Assignee "),H(),F(4,"div",15),
O(5,L6a,5,0,"div",23),O(6,M6a,5,0,"div",23),O(7,O6a,2,3,"div",24),H()(),F(8,"div",21)(9,"label",25),P(10," Verifier "),H(),F(11,"div",15),O(12,P6a,5,3,"div",26),O(13,Q6a,5,3,"div",26),O(14,R6a,2,4,"div",24),H()()());a&2&&(a=N(3),z(4),E("ngSwitch",a.issueEditBuilder.selectedAssigneesStatus),z(1),E("ngSwitchCase","MULTIPLE"),z(1),E("ngSwitchCase","POSSIBLY_MULTIPLE"),z(5),E("ngSwitch",a.issueEditBuilder.selectedVerifiersStatus),z(1),E("ngSwitchCase","MULTIPLE"),z(1),E("ngSwitchCase","POSSIBLY_MULTIPLE"))},
T6a=function(a){if(a&1){var b=u();F(0,"div",21)(1,"label",32);P(2," Issue ID ");H();F(3,"input",33);L("ngModelChange",function(c){w(b);var d=N(3);return y(d.issueEditBuilder.commonDuplicateOf=c.trim())});H()()}a&2&&(a=N(3),z(3),E("ngModel",a.issueEditBuilder.commonDuplicateOf),of("cdkFocusInitial",a.focus===a.FocusableField.DUPE_ID||null))},U6a=function(a,b){a&1&&(F(0,"li"),P(1),I(2,"b-access-level-indicator",36),H());a&2&&(a=b.$implicit,z(1),Lf(" ",a.path," "),z(1),E("accessLevel",a.accessLevel))},
V6a=function(a){a&1&&(F(0,"div",34)(1,"div")(2,"strong"),P(3,"You are editing issues in components that have external viewers:"),H()(),F(4,"ul"),O(5,U6a,3,2,"li",35),H()());a&2&&(a=N(3),z(5),E("ngForOf",a.externalWarnings))},W6a=function(a){if(a&1){var b=u();F(0,"div",9)(1,"button",10)(2,"span");P(3);H();I(4,"b-icon",11);H();F(5,"mat-menu",null,12)(7,"button",13);L("click",function(){w(b);var d=N(2);return y(d.issueEditBuilder.issueState=void 0)});P(8,"No change ");H();O(9,K6a,2,2,"button",14);H();
F(10,"div",15);O(11,S6a,15,6,"div",16);O(12,T6a,4,2,"div",17);H();F(13,"div")(14,"b-comment-box",18);L("onSubmit",function(){w(b);var d;null==(d=N(2).matDialogRef)||d.close(!0);return y()});H()();I(15,"div",19);O(16,V6a,6,1,"div",20);H()}if(a&2){var c=Kf(6);a=N(2);z(1);E("matMenuTriggerFor",c);z(2);Mf(a.issueEditBuilder.issueState?a.issueEditBuilder.issueState.displayValue:"No change");z(4);E("disabled",!a.issueEditBuilder.issueState);z(2);E("ngForOf",a.issueStates);z(1);E("ngSwitch",!a.issueEditBuilder.issueState||
"DUPLICATE"!==a.issueEditBuilder.issueState.status);z(1);E("ngSwitchCase",!0);z(3);E("comment",a.comment)("showToolbar",!1);z(2);E("ngIf",0<a.externalWarnings.length)}},X6a=function(a){if(a&1){var b=u();F(0,"div",37)(1,"b-recaptcha",38);L("onUpdate",function(c){w(b);var d=N(2);return y(d.issueEditBuilder.recaptchaResponse=c)});H()()}},Z6a=function(a){a&1&&(F(0,"form",null,1)(2,"h1",2),P(3,"Change issue status"),H(),F(4,"div",3)(5,"span"),P(6,"Enter updated issue status information below"),H(),O(7,
W6a,17,9,"div",4),H(),O(8,X6a,2,0,"div",5),F(9,"div",6)(10,"button",7),P(11," Cancel "),H(),F(12,"button",8),P(13," Save "),H()()());if(a&2){var b=Kf(1);a=N();z(7);E("ngIf",a.issueEditBuilder);z(1);E("ngIf",a.issueEditBuilder&&a.enableRecaptcha);z(2);E("mat-dialog-close",!1);z(2);var c=E("mat-dialog-close",!0),d;if(!(d=b.invalid))a:{if(null!=a.issueEditBuilder){d=Y6a(a.issueEditBuilder);var e=d.get("status");if("DUPLICATE"===e){d=!d.get("duplicateOfIssueId");break a}if("VERIFIED"===e){d=!Kp(a.issueEditBuilder)&&
!d.get("verifier");break a}}d=!1}c("disabled",d||!(!a.enableRecaptcha||""!==a.issueEditBuilder.recaptchaResponse))}},Lp=function(a){var b;a=null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel;return"EXTERNAL_PARTNER"===a||"EXTERNAL_PUBLIC"===a},$6a=function(a){var b;return"EXTERNAL_PARTNER"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},Mp=function(a){var b;return"EXTERNAL_PUBLIC"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},a7a=function(a,b){return a?
a.join(" > "):String(b)},b7a=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""}},c7a=function(a){a&1&&(F(0,"div")(1,"p"),P(2),H()());a&2&&(a=N(),z(2),Nf(" Checking if you have permissions to mark these issues as spam. Checked ",
a.issuesChecked," of ",a.issuesToFlag.length,"... "))},d7a=function(a,b){a&1&&(F(0,"li"),P(1),H());a&2&&(a=b.$implicit,z(1),Nf(" ",a.issueId," - ",a.title," "))},e7a=function(a){a&1&&(F(0,"div")(1,"p"),P(2),H(),F(3,"ul"),O(4,d7a,2,2,"li",9),H()());a&2&&(a=N(),z(2),Lf(" You do not have permissions to mark ",a.protectedIssues.length," issues. These will not be flagged as spam. "),z(2),E("ngForOf",a.protectedIssues))},f7a=function(a){if(a&1){var b=u();F(0,"mat-dialog-content")(1,"mat-form-field")(2,
"mat-label");P(3);H();F(4,"input",5);L("ngModelChange",function(c){w(b);var d=N();return y(d.numericEstimatedEffort=c)})("keypress",function(c){w(b);var d=N();return y(/^(\d*\.)?\d*$/.test(d.numericEstimatedEffort+c.key))});H()()()}a&2&&(a=N(),z(3),Lf(" ",a.effortSpecName," "),z(1),E("ngModel",a.numericEstimatedEffort))},g7a=function(a){if(a&1){var b=u();F(0,"div",6)(1,"label");P(2);H();F(3,"onedev-single-select",7);L("valueChange",function(c){w(b);var d=N();return y(d.currentEnumLabel=c)});H()()}a&
2&&(a=N(),z(2),Lf(" ",a.effortSpecName," "),z(1),E("value",a.currentEnumLabel)("includeEmptyOption",!0)("options",a.allowedLabels))},l7a=function(a,b){if(a&1){var c=u();F(0,"div",18,19);L("click",function(){var e=w(c).$implicit,g=N(2);h7a(g,e)||Np(g,e);return y()});F(2,"mat-pseudo-checkbox",20);L("click",function(e){var g=w(c).$implicit,h=N(2);e.stopPropagation();return y(i7a(h,g))});H();F(3,"span");P(4);H()()}if(a&2){a=b.$implicit;b=b.index;var d=N(2);wf("display",d.shouldShowHotlist[a.hotlistId]?
"block":"none");xf("focused",b===d.focusedRowIndex);If("title",a.name);of("id","hotlist-item-"+a.hotlistId)("aria-checked",j7a(d.selectedHotlistMap[a.hotlistId]))("aria-disabled",h7a(d,a));z(2);E("state",k7a(d.selectedHotlistMap[a.hotlistId]))("disabled",h7a(d,a));z(2);Lf(" ",a.name," ")}},m7a=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N(2),z(1),Lf(" (",a.filterText,")"))},n7a=function(a){if(a&1){var b=u();F(0,"div",21,22);L("click",function(){w(b);var c=N(2);return y(c.loadHotlist())})("keydown.enter",
function(){w(b);var c=N(2);return y(c.loadHotlist())});P(2,"Load hotlist from id ");F(3,"span");P(4);H()()}a&2&&(a=N(2),xf("focused",a.focusedRowIndex===a.choices.length+1),of("aria-label","Load hotlist from"+a.filterText),z(4),Lf("(",a.filterText,")"))},p7a=function(a){if(a&1){var b=u();F(0,"div",23,24);L("click",function(){w(b);var c=N(2);return y(o7a(c))})("keydown.enter",function(){w(b);var c=N(2);return y(o7a(c))});P(2,"Apply");H()}a&2&&(a=N(2),xf("focused",a.focusedRowIndex===a.choices.length+
2))},q7a=function(a){if(a&1){var b=u();F(0,"div",5)(1,"div",10,11);O(3,l7a,5,11,"div",12);H()();I(4,"mat-divider");F(5,"div",13,14);L("click",function(){w(b);var c=N();return y(c.createHotlist())})("keydown.enter",function(){w(b);var c=N();return y(c.createHotlist())});P(7,"Create new hotlist ");O(8,m7a,2,1,"span",15);H();O(9,n7a,5,4,"div",16);O(10,p7a,3,2,"div",17)}a&2&&(a=N(),z(3),E("ngForOf",a.choices),z(2),xf("focused",a.focusedRowIndex===a.choices.length),E("disabled",!a.canCreate),of("aria-label",
"Create new hotlist"+a.filterText),z(3),E("ngIf",!!a.filterText),z(1),E("ngIf",a.canLoad),z(1),E("ngIf",a.pendingChanges))},s7a=function(a){if(a&1){var b=u();F(0,"b-app-bar-bulk-edit-menus",6);L("onBulkEdit",function(d){w(b);var e=N();return y(e.bulkEdit(d))})("onQuickBulkEdit",function(d){w(b);var e=N();return y(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){w(b);var e=N();return y(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){w(b);var d=N();return y(d.bulkMarkIssueRead())});
R(1,"async");H()}if(a&2){a=N();var c;E("readStatePrompt",r7a(a))("enableBulkEstimatedEffortOption",null!==(c=S(1,2,a.enableBulkEstimatedEffortOption$))&&void 0!==c?c:!1)}},w7a=function(a){if(a&1){var b=u();F(0,"b-copy-issue-id-button",7);L("onClickCopyIssueIds",function(){w(b);var c=N();return y(t7a(c.copyIssueIdService,Op(c)))})("onClickCopyIssueShortLinks",function(){w(b);var c=N();return y(u7a(c.copyIssueIdService,Op(c)))})("onClickCopyAsIssueSearch",function(){w(b);var c=N();return y(v7a(c.copyIssueIdService,
Op(c)))});H()}a&2&&(a=N(),E("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},x7a=function(a){if(a&1){var b=u();F(0,"div",8)(1,"b-hotlist-picker",9);L("onApply",function(c){w(b);var d=N();return y(d.handleHotlistPickerSave(c))})("onCreate",function(c){w(b);var d=N();return y(d.onCreateHotlist.emit(c))})("onLoad",function(c){w(b);var d=N();return y(d.onLoadHotlist.emit(c))});H()()}a&2&&(a=N(),z(1),E("selectedHotlistIds",a.hotlistIdMatrix)("choices",
a.hotlistChoices))},z7a=function(a){if(a&1){var b=u();F(0,"b-comment-box",16);L("commentChange",function(c){w(b);var d=N(2);return y(d.comment=c)})("onSubmit",function(){w(b);var c=N(2);return y(y7a(c))});H()}a&2&&(a=N(2),E("comment",a.comment)("showToolbar",!1))},A7a=function(a,b){a&1&&(F(0,"li"),P(1),I(2,"b-access-level-indicator",19),H());a&2&&(a=b.$implicit,z(1),Lf(" ",a.path," "),z(1),E("accessLevel",a.accessLevel))},B7a=function(a){a&1&&(F(0,"div",17)(1,"div")(2,"strong"),P(3,"You are commenting on issues in components that have external viewers:"),
H()(),F(4,"ul"),O(5,A7a,3,2,"li",18),H()());a&2&&(a=N(2),z(5),E("ngForOf",a.externalWarnings))},C7a=function(a){if(a&1){var b=u();F(0,"div",20)(1,"b-recaptcha",21);L("onUpdate",function(c){w(b);var d=N(2);return y(d.recaptchaResponse=c)});H()()}},D7a=function(a){a&1&&(F(0,"h1",10),P(1,"Add comment"),H(),F(2,"mat-dialog-content"),O(3,z7a,1,2,"b-comment-box",11),O(4,B7a,6,1,"div",12),H(),O(5,C7a,2,0,"div",13),F(6,"mat-dialog-actions")(7,"button",14),P(8," Cancel "),H(),F(9,"button",15),P(10," Save "),
H()());a&2&&(a=N(),z(3),E("ngIf",a.comment),z(1),E("ngIf",0<a.externalWarnings.length),z(1),E("ngIf",a.enableRecaptcha),z(2),E("mat-dialog-close",!1),z(2),E("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",!0))},F7a=function(a){for(var b=k(E7a),c=b.next();!c.done;c=b.next())if(c=c.value,c.accessLevel===a)return c.title;return Pp.title},G7a=function(a){a&1&&I(0,"mat-icon",10);a&2&&(a=N(),E("matTooltip",a.disabledDropdownTooltip))},H7a=function(a,b){if(a&1){var c=u();F(0,"button",
11);L("click",function(){var d=w(c).$implicit,e=N();e.selectedDisplay$.next(d);e.updatedAccessLimitLevel.emit(d.accessLevel);return y()});F(1,"div",12);I(2,"mat-icon",13);F(3,"span",14);P(4);H()();F(5,"div",15);P(6);H()()}a&2&&(a=b.$implicit,b=N(),z(2),E("svgIcon",a.icon),z(2),Lf(" ",a.title," "),z(2),Lf(" ",b.implicitAccessEnabled?a.descriptionWithExpandedAccess:a.descriptionNoExpandedAccess," "))},I7a=function(a){a&1&&(F(0,"span"),P(1,"Edit"),H())},J7a=function(a){a&1&&(F(0,"span"),P(1,"Cancel"),
H())},P7a=function(a){if(a&1){var b=u();J(0);F(1,"td")(2,"div")(3,"div",11);P(4);H();F(5,"div",12)(6,"a",13);P(7);H()()()();F(8,"td",3)(9,"mat-radio-button",14);L("change",function(d){w(b);var e=N(2);return y(K7a(e,d.value))});H()();F(10,"td",3)(11,"b-button",15);L("onAction",function(){w(b);var d=N().$implicit,e=N();return y(L7a(e,d))});O(12,I7a,2,0,"span",9);O(13,J7a,2,0,"span",9);H()();F(14,"td",3)(15,"b-button",16);L("onAction",function(){w(b);var d=N().$implicit,e=N();return y(M7a(e,d))});P(16,
" Delete ");H()();K()}if(a&2){a=N().$implicit;var c=N();z(3);xf("selected",N7a(c,a));z(1);Lf(" ",a.name," ");z(2);E("href",O7a(c,a),Ud);of("aria-label",a.name+"- Click to create a new issue");z(1);Lf(" ",O7a(c,a)," ");z(2);Hf("id","template-default-radio-",a.index,"");E("checked",c.defaultIndex===a.index)("aria-label","Make template "+a.name+" as default template")("value",a.index);z(2);E("bAriaLabel",N7a(c,a)?"Cancel editing "+a.name:"Edit "+a.name);z(1);E("ngIf",!N7a(c,a));z(1);E("ngIf",N7a(c,a));
z(2);E("bAriaLabel","Delete "+a.name)("disabled",!(0<=a.index&&!c.templates[a.index].default))}},Q7a=function(a){a&1&&(F(0,"h2",70),P(1," Create Template "),H())},R7a=function(a){a&1&&(F(0,"h2",70),P(1),H());a&2&&(a=N(2).$implicit,z(1),Nf(' Edit template "',a.name,'" ',a.editableTemplate.isDirty()?"(changed)":""," "))},T7a=function(a,b){if(a&1){var c=u();F(0,"button",71);L("click",function(){var e=w(c).$implicit,g=N(2).$implicit,h=N();g.issueType=e.value;return y(S7a(h))});P(1);H()}if(a&2){a=b.$implicit;
b=N(2).$implicit;var d;E("disabled",b.issueType===a.value)("matTooltip",null!==(d=a.altText)&&void 0!==d?d:"");z(1);Lf(" ",a.displayText," ")}},U7a=function(a,b){if(a&1){var c=u();F(0,"button",72);L("click",function(){var d=w(c).$implicit,e=N(2).$implicit;e.editableTemplate.priority=d.value;e.editableTemplate.dirty=!0;return y()});P(1);H()}a&2&&(a=b.$implicit,b=N(2).$implicit,E("disabled",b.editableTemplate.priority===a.value),z(1),Lf(" ",a.displayText," "))},V7a=function(a,b){if(a&1){var c=u();F(0,
"button",72);L("click",function(){var d=w(c).$implicit,e=N(2).$implicit;e.editableTemplate.severity=d.value;e.editableTemplate.dirty=!0;return y()});P(1);H()}a&2&&(a=b.$implicit,b=N(2).$implicit,E("disabled",b.editableTemplate.severity===a.value),z(1),Lf(" ",a.displayText," "))},W7a=function(a,b){if(a&1){var c=u();F(0,"div",73)(1,"b-hotlist-chip",74);L("removeHotlist",function(){var d=w(c).$implicit,e=N(3);return y(e.removeHotlist(d.hotlistId))});H()()}a&2&&(a=b.$implicit,z(1),E("hotlist",a))},X7a=
function(a){a&1&&(F(0,"h3"),P(1,"Custom issue fields"),H())},Y7a=function(a){if(a&1){var b=u();F(0,"input",82);L("ngModelChange",function(d){w(b);var e=N().$implicit,g=N(2).$implicit;return y(g.editableTemplate.customFieldValues[e.id].textValue=d)})("ngModelChange",function(){w(b);N(3).$implicit.editableTemplate.dirty=!0;return y()});H()}if(a&2){a=N().$implicit;var c=N(2).$implicit;qf("id","template-cf-",a.id,"");E("ngModel",c.editableTemplate.customFieldValues[a.id].textValue)}},Z7a=function(a){if(a&
1){var b=u();F(0,"input",83);L("ngModelChange",function(d){w(b);var e=N().$implicit,g=N(2).$implicit;return y(g.editableTemplate.customFieldValues[e.id].numericValue=d)})("ngModelChange",function(){w(b);N(3).$implicit.editableTemplate.dirty=!0;return y()});H()}if(a&2){a=N().$implicit;var c=N(2).$implicit;qf("id","template-cf-",a.id,"");E("ngModel",c.editableTemplate.customFieldValues[a.id].numericValue)}},a8a=function(a){if(a&1){var b=u();F(0,"b-edit-field",84);L("valueChange",function(h){w(b);var l=
N().$implicit,q=N(2).$implicit,v=N();return y(v.setCustomField(q,l.id,h))});H()}if(a&2){a=N().$implicit;var c=N(2).$implicit,d=N(),e,g;qf("id","template-cf-",a.id,"");E("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!==(g=a.enumFields)&&void 0!==g?g:Qf(6,$7a))}},b8a=function(a){if(a&1){var b=u();F(0,"bv2-input-date-picker",85);L("boundValueChange",
function(e){w(b);var g=N().$implicit,h=N(2).$implicit,l=N();return y(h.editableTemplate.customFieldValues[g.id].dateValue=l.getDateValue(e))})("boundValueChange",function(){w(b);N(3).$implicit.editableTemplate.dirty=!0;return y()});H()}if(a&2){a=N().$implicit;var c=N(2).$implicit,d;qf("id","template-cf-",a.id,"");E("boundValue",null!==(d=c.editableTemplate.customFieldValues[a.id].dateValue)&&void 0!==d?d:void 0)}},d8a=function(a){if(a&1){var b=u();F(0,"b-list-field",86);L("valuesChange",function(e){w(b);
var g=N().$implicit,h=N(2).$implicit,l=N();return y(l.setCustomField(h,g.id,e.values))});H()}if(a&2){a=N().$implicit;var c=N(2).$implicit,d=N();qf("id","template-cf-",a.id,"");E("defaultLineCount",2)("type",d.getListFieldType(a.type))("values",c8a(c.editableTemplate.customFieldValues[a.id]))("enumChoices",a.enumFields)("truncate",!0)}},e8a=function(a,b){a&1&&(F(0,"div")(1,"div",21)(2,"label",75),P(3),H()(),F(4,"div",76),O(5,Y7a,1,2,"input",77),O(6,Z7a,1,2,"input",78),O(7,a8a,1,7,"b-edit-field",79),
O(8,b8a,1,2,"bv2-input-date-picker",80),O(9,d8a,1,6,"b-list-field",81),H()());a&2&&(a=b.$implicit,Af("cell-",a.cellType,""),z(2),Hf("for","template-cf-",a.id,""),z(1),Nf("",a.name," (id=",a.id,")"),z(1),E("ngSwitch",a.type),z(1),E("ngSwitchCase","TEXT"),z(1),E("ngSwitchCase","NUMERIC"),z(1),E("ngSwitchCase","ENUM"),z(1),E("ngSwitchCase","DATE"))},j8a=function(a){if(a&1){var b=u();F(0,"td",17)(1,"div",18);O(2,Q7a,2,0,"h2",19);O(3,R7a,2,2,"h2",19);F(4,"div",20)(5,"div",21)(6,"label",22);P(7,"Template Name");
H()();F(8,"input",23);L("ngModelChange",function(h){w(b);var l=N().$implicit;return y(l.editableTemplate.name=h)})("ngModelChange",function(){w(b);N().$implicit.editableTemplate.dirty=!0;return y()});H()();F(9,"div",20)(10,"div",21)(11,"label",24);P(12,"Description of Template");H()();F(13,"input",25);L("ngModelChange",function(h){w(b);var l=N().$implicit;return y(l.editableTemplate.description=h)})("ngModelChange",function(){w(b);N().$implicit.editableTemplate.dirty=!0;return y()});H()();F(14,"div",
26)(15,"h3");P(16," Standard issue fields ");H();F(17,"div",20)(18,"div",21)(19,"label",27);P(20,"Issue Access Level");H()();F(21,"b-issue-access-limits-dropdown",28);L("updatedAccessLimitLevel",function(h){w(b);var l=N().$implicit;return y(l.editableTemplate.onAccessLimitLevelSelected(h))});H()();F(22,"div",20)(23,"div",21)(24,"label",29);P(25,"Title");H()();F(26,"input",30);L("ngModelChange",function(h){w(b);var l=N().$implicit;return y(l.editableTemplate.title=h)})("ngModelChange",function(){w(b);
N().$implicit.editableTemplate.dirty=!0;return y()});H()();F(27,"div",31)(28,"div",21)(29,"label",32);P(30,"Type");H()();F(31,"button",33)(32,"span");P(33);H();I(34,"b-icon",34);H();F(35,"mat-menu",35,36);O(37,T7a,2,3,"button",37);H()();F(38,"div",31)(39,"div",21)(40,"label",38);P(41,"Priority");H()();F(42,"button",39)(43,"span");P(44);H();I(45,"b-icon",34);H();F(46,"mat-menu",35,40);O(48,U7a,2,2,"button",41);H()();F(49,"div",31)(50,"div",21)(51,"label",42);P(52,"Severity");H()();F(53,"button",43)(54,
"span");P(55);H();I(56,"b-icon",34);H();F(57,"mat-menu",35,44);O(59,V7a,2,2,"button",41);H()();F(60,"div",45)(61,"div",21)(62,"label",46);P(63,"Default Hotlists");H()();F(64,"b-hotlist-picker",47);L("onApply",function(h){w(b);var l=N(2);return y(l.handleHotlistPickerSave(h))})("onCreate",function(h){w(b);var l=N(2);return y(l.createHotlist(h))})("onLoad",function(h){w(b);var l=N(2);return y(l.loadHotlist(h))});H();O(65,W7a,2,1,"div",48);H();I(66,"div",49);F(67,"div",50)(68,"div",21)(69,"label",51);
P(70,"Assignee");H()();F(71,"input",52);L("ngModelChange",function(h){w(b);var l=N().$implicit;return y(l.editableTemplate.assignee=h)})("ngModelChange",function(){w(b);N().$implicit.editableTemplate.dirty=!0;return y()});H()();F(72,"div",50)(73,"div",21)(74,"label",53);P(75,"Verifier");H()();F(76,"input",54);L("ngModelChange",function(h){w(b);var l=N().$implicit;return y(l.editableTemplate.verifier=h)})("ngModelChange",function(){w(b);N().$implicit.editableTemplate.dirty=!0;return y()});H()();F(77,
"div",20)(78,"div",21)(79,"label",55);P(80,"Collaborators");H();I(81,"mat-icon",56);H();F(82,"input",57);L("ngModelChange",function(h){w(b);var l=N().$implicit;return y(f8a(l.editableTemplate,h))});H()();F(83,"div",20)(84,"div",21)(85,"label",58);P(86,"CC");H()();F(87,"input",59);L("ngModelChange",function(h){w(b);var l=N().$implicit;return y(g8a(l.editableTemplate,h))});H()();F(88,"div",20)(89,"div",21)(90,"label",60);P(91,"Initial Comment");H()();F(92,"textarea",61);L("ngModelChange",function(h){w(b);
var l=N().$implicit;return y(l.editableTemplate.comment=h)})("ngModelChange",function(){w(b);N().$implicit.editableTemplate.dirty=!0;return y()});P(93,"              ");H();F(94,"b-markdown-toggle",62);L("change",function(h){w(b);var l=N().$implicit;return y(l.editableTemplate.setFormattingMode(h))});H()();F(95,"div",20)(96,"div",21)(97,"label",63);P(98,"In Prod");H()();F(99,"b-slide-toggle",64);L("modelChange",function(){w(b);var h=N().$implicit.editableTemplate;h.inProd=!h.inProd;h.dirty=!0;return y()});
H()()();F(100,"div",65);O(101,X7a,2,0,"h3",9);O(102,e8a,10,11,"div",66);H();F(103,"div",67)(104,"b-button",68);L("onAction",function(){w(b);var h=N(2);return y(h8a(h))});P(105," Save ");H();F(106,"b-button",69);L("onAction",function(){w(b);var h=N(2);return y(i8a(h))});P(107," Cancel ");H()()()()}if(a&2){var c=Kf(36),d=Kf(47),e=Kf(58);a=N().$implicit;var g=N();z(2);E("ngIf",a.editableTemplate.new);z(1);E("ngIf",!a.editableTemplate.new);z(5);E("ngModel",a.editableTemplate.name);z(5);E("ngModel",a.editableTemplate.description);
z(8);E("disabled",!1)("defaultAccessLimitLevel",a.editableTemplate.issueAccessLimitLevel)("implicitAccessEnabled",g.implicitAccessEnabled);z(5);E("ngModel",a.editableTemplate.title);z(5);E("matMenuTriggerFor",c);z(2);Mf(a.issueType);z(2);E("overlapTrigger",!0);z(2);E("ngForOf",g.issueTypeChoices);z(5);E("matMenuTriggerFor",d);z(2);Mf(a.editableTemplate.priority);z(2);E("overlapTrigger",!0);z(2);E("ngForOf",g.priorityChoices);z(5);E("matMenuTriggerFor",e);z(2);Mf(a.editableTemplate.severity);z(2);
E("overlapTrigger",!0);z(2);E("ngForOf",g.severityChoices);z(5);E("selectedHotlistIds",g.selectedHotlistIds)("choices",g.hotlists);z(1);E("ngForOf",g.selectedHotlists);z(6);E("bContactAutocomplete","SINGLE")("ngModel",a.editableTemplate.assignee);z(5);E("bContactAutocomplete","SINGLE")("ngModel",a.editableTemplate.verifier);z(6);E("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.collaborators.join(", "));z(5);E("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.cc.join(", "));
z(5);E("ngModel",a.editableTemplate.comment);z(2);E("initialValue",a.editableTemplate.formattingMode);z(5);E("model",a.editableTemplate.inProd);z(2);E("ngIf",0<g.customFieldRows.length);z(1);E("ngForOf",g.customFieldRows);z(2);E("disabled",!a.editableTemplate.isDirty())}},k8a=function(a,b){a&1&&(F(0,"tr"),O(1,P7a,17,15,"ng-container",9),O(2,j8a,108,37,"td",10),H());a&2&&(a=b.$implicit,z(1),E("ngIf",!a.editableTemplate),z(1),E("ngIf",!!a.editableTemplate))},l8a=function(a,b){a&1&&(F(0,"div",87),P(1),
H(),F(2,"div",88)(3,"button",89),P(4," Cancel "),H(),F(5,"button",90),P(6," Confirm "),H()());a&2&&(a=b.$implicit,z(1),Lf(' Are you sure you want to delete the template "',a.name,'"? '),z(2),E("mat-dialog-close",!1),z(2),E("mat-dialog-close",!0))},m8a=function(a,b){a&1&&(F(0,"div",87),P(1),H(),F(2,"div",88)(3,"button",91),P(4," Cancel "),H(),F(5,"button",91),P(6," Don't Save "),H(),F(7,"button",92),P(8," Save "),H()());a&2&&(a=b.$implicit,z(1),Lf(' Do you want to save changes to template "',a.name,
'" before closing? '),z(2),E("mat-dialog-close",void 0),z(2),E("mat-dialog-close",!1),z(2),E("mat-dialog-close",!0))},o8a=function(a){if("CUSTOM_FIELD"===a.type)return new Qp({name:a.customFieldId?String(a.customFieldId):a.customFieldName||"",label:a.customFieldName||"",fullLabel:a.customFieldName||"",isCustomField:!0,sortable:void 0!==a.customFieldId,tooltip:""});a=ai(a.type);"canonicalIssueId"===a&&(a="duplicateOfIssueId");return n8a.includes(a)?Rp(a):null},q8a=function(a){return p8a(a.map(o8a).filter(function(b){return!!b}))},
r8a=function(a){return a.map(function(b){b.isCustomField?b={type:"CUSTOM_FIELD",customFieldId:bi(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})},p8a=function(a){return zl(a,function(b){return b.name})},Rp=function(a){var b={name:a,label:a.toUpperCase()},c=s8a[a];c?Object.assign(b,c):n8a.includes(a)||(b.isCustomField=!0);b.fullLabel=b.fullLabel||
b.label.charAt(0).toUpperCase()+b.label.slice(1).toLowerCase();return new Qp(b)},u8a=function(a,b){b=void 0===b?document.documentElement:b;return(0,D.concat)((0,D.defer)(function(){return(0,D.of)(b.querySelector(a))}),t8a(b,{childList:!0,subtree:!0}).pipe(Ge(function(c){return c.some(function(d){return 0<d.addedNodes.length})}),C(function(){return b.querySelector(a)}))).pipe(Ge(Ai),Oe(),C(function(c){return c}))},t8a=function(a,b){return new D.Observable(function(c){var d=new MutationObserver(function(e){c.next(e)});
d.observe(a,b);return function(){d.disconnect()}})},Sp=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)}}},v8a=function(a,b){a&1&&I(0,"col");a&2&&Af("",b.$implicit.name,"-col")},w8a=function(a){a&1&&Cf(0)},y8a=function(a,b){a&1&&(J(0),O(1,w8a,1,0,"ng-container",8),K());a&2&&(a=b.$implicit,b=N(),z(1),E("ngTemplateOutlet",b.headerCellTemplates[a.name]||b.defaultHeaderCellTemplate)("ngTemplateOutletContext",Rf(2,x8a,
a)))},z8a=function(a){a&1&&Cf(0)},B8a=function(a,b){a&1&&(J(0),O(1,z8a,1,0,"ng-container",8),K());if(a&2){a=b.$implicit;b=b.index;var c=N(),d=c.$implicit;c=c.index;var e=N().ngIf;z(1);E("ngTemplateOutlet",e[b])("ngTemplateOutletContext",Tf(A8a,d,a,c))}},C8a=function(a,b){if(a&1){var c=u();F(0,"tr",10,11);L("click",function(){var e=w(c).index,g=N(2);g.focusedRowIndex!==e&&(g.focusedRowIndex=e,g.focusedRowIndexChange.emit(e));return y()})("focus",function(){var e=w(c).index,g=N(2);g.focusedRowIndex!==
e&&(g.focusedRowIndex=e,g.focusedRowIndexChange.emit(e));return y()});O(2,B8a,2,6,"ng-container",4);H()}if(a&2){a=b.$implicit;b=b.index;var d=N(2);xf("selected",a.selected)("unread",!d.readUnreadOptOut&&!a.isRead&&!a.isClosed)("closed",a.isClosed)("grid-focus",d.focusedRowIndex===b);of("data-row-id",a.id)("data-is-read",a.isRead)("aria-label",d.renderRowLabel(a,b)+(a.selected?", row starred":""));z(2);E("ngForOf",d.columns)}},D8a=function(a){a&1&&(J(0),O(1,C8a,3,12,"tr",9),K());a&2&&(a=N(),z(1),E("ngForOf",
a.list))},E8a=function(a,b){a&1&&(F(0,"th"),I(1,"pop-grid-default-th",12),H());a&2&&(a=b.column,z(1),E("column",a))},F8a=function(a,b){a&1&&(F(0,"td"),I(1,"pop-grid-default-cell",13),H());a&2&&(a=b.row,b=b.column,z(1),E("row",a)("column",b))},G8a=function(a){if(a&1){var b=u();F(0,"b-sortable-header",3);L("sortChanged",function(c){w(b);var d=N();d.grid&&d.grid.sortChange.emit(c);return y()});H()}a&2&&(a=N(),E("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||""))},H8a=function(a){a&1&&(F(0,"span",6),P(1),H());a&2&&(a=N(2),z(1),Lf("column-",a.column.name,""))},I8a=function(a){a&1&&(F(0,"div",4),O(1,H8a,2,1,"span",5),P(2),H());a&2&&(a=N(),of("aria-label",a.column.label),z(1),E("ngIf",!a.column.label),z(1),Lf(" ",a.column.label," "))},J8a=function(a){if(a&1){var b=u();F(0,"div",13,14);L("menuOpened",function(){w(b);var d=N();return y(d.menuOpen=!0)})("menuClosed",function(){w(b);
var d=N();return y(d.menuOpen=!1)})("keydown.enter",function(d){w(b);Kf(1).openMenu();d.preventDefault();return y(d.stopPropagation())})("keydown.space",function(){w(b);var d=Kf(1);return y(d.openMenu())});H()}if(a&2){a=N();var c=Kf(5);xf("columnpicker-button-active",a.menuOpen);qf("aria-label","",a.column.fullLabel," column configuration");E("matMenuTriggerFor",c)}},M8a=function(a,b){if(a&1){var c=u();F(0,"button",15);L("click",function(){var d=w(c).$implicit,e=N();return y(K8a(e,d.name))});I(1,
"b-icon",16);F(2,"span",17);P(3);H()()}a&2&&(a=b.$implicit,b=N(),xf("b-menu-item-checked",L8a(a.name).get(b.listViewPrefs)),z(3),Lf(" ",a.menuItem," "))},N8a=function(a){a&1&&I(0,"mat-divider")},O8a=function(a){if(a&1){var b=u();F(0,"button",22);L("click",function(){w(b);var c=N().$implicit,d=N().before,e=N();return y(e.add(c,d))})("keydown.enter",function(c){w(b);var d=N().$implicit,e=N().before;N().add(d,e);c.preventDefault();return y(c.stopPropagation())});P(1);H()}a&2&&(a=N().$implicit,E("matTooltip",
a.tooltip),z(1),Lf(" ",a.fullLabel," "))},Q8a=function(a){a&1&&(F(0,"button",9)(1,"span"),P(2),H()());if(a&2){a=N().$implicit;var b=N().before;N();var c=Kf(18);E("matMenuTriggerFor",c)("matMenuTriggerData",Sf(3,P8a,a.columns,b));z(2);Mf(a.label)}},R8a=function(a,b){a&1&&(J(0),O(1,O8a,2,2,"button",20),O(2,Q8a,3,6,"button",21),K());a&2&&(a=b.$implicit,b=N(2),z(1),E("ngIf",b.isIssueGridColumn(a)),z(1),E("ngIf",!b.isIssueGridColumn(a)))},T8a=function(a){if(a&1){var b=u();F(0,"button",18);L("click",function(){var c=
w(b).before,d=N();return y(S8a(d,c))});P(1," Custom Field ");H();I(2,"mat-divider");O(3,R8a,3,2,"ng-container",19)}a&2&&(a=N(),z(3),E("ngForOf",a.currentAvailableItems))},U8a=function(a,b){if(a&1){var c=u();F(0,"button",24);L("click",function(){var d=w(c).$implicit,e=N().before,g=N();return y(g.add(d,e))})("keydown.enter",function(d){var e=w(c).$implicit,g=N().before;N().add(e,g);d.preventDefault();return y(d.stopPropagation())});P(1);H()}a&2&&(a=b.$implicit,z(1),Lf(" ",a.fullLabel," "))},V8a=function(a,
b){a&1&&O(0,U8a,2,1,"button",23);a&2&&E("ngForOf",b.columns)},L8a=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("qe`"+a);}},W8a=function(a){a&1&&(J(0),P(1," > "),K())},X8a=function(a,b){a&1&&(J(0),F(1,"a",7),P(2),H(),O(3,W8a,2,0,"ng-container",3),K());a&2&&(a=b.$implicit,b=b.last,z(1),qf("aria-label","View recent issues in ",
a.name,""),E("routerLinkObj",a.route),z(1),Mf(a.name),z(1),E("ngIf",!b))},Y8a=function(a){a&1&&(F(0,"span"),P(1," [Archived]"),H())},Z8a=function(a){a&1&&(F(0,"div",5),O(1,X8a,4,4,"ng-container",6),R(2,"async"),O(3,Y8a,2,0,"span",3),R(4,"async"),H());a&2&&(a=N(),z(1),E("ngForOf",S(2,2,a.componentPath$)),z(2),E("ngIf",S(4,4,a.isArchived$)))},$8a=function(a,b){a&1&&(J(0),F(1,"div",8),I(2,"mat-icon",9),F(3,"div",10),P(4),H()(),F(5,"p",11),P(6),H(),F(7,"p",10),P(8),H(),K());a&2&&(a=b.$implicit,z(4),Mf(a.name),
z(2),Lf("Component ID: ",a.componentId,""),z(2),Mf(a.description))},a9a=function(a,b){a&1&&(F(0,"div",12)(1,"a",13),P(2,"View recent open issues"),H(),F(3,"a",14),P(4,"View component settings"),H(),F(5,"a",15),P(6,"Create issue in this component"),H()());a&2&&(a=b.$implicit,z(1),E("routerLinkObj",a.recentIssues),z(2),E("routerLinkObj",a.componentSettings),z(2),E("routerLinkObj",a.createIssue))},b9a=function(a){a&1&&(J(0),P(1,"\u2026 >"),K())},c9a=function(a){a&1&&(J(0),P(1,"\u2026"),K())},d9a=function(a){if(a&
1){var b=u();F(0,"a",16);L("click",function(){w(b);var c=N(4);return y(c.compactMode$.next(!1))});O(1,b9a,2,0,"ng-container",6);O(2,c9a,2,0,"ng-container",6);H()}a&2&&(a=N().$implicit,z(1),E("ngIf",a.isSpliced),z(1),E("ngIf",a.isTruncated))},e9a=function(a){a&1&&(F(0,"a",17),P(1),H());if(a&2){a=N().$implicit;var b=Kf(7);xf("muted",a.name==a.id);E("routerLinkObj",a.route)("onedevHovercardTrigger",b);z(1);Mf(a.name)}},f9a=function(a){a&1&&(F(0,"span",18),P(1),H());a&2&&(a=N().$implicit,xf("muted",a.name==
a.id),z(1),Mf(a.name))},g9a=function(a){a&1&&(J(0),P(1," > "),K())},h9a=function(a){a&1&&(J(0),I(1,"b-component-path-card",19,20),K());if(a&2){var b=Kf(2);a=N().$implicit;z(1);E("onedevIsHovercardReady",b.init)("componentId",a.id)}},i9a=function(a,b){a&1&&(J(0),O(1,d9a,3,2,"a",11),O(2,e9a,2,5,"a",12),O(3,f9a,2,3,"ng-template",null,13,gg),O(5,g9a,2,0,"ng-container",6),F(6,"onedev-hovercard",null,14),O(8,h9a,3,2,"ng-container",15),H(),K());if(a&2){a=b.$implicit;b=b.last;var c=Kf(4),d=N(3);z(1);E("ngIf",
a.isSpliced||a.isTruncated);z(1);E("ngIf",!d.viewOnly)("ngIfElse",c);z(3);E("ngIf",!b)}},j9a=function(a,b){a&1&&(F(0,"span",9),O(1,i9a,9,4,"ng-container",10),H());a&2&&(a=b.$implicit,z(1),E("ngForOf",a))},k9a=function(a){a&1&&(F(0,"span"),P(1,"[Archived]"),H())},l9a=function(a){if(a&1){var b=u();F(0,"button",21);L("click",function(){w(b);N(2).editing=!0;return y()});I(1,"mat-icon",22);H()}},m9a=function(a){a&1&&(F(0,"a",23),R(1,"async"),I(2,"mat-icon",24),H());if(a&2){a=N(2);var b;E("routerLinkObj",
a.popoutLink(null==(b=S(1,1,a.component$))?null:b.componentId))}},n9a=function(a){a&1&&(F(0,"b-async-data-placeholder",2),R(1,"async"),F(2,"div",3),I(3,"mat-icon",4),O(4,j9a,2,1,"span",5),R(5,"async"),O(6,k9a,2,0,"span",6),R(7,"async"),O(8,l9a,2,0,"button",7),O(9,m9a,3,3,"a",8),H()());a&2&&(a=N(),E("isReady",S(1,6,a.isReady$)),z(3),E("svgIcon",a.currentTracker.enableTrackersComponentPathTruncation&&a.currentTracker.inTracker?"folder_special_24px":"folder"),z(1),E("ngIf",S(5,8,a.componentPath$)),z(2),
E("ngIf",S(7,10,a.isArchived$)),z(2),E("ngIf",!a.viewOnly),z(1),E("ngIf",a.popoutLink))},p9a=function(a){if(a&1){var b=u();F(0,"b-team-component-picker",25);L("selectedComponentChange",function(c){w(b);var d=N();d.editing=!1;c&&o9a(d.issueEditComponentService,d.issueId,c);return y()})("dropdownClosed",function(){w(b);N().editing=!1;return y()});R(1,"async");H()}a&2&&(a=N(),E("selectedComponent",S(1,3,a.component$))("isRequired",!0)("shouldFocus",!0))},r9a=function(a,b){if(a&1){var c=u();F(0,"div",
6)(1,"b-contact-chip",7);L("chipSelection",function(){var d=w(c).index,e=N();e.selectedChipIndex!==d&&Tp(e,d)&&(q9a(e),e.selectedChipIndex=d,e.items[d].isSelected=!0);return y()})("chipClear",function(){w(c);var d=N();return y(q9a(d))})("chipRemove",function(){var d=w(c).index,e=N();return y(e.removeItem(d))});H()()}a&2&&(a=b.$implicit,b=N(),z(1),E("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()))},u9a=function(a){if(a&1){var b=u();F(0,"input",8,9);L("autocompleteActive",function(){w(b);var c=N();return y(c.chipifyFn())})("ngModelChange",function(c){w(b);var d=N();return y(d.typedText=c)})("focus",function(){w(b);var c=N();return y(s9a(c))})("blur",function(){w(b);var c=N();t9a(c,c.typedText.split(",")[0].trim());c.isFocused=!1;return y()});H()}a&2&&(a=N(),E("bContactAutocomplete","MULTI")("additionalContactsCallback",
a.additionalContactsFn)("ngModel",a.typedText)("disabled",a.isWidgetDisabled()))},v9a=function(a){a&1&&(F(0,"span"),P(1," Groups cannot be granted Restricted+ reader permission. "),F(2,"a",10),P(3,"Learn more"),H()());a&2&&(a=N(),z(2),of("href",$n(a.documentationLinks)+"#components",Ud))},w9a=function(a){a&1&&(F(0,"span"),P(1," Invalid user(s). "),H())},x9a=function(a){a&1&&(F(0,"span"),P(1,' "Public" or external users are not allowed for component designated as "internal access". '),H())},y9a=function(a){a&
1&&(F(0,"span"),P(1,' "Public" is not allowed for components designated as "external partner access". '),H())},z9a=function(a){a&1&&(F(0,"span"),P(1," SLO lead can not be a group. "),H())},A9a=function(a){a&1&&(F(0,"span"),P(1," SLO lead can only be a full-time Googler. "),H())},C9a=function(a,b){if(a&1){var c=u();J(0);F(1,"mat-checkbox",21);L("click",function(d){return d.stopPropagation()})("change",function(d){var e=w(c).$implicit,g=N(2);e=e.value.user;d=d.source.checked;var h=g.collaboratorGroupsEmailToDetailsMap.get(e.emailAddress).specifiedOnIssue;
d?(h||g.addedCollaboratorGroups.add(e),g.removedCollaboratorGroups.delete(e)):(h&&g.removedCollaboratorGroups.add(e),g.addedCollaboratorGroups.delete(e));var l;B9a(g,null!=(l=g.updatedAccessLimitLevel$.getValue())?l:g.defaultAccessLimitLevel);return y()});H();F(2,"span",22);P(3);H();K()}a&2&&(a=b.$implicit,z(1),E("id",a.key)("name",a.key)("checked",a.value.specifiedOnIssue),z(2),Mf(a.key))},D9a=function(a){a&1&&(J(0),F(1,"div")(2,"span",17),P(3,"Add collaborator groups"),H(),I(4,"mat-icon",18),H(),
F(5,"div",19),O(6,C9a,4,4,"ng-container",20),R(7,"keyvalue"),H(),K());a&2&&(a=N(),z(6),E("ngForOf",S(7,1,a.collaboratorGroupsEmailToDetailsMap)))},F9a=function(a){if(a&1){var b=u();J(0);F(1,"button",23);L("click",function(){w(b);var c=N();return y(c.onPressCancel())});P(2," Cancel ");H();F(3,"button",24);L("click",function(){w(b);var c=N();return y(c.onPressSave())});R(4,"async");P(5," Save ");H();K()}a&2&&(a=N(),z(3),E("disabled",!E9a(a,S(4,1,a.hasAccessLimitLevelSelectionChanged$))))},G9a=function(a){if(a&
1){var b=u();F(0,"button",25);L("click",function(){w(b);var c=N();return y(c.onPressCancel())});P(1," Close ");H()}},H9a=function(a){a&1&&I(0,"div",2)},I9a=function(a){a&1&&(J(0),Gf(1),K())},J9a=function(a){a&1&&(rd(),F(0,"svg",1),I(1,"path",2),H());a&2&&(a=N(),E("matTooltip",a.warning))},K9a=function(a){a&1&&Cf(0)},N9a=function(a){if(a&1){var b=u();F(0,"div",1);L("keydown",function(c){w(b);var d=N();return y(d.processKeydown(c))});F(1,"div",2);O(2,K9a,1,0,"ng-container",3);H();F(3,"div",4)(4,"button",
5);L("click",function(){w(b);var c=N();return y(L9a(c))});P(5,"Save");H();F(6,"button",6);L("click",function(){w(b);var c=N();return y(M9a(c))});P(7,"Cancel");H()()()}a&2&&(a=N(),E("cdkTrapFocusAutoCapture",!0),z(2),E("ngTemplateOutlet",a.editorTemplate))},O9a=function(a){a&1&&Cf(0)},Q9a=function(a){a&1&&(J(0),O(1,O9a,1,0,"ng-container",8),K());a&2&&(a=N(),z(1),E("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Rf(2,P9a,a.value)))},R9a=function(a){a&1&&P(0);a&2&&(a=N(),Mf(null!=a.value?
a.value:"--"))},S9a=function(a){a&1&&(rd(),F(0,"svg",9),I(1,"path",10),H())},T9a=function(a){if(a&1){var b=u();F(0,"input",11);L("ngModelChange",function(c){w(b);var d=N();return y(d.editingValue=c)});H()}a&2&&(a=N(),E("ngModel",a.editingValue))},U9a=function(a){return null!=a?Number(a):void 0},V9a=function(a){a&1&&I(0,"mat-icon",12);if(a&2){N();var b=Kf(5);E("onedevHovercardTrigger",b)}},W9a=function(a){if(a&1){var b=u();J(0);F(1,"onedev-numeric-field",13);L("valueChange",function(d){w(b);var e=
N(2);e.selectedNumericEstimate=d;null==d?e.effortChange.emit(void 0):e.effortChange.emit({estimate:String(d)});return y()});H();K()}if(a&2){a=N(2);var c=Kf(2);z(1);E("value",a.selectedNumericEstimate)("valueTemplate",c)("disabled",a.disabled)("displayEditIcon",!a.disabled)}},X9a=function(a){a&1&&(J(0),P(1),K());a&2&&(a=N().$implicit,z(1),Lf(" ",a.label," "))},Y9a=function(a){a&1&&P(0," -- ")},Z9a=function(a,b){a&1&&(O(0,X9a,2,1,"ng-container",16),O(1,Y9a,1,0,"ng-template",null,17,gg));if(a&2){a=b.$implicit;
var c=Kf(2);E("ngIf",a)("ngIfElse",c)}},a$a=function(a){if(a&1){var b=u();J(0);F(1,"onedev-single-select",14);L("valueChange",function(e){w(b);var g=N(2);return y(g.selectOption(e))});H();O(2,Z9a,3,2,"ng-template",null,15,gg);K()}if(a&2){var c=Kf(3);a=N(2);var d;z(1);E("value",a.selectedOption)("options",null!==(d=null==a.effortSpec.enumSpec?null:a.effortSpec.enumSpec.options)&&void 0!==d?d:Qf(6,$9a))("includeEmptyOption",!0)("optionTemplate",c)("disabled",a.disabled)("displayArrowIcon",!a.disabled)}},
b$a=function(a){a&1&&(J(0),P(1),K());a&2&&(a=N(2),z(1),Lf(" ",null==a.effort?null:a.effort.estimate," "))},c$a=function(a){a&1&&(F(0,"onedev-edit-field")(1,"onedev-field-label",2),P(2),O(3,V9a,1,1,"mat-icon",3),H(),F(4,"onedev-hovercard",null,4)(6,"div",5)(7,"div",6),P(8," This estimate was made under a different configuration and needs to be updated. "),F(9,"a",7),P(10,"Learn more"),H()()()(),F(11,"onedev-field-value",8),J(12,9),O(13,W9a,2,4,"ng-container",10),O(14,a$a,4,7,"ng-container",10),O(15,
b$a,2,1,"ng-container",11),K(),H()());a&2&&(a=N(),z(1),E("thinking",a.thinking),z(1),Lf(" ",a.fieldName," "),z(1),E("ngIf",!a.isCompatibleValue),z(8),E("thinking",a.thinking),z(1),E("ngSwitch",a.fieldType),z(1),E("ngSwitchCase","NUMERIC"),z(1),E("ngSwitchCase","DROPDOWN"))},d$a=function(a){a&1&&(J(0),P(1),K());a&2&&(a=N(2),z(1),Lf(" ",null==a.effort?null:a.effort.estimate," "))},e$a=function(a){a&1&&P(0);a&2&&(a=N().$implicit,Lf(" ",null!=a?a:"--"," "))},f$a=function(a,b){a&1&&(O(0,d$a,2,1,"ng-container",
16),O(1,e$a,1,1,"ng-template",null,18,gg));if(a&2){a=b.$implicit;var c=Kf(2);b=N();E("ngIf",b.isNaN(a))("ngIfElse",c)}},h$a=function(a,b){var c=a.getPrimaryTarget(),d=a.getTargetList().map(function(e){return e===c?b:e});return new Up(new g$a(a,d))},j$a=function(){return new i$a(Zc.apply(0,arguments))},l$a=function(){return new k$a(Zc.apply(0,arguments))},n$a=function(){var a=Zc.apply(0,arguments);return 1===a.length?a[0]:new m$a(a)},o$a=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))},p$a=function(a){if(a&1){var b=u();F(0,"input",3,4);L("peoplekitAutocompleteSelectionChange",function(c){w(b);var d=N();0<c.length&&(d.inputValue=c[0].result().getPrimaryTarget().getValue());return y()})("ngModelChange",
function(c){w(b);var d=N();return y(d.inputValue=c)});H()}a&2&&(a=N(),E("peoplekitAutocompleteConfig",a.mergedAutocompleteConfig)("peoplekitSearchSessionOptions",a.sessionOptions)("ngModel",a.inputValue))},q$a=function(a){a&1&&Cf(0)},s$a=function(a){a&1&&(J(0),O(1,q$a,1,0,"ng-container",6),K());a&2&&(a=N(),z(1),E("ngTemplateOutlet",a.selectedUserTemplate)("ngTemplateOutletContext",Rf(2,r$a,a.email)))},t$a=function(a){a&1&&P(0);a&2&&(a=N(),Lf(" ",a.email," "))},u$a=function(a){a&1&&(rd(),F(0,"svg",
7),I(1,"path",8),H())},v$a=function(a){a&1&&I(0,"b-user-membership-chip",4);if(a&2){a=N().$implicit;var b=N(),c;E("email",a)("teamId",null!==(c=b.teamId)&&void 0!==c?c:"")("enableSmallChip",!0)}},w$a=function(a,b){a&1&&O(0,v$a,1,3,"b-user-membership-chip",3);a&2&&E("ngIf",b.$implicit)},x$a=function(a){a&1&&I(0,"mat-icon",13)},y$a=function(a){a&1&&I(0,"mat-icon",14)},z$a=function(a){a&1&&(F(0,"span"),I(1,"b-formatted-date-time",22),H());a&2&&(a=N(2),z(1),E("timestamp",a.sloStartTime))},A$a=function(a){a&
1&&(F(0,"span"),I(1,"b-formatted-date-time",22),F(2,"span"),P(3," (default)"),H()());a&2&&(a=N(2),z(1),E("timestamp",a.issueCreationTimestamp/1E3))},B$a=function(a){if(a&1){var b=u();F(0,"slo-edit-date-time-picker",23);L("closePicker",function(){w(b);var c=N(2);return y(c.isSloStartEditTimePickerOpen=!1)})("sloEditCommit",function(c){w(b);var d=N(2);return y(d.updateSloStartTime(c))});H()}a&2&&(a=N(2),E("sloStatus",a.sloStatus)("sloEditTime",a.sloStartTime))},C$a=function(a){if(a&1){var b=u();F(0,
"div",15)(1,"a",16);P(2," Start Date: ");H();F(3,"div",17)(4,"a",18,19);L("keydown.enter",function(){w(b);var d=N();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return y()})("keydown.space",function(){w(b);var d=N();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return y()})("click",function(){w(b);var d=N();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return y()});O(6,z$a,2,1,"span",20);O(7,A$a,4,1,"span",20);H();O(8,B$a,1,2,"ng-template",21);H()()}if(a&
2){var c=Kf(5);a=N();z(6);E("ngIf",a.hasSloStartTime);z(1);E("ngIf",!a.hasSloStartTime);z(1);E("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isSloStartEditTimePickerOpen)}},D$a=function(a){a&1&&(F(0,"span"),P(1," Set closure SLO "),H())},E$a=function(a){a&1&&(F(0,"span"),I(1,"b-formatted-date-time",22),H());a&2&&(a=N(2),z(1),E("timestamp",a.sloEndTime))},F$a=function(a){a&1&&(F(0,"span"),I(1,"b-formatted-date-time",22),F(2,"span"),P(3," (default)"),H()());a&2&&(a=N(2),z(1),E("timestamp",
1E3*a.closureSloTarget))},G$a=function(a){if(a&1){var b=u();F(0,"slo-edit-date-time-picker",23);L("closePicker",function(){w(b);var c=N(2);return y(c.isSloEndEditTimePickerOpen=!1)})("sloEditCommit",function(c){w(b);var d=N(2);return y(d.updateSloEndTime(c))});H()}a&2&&(a=N(2),E("sloStatus",a.sloStatus)("sloEditTime",a.sloEndTime))},H$a=function(a){if(a&1){var b=u();F(0,"div",24)(1,"a",16);P(2," End Date: ");H();F(3,"div",17)(4,"a",25,19);L("click",function(){w(b);var d=N();d.isSloEndEditTimePickerOpen=
!d.isSloEndEditTimePickerOpen;return y()})("keydown.enter",function(){w(b);var d=N();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return y()})("keydown.space",function(){w(b);var d=N();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return y()});O(6,D$a,2,0,"span",20);O(7,E$a,2,1,"span",20);O(8,F$a,4,1,"span",20);H();O(9,G$a,1,2,"ng-template",21);H()()}if(a&2){var c=Kf(5);a=N();z(6);E("ngIf",!a.hasClosureSlo);z(1);E("ngIf",a.hasClosureSlo&&a.hasSloEndTime);z(1);E("ngIf",a.hasClosureSlo&&
!a.hasSloEndTime);z(1);E("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isSloEndEditTimePickerOpen)}},I$a=function(a,b){if(a&1){var c=u();F(0,"a",28);L("click",function(){w(c);var d=N(2);return y(d.trackOpenSlo())});P(1);H()}a&2&&(a=b.ngIf,b=N(2),of("href",b.editSloLink,Ud),z(1),Lf(" ",a.name," "))},J$a=function(a){a&1&&(F(0,"div",26),P(1," SLO definition: "),O(2,I$a,2,2,"a",27),R(3,"async"),H());a&2&&(a=N(),z(2),E("ngIf",S(3,1,a.slo$)))},K$a=function(a){if(a&1){var b=u();F(0,"div",26)(1,
"a",29);L("click",function(){w(b);N();Ym(ao.MANAGE_COMPONENT,"open","fromIssueSloBox");return y()});P(2,"Select an SLO");H()()}a&2&&(a=N(),z(1),of("href",a.componentSloLink,Ud))},L$a=function(a){return a&&"0"!==a.teamId?a.deleted?"DELETED":"VALID":"MISSING"},M$a=function(a){if(a&1){var b=u();F(0,"div",6);P(1," Select a team from the suggestions below, or edit in ");F(2,"a",7);L("click",function(){w(b);var c=N();return y(c.trackClick("viewTeamAssociationOnComponent"))});P(3,"component settings");H();
P(4,".\n");H()}a&2&&(a=N(),z(2),E("href",a.componentSetting,Ud))},N$a=function(a){a&1&&(F(0,"div",6),P(1," Assigned team no longer exists, select a different team from the suggestions below, or edit/opt out of team mapping in "),F(2,"a",8),P(3,"component settings"),H(),P(4,".\n"),H());a&2&&(a=N(),z(2),E("href",a.componentSetting,Ud))},O$a=function(a){if(a&1){var b=u();F(0,"mat-radio-group",9);L("ngModelChange",function(c){w(b);var d=N();return y(d.teamAction=c)});F(1,"p")(2,"mat-radio-button",10);
P(3," Don't make any changes ");H()();F(4,"p")(5,"mat-radio-button",11);P(6," Map component to selected team ");H()()()}a&2&&(a=N(),E("ngModel",a.teamAction))},P$a=function(a){a&1&&(J(0),F(1,"span",19),P(2),H(),K());a&2&&(a=N().$implicit,z(2),Mf(a.teamPath))},Q$a=function(a){a&1&&P(0," -- ")},R$a=function(a,b){a&1&&(O(0,P$a,3,1,"ng-container",17),O(1,Q$a,1,0,"ng-template",null,18,gg));if(a&2){a=b.$implicit;var c=Kf(2);E("ngIf",a)("ngIfElse",c)}},S$a=function(a){if(a&1){var b=u();F(0,"div",12)(1,"onedev-single-select",
13);L("valueChange",function(d){w(b);var e=N();return y(e.selectedTeam=d)})("valueChange",function(d){w(b);var e=N();return y(e.selectOption(d))});H();O(2,R$a,3,2,"ng-template",null,14,gg);F(4,"a",15);L("click",function(){w(b);var d=N();return y(d.trackClick("viewTeamInMoma"))});I(5,"mat-icon",16);H()()}if(a&2){var c=Kf(3);a=N();z(1);E("disabled","NONE"===a.teamAction)("value",a.selectedTeam)("options",a.teamOptions)("includeEmptyOption",!1)("optionTemplate",c);z(3);of("href",a.getMomaTeamLink(),
Ud)}},T$a=function(a){if(a&1){var b=u();F(0,"b-callout-actions")(1,"b-button",2);L("click",function(){w(b);var c=N();return y(c.openDialog())});P(2);H()()}a&2&&(a=N(),z(2),Mf(a.buttonName))},U$a=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 g=a();null!=g?c(g):(setTimeout(e,b),b*=2)}e();setTimeout(function(){var g=a();null!=g?c(g):d("timeout: 5000")},5E3)})},
V$a=function(a){return["PROD","NIGHTLY"].includes(a)?"production":"autopush"},W$a=function(a){a&1&&Cf(0)},X$a=function(a){a&1&&(J(0),O(1,W$a,1,0,"ng-container",48),K());if(a&2){N();var b=Kf(109);z(1);E("ngTemplateOutlet",b)}},Z$a=function(a,b){a&1&&I(0,"b-list-field",50);a&2&&(a=b.ngIf,b=N(3),E("readonly",!0)("defaultLineCount",3)("title","Team")("type",b.ListFieldType.TEAM)("values",Rf(5,Y$a,a)))},$$a=function(a){a&1&&(J(0),O(1,Z$a,1,7,"b-list-field",49),R(2,"async"),K());a&2&&(a=N(2),z(1),E("ngIf",
S(2,1,a.teamHovercardInputs$)))},bab=function(a){if(a&1){var b=u();F(0,"div",52)(1,"b-team-warning",53);L("updateTeam",function(){w(b);var h=N(3);h.issueFridge.poke(h.issueId);return y()});R(2,"async");R(3,"async");H()()}if(a&2){a=N().ngIf;var c=N().ngIf,d=N(),e,g;z(1);E("warningType",a)("componentId",c.componentId)("parentComponentId",(null==(e=S(2,4,d.component$))?null:e.parentComponentId)||0)("teamSuggestions",null!==(g=S(3,6,d.teamSuggestions$))&&void 0!==g?g:Qf(8,aab))}},cab=function(a){a&1&&
(J(0),O(1,bab,4,9,"div",51),R(2,"async"),K());a&2&&(a=N(2),z(1),E("ngIf",S(2,1,a.shouldDisplayTeamSuggestions$)))},eab=function(a){if(a&1){var b=u();J(0);F(1,"b-edit-field",54,55);L("valueChange",function(g){w(b);var h=Kf(2),l=N(2);return y(dab(l,h,null!==g&&void 0!==g?g:""))});R(3,"async");R(4,"async");R(5,"async");H();K()}if(a&2){a=N().ngIf;var c=N(),d,e;z(1);E("name","reporter")("title","Reporter")("type",c.FieldType.TEXT)("value",a.reporter)("user",null!==(d=a.reporterUser)&&void 0!==d?d:void 0)("isUser",
!0)("readonly",!S(3,10,c.hasAclToEdit$))("disabled",!!S(4,12,c.isSaving$("reporter")))("showAvailability",!0)("teamId",null!==(e=S(5,14,c.teamId$))&&void 0!==e?e:"")}},gab=function(a){if(a&1){var b=u();F(0,"onedev-edit-field")(1,"onedev-field-label");P(2,"Reporter");H();F(3,"onedev-field-value",56);R(4,"async");F(5,"b-user-picker",57);L("emailChange",function(e){w(b);var g=N(2);return y(fab(g.editIssueService,g.issueId,e))});R(6,"async");R(7,"async");H()()()}if(a&2){a=N().ngIf;var c=N(),d;z(3);E("thinking",
!!S(4,4,c.isSaving$("reporter")));z(2);E("user",a.reporterUser)("teamId",null!==(d=S(6,6,c.teamId$))&&void 0!==d?d:"")("disabled",!S(7,8,c.hasAclToEdit$))}},hab=function(a){a&1&&Cf(0)},iab=function(a){a&1&&(J(0),O(1,hab,1,0,"ng-container",48),K());if(a&2){N();var b=Kf(111);z(1);E("ngTemplateOutlet",b)}},jab=function(a,b){if(a&1){var c=u();F(0,"div",59);I(1,"div",60);F(2,"span",61);L("click",function(){var d=w(c).ngIf,e=N(3);return y(Vp(e,d))})("keydown.enter",function(d){var e=w(c).ngIf;Vp(N(3),e);
d.stopPropagation();return y(d.preventDefault())})("keydown.space",function(d){var e=w(c).ngIf;Vp(N(3),e);d.stopPropagation();return y(d.preventDefault())});R(3,"async");R(4,"async");P(5);H()()}a&2&&(a=b.ngIf,b=N(3),z(2),xf("disabled",!!S(3,6,b.isSaving$("status"))),E("matTooltip",a.description||""),of("aria-disabled",!!S(4,8,b.isSaving$("status")))("aria-label",a.displayText||null),z(3),Lf(" ",a.displayText," "))},kab=function(a){a&1&&(J(0),O(1,jab,6,10,"div",58),R(2,"async"),K());a&2&&(a=N(2),z(1),
E("ngIf",S(2,1,a.issueStatusQuickAction$)))},lab=function(a){a&1&&(I(0,"b-issue-card",62,63),R(2,"async"));if(a&2){var b=Kf(1);a=N(2);E("onedevIsHovercardReady",b.init)("issueId",S(2,2,a.canonicalIssueId$))}},nab=function(a){if(a&1){var b=u();F(0,"b-estimated-effort-row",64);L("effortChange",function(e){w(b);var g=N(2);return y(mab(g.editIssueService,g.issueId,e))});R(1,"async");R(2,"async");R(3,"async");H()}if(a&2){a=N(2);var c,d;E("effort",null!==(c=S(1,3,a.effort$))&&void 0!==c?c:void 0)("effortSpec",
null!==(d=S(2,5,a.effortSpec$))&&void 0!==d?d:void 0)("disabled",!S(3,7,a.hasAclToEdit$))}},oab=function(a){a&1&&(F(0,"div"),P(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. "),F(2,"a",70),P(3,"Learn more"),H()());a&2&&(a=N(3),z(2),E("href",$n(a.documentationLinks)+"#expanded-access",Ud))},pab=function(a){a&1&&(F(0,"div",65)(1,"span",66),P(2,"Expanded Access"),H(),F(3,"xap-bubble",67)(4,
"xap-icon-trigger"),I(5,"mat-icon",68),H(),O(6,oab,4,1,"ng-template",null,69,gg),H()());if(a&2){var b=Kf(7);z(3);E("panelTemplate",b)}},qab=function(a){a&1&&(F(0,"span",76),R(1,"async"),P(2),H());if(a&2){a=N().ngIf;var b=N(4);xf("disabled",!!S(1,3,b.isSaving$("assignee")));z(2);Lf(" ",a.displayText," ")}},rab=function(a,b){if(a&1){var c=u();F(0,"div",74);L("onHotkey",function(){var d=w(c).ngIf,e=N(4);return y(Vp(e,d))})("click",function(){var d=w(c).ngIf,e=N(4);return y(Vp(e,d))})("keydown.enter",
function(d){var e=w(c).ngIf;Vp(N(4),e);d.stopPropagation();return y(d.preventDefault())})("keydown.space",function(d){var e=w(c).ngIf;Vp(N(4),e);d.stopPropagation();return y(d.preventDefault())});R(1,"async");I(2,"div",60);O(3,qab,3,5,"span",75);R(4,"async");H()}a&2&&(a=b.ngIf,b=N(4),E("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),of("aria-disabled",!!S(1,5,b.isSaving$("assignee")))("aria-label",a.description),z(3),E("ngIf",S(4,7,b.hasAclToEdit$)))},sab=function(a){a&
1&&(J(0),O(1,rab,5,9,"div",73),R(2,"async"),K());a&2&&(a=N(3),z(1),E("ngIf",S(2,1,a.issueAssigneeQuickAction$)))},uab=function(a){if(a&1){var b=u();J(0);F(1,"b-edit-field",71,72);L("onHotkey",function(){w(b);var g=Kf(2);return y(Cp(g,null,!0,!1))})("valueChange",function(g){w(b);var h=Kf(2),l=N(2);return y(tab(l,h,null!==g&&void 0!==g?g:""))});R(3,"async");R(4,"async");R(5,"async");H();O(6,sab,3,3,"ng-container",0);K()}if(a&2){a=N().ngIf;var c=N(),d,e;z(1);E("hotkey",c.HOTKEYS.CHANGE_ASSIGNEE)("name",
"assignee")("title","Assignee")("type",c.FieldType.TEXT)("value",a.assignee)("user",null!==(d=a.assigneeUser)&&void 0!==d?d:void 0)("isUser",!0)("readonly",!S(3,12,c.hasAclToEdit$))("disabled",!!S(4,14,c.isSaving$("assignee")))("showAvailability",!0)("teamId",null!==(e=S(5,16,c.teamId$))&&void 0!==e?e:"");z(5);E("ngIf",c.defaultAssigneeQuickActionEnabled)}},wab=function(a){if(a&1){var b=u();F(0,"div",81);L("click",function(){w(b);var c=N(3);return y(vab(c.editIssueService,c.issueId,""))});P(1," Un-assign ");
H()}},xab=function(a,b){if(a&1){var c=u();F(0,"div",83);L("onHotkey",function(){var d=w(c).ngIf,e=N(4);return y(Vp(e,d))})("click",function(){var d=w(c).ngIf,e=N(4);return y(Vp(e,d))})("keydown.enter",function(d){var e=w(c).ngIf;Vp(N(4),e);d.stopPropagation();return y(d.preventDefault())})("keydown.space",function(d){var e=w(c).ngIf;Vp(N(4),e);d.stopPropagation();return y(d.preventDefault())});R(1,"async");R(2,"async");P(3);H()}a&2&&(a=b.ngIf,b=N(4),xf("disabled",!!S(1,7,b.isSaving$("assignee"))),
E("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),of("aria-disabled",!!S(2,9,b.isSaving$("assignee")))("aria-label",a.description),z(3),Lf(" ",a.displayText," "))},yab=function(a){a&1&&(J(0),O(1,xab,4,11,"div",82),R(2,"async"),K());a&2&&(a=N(3),z(1),E("ngIf",S(2,1,a.issueAssigneeQuickAction$)))},zab=function(a){if(a&1){var b=u();F(0,"onedev-edit-field")(1,"onedev-field-label");P(2,"Assignee");H();F(3,"onedev-field-value",56);R(4,"async");F(5,"b-user-picker",77,78);
L("onHotkey",function(){w(b);var e=Kf(6);return y(e.openPopOver())})("emailChange",function(e){w(b);var g=N(2);return y(vab(g.editIssueService,g.issueId,e))});R(7,"async");R(8,"async");H();F(9,"div",79);O(10,wab,2,0,"div",80);R(11,"async");O(12,yab,3,3,"ng-container",0);R(13,"async");H()()()}if(a&2){a=N().ngIf;var c=N(),d;z(3);E("thinking",!!S(4,7,c.isSaving$("assignee")));z(2);E("hotkey",c.HOTKEYS.CHANGE_ASSIGNEE)("user",a.assigneeUser)("teamId",null!==(d=S(7,9,c.teamId$))&&void 0!==d?d:"")("disabled",
!S(8,11,c.hasAclToEdit$));z(5);E("ngIf",a.assigneeUser&&S(11,13,c.hasAclToEdit$));z(2);E("ngIf",c.defaultAssigneeQuickActionEnabled&&S(13,15,c.hasAclToEdit$))}},Bab=function(a){if(a&1){var b=u();J(0);F(1,"b-edit-field",84,85);L("valueChange",function(g){w(b);var h=Kf(2),l=N(2);return y(Aab(l,h,null!==g&&void 0!==g?g:""))});R(3,"async");R(4,"async");R(5,"async");H();K()}if(a&2){a=N().ngIf;var c=N(),d,e;z(1);E("name","verifier")("title","Verifier")("type",c.FieldType.TEXT)("value",a.verifier)("user",
null!==(d=a.verifierUser)&&void 0!==d?d:void 0)("isUser",!0)("readonly",!S(3,10,c.hasAclToEdit$))("disabled",!!S(4,12,c.isSaving$("verifier")))("showAvailability",!0)("teamId",null!==(e=S(5,14,c.teamId$))&&void 0!==e?e:"")}},Dab=function(a){if(a&1){var b=u();F(0,"onedev-edit-field")(1,"onedev-field-label");P(2,"Verifier");H();F(3,"onedev-field-value",56);R(4,"async");F(5,"b-user-picker",57);L("emailChange",function(e){w(b);var g=N(2);return y(Cab(g.editIssueService,g.issueId,e))});R(6,"async");R(7,
"async");H()()()}if(a&2){a=N().ngIf;var c=N(),d;z(3);E("thinking",!!S(4,4,c.isSaving$("verifier")));z(2);E("user",a.verifierUser)("teamId",null!==(d=S(6,6,c.teamId$))&&void 0!==d?d:"")("disabled",!S(7,8,c.hasAclToEdit$))}},Eab=function(a){a&1&&(F(0,"span"),P(1," Remove me "),H())},Fab=function(a){a&1&&(F(0,"span"),P(1," Add me "),H())},Hab=function(a){if(a&1){var b=u();F(0,"div",16);L("click",function(){w(b);var c=N(2);return y(Gab(c))})("keydown.enter",function(c){w(b);var d=N(2);Gab(d);c.stopPropagation();
c.preventDefault();return y()})("keydown.space",function(c){w(b);var d=N(2);Gab(d);c.stopPropagation();c.preventDefault();return y()});R(1,"async");R(2,"async");R(3,"async");R(4,"async");O(5,Eab,2,0,"span",0);R(6,"async");O(7,Fab,2,0,"span",0);R(8,"async");R(9,"async");H()}a&2&&(a=N(2),xf("disabled",!!S(1,7,a.isSaving$("collaborators"))),E("matTooltip",S(4,13,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),of("aria-disabled",!!S(2,9,a.isSaving$("collaborators")))("aria-label",
S(3,11,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),z(5),E("ngIf",S(6,15,a.isCurrentUserCollaborator$)),z(2),E("ngIf",!S(8,17,a.isCurrentUserCollaborator$)&&S(9,19,a.hasAclToEdit$)))},Iab=function(a){a&1&&(F(0,"span"),P(1," Un-CC me "),H())},Jab=function(a){a&1&&(F(0,"span"),P(1," CC me "),H())},Lab=function(a){if(a&1){var b=u();F(0,"div",16);L("click",function(){w(b);var c=N(2);return y(Kab(c))})("keydown.enter",function(c){w(b);var d=N(2);Kab(d);
c.stopPropagation();c.preventDefault();return y()})("keydown.space",function(c){w(b);var d=N(2);Kab(d);c.stopPropagation();c.preventDefault();return y()});R(1,"async");R(2,"async");R(3,"async");R(4,"async");O(5,Iab,2,0,"span",0);R(6,"async");O(7,Jab,2,0,"span",0);R(8,"async");R(9,"async");H()}a&2&&(a=N(2),xf("disabled",!!S(1,7,a.isSaving$("ccs"))),E("matTooltip",S(4,13,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),of("aria-disabled",!!S(2,9,a.isSaving$("ccs")))("aria-label",
S(3,11,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),z(5),E("ngIf",S(6,15,a.isCurrentUserCCd$)),z(2),E("ngIf",!S(8,17,a.isCurrentUserCCd$)&&S(9,19,a.isAllowedToEditCC$)))},Mab=function(a){a&1&&Cf(0)},Nab=function(a){a&1&&(J(0),O(1,Mab,1,0,"ng-container",48),K());if(a&2){N();var b=Kf(113);z(1);E("ngTemplateOutlet",b)}},Oab=function(a){a&1&&I(0,"b-list-field",86);if(a&2){a=N().ngIf;var b=N(2);E("readonly",!0)("defaultLineCount",3)("title","TaskFlow Workspaces")("type",b.ListFieldType.WORKSPACES)("values",
a)("tooltip","Links to TaskFlow workspaces this issue belongs to")}},Pab=function(a,b){a&1&&(J(0),O(1,Oab,1,6,"b-list-field",35),R(2,"async"),K());a&2&&(a=b.ngIf,b=N(2),z(1),E("ngIf",S(2,1,b.shouldDisplayWtdmUi$)&&a.length))},Qab=function(a){a&1&&I(0,"b-list-field",86);if(a&2){a=N().ngIf;var b=N();E("readonly",!0)("defaultLineCount",3)("title","Postmortems")("type",b.ListFieldType.POSTMORTEMS)("values",a.postmortems)("tooltip","Postmortems (auto-populated from a daily dump of Requiem)")}},Sab=function(a,
b){a&1&&(F(0,"div"),Cf(1,87),H());if(a&2){a=b.$implicit;N();var c=Kf(125);z(1);E("ngTemplateOutlet",c)("ngTemplateOutletContext",Rf(2,Rab,a))}},Uab=function(a){a&1&&Cf(0)},Vab=function(a){a&1&&(J(0),O(1,Uab,1,0,"ng-container",48),K());if(a&2){N();var b=Kf(123);z(1);E("ngTemplateOutlet",b)}},Wab=function(a){a&1&&I(0,"hr",88)},Xab=function(a){a&1&&Cf(0)},Yab=function(a){a&1&&(J(0),O(1,Xab,1,0,"ng-container",48),K());if(a&2){N(2);var b=Kf(109);z(1);E("ngTemplateOutlet",b)}},Zab=function(a){a&1&&Cf(0)},
$ab=function(a){a&1&&(J(0),O(1,Zab,1,0,"ng-container",48),K());if(a&2){N(2);var b=Kf(111);z(1);E("ngTemplateOutlet",b)}},abb=function(a){a&1&&Cf(0)},bbb=function(a){a&1&&(J(0),O(1,abb,1,0,"ng-container",48),K());if(a&2){N(2);var b=Kf(113);z(1);E("ngTemplateOutlet",b)}},cbb=function(a,b){a&1&&(F(0,"div"),Cf(1,87),H());if(a&2){a=b.$implicit;N(2);var c=Kf(125);z(1);E("ngTemplateOutlet",c)("ngTemplateOutletContext",Rf(2,Rab,a))}},dbb=function(a){a&1&&Cf(0)},ebb=function(a){a&1&&(J(0),O(1,dbb,1,0,"ng-container",
48),K());if(a&2){N(2);var b=Kf(123);z(1);E("ngTemplateOutlet",b)}},fbb=function(a){a&1&&(F(0,"collapsible-panel",89),R(1,"async"),O(2,Yab,2,1,"ng-container",0),R(3,"async"),O(4,$ab,2,1,"ng-container",0),R(5,"async"),O(6,bbb,2,1,"ng-container",0),R(7,"async"),O(8,cbb,2,4,"div",36),R(9,"async"),O(10,ebb,2,1,"ng-container",0),R(11,"async"),H());if(a&2){a=N(2);var b;E("titleWhenCollapsed",null!==(b=S(1,8,a.showHiddenFieldsLabel$))&&void 0!==b?b:"")("titleWhenExpanded","Hide additional fields");z(2);E("ngIf",
a.showSloStatus&&!S(3,10,a.isSloStatusPrimary$));z(2);E("ngIf",!S(5,12,a.isSeverityPrimary$));z(2);E("ngIf",a.showChangelists&&!S(7,14,a.isChangelistPrimary$));z(2);E("ngForOf",S(9,16,a.hiddenCustomFields$))("ngForTrackBy",a.trackCustomField);z(2);E("ngIf",!S(11,18,a.isForgottenFourPrimary$))}},gbb=function(a){if(a&1){var b=u();F(0,"b-issue-slo-box",91);L("onSloStartTimeChange",function(h){w(b);var l=N(3);return y(l.editIssueService.updateSloStartTime(l.issueId,h.date))})("onSloEndTimeChange",function(h){w(b);
var l=N(3);return y(l.editIssueService.updateSloEndTime(l.issueId,h.date))});R(1,"async");R(2,"async");R(3,"async");R(4,"async");H()}if(a&2){a=N(2).ngIf;var c=N(),d,e,g;E("sloStatus",null!==(d=S(1,7,c.sloStatus$))&&void 0!==d?d:void 0)("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloId",null!==(e=S(2,9,c.sloId$))&&void 0!==e?e:void 0)("componentId",a.componentId)("isEditable",!!S(3,11,c.hasAclToEdit$))("issueCreationTimestamp",null!==(g=S(4,13,c.createdTimeMicros$))&&void 0!==g?g:0)}},
hbb=function(a){a&1&&O(0,gbb,5,15,"ng-template",90);a&2&&(a=N(2),E("refreshable",a.refreshMonitor.getObservable()))},jbb=function(a){if(a&1){var b=u();F(0,"b-edit-field",92);L("valueChange",function(d){w(b);var e=N(2);return y(ibb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});R(1,"async");R(2,"async");H()}if(a&2){a=N().ngIf;var c=N();E("name","severity")("title","Severity")("type",c.FieldType.ENUM)("tooltip","Set severity, which reflects how much the issue affects the use of the product")("value",
a.severity)("choices",c.severityChoices)("readonly",!S(1,8,c.hasAclToEdit$))("disabled",!!S(2,10,c.isSaving$("severity")))}},kbb=function(a){if(a&1){var b=u();F(0,"insights-graph-btn",96);L("pressed",function(){w(b);var c=N(3).issueInsightsSidebarService;c.analytics.trackEvent(ao.SIDEBAR,"ingress-click");c.openSidebar("deployments");return y()});H()}},mbb=function(a){if(a&1){var b=u();F(0,"b-list-field",93);L("valuesChange",function(h){w(b);var l=N(2);return y(lbb(l.editIssueService,l.issueId,h.values))});
R(1,"async");R(2,"async");F(3,"div",94);O(4,kbb,1,0,"insights-graph-btn",95);R(5,"async");H()();I(6,"b-list-field",86);R(7,"async");R(8,"async");R(9,"async")}if(a&2){a=N().ngIf;var c=N(),d,e,g;E("readonly",!S(1,15,c.hasAclToEdit$))("defaultLineCount",3)("title","Changelists")("type",c.ListFieldType.CHANGELISTS)("values",a.changelist)("listFieldDisabled",!!S(2,17,c.isSaving$("changelists")));z(4);E("ngIf",S(5,19,c.issueInsightsSidebarService.shouldShowInsightsGraphButton$));z(2);xf("bv2-issue-metadata-error",
null==(d=S(7,21,c.pendingChangelists$))?null:d.hasError);E("readonly",!0)("defaultLineCount",3)("title","Pending Changelists")("type",c.ListFieldType.CHANGELISTS)("values",null!==(e=null==(e=S(8,23,c.pendingChangelists$))?null:e.cls)&&void 0!==e?e:Qf(27,aab))("tooltip",(null==(g=S(9,25,c.pendingChangelists$))?0:g.hasError)?"Error fetching pending CLs":"Pending changelists (auto-populated)")}},obb=function(a){if(a&1){var b=u();F(0,"b-edit-field",97);L("valueChange",function(d){w(b);var e=N(2);return y(nbb(e.editIssueService,
e.issueId,null!==d&&void 0!==d?d:""))});R(1,"csv");R(2,"async");R(3,"async");H()}if(a&2){a=N().ngIf;var c=N();E("name","foundInVersion")("title","Found In")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product affected by this issue (comma-separated list)")("value",S(1,8,a.foundInVersion))("readonly",!S(2,10,c.hasAclToEdit$))("disabled",!!S(3,12,c.isSaving$("foundInVersion")))}},qbb=function(a){if(a&1){var b=u();F(0,"b-edit-field",98);L("valueChange",function(d){w(b);
var e=N(2);return y(pbb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});R(1,"csv");R(2,"async");R(3,"async");H()}if(a&2){a=N().ngIf;var c=N();E("name","targetedToVersion")("title","Targeted To")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product in which the issue should be fixed (comma-separated list)")("value",S(1,8,a.targetedToVersion))("readonly",!S(2,10,c.hasAclToEdit$))("disabled",!!S(3,12,c.isSaving$("targetedToVersion")))}},sbb=function(a){if(a&
1){var b=u();F(0,"b-edit-field",97);L("valueChange",function(d){w(b);var e=N(2);return y(rbb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});R(1,"csv");R(2,"async");R(3,"async");H()}if(a&2){a=N().ngIf;var c=N();E("name","verifiedInVersion")("title","Verified In")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product in which the issue fix was verified (comma-separated list)")("value",S(1,8,a.verifiedInVersion))("readonly",!S(2,10,c.hasAclToEdit$))("disabled",
!!S(3,12,c.isSaving$("verifiedInVersion")))}},ubb=function(a){if(a&1){var b=u();F(0,"b-edit-field",99);L("valueChange",function(d){w(b);var e=N(2);return y(tbb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:!1))});R(1,"async");R(2,"async");H()}if(a&2){a=N().ngIf;var c=N();E("name","inProd")("title","In Prod")("type",c.FieldType.BOOL)("value",a.inProd)("tooltip","Set if this issue occurs in production")("readonly",!S(1,7,c.hasAclToEdit$))("disabled",!!S(2,9,c.isSaving$("inProd")))}},vbb=function(a){a&
1&&Cf(0)},wbb=function(a){a&1&&Cf(0)},xbb=function(a){a&1&&Cf(0)},ybb=function(a){a&1&&Cf(0)},zbb=function(a){a&1&&(F(0,"div",4),O(1,vbb,1,0,"ng-container",48),O(2,wbb,1,0,"ng-container",48),O(3,xbb,1,0,"ng-container",48),O(4,ybb,1,0,"ng-container",48),H());if(a&2){N();var b=Kf(115),c=Kf(117),d=Kf(119),e=Kf(121);z(1);E("ngTemplateOutlet",b);z(1);E("ngTemplateOutlet",c);z(1);E("ngTemplateOutlet",d);z(1);E("ngTemplateOutlet",e)}},Bbb=function(a,b){if(a&1){var c=u();F(0,"b-custom-field-editor",100);
L("save",function(e){var g=w(c).$implicit,h=N(2);return y(Abb(h.editIssueService,h.issueId,g.customFieldId,e))});R(1,"async");R(2,"async");H()}if(a&2){a=b.$implicit;b=N().ngIf;var d=N();E("issue",b)("field",a)("readonly",!S(1,4,d.hasAclToEdit$))("disabled",!!S(2,6,d.isSaving$(a.customFieldId)))}},Hbb=function(a,b){if(a&1){var c=u();J(0);O(1,X$a,2,1,"ng-container",0);R(2,"async");O(3,$$a,3,3,"ng-container",0);O(4,cab,3,3,"ng-container",0);R(5,"async");O(6,eab,6,16,"ng-container",1);O(7,gab,8,10,"ng-template",
null,2,gg);F(9,"b-edit-field",3);L("valueChange",function(G){w(c);var M=N();return y(Cbb(M.editIssueService,M.issueId,null!==G&&void 0!==G?G:""))});R(10,"async");R(11,"async");H();F(12,"div",4)(13,"b-edit-field",5);L("onHotkey",function(G){w(c);var M=N();(G=wl("P"+G))&&Dbb(M.editIssueService,M.issueId,G);return y()})("valueChange",function(G){w(c);var M=N();return y(Dbb(M.editIssueService,M.issueId,null!==G&&void 0!==G?G:""))});R(14,"async");R(15,"async");H();O(16,iab,2,1,"ng-container",0);R(17,"async");
H();F(18,"div",6)(19,"b-edit-field",7);L("valueChange",function(G){w(c);var M=N();return y(Ebb(M,null!==G&&void 0!==G?G:""))});R(20,"async");R(21,"async");R(22,"async");R(23,"async");H();O(24,kab,3,3,"ng-container",0);R(25,"async");H();F(26,"onedev-hovercard",null,8);O(28,lab,3,4,"b-issue-card",9);H();O(29,nab,4,9,"b-estimated-effort-row",10);R(30,"async");R(31,"async");F(32,"div",11)(33,"div",12)(34,"div",13)(35,"label");P(36,"Access");H()();F(37,"div",14)(38,"span",15);P(39);R(40,"async");H();F(41,
"div",16);L("click",function(){w(c);var G=N();return y(G.toggleAccessLimits())})("keydown.enter",function(G){w(c);var M=N();return y(M.toggleAccessLimitsWithKeystroke(G))})("keydown.space",function(G){w(c);var M=N();return y(M.toggleAccessLimitsWithKeystroke(G))});R(42,"async");R(43,"async");F(44,"span");P(45);R(46,"async");H()()()();F(47,"onedev-hovercard",null,17)(49,"div",18)(50,"div",19)(51,"span",20);P(52," Issue access level can only be set by Issue admins and it enables issue-level access control. ");
F(53,"a",21);P(54,"Learn more");H()()()()()();F(55,"div",22);R(56,"async");O(57,pab,8,1,"div",23);R(58,"async");F(59,"div",24);O(60,uab,7,18,"ng-container",1);O(61,zab,14,17,"ng-template",null,25,gg);H();O(63,Bab,6,16,"ng-container",1);O(64,Dab,8,10,"ng-template",null,26,gg);J(66);F(67,"b-collaborators-field",27,28);L("toggleAccessLimits",function(){w(c);var G=N();return y(G.toggleAccessLimits())})("valuesChange",function(G){w(c);var M=Kf(68),Q=N();return y(Fbb(Q,M,G.values))});R(69,"async");R(70,
"async");R(71,"async");F(72,"div",29);O(73,Hab,10,21,"div",30);R(74,"async");R(75,"async");R(76,"async");H()();F(77,"onedev-hovercard",null,31)(79,"div",18)(80,"div",19)(81,"span",20);P(82," Collaborators are users who are actively working on an issue. ");F(83,"a",32);P(84,"Learn more.");H()()()()();F(85,"b-list-field",33,34);L("valuesChange",function(G){w(c);var M=Kf(86),Q=N();return y(Gbb(Q,M,G.values))});R(87,"async");R(88,"async");R(89,"async");F(90,"div",29);O(91,Lab,10,21,"div",30);R(92,"async");
R(93,"async");R(94,"async");H()();K();H();O(95,Nab,2,1,"ng-container",0);R(96,"async");O(97,Pab,3,3,"ng-container",0);R(98,"async");O(99,Qab,1,6,"b-list-field",35);O(100,Sab,2,4,"div",36);R(101,"async");O(102,Vab,2,1,"ng-container",0);R(103,"async");O(104,Wab,1,0,"hr",37);R(105,"async");O(106,fbb,12,20,"collapsible-panel",38);R(107,"async");O(108,hbb,1,1,"ng-template",null,39,gg);O(110,jbb,3,12,"ng-template",null,40,gg);O(112,mbb,10,28,"ng-template",null,41,gg);O(114,obb,4,14,"ng-template",null,42,
gg);O(116,qbb,4,14,"ng-template",null,43,gg);O(118,sbb,4,14,"ng-template",null,44,gg);O(120,ubb,3,11,"ng-template",null,45,gg);O(122,zbb,5,4,"ng-template",null,46,gg);O(124,Bbb,3,8,"ng-template",null,47,gg);K()}if(a&2){a=b.ngIf;var d=Kf(8),e=Kf(27),g=Kf(48),h=Kf(62),l=Kf(65),q=Kf(78);b=N();var v,x,A;z(1);E("ngIf",b.showSloStatus&&S(2,79,b.isSloStatusPrimary$));z(2);E("ngIf",b.sessionIsInternal);z(1);E("ngIf",S(5,81,b.teamWarningType$));z(2);E("ngIf",!b.enablePeoplekitAc)("ngIfElse",d);z(3);E("name",
"type")("title","Type")("type",b.FieldType.ENUM)("value",a.type)("choices",b.typeChoices)("readonly",!S(10,83,b.hasAclToEdit$))("disabled",!!S(11,85,b.isSaving$("type")));z(4);E("name","priority")("title","Priority")("type",b.FieldType.ENUM)("tooltip","Set priority, which reflects how soon the issue should be fixed")("value",a.priority)("choices",b.priorityChoices)("hotkey",b.HOTKEYS.CHANGE_ISSUE_PRIORITY)("readonly",!S(14,87,b.hasAclToEdit$))("disabled",!!S(15,89,b.isSaving$("priority")));z(3);E("ngIf",
S(17,91,b.isSeverityPrimary$));z(3);E("name","status")("title","Status")("type",b.FieldType.ENUM)("value",a.status)("choices",null!==(v=S(20,93,b.statusChoices$))&&void 0!==v?v:Qf(155,aab))("readonly",!S(21,95,b.hasAclToEdit$))("disabled",!!S(22,97,b.isSaving$("status")))("onedevHovercardActive",!!S(23,99,b.canonicalIssueId$))("onedevHovercardTrigger",e);z(5);E("ngIf",S(25,101,b.hasAclToEdit$));z(5);E("ngIf",b.sessionIsInternal&&S(30,103,b.isEffortEnabled$)&&!S(31,105,b.isWithinExternalComponent$));
z(4);E("onedevHovercardTrigger",g)("onedevHovercardActive",!0)("onedevHovercardConfig",b.ACCESS_LIMITS_HOVERCARD_CONFIG);z(6);Mf(b.getAccessLimitLevelDisplay(S(40,107,b.accessLimitLevel$)));z(2);E("matTooltip",S(43,111,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)");of("aria-label",S(42,109,b.hasAclToAdmin$)?"Edit":"View");z(4);Lf(" ",S(46,113,b.hasAclToAdmin$)?"Edit":
"View"," ");z(8);E("href",b.documentationLinks.getIssueAccessLimit(),Ud);z(2);xf("implicit-access-box",S(56,115,b.isImplicitAccessEnabled$));z(2);E("ngIf",S(58,117,b.isImplicitAccessEnabled$));z(3);E("ngIf",!b.enablePeoplekitAc)("ngIfElse",h);z(3);E("ngIf",!b.enablePeoplekitAc)("ngIfElse",l);z(4);E("readonly",!S(69,119,b.hasAclToEdit$))("collaborators",a.collaborators)("collaboratorsUsers",a.collaboratorsUsers)("listFieldDisabled",!!S(70,121,b.isSaving$("collaborators")))("teamId",null!==(x=S(71,
123,b.teamId$))&&void 0!==x?x:"")("isCollapsible",!0)("onedevHovercardTrigger",q)("onedevHovercardActive",!0)("onedevHovercardConfig",b.COLLABORATORS_HOVERCARD_CONFIG);z(6);E("ngIf",S(74,125,b.isCurrentUserCollaborator$)||!S(75,127,b.isCurrentUserCollaborator$)&&S(76,129,b.hasAclToEdit$));z(12);Jf("collapsiblePanelTitle","",a.cc.length," ",1===a.cc.length?"user":"users","");E("defaultLineCount",5)("readonly",!S(87,131,b.isAllowedToEditCC$))("type",b.ListFieldType.USERCHIP)("isUser",!0)("values",a.cc)("users",
a.ccUsers)("listFieldDisabled",!!S(88,133,b.isSaving$("ccs")))("isCollapsible",!0)("isExpanded",!0)("teamId",null!==(A=S(89,135,b.teamId$))&&void 0!==A?A:"");z(6);E("ngIf",S(92,137,b.isCurrentUserCCd$)||!S(93,139,b.isCurrentUserCCd$)&&S(94,141,b.isAllowedToEditCC$));z(4);E("ngIf",b.showChangelists&&S(96,143,b.isChangelistPrimary$));z(2);E("ngIf",S(98,145,b.workspaces$));z(2);E("ngIf",!b.sessionIsExternal&&(null==a.postmortems?null:a.postmortems.length));z(1);E("ngForOf",S(101,147,b.visibleCustomFields$))("ngForTrackBy",
b.trackCustomField);z(2);E("ngIf",S(103,149,b.isForgottenFourPrimary$));z(2);E("ngIf",S(105,151,b.hasHiddenFields$));z(2);E("ngIf",S(107,153,b.hasHiddenFields$))}},Jbb=function(a){if(a&1){var b=u();J(0);F(1,"span");P(2);H();F(3,"button",24);L("click",function(){w(b);var c=N(2);return y(Ibb(c))});I(4,"mat-icon",25);H();K()}a&2&&(a=N().ngIf,z(1),of("title",a.snapshot[0].title),z(1),Lf(" ",a.snapshot[0].title," "),z(1),E("matTooltipShowDelay",500))},Kbb=function(a){if(a&1){var b=u();F(0,"button",31);
L("click",function(){w(b);var c=N(3);return y(Wp(c))});P(1,"Cancel");H()}},Lbb=function(a){a&1&&(J(0),P(1," Update title "),K())},Mbb=function(a){if(a&1){var b=u();J(0);F(1,"mat-form-field",26)(2,"textarea",27);L("ngModelChange",function(d){w(b);var e=N(2);return y(e.draftTitle=d)});H()();F(3,"div",28);O(4,Kbb,2,0,"button",29);F(5,"button",30);L("click",function(){w(b);var d=N(2);return y(d.saveTitle())});O(6,Lbb,2,0,"ng-container",10);H()();K()}if(a&2){a=N(2);var c=Kf(13);z(2);E("cdkTextareaAutosize",
!0)("cdkAutosizeMinRows",2)("ngModel",a.draftTitle)("bFocus",!0);z(2);E("ngIf",!a.isSavingTitle);z(1);E("disabled",a.isSavingTitle);z(1);E("ngIf",!a.isSavingTitle)("ngIfElse",c)}},Nbb=function(a){a&1&&(F(0,"button",32),I(1,"mat-icon",33),H());a&2&&(a=N().ngIf,Hf("routerLink","/issues/",a.issueId,""))},Obb=function(a){if(a&1){var b=u();F(0,"button",39);L("click",function(){w(b);var c=N(3);return y(c.editStatusUpdate())});I(1,"mat-icon",25);H()}a&2&&E("matTooltipShowDelay",1E3)},Pbb=function(a){a&1&&
I(0,"mat-icon",40)},Qbb=function(a){a&1&&I(0,"mat-icon",41)},Rbb=function(a,b){a&1&&(I(0,"b-note-container",44),R(1,"async"));if(a&2){a=b.ngIf;b=N().ngIf;var c=N().ngIf,d=N(2),e;E("issueId",a)("note",b)("issueAccessLevel",S(1,4,d.accessLevel$))("formattingMode",null!==(e=c.formattingMode)&&void 0!==e?e:d.FormattingMode.PLAIN)}},Sbb=function(a,b){a&1&&(J(0),F(1,"div",42),O(2,Rbb,2,6,"b-note-container",43),R(3,"async"),H(),K());a&2&&(a=b.ngIf,b=N(3),z(2),E("ngIf",""!==a.unlinkifiedComment&&S(3,1,b.issueId$)))},
Tbb=function(a){if(a&1){var b=u();J(0);F(1,"div",34)(2,"div",35)(3,"div",18);I(4,"mat-icon",36);F(5,"span");P(6," STATUS UPDATE ");H();O(7,Obb,2,1,"button",37);R(8,"async");H();F(9,"button",38);L("click",function(){w(b);var c=N(2);return y(c.isStatusUpdateExpanded=!c.isStatusUpdateExpanded)});O(10,Pbb,1,0,"mat-icon",21);O(11,Qbb,1,0,"mat-icon",22);H()();O(12,Sbb,4,3,"ng-container",14);R(13,"async");H();K()}a&2&&(a=N(2),z(1),xf("area-expanded",a.isStatusUpdateExpanded),z(1),xf("card-expanded",a.isStatusUpdateExpanded),
z(5),E("ngIf",a.isStatusUpdateExpanded&&S(8,10,a.userCanEditStatusUpdate$)),z(2),E("matTooltipShowDelay",1E3),of("aria-expanded",a.isStatusUpdateExpanded),z(1),E("ngIf",!a.isStatusUpdateExpanded),z(1),E("ngIf",a.isStatusUpdateExpanded),z(1),E("ngIf",a.isStatusUpdateExpanded&&S(13,12,a.statusUpdateNote$)))},Vbb=function(a){if(a&1){var b=u();F(0,"button",49);L("click",function(){w(b);var c=N(3);return y(Ubb(c))});I(1,"mat-icon",25);H()}a&2&&E("matTooltipShowDelay",1E3)},Wbb=function(a){a&1&&I(0,"mat-icon",
40)},Xbb=function(a){a&1&&I(0,"mat-icon",41)},Ybb=function(a,b){a&1&&(I(0,"b-note-container",44),R(1,"async"));if(a&2){a=b.ngIf;b=N().ngIf;var c=N(2).ngIf,d=N(2),e;E("issueId",a)("note",b)("issueAccessLevel",S(1,4,d.accessLevel$))("formattingMode",null!==(e=c[0].formattingMode)&&void 0!==e?e:d.FormattingMode.PLAIN)}},Zbb=function(a,b){a&1&&(J(0),O(1,Ybb,2,6,"b-note-container",43),R(2,"async"),K());a&2&&(a=b.ngIf,b=N(4),z(1),E("ngIf",""!==a.unlinkifiedComment&&S(2,1,b.issueId$)))},$bb=function(a){a&
1&&(F(0,"div",52),P(1,"No description added"),H())},acb=function(a){a&1&&(J(0),F(1,"div",50),O(2,Zbb,3,3,"ng-container",10),R(3,"async"),R(4,"async"),O(5,$bb,2,0,"ng-template",null,51,gg),H(),K());if(a&2){var b=Kf(6);a=N(3);z(2);E("ngIf",!S(3,2,a.isDescriptionEmpty$)&&S(4,4,a.firstNote$))("ngIfElse",b)}},bcb=function(a){if(a&1){var b=u();J(0);F(1,"div",45)(2,"div",35)(3,"div",18);I(4,"mat-icon",46);F(5,"span");P(6,"DESCRIPTION");H();O(7,Vbb,2,1,"button",47);R(8,"async");H();F(9,"button",48);L("click",
function(){w(b);var c=N(2);return y(c.isDescriptionExpanded=!c.isDescriptionExpanded)});O(10,Wbb,1,0,"mat-icon",21);O(11,Xbb,1,0,"mat-icon",22);H()();O(12,acb,7,6,"ng-container",14);H();K()}a&2&&(a=N(2),z(1),xf("area-expanded",a.isDescriptionExpanded),z(1),xf("card-expanded",a.isDescriptionExpanded),z(5),E("ngIf",a.isDescriptionExpanded&&S(8,10,a.userCanEditDescription$)),z(2),E("matTooltipShowDelay",1E3),of("aria-expanded",a.isDescriptionExpanded),z(1),E("ngIf",!a.isDescriptionExpanded),z(1),E("ngIf",
a.isDescriptionExpanded),z(1),E("ngIf",a.isDescriptionExpanded))},ccb=function(a){a&1&&I(0,"mat-icon",40)},dcb=function(a){a&1&&I(0,"mat-icon",41)},ecb=function(a){a&1&&(F(0,"div",53),I(1,"edit-issue-metadata",54),H());a&2&&(a=N().ngIf,z(1),E("issueId",a.issueId))},fcb=function(a){if(a&1){var b=u();J(0);F(1,"div",12)(2,"div",13);O(3,Jbb,5,3,"ng-container",14);O(4,Mbb,7,8,"ng-container",14);H();O(5,Nbb,2,1,"button",15);H();O(6,Tbb,14,14,"ng-container",14);R(7,"async");O(8,bcb,13,12,"ng-container",
10);R(9,"async");F(10,"div",16)(11,"div",17)(12,"div",18);I(13,"mat-icon",19);F(14,"span");P(15,"FIELDS");H()();F(16,"button",20);L("click",function(){w(b);var d=N();return y(d.isFieldsExpanded=!d.isFieldsExpanded)});O(17,ccb,1,0,"mat-icon",21);O(18,dcb,1,0,"mat-icon",22);H()();O(19,ecb,2,1,"div",23);H();K()}if(a&2){a=N();var c=Kf(13);z(3);E("ngIf",!a.editTitleMode);z(1);E("ngIf",a.editTitleMode);z(1);E("ngIf",!a.editTitleMode);z(1);E("ngIf",S(7,15,a.statusUpdate$));z(2);E("ngIf",S(9,17,a.events$))("ngIfElse",
c);z(2);xf("area-expanded",a.isFieldsExpanded);z(1);xf("card-expanded",a.isFieldsExpanded);z(5);E("matTooltipShowDelay",1E3);of("aria-expanded",a.isFieldsExpanded);z(1);E("ngIf",!a.isFieldsExpanded);z(1);E("ngIf",a.isFieldsExpanded);z(1);E("ngIf",a.isFieldsExpanded)}},gcb=function(a){a&1&&(F(0,"div",55),I(1,"b-spinner"),H())},hcb=function(a){a&1&&(J(0),P(1," This issue has not been modified since "),I(2,"b-formatted-date-time",4),P(3," and is scheduled for deletion on "),F(4,"strong"),I(5,"b-formatted-date-time",
4),H(),P(6,". "),K());a&2&&(a=N(2),z(2),E("mode","date")("timestamp",a.modifiedTime),z(3),E("mode","date")("timestamp",a.retentionExpireTime))},icb=function(a){a&1&&P(0," This issue is retained indefinitely. ")},jcb=function(a){a&1&&(J(0),O(1,hcb,7,4,"ng-container",1),O(2,icb,1,0,"ng-template",null,2,gg),F(4,"a",3),P(5,"Learn more"),H(),K());if(a&2){var b=Kf(3);a=N();z(1);E("ngIf",a.retentionState.retentionPeriod)("ngIfElse",b);z(3);E("href",a.documentationLink,Ud)}},kcb=function(a){a&1&&(F(0,"b-base-chip",
1)(1,"div",2),I(2,"retention-text",3),H(),F(3,"div",4),I(4,"retention-help-text",5),H()());a&2&&(a=N(),E("compactMode",a.compactMode)("labelClass",a.dangerZone?"danger":"expiring")("labelOnlyMode",a.labelOnlyMode),z(2),E("retentionState",a.retentionState)("compactMode",a.compactMode),z(2),E("retentionState",a.retentionState)("modifiedTime",a.modifiedTime))},lcb=function(a){var b=void 0===b?new Date:b;var c=Cl(rn(a.scheduledDeletionTime));b=b.getTime();a=(a=Wza(a.retentionPeriod))?1E3*a.getSeconds()+
(a.getNanos()||0)/1E6:0;return b>=c-Math.max(12096E5,.2*a)},mcb=function(a){if(a&1){var b=u();F(0,"div",2);L("click",function(){w(b);var c=N();return y(c._onBackdropClicked())});H()}a&2&&(a=N(),xf("mat-drawer-shown",a._isShowingBackdrop()))},ncb=function(a){a&1&&(F(0,"mat-drawer-content"),Gf(1,2),H())},ocb=function(){return!1},pcb=function(a){if(a&1){var b=u();F(0,"div",2);L("click",function(){w(b);var c=N();return y(c._onBackdropClicked())});H()}a&2&&(a=N(),xf("mat-drawer-shown",a._isShowingBackdrop()))},
qcb=function(a){a&1&&(F(0,"mat-sidenav-content"),Gf(1,2),H())},tcb=function(a){if(a&1){var b=u();F(0,"mat-sidenav",25)(1,"issue-sidebar",26);L("closeSidebar",function(){w(b);var d=N();return y(d.isIssueSidebarOpen=!1)})("navigateToNextIssue",function(){w(b);var d=N();return y(rcb(d))})("navigateToPreviousIssue",function(){w(b);var d=N();return y(scb(d))});H()()}if(a&2){a=N();var c;E("opened",a.isIssueSidebarOpen);z(1);E("issueId",null==(c=a.getFocusedIssue())?null:c.issueId)}},ucb=function(a){a&1&&
Cf(0)},vcb=function(a,b){a&1&&(F(0,"th",27),O(1,ucb,1,0,"ng-container",28),H());a&2&&(a=b.column,b=N(),of("data-stable-column-name",a.name),z(1),E("ngIf",b.isIssueGridColumn(a)))},wcb=function(a){a&1&&Cf(0)},xcb=function(a,b){a&1&&(F(0,"th",29),O(1,wcb,1,0,"ng-container",28),H());a&2&&(a=b.column,b=N(),of("data-stable-column-name",a.name),z(1),E("ngIf",b.isIssueGridColumn(a)))},zcb=function(a){if(a&1){var b=u();J(0);F(1,"mat-pseudo-checkbox",31);L("click",function(c){w(b);var d=N(2);c.stopPropagation();
return y(d.toggleAllIssueSelection())})("keydown.enter",function(c){w(b);var d=N(2);c.stopPropagation();return y(d.toggleAllIssueSelection())})("keydown.space",function(c){w(b);var d=N(2);c.stopPropagation();return y(d.toggleAllIssueSelection())});H();K()}a&2&&(a=N(2),z(1),E("state",a.getHeaderCheckboxState()),of("aria-checked",ycb(a)))},Acb=function(a,b){a&1&&(F(0,"th",30),O(1,zcb,2,2,"ng-container",28),H());a&2&&(a=b.column,b=N(),of("data-stable-column-name",a.name),z(1),E("ngIf",b.isIssueGridColumn(a)))},
Bcb=function(a){a&1&&Cf(0)},Ccb=function(a,b){a&1&&(F(0,"th"),O(1,Bcb,1,0,"ng-container",28),H());a&2&&(a=b.column,b=N(),of("data-stable-column-name",a.name),z(1),E("ngIf",b.isIssueGridColumn(a)))},Dcb=function(a){a&1&&(J(0),I(1,"pop-grid-default-th",32),K());a&2&&(a=N().column,z(1),E("column",a))},Ecb=function(a,b){a&1&&(F(0,"th"),O(1,Dcb,2,1,"ng-container",28),H());a&2&&(a=b.column,b=N(),of("data-stable-column-name",a.name),z(1),E("ngIf",b.isIssueGridColumn(a)))},Fcb=function(a){if(a&1){var b=u();
F(0,"b-column-picker",35);L("selectedColumnsChange",function(d){w(b);var e=N(3);e.columns=d;e.columnsChange.emit(d);e.cdr.detectChanges();return y()});H()}if(a&2){a=N(2).column;var c=N();E("column",a)("availableColumns",c.availableColumns)("selectedColumns",c.columns)}},Gcb=function(a){a&1&&I(0,"pop-grid-default-th",32);a&2&&(a=N(2).column,E("column",a))},Hcb=function(a){a&1&&(J(0),O(1,Fcb,1,3,"b-column-picker",33),O(2,Gcb,1,1,"pop-grid-default-th",34),K());a&2&&(a=N(2),z(1),E("ngIf",a.enableColumnSaving),
z(1),E("ngIf",!a.enableColumnSaving))},Icb=function(a,b){a&1&&(F(0,"th"),O(1,Hcb,3,2,"ng-container",28),H());a&2&&(a=b.column,b=N(),of("data-stable-column-name",a.name),z(1),E("ngIf",b.isIssueGridColumn(a)))},Jcb=function(a){a&1&&Cf(0)},Kcb=function(a){a&1&&(F(0,"td",27),O(1,Jcb,1,0,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Lcb=function(a){a&1&&Cf(0)},Mcb=function(a){a&1&&(F(0,"td",36),O(1,Lcb,1,0,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Ncb=function(a){if(a&1){var b=u();
J(0);F(1,"mat-pseudo-checkbox",37);L("click",function(c){w(b);var d=N(),e=d.index;d=d.row;var g=N();c.stopPropagation();return y(g.onCheckboxClicked(c,e,d))});H();K()}a&2&&(a=N().row,z(1),E("state",a.selected?"checked":"unchecked"),of("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},Ocb=function(a){a&1&&(F(0,"td",30),O(1,Ncb,2,3,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Pcb=function(a){if(a&1){var b=u();J(0);F(1,"b-star-toggle",39);L("starClicked",function(){w(b);var d=
N().row,e=N();return y(e.toggleStar(d))});H();K()}if(a&2){a=N().row;var c=N();z(1);E("starred",a.starred)("disabled",c.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue")}},Qcb=function(a){a&1&&(F(0,"td",38),O(1,Pcb,2,4,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Rcb=function(a){a&1&&(J(0),F(1,"span"),P(2),H(),K());a&2&&(a=N().row,z(1),of("title",a.position),z(1),Lf(" ",a.position," "))},Scb=function(a){a&1&&(F(0,"td"),O(1,Rcb,3,2,"ng-container",
28),H());a&2&&(N(),z(1),E("ngIf",!0))},Tcb=function(a){a&1&&(J(0),F(1,"a",44),P(2),H(),K());if(a&2){a=N(2).row;var b=N();z(1);E("href",b.paths.editIssue(a.issueId),Ud);of("title",a.title);z(1);Lf(" ",a.issueId," ")}},Ucb=function(a){a&1&&(J(0),F(1,"b-issue-id-picker",45),L("click",function(b){return b.stopPropagation()}),H(),K());a&2&&(a=N(2).row,z(1),E("issueId",a.issueId)("showCopyOptions",!1),of("title",a.title))},Vcb=function(a){a&1&&(J(0)(1,41),O(2,Tcb,3,3,"ng-container",42),O(3,Ucb,2,3,"ng-container",
43),K()());a&2&&(a=N(2),z(1),E("ngSwitch",null==a.listViewPrefs?null:null==a.listViewPrefs.modeForField?null:a.listViewPrefs.modeForField.id),z(2),E("ngSwitchCase","copy"))},Wcb=function(a){a&1&&(F(0,"td",40),O(1,Vcb,4,2,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Xcb=function(a){a&1&&I(0,"archived-issue-indicator")},Ycb=function(a,b){a&1&&I(0,"b-hotlist-chip-smart",56);a&2&&E("id",b.$implicit)("removable",!1)},Zcb=function(a){a&1&&(F(0,"div",54),O(1,Ycb,1,2,"b-hotlist-chip-smart",55),H());
a&2&&(a=N(2).row,z(1),E("ngForOf",a.hotlistId))},$cb=function(a){a&1&&(J(0),F(1,"div",47),O(2,Xcb,1,0,"archived-issue-indicator",28),I(3,"b-access-level-indicator",48)(4,"b-tracker-chip-smart",49)(5,"b-retention-chip",50),F(6,"div",51)(7,"a",52),P(8),H()(),O(9,Zcb,2,1,"div",53),H(),K());if(a&2){a=N().row;var b=N();z(1);xf("bv2-grid-cell-flex-wrap",b.listViewPrefs&&b.listViewPrefs.wrapTitles);z(1);E("ngIf",a.archived);z(1);E("accessLevel",a.accessLevel)("compactMode",!0);z(1);E("trackerId",a.trackerId)("compactMode",
!0);z(1);E("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);z(2);E("href",b.paths.editIssue(a.issueId),Ud);of("title",a.title);z(1);Lf(" ",a.title," ");z(1);E("ngIf",b.listViewPrefs&&b.listViewPrefs.showHotlists)}},adb=function(a){a&1&&(F(0,"td",46),O(1,$cb,10,15,"ng-container",28),H());a&2&&(a=N(),xf("bv2-grid-cell-variable-height",a.listViewPrefs&&a.listViewPrefs.wrapTitles),z(1),E("ngIf",!0))},cdb=function(a){a&1&&(J(0),F(1,"div",58),
P(2),H(),K());if(a&2){a=N().row;var b=N();z(1);E("ngClass",Tf(bdb,b.isLowPriority(a),b.isHighPriority(a),b.isP0Priority(a)));z(1);Lf(" P",a.priority," ")}},ddb=function(a){a&1&&(F(0,"td",57),O(1,cdb,3,6,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},edb=function(a){a&1&&(J(0),F(1,"div",58),P(2),H(),K());a&2&&(a=N().row,N(),z(1),E("ngClass",Tf(bdb,2<=Number(a.severity),2>Number(a.severity),0===Number(a.severity))),z(1),Lf(" S",a.severity," "))},fdb=function(a){a&1&&(F(0,"td",59),O(1,edb,3,6,
"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},gdb=function(a){a&1&&I(0,"mat-icon",64);if(a&2){a=N().$implicit;var b=N(3);E("svgIcon",b.STATUS_ICON[a])}},hdb=function(a){a&1&&(J(0),P(1),K());if(a&2){a=N().$implicit;var b=N(3);z(1);Mf(b.STATUS_TERSE[a])}},idb=function(a){a&1&&(F(0,"span"),P(1),H());if(a&2){a=N().$implicit;var b=N(3);Af("chippy status-",a," margin-left-auto");z(1);Lf(" ",b.STATUS_TERSE[a]," ")}},jdb=function(a,b){a&1&&(J(0),F(1,"span",61),O(2,gdb,1,1,"mat-icon",62),O(3,hdb,2,
1,"ng-container",43),O(4,idb,2,4,"span",63),H(),K());a&2&&(a=b.$implicit,b=N(3),z(1),E("ngSwitch",null==b.listViewPrefs?null:null==b.listViewPrefs.fieldStatus?null:b.listViewPrefs.fieldStatus.mode)("title",b.STATUS_FULL_TEXT[a]===b.STATUS_TERSE[a]?"":b.STATUS_FULL_TEXT[a]),z(1),E("ngSwitchCase","icon"),z(1),E("ngSwitchCase","plain"))},kdb=function(a){a&1&&(J(0),O(1,jdb,5,4,"ng-container",28),K());if(a&2){a=N().row;var b=N();z(1);E("ngIf",b.convertIssueStatusStrToTag(a.status))}},ldb=function(a){a&
1&&(F(0,"td",60),O(1,kdb,2,1,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},mdb=function(a){a&1&&(J(0),P(1),R(2,"enumToHuman"),K());a&2&&(a=N().row,z(1),Lf(" ",S(2,1,a.type)," "))},ndb=function(a){a&1&&(F(0,"td",65),O(1,mdb,3,3,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},odb=function(a){a&1&&(F(0,"b-person-hovercard",68),R(1,"omitObfuscatedEmail"),P(2),H());a&2&&(a=N(2).row,E("email",S(1,2,a.reporter)),z(2),Lf(" ",a.reporter," "))},pdb=function(a){a&1&&(F(0,"span"),P(1,"--"),H())},
qdb=function(a){a&1&&(J(0),O(1,odb,3,4,"b-person-hovercard",67),R(2,"omitObfuscatedEmail"),O(3,pdb,2,0,"span",28),K());a&2&&(a=N().row,z(1),E("ngIf",S(2,2,a.reporter)),z(2),E("ngIf",!a.reporter))},rdb=function(a){a&1&&(F(0,"td",66),O(1,qdb,4,4,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},sdb=function(a){a&1&&(F(0,"b-person-hovercard",68),R(1,"omitObfuscatedEmail"),P(2),H());a&2&&(a=N(2).row,E("email",S(1,2,a.assignee)),z(2),Lf(" ",a.assignee," "))},tdb=function(a){a&1&&(F(0,"span"),P(1,"--"),
H())},udb=function(a){a&1&&(J(0),O(1,sdb,3,4,"b-person-hovercard",67),R(2,"omitObfuscatedEmail"),O(3,tdb,2,0,"span",28),K());a&2&&(a=N().row,z(1),E("ngIf",S(2,2,a.assignee)),z(2),E("ngIf",!a.assignee))},vdb=function(a){a&1&&(F(0,"td",66),O(1,udb,4,4,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},wdb=function(a){a&1&&(F(0,"b-person-hovercard",68),R(1,"omitObfuscatedEmail"),P(2),H());a&2&&(a=N(2).row,E("email",S(1,2,a.verifier)),z(2),Lf(" ",a.verifier," "))},xdb=function(a){a&1&&(F(0,"span"),
P(1,"--"),H())},ydb=function(a){a&1&&(J(0),O(1,wdb,3,4,"b-person-hovercard",67),R(2,"omitObfuscatedEmail"),O(3,xdb,2,0,"span",28),K());a&2&&(a=N().row,z(1),E("ngIf",S(2,2,a.verifier)),z(2),E("ngIf",!a.verifier))},zdb=function(a){a&1&&(F(0,"td",66),O(1,ydb,4,4,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Adb=function(a){a&1&&(J(0),F(1,"span"),R(2,"arrayToHuman"),P(3),R(4,"arrayToHuman"),H(),K());a&2&&(a=N().row,z(1),of("title",S(2,2,a.cc)),z(2),Lf(" ",S(4,4,a.cc)," "))},Bdb=function(a){a&
1&&(F(0,"td",66),O(1,Adb,5,6,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Cdb=function(a){a&1&&(J(0),F(1,"span"),R(2,"arrayToHuman"),P(3),R(4,"arrayToHuman"),H(),K());a&2&&(a=N().row,z(1),of("title",S(2,2,a.changelist)),z(2),Lf(" ",S(4,4,a.changelist)," "))},Ddb=function(a){a&1&&(F(0,"td",66),O(1,Cdb,5,6,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Edb=function(a){a&1&&(J(0),F(1,"span"),R(2,"arrayToHuman"),P(3),R(4,"arrayToHuman"),H(),K());a&2&&(a=N().row,z(1),of("title",S(2,2,a.postmortem)),
z(2),Lf(" ",S(4,4,a.postmortem)," "))},Fdb=function(a){a&1&&(F(0,"td",66),O(1,Edb,5,6,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Gdb=function(a){a&1&&Cf(0)},Hdb=function(a){a&1&&(F(0,"span"),P(1,", "),H())},Jdb=function(a,b){a&1&&(J(0),O(1,Gdb,1,0,"ng-container",70),O(2,Hdb,2,0,"span",28),K());if(a&2){a=b.$implicit;b=b.last;N(3);var c=Kf(52);z(1);E("ngTemplateOutlet",c)("ngTemplateOutletContext",Rf(3,Idb,a));z(1);E("ngIf",!b)}},Kdb=function(a){a&1&&(J(0),O(1,Jdb,3,5,"ng-container",69),
K());a&2&&(a=N().row,z(1),E("ngForOf",a.blockingIssueId))},Ldb=function(a){a&1&&(F(0,"td",66),O(1,Kdb,2,1,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Mdb=function(a){a&1&&Cf(0)},Ndb=function(a){a&1&&(F(0,"span"),P(1,", "),H())},Odb=function(a,b){a&1&&(J(0),O(1,Mdb,1,0,"ng-container",70),O(2,Ndb,2,0,"span",28),K());if(a&2){a=b.$implicit;b=b.last;N(3);var c=Kf(52);z(1);E("ngTemplateOutlet",c)("ngTemplateOutletContext",Rf(3,Idb,a));z(1);E("ngIf",!b)}},Pdb=function(a){a&1&&(J(0),O(1,Odb,3,5,
"ng-container",69),K());a&2&&(a=N().row,z(1),E("ngForOf",a.blockedByIssueId))},Qdb=function(a){a&1&&(F(0,"td",66),O(1,Pdb,2,1,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Rdb=function(a){a&1&&Cf(0)},Sdb=function(a){a&1&&(J(0),O(1,Rdb,1,0,"ng-container",70),K());if(a&2){a=N(2).row;N();var b=Kf(52);z(1);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Rf(2,Idb,a.duplicateOfIssueId))}},Tdb=function(a){a&1&&(J(0),O(1,Sdb,2,4,"ng-container",28),K());a&2&&(a=N().row,z(1),E("ngIf",a.duplicateOfIssueId))},
Udb=function(a){a&1&&(F(0,"td",66),O(1,Tdb,2,1,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Vdb=function(a){a&1&&(J(0),I(1,"b-formatted-date-time",72),K());a&2&&(a=N().row,z(1),E("timestamp",a.createdTime))},Wdb=function(a){a&1&&(F(0,"td",71),O(1,Vdb,2,1,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Xdb=function(a){a&1&&(J(0),I(1,"b-formatted-date-time",72),K());a&2&&(a=N().row,z(1),E("timestamp",a.modifiedTime))},Ydb=function(a){a&1&&(F(0,"td",71),O(1,Xdb,2,1,"ng-container",28),
H());a&2&&(N(),z(1),E("ngIf",!0))},Zdb=function(a){a&1&&(J(0),I(1,"b-formatted-date-time",72),K());a&2&&(a=N().row,z(1),E("timestamp",a.resolvedTime))},$db=function(a){a&1&&(F(0,"td",71),O(1,Zdb,2,1,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},aeb=function(a){a&1&&(J(0),I(1,"b-formatted-date-time",72),K());a&2&&(a=N().row,z(1),E("timestamp",a.verifiedTime))},beb=function(a){a&1&&(F(0,"td",71),O(1,aeb,2,1,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},ceb=function(a){a&1&&(J(0),F(1,
"span"),R(2,"arrayToHuman"),P(3),R(4,"arrayToHuman"),H(),K());a&2&&(a=N().row,z(1),of("title",S(2,2,a.foundInVersion)),z(2),Lf(" ",S(4,4,a.foundInVersion)," "))},deb=function(a){a&1&&(F(0,"td",66),O(1,ceb,5,6,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},eeb=function(a){a&1&&(J(0),F(1,"span"),R(2,"arrayToHuman"),P(3),R(4,"arrayToHuman"),H(),K());a&2&&(a=N().row,z(1),of("title",S(2,2,a.targetedToVersion)),z(2),Lf(" ",S(4,4,a.targetedToVersion)," "))},feb=function(a){a&1&&(F(0,"td",66),O(1,
eeb,5,6,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},geb=function(a){a&1&&(J(0),F(1,"span"),R(2,"arrayToHuman"),P(3),R(4,"arrayToHuman"),H(),K());a&2&&(a=N().row,z(1),of("title",S(2,2,a.verifiedInVersion)),z(2),Lf(" ",S(4,4,a.verifiedInVersion)," "))},heb=function(a){a&1&&(F(0,"td",66),O(1,geb,5,6,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},ieb=function(a){a&1&&(J(0),P(1),R(2,"yesNo"),K());a&2&&(a=N().row,z(1),Lf(" ",S(2,1,a.inProd)," "))},jeb=function(a){a&1&&(F(0,"td",66),O(1,
ieb,3,3,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},keb=function(a){a&1&&(J(0),P(1),R(2,"yesNo"),K());a&2&&(a=N().row,z(1),Lf(" ",S(2,1,a.archived)," "))},leb=function(a){a&1&&(F(0,"td",66),O(1,keb,3,3,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},meb=function(a){a&1&&(J(0),F(1,"div",47)(2,"div",51)(3,"span"),P(4),H()()(),K());if(a&2){a=N().row;var b=N();z(3);of("title",b.getComponentPath(a.componentPath));z(1);Mf(b.getComponentPath(a.componentPath))}},oeb=function(a){a&1&&(F(0,
"td",73),O(1,meb,5,2,"ng-container",28),H());if(a&2){a=N();var b;var c=!(null==(b=a.listViewPrefs)||!b.rtlComponentPath);E("ngClass",Sf(2,neb,a.listViewPrefs&&a.listViewPrefs.wrapComponents,c));z(1);E("ngIf",!0)}},peb=function(a){a&1&&(F(0,"slo-status-card",76),I(1,"b-aggregated-slo-status-indicator",77),H());a&2&&(a=N(2).row,E("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime),z(1),E("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime))},qeb=function(a){a&1&&(J(0),O(1,peb,
2,5,"slo-status-card",75),K());a&2&&(a=N().row,z(1),E("ngIf",a.sloStatus))},reb=function(a){a&1&&(F(0,"td",74),O(1,qeb,2,1,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},seb=function(a){a&1&&(F(0,"slo-status-card",79),I(1,"b-slo-time-indicator",80),H());a&2&&(a=N(2).row,E("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","RESPONSE"),z(1),E("sloBounds",a.sloStatus.responseBounds))},teb=function(a){a&1&&(J(0),O(1,seb,2,5,"slo-status-card",78),K());a&2&&
(a=N().row,z(1),E("ngIf",a.sloStatus))},ueb=function(a){a&1&&(F(0,"td",74),O(1,teb,2,1,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},veb=function(a){a&1&&(F(0,"slo-status-card",79),I(1,"b-slo-time-indicator",80),H());a&2&&(a=N(2).row,E("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","ASSIGNMENT"),z(1),E("sloBounds",a.sloStatus.assignmentBounds))},web=function(a){a&1&&(J(0),O(1,veb,2,5,"slo-status-card",78),K());a&2&&(a=N().row,z(1),E("ngIf",a.sloStatus))},
xeb=function(a){a&1&&(F(0,"td",74),O(1,web,2,1,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},yeb=function(a){a&1&&(F(0,"slo-status-card",79),I(1,"b-slo-time-indicator",80),H());a&2&&(a=N(2).row,E("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","CLOSURE"),z(1),E("sloBounds",a.sloStatus.closureBounds))},zeb=function(a){a&1&&(J(0),O(1,yeb,2,5,"slo-status-card",78),K());a&2&&(a=N().row,z(1),E("ngIf",a.sloStatus))},Aeb=function(a){a&1&&(F(0,"td",74),O(1,
zeb,2,1,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Beb=function(a,b){a&1&&I(0,"b-formatted-date-time",82);a&2&&(a=b.$implicit,N(3),E("timestamp",1E3*a.seconds))},Ceb=function(a){a&1&&(J(0),O(1,Beb,1,1,"b-formatted-date-time",81),K());a&2&&(a=N().row,z(1),E("ngIf",null==a.retentionState?null:a.retentionState.scheduledDeletionTime))},Deb=function(a){a&1&&(F(0,"td",66),O(1,Ceb,2,1,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Eeb=function(a){a&1&&I(0,"div",84)},Feb=function(a){a&1&&
(F(0,"div"),I(1,"b-team-display",85),H());a&2&&(a=N(2).row,z(1),E("teamId",a.teamId.toString())("componentId",a.componentId.toString())("anchorLinkEnabled",!1))},Geb=function(a){a&1&&(J(0),O(1,Eeb,1,0,"div",83),O(2,Feb,2,3,"div",28),K());a&2&&(a=N(2),z(1),E("ngIf",a.isLoadingTeams),z(1),E("ngIf",!a.isLoadingTeams))},Heb=function(a){a&1&&(F(0,"td",66),O(1,Geb,3,2,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Ieb=function(a){a&1&&(J(0),P(1),K());a&2&&(a=N().row,z(1),Lf(" ",null==a.effort?null:
a.effort.estimate," "))},Jeb=function(a){a&1&&(F(0,"td",66),O(1,Ieb,2,1,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Keb=function(a){a&1&&(J(0),P(1),K());if(a&2){a=N().row;var b=N();z(1);Lf(" ",b.isTotalEstimatesEnabled?(null==a.effort?null:a.effort.totalOpen)||"":""," ")}},Leb=function(a){a&1&&(F(0,"td",66),O(1,Keb,2,1,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Meb=function(a){a&1&&(J(0),P(1),K());if(a&2){a=N().row;var b=N();z(1);Lf(" ",b.isTotalEstimatesEnabled?(null==a.effort?
null:a.effort.totalComplete)||"":""," ")}},Neb=function(a){a&1&&(F(0,"td",66),O(1,Meb,2,1,"ng-container",28),H());a&2&&(N(),z(1),E("ngIf",!0))},Oeb=function(a){a&1&&I(0,"b-issue-card",89,90);if(a&2){var b=Kf(1);a=N().id;E("onedevIsHovercardReady",b.init)("issueId",a)}},Peb=function(a,b){a&1&&(F(0,"onedev-hovercard",null,86),O(2,Oeb,2,2,"b-issue-card",87),H(),F(3,"span",88),P(4),H());if(a&2){a=b.id;var c=Kf(1);z(3);E("onedevHovercardTrigger",c);z(1);Mf(a)}},Qeb=function(a){if(a&1){var b=u();F(0,"b-app-bar-bulk-edit-menus",
10);L("onBulkEdit",function(d){w(b);var e=N();return y(e.bulkEdit(d))})("onQuickBulkEdit",function(d){w(b);var e=N();return y(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){w(b);var e=N();return y(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){w(b);var d=N();return y(d.bulkMarkIssueRead())});R(1,"async");H()}if(a&2){a=N();var c;E("enableBulkEstimatedEffortOption",null!==(c=S(1,2,a.enableBulkEstimatedEffortOption$))&&void 0!==c?c:!1)("readStatePrompt",r7a(a))}},Reb=function(a){if(a&
1){var b=u();F(0,"b-copy-issue-id-button",11);L("onClickCopyIssueIds",function(){w(b);var c=N();return y(t7a(c.copyIssueIdService,Op(c)))})("onClickCopyIssueShortLinks",function(){w(b);var c=N();return y(u7a(c.copyIssueIdService,Op(c)))})("onClickCopyAsIssueSearch",function(){w(b);var c=N();return y(v7a(c.copyIssueIdService,Op(c)))});H()}a&2&&(a=N(),E("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},Seb=function(a){if(a&
1){var b=u();F(0,"div",12)(1,"b-hotlist-picker",13);L("onApply",function(c){w(b);var d=N();return y(d.handleHotlistPickerSave(c))})("onCreate",function(c){w(b);var d=N();return y(d.onCreateHotlist.emit(c))})("onLoad",function(c){w(b);var d=N();return y(d.onLoadHotlist.emit(c))});H()()}a&2&&(a=N(),z(1),E("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},Teb=function(a){if(a&1){var b=u();F(0,"hotlist-add-issue-btn",16);L("issueAddedToHotlist",function(){w(b);var c=N(2);return y(c.refresh())});
H()}a&2&&(a=N(2),E("hotlistId",a.currentHotlistId))},Ueb=function(a){a&1&&I(0,"hotlist-archive-btn",17);a&2&&(a=N(2),E("hotlistId",a.currentHotlistId))},Veb=function(a){a&1&&(J(0),O(1,Teb,1,1,"hotlist-add-issue-btn",14),O(2,Ueb,1,1,"hotlist-archive-btn",15),K());a&2&&(a=N(),z(1),E("ngIf",a.enableBulkEditUi),z(1),E("ngIf",a.isHotlistAdmin))},Web=function(a){a&1&&(F(0,"span",21),P(1,"Reporting"),H())},Xeb=function(a){if(a&1){var b=u();F(0,"b-button",18);L("onAction",function(){w(b);var c=N();return y(c.openInEstado())});
I(1,"b-icon",19);O(2,Web,2,0,"span",20);H()}a&2&&(a=N(),E("size",a.hasSelectedIssues()?"large":"medium")("format",a.hasSelectedIssues()?"icon":"flat"),z(2),E("ngIf",!a.hasSelectedIssues()))},Yeb=function(a){if(a&1){var b=u();F(0,"b-comment-box",28);L("commentChange",function(c){w(b);var d=N(2);return y(d.comment=c)})("onSubmit",function(){w(b);var c=N(2);return y(y7a(c))});H()}a&2&&(a=N(2),E("comment",a.comment)("showToolbar",!1))},Zeb=function(a,b){a&1&&(F(0,"li"),P(1),I(2,"b-access-level-indicator",
31),H());a&2&&(a=b.$implicit,z(1),Lf(" ",a.path," "),z(1),E("accessLevel",a.accessLevel))},$eb=function(a){a&1&&(F(0,"div",29)(1,"div")(2,"strong"),P(3,"You are commenting on issues in components that have external viewers:"),H()(),F(4,"ul"),O(5,Zeb,3,2,"li",30),H()());a&2&&(a=N(2),z(5),E("ngForOf",a.externalWarnings))},afb=function(a){if(a&1){var b=u();F(0,"div",32)(1,"b-recaptcha",33);L("onUpdate",function(c){w(b);var d=N(2);return y(d.recaptchaResponse=c)});H()()}},bfb=function(a){a&1&&(F(0,"h1",
22),P(1,"Add comment"),H(),F(2,"mat-dialog-content"),O(3,Yeb,1,2,"b-comment-box",23),O(4,$eb,6,1,"div",24),H(),O(5,afb,2,0,"div",25),F(6,"mat-dialog-actions")(7,"button",26),P(8," Cancel "),H(),F(9,"button",27),P(10," Save "),H()());a&2&&(a=N(),z(3),E("ngIf",a.comment),z(1),E("ngIf",0<a.externalWarnings.length),z(1),E("ngIf",a.enableRecaptcha),z(2),E("mat-dialog-close",!1),z(2),E("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",!0))},cfb=function(a){if(a&1){var b=u();F(0,
"div",7)(1,"button",8);L("click",function(){w(b);var c=N();return y(c.onPressSave())});P(2," Save ");H();F(3,"button",9);L("click",function(){w(b);var c=N();return y(c.onPressRevert())});P(4," Revert changes ");H()()}a&2&&(a=N(),z(1),E("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving()||a.isInvalid())("matTooltip",a.isInvalid()?"Invalid form data":a.hasNoChanges()?"No changes":"Save these changes"),z(2),E("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving())("matTooltip",
a.hasNoChanges()?"No changes":"Go back to the last saved state"))},dfb=function(a){if(a&1){var b=u();F(0,"div",7)(1,"button",8);L("click",function(){w(b);var d=N();return y(d.save())});P(2," Save ");H();F(3,"button",9);L("click",function(){w(b);var d=N();return y(d.revert())});P(4," Revert changes ");H();I(5,"hotlist-archive-btn",10);R(6,"async");H()}if(a&2){a=N();var c;z(1);E("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Save these changes");z(2);E("disabled",
a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state");z(2);E("hotlistId",null!==(c=S(6,5,a.id$))&&void 0!==c?c:void 0)}},efb=function(a,b){a&1&&(J(0),P(1),K());a&2&&(a=b.$implicit,z(1),Lf(" ",a.name," "))},ffb=function(a){a&1&&(F(0,"strong",4),P(1,"(archived)"),H())},gfb=function(a){a&1&&I(0,"b-spinner")},hfb=function(a){a&1&&(I(0,"hotlist-add-issue-btn",5),R(1,"async"));if(a&2){a=N();var b;E("hotlistId",null!==(b=S(1,1,a.id$))&&void 0!==
b?b:void 0)}},ifb=function(a){a&1&&(F(0,"p",8),P(1," This hotlist cannot be edited because you are not an administrator of it. "),H())},jfb=function(a){a&1&&(J(0),I(1,"b-edit-hotlist-toolbar",1),F(2,"div",2),I(3,"b-edit-hotlist-header",1),F(4,"mat-tab-group",3)(5,"mat-tab",4),I(6,"b-edit-hotlist-basic",5),R(7,"async"),H(),F(8,"mat-tab",6),I(9,"b-edit-hotlist-acl",5),R(10,"async"),H()(),O(11,ifb,2,0,"p",7),R(12,"async"),H(),K());a&2&&(a=N(),z(1),E("hotlistId",a.id),z(2),E("hotlistId",a.id),z(1),E("selectedIndex",
a.tabIndex),z(2),E("hotlistId",a.id)("isReadOnly",!1===S(7,8,a.isAdmin$)),z(3),E("hotlistId",a.id)("isReadOnly",!1===S(10,10,a.isAdmin$)),z(2),E("ngIf",!1===S(12,12,a.isAdmin$)))},kfb=function(a,b){a&1&&(J(0),I(1,"empty-toolbar"),F(2,"div",9)(3,"h2"),P(4,"Error"),H(),F(5,"p"),P(6),H()(),K());a&2&&(a=b.$implicit,z(6),Mf(a))},lfb=function(a){a&1&&(F(0,"b-callout",1)(1,"b-callout-body"),P(2),H()());a&2&&(a=N(),z(2),Mf(a.error))},mfb=function(a){a&1&&Cf(0)},nfb=function(a){a&1&&(F(0,"span"),P(1,"Details"),
H())},ofb=function(a){a&1&&(F(0,"span"),P(1,"Members"),H())},qfb=function(a){a&1&&(F(0,"div",13)(1,"a",14),O(2,nfb,2,0,"span",15),O(3,ofb,2,0,"span",15),H()());if(a&2){a=N(2);z(1);if(void 0===a.email)var b="";else{b=encodeURIComponent(a.getName());var c=encodeURIComponent(a.email);b=pfb(a.email)?"https://ganpati2.corp.google.com/group/"+b+".corp":dBa(a.email)?"https://twosync.corp.google.com/rosterz/"+c:"https://groups.google.com/a/google.com/forum/#!members/"+b}E("href",b,Ud);z(1);E("ngIf",pfb(a.email));
z(1);E("ngIf",!pfb(a.email))}},rfb=function(a){a&1&&(J(0),F(1,"span",2),O(2,mfb,1,0,"ng-container",3),H(),F(3,"onedev-hovercard",null,4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9)(10,"h3"),P(11),H()(),F(12,"div",10),I(13,"mat-icon",11),F(14,"span"),P(15),H()()(),O(16,qfb,4,3,"div",12),H()()()(),K());if(a&2){var b=Kf(4);a=N();var c=Kf(2);z(1);E("onedevHovercardTrigger",b);z(1);E("ngTemplateOutlet",c);z(9);Mf(a.getName());z(4);Mf(a.email);z(1);E("ngIf",a.shouldShowLinks())}},sfb=function(a){a&
1&&Gf(0)},tfb=function(a,b){a&1&&I(0,"mat-icon",8);a&2&&E("svgIcon",b.ngIf)},ufb=function(a){a&1&&(F(0,"b-person-hovercard",9),P(1),H());a&2&&(a=N(),E("email",a.value),z(1),Lf(" ",a.displayText," "))},vfb=function(a){a&1&&(F(0,"b-group-email-card",9),P(1),H());a&2&&(a=N(),E("email",a.value),z(1),Lf(" ",a.displayText," "))},wfb=function(a){a&1&&(F(0,"div"),P(1),H());a&2&&(a=N(),z(1),Lf(" ",a.displayText," "))},xfb=function(a){if(a&1){var b=u();F(0,"div",10);L("click",function(){w(b);var c=N();return y(c.chipRemove.emit())})("keydown.enter",
function(){w(b);var c=N();return y(c.chipRemove.emit())});I(1,"mat-icon",11);H()}a&2&&(a=N(),Hf("matTooltip","'Remove ",a.displayText,"'"),of("aria-label","Remove "+a.displayText))},yfb=function(a,b){a&1&&(F(0,"div",19),I(1,"b-contact-chip",20),H());a&2&&(a=b.$implicit,b=N(2),z(1),E("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},zfb=function(a){a&1&&(F(0,"div",12)(1,"div",13)(2,"div",14),O(3,yfb,
2,5,"div",15),F(4,"div",16),I(5,"div",17)(6,"div",18),H()()()());a&2&&(a=N(),z(3),E("ngForOf",a.nestedChips))},Afb=function(a){a&1&&(J(0),P(1,", "),K())},Bfb=function(a,b){a&1&&(J(0),P(1),O(2,Afb,2,0,"ng-container",14),K());if(a&2){a=b.$implicit;b=b.last;var c=N(2);z(1);Lf(" ",c.convertUserToString(a)," ");z(1);E("ngIf",!b)}},Cfb=function(a,b){if(a&1){var c=u();F(0,"tr",7);L("click",function(){var e=w(c).$implicit,g=N();return y(g.editHotlist(e))})("focus",function(){var e=w(c).index,g=N();return y(g.setFocusOnIndex(e))});
I(1,"td",2);F(2,"td",8)(3,"a",9);L("click",function(e){return e.stopPropagation()});P(4);H()();F(5,"td",10);P(6);H();F(7,"td",11);O(8,Bfb,3,2,"ng-container",12);H();F(9,"td",13);P(10);H()()}if(a&2){a=b.$implicit;b=b.index;var d=N();xf("grid-focus",d.isFocused(b));of("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));z(3);E("href",d.paths.editHotlist(a.hotlistId),Ud);z(1);Lf(" ",a.name," ");z(2);Lf(" ",a.description," ");z(2);E("ngForOf",a.adminUsers);z(2);Lf(" ",a.hotlistId," ")}},
Dfb=function(a){if(a&1){var b=u();F(0,"button",9);L("click",function(){w(b);var c=N(2);return y(c.appEvents.dashboardPanels.moveToTop.next(c.panelId))});P(1," Move to top ");H()}},Efb=function(a){if(a&1){var b=u();F(0,"button",10);L("click",function(){w(b);var c=N(2);return y(c.appEvents.dashboardPanels.moveUp.next(c.panelId))});P(1," Move up ");H()}},Ffb=function(a){if(a&1){var b=u();F(0,"button",11);L("click",function(){w(b);var c=N(2);return y(c.appEvents.dashboardPanels.moveDown.next(c.panelId))});
P(1," Move down ");H()}},Gfb=function(a){if(a&1){var b=u();F(0,"button",12);L("click",function(){w(b);var c=N(2);return y(c.appEvents.dashboardPanels.moveToBottom.next(c.panelId))});P(1," Move to bottom ");H()}},Hfb=function(a){if(a&1){var b=u();O(0,Dfb,2,0,"button",4);O(1,Efb,2,0,"button",5);O(2,Ffb,2,0,"button",6);O(3,Gfb,2,0,"button",7);F(4,"button",8);L("click",function(){w(b);var c=N();return y(c.removePanel())});P(5," Remove ");H()}a&2&&(a=N(),E("ngIf",!a.first),z(1),E("ngIf",!a.first),z(1),
E("ngIf",!a.last),z(1),E("ngIf",!a.last))},Ifb=function(a){a&1&&(rd(),sd(),J(0),P(1,"Insights"),K())},Jfb=function(a){if(a&1){var b=u();F(0,"b-insights-graph-menu",2);L("openSidebar",function(d){w(b);var e=N(2);return y(e.openSidebar(d.panel))});H()}if(a&2){a=N().ngIf;var c=N();E("availablePanels",a)("iconOnly",c.iconOnly)("buttonClassname",c.buttonClassname)}},Kfb=function(a){a&1&&(J(0),O(1,Jfb,1,3,"b-insights-graph-menu",1),R(2,"async"),K());a&2&&(a=N(),z(1),E("ngIf",S(2,1,a.shouldShowInsightsGraphMenu$)))},
Lfb=function(a){a&1&&I(0,"edit-issue-metadata",5);a&2&&(a=N(),E("issueId",a.issueId))},Mfb=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N(),of("title",a.getValue()),z(1),Lf(" ",a.getValue(),"\n"))},Nfb=function(a){a&1&&I(0,"b-custom-field-value-display",2);a&2&&(a=N(),E("customFieldValue",a.getCustomFieldValue()))},Ofb=function(a){a&1&&I(0,"b-actions-menu",7);a&2&&(a=N(),E("menuItems",a.menuItems))},Pfb=function(a){a&1&&(F(0,"span",8)(1,"strong"),P(2),H(),P(3,"\u00a0of\u00a0"),F(4,"strong"),P(5),
H()());a&2&&(a=N(),z(2),Nf("",a.searchResults.startIndex,"\u00a0-\u00a0",a.searchResults.endIndex,""),z(3),Mf(a.searchResults.totalText))},Qfb=function(a){a&1&&(F(0,"div"),P(1," Hotlist not found. "),H())},Rfb=function(a){a&1&&(F(0,"div"),P(1," Loading details... "),H())},Sfb=function(a){a&1&&I(0,"b-panel-controls",11);a&2&&(a=N(2),E("panelId",a.panel.panelId))},Tfb=function(a){a&1&&(F(0,"span",12),P(1," \u00a0(changed) "),H())},Ufb=function(a){a&1&&(F(0,"div"),O(1,Sfb,1,1,"b-panel-controls",6),F(2,
"span",7),P(3," Hotlist: "),F(4,"a",8)(5,"span",9),P(6),H()()(),O(7,Tfb,2,0,"span",10),H());a&2&&(a=N(),z(1),E("ngIf",a.isDashboardEditable),z(3),E("href",a.paths.viewHotlist(a.hotlistId),Ud),z(1),If("matTooltip",a.resource.description),z(1),Mf(a.resource.name),z(1),E("ngIf",a.hasParamChanges()))},Vfb=function(a){if(a&1){var b=u();F(0,"div",13)(1,"button",14);L("click",function(){w(b);var c=N();return y(c.save())});P(2,"Save ");H();F(3,"button",15);L("click",function(){w(b);var c=N();return y(c.discardChanges())});
P(4," Discard changes ");H()()}},Wfb=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N(3),z(1),Lf(" Searching for ",a.searchParams.query," ..."))},Xfb=function(a){a&1&&(F(0,"div",19),I(1,"b-spinner",20),O(2,Wfb,2,1,"span",3),H());a&2&&(a=N(2),z(1),E("large",!1),z(1),E("ngIf",a.searchParams&&(null==a.searchParams?null:a.searchParams.query)))},Yfb=function(a){a&1&&(F(0,"div",21),P(1," No issues in hotlist. "),H())},$fb=function(a){if(a&1){var b=u();F(0,"div",22)(1,"b-issues-grid",23);L("init",function(c){w(b);
var d=N(2);return y(Zfb(d,c))})("focusedRowIndexChange",function(c){w(b);var d=N(2);return y(d.focusedRowIndex=c)})("columnsChange",function(c){w(b);var d=N(2);return y(d.issueColumns=c)})("sortChange",function(c){w(b);var d=N(2);return y(d.setSort(c.field,c.direction))})("onRowDragDrop",function(c){w(b);var d=N(2);return y(d.repositionIssue(c.srcIndex,c.destIndex))})("rowClick",function(c){w(b);var d=N(2);return y(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){w(b);var c=N(2);return y(c.goToPage(c.page+
1))})("onPrevPage",function(){w(b);var c=N(2);return y(c.goToPage(c.page-1))});H()()}a&2&&(a=N(2),z(1),E("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},agb=function(a){a&1&&(F(0,"div"),O(1,Xfb,3,2,"div",16),O(2,Yfb,2,0,"div",17),O(3,$fb,2,5,"div",18),H());a&2&&(a=N(),z(1),E("ngIf",a.isLoading),z(1),E("ngIf",!a.isLoading&&!(null==a.searchResults?0:null==a.searchResults.issues?0:a.searchResults.issues.length)),
z(1),E("ngIf",!a.isLoading&&(null==a.searchResults?null:null==a.searchResults.issues?null:a.searchResults.issues.length)))},bgb=function(a){a&1&&(F(0,"div"),P(1," Saved search not found. "),H())},cgb=function(a){a&1&&(F(0,"div"),P(1," Loading details... "),H())},dgb=function(a){a&1&&I(0,"b-panel-controls",11);a&2&&(a=N(2),E("panelId",a.panel.panelId))},egb=function(a){a&1&&(F(0,"span",12),P(1," \u00a0(changed) "),H())},fgb=function(a){a&1&&(F(0,"div",6),O(1,dgb,1,1,"b-panel-controls",7),F(2,"span",
6),P(3," Saved search: "),F(4,"a",8)(5,"span",9),P(6),H()()(),O(7,egb,2,0,"span",10),H());a&2&&(a=N(),z(1),E("ngIf",a.isDashboardEditable),z(3),E("href",a.paths.viewSavedSearch(a.savedSearchId),Ud),z(1),If("matTooltip",a.resource.description),z(1),Mf(a.resource.name),z(1),E("ngIf",a.hasParamChanges()))},ggb=function(a,b){a&1&&(F(0,"span"),P(1),H());a&2&&(a=b.ngIf,z(1),Lf("Searching for ",a,"..."))},igb=function(a){a&1&&(F(0,"div",16),I(1,"b-spinner",17),O(2,ggb,2,1,"span",3),H());a&2&&(a=N(2),z(1),
E("large",!1),z(1),E("ngIf",null==a.searchParams?null:a.searchParams.query))},jgb=function(a){a&1&&(F(0,"div",18),P(1," No issues in saved search. "),H())},kgb=function(a){if(a&1){var b=u();F(0,"div",19)(1,"b-issues-grid",20);L("init",function(c){w(b);var d=N(2);return y(Zfb(d,c))})("focusedRowIndexChange",function(c){w(b);var d=N(2);return y(d.focusedRowIndex=c)})("columnsChange",function(c){w(b);var d=N(2);return y(d.columnsChange(c))})("sortChange",function(c){w(b);var d=N(2);return y(d.setSort(c.field,
c.direction))})("rowClick",function(c){w(b);var d=N(2);return y(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){w(b);var c=N(2);return y(c.goToPage(c.page+1))})("onPrevPage",function(){w(b);var c=N(2);return y(c.goToPage(c.page-1))});H()()}a&2&&(a=N(2),z(1),E("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},lgb=function(a){a&1&&(F(0,"div"),O(1,igb,3,2,"div",13),O(2,jgb,2,
0,"div",14),O(3,kgb,2,5,"div",15),H());a&2&&(a=N(),z(1),E("ngIf",a.isLoading),z(1),E("ngIf",!a.isLoading&&a.searchResults&&0===a.searchResults.issues.length),z(1),E("ngIf",!a.isLoading&&a.searchResults&&0!==a.searchResults.issues.length))},mgb=function(a,b){a&1&&(F(0,"span",3)(1,"a",4),P(2),H()());a&2&&(a=b.$implicit,z(1),Hf("routerLink","/teams/",a.id,"/edit"),E("preserveFragment",!0),z(1),Mf(a.name))},ngb=function(a){a&1&&(F(0,"p")(1,"span",6),P(2,"NOTE:"),H(),P(3),F(4,"a",7),P(5,"Learn more"),
H()());a&2&&(a=N(),z(3),Lf(" ",a.data.noteText," "),z(1),E("href",a.getDisablingFieldsHelpLink(),Ud))},ogb=function(a){a&1&&(J(0),I(1,"span",26)(2,"b-icon",27),K());a&2&&(a=N(),z(1),E("innerHTML",a.menuLabel,Td))},pgb=function(a){a&1&&(F(0,"div",28),P(1," This includes emails about major updates and: "),F(2,"ul",29)(3,"li"),P(4,"All title, hotlist, and status changes."),H(),F(5,"li"),P(6,"Blocking, Blocked By, or Duplicate changes."),H(),F(7,"li"),P(8,"Changes to Reporter, Verifier, and CCs."),H(),
F(9,"li"),P(10,"Changes to Type, Found In, Targeted To, Verified In, and In Prod. "),H(),F(11,"li"),P(12,"Changes to custom fields marked as minor."),H()()())},qgb=function(a){a&1&&(F(0,"div",30),P(1," This includes emails about: "),F(2,"ul",29)(3,"li"),P(4,"New comments."),H(),F(5,"li"),P(6,"Priority or Severity changes."),H(),F(7,"li"),P(8,"Assignee changes."),H(),F(9,"li"),P(10,"Component changes."),H(),F(11,"li"),P(12,"Issue closure or reopening."),H(),F(13,"li"),P(14,"Changes to custom fields marked as major."),
H()()())},rgb=function(a,b){a&1&&(F(0,"mat-option",6),P(1),H());a&2&&(a=b.$implicit,E("value",a),z(1),Lf(" ",a.name," "))},sgb=function(a){a&1&&(F(0,"span",11),P(1," (must be between 30 days and 10 years) "),H())},ugb=function(a){if(a&1){var b=u();F(0,"div",12)(1,"b-duration-picker",13);L("durationDaysChange",function(c){w(b);var d=N();d.model.retentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Xp(d);return y()});H();F(2,"div",14);P(3);H()()}a&2&&(a=N(),z(1),E("disabled",a.issueRetentionDisabled)("durationDays",
a.model.retentionPeriodDays),z(2),Lf(" Issues will be marked for deletion when they have not been modified for ",tgb(a.model.retentionPeriodDays),". "))},vgb=function(a){a&1&&(F(0,"div",15)(1,"p"),P(2,"Please note indefinite retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),F(3,"b"),P(4,"one or more"),H(),P(5," of the following is true:"),H(),F(6,"ol")(7,"li"),P(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),
H(),F(9,"li"),P(10,"You have a process in place to manually delete this data within an approved period of time."),H(),F(11,"li"),P(12,"Legal and Privacy have approved this non-standard retention period."),H()()())},wgb=function(a){a&1&&(F(0,"span",11),P(1," (Issue Retention is shorter than default Restricted Retention) "),H())},ygb=function(a){a&1&&(F(0,"span",11),P(1),H());a&2&&(a=N(),z(1),Lf(" ",xgb(a)," "))},zgb=function(a){a&1&&(F(0,"div",21)(1,"p"),P(2," Please note restricted retention longer than 4 months is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored. Before selecting it, you should make sure that Legal and Privacy have approved this non-standard retention period."),
H()())},Bgb=function(a){if(a&1){var b=u();F(0,"div",12)(1,"div")(2,"span",16);P(3,"Restricted retention:");H();F(4,"b-duration-picker",17);L("durationDaysChange",function(c){w(b);var d=N();d.model.piiRetentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Xp(d);return y()});H()();F(5,"div",18)(6,"p");P(7);H()();F(8,"div")(9,"span",16);P(10,"Restricted+ retention:");H();F(11,"b-duration-picker",19);L("durationDaysChange",function(c){w(b);var d=N();d.model.spiiRetentionPeriodDays=
null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Xp(d);return y()});H()();F(12,"div",18)(13,"p");P(14);H()();O(15,zgb,3,0,"div",20);H()}a&2&&(a=N(),z(4),E("disabled",!Yp(a))("durationDays",a.model.piiRetentionPeriodDays),z(3),Lf(" Restricted comments and attachments will be marked for deletion when the containing issue has not been modified for ",tgb(a.model.piiRetentionPeriodDays),". "),z(4),E("disabled",!Yp(a))("durationDays",a.model.spiiRetentionPeriodDays),z(3),Lf(" Restricted+ comments and attachments will be marked for deletion when the containing issue has not been modified for ",
tgb(a.model.spiiRetentionPeriodDays),". "),z(1),E("ngIf",a.model.piiRetentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&Agb(a)))},Cgb=function(a){a&1&&(F(0,"div",22)(1,"p"),P(2," Please note restricted retention longer than 4 months is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored. Before selecting it, you should make sure that Legal and Privacy have approved this non-standard retention period."),H()())},Zp=function(a,b,
c,d){var e=a.slice(0,b);e=(e=Dgb(e,c))&&e.index||0;var g=a.slice(b);c=(new RegExp(d||c,"gi")).exec(g);return{val:a.slice(e,(c?c.index:g.length)+b),idx:e}},Dgb=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},$p=function(a,b){return(void 0===b?0:b)?-1<a.search(/^\d+\+?$/):-1<a.search(/^\d+$/)},Egb=function(a){return"-"===a.charAt(0)?{negated:!0,token:a.slice(1)}:{negated:!1,token:a}},aq=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?di(q,e):fa(q,e):!1});b=b.idx;for(var g=b+e.length,h=k(a),l=h.next();!l.done;l=h.next())l=l.value.completionCfg,l.startIdx=b,l.endIdx=g,l.matchingString=e;return a},bq=function(a,b,c,d){return{trackId:b+":"+a,name:a,id:a,label:c,completionCfg:{enableShadowPlaceholder:!0,completionValue:a,type:d}}},Hgb=function(a,b){if(a&1){var c=u();F(0,"div",9)(1,"div",10);L("click",function(d){var e=w(c).$implicit,g=N();e=e.key;
if(d=void 0===d?null:d)d.preventDefault(),d.stopPropagation();d=g.options.propertyValues[e];d.value=!d.value;Fgb(g);Ggb(g);g.optionsChange.emit(g.options);return y()});F(2,"mat-checkbox",11);L("change",function(d){var e=w(c).$implicit,g=N();e.value.value=d.checked;Fgb(g);Ggb(g);g.optionsChange.emit(g.options);return y()})("click",function(d){return d.stopPropagation()});P(3);H()()()}a&2&&(a=b.$implicit,of("aria-checked",a.value.value),z(2),E("checked",a.value.value),z(1),Lf(" ",a.value.displayString,
" "))},Igb=function(a){a&1&&(F(0,"div",12),P(1),H());a&2&&(a=N(),z(1),Lf(" ",a.errorString," "))},Kgb=function(a){if(a&1){var b=u();F(0,"span",4)(1,"input",5);L("ngModelChange",function(c){w(b);var d=N(2);return y(d.businessDayString=c)})("ngModelChange",function(){w(b);var c=N(2);return y(Jgb(c))});H();F(2,"span",8);P(3,"days,");H()()}a&2&&(a=N(2),z(1),xf("ng-invalid",!!a.errorString),E("ngModel",a.businessDayString))},Mgb=function(a,b){a&1&&(F(0,"mat-option",9),P(1),H());a&2&&(a=b.$implicit,b=N(2),
E("value",a),z(1),Lf(" ",Lgb(b,a)," "))},Rgb=function(a){if(a&1){var b=u();F(0,"span",2);O(1,Kgb,4,3,"span",3);F(2,"span",4)(3,"input",5);L("ngModelChange",function(c){w(b);var d=N();return y(d.intervalString=c)})("ngModelChange",function(){w(b);var c=N();return y(Jgb(c))});H();F(4,"mat-select",6);L("ngModelChange",function(c){w(b);var d=N();return y(d.intervalUnit=c)})("selectionChange",function(){w(b);var c=N();Ngb(c);Ogb(c);return y()});O(5,Mgb,2,2,"mat-option",7);H()()()}a&2&&(a=N(),z(1),E("ngIf",
Pgb(a)),z(2),xf("invalid",!!a.errorString),E("ngModel",a.intervalString),z(1),E("ngModel",a.intervalUnit),z(1),E("ngForOf",Pgb(a)?[cq,dq]:[cq,dq,Qgb]))},Sgb=function(a){a&1&&(F(0,"span",13),P(1),H());a&2&&(a=N(2),z(1),Nf(" ",a.objectiveBusinessDays," day",1!=a.objectiveBusinessDays?"s":""," "))},Tgb=function(a){a&1&&(F(0,"span"),P(1,", "),H())},Ugb=function(a){a&1&&(F(0,"span"),O(1,Tgb,2,0,"span",12),F(2,"span"),P(3),H()());a&2&&(a=N(2),z(1),E("ngIf",a.objectiveBusinessDays),z(2),Nf("",a.intervalString,
" ",Lgb(a,a.intervalUnit),""))},Vgb=function(a){a&1&&(F(0,"span",10),O(1,Sgb,2,2,"span",11),O(2,Ugb,4,3,"span",12),H());a&2&&(a=N(),z(1),E("ngIf",a.objectiveBusinessDays),z(1),E("ngIf",a.intervalString&&"0"!=a.intervalString))},Xgb=function(a){if(a&1){var b=u();F(0,"b-icon",22);L("click",function(){w(b);var c=N(2);return y(Wgb(c,0))});H()}a&2&&E("name","add")("size","small")},Zgb=function(a){if(a&1){var b=u();F(0,"span",17)(1,"span",18)(2,"span",19);O(3,Xgb,1,2,"b-icon",20);H();F(4,"span",19)(5,"b-icon",
21);L("click",function(c){w(b);var d=N();return y(Ygb(d,c))});H()()()()}a&2&&(a=N(),z(3),E("ngIf",a.canPerformActions),z(2),E("name","delete")("size","small"))},$gb=function(a){a&1&&I(0,"td",42)},ahb=function(a){if(a&1){var b=u();F(0,"td",43)(1,"slo-element-property-picker",44);L("optionsChange",function(c){w(b);var d=N().$implicit;return y(d.typePickerValues=c)});H()()}a&2&&(a=N().$implicit,z(1),E("selectAllText","Any type")("validator",a.validateTypePicker)("options",a.typePickerValues))},bhb=function(a){if(a&
1){var b=u();F(0,"td",45)(1,"slo-element-property-picker",46);L("optionsChange",function(c){w(b);var d=N().$implicit;return y(d.priorityPickerValues=c)});H()()}a&2&&(a=N().$implicit,z(1),E("selectAllText","Any priority")("validator",a.validatePriorityPicker)("options",a.priorityPickerValues))},chb=function(a){if(a&1){var b=u();F(0,"td",47)(1,"slo-element-property-picker",48);L("optionsChange",function(d){w(b);var e=N().$implicit;return y(e.postmortemPickerValues=d)});H()()}if(a&2){a=N().$implicit;
var c=N(2);z(1);E("selectAllText",c.postmortemAllSummaryValue)("validator",a.validatePostmortemPicker)("options",a.postmortemPickerValues)}},ehb=function(a,b){a&1&&(F(0,"mat-option",53),P(1),H());a&2&&(a=b.$implicit,N(4),E("value",a),z(1),Lf(" ",dhb(a)," "))},fhb=function(a){if(a&1){var b=u();F(0,"td",49)(1,"mat-form-field",50)(2,"mat-select",51);L("ngModelChange",function(d){w(b);var e=N().$implicit;return y(e.selectedMetric=d)});O(3,ehb,2,2,"mat-option",52);H()()()}if(a&2){a=N().$implicit;var c=
N(2);z(2);E("ngModel",a.selectedMetric)("customValidators",a.metricValidators);z(1);E("ngForOf",c.metricChoices)}},ghb=function(a){if(a&1){var b=u();F(0,"td",54)(1,"slo-objective-selector",55);L("objectiveDurationChange",function(c){w(b);var d=N().$implicit;return y(d.selectedObjectiveDuration=c)})("objectiveBusinessDaysChange",function(c){w(b);var d=N().$implicit;return y(d.selectedObjectiveBusinessDays=c)});H()()}a&2&&(a=N().$implicit,z(1),E("dayType",a.selectedDayType)("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",
a.selectedObjectiveBusinessDays)("validator",a.validateObjective)("isDisabled",!1))},ihb=function(a,b){a&1&&(F(0,"mat-option",53),P(1),H());a&2&&(a=b.$implicit,N(4),E("value",a),z(1),Lf(" ",hhb.get(a||"CALENDAR")," "))},jhb=function(a){if(a&1){var b=u();F(0,"td",56)(1,"mat-form-field",57)(2,"mat-select",58);L("ngModelChange",function(d){w(b);var e=N().$implicit;return y(e.selectedDayType=d)})("selectionChange",function(){w(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 y()});O(3,ihb,2,2,"mat-option",52);H()()()}if(a&2){a=N().$implicit;var c=N(2);z(2);E("ngModel",a.selectedDayType);z(1);E("ngForOf",c.dayTypes)}},nhb=function(a){if(a&1){var b=u();F(0,"td",59)(1,"span",18)(2,"span",19)(3,
"b-icon",60);L("click",function(){w(b);var c=N(3);if(c.openRow)if(c.openRow.isValid())khb(c.openRow.typePickerValues)&&khb(c.openRow.priorityPickerValues)&&khb(c.openRow.postmortemPickerValues)?c.confirmationDialogService.open({title:"SLO validation error",content:yn("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}):lhb(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:yn('An SLO rule must specify a valid duration.\nFor "Calendar" day objectives, the duration must be a positive integer.\nFor "Business" day objectives, a day and/or hour/minute duration must be specified.'),confirmButtonText:"Ok",showCancelButton:!1})}return y()});H()();F(4,
"span",19)(5,"b-icon",61);L("click",function(){w(b);var c=N().$implicit,d=N(2);return y(mhb(d,c))});H()()()()}a&2&&(z(3),E("name","done")("size","small"),z(2),E("name","delete")("size","small"))},ohb=function(a){a&1&&I(0,"td",62)},phb=function(a){a&1&&(F(0,"div"),P(1),H());a&2&&(a=N(2).$implicit,z(1),Lf("ERROR: ",a.parseResult.error,""))},qhb=function(a,b){a&1&&(F(0,"span",68)(1,"span",69),P(2),H()());a&2&&(a=b.$implicit,z(2),Mf(a))},shb=function(a){a&1&&(F(0,"span",66),O(1,qhb,3,1,"span",67),H());
if(a&2){a=N(2).$implicit;z(1);if(0===a.parseResult.types.length)a=["Any"];else{for(var b=[],c=k(a.controllerReference.sloParseService.enumTypeToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.types.includes(d)&&b.push(rhb(a.controllerReference,d));a=b}E("ngForOf",a)}},thb=function(a){a&1&&(F(0,"td",63),O(1,phb,2,1,"div",64),O(2,shb,2,1,"span",65),H());a&2&&(a=N().$implicit,z(1),E("ngIf",a.parseResult.error),z(1),E("ngIf",!a.parseResult.error))},uhb=function(a){a&1&&(F(0,"div"),
P(1),H());a&2&&(a=N(2).$implicit,z(1),Lf("ERROR: ",a.parseResult.error,""))},vhb=function(a,b){a&1&&(F(0,"span",68)(1,"span",69),P(2),H()());a&2&&(a=b.$implicit,z(2),Mf(a))},xhb=function(a){a&1&&(F(0,"span",66),O(1,vhb,3,1,"span",67),H());if(a&2){a=N(2).$implicit;z(1);if(0===a.parseResult.priorities.length)a=["Any"];else{for(var b=[],c=k(a.controllerReference.sloParseService.enumPriorityToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.priorities.includes(d)&&b.push(whb(a.controllerReference,
d));a=b}E("ngForOf",a)}},yhb=function(a){a&1&&(F(0,"td",70),O(1,uhb,2,1,"div",64),O(2,xhb,2,1,"span",65),H());a&2&&(a=N().$implicit,z(1),E("ngIf",a.parseResult.error),z(1),E("ngIf",!a.parseResult.error))},zhb=function(a){a&1&&(F(0,"div"),P(1),H());a&2&&(a=N(2).$implicit,z(1),Lf("ERROR: ",a.parseResult.error,""))},Ahb=function(a,b){a&1&&(F(0,"span",68)(1,"span",69),P(2),H()());a&2&&(a=b.$implicit,z(2),Mf(a))},Bhb=function(a){a&1&&(F(0,"span",66),O(1,Ahb,3,1,"span",67),H());if(a&2){a=N(2).$implicit;
z(1);var b=a.parseResult.postmortemValues.includes("ANY"),c=a.parseResult.postmortemValues.includes("NONE");a=b===c?["Either"]:[a.controllerReference.anyNoneDisplayValues.get(a.parseResult.postmortemValues[0])];E("ngForOf",a)}},Chb=function(a){a&1&&(F(0,"td",71),O(1,zhb,2,1,"div",64),O(2,Bhb,2,1,"span",65),H());a&2&&(a=N().$implicit,z(1),E("ngIf",a.parseResult.error),z(1),E("ngIf",!a.parseResult.error))},Dhb=function(a){a&1&&(F(0,"td",72),P(1),H());a&2&&(a=N().$implicit,N(2),z(1),Lf(" ",dhb(a.sloElement.metric),
" "))},Ehb=function(a){if(a&1){var b=u();F(0,"td",73)(1,"slo-objective-selector",74);L("objectiveDurationChange",function(c){w(b);var d=N().$implicit;return y(d.selectedObjectiveDuration=c)})("objectiveBusinessDaysChange",function(c){w(b);var d=N().$implicit;return y(d.selectedObjectiveBusinessDays=c)});H()()}a&2&&(a=N().$implicit,z(1),E("dayType",a.selectedDayType)("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays)("isDisabled",!a.isEditingInternal))},
Fhb=function(a){a&1&&(F(0,"td",75),P(1),H());a&2&&(a=N().$implicit,N(2),z(1),Lf(" ",hhb.get(a.sloElement.dayType||"CALENDAR")," "))},Hhb=function(a){if(a&1){var b=u();F(0,"b-icon",85);L("click",function(c){w(b);var d=N(2).$implicit,e=N(2);return y(Ghb(e,d,c))});H()}a&2&&E("name","edit")("size","small")},Ihb=function(a){a&1&&I(0,"b-icon",86);if(a&2){N();var b=Kf(8);E("name","more-settings-vertical")("size","small")("matMenuTriggerFor",b)}},Khb=function(a){if(a&1){var b=u();F(0,"button",87);L("click",
function(){w(b);var c=N(2).$implicit,d=N(2);return y(Jhb(d,c,1))});P(1," Move row down ");H()}},Lhb=function(a){if(a&1){var b=u();F(0,"button",88);L("click",function(){w(b);var c=N(2).$implicit,d=N(2);return y(Jhb(d,c,-1))});P(1," Move row up ");H()}},Nhb=function(a){if(a&1){var b=u();F(0,"td",76)(1,"span",18)(2,"span",19);O(3,Hhb,1,2,"b-icon",77);H();F(4,"span",19)(5,"span");O(6,Ihb,1,3,"b-icon",78);H();F(7,"mat-menu",null,79);O(9,Khb,2,0,"button",80);O(10,Lhb,2,0,"button",81);F(11,"button",82);
L("click",function(){w(b);var d=N().$implicit,e=N(2);Wgb(e,e.collection.indexOf(d)+1);return y()});P(12," Add row below ");H();F(13,"button",83);L("click",function(){w(b);var d=N().$implicit,e=N(2);Wgb(e,e.collection.indexOf(d));return y()});P(14," Add row above ");H();F(15,"button",84);L("click",function(){w(b);var d=N().$implicit,e=N(2);return y(mhb(e,d))});P(16," Remove ");H()()()()()}if(a&2){a=N().$implicit;var c=N(2);z(3);E("ngIf",a.canEdit);z(3);E("ngIf",a.canEdit);z(3);E("ngIf",Mhb(c,a,1).valid);
z(1);E("ngIf",Mhb(c,a,-1).valid)}},Ohb=function(a,b){a&1&&(F(0,"tr",25),O(1,$gb,1,0,"td",26),O(2,ahb,2,3,"td",27),O(3,bhb,2,3,"td",28),O(4,chb,2,3,"td",29),O(5,fhb,4,3,"td",30),O(6,ghb,2,5,"td",31),O(7,jhb,4,2,"td",32),O(8,nhb,6,4,"td",33),O(9,ohb,1,0,"td",34),O(10,thb,3,2,"td",35),O(11,yhb,3,2,"td",36),O(12,Chb,3,2,"td",37),O(13,Dhb,2,1,"td",38),O(14,Ehb,2,4,"td",39),O(15,Fhb,2,1,"td",40),O(16,Nhb,17,4,"td",41),H());a&2&&(a=b.$implicit,b=N(2),xf("draggable",!b.isDisabled&&null==b.openRow),z(1),E("ngIf",
a.isEditingInternal),z(1),E("ngIf",a.isEditingInternal),z(1),E("ngIf",a.isEditingInternal),z(1),E("ngIf",a.isEditingInternal),z(1),E("ngIf",a.isEditingInternal),z(1),E("ngIf",a.isEditingInternal),z(1),E("ngIf",a.isEditingInternal),z(1),E("ngIf",a.isEditingInternal),z(1),E("ngIf",!a.isEditingInternal),z(1),E("ngIf",!a.isEditingInternal),z(1),E("ngIf",!a.isEditingInternal),z(1),E("ngIf",!a.isEditingInternal),z(1),E("ngIf",!a.isEditingInternal),z(1),E("ngIf",!a.isEditingInternal),z(1),E("ngIf",!a.isEditingInternal),
z(1),E("ngIf",!a.isEditingInternal))},Phb=function(a){if(a&1){var b=u();F(0,"tbody",23);L("cdkDropListDropped",function(c){w(b);var d=N();return y(d.onDrop(c))});O(1,Ohb,17,18,"tr",24);H()}a&2&&(a=N(),E("cdkDropListData",a.collection)("cdkDropListDisabled",a.isDisabled||null!=a.openRow),z(1),E("ngForOf",a.collection))},Qhb=function(a){a&1&&(F(0,"div",89),P(1," There are currently no rules for this SLO "),H())},Rhb=function(a,b){if(a&1){var c=u();F(0,"tr",7);L("click",function(){var e=w(c).$implicit,
g=N();return y(g.editSlo(e))})("focus",function(){var e=w(c).index,g=N();return y(g.setFocusOnIndex(e))});I(1,"td",2);F(2,"td",8)(3,"a",9);L("click",function(e){return e.stopPropagation()});P(4);H()();F(5,"td",10);P(6);H()()}if(a&2){a=b.$implicit;b=b.index;var d=N();xf("grid-focus",d.isFocused(b));of("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));z(3);E("href",d.paths.editSlo(a.sloId),Ud);z(1);Lf(" ",a.name," ");z(2);Lf(" ",a.description," ")}},Shb=function(a){if(a)return(Array.isArray(a)?
a.map(function(b){return bi(b)}):[bi(a)]).filter(function(b){return!isNaN(b)})},Thb=function(a,b){if(b&&!Array.isArray(b))return a.find(function(c){return!eq(c,b)})},Uhb=function(a,b){"string"===typeof a&&(a=a.trim())&&b(ti(a))},Vhb=function(a,b){if(!a)return[];a=k("string"===typeof a?a.split(","):a);for(var c=a.next();!c.done;c=a.next())Uhb(c.value,function(d){return b.push(d)});return eqa(b)},Whb=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("ve");}},fq=function(a,b,c){b=[b,c].map(function(d){return null!=d?d:""}).join(";");a.setAttribute("pkd-ac-state",String(Mg(b)))},Xhb=function(a,b){b=[String(b.getId()),b.getValue()].join(";");a.setAttribute("pkd-target",String(Mg(b)))},Yhb=function(a,b){a.setAttribute("pkd-ps-state",String(Mg("1")));b.warmUpCache().then(function(){a.setAttribute("pkd-ps-state",String(Mg("2")))},function(){a.setAttribute("pkd-ps-state",
String(Mg("3")))})},bib=function(a){var b=Vo(Zhb,{id:gq($hb)});a.appendChild(b);return new aib(b)},cib=function(a,b,c){var d=Math.max(b,c);return a>Math.min(b,c)&&a<d},eib=function(a,b,c){return new Up(new dib(void 0===a?0:a,null!=b?b:[],null!=c?c:null))},fib=function(a,b,c,d){if(a){var e="";c&&c.length&&(e="; track:"+c.join(",").trim());c="";d&&d.length&&(c="; "+d.join("; ").trim());a.setAttribute("jslog",b+e+c);a.LSWHIf=void 0}},gib=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},hib=function(a){var b=a.getCaller(),c=a.getClient();a=a.getRequestType();return b&&c&&a?JSON.stringify([b.serialize(),c.serialize(),a]):null},iib=function(a){var b=new hq;if(a instanceof iq)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},lq=function(a){a=void 0===a?null:a;var b=(new jq).setExperimentFlags(new kq).setSource(3);a&&b.setError(iib(a));return b},qib=function(a){var b=void 0===b?new jib:b;if(kib)return kib;var c=new lib(a),d=new mib(a);if(b.storage_)try{b.storage_.setItem("__sak","1");b.storage_.removeItem("__sak");var e=!0}catch(g){e=!1}else e=!1;b=e?new mq(a,b):new nq(a);b.clean();
c=new nib(new oib(b,c),d);return kib=new pib(a,c)},oq=function(a){if(a=a.getAttribute("pk-log")){var b=k(a.split(";"));a=b.next().value;var c=b.next().value,d=b.next().value;b=b.next().value;return{id:a,veid:Number(c),action:d.split(","),pairs:b.split(",")}}return null},pq=function(a,b,c,d){d=void 0===d?[]:d;rib()?(fib(a,b,c,d),b=a.getAttribute("jslog").concat("; cid:peopleweb"),a.setAttribute("jslog",b)):(d=void 0===d?[]:d,b=[gq(sib),b,c.join(","),d.join(",")].join(";"),b=Mg(b),a.setAttribute("pk-log",
String(b)))},uib=function(a){var b;return Object.freeze({id:"ENOWEf",iconUrl:null==(b=tib.get(a))?void 0:b.get("ENOWEf"),label:"Hide suggestion",keyboardShortcut:[],veid:181476})},vib=function(a){return a.map(function(b){if(qq)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)}})},yib=function(a,b){var c=gq(rq.getInstance()),d=Object,
e=d.assign;c=c+":"+a.id;var g=vib(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("xe`"+b);}d=Vo(wib,e.call(d,{},a,{id:c,keyboardShortcut:g,densityClass:b}));a.veid&&pq(d,a.veid,["impression","pk-click"]);return new xib(d,a)},Aib=function(a){var b=new zib([]);return new sq(a,b)},tq=function(a,b){return a.querySelector('[peoplekit-id="'+
b+'"]')},Bib=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"))})},vq=function(a){return new uq(a)},Cib=function(a,b){b=b.ownerDocument.createEvent("CustomEvent");b.initEvent(a,!0,!0);return b},Eib=function(a,b){return new Dib(a,b)},Kib=function(a,b,c,d,e){var g=Fib(c),h=wq(a),l=xq(a);l&&h.intersection(Gib(l));Hib(h,
Uo(a),Uo(c));a=Iib(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,g);a=Iib(c,d);h=Jib(h,Aq(c),a).rect;c=xq(c);c.top-=g.y;c.right-=g.x;c.bottom-=g.y;c.left-=g.x;g=h;g.left<c.left?g.left=c.left:g.left+g.width>c.right&&(g.left=c.right-g.width);h=g;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},Nib=function(a,b){Bq(a,new yq(b.left,b.top));b=b.getSize();Lib(Aq(a),b)||Mib(a,b)},
Oib=function(a,b,c){return new Cq(a,b,c)},Dq=function(a){return Cib("pk-click",a)},Rib=function(a,b,c,d){var e=Vo(Pib);pq(e,28041,["impression"]);var g=new Qib(e);a.appendChild(e);return new Eq(e,b,c,g,d)},Uib=function(a,b){b=Vo(Sib,{label:b.label});a.appendChild(b);return new Tib(b)},Wib=function(a,b){for(var c=k(["peoplekitThemeLight","peoplekitThemeDark"]),d=c.next();!d.done;d=c.next())a.classList.remove(d.value);(b=Vib.get(b))&&a.classList.add(b)},Zib=function(a,b,c,d){b=Vo(Xib,{content:b,header:d});
a.appendChild(b);a=Uib(tq(b,"TvD9Pc"),{label:"Close"});Wib(b,c.getTheme());return new Yib(b,a)},ajb=function(a,b){var c=$ib({header:"Couldn't hide suggestion"});var d=Fq("<div>There was a problem and this person could not be hidden</div>");a=Zib(a,d,b,c);pq(a.getRoot(),131913,["impression"]);return a},bjb=function(a,b){var c=$ib({header:"Couldn't hide suggestion"});var d=Fq("<div>Groups of 2 or more people can't be hidden</div>");a=Zib(a,d,b,c);pq(a.getRoot(),166230,["impression"]);return a},cjb=
function(a,b){var c=$ib({header:"Couldn't show suggestion"});var d=Fq("<div>There was a problem and this person could not be shown in suggestions</div>");a=Zib(a,d,b,c);pq(a.getRoot(),184760,["impression"]);return a},djb=function(a){var b=new Image;b.src=a;a=b.complete;b.src="";return a},Hq=function(a,b,c,d,e,g){e=void 0===e?new Gq:e;g=void 0===g?"":g;b=Vo(ejb,{imageUrls:b.map(function(h){return h||"https://lh3.googleusercontent.com/a/default-user"}),backupUrl:g||"https://lh3.googleusercontent.com/a/default-user",
size:c,preloadSize:d,pixelRatio:fjb()});e=new gjb(b,e);a.appendChild(b);return e},ijb=function(a,b){var c="",d=0;b=k(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c=c+a.substring(d,e.getStart())+"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3"+a.substring(e.getStart(),e.getEnd())+"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3",d=e.getEnd();c+=a.substring(d,a.length);return hjb(hjb(vp(c),"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3","<b>"),"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3","</b>")},jjb=function(a){var b=a.getDisplayName();
return b?ijb(b,a.getMatchInfo().getDisplayNameMatches()):""},kjb=function(a){var b=a.getDisplayValue();return b?ijb(b,a.getMatchInfo().getDisplayValueMatches()):""},ljb=function(a,b){var c=b?jjb(a):vp(a.getDisplayName());b=b?kjb(a):vp(a.getDisplayValue());c=c||b;b=b||vp(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()]}},ojb=function(a,b,c,d){var e=b.result().getMemberList();
1===e.length?(b=ljb(e[0],!1),b={hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,name:"",photos:b.photos}):(e=b.result(),e=ljb(e,!1),b=b.getDisplayNameWithOverrideApplied(),b={label:vp(b)||e.sublabel,sublabel:e.sublabel,name:b,photos:e.photos,hovercardId:e.hovercardId});var g=b.hovercardId,h=b.name;var l=b.label;var q=b.sublabel;e=Fq;g='<div peoplekit-id="'+Iq("tJHJj")+'" class="'+Iq("peoplekitComponentsHideconfirmationdialogImplHeader")+'" data-hovercard-id="'+Iq(g)+'" data-name="'+Iq(h)+
'"><div class="'+Iq("peoplekitComponentsHideconfirmationdialogImplHeaderRow")+'"><div class="'+Iq("peoplekitComponentsHideconfirmationdialogImplLeft")+'">';h=Fq('<div class="'+Iq("peoplekitComponentsHideconfirmationdialogImplAvatar")+'"><div class="'+Iq("peoplekitComponentsHideconfirmationdialogImplAvatarContainer")+'" peoplekit-id="'+Iq("d6MZcd")+'"></div></div>');g=g+h+'</div><div class="'+Iq("peoplekitComponentsHideconfirmationdialogImplCenter")+'">';l=Fq('<div class="'+Iq("peoplekitComponentsHideconfirmationdialogImplLabelContainer")+
'"><div peoplekit-id="'+Iq("E0kCZc")+'" class="'+Iq("peoplekitComponentsHideconfirmationdialogImplLabel")+" "+Iq("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+Jq(Kq(l))+"</div>"+(q?'<div class="'+Iq("peoplekitComponentsHideconfirmationdialogImplSublabel")+" "+Iq("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+Jq(Kq(q))+"</div>":"")+"</div>");l=e(g+l+"</div></div></div>");e=0===d?"Hide":"Show";q='<div peoplekit-id="'+Iq("bN97Pc")+'" class="'+
Iq("peoplekitComponentsHideconfirmationdialogImplContent")+'"><div class="'+Iq("peoplekitComponentsHideconfirmationdialogImplHeadline")+'">';q=(0==d?q+"Hide Suggestion?":q+"Show Suggestion?")+('</div><div class="'+Iq("peoplekitComponentsHideconfirmationdialogImplDescription")+'">');d=Fq((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=Vo(mjb,{content:d,header:l});a.appendChild(d);a=Uib(tq(d,
"IbE0S"),{label:"Cancel"});l=l={confirmButtonText:e};l=l.confirmButtonText;q="";switch(wa(l)?l.toString():l){case "Confirm":q+="Confirm";break;case "Hide":q+="Hide";break;case "Show":q+="Show";break;default:q+="Apply"}l=Uib(tq(d,"McfNlf"),{label:q});Wib(d,c.getTheme());q=l.getRoot();switch(e){case "Hide":pq(q,131909,["pk-click","impression"]);break;case "Show":pq(q,131910,["pk-click","impression"])}a=new njb(d,a,l);d=tq(a.getRoot(),"d6MZcd");Hq(d,b.photos,36,36,c);return new Lq(a)},pjb=function(a){switch(a){case 0:return 40;
case 1:return 32;case 2:return 28;default:throw Error("xe`"+a);}},Mq=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";default:throw Error("xe`"+a);}},rjb=function(a,b,c,d){var e=ljb(a,!0);a=qjb(a,e,b,d);b=a.sublabel;d=a.allowSublabelTranslation;c.customSublabel&&(b=c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation);return{id:a.id,hovercardId:a.hovercardId,label:a.label,
sublabel:c.shouldHideSublabel?"":b,photos:a.photos,densityClass:a.densityClass,tags:a.tags,allowSublabelTranslation:d}},qjb=function(a,b,c,d){var e=[];Tj(Nq.getExperiments(),3,!1)&&c.getWarnForExternalSelections()&&2===a.getPrimaryTarget().getOrgState()&&e.push({iconUrl:"https://www.gstatic.com/people/peoplekit/icons/light_theme/domain_disabled_grey900.svg",altText:"External",style:1});return{id:gq(sjb),hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,photos:b.photos,densityClass:d,tags:e,
allowSublabelTranslation:!1}},vjb=function(a,b,c){var d="",e=vp(a.getDescription()),g=!1,h=a.getMemberList().length;if(1<h||a.getDisplayName())d=a.getMemberList().map(function(l){var q="";if(l.getPrimaryTarget().getName()){var v,x;(q=(q=null==(v=l.getPrimaryTarget())?void 0:null==(x=v.getName())?void 0:x.getGivenName())?ijb(q,l.getMatchInfo().getGivenNameMatches()):"")||(q=jjb(l))}q||(q=kjb(l));return q}),b&&(d=d.reverse()),d=jjb(a)||tjb({memberNames:d}),e||c||null===a.getTotalMemberCount()||(e=Number(a.getTotalMemberCount()),
e=ujb({memberCount:e}),g=!0);else if(1===h)return d=a.getMemberList()[0],e=ljb(d,!0),Object.assign({},e,{type:a.getPrimaryTarget().getTargetType(),flatResult:d,allowSublabelTranslation:!1});b=a.getPhotoUrl();b=a.getDisplayName()&&b?[b]:a.getMemberList().map(function(l){return l.getPhotoUrl()});return{hovercardId:"",label:d,sublabel:e,type:a.getPrimaryTarget().getTargetType(),photos:b,allowSublabelTranslation:g}},xjb=function(a,b,c,d,e,g){a=vjb(a,d,e);if(a.flatResult)return g=qjb(a.flatResult,a,b,
g),b=g.sublabel,d=g.allowSublabelTranslation,c.customSublabel&&(b=c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation),{id:g.id,hovercardId:g.hovercardId,label:g.label,sublabel:c.shouldHideSublabel?"":b,photos:g.photos,densityClass:g.densityClass,tags:g.tags,type:a.type,allowSublabelTranslation:d};b=a.sublabel;d=a.allowSublabelTranslation;c.customSublabel&&(b=c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation);return{id:gq(wjb),hovercardId:a.hovercardId,label:a.label,
sublabel:c.shouldHideSublabel?"":b,type:a.type,photos:a.photos,densityClass:g,tags:[],allowSublabelTranslation:d}},zjb=function(a,b,c,d,e,g){return new yjb(a,b,c,d,e,g)},Bjb=function(a,b){return new Ajb(a,void 0===b?"":b)},Cjb=function(a){var b=-1;(a=Oq(a))&&Pk(a,2)&&(b=Rh(a,2,0));return"index:"+b},Ijb=function(a,b){var c=Vo(Djb,{icon:b.icon,tooltipLabel:b.tooltipLabel,ariaLabel:b.ariaLabel});a.appendChild(c);var d=c.classList,e=d.add;a:{var g=b.density||0;switch(g){case 0:g="googleMaterialDefaultDensity";
break a;case 1:g="workspaceMaterialComfortableDensity";break a;case 2:g="workspaceMaterialCompactDensity";break a;default:throw Error("xe`"+g);}}e.call(d,g);if(b.tooltipLabel){e=c.getAttribute("data-tooltip-id")||"";d={label:b.tooltipLabel,ariaLabel:b.ariaLabel};e=Vo(Ejb,{label:d.label,id:e,ariaLabel:d.ariaLabel});a.appendChild(e);var h=new Fjb(e,d.showDelayMs,d.hideDelayMs);Gjb(h,c)}return new Hjb(c,b.icon,b.disabledIcon,h,b.disableNavigationFocus,b.onClick)},Kjb=function(a,b,c,d){var e=Object.assign({},
c);e.onClick=function(g){d.select(a.getSelection(),1);var h;null==(h=c.onClick)||h.call(c,g)};return new Jjb(a,b,e)},Njb=function(a,b){var c=(new Ljb).filterResult(b.result)===b.result;Tj(b.clientConfig.internal,7,!1)&&c&&Pq()?a=new Mjb(a,b.appearanceConfig,b.clientConfig,b.interactions):b.resultCustomization.secondaryActionButtonConfig&&(a=Kjb(a,b.appearanceConfig,b.resultCustomization.secondaryActionButtonConfig,b.interactions));return a},Ojb=function(a,b){var c=(new Ljb).filterResult(b.result)===
b.result,d=7===b.result.getResultType();Tj(b.clientConfig.internal,7,!1)&&!c&&Pq()&&!d&&(a=new Qq(a,b.appearanceConfig,b.clientConfig,b.result,b.ariaParent));return a},Rjb=function(){return function(a){var b=a.result;var c=a.selectionsState;var d=a.resultConfig,e=a.appearanceConfig,g=a.resultCustomization,h=rjb(b,d,g,Mq(e.getDensity())),l=Vo(Pjb,h);pq(l,25285,["impression","pk-select","pk-deselect"],[Cjb(b.getPrimaryTarget().getLoggingToken())]);var q=tq(l,"d6MZcd"),v=pjb(e.getDensity()),x;g=null!=
(x=g.backupAvatarUrl)?x:"";e=Hq(q,h.photos,v,v,e,g);b=new Qjb(l,b,c,d,h.tags,e);c=new Rq(new Sq(b,c));return Ojb(Njb(c,a),a)}},Ujb=function(a){return function(b){var c=b.result,d=b.resultConfig,e=b.appearanceConfig,g=b.clientConfig,h=b.resultCustomization;b=b.isRightToLeft;var l=c.getPrimaryTarget().getId();g=Tq(l)||Uq(l)?xjb(c,d,h,b,Tj(g.internal,6,!1),Mq(e.getDensity())):rjb(c,d,h,Mq(e.getDensity()));b=Object;l=b.assign;a:switch(a){case 1:var q=Fq('<div class="'+Iq("peoplekitComponentsResultlistitemDisabledIconIndicator")+
'" aria-label="'+Iq(". Already selected")+'">'+Fq('<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" class="'+(Iq("peoplekitComponentsResultlistitemDisabledSelectedIcon")+'"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>'))+"</div>");break a;case 2:q=Fq("");break a;default:q='<div class="'+Iq("peoplekitComponentsResultlistitemDisabledTextIndicator")+'">',q=Fq(q+"DISABLED</div>")}b=Vo(Sjb,l.call(b,{},
g,{disableReason:q}));l=tq(b,"d6MZcd");q=pjb(e.getDensity());var v;h=null!=(v=h.backupAvatarUrl)?v:"";e=Hq(l,g.photos,q,q,e,h);return new Tjb(b,c,d,g.tags,e)}},Wjb=function(a,b,c,d,e,g,h,l,q){b=d.getResultCustomizationCallback()(a,b);var v=!!c.get(a.getPrimaryTarget().getId());if(b.shouldDisable)v=6;else{var x=a.getPrimaryTarget().getId();v=Uq(x)?3:Tq(x)?2:v&&!d.getAllowResultDeselection()?5:1===a.getTargetList().length?1:1<a.getTargetList().length?4:0}v=Vjb.get(v);if(!v)throw Error("Ie");return v({result:a,
selectionsState:c,resultConfig:d,appearanceConfig:e,clientConfig:g,isRightToLeft:h,interactions:l,resultCustomization:b,ariaParent:q})},Zjb=function(a){var b=gq(rq.getInstance());b=Vo(Xjb,{id:b,header:a});return new Yjb(b,a)},$jb=function(a,b,c){return new Vq(a,b,c)},akb=function(a,b,c){return(b=b.getGroupName(c))?new Wq(a,b):a},ckb=function(a,b,c,d){b=b.getGroupName(c);c=bkb();return b&&c.infoGroupConfig?new Xq(a,c.infoGroupConfig,d):a},dkb=function(a,b,c){b=b.getGroupName(c);c=bkb();return b&&c.collapsibleGroupConfig?
new Yq(a,c.collapsibleGroupConfig):a},gkb=function(a,b,c,d,e,g,h,l,q){h=Vo(ekb,{header:h||""});a.appendChild(h);a=bib(tq(h,"tjneg"));return{resultList:new fkb(a,b,c,d,e,g,l,q),list:a}},jkb=function(a,b,c,d,e,g,h,l,q,v){a=gkb(a,b,c,d,e,l,q,g,v);b=a.resultList;b=new hkb(b,a.list,h);return new ikb(b,g)},lkb=function(a,b,c,d,e,g,h,l,q){l=Vo(ekb,{header:l||""});a.appendChild(l);a=bib(tq(l,"tjneg"));b=new kkb(a,b,c,d,e,g,h,q);return new ikb(b,g)},mkb=function(a){return"XLuqBd"===a.getAttribute("peoplekit-id")},
okb=function(a,b){return new nkb(a,b)},pkb=function(a){return a.map(function(b){return b.getLoggingToken()}).filter(Boolean)},Zq=function(a){return a.filter(function(b){return!b.isPlaceholder()}).map(function(b){return b.selectionToken().getLoggingToken()}).filter(Boolean)},$q=function(a,b,c,d){var e;d=k(d);for(var g=d.next();!g.done;g=d.next()){g=g.value;try{g(a,b,c)}catch(h){e||(e=h)}}if(e)throw e;},qkb=function(a,b,c,d,e){e=k(e);for(var g=e.next();!g.done;g=e.next())g=g.value,g(a,b,c,d)},rkb=function(a){var b=
document.createElement("div");fib(b,a.veid,a.action,a.pairs);return b},skb=function(a){return Array.from(a).filter(function(b){return b instanceof Element}).flatMap(function(b){var c=Array.from(b.querySelectorAll("[pk-log]"));b.hasAttribute("pk-log")&&c.push(b);return c})},ukb=function(a){if(tkb.has(a))return tkb.get(a);throw Error("Me`"+a);},wkb=function(a){if(vkb.has(a))return vkb.get(a);throw Error("Ne`"+a);},xkb=function(a){for(var b=new Map,c=k(Object.keys(a)),d=c.next();!d.done;d=c.next())d=
d.value,b.set(a[d].string,a[d].xid);return b},zkb=function(a){return a?a.__owner?a.__owner:a.parentNode&&11===a.parentNode.nodeType?a.parentNode.host:ykb(a):null},Akb=function(a,b,c){for(c||(a=zkb(a));a&&!b(a);)a=zkb(a)},Dkb=function(a,b){var c=new ar,d=fMa();b=(new Bkb).setClientId(a.getClientId()).setApplication(a.getSocialApplicationOrUndefined()).setEntryPoint(b).setVersionName("1.0").setBaselineCl(542993115);c=new br(c,1394,d,void 0,void 0,void 0,new Ckb(b));c.setClientSideLogOnlyForDevelopment(!a.getEnableClearcut()||
!1);a=new cr;d=Nq.getExperimentIds();a=Ab(a,3,d,eb);c.clearcut_.setClearExperimentIds(a);return c},Fkb=function(a,b,c,d,e,g){var h=c.beginSession(function(){},g.sessionOptions||new dr);return Ekb(a,b,c,h,d,e,g)},Ekb=function(a,b,c,d,e,g,h){g.internal.getClearcut().setInterfaceType(4);g.internal.getClearcut().setComponentFlow(7);var l=g.internal,q=e.getEnvironmentConfig(),v=q.experimentsConfig_.getProfileId();if(v)if(l.getExperiments().getIsEnabled()){var x=sb(Gkb||(Gkb=Hkb('[null,null,null,null,null,null,null,"AIzaSyBAMHkvD9gqERVdYmGsYLnAtfzigZdAqJQ"]')));
x=new Ikb(x,7)}else x=new er;else x=new er;l=l.getExperiments();q=x.loadExperiments(l.getApplication(),(new fr).setPeopleApiEnv(q.apiEnv_),v);Nq=new Jkb(l,q);q=Vo(Kkb,{classes:"aU4VQc"});a.appendChild(q);Wib(q,e.getTheme());pq(q,64611,["impression"]);a=new gr;v=e.getEntryPoint();v=new Lkb(d,a,v);l=g.internal.getClearcut();x=new Mkb(l);x=hr(x);l=l.getInterfaceType();l=new Nkb(new Okb(x,l));var A=new Pkb(h.intelligence);h=Vo(Qkb);q.appendChild(h);x=Vo(Rkb);pq(x,85843,["impression"]);h.appendChild(x);
var G=tq(x,"tjneg");a:{var M=e.getAutocompleteHeader(),Q=e.getAutocompleteCustomGrouping();switch(e.getAutocompleteGroupingType()){case 1:A=jkb(G,e,e,g,a,v,new Skb(e.getAutocompleteGroupingLabel()),A,M,b);break a;case 2:A=jkb(G,e,e,g,a,v,new Tkb(e.getAutocompleteGroupingLabel()),A,M,b);break a;case 3:if(!Q)break;A=Tj(g.internal,7,!1)&&Pq()?lkb(G,e,e,g,a,v,Q,M,b):jkb(G,e,e,g,a,v,Q,A,M,b);break a;case 4:if(Q){A=lkb(G,e,e,g,a,v,Q,M,b);break a}}A=gkb(G,e,e,g,a,A,M,v,b);A=new ikb(A.resultList,v)}G=tq(G,
"rymPhb");b.setAttribute("aria-owns",G.id);b.setAttribute("aria-controls",G.id);G.setAttribute("aria-labelledby",b.id);M=e.getNoResultsMessage();G=Vo(Ukb);M?M.display?M=new Vkb(G,M):(M=Vo(Wkb,M),G.appendChild(M),M=new Xkb):M=new Ykb;x.appendChild(G);l=new Zkb(x,b,A,d,l,e,M,g);Tj(g.internal,7,!1)&&Pq()&&(l=new ir(l,c,d,g,e,b));b=new $kb(h,b,l,a,e);Yhb(b.getRoot(),c);c=g.internal.getClearcut();g=e.getEntryPoint();rib()?c=new alb(q,Dkb(c,g)):(d=Nq.getExperiments(),Tj(d,2,!1)||Tj(c,6,!0)?(c=Dkb(c,g),
q.hasAttribute("pk-log")?(c=new blb(new jr(q),c),c=new clb(q,c),c=new dlb(c)):c=new elb):c=new elb);c.start();return new flb(q,b,a,v,c,e)},hlb=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);glb.lastIndex=0;for(var d=glb.exec(a);d&&d.index<c;d=glb.exec(a))b.push(a.substring(Number(glb.lastIndex)));return b},llb=function(a){a=Array.from(a).flatMap(function(g){return(g||"").split(ilb)}).filter(Boolean);
if(!a.length)return a;var b=new Set;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=kr(jlb(c.value)).replace(klb,"").toUpperCase().toLowerCase();c=k(hlb(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(g){if(e.startsWith(g))return!1;e=g;return!0})},nlb=function(a){var b;return mlb(function(c){1==c.nextAddress&&(b=0);if(3!=c.nextAddress)return b<a?c.yield(b,3):c.jumpTo(0);b++;return c.jumpTo(2)})},olb=function(a,
b){return isFinite(a.fieldAffinity)?a.fieldAffinity:b&&Tq(a.id)&&9!==a.id.getType()?isFinite(a.itemAffinity)?a.itemAffinity:-Infinity:-Infinity},rlb=function(a,b,c){if(Tq(a.id)||Tq(b.id)){var d=plb.has(a.id.getType()),e=plb.has(b.id.getType());if(d!==e)return d?-1:1;if(Tq(a.id)&&Tq(b.id))return qlb(a,b,c,!1)}d=olb(a,c);c=olb(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},qlb=function(a,b,c,d){var e=isFinite(a.itemAffinity)?
a.itemAffinity:-Infinity,g=isFinite(b.itemAffinity)?b.itemAffinity:-Infinity;return e!==g?e>g?-1:1:d?rlb(a,b,c):0},wlb=function(a,b,c){var d=lr(b.getTargetType(),b.getValue()),e=[].concat(cd(b.getProfileIdList().map(slb)),cd(Sh(b,6).map(tlb)),cd(b.getCustomSourceIdList().map(ulb)));vlb.includes(d.getType())&&e.push(d);return{id:d,containerIds:e,dataSource:Sh(b,6).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}},xlb=function(a){return(a||"").trim()},Elb=function(a){var b=a.resultData,c=a.targetData,d=ylb(mr(a.id).setDataSource(a.dataSource||0),!!a.isMe);a.containerIds&&(d.sourceIds_=a.containerIds||[]);b.hasResultType()&&zlb(d,b.getResultType());c.hasValue()&&d.setValue(xlb(c.getValue()));c.hasDescription()&&d.setDescription(c.getDescription());if(c.hasName()){var e=
c.getName();d.setName((new Alb).setDisplayName(e.getDisplayName()).setGivenName(e.getGivenName()).setFamilyName(e.getFamilyName()).setSourceType(e.getSourceType()))}c.hasPhoto()&&(e=c.getPhoto(),d.setPhoto((new nr).setUrl(e.getUrl()).setType(e.getType()).setSourceType(e.getSourceType()).setGlyph(e.getGlyph())));if(b.hasTotalMemberCount()){var g;a.totalMemberCount=null!=(g=b.getTotalMemberCount())?g:void 0}b.hasAffinity()&&d.setPersonLoggingId(b.getAffinity().getLoggingId()||"");c.hasAffinity()&&d.setFieldLoggingId(c.getAffinity().getLoggingId()||
"");c.hasOrgState()&&Blb(d,c.getOrgState());c.hasDataSource()&&d.setDataSource(c.getDataSource());c.getTagList().length&&Clb(d,c.getTagList().map(function(h){return Dlb(h.altText_).setIconUrl(h.getIconUrl())}));c.hasExtendedData()&&d.setExtendedData(c.getExtendedData());return d},Glb=function(a){return a?Flb.get(a)||0:0},Jlb=function(a){switch(a.getValueCase()){case 2:return or(a.getEmail().getValue()||"");case 3:var b=a.getPhone();return b.getOriginalValue()&&Z(b,2)?(a=Hlb(b.getOriginalValue()||
""),b=Hlb(Z(b,2)||""),!a.equals(b)&&a.getValue().startsWith(b.getValue())?a:b):Hlb(Z(b,2)||b.getDisplayValue()||b.getOriginalValue()||"");case 4:a=ck(a,pr,4,qr);if(a.hasProfileId())return a=a.getProfileId()||"",new rr(8,Qo(a).toLowerCase(),a);switch(Mi(a,sr)){case 2:return a=a.getEmail()||"",new rr(6,Qo(a).toLowerCase(),a);case 3:return Ilb(a.getPhone()||"")}}return tr},Klb=function(a){return a.getSourceIdsList().map(function(b){switch(b.getIdCase()){case 1:return slb(b.getProfileId()||"");case 2:return tlb(b.getContactId()||
"");default:return null}}).filter(Boolean)},Llb=function(a,b){return Nj(a,ur,3)&&X(a,ur,3).getIsPlaceholder()?3:vr(b,8)?1:0},Mlb=function(a){return a&&a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},Nlb=function(a){return a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},Olb=function(a){return!!a&&!!a.getPrimary()},Qlb=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"+Plb(a):""},Tlb=function(a){var b=void 0;if(X(a,ur,3)){var c;b=null!=(c=b)?c:new wr;xr(b,Rlb,X(a,ur,3))}if(a.getPeopleStackPersonExtendedData()){var d;b=null!=(d=b)?d:new wr;xr(b,Slb,a.getPeopleStackPersonExtendedData())}return b},Vlb=function(a){var b=void 0;if(X(a,yr,9)){var c;b=null!=(c=b)?c:new wr;xr(b,Ulb,X(a,yr,9))}return b},Xlb=function(a){var b=
new zr,c=a?2:1;Wlb(b.setEventType(4),c).setToken(a);return b},Zlb=function(a,b){var c=new Ar;c=(new zr).setLookupInfo(c);Br(c.setEventType(6),9).setItemCount(a.length).setQueryScope(Ylb.get(b)||0);return c},$lb=function(){var a=new zr;Br(a.setEventType(6),11);return a},amb=function(){var a=new zr;Br(a.setEventType(6),10);return a},bmb=function(a,b){var c=new zr;Br(c.setEventType(6),6).setQueryLength(a.length).setQueryScope(Ylb.get(b)||0);return c},cmb=function(a){var b=new zr;Br(b.setEventType(6),
5).setQueryScope(Ylb.get(a)||0);return b},dmb=function(a,b){switch(a){case 8:case 3:case 17:return(new Cr).setProfileId(b);case 1:case 6:return(new Cr).setEmail(b);case 7:case 2:return(new Cr).setPhone(b);default:return null}},fmb=function(a){return((a=kj(a,Dr,2).find(function(b){return 1===Er(b,1)}))?emb.get(Er(a,2)):0)||0},imb=function(a,b){b.hasAffinity()&&a.setFieldLoggingId(gmb(Hca(Jo(b.getAffinity(),1))||""));if(b.hasName()){var c=b.getName(),d=a.setName,e=(new Alb).setDisplayName(c.getValue()).setGivenName(c.getGivenName()).setFamilyName(c.getFamilyName()),
g=e.setSourceType;a:switch(c.getSourceType()){case 1:c=3;break a;case 2:c=4;break a;default:c=0}d.call(a,g.call(e,c))}b.hasPhoto()&&(b=b.getPhoto(),a.setPhoto((new nr).setUrl(b.getUrl()).setGlyph(b.getGlyph()).setType(hmb.get(b.getType())||0)))},jmb=function(a,b){if(b.hasProfileId())switch(Mi(b,sr)){case 2:var c=b.getEmail()||"";return mr(a.id).setValue(b.getProfileId()||"").setOriginatingField((new Fr).setType(1).setValue(c));case 3:return c=b.getPhone()||"",mr(a.id).setValue(b.getProfileId()||"").setOriginatingField((new Fr).setType(2).setValue(c));
default:return b=b.getProfileId()||"",mr(a.id).setValue(b)}switch(Mi(b,sr)){case 2:return b=b.getEmail()||"",mr(a.id).setValue(b).setOriginatingField((new Fr).setType(1).setValue(b));case 3:return b=b.getPhone()||"",mr(a.id).setValue(b).setOriginatingField((new Fr).setType(2).setValue(b));default:return b=b.getProfileId()||"",mr(a.id).setValue(b)}},lmb=function(a,b){var c=ylb(mr(a.id),!!a.isMe);a.containerIds&&(c.sourceIds_=a.containerIds||[]);b&&imb(c,b);a.group&&((b=kj(a.group,Gr,6).find(function(d){return null!=
Io(d,1,kmb)}))?c.setValue(Io(b,1,kmb)||""):a.group.hasGroupId()&&c.setValue(a.group.getGroupId()||""));a.targetExtendedData&&c.setExtendedData(a.targetExtendedData);a.target=c},nmb=function(a){return new mmb(a)},qmb=function(a){if(8===a.getTargetType()){var b=a.getOriginatingField();if(b&&(b=b.getType(),b=omb.get(b)))return b}return(b=pmb.get(a.getTargetType()))?b:Tq(a.getId())?8:0},smb=function(a,b,c){var d=new Hr,e=new Ir;hj(d,Ir,2,e);e.setProvenance(b);b=new Jr;hj(d,Jr,1,b);Vj(b,9,1===c);b.setProfileId(a.getProfileId()||
null);b.setContactId(a.getContactId()||null);c=8===qmb(a)?8:a.getIsPersonalResult()?4:3;V(b,8,c);c=null;8===a.getTargetType()&&(e=a.getOriginatingField())&&omb.has(e.getType())&&(c=e.getValue());c||(c=a.getValue());c&&b.setFieldValue(c);Tq(a.getId())||b.setName(a.getName()?a.getName().getDisplayName():null);b.setFieldType(qmb(a));b.setFieldLoggingId(a.getFieldLoggingId()||null);b.setPersonLoggingId(a.getPersonLoggingId()||null);b.setIsPlaceholder(3===a.getDataSource());8===b.getFieldType_legacyNullable()&&
b.setGroupId(a.getId().getValue());return new rmb(a,d)},umb=function(a){a=tmb.indexOf(a.provenance);return 0>a?tmb.length:a},vmb=function(a){return a.containerIds&&a.containerIds.some(function(b){return 3===b.getType()})},xmb=function(a,b){b.useOriginalDisplayValue_&&(a=new Map(Array.from(a,function(c){var d=k(c);c=d.next().value;d=d.next().value;if(c.equals(d.getPrimaryTarget().getId())&&c.getOriginalValue()!==d.getDisplayValue()&&d.getPrimaryTarget().getValue()===d.getDisplayValue()){var e=c.getOriginalValue(),
g=d.getPrimaryTarget();d=h$a(d,new wmb(g,e))}return[c,d]})));return a},Amb=function(a){return Tj(a,21,!1)?new ymb:zmb},Bmb=function(a){return 0!==a&&12!==a},Cmb=function(a,b){return new Promise(function(c){0<b?setTimeout(function(){return c(a)},b):c(a)})},Dmb=function(a,b,c){b=Cmb(b,c);return Promise.race([a,b])},Emb=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)}}},Hmb=function(a,b,c,d){b=Fmb(a,b).map(function(e){var g=k(e);e=g.next().value;g=g.next().value;return new Kr(e,g)});c=Fmb(a,c).map(function(e){var g=k(e);e=g.next().value;g=g.next().value;return new Kr(e,g)});a=Fmb(a,d).map(function(e){var g=k(e);e=g.next().value;g=g.next().value;return new Kr(e,g)});return new Gmb(b,c,a)},Imb=function(a){switch(a.getType()){case 1:case 6:return 1;case 2:case 7:return 2;case 17:case 3:case 8:return 3;default:return 0}},
Jmb=function(a){return a.reduce(function(b,c){var d=Imb(c);if(b.has(d)){var e;null==(e=b.get(d))||e.push(c)}else b.set(d,[c]);return b},new Map)},Kmb=function(a,b){b=void 0===b?new Lr:b;var c=new Map;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;for(var e=k(d.data.keys()),g=e.next();!g.done;g=e.next())g=g.value,c.set(g,d.data.get(g))}return{data:c,metadata:b}},Mmb=function(a){return!a||a instanceof Lmb?a:new Lmb(a)},Omb=function(a){return Nmb.get(a)||0},Qmb=function(a,b){var c=Pmb(Mr(new Nr,
"PeopleStore").setLogSource(Zi(a,4,574)).setApplication(a.getSocialApplication()).setEnvironment(b.getPeopleApiEnv()).setVersion("1004").setBaselineCl(542993115).setEnableClearcut(a.getEnableClearcut()),[].concat(cd(b.getExperiments().getExperimentIdsList()),cd(Or?Or.getExperimentIds():[]))).setClientAgent(2);b.getClearcutUrl()&&c.setClearcutUrl(b.getClearcutUrl());(a=kj(a,Pr,5).find(function(d){return 0===d.getEntryPoint()}))&&c.setEventSource(Qr(a,4));return c},Rmb=function(a){return(Nj(a,Rr,12)?
X(X(a,Rr,12),Pr,2):a.getSources())||new Pr},Smb=function(a){return(Nj(a,Rr,12)?X(X(a,Rr,12),Pr,3):a.getSources())||new Pr},Tmb=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)},Umb=function(a){if(!a.hasSessionState())return"";a=a.getSessionState();return qj(a,3,0)+":"+qj(a,4,0)+":"+qj(a,5,0)+":"+a.getInstanceId()},Vmb=function(a){return Nj(a,Ir,2)?Oq(a).getContext()||0:0},Wmb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=
a.next()){c=c.value;var d=c.getSessionState();d=d?qj(d,3,0)+"-"+qj(d,4,0)+"-"+qj(d,5,0)+"-"+d.getInstanceId():"";b.has(d)?b.get(d).push(c):b.set(d,[c])}return Array.from(b.values())},Tr=function(a,b,c,d){d=void 0===d?!1:d;a=a.filter(function(h){return!Tj(h,4,!1)});if(d){d=k(a);for(var e=d.next();!e.done;e=d.next())Vj(e.value,4,!0)}if(c)for(d=a.filter(function(h){return h&&!h.hasSessionState()}),d=k(d),e=d.next();!e.done;e=d.next())e.value.setSessionState(c.clone());a=Wmb(a);c=[];a=k(a);for(d=a.next();!d.done;d=
a.next())if(d=d.value,e=d.find(function(h){return h&&h.hasSessionState()})){e=e.getSessionState();var g=new Sr;g.setSessionState(e);g.setEventType(b);nj(g,3,d);g.setEventSources(e.getSources());c.push(g)}return c},Xmb=function(a){var b;a=a.getMetadata();a.hasCacheState()&&(a=a.getCacheState(),a.hasSource()&&(b=a.getSource()));return b||new Ur},Ymb=function(a){a&1&&(F(0,"a",3),P(1),R(2,"async"),H());if(a&2){a=N();var b;E("href",a.manageComponentLink,Ud);z(1);Mf(null==(b=S(2,2,a.component$))?null:b.name)}},
Zmb=function(a){a&1&&(F(0,"output"),P(1),H());a&2&&(a=N(),z(1),Mf(a.componentId))},$mb=function(a){a&1&&(F(0,"li")(1,"label"),P(2,"Component"),H(),I(3,"b-async-component",7),H());a&2&&(a=N(2),z(3),E("componentId",a.issueComponentId))},anb=function(a){a&1&&(F(0,"li")(1,"label"),P(2,"Team"),H(),I(3,"b-team-display",8),H());a&2&&(a=N(2),z(3),E("teamId",a.issueTeamId))},bnb=function(a){a&1&&(F(0,"ol",3)(1,"li")(2,"label"),P(3,"ID"),H(),F(4,"output"),P(5),H()(),F(6,"li")(7,"label"),P(8,"Type"),H(),F(9,
"output"),P(10),H()(),F(11,"li")(12,"label"),P(13,"Priority"),H(),I(14,"b-issue-priority-display",4),H(),F(15,"li")(16,"label"),P(17,"Severity"),H(),F(18,"output"),P(19),H()(),F(20,"li")(21,"label"),P(22,"Status"),H(),F(23,"output"),P(24),H()(),F(25,"li")(26,"label"),P(27,"Last modified"),H(),F(28,"output"),P(29),R(30,"date"),H()(),F(31,"li")(32,"label"),P(33,"Issue access limit"),H(),F(34,"output"),P(35),F(36,"a",5),P(37,"Learn more"),H()()(),O(38,$mb,4,1,"li",6),O(39,anb,4,1,"li",6),H());a&2&&(a=
N(),z(5),Mf(a.issueId),z(5),Mf(a.issueType),z(4),E("issuePriority",a.issuePriority),z(5),Mf(a.issueSeverity),z(5),Mf(a.issueStatus),z(5),Mf(Uf(30,10,a.issueLastModified,"medium")),z(6),Lf("",a.accessLimitLevel," "),z(1),E("href",a.documentationLinks.getIssueAccessLimit(),Ud),z(2),E("ngIf",a.issueComponentId),z(1),E("ngIf",a.issueTeamId))},cnb=function(a){return a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'")?a.toLowerCase().substr(1,a.length-2):a.toLowerCase()},dnb=function(a){a.label||
(a=Yh(a),a.label={customFieldId:void 0,field:"_TEXT_"});return a},fnb=function(a){return{type:enb[a.getType()],value:a.getValue()}},hnb=function(a){var b,c;return{type:gnb[a.getType()],values:(null!=(b=a.getValuesList())?b:[]).map(hnb),simpleValues:(null!=(c=kj(a,inb,3))?c:[]).map(fnb)}},mnb=function(a){var b,c=jnb[a.getType()],d=(null!=(b=a.getValuesList())?b:[]).map(hnb);b=Tj(a,3);if(a.hasLabel()){var e=a.getLabel();e={field:knb[e.getField()],customFieldId:Number(e.getCustomFieldId())}}else e=void 0;
return{type:c,values:d,negated:b,label:e,operator:lnb[Zi(a,5,0)]}},onb=function(a){switch(a.getKindCase()){case 2:return{syntaxErrorResponse:{syntaxError:U(ck(a,Vr,2,Wr),1)},queryBuilderResponse:void 0};case 1:a=ck(a,Xr,1,Wr);var b;return{syntaxErrorResponse:void 0,queryBuilderResponse:{type:nnb[a.getType()],expressions:(null!=(b=kj(a,Yr,2))?b:[]).map(mnb)}};default:return{syntaxErrorResponse:void 0,queryBuilderResponse:void 0}}},pnb=function(a){a&1&&(F(0,"span",11),P(1," > "),H())},snb=function(a,
b){if(a&1){var c=u();F(0,"span")(1,"a",9);L("click",function(d){var e=w(c).$implicit,g=N(2);e=new qnb(e.pathIds,e.pathNames);g.onTeamSelect.emit(e);d.stopPropagation();d.preventDefault();rnb(g.autocompleteTrigger);return y()});P(2);H();O(3,pnb,2,0,"span",10);H()}a&2&&(a=b.$implicit,b=b.last,z(1),E("matTooltip",a.pathNameText),z(1),Mf(a.name),z(1),E("ngIf",!b))},tnb=function(a,b){a&1&&(F(0,"mat-option",6)(1,"div"),O(2,snb,4,3,"span",7),H(),F(3,"span",8),P(4),R(5,"slice"),H()());a&2&&(a=b.$implicit,
E("value",a),z(2),E("ngForOf",a.teamPath),z(1),E("matTooltip",a.description),z(1),Lf("",Vf(5,4,a.description,0,100)," "))},unb=function(a,b){a&1&&(F(0,"mat-option",5)(1,"div",6),P(2),H()());a&2&&(a=b.$implicit,E("value",a),z(2),Lf(" ",a.name," "))},vnb=function(a,b){a&1&&(F(0,"mat-option",13),P(1),H());a&2&&(a=b.$implicit,E("value",a.key),z(1),Lf(" ",a.value," "))},wnb=function(a){if(a&1){var b=u();F(0,"mat-form-field",10)(1,"mat-select",11);L("ngModelChange",function(c){w(b);var d=N(2);return y(d.expressionType=
c)});O(2,vnb,2,2,"mat-option",12);R(3,"keyvalue");H()()}a&2&&(a=N(2),z(1),E("ngModel",a.expressionType),z(1),E("ngForOf",S(3,2,a.globalTypeLabels)))},xnb=function(a,b){a&1&&(F(0,"mat-option",13),P(1),H());a&2&&(a=b.$implicit,E("value",a[0]),z(1),Lf(" ",a[1]," "))},ynb=function(a,b){a&1&&(F(0,"mat-option",13),P(1),H());if(a&2){a=b.$implicit;b=N(2).$implicit;var c=N(2);E("value",a);z(1);Lf(" ",c.getTypeLabel(b,a)," ")}},znb=function(a){if(a&1){var b=u();F(0,"mat-form-field",10)(1,"mat-select",21);L("ngModelChange",
function(c){w(b);var d=N().$implicit;return y(d.type=c)});O(2,ynb,2,2,"mat-option",12);H()()}a&2&&(a=N().$implicit,z(1),E("ngModel",a.type),z(1),E("ngForOf",a.getLegalTypes()))},Anb=function(a,b){if(a&1){var c=u();F(0,"div",28)(1,"mat-checkbox",29);L("change",function(d){var e=w(c).$implicit,g=N(3).$implicit;return y(g.enumValues[e.id]=d.checked)});P(2);H()()}a&2&&(a=b.$implicit,b=N(3).$implicit,z(1),E("checked",b.enumValues[a.id]),z(1),Lf(" ",a.label||a.id," "))},Bnb=function(a){a&1&&(F(0,"div",
26),O(1,Anb,3,2,"div",27),H());a&2&&(a=N(2).$implicit,z(1),E("ngForOf",a.getOptions()))},Cnb=function(a){if(a&1){var b=u();F(0,"div")(1,"input",30);L("ngModelChange",function(c){w(b);var d=N(3).$implicit;return y(d.csv=c)});H()()}a&2&&(a=N(3).$implicit,z(1),E("ngModel",a.csv)("bContactAutocomplete","MULTI"))},Dnb=function(a){if(a&1){var b=u();F(0,"div",22)(1,"input",31);L("ngModelChange",function(c){w(b);var d=N(3).$implicit;return y(d.csv=c)});H()()}a&2&&(a=N(3).$implicit,z(1),E("ngModel",a.csv))},
Enb=function(a){if(a&1){var b=u();F(0,"div",22)(1,"input",32);L("ngModelChange",function(c){w(b);var d=N(3).$implicit;return y(d.csv=c)});H()()}a&2&&(a=N(3).$implicit,z(1),E("ngModel",a.csv))},Fnb=function(a){if(a&1){var b=u();F(0,"div",22)(1,"input",33);L("ngModelChange",function(c){w(b);var d=N(3).$implicit;return y(d.csv=c)});H()()}a&2&&(a=N(3).$implicit,z(1),E("ngModel",a.csv))},Gnb=function(a){a&1&&(F(0,"div"),O(1,Cnb,2,2,"div",24),O(2,Dnb,2,1,"div",18),O(3,Enb,2,1,"div",18),O(4,Fnb,2,1,"div",
18),H());a&2&&(a=N(2).$implicit,z(1),E("ngIf","user"==a.getWidgetType()),z(1),E("ngIf","csv"==a.getWidgetType()),z(1),E("ngIf","id"==a.getWidgetType()),z(1),E("ngIf","number"==a.getWidgetType()))},Hnb=function(a,b){if(a&1){var c=u();F(0,"div",37)(1,"div",38)(2,"input",33);L("ngModelChange",function(d){var e=w(c).$implicit;return y(e.value=d)});H()();F(3,"button",39);L("click",function(){var d=w(c).$implicit,e=N(3).$implicit,g=N(2);return y(Zr(g,e,d))});H()()}a&2&&(a=b.$implicit,z(2),E("ngModel",a.value))},
Inb=function(a){if(a&1){var b=u();F(0,"button",40);L("click",function(){w(b);var c=N(3).$implicit,d=N(2);return y($r(d,c))});P(1);H()}a&2&&(a=N(3).$implicit,z(1),Lf(" + ","OR"==a.type||"NOR"==a.type?"OR":"AND"," "))},Jnb=function(a){a&1&&(F(0,"div",34),O(1,Hnb,4,1,"div",35),O(2,Inb,2,1,"button",36),H());a&2&&(a=N(2).$implicit,z(1),E("ngForOf",a.values),z(1),E("ngIf",a.type))},Lnb=function(a){if(a&1){var b=u();F(0,"div",49);L("click",function(){w(b);var d=N(2).$implicit,e=N(5);return y(Knb(e,d))});
F(1,"span",50);P(2);H()()}if(a&2){a=N(2).$implicit;var c=N(5);E("title",c.getComponentPath(c.components[a.value]));z(2);Lf(" ",c.getComponentPath(c.components[a.value])," ")}},Mnb=function(a){if(a&1){var b=u();F(0,"div",38)(1,"b-team-component-picker",51);L("selectedComponentChange",function(c){w(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;as(d);return y()});H()()}a&2&&(a=N(7),z(1),E("selectedComponent",a.componentUnderEdit)("placeholder","Choose Component")("isRequired",!0))},Nnb=function(a){if(a&1){var b=u();F(0,"div",43);O(1,Lnb,3,2,"div",44);O(2,Mnb,2,3,"div",45);F(3,"button",46);L("click",function(){w(b);var d=N().$implicit;N(5);d.includeSubs=!d.includeSubs;return y()});I(4,"mat-icon",47);H();F(5,"button",48);L("click",function(){w(b);var d=N().$implicit,e=N(3).$implicit,g=N(2);return y(Zr(g,e,d))});H()()}if(a&
2){a=N().$implicit;var c=N(5);z(1);E("ngIf",c.chipUnderEdit!==a);z(1);E("ngIf",c.chipUnderEdit===a);z(1);E("title",a.includeSubs?"Subcomponents are included":"Subcomponents are not included");of("aria-checked",a.includeSubs);z(1);E("svgIcon",a.includeSubs?"child-components-24px":"child-components-hide-24px")}},Onb=function(a,b){a&1&&(J(0),O(1,Nnb,6,5,"div",42),K());a&2&&(a=b.$implicit,b=N(5),z(1),E("ngIf",b.chipUnderEdit===a||a.value))},Pnb=function(a){if(a&1){var b=u();F(0,"button",40);L("click",
function(){w(b);var c=N(3).$implicit,d=N(2);return y($r(d,c))});P(1);H()}a&2&&(a=N(3).$implicit,z(1),Lf(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Qnb=function(a){a&1&&(F(0,"div",34),O(1,Onb,2,1,"ng-container",41),O(2,Pnb,2,1,"button",36),H());a&2&&(a=N(2).$implicit,z(1),E("ngForOf",a.values),z(1),E("ngIf",a.type))},Snb=function(a){if(a&1){var b=u();F(0,"div",49);L("click",function(){w(b);var d=N(2).$implicit,e=N(5);return y(Rnb(e,d))});F(1,"span",50);P(2);H()()}if(a&2){a=N(2).$implicit;
var c=N(5);E("title",null==c.trackers[a.value]?null:c.trackers[a.value].name);z(2);Lf(" ",null==c.trackers[a.value]?null:c.trackers[a.value].name," ")}},Tnb=function(a){if(a&1){var b=u();F(0,"div",38)(1,"b-tracker-picker",54);L("onTrackerSelect",function(c){w(b);var d=N(7);d.analytics.trackEvent(ao.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;as(d);return y()});H()()}a&
2&&(a=N(7),z(1),E("selectedTracker",a.trackerUnderEdit))},Unb=function(a){if(a&1){var b=u();F(0,"div",53);O(1,Snb,3,2,"div",44);O(2,Tnb,2,1,"div",45);F(3,"button",48);L("click",function(){w(b);var d=N().$implicit,e=N(3).$implicit,g=N(2);return y(Zr(g,e,d))});H()()}if(a&2){a=N().$implicit;var c=N(5);z(1);E("ngIf",c.chipUnderEdit!==a);z(1);E("ngIf",c.chipUnderEdit===a)}},Vnb=function(a,b){a&1&&(J(0),O(1,Unb,4,2,"div",52),K());a&2&&(a=b.$implicit,b=N(5),z(1),E("ngIf",b.chipUnderEdit===a||a.value))},
Wnb=function(a){if(a&1){var b=u();F(0,"button",40);L("click",function(){w(b);var c=N(3).$implicit,d=N(2);return y($r(d,c))});P(1);H()}a&2&&(a=N(3).$implicit,z(1),Lf(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Xnb=function(a){a&1&&(F(0,"div",34),O(1,Vnb,2,1,"ng-container",41),O(2,Wnb,2,1,"button",36),H());a&2&&(a=N(2).$implicit,z(1),E("ngForOf",a.values),z(1),E("ngIf",a.type))},Znb=function(a){if(a&1){var b=u();F(0,"div",49);L("click",function(){w(b);var d=N(2).$implicit,e=N(6);return y(Ynb(e,
d))});R(1,"teamPath");F(2,"span",50);P(3);R(4,"teamPath");H()()}if(a&2){a=N(2).$implicit;var c=N(6);E("title",S(1,2,c.teams[a.value]));z(3);Lf(" ",S(4,4,c.teams[a.value])," ")}},aob=function(a){if(a&1){var b=u();F(0,"div",38)(1,"b-team-picker",58);L("onTeamSelect",function(c){w(b);var d=N(8);return y($nb(d,c))});H()()}a&2&&(a=N(8),z(1),E("teamSelected",a.teamUnderEdit))},bob=function(a){if(a&1){var b=u();F(0,"div",56);O(1,Znb,5,6,"div",44);O(2,aob,2,1,"div",45);F(3,"button",57);L("click",function(){w(b);
var d=N().$implicit;N(6);d.includeSubs=!d.includeSubs;return y()});I(4,"mat-icon",47);H();F(5,"button",48);L("click",function(){w(b);var d=N().$implicit,e=N(4).$implicit,g=N(2);return y(Zr(g,e,d))});H()()}if(a&2){a=N().$implicit;var c=N(6);z(1);E("ngIf",c.chipUnderEdit!==a);z(1);E("ngIf",c.chipUnderEdit===a);z(1);E("title",a.includeSubs?"Subteams are included":"Subteams are not included");of("aria-checked",a.includeSubs);z(1);E("svgIcon",a.includeSubs?"child-teams-24px":"child-teams-hide-24px")}},
cob=function(a,b){a&1&&(J(0),O(1,bob,6,5,"div",55),K());a&2&&(a=b.$implicit,b=N(6),z(1),E("ngIf",b.chipUnderEdit===a||a.value))},dob=function(a){if(a&1){var b=u();F(0,"button",40);L("click",function(){w(b);var c=N(4).$implicit,d=N(2);return y($r(d,c))});P(1);H()}a&2&&(a=N(4).$implicit,z(1),Lf(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},eob=function(a){a&1&&(J(0),O(1,cob,2,1,"ng-container",41),O(2,dob,2,1,"button",36),K());a&2&&(a=N(3).$implicit,z(1),E("ngForOf",a.values),z(1),E("ngIf",a.type))},
fob=function(a){a&1&&(F(0,"div",34),O(1,eob,3,2,"ng-container",24),H());a&2&&(a=N(4),z(1),E("ngIf",a.sessionIsInternal))},hob=function(a){if(a&1){var b=u();F(0,"div")(1,"bv2-input-date-picker",59);L("boundValueChange",function(c){w(b);N(3).$implicit.dateFrom=gob(c);return y()});H();P(2," and ");F(3,"bv2-input-date-picker",59);L("boundValueChange",function(c){w(b);N(3).$implicit.dateTo=gob(c);return y()});H()()}a&2&&(a=N(3).$implicit,z(1),E("boundValue",a.dateFrom)("isRequired",!0),z(2),E("boundValue",
a.dateTo)("isRequired",!0))},iob=function(a){if(a&1){var b=u();F(0,"div");P(1," the last ");F(2,"input",60);L("ngModelChange",function(c){w(b);var d=N(3).$implicit;return y(d.duration=c)});H();P(3," days. ");H()}a&2&&(a=N(3).$implicit,z(2),E("ngModel",a.duration))},job=function(a){if(a&1){var b=u();F(0,"div")(1,"bv2-input-date-picker",59);L("boundValueChange",function(c){w(b);N(3).$implicit.dateFrom=gob(c);return y()});H()()}a&2&&(a=N(3).$implicit,z(1),E("boundValue",a.dateFrom)("isRequired",!0))},
kob=function(a){a&1&&(F(0,"div"),O(1,hob,4,4,"div",24),O(2,iob,4,1,"div",24),O(3,job,2,2,"div",24),H());a&2&&(a=N(2).$implicit,z(1),E("ngIf","RANGE"==a.type||"NRANGE"==a.type),z(1),E("ngIf","DURATION"==a.type||"NDURATION"==a.type),z(1),E("ngIf","LE"==a.type||"LT"==a.type||"GE"==a.type||"GT"==a.type||"OR"==a.type))},lob=function(a){if(a&1){var b=u();F(0,"div",49);L("click",function(){w(b);var d=N(2).$implicit,e=N(5);return y(bs(e,d))});F(1,"span",50);P(2);H()()}if(a&2){a=N(2).$implicit;var c=N(5);
E("title",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value);z(2);Lf(" ",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value," ")}},mob=function(a,b){a&1&&(F(0,"mat-option",13),P(1),H());a&2&&(a=b.$implicit,E("value",a.hotlistId),z(1),Lf(" ",a.name," "))},nob=function(a){if(a&1){var b=u();F(0,"mat-form-field",64)(1,"mat-select",65);L("ngModelChange",function(d){w(b);var e=N(2).$implicit;return y(e.value=d)})("selectionChange",function(){w(b);var d=N(7);return y(as(d))});
O(2,mob,2,2,"mat-option",12);H()()}if(a&2){a=N(2).$implicit;var c=N(5);z(1);E("ngModel",a.value);z(1);E("ngForOf",c.userHotlists)}},oob=function(a){if(a&1){var b=u();F(0,"div",62);O(1,lob,3,2,"div",44);O(2,nob,3,2,"mat-form-field",63);F(3,"button",48);L("click",function(){w(b);var d=N().$implicit,e=N(3).$implicit,g=N(2);return y(Zr(g,e,d))});H()()}if(a&2){a=N().$implicit;var c=N(5);z(1);E("ngIf",c.chipUnderEdit!==a);z(1);E("ngIf",c.chipUnderEdit===a)}},pob=function(a,b){a&1&&(J(0),O(1,oob,4,2,"div",
61),K());a&2&&(a=b.$implicit,b=N(5),z(1),E("ngIf",b.chipUnderEdit===a||a.value))},qob=function(a){if(a&1){var b=u();F(0,"button",40);L("click",function(){w(b);var c=N(3).$implicit,d=N(2);return y($r(d,c))});P(1);H()}a&2&&(a=N(3).$implicit,z(1),Lf(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},rob=function(a){a&1&&(F(0,"div",34),O(1,pob,2,1,"ng-container",41),O(2,qob,2,1,"button",36),H());a&2&&(a=N(2).$implicit,z(1),E("ngForOf",a.values),z(1),E("ngIf",a.type))},sob=function(a){if(a&1){var b=
u();F(0,"div",49);L("click",function(){w(b);var d=N(2).$implicit,e=N(5);return y(bs(e,d))});F(1,"span",50);P(2);H()()}if(a&2){a=N(2).$implicit;var c=N(5);E("title",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value);z(2);Lf(" ",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value," ")}},tob=function(a,b){a&1&&(F(0,"mat-option",13),P(1),H());a&2&&(a=b.$implicit,E("value",a.searchId),z(1),Lf(" ",a.name," "))},uob=function(a){if(a&1){var b=u();F(0,"mat-form-field",
64)(1,"mat-select",66);L("ngModelChange",function(d){w(b);var e=N(2).$implicit;return y(e.value=d)})("selectionChange",function(){w(b);var d=N(7);return y(as(d))});O(2,tob,2,2,"mat-option",12);H()()}if(a&2){a=N(2).$implicit;var c=N(5);z(1);E("ngModel",a.value);z(1);E("ngForOf",c.userSavedSearches)}},vob=function(a){if(a&1){var b=u();F(0,"div",62);O(1,sob,3,2,"div",44);O(2,uob,3,2,"mat-form-field",63);F(3,"button",48);L("click",function(){w(b);var d=N().$implicit,e=N(3).$implicit,g=N(2);return y(Zr(g,
e,d))});H()()}if(a&2){a=N().$implicit;var c=N(5);z(1);E("ngIf",c.chipUnderEdit!==a);z(1);E("ngIf",c.chipUnderEdit===a)}},wob=function(a,b){a&1&&(J(0),O(1,vob,4,2,"div",61),K());a&2&&(a=b.$implicit,b=N(5),z(1),E("ngIf",b.chipUnderEdit===a||a.value))},xob=function(a){if(a&1){var b=u();F(0,"button",40);L("click",function(){w(b);var c=N(3).$implicit,d=N(2);return y($r(d,c))});P(1);H()}a&2&&(a=N(3).$implicit,z(1),Lf(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},yob=function(a){a&1&&(F(0,"div",34),
O(1,wob,2,1,"ng-container",41),O(2,xob,2,1,"button",36),H());a&2&&(a=N(2).$implicit,z(1),E("ngForOf",a.values),z(1),E("ngIf",a.type))},zob=function(a){a&1&&(F(0,"div",22),O(1,Bnb,2,1,"div",23),O(2,Gnb,5,4,"div",24),O(3,Jnb,3,2,"div",25),O(4,Qnb,3,2,"div",25),O(5,Xnb,3,2,"div",25),O(6,fob,2,1,"div",25),O(7,kob,4,3,"div",24),O(8,rob,3,2,"div",25),O(9,yob,3,2,"div",25),H());if(a&2){a=N().$implicit;var b=N(2);z(1);E("ngIf","enum"===a.getWidgetType());z(1);E("ngIf",a instanceof cs);z(1);E("ngIf","text"==
a.getWidgetType());z(1);E("ngIf","component"==a.getWidgetType());z(1);E("ngIf",b.isTrackerSearchEnabled&&"tracker"==a.getWidgetType());z(1);E("ngIf","team"==a.getWidgetType());z(1);E("ngIf","date"===a.getWidgetType());z(1);E("ngIf","hotlist"==a.getWidgetType());z(1);E("ngIf","savedsearch"==a.getWidgetType())}},Aob=function(a){a&1&&(F(0,"div",67),P(1),H());if(a&2){a=N().$implicit;var b=N(2);z(1);Lf(" ",b.getCustomFieldName(a)," ")}},Dob=function(a){if(a&1){var b=u();F(0,"div",68)(1,"b-custom-field-picker",
69);L("fieldSelected",function(c){w(b);var d=N().index,e=N(2),g=c.customFieldId;e.customFields[g]=c;e.expressions[d]=Bob(e.searchRuleFactory,"CUSTOM_FIELD",e.customFields[g]);Cob(e,e.expressions[d]);return y()});H()()}},Fob=function(a,b){if(a&1){var c=u();F(0,"div",14)(1,"div",15)(2,"mat-form-field",10)(3,"mat-select",16);L("ngModelChange",function(d){var e=w(c).$implicit;return y(e.label.field=d)})("selectionChange",function(){var d=w(c).index,e=N(2);return y(Eob(e,d))});O(4,xnb,2,2,"mat-option",
12);H()();O(5,znb,3,2,"mat-form-field",3);H();F(6,"button",17);L("click",function(){var d=w(c).$implicit,e=N(2);return y(e.removeExpression(d))});H();O(7,zob,10,9,"div",18);O(8,Aob,2,1,"div",19);O(9,Dob,2,0,"div",20);H()}a&2&&(a=b.$implicit,b=N(2),z(3),E("ngModel",a.label.field),z(1),E("ngForOf",b.availableLabels),z(1),E("ngIf",!a.isPendingCustomField),z(2),E("ngIf",!a.isPendingCustomField),z(1),E("ngIf",a.label.customFieldId),z(1),E("ngIf",a.isPendingCustomField))},Gob=function(a,b){if(a&1){var c=
u();F(0,"button",70);L("click",function(){var d=w(c).$implicit,e=N(2);e.expressions.push({label:{field:d[0]}});Eob(e,e.expressions.length-1);return y()});P(1);H()}a&2&&(a=b.$implicit,z(1),Lf(" ",a[1]," "))},Hob=function(a){a&1&&(F(0,"div",1)(1,"span",2),P(2,"Advanced search query builder"),H(),O(3,wnb,4,4,"mat-form-field",3),O(4,Fob,10,6,"div",4),F(5,"div",5)(6,"button",6),P(7),H(),F(8,"mat-menu",7,8),O(10,Gob,2,1,"button",9),H()()());if(a&2){var b=Kf(9);a=N();z(3);E("ngIf",a.expressions.length);
z(1);E("ngForOf",a.expressions)("ngForTrackBy",a.trackByIndex);z(2);E("matMenuTriggerFor",b);z(1);Lf(" ",a.expressionType," ... ");z(3);E("ngForOf",a.availableLabels)}},Kob=function(a){return{experimentId:a.getExperimentId(),state:Iob[a.getState()],userGroup:Job[Zi(a,3,0)],title:a.getTitle(),description:a.getDescription(),learnMoreLink:U(a,6)}},Lob=function(a){a&1&&I(0,"div",3)},Mob=function(a){a&1&&I(0,"div",4)},Oob=function(a){if(a&1){var b=u();F(0,"button",2);L("click",function(){w(b);var c=N();
return y(Nob(c))});I(1,"mat-icon",3);P(2);H()}a&2&&(a=N(),E("matTooltip","Open release notes"),z(1),E("svgIcon",a.alertMode?"release-notes-alert":"release-notes-default"),z(1),Lf(" ",a.buttonLabel," "))},Pob=function(a){if(a&1){var b=u();F(0,"button",4);L("click",function(){w(b);var c=N();return y(Nob(c))});P(1);H()}a&2&&(a=N(),z(1),Lf(" ",a.buttonLabel," "))},Qob=function(a){if(a&1){var b=u();F(0,"button",9);L("click",function(c){w(b);var d=N();return y(d.manageSlos(c))});P(1,"Manage SLOs");H()}},
Rob=function(a){a&1&&(F(0,"a",13),P(1,"Early Access "),I(2,"b-feature-stage-label",14),H())},Sob=function(a){a&1&&(J(0),I(1,"mat-divider")(2,"b-whats-new-button",15),K());a&2&&(z(2),E("menuMode",!0))},Tob=function(a){a&1&&I(0,"b-whats-new-button",4);a&2&&(a=N(),E("alertMode",a.majorReleaseNotesUpdated))},Uob=function(a){if(a&1){var b=u();F(0,"button",5);L("click",function(){w(b);N().userFeedback.startFeedback();return y()});I(1,"mat-icon",6);H()}},Vob=function(a,b){if(a&1){var c=u();F(0,"button",
6);L("click",function(){var d=w(c).$implicit,e=N();e.currentTracker.setTrackerId(d.trackerId);e.appSearchState.searchTriggered$.next("switch-trackers");return y()});I(1,"img",7);F(2,"span",8);P(3);H()()}a&2&&(a=b.$implicit,E("value",a.trackerId),of("title",a.name),z(1),E("src",null==a.branding?null:a.branding.logoUrl,Ud),z(2),Mf(a.name))},Wob=function(a){if(a&1){var b=u();F(0,"button",5);L("click",function(){w(b);var c=N();return y(c.clickMenu.emit())});I(1,"mat-icon",6);H()}},Zob=function(a,b){a&
1&&(F(0,"output",7),P(1),H());a&2&&(a=b.$implicit,E("ngClass",a.color?Rf(2,Xob,a.color):Qf(4,Yob)),z(1),Mf(a.name))},$ob=function(a){a&1&&I(0,"tracker-switcher",2);a&2&&(a=N(),E("associatedTrackers",a.associatedTrackers))},apb=function(a){a&1&&(F(0,"span"),P(1," Currently selected hotlist: "),F(2,"strong"),P(3),H()());a&2&&(a=N(3),z(3),Mf(a.header.hotlist.name))},bpb=function(a){a&1&&P(0," Showing your subscribed hotlists. Start typing a hotlist name or ID to filter. ")},cpb=function(a){a&1&&(J(0),
O(1,apb,4,1,"span",5),O(2,bpb,1,0,"ng-template",null,6,gg),K());if(a&2){var b=Kf(3);a=N(2);z(1);E("ngIf",a.header.hotlist)("ngIfElse",b)}},dpb=function(a){a&1&&(F(0,"span"),P(1,"Currently selected saved search: "),F(2,"strong"),P(3),H()());a&2&&(a=N(3),z(3),Mf(a.header.savedSearch.name))},epb=function(a){a&1&&P(0," Showing your saved searches. Start typing a saved search name or ID to filter. ")},fpb=function(a){a&1&&(J(0),O(1,dpb,4,1,"span",5),O(2,epb,1,0,"ng-template",null,7,gg),K());if(a&2){var b=
Kf(3);a=N(2);z(1);E("ngIf",a.header.savedSearch)("ngIfElse",b)}},gpb=function(a){a&1&&(F(0,"span"),P(1," and "),F(2,"strong"),P(3,"subcomponents"),H()())},hpb=function(a){a&1&&(F(0,"span"),P(1," Currently selected component: "),F(2,"strong",9),P(3),H(),I(4,"b-access-level-indicator",10)(5,"b-tracker-chip-smart",11),O(6,gpb,4,0,"span",4),H());if(a&2){a=N(3);z(3);var b=a.header.component;var c=ds(a.currentTracker,b.componentPathInfo);b=c&&c.componentPathName?c.componentPathName.join(" > "):b.name;Mf(b);
z(1);E("accessLevel",null==a.header.component.accessLimit?null:a.header.component.accessLimit.accessLevel);z(1);E("trackerId",a.header.component.trackerId);z(1);E("ngIf",a.header.includeChildren)}},ipb=function(a){a&1&&P(0," Start typing a component name or ID to see auto-complete suggestions. ")},jpb=function(a){a&1&&(J(0),O(1,hpb,7,4,"span",5),O(2,ipb,1,0,"ng-template",null,8,gg),K());if(a&2){var b=Kf(3);a=N(2);z(1);E("ngIf",a.header.component)("ngIfElse",b)}},kpb=function(a){a&1&&(F(0,"span"),
P(1," Currently selected tracker: "),F(2,"strong"),P(3),H()());a&2&&(a=N(3),z(3),Mf(a.header.tracker.name))},lpb=function(a){a&1&&P(0," Start typing a tracker name or ID to see auto-complete suggestions. ")},mpb=function(a){a&1&&(J(0),O(1,kpb,4,1,"span",5),O(2,lpb,1,0,"ng-template",null,12,gg),K());if(a&2){var b=Kf(3);a=N(2);z(1);E("ngIf",a.header.tracker)("ngIfElse",b)}},npb=function(a){a&1&&(F(0,"span"),P(1," and "),F(2,"strong"),P(3,"subteams"),H()())},opb=function(a){a&1&&(F(0,"span"),P(1," Currently selected team: "),
F(2,"strong"),P(3),H(),O(4,npb,4,0,"span",4),H());a&2&&(a=N(3),z(3),Mf(a.header.team.name),z(1),E("ngIf",a.header.includeChildren))},ppb=function(a){a&1&&P(0," Start typing a team name or ID to see auto-complete suggestions. ")},qpb=function(a){a&1&&(J(0),O(1,opb,5,2,"span",5),O(2,ppb,1,0,"ng-template",null,13,gg),K());if(a&2){var b=Kf(3);a=N(2);z(1);E("ngIf",a.header.team)("ngIfElse",b)}},rpb=function(a,b){a&1&&(F(0,"span"),P(1," Currently selected custom field: "),F(2,"strong"),P(3),H(),P(4," of type "),
F(5,"strong"),P(6),R(7,"lowercase"),H(),P(8,". "),H());a&2&&(a=b.$implicit,z(3),Mf(a.name),z(3),Mf(S(7,2,a.type)))},spb=function(a){a&1&&P(0," customfield[id]: [value] ")},tpb=function(a){a&1&&(J(0),O(1,rpb,9,4,"span",5),O(2,spb,1,0,"ng-template",null,14,gg),K());if(a&2){var b=Kf(3);a=N(2);z(1);E("ngIf",a.header.customField)("ngIfElse",b)}},upb=function(a){a&1&&(F(0,"div",3),O(1,cpb,4,2,"ng-container",4),O(2,fpb,4,2,"ng-container",4),O(3,jpb,4,2,"ng-container",4),O(4,mpb,4,2,"ng-container",4),O(5,
qpb,4,2,"ng-container",4),O(6,tpb,4,2,"ng-container",4),H());a&2&&(a=N(),z(1),E("ngIf","hotlist"===a.header.type),z(1),E("ngIf","savedsearch"===a.header.type),z(1),E("ngIf","component"===a.header.type),z(1),E("ngIf","tracker"===a.header.type),z(1),E("ngIf","team"===a.header.type),z(1),E("ngIf","customfield"===a.header.type))},vpb=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N().$implicit,z(1),Nf(" ",a.id,": ",a.name," "))},wpb=function(a){a&1&&(F(0,"span"),P(1),F(2,"span"),P(3),H()());a&2&&(a=
N().$implicit,z(1),Lf(" Hotlist ",a.hotlistId,": "),z(2),Mf(a.name))},xpb=function(a){a&1&&(F(0,"span"),P(1),F(2,"span"),P(3),H(),I(4,"br"),F(5,"span",16),P(6),H()());a&2&&(a=N().$implicit,z(1),Lf(" Saved search ",a.searchId,": "),z(2),Mf(a.name),z(3),Mf(a.query))},ypb=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N().$implicit,z(1),Lf(" ",a.name," "))},zpb=function(a){a&1&&(F(0,"span"),P(1," > "),H())},Bpb=function(a,b){if(a&1){var c=u();J(0);F(1,"span",19);L("click",function(d){var e=w(c).$implicit;
Apb(e);return y(d.stopPropagation())});P(2);H();O(3,zpb,2,0,"span",4);K()}a&2&&(a=b.$implicit,b=b.last,z(1),Jf("title","",a.id,": ",a.name,""),z(1),Mf(a.name),z(1),E("ngIf",!b))},Cpb=function(a){a&1&&(F(0,"span"),P(1," Component "),F(2,"strong",9),P(3),H(),I(4,"b-access-level-indicator",10)(5,"b-tracker-chip-smart",11),F(6,"span",17),O(7,Bpb,4,4,"ng-container",18),H()());a&2&&(a=N().$implicit,z(3),Mf(a.componentId),z(1),E("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),z(1),E("trackerId",
a.trackerId),z(2),E("ngForOf",a.componentPath))},Dpb=function(a){a&1&&(F(0,"span"),P(1),F(2,"span"),P(3),H()());a&2&&(a=N().$implicit,z(1),Lf(" Tracker ",a.trackerId,": "),z(2),Mf(a.name))},Epb=function(a){a&1&&(F(0,"span"),P(1," > "),H())},Fpb=function(a,b){if(a&1){var c=u();J(0);F(1,"span",19);L("click",function(d){var e=w(c).$implicit;Apb(e);return y(d.stopPropagation())});P(2);H();O(3,Epb,2,0,"span",4);K()}a&2&&(a=b.$implicit,b=b.last,z(1),Jf("title","",a.id,": ",a.name,""),z(1),Mf(a.name),z(1),
E("ngIf",!b))},Gpb=function(a){a&1&&(F(0,"span"),P(1," Team "),F(2,"strong"),P(3),H(),F(4,"span",17),O(5,Fpb,4,4,"ng-container",18),H()());a&2&&(a=N().$implicit,z(3),Mf(a.id),z(2),E("ngForOf",a.teamPath))},Hpb=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N().$implicit,z(1),Nf(" ",a.label,": ",a.name," "))},Jpb=function(a,b){if(a&1){var c=u();F(0,"b-app-search-auto-complete-option",15);L("optionClicked",function(e){w(c);var g=N();0<=e&&e<g.items.length&&(e=g.items[e],e.id&&e.completionCfg&&Ipb(e),
g.itemSelected.emit(e));return y()});O(1,vpb,2,2,"span",4);O(2,wpb,4,2,"span",4);O(3,xpb,7,3,"span",4);O(4,ypb,2,1,"span",4);O(5,Cpb,8,4,"span",4);O(6,Dpb,4,2,"span",4);O(7,Gpb,6,2,"span",4);O(8,Hpb,2,2,"span",4);H()}if(a&2){a=b.$implicit;b=b.index;var d=N();qf("id","b-app-search-option-",b,"");E("index",b)("isActive",0<=b&&b<d.items.length?b===d.activeItemIndex:!1);z(1);E("ngIf","issue"===a.completionCfg.type);z(1);E("ngIf","hotlist"===a.completionCfg.type);z(1);E("ngIf","savedsearch"===a.completionCfg.type);
z(1);E("ngIf","atom"===a.completionCfg.type);z(1);E("ngIf","component"===a.completionCfg.type);z(1);E("ngIf","tracker"===a.completionCfg.type);z(1);E("ngIf","team"===a.completionCfg.type);z(1);E("ngIf",!d.SPECIAL_ITEM_TYPES.includes(a.completionCfg.type))}},Lpb=function(a){if(a&1){var b=u();F(0,"div",21)(1,"input",22,23);L("ngModelChange",function(c){w(b);var d=N();return y(d.searchName=c)})("keydown.Tab",function(){w(b);var c=N();return y(Kpb(c))})("keydown.enter",function(){w(b);var c=N();return y(c.saveSearch())});
H();F(3,"button",24);L("click",function(){w(b);var c=N();return y(c.saveSearch())});I(4,"mat-icon",25);H()()}a&2&&(a=N(),z(1),E("ngModel",a.searchName),z(2),E("disabled",!a.searchName))},Mpb=function(a){a&1&&(J(0),F(1,"span",10),P(2),H(),K());a&2&&(a=N(),z(1),xf("muted",a.disabled),z(1),Mf(a.cardTitle))},Npb=function(a){a&1&&I(0,"mat-icon",11)},Opb=function(a){a&1&&I(0,"mat-icon",12)},Ppb=function(a){a&1&&(F(0,"mat-select-trigger"),I(1,"mat-icon",20),F(2,"span"),P(3),H()());a&2&&(a=N(3),z(1),E("svgIcon",
a.selectedOption.icon),z(2),Mf(a.selectedOption.displayText))},Qpb=function(a){a&1&&I(0,"mat-icon",20);a&2&&(a=N().$implicit,E("svgIcon",a.icon))},Rpb=function(a,b){a&1&&(F(0,"mat-option",21),O(1,Qpb,1,1,"mat-icon",22),P(2),H());a&2&&(a=b.$implicit,E("value",a),z(1),E("ngIf",a.icon),z(1),Lf("",a.displayText," "))},Spb=function(a){if(a&1){var b=u();F(0,"mat-form-field",16)(1,"mat-label");P(2," Choose type... ");H();F(3,"mat-select",17);L("valueChange",function(c){w(b);var d=N(2);return y(d.selectedOption=
c)})("selectionChange",function(c){w(b);N(2).dropdownSelectionChanged.emit(c.value);return y()});O(4,Ppb,4,2,"mat-select-trigger",18);O(5,Rpb,3,3,"mat-option",19);H()()}a&2&&(a=N(2),z(3),E("disabled",a.disabled)("value",a.selectedOption),z(1),E("ngIf",a.selectedOption&&a.selectedOption.icon),z(1),E("ngForOf",a.dropdownOptions))},Tpb=function(a){if(a&1){var b=u();F(0,"mat-form-field",13)(1,"input",14);L("ngModelChange",function(c){w(b);var d=N();return y(d.cardTitleChange.emit(c))});H()();O(2,Spb,
6,4,"mat-form-field",15)}a&2&&(a=N(),z(1),xf("muted",a.disabled||!a.selected),E("placeholder",a.placeholderForCardTitle)("disabled",a.disabled||!a.selected)("ngModel",a.cardTitle),of("aria-label",a.ariaLabelForCardTitle),z(1),E("ngIf",a.dropdownOptions.length))},Upb=function(a){a&1&&(F(0,"div",23),Gf(1),H())},Vpb=function(a){a&1&&(F(0,"button",31),I(1,"mat-icon",32),H());a&2&&(a=N(2),E("disabled",a.disabled))},Wpb=function(a){a&1&&I(0,"mat-divider",33);a&2&&E("vertical",!0)},Xpb=function(a){a&1&&
(F(0,"mat-slide-toggle",34),P(1," Required "),H());a&2&&(a=N(2),E("disabled",a.disabled))},Ypb=function(a){if(a&1){var b=u();F(0,"mat-slide-toggle",35);L("change",function(c){w(b);var d=N(2);return y(d.isInheritedChange.emit(c))});P(1," Inherited ");H()}a&2&&(a=N(2),E("checked",a.isInherited)("disabled",a.inheritedDisabled)("matTooltip",a.inheritedDisabledTooltipText)("matTooltipDisabled",!a.inheritedDisabled))},Zpb=function(a){if(a&1){var b=u();F(0,"div",24)(1,"button",25);L("click",function(){w(b);
var c=N();return y(c.onSave())});P(2," Save ");H();F(3,"button",26);L("click",function(){w(b);var c=N();return y(c.onCancel())});P(4," Cancel ");H();O(5,Vpb,2,1,"button",27);O(6,Wpb,1,1,"mat-divider",28);O(7,Xpb,2,1,"mat-slide-toggle",29);O(8,Ypb,2,4,"mat-slide-toggle",30);H()}a&2&&(a=N(),z(1),E("disabled",a.isSaveButtonDisabled),z(2),E("disabled",a.disabled),z(2),E("ngIf",a.showDeleteButton),z(1),E("ngIf",a.showDeleteButton&&a.showRequiredToggle),z(1),E("ngIf",a.showRequiredToggle),z(1),E("ngIf",
a.showInheritedToggle))},$pb=function(a){a&1&&(F(0,"h3"),P(1),H());a&2&&(a=N(2),z(1),Lf(" Edit Custom Field ",a.editableField.customFieldId," "))},aqb=function(a){a&1&&(F(0,"h3"),P(1," Create Custom Field "),H())},bqb=function(a){a&1&&(F(0,"div",40),P(1),H());a&2&&(a=N(2),z(1),Lf(" ",a.serverError," "))},dqb=function(a,b){a&1&&(F(0,"button",41),P(1),R(2,"enumToHuman"),H());if(a&2){a=b.$implicit;N();var c=Kf(32);E("matMenuTriggerFor",c)("matMenuTriggerData",Rf(5,cqb,a));z(1);Lf(" ",S(2,3,a)," ")}},
eqb=function(a,b){if(a&1){var c=u();F(0,"button",43);L("click",function(){var d=w(c).$implicit,e=N().type,g=N(2);return y(g.setType(e,"Multiple"===d))});P(1);H()}a&2&&(a=b.$implicit,z(1),Lf(" ",a," "))},fqb=function(a){a&1&&O(0,eqb,2,1,"button",42);a&2&&(a=N(2),E("ngForOf",a.secondaryTypes))},hqb=function(a){if(a&1){var b=u();F(0,"td",7)(1,"label",44);P(2," Allowed Values: ");H();F(3,"b-list-field",45);L("valuesChange",function(c){w(b);var d=N(2);return y(gqb(d,c.values))});H()()}a&2&&(a=N(2),z(3),
E("defaultLineCount",3)("type",a.ListFieldType.REPEATED_TEXT)("values",a.editableField.allowedValue)("listFieldDisabled",a.isSaving)("preventDuplicates",!0)("isDefaultOrAllowedValues",!0)("truncate",!0))},iqb=function(a){a&1&&(F(0,"label",46),P(1," Default Value: "),H())},lqb=function(a,b){if(a&1){var c=u();F(0,"b-edit-field",47);L("valueChange",function(d){w(c);var e=N(2);jqb(e,d);return y()});H()}a&2&&(a=b.ngIf,b=N(2),E("name","Default")("type",a)("tooltip","Set default value")("value",kqb(b))("choices",
b.allowedValues)("showEnumTitle",!0)("disabled",b.isSaving)("truncate",!0)("clearable",!0))},mqb=function(a){a&1&&(F(0,"label",48),P(1," Default Values: "),H())},nqb=function(a,b){if(a&1){var c=u();F(0,"b-list-field",49);L("valuesChange",function(d){w(c);var e=N(2);jqb(e,d.values);return y()});H()}a&2&&(a=b.ngIf,b=N(2),E("defaultLineCount",3)("type",a)("tooltip","Set default values")("values",b.getListFieldValues())("enumChoices",b.allowedValues)("isDefaultOrAllowedValues",!0)("listFieldDisabled",
b.isSaving)("truncate",!0))},oqb=function(a,b){if(a&1){var c=u();F(0,"button",50);L("click",function(){var d=w(c).$implicit,e=N(2);return y(e.setFieldSignificance(d))});P(1);R(2,"enumToHuman");H()}a&2&&(a=b.$implicit,z(1),Lf(" ",S(2,1,a)," "))},pqb=function(a){if(a&1){var b=u();F(0,"div",4);O(1,$pb,2,1,"h3",3);O(2,aqb,2,0,"h3",3);O(3,bqb,2,1,"div",5);F(4,"form",6)(5,"div",7)(6,"label",8);P(7,"Name:");H();F(8,"input",9);L("ngModelChange",function(h){w(b);var l=N();return y(l.editableField.name=h)});
H()();F(9,"div",7)(10,"label",10);P(11,"Description:");H();F(12,"textarea",11);L("ngModelChange",function(h){w(b);var l=N();return y(l.editableField.description=h)});H()();F(13,"table",12)(14,"tr")(15,"td",7)(16,"div",13)(17,"label",14);P(18," Type: ");H();F(19,"onedev-hovercard",null,15)(21,"div",16)(22,"div",17);P(23," You can only choose type of field when creating a new custom field. You won't be able to edit it after the custom field is created. ");H()()()();F(24,"button",18);P(25);R(26,"enumToHuman");
I(27,"b-icon",19);H();F(28,"mat-menu",null,20);O(30,dqb,3,7,"button",21);H();F(31,"mat-menu",null,22);O(33,fqb,1,1,"ng-template",23);H()();O(34,hqb,4,7,"td",24);F(35,"td",7);O(36,iqb,2,0,"label",25);O(37,lqb,1,9,"b-edit-field",26);O(38,mqb,2,0,"label",27);O(39,nqb,1,8,"b-list-field",28);H();F(40,"td",7)(41,"label",29);P(42," Required: ");H();F(43,"b-edit-field",30);L("valueChange",function(h){w(b);var l=N();return y(l.editableField.required=!!h)});H()();F(44,"td",7)(45,"div",13)(46,"label",31);P(47,
" Field Significance: ");H();F(48,"onedev-hovercard",null,32)(50,"div",33)(51,"div",17);P(52," This affects whether users will receive notifications when changes are made to this field. ");I(53,"br");P(54," See\u00a0 ");F(55,"a",34);P(56,"Email Settings ");H()()()()();F(57,"button",35);P(58);R(59,"enumToHuman");I(60,"b-icon",19);H();F(61,"mat-menu",null,36);O(63,oqb,3,3,"button",37);H()()()();F(64,"button",38);L("click",function(){w(b);var h=N();return y(h.save())});P(65," Save ");H();F(66,"button",
39);L("click",function(){w(b);var h=N();return y(h.cancel())});P(67," Cancel ");H()()()}if(a&2){var c=Kf(20),d=Kf(29),e=Kf(49),g=Kf(62);a=N();z(1);E("ngIf",!!a.editableField.customFieldId);z(1);E("ngIf",!a.editableField.customFieldId);z(1);E("ngIf",a.serverError);z(5);E("bFocus",a.editableField&&!a.isLoading)("ngModel",a.editableField.name)("disabled",a.isSaving);z(4);E("ngModel",a.editableField.description)("disabled",a.isSaving);z(5);E("onedevHovercardTrigger",c);z(7);E("matMenuTriggerFor",d)("disabled",
!!a.editableField.customFieldId);z(1);Lf(" ",S(26,28,a.editableField.type)," ");z(5);E("ngForOf",a.typeChoices);z(4);E("ngIf",["REPEATED_ENUM","ENUM"].includes(a.editableField.type));z(2);E("ngIf",!a.editableField.isRepeated());z(1);E("ngIf",a.getSingleEditFieldType(a.editableField));z(1);E("ngIf",a.editableField.isRepeated());z(1);E("ngIf",a.getListFieldType(a.editableField));z(4);E("name","Required")("type",a.FieldType.BOOL)("tooltip","Whether the field is required")("value",a.editableField.required);
z(3);E("onedevHovercardTrigger",e);z(9);E("href",a.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",Ud);z(2);E("matMenuTriggerFor",g);z(1);Lf(" ",S(59,30,a.editableField.fieldSignificance)," ");z(5);E("ngForOf",a.significanceChoices);z(1);E("disabled",!a.hasUnsavedChanges()||!a.editableField.name)}},qqb=function(a){a&1&&(F(0,"div",51),I(1,"b-spinner",52),H());a&2&&(z(1),E("large",!0))},rqb=function(a){a&1&&(F(0,"th"),P(1,"Actions"),H())},tqb=function(a){if(a&1){var b=u();F(0,"td",
59)(1,"button",60);L("click",function(){w(b);var c=N().index,d=N(2);return y(d.editField(c))});P(2,"Edit");H();F(3,"button",60);L("click",function(){w(b);var c=N().index,d=N(2);return y(sqb(d,c))});P(4,"Delete");H()()}},uqb=function(a,b){a&1&&(F(0,"tr",56)(1,"td"),P(2),H(),F(3,"td"),P(4),H(),F(5,"td"),P(6),R(7,"enumToHuman"),H(),F(8,"td"),P(9),H(),F(10,"td"),P(11),R(12,"yesNo"),H(),F(13,"td"),I(14,"b-custom-field-value-display",57),H(),F(15,"td"),P(16),R(17,"arrayToHuman"),H(),F(18,"td"),P(19),R(20,
"enumToHuman"),H(),O(21,tqb,5,0,"td",58),H());a&2&&(a=b.$implicit,b=N(2),E("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field"),z(2),Mf(a.name),z(2),Mf(a.customFieldId),z(2),Mf(S(7,10,a.type)),z(3),Mf(a.description),z(2),Mf(S(12,12,a.required)),z(3),E("customFieldValue",a.typedDefaultValue),z(2),Mf(S(17,14,a.allowedValue)),z(3),Mf(S(20,16,a.fieldSignificance)),z(2),E("ngIf",b.editMode))},vqb=function(a){a&1&&(F(0,"tr")(1,"td",61),P(2," There are no custom fields defined on this component. "),
H()())},wqb=function(a){a&1&&(F(0,"tr")(1,"td",62)(2,"strong"),P(3,"Fields inherited from parent components"),H()()())},xqb=function(a){a&1&&(J(0),I(1,"b-component-card",69,70),K());if(a&2){var b=Kf(2);a=N().$implicit;z(1);E("onedevIsHovercardReady",b.init)("componentId",a.componentId.toString())}},zqb=function(a){if(a&1){var b=u();F(0,"b-field-state-menu",71,72);L("fieldStateChange",function(d){w(b);var e=N(),g=e.$implicit;e=e.index;var h=N(3);return y(h.updateCustomFieldState(g,d,e))});H()}if(a&
2){a=N().$implicit;var c=N(3);E("fieldName",a.name)("fieldState",a.stateOnIssues)("enabledOnParent",yqb(c,a.customFieldId))("disabled",!c.editMode)("matTooltip",c.msgFieldStateTip);of("aria-label",c.msgFieldStateTip)}},Aqb=function(a,b){if(a&1){var c=u();F(0,"tr",56)(1,"td");P(2);H();F(3,"td");P(4);H();F(5,"td");P(6);R(7,"enumToHuman");H();F(8,"td");P(9);H();F(10,"td");P(11);R(12,"yesNo");H();F(13,"td");I(14,"b-custom-field-value-display",57);H();F(15,"td");P(16);R(17,"arrayToHuman");H();F(18,"td");
P(19);R(20,"enumToHuman");H();F(21,"td",59)(22,"div",63)(23,"div",64);P(24,"Inherited From");H();F(25,"a",65);L("click",function(){w(c);var e=N(3);return y(e.trackClick("parentCustomFields"))});P(26);H();F(27,"onedev-hovercard",null,66);O(29,xqb,3,2,"ng-container",67);H()();O(30,zqb,2,6,"b-field-state-menu",68);H()()}if(a&2){a=b.$implicit;var d=Kf(28);b=N(3);E("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field");z(2);Mf(a.name);z(2);Mf(a.customFieldId);z(2);Mf(S(7,13,a.type));z(3);Mf(a.description);
z(2);Mf(S(12,15,a.required));z(3);E("customFieldValue",a.typedDefaultValue);z(2);Mf(S(17,17,a.allowedValue));z(3);Mf(S(20,19,a.fieldSignificance));z(6);E("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId,"customFields"),Ud);z(1);Lf(" ",b.componentIdsToNames[a.componentId]," ");z(4);E("ngIf",b.editMode)}},Bqb=function(a){a&1&&(J(0),O(1,Aqb,31,21,"tr",54),K());a&2&&(a=N(2),z(1),E("ngForOf",a.inheritedCustomFields))},Cqb=function(a){a&1&&(F(0,"tfoot")(1,"tr")(2,"td",62),P(3," Custom fields in this table are sorted alphabetically. To see or modify field ordering, go to the "),
F(4,"a",73),P(5,"Field Ordering"),H(),P(6," tab."),I(7,"br"),P(8," Before removing custom fields or adding/changing required state, ensure that no automation depends on them. "),H()()())},Dqb=function(a){if(a&1){var b=u();F(0,"div",74)(1,"button",75);L("click",function(){w(b);var c=N(2);c.editableField=new hi;c.originalEditableFieldValue=Yh(c.editableField);c.setType("TEXT");c.allowedValues=[];c.serverError=null;return y()});P(2," Add a Custom Field ");H()()}},Eqb=function(a){a&1&&(F(0,"div")(1,"table",
53)(2,"tr")(3,"th"),P(4,"Name"),H(),F(5,"th"),P(6,"ID"),H(),F(7,"th"),P(8,"Type"),H(),F(9,"th"),P(10,"Description"),H(),F(11,"th"),P(12,"Required?"),H(),F(13,"th"),P(14,"Default Value"),H(),F(15,"th"),P(16,"Allowed Values"),H(),F(17,"th"),P(18,"Field Significance"),H(),O(19,rqb,2,0,"th",3),H(),O(20,uqb,22,18,"tr",54),O(21,vqb,3,0,"tr",3),O(22,wqb,4,0,"tr",3),O(23,Bqb,2,1,"ng-container",3),O(24,Cqb,9,0,"tfoot",3),H(),O(25,Dqb,3,0,"div",55),H());a&2&&(a=N(),z(19),E("ngIf",a.editMode),z(1),E("ngForOf",
a.customFields),z(1),E("ngIf",!a.customFields.length),z(1),E("ngIf",a.inheritedCustomFields.length),z(1),E("ngIf",a.inheritedCustomFields.length),z(1),E("ngIf",a.customFields.length),z(1),E("ngIf",a.editMode))},Fqb=function(a){if(a&1){var b=u();F(0,"button",18);L("click",function(){w(b);var c=N().index,d=N();return y(d.removeAtIndex.emit(c))});I(1,"mat-icon",19);H()}a&2&&(a=N().$implicit,of("aria-label","Delete row "+a.label))},Gqb=function(a,b){if(a&1){var c=u();F(0,"div",9)(1,"div",10);I(2,"mat-icon",
11);F(3,"div",1)(4,"mat-form-field",12)(5,"input",13,14);L("change",function(g){var h=w(c).index,l=N();l.options[h].label=g.target.value;l.optionsChange.emit(l.options);return y()});H()()();F(7,"div",1)(8,"mat-form-field",12)(9,"input",15,16);L("change",function(g){var h=w(c).index,l=N();return y(l.valueChange(g,h))});H()()();O(11,Fqb,2,1,"button",17);H()()}if(a&2){a=b.$implicit;var d=Kf(6),e=Kf(10);b=N();z(4);E("appearance",d.focused||e.focused?"standard":"none");z(1);xf("muted",b.disabled);E("value",
a.label)("placeholder",null==a.label?"Dropdown value":"")("disabled",b.disabled);z(3);E("appearance",d.focused||e.focused?"standard":"none");z(1);xf("muted",b.disabled);E("value",a.value)("placeholder",null==a.value?"Average days":"")("disabled",b.disabled);z(2);E("ngIf",!b.disabled)}},Hqb=function(a){if(a&1){var b=u();F(0,"button",20);L("click",function(){w(b);var c=N();return y(c.addRow.emit())});P(1," Add row\n");H()}},Iqb=function(a){a&1&&Cf(0)},Jqb=function(a){a&1&&(J(0),O(1,Iqb,1,0,"ng-container",
5),K());if(a&2){N();var b=Kf(7);z(1);E("ngTemplateOutlet",b)}},Kqb=function(a){if(a&1){var b=u();J(0);F(1,"b-numeric-config",6);L("valueChange",function(c){w(b);var d=N();return y(d.numericSpecMultiplier=c)});H();K()}a&2&&(a=N(),z(1),E("disabled",a.disabled)("value",a.numericSpecMultiplier))},Lqb=function(a){a&1&&Cf(0)},Mqb=function(a){if(a&1){var b=u();F(0,"div",7)(1,"label",8);P(2,"Aggregation Rule");H();F(3,"a",9);I(4,"mat-icon",10);H();I(5,"br");F(6,"mat-form-field",11)(7,"mat-select",12);L("valueChange",
function(c){w(b);var d=N();return y(d.selectedAggregationRule=c)});F(8,"mat-select-trigger");P(9);R(10,"aggregationRuleText");H();F(11,"mat-option",13)(12,"div",14);P(13);R(14,"aggregationRuleText");H();F(15,"div",15);P(16,"All parents and children are added to the total");H()();F(17,"mat-option",13)(18,"div",14);P(19);R(20,"aggregationRuleText");H();F(21,"div",15);P(22,"Take the assigned estimate if larger than total of all immediate children");H()()()()()}a&2&&(a=N(),z(7),E("value",a.selectedAggregationRule)("disabled",
a.disabled),z(2),Lf(" ",S(10,7,a.selectedAggregationRule)," "),z(2),E("value",a.aggregationRules.SUM),z(2),Mf(S(14,9,a.aggregationRules.SUM)),z(4),E("value",a.aggregationRules.MAX),z(2),Mf(S(20,11,a.aggregationRules.MAX)))},Nqb=function(a){if(a&1){var b=u();F(0,"b-config-grid",16);L("optionsChange",function(c){w(b);var d=N();return y(d.enumSpecOptions=c)})("addRow",function(){w(b);var c=N();return y(c.addRow())})("removeAtIndex",function(c){w(b);N().enumSpecOptions.splice(c,1);return y()});H()}a&
2&&(a=N(),E("options",a.enumSpecOptions)("disabled",a.disabled||a.inherit))},Oqb=function(a){a&1&&(F(0,"div",8),I(1,"b-team-warning",9),H());a&2&&(a=N().ngIf,z(1),E("warningType",a)("messageOnly",!0))},Pqb=function(a,b){a&1&&(J(0),O(1,Oqb,2,2,"div",7),K());a&2&&(a=b.ngIf,b=N(),z(1),E("ngIf",b.isAdmin&&("MISSING"===a||"DELETED"===a)))},Qqb=function(a){if(a&1){var b=u();F(0,"div",10)(1,"mat-checkbox",11);L("change",function(c){w(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 y()});P(2," Override the inherited team ");H()()}a&2&&(a=N(),z(1),E("disabled",!a.isAdmin)("checked",!a.inherit))},Sqb=function(a){if(a&1){var b=u();F(0,"a",13);L("click",function(){w(b);N(2);Ym(ao.MANAGE_COMPONENT,"navigate","to-internal-team-page");return y()});I(1,"mat-icon",14);H()}a&2&&(a=N(2),E("routerLink",Rqb(a)?"/teams/"+a.model.id+"/edit":null)("target",a.anchorTarget))},
Tqb=function(a){a&1&&(J(0),O(1,Sqb,2,2,"a",12),K());a&2&&(a=N(),z(1),E("ngIf",Rqb(a)))},Uqb=function(a){if(a&1){var b=u();F(0,"a",16);L("click",function(){w(b);var c=N(2);Ym(ao.MANAGE_COMPONENT,"linkout-moma","team",Number(c.model.id));return y()});I(1,"mat-icon",14);H()}a&2&&(a=N(2),of("href",a.getMomaTeamLink(),Ud))},Vqb=function(a){a&1&&O(0,Uqb,2,1,"a",15);a&2&&(a=N(),E("ngIf",Rqb(a)))},Yqb=function(a,b){if(a&1){var c=u();F(0,"li",11);L("keydown",function(e){var g=w(c).index,h=N();return y(h.onKeyDown(e,
g))})("focus",function(){var e=w(c).index,g=N();return y(g.onFocus(e))});I(1,"mat-icon",12);F(2,"span");P(3);H();F(4,"div",13)(5,"button",14);L("click",function(){var e=w(c).index,g=N();return y(Wqb(g,e))});I(6,"mat-icon",15);H();F(7,"button",16);L("click",function(){var e=w(c).index,g=N();return y(Xqb(g,e))});I(8,"mat-icon",17);H()()()}if(a&2){a=b.$implicit;b=b.index;var d=N();of("aria-label",a.name)("aria-grabbed",b===d.grabbedIndex);z(3);Mf(a.name);z(2);xf("invisible",0===b);z(2);xf("invisible",
b===d.fields.length-1)}},Zqb=function(a){a&1&&(F(0,"th",14),P(1," Order"),H())},$qb=function(a,b){a&1&&(F(0,"td",15),P(1),H());a&2&&(a=b.index,z(1),Lf(" ",a+1," "))},arb=function(a){a&1&&(F(0,"th",14),P(1," Name"),H())},brb=function(a,b){a&1&&(F(0,"td",15),P(1),H());a&2&&(a=b.$implicit,z(1),Lf(" ",a.name," "))},crb=function(a){a&1&&(F(0,"th",14),P(1," Type"),H())},drb=function(a,b){a&1&&(F(0,"td",15),P(1),R(2,"toCustomFieldTypeDisplayValue"),H());a&2&&(a=b.$implicit,z(1),Lf(" ",S(2,1,a.type)," "))},
erb=function(a){a&1&&(F(0,"th",14),P(1," Required"),H())},frb=function(a,b){a&1&&(F(0,"td",15),P(1),H());a&2&&(a=b.$implicit,z(1),Lf(" ",a.required?"Yes":"No"," "))},grb=function(a){a&1&&(F(0,"th",14),P(1," ID"),H())},hrb=function(a,b){a&1&&(F(0,"td",15),P(1),H());a&2&&(a=b.$implicit,z(1),Lf(" ",a.customFieldId," "))},irb=function(a){a&1&&I(0,"tr",16)},jrb=function(a){a&1&&I(0,"tr",17)},krb=function(a){a&1&&(F(0,"div",18),P(1," There are no custom fields defined on this component. "),H())},nrb=function(a){if(a&
1){var b=u();F(0,"div",19)(1,"div")(2,"button",20);L("click",function(){w(b);var c=N();return y(lrb(c))});P(3," Reorder fields ");H();F(4,"button",20);L("click",function(){w(b);var c=N();return y(mrb(c))});P(5," Reset ordering ");H()()()}a&2&&(a=N(),z(2),E("disabled",0===a.fields.length),z(2),E("disabled","CUSTOMIZED"!==a.fieldOrdering))},orb=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N(),z(1),a=a.lineNumbers.length,Lf(" (",a+(1==a?" TODO":" TODOs"),") "))},qrb=function(a,b){if(a&1){var c=u();
F(0,"li",5)(1,"a",6);L("click",function(){w(c);var d=N(2);return y(d.trackClick("lineNumber"))});P(2);H()()}a&2&&(a=b.$implicit,b=N(2),z(1),E("href",prb(b,a),Ud),z(1),Mf(a))},rrb=function(a){a&1&&(F(0,"span"),P(1," ("),F(2,"ul",3),O(3,qrb,3,2,"li",4),H(),P(4,") "),H());a&2&&(a=N(),z(3),E("ngForOf",a.lineNumbers))},srb=function(a){a&1&&(F(0,"a",10),P(1," Create Component "),H());a&2&&(a=N(),E("href",a.createComponentPath,Ud))},trb=function(a){if(a&1){var b=u();F(0,"xap-dialog-layout",11)(1,"xap-dialog-layout-content")(2,
"b-team-component-picker",12);L("selectedComponentChange",function(d){w(b);var e=N();return y(e.viewComponent(null!==d&&void 0!==d?d:null,"openFromSearch"))});R(3,"async");H()()()}if(a&2){a=N();var c;z(2);E("includeArchived",null!==(c=S(3,4,a.includeArchived$))&&void 0!==c?c:!1)("placeholder","Choose Component to navigate to that component")("shouldFocus",!0)("isRequired",!1)}},vrb=function(a){if(a&1){var b=u();F(0,"div",13)(1,"b-slide-toggle",14);L("modelChange",function(d){w(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&&urb(e,d,(0,D.firstValueFrom)(e.topLevelComponents$));return y()});R(2,"async");H()()}if(a&2){a=N();var c;z(1);E("model",null!==(c=S(2,2,a.includeArchived$))&&void 0!==c?c:!1)("tooltip",a.includeArchived?"Show archived components.":"Hide archived components.")}},wrb=function(a){a&1&&(F(0,"div",15),I(1,"b-spinner",16),H())},xrb=function(a){a&
1&&(F(0,"p",3),P(1),H());a&2&&(a=N(),z(1),Mf(a.packageMentionSet.packageName))},yrb=function(a,b){a&1&&(F(0,"li"),I(1,"b-file-mention",4),H());a&2&&(a=b.$implicit,b=N(),z(1),E("issueId",b.issueId)("packageName",b.packageMentionSet.packageName)("filename",a.filename)("lineNumbers",a.lineNumber)("changeNumber",a.changeNumber))},zrb=function(a){a&1&&(F(0,"span",6),P(1," Select at least one tracker "),H())},Arb=function(a,b){if(a&1){var c=u();F(0,"div",7)(1,"mat-checkbox",8);L("change",function(d){var e=
w(c).$implicit,g=N();return y(g.trackerCheckboxValues[e.trackerId]=d.checked)});P(2);H()()}a&2&&(a=b.$implicit,b=N(),z(1),E("checked",b.trackerCheckboxValues[a.trackerId]||!1),z(1),Lf(" ",a.name," "))},Brb=function(a){a&1&&(I(0,"b-tracker-search",6),R(1,"async"),R(2,"async"));a&2&&(a=N(),E("currentTrackerId",S(1,2,a.currentTracker.trackerId$))("availableTrackers",S(2,4,a.currentTracker.availableTrackers$)))},Crb=function(a){a&1&&(F(0,"div",7),I(1,"b-spinner"),F(2,"span"),P(3,"Initializing query builder..."),
H()())},Drb=function(a){a&1&&(F(0,"div",10),I(1,"mat-icon",11),F(2,"p"),P(3," The query is too complex to show in the query builder. You can still perform the search or save the search. "),H()())},Erb=function(a){a&1&&(F(0,"div"),P(1," We cannot understand your query because it seems to be incorrect (syntactically). Make sure all parentheses are balanced and all labels have values. "),H())},Frb=function(a){a&1&&(F(0,"div",8),O(1,Drb,4,0,"div",9),O(2,Erb,2,0,"div",5),H());a&2&&(a=N(),z(1),E("ngIf",
"NOT_REPRESENTABLE"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())),z(1),E("ngIf","SYNTAX_ERROR"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())))},Grb=function(a){a&1&&(F(0,"div",8),P(1," We encountered a problem while retrieving the interpretation of the search query from the server. Please try again. "),H())},Hrb=function(a){a&1&&I(0,"b-tracker-account-menu-hack")},Irb=function(a){a&1&&(F(0,"span"),P(1),I(2,"span",16),H());a&2&&(a=N(2).$implicit,z(1),Lf(" ",
a.diff.oldValue," "))},Jrb=function(a){a&1&&(F(0,"span")(1,"label"),P(2),H(),O(3,Irb,3,1,"span",15),P(4),H());a&2&&(a=N().$implicit,z(2),Lf("",a.fieldName,":"),z(1),E("ngIf",a.diff.oldValue),z(1),Lf(" ",a.diff.newValue," "))},Krb=function(a,b){a&1&&(F(0,"div")(1,"label"),P(2),H(),P(3),H());a&2&&(a=b.$implicit,b=N(3).$implicit,z(2),Lf("-",b.fieldName,":"),z(1),Lf(" ",a," "))},Lrb=function(a){a&1&&(J(0),O(1,Krb,4,2,"div",17),K());a&2&&(a=N(2).$implicit,z(1),E("ngForOf",a.diff.removed))},Mrb=function(a,
b){a&1&&(F(0,"div")(1,"label"),P(2),H(),P(3),H());a&2&&(a=b.$implicit,b=N(3).$implicit,z(2),Lf("+",b.fieldName,":"),z(1),Lf(" ",a," "))},Nrb=function(a){a&1&&(J(0),O(1,Mrb,4,2,"div",17),K());a&2&&(a=N(2).$implicit,z(1),E("ngForOf",a.diff.added))},Orb=function(a){a&1&&(F(0,"div"),O(1,Lrb,2,1,"ng-container",15),O(2,Nrb,2,1,"ng-container",15),H());a&2&&(a=N().$implicit,z(1),E("ngIf",a.diff.removed),z(1),E("ngIf",a.diff.added))},Prb=function(a,b){a&1&&(F(0,"div",14),O(1,Jrb,5,3,"span",15),O(2,Orb,3,2,
"div",15),H());a&2&&(a=b.$implicit,z(1),E("ngIf","SINGLE_VALUE"==a.diffType),z(1),E("ngIf","COLLECTION"==a.diffType))},Qrb=function(a,b){a&1&&(F(0,"li",5)(1,"div",6),I(2,"b-user-image",7),H(),F(3,"div",8)(4,"h4"),I(5,"b-user-display-name",9),F(6,"span",10),I(7,"b-formatted-date-time",11),H()(),F(8,"div",12),O(9,Prb,3,2,"div",13),H()()());a&2&&(a=b.$implicit,b=N(),z(2),E("email",b.userToDisplay(a.author)),z(3),E("email",b.userToDisplay(a.author)),z(2),E("timestamp",a.timestamp),z(2),E("ngForOf",a.diffs))},
Rrb=function(a){var b=window.homepagePreferences;if(a&&"EXPERIMENTAL_HOMEPAGE"===(null==b?void 0:b.resourceType))return"/dash";if("NEEDS_ATTENTION"===(null==b?void 0:b.resourceType))return"/attention";if(null==b||!b.resourceId)return"/issues";switch(b.resourceType){case "BOOKMARK_GROUP":return"/dashboard/"+b.resourceId;case "SAVED_SEARCH":return"/savedsearches/"+b.resourceId;case "HOTLIST":return"/hotlists/"+b.resourceId;default:return"/issues"}},Srb=function(a,b){a&1&&(F(0,"mat-option",3),P(1),I(2,
"br"),F(3,"span",4),P(4),H()());a&2&&(a=b.$implicit,E("value",a),z(1),Lf(" ",a.title,""),z(3),Mf(a.description))},Trb=function(a,b){a&1&&(J(0),Cf(1,5),K());if(a&2){a=b.$implicit;N();var c=Kf(2);z(1);E("ngTemplateOutlet",c)("ngTemplateOutletContext",Rf(2,es,a))}},Urb=function(a){a&1&&(J(0),Cf(1,5),K());if(a&2){a=N().question;N();var b=Kf(4);z(1);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Rf(2,es,a))}},Vrb=function(a){a&1&&(J(0),Cf(1,5),K());if(a&2){a=N().question;N();var b=Kf(6);z(1);E("ngTemplateOutlet",
b)("ngTemplateOutletContext",Rf(2,es,a))}},Wrb=function(a){a&1&&(J(0),Cf(1,5),K());if(a&2){a=N().question;N();var b=Kf(8);z(1);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Rf(2,es,a))}},Xrb=function(a,b){a&1&&(J(0,6),O(1,Urb,2,4,"ng-container",7),O(2,Vrb,2,4,"ng-container",7),O(3,Wrb,2,4,"ng-container",7),K());a&2&&(a=b.question,b=N(),E("ngSwitch",a.type),z(1),E("ngSwitchCase",b.CustomQuestionType.INPUT),z(1),E("ngSwitchCase",b.CustomQuestionType.TEXT),z(1),E("ngSwitchCase",b.CustomQuestionType.SELECT))},
Yrb=function(a,b){if(a&1){var c=u();I(0,"h4",8);F(1,"mat-form-field",9)(2,"input",10);L("ngModelChange",function(d){var e=w(c).question;return y(e.response=d)});H()()}a&2&&(a=b.question,E("innerHtml",a.question,Td),z(2),E("ngModel",a.response),of("aria-label",a.question))},Zrb=function(a,b){if(a&1){var c=u();I(0,"h4",8);F(1,"mat-form-field",11)(2,"textarea",10);L("ngModelChange",function(d){var e=w(c).question;return y(e.response=d)});P(3,"    ");H()()}a&2&&(a=b.question,E("innerHtml",a.question,
Td),z(2),E("ngModel",a.response),of("aria-label",a.question))},asb=function(a,b){a&1&&(F(0,"mat-option",15),P(1),H());a&2&&(a=b.$implicit,N(2),E("value",a),z(1),Lf(" ",$rb(a)?a.text:a," "))},bsb=function(a){a&1&&Cf(0,5);if(a&2){a=N().question;N();var b=Kf(2);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Rf(2,es,a.response.child))}},dsb=function(a,b){if(a&1){var c=u();I(0,"h4",8);F(1,"mat-form-field",9)(2,"mat-select",12);L("valueChange",function(d){var e=w(c).question,g=N();e.response=d;return y(csb(g))});
O(3,asb,2,2,"mat-option",13);H()();O(4,bsb,1,4,"ng-container",14)}a&2&&(a=b.question,N(),E("innerHtml",a.question,Td),z(1),of("aria-label",a.question),z(1),E("value",a.response),z(1),E("ngForOf",a.options),z(1),E("ngIf",$rb(a.response)))},esb=function(a){a&1&&Gf(0)},fsb=function(a){a&1&&Cf(0,8);a&2&&(a=N(),E("ngTemplateOutlet",a.iconOverrides[a.state])("ngTemplateOutletContext",a._getIconContext()))},gsb=function(a){a&1&&(F(0,"span",13),P(1),H());a&2&&(a=N(2),z(1),Mf(a._getDefaultTextForState(a.state)))},
hsb=function(a){a&1&&(F(0,"span",14),P(1),H());a&2&&(a=N(2),z(1),Mf(a._intl.completedLabel))},isb=function(a){a&1&&(F(0,"span",14),P(1),H());a&2&&(a=N(2),z(1),Mf(a._intl.editableLabel))},jsb=function(a){a&1&&(F(0,"mat-icon",13),P(1),H());a&2&&(a=N(2),z(1),Mf(a._getDefaultTextForState(a.state)))},ksb=function(a){a&1&&(J(0,9),O(1,gsb,2,1,"span",10),O(2,hsb,2,1,"span",11),O(3,isb,2,1,"span",11),O(4,jsb,2,1,"mat-icon",12),K());a&2&&(a=N(),E("ngSwitch",a.state),z(1),E("ngSwitchCase","number"),z(1),E("ngIf",
"done"===a.state),z(1),E("ngIf","edit"===a.state))},lsb=function(a){a&1&&(F(0,"div",15),Cf(1,16),H());a&2&&(a=N(),z(1),E("ngTemplateOutlet",a._templateLabel().template))},msb=function(a){a&1&&(F(0,"div",15),P(1),H());a&2&&(a=N(),z(1),Mf(a.label))},nsb=function(a){a&1&&(F(0,"div",17),P(1),H());a&2&&(a=N(),z(1),Mf(a._intl.optionalLabel))},osb=function(a){a&1&&(F(0,"div",18),P(1),H());a&2&&(a=N(),z(1),Mf(a.errorMessage))},psb=function(){},qsb=function(a){a&1&&(Gf(0),O(1,psb,0,0,"ng-template",0));a&2&&
(a=N(),z(1),E("cdkPortalOutlet",a._portal))},rsb=function(a){a&1&&I(0,"div",11)},tsb=function(a,b){a&1&&(J(0),Cf(1,9),O(2,rsb,1,0,"div",10),K());if(a&2){a=b.$implicit;var c=b.index;b=b.last;N(2);var d=Kf(4);z(1);E("ngTemplateOutlet",d)("ngTemplateOutletContext",Sf(3,ssb,a,c));z(1);E("ngIf",!b)}},wsb=function(a,b){if(a&1){var c=u();F(0,"div",12);L("@horizontalStepTransition.done",function(e){w(c);var g=N(2);return y(g._animationDone.next(e))});Cf(1,13);H()}if(a&2){a=b.$implicit;b=b.index;var d=N(2);
xf("mat-horizontal-stepper-content-inactive",d.selectedIndex!==b);E("@horizontalStepTransition",Sf(8,usb,d._getAnimationDirection(b),Rf(6,vsb,d._getAnimationDuration())))("id",d._getStepContentId(b));of("aria-labelledby",d._getStepLabelId(b));z(1);E("ngTemplateOutlet",a.content)}},xsb=function(a){a&1&&(F(0,"div",4)(1,"div",5),O(2,tsb,3,6,"ng-container",6),H(),F(3,"div",7),O(4,wsb,2,11,"div",8),H()());a&2&&(a=N(),z(2),E("ngForOf",a.steps),z(2),E("ngForOf",a.steps))},ysb=function(a,b){if(a&1){var c=
u();F(0,"div",15);Cf(1,9);F(2,"div",16)(3,"div",17);L("@verticalStepTransition.done",function(h){w(c);var l=N(2);return y(l._animationDone.next(h))});F(4,"div",18);Cf(5,13);H()()()()}if(a&2){a=b.$implicit;var d=b.index;b=b.last;var e=N(2),g=Kf(4);z(1);E("ngTemplateOutlet",g)("ngTemplateOutletContext",Sf(10,ssb,a,d));z(1);xf("mat-stepper-vertical-line",!b);z(1);xf("mat-vertical-stepper-content-inactive",e.selectedIndex!==d);E("@verticalStepTransition",Sf(15,usb,e._getAnimationDirection(d),Rf(13,vsb,
e._getAnimationDuration())))("id",e._getStepContentId(d));of("aria-labelledby",e._getStepLabelId(d));z(2);E("ngTemplateOutlet",a.content)}},zsb=function(a){a&1&&(J(0),O(1,ysb,6,18,"div",14),K());a&2&&(a=N(),z(1),E("ngForOf",a.steps))},Asb=function(a,b){if(a&1){var c=u();F(0,"mat-step-header",19);L("click",function(){var e=w(c).step;return y(e.select())})("keydown",function(e){w(c);var g=N();return y(g._onKeydown(e))});H()}if(a&2){a=b.step;b=b.i;var d=N();xf("mat-horizontal-stepper-header","horizontal"===
d.orientation)("mat-vertical-stepper-header","vertical"===d.orientation);E("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);of("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)}},Csb=function(a){if(a&1){var b=u();J(0);F(1,"h4",2);P(2,"Which of the following best describes the issue that you are reporting?");H();F(3,"wizard-category-select",50);L("categoryChange",function(c){w(b);var d=N();return y(d.model.category=c)});H();F(4,"mat-card",
51)(5,"mat-card-header");P(6," Avoid duplicate issue reports: ");H();F(7,"mat-card-content")(8,"mat-checkbox",52);L("ngModelChange",function(c){w(b);var d=N();return y(d.ackDupes=c)});P(9," By checking this box, I'm acknowledging that I have searched for ");F(10,"a",53);P(11,"existing issues");H();P(12," that already report this problem. ");H()()();F(13,"div",34)(14,"button",37);P(15," Next ");I(16,"mat-icon",38);H()();K()}a&2&&(a=N(),z(3),E("persona",a.model.persona)("category",a.model.category),
z(5),E("ngModel",a.ackDupes),z(6),E("disabled",!Bsb(a,0)))},Dsb=function(a){a&1&&(F(0,"div")(1,"h3"),P(2,"Prefer to file an issue manually?"),H(),F(3,"p"),P(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. "),H(),F(5,"p"),P(6," However, if you are a Chromium contributor and none of the other options apply, you may use the regular issue entry "),
F(7,"a",54),P(8,"form"),H(),P(9,". "),H()());a&2&&(a=N(),z(7),E("href",a.paths.createIssue(),Ud))},Esb=function(a){if(a&1){var b=u();F(0,"wizard-custom-questions",55);L("responses",function(c){w(b);var d=N();return y(d.model.customQuestionResponses=c)});H()}a&2&&(a=N(),E("category",a.model.category.value))},Fsb=function(a){if(a&1){var b=u();F(0,"div",56)(1,"b-recaptcha",57);L("onUpdate",function(c){w(b);var d=N();return y(d.recaptchaResponse=c)});H()()}},Gsb=function(){},Hsb=function(){},Isb=function(){},
Ksb=function(a){return a.length?"# Custom Questions\n"+Jsb(a).map(function(b){var c;return"#### "+(null!=(c=b.answerPrefix)?c:b.question)+"\n"+b.response}).join("\n\n"):""},Jsb=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,$rb(c.response)?(b.push({type:c.type,question:c.question,response:c.response.text}),b.push.apply(b,cd(Jsb([c.response.child])))):b.push(c);return b},Lsb=function(a){a&1&&(F(0,"a",15),P(1," Create Component "),H())},Msb=function(a){a&1&&(F(0,"p",19),
P(1," None found. "),F(2,"a",20),P(3,"Learn More"),H()())},Nsb=function(a){a&1&&(J(0),I(1,"b-component-path-card",31,32),K());if(a&2){var b=Kf(2);a=N().$implicit;z(1);E("onedevIsHovercardReady",b.init)("componentId",a.componentId)}},Osb=function(a,b){a&1&&(F(0,"li")(1,"a",21)(2,"div",22)(3,"span",23),P(4),I(5,"b-access-level-indicator",24)(6,"b-tracker-chip-smart",25),H(),F(7,"p",26),P(8),H()(),F(9,"div",27)(10,"a",28),P(11," Edit "),H(),F(12,"a",28),P(13," Create Issue "),H()()(),F(14,"onedev-hovercard",
null,29),O(16,Nsb,3,2,"ng-container",30),H()());if(a&2){a=b.$implicit;var c=Kf(15);b=N(2);z(1);E("routerLinkObj",b.viewIssues(a.componentId));z(1);E("onedevHovercardTrigger",c);z(2);Lf(" ",a.name||a.componentId," ");z(1);E("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",!0);z(1);E("trackerId",a.trackerId)("showHovercard",!1);z(2);Mf(a.description);z(2);E("routerLinkObj",b.componentSettings(a.componentId));z(2);E("routerLinkObj",b.createIssue(a.componentId))}},Psb=
function(a,b){a&1&&(J(0),O(1,Msb,4,0,"p",16),F(2,"ol",17),O(3,Osb,17,10,"li",18),H(),K());a&2&&(a=b.$implicit,z(1),E("ngIf",0===a.length),z(2),E("ngForOf",a))},Rsb=function(a){a&1&&(F(0,"a",25),P(1," Learn more "),H());a&2&&(N(),E("href",Qsb(),Ud))},Ssb=function(a){var b;return(null!=(b=a.getIssueDigestsList())?b:[]).map(ssa)},Usb=function(a){var b=new Set,c=0;a=k(a.matchAll(Tsb));for(var d=a.next();!d.done;d=a.next())if(d=k(d.value).next().value,!b.has(d)){c+=d.length;if(2049<c)break;b.add(d)}return[].concat(cd(b))},
Vsb=function(a){a&1&&(F(0,"div"),I(1,"b-spinner"),F(2,"span"),P(3,"Loading..."),H()())},Wsb=function(a){a&1&&(F(0,"div",2),O(1,Vsb,4,0,"div",3),H());if(a&2){a=N();var b=Kf(2);z(1);E("ngIf",a.isInitiallyLoading)("ngIfElse",b)}},Xsb=function(a){a&1&&(F(0,"span",17)(1,"strong"),P(2),H(),P(3," of "),F(4,"strong"),P(5),H()());a&2&&(a=N(4),z(2),Nf("",a.startIndex,"\u2013",a.endIndex,""),z(3),Mf(a.totalText))},Ysb=function(a){if(a&1){var b=u();F(0,"div",11);O(1,Xsb,6,3,"span",12);F(2,"b-button",13);L("onAction",
function(){w(b);var c=N(3);return y(c.fetchIssues(c.page-1))});I(3,"b-icon",14);H();F(4,"b-button",15);L("onAction",function(){w(b);var c=N(3);return y(c.fetchIssues(c.page+1))});I(5,"b-icon",16);H()()}a&2&&(a=N(3),z(1),E("ngIf",!a.isRefreshing),z(1),E("disabled",1>=a.page),z(2),E("disabled",a.page>=a.numPages))},Zsb=function(a){if(a&1){var b=u();F(0,"button",18);L("click",function(){w(b);var c=N(3);return y(c.triggerSimilarIssuesSurvey())});I(1,"mat-icon",19);H()}},$sb=function(a){a&1&&(F(0,"li")(1,
"h3"),P(2),H(),O(3,Ysb,6,3,"div",9),O(4,Zsb,2,0,"button",10),H());a&2&&(a=N(2),z(2),Mf(a.getHeader()),z(1),E("ngIf",!a.enableSimilarIssues),z(1),E("ngIf",a.showSuggestedDupes))},atb=function(a){a&1&&(F(0,"div",20),P(1,"There may already be issues opened on this topic. Please consider +1 to the canonical issue if that is the case."),H())},btb=function(a){if(a&1){var b=u();F(0,"b-issue-card",26,27);L("init",function(){w(b);var e=N(4);return y(e.trackTitleHoverOver())});H()}if(a&2){var c=Kf(1);a=N().$implicit;
var d=N(3);E("onedevIsHovercardReady",c.init)("issueId",a.id)("location",d.CATEGORIES.MAGIC_BOX+d.getGroupName())}},ctb=function(a,b){if(a&1){var c=u();F(0,"li",22)(1,"onedev-hovercard",null,23);O(3,btb,2,3,"b-issue-card",24);H();F(4,"a",25);L("click",function(){w(c);var e=N(3);return y(e.trackTitleClick())});P(5);H()()}if(a&2){a=b.$implicit;var d=Kf(2);b=N(3);E("ngClass",b.enableSimilarIssues?"magic-box-item-new":"magic-box-item");z(4);Hf("href","issues/",a.id,"",Ud);E("onedevHovercardTrigger",d);
z(1);Lf(" ",a.title," ")}},dtb=function(a){a&1&&(J(0),O(1,ctb,6,4,"li",21),K());a&2&&(a=N(2),z(1),E("ngForOf",a.magicBoxIssues))},etb=function(a){a&1&&(F(0,"li"),P(1),H());a&2&&(a=N(2),z(1),Lf(" No ",a.getHeader().toLowerCase()," found. "))},ftb=function(a){a&1&&(F(0,"li",28)(1,"a",29),P(2," View All Issues \u2192 "),H()());a&2&&(a=N(2),z(1),If("href",a.viewAllHref,Ud))},gtb=function(a){if(a&1){var b=u();F(0,"li",30)(1,"button",31);L("click",function(){w(b);var c=N(2);c.fetchIssues(c.page+1);c.analytics.trackEvent(ao.MAGIC_BOX,
"loadMore");return y()});I(2,"mat-icon",32);P(3," Load more ");H()()}},htb=function(a){if(a&1){var b=u();F(0,"li",33)(1,"a",29)(2,"button",34);L("click",function(){w(b);N(2).analytics.trackEvent(ao.MAGIC_BOX,"viewAll");return y()});P(3,"View all ");I(4,"mat-icon",35);H()()()}a&2&&(a=N(2),z(1),If("href",a.viewAllHref,Ud))},itb=function(a){a&1&&(F(0,"li"),I(1,"b-spinner"),F(2,"span"),P(3,"Loading..."),H()())},jtb=function(a){a&1&&(F(0,"ul"),O(1,$sb,5,3,"li",4),O(2,atb,2,0,"div",5),O(3,dtb,2,1,"ng-container",
4),O(4,etb,2,1,"li",4),O(5,ftb,3,1,"li",6),O(6,gtb,4,0,"li",7),O(7,htb,5,1,"li",8),O(8,itb,4,0,"li",4),H());a&2&&(a=N(),z(1),E("ngIf",!a.hideHeader),z(1),E("ngIf",a.showSuggestedDupes),z(1),E("ngIf",!a.isRefreshing),z(1),E("ngIf",0==a.magicBoxIssues.length&&!a.isRefreshing),z(1),E("ngIf",!a.isRefreshing&&1<a.numPages&&!a.enableSimilarIssues&&a.viewAllHref),z(1),E("ngIf",!a.isRefreshing&&a.endIndex<a.numTotalResults&&a.enableSimilarIssues),z(1),E("ngIf",!a.isRefreshing&&1<a.numPages&&a.enableSimilarIssues&&
a.viewAllHref),z(1),E("ngIf",a.isRefreshing))},ktb=function(a){a&1&&Cf(0)},mtb=function(a){a&1&&(J(0),O(1,ktb,1,0,"ng-container",8),K());a&2&&(a=N(),z(1),E("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Rf(2,ltb,a.value)))},ntb=function(a){a&1&&P(0);a&2&&(a=N(),Mf(a.value||"--"))},otb=function(a){a&1&&(rd(),F(0,"svg",9),I(1,"path",10),H());a&2&&(a=N(),xf("centered",a.centerEditIcon))},ptb=function(a){a&1&&I(0,"textarea",15);a&2&&(a=N(3),E("formControl",a.editingValue)("cdkAutosizeMaxRows",
a.multilineMaxLines))},qtb=function(a){a&1&&I(0,"input",16);a&2&&(a=N(3),E("formControl",a.editingValue))},rtb=function(a){a&1&&(J(0),F(1,"div",12),O(2,ptb,1,2,"textarea",13),O(3,qtb,1,1,"ng-template",null,14,gg),H(),K());if(a&2){var b=Kf(4);a=N(2);z(2);E("ngIf",a.allowMultipleLines)("ngIfElse",b)}},stb=function(a){a&1&&Cf(0)},utb=function(a){a&1&&(J(0),O(1,stb,1,0,"ng-container",8),K());a&2&&(a=N(2),z(1),E("ngTemplateOutlet",a.editorTemplate)("ngTemplateOutletContext",Rf(2,ttb,a.editingValue)))},
vtb=function(a){a&1&&(O(0,rtb,5,2,"ng-container",11),O(1,utb,2,4,"ng-container",11));a&2&&(a=N(),E("ngIf",!a.editorTemplate),z(1),E("ngIf",a.editorTemplate))},wtb=function(){},xtb=function(a){a&1&&I(0,"span",2);a&2&&(a=N(),E("@indicatorRotate",a._getExpandedState()))},ytb=function(a){if(a&1){var b=u();F(0,"b-hotlist-picker",24);L("onApply",function(c){w(b);var d=N();return y(d.handleHotlistPickerSave(c))})("onLoad",function(c){w(b);var d=N();return y(d.loadHotlist(c))})("onCreate",function(c){w(b);
var d=N();return y(d.createHotlist(c))});H()}a&2&&(a=N(),E("selectedHotlistIds",a.selectedHotlistIds)("choices",a.hotlists))},Dtb=function(a){a&1&&(F(0,"div",25),I(1,"b-icon",26),F(2,"span"),P(3),H(),F(4,"a",27),P(5,"View access settings"),H()());a&2&&(a=N(),E("ngClass",Sf(5,ztb,Atb(a),Btb(a))),z(1),E("name","alert")("size","small"),z(2),Lf("",Ctb(a),"\u00a0"),z(1),E("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",Ud))},Gtb=function(a){a&1&&(F(0,"div",
30),P(1),H());a&2&&(a=N(2),z(1),Lf(" Error: The following required field(s) have not been filled: ",Etb(a).concat(Ftb(a)).join(", ")," "))},Htb=function(a){a&1&&(F(0,"li"),P(1),H());if(a&2){a=N(3);z(1);var b=[];a.isBlockedByIssueIdValid||b.push('"Blocked by"');a.isBlockingIssueIdValid||b.push('"Blocking"');a.isParentIssueIdsValid||b.push('"Parents"');a=b?b.join(" & ")+" must be"+((1>=b.length?" a":"")+" comma separated list")+((1<b.length?"s":"")+" of issue IDs"):"";Mf(a)}},Itb=function(a){a&1&&(F(0,
"li"),P(1),H());a&2&&(a=N(3),z(1),Lf(" Collaborators: you cannot add ",a.invalidCollaboratorsInput.join(", ")," "))},Jtb=function(a){a&1&&(F(0,"div",30),P(1," Error: The following field(s) have invalid values: "),F(2,"ul"),O(3,Htb,2,1,"li",20),O(4,Itb,2,1,"li",20),H()());a&2&&(a=N(2),z(3),E("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid),z(1),E("ngIf",!a.isCollaboratorsValid))},Ktb=function(a){a&1&&(F(0,"div",30),P(1," Error: There is at least one upload ongoing. Please cancel or wait for it to be finished. "),
H())},Mtb=function(a){a&1&&(F(0,"div",28),O(1,Gtb,2,1,"div",29),O(2,Jtb,5,2,"div",29),O(3,Ktb,2,0,"div",29),H());a&2&&(a=N(),z(1),E("ngIf",0!==Etb(a).length||0!==Ftb(a).length),z(1),E("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid||!a.isCollaboratorsValid),z(1),E("ngIf",Ltb(a.comment)))},Ntb=function(a,b){if(a&1){var c=u();F(0,"div",33)(1,"b-hotlist-chip",34);L("removeHotlist",function(){var d=w(c).$implicit,e=N(2);return y(e.removeHotlist(d.hotlistId))});H()()}a&
2&&(a=b.$implicit,z(1),E("hotlist",a))},Otb=function(a){a&1&&(F(0,"div",31),O(1,Ntb,2,1,"div",32),H());a&2&&(a=N(),z(1),E("ngForOf",a.selectedHotlists))},Ptb=function(a,b){if(a&1){var c=u();F(0,"button",43);L("click",function(){var d=w(c).$implicit,e=N(2);e.selectedTemplate=d;e.getIssueTemplate();return y()});P(1);H()}a&2&&(a=b.$implicit,z(1),Mf(a.name))},Qtb=function(a){if(a&1){var b=u();F(0,"button",43);L("click",function(){w(b);var c=N(2);c.selectedTemplate=c.availableExistingIssueTemplate;c.getIssueTemplate();
return y()});P(1);H()}a&2&&(a=N(2),z(1),Mf(a.availableExistingIssueTemplate.name))},Rtb=function(a){a&1&&(F(0,"div",35)(1,"div",14)(2,"label",36),P(3,"Template"),H()(),F(4,"button",37),P(5),I(6,"b-icon",38),H(),F(7,"mat-menu",39,40),O(9,Ptb,2,1,"button",41),O(10,Qtb,2,1,"button",42),H()());if(a&2){var b=Kf(8);a=N();var c;z(4);E("matMenuTriggerFor",b);z(1);Mf(null!==(c=null==a.selectedTemplate?null:a.selectedTemplate.name)&&void 0!==c?c:"");z(2);E("overlapTrigger",!0);z(2);E("ngForOf",a.availablePredefinedTemplates);
z(1);E("ngIf",a.availableExistingIssueTemplate)}},Stb=function(a){a&1&&(F(0,"div",44)(1,"div",30),P(2," You do not have permission to create issues in this component. "),H()())},Ttb=function(a){if(a&1){var b=u();F(0,"div",69)(1,"b-magic-box",70);L("headerChange",function(c){w(b);var d=N(3);return y(d.magicBoxHeader=c)});H()()}a&2&&(a=N(3),z(1),E("componentId",a.issue.componentId)("hideHeader",!0)("showInline",a.showRecentIssuesInline)("issueTitle",a.issue.title)("issue",a.issue)("customFieldMap",
a.customFieldMap))},Vtb=function(a){if(a&1){var b=u();F(0,"div",65)(1,"div",66)(2,"a",67);L("click",function(){w(b);var c=N(2);return y(Utb(c))})("keydown.enter",function(){w(b);var c=N(2);return y(Utb(c))})("keydown.space",function(){w(b);var c=N(2);return y(Utb(c))});P(3);H()();O(4,Ttb,2,6,"div",68);H()}a&2&&(a=N(2),z(3),Nf(" ",a.showRecentIssuesInline?"Hide":"View"," ",a.magicBoxHeader.toLowerCase()," "),z(1),E("ngIf",a.showRecentIssuesInline&&a.issue.componentId))},Wtb=function(a,b){if(a&1){var c=
u();F(0,"button",74);L("click",function(){var d=w(c).$implicit,e=N(3);return y(e.setPriority(d.value))});P(1);H()}a&2&&(a=b.$implicit,z(1),Mf(a.displayText))},Xtb=function(a){if(a&1){var b=u();F(0,"div",35)(1,"div",14)(2,"label",71);P(3,"Priority");H()();F(4,"button",72);P(5);I(6,"b-icon",38);H();F(7,"mat-menu",39,73)(9,"button",74);L("click",function(){w(b);var d=N(2);return y(d.setPriority(void 0))});P(10,"--");H();O(11,Wtb,2,1,"button",75);H()()}if(a&2){var c=Kf(8);a=N(2);z(4);E("matMenuTriggerFor",
c);of("aria-label","Priority, required"+(a.issue.priority?", "+a.issue.priority:""));z(1);Lf("",a.issue.priority?a.issue.priority:"--"," ");z(2);E("overlapTrigger",!0);z(4);E("ngForOf",a.priorityChoices)}},Ztb=function(a,b){if(a&1){var c=u();F(0,"button",79);L("click",function(){var d=w(c).$implicit,e=N(3);return y(Ytb(e,d.value))});P(1);H()}a&2&&(a=b.$implicit,If("title",a.altText||""),z(1),Mf(a.displayText))},$tb=function(a){if(a&1){var b=u();F(0,"div",35)(1,"div",14)(2,"label",76);P(3,"Type");
H()();F(4,"button",72);R(5,"enumToHuman");P(6);R(7,"enumToHuman");I(8,"b-icon",38);H();F(9,"mat-menu",39,77)(11,"button",74);L("click",function(){w(b);var d=N(2);return y(Ytb(d))});P(12,"--");H();O(13,Ztb,2,2,"button",78);H()()}if(a&2){var c=Kf(10);a=N(2);z(4);E("matMenuTriggerFor",c);of("aria-label","Type, required"+(a.issue.type?S(5,5,", "+a.issue.type):""));z(2);Lf("",S(7,7,a.issue.type||"--")," ");z(3);E("overlapTrigger",!0);z(4);E("ngForOf",a.issueTypeChoices)}},aub=function(a){if(a&1){var b=
u();F(0,"div",80)(1,"div",14)(2,"label",81);P(3,"Assignee");H()();F(4,"div",82)(5,"input",83);L("ngModelChange",function(c){w(b);var d=N(2);return y(d.assigneeText=c)});H()()()}a&2&&(a=N(2),z(5),E("ngModel",a.assigneeText)("bContactAutocomplete","SINGLE"))},bub=function(a){a&1&&(F(0,"mat-error"),P(1," Collaborators only accepts individual users. "),H())},dub=function(a){if(a&1){var b=u();F(0,"div",84)(1,"div",14)(2,"label",85);P(3,"Collaborators");H();I(4,"mat-icon",86);H();F(5,"div",82)(6,"input",
87);L("ngModelChange",function(c){w(b);var d=N(2);return y(d.collaboratorsText=cub(c))});H()();O(7,bub,2,0,"mat-error",20);H()}a&2&&(a=N(2),z(6),xf("invalid",!a.isCollaboratorsValid),E("ngModel",gs(a.collaboratorsText))("bContactAutocomplete","MULTI"),z(1),E("ngIf",!a.isCollaboratorsValid&&a.submitRequested))},eub=function(a){if(a&1){var b=u();F(0,"div",88)(1,"div",14)(2,"label",89);P(3,"CC");H()();F(4,"div",82)(5,"input",90);L("ngModelChange",function(c){w(b);var d=N(2);return y(d.ccsText=cub(c))});
H()()()}a&2&&(a=N(2),z(5),E("ngModel",gs(a.ccsText))("bContactAutocomplete","MULTI"))},gub=function(a,b){if(a&1){var c=u();F(0,"mat-checkbox",102,103);L("change",function(){var d=w(c).$implicit,e=N(5);return y(fub(e,d))})("click",function(d){return d.stopPropagation()});P(2);H()}a&2&&(a=b.$implicit,b=N(5),E("checked",b.selectedCollaboratorGroups.has(a)),z(2),Lf(" ",a," "))},hub=function(a){a&1&&(F(0,"div",13)(1,"div",14)(2,"label",95),P(3," Collaborator Groups "),H(),I(4,"mat-icon",96),H(),F(5,"button",
97)(6,"span"),P(7),H(),I(8,"mat-icon",98),H(),F(9,"mat-menu",99,100),O(11,gub,3,2,"mat-checkbox",101),H()());if(a&2){var b=Kf(10);a=N().ngIf;var c=N(3);z(5);E("matMenuTriggerFor",b);z(2);Mf(c.collaboratorGroupsText.join(", "));z(4);E("ngForOf",a)}},iub=function(a,b){a&1&&(J(0),O(1,hub,12,3,"div",94),K());a&2&&(a=b.ngIf,b=N(3),z(1),E("ngIf",b.enableQuickAddCollaborators&&a.length))},jub=function(a){if(a&1){var b=u();F(0,"div",91)(1,"div",13)(2,"div",14)(3,"label",92);P(4," Issue access level ");H()();
F(5,"b-issue-access-limits-dropdown",93);L("updatedAccessLimitLevel",function(c){w(b);var d=N(2);return y(d.onAccessLimitLevelSelected(c))});H()();O(6,iub,2,1,"ng-container",20);R(7,"async");H()}a&2&&(a=N(2),z(5),E("disabled",!1)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled)("defaultAccessLimitLevel",a.selectedAccessLimitLevel),z(1),E("ngIf",S(7,4,a.trackerCollaboratorGroups$)))},kub=function(a,b){if(a&1){var c=u();F(0,"button",74);L("click",function(){var d=w(c).$implicit,e=N(3);return y(e.issue.severity=
e.toIssueSeverity(d.value))});P(1);H()}a&2&&(a=b.$implicit,z(1),Mf(a.displayText))},lub=function(a){a&1&&(F(0,"span"),P(1,"*"),H())},mub=function(a){a&1&&(F(0,"span"),P(1,"*"),H())},nub=function(a){a&1&&(F(0,"span"),P(1,"*"),H())},pub=function(a){if(a&1){var b=u();F(0,"div",112)(1,"div",14)(2,"label",130);P(3," Parents ");O(4,nub,2,0,"span",20);H()();F(5,"input",131);L("ngModelChange",function(c){w(b);var d=N(3);d.parentIssueIds=oub(d,c).map(Dn);c=gs(d.parentIssueIds);d.isParentIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(c);
return y()});H()()}a&2&&(a=N(3),z(4),E("ngIf",!a.isParentIssueIdsValid),z(1),E("ngModel",gs(a.parentIssueIds)))},qub=function(a){a&1&&(F(0,"span"),P(1,"*"),H())},rub=function(a){if(a&1){var b=u();F(0,"div",112)(1,"div",14)(2,"label",132);P(3," Children ");O(4,qub,2,0,"span",20);H()();F(5,"input",133);L("ngModelChange",function(c){w(b);var d=N(3);d.childrenIssueIds=oub(d,c).map(Dn);c=gs(d.childrenIssueIds);d.isChildIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(c);return y()});H()()}a&2&&(a=N(3),z(4),
E("ngIf",!a.isChildIssueIdsValid),z(1),E("ngModel",gs(a.childrenIssueIds)))},sub=function(a){if(a&1){var b=u();F(0,"div",112)(1,"div",14)(2,"label",92);P(3," Issue access level ");H()();F(4,"b-issue-access-limits-dropdown",134);L("updatedAccessLimitLevel",function(c){w(b);var d=N(3);return y(d.onAccessLimitLevelSelected(c))});H()()}a&2&&(a=N(3),z(4),E("disabled",!1)("defaultAccessLimitLevel",a.selectedAccessLimitLevel)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled))},tub=function(a,
b){if(a&1){var c=u();F(0,"mat-checkbox",136,103);L("change",function(){var d=w(c).$implicit,e=N(5);return y(fub(e,d))})("click",function(d){return d.stopPropagation()});P(2);H()}a&2&&(a=b.$implicit,b=N(5),E("checked",b.selectedCollaboratorGroups.has(a)),z(2),Lf(" ",a," "))},uub=function(a){a&1&&(F(0,"div",13)(1,"div",14)(2,"label",95),P(3," Collaborator Groups "),H()(),F(4,"button",97)(5,"span"),P(6),H(),I(7,"mat-icon",98),H(),F(8,"mat-menu",99,100),O(10,tub,3,2,"mat-checkbox",135),H()());if(a&2){var b=
Kf(9);a=N().ngIf;var c=N(3);z(4);E("matMenuTriggerFor",b);z(2);Mf(c.collaboratorGroupsText.join(", "));z(4);E("ngForOf",a)}},vub=function(a,b){a&1&&(J(0),O(1,uub,11,3,"div",94),K());a&2&&(a=b.ngIf,b=N(3),z(1),E("ngIf",b.enableQuickAddCollaborators&&a.length))},wub=function(a){if(a&1){var b=u();F(0,"onedev-text-field",140);L("valueChange",function(d){w(b);var e=N(2).$implicit,g=N(3);return y(g.setCustomFieldValue(e,d))});H()}if(a&2){a=N(2).$implicit;var c=N(3);Hf("id","bv2-custom-field-",a.customFieldId,
"");E("value",a.textValue);of("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},xub=function(a){if(a&1){var b=u();F(0,"onedev-numeric-field",140);L("valueChange",function(d){w(b);var e=N(2).$implicit,g=N(3);return y(g.setCustomFieldValue(e,d))});H()}if(a&2){a=N(2).$implicit;var c=N(3);Hf("id","bv2-custom-field-",a.customFieldId,"");E("value",a.numericValue);of("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+
"-label")}},yub=function(a){if(a&1){var b=u();F(0,"div")(1,"bv2-input-date-picker",141);L("boundValueChange",function(d){w(b);var e=N(2).$implicit,g=N(3);return y(g.setCustomFieldValue(e,d))});H()()}if(a&2){a=N(2).$implicit;var c=N(3);z(1);If("bv2AriaLabelledby","bv2-custom-field-"+a.customFieldId+"-label");E("boundValue",a.dateValue)("isRequired",c.isCustomFieldRequired(a))("bv2Id","bv2-custom-field-"+a.customFieldId)}},zub=function(a){if(a&1){var b=u();F(0,"onedev-single-select",142);L("valueChange",
function(d){w(b);var e=N(2).$implicit,g=N(3);return y(g.setCustomFieldValue(e,d))});H()}if(a&2){a=N(2).$implicit;var c=N(3);E("value",a.enumValue)("options",c.getCustomFieldAllowedValues(a))("includeEmptyOption",!0);of("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},Aub=function(a,b){a&1&&(F(0,"div"),O(1,wub,1,4,"onedev-text-field",138),O(2,xub,1,4,"onedev-numeric-field",138),O(3,yub,2,4,"div",20),O(4,zub,1,4,"onedev-single-select",139),H());a&2&&(a=b.ngIf,b=N(4),z(1),E("ngIf",a===
b.FieldType.TEXT),z(1),E("ngIf",a===b.FieldType.NUMERIC),z(1),E("ngIf",a===b.FieldType.DATE),z(1),E("ngIf",a===b.FieldType.ENUM))},Bub=function(a,b){if(a&1){var c=u();F(0,"div")(1,"b-list-field",143);L("valuesChange",function(e){w(c);var g=N().$implicit,h=N(3);return y(h.setCustomFieldValue(g,e.values))});H()()}if(a&2){a=b.ngIf;b=N().$implicit;var d=N(3);z(1);E("defaultLineCount",2)("type",a)("values",d.getListFieldValues(b))("enumChoices",d.customFieldAllowedValuesMap[b.customFieldId]||null)("truncate",
!0);of("aria-labelledby","bv2-custom-field-"+b.customFieldId+"-label")}},Dub=function(a,b){a&1&&(F(0,"div",112)(1,"div",14)(2,"label",137),P(3),H()(),O(4,Aub,5,4,"div",20),O(5,Bub,2,6,"div",20),H());if(a&2){a=b.$implicit;b=N(3);z(2);Hf("id","bv2-custom-field-",a.customFieldId,"-label");var c=b.customFieldMap[a.customFieldId];If("title",(c&&c.description?c.description:"Custom Field")+" [ID: "+a.customFieldId+"]");E("ngClass",Rf(7,Cub,b.isCustomFieldRequired(a)));var d=(c=b.customFieldMap[a.customFieldId])?
c.name:"";c&&b.canEditIssuesInComponent&&b.customFieldMap[a.customFieldId].required&&(d+=", required field");of("aria-label",d);z(1);Lf(" ",b.getCustomFieldName(a)," ");z(1);E("ngIf",b.getSingleEditFieldType(b.customFieldMap[a.customFieldId]));z(1);E("ngIf",b.getListFieldType(b.customFieldMap[a.customFieldId]))}},Eub=function(a){if(a&1){var b=u();F(0,"mat-expansion-panel",104)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",105);P(4,"Advanced fields (Required fields marked with");F(5,
"span",106);P(6,"*");H();P(7,")");H()()();F(8,"div",107)(9,"div",108)(10,"div",14)(11,"label",109);P(12," Severity ");H()();F(13,"button",110);P(14);I(15,"b-icon",38);H();F(16,"mat-menu",39,111);O(18,kub,2,1,"button",75);H()();F(19,"div",112)(20,"div",14)(21,"label",113);P(22," Found in ");H()();F(23,"input",114);L("ngModelChange",function(d){w(b);var e=N(2);return y(e.issue.foundInVersion=cub(d))});H()();F(24,"div",115)(25,"div",14)(26,"label",116);P(27," In prod ");H()();F(28,"mat-slide-toggle",
117);L("ngModelChange",function(d){w(b);var e=N(2);return y(e.issue.inProd=d)});H()();I(29,"div",57);F(30,"div",112)(31,"div",14)(32,"label",118);P(33," Reporter ");H()();F(34,"input",119);L("ngModelChange",function(d){w(b);var e=N(2);return y(e.reporterText=d)});H()();F(35,"div",112)(36,"div",14)(37,"label",120);P(38," Verifier ");H()();F(39,"input",121);L("ngModelChange",function(d){w(b);var e=N(2);return y(e.verifierText=d)});H()();F(40,"div",112)(41,"div",14)(42,"label",122);P(43," Targeted to ");
H()();F(44,"input",123);L("ngModelChange",function(d){w(b);var e=N(2);return y(e.issue.targetedToVersion=cub(d))});H()();I(45,"div",57);F(46,"div",112)(47,"div",14)(48,"label",124);P(49," Blocked by ");O(50,lub,2,0,"span",20);H()();F(51,"input",125);L("ngModelChange",function(d){w(b);var e=N(2);e.issue.blockedByIssueId=oub(e,d);d=gs(e.issue.blockedByIssueId);e.isBlockedByIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(d);return y()});H()();F(52,"div",112)(53,"div",14)(54,"label",126);P(55," Blocking ");
O(56,mub,2,0,"span",20);H()();F(57,"input",127);L("ngModelChange",function(d){w(b);var e=N(2);e.issue.blockingIssueId=oub(e,d);d=gs(e.issue.blockingIssueId);e.isBlockingIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(d);return y()});H()();O(58,pub,6,2,"div",128);O(59,rub,6,2,"div",128);O(60,sub,5,3,"div",128);O(61,vub,2,1,"ng-container",20);R(62,"async");I(63,"div",57);O(64,Dub,6,9,"div",129);H()()}if(a&2){var c=Kf(17);a=N(2);z(13);E("matMenuTriggerFor",c);of("aria-label","Severity"+(a.issue.severity?", "+
a.issue.severity:""));z(1);Mf(a.issue.severity);z(2);E("overlapTrigger",!0);z(2);E("ngForOf",a.severityChoices);z(5);E("ngModel",gs(a.originalIssueCopy.foundInVersion));z(5);E("ngModel",a.issue.inProd);z(6);E("ngModel",a.reporterText)("bContactAutocomplete","SINGLE");z(5);E("ngModel",a.verifierText)("bContactAutocomplete","SINGLE");z(5);E("ngModel",gs(a.originalIssueCopy.targetedToVersion));z(6);E("ngIf",!a.isBlockedByIssueIdValid);z(1);E("ngModel",gs(a.issue.blockedByIssueId));z(5);E("ngIf",!a.isBlockingIssueIdValid);
z(1);E("ngModel",gs(a.issue.blockingIssueId));z(1);E("ngIf",!a.sessionIsExternal);z(1);E("ngIf",!a.sessionIsExternal);z(1);E("ngIf",!Mp(a.selectedComponent));z(1);E("ngIf",S(62,21,a.trackerCollaboratorGroups$));z(3);E("ngForOf",a.issue.customField)}},Fub=function(a){a&1&&(F(0,"div",25),I(1,"b-icon",26),F(2,"span"),P(3),H(),F(4,"a",27),P(5,"View access settings"),H()());a&2&&(a=N(2),E("ngClass",Sf(5,ztb,Atb(a),Btb(a))),z(1),E("name","alert")("size","small"),z(2),Lf("",Ctb(a),"\u00a0"),z(1),E("href",
a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",Ud))},Gub=function(a){if(a&1){var b=u();F(0,"div",144)(1,"b-recaptcha",145);L("onUpdate",function(c){w(b);var d=N(2);return y(d.recaptchaResponse=c)});H()()}},Lub=function(a){if(a&1){var b=u();F(0,"div");O(1,Vtb,5,3,"div",45);F(2,"div",12)(3,"div",13)(4,"div",14)(5,"label",46);P(6,"Title");H()();F(7,"div",47)(8,"input",48);L("ngModelChange",function(c){w(b);var d=N();return y(d.setTitle(c))});H()()();O(9,Xtb,
12,5,"div",18);O(10,$tb,14,9,"div",18);H();J(11);F(12,"div",12);O(13,aub,6,2,"div",49);O(14,dub,8,5,"div",50);H();F(15,"div",12);O(16,eub,6,2,"div",51);H();K();F(17,"div",52)(18,"div",12)(19,"div",13)(20,"div",14)(21,"label",53);P(22,"Description");H()();F(23,"b-comment-box",54);L("commentChange",function(c){w(b);var d=N();return y(d.comment=c)})("onChange",function(){w(b);var c=N();return y(c.saveCommentDraft())})("onSubmit",function(c){w(b);var d=N();return y(Hub(d,!c))})("onRestrict",function(){w(b);
var c=N();return y(c.showNewContentJudgementDialog())});F(24,"b-markdown-toggle",55);L("change",function(c){w(b);var d=N();return y(d.comment.formattingMode=c)});H()()()();O(25,jub,8,6,"div",56);I(26,"div",57);F(27,"div",58);O(28,Eub,65,23,"mat-expansion-panel",59);H();O(29,Fub,6,8,"div",9);O(30,Gub,2,0,"div",60);F(31,"div",61)(32,"b-button",62);L("onAction",function(){w(b);var c=N();return y(Hub(c,!0))});P(33," Create ");H();F(34,"b-button",63);L("onAction",function(){w(b);var c=N();return y(Hub(c,
!1))});P(35," Create & Start Another ");H();F(36,"b-button",64);L("onAction",function(){w(b);var c=N();c.draftStore.$window.sessionStorage.removeItem(sn("0"));Iub(c.reloadService);return y()});P(37," Discard ");H()()()()}a&2&&(a=N(),z(1),E("ngIf",a.selectedComponent),z(7),E("ngModel",a.issue.title)("bFocus",a.newIssueStarted),z(1),E("ngIf",a.canEditIssuesInComponent),z(1),E("ngIf",a.canEditIssuesInComponent),z(3),E("ngIf",a.canEditIssuesInComponent),z(1),E("ngIf",a.canEditIssuesInComponent),z(2),
E("ngIf",a.canEditIssuesInComponent),z(7),E("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",Rf(26,Jub,Ltb(a.comment))),z(1),E("initialValue",a.comment.formattingMode),z(1),E("ngIf",a.canEditIssuesInComponent&&
!!Mp(a.selectedComponent)),z(3),E("ngIf",a.canEditIssuesInComponent),z(1),E("ngIf",Atb(a)||Btb(a)),z(1),E("ngIf",a.enableRecaptcha),z(2),E("disabled",Kub(a)),z(2),E("disabled",Kub(a)),z(2),E("disabled",Kub(a)))},Mub=function(a,b){a&1&&(F(0,"h2",146),P(1,"This component has a default description"),H(),F(2,"mat-dialog-content"),P(3," You have already entered a description, but the component you chose has a default description: "),F(4,"div",147),P(5),H()(),F(6,"mat-dialog-actions")(7,"button",148),P(8,
"Use component description"),H(),F(9,"button",149),P(10,"Keep my description"),H()());a&2&&(a=b.$implicit,z(5),Mf(a),z(2),E("mat-dialog-close",!0))},Nub=function(a,b){b.assigneeText=li(a.assigneeUser);b.reporterText=li(a.reporterUser);b.verifierText=li(a.verifierUser);b.collaboratorsText=mi(a.collaboratorsUsers);b.ccsText=mi(a.ccUsers)},Oub=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=
ti(a.assigneeText));null!=a.reporterText&&(b.reporterUser=ti(a.reporterText));null!=a.verifierText&&(b.verifierUser=ti(a.verifierText));a.collaboratorsText&&(c=Iqa(a.collaboratorsText),c.length?b.collaboratorsUsers=c:b.collaboratorsUsers=void 0);a.ccsText&&(a=Iqa(a.ccsText),a.length?b.ccUsers=a:b.ccUsers=void 0)},Qub=function(a,b){for(var c=k(Object.keys(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=b[d],g=Pub[d];"customField"===d||Xh(e,g)||(Array.isArray(e)?a[d]?(e=eqa([].concat(cd(e),cd(a[d]))),
a[d]=e):a[d]=e:""!==e&&(a[d]=e))}},Rub=function(a){a=Object.assign({},a);return delete a.hotlistId,a},Sub=function(a){var b={};a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.allowedValue&&(b[c.customFieldId]=c.allowedValue.map(function(d){return{value:d,displayText:d}}));return b},Tub=function(a){if(a&1){var b=u();F(0,"b-star-toggle",12);L("starClicked",function(){w(b);var c=N(2);return y(c.toggleStar())});H()}a&2&&(a=N(2),E("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",
a.isStarred))},Uub=function(a){a&1&&I(0,"b-star-toggle",13);a&2&&E("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)},Vub=function(a){if(a&1){var b=u();F(0,"div")(1,"div",7);O(2,Tub,1,3,"b-star-toggle",8);O(3,Uub,1,4,"b-star-toggle",9);F(4,"span",10);P(5);F(6,"span")(7,"button",11);L("click",function(){w(b);var c=N();return y(c.editBookmarkGroup())});
H()()()()()}a&2&&(a=N(),z(2),E("ngIf",!a.isAdmin),z(1),E("ngIf",a.isAdmin),z(2),Lf("",a.bookmarkGroup.name," "))},Yub=function(a){if(a&1){var b=u();F(0,"b-saved-search-panel",17);L("focusedRowIndexChange",function(g){w(b);var h=N().$implicit,l=N();return y(Wub(l,h,g))})("selectionChange",function(g){w(b);var h=N(2);return y(Xub(h,g))})("resultsLoaded",function(g){w(b);var h=N(2);return y(h.loadHotlists(g))});H()}if(a&2){var c=N();a=c.$implicit;var d=c.first;c=c.last;var e=N();E("panel",a)("isDashboardEditable",
e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("savedSearchId",a.resourceId)("first",d)("last",c)}},Zub=function(a){if(a&1){var b=u();F(0,"b-hotlist-panel",18);L("focusedRowIndexChange",function(g){w(b);var h=N().$implicit,l=N();return y(Wub(l,h,g))})("selectionChange",function(g){w(b);var h=N(2);return y(Xub(h,g))})("resultsLoaded",function(g){w(b);var h=N(2);return y(h.loadHotlists(g))});H()}if(a&2){var c=N();a=c.$implicit;var d=c.first;c=c.last;var e=N();E("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",
a.focusedRowIndex)("hotlistId",a.resourceId)("first",d)("last",c)}},$ub=function(a,b){a&1&&(F(0,"div",14),O(1,Yub,1,6,"b-saved-search-panel",15),O(2,Zub,1,6,"b-hotlist-panel",16),H());a&2&&(E("ngSwitch",b.$implicit.type),z(1),E("ngSwitchCase","SAVED_SEARCH"),z(1),E("ngSwitchCase","HOTLIST"))},avb=function(a){if(a&1){var b=u();F(0,"button",8);L("click",function(){w(b);var c=N();return y(c.archive())});P(1," Archive bookmark group ");H()}a&2&&(a=N(),E("disabled",a.hasUnsavedChanges()||a.isSaving()))},
bvb=function(a){if(a&1){var b=u();F(0,"button",8);L("click",function(){w(b);var c=N();return y(c.unarchive())});P(1," Unarchive bookmark group ");H()}a&2&&(a=N(),E("disabled",a.hasUnsavedChanges()||a.isSaving()))},cvb=function(a){a&1&&(F(0,"span",32),P(1," (archived) "),H())},evb=function(a,b){if(a&1){var c=u();F(0,"div")(1,"b-hotlist-chip-smart",48);L("removeHotlist",function(){var d=w(c).ngIf,e=N(4);return y(dvb(e,d))});H()()}a&2&&(a=b.ngIf,z(1),E("id",a))},gvb=function(a,b){if(a&1){var c=u();F(0,
"div",49)(1,"a",50);P(2);H();F(3,"span",51);L("click",function(){var e=w(c).ngIf,g=N(4);return y(fvb(g,e))})("keydown.enter",function(){var e=w(c).ngIf,g=N(4);return y(fvb(g,e))})("keydown.space",function(){var e=w(c).ngIf,g=N(4);return y(fvb(g,e))});P(4," \u00d7 ");H()()}if(a&2){a=b.ngIf;b=N().$implicit;var d=N(3);z(1);E("href",d.paths.viewSavedSearch(a),Ud)("matTooltip","Go to saved search: "+d.getDisplayName(b));z(1);Lf(" S: ",d.getDisplayName(b)," ");z(1);E("matTooltip","Remove item: "+d.getDisplayName(b));
of("aria-label","Remove item: "+d.getDisplayName(b))}},hvb=function(a){a&1&&(F(0,"span",52),P(1,"<None>"),H())},ivb=function(a,b){a&1&&(F(0,"div",45),O(1,evb,2,1,"div",7),O(2,gvb,5,5,"div",46),O(3,hvb,2,0,"span",47),H());if(a&2){a=b.$implicit;b=N(3);z(1);var c;var d="HOTLIST"===a.resourceType?null==(c=a.hotlistId)?void 0:c.toString():void 0;E("ngIf",d);z(1);E("ngIf","SAVED_SEARCH"===a.resourceType?a.savedSearchId:void 0);z(1);E("ngIf",!(null==b.bookmarkGroupUnderEdit.item?0:b.bookmarkGroupUnderEdit.item.length))}},
kvb=function(a,b){if(a&1){var c=u();F(0,"button",61);L("click",function(){var d=w(c).$implicit,e=N(5);return y(jvb(e,d))});P(1);H()}a&2&&(a=b.$implicit,z(1),Lf("",a.name," "))},lvb=function(a){a&1&&O(0,kvb,2,1,"button",60);a&2&&(a=N(4),E("ngForOf",a.savedSearchChoices))},mvb=function(a){a&1&&(F(0,"div",53)(1,"label",54),P(2,"Add from saved searches:"),H(),F(3,"button",55)(4,"span",56),P(5,"Select"),H(),I(6,"mat-icon",57),H(),F(7,"mat-menu",null,58),O(9,lvb,1,1,"ng-template",59),H()());if(a&2){var b=
Kf(8);z(3);E("matMenuTriggerFor",b)}},rvb=function(a){if(a&1){var b=u();J(0);F(1,"div",30)(2,"label",33)(3,"span",18);P(4,"Selected items");H()();F(5,"div",34,35);O(7,ivb,4,3,"div",36);H()();F(8,"div",37)(9,"div",38)(10,"label",39);P(11,"Add hotlist from favorites:");H();F(12,"b-hotlist-picker",40);L("onApply",function(c){w(b);var d=N(2);return y(nvb(d,c))})("onCreate",function(c){w(b);var d=N(2);return y(ovb(d,c))})("onLoad",function(c){w(b);var d=N(2);return y(pvb(d,c))});H()();F(13,"div",41)(14,
"label",42);P(15,"Add hotlist by query:");H();F(16,"b-hotlist-search",43);L("itemSelect",function(c){w(b);var d=N(2);"hotlistId"in c&&!d.selectedHotlistIds[0].includes(c.hotlistId)&&(qvb(d,c.hotlistId),d.bookmarkGroupUnderEdit.item.push({name:c.name,resourceType:"HOTLIST",hotlistId:c.hotlistId}));return y()});H()();O(17,mvb,10,1,"div",44);H();K()}a&2&&(a=N(2),z(7),E("ngForOf",a.bookmarkGroupUnderEdit.item),z(5),E("selectedHotlistIds",a.selectedHotlistIds)("choices",a.userHotlists)("checkEditAcl",
!1),z(4),E("showGroups",!1)("allowStarring",!1),z(1),E("ngIf",0<a.savedSearchChoices.length))},tvb=function(a){a&1&&(F(0,"span"),P(1),F(2,"a",65),P(3),H()());if(a&2){a=N().$implicit;var b=N(3);z(1);Lf(" Hotlist ",a.hotlistId,": ");z(1);E("href",svb(b,a),Ud);z(1);Lf(" ",a.name||"(name not available)"," ")}},uvb=function(a){a&1&&(F(0,"span"),P(1),F(2,"a",65),P(3),H()());if(a&2){a=N().$implicit;var b=N(3);z(1);Lf(" Saved search ",a.savedSearchId,": ");z(1);E("href",svb(b,a),Ud);z(1);Lf(" ",a.name||"(name not available)",
" ")}},vvb=function(a,b){a&1&&(F(0,"li"),O(1,tvb,4,3,"span",7),O(2,uvb,4,3,"span",7),H());a&2&&(a=b.$implicit,z(1),E("ngIf","HOTLIST"===a.resourceType),z(1),E("ngIf","SAVED_SEARCH"===a.resourceType))},wvb=function(a){a&1&&(F(0,"div",62)(1,"label")(2,"span",18),P(3,"Items"),H()(),F(4,"div",63)(5,"ul"),O(6,vvb,3,2,"li",64),H()()());a&2&&(a=N(2),z(6),E("ngForOf",a.bookmarkGroup.item))},xvb=function(a){if(a&1){var b=u();F(0,"div",66)(1,"button",67);L("click",function(){w(b);var c=N(2);return y(c.saveMetadata())});
P(2," Update ");H();F(3,"button",68);L("click",function(){w(b);var c=N(2);return y(c.revertMetadataChanges())});P(4," Revert changes ");H()()}a&2&&(a=N(2),z(1),E("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},yvb=function(a){if(a&1){var b=u();F(0,"div",66)(1,"button",67);L("click",function(){w(b);var c=N(2);return y(c.saveAccessPolicy())});P(2," Update ");H();F(3,"button",68);L("click",function(){w(b);var c=N(2);return y(c.revertAccessPolicyChanges())});P(4," Revert changes ");H()()}a&
2&&(a=N(2),z(1),E("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},Cvb=function(a){if(a&1){var b=u();J(0);F(1,"div",9)(2,"h2");P(3);H();O(4,cvb,2,0,"span",10);F(5,"a",11);P(6," (View Dashboard)");H()();F(7,"mat-tab-group",12);L("selectedIndexChange",function(d){w(b);var e=N();return y(e.selectedTabIndex=d)})("selectedIndexChange",function(d){w(b);var e=N();return y(e.tabChange(d))});F(8,"mat-tab",13)(9,"div",14);I(10,"b-error-banner",15);
F(11,"div",16)(12,"label",17)(13,"span",18);P(14,"Name");H()();F(15,"input",19,20);L("ngModelChange",function(d){w(b);var e=N();return y(e.bookmarkGroupUnderEdit.name=d)});H()();F(17,"div",16)(18,"label",21)(19,"span",18);P(20,"Description");H()();F(21,"textarea",22);L("ngModelChange",function(d){w(b);var e=N();return y(e.bookmarkGroupUnderEdit.description=d)});H()();O(22,rvb,18,7,"ng-container",23);O(23,wvb,7,1,"ng-template",null,24,gg);O(25,xvb,5,1,"div",25);H()();F(26,"mat-tab",26)(27,"div",14)(28,
"div",16)(29,"label")(30,"span",18);P(31,"Admins");H();F(32,"p",27);P(33," Edit access controls, edit name and description, reorder items, add/remove items ");H()();F(34,"b-multi-user-input",28);L("usersChange",function(d){w(b);var e=N();return y(e.accessPolicyUnderEdit.admins=d)})("isValid",function(d){w(b);var e=N();return y(e.isAdminsFieldValid=d)});H()();F(35,"div",16)(36,"label")(37,"span",18);P(38,"View only");H();F(39,"p",27);P(40," View the bookmark group ");H();F(41,"b-multi-user-input",
29);L("usersChange",function(d){w(b);var e=N();return y(e.accessPolicyUnderEdit.readers=d)})("isValid",function(d){w(b);var e=N();return y(e.isReaderFieldValid=d)});H()()();F(42,"div",30);P(43," See ");F(44,"a",31);P(45,"access control documentation");H();P(46," for an explanation of the settings. ");H();O(47,yvb,5,1,"div",25);H()()();K()}if(a&2){var c=Kf(24);a=N();z(3);Nf(" Bookmark group ",a.bookmarkGroup.bookmarkGroupId,": ",a.bookmarkGroup.name," ");z(1);E("ngIf",a.isArchived());z(1);E("href",
a.paths.dashboard(a.bookmarkGroup.bookmarkGroupId),Ud);z(2);E("selectedIndex",a.selectedTabIndex);z(3);E("error",a.error);z(1);E("ngClass",Rf(28,zvb,a.isEditDisabled()));z(4);E("ngModel",a.bookmarkGroupUnderEdit.name)("disabled",a.isEditDisabled());z(2);E("ngClass",Rf(30,zvb,a.isEditDisabled()));z(4);E("ngModel",a.bookmarkGroupUnderEdit.description)("disabled",a.isEditDisabled());z(1);E("ngIf",a.isAdmin)("ngIfElse",c);z(3);E("ngIf",a.isAdmin);z(3);E("ngClass",Rf(32,zvb,a.isEditDisabled()));z(6);xf("disabled",
a.isEditDisabled());E("users",a.accessPolicyUnderEdit.admins);z(1);E("ngClass",Rf(34,zvb,a.isEditDisabled()));z(6);xf("disabled",a.isEditDisabled());E("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Rf(38,Avb,Rf(36,Bvb,a.accessPolicyUnderEdit.admins)));z(3);E("href",$n(a.documentationLinks)+"#bookmark-groups",Ud);z(3);E("ngIf",a.isAdmin)}},Dvb=function(a){if(a&1){var b=u();F(0,"button",8);L("click",function(){w(b);var c=N();return y(c.delete())});
P(1," Delete saved search ");H()}a&2&&(a=N(),E("disabled",a.hasUnsavedChanges()||a.isSaving()))},Evb=function(a){a&1&&(J(0),F(1,"div",9)(2,"h2"),P(3," Saved search not found "),H()(),K())},Fvb=function(a){if(a&1){var b=u();F(0,"div",34)(1,"button",35);L("click",function(){w(b);var c=N(2);return y(c.saveMetadata())});P(2," Update ");H();F(3,"button",36);L("click",function(){w(b);var c=N(2);return y(c.revertMetadataChanges())});P(4," Revert changes ");H()()}a&2&&(a=N(2),z(1),E("disabled",!a.hasUnsavedMetadataChanges()||
a.isSaving()))},Gvb=function(a){if(a&1){var b=u();F(0,"div",34)(1,"button",35);L("click",function(){w(b);var c=N(2);return y(c.saveAccessPolicy())});P(2," Update ");H();F(3,"button",36);L("click",function(){w(b);var c=N(2);return y(c.revertAccessPolicyChanges())});P(4," Revert changes ");H()()}a&2&&(a=N(2),z(1),E("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},Kvb=function(a){if(a&1){var b=u();J(0);F(1,"div",9)(2,"h2");P(3);H();F(4,"a",
10);P(5," (View Issues)");H()();F(6,"mat-tab-group",11);L("selectedIndexChange",function(c){w(b);var d=N();return y(d.selectedTabIndex=c)})("selectedIndexChange",function(c){w(b);var d=N();return y(d.tabChange(c))});F(7,"mat-tab",12)(8,"div",13);I(9,"b-error-banner",14);F(10,"div",15)(11,"label",16)(12,"span",17);P(13,"Name");H()();F(14,"input",18,19);L("ngModelChange",function(c){w(b);var d=N();return y(d.savedSearchUnderEdit.name=c)});H()();F(16,"div",15)(17,"label",20)(18,"span",17);P(19,"Description");
H()();F(20,"textarea",21);L("ngModelChange",function(c){w(b);var d=N();return y(d.savedSearchUnderEdit.description=c)});P(21,"            ");H()();F(22,"div",22)(23,"label",23)(24,"span",17);P(25,"Query");H();F(26,"p",24);P(27," To modify query and display preferences, run the saved search and modify its parameters ");H();F(28,"div",25);P(29);H()()();O(30,Fvb,5,1,"div",26);H()();F(31,"mat-tab",27)(32,"div",13)(33,"div",15)(34,"label",28)(35,"span",17);P(36,"Admins");H();F(37,"p",24);P(38," Edit access controls, edit name and description, edit query ");
H()();F(39,"b-multi-user-input",29);L("usersChange",function(c){w(b);var d=N();return y(d.accessPolicyUnderEdit.admins=c)})("isValid",function(c){w(b);var d=N();return y(d.isAdminsFieldValid=c)});H()();F(40,"div",15)(41,"label",30)(42,"span",17);P(43,"View and execute search");H()();F(44,"b-multi-user-input",31);L("usersChange",function(c){w(b);var d=N();return y(d.accessPolicyUnderEdit.readers=c)})("isValid",function(c){w(b);var d=N();return y(d.isReaderFieldValid=c)});H()();F(45,"div",32);P(46,
" See ");F(47,"a",33);P(48,"access control documentation");H();P(49," for an explanation of the settings. ");H();O(50,Gvb,5,1,"div",26);H()()();K()}a&2&&(a=N(),z(3),Nf(" Saved search ",a.savedSearch.searchId,": ",a.savedSearch.name," "),z(1),E("href",a.paths.viewSavedSearch(a.savedSearch.searchId),Ud),z(2),E("selectedIndex",a.selectedTabIndex),z(3),E("error",a.error),z(1),E("ngClass",Rf(26,Hvb,a.isEditDisabled())),z(4),E("ngModel",a.savedSearchUnderEdit.name)("disabled",a.isEditDisabled()),z(2),E("ngClass",
Rf(28,Hvb,a.isEditDisabled())),z(4),E("ngModel",a.savedSearchUnderEdit.description)("disabled",a.isEditDisabled()),z(9),Lf(" ",a.savedSearch.query," "),z(1),E("ngIf",a.isAdmin),z(3),E("ngClass",Rf(30,Hvb,a.isEditDisabled())),z(6),xf("disabled",a.isEditDisabled()),E("users",a.accessPolicyUnderEdit.admins),z(1),E("ngClass",Rf(32,Hvb,a.isEditDisabled())),z(4),xf("disabled",a.isEditDisabled()),E("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Rf(36,
Ivb,Rf(34,Jvb,a.accessPolicyUnderEdit.admins))),z(3),E("href",$n(a.documentationLinks)+"#saved-searches",Ud),z(3),E("ngIf",a.isAdmin))},Lvb=function(a){a&1&&(F(0,"div",7),I(1,"b-spinner"),H())},Mvb=function(a){if(a&1){var b=u();F(0,"div",39)(1,"span",40)(2,"mat-checkbox",41);L("change",function(c){w(b);var d=N(2);return y(d.alertState.setValue(c.checked))});H()();F(3,"div")(4,"strong",42);P(5,"SLO Notifications");H();F(6,"div",43);P(7," When checked, admins will be notified when any component that would be automatically assigned this SLO overrides their SLO settings. ");
H()()()}a&2&&(a=N(2),xf("bv2-edit-resource-readonly",a.isEditDisabled()),z(2),E("checked",a.alertState.getValue())("disabled",a.isEditDisabled()))},Nvb=function(a){a&1&&(F(0,"div",44),P(1," Action is required to keep your SLO definitions in Buganizer and BugScope in sync. "),F(2,"a",45),P(3," Learn more "),H()())},Pvb=function(a){if(a&1){var b=u();F(0,"b-button",50);L("onAction",function(){w(b);var c=N(3);return y(Ovb(c,!0))});P(1," Archive ");H()}a&2&&(a=N(3),E("disabled",a.hasUnsavedMetadataChanges()||
a.isSaving()))},Qvb=function(a){if(a&1){var b=u();F(0,"b-button",51);L("onAction",function(){w(b);var c=N(3);return y(Ovb(c,!1))});P(1," Unarchive ");H()}a&2&&(a=N(3),E("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},Rvb=function(a){if(a&1){var b=u();F(0,"div",26)(1,"b-button",46);L("onAction",function(){w(b);var d=N(2);return y(d.saveMetadata())});P(2," Update ");H();F(3,"b-button",47);L("onAction",function(){w(b);var d=N(2);return y(d.revertMetadataChanges())});P(4," Revert changes ");
H();O(5,Pvb,2,1,"b-button",48);O(6,Qvb,2,1,"b-button",49);H()}if(a&2){N();var c=Kf(9);a=N();z(1);E("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||!a.elementPickerIsValid||!!c.pending||!!c.invalid);z(2);E("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||!!c.pending||!!c.invalid);z(2);E("ngIf",a.slo&&!a.slo.isArchived);z(1);E("ngIf",a.slo&&a.slo.isArchived)}},Svb=function(a){if(a&1){var b=u();F(0,"div",25)(1,"b-button",52);L("onAction",function(){w(b);var c=N(2);return y(c.saveAccessPolicy())});
P(2," Update ");H();F(3,"b-button",53);L("onAction",function(){w(b);var c=N(2);return y(c.revertAccessPolicyChanges())});P(4," Revert changes ");H()()}a&2&&(a=N(2),z(1),E("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||a.isInvalid()))},Tvb=function(a){if(a&1){var b=u();F(0,"div")(1,"div",8)(2,"h2")(3,"span",9);P(4);H()()();F(5,"mat-tab-group",10);L("selectedIndexChange",function(c){w(b);var d=N();return y(d.selectedTabIndex=c)})("selectedIndexChange",function(c){w(b);var d=N();return y(d.tabChange(c))});
F(6,"mat-tab",11)(7,"div",12)(8,"form",13,14)(10,"div",15)(11,"label",16)(12,"span",17);P(13,"Name");H()();F(14,"input",18);L("ngModelChange",function(c){w(b);var d=N();return y(d.editableCopy.name=c)});H()();F(15,"div",15)(16,"label",19)(17,"span",17);P(18,"Description");H()();F(19,"textarea",20);L("ngModelChange",function(c){w(b);var d=N();return y(d.editableCopy.description=c)});P(20,"              ");H()();O(21,Mvb,8,4,"div",21);H();O(22,Nvb,4,0,"div",22);F(23,"div",15)(24,"slo-elements-picker",
23);L("onCollectionUpdate",function(c){w(b);var d=N();return y(d.updateCollection(c))})("onValidation",function(c){w(b);var d=N();return y(d.elementPickerIsValid=c)});H()();F(25,"div",24)(26,"div",25)(27,"div",26)(28,"b-button",27);L("onAction",function(){w(b);var c=N();return y(c.showUpdateHistoryModal())});P(29," View history ");H()()();F(30,"div",25);O(31,Rvb,7,4,"div",28);H()()()();F(32,"mat-tab",29)(33,"div",30)(34,"form",31)(35,"div",15)(36,"label",32)(37,"span",17);P(38,"Admins");H();F(39,
"p",33);P(40," Edit name, description and metrics ");H()();F(41,"b-multi-user-input",34);L("usersChange",function(c){w(b);var d=N();return y(d.editableAccessPolicy.admins=c)})("isValid",function(c){w(b);var d=N();return y(d.validity.admins=c)});H()();F(42,"div",15)(43,"label",35)(44,"span",17);P(45,"Readers");H();F(46,"p",33);P(47," View the SLO definition (this is not required to see an issue's SLO status) ");H()();F(48,"b-multi-user-input",36);L("usersChange",function(c){w(b);var d=N();return y(d.editableAccessPolicy.readers=
c)})("isValid",function(c){w(b);var d=N();return y(d.validity.readers=c)});H()()();F(49,"div",15);P(50," See ");F(51,"a",37);P(52,"access control documentation");H();P(53," for an explanation of the settings. ");H();O(54,Svb,5,1,"div",38);H()()()()}a&2&&(a=N(),z(4),Nf(" SLO ",a.slo.sloId,": ",a.slo.name," "),z(1),E("selectedIndex",a.selectedTabIndex),z(5),xf("bv2-edit-resource-readonly",a.isEditDisabled()),z(4),E("required",!0)("ngModel",a.editableCopy.name)("disabled",a.isEditDisabled()),z(1),xf("bv2-edit-resource-readonly",
a.isEditDisabled()),z(4),E("ngModel",a.editableCopy.description)("disabled",a.isEditDisabled()),z(2),E("ngIf",a.isImportedFromBugScope||a.alertState.getSavedValue()),z(1),E("ngIf",a.isUneditedFromBugScope&&a.isAdmin()),z(1),xf("bv2-edit-resource-readonly",a.isEditDisabled()),z(1),E("isDisabled",a.isEditDisabled())("collection",a.editableCopy.elements),z(7),E("ngIf",a.isAdmin()),z(4),xf("bv2-edit-resource-readonly",a.isEditDisabled()),z(6),E("users",a.editableAccessPolicy.admins),of("disabled",a.isEditDisabled()?
!0:null),z(1),xf("bv2-edit-resource-readonly",a.isEditDisabled()),z(6),E("users",a.editableAccessPolicy.readers)("includeAliases",!0)("includeViewAliases",!0),of("disabled",a.isEditDisabled()?!0:null),z(3),Hf("href","",$n(a.documentationLinks),"#slos",Ud),z(3),E("ngIf",a.isAdmin()))},Uvb=function(a){if(a&1){var b=u();F(0,"div",5);I(1,"img",6)(2,"img",7);F(3,"p",8);P(4," This issue is not blocking anything \u00a0\ud83e\udd73 ");H();F(5,"p",9);P(6,' If this issue blocked another, it would mean that it should be resolved first, and it would show up in the "Blockers" list for that issue. ');
F(7,"a",10);P(8,"Learn more");H()();F(9,"button",11);L("click",function(){w(b);var c=N(2);return y(c.onClickAdd())});P(10," Add ");H()()}a&2&&(a=N(2),z(1),E("src",a.TEA_LIGHT,Ud),z(1),E("src",a.TEA_DARK,Ud))},Vvb=function(a,b){a&1&&I(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=N(6),E("issueIds",a)("menuItemFactory",b.getMenuItems))},Wvb=function(a){a&1&&(J(0),O(1,Vvb,1,2,"b-issues-table",17),R(2,"async"),K());a&2&&(a=N(5),z(1),E("ngIf",S(2,1,a.blockedAndOpenIds$)))},Xvb=function(a){a&1&&(F(0,"p",19),
P(1,"Not blocking any open issues \ud83e\udd73"),H())},Yvb=function(a,b){a&1&&(J(0),F(1,"h4",15),P(2),H(),O(3,Wvb,3,3,"ng-container",12),O(4,Xvb,2,0,"ng-template",null,16,gg),K());if(a&2){a=b.$implicit;var c=Kf(5);z(2);Lf("Open (",a.length,")");z(1);E("ngIf",0<a.length)("ngIfElse",c)}},Zvb=function(a,b){a&1&&I(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=N(6),E("issueIds",a)("menuItemFactory",b.getMenuItems))},$vb=function(a){a&1&&(J(0),F(1,"h4",15),P(2),H(),O(3,Zvb,1,2,"b-issues-table",17),R(4,"async"),
K());if(a&2){a=N().$implicit;var b=N(4);z(2);Lf("Closed (",a.length,")");z(1);E("ngIf",S(4,2,b.blockedAndClosedIds$))}},awb=function(a,b){a&1&&(J(0),O(1,$vb,5,4,"ng-container",1),K());a&2&&(a=b.$implicit,z(1),E("ngIf",0<a.length))},bwb=function(a){a&1&&(J(0),O(1,Yvb,6,3,"ng-container",1),R(2,"async"),O(3,awb,2,1,"ng-container",1),R(4,"async"),K());a&2&&(a=N(3),z(1),E("ngIf",S(2,2,a.blockedAndOpen$)),z(2),E("ngIf",S(4,4,a.blockedAndClosed$)))},cwb=function(a,b){a&1&&(F(0,"li")(1,"a",22)(2,"span",9),
P(3),H(),F(4,"aside",23),I(5,"button",24),H()()());a&2&&(a=b.$implicit,z(1),Hf("routerLink","/issues/",a,""),qf("aria-label","Issue ",a,""),z(2),Lf("b/",a,""))},dwb=function(a){a&1&&(F(0,"h4",15),P(1,"Loading..."),H(),F(2,"ol",20),O(3,cwb,6,3,"li",21),H());a&2&&(a=N(2).$implicit,z(3),E("ngForOf",a))},ewb=function(a,b){a&1&&(J(0),F(1,"a",25),P(2," View as search results "),H(),K());a&2&&(a=b.ngIf,z(1),E("routerLink",a.path)("queryParams",a.params))},fwb=function(a){if(a&1){var b=u();O(0,bwb,5,6,"ng-container",
12);R(1,"async");O(2,dwb,4,1,"ng-template",null,13,gg);F(4,"aside",14)(5,"button",11);L("click",function(){w(b);var d=N(2);return y(d.onClickAdd())});P(6," Add ");H();O(7,ewb,3,2,"ng-container",1);R(8,"async");H()}if(a&2){var c=Kf(3);a=N(2);E("ngIf",S(1,3,a.issuesBeingBlocked$))("ngIfElse",c);z(7);E("ngIf",S(8,5,a.searchUrl$))}},gwb=function(a,b){a&1&&(J(0),O(1,Uvb,11,2,"div",3),O(2,fwb,9,7,"ng-template",null,4,gg),K());if(a&2){a=b.$implicit;var c=Kf(3);z(1);E("ngIf",0===a.length)("ngIfElse",c)}},
hwb=function(a){a&1&&(F(0,"aside",26),I(1,"b-spinner"),H())},iwb=function(a,b){if(a&&a.length)return a.map(b)},jwb=function(a){return{filename:a.getFilename(),lineNumber:Qh(a,2),changeNumber:qj(a,3)}},kwb=function(a){return{packageName:a.getPackageName(),fileMentionSet:iwb(kj(a,hs,2),jwb)}},lwb=function(a){return{totalMentions:Rh(a,1),truncated:Tj(a,2),packageMentionSet:iwb(kj(a,is,3),kwb)}},js=function(a){var b=mwb(a.open);a=mwb(a.total);return b===a?"("+b+")":"("+b+"/"+a+")"},mwb=function(a){var b=
a.count;a=a.exact;return 0===b||a?""+b:b+"+"},nwb=function(a){return"("+mwb(a)+")"},ks=function(a){return{count:99<a?99:a,exact:99<a?!1:!0}},owb=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:Ch(b)}},pwb=function(a){a&1&&Cf(0)},qwb=function(a){a&1&&(J(0),O(1,pwb,1,0,"ng-container",9),K());if(a&2){N();
var b=Kf(15);z(1);E("ngTemplateOutlet",b)}},rwb=function(a,b){a&1&&(J(0),I(1,"b-issues-table",10),K());a&2&&(a=b.ngIf,b=N(2),z(1),E("issueIds",a)("tableColumns",b.tableColumns)("menuItemFactory",b.getMenuItems)("filters",b.filters)("initialSort",b.initialSort))},swb=function(a){a&1&&(J(0),O(1,rwb,2,5,"ng-container",4),R(2,"async"),K());a&2&&(a=N(),z(1),E("ngIf",S(2,1,a.blockerIds$)))},twb=function(a,b){if(a&1){var c=u();F(0,"p",11);P(1);F(2,"button",12);L("click",function(){w(c);var d=N();return y(d.shouldResetFilters.next())});
P(3,"Show all");H()()}a&2&&(a=b.$implicit,z(1),Nf(" Filtering ",a," issue",1===a?"":"s",". "))},uwb=function(a){a&1&&Cf(0)},vwb=function(a){a&1&&(F(0,"div")(1,"span",11),P(2,"This issue is not blocked "),F(3,"span",13),P(4,"\ud83c\udf89"),H()(),O(5,uwb,1,0,"ng-container",9),H());if(a&2){N();var b=Kf(15);z(5);E("ngTemplateOutlet",b)}},xwb=function(a){if(a&1){var b=u();F(0,"b-button",14);L("onAction",function(){w(b);var c=N();return y(wwb(c))});R(1,"async");P(2," Add blocker ");H()}a&2&&(a=N(),E("disabled",
!S(1,1,a.canEdit$)))},ywb=function(a){a&1&&I(0,"th",27)},zwb=function(a){if(a&1){var b=u();F(0,"td",28,29);L("click",function(c){w(b);Kf(1).focus();return y(c.stopPropagation())});H()}},Awb=function(a){a&1&&I(0,"th",27)},Bwb=function(a){if(a&1){var b=u();F(0,"td",30,31);L("click",function(c){w(b);Kf(1).focus();return y(c.stopPropagation())})("dragstart",function(c){w(b);var d=N();return y(d.handleDragStart(c))});I(2,"mat-icon",32);H()}},Cwb=function(a){a&1&&(F(0,"th",27),P(1," Id "),H())},Dwb=function(a,
b){a&1&&(F(0,"td",33),I(1,"b-issue-id-cell",34),H());a&2&&(a=b.$implicit,z(1),E("id",a.id))},Ewb=function(a){a&1&&(F(0,"th",27),P(1," Id "),H())},Fwb=function(a){a&1&&(F(0,"td",33),P(1,"--"),H())},Gwb=function(a){a&1&&(F(0,"th",27),P(1," Title "),H())},Hwb=function(a,b){if(a&1){var c=u();F(0,"td",33)(1,"b-expandable-issue-title-cell",35);L("expansionChange",function(){var d=w(c).$implicit,e=N();return y(e.toggleExpansion(d))});R(2,"async");R(3,"async");H()()}a&2&&(a=b.$implicit,z(1),E("issue",S(2,
4,a.issue$))("expandable",S(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},Iwb=function(a){a&1&&(F(0,"th",27),P(1," Type "),H())},Jwb=function(a,b){a&1&&(F(0,"td",33),I(1,"b-issue-type-cell",36),R(2,"async"),H());a&2&&(a=b.$implicit,z(1),E("issue",S(2,1,a.issue$)))},Kwb=function(a){a&1&&(F(0,"th",27),P(1," Assignee "),H())},Lwb=function(a,b){a&1&&(F(0,"td",33),I(1,"b-issue-assignee-cell",36),R(2,"async"),H());a&2&&(a=b.$implicit,z(1),E("issue",S(2,1,a.issue$)))},Mwb=function(a){a&
1&&(F(0,"th",27),P(1," Status "),H())},Nwb=function(a,b){a&1&&(F(0,"td",33),I(1,"b-issue-status-cell",36),R(2,"async"),H());a&2&&(a=b.$implicit,z(1),E("issue",S(2,1,a.issue$)))},Owb=function(a){a&1&&(F(0,"th",27),P(1," Team "),H())},Pwb=function(a,b){a&1&&(F(0,"td",33),I(1,"b-issue-team-cell",36),R(2,"async"),H());a&2&&(a=b.$implicit,z(1),E("issue",S(2,1,a.issue$)))},Qwb=function(a){a&1&&I(0,"th",27)},Rwb=function(a,b){a&1&&(F(0,"td",33)(1,"b-actions-menu",37),L("click",function(c){return c.stopPropagation()}),
H()());a&2&&(a=b.$implicit,b=N(),z(1),E("menuItems",b.getMenuItems(a)))},Swb=function(a){a&1&&I(0,"th",27)},Twb=function(a){a&1&&(F(0,"b-actions-menu",37),L("click",function(c){return c.stopPropagation()}),H());if(a&2){a=N().$implicit;var b=N();E("menuItems",b.getMenuItemsForDraft(a))}},Uwb=function(a){a&1&&I(0,"b-spinner")},Vwb=function(a,b){a&1&&(F(0,"td",38),O(1,Twb,1,1,"b-actions-menu",39),O(2,Uwb,1,0,"ng-template",null,40,gg),H());if(a&2){a=b.$implicit;var c=Kf(3);z(1);E("ngIf",!a.saving)("ngIfElse",
c)}},Wwb=function(a,b){if(a&1){var c=u();F(0,"td",33)(1,"b-async-data-placeholder",41);R(2,"async");F(3,"b-button",42);L("onAction",function(){var d=w(c).$implicit,e=N();return y(e.displayAllSiblings(d))});F(4,"span",43);P(5);H()()()()}a&2&&(a=b.$implicit,b=N(),wf("padding-left",24*a.level+b.TITLE_FIXED_OFFSET_PX,"px"),of("colspan",b.tableColumns.length),z(1),E("isReady",!!S(2,5,a.parentIssue$)),z(4),Lf("Display ",a.truncatedSiblingCount," more"))},Xwb=function(a){a&1&&(F(0,"th",27),P(1," Title "),
H())},Ywb=function(a,b){if(a&1){var c=u();F(0,"td",33)(1,"div",44)(2,"b-text-input-cell",45);L("valueChange",function(d){var e=w(c).$implicit;return y(e.title=d)})("commit",function(){var d=w(c).$implicit,e=N();return y(e.saveDraft(d))});H();F(3,"b-button",46);L("onAction",function(){var d=w(c).$implicit,e=N();return y(e.saveDraft(d))});P(4," Create ");H();F(5,"b-button",47);L("onAction",function(){var d=w(c).$implicit,e=N();return y(e.cancelDraft(d))});P(6," Cancel ");H()()()}a&2&&(a=b.$implicit,
wf("padding-left",24*(a.level+1),"px"),z(2),E("value",a.title)("readonly",a.saving),z(1),E("disabled",!a.title||a.saving),z(2),E("disabled",a.saving))},Zwb=function(a){a&1&&I(0,"tr",48)},$wb=function(a,b){if(a&1){var c=u();F(0,"tr",49);L("click",function(d){var e=w(c).$implicit,g=N();return y(g.navigateToIssue(d,e))})("mouseup",function(d){var e=w(c).$implicit,g=N();return y(g.navigateToIssue(d,e))})("focusin",function(){var d=w(c).$implicit,e=N();return y(Wn(e.focusManager,d))})("keydown",function(d){var e=
w(c).$implicit,g=N();return y(g.onRowKeydown(e,d))});R(1,"async");R(2,"async");H()}a&2&&(a=b.$implicit,b=N(),xf("selected",S(1,8,mKa(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(S(2,10,a.issue$))),E("row",a),of("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},axb=function(a,b){if(a&1){var c=u();F(0,"tr",50);L("focusin",function(){var d=w(c).$implicit,e=N();return y(Wn(e.focusManager,d))})("keydown",function(d){var e=w(c).$implicit,g=N();return y(g.onRowKeydown(e,
d))});H()}a&2&&(a=b.$implicit,E("row",a),of("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},bxb=function(a,b){if(a&1){var c=u();F(0,"tr",51);L("keydown",function(d){var e=w(c).$implicit,g=N();return y(g.onRowKeydown(e,d))})("keydown.escape",function(){var d=w(c).$implicit,e=N();return y(e.cancelDraft(d))})("keydown.backspace",function(){var d=w(c).$implicit,e=N();return y(d.title||e.cancelDraft(d))})("focusin",function(){var d=w(c).$implicit,e=N();return y(Wn(e.focusManager,
d))});H()}a&2&&(a=b.$implicit,E("row",a),of("data-type",a.type))},cxb=function(a,b){a&1&&(J(0),I(1,"b-issues-table",1),K());a&2&&(a=b.ngIf,b=N(),z(1),E("issueIds",a)("tableColumns",b.tableColumns)("filters",b.filters)("issueUrlFactory",b.editIssueDependencies)("menuItemFactory",b.getMenuItems))},dxb=function(a,b){a&1&&(F(0,"span",10),P(1),H());a&2&&(a=b.ngIf,Hf("title","",a," applied filter(s)"),z(1),Mf(a))},exb=function(a){a&1&&(J(0),O(1,dxb,2,2,"span",9),R(2,"async"),K());a&2&&(a=N(),z(1),E("ngIf",
S(2,1,a.internalSelectedOptions.size$)))},fxb=function(a){a&1&&(F(0,"h1",11),P(1),H());a&2&&(a=N(),z(1),Mf(a.overlayTitle))},gxb=function(a){a&1&&(F(0,"h1"),P(1),H());a&2&&(a=N().$implicit,z(1),Mf(a.title))},hxb=function(a){a&1&&(F(0,"p"),P(1),H());a&2&&(a=N().$implicit,z(1),Mf(a.description))},ixb=function(a,b){if(a&1){var c=u();F(0,"div",12)(1,"div",13)(2,"mat-checkbox",14);L("change",function(d){var e=w(c).$implicit,g=N();e=e.key;d.checked?g.internalSelectedOptions.add(e):g.internalSelectedOptions.delete(e);
g.onChange.emit(new Set(g.internalSelectedOptions));return y()});R(3,"async");H();F(4,"div");O(5,gxb,2,1,"h1",3);O(6,hxb,2,1,"p",3);H()()()}a&2&&(a=b.$implicit,b=N(),z(2),E("checked",S(3,3,Vn(b.internalSelectedOptions,a.key))),z(3),E("ngIf",a.title),z(1),E("ngIf",a.description))},jxb=function(a){if(a&1){var b=u();J(0);I(1,"mat-divider");F(2,"div",15)(3,"button",16);L("click",function(){w(b);var c=N(),d=Kf(1);return y(c.cancel(d))});P(4);H();F(5,"button",17);L("click",function(){w(b);var c=N(),d=Kf(1);
return y(c.confirm(d))});P(6);H()();K()}a&2&&(a=N(),z(4),Mf(a.cancelButtonLabel),z(2),Mf(a.confirmButtonLabel))},kxb=function(a){a&1&&I(0,"b-spinner")},lxb=function(a){a&1&&Cf(0)},mxb=function(a){a&1&&(J(0),O(1,lxb,1,0,"ng-container",23),K());if(a&2){N(2);var b=Kf(12);z(1);E("ngTemplateOutlet",b)}},nxb=function(a){a&1&&(I(0,"b-parents-table",24),R(1,"async"),R(2,"async"));if(a&2){a=N().ngIf;var b=N();E("issueId",a)("parentIds",S(1,3,b.parentIds$))("filters",S(2,5,b.issueFilters.value$))}},oxb=function(a){a&
1&&Cf(0)},qxb=function(a){a&1&&(J(0),O(1,oxb,1,0,"ng-container",25),R(2,"async"),K());if(a&2){a=N(2);var b=Kf(10);z(1);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Rf(4,pxb,S(2,2,null==a.parentsTable?null:a.parentsTable.filteredRowCount$)))}},rxb=function(a){a&1&&Cf(0)},sxb=function(a){a&1&&(F(0,"div")(1,"span",26),P(2,"This issue has no parents"),H(),O(3,rxb,1,0,"ng-container",23),H());if(a&2){N(2);var b=Kf(12);z(3);E("ngTemplateOutlet",b)}},txb=function(a){a&1&&Cf(0)},uxb=function(a){a&1&&
(J(0),O(1,txb,1,0,"ng-container",23),K());if(a&2){N(2);var b=Kf(14);z(1);E("ngTemplateOutlet",b)}},vxb=function(a){a&1&&(F(0,"div",27)(1,"section",28)(2,"div",29),P(3," Progress: "),H(),F(4,"div",29),P(5),R(6,"number"),R(7,"async"),R(8,"number"),R(9,"async"),H(),F(10,"div",30),R(11,"async"),F(12,"div",31)(13,"div",32),R(14,"async"),H(),F(15,"onedev-hovercard",null,33)(17,"div",34)(18,"div",35),P(19),R(20,"async"),H()()()()(),I(21,"mat-icon",36),F(22,"onedev-hovercard",null,37)(24,"div",34)(25,"div",
38)(26,"p"),P(27," The progress of child issues takes into consideration all child issues and descendant issues which have estimation data. If a child issue doesn\u2019t have an estimate, their progress is not reflected in the progress bar. "),H()()()()()());if(a&2){var b=Kf(16),c=Kf(23);a=N(2);z(5);Nf(" ",Uf(6,8,S(7,11,a.totalDaysComplete$),"1.0-2")," of ",Uf(8,13,S(9,16,a.totalDaysCount$),"1.0-2")," days complete ");z(5);qf("aria-label","",S(11,18,a.totalDaysDisplayPercent$)," Percentage of effort completed");
z(2);E("onedevHovercardTrigger",b);z(1);wf("width",S(14,20,a.totalDaysDisplayPercent$),"%");z(6);Lf(" ",S(20,22,a.progressHovercardContent$)," ");z(2);E("onedevHovercardTrigger",c)}},wxb=function(a){a&1&&Cf(0)},xxb=function(a){a&1&&(J(0),O(1,wxb,1,0,"ng-container",25),R(2,"async"),K());if(a&2){a=N(2);var b=Kf(10);z(1);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Rf(4,pxb,S(2,2,null==a.relationsTable?null:a.relationsTable.filteredRowCount$)))}},yxb=function(a){a&1&&Cf(0)},zxb=function(a){a&1&&
(J(0),F(1,"span",26),P(2,"This issue has no children"),H(),O(3,yxb,1,0,"ng-container",23),K());if(a&2){N(3);var b=Kf(14);z(3);E("ngTemplateOutlet",b)}},Axb=function(a){a&1&&(J(0),O(1,zxb,4,1,"ng-container",1),R(2,"async"),R(3,"async"),K());if(a&2){a=N(2);var b;z(1);E("ngIf",0===S(2,1,a.unarchivedChildIssueCount$)&&0===((null==(b=S(3,3,null==a.relationsTable?null:a.relationsTable.rows$))?null:b.length)||0))}},Bxb=function(a,b){if(a&1){var c=u();F(0,"div",9)(1,"section",10)(2,"div",11)(3,"h4",12)(4,
"div",13);I(5,"mat-icon",14);H();P(6);R(7,"async");H();O(8,mxb,2,1,"ng-container",1);R(9,"async");H();O(10,nxb,3,7,"b-parents-table",15);R(11,"async");O(12,qxb,3,6,"ng-container",1);R(13,"async");O(14,sxb,4,1,"ng-template",null,16,gg);H();F(16,"section")(17,"b-blockers-table",17);L("shouldResetFilters",function(){w(c);var h=N();return y(h.shouldResetFilters())});R(18,"async");H()();F(19,"section")(20,"div",18)(21,"h4",12)(22,"div",19);I(23,"mat-icon",20);H();P(24);R(25,"async");H();O(26,uxb,2,1,"ng-container",
1);R(27,"async");R(28,"async");H();O(29,vxb,28,24,"div",21);R(30,"async");R(31,"async");I(32,"b-issue-relations-table",22);R(33,"async");R(34,"async");R(35,"async");O(36,xxb,3,6,"ng-container",1);R(37,"async");O(38,Axb,4,5,"ng-container",1);R(39,"async");H()()}if(a&2){a=b.ngIf;var d=Kf(15);b=N();var e,g;z(6);Lf(" Parents ",S(7,15,b.counts.countParentsDisplay$)," ");z(2);E("ngIf",S(9,17,b.parentsCount$));z(2);E("ngIf",S(11,19,b.parentsCount$))("ngIfElse",d);z(2);E("ngIf",S(13,21,b.issueFilters.value$));
z(5);E("filters",S(18,23,b.issueFilters.value$));z(7);Lf(" Child issues ",S(25,25,b.counts.countChildrenDisplay$)," ");z(2);E("ngIf",S(27,27,b.unarchivedChildIssueCount$)||0<((null==(e=S(28,29,null==b.relationsTable?null:b.relationsTable.rows$))?null:e.length)||0));z(3);E("ngIf",b.isTotalEstimatesEnabled&&S(30,31,b.unarchivedChildIssueCount$)&&S(31,33,b.totalDaysCount$));z(3);xf("hidden",!(null==(g=S(33,35,null==b.relationsTable?null:b.relationsTable.rows$))?0:g.length)&&!S(34,37,null==b.relationsTable?
null:b.relationsTable.filteredRowCount$));E("rootIssueId",a)("filters",S(35,39,b.issueFilters.value$));z(4);E("ngIf",S(37,41,b.issueFilters.value$));z(2);E("ngIf",null!==S(39,43,b.unarchivedChildIssueCount$))}},Cxb=function(a){if(a&1){var b=u();F(0,"p",26);P(1);F(2,"button",40);L("click",function(){w(b);var c=N(2);return y(c.issueFilters.reset([]))});P(3,"Show all");H()()}a&2&&(a=N().filteredCount,z(1),Nf(" Filtering ",a," issue",1===a?"":"s",". "))},Dxb=function(a,b){a&1&&O(0,Cxb,4,2,"p",39);a&2&&
E("ngIf",b.filteredCount)},Fxb=function(a){if(a&1){var b=u();F(0,"b-button",41);L("onAction",function(){w(b);var c=N();return y(Exb(c))});R(1,"async");P(2," Add parent ");H()}a&2&&(a=N(),E("disabled",!S(1,1,a.canEdit$)))},Gxb=function(a){if(a&1){var b=u();F(0,"b-button",44);L("onAction",function(){w(b);var c=N(2);return y(c.createChild())});R(1,"async");P(2," Create new child ");H()}a&2&&(a=N(2),E("disabled",!S(1,1,a.canEdit$)))},Hxb=function(a){if(a&1){var b=u();O(0,Gxb,3,3,"b-button",42);F(1,"b-button",
43);L("onAction",function(){w(b);var c=N();return y(c.addChild())});R(2,"async");P(3," Add existing child ");H()}a&2&&(a=N(),E("ngIf",a.isNonPublicSession),z(1),E("disabled",!S(2,2,a.canEdit$)))},Ixb=function(a,b){return(0,D.combineLatest)([a,b]).pipe(C(function(c){var d=k(c);c=d.next().value;d=d.next().value;return 0===d?0:Math.round(100*c/d*100)/100}))},Jxb=function(a){return 1===a?a+" day":a+" days"},Kxb=function(a){a&1&&(F(0,"div",3),I(1,"mat-icon",4),F(2,"span",5),P(3),R(4,"async"),H()());if(a&
2){a=N();var b;z(3);Lf("",null==(b=S(4,1,a.issues$))?null:b.length," parent issues")}},Lxb=function(a){a&1&&(F(0,"div",3),I(1,"mat-icon",6),F(2,"span",5),P(3),R(4,"async"),H()());if(a&2){a=N();var b;z(3);Lf("Blocked by ",null==(b=S(4,1,a.issues$))?null:b.length," issues")}},Mxb=function(a,b){a&1&&(F(0,"span"),P(1),H());a&2&&(a=b.$implicit,b=N(4),Af("chippy status-",a," margin-s-left"),z(1),Lf(" ",b.STATUS_TERSE[a]," "))},Nxb=function(a){a&1&&(J(0),F(1,"a",8)(2,"div",9)(3,"div",10)(4,"div",11),P(5),
H(),F(6,"div",12),P(7),H()(),F(8,"div",10)(9,"div",13),P(10),H(),O(11,Mxb,2,4,"span",14),H()()(),K());if(a&2){var b=N();a=b.$implicit;b=b.last;var c=N(2);z(1);Hf("routerLink","/issues/",a.issueId,"");z(1);xf("border-bottom",!b);z(3);Mf(a.issueId);z(2);Mf(a.snapshot[0].title);z(2);E("ngClass",c.priorityClass(a.snapshot[0].priority));z(1);Mf(a.snapshot[0].priority);z(1);E("ngIf",c.convertIssueStatusStrToTag(a.snapshot[0].status))}},Oxb=function(a,b){a&1&&(J(0),O(1,Nxb,12,8,"ng-container",2),K());a&
2&&(a=b.index,z(1),E("ngIf",5>a))},Qxb=function(a){if(a&1){var b=u();J(0);F(1,"div",15)(2,"button",16);L("click",function(){w(b);var c=N(2);return y(Pxb(c))});P(3,"View all parent issues");H()();K()}},Rxb=function(a){if(a&1){var b=u();J(0);F(1,"div",15)(2,"button",16);L("click",function(){w(b);var c=N(2),d;null==(d=c.hovercardInstance)||d.closeHovercard$.next();ls(c.router,"/issues/"+c.currentIssueId+"/dependencies");return y()});P(3,"View all blockers");H()();K()}},Sxb=function(a,b){a&1&&(F(0,"div"),
O(1,Oxb,2,1,"ng-container",7),O(2,Qxb,4,0,"ng-container",2),O(3,Rxb,4,0,"ng-container",2),H());a&2&&(a=b.$implicit,b=N(),z(1),E("ngForOf",a),z(1),E("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),z(1),E("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES))},Txb=function(a){a&1&&I(0,"mat-icon",7)},Uxb=function(a){a&1&&(J(0),I(1,"b-list-issues-card",8,9),K());if(a&2){var b=Kf(2);N();var c=Kf(5);a=N();z(1);E("onedevIsHovercardReady",b.init)("hovercardInstance",
c)("currentIssueId",a.issueId)("issueIds",a.multiParentIssueIds)("mode",a.ListIssuesHovercardMode.PARENT_ISSUES)}},Vxb=function(a){a&1&&(J(0),F(1,"a",3),P(2),H(),O(3,Txb,1,0,"mat-icon",4),F(4,"onedev-hovercard",null,5),O(6,Uxb,3,5,"ng-container",6),H(),K());if(a&2){var b=Kf(5);a=N();z(1);Hf("title","",a.multiParentIssueIds.length," parents at this position");E("onedevHovercardTrigger",b);z(1);Lf("",a.multiParentIssueIds.length," Parents\u2026");z(1);E("ngIf",1<a.multiParentIssueIds.length)}},Wxb=
function(a,b){a&1&&(J(0),F(1,"b-issue-reference-widget",10),P(2),H(),I(3,"mat-icon",7),K());if(a&2){a=b.$implicit;b=b.last;var c=N();z(1);E("href",c.getIssueLink(a))("issueId",a);z(1);c.issueIdToTitle.has(a)?(a=c.issueIdToTitle.get(a),a=oBa(a)):a=String(a);Mf(a);z(1);xf("last",b)}},Xxb=function(a){a&1&&Cf(0)},Yxb=function(a){a&1&&(J(0),O(1,Xxb,1,0,"ng-container",5),K());a&2&&(a=N(),z(1),E("ngTemplateOutlet",a.content))},Zxb=function(a,b){if(a&1){var c=u();F(0,"button",13);L("click",function(e){var g=
w(c).$implicit;return y(g.action(e))});I(1,"mat-icon",14);P(2);H()}if(a&2){a=b.$implicit;var d;E("disabled",a.disabled)("title",a.title);of("aria-label",a.title);z(1);E("svgIcon",null!==(d=a.icon)&&void 0!==d?d:"");z(1);Lf(" ",a.label," ")}},$xb=function(a){if(a&1){var b=u();J(0);F(1,"button",15);L("click",function(d){w(b);var e=N(2);d.stopPropagation();d.preventDefault();var g;null==(g=e.helpHover)||g.toggle();return y()});I(2,"mat-icon",16);P(3," Retention: ");I(4,"retention-text",17);P(5," \u00a0 ");
I(6,"help-hover",18);H();K()}if(a&2){a=N().ngIf;var c=Kf(14);z(4);E("retentionState",a.retentionState);z(2);E("content",c)}},ayb=function(a){a&1&&(J(0),I(1,"retention-help-text",19),K());a&2&&(a=N(2).ngIf,z(1),E("retentionState",a.retentionState)("modifiedTime",a.modifiedTimeMilliseconds))},byb=function(a){a&1&&O(0,ayb,2,2,"ng-container",0);a&2&&(a=N().ngIf,E("ngIf",a.retentionState&&a.modifiedTimeMilliseconds))},cyb=function(a,b){if(a&1){var c=u();J(0);I(1,"b-app-vote-button",1)(2,"hotlist-picker-btn",
2);F(3,"smart-dupe-btn",3,4);L("onHotkey",function(){w(c);var e=Kf(4);return y(IRa(e))});H();F(5,"b-notification-menu",5);L("subscriptionChange",function(e){w(c);var g=N();return y(g.updateSubscription(e))})("showNotificationSettings",function(e){w(c);var g=N();return y(g.showNotificationSettings(e))});H();I(6,"insights-graph-menu-smart",6);F(7,"button",7);I(8,"mat-icon",8);H();F(9,"mat-menu",9,10);O(11,Zxb,3,5,"button",11);O(12,$xb,7,2,"ng-container",0);H();O(13,byb,1,1,"ng-template",null,12,gg);
K()}if(a&2){a=b.ngIf;var d=Kf(10);b=N();z(1);E("issueId",a.issueId)("voteCount",a.voteCount)("upvoted",a.voted);z(1);E("issueId",a.issueId);z(1);E("issueId",a.issueId)("hotkey",b.HOTKEYS.TOGGLE_MARK_AS_DUPLICATE);z(2);E("subscription",a.notificationSubscription)("issueId",a.issueId)("iconOnly",!0);z(1);E("iconOnly",!0);z(1);E("matMenuTriggerFor",d);z(4);E("ngForOf",a.menuItems);z(1);E("ngIf",b.retentionEnabled)}},dyb=function(){},eyb=function(a){a&1&&(F(0,"output"),P(1),R(2,"async"),H());if(a&2){a=
N().ngIf;var b=N();z(1);Nf(" ",a," of ",S(2,2,b.currentSearchResults.totalText$)," ")}},iyb=function(a,b){if(a&1){var c=u();J(0);O(1,eyb,3,4,"output",0);F(2,"span",1)(3,"button",2);L("onHotkey",function(){w(c);var d=N();return y(fyb(d.currentSearchResults))})("click",function(){w(c);var d=N();return y(fyb(d.currentSearchResults))});R(4,"async");I(5,"mat-icon",3);H();F(6,"button",4);L("onHotkey",function(){w(c);var d=N();return y(gyb(d.currentSearchResults))})("click",function(){w(c);var d=N();return y(gyb(d.currentSearchResults))});
R(7,"async");I(8,"mat-icon",5);H()();K()}a&2&&(a=b.ngIf,b=N(),z(1),E("ngIf",-1!==a),z(1),E("ngClass",Rf(10,hyb,-1===a)),z(1),E("hotkey",b.HOTKEYS.GO_TO_PREVIOUS_ISSUE)("disabled",!S(4,6,b.currentSearchResults.hasPreviousIssue$)),z(3),E("hotkey",b.HOTKEYS.GO_TO_NEXT_ISSUE)("disabled",!S(7,8,b.currentSearchResults.hasNextIssue$)))},jyb=function(a){a&1&&I(0,"b-access-level-indicator",6);a&2&&(a=N(2).$implicit,E("accessLevel",a.accessLevel))},kyb=function(a){a&1&&I(0,"b-access-limits-chip",7);a&2&&(a=
N(2).$implicit,E("issueId",a.issueId)("componentId",a.componentId)("accessLimitLevel",a.issueAccessLimitLevel))},lyb=function(a){a&1&&I(0,"b-retention-chip",8);a&2&&(a=N(2).$implicit,E("retentionState",a.retentionState)("compactMode",!1)("modifiedTime",a.modifiedTime))},myb=function(a){a&1&&(F(0,"div",2),O(1,jyb,1,1,"b-access-level-indicator",3),O(2,kyb,1,3,"b-access-limits-chip",4),O(3,lyb,1,3,"b-retention-chip",5),H());a&2&&(a=N().$implicit,z(1),E("ngIf",a.isShowingPublicPartner),z(1),E("ngIf",
a.isAccessLimited),z(1),E("ngIf",a.isShowingRetention))},nyb=function(a,b){a&1&&(J(0),O(1,myb,4,3,"div",1),K());a&2&&(a=b.$implicit,z(1),E("ngIf",a.isShowingPublicPartner||a.isShowingRetention||a.isAccessLimited))},oyb=function(a){a&1&&Cf(0)},pyb=function(a){a&1&&(J(0),O(1,oyb,1,0,"ng-container",23),K());if(a&2){N();var b=Kf(12);z(1);E("ngTemplateOutlet",b)}},qyb=function(a,b){a&1&&I(0,"ancestors-breadcrumbs",30);a&2&&(a=b.ngIf,b=N(3),E("ancestors",a)("issueId",b.issueId))},ryb=function(a){a&1&&(J(0),
I(1,"b-component-breadcrumb-chip",26),R(2,"async"),F(3,"div",27),O(4,qyb,1,2,"ancestors-breadcrumbs",28),R(5,"async"),I(6,"b-issue-id-picker",29),R(7,"async"),R(8,"async"),R(9,"async"),H(),K());a&2&&(a=N(2),z(1),E("componentId",S(2,8,a.componentId$))("compactMode",!0)("issueId",a.issueId),z(3),E("ngIf",S(5,10,a.ancestors$)),z(2),E("issueId",a.issueId)("componentId",S(7,12,a.componentId$))("issueTitle",S(8,14,a.issueTitle$))("isExternalIssue",!!S(9,16,a.isWithinExternalComponent$)))},syb=function(a){if(a&
1){var b=u();F(0,"b-team-chip",24);L("onTeamLoaded",function(){w(b);var c=N();return y(c.isTeamLoaded=!0)});R(1,"async");R(2,"async");H();O(3,ryb,10,18,"ng-container",25)}a&2&&(a=N(),E("componentId",S(1,3,a.componentId$))("teamId",S(2,5,a.teamId$)),z(3),E("ngIf",a.isTeamLoaded))},tyb=function(a){a&1&&(J(0),I(1,"b-component-breadcrumb-chip",31),R(2,"async"),F(3,"div",32),I(4,"b-issue-id-picker",33),R(5,"async"),R(6,"async"),R(7,"async"),H(),K());a&2&&(a=N(2),z(1),E("componentId",S(2,6,a.componentId$))("issueId",
a.issueId),z(3),E("issueId",a.issueId)("componentId",S(5,8,a.componentId$))("issueTitle",S(6,10,a.issueTitle$))("isExternalIssue",!!S(7,12,a.isWithinExternalComponent$)))},uyb=function(a){if(a&1){var b=u();F(0,"b-team-chip",24);L("onTeamLoaded",function(){w(b);var c=N();return y(c.isTeamLoaded=!0)});R(1,"async");R(2,"async");H();O(3,tyb,8,14,"ng-container",25)}a&2&&(a=N(),E("componentId",S(1,3,a.componentId$))("teamId",S(2,5,a.teamId$)),z(3),E("ngIf",a.isTeamLoaded))},vyb=function(a){a&1&&(J(0),P(1),
K());a&2&&(a=N().$implicit,z(1),Lf(" ",a," "))},wyb=function(a,b){a&1&&(F(0,"div",34),I(1,"mat-icon",35),O(2,vyb,2,1,"ng-container",25),H());if(a&2){a=b.$implicit;N();var c=Kf(36);E("onedevHovercardTrigger",c);z(2);E("ngIf",2<=a)}},xyb=function(a){a&1&&(J(0),I(1,"b-list-issues-card",36,37),R(3,"async"),K());if(a&2){var b=Kf(2);a=N();var c=Kf(36);z(1);E("onedevIsHovercardReady",b.init)("hovercardInstance",c)("currentIssueId",a.issueId)("issueIds",S(3,5,a.blockedByids$))("mode",a.ListIssuesHovercardMode.BLOCKED_BY_ISSUES)}},
yyb=function(a){return 1===a?"Blocked":"Blocked by "+a+" issues"},zyb=function(a){if(0!==a.length)return 1===a.length?ms.ISSUE(a[0]):ms.ISSUE_LIST},Ayb=function(a,b){a&1&&(F(0,"div",1),I(1,"img",2),F(2,"h3"),P(3),H(),F(4,"a",3),R(5,"async"),P(6),H()());a&2&&(a=b.$implicit,b=N(),z(1),E("src",null==a.branding?null:a.branding.logoUrl,Ud),z(2),Lf("This issue is a part of the ",a.name," tracker."),z(1),E("href",S(5,4,b.trackerRedirectUrl$),Ud),z(2),Lf(" View in ",a.name," Tracker "))},Byb=function(a){a&
1&&(F(0,"div")(1,"ol")(2,"li")(3,"label"),P(4,"Issue ID"),H(),F(5,"output"),P(6),H()(),F(7,"li")(8,"label"),P(9,"Type"),H(),F(10,"output"),P(11),H()(),F(12,"li")(13,"label"),P(14,"Status"),H(),F(15,"output"),P(16),H()()()());a&2&&(a=N(2),z(6),Mf(a.issueId),z(5),Mf(a.issueType),z(5),Mf(a.issueStatus))},Cyb=function(a){a&1&&(F(0,"div",1)(1,"div",2),I(2,"img",3),R(3,"async"),I(4,"mat-icon",4)(5,"img",3),R(6,"async"),H(),F(7,"h3",5),P(8),R(9,"async"),H(),O(10,Byb,17,3,"div",6),F(11,"div",7)(12,"a",8),
R(13,"async"),P(14,"Continue"),H()()());a&2&&(a=N(),z(2),E("src",S(3,5,a.currentTrackerLogo$),Ud),z(3),E("src",S(6,7,a.trackerLogo$),Ud),z(3),Lf(" Redirecting to ",S(9,9,a.trackerName$)," "),z(2),E("ngIf",null!=a.issue),z(2),E("href",S(13,11,a.trackerRedirectUrl$),Ud))},Dyb=function(a,b){if(a instanceof Element){var c=ui(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)}}},Eyb=function(a,b){a&1&&(F(0,"h2",5),P(1),H());a&2&&(a=b.ngIf,z(1),Lf("Issue ",a,""))},Fyb=function(a){a&1&&I(0,"div")},Gyb=function(a){a&1&&(F(0,"a",19),P(1,"Learn more"),H())},Hyb=function(a){if(a&1){var b=u();F(0,"button",20);L("click",function(){var c=w(b).ngIf,d=N(5);return y(d.editIssueService.unarchive(c))});P(1," Unarchive ");H()}},Iyb=function(a){a&1&&(F(0,"b-callout",16)(1,"b-callout-body"),P(2,"This issue has been archived. "),O(3,Gyb,2,0,"a",17),H(),F(4,"b-callout-actions"),
O(5,Hyb,2,0,"button",18),R(6,"async"),H()());a&2&&(a=N(4),E("messageType","caution")("format","app")("iconOverride","archive_24px"),z(3),E("ngIf",a.activeSession.isInternalSession()),z(2),E("ngIf",S(6,5,a.id$)))},Jyb=function(a){a&1&&(F(0,"a",23),P(1,"Learn more"),H())},Kyb=function(a){a&1&&(F(0,"b-callout",21)(1,"b-callout-body"),P(2," This issue is in an archived component. "),O(3,Jyb,2,0,"a",22),H()());a&2&&(a=N(4),E("format","app")("iconOverride","archive_24px"),z(3),E("ngIf",a.activeSession.isInternalSession()))},
Lyb=function(a,b){a&1&&(J(0),P(1," Reason: "),F(2,"code"),P(3),H(),P(4,". "),K());a&2&&(a=b.$implicit,z(3),Mf(a))},Myb=function(a){a&1&&(F(0,"a",27),P(1,"Learn more"),H())},Oyb=function(a){if(a&1){var b=u();F(0,"button",28);L("click",function(){var d=w(b).ngIf,e=N(5);return y(Nyb(e.editIssueService,d))});R(1,"async");R(2,"async");P(3," Undelete ");H()}if(a&2){a=N(5);var c;E("matTooltip",null!==(c=S(1,2,a.undeleteButtonTooltip$))&&void 0!==c?c:"")("disabled",!S(2,4,a.permissions.canUndeleteIssue$))}},
Pyb=function(a){a&1&&(F(0,"b-callout",24)(1,"b-callout-body"),P(2," This issue has been deleted. "),O(3,Lyb,5,1,"ng-container",6),R(4,"async"),O(5,Myb,2,0,"a",25),H(),F(6,"b-callout-actions"),O(7,Oyb,4,6,"button",26),R(8,"async"),H()());if(a&2){a=N(4);var b;z(3);E("ngIf",null==(b=S(4,3,a.snapshot$))?null:b.deletionReason);z(2);E("ngIf",a.activeSession.isInternalSession());z(2);E("ngIf",S(8,5,a.id$))}},Qyb=function(a,b){a&1&&(F(0,"output",37),P(1),H());a&2&&(a=b.$implicit,z(1),Lf(" ",a," "))},Syb=
function(a,b){a&1&&(F(0,"a",34,35),P(2),O(3,Qyb,2,1,"output",36),R(4,"async"),H());if(a&2){a=b.$implicit;var c=Kf(1);E("routerLink",a.link)("active",c.isActive)("routerLinkActiveOptions",Qf(7,Ryb));z(2);Lf(" ",a.title," ");z(1);E("ngIf",S(4,5,a.count$))}},Tyb=function(a,b){a&1&&(F(0,"header",29),I(1,"b-tracker-banner",30),R(2,"async"),R(3,"async"),I(4,"issue-header",31),F(5,"nav",32),O(6,Syb,5,8,"a",33),H()());a&2&&(a=b.$implicit,b=N(4),z(1),E("issueId",S(2,4,b.id$))("trackerId",S(3,6,b.issueTrackerId$)),
z(3),E("issueId",a),z(2),E("ngForOf",b.tabs))},Uyb=function(a,b){a&1&&I(0,"issue-metadata-sidebar",31);a&2&&E("issueId",b.ngIf)},Vyb=function(a){a&1&&(F(0,"div",8),R(1,"async"),O(2,Iyb,7,7,"b-callout",9),R(3,"async"),O(4,Kyb,4,3,"b-callout",10),R(5,"async"),O(6,Pyb,9,7,"b-callout",11),R(7,"async"),O(8,Tyb,7,8,"header",12),R(9,"async"),F(10,"div",13)(11,"article",14),I(12,"router-outlet"),H(),O(13,Uyb,1,1,"issue-metadata-sidebar",15),R(14,"async"),H()());a&2&&(a=N(3),xf("issue-editor-false",!S(1,7,
a.permissions.hasAclToEdit$)),z(2),E("ngIf",S(3,9,a.archived$)),z(2),E("ngIf",S(5,11,a.inArchivedComponent$)),z(2),E("ngIf",S(7,13,a.deleted$)),z(2),E("ngIf",S(9,15,a.id$)),z(5),E("ngIf",S(14,17,a.id$)))},Wyb=function(a){a&1&&(F(0,"div"),O(1,Vyb,15,19,"div",7),R(2,"async"),H());if(a&2){a=N(2);var b=Kf(7);z(1);E("ngIf",!S(2,2,a.showTrackerRedirect$))("ngIfElse",b)}},Xyb=function(a){a&1&&(O(0,Wyb,3,4,"div",6),R(1,"async"));a&2&&(a=N(),E("ngIf",!S(1,1,a.issue404$)))},Yyb=function(a){a&1&&(F(0,"div",
38),I(1,"b-tracker-redirect",39),R(2,"async"),H());a&2&&(a=N(),z(1),E("issue",S(2,1,a.issue$)))},Zyb=function(a){a&1&&(F(0,"div",38),I(1,"b-access-denied-metadata",40),R(2,"async"),H());a&2&&(a=N(),z(1),E("issueMetadata",S(2,1,a.issueMetadata$)))},$yb=function(a,b){a&1&&(J(0),I(1,"b-issues-table",1),K());a&2&&(a=b.ngIf,b=N(),z(1),E("issueIds",a)("menuItemFactory",b.getMenuItems)("tableColumns",b.tableColumns)("initialSort",b.initialSort))},bzb=function(a){if(a&1){var b=u();F(0,"div",5);I(1,"img",
6);F(2,"p",7);P(3," This issue has no duplicates ");H();F(4,"p",8);P(5," A duplicate is an issue with similar content. ");H();F(6,"p",8);P(7,' Any issue added here will be closed as a duplicate of this one, making this the "canonical issue". ');F(8,"a",9);P(9,"Learn more");H()();F(10,"button",10);L("click",function(){w(b);var c=N(2);return y(azb(c))});P(11," Add ");H()()}a&2&&(a=N(2),z(1),E("src",a.ROBOT_SLEEPING,Ud))},czb=function(a,b){a&1&&I(0,"b-duplicates-table",15);a&2&&(a=b.$implicit,b=N(2).$implicit,
E("issueId",a)("duplicateIds",b))},dzb=function(a,b){a&1&&(J(0),F(1,"a",16),P(2," View as search results "),H(),K());a&2&&(a=b.ngIf,z(1),E("routerLink",a.path)("queryParams",a.params))},ezb=function(a){if(a&1){var b=u();F(0,"h4",11);P(1);R(2,"async");F(3,"button",12);L("click",function(){w(b);var c=N(2);return y(azb(c))});P(4," Add ");H()();O(5,czb,1,2,"b-duplicates-table",13);R(6,"async");F(7,"aside",14);O(8,dzb,3,2,"ng-container",1);R(9,"async");H()}a&2&&(a=N(2),z(1),Lf("Duplicates ",S(2,3,a.counts.countDuplicateDisplay$),
" "),z(4),E("ngIf",S(6,5,a.id$)),z(3),E("ngIf",S(9,7,a.dupeUrl$)))},fzb=function(a){a&1&&(J(0),O(1,bzb,12,1,"div",3),R(2,"async"),O(3,ezb,10,9,"ng-template",null,4,gg),K());if(a&2){var b=Kf(4);a=N();z(1);E("ngIf",!S(2,2,a.showTable$))("ngIfElse",b)}},gzb=function(a){a&1&&(F(0,"aside",17),I(1,"b-spinner"),H())},hzb=function(a,b){a&1&&(F(0,"mat-option",9)(1,"div",10),P(2),H(),F(3,"div",11),P(4),H()());a&2&&(a=b.$implicit,E("value",a),z(2),Mf(a.name),z(2),Mf(a.description))},izb=function(a){if(a&1){var b=
u();F(0,"mat-form-field",6)(1,"mat-select",7);L("valueChange",function(c){w(b);var d=N();return y(d.selectedFilter=c)})("selectionChange",function(c){w(b);var d=N();c=c.value;d.preferences.save({commentFilterPreferences:{commentFilter:c.commentFilterType}}).pipe(af(d.destroyed$)).subscribe();d.analytics.trackEvent(ao.EDIT_ISSUE,"click",c.commentFilterType);return y()});F(2,"mat-select-trigger");P(3);H();O(4,hzb,5,3,"mat-option",8);H()()}a&2&&(a=N(),z(1),E("value",a.selectedFilter),z(2),Mf(null==a.selectedFilter?
null:a.selectedFilter.displayName),z(1),E("ngForOf",a.filters))},jzb=function(a){a&1&&(J(0),I(1,"mat-icon",12),F(2,"span"),P(3,"Oldest first"),H(),K())},kzb=function(a){a&1&&(J(0),I(1,"mat-icon",13),F(2,"span"),P(3,"Newest first"),H(),K())},ozb=function(a){switch(a){case "FULL_HISTORY":return lzb;case "ALL_COMMENTS":return ns;case "HUMAN_ONLY":return mzb;case "TEAM_AND_ASSIGNEE":return nzb;default:return ns}},pzb=function(a){a&1&&(J(0),P(1,", "),I(2,"br"),K())},qzb=function(a){a&1&&(J(0),P(1," reacted"),
K())},rzb=function(a,b){a&1&&(J(0),F(1,"div"),P(2),O(3,pzb,3,0,"ng-container",3),O(4,qzb,2,0,"ng-container",3),R(5,"async"),H(),K());if(a&2){a=b.$implicit;b=b.last;var c=N();z(2);Lf(" ",a,"");z(1);E("ngIf",!b);z(1);E("ngIf",!S(5,3,c.isOverflowReactionCount$)&&b)}},szb=function(a){if(a&1){var b=u();F(0,"span");P(1," and ");F(2,"button",4);L("click",function(){w(b);var c=N();if(c.commentNumber&&c.issueId){var d,e,g=null!=(e=null==(d=on(c.reactionState$))?void 0:d.type)?e:"REACTION_TYPE_UNSPECIFIED";
c.matDialogService.open(ps,{width:"560px",data:{commentNumber:c.commentNumber,issueId:c.issueId,reactionType:g}})}return y()});P(3);R(4,"async");H();P(5," reacted ");H()}a&2&&(a=N(),z(3),Lf(" ",S(4,1,a.overflowReactionCount$)," more "))},tzb=function(a){a&1&&(J(0),P(1),K());a&2&&(a=N(2),z(1),Lf(" by ",li(a.event.lastCommentEditorUser),""))},uzb=function(a){a&1&&(J(0)(1),P(2,"Message last modified"),K(),O(3,tzb,2,1,"ng-container",0),J(4),P(5," on "),I(6,"b-formatted-date-time",1),K()());a&2&&(a=N(),
z(3),E("ngIf",0===a.event.version&&!!a.event.lastCommentEditorUser),z(3),E("timestamp",a.event.commentLastModifiedAtDate))},vzb=function(a){a&1&&I(0,"b-user-email",5);a&2&&(a=N().$implicit,E("email",a.text)("withProfile",!0))},wzb=function(a){a&1&&(F(0,"b-issue-reference-widget",6),J(1),P(2),K(),H());if(a&2){a=N().$implicit;var b=N();E("href",em(a.text))("issueId",b.getIssueId(a));z(2);Mf(a.text)}},xzb=function(a){a&1&&(J(0),P(1),K());a&2&&(a=N().$implicit,z(1),Mf(a.text))},yzb=function(a,b){a&1&&
(J(0)(1,1),O(2,vzb,1,2,"b-user-email",2),O(3,wzb,3,3,"b-issue-reference-widget",3),O(4,xzb,2,1,"ng-container",4),K()());a&2&&(a=b.$implicit,z(1),E("ngSwitch",a.tag),z(1),E("ngSwitchCase","user"),z(1),E("ngSwitchCase","bug"))},zzb=function(a){a&1&&(J(0),I(1,"b-component-card",3,4),K());if(a&2){var b=Kf(2);a=N();z(1);E("onedevIsHovercardReady",b.init)("componentId",a.id)}},Azb=function(a){a&1&&(F(0,"span"),P(1),H());if(a&2){a=N(5);var b;z(1);Mf(null!==(b=a.effortSpecName)&&void 0!==b?b:"Estimated Effort")}},
Bzb=function(a){a&1&&(F(0,"label"),O(1,Azb,2,1,"span",11),P(2,":\u200b "),H());if(a&2){a=N(4);var b=Kf(5);z(1);E("ngIf",a.effortEnabled)("ngIfElse",b)}},Czb=function(a){a&1&&(F(0,"label"),P(1),H());a&2&&(a=N(3).$implicit,z(1),Lf("",a.displayName,":\u200b"))},Dzb=function(a){a&1&&(F(0,"span"),I(1,"b-user-display-name",14),H());a&2&&(a=N().$implicit,z(1),E("email",a)("showEmail",!0))},Ezb=function(a){a&1&&(J(0),I(1,"plain-component-path",15),K());a&2&&(a=N(4).$implicit,z(1),E("id",a.oldValue))},Fzb=
function(a){a&1&&I(0,"b-formatted-date-time",17);if(a&2){a=N(2).$implicit;var b=N(4);E("timestamp",1E3*b.asNumber(a))}},Gzb=function(a){a&1&&(F(0,"span"),P(1,"[Issue creation date]"),H())},Hzb=function(a){a&1&&(F(0,"span"),O(1,Fzb,1,1,"b-formatted-date-time",16),O(2,Gzb,2,0,"span",5),H());a&2&&(a=N().$implicit,z(1),E("ngIf","<none>"!==a),z(1),E("ngIf","<none>"===a))},Izb=function(a){a&1&&I(0,"b-formatted-date-time",17);if(a&2){a=N(2).$implicit;var b=N(4);E("timestamp",1E3*b.asNumber(a))}},Jzb=function(a){a&
1&&(F(0,"span"),P(1,"[Unset]"),H())},Kzb=function(a){a&1&&(F(0,"span"),O(1,Izb,1,1,"b-formatted-date-time",16),O(2,Jzb,2,0,"span",5),H());a&2&&(a=N().$implicit,z(1),E("ngIf","<none>"!==a),z(1),E("ngIf","<none>"===a))},Lzb=function(a){a&1&&(J(0),F(1,"span"),P(2),H(),K());if(a&2){a=N().$implicit;var b=N(4);z(2);Mf(b.getAccessLimitLevel(a))}},Mzb=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N().$implicit,z(1),Mf(a))},Nzb=function(a){a&1&&(J(0),O(1,Dzb,2,2,"span",5),O(2,Ezb,2,1,"ng-container",5),O(3,
Hzb,3,2,"span",5),O(4,Kzb,3,2,"span",5),O(5,Lzb,3,1,"ng-container",5),O(6,Mzb,2,1,"span",5),P(7," \u00a0 "),I(8,"span",13),P(9," \u00a0 "),K());a&2&&(a=N(3).$implicit,z(1),E("ngIf",a.isUser),z(1),E("ngIf","component"===a.name),z(1),E("ngIf","sloStartTime"==a.name),z(1),E("ngIf","sloEndTime"==a.name),z(1),E("ngIf","access_limit"===a.name),z(1),E("ngIf",!a.isUser&&"component"!==a.name&&"sloStartTime"!==a.name&&"sloEndTime"!==a.name&&"access_limit"!==a.name))},Ozb=function(a){a&1&&I(0,"b-user-display-name",
14);a&2&&(a=N().$implicit,E("email",a)("showEmail",!0))},Pzb=function(a){a&1&&(F(0,"span"),I(1,"plain-component-path",15),H());a&2&&(a=N(4).$implicit,z(1),E("id",a.newValue))},Qzb=function(a){a&1&&I(0,"b-formatted-date-time",17);if(a&2){a=N(2).$implicit;var b=N(4);E("timestamp",1E3*b.asNumber(a))}},Rzb=function(a){a&1&&(F(0,"span"),P(1,"[Issue creation date]"),H())},Szb=function(a){a&1&&(F(0,"span"),O(1,Qzb,1,1,"b-formatted-date-time",16),O(2,Rzb,2,0,"span",5),H());a&2&&(a=N().$implicit,z(1),E("ngIf",
"<none>"!==a),z(1),E("ngIf","<none>"===a))},Tzb=function(a){a&1&&I(0,"b-formatted-date-time",17);if(a&2){a=N(2).$implicit;var b=N(4);E("timestamp",1E3*b.asNumber(a))}},Uzb=function(a){a&1&&(F(0,"span"),P(1,"[Unset]"),H())},Vzb=function(a){a&1&&(F(0,"span"),O(1,Tzb,1,1,"b-formatted-date-time",16),O(2,Uzb,2,0,"span",5),H());a&2&&(a=N().$implicit,z(1),E("ngIf","<none>"!==a),z(1),E("ngIf","<none>"===a))},Wzb=function(a){a&1&&(J(0),F(1,"span"),P(2),H(),K());if(a&2){a=N().$implicit;var b=N(4);z(2);Mf(b.getAccessLimitLevel(a))}},
Yzb=function(a){a&1&&(F(0,"span",20),P(1),H());if(a&2){a=N().$implicit;var b=N(3).$implicit;E("ngClass",Rf(2,Xzb,b.oldValue&&"title"==b.name));z(1);Mf(a)}},Zzb=function(a){a&1&&(J(0),O(1,Ozb,1,2,"b-user-display-name",18),O(2,Pzb,2,1,"span",5),O(3,Szb,3,2,"span",5),O(4,Vzb,3,2,"span",5),O(5,Wzb,3,1,"ng-container",5),O(6,Yzb,2,4,"span",19),K());a&2&&(a=N(3).$implicit,z(1),E("ngIf",a.isUser),z(1),E("ngIf","component"===a.name),z(1),E("ngIf","sloStartTime"===a.name),z(1),E("ngIf","sloEndTime"===a.name),
z(1),E("ngIf","access_limit"===a.name),z(1),E("ngIf",!a.isUser&&"component"!=a.name&&"sloStartTime"!=a.name&&"sloEndTime"!=a.name&&"access_limit"!=a.name))},$zb=function(a){a&1&&(F(0,"div",10),O(1,Bzb,3,2,"label",11),O(2,Czb,2,1,"ng-template",null,12,gg),O(4,Nzb,10,6,"ng-container",5),O(5,Zzb,7,6,"ng-container",5),H());if(a&2){var b=Kf(3);a=N(2).$implicit;z(1);E("ngIf","effort"===a.name)("ngIfElse",b);z(3);E("ngIf",a.oldValue);z(1);E("ngIf",a.newValue)}},aAb=function(a){a&1&&(F(0,"span"),P(1,", "),
H())},bAb=function(a,b){a&1&&(F(0,"span"),I(1,"b-user-display-name",14),O(2,aAb,2,0,"span",5),H());a&2&&(a=b.$implicit,b=b.last,z(1),E("email",a)("showEmail",!0),z(1),E("ngIf",!b))},cAb=function(a){a&1&&(F(0,"span"),O(1,bAb,3,3,"span",21),H());a&2&&(a=N(4).$implicit,z(1),E("ngForOf",a.added))},dAb=function(a){a&1&&(F(0,"span"),P(1,", "),H())},eAb=function(a,b){a&1&&(F(0,"span")(1,"span"),P(2),H(),O(3,dAb,2,0,"span",5),H());a&2&&(a=b.$implicit,b=b.last,z(2),Mf(a),z(1),E("ngIf",!b))},fAb=function(a){a&
1&&(F(0,"span"),O(1,eAb,4,2,"span",21),H());a&2&&(a=N(4).$implicit,z(1),E("ngForOf",a.added))},gAb=function(a){a&1&&(F(0,"div")(1,"label"),P(2),H(),O(3,cAb,2,1,"span",5),O(4,fAb,2,1,"span",5),H());a&2&&(a=N(3).$implicit,z(2),Lf("+",a.displayName,":\u200b"),z(1),E("ngIf",a.isUser),z(1),E("ngIf",!a.isUser))},hAb=function(a){a&1&&(F(0,"span"),P(1,", "),H())},iAb=function(a,b){a&1&&(F(0,"span"),I(1,"b-user-display-name",14),O(2,hAb,2,0,"span",5),H());a&2&&(a=b.$implicit,b=b.last,z(1),E("email",a)("showEmail",
!0),z(1),E("ngIf",!b))},jAb=function(a){a&1&&(F(0,"span"),O(1,iAb,3,3,"span",21),H());a&2&&(a=N(4).$implicit,z(1),E("ngForOf",a.removed))},kAb=function(a){a&1&&(F(0,"span"),P(1,", "),H())},lAb=function(a,b){a&1&&(F(0,"span")(1,"span"),P(2),H(),O(3,kAb,2,0,"span",5),H());a&2&&(a=b.$implicit,b=b.last,z(2),Mf(a),z(1),E("ngIf",!b))},mAb=function(a){a&1&&(F(0,"span"),O(1,lAb,4,2,"span",21),H());a&2&&(a=N(4).$implicit,z(1),E("ngForOf",a.removed))},nAb=function(a){a&1&&(F(0,"div")(1,"label"),P(2),H(),O(3,
jAb,2,1,"span",5),O(4,mAb,2,1,"span",5),H());a&2&&(a=N(3).$implicit,z(2),Lf("-",a.displayName,":\u200b"),z(1),E("ngIf",a.isUser),z(1),E("ngIf",!a.isUser))},oAb=function(a){a&1&&(F(0,"div",10),O(1,gAb,5,3,"div",5),O(2,nAb,5,3,"div",5),H());if(a&2){a=N(2).$implicit;var b=N();z(1);E("ngIf",a.added&&a.added.length&&b.isStringArray(a.added));z(1);E("ngIf",a.removed&&a.removed.length&&b.isStringArray(a.removed))}},pAb=function(a){a&1&&Cf(0)},rAb=function(a,b){a&1&&(F(0,"span"),O(1,pAb,1,0,"ng-container",
22),H());if(a&2){a=b.$implicit;b=b.last;var c=N(4).$implicit;N();var d=Kf(3);z(1);E("ngTemplateOutlet",d)("ngTemplateOutletContext",Tf(qAb,c,a,b))}},sAb=function(a){a&1&&(F(0,"div")(1,"label"),P(2),H(),O(3,rAb,2,6,"span",21),H());a&2&&(a=N(3).$implicit,z(2),Lf("+",a.displayName,":\u200b"),z(1),E("ngForOf",a.added))},tAb=function(a){a&1&&Cf(0)},uAb=function(a,b){a&1&&(F(0,"span"),O(1,tAb,1,0,"ng-container",22),H());if(a&2){a=b.$implicit;b=b.last;var c=N(4).$implicit;N();var d=Kf(3);z(1);E("ngTemplateOutlet",
d)("ngTemplateOutletContext",Tf(qAb,c,a,b))}},vAb=function(a){a&1&&(F(0,"div")(1,"label"),P(2),H(),O(3,uAb,2,6,"span",21),H());a&2&&(a=N(3).$implicit,z(2),Lf("-",a.displayName,":\u200b"),z(1),E("ngForOf",a.removed))},wAb=function(a){a&1&&(F(0,"div",10),O(1,sAb,4,2,"div",5),O(2,vAb,4,2,"div",5),H());if(a&2){a=N(2).$implicit;var b=N();z(1);E("ngIf",a.added&&a.added.length&&b.isLinkedItemArray(a.added));z(1);E("ngIf",a.removed&&a.removed.length&&b.isLinkedItemArray(a.removed))}},xAb=function(a){a&1&&
I(0,"b-formatted-date-time",17);a&2&&(a=N().$implicit,E("timestamp",a))},yAb=function(a){a&1&&(F(0,"span"),P(1," - "),H())},zAb=function(a,b){a&1&&(F(0,"span"),I(1,"b-formatted-date-time",17),O(2,yAb,2,0,"span",5),H());a&2&&(a=b.$implicit,b=b.last,z(1),E("timestamp",a),z(1),E("ngIf",!b))},AAb=function(a){a&1&&(F(0,"span"),O(1,zAb,3,2,"span",21),H());a&2&&(a=N(4).$implicit,z(1),E("ngForOf",a.oldValue.split(", ")))},BAb=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N().$implicit,z(1),Mf(a))},EAb=
function(a){a&1&&(J(0),O(1,xAb,1,1,"b-formatted-date-time",16),O(2,AAb,2,1,"span",5),O(3,BAb,2,1,"span",5),P(4," \u00a0 "),I(5,"span",13),P(6," \u00a0 "),K());if(a&2){a=N(3).$implicit;var b=N();z(1);E("ngIf",CAb(b,a,"oldValue"));z(1);E("ngIf",DAb(b,a,"oldValue"));z(1);E("ngIf",!CAb(b,a,"oldValue")&&!DAb(b,a,"oldValue"))}},FAb=function(a){a&1&&I(0,"b-formatted-date-time",17);a&2&&(a=N().$implicit,E("timestamp",a))},GAb=function(a){a&1&&(F(0,"span"),P(1," - "),H())},HAb=function(a,b){a&1&&(F(0,"span"),
I(1,"b-formatted-date-time",17),O(2,GAb,2,0,"span",5),H());a&2&&(a=b.$implicit,b=b.last,z(1),E("timestamp",a),z(1),E("ngIf",!b))},IAb=function(a){a&1&&(F(0,"span"),O(1,HAb,3,2,"span",21),H());a&2&&(a=N(4).$implicit,z(1),E("ngForOf",a.newValue.split(", ")))},JAb=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N().$implicit,z(1),Mf(a))},KAb=function(a){a&1&&(J(0),O(1,FAb,1,1,"b-formatted-date-time",16),O(2,IAb,2,1,"span",5),O(3,JAb,2,1,"span",5),K());if(a&2){a=N(3).$implicit;var b=N();z(1);E("ngIf",
CAb(b,a,"newValue"));z(1);E("ngIf",DAb(b,a,"newValue"));z(1);E("ngIf",!CAb(b,a,"newValue")&&!DAb(b,a,"newValue"))}},LAb=function(a){a&1&&(F(0,"div",10)(1,"label"),P(2),H(),O(3,EAb,7,3,"ng-container",5),O(4,KAb,4,3,"ng-container",5),H());if(a&2){a=N(2).$implicit;var b=N();z(1);of("title",b.customFieldName(a));z(1);Lf("",b.customFieldName(a),":\u200b");z(1);E("ngIf",a.oldValue);z(1);E("ngIf",a.newValue)}},MAb=function(a){a&1&&(F(0,"span",26),P(1,"Updated"),H())},NAb=function(a){a&1&&(F(0,"span"),P(1,
"Deleted"),H())},OAb=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N().$implicit,z(1),Lf("Edited (unknown status '",a.status,"')"))},PAb=function(a,b){a&1&&(J(0)(1,7),O(2,MAb,2,0,"span",23),O(3,NAb,2,0,"span",24),O(4,OAb,2,1,"span",25),K()());a&2&&(a=b.$implicit,z(1),E("ngSwitch",a.status),z(1),E("ngSwitchCase","ACTIVE"),z(1),E("ngSwitchCase","DELETED"))},QAb=function(a){a&1&&(F(0,"div",10)(1,"label"),P(2),H(),O(3,PAb,5,3,"ng-container",5),H());a&2&&(a=N(2).$implicit,z(2),Lf("",a.displayName,":\u200b"),
z(1),E("ngIf",null==a.statusUpdateDiff?null:a.statusUpdateDiff.entityStatus))},RAb=function(a){a&1&&(F(0,"div",10)(1,"label"),P(2),H(),F(3,"pre",27),P(4),R(5,"json"),H()());a&2&&(a=N(2).$implicit,z(2),Lf("",a.displayName,":\u200b"),z(2),Mf(S(5,2,a)))},SAb=function(a){a&1&&(J(0),I(1,"b-formatted-date-time",6),J(2,7),O(3,$zb,6,4,"div",8),O(4,oAb,3,2,"div",8),O(5,wAb,3,2,"div",8),O(6,LAb,5,4,"div",8),O(7,QAb,4,2,"div",8),O(8,RAb,6,4,"div",9),K()());a&2&&(a=N().$implicit,z(1),E("timestamp",a.timestamp),
z(1),E("ngSwitch",!0),z(1),E("ngSwitchCase","SINGLE_VALUE"===a.type),z(1),E("ngSwitchCase","COLLECTION"===a.type||"USER_COLLECTION"===a.type),z(1),E("ngSwitchCase","LINKED_COLLECTION"===a.type),z(1),E("ngSwitchCase","CUSTOM_FIELD"===a.type),z(1),E("ngSwitchCase","STATUS_UPDATE"===a.type))},TAb=function(a,b){a&1&&(F(0,"div",4),O(1,SAb,9,7,"ng-container",5),H());a&2&&(a=b.$implicit,b=N(),z(1),E("ngIf","sloStartTime"===(null==a?void 0:a.name)||"sloEndTime"===(null==a?void 0:a.name)?b.activeSession.isInternalSession():
!0))},UAb=function(a){a&1&&(F(0,"span"),P(1,", "),H())},VAb=function(a){a&1&&(F(0,"span")(1,"b-issue-reference-widget",29),P(2),H(),O(3,UAb,2,0,"span",5),H());if(a&2){a=N().$implicit;var b=N(),c=b.change;b=b.isLast;z(1);E("href",c.href)("issueId",a);z(1);Mf(a);z(1);E("ngIf",!b)}},WAb=function(a){a&1&&(F(0,"span"),P(1,", "),H())},XAb=function(a){a&1&&(J(0),I(1,"hotlist-link",15),O(2,WAb,2,0,"span",5),K());if(a&2){a=N(2).$implicit;var b=N().isLast;z(1);E("id",a);z(1);E("ngIf",!b)}},YAb=function(a){a&
1&&(F(0,"span"),P(1,", "),H())},ZAb=function(a){a&1&&(F(0,"a",31),P(1),H(),O(2,YAb,2,0,"span",5));if(a&2){a=N(2).$implicit;var b=N(),c=b.isLast;E("href",b.change.href,Ud);z(1);Mf(a);z(1);E("ngIf",!c)}},$Ab=function(a){a&1&&(O(0,XAb,3,2,"ng-container",11),O(1,ZAb,3,3,"ng-template",null,30,gg));if(a&2){var b=Kf(2);a=N(2).diff;var c=N();E("ngIf",c.isHotlistDiff(a))("ngIfElse",b)}},aBb=function(a){a&1&&(J(0),O(1,VAb,4,4,"span",11),O(2,$Ab,3,2,"ng-template",null,28,gg),K());if(a&2){var b=Kf(3);a=N().diff;
var c=N();z(1);E("ngIf",c.isIssueDiff(a))("ngIfElse",b)}},bBb=function(a,b){a&1&&O(0,aBb,4,2,"ng-container",5);a&2&&E("ngIf",b.change.value)},cBb=function(a){a&1&&(F(0,"span"),P(1,"Estimated Effort (disabled)"),H())},dBb=function(a,b){a&1&&(I(0,"b-user-membership-chip",29),R(1,"async"));if(a&2){a=b.ngIf;b=N(2);var c;E("user",b.event.userPerformingActionUser)("email",a)("teamId",null!==(c=S(1,3,b.teamId$))&&void 0!==c?c:"")}},eBb=function(a){a&1&&I(0,"b-user-display",30);a&2&&(a=N(2),E("model",a.event.userPerformingActionUser))},
fBb=function(a){a&1&&Cf(0)},gBb=function(a){a&1&&(J(0),F(1,"span",31),O(2,fBb,1,0,"ng-container",32),H(),F(3,"onedev-hovercard",null,33),I(5,"b-issue-person-card",34),H(),K());if(a&2){var b=Kf(4);N();var c=Kf(11);a=N();z(1);E("onedevHovercardTrigger",b);z(1);E("ngTemplateOutlet",c);z(3);E("email",a.getUserEmailIfAvailable())}},hBb=function(a){a&1&&(F(0,"span",35),P(1),H());a&2&&(a=N(2),z(1),Lf(" <",li(a.event.userPerformingActionUser),"> "))},iBb=function(a){if(a&1){var b=u();F(0,"span")(1,"a",36);
L("click",function(c){w(b);var d=N(2);return y(d.scrollCommentIntoView(c,d.event.commentNumber))});P(2);H()()}a&2&&(a=N(2),z(1),E("routerLinkObj",a.getCommentNumberLink(a.event.commentNumber)),of("aria-label","Comment number"+a.event.commentNumber),z(1),Lf(" #",a.event.commentNumber,""))},jBb=function(a){if(a&1){var b=u();F(0,"button",37);L("click",function(){w(b);var c=N(2);return y(qs(c.issueCommentDialogsService,c.issueId,c.deobfuscatedEvent||c.event))});H()}},kBb=function(a){a&1&&I(0,"b-restricted-chip",
38);if(a&2){a=N(2);var b,c;E("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)}},mBb=function(a){a&1&&(I(0,"b-actions-menu",39,40),R(2,"async"));if(a&2){a=N(2);var b;E("buttonLabel","Comment actions")("menuItems",null!==(b=S(2,2,a.commentActionMenuItems$))&&void 0!==b?b:Qf(4,lBb))}},nBb=function(a){a&1&&(F(0,"div",41),I(1,"b-tagged-text",42),H());a&2&&(a=N(2),z(1),E("texts",
a.event.taggedSummary))},oBb=function(a){a&1&&(I(0,"b-issue-event-details",43),R(1,"async"),R(2,"async"),R(3,"async"));if(a&2){a=N().ngIf;var b=N(),c,d;E("diffs",null!==(c=S(1,4,b.preEventDiffs$))&&void 0!==c?c:Qf(10,lBb))("customFieldMap",a.customFieldMap)("effortSpecName",null==(d=S(2,6,b.effortSpec$))?null:d.name)("effortEnabled",!!S(3,8,b.isEffortEnabled$))}},pBb=function(a){a&1&&(F(0,"div",44),P(1," Comment has been deleted. "),H())},qBb=function(a){if(a&1){var b=u();F(0,"b-restricted-comment-placeholder",
45);L("onConfirm",function(){w(b);var c=N(2);return y(c.loadRestrictedComment())});R(1,"async");H()}a&2&&(a=N(2),E("disabled",!S(1,1,a.mayReadPii$)))},rBb=function(a){a&1&&I(0,"b-note-container",46);a&2&&(a=N(2),E("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},sBb=function(a){if(a&1){var b=u();J(0);I(1,"b-summarized-note-container",46);F(2,"button",47);L("click",function(){w(b);var c=N(2);c.wasSummarized=!0;c.isSummarized=
!c.isSummarized;return y()});I(3,"mat-icon",48);P(4,"Expand details");H();K()}a&2&&(a=N(2),z(1),E("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},tBb=function(a){if(a&1){var b=u();J(0);F(1,"button",47);L("click",function(){w(b);var c=N(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return y()});I(2,"mat-icon",49);P(3,"Collapse details");H();K()}},uBb=function(a){a&1&&I(0,"b-formatted-date-time",50);a&2&&(a=
N(2),E("timestamp",a.event.modifiedDate))},vBb=function(a){a&1&&I(0,"mat-icon",58)},wBb=function(a){a&1&&I(0,"mat-icon",59)},xBb=function(a,b){a&1&&(F(0,"span"),P(1),H());a&2&&(a=b.ngIf,z(1),Mf(a))},yBb=function(a){a&1&&I(0,"b-comment-reaction-responders-card",60);a&2&&(a=N(3),E("reactionState",null==a.event.commentReactions?null:a.event.commentReactions.get(a.ReactionType.UPVOTE))("issueId",a.issueId)("commentNumber",a.event.commentNumber))},DBb=function(a){if(a&1){var b=u();F(0,"div",51)(1,"button",
52,53);L("click",function(){w(b);var d=N(2);return y(zBb(d))});R(3,"async");R(4,"async");R(5,"async");O(6,vBb,1,0,"mat-icon",54);O(7,wBb,1,0,"mat-icon",55);O(8,xBb,2,1,"span",0);R(9,"async");H();F(10,"onedev-hovercard",null,56);O(12,yBb,1,3,"b-comment-reaction-responders-card",57);R(13,"async");H()()}if(a&2){var c=Kf(11);a=N(2);z(1);E("ariaLabel",ABb(a,a.ReactionType.UPVOTE))("ngClass",Rf(20,BBb,S(3,10,a.noUpvoteReactions$)))("onedevHovercardTrigger",c)("onedevHovercardConfig",a.commentReactionsHovercardConfig)("onedevHovercardActive",
!!S(5,14,a.showCommentReactionHovercard$));of("aria-disabled",!S(4,12,a.hasAclToUpvoteReact$)||a.commentReactionIsSaving);z(5);E("ngIf",!CBb(a,a.ReactionType.UPVOTE));z(1);E("ngIf",CBb(a,a.ReactionType.UPVOTE));z(1);E("ngIf",S(9,16,a.upvoteReactionCountDisplayString$));z(4);E("ngIf",!S(13,18,a.noUpvoteReactions$))}},EBb=function(a){if(a&1){var b=u();F(0,"a",64);L("click",function(){w(b);var c=N(3);return y(c.showCommentHistoryDialog(c.event.commentNumber))});P(1," Show History ");H()}},FBb=function(a){a&
1&&(F(0,"div",61),I(1,"b-comment-edit-timestamp-message",62),O(2,EBb,2,0,"a",63),H());a&2&&(a=N(2),z(1),E("event",a.event),z(1),E("ngIf",a.commentHistoryEnabled))},GBb=function(a){a&1&&(I(0,"b-issue-event-details",43),R(1,"async"),R(2,"async"),R(3,"async"));if(a&2){a=N().ngIf;var b=N(),c,d;E("diffs",null!==(c=S(1,4,b.postEventDiffs$))&&void 0!==c?c:Qf(10,lBb))("customFieldMap",a.customFieldMap)("effortSpecName",null==(d=S(2,6,b.effortSpec$))?null:d.name)("effortEnabled",!!S(3,8,b.isEffortEnabled$))}},
HBb=function(a,b){a&1&&(F(0,"div",67),I(1,"b-attachment-viewer",68),H());a&2&&(a=b.$implicit,b=N(3),Hf("id","attachment",a.attachmentId,""),z(1),E("issueId",b.issueId)("attachment",a)("attachmentUploader",b.getUserEmailIfAvailable()))},IBb=function(a){a&1&&(F(0,"div",65),O(1,HBb,2,4,"div",66),H());a&2&&(a=N(2),z(1),E("ngForOf",a.event.attachments))},KBb=function(a){a&1&&(J(0),F(1,"div",1),I(2,"b-user-image",2),H(),F(3,"div",3)(4,"h4",4),R(5,"async"),O(6,dBb,2,5,"b-user-membership-chip",5),O(7,eBb,
1,1,"ng-template",null,6,gg),O(9,gBb,6,3,"ng-container",7),O(10,hBb,2,1,"ng-template",null,8,gg),O(12,iBb,3,3,"span",0),O(13,jBb,1,0,"button",9),R(14,"async"),F(15,"span",10),O(16,kBb,1,3,"b-restricted-chip",11),I(17,"b-formatted-date-time",12),O(18,mBb,3,5,"b-actions-menu",13),H()(),I(19,"div",14),O(20,nBb,2,1,"div",15),O(21,oBb,4,11,"b-issue-event-details",16),R(22,"async"),I(23,"div",14),F(24,"div",17)(25,"div",18),O(26,pBb,2,0,"div",19),O(27,qBb,2,3,"b-restricted-comment-placeholder",20),F(28,
"div",21),O(29,rBb,1,4,"b-note-container",22),O(30,sBb,5,4,"ng-container",0),O(31,tBb,4,0,"ng-container",0),H(),F(32,"div",23)(33,"div",24),O(34,uBb,1,1,"b-formatted-date-time",25),R(35,"async"),H(),O(36,DBb,14,22,"div",26),H()(),O(37,FBb,3,2,"div",27),H(),O(38,GBb,4,11,"b-issue-event-details",16),R(39,"async"),I(40,"div",14),O(41,IBb,2,1,"div",28),I(42,"div",14),H(),K());if(a&2){var b=Kf(8),c=Kf(11);a=N();z(2);E("email",a.getUserEmailIfAvailable());z(2);of("aria-label",S(5,23,a.ariaLabelHeading$));
z(2);E("ngIf",a.enableTeamAnnotations&&a.getUserEmailIfAvailable())("ngIfElse",b);z(3);E("ngIf",a.isNonObfuscatedEmail(a.getUserEmailIfAvailable()))("ngIfElse",c);z(3);E("ngIf",a.isCommentEvent(a.event));z(1);E("ngIf",S(14,25,a.canEditComment$)&&!rs(a));z(3);E("ngIf",a.isRestricted());z(1);E("timestamp",a.event.modifiedDate);z(1);E("ngIf",a.isCommentEvent(a.event));z(2);E("ngIf",a.event.taggedSummary&&a.event.taggedSummary.length);z(1);E("ngIf","FULL_HISTORY"===S(22,27,a.showFullHistoryFromFiltering$));
z(5);E("ngIf",a.isDeleted());z(1);E("ngIf",rs(a)&&!a.isDeleted());z(2);E("ngIf",JBb(a)&&!rs(a)&&!a.isDeleted()&&!a.isSummarized);z(1);E("ngIf",JBb(a)&&!rs(a)&&!a.isDeleted()&&a.isSummarized);z(1);E("ngIf",a.wasSummarized&&!a.isSummarized);z(3);E("ngIf",S(35,29,a.isShowingCommentTimestamp$));z(2);var d,e=a.ReactionType.UPVOTE,g,h=!a.issuePermissionService.hasAclToComment()&&0===(null==(d=a.event.commentReactions)?void 0:null==(g=d.get(e))?void 0:g.count);d=a.isInternalSession&&a.commentReactionsEnabled&&
JBb(a)&&!a.isDeleted()&&!rs(a)&&!h;E("ngIf",d);z(1);E("ngIf",a.isCommentEvent(a.event)&&0<(a.event.commentVersion||0)&&!rs(a));z(1);E("ngIf","FULL_HISTORY"===S(39,31,a.showFullHistoryFromFiltering$));z(3);E("ngIf",null==a.event?null:null==a.event.attachments?null:a.event.attachments.length)}},LBb=function(a){a&1&&(F(0,"aside",3),I(1,"b-spinner"),H())},MBb=function(a){a&1&&(J(0),P(1,"s"),K())},NBb=function(a){if(a&1){var b=u();J(0);F(1,"div",6)(2,"button",7);L("click",function(){w(b);var g=N().index,
h=N(),l,q,v=null!=(q=null==(l=h.foldedCommentsCounts.get(g))?void 0:l.eventFoldedCount)?q:0;for(l=0;l<v&&((Fl(h.internalEvents[g-l])||Gl(h.internalEvents[g-l]))&&h.eventDisplayMode.set(g-l,"full"),0!==g-l);l++);h.foldedCommentsCounts.delete(g);return y()});P(3);O(4,MBb,2,0,"ng-container",4);H();I(5,"div",8);H();K()}if(a&2){a=N().index;var c=N(),d,e;z(3);Lf(" ",null==(d=c.foldedCommentsCounts.get(a))?null:d.commentFoldedCount," update");z(1);E("ngIf",1<(null!==(e=null==(e=c.foldedCommentsCounts.get(a))?
null:e.commentFoldedCount)&&void 0!==e?e:1))}},OBb=function(a){a&1&&(F(0,"div",9),I(1,"b-history-event",10),H());if(a&2){var b=N();a=b.$implicit;b=b.index;var c=N();z(1);E("issueId",c.internalIssueId)("issueAccessLevel",c.issueAccessLevel)("event",a)("isSummarized",c.eventDisplayMode.get(b)===c.eventDisplayModes.SUMMARIZED)}},QBb=function(a,b){a&1&&(J(0),O(1,NBb,6,2,"ng-container",4),O(2,OBb,2,4,"div",5),K());if(a&2){a=b.$implicit;b=b.index;var c=N(),d;z(1);E("ngIf",c.enableCommentFiltering&&c.foldedCommentsCounts.has(b)&&
0<(null!==(d=null==(d=c.foldedCommentsCounts.get(b))?null:d.commentFoldedCount)&&void 0!==d?d:0));z(1);if(d=c.internalIssueId)if(c.enableCommentFiltering)d=PBb(c.eventDisplayMode.get(b));else{var e,g;d=(c.showFullHistory||a.isMajorEvent)&&(Fl(a)&&!!a.unlinkifiedComment||Gl(a)||0<(null==(e=a.preDiffs)?void 0:e.length)||0<(null==(g=a.postDiffs)?void 0:g.length))}E("ngIf",d)}},RBb=function(a){a&1&&(F(0,"aside",3),I(1,"b-spinner"),H())},SBb=function(a){if(a&1){var b=u();F(0,"div",12)(1,"b-recaptcha",
13);L("onUpdate",function(c){w(b);var d=N(4);return y(d.recaptchaResponse$.next(c))});H()()}},UBb=function(a){if(a&1){var b=u();F(0,"span")(1,"mat-checkbox",14);L("change",function(){w(b);var c=N(4);return y(TBb(c))});R(2,"async");R(3,"async");P(4," CC Me ");H()()}a&2&&(a=N(4),z(1),E("checked",!!S(2,2,a.autoCcOnComment$))("disabled",!!S(3,4,a.isCurrentUserCCd$)))},VBb=function(a){a&1&&(F(0,"mat-checkbox",17),P(1," CC Me "),H());a&2&&E("checked",!0)("disabled",!0)},WBb=function(a){a&1&&(F(0,"span",
15),O(1,VBb,2,2,"mat-checkbox",16),R(2,"async"),H());a&2&&(a=N(4),z(1),E("ngIf",S(2,1,a.isCurrentUserCCd$)))},XBb=function(a){if(a&1){var b=u();F(0,"b-markdown-toggle",18);L("change",function(c){w(b);var d=N().ngIf;return y(d.formattingMode=c)});H()}a&2&&(a=N().ngIf,E("initialValue",a.formattingMode))},ZBb=function(a,b){if(a&1){var c=u();J(0);F(1,"b-comment-box",3,4);L("onHotkey",function(){w(c);var l=Kf(2);return y(YBb(l,"editpage-hotkey"))})("onChange",function(){w(c);var l=N(3);return y(l.saveCommentDraft())})("onFocusEvent",
function(){w(c);var l=N(3);return y(l.wasFocused=!0)})("onSubmit",function(){w(c);var l=N(3);return y(l.submitCommentBox())})("onRestrict",function(){w(c);var l=N(3);return y(l.showNewContentJudgementDialog())})("onPlusOneTextEntered",function(l){w(c);var q=N(3);q.commentButtonStyle=q.isPlusOneCalloutEnabled()&&l?"hairline":"fill";return y()});R(3,"async");R(4,"async");R(5,"async");R(6,"async");O(7,SBb,2,0,"div",5);R(8,"async");F(9,"div",6)(10,"b-button",7);L("onAction",function(){w(c);var l=N(3);
return y(l.submitCommentBox())})("click",function(){w(c);var l=N(3);return y(l.submitCommentBox())});R(11,"async");P(12," Comment ");H();F(13,"div",8);O(14,UBb,5,6,"span",0);R(15,"async");R(16,"async");O(17,WBb,3,3,"span",9);R(18,"async");R(19,"async");O(20,XBb,1,1,"b-markdown-toggle",10);R(21,"async");H();I(22,"b-access-level-indicator",11);R(23,"async");H()();K()}if(a&2){a=b.ngIf;b=N(2).ngIf;var d=N(),e,g,h;z(1);E("hotkey",d.HOTKEYS.FOCUS_COMMENT_BOX)("supportsPreview",!0)("issueId",b.issueId)("comment",
a)("componentId",b.componentId)("placeholder",null!==(e=S(3,17,d.commentPlaceholderText$))&&void 0!==e?e:void 0)("judgementForNewContent",null!==(g=S(4,19,d.judgementForNewContent$))&&void 0!==g?g:void 0)("audience",null!==(h=S(5,21,d.audience$))&&void 0!==h?h:void 0)("disabled",!1===S(6,23,d.commentBoxEnabled$))("isPlusOneCalloutEnabled",d.isPlusOneCalloutEnabled());z(6);E("ngIf",S(8,25,d.showRecaptcha$));z(3);E("format",d.commentButtonStyle)("disabled",!1===S(11,27,d.commentButtonEnabled$));z(4);
E("ngIf",!S(15,29,d.isCurrentUserCCd$)&&S(16,31,d.hasAclToEdit$));z(3);E("ngIf",S(18,33,d.isCurrentUserCCd$)||!S(19,35,d.hasAclToEdit$));z(3);E("ngIf",S(21,37,d.hasAclToComment$));z(2);E("accessLevel",S(23,39,d.accessLevel$))}},aCb=function(a){a&1&&(J(0),F(1,"h3",1),P(2,"Add comment"),H(),F(3,"div",2),R(4,"async"),O(5,ZBb,24,41,"ng-container",0),R(6,"async"),H(),K());a&2&&(a=N(2),z(3),E("ngClass",Sf(6,$Bb,S(4,2,a.empty$),!a.wasFocused)),z(2),E("ngIf",S(6,4,a.comment$)))},bCb=function(a,b){a&1&&(J(0),
O(1,aCb,7,9,"ng-container",0),K());a&2&&(a=b.ngIf,z(1),E("ngIf",!a.isDeleted))},cCb=function(a,b){a&1&&(I(0,"b-note-container",25),R(1,"async"));if(a&2){a=b.ngIf;b=N().ngIf;var c=N();E("issueId",b)("issueAccessLevel",S(1,4,c.canonicalAccessLevel$))("formattingMode",a.formattingMode)("note",a)}},dCb=function(a,b){a&1&&(F(0,"div",26),P(1),H());a&2&&(a=b.ngIf,b=N(2),Af("chippy status-",a,""),E("title",b.STATUS_FULL_TEXT[a]),z(1),Lf(" ",b.STATUS_TERSE[a]," "))},eCb=function(a,b){a&1&&(J(0),I(1,"span",
27),F(2,"span",28),P(3),H(),K());a&2&&(a=b.ngIf,z(3),Nf(" ",a.length," duplicate",1===a.length?"":"s"," "))},fCb=function(a,b){a&1&&(J(0),I(1,"span",27),F(2,"div",29)(3,"span",30),P(4),H(),I(5,"mat-icon",31),H(),K());a&2&&(a=b.ngIf,z(2),Hf("matTooltip","",a.voteCount," votes on this issue"),z(2),Mf(9999<a.voteCount?"9999+":a.voteCount))},gCb=function(a,b){a&1&&(J(0),I(1,"span",27),F(2,"div",32)(3,"span",30),P(4),H(),I(5,"mat-icon",33),H(),K());a&2&&(a=b.ngIf,z(2),Hf("matTooltip","",a.length," comments on this issue"),
z(2),Mf(a.length))},hCb=function(a,b){a&1&&(J(0),I(1,"span",27)(2,"b-formatted-date-time",34),K());a&2&&(a=b.ngIf,z(2),E("timestamp",a/1E3))},iCb=function(a,b){if(a&1){var c=u();F(0,"button",35);L("click",function(){var d=w(c).$implicit;N();var e=Kf(31);N().reject(d);var g;null==(g=e.trigger)||g.close();return y()});F(1,"span");P(2);H()()}a&2&&(a=b.$implicit,b=N(2),z(2),Mf(b.REJECT_REASON_TO_DISPLAY[a]))},kCb=function(a,b){if(a&1){var c=u();F(0,"div",5)(1,"div",6)(2,"a",7)(3,"span",8);P(4);R(5,"async");
H();I(6,"mat-icon",9);H();O(7,cCb,2,6,"b-note-container",10);R(8,"async");F(9,"div",11);I(10,"b-issue-id-picker",12);R(11,"async");R(12,"async");R(13,"async");I(14,"b-issue-priority-display",13);R(15,"async");O(16,dCb,2,5,"div",14);R(17,"async");O(18,eCb,4,2,"ng-container",15);R(19,"async");O(20,fCb,6,2,"ng-container",15);R(21,"async");O(22,gCb,6,2,"ng-container",15);R(23,"async");O(24,hCb,3,1,"ng-container",15);R(25,"async");H()();F(26,"div",16)(27,"button",17);L("click",function(){w(c);var d=N();
return y(d.accept())});I(28,"mat-icon",18);P(29," Accept ");H();F(30,"split-button",19,20)(32,"button",21);L("click",function(){w(c);var d=N();return y(d.reject())});I(33,"mat-icon",22);P(34," Reject ");H();F(35,"div",23);O(36,iCb,3,1,"button",24);H()()()()}a&2&&(a=b.ngIf,b=N(),z(2),E("href",b.getIssueLink(a),Ud),z(2),Mf(S(5,18,b.canonicalTitle$)),z(3),E("ngIf",S(8,20,b.canonicalDescription$)),z(3),E("issueId",a)("enableHotkeys",!1)("componentId",S(11,22,b.canonicalComponentId$))("issueTitle",S(12,
24,b.canonicalTitle$))("isExternalIssue",!!S(13,26,b.isCanonicalInExternalComponent$)),z(4),E("issuePriority",S(15,28,b.canonicalPriority$)),z(2),E("ngIf",S(17,30,b.statusForChip$)),z(2),E("ngIf",S(19,32,b.canonicalDuplicates$)),z(2),E("ngIf",Rf(40,jCb,S(21,34,b.canonicalVoteCount$)||0)),z(2),E("ngIf",S(23,36,b.canonicalComments$)),z(2),E("ngIf",S(25,38,b.canonicalCreateMicros$)),z(3),E("disabled",b.isSaving),z(3),E("disabled",b.isSaving),z(2),E("disabled",b.isSaving),z(4),E("ngForOf",b.REJECT_REASONS))},
lCb=function(a){a&1&&(I(0,"canonical-recommendation",9,10),R(2,"async"));if(a&2){var b=Kf(1);a=N().$implicit;xf("hidden",!S(2,3,b.show$));E("currentIssueId",a)}},mCb=function(a){if(a&1){var b=u();F(0,"button",17);L("click",function(){w(b);var c=N(3);return y(c.userRequestedSummary=!0)});P(1," Generate ");H()}},nCb=function(a,b){a&1&&(J(0),F(1,"p",19),P(2),H(),F(3,"div",20)(4,"button",21),P(5," Accept "),H(),F(6,"button",21),P(7," Reject "),H()(),K());a&2&&(a=b.ngIf,z(2),Mf(a))},oCb=function(a){a&
1&&(J(0),O(1,nCb,8,1,"ng-container",18),R(2,"async"),K());if(a&2){N();var b=Kf(8);a=N(2);z(1);E("ngIf",S(2,2,a.commentThreadSummary$))("ngIfElse",b)}},pCb=function(a){a&1&&I(0,"b-spinner")},qCb=function(a){a&1&&(F(0,"div",11),I(1,"mat-icon",12),F(2,"div",13)(3,"h4",14),P(4," ML-generated summary "),H(),O(5,mCb,2,0,"button",15),O(6,oCb,3,4,"ng-container",1),O(7,pCb,1,0,"ng-template",null,16,gg),H()());a&2&&(a=N(2),z(5),E("ngIf",!a.userRequestedSummary),z(1),E("ngIf",a.userRequestedSummary))},rCb=function(a,
b){a&1&&(J(0),I(1,"issue-description-area",4),O(2,lCb,3,5,"canonical-recommendation",5),R(3,"async"),I(4,"status-update",6),O(5,qCb,9,2,"div",7),I(6,"b-issue-description",8),K());a&2&&(a=b.$implicit,b=N(),z(1),E("id",a),z(1),E("ngIf",b.enableIDPCanonicalRecommendation&&S(3,5,b.issuePermissionService.hasAclToEdit$)),z(2),E("issueId",a),z(1),E("ngIf",b.enableLamdaDemo),z(1),E("id",a))},sCb=function(a,b){a&1&&(I(0,"issue-summary-card",22,23),R(2,"async"));if(a&2){a=b.$implicit;var c=Kf(1);xf("hidden",
!S(2,3,c.shouldShowSummaryCard$));E("issueId",a)}},tCb=function(a){a&1&&I(0,"issue-event-list",26);a&2&&(a=N().$implicit,E("id",a))},uCb=function(a){a&1&&I(0,"issue-event-list",26);a&2&&(a=N().$implicit,E("id",a))},vCb=function(a,b){a&1&&(F(0,"div",24),I(1,"b-event-stream-header"),O(2,tCb,1,1,"issue-event-list",25),I(3,"b-post-comment",6),O(4,uCb,1,1,"issue-event-list",25),H());a&2&&(a=b.$implicit,b=N(),xf("recent-first",b.showRecentEventsFirst),z(2),E("ngIf",!b.showRecentEventsFirst),z(1),E("issueId",
a),z(1),E("ngIf",b.showRecentEventsFirst))},wCb=function(a){a&1&&(F(0,"section")(1,"h4"),I(2,"mat-icon",2),P(3),H(),I(4,"inline-images-summary",3)(5,"br")(6,"hr",4),H());if(a&2){a=N(2).ngIf;var b=N().ngIf;z(3);Lf(" Screenshots (",a.length,") ");z(1);E("issueId",b.issueId)("imageLinks",a)("paginate",!0)}},xCb=function(a){a&1&&(J(0),O(1,wCb,7,4,"section",1),K());a&2&&(a=N().ngIf,z(1),E("ngIf",a.length))},yCb=function(a){a&1&&(J(0),O(1,xCb,2,1,"ng-container",1),K());a&2&&(a=N(2),z(1),E("ngIf",a.isInternalSession))},
zCb=function(a){a&1&&(F(0,"section")(1,"h4"),I(2,"mat-icon",5),P(3),H(),I(4,"b-mentioned-issues",6)(5,"br")(6,"hr",4),H());if(a&2){a=N().ngIf;var b=N().ngIf;z(3);Lf(" Mentioned issues (",a.length,") ");z(1);E("issueReferences",a)("currentIssueId",b.issueId)("paginate",!0)}},ACb=function(a,b){a&1&&(J(0),O(1,zCb,7,4,"section",1),K());a&2&&(a=b.ngIf,z(1),E("ngIf",a.length))},BCb=function(a){a&1&&(F(0,"section")(1,"h4"),I(2,"mat-icon",7),P(3),H(),I(4,"related-links-widget",8),H());if(a&2){a=N().ngIf;
var b=N().ngIf;z(3);Lf(" Links (",a.length,") ");z(1);E("links",a)("issueId",b.issueId)("paginate",!0)}},CCb=function(a,b){a&1&&(J(0),O(1,BCb,5,4,"section",1),K());a&2&&(a=b.ngIf,z(1),E("ngIf",a.length))},DCb=function(a){a&1&&(J(0),O(1,yCb,2,1,"ng-container",1),R(2,"async"),O(3,ACb,2,1,"ng-container",1),R(4,"async"),O(5,CCb,2,1,"ng-container",1),R(6,"async"),K());a&2&&(a=N(),z(1),E("ngIf",S(2,3,a.imageLinks$)),z(2),E("ngIf",S(4,5,a.issueReferences$)),z(2),E("ngIf",S(6,7,a.otherLinks$)))},ECb=function(a){a&
1&&(F(0,"div",4),I(1,"img",5),F(2,"p",6),P(3," This issue has no TODOs "),H(),F(4,"p",7),P(5," Buganizer uses a separate service to look for TODOs in the codebase. It didn't find any. "),F(6,"a",8),P(7,"Learn more"),H()()());a&2&&(a=N(3),z(1),E("src",a.ROBOT_SLEEPING,Ud))},FCb=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();E("issueId",c)("packageMentionSet",a)("displayPackageName",d.displayPackageNames(b))}},GCb=function(a){if(a&1){var b=
u();J(0);O(1,FCb,1,3,"b-package-mentions-listing",9);F(2,"p",10)(3,"a",11);L("click",function(){w(b);var c=N(4);return y(c.trackSqueegeeClick())});P(4,"View in Squeegee");H()();K()}a&2&&(a=N(2).ngIf,z(1),E("ngForOf",a.mentions.packageMentionSet),z(2),E("href",a.link,Ud))},HCb=function(a){a&1&&O(0,GCb,5,2,"ng-container",1);a&2&&(a=N().ngIf,E("ngIf",a.mentions))},ICb=function(a,b){a&1&&(J(0),O(1,ECb,8,1,"div",2),O(2,HCb,1,1,"ng-template",null,3,gg),K());if(a&2){a=b.ngIf;var c=Kf(3);N(2);z(1);E("ngIf",
!(a.mentions&&0<a.mentions.totalMentions))("ngIfElse",c)}},JCb=function(a){a&1&&(J(0),O(1,ICb,4,2,"ng-container",1),R(2,"async"),K());a&2&&(a=N(),z(1),E("ngIf",S(2,1,a.codeMentionsState$)))},KCb=function(a){a&1&&I(0,"b-spinner",6);a&2&&E("large",!0)},LCb=function(a){a&1&&I(0,"b-hotlist-grid",7);a&2&&(a=N(),E("hotlists",a.hotlists))},MCb=function(a){a&1&&(F(0,"div",9),I(1,"b-spinner"),F(2,"span"),P(3),H()());a&2&&(a=N(),z(3),Lf(" Searching",a.query?" for "+a.query:"","..."))},NCb=function(a){a&1&&
(J(0),P(1," No issues match your search. "),K())},OCb=function(a){a&1&&P(0," Use search box to find issues. ")},QCb=function(a){a&1&&(F(0,"a",16),P(1," Click to see all open issues"),H());a&2&&E("queryParams",Qf(1,PCb))},RCb=function(a){a&1&&(F(0,"a",17),P(1,"Learn more about searching"),H())},SCb=function(a){a&1&&(F(0,"div",10),I(1,"img",11),O(2,NCb,2,0,"ng-container",12),O(3,OCb,1,0,"ng-template",null,13,gg),O(5,QCb,2,2,"a",14),R(6,"async"),O(7,RCb,2,0,"ng-template",null,15,gg),H());if(a&2){var b=
Kf(4),c=Kf(8);a=N();var d;E("bFocus",!0);z(1);E("src",a.SPACE_EMPTY_STATE,Ud);z(1);E("ngIf",a.query)("ngIfElse",b);z(3);E("ngIf",null!==(d=S(6,6,a.currentTracker.inTracker$))&&void 0!==d?d:!1)("ngIfElse",c)}},UCb=function(a){if(a&1){var b=u();F(0,"div",18)(1,"b-issues-grid",19);L("init",function(c){w(b);var d=N();return y(d.resultsGrid=c)})("columnsChange",function(c){w(b);var d=N();return y(d.issueColumns=c)})("columnsChange",function(){w(b);N();TCb();return y()})("sortChange",function(c){w(b);var d=
N();return y(d.setSort(c.field,c.direction))})("rowClick",function(c){w(b);var d=N();return y(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){w(b);var c=N();return y(ss(c,c.page,1))})("onPrevPage",function(){w(b);var c=N();return y(ss(c,c.page,-1))});H()()}a&2&&(a=N(),z(1),E("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},VCb=function(a){a&1&&(F(0,"div",
9),I(1,"b-spinner"),P(2," Loading recent issues... "),H())},WCb=function(a){a&1&&(F(0,"div",10),P(1," No recent issues found. "),H())},XCb=function(a){if(a&1){var b=u();F(0,"div",11)(1,"b-issues-grid",12);L("init",function(c){w(b);var d=N();return y(d.resultsGrid=c)})("columnsChange",function(c){w(b);var d=N();return y(d.issueColumns=c)})("sortChange",function(c){w(b);var d=N();return y(d.setSort(c.field,c.direction))})("rowClick",function(c){w(b);var d=N();return y(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",
function(){w(b);var c=N(),d;return y(c.goToPage((null!==(d=c.page)&&void 0!==d?d:0)+1))})("onPrevPage",function(){w(b);var c=N(),d;return y(c.goToPage((null!==(d=c.page)&&void 0!==d?d:0)-1))});H()()}a&2&&(a=N(),z(1),E("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},YCb=function(a,b){return b.map(function(c){var d=a.indexOf(String(c.id));return[a.length-d,c]}).sort(function(c,d){var e=
k(c);c=e.next().value;e.next();d=k(d);e=d.next().value;d.next();return c-e}).map(function(c){c=k(c);c.next();return c.next().value})},ZCb=function(a){a&1&&(F(0,"div",6)(1,"h2"),P(2,"Manage SLOs"),H(),F(3,"p",7),P(4,"You have admin rights for all SLOs listed below."),H()())},$Cb=function(a){a&1&&I(0,"b-spinner",8);a&2&&E("large",!0)},bDb=function(a){a&1&&(F(0,"div",11),P(1,"You have no Active SLOs"),H())},cDb=function(a){a&1&&I(0,"b-slo-grid",12);a&2&&(a=N(2),E("slos",a.activeSlos))},dDb=function(a){a&
1&&(J(0),O(1,bDb,2,0,"div",9),O(2,cDb,1,1,"b-slo-grid",10),K());a&2&&(a=N(),z(1),E("ngIf",!a.activeSlos.length),z(1),E("ngIf",a.activeSlos.length))},eDb=function(a){a&1&&(F(0,"p",19),P(1," You have no archived SLOs. "),H())},fDb=function(a){a&1&&I(0,"b-slo-grid",12);a&2&&(a=N(3),E("slos",a.archivedSlos))},gDb=function(a){a&1&&(F(0,"div",17),O(1,eDb,2,0,"p",18),O(2,fDb,1,1,"b-slo-grid",10),H());a&2&&(a=N(2),z(1),E("ngIf",!a.archivedSlos.length),z(1),E("ngIf",a.archivedSlos.length))},hDb=function(a){if(a&
1){var b=u();J(0);F(1,"button",13);L("click",function(){w(b);var c=N();c.areArchivedSlosExpanded=!c.areArchivedSlosExpanded;return y()});F(2,"h4",14);I(3,"mat-icon",15);P(4);H()();O(5,gDb,3,2,"div",16);K()}a&2&&(a=N(),z(3),xf("rotate-180",a.areArchivedSlosExpanded),E("svgIcon","arrow-dropdown"),z(1),Lf(" Archived SLOs (",a.archivedSlos.length,") "),z(1),E("ngIf",a.areArchivedSlosExpanded))},iDb=function(a){a&1&&(J(0),F(1,"p"),P(2,"Team inheritance path:"),H(),I(3,"b-team-breadcrumb",1),K());a&2&&
(a=N(),z(3),E("teamPath",a.teamPath))},jDb=function(a){a&1&&(J(0),F(1,"p"),P(2,"Component inheritance path:"),H(),I(3,"b-component-breadcrumb",2),K());a&2&&(a=N(),z(3),E("componentPathInfo",a.componentPath))},lDb=function(a){if(a&1){var b=u();J(0);F(1,"span",5);P(2," Data in this component is not being collected. ");F(3,"button",6);L("click",function(){w(b);var c=N(2);return y(kDb(c))});F(4,"span",7);P(5,"Opt into");H()();P(6," data collection to enable ML features in this component. ");F(7,"a",8);
P(8,"Learn more");H();P(9,". ");H();K()}a&2&&(a=N(2),z(3),E("disabled",!a.isAdmin),z(1),E("matTooltip",a.isAdmin?"":"Only component admins can opt in."),z(3),E("href",a.helpLink,Ud))},nDb=function(a){if(a&1){var b=u();F(0,"span",5);P(1," Buganizer collects data in this component to improve ML features. ");F(2,"a",8);P(3,"Learn more");H();P(4," or ");F(5,"button",6);L("click",function(){w(b);var c=N(2);return y(mDb(c))});F(6,"span",7);P(7,"opt out");H()();P(8,". ");H()}a&2&&(a=N(2),z(2),E("href",a.helpLink,
Ud),z(3),E("disabled",!a.isAdmin),z(1),E("matTooltip",a.isAdmin?"":"Only component admins can opt out."))},pDb=function(a){if(a&1){var b=u();F(0,"div",1)(1,"h4");P(2,"ML Features");H();O(3,lDb,10,3,"ng-container",2);O(4,nDb,9,3,"ng-template",null,3,gg);F(6,"mat-slide-toggle",4);L("change",function(d){w(b);N().setDraft({duplicateAssistanceEnabled:d.checked});return y()});R(7,"async");P(8," Show ML-suggested duplicates for issues ");H()()}if(a&2){var c=Kf(5);a=N();z(3);E("ngIf",null==a.savedSettings?
null:a.savedSettings.optedOutFromDataCollection)("ngIfElse",c);z(3);E("disabled",S(7,5,a.isSaving$)||!a.draftSettings||!a.isAdmin||a.draftSettings.optedOutFromDataCollection)("checked",null==a.draftSettings?null:a.draftSettings.duplicateAssistanceEnabled)("matTooltip",oDb(a))}},qDb=function(a){var b={};a=k(a.groupMetadata);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.groupEmail]=c;return b},tDb=function(a){return{approximateSize:qj(a,2),groupEmail:U(a,1),sizeCategory:rDb[Zi(a,3,0)],permissionCategory:sDb[Zi(a,
5,0)]}},vDb=function(a){var b;return{groupMetadata:(null!=(b=kj(a,uDb,1))?b:[]).map(tDb)}},xDb=function(a,b){var c=[];if(!b||!a)return c;for(var d=k(wDb),e=d.next();!e.done;e=d.next()){e=e.value;var g=ei(e.accessor(b)||[],e.accessor(a)||[]);g.length&&c.push({field:e.field,addedPrincipals:g})}return c},zDb=function(a,b){if(!a.appenders||!b||Xh(b.appenders,a.appenders))return!1;a=k(a.appenders||[]);for(var c=a.next();!c.done;c=a.next())if(c=c.value,yDb.has(c)&&!b.appenders.includes(c))return!0;return!1},
ADb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.sizeCategory){case "LARGE":case "HUGE":case "ENORMOUS":b.set(c.groupEmail,c)}return b},BDb=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"},CDb=function(a){if(0===a.size)return ts;
for(var b=1===a.size?An("P",{},"The following large group is added: "):An("P",{},"The following large groups are added: "),c=[],d=k(a.keys()),e=d.next();!e.done;e=d.next()){e=e.value;var g=a.get(e).approximateSize;c.push(An("P",{},Bn(An("B",{},e)," has approximately ",An("B",{},g)," Googlers.")))}return Bn(b,c)},DDb=function(a){if(0===a.size)return ts;var b=1===a.size?An("P",{},"The following open group is added: "):An("P",{},"The following open groups are added: "),c=[];a=k(a.keys());for(var d=a.next();!d.done;d=
a.next())c.push(An("P",{},An("B",{},d.value)));return Bn(b,c)},EDb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,"OPEN_TO_JOIN"===c.permissionCategory&&b.set(c.groupEmail,c);return b},FDb=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},GDb=function(a,b,c){a="USER:"+a;b=b.admins.concat(b.inheritedAdmins);var d=c.admins.concat(c.inheritedAdmins);
c=b.filter(function(g){return!d.includes(g)});b=c.filter(function(g){return g.startsWith("GROUP:")});var e=c.filter(function(g){return g.startsWith("USER:")});return d.includes(a)||0===c.length?!1:e.includes(a)?!0:b.length?!0:!1},us=function(a){var b=a.split(":");a=b[0];return"ALIAS"===a?(b=b[1],{value:b,displayText:yqa(b),principalType:a,detailedUserType:null}):{value:b[1],displayText:b[1],principalType:a,detailedUserType:null}},HDb=function(a,b){a&1&&I(0,"b-contact-chip",6);a&2&&(a=b.$implicit,
b=N(2),E("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},IDb=function(a,b){a&1&&(J(0),F(1,"tr",3)(2,"th",4),P(3),H(),F(4,"td"),O(5,HDb,1,5,"b-contact-chip",5),H()(),K());a&2&&(a=b.$implicit,z(3),Mf(a.permission),z(2),E("ngForOf",a.principals))},MDb=function(a){var b="minimal";b=void 0===b?"expanded":b;a=JDb(a);a=nAa(a,function(c){c=KDb(c);return LDb(c,b)});return JDb(a)},ODb=function(a){a=JDb(a);a=
nAa(a,function(b){b=NDb(b);return KDb(b)});return JDb(a)},LDb=function(a,b){var c="expanded"===b?PDb:QDb;return new Set([].concat(cd(a)).flatMap(function(d){return[].concat(cd(c.get(d)))}))},NDb=function(a){return new Set(vs.filter(function(b){return cqa(a,QDb.get(b))}))},KDb=function(a){a=LDb(a,"expanded");var b=NDb(a);return new Set([].concat(cd(b)).filter(function(c){return[].concat(cd(RDb.get(c))).every(function(d){return!b.has(d)})}))},JDb=function(a){var b=new Map;a=k(a.entries());for(var c=
a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;d=k(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;var g=void 0;b.set(e,(null!=(g=b.get(e))?g:new Set).add(c))}}return b},TDb=function(){function a(g,h){c.has(g)||c.set(g,new Set);var l=c.get(g);l.add(h);var q;h=k(null!=(q=b.get(h))?q:[]);for(q=h.next();!q.done;q=h.next())q=q.value,l.has(q)||a(g,q)}var b=SDb,c=new Map,d=[].concat(cd(b.values())).flatMap(function(g){return[].concat(cd(g))});d=k(new Set([].concat(cd(b.keys()),
cd(d))));for(var e=d.next();!e.done;e=d.next())e=e.value,a(e,e);return c},UDb=function(a){var b=MDb(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(cd(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")}}},VDb=function(a){var b=a.componentAccessPolicy;a=a.issueAccessPolicy;return Al([].concat(cd(b?[].concat(cd(b.inheritedAdmins||[]),cd(b.admins||[]),cd(b.appenders||[])):[]),cd(a?[].concat(cd(a.admins||[]),cd(a.editors||[]),cd(a.appenders||[]),cd(a.readers||[]),cd(a.restrictedReaders||[]),cd(a.restrictedPlusReaders||[])):[]))).sort()},XDb=function(a){function b(e){var g;return[].concat(cd(null!=(g=d.get(e))?g:[])).sort()}if(!a)return WDb;var c=
a.issueAccessPolicy;a=a.componentAccessPolicy;var d=ODb(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}},YDb=function(a,b){var c;(c=!b)||(c=!(!Xh([].concat(cd(b.admins)).sort(),[].concat(cd(a.admins)).sort())||
!Xh([].concat(cd(b.appenders)).sort(),[].concat(cd(a.appenders)).sort())||!Xh(b.implicitAccess,a.implicitAccess)));return!c},ZDb=function(a,b){return b&&a?!Xh([].concat(cd(a.admins)).sort(),[].concat(cd(b.admins)).sort())||!Xh([].concat(cd(a.editors)).sort(),[].concat(cd(b.editors)).sort())||!Xh([].concat(cd(a.appenders)).sort(),[].concat(cd(b.appenders)).sort())||!Xh([].concat(cd(a.readers)).sort(),[].concat(cd(b.readers)).sort())||!Xh([].concat(cd(a.restrictedReaders)).sort(),[].concat(cd(b.restrictedReaders)).sort())||
!Xh([].concat(cd(a.restrictedPlusReaders)).sort(),[].concat(cd(b.restrictedPlusReaders)).sort()):!1},$Db=function(a,b){var c=Object.keys(a);c=k(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!Eua(a[d],b[d]))return!0;return!1},aEb=function(a){if(a&1){var b=u();F(0,"input",17);L("ngModelChange",function(c){w(b);var d=N(2);return y(d.rolesEditor.component.accessLimit.accessLevel=c)});H()}a&2&&(a=N(2),E("disabled",!a.rolesEditor.isAdmin)("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},
bEb=function(a){if(a&1){var b=u();F(0,"input",18);L("ngModelChange",function(c){w(b);var d=N(2);return y(d.rolesEditor.component.accessLimit.accessLevel=c)});H()}a&2&&(a=N(2),E("disabled",!a.rolesEditor.isAdmin||!a.isParentPartner())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},cEb=function(a){if(a&1){var b=u();F(0,"input",19);L("ngModelChange",function(c){w(b);var d=N(2);return y(d.rolesEditor.component.accessLimit.accessLevel=c)});H()}a&2&&(a=N(2),E("disabled",!a.rolesEditor.isAdmin||
!a.isParentPublic())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},dEb=function(a){a&1&&(F(0,"div",3)(1,"div",4)(2,"span",5),P(3,"Component visibility: "),H()(),F(4,"div",6)(5,"div",7),O(6,aEb,1,2,"input",8),F(7,"label",9),P(8),H()(),F(9,"div",7),O(10,bEb,1,2,"input",10),F(11,"label",11),P(12),H()(),F(13,"div",12),O(14,cEb,1,2,"input",13),F(15,"label",14),P(16),H()()(),F(17,"p",15)(18,"a",16),P(19," Learn more "),H()()());a&2&&(a=N(),z(6),E("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),
z(2),Lf(" ",b7a(a.AccessLevelStrings.INTERNAL)," "),z(2),E("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),z(2),Lf(" ",b7a(a.AccessLevelStrings.EXTERNAL_PARTNER)," "),z(2),E("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),z(2),Lf(" ",b7a(a.AccessLevelStrings.EXTERNAL_PUBLIC)," "),z(2),a=a.documentationLinks,a=a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/external-access":"http://go/buganizer-external-access",E("href",a,Ud))},iEb=function(a,
b){if(a&1){var c=u();J(0);F(1,"tr")(2,"td")(3,"div",2)(4,"div",3)(5,"label",4);P(6);H();F(7,"button",5);I(8,"mat-icon",6);H()();F(9,"b-multi-user-input",7);L("usersChange",function(e){var g=w(c).$implicit,h=N();return y(h.updateRolesMap(g.roleType,e))})("isValid",function(e){var g=w(c).$implicit,h=N();h.aclFormValidity.set(g.roleType,e);e=[].concat(cd(h.aclFormValidity.values())).every(Boolean);h.formIsValid.emit(e);return y()});H()()();F(10,"td");I(11,"b-icon",8);H();F(12,"td");I(13,"b-icon",8);
H();F(14,"td");I(15,"b-icon",8);H();F(16,"td");I(17,"b-icon",8);H();F(18,"td");I(19,"b-icon",8);H();F(20,"td");I(21,"b-icon",8);H();F(22,"td");I(23,"b-icon",8);H();F(24,"td");I(25,"b-icon",8);H()();K()}if(a&2){a=b.$implicit;b=N();var d;z(3);xf("bv2-edit-resource-readonly",b.canEdit);z(2);E("htmlFor",a.roleType);z(1);Mf(a.label);z(1);E("matTooltip",a.tooltip);z(2);E("idForInputBox",a.roleType)("users",a.users)("ariaLabel",a.ariaLabel)("accessLevel",b.accessLevel)("customValidators",null!==(d=a.customValidators)&&
void 0!==d?d:Qf(22,eEb))("includeAliases",a.includeAliases)("includeViewAliases",a.includeViewAliases)("containerChips",(null==a.chips?0:a.chips.values)&&0<a.chips.values.length?Rf(26,fEb,Sf(23,gEb,a.chips.displayText,a.chips.values)):Qf(28,hEb));of("disabled",b.canEdit?null:!0);z(2);E("name",b.getIconName(a,"componentAdmin"));z(2);E("name",b.getIconName(a,"createIssues"));z(2);E("name",b.getIconName(a,"issueAdmin"));z(2);E("name",b.getIconName(a,"issueEditor"));z(2);E("name",b.getIconName(a,"issueCommenter"));
z(2);E("name",b.getIconName(a,"issueReader"));z(2);E("name",b.getIconName(a,"restrictedReader"));z(2);E("name",b.getIconName(a,"restrictedPlusReader"))}},jEb=function(a){a&1&&(F(0,"div",1)(1,"p"),P(2," Your component is only using advanced roles. Simplify your component\u2019s role assignment by moving some users to standard roles. "),F(3,"a",2),P(4,"Learn more"),H()()());a&2&&(a=N(),z(3),Hf("href","",$n(a.documentationLinks),"#role-based-permissions",Ud))},kEb=function(a){a&1&&(F(0,"div",2),I(1,
"b-spinner"),H())},mEb=function(a){if(a&1){var b=u();F(0,"div")(1,"div",3)(2,"mat-tab-group")(3,"mat-tab",4)(4,"roles-view",5);L("saveRolesMap",function(c){w(b);var d=N();lEb(d.rolesEditor,c);return y()});H()();F(5,"mat-tab",6);I(6,"permissions-view",7);H()()()()}a&2&&(a=N(),z(4),E("rolesMap",a.rolesEditor.rolesMap)("isSaving",a.isSaving())("component",a.rolesEditor.component)("rolesEditor",a.rolesEditor),z(2),E("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))},oEb=function(a){if(a&1){var b=u();F(0,"b-button",14,15);L("onAction",function(){w(b);var c=N(3);return y(nEb(c))});P(2);H()}a&2&&(a=N(3),E("disabled",a.isSaving()),z(2),Lf(" ",a.archiveAction," Component "))},pEb=function(a){if(a&1){var b=u();F(0,"b-button",16);L("onAction",function(){w(b);var c=N(3);return y(c.createIssue())});
P(1," Create Issue ");H()}a&2&&(a=N(3),E("tooltip",a.isArchived()?"Cannot create issue in archived component":"")("disabled",a.isArchived()))},qEb=function(a){a&1&&(J(0),F(1,"a",11),P(2," Browse Components "),H(),O(3,oEb,3,2,"b-button",12),O(4,pEb,2,2,"b-button",13),K());a&2&&(a=N(2),z(1),E("routerLinkObj",a.componentListRoute(a.component.componentId)),z(2),E("ngIf",a.isAdmin()),z(1),E("ngIf",!a.isAnonymous))},rEb=function(a){a&1&&(F(0,"div",17),I(1,"b-spinner"),H())},sEb=function(a){a&1&&(F(0,"span",
38),P(1," (archived) "),H())},tEb=function(a){a&1&&Cf(0)},uEb=function(a){a&1&&Cf(0)},vEb=function(a){a&1&&Cf(0)},wEb=function(a){a&1&&Cf(0)},xEb=function(a){a&1&&Cf(0)},zEb=function(a){if(a&1){var b=u();F(0,"div",78)(1,"div",48)(2,"label",79)(3,"span",45);P(4,"Parent Component");H()();F(5,"span",50)(6,"div",80)(7,"strong");P(8,"Careful!");H();P(9," Moving this component can have significant consequences. If this component has custom fields that are defined on the parent or ancestor components, those fields will be lost, and issues in this component will no longer display those fields. ");
F(10,"div",52);I(11,"div",53)(12,"div",54);H()()()();F(13,"b-team-component-picker",81);L("selectedComponentChange",function(c){w(b);var d=N(4);return y(d.parentComponent=null!==c&&void 0!==c?c:null)});H()()}a&2&&(a=N(4),z(2),xf("required",a.isParentComponentRequired&&!yEb(a)),z(11),E("selectedComponent",a.parentComponent)("placeholder","Choose Component")("isRequired",a.isParentComponentRequired&&!yEb(a)))},AEb=function(a){a&1&&(F(0,"a",82),P(1," Learn more "),H());a&2&&(N(4),E("href",Qsb(),Ud))},
BEb=function(a){if(a&1){var b=u();F(0,"div",83)(1,"label",84)(2,"span",45);P(3,"Retention Settings");H()();F(4,"div",85)(5,"p");P(6,"Please choose a period of time to retain the data stored in this component.");I(7,"br");F(8,"a",86);P(9," Learn more ");H()()();F(10,"div",87)(11,"b-retention-settings-form",88);L("modelChange",function(c){w(b);var d=N(4);return y(d.component.retentionSettings=c)})("validChange",function(c){w(b);N(4).retentionIsValid=c;return y()});H()()()}a&2&&(a=N(4),xf("bv2-edit-resource-readonly",
!a.isAdmin()),z(8),E("href",ws(),Ud),z(3),E("issueRetentionDisabled",a.isAccessEditDisabled())("isExternal",a.isExternal())("initialModel",a.component.retentionSettings))},DEb=function(a){if(a&1){var b=u();F(0,"div",92)(1,"b-component-team-picker",93);L("modelChange",function(c){w(b);var d=N(5);d.component.team=c;d.componentTeam$.next(d.component.team);d.component.slo.inherit&&CEb(d);return y()});H()()}a&2&&(a=N(5),z(1),If("anchorTarget",a.hasUnsavedChanges()?"_blank":"_self"),E("isAdmin",a.isAdmin())("isTopLevel",
!a.isParentComponentRequired)("parentModel",null==a.parentComponent?null:a.parentComponent.team)("useInternalLink",!0)("model",a.component.team))},EEb=function(a){a&1&&(F(0,"div",89)(1,"label",90)(2,"span",45),P(3,"Team Configuration"),H()(),O(4,DEb,2,6,"div",91),H());a&2&&(a=N(4),xf("bv2-edit-resource-readonly",!a.isAdmin()),z(4),E("ngIf",a.component.team))},FEb=function(a){a&1&&(F(0,"a",106),P(1),H());if(a&2){a=N().ngIf;var b=N(5),c;E("routerLinkObj",b.getSloManagementLink(a.id));z(1);Lf(" ",null!==
(c=null==a.slo?null:a.slo.name)&&void 0!==c?c:a.id," ")}},GEb=function(a){a&1&&P(0," None ")},HEb=function(a,b){a&1&&(F(0,"div",103),P(1," Inherited SLO Policy: "),O(2,FEb,2,2,"a",104),O(3,GEb,1,0,"ng-template",null,105,gg),H());if(a&2){a=b.ngIf;var c=Kf(4);z(2);E("ngIf","0"!==a.id)("ngIfElse",c)}},IEb=function(a){a&1&&(F(0,"a",111),P(1),R(2,"titlecase"),H());a&2&&(a=N().ngIf,E("routerLinkObj",a.link),z(1),Nf(" (",S(2,3,a.type),") ",a.name," "))},JEb=function(a){a&1&&P(0," None ")},KEb=function(a){a&
1&&(F(0,"div",113),I(1,"slo-inheritance-breadcrumbs",114),H());a&2&&(a=N().ngIf,z(1),E("componentPath",a.componentPath)("teamPath",a.teamPath))},LEb=function(a){a&1&&(J(0),O(1,KEb,2,2,"div",112),K());a&2&&(a=N(6),z(1),E("ngIf",a.showSloInheritancePath))},MEb=function(a,b){if(a&1){var c=u();F(0,"div",107);P(1," Policy Source: ");O(2,IEb,3,5,"a",108);O(3,JEb,1,0,"ng-template",null,109,gg);F(5,"button",110);L("click",function(){w(c);var e=N(5);return y(e.showSloInheritancePath=!e.showSloInheritancePath)});
P(6);H();O(7,LEb,2,1,"ng-container",7);R(8,"async");H()}if(a&2){a=b.ngIf;var d=Kf(4);b=N(5);z(2);E("ngIf",a.link)("ngIfElse",d);z(3);of("aria-expanded",b.showSloInheritancePath);z(1);Lf(" ",b.showSloInheritancePath?"Hide":"Show"," full path ");z(1);E("ngIf",S(8,5,b.policySourcePath$))}},NEb=function(a){a&1&&(J(0),P(1,", "),F(2,"a",116),P(3,"Team Leads"),H(),K());a&2&&(a=N(7),z(2),E("routerLinkObj",{path:"/teams/"+a.component.team.id+"/edit",fragment:"basic"}))},OEb=function(a){a&1&&(J(0),P(1," SLO Admins: "),
F(2,"a",116),P(3,"Component Admins"),H(),O(4,NEb,4,1,"ng-container",7),K());a&2&&(a=N(6),z(2),E("routerLinkObj",a.componentPermissions(a.componentId)),z(2),E("ngIf",a.component.team&&"0"!==a.component.team.id))},PEb=function(a){a&1&&(F(0,"div",115),O(1,OEb,5,2,"ng-container",7),H());a&2&&(a=N(5),z(1),E("ngIf",a.enableTeamLeadSloEditingUi))},QEb=function(a){a&1&&(J(0),I(1,"mat-icon",118),P(2," on "),K())},REb=function(a){a&1&&(I(0,"mat-icon",119),P(1," off "))},SEb=function(a){a&1&&(J(0),P(1," Lock: "),
O(2,QEb,3,0,"ng-container",0),R(3,"async"),O(4,REb,2,0,"ng-template",null,117,gg),K());if(a&2){var b=Kf(5);a=N(5);z(2);E("ngIf",S(3,2,a.sloLocked$))("ngIfElse",b)}},UEb=function(a){if(a&1){var b=u();F(0,"div",120)(1,"mat-checkbox",121);L("change",function(c){w(b);var d=N(5);c=c.checked;d.component.slo.inherit=!c;c||CEb(d);return y()});F(2,"span");P(3,"Override the inherited SLO policy");H()()()}a&2&&(a=N(5),z(1),E("checked",!a.component.slo.inherit)("disabled",!TEb(a)))},VEb=function(a){if(a&1){var b=
u();F(0,"div",128)(1,"label",129);P(2," Justification ");H();I(3,"mat-icon",130);F(4,"textarea",131);L("ngModelChange",function(c){w(b);var d=N(6);return y(d.component.slo.comment=c)});H()()}a&2&&(a=N(6),z(4),E("ngModel",a.component.slo.comment)("disabled",!xs(a)))},WEb=function(a){a&1&&(F(0,"a",132),I(1,"mat-icon",133),H());a&2&&(a=N(6),If("target",a.hasUnsavedChanges()?"_blank":"_self"),E("routerLinkObj",a.getSloManagementLink(a.component.slo.id)))},$Eb=function(a){if(a&1){var b=u();J(0);O(1,VEb,
5,2,"div",122);F(2,"mat-slide-toggle",123);L("ngModelChange",function(c){w(b);var d=N(5);return y(d.isEnableSloChecked=c)})("change",function(c){w(b);var d=N(5);c=c.checked;d.isEnableSloChecked=c;c||(d.component.slo.id="0");return y()});P(3," Enable SLO ");H();F(4,"div",124)(5,"label",125);P(6,"SLO policy");H();F(7,"slo-picker",126);L("onSloSelect",function(c){w(b);var d=N(5);return y(d.onSloChange(c))});H();O(8,WEb,2,2,"a",127);H();K()}a&2&&(a=N(5),z(1),E("ngIf",XEb(a)),z(1),xf("indented",YEb(a)),
E("ngModel",a.isEnableSloChecked)("disabled",!ZEb(a)),z(5),E("bv2Disabled",!a.isEnableSloChecked||!ZEb(a))("boundId",a.component.slo.id)("bv2Placeholder",a.isEnableSloChecked&&ZEb(a)?"Type to search for an SLO":"SLO disabled"),z(1),E("ngIf",a.component.slo.id&&"0"!==a.component.slo.id))},aFb=function(a){a&1&&(F(0,"div",94)(1,"div",48)(2,"label",95)(3,"span",45),P(4,"SLO Configuration"),H()(),F(5,"span",50)(6,"div",96)(7,"strong"),P(8,"Careful!"),H(),P(9," Changing the SLO (service level objective) of a component has the potential to impact the Buganizer SLO compliance status of every issue under that component. "),
F(10,"div",52),I(11,"div",53)(12,"div",54),H()()()(),F(13,"div",97),O(14,HEb,5,2,"div",98),R(15,"async"),O(16,MEb,9,7,"div",99),R(17,"async"),O(18,PEb,2,1,"div",100),F(19,"div",101),O(20,SEb,6,4,"ng-container",7),H()(),O(21,UEb,4,2,"div",102),O(22,$Eb,9,9,"ng-container",7),H());if(a&2){a=N(4);xf("bv2-edit-resource-readonly",!xs(a));z(14);E("ngIf",S(15,8,a.inheritedSlo$));z(2);E("ngIf",S(17,10,a.sloPolicySource$));z(2);E("ngIf",a.sessionIsInternal);z(2);E("ngIf",a.enableSloLockingUi);z(1);E("ngIf",
YEb(a));z(1);if(a.component&&a.component.slo){var b=!!a.component.team&&"0"!==a.component.team.id,c=!a.component.slo.inherit;a=0===a.component.parentComponentId&&!b||c}else a=!1;E("ngIf",a)}},bFb=function(a){if(a&1){var b=u();F(0,"recommendation-settings",134);L("hasUnsavedChanges",function(c){w(b);var d=N(4);return y(d.hasUnsavedRecommendationSettings=c)})("isSaving",function(c){w(b);var d=N(4);return y(d.savingRecommendationSettings=c)});H()}a&2&&(a=N(4),E("componentId",a.componentId))},cFb=function(a){if(a&
1){var b=u();F(0,"div",74)(1,"b-button",135);L("onAction",function(){w(b);var c=N(4);return y(c.saveMetadata())});P(2," Update ");H();F(3,"b-button",136);L("onAction",function(){w(b);var c=N(4);return y(c.revertMetadataChanges())});P(4," Revert Changes ");H();F(5,"b-button",136);L("onAction",function(){w(b);var c=N(4);return y(c.createChild())});P(6," Create Child Component ");H()()}a&2&&(a=N(4),z(1),E("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),z(2),E("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),
z(2),E("disabled",a.hasUnsavedMetadataChanges()))},dFb=function(a){if(a&1){var b=u();F(0,"b-button",137);L("onAction",function(){w(b);var c=N(4);return y(c.showUpdateHistoryModal())});P(1," View History ");H()}},eFb=function(a){a&1&&I(0,"b-spinner")},fFb=function(a){if(a&1){var b=u();F(0,"b-component-children-list",138);L("onVisit",function(){w(b);var c=N(4);return y(c.trackClick("openChildComponent"))});H()}a&2&&(a=N(4),E("children",a.childComponents))},gFb=function(a){a&1&&(F(0,"span"),P(1," No child components. "),
H())},hFb=function(a){if(a&1){var b=u();F(0,"div",39)(1,"form",40,41);I(3,"b-error-banner",42);F(4,"div",43)(5,"label",44)(6,"span",45);P(7,"Name");H()();F(8,"input",46);L("ngModelChange",function(c){w(b);var d=N(3);return y(d.component.name=c)});H()();F(9,"div",47)(10,"div",48)(11,"label",49)(12,"span",45);P(13,"Description");H()();F(14,"span",50)(15,"div",51);P(16," The description will be used during component searches. You can add previous project names or keywords that will help users search for your component. ");
F(17,"div",52);I(18,"div",53)(19,"div",54);H()()()();F(20,"textarea",55);L("ngModelChange",function(c){w(b);var d=N(3);return y(d.component.description=c)});P(21,"            ");H()();O(22,zEb,14,5,"div",56);F(23,"div",57)(24,"div",58)(25,"mat-checkbox",59);L("change",function(c){w(b);var d=N(3);return y(d.setCommentEditState(c.checked))});H()();F(26,"div")(27,"strong",60);P(28,"Editable Comments");H();F(29,"div",61);P(30," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");
I(31,"br");O(32,AEb,2,1,"a",62);H()()();O(33,BEb,12,6,"div",63);O(34,EEb,5,3,"div",64);O(35,aFb,23,12,"div",65);F(36,"div",66)(37,"div",48)(38,"label",67)(39,"span",45);P(40,"Component Alias");H()();F(41,"span",50)(42,"div",68);P(43," You can create a new issue in this component by sending an email to this alias. ");I(44,"br");F(45,"a",69);P(46," Learn more ");H();F(47,"div",52);I(48,"div",53)(49,"div",54);H()()()();F(50,"div")(51,"a",70);P(52);H()()();O(53,bFb,1,1,"recommendation-settings",71);F(54,
"div",72);O(55,cFb,7,3,"div",73);F(56,"div",74);O(57,dFb,2,0,"b-button",75);H()();F(58,"div",76)(59,"label")(60,"span",45);P(61,"Child Components");H()();O(62,eFb,1,0,"b-spinner",7);O(63,fFb,1,1,"b-component-children-list",77);O(64,gFb,2,0,"span",7);H()()()}a&2&&(a=N(3),z(1),xf("show-errors",a.error),z(2),E("error",a.error),z(1),xf("bv2-edit-resource-readonly",ys(a)),z(4),E("ngModel",a.component.name)("disabled",ys(a)),z(1),xf("bv2-edit-resource-readonly",ys(a)),z(11),E("ngModel",a.component.description)("disabled",
ys(a)),z(2),E("ngIf",a.isAdmin()),z(1),xf("bv2-edit-resource-readonly",a.isAccessEditDisabled()),z(2),E("checked",a.commentEditsEnabled)("disabled",ys(a)),z(7),E("ngIf",!a.sessionIsExternal),z(1),E("ngIf",!a.sessionIsExternal),z(1),E("ngIf",a.sessionIsInternal),z(1),E("ngIf",a.component.slo&&a.sessionIsInternal),z(10),E("href",a.documentationLinks.baseDocumentationUrl+"/guides/create-issue-email",Ud),z(6),Hf("href","mailto:",a.component.emailAlias,"",Ud),of("aria-label","Component Alias -"+a.component.emailAlias),
z(1),Mf(a.component.emailAlias),z(1),E("ngIf",a.enableRecommendationSettingsPage&&a.sessionIsInternal),z(2),E("ngIf",a.isEditorInternal||xs(a)),z(2),E("ngIf",a.componentHistoryUiEnabled),z(5),E("ngIf",void 0===a.childComponents),z(1),E("ngIf",a.childComponents&&0<a.childComponents.length),z(1),E("ngIf",a.childComponents&&0===a.childComponents.length))},iFb=function(a){a&1&&(F(0,"div",143),P(1," Standard Fields "),H())},kFb=function(a){if(a&1){var b=u();F(0,"b-component-standard-fields",144);L("updateComponent",
function(c){w(b);var d=N(4);return y(jFb(d,c))});H()}a&2&&(a=N(4),E("effortSpec",a.component.effortSpec)("parentEffortSpec",null==a.parentComponent?null:a.parentComponent.effortSpec)("disabled",!a.isEditorInternal))},lFb=function(a){a&1&&(F(0,"div",145),P(1," Custom Fields "),H())},mFb=function(a){a&1&&(O(0,iFb,2,0,"div",139),O(1,kFb,1,3,"b-component-standard-fields",140),O(2,lFb,2,0,"div",141),I(3,"b-component-custom-fields",142));a&2&&(a=N(3),E("ngIf",a.sessionIsInternal&&!a.isExternal()),z(1),
E("ngIf",a.sessionIsInternal&&!a.isExternal()),z(1),E("ngIf",a.sessionIsInternal&&!a.isExternal()),z(1),E("editMode",a.isEditorInternal)("isSaving",a.isSaving())("component",a.component)("parentComponent",a.parentComponent))},oFb=function(a){a&1&&(F(0,"a",149),P(1," Learn more "),H());a&2&&(N(4),E("href",nFb(),Ud))},qFb=function(a){if(a&1){var b=u();F(0,"div",39)(1,"div",146);P(2," Field ordering will be applied to all issues and templates in this component, including the right panel on the Issue Detail page. ");
O(3,oFb,2,1,"a",147);H();F(4,"b-field-reorder",148);L("onReload",function(){w(b);var c=N(3);return y(pFb(c))});H()()}a&2&&(a=N(3),z(3),E("ngIf",a.sessionIsInternal),z(1),E("fields",a.effectiveCustomFields)("componentId",a.componentId)("fieldOrdering",a.component.fieldOrdering)("isAdmin",a.isAdmin()))},rFb=function(a){a&1&&I(0,"b-edit-templates",151);a&2&&(a=N(4),E("componentId",a.componentId)("supportCustomFields",!0))},sFb=function(a){a&1&&(F(0,"div"),P(1),H());a&2&&(a=N().$implicit,z(1),Mf(a.description))},
tFb=function(a,b){a&1&&(F(0,"div",153)(1,"label"),P(2),H(),O(3,sFb,2,1,"div",7),F(4,"div")(5,"a",70),P(6),H()()());a&2&&(a=b.$implicit,z(2),Mf(a.name),z(1),E("ngIf",a.description),z(2),E("href",a.url,Ud),of("aria-label","Click to open the template "+a.name),z(1),Mf(a.url))},uFb=function(a){a&1&&(J(0),O(1,tFb,7,5,"div",152),K());a&2&&(a=N(4),z(1),E("ngForOf",a.templates))},vFb=function(a){a&1&&(F(0,"div",39),O(1,rFb,1,2,"b-edit-templates",150),O(2,uFb,2,1,"ng-container",7),H());a&2&&(a=N(3),z(1),E("ngIf",
a.isEditorInternal),z(1),E("ngIf",!a.isEditorInternal))},wFb=function(a){a&1&&I(0,"role-based-permissions")},xFb=function(a){if(a&1){var b=u();F(0,"div")(1,"div",18)(2,"h2");P(3);H();O(4,sEb,2,0,"span",19);F(5,"a",20);L("click",function(){w(b);var l=N(2);return y(l.trackClick("recentIssues"))});P(6," (Recent Issues)");H();I(7,"b-access-level-indicator",21)(8,"b-tracker-chip-smart",22);H();F(9,"div",23);I(10,"b-component-breadcrumb",24)(11,"div",25);H();F(12,"mat-tab-group",26);L("selectedIndexChange",
function(l){w(b);var q=N(2);return y(q.tabChange(l))});F(13,"mat-tab",27);O(14,tEb,1,0,"ng-container",28);H();F(15,"mat-tab",29);O(16,uEb,1,0,"ng-container",28);H();F(17,"mat-tab",30);O(18,vEb,1,0,"ng-container",28);H();F(19,"mat-tab",31);O(20,wEb,1,0,"ng-container",28);H();F(21,"mat-tab",32);O(22,xEb,1,0,"ng-container",28);H()();O(23,hFb,65,30,"ng-template",null,33,gg);O(25,mFb,4,7,"ng-template",null,34,gg);O(27,qFb,5,5,"ng-template",null,35,gg);O(29,vFb,3,2,"ng-template",null,36,gg);O(31,wFb,1,
0,"ng-template",null,37,gg);H()}if(a&2){var c=Kf(24),d=Kf(26),e=Kf(28),g=Kf(30),h=Kf(32);a=N(2);z(3);Nf(" Component ",a.component.componentId,": ",a.currentName," ");z(1);E("ngIf",a.isArchived());z(1);E("routerLinkObj",a.getRecentIssuesLink());z(2);E("accessLevel",a.getComponentAccessLevel());z(1);E("trackerId",a.component.trackerId);z(2);E("componentPathInfo",a.component.componentPathInfo)("isArchived",a.isArchived())("label","Parent Component");z(2);E("selectedIndex",a.selectedTabIndex);z(1);E("id",
a.Tab.BASIC);z(1);E("ngTemplateOutlet",c);z(1);E("id",a.Tab.CUSTOM_FIELDS)("label",a.sessionIsInternal&&!a.isExternal()?"Fields":"Custom Fields");z(1);E("ngTemplateOutlet",d);z(1);E("id",a.Tab.FIELD_ORDERING);z(1);E("ngTemplateOutlet",e);z(1);E("id",a.Tab.TEMPLATES);z(1);E("ngTemplateOutlet",g);z(1);E("id",a.Tab.ACCESS);z(1);E("ngTemplateOutlet",h)}},yFb=function(a){a&1&&(F(0,"span")(1,"p"),P(2," Archiving a component causes it and its subcomponents and all issues in those components to be hidden from normal use."),
I(3,"br"),F(4,"a",159),P(5," Learn more "),H()(),F(6,"p"),P(7," If you no longer have a reason to retain the data stored in these components, please change the retention period as needed "),I(8,"br"),P(9," so they can be scheduled for deletion. "),F(10,"a",160),P(11," Learn more "),H()()());a&2&&(N(3),z(4),E("href","http://go/archived-components",Ud),z(6),E("href",ws(),Ud))},zFb=function(a){a&1&&(F(0,"span"),P(1," : "),F(2,"b"),P(3),H()());if(a&2){a=N().$implicit;var b=N(3);xf("b-archive-warning-indef",
!a.retentionSettings.retentionPeriodDays);z(3);Mf(b.getRetentionPeriod(a))}},AFb=function(a,b){a&1&&(F(0,"span")(1,"span"),P(2),H(),O(3,zFb,4,3,"span",161),I(4,"br"),H());a&2&&(a=b.$implicit,b=N(3),z(2),Mf(a.componentPath),z(1),E("ngIf","Archive"===b.archiveAction))},BFb=function(a){if(a&1){var b=u();F(0,"h2",154);P(1);H();F(2,"mat-dialog-content");O(3,yFb,12,2,"span",7);F(4,"p");P(5," The following components will be affected: ");H();F(6,"div",155);O(7,AFb,5,2,"span",156);H()();F(8,"mat-dialog-actions")(9,
"button",157);L("click",function(){w(b);var c=N(2);c.archive();c.isArchiving=!1;return y()});P(10," Yes ");H();F(11,"button",158);L("click",function(){w(b);N(2).isArchiving=!1;return y()});P(12," No ");H()()}a&2&&(a=N(2),z(1),Mf(a.component&&a.archiveAction?"Are you sure you want to "+a.archiveAction.toLowerCase()+' "'+a.component.name+'" and its subcomponents?':""),z(2),E("ngIf","Archive"===a.archiveAction),z(4),E("ngForOf",a.descendants))},CFb=function(a){if(a&1){var b=u();J(0);F(1,"div",2)(2,"div",
3)(3,"div",4)(4,"b-button",5);L("onAction",function(){w(b);var c=N();return y(c.back())});I(5,"b-icon",6);H();O(6,qEb,5,3,"ng-container",7);H()()();F(7,"div",8);O(8,rEb,2,0,"div",9);O(9,xFb,33,21,"div",7);H();O(10,BFb,13,3,"ng-template",null,10,gg);K()}a&2&&(a=N(),z(6),E("ngIf",a.component),z(2),E("ngIf",a.isLoading),z(1),E("ngIf",!a.isLoading&&a.component&&a.component.componentId))},DFb=function(a){a&1&&(F(0,"div",162),I(1,"b-tracker-redirect",163),H());a&2&&(a=N(),z(1),E("component",a.component))},
EFb=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}},FFb=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)}},GFb=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(g){return g===b});e<a.length;e++)d.push({id:a[e],name:c[e]});return d},HFb=function(a,b){a&1&&(F(0,"div",39),I(1,"b-team-breadcrumb",40),H());a&2&&(a=b.ngIf,z(1),E("teamPath",a))},IFb=function(a,b){a&1&&(J(0),P(1),K());a&2&&(a=b.ngIf,z(1),Mf(a.trim()))},JFb=function(a){a&1&&P(0," No description ")},KFb=function(a,b){a&1&&(J(0),I(1,"b-multi-user-input",41),K());a&2&&(a=b.ngIf,z(1),E("users",a),of("disabled",!0))},LFb=function(a){a&1&&(J(0),
F(1,"p"),P(2,"No child teams"),H(),K())},MFb=function(a,b){a&1&&(J(0),I(1,"br"),F(2,"a",44),P(3),H(),K());a&2&&(a=b.$implicit,z(2),Hf("routerLink","/teams/",a.id,"/edit"),z(1),Mf(a.name))},NFb=function(a){a&1&&O(0,MFb,4,2,"ng-container",43);a&2&&(a=N().ngIf,E("ngForOf",a))},OFb=function(a,b){a&1&&(J(0),O(1,LFb,3,0,"ng-container",18),O(2,NFb,1,1,"ng-template",null,42,gg),K());if(a&2){a=b.ngIf;var c=Kf(3);z(1);E("ngIf",0===a.length)("ngIfElse",c)}},PFb=function(a){a&1&&(F(0,"a",48),P(1),H());if(a&2){a=
N().ngIf;var b;E("routerLinkObj",a.link);z(1);Lf(" ",null!==(b=null==a.slo?null:a.slo.name)&&void 0!==b?b:a.id," ")}},QFb=function(a){a&1&&P(0," None ")},RFb=function(a,b){a&1&&(F(0,"div",45),P(1," Inherited SLO Policy: "),O(2,PFb,2,2,"a",46),O(3,QFb,1,0,"ng-template",null,47,gg),H());if(a&2){a=b.ngIf;var c=Kf(4);z(2);E("ngIf",a.link)("ngIfElse",c)}},SFb=function(a,b){a&1&&(F(0,"a",49),P(1),H());a&2&&(a=b.ngIf,E("routerLinkObj",a.link),z(1),Lf(" ",a.name," "))},TFb=function(a){a&1&&P(0," None ")},
UFb=function(a){a&1&&(J(0),I(1,"mat-icon",51),P(2," on "),K())},VFb=function(a){a&1&&(I(0,"mat-icon",52),P(1," off "))},WFb=function(a){a&1&&(J(0),P(1," Lock: "),O(2,UFb,3,0,"ng-container",18),O(3,VFb,2,0,"ng-template",null,50,gg),K());if(a&2){var b=Kf(4);a=N(2);z(2);E("ngIf",a.originalSloLock)("ngIfElse",b)}},XFb=function(a){if(a&1){var b=u();F(0,"div",54)(1,"mat-checkbox",55);L("change",function(c){w(b);var d=N(3);d.isSloInheritEnabled=!c.checked;d.isSloInheritEnabled&&(d.sloId=d.parentTeam.slo.sloId);
return y()});F(2,"span");P(3,"Override the inherited SLO");H()()()}a&2&&(a=N(3),z(1),E("disabled",!a.hasEditAccess)("checked",!a.isSloInheritEnabled))},YFb=function(a){if(a&1){var b=u();F(0,"div",60)(1,"label",61);P(2," Justification to override the org SLO ");H();I(3,"mat-icon",62);F(4,"textarea",63);L("ngModelChange",function(c){w(b);var d=N(4);return y(d.sloJustification$.next(c))});R(5,"async");H()()}a&2&&(a=N(4),z(3),E("matTooltip",a.justificationRequiredText),of("aria-label",a.justificationRequiredText),
z(1),E("ngModel",S(5,4,a.sloJustification$))("disabled",!a.hasEditAccess))},ZFb=function(a,b){a&1&&(F(0,"a",64),R(1,"async"),I(2,"mat-icon",9),H());a&2&&(a=b.ngIf,b=N(4),If("target",S(1,2,b.hasUnsavedChanges$)?"_blank":"_self"),E("routerLinkObj",a))},$Fb=function(a){if(a&1){var b=u();J(0);O(1,YFb,6,6,"div",56);F(2,"div",14)(3,"mat-slide-toggle",57);L("ngModelChange",function(d){w(b);var e=N(3);return y(e.enableSloChecked=d)})("change",function(d){w(b);var e=N(3);return y(e.enableSloChecked=d.checked)});
P(4," Enable SLO ");H();F(5,"slo-picker",58);L("onSloSelect",function(d){w(b);var e=N(3);return y(e.onSloChange(d))});H();O(6,ZFb,3,4,"a",59);R(7,"async");H();K()}if(a&2){a=N().ngIf;var c=N(2);z(1);E("ngIf",!a.value);z(2);xf("indented",!a.value);E("ngModel",c.enableSloChecked)("disabled",!c.hasEditAccess);z(2);E("boundId",c.sloId)("bv2Disabled",!c.hasEditAccess||!c.enableSloChecked||c.isSloInheritEnabled)("bv2Placeholder",c.enableSloChecked?"Type to search for an SLO":"SLO disabled");z(1);E("ngIf",
S(7,9,c.sloPickerLink$))}},aGb=function(a,b){a&1&&(J(0),O(1,XFb,4,2,"div",53),O(2,$Fb,8,11,"ng-container",6),K());a&2&&(a=b.ngIf,b=N(2),z(1),E("ngIf",!a.value),z(1),E("ngIf",!b.isSloInheritEnabled))},bGb=function(a){if(a&1){var b=u();F(0,"div",14)(1,"mat-checkbox",65);L("change",function(c){w(b);var d=N(2);return y(d.sloLocked=c.checked)});F(2,"span");P(3,"Lock for all child teams");H()()()}a&2&&(a=N(2),z(1),E("checked",a.sloLocked)("disabled",!a.canEditSloLock))},eGb=function(a){if(a&1){var b=u();
F(0,"div",14)(1,"div",20)(2,"label",21)(3,"span",16);P(4," SLO lead ");H()();F(5,"span",22)(6,"div",23);P(7," Single team lead receiving SLO reports of unassigned issues. ");F(8,"div",24);I(9,"div",25)(10,"div",26);H()()()();F(11,"div");J(12);F(13,"b-multi-user-input",66);L("usersChange",function(c){w(b);var d=N(2);1<c.length||(d.sloLead=1===c.length?c[0]:"");return y()})("isValid",function(c){w(b);var d=N(2);return y(d.isSloLeadValid=c)});H();K();H()()}a&2&&(a=N(2),z(13),E("users",a.sloLead?Rf(5,
cGb,a.sloLead):Qf(7,dGb))("customValidators",a.sloLeadUserValidators)("detailedUserValidators",a.sloLeadGooglerValidators)("maxUserAllowed",1),of("disabled",a.hasEditAccess?null:!0))},hGb=function(a){if(a&1){var b=u();F(0,"div",67)(1,"div",68)(2,"button",69);L("click",function(){w(b);var c=N().ngIf,d=N();return y(fGb(d,c))});R(3,"async");P(4," Update ");H();F(5,"button",70);L("click",function(){w(b);var c=N(2);return y(gGb(c))});R(6,"async");P(7," Revert changes ");H()()()}a&2&&(a=N(2),z(2),E("disabled",
!S(3,2,a.hasUnsavedChanges$)),z(3),E("disabled",!S(6,4,a.hasUnsavedChanges$)))},iGb=function(a){a&1&&(J(0),F(1,"p"),P(2,"No mapped components"),H(),K())},jGb=function(a,b){a&1&&(F(0,"ul")(1,"li")(2,"a",44),P(3),H()()());a&2&&(a=b.$implicit,z(2),Hf("routerLink","/components/",a.componentId,"/manage"),z(1),Lf(" ",a.name," "))},kGb=function(a){a&1&&(O(0,jGb,4,2,"ul",43),R(1,"async"));a&2&&(a=N(3),E("ngForOf",S(1,1,a.associatedComponents$)))},lGb=function(a,b){a&1&&(J(0),O(1,iGb,3,0,"ng-container",18),
O(2,kGb,2,3,"ng-template",null,71,gg),K());if(a&2){a=b.ngIf;var c=Kf(3);z(1);E("ngIf",0===a.length)("ngIfElse",c)}},nGb=function(a,b){if(a&1){var c=u();J(0);F(1,"div",7)(2,"h2");P(3);F(4,"a",8);P(5);I(6,"mat-icon",9);H()()();O(7,HFb,2,1,"div",10);R(8,"async");F(9,"mat-tab-group",11);L("selectedIndexChange",function(g){w(c);var h=N();return y(h.selectedTabIndex=g)})("selectedIndexChange",function(g){w(c);var h=N();return y(h.tabChange(g))});F(10,"mat-tab",12)(11,"div",13);P(12," Team information on this page comes from ");
F(13,"a",8);P(14," Team Graph ");I(15,"mat-icon",9);H();P(16," and is view only. ");F(17,"div",14)(18,"div",15)(19,"label")(20,"span",16);P(21,"Description");H()();F(22,"div",17);O(23,IFb,2,1,"ng-container",18);O(24,JFb,1,0,"ng-template",null,19,gg);H()()();F(26,"div",14)(27,"div",20)(28,"label",21)(29,"span",16);P(30," Team admins ");H();F(31,"span",22)(32,"div",23);P(33," Team admins are team leads from Team Graph. ");F(34,"div",24);I(35,"div",25)(36,"div",26);H()()()();O(37,KFb,2,2,"ng-container",
6);R(38,"async");H()();F(39,"div",14)(40,"div",15)(41,"label")(42,"span",16);P(43,"Child team(s)");H()();O(44,OFb,4,2,"ng-container",6);R(45,"async");H()()()();F(46,"mat-tab",27)(47,"div",13)(48,"div",20)(49,"label",21)(50,"span",16);P(51,"SLO configuration");H()();F(52,"span",22)(53,"div",28)(54,"strong");P(55,"Careful!");H();P(56," Changing the SLO (service level objective) of a component has the potential to impact the compliance status of every issue under this team's components. ");F(57,"div",
24);I(58,"div",25)(59,"div",26);H()()()();F(60,"div",29);O(61,RFb,5,2,"div",30);R(62,"async");F(63,"div",31);P(64," Policy Source: ");O(65,SFb,2,2,"a",32);R(66,"async");O(67,TFb,1,0,"ng-template",null,33,gg);H();F(69,"div",34);O(70,WFb,5,2,"ng-container",6);H()();I(71,"b-error-banner",35);O(72,aGb,3,2,"ng-container",6);R(73,"async");O(74,bGb,4,2,"div",36);O(75,eGb,14,8,"div",36);O(76,hGb,8,6,"div",37);H()();F(77,"mat-tab",38)(78,"div",13)(79,"div",14)(80,"div",15)(81,"label")(82,"span",16);P(83," Component(s) that have mapped to this team ");
H()()();O(84,lGb,4,2,"ng-container",6);R(85,"async");H()()()();K()}if(a&2){a=b.ngIf;var d=Kf(25),e=Kf(68);b=N();z(3);Lf(" Team ",a.teamId,": ");z(1);Hf("href","https://moma.corp.google.com/team/",a.teamId,"",Ud);z(1);Lf(" ",a.name," ");z(2);E("ngIf",S(8,23,b.teamPath$));z(2);E("selectedIndex",b.selectedTabIndex);z(1);E("id",b.Tab.BASIC);z(3);Hf("href","https://moma.corp.google.com/team/",a.teamId,"",Ud);z(10);E("ngIf",a.description)("ngIfElse",d);z(14);E("ngIf",S(38,25,b.adminsAndLeads$));z(7);E("ngIf",
S(45,27,b.childTeams$));z(2);E("id",b.Tab.SLO);z(15);E("ngIf",S(62,29,b.inheritedSlo$));z(4);E("ngIf",S(66,31,b.sloPolicySource$))("ngIfElse",e);z(5);E("ngIf",b.enableSloLockingUi);z(1);E("error",b.error);z(1);E("ngIf",Rf(37,mGb,S(73,33,b.isRootTeam$)));z(2);E("ngIf",b.enableSloLockingUi);z(1);E("ngIf",b.enableSloLead);z(1);E("ngIf",b.hasEditAccess);z(1);E("id",b.Tab.MAPPINGS);z(7);E("ngIf",S(85,35,b.associatedComponents$))}},oGb=function(a,b){a&1&&(F(0,"div",14),I(1,"mat-checkbox",15),F(2,"div")(3,
"label",16),P(4),H(),F(5,"label",17),P(6),H()()());if(a&2){a=b.ngIf;b=N().$implicit;var c=N().ngIf;z(1);E("id","select-signal-checkbox-"+b)("aria-labelledby","checkbox-label-"+b)("value",b)("checked",c.includes(b));z(2);Hf("id","checkbox-label-",b,"")("for","select-signal-checkbox-",b,"-input");z(1);Lf(" ",a.header," ");z(1);Hf("for","select-signal-checkbox-",b,"-input");z(1);Lf(" ",a.body," ")}},qGb=function(a,b){a&1&&(J(0),O(1,oGb,7,9,"div",13),K());a&2&&(a=b.$implicit,N(3),z(1),E("ngIf",pGb.has(a)?
pGb.get(a):null))},rGb=function(a){a&1&&(F(0,"div",11),O(1,qGb,2,1,"ng-container",12),H());a&2&&(a=N(2),z(1),E("ngForOf",a.ALL_SIGNAL_TYPES))},sGb=function(a){if(a&1){var b=u();F(0,"div",4)(1,"p",5);P(2," Select alerts ");F(3,"button",6);L("click",function(){w(b);var c=N();c=k(c.checkboxes);for(var d=c.next();!d.done;d=c.next())d=d.value,d.checked||d.toggle();return y()});P(4," Select all ");H()();O(5,rGb,2,1,"div",7);R(6,"async");I(7,"mat-divider");F(8,"div",8)(9,"button",9);L("click",function(){w(b);
var c=N();return y(c.closeMenu())});P(10,"Cancel");H();F(11,"button",10);L("click",function(){w(b);var c=N();return y(c.emitSelection())});P(12,"Apply");H()()()}a&2&&(a=N(),z(5),E("ngIf",S(6,1,a.selectedSignals$)))},tGb=function(a){a&1&&(J(0),P(1),K());a&2&&(a=N(3),z(1),Lf("(",a.count,")"))},uGb=function(a){a&1&&(J(0),P(1),O(2,tGb,2,1,"ng-container",3),K());if(a&2){a=N().ngIf;var b=N();z(1);Lf(" ",a.text," ");z(1);E("ngIf",-1<b.count)}},vGb=function(a){if(a&1){var b=u();F(0,"button",5);L("click",
function(){w(b);var c=N(2);return y(c.onClickRemove())});F(1,"span",6);P(2);H();I(3,"mat-icon",7);H()}a&2&&(a=N().ngIf,z(2),Lf("remove filter ",a.text,""))},wGb=function(a,b){a&1&&(F(0,"span",1),R(1,"async"),I(2,"mat-icon",2),O(3,uGb,3,2,"ng-container",3),O(4,vGb,4,1,"button",4),H());a&2&&(a=b.ngIf,b=N(),Af("chippy rounded ",a.className," margin-xs-right"),xf("full-chip",!b.iconOnly)("selected",b.isSelected),E("matTooltip",S(1,12,b.getSignalTypeTooltip()))("matTooltipShowDelay",b.matTooltipShowDelay),
z(2),E("svgIcon",a.icon),z(1),E("ngIf",!b.iconOnly),z(1),E("ngIf",b.removable))},xGb=function(a){a&1&&(F(0,"span",19),P(1,"No filters selected"),H())},zGb=function(a,b){if(a&1){var c=u();J(0);F(1,"b-signal-chip",20);L("onRemove",function(){var d=w(c).$implicit,e=N(2);return y(e.toggleSignal(d))});H();K()}a&2&&(a=b.$implicit,z(1),E("removable",!0)("generalDescriptionOnly",!0)("iconOnly",!1)("isSelected",!0)("matTooltipShowDelay",750)("signal",Rf(6,yGb,a)))},CGb=function(a){if(a&1){var b=u();F(0,"div",
8)(1,"div",9)(2,"button",10);L("click",function(){w(b);var d=N();return y(d.fetchIssues())})("onHotkey",function(){w(b);var d=N();return y(d.fetchIssues())});I(3,"mat-icon",11);H();F(4,"p",12);P(5," Applied alerts ");H();F(6,"a",13);I(7,"mat-icon",14);H()();F(8,"section",15)(9,"select-signals-menu",16);L("selected",function(d){w(b);var e=N();return y(AGb(e,d))});H();O(10,xGb,2,0,"span",17);R(11,"async");O(12,zGb,2,8,"ng-container",18);R(13,"async");H()()}if(a&2){a=N();var c;z(2);E("hotkey",a.HOTKEYS.REFRESH_ISSUE_LIST);
z(7);E("selectedSignals$",a.selectedSignals$);z(1);E("ngIf",0===(null!==(c=S(11,4,a.selectedSignals$))&&void 0!==c?c:Qf(8,BGb)).length);z(2);E("ngForOf",S(13,6,a.selectedSignals$))}},EGb=function(a){if(a&1){var b=u();F(0,"div")(1,"button",21);L("click",function(){w(b);var c=N();return y(DGb(c))});P(2," Dismiss selected ");H()()}a&2&&(a=N(),z(1),E("disabled",a.dismissSelectedInProgress))},FGb=function(a){a&1&&(F(0,"div",22),I(1,"b-spinner"),F(2,"span"),P(3," Searching for issues needing attention..."),
H()())},GGb=function(a){a&1&&(F(0,"p",28),P(1," No alerts are selected. Select alerts via the filter icon above. "),H())},HGb=function(a){a&1&&(F(0,"p",28),P(1,"No issues matching the current filters."),H())},IGb=function(a){a&1&&(F(0,"div",23),I(1,"img",24),F(2,"p",25),P(3,"So empty"),H(),O(4,GGb,2,0,"p",26),R(5,"async"),O(6,HGb,2,0,"ng-template",null,27,gg),H());if(a&2){var b=Kf(7);a=N();var c;z(1);E("src",a.SPACE_EMPTY_STATE,Ud);z(3);E("ngIf",0===(null!==(c=S(5,3,a.selectedSignals$))&&void 0!==
c?c:Qf(5,BGb)).length)("ngIfElse",b)}},JGb=function(a,b){a&1&&(F(0,"th",44)(1,"span",0),P(2),H()());a&2&&(a=b.column,of("data-stable-column-name",a.name),z(2),Lf("column-",a.name,""))},LGb=function(a,b){if(a&1){var c=u();F(0,"th",45);J(1);F(2,"mat-pseudo-checkbox",46);L("click",function(d){w(c);var e=N(2);d.stopPropagation();return y(e.toggleAllIssueSelection())})("keydown.enter",function(d){w(c);var e=N(2);d.stopPropagation();return y(e.toggleAllIssueSelection())})("keydown.space",function(d){w(c);
var e=N(2);d.stopPropagation();return y(e.toggleAllIssueSelection())});H();K();H()}a&2&&(a=b.column,b=N(2),of("data-stable-column-name",a.name),z(2),E("state",b.getHeaderCheckboxState()),of("aria-checked",KGb(b)))},MGb=function(a,b){a&1&&(F(0,"th"),J(1),I(2,"pop-grid-default-th",47),K(),H());a&2&&(a=b.column,of("data-stable-column-name",a.name),z(2),E("column",a))},NGb=function(a){a&1&&I(0,"td",44)},OGb=function(a,b){if(a&1){var c=u();F(0,"td",45);J(1);F(2,"mat-pseudo-checkbox",48);L("click",function(d){var e=
w(c),g=e.index;e=e.row;var h=N(2);d.stopPropagation();return y(h.onCheckboxClicked(d,g,e))});H();K();H()}a&2&&(a=b.row,z(2),E("state",a.selected?"checked":"unchecked"),of("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},PGb=function(a,b){if(a&1){var c=u();F(0,"td",49);J(1);F(2,"b-star-toggle",50);L("starClicked",function(){var d=w(c).row,e=N(2);return y(e.toggleStar(d))});H();K();H()}a&2&&(a=b.row,b=N(2),z(2),E("starred",a.starred)("disabled",b.starInProgress[a.issueId])("starMessage",
"Star this issue")("unStarMessage","Un-star this issue"))},RGb=function(a,b){if(a&1){var c=u();F(0,"td",51);J(1);F(2,"a",52);L("click",function(){var d=w(c).row,e=N(2);return y(QGb(e,d.issueId))});P(3);H();K();H()}a&2&&(a=b.row,b=N(2),z(2),E("href",b.paths.editIssue(a.issueId),Ud),of("title",a.title),z(1),Lf(" ",a.issueId," "))},SGb=function(a,b){a&1&&(J(0),I(1,"b-signal-chip",54),K());a&2&&(a=b.$implicit,b=N(3),z(1),E("signal",a)("iconOnly",!0)("isSelected",b.selectedSignals$.value.includes(a.signalType)))},
TGb=function(a,b){a&1&&(F(0,"td",53),O(1,SGb,2,3,"ng-container",18),H());a&2&&(a=b.row,z(1),E("ngForOf",a.signals))},UGb=function(a,b){if(a&1){var c=u();F(0,"td");J(1);F(2,"button",21);L("click",function(){var d=w(c).row,e=N(2);return y(e.dismissIssue(d))});P(3," Dismiss ");H();K();H()}a&2&&(a=b.row,b=N(2),z(2),E("disabled",b.dismissInProgress[a.issueId]))},VGb=function(a){a&1&&I(0,"archived-issue-indicator")},WGb=function(a,b){a&1&&I(0,"b-hotlist-chip-smart",64);a&2&&E("id",b.$implicit)("removable",
!1)},XGb=function(a){a&1&&(F(0,"div",62),O(1,WGb,1,2,"b-hotlist-chip-smart",63),H());a&2&&(a=N().row,z(1),E("ngForOf",a.hotlistId))},YGb=function(a,b){if(a&1){var c=u();F(0,"td",55);R(1,"async");J(2);F(3,"div",56);R(4,"async");O(5,VGb,1,0,"archived-issue-indicator",3);I(6,"b-access-level-indicator",57)(7,"b-retention-chip",58);F(8,"div",59)(9,"a",60);L("click",function(){var h=w(c).row,l=N(2);return y(QGb(l,h.issueId))});P(10);H()();O(11,XGb,2,1,"div",61);R(12,"async");H();K();H()}if(a&2){a=b.row;
b=N(2);var d,e,g;xf("bv2-grid-cell-variable-height",null==(d=S(1,15,b.listViewPrefs$))?null:d.wrapTitles);z(3);xf("bv2-grid-cell-flex-wrap",null==(e=S(4,17,b.listViewPrefs$))?null:e.wrapTitles);z(2);E("ngIf",a.archived);z(1);E("accessLevel",a.accessLevel)("compactMode",!0);z(1);E("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);z(2);E("href",b.paths.editIssue(a.issueId),Ud);of("title",a.title);z(1);Lf(" ",a.title," ");z(1);E("ngIf",null==
(g=S(12,19,b.listViewPrefs$))?null:g.showHotlists)}},ZGb=function(a,b){a&1&&(F(0,"td",65),J(1),F(2,"div",66),P(3),H(),K(),H());a&2&&(a=b.row,b=N(2),z(2),xf("low",b.isLowPriority(a))("high",b.isHighPriority(a))("p0",b.isP0Priority(a)),z(1),Lf(" P",a.priority," "))},$Gb=function(a){a&1&&I(0,"mat-icon",72);if(a&2){a=N().$implicit;var b=N(4);E("svgIcon",b.STATUS_ICON[a])}},aHb=function(a){a&1&&(J(0),P(1),K());if(a&2){a=N().$implicit;var b=N(4);z(1);Mf(b.STATUS_TERSE[a])}},bHb=function(a){a&1&&(F(0,"span"),
P(1),H());if(a&2){a=N().$implicit;var b=N(4);Af("chippy status-",a,"");z(1);Lf(" ",b.STATUS_TERSE[a]," ")}},cHb=function(a,b){a&1&&(J(0),F(1,"span",68),R(2,"async"),O(3,$Gb,1,1,"mat-icon",69),O(4,aHb,2,1,"ng-container",70),O(5,bHb,2,4,"span",71),H(),K());if(a&2){a=b.$implicit;b=N(4);var c;z(1);E("ngSwitch",null==(c=S(2,4,b.listViewPrefs$))?null:null==c.fieldStatus?null:c.fieldStatus.mode)("title",b.STATUS_FULL_TEXT[a]===b.STATUS_TERSE[a]?"":b.STATUS_FULL_TEXT[a]);z(2);E("ngSwitchCase","icon");z(1);
E("ngSwitchCase","plain")}},dHb=function(a){a&1&&(J(0),O(1,cHb,6,6,"ng-container",3),K());if(a&2){a=N().row;var b=N(2);z(1);E("ngIf",b.convertIssueStatusStrToTag(a.status))}},eHb=function(a){a&1&&(F(0,"td",67),O(1,dHb,2,1,"ng-container",3),H());a&2&&(N(2),z(1),E("ngIf",!0))},fHb=function(a,b){a&1&&(F(0,"b-person-hovercard",75),P(1),H());a&2&&(a=b.ngIf,b=N().row,E("email",a),z(1),Lf(" ",b.assignee," "))},gHb=function(a){a&1&&(F(0,"span"),P(1,"--"),H())},hHb=function(a,b){a&1&&(F(0,"td",73),J(1),O(2,
fHb,2,2,"b-person-hovercard",74),R(3,"omitObfuscatedEmail"),O(4,gHb,2,0,"span",3),K(),H());a&2&&(a=b.row,z(2),E("ngIf",S(3,2,a.assignee)),z(2),E("ngIf",!a.assignee))},jHb=function(a){if(a&1){var b=u();F(0,"div",29)(1,"pop-grid",30);L("focusedRowIndexChange",function(c){w(b);var d=N();return y(d.focusedRowIndex=c)})("rowClick",function(c){w(b);var d=N();return y(d.goToIssue(c.id,c.isRead,c.event))})("sortChange",function(c){w(b);var d=N();return y(d.onSortChange(c))});O(2,JGb,3,2,"th",31);O(3,LGb,
3,3,"th",32);O(4,MGb,3,2,"th",33);O(5,NGb,1,0,"td",34);O(6,OGb,3,3,"td",35);O(7,PGb,3,4,"td",36);O(8,RGb,4,3,"td",37);O(9,TGb,2,1,"td",38);O(10,UGb,4,1,"td",39);O(11,YGb,13,21,"td",40);O(12,ZGb,4,7,"td",41);O(13,eHb,2,1,"td",42);O(14,hHb,5,4,"td",43);H()()}a&2&&(a=N(),z(1),E("list",iHb(a))("columns",a.columns)("focusedRowIndex",a.focusedRowIndex)("enableDragDropHeader",!1)("rowLabelRenderer",a.issueDescription)("sort",a.sortConfig),z(1),E("forHeaderCell","focused"),z(1),E("forHeaderCell","selected"),
z(2),E("forViewCell","focused"),z(1),E("forViewCell","selected"),z(1),E("forViewCell","starred"),z(1),E("forViewCell","issueId"),z(1),E("forViewCell","alerts"),z(1),E("forViewCell","dismiss"),z(1),E("forViewCell","title"),z(1),E("forViewCell","priority"),z(1),E("forViewCell","status"),z(1),E("forViewCell","assignee"))},kHb=function(a){a&1&&Cf(0)},mHb=function(a,b){a&1&&(J(0),O(1,kHb,1,0,"ng-container",7),K());if(a&2){a=b.$implicit;N(3);var c=Kf(5);z(1);E("ngTemplateOutlet",c)("ngTemplateOutletContext",
Rf(2,lHb,a))}},nHb=function(a){a&1&&(F(0,"div",4)(1,"div",5),P(2,"TEAMFOOD"),H(),O(3,mHb,2,4,"ng-container",6),R(4,"async"),H());a&2&&(a=N(2),z(3),E("ngForOf",S(4,1,a.beapFeaturesTF$)))},oHb=function(a){a&1&&Cf(0)},pHb=function(a,b){a&1&&(J(0),O(1,oHb,1,0,"ng-container",7),K());if(a&2){a=b.$implicit;N(3);var c=Kf(5);z(1);E("ngTemplateOutlet",c)("ngTemplateOutletContext",Rf(2,lHb,a))}},qHb=function(a){a&1&&(F(0,"div",4)(1,"div",5),P(2,"EARLY ACCESS"),H(),O(3,pHb,2,4,"ng-container",6),R(4,"async"),
H());a&2&&(a=N(2),z(3),E("ngForOf",S(4,1,a.beapFeaturesEA$)))},rHb=function(a){a&1&&(J(0),O(1,nHb,5,3,"div",3),R(2,"async"),O(3,qHb,5,3,"div",3),R(4,"async"),K());a&2&&(a=N(),z(1),E("ngIf",S(2,2,a.hasFeaturesTF$)),z(2),E("ngIf",S(4,4,a.hasFeaturesEA$)))},sHb=function(a){a&1&&(F(0,"div",8),P(1,"No available experiments"),H())},tHb=function(a){a&1&&(F(0,"a",23),P(1," Learn more"),H());a&2&&(a=N().feature,of("href",a.learnMoreLink,Ud))},uHb=function(a){a&1&&(F(0,"b-callout",24)(1,"b-callout-body"),P(2,
" Reload page to see changes. "),H()())},vHb=function(a,b){if(a&1){var c=u();F(0,"div",9)(1,"div",10)(2,"div",11);I(3,"mat-slide-toggle",12);R(4,"featureState");R(5,"featureState");H();F(6,"div",13)(7,"div",14);P(8);H();F(9,"span",15);P(10);O(11,tHb,2,1,"a",16);H();F(12,"div",17)(13,"a",18);L("click",function(){var d=w(c).feature;N().linkClicked[d.experimentId]=!0;return y()});I(14,"mat-icon",19);P(15);R(16,"featureState");H()();O(17,uHb,3,0,"b-callout",20);H();F(18,"div",21);I(19,"b-app-beap-state-indicator",
22);H()()()}a&2&&(a=b.feature,b=N(),z(3),E("checked",S(4,10,a.state))("matTooltip",S(5,12,a.state)?"Opted in":"Opted out")("disabled",!0),z(5),Lf(" ",a.title," "),z(2),Lf("",a.description," "),z(1),E("ngIf",a.learnMoreLink),z(2),of("href","https://webdog.corp.google.com/app/list;frontend=buganizer;id="+a.experimentId,Ud),z(2),Lf(" ",S(16,14,a.state)?"Opt out":"Opt in"," "),z(2),E("ngIf",!!b.linkClicked[a.experimentId]),z(2),E("experimentId",a.experimentId))},wHb=function(a){a&1&&(F(0,"mat-option",
26),P(1),H());a&2&&(a=N().$implicit,E("value",a),z(1),Lf(" ",a.name," "))},xHb=function(a,b){a&1&&(J(0),O(1,wHb,2,2,"mat-option",25),K());a&2&&(a=b.$implicit,z(1),E("ngIf",a.shouldDisplay()))},yHb=function(a,b){a&1&&(F(0,"mat-option",29),P(1),H());a&2&&(a=b.$implicit,E("value",a.id),z(1),Lf(" ",a.name," "))},AHb=function(a){if(a&1){var b=u();F(0,"mat-form-field",5)(1,"mat-select",27);L("ngModelChange",function(c){w(b);var d=N();return y(d.preferredHomepage.selectedOptionId=c)})("selectionChange",
function(){w(b);var c=N();return y(zHb(c.preferredHomepage))});O(2,yHb,2,2,"mat-option",28);H()()}a&2&&(a=N(),z(1),E("ngModel",a.preferredHomepage.selectedOptionId),z(1),E("ngForOf",a.preferredHomepage.selectedMainOption.options))},BHb=function(a,b){a&1&&(F(0,"mat-option",30),P(1),H());a&2&&(a=b.$implicit,E("value",a.value),z(1),Lf(" ",a.label," "))},CHb=function(a,b){a&1&&(F(0,"mat-option",30),P(1),H());a&2&&(a=b.$implicit,E("value",a.value),z(1),Lf(" ",a.label," "))},DHb=function(a,b){a&1&&(F(0,
"mat-option",30),P(1),H());a&2&&(a=b.$implicit,E("value",a.value),z(1),Lf(" ",a.label," "))},EHb=function(a){if(a&1){var b=u();F(0,"div",20)(1,"mat-slide-toggle",31);L("change",function(c){w(b);var d=N();c=c.checked;d.userPreferences.showInlineImages=c;d.save("showInlineImages",c.toString());return y()});P(2," Show SnipIt images inline in comments ");H()()}a&2&&(a=N(),z(1),E("checked",a.getShowInlineImages()))},FHb=function(a){if(a&1){var b=u();J(0);F(1,"div",0)(2,"div",1)(3,"p",2);P(4,"Other");H()();
F(5,"div")(6,"div")(7,"mat-slide-toggle",32);L("change",function(c){w(b);var d=N();d.userPreferences.bugScreensaverPreferences.enableBugScreensaver=c.checked;return y(d.save("saveBugScreensaverPreferences"))});P(8," Enable bug screensaver ");H()()()();K()}a&2&&(a=N(),z(7),E("checked",a.userPreferences.bugScreensaverPreferences.enableBugScreensaver))},GHb=function(a,b){a&1&&(F(0,"mat-option",20),P(1),R(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,E("value",a),z(1),Lf(" ",S(2,2,a)," "))},HHb=
function(a,b){a&1&&(F(0,"mat-option",20),P(1),R(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,E("value",a),z(1),Lf(" ",S(2,2,a)," "))},IHb=function(a,b){a&1&&(F(0,"mat-option",20),P(1),R(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,E("value",a),z(1),Lf(" ",S(2,2,a)," "))},JHb=function(a,b){a&1&&(F(0,"mat-option",20),P(1),R(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,E("value",a),z(1),Lf(" ",S(2,2,a)," "))},KHb=function(a,b){a&1&&(F(0,"mat-option",20),P(1),R(2,"toNewEmailPreference"),
H());a&2&&(a=b.$implicit,E("value",a),z(1),Lf(" ",S(2,2,a)," "))},LHb=function(a,b){a&1&&(F(0,"mat-option",20),P(1),R(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,E("value",a),z(1),Lf(" ",S(2,2,a)," "))},MHb=function(a,b){a&1&&(F(0,"mat-option",3),P(1),H());a&2&&(a=b.$implicit,E("value",a.id),z(1),Lf(" ",a.displayName," "))},NHb=function(a,b){return a.gmt===b.gmt?a.id>b.id?1:-1:a.gmt>b.gmt?1:-1},OHb=function(a){a&1&&(J(0),I(1,"b-spinner"),K())},PHb=function(a){a&1&&(F(0,"mat-hint"),P(1,"This field is read-only"),
H())},QHb=function(a,b){a&1&&(F(0,"mat-option",20),P(1),H());a&2&&(a=b.$implicit,E("value",a.frequency),z(1),Lf(" ",a.display," "))},RHb=function(a,b){a&1&&(F(0,"mat-option",20),P(1),H());a&2&&(a=b.$implicit,E("value",a.ordinal),z(1),Lf(" ",a.display," "))},SHb=function(a){if(a&1){var b=u();F(0,"div")(1,"mat-form-field",14)(2,"mat-label");P(3," Repeat on ");H();F(4,"mat-select",16);L("ngModelChange",function(d){w(b);var e=N(2).ngIf,g=N(2);zs(g,Object.assign({},e,{ordinal:d}));return y()});O(5,RHb,
2,2,"mat-option",17);H()()()}if(a&2){a=N(2).ngIf;var c=N(2);z(4);E("ngModel",a.ordinal);z(1);E("ngForOf",c.repeatOnOptions.get(a.frequency))}},THb=function(a,b){a&1&&(F(0,"mat-option",20),P(1),H());a&2&&(a=b.$implicit,E("value",a.timeOfDay),z(1),Lf(" ~",a.display," "))},UHb=function(a,b){if(a&1){var c=u();J(0);F(1,"div")(2,"mat-form-field",14)(3,"mat-label");P(4," Repeat at ");H();F(5,"mat-select",21);L("ngModelChange",function(e){w(c);var g=N(2).ngIf,h=N(2);zs(h,Object.assign({},g,{timeOfDay:e}));
return y()});O(6,THb,2,2,"mat-option",17);H()()();K()}if(a&2){a=b.ngIf;b=N(2).ngIf;var d=N(2);z(5);E("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);z(1);E("ngForOf",a)}},VHb=function(a){a&1&&(F(0,"div",22),P(1),H());a&2&&(a=N(2).ngIf,z(1),Lf(" Subscription ID: ",a.id," "))},WHb=function(a){if(a&1){var b=u();J(0);F(1,"div")(2,"mat-form-field",14)(3,"mat-label");P(4," Frequency ");H();F(5,"mat-select",16);L("ngModelChange",function(d){w(b);var e=N().ngIf,g=N(2);return y(g.setFrequency(d,e))});
O(6,QHb,2,2,"mat-option",17);H()()();O(7,SHb,6,2,"div",0);O(8,UHb,7,3,"ng-container",0);R(9,"async");F(10,"div")(11,"b-timezone-picker",18);L("timezoneIdChange",function(d){w(b);var e=N().ngIf,g=N(2);return y(g.setTimeZone(d,e))});H()();O(12,VHb,2,1,"div",19);K()}if(a&2){a=N().ngIf;var c=N(2);z(5);E("ngModel",a.frequency);z(1);E("ngForOf",c.frequencyOptions);z(1);E("ngIf",a.frequency!==c.DAILY);z(1);E("ngIf",S(9,7,c.repeatAtOptions$));z(3);E("timezoneId",a.timeZone.id)("fullWidth",!0);z(1);E("ngIf",
a.id)}},YHb=function(a,b){if(a&1){var c=u();J(0);F(1,"div")(2,"div",7)(3,"mat-slide-toggle",13);L("change",function(){w(c);var d=N(2);return y(XHb(d))});R(4,"async");P(5," Subscribe to your own reports ");O(6,OHb,2,0,"ng-container",0);R(7,"async");H()();F(8,"div")(9,"mat-form-field",14)(10,"mat-label");P(11,"Scope");H();F(12,"input",15);L("focus",function(){w(c);var d=N(2);return y(d.inputHasFocus=!0)})("blur",function(){w(c);var d=N(2);return y(d.inputHasFocus=!1)});H();O(13,PHb,2,0,"mat-hint",0);
H()();O(14,WHb,13,9,"ng-container",0);H();K()}a&2&&(a=b.ngIf,b=N(2),z(3),E("disabled",S(4,6,b.isThinking$))("checked",0!==a.id),z(3),E("ngIf",S(7,8,b.isThinking$)),z(6),E("ngModel",b.currentUser.email),z(1),E("ngIf",b.inputHasFocus),z(1),E("ngIf",0!==a.id))},ZHb=function(a){a&1&&(J(0),F(1,"div",1)(2,"div",2)(3,"p",3),P(4,"Frequency settings"),H(),F(5,"p",10),P(6," Choose when to receive your own reports. "),F(7,"a",11),P(8,"Learn more"),H()()(),O(9,YHb,15,10,"ng-container",0),R(10,"async"),H(),I(11,
"hr",12),K());a&2&&(a=N(),z(9),E("ngIf",S(10,1,a.userSubscription$)))},$Hb=function(a){a&1&&(J(0),I(1,"b-spinner"),K())},aIb=function(a){a&1&&(F(0,"th",31),P(1,"Scope"),H())},bIb=function(a,b){a&1&&(F(0,"td",32),P(1),H());a&2&&(a=b.$implicit,z(1),Lf(" ",a.lead.emailAddress," "))},cIb=function(a){a&1&&(F(0,"th",31),P(1,"Frequency"),H())},fIb=function(a,b){a&1&&(F(0,"td",32),P(1),R(2,"async"),R(3,"async"),H());if(a&2){a=b.$implicit;b=N(2);var c;z(1);Aka(" ",b.frequencyDisplayMap.get(a.frequency)," ",
a.ordinal?"weekly"===a.frequency?"- "+dIb[a.ordinal-1].display:"monthly"===a.frequency?"- "+eIb(a.ordinal):"":""," - ",null==(c=S(2,4,b.hourOfDayDisplayMap$))?null:c.get(a.timeOfDay.hours)," - ",null==(c=S(3,6,b.timeZoneDisplayMap$))?null:c.get(a.timeZone.id)," ")}},gIb=function(a){a&1&&I(0,"th",31)},iIb=function(a){if(a&1){var b=u();F(0,"td",32)(1,"button",33);I(2,"mat-icon",34);H();F(3,"mat-menu",null,35)(5,"button",36);L("click",function(){var d=w(b).$implicit,e=N(2);return y(e.openDialog(d))});
P(6," Edit subscription ");H();F(7,"button",37);L("click",function(){var d=w(b).$implicit,e=N(2);return y(hIb(e,d))});P(8," Delete subscription ");H()()()}if(a&2){var c=Kf(4);z(1);E("matMenuTriggerFor",c)}},jIb=function(a){a&1&&I(0,"tr",38)},kIb=function(a,b){a&1&&I(0,"tr",39);a&2&&(a=b.$implicit,of("aria-label","Subscription with ID "+a.id+" and scoped to "+a.lead.emailAddress))},lIb=function(a){a&1&&(J(0),F(1,"table",23),J(2,24),O(3,aIb,2,0,"th",25),O(4,bIb,2,1,"td",26),K(),J(5,27),O(6,cIb,2,0,
"th",25),O(7,fIb,4,8,"td",26),K(),J(8,28),O(9,gIb,1,0,"th",25),O(10,iIb,9,1,"td",26),K(),O(11,jIb,1,0,"tr",29),O(12,kIb,1,1,"tr",30),H(),K());a&2&&(a=N(),z(1),E("dataSource",a.subscriptions$),z(10),E("matHeaderRowDef",a.columns),z(1),E("matRowDefColumns",a.columns))},mIb=function(a){a&1&&(F(0,"mat-error"),P(1,"Please select a valid, single user"),H())},nIb=function(a){a&1&&(F(0,"mat-error"),P(1,"Report for sundar@ cannot be generated"),H())},oIb=function(a,b){a&1&&(F(0,"mat-option",20),P(1),H());
a&2&&(a=b.$implicit,E("value",a.frequency),z(1),Lf(" ",a.display," "))},pIb=function(a,b){a&1&&(F(0,"mat-option",20),P(1),H());a&2&&(a=b.$implicit,E("value",a.ordinal),z(1),Lf(" ",a.display," "))},qIb=function(a){if(a&1){var b=u();F(0,"div")(1,"mat-form-field",14)(2,"mat-label");P(3," Repeat on ");H();F(4,"mat-select",16);L("ngModelChange",function(d){w(b);var e=N().$implicit;return y(e.ordinal=d)});O(5,pIb,2,2,"mat-option",17);H()()()}if(a&2){a=N().$implicit;var c=N();z(4);E("ngModel",a.ordinal);
z(1);E("ngForOf",c.repeatOnOptions.get(a.frequency))}},rIb=function(a,b){a&1&&(F(0,"mat-option",20),P(1),H());a&2&&(a=b.$implicit,E("value",a.timeOfDay),z(1),Lf(" ~",a.display," "))},sIb=function(a,b){if(a&1){var c=u();J(0);F(1,"div")(2,"mat-form-field",14)(3,"mat-label");P(4," Repeat at ");H();F(5,"mat-select",21);L("ngModelChange",function(e){w(c);var g=N().$implicit;return y(g.timeOfDay=e)});O(6,rIb,2,2,"mat-option",17);H()()();K()}if(a&2){a=b.ngIf;b=N().$implicit;var d=N();z(5);E("ngModel",b.timeOfDay)("compareWith",
d.compareTimeOfDay);z(1);E("ngForOf",a)}},tIb=function(a){a&1&&(F(0,"div",22),P(1),H());a&2&&(a=N().$implicit,z(1),Lf(" Subscription ID: ",a.id," "))},wIb=function(a,b){if(a&1){var c=u();F(0,"h1",40);P(1,"Add report subscription");H();F(2,"mat-dialog-content")(3,"p",41);P(4," Select the user (scope) and frequency of the report you wish to receive. ");H();F(5,"div")(6,"mat-form-field",42)(7,"mat-label");P(8,"Scope");H();F(9,"input",43);L("ngModelChange",function(e){var g=w(c).$implicit,h=N();return y(g.lead=
h.emailToUser(e))});H();O(10,mIb,2,0,"mat-error",0);O(11,nIb,2,0,"mat-error",0);H()();F(12,"div")(13,"mat-form-field",14)(14,"mat-label");P(15," Frequency ");H();F(16,"mat-select",16);L("ngModelChange",function(e){var g=w(c).$implicit;return y(g.frequency=e)})("ngModelChange",function(e){var g=w(c).$implicit;N();return y(uIb(e,g))});O(17,oIb,2,2,"mat-option",17);H()()();O(18,qIb,6,2,"div",0);O(19,sIb,7,3,"ng-container",0);R(20,"async");F(21,"div")(22,"b-timezone-picker",18);L("timezoneIdChange",function(e){var g=
w(c).$implicit;return y(g.timeZone.id=e)});H()();O(23,tIb,2,1,"div",19);F(24,"p",44);P(25," You are the only recipient of your subscription. Anyone else wishing to receive this report will need to subscribe for themselves. ");H();F(26,"a",45);P(27,"Learn more");H()();F(28,"mat-dialog-actions")(29,"button",46);P(30,"Cancel");H();F(31,"button",8);L("click",function(){var e=w(c).$implicit,g=N();return y(vIb(g,e))});P(32);H()()}if(a&2){a=b.$implicit;b=N();var d;z(9);E("ngModel",null!==(d=null==a.lead?
null:a.lead.emailAddress)&&void 0!==d?d:"")("bContactAutocomplete","SINGLE");z(1);E("ngIf",b.dialogInvalidEmailFormat);z(1);E("ngIf",b.ceoSelected);z(5);E("ngModel",a.frequency);z(1);E("ngForOf",b.frequencyOptions);z(1);E("ngIf",a.frequency!==b.DAILY);z(1);E("ngIf",S(20,13,b.repeatAtOptions$));z(3);E("timezoneId",a.timeZone.id)("fullWidth",!0);z(1);E("ngIf",a.id);z(8);E("disabled",!a.lead||!a.lead.emailAddress);z(1);Lf(" ",0===a.id?"Add":"Update"," ")}},eIb=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"},xIb=function(a){a&1&&(F(0,"mat-tab",7)(1,"div",3),I(2,"b-slo-reports-settings"),H()())},yIb=function(a){a&1&&(F(0,"mat-tab",8)(1,"div",3),I(2,"b-beap-settings"),H()())},zIb=function(a){if(a&1){var b=u();F(0,"b-star-toggle",13);L("starClicked",function(){w(b);var c=N(2);return y(c.toggleStar())});H()}a&2&&(a=N(2),E("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",
a.isStarred))},AIb=function(a){a&1&&I(0,"b-star-toggle",14);a&2&&E("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)},BIb=function(a,b){a&1&&(F(0,"li")(1,"a",15),P(2),H()());a&2&&(a=b.$implicit,b=N(2),z(1),E("href",b.getUrl(a),Ud)("title",a.description),z(1),Lf(" ",b.getDisplayName(a)," "))},CIb=function(a){if(a&1){var b=u();F(0,"div")(1,"div",4)(2,
"div",5);O(3,zIb,1,3,"b-star-toggle",6);O(4,AIb,1,4,"b-star-toggle",7);F(5,"span",8);P(6);H();F(7,"button",9);L("click",function(){w(b);var c=N();return y(c.openEditBookmarkGroup())});H()();F(8,"div",10);P(9);H()();F(10,"ul",11);O(11,BIb,3,3,"li",12);H()()}a&2&&(a=N(),z(3),E("ngIf",!a.userIsAdmin),z(1),E("ngIf",a.userIsAdmin),z(2),Lf("Bookmark Group: ",a.bookmarkGroup.name," "),z(3),Mf(a.bookmarkGroup.description),z(2),E("ngForOf",a.bookmarkGroup.item))},DIb=function(a){if(a&1){var b=u();F(0,"b-star-toggle",
16);L("starClicked",function(){w(b);var c=N(2);return y(c.toggleStar())})("keydown.space",function(c){return c.stopPropagation()})("keydown.enter",function(c){return c.stopPropagation()});H()}a&2&&(a=N(2),E("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("starred",a.isStarred))},EIb=function(a){a&1&&I(0,"b-star-toggle",17);a&2&&E("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)},FIb=function(a){a&1&&I(0,"b-star-toggle",17);a&2&&E("starMessage","")("unStarMessage","")("starred",!1)("disabled",!0)},GIb=function(a){a&1&&(F(0,"div",18),P(1," Hotlist not found. "),H());a&2&&E("bFocus",!0)},HIb=function(a){a&1&&(F(0,"div"),P(1," Loading details... "),H())},IIb=function(a){a&1&&(F(0,"span",25),P(1," (archived) "),H())},JIb=function(a){a&1&&(F(0,"span",26),P(1," \u00a0(changed) "),H())},KIb=function(a){if(a&1){var b=u();F(0,"div")(1,"span",19);P(2," Hotlist: ");
F(3,"span",20);P(4);H()();O(5,IIb,2,0,"span",21);F(6,"div",22)(7,"button",23);L("click",function(){w(b);var c=N(2);return y(c.openEditHotlist())});H()();O(8,JIb,2,0,"span",24);H()}a&2&&(a=N(2),z(3),E("matTooltip",a.hotlist.description),z(1),Lf(" ",a.hotlist.name," "),z(1),E("ngIf",a.hotlist.archived),z(3),E("ngIf",a.hasParamChanges()))},LIb=function(a){if(a&1){var b=u();F(0,"div",27)(1,"button",28);L("click",function(){w(b);var c=N(2);return y(c.save())});P(2,"Save ");H();F(3,"button",29);L("click",
function(){w(b);var c=N(2);return y(c.discardChanges())});P(4,"Discard changes ");H()()}},MIb=function(a){a&1&&(F(0,"div",9),O(1,DIb,1,3,"b-star-toggle",10),O(2,EIb,1,4,"b-star-toggle",11),O(3,FIb,1,4,"b-star-toggle",11),F(4,"div",12),O(5,GIb,2,1,"div",13),O(6,HIb,2,0,"div",14),O(7,KIb,9,4,"div",14),H(),O(8,LIb,5,0,"div",15),H());a&2&&(a=N(),z(1),E("ngIf",!a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),z(1),E("ngIf",a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),z(1),E("ngIf",!a.hotlist),
z(2),E("ngIf",!a.hotlist&&!a.hotlistLoading),z(1),E("ngIf",a.hotlistLoading),z(1),E("ngIf",a.hotlist&&!a.hotlistLoading),z(1),E("ngIf",a.hasParamChanges()))},NIb=function(a){a&1&&(F(0,"div",30),I(1,"b-spinner"),F(2,"span"),P(3),H()());a&2&&(a=N(),z(3),Lf(" Loading hotlist: ",a.hotlistId,""))},OIb=function(a){a&1&&(F(0,"div",31),P(1),H());a&2&&(a=N(),E("bFocus",!0),z(1),Lf(" No issues in hotlist ",a.hotlistId,". "))},PIb=function(a){if(a&1){var b=u();F(0,"div",32)(1,"b-issues-grid",33);L("init",function(c){w(b);
var d=N();return y(d.resultsGrid=c)})("focusedRowIndexChange",function(c){w(b);var d=N();return y(d.focusedRowIndex=c)})("columnsChange",function(c){w(b);var d=N();return y(d.issueColumns=c)})("sortChange",function(c){w(b);var d=N();return y(d.setSort(c.field,c.direction))})("rowClick",function(c){w(b);var d=N();return y(d.goToIssue(c.id,c.isRead,c.event))})("onRowDragDrop",function(c){w(b);var d=N();return y(d.repositionIssue(c.srcIndex,c.destIndex))})("onNextPage",function(){w(b);var c=N();return y(ss(c,
c.page,1))})("onPrevPage",function(){w(b);var c=N();return y(ss(c,c.page,-1))});H()()}a&2&&(a=N(),z(1),E("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},QIb=function(a){a&1&&(F(0,"div"),P(1," Loading details... "),H())},RIb=function(a){a&1&&(F(0,"div"),P(1," Saved search not found. "),H())},SIb=function(a){a&1&&(F(0,"span",15),P(1," \u00a0(changed) "),H())},TIb=function(a){if(a&
1){var b=u();F(0,"div",11);P(1," Saved search: ");F(2,"span",12);P(3);H();F(4,"button",13);L("click",function(){w(b);var c=N(2);return y(c.openEditSavedSearch())});H();O(5,SIb,2,0,"span",14);H()}a&2&&(a=N(2),z(2),E("matTooltip",a.savedSearch.description),z(1),Lf(" ",a.savedSearch.name," "),z(2),E("ngIf",a.hasParamChanges()))},UIb=function(a){a&1&&(F(0,"div",9),O(1,QIb,2,0,"div",8),O(2,RIb,2,0,"div",8),O(3,TIb,6,3,"div",10),H());a&2&&(a=N(),z(1),E("ngIf",!a.savedSearch&&a.isLoading),z(1),E("ngIf",
!a.savedSearch&&!a.isLoading),z(1),E("ngIf",a.savedSearch))},VIb=function(a){if(a&1){var b=u();F(0,"div",16)(1,"button",17);L("click",function(){w(b);var c=N();return y(c.save())});P(2,"Save ");H();F(3,"button",18);L("click",function(){w(b);var c=N();return y(c.discardChanges())});P(4,"Discard changes ");H();F(5,"span",19)(6,"a",20);L("click",function(){w(b);var c=N();c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"backToNormalSearch");return y()});P(7," Back to normal search");H()()()}a&2&&(a=N(),z(6),
E("href",a.exitLink,Ud))},WIb=function(a){a&1&&(F(0,"span"),P(1),H());a&2&&(a=N(3),z(1),Lf(" Searching",a.searchParams.query?" for "+a.searchParams.query:"","..."))},XIb=function(a){a&1&&(F(0,"div",24),I(1,"b-spinner"),O(2,WIb,2,1,"span",8),H());a&2&&(a=N(2),z(2),E("ngIf",a.searchParams))},YIb=function(a){a&1&&(F(0,"div",25),P(1," No issues in saved search. "),H());a&2&&E("bFocus",!0)},ZIb=function(a){if(a&1){var b=u();F(0,"div",26)(1,"b-issues-grid",27);L("init",function(c){w(b);var d=N(2);return y(d.resultsGrid=
c)})("focusedRowIndexChange",function(c){w(b);var d=N(2);return y(d.focusedRowIndex=c)})("columnsChange",function(c){w(b);var d=N(2);return y(d.issueColumns=c)})("sortChange",function(c){w(b);var d=N(2);return y(d.setSort(c.field,c.direction))})("rowClick",function(c){w(b);var d=N(2);return y(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){w(b);var c=N(2);return y(ss(c,c.page,1))})("onPrevPage",function(){w(b);var c=N(2);return y(ss(c,c.page,-1))});H()()}a&2&&(a=N(2),z(1),E("searchResults",
a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},$Ib=function(a){a&1&&(F(0,"div"),O(1,XIb,3,1,"div",21),O(2,YIb,2,1,"div",22),O(3,ZIb,2,6,"div",23),H());a&2&&(a=N(),z(1),E("ngIf",a.isLoading),z(1),E("ngIf",!a.isLoading&&!a.hasResults()),z(1),E("ngIf",!a.isLoading&&a.hasResults()))},As=function(a,b){return vl().config.enabledFlags.get(a)?[b]:[]},aJb=function(){var a=Jc(Bs).getEnvironmentType(),
b={};return(b.DEV="Dev",b.NIGHTLY="Autopush",b.QA="Dev",b.PROD="Prod",b)[a]},bJb=function(a,b){var c={};return An("A",(c.href=b,c.target="_blank",c.rel="noopener noreferrer nofollow",c),a)},dJb=function(){return new cJb(new Cs("https://people-pa.googleapis.com","AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s",{withCredentials:!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0}))},eJb=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:
{done:!0}}},fJb="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},gJb=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");},sh=gJb(this),Ds=function(a,b){if(b)a:{var c=sh;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&&fJb(c,a,{configurable:!0,writable:!0,value:b})}};Ds("Symbol",function(a){if(a)return a;var b=function(g,h){this.$jscomp$symbol$id_=g;fJb(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(g){if(this instanceof e)throw new TypeError("b");return new b(c+(g||"")+"_"+d++,g)};return e});
Ds("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=sh[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&fJb(d.prototype,a,{configurable:!0,writable:!0,value:function(){return hJb(eJb(this))}})}return a});Ds("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
var hJb=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},Es=function(a){return a.raw=a},k=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if("number"==typeof a.length)return{next:eJb(a)};throw Error("e`"+String(a));},Fe=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c},cd=function(a){return a instanceof Array?a:Fe(k(a))},Fs=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},iJb="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)Fs(d,e)&&(a[e]=d[e])}return a};Ds("Object.assign",function(a){return a||iJb});var jJb="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},kJb;
if("function"==typeof Object.setPrototypeOf)kJb=Object.setPrototypeOf;else{var lJb;a:{var mJb={a:!0},nJb={};try{nJb.__proto__=mJb;lJb=nJb.a;break a}catch(a){}lJb=!1}kJb=lJb?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError("f`"+a);return a}:null}
var Gs=kJb,T=function(a,b){a.prototype=jJb(b.prototype);a.prototype.constructor=a;if(Gs)Gs(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},oJb=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};f=oJb.prototype;
f.start_=function(){if(this.isRunning_)throw new TypeError("h");this.isRunning_=!0};f.next_=function(a){this.yieldResult=a};f.throw_=function(a){this.abruptCompletion_={exception:a,isException:!0};this.nextAddress=this.catchAddress_||this.finallyAddress_};f.return=function(a){this.abruptCompletion_={return:a};this.nextAddress=this.finallyAddress_};f.yield=function(a,b){this.nextAddress=b;return{value:a}};f.jumpTo=function(a){this.nextAddress=a};
var ue=function(a){a.nextAddress=0},qe=function(a,b,c){a.catchAddress_=b;void 0!=c&&(a.finallyAddress_=c)},Hs=function(a,b){a.nextAddress=b;a.catchAddress_=0},te=function(a){a.catchAddress_=0;var b=a.abruptCompletion_.exception;a.abruptCompletion_=null;return b},re=function(a,b,c,d){d?a.finallyContexts_[d]=a.abruptCompletion_:a.finallyContexts_=[a.abruptCompletion_];a.catchAddress_=b||0;a.finallyAddress_=c||0},se=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},pJb=function(a){this.context_=new oJb;this.program_=a};pJb.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return qJb(this,this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return Is(this)};
var rJb=function(a,b){a.context_.start_();var c=a.context_.yieldAllIterator_;if(c)return qJb(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.context_.return);a.context_.return(b);return Is(a)};pJb.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return qJb(this,this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return Is(this)};
var qJb=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 g=e.value}catch(h){return a.context_.yieldAllIterator_=null,a.context_.throw_(h),Is(a)}a.context_.yieldAllIterator_=null;d.call(a.context_,g);return Is(a)},Is=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}},sJb=function(a){this.next=function(b){return a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b){return rJb(a,b)};this[Symbol.iterator]=function(){return this}},mlb=function(a){var b=nlb;a=new sJb(new pJb(a));Gs&&b.prototype&&Gs(a,
b.prototype);return a},tJb=function(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function g(h){h.done?d(h.value):Promise.resolve(h.value).then(b,c).then(g,e)}g(a.next())})},pe=function(a){return tJb(new sJb(new pJb(a)))},Sha=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))})},Zc=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};Ds("Reflect.setPrototypeOf",function(a){return a?a:Gs?function(b,c){try{return Gs(b,c),!0}catch(d){return!1}}:null});
Ds("Promise",function(a){function b(){this.batch_=null}function c(h){return h instanceof e?h:new e(function(l){l(h)})}if(a)return a;b.prototype.asyncExecute=function(h){if(null==this.batch_){this.batch_=[];var l=this;this.asyncExecuteFunction(function(){l.executeBatch_()})}this.batch_.push(h)};var d=sh.setTimeout;b.prototype.asyncExecuteFunction=function(h){d(h,0)};b.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var h=this.batch_;this.batch_=[];for(var l=0;l<h.length;++l){var q=
h[l];h[l]=null;try{q()}catch(v){this.asyncThrow_(v)}}}this.batch_=null};b.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var e=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var l=this.createResolveAndReject_();try{h(l.resolve,l.reject)}catch(q){l.reject(q)}};e.prototype.createResolveAndReject_=function(){function h(v){return function(x){q||(q=!0,v.call(l,x))}}var l=this,q=!1;return{resolve:h(this.resolveTo_),
reject:h(this.reject_)}};e.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("i"));else if(h instanceof e)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var l=null!=h;break a;case "function":l=!0;break a;default:l=!1}l?this.resolveToNonPromiseObj_(h):this.fulfill_(h)}};e.prototype.resolveToNonPromiseObj_=function(h){var l=void 0;try{l=h.then}catch(q){this.reject_(q);return}"function"==typeof l?this.settleSameAsThenable_(l,h):this.fulfill_(h)};e.prototype.reject_=
function(h){this.settle_(2,h)};e.prototype.fulfill_=function(h){this.settle_(1,h)};e.prototype.settle_=function(h,l){if(0!=this.state_)throw Error("j`"+h+"`"+l+"`"+this.state_);this.state_=h;this.result_=l;2===this.state_&&this.scheduleUnhandledRejectionCheck_();this.executeOnSettledCallbacks_()};e.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;d(function(){if(h.notifyUnhandledRejection_()){var l=sh.console;"undefined"!==typeof l&&l.error(h.result_)}},1)};e.prototype.notifyUnhandledRejection_=
function(){if(this.isRejectionHandled_)return!1;var h=sh.CustomEvent,l=sh.Event,q=sh.dispatchEvent;if("undefined"===typeof q)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!0}):"function"===typeof l?h=new l("unhandledrejection",{cancelable:!0}):(h=sh.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)g.asyncExecute(this.onSettledCallbacks_[h]);this.onSettledCallbacks_=null}};var g=new b;e.prototype.settleSameAsPromise_=function(h){var l=this.createResolveAndReject_();h.callWhenSettled_(l.resolve,l.reject)};e.prototype.settleSameAsThenable_=function(h,l){var q=this.createResolveAndReject_();try{h.call(l,q.resolve,q.reject)}catch(v){q.reject(v)}};e.prototype.then=function(h,l){function q(G,M){return"function"==typeof G?function(Q){try{v(G(Q))}catch(Y){x(Y)}}:
M}var v,x,A=new e(function(G,M){v=G;x=M});this.callWhenSettled_(q(h,v),q(l,x));return A};e.prototype.catch=function(h){return this.then(void 0,h)};e.prototype.callWhenSettled_=function(h,l){function q(){switch(v.state_){case 1:h(v.result_);break;case 2:l(v.result_);break;default:throw Error("k`"+v.state_);}}var v=this;null==this.onSettledCallbacks_?g.asyncExecute(q):this.onSettledCallbacks_.push(q);this.isRejectionHandled_=!0};e.resolve=c;e.reject=function(h){return new e(function(l,q){q(h)})};e.race=
function(h){return new e(function(l,q){for(var v=k(h),x=v.next();!x.done;x=v.next())c(x.value).callWhenSettled_(l,q)})};e.all=function(h){var l=k(h),q=l.next();return q.done?c([]):new e(function(v,x){function A(Q){return function(Y){G[Q]=Y;M--;0==M&&v(G)}}var G=[],M=0;do G.push(void 0),M++,c(q.value).callWhenSettled_(A(G.length-1),x),q=l.next();while(!q.done)})};return e});var Js=function(a,b,c){if(null==a)throw new TypeError("l`"+c);if(b instanceof RegExp)throw new TypeError("m`"+c);return a+""};
Ds("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Js(this,b,"startsWith"),e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var h=0;h<g&&c<e;)if(d[c++]!=b[h++])return!1;return h>=g}});var uJb=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var g=a[e];if(b.call(c,g,e,a))return{i:e,v:g}}return{i:-1,v:void 0}};Ds("Array.prototype.find",function(a){return a?a:function(b,c){return uJb(this,b,c).v}});
Ds("WeakMap",function(a){function b(){}function c(q){var v=typeof q;return"object"===v&&null!==q||"function"===v}function d(q){if(!Fs(q,g)){var v=new b;fJb(q,g,{value:v})}}function e(q){var v=Object[q];v&&(Object[q]=function(x){if(x instanceof b)return x;Object.isExtensible(x)&&d(x);return v(x)})}if(function(){if(!a||!Object.seal)return!1;try{var q=Object.seal({}),v=Object.seal({}),x=new a([[q,2],[v,3]]);if(2!=x.get(q)||3!=x.get(v))return!1;x.delete(q);x.set(v,4);return!x.has(q)&&4==x.get(v)}catch(A){return!1}}())return a;
var g="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var h=0,l=function(q){this.id_=(h+=Math.random()+1).toString();if(q){q=k(q);for(var v;!(v=q.next()).done;)v=v.value,this.set(v[0],v[1])}};l.prototype.set=function(q,v){if(!c(q))throw Error("n");d(q);if(!Fs(q,g))throw Error("o`"+q);q[g][this.id_]=v;return this};l.prototype.get=function(q){return c(q)&&Fs(q,g)?q[g][this.id_]:void 0};l.prototype.has=function(q){return c(q)&&Fs(q,g)&&Fs(q[g],this.id_)};l.prototype.delete=
function(q){return c(q)&&Fs(q,g)&&Fs(q[g],this.id_)?delete q[g][this.id_]:!1};return l});
Ds("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var l=Object.seal({x:4}),q=new a(k([[l,"s"]]));if("s"!=q.get(l)||1!=q.size||q.get({x:4})||q.set({x:4},"t")!=q||2!=q.size)return!1;var v=q.entries(),x=v.next();if(x.done||x.value[0]!=l||"s"!=x.value[1])return!1;x=v.next();return x.done||4!=x.value[0].x||"t"!=x.value[1]||!v.next().done?!1:!0}catch(A){return!1}}())return a;var b=new WeakMap,c=function(l){this.data_={};this.head_=
g();this.size=0;if(l){l=k(l);for(var q;!(q=l.next()).done;)q=q.value,this.set(q[0],q[1])}};c.prototype.set=function(l,q){l=0===l?0:l;var v=d(this,l);v.list||(v.list=this.data_[v.id]=[]);v.entry?v.entry.value=q:(v.entry={next:this.head_,previous:this.head_.previous,head:this.head_,key:l,value:q},v.list.push(v.entry),this.head_.previous.next=v.entry,this.head_.previous=v.entry,this.size++);return this};c.prototype.delete=function(l){l=d(this,l);return l.entry&&l.list?(l.list.splice(l.index,1),l.list.length||
delete this.data_[l.id],l.entry.previous.next=l.entry.next,l.entry.next.previous=l.entry.previous,l.entry.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.data_={};this.head_=this.head_.previous=g();this.size=0};c.prototype.has=function(l){return!!d(this,l).entry};c.prototype.get=function(l){return(l=d(this,l).entry)&&l.value};c.prototype.entries=function(){return e(this,function(l){return[l.key,l.value]})};c.prototype.keys=function(){return e(this,function(l){return l.key})};c.prototype.values=
function(){return e(this,function(l){return l.value})};c.prototype.forEach=function(l,q){for(var v=this.entries(),x;!(x=v.next()).done;)x=x.value,l.call(q,x[1],x[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(l,q){var v=q&&typeof q;"object"==v||"function"==v?b.has(q)?v=b.get(q):(v=""+ ++h,b.set(q,v)):v="p_"+q;var x=l.data_[v];if(x&&Fs(l.data_,v))for(l=0;l<x.length;l++){var A=x[l];if(q!==q&&A.key!==A.key||q===A.key)return{id:v,list:x,index:l,entry:A}}return{id:v,list:x,index:-1,
entry:void 0}},e=function(l,q){var v=l.head_;return hJb(function(){if(v){for(;v.head!=l.head_;)v=v.previous;for(;v.next!=v.head;)return v=v.next,{done:!1,value:q(v)};v=null}return{done:!0,value:void 0}})},g=function(){var l={};return l.previous=l.next=l.head=l},h=0;return c});Ds("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)Fs(b,d)&&c.push(b[d]);return c}});Ds("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
Ds("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 g=d[c];if(g===b||Object.is(g,b))return!0}return!1}});Ds("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==Js(this,b,"includes").indexOf(b,c||0)}});Ds("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});
Ds("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});Ds("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}});Ds("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});Ds("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}});
Ds("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});var vJb=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};Ds("Array.prototype.entries",function(a){return a?a:function(){return vJb(this,function(b,c){return[b,c]})}});
Ds("Array.prototype.keys",function(a){return a?a:function(){return vJb(this,function(b){return b})}});Ds("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(l){return l};var e=[],g="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof g){b=g.call(b);for(var h=0;!(g=b.next()).done;)e.push(c.call(d,g.value,h++))}else for(g=b.length,h=0;h<g;h++)e.push(c.call(d,b[h],h));return e}});
Ds("Array.prototype.values",function(a){return a?a:function(){return vJb(this,function(b,c){return c})}});Ds("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 Ks=function(a){return a?a:Array.prototype.fill};Ds("Int8Array.prototype.fill",Ks);Ds("Uint8Array.prototype.fill",Ks);Ds("Uint8ClampedArray.prototype.fill",Ks);
Ds("Int16Array.prototype.fill",Ks);Ds("Uint16Array.prototype.fill",Ks);Ds("Int32Array.prototype.fill",Ks);Ds("Uint32Array.prototype.fill",Ks);Ds("Float32Array.prototype.fill",Ks);Ds("Float64Array.prototype.fill",Ks);Ds("Object.setPrototypeOf",function(a){return a||Gs});
Ds("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(k([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),g=e.next();if(g.done||g.value[0]!=c||g.value[1]!=c)return!1;g=e.next();return g.done||g.value[0]==c||4!=g.value[0].x||g.value[1]!=g.value[0]?!1:e.next().done}catch(h){return!1}}())return a;var b=function(c){this.map_=new Map;if(c){c=
k(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.map_.size};b.prototype.add=function(c){c=0===c?0:c;this.map_.set(c,c);this.size=this.map_.size;return this};b.prototype.delete=function(c){c=this.map_.delete(c);this.size=this.map_.size;return c};b.prototype.clear=function(){this.map_.clear();this.size=0};b.prototype.has=function(c){return this.map_.has(c)};b.prototype.entries=function(){return this.map_.entries()};b.prototype.values=function(){return this.map_.values()};b.prototype.keys=
b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.map_.forEach(function(g){return c.call(d,g,g,e)})};return b});Ds("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)Fs(b,d)&&c.push([d,b[d]]);return c}});
Ds("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=Js(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}});Ds("String.prototype.repeat",function(a){return a?a:function(b){var c=Js(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}});Ds("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});
Ds("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}});Ds("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}});Ds("Array.prototype.findIndex",function(a){return a?a:function(b,c){return uJb(this,b,c).i}});
Ds("Array.prototype.flatMap",function(a){return a?a:function(b,c){var d=[];Array.prototype.forEach.call(this,function(e,g){e=b.call(c,e,g,this);Array.isArray(e)?d.push.apply(d,e):d.push(e)});return d}});
Ds("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,g={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}}};g[Symbol.iterator]=function(){return g};return g}});
Ds("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;})})}});Ds("globalThis",function(a){return a||sh});
Ds("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}});Ds("String.prototype.padStart",function(a){return a?a:function(b,c){var d=Js(this,null,"padStart");b-=d.length;c=void 0!==c?String(c):" ";return(0<b&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});
Ds("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(g){return e.resolve(g).then(b,c)});return e.all(d)}});
Ds("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)}});Ds("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});
Ds("String.prototype.codePointAt",function(a){return a?a:function(b){var c=Js(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 wJb=wJb||{},ba=this||self,No=function(a,b){a=a.split(".");b=b||ba;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b},Ya=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},va=function(a){var b=Ya(a);return"array"==b||"object"==b&&"number"==typeof a.length},wa=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},xa=function(a){return Object.prototype.hasOwnProperty.call(a,xJb)&&a[xJb]||(a[xJb]=++yJb)},xJb="closure_uid_"+(1E9*Math.random()>>>
0),yJb=0,zJb=function(a,b,c){return a.call.apply(a.bind,arguments)},AJb=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)}},Ls=function(a,b,c){Ls=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?zJb:AJb;return Ls.apply(null,arguments)},Ms=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)}},BJb=function(a){(0,eval)(a)},CJb=function(a,b){a=a.split(".");var c=ba;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},Ns=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,g){for(var h=Array(arguments.length-2),l=2;l<arguments.length;l++)h[l-2]=arguments[l];return b.prototype[e].apply(d,h)}},DJb=function(a){return a};Ns(aa,Error);aa.prototype.name="CustomError";var EJb;Ns(aaa,aa);aaa.prototype.name="AssertionError";var di=function(a,b){return 0==a.lastIndexOf(b,0)},Os=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},pfb=function(a){return 0==eq("@ldap.google.com",a.slice(a.length-16))},Mk=function(a){return/^[\s\xa0]*$/.test(a)},fi=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},eq=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},MJb=function(a){if(!FJb.test(a))return a;-1!=a.indexOf("&")&&
(a=a.replace(GJb,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(HJb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(IJb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(JJb,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(KJb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(LJb,"&#0;"));return a},GJb=/&/g,HJb=/</g,IJb=/>/g,JJb=/"/g,KJb=/'/g,LJb=/\x00/g,FJb=/[\x00&<>"']/,fa=function(a,b){return-1!=a.indexOf(b)},na=function(a,b){return fa(a.toLowerCase(),b.toLowerCase())},taa=function(a,b){var c=0;a=fi(String(a)).split(".");
b=fi(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&e<d;e++){var g=a[e]||"",h=b[e]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==g[0].length&&0==h[0].length)break;c=NJb(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||NJb(0==g[2].length,0==h[2].length)||NJb(g[2],h[2]);g=g[3];h=h[3]}while(0==c)}return c},NJb=function(a,b){return a<b?-1:a>b?1:0};var da,OJb=No("WIZ_global_data.oxN3nb"),PJb=OJb&&OJb[610401301];da=null!=PJb?PJb:!1;var ea,QJb=ba.navigator;ea=QJb?QJb.userAgentData||null:null;var xaa=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},pa=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,g=0;g<d;g++)g in e&&b.call(c,e[g],g,a)},RJb=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=[],g=0,h="string"===typeof a?a.split(""):a,l=0;l<d;l++)if(l in h){var q=h[l];b.call(c,q,l,a)&&(e[g++]=q)}return e},SJb=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,g=0;g<c;g++)g in e&&(d[g]=b.call(void 0,e[g],g,a));return d},TJb=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 UJb=function(a){UJb[" "](a);return a};UJb[" "]=function(){};var VJb=function(a,b){try{return UJb(a[b]),!0}catch(c){}return!1};var WJb=daa(),Ps=eaa(),Qs=ha("Edge"),up=Qs||Ps,Rs=ha("Gecko")&&!(na(ca(),"WebKit")&&!ha("Edge"))&&!(ha("Trident")||ha("MSIE"))&&!ha("Edge"),Ss=na(ca(),"WebKit")&&!ha("Edge"),XJb=Ss&&ha("Mobile"),qq=qaa(),YJb=raa(),ZJb=(la()?"Linux"===ea.platform:ha("Linux"))||saa(),$Jb=ba.navigator||null;$Jb&&fa($Jb.appVersion||"","X11");var aKb=oaa(),bKb=paa(),cKb=ha("iPad"),dKb=ha("iPod"),eKb=ma();na(ca(),"KaiOS");var fKb=function(){var a=ba.document;return a?a.documentMode:void 0},gKb;
a:{var hKb="",iKb=function(){var a=ca();if(Rs)return/rv:([^\);]+)(\)|;)/.exec(a);if(Qs)return/Edge\/([\d\.]+)/.exec(a);if(Ps)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Ss)return/WebKit\/(\S+)/.exec(a);if(WJb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();iKb&&(hKb=iKb?iKb[1]:"");if(Ps){var jKb=fKb();if(null!=jKb&&jKb>parseFloat(hKb)){gKb=String(jKb);break a}}gKb=hKb}var kKb=gKb,lKb;if(ba.document&&Ps){var mKb=fKb();lKb=mKb?mKb:parseInt(kKb,10)||void 0}else lKb=void 0;var Ts=lKb;var nKb=haa(),oKb=paa()||ha("iPod"),pKb=ha("iPad"),qKb=kaa(),rKb=iaa(),sKb=jaa()&&!ma();var tKb={},Us=null,uKb=Rs||Ss||!sKb&&!Ps&&"function"==typeof ba.atob,Kaa=function(a,b){void 0===b&&(b=0);vKb();b=tKb[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,g=0;e<a.length-2;e+=3){var h=a[e],l=a[e+1],q=a[e+2],v=b[h>>2];h=b[(h&3)<<4|l>>4];l=b[(l&15)<<2|q>>6];q=b[q&63];c[g++]=v+h+l+q}v=0;q=d;switch(a.length-e){case 2:v=a[e+1],q=b[(v&15)<<2]||d;case 1:a=a[e],c[g]=b[a>>2]+b[(a&3)<<4|v>>4]+q+d}return c.join("")},gmb=function(a){if(uKb)return ba.atob(a);var b="";wKb(a,function(c){b+=
String.fromCharCode(c)});return b},xKb=function(a){var b=[];wKb(a,function(c){b.push(c)});return b},Oaa=function(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):fa("=.",a[b-1])&&(c=fa("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;wKb(a,function(g){d[e++]=g});return e!==c?d.subarray(0,e):d},wKb=function(a,b){function c(q){for(;d<a.length;){var v=a.charAt(d++),x=Us[v];if(null!=x)return x;if(!Mk(v))throw Error("F`"+v);}return q}vKb();for(var d=0;;){var e=c(-1),g=c(0),h=c(64),l=c(64);if(64===l&&-1===
e)break;b(e<<2|g>>4);64!=h&&(b(g<<4&240|h>>2),64!=l&&b(h<<6&192|l))}},vKb=function(){if(!Us){Us={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));tKb[c]=d;for(var e=0;e<d.length;e++){var g=d[e];void 0===Us[g]&&(Us[g]=e)}}}};var Raa="undefined"!==typeof Uint8Array,Jaa=!Ps&&"function"===typeof btoa,Paa=/[-_.]/g,Maa={"-":"+",_:"/",".":"="},Saa,Ca={};var yKb,Ba=function(a,b){if(b!==Ca)throw Error("G");this.value_=a;if(null!=a&&0===a.length)throw Error("H");},za=function(){return yKb||(yKb=new Ba(null,Ca))},Lb=function(a){var b=a.value_;return null==b?"":"string"===typeof b?b:a.value_=Laa(b)},$La=function(a){return(a=Ea(a))?new Uint8Array(a):Taa()};Ba.prototype.isEmpty=function(){return null==this.value_};Ba.prototype.sizeBytes=function(){var a=Ea(this);return a?a.length:0};
var zKb=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=Ea(a);b=Ea(b);return Uaa(c,b)},Ea=function(a){if(Ca!==Ca)throw Error("G");var b=a.value_;null==b||ya(b)||("string"===typeof b?b=Qaa(b):(Ya(b),b=null));return null==b?
b:a.value_=b},Gba=function(a,b,c,d){var e=Cba;if("string"===typeof b)b=b?new Ba(b,Ca):za(),e(c,d,b);else if(b instanceof Uint8Array)b=b.length?new Ba(new Uint8Array(b),Ca):za(),e(c,d,b);else if(!(b instanceof Ba))return!1;return zKb(a,b)};var AKb="function"===typeof Uint8Array.prototype.slice,Fa=0,Ga=0,aba="function"===typeof BigInt;var BKb=function(a,b){this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.init(a,void 0,void 0,b)};f=BKb.prototype;f.init=function(a,b,c,d){d=void 0===d?{}:d;this.aliasBytesFields=void 0===d.aliasBytesFields?!1:d.aliasBytesFields;a&&(a=Waa(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_)};f.free=function(){this.clear();100>CKb.length&&CKb.push(this)};
f.clear=function(){this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.aliasBytesFields=!1};f.getEnd=function(){return this.end_};f.setEnd=function(a){this.end_=a};f.reset=function(){this.cursor_=this.start_};f.getCursor=function(){return this.cursor_};f.advance=function(a){DKb(this,this.cursor_+a)};
f.readSplitVarint64=function(a){var b=0,c=0,d=0,e=this.bytes_,g=this.cursor_;do{var h=e[g++];b|=(h&127)<<d;d+=7}while(32>d&&h&128);32<d&&(c|=(h&127)>>4);for(d=3;32>d&&h&128;d+=7)h=e[g++],c|=(h&127)<<d;DKb(this,g);if(128>h)return a(b>>>0,c>>>0);throw Error("z");};var DKb=function(a,b){a.cursor_=b;if(b>a.end_)throw Error("A`"+b+"`"+a.end_);};f=BKb.prototype;
f.readSignedVarint32=function(){var a=this.bytes_,b=this.cursor_,c=a[b++],d=c&127;if(c&128&&(c=a[b++],d|=(c&127)<<7,c&128&&(c=a[b++],d|=(c&127)<<14,c&128&&(c=a[b++],d|=(c&127)<<21,c&128&&(c=a[b++],d|=c<<28,c&128&&a[b++]&128&&a[b++]&128&&a[b++]&128&&a[b++]&128&&a[b++]&128)))))throw Error("z");DKb(this,b);return d};f.readUint8=function(){var a=this.bytes_[this.cursor_];this.advance(1);return a};
f.readUint32=function(){var a=this.bytes_,b=this.cursor_,c=a[b],d=a[b+1],e=a[b+2];a=a[b+3];this.advance(4);return(c<<0|d<<8|e<<16|a<<24)>>>0};f.readUint64=function(){var a=this.readUint32(),b=this.readUint32();return Zaa(a,b)};f.readUint64String=function(){var a=this.readUint32(),b=this.readUint32();return cba(a,b)};f.readInt8=function(){var a=this.bytes_[this.cursor_];this.advance(1);return a<<24>>24};
f.readInt32=function(){var a=this.bytes_,b=this.cursor_,c=a[b],d=a[b+1],e=a[b+2];a=a[b+3];this.advance(4);return c<<0|d<<8|e<<16|a<<24};f.readInt64=function(){var a=this.readUint32(),b=this.readUint32();return $aa(a,b)};f.readDouble=function(){var a=this.readUint32(),b=this.readUint32(),c=2*(b>>31)+1,d=b>>>20&2047;a=4294967296*(b&1048575)+a;return 2047==d?a?NaN:Infinity*c:0==d?c*Math.pow(2,-1074)*a:c*Math.pow(2,d-1075)*(a+4503599627370496)};
f.readBool=function(){for(var a=0,b=this.cursor_,c=b+10,d=this.bytes_;b<c;){var e=d[b++];a|=e;if(0===(e&128))return DKb(this,b),!!(a&127)}throw Error("z");};f.readByteString=function(a){if(0==a)return za();if(0>a)throw Error("B`"+a);var b=this.cursor_,c=b+a;if(c>this.end_)throw Error("A`"+(this.end_-b)+"`"+a);this.cursor_=c;this.aliasBytesFields&&this.bytesAreImmutable_?b=this.bytes_.subarray(b,b+a):(c=this.bytes_,a=b+a,b=b===a?Taa():AKb?c.slice(b,a):new Uint8Array(c.subarray(b,a)));return Vaa(b)};
var CKb=[];var EKb=function(a){var b=void 0;if(CKb.length){var c=CKb.pop();c.init(a,void 0,void 0,b);a=c}else a=new BKb(a,b);this.decoder_=a;this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextTag_=this.nextField_=-1;this.setOptions(b)};f=EKb.prototype;f.setOptions=function(a){a=void 0===a?{}:a;this.discardUnknownFields=void 0===a.discardUnknownFields?!1:a.discardUnknownFields};f.free=function(){this.decoder_.clear();this.nextWireType_=this.nextField_=this.nextTag_=-1;100>FKb.length&&FKb.push(this)};
f.getCursor=function(){return this.decoder_.getCursor()};f.getTag=function(){return this.nextTag_};f.reset=function(){this.decoder_.reset();this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextField_=this.nextTag_=-1};f.advance=function(a){this.decoder_.advance(a)};
var nca=function(a){var b=a.decoder_;if(b.cursor_==b.end_)return!1;a.fieldCursor_=a.decoder_.getCursor();b=a.decoder_.readSignedVarint32()>>>0;var c=b>>>3,d=b&7;if(!(0<=d&&5>=d))throw Error("v`"+d+"`"+a.fieldCursor_);if(1>c)throw Error("w`"+c+"`"+a.fieldCursor_);a.nextTag_=b;a.nextField_=c;a.nextWireType_=d;return!0},pca=function(a){switch(a.nextWireType_){case 0:0!=a.nextWireType_?pca(a):a.decoder_.readBool();break;case 1:a.decoder_.advance(8);break;case 2:if(2!=a.nextWireType_)pca(a);else{var b=
a.decoder_.readSignedVarint32()>>>0;a.decoder_.advance(b)}break;case 5:a.decoder_.advance(4);break;case 3:b=a.nextField_;do{if(!nca(a))throw Error("x");if(4==a.nextWireType_){if(a.nextField_!=b)throw Error("y");break}pca(a)}while(1);break;default:throw Error("v`"+a.nextWireType_+"`"+a.fieldCursor_);}};f=EKb.prototype;f.readInt32=function(){return this.decoder_.readSignedVarint32()};f.readInt64=function(){return this.decoder_.readSplitVarint64($aa)};
f.readUint32=function(){return this.decoder_.readSignedVarint32()>>>0};f.readUint64=function(){return this.decoder_.readSplitVarint64(Zaa)};f.readUint64String=function(){return this.decoder_.readSplitVarint64(cba)};f.readDouble=function(){return this.decoder_.readDouble()};f.readBool=function(){return this.decoder_.readBool()};f.readByteString=function(){var a=this.decoder_.readSignedVarint32()>>>0;return this.decoder_.readByteString(a)};f.readSplitVarint64=function(a){return this.decoder_.readSplitVarint64(a)};
var FKb=[];var GKb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},IKb=function(a){if(!a)return HKb||(HKb=new GKb(0,0));if(!/^\d+$/.test(a))return null;dba(a);return new GKb(Fa,Ga)},HKb,JKb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},LKb=function(a){if(!a)return KKb||(KKb=new JKb(0,0));if(!/^-?\d+$/.test(a))return null;dba(a);return new JKb(Fa,Ga)},KKb;var Vs=function(){this.buffer_=[]};Vs.prototype.length=function(){return this.buffer_.length};Vs.prototype.end=function(){var a=this.buffer_;this.buffer_=[];return a};Vs.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)};Vs.prototype.writeSplitFixed64=function(a,b){this.writeUint32(a);this.writeUint32(b)};
var MKb=function(a,b){for(;127<b;)a.buffer_.push(b&127|128),b>>>=7;a.buffer_.push(b)},NKb=function(a,b){if(0<=b)MKb(a,b);else{for(var c=0;9>c;c++)a.buffer_.push(b&127|128),b>>=7;a.buffer_.push(1)}};f=Vs.prototype;f.writeUint8=function(a){this.buffer_.push(a>>>0&255)};f.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)};
f.writeUint64=function(a){var b=a>>>0;a=Math.floor((a-b)/4294967296)>>>0;Fa=b;Ga=a;this.writeUint32(Fa);this.writeUint32(Ga)};f.writeInt8=function(a){this.buffer_.push(a>>>0&255)};f.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)};f.writeInt64=function(a){Yaa(a);this.writeSplitFixed64(Fa,Ga)};
f.writeDouble=function(a){var b=+a;if(0===b)Ga=0<1/b?0:2147483648,Fa=0;else if(isNaN(b))Ga=2147483647,Fa=4294967295;else if(b=(a=0>b?-2147483648:0)?-b:b,1.7976931348623157E308<b)Ga=(a|2146435072)>>>0,Fa=0;else if(2.2250738585072014E-308>b){var c=b/Math.pow(2,-1074);Ga=(a|c/4294967296)>>>0;Fa=c>>>0}else{var d=b;c=0;if(2<=d)for(;2<=d&&1023>c;)c++,d/=2;else for(;1>d&&-1022<c;)d*=2,c--;b*=Math.pow(2,-c);Ga=(a|c+1023<<20|1048576*b&1048575)>>>0;Fa=4503599627370496*b>>>0}this.writeUint32(Fa);this.writeUint32(Ga)};
f.writeBool=function(a){this.buffer_.push(a?1:0)};var OKb=function(){this.blocks_=[];this.totalLength_=0;this.encoder_=new Vs},Dca=function(a,b){0!==b.length&&(a.blocks_.push(b),a.totalLength_+=b.length)},Ws=function(a,b,c){MKb(a.encoder_,8*b+c)};f=OKb.prototype;f.writeInt32=function(a,b){null!=b&&null!=b&&(Ws(this,a,0),NKb(this.encoder_,b))};
f.writeInt64=function(a,b){null!=b&&("string"===typeof b&&LKb(b),null!=b&&(Ws(this,a,0),"number"===typeof b?(a=this.encoder_,Yaa(b),a.writeSplitVarint64(Fa,Ga)):(b=LKb(b),this.encoder_.writeSplitVarint64(b.lo,b.hi))))};f.writeUint32=function(a,b){null!=b&&null!=b&&(Ws(this,a,0),MKb(this.encoder_,b))};
f.writeUint64=function(a,b){null!=b&&("string"===typeof b&&IKb(b),null!=b&&(Ws(this,a,0),"number"===typeof b?(a=this.encoder_,Yaa(b),a.writeSplitVarint64(Fa,Ga)):(b=IKb(b),this.encoder_.writeSplitVarint64(b.lo,b.hi))))};f.writeDouble=function(a,b){null!=b&&(Ws(this,a,1),this.encoder_.writeDouble(b))};f.writeBool=function(a,b){null!=b&&(Ws(this,a,0),this.encoder_.writeBool(b))};f.writeSplitFixed64=function(a,b){Ws(this,a,1);this.encoder_.writeSplitFixed64(b)};
f.writeSplitVarint64=function(a,b){Ws(this,a,0);this.encoder_.writeSplitVarint64(b)};var Eca=function(a,b){this.$$binaryReaderFn=a;this.$$binaryWriterFn=b};var Xs="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():void 0,La=Xs?function(a,b){a[Xs]|=b}:function(a,b){void 0!==a.internalArrayState?a.internalArrayState|=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}})},Mba=Xs?function(a,b){a[Xs]&=~b}:function(a,b){void 0!==a.internalArrayState&&(a.internalArrayState&=~b)},Ia=Xs?function(a){return a[Xs]|0}:function(a){return a.internalArrayState|0},qb=Xs?function(a){return a[Xs]}:function(a){return a.internalArrayState},
Ja=Xs?function(a,b){a[Xs]=b}:function(a,b){void 0!==a.internalArrayState?a.internalArrayState=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}})};var lb={},PKb,vb,QKb=[];Ja(QKb,23);vb=Object.freeze(QKb);var RKb=function(a){this.idx_=0;this.arr_=a};RKb.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}};RKb.prototype[Symbol.iterator]=function(){return this};var Rba={},Mb;var yba="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():"di";var rb=function(a,b,c,d){c=void 0===c?zba:c;d=void 0===d?zba:d;var e=Ia(a);e|=32;Ja(a,e);this.arrayState=e;this.valueCtor=b;this.keyToApi=c||zba;this.valueToApi=this.valueCtor?Hba:d||zba;var g=new Map;this.map_=g;for(var h=0;h<a.length;h++){var l=a[h],q=c(l[0],!1,!0),v=l[1];b||(v=d(l[1],!1,!0,void 0,void 0,e));null!=q&&g.set(q,v)}this.size=g.size},SKb=function(a){if(a.arrayState&2)throw Error("R");},bca=function(a,b){b=void 0===b?Iba:b;for(var c=Array.from(a.map_.keys()),d=0;d<c.length;d++){var e=
c[d],g=a.map_.get(c[d]);c[d]=[b(e),b(g)]}return c},Tba=function(a,b){b=void 0===b?Iba:b;var c=[];a=a.map_.entries();for(var d;!(d=a.next()).done;)d=d.value,d[0]=b(d[0]),d[1]=b(d[1]),c.push(d);return c};f=rb.prototype;f.getLength=function(){return this.size};f.clear=function(){SKb(this);this.map_.clear();this.size=0};f.delete=function(a){SKb(this);return this.map_.delete(this.keyToApi(a,!0,!1))?(this.size=this.map_.size,!0):!1};
f.entries=function(){for(var a=Array.from(this.map_.keys()),b=0;b<a.length;b++){var c=a[b];a[b]=[c,this.get(c)]}return new RKb(a)};f.keys=function(){return this.map_.keys()};f.values=function(){for(var a=Array.from(this.map_.keys()),b=0;b<a.length;b++)a[b]=this.get(a[b]);return new RKb(a)};f.forEach=function(a,b){var c=this;this.map_.forEach(function(d,e){a.call(b,c.get(e),e,c)})};
f.set=function(a,b){SKb(this);var c=this.map_;a=this.keyToApi(a,!0,!1);if(null==a)return this;if(null==b)return c.delete(a),this;c.set(a,this.valueToApi(b,!0,!0,this.valueCtor,!1,this.arrayState));this.size=c.size;return this};f.get=function(a){a=this.keyToApi(a,!1,!1);var b=this.map_,c=b.get(a);if(void 0!==c){var d=this.arrayState,e=this.valueCtor;return e?(Array.isArray(c)&&d&16&&gba(c),d=this.valueToApi(c,!1,!0,e,this.callToMutableOnAccess,d),d!==c&&b.set(a,d),d):c}};
f.has=function(a){return this.valueCtor?null!=this.get(a):this.map_.has(a)};var Fba=function(a,b){return b instanceof rb?Jba(a.map_,b.map_):Lba(a.map_,b)};rb.prototype[Symbol.iterator]=function(){return this.entries()};var Yb=function(a,b){a=a.internalArray_;return ub(a,qb(a),b)},ub=function(a,b,c,d){if(-1===c)return null;if(c>=jba(b)){if(b&128)return a[a.length-1][c]}else{var e=a.length;if(d&&b&128&&(d=a[e-1][c],null!=d))return d;b=c+Pa(b);if(b<e)return a[b]}},V=function(a,b,c,d){var e=a.internalArray_,g=qb(e);Ua(g);tb(e,g,b,c,d);return a},Nj=function(a,b,c,d){return void 0!==Ys(a,b,c,void 0===d?!1:d)},ak=function(a,b,c,d){return void 0!==Ys(a,b,Go(a,d,c))},Zs=function(a,b,c){a=a.internalArray_;return Wba(a,qb(a),
b,c,!1,3).length},$s=function(a,b,c,d,e){Fb(a,b,c,e,d,!1,1);return a},Ho=function(a,b){a=a.internalArray_;var c=qb(a),d=ub(a,c,b),e=pba(d);null!=e&&e!==d&&tb(a,c,b,e);return e},vr=function(a,b){a=Yb(a,b);return null==a?a:"boolean"!==typeof a&&"number"!==typeof a?void 0:!!a},Jo=function(a,b){a=a.internalArray_;var c=qb(a),d=ub(a,c,b),e=Sa(d,!0,!!(c&18));null!=e&&e!==d&&tb(a,c,b,e);return e},at=function(a,b,c,d){return wb(a,b,pba,c,d)},bt=function(a,b,c,d){return wb(a,b,qb(a.internalArray_)&18?Oba:
Pba,c,d)},Qj=function(a,b){a=Jo(a,b);return null==a?za():a},Qba,TKb=function(a,b,c){a=a.internalArray_;var d=qb(a);Ua(d);c=null==c?vb:eba(c);tb(a,d,b,c)},uj=function(a,b,c){return Ab(a,b,c,gb)},Pi=function(a,b,c){return Ab(a,b,c,kb)},ct=function(a,b){return V(a,b,void 0,!1)},UKb=function(a,b,c){var d=a.internalArray_,e=qb(d);Ua(e);c=Sa(c,!1,!1);tb(d,e,b,null==c||c.isEmpty()?void 0:c);return a},so=function(a,b,c,d){var e=a.internalArray_,g=qb(e);Ua(g);(c=Vba(e,g,c))&&c!==b&&null!=d&&tb(e,g,c);tb(e,
g,b,d);return a},Go=function(a,b,c){a=a.internalArray_;return Vba(a,qb(a),b)===c?c:-1},Mi=function(a,b){a=a.internalArray_;return Vba(a,qb(a),b)},dt=function(a,b,c){a=a.internalArray_;var d=qb(a);Ua(d);var e=ub(a,d,c);b=sb(xba(e,b,!0,d));e!==b&&tb(a,d,c,b);return b},Ys=function(a,b,c,d){a=a.internalArray_;var e=qb(a),g=ub(a,e,c,d);b=xba(g,b,!1,e);b!==g&&null!=b&&tb(a,e,c,b,d);return b},VKb=function(a,b,c){return(a=Ys(a,b,c,!1))?a:wba(b)},X=function(a,b,c,d){d=void 0===d?!1:d;b=Ys(a,b,c,d);if(null==
b)return b;a=a.internalArray_;var e=qb(a);if(!(e&2)){var g=sb(b);g!==b&&(b=g,tb(a,e,c,b,d))}return b},et=function(a,b,c){return VKb(a,b,Go(a,gn,c))},kj=function(a,b,c){var d=a.internalArray_,e=qb(d);a=!!(e&2);b=Wba(d,e,b,c,void 0,a?1:2);if(!(a||Ia(b)&8)){for(c=0;c<b.length;c++)a=b[c],d=sb(a),a!==d&&(b[c]=d);La(b,8)}return b},hj=function(a,b,c,d,e){null==d&&(d=void 0);return V(a,c,d,e)},Ao=function(a,b,c,d){null==d&&(d=void 0);return so(a,b,c,d)},nj=function(a,b,c){var d=a.internalArray_,e=qb(d);Ua(e);
if(null!=c){for(var g=!!c.length,h=0;h<c.length;h++){var l=c[h];g=g&&!(Ia(l.internalArray_)&2)}h=Ia(c);l=h|1;l=(g?l|8:l&-9)|4;l!=h&&(c=fba(c,l))}null==c&&(c=void 0);tb(d,e,b,c);return a},Co=function(a,b,c,d,e){Fb(a,b,c,d,e);return a},ft=function(a,b){return qba(Yb(a,b))},Fo=function(a,b){return Yb(a,b)},Qh=function(a,b,c,d){return wb(a,b,qba,c,d)},rl=function(a,b,c,d){return wb(a,b,sba,c,d)},Sh=function(a,b,c,d){return wb(a,b,tba,c,d)},Vj=function(a,b,c){return V(a,b,Za(c))},Z=function(a,b){return vba(Yb(a,
b))},Th=function(a,b,c,d){return wb(a,b,vba,c,d)},sk=function(a,b,c){return V(a,b,uba(c))},yo=function(a,b,c,d){return so(a,b,c,uba(d))},wj=function(a,b,c){return Bb(a,b,uba(c),"")},Er=function(a,b){return rba(Yb(a,b))},cl=function(a,b,c,d){return wb(a,b,rba,c,d)},Yi=function(a,b,c){return Bb(a,b,c,0)},Tj=function(a,b,c){c=void 0===c?!1:c;return Kb(vr(a,b),c)},Rh=function(a,b,c){c=void 0===c?0:c;return Kb(ft(a,b),c)},gt=function(a,b,c){c=void 0===c?0:c;return Kb(ab(Yb(a,b)),c)},qj=function(a,b,c){c=
void 0===c?0:c;return Kb(Yb(a,b),c)},ht=function(a,b){var c=void 0===c?0:c;return Kb(Yb(a,b),c)},Ii=function(a,b,c){c=void 0===c?"0":c;return Kb(Yb(a,b),c)},WKb=function(a,b){var c=void 0===c?"0":c;return Kb(Yb(a,b),c)},rj=function(a,b,c){c=void 0===c?0:c;return Kb(Ho(a,b),c)},U=function(a,b,c){c=void 0===c?"":c;return Kb(Z(a,b),c)},Zi=function(a,b,c){c=void 0===c?0:c;return Kb(Er(a,b),c)},it=function(a,b,c){a=Qh(a,b,void 0,2);Va(a,c);return a[c]},XKb=function(a,b){a=rl(a,b,void 0,2);Va(a);return a[void 0]},
jt=function(a,b,c){a=Sh(a,b,void 0,2);Va(a,c);return a[c]},YKb=function(a,b){a=at(a,1,void 0,2);Va(a,b);return a[b]},kt=function(a,b,c){a=Th(a,b,void 0,2);Va(a,c);return a[c]},ZKb=function(a,b){a=bt(a,b,void 0,2);Va(a);return a[void 0]},lt=function(a,b,c){a=cl(a,b,void 0,2);Va(a,c);return a[c]},mt=function(a,b,c){return Db(a,b,c,void 0,Sh)},nt=function(a,b,c,d){return Db(a,b,c,kb(d),Th)},ot=function(a,b,c){return U(a,Go(a,c,b))},pt=function(a,b,c){b=Go(a,c,b);return Yb(a,b)},ZLa=function(a,b){b=Go(a,
xo,b);return Yb(a,b)},Io=function(a,b,c){return Z(a,Go(a,c,b))},ck=function(a,b,c,d){return X(a,b,Go(a,d,c))},qt=function(a,b,c){return Er(a,Go(a,c,b))},rt=function(a,b){a=ft(a,b);return null==a?void 0:a},st=function(a,b){a=Yb(a,b);return null==a?void 0:a},tt=function(a,b){a=Z(a,b);return null==a?void 0:a},Qr=function(a,b){a=Er(a,b);return null==a?void 0:a},Ok=function(a,b){return null!=vr(a,b)},Pk=function(a,b){return null!=ft(a,b)},Yk=function(a,b){return null!=Yb(a,b)},Hi=function(a,b){return null!=
Yb(a,b)},Hk=function(a,b){return null!=Z(a,b)},pj=function(a,b){return null!=Er(a,b)},fk=function(a,b,c){return zb(a,b,c,ob)};var Xba;var p=function(a,b,c){this.internalArray_=m(a,b,c)};p.prototype.toJSON=function(){return PKb?kca(this,this.internalArray_,!1):kca(this,hca(this.internalArray_),!0)};p.prototype.serialize=function(){PKb=!0;try{return JSON.stringify(this.toJSON(),aca)}finally{PKb=!1}};var Kca=function(a,b){if(null==b||""==b)return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error(void 0);return Yba(a,gba(b))};
p.prototype.getExtension=function(a){return a.ctor?a.getExtensionFn(this,a.ctor,a.fieldIndex,!0):a.isRepeated?a.getExtensionFn(this,a.fieldIndex,!0):a.getExtensionFn(this,a.fieldIndex,a.defaultValue,!0)};var Gca=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};p.prototype.hasExtension=function(a){return a.ctor?Nj(this,a.ctor,a.fieldIndex,!0):void 0!==Gca(this,a)};
p.prototype.clone=function(){var a=this.internalArray_;return jca(this,a,qb(a),!1)};p.prototype.isMutable=function(){return!(Ia(this.internalArray_)&2)};p.prototype.isImmutable=function(){return!!(Ia(this.internalArray_)&2)};var xr=function(a,b,c){b.ctor?b.setExtensionFn(a,b.ctor,b.fieldIndex,c,!0):b.setExtensionFn(a,b.fieldIndex,c,!0)};p.prototype.messagePrototypeMarker=lb;p.prototype.toString=function(){return kca(this,this.internalArray_,!1).toString()};var lca=Symbol(),uca=Symbol(),Qb=Symbol(),Pb=Symbol(),$Kb=Rb(function(a,b,c){if(0!==a.nextWireType_)return!1;Sb(b,c,a.readInt64());return!0},function(a,b,c){a.writeInt64(c,Yb(b,c))}),ut=Rb(function(a,b,c){if(0!==a.nextWireType_)return!1;Sb(b,c,a.readInt32());return!0},function(a,b,c){a.writeInt32(c,ft(b,c))}),aLb=Rb(function(a,b,c){if(0!==a.nextWireType_&&2!==a.nextWireType_)return!1;b=b.internalArray_;c=Nba(b,qb(b),c,0,!1);if(2==a.nextWireType_){b=BKb.prototype.readSignedVarint32;var d=a.decoder_.readSignedVarint32()>>>
0;for(d=a.decoder_.getCursor()+d;a.decoder_.getCursor()<d;)c.push(b.call(a.decoder_))}else c.push(a.readInt32());return!0},function(a,b,c){b=Qh(b,c);if(null!=b)for(var d=0;d<b.length;d++){var e=a,g=b[d];null!=g&&(Ws(e,c,0),NKb(e.encoder_,g))}}),bLb=Rb(function(a,b,c){if(1!==a.nextWireType_)return!1;Sb(b,c,a.decoder_.readUint64String());return!0},function(a,b,c){b=Yb(b,c);null!=b&&("string"===typeof b&&IKb(b),Ws(a,c,1),"number"===typeof b?a.encoder_.writeUint64(b):(c=IKb(b),a.encoder_.writeSplitFixed64(c.lo,
c.hi)))}),cLb=Rb(function(a,b,c){if(5!==a.nextWireType_)return!1;Sb(b,c,a.decoder_.readUint32());return!0},function(a,b,c){b=ab(Yb(b,c));null!=b&&(Ws(a,c,5),a.encoder_.writeUint32(b))}),dLb=Rb(function(a,b,c){if(0!==a.nextWireType_)return!1;Sb(b,c,a.readBool());return!0},function(a,b,c){a.writeBool(c,vr(b,c))}),eLb=Rb(function(a,b,c,d,e){if(2!==a.nextWireType_)return!1;b=dt(b,d,c);c=a.decoder_.getEnd();d=a.decoder_.readSignedVarint32()>>>0;var g=a.decoder_.getCursor()+d,h=g-c;0>=h&&(a.decoder_.setEnd(g),
e(b,a,void 0,void 0,void 0),h=g-a.decoder_.getCursor());if(h)throw Error("u`"+d+"`"+(d-h));a.decoder_.cursor_=g;a.decoder_.setEnd(c);return!0},function(a,b,c,d,e){b=Ys(b,d,c);if(null!=b){Ws(a,c,2);c=a.encoder_.end();Dca(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_++}});var Fca=function(a,b,c,d){this.fieldIndex=a;this.fieldName=b;this.ctor=c;this.toObjectFn=d;this.isRepeated=0;this.getExtensionFn=X;this.setExtensionFn=hj;this.defaultValue=void 0};var vt=function(a){this.internalArray_=m(a)};T(vt,p);vt.prototype.hasAction=function(){return pj(this,1)};vt.prototype.toObject=function(){return fLb(this)};var fLb=function(a){if(null!=a)return r(a),{action:n(Er(a,1)),prevState:n(Er(a,2))}};var gLb=function(a){this.internalArray_=m(a)};T(gLb,p);f=gLb.prototype;f.getValue=function(){return Qj(this,1)};f.setValue=function(a){return V(this,1,Sa(a,!1,!1))};f.hasValue=function(){return null!=Jo(this,1)};f.getTimestamp=function(){return qj(this,2)};f.setTimestamp=function(a){return V(this,2,a)};f.hasTimestamp=function(){return Yk(this,2)};f.toObject=function(){return hLb(this)};
var hLb=function(a){if(null!=a)return r(a),{value:Xb(a.getValue()),timestamp:n(Yb(a,2)),encodedrestrict:Xb(Qj(a,3))}};var wt=function(a){this.internalArray_=m(a)};T(wt,p);wt.prototype.getObsolete4=function(){return Qj(this,4)};wt.prototype.toObject=function(){return xt(this)};var xt=function(a){if(null!=a)return r(a),{keyid:n(ft(a,1)),wrappedkey:Xb(Qj(a,2)),extendedkeyhashstring:n(Z(a,3)),obsolete4:Xb(a.getObsolete4())}};var iLb=function(a){this.internalArray_=m(a)};T(iLb,p);iLb.prototype.toObject=function(){return jLb(this)};var jLb=function(a){if(null!=a)return r(a),{sgnDomain:n(Z(a,1)),sgnPk:n(Z(a,2)),sgnIdent:n(Z(a,3))}};var kLb=function(a){this.internalArray_=m(a)};T(kLb,p);kLb.prototype.toObject=function(){return lLb(this)};var lLb=function(a){if(null!=a)return r(a),{chatid:n(Z(a,33)),membertype:n(ft(a,34))}};var mLb=function(a){this.internalArray_=m(a)};T(mLb,p);mLb.prototype.toObject=function(){return nLb(this)};var nLb=function(a){if(null!=a)return r(a),{ownergaiaid:n(Yb(a,24)),circleid:n(Yb(a,25))}};var oLb=function(a){this.internalArray_=m(a)};T(oLb,p);oLb.prototype.toObject=function(){return pLb(this)};var pLb=function(a){if(null!=a)return r(a),{eventid:n(Z(a,30)),membertype:n(ft(a,31))}};var qLb=function(a){this.internalArray_=m(a)};T(qLb,p);qLb.prototype.toObject=function(){return rLb(this)};var rLb=function(a){if(null!=a)return r(a),{ownergaiaid:n(Yb(a,6)),groupid:n(Yb(a,7))}};var sLb=function(a){this.internalArray_=m(a)};T(sLb,p);sLb.prototype.toObject=function(){return tLb(this)};var tLb=function(a){if(null!=a)return r(a),{keyvalue:n(Yb(a,15))}};var yt=function(a){this.internalArray_=m(a)};T(yt,p);f=yt.prototype;f.getApplication=function(){return U(this,1)};f.setApplication=function(a){return sk(this,1,a)};f.getApplicationOrUndefined=function(){return tt(this,1)};f.getId=function(){return U(this,2)};f.setId=function(a){return sk(this,2,a)};f.toObject=function(){return uLb(this)};var uLb=function(a){if(null!=a)return r(a),{application:n(Z(a,1)),id:n(Z(a,2)),part:n(Z(a,3))}};var zt=function(a){this.internalArray_=m(a)};T(zt,p);zt.prototype.getResourceId=function(){return X(this,yt,39)};zt.prototype.setResourceId=function(a){hj(this,yt,39,a)};zt.prototype.hasResourceId=function(){return Nj(this,yt,39)};zt.prototype.toObject=function(){return vLb(this)};var vLb=function(a){if(null!=a)return r(a),{obsolete36:n(Z(a,36)),obsolete37:n(Z(a,37)),roleId:n(ft(a,38)),resourceId:uLb(a.getResourceId())}};var At=function(a){this.internalArray_=m(a)};T(At,p);At.prototype.getBlob=function(){return Qj(this,13)};At.prototype.clearBlob=function(){return ct(this,13)};At.prototype.toObject=function(){return wLb(this)};var wLb=function(a){if(null!=a)return r(a),{serviceid:n(ft(a,12)),blob:Xb(a.getBlob())}};var xLb=function(a){this.internalArray_=m(a)};T(xLb,p);xLb.prototype.toObject=function(){return yLb(this)};var yLb=function(a){if(null!=a)return r(a),{squareid:n(Yb(a,27)),membertype:n(ft(a,28))}};var Bt=function(a){this.internalArray_=m(a)};T(Bt,p);f=Bt.prototype;f.getKey=function(){return X(this,sLb,14)};f.hasKey=function(){return Nj(this,sLb,14)};f.getCircle=function(){return X(this,mLb,23)};f.getEvent=function(){return X(this,oLb,29)};f.toObject=function(){return zLb(this)};
var zLb=function(a){if(null!=a)return r(a),{gaiaid:n(Yb(a,1)),gaiaemail:n(Z(a,2)),inviteid:n(Yb(a,3)),orginatinginviteid:n(Yb(a,9)),gaiagroup:n(Yb(a,4)),focusGroup:rLb(X(a,qLb,5)),allusers:n(vr(a,8)),allauthenticatedusers:n(vr(a,10)),nouser:n(vr(a,41)),serviceBlob:wLb(X(a,At,11)),key:tLb(a.getKey()),userpseudonym:jLb(X(a,iLb,16)),mdbuser:n(Z(a,17)),mdbgroup:n(Z(a,18)),ldapuser:n(Z(a,19)),ldapgroup:n(Z(a,20)),obsolete21:n(ft(a,21)),obsolete22:Xb(Qj(a,22)),circle:nLb(a.getCircle()),square:yLb(X(a,xLb,
26)),event:pLb(a.getEvent()),chat:lLb(X(a,kLb,32)),resourceRole:vLb(X(a,zt,35)),anonymousinviteid:n(Yb(a,40))}};var Ct=function(a){this.internalArray_=m(a)};T(Ct,p);Ct.prototype.getScope=function(){return X(this,Bt,1)};Ct.prototype.getWrappedkeyList=function(){return kj(this,wt,3)};Ct.prototype.getMetadata=function(){return X(this,gLb,4)};Ct.prototype.setMetadata=function(a){hj(this,gLb,4,a)};Ct.repeatedFields_=[3];Ct.prototype.toObject=function(){return Dt(this)};var Dt=function(a){if(null!=a)return r(a),{role:n(ft(a,2)),scope:zLb(a.getScope()),wrappedkeyList:Ub(a.getWrappedkeyList(),xt),metadata:hLb(a.getMetadata())}};var Et=function(a){this.internalArray_=m(a)};T(Et,p);Et.repeatedFields_=[4,5];Et.prototype.toObject=function(){return ALb(this)};var ALb=function(a){if(null!=a)return r(a),{addedEntryList:Ub(kj(a,Ct,4),Dt),removedEntryList:Ub(kj(a,Ct,5),Dt),readersCanEditAclChange:fLb(X(a,vt,13)),writersCanEditAclChange:fLb(X(a,vt,14)),changeReason:n(Er(a,25))}};var BLb=function(a){this.internalArray_=m(a,1)};T(BLb,p);var Ft={};BLb.prototype.toObject=function(){return CLb(this)};var CLb=function(a){if(null!=a){r(a);var b={};Vb(a,b,Ft);return b}};Ft[52221103]=Tb(52221103,{messageSetExtension:0},Et,ALb);var DLb=function(a){this.internalArray_=m(a)};T(DLb,p);DLb.prototype.toObject=function(){return ELb(this)};var ELb=function(a){if(null!=a)return r(a),{shareUrl:n(Z(a,1))}};var Gt=function(a){this.internalArray_=m(a)};T(Gt,p);Gt.prototype.getEmail=function(){return U(this,3)};Gt.prototype.setEmail=function(a){return sk(this,3,a)};Gt.prototype.hasEmail=function(){return Hk(this,3)};Gt.prototype.toObject=function(){return FLb(this)};var FLb=function(a){if(null!=a){r(a);var b=zb(a,1,DLb,nb);return{recipientsMap:Wb(b,ELb),role:n(Er(a,2)),email:n(Z(a,3))}}};var Ht=function(a){this.internalArray_=m(a)};T(Ht,p);Ht.prototype.getMessage=function(){return U(this,2)};Ht.prototype.setMessage=function(a){sk(this,2,a)};Ht.prototype.toObject=function(){return GLb(this)};var GLb=function(a){if(null!=a){r(a);var b=zb(a,1,Gt,nb);b=Wb(b,FLb);var c=n(Z(a,2)),d=n(vr(a,3));a=fk(a,7,Gt);return{granteesMap:b,message:c,shouldNotify:d,nonGaiaGranteesMap:Wb(a,FLb)}}};var It=function(a){this.internalArray_=m(a)};T(It,p);It.repeatedFields_=[1];It.prototype.toObject=function(){return HLb(this)};var HLb=function(a){if(null!=a)return r(a),{aclChangeStructList:Ub(kj(a,Et,1),ALb)}};var ILb=function(a){this.internalArray_=m(a)};T(ILb,p);f=ILb.prototype;f.getValue=function(){return U(this,1)};f.setValue=function(a){return sk(this,1,a)};f.hasValue=function(){return Hk(this,1)};f.getDisplayName=function(){return U(this,2)};f.setDisplayName=function(a){return sk(this,2,a)};f.toObject=function(){return JLb(this)};var JLb=function(a){if(null!=a)return r(a),{value:n(Z(a,1)),displayName:n(Z(a,2))}};var KLb=function(a){this.internalArray_=m(a)};T(KLb,p);KLb.repeatedFields_=[1];KLb.prototype.toObject=function(){return LLb(this)};var LLb=function(a){if(null!=a)return r(a),{namedValuesList:Ub(kj(a,ILb,1),JLb)}};var Jt=function(a){this.internalArray_=m(a)};T(Jt,p);Jt.prototype.getValuesList=function(){return Th(this,1)};Jt.prototype.setValuesList=function(a){Pi(this,1,a)};Jt.prototype.getValues=function(a){return kt(this,1,a)};Jt.prototype.setValues=function(a,b){nt(this,1,a,b)};Jt.repeatedFields_=[1];Jt.prototype.toObject=function(){return Kt(this)};var Kt=function(a){if(null!=a)return r(a),{valuesList:n(Th(a,1))}};var Nh=function(a){this.internalArray_=m(a)};T(Nh,p);f=Nh.prototype;f.getSeconds=function(){return qj(this,1)};f.setSeconds=function(a){return Jb(this,1,a)};f.getNanos=function(){return Rh(this,2)};f.setNanos=function(a){return Ib(this,2,a)};f.toDate=function(){var a=this.getSeconds(),b=this.getNanos();return new Date(1E3*a+b/1E6)};f.toObject=function(){return Lt(this)};var Lt=function(a){if(null!=a)return r(a),{seconds:qj(a,1),nanos:Rh(a,2)}};var Ot=function(a){this.internalArray_=m(a)};T(Ot,p);f=Ot.prototype;f.getValueCase=function(){return Mi(this,Pt)};f.getTextValue=function(){return ot(this,1,Pt)};f.setTextValue=function(a){yo(this,1,Pt,a)};f.getTextListValues=function(){return ck(this,Jt,2,Pt)};f.getSelectionListValue=function(){return ck(this,Jt,4,Pt)};f.getUserListValues=function(){return ck(this,Jt,13,Pt)};f.getDateValue=function(){return ck(this,Nh,14,Pt)};f.setDateValue=function(a){Ao(this,14,Pt,a)};
var Pt=[1,2,3,4,5,11,12,13,14],Qt=[6,7,8,9,10,15,16,17,18];Ot.prototype.toObject=function(){return MLb(this)};
var MLb=function(a){if(null!=a)return r(a),{textValue:n(Io(a,1,Pt)),textListValues:Kt(a.getTextListValues()),selectionValue:n(Io(a,3,Pt)),selectionListValue:Kt(a.getSelectionListValue()),longTextValue:n(Io(a,5,Pt)),numberValue:n(pt(a,11,Pt)),userValue:n(Io(a,12,Pt)),userListValues:Kt(a.getUserListValues()),dateValue:Lt(a.getDateValue()),namedTextValue:n(Io(a,6,Qt)),namedLongTextValue:n(Io(a,7,Qt)),namedTextListValues:Kt(ck(a,Jt,8,Qt)),namedSelectionValue:JLb(ck(a,ILb,9,Qt)),namedSelectionListValue:LLb(ck(a,
KLb,10,Qt)),namedNumberValue:n(pt(a,15,Qt)),namedUserValue:n(Io(a,16,Qt)),namedUserListValues:Kt(ck(a,Jt,17,Qt)),namedDateValue:Lt(ck(a,Nh,18,Qt))}};var NLb=function(a){this.internalArray_=m(a)};T(NLb,p);f=NLb.prototype;f.getFieldId=function(){return U(this,1)};f.setFieldId=function(a){sk(this,1,a)};f.getOldValue=function(){return X(this,Ot,2)};f.getNewValue=function(){return X(this,Ot,3)};f.getDisplayName=function(){return U(this,4)};f.setDisplayName=function(a){return sk(this,4,a)};f.toObject=function(){return OLb(this)};
var OLb=function(a){if(null!=a)return r(a),{fieldId:n(Z(a,1)),oldValue:MLb(a.getOldValue()),newValue:MLb(a.getNewValue()),displayName:n(Z(a,4))}};var Rt=function(a){this.internalArray_=m(a)};T(Rt,p);f=Rt.prototype;f.getLabel=function(){return U(this,1)};f.setLabel=function(a){return sk(this,1,a)};f.hasLabel=function(){return Hk(this,1)};f.getTitle=function(){return U(this,5)};f.setTitle=function(a){return sk(this,5,a)};Rt.repeatedFields_=[3,4];Rt.prototype.toObject=function(){return PLb(this)};
var PLb=function(a){if(null!=a)return r(a),{label:n(Z(a,1)),labelScope:n(Er(a,2)),changeTypesList:n(cl(a,3)),fieldChangesList:Ub(kj(a,NLb,4),OLb),title:n(Z(a,5)),reasonType:n(Er(a,6))}};var QLb=function(a){this.internalArray_=m(a)};T(QLb,p);QLb.prototype.toObject=function(){return RLb(this)};var RLb=function(a){if(null!=a)return r(a),{removedReviewerGaiaId:n(Yb(a,1)),addedReviewerGaiaId:n(Yb(a,2))}};var St=function(a){this.internalArray_=m(a)};T(St,p);St.prototype.getApprovalStatus=function(){return Zi(this,6,0)};St.repeatedFields_=[3,4,8,12];St.prototype.toObject=function(){return SLb(this)};
var SLb=function(a){if(null!=a)return r(a),{approvalEventType:n(Er(a,1)),approvalId:n(Z(a,2)),approvalEventIdList:n(Qh(a,3)),reviewerGaiaIdsList:n(wb(a,4,jb)),initiatorGaiaId:n(Yb(a,5)),approvalStatus:n(Er(a,6)),reviewerDecision:n(Er(a,7)),reviewerChangesList:Ub(kj(a,QLb,8),RLb),dueTimeMs:n(Yb(a,9)),oldDueTimeMs:n(Yb(a,10)),resetReviewerGaiaIdsList:n(wb(a,12,jb)),userInteractionMode:n(Er(a,11)),approvalProcess:n(Er(a,13))}};var Tt=function(a){this.internalArray_=m(a)};T(Tt,p);Tt.prototype.getApprovalStatus=function(){return Zi(this,3,0)};Tt.repeatedFields_=[5];Tt.prototype.toObject=function(){return TLb(this)};var TLb=function(a){if(null!=a)return r(a),{approvalId:n(Z(a,1)),notificationType:n(Er(a,2)),approvalStatus:n(Er(a,3)),initiatorGaiaId:n(Yb(a,4)),recipientGaiaIdsList:n(rl(a,5)),dueTimeMs:n(Yb(a,6)),userInteractionMode:n(Er(a,7))}};var Ut=function(a){this.internalArray_=m(a)};T(Ut,p);Ut.prototype.getValuesList=function(){return Th(this,1)};Ut.prototype.setValuesList=function(a){Pi(this,1,a)};Ut.prototype.getValues=function(a){return kt(this,1,a)};Ut.prototype.setValues=function(a,b){nt(this,1,a,b)};Ut.repeatedFields_=[1];Ut.prototype.toObject=function(){return ULb(this)};var ULb=function(a){if(null!=a)return r(a),{valuesList:n(Th(a,1))}};var Vt=function(a){this.internalArray_=m(a)};T(Vt,p);f=Vt.prototype;f.getValueCase=function(){return Mi(this,Wt)};f.getTextValue=function(){return ot(this,1,Wt)};f.setTextValue=function(a){yo(this,1,Wt,a)};f.getTextListValues=function(){return ck(this,Ut,2,Wt)};f.getSelectionListValue=function(){return ck(this,Ut,4,Wt)};f.getUserListValues=function(){return ck(this,Ut,8,Wt)};f.getDateValue=function(){return ck(this,Nh,9,Wt)};f.setDateValue=function(a){Ao(this,9,Wt,a)};var Wt=[1,2,3,4,5,6,7,8,9];
Vt.prototype.toObject=function(){return VLb(this)};var VLb=function(a){if(null!=a)return r(a),{textValue:n(Io(a,1,Wt)),textListValues:ULb(a.getTextListValues()),selectionValue:n(Io(a,3,Wt)),selectionListValue:ULb(a.getSelectionListValue()),longTextValue:n(Io(a,5,Wt)),numberValue:n(pt(a,6,Wt)),userValue:n(Io(a,7,Wt)),userListValues:ULb(a.getUserListValues()),dateValue:Lt(a.getDateValue())}};var Xt=function(a){this.internalArray_=m(a)};T(Xt,p);Xt.prototype.getOldValue=function(){return X(this,Vt,2)};Xt.prototype.getNewValue=function(){return X(this,Vt,3)};Xt.prototype.toObject=function(){return WLb(this)};var WLb=function(a){if(null!=a)return r(a),{attributeId:n(Z(a,1)),oldValue:VLb(a.getOldValue()),newValue:VLb(a.getNewValue())}};var XLb=function(a){this.internalArray_=m(a)};T(XLb,p);XLb.repeatedFields_=[3,4];XLb.prototype.toObject=function(){return YLb(this)};var YLb=function(a){if(null!=a)return r(a),{publishedCategoryName:n(Z(a,1)),categoryScope:n(Er(a,2)),changeTypesList:n(cl(a,3)),attributeChangesList:Ub(kj(a,Xt,4),WLb),reasonType:n(Er(a,5))}};var Yt=function(a){this.internalArray_=m(a)};T(Yt,p);Yt.repeatedFields_=[7];Yt.prototype.toObject=function(){return ZLb(this)};var ZLb=function(a){if(null!=a){r(a);var b=n(ft(a,1)),c=n(ft(a,2)),d=n(ft(a,3)),e=n(ft(a,4));var g=xb(a,5,Aba);return{characterCount:b,wordCount:c,nonStopWordCount:d,newLineCount:e,punctuationCountMap:Wb(g),validUrlCount:n(ft(a,6)),languageCodeList:n(Th(a,7))}}};var Zt=function(a){this.internalArray_=m(a)};T(Zt,p);Zt.repeatedFields_=[7];Zt.prototype.toObject=function(){return $Lb(this)};var $Lb=function(a){if(null!=a)return r(a),{discussionId:n(Z(a,3)),postId:n(Z(a,4)),linkToDoco:n(Z(a,5)),suggestionId:n(Z(a,6)),mentionedUsersList:n(rl(a,7)),assignedUser:n(Yb(a,8)),commentSummary:ZLb(X(a,Yt,9)),anchorTextSummary:ZLb(X(a,Yt,10))}};var aMb=function(a){this.internalArray_=m(a)};T(aMb,p);aMb.prototype.toObject=function(){return bMb(this)};var bMb=function(a){if(null!=a)return r(a),{originalTitle:n(Z(a,1)),originalDocid:n(Z(a,3)),originalCustomerId:n(Yb(a,4)),originalOwnerGaiaId:n(Yb(a,5)),originalMimeType:n(Z(a,6))}};var $t=function(a){this.internalArray_=m(a)};T($t,p);$t.prototype.getId=function(){return qj(this,1)};$t.prototype.setId=function(a){return V(this,1,a)};$t.prototype.toObject=function(){return cMb(this)};var cMb=function(a){if(null!=a)return r(a),{id:n(Yb(a,1))}};var au=function(a){this.internalArray_=m(a)};T(au,p);au.repeatedFields_=[1];au.prototype.toObject=function(){return dMb(this)};var dMb=function(a){if(null!=a)return r(a),{matchingRuleList:Ub(kj(a,$t,1),cMb)}};var eMb=function(a){this.internalArray_=m(a)};T(eMb,p);eMb.prototype.toObject=function(){return fMb(this)};var fMb=function(a){if(null!=a)return r(a),{previousViolation:dMb(X(a,au,1)),currentViolation:dMb(X(a,au,2))}};var gMb=function(a){this.internalArray_=m(a)};T(gMb,p);gMb.prototype.toObject=function(){return hMb(this)};var hMb=function(a){if(null!=a)return r(a),{sourceDomainGaiaId:n(Yb(a,1)),destinationDomainGaiaId:n(Yb(a,2))}};var iMb=function(a){this.internalArray_=m(a)};T(iMb,p);iMb.prototype.toObject=function(){return jMb(this)};var jMb=function(a){if(null!=a)return r(a),{downloadUuid:n(Z(a,1))}};var kMb=function(a){this.internalArray_=m(a)};T(kMb,p);kMb.repeatedFields_=[1];kMb.prototype.toObject=function(){return lMb(this)};var lMb=function(a){if(null!=a)return r(a),{additionalEffectiveEntriesList:Ub(kj(a,Ct,1),Dt)}};var mMb=function(a){this.internalArray_=m(a)};T(mMb,p);mMb.repeatedFields_=[1];mMb.prototype.toObject=function(){return nMb(this)};var nMb=function(a){if(null!=a)return r(a),{recipientEmailList:n(Th(a,1))}};var oMb=function(a){this.internalArray_=m(a)};T(oMb,p);oMb.prototype.toObject=function(){return pMb(this)};var pMb=function(a){if(null!=a)return r(a),{allowLessSecureLink:n(vr(a,1))}};var qMb=function(a){this.internalArray_=m(a)};T(qMb,p);f=qMb.prototype;f.getId=function(){return U(this,1)};f.setId=function(a){return sk(this,1,a)};f.getTitle=function(){return U(this,2)};f.setTitle=function(a){return sk(this,2,a)};f.toObject=function(){return rMb(this)};var rMb=function(a){if(null!=a)return r(a),{id:n(Z(a,1)),title:n(Z(a,2)),isRoot:n(vr(a,3)),isTeamDriveRoot:n(vr(a,4))}};var bu=function(a){this.internalArray_=m(a)};T(bu,p);bu.prototype.getParentId=function(){return U(this,1)};bu.prototype.setParentId=function(a){return sk(this,1,a)};bu.prototype.toObject=function(){return sMb(this)};var sMb=function(a){if(null!=a)return r(a),{parentId:n(Z(a,1)),shortcutId:n(Z(a,2))}};var tMb=function(a){this.internalArray_=m(a)};T(tMb,p);tMb.repeatedFields_=[1,2];tMb.prototype.toObject=function(){return uMb(this)};var uMb=function(a){if(null!=a)return r(a),{migratedParentsList:Ub(kj(a,bu,1),sMb),removedParentIdsList:n(Th(a,2))}};var cu=function(a){this.internalArray_=m(a)};T(cu,p);cu.prototype.getReason=function(){return Zi(this,1,0)};cu.prototype.setReason=function(a){V(this,1,a)};cu.prototype.toObject=function(){return vMb(this)};var vMb=function(a){if(null!=a)return r(a),{reason:n(Er(a,1))}};var wMb=function(a){this.internalArray_=m(a)};T(wMb,p);wMb.repeatedFields_=[1,2,3];wMb.prototype.toObject=function(){return xMb(this)};var xMb=function(a){if(null!=a)return r(a),{addedParentList:Ub(kj(a,qMb,1),rMb),removedParentList:Ub(kj(a,qMb,2),rMb),reparentReasonList:Ub(kj(a,cu,3),vMb),multiparentMigrationInfo:uMb(X(a,tMb,4))}};var yMb=function(a){this.internalArray_=m(a)};T(yMb,p);yMb.repeatedFields_=[1];yMb.prototype.toObject=function(){return zMb(this)};var zMb=function(a){if(null!=a)return r(a),{authedUsersList:n(rl(a,1))}};var AMb=function(a){this.internalArray_=m(a)};T(AMb,p);var BMb=[2];AMb.prototype.toObject=function(){return CMb(this)};var CMb=function(a){if(null!=a)return r(a),{privateDescription:n(Z(a,1)),authedUserList:zMb(ck(a,yMb,2,BMb))}};var DMb=function(a){this.internalArray_=m(a)};T(DMb,p);f=DMb.prototype;f.getText=function(){return U(this,1)};f.setText=function(a){return sk(this,1,a)};f.getUrl=function(){return U(this,2)};f.setUrl=function(a){return sk(this,2,a)};f.hasUrl=function(){return Hk(this,2)};f.toObject=function(){return EMb(this)};var EMb=function(a){if(null!=a)return r(a),{text:n(Z(a,1)),url:n(Z(a,2)),privateContext:CMb(X(a,AMb,3))}};var du=function(a){this.internalArray_=m(a)};T(du,p);du.repeatedFields_=[1];du.prototype.toObject=function(){return FMb(this)};var FMb=function(a){if(null!=a)return r(a),{ownerGaiaIdList:n(wb(a,1,jb)),ownerIsTeamDrive:n(vr(a,2)),teamDriveRootId:n(Z(a,3)),teamDriveName:n(Z(a,4)),teamDriveCreatorId:n(Yb(a,5))}};var GMb=function(a){this.internalArray_=m(a)};T(GMb,p);GMb.prototype.toObject=function(){return HMb(this)};var HMb=function(a){if(null!=a)return r(a),{publishMode:n(Er(a,1)),signinRequired:n(vr(a,2)),publishedTime:Lt(X(a,Nh,3))}};var IMb=function(a){this.internalArray_=m(a)};T(IMb,p);IMb.prototype.toObject=function(){return JMb(this)};var JMb=function(a){if(null!=a)return r(a),{oldPublishState:HMb(X(a,GMb,1)),newPublishState:HMb(X(a,GMb,2))}};var KMb=function(a){this.internalArray_=m(a)};T(KMb,p);KMb.prototype.toObject=function(){return LMb(this)};var LMb=function(a){if(null!=a)return r(a),{oldTitle:n(Z(a,1)),newTitle:n(Z(a,2))}};var MMb=function(a){this.internalArray_=m(a)};T(MMb,p);MMb.repeatedFields_=[2];MMb.prototype.toObject=function(){return NMb(this)};var NMb=function(a){if(null!=a)return r(a),{recipientDocId:n(Z(a,1)),importedRangesList:n(Th(a,2))}};var eu=function(a){this.internalArray_=m(a)};T(eu,p);f=eu.prototype;f.getType=function(){return Zi(this,1,1)};f.setType=function(a){return V(this,1,a)};f.hasType=function(){return pj(this,1)};f.getAppId=function(){return U(this,2)};f.setAppId=function(a){sk(this,2,a)};f.toObject=function(){return OMb(this)};var OMb=function(a){if(null!=a)return r(a),{type:Zi(a,1,1),appId:n(Z(a,2))}};var PMb=function(a){this.internalArray_=m(a)};T(PMb,p);PMb.prototype.toObject=function(){return QMb(this)};var QMb=function(a){if(null!=a)return r(a),{newItemId:n(Z(a,1)),newItemTitle:n(Z(a,2)),newItemCustomerId:n(Yb(a,3)),newOwnerGaiaId:n(Yb(a,4)),newMimeType:n(Z(a,5))}};var RMb=function(a){this.internalArray_=m(a)};T(RMb,p);RMb.prototype.toObject=function(){return SMb(this)};var SMb=function(a){if(null!=a)return r(a),{packageRootId:n(Z(a,1)),packageParentId:n(Z(a,2)),packageMimeType:n(Z(a,3))}};var fu=function(a){this.internalArray_=m(a)};T(fu,p);f=fu.prototype;f.getId=function(){return U(this,1)};f.setId=function(a){return sk(this,1,a)};f.getVersion=function(){return ht(this,4)};f.setVersion=function(a){return V(this,4,a)};f.getVersionOrUndefined=function(){var a=Yb(this,4);return null==a?void 0:a};f.getName=function(){return U(this,2)};f.setName=function(a){return sk(this,2,a)};f.hasName=function(){return Hk(this,2)};f.getNameOrUndefined=function(){return tt(this,2)};
f.getMimeType=function(){return U(this,3)};f.setMimeType=function(a){sk(this,3,a)};fu.repeatedFields_=[6];fu.prototype.toObject=function(){return TMb(this)};var TMb=function(a){if(null!=a)return r(a),{id:n(Z(a,1)),version:n(Yb(a,4)),name:n(Z(a,2)),mimeType:n(Z(a,3)),objectType:Zi(a,5,0),objectFamilyList:n(Qh(a,6)),isTeamDriveRoot:n(vr(a,7)),packageEmbeddingData:SMb(X(a,RMb,8)),shortcutTargetId:n(Z(a,9)),shortcutTargetMimeType:n(Z(a,10))}};var UMb=function(a){this.internalArray_=m(a)};T(UMb,p);UMb.prototype.toObject=function(){return VMb(this)};var VMb=function(a){if(null!=a)return r(a),{allowLessSecureLinkForAllFiles:n(vr(a,1))}};var WMb=function(a){this.internalArray_=m(a)};T(WMb,p);WMb.repeatedFields_=[5,6,10,9];WMb.prototype.toObject=function(){return XMb(this)};
var XMb=function(a){if(null!=a)return r(a),{teamDriveId:n(Z(a,1)),teamDriveJoinMessage:n(Z(a,3)),membershipChangeType:n(Er(a,4)),addedTeamDriveRoleList:n(cl(a,5)),removedTeamDriveRoleList:n(cl(a,6)),resharedTeamDriveRoleList:n(cl(a,10)),sendShareNotification:Tj(a,7,!0),isIndirectMembershipChange:n(vr(a,8)),indirectGroupsList:n(wb(a,9,jb)),isFromGroupAddedToTeamDrive:n(vr(a,11))}};var gu=function(a){this.internalArray_=m(a)};T(gu,p);gu.prototype.getOldValue=function(){return Zi(this,1,0)};gu.prototype.getNewValue=function(){return Zi(this,2,0)};gu.prototype.toObject=function(){return hu(this)};var hu=function(a){if(null!=a)return r(a),{oldValue:n(Er(a,1)),newValue:n(Er(a,2))}};var iu=function(a){this.internalArray_=m(a)};T(iu,p);iu.prototype.getDownload=function(){return X(this,gu,3)};iu.prototype.setDownload=function(a){hj(this,gu,3,a)};iu.prototype.toObject=function(){return YMb(this)};var YMb=function(a){if(null!=a)return r(a),{crossDomainSharing:hu(X(a,gu,1)),directAcl:hu(X(a,gu,2)),download:hu(a.getDownload()),driveFs:hu(X(a,gu,4)),fileOrganizerCanShareFolders:hu(X(a,gu,5))}};var ZMb=function(a){this.internalArray_=m(a)};T(ZMb,p);ZMb.prototype.toObject=function(){return $Mb(this)};var $Mb=function(a){if(null!=a)return r(a),{currentState:n(Er(a,1)),restoredSinceThisEvent:n(vr(a,2))}};var ju=function(a){this.internalArray_=m(a)};T(ju,p);ju.prototype.getCode=function(){return Zi(this,2,0)};ju.prototype.setCode=function(a){return V(this,2,a)};ju.prototype.toObject=function(){return aNb(this)};var aNb=function(a){if(null!=a)return r(a),{entry:Dt(X(a,Ct,1)),code:Zi(a,2,0)}};var bNb=function(a){this.internalArray_=m(a)};T(bNb,p);bNb.repeatedFields_=[1,2,3,4];bNb.prototype.toObject=function(){return cNb(this)};var cNb=function(a){if(null!=a)return r(a),{addedEntryVisibilityList:Ub(kj(a,ju,1),aNb),removedEntryVisibilityList:Ub(kj(a,ju,2),aNb),fullAclVisibilityList:n(cl(a,3)),beforeEventVisibilityList:n(cl(a,4))}};var dNb=function(a){this.internalArray_=m(a)};T(dNb,p);dNb.repeatedFields_=[1,2];dNb.prototype.toObject=function(){return eNb(this)};var eNb=function(a){if(null!=a)return r(a),{addedWorkspaceIdsList:n(Th(a,1)),removedWorkspaceIdsList:n(Th(a,2))}};var fNb=function(a){this.internalArray_=m(a)};T(fNb,p);fNb.prototype.toObject=function(){return gNb(this)};var gNb=function(a){if(null!=a)return r(a),{deviceUserSessionId:n(Z(a,1)),userAuthenticationTimeMs:n(Yb(a,2))}};var ku=function(a){this.internalArray_=m(a)};T(ku,p);ku.prototype.getType=function(){return Zi(this,1,0)};ku.prototype.setType=function(a){return V(this,1,a)};ku.prototype.hasType=function(){return pj(this,1)};ku.prototype.toObject=function(){return hNb(this)};var hNb=function(a){if(null!=a)return r(a),{type:n(Er(a,1)),groupingId:n(Z(a,2)),propagationStartTimeMillis:n(Yb(a,3)),propagationRootItemId:n(Z(a,4))}};var iNb=function(a){this.internalArray_=m(a)};T(iNb,p);iNb.prototype.toObject=function(){return jNb(this)};var jNb=function(a){if(null!=a)return r(a),{intentType:n(Er(a,1))}};var lu=function(a){this.internalArray_=m(a)};T(lu,p);lu.prototype.getType=function(){return Zi(this,1,0)};lu.prototype.setType=function(a){return V(this,1,a)};lu.prototype.hasType=function(){return pj(this,1)};lu.prototype.toObject=function(){return kNb(this)};var kNb=function(a){if(null!=a)return r(a),{type:n(Er(a,1))}};var mu=function(a){this.internalArray_=m(a)};T(mu,p);mu.prototype.getEmail=function(){return U(this,14)};mu.prototype.setEmail=function(a){return sk(this,14,a)};mu.prototype.hasEmail=function(){return Hk(this,14)};mu.prototype.toObject=function(){return lNb(this)};var lNb=function(a){if(null!=a)return r(a),{gaiaid:n(Yb(a,13)),email:n(Z(a,14))}};var nu=function(a){this.internalArray_=m(a)};T(nu,p);nu.prototype.getId=function(){return ht(this,11)};nu.prototype.setId=function(a){return V(this,11,a)};nu.prototype.toObject=function(){return mNb(this)};var mNb=function(a){if(null!=a)return r(a),{id:n(Yb(a,11))}};var nNb=function(a){this.internalArray_=m(a)};T(nNb,p);nNb.repeatedFields_=[10];nNb.prototype.toObject=function(){return oNb(this)};var oNb=function(a){if(null!=a)return r(a),{keyvalue:n(Yb(a,9)),gaiaIdList:Ub(kj(a,nu,10),mNb)}};var pNb=function(a){this.internalArray_=m(a)};T(pNb,p);pNb.repeatedFields_=[1];pNb.prototype.toObject=function(){return qNb(this)};var qNb=function(a){if(null!=a)return r(a),{scopeList:Ub(kj(a,Bt,1),zLb)}};var ou=function(a){this.internalArray_=m(a)};T(ou,p);ou.prototype.getWrappedkeyList=function(){return kj(this,wt,2)};ou.repeatedFields_=[2];ou.prototype.toObject=function(){return rNb(this)};var rNb=function(a){if(null!=a)return r(a),{hmacsha1:Xb(Qj(a,1)),wrappedkeyList:Ub(a.getWrappedkeyList(),xt)}};var pu=function(a){this.internalArray_=m(a)};T(pu,p);pu.prototype.getEmail=function(){return U(this,2)};pu.prototype.setEmail=function(a){return sk(this,2,a)};pu.prototype.hasEmail=function(){return Hk(this,2)};pu.repeatedFields_=[12,7];pu.prototype.toObject=function(){return sNb(this)};
var sNb=function(a){if(null!=a)return r(a),{inviteid:n(Yb(a,1)),requirelistedtoken:Tj(a,13,!1),tokenmetadataList:Ub(kj(a,ou,12),rNb),email:n(Z(a,2)),singleuse:Tj(a,3,!1),uses:n(ft(a,4)),creationtimems:n(Yb(a,5)),rolevalue:n(ft(a,6)),recipientemailList:n(Th(a,7)),indirect:n(vr(a,8)),expirationtimems:n(Yb(a,9)),allowanonymoususage:n(vr(a,11)),inviter:n(Yb(a,14)),obsolete10:Xb(Qj(a,10))}};var tNb=function(a){this.internalArray_=m(a)};T(tNb,p);tNb.repeatedFields_=[1];tNb.prototype.toObject=function(){return uNb(this)};var uNb=function(a){if(null!=a)return r(a),{abuseTypeList:n(Qh(a,1))}};var vNb=function(a){this.internalArray_=m(a)};T(vNb,p);vNb.prototype.toObject=function(){return wNb(this)};var wNb=function(a){if(null!=a)return r(a),{minimumAgeYears:n(ft(a,1)),maximumAgeYears:n(ft(a,2))}};var xNb=function(a){this.internalArray_=m(a)};T(xNb,p);xNb.prototype.getContentType=function(){return Zi(this,1,1)};xNb.prototype.toObject=function(){return yNb(this)};var yNb=function(a){if(null!=a)return r(a),{contentType:n(Er(a,1))}};var zNb=function(a){this.internalArray_=m(a)};T(zNb,p);zNb.repeatedFields_=[2];zNb.prototype.toObject=function(){return ANb(this)};var ANb=function(a){if(null!=a)return r(a),{globalAgeRestriction:wNb(X(a,vNb,1)),locationBasedAgeRestrictionList:Ub(kj(a,xNb,2),yNb)}};var BNb=function(a){this.internalArray_=m(a)};T(BNb,p);var CNb=[1];BNb.prototype.toObject=function(){return DNb(this)};var DNb=function(a){if(null!=a)return r(a),{driveItemContentRegion:n(qt(a,1,CNb))}};var ENb=function(a){this.internalArray_=m(a)};T(ENb,p);ENb.prototype.toObject=function(){return FNb(this)};var FNb=function(a){if(null!=a)return r(a),{matchingDetectorId:n(Z(a,1)),matchingDlpContentRegion:DNb(X(a,BNb,2))}};var GNb=function(a){this.internalArray_=m(a)};T(GNb,p);GNb.repeatedFields_=[2,3];GNb.prototype.toObject=function(){return HNb(this)};var HNb=function(a){if(null!=a)return r(a),{matchingRuleId:n(Yb(a,1)),matchingDetectorIdList:n(Th(a,2)),matchingDetectorDetailList:Ub(kj(a,ENb,3),FNb)}};var qu=function(a){this.internalArray_=m(a)};T(qu,p);qu.prototype.getObsolete4=function(){return XKb(this,4)};qu.repeatedFields_=[2,3,4];qu.prototype.toObject=function(){return INb(this)};var INb=function(a){if(null!=a)return r(a),{timestampMillis:n(Yb(a,1)),obsolete2List:n(rl(a,2)),matchingDlpRuleList:Ub(kj(a,GNb,3),HNb),obsolete4List:n(rl(a,4)),matchedAtleastOnce:n(vr(a,5))}};var ru=function(a){this.internalArray_=m(a)};T(ru,p);ru.prototype.toObject=function(){return JNb(this)};var JNb=function(a){if(null!=a)return r(a),{domainId:n(Yb(a,1))}};var KNb=function(a){this.internalArray_=m(a)};T(KNb,p);KNb.prototype.hasUserId=function(){return Yk(this,1)};KNb.prototype.toObject=function(){return LNb(this)};var LNb=function(a){if(null!=a)return r(a),{userId:n(Yb(a,1))}};var MNb=function(a){this.internalArray_=m(a)};T(MNb,p);f=MNb.prototype;f.getDomain=function(){return X(this,ru,2)};f.setDomain=function(a){return hj(this,ru,2,a)};f.hasDomain=function(){return Nj(this,ru,2)};f.getDlpInfo=function(){return X(this,qu,5)};f.toObject=function(){return NNb(this)};var NNb=function(a){if(null!=a)return r(a),{liableUser:LNb(X(a,KNb,1)),domain:JNb(a.getDomain()),abuse:uNb(X(a,tNb,3)),ageRestriction:ANb(X(a,zNb,4)),dlpInfo:INb(a.getDlpInfo())}};var ONb=function(a){this.internalArray_=m(a)};T(ONb,p);ONb.prototype.toObject=function(){return PNb(this)};var PNb=function(a){if(null!=a)return r(a),{gaiaEmail:Tj(a,1,!1)}};var QNb=function(a){this.internalArray_=m(a)};T(QNb,p);QNb.prototype.getScope=function(){return X(this,Bt,1)};QNb.prototype.toObject=function(){return RNb(this)};var RNb=function(a){if(null!=a)return r(a),{scope:zLb(a.getScope()),knownsharetimedata:PNb(X(a,ONb,3))}};var su=function(a){this.internalArray_=m(a)};T(su,p);su.prototype.getEntriesList=function(){return kj(this,Ct,2)};su.repeatedFields_=[2,17,3,7,8,12,22,20];su.prototype.toObject=function(){return tu(this)};
var tu=function(a){if(null!=a)return r(a),{entriesList:Ub(a.getEntriesList(),Dt),scopeinfoList:Ub(kj(a,QNb,17),RNb),invitesList:Ub(kj(a,pu,3),sNb),obsolete16:Xb(Qj(a,16)),writerscaneditacl:n(vr(a,4)),readerscaneditacl:n(vr(a,6)),noanonymousaccess:n(vr(a,5)),revokedkeyvaluesList:n(wb(a,7,jb)),persistentAccessSetList:Ub(kj(a,nNb,8),oNb),acceptedEmailInviteList:Ub(kj(a,mu,12),lNb),requiredscopes:qNb(X(a,pNb,15)),policydata:NNb(X(a,MNb,18)),zookie:Xb(Qj(a,19)),resourceid:uLb(X(a,yt,21)),zanzibarwrappedkeyList:Ub(kj(a,
wt,22),xt),ticketedwrappedkeyList:Ub(kj(a,wt,20),xt)}};var SNb=function(a){this.internalArray_=m(a)};T(SNb,p);SNb.prototype.toObject=function(){return TNb(this)};var TNb=function(a){if(null!=a)return r(a),{membershipAcl:tu(X(a,su,2)),visitorAcl:tu(X(a,su,3)),teamDriveState:n(Er(a,4)),inheritedAcl:tu(X(a,su,5))}};var UNb=function(a){this.internalArray_=m(a)};T(UNb,p);UNb.prototype.toObject=function(){return VNb(this)};var VNb=function(a){if(null!=a)return r(a),{domainPolicyVisibilityState:n(Er(a,1)),namedPartyState:n(Er(a,2))}};var uu=function(a){this.internalArray_=m(a)};T(uu,p);f=uu.prototype;f.getEventType=function(){return lt(this,2)};f.setEventType=function(a){return Db(this,2,a,void 0,cl)};f.getSource=function(){return X(this,eu,35)};f.setSource=function(a){return hj(this,eu,35,a)};f.hasSource=function(){return Nj(this,eu,35)};f.getTimestamp=function(){return ht(this,4)};f.setTimestamp=function(a){return V(this,4,a)};f.hasTimestamp=function(){return null!=Yb(this,4)};f.getUser=function(){return ht(this,5)};
f.setUser=function(a){V(this,5,a)};f.hasUser=function(){return null!=Yb(this,5)};f.getTarget=function(){return X(this,fu,6)};f.setTarget=function(a){return hj(this,fu,6,a)};f.getComment=function(){return X(this,Zt,14)};f.setComment=function(a){hj(this,Zt,14,a)};f.getVisibility=function(){return X(this,bNb,51)};f.getDownload=function(){return X(this,iMb,91)};f.setDownload=function(a){hj(this,iMb,91,a)};f.getEventId=function(){return U(this,18)};f.setEventId=function(a){sk(this,18,a)};
f.getParent=function(a){return kt(this,20,a)};f.setParent=function(a){return nt(this,20,a)};f.getDlpInfo=function(){return X(this,qu,64)};uu.repeatedFields_=[2,41,29,57,24,77,85,20,21,22,39];uu.prototype.toObject=function(){return WNb(this)};
var WNb=function(a){if(null!=a)return r(a),{primaryEventType:n(Er(a,1)),eventTypeList:n(cl(a,2)),originatingApp:n(Z(a,15)),originatingAppSubId:n(Z(a,34)),source:OMb(a.getSource()),isAdminAction:Tj(a,31,!1),systemEvent:kNb(X(a,lu,68)),requestIntentList:Ub(kj(a,iNb,41),jNb),timestamp:n(Yb(a,4)),user:n(Yb(a,5)),targetUserList:n(wb(a,29,jb)),targetGroupList:n(wb(a,57,jb)),target:TMb(a.getTarget()),move:xMb(X(a,wMb,7)),rename:LMb(X(a,KMb,8)),aclChange:HLb(X(a,It,9)),visitorAclChange:HLb(X(a,It,55)),teamDriveInheritedAclChange:HLb(X(a,
It,82)),copy:bMb(X(a,aMb,13)),sourceCopy:QMb(X(a,PMb,90)),comment:$Lb(a.getComment()),trash:$Mb(X(a,ZMb,56)),dlpUpdate:fMb(X(a,eMb,52)),teamDriveMembershipChange:XMb(X(a,WMb,46)),teamDriveSettingsChange:YMb(X(a,iu,70)),teamDriveLinkShareMetadataChange:VMb(X(a,UMb,88)),visibility:cNb(a.getVisibility()),originAppContext:EMb(X(a,DMb,65)),approvalChangeMessage:SLb(X(a,St,75)),approvalSystemNotificationMessage:TLb(X(a,Tt,78)),accessRequestMessage:GLb(X(a,Ht,72)),sheetsRangeImportMessage:NMb(X(a,MMb,74)),
propagationInfo:hNb(X(a,ku,66)),hijackDetectionInfo:gNb(X(a,fNb,67)),ownerDomainIdList:n(wb(a,24,jb)),actorDomainId:n(Yb(a,59)),ownerCustomerId:n(Yb(a,79)),actorCustomerId:n(Yb(a,80)),previousOwnerCustomerId:n(Yb(a,92)),viewHistoryVisibility:VNb(X(a,UNb,71)),categoryMetadataChangesList:Ub(kj(a,XLb,77),YLb),publishChange:JMb(X(a,IMb,84)),appliedLabelChangesList:Ub(kj(a,Rt,85),PLb),linkShareMetadataChange:pMb(X(a,oMb,87)),download:jMb(a.getDownload()),eventId:n(Z(a,18)),parentList:n(Th(a,20)),ancestorList:n(Th(a,
21)),subscriberList:n(wb(a,22,jb)),ownerInfo:FMb(X(a,du,62)),previousOwnerInfo:FMb(X(a,du,61)),creatorGaiaId:n(Yb(a,63)),acl:tu(X(a,su,25)),teamDriveAcls:TNb(X(a,SNb,76)),ipAddress:n(Z(a,26)),trashed:n(vr(a,27)),dlpInfo:INb(a.getDlpInfo()),customExtensionList:Ub(kj(a,BLb,39),CLb),domainTransferData:hMb(X(a,gMb,73)),workspaceChange:eNb(X(a,dNb,81)),emailAsAttachment:nMb(X(a,mMb,83)),effectiveAclChangeInfo:lMb(X(a,kMb,86))}};Ft[10837399]=Tb(10837399,{messageSetExtension:0},su,tu);Ft[62513794]=Tb(62513794,{messageSetExtension:0},uu,WNb);var XNb=function(a){this.internalArray_=m(a)};T(XNb,p);XNb.prototype.getResourceKey=function(){return Z(this,2)};XNb.prototype.toObject=function(){return YNb(this)};var YNb=function(a){if(null!=a)return r(a),{resourceKey:n(Z(a,2))}};var ZNb=function(a){this.internalArray_=m(a)};T(ZNb,p);ZNb.prototype.getCustomerId=function(){return Z(this,1)};ZNb.prototype.toObject=function(){return $Nb(this)};var $Nb=function(a){if(null!=a)return r(a),{customerId:n(Z(a,1))}};var aOb=function(a){this.internalArray_=m(a)};T(aOb,p);aOb.prototype.toObject=function(){return bOb(this)};var bOb=function(a){if(null!=a)return r(a),{}};var cOb=function(a){this.internalArray_=m(a)};T(cOb,p);cOb.prototype.getCustomerId=function(){return X(this,ZNb,1)};cOb.prototype.toObject=function(){return dOb(this)};var dOb=function(a){if(null!=a)return r(a),{customerId:$Nb(a.getCustomerId())}};var eOb=function(a){this.internalArray_=m(a)};T(eOb,p);var fOb=[1,2];eOb.prototype.toObject=function(){return gOb(this)};var gOb=function(a){if(null!=a)return r(a),{consumerInfo:bOb(ck(a,aOb,1,fOb)),customerInfo:dOb(ck(a,cOb,2,fOb))}};var vu=function(a){this.internalArray_=m(a)};T(vu,p);vu.prototype.toObject=function(){return hOb(this)};var hOb=function(a){if(null!=a)return r(a),{membershipCount:n(ft(a,1)),memberType:n(Er(a,2)),membershipState:n(Er(a,3))}};var wu=function(a){this.internalArray_=m(a)};T(wu,p);wu.prototype.getValueList=function(){return kj(this,vu,1)};wu.prototype.addValue=function(){return Co(this,1,vu)};wu.prototype.setValue=function(a,b){return $s(this,1,vu,a,b)};wu.repeatedFields_=[1];wu.prototype.toObject=function(){return iOb(this)};var iOb=function(a){if(null!=a)return r(a),{valueList:Ub(a.getValueList(),hOb)}};var xu=function(a){this.internalArray_=m(a)};T(xu,p);xu.prototype.getIndex=function(){return gt(this,1)};xu.prototype.setIndex=function(a){Bb(this,1,a,0)};xu.prototype.toObject=function(){return jOb(this)};var jOb=function(a){if(null!=a)return r(a),{index:gt(a,1),dataSourceIndex:gt(a,2)}};var yu=function(a){this.internalArray_=m(a)};T(yu,p);f=yu.prototype;f.getId=function(){return U(this,1)};f.setId=function(a){return wj(this,1,a)};f.getSourceId=function(){return Zi(this,2,0)};f.setSourceId=function(a){return Yi(this,2,a)};f.toObject=function(){return kOb(this)};var kOb=function(a){if(null!=a)return r(a),{id:U(a,1),sourceId:Zi(a,2,0)}};var lOb=function(a){this.internalArray_=m(a)};T(lOb,p);lOb.prototype.toObject=function(){return mOb(this)};var mOb=function(a){if(null!=a)return r(a),{sampleRate:Rh(a,1),samples:Xb(Qj(a,2))}};var Ph=function(a){this.internalArray_=m(a)};T(Ph,p);f=Ph.prototype;f.getSeconds=function(){return qj(this,1)};f.setSeconds=function(a){return Jb(this,1,a)};f.getNanos=function(){return Rh(this,2)};f.setNanos=function(a){return Ib(this,2,a)};f.toObject=function(){return zu(this)};var zu=function(a){if(null!=a)return r(a),{seconds:qj(a,1),nanos:Rh(a,2)}};var nOb=function(a){this.internalArray_=m(a)};T(nOb,p);nOb.prototype.getDuration=function(){return X(this,Ph,1)};nOb.prototype.toObject=function(){return oOb(this)};var oOb=function(a){if(null!=a)return r(a),{duration:zu(a.getDuration()),internalPreviewUrl:U(a,2),internalWaveformUrl:U(a,3),internalWaveformData:mOb(X(a,lOb,4))}};var Au=function(a){this.internalArray_=m(a)};T(Au,p);f=Au.prototype;f.getUrl=function(){return U(this,1)};f.setUrl=function(a){return wj(this,1,a)};f.getHeight=function(){return Rh(this,2)};f.setHeight=function(a){return Ib(this,2,a)};f.getWidth=function(){return Rh(this,3)};f.setWidth=function(a){return Ib(this,3,a)};f.toObject=function(){return Bu(this)};var Bu=function(a){if(null!=a)return r(a),{url:U(a,1),height:Rh(a,2),width:Rh(a,3),rotation:gt(a,4)}};var Cu=function(a){this.internalArray_=m(a)};T(Cu,p);Cu.prototype.getDuration=function(){return X(this,Ph,2)};Cu.prototype.toObject=function(){return pOb(this)};var pOb=function(a){if(null!=a)return r(a),{aspectRatio:rj(a,1),duration:zu(a.getDuration()),internalPreviewUrl:U(a,3)}};var qOb=function(a){this.internalArray_=m(a)};T(qOb,p);qOb.prototype.toObject=function(){return rOb(this)};var rOb=function(a){if(null!=a)return r(a),{left:rj(a,1),top:rj(a,2),right:rj(a,3),bottom:rj(a,4)}};var Du=function(a){this.internalArray_=m(a)};T(Du,p);Du.prototype.getRotate=function(){return Rh(this,2)};Du.prototype.setRotate=function(a){return Ib(this,2,a)};Du.prototype.toObject=function(){return sOb(this)};var sOb=function(a){if(null!=a)return r(a),{cropCoordinates:rOb(X(a,qOb,1)),rotate:Rh(a,2),caption:U(a,3)}};var tOb=function(a){this.internalArray_=m(a)};T(tOb,p);f=tOb.prototype;f.getEmail=function(){return U(this,1)};f.setEmail=function(a){return wj(this,1,a)};f.getName=function(){return U(this,2)};f.setName=function(a){return wj(this,2,a)};f.getDisplayName=function(){return U(this,3)};f.setDisplayName=function(a){return wj(this,3,a)};f.toObject=function(){return uOb(this)};
var uOb=function(a){if(null!=a)return r(a),{email:U(a,1),name:U(a,2),displayName:U(a,3),templateProfilePhotoUrl:U(a,4),profilePhoto:Bu(X(a,Au,5))}};var Eu=function(a){this.internalArray_=m(a)};T(Eu,p);Eu.prototype.getBackgroundColor=function(){return U(this,2)};Eu.prototype.setBackgroundColor=function(a){wj(this,2,a)};Eu.prototype.setSelected=function(a){return Gb(this,5,a)};Eu.prototype.toObject=function(){return vOb(this)};var vOb=function(a){if(null!=a)return r(a),{accessRole:Zi(a,1,0),backgroundColor:U(a,2),foregroundColor:U(a,3),hidden:Tj(a,4),selected:Tj(a,5),profileMetadata:uOb(X(a,tOb,6))}};var wOb=function(a){this.internalArray_=m(a)};T(wOb,p);wOb.prototype.toObject=function(){return xOb(this)};var xOb=function(a){if(null!=a)return r(a),{rawBytes:Xb(Qj(a,1))}};var Fu=function(a){this.internalArray_=m(a)};T(Fu,p);f=Fu.prototype;f.getEmailList=function(){return Th(this,1)};f.addEmail=function(a){return Cb(this,1,kb(a))};f.getEmail=function(a){return kt(this,1,a)};f.setEmail=function(a){return nt(this,1,a)};f.getGroupId=function(a){return kt(this,2,a)};f.setGroupId=function(a){nt(this,2,a)};Fu.repeatedFields_=[1,2];Fu.prototype.toObject=function(){return yOb(this)};var yOb=function(a){if(null!=a)return r(a),{emailList:n(Th(a,1)),groupIdList:n(Th(a,2))}};var zOb=function(a){this.internalArray_=m(a)};T(zOb,p);zOb.prototype.toObject=function(){return AOb(this)};var AOb=function(a){if(null!=a)return r(a),{searchTerm:U(a,1)}};var BOb=function(a){this.internalArray_=m(a)};T(BOb,p);BOb.prototype.toObject=function(){return COb(this)};var COb=function(a){if(null!=a)return r(a),{originalGif:Bu(X(a,Au,1)),originalLmsImage:Bu(X(a,Au,2)),collectionMetadata:AOb(X(a,zOb,3))}};var DOb=function(a){this.internalArray_=m(a)};T(DOb,p);DOb.prototype.getCategory=function(){return Zi(this,1,0)};DOb.prototype.toObject=function(){return EOb(this)};var EOb=function(a){if(null!=a)return r(a),{category:Zi(a,1,0),categoryLabel:U(a,2)}};var Gu=function(a){this.internalArray_=m(a)};T(Gu,p);Gu.prototype.getTotalItems=function(){return gt(this,1)};Gu.prototype.setTotalItems=function(a){return Bb(this,1,a,0)};Gu.prototype.toObject=function(){return FOb(this)};var FOb=function(a){if(null!=a)return r(a),{totalItems:gt(a,1),startTimestamp:Lt(X(a,Nh,2)),endTimestamp:Lt(X(a,Nh,3))}};var Hu=function(a){this.internalArray_=m(a)};T(Hu,p);Hu.prototype.getLatitude=function(){return rj(this,1)};Hu.prototype.getLongitude=function(){return rj(this,2)};Hu.prototype.toObject=function(){return GOb(this)};var GOb=function(a){if(null!=a)return r(a),{latitude:n(Ho(a,1)),longitude:n(Ho(a,2))}};var Iu=function(a){this.internalArray_=m(a)};T(Iu,p);Iu.prototype.getDownloadUrl=function(){return U(this,5)};Iu.prototype.toObject=function(){return HOb(this)};var HOb=function(a){if(null!=a)return r(a),{albumMetadata:FOb(X(a,Gu,1)),dedupKey:U(a,2),geolocationInfo:GOb(X(a,Hu,3)),sha1:Xb(Qj(a,4)),downloadUrl:U(a,5)}};var IOb=function(a){this.internalArray_=m(a)};T(IOb,p);IOb.prototype.toObject=function(){return JOb(this)};var JOb=function(a){if(null!=a)return r(a),{assetId:U(a,1)}};var KOb=function(a){this.internalArray_=m(a)};T(KOb,p);KOb.prototype.toObject=function(){return LOb(this)};var LOb=function(a){if(null!=a)return r(a),{contentId:U(a,1)}};var Ju=function(a){this.internalArray_=m(a)};T(Ju,p);Ju.prototype.getPhotoId=function(){return U(this,1)};Ju.prototype.toObject=function(){return MOb(this)};var MOb=function(a){if(null!=a)return r(a),{photoId:U(a,1)}};var NOb=function(a){this.internalArray_=m(a)};T(NOb,p);NOb.prototype.toObject=function(){return OOb(this)};var OOb=function(a){if(null!=a)return r(a),{remoteRef:U(a,1)}};var POb=function(a){this.internalArray_=m(a)};T(POb,p);POb.prototype.toObject=function(){return QOb(this)};var QOb=function(a){if(null!=a)return r(a),{serializedUploadFileResponse:U(a,1)}};var Ku=function(a){this.internalArray_=m(a)};T(Ku,p);Ku.prototype.getAgentId=function(){return Zi(this,3,0)};var Lu=[2,4,5,6,7];Ku.prototype.toObject=function(){return ROb(this)};var ROb=function(a){if(null!=a)return r(a),{dataUrl:U(a,1),agentId:Zi(a,3,0),gmailPhotosMetadata:OOb(ck(a,NOb,2,Lu)),geoPhotoMetadata:MOb(ck(a,Ju,4,Lu)),myMapsMetadata:QOb(ck(a,POb,5,Lu)),culturalMetadata:JOb(ck(a,IOb,7,Lu)),genericMetadata:LOb(ck(a,KOb,6,Lu))}};var SOb=function(a){this.internalArray_=m(a)};T(SOb,p);SOb.prototype.getCategory=function(){return U(this,1)};SOb.prototype.toObject=function(){return TOb(this)};var TOb=function(a){if(null!=a)return r(a),{category:U(a,1)}};var UOb=function(a){this.internalArray_=m(a)};T(UOb,p);f=UOb.prototype;f.getWidth=function(){return gt(this,1)};f.setWidth=function(a){return Bb(this,1,a,0)};f.getHeight=function(){return gt(this,2)};f.setHeight=function(a){return Bb(this,2,a,0)};f.toObject=function(){return VOb(this)};var VOb=function(a){if(null!=a)return r(a),{width:gt(a,1),height:gt(a,2)}};var WOb=function(a){this.internalArray_=m(a)};T(WOb,p);WOb.prototype.toObject=function(){return XOb(this)};var XOb=function(a){if(null!=a)return r(a),{imageSize:VOb(X(a,UOb,1))}};var YOb=function(a){this.internalArray_=m(a)};T(YOb,p);YOb.prototype.toObject=function(){return ZOb(this)};var ZOb=function(a){if(null!=a)return r(a),{originalImage:Bu(X(a,Au,1)),referrerUrl:U(a,2)}};var Mu=function(a){this.internalArray_=m(a)};T(Mu,p);Mu.prototype.getVideoMetadata=function(){return X(this,Cu,1)};Mu.prototype.hasVideoMetadata=function(){return Nj(this,Cu,1)};Mu.prototype.toObject=function(){return $Ob(this)};var $Ob=function(a){if(null!=a)return r(a),{videoMetadata:pOb(a.getVideoMetadata()),channelName:U(a,2),channelId:U(a,3),viewCount:ht(a,4)}};var aPb=function(a){this.internalArray_=m(a)};T(aPb,p);aPb.prototype.toObject=function(){return bPb(this)};var bPb=function(a){if(null!=a)return r(a),{youtubeVideoMetadata:$Ob(X(a,Mu,1))}};var Nu=function(a){this.internalArray_=m(a)};T(Nu,p);f=Nu.prototype;f.getId=function(){return X(this,yu,1)};f.setId=function(a){return hj(this,yu,1,a)};f.getName=function(){return U(this,2)};f.setName=function(a){return wj(this,2,a)};f.getDescription=function(){return U(this,3)};f.setDescription=function(a){return wj(this,3,a)};f.getParentId=function(){return U(this,4)};f.setParentId=function(a){return wj(this,4,a)};f.getType=function(){return Zi(this,6,0)};
f.setType=function(a){return Yi(this,6,a)};f.getMimeType=function(){return U(this,7)};f.setMimeType=function(a){wj(this,7,a)};f.getUrl=function(){return U(this,8)};f.setUrl=function(a){return wj(this,8,a)};f.getIconUrl=function(){return U(this,11)};f.setIconUrl=function(a){return wj(this,11,a)};var Ou=function(a){return kj(a,Au,10)};Nu.prototype.getLastModifiedTimestamp=function(){return X(this,Nh,12)};Nu.prototype.getVideoMetadata=function(){return X(this,Cu,34)};
Nu.prototype.hasVideoMetadata=function(){return Nj(this,Cu,34)};var Pu=function(a){return X(a,cPb,21)},dPb=function(a){this.internalArray_=m(a)};T(dPb,p);var cPb=function(a){this.internalArray_=m(a)};T(cPb,p);f=cPb.prototype;f.getShared=function(){return Tj(this,1)};f.setShared=function(a){Gb(this,1,a)};f.getVideoMetadata=function(){return X(this,Cu,3)};f.hasVideoMetadata=function(){return Nj(this,Cu,3)};f.getDownloadUrl=function(){return U(this,10)};f.getResourceKey=function(){return U(this,11)};
Nu.repeatedFields_=[5,10,22];Nu.prototype.toObject=function(){return Qu(this)};
var Qu=function(a){if(null!=a)return r(a),{id:kOb(a.getId()),name:U(a,2),description:U(a,3),parentId:U(a,4),allParentIdList:n(Th(a,5)),type:Zi(a,6,0),mimeType:U(a,7),url:U(a,8),templateThumbUrl:U(a,9),iconUrl:U(a,11),embedUrl:U(a,13),previewUrl:U(a,20),thumbnailList:Ub(Ou(a),Bu),internalThumbnailList:Ub(kj(a,Au,22),Bu),lastModifiedTimestamp:Lt(a.getLastModifiedTimestamp()),creationTimestampMs:Lt(X(a,Nh,16)),videoMetadata:pOb(a.getVideoMetadata()),audioMetadata:oOb(X(a,nOb,35)),calendarMetadata:vOb(X(a,
Eu,14)),webMetadata:ZOb(X(a,YOb,15)),photosMetadata:HOb(X(a,Iu,18)),themesMetadata:TOb(X(a,SOb,19)),driveMetadata:ePb(Pu(a)),youtubeMetadata:bPb(X(a,aPb,24)),cameraMetadata:xOb(X(a,wOb,26)),contactsMetadata:yOb(X(a,Fu,27)),partyMetadata:EOb(X(a,DOb,28)),urlMetadata:XOb(X(a,WOb,29)),uploadMetadata:ROb(X(a,Ku,30)),cropPhotoMetadata:sOb(X(a,Du,32)),lmsMetadata:COb(X(a,BOb,33)),bucketId:U(a,17),sizeBytes:ht(a,23),itemDiagnosticsInfo:jOb(X(a,xu,25)),isAttachment:Tj(a,31)}};dPb.prototype.toObject=function(){return fPb(this)};
var fPb=function(a){if(null!=a)return r(a),{targetId:U(a,1),targetMimeType:U(a,2),targetItem:Qu(X(a,Nu,3)),targetLookupStatus:Zi(a,4,0)}};cPb.prototype.toObject=function(){return ePb(this)};
var ePb=function(a){if(null!=a)return r(a),{shared:Tj(a,1),hasPrimarySyncParent:Tj(a,2),videoMetadata:pOb(a.getVideoMetadata()),recencyTimestamp:Lt(X(a,Nh,4)),recencyReason:qj(a,5),sharedDriveId:U(a,6),hasOwnPermissions:Tj(a,7),shortcutDetails:fPb(X(a,dPb,8)),copyable:Tj(a,9),downloadUrl:U(a,10),resourceKey:U(a,11),isRecentUpload:Tj(a,12),canDownload:Tj(a,13),restrictedDownload:Tj(a,14)}};var Ru=function(a){this.internalArray_=m(a)};T(Ru,p);Ru.prototype.getLabel=function(){return U(this,2)};Ru.prototype.setLabel=function(a){return wj(this,2,a)};Ru.prototype.toObject=function(){return gPb(this)};var gPb=function(a){if(null!=a)return r(a),{viewId:U(a,1),label:U(a,2),optionsJson:U(a,3)}};var Su=function(a){this.internalArray_=m(a)};T(Su,p);f=Su.prototype;f.getStatus=function(){return Zi(this,1,0)};f.setStatus=function(a){return Yi(this,1,a)};f.getItemList=function(){return kj(this,Nu,2)};f.setItemList=function(a){nj(this,2,a)};f.addItem=function(a,b){return Co(this,2,Nu,a,b)};f.setItem=function(a,b){return $s(this,2,Nu,a,b)};f.getItemCount=function(){return Zs(this,Nu,2)};f.getErrorCode=function(){return Zi(this,4,0)};f.getInternalOnlyV1ViewInfo=function(){return X(this,Ru,7)};
Su.repeatedFields_=[2];Su.prototype.toObject=function(){return hPb(this)};var hPb=function(a){if(null!=a)return r(a),{status:Zi(a,1,0),itemList:Ub(a.getItemList(),Qu),action:Zi(a,3,0),errorCode:Zi(a,4,0),internalOnlyV1ViewInfo:gPb(a.getInternalOnlyV1ViewInfo())}};var Tu=function(a){this.internalArray_=m(a)};T(Tu,p);Tu.prototype.getEventType=function(){return Zi(this,1,0)};Tu.prototype.setEventType=function(a){return Yi(this,1,a)};Tu.prototype.toObject=function(){return iPb(this)};var iPb=function(a){if(null!=a)return r(a),{eventType:Zi(a,1,0)}};var Uu=function(a){this.internalArray_=m(a)};T(Uu,p);f=Uu.prototype;f.getItemList=function(){return kj(this,Nu,1)};f.setItemList=function(a){nj(this,1,a)};f.addItem=function(a,b){return Co(this,1,Nu,a,b)};f.setItem=function(a,b){return $s(this,1,Nu,a,b)};f.getItemCount=function(){return Zs(this,Nu,1)};Uu.repeatedFields_=[1];Uu.prototype.toObject=function(){return jPb(this)};
var jPb=function(a){if(null!=a)return r(a),{itemList:Ub(a.getItemList(),Qu),currentItem:Qu(X(a,Nu,2)),currentItemIndex:gt(a,3)}};var kPb=function(a){this.internalArray_=m(a)};T(kPb,p);f=kPb.prototype;f.getQuery=function(){return U(this,1)};f.setQuery=function(a){return wj(this,1,a)};f.clearQuery=function(){ct(this,1)};f.setShowHidden=function(a){return Gb(this,3,a)};f.toObject=function(){return lPb(this)};var lPb=function(a){if(null!=a)return r(a),{query:U(a,1),minAccessRole:Zi(a,2,0),showHidden:Tj(a,3),fetchProfile:Tj(a,4)}};var Vu=function(a){this.internalArray_=m(a)};T(Vu,p);Vu.prototype.getUploadUrl=function(){return U(this,1)};Vu.prototype.getAgentId=function(){return Zi(this,3,0)};Vu.repeatedFields_=[11];Vu.prototype.toObject=function(){return mPb(this)};
var mPb=function(a){if(null!=a){r(a);var b=U(a,1);var c=xb(a,7,ob);c=Wb(c);var d=xb(a,2,ob);d=Wb(d);var e=xb(a,6,ob);return{uploadUrl:b,uploadUrlParametersMap:c,metadataMap:d,videoMetadataMap:Wb(e),agentId:Zi(a,3,0),configurationId:Zi(a,4,0),sendDataUrl:Tj(a,5),fileExtensionsList:n(Th(a,11))}}};var nPb=function(a){this.internalArray_=m(a)};T(nPb,p);nPb.prototype.getUploadSourceOptions=function(){return X(this,Vu,2)};nPb.prototype.toObject=function(){return oPb(this)};var oPb=function(a){if(null!=a)return r(a),{uploadMode:Zi(a,1,0),uploadSourceOptions:mPb(a.getUploadSourceOptions())}};var Wu=function(a){this.internalArray_=m(a)};T(Wu,p);Wu.prototype.getQuery=function(){return U(this,1)};Wu.prototype.setQuery=function(a){return wj(this,1,a)};Wu.prototype.clearQuery=function(){ct(this,1)};Wu.prototype.toObject=function(){return pPb(this)};var pPb=function(a){if(null!=a)return r(a),{query:U(a,1)}};var Xu=function(a){this.internalArray_=m(a)};T(Xu,p);Xu.prototype.getParent=function(a){return kt(this,1,a)};Xu.prototype.setParent=function(a){return nt(this,1,a)};Xu.repeatedFields_=[1,3];Xu.prototype.toObject=function(){return qPb(this)};var qPb=function(a){if(null!=a)return r(a),{parentList:n(Th(a,1)),embeddingParent:U(a,2),fileExtensionsList:n(Th(a,3)),convertToDocsItem:Tj(a,4)}};var rPb=function(a){this.internalArray_=m(a)};T(rPb,p);rPb.repeatedFields_=[3];rPb.prototype.toObject=function(){return sPb(this)};var sPb=function(a){if(null!=a)return r(a),{allowOnlyDownloadableItems:Tj(a,1),allowOnlyCopyableItems:Tj(a,2),disabledItemIdsList:n(Th(a,3))}};var tPb=function(a){this.internalArray_=m(a)};T(tPb,p);f=tPb.prototype;f.getType=function(){return Zi(this,1,0)};f.setType=function(a){return Yi(this,1,a)};f.getDirection=function(){return Zi(this,2,0)};f.setDirection=function(a){return Yi(this,2,a)};f.toObject=function(){return uPb(this)};var uPb=function(a){if(null!=a)return r(a),{type:Zi(a,1,0),direction:Zi(a,2,0),foldersFirst:Tj(a,3)}};var vPb=function(a){this.internalArray_=m(a)};T(vPb,p);f=vPb.prototype;f.getParentId=function(){return U(this,1)};f.setParentId=function(a){return wj(this,1,a)};f.getQuery=function(){return U(this,2)};f.setQuery=function(a){return wj(this,2,a)};f.clearQuery=function(){ct(this,2)};f.getStarred=function(){return Tj(this,7)};f.setStarred=function(a){Gb(this,7,a)};f.getLastModified=function(){return X(this,Nh,9)};f.toObject=function(){return wPb(this)};
var wPb=function(a){if(null!=a)return r(a),{parentId:U(a,1),query:U(a,2),sortBy:uPb(X(a,tPb,3)),ownedBy:Zi(a,4,0),sharedWithMe:Tj(a,5),starred:Tj(a,7),viewMode:Zi(a,8,0),lastModified:Lt(a.getLastModified()),disableInstantUpdates:Tj(a,10),inSharedDrive:Tj(a,11),inComputers:Tj(a,12),permissions:Zi(a,13,0),itemSuggest:Tj(a,14),driveUploadOptions:qPb(X(a,Xu,15)),encryptedOnlyMode:Tj(a,16),includeEncryptedItems:Tj(a,17),excludeSharedDriveItems:Tj(a,20),itemSuggestScenarioType:Zi(a,18,0),restrictions:sPb(X(a,
rPb,19))}};var Yu=function(a){this.internalArray_=m(a)};T(Yu,p);Yu.prototype.getQuery=function(){return U(this,1)};Yu.prototype.setQuery=function(a){return wj(this,1,a)};Yu.prototype.clearQuery=function(){ct(this,1)};Yu.prototype.toObject=function(){return xPb(this)};var xPb=function(a){if(null!=a)return r(a),{query:U(a,1),filterType:Zi(a,3,0),viewType:Zi(a,5,0)}};var yPb=function(a){this.internalArray_=m(a)};T(yPb,p);yPb.prototype.getCategory=function(){return Zi(this,2,0)};yPb.prototype.toObject=function(){return zPb(this)};var zPb=function(a){if(null!=a)return r(a),{category:Zi(a,2,0),deprecatedCategory:U(a,1)}};var APb=function(a){this.internalArray_=m(a)};T(APb,p);APb.repeatedFields_=[8];APb.prototype.toObject=function(){return BPb(this)};var BPb=function(a){if(null!=a)return r(a),{parentAlbumKey:U(a,1),bucketBy:Zi(a,2,0),viewMode:Zi(a,3,0),queryText:U(a,4),includePhotos:Tj(a,5),includeVideos:Tj(a,6),enableVideoPreviews:Tj(a,9),viewType:Zi(a,7,0),associationOriginList:n(cl(a,8))}};var CPb=function(a){this.internalArray_=m(a)};T(CPb,p);CPb.repeatedFields_=[1];CPb.prototype.toObject=function(){return DPb(this)};var DPb=function(a){if(null!=a)return r(a),{mediaTypesList:n(cl(a,1))}};var EPb=function(a){this.internalArray_=m(a)};T(EPb,p);EPb.prototype.toObject=function(){return FPb(this)};var FPb=function(a){if(null!=a)return r(a),{themeSourceId:Zi(a,1,0)}};var GPb=function(a){this.internalArray_=m(a)};T(GPb,p);GPb.prototype.setMode=function(a){return Yi(this,1,a)};GPb.prototype.toObject=function(){return HPb(this)};var HPb=function(a){if(null!=a)return r(a),{mode:Zi(a,1,0)}};var Zu=function(a){this.internalArray_=m(a)};T(Zu,p);Zu.prototype.getQuery=function(){return U(this,1)};Zu.prototype.setQuery=function(a){return wj(this,1,a)};Zu.prototype.clearQuery=function(){ct(this,1)};Zu.prototype.toObject=function(){return IPb(this)};var IPb=function(a){if(null!=a)return r(a),{query:U(a,1),usageRights:Zi(a,2,0),disableSafeSearchMode:Tj(a,3),viewMode:Zi(a,4,0)}};var $u=function(a){this.internalArray_=m(a)};T($u,p);$u.prototype.getQuery=function(){return U(this,2)};$u.prototype.setQuery=function(a){return wj(this,2,a)};$u.prototype.clearQuery=function(){ct(this,2)};$u.prototype.toObject=function(){return JPb(this)};var JPb=function(a){if(null!=a)return r(a),{viewMode:Zi(a,1,0),query:U(a,2)}};var av=function(a){this.internalArray_=m(a)};T(av,p);f=av.prototype;f.getSourceId=function(){return Zi(this,1,0)};f.setSourceId=function(a){return Yi(this,1,a)};f.getName=function(){return U(this,8)};f.setName=function(a){return wj(this,8,a)};f.getUploadSourceOptions=function(){return X(this,Vu,10)};f.getInternalOnlyV1ViewInfo=function(){return X(this,Ru,18)};av.repeatedFields_=[14];av.prototype.toObject=function(){return KPb(this)};
var KPb=function(a){if(null!=a)return r(a),{sourceId:Zi(a,1,0),name:U(a,8),driveSourceOptions:wPb(X(a,vPb,3)),calendarSourceOptions:lPb(X(a,kPb,4)),webSourceOptions:IPb(X(a,Zu,5)),photosSourceOptions:BPb(X(a,APb,6)),themesSourceOptions:FPb(X(a,EPb,7)),youtubeSourceOptions:JPb(X(a,$u,9)),uploadSourceOptions:mPb(a.getUploadSourceOptions()),contactsSourceOptions:pPb(X(a,Wu,12)),partySourceOptions:zPb(X(a,yPb,13)),urlSourceOptions:HPb(X(a,GPb,15)),cameraSourceOptions:oPb(X(a,nPb,16)),lmsSourceOptions:xPb(X(a,
Yu,17)),stockSourceOptions:DPb(X(a,CPb,19)),childSourceList:Ub(kj(a,av,14),KPb),internalOnlyV1ViewInfo:gPb(a.getInternalOnlyV1ViewInfo())}};var bv=function(a){this.internalArray_=m(a)};T(bv,p);f=bv.prototype;f.getCommand=function(){return Zi(this,1,0)};f.setCommand=function(a){return Yi(this,1,a)};f.getSource=function(){return X(this,av,2)};f.setSource=function(a){return hj(this,av,2,a)};f.hasSource=function(){return Nj(this,av,2)};f.setVisible=function(a){return Gb(this,5,a)};f.getItemList=function(){return kj(this,Nu,7)};f.setItemList=function(a){nj(this,7,a)};f.addItem=function(a,b){return Co(this,7,Nu,a,b)};
f.setItem=function(a,b){return $s(this,7,Nu,a,b)};f.getItemCount=function(){return Zs(this,Nu,7)};bv.repeatedFields_=[3,7];bv.prototype.toObject=function(){if(null!=this){r(this);var a={command:Zi(this,1,0),source:KPb(this.getSource()),itemIdList:Ub(kj(this,yu,3),kOb),correlationId:U(this,4),visible:Tj(this,5),cssVisibilityChanged:Tj(this,6),itemList:Ub(this.getItemList(),Qu)}}else a=void 0;return a};var cv=function(a){this.internalArray_=m(a)};T(cv,p);f=cv.prototype;f.getCommand=function(){return Zi(this,1,0)};f.setCommand=function(a){return Yi(this,1,a)};f.getItemList=function(){return kj(this,Nu,4)};f.setItemList=function(a){nj(this,4,a)};f.addItem=function(a,b){return Co(this,4,Nu,a,b)};f.setItem=function(a,b){return $s(this,4,Nu,a,b)};f.getItemCount=function(){return Zs(this,Nu,4)};var LPb=Zb(cv);cv.repeatedFields_=[4];
cv.prototype.toObject=function(){if(null!=this){r(this);var a={command:Zi(this,1,0),pickerResult:hPb(X(this,Su,2)),correlationId:U(this,3),itemList:Ub(this.getItemList(),Qu),previewData:jPb(X(this,Uu,5)),latencyData:iPb(X(this,Tu,6))}}else a=void 0;return a};var MPb=function(a){this.internalArray_=m(a)};T(MPb,p);MPb.prototype.getResourceKey=function(){return X(this,XNb,2)};MPb.prototype.toObject=function(){return NPb(this)};var NPb=function(a){if(null!=a)return r(a),{documentId:U(a,1),resourceKey:YNb(a.getResourceKey())}};var dv=function(a){this.internalArray_=m(a)};T(dv,p);dv.prototype.getGroupId=function(){return U(this,1)};dv.prototype.setGroupId=function(a){wj(this,1,a)};dv.prototype.toObject=function(){return OPb(this)};var OPb=function(a){if(null!=a)return r(a),{groupId:U(a,1)}};var Tca="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var ev=function(a){return function(){return a}},fv=function(){},PPb=function(a){return a},EMa=function(){var a=DMa;return function(){return!a.apply(this,arguments)}},QPb=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},gv=function(a,b){var c=0;return function(d){ba.clearTimeout(c);var e=arguments;c=ba.setTimeout(function(){a.apply(void 0,e)},b)}},RPb=function(a,b){var c=0,d=!1,e=[],g=function(){c=0;d&&(d=!1,h())},h=function(){c=ba.setTimeout(g,b);var l=e;e=[];a.apply(void 0,l)};
return function(l){e=arguments;c?d=!0:h()}};var SPb={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};var TPb,UPb=function(){if(void 0===TPb){var a=null,b=ba.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:DJb,createScript:DJb,createScriptURL:DJb})}catch(c){ba.console&&ba.console.error(c.message)}TPb=a}else TPb=a}return TPb};var hc=function(a,b){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a===VPb&&b||"";this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=WPb};hc.prototype.implementsGoogStringTypedString=!0;hc.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};
var ic=function(a){return a instanceof hc&&a.constructor===hc&&a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===WPb?a.stringConstValueWithSecurityContract__googStringSecurityPrivate_:"type_error:Const"},Yn=function(a){return new hc(VPb,a)},WPb={},VPb={};var hv=function(a){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=a};hv.prototype.toString=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+""};hv.prototype.implementsGoogStringTypedString=!0;hv.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()};
var Gh=function(a){if(a instanceof hv&&a.constructor===hv)return a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;Ya(a);return"type_error:TrustedResourceUrl"},Xn=function(a){return Ng(ic(a))},XPb={},Ng=function(a){var b=UPb();a=b?b.createScriptURL(a):a;return new hv(a,XPb)};var ec=function(a){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=a};ec.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};ec.prototype.implementsGoogStringTypedString=!0;ec.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};
var fc=function(a){if(a instanceof ec&&a.constructor===ec)return a.privateDoNotAccessOrElseSafeUrlWrappedValue_;Ya(a);return"type_error:SafeUrl"},YPb=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,ZPb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,cda=function(a){if(a instanceof ec)return a;a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);ZPb.test(a)?a=Qg(a):(a=String(a).replace(/(%0A|%0D)/g,""),a=a.match(YPb)?Qg(a):null);return a},$Pb;
try{new URL("s://g"),$Pb=!0}catch(a){$Pb=!1}
var aQb=$Pb,g0a=function(a){if(a instanceof ec)return a;a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);a:{var b=a;if(aQb){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 Qg(a)},bQb={},Qg=function(a){return new ec(a,bQb)},dda=Qg("about:invalid#zClosurez");var cQb={},iv=function(a){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=a;this.implementsGoogStringTypedString=!0};iv.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_};iv.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString()};
var dQb=function(a){if(a instanceof iv&&a.constructor===iv)return a.privateDoNotAccessOrElseSafeStyleWrappedValue_;Ya(a);return"type_error:SafeStyle"},eQb=new iv("",cQb),Yca=RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"),Xca=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Wca=RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|radial-gradient|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?|steps|var)\\([-+*/0-9a-zA-Z.%#\\[\\], ]+\\)",
"g"),Zca=/\/\*/;var jv=function(a){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=a;this.implementsGoogStringTypedString=!0};jv.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString()};jv.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_};var fQb=function(a){if(a instanceof jv&&a.constructor===jv)return a.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;Ya(a);return"type_error:SafeStyleSheet"};var gQb={},Kg=function(a){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=a;this.implementsGoogStringTypedString=!0};Kg.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};Kg.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};
var qk=function(a){if(a instanceof Kg&&a.constructor===Kg)return a.privateDoNotAccessOrElseSafeHtmlWrappedValue_;Ya(a);return"type_error:SafeHtml"},yn=function(a){return a instanceof Kg?a:Lg(MJb("object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a)))},kv=function(a){if(a instanceof Kg)return a;a=yn(a);a=qk(a).toString().replace(/(\r\n|\r|\n)/g,"<br>");return Lg(a)},An=function(a,b,c){var d=String(a);if(!hQb.test(d))throw Error("ca");if(d.toUpperCase()in iQb)throw Error("ca");
a=String(a);d="<"+a;var e="";if(b)for(var g in b)if(Object.prototype.hasOwnProperty.call(b,g)){if(!hQb.test(g))throw Error("ca");var h=b[g];if(null!=h){var l=g;var q=h;if(q instanceof hc)q=ic(q);else if("style"==l.toLowerCase()){h=void 0;if(!wa(q))throw Error("ca");if(!(q instanceof iv)){var v="";for(h in q)if(Object.prototype.hasOwnProperty.call(q,h)){if(!/^[-_a-zA-Z0-9]+$/.test(h))throw Error("ba`"+h);var x=q[h];null!=x&&(x=Array.isArray(x)?x.map(bda).join(" "):bda(x),v+=h+":"+x+";")}q=v?new iv(v,
cQb):eQb}q=dQb(q)}else{if(/^on/i.test(l))throw Error("ca");if(l.toLowerCase()in jQb)if(q instanceof hv)q=Gh(q).toString();else if(q instanceof ec)q=fc(q);else if("string"===typeof q)q=(cda(q)||dda).getTypedStringValue();else throw Error("ca");}q.implementsGoogStringTypedString&&(q=q.getTypedStringValue());l=l+'="'+MJb(String(q))+'"';e+=" "+l}}b=d+e;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===SPb[a.toLowerCase()]?b+=">":(g=Bn(c),b+=">"+qk(g).toString()+"</"+a+">");return Lg(b)},kQb=function(a){var b=
yn(ts),c=[],d=function(e){Array.isArray(e)?e.forEach(d):(e=yn(e),c.push(qk(e).toString()))};a.forEach(d);return Lg(c.join(qk(b).toString()))},Bn=function(a){return kQb(Array.prototype.slice.call(arguments))},Lg=function(a){var b=UPb();a=b?b.createHTML(a):a;return new Kg(a,gQb)},hQb=/^[a-zA-Z0-9-]+$/,jQb={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},iQb={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},ts=
new Kg(ba.trustedTypes&&ba.trustedTypes.emptyHTML||"",gQb);var lQb=QPb(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=qk(ts);return!b.parentElement}),CMa=function(a,b){if(lQb())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=qk(b)},mQb=function(a,b){b=b instanceof ec?b:g0a(b);a.action=fc(b)},oQb=function(a,b){var c=nQb(a.ownerDocument&&a.ownerDocument.defaultView);c&&a.setAttribute("nonce",c);a.src=Gh(b)},h0a=function(a,
b,c,d){a=a instanceof ec?a:g0a(a);b=b||ba;c=c instanceof hc?ic(c):c||"";return void 0!==d?b.open(fc(a),c,d):b.open(fc(a),c)},pQb=/^[\w+/_-]+[=]{0,2}$/,nQb=function(a){a=(a||ba).document;return a.querySelector?(a=a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&pQb.test(a)?a:"":""};var qQb=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")},rQb=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},vp=function(a){return a=MJb(a)},sQb=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},hjb=function(a,b,c){return a.replace(new RegExp(zn(b),"g"),c.replace(/\$/g,
"$$$$"))},zn=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},tQb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},lv=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+tQb("0",Math.max(0,b-c))+a},Lk=function(a){return null==a?"":String(a)},mv=function(){return Math.floor(2147483648*Math.random()).toString(36)+
Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)},gi=function(a){var b=Number(a);return 0==b&&Mk(a)?NaN:b},ji=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},bi=function(a){isFinite(a)&&(a=String(a));return"string"===typeof a?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},uQb=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(sa){q&&q.mark&&q.mark(sa)}function c(sa,Ka){q&&q.measure&&q.measure(sa,Ka)}function d(sa){return v+sa}function e(sa){Da||a[W]&&(Da=a[W].resolve(0));if(Da){var Ka=Da[ia];Ka||(Ka=Da.then);Ka.call(Da,sa)}else a[Y](sa,0)}function g(sa){0===cb&&0===ja.length&&e(h);sa&&ja.push(sa)}function h(){if(!Aa){for(Aa=!0;ja.length;){var sa=ja;ja=[];for(var Ka=0;Ka<sa.length;Ka++){var Qa=sa[Ka];try{Qa.zone.runTask(Qa,null,null)}catch(fb){Wa.onUnhandledError(fb)}}}Wa.microtaskDrainDone();Aa=
!1}}function l(){}var q=a.performance;b("Zone");var v=a.__Zone_symbol_prefix||"__zone_symbol__",x=!0===a[d("forceDuplicateZoneCheck")];if(a.Zone){if(x||"function"!==typeof a.Zone.__symbol__)throw Error("da");return a.Zone}var A=function(sa,Ka){this._parent=sa;this._name=Ka?Ka.name||"unnamed":"<root>";this._properties=Ka&&Ka.properties||{};this._zoneDelegate=new M(this,this._parent&&this._parent._zoneDelegate,Ka)};A.assertZonePatched=function(){if(a.Promise!==Ta.ZoneAwarePromise)throw Error("ea");
};A.__load_patch=function(sa,Ka,Qa){Qa=void 0===Qa?!1:Qa;if(Ta.hasOwnProperty(sa)){if(!Qa&&x)throw Error("fa`"+sa);}else a["__Zone_disable_"+sa]||(Qa="Zone:"+sa,b(Qa),Ta[sa]=Ka(a,A,Wa),c(Qa,Qa))};A.prototype.get=function(sa){var Ka=this.getZoneWith(sa);if(Ka)return Ka._properties[sa]};A.prototype.getZoneWith=function(sa){for(var Ka=this;Ka;){if(Ka._properties.hasOwnProperty(sa))return Ka;Ka=Ka._parent}return null};A.prototype.fork=function(sa){if(!sa)throw Error("ga");return this._zoneDelegate.fork(this,
sa)};A.prototype.wrap=function(sa,Ka){if("function"!==typeof sa)throw Error("ha`"+sa);var Qa=this._zoneDelegate.intercept(this,sa,Ka),fb=this;return function(){return fb.runGuarded(Qa,this,arguments,Ka)}};A.prototype.run=function(sa,Ka,Qa,fb){Nb={parent:Nb,zone:this};try{return this._zoneDelegate.invoke(this,sa,Ka,Qa,fb)}finally{Nb=Nb.parent}};A.prototype.runGuarded=function(sa,Ka,Qa,fb){Nb={parent:Nb,zone:this};try{try{return this._zoneDelegate.invoke(this,sa,void 0===Ka?null:Ka,Qa,fb)}catch($a){if(this._zoneDelegate.handleError(this,
$a))throw $a;}}finally{Nb=Nb.parent}};A.prototype.runTask=function(sa,Ka,Qa){if(sa.zone!=this)throw Error("ia`"+(sa.zone||Oa).name+"`"+this.name);if("notScheduled"!==sa.state||"eventTask"!==sa.type&&"macroTask"!==sa.type){var fb="running"!=sa.state;fb&&sa._transitionTo("running","scheduled");sa.runCount++;var $a=Eb;Eb=sa;Nb={parent:Nb,zone:this};try{"macroTask"==sa.type&&sa.data&&!sa.data.isPeriodic&&(sa.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,sa,Ka,Qa)}catch(Yc){if(this._zoneDelegate.handleError(this,
Yc))throw Yc;}}finally{"notScheduled"!==sa.state&&"unknown"!==sa.state&&("eventTask"==sa.type||sa.data&&sa.data.isPeriodic?fb&&sa._transitionTo("scheduled","running"):(sa.runCount=0,this._updateTaskCount(sa,-1),fb&&sa._transitionTo("notScheduled","running","notScheduled"))),Nb=Nb.parent,Eb=$a}}};A.prototype.scheduleTask=function(sa){if(sa.zone&&sa.zone!==this)for(var Ka=this;Ka;){if(Ka===sa.zone)throw Error("ja`"+this.name+"`"+sa.zone.name);Ka=Ka.parent}sa._transitionTo("scheduling","notScheduled");
Ka=[];sa._zoneDelegates=Ka;sa._zone=this;try{sa=this._zoneDelegate.scheduleTask(this,sa)}catch(Qa){throw sa._transitionTo("unknown","scheduling","notScheduled"),this._zoneDelegate.handleError(this,Qa),Qa;}sa._zoneDelegates===Ka&&this._updateTaskCount(sa,1);"scheduling"==sa.state&&sa._transitionTo("scheduled","scheduling");return sa};A.prototype.scheduleMicroTask=function(sa,Ka,Qa,fb){return this.scheduleTask(new Q("microTask",sa,Ka,Qa,fb,void 0))};A.prototype.scheduleMacroTask=function(sa,Ka,Qa,fb,
$a){return this.scheduleTask(new Q("macroTask",sa,Ka,Qa,fb,$a))};A.prototype.scheduleEventTask=function(sa,Ka,Qa,fb,$a){return this.scheduleTask(new Q("eventTask",sa,Ka,Qa,fb,$a))};A.prototype.cancelTask=function(sa){if(sa.zone!=this)throw Error("ka`"+(sa.zone||Oa).name+"`"+this.name);if("scheduled"===sa.state||"running"===sa.state){sa._transitionTo("canceling","scheduled","running");try{this._zoneDelegate.cancelTask(this,sa)}catch(Ka){throw sa._transitionTo("unknown","canceling"),this._zoneDelegate.handleError(this,
Ka),Ka;}this._updateTaskCount(sa,-1);sa._transitionTo("notScheduled","canceling");sa.runCount=0;return sa}};A.prototype._updateTaskCount=function(sa,Ka){var Qa=sa._zoneDelegates;-1==Ka&&(sa._zoneDelegates=null);for(var fb=0;fb<Qa.length;fb++)Qa[fb]._updateTaskCount(sa.type,Ka)};sh.Object.defineProperties(A.prototype,{parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},name:{configurable:!0,enumerable:!0,get:function(){return this._name}}});sh.Object.defineProperties(A,{root:{configurable:!0,
enumerable:!0,get:function(){for(var sa=A.current;sa.parent;)sa=sa.parent;return sa}},current:{configurable:!0,enumerable:!0,get:function(){return Nb.zone}},currentTask:{configurable:!0,enumerable:!0,get:function(){return Eb}}});A.__symbol__=d;var G={name:"",onHasTask:function(sa,Ka,Qa,fb){return sa.hasTask(Qa,fb)},onScheduleTask:function(sa,Ka,Qa,fb){return sa.scheduleTask(Qa,fb)},onInvokeTask:function(sa,Ka,Qa,fb,$a,Yc){return sa.invokeTask(Qa,fb,$a,Yc)},onCancelTask:function(sa,Ka,Qa,fb){return sa.cancelTask(Qa,
fb)}},M=function(sa,Ka,Qa){this._taskCounts={microTask:0,macroTask:0,eventTask:0};this.zone=sa;this._parentDelegate=Ka;this._forkZS=Qa&&(Qa&&Qa.onFork?Qa:Ka._forkZS);this._forkDlgt=Qa&&(Qa.onFork?Ka:Ka._forkDlgt);this._forkCurrZone=Qa&&(Qa.onFork?this.zone:Ka._forkCurrZone);this._interceptZS=Qa&&(Qa.onIntercept?Qa:Ka._interceptZS);this._interceptDlgt=Qa&&(Qa.onIntercept?Ka:Ka._interceptDlgt);this._interceptCurrZone=Qa&&(Qa.onIntercept?this.zone:Ka._interceptCurrZone);this._invokeZS=Qa&&(Qa.onInvoke?
Qa:Ka._invokeZS);this._invokeDlgt=Qa&&(Qa.onInvoke?Ka:Ka._invokeDlgt);this._invokeCurrZone=Qa&&(Qa.onInvoke?this.zone:Ka._invokeCurrZone);this._handleErrorZS=Qa&&(Qa.onHandleError?Qa:Ka._handleErrorZS);this._handleErrorDlgt=Qa&&(Qa.onHandleError?Ka:Ka._handleErrorDlgt);this._handleErrorCurrZone=Qa&&(Qa.onHandleError?this.zone:Ka._handleErrorCurrZone);this._scheduleTaskZS=Qa&&(Qa.onScheduleTask?Qa:Ka._scheduleTaskZS);this._scheduleTaskDlgt=Qa&&(Qa.onScheduleTask?Ka:Ka._scheduleTaskDlgt);this._scheduleTaskCurrZone=
Qa&&(Qa.onScheduleTask?this.zone:Ka._scheduleTaskCurrZone);this._invokeTaskZS=Qa&&(Qa.onInvokeTask?Qa:Ka._invokeTaskZS);this._invokeTaskDlgt=Qa&&(Qa.onInvokeTask?Ka:Ka._invokeTaskDlgt);this._invokeTaskCurrZone=Qa&&(Qa.onInvokeTask?this.zone:Ka._invokeTaskCurrZone);this._cancelTaskZS=Qa&&(Qa.onCancelTask?Qa:Ka._cancelTaskZS);this._cancelTaskDlgt=Qa&&(Qa.onCancelTask?Ka:Ka._cancelTaskDlgt);this._cancelTaskCurrZone=Qa&&(Qa.onCancelTask?this.zone:Ka._cancelTaskCurrZone);this._hasTaskCurrZone=this._hasTaskDlgtOwner=
this._hasTaskDlgt=this._hasTaskZS=null;var fb=Qa&&Qa.onHasTask,$a=Ka&&Ka._hasTaskZS;if(fb||$a)this._hasTaskZS=fb?Qa:G,this._hasTaskDlgt=Ka,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=sa,Qa.onScheduleTask||(this._scheduleTaskZS=G,this._scheduleTaskDlgt=Ka,this._scheduleTaskCurrZone=this.zone),Qa.onInvokeTask||(this._invokeTaskZS=G,this._invokeTaskDlgt=Ka,this._invokeTaskCurrZone=this.zone),Qa.onCancelTask||(this._cancelTaskZS=G,this._cancelTaskDlgt=Ka,this._cancelTaskCurrZone=this.zone)};M.prototype.fork=
function(sa,Ka){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,sa,Ka):new A(sa,Ka)};M.prototype.intercept=function(sa,Ka,Qa){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,sa,Ka,Qa):Ka};M.prototype.invoke=function(sa,Ka,Qa,fb,$a){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,sa,Ka,Qa,fb,$a):Ka.apply(Qa,fb)};M.prototype.handleError=function(sa,Ka){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,
this._handleErrorCurrZone,sa,Ka):!0};M.prototype.scheduleTask=function(sa,Ka){var Qa=Ka;if(this._scheduleTaskZS)this._hasTaskZS&&Qa._zoneDelegates.push(this._hasTaskDlgtOwner),(Qa=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,sa,Ka))||(Qa=Ka);else if(Ka.scheduleFn)Ka.scheduleFn(Ka);else if("microTask"==Ka.type)g(Ka);else throw Error("la");return Qa};M.prototype.invokeTask=function(sa,Ka,Qa,fb){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,
this._invokeTaskCurrZone,sa,Ka,Qa,fb):Ka.callback.apply(Qa,fb)};M.prototype.cancelTask=function(sa,Ka){if(this._cancelTaskZS)sa=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,sa,Ka);else{if(!Ka.cancelFn)throw Error("ma");sa=Ka.cancelFn(Ka)}return sa};M.prototype.hasTask=function(sa,Ka){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,sa,Ka)}catch(Qa){this.handleError(sa,Qa)}};M.prototype._updateTaskCount=function(sa,Ka){var Qa=this._taskCounts,
fb=Qa[sa];Ka=Qa[sa]=fb+Ka;if(0>Ka)throw Error("na");0!=fb&&0!=Ka||this.hasTask(this.zone,{microTask:0<Qa.microTask,macroTask:0<Qa.macroTask,eventTask:0<Qa.eventTask,change:sa})};var Q=function(sa,Ka,Qa,fb,$a,Yc){this._zone=null;this.runCount=0;this._zoneDelegates=null;this._state="notScheduled";this.type=sa;this.source=Ka;this.data=fb;this.scheduleFn=$a;this.cancelFn=Yc;if(!Qa)throw Error("oa");this.callback=Qa;var hb=this;this.invoke="eventTask"===sa&&fb&&fb.useG?Q.invokeTask:function(){return Q.invokeTask.call(a,
hb,this,arguments)}};Q.invokeTask=function(sa,Ka,Qa){sa||(sa=this);cb++;try{return sa.runCount++,sa.zone.runTask(sa,Ka,Qa)}finally{1==cb&&h(),cb--}};Q.prototype._transitionTo=function(sa,Ka,Qa){if(this._state===Ka||this._state===Qa)this._state=sa,"notScheduled"==sa&&(this._zoneDelegates=null);else throw Error("pa`"+this.type+"`"+this.source+"`"+sa+"`"+Ka+"`"+(Qa?" or '"+Qa+"'":"")+"`"+this._state);};Q.prototype.toString=function(){return this.data&&"undefined"!==typeof this.data.handleId?this.data.handleId.toString():
Object.prototype.toString.call(this)};Q.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}};sh.Object.defineProperties(Q.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}},state:{configurable:!0,enumerable:!0,get:function(){return this._state}}});var Y=d("setTimeout"),W=d("Promise"),ia=d("then"),ja=[],Aa=!1,Da,Oa={name:"NO ZONE"},Ta={},Wa={symbol:d,currentZoneFrame:function(){return Nb},onUnhandledError:l,
microtaskDrainDone:l,scheduleMicroTask:g,showUncaughtError:function(){return!A[d("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:l,patchMethod:function(){return l},bindArguments:function(){return[]},patchThen:function(){return l},patchMacroTask:function(){return l},patchEventPrototype:function(){return l},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return l},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},
ArraySlice:function(){return[]},patchClass:function(){return l},wrapWithCurrentZone:function(){return l},filterProperties:function(){return[]},attachOriginToPatched:function(){return l},_redefineProperty:function(){return l},patchCallbacks:function(){return l},nativeScheduleMicroTask:e},Nb={parent:null,zone:new A(null,null)},Eb=null,cb=0;c("Zone","Zone");return a.Zone=A})("undefined"!==typeof window&&window||"undefined"!==typeof self&&self||global);Zone.__load_patch("Error",function(a,b,c){function d(ja){for(var Aa={zoneName:ja.zone.name},Da=Aa;ja.parent;){ja=ja.parent;var Oa={zoneName:ja.zone.name};Aa=Aa.parent=Oa}return Da}function e(ja,Aa,Da){Da=void 0===Da?!0:Da;ja=ja.split("\n");for(var Oa=0;ja[Oa]!==v&&ja[Oa]!==x&&ja[Oa]!==A&&ja[Oa]!==G&&ja[Oa]!==M&&Oa<ja.length;)Oa++;for(;Oa<ja.length&&Aa;Oa++){var Ta=ja[Oa];if(Ta.trim())switch(q[Ta]){case 0:ja.splice(Oa,1);Oa--;break;case 1:Aa.parent?Aa=Aa.parent:Aa=null;ja.splice(Oa,1);Oa--;break;default:ja[Oa]+=
Da?" ["+Aa.zone.name+"]":" ["+Aa.zoneName+"]"}}return ja.join("\n")}function g(){var ja=this,Aa=l.apply(this,arguments),Da=Aa.originalStack=Aa.stack;if(g.stackRewrite&&Da){var Oa=c.currentZoneFrame();if("lazy"===Q)Aa[c.symbol("zoneFrameNames")]=d(Oa);else if("default"===Q)try{Aa.stack=Aa.zoneAwareStack=e(Da,Oa)}catch(Ta){}}return this instanceof l&&this.constructor!=l?(Object.keys(Aa).concat("stack","message").forEach(function(Ta){var Wa=Aa[Ta];if(void 0!==Wa)try{ja[Ta]=Wa}catch(Nb){}}),this):Aa}
var h=c.symbol("zoneJsInternalStackFrames"),l=a[c.symbol("Error")]=a.Error,q={},v,x,A,G,M;a.Error=g;var Q=a.__Zone_Error_BlacklistedStackFrames_policy||a.__Zone_Error_ZoneJsInternalStackFrames_policy||"default";g.prototype=l.prototype;g[h]=q;g.stackRewrite=!1;var Y=c.symbol("zoneAwareStack");"lazy"===Q&&Object.defineProperty(g.prototype,"zoneAwareStack",{configurable:!0,enumerable:!0,get:function(){this[Y]||(this[Y]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1));return this[Y]},set:function(ja){this.originalStack=
ja;this[Y]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1)}});var W=["stackTraceLimit","captureStackTrace","prepareStackTrace"];(a=Object.keys(l))&&a.forEach(function(ja){0===W.filter(function(Aa){return Aa===ja}).length&&Object.defineProperty(g,ja,{get:function(){return l[ja]},set:function(Aa){l[ja]=Aa}})});l.hasOwnProperty("stackTraceLimit")&&(l.stackTraceLimit=Math.max(l.stackTraceLimit,15),Object.defineProperty(g,"stackTraceLimit",{get:function(){return l.stackTraceLimit},set:function(ja){return l.stackTraceLimit=
ja}}));l.hasOwnProperty("captureStackTrace")&&Object.defineProperty(g,"captureStackTrace",{value:function(ja,Aa){l.captureStackTrace(ja,Aa)}});Object.defineProperty(g,"prepareStackTrace",{get:function(){return l.prepareStackTrace},set:function(ja){return ja&&"function"===typeof ja?l.prepareStackTrace=function(Aa,Da){if(Da)for(var Oa=0;Oa<Da.length;Oa++)if("zoneCaptureStackTrace"===Da[Oa].getFunctionName()){Da.splice(Oa,1);break}return ja.call(this,Aa,Da)}:l.prepareStackTrace=ja}});if("disable"!==
Q){var ia=b.current.fork({name:"detect",onHandleError:function(ja,Aa,Da,Oa){if(Oa.originalStack&&Error===g)for(ja=Oa.originalStack.split(/\n/),Oa=Da=Aa=!1;ja.length;){var Ta=ja.shift();if(/:\d+:\d+/.test(Ta)||"ZoneAwareError"===Ta){var Wa=Ta.split("(")[0].split("@")[0],Nb=1;-1!==Wa.indexOf("ZoneAwareError")&&(-1!==Wa.indexOf("new ZoneAwareError")?(v=Ta,x=Ta.replace("new ZoneAwareError","new Error.ZoneAwareError")):(A=Ta,G=Ta.replace("Error.",""),-1===Ta.indexOf("Error.ZoneAwareError")&&(M=Ta.replace("ZoneAwareError",
"Error.ZoneAwareError"))),q[x]=0);-1!==Wa.indexOf("runGuarded")?Da=!0:-1!==Wa.indexOf("runTask")?Oa=!0:-1!==Wa.indexOf("run")?Aa=!0:Nb=0;q[Ta]=Nb;if(Aa&&Da&&Oa){g.stackRewrite=!0;break}}}return!1}}).fork({name:"child",onScheduleTask:function(ja,Aa,Da,Oa){return ja.scheduleTask(Da,Oa)},onInvokeTask:function(ja,Aa,Da,Oa,Ta,Wa){return ja.invokeTask(Da,Oa,Ta,Wa)},onCancelTask:function(ja,Aa,Da,Oa){return ja.cancelTask(Da,Oa)},onInvoke:function(ja,Aa,Da,Oa,Ta,Wa,Nb){return ja.invoke(Da,Oa,Ta,Wa,Nb)}});
b=Error.stackTraceLimit;Error.stackTraceLimit=100;ia.run(function(){ia.runGuarded(function(){var ja=function(){};ia.scheduleEventTask(h,function(){ia.scheduleMacroTask(h,function(){ia.scheduleMicroTask(h,function(){throw Error();},void 0,function(Aa){Aa._transitionTo=ja;Aa.invoke()});ia.scheduleMicroTask(h,function(){throw Error();},void 0,function(Aa){Aa._transitionTo=ja;Aa.invoke()})},void 0,function(Aa){Aa._transitionTo=ja;Aa.invoke()},function(){})},void 0,function(Aa){Aa._transitionTo=ja;Aa.invoke()},
function(){})})});Error.stackTraceLimit=b}});var jc=Object.getOwnPropertyDescriptor,kda=Object.defineProperty,nda=Object.getPrototypeOf,vQb=Object.create,wQb=Array.prototype.slice,xQb=Zone.__symbol__("addEventListener"),yQb=Zone.__symbol__("removeEventListener"),sc=Zone.__symbol__(""),mc=Zone.__symbol__,zQb="undefined"!==typeof window,rc=zQb?window:void 0,nc=zQb&&rc||"object"===typeof self&&self||global,AQb="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,uda=!("nw"in nc)&&"undefined"!==typeof nc.process&&"[object process]"===
{}.toString.call(nc.process),BQb=!uda&&!AQb&&!(!zQb||!rc.HTMLElement),CQb="undefined"!==typeof nc.process&&"[object process]"==={}.toString.call(nc.process)&&!AQb&&!(!zQb||!rc.HTMLElement),ida={},jda=function(a){if(a=a||nc.event){var b=ida[a.type];b||(b=ida[a.type]=mc("ON_PROPERTY"+a.type));var c=this||a.target||nc;b=c[b];BQb&&c===rc&&"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}},oc=mc("originalInstance"),pda=!1,qda=!1;var uc=!1;if("undefined"!==typeof window)try{var DQb=Object.defineProperty({},"passive",{get:function(){uc=!0}});window.addEventListener("test",DQb,DQb);window.removeEventListener("test",DQb,DQb)}catch(a){uc=!1}var wda={useG:!0},tc={},vda={},yda=new RegExp("^"+sc+"(\\w+)(true|false)$"),tda=mc("propagationStopped");Zone.__load_patch("ZoneAwarePromise",function(a,b,c){function d(hb){if(hb&&hb.toString===Object.prototype.toString){var yb=hb.constructor&&hb.constructor.name;return(yb?yb:"")+": "+JSON.stringify(hb)}return hb?hb.toString():Object.prototype.toString.call(hb)}function e(hb){c.onUnhandledError(hb);try{var yb=b[Da];"function"===typeof yb&&yb.call(this,hb)}catch(bb){}}function g(hb){return hb}function h(hb){return $a.reject(hb)}function l(hb,yb){return function(bb){try{q(hb,yb,bb)}catch(Hb){q(hb,!1,Hb)}}}
function q(hb,yb,bb){var Hb=cb();if(hb===bb)throw new TypeError("ra");if(null===hb[Oa]){var ib=null;try{if("object"===typeof bb||"function"===typeof bb)ib=bb&&bb.then}catch(Ob){return Hb(function(){q(hb,!1,Ob)})(),hb}if(!1!==yb&&bb instanceof $a&&bb.hasOwnProperty(Oa)&&bb.hasOwnProperty(Ta)&&null!==bb[Oa])v(bb),q(hb,bb[Oa],bb[Ta]);else if(!1!==yb&&"function"===typeof ib)try{ib.call(bb,Hb(l(hb,yb)),Hb(l(hb,!1)))}catch(Ob){Hb(function(){q(hb,!1,Ob)})()}else{hb[Oa]=yb;Hb=hb[Ta];hb[Ta]=bb;hb[Wa]===Wa&&
!0===yb&&(hb[Oa]=hb[Eb],hb[Ta]=hb[Nb]);!1===yb&&bb instanceof Error&&(ib=b.currentTask&&b.currentTask.data&&b.currentTask.data.__creationTrace__)&&Q(bb,sa,{configurable:!0,enumerable:!1,writable:!0,value:ib});for(ib=0;ib<Hb.length;)x(hb,Hb[ib++],Hb[ib++],Hb[ib++],Hb[ib++]);if(0==Hb.length&&0==yb){hb[Oa]=0;yb=bb;try{throw Error("sa`"+d(bb)+"`"+(bb&&bb.stack?"\n"+bb.stack:""));}catch(Ob){yb=Ob}ia&&(yb.throwOriginal=!0);yb.rejection=bb;yb.promise=hb;yb.zone=b.current;yb.task=b.currentTask;W.push(yb);
c.scheduleMicroTask()}}}return hb}function v(hb){if(0===hb[Oa]){try{var yb=b[Ka];yb&&"function"===typeof yb&&yb.call(this,{rejection:hb[Ta],promise:hb})}catch(bb){}hb[Oa]=!1;for(yb=0;yb<W.length;yb++)hb===W[yb].promise&&W.splice(yb,1)}}function x(hb,yb,bb,Hb,ib){v(hb);var Ob=hb[Oa],lc=Ob?"function"===typeof Hb?Hb:g:"function"===typeof ib?ib:h;yb.scheduleMicroTask("Promise.then",function(){try{var Hc=hb[Ta],Tc=!!bb&&Wa===bb[Wa];Tc&&(bb[Nb]=Hc,bb[Eb]=Ob);var jg=yb.run(lc,void 0,Tc&&lc!==h&&lc!==g?[]:
[Hc]);q(bb,!0,jg)}catch(Od){q(bb,!1,Od)}},bb)}function A(hb){var yb=hb.prototype,bb=M(yb,"then");if(!bb||!1!==bb.writable&&bb.configurable){var Hb=yb.then;yb[Aa]=Hb;hb.prototype.then=function(ib,Ob){var lc=this;return(new $a(function(Hc,Tc){Hb.call(lc,Hc,Tc)})).then(ib,Ob)};hb[Yc]=!0}}function G(hb){return function(yb,bb){yb=hb.apply(yb,bb);if(yb instanceof $a)return yb;bb=yb.constructor;bb[Yc]||A(bb);return yb}}var M=Object.getOwnPropertyDescriptor,Q=Object.defineProperty,Y=c.symbol,W=[],ia=!0===
a[Y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],ja=Y("Promise"),Aa=Y("then");c.onUnhandledError=function(hb){if(c.showUncaughtError()){var yb=hb&&hb.rejection;yb?console.error("Unhandled Promise rejection:",yb instanceof Error?yb.message:yb,"; Zone:",hb.zone.name,"; Task:",hb.task&&hb.task.source,"; Value:",yb,yb instanceof Error?yb.stack:void 0):console.error(hb)}};c.microtaskDrainDone=function(){for(var hb={};W.length;){hb.$jscomp$loop$prop$uncaughtPromiseError$2266=W.shift();try{hb.$jscomp$loop$prop$uncaughtPromiseError$2266.zone.runGuarded(function(yb){return function(){if(yb.$jscomp$loop$prop$uncaughtPromiseError$2266.throwOriginal)throw yb.$jscomp$loop$prop$uncaughtPromiseError$2266.rejection;
throw yb.$jscomp$loop$prop$uncaughtPromiseError$2266;}}(hb))}catch(yb){e(yb)}hb={$jscomp$loop$prop$uncaughtPromiseError$2266:hb.$jscomp$loop$prop$uncaughtPromiseError$2266}}};var Da=Y("unhandledPromiseRejectionHandler"),Oa=Y("state"),Ta=Y("value"),Wa=Y("finally"),Nb=Y("parentPromiseValue"),Eb=Y("parentPromiseState"),cb=function(){var hb=!1;return function(yb){return function(){hb||(hb=!0,yb.apply(null,arguments))}}},sa=Y("currentTaskTrace"),Ka=Y("rejectionHandledHandler"),Qa=function(){},fb=a.AggregateError,
$a=function(hb){if(!(this instanceof $a))throw Error("ta");this[Oa]=null;this[Ta]=[];try{var yb=cb();hb&&hb(yb(l(this,!0)),yb(l(this,!1)))}catch(bb){q(this,!1,bb)}};$a.toString=function(){return"function ZoneAwarePromise() { [native code] }"};$a.resolve=function(hb){return q(new this(null),!0,hb)};$a.reject=function(hb){return q(new this(null),!1,hb)};$a.any=function(hb){if(!hb||"function"!==typeof hb[Symbol.iterator])return Promise.reject(new fb([],"All promises were rejected"));var yb=[],bb=0;try{for(var Hb=
k(hb),ib=Hb.next();!ib.done;ib=Hb.next()){var Ob=ib.value;bb++;yb.push($a.resolve(Ob))}}catch(Tc){return Promise.reject(new fb([],"All promises were rejected"))}if(0===bb)return Promise.reject(new fb([],"All promises were rejected"));var lc=!1,Hc=[];return new $a(function(Tc,jg){for(var Od=0;Od<yb.length;Od++)yb[Od].then(function(Ae){lc||(lc=!0,Tc(Ae))},function(Ae){Hc.push(Ae);bb--;0===bb&&(lc=!0,jg(new fb(Hc,"All promises were rejected")))})})};$a.race=function(hb){function yb(Hc){Hb(Hc)}function bb(Hc){ib(Hc)}
var Hb,ib,Ob=new this(function(Hc,Tc){Hb=Hc;ib=Tc});hb=k(hb);for(var lc=hb.next();!lc.done;lc=hb.next())(lc=lc.value)&&lc.then||(lc=this.resolve(lc)),lc.then(yb,bb);return Ob};$a.all=function(hb){return $a.allWithCallback(hb)};$a.allSettled=function(hb){return(this&&this.prototype instanceof $a?this:$a).allWithCallback(hb,{thenCallback:function(yb){return{status:"fulfilled",value:yb}},errorCallback:function(yb){return{status:"rejected",reason:yb}}})};$a.allWithCallback=function(hb,yb){var bb,Hb,ib=
new this(function(Od,Ae){bb=Od;Hb=Ae}),Ob=2,lc=0,Hc=[];hb=k(hb);for(var Tc=hb.next(),jg={};!Tc.done;jg={$jscomp$loop$prop$curValueIndex$2269:jg.$jscomp$loop$prop$curValueIndex$2269},Tc=hb.next()){(Tc=Tc.value)&&Tc.then||(Tc=this.resolve(Tc));jg.$jscomp$loop$prop$curValueIndex$2269=lc;try{Tc.then(function(Od){return function(Ae){Hc[Od.$jscomp$loop$prop$curValueIndex$2269]=yb?yb.thenCallback(Ae):Ae;Ob--;0===Ob&&bb(Hc)}}(jg),function(Od){return function(Ae){yb?(Hc[Od.$jscomp$loop$prop$curValueIndex$2269]=
yb.errorCallback(Ae),Ob--,0===Ob&&bb(Hc)):Hb(Ae)}}(jg))}catch(Od){Hb(Od)}Ob++;lc++}Ob-=2;0===Ob&&bb(Hc);return ib};sh.Object.defineProperty($a.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!0,get:function(){return"Promise"}});sh.Object.defineProperty($a.prototype,Symbol.species,{configurable:!0,enumerable:!0,get:function(){return $a}});$a.prototype.then=function(hb,yb){var bb,Hb=null==(bb=this.constructor)?void 0:bb[Symbol.species];Hb&&"function"===typeof Hb||(Hb=this.constructor||$a);
bb=new Hb(Qa);Hb=b.current;null==this[Oa]?this[Ta].push(Hb,bb,hb,yb):x(this,Hb,bb,hb,yb);return bb};$a.prototype.catch=function(hb){return this.then(null,hb)};$a.prototype.finally=function(hb){var yb,bb=null==(yb=this.constructor)?void 0:yb[Symbol.species];bb&&"function"===typeof bb||(bb=$a);yb=new bb(Qa);yb[Wa]=Wa;bb=b.current;null==this[Oa]?this[Ta].push(bb,yb,hb,hb):x(this,bb,yb,hb,hb);return yb};$a.resolve=$a.resolve;$a.reject=$a.reject;$a.race=$a.race;$a.all=$a.all;ja=a[ja]=a.Promise;a.Promise=
$a;var Yc=Y("thenPatched");c.patchThen=A;ja&&(A(ja),qc(a,"fetch",function(hb){return G(hb)}));Promise[b.__symbol__("uncaughtPromiseErrors")]=W;return $a});var Cda=mc("zoneTask");Zone.__load_patch("toString",function(a){var b=Function.prototype.toString,c=mc("OriginalDelegate"),d=mc("Promise"),e=mc("Error"),g=function(){if("function"===typeof this){var l=this[c];if(l)return"function"===typeof l?b.call(l):Object.prototype.toString.call(l);if(this===Promise&&(l=a[d])||this===Error&&(l=a[e]))return b.call(l)}return b.call(this)};g[c]=b;Function.prototype.toString=g;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=Fda(a);c.patchOnProperties=mda;c.patchMethod=qc;c.bindArguments=fda;c.patchMacroTask=oda;var e=b.__symbol__("BLACK_LISTED_EVENTS"),g=b.__symbol__("UNPATCHED_EVENTS");a[g]&&(a[e]=a[g]);a[e]&&(b[e]=b[g]=a[e]);c.patchEventPrototype=Ada;c.patchEventTarget=zda;c.isIEOrEdge=rda;c.ObjectDefineProperty=kda;c.ObjectGetOwnPropertyDescriptor=jc;c.ObjectCreate=vQb;c.ArraySlice=wQb;c.patchClass=pc;c.wrapWithCurrentZone=eda;c.filterProperties=Eda;c.attachOriginToPatched=
kc;c._redefineProperty=Object.defineProperty;c.patchCallbacks=Dda;c.getGlobalObjects=function(){return{globalSources:vda,zoneSymbolEventNames:tc,eventNames:d,isBrowser:BQb,isMix:CQb,isNode:uda,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:sc,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}});var Gda,Hda,Ida,Jda,wc;var Rda=[].concat(cd("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(" ")),
cd(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"]),cd(["autocomplete","autocompleteerror"]),cd(["toggle"]),cd("afterscriptexecute beforescriptexecute DOMContentLoaded freeze fullscreenchange mozfullscreenchange webkitfullscreenchange msfullscreenchange fullscreenerror mozfullscreenerror webkitfullscreenerror msfullscreenerror readystatechange visibilitychange resume".split(" ")),cd("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(" ")),
cd("beforecopy beforecut beforepaste copy cut paste dragstart loadend animationstart search transitionrun transitionstart webkitanimationend webkitanimationiteration webkitanimationstart webkittransitionend".split(" ")),cd("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=Nda;Mda()});b.__load_patch("registerElement",function(c,d,e){d=e.getGlobalObjects();var g=d.isMix;(d.isBrowser||g)&&"registerElement"in c.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])});b.__load_patch("EventTargetLegacy",function(c,
d,e){Oda(c,e);d=e.getGlobalObjects();var g=d.isMix;d.isNode&&!g||Qda(e,c)||(d="undefined"!==typeof WebSocket,Sda(e),e.patchClass("XMLHttpRequest"),d&&Pda(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){vc(a,"set","clear","Timeout");vc(a,"set","clear","Interval");vc(a,"set","clear","Immediate")});Zone.__load_patch("requestAnimationFrame",function(a){vc(a,"request","cancel","AnimationFrame");vc(a,"mozRequest","mozCancel","AnimationFrame");vc(a,"webkitRequest","webkitCancel","AnimationFrame")});
Zone.__load_patch("blocking",function(a,b){for(var c=["alert","prompt","confirm"],d=0;d<c.length;d++)qc(a,c[d],function(e,g,h){return function(l,q){return b.current.run(e,a,q,h)}})});
Zone.__load_patch("EventTarget",function(a,b,c){c.patchEventPrototype(a,c);if(!Zone[c.symbol("patchEventTarget")]){var d=c.getGlobalObjects();b=d.eventNames;var e=d.zoneSymbolEventNames,g=d.TRUE_STR,h=d.FALSE_STR;d=d.ZONE_SYMBOL_PREFIX;for(var l=0;l<b.length;l++){var q=b[l],v=d+(q+h),x=d+(q+g);e[q]={};e[q][h]=v;e[q][g]=x}(b=a.EventTarget)&&b.prototype&&c.patchEventTarget(a,c,[b&&b.prototype])}(b=a.XMLHttpRequestEventTarget)&&b.prototype&&c.patchEventTarget(a,c,[b.prototype])});
Zone.__load_patch("MutationObserver",function(){pc("MutationObserver");pc("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",function(){pc("IntersectionObserver")});Zone.__load_patch("FileReader",function(){pc("FileReader")});
Zone.__load_patch("on_property",function(a,b,c){if((!uda||CQb)&&!Zone[c.symbol("patchEvents")]){b=a.__Zone_ignore_on_properties;c=[];if(BQb){var d=window;c=c.concat("Document SVGElement Element HTMLElement HTMLBodyElement HTMLMediaElement HTMLFrameSetElement HTMLFrameElement HTMLIFrameElement HTMLMarqueeElement Worker".split(" "));a:{try{var e=rc.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")){var g=!0;break a}}catch(l){}g=!1}e=g?[{target:d,ignoreProperties:["error"]}]:
[];g=Fda(d);var h=b?b.concat(e):b;e=nda(d);d&&(g=Eda(d,g,h),mda(d,g,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&&(g=e.prototype,e=Fda(e.prototype),g&&(e=Eda(g,e,b),mda(g,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 v(Da){var Oa=Da.data,Ta=Oa.target;Ta[g]=!1;Ta[l]=!1;var Wa=Ta[e];M||(M=Ta[xQb],Q=Ta[yQb]);Wa&&Q.call(Ta,"readystatechange",Wa);Wa=Ta[e]=function(){if(Ta.readyState===Ta.DONE)if(!Oa.aborted&&Ta[g]&&"scheduled"===Da.state){var Nb=Ta[b.__symbol__("loadfalse")];if(0!==Ta.status&&Nb&&0<Nb.length){var Eb=Da.invoke;Da.invoke=function(){for(var cb=Ta[b.__symbol__("loadfalse")],sa=0;sa<cb.length;sa++)cb[sa]===Da&&cb.splice(sa,1);Oa.aborted||"scheduled"!==
Da.state||Eb.call(Da)};Nb.push(Da)}else Da.invoke()}else Oa.aborted||!1!==Ta[g]||(Ta[l]=!0)};M.call(Ta,"readystatechange",Wa);Ta[c]||(Ta[c]=Da);ja.apply(Ta,Oa.args);Ta[g]=!0;return Da}function x(){}function A(Da){Da=Da.data;Da.aborted=!0;return Aa.apply(Da.target,Da.args)}var G=q.XMLHttpRequest;if(G){G=G.prototype;var M=G[xQb],Q=G[yQb];!M&&(q=q.XMLHttpRequestEventTarget)&&(q=q.prototype,M=q[xQb],Q=q[yQb]);var Y=qc(G,"open",function(){return function(Da,Oa){Da[d]=0==Oa[2];Da[h]=Oa[1];return Y.apply(Da,
Oa)}}),W=mc("fetchTaskAborting"),ia=mc("fetchTaskScheduling"),ja=qc(G,"send",function(){return function(Da,Oa){if(!0===b.current[ia]||Da[d])return ja.apply(Da,Oa);Oa={target:Da,url:Da[h],isPeriodic:!1,args:Oa,aborted:!1};var Ta=Zone.current.scheduleMacroTask("XMLHttpRequest.send",x,Oa,v,A);Da&&!0===Da[l]&&!Oa.aborted&&"scheduled"===Ta.state&&Ta.invoke()}}),Aa=qc(G,"abort",function(){return function(Da,Oa){var Ta=Da[c];if(Ta&&"string"==typeof Ta.type)null==Ta.cancelFn||Ta.data&&Ta.data.aborted||Ta.zone.cancelTask(Ta);
else if(!0===b.current[W])return Aa.apply(Da,Oa)}})}})(a);var c=mc("xhrTask"),d=mc("xhrSync"),e=mc("xhrListener"),g=mc("xhrScheduled"),h=mc("xhrURL"),l=mc("xhrErrorBeforeScheduled")});Zone.__load_patch("geolocation",function(a){a.navigator&&a.navigator.geolocation&&hda(a.navigator.geolocation)});
Zone.__load_patch("PromiseRejectionEvent",function(a,b){function c(d){return function(e){xda(a,d).forEach(function(g){var h=a.PromiseRejectionEvent;h&&(h=new h(d,{promise:e.promise,reason:e.rejection}),g.invoke(h))})}}a.PromiseRejectionEvent&&(b[mc("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),b[mc("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("queueMicrotask",function(a,b,c){Bda(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 Uda=xc({"\u0275prov":xc}),Yda=xc({"\u0275inj":xc}),Vda=xc({ngInjectableDef:xc}),Zda=xc({ngInjectorDef:xc});var Cc=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};T(Cc,Error);var cea;var fea=xc({__forward_ref__:xc});var Qd="undefined"!==typeof globalThis&&globalThis||"undefined"!==typeof global&&global||"undefined"!==typeof window&&window||"undefined"!==typeof self&&"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self;var EQb={},FQb=/\n/gm,Gc=void 0;var ad=function(a,b){this._desc=a;this.\u0275prov=void 0;"number"==typeof b?this.__NG_ELEMENT_ID__=b:void 0!==b&&(this.\u0275prov=yc({token:this,providedIn:b.providedIn||"root",factory:b.factory}))};ad.prototype.toString=function(){return"InjectionToken "+this._desc};sh.Object.defineProperties(ad.prototype,{multi:{configurable:!0,enumerable:!0,get:function(){return this}}});var Kea=new ad("ENVIRONMENT_INITIALIZER");var GQb=new ad("INJECTOR",-1);var Jea=new ad("INJECTOR_DEF_TYPES");var Oea=function(){};Oea.prototype.get=function(a,b){b=void 0===b?EQb:b;if(b===EQb)throw a=Error("xa`"+Bc(a)),a.name="NullInjectorError",a;return b};var Pc=xc({"\u0275cmp":xc}),tea=xc({"\u0275dir":xc}),xea=xc({"\u0275pipe":xc}),HQb=xc({"\u0275mod":xc}),zea=xc({"\u0275fac":xc}),vd=xc({__NG_ELEMENT_ID__:xc}),IQb=xc({__NG_ENV_ID__:xc});var Rc={},Nc=[];var Lea=xc({provide:String,useValue:xc});var Ija=new ad("Set Injector scope.");var Tea={},JQb={},Nea=void 0,nv=function(){},Cd=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;Vea(a,function(g){return KQb(e,g)});this.records.set(GQb,bd(void 0,this));d.has("environment")&&this.records.set(nv,bd(void 0,this));a=this.records.get(Ija);null!=a&&"string"===typeof a.value&&this.scopes.add(a.value);this.injectorDefTypes=new Set(this.get(Jea.multi,Nc,2))};T(Cd,nv);
Cd.prototype.destroy=function(){LQb(this);this._destroyed=!0;try{for(var a=k(this._ngOnDestroyHooks),b=a.next();!b.done;b=a.next())b.value.ngOnDestroy();var c=this._onDestroyHooks;this._onDestroyHooks=[];for(var d=k(c),e=d.next();!e.done;e=d.next()){var g=e.value;g()}}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}};
Cd.prototype.onDestroy=function(a){var b=this;LQb(this);this._onDestroyHooks.push(a);return function(){var c=b._onDestroyHooks.indexOf(a);-1!==c&&b._onDestroyHooks.splice(c,1)}};Cd.prototype.runInContext=function(a){LQb(this);var b=Ic(this),c=Dc();try{return a()}finally{Ic(b),Dc(c)}};
Cd.prototype.get=function(a,b,c){b=void 0===b?EQb:b;c=void 0===c?0:c;LQb(this);if(a.hasOwnProperty(IQb))return a[IQb](this);c=hea(c);var d=Ic(this),e=Dc();try{if(!(c&4)){var g=this.records.get(a);if(void 0===g){var h=("function"===typeof a||"object"===typeof a&&a instanceof ad)&&Wda(a),l;if(l=h)if(h.providedIn){var q=Fc(h.providedIn);l="string"===typeof q?"any"===q||this.scopes.has(q):this.injectorDefTypes.has(q)}else l=!1;l?g=bd(Rea(a),Tea):g=null;this.records.set(a,g)}if(null!=g){b=g;b.value===
Tea&&(b.value=JQb,b.value=b.factory());var v;if(v="object"===typeof b.value&&b.value){var x=b.value;v=null!==x&&"object"===typeof x&&"function"===typeof x.ngOnDestroy}v&&this._ngOnDestroyHooks.add(b.value);return b.value}}var A=c&2?Pea():this.parent;b=c&8&&b===EQb?null:b;return A.get(a,b)}catch(Aa){if("NullInjectorError"===Aa.name){(Aa.ngTempTokenPath=Aa.ngTempTokenPath||[]).unshift(Bc(a));if(d)throw Aa;v=Aa;var G=this.source,M=v.ngTempTokenPath;a.__source&&M.unshift(a.__source);var Q="\n"+v.message;
a=G;a=void 0===a?null:a;Q=Q&&"\n"===Q.charAt(0)&&"\u0275"==Q.charAt(1)?Q.slice(2):Q;var Y=Bc(M);if(Array.isArray(M))Y=M.map(Bc).join(" -> ");else if("object"===typeof M){G=[];for(var W in M)if(M.hasOwnProperty(W)){var ia=M[W];G.push(W+":"+("string"===typeof ia?JSON.stringify(ia):Bc(ia)))}Y="{"+G.join(", ")+"}"}var ja="R3InjectorError"+(a?"("+a+")":"")+"["+Y+"]: "+Q.replace(FQb,"\n  ");v.message=ja;v.ngTokenPath=M;v.ngTempTokenPath=null;throw v;}throw Aa;}finally{Dc(e),Ic(d)}};
var Gfa=function(a){var b=Ic(a),c=Dc();try{for(var d=a.get(Kea.multi,Nc,2),e=k(d),g=e.next();!g.done;g=e.next()){var h=g.value;h()}}finally{Ic(b),Dc(c)}};Cd.prototype.toString=function(){for(var a=[],b=k(this.records.keys()),c=b.next();!c.done;c=b.next())a.push(Bc(c.value));return"R3Injector["+a.join(", ")+"]"};
var LQb=function(a){if(a._destroyed)throw new Cc(205,!1);},KQb=function(a,b){b=Fc(b);var c=$c(b)?b:Fc(b&&b.provide),d=Uea(b);if($c(b)||!0!==b.multi)a.records.get(c);else{var e=a.records.get(c);e||(e=bd(void 0,Tea,!0),e.factory=function(){return iea(e.multi)},a.records.set(c,e));c=b;e.multi.push(b)}a.records.set(c,d)};sh.Object.defineProperties(Cd.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});var MQb=Kc(dd(function(a){return{token:a}}),-1),ov=Kc(dd(),8);Kc(dd(),2);var pv=Kc(dd(),4);Kc(dd(),1);var $ea=function(a,b,c){this.previousValue=a;this.currentValue=b;this.firstChange=c};$ea.prototype.isFirstChange=function(){return this.firstChange};gd.ngInherit=!0;var ld=gfa(null),Hga=null,Bf=!0;var NQb=function(a){this.ref=a};NQb.prototype.deref=function(){return this.ref};var OQb,PQb=null!=(OQb=Qd.WeakRef)?OQb:NQb;var QQb=0,jfa=null,qv=function(){this.id=QQb++;this.ref=new PQb(this);this.producers=new Map;this.consumers=new Map;this.trackingVersion=0};sh.Object.defineProperties(qv.prototype,{hasProducers:{configurable:!0,enumerable:!0,get:function(){return 0<this.producers.size}}});var RQb=function(){},rv=function(a,b){qv.call(this);var c=this;this.watch=a;this.schedule=b;this.dirty=!1;this.cleanupFn=RQb;this.registerOnCleanup=function(d){c.cleanupFn=d}};T(rv,qv);rv.prototype.notify=function(){this.dirty||this.schedule(this);this.dirty=!0};
rv.prototype.run=function(){this.dirty=!1;var a;if(!(a=0===this.trackingVersion))a:{a=k(this.producers);for(var b=a.next();!b.done;b=a.next()){var c=k(b.value);b=c.next().value;var d=c=c.next().value;c=d.producerNode.deref();if(void 0===c||d.atTrackingVersion!==this.trackingVersion)this.producers.delete(b),b=void 0,null==(b=c)||b.consumers.delete(this.id);else if(b=d.seenValueVersion,0!==b||0!==b){a=!0;break a}}a=!1}if(a){a=td(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=RQb,this.watch(this.registerOnCleanup)}finally{td(a)}}};
rv.prototype.cleanup=function(){this.cleanupFn()};var zd=function(a,b){var c=B;this.factory=a;this.resolving=!1;this.canSeeViewProviders=b;this.injectImpl=c};var qfa=!0,sfa=0,xd={},Ad=function(a,b){this._tNode=a;this._lView=b};Ad.prototype.get=function(a,b,c){return Bfa(this._tNode,this._lView,a,hea(c),b)};xc({provide:String,useValue:xc});var sv=function(){},gf=function(a){if(Array.isArray(a))return Hfa({name:""},void 0,a,"");var b,c=null!=(b=a.name)?b:"";return Hfa({name:c},a.parent,a.providers,c)},SQb=new Oea;sv.\u0275prov=yc({token:sv,providedIn:"any",factory:function(){return t(GQb)}});sv.__NG_ELEMENT_ID__=-1;var tv=function(){};var uv=function(){},TQb=function(){};var Ifa=void 0;var UQb=new ad("AppId",{providedIn:"root",factory:function(){return"ng"}}),Cja=new ad("Platform Initializer"),vv=new ad("Platform ID",{providedIn:"platform",factory:function(){return"unknown"}});new ad("Application Packages Root URL");var wv=new ad("AnimationModuleType"),VQb=new ad("CSP nonce",{providedIn:"root",factory:function(){var a,b;return(null==(a=Jfa().body)?void 0:null==(b=a.querySelector("[ngCspNonce]"))?void 0:b.getAttribute("ngCspNonce"))||null}});new ad("",{providedIn:"root",factory:function(){return new Set}});var WQb=function(){},XQb=function(){};var Dd=function(a){this.nativeElement=a};Dd.__NG_ELEMENT_ID__=function(){return Ed(md(),u())};var xv=function(){},yv=function(){this.destroyNode=null};yv.__NG_ELEMENT_ID__=function(){var a=u(),b=jd(md().index,a);return(ed(b)?b:a)[11]};var Lfa=new Map,Fga=0;var Yd=function(){this._console=console};Yd.prototype.handleError=function(a){var b=this._findOriginalError(a);this._console.error("ERROR",a);b&&this._console.error("ORIGINAL ERROR",b)};Yd.prototype._findOriginalError=function(a){for(a=a&&a.ngOriginalError;a&&a.ngOriginalError;)a=a.ngOriginalError;return a||null};new ad("");var YQb=new ad("",{providedIn:"root",factory:function(){return!1}});var Rfa=/^>|^->|\x3c!--|--\x3e|--!>|<!-$/g,Sfa=/(<|>)/;var Ld=function(){qv.apply(this,arguments);this._lView=null};T(Ld,qv);Ld.prototype.runInContext=function(a,b,c){var d=td(this);this.trackingVersion++;try{a(b,c)}finally{td(d)}};Ld.prototype.destroy=function(){this.trackingVersion++};sh.Object.defineProperties(Ld.prototype,{lView:{configurable:!0,enumerable:!0,set:function(a){this._lView=a}},hasReadASignal:{configurable:!0,enumerable:!0,get:function(){return this.hasProducers}}});var Kd=null;var Wd={};var Md=function(a){this.changingThisBreaksApplicationSecurity=a};Md.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"};var ZQb=function(){Md.apply(this,arguments)};T(ZQb,Md);ZQb.prototype.getTypeName=function(){return"HTML"};var $Qb=function(){Md.apply(this,arguments)};T($Qb,Md);$Qb.prototype.getTypeName=function(){return"URL"};var aRb=function(){Md.apply(this,arguments)};T(aRb,Md);
aRb.prototype.getTypeName=function(){return"ResourceURL"};var gga;var qga=function(a){this.inertDocumentHelper=a};qga.prototype.getInertBodyElement=function(a){a="<body><remove></remove>"+a;try{var b=(new window.DOMParser).parseFromString(iga(a),"text/html").body;if(null===b)return this.inertDocumentHelper.getInertBodyElement(a);b.removeChild(b.firstChild);return b}catch(c){return null}};var pga=function(a){this.defaultDoc=a;this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")};
pga.prototype.getInertBodyElement=function(a){var b=this.inertDocument.createElement("template");b.innerHTML=iga(a);return b};var jga=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var bRb=Rd("area,br,col,hr,img,wbr"),cRb=Rd("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),dRb=Rd("rp,rt"),eRb=Sd(dRb,cRb),fRb=Sd(cRb,Rd("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")),gRb=Sd(dRb,Rd("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")),
sga=Sd(bRb,fRb,gRb,eRb),uga=Rd("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),hRb=Rd("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"),
iRb=Rd("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"),
tga=Sd(uga,hRb,iRb),vga=Rd("script,style,template"),rga=function(){this.buf=[]};rga.prototype.endElement=function(a){a=a.nodeName.toLowerCase();sga.hasOwnProperty(a)&&!bRb.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))};var wga=function(a,b){if(b&&(a.compareDocumentPosition(b)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw Error("Ba`"+a.outerHTML);return b},lga=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mga=/([^#-~ |!])/g,oga;var jRb={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 yga;var zv=function(){this.all=new Set;this.queue=new Map};zv.prototype.create=function(a,b,c){var d=this,e="undefined"===typeof Zone?null:Zone.current,g=new rv(a,function(l){d.all.has(l)&&d.queue.set(l,e)},c);this.all.add(g);g.notify();a=function(){g.cleanup();var l;null==(l=h)||l();d.all.delete(g);d.queue.delete(g)};var h=null==b?void 0:b.onDestroy(a);return{destroy:a}};
zv.prototype.flush=function(){if(0!==this.queue.size)for(var a=k(this.queue),b=a.next(),c={};!b.done;c={$jscomp$loop$prop$watch$2276:c.$jscomp$loop$prop$watch$2276},b=a.next()){var d=k(b.value);b=d.next().value;d=d.next().value;c.$jscomp$loop$prop$watch$2276=b;b=d;this.queue.delete(c.$jscomp$loop$prop$watch$2276);b?b.run(function(e){return function(){return e.$jscomp$loop$prop$watch$2276.run()}}(c)):c.$jscomp$loop$prop$watch$2276.run()}};zv.\u0275prov=yc({token:zv,providedIn:"root",factory:function(){return new zv}});var hg=function(a,b){this._lView=a;this._cdRefInjectingView=b;this._appRef=null;this._attachedToViewContainer=!1};f=hg.prototype;f.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var a=this._lView[3];if(fd(a)){var b=a[8],c=b?b.indexOf(this):-1;-1<c&&(Vfa(a,c),Bea(b,c))}this._attachedToViewContainer=!1}Xfa(this._lView[1],this._lView)};f.onDestroy=function(a){var b=this._lView;if(256===(b[2]&256))throw new Cc(911,!1);null===b[21]&&(b[21]=[]);b[21].push(a)};
f.markForCheck=function(){Ofa(this._cdRefInjectingView||this._lView)};f.detach=function(){this._lView[2]&=-129};f.detectChanges=function(){gha(this._lView[1],this._lView,this.context)};
sh.Object.defineProperties(hg.prototype,{rootNodes:{configurable:!0,enumerable:!0,get:function(){var a=this._lView,b=a[1];return eha(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 kRb=function(a){hg.call(this,a);this._view=a};T(kRb,hg);kRb.prototype.detectChanges=function(){var a=this._view;gha(a[1],a,a[8],!1)};
sh.Object.defineProperties(kRb.prototype,{context:{configurable:!0,enumerable:!0,get:function(){return null}}});var lRb=function(){};lRb.\u0275prov=yc({token:lRb,providedIn:"root",factory:function(){return null}});var Av=function(){this.full="0.0.0-PLACEHOLDER";this.minor=this.major="0";this.patch=["0","0","0-PLACEHOLDER"].slice(2).join(".")},mRb=new Av;var nRb={};var oRb=function(a){this.ngModule=a};T(oRb,tv);var pRb=function(a,b){return new kg(b[Pc]||null,a.ngModule)},qRb=function(a,b){this.injector=a;this.parentInjector=b};qRb.prototype.get=function(a,b,c){c=hea(c);var d=this.injector.get(a,nRb,c);return d!==nRb||b===nRb?d:this.parentInjector.get(a,b,c)};
var kg=function(a,b){this.componentDef=a;this.ngModule=b;this.componentType=a.type;this.selector=a.selectors.map(oea).join(",");this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[];this.isBoundToModule=!!b};T(kg,XQb);
kg.prototype.create=function(a,b,c,d){d=d||this.ngModule;var e;(d=d instanceof nv?d:null==(e=d)?void 0:e.injector)&&null!==this.componentDef.getStandaloneInjector&&(d=this.componentDef.getStandaloneInjector(d)||d);var g=d?new qRb(a,d):a;a=g.get(xv,null);if(null===a)throw new Cc(407,!1);e=g.get(lRb,null);d=g.get(zv,null);d={rendererFactory:a,sanitizer:e,effectManager:d};a=a.createRenderer(null,this.componentDef);e=this.componentDef.selectors[0][0]||"div";if(c)e=this.componentDef.encapsulation,e=g.get(YQb,
!1)||3===e,e=a.selectRootElement(c,e);else{var h=e.toLowerCase();e=a.createElement(e,"svg"===h?"svg":"math"===h?"math":null)}h=e;e=this.componentDef.onPush?576:528;var l=this.componentDef.signals?4608:e;e=Rga(0,null,null,1,0,null,null,null,null,null,null);g=Gga(null,e,null,l,null,null,d,a,g,null,null);ffa(g);try{var q=this.componentDef;l=null;if(q.findHostDirectiveDefs){var v=[];l=new Map;q.findHostDirectiveDefs(q,v,l);v.push(q)}else v=[q];var x=g[1];g[25]=h;var A=Vd(x,25,2,"#host",null);x=v;for(var G=
g[1],M=k(x),Q=M.next();!Q.done;Q=M.next())A.mergedAttrs=Lc(A.mergedAttrs,Q.value.hostAttrs);null!==A.mergedAttrs&&(dha(A,A.mergedAttrs,!0),null!==h&&cga(a,h,A));M=null;null!==h&&(M=null);var Y=d.rendererFactory.createRenderer(h,q);Q=16;q.signals?Q=4096:q.onPush&&(Q=64);var W=Gga(g,Lga(q),null,Q,g[A.index],A,d,Y,null,null,M);G.firstCreatePass&&Uga(G,A,x.length-1);Mga(g,W);var ia=g[A.index]=W;var ja=e.data[25];if(h)if(c)kea(a,h,["ng-version",mRb.full]);else{var Aa=q.selectors[0];c=[];A=[];G=1;for(Y=
2;G<Aa.length;){var Da=Aa[G];if("string"===typeof Da)2===Y?""!==Da&&c.push(Da,Aa[++G]):8===Y&&A.push(Da);else{if(0!==(Y&1))break;Y=Da}G++}c&&kea(a,h,c);if(A&&0<A.length){var Oa=A.join(" ");""===Oa?a.removeAttribute(h,"class"):a.setAttribute(h,"class",Oa)}}if(void 0!==b){var Ta=this.ngContentSelectors,Wa=ja.projection=[];for(Aa=0;Aa<Ta.length;Aa++){var Nb=b[Aa];Wa.push(null!=Nb?Array.from(Nb):null)}}b=v;Ta=l;v=[kha];var Eb=md(),cb=g[1],sa=id(Eb,g);Vga(cb,g,Eb,b,null,Ta);for(Ta=0;Ta<b.length;Ta++){var Ka=
yd(g,cb,Eb.directiveStart+Ta,Eb);Fd(Ka,g)}Oga(cb,g,Eb);sa&&Fd(sa,g);var Qa=yd(g,cb,Eb.directiveStart+Eb.componentOffset,Eb);ia[8]=g[8]=Qa;if(null!==v)for(var fb=k(v),$a=fb.next();!$a.done;$a=fb.next()){var Yc=$a.value;Yc(Qa,q)}Kga(cb,Eb,ia);var hb=Qa;cha(e,g,null)}finally{ifa()}return new Bv(this.componentType,hb,Ed(ja,g),g,ja)};
sh.Object.defineProperties(kg.prototype,{inputs:{configurable:!0,enumerable:!0,get:function(){var a=this.componentDef,b=a.inputTransforms;a=jha(a.inputs);if(null!==b)for(var c=k(a),d=c.next();!d.done;d=c.next())d=d.value,b.hasOwnProperty(d.propName)&&(d.transform=b[d.propName]);return a}},outputs:{configurable:!0,enumerable:!0,get:function(){return jha(this.componentDef.outputs)}}});
var Bv=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 kRb(d);this.componentType=a};T(Bv,WQb);
Bv.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,Tga(c[1],c,d,a,b),this.previousInputValues.set(a,b),a=jd(this._tNode.index,c),Ofa(a)))};Bv.prototype.destroy=function(){this.hostView.destroy()};Bv.prototype.onDestroy=function(a){this.hostView.onDestroy(a)};
sh.Object.defineProperties(Bv.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return new Ad(this._tNode,this._rootLView)}}});var Zd=function(a,b,c){this._parent=b;this._bootstrapComponents=[];this.destroyCbs=[];this.componentFactoryResolver=new oRb(this);var d=(a[HQb]||null).bootstrap;this._bootstrapComponents=d instanceof Function?d():d;this._r3Injector=Ffa(a,b,[{provide:uv,useValue:this},{provide:tv,useValue:this.componentFactoryResolver}].concat(cd(c)),Bc(a),new Set(["environment"]));Gfa(this._r3Injector);this.instance=this._r3Injector.get(a)};T(Zd,uv);
Zd.prototype.destroy=function(){var a=this._r3Injector;!a.destroyed&&a.destroy();this.destroyCbs.forEach(function(b){return b()});this.destroyCbs=null};Zd.prototype.onDestroy=function(a){this.destroyCbs.push(a)};sh.Object.defineProperties(Zd.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._r3Injector}}});var rRb=function(a){this.moduleType=a};T(rRb,TQb);rRb.prototype.create=function(a){return new Zd(this.moduleType,a,[])};
var mha=function(a){this.componentFactoryResolver=new oRb(this);this.instance=null;var b=new Cd([].concat(cd(a.providers),[{provide:uv,useValue:this},{provide:tv,useValue:this.componentFactoryResolver}]),a.parent||Pea(),a.debugName,new Set(["environment"]));this.injector=b;a.runEnvironmentInitializers&&Gfa(b)};T(mha,uv);mha.prototype.destroy=function(){this.injector.destroy()};mha.prototype.onDestroy=function(a){this.injector.onDestroy(a)};var sRb=new ad("Application Initializer"),Cv=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=Jc(sRb,{optional:!0}))?b:[]},tRb=function(a){if(!a.initialized){for(var b=[],c=k(a.appInits),d=c.next(),e={};!d.done;e={$jscomp$loop$prop$initResult$2278:e.$jscomp$loop$prop$initResult$2278},d=c.next())d=d.value,e.$jscomp$loop$prop$initResult$2278=d(),$d(e.$jscomp$loop$prop$initResult$2278)?b.push(e.$jscomp$loop$prop$initResult$2278):
oha(e.$jscomp$loop$prop$initResult$2278)&&(d=new Promise(function(g){return function(h,l){g.$jscomp$loop$prop$initResult$2278.subscribe({complete:h,error:l})}}(e)),b.push(d));Promise.all(b).then(function(){a.done=!0;a.resolve()}).catch(function(g){a.reject(g)});0===b.length&&(a.done=!0,a.resolve());a.initialized=!0}};Cv.\u0275fac=function(a){return new (a||Cv)};Cv.\u0275prov=yc({token:Cv,factory:Cv.\u0275fac,providedIn:"root"});var Dv=function(){};Dv.prototype.log=function(a){console.log(a)};Dv.prototype.warn=function(a){console.warn(a)};Dv.\u0275fac=function(a){return new (a||Dv)};Dv.\u0275prov=yc({token:Dv,factory:Dv.\u0275fac,providedIn:"platform"});var qha=["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 rha={};var xh=new ad("LocaleId",{providedIn:"root",factory:function(){return Jc(xh,12)||("undefined"!==typeof wJb?"en-US":"undefined"!==typeof $localize&&$localize.locale||"en-US")}});new ad("DefaultCurrencyCode",{providedIn:"root",factory:function(){return"USD"}});new ad("Translations");new ad("TranslationsFormat");var uRb=!1,he={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):uRb&&console.log("RxJS: Back to a better error behavior. Thank you. <3");uRb=a},get useDeprecatedSynchronousErrorHandling(){return uRb}};var xe="function"===typeof Symbol&&Symbol.observable||"@@observable";var vRb={closed:!0,next:function(){},error:function(a){if(he.useDeprecatedSynchronousErrorHandling)throw a;be(a)},complete:function(){}};var ee=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 ne=Array.isArray||function(a){return a&&"number"===typeof a.length};var de=function(a){this.closed=!1;this._subscriptions=this._parentOrParents=null;a&&(this._ctorUnsubscribe=!0,this._unsubscribe=a)};
de.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 de)a.remove(this);else if(null!==a)for(var e=0;e<a.length;++e)a[e].remove(this);if(ce(c)){b&&(this._unsubscribe=void 0);try{c.call(this)}catch(q){var g=q instanceof ee?uha(q.errors):[q]}}if(ne(d)){e=-1;for(var h=d.length;++e<h;){var l=d[e];if(sha(l))try{l.unsubscribe()}catch(q){g=
g||[],q instanceof ee?g=g.concat(uha(q.errors)):g.push(q)}}}if(g)throw new ee(g);}};
de.prototype.add=function(a){var b=a;if(!a)return de.EMPTY;switch(typeof a){case "function":b=new de(a);case "object":if(b===this||b.closed||"function"!==typeof b.unsubscribe)return b;if(this.closed)return b.unsubscribe(),b;b instanceof de||(a=b,b=new de,b._subscriptions=[a]);break;default:throw Error("Da`"+a);}var c=b._parentOrParents;if(null===c)b._parentOrParents=this;else if(c instanceof de){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};de.prototype.remove=function(a){var b=this._subscriptions;b&&(a=b.indexOf(a),-1!==a&&b.splice(a,1))};var wRb=new de;wRb.closed=!0;de.EMPTY=wRb;var fe=function(a,b,c){de.call(this);this.syncErrorValue=null;this.isStopped=this.syncErrorThrowable=this.syncErrorThrown=!1;switch(arguments.length){case 0:this.destination=vRb;break;case 1:if(!a){this.destination=vRb;break}if("object"===typeof a){a instanceof fe?(this.syncErrorThrowable=a.syncErrorThrowable,this.destination=a,a.add(this)):(this.syncErrorThrowable=!0,this.destination=new Ev(this,a));break}default:this.syncErrorThrowable=!0,this.destination=new Ev(this,a,b,c)}};T(fe,de);
fe.EMPTY=de.EMPTY;fe.create=function(a,b,c){a=new fe(a,b,c);a.syncErrorThrowable=!1;return a};f=fe.prototype;f.next=function(a){this.isStopped||this._next(a)};f.error=function(a){this.isStopped||(this.isStopped=!0,this._error(a))};f.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())};f.unsubscribe=function(){this.closed||(this.isStopped=!0,de.prototype.unsubscribe.call(this))};f._next=function(a){this.destination.next(a)};f._error=function(a){this.destination.error(a);this.unsubscribe()};
f._complete=function(){this.destination.complete();this.unsubscribe()};var Ev=function(a,b,c,d){fe.call(this);this._parentSubscriber=a;var e=this;if(ce(b))var g=b;else b&&(g=b.next,c=b.error,d=b.complete,b!==vRb&&(e=Object.create(b),tha(b)&&b.add(this.unsubscribe.bind(this)),e.unsubscribe=this.unsubscribe.bind(this)));this._context=e;this._next=g;this._error=c;this._complete=d};T(Ev,fe);Ev.EMPTY=fe.EMPTY;Ev.create=fe.create;f=Ev.prototype;
f.next=function(a){if(!this.isStopped&&this._next){var b=this._parentSubscriber;he.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?this.__tryOrSetError(b,this._next,a)&&this.unsubscribe():this.__tryOrUnsub(this._next,a)}};
f.error=function(a){if(!this.isStopped){var b=this._parentSubscriber,c=he.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):be(a),this.unsubscribe();else{this.unsubscribe();if(c)throw a;be(a)}}};
f.complete=function(){var a=this;if(!this.isStopped){var b=this._parentSubscriber;if(this._complete){var c=function(){return a._complete.call(a._context)};he.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?this.__tryOrSetError(b,c):this.__tryOrUnsub(c)}this.unsubscribe()}};f.__tryOrUnsub=function(a,b){try{a.call(this._context,b)}catch(c){this.unsubscribe();if(he.useDeprecatedSynchronousErrorHandling)throw c;be(c)}};
f.__tryOrSetError=function(a,b,c){if(!he.useDeprecatedSynchronousErrorHandling)throw Error("Ea");try{b.call(this._context,c)}catch(d){return he.useDeprecatedSynchronousErrorHandling?(a.syncErrorValue=d,a.syncErrorThrown=!0):be(d),!0}return!1};f._unsubscribe=function(){var a=this._parentSubscriber;this._parentSubscriber=this._context=null;a.unsubscribe()};var xRb=function(a){fe.call(this);this.destination=a};T(xRb,fe);xRb.EMPTY=fe.EMPTY;xRb.create=fe.create;var ie=function(a){a&&(this._subscribe=a)};f=ie.prototype;f.lift=function(a){var b=new ie;b.source=this;b.operator=a;return b};
f.subscribe=function(a,b,c){var d=this.operator;a:{if(a){if(a instanceof fe||xha(a)&&tha(a))break a;if(xha(a)){a=new xRb(a);break a}}a=a||b||c?new fe(a,b,c):new fe(vRb)}d?a.add(d.call(a,this.source)):a.add(this.source||he.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a));if(he.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a};
f._trySubscribe=function(a){try{return this._subscribe(a)}catch(b){he.useDeprecatedSynchronousErrorHandling&&(a.syncErrorThrown=!0,a.syncErrorValue=b),vha(a)?a.error(b):console.warn(b)}};f.forEach=function(a,b){var c=this;b=yha(b);return new b(function(d,e){var g=c.subscribe(function(h){try{a(h)}catch(l){e(l),g&&g.unsubscribe()}},e,d)})};f._subscribe=function(a){var b=this.source;return b&&b.subscribe(a)};ie.prototype[xe]=function(){return this};
ie.prototype.pipe=function(){var a=Zc.apply(0,arguments);return 0===a.length?this:wha(a)(this)};var yRb=function(a){var b=yha(b);return new b(function(c,d){var e;a.subscribe(function(g){return e=g},function(g){return d(g)},function(){return c(e)})})};ie.create=function(a){return new ie(a)};var Fv=function(a,b){de.call(this);this.subject=a;this.subscriber=b;this.closed=!1};T(Fv,de);Fv.EMPTY=de.EMPTY;Fv.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 Gv=function(){function a(){this.message="object unsubscribed";this.name="ObjectUnsubscribedError";return this}a.prototype=Object.create(Error.prototype);return a}();var Ve=function(){this.observers=[];this.hasError=this.isStopped=this.closed=!1;this.thrownError=null};T(Ve,ie);f=Ve.prototype;f.lift=function(a){var b=new Hv(this,this);b.operator=a;return b};f.next=function(a){if(this.closed)throw new Gv;if(!this.isStopped){var b=this.observers,c=b.length;b=b.slice();for(var d=0;d<c;d++)b[d].next(a)}};
f.error=function(a){if(this.closed)throw new Gv;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};f.complete=function(){if(this.closed)throw new Gv;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};f.unsubscribe=function(){this.closed=this.isStopped=!0;this.observers=null};
f._trySubscribe=function(a){if(this.closed)throw new Gv;return ie.prototype._trySubscribe.call(this,a)};f._subscribe=function(a){if(this.closed)throw new Gv;if(this.hasError)return a.error(this.thrownError),de.EMPTY;if(this.isStopped)return a.complete(),de.EMPTY;this.observers.push(a);return new Fv(this,a)};var Iv=function(a){var b=new ie;b.source=a;return b};
sh.Object.defineProperties(Ve.prototype,{observed:{configurable:!0,enumerable:!0,get:function(){var a;return 0<(null==(a=this.observers)?void 0:a.length)}}});Ve.create=function(a,b){return new Hv(a,b)};var Hv=function(a,b){Ve.call(this);this.destination=a;this.source=b};T(Hv,Ve);Hv.create=Ve.create;Hv.prototype.next=function(a){var b=this.destination;b&&b.next&&b.next(a)};Hv.prototype.error=function(a){var b=this.destination;b&&b.error&&this.destination.error(a)};
Hv.prototype.complete=function(){var a=this.destination;a&&a.complete&&this.destination.complete()};Hv.prototype._subscribe=function(a){return this.source?this.source.subscribe(a):de.EMPTY};var oe=function(){Ve.apply(this,arguments);this.value=null;this.hasCompleted=this.hasNext=!1};T(oe,Ve);oe.create=Ve.create;oe.prototype._subscribe=function(a){return this.hasError?(a.error(this.thrownError),de.EMPTY):this.hasCompleted&&this.hasNext?(a.next(this.value),a.complete(),de.EMPTY):Ve.prototype._subscribe.call(this,a)};oe.prototype.next=function(a){this.hasCompleted||(this.value=a,this.hasNext=!0)};oe.prototype.error=function(a){this.hasCompleted||Ve.prototype.error.call(this,a)};
oe.prototype.complete=function(){this.hasCompleted=!0;this.hasNext&&Ve.prototype.next.call(this,this.value);Ve.prototype.complete.call(this)};var Jv=function(a){Ve.call(this);this._value=a};T(Jv,Ve);Jv.create=Ve.create;Jv.prototype._subscribe=function(a){var b=Ve.prototype._subscribe.call(this,a);b&&!b.closed&&a.next(this._value);return b};Jv.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Gv;return this._value};Jv.prototype.next=function(a){Ve.prototype.next.call(this,this._value=a)};sh.Object.defineProperties(Jv.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});var Ee=new ie(function(a){return a.complete()});var Bha=function(a){return function(b){for(var c=0,d=a.length;c<d&&!b.closed;c++)b.next(a[c]);b.complete()}};var zRb=function(a,b,c){this.kind=a;this.value=b;this.error=c;this.hasValue="N"===a};zRb.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)}};
zRb.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 ARb={now:function(){return(ARb.delegate||Date).now()},delegate:void 0};var Ue=function(a,b,c){a=void 0===a?Infinity:a;b=void 0===b?Infinity:b;c=void 0===c?ARb:c;Ve.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};T(Ue,Ve);Ue.create=Ve.create;f=Ue.prototype;
f.nextInfiniteTimeWindow=function(a){var b=this._events;b.push(a);b.length>this._bufferSize&&b.shift();Ve.prototype.next.call(this,a)};f.nextTimeWindow=function(a){this._events.push({time:this._getNow(),value:a});this._trimBufferThenGetEvents();Ve.prototype.next.call(this,a)};
f._subscribe=function(a){var b=this._infiniteTimeWindow,c=b?this._events:this._trimBufferThenGetEvents(),d=c.length;if(this.closed)throw new Gv;if(this.isStopped||this.hasError)var e=de.EMPTY;else this.observers.push(a),e=new Fv(this,a);if(b)for(var g=0;g<d&&!a.closed;g++)a.next(c[g]);else for(g=0;g<d&&!a.closed;g++)a.next(c[g].value);this.hasError?a.error(this.thrownError):this.isStopped&&a.complete();return e};f._getNow=function(){var a=this.timestampProvider;return a?a.now():ARb.now()};
f._trimBufferThenGetEvents=function(){for(var a=this._getNow(),b=this._bufferSize,c=this._windowTime,d=this._events,e=d.length,g=0;g<e&&!(a-d[g].time<c);)g++;e>b&&(g=Math.max(g,e-b));0<g&&d.splice(0,g);return d};var CRb=function(a,b){b=void 0===b?BRb:b;this.SchedulerAction=a;this.now=b};CRb.prototype.schedule=function(a,b,c){b=void 0===b?0:b;return(new this.SchedulerAction(this,a)).schedule(c,b)};var BRb=ARb.now;var Pe=function(){function a(){this.message="no elements in sequence";this.name="EmptyError";return this}a.prototype=Object.create(Error.prototype);return a}();var Fha=function(){};Fha.prototype.call=function(a,b){b._refCount++;a=new Kv(a,b);var c=b.subscribe(a);a.closed||(a.connection=b.connect());return c};var Kv=function(a,b){fe.call(this,a);this.connectable=b;this.connection=null};T(Kv,fe);Kv.EMPTY=fe.EMPTY;Kv.create=fe.create;
Kv.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 Lv=function(a,b){this.source=a;this.subjectFactory=b;this._refCount=0;this._isComplete=!1};T(Lv,ie);Lv.create=ie.create;Lv.prototype._subscribe=function(a){return this.getSubject().subscribe(a)};Lv.prototype.getSubject=function(){var a=this._subject;if(!a||a.isStopped)this._subject=this.subjectFactory();return this._subject};
Lv.prototype.connect=function(){var a=this._connection;a||(this._isComplete=!1,a=this._connection=new de,a.add(this.source.subscribe(new Mv(this.getSubject(),this))),a.closed&&(this._connection=null,a=de.EMPTY));return a};Lv.prototype.refCount=function(){return me()(this)};var eja,Nv=Lv.prototype;
eja={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:Nv._subscribe},_isComplete:{value:Nv._isComplete,writable:!0},getSubject:{value:Nv.getSubject},connect:{value:Nv.connect},refCount:{value:Nv.refCount}};var Mv=function(a,b){fe.call(this);this.destination=a;this.connectable=b};T(Mv,fe);Mv.EMPTY=fe.EMPTY;Mv.create=fe.create;
Mv.prototype._error=function(a){this._unsubscribe();fe.prototype._error.call(this,a)};Mv.prototype._complete=function(){this.connectable._isComplete=!0;this._unsubscribe();fe.prototype._complete.call(this)};Mv.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 Gha=function(a){this.project=a;this.thisArg=void 0};Gha.prototype.call=function(a,b){return b.subscribe(new Ov(a,this.project,this.thisArg))};var Ov=function(a,b,c){fe.call(this,a);this.project=b;this.count=0;this.thisArg=c||this};T(Ov,fe);Ov.EMPTY=fe.EMPTY;Ov.create=fe.create;Ov.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 we="function"===typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";var Yha=function(a){return a&&"number"===typeof a.length&&"function"!==typeof a};var DRb=function(a){return function(b){var c=a[we]();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 ERb=function(a){return function(b){var c=a[xe]();if("function"!==typeof c.subscribe)throw new TypeError("Ia");return c.subscribe(b)}};var FRb=function(a){return function(b){a.then(function(c){b.closed||(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,be);return b}};var Tha=function(a){if(a&&"function"===typeof a[xe])return ERb(a);if(Yha(a))return Bha(a);if(Pha(a))return FRb(a);if(a&&"function"===typeof a[we])return DRb(a);if(Symbol&&Symbol.asyncIterator&&a&&"function"===typeof a[Symbol.asyncIterator])return Rha(a);throw new TypeError("Ja`"+(sha(a)?"an invalid object":"'"+a+"'"));};var Pv=function(a){fe.call(this);this.parent=a};T(Pv,fe);Pv.EMPTY=fe.EMPTY;Pv.create=fe.create;Pv.prototype._next=function(a){this.parent.notifyNext(a)};Pv.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};Pv.prototype._complete=function(){this.parent.notifyComplete();this.unsubscribe()};var Qv=function(a,b,c){fe.call(this);this.parent=a;this.outerValue=b;this.outerIndex=c};T(Qv,fe);Qv.EMPTY=fe.EMPTY;Qv.create=fe.create;
Qv.prototype._next=function(a){this.parent.notifyNext(this.outerValue,a,this.outerIndex)};Qv.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};Qv.prototype._complete=function(){this.parent.notifyComplete(this);this.unsubscribe()};var Rv=function(){fe.apply(this,arguments)};T(Rv,fe);Rv.EMPTY=fe.EMPTY;Rv.create=fe.create;Rv.prototype.notifyNext=function(a){this.destination.next(a)};Rv.prototype.notifyError=function(a){this.destination.error(a)};
Rv.prototype.notifyComplete=function(){this.destination.complete()};var Sv=function(){fe.apply(this,arguments)};T(Sv,fe);Sv.EMPTY=fe.EMPTY;Sv.create=fe.create;Sv.prototype.notifyNext=function(a,b){this.destination.next(b)};Sv.prototype.notifyError=function(a){this.destination.error(a)};Sv.prototype.notifyComplete=function(){this.destination.complete()};var GRb={},Fia=function(a,b){this.resultSelector=a;this.keys=b};Fia.prototype.call=function(a,b){return b.subscribe(new Tv(a,this.resultSelector,this.keys))};var Tv=function(a,b,c){Sv.call(this,a);this.resultSelector=b;this.keys=c;this.active=0;this.values=[];this.observables=[]};T(Tv,Sv);Tv.EMPTY=Sv.EMPTY;Tv.create=Sv.create;f=Tv.prototype;f._next=function(a){this.values.push(GRb);this.observables.push(a)};
f._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(ve(a[c],new Qv(this,null,c)))}};f.notifyComplete=function(){0===--this.active&&this.destination.complete()};
f.notifyNext=function(a,b,c){var d=this.values,e=d[c];e=this.toRespond?e===GRb?--this.toRespond:this.toRespond:0;d[c]=b;0===e&&(this.resultSelector?this._tryResultSelector(d):this.destination.next(this.keys?this.keys.reduce(function(g,h,l){return g[h]=d[l],g},{}):d.slice()))};f._tryResultSelector=function(a){try{var b=this.resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var $ha=function(a,b){b=void 0===b?Infinity:b;this.project=a;this.concurrent=b};$ha.prototype.call=function(a,b){return b.subscribe(new Uv(a,this.project,this.concurrent))};var Uv=function(a,b,c){c=void 0===c?Infinity:c;Rv.call(this,a);this.destination=a;this.project=b;this.concurrent=c;this.hasCompleted=!1;this.buffer=[];this.index=this.active=0};T(Uv,Rv);Uv.EMPTY=Rv.EMPTY;Uv.create=Rv.create;
Uv.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 Pv(this);this.destination.add(a);ve(c,a)}else this.buffer.push(a)};Uv.prototype._complete=function(){this.hasCompleted=!0;0===this.active&&0===this.buffer.length&&this.destination.complete();this.unsubscribe()};Uv.prototype.notifyNext=function(a){this.destination.next(a)};
Uv.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 cia=function(a){var b=requestAnimationFrame,c=cancelAnimationFrame;Vv&&(b=Vv.requestAnimationFrame,c=Vv.cancelAnimationFrame);var d=b(function(e){c=void 0;a(e)});return new de(function(){var e;return null==(e=c)?void 0:e(d)})},HRb=function(){return((null==Vv?void 0:Vv.requestAnimationFrame)||requestAnimationFrame).apply(null,cd(Zc.apply(0,arguments)))},IRb=function(){((null==Vv?void 0:Vv.cancelAnimationFrame)||cancelAnimationFrame).apply(null,cd(Zc.apply(0,arguments)))},Vv=void 0;var bia={now:function(){return(bia.delegate||performance).now()},delegate:void 0};var JRb=dia();var Wv=function(){de.call(this)};T(Wv,de);Wv.EMPTY=de.EMPTY;Wv.prototype.schedule=function(){return this};var KRb=function(a,b){var c=Zc.apply(2,arguments);return(null==Xv?0:Xv.setInterval)?Xv.setInterval.apply(Xv,[a,b].concat(cd(c))):setInterval.apply(null,[a,b].concat(cd(c)))},Xv=void 0;var Yv=function(a,b){de.call(this);this.scheduler=a;this.work=b;this.pending=!1};T(Yv,Wv);Yv.EMPTY=Wv.EMPTY;f=Yv.prototype;f.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};f.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return KRb(a.flush.bind(a,this),c)};
f.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&this.delay===c&&!1===this.pending)return b;((null==Xv?void 0:Xv.clearInterval)||clearInterval)(b)};f.execute=function(a,b){if(this.closed)return Error("Na");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))};f._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};
f._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 Zv=function(a,b){b=void 0===b?BRb:b;CRb.call(this,a,b);this.actions=[];this.active=!1;this.scheduled=void 0};T(Zv,CRb);Zv.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 He=new Zv(Yv);var LRb=new ie(De);var nia=function(a,b){this.predicate=a;this.thisArg=b};nia.prototype.call=function(a,b){return b.subscribe(new $v(a,this.predicate,this.thisArg))};var $v=function(a,b,c){fe.call(this,a);this.predicate=b;this.thisArg=c;this.count=0};T($v,fe);$v.EMPTY=fe.EMPTY;$v.create=fe.create;$v.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 pia=function(){};pia.prototype.call=function(a,b){return b.subscribe(new aw(a))};var aw=function(a){Sv.call(this,a);this.hasFirst=!1;this.observables=[];this.subscriptions=[]};T(aw,Sv);aw.EMPTY=Sv.EMPTY;aw.create=Sv.create;f=aw.prototype;f._next=function(a){this.observables.push(a)};
f._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=ve(a[c],new Qv(this,null,c));this.subscriptions&&this.subscriptions.push(d);this.add(d)}this.observables=null}};f.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)};
f.notifyComplete=function(a){this.hasFirst=!0;Sv.prototype.notifyComplete.call(this,a)};f.notifyError=function(a){this.hasFirst=!0;Sv.prototype.notifyError.call(this,a)};var MRb=function(a){this.resultSelector=a};MRb.prototype.call=function(a,b){return b.subscribe(new bw(a,this.resultSelector))};var bw=function(a,b,c){void 0===c&&Object.create(null);fe.call(this,a);this.iterators=[];this.active=0;this.resultSelector=b};T(bw,fe);bw.EMPTY=fe.EMPTY;bw.create=fe.create;bw.prototype._next=function(a){var b=this.iterators;ne(a)?b.push(new cw(a)):"function"===typeof a[we]?b.push(new NRb(a[we]())):b.push(new dw(this.destination,this,a))};
bw.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--}}};bw.prototype._tryresultSelector=function(a){try{var b=this.resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var NRb=function(a){this.iterator=a;this.nextResult=a.next()};NRb.prototype.hasValue=function(){return!0};
NRb.prototype.next=function(){var a=this.nextResult;this.nextResult=this.iterator.next();return a};NRb.prototype.hasCompleted=function(){var a=this.nextResult;return a&&!!a.done};var cw=function(a){this.array=a;this.length=this.index=0;this.length=a.length};cw.prototype[we]=function(){return this};cw.prototype.next=function(){var a=this.index++,b=this.array;return a<this.length?{value:b[a],done:!1}:{value:null,done:!0}};cw.prototype.hasValue=function(){return this.array.length>this.index};
cw.prototype.hasCompleted=function(){return this.array.length===this.index};var dw=function(a,b,c){Rv.call(this,a);this.parent=b;this.observable=c;this.stillUnsubscribed=!0;this.buffer=[];this.isComplete=!1};T(dw,Rv);dw.EMPTY=Rv.EMPTY;dw.create=Rv.create;dw.prototype[we]=function(){return this};f=dw.prototype;f.next=function(){var a=this.buffer;return 0===a.length&&this.isComplete?{value:null,done:!0}:{value:a.shift(),done:!1}};f.hasValue=function(){return 0<this.buffer.length};
f.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete};f.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()};
f.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 g=b[e];if("function"===typeof g.hasValue&&!g.hasValue())break a}e=!1;g=[];for(var h=0;h<c;h++){var l=b[h],q=l.next();l.hasCompleted()&&(e=!0);if(q.done){d.complete();break a}g.push(q.value)}a.resultSelector?a._tryresultSelector(g):d.next(g);e&&d.complete()}};f.subscribe=function(){return ve(this.observable,new Pv(this))};var ORb=function(a,b,c){this.key=a;this.groupSubject=b;this.refCountSubscription=c};T(ORb,ie);ORb.create=ie.create;ORb.prototype._subscribe=function(a){var b=new de,c=this.refCountSubscription,d=this.groupSubject;c&&!c.closed&&b.add(new PRb(c));b.add(d.subscribe(a));return b};var PRb=function(a){de.call(this);this.parent=a;a.count++};T(PRb,de);PRb.EMPTY=de.EMPTY;
PRb.prototype.unsubscribe=function(){var a=this.parent;a.closed||this.closed||(de.prototype.unsubscribe.call(this),--a.count,0===a.count&&a.attemptedToUnsubscribe&&a.unsubscribe())};var wia=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 QRb=function(a,b){a=void 0===a?ew:a;b=void 0===b?Infinity:b;Zv.call(this,a,function(){return c.frame});var c=this;this.maxFrames=b;this.frame=0;this.index=-1};T(QRb,Zv);QRb.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 ew=function(a,b,c){c=void 0===c?a.index+=1:c;Yv.call(this,a,b);this.scheduler=a;this.work=b;this.index=c;this.active=!0;this.index=a.index=c};T(ew,Yv);ew.EMPTY=Yv.EMPTY;ew.prototype.schedule=function(a,b){b=void 0===b?0:b;if(Number.isFinite(b)){if(!this.id)return Yv.prototype.schedule.call(this,a,b);this.active=!1;var c=new ew(this.scheduler,this.work);this.add(c);return c.schedule(a,b)}return de.EMPTY};
ew.prototype.requestAsyncId=function(a,b,c){this.delay=a.frame+(void 0===c?0:c);a=a.actions;a.push(this);a.sort(RRb);return!0};ew.prototype.recycleAsyncId=function(){};ew.prototype._execute=function(a,b){if(!0===this.active)return Yv.prototype._execute.call(this,a,b)};var RRb=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 fw=function(a,b){Yv.call(this,a,b);this.scheduler=a;this.work=b};T(fw,Yv);fw.EMPTY=Yv.EMPTY;fw.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return Yv.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=HRb(function(){return a.flush(void 0)}))};
fw.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return Yv.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(IRb(b),a.scheduled=void 0)};var SRb=function(){Zv.apply(this,arguments)};T(SRb,Zv);SRb.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 TRb=new SRb(fw);var URb=1,VRb,xia={},WRb=function(a){var b=URb++;xia[b]=!0;VRb||(VRb=Promise.resolve());VRb.then(function(){return yia(b)&&a()});return b},XRb=function(a){yia(a)};var ZRb=function(){return((null==YRb?void 0:YRb.setImmediate)||WRb).apply(null,cd(Zc.apply(0,arguments)))},YRb=void 0;var gw=function(a,b){Yv.call(this,a,b);this.scheduler=a;this.work=b};T(gw,Yv);gw.EMPTY=Yv.EMPTY;gw.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return Yv.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=ZRb(a.flush.bind(a,void 0)))};
gw.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return Yv.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(((null==YRb?void 0:YRb.clearImmediate)||XRb)(b),a.scheduled=void 0)};var $Rb=function(){Zv.apply(this,arguments)};T($Rb,Zv);$Rb.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 aSb=new $Rb(gw);var hw=function(a,b){Yv.call(this,a,b);this.scheduler=a;this.work=b};T(hw,Yv);hw.EMPTY=Yv.EMPTY;hw.prototype.schedule=function(a,b){b=void 0===b?0:b;if(0<b)return Yv.prototype.schedule.call(this,a,b);this.delay=b;this.state=a;this.scheduler.flush(this);return this};hw.prototype.execute=function(a,b){return 0<b||this.closed?Yv.prototype.execute.call(this,a,b):this._execute(a,b)};
hw.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return null!==c&&0<c||null===c&&0<this.delay?Yv.prototype.requestAsyncId.call(this,a,b,c):a.flush(this)};var bSb=function(){Zv.apply(this,arguments)};T(bSb,Zv);var cSb=new bSb(hw);var dSb=function(){function a(){this.message="argument out of range";this.name="ArgumentOutOfRangeError";return this}a.prototype=Object.create(Error.prototype);return a}();var eSb=function(){function a(b){this.message=b;this.name="NotFoundError";return this}a.prototype=Object.create(Error.prototype);return a}();var fSb=function(){function a(b){this.message=b;this.name="SequenceError";return this}a.prototype=Object.create(Error.prototype);return a}();var D={};D.Observable=ie;D.ConnectableObservable=Lv;D.GroupedObservable=ORb;D.observable=xe;D.animationFrames=function(a){return a?dia(a):JRb};D.Subject=Ve;D.BehaviorSubject=Jv;D.ReplaySubject=Ue;D.AsyncSubject=oe;D.asap=aSb;D.asapScheduler=aSb;D.async=He;D.asyncScheduler=He;D.queue=cSb;D.queueScheduler=cSb;D.animationFrame=TRb;D.animationFrameScheduler=TRb;D.VirtualTimeScheduler=QRb;D.VirtualAction=ew;D.Scheduler=CRb;D.Subscription=de;D.Subscriber=fe;D.Notification=zRb;
D.NotificationKind={NEXT:"N",ERROR:"E",COMPLETE:"C"};D.pipe=function(){return wha(Zc.apply(0,arguments))};D.noop=De;D.identity=ge;D.isObservable=function(a){return!!a&&(a instanceof ie||"function"===typeof a.lift&&"function"===typeof a.subscribe)};D.lastValueFrom=function(a){return new Promise(function(b,c){var d=!1,e;a.subscribe({next:function(g){e=g;d=!0},error:c,complete:function(){d?b(e):c(new Pe)}})})};
D.firstValueFrom=function(a){return new Promise(function(b,c){var d=new de;d.add(a.subscribe({next:function(e){b(e);d.unsubscribe()},error:c,complete:function(){c(new Pe)}}))})};D.ArgumentOutOfRangeError=dSb;D.EmptyError=Pe;D.NotFoundError=eSb;D.ObjectUnsubscribedError=Gv;D.SequenceError=fSb;D.TimeoutError=wia;D.UnsubscriptionError=ee;D.bindCallback=Iha;D.bindNodeCallback=Lha;
D.combineLatest=function(){var a=Zc.apply(0,arguments),b=void 0,c=void 0,d=void 0;ke(a[a.length-1])&&(c=a.pop());"function"===typeof a[a.length-1]&&(b=a.pop());if(1===a.length){var e=a[0];ne(e)&&(a=e);sha(e)&&Object.getPrototypeOf(e)===Object.prototype&&(d=Object.keys(e),a=d.map(function(g){return e[g]}))}return le(je(a,c),new Fia(b,d))};D.concat=Ce;D.defer=aia;D.empty=function(a){return a?zha(a):Ee};
D.forkJoin=function(){var a=Zc.apply(0,arguments);if(1===a.length){var b=a[0];if(ne(b))return eia(b,null);if(sha(b)&&Object.getPrototypeOf(b)===Object.prototype)return a=Object.keys(b),eia(a.map(function(d){return b[d]}),a)}if("function"===typeof a[a.length-1]){var c=a.pop();a=1===a.length&&ne(a[0])?a[0]:a;return eia(a,null).pipe(C(function(d){return c.apply(null,cd(d))}))}return eia(a,null)};D.from=ye;D.fromEvent=fia;D.fromEventPattern=hia;
D.generate=function(a,b,c,d,e){if(1==arguments.length){var g=a.initialState;b=a.condition;c=a.iterate;var h=a.resultSelector||ge;e=a.scheduler}else void 0===d||ke(d)?(g=a,h=ge,e=d):(g=a,h=d);return new ie(function(l){var q=g;if(e)return e.schedule(iia,0,{subscriber:l,iterate:c,condition:b,resultSelector:h,state:q});do{if(b){var v=void 0;try{v=b(q)}catch(x){l.error(x);break}if(!v){l.complete();break}}v=void 0;try{v=h(q)}catch(x){l.error(x);break}l.next(v);if(l.closed)break;try{q=c(q)}catch(x){l.error(x);
break}}while(1)})};D.iif=function(a,b,c){b=void 0===b?Ee:b;c=void 0===c?Ee:c;return aia(function(){return a()?b:c})};D.interval=function(a,b){a=void 0===a?0:a;b=void 0===b?He:b;if(!jia(a)||0>a)a=0;b&&"function"===typeof b.schedule||(b=He);return new ie(function(c){c.add(b.schedule(kia,a,{subscriber:c,counter:0,period:a}));return c})};
D.merge=function(){var a=Zc.apply(0,arguments),b=Infinity,c=void 0,d=a[a.length-1];ke(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 ie?a[0]:Be(b)(je(a,c))};D.never=function(){return LRb};D.of=Cha;D.onErrorResumeNext=lia;
D.pairs=function(a,b){return b?new ie(function(c){var d=Object.keys(a),e=new de;e.add(b.schedule(mia,0,{keys:d,index:0,subscriber:c,subscription:e,obj:a}));return e}):new ie(function(c){for(var d=Object.keys(a),e=0;e<d.length&&!c.closed;e++){var g=d[e];a.hasOwnProperty(g)&&c.next([g,a[g]])}c.complete()})};D.partition=function(a,b,c){return[Ge(b,c)(new ie(Tha(a))),Ge(oia(b,c))(new ie(Tha(a)))]};D.race=qia;
D.range=function(a,b,c){a=void 0===a?0:a;return new ie(function(d){void 0===b&&(b=a,a=0);var e=0,g=a;if(c)return c.schedule(ria,0,{index:e,count:b,start:a,subscriber:d});do{if(e++>=b){d.complete();break}d.next(g++);if(d.closed)break}while(1)})};D.throwError=function(a,b){return b?new ie(function(c){return b.schedule(Dha,0,{error:a,subscriber:c})}):new ie(function(c){return c.error(a)})};D.timer=uia;
D.using=function(a,b){return new ie(function(c){try{var d=a()}catch(h){c.error(h);return}try{var e=b(d)}catch(h){c.error(h);return}var g=(e?ye(e):Ee).subscribe(c);return function(){g.unsubscribe();d&&d.unsubscribe()}})};D.zip=function(){var a=Zc.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());return le(je(a),new MRb(b))};D.scheduled=Zha;D.EMPTY=Ee;D.NEVER=LRb;D.config=he;var iw=function(){this.taskId=0;this.pendingTasks=new Set;this.hasPendingTasks=new D.BehaviorSubject(!1)};iw.prototype.add=function(){this.hasPendingTasks.next(!0);var a=this.taskId++;this.pendingTasks.add(a);return a};iw.prototype.remove=function(a){this.pendingTasks.delete(a);0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)};iw.prototype.ngOnDestroy=function(){this.pendingTasks.clear();this.hasPendingTasks.next(!1)};iw.\u0275fac=function(a){return new (a||iw)};
iw.\u0275prov=yc({token:iw,factory:iw.\u0275fac,providedIn:"root"});var jw=function(){};jw.prototype.getModuleId=function(){};jw.\u0275fac=function(a){return new (a||jw)};jw.\u0275prov=yc({token:jw,factory:jw.\u0275fac,providedIn:"root"});new ad("compilerOptions");var kw=function(a){a=void 0===a?!1:a;D.Subject.call(this);this.__isAsync=a};T(kw,D.Subject);kw.create=D.Subject.create;kw.prototype.emit=function(a){D.Subject.prototype.next.call(this,a)};
kw.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 g;b=null==(g=a.error)?void 0:g.bind(a);var h;c=null==(h=a.complete)?void 0:h.bind(a)}this.__isAsync&&(b=zia(b),d&&(d=zia(d)),c&&(c=zia(c)));d=D.Subject.prototype.subscribe.call(this,{next:d,error:b,complete:c});a instanceof D.Subscription&&a.add(d);return d};var Bia=function(a){this.durationSelector=a};Bia.prototype.call=function(a,b){return b.subscribe(new lw(a,this.durationSelector))};var lw=function(a,b){Rv.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.throttled=null};T(lw,Rv);lw.EMPTY=Rv.EMPTY;lw.create=Rv.create;
lw.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=ve(c,new Pv(this));!a||a.closed?gSb(this):this.add(this.throttled=a)}};var gSb=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))};lw.prototype.notifyNext=function(){gSb(this)};lw.prototype.notifyComplete=function(){gSb(this)};var Dia=function(a){this.closingNotifier=a};Dia.prototype.call=function(a,b){return b.subscribe(new mw(a,this.closingNotifier))};var mw=function(a,b){Rv.call(this,a);this.buffer=[];this.add(ve(b,new Pv(this)))};T(mw,Rv);mw.EMPTY=Rv.EMPTY;mw.create=Rv.create;mw.prototype._next=function(a){this.buffer.push(a)};mw.prototype.notifyNext=function(){var a=this.buffer;this.buffer=[];this.destination.next(a)};var Kia=function(a){this.durationSelector=a};Kia.prototype.call=function(a,b){return b.subscribe(new nw(a,this.durationSelector))};var nw=function(a,b){Rv.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.durationSubscription=null};T(nw,Rv);nw.EMPTY=Rv.EMPTY;nw.create=Rv.create;f=nw.prototype;f._next=function(a){try{var b=this.durationSelector.call(this,a);b&&this._tryNext(a,b)}catch(c){this.destination.error(c)}};f._complete=function(){hSb(this);this.destination.complete()};
f._tryNext=function(a,b){var c=this.durationSubscription;this.value=a;this.hasValue=!0;c&&(c.unsubscribe(),this.remove(c));(c=ve(b,new Pv(this)))&&!c.closed&&this.add(this.durationSubscription=c)};f.notifyNext=function(){hSb(this)};f.notifyComplete=function(){hSb(this)};var hSb=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;Rv.prototype._next.call(a,b)}};var Mia=function(a,b){this.dueTime=a;this.scheduler=b};Mia.prototype.call=function(a,b){return b.subscribe(new ow(a,this.dueTime,this.scheduler))};var ow=function(a,b,c){fe.call(this,a);this.dueTime=b;this.scheduler=c;this.lastValue=this.debouncedSubscription=null;this.hasValue=!1};T(ow,fe);ow.EMPTY=fe.EMPTY;ow.create=fe.create;ow.prototype._next=function(a){iSb(this);this.lastValue=a;this.hasValue=!0;this.add(this.debouncedSubscription=this.scheduler.schedule(Oia,this.dueTime,this))};
ow.prototype._complete=function(){Nia(this);this.destination.complete()};var Nia=function(a){iSb(a);if(a.hasValue){var b=a.lastValue;a.lastValue=null;a.hasValue=!1;a.destination.next(b)}},iSb=function(a){var b=a.debouncedSubscription;null!==b&&(a.remove(b),b.unsubscribe(),a.debouncedSubscription=null)};var Pia=function(a){this.defaultValue=a};Pia.prototype.call=function(a,b){return b.subscribe(new pw(a,this.defaultValue))};var pw=function(a,b){fe.call(this,a);this.defaultValue=b;this.isEmpty=!0};T(pw,fe);pw.EMPTY=fe.EMPTY;pw.create=fe.create;pw.prototype._next=function(a){this.isEmpty=!1;this.destination.next(a)};pw.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue);this.destination.complete()};var Ria=function(a,b){this.delay=a;this.scheduler=b};Ria.prototype.call=function(a,b){return b.subscribe(new qw(a,this.delay,this.scheduler))};var qw=function(a,b,c){fe.call(this,a);this.destination=a;this.delay=b;this.scheduler=c;this.queue=[];this.active=!1};T(qw,fe);qw.EMPTY=fe.EMPTY;qw.create=fe.create;
var jSb=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)};qw.prototype._schedule=function(a){this.active=!0;var b=this.destination;b.add(a.schedule(jSb,this.delay,{source:this,destination:b,scheduler:a}))};
qw.prototype._next=function(a){var b=this.scheduler;a=new kSb(b.now()+this.delay,a);this.queue.push(a);!1===this.active&&this._schedule(b)};qw.prototype._error=function(a){this.queue.length=0;this.destination.error(a);this.unsubscribe()};qw.prototype._complete=function(){0===this.queue.length&&this.destination.complete();this.unsubscribe()};var kSb=function(a,b){this.time=a;this.value=b};var Sia=function(a){this.compare=a;this.keySelector=void 0};Sia.prototype.call=function(a,b){return b.subscribe(new rw(a,this.compare,this.keySelector))};var rw=function(a,b,c){fe.call(this,a);this.keySelector=c;this.hasKey=!1;"function"===typeof b&&(this.compare=b)};T(rw,fe);rw.EMPTY=fe.EMPTY;rw.create=fe.create;rw.prototype.compare=function(a,b){return a===b};
rw.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 Tia=function(){this.count=1};Tia.prototype.call=function(a,b){return b.subscribe(new sw(a,this.count))};var sw=function(a,b){fe.call(this,a);this.count=b;this._valueCount=0};T(sw,fe);sw.EMPTY=fe.EMPTY;sw.create=fe.create;sw.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 Via=function(a){this.errorFactory=a};Via.prototype.call=function(a,b){return b.subscribe(new tw(a,this.errorFactory))};var tw=function(a,b){fe.call(this,a);this.errorFactory=b;this.hasValue=!1};T(tw,fe);tw.EMPTY=fe.EMPTY;tw.create=fe.create;tw.prototype._next=function(a){this.hasValue=!0;this.destination.next(a)};tw.prototype._complete=function(){if(this.hasValue)return this.destination.complete();try{var a=this.errorFactory()}catch(b){a=b}this.destination.error(a)};var Xia=function(a){this.callback=a};Xia.prototype.call=function(a,b){a=b.subscribe(a);a.add(this.callback);return a};var Yia=function(){};Yia.prototype.call=function(a,b){return b.subscribe(new uw(a))};var uw=function(){fe.apply(this,arguments)};T(uw,fe);uw.EMPTY=fe.EMPTY;uw.create=fe.create;uw.prototype._next=function(){};var $ia=function(){this.total=1};$ia.prototype.call=function(a,b){return b.subscribe(new vw(a,this.total))};var vw=function(a,b){fe.call(this,a);this.total=b;this.ring=[];this.count=0};T(vw,fe);vw.EMPTY=fe.EMPTY;vw.create=fe.create;vw.prototype._next=function(a){var b=this.ring,c=this.total,d=this.count++;b.length<c?b.push(a):b[d%c]=a};
vw.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 g=b++%c;a.next(d[g])}a.complete()};var cja=function(a){this.value=a};cja.prototype.call=function(a,b){return b.subscribe(new ww(a,this.value))};var ww=function(a,b){fe.call(this,a);this.value=b};T(ww,fe);ww.EMPTY=fe.EMPTY;ww.create=fe.create;ww.prototype._next=function(){this.destination.next(this.value)};var dja=function(a,b,c){this.accumulator=a;this.seed=b;this.hasSeed=void 0===c?!1:c};dja.prototype.call=function(a,b){return b.subscribe(new xw(a,this.accumulator,this.seed,this.hasSeed))};var xw=function(a,b,c,d){fe.call(this,a);this.accumulator=b;this._state=c;this._hasState=d;this.index=0};T(xw,fe);xw.EMPTY=fe.EMPTY;xw.create=fe.create;
xw.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 kja=function(a){this.total=a};kja.prototype.call=function(a,b){return b.subscribe(new yw(a,this.total))};var yw=function(a,b){fe.call(this,a);this.total=b;this.count=0};T(yw,fe);yw.EMPTY=fe.EMPTY;yw.create=fe.create;yw.prototype._next=function(a){++this.count>this.total&&this.destination.next(a)};var lja=function(a){this.project=a};lja.prototype.call=function(a,b){return b.subscribe(new zw(a,this.project))};var zw=function(a,b){Rv.call(this,a);this.destination=a;this.project=b;this.index=0};T(zw,Rv);zw.EMPTY=Rv.EMPTY;zw.create=Rv.create;f=zw.prototype;f._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 Pv(this);this.destination.add(a);this.innerSubscription=a;ve(c,a)};
f._complete=function(){var a=this.innerSubscription;a&&!a.closed||Rv.prototype._complete.call(this);this.unsubscribe()};f._unsubscribe=function(){this.innerSubscription=void 0};f.notifyComplete=function(){this.innerSubscription=void 0;this.isStopped&&Rv.prototype._complete.call(this)};f.notifyNext=function(a){this.destination.next(a)};var mja=function(a){this.notifier=a};mja.prototype.call=function(a,b){a=new Aw(a);var c=ve(this.notifier,new Pv(a));return c&&!a.notifierHasNotified?(a.add(c),b.subscribe(a)):a};var Aw=function(a){Rv.call(this,a);this.notifierHasNotified=!1};T(Aw,Rv);Aw.EMPTY=Rv.EMPTY;Aw.create=Rv.create;Aw.prototype.notifyNext=function(){this.notifierHasNotified=!0;this.complete()};Aw.prototype.notifyComplete=function(){};var nja=function(a,b){this.predicate=a;this.inclusive=b};nja.prototype.call=function(a,b){return b.subscribe(new Bw(a,this.predicate,this.inclusive))};var Bw=function(a,b,c){fe.call(this,a);this.predicate=b;this.inclusive=c;this.index=0};T(Bw,fe);Bw.EMPTY=fe.EMPTY;Bw.create=fe.create;Bw.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 pja=function(a,b){this.nextOrObserver=a;this.error=b;this.complete=void 0};pja.prototype.call=function(a,b){return b.subscribe(new Cw(a,this.nextOrObserver,this.error,this.complete))};var Cw=function(a,b,c,d){fe.call(this,a);this._tapComplete=this._tapError=this._tapNext=De;this._tapError=c||De;this._tapComplete=d||De;ce(b)?(this._context=this,this._tapNext=b):b&&(this._context=b,this._tapNext=b.next||De,this._tapError=b.error||De,this._tapComplete=b.complete||De)};T(Cw,fe);Cw.EMPTY=fe.EMPTY;
Cw.create=fe.create;Cw.prototype._next=function(a){try{this._tapNext.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.next(a)};Cw.prototype._error=function(a){try{this._tapError.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.error(a)};Cw.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(a){this.destination.error(a);return}return this.destination.complete()};var qja={leading:!0,trailing:!1},rja=function(a,b,c){this.durationSelector=a;this.leading=b;this.trailing=c};rja.prototype.call=function(a,b){return b.subscribe(new Dw(a,this.durationSelector,this.leading,this.trailing))};var Dw=function(a,b,c,d){Rv.call(this,a);this.destination=a;this.durationSelector=b;this._leading=c;this._trailing=d;this._sendValue=null;this._hasValue=!1};T(Dw,Rv);Dw.EMPTY=Rv.EMPTY;Dw.create=Rv.create;
Dw.prototype._next=function(a){this._hasValue=!0;this._sendValue=a;this._throttled||(this._leading?this.send():lSb(this,a))};Dw.prototype.send=function(){var a=this._sendValue;this._hasValue&&(this.destination.next(a),lSb(this,a));this._hasValue=!1;this._sendValue=null};var lSb=function(a,b){try{var c=a.durationSelector(b)}catch(d){a.destination.error(d);return}a.add(a._throttled=ve(c,new Pv(a)))},mSb=function(a){var b=a._throttled,c=a._trailing;b&&b.unsubscribe();a._throttled=null;c&&a.send()};
Dw.prototype.notifyNext=function(){mSb(this)};Dw.prototype.notifyComplete=function(){mSb(this)};var tja=function(a,b){this.observables=a;this.project=b};tja.prototype.call=function(a,b){return b.subscribe(new Ew(a,this.observables,this.project))};var Ew=function(a,b,c){Sv.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(ve(b[c],new Qv(this,void 0,c)))};T(Ew,Sv);Ew.EMPTY=Sv.EMPTY;Ew.create=Sv.create;
Ew.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))};Ew.prototype.notifyComplete=function(){};Ew.prototype._next=function(a){0===this.toRespond.length&&(a=[a].concat(cd(this.values)),this.project?this._tryProject(a):this.destination.next(a))};Ew.prototype._tryProject=function(a){try{var b=this.project.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var df=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 kw(!1);this.onMicrotaskEmpty=new kw(!1);this.onStable=new kw(!1);this.onError=new kw(!1);if("undefined"==typeof Zone)throw new Cc(908,!1);Zone.assertZonePatched();
this._nesting=0;this._outer=this._inner=Zone.current;Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec));b&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec));this.shouldCoalesceEventChangeDetection=!a&&c;this.shouldCoalesceRunChangeDetection=a;this.lastRequestAnimationFrameId=-1;b=Qd.requestAnimationFrame;c=Qd.cancelAnimationFrame;"undefined"!==typeof Zone&&b&&c&&((c=b[Zone.__symbol__("OriginalDelegate")])&&(b=c),Zone.__symbol__("OriginalDelegate"));
this.nativeRequestAnimationFrame=b;yja(this)},Aja=function(){return"undefined"!==typeof Zone&&!0===Zone.current.get("isAngularZone")},zja=function(){if(Aja())throw new Cc(909,!1);};df.prototype.run=function(a,b,c){return this._inner.run(a,b,c)};df.prototype.runTask=function(a,b,c){var d=this._inner;a=d.scheduleEventTask("NgZoneEvent: undefined",a,nSb,Aia,Aia);try{return d.runTask(a,b,c)}finally{d.cancelTask(a)}};df.prototype.runGuarded=function(a,b,c){return this._inner.runGuarded(a,b,c)};
df.prototype.runOutsideAngular=function(a){return this._outer.run(a)};var nSb={},hf=function(){this.hasPendingMacrotasks=this.hasPendingMicrotasks=!1;this.isStable=!0;this.onUnstable=new kw;this.onMicrotaskEmpty=new kw;this.onStable=new kw;this.onError=new kw};hf.prototype.run=function(a,b,c){return a.apply(b,c)};hf.prototype.runGuarded=function(a,b,c){return a.apply(b,c)};hf.prototype.runOutsideAngular=function(a){return a()};hf.prototype.runTask=function(a,b,c){return a.apply(b,c)};
var Rja=new ad("",{providedIn:"root",factory:Bja});var oSb=new ad(""),pSb=new ad(""),Fw=function(a,b,c){var d=this;this._ngZone=a;this.registry=b;this._pendingCount=0;this._isZoneStable=!0;this._didWork=!1;this._callbacks=[];this.taskTrackingZone=null;qSb||(qSb=c,rSb(b));this._watchAngularEvents();a.run(function(){d.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})};
Fw.prototype._watchAngularEvents=function(){var a=this;this._ngZone.onUnstable.subscribe({next:function(){a._didWork=!0;a._isZoneStable=!1}});this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.subscribe({next:function(){zja();queueMicrotask(function(){a._isZoneStable=!0;a._runCallbacksIfReady()})}})})};Fw.prototype.isStable=function(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks};
Fw.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(a._didWork)}a._didWork=!1});else{var b=sSb(this);this._callbacks=this._callbacks.filter(function(c){return c.updateCb&&c.updateCb(b)?(clearTimeout(c.timeoutId),!1):!0});this._didWork=!0}};
var sSb=function(a){return a.taskTrackingZone?a.taskTrackingZone.macroTasks.map(function(b){return{source:b.source,creationLocation:b.creationLocation,data:b.data}}):[]};f=Fw.prototype;f.addCallback=function(a,b,c){var d=this,e=-1;b&&0<b&&(e=setTimeout(function(){d._callbacks=d._callbacks.filter(function(g){return g.timeoutId!==e});a(d._didWork,sSb(d))},b));this._callbacks.push({doneCb:a,timeoutId:e,updateCb:c})};
f.whenStable=function(a,b,c){if(c&&!this.taskTrackingZone)throw Error("Qa");this.addCallback(a,b,c);this._runCallbacksIfReady()};f.registerApplication=function(a){this.registry.registerApplication(a,this)};f.unregisterApplication=function(a){this.registry.unregisterApplication(a)};f.findProviders=function(){return[]};Fw.\u0275fac=function(a){return new (a||Fw)(t(df),t(Gw),t(pSb))};Fw.\u0275prov=yc({token:Fw,factory:Fw.\u0275fac});var Gw=function(){this._applications=new Map};
Gw.prototype.registerApplication=function(a,b){this._applications.set(a,b)};Gw.prototype.unregisterApplication=function(a){this._applications.delete(a)};Gw.prototype.findTestabilityInTree=function(a,b){var c,d;return null!=(d=null==(c=qSb)?void 0:c.findTestabilityInTree(this,a,void 0===b?!0:b))?d:null};Gw.\u0275fac=function(a){return new (a||Gw)};Gw.\u0275prov=yc({token:Gw,factory:Gw.\u0275fac,providedIn:"platform"});var qSb;var tSb=this,ef=null,Fja=new ad("AllowMultipleToken"),Jja=new ad("PlatformDestroyListeners"),uSb=new ad("appBootstrapListener"),vSb=function(a,b){this.name=a;this.token=b},ff=function(a){this._injector=a;this._modules=[];this._destroyListeners=[];this._destroyed=!1},wSb=function(a,b,c){var d=Lja(null==c?void 0:c.ngZone,Kja({eventCoalescing:null==c?void 0:c.ngZoneEventCoalescing,runCoalescing:null==c?void 0:c.ngZoneRunCoalescing}));return d.run(function(){var e=lha(b.moduleType,a.injector,Sja(function(){return d})),
g=e.injector.get(Yd,null);d.runOutsideAngular(function(){var h=d.onError.subscribe({next:function(l){g.handleError(l)}});e.onDestroy(function(){Oja(a._modules,e);h.unsubscribe()})});return Mja(g,d,function(){var h=e.injector.get(Cv);tRb(h);return h.donePromise.then(function(){var l=e.injector.get(xh,"en-US")||"en-US";if(null==l)throw Error("wa`Expected localeId to be defined` [Expected=> null != "+(l+" <=Actual]"));a._moduleDoBootstrap(e);return e})})})},ySb=function(){var a=xSb(),b=Hw;var c=void 0===
c?[]:c;var d=Nja({},c);Promise.resolve(new rRb(b)).then(function(e){return wSb(a,e,d)})};ff.prototype._moduleDoBootstrap=function(a){var b=a.injector.get(Iw);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 Cc(-403,!1);this._modules.push(a)};ff.prototype.onDestroy=function(a){this._destroyListeners.push(a)};
ff.prototype.destroy=function(){if(this._destroyed)throw new Cc(404,!1);this._modules.slice().forEach(function(b){return b.destroy()});this._destroyListeners.forEach(function(b){return b()});var a=this._injector.get(Jja,null);a&&(a.forEach(function(b){return b()}),a.clear());this._destroyed=!0};sh.Object.defineProperties(ff.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});
ff.\u0275fac=function(a){return new (a||ff)(t(sv))};ff.\u0275prov=yc({token:ff,factory:ff.\u0275fac,providedIn:"platform"});var Iw=function(){var a=this;this._bootstrapListeners=[];this._destroyed=this._runningTick=!1;this._destroyListeners=[];this._views=[];this.internalErrorHandler=Jc(Qja);this.zoneIsStable=Jc(Rja);this.componentTypes=[];this.components=[];this.isStable=Jc(iw).hasPendingTasks.pipe($e(function(b){return b?(0,D.of)(!1):a.zoneIsStable}),Ne(),We());this._injector=Jc(nv)};
Iw.prototype.bootstrap=function(a,b){var c=this,d=a instanceof XQb;if(!this._injector.get(Cv).done)throw new Cc(405,!1);var e;d?e=a:e=pRb(this._injector.get(tv),a);this.componentTypes.push(e.componentType);a=e.isBoundToModule?void 0:this._injector.get(uv);var g=e.create(SQb,[],b||e.selector,a),h=g.location.nativeElement,l=g.injector.get(oSb,null);null==l||l.registerApplication(h);g.onDestroy(function(){c.detachView(g.hostView);Oja(c.components,g);null==l||l.unregisterApplication(h)});this._loadComponent(g);
return g};var zSb=function(a){if(a._runningTick)throw new Cc(101,!1);try{a._runningTick=!0;for(var b=k(a._views),c=b.next();!c.done;c=b.next())c.value.detectChanges()}catch(d){a.internalErrorHandler(d)}finally{a._runningTick=!1}},ASb=function(a,b){a._views.push(b);if(b._attachedToViewContainer)throw new Cc(902,!1);b._appRef=a};f=Iw.prototype;f.detachView=function(a){Oja(this._views,a);a._appRef=null;var b=a._lView;Jd(b[11],2,a._lView[1].firstChild,b,null,null,!1)};
f._loadComponent=function(a){ASb(this,a.hostView);zSb(this);this.components.push(a);var b=this._injector.get(uSb,[]);b.push.apply(b,cd(this._bootstrapListeners));b.forEach(function(c){return c(a)})};f.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=[]}};
f.onDestroy=function(a){var b=this;this._destroyListeners.push(a);return function(){return Oja(b._destroyListeners,a)}};f.destroy=function(){if(this._destroyed)throw new Cc(406,!1);var a=this._injector;a.destroy&&!a.destroyed&&a.destroy()};sh.Object.defineProperties(Iw.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}}});
Iw.\u0275fac=function(a){return new (a||Iw)};Iw.\u0275prov=yc({token:Iw,factory:Iw.\u0275fac,providedIn:"root"});var Qja=new ad("",{providedIn:"root",factory:function(){return Jc(Yd).handleError.bind(tSb)}}),jf=function(){this.zone=Jc(df);this.applicationRef=Jc(Iw)};jf.prototype.initialize=function(){var a=this;this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:function(){a.zone.run(function(){zSb(a.applicationRef)})}}))};
jf.prototype.ngOnDestroy=function(){var a;null==(a=this._onMicrotaskEmptySubscription)||a.unsubscribe()};jf.\u0275fac=function(a){return new (a||jf)};jf.\u0275prov=yc({token:jf,factory:jf.\u0275fac,providedIn:"root"});new ad("");new ad("AnalyzeForEntryComponents");var sf=0,tf=0,uf=0,fka=0,hka=0;var yka=zka;var Pf=function(a){this._injector=a;this.cachedInjectors=new Map};Pf.prototype.ngOnDestroy=function(){try{for(var a=k(this.cachedInjectors.values()),b=a.next();!b.done;b=a.next()){var c=b.value;null!==c&&c.destroy()}}finally{this.cachedInjectors.clear()}};Pf.\u0275prov=yc({token:Pf,providedIn:"environment",factory:function(){return new Pf(t(nv))}});var eg=function(a){this._emitDistinctChangesOnly=a=void 0===a?!1:a;this.dirty=!0;this._results=[];this._changesDetected=!1;this._changes=null;this.length=0;this.last=this.first=void 0;var b=eg.prototype;b[Symbol.iterator]||(b[Symbol.iterator]=Oka)};f=eg.prototype;f.get=function(a){return this._results[a]};f.map=function(a){return this._results.map(a)};f.filter=function(a){return this._results.filter(a)};f.find=function(a){return this._results.find(a)};
f.reduce=function(a,b){return this._results.reduce(a,b)};f.forEach=function(a){this._results.forEach(a)};f.some=function(a){return this._results.some(a)};f.toArray=function(){return this._results.slice()};f.toString=function(){return this._results.toString()};
f.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],g=a[d];b&&(e=b(e),g=b(g));if(g!==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 $f=function(a){!a._changes||!a._changesDetected&&a._emitDistinctChangesOnly||a._changes.emit(a)};eg.prototype.setDirty=function(){this.dirty=!0};
eg.prototype.destroy=function(){this.changes.complete();this.changes.unsubscribe()};sh.Object.defineProperties(eg.prototype,{changes:{configurable:!0,enumerable:!0,get:function(){return this._changes||(this._changes=new kw)}}});Symbol.iterator;var Yf=function(){};Yf.__NG_ELEMENT_ID__=Qka;var Wf=function(a,b,c){this._declarationLView=a;this._declarationTContainer=b;this.elementRef=c};T(Wf,Yf);Wf.__NG_ELEMENT_ID__=Yf.__NG_ELEMENT_ID__;Wf.prototype.createEmbeddedView=function(a,b){return BSb(this,a,b)};
var BSb=function(a,b,c){var d=a._declarationTContainer.tView;c=Gga(a._declarationLView,d,b,a._declarationLView[2]&4096?4096:16,null,d.declTNode,null,null,null,c||null,null);c[16]=a._declarationLView[a._declarationTContainer.index];a=a._declarationLView[18];null!==a&&(c[18]=a.createEmbeddedView(d));cha(d,c,b);return new hg(c)};sh.Object.defineProperties(Wf.prototype,{ssrId:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this._declarationTContainer.tView)?void 0:a.ssrId)||null}}});var Zf=function(){};Zf.__NG_ELEMENT_ID__=Ska;var Xf=function(a,b,c){this._lContainer=a;this._hostTNode=b;this._hostLView=c};T(Xf,Zf);Xf.__NG_ELEMENT_ID__=Zf.__NG_ELEMENT_ID__;f=Xf.prototype;f.clear=function(){for(;0<this.length;)this.remove(this.length-1)};f.get=function(a){var b=this._lContainer[8];return null!==b&&b[a]||null};f.createEmbeddedView=function(a,b,c){if("number"===typeof c)var d=c;else if(null!=c){d=c.index;var e=c.injector}a=BSb(a,b||{},e);CSb(this,a,d);return a};
f.createComponent=function(a,b,c,d){var e=a&&"function"!==typeof a;if(!e){var g=b||{};b=g.index;c=g.injector;d=g.projectableNodes;g=g.environmentInjector||g.ngModuleRef}a=e?a:new kg(a[Pc]||null);c=c||this.parentInjector;g||null!=a.ngModule||(e=(e?c:this.parentInjector).get(nv,null))&&(g=e);d=a.create(c,d,null,g);CSb(this,d.hostView,b);return d};f.insert=function(a,b){return CSb(this,a,b)};
var CSb=function(a,b,c){var d=b._lView,e=d[1];if(fd(d[3])){var g=a.indexOf(b);-1!==g?a.detach(g):(g=d[3],g=new Xf(g,g[6],g[3]),g.detach(g.indexOf(b)))}c=a._adjustIndex(c);a=a._lContainer;g=11+c;var h=a.length;0<c&&(a[g-1][4]=d);c<h-11?(d[4]=a[g],g=11+c,g>=a.length?a.push(d):a.splice(g,0,d)):(a.push(d),d[4]=null);d[3]=a;g=d[16];null!==g&&a!==g&&(h=g[9],d[15]!==d[3][3][15]&&(g[2]=!0),null===h?g[9]=[d]:h.push(d));g=d[18];null!==g&&DSb(g,e);d[2]|=128;g=$fa(c,a);h=d[11];var l=h.parentNode(a[7]);if(null!==
l){var q=a[6];d[0]=l;d[6]=q;Jd(h,1,e.firstChild,d,l,g,!1)}if(b._appRef)throw new Cc(902,!1);b._attachedToViewContainer=!0;d=Tka(a);c>=d.length?d.push(b):d.splice(c,0,b);return b};f=Xf.prototype;f.move=function(a,b){return this.insert(a,b)};f.indexOf=function(a){var b=this._lContainer[8];return null!==b?b.indexOf(a):-1};f.remove=function(a){a=this._adjustIndex(a,-1);var b=Vfa(this._lContainer,a);b&&(Bea(Tka(this._lContainer),a),Xfa(b[1],b))};
f.detach=function(a){a=this._adjustIndex(a,-1);var b=Vfa(this._lContainer,a);return b&&null!=Bea(Tka(this._lContainer),a)?new hg(b):null};f._adjustIndex=function(a,b){return null==a?this.length+(void 0===b?0:b):a};
sh.Object.defineProperties(Xf.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return Ed(this._hostTNode,this._hostLView)}},injector:{configurable:!0,enumerable:!0,get:function(){return new Ad(this._hostTNode,this._hostLView)}},parentInjector:{configurable:!0,enumerable:!0,get:function(){var a=wfa(this._hostTNode,this._hostLView);if(-1!==a){var b=pfa(a,this._hostLView);return new Ad(b[1].data[(a&32767)+8],b)}return new Ad(null,this._hostLView)}},length:{configurable:!0,enumerable:!0,
get:function(){return this._lContainer.length-11}}});var Uka=Vka;var bla=function(a){this.queryList=a;this.matches=null};bla.prototype.clone=function(){return new bla(this.queryList)};bla.prototype.setDirty=function(){this.queryList.setDirty()};var ala=function(a){this.queries=a=void 0===a?[]:a};ala.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 ala(c)}return null};
ala.prototype.detachView=function(a){DSb(this,a)};var DSb=function(a,b){for(var c=0;c<a.queries.length;c++)null!==b.queries.queries[c].matches&&a.queries[c].setDirty()},Zka=function(a,b,c){this.predicate=a;this.flags=b;this.read=void 0===c?null:c},cla=function(a){this.queries=a=void 0===a?[]:a};f=cla.prototype;f.elementStart=function(a,b){for(var c=0;c<this.queries.length;c++)this.queries[c].elementStart(a,b)};f.elementEnd=function(a){for(var b=0;b<this.queries.length;b++)this.queries[b].elementEnd(a)};
f.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 cla(b):null};f.template=function(a,b){for(var c=0;c<this.queries.length;c++)this.queries[c].template(a,b)};f.track=function(a){this.queries.push(a)};sh.Object.defineProperties(cla.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.queries.length}}});
var fg=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};
fg.prototype.elementStart=function(a,b){if(ESb(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 g=b.localNames;if(null!==g)for(var h=0;h<g.length;h+=2)if(g[h]===e){g=g[h+1];break a}g=null}FSb(this,a,b,g);FSb(this,a,b,Dfa(b,a,e,!1,!1))}else c===Yf?b.type&4&&FSb(this,a,b,-1):FSb(this,a,b,Dfa(b,a,c,!1,!1))}};fg.prototype.elementEnd=function(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)};
fg.prototype.template=function(a,b){this.elementStart(a,b)};fg.prototype.embeddedTView=function(a,b){return ESb(this,a)?(this.crossesNgTemplate=!0,GSb(this,-a.index,b),new fg(this.metadata)):null};
var ESb=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},FSb=function(a,b,c,d){if(null!==d){var e=a.metadata.read;null!==e?e===Dd||e===Zf||e===Yf&&c.type&4?GSb(a,c.index,-2):(b=Dfa(c,b,e,!1,!1),null!==b&&GSb(a,c.index,b)):GSb(a,c.index,d)}},GSb=function(a,b,c){null===a.matches?a.matches=[b,c]:a.matches.push(b,c)};var Jw=function(){};Jw.\u0275fac=function(a){return new (a||Jw)(t(Iw))};Jw.\u0275mod=Qc({type:Jw});Jw.\u0275inj=zc({});var Kw=function(){};Kw.__NG_ELEMENT_ID__=dla;var HSb=function(){};HSb.prototype.supports=function(a){return Yja(a)};HSb.prototype.create=function(a){return new Lw(a)};var ISb=function(a,b){return b},Lw=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||ISb};
Lw.prototype.forEachItem=function(a){var b;for(b=this._itHead;null!==b;b=b._next)a(b)};var JSb=function(a,b){var c=a._itHead;a=a._removalsHead;for(var d=0,e=null;c||a;){var g=!a||c&&c.currentIndex<ela(a,d,e)?c:a,h=ela(g,d,e),l=g.currentIndex;if(g===a)d--,a=a._nextRemoved;else if(c=c._next,null==g.previousIndex)d++;else{e||(e=[]);var q=h-d,v=l-d;if(q!=v){for(var x=0;x<q;x++){var A=x<e.length?e[x]:e[x]=0,G=A+x;v<=G&&G<q&&(e[x]=A+1)}e[g.previousIndex]=v-q}}h!==l&&b(g,h,l)}};
Lw.prototype.forEachAddedItem=function(a){var b;for(b=this._additionsHead;null!==b;b=b._nextAdded)a(b)};Lw.prototype.forEachRemovedItem=function(a){var b;for(b=this._removalsHead;null!==b;b=b._nextRemoved)a(b)};var KSb=function(a,b){for(a=a._identityChangesHead;null!==a;a=a._nextIdentityChange)b(a)};f=Lw.prototype;f.diff=function(a){null==a&&(a=[]);if(!Yja(a))throw new Cc(900,!1);return this.check(a)?this:null};f.onDestroy=function(){};
f.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 g=a[e];var h=this._trackByFn(e,g);null!==c&&Object.is(c.trackById,h)?(d&&(c=this._verifyReinsertion(c,g,h,e)),Object.is(c.item,g)||this._addIdentityChange(c,g)):(c=this._mismatch(c,g,h,e),d=!0);c=c._next}}else{var l=0;Zja(a,function(q){h=b._trackByFn(l,q);null!==c&&Object.is(c.trackById,h)?(d&&(c=b._verifyReinsertion(c,q,h,l)),Object.is(c.item,q)||b._addIdentityChange(c,
q)):(c=b._mismatch(c,q,h,l),d=!0);c=c._next;l++});this.length=l}this._truncate(c);this.collection=a;return this.isDirty};
f._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}};
f._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 LSb(b,c),e,d));return a};
f._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};
f._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)};
f._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};f._moveAfter=function(a,b,c){this._unlink(a);this._insertAfter(a,b,c);this._addToMoves(a,c);return a};
f._addAfter=function(a,b,c){this._insertAfter(a,b,c);this._additionsTail=null===this._additionsTail?this._additionsHead=a:this._additionsTail._nextAdded=a;return a};f._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 Mw);this._linkedRecords.put(a);a.currentIndex=c;return a};f._remove=function(a){return this._addToRemovals(this._unlink(a))};
f._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};f._addToMoves=function(a,b){if(a.previousIndex===b)return a;this._movesTail=null===this._movesTail?this._movesHead=a:this._movesTail._nextMoved=a;return a};
f._addToRemovals=function(a){null===this._unlinkedRecords&&(this._unlinkedRecords=new Mw);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};
f._addIdentityChange=function(a,b){a.item=b;this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a;return a};sh.Object.defineProperties(Lw.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}});
var LSb=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},MSb=function(){this._tail=this._head=null};MSb.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)};
MSb.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};MSb.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 Mw=function(){this.map=new Map};Mw.prototype.put=function(a){var b=a.trackById,c=this.map.get(b);c||(c=new MSb,this.map.set(b,c));c.add(a)};
Mw.prototype.get=function(a,b){var c=this.map.get(a);return c?c.get(a,b):null};Mw.prototype.remove=function(a){var b=a.trackById;this.map.get(b).remove(a)&&this.map.delete(b);return a};Mw.prototype.clear=function(){this.map.clear()};sh.Object.defineProperties(Mw.prototype,{isEmpty:{configurable:!0,enumerable:!0,get:function(){return 0===this.map.size}}});var NSb=function(){};NSb.prototype.supports=function(a){return a instanceof Map||Xja(a)};NSb.prototype.create=function(){return new OSb};var OSb=function(){this._records=new Map;this._removalsTail=this._removalsHead=this._additionsTail=this._additionsHead=this._changesTail=this._changesHead=this._previousMapHead=this._appendAfter=this._mapHead=null};OSb.prototype.forEachItem=function(a){var b;for(b=this._mapHead;null!==b;b=b._next)a(b)};var PSb=function(a,b){for(a=a._changesHead;null!==a;a=a._nextChanged)b(a)};
f=OSb.prototype;f.forEachAddedItem=function(a){var b;for(b=this._additionsHead;null!==b;b=b._nextAdded)a(b)};f.forEachRemovedItem=function(a){var b;for(b=this._removalsHead;null!==b;b=b._nextRemoved)a(b)};f.diff=function(a){if(!a)a=new Map;else if(!(a instanceof Map||Xja(a)))throw new Cc(900,!1);return this.check(a)?this:null};f.onDestroy=function(){};
f.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};f._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};
f._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 QSb(a);this._records.set(a,c);c.currentValue=b;this._addToAdditions(c);return c};
f._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}};
f._maybeAddToChanges=function(a,b){Object.is(b,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=b,this._addToChanges(a))};f._addToAdditions=function(a){null===this._additionsHead?this._additionsHead=this._additionsTail=a:this._additionsTail=this._additionsTail._nextAdded=a};f._addToChanges=function(a){null===this._changesHead?this._changesHead=this._changesTail=a:this._changesTail=this._changesTail._nextChanged=a};
f._forEach=function(a,b){a instanceof Map?a.forEach(b):Object.keys(a).forEach(function(c){return b(a[c],c)})};sh.Object.defineProperties(OSb.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}});var QSb=function(a){this.key=a;this._nextChanged=this._nextRemoved=this._nextAdded=this._prev=this._next=this._nextPrevious=this.currentValue=this.previousValue=null};var Nw=function(a){this.factories=a};Nw.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(null!=b)return b;throw new Cc(901,!1);};Nw.\u0275prov=yc({token:Nw,providedIn:"root",factory:function(){return new Nw([new HSb])}});var Ow=function(a){this.factories=a};Ow.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b)return b;throw new Cc(901,!1);};Ow.\u0275prov=yc({token:Ow,providedIn:"root",factory:function(){return new Ow([new NSb])}});var RSb=Hja(null,"core",[]);var SSb=/\s+/,TSb=[],Pw=function(a,b,c,d){this._iterableDiffers=a;this._keyValueDiffers=b;this._ngEl=c;this._renderer=d;this.initialClasses=TSb;this.stateMap=new Map};
Pw.prototype.ngDoCheck=function(){for(var a=k(this.initialClasses),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);a=this.rawClass;if(Array.isArray(a)||a instanceof Set)for(a=k(a),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);else if(null!=a){var c=k(Object.keys(a));for(b=c.next();!b.done;b=c.next())b=b.value,this._updateState(b,!!a[b])}this._applyStateDiff()};
Pw.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})};Pw.prototype._applyStateDiff=function(){for(var a=k(this.stateMap),b=a.next();!b.done;b=a.next()){var c=b.value;b=c[0];c=c[1];c.changed?(this._toggleClass(b,c.enabled),c.changed=!1):c.touched||(c.enabled&&this._toggleClass(b,!1),this.stateMap.delete(b));c.touched=!1}};
Pw.prototype._toggleClass=function(a,b){var c=this;a=a.trim();0<a.length&&a.split(SSb).forEach(function(d){b?c._renderer.addClass(c._ngEl.nativeElement,d):c._renderer.removeClass(c._ngEl.nativeElement,d)})};sh.Object.defineProperties(Pw.prototype,{klass:{configurable:!0,enumerable:!0,set:function(a){this.initialClasses=null!=a?a.trim().split(SSb):TSb}},ngClass:{configurable:!0,enumerable:!0,set:function(a){this.rawClass="string"===typeof a?a.trim().split(SSb):a}}});
Pw.\u0275fac=function(a){return new (a||Pw)(B(Nw),B(Ow),B(Dd),B(yv))};Pw.\u0275dir=Sc({type:Pw,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});var USb=function(a,b,c,d){this.$implicit=a;this.ngForOf=b;this.index=c;this.count=d};sh.Object.defineProperties(USb.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 Qw=function(a,b,c){this._viewContainer=a;this._template=b;this._differs=c;this._ngForOf=null;this._ngForOfDirty=!0;this._differ=null};Qw.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)};
Qw.prototype._applyChanges=function(a){var b=this,c=this._viewContainer;JSb(a,function(h,l,q){null==h.previousIndex?c.createEmbeddedView(b._template,new USb(h.item,b._ngForOf,-1,-1),null===q?void 0:q):null==q?c.remove(null===l?void 0:l):null!==l&&(l=c.get(l),c.move(l,q),l.context.$implicit=h.item)});for(var d=0,e=c.length;d<e;d++){var g=c.get(d).context;g.index=d;g.count=e;g.ngForOf=this._ngForOf}KSb(a,function(h){c.get(h.currentIndex).context.$implicit=h.item})};
sh.Object.defineProperties(Qw.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)}}});Qw.\u0275fac=function(a){return new (a||Qw)(B(Zf),B(Yf),B(Nw))};
Qw.\u0275dir=Sc({type:Qw,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});var Rw=function(a,b){this._viewContainer=a;this._context=new VSb;this._elseViewRef=this._thenViewRef=this._elseTemplateRef=null;this._thenTemplateRef=b};
Rw.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)))};
sh.Object.defineProperties(Rw.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){gla("ngIfThen",a);this._thenTemplateRef=a;this._thenViewRef=null;this._updateView()}},ngIfElse:{configurable:!0,enumerable:!0,set:function(a){gla("ngIfElse",a);this._elseTemplateRef=a;this._elseViewRef=null;this._updateView()}}});Rw.\u0275fac=function(a){return new (a||Rw)(B(Zf),B(Yf))};
Rw.\u0275dir=Sc({type:Rw,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});var VSb=function(){this.ngIf=this.$implicit=null};var WSb=function(a,b){this._viewContainerRef=a;this._templateRef=b;this._created=!1};WSb.prototype.create=function(){this._created=!0;this._viewContainerRef.createEmbeddedView(this._templateRef)};WSb.prototype.destroy=function(){this._created=!1;this._viewContainerRef.clear()};var Sw=function(){this._defaultViews=[];this._defaultUsed=!1;this._lastCaseCheckIndex=this._caseCount=0;this._lastCasesMatched=!1};Sw.prototype._addCase=function(){return this._caseCount++};Sw.prototype._addDefault=function(a){this._defaultViews.push(a)};
Sw.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};
Sw.prototype._updateDefaultCases=function(a){if(0<this._defaultViews.length&&a!==this._defaultUsed){this._defaultUsed=a;for(var b=k(this._defaultViews),c=b.next();!c.done;c=b.next()){c=c.value;var d=a;d&&!c._created?c.create():!d&&c._created&&c.destroy()}}};sh.Object.defineProperties(Sw.prototype,{ngSwitch:{configurable:!0,enumerable:!0,set:function(a){this._ngSwitch=a;0===this._caseCount&&this._updateDefaultCases(!0)}}});Sw.\u0275fac=function(a){return new (a||Sw)};
Sw.\u0275dir=Sc({type:Sw,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});var Tw=function(a,b,c){this.ngSwitch=c;c._addCase();this._view=new WSb(a,b)};Tw.prototype.ngDoCheck=function(){var a=this._view,b=this.ngSwitch._matchCase(this.ngSwitchCase);b&&!a._created?a.create():!b&&a._created&&a.destroy()};Tw.\u0275fac=function(a){return new (a||Tw)(B(Zf),B(Yf),B(Sw,9))};Tw.\u0275dir=Sc({type:Tw,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});
var Uw=function(a,b,c){c._addDefault(new WSb(a,b))};Uw.\u0275fac=function(a){return new (a||Uw)(B(Zf),B(Yf),B(Sw,9))};Uw.\u0275dir=Sc({type:Uw,selectors:[["","ngSwitchDefault",""]],standalone:!0});var Vw=function(a,b,c){this._ngEl=a;this._differs=b;this._renderer=c;this._differ=this._ngStyle=null};Vw.prototype.ngDoCheck=function(){if(this._differ){var a=this._differ.diff(this._ngStyle);a&&this._applyChanges(a)}};Vw.prototype._setStyle=function(a,b){var c=k(a.split("."));a=c.next().value;c=c.next().value;var d=-1===a.indexOf("-")?void 0:2;null!=b?this._renderer.setStyle(this._ngEl.nativeElement,a,c?""+b+c:b,d):this._renderer.removeStyle(this._ngEl.nativeElement,a,d)};
Vw.prototype._applyChanges=function(a){var b=this;a.forEachRemovedItem(function(c){return b._setStyle(c.key,null)});a.forEachAddedItem(function(c){return b._setStyle(c.key,c.currentValue)});PSb(a,function(c){return b._setStyle(c.key,c.currentValue)})};sh.Object.defineProperties(Vw.prototype,{ngStyle:{configurable:!0,enumerable:!0,set:function(a){this._ngStyle=a;!this._differ&&a&&(this._differ=this._differs.find(a).create())}}});Vw.\u0275fac=function(a){return new (a||Vw)(B(Dd),B(Ow),B(yv))};
Vw.\u0275dir=Sc({type:Vw,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});var Ww=function(a){this._viewContainerRef=a;this.ngTemplateOutletInjector=this.ngTemplateOutlet=this.ngTemplateOutletContext=this._viewRef=null};
Ww.prototype.ngOnChanges=function(a){if(a.ngTemplateOutlet||a.ngTemplateOutletInjector)if(a=this._viewContainerRef,this._viewRef&&a.remove(a.indexOf(this._viewRef)),this.ngTemplateOutlet){var b=this.ngTemplateOutletInjector;this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext,b?{injector:b}:void 0)}else this._viewRef=null;else this._viewRef&&a.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)};
Ww.\u0275fac=function(a){return new (a||Ww)(B(Zf))};Ww.\u0275dir=Sc({type:Ww,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[gd]});var XSb=function(){};XSb.prototype.createSubscription=function(a,b){return kfa(function(){return a.subscribe({next:b,error:function(c){throw c;}})})};XSb.prototype.dispose=function(a){kfa(function(){return a.unsubscribe()})};var YSb=function(){};YSb.prototype.createSubscription=function(a,b){return a.then(b,function(c){throw c;})};YSb.prototype.dispose=function(){};var ZSb=new YSb,$Sb=new XSb,Xw=function(a){this._strategy=this._obj=this._subscription=this._latestValue=null;this._ref=a};f=Xw.prototype;
f.ngOnDestroy=function(){this._subscription&&this._dispose();this._ref=null};f.transform=function(a){return this._obj?a!==this._obj?(this._dispose(),this.transform(a)):this._latestValue:(a&&this._subscribe(a),this._latestValue)};f._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)})};
f._selectStrategy=function(a){if($d(a))return ZSb;if(oha(a))return $Sb;throw ng();};f._dispose=function(){this._strategy.dispose(this._subscription);this._obj=this._subscription=this._latestValue=null};f._updateLatestValue=function(a,b){a===this._obj&&(this._latestValue=b,this._ref.markForCheck())};Xw.\u0275fac=function(a){return new (a||Xw)(B(Kw,16))};Xw.\u0275pipe=Uc({name:"async",type:Xw,pure:!1,standalone:!0});var Yw=function(){};Yw.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw ng();return a.toLowerCase()};Yw.\u0275fac=function(a){return new (a||Yw)};Yw.\u0275pipe=Uc({name:"lowercase",type:Yw,pure:!0,standalone:!0});
var aTb=/(?:[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,Zw=
function(){};Zw.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw ng();return a.replace(aTb,function(b){return b[0].toUpperCase()+b.slice(1).toLowerCase()})};Zw.\u0275fac=function(a){return new (a||Zw)};Zw.\u0275pipe=Uc({name:"titlecase",type:Zw,pure:!0,standalone:!0});var Gla=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,rg={},tla=/((?:[^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]*)/,wla={};var bTb=new ad("DATE_PIPE_DEFAULT_TIMEZONE"),cTb=new ad("DATE_PIPE_DEFAULT_OPTIONS"),$w=function(a,b,c){this.locale=a;this.defaultTimezone=b;this.defaultOptions=c};
$w.prototype.transform=function(a,b,c,d){if(null==a||""===a||a!==a)return null;try{var e,g,h=null!=(g=null!=b?b:null==(e=this.defaultOptions)?void 0:e.dateFormat)?g:"mediumDate",l,q,v,x=null!=(v=null!=(q=null!=c?c:null==(l=this.defaultOptions)?void 0:l.timezone)?q:this.defaultTimezone)?v:void 0;return Ala(a,h,d||this.locale,x)}catch(A){throw ng();}};$w.\u0275fac=function(a){return new (a||$w)(B(xh,16),B(bTb,24),B(cTb,24))};$w.\u0275pipe=Uc({name:"date",type:$w,pure:!0,standalone:!0});var ax=function(){};ax.prototype.transform=function(a){return JSON.stringify(a,null,2)};ax.\u0275fac=function(a){return new (a||ax)};ax.\u0275pipe=Uc({name:"json",type:ax,pure:!1,standalone:!0});var bx=function(a){this.differs=a;this.keyValues=[];this.compareFn=Ila};bx.prototype.transform=function(a,b){var c=this;b=void 0===b?Ila:b;if(!a||!(a instanceof Map)&&"object"!==typeof a)return null;this.differ||(this.differ=this.differs.find(a).create());a=this.differ.diff(a);var d=b!==this.compareFn;a&&(this.keyValues=[],a.forEachItem(function(e){c.keyValues.push({key:e.key,value:e.currentValue})}));if(a||d)this.keyValues.sort(b),this.compareFn=b;return this.keyValues};
bx.\u0275fac=function(a){return new (a||bx)(B(Ow,16))};bx.\u0275pipe=Uc({name:"keyvalue",type:bx,pure:!1,standalone:!0});var Lla=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var cx=function(a){this._locale=a};
cx.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("ab`"+a);var d=a}else d=Number(a);a=d;var e=ae(c)[14][0],g=mg(c,5);g=void 0===g?"-":g;d={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0};var h=e.split(";"),l=h[0],q=h[1],v=-1!==l.indexOf(".")?l.split("."):[l.substring(0,l.lastIndexOf("0")+1),l.substring(l.lastIndexOf("0")+
1)],x=v[0],A=v[1]||"";d.posPre=x.substring(0,x.indexOf("#"));for(e=0;e<A.length;e++){var G=A.charAt(e);"0"===G?d.minFrac=d.maxFrac=e+1:"#"===G?d.maxFrac=e+1:d.posSuf+=G}var M=x.split(",");d.gSize=M[1]?M[1].length:0;d.lgSize=M[2]||M[1]?(M[2]||M[1]).length:0;if(q){var Q=l.length-d.posPre.length-d.posSuf.length,Y=q.indexOf("#");d.negPre=q.substring(0,Y).replace(/'/g,"");d.negSuf=q.slice(Y+Q).replace(/'/g,"")}else d.negPre=g+d.posPre,d.negSuf=d.posSuf;return Ola(a,d,c,b)}catch(W){throw ng();}};
cx.\u0275fac=function(a){return new (a||cx)(B(xh,16))};cx.\u0275pipe=Uc({name:"number",type:cx,pure:!0,standalone:!0});var dx=function(){};dx.prototype.transform=function(a,b,c){if(null==a)return null;if(!this.supports(a))throw ng();return a.slice(b,c)};dx.prototype.supports=function(a){return"string"===typeof a||Array.isArray(a)};dx.\u0275fac=function(a){return new (a||dx)};dx.\u0275pipe=Uc({name:"slice",type:dx,pure:!1,standalone:!0});var ex=function(){};ex.\u0275fac=function(a){return new (a||ex)};ex.\u0275mod=Qc({type:ex});ex.\u0275inj=zc({});var fx=function(a,b){this._renderer=a;this._elementRef=b;this.onChange=function(){};this.onTouched=function(){}};fx.prototype.setProperty=function(a,b){this._renderer.setProperty(this._elementRef.nativeElement,a,b)};fx.prototype.registerOnTouched=function(a){this.onTouched=a};fx.prototype.registerOnChange=function(a){this.onChange=a};fx.prototype.setDisabledState=function(a){this.setProperty("disabled",a)};fx.\u0275fac=function(a){return new (a||fx)(B(yv),B(Dd))};fx.\u0275dir=Sc({type:fx});
var xg=function(){fx.apply(this,arguments)};T(xg,fx);xg.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(xg)))(b||xg)}}();xg.\u0275dir=Sc({type:xg,features:[kf]});var gx=new ad("NgValueAccessor");var dTb=function(a){return a.src};new ad("ImageLoader",{providedIn:"root",factory:function(){return dTb}});var qh=new ad("DocumentToken");new ad("PRECONNECT_CHECK_BLOCKLIST");new ad("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:function(){return new Set}});var eTb={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]};new ad("ImageConfig",{providedIn:"root",factory:function(){return eTb}});var fTb=null,gTb=function(){};var hx=function(){};hx.prototype.historyGo=function(){throw Error("bb");};hx.\u0275fac=function(a){return new (a||hx)};hx.\u0275prov=yc({token:hx,factory:function(){return Jc(ix)},providedIn:"platform"});var hTb=new ad("Location Initialized"),ix=function(){this._doc=Jc(qh);this._location=window.location;this._history=window.history};T(ix,hx);
ix.prototype.onPopState=function(a){var b=iTb(this._doc,"window");b.addEventListener("popstate",a,!1);return function(){return b.removeEventListener("popstate",a)}};var jTb=function(a,b){var c=iTb(a._doc,"window");c.addEventListener("hashchange",b,!1);return function(){return c.removeEventListener("hashchange",b)}};f=ix.prototype;f.pushState=function(a,b,c){this._history.pushState(a,b,c)};f.replaceState=function(a,b,c){this._history.replaceState(a,b,c)};f.forward=function(){this._history.forward()};
f.back=function(){this._history.back()};f.historyGo=function(a){this._history.go(void 0===a?0:a)};f.getState=function(){return this._history.state};
sh.Object.defineProperties(ix.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}}});ix.\u0275fac=function(a){return new (a||ix)};ix.\u0275prov=yc({token:ix,factory:function(){return new ix},providedIn:"platform"});var jx=function(){};jx.prototype.historyGo=function(){throw Error("bb");};jx.\u0275fac=function(a){return new (a||jx)};jx.\u0275prov=yc({token:jx,factory:function(){return Jc(kx)},providedIn:"root"});var kTb=new ad("appBaseHref"),kx=function(a,b){this._platformLocation=a;this._removeListenerFns=[];var c,d,e;this._baseHref=null!=(e=null!=(d=null!=b?b:fTb.getBaseHref())?d:null==(c=Jc(qh).location)?void 0:c.origin)?e:""};T(kx,jx);f=kx.prototype;f.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};
f.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),jTb(this._platformLocation,a))};f.getBaseHref=function(){return this._baseHref};f.prepareExternalUrl=function(a){return Pla(this._baseHref,a)};f.path=function(a){var b=this._platformLocation.pathname+tg(this._platformLocation.search),c=this._platformLocation.hash;return c&&(void 0===a?0:a)?b+c:b};f.pushState=function(a,b,c,d){this._platformLocation.pushState(a,b,this.prepareExternalUrl(c+tg(d)))};
f.replaceState=function(a,b,c,d){this._platformLocation.replaceState(a,b,this.prepareExternalUrl(c+tg(d)))};f.forward=function(){this._platformLocation.forward()};f.back=function(){this._platformLocation.back()};f.getState=function(){return this._platformLocation.getState()};f.historyGo=function(a){var b,c;null==(c=(b=this._platformLocation).historyGo)||c.call(b,void 0===a?0:a)};kx.\u0275fac=function(a){return new (a||kx)(t(hx),t(kTb,8))};kx.\u0275prov=yc({token:kx,factory:kx.\u0275fac,providedIn:"root"});var lx=function(a,b){this._platformLocation=a;this._baseHref="";this._removeListenerFns=[];null!=b&&(this._baseHref=b)};T(lx,jx);f=lx.prototype;f.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};f.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),jTb(this._platformLocation,a))};f.getBaseHref=function(){return this._baseHref};
f.path=function(){var a=this._platformLocation.hash;null==a&&(a="#");return 0<a.length?a.substring(1):a};f.prepareExternalUrl=function(a){a=Pla(this._baseHref,a);return 0<a.length?"#"+a:a};f.pushState=function(a,b,c,d){c=this.prepareExternalUrl(c+tg(d));0==c.length&&(c=this._platformLocation.pathname);this._platformLocation.pushState(a,b,c)};
f.replaceState=function(a,b,c,d){c=this.prepareExternalUrl(c+tg(d));0==c.length&&(c=this._platformLocation.pathname);this._platformLocation.replaceState(a,b,c)};f.forward=function(){this._platformLocation.forward()};f.back=function(){this._platformLocation.back()};f.getState=function(){return this._platformLocation.getState()};f.historyGo=function(a){var b,c;null==(c=(b=this._platformLocation).historyGo)||c.call(b,void 0===a?0:a)};lx.\u0275fac=function(a){return new (a||lx)(t(hx),t(kTb,8))};
lx.\u0275prov=yc({token:lx,factory:lx.\u0275fac});var mx=function(a){var b=this;this._subject=new kw;this._urlChangeListeners=[];this._urlChangeSubscription=null;this._locationStrategy=a;a=this._locationStrategy.getBaseHref();this._basePath=Rla(Qla(a.replace(/\/index.html$/,"")));this._locationStrategy.onPopState(function(c){b._subject.emit({url:b.path(!0),pop:!0,state:c.state,type:c.type})})};f=mx.prototype;f.ngOnDestroy=function(){var a;null==(a=this._urlChangeSubscription)||a.unsubscribe();this._urlChangeListeners=[]};
f.path=function(a){return this.normalize(this._locationStrategy.path(void 0===a?!1:a))};f.getState=function(){return this._locationStrategy.getState()};f.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 Qla(b)};f.prepareExternalUrl=function(a){a&&"/"!==a[0]&&(a="/"+a);return this._locationStrategy.prepareExternalUrl(a)};
f.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+tg(b)),c)};f.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+tg(b)),c)};f.forward=function(){this._locationStrategy.forward()};f.back=function(){this._locationStrategy.back()};
f.historyGo=function(a){var b,c;null==(c=(b=this._locationStrategy).historyGo)||c.call(b,void 0===a?0:a)};f._notifyUrlChangeListeners=function(a,b){a=void 0===a?"":a;this._urlChangeListeners.forEach(function(c){return c(a,b)})};f.subscribe=function(a,b,c){return this._subject.subscribe({next:a,error:b,complete:c})};mx.\u0275fac=function(a){return new (a||mx)(t(jx))};mx.\u0275prov=yc({token:mx,factory:function(){return new mx(t(jx))},providedIn:"root"});new Av;var lTb=function(){};lTb.\u0275prov=yc({token:lTb,providedIn:"root",factory:function(){return new mTb}});var mTb=function(){var a=t(qh),b=window;this.document=a;this.window=b;this.offset=function(){return[0,0]}};mTb.prototype.setOffset=function(a){Array.isArray(a)?this.offset=function(){return a}:this.offset=a};mTb.prototype.getScrollPosition=function(){return nTb(this)?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]};
var oTb=function(a,b){nTb(a)&&a.window.scrollTo(b[0],b[1])},nTb=function(a){try{return!!a.window&&!!a.window.scrollTo&&"pageXOffset"in a.window}catch(b){return!1}};var pTb=function(){};var qTb={provide:gx,useExisting:Ec(function(){return wg}),multi:!0},rTb=new ad("CompositionEventMode"),wg=function(a,b,c){fx.call(this,a,b);this._compositionMode=c;this._composing=!1;null==this._compositionMode&&(this._compositionMode=!/android (\d+)/.test((fTb?window.navigator.userAgent:"").toLowerCase()))};T(wg,fx);wg.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};wg.prototype._handleInput=function(a){if(!this._compositionMode||this._compositionMode&&!this._composing)this.onChange(a)};
wg.prototype._compositionStart=function(){this._composing=!0};wg.prototype._compositionEnd=function(a){this._composing=!1;this._compositionMode&&this.onChange(a)};wg.\u0275fac=function(a){return new (a||wg)(B(yv),B(Dd),B(rTb,8))};
wg.\u0275dir=Sc({type:wg,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&&L("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:[Of([qTb]),kf]});var nx=new ad("NgValidators"),ox=new ad("NgAsyncValidators"),px=function(a){return Ula(a)};var qx=function(){this._rawValidators=[];this._rawAsyncValidators=[];this._onDestroyCallbacks=[]};f=qx.prototype;f._setValidators=function(a){this._rawValidators=a||[];this._composedValidatorFn=dma(this._rawValidators)};f._setAsyncValidators=function(a){this._rawAsyncValidators=a||[];this._composedAsyncValidatorFn=fma(this._rawAsyncValidators)};f._registerOnDestroy=function(a){this._onDestroyCallbacks.push(a)};
f._invokeOnDestroyCallbacks=function(){this._onDestroyCallbacks.forEach(function(a){return a()});this._onDestroyCallbacks=[]};f.reset=function(a){this.control&&this.control.reset(a)};f.hasError=function(a,b){return this.control?this.control.hasError(a,b):!1};f.getError=function(a,b){return this.control?this.control.getError(a,b):null};
sh.Object.defineProperties(qx.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 rx=function(){qx.apply(this,arguments);this.valueAccessor=this.name=this._parent=null};T(rx,qx);var sx=function(){qx.apply(this,arguments)};T(sx,qx);sh.Object.defineProperties(sx.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return null}},path:{configurable:!0,enumerable:!0,get:function(){return null}}});var sTb=function(a){this._cd=a};
sh.Object.defineProperties(sTb.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 tx=function(a){this._cd=a};T(tx,sTb);tx.\u0275fac=function(a){return new (a||tx)(B(rx,2))};
tx.\u0275dir=Sc({type:tx,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,b){a&2&&xf("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:[kf]});var ux=function(a){this._cd=a};T(ux,sTb);ux.\u0275fac=function(a){return new (a||ux)(B(sx,10))};
ux.\u0275dir=Sc({type:ux,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,b){a&2&&xf("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:[kf]});var vx=new ad("CallSetDisabledState",{providedIn:"root",factory:function(){return"whenDisabledForLegacyCode"}});var wx=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)},qma=function(a,b){a._assignValidators(b)},rma=function(a,b){a._assignAsyncValidators(b)},tTb=function(a){a=a._rawValidators;return Array.isArray(a)?a.includes(px):a===px},tma=function(a,b){b=void 0===b?{}:b;a.touched=!0;a._parent&&
!b.onlySelf&&tma(a._parent,b)},uTb=function(a,b){b=void 0===b?{}:b;a.touched=!1;a._pendingTouched=!1;a._forEachChild(function(c){uTb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updateTouched(b)},uma=function(a,b){b=void 0===b?{}:b;a.pristine=!1;a._parent&&!b.onlySelf&&uma(a._parent,b)},vTb=function(a,b){b=void 0===b?{}:b;a.pristine=!0;a._pendingDirty=!1;a._forEachChild(function(c){vTb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updatePristine(b)};f=wx.prototype;
f.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)})};
f.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}))});vg(this,{onlySelf:!0,emitEvent:a.emitEvent});this._updateAncestors(Object.assign({},a,{skipPristineCheck:b}));this._onDisabledChange.forEach(function(c){return c(!1)})};f._updateAncestors=function(a){this._parent&&!a.onlySelf&&(vg(this._parent,a),a.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())};
f.setParent=function(a){this._parent=a};f.getRawValue=function(){return this.value};var vg=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&&vg(a._parent,b)};f=wx.prototype;
f._updateTreeValidity=function(a){a=void 0===a?{emitEvent:!0}:a;this._forEachChild(function(b){return b._updateTreeValidity(a)});vg(this,{onlySelf:!0,emitEvent:a.emitEvent})};f._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"};f._runValidator=function(){return this.validator?this.validator(this):null};
f._runAsyncValidator=function(a){var b=this;this.asyncValidator&&(this.status="PENDING",this._hasOwnPendingAsyncValidator=!0,this._asyncValidationSubscription=Zla(this.asyncValidator(this)).subscribe(function(c){b._hasOwnPendingAsyncValidator=!1;b.setErrors(c,{emitEvent:a})}))};f._cancelExistingSubscription=function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)};
f.setErrors=function(a,b){b=void 0===b?{}:b;this.errors=a;this._updateControlsErrors(!1!==b.emitEvent)};f.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)};f.getError=function(a,b){return(b=b?this.get(b):this)&&b.errors?b.errors[a]:null};f.hasError=function(a,b){return!!this.getError(a,b)};
f._updateControlsErrors=function(a){this.status=this._calculateStatus();a&&this.statusChanges.emit(this.status);this._parent&&this._parent._updateControlsErrors(a)};f._initObservables=function(){this.valueChanges=new kw;this.statusChanges=new kw};f._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"};
f._anyControlsHaveStatus=function(a){return this._anyControls(function(b){return b.status===a})};f._anyControlsDirty=function(){return this._anyControls(function(a){return a.dirty})};f._anyControlsTouched=function(){return this._anyControls(function(a){return a.touched})};f._updatePristine=function(a){a=void 0===a?{}:a;this.pristine=!this._anyControlsDirty();this._parent&&!a.onlySelf&&this._parent._updatePristine(a)};
f._updateTouched=function(a){a=void 0===a?{}:a;this.touched=this._anyControlsTouched();this._parent&&!a.onlySelf&&this._parent._updateTouched(a)};f._registerOnCollectionChange=function(a){this._onCollectionChange=a};f._setUpdateStrategy=function(a){yg(a)&&null!=a.updateOn&&(this._updateOn=a.updateOn)};f._parentMarkedDirty=function(a){var b=this._parent&&this._parent.dirty;return!a&&!!b&&!this._parent._anyControlsDirty()};f._find=function(){return null};
f._assignValidators=function(a){a=this._rawValidators=Array.isArray(a)?a.slice():a;this._composedValidatorFn=Array.isArray(a)?dma(a):a||null};f._assignAsyncValidators=function(a){a=this._rawAsyncValidators=Array.isArray(a)?a.slice():a;this._composedAsyncValidatorFn=Array.isArray(a)?fma(a):a||null};
sh.Object.defineProperties(wx.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 xx=function(a,b,c){var d=wx.call,e=yma(b);c=(yg(b)?b.asyncValidators:c)||null;d.call(wx,this,e,c);this.controls=a;this._initObservables();this._setUpdateStrategy(b);this._setUpControls();vg(this,{onlySelf:!0,emitEvent:!!this.asyncValidator})};T(xx,wx);var wTb=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};f=xx.prototype;
f.addControl=function(a){var b=void 0===b?{}:b;wTb(this,a);vg(this,{emitEvent:b.emitEvent});this._onCollectionChange()};f.removeControl=function(a){var b=void 0===b?{}:b;this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){});delete this.controls[a];vg(this,{emitEvent:b.emitEvent});this._onCollectionChange()};f.contains=function(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled};
f.setValue=function(a,b){var c=this;b=void 0===b?{}:b;zma(this,a);Object.keys(a).forEach(function(d){var e=c.controls;if(!Object.keys(e).length)throw new Cc(1E3,"");if(!e[d])throw new Cc(1001,"");c.controls[d].setValue(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});vg(this,b)};f.reset=function(a,b){a=void 0===a?{}:a;b=void 0===b?{}:b;this._forEachChild(function(c,d){c.reset(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});this._updatePristine(b);this._updateTouched(b);vg(this,b)};
f.getRawValue=function(){return this._reduceChildren({},function(a,b,c){a[c]=b.getRawValue();return a})};f._syncPendingControls=function(){var a=this._reduceChildren(!1,function(b,c){return c._syncPendingControls()?!0:b});a&&vg(this,{onlySelf:!0});return a};f._forEachChild=function(a){var b=this;Object.keys(this.controls).forEach(function(c){var d=b.controls[c];d&&a(d,c)})};f._setUpControls=function(){var a=this;this._forEachChild(function(b){b.setParent(a);b._registerOnCollectionChange(a._onCollectionChange)})};
f._updateValue=function(){this.value=this._reduceValue()};f._anyControls=function(a){for(var b=k(Object.entries(this.controls)),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;if(this.contains(c)&&a(d))return!0}return!1};f._reduceValue=function(){var a=this;return this._reduceChildren({},function(b,c,d){if(c.enabled||a.disabled)b[d]=c.value;return b})};f._reduceChildren=function(a,b){var c=a;this._forEachChild(function(d,e){c=b(c,d,e)});return c};
f._allControlsDisabled=function(){for(var a=k(Object.keys(this.controls)),b=a.next();!b.done;b=a.next())if(this.controls[b.value].enabled)return!1;return 0<Object.keys(this.controls).length||this.disabled};f._find=function(a){return this.controls.hasOwnProperty(a)?this.controls[a]:null};var xTb={provide:sx,useExisting:Ec(function(){return yx})},yTb=Promise.resolve(),yx=function(a,b,c){sx.call(this);this.callSetDisabledState=c;this.submitted=!1;this._directives=new Set;this.ngSubmit=new kw;this.form=new xx({},dma(a),fma(b))};T(yx,sx);f=yx.prototype;f.ngAfterViewInit=function(){this._setUpdateStrategy()};
f.addControl=function(a){var b=this;yTb.then(function(){var c=b._findContainer(a.path);a.control=wTb(c,a.name,a.control);ug(a.control,a,b.callSetDisabledState);vg(a.control,{emitEvent:!1});b._directives.add(a)})};f.removeControl=function(a){var b=this;yTb.then(function(){var c=b._findContainer(a.path);c&&c.removeControl(a.name);b._directives.delete(a)})};f.updateModel=function(a,b){var c=this;yTb.then(function(){c.form.get(a.path).setValue(b)})};f.setValue=function(a){this.control.setValue(a)};
f.onSubmit=function(a){this.submitted=!0;wma(this.form,this._directives);this.ngSubmit.emit(a);var b;return"dialog"===(null==a?void 0:null==(b=a.target)?void 0:b.method)};f.onReset=function(){this.resetForm()};f.resetForm=function(){this.form.reset(void 0);this.submitted=!1};f._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)};f._findContainer=function(a){a.pop();return a.length?this.form.get(a):this.form};
sh.Object.defineProperties(yx.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}}});yx.\u0275fac=function(a){return new (a||yx)(B(nx,10),B(ox,10),B(vx,8))};
yx.\u0275dir=Sc({type:yx,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,b){a&1&&L("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Of([xTb]),kf]});var zx=function(a,b,c){a=void 0===a?null:a;var d=wx.call,e=yma(b);c=(yg(b)?b.asyncValidators:c)||null;d.call(wx,this,e,c);this.defaultValue=null;this._onChange=[];this._pendingChange=!1;this._applyFormState(a);this._setUpdateStrategy(b);this._initObservables();vg(this,{onlySelf:!0,emitEvent:!!this.asyncValidator});yg(b)&&(b.nonNullable||b.initialValueIsDefault)&&(Ama(a)?this.defaultValue=a.value:this.defaultValue=a)};T(zx,wx);f=zx.prototype;
f.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)});vg(this,b)};f.reset=function(a,b){a=void 0===a?this.defaultValue:a;b=void 0===b?{}:b;this._applyFormState(a);vTb(this,b);uTb(this,b);this.setValue(this.value,b);this._pendingChange=!1};f._updateValue=function(){};f._anyControls=function(){return!1};f._allControlsDisabled=function(){return this.disabled};
f.registerOnChange=function(a){this._onChange.push(a)};f._unregisterOnChange=function(a){var b=this._onChange;a=b.indexOf(a);-1<a&&b.splice(a,1)};f._unregisterOnDisabledChange=function(a){var b=this._onDisabledChange;a=b.indexOf(a);-1<a&&b.splice(a,1)};f._forEachChild=function(){};
f._syncPendingControls=function(){return"submit"===this.updateOn&&(this._pendingDirty&&uma(this),this._pendingTouched&&tma(this),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1};f._applyFormState=function(a){Ama(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 zTb={provide:rx,useExisting:Ec(function(){return Ax})},ATb=Promise.resolve(),Ax=function(a,b,c,d,e,g){rx.call(this);this._changeDetectorRef=e;this.callSetDisabledState=g;this.control=new zx;this._registered=!1;this.name="";this.update=new kw;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=xma(d)};T(Ax,rx);f=Ax.prototype;
f.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);vma(a,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)};f.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};
f.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};f._setUpControl=function(){this._setUpdateStrategy();this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this);this._registered=!0};f._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)};f._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)};
f._setUpStandalone=function(){ug(this.control,this,this.callSetDisabledState);vg(this.control,{emitEvent:!1})};f._checkForErrors=function(){this._checkName()};f._checkParentType=function(){};f._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name)};f._updateValue=function(a){var b=this;ATb.then(function(){b.control.setValue(a,{emitViewToModelChange:!1});var c;null==(c=b._changeDetectorRef)||c.markForCheck()})};
f._updateDisabled=function(a){var b=this;a=a.isDisabled.currentValue;var c=0!==a&&ig(a);ATb.then(function(){c&&!b.control.disabled?b.control.disable():!c&&b.control.disabled&&b.control.enable();var d;null==(d=b._changeDetectorRef)||d.markForCheck()})};f._getPath=function(a){return this._parent?hma(a,this._parent):[a]};
sh.Object.defineProperties(Ax.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}}});Ax.\u0275fac=function(a){return new (a||Ax)(B(sx,9),B(nx,10),B(ox,10),B(gx,10),B(Kw,8),B(vx,8))};
Ax.\u0275dir=Sc({type:Ax,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Of([zTb]),kf,gd]});var Bx=function(){};Bx.\u0275fac=function(a){return new (a||Bx)};Bx.\u0275dir=Sc({type:Bx,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});var BTb={provide:gx,useExisting:Ec(function(){return Cx}),multi:!0},Cx=function(){xg.apply(this,arguments)};T(Cx,xg);Cx.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};Cx.prototype.registerOnChange=function(a){this.onChange=function(b){a(""==b?null:parseFloat(b))}};Cx.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(Cx)))(b||Cx)}}();
Cx.\u0275dir=Sc({type:Cx,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(a,b){a&1&&L("input",function(c){return b.onChange(c.target.value)})("blur",function(){return b.onTouched()})},features:[Of([BTb]),kf]});var CTb={provide:gx,useExisting:Ec(function(){return Dx}),multi:!0},Ex=function(){};Ex.\u0275fac=function(a){return new (a||Ex)};Ex.\u0275mod=Qc({type:Ex});Ex.\u0275inj=zc({});var Fx=function(){this._accessors=[]};Fx.prototype.add=function(a,b){this._accessors.push([a,b])};Fx.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}};
Fx.prototype.select=function(a){var b=this;this._accessors.forEach(function(c){b._isSameGroup(c,a)&&c[1]!==a&&c[1].writeValue(a.value)})};Fx.prototype._isSameGroup=function(a,b){return a[0].control?a[0]._parent===b._control._parent&&a[1].name===b.name:!1};Fx.\u0275fac=function(a){return new (a||Fx)};Fx.\u0275prov=yc({token:Fx,factory:Fx.\u0275fac,providedIn:Ex});
var Dx=function(a,b,c,d){xg.call(this,a,b);this._registry=c;this._injector=d;this.setDisabledStateFired=!1;this.onChange=function(){};var e;this.callSetDisabledState=null!=(e=Jc(vx,{optional:!0}))?e:"whenDisabledForLegacyCode"};T(Dx,xg);f=Dx.prototype;f.ngOnInit=function(){this._control=this._injector.get(rx);this._checkName();this._registry.add(this._control,this)};f.ngOnDestroy=function(){this._registry.remove(this)};
f.writeValue=function(a){this._state=a===this.value;this.setProperty("checked",this._state)};f.registerOnChange=function(a){var b=this;this._fn=a;this.onChange=function(){a(b.value);b._registry.select(b)}};f.setDisabledState=function(a){(this.setDisabledStateFired||a||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",a);this.setDisabledStateFired=!0};f._checkName=function(){!this.name&&this.formControlName&&(this.name=this.formControlName)};
Dx.\u0275fac=function(a){return new (a||Dx)(B(yv),B(Dd),B(Fx),B(sv))};Dx.\u0275dir=Sc({type:Dx,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(a,b){a&1&&L("change",function(){return b.onChange()})("blur",function(){return b.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Of([CTb]),kf]});var DTb=new ad("NgModelWithFormControlWarning"),ETb={provide:rx,useExisting:Ec(function(){return Gx})},Gx=function(a,b,c,d,e){rx.call(this);this._ngModelWarningConfig=d;this.callSetDisabledState=e;this.update=new kw;this._ngModelWarningSent=!1;this._setValidators(a);this._setAsyncValidators(b);this.valueAccessor=xma(c)};T(Gx,rx);
Gx.prototype.ngOnChanges=function(a){if(this._isControlChanged(a)){var b=a.form.previousValue;b&&oma(b,this);ug(this.form,this,this.callSetDisabledState);vg(this.form,{emitEvent:!1})}vma(a,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)};Gx.prototype.ngOnDestroy=function(){this.form&&oma(this.form,this)};Gx.prototype.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};Gx.prototype._isControlChanged=function(a){return a.hasOwnProperty("form")};
sh.Object.defineProperties(Gx.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}}});Gx.\u0275fac=function(a){return new (a||Gx)(B(nx,10),B(ox,10),B(gx,10),B(DTb,8),B(vx,8))};
Gx.\u0275dir=Sc({type:Gx,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Of([ETb]),kf,gd]});var FTb={provide:sx,useExisting:Ec(function(){return Hx})},Hx=function(a,b,c){sx.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 kw;this._setValidators(a);this._setAsyncValidators(b)};T(Hx,sx);f=Hx.prototype;f.ngOnChanges=function(a){a.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)};
f.ngOnDestroy=function(){this.form&&(nma(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))};f.addControl=function(a){var b=this.form.get(a.path);ug(b,a,this.callSetDisabledState);vg(b,{emitEvent:!1});this.directives.push(a);return b};f.removeControl=function(a){oma(a.control||null,a);var b=this.directives;a=b.indexOf(a);-1<a&&b.splice(a,1)};f.updateModel=function(a,b){this.form.get(a.path).setValue(b)};
f.onSubmit=function(a){this.submitted=!0;wma(this.form,this.directives);this.ngSubmit.emit(a);var b;return"dialog"===(null==a?void 0:null==(b=a.target)?void 0:b.method)};f.onReset=function(){this.resetForm()};f.resetForm=function(){this.form.reset(void 0);this.submitted=!1};f._updateDomValue=function(){var a=this;this.directives.forEach(function(b){var c=b.control,d=a.form.get(b.path);c!==d&&(oma(c||null,b),d instanceof zx&&(ug(d,b,a.callSetDisabledState),b.control=d))});this.form._updateTreeValidity({emitEvent:!1})};
f._setUpFormContainer=function(a){var b=this.form.get(a.path);ima(b,a);vg(b,{emitEvent:!1})};f._cleanUpFormContainer=function(a){if(this.form){var b=this.form.get(a.path);b&&nma(b,a)&&vg(b,{emitEvent:!1})}};f._updateRegistrations=function(){this.form._registerOnCollectionChange(this._onCollectionChange);this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})};f._updateValidators=function(){ima(this.form,this);this._oldForm&&nma(this._oldForm,this)};f._checkFormPresent=function(){};
sh.Object.defineProperties(Hx.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return this}},control:{configurable:!0,enumerable:!0,get:function(){return this.form}},path:{configurable:!0,enumerable:!0,get:function(){return[]}}});Hx.\u0275fac=function(a){return new (a||Hx)(B(nx,10),B(ox,10),B(vx,8))};
Hx.\u0275dir=Sc({type:Hx,selectors:[["","formGroup",""]],hostBindings:function(a,b){a&1&&L("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Of([FTb]),kf,gd]});var GTb={provide:rx,useExisting:Ec(function(){return Ix})},Ix=function(a,b,c,d,e){rx.call(this);this._ngModelWarningConfig=e;this._added=!1;this.name=null;this.update=new kw;this._ngModelWarningSent=!1;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=xma(d)};T(Ix,rx);f=Ix.prototype;f.ngOnChanges=function(a){this._added||this._setUpControl();vma(a,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))};
f.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};f.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};f._checkParentType=function(){};f._setUpControl=function(){this.control=this.formDirective.addControl(this);this._added=!0};
sh.Object.defineProperties(Ix.prototype,{isDisabled:{configurable:!0,enumerable:!0,set:function(){}},path:{configurable:!0,enumerable:!0,get:function(){return hma(null==this.name?this.name:this.name.toString(),this._parent)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this._parent?this._parent.formDirective:null}}});Ix.\u0275fac=function(a){return new (a||Ix)(B(sx,13),B(nx,10),B(ox,10),B(gx,10),B(DTb,8))};
Ix.\u0275dir=Sc({type:Ix,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Of([GTb]),kf,gd]});var Jx=function(){this._validator=Wla};Jx.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):Wla,this._onChange&&this._onChange())};Jx.prototype.validate=function(a){return this._validator(a)};Jx.prototype.registerOnValidatorChange=function(a){this._onChange=a};Jx.prototype.enabled=function(a){return null!=a};Jx.\u0275fac=function(a){return new (a||Jx)};
Jx.\u0275dir=Sc({type:Jx,features:[gd]});var HTb={provide:nx,useExisting:Ec(function(){return Kx}),multi:!0},Kx=function(){Jx.apply(this,arguments);this.inputName="min";this.normalizeInput=function(a){return"number"===typeof a?a:parseFloat(a)};this.createValidator=function(a){return Tla(a)}};T(Kx,Jx);Kx.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(Kx)))(b||Kx)}}();
Kx.\u0275dir=Sc({type:Kx,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&&of("min",b._enabled?b.min:null)},inputs:{min:"min"},features:[Of([HTb]),kf]});var ITb={provide:nx,useExisting:Ec(function(){return Lx}),multi:!0},Lx=function(){Jx.apply(this,arguments);this.inputName="required";this.normalizeInput=ig;this.createValidator=function(){return Ula}};
T(Lx,Jx);Lx.prototype.enabled=function(a){return a};Lx.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(Lx)))(b||Lx)}}();Lx.\u0275dir=Sc({type:Lx,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,b){a&2&&of("required",b._enabled?"":null)},inputs:{required:"required"},features:[Of([ITb]),kf]});
var JTb={provide:nx,useExisting:Ec(function(){return Mx}),multi:!0},Mx=function(){Jx.apply(this,arguments);this.inputName="maxlength";this.normalizeInput=function(a){return"number"===typeof a?a:parseInt(a,10)};this.createValidator=function(a){return Vla(a)}};T(Mx,Jx);Mx.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(Mx)))(b||Mx)}}();
Mx.\u0275dir=Sc({type:Mx,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&of("maxlength",b._enabled?b.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Of([JTb]),kf]});var KTb={provide:nx,useExisting:Ec(function(){return Nx}),multi:!0},Nx=function(){Jx.apply(this,arguments);this.inputName="pattern";this.normalizeInput=function(a){return a};this.createValidator=function(a){return Xla(a)}};
T(Nx,Jx);Nx.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(Nx)))(b||Nx)}}();Nx.\u0275dir=Sc({type:Nx,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&of("pattern",b._enabled?b.pattern:null)},inputs:{pattern:"pattern"},features:[Of([KTb]),kf]});var Ox=function(){};Ox.\u0275fac=function(a){return new (a||Ox)};Ox.\u0275mod=Qc({type:Ox});Ox.\u0275inj=zc({imports:[Ex]});var Px=function(){};Px.\u0275fac=function(a){return new (a||Px)};Px.\u0275mod=Qc({type:Px});Px.\u0275inj=zc({imports:[Ox]});var Qx=function(){};Qx.\u0275fac=function(a){return new (a||Qx)};Qx.\u0275mod=Qc({type:Qx});Qx.\u0275inj=zc({imports:[Ox]});new Av;var Bma,Cma="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 zg;var Gma,Bg;var Ima;var LTb;try{LTb="undefined"!==typeof Intl&&Intl.v8BreakIterator}catch(a){LTb=!1}
var Rx=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&&!LTb)&&"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};Rx.\u0275fac=function(a){return new (a||Rx)(t(vv))};Rx.\u0275prov=yc({token:Rx,factory:Rx.\u0275fac,providedIn:"root"});var Sx=function(a){this._platform=a};Sx.prototype.isDisabled=function(a){return a.hasAttribute("disabled")};Sx.prototype.isVisible=function(a){return!!(a.offsetWidth||a.offsetHeight||"function"===typeof a.getClientRects&&a.getClientRects().length)&&"visible"===getComputedStyle(a).visibility};
var MTb=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===Mma(c)||!a.isVisible(c)))return!1;c=b.nodeName.toLowerCase();var d=Mma(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 g="input"===e&&b.type;e=!("text"===g||"password"===g||"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};
Sx.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")||Lma(a);return c&&!this.isDisabled(a)&&((null==b?void 0:b.ignoreVisibility)||this.isVisible(a))};Sx.\u0275fac=function(a){return new (a||Sx)(t(Rx))};Sx.\u0275prov=yc({token:Sx,factory:Sx.\u0275fac,providedIn:"root"});var Vx=function(a,b,c,d,e){var g=this;this._element=a;this._checker=b;this._ngZone=c;this._document=d;this._hasAttached=!1;this.startAnchorListener=function(){return NTb(g)};this.endAnchorListener=function(){return Tx(g)};this._enabled=!0;(void 0===e?0:e)||Ux(this)};
Vx.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 Ux=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))},OTb=function(a){return new Promise(function(b){a._executeOnStable(function(){return b(a.focusInitialElement())})})};
Vx.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)};
Vx.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 Tx(this)};var Tx=function(a){(a=a._getRegionBoundary("start"))&&a.focus(void 0);return!!a},NTb=function(a){(a=a._getRegionBoundary("end"))&&a.focus(void 0);return!!a};f=Vx.prototype;f.hasAttached=function(){return this._hasAttached};
f._getFirstTabbableElement=function(a){if(this._checker.isFocusable(a)&&MTb(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};f._getLastTabbableElement=function(a){if(this._checker.isFocusable(a)&&MTb(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};
f._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};f._toggleAnchorTabIndex=function(a,b){a?b.setAttribute("tabindex","0"):b.removeAttribute("tabindex")};var PTb=function(a,b){a._startAnchor&&a._endAnchor&&(a._toggleAnchorTabIndex(b,a._startAnchor),a._toggleAnchorTabIndex(b,a._endAnchor))};
Vx.prototype._executeOnStable=function(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe(Oe()).subscribe(a)};sh.Object.defineProperties(Vx.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 Wx=function(a,b,c){this._checker=a;this._ngZone=b;this._document=c};
Wx.prototype.create=function(a,b){return new Vx(a,this._checker,this._ngZone,this._document,void 0===b?!1:b)};Wx.\u0275fac=function(a){return new (a||Wx)(t(Sx),t(df),t(qh))};Wx.\u0275prov=yc({token:Wx,factory:Wx.\u0275fac,providedIn:"root"});var Xx=function(a,b){this._elementRef=a;this._focusTrapFactory=b;this._previouslyFocusedElement=null;this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)};f=Xx.prototype;
f.ngOnDestroy=function(){this.focusTrap.destroy();this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)};f.ngAfterContentInit=function(){Ux(this.focusTrap);this.autoCapture&&this._captureFocus()};f.ngDoCheck=function(){this.focusTrap.hasAttached()||Ux(this.focusTrap)};f.ngOnChanges=function(a){(a=a.autoCapture)&&!a.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()};
f._captureFocus=function(){this._previouslyFocusedElement=Cg();OTb(this.focusTrap)};sh.Object.defineProperties(Xx.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){return this.focusTrap.enabled},set:function(a){this.focusTrap.enabled=Fg(a)}},autoCapture:{configurable:!0,enumerable:!0,get:function(){return this._autoCapture},set:function(a){this._autoCapture=Fg(a)}}});Xx.\u0275fac=function(a){return new (a||Xx)(B(Dd),B(Wx),B(qh))};
Xx.\u0275dir=Sc({type:Xx,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[gd]});var QTb=new ad("cdk-input-modality-detector-options"),RTb={ignoreKeys:[18,17,224,91,16]},Yx=Ag({passive:!0,capture:!0}),Zx=function(a,b,c,d){var e=this;this._platform=a;this._mostRecentTarget=null;this._modality=new D.BehaviorSubject(null);this._lastTouchMs=0;this._onKeydown=function(g){var h,l;(null==(h=e._options)?0:null==(l=h.ignoreKeys)?0:l.some(function(q){return q===g.keyCode}))||(e._modality.next("keyboard"),e._mostRecentTarget=Dg(g))};this._onMousedown=function(g){650>Date.now()-e._lastTouchMs||
(e._modality.next(Oma(g)?"keyboard":"mouse"),e._mostRecentTarget=Dg(g))};this._onTouchstart=function(g){Pma(g)?e._modality.next("keyboard"):(e._lastTouchMs=Date.now(),e._modality.next("touch"),e._mostRecentTarget=Dg(g))};this._options=Object.assign({},RTb,d);this.modalityDetected=this._modality.pipe(Ye(1));this.modalityDetected.pipe(Ne());a.isBrowser&&b.runOutsideAngular(function(){c.addEventListener("keydown",e._onKeydown,Yx);c.addEventListener("mousedown",e._onMousedown,Yx);c.addEventListener("touchstart",
e._onTouchstart,Yx)})};Zx.prototype.ngOnDestroy=function(){this._modality.complete();this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Yx),document.removeEventListener("mousedown",this._onMousedown,Yx),document.removeEventListener("touchstart",this._onTouchstart,Yx))};sh.Object.defineProperties(Zx.prototype,{mostRecentModality:{configurable:!0,enumerable:!0,get:function(){return this._modality.value}}});
Zx.\u0275fac=function(a){return new (a||Zx)(t(Rx),t(df),t(qh),t(QTb,8))};Zx.\u0275prov=yc({token:Zx,factory:Zx.\u0275fac,providedIn:"root"});var STb=new ad("cdk-focus-monitor-default-options"),TTb=Ag({passive:!0,capture:!0}),by=function(a,b,c,d,e){var g=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(){g._windowFocused=!0;g._windowFocusTimeoutId=window.setTimeout(function(){return g._windowFocused=!1})};this._stopInputModalityDetector=
new D.Subject;this._rootNodeFocusAndBlurListener=function(h){for(var l=Dg(h);l;l=l.parentElement)"focus"===h.type?g._onFocus(h,l):g._onBlur(h,l)};this._document=d;this._detectionMode=(null==e?void 0:e.detectionMode)||0};
by.prototype.monitor=function(a,b){b=void 0===b?!1:b;a=Hg(a);if(!this._platform.isBrowser||1!==a.nodeType)return(0,D.of)();var c=Jma(a)||this._getDocument(),d=this._elementInfo.get(a);if(d)return b&&(d.checkChildren=!0),d.subject;b={checkChildren:b,subject:new D.Subject,rootNode:c};this._elementInfo.set(a,b);this._registerGlobalListeners(b);return b.subject};
by.prototype.stopMonitoring=function(a){a=Hg(a);var b=this._elementInfo.get(a);b&&(b.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(b))};var cy=function(a,b,c,d){b=Hg(b);b===a._getDocument().activeElement?a._getClosestElementsInfo(b).forEach(function(e){var g=k(e);e=g.next().value;g=g.next().value;return a._originChanged(e,c,g)}):(a._setOrigin(c),"function"===typeof b.focus&&b.focus(d))};f=by.prototype;
f.ngOnDestroy=function(){var a=this;this._elementInfo.forEach(function(b,c){return a.stopMonitoring(c)})};f._getDocument=function(){return this._document||document};f._getWindow=function(){return this._getDocument().defaultView||window};
f._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"};f._shouldBeAttributedToTouch=function(a){return 1===this._detectionMode||!(null==a||!a.contains(this._inputModalityDetector._mostRecentTarget))};
f._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)};
f._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))})};f._onFocus=function(a,b){var c=this._elementInfo.get(b);a=Dg(a);c&&(c.checkChildren||b===a)&&this._originChanged(b,this._getFocusOrigin(a),c)};
f._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))};f._emitOrigin=function(a,b){a.subject.observers.length&&this._ngZone.run(function(){return a.subject.next(b)})};
f._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,TTb);c.addEventListener("blur",b._rootNodeFocusAndBlurListener,TTb)});this._rootNodeFocusListenerCount.set(c,a+1);1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){b._getWindow().addEventListener("focus",b._windowFocusListener)}),
this._inputModalityDetector.modalityDetected.pipe(af(this._stopInputModalityDetector)).subscribe(function(d){b._setOrigin(d,!0)}))}};
f._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,TTb),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,TTb),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),
clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))};f._originChanged=function(a,b,c){this._setClasses(a,b);this._emitOrigin(c,b);this._lastFocusOrigin=b};f._getClosestElementsInfo=function(a){var b=[];this._elementInfo.forEach(function(c,d){(d===a||c.checkChildren&&d.contains(a))&&b.push([d,c])});return b};
f._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};by.\u0275fac=function(a){return new (a||by)(t(df),t(Rx),t(Zx),t(qh,8),t(STb,8))};by.\u0275prov=yc({token:by,factory:by.\u0275fac,providedIn:"root"});
var dy=function(a,b){this._elementRef=a;this._focusMonitor=b;this._focusOrigin=null;this.cdkFocusChange=new kw};dy.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)})};dy.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._monitorSubscription&&this._monitorSubscription.unsubscribe()};
sh.Object.defineProperties(dy.prototype,{focusOrigin:{configurable:!0,enumerable:!0,get:function(){return this._focusOrigin}}});dy.\u0275fac=function(a){return new (a||dy)(B(Dd),B(by))};dy.\u0275dir=Sc({type:dy,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});var ey=function(){};ey.prototype.attach=function(a){this._attachedHost=a;return a.attach(this)};ey.prototype.detach=function(){var a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())};sh.Object.defineProperties(ey.prototype,{isAttached:{configurable:!0,enumerable:!0,get:function(){return null!=this._attachedHost}}});var fy=function(a,b,c,d,e){this.component=a;this.viewContainerRef=b;this.injector=c;this.componentFactoryResolver=d;this.projectableNodes=e};T(fy,ey);
var gy=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.context=c;this.injector=d};T(gy,ey);gy.prototype.attach=function(a,b){this.context=b=void 0===b?this.context:b;return ey.prototype.attach.call(this,a)};gy.prototype.detach=function(){this.context=void 0;return ey.prototype.detach.call(this)};sh.Object.defineProperties(gy.prototype,{origin:{configurable:!0,enumerable:!0,get:function(){return this.templateRef.elementRef}}});var hy=function(){this._isDisposed=!1};f=hy.prototype;
f.hasAttached=function(){return!!this._attachedPortal};f.attach=function(a){if(a instanceof fy)return this._attachedPortal=a,this.attachComponentPortal(a);if(a instanceof gy)return this._attachedPortal=a,this.attachTemplatePortal(a)};f.detach=function(){this._attachedPortal&&(this._attachedPortal=this._attachedPortal._attachedHost=null);this._invokeDisposeFn()};f.dispose=function(){this.hasAttached()&&this.detach();this._invokeDisposeFn();this._isDisposed=!0};
f.setDisposeFn=function(a){this._disposeFn=a};f._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)};var iy=function(a,b,c,d,e){this._isDisposed=!1;this.outletElement=a;this._componentFactoryResolver=b;this._appRef=c;this._defaultInjector=d;this._document=e};T(iy,hy);
iy.prototype.attachComponentPortal=function(a){var b=this,c=pRb(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||SQb),ASb(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};iy.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};
iy.prototype.dispose=function(){hy.prototype.dispose.call(this);this.outletElement.remove()};iy.prototype._getComponentRootNode=function(a){return a.hostView.rootNodes[0]};var jy=function(a,b){gy.call(this,a,b)};T(jy,gy);jy.\u0275fac=function(a){return new (a||jy)(B(Yf),B(Zf))};jy.\u0275dir=Sc({type:jy,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[kf]});var ky=function(a,b,c){this._isDisposed=!1;this._componentFactoryResolver=a;this._viewContainerRef=b;this._isInitialized=!1;this.attached=new kw;this._document=c};T(ky,hy);f=ky.prototype;f.ngOnInit=function(){this._isInitialized=!0};
f.ngOnDestroy=function(){hy.prototype.dispose.call(this);this._attachedRef=this._attachedPortal=null};
f.attachComponentPortal=function(a){a._attachedHost=this;var b=null!=a.viewContainerRef?a.viewContainerRef:this._viewContainerRef,c=pRb(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]);hy.prototype.setDisposeFn.call(this,function(){return d.destroy()});this._attachedPortal=a;this._attachedRef=d;this.attached.emit(d);
return d};f.attachTemplatePortal=function(a){var b=this;a._attachedHost=this;var c=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});hy.prototype.setDisposeFn.call(this,function(){return b._viewContainerRef.clear()});this._attachedPortal=a;this._attachedRef=c;this.attached.emit(c);return c};f._getRootNode=function(){var a=this._viewContainerRef.element.nativeElement;return a.nodeType===a.ELEMENT_NODE?a:a.parentNode};
sh.Object.defineProperties(ky.prototype,{portal:{configurable:!0,enumerable:!0,get:function(){return this._attachedPortal},set:function(a){if(!this.hasAttached()||a||this._isInitialized)this.hasAttached()&&hy.prototype.detach.call(this),a&&hy.prototype.attach.call(this,a),this._attachedPortal=a||null}}});ky.\u0275fac=function(a){return new (a||ky)(B(tv),B(Zf),B(qh))};
ky.\u0275dir=Sc({type:ky,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[kf]});var ly=function(){};ly.\u0275fac=function(a){return new (a||ly)};ly.\u0275mod=Qc({type:ly});ly.\u0275inj=zc({});var UTb=function(){};T(UTb,gTb);var my=function(){};T(my,UTb);var VTb=function(a,b,c){a.addEventListener(b,c);return function(){a.removeEventListener(b,c)}};my.prototype.dispatchEvent=function(a,b){a.dispatchEvent(b)};my.prototype.remove=function(a){a.parentNode&&a.parentNode.removeChild(a)};my.prototype.createElement=function(a,b){b=b||document;return b.createElement(a)};var iTb=function(a,b){return"window"===b?window:"document"===b?a:"body"===b?a.body:null};
my.prototype.getBaseHref=function(){var a=(WTb=WTb||document.querySelector("base"))?WTb.getAttribute("href"):null;null==a?a=null:(XTb=XTb||document.createElement("a"),XTb.setAttribute("href",a),a=XTb.pathname,a="/"===a.charAt(0)?a:"/"+a);return a};var WTb=null,XTb;var YTb=function(){},rSb=function(a){Qd.getAngularTestability=function(b,c){b=a.findTestabilityInTree(b,void 0===c?!0:c);if(null==b)throw new Cc(5103,!1);return b};Qd.getAllAngularTestabilities=function(){return Array.from(a._applications.values())};Qd.getAllAngularRootElements=function(){return Array.from(a._applications.keys())};Qd.frameworkStabilizers||(Qd.frameworkStabilizers=[]);Qd.frameworkStabilizers.push(function(b){var c=Qd.getAllAngularTestabilities(),d=c.length,e=!1,g=function(h){e=e||
h;d--;0==d&&b(e)};c.forEach(function(h){h.whenStable(g)})})};YTb.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 ny=function(){};ny.prototype.build=function(){return new XMLHttpRequest};ny.\u0275fac=function(a){return new (a||ny)};ny.\u0275prov=yc({token:ny,factory:ny.\u0275fac});var ZTb=new ad("EventManagerPlugins"),oy=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()};oy.prototype.addEventListener=function(a,b,c){return this._findPluginFor(b).addEventListener(a,b,c)};oy.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 Cc(5101,!1);this._eventNameToPlugin.set(a,b);return b};
oy.\u0275fac=function(a){return new (a||oy)(t(ZTb),t(df))};oy.\u0275prov=yc({token:oy,factory:oy.\u0275fac});var $Tb=function(a){this._doc=a};var py=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=aUb(this);this.platformIsServer="server"===d;bUb(this)},eUb=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,1===cUb(a,c,1))for(var d=a,e=k(d.hostNodes),g=e.next();!g.done;g=e.next())dUb(d,g.value,c)};
py.prototype.ngOnDestroy=function(){var a=this.styleNodesInDOM;a&&(a.forEach(function(c){return c.remove()}),a.clear());a=k(this.styleRef.keys());for(var b=a.next();!b.done;b=a.next())fUb(this,b.value);bUb(this)};
var fUb=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)},aUb=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},cUb=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},dUb=function(a,
b,c){var d=a.styleNodesInDOM;var e=null==d?void 0:d.get(c);(null==e?void 0:e.parentNode)===b?(d.delete(c),e.removeAttribute("ng-app-id"),d=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);a=a.styleRef;var g;(b=null==(g=a.get(c))?void 0:g.elements)?b.push(d):a.set(c,{elements:[d],usage:1})},bUb=function(a){var b=a.hostNodes;b.clear();b.add(a.doc.head)};
py.\u0275fac=function(a){return new (a||py)(t(qh),t(UQb),t(VQb,8),t(vv))};py.\u0275prov=yc({token:py,factory:py.\u0275fac});var gUb={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/"},Qma=/%COMP%/g,hUb=new ad("RemoveStylesOnCompDestroy",{providedIn:"root",factory:function(){var a;return null!=(a=globalThis.ngRemoveStylesOnComponentDestroy)?a:!1}}),ry=function(a,b,c,d,e,g,h,l){this.eventManager=a;this.sharedStylesHost=b;this.appId=c;this.removeStylesOnCompDestroy=
d;this.doc=e;this.ngZone=h;this.nonce=void 0===l?null:l;this.rendererByCompId=new Map;this.platformIsServer="server"===g;this.defaultRenderer=new qy(a,e,h,this.platformIsServer)};
ry.prototype.createRenderer=function(a,b){if(!a||!b)return this.defaultRenderer;this.platformIsServer&&3===b.encapsulation&&(b=Object.assign({},b,{encapsulation:0}));b=iUb(this,a,b);b instanceof jUb?(eUb(b.sharedStylesHost,b.styles),b.rendererUsageCount++,b.setAttribute(a,b.hostAttr,"")):b instanceof sy&&(eUb(b.sharedStylesHost,b.styles),b.rendererUsageCount++);return b};
var iUb=function(a,b,c){var d=a.rendererByCompId,e=d.get(c.id);if(!e){e=a.doc;var g=a.ngZone,h=a.eventManager,l=a.sharedStylesHost,q=a.removeStylesOnCompDestroy,v=a.platformIsServer;switch(c.encapsulation){case 0:e=new jUb(h,l,c,a.appId,q,e,g,v);break;case 3:return new kUb(h,l,b,c,e,g,a.nonce,v);default:e=new sy(h,l,c,q,e,g,v)}e.onDestroy=function(){return d.delete(c.id)};d.set(c.id,e)}return e};ry.prototype.ngOnDestroy=function(){this.rendererByCompId.clear()};
ry.\u0275fac=function(a){return new (a||ry)(t(oy),t(py),t(UQb),t(hUb),t(qh),t(vv),t(df),t(VQb))};ry.\u0275prov=yc({token:ry,factory:ry.\u0275fac});var qy=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};f=qy.prototype;f.destroy=function(){};f.createElement=function(a,b){return b?this.doc.createElementNS(gUb[b]||b,a):this.doc.createElement(a)};f.createComment=function(a){return this.doc.createComment(a)};
f.createText=function(a){return this.doc.createTextNode(a)};f.appendChild=function(a,b){("TEMPLATE"===a.tagName&&void 0!==a.content?a.content:a).appendChild(b)};f.insertBefore=function(a,b,c){a&&("TEMPLATE"===a.tagName&&void 0!==a.content?a.content:a).insertBefore(b,c)};f.removeChild=function(a,b){a&&a.removeChild(b)};f.selectRootElement=function(a,b){a="string"===typeof a?this.doc.querySelector(a):a;if(!a)throw new Cc(5104,!1);b||(a.textContent="");return a};f.parentNode=function(a){return a.parentNode};
f.nextSibling=function(a){return a.nextSibling};f.setAttribute=function(a,b,c,d){d?(b=d+":"+b,(d=gUb[d])?a.setAttributeNS(d,b,c):a.setAttribute(b,c)):a.setAttribute(b,c)};f.removeAttribute=function(a,b,c){if(c){var d=gUb[c];d?a.removeAttributeNS(d,b):a.removeAttribute(c+":"+b)}else a.removeAttribute(b)};f.addClass=function(a,b){a.classList.add(b)};f.removeClass=function(a,b){a.classList.remove(b)};f.setStyle=function(a,b,c,d){d&3?a.style.setProperty(b,c,d&1?"important":""):a.style[b]=c};
f.removeStyle=function(a,b,c){c&2?a.style.removeProperty(b):a.style[b]=""};f.setProperty=function(a,b,c){a[b]=c};f.setValue=function(a,b){a.nodeValue=b};f.listen=function(a,b,c){if("string"===typeof a&&(a=iTb(this.doc,a),!a))throw Error("cb`"+a+"`"+b);return this.eventManager.addEventListener(a,b,lUb(this,c))};
var lUb=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()}},kUb=function(a,b,c,d,e,g,h,l){qy.call(this,a,e,g,l);this.sharedStylesHost=b;this.hostEl=c;this.shadowRoot=c.attachShadow({mode:"open"});a=this.sharedStylesHost;b=this.shadowRoot;a.hostNodes.add(b);c=k(a.styleRef.keys());for(e=c.next();!e.done;e=c.next())dUb(a,b,e.value);d=Rma(d.id,d.styles);d=k(d);for(a=d.next();!a.done;a=d.next())a=
a.value,b=document.createElement("style"),h&&b.setAttribute("nonce",h),b.textContent=a,this.shadowRoot.appendChild(b)};T(kUb,qy);var ty=function(a,b){return b===a.hostEl?a.shadowRoot:b};f=kUb.prototype;f.appendChild=function(a,b){return qy.prototype.appendChild.call(this,ty(this,a),b)};f.insertBefore=function(a,b,c){return qy.prototype.insertBefore.call(this,ty(this,a),b,c)};f.removeChild=function(a,b){return qy.prototype.removeChild.call(this,ty(this,a),b)};
f.parentNode=function(a){return ty(this,qy.prototype.parentNode.call(this,ty(this,a)))};f.destroy=function(){this.sharedStylesHost.hostNodes.delete(this.shadowRoot)};var sy=function(a,b,c,d,e,g,h,l){qy.call(this,a,e,g,h);this.sharedStylesHost=b;this.removeStylesOnCompDestroy=d;this.rendererUsageCount=0;this.styles=l?Rma(l,c.styles):c.styles};T(sy,qy);
sy.prototype.destroy=function(){if(this.removeStylesOnCompDestroy){for(var a=this.sharedStylesHost,b=k(this.styles),c=b.next();!c.done;c=b.next())c=c.value,0>=cUb(a,c,-1)&&fUb(a,c);this.rendererUsageCount--;if(0===this.rendererUsageCount){var d;null==(d=this.onDestroy)||d.call(this)}}};var jUb=function(a,b,c,d,e,g,h,l){d=d+"-"+c.id;sy.call(this,a,b,c,e,g,h,l,d);this.contentAttr="_ngcontent-%COMP%".replace(Qma,d);this.hostAttr="_nghost-%COMP%".replace(Qma,d)};T(jUb,sy);
jUb.prototype.createElement=function(a,b){a=sy.prototype.createElement.call(this,a,b);sy.prototype.setAttribute.call(this,a,this.contentAttr,"");return a};var uy=function(a){this._doc=a};T(uy,$Tb);uy.prototype.supports=function(){return!0};uy.prototype.addEventListener=function(a,b,c){var d=this;a.addEventListener(b,c,!1);return function(){return d.removeEventListener(a,b,c)}};uy.prototype.removeEventListener=function(a,b,c){return a.removeEventListener(b,c)};uy.\u0275fac=function(a){return new (a||uy)(t(qh))};uy.\u0275prov=yc({token:uy,factory:uy.\u0275fac});var mUb=["alt","control","meta","shift"],nUb={"\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"},oUb={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},vy=function(a){this._doc=a};T(vy,$Tb);vy.prototype.supports=function(a){return null!=pUb(a)};
vy.prototype.addEventListener=function(a,b,c){var d=pUb(b),e=qUb(d.fullKey,c,this.manager._zone);return this.manager._zone.runOutsideAngular(function(){return VTb(a,d.domEventName,e)})};
var pUb=function(a){var b=a.toLowerCase().split(".");a=b.shift();if(0===b.length||"keydown"!==a&&"keyup"!==a)return null;var c=rUb(b.pop()),d="",e=b.indexOf("code");-1<e&&(b.splice(e,1),d="code.");mUb.forEach(function(g){var h=b.indexOf(g);-1<h&&(b.splice(h,1),d+=g+".")});d+=c;if(0!=b.length||0===c.length)return null;a={domEventName:a};a.fullKey=d;return a},sUb=function(a,b){var c=nUb[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");mUb.forEach(function(e){e!==c&&(0,oUb[e])(a)&&(d+=e+".")});d+=c;return d===b},qUb=function(a,b,c){return function(d){sUb(d,a)&&c.runGuarded(function(){return b(d)})}},rUb=function(a){switch(a){case "esc":return"escape";default:return a}};vy.\u0275fac=function(a){return new (a||vy)(t(qh))};vy.\u0275prov=yc({token:vy,factory:vy.\u0275fac});var xSb=Hja(RSb,"browser",[{provide:vv,useValue:"browser"},{provide:Cja,useValue:function(){var a=new my;fTb||(fTb=a)},multi:!0},{provide:qh,useFactory:function(){return Ifa=document},deps:[]}]),tUb=new ad(""),uUb=[{provide:pSb,useClass:YTb,deps:[]},{provide:oSb,useClass:Fw,deps:[df,Gw,pSb]},{provide:Fw,useClass:Fw,deps:[df,Gw,pSb]}],vUb=[{provide:Ija,useValue:"root"},{provide:Yd,useFactory:function(){return new Yd},deps:[]},{provide:ZTb,useClass:uy,multi:!0,deps:[qh,df,vv]},{provide:ZTb,useClass:vy,
multi:!0,deps:[qh]},ry,py,oy,{provide:xv,useExisting:ry},{provide:pTb,useClass:ny,deps:[]},[]],wy=function(){};wy.\u0275fac=function(a){return new (a||wy)(t(tUb,12))};wy.\u0275mod=Qc({type:wy});wy.\u0275inj=zc({providers:[].concat(cd(vUb),cd(uUb)),imports:[ex,Jw]});var xy=function(a){this._doc=a};xy.prototype.getTitle=function(){return this._doc.title};xy.prototype.setTitle=function(a){this._doc.title=a||""};xy.\u0275fac=function(a){return new (a||xy)(t(qh))};xy.\u0275prov=yc({token:xy,factory:function(a){var b=null;a?b=new a:b=new xy(t(qh));return b},providedIn:"root"});new ad("HammerGestureConfig");new ad("HammerLoader");new ov;var wUb=function(){},xUb=function(){};var yy=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),g=e.toLowerCase();c=c.slice(d+1).trim();yUb(b,e,g);b.headers.has(g)?b.headers.get(g).push(c):b.headers.set(g,[c])}})}:"undefined"!==typeof Headers&&a instanceof Headers?(this.headers=new Map,a.forEach(function(c,d){zUb(b,d,c)})):this.lazyInit=function(){b.headers=new Map;Object.entries(a).forEach(function(c){var d=
k(c);c=d.next().value;d=d.next().value;zUb(b,c,d)})}:this.headers=new Map};f=yy.prototype;f.has=function(a){this.init();return this.headers.has(a.toLowerCase())};f.get=function(a){this.init();return(a=this.headers.get(a.toLowerCase()))&&0<a.length?a[0]:null};f.keys=function(){this.init();return Array.from(this.normalizedNames.values())};f.getAll=function(a){this.init();return this.headers.get(a.toLowerCase())||null};f.append=function(a,b){return this.clone({name:a,value:b,op:"a"})};
f.set=function(a,b){return this.clone({name:a,value:b,op:"s"})};f.delete=function(a,b){return this.clone({name:a,value:b,op:"d"})};var yUb=function(a,b,c){a.normalizedNames.has(c)||a.normalizedNames.set(c,b)};yy.prototype.init=function(){var a=this;this.lazyInit&&(this.lazyInit instanceof yy?AUb(this,this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(b){return BUb(a,b)}),this.lazyUpdate=null))};
var AUb=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))})};yy.prototype.clone=function(a){var b=new yy;b.lazyInit=this.lazyInit&&this.lazyInit instanceof yy?this.lazyInit:this;b.lazyUpdate=(this.lazyUpdate||[]).concat([a]);return b};
var BUb=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;yUb(a,b.name,c);b=("a"===b.op?a.headers.get(c):void 0)||[];b.push.apply(b,cd(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(g){return-1===e.indexOf(g)}),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)}},zUb=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);yUb(a,b,d)};yy.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 CUb=function(){},Tma=/%(\d[a-f0-9])/gi,Uma={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"},zy=function(a){var b=this;a=void 0===a?{}:a;this.cloneFrom=this.updates=null;this.encoder=a.encoder||new CUb;if(a.fromString){if(a.fromObject)throw Error("db");this.map=Sma(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(Wma):[""+d];b.map.set(c,d)})):this.map=null};f=zy.prototype;
f.has=function(a){this.init();return this.map.has(a)};f.get=function(a){this.init();return(a=this.map.get(a))?a[0]:null};f.getAll=function(a){this.init();return this.map.get(a)||null};f.keys=function(){this.init();return Array.from(this.map.keys())};f.append=function(a,b){return this.clone({param:a,value:b,op:"a"})};f.set=function(a,b){return this.clone({param:a,value:b,op:"s"})};f.delete=function(a,b){return this.clone({param:a,value:b,op:"d"})};
f.toString=function(){var a=this;this.init();return this.keys().map(function(b){var c=Vma(b);return a.map.get(b).map(function(d){return c+"="+Vma(d)}).join("&")}).filter(function(b){return""!==b}).join("&")};f.clone=function(a){var b=new zy({encoder:this.encoder});b.cloneFrom=this.cloneFrom||this;b.updates=(this.updates||[]).concat(a);return b};
f.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 DUb=function(){this.map=new Map};f=DUb.prototype;f.set=function(a,b){this.map.set(a,b);return this};f.get=function(a){this.map.has(a)||this.map.set(a,a.defaultValue());return this.map.get(a)};f.delete=function(a){this.map.delete(a);return this};f.has=function(a){return this.map.has(a)};f.keys=function(){return this.map.keys()};var Ay=function(a,b,c,d){this.url=b;this.body=null;this.withCredentials=this.reportProgress=!1;this.responseType="json";this.method=a.toUpperCase();a:switch(this.method){case "DELETE":case "GET":case "HEAD":case "OPTIONS":case "JSONP":a=!1;break a;default:a=!0}if(a||d)this.body=void 0!==c?c:null,c=d;c&&(this.reportProgress=!!c.reportProgress,this.withCredentials=!!c.withCredentials,c.responseType&&(this.responseType=c.responseType),c.headers&&(this.headers=c.headers),c.context&&(this.context=c.context),
c.params&&(this.params=c.params));this.headers||(this.headers=new yy);this.context||(this.context=new DUb);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 zy,this.urlWithParams=b)},EUb=function(a){return null===a.body?null:Xma(a.body)||Yma(a.body)||Zma(a.body)||"undefined"!==typeof URLSearchParams&&a.body instanceof URLSearchParams||"string"===typeof a.body?a.body:a.body instanceof
zy?a.body.toString():"object"===typeof a.body||"boolean"===typeof a.body||Array.isArray(a.body)?JSON.stringify(a.body):a.body.toString()};
Ay.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,g=void 0!==a.withCredentials?a.withCredentials:this.withCredentials,h=void 0!==a.reportProgress?a.reportProgress:this.reportProgress,l=a.headers||this.headers,q=a.params||this.params,v,x=null!=(v=a.context)?v:this.context;void 0!==a.setHeaders&&(l=Object.keys(a.setHeaders).reduce(function(A,G){return A.set(G,a.setHeaders[G])},l));a.setParams&&
(q=Object.keys(a.setParams).reduce(function(A,G){return A.set(G,a.setParams[G])},q));return new Ay(b,c,e,{params:q,headers:l,context:x,reportProgress:h,responseType:d,withCredentials:g})};var By=function(a,b,c){b=void 0===b?200:b;c=void 0===c?"OK":c;this.headers=a.headers||new yy;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},FUb=function(a){a=void 0===a?{}:a;By.call(this,a);this.type=2};T(FUb,By);
FUb.prototype.clone=function(a){a=void 0===a?{}:a;return new FUb({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 Cy=function(a){a=void 0===a?{}:a;By.call(this,a);this.type=4;this.body=void 0!==a.body?a.body:null};T(Cy,By);
Cy.prototype.clone=function(a){a=void 0===a?{}:a;return new Cy({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 GUb=function(a){By.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};T(GUb,By);var Dy=function(a){this.handler=a};f=Dy.prototype;
f.request=function(a,b,c){var d=this;c=void 0===c?{}:c;if(a instanceof Ay)b=a;else{var e=void 0;e=c.headers instanceof yy?c.headers:new yy(c.headers);var g=void 0;c.params&&(g=c.params instanceof zy?c.params:new zy({fromObject:c.params}));b=new Ay(a,b,void 0!==c.body?c.body:null,{headers:e,context:c.context,params:g,reportProgress:c.reportProgress,responseType:c.responseType||"json",withCredentials:c.withCredentials})}e=(0,D.of)(b).pipe(ze(function(h){return d.handler.handle(h)},1));if(a instanceof
Ay||"events"===c.observe)return e;a=e.pipe(Ge(function(h){return h instanceof Cy}));switch(c.observe||"body"){case "body":switch(b.responseType){case "arraybuffer":return a.pipe(C(function(h){if(null!==h.body&&!(h.body instanceof ArrayBuffer))throw Error("eb");return h.body}));case "blob":return a.pipe(C(function(h){if(null!==h.body&&!(h.body instanceof Blob))throw Error("fb");return h.body}));case "text":return a.pipe(C(function(h){if(null!==h.body&&"string"!==typeof h.body)throw Error("gb");return h.body}));
default:return a.pipe(C(function(h){return h.body}))}case "response":return a;default:throw Error("hb`"+c.observe);}};f.delete=function(a,b){b=void 0===b?{}:b;return this.request("DELETE",a,b)};f.get=function(a,b){b=void 0===b?{}:b;return this.request("GET",a,b)};f.head=function(a,b){b=void 0===b?{}:b;return this.request("HEAD",a,b)};f.jsonp=function(a,b){return this.request("JSONP",a,{params:(new zy).append(b,"JSONP_CALLBACK"),observe:"body",responseType:"json"})};
f.options=function(a,b){b=void 0===b?{}:b;return this.request("OPTIONS",a,b)};f.patch=function(a,b,c){c=void 0===c?{}:c;return this.request("PATCH",a,$ma(c,b))};f.post=function(a,b,c){c=void 0===c?{}:c;return this.request("POST",a,$ma(c,b))};f.put=function(a,b,c){c=void 0===c?{}:c;return this.request("PUT",a,$ma(c,b))};Dy.\u0275fac=function(a){return new (a||Dy)(t(wUb))};Dy.\u0275prov=yc({token:Dy,factory:Dy.\u0275fac});var Ey=new ad(""),HUb=new ad(""),IUb=new ad(""),Fy=function(a,b){this.backend=a;this.injector=b;this.chain=null;this.pendingTasks=Jc(iw)};T(Fy,wUb);Fy.prototype.handle=function(a){var b=this;null===this.chain&&(this.chain=Array.from(new Set([].concat(cd(this.injector.get(HUb)),cd(this.injector.get(IUb,[]))))).reduceRight(function(d,e){return cna(d,e,b.injector)},ana));var c=this.pendingTasks.add();return this.chain(a,function(d){return b.backend.handle(d)}).pipe(Qe(function(){return b.pendingTasks.remove(c)}))};
Fy.\u0275fac=function(a){return new (a||Fy)(t(xUb),t(nv))};Fy.\u0275prov=yc({token:Fy,factory:Fy.\u0275fac});var JUb=/^\)\]\}',?\n/,Gy=function(a){this.xhrFactory=a};
Gy.prototype.handle=function(a){if("JSONP"===a.method)throw new Cc(-2800,!1);var b=this.xhrFactory;return(b.\u0275loadImpl?(0,D.from)(b.\u0275loadImpl()):(0,D.of)(null)).pipe($e(function(){return new D.Observable(function(c){var d=b.build();d.open(a.method,a.urlWithParams);a.withCredentials&&(d.withCredentials=!0);a.headers.forEach(function(M,Q){return d.setRequestHeader(M,Q.join(","))});a.headers.has("Accept")||d.setRequestHeader("Accept","application/json, text/plain, */*");if(!a.headers.has("Content-Type")){var e=
null===a.body||Zma(a.body)?null:Yma(a.body)?a.body.type||null:Xma(a.body)?null:"string"===typeof a.body?"text/plain":a.body instanceof zy?"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 g=EUb(a),h=null,l=function(){if(null!==h)return h;var M=d.statusText||"OK",Q=
new yy(d.getAllResponseHeaders()),Y=("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 FUb({headers:Q,status:d.status,statusText:M,url:Y})},q=function(){var M=l(),Q=M.headers,Y=M.status,W=M.statusText;M=M.url;var ia=null;204!==Y&&(ia="undefined"===typeof d.response?d.responseText:d.response);0===Y&&(Y=ia?200:0);var ja=200<=Y&&300>Y;if("json"===a.responseType&&"string"===typeof ia){var Aa=
ia;ia=ia.replace(JUb,"");try{ia=""!==ia?JSON.parse(ia):null}catch(Da){ia=Aa,ja&&(ja=!1,ia={error:Da,text:ia})}}ja?(c.next(new Cy({body:ia,headers:Q,status:Y,statusText:W,url:M||void 0})),c.complete()):c.error(new GUb({error:ia,headers:Q,status:Y,statusText:W,url:M||void 0}))},v=function(M){var Q=l().url;M=new GUb({error:M,status:d.status||0,statusText:d.statusText||"Unknown Error",url:Q||void 0});c.error(M)},x=!1,A=function(M){x||(c.next(l()),x=!0);var Q={type:3,loaded:M.loaded};M.lengthComputable&&
(Q.total=M.total);"text"===a.responseType&&d.responseText&&(Q.partialText=d.responseText);c.next(Q)},G=function(M){var Q={type:1,loaded:M.loaded};M.lengthComputable&&(Q.total=M.total);c.next(Q)};d.addEventListener("load",q);d.addEventListener("error",v);d.addEventListener("timeout",v);d.addEventListener("abort",v);a.reportProgress&&(d.addEventListener("progress",A),null!==g&&d.upload&&d.upload.addEventListener("progress",G));d.send(g);c.next({type:0});return function(){d.removeEventListener("error",
v);d.removeEventListener("abort",v);d.removeEventListener("load",q);d.removeEventListener("timeout",v);a.reportProgress&&(d.removeEventListener("progress",A),null!==g&&d.upload&&d.upload.removeEventListener("progress",G));d.readyState!==d.DONE&&d.abort()}})}))};Gy.\u0275fac=function(a){return new (a||Gy)(t(pTb))};Gy.\u0275prov=yc({token:Gy,factory:Gy.\u0275fac});var dna=new ad("XSRF_ENABLED"),KUb=new ad("XSRF_COOKIE_NAME",{providedIn:"root",factory:function(){return"XSRF-TOKEN"}}),fna=new ad("XSRF_HEADER_NAME",{providedIn:"root",factory:function(){return"X-XSRF-TOKEN"}}),ena=function(){},Hy=function(a,b,c){this.doc=a;this.platform=b;this.cookieName=c;this.lastCookieString="";this.lastToken=null};
Hy.prototype.getToken=function(){if("server"===this.platform)return null;var a=this.doc.cookie||"";if(a!==this.lastCookieString){a:{var b=this.cookieName;b=encodeURIComponent(b);for(var c=k(a.split(";")),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.indexOf("=");e=k(-1==e?[d,""]:[d.slice(0,e),d.slice(e+1)]);d=e.next().value;e=e.next().value;if(d.trim()===b){b=decodeURIComponent(e);break a}}b=null}this.lastToken=b;this.lastCookieString=a}return this.lastToken};
Hy.\u0275fac=function(a){return new (a||Hy)(t(qh),t(vv),t(KUb))};Hy.\u0275prov=yc({token:Hy,factory:Hy.\u0275fac});var LUb=new ad("LEGACY_INTERCEPTOR_FN");var MUb={cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"},NUb=MUb.cookieName,OUb=MUb.headerName,PUb=[];void 0!==NUb&&PUb.push({provide:KUb,useValue:NUb});void 0!==OUb&&PUb.push({provide:fna,useValue:OUb});var Iy=function(){};Iy.\u0275fac=function(a){return new (a||Iy)};Iy.\u0275mod=Qc({type:Iy});
Iy.\u0275inj=zc({providers:[function(){for(var a=[Dy,Gy,Fy,{provide:wUb,useExisting:Fy},{provide:xUb,useExisting:Gy},{provide:HUb,useValue:gna,multi:!0},{provide:dna,useValue:!0},{provide:ena,useClass:Hy}],b=k(Zc.apply(0,arguments)),c=b.next();!c.done;c=b.next())a.push.apply(a,cd(c.value.\u0275providers));return{"\u0275providers":a}}({"\u0275kind":1,"\u0275providers":[{provide:LUb,useFactory:function(){var a=null;return function(b,c){if(null===a){var d;a=(null!=(d=Jc(Ey,{optional:!0}))?d:[]).reduceRight(bna,
ana)}var e=Jc(iw),g=e.add();return a(b,c).pipe(Qe(function(){return e.remove(g)}))}}},{provide:HUb,useExisting:LUb,multi:!0}]})]});new ad("");var Jy=function(){};Jy.\u0275fac=function(a){return new (a||Jy)};Jy.\u0275prov=yc({token:Jy,factory:function(a){return a?new (a||Jy):t(Ky)},providedIn:"root"});var Ky=function(a){this._doc=a};T(Ky,Jy);
Ky.prototype.sanitize=function(a,b){if(null==b)return null;switch(a){case 0:return b;case 1:return Pd(b,"HTML")?Nd(b):xga(this._doc,String(b)).toString();case 2:return Pd(b,"Style")?Nd(b):b;case 3:if(Pd(b,"Script"))return Nd(b);throw new Cc(5200,!1);case 4:return Pd(b,"URL")?Nd(b):kga(String(b));case 5:if(Pd(b,"ResourceURL"))return Nd(b);throw new Cc(5201,!1);default:throw new Cc(5202,!1);}};Ky.prototype.bypassSecurityTrustHtml=function(a){return new ZQb(a)};Ky.prototype.bypassSecurityTrustUrl=function(a){return new $Qb(a)};
Ky.prototype.bypassSecurityTrustResourceUrl=function(a){return new aRb(a)};Ky.\u0275fac=function(a){return new (a||Ky)(t(qh))};Ky.\u0275prov=yc({token:Ky,factory:function(a){a?a=new a:(a=t(sv),a=new Ky(a.get(qh)));return a},providedIn:"root"});new Av;(function(){return""}).toString().indexOf("`");var RUb=function(a){var b=No("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||ba.$googDebugFname||b}catch(h){e="Not available",c=!0}b=QUb(a);if(!(!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name)){c=a.message;
if(null==c){if(a.constructor&&a.constructor instanceof Function){if(a.constructor.name)c=a.constructor.name;else if(c=a.constructor,Ly[c])c=Ly[c];else{c=String(c);if(!Ly[c]){var g=/function\s+([^\(]+)/m.exec(c);Ly[c]=g?g[1]:"[Anonymous]"}c=Ly[c]}c='Unknown Error of type "'+c+'"'}else c="Unknown Error of unknown type";"function"===typeof a.toString&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())}return{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"}}a.stack=
b;return{message:a.message,name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:a.stack}},QUb=function(a,b){b||(b={});b[SUb(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[SUb(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=QUb(a,b));return c},SUb=function(a){var b="";"function"===typeof a.toString&&(b=""+a);return b+a.stack},Ly={};var TUb;try{new URL("s://g"),TUb=!0}catch(a){TUb=!1}var hna=TUb;var jna=function(a){this.isValid=a},kna=[Pg("data"),Pg("http"),Pg("https"),Pg("mailto"),Pg("ftp"),new jna(function(a){return/^[^:]*([/?#]|$)/.test(a)})];var My=function(a){this.decorated=new Ky(a)};T(My,Jy);My.prototype.sanitize=function(a,b){if(null==b)return null;if(b instanceof hv||b instanceof ec||b instanceof Kg){if(UUb(b,a))return this.decorated.sanitize(a,VUb(this,b));throw Error("ib`"+jRb[a]+"`"+b);}return this.decorated.sanitize(a,b)};My.prototype.bypassSecurityTrustHtml=function(){throw Error("jb");};My.prototype.bypassSecurityTrustUrl=function(){throw Error("jb");};
My.prototype.bypassSecurityTrustResourceUrl=function(){throw Error("jb");};var VUb=function(a,b){if(null!=b){if(b instanceof Kg)return a.decorated.bypassSecurityTrustHtml(String(b));if(b instanceof ec)return a.decorated.bypassSecurityTrustUrl(fc(b));if(b instanceof hv)return a.decorated.bypassSecurityTrustResourceUrl(String(b))}return null},UUb=function(a,b){switch(b){case 1:return a instanceof Kg;case 4:return a instanceof ec||a instanceof hv;case 5:return a instanceof hv;case 3:return!1;default:return!1}};
My.\u0275fac=function(a){return new (a||My)(t(qh))};My.\u0275prov=yc({token:My,factory:My.\u0275fac});var WUb=[{provide:lRb,useExisting:Jy},{provide:Jy,useClass:My}],Ny=function(){};Ny.\u0275fac=function(a){return new (a||Ny)};Ny.\u0275mod=Qc({type:Ny});Ny.\u0275inj=zc({providers:WUb,imports:[wy]});var ona=new Set(["true","1"]),pna=new Set(["false","0"]);var XUb=function(){},YUb=function(){};var $g=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)};f=$g.prototype;f._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};f.onStart=function(a){this._originalOnStartFns.push(a);this._onStartFns.push(a)};
f.onDone=function(a){this._originalOnDoneFns.push(a);this._onDoneFns.push(a)};f.onDestroy=function(a){this._onDestroyFns.push(a)};f.hasStarted=function(){return this._started};f.init=function(){};f.play=function(){this.hasStarted()||(this._onStart(),ZUb(this));this._started=!0};var ZUb=function(a){queueMicrotask(function(){return a._onFinish()})};f=$g.prototype;f._onStart=function(){this._onStartFns.forEach(function(a){return a()});this._onStartFns=[]};f.pause=function(){};f.restart=function(){};
f.finish=function(){this._onFinish()};f.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};f.reset=function(){this._finished=this._started=!1;this._onStartFns=this._originalOnStartFns;this._onDoneFns=this._originalOnDoneFns};f.setPosition=function(a){this._position=this.totalTime?a*this.totalTime:1};
f.getPosition=function(){return this.totalTime?this._position/this.totalTime:1};f.triggerCallback=function(a){a="start"==a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var rna=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,g=this.players.length;0==g?queueMicrotask(function(){return b._onFinish()}):this.players.forEach(function(h){h.onDone(function(){++c==g&&b._onFinish()});h.onDestroy(function(){++d==g&&b._onDestroy()});h.onStart(function(){++e==g&&b._onStart()})});this.totalTime=this.players.reduce(function(h,
l){return Math.max(h,l.totalTime)},0)};f=rna.prototype;f._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};f.init=function(){this.players.forEach(function(a){return a.init()})};f.onStart=function(a){this._onStartFns.push(a)};f._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(a){return a()}),this._onStartFns=[])};f.onDone=function(a){this._onDoneFns.push(a)};f.onDestroy=function(a){this._onDestroyFns.push(a)};
f.hasStarted=function(){return this._started};f.play=function(){this.parentPlayer||this.init();this._onStart();this.players.forEach(function(a){return a.play()})};f.pause=function(){this.players.forEach(function(a){return a.pause()})};f.restart=function(){this.players.forEach(function(a){return a.restart()})};f.finish=function(){this._onFinish();this.players.forEach(function(a){return a.finish()})};f.destroy=function(){this._onDestroy()};
f._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=[])};f.reset=function(){this.players.forEach(function(a){return a.reset()});this._started=this._finished=this._destroyed=!1};f.setPosition=function(a){var b=a*this.totalTime;this.players.forEach(function(c){c.setPosition(c.totalTime?Math.min(1,b/c.totalTime):1)})};
f.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};f.beforeDestroy=function(){this.players.forEach(function(a){a.beforeDestroy&&a.beforeDestroy()})};f.triggerCallback=function(a){a="start"==a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var zna="undefined"===typeof document?null:document.documentElement;var Jna=RegExp("{{\\s*(.+?)\\s*}}","g"),Lna=/-+([a-z0-9])/g;var Nna=RegExp("s*:selfs*,?","g"),$Ub=function(a){this._driver=a};f=$Ub.prototype;f.build=function(a,b){b=new aVb(b);this._resetContextStyleTimingState(b);return jh(this,hh(a),b)};f._resetContextStyleTimingState=function(a){a.currentQuerySelector="";a.collectedStyles=new Map;a.collectedStyles.set("",new Map);a.currentTime=0};
f.visitTrigger=function(a,b){var c=this,d=b.queryCount=0,e=b.depCount=0,g=[],h=[];"@"==a.name.charAt(0)&&b.errors.push(new Cc(3006,!1));a.definitions.forEach(function(l){c._resetContextStyleTimingState(b);if(0==l.type){var q=l.name;q.toString().split(/\s*,\s*/).forEach(function(v){l.name=v;g.push(c.visitState(l,b))});l.name=q}else 1==l.type?(q=c.visitTransition(l,b),d+=q.queryCount,e+=q.depCount,h.push(q)):b.errors.push(new Cc(3007,!1))});return{type:7,name:a.name,states:g,transitions:h,queryCount:d,
depCount:e,options:null}};f.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,g=d||{};c.styles.forEach(function(h){h instanceof Map&&h.forEach(function(l){Hna(l).forEach(function(q){g.hasOwnProperty(q)||e.add(q)})})});e.size&&(Kna(e.values()),b.errors.push(new Cc(3008,!1)))}return{type:0,name:a.name,style:c,options:d?{params:d}:null}};
f.visitTransition=function(a,b){b.queryCount=0;b.depCount=0;var c=jh(this,hh(a.animation),b);return{type:1,matchers:nna(a.expr,b.errors),animation:c,queryCount:b.queryCount,depCount:b.depCount,options:kh(a.options)}};f.visitSequence=function(a,b){var c=this;return{type:2,steps:a.steps.map(function(d){return jh(c,d,b)}),options:kh(a.options)}};
f.visitGroup=function(a,b){var c=this,d=b.currentTime,e=0,g=a.steps.map(function(h){b.currentTime=d;h=jh(c,h,b);e=Math.max(e,b.currentTime);return h});b.currentTime=e;return{type:3,steps:g,options:kh(a.options)}};
f.visitAnimate=function(a,b){var c=Qna(a.timings,b.errors);b.currentAnimateTimings=c;var d=a.styles?a.styles:Vg({});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=Vg(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}};f.visitStyle=function(a,b){a=this._makeStyleAst(a,b);this._validateStyleAst(a,b);return a};
f._makeStyleAst=function(a,b){var c=[],d=Array.isArray(a.styles)?a.styles:[a.styles];d=k(d);for(var e=d.next();!e.done;e=d.next())e=e.value,"string"===typeof e?"*"===e?c.push(e):b.errors.push(new Cc(3002,!1)):c.push(Fna(e));var g=!1,h=null;c.forEach(function(l){if(l instanceof Map&&(l.has("easing")&&(h=l.get("easing"),l.delete("easing")),!g)){l=k(l.values());for(var q=l.next();!q.done;q=l.next())if(0<=q.value.toString().indexOf("{{")){g=!0;break}}});return{type:6,styles:c,easing:h,offset:a.offset,
containsDynamicStyles:g,options:null}};f._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(g){"string"!==typeof g&&g.forEach(function(h,l){var q=b.collectedStyles.get(b.currentQuerySelector),v=q.get(l),x=!0;v&&(e!=d&&e>=v.startTime&&d<=v.endTime&&(b.errors.push(new Cc(3010,!1)),x=!1),e=v.startTime);x&&q.set(l,{startTime:e,endTime:d});b.options&&Ina(h,b.options,b.errors)})})};
f.visitKeyframes=function(a,b){var c=this,d={type:5,styles:[],options:null};if(!b.currentAnimateTimings)return b.errors.push(new Cc(3011,!1)),d;var e=0,g=[],h=!1,l=!1,q=0,v=a.steps.map(function(Y){Y=c._makeStyleAst(Y,b);var W=null!=Y.offset?Y.offset:Pna(Y.styles),ia=0;null!=W&&(e++,ia=Y.offset=W);l=l||0>ia||1<ia;h=h||ia<q;q=ia;g.push(ia);return Y});l&&b.errors.push(new Cc(3012,!1));h&&b.errors.push(new Cc(3200,!1));a=a.steps.length;var x=0;0<e&&e<a?b.errors.push(new Cc(3202,!1)):0==e&&(x=1/(a-1));
var A=a-1,G=b.currentTime,M=b.currentAnimateTimings,Q=M.duration;v.forEach(function(Y,W){W=0<x?W==A?1:x*W:g[W];var ia=W*Q;b.currentTime=G+M.delay+ia;M.duration=ia;c._validateStyleAst(Y,b);Y.offset=W;d.styles.push(Y)});return d};f.visitReference=function(a,b){return{type:8,animation:jh(this,hh(a.animation),b),options:kh(a.options)}};f.visitAnimateChild=function(a,b){b.depCount++;return{type:9,options:kh(a.options)}};
f.visitAnimateRef=function(a,b){return{type:10,animation:this.visitReference(a.animation,b),options:kh(a.options)}};
f.visitQuery=function(a,b){var c=b.currentQuerySelector,d=a.options||{};b.queryCount++;b.currentQuery=a;var e=k(Ona(a.selector)),g=e.next().value;e=e.next().value;b.currentQuerySelector=c.length?c+" "+g:g;bh(b.collectedStyles,b.currentQuerySelector,new Map);var h=jh(this,hh(a.animation),b);b.currentQuery=null;b.currentQuerySelector=c;return{type:11,selector:g,limit:d.limit||0,optional:!!d.optional,includeSelf:e,animation:h,originalSelector:a.selector,options:kh(a.options)}};
f.visitStagger=function(a,b){b.currentQuery||b.errors.push(new Cc(3013,!1));var c="full"===a.timings?{duration:0,delay:0,easing:"full"}:Ena(a.timings,b.errors,!0);return{type:12,animation:jh(this,hh(a.animation),b),timings:c,options:null}};var aVb=function(a){this.errors=a;this.depCount=this.queryCount=0;this.currentAnimateTimings=this.currentQuerySelector=this.currentQuery=null;this.currentTime=0;this.collectedStyles=new Map;this.options=null};var Oy=function(){this._map=new Map};Oy.prototype.get=function(a){return this._map.get(a)||[]};Oy.prototype.append=function(a,b){var c=this._map.get(a);c||this._map.set(a,c=[]);c.push.apply(c,cd(b))};Oy.prototype.has=function(a){return this._map.has(a)};Oy.prototype.clear=function(){this._map.clear()};var bVb=RegExp(":enter","g"),cVb=RegExp(":leave","g"),Sna=function(){};f=Sna.prototype;
f.buildKeyframes=function(a,b,c,d,e,g,h,l,q,v){v=void 0===v?[]:v;q=q||new Oy;a=new Py(a,b,q,d,e,v,[]);a.options=l;d=l.delay?ch(l.delay):0;a.currentTimeline.delayNextStep(d);dVb(a.currentTimeline,[g],null,a.errors,l);jh(this,c,a);c=a.timelines.filter(function(A){return A.containsAnimation()});if(c.length&&h.size){for(g=c.length-1;0<=g;g--)if(e=c[g],e.element===b){var x=e;break}x&&x._currentEmptyStepKeyframe===x._currentKeyframe&&dVb(x,[h],null,a.errors,l)}return c.length?c.map(function(A){return A.buildKeyframes()}):
[Rna(b,[],[],[],0,d,"",!1)]};f.visitTrigger=function(){};f.visitState=function(){};f.visitTransition=function(){};f.visitAnimateChild=function(a,b){var c=b.subInstructions.get(b.element);if(c){var d=Qy(b,a.options),e=b.currentTimeline.currentTime;c=this._visitSubInstructions(c,d,d.options);e!=c&&Ry(b,c)}b.previousNode=a};
f.visitAnimateRef=function(a,b){var c=Qy(b,a.options);Ry(c);this._applyAnimationRefDelays([a.options,a.animation.options],b,c);this.visitReference(a.animation,c);Ry(b,c.currentTimeline.currentTime);b.previousNode=a};f._applyAnimationRefDelays=function(a,b,c){a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,g=null==(e=d)?void 0:e.delay;if(g){var h=e=void 0;d="number"===typeof g?g:ch(ih(g,null!=(h=null==(e=d)?void 0:e.params)?h:{},b.errors));c.delayNextStep(d)}}};
f._visitSubInstructions=function(a,b,c){var d=b.currentTimeline.currentTime,e=null!=c.duration?ch(c.duration):null,g=null!=c.delay?ch(c.delay):null;0!==e&&a.forEach(function(h){var l={duration:null!=e?e:h.duration,delay:b.currentTimeline.currentTime+(null!=g?g:0)+h.delay,easing:""};h=new eVb(b._driver,h.element,h.keyframes,h.preStyleProps,h.postStyleProps,l,h.stretchStartingKeyframe);b.timelines.push(h);d=Math.max(d,l.duration+l.delay)});return d};
f.visitReference=function(a,b){fVb(b,a.options,!0);jh(this,a.animation,b);b.previousNode=a};f.visitSequence=function(a,b){var c=this,d=b.subContextCount,e=b,g=a.options;g&&(g.params||g.delay)&&(e=Qy(b,g),Ry(e),null!=g.delay&&(6==e.previousNode.type&&(Sy(e.currentTimeline),e.previousNode=gVb),e.delayNextStep(ch(g.delay))));a.steps.length&&(a.steps.forEach(function(h){return jh(c,h,e)}),Ty(e.currentTimeline),e.subContextCount>d&&Ry(e));b.previousNode=a};
f.visitGroup=function(a,b){var c=this,d=[],e=b.currentTimeline.currentTime,g=a.options&&a.options.delay?ch(a.options.delay):0;a.steps.forEach(function(h){var l=Qy(b,a.options);g&&l.delayNextStep(g);jh(c,h,l);e=Math.max(e,l.currentTimeline.currentTime);d.push(l.currentTimeline)});d.forEach(function(h){return hVb(b.currentTimeline,h)});Ry(b,e);b.previousNode=a};
f._visitTiming=function(a,b){return a.dynamic?(a=a.strValue,a=b.params?ih(a,b.params,b.errors):a,Ena(a,b.errors)):{duration:a.duration,delay:a.delay,easing:a.easing}};
f.visitAnimate=function(a,b){var c=b.currentAnimateTimings=this._visitTiming(a.timings,b),d=b.currentTimeline;c.delay&&(iVb(b.currentTimeline,b.currentTimeline.duration+c.delay),Sy(d));var e=a.style;5==e.type?this.visitKeyframes(e,b):(iVb(b.currentTimeline,b.currentTimeline.duration+c.duration),this.visitStyle(e,b),Ty(d));b.currentAnimateTimings=null;b.previousNode=a};
f.visitStyle=function(a,b){var c=b.currentTimeline,d=b.currentAnimateTimings;!d&&0<c._currentKeyframe.size&&(c.duration+=1,c._loadKeyframe());d=d&&d.easing||a.easing;if(a.isEmptyStep){d&&c._previousKeyframe.set("easing",d);d=k(c._globalTimelineStyles);for(var e=d.next();!e.done;e=d.next()){var g=k(e.value);e=g.next().value;g=g.next().value;c._backFill.set(e,g||"*");c._currentKeyframe.set(e,"*")}c._currentEmptyStepKeyframe=c._currentKeyframe}else dVb(c,a.styles,d,b.errors,b.options);b.previousNode=
a};f.visitKeyframes=function(a,b){var c=b.currentAnimateTimings,d=b.currentTimeline.duration,e=c.duration,g=Qy(b).currentTimeline;g.easing=c.easing;a.styles.forEach(function(h){iVb(g,(h.offset||0)*e);dVb(g,h.styles,h.easing,b.errors,b.options);Ty(g)});hVb(b.currentTimeline,g);Ry(b,d+e);b.previousNode=a};
f.visitQuery=function(a,b){var c=this,d=b.currentTimeline.currentTime,e=a.options||{},g=e.delay?ch(e.delay):0;g&&(6===b.previousNode.type||0==d&&0<b.currentTimeline._currentKeyframe.size)&&(Sy(b.currentTimeline),b.previousNode=gVb);var h=d;d=jVb(b,a.selector,a.limit,a.includeSelf,e.optional?!0:!1,b.errors);b.currentQueryTotal=d.length;var l=null;d.forEach(function(q,v){b.currentQueryIndex=v;v=Qy(b,a.options,q);g&&v.delayNextStep(g);q===b.element&&(l=v.currentTimeline);jh(c,a.animation,v);Ty(v.currentTimeline);
h=Math.max(h,v.currentTimeline.currentTime)});b.currentQueryIndex=0;b.currentQueryTotal=0;Ry(b,h);l&&(hVb(b.currentTimeline,l),Sy(b.currentTimeline));b.previousNode=a};
f.visitStagger=function(a,b){var c=b.parentContext,d=b.currentTimeline,e=a.timings,g=Math.abs(e.duration),h=g*(b.currentQueryTotal-1);g*=b.currentQueryIndex;switch(0>e.duration?"reverse":e.easing){case "reverse":g=h-g;break;case "full":g=c.currentStaggerTime}e=b.currentTimeline;g&&e.delayNextStep(g);e=e.currentTime;jh(this,a.animation,b);b.previousNode=a;c.currentStaggerTime=d.currentTime-e+(d.startTime-c.currentTimeline.startTime)};
var gVb={},Py=function(a,b,c,d,e,g,h,l){this._driver=a;this.element=b;this.subInstructions=c;this._enterClassName=d;this._leaveClassName=e;this.errors=g;this.timelines=h;this.currentAnimateTimings=this.parentContext=null;this.previousNode=gVb;this.subContextCount=0;this.options={};this.currentStaggerTime=this.currentQueryTotal=this.currentQueryIndex=0;this.currentTimeline=l||new Uy(this._driver,b,0);h.push(this.currentTimeline)},fVb=function(a,b,c){if(b){var d=a.options;null!=b.duration&&(d.duration=
ch(b.duration));null!=b.delay&&(d.delay=ch(b.delay));var e=b.params;if(e){var g=d.params;g||(g=a.options.params={});Object.keys(e).forEach(function(h){c&&g.hasOwnProperty(h)||(g[h]=ih(e[h],g,a.errors))})}}};Py.prototype._copyOptions=function(){var a={};if(this.options){var b=this.options.params;if(b){var c=a.params={};Object.keys(b).forEach(function(d){c[d]=b[d]})}}return a};
var Qy=function(a,b,c){b=void 0===b?null:b;c=c||a.element;c=new Py(a._driver,c,a.subInstructions,a._enterClassName,a._leaveClassName,a.errors,a.timelines,a.currentTimeline.fork(c,0));c.previousNode=a.previousNode;c.currentAnimateTimings=a.currentAnimateTimings;c.options=a._copyOptions();fVb(c,b);c.currentQueryIndex=a.currentQueryIndex;c.currentQueryTotal=a.currentQueryTotal;c.parentContext=a;a.subContextCount++;return c},Ry=function(a,b){a.previousNode=gVb;a.currentTimeline=a.currentTimeline.fork(a.element,
b);a.timelines.push(a.currentTimeline)};Py.prototype.delayNextStep=function(a){0<a&&this.currentTimeline.delayNextStep(a)};var jVb=function(a,b,c,d,e,g){var h=[];d&&h.push(a.element);0<b.length&&(b=b.replace(bVb,"."+a._enterClassName),b=b.replace(cVb,"."+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,cd(a)));e||0!=h.length||g.push(new Cc(3014,!1));return h};
sh.Object.defineProperties(Py.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});
var Uy=function(a,b,c,d){this._driver=a;this.element=b;this.startTime=c;this._elementTimelineStylesLookup=d;this.duration=0;this.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()};Uy.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return 0<this._currentKeyframe.size;default:return!0}};Uy.prototype.delayNextStep=function(a){var b=1===this._keyframes.size&&this._pendingStyles.size;this.duration||b?(iVb(this,this.currentTime+a),b&&Sy(this)):this.startTime+=a};
Uy.prototype.fork=function(a,b){Ty(this);return new Uy(this._driver,a,b||this.currentTime,this._elementTimelineStylesLookup)};Uy.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe);this._currentKeyframe=this._keyframes.get(this.duration);this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))};var iVb=function(a,b){Ty(a);a.duration=b;a._loadKeyframe()};
Uy.prototype._updateStyle=function(a,b){this._localTimelineStyles.set(a,b);this._globalTimelineStyles.set(a,b);this._styleSummary.set(a,{time:this.currentTime,value:b})};
var dVb=function(a,b,c,d,e){c&&a._previousKeyframe.set("easing",c);c=e&&e.params||{};b=Vna(b,a._globalTimelineStyles);b=k(b);for(e=b.next();!e.done;e=b.next()){var g=k(e.value);e=g.next().value;g=g.next().value;g=ih(g,c,d);a._pendingStyles.set(e,g);if(!a._localTimelineStyles.has(e)){var h=void 0;a._backFill.set(e,null!=(h=a._globalTimelineStyles.get(e))?h:"*")}a._updateStyle(e,g)}},Ty=function(a){0!=a._pendingStyles.size&&(a._pendingStyles.forEach(function(b,c){a._currentKeyframe.set(c,b)}),a._pendingStyles.clear(),
a._localTimelineStyles.forEach(function(b,c){a._currentKeyframe.has(c)||a._currentKeyframe.set(c,b)}))},Sy=function(a){for(var b=k(a._localTimelineStyles),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a._pendingStyles.set(c,d);a._updateStyle(c,d)}},hVb=function(a,b){b._styleSummary.forEach(function(c,d){var e=a._styleSummary.get(d);(!e||c.time>e.time)&&a._updateStyle(d,c.value)})};
Uy.prototype.buildKeyframes=function(){var a=this;Ty(this);var b=new Set,c=new Set,d=1===this._keyframes.size&&0===this.duration,e=[];this._keyframes.forEach(function(v,x){v=eh(v,new Map,a._backFill);v.forEach(function(A,G){"!"===A?b.add(G):"*"===A&&c.add(G)});d||v.set("offset",x/a.duration);e.push(v)});var g=b.size?Kna(b.values()):[],h=c.size?Kna(c.values()):[];if(d){var l=e[0],q=new Map(l);l.set("offset",0);q.set("offset",1);e=[l,q]}return Rna(this.element,e,g,h,this.duration,this.startTime,this.easing,
!1)};sh.Object.defineProperties(Uy.prototype,{currentTime:{configurable:!0,enumerable:!0,get:function(){return this.startTime+this.duration}},properties:{configurable:!0,enumerable:!0,get:function(){var a=[],b;for(b in this._currentKeyframe)a.push(b);return a}}});var eVb=function(a,b,c,d,e,g,h){h=void 0===h?!1:h;Uy.call(this,a,b,g.delay);this.keyframes=c;this.preStyleProps=d;this.postStyleProps=e;this._stretchStartingKeyframe=h;this.timings={duration:g.duration,delay:g.delay,easing:g.easing}};
T(eVb,Uy);eVb.prototype.containsAnimation=function(){return 1<this.keyframes.length};
eVb.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 g=c/e,h=eh(a[0]);h.set("offset",0);b.push(h);h=eh(a[0]);h.set("offset",Una(g));b.push(h);g=a.length-1;for(h=1;h<=g;h++){var l=eh(a[h]),q=l.get("offset");l.set("offset",Una((c+q*d)/e));b.push(l)}d=e;c=0;e="";a=b}return Rna(this.element,a,this.preStyleProps,this.postStyleProps,d,c,e,!0)};var kVb=function(){};var lVb=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(" ")),mVb=function(){};T(mVb,kVb);
var tna=function(a,b,c){var d="",e=b.toString().trim();lVb.has(a)&&0!==b&&"0"!==b&&("number"===typeof b?d="px":(a=b.match(/^[+-]?[\d\.]+([a-z]*)$/))&&0==a[1].length&&c.push(new Cc(3005,!1)));return e+d};var Vy=function(){};f=Vy.prototype;f.containsElement=function(a,b){return Bna(a,b)};f.getParentElement=function(a){return Ana(a)};f.query=function(a,b,c){return Cna(a,b,c)};f.computeStyle=function(a,b,c){return c||""};f.animate=function(a,b,c,d){return new $g(c,d)};Vy.\u0275fac=function(a){return new (a||Vy)};Vy.\u0275prov=yc({token:Vy,factory:Vy.\u0275fac});var nVb=function(){};var oVb={},lh=function(a,b,c){this._triggerName=a;this.ast=b;this._stateStyles=c};lh.prototype.match=function(a,b,c,d){return Xna(this.ast.matchers,a,b,c,d)};lh.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};
lh.prototype.build=function(a,b,c,d,e,g,h,l,q,v){var x=[],A=this.ast.options&&this.ast.options.params||oVb;h=this.buildStyles(c,h&&h.params||oVb,x);var G=l&&l.params||oVb;l=this.buildStyles(d,G,x);var M=new Set,Q=new Map,Y=new Map,W="void"===d,ia;A={params:Yna(G,A),delay:null==(ia=this.ast.options)?void 0:ia.delay};a=v?[]:Tna(a,b,this.ast.animation,e,g,h,l,A,q,x);var ja=0;a.forEach(function(Aa){ja=Math.max(Aa.duration+Aa.delay,ja)});if(x.length)return Wna(b,this._triggerName,c,d,W,h,l,[],[],Q,Y,ja,
x);a.forEach(function(Aa){var Da=Aa.element,Oa=bh(Q,Da,new Set);Aa.preStyleProps.forEach(function(Wa){return Oa.add(Wa)});var Ta=bh(Y,Da,new Set);Aa.postStyleProps.forEach(function(Wa){return Ta.add(Wa)});Da!==b&&M.add(Da)});x=Kna(M.values());return Wna(b,this._triggerName,c,d,W,h,l,a,x,Q,Y,ja)};var pVb=function(a,b){this.styles=a;this.defaultParams=b};
pVb.prototype.buildStyles=function(a,b){var c=new Map,d=dh(this.defaultParams);Object.keys(a).forEach(function(e){var g=a[e];null!==g&&(d[e]=g)});this.styles.styles.forEach(function(e){"string"!==typeof e&&e.forEach(function(g,h){g&&(g=ih(g,d,b));var l=sna(h);g=tna(l,g,b);c.set(h,g)})});return c};var qVb=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 pVb(e.style,e.options&&e.options.params||{}))});$na(this.states,"true","1");$na(this.states,"false","0");b.transitions.forEach(function(e){d.transitionFactories.push(new lh(a,e,d.states))});this.fallbackTransition=Zna(a,this.states)},rVb=function(a,b,c,d,e){return a.transitionFactories.find(function(g){return g.match(b,c,
d,e)})||null};var sVb=new Oy,tVb=function(a,b,c){this.bodyNode=a;this._driver=b;this._normalizer=c;this._animations=new Map;this._playersById=new Map;this.players=[]};f=tVb.prototype;f.register=function(a,b){var c=[];b=(new $Ub(this._driver)).build(b,c,[]);if(c.length)throw new Cc(3503,!1);this._animations.set(a,b)};f._buildPlayer=function(a,b,c){var d=a.element;b=una(a.keyframes,b,c);return this._driver.animate(d,b,a.duration,a.delay,a.easing,[],!0)};
f.create=function(a,b,c){var d=this;c=void 0===c?{}:c;var e=[],g=this._animations.get(a),h=new Map;g?(b=Tna(this._driver,b,g,"ng-enter","ng-leave",new Map,new Map,c,sVb,e),b.forEach(function(l){var q=bh(h,l.element,new Map);l.postStyleProps.forEach(function(v){return q.set(v,null)})})):(e.push(new Cc(3300,!1)),b=[]);if(e.length)throw new Cc(3504,!1);h.forEach(function(l,q){l.forEach(function(v,x){l.set(x,d._driver.computeStyle(q,x,"*"))})});e=b.map(function(l){var q=h.get(l.element);return d._buildPlayer(l,
new Map,q)});e=ah(e);this._playersById.set(a,e);e.onDestroy(function(){return d.destroy(a)});this.players.push(e);return e};f.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)};f._getPlayer=function(a){a=this._playersById.get(a);if(!a)throw new Cc(3301,!1);return a};f.listen=function(a,b,c,d){b=xna(b,"","","");wna(this._getPlayer(a),c,b,d);return function(){}};
f.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 uVb=[],vVb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},coa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},wVb=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=dh(a),delete a.value,this.options=a):this.options={};this.options.params||(this.options.params={})},xVb=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])})}};sh.Object.defineProperties(wVb.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});var yVb=new wVb("void"),Wy=function(a,b,c){this.id=a;this.hostElement=b;this._engine=c;this.players=[];this._triggers=new Map;this._queue=[];this._elementListeners=new Map;this._hostClassName="ng-tns-"+a;mh(b,this._hostClassName)};f=Wy.prototype;
f.listen=function(a,b,c,d){var e=this;if(!this._triggers.has(b))throw new Cc(3302,!1);if(null==c||0==c.length)throw new Cc(3303,!1);if("start"!=c&&"done"!=c)throw new Cc(3400,!1);var g=bh(this._elementListeners,a,[]),h={name:b,phase:c,callback:d};g.push(h);var l=bh(this._engine.statesByElement,a,new Map);l.has(b)||(mh(a,"ng-trigger"),mh(a,"ng-trigger-"+b),l.set(b,yVb));return function(){Xy(e._engine,function(){var q=g.indexOf(h);0<=q&&g.splice(q,1);e._triggers.has(b)||l.delete(b)})}};
f.register=function(a,b){if(this._triggers.has(a))return!1;this._triggers.set(a,b);return!0};f._getTrigger=function(a){a=this._triggers.get(a);if(!a)throw new Cc(3401,!1);return a};
f.trigger=function(a,b,c,d){var e=this;d=void 0===d?!0:d;var g=this._getTrigger(b),h=new zVb(this.id,b,a),l=this._engine.statesByElement.get(a);l||(mh(a,"ng-trigger"),mh(a,"ng-trigger-"+b),this._engine.statesByElement.set(a,l=new Map));var q=l.get(b),v=new wVb(c,this.id);c&&c.hasOwnProperty("value")||!q||xVb(v,q.options);l.set(b,v);q||(q=yVb);if("void"!==v.value&&q.value===v.value){if(!ioa(q.params,v.params)){d=[];var x=g.fallbackTransition.buildStyles(q.value,q.params,d),A=g.fallbackTransition.buildStyles(v.value,
v.params,d);d.length?this._engine.reportError(d):Xy(this._engine,function(){gh(a,x);fh(a,A)})}}else{c=bh(this._engine.playersByElement,a,[]);c.forEach(function(M){M.namespaceId==e.id&&M.triggerName==b&&M.queued&&M.destroy()});l=rVb(g,q.value,v.value,a,v.params);var G=!1;if(!l){if(!d)return;l=g.fallbackTransition;G=!0}this._engine.totalQueuedPlayers++;this._queue.push({element:a,triggerName:b,transition:l,fromState:q,toState:v,player:h,isFallbackTransition:G});G||(mh(a,"ng-animate-queued"),h.onStart(function(){nh(a,
"ng-animate-queued")}));h.onDone(function(){var M=e.players.indexOf(h);0<=M&&e.players.splice(M,1);if(M=e._engine.playersByElement.get(a)){var Q=M.indexOf(h);0<=Q&&M.splice(Q,1)}});this.players.push(h);c.push(h);return h}};f.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 AVb=function(a,b){a._engine.statesByElement.delete(b);a._elementListeners.delete(b);var c=a._engine.playersByElement.get(b);c&&(c.forEach(function(d){return d.destroy()}),a._engine.playersByElement.delete(b))};
Wy.prototype._signalRemovalForInnerTriggers=function(a,b){var c=this,d=this._engine.driver.query(a,".ng-trigger",!0);d.forEach(function(e){if(!e.__ng_removed){var g=BVb(c._engine,e);g.size?g.forEach(function(h){return CVb(h,e,b,!1,!0)}):AVb(c,e)}});DVb(this._engine,function(){return d.forEach(function(e){return AVb(c,e)})})};
var CVb=function(a,b,c,d,e){var g=a._engine.statesByElement.get(b),h=new Map;if(g){var l=[];g.forEach(function(q,v){h.set(v,q.value);a._triggers.has(v)&&(q=a.trigger(b,v,"void",e))&&l.push(q)});if(l.length){EVb(a._engine,a.id,b,!0,c,h);if(d)ah(l).onDone(function(){return oh(a._engine,b)});return!0}}return!1},FVb=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(g){g=g.name;if(!e.has(g)){e.add(g);var h=a._triggers.get(g).fallbackTransition,
l=d.get(g)||yVb,q=new wVb("void"),v=new zVb(a.id,g,b);a._engine.totalQueuedPlayers++;a._queue.push({element:b,triggerName:g,transition:h,fromState:l,toState:q,player:v,isFallbackTransition:!0})}})}};
Wy.prototype.removeNode=function(a,b){var c=this,d=this._engine;a.childElementCount&&this._signalRemovalForInnerTriggers(a,b);if(!CVb(this,a,b,!0)){var e=!1;if(d.totalAnimations){var g=d.players.length?d.playersByQueriedElement.get(a):[];if(g&&g.length)e=!0;else for(g=a;g=g.parentNode;)if(d.statesByElement.get(g)){e=!0;break}}FVb(this,a);e?EVb(d,this.id,a,!1,b):(e=a.__ng_removed,e&&e!==vVb||(Xy(d,function(){return AVb(c,a)}),GVb(d,a),d._onRemovalComplete(a,b)))}};
Wy.prototype.insertNode=function(a){mh(a,this._hostClassName)};
var HVb=function(a,b){var c=[];a._queue.forEach(function(d){var e=d.player;if(!e.destroyed){var g=d.element,h=a._elementListeners.get(g);h&&h.forEach(function(l){if(l.name==d.triggerName){var q=xna(g,d.triggerName,d.fromState.value,d.toState.value);q._data=b;wna(d.player,l.phase,q,l.callback)}});e.markedForDestroy?Xy(a._engine,function(){e.destroy()}):c.push(d)}});a._queue=[];return c.sort(function(d,e){var g=d.transition.ast.depCount,h=e.transition.ast.depCount;return 0==g||0==h?g-h:a._engine.driver.containsElement(d.element,
e.element)?1:-1})};Wy.prototype.destroy=function(a){this.players.forEach(function(b){return b.destroy()});this._signalRemovalForInnerTriggers(this.hostElement,a)};
var Yy=function(a,b,c){this.bodyNode=a;this.driver=b;this._normalizer=c;this.players=[];this.newHostElements=new Map;this.playersByElement=new Map;this.playersByQueriedElement=new Map;this.statesByElement=new Map;this.disabledNodes=new Set;this.totalQueuedPlayers=this.totalAnimations=0;this._namespaceLookup={};this._namespaceList=[];this._flushFns=[];this._whenQuietFns=[];this.namespacesByHostElement=new Map;this.collectedEnterElements=[];this.collectedLeaveElements=[];this.onRemovalComplete=function(){}};
f=Yy.prototype;f._onRemovalComplete=function(a,b){this.onRemovalComplete(a,b)};f._balanceNamespaceList=function(a,b){var c=this._namespaceList,d=this.namespacesByHostElement;if(0<=c.length-1){for(var e=!1,g=this.driver.getParentElement(b);g;){var h=d.get(g);if(h){e=c.indexOf(h);c.splice(e+1,0,a);e=!0;break}g=this.driver.getParentElement(g)}e||c.unshift(a)}else c.push(a);d.set(b,a);return a};
f.register=function(a,b){var c=this._namespaceLookup[a];c||(c=new Wy(a,b,this),this.bodyNode&&this.driver.containsElement(this.bodyNode,b)?this._balanceNamespaceList(c,b):(this.newHostElements.set(b,c),this.collectedEnterElements.push(b)),c=this._namespaceLookup[a]=c);return c};f.registerTrigger=function(a,b,c){(a=this._namespaceLookup[a])&&a.register(b,c)&&this.totalAnimations++};
f.destroy=function(a,b){var c=this;if(a){var d=this._fetchNamespace(a);Xy(this,function(){c.namespacesByHostElement.delete(d.hostElement);delete c._namespaceLookup[a];var e=c._namespaceList.indexOf(d);0<=e&&c._namespaceList.splice(e,1)});DVb(this,function(){return d.destroy(b)})}};f._fetchNamespace=function(a){return this._namespaceLookup[a]};
var BVb=function(a,b){var c=new Set;if(b=a.statesByElement.get(b)){b=k(b.values());for(var d=b.next();!d.done;d=b.next())d=d.value,d.namespaceId&&(d=a._fetchNamespace(d.namespaceId))&&c.add(d)}return c};Yy.prototype.trigger=function(a,b,c,d){return aoa(b)&&(a=this._fetchNamespace(a))?(a.trigger(b,c,d),!0):!1};
Yy.prototype.insertNode=function(a,b,c,d){if(aoa(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 IVb=function(a,b,c){c?a.disabledNodes.has(b)||(a.disabledNodes.add(b),mh(b,"ng-animate-disabled")):a.disabledNodes.has(b)&&(a.disabledNodes.delete(b),nh(b,"ng-animate-disabled"))};
Yy.prototype.removeNode=function(a,b,c){if(aoa(b)){var d=a?this._fetchNamespace(a):null;d?d.removeNode(b,c):EVb(this,a,b,!1,c);(d=this.namespacesByHostElement.get(b))&&d.id!==a&&d.removeNode(b,c)}else this._onRemovalComplete(b,c)};var EVb=function(a,b,c,d,e,g){a.collectedLeaveElements.push(c);c.__ng_removed={namespaceId:b,setForRemoval:e,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:g}};Yy.prototype.listen=function(a,b,c,d,e){return aoa(b)?this._fetchNamespace(a).listen(b,c,d,e):function(){}};
Yy.prototype._buildInstruction=function(a,b,c,d,e){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,c,d,a.fromState.options,a.toState.options,b,e)};
var GVb=function(a,b){var c=a.driver.query(b,".ng-trigger",!0);c.forEach(function(d){return JVb(a,d)});0!=a.playersByQueriedElement.size&&(c=a.driver.query(b,".ng-animating",!0),c.forEach(function(d){return KVb(a,d)}))},JVb=function(a,b){(a=a.playersByElement.get(b))&&a.forEach(function(c){c.queued?c.markedForDestroy=!0:c.destroy()})},KVb=function(a,b){(a=a.playersByQueriedElement.get(b))&&a.forEach(function(c){return c.finish()})},oh=function(a,b){var c=b.__ng_removed;if(c&&c.setForRemoval){b.__ng_removed=
vVb;if(c.namespaceId){GVb(a,b);var d=a._fetchNamespace(c.namespaceId);d&&AVb(d,b)}a._onRemovalComplete(b,c.setForRemoval)}var e;(null==(e=b.classList)?0:e.contains("ng-animate-disabled"))&&IVb(a,b,!1);a.driver.query(b,".ng-animate-disabled",!0).forEach(function(g){IVb(a,g,!1)})};
Yy.prototype.flush=function(a){var b=this;a=void 0===a?-1:a;var c=[];this.newHostElements.size&&(this.newHostElements.forEach(function(g,h){return b._balanceNamespaceList(g,h)}),this.newHostElements.clear());if(this.totalAnimations&&this.collectedEnterElements.length)for(var d=0;d<this.collectedEnterElements.length;d++)mh(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++)oh(this,this.collectedLeaveElements[a]);this.totalQueuedPlayers=0;this.collectedEnterElements.length=0;this.collectedLeaveElements.length=0;this._flushFns.forEach(function(g){return g()});this._flushFns=[];if(this._whenQuietFns.length){var e=this._whenQuietFns;this._whenQuietFns=[];if(c.length)ah(c).onDone(function(){e.forEach(function(g){return g()})});else e.forEach(function(g){return g()})}};
Yy.prototype.reportError=function(){throw new Cc(3402,!1);};
Yy.prototype._flushAnimations=function(a,b){var c=this,d=new Oy,e=[],g=new Map,h=[],l=new Map,q=new Map,v=new Map,x=new Set;this.disabledNodes.forEach(function(bb){x.add(bb);bb=c.driver.query(bb,".ng-animate-queued",!0);for(var Hb=0;Hb<bb.length;Hb++)x.add(bb[Hb])});var A=this.bodyNode,G=Array.from(this.statesByElement.keys()),M=eoa(G,this.collectedEnterElements),Q=new Map,Y=0;M.forEach(function(bb,Hb){var ib="ng-enter"+Y++;Q.set(Hb,ib);bb.forEach(function(Ob){return mh(Ob,ib)})});for(var W=[],ia=
new Set,ja=new Set,Aa=0;Aa<this.collectedLeaveElements.length;Aa++){var Da=this.collectedLeaveElements[Aa],Oa=Da.__ng_removed;Oa&&Oa.setForRemoval&&(W.push(Da),ia.add(Da),Oa.hasAnimation?this.driver.query(Da,".ng-star-inserted",!0).forEach(function(bb){return ia.add(bb)}):ja.add(Da))}var Ta=new Map,Wa=eoa(G,Array.from(ia));Wa.forEach(function(bb,Hb){var ib="ng-leave"+Y++;Ta.set(Hb,ib);bb.forEach(function(Ob){return mh(Ob,ib)})});a.push(function(){M.forEach(function(bb,Hb){var ib=Q.get(Hb);bb.forEach(function(Ob){return nh(Ob,
ib)})});Wa.forEach(function(bb,Hb){var ib=Ta.get(Hb);bb.forEach(function(Ob){return nh(Ob,ib)})});W.forEach(function(bb){oh(c,bb)})});var Nb=[],Eb=[];for(a=this._namespaceList.length-1;0<=a;a--)HVb(this._namespaceList[a],b).forEach(function(bb){var Hb=bb.player,ib=bb.element;Nb.push(Hb);if(c.collectedEnterElements.length){var Ob=ib.__ng_removed;if(Ob&&Ob.setForMove){if(Ob.previousTriggersValues&&Ob.previousTriggersValues.has(bb.triggerName)){Ob=Ob.previousTriggersValues.get(bb.triggerName);var lc=
c.statesByElement.get(bb.element);if(lc&&lc.has(bb.triggerName)){var Hc=lc.get(bb.triggerName);Hc.value=Ob;lc.set(bb.triggerName,Hc)}}Hb.destroy();return}}Ob=!A||!c.driver.containsElement(A,ib);lc=Ta.get(ib);Hc=Q.get(ib);var Tc=c._buildInstruction(bb,d,Hc,lc,Ob);if(Tc.errors&&Tc.errors.length)Eb.push(Tc);else if(Ob)Hb.onStart(function(){return gh(ib,Tc.fromStyles)}),Hb.onDestroy(function(){return fh(ib,Tc.toStyles)}),e.push(Hb);else if(bb.isFallbackTransition)Hb.onStart(function(){return gh(ib,Tc.fromStyles)}),
Hb.onDestroy(function(){return fh(ib,Tc.toStyles)}),e.push(Hb);else{var jg=[];Tc.timelines.forEach(function(Od){Od.stretchStartingKeyframe=!0;c.disabledNodes.has(Od.element)||jg.push(Od)});Tc.timelines=jg;d.append(ib,Tc.timelines);h.push({instruction:Tc,player:Hb,element:ib});Tc.queriedElements.forEach(function(Od){return bh(l,Od,[]).push(Hb)});Tc.preStyleProps.forEach(function(Od,Ae){if(Od.size){var Mj=q.get(Ae);Mj||q.set(Ae,Mj=new Set);Od.forEach(function(Hha,Mt){return Mj.add(Mt)})}});Tc.postStyleProps.forEach(function(Od,
Ae){var Mj=v.get(Ae);Mj||v.set(Ae,Mj=new Set);Od.forEach(function(Hha,Mt){return Mj.add(Mt)})})}});if(Eb.length){var cb=[];Eb.forEach(function(){cb.push(new Cc(3505,!1))});Nb.forEach(function(bb){return bb.destroy()});this.reportError(cb)}var sa=new Map,Ka=new Map;h.forEach(function(bb){var Hb=bb.element;d.has(Hb)&&(Ka.set(Hb,Hb),c._beforeAnimationBuild(bb.player.namespaceId,bb.instruction,sa))});e.forEach(function(bb){var Hb=bb.element;c._getPreviousPlayers(Hb,!1,bb.namespaceId,bb.triggerName,null).forEach(function(ib){bh(sa,
Hb,[]).push(ib);ib.destroy()})});var Qa=W.filter(function(bb){return joa(bb,q,v)}),fb=new Map;doa(fb,this.driver,ja,v,"*").forEach(function(bb){joa(bb,q,v)&&Qa.push(bb)});var $a=new Map;M.forEach(function(bb){doa($a,c.driver,new Set(bb),q,"!")});Qa.forEach(function(bb){var Hb=fb.get(bb),ib=$a.get(bb),Ob,lc;fb.set(bb,new Map([].concat(cd(null!=(Ob=null==Hb?void 0:Hb.entries())?Ob:[]),cd(null!=(lc=null==ib?void 0:ib.entries())?lc:[]))))});var Yc=[],hb=[],yb={};h.forEach(function(bb){var Hb=bb.element,
ib=bb.player,Ob=bb.instruction;if(d.has(Hb))if(x.has(Hb))ib.onDestroy(function(){return fh(Hb,Ob.toStyles)}),ib.disabled=!0,ib.totalTime=Ob.totalTime,e.push(ib);else{var lc=yb;if(1<Ka.size){bb=Hb;for(var Hc=[];bb=bb.parentNode;){var Tc=Ka.get(bb);if(Tc){lc=Tc;break}Hc.push(bb)}Hc.forEach(function(jg){return Ka.set(jg,lc)})}bb=c._buildAnimation(ib.namespaceId,Ob,sa,g,$a,fb);LVb(ib,bb);lc===yb?Yc.push(ib):((bb=c.playersByElement.get(lc))&&bb.length&&(ib.parentPlayer=ah(bb)),e.push(ib))}else gh(Hb,Ob.fromStyles),
ib.onDestroy(function(){return fh(Hb,Ob.toStyles)}),hb.push(ib),x.has(Hb)&&e.push(ib)});hb.forEach(function(bb){var Hb=g.get(bb.element);Hb&&Hb.length&&(Hb=ah(Hb),LVb(bb,Hb))});e.forEach(function(bb){bb.parentPlayer?MVb(bb,bb.parentPlayer):bb.destroy()});for(b=0;b<W.length;b++)if(ja=W[b],a=ja.__ng_removed,nh(ja,"ng-leave"),!a||!a.hasAnimation){a=[];if(l.size)for((G=l.get(ja))&&G.length&&a.push.apply(a,cd(G)),G=this.driver.query(ja,".ng-animating",!0),Aa=0;Aa<G.length;Aa++)(Da=l.get(G[Aa]))&&Da.length&&
a.push.apply(a,cd(Da));a=a.filter(function(bb){return!bb.destroyed});a.length?foa(this,ja,a):oh(this,ja)}W.length=0;Yc.forEach(function(bb){c.players.push(bb);bb.onDone(function(){bb.destroy();var Hb=c.players.indexOf(bb);c.players.splice(Hb,1)});bb.play()});return Yc};var Xy=function(a,b){a._flushFns.push(b)},DVb=function(a,b){a._whenQuietFns.push(b)};
Yy.prototype._getPreviousPlayers=function(a,b,c,d,e){var g=[];if(b)(e=this.playersByQueriedElement.get(a))&&(g=e);else if(a=this.playersByElement.get(a)){var h=!e||"void"==e;a.forEach(function(l){l.queued||(h||l.triggerName==d)&&g.push(l)})}if(c||d)g=g.filter(function(l){return c&&c!=l.namespaceId||d&&d!=l.triggerName?!1:!0});return g};
Yy.prototype._beforeAnimationBuild=function(a,b,c){var d=b.triggerName,e=b.element;a=b.isRemovalTransition?void 0:a;d=b.isRemovalTransition?void 0:d;for(var g=k(b.timelines),h=g.next(),l={};!h.done;l={$jscomp$loop$prop$players$2289:l.$jscomp$loop$prop$players$2289},h=g.next()){h=h.value.element;var q=h!==e;l.$jscomp$loop$prop$players$2289=bh(c,h,[]);this._getPreviousPlayers(h,q,a,d,b.toState).forEach(function(v){return function(x){var A=x._player;A.beforeDestroy&&A.beforeDestroy();x.destroy();v.$jscomp$loop$prop$players$2289.push(x)}}(l))}gh(e,
b.fromStyles)};
Yy.prototype._buildAnimation=function(a,b,c,d,e,g){var h=this,l=b.triggerName,q=b.element,v=[],x=new Set,A=new Set,G=b.timelines.map(function(Q){var Y=Q.element;x.add(Y);var W=Y.__ng_removed;if(W&&W.removedBeforeQueried)return new $g(Q.duration,Q.delay);W=Y!==q;var ia=hoa((c.get(Y)||uVb).map(function(Da){return Da._player})).filter(function(Da){return Da.element?Da.element===Y:!1}),ja=e.get(Y),Aa=g.get(Y);ja=una(Q.keyframes,ja,Aa);ia=h._buildPlayer(Q,ja,ia);Q.subTimeline&&d&&A.add(Y);W&&(Q=new zVb(a,
l,Y),LVb(Q,ia),v.push(Q));return ia});v.forEach(function(Q){bh(h.playersByQueriedElement,Q.element,[]).push(Q);Q.onDone(function(){var Y=h.playersByQueriedElement,W=Q.element,ia=Y.get(W);if(ia){if(ia.length){var ja=ia.indexOf(Q);ia.splice(ja,1)}0==ia.length&&Y.delete(W)}return ia})});x.forEach(function(Q){return mh(Q,"ng-animating")});var M=ah(G);M.onDestroy(function(){x.forEach(function(Q){return nh(Q,"ng-animating")});fh(q,b.toStyles)});A.forEach(function(Q){bh(d,Q,[]).push(M)});return M};
Yy.prototype._buildPlayer=function(a,b,c){return 0<b.length?this.driver.animate(a.element,b,a.duration,a.delay,a.easing,c):new $g(a.duration,a.delay)};
var zVb=function(a,b,c){this.namespaceId=a;this.triggerName=b;this.element=c;this._player=new $g;this._containsRealPlayer=!1;this._queuedCallbacks=new Map;this.destroyed=!1;this.parentPlayer=null;this.disabled=this.markedForDestroy=!1;this.queued=!0;this.totalTime=0},LVb=function(a,b){a._containsRealPlayer||(a._player=b,a._queuedCallbacks.forEach(function(c,d){c.forEach(function(e){return wna(b,d,void 0,e)})}),a._queuedCallbacks.clear(),a._containsRealPlayer=!0,a.totalTime=b.totalTime,a.queued=!1)},
MVb=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()})};f=zVb.prototype;f._queueEvent=function(a,b){bh(this._queuedCallbacks,a,[]).push(b)};f.onDone=function(a){this.queued&&this._queueEvent("done",a);this._player.onDone(a)};f.onStart=function(a){this.queued&&this._queueEvent("start",a);this._player.onStart(a)};
f.onDestroy=function(a){this.queued&&this._queueEvent("destroy",a);this._player.onDestroy(a)};f.init=function(){this._player.init()};f.hasStarted=function(){return this.queued?!1:this._player.hasStarted()};f.play=function(){!this.queued&&this._player.play()};f.pause=function(){!this.queued&&this._player.pause()};f.restart=function(){!this.queued&&this._player.restart()};f.finish=function(){this._player.finish()};f.destroy=function(){this.destroyed=!0;this._player.destroy()};
f.reset=function(){!this.queued&&this._player.reset()};f.setPosition=function(a){this.queued||this._player.setPosition(a)};f.getPosition=function(){return this.queued?0:this._player.getPosition()};f.triggerCallback=function(a){var b=this._player;b.triggerCallback&&b.triggerCallback(a)};var Zy=function(a,b,c){var d=this;this.bodyNode=a;this._driver=b;this._normalizer=c;this._triggerCache={};this.onRemovalComplete=function(){};this._transitionEngine=new Yy(a,b,c);this._timelineEngine=new tVb(a,b,c);this._transitionEngine.onRemovalComplete=function(e,g){return d.onRemovalComplete(e,g)}};f=Zy.prototype;
f.registerTrigger=function(a,b,c,d,e){a=a+"-"+d;c=this._triggerCache[a];if(!c){c=[];e=(new $Ub(this._driver)).build(e,c,[]);if(c.length)throw new Cc(3404,!1);c=new qVb(d,e,this._normalizer);this._triggerCache[a]=c}this._transitionEngine.registerTrigger(b,d,c)};f.register=function(a,b){this._transitionEngine.register(a,b)};f.destroy=function(a,b){this._transitionEngine.destroy(a,b)};f.onRemove=function(a,b,c){this._transitionEngine.removeNode(a,b,c)};
f.disableAnimations=function(a,b){IVb(this._transitionEngine,a,b)};f.process=function(a,b,c,d){"@"==c.charAt(0)?(c=k(yna(c)),a=c.next().value,c=c.next().value,this._timelineEngine.command(a,b,c,d)):this._transitionEngine.trigger(a,b,c,d)};f.listen=function(a,b,c,d,e){return"@"==c.charAt(0)?(c=k(yna(c)),a=c.next().value,c=c.next().value,this._timelineEngine.listen(a,b,c,e)):this._transitionEngine.listen(a,b,c,d,e)};f.flush=function(a){this._transitionEngine.flush(void 0===a?-1:a)};
sh.Object.defineProperties(Zy.prototype,{players:{configurable:!0,enumerable:!0,get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}});var loa=function(a,b,c){this._element=a;this._startStyles=b;this._endStyles=c;this._state=0;var d=NVb.get(a);d||NVb.set(a,d=new Map);this._initialStyles=d};loa.prototype.start=function(){1>this._state&&(this._startStyles&&fh(this._element,this._startStyles,this._initialStyles),this._state=1)};loa.prototype.finish=function(){this.start();2>this._state&&(fh(this._element,this._initialStyles),this._endStyles&&(fh(this._element,this._endStyles),this._endStyles=null),this._state=1)};
loa.prototype.destroy=function(){this.finish();3>this._state&&(NVb.delete(this._element),this._startStyles&&(gh(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(gh(this._element,this._endStyles),this._endStyles=null),fh(this._element,this._initialStyles),this._state=3)};var NVb=new WeakMap;var OVb=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};f=OVb.prototype;
f._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};f.init=function(){this._buildPlayer();this._preparePlayerBeforeStart()};f._buildPlayer=function(){var a=this;if(!this._initialized){this._initialized=!0;var b=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,b,this.options);this._finalKeyframe=b.length?b[b.length-1]:new Map;this.domPlayer.addEventListener("finish",function(){return a._onFinish()})}};
f._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()};f._convertKeyframesToObject=function(a){var b=[];a.forEach(function(c){b.push(Object.fromEntries(c))});return b};f._triggerWebAnimation=function(a,b,c){return a.animate(this._convertKeyframesToObject(b),c)};f.onStart=function(a){this._originalOnStartFns.push(a);this._onStartFns.push(a)};f.onDone=function(a){this._originalOnDoneFns.push(a);this._onDoneFns.push(a)};f.onDestroy=function(a){this._onDestroyFns.push(a)};
f.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()};f.pause=function(){this.init();this.domPlayer.pause()};f.finish=function(){this.init();this._specialStyles&&this._specialStyles.finish();this._onFinish();this.domPlayer.finish()};
f.reset=function(){this._resetDomPlayerState();this._started=this._finished=this._destroyed=!1;this._onStartFns=this._originalOnStartFns;this._onDoneFns=this._originalOnDoneFns};f._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()};f.restart=function(){this.reset();this.play()};f.hasStarted=function(){return this._started};
f.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=[])};f.setPosition=function(a){void 0===this.domPlayer&&this.init();this.domPlayer.currentTime=a*this.time};f.getPosition=function(){return this.domPlayer.currentTime/this.time};
f.beforeDestroy=function(){var a=this,b=new Map;this.hasStarted()&&this._finalKeyframe.forEach(function(c,d){if("offset"!==d){var e=b.set,g;a._finished?g=c:g=window.getComputedStyle(a.element)[d];e.call(b,d,g)}});this.currentSnapshot=b};f.triggerCallback=function(a){a="start"===a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};sh.Object.defineProperties(OVb.prototype,{totalTime:{configurable:!0,enumerable:!0,get:function(){return this._delay+this._duration}}});var PVb=function(){};f=PVb.prototype;f.containsElement=function(a,b){return Bna(a,b)};f.getParentElement=function(a){return Ana(a)};f.query=function(a,b,c){return Cna(a,b,c)};f.computeStyle=function(a,b){return window.getComputedStyle(a)[b]};
f.animate=function(a,b,c,d,e,g){g=void 0===g?[]:g;var h={duration:c,delay:d,fill:0==d?"both":"forwards"};e&&(h.easing=e);var l=new Map;e=g.filter(function(v){return v instanceof OVb});0!==c&&0!==d||e.forEach(function(v){v.currentSnapshot.forEach(function(x,A){return l.set(A,x)})});var q=Gna(b).map(function(v){return eh(v)});q=Mna(a,q,l);b=moa(a,q);return new OVb(a,q,h,b)};var $y=function(a,b){this._nextAnimationId=0;this._renderer=a.createRenderer(b.body,{id:"0",encapsulation:2,styles:[],data:{animation:[]}})};T($y,XUb);$y.prototype.build=function(a){var b=this._nextAnimationId.toString();this._nextAnimationId++;a=[Array.isArray(a)?{type:2,steps:a,options:null}:a];this._renderer.setProperty(null,"@@"+b+":register",a);return new QVb(b,this._renderer)};$y.\u0275fac=function(a){return new (a||$y)(t(xv),t(qh))};$y.\u0275prov=yc({token:$y,factory:$y.\u0275fac});
var QVb=function(a,b){this._id=a;this._renderer=b};T(QVb,YUb);QVb.prototype.create=function(a,b){return new RVb(this._id,a,b||{},this._renderer)};var RVb=function(a,b,c,d){this.id=a;this.element=b;this._renderer=d;this.parentPlayer=null;this._started=!1;this.totalTime=0;this._command("create",c)};f=RVb.prototype;f._listen=function(a,b){return this._renderer.listen(this.element,"@@"+this.id+":"+a,b)};
f._command=function(a){return this._renderer.setProperty(this.element,"@@"+this.id+":"+a,Zc.apply(1,arguments))};f.onDone=function(a){this._listen("done",a)};f.onStart=function(a){this._listen("start",a)};f.onDestroy=function(a){this._listen("destroy",a)};f.init=function(){this._command("init")};f.hasStarted=function(){return this._started};f.play=function(){this._command("play");this._started=!0};f.pause=function(){this._command("pause")};f.restart=function(){this._command("restart")};f.finish=function(){this._command("finish")};
f.destroy=function(){this._command("destroy")};f.reset=function(){this._command("reset");this._started=!1};f.setPosition=function(a){this._command("setPosition",a)};f.getPosition=function(){var a,b;return null!=(b=null==(a=this._renderer.engine.players[+this.id])?void 0:a.getPosition())?b:0};var az=function(a,b,c){this.delegate=a;this.engine=b;this._zone=c;this._currentId=0;this._microtaskId=1;this._animationCallbacksBuffer=[];this._rendererCache=new Map;this._cdRecurDepth=0;b.onRemovalComplete=function(d,e){var g=null==e?void 0:e.parentNode(d);g&&e.removeChild(g,d)}};
az.prototype.createRenderer=function(a,b){var c=this,d=this.delegate.createRenderer(a,b);if(!(a&&b&&b.data&&b.data.animation))return b=this._rendererCache.get(d),b||(b=new bz("",d,this.engine,function(){return c._rendererCache.delete(d)}),this._rendererCache.set(d,b)),b;var e=b.id,g=b.id+"-"+this._currentId;this._currentId++;this.engine.register(g,a);var h=function(l){Array.isArray(l)?l.forEach(h):c.engine.registerTrigger(e,g,a,l.name,l)};b.data.animation.forEach(h);return new SVb(this,g,d,this.engine)};
az.prototype.begin=function(){this._cdRecurDepth++;this.delegate.begin&&this.delegate.begin()};az.prototype._scheduleCountTask=function(){var a=this;queueMicrotask(function(){a._microtaskId++})};
var TVb=function(a,b,c,d){0<=b&&b<a._microtaskId?a._zone.run(function(){return c(d)}):(0==a._animationCallbacksBuffer.length&&queueMicrotask(function(){a._zone.run(function(){a._animationCallbacksBuffer.forEach(function(e){var g=k(e);e=g.next().value;g=g.next().value;e(g)});a._animationCallbacksBuffer=[]})}),a._animationCallbacksBuffer.push([c,d]))};
az.prototype.end=function(){var a=this;this._cdRecurDepth--;0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){a._scheduleCountTask();a.engine.flush(a._microtaskId)});this.delegate.end&&this.delegate.end()};az.\u0275fac=function(a){return new (a||az)(t(xv),t(Zy),t(df))};az.\u0275prov=yc({token:az,factory:az.\u0275fac});
var bz=function(a,b,c,d){this.namespaceId=a;this.delegate=b;this.engine=c;this._onDestroy=d;this.destroyNode=this.delegate.destroyNode?function(e){return b.destroyNode(e)}:null};f=bz.prototype;f.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate);this.delegate.destroy();var a;null==(a=this._onDestroy)||a.call(this)};f.createElement=function(a,b){return this.delegate.createElement(a,b)};f.createComment=function(a){return this.delegate.createComment(a)};f.createText=function(a){return this.delegate.createText(a)};
f.appendChild=function(a,b){this.delegate.appendChild(a,b);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,!1)};f.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)};f.removeChild=function(a,b){this.engine.onRemove(this.namespaceId,b,this.delegate)};f.selectRootElement=function(a,b){return this.delegate.selectRootElement(a,b)};f.parentNode=function(a){return this.delegate.parentNode(a)};
f.nextSibling=function(a){return this.delegate.nextSibling(a)};f.setAttribute=function(a,b,c,d){this.delegate.setAttribute(a,b,c,d)};f.removeAttribute=function(a,b,c){this.delegate.removeAttribute(a,b,c)};f.addClass=function(a,b){this.delegate.addClass(a,b)};f.removeClass=function(a,b){this.delegate.removeClass(a,b)};f.setStyle=function(a,b,c,d){this.delegate.setStyle(a,b,c,d)};f.removeStyle=function(a,b,c){this.delegate.removeStyle(a,b,c)};
f.setProperty=function(a,b,c){"@"==b.charAt(0)&&"@.disabled"==b?this.disableAnimations(a,!!c):this.delegate.setProperty(a,b,c)};f.setValue=function(a,b){this.delegate.setValue(a,b)};f.listen=function(a,b,c){return this.delegate.listen(a,b,c)};f.disableAnimations=function(a,b){this.engine.disableAnimations(a,b)};sh.Object.defineProperties(bz.prototype,{data:{configurable:!0,enumerable:!0,get:function(){return this.delegate.data}}});
var SVb=function(a,b,c,d,e){bz.call(this,b,c,d,e);this.factory=a;this.namespaceId=b};T(SVb,bz);SVb.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)};
SVb.prototype.listen=function(a,b,c){var d=this;if("@"==b.charAt(0)){a=noa(a);b=b.slice(1);var e="";"@"!=b.charAt(0)&&(e=k(ooa(b)),b=e.next().value,e=e.next().value);return this.engine.listen(this.namespaceId,a,b,e,function(g){TVb(d.factory,g._data||-1,c,g)})}return this.delegate.listen(a,b,c)};var cz=function(a,b,c){Zy.call(this,a.body,b,c)};T(cz,Zy);cz.prototype.ngOnDestroy=function(){this.flush()};cz.\u0275fac=function(a){return new (a||cz)(t(qh),t(nVb),t(kVb),t(Iw))};cz.\u0275prov=yc({token:cz,factory:cz.\u0275fac});var UVb=[{provide:XUb,useClass:$y},{provide:kVb,useFactory:function(){return new mVb}},{provide:Zy,useClass:cz},{provide:xv,useFactory:function(a,b,c){return new az(a,b,c)},deps:[ry,Zy,df]}],VVb=[{provide:nVb,useFactory:function(){return new PVb}},{provide:wv,useValue:"BrowserAnimations"}].concat(cd(UVb));
[{provide:nVb,useClass:Vy},{provide:wv,useValue:"NoopAnimations"}].concat(cd(UVb));var dz=function(){};dz.\u0275fac=function(a){return new (a||dz)};dz.\u0275mod=Qc({type:dz});dz.\u0275inj=zc({providers:VVb,imports:[Ny]});var WVb=new Set,ez,fz=function(a,b){this._platform=a;this._nonce=b;this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):poa};fz.prototype.matchMedia=function(a){if(this._platform.WEBKIT||this._platform.BLINK){var b=this._nonce;if(!WVb.has(a))try{ez||(ez=document.createElement("style"),b&&(ez.nonce=b),ez.setAttribute("type","text/css"),document.head.appendChild(ez)),ez.sheet&&(ez.sheet.insertRule("@media "+a+" {body{ }}",0),WVb.add(a))}catch(c){console.error(c)}}return this._matchMedia(a)};
fz.\u0275fac=function(a){return new (a||fz)(t(Rx),t(VQb,8))};fz.\u0275prov=yc({token:fz,factory:fz.\u0275fac,providedIn:"root"});var gz=function(a,b){this._mediaMatcher=a;this._zone=b;this._queries=new Map;this._destroySubject=new D.Subject};gz.prototype.ngOnDestroy=function(){this._destroySubject.next();this._destroySubject.complete()};
gz.prototype.observe=function(a){var b=this;a=qoa(Eg(a)).map(function(c){return b._registerQuery(c).observable});a=(0,D.combineLatest)(a);a=(0,D.concat)(a.pipe(Oe()),a.pipe(Ye(1),Le(0)));return a.pipe(C(function(c){var d={matches:!1,breakpoints:{}};c.forEach(function(e){var g=e.matches;e=e.query;d.matches=d.matches||g;d.breakpoints[e]=g});return d}))};
gz.prototype._registerQuery=function(a){var b=this;if(this._queries.has(a))return this._queries.get(a);var c=this._mediaMatcher.matchMedia(a),d={observable:(new D.Observable(function(e){var g=function(h){return b._zone.run(function(){return e.next(h)})};c.addListener(g);return function(){c.removeListener(g)}})).pipe(Ze(c),C(function(e){return{query:a,matches:e.matches}}),af(this._destroySubject)),mql:c};this._queries.set(a,d);return d};gz.\u0275fac=function(a){return new (a||gz)(t(fz),t(df))};
gz.\u0275prov=yc({token:gz,factory:gz.\u0275fac,providedIn:"root"});var hz=function(a,b){var c=this;this._platform=a;this._document=b;this._breakpointSubscription=Jc(gz).observe("(forced-colors: active)").subscribe(function(){c._hasCheckedHighContrastMode&&(c._hasCheckedHighContrastMode=!1,c._applyBodyHighContrastModeCssClasses())})},XVb=function(a){if(!a._platform.isBrowser)return 0;var b=a._document.createElement("div");b.style.backgroundColor="rgb(1,2,3)";b.style.position="absolute";a._document.body.appendChild(b);a=(a=a._document.defaultView||window)&&a.getComputedStyle?
a.getComputedStyle(b):null;a=(a&&a.backgroundColor||"").replace(/ /g,"");b.remove();switch(a){case "rgb(0,0,0)":case "rgb(45,50,54)":case "rgb(32,32,32)":return 2;case "rgb(255,255,255)":case "rgb(255,250,239)":return 1}return 0};hz.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe()};
hz.prototype._applyBodyHighContrastModeCssClasses=function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var a=this._document.body.classList;a.remove("cdk-high-contrast-active","cdk-high-contrast-black-on-white","cdk-high-contrast-white-on-black");this._hasCheckedHighContrastMode=!0;var b=XVb(this);1===b?a.add("cdk-high-contrast-active","cdk-high-contrast-black-on-white"):2===b&&a.add("cdk-high-contrast-active","cdk-high-contrast-white-on-black")}};
hz.\u0275fac=function(a){return new (a||hz)(t(Rx),t(qh))};hz.\u0275prov=yc({token:hz,factory:hz.\u0275fac,providedIn:"root"});var YVb=new ad("liveAnnouncerElement",{providedIn:"root",factory:roa}),ZVb=new ad("LIVE_ANNOUNCER_DEFAULT_OPTIONS");var iz=function(){};iz.prototype.create=function(a){return"undefined"===typeof MutationObserver?null:new MutationObserver(a)};iz.\u0275fac=function(a){return new (a||iz)};iz.\u0275prov=yc({token:iz,factory:iz.\u0275fac,providedIn:"root"});var jz=function(a){this._mutationObserverFactory=a;this._observedElements=new Map};f=jz.prototype;f.ngOnDestroy=function(){var a=this;this._observedElements.forEach(function(b,c){return a._cleanupObserver(c)})};
f.observe=function(a){var b=this,c=Hg(a);return new D.Observable(function(d){var e=b._observeElement(c).subscribe(d);return function(){e.unsubscribe();b._unobserveElement(c)}})};f._observeElement=function(a){if(this._observedElements.has(a))this._observedElements.get(a).count++;else{var b=new D.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};
f._unobserveElement=function(a){this._observedElements.has(a)&&(this._observedElements.get(a).count--,this._observedElements.get(a).count||this._cleanupObserver(a))};f._cleanupObserver=function(a){if(this._observedElements.has(a)){var b=this._observedElements.get(a),c=b.observer;b=b.stream;c&&c.disconnect();b.complete();this._observedElements.delete(a)}};jz.\u0275fac=function(a){return new (a||jz)(t(iz))};jz.\u0275prov=yc({token:jz,factory:jz.\u0275fac,providedIn:"root"});
var kz=function(a,b,c){this._contentObserver=a;this._elementRef=b;this._ngZone=c;this.event=new kw;this._disabled=!1;this._currentSubscription=null};kz.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()};kz.prototype.ngOnDestroy=function(){this._unsubscribe()};
kz.prototype._subscribe=function(){var a=this;this._unsubscribe();var b=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){a._currentSubscription=(a.debounce?b.pipe(Le(a.debounce)):b).subscribe(a.event)})};kz.prototype._unsubscribe=function(){var a;null==(a=this._currentSubscription)||a.unsubscribe()};
sh.Object.defineProperties(kz.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=Fg(a))?this._unsubscribe():this._subscribe()}},debounce:{configurable:!0,enumerable:!0,get:function(){return this._debounce},set:function(a){this._debounce=Ig(a);this._subscribe()}}});kz.\u0275fac=function(a){return new (a||kz)(B(jz),B(Dd),B(df))};
kz.\u0275dir=Sc({type:kz,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]});var lz=function(){};lz.\u0275fac=function(a){return new (a||lz)};lz.\u0275mod=Qc({type:lz});lz.\u0275inj=zc({providers:[iz]});var $Vb=0,mz=function(a,b,c,d){this._ngZone=b;this._defaultOptions=d;this._document=c;this._liveElement=a||this._createLiveElement()};f=mz.prototype;
f.announce=function(a){var b=Zc.apply(1,arguments),c=this,d=this._defaultOptions;if(1===b.length&&"number"===typeof b[0])var e=b[0];else{b=k(b);var g=b.next().value;e=b.next().value}this.clear();clearTimeout(this._previousTimeout);g||(g=d&&d.politeness?d.politeness:"polite");null==e&&d&&(e=d.duration);this._liveElement.setAttribute("aria-live",g);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})};f.clear=function(){this._liveElement&&(this._liveElement.textContent="")};
f.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};
f._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-"+$Vb++;this._document.body.appendChild(b);return b};
f._exposeAnnouncerToModals=function(a){for(var b=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]'),c=0;c<b.length;c++){var d=b[c],e=d.getAttribute("aria-owns");e?-1===e.indexOf(a)&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};mz.\u0275fac=function(a){return new (a||mz)(t(YVb,8),t(df),t(qh),t(ZVb,8))};mz.\u0275prov=yc({token:mz,factory:mz.\u0275fac,providedIn:"root"});var nz=function(a){a._applyBodyHighContrastModeCssClasses()};nz.\u0275fac=function(a){return new (a||nz)(t(hz))};nz.\u0275mod=Qc({type:nz});nz.\u0275inj=zc({imports:[lz]});var voa=0,oz=function(a,b){this._platform=b;this._messageRegistry=new Map;this._messagesContainer=null;this._id=""+voa++;this._document=a;this._id=Jc(UQb)+"-"+voa++};oz.prototype.describe=function(a,b,c){if(this._canBeDescribed(a,b)){var d=uoa(b,c);"string"!==typeof b?(woa(b,this._id),this._messageRegistry.set(d,{messageElement:b,referenceCount:0})):this._messageRegistry.has(d)||this._createMessageElement(b,c);this._isElementDescribedByMessage(a,d)||this._addMessageReference(a,d)}};
var pz=function(a,b,c,d){if(c&&a._isElementNode(b)){d=uoa(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)}};f=oz.prototype;
f.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()};
f._createMessageElement=function(a,b){var c=this._document.createElement("div");woa(c,this._id);c.textContent=a;b&&c.setAttribute("role",b);this._createMessagesContainer();this._messagesContainer.appendChild(c);this._messageRegistry.set(uoa(a,b),{messageElement:c,referenceCount:0})};f._deleteMessageElement=function(a){var b,c;null==(b=this._messageRegistry.get(a))||null==(c=b.messageElement)||c.remove();this._messageRegistry.delete(a)};
f._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}};
f._removeCdkDescribedByReferenceIds=function(a){var b=soa(a,"aria-describedby").filter(function(c){return 0!=c.indexOf("cdk-describedby-message")});a.setAttribute("aria-describedby",b.join(" "))};f._addMessageReference=function(a,b){b=this._messageRegistry.get(b);toa(a,"aria-describedby",b.messageElement.id);a.setAttribute("cdk-describedby-host",this._id);b.referenceCount++};
f._removeMessageReference=function(a,b){b=this._messageRegistry.get(b);b.referenceCount--;ph(a,"aria-describedby",b.messageElement.id);a.removeAttribute("cdk-describedby-host")};f._isElementDescribedByMessage=function(a,b){a=soa(a,"aria-describedby");b=(b=this._messageRegistry.get(b))&&b.messageElement.id;return!!b&&-1!=a.indexOf(b)};
f._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};f._isElementNode=function(a){return a.nodeType===this._document.ELEMENT_NODE};oz.\u0275fac=function(a){return new (a||oz)(t(qh),t(Rx))};oz.\u0275prov=yc({token:oz,factory:oz.\u0275fac,providedIn:"root"});var qz=function(a,b,c,d,e,g,h){Vx.call(this,a,b,c,d,h.defer);this._focusTrapManager=e;this._inertStrategy=g;this._focusTrapManager.register(this)};T(qz,Vx);qz.prototype.destroy=function(){this._focusTrapManager.deregister(this);Vx.prototype.destroy.call(this)};qz.prototype._enable=function(){aWb(this._inertStrategy,this);PTb(this,!0)};qz.prototype._disable=function(){var a=this._inertStrategy;a._listener&&(this._document.removeEventListener("focus",a._listener,!0),a._listener=null);PTb(this,!1)};
sh.Object.defineProperties(qz.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){(this._enabled=a)?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}}});var bWb=function(){this._listener=null},aWb=function(a,b){a._listener&&b._document.removeEventListener("focus",a._listener,!0);a._listener=function(c){return a._trapFocus(b,c)};b._ngZone.runOutsideAngular(function(){b._document.addEventListener("focus",a._listener,!0)})};bWb.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)&&Tx(a)})};var cWb=new ad("FOCUS_TRAP_INERT_STRATEGY");var rz=function(){this._focusTrapStack=[]};rz.prototype.register=function(a){var b=this._focusTrapStack=this._focusTrapStack.filter(function(c){return c!==a});b.length&&b[b.length-1]._disable();b.push(a);a._enable()};rz.prototype.deregister=function(a){a._disable();var b=this._focusTrapStack;a=b.indexOf(a);-1!==a&&(b.splice(a,1),b.length&&b[b.length-1]._enable())};rz.\u0275fac=function(a){return new (a||rz)};rz.\u0275prov=yc({token:rz,factory:rz.\u0275fac,providedIn:"root"});var sz=function(a,b,c,d,e){this._checker=a;this._ngZone=b;this._focusTrapManager=c;this._document=d;this._inertStrategy=e||new bWb};sz.prototype.create=function(a,b){b=void 0===b?{defer:!1}:b;var c;"boolean"===typeof b?c={defer:b}:c=b;return new qz(a,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,c)};sz.\u0275fac=function(a){return new (a||sz)(t(Sx),t(df),t(rz),t(qh),t(cWb,8))};sz.\u0275prov=yc({token:sz,factory:sz.\u0275fac,providedIn:"root"});var tz=function(a){var b=this;this._items=a;this._activeItemIndex=-1;this._activeItem=null;this._wrap=!1;this._letterKeyStream=new D.Subject;this._typeaheadSubscription=D.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 D.Subject;this.change=new D.Subject;a instanceof eg&&(this._itemChangesSubscription=a.changes.subscribe(function(c){b._activeItem&&
(c=c.toArray().indexOf(b._activeItem),-1<c&&c!==b._activeItemIndex&&(b._activeItemIndex=c))}))},uz=function(a,b){a._skipPredicateFn=b;return a},vz=function(a){a._wrap=!0;return a},wz=function(a,b){a._vertical=void 0===b?!0:b;return a},xz=function(a,b){a._horizontal=b;return a},dWb=function(a){a._allowedModifierKeys=["shiftKey"];return a},eWb=function(a,b){b=void 0===b?200:b;a._typeaheadSubscription.unsubscribe();a._typeaheadSubscription=a._letterKeyStream.pipe(bf(function(c){return a._pressedLetters.push(c)}),
Le(b),Ge(function(){return 0<a._pressedLetters.length}),C(function(){return a._pressedLetters.join("")})).subscribe(function(c){for(var d=a._getItemsArray(),e=1;e<d.length+1;e++){var g=(a._activeItemIndex+e)%d.length,h=d[g];if(!a._skipPredicateFn(h)&&0===h.getLabel().toUpperCase().trim().indexOf(c)){a.setActiveItem(g);break}}a._pressedLetters=[]});return a},yz=function(a){a._homeAndEnd=!0;return a},fWb=function(a){a._pageUpAndDown={enabled:!0,delta:10};return a};
tz.prototype.setActiveItem=function(a){var b=this._activeItem;zz(this,a);this._activeItem!==b&&this.change.next(this._activeItemIndex)};
tz.prototype.onKeydown=function(a){var b=this,c=a.keyCode,d=["altKey","ctrlKey","metaKey","shiftKey"].every(function(e){return!a[e]||-1<b._allowedModifierKeys.indexOf(e)});switch(c){case 9:this.tabOut.next();return;case 40:if(this._vertical&&d){this.setNextItemActive();break}else return;case 38:if(this._vertical&&d){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&d){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&
d){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&d){this._setActiveItemByIndex(0,1);break}else return;case 35:if(this._homeAndEnd&&d){gWb(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||Jg(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 gWb=function(a){a._setActiveItemByIndex(a._items.length-1,-1)};tz.prototype.setNextItemActive=function(){0>this._activeItemIndex?this._setActiveItemByIndex(0,1):this._setActiveItemByDelta(1)};
tz.prototype.setPreviousItemActive=function(){0>this._activeItemIndex&&this._wrap?gWb(this):this._setActiveItemByDelta(-1)};var zz=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};f=tz.prototype;
f.destroy=function(){this._typeaheadSubscription.unsubscribe();var a;null==(a=this._itemChangesSubscription)||a.unsubscribe();this._letterKeyStream.complete();this.tabOut.complete();this.change.complete();this._pressedLetters=[]};f._setActiveItemByDelta=function(a){this._wrap?this._setActiveInWrapMode(a):this._setActiveInDefaultMode(a)};
f._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}}};f._setActiveInDefaultMode=function(a){this._setActiveItemByIndex(this._activeItemIndex+a,a)};f._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)}};
f._getItemsArray=function(){return this._items instanceof eg?this._items.toArray():this._items};sh.Object.defineProperties(tz.prototype,{activeItemIndex:{configurable:!0,enumerable:!0,get:function(){return this._activeItemIndex}},activeItem:{configurable:!0,enumerable:!0,get:function(){return this._activeItem}}});var Az=function(){tz.apply(this,arguments)};T(Az,tz);Az.prototype.setActiveItem=function(a){this.activeItem&&this.activeItem.setInactiveStyles();tz.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.setActiveStyles()};var Bz=function(){tz.apply(this,arguments);this._origin="program"};T(Bz,tz);var hWb=function(a,b){a._origin=b;return a};Bz.prototype.setActiveItem=function(a){tz.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.focus(this._origin)};var iWb=new ad("cdk-dir-doc",{providedIn:"root",factory:xoa});var jWb=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,Cz=function(a){this.value="ltr";this.change=new kw;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)?jWb.test(navigator.language)?"rtl":"ltr":"rtl"===b?"rtl":"ltr"}};Cz.prototype.ngOnDestroy=function(){this.change.complete()};
Cz.\u0275fac=function(a){return new (a||Cz)(t(iWb,8))};Cz.\u0275prov=yc({token:Cz,factory:Cz.\u0275fac,providedIn:"root"});var Dz=function(){};Dz.\u0275fac=function(a){return new (a||Dz)};Dz.\u0275mod=Qc({type:Dz});Dz.\u0275inj=zc({});var Ez=function(a){this._attachedOverlays=[];this._document=a};Ez.prototype.ngOnDestroy=function(){this.detach()};Ez.prototype.add=function(a){this.remove(a);this._attachedOverlays.push(a)};Ez.prototype.remove=function(a){a=this._attachedOverlays.indexOf(a);-1<a&&this._attachedOverlays.splice(a,1);0===this._attachedOverlays.length&&this.detach()};Ez.\u0275fac=function(a){return new (a||Ez)(t(qh))};Ez.\u0275prov=yc({token:Ez,factory:Ez.\u0275fac,providedIn:"root"});var Fz=function(a,b){Ez.call(this,a);var c=this;this._ngZone=b;this._keydownListener=function(d){for(var e=c._attachedOverlays,g={},h=e.length-1;-1<h;g={$jscomp$loop$prop$keydownEvents$2291:g.$jscomp$loop$prop$keydownEvents$2291},h--)if(0<e[h]._keydownEvents.observers.length){g.$jscomp$loop$prop$keydownEvents$2291=e[h]._keydownEvents;c._ngZone?c._ngZone.run(function(l){return function(){return l.$jscomp$loop$prop$keydownEvents$2291.next(d)}}(g)):g.$jscomp$loop$prop$keydownEvents$2291.next(d);break}}};
T(Fz,Ez);Fz.prototype.add=function(a){var b=this;Ez.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)};Fz.prototype.detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)};
Fz.\u0275fac=function(a){return new (a||Fz)(t(qh),t(df,8))};Fz.\u0275prov=yc({token:Fz,factory:Fz.\u0275fac,providedIn:"root"});var Gz=function(a,b,c){Ez.call(this,a);var d=this;this._platform=b;this._ngZone=c;this._cursorStyleIsSet=!1;this._pointerDownListener=function(e){d._pointerDownEventTarget=Dg(e)};this._clickListener=function(e){var g=Dg(e),h="click"===e.type&&d._pointerDownEventTarget?d._pointerDownEventTarget:g;d._pointerDownEventTarget=null;for(var l=d._attachedOverlays.slice(),q={},v=l.length-1;-1<v;q={$jscomp$loop$prop$outsidePointerEvents$2293:q.$jscomp$loop$prop$outsidePointerEvents$2293},v--){var x=l[v];if(!(1>
x._outsidePointerEvents.observers.length)&&x.hasAttached()){if(x.overlayElement.contains(g)||x.overlayElement.contains(h))break;q.$jscomp$loop$prop$outsidePointerEvents$2293=x._outsidePointerEvents;d._ngZone?d._ngZone.run(function(A){return function(){return A.$jscomp$loop$prop$outsidePointerEvents$2293.next(e)}}(q)):q.$jscomp$loop$prop$outsidePointerEvents$2293.next(e)}}}};T(Gz,Ez);
Gz.prototype.add=function(a){var b=this;Ez.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}};
Gz.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}};
Gz.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)};Gz.\u0275fac=function(a){return new (a||Gz)(t(qh),t(Rx),t(df,8))};Gz.\u0275prov=yc({token:Gz,factory:Gz.\u0275fac,providedIn:"root"});var Hz=function(a,b){this._platform=b;this._document=a};Hz.prototype.ngOnDestroy=function(){var a;null==(a=this._containerElement)||a.remove()};var kWb=function(a){a._containerElement||a._createContainer();return a._containerElement};
Hz.prototype._createContainer=function(){if(this._platform.isBrowser||Kma())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");Kma()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._containerElement=a};
Hz.\u0275fac=function(a){return new (a||Hz)(t(qh),t(Rx))};Hz.\u0275prov=yc({token:Hz,factory:Hz.\u0275fac,providedIn:"root"});var lWb=Fma(),Iz=function(a,b){this._viewportRuler=a;this._previousHTMLStyles={top:"",left:""};this._isEnabled=!1;this._document=b};Iz.prototype.attach=function(){};
Iz.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=Gg(-this._previousScrollPosition.left);a.style.top=Gg(-this._previousScrollPosition.top);a.classList.add("cdk-global-scrollblock");this._isEnabled=!0}};
Iz.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");lWb&&(b.scrollBehavior=c.scrollBehavior="auto");window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top);lWb&&(b.scrollBehavior=d,c.scrollBehavior=e)}};
Iz.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 Jz=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()})}};Jz.prototype.attach=function(a){this._overlayRef=a};
Jz.prototype.enable=function(){var a=this;if(!this._scrollSubscription){var b=this._scrollDispatcher.scrolled(0).pipe(Ge(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)}};Jz.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};Jz.prototype.detach=function(){this.disable();this._overlayRef=null};var Kz=function(){};Kz.prototype.enable=function(){};Kz.prototype.disable=function(){};Kz.prototype.attach=function(){};var Lz=function(a,b,c,d){this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this._config=d;this._scrollSubscription=null};Lz.prototype.attach=function(a){this._overlayRef=a};
Lz.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;yoa(b,[{width:d,height:c,bottom:c,right:d,top:0,left:0}])&&(a.disable(),a._ngZone.run(function(){return a._overlayRef.detach()}))}}))};
Lz.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};Lz.prototype.detach=function(){this.disable();this._overlayRef=null};var mWb=new ad("VIRTUAL_SCROLL_STRATEGY");var Mz=function(a,b,c){this._ngZone=a;this._platform=b;this._scrolled=new D.Subject;this._globalSubscription=null;this._scrolledCount=0;this.scrollContainers=new Map;this._document=c};Mz.prototype.register=function(a){var b=this;this.scrollContainers.has(a)||this.scrollContainers.set(a,a._elementScrolled.subscribe(function(){return b._scrolled.next(a)}))};Mz.prototype.deregister=function(a){var b=this.scrollContainers.get(a);b&&(b.unsubscribe(),this.scrollContainers.delete(a))};
Mz.prototype.scrolled=function(a){var b=this;a=void 0===a?20:a;return this._platform.isBrowser?new D.Observable(function(c){b._globalSubscription||b._addGlobalListener();var d=0<a?b._scrolled.pipe(Je(a)).subscribe(c):b._scrolled.subscribe(c);b._scrolledCount++;return function(){d.unsubscribe();b._scrolledCount--;b._scrolledCount||b._removeGlobalListener()}}):(0,D.of)()};
Mz.prototype.ngOnDestroy=function(){var a=this;this._removeGlobalListener();this.scrollContainers.forEach(function(b,c){return a.deregister(c)});this._scrolled.complete()};var nWb=function(a,b){var c=[];a.scrollContainers.forEach(function(d,e){a._scrollableContainsElement(e,b)&&c.push(e)});return c};Mz.prototype._getWindow=function(){return this._document.defaultView||window};
Mz.prototype._scrollableContainsElement=function(a,b){b=Hg(b);a=a.elementRef.nativeElement;do if(b==a)return!0;while(b=b.parentElement);return!1};Mz.prototype._addGlobalListener=function(){var a=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return(0,D.fromEvent)(a._getWindow().document,"scroll").subscribe(function(){return a._scrolled.next()})})};
Mz.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)};Mz.\u0275fac=function(a){return new (a||Mz)(t(df),t(Rx),t(qh,8))};Mz.\u0275prov=yc({token:Mz,factory:Mz.\u0275fac,providedIn:"root"});var Nz=function(a,b,c,d){var e=this;this.elementRef=a;this.scrollDispatcher=b;this.ngZone=c;this.dir=d;this._destroyed=new D.Subject;this._elementScrolled=new D.Observable(function(g){return e.ngZone.runOutsideAngular(function(){return(0,D.fromEvent)(e.elementRef.nativeElement,"scroll").pipe(af(e._destroyed)).subscribe(g)})})};Nz.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)};Nz.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this);this._destroyed.next();this._destroyed.complete()};
Nz.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!=Hma()?(null!=a.left&&(a.right=b.scrollWidth-b.clientWidth-a.left),2==Hma()?a.left=a.right:1==Hma()&&(a.left=a.right?-a.right:a.right)):null!=a.right&&(a.left=b.scrollWidth-b.clientWidth-a.right);this._applyScrollToOptions(a)};
Nz.prototype._applyScrollToOptions=function(a){var b=this.elementRef.nativeElement;Fma()?b.scrollTo(a):(null!=a.top&&(b.scrollTop=a.top),null!=a.left&&(b.scrollLeft=a.left))};Nz.\u0275fac=function(a){return new (a||Nz)(B(Dd),B(Mz),B(df),B(Cz,8))};Nz.\u0275dir=Sc({type:Nz,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});var oWb=function(){},pWb=function(a,b,c,d){JSb(a,function(e,g,h){if(null==e.previousIndex){var l=c(e,g,h);l=b.createEmbeddedView(l.templateRef,l.context,l.index);g=1}else null==h?(b.remove(g),g=3):(l=b.get(g),b.move(l,h),g=2);if(d){var q;d({context:null==(q=l)?void 0:q.context,operation:g,record:e})}})};oWb.prototype.detach=function(){};var Oz=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 D.Subject;b&&b.length&&(a?b.forEach(function(g){return e._markSelected(g)}):this._markSelected(b[0]),this._selectedToEmit.length=0)};f=Oz.prototype;
f.select=function(){var a=this;Zc.apply(0,arguments).forEach(function(c){return a._markSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};f.deselect=function(){var a=this;Zc.apply(0,arguments).forEach(function(c){return a._unmarkSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};f.toggle=function(a){return this.isSelected(a)?this.deselect(a):this.select(a)};
f.clear=function(a){a=void 0===a?!0:a;this._unmarkAll();var b=this._hasQueuedChanges();a&&this._emitChangeEvent();return b};f.isSelected=function(a){return this._selection.has(this._getConcreteValue(a))};f.isEmpty=function(){return 0===this._selection.size};f.hasValue=function(){return!this.isEmpty()};f.sort=function(a){this._multiple&&this.selected&&this._selected.sort(a)};
f._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=[]};f._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))};
f._unmarkSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)&&(this._selection.delete(a),this._emitChanges&&this._deselectedToEmit.push(a))};f._unmarkAll=function(){var a=this;this.isEmpty()||this._selection.forEach(function(b){return a._unmarkSelected(b)})};f._verifyValueAssignment=function(){};f._hasQueuedChanges=function(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)};
f._getConcreteValue=function(a){if(this.compareWith)for(var b=k(this._selection),c=b.next();!c.done;c=b.next())if(c=c.value,this.compareWith(a,c))return c;return a};sh.Object.defineProperties(Oz.prototype,{selected:{configurable:!0,enumerable:!0,get:function(){this._selected||(this._selected=Array.from(this._selection.values()));return this._selected}}});var Pz=function(){this._listeners=[]};Pz.prototype.notify=function(a,b){for(var c=k(this._listeners),d=c.next();!d.done;d=c.next())d=d.value,d(a,b)};Pz.prototype.listen=function(a){var b=this;this._listeners.push(a);return function(){b._listeners=b._listeners.filter(function(c){return a!==c})}};Pz.prototype.ngOnDestroy=function(){this._listeners=[]};Pz.\u0275fac=function(a){return new (a||Pz)};Pz.\u0275prov=yc({token:Pz,factory:Pz.\u0275fac,providedIn:"root"});var qWb=new ad("_ViewRepeater");var Qz=function(a,b,c){var d=this;this._platform=a;this._change=new D.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})})};f=Qz.prototype;
f.ngOnDestroy=function(){if(this._platform.isBrowser){var a=this._getWindow();a.removeEventListener("resize",this._changeListener);a.removeEventListener("orientationchange",this._changeListener)}this._change.complete()};f.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var a={width:this._viewportSize.width,height:this._viewportSize.height};this._platform.isBrowser||(this._viewportSize=null);return a};
f.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}};f.change=function(a){a=void 0===a?20:a;return 0<a?this._change.pipe(Je(a)):this._change};f._getWindow=function(){return this._document.defaultView||window};
f._updateViewportSize=function(){var a=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:a.innerWidth,height:a.innerHeight}:{width:0,height:0}};Qz.\u0275fac=function(a){return new (a||Qz)(t(Rx),t(df),t(qh,8))};Qz.\u0275prov=yc({token:Qz,factory:Qz.\u0275fac,providedIn:"root"});var rWb=new ad("VIRTUAL_SCROLLABLE"),Rz=function(a,b,c,d){Nz.call(this,a,b,c,d)};T(Rz,Nz);Rz.\u0275fac=function(a){return new (a||Rz)(B(Dd),B(Mz),B(df),B(Cz,8))};Rz.\u0275dir=Sc({type:Rz,features:[kf]});var sWb=["contentWrapper"],tWb="undefined"!==typeof requestAnimationFrame?D.animationFrameScheduler:D.asapScheduler,Sz=function(a,b,c,d,e,g,h,l){Nz.call(this,a,g,c,e);var q=this;this.elementRef=a;this._changeDetectorRef=b;this._scrollStrategy=d;this.scrollable=l;this._platform=Jc(Rx);this._detachedSubject=new D.Subject;this._renderedRangeSubject=new D.Subject;this._orientation="vertical";this._appendOnly=!1;this.scrolledIndexChange=new D.Observable(function(v){return q._scrollStrategy.scrolledIndexChange.subscribe(function(x){return Promise.resolve().then(function(){return q.ngZone.run(function(){return v.next(x)})})})});
this._totalContentSize=0;this._totalContentHeight=this._totalContentWidth="";this._renderedRange={start:0,end:0};this._renderedContentOffset=this._viewportSize=this._dataLength=0;this._isChangeDetectionPending=this._renderedContentOffsetNeedsRewrite=!1;this._runAfterChangeDetection=[];this._viewportChanges=D.Subscription.EMPTY;this._viewportChanges=h.change().subscribe(function(){q._measureViewportSize();q._scrollStrategy.onDataLengthChanged()});this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),
this.scrollable=this)};T(Sz,Rz);Sz.\u0275dir=Rz.\u0275dir;f=Sz.prototype;f.ngOnInit=function(){var a=this;this._platform.isBrowser&&(this.scrollable===this&&Rz.prototype.ngOnInit.call(this),this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){a._measureViewportSize();a._scrollStrategy.attach(a);a.scrollable._elementScrolled.pipe(Ze(null),Je(0,tWb)).subscribe(function(){return a._scrollStrategy.onContentScrolled()});a._markChangeDetectionNeeded()})}))};
f.ngOnDestroy=function(){this.detach();this._scrollStrategy.detach();this._renderedRangeSubject.complete();this._detachedSubject.complete();this._viewportChanges.unsubscribe();Rz.prototype.ngOnDestroy.call(this)};f.attach=function(a){var b=this;this.ngZone.runOutsideAngular(function(){b._forOf=a;b._forOf.dataStream.pipe(af(b._detachedSubject)).subscribe(function(c){c=c.length;c!==b._dataLength&&(b._dataLength=c,b._scrollStrategy.onDataLengthChanged());b._doChangeDetection()})})};
f.detach=function(){this._forOf=null;this._detachedSubject.next()};f.getViewportSize=function(){return this._viewportSize};f._measureViewportSize=function(){var a=this.scrollable.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?a.clientWidth:a.clientHeight};f._markChangeDetectionNeeded=function(a){var b=this;a&&this._runAfterChangeDetection.push(a);this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){b._doChangeDetection()})}))};
f._doChangeDetection=function(){var a=this;this._isChangeDetectionPending=!1;this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform;this.ngZone.run(function(){return a._changeDetectorRef.markForCheck()});var b=this._runAfterChangeDetection;this._runAfterChangeDetection=[];b=k(b);for(var c=b.next();!c.done;c=b.next())c=c.value,c()};
f._calculateSpacerSize=function(){this._totalContentHeight="horizontal"===this.orientation?"":"0px";this._totalContentWidth="horizontal"===this.orientation?"0px":""};sh.Object.defineProperties(Sz.prototype,{orientation:{configurable:!0,enumerable:!0,get:function(){return this._orientation},set:function(a){this._orientation!==a&&(this._orientation=a,this._calculateSpacerSize())}},appendOnly:{configurable:!0,enumerable:!0,get:function(){return this._appendOnly},set:function(a){this._appendOnly=Fg(a)}}});
Sz.\u0275fac=function(a){return new (a||Sz)(B(Dd),B(Kw),B(df),B(mWb,8),B(Cz,8),B(Mz),B(Qz),B(rWb,8))};
Sz.\u0275cmp=Oc({type:Sz,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(a,b){a&1&&bg(sWb,7);if(a&2){var c;ag(c=dg())&&(b._contentWrapper=c.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(a,b){a&2&&xf("cdk-virtual-scroll-orientation-horizontal","horizontal"===b.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==b.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},
standalone:!0,features:[Of([{provide:Nz,useFactory:function(a,b){return a||b},deps:[[new ov,new MQb(rWb)],Sz]}]),kf,Hka],ngContentSelectors:["*"],decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(a,b){a&1&&(Ff(),F(0,"div",0,1),Gf(2),H(),I(3,"div",2));a&2&&(z(3),wf("width",b._totalContentWidth)("height",b._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}\n"],
encapsulation:2,changeDetection:0});var Tz=function(){};Tz.\u0275fac=function(a){return new (a||Tz)};Tz.\u0275mod=Qc({type:Tz});Tz.\u0275inj=zc({});var Uz=function(){};Uz.\u0275fac=function(a){return new (a||Uz)};Uz.\u0275mod=Qc({type:Uz});Uz.\u0275inj=zc({imports:[Dz,Tz,Dz,Tz]});var Vz=function(a,b,c,d){var e=this;this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this.noop=function(){return new Kz};this.close=function(g){return new Jz(e._scrollDispatcher,e._ngZone,e._viewportRuler,g)};this.block=function(){return new Iz(e._viewportRuler,e._document)};this.reposition=function(g){return new Lz(e._scrollDispatcher,e._viewportRuler,e._ngZone,g)};this._document=d};Vz.\u0275fac=function(a){return new (a||Vz)(t(Mz),t(Qz),t(df),t(qh))};
Vz.\u0275prov=yc({token:Vz,factory:Vz.\u0275fac,providedIn:"root"});var Wz=function(a){this.scrollStrategy=new Kz;this.panelClass="";this.hasBackdrop=!1;this.backdropClass="cdk-overlay-dark-backdrop";this.disposeOnNavigation=!1;if(a){var b=Object.keys(a);b=k(b);for(var c=b.next();!c.done;c=b.next())c=c.value,void 0!==a[c]&&(this[c]=a[c])}};var Xz=function(a,b,c,d,e,g,h,l,q,v){var x=this;v=void 0===v?!1:v;this._portalOutlet=a;this._host=b;this._pane=c;this._config=d;this._ngZone=e;this._keyboardDispatcher=g;this._document=h;this._location=l;this._outsideClickDispatcher=q;this._animationsDisabled=v;this._backdropElement=null;this._backdropClick=new D.Subject;this._attachments=new D.Subject;this._detachments=new D.Subject;this._locationChanges=D.Subscription.EMPTY;this._backdropClickHandler=function(A){return x._backdropClick.next(A)};
this._backdropTransitionendHandler=function(A){x._disposeBackdrop(A.target)};this._keydownEvents=new D.Subject;this._outsidePointerEvents=new D.Subject;d.scrollStrategy&&(this._scrollStrategy=d.scrollStrategy,this._scrollStrategy.attach(this));this._positionStrategy=d.positionStrategy};f=Xz.prototype;
f.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(Oe()).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};f.detach=function(){if(this.hasAttached()){uWb(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}};
f.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()};f.hasAttached=function(){return this._portalOutlet.hasAttached()};f.backdropClick=function(){return this._backdropClick};f.attachments=function(){return this._attachments};f.keydownEvents=function(){return this._keydownEvents};f.outsidePointerEvents=function(){return this._outsidePointerEvents};f.getConfig=function(){return this._config};f.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()};
f.updateSize=function(a){this._config=Object.assign({},this._config,a);this._updateElementSize()};f.setDirection=function(a){this._config=Object.assign({},this._config,{direction:a});this._updateElementDirection()};f.addPanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!0)};f.removePanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!1)};f.getDirection=function(){var a=this._config.direction;return a?"string"===typeof a?a:a.value:"ltr"};
f._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())};f._updateElementSize=function(){if(this._pane){var a=this._pane.style;a.width=Gg(this._config.width);a.height=Gg(this._config.height);a.minWidth=Gg(this._config.minWidth);a.minHeight=Gg(this._config.minHeight);a.maxWidth=Gg(this._config.maxWidth);a.maxHeight=Gg(this._config.maxHeight)}};f._togglePointerEvents=function(a){this._pane.style.pointerEvents=a?"":"none"};
f._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")})})};f._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)};
var uWb=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)})))};
Xz.prototype._toggleClasses=function(a,b,c){b=Eg(b||[]).filter(function(d){return!!d});b.length&&(c?a.classList.add.apply(a.classList,cd(b)):a.classList.remove.apply(a.classList,cd(b)))};
Xz.prototype._detachContentWhenStable=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._ngZone.onStable.pipe(af((0,D.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())})})};
Xz.prototype._disposeScrollStrategy=function(){var a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())};Xz.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)};
sh.Object.defineProperties(Xz.prototype,{overlayElement:{configurable:!0,enumerable:!0,get:function(){return this._pane}},hostElement:{configurable:!0,enumerable:!0,get:function(){return this._host}}});var vWb=function(a,b){this.connectionPair=a;this.scrollableViewProperties=b};var Boa=/([A-Za-z%]+)$/,Yz=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 D.Subject;this._resizeSubscription=D.Subscription.EMPTY;this._offsetY=this._offsetX=0;this._appliedPanelClasses=[];this.positionChanges=
this._positionChanges;this.setOrigin(a)};Yz.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()})};
Yz.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)wWb(this);else{this._clearPanelClasses();this._resetOverlayElementStyles();this._resetBoundingBoxStyles();this._viewportRect=this._getNarrowedViewportRect();this._originRect=this._getOriginRect();this._overlayRect=this._pane.getBoundingClientRect();this._containerRect=kWb(this._overlayContainer).getBoundingClientRect();for(var a=this._originRect,b=this._overlayRect,
c=this._viewportRect,d=this._containerRect,e=[],g,h=k(this._preferredPositions),l=h.next();!l.done;l=h.next()){l=l.value;var q=this._getOriginPoint(a,d,l),v=this._getOverlayPoint(q,b,l),x=this._getOverlayFit(v,b,c,l);if(x.isCompletelyWithinViewport){this._isPushed=!1;this._applyPosition(l,q);return}if(this._canFitWithFlexibleDimensions(x,v,c))e.push({position:l,origin:q,overlayRect:b,boundingBoxRect:this._calculateBoundingBoxRect(q,l)});else if(!g||g.overlayFit.visibleArea<x.visibleArea)g={overlayFit:x,
overlayPoint:v,originPoint:q,position:l,overlayRect:b}}if(e.length){a=null;b=-1;e=k(e);for(c=e.next();!c.done;c=e.next())c=c.value,d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1),d>b&&(b=d,a=c);this._isPushed=!1;this._applyPosition(a.position,a.origin)}else this._canPush&&(this._isPushed=!0),this._applyPosition(g.position,g.originPoint)}};Yz.prototype.detach=function(){this._clearPanelClasses();this._previousPushAmount=this._lastPosition=null;this._resizeSubscription.unsubscribe()};
Yz.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&rh(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)};
var wWb=function(a){if(!a._isDisposed&&a._platform.isBrowser){var b=a._lastPosition;if(b){a._originRect=a._getOriginRect();a._overlayRect=a._pane.getBoundingClientRect();a._viewportRect=a._getNarrowedViewportRect();a._containerRect=kWb(a._overlayContainer).getBoundingClientRect();var c=a._getOriginPoint(a._originRect,a._containerRect,b);a._applyPosition(b,c)}else a.apply()}},xWb=function(a,b){a._scrollables=b;return a},Zz=function(a,b){a._preferredPositions=b;-1===b.indexOf(a._lastPosition)&&(a._lastPosition=
null);return a},$z=function(a,b){a._viewportMargin=b;return a},aA=function(a,b){a._hasFlexibleDimensions=void 0===b?!0:b;return a},yWb=function(a,b){a._growAfterOpen=void 0===b?!0:b;return a},zWb=function(a,b){a._canPush=void 0===b?!0:b;return a},AWb=function(a,b){a._positionLocked=void 0===b?!0:b;return a};Yz.prototype.setOrigin=function(a){this._origin=a;return this};var BWb=function(a,b){a._transformOriginSelector=b;return a};f=Yz.prototype;
f._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}};
f._getOverlayPoint=function(a,b,c){var d="center"==c.overlayX?-b.width/2:"start"===c.overlayX?this._isRtl()?-b.width:0:this._isRtl()?0:-b.width;return{x:a.x+d,y:a.y+("center"==c.overlayY?-b.height/2:"top"==c.overlayY?0:-b.height)}};
f._getOverlayFit=function(a,b,c,d){b=Doa(b);var e=a.x;a=a.y;var g=this._getOffset(d,"x");d=this._getOffset(d,"y");g&&(e+=g);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}};
f._canFitWithFlexibleDimensions=function(a,b,c){if(this._hasFlexibleDimensions){var d=c.bottom-b.y;c=c.right-b.x;b=Coa(this._overlayRef.getConfig().minHeight);var e=Coa(this._overlayRef.getConfig().minWidth);c=a.fitsInViewportHorizontally||null!=e&&e<=c;return(a.fitsInViewportVertically||null!=b&&b<=d)&&c}return!1};
f._pushOverlayOnScreen=function(a,b,c){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};b=Doa(b);var d=this._viewportRect,e=Math.max(a.x+b.width-d.width,0),g=Math.max(a.y+b.height-d.height,0),h=Math.max(d.top-c.top-a.y,0),l=Math.max(d.left-c.left-a.x,0);e=b.width<=d.width?l||-e:a.x<this._viewportMargin?d.left-c.left-a.x:0;c=b.height<=d.height?h||-g: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}};f._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 vWb(a,b)));this._isInitialRender=!1};
f._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}};
f._calculateBoundingBoxRect=function(a,b){var c=this._viewportRect,d=this._isRtl();if("top"===b.overlayY){var e=a.y;var g=c.height-e+this._viewportMargin}else if("bottom"===b.overlayY){var h=c.height-a.y+2*this._viewportMargin;g=c.height-h+this._viewportMargin}else{e=Math.min(c.bottom-a.y+c.top,a.y);var l=this._lastBoundingBoxSize.height;g=2*e;e=a.y-e;g>l&&!this._isInitialRender&&!this._growAfterOpen&&(e=a.y-l/2)}l="start"===b.overlayX&&!d||"end"===b.overlayX&&d;if("end"===b.overlayX&&!d||"start"===
b.overlayX&&d){var q=c.width-a.x+this._viewportMargin;b=a.x-this._viewportMargin}else if(l){var v=a.x;b=c.right-a.x}else v=Math.min(c.right-a.x+c.left,a.x),c=this._lastBoundingBoxSize.width,b=2*v,v=a.x-v,b>c&&!this._isInitialRender&&!this._growAfterOpen&&(v=a.x-c/2);return{top:e,left:v,bottom:h,right:q,width:b,height:g}};
f._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=Gg(a.height);c.top=Gg(a.top);c.bottom=Gg(a.bottom);
c.width=Gg(a.width);c.left=Gg(a.left);c.right=Gg(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=Gg(d));e&&(c.maxWidth=Gg(e))}this._lastBoundingBoxSize=a;rh(this._boundingBox.style,c)};f._resetBoundingBoxStyles=function(){rh(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})};
f._resetOverlayElementStyles=function(){rh(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})};
f._setOverlayElementStyles=function(a,b){var c={},d=this._hasExactPosition(),e=this._hasFlexibleDimensions,g=this._overlayRef.getConfig();if(d){var h=this._viewportRuler.getViewportScrollPosition();rh(c,this._getExactOverlayY(b,a,h));rh(c,this._getExactOverlayX(b,a,h))}else c.position="static";a="";h=this._getOffset(b,"x");b=this._getOffset(b,"y");h&&(a+="translateX("+h+"px) ");b&&(a+="translateY("+b+"px)");c.transform=a.trim();g.maxHeight&&(d?c.maxHeight=Gg(g.maxHeight):e&&(c.maxHeight=""));g.maxWidth&&
(d?c.maxWidth=Gg(g.maxWidth):e&&(c.maxWidth=""));rh(this._pane.style,c)};f._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=Gg(b.y);return d};
f._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=Gg(b.x);return d};
f._getScrollVisibility=function(){var a=this._getOriginRect(),b=this._pane.getBoundingClientRect(),c=this._scrollables.map(function(d){return d.elementRef.nativeElement.getBoundingClientRect()});return{isOriginClipped:zoa(a,c),isOriginOutsideView:yoa(a,c),isOverlayClipped:zoa(b,c),isOverlayOutsideView:yoa(b,c)}};f._subtractOverflows=function(a){return Zc.apply(1,arguments).reduce(function(b,c){return b-Math.max(c,0)},a)};
f._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}};f._isRtl=function(){return"rtl"===this._overlayRef.getDirection()};
f._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed};f._getOffset=function(a,b){return"x"===b?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY};f._validatePositions=function(){};f._addPanelClasses=function(a){var b=this;this._pane&&Eg(a).forEach(function(c){""!==c&&-1===b._appliedPanelClasses.indexOf(c)&&(b._appliedPanelClasses.push(c),b._pane.classList.add(c))})};
f._clearPanelClasses=function(){var a=this;this._pane&&(this._appliedPanelClasses.forEach(function(b){a._pane.classList.remove(b)}),this._appliedPanelClasses=[])};f._getOriginRect=function(){var a=this._origin;if(a instanceof Dd)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}};
sh.Object.defineProperties(Yz.prototype,{positions:{configurable:!0,enumerable:!0,get:function(){return this._preferredPositions}}});var CWb=function(){this._cssPosition="static";this._height=this._width=this._xOffset=this._xPosition=this._alignItems=this._bottomOffset=this._topOffset="";this._isDisposed=!1};f=CWb.prototype;f.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};
f.top=function(a){this._bottomOffset="";this._topOffset=void 0===a?"":a;this._alignItems="flex-start";return this};f.left=function(a){this._xOffset=void 0===a?"":a;this._xPosition="left";return this};f.bottom=function(a){this._topOffset="";this._bottomOffset=void 0===a?"":a;this._alignItems="flex-end";return this};f.right=function(a){this._xOffset=void 0===a?"":a;this._xPosition="right";return this};f.start=function(a){this._xOffset=void 0===a?"":a;this._xPosition="start";return this};
f.end=function(a){this._xOffset=void 0===a?"":a;this._xPosition="end";return this};f.width=function(a){a=void 0===a?"":a;this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a;return this};f.height=function(a){a=void 0===a?"":a;this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a;return this};var DWb=function(a){a.left("");a._xPosition="center";return a},EWb=function(a){a.top("");a._alignItems="center";return a};
CWb.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,g=c.maxWidth;c=c.maxHeight;d=("100%"===d||"100vw"===d)&&(!g||"100%"===g||"100vw"===g);e=("100%"===e||"100vh"===e)&&(!c||"100%"===c||"100vh"===c);g=this._xPosition;c=this._xOffset;var h="rtl"===this._overlayRef.getConfig().direction,l="",q="",v="";if(d)v="flex-start";else if("center"===
g)v="center",h?q=c:l=c;else if(h)if("left"===g||"end"===g)v="flex-end",l=c;else{if("right"===g||"start"===g)v="flex-start",q=c}else if("left"===g||"start"===g)v="flex-start",l=c;else if("right"===g||"end"===g)v="flex-end",q=c;a.position=this._cssPosition;a.marginLeft=d?"0":l;a.marginTop=e?"0":this._topOffset;a.marginBottom=this._bottomOffset;a.marginRight=d?"0":q;b.justifyContent=v;b.alignItems=e?"flex-start":this._alignItems}};
CWb.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 bA=function(a,b,c,d){this._viewportRuler=a;this._document=b;this._platform=c;this._overlayContainer=d};bA.prototype.global=function(){return new CWb};var cA=function(a,b){return new Yz(b,a._viewportRuler,a._document,a._platform,a._overlayContainer)};bA.\u0275fac=function(a){return new (a||bA)(t(Qz),t(qh),t(Rx),t(Hz))};bA.\u0275prov=yc({token:bA,factory:bA.\u0275fac,providedIn:"root"});var FWb=0,dA=function(a,b,c,d,e,g,h,l,q,v,x,A){this.scrollStrategies=a;this._overlayContainer=b;this._componentFactoryResolver=c;this._positionBuilder=d;this._keyboardDispatcher=e;this._injector=g;this._ngZone=h;this._document=l;this._directionality=q;this._location=v;this._outsideClickDispatcher=x;this._animationsModuleType=A};f=dA.prototype;
f.create=function(a){var b=this._createHostElement(),c=this._createPaneElement(b),d=this._createPortalOutlet(c);a=new Wz(a);a.direction=a.direction||this._directionality.value;return new Xz(d,b,c,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)};f.position=function(){return this._positionBuilder};
f._createPaneElement=function(a){var b=this._document.createElement("div");b.id="cdk-overlay-"+FWb++;b.classList.add("cdk-overlay-pane");a.appendChild(b);return b};f._createHostElement=function(){var a=this._document.createElement("div");kWb(this._overlayContainer).appendChild(a);return a};f._createPortalOutlet=function(a){this._appRef||(this._appRef=this._injector.get(Iw));return new iy(a,this._componentFactoryResolver,this._appRef,this._injector,this._document)};
dA.\u0275fac=function(a){return new (a||dA)(t(Vz),t(Hz),t(tv),t(bA),t(Fz),t(sv),t(df),t(qh),t(Cz),t(mx),t(Gz),t(wv,8))};dA.\u0275prov=yc({token:dA,factory:dA.\u0275fac,providedIn:"root"});var GWb=[{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"}],HWb=new ad("cdk-connected-overlay-scroll-strategy"),eA=function(a){this.elementRef=a};eA.\u0275fac=function(a){return new (a||eA)(B(Dd))};
eA.\u0275dir=Sc({type:eA,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});
var fA=function(a,b,c,d,e){this._overlay=a;this._dir=e;this._push=this._flexibleDimensions=this._growAfterOpen=this._lockPosition=this._hasBackdrop=!1;this._positionSubscription=this._detachSubscription=this._attachSubscription=this._backdropSubscription=D.Subscription.EMPTY;this.viewportMargin=0;this.disableClose=this.open=!1;this.backdropClick=new kw;this.positionChange=new kw;this.attach=new kw;this.detach=new kw;this.overlayKeydown=new kw;this.overlayOutsideClick=new kw;this._templatePortal=new gy(b,
c);this._scrollStrategyFactory=d;this.scrollStrategy=this._scrollStrategyFactory()};f=fA.prototype;f.ngOnDestroy=function(){this._attachSubscription.unsubscribe();this._detachSubscription.unsubscribe();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe();this._overlayRef&&this._overlayRef.dispose()};
f.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())};
f._createOverlay=function(){var a=this;this.positions&&this.positions.length||(this.positions=GWb);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||Jg(c)||(c.preventDefault(),a._detachOverlay())});this._overlayRef.outsidePointerEvents().subscribe(function(c){a.overlayOutsideClick.next(c)})};
f._buildConfig=function(){var a=this._position=this.positionStrategy||this._createPositionStrategy();a=new Wz({direction:this._dir,positionStrategy:a,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});if(this.width||0===this.width)a.width=this.width;if(this.height||0===this.height)a.height=this.height;if(this.minWidth||0===this.minWidth)a.minWidth=this.minWidth;if(this.minHeight||0===this.minHeight)a.minHeight=this.minHeight;this.backdropClass&&(a.backdropClass=this.backdropClass);
this.panelClass&&(a.panelClass=this.panelClass);return a};
f._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 BWb(AWb($z(yWb(zWb(aA(Zz(a.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()),c),this.flexibleDimensions),this.push),this.growAfterOpen),this.viewportMargin),this.lockPosition),this.transformOriginSelector)};
f._createPositionStrategy=function(){var a=cA(this._overlay.position(),this._getFlexibleConnectedPositionStrategyOrigin());this._updatePositionStrategy(a);return a};f._getFlexibleConnectedPositionStrategyOrigin=function(){return this.origin instanceof eA?this.origin.elementRef:this.origin};
f._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(oja(function(){return 0<
a.positionChange.observers.length})).subscribe(function(b){a.positionChange.emit(b);0===a.positionChange.observers.length&&a._positionSubscription.unsubscribe()}))};f._detachOverlay=function(){this._overlayRef&&this._overlayRef.detach();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe()};
sh.Object.defineProperties(fA.prototype,{offsetX:{configurable:!0,enumerable:!0,get:function(){return this._offsetX},set:function(a){this._offsetX=a;this._position&&this._updatePositionStrategy(this._position)}},offsetY:{configurable:!0,enumerable:!0,get:function(){return this._offsetY},set:function(a){this._offsetY=a;this._position&&this._updatePositionStrategy(this._position)}},hasBackdrop:{configurable:!0,enumerable:!0,get:function(){return this._hasBackdrop},set:function(a){this._hasBackdrop=
Fg(a)}},lockPosition:{configurable:!0,enumerable:!0,get:function(){return this._lockPosition},set:function(a){this._lockPosition=Fg(a)}},flexibleDimensions:{configurable:!0,enumerable:!0,get:function(){return this._flexibleDimensions},set:function(a){this._flexibleDimensions=Fg(a)}},growAfterOpen:{configurable:!0,enumerable:!0,get:function(){return this._growAfterOpen},set:function(a){this._growAfterOpen=Fg(a)}},push:{configurable:!0,enumerable:!0,get:function(){return this._push},set:function(a){this._push=
Fg(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"}}});fA.\u0275fac=function(a){return new (a||fA)(B(dA),B(Yf),B(Zf),B(HWb),B(Cz,8))};
fA.\u0275dir=Sc({type:fA,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth",
"minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],
hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],
standalone:!0,features:[gd]});var IWb={provide:HWb,deps:[dA],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};var gA=function(){};gA.\u0275fac=function(a){return new (a||gA)};gA.\u0275mod=Qc({type:gA});gA.\u0275inj=zc({providers:[dA,IWb],imports:[Dz,ly,Uz,Uz]});new Av;new Av;var JWb=new ad("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),hA=function(a,b,c){this._sanityChecks=b;this._document=c;this._hasDoneGlobalChecks=!1;a._applyBodyHighContrastModeCssClasses();this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)};hA.prototype._checkIsEnabled=function(a){return Kma()?!1:"boolean"===typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[a]};hA.\u0275fac=function(a){return new (a||hA)(t(hz),t(JWb,8),t(qh))};hA.\u0275mod=Qc({type:hA});
hA.\u0275inj=zc({imports:[Dz,Dz]});new ad("MAT_DATE_LOCALE",{providedIn:"root",factory:Goa});var iA=function(){this.localeChanges=this._localeChanges=new D.Subject},kA=function(a,b){return jA(b)&&a.isValid(b)?b:null};iA.prototype.deserialize=function(a){return null==a||jA(a)&&this.isValid(a)?a:this.invalid()};iA.prototype.setLocale=function(a){this.locale=a;this._localeChanges.next()};var lA=function(a,b,c){return a.getYear(b)-a.getYear(c)||a.getMonth(b)-a.getMonth(c)||a.getDate(b)-a.getDate(c)};
iA.prototype.sameDate=function(a,b){if(a&&b){var c=this.isValid(a),d=this.isValid(b);return c&&d?!lA(this,a,b):c==d}return a==b};var KWb=function(a,b,c,d){return c&&0>lA(a,b,c)?c:d&&0<lA(a,b,d)?d:b};var mA=new ad("mat-date-formats");var nA=function(){};nA.prototype.isErrorState=function(a,b){return!!(a&&a.invalid&&(a.touched||b&&b.submitted))};nA.\u0275fac=function(a){return new (a||nA)};nA.\u0275prov=yc({token:nA,factory:nA.\u0275fac,providedIn:"root"});var oA=function(){};oA.\u0275fac=function(a){return new (a||oA)};oA.\u0275dir=Sc({type:oA,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]});var pA=function(){};pA.\u0275fac=function(a){return new (a||pA)};pA.\u0275mod=Qc({type:pA});pA.\u0275inj=zc({imports:[hA,hA]});var LWb=new ad("MAT_OPTION_PARENT_COMPONENT");vh(function(){});var MWb=new ad("MatOptgroup");var NWb=Ag({passive:!0,capture:!0}),PWb=function(a,b,c,d){var e=OWb,g=e._events.get(b);g?(a=g.get(c))?a.add(d):g.set(c,new Set([d])):(e._events.set(b,new Map([[c,new Set([d])]])),a.runOutsideAngular(function(){document.addEventListener(b,e._delegateEventHandler,NWb)}))};var QWb=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 RWb={enterDuration:225,exitDuration:150},SWb=Ag({passive:!0,capture:!0}),TWb=["mousedown","touchstart"],UWb=["mouseup","mouseleave","touchend","touchcancel"],VWb=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=Hg(c))},WWb=function(a,b,c,d){d=void 0===d?{}:d;var e=a._containerRect=a._containerRect||a._containerElement.getBoundingClientRect(),g=Object.assign({},
RWb,d.animation);d.centered&&(b=e.left+e.width/2,c=e.top+e.height/2);var h=d.radius||Ioa(b,c,e);b-=e.left;var l=c-e.top;c=g.enterDuration;var q=document.createElement("div");q.classList.add("mat-ripple-element");q.style.left=b-h+"px";q.style.top=l-h+"px";q.style.height=2*h+"px";q.style.width=2*h+"px";null!=d.color&&(q.style.backgroundColor=d.color);q.style.transitionDuration=c+"ms";a._containerElement.appendChild(q);h=window.getComputedStyle(q);b=h.transitionDuration;e="none"===h.transitionProperty||
"0s"===b||"0s, 0s"===b||0===e.width&&0===e.height;var v=new QWb(a,q,d,e);q.style.transform="scale3d(1, 1, 1)";v.state=0;d.persistent||(a._mostRecentTransientRipple=v);var x=null;e||!c&&!g.exitDuration||a._ngZone.runOutsideAngular(function(){var A=function(){return a._finishRippleTransition(v)},G=function(){return a._destroyRipple(v)};q.addEventListener("transitionend",A);q.addEventListener("transitioncancel",G);x={onTransitionEnd:A,onTransitionCancel:G}});a._activeRipples.set(v,x);!e&&c||a._finishRippleTransition(v);
return v},XWb=function(a,b){if(2!==b.state&&3!==b.state){var c=b.element,d=Object.assign({},RWb,b.config.animation);c.style.transitionDuration=d.exitDuration+"ms";c.style.opacity="0";b.state=2;!b._animationForciblyDisabledThroughCss&&d.exitDuration||a._finishRippleTransition(b)}};VWb.prototype.fadeOutAllNonPersistent=function(){this._getActiveRipples().forEach(function(a){a.config.persistent||XWb(a._renderer,a)})};
var YWb=function(a,b){var c=Hg(b);a._platform.isBrowser&&c&&c!==a._triggerElement&&(a._removeTriggerEvents(),a._triggerElement=c,TWb.forEach(function(d){PWb(a._ngZone,d,c,a)}))};f=VWb.prototype;
f.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(){UWb.forEach(function(c){b._triggerElement.addEventListener(c,b,SWb)})}),this._pointerUpEventsRegistered=!0)};f._finishRippleTransition=function(a){0===a.state?this._startFadeOutTransition(a):2===a.state&&this._destroyRipple(a)};
f._startFadeOutTransition=function(a){var b=a===this._mostRecentTransientRipple,c=a.config.persistent;a.state=1;c||b&&this._isPointerDown||XWb(a._renderer,a)};
f._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()};
f._onMousedown=function(a){var b=Oma(a),c=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||b||c||(this._isPointerDown=!0,WWb(this,a.clientX,a.clientY,this._target.rippleConfig))};f._onTouchStart=function(a){if(!this._target.rippleDisabled&&!Pma(a)){this._lastTouchStartEvent=Date.now();this._isPointerDown=!0;a=a.changedTouches;for(var b=0;b<a.length;b++)WWb(this,a[b].clientX,a[b].clientY,this._target.rippleConfig)}};
f._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&&XWb(a._renderer,a)}))};f._getActiveRipples=function(){return Array.from(this._activeRipples.keys())};
f._removeTriggerEvents=function(){var a=this,b=this._triggerElement;b&&(TWb.forEach(function(c){var d=OWb,e=d._events.get(c);if(e){var g=e.get(b);g&&(g.delete(a),0===g.size&&e.delete(b),0===e.size&&(d._events.delete(c),document.removeEventListener(c,d._delegateEventHandler,NWb)))}}),this._pointerUpEventsRegistered&&UWb.forEach(function(c){return b.removeEventListener(c,a,SWb)}))};
var OWb=new function(){var a=this;this._events=new Map;this._delegateEventHandler=function(b){var c=Dg(b);if(c){var d;null==(d=a._events.get(b.type))||d.forEach(function(e,g){(g===c||g.contains(c))&&e.forEach(function(h){return h.handleEvent(b)})})}}};var qA=new ad("mat-ripple-global-options"),rA=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 VWb(this,b,a,c)};f=rA.prototype;f.ngOnInit=function(){this._isInitialized=!0;this._setupTriggerEventsIfEnabled()};f.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()};f.fadeOutAllNonPersistent=function(){this._rippleRenderer.fadeOutAllNonPersistent()};
f._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&YWb(this._rippleRenderer,this.trigger)};f.launch=function(a,b,c){return"number"===typeof a?WWb(this._rippleRenderer,a,void 0===b?0:b,Object.assign({},this.rippleConfig,c)):WWb(this._rippleRenderer,0,0,Object.assign({},this.rippleConfig,a))};
sh.Object.defineProperties(rA.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}}});rA.\u0275fac=function(a){return new (a||rA)(B(Dd),B(df),B(Rx),B(qA,8),B(wv,8))};
rA.\u0275dir=Sc({type:rA,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(a,b){a&2&&xf("mat-ripple-unbounded",b.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]});var sA=function(a){this._animationMode=a;this.state="unchecked";this.disabled=!1;this.appearance="full"};sA.\u0275fac=function(a){return new (a||sA)(B(wv,8))};
sA.\u0275cmp=Oc({type:sA,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&xf("mat-pseudo-checkbox-indeterminate","indeterminate"===b.state)("mat-pseudo-checkbox-checked","checked"===b.state)("mat-pseudo-checkbox-disabled",b.disabled)("mat-pseudo-checkbox-minimal","minimal"===b.appearance)("mat-pseudo-checkbox-full","full"===b.appearance)("_mat-animation-noopable","NoopAnimations"===b._animationMode)},inputs:{state:"state",disabled:"disabled",
appearance:"appearance"},decls:0,vars:0,template:function(){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}\n'],
encapsulation:2,changeDetection:0});var ZWb=["text"],$Wb=0,aXb=function(a,b){this.source=a;this.isUserInput=void 0===b?!1:b},tA=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-"+$Wb++;this.onSelectionChange=new kw;this._stateChanges=new D.Subject};f=tA.prototype;f.select=function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())};
f.deselect=function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())};f.focus=function(a,b){var c=this._getHostElement();"function"===typeof c.focus&&c.focus(b)};f.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())};f.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())};f.getLabel=function(){return this.viewValue};
f._handleKeydown=function(a){13!==a.keyCode&&32!==a.keyCode||Jg(a)||(this._selectViaInteraction(),a.preventDefault())};f._selectViaInteraction=function(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))};f._getTabIndex=function(){return this.disabled?"-1":"0"};f._getHostElement=function(){return this._element.nativeElement};
f.ngAfterViewChecked=function(){if(this._selected){var a=this.viewValue;a!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=a)}};f.ngOnDestroy=function(){this._stateChanges.complete()};f._emitSelectionChangeEvent=function(a){this.onSelectionChange.emit(new aXb(this,void 0===a?!1:a))};
sh.Object.defineProperties(tA.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=Fg(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()}}});tA.\u0275fac=function(){Hd()};
tA.\u0275dir=Sc({type:tA,viewQuery:function(a,b){a&1&&bg(ZWb,7);if(a&2){var c;ag(c=dg())&&(b._text=c.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}});var uA=function(){};uA.\u0275fac=function(a){return new (a||uA)};uA.\u0275mod=Qc({type:uA});uA.\u0275inj=zc({imports:[hA,hA]});var vA=function(){};vA.\u0275fac=function(a){return new (a||vA)};vA.\u0275mod=Qc({type:vA});vA.\u0275inj=zc({imports:[hA]});var bXb={capture:!0},cXb=["focus","click","mouseenter","touchstart"],wA=function(){var a=this;this._document=Jc(qh,{optional:!0});this._animationMode=Jc(wv,{optional:!0});this._globalRippleOptions=Jc(qA,{optional:!0});this._platform=Jc(Rx);this._ngZone=Jc(df);this._onInteraction=function(b){b.target instanceof HTMLElement&&(b=b.target.closest("[mat-ripple-loader-uninitialized]"))&&dXb(a,b)};this._ngZone.runOutsideAngular(function(){for(var b=k(cXb),c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;
null==(d=a._document)||d.addEventListener(c,a._onInteraction,bXb)}})};wA.prototype.ngOnDestroy=function(){for(var a=k(cXb),b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;null==(c=this._document)||c.removeEventListener(b,this._onInteraction,bXb)}};
var eXb=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","")};wA.prototype.setDisabled=function(a,b){var c=a.matRipple;c?c.disabled=b:b?a.setAttribute("mat-ripple-loader-disabled",""):a.removeAttribute("mat-ripple-loader-disabled")};
var dXb=function(a,b){if(a._document){var c;null==(c=b.querySelector(".mat-ripple"))||c.remove();c=a._document.createElement("span");c.classList.add("mat-ripple",b.getAttribute("mat-ripple-loader-class-name"));b.append(c);a=new rA(new Dd(c),a._ngZone,a._platform,a._globalRippleOptions?a._globalRippleOptions:void 0,a._animationMode?a._animationMode:void 0);a._isInitialized=!0;a.trigger=b;a.centered=b.hasAttribute("mat-ripple-loader-centered");a.disabled=b.hasAttribute("mat-ripple-loader-disabled");
fXb(b,a);return a}},fXb=function(a,b){a.removeAttribute("mat-ripple-loader-uninitialized");a.matRipple=b};wA.\u0275fac=function(a){return new (a||wA)};wA.\u0275prov=yc({token:wA,factory:wA.\u0275fac,providedIn:"root"});var gXb=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini",
"mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],hXb=th(vh(uh(function(a){this._elementRef=a}))),xA=function(a,b,c,d){var e=hXb.call(this,a)||this;e._platform=b;e._ngZone=c;e._animationMode=d;e._focusMonitor=Jc(by);e._rippleLoader=Jc(wA);e._isFab=!1;e._disableRipple=!1;e._disabled=!1;null==e._rippleLoader||eXb(e._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});var g=a.nativeElement.classList;a=k(gXb);for(var h=a.next();!h.done;h=
a.next())h=h.value,e._hasHostAttributes(h.selector)&&h.mdcClasses.forEach(function(l){g.add(l)});return e};T(xA,hXb);f=xA.prototype;f.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};f.focus=function(a,b){(a=void 0===a?"program":a)?cy(this._focusMonitor,this._elementRef.nativeElement,a,b):this._elementRef.nativeElement.focus(b)};f._hasHostAttributes=function(){var a=this;return Zc.apply(0,arguments).some(function(b){return a._elementRef.nativeElement.hasAttribute(b)})};
f._updateRippleDisabled=function(){var a;null==(a=this._rippleLoader)||a.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)};
sh.Object.defineProperties(xA.prototype,{ripple:{configurable:!0,enumerable:!0,get:function(){var a;if(null==(a=this._rippleLoader))a=void 0;else{var b=this._elementRef.nativeElement;a=b.matRipple?b.matRipple:dXb(a,b)}return a},set:function(a){null==this._rippleLoader||fXb(this._elementRef.nativeElement,a)}},disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=Fg(a);this._updateRippleDisabled()}},disabled:{configurable:!0,enumerable:!0,
get:function(){return this._disabled},set:function(a){this._disabled=Fg(a);this._updateRippleDisabled()}}});xA.\u0275fac=function(){Hd()};xA.\u0275dir=Sc({type:xA,features:[kf]});var yA=function(a,b,c,d){var e=xA.call(this,a,b,c,d)||this;e._haltDisabledEvents=function(g){e.disabled&&(g.preventDefault(),g.stopImmediatePropagation())};return e};T(yA,xA);yA.prototype.ngOnInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)})};
yA.prototype.ngOnDestroy=function(){xA.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};yA.\u0275fac=function(){Hd()};yA.\u0275dir=Sc({type:yA,features:[kf]});var iXb=["mat-button",""],jXb=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],kXb=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],
lXb=function(){return'.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n      100% + 4px\n    );width:calc(\n      100% + 4px\n    );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}\n'},
mXb=function(){return".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\n"},zA=function(a,b,c,d){return xA.call(this,a,b,c,d)||this};T(zA,xA);zA.\u0275dir=xA.\u0275dir;
zA.\u0275fac=function(a){return new (a||zA)(B(Dd),B(Rx),B(df),B(wv,8))};
zA.\u0275cmp=Oc({type:zA,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(a,b){a&2&&(of("disabled",b.disabled||null),xf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[kf],attrs:iXb,ngContentSelectors:kXb,
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&&(Ff(jXb),I(0,"span",0),Gf(1),F(2,"span",1),Gf(3,1),H(),Gf(4,2),I(5,"span",2)(6,"span",3));a&2&&xf("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:[lXb(),mXb()],encapsulation:2,changeDetection:0});var AA=function(a,b,c,d){return yA.call(this,a,b,c,d)||this};T(AA,yA);AA.\u0275dir=yA.\u0275dir;
AA.\u0275fac=function(a){return new (a||AA)(B(Dd),B(Rx),B(df),B(wv,8))};
AA.\u0275cmp=Oc({type:AA,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(a,b){a&2&&(of("disabled",b.disabled||null)("tabindex",b.disabled?-1:b.tabIndex)("aria-disabled",b.disabled.toString()),xf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},
exportAs:["matButton","matAnchor"],features:[kf],attrs:iXb,ngContentSelectors:kXb,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&&(Ff(jXb),I(0,"span",0),Gf(1),F(2,"span",1),Gf(3,1),H(),Gf(4,2),I(5,"span",2)(6,"span",3));a&2&&xf("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:[lXb(),mXb()],encapsulation:2,changeDetection:0});var BA=function(a,b,c,d){a=xA.call(this,a,b,c,d)||this;eXb(a._elementRef.nativeElement,{centered:!0});return a};T(BA,xA);BA.\u0275dir=xA.\u0275dir;BA.\u0275fac=function(a){return new (a||BA)(B(Dd),B(Rx),B(df),B(wv,8))};
BA.\u0275cmp=Oc({type:BA,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(a,b){a&2&&(of("disabled",b.disabled||null),xf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[kf],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&&(Ff(),I(0,"span",0),Gf(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{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.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{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\n',
".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\n"],encapsulation:2,changeDetection:0});var CA=function(a,b){this.selection=a;this._adapter=b;this.selectionChanged=this._selectionChanged=new D.Subject;this.selection=a};CA.prototype.updateSelection=function(a,b){var c=this.selection;this.selection=a;this._selectionChanged.next({selection:a,source:b,oldValue:c})};CA.prototype.ngOnDestroy=function(){this._selectionChanged.complete()};CA.prototype._isValidDateInstance=function(a){return jA(a)&&this._adapter.isValid(a)};CA.\u0275fac=function(){Hd()};CA.\u0275prov=yc({token:CA,factory:CA.\u0275fac});
var DA=function(a){CA.call(this,null,a)};T(DA,CA);DA.prototype.add=function(a){CA.prototype.updateSelection.call(this,a,this)};DA.prototype.isValid=function(){return null!=this.selection&&this._isValidDateInstance(this.selection)};DA.prototype.isComplete=function(){return null!=this.selection};DA.prototype.clone=function(){var a=new DA(this._adapter);a.updateSelection(this.selection,this);return a};DA.\u0275fac=function(a){return new (a||DA)(t(iA))};DA.\u0275prov=yc({token:DA,factory:DA.\u0275fac});
var nXb={provide:CA,deps:[[new ov,new pv,CA],iA],useFactory:function(a,b){return a||new DA(b)}};new ov;new pv;var EA=function(){this.changes=new D.Subject};EA.prototype.formatYearRange=function(a,b){return a+" \u2013 "+b};EA.prototype.formatYearRangeLabel=function(a,b){return a+" to "+b};EA.\u0275fac=function(a){return new (a||EA)};EA.\u0275prov=yc({token:EA,factory:EA.\u0275fac,providedIn:"root"});var oXb=function(a,b,c,d,e,g,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===g?a:g;this.rawValue=h},pXb=1,qXb=Ag({passive:!1,capture:!0}),FA=Ag({passive:!0,capture:!0}),rXb=Ag({passive:!0}),GA=function(a,b){var c=this;this._elementRef=a;this._ngZone=b;this._platform=Jc(Rx);this._focusActiveCellAfterViewChecked=!1;this.numCols=7;this.activeCell=0;this.isRange=!1;this.cellAspectRatio=1;this.previewEnd=this.previewStart=
null;this.selectedValueChange=new kw;this.previewChange=new kw;this.activeDateChange=new kw;this.dragStarted=new kw;this.dragEnded=new kw;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=Uoa(d),g=e?c._getCellFromElement(e):
null;e!==d.target&&(c._didDragSinceMouseDown=!0);Qoa(d.target)&&d.preventDefault();c._ngZone.run(function(){return c.previewChange.emit({value:(null==g?0:g.enabled)?g:null,event:d})})}};this._leaveHandler=function(d){null!==c.previewEnd&&c.isRange&&("blur"!==d.type&&(c._didDragSinceMouseDown=!0),!d.target||!c._getCellFromElement(d.target)||d.relatedTarget&&c._getCellFromElement(d.relatedTarget)||c._ngZone.run(function(){return c.previewChange.emit({value:null,event:d})}))};this._mousedownHandler=
function(d){if(c.isRange){c._didDragSinceMouseDown=!1;var e=d.target&&c._getCellFromElement(d.target);e&&c._isInRange(e.rawValue)&&c._ngZone.run(function(){c.dragStarted.emit({value:e.rawValue,event:d})})}};this._mouseupHandler=function(d){if(c.isRange){var e=Qoa(d.target);e?e.closest(".mat-calendar-body")===c._elementRef.nativeElement&&c._ngZone.run(function(){var g=c._getCellFromElement(e),h;c.dragEnded.emit({value:null!=(h=null==g?void 0:g.rawValue)?h:null,event:d})}):c._ngZone.run(function(){c.dragEnded.emit({value:null,
event:d})})}};this._touchendHandler=function(d){(d=Uoa(d))&&c._mouseupHandler({target:d})};this._id="mat-calendar-body-"+pXb++;this._startDateLabelId=this._id+"-start-date";this._endDateLabelId=this._id+"-end-date";b.runOutsideAngular(function(){var d=a.nativeElement;d.addEventListener("touchmove",c._touchmoveHandler,qXb);d.addEventListener("mouseenter",c._enterHandler,FA);d.addEventListener("focus",c._enterHandler,FA);d.addEventListener("mouseleave",c._leaveHandler,FA);d.addEventListener("blur",
c._leaveHandler,FA);d.addEventListener("mousedown",c._mousedownHandler,rXb);d.addEventListener("touchstart",c._mousedownHandler,rXb);c._platform.isBrowser&&(window.addEventListener("mouseup",c._mouseupHandler),window.addEventListener("touchend",c._touchendHandler))})};f=GA.prototype;f.ngAfterViewChecked=function(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)};
f._cellClicked=function(a,b){this._didDragSinceMouseDown||a.enabled&&this.selectedValueChange.emit({value:a.value,event:b})};f._emitActiveDateChange=function(a,b){a.enabled&&this.activeDateChange.emit({value:a.value,event:b})};f._isSelected=function(a){return this.startValue===a||this.endValue===a};
f.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+"%"};
f.ngOnDestroy=function(){var a=this._elementRef.nativeElement;a.removeEventListener("touchmove",this._touchmoveHandler,qXb);a.removeEventListener("mouseenter",this._enterHandler,FA);a.removeEventListener("focus",this._enterHandler,FA);a.removeEventListener("mouseleave",this._leaveHandler,FA);a.removeEventListener("blur",this._leaveHandler,FA);a.removeEventListener("mousedown",this._mousedownHandler,rXb);a.removeEventListener("touchstart",this._mousedownHandler,rXb);this._platform.isBrowser&&(window.removeEventListener("mouseup",
this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))};f._isActiveCell=function(a,b){b=a*this.numCols+b;a&&(b-=this._firstRowOffset);return b==this.activeCell};f._focusActiveCell=function(a){var b=this;a=void 0===a?!0:a;this._ngZone.runOutsideAngular(function(){b._ngZone.onStable.pipe(Oe()).subscribe(function(){setTimeout(function(){var c=b._elementRef.nativeElement.querySelector(".mat-calendar-body-active");c&&(a||(b._skipNextFocus=!0),c.focus())})})})};
f._scheduleFocusActiveCellAfterViewChecked=function(){this._focusActiveCellAfterViewChecked=!0};f._isRangeStart=function(a){return Roa(a,this.startValue,this.endValue)};f._isRangeEnd=function(a){return Soa(a,this.startValue,this.endValue)};f._isInRange=function(a){return Toa(a,this.startValue,this.endValue,this.isRange)};f._isComparisonStart=function(a){return Roa(a,this.comparisonStart,this.comparisonEnd)};
f._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)};f._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)};
f._isComparisonEnd=function(a){return Soa(a,this.comparisonStart,this.comparisonEnd)};f._isInComparisonRange=function(a){return Toa(a,this.comparisonStart,this.comparisonEnd,this.isRange)};f._isComparisonIdentical=function(a){return this.comparisonStart===this.comparisonEnd&&a===this.comparisonStart};f._isPreviewStart=function(a){return Roa(a,this.previewStart,this.previewEnd)};f._isPreviewEnd=function(a){return Soa(a,this.previewStart,this.previewEnd)};
f._isInPreview=function(a){return Toa(a,this.previewStart,this.previewEnd,this.isRange)};f._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};f._getCellFromElement=function(a){var b=Qoa(a);return b&&(a=b.getAttribute("data-mat-row"),b=b.getAttribute("data-mat-col"),a&&b)?this.rows[parseInt(a)][parseInt(b)]:null};
GA.\u0275fac=function(a){return new (a||GA)(B(Dd),B(df))};
GA.\u0275cmp=Oc({type:GA,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",
endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[gd],attrs:["mat-calendar-body",""],decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",
3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(a,b){a&1&&(O(0,Loa,3,6,"tr",0),O(1,Ooa,3,2,"tr",1),F(2,"label",
2),P(3),H(),F(4,"label",2),P(5),H());a&2&&(E("ngIf",b._firstRowOffset<b.labelMinRequiredCells),z(1),E("ngForOf",b.rows),z(1),E("id",b._startDateLabelId),z(1),Lf(" ",b.startDateAccessibleName,"\n"),z(1),E("id",b._endDateLabelId),z(1),Lf(" ",b.endDateAccessibleName,"\n"))},dependencies:[Pw,Qw,Rw],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;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 .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],
encapsulation:2,changeDetection:0});var sXb=new ad("MAT_DATE_RANGE_SELECTION_STRATEGY");new ov;new pv;var HA=function(a,b,c,d,e){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rangeStrategy=e;this._rerenderSubscription=D.Subscription.EMPTY;this.activeDrag=null;this.selectedChange=new kw;this._userSelection=new kw;this.dragStarted=new kw;this.dragEnded=new kw;this.activeDateChange=new kw;this._activeDate=new Dl};f=HA.prototype;f.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ze(null)).subscribe(function(){return a._init()})};
f.ngOnChanges=function(a){var b=a.comparisonStart||a.comparisonEnd;b&&!b.firstChange&&this._setRanges(this.selected);a.activeDrag&&!this.activeDrag&&this._clearPreview()};f.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};f._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()};
f._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(a.value);lA(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this._activeDate)};
f._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=IA(this._activeDate,c?1:-1);break;case 39:this.activeDate=IA(this._activeDate,c?-1:1);break;case 38:this.activeDate=IA(this._activeDate,-7);break;case 40:this.activeDate=IA(this._activeDate,7);break;case 36:this.activeDate=IA(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=IA(this._activeDate,tXb(this._activeDate)-this._dateAdapter.getDate(this._activeDate));
break;case 33:this.activeDate=a.altKey?JA(this._activeDate,-1):KA(this._activeDate,-1);break;case 34:this.activeDate=a.altKey?JA(this._activeDate,1):KA(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0;this._canSelect(this._activeDate)&&a.preventDefault();return;case 27:null==this._previewEnd||Jg(a)||(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:a}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:a})),a.preventDefault(),
a.stopPropagation());return;default:return}lA(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};f._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};
f._init=function(){this._setRanges(this.selected);this._todayDate=this._getCellCompareValue(new Dl);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();var a=LA(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(a)-this._dateAdapter.getFirstDayOfWeek())%
7;this._initWeekdays();this._createWeekCells();this._changeDetectorRef.markForCheck()};f._focusActiveCell=function(a){this._matCalendarBody._focusActiveCell(a)};f._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
f._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()}};
f._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})};f._getDateFromDayOfMonth=function(a){return LA(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a)};
f._initWeekdays=function(){var a=this._dateAdapter.getFirstDayOfWeek(),b=uXb(this._dateAdapter,"narrow"),c=uXb(this._dateAdapter,"long").map(function(d,e){return{long:d,narrow:b[e]}});this._weekdays=c.slice(a).concat(c.slice(0,a))};
f._createWeekCells=function(){var a=tXb(this.activeDate),b=vXb;this._weeks=[[]];for(var c=0,d=this._firstWeekOffset;c<a;c++,d++){7==d&&(this._weeks.push([]),d=0);var e=LA(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),c+1),g=this._shouldEnableDate(e),h=this._dateAdapter.format(e,this._dateFormats.display.dateA11yLabel),l=this.dateClass?this.dateClass(e,"month"):void 0;this._weeks[this._weeks.length-1].push(new oXb(c+1,b[c],h,g,l,this._getCellCompareValue(e),
e))}};f._shouldEnableDate=function(a){return!!a&&(!this.minDate||0<=lA(this._dateAdapter,a,this.minDate))&&(!this.maxDate||0>=lA(this._dateAdapter,a,this.maxDate))&&(!this.dateFilter||this.dateFilter(a))};f._getDateInCurrentMonth=function(a){return a&&this._hasSameMonthAndYear(a,this.activeDate)?this._dateAdapter.getDate(a):null};f._hasSameMonthAndYear=function(a,b){return!(!a||!b||this._dateAdapter.getMonth(a)!=this._dateAdapter.getMonth(b)||this._dateAdapter.getYear(a)!=this._dateAdapter.getYear(b))};
f._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};f._isRtl=function(){return this._dir&&"rtl"===this._dir.value};f._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)};
f._canSelect=function(a){return!this.dateFilter||this.dateFilter(a)};f._clearPreview=function(){this._previewStart=this._previewEnd=null};
sh.Object.defineProperties(HA.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=kA(this._dateAdapter,this._dateAdapter.deserialize(a))||new Dl;this._activeDate=KWb(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=kA(this._dateAdapter,this._dateAdapter.deserialize(a));
this._setRanges(this._selected)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=kA(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=kA(this._dateAdapter,this._dateAdapter.deserialize(a))}}});HA.\u0275fac=function(a){return new (a||HA)(B(Kw),B(mA,8),B(iA,8),B(Cz,8),B(sXb,8))};
HA.\u0275cmp=Oc({type:HA,selectors:[["mat-month-view"]],viewQuery:function(a,b){a&1&&bg(GA,5);if(a&2){var c;ag(c=dg())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",
_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[gd],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd",
"isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(a,b){a&1&&(F(0,"table",0)(1,"thead",1)(2,"tr"),O(3,Voa,5,2,"th",2),H(),F(4,"tr"),I(5,"th",3),H()(),F(6,"tbody",4),L("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)}),H()());a&2&&(z(3),E("ngForOf",b._weekdays),z(3),E("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:[Qw,GA],encapsulation:2,changeDetection:0});var MA=function(a,b,c){this._changeDetectorRef=a;this._dateAdapter=b;this._dir=c;this._rerenderSubscription=D.Subscription.EMPTY;this.selectedChange=new kw;this.yearSelected=new kw;this.activeDateChange=new kw;this._activeDate=new Dl};f=MA.prototype;f.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ze(null)).subscribe(function(){return a._init()})};f.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
f._init=function(){var a=this;this._todayYear=this._dateAdapter.getYear(new Dl);var b=this._dateAdapter.getYear(this._activeDate)-yh(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()};f._yearSelected=function(a){var b=a.value;a=LA(b,0,1);b=this._getDateFromYear(b);this.yearSelected.emit(a);this.selectedChange.emit(b)};
f._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromYear(a.value);lA(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate)};
f._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=JA(this._activeDate,c?1:-1);break;case 39:this.activeDate=JA(this._activeDate,c?-1:1);break;case 38:this.activeDate=JA(this._activeDate,-4);break;case 40:this.activeDate=JA(this._activeDate,4);break;case 36:this.activeDate=JA(this._activeDate,-yh(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=JA(this._activeDate,24-yh(this._dateAdapter,
this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=JA(this._activeDate,a.altKey?-240:-24);break;case 34:this.activeDate=JA(this._activeDate,a.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}lA(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate);this._focusActiveCellAfterViewChecked();a.preventDefault()};
f._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};f._getActiveCell=function(){return yh(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)};f._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()};f._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
f._getDateFromYear=function(a){var b=this._dateAdapter.getMonth(this.activeDate);var c=LA(a,b,1);c=tXb(c);return LA(a,b,Math.min(this._dateAdapter.getDate(this.activeDate),c))};f._createCellForYear=function(a){var b=LA(a,0,1),c=""+b.getFullYear();b=this.dateClass?this.dateClass(b,"multi-year"):void 0;return new oXb(a,c,c,this._shouldEnableYear(a),b)};
f._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=LA(a,0,1);this._dateAdapter.getYear(b)==a;b=IA(b,1))if(this.dateFilter(b))return!0;return!1};f._isRtl=function(){return this._dir&&"rtl"===this._dir.value};f._setSelectedYear=function(a){this._selectedYear=null;a&&(this._selectedYear=this._dateAdapter.getYear(a))};
sh.Object.defineProperties(MA.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=kA(this._dateAdapter,this._dateAdapter.deserialize(a))||new Dl;this._activeDate=KWb(this._dateAdapter,a,this.minDate,this.maxDate);Xoa(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=kA(this._dateAdapter,
this._dateAdapter.deserialize(a));this._setSelectedYear(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=kA(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=kA(this._dateAdapter,this._dateAdapter.deserialize(a))}}});MA.\u0275fac=function(a){return new (a||MA)(B(Kw),B(iA,8),B(Cz,8))};
MA.\u0275cmp=Oc({type:MA,selectors:[["mat-multi-year-view"]],viewQuery:function(a,b){a&1&&bg(GA,5);if(a&2){var c;ag(c=dg())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden",
"true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(a,b){a&1&&(F(0,"table",0)(1,"thead",1)(2,"tr"),I(3,"th",2),H()(),F(4,"tbody",3),L("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)}),H()());a&2&&(z(4),E("rows",b._years)("todayValue",b._todayYear)("startValue",b._selectedYear)("endValue",b._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._getActiveCell()))},dependencies:[GA],encapsulation:2,changeDetection:0});var NA=function(a,b,c,d){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rerenderSubscription=D.Subscription.EMPTY;this.selectedChange=new kw;this.monthSelected=new kw;this.activeDateChange=new kw;this._activeDate=new Dl};f=NA.prototype;f.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ze(null)).subscribe(function(){return a._init()})};f.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
f._monthSelected=function(a){a=a.value;var b=LA(this._dateAdapter.getYear(this.activeDate),a,1);this.monthSelected.emit(b);a=this._getDateFromMonth(a);this.selectedChange.emit(a)};f._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromMonth(a.value);lA(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate)};
f._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=KA(this._activeDate,c?1:-1);break;case 39:this.activeDate=KA(this._activeDate,c?-1:1);break;case 38:this.activeDate=KA(this._activeDate,-4);break;case 40:this.activeDate=KA(this._activeDate,4);break;case 36:this.activeDate=KA(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=KA(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));
break;case 33:this.activeDate=JA(this._activeDate,a.altKey?-10:-1);break;case 34:this.activeDate=JA(this._activeDate,a.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}lA(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};
f._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};
f._init=function(){var a=this;this._setSelectedMonth(this.selected);this._todayMonth=this._getMonthInCurrentYear(new Dl);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()};f._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()};f._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
f._getMonthInCurrentYear=function(a){return a&&this._dateAdapter.getYear(a)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(a):null};f._getDateFromMonth=function(a){var b=LA(this._dateAdapter.getYear(this.activeDate),a,1);b=tXb(b);return LA(this._dateAdapter.getYear(this.activeDate),a,Math.min(this._dateAdapter.getDate(this.activeDate),b))};
f._createCellForMonth=function(a,b){var c=LA(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 oXb(a,b.toLocaleUpperCase(),d,this._shouldEnableMonth(a),c)};
f._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=LA(b,a,1);this._dateAdapter.getMonth(b)==a;b=IA(b,1))if(this.dateFilter(b))return!0;return!1};f._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};
f._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};f._isRtl=function(){return this._dir&&"rtl"===this._dir.value};f._setSelectedMonth=function(a){this._selectedMonth=this._getMonthInCurrentYear(a)};
sh.Object.defineProperties(NA.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=kA(this._dateAdapter,this._dateAdapter.deserialize(a))||new Dl;this._activeDate=KWb(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=kA(this._dateAdapter,
this._dateAdapter.deserialize(a));this._setSelectedMonth(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=kA(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=kA(this._dateAdapter,this._dateAdapter.deserialize(a))}}});NA.\u0275fac=function(a){return new (a||NA)(B(Kw),B(mA,8),B(iA,8),B(Cz,8))};
NA.\u0275cmp=Oc({type:NA,selectors:[["mat-year-view"]],viewQuery:function(a,b){a&1&&bg(GA,5);if(a&2){var c;ag(c=dg())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",
1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(a,b){a&1&&(F(0,"table",0)(1,"thead",1)(2,"tr"),I(3,"th",2),H()(),F(4,"tbody",3),L("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)}),H()());a&2&&(z(4),E("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:[GA],encapsulation:2,changeDetection:0});var wXb=1,OA=function(a,b,c,d,e){this._intl=a;this.calendar=b;this._dateAdapter=c;this._dateFormats=d;this._id="mat-calendar-header-"+wXb++;this._periodButtonLabelId=this._id+"-period-label";this.calendar.stateChanges.subscribe(function(){return e.markForCheck()})};
OA.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):Xoa(this._dateAdapter,a,b,this.calendar.minDate,this.calendar.maxDate)};
OA.prototype._formatMinAndMaxYearLabels=function(){var a=this._dateAdapter.getYear(this.calendar.activeDate)-yh(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),b=a+24-1;a=""+LA(a,0,1).getFullYear();b=""+LA(b,0,1).getFullYear();return[a,b]};
sh.Object.defineProperties(OA.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,cd(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,cd(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]}}});OA.\u0275fac=function(a){return new (a||OA)(B(EA),B(Ec(function(){return PA})),B(iA,8),B(mA,8),B(Kw))};
OA.\u0275cmp=Oc({type:OA,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:["*"],decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",
3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(a,b){a&1&&(Ff(),F(0,"div",0)(1,"div",1)(2,"button",2),L("click",function(){b.calendar.currentView="month"==b.calendar.currentView?"multi-year":"month"}),F(3,"span",3),P(4),H(),rd(),F(5,"svg",4),I(6,"polygon",5),H()(),sd(),I(7,"div",6),Gf(8),F(9,"button",7),L("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?
KA(b.calendar.activeDate,-1):JA(b.calendar.activeDate,"year"==b.calendar.currentView?-1:-24)}),H(),F(10,"button",8),L("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?KA(b.calendar.activeDate,1):JA(b.calendar.activeDate,"year"==b.calendar.currentView?1:24)}),H()()(),F(11,"label",9),P(12),H());a&2&&(z(2),of("aria-label",b.periodButtonLabel)("aria-describedby",b._periodButtonLabelId),z(2),Mf(b.periodButtonText),z(1),xf("mat-calendar-invert","month"!==b.calendar.currentView),
z(4),E("disabled",!(b.calendar.minDate?!b.calendar.minDate||!b._isSameView(b.calendar.activeDate,b.calendar.minDate):1)),of("aria-label",b.prevButtonLabel),z(1),E("disabled",!(!b.calendar.maxDate||!b._isSameView(b.calendar.activeDate,b.calendar.maxDate))),of("aria-label",b.nextButtonLabel),z(1),E("id",b._periodButtonLabelId),z(1),Mf(b.periodButtonDescription))},dependencies:[zA,BA],encapsulation:2,changeDetection:0});
var PA=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 kw;this.yearSelected=new kw;this.monthSelected=new kw;this.viewChanged=new kw(!0);this._userSelection=new kw;this._userDragDrop=new kw;this._activeDrag=null;this.stateChanges=new D.Subject;this._intlChanges=a.changes.subscribe(function(){d.markForCheck();e.stateChanges.next()})};f=PA.prototype;
f.ngAfterContentInit=function(){this._calendarHeaderPortal=new fy(this.headerComponent||OA);this.activeDate=this.startAt||new Dl;this._currentView=this.startView};f.ngAfterViewChecked=function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this._getCurrentViewComponent()._focusActiveCell(!1))};f.ngOnDestroy=function(){this._intlChanges.unsubscribe();this.stateChanges.complete()};
f.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()};
f._dateSelected=function(a){var b=a.value;b&&!this._dateAdapter.sameDate(b,this.selected)&&this.selectedChange.emit(b);this._userSelection.emit(a)};f._yearSelectedInMultiYearView=function(a){this.yearSelected.emit(a)};f._monthSelectedInYearView=function(a){this.monthSelected.emit(a)};f._goToDateInView=function(a,b){this.activeDate=a;this.currentView=b};f._dragStarted=function(a){this._activeDrag=a};f._dragEnded=function(a){this._activeDrag&&(a.value&&this._userDragDrop.emit(a),this._activeDrag=null)};
f._getCurrentViewComponent=function(){return this.monthView||this.yearView||this.multiYearView};
sh.Object.defineProperties(PA.prototype,{startAt:{configurable:!0,enumerable:!0,get:function(){return this._startAt},set:function(a){this._startAt=kA(this._dateAdapter,this._dateAdapter.deserialize(a))}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=kA(this._dateAdapter,this._dateAdapter.deserialize(a))}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=kA(this._dateAdapter,this._dateAdapter.deserialize(a))}},
maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=kA(this._dateAdapter,this._dateAdapter.deserialize(a))}},activeDate:{configurable:!0,enumerable:!0,get:function(){return this._clampedActiveDate},set:function(a){this._clampedActiveDate=KWb(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)}}});PA.\u0275fac=function(a){return new (a||PA)(B(EA),B(iA,8),B(mA,8),B(Kw))};
PA.\u0275cmp=Oc({type:PA,selectors:[["mat-calendar"]],viewQuery:function(a,b){a&1&&(bg(HA,5),bg(NA,5),bg(MA,5));if(a&2){var c;ag(c=dg())&&(b.monthView=c.first);ag(c=dg())&&(b.yearView=c.first);ag(c=dg())&&(b.multiYearView=c.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",
startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[Of([nXb]),gd],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter",
"maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate",
"selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(a,b){a&1&&(O(0,Yoa,
0,0,"ng-template",0),F(1,"div",1),O(2,Zoa,1,11,"mat-month-view",2),O(3,$oa,1,6,"mat-year-view",3),O(4,apa,1,6,"mat-multi-year-view",4),H());a&2&&(E("cdkPortalOutlet",b._calendarHeaderPortal),z(1),E("ngSwitch",b.currentView),z(1),E("ngSwitchCase","month"),z(1),E("ngSwitchCase","year"),z(1),E("ngSwitchCase","multi-year"))},dependencies:[Sw,Tw,dy,ky,HA,NA,MA],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}\n'],
encapsulation:2,changeDetection:0});var xXb=["mat-button",""],yXb=["*"],zXb=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"},
AXb="mat-button mat-flat-button mat-icon-button mat-raised-button mat-stroked-button mat-mini-fab mat-fab".split(" "),BXb=th(vh(uh(function(a){this._elementRef=a}))),QA=function(a,b,c){var d=BXb.call(this,a)||this;d._focusMonitor=b;d._animationMode=c;d.isRoundButton=d._hasHostAttributes("mat-fab","mat-mini-fab");d.isIconButton=d._hasHostAttributes("mat-icon-button");for(var e=k(AXb),g=e.next();!g.done;g=e.next())g=g.value,d._hasHostAttributes(g)&&d._getHostElement().classList.add(g);a.nativeElement.classList.add("mat-button-base");
d.isRoundButton&&(d.color="accent");return d};T(QA,BXb);f=QA.prototype;f.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};f.focus=function(a,b){a?cy(this._focusMonitor,this._getHostElement(),a,b):this._getHostElement().focus(b)};f._getHostElement=function(){return this._elementRef.nativeElement};f._isRippleDisabled=function(){return this.disableRipple||this.disabled};
f._hasHostAttributes=function(){var a=this;return Zc.apply(0,arguments).some(function(b){return a._getHostElement().hasAttribute(b)})};QA.\u0275fac=function(a){return new (a||QA)(B(Dd),B(by),B(wv,8))};
QA.\u0275cmp=Oc({type:QA,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&&bg(rA,5);if(a&2){var c;ag(c=dg())&&(b.ripple=c.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(a,b){a&2&&(of("disabled",b.disabled||null),xf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-button-disabled",
b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[kf],attrs:xXb,ngContentSelectors:yXb,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&&(Ff(),F(0,"span",0),Gf(1),H(),I(2,"span",1)(3,"span",2));a&2&&(z(2),xf("mat-button-ripple-round",b.isRoundButton||b.isIconButton),E("matRippleDisabled",
b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[rA],styles:[zXb()],encapsulation:2,changeDetection:0});var RA=function(a,b,c,d){var e=QA.call(this,b,a,c)||this;e._ngZone=d;e._haltDisabledEvents=function(g){e.disabled&&(g.preventDefault(),g.stopImmediatePropagation())};return e};T(RA,QA);
RA.prototype.ngAfterViewInit=function(){var a=this;QA.prototype.ngAfterViewInit.call(this);this._ngZone?this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)};RA.prototype.ngOnDestroy=function(){QA.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};
RA.\u0275fac=function(a){return new (a||RA)(B(by),B(Dd),B(wv,8),B(df,8))};
RA.\u0275cmp=Oc({type:RA,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(a,b){a&2&&(of("tabindex",b.disabled?-1:b.tabIndex)("disabled",b.disabled||null)("aria-disabled",b.disabled.toString()),xf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-button-disabled",b.disabled))},
inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[kf],attrs:xXb,ngContentSelectors:yXb,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&&(Ff(),F(0,"span",0),Gf(1),H(),I(2,"span",1)(3,"span",2));a&2&&(z(2),xf("mat-button-ripple-round",b.isRoundButton||b.isIconButton),
E("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[rA],styles:[zXb()],encapsulation:2,changeDetection:0});var SA=function(a,b,c,d){return tA.call(this,a,b,c,d)||this};T(SA,tA);SA.\u0275fac=function(a){return new (a||SA)(B(Dd),B(Kw),B(LWb,8),B(MWb,8))};
SA.\u0275cmp=Oc({type:SA,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(a,b){a&1&&L("click",function(){return b._selectViaInteraction()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Df("id",b.id),of("tabindex",b._getTabIndex())("aria-selected",b.selected)("aria-disabled",b.disabled.toString()),xf("mat-selected",b.selected)("mat-option-multiple",b.multiple)("mat-active",b.active)("mat-option-disabled",b.disabled))},
exportAs:["matOption"],features:[kf],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&&(Ff(),O(0,bpa,1,2,"mat-pseudo-checkbox",0),F(1,"span",1,2),Gf(3),H(),O(4,cpa,2,1,"span",
3),I(5,"div",4));a&2&&(E("ngIf",b.multiple),z(4),E("ngIf",b.group&&b.group._inert),z(1),E("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disabled||b.disableRipple))},dependencies:[rA,Rw,sA],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 TA=function(){};TA.\u0275fac=function(a){return new (a||TA)};TA.\u0275mod=Qc({type:TA});TA.\u0275inj=zc({imports:[uA,ex,hA,vA]});var CXb={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},DXb=Tg("dialogContainer",[Wg("void, exit",Vg({opacity:0,transform:"scale(0.7)"})),Wg("enter",Vg({transform:"none"})),Xg("* => enter",qna([Ug("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",Vg({transform:"none",opacity:1})),Zg("@*",Yg())]),CXb),Xg("* => void, * => exit",qna([Ug("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",Vg({opacity:0})),Zg("@*",Yg())]),CXb)]);var UA=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 EXb=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 VA=function(a,b,c,d,e,g,h,l){this._isDisposed=!1;this._elementRef=a;this._focusTrapFactory=b;this._config=d;this._interactivityChecker=e;this._ngZone=g;this._overlayRef=h;this._focusMonitor=l;this._closeInteractionType=this._elementFocusedBeforeDialogWasOpened=null;this._ariaLabelledBy=this._config.ariaLabelledBy||null;this._document=c};T(VA,hy);f=VA.prototype;f._contentAttached=function(){this._initializeFocusTrap();this._handleBackdropClicks();this._captureInitialFocus()};
f._captureInitialFocus=function(){this._trapFocus()};f.ngOnDestroy=function(){this._restoreFocus()};f.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._contentAttached();return a};f.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._contentAttached();return a};f._recaptureFocus=function(){this._containsFocus()||this._trapFocus()};
f._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)};f._focusByCssSelector=function(a,b){(a=this._elementRef.nativeElement.querySelector(a))&&this._forceFocus(a,b)};
f._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":OTb(this._focusTrap).then(function(c){c||a._focusDialogContainer()});break;case "first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}};
f._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=Cg();var c=this._elementRef.nativeElement;if(!a||a===this._document.body||a===c||c.contains(a))this._focusMonitor?(cy(this._focusMonitor,b,this._closeInteractionType),this._closeInteractionType=null):b.focus()}this._focusTrap&&this._focusTrap.destroy()};
f._focusDialogContainer=function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()};f._containsFocus=function(){var a=this._elementRef.nativeElement,b=Cg();return a===b||a.contains(b)};f._initializeFocusTrap=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement);this._document&&(this._elementFocusedBeforeDialogWasOpened=Cg())};
f._handleBackdropClicks=function(){var a=this;this._overlayRef.backdropClick().subscribe(function(){a._config.disableClose&&a._recaptureFocus()})};VA.\u0275fac=function(a){return new (a||VA)(B(Dd),B(Wx),B(qh,8),B(EXb),B(Sx),B(df),B(Xz),B(by))};
VA.\u0275cmp=Oc({type:VA,selectors:[["cdk-dialog-container"]],viewQuery:function(a,b){a&1&&bg(ky,7);if(a&2){var c;ag(c=dg())&&(b._portalOutlet=c.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,b){a&2&&of("id",b._config.id||null)("role",b._config.role)("aria-modal",b._config.ariaModal)("aria-labelledby",b._config.ariaLabel?null:b._ariaLabelledBy)("aria-label",b._config.ariaLabel)("aria-describedby",b._config.ariaDescribedBy||null)},features:[kf],decls:1,
vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&O(0,dpa,0,0,"ng-template",0)},dependencies:[ky],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2});var FXb=new ad("DialogScrollStrategy"),GXb=new ad("DialogData"),HXb=new ad("DefaultDialogConfig"),IXb={provide:FXb,deps:[dA],useFactory:function(a){return function(){return a.scrollStrategies.block()}}};var JXb=function(a,b){var c=this;this.overlayRef=a;this.config=b;this.closed=new D.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||Jg(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()})};f=JXb.prototype;f.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}};f.updatePosition=function(){this.overlayRef.updatePosition()};
f.updateSize=function(a,b){this.overlayRef.updateSize({width:void 0===a?"":a,height:void 0===b?"":b})};f.addPanelClass=function(a){this.overlayRef.addPanelClass(a)};f.removePanelClass=function(a){this.overlayRef.removePanelClass(a)};var KXb=0,WA=function(a,b,c,d,e,g){var h=this;this._overlay=a;this._injector=b;this._defaultOptions=c;this._parentDialog=d;this._overlayContainer=e;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new D.Subject;this._afterOpenedAtThisLevel=new D.Subject;this._ariaHiddenElements=new Map;(0,D.defer)(function(){return h.openDialogs.length?h._getAfterAllClosed():h._getAfterAllClosed().pipe(Ze(void 0))});this._scrollStrategy=g};f=WA.prototype;
f.open=function(a,b){var c=this;b=Object.assign({},this._defaultOptions||new EXb,b);b.id=b.id||"cdk-dialog-"+KXb++;b.id&&this.getDialogById(b.id);var d=this._getOverlayConfig(b);d=this._overlay.create(d);var e=new JXb(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};f.closeAll=function(){epa(this.openDialogs,function(a){return a.close()})};f.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};f.ngOnDestroy=function(){var a=this;epa(this._openDialogsAtThisLevel,function(b){!1===b.config.closeOnDestroy&&a._removeOpenDialog(b,!1)});epa(this._openDialogsAtThisLevel,function(b){return b.close()});this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete();this._openDialogsAtThisLevel=[]};
f._getOverlayConfig=function(a){var b=new Wz({positionStrategy:a.positionStrategy||EWb(DWb(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};
f._attachContainer=function(a,b,c){var d,e=c.injector||(null==(d=c.viewContainerRef)?void 0:d.injector);b=[{provide:EXb,useValue:c},{provide:JXb,useValue:b},{provide:Xz,useValue:a}];c.container?"function"===typeof c.container?d=c.container:(d=c.container.type,b.push.apply(b,cd(c.container.providers(c)))):d=VA;c=new fy(d,c.viewContainerRef,gf({parent:e||this._injector,providers:b}),c.componentFactoryResolver);return a.attach(c).instance};
f._attachDialogContent=function(a,b,c,d){if(a instanceof Yf){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 gy(a,null,b,e))}else e=this._createInjector(d,b,c,this._injector),a=c.attachComponentPortal(new fy(a,d.viewContainerRef,e,d.componentFactoryResolver)),b.componentInstance=a.instance};
f._createInjector=function(a,b,c,d){var e,g=a.injector||(null==(e=a.viewContainerRef)?void 0:e.injector);e=[{provide:GXb,useValue:a.data},{provide:JXb,useValue:b}];a.providers&&("function"===typeof a.providers?e.push.apply(e,cd(a.providers(b,a,c))):e.push.apply(e,cd(a.providers)));!a.direction||g&&g.get(Cz,null,{optional:!0})||e.push({provide:Cz,useValue:{value:a.direction,change:(0,D.of)()}});return gf({parent:g||d,providers:e})};
f._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()))};
f._hideNonDialogContentFromAssistiveTechnology=function(){var a=kWb(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"))}};f._getAfterAllClosed=function(){var a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel};
sh.Object.defineProperties(WA.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}}});WA.\u0275fac=function(a){return new (a||WA)(t(dA),t(sv),t(HXb,8),t(WA,12),t(Hz),t(FXb))};WA.\u0275prov=yc({token:WA,factory:WA.\u0275fac});var XA=function(){};XA.\u0275fac=function(a){return new (a||XA)};XA.\u0275mod=Qc({type:XA});XA.\u0275inj=zc({providers:[WA,IXb],imports:[gA,ly,nz,ly]});var YA=function(a,b,c,d,e,g,h,l){VA.call(this,a,b,c,d,e,g,h,l);this._animationStateChanged=new kw};T(YA,VA);YA.prototype._captureInitialFocus=function(){this._config.delayFocusTrap||this._trapFocus()};YA.prototype._openAnimationDone=function(a){this._config.delayFocusTrap&&this._trapFocus();this._animationStateChanged.next({state:"opened",totalTime:a})};YA.\u0275fac=function(a){return new (a||YA)(B(Dd),B(Wx),B(qh,8),B(UA),B(Sx),B(df),B(Xz),B(by))};
YA.\u0275cmp=Oc({type:YA,selectors:[["ng-component"]],features:[kf],decls:0,vars:0,template:function(){},encapsulation:2});var ZA=function(a,b,c){var d=this;this._ref=a;this._containerInstance=c;this._afterOpened=new D.Subject;this._beforeClosed=new D.Subject;this._state=0;this.disableClose=b.disableClose;this.id=a.id;c._animationStateChanged.pipe(Ge(function(e){return"opened"===e.state}),Oe()).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(Ge(function(e){return"closed"===e.state}),Oe()).subscribe(function(){clearTimeout(d._closeFallbackTimeout);d._finishDialogClose()});
a.overlayRef._detachments.subscribe(function(){d._beforeClosed.next(d._result);d._beforeClosed.complete();d._finishDialogClose()});(0,D.merge)(this.backdropClick(),this.keydownEvents().pipe(Ge(function(e){return 27===e.keyCode&&!d.disableClose&&!Jg(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType="keydown"===e.type?"keyboard":"mouse",d.close(void 0))})};
ZA.prototype.close=function(a){var b=this;this._result=a;this._containerInstance._animationStateChanged.pipe(Ge(function(c){return"closing"===c.state}),Oe()).subscribe(function(c){b._beforeClosed.next(a);b._beforeClosed.complete();uWb(b._ref.overlayRef);b._closeFallbackTimeout=setTimeout(function(){return b._finishDialogClose()},c.totalTime+100)});this._state=1;this._containerInstance._startExitAnimation()};ZA.prototype.afterOpened=function(){return this._afterOpened};var $A=function(a){return a._ref.closed};
f=ZA.prototype;f.backdropClick=function(){return this._ref.backdropClick};f.keydownEvents=function(){return this._ref.keydownEvents};f.updatePosition=function(a){var b=this._ref.config.positionStrategy;a&&(a.left||a.right)?a.left?b.left(a.left):b.right(a.right):DWb(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):EWb(b);this._ref.updatePosition()};f.updateSize=function(a,b){this._ref.updateSize(void 0===a?"":a,void 0===b?"":b)};f.addPanelClass=function(a){this._ref.addPanelClass(a)};
f.removePanelClass=function(a){this._ref.removePanelClass(a)};f.getState=function(){return this._state};f._finishDialogClose=function(){this._state=2;this._ref.close(this._result,{focusOrigin:this._closeInteractionType});this.componentInstance=null};new ad("MatMdcDialogData");new ad("mat-mdc-dialog-default-options");new ad("mat-mdc-dialog-scroll-strategy");
var LXb=0,aB=function(a,b,c,d,e,g,h,l,q){var v=this;this._overlay=a;this._defaultOptions=c;this._parentDialog=d;this._dialogRefConstructor=h;this._dialogContainerType=l;this._dialogDataToken=q;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new D.Subject;this._afterOpenedAtThisLevel=new D.Subject;this._idPrefix="mat-dialog-";this.dialogConfigClass=UA;(0,D.defer)(function(){return v.openDialogs.length?v._getAfterAllClosed():v._getAfterAllClosed().pipe(Ze(void 0))});this._scrollStrategy=
g;this._dialog=b.get(WA)};f=aB.prototype;f._getAfterAllClosed=function(){var a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel};
f.open=function(a,b){var c=this,d;b=Object.assign({},this._defaultOptions||new UA,b);b.id=b.id||"mat-dialog-"+LXb++;b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();a=this._dialog.open(a,Object.assign({},b,{positionStrategy:EWb(DWb(this._overlay.position().global())),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:EXb,useValue:b}]}},templateContext:function(){return{dialogRef:d}},
providers:function(e,g,h){d=new c._dialogRefConstructor(e,b,h);var l;d.updatePosition(null==(l=b)?void 0:l.position);return[{provide:c._dialogContainerType,useValue:h},{provide:c._dialogDataToken,useValue:g.data},{provide:c._dialogRefConstructor,useValue:d}]}}));d.componentInstance=a.componentInstance;this.openDialogs.push(d);this.afterOpened.next(d);$A(d).subscribe(function(){var e=c.openDialogs.indexOf(d);-1<e&&(c.openDialogs.splice(e,1),c.openDialogs.length||c._getAfterAllClosed().next())});return d};
f.closeAll=function(){this._closeDialogs(this.openDialogs)};f.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};f.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel);this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete()};f._closeDialogs=function(a){for(var b=a.length;b--;)a[b].close()};
sh.Object.defineProperties(aB.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}}});aB.\u0275fac=function(){Hd()};aB.\u0275prov=yc({token:aB,factory:aB.\u0275fac});var bB=function(){ZA.apply(this,arguments)};T(bB,ZA);var MXb=function(){UA.apply(this,arguments);this.enterAnimationDuration=CXb.params.enterAnimationDuration;this.exitAnimationDuration=CXb.params.exitAnimationDuration};T(MXb,UA);var cB=function(a,b,c,d,e,g,h,l,q){YA.call(this,a,b,c,d,e,g,h,q);this._changeDetectorRef=l;this._state="enter"};T(cB,YA);cB.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})};
cB.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})};cB.prototype._startExitAnimation=function(){this._state="exit";this._changeDetectorRef.markForCheck()};
cB.prototype._getAnimationState=function(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||"150ms",exitAnimationDuration:this._config.exitAnimationDuration||"75ms"}}};cB.\u0275fac=function(a){return new (a||cB)(B(Dd),B(Wx),B(qh,8),B(MXb),B(Sx),B(df),B(Xz),B(Kw),B(by))};
cB.\u0275cmp=Oc({type:cB,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(a,b){a&1&&uka("@dialogContainer.start",function(c){return b._onAnimationStart(c)})("@dialogContainer.done",function(c){return b._onAnimationDone(c)});a&2&&(Df("id",b._config.id),of("aria-modal",b._config.ariaModal)("role",b._config.role)("aria-labelledby",b._config.ariaLabel?null:b._ariaLabelledBy)("aria-label",b._config.ariaLabel)("aria-describedby",
b._config.ariaDescribedBy||null),Ef("@dialogContainer",b._getAnimationState()))},features:[kf],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&O(0,fpa,0,0,"ng-template",0)},dependencies:[ky],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:[DXb]}});var dB=new ad("MatDialogData"),NXb=new ad("mat-dialog-default-options"),OXb=new ad("mat-dialog-scroll-strategy"),PXb={provide:OXb,deps:[dA],useFactory:function(a){return function(){return a.scrollStrategies.block()}}},eB=function(a,b,c,d,e,g,h,l){aB.call(this,a,b,d,g,h,e,bB,cB,dB,l);this.dialogConfigClass=MXb};T(eB,aB);eB.\u0275fac=function(a){return new (a||eB)(t(dA),t(sv),t(mx,8),t(NXb,8),t(OXb),t(eB,12),t(Hz),t(wv,8))};eB.\u0275prov=yc({token:eB,factory:eB.\u0275fac});var QXb=0,fB=function(a,b,c){this.dialogRef=a;this._elementRef=b;this._dialog=c;this.type="button"};fB.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=gpa(this._elementRef,this._dialog.openDialogs))};fB.prototype.ngOnChanges=function(a){if(a=a._matDialogClose||a._matDialogCloseResult)this.dialogResult=a.currentValue};fB.prototype._onButtonClick=function(a){var b=this.dialogRef,c=this.dialogResult;b._closeInteractionType=0===a.screenX&&0===a.screenY?"keyboard":"mouse";b.close(c)};
fB.\u0275fac=function(a){return new (a||fB)(B(bB,8),B(Dd),B(eB))};fB.\u0275dir=Sc({type:fB,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(a,b){a&1&&L("click",function(c){return b._onButtonClick(c)});a&2&&of("aria-label",b.ariaLabel||null)("type",b.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[gd]});
var gB=function(a,b,c){this._dialogRef=a;this._elementRef=b;this._dialog=c;this.id="mat-dialog-title-"+QXb++};gB.prototype.ngOnInit=function(){var a=this;this._dialogRef||(this._dialogRef=gpa(this._elementRef,this._dialog.openDialogs));this._dialogRef&&Promise.resolve().then(function(){var b=a._dialogRef._containerInstance;b&&!b._ariaLabelledBy&&(b._ariaLabelledBy=a.id)})};gB.\u0275fac=function(a){return new (a||gB)(B(bB,8),B(Dd),B(eB))};
gB.\u0275dir=Sc({type:gB,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(a,b){a&2&&Df("id",b.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]});var hB=function(){};hB.\u0275fac=function(a){return new (a||hB)};hB.\u0275dir=Sc({type:hB,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]});var iB=function(){this.align="start"};
iB.\u0275fac=function(a){return new (a||iB)};iB.\u0275dir=Sc({type:iB,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(a,b){a&2&&xf("mat-dialog-actions-align-center","center"===b.align)("mat-dialog-actions-align-end","end"===b.align)},inputs:{align:"align"}});var jB=function(){};jB.\u0275fac=function(a){return new (a||jB)};jB.\u0275mod=Qc({type:jB});jB.\u0275inj=zc({providers:[eB,PXb],imports:[XA,gA,ly,hA,hA]});var RXb=Ag({passive:!0}),kB=function(a,b){this._platform=a;this._ngZone=b;this._monitoredElements=new Map};
kB.prototype.monitor=function(a){var b=this;if(!this._platform.isBrowser)return D.EMPTY;var c=Hg(a);if(a=this._monitoredElements.get(c))return a.subject;var d=new D.Subject,e=function(g){"cdk-text-field-autofill-start"!==g.animationName||c.classList.contains("cdk-text-field-autofilled")?"cdk-text-field-autofill-end"===g.animationName&&c.classList.contains("cdk-text-field-autofilled")&&(c.classList.remove("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:g.target,isAutofilled:!1})})):
(c.classList.add("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:g.target,isAutofilled:!0})}))};this._ngZone.runOutsideAngular(function(){c.addEventListener("animationstart",e,RXb);c.classList.add("cdk-text-field-autofill-monitored")});this._monitoredElements.set(c,{subject:d,unlisten:function(){c.removeEventListener("animationstart",e,RXb)}});return d};
kB.prototype.stopMonitoring=function(a){a=Hg(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))};kB.prototype.ngOnDestroy=function(){var a=this;this._monitoredElements.forEach(function(b,c){return a.stopMonitoring(c)})};kB.\u0275fac=function(a){return new (a||kB)(t(Rx),t(df))};kB.\u0275prov=yc({token:kB,factory:kB.\u0275fac,providedIn:"root"});var lB=function(a,b,c,d){var e=this;this._elementRef=a;this._platform=b;this._ngZone=c;this._destroyed=new D.Subject;this._enabled=!0;this._previousMinRows=-1;this._isViewInited=!1;this._handleFocusEvent=function(g){e._hasFocus="focus"===g.type};this._document=d;this._textareaElement=this._elementRef.nativeElement};f=lB.prototype;f._setMinHeight=function(){var a=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;a&&(this._textareaElement.style.minHeight=a)};
f._setMaxHeight=function(){var a=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;a&&(this._textareaElement.style.maxHeight=a)};
f.ngAfterViewInit=function(){var a=this;this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,mB(this),this._ngZone.runOutsideAngular(function(){(0,D.fromEvent)(a._getWindow(),"resize").pipe(Je(16),af(a._destroyed)).subscribe(function(){return mB(a,!0)});a._textareaElement.addEventListener("focus",a._handleFocusEvent);a._textareaElement.addEventListener("blur",a._handleFocusEvent)}),this._isViewInited=!0,mB(this,!0))};
f.ngOnDestroy=function(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent);this._textareaElement.removeEventListener("blur",this._handleFocusEvent);this._destroyed.next();this._destroyed.complete()};
f._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()}};
f._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};
f._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};f.ngDoCheck=function(){this._platform.isBrowser&&mB(this)};
var mB=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}};f=lB.prototype;f.reset=function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)};f._noopInputHandler=function(){};f._getDocument=function(){return this._document||document};f._getWindow=function(){return this._getDocument().defaultView||window};f._scrollToCaretPosition=function(a){var b=a.selectionStart,c=a.selectionEnd;!this._destroyed.isStopped&&this._hasFocus&&a.setSelectionRange(b,c)};
sh.Object.defineProperties(lB.prototype,{minRows:{configurable:!0,enumerable:!0,get:function(){return this._minRows},set:function(a){this._minRows=Ig(a);this._setMinHeight()}},maxRows:{configurable:!0,enumerable:!0,get:function(){return this._maxRows},set:function(a){this._maxRows=Ig(a);this._setMaxHeight()}},enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){a=Fg(a);this._enabled!==a&&((this._enabled=a)?mB(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()}}});lB.\u0275fac=function(a){return new (a||lB)(B(Dd),B(Rx),B(df),B(qh,8))};
lB.\u0275dir=Sc({type:lB,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(a){a&1&&L("input",function(){})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]});var nB=function(){};nB.\u0275fac=function(a){return new (a||nB)};nB.\u0275mod=Qc({type:nB});nB.\u0275inj=zc({});var SXb=new ad("MatError");var TXb=new ad("MatPrefix");var UXb=new ad("MatSuffix");var VXb=Tg("transitionMessages",[Wg("enter",Vg({opacity:1,transform:"translateY(0%)"})),Xg("void => enter",[Vg({opacity:0,transform:"translateY(-5px)"}),Ug("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var oB=function(){};oB.\u0275fac=function(a){return new (a||oB)};oB.\u0275dir=Sc({type:oB});new ad("FloatingLabelParent");var pB=new ad("MatFormField");new ad("MAT_FORM_FIELD_DEFAULT_OPTIONS");var WXb=0,qB=function(a,b){this.id="mat-error-"+WXb++;a||b.nativeElement.setAttribute("aria-live","polite")};qB.\u0275fac=function(a){return new (a||qB)(wd("aria-live"),B(Dd))};qB.\u0275dir=Sc({type:qB,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(a,b){a&2&&of("id",b.id)},inputs:{id:"id"},features:[Of([{provide:SXb,useExisting:qB}])]});var XXb=0,YXb=new ad("MatHint"),rB=function(){this.align="start";this.id="mat-hint-"+XXb++};rB.\u0275fac=function(a){return new (a||rB)};rB.\u0275dir=Sc({type:rB,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(a,b){a&2&&(of("id",b.id)("align",null),xf("mat-form-field-hint-end","end"===b.align))},inputs:{align:"align",id:"id"},features:[Of([{provide:YXb,useExisting:rB}])]});var sB=function(){};sB.\u0275fac=function(a){return new (a||sB)};sB.\u0275dir=Sc({type:sB,selectors:[["mat-label"]]});var tB=function(){};tB.\u0275fac=function(a){return new (a||tB)};tB.\u0275dir=Sc({type:tB,selectors:[["mat-placeholder"]]});var ZXb=["connectionContainer"],$Xb=["inputContainer"],aYb=["label"],bYb=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],cYb=0,dYb=th(function(a){this._elementRef=a},"primary"),eYb=new ad("MAT_FORM_FIELD_DEFAULT_OPTIONS"),uB=function(a,b,c,d,e,g,h){a=dYb.call(this,a)||this;a._changeDetectorRef=b;a._dir=c;a._defaults=d;a._platform=e;a._ngZone=g;a._outlineGapCalculationNeededImmediately=
!1;a._outlineGapCalculationNeededOnStable=!1;a._destroyed=new D.Subject;a._hideRequiredMarker=!1;a._showAlwaysAnimate=!1;a._subscriptAnimationState="";a._hintLabel="";a._hintLabelId="mat-hint-"+cYb++;a._labelId="mat-form-field-label-"+cYb++;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};T(uB,dYb);f=uB.prototype;
f._shouldAlwaysFloat=function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate};f._canLabelFloat=function(){return"never"!==this.floatLabel};f.getLabelId=function(){return this._hasFloatingLabel()?this._labelId:null};
f.ngAfterContentInit=function(){var a=this,b=this._control;b.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+b.controlType);b.stateChanges.pipe(Ze(null)).subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});b.ngControl&&b.ngControl.valueChanges&&b.ngControl.valueChanges.pipe(af(this._destroyed)).subscribe(function(){return a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.pipe(af(a._destroyed)).subscribe(function(){a._outlineGapCalculationNeededOnStable&&
zh(a)})});(0,D.merge)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){a._outlineGapCalculationNeededOnStable=!0;a._changeDetectorRef.markForCheck()});this._hintChildren.changes.pipe(Ze(null)).subscribe(function(){a._processHints();a._changeDetectorRef.markForCheck()});this._errorChildren.changes.pipe(Ze(null)).subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});this._dir&&this._dir.change.pipe(af(this._destroyed)).subscribe(function(){"function"===
typeof requestAnimationFrame?a._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return zh(a)})}):zh(a)})};f.ngAfterContentChecked=function(){this._outlineGapCalculationNeededImmediately&&zh(this)};f.ngAfterViewInit=function(){this._subscriptAnimationState="enter";this._changeDetectorRef.detectChanges()};f.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};f._shouldForward=function(a){var b=this._control?this._control.ngControl:null;return b&&b[a]};
f._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)};f._hasLabel=function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)};f._shouldLabelFloat=function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())};f._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()};
f._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()};f._getDisplayedMessages=function(){return this._errorChildren&&0<this._errorChildren.length&&this._control.errorState?"error":"hint"};
f._animateAndLockLabel=function(){var a=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,D.fromEvent)(this._label.nativeElement,"transitionend").pipe(Oe()).subscribe(function(){a._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())};f._validatePlaceholders=function(){};f._processHints=function(){this._syncDescribedByIds()};f._validateHints=function(){};
f._getDefaultFloatLabelState=function(){return this._defaults&&this._defaults.floatLabel||"auto"};
f._syncDescribedByIds=function(){if(this._control){var a=[];this._control.userAriaDescribedBy&&"string"===typeof this._control.userAriaDescribedBy&&a.push.apply(a,cd(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,cd(this._errorChildren.map(function(d){return d.id})));this._control.setDescribedByIds(a)}};f._validateControlChild=function(){};
var zh=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,g=c.querySelectorAll(".mat-form-field-outline-start"),h=c.querySelectorAll(".mat-form-field-outline-gap");if(a._label&&a._label.nativeElement.children.length){d=c.getBoundingClientRect();if(0===d.width&&0===d.height){a._outlineGapCalculationNeededOnStable=!0;a._outlineGapCalculationNeededImmediately=
!1;return}d=a._getStartEnd(d);e=b.children;c=a._getStartEnd(e[0].getBoundingClientRect());for(var l=b=0;l<e.length;l++)b+=e[l].offsetWidth;d=Math.abs(c-d)-5;e=0<b?.75*b+10:0}for(b=0;b<g.length;b++)g[b].style.width=d+"px";for(g=0;g<h.length;g++)h[g].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"};uB.prototype._getStartEnd=function(a){return this._dir&&"rtl"===this._dir.value?a.right:a.left};uB.prototype._isAttachedToDOM=function(){var a=this._elementRef.nativeElement;if(a.getRootNode){var b=a.getRootNode();return b&&b!==a}return document.documentElement.contains(a)};
sh.Object.defineProperties(uB.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=Fg(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}}});uB.\u0275fac=function(a){return new (a||uB)(B(Dd),B(Kw),B(Cz,8),B(eYb,8),B(Rx),B(df),B(wv,8))};
uB.\u0275cmp=Oc({type:uB,selectors:[["mat-form-field"]],contentQueries:function(a,b,c){a&1&&(cg(c,oB,5),cg(c,oB,7),cg(c,sB,5),cg(c,sB,7),cg(c,tB,5),cg(c,SXb,5),cg(c,YXb,5),cg(c,TXb,5),cg(c,UXb,5));if(a&2){var d;ag(d=dg())&&(b._controlNonStatic=d.first);ag(d=dg())&&(b._controlStatic=d.first);ag(d=dg())&&(b._labelChildNonStatic=d.first);ag(d=dg())&&(b._labelChildStatic=d.first);ag(d=dg())&&(b._placeholderChild=d.first);ag(d=dg())&&(b._errorChildren=d);ag(d=dg())&&(b._hintChildren=d);ag(d=dg())&&(b._prefixChildren=
d);ag(d=dg())&&(b._suffixChildren=d)}},viewQuery:function(a,b){a&1&&(bg(ZXb,7),bg($Xb,5),bg(aYb,5));if(a&2){var c;ag(c=dg())&&(b._connectionContainerRef=c.first);ag(c=dg())&&(b._inputContainerRef=c.first);ag(c=dg())&&(b._label=c.first)}},hostAttrs:["ngSkipHydration","",1,"mat-form-field"],hostVars:40,hostBindings:function(a,b){a&2&&xf("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:[Of([{provide:pB,useExisting:uB}]),kf],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&&(Ff(bYb),F(0,"div",0)(1,"div",
1,2),L("click",function(){return b._control.onContainerClick()}),O(3,hpa,9,0,"ng-container",3),O(4,ipa,2,1,"div",4),F(5,"div",5,6),Gf(7),F(8,"span",7),O(9,mpa,5,16,"label",8),H()(),O(10,npa,2,0,"div",9),H(),O(11,opa,2,4,"div",10),F(12,"div",11),O(13,ppa,2,1,"div",12),O(14,rpa,5,2,"div",13),H()());a&2&&(z(3),E("ngIf","outline"==b.appearance),z(1),E("ngIf",b._prefixChildren.length),z(5),E("ngIf",b._hasFloatingLabel()),z(1),E("ngIf",b._suffixChildren.length),z(1),E("ngIf","outline"!=b.appearance),z(1),
E("ngSwitch",b._getDisplayedMessages()),z(1),E("ngSwitchCase","error"),z(1),E("ngSwitchCase","hint"))},dependencies:[Rw,Sw,Tw,kz],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}.mat-form-field .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-button-base,.mat-form-field .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-form-field .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{font-size:1em;display:inline-block;margin:-2px 0 1px}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button{font-size:inherit;width:1.5em;height:1.5em;padding:0}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{line-height:1.5em;margin:0}.mat-form-field .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:baseline}\n",
'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n',
'.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',
".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",
".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",
".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],
encapsulation:2,data:{animation:[VXb]},changeDetection:0});var vB=function(){};vB.\u0275fac=function(a){return new (a||vB)};vB.\u0275mod=Qc({type:vB});vB.\u0275inj=zc({imports:[ex,hA,lz,hA]});var fYb=new ad("MAT_INPUT_VALUE_ACCESSOR");var gYb="button checkbox file hidden image radio range reset submit".split(" "),hYb=0,iYb=Eoa(function(a,b,c,d){this._defaultErrorStateMatcher=a;this._parentForm=b;this._parentFormGroup=c;this.ngControl=d;this.stateChanges=new D.Subject}),wB=function(a,b,c,d,e,g,h,l,q,v){var x=iYb.call(this,g,d,e,c)||this;x._elementRef=a;x._platform=b;x._autofillMonitor=l;x._formField=v;x._uid="mat-input-"+hYb++;x.focused=!1;x.stateChanges=new D.Subject;x.controlType="mat-input";x.autofilled=!1;x._disabled=!1;x._type=
"text";x._readonly=!1;x._neverEmptyInputTypes="date datetime datetime-local month time week".split(" ").filter(function(G){return Dma().has(G)});x._iOSKeyupListener=function(G){G=G.target;G.value||0!==G.selectionStart||0!==G.selectionEnd||(G.setSelectionRange(1,1),G.setSelectionRange(0,0))};c=x._elementRef.nativeElement;var A=c.nodeName.toLowerCase();x._inputValueAccessor=h||c;x._previousNativeValue=x.value;x.id=x.id;b.IOS&&q.runOutsideAngular(function(){a.nativeElement.addEventListener("keyup",x._iOSKeyupListener)});
x._isServer=!x._platform.isBrowser;x._isNativeSelect="select"===A;x._isTextarea="textarea"===A;x._isInFormField=!!v;x._isNativeSelect&&(x.controlType=c.multiple?"mat-native-select-multiple":"mat-native-select");return x};T(wB,iYb);f=wB.prototype;f.ngAfterViewInit=function(){var a=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(b){a.autofilled=b.isAutofilled;a.stateChanges.next()})};f.ngOnChanges=function(){this.stateChanges.next()};
f.ngOnDestroy=function(){this.stateChanges.complete();this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement);this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)};f.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()};
f.focus=function(a){this._elementRef.nativeElement.focus(a)};f._focusChanged=function(a){a!==this.focused&&(this.focused=a,this.stateChanges.next())};f._onInput=function(){};f._dirtyCheckNativeValue=function(){var a=this._elementRef.nativeElement.value;this._previousNativeValue!==a&&(this._previousNativeValue=a,this.stateChanges.next())};
f._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")}};f._getPlaceholder=function(){return this.placeholder||null};f._validateType=function(){gYb.indexOf(this._type)};f._isNeverEmpty=function(){return-1<this._neverEmptyInputTypes.indexOf(this._type)};
f._isBadInput=function(){var a=this._elementRef.nativeElement.validity;return a&&a.badInput};f.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};f.onContainerClick=function(){this.focused||this.focus()};f._isInlineSelect=function(){var a=this._elementRef.nativeElement;return this._isNativeSelect&&(a.multiple||1<a.size)};
sh.Object.defineProperties(wB.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Fg(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:tTb(b))?d:!1},
set:function(a){this._required=Fg(a)}},type:{configurable:!0,enumerable:!0,get:function(){return this._type},set:function(a){this._type=a||"text";this._validateType();!this._isTextarea&&Dma().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=Fg(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}}});
wB.\u0275fac=function(a){return new (a||wB)(B(Dd),B(Rx),B(rx,10),B(yx,8),B(Hx,8),B(nA),B(fYb,10),B(kB),B(df),B(pB,8))};
wB.\u0275dir=Sc({type:wB,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&&L("focus",function(){return b._focusChanged(!0)})("blur",function(){return b._focusChanged(!1)})("input",function(){return b._onInput()});a&2&&(Df("id",b.id)("disabled",b.disabled)("required",b.required),of("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),xf("mat-input-server",b._isServer)("mat-mdc-form-field-textarea-control",b._isInFormField&&b._isTextarea)("mat-mdc-form-field-input-control",b._isInFormField)("mdc-text-field__input",b._isInFormField)("mat-mdc-native-select-inline",b._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",
userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Of([{provide:oB,useExisting:wB}]),kf,gd]});var xB=function(){var a=wB.apply(this,arguments)||this;a._legacyFormField=Jc(pB,{optional:!0});return a};T(xB,wB);xB.prototype._getPlaceholder=function(){var a=this._legacyFormField,b;return!a||"legacy"!==a.appearance||(null==(b=a._hasLabel)?0:b.call(a))?this.placeholder:null};xB.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(xB)))(b||xB)}}();
xB.\u0275dir=Sc({type:xB,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&&(of("data-placeholder",b.placeholder),xf("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:[Of([{provide:oB,useExisting:xB}]),kf]});var yB=function(){};yB.\u0275fac=function(a){return new (a||yB)};yB.\u0275mod=Qc({type:yB});yB.\u0275inj=zc({providers:[nA],imports:[nB,vB,hA,nB,vB]});var jYb={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},zB=jYb;zB=jYb;var kYb=RegExp("^((?:[-+]\\d*)?\\d{4})(?:(?:-?(\\d{2})(?:-?(\\d{2}))?)|(?:-?(\\d{3}))|(?:-?W(\\d{2})(?:-?([1-7]))?))?$"),lYb=/^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/,mYb=/Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/,nYb=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},oYb=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)},AB=function(a,b,c,d,e,g){"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=g||0)};f=AB.prototype;
f.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("")};f.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};f.clone=function(){return new AB(this.years,this.months,this.days,this.hours,this.minutes,this.seconds)};
f.isZero=function(){return 0==this.years&&0==this.months&&0==this.days&&0==this.hours&&0==this.minutes&&0==this.seconds};f.times=function(a){return new AB(this.years*a,this.months*a,this.days*a,this.hours*a,this.minutes*a,this.seconds*a)};f.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 Uh=function(a,b,c){"number"===typeof a?(this.date=pYb(a,b||0,c||1),qYb(this,c||1)):wa(a)?(this.date=pYb(a.getFullYear(),a.getMonth(),a.getDate()),qYb(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),qYb(this,a))},pYb=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};f=Uh.prototype;f.firstDayOfWeek_=zB.FIRSTDAYOFWEEK;
f.firstWeekCutOffDay_=zB.FIRSTWEEKCUTOFFDAY;f.clone=function(){var a=new Uh(this.date);a.firstDayOfWeek_=this.firstDayOfWeek_;a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};f.getFullYear=function(){return this.date.getFullYear()};f.getYear=function(){return this.getFullYear()};f.getMonth=function(){return this.date.getMonth()};f.getDate=function(){return this.date.getDate()};f.getTime=function(){return this.date.getTime()};f.getDay=function(){return this.date.getDay()};
f.getUTCFullYear=function(){return this.date.getUTCFullYear()};f.getUTCMonth=function(){return this.date.getUTCMonth()};f.getUTCDate=function(){return this.date.getUTCDate()};f.getUTCDay=function(){return this.date.getDay()};f.getUTCHours=function(){return this.date.getUTCHours()};f.getUTCMinutes=function(){return this.date.getUTCMinutes()};f.getFirstDayOfWeek=function(){return this.firstDayOfWeek_};var tXb=function(a){return nYb(a.getFullYear(),a.getMonth())};f=Uh.prototype;
f.getDayOfYear=function(){for(var a=this.getDate(),b=this.getFullYear(),c=this.getMonth()-1;0<=c;c--)a+=nYb(b,c);return a};f.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};f.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};f.setFullYear=function(a){this.date.setFullYear(a)};f.setYear=function(a){this.setFullYear(a)};f.setMonth=function(a){this.date.setMonth(a)};f.setDate=function(a){this.date.setDate(a)};f.setTime=function(a){this.date.setTime(a)};
f.setUTCFullYear=function(a){this.date.setUTCFullYear(a)};f.setUTCMonth=function(a){this.date.setUTCMonth(a)};f.setUTCDate=function(a){this.date.setUTCDate(a)};
f.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(nYb(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()),qYb(this,a.getDate()))};
f.toIsoString=function(a){var b=this.getFullYear(),c=0>b?"-":1E4<=b?"+":"";return[c+lv(Math.abs(b),c?6:4),lv(this.getMonth()+1,2),lv(this.getDate(),2)].join(a?"-":"")};f.equals=function(a){return!(!a||this.getYear()!=a.getYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};f.toString=function(){return this.toIsoString()};var qYb=function(a,b){a.getDate()!=b&&(b=a.getDate()<b?1:-1,a.date.setUTCHours(a.date.getUTCHours()+b))};Uh.prototype.valueOf=function(){return this.date.valueOf()};
var Dl=function(a,b,c,d,e,g,h){this.date="number"===typeof a?new Date(a,b||0,c||1,d||0,e||0,g||0,h||0):new Date(a&&a.getTime?a.getTime():Date.now())};Ns(Dl,Uh);f=Dl.prototype;f.getHours=function(){return this.date.getHours()};f.getMinutes=function(){return this.date.getMinutes()};f.getSeconds=function(){return this.date.getSeconds()};f.getMilliseconds=function(){return this.date.getMilliseconds()};f.getUTCDay=function(){return this.date.getUTCDay()};f.getUTCHours=function(){return this.date.getUTCHours()};
f.getUTCMinutes=function(){return this.date.getUTCMinutes()};f.getUTCSeconds=function(){return this.date.getUTCSeconds()};f.getUTCMilliseconds=function(){return this.date.getUTCMilliseconds()};f.setHours=function(a){this.date.setHours(a)};f.setMinutes=function(a){this.date.setMinutes(a)};f.setSeconds=function(a){this.date.setSeconds(a)};f.setMilliseconds=function(a){this.date.setMilliseconds(a)};f.setUTCHours=function(a){this.date.setUTCHours(a)};f.setUTCMinutes=function(a){this.date.setUTCMinutes(a)};
f.setUTCSeconds=function(a){this.date.setUTCSeconds(a)};f.setUTCMilliseconds=function(a){this.date.setUTCMilliseconds(a)};f.add=function(a){Uh.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)};
f.toIsoString=function(a){var b=Uh.prototype.toIsoString.call(this,a);return a?b+"T"+lv(this.getHours(),2)+":"+lv(this.getMinutes(),2)+":"+lv(this.getSeconds(),2):b+"T"+lv(this.getHours(),2)+lv(this.getMinutes(),2)+lv(this.getSeconds(),2)};f.equals=function(a){return this.getTime()==a.getTime()};f.toString=function(){return this.toIsoString()};f.clone=function(){var a=new Dl(this.date);a.firstDayOfWeek_=this.getFirstDayOfWeek();a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};var rYb=function(){},Fk=function(a){if("number"==typeof a){var b=new rYb;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(":",lv(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=sYb(a);b.tzNames_=[c,c];b.tzNamesExt_={STD_LONG_NAME_GMT:a,STD_GENERIC_LOCATION:a};b.transitions_=[];return b}b=new rYb;
b.timeZoneId_=a.id;b.standardOffset_=-a.std_offset;b.tzNames_=a.names;b.tzNamesExt_=a.names_ext;b.transitions_=a.transitions;return b},sYb=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(lv(Math.floor(a/60)%100,2),":",lv(a%60,2));return b.join("")},tYb=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]};
rYb.prototype.getOffset=function(a){a=this.standardOffset_-tYb(this,a);return-1440===a?0:a};var BB=function(a){this.patternParts_=[];this.dateTimeSymbols_=zB;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)},uYb=[/^'(?:[^']|'')*('|$)/,/^(?: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]+/],CB=function(a){return a.getHours?a.getHours():0};
BB.prototype.applyPattern_=function(a){for(vYb&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<uYb.length;++c){var d=a.match(uYb[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("kb`"+a);}};
BB.prototype.format=function(a,b){if(!a)throw Error("lb");var c=b?6E4*(a.getTimezoneOffset()-b.getOffset(a)):0,d=c?new Date(a.getTime()+c):a,e=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(d=new Date(d.getTime()+6E4*(d.getTimezoneOffset()-a.getTimezoneOffset())),e=new Date(a.getTime()+(c+(0<c?-864E5:864E5))));c=[];for(var g=0;g<this.patternParts_.length;++g){var h=this.patternParts_[g].text;1==this.patternParts_[g].type?c.push(wYb(this,h,a,d,e,b)):c.push(h)}return c.join("")};
BB.prototype.applyStandardPattern_=function(a){if(4>a)var b=this.dateTimeSymbols_.DATEFORMATS[a];else if(8>a)b=this.dateTimeSymbols_.TIMEFORMATS[a-4];else if(12>a)b=this.dateTimeSymbols_.DATETIMEFORMATS[a-8],b=b.replace("{1}",this.dateTimeSymbols_.DATEFORMATS[a-8]),b=b.replace("{0}",this.dateTimeSymbols_.TIMEFORMATS[a-8]);else if(12===a)b=this.dateTimeSymbols_.DATEFORMATS[0].replace(/[^EMd]*yy*[^EMd]*/,"");else{this.applyStandardPattern_(10);return}this.applyPattern_(b)};
var DB=function(a,b){return xYb(b,a.dateTimeSymbols_)},vYb=!1,xYb=function(a,b){a=String(a);b=b||zB;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("")},EB=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("mb");},yYb=function(a,b){EB(b);b=CB(b);return a.dateTimeSymbols_.AMPMS[12<=b&&24>b?1:0]},wYb=function(a,b,c,d,e,g){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),DB(a,lv(c,h));case "Y":return c=d.getMonth(),e=d.getDate(),c=oYb(d.getFullYear(),c,e,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),c=(new Date(c)).getFullYear(),0>c&&(c=-c),2==h&&(c%=100),DB(a,lv(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=DB(a,lv(c+1,h))}return h;case "k":return EB(e),c=CB(e)||24,DB(a,lv(c,h));case "S":return DB(a,(e.getMilliseconds()/1E3).toFixed(Math.min(3,h)).slice(2)+(3<h?lv(0,h-3):""));case "E":return c=d.getDay(),4<=h?a.dateTimeSymbols_.WEEKDAYS[c]:a.dateTimeSymbols_.SHORTWEEKDAYS[c];case "a":return yYb(a,e);case "b":return yYb(a,e);case "B":return yYb(a,e);case "h":return EB(e),c=CB(e)%12||12,DB(a,lv(c,h));case "K":return EB(e),c=CB(e)%12,
DB(a,lv(c,h));case "H":return EB(e),c=CB(e),DB(a,lv(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=DB(a,lv(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=DB(a,lv(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 DB(a,lv(d.getDate(),h));case "m":return EB(e),DB(a,lv(e.getMinutes?e.getMinutes():0,h));case "s":return EB(e),DB(a,lv(e.getSeconds(),h));case "v":return(g||Fk(c.getTimezoneOffset())).timeZoneId_;case "V":return a=g||Fk(c.getTimezoneOffset()),2>=h?a.timeZoneId_:0<tYb(a,c)?void 0!==a.tzNamesExt_.DST_GENERIC_LOCATION?a.tzNamesExt_.DST_GENERIC_LOCATION:
a.tzNamesExt_.DST_GENERIC_LOCATION:void 0!==a.tzNamesExt_.STD_GENERIC_LOCATION?a.tzNamesExt_.STD_GENERIC_LOCATION:a.tzNamesExt_.STD_GENERIC_LOCATION;case "w":return c=e.getMonth(),d=e.getDate(),c=oYb(e.getFullYear(),c,d,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),DB(a,lv(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,h));case "z":return a=g||Fk(c.getTimezoneOffset()),4>h?a.tzNames_[0<tYb(a,c)?2:0]:a.tzNames_[0<tYb(a,c)?3:1];
case "Z":return d=g||Fk(c.getTimezoneOffset()),4>h?(h=-d.getOffset(c),a=[0>h?"-":"+"],h=Math.abs(h),a.push(lv(Math.floor(h/60)%100,2),lv(h%60,2)),h=a.join("")):h=DB(a,sYb(d.getOffset(c))),h;default:return""}};var spa;var zYb=function(a,b){this.url=a;this.svgText=null;this.options=b},FB=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},GB=function(a,b,c){a._addSvgIconConfig("",b,new zYb(c))},AYb=function(a,b){return a._fontCssClassesByAlias.get(b)||
b};FB.prototype.setDefaultFontSetClass=function(){this._defaultFontSetClass=Zc.apply(0,arguments)};var BYb=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,D.throwError)(Error("nb`"+d))};f=FB.prototype;
f.ngOnDestroy=function(){this._resolvers=[];this._svgIconConfigs.clear();this._iconSetConfigs.clear();this._cachedIconsByUrl.clear()};f._getSvgFromConfig=function(a){return a.svgText?(0,D.of)(this._svgElementFromConfig(a).cloneNode(!0)):this._loadSvgIconFromConfig(a).pipe(C(function(b){return b.cloneNode(!0)}))};
f._getSvgFromIconSetConfigs=function(a,b){var c=this,d=this._extractIconWithNameFromAnySet(a,b);if(d)return(0,D.of)(d);d=b.filter(function(e){return!e.svgText}).map(function(e){return c._loadSvgIconSetFromConfig(e).pipe(Ke(function(g){g="Loading icon set URL: "+c._sanitizer.sanitize(5,e.url)+" failed: "+g.message;c._errorHandler.handleError(Error(g));return(0,D.of)(null)}))});return(0,D.forkJoin)(d).pipe(C(function(){var e=c._extractIconWithNameFromAnySet(a,b);if(!e)throw Error("nb`"+a);return e}))};
f._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};f._loadSvgIconFromConfig=function(a){var b=this;return this._fetchIcon(a).pipe(bf(function(c){return a.svgText=c}),C(function(){return b._svgElementFromConfig(a)}))};
f._loadSvgIconSetFromConfig=function(a){return a.svgText?(0,D.of)(null):this._fetchIcon(a).pipe(bf(function(b){return a.svgText=b}))};
f._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(upa("<svg></svg>"));b.appendChild(a);return this._setSvgAttributes(b,c)};
f._svgElementFromString=function(a){var b=this._document.createElement("DIV");b.innerHTML=a;a=b.querySelector("svg");if(!a)throw Error("qb");return a};f._toSvgElement=function(a){for(var b=this._svgElementFromString(upa("<svg></svg>")),c=a.attributes,d=0;d<c.length;d++){var e=c[d],g=e.name;e=e.value;"id"!==g&&b.setAttribute(g,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};
f._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};
f._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("ob");if(null==c)throw Error("rb`"+c);var g=this._sanitizer.sanitize(5,c);if(!g)throw Error("pb`"+c);if(c=this._inProgressUrlFetches.get(g))return c;c=this._httpClient.get(g,{responseType:"text",withCredentials:a}).pipe(C(function(h){return upa(h)}),Qe(function(){return b._inProgressUrlFetches.delete(g)}),We());this._inProgressUrlFetches.set(g,c);return c};
f._addSvgIconConfig=function(a,b,c){this._svgIconConfigs.set(a+":"+b,c);return this};f._addSvgIconSetConfig=function(a,b){var c=this._iconSetConfigs.get(a);c?c.push(b):this._iconSetConfigs.set(a,[b]);return this};f._svgElementFromConfig=function(a){if(!a.svgElement){var b=this._svgElementFromString(a.svgText);this._setSvgAttributes(b,a.options);a.svgElement=b}return a.svgElement};
f._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 zYb(d.url,d.options):new zYb(d)}};FB.\u0275fac=function(a){return new (a||FB)(t(Dy,8),t(Jy),t(qh,8),t(Yd))};FB.\u0275prov=yc({token:FB,factory:FB.\u0275fac,providedIn:"root"});new ov;new pv;new ov;new ov;var CYb=th(function(a){this._elementRef=a}),DYb=new ad("MAT_ICON_DEFAULT_OPTIONS"),EYb=new ad("mat-icon-location",{providedIn:"root",factory:vpa}),FYb="clip-path color-profile src cursor fill filter marker marker-start marker-mid marker-end mask stroke".split(" "),GYb=FYb.map(function(a){return"["+a+"]"}).join(", "),HYb=/^url\(['"]?#(.*?)['"]?\)$/,HB=function(a,b,c,d,e,g){var h=CYb.call(this,a)||this;h._iconRegistry=b;h._location=d;h._errorHandler=e;h._inline=!1;h._previousFontSetClass=[];h._currentIconFetch=
D.Subscription.EMPTY;g&&(g.color&&(h.color=h.defaultColor=g.color),g.fontSet&&(h.fontSet=g.fontSet));c||a.nativeElement.setAttribute("aria-hidden","true");return h};T(HB,CYb);f=HB.prototype;f._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("sb`"+a);}};f.ngOnInit=function(){this._updateFontIconClasses()};
f.ngAfterViewChecked=function(){var a=this._elementsWithExternalReferences;a&&a.size&&(a=this._location.getPathname(),a!==this._previousPath&&(this._previousPath=a,this._prependPathToReferences(a)))};f.ngOnDestroy=function(){this._currentIconFetch.unsubscribe();this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()};f._usingFontIcon=function(){return!this.svgIcon};
f._setSvgElement=function(a){this._clearSvgElement();var b=this._location.getPathname();this._previousPath=b;this._cacheChildrenWithExternalReferences(a);this._prependPathToReferences(b);this._elementRef.nativeElement.appendChild(a)};f._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()}};
f._updateFontIconClasses=function(){if(this._usingFontIcon()){var a=this._elementRef.nativeElement,b=(this.fontSet?AYb(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)}};f._cleanupFontValue=function(a){return"string"===typeof a?a.trim().split(" ")[0]:a};f._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+"')")})})};
f._cacheChildrenWithExternalReferences=function(a){var b=a.querySelectorAll(GYb),c=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(a={$jscomp$loop$prop$i$2295:0};a.$jscomp$loop$prop$i$2295<b.length;a={$jscomp$loop$prop$i$2295:a.$jscomp$loop$prop$i$2295},a.$jscomp$loop$prop$i$2295++)FYb.forEach(function(d){return function(e){var g=b[d.$jscomp$loop$prop$i$2295],h=g.getAttribute(e);if(h=h?h.match(HYb):null){var l=c.get(g);l||(l=[],c.set(g,l));l.push({name:e,value:h[1]})}}}(a))};
f._updateSvgIcon=function(a){var b=this;this._svgName=this._svgNamespace=null;this._currentIconFetch.unsubscribe();if(a){a=k(this._splitIconName(a));var c=a.next().value,d=a.next().value;c&&(this._svgNamespace=c);d&&(this._svgName=d);this._currentIconFetch=BYb(this._iconRegistry,d,c).pipe(Oe()).subscribe(function(e){return b._setSvgElement(e)},function(e){b._errorHandler.handleError(Error("tb`"+c+"`"+d+"`"+e.message))})}};
sh.Object.defineProperties(HB.prototype,{inline:{configurable:!0,enumerable:!0,get:function(){return this._inline},set:function(a){this._inline=Fg(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)(B(Dd),B(FB),wd("aria-hidden"),B(EYb),B(Yd),B(DYb,8))};
HB.\u0275cmp=Oc({type:HB,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(a,b){a&2&&(of("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),xf("mat-icon-inline",b.inline)("mat-icon-no-color","primary"!==b.color&&"accent"!==b.color&&"warn"!==b.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",
fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[kf],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Ff(),Gf(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],
encapsulation:2,changeDetection:0});var IB=function(){};IB.\u0275fac=function(a){return new (a||IB)};IB.\u0275mod=Qc({type:IB});IB.\u0275inj=zc({});var JB=function(){};JB.\u0275fac=function(a){return new (a||JB)};JB.\u0275mod=Qc({type:JB});JB.\u0275inj=zc({});var KB={};KB.AssertionError=aaa;KB.ENABLE_ASSERTS=!1;KB.assert=function(a){return a};KB.assertArray=function(a){return a};KB.assertBoolean=function(a){return a};KB.assertElement=function(a){return a};KB.assertExists=function(a){return a};KB.assertFinite=function(a){return a};KB.assertFunction=function(a){return a};KB.assertInstanceof=function(a){return a};KB.assertNumber=function(a){return a};KB.assertObject=function(a){return a};KB.assertString=function(a){return a};KB.fail=function(){};var LB=function(){};LB.\u0275fac=function(a){return new (a||LB)};LB.\u0275mod=Qc({type:LB});LB.\u0275inj=zc({});var MB=function(){};MB.\u0275fac=function(a){return new (a||MB)};MB.\u0275mod=Qc({type:MB});MB.\u0275inj=zc({imports:[LB]});var NB=function(){};NB.prototype.getValue=function(a){a=window.localStorage.getItem(a);return(0,D.of)(a?JSON.parse(a):null)};NB.prototype.getValues=function(a){return(0,D.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))};NB.prototype.setValue=function(a,b){window.localStorage.setItem(a,JSON.stringify(b));return(0,D.of)(void 0)};NB.\u0275fac=function(a){return new (a||NB)};
NB.\u0275prov=yc({token:NB,factory:NB.\u0275fac,providedIn:LB});var IYb=function(a){this.cellValue_=a};var OB=function(a,b,c){this.metricName_=a;this.cellType_=b;this.fields_=c||[];this.cellMap_=new Map};f=OB.prototype;f.addCell=function(a){var b=Zc.apply(1,arguments),c=this.getCells(b);c?c.push(new IYb(a)):this.setCell(a,b)};f.setCell=function(a){var b=this.getKey_(Zc.apply(1,arguments));this.cellMap_.set(b,[new IYb(a)])};f.getCells=function(){var a=this.getKey_(Zc.apply(0,arguments));return this.cellMap_.has(a)?this.cellMap_.get(a):void 0};
f.getCell=function(){var a=this.getCells(Zc.apply(0,arguments));return a&&a.length?a[0]:void 0};f.clear=function(){this.cellMap_.clear()};f.getKey_=function(){var a=Zc.apply(0,arguments);return a?a.join(","):"key"};var PB=function(a,b){OB.call(this,a,3,b)};T(PB,OB);PB.prototype.incrementCounter=function(){this.incrementCounterBy(1,Zc.apply(0,arguments))};PB.prototype.incrementCounterBy=function(a){var b=Zc.apply(1,arguments),c=0,d=this.getCell(b);d&&(c=d.cellValue_);this.setCell(c+a,b)};var JYb=function(a,b){OB.call(this,a,2,b)};T(JYb,OB);JYb.prototype.record=function(a){this.addCell(a,Zc.apply(1,arguments))};var QB=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};QB.prototype.disposed_=!1;QB.prototype.isDisposed=function(){return this.disposed_};QB.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};var RB=function(a,b){b=Ms(Ah,b);a.disposed_?b():(a.onDisposeCallbacks_||(a.onDisposeCallbacks_=[]),a.onDisposeCallbacks_.push(b))};QB.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var SB=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};SB.prototype.stopPropagation=function(){this.propagationStopped_=!0};SB.prototype.preventDefault=function(){this.defaultPrevented=!0};var KYb=[],LYb=[],MYb=!1,NYb=function(a){KYb[KYb.length]=a;if(MYb)for(var b=0;b<LYb.length;b++)a(Ls(LYb[b].wrap,LYb[b]))};var OYb=function(){if(!ba.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};ba.addEventListener("test",c,b);ba.removeEventListener("test",c,b)}catch(d){}return a}();var TB=function(a,b){SB.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.platformModifierKey=!1;this.pointerId=0;this.pointerType="";this.event_=null;a&&this.init(a,b)};Ns(TB,SB);var PYb={2:"touch",3:"pen",4:"mouse"};
TB.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)?Rs&&(VJb(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=Ss||void 0!==a.offsetX?
a.offsetX:a.layerX,this.offsetY=Ss||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=qq?a.metaKey:a.ctrlKey;this.pointerId=
a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:PYb[a.pointerType]||"";this.state=a.state;this.event_=a;a.defaultPrevented&&TB.superClass_.preventDefault.call(this)};TB.prototype.stopPropagation=function(){TB.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};
TB.prototype.preventDefault=function(){TB.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var QYb="closure_listenable_"+(1E6*Math.random()|0),UB=function(a){return!(!a||!a[QYb])};var RYb=0;var SYb=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=++RYb;this.removed=this.callOnce=!1},TYb=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};var VB=function(a){this.src=a;this.listeners={};this.typeCount_=0};VB.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.listeners[g];a||(a=this.listeners[g]=[],this.typeCount_++);var h=UYb(a,b,d,e);-1<h?(b=a[h],c||(b.callOnce=!1)):(b=new SYb(b,this.src,g,!!d,e),b.callOnce=c,a.push(b));return b};
VB.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=UYb(e,b,c,d);return-1<b?(TYb(e[b]),zaa(e,b),0==e.length&&(delete this.listeners[a],this.typeCount_--),!0):!1};var VYb=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=ra(a.listeners[c],b);d&&(TYb(b),0==a.listeners[c].length&&(delete a.listeners[c],a.typeCount_--));return d};
VB.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,TYb(d[e]);delete this.listeners[c];this.typeCount_--}return b};VB.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=UYb(a,b,c,d));return-1<e?a[e]:null};
VB.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Mca(this.listeners,function(g){for(var h=0;h<g.length;++h)if(!(c&&g[h].type!=d||e&&g[h].capture!=b))return!0;return!1})};var UYb=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.removed&&g.listener==b&&g.capture==!!c&&g.handler==d)return e}return-1};var WYb="closure_lm_"+(1E6*Math.random()|0),XYb={},YYb=0,So=function(a,b,c,d,e){if(d&&d.once)return WB(a,b,c,d,e);if(Array.isArray(b)){for(var g=0;g<b.length;g++)So(a,b[g],c,d,e);return null}c=ZYb(c);return UB(a)?a.listen(b,c,wa(d)?!!d.capture:!!d,e):$Yb(a,b,c,!1,d,e)},$Yb=function(a,b,c,d,e,g){if(!b)throw Error("ub");var h=wa(e)?!!e.capture:!!e,l=XB(a);l||(a[WYb]=l=new VB(a));c=l.add(b,c,d,h,g);if(c.proxy)return c;d=aZb();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)OYb||(e=h),void 0===e&&
(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(bZb(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("vb");YYb++;return c},aZb=function(){var a=cZb,b=function(c){return a.call(b.src,b.listener,c)};return b},WB=function(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)WB(a,b[g],c,d,e);return null}c=ZYb(c);return UB(a)?a.listenOnce(b,c,wa(d)?!!d.capture:!!d,e):$Yb(a,b,c,!0,d,e)},YB=function(a,b,c,d,e){if(Array.isArray(b))for(var g=
0;g<b.length;g++)YB(a,b[g],c,d,e);else d=wa(d)?!!d.capture:!!d,c=ZYb(c),UB(a)?a.unlisten(b,c,d,e):a&&(a=XB(a))&&(b=a.getListener(b,c,d,e))&&ZB(b)},ZB=function(a){if("number"===typeof a||!a||a.removed)return!1;var b=a.src;if(UB(b))return b.unlistenByKey(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(bZb(c),d):b.addListener&&b.removeListener&&b.removeListener(d);YYb--;(c=XB(b))?(VYb(c,a),0==c.typeCount_&&(c.src=null,b[WYb]=null)):TYb(a);
return!0},bZb=function(a){return a in XYb?XYb[a]:XYb[a]="on"+a},cZb=function(a,b){if(a.removed)a=!0;else{b=new TB(b,this);var c=a.listener,d=a.handler||a.src;a.callOnce&&ZB(a);a=c.call(d,b)}return a},XB=function(a){a=a[WYb];return a instanceof VB?a:null},dZb="__closure_events_fn_"+(1E9*Math.random()>>>0),ZYb=function(a){if("function"===typeof a)return a;a[dZb]||(a[dZb]=function(b){return a.handleEvent(b)});return a[dZb]};NYb(function(a){cZb=a(cZb)});var Ro=function(){QB.call(this);this.eventTargetListeners_=new VB(this);this.actualEventTarget_=this;this.parentEventTarget_=null};Ns(Ro,QB);Ro.prototype[QYb]=!0;f=Ro.prototype;f.getParentEventTarget=function(){return this.parentEventTarget_};f.setParentEventTarget=function(a){this.parentEventTarget_=a};f.addEventListener=function(a,b,c,d){So(this,a,b,c,d)};f.removeEventListener=function(a,b,c,d){YB(this,a,b,c,d)};
f.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 SB(a,c);else if(a instanceof SB)a.target=a.target||c;else{var e=a;a=new SB(d,c);Uca(a,e)}e=!0;if(b)for(var g=b.length-1;!a.propagationStopped_&&0<=g;g--){var h=a.currentTarget=b[g];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(g=0;!a.propagationStopped_&&g<b.length;g++)h=a.currentTarget=b[g],e=h.fireListeners(d,!1,a)&&e;return e};f.disposeInternal=function(){Ro.superClass_.disposeInternal.call(this);this.removeAllListeners();this.parentEventTarget_=null};f.listen=function(a,b,c,d){return this.eventTargetListeners_.add(String(a),b,!1,c,d)};f.listenOnce=function(a,b,c,d){return this.eventTargetListeners_.add(String(a),b,!0,c,d)};
f.unlisten=function(a,b,c,d){return this.eventTargetListeners_.remove(String(a),b,c,d)};f.unlistenByKey=function(a){return VYb(this.eventTargetListeners_,a)};f.removeAllListeners=function(a){return this.eventTargetListeners_?this.eventTargetListeners_.removeAll(a):0};
f.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 g=a[e];if(g&&!g.removed&&g.capture==b){var h=g.listener,l=g.handler||g.src;g.callOnce&&this.unlistenByKey(g);d=!1!==h.call(l,c)&&d}}return d&&!c.defaultPrevented};f.getListener=function(a,b,c,d){return this.eventTargetListeners_.getListener(String(a),b,c,d)};
f.hasListener=function(a,b){return this.eventTargetListeners_.hasListener(void 0!==a?String(a):void 0,b)};var eZb=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};eZb.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};eZb.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 fZb=Ps||Ss;var gZb=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)};f=yq.prototype;f.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};f.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
f.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};f.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};f.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};var $B=function(a,b){this.width=a;this.height=b},Lib=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};f=$B.prototype;f.clone=function(){return new $B(this.width,this.height)};f.aspectRatio=function(){return this.width/this.height};f.isEmpty=function(){return!(this.width*this.height)};f.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};f.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
f.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};f.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};var Uo=function(a){return a?new aC(bC(a)):EJb||(EJb=new aC)},cC=function(a,b){return"string"===typeof b?a.getElementById(b):b},dC=function(a,b){return(b||document).getElementsByTagName(String(a))},iZb=function(a,b){$b(b,function(c,d){c&&"object"==typeof c&&c.implementsGoogStringTypedString&&(c=c.getTypedStringValue());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:hZb.hasOwnProperty(d)?a.setAttribute(hZb[d],c):di(d,"aria-")||di(d,"data-")?a.setAttribute(d,c):a[d]=c})},
hZb={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"},eC=function(a){a=(a||window).document;a=jZb(a)?a.documentElement:a.body;return new $B(a.clientWidth,a.clientHeight)},gC=function(a){var b=fC(a);a=a.parentWindow||a.defaultView;return Ps&&a.pageYOffset!=b.scrollTop?new yq(b.scrollLeft,b.scrollTop):new yq(a.pageXOffset||
b.scrollLeft,a.pageYOffset||b.scrollTop)},fC=function(a){return a.scrollingElement?a.scrollingElement:!Ss&&jZb(a)?a.documentElement:a.body||a.documentElement},hC=function(a){return a?a.parentWindow||a.defaultView:window},lZb=function(a,b,c){return kZb(document,arguments)},kZb=function(a,b){var c=b[1],d=go(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):iZb(d,c));2<b.length&&mZb(a,d,b,2);return d},mZb=function(a,b,c,d){function e(l){l&&b.appendChild("string"===
typeof l?a.createTextNode(l):l)}for(;d<c.length;d++){var g=c[d];if(!va(g)||wa(g)&&0<g.nodeType)e(g);else{a:{if(g&&"number"==typeof g.length){if(wa(g)){var h="function"==typeof g.item||"string"==typeof g.item;break a}if("function"===typeof g){h="function"==typeof g.item;break a}}h=!1}pa(h?ua(g):g,e)}}},go=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},jZb=function(a){return"CSS1Compat"==a.compatMode},nZb=function(a,b){mZb(bC(a),a,arguments,
1)},oZb=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},iC=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},jC=function(a){return wa(a)&&1==a.nodeType},ykb=function(a){var b;if(fZb&&(b=a.parentElement))return b;b=a.parentNode;return jC(b)?b:null},z6a=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},bC=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},pZb=function(a){return a.contentDocument||a.contentWindow.document},kC=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 oZb(a),a.appendChild(bC(a).createTextNode(String(b)))},qZb={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},rZb={IMG:" ",BR:"\n"},sZb=function(a){a=
a.tabIndex;return"number"===typeof a&&0<=a&&32768>a},tZb=function(a,b,c){if(!(a.nodeName in qZb))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 rZb)b.push(rZb[a.nodeName]);else for(a=a.firstChild;a;)tZb(a,b,c),a=a.nextSibling},fjb=function(){var a=hC();return void 0!==a.devicePixelRatio?a.devicePixelRatio:a.matchMedia?uZb(3)||uZb(2)||uZb(1.5)||uZb(1)||.75:1},uZb=function(a){return hC().matchMedia("(min-resolution: "+a+"dppx),(min--moz-device-pixel-ratio: "+
a+"),(min-resolution: "+96*a+"dpi)").matches?a:0},aC=function(a){this.document_=a||ba.document||document};f=aC.prototype;f.getDomHelper=Uo;f.getElement=function(a){return cC(this.document_,a)};f.$=aC.prototype.getElement;f.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};
f.getElementsByTagNameAndClass=function(a,b,c){c=c||this.document_;a=a&&"*"!=a?String(a).toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(a||b))b=c.querySelectorAll(a+(b?"."+b:""));else if(b&&c.getElementsByClassName)if(c=c.getElementsByClassName(b),a){for(var d={},e=0,g=0,h;h=c[g];g++)a==h.nodeName&&(d[e++]=h);d.length=e;b=d}else b=c;else if(c=c.getElementsByTagName(a||"*"),b){d={};for(g=e=0;h=c[g];g++)a=h.className,"function"==typeof a.split&&qa(a.split(/\s+/),b)&&(d[e++]=h);d.length=e;
b=d}else b=c;return b};f.$$=aC.prototype.getElementsByTagNameAndClass;f.setProperties=iZb;f.getViewportSize=function(a){return eC(a||this.getWindow())};f.createDom=function(a,b,c){return kZb(this.document_,arguments)};f.createElement=function(a){return go(this.document_,a)};f.createTextNode=function(a){return this.document_.createTextNode(String(a))};f.getWindow=function(){var a=this.document_;return a.parentWindow||a.defaultView};f.appendChild=function(a,b){a.appendChild(b)};f.append=nZb;
f.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};f.removeChildren=oZb;f.removeNode=iC;
f.getChildren=function(a){return void 0!=a.children?a.children:Array.prototype.filter.call(a.childNodes,function(b){return 1==b.nodeType})};f.isElement=jC;f.getParentElement=ykb;f.contains=z6a;
f.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")||sZb(a)):b=a.hasAttribute("tabindex")&&sZb(a);if(b&&Ps){var c;"function"!==typeof a.getBoundingClientRect||Ps&&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 vZb,wZb=function(){var a=ba.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!ha("Presto")&&(a=function(){var e=go(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.close();var h="callImmediate"+Math.random(),l="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;e=Ls(function(q){if(("*"==l||q.origin==l)&&q.data==h)this.port1.onmessage()},
this);g.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(h,l)}}});if("undefined"!==typeof a&&!eaa()){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){ba.setTimeout(e,0)}},xZb=PPb;NYb(function(a){xZb=a});var yZb=function(){this.workTail_=this.workHead_=null};yZb.prototype.add=function(a,b){var c=zZb.get();c.set(a,b);this.workTail_?this.workTail_.next=c:this.workHead_=c;this.workTail_=c};yZb.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 zZb=new eZb(function(){return new AZb},function(a){return a.reset()}),AZb=function(){this.next=this.scope=this.fn=null};
AZb.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};AZb.prototype.reset=function(){this.next=this.scope=this.fn=null};var BZb,CZb=!1,DZb=new yZb,lC=function(a,b){BZb||EZb();CZb||(BZb(),CZb=!0);DZb.add(a,b)},EZb=function(){if(ba.Promise&&ba.Promise.resolve){var a=ba.Promise.resolve(void 0);BZb=function(){a.then(FZb)}}else BZb=function(){var b=FZb;b=xZb(b);"function"!==typeof ba.setImmediate||ba.Window&&ba.Window.prototype&&!faa()&&ba.Window.prototype.setImmediate==ba.setImmediate?(vZb||(vZb=wZb()),vZb(b)):ba.setImmediate(b)}},FZb=function(){for(var a;a=DZb.remove();){try{a.fn.call(a.scope)}catch(b){baa(b)}zZb.put(a)}CZb=
!1};var GZb=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var nC=function(a){this.state_=0;this.result_=void 0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.hadUnhandledRejection_=this.executing_=!1;if(a!=fv)try{var b=this;a.call(void 0,function(c){mC(b,2,c)},function(c){mC(b,3,c)})}catch(c){mC(this,3,c)}},HZb=function(){this.next=this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};HZb.prototype.reset=function(){this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};
var IZb=new eZb(function(){return new HZb},function(a){a.reset()}),JZb=function(a,b,c){var d=IZb.get();d.onFulfilled=a;d.onRejected=b;d.context=c;return d},oC=function(a){if(a instanceof nC)return a;var b=new nC(fv);mC(b,2,a);return b},KZb=function(a){return new nC(function(b,c){c(a)})},MZb=function(a,b,c){LZb(a,b,c,null)||lC(Ms(b,a))},NZb=function(a){return new nC(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],MZb(e,b,c)})},OZb=function(a){return new nC(function(b,c){var d=
a.length,e=[];if(d)for(var g=function(v,x){d--;e[v]=x;0==d&&b(e)},h=function(v){c(v)},l=0,q;l<a.length;l++)q=a[l],MZb(q,Ms(g,l),h);else b(e)})},PZb=function(a){return new nC(function(b,c){var d=a.length,e=[];if(d)for(var g=function(v){b(v)},h=function(v,x){d--;e[v]=x;0==d&&c(e)},l=0,q;l<a.length;l++)q=a[l],MZb(q,g,Ms(h,l));else b(void 0)})},RZb=function(){var a,b,c=new nC(function(d,e){a=d;b=e});return new QZb(c,a,b)};
nC.prototype.then=function(a,b,c){return SZb(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};nC.prototype.$goog_Thenable=!0;var UZb=function(a,b){b=JZb(b,b);b.always=!0;TZb(a,b);return a};nC.prototype.thenCatch=function(a,b){return SZb(this,null,a,b)};nC.prototype.catch=nC.prototype.thenCatch;nC.prototype.cancel=function(a){if(0==this.state_){var b=new pC(a);lC(function(){VZb(this,b)},this)}};
var VZb=function(a,b){if(0==a.state_)if(a.parent_){var c=a.parent_;if(c.callbackEntries_){for(var d=0,e=null,g=null,h=c.callbackEntries_;h&&(h.always||(d++,h.child==a&&(e=h),!(e&&1<d)));h=h.next)e||(g=h);e&&(0==c.state_&&1==d?VZb(c,b):(g?(d=g,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):WZb(c),XZb(c,e,3,b)))}a.parent_=null}else mC(a,3,b)},TZb=function(a,b){a.callbackEntries_||2!=a.state_&&3!=a.state_||YZb(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_=
b;a.callbackEntriesTail_=b},SZb=function(a,b,c,d){var e=JZb(null,null,null);e.child=new nC(function(g,h){e.onFulfilled=b?function(l){try{var q=b.call(d,l);g(q)}catch(v){h(v)}}:g;e.onRejected=c?function(l){try{var q=c.call(d,l);void 0===q&&l instanceof pC?h(l):g(q)}catch(v){h(v)}}:h});e.child.parent_=a;TZb(a,e);return e.child};nC.prototype.unblockAndFulfill_=function(a){this.state_=0;mC(this,2,a)};nC.prototype.unblockAndReject_=function(a){this.state_=0;mC(this,3,a)};
var mC=function(a,b,c){0==a.state_&&(a===c&&(b=3,c=new TypeError("wb")),a.state_=1,LZb(c,a.unblockAndFulfill_,a.unblockAndReject_,a)||(a.result_=c,a.state_=b,a.parent_=null,YZb(a),3!=b||c instanceof pC||ZZb(a,c)))},LZb=function(a,b,c,d){if(a instanceof nC)return TZb(a,JZb(b||fv,c||null,d)),!0;if(GZb(a))return a.then(b,c,d),!0;if(wa(a))try{var e=a.then;if("function"===typeof e)return $Zb(a,e,b,c,d),!0}catch(g){return c.call(d,g),!0}return!1},$Zb=function(a,b,c,d,e){var g=!1,h=function(q){g||(g=!0,
c.call(e,q))},l=function(q){g||(g=!0,d.call(e,q))};try{b.call(a,h,l)}catch(q){l(q)}},YZb=function(a){a.executing_||(a.executing_=!0,lC(a.executeCallbacks_,a))},WZb=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};nC.prototype.executeCallbacks_=function(){for(var a;a=WZb(this);)XZb(this,a,this.state_,this.result_);this.executing_=!1};
var XZb=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,a_b(b,c,d);else try{b.always?b.onFulfilled.call(b.context):a_b(b,c,d)}catch(e){b_b.call(null,e)}IZb.put(b)},a_b=function(a,b,c){2==b?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},ZZb=function(a,b){a.hadUnhandledRejection_=!0;lC(function(){a.hadUnhandledRejection_&&b_b.call(null,b)})},b_b=baa,pC=function(a){aa.call(this,
a);this.reportErrorToServer=!1};Ns(pC,aa);pC.prototype.name="cancel";var QZb=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};var qC=function(a,b){Ro.call(this);this.interval_=a||1;this.timerObject_=b||ba;this.boundTick_=Ls(this.tick_,this);this.last_=Date.now()};Ns(qC,Ro);f=qC.prototype;f.enabled=!1;f.timer_=null;f.setInterval=function(a){this.interval_=a;this.timer_&&this.enabled?(this.stop(),this.start()):this.timer_&&this.stop()};
f.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()))}};f.start=function(){this.enabled=!0;this.timer_||(this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_),this.last_=Date.now())};
f.stop=function(){this.enabled=!1;this.timer_&&(this.timerObject_.clearTimeout(this.timer_),this.timer_=null)};f.disposeInternal=function(){qC.superClass_.disposeInternal.call(this);this.stop();delete this.timerObject_};
var oo=function(a,b,c){if("function"===typeof a)c&&(a=Ls(a,c));else if(a&&"function"==typeof a.handleEvent)a=Ls(a.handleEvent,a);else throw Error("xb");return 2147483647<Number(b)?-1:ba.setTimeout(a,b||0)},po=function(a){ba.clearTimeout(a)},c_b=function(a,b){var c=null;return(new nC(function(d,e){c=oo(function(){d(b)},a);-1==c&&e(Error("yb"))})).thenCatch(function(d){po(c);throw d;})};var d_b=function(a){QB.call(this);this.streamzLogger_=a;this.metricMap=new Map;this.disabledMetrics_=new Set;this.invocationCount=0;this.flushInterval=3E4;this.flushTimer=new qC(this.flushInterval);this.flushTimer.listen("tick",this.snapshotAndFlush,!1,this);RB(this,this.flushTimer)};T(d_b,QB);var e_b=function(a){a.flushTimer.enabled||a.flushTimer.start();a.invocationCount++;100<=a.invocationCount&&a.snapshotAndFlush()};f=d_b.prototype;
f.snapshotAndFlush=function(){var a=this.metricMap.values();a=[].concat(cd(a)).filter(function(b){return b.cellMap_.size});a.length&&this.streamzLogger_.flush(a,!1);f_b(a);this.invocationCount=0;this.flushTimer.enabled&&this.flushTimer.stop()};f.addNewCounter=function(a){var b=Zc.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new PB(a,b))};f.addNewEventMetric=function(a){var b=Zc.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new JYb(a,b))};
f.getMetric=function(a){return this.disabledMetrics_.has(a)?void 0:this.metricMap.get(a)};f.incrementCounter=function(a){this.incrementCounterBy.apply(this,[a,1].concat(cd(Zc.apply(1,arguments))))};f.incrementCounterBy=function(a,b){var c=Zc.apply(2,arguments),d=this.getMetric(a);d&&d instanceof PB&&(d.incrementCounterBy(b,c),e_b(this))};f.record=function(a,b){var c=Zc.apply(2,arguments),d=this.getMetric(a);d&&d instanceof JYb&&(d.record(b,c),e_b(this))};var f_b=function(a){for(var b=0;b<a.length;b++)a[b].clear()};var g_b=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"})};g_b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};g_b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var h_b=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"})};h_b.prototype.record=function(a,b,c){this.streamzService_.record(this.metricName_,a,b,c)};h_b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var i_b=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"})};i_b.prototype.increment=function(a,b){this.streamzService_.incrementCounter(this.metricName_,a,b)};i_b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var j_b=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"})};j_b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};j_b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var k_b={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 n_b=function(a){a=l_b(a);for(var b=2654435769,c=2654435769,d=314159265,e=a.length,g=e,h=0,l=function(){b-=c;b-=d;b^=d>>>13;c-=d;c-=b;c^=b<<8;d-=b;d-=c;d^=c>>>13;b-=c;b-=d;b^=d>>>12;c-=d;c-=b;c^=b<<16;d-=b;d-=c;d^=c>>>5;b-=c;b-=d;b^=d>>>3;c-=d;c-=b;c^=b<<10;d-=b;d-=c;d^=c>>>15};12<=g;g-=12,h+=12)b+=m_b(a,h),c+=m_b(a,h+4),d+=m_b(a,h+8),l();d+=e;switch(g){case 11:d+=a[h+10]<<24;case 10:d+=a[h+9]<<16;case 9:d+=a[h+8]<<8;case 8:c+=a[h+7]<<24;case 7:c+=a[h+6]<<16;case 6:c+=a[h+5]<<8;case 5:c+=a[h+4];
case 4:b+=a[h+3]<<24;case 3:b+=a[h+2]<<16;case 2:b+=a[h+1]<<8;case 1:b+=a[h]}l();return k_b.toString(d)},o_b=function(a){return a},l_b=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b},m_b=function(a,b){return a[b]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)};var rC=function(a){this.internalArray_=m(a)};T(rC,p);rC.prototype.getValueCase=function(){return Mi(this,sC)};var sC=[1,2,3];rC.prototype.toObject=function(){return p_b(this)};var p_b=function(a){if(null!=a){r(a);var b=n(Io(a,1,sC));var c=ft(a,Go(a,sC,2));return{strVal:b,intVal:n(c),boolVal:n(vr(a,Go(a,sC,3)))}}};var tC=function(a){this.internalArray_=m(a)};T(tC,p);tC.prototype.getCount=function(){return qj(this,2)};tC.prototype.setCount=function(a){return V(this,2,a)};tC.prototype.toObject=function(){return q_b(this)};var q_b=function(a){if(null!=a)return r(a),{valueOrBucket:n(Ho(a,1)),count:n(Yb(a,2))}};var r_b=function(a){this.internalArray_=m(a)};T(r_b,p);r_b.repeatedFields_=[1];r_b.prototype.toObject=function(){return s_b(this)};var s_b=function(a){if(null!=a)return r(a),{entryList:Ub(kj(a,tC,1),q_b)}};var uC=function(a){this.internalArray_=m(a)};T(uC,p);uC.prototype.getValueCase=function(){return Mi(this,vC)};var vC=[1,2,3];uC.prototype.toObject=function(){return t_b(this)};var t_b=function(a){if(null!=a)return r(a),{int64Val:n(pt(a,1,vC)),doubleVal:n(Ho(a,Go(a,vC,2))),histogramVal:s_b(ck(a,r_b,3,vC))}};var wC=function(a){this.internalArray_=m(a)};T(wC,p);wC.prototype.setField=function(a){$s(this,1,rC,a)};wC.repeatedFields_=[1];wC.prototype.toObject=function(){return u_b(this)};var u_b=function(a){if(null!=a)return r(a),{fieldList:Ub(kj(a,rC,1),p_b),incBy:t_b(X(a,uC,2))}};var v_b=function(a){this.internalArray_=m(a)};T(v_b,p);v_b.prototype.getAppName=function(){return U(this,1)};v_b.prototype.toObject=function(){return w_b(this)};var w_b=function(a){if(null!=a)return r(a),{appName:n(Z(a,1)),appVersion:n(Z(a,2)),useMobilespec:n(vr(a,3))}};var xC=function(a){this.internalArray_=m(a)};T(xC,p);xC.prototype.getAppName=function(){return U(this,1)};xC.prototype.getExperimentId=function(){return Rh(this,3)};xC.prototype.toObject=function(){return x_b(this)};var x_b=function(a){if(null!=a)return r(a),{appName:n(Z(a,1)),appVersion:n(Z(a,2)),experimentId:n(ft(a,3)),useMobilespec:n(vr(a,4))}};var y_b=function(a){this.internalArray_=m(a)};T(y_b,p);y_b.prototype.getMobile=function(){return ck(this,v_b,1,z_b)};var z_b=[1,2];y_b.prototype.toObject=function(){return A_b(this)};var A_b=function(a){if(null!=a)return r(a),{mobile:w_b(a.getMobile()),mobileExp:x_b(ck(a,xC,2,z_b))}};var yC=function(a){this.internalArray_=m(a)};T(yC,p);yC.prototype.getFieldName=function(){return kt(this,3)};yC.prototype.setFieldName=function(a){nt(this,3,a)};yC.repeatedFields_=[3,6,4];yC.prototype.toObject=function(){return B_b(this)};var B_b=function(a){if(null!=a)return r(a),{streamzName:n(Z(a,1)),hashedStreamzName:n(Yb(a,5)),rootSpec:A_b(X(a,y_b,2)),fieldNameList:n(Th(a,3)),hashedFieldNameList:n(wb(a,6,jb)),incList:Ub(kj(a,wC,4),u_b)}};var zC=function(a){this.internalArray_=m(a)};T(zC,p);zC.prototype.getKey=function(){return U(this,1)};zC.prototype.hasKey=function(){return Hk(this,1)};zC.prototype.toObject=function(){return C_b(this)};var C_b=function(a){if(null!=a)return r(a),{key:n(Z(a,1))}};var D_b=function(a){this.internalArray_=m(a)};T(D_b,p);D_b.repeatedFields_=[1];D_b.prototype.toObject=function(){if(null!=this){r(this);var a={batchList:Ub(kj(this,yC,1),B_b),slicerMetadata:C_b(X(this,zC,2))}}else a=void 0;return a};var E_b=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("zb`"+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("Ab`"+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 G_b=function(a,b,c){var d=String(ba.location.href);return d&&a&&b?[b,F_b(E_b(d),a,c||null)].join(" "):null},F_b=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],pa(d,function(l){e.push(l)}),H_b(e.join(" "));var g=[],h=[];pa(c,function(l){h.push(l.key);g.push(l.value)});c=Math.floor((new Date).getTime()/1E3);e=0==g.length?[c,b,a]:[g.join(":"),c,b,a];pa(d,function(l){e.push(l)});a=H_b(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},H_b=function(a){var b=
xpa();b.update(a);return b.digestString().toLowerCase()};var I_b={};var J_b=function(){this.document_=document||{cookie:""}};f=J_b.prototype;f.isEnabled=function(){if(!ba.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};
f.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.sameSite;d=c.secure||!1;var g=c.domain||void 0;var h=c.path||void 0;var l=c.maxAge}if(/[;=\s]/.test(a))throw Error("Bb`"+a);if(/[;\r\n]/.test(b))throw Error("Cb`"+b);void 0===l&&(l=-1);c=g?";domain="+g:"";h=h?";path="+h:"";d=d?";secure":"";l=0>l?"":0==l?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*l)).toUTCString();this.document_.cookie=a+"="+b+c+h+l+d+(null!=e?";samesite="+e:"")};
f.get=function(a,b){for(var c=a+"=",d=(this.document_.cookie||"").split(";"),e=0,g;e<d.length;e++){g=fi(d[e]);if(0==g.lastIndexOf(c,0))return g.slice(c.length);if(g==a)return""}return b};f.remove=function(a,b,c){var d=this.containsKey(a);this.set(a,"",{maxAge:0,path:b,domain:c});return d};f.getKeys=function(){return K_b(this).keys};f.getValues=function(){return K_b(this).values};f.isEmpty=function(){return!this.document_.cookie};
f.getCount=function(){return this.document_.cookie?(this.document_.cookie||"").split(";").length:0};f.containsKey=function(a){return void 0!==this.get(a)};f.containsValue=function(a){for(var b=K_b(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};f.clear=function(){for(var a=K_b(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var K_b=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,g=0;g<a.length;g++)e=fi(a[g]),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 L_b=function(a){return!!I_b.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)},M_b=function(a,b,c,d){(a=ba[a])||"undefined"===typeof document||(a=(new J_b).get(b));return a?G_b(a,c,d):null},Oo=function(a,b){b=void 0===b?!1:b;var c=E_b(String(ba.location.href)),d=[];var e=b;e=void 0===e?!1:e;var g=ba.__SAPISID||ba.__APISID||ba.__3PSAPISID||ba.__OVERRIDE_SID;L_b(e)&&(g=g||ba.__1PSAPISID);if(g)e=!0;else{if("undefined"!==typeof document){var h=new J_b;g=h.get("SAPISID")||h.get("APISID")||h.get("__Secure-3PAPISID")||
h.get("SID")||h.get("OSID");L_b(e)&&(g=g||h.get("__Secure-1PAPISID"))}e=!!g}e&&(e=(c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:"))?ba.__SAPISID:ba.__APISID,e||"undefined"===typeof document||(e=new J_b,e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID")),(e=e?G_b(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e),c&&L_b(b)&&((b=M_b("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=M_b("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a)));return 0==d.length?null:d.join(" ")};var AC=function(a){this.internalArray_=m(a)};T(AC,p);AC.repeatedFields_=[2];AC.prototype.toObject=function(){return N_b(this)};var N_b=function(a){if(null!=a)return r(a),{clearBlob:Xb(Jo(a,1)),clearBlobJs:n(Z(a,4)),encryptedBlobList:Xb(bt(a,2)),usersMatch:n(vr(a,3))}};var O_b=function(a){this.currBaseValue_=this.currValue_=this.initialValue_=a};O_b.prototype.reset=function(){this.currBaseValue_=this.currValue_=this.initialValue_};O_b.prototype.getValue=function(){return this.currValue_};var P_b=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))},Q_b=function(a){try{return ba.JSON.parse(a)}catch(b){}a=String(a);if(P_b(a))try{return eval("("+a+")")}catch(b){}throw Error("Db`"+a);},S_b=function(a,b){return(new R_b(b)).serialize(a)},R_b=function(a){this.replacer_=
a};R_b.prototype.serialize=function(a){var b=[];T_b(this,a,b);return b.join("")};
var T_b=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="",g=0;g<b;g++)c.push(e),e=d[g],T_b(a,a.replacer_?a.replacer_.call(d,String(g),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");g="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(g),U_b(d,c),c.push(":"),T_b(a,a.replacer_?a.replacer_.call(b,
d,e):e,c),g=","));c.push("}");return}}switch(typeof b){case "string":U_b(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("Eb`"+typeof b);}}},V_b={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},W_b=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,U_b=function(a,b){b.push('"',a.replace(W_b,
function(c){var d=V_b[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),V_b[c]=d);return d}),'"')};var X_b=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 Y_b=function(){};Y_b.prototype.cachedOptions_=null;Y_b.prototype.getOptions=function(){return this.cachedOptions_||(this.cachedOptions_=this.internalGetOptions())};var Z_b,$_b=function(){};Ns($_b,Y_b);$_b.prototype.createInstance=function(){var a=a0b(this);return a?new ActiveXObject(a):new XMLHttpRequest};$_b.prototype.internalGetOptions=function(){var a={};a0b(this)&&(a[0]=!0,a[1]=!0);return a};
var a0b=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("Fb");}return a.ieProgId_};Z_b=new $_b;var b0b=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),c0b=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 g=a[c].substring(0,d);e=a[c].substring(d+1)}else g=a[c];b(g,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}},d0b=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]},e0b=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)e0b(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))},f0b=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)e0b(a[b],a[b+1],c);return c.join("&")},g0b=function(a){var b=[],c;for(c in a)e0b(c,a[c],b);return b.join("&")},BC=function(a,b){var c=2==arguments.length?f0b(arguments[1],0):f0b(arguments,
1);return d0b(a,c)},vwa=function(a,b){b=g0b(b);return d0b(a,b)},CC=function(a,b,c){c=null!=c?"="+encodeURIComponent(String(c)):"";return d0b(a,b+c)},h0b=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var g=a.charCodeAt(b-1);if(38==g||63==g)if(g=a.charCodeAt(b+e),!g||61==g||38==g||35==g)return b;b+=e+1}return-1},i0b=/#|$/,j0b=function(a,b){var c=a.search(i0b),d=h0b(a,0,b,c);if(0>d)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.slice(d,
-1!==e?e:0).replace(/\+/g," "))},k0b=/[?&]($|#)/;var DC=function(a){Ro.call(this);this.headers=new Map;this.xmlHttpFactory_=a||null;this.active_=!1;this.xhrOptions_=this.xhr_=null;this.lastUri_="";this.lastErrorCode_=0;this.lastError_="";this.inAbort_=this.inOpen_=this.inSend_=this.errorDispatched_=!1;this.timeoutInterval_=0;this.timeoutId_=null;this.responseType_="";this.useXhr2Timeout_=this.withCredentials_=!1;this.trustToken_=null};Ns(DC,Ro);
var l0b=/^https?$/i,m0b=["POST","PUT"],n0b=[],Bh=function(a,b,c,d,e,g,h){var l=new DC;n0b.push(l);b&&l.listen("complete",b);l.listenOnce("ready",l.cleanupSend_);g&&(l.timeoutInterval_=Math.max(0,g));h&&(l.withCredentials_=h);l.send(a,c,d,e);return l};DC.prototype.cleanupSend_=function(){this.dispose();ra(n0b,this)};DC.prototype.setTrustToken=function(a){this.trustToken_=a};
DC.prototype.send=function(a,b,c,d){if(this.xhr_)throw Error("Gb`"+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():Z_b.getOptions();this.xhr_.onreadystatechange=Ls(this.onReadyStateChange_,this);try{this.inOpen_=!0,this.xhr_.open(b,String(a),!0),this.inOpen_=!1}catch(h){this.error_(5,h);return}a=c||"";c=
new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if("function"===typeof d.keys&&"function"===typeof d.get){e=k(d.keys());for(var g=e.next();!g.done;g=e.next())g=g.value,c.set(g,d.get(g))}else throw Error("Hb`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=ba.FormData&&a instanceof ba.FormData;!qa(m0b,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=k(c);for(d=
b.next();!d.done;d=b.next())c=k(d.value),d=c.next().value,c=c.next().value,this.xhr_.setRequestHeader(d,c);this.responseType_&&(this.xhr_.responseType=this.responseType_);"withCredentials"in this.xhr_&&this.xhr_.withCredentials!==this.withCredentials_&&(this.xhr_.withCredentials=this.withCredentials_);if("setTrustToken"in this.xhr_&&this.trustToken_)try{this.xhr_.setTrustToken(this.trustToken_)}catch(h){}try{o0b(this),0<this.timeoutInterval_&&((this.useXhr2Timeout_=p0b(this.xhr_))?(this.xhr_.timeout=
this.timeoutInterval_,this.xhr_.ontimeout=Ls(this.timeout_,this)):this.timeoutId_=oo(this.timeout_,this.timeoutInterval_,this)),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(h){this.error_(5,h)}};var p0b=function(a){return Ps&&"number"===typeof a.timeout&&void 0!==a.ontimeout};DC.prototype.createXhr=function(){return this.xmlHttpFactory_?this.xmlHttpFactory_.createInstance():Z_b.createInstance()};
DC.prototype.timeout_=function(){"undefined"!=typeof wJb&&this.xhr_&&(this.lastError_="Timed out after "+this.timeoutInterval_+"ms, aborting",this.lastErrorCode_=8,this.dispatchEvent("timeout"),this.abort(8))};DC.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;q0b(this);r0b(this)};var q0b=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
DC.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"),r0b(this))};DC.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),r0b(this,!0));DC.superClass_.disposeInternal.call(this)};
DC.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)s0b(this);else this.onReadyStateChangeEntryPoint_()};DC.prototype.onReadyStateChangeEntryPoint_=function(){s0b(this)};
var s0b=function(a){if(a.active_&&"undefined"!=typeof wJb&&(!a.xhrOptions_[1]||4!=a.getReadyState()||2!=a.getStatus()))if(a.inSend_&&4==a.getReadyState())oo(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()+"]";q0b(a)}}finally{r0b(a)}}},r0b=function(a,
b){if(a.xhr_){o0b(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){}}},o0b=function(a){a.xhr_&&a.useXhr2Timeout_&&(a.xhr_.ontimeout=null);a.timeoutId_&&(po(a.timeoutId_),a.timeoutId_=null)};f=DC.prototype;f.isActive=function(){return!!this.xhr_};f.isComplete=function(){return 4==this.getReadyState()};
f.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(b0b)[1]||null,!a&&ba.self&&ba.self.location&&(a=ba.self.location.protocol.slice(0,-1)),a=!l0b.test(a?a.toLowerCase():"");b=a}return b};f.getReadyState=function(){return this.xhr_?this.xhr_.readyState:0};f.getStatus=function(){try{return 2<this.getReadyState()?this.xhr_.status:-1}catch(a){return-1}};
f.getLastUri=function(){return String(this.lastUri_)};f.getResponseText=function(){try{return this.xhr_?this.xhr_.responseText:""}catch(a){return""}};f.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(ba.JSON)try{var c=ba.JSON.parse(a);break a}catch(d){}c=Q_b(a)}return c}};
f.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}};f.getResponseHeader=function(a){if(this.xhr_&&this.isComplete())return a=this.xhr_.getResponseHeader(a),null===a?void 0:a};
f.getAllResponseHeaders=function(){return this.xhr_&&2<=this.getReadyState()?this.xhr_.getAllResponseHeaders()||"":""};f.getResponseHeaders=function(){for(var a={},b=this.getAllResponseHeaders().split("\r\n"),c=0;c<b.length;c++)if(!Mk(b[c])){var d=uQb(b[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var g=a[e]||[];a[e]=g;g.push(d)}}return Lca(a,function(h){return h.join(", ")})};var Dh=function(a,b){return a.xhr_?a.xhr_.getResponseHeader(b):null};DC.prototype.getLastErrorCode=function(){return this.lastErrorCode_};
DC.prototype.getLastError=function(){return"string"===typeof this.lastError_?this.lastError_:String(this.lastError_)};NYb(function(a){DC.prototype.onReadyStateChangeEntryPoint_=a(DC.prototype.onReadyStateChangeEntryPoint_)});var EC=function(a){this.internalArray_=m(a)};T(EC,p);EC.prototype.setTransmissionType=function(a){V(this,1,a)};EC.prototype.setRetryCount=function(a){V(this,3,a)};EC.prototype.toObject=function(){return t0b(this)};var t0b=function(a){if(null!=a)return r(a),{transmissionType:n(Er(a,1)),isFinal:n(vr(a,2)),retryCount:n(ft(a,3))}};var u0b=function(a){this.internalArray_=m(a)};T(u0b,p);f=u0b.prototype;f.getVersion=function(){return Z(this,2)};f.getVersion_legacyNullable=function(){return Z(this,2)};f.setVersion=function(a){return sk(this,2,a)};f.getVersionOrUndefined=function(){return tt(this,2)};f.toObject=function(){return v0b(this)};var v0b=function(a){if(null!=a)return r(a),{brand:n(Z(a,1)),version:n(Z(a,2))}};var FC=function(a){this.internalArray_=m(a)};T(FC,p);FC.prototype.getMobile=function(){return vr(this,2)};FC.prototype.setModel=function(a){return sk(this,6,a)};FC.repeatedFields_=[1];FC.prototype.toObject=function(){return w0b(this)};var w0b=function(a){if(null!=a)return r(a),{uaListList:Ub(kj(a,u0b,1),v0b),mobile:n(vr(a,2)),platform:n(Z(a,3)),platformVersion:n(Z(a,4)),architecture:n(Z(a,5)),model:n(Z(a,6)),uaFullVersion:n(Z(a,7)),bitness:n(Z(a,8))}};var GC=function(a){this.internalArray_=m(a)};T(GC,p);f=GC.prototype;f.getLocale=function(){return Z(this,5)};f.setLocale=function(a){return sk(this,5,a)};f.setBuildLabel=function(a){sk(this,7,a)};f.getMutableFlushInfo=function(){return dt(this,EC,10)};f.toObject=function(){return x0b(this)};
var x0b=function(a){if(null!=a)return r(a),{os:n(Z(a,1)),osVersion:n(Z(a,2)),deviceType:n(Er(a,3)),country:n(Z(a,4)),locale:n(Z(a,5)),osType:n(Er(a,6)),buildLabel:n(Z(a,7)),continent:n(Z(a,8)),clientHints:w0b(X(a,FC,9)),flushInfo:t0b(X(a,EC,10))}};var y0b=["platform","platformVersion","architecture","model","uaFullVersion"];new FC;var z0b=function(a){this.internalArray_=m(a)};T(z0b,p);z0b.prototype.toObject=function(){return A0b(this)};var A0b=function(a){if(null!=a)return r(a),{guestAngle:n(vr(a,1))}};var B0b=function(a){this.internalArray_=m(a)};T(B0b,p);B0b.prototype.toObject=function(){return C0b(this)};var C0b=function(a){if(null!=a)return r(a),{buildVersion:n(Z(a,1)),buildType:n(Z(a,4)),omahaChannel:n(Z(a,5)),battlestarClientType:n(Er(a,2)),graphicsCapabilities:A0b(X(a,z0b,3)),battlestarMachineTier:n(Er(a,6)),hypervisorType:n(Er(a,7))}};var HC=function(a){this.internalArray_=m(a)};T(HC,p);HC.prototype.getClientType=function(){return Er(this,1)};HC.prototype.setClientType=function(a){return V(this,1,a)};HC.prototype.setBuildLabel=function(a){sk(this,2,a)};HC.prototype.toObject=function(){return D0b(this)};var D0b=function(a){if(null!=a)return r(a),{clientType:n(Er(a,1)),buildLabel:n(Z(a,2)),birdsongBuildLabel:n(Z(a,3))}};var IC=function(a){this.internalArray_=m(a)};T(IC,p);IC.prototype.getLocale=function(){return Z(this,1)};IC.prototype.setLocale=function(a){return sk(this,1,a)};IC.prototype.toObject=function(){return E0b(this)};var E0b=function(a){if(null!=a)return r(a),{locale:n(Z(a,1)),browser:n(Z(a,2)),browserVersion:n(Z(a,3)),flashVersion:n(Z(a,4))}};var F0b=function(a){this.internalArray_=m(a)};T(F0b,p);f=F0b.prototype;f.getClientId=function(){return Z(this,1)};f.setClientId=function(a){return sk(this,1,a)};f.getLoggingId=function(){return Z(this,2)};f.setLoggingId=function(a){sk(this,2,a)};f.toObject=function(){return G0b(this)};
var G0b=function(a){if(null!=a)return r(a),{clientId:n(Z(a,1)),loggingId:n(Z(a,2)),os:n(Z(a,3)),osMajorVersion:n(Z(a,4)),osFullVersion:n(Z(a,5)),applicationBuild:n(Z(a,6)),country:n(Z(a,7)),applicationBuildCl:n(Yb(a,8)),clearcutVersion:n(ft(a,9))}};var H0b=function(a){this.internalArray_=m(a)};T(H0b,p);H0b.prototype.toObject=function(){return I0b(this)};var I0b=function(a){if(null!=a)return r(a),{buildVersion:n(Z(a,1)),driveDesktopClientType:n(Er(a,2))}};var J0b=function(a){this.internalArray_=m(a)};T(J0b,p);J0b.prototype.toObject=function(){return K0b(this)};var K0b=function(a){if(null!=a)return r(a),{buildVersion:n(Z(a,1)),g1DesktopClientType:n(Er(a,2))}};var JC=function(a){this.internalArray_=m(a)};T(JC,p);JC.prototype.getLocale=function(){return Z(this,11)};JC.prototype.setLocale=function(a){return sk(this,11,a)};JC.prototype.toObject=function(){return L0b(this)};
var L0b=function(a){if(null!=a)return r(a),{deviceId:n(Z(a,9)),deviceModel:n(Z(a,1)),appVersion:n(Z(a,2)),acpVersion:n(Z(a,16)),opalVersion:n(Z(a,18)),virtualReleaseChannel:n(Z(a,17)),manufacturer:n(Z(a,3)),productName:n(Z(a,4)),factoryCountry:n(Z(a,5)),buildType:n(Z(a,6)),systemBuild:n(Z(a,7)),backendType:n(Er(a,8)),locale:n(Z(a,11)),onDeviceAssistantEnabled:n(vr(a,12)),surfaceType:n(Er(a,13)),ontologicalSurfaceType:n(Er(a,19)),osType:n(Er(a,14)),optedInMetricsLogging:n(vr(a,15))}};var KC=function(a){this.internalArray_=m(a)};T(KC,p);KC.prototype.getLocale=function(){return Z(this,5)};KC.prototype.setLocale=function(a){return sk(this,5,a)};KC.prototype.toObject=function(){return M0b(this)};var M0b=function(a){if(null!=a)return r(a),{appVersion:n(Z(a,1)),coreAppVersion:n(Z(a,3)),deviceModel:n(Z(a,2)),mccMnc:n(Z(a,4)),locale:n(Z(a,5))}};var N0b=function(a){this.internalArray_=m(a)};T(N0b,p);N0b.prototype.toObject=function(){return O0b(this)};var O0b=function(a){if(null!=a)return r(a),{osMajorVersion:n(Z(a,1)),osFullVersion:n(Z(a,2)),applicationBuild:n(Z(a,3)),country:n(Z(a,4)),applicationBuildCl:n(Yb(a,5)),clearcutVersion:n(ft(a,6)),applicationBundleId:n(Z(a,7))}};var P0b=function(a){this.internalArray_=m(a)};T(P0b,p);P0b.prototype.getAppId=function(){return Z(this,3)};P0b.prototype.setAppId=function(a){sk(this,3,a)};P0b.prototype.toObject=function(){return Q0b(this)};var Q0b=function(a){if(null!=a)return r(a),{deviceId:n(Z(a,1)),os:n(Er(a,2)),appId:n(Z(a,3)),appVersion:n(Z(a,4)),mccMnc:n(Z(a,5))}};var R0b=function(a){this.internalArray_=m(a)};T(R0b,p);f=R0b.prototype;f.getClientId=function(){return Z(this,1)};f.setClientId=function(a){return sk(this,1,a)};f.getLoggingId=function(){return Z(this,7)};f.setLoggingId=function(a){sk(this,7,a)};f.setModel=function(a){return sk(this,4,a)};f.toObject=function(){return S0b(this)};
var S0b=function(a){if(null!=a)return r(a),{clientId:n(Z(a,1)),loggingId:n(Z(a,7)),make:n(Z(a,3)),model:n(Z(a,4)),applicationBuild:n(Z(a,5)),platformVersion:n(Z(a,6)),country:n(Z(a,8))}};var T0b=function(a){this.internalArray_=m(a)};T(T0b,p);T0b.prototype.toObject=function(){return U0b(this)};var U0b=function(a){if(null!=a)return r(a),{usageType:n(Er(a,1))}};var V0b=function(a){this.internalArray_=m(a)};T(V0b,p);V0b.prototype.toObject=function(){return W0b(this)};var W0b=function(a){if(null!=a)return r(a),{isExtendedAdvertisingSupported:n(vr(a,1)),isPeripheralRoleSupported:n(vr(a,2)),isLowEnergySupported:n(vr(a,3)),isAdvertisementOffloadSupported:n(vr(a,4))}};var X0b=function(a){this.internalArray_=m(a)};T(X0b,p);X0b.prototype.toObject=function(){return Y0b(this)};var Y0b=function(a){if(null!=a)return r(a),{manufacturer:n(Z(a,1)),deviceName:n(Z(a,2)),driverProviderName:n(Z(a,3)),driverVersion:n(Z(a,4)),driverDate:n(Z(a,5))}};var Z0b=function(a){this.internalArray_=m(a)};T(Z0b,p);Z0b.repeatedFields_=[13,14];Z0b.prototype.toObject=function(){return $0b(this)};
var $0b=function(a){if(null!=a)return r(a),{deviceType:n(Er(a,1)),deviceManufacturer:n(Z(a,2)),deviceModel:n(Z(a,3)),physicalMemory:n(Yb(a,4)),processorCount:n(ft(a,5)),logicalProcessorCount:n(ft(a,6)),osName:n(Z(a,7)),osVersion:n(Z(a,8)),osArchitecture:n(Z(a,9)),osLanguageCode:n(Z(a,10)),cpuManufacturer:n(Z(a,11)),cpuName:n(Z(a,12)),bluetoothDriverInfosList:Ub(kj(a,X0b,13),Y0b),networkDriverInfosList:Ub(kj(a,X0b,14),Y0b),bleExtdAdvSupported:n(vr(a,15)),bluetoothInfo:W0b(X(a,V0b,16)),usageType:n(Er(a,
17))}};var LC=function(a){this.internalArray_=m(a)};T(LC,p);LC.prototype.getBattlestarClientInfo=function(){return ck(this,B0b,1,a1b)};LC.prototype.getDriveDesktopClientInfo=function(){return ck(this,H0b,2,a1b)};LC.prototype.getG1DesktopClientInfo=function(){return ck(this,J0b,3,a1b)};LC.prototype.getWindowsClientInfo=function(){return ck(this,Z0b,5,a1b)};var a1b=[1,2,3,4,5];LC.prototype.toObject=function(){return b1b(this)};
var b1b=function(a){if(null!=a)return r(a),{battlestarClientInfo:C0b(a.getBattlestarClientInfo()),driveDesktopClientInfo:I0b(a.getDriveDesktopClientInfo()),g1DesktopClientInfo:K0b(a.getG1DesktopClientInfo()),nearbyClientInfo:U0b(ck(a,T0b,4,a1b)),windowsClientInfo:$0b(a.getWindowsClientInfo())}};var c1b=function(a){this.internalArray_=m(a)};T(c1b,p);c1b.prototype.toObject=function(){return d1b(this)};var d1b=function(a){if(null!=a)return r(a),{machineClass:n(Er(a,1))}};var e1b=function(a){this.internalArray_=m(a)};T(e1b,p);e1b.prototype.setModel=function(a){return sk(this,6,a)};e1b.prototype.toObject=function(){return f1b(this)};var f1b=function(a){if(null!=a)return r(a),{vrClientType:n(Er(a,1)),sdkVersion:n(Z(a,2)),fingerprint:n(Z(a,3)),gvrVersion:n(Z(a,4)),manufacturer:n(Z(a,5)),model:n(Z(a,6)),language:n(Z(a,7)),country:n(Z(a,8)),unityVersion:n(Z(a,9)),unitySdkVersion:n(Z(a,10))}};var g1b=function(a){this.internalArray_=m(a)};T(g1b,p);f=g1b.prototype;f.setBuildLabel=function(a){sk(this,1,a)};f.setEnvironment=function(a){return sk(this,3,a)};f.getEnvironmentOrUndefined=function(){return tt(this,3)};f.getLocation=function(){return Z(this,4)};f.toObject=function(){return h1b(this)};
var h1b=function(a){if(null!=a)return r(a),{buildLabel:n(Z(a,1)),deploymentType:n(Z(a,2)),environment:n(Z(a,3)),location:n(Z(a,4)),machine:n(Z(a,5)),gameletId:n(Z(a,6)),machineShape:n(Z(a,7)),metro:n(Z(a,8)),vmPurpose:n(Z(a,9)),releaseStage:n(Z(a,10))}};var MC=function(a){this.internalArray_=m(a)};T(MC,p);f=MC.prototype;f.getClientType=function(){return Er(this,1)};f.setClientType=function(a){return V(this,1,a)};f.getBattlestarClientInfo=function(){return X(this,B0b,22)};f.getDriveDesktopClientInfo=function(){return X(this,H0b,24)};f.getG1DesktopClientInfo=function(){return X(this,J0b,25)};f.getMutableJsClientInfo=function(){return dt(this,GC,11)};f.getWindowsClientInfo=function(){return X(this,Z0b,26)};f.toObject=function(){return i1b(this)};
var i1b=function(a){if(null!=a)return r(a),{clientType:n(Er(a,1)),remoteHost:n(Z(a,6)),remoteHost6:n(Z(a,7)),battlestarClientInfo:C0b(a.getBattlestarClientInfo()),birdsongClientInfo:D0b(X(a,HC,14)),desktopClientInfo:G0b(X(a,F0b,3)),driveDesktopClientInfo:I0b(a.getDriveDesktopClientInfo()),g1DesktopClientInfo:K0b(a.getG1DesktopClientInfo()),googleHomeClientInfo:L0b(X(a,JC,16)),jsClientInfo:x0b(X(a,GC,11)),kaiosClientInfo:M0b(X(a,KC,20)),macClientInfo:O0b(X(a,N0b,13)),pancettaClientInfo:Q0b(X(a,P0b,
10)),playCeClientInfo:S0b(X(a,R0b,5)),portablePhenotypeLibraryClientInfo:b1b(X(a,LC,23)),sparklightClientInfo:d1b(X(a,c1b,18)),vrClientInfo:f1b(X(a,e1b,8)),windowsClientInfo:$0b(a.getWindowsClientInfo()),yetiClientInfo:h1b(X(a,g1b,15)),browserInfo:E0b(X(a,IC,9)),heterodyneConfigVersion:n(Yb(a,12))}};Ft[66321687]=Tb(66321687,{messageSetExtension:0},MC,i1b);var j1b=function(a){this.internalArray_=m(a)};T(j1b,p);j1b.repeatedFields_=[1,2,3,4,5];j1b.prototype.toObject=function(){return k1b(this)};var k1b=function(a){if(null!=a)return r(a),{clientAlteringExperimentList:n(Th(a,1)),otherExperimentList:n(Th(a,2)),gwsExperimentList:n(Qh(a,3)),playExperimentList:n(rl(a,4)),unsupportedPlayExperimentList:n(rl(a,5))}};var l1b=function(a){this.internalArray_=m(a)};T(l1b,p);f=l1b.prototype;f.getVersion=function(){return Z(this,3)};f.getVersion_legacyNullable=function(){return Z(this,3)};f.setVersion=function(a){return sk(this,3,a)};f.getVersionOrUndefined=function(){return tt(this,3)};f.toObject=function(){return m1b(this)};var m1b=function(a){if(null!=a)return r(a),{appType:n(ft(a,1)),androidPackageName:n(Z(a,2)),version:n(Z(a,3))}};var n1b=function(a){this.internalArray_=m(a)};T(n1b,p);f=n1b.prototype;f.getKey=function(){return Z(this,1)};f.hasKey=function(){return Hk(this,1)};f.getValue=function(){return Z(this,2)};f.getValue_legacyNullable=function(){return Z(this,2)};f.setValue=function(a){return sk(this,2,a)};f.hasValue=function(){return Hk(this,2)};f.toObject=function(){return o1b(this)};var o1b=function(a){if(null!=a)return r(a),{key:n(Z(a,1)),value:n(Z(a,2))}};var p1b=function(a){this.internalArray_=m(a)};T(p1b,p);p1b.prototype.toObject=function(){return q1b(this)};var q1b=function(a){if(null!=a)return r(a),{networkType:Zi(a,1,-1),mobileSubtype:Zi(a,2,0)}};var NC=function(a){this.internalArray_=m(a,33)};T(NC,p);f=NC.prototype;f.getTag=function(){return Z(this,2)};f.getComponentId=function(){return Z(this,26)};f.setComponentId=function(a){return sk(this,26,a)};f.hasComponentId=function(){return Hk(this,26)};f.getValueList=function(){return kj(this,n1b,3)};f.addValue=function(){return Co(this,3,n1b)};f.setValue=function(a,b){return $s(this,3,n1b,a,b)};f.getStore=function(){return Jo(this,4)};var r1b=function(a,b){return sk(a,8,b)};
NC.prototype.getExperimentIds=function(){return X(this,AC,16)};NC.prototype.setExperimentIds=function(a){hj(this,AC,16,a)};NC.prototype.clearExperimentIds=function(){return ct(this,16)};var s1b=function(a,b){sk(a,24,b)},t1b={};NC.repeatedFields_=[3,20,27];NC.prototype.toObject=function(){return u1b(this)};
var u1b=function(a){if(null!=a){r(a);var b={eventTimeMs:n(Yb(a,1)),eventUptimeMs:n(Yb(a,17)),bootCount:n(Yb(a,22)),sequencePosition:n(Yb(a,21)),tag:n(Z(a,2)),eventCode:n(ft(a,11)),componentId:n(Z(a,26)),eventFlowId:n(Yb(a,12)),isUserInitiated:n(vr(a,10)),valueList:Ub(a.getValueList(),o1b),store:Xb(a.getStore()),appUsage1p:m1b(X(a,l1b,9)),sourceExtension:Xb(Jo(a,6)),sourceExtensionJs:n(Z(a,8)),sourceExtensionJson:n(Z(a,13)),sourceExtensionJsonProto3:n(Z(a,29)),exp:k1b(X(a,j1b,7)),testId:n(Z(a,14)),
timezoneOffsetSeconds:qj(a,15,18E4),experimentIds:N_b(a.getExperimentIds()),clientVe:Xb(Jo(a,18)),clientVeJs:n(Z(a,24)),internalEvent:n(Er(a,19)),testCodeList:n(Qh(a,20)),genericDimensionsList:n(Qh(a,27)),networkConnectionInfo:q1b(X(a,p1b,23)),inDirectBootMode:n(vr(a,25)),zwiebackCookieOverride:n(Z(a,28)),moduleAppliedSamplingRate:n(Ho(a,30)),clientAppliedSamplingRate:n(Ho(a,32))};Vb(a,b,t1b);return b}};var v1b=function(a){this.internalArray_=m(a)};T(v1b,p);v1b.prototype.toObject=function(){return w1b(this)};var w1b=function(a){if(null!=a)return r(a),{collectStartMs:n(Yb(a,3)),collectUntilMs:n(Yb(a,1)),skipPersistentLogStorage:n(vr(a,2))}};var x1b=function(a){this.internalArray_=m(a)};T(x1b,p);x1b.prototype.toObject=function(){return y1b(this)};var y1b=function(a){if(null!=a)return r(a),{isUnmetered:n(vr(a,1)),isCharging:n(vr(a,2)),autoTimeStatus:n(Er(a,3)),isGooglerDevice:n(vr(a,4))}};var z1b=function(a){this.internalArray_=m(a)};T(z1b,p);f=z1b.prototype;f.getSource=function(){return Z(this,3)};f.setSource=function(a){return sk(this,3,a)};f.hasSource=function(){return Hk(this,3)};f.getSourceOrUndefined=function(){return tt(this,3)};f.toObject=function(){return A1b(this)};var A1b=function(a){if(null!=a)return r(a),{timeMs:n(Yb(a,1)),uptimeMs:n(Yb(a,2)),source:n(Z(a,3))}};var B1b=function(a){this.internalArray_=m(a)};T(B1b,p);B1b.prototype.toObject=function(){return C1b(this)};var C1b=function(a){if(null!=a)return r(a),{originAssociatedProductId:n(ft(a,13))}};var D1b=function(a){this.internalArray_=m(a)};T(D1b,p);D1b.prototype.toObject=function(){return E1b(this)};var E1b=function(a){if(null!=a)return r(a),{prequest:C1b(X(a,B1b,2))}};var F1b=function(a){this.internalArray_=m(a)};T(F1b,p);F1b.prototype.toObject=function(){return G1b(this)};var G1b=function(a){if(null!=a)return r(a),{privacyContext:E1b(X(a,D1b,1)),productIdOrigin:Zi(a,2,0)}};var H1b=function(a){this.internalArray_=m(a,19)};T(H1b,p);f=H1b.prototype;f.getClientInfo=function(){return X(this,MC,1)};f.getMutableClientInfo=function(){return dt(this,MC,1)};f.setClientInfo=function(a){hj(this,MC,1,a)};f.setLogSource=function(a){return V(this,2,a)};f.getQosTier=function(){return Zi(this,9,0)};var I1b={};H1b.repeatedFields_=[3,5];
H1b.prototype.toObject=function(){if(null!=this){r(this);var a={requestTimeMs:n(Yb(this,4)),requestUptimeMs:n(Yb(this,8)),clientInfo:i1b(this.getClientInfo()),logSource:Zi(this,2,-1),logSourceName:n(Z(this,6)),zwiebackCookie:n(Z(this,7)),logEventList:Ub(kj(this,NC,3),u1b),serializedLogEventsList:Xb(bt(this,5)),logEventDroppedCount:n(Yb(this,14)),qosTier:Zi(this,9,0),scheduler:n(Er(this,10)),deviceStatus:y1b(X(this,x1b,11)),externalTimestamp:A1b(X(this,z1b,12)),collectForDebug:w1b(X(this,v1b,13)),
appMobilespecId:n(ab(Yb(this,16))),complianceData:G1b(X(this,F1b,18))};Vb(this,a,I1b)}else a=void 0;return a};var OC=function(a){this.internalArray_=m(a)};T(OC,p);OC.prototype.getId=function(a){return kt(this,1,a)};OC.prototype.setId=function(a){return nt(this,1,a)};OC.repeatedFields_=[1];OC.prototype.toObject=function(){return J1b(this)};var J1b=function(a){if(null!=a)return r(a),{idList:n(Th(a,1))}};var K1b=function(a){this.internalArray_=m(a)};T(K1b,p);K1b.prototype.toObject=function(){return L1b(this)};var L1b=function(a){if(null!=a)return r(a),{logRequestIndex:n(ft(a,1)),responseAction:n(Er(a,2))}};var M1b=function(a){this.internalArray_=m(a)};T(M1b,p);M1b.repeatedFields_=[1];M1b.prototype.toObject=function(){return N1b(this)};var N1b=function(a){if(null!=a)return r(a),{logSourceNameList:n(Th(a,1))}};var O1b=function(a){this.internalArray_=m(a)};T(O1b,p);O1b.prototype.getQosTier=function(){return Er(this,2)};O1b.prototype.setLogSource=function(a){return V(this,3,a)};O1b.prototype.toObject=function(){return P1b(this)};var P1b=function(a){if(null!=a)return r(a),{logSourceName:n(Z(a,1)),qosTier:n(Er(a,2)),logSource:Zi(a,3,-1)}};var Q1b=function(a){this.internalArray_=m(a)};T(Q1b,p);Q1b.repeatedFields_=[1];Q1b.prototype.toObject=function(){return R1b(this)};var R1b=function(a){if(null!=a)return r(a),{qosTierConfigurationList:Ub(kj(a,O1b,1),P1b),qosTierFingerprint:n(Yb(a,2))}};var PC=function(a){this.internalArray_=m(a,6)};T(PC,p);PC.prototype.getExperiments=function(){return X(this,OC,2)};PC.prototype.setExperiments=function(a){hj(this,OC,2,a)};PC.prototype.hasExperiments=function(){return Nj(this,OC,2)};PC.prototype.getQosTier=function(){return X(this,Q1b,3)};var S1b=Zb(PC),T1b={};PC.repeatedFields_=[5];
PC.prototype.toObject=function(){if(null!=this){r(this);var a={nextRequestWaitMillis:Ii(this,1,"-1"),experiments:J1b(this.getExperiments()),qosTier:R1b(this.getQosTier()),logSourceBatchingDenylist:N1b(X(this,M1b,4)),logResponseDetailsList:Ub(kj(this,K1b,5),L1b)};Vb(this,a,T1b)}else a=void 0;return a};var U1b=function(a){this.internalArray_=m(a)};T(U1b,p);U1b.prototype.toObject=function(){return V1b(this)};var V1b=function(a){if(null!=a)return r(a),{suggestedFlushIntervalMillis:Rh(a,1,-1)}};var W1b=Tb(175237375,{jsExtension:0},U1b,V1b);T1b[175237375]=W1b;var RC=function(a){Ro.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.numRetriesSinceLastSuccessfulFlush=this.numLogsDroppedSinceLastFlush=0;this.sequencePosition=1;this.timeoutMillis=0;this.sendBeaconApiEnabled=
!1;Ro.call(this);this.logSource=a.logSource;this.getAuthHeaderValue=a.getAuthHeaderValue||function(){};this.logRequestBuilder=new QC(a.logSource,a.isServiceWorkerScope);this.networkIOSend=a.networkIOSend;this.network=a.network;this.bufferSize=1E3;this.uniformRandomFunction=Ms(gZb,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&&(65<=naa("Chromium")||45<=naa("Firefox")||12<=naa("Safari")||ma()&&uaa())&&!!hC()&&!!hC().navigator&&void 0!==hC().navigator.sendBeacon;var c=(new MC).setClientType(1);this.logRequestBuilder.setClientInfo(c);this.flushBackoff=new O_b(1E4);this.flushTimer=new qC(this.flushBackoff.getValue());RB(this,this.flushTimer);a=X1b(this,a.backgroundJobDeferrer);So(this.flushTimer,"tick",a,!1,this);this.backupTimer=
new qC(6E5);RB(this,this.backupTimer);So(this.backupTimer,"tick",a,!1,this);this.disableAutomaticFlush||this.backupTimer.start();this.isServiceWorkerScope||(So(document,"visibilitychange",function(){"hidden"===document.visibilityState&&b.finalFlush()}),So(document,"pagehide",this.finalFlush,!1,this))};T(RC,Ro);var X1b=function(a,b){return b?function(){b().then(function(){a.flush()})}:function(){a.flush()}};RC.prototype.disposeInternal=function(){this.finalFlush();Ro.prototype.disposeInternal.call(this)};
RC.prototype.setClearcutUrl=function(a){this.clearcutUrl=a};RC.prototype.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};RC.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 SC=function(a,b){b instanceof NC?a.log(b):(b=r1b(new NC,b.serialize()),a.log(b))};f=RC.prototype;
f.setClearcutClientInfo=function(a){this.logRequestBuilder.setClientInfo(a)};f.setComponentId=function(a){this.componentId=a};f.setOpaqueExperimentIds=function(a){this.experimentIds||(this.experimentIds=new AC);TKb(this.experimentIds,2,a)};f.setClearExperimentIds=function(a){a?(this.experimentIds||(this.experimentIds=new AC),a=a.serialize(),sk(this.experimentIds,4,a)):this.experimentIds&&ct(this.experimentIds,4)};
f.setClientSideLogOnlyForDevelopment=function(a){this.clientSideLogOnlyForDevelopment=a};f.setGzipCompressor=function(a){this.gzipCompressor=a};f.setBuildLabel=function(a){this.logRequestBuilder.setBuildLabel(a)};f.setFlushIntervalMs=function(a){this.clientSpecifiedFlushInterval=!0;Y1b(this,a)};var Y1b=function(a,b){a.flushBackoff=new O_b(1>b?1:b);a.flushTimer.setInterval(a.flushBackoff.getValue())};
RC.prototype.log=function(a){a=a.clone();var b=this.sequencePosition++;a=V(a,21,b);this.componentId&&a.setComponentId(this.componentId);if(!Yb(a,1)){b=a;var c=Date.now().toString();V(b,1,c)}Yk(a,15)||V(a,15,(new Date).getTimezoneOffset()*(this.useConsistentTimezoneOffset?-60:60));for(this.experimentIds&&a.setExperimentIds(this.experimentIds.clone());this.pendingEvents.length>=this.bufferSize;)this.pendingEvents.shift(),++this.numLogsDroppedSinceLastFlush;this.pendingEvents.push(a);this.dispatchEvent(new Z1b(a));
this.disableAutomaticFlush||this.flushTimer.enabled||this.flushTimer.start()};
RC.prototype.flush=function(a,b){var c=this;if(0===this.pendingEvents.length)a&&a();else if(this.sendBeaconApiEnabled)this.logRequestBuilder.setTransmissionType(3),$1b(this);else{var d=Date.now();if(this.noFlushUntilMs>d&&this.startWaitingMs<d)b&&b("throttled");else{this.logRequestBuilder.setTransmissionType(1);var e=this.logRequestBuilder.build(this.pendingEvents,this.numLogsDroppedSinceLastFlush,this.numRetriesSinceLastSuccessfulFlush);d={};var g=this.getAuthHeaderValue();g&&(d.Authorization=g);
var h=this.getClearcutUrl();this.sessionIndex&&(d["X-Goog-AuthUser"]=this.sessionIndex,h=CC(h,"authuser",this.sessionIndex));this.pageId&&(d["X-Goog-PageId"]=this.pageId,h=CC(h,"pageId",this.pageId));if(g&&this.lastFailedAuth===g)b&&b("stale-auth-token");else if(this.pendingEvents=[],this.flushTimer.enabled&&this.flushTimer.stop(),this.numLogsDroppedSinceLastFlush=0,this.clientSideLogOnlyForDevelopment)a&&a();else{var l=e.serialize(),q;this.gzipCompressor&&this.gzipCompressor.getHiddenPropertyName_()&&
(q=this.gzipCompressor.compress(l));var v={url:h,body:l,bodyType:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},x=function(M){c.flushBackoff.reset();c.flushTimer.setInterval(c.flushBackoff.getValue());if(M){var Q=null;try{var Y=JSON.stringify(JSON.parse(M.replace(")]}'\n","")));Q=S1b(Y)}catch(W){}Q&&(M=Number(Ii(Q,1,"-1")),0<M&&(c.startWaitingMs=Date.now(),c.noFlushUntilMs=c.startWaitingMs+M),Q=Gca(Q,W1b))&&(Q=Rh(Q,1,-1),-1!==Q&&(c.clientSpecifiedFlushInterval||
Y1b(c,Q)))}a&&a();c.numRetriesSinceLastSuccessfulFlush=0},A=function(M,Q){var Y=kj(e,NC,3),W=c.flushBackoff;W.currBaseValue_=Math.min(3E5,2*W.currBaseValue_);W.currValue_=Math.min(3E5,W.currBaseValue_+Math.round(.2*(Math.random()-.5)*W.currBaseValue_));c.flushTimer.setInterval(c.flushBackoff.getValue());401===M&&g&&(c.lastFailedAuth=g);void 0===Q&&(Q=500<=M&&600>M||401===M||0===M);Q&&(c.pendingEvents=Y.concat(c.pendingEvents),c.disableAutomaticFlush||c.flushTimer.enabled||c.flushTimer.start());b&&
b("net-send-failed",M);++c.numRetriesSinceLastSuccessfulFlush},G=function(){c.network?c.network.send(v,x,A):c.networkIOSend&&c.networkIOSend(v,x,A)};q?q.then(function(M){v.requestHeaders["Content-Encoding"]="gzip";v.requestHeaders["Content-Type"]="application/binary";v.body=M;v.bodyType=2;G()},function(){G()}):G()}}}};
RC.prototype.finalFlush=function(){this.clientSideLogOnlyForDevelopment||(a2b(this.logRequestBuilder,!0),this.useSendBeaconForFinalFlush&&(this.logRequestBuilder.setTransmissionType(3),$1b(this)),this.useGetRequestForFinalFlush&&(this.logRequestBuilder.setTransmissionType(2),b2b(this)),this.flush(),a2b(this.logRequestBuilder,!1))};
var $1b=function(a){c2b(a,32,10,function(b,c){b=CC(b,"format","json");var d=!1;try{d=hC().navigator.sendBeacon(b,c.serialize())}catch(e){}a.sendBeaconApiEnabled&&!d&&(a.sendBeaconApiEnabled=!1);return d})},b2b=function(a){c2b(a,6,5,function(b,c){c=c.serialize();for(var d=[],e=0,g=0;g<c.length;g++){var h=c.charCodeAt(g);255<h&&(d[e++]=h&255,h>>=8);d[e++]=h}c=Kaa(d,3);b=BC(b,"format","base64json","p",c);if(15360<b.length)return!1;(new Image).src=b;return!0})},c2b=function(a,b,c,d){if(0!==a.pendingEvents.length){var e=
a.getClearcutUrl();for(var g=e.search(i0b),h=0,l,q=[];0<=(l=h0b(e,h,"format",g));)q.push(e.substring(h,l)),h=Math.min(e.indexOf("&",l)+1||g,g);q.push(e.slice(h));e=q.join("").replace(k0b,"$1");e=BC(e,"auth",a.getAuthHeaderValue(),"authuser",a.sessionIndex||"0");for(g=0;g<c&&a.pendingEvents.length;++g){h=a.pendingEvents.slice(0,b);l=a.logRequestBuilder.build(h,a.numLogsDroppedSinceLastFlush,a.numRetriesSinceLastSuccessfulFlush);if(!d(e,l)){++a.numRetriesSinceLastSuccessfulFlush;break}a.numLogsDroppedSinceLastFlush=
0;a.numRetriesSinceLastSuccessfulFlush=0;a.pendingEvents=a.pendingEvents.slice(h.length)}a.flushTimer.enabled&&a.flushTimer.stop()}},Z1b=function(){SB.call(this,"event-logged",void 0)};T(Z1b,SB);var QC=function(a,b){this.isServiceWorkerScope=b=void 0===b?!1:b;this.uach=this.locale=null;this.logRequest=new H1b;this.logRequest.setLogSource(a);b||(this.locale=document.documentElement.getAttribute("lang"));this.setClientInfo(new MC)};
QC.prototype.setLogSource=function(a){this.logRequest.setLogSource(a);return this};QC.prototype.setClientInfo=function(a){this.logRequest.setClientInfo(a);a.getClientType()||a.setClientType(1);this.isServiceWorkerScope||(a=this.getMutableJsClientInfo(),a.getLocale()||a.setLocale(this.locale));this.uach&&(a=this.getMutableJsClientInfo(),X(a,FC,9)||hj(a,FC,9,this.uach))};QC.prototype.setBuildLabel=function(a){this.getMutableJsClientInfo().setBuildLabel(a)};
QC.prototype.setTransmissionType=function(a){Nj(this.getMutableClientInfo(),GC,11)&&this.getMutableFlushInfo().setTransmissionType(a)};var a2b=function(a,b){Nj(a.getMutableClientInfo(),GC,11)&&(a=a.getMutableFlushInfo(),Vj(a,2,b))};QC.prototype.setRetryCount=function(a){Nj(this.getMutableClientInfo(),GC,11)&&this.getMutableFlushInfo().setRetryCount(a)};QC.prototype.getMutableClientInfo=function(){return this.logRequest.getClientInfo()};
var d2b=function(a,b){var c=void 0===c?y0b:c;b(hC(),c).then(function(d){a.uach=d;d=a.getMutableJsClientInfo();hj(d,FC,9,a.uach);return!0}).catch(function(){return!1})};QC.prototype.getMutableJsClientInfo=function(){var a=this.getMutableClientInfo(),b=X(a,GC,11);b||(b=new GC,hj(a,GC,11,b));return b};QC.prototype.getMutableFlushInfo=function(){var a=this.getMutableJsClientInfo(),b=X(a,EC,10);b||(b=new EC,Vj(b,2,!1),hj(a,EC,10,b));return b};
QC.prototype.build=function(a,b,c){b=void 0===b?0:b;this.setRetryCount(void 0===c?0:c);c=this.logRequest.clone();var d=Date.now().toString();c=V(c,4,d);a=nj(c,3,a);b&&V(a,14,b);return a};var e2b=function(a,b){QB.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.networkIOSend=ypa};T(e2b,QB);f=e2b.prototype;f.setBuildLabel=function(a){this.buildLabel=a};f.setGzipCompressor=function(a){this.gzipCompressor=a};
f.setComponentId=function(a){this.componentId=a;return this};f.setClearExperimentIds=function(a){this.clearExperimentIds=a};f.setOpaqueExperimentIds=function(a){this.opaqueExperimentIds=a};f.setClearcutClientInfo=function(a){this.clearcutClientInfo=a};f.useSendBeaconForFinalFlush=function(){this.sendBeaconForFinalFlush=!0;return this};f.useGetRequestForFinalFlush=function(){this.getRequestForFinalFlush=!0;return this};f.setFlushIntervalMs=function(a){this.flushIntervalMs=Math.max(a,1E3)};
f.disableWithCredentials=function(){this.withCredentialsDisabled=!0;return this};f.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};
f.build=function(){var a=new RC({logSource:this.logSource,getAuthHeaderValue:this.getAuthHeaderValue?this.getAuthHeaderValue:Oo,sessionIndex:this.sessionIndex,networkIOSend:this.networkIOSend,urlOverride:this.destinationUrl,isServiceWorkerScope:this.serviceWorkerScopeEnabled,disableAutomaticFlush:!1,disableWithCredentials:this.withCredentialsDisabled,pageId:void 0,backgroundJobDeferrer:void 0,network:this.network?this.network:void 0});RB(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.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);this.userAgentClientHintsProvider&&d2b(a.logRequestBuilder,this.userAgentClientHintsProvider);this.useConsistentTimezoneOffset&&a.setUseConsistentTimezoneOffset(!0);return a};var f2b=function(a,b,c,d,e,g){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;QB.call(this);g?c=g:(a=(new e2b(a,"0")).setComponentId(b),RB(this,a),""!=c&&(a.destinationUrl=c),d&&(a.serviceWorkerScopeEnabled=!0),e&&a.setBuildLabel(e),c=a.build());this.componentId_=b;this.transport_=c};T(f2b,QB);f2b.prototype.getComponentId=function(){return this.componentId_};
f2b.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new D_b,c=[],d=0;d<a.length;d++){var e=a[d],g=e;var h=new yC;h=sk(h,1,g.metricName_);for(var l=g,q=[],v=0;v<l.fields_.length;v++)q.push(l.fields_[v].field_name);h=Pi(h,3,q);l=[];q=[];v=k(g.cellMap_.keys());for(var x=v.next();!x.done;x=v.next())q.push(x.value.split(","));for(v=0;v<q.length;v++){x=q[v];var A=g.cellType_;for(var G=g.getCells(x)||[],M=[],Q=0;Q<G.length;Q++){var Y=G[Q];Y=Y&&Y.cellValue_;var W=new uC;switch(A){case 3:so(W,1,
vC,Number(Y));break;case 2:so(W,2,vC,Xa(Number(Y)))}M.push(W)}A=M;for(G=0;G<A.length;G++){M=A[G];Q=new wC;M=hj(Q,uC,2,M);Q=x;Y=[];W=g;for(var ia=[],ja=0;ja<W.fields_.length;ja++)ia.push(W.fields_[ja].field_type);W=ia;for(ia=0;ia<W.length;ia++){ja=W[ia];var Aa=Q[ia],Da=new rC;switch(ja){case 3:yo(Da,1,sC,String(Aa));break;case 2:so(Da,2,sC,Number(Aa));break;case 1:so(Da,3,sC,Za("true"==Aa))}Y.push(Da)}nj(M,1,Y);l.push(M)}}nj(h,4,l);c.push(h);e.clear()}nj(b,1,c);SC(this.transport_,b);this.transport_.flush()}};var g2b=new ad("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(" ")}}),h2b=new ad("STREAMZ_PRODUCT_IDENTIFIER"),i2b=new ad("STREAMZ_ALLOWLIST_IDENTIFIER"),j2b=new ad("one_developer_workflow.streamz_service",{providedIn:"root",factory:function(){return Jc(df).runOutsideAngular(function(){var a=new f2b(1503);a=new d_b(a);a.flushInterval=1E4;a.flushTimer.setInterval(1E4);
return a})}}),TC=function(a,b,c,d,e){this.streamzService=a;this.zone=b;this.oneDeveloperWorkflowUsageMetrics=new g_b(this.streamzService);new h_b(this.streamzService);new i_b(this.streamzService);new j_b(this.streamzService);this.productIdentifier=d||window.location.hostname;this.productionAllowlist=c.map(o_b);this.allowlistIdentifier=n_b(null!=e?e:this.productIdentifier)};
TC.prototype.logUsageMetric=function(a,b){var c=this;this.zone.runOutsideAngular(function(){k2b(c)&&c.oneDeveloperWorkflowUsageMetrics.increment(a,c.productIdentifier,b)})};var k2b=function(a){return a.productionAllowlist.some(function(b){return a.allowlistIdentifier===b})};TC.\u0275fac=function(a){return new (a||TC)(t(j2b),t(df),t(g2b),t(h2b,8),t(i2b,8))};TC.\u0275prov=yc({token:TC,factory:TC.\u0275fac,providedIn:"root"});var l2b=new ad("Feature Tooltip Controller Config");new ad("TooltipAnchor");new ad("TooltipPeventer");var m2b=Tg("transformMenu",[Wg("void",Vg({opacity:0,transform:"scale(0.8)"})),Xg("void => enter",Ug("120ms cubic-bezier(0, 0, 0.2, 1)",Vg({opacity:1,transform:"scale(1)"}))),Xg("* => void",Ug("100ms 25ms linear",Vg({opacity:0})))]),n2b=Tg("fadeInItems",[Wg("showing",Vg({opacity:1})),Xg("void => *",[Vg({opacity:0}),Ug("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var o2b=new ad("MatMenuContent"),UC=function(a,b,c,d,e,g,h){this._template=a;this._componentFactoryResolver=b;this._appRef=c;this._injector=d;this._viewContainerRef=e;this._document=g;this._changeDetectorRef=h;this._attached=new D.Subject};
UC.prototype.attach=function(a){a=void 0===a?{}:a;this._portal||(this._portal=new gy(this._template,this._viewContainerRef));this.detach();this._outlet||(this._outlet=new iy(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()};
UC.prototype.detach=function(){this._portal.isAttached&&this._portal.detach()};UC.prototype.ngOnDestroy=function(){this._outlet&&this._outlet.dispose()};UC.\u0275fac=function(a){return new (a||UC)(B(Yf),B(tv),B(Iw),B(sv),B(Zf),B(qh),B(Kw))};UC.\u0275dir=Sc({type:UC});var p2b=new ad("MAT_MENU_PANEL");var q2b=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],r2b=uh(vh(function(){})),VC=function(a,b,c,d,e){var g=r2b.call(this)||this;g._elementRef=a;g._document=b;g._focusMonitor=c;g._parentMenu=d;g._changeDetectorRef=e;g.role="menuitem";g._hovered=new D.Subject;g._focused=new D.Subject;g._highlighted=!1;g._triggersSubmenu=!1;var h;null==d||null==(h=d.addItem)||h.call(d,g);return g};T(VC,r2b);f=VC.prototype;
f.focus=function(a,b){this._focusMonitor&&a?cy(this._focusMonitor,this._getHostElement(),a,b):this._getHostElement().focus(b);this._focused.next(this)};f.ngAfterViewInit=function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)};f.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef);this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this);this._hovered.complete();this._focused.complete()};
f._getTabIndex=function(){return this.disabled?"-1":"0"};f._getHostElement=function(){return this._elementRef.nativeElement};f._checkDisabled=function(a){this.disabled&&(a.preventDefault(),a.stopPropagation())};f._handleMouseEnter=function(){this._hovered.next(this)};f.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())||""};
f._setHighlighted=function(a){this._highlighted=a;var b;null==(b=this._changeDetectorRef)||b.markForCheck()};f._setTriggersSubmenu=function(a){this._triggersSubmenu=a;var b;null==(b=this._changeDetectorRef)||b.markForCheck()};f._hasFocus=function(){return this._document&&this._document.activeElement===this._getHostElement()};VC.\u0275fac=function(a){return new (a||VC)(B(Dd),B(qh),B(by),B(p2b,8),B(Kw))};
VC.\u0275cmp=Oc({type:VC,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(a,b){a&1&&L("click",function(c){return b._checkDisabled(c)})("mouseenter",function(){return b._handleMouseEnter()});a&2&&(of("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled)("disabled",b.disabled||null),xf("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:[kf],attrs:["mat-menu-item",""],ngContentSelectors:["mat-icon, [matMenuItemIcon]","*"],decls:5,vars:3,consts:[[1,"mdc-list-item__primary-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","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&&(Ff(q2b),Gf(0),F(1,"span",0),Gf(2,1),H(),I(3,"div",1),O(4,zpa,2,0,"svg",2));a&2&&(z(3),E("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),z(1),E("ngIf",b._triggersSubmenu))},dependencies:[Rw,rA],encapsulation:2,changeDetection:0});var s2b=0,t2b=new ad("mat-menu-default-options",{providedIn:"root",factory:Bpa}),WC=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._changeDetectorRef=d;this._directDescendantItems=new eg;this._classList={};this._panelAnimationState="void";this._animationDone=new D.Subject;this.close=this.closed=new kw;this.panelId="mat-menu-panel-"+s2b++;this.overlayPanelClass=c.overlayPanelClass||"";this._xPosition=c.xPosition;this._yPosition=c.yPosition;this.backdropClass=c.backdropClass;this._overlapTrigger=
c.overlapTrigger;this._hasBackdrop=c.hasBackdrop};f=WC.prototype;f.ngOnInit=function(){this.setPositionClasses()};
f.ngAfterContentInit=function(){var a=this;this._updateDirectDescendants();this._keyManager=yz(eWb(vz(new Bz(this._directDescendantItems))));this._keyManager.tabOut.subscribe(function(){return a.closed.emit("tab")});this._directDescendantItems.changes.pipe(Ze(this._directDescendantItems),$e(function(b){return D.merge.apply(null,cd(b.map(function(c){return c._focused})))})).subscribe(function(b){return zz(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())})};f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._directDescendantItems.destroy();this.closed.complete();var b;null==(b=this._firstItemFocusSubscription)||b.unsubscribe()};
f._hovered=function(){return this._directDescendantItems.changes.pipe(Ze(this._directDescendantItems),$e(function(a){return D.merge.apply(null,cd(a.map(function(b){return b._hovered})))}))};f.addItem=function(){};f.removeItem=function(){};
f._handleKeydown=function(a){var b=a.keyCode,c=this._keyManager;switch(b){case 27:Jg(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||hWb(c,"keyboard");c.onKeydown(a);return}a.stopPropagation()};
var u2b=function(a,b){b=void 0===b?"program":b;var c;null==(c=a._firstItemFocusSubscription)||c.unsubscribe();a._firstItemFocusSubscription=a._ngZone.onStable.pipe(Oe()).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;hWb(e,b)._setActiveItemByIndex(0,1);!e.activeItem&&d&&d.focus()}})};f=WC.prototype;
f.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)};
f.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()};f._startAnimation=function(){this._panelAnimationState="enter"};f._resetAnimation=function(){this._panelAnimationState="void"};
f._onAnimationDone=function(a){this._animationDone.next(a);this._isAnimating=!1};f._onAnimationStart=function(a){this._isAnimating=!0;"enter"===a.toState&&0===this._keyManager.activeItemIndex&&(a.element.scrollTop=0)};f._updateDirectDescendants=function(){var a=this;this._allItems.changes.pipe(Ze(this._allItems)).subscribe(function(b){a._directDescendantItems.reset(b.filter(function(c){return c._parentMenu===a}));$f(a._directDescendantItems)})};
sh.Object.defineProperties(WC.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=Fg(a)}},hasBackdrop:{configurable:!0,enumerable:!0,
get:function(){return this._hasBackdrop},set:function(a){this._hasBackdrop=Fg(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}}});
WC.\u0275fac=function(a){return new (a||WC)(B(Dd),B(df),B(t2b),B(Kw))};
WC.\u0275dir=Sc({type:WC,contentQueries:function(a,b,c){a&1&&(cg(c,o2b,5),cg(c,VC,5),cg(c,VC,4));if(a&2){var d;ag(d=dg())&&(b.lazyContent=d.first);ag(d=dg())&&(b._allItems=d);ag(d=dg())&&(b.items=d)}},viewQuery:function(a,b){a&1&&bg(Yf,5);if(a&2){var c;ag(c=dg())&&(b.templateRef=c.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",
overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}});var XC=function(a,b,c,d){WC.call(this,a,b,c,d);this._elevationPrefix="mat-elevation-z";this._baseElevation=8};T(XC,WC);XC.\u0275dir=WC.\u0275dir;XC.\u0275fac=function(a){return new (a||XC)(B(Dd),B(df),B(t2b),B(Kw))};
XC.\u0275cmp=Oc({type:XC,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(a){a&2&&of("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Of([{provide:p2b,useExisting:XC}]),kf],ngContentSelectors:["*"],decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content",
"mdc-list"]],template:function(a){a&1&&(Ff(),O(0,Apa,3,6,"ng-template"))},dependencies:[Pw],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:var(--mdc-shape-medium, 4px)}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{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;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],
encapsulation:2,data:{animation:[m2b,n2b]},changeDetection:0});var v2b=new ad("mat-menu-scroll-strategy"),w2b={provide:v2b,deps:[dA],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},x2b=Ag({passive:!0}),YC=function(a,b,c,d,e,g,h,l,q){var v=this;this._overlay=a;this._element=b;this._viewContainerRef=c;this._menuItemInstance=g;this._dir=h;this._focusMonitor=l;this._ngZone=q;this._overlayRef=null;this._menuOpen=!1;this._menuCloseSubscription=this._hoverSubscription=this._closingActionsSubscription=D.Subscription.EMPTY;this._changeDetectorRef=
Jc(Kw);this._handleTouchStart=function(x){Pma(x)||(v._openedBy="touch")};this._openedBy=void 0;this.restoreFocus=!0;this.onMenuOpen=this.menuOpened=new kw;this.onMenuClose=this.menuClosed=new kw;this._scrollStrategy=d;this._parentMaterialMenu=e instanceof WC?e:void 0;b.nativeElement.addEventListener("touchstart",this._handleTouchStart,x2b)};YC.prototype.ngAfterContentInit=function(){this._handleHover()};
YC.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null);this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,x2b);this._menuCloseSubscription.unsubscribe();this._closingActionsSubscription.unsubscribe();this._hoverSubscription.unsubscribe()};var ZC=function(a){return!!(a._menuItemInstance&&a._parentMaterialMenu&&a.menu)};f=YC.prototype;
f.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?!ZC(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 WC&&(b._startAnimation(),b._directDescendantItems.changes.pipe(af(b.close)).subscribe(function(){wWb(AWb(e,
!1));AWb(e,!0)}))}};f.closeMenu=function(){var a;null==(a=this.menu)||a.close.emit()};f.focus=function(a,b){this._focusMonitor&&a?cy(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};f.updatePosition=function(){var a;null==(a=this._overlayRef)||a.updatePosition()};
f._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&&ZC(this)||this.focus(this._openedBy);this._openedBy=void 0;if(c instanceof WC)c._resetAnimation(),c.lazyContent?c._animationDone.pipe(Ge(function(e){return"void"===e.toState}),Oe(),af(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()}}};f._initMenu=function(a){a.parentMenu=ZC(this)?this._parentMaterialMenu:void 0;a.direction=this.dir;this._setMenuElevation(a);u2b(a,this._openedBy||"program");this._setIsMenuOpen(!0)};f._setMenuElevation=function(a){if(a.setElevation){for(var b=0,c=a.parentMenu;c;)b++,c=c.parentMenu;a.setElevation(b)}};
f._setIsMenuOpen=function(a){a!==this._menuOpen&&((this._menuOpen=a)?this.menuOpened.emit():this.menuClosed.emit(),ZC(this)&&this._menuItemInstance._setHighlighted(a),this._changeDetectorRef.markForCheck())};f._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};
f._getOverlayConfig=function(a){return new Wz({positionStrategy:BWb(yWb(AWb(cA(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})};
f._subscribeToPositions=function(a,b){var c=this;a.setPositionClasses&&b.positionChanges.subscribe(function(d){var e="start"===d.connectionPair.overlayX?"after":"before",g="top"===d.connectionPair.overlayY?"below":"above";c._ngZone?c._ngZone.run(function(){return a.setPositionClasses(e,g)}):a.setPositionClasses(e,g)})};
f._setPosition=function(a,b){var c=k("before"===a.xPosition?["end","start"]:["start","end"]),d=c.next().value;c=c.next().value;var e=k("above"===a.yPosition?["bottom","top"]:["top","bottom"]),g=e.next().value;e=e.next().value;var h=k([g,e]),l=h.next().value;h=h.next().value;var q=k([d,c]),v=q.next().value;q=q.next().value;var x=0;ZC(this)?(q=d="before"===a.xPosition?"start":"end",c=v="end"===d?"start":"end",this._parentMaterialMenu&&(null==this._parentInnerPadding&&(this._parentInnerPadding=(a=this._parentMaterialMenu.items.first)?
a._getHostElement().offsetTop:0),x="bottom"===g?this._parentInnerPadding:-this._parentInnerPadding)):a.overlapTrigger||(l="top"===g?"bottom":"top",h="top"===e?"bottom":"top");Zz(b,[{originX:d,originY:l,overlayX:v,overlayY:g,offsetY:x},{originX:c,originY:l,overlayX:q,overlayY:g,offsetY:x},{originX:d,originY:h,overlayX:v,overlayY:e,offsetY:-x},{originX:c,originY:h,overlayX:q,overlayY:e,offsetY:-x}])};
f._menuClosingActions=function(){var a=this,b=this._overlayRef.backdropClick(),c=this._overlayRef._detachments,d=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,D.of)(),e=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ge(function(g){return g!==a._menuItemInstance}),Ge(function(){return a._menuOpen})):(0,D.of)();return(0,D.merge)(b,d,e,c)};f._handleMousedown=function(a){Oma(a)||(this._openedBy=0===a.button?"mouse":void 0,ZC(this)&&a.preventDefault())};
f._handleKeydown=function(a){a=a.keyCode;if(13===a||32===a)this._openedBy="keyboard";ZC(this)&&(39===a&&"ltr"===this.dir||37===a&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())};f._handleClick=function(a){ZC(this)?(a.stopPropagation(),this.openMenu()):this._menuOpen?this.closeMenu():this.openMenu()};
f._handleHover=function(){var a=this;ZC(this)&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Ge(function(b){return b===a._menuItemInstance&&!b.disabled}),Me(0,D.asapScheduler)).subscribe(function(){a._openedBy="mouse";a.menu instanceof WC&&a.menu._isAnimating?a.menu._animationDone.pipe(Oe(),Me(0,D.asapScheduler),af(a._parentMaterialMenu._hovered())).subscribe(function(){return a.openMenu()}):a.openMenu()}))};
f._getPortal=function(a){this._portal&&this._portal.templateRef===a.templateRef||(this._portal=new gy(a.templateRef,this._viewContainerRef));return this._portal};
sh.Object.defineProperties(YC.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(ZC(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"}}});YC.\u0275fac=function(a){return new (a||YC)(B(dA),B(Dd),B(Zf),B(v2b),B(p2b,8),B(VC,10),B(Cz,8),B(by),B(df))};
YC.\u0275dir=Sc({type:YC,hostVars:3,hostBindings:function(a,b){a&1&&L("click",function(c){return b._handleClick(c)})("mousedown",function(c){return b._handleMousedown(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&of("aria-haspopup",b.menu?"menu":null)("aria-expanded",b.menuOpen)("aria-controls",b.menuOpen?b.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData",
"menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}});var $C=function(){YC.apply(this,arguments)};T($C,YC);$C.\u0275fac=function(){var a;return function(b){return(a||(a=Bd($C)))(b||$C)}}();$C.\u0275dir=Sc({type:$C,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[kf]});var aD=function(){UC.apply(this,arguments)};T(aD,UC);aD.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(aD)))(b||aD)}}();aD.\u0275dir=Sc({type:aD,selectors:[["ng-template","matMenuContent",""]],features:[Of([{provide:o2b,useExisting:aD}]),kf]});var bD=function(){return VC.apply(this,arguments)||this};T(bD,VC);bD.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(bD)))(b||bD)}}();
bD.\u0275cmp=Oc({type:bD,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(a,b){a&2&&(of("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled.toString())("disabled",b.disabled||null),xf("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:[Of([{provide:VC,useExisting:bD}]),kf],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&&(Ff(),Gf(0),I(1,"div",0),O(2,Cpa,2,0,"svg",1));a&2&&(z(1),E("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),z(1),E("ngIf",b._triggersSubmenu))},dependencies:[Rw,rA],encapsulation:2,changeDetection:0});var cD=function(){YC.apply(this,arguments)};T(cD,YC);cD.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(cD)))(b||cD)}}();cD.\u0275dir=Sc({type:cD,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[kf]});var dD=function(a,b,c,d){WC.call(this,a,b,c,d);this._elevationPrefix="mat-elevation-z";this._baseElevation=4};T(dD,WC);dD.\u0275dir=WC.\u0275dir;dD.\u0275fac=function(a){return new (a||dD)(B(Dd),B(df),B(t2b),B(Kw))};
dD.\u0275cmp=Oc({type:dD,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(a){a&2&&of("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Of([{provide:p2b,useExisting:dD}]),kf],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&&(Ff(),O(0,Dpa,3,6,"ng-template"))},dependencies:[Pw],
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:[m2b,n2b]},changeDetection:0});var eD=function(){};eD.\u0275fac=function(a){return new (a||eD)};eD.\u0275mod=Qc({type:eD});eD.\u0275inj=zc({providers:[w2b],imports:[ex,hA,uA,gA,Tz,hA]});var y2b=["tooltip"],z2b=new ad("mat-tooltip-scroll-strategy"),A2b={provide:z2b,deps:[dA],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},B2b=new ad("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),C2b=Ag({passive:!0}),fD=function(a,b,c,d,e,g,h,l,q,v,x,A){var G=this;this._overlay=a;this._elementRef=b;this._scrollDispatcher=c;this._viewContainerRef=d;this._ngZone=e;this._platform=
g;this._ariaDescriber=h;this._focusMonitor=l;this._dir=v;this._defaultOptions=x;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 D.Subject;this._scrollStrategy=q;this._document=A;x&&(this._showDelay=x.showDelay,this._hideDelay=x.hideDelay,x.position&&(this.position=x.position),x.positionAtOrigin&&
(this.positionAtOrigin=x.positionAtOrigin),x.touchGestures&&(this.touchGestures=x.touchGestures));v.change.pipe(af(this._destroyed)).subscribe(function(){G._overlayRef&&G._updatePosition(G._overlayRef)})};f=fD.prototype;f.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(af(this._destroyed)).subscribe(function(b){b?"keyboard"===b&&a._ngZone.run(function(){return a.show()}):a._ngZone.run(function(){return a.hide(0)})})};
f.ngOnDestroy=function(){var a=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout);this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null);this._passiveListeners.forEach(function(b){var c=k(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,C2b)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();pz(this._ariaDescriber,a,this.message,"tooltip");this._focusMonitor.stopMonitoring(a)};
f.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 fy(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b._onHide.pipe(af(this._destroyed)).subscribe(function(){return c._detach()}),
this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),b.show(a)};f.hide=function(a){a=void 0===a?this.hideDelay:a;var b=this._tooltipInstance;b&&(b.isVisible()?b.hide(a):(b._cancelPendingAnimations(),this._detach()))};f.toggle=function(a){this._isTooltipVisible()?this.hide():this.show(void 0,a)};f._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()};
f._createOverlay=function(a){var b=this;if(this._overlayRef){var c=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!a)&&c._origin instanceof Dd)return this._overlayRef;this._detach()}c=nWb(this._scrollDispatcher,this._elementRef);a=xWb($z(aA(BWb(cA(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(af(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(af(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(af(this._destroyed)).subscribe(function(){var e;
return null==(e=b._tooltipInstance)?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(af(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&27===e.keyCode&&!Jg(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};
f._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach();this._tooltipInstance=null};f._updatePosition=function(a){a=a.getConfig().positionStrategy;var b=this._getOrigin(),c=this._getOverlayPosition();Zz(a,[this._addOffset(Object.assign({},b.main,c.main)),this._addOffset(Object.assign({},b.fallback,c.fallback))])};f._addOffset=function(a){return a};
f._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}}};
f._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}}};
f._updateTooltipMessage=function(){var a=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Oe(),af(this._destroyed)).subscribe(function(){a._tooltipInstance&&a._overlayRef.updatePosition()}))};f._setTooltipClass=function(a){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=a,this._tooltipInstance._markForCheck())};
f._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}};
f._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}};
f._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))};
f._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,cd(b))}};f._addListeners=function(a){var b=this;a.forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,C2b)})};f._platformSupportsMouseEvents=function(){return!this._platform.IOS&&!this._platform.ANDROID};
f._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()}};
f._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"}};
sh.Object.defineProperties(fD.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=Fg(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=Fg(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=Ig(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=Ig(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;pz(this._ariaDescriber,this._elementRef.nativeElement,this._message,"tooltip");this._message=null!=a?String(a).trim():"";!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){b._ariaDescriber.describe(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)}}});fD.\u0275fac=function(){Hd()};
fD.\u0275dir=Sc({type:fD,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}});
var hD=function(a,b,c,d,e,g,h,l,q,v,x,A){fD.call(this,a,b,c,d,e,g,h,l,q,v,x,A);this._tooltipComponent=gD;this._cssClassPrefix="mat-mdc";this._viewportMargin=8};T(hD,fD);hD.prototype._addOffset=function(a){var b=!this._dir||"ltr"==this._dir.value;"top"===a.originY?a.offsetY=-8:"bottom"===a.originY?a.offsetY=8:"start"===a.originX?a.offsetX=b?-8:8:"end"===a.originX&&(a.offsetX=b?8:-8);return a};
hD.\u0275fac=function(a){return new (a||hD)(B(dA),B(Dd),B(Mz),B(Zf),B(df),B(Rx),B(oz),B(by),B(z2b),B(Cz,8),B(B2b,8),B(qh))};hD.\u0275dir=Sc({type:hD,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&xf("mat-mdc-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],features:[kf]});
var iD=function(a,b){this._changeDetectorRef=a;this._isVisible=this._closeOnInteraction=!1;this._onHide=new D.Subject;this._animationsDisabled="NoopAnimations"===b};f=iD.prototype;f.show=function(a){var b=this;null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=setTimeout(function(){b._toggleVisibility(!0);b._showTimeoutId=void 0},a)};
f.hide=function(a){var b=this;null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId);this._hideTimeoutId=setTimeout(function(){b._toggleVisibility(!1);b._hideTimeoutId=void 0},a)};f.isVisible=function(){return this._isVisible};f.ngOnDestroy=function(){this._cancelPendingAnimations();this._onHide.complete();this._triggerElement=null};f._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)};f._markForCheck=function(){this._changeDetectorRef.markForCheck()};
f._handleMouseLeave=function(a){(a=a.relatedTarget)&&this._triggerElement.contains(a)||(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))};f._onShow=function(){};f._handleAnimationEnd=function(a){a=a.animationName;a!==this._showAnimation&&a!==this._hideAnimation||this._finalizeAnimation(a===this._showAnimation)};
f._cancelPendingAnimations=function(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId);null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=this._hideTimeoutId=void 0};f._finalizeAnimation=function(a){a?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()};
f._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))};
iD.\u0275fac=function(a){return new (a||iD)(B(Kw),B(wv,8))};iD.\u0275dir=Sc({type:iD});var gD=function(a,b,c){iD.call(this,a,c);this._elementRef=b;this._isMultiline=!1;this._showAnimation="mat-mdc-tooltip-show";this._hideAnimation="mat-mdc-tooltip-hide"};T(gD,iD);gD.\u0275dir=iD.\u0275dir;gD.prototype._onShow=function(){this._isMultiline=this._isTooltipMultiline();this._markForCheck()};
gD.prototype._isTooltipMultiline=function(){var a=this._elementRef.nativeElement.getBoundingClientRect();return 24<a.height&&200<=a.width};gD.\u0275fac=function(a){return new (a||gD)(B(Kw),B(Dd),B(wv,8))};
gD.\u0275cmp=Oc({type:gD,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&bg(y2b,7);if(a&2){var c;ag(c=dg())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(a,b){a&1&&L("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&wf("zoom",b.isVisible()?1:null)},features:[kf],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&&(F(0,"div",0,1),L("animationend",function(c){return b._handleAnimationEnd(c)}),F(2,"div",2),P(3),H()());a&2&&(xf("mdc-tooltip--multiline",b._isMultiline),E("ngClass",b.tooltipClass),z(3),Mf(b.message))},dependencies:[Pw],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-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.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-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 jD=function(){};jD.\u0275fac=function(a){return new (a||jD)};jD.\u0275mod=Qc({type:jD});jD.\u0275inj=zc({providers:[A2b],imports:[nz,ex,gA,hA,hA,Tz]});/*

 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 D2b=["tooltip"],lD=function(a,b,c,d,e,g,h,l,q,v,x,A){fD.call(this,a,b,c,d,e,g,h,l,q,v,x,A);this._tooltipComponent=kD};T(lD,fD);lD.\u0275fac=function(a){return new (a||lD)(B(dA),B(Dd),B(Mz),B(Zf),B(df),B(Rx),B(oz),B(by),B(z2b),B(Cz,8),B(B2b,8),B(qh))};lD.\u0275dir=Sc({type:lD,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&xf("mat-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],features:[kf]});
var kD=function(a,b,c){iD.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)")};T(kD,iD);kD.\u0275dir=iD.\u0275dir;kD.\u0275fac=function(a){return new (a||kD)(B(Kw),B(gz),B(wv,8))};
kD.\u0275cmp=Oc({type:kD,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&bg(D2b,7);if(a&2){var c;ag(c=dg())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(a,b){a&1&&L("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&wf("zoom",b.isVisible()?1:null)},features:[kf],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(a,b){a&1&&(F(0,"div",0,1),L("animationend",function(d){return b._handleAnimationEnd(d)}),
R(2,"async"),P(3),H());if(a&2){var c;xf("mat-tooltip-handset",null==(c=S(2,4,b._isHandset))?null:c.matches);E("ngClass",b.tooltipClass);z(3);Mf(b.message)}},dependencies:[Pw,Xw],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 mD=function(){};mD.\u0275fac=function(a){return new (a||mD)};mD.\u0275mod=Qc({type:mD});mD.\u0275inj=zc({imports:[hA,hA]});var E2b=new ad("g3cWidgetTaskManagementServicePromiseClient"),F2b=new ad("g3cWidgetUserPrefsServicePromiseClient"),G2b=new ad("g3cWidgetServiceConfig");var Lh=function(a){this.internalArray_=m(a)};T(Lh,p);f=Lh.prototype;f.getYear=function(){return Rh(this,1)};f.setYear=function(a){return Ib(this,1,a)};f.getMonth=function(){return Rh(this,2)};f.setMonth=function(a){return Ib(this,2,a)};f.getDay=function(){return Rh(this,3)};f.toObject=function(){return nD(this)};var nD=function(a){if(null!=a)return r(a),{year:Rh(a,1),month:Rh(a,2),day:Rh(a,3)}};var H2b=function(a){this.internalArray_=m(a)};T(H2b,p);H2b.prototype.getDueDate=function(){return ck(this,Lh,1,I2b)};var I2b=[1,2];H2b.prototype.toObject=function(){return J2b(this)};var J2b=function(a){if(null!=a)return r(a),{dueDate:nD(a.getDueDate()),dueTimeMs:n(pt(a,2,I2b)),dueType:Zi(a,3,0)}};var K2b=function(a){this.internalArray_=m(a)};T(K2b,p);K2b.prototype.toObject=function(){return L2b(this)};var L2b=function(a){if(null!=a)return r(a),{taskStatus:Zi(a,1,0)}};var qp=function(a){this.internalArray_=m(a)};T(qp,p);qp.prototype.getLabel=function(){return U(this,1)};qp.prototype.setLabel=function(a){return wj(this,1,a)};qp.prototype.getApprovalStatus=function(){return Zi(this,2,0)};qp.prototype.getOwnersList=function(){return Th(this,3)};qp.repeatedFields_=[3];qp.prototype.toObject=function(){return M2b(this)};var M2b=function(a){if(null!=a)return r(a),{label:U(a,1),approvalStatus:Zi(a,2,0),ownersList:n(Th(a,3))}};var N2b=function(a){this.internalArray_=m(a)};T(N2b,p);f=N2b.prototype;f.getId=function(){return qj(this,1)};f.setId=function(a){return Jb(this,1,a)};f.getLabel=function(){return U(this,2)};f.setLabel=function(a){return wj(this,2,a)};f.toObject=function(){return O2b(this)};var O2b=function(a){if(null!=a)return r(a),{id:qj(a,1),label:U(a,2)}};var P2b=function(a){this.internalArray_=m(a)};T(P2b,p);f=P2b.prototype;f.getId=function(){return qj(this,2)};f.setId=function(a){return Jb(this,2,a)};f.getLabel=function(){return U(this,3)};f.setLabel=function(a){return wj(this,3,a)};f.toObject=function(){return Q2b(this)};var Q2b=function(a){if(null!=a)return r(a),{deprecated:Tj(a,1),id:qj(a,2),label:U(a,3),helpText:U(a,4)}};var R2b=function(a){this.internalArray_=m(a)};T(R2b,p);R2b.prototype.toObject=function(){return S2b(this)};var S2b=function(a){if(null!=a)return r(a),{selectOptionId:qj(a,1),fdlcPhase:Zi(a,2,0)}};var T2b=function(a){this.internalArray_=m(a)};T(T2b,p);T2b.repeatedFields_=[1];T2b.prototype.toObject=function(){return U2b(this)};var U2b=function(a){if(null!=a)return r(a),{fdlcMapList:Ub(kj(a,R2b,1),S2b)}};var V2b=function(a){this.internalArray_=m(a)};T(V2b,p);f=V2b.prototype;f.getId=function(){return WKb(this,1)};f.setId=function(a){var b=this.internalArray_,c=qb(b);Ua(c);tb(b,c,1,null!=a&&0!==+a?a:void 0);return this};f.getLabel=function(){return U(this,2)};f.setLabel=function(a){return wj(this,2,a)};f.getTeamId=function(){return ht(this,3)};f.setTeamId=function(a){return Bb(this,3,a,0)};f.toObject=function(){return W2b(this)};
var W2b=function(a){if(null!=a)return r(a),{id:WKb(a,1),label:U(a,2),teamId:ht(a,3)}};var X2b=function(a){this.internalArray_=m(a)};T(X2b,p);f=X2b.prototype;f.getId=function(){return qj(this,1)};f.setId=function(a){return Jb(this,1,a)};f.getLabel=function(){return U(this,2)};f.setLabel=function(a){return wj(this,2,a)};f.getType=function(){return Zi(this,3,0)};f.setType=function(a){return Yi(this,3,a)};f.getOwner=function(){return Tj(this,9)};f.setOwner=function(a){return Gb(this,9,a)};f.getOptionsList=function(){return kj(this,P2b,16)};
f.setOptionsList=function(a){return nj(this,16,a)};f.setOptions=function(a){$s(this,16,P2b,a)};X2b.repeatedFields_=[16];var Y2b=[5,6],Z2b=[20];X2b.prototype.toObject=function(){return $2b(this)};
var $2b=function(a){if(null!=a)return r(a),{id:qj(a,1),label:U(a,2),type:Zi(a,3,0),helpText:U(a,4),productArea:W2b(ck(a,V2b,5,Y2b)),approverDefinition:O2b(ck(a,N2b,6,Y2b)),doNotCopy:Tj(a,7),pdaRelated:Tj(a,8),owner:Tj(a,9),mcrRelated:Tj(a,10),eventsRelated:Tj(a,11),brandingRelated:Tj(a,12),securityRelated:Tj(a,13),marketingPdaRelated:Tj(a,14),alwaysEditable:Tj(a,15),onlyConfigurableByAdmins:Tj(a,17),isConfigurationAttribute:Tj(a,18),emptySetNotValid:Tj(a,19),optionsList:Ub(a.getOptionsList(),Q2b),
singleSelectMetadata:U2b(ck(a,T2b,20,Z2b))}};var oD=function(a){this.internalArray_=m(a)};T(oD,p);oD.prototype.getTypeName=function(){return U(this,1).split("/").pop()};oD.prototype.getValue=function(){var a=Yb(this,2);if(Array.isArray(a)||a instanceof p)throw Error("X");return Qj(this,2)};oD.prototype.setValue=function(a){if(null==a)a=this;else if(Array.isArray(a))a=V(this,2,hca(a));else if("string"===typeof a||a instanceof Ba||ya(a))a=UKb(this,2,a);else throw Error("Y`"+a);return a};oD.prototype.toObject=function(){return a3b(this)};
var a3b=function(a){if(null!=a)return r(a),{typeUrl:U(a,1),value:Ica(a)}};var pD=function(a){this.internalArray_=m(a)};T(pD,p);pD.prototype.getValue=function(){return X(this,oD,2)};pD.prototype.setValue=function(a){return hj(this,oD,2,a)};pD.prototype.hasValue=function(){return Nj(this,oD,2)};pD.prototype.toObject=function(){return b3b(this)};var b3b=function(a){if(null!=a)return r(a),{definition:$2b(X(a,X2b,1)),value:a3b(a.getValue())}};var c3b=function(a){this.internalArray_=m(a)};T(c3b,p);c3b.prototype.getYear=function(){return Rh(this,1)};c3b.prototype.setYear=function(a){return Ib(this,1,a)};c3b.prototype.toObject=function(){return d3b(this)};var d3b=function(a){if(null!=a)return r(a),{year:Rh(a,1),number:Rh(a,2)}};var gWa=function(a){this.internalArray_=m(a)};T(gWa,p);var hWa=[1,2,3];gWa.prototype.toObject=function(){return e3b(this)};var e3b=function(a){if(null!=a)return r(a),{specificDate:nD(ck(a,Lh,1,hWa)),quarter:d3b(ck(a,c3b,2,hWa)),toBeDetermined:n(vr(a,Go(a,hWa,3)))}};var ln=function(a){this.internalArray_=m(a)};T(ln,p);f=ln.prototype;f.getDescription=function(){return U(this,1)};f.setDescription=function(a){return wj(this,1,a)};f.getStatus=function(){return Zi(this,3,0)};f.setStatus=function(a){return Yi(this,3,a)};f.getVersion=function(){return qj(this,5)};f.setVersion=function(a){return Jb(this,5,a)};f.getOwnedByMe=function(){return Tj(this,7)};f.setOwnedByMe=function(a){return Gb(this,7,a)};f.getCreatorEmail=function(){return U(this,9)};
ln.repeatedFields_=[4,6];ln.prototype.toObject=function(){return f3b(this)};var f3b=function(a){if(null!=a)return r(a),{description:U(a,1),launchDate:e3b(X(a,gWa,2)),status:Zi(a,3,0),approversList:Ub(kj(a,qp,4),M2b),version:qj(a,5),attributesList:Ub(kj(a,pD,6),b3b),ownedByMe:Tj(a,7),needBitApprovalFromMe:Tj(a,8),creatorEmail:U(a,9)}};var g3b=function(a){this.internalArray_=m(a)};T(g3b,p);f=g3b.prototype;f.getContent=function(){return U(this,1)};f.setContent=function(a){return wj(this,1,a)};f.getAuthorEmail=function(){return U(this,2)};f.getCommentNumber=function(){return Rh(this,4)};f.setCommentNumber=function(a){return Ib(this,4,a)};f.getFormattingMode=function(){return Zi(this,5,0)};f.setFormattingMode=function(a){return Yi(this,5,a)};f.toObject=function(){return h3b(this)};
var h3b=function(a){if(null!=a)return r(a),{content:U(a,1),authorEmail:U(a,2),modifiedTimestamp:qj(a,3),commentNumber:Rh(a,4),formattingMode:Zi(a,5,0)}};var qD=function(a){this.internalArray_=m(a)};T(qD,p);qD.prototype.toObject=function(){return i3b(this)};var i3b=function(a){if(null!=a)return r(a),{startTimeMs:qj(a,1),endTimeMs:qj(a,2),targetTimeMs:qj(a,3)}};var j3b=function(a){this.internalArray_=m(a)};T(j3b,p);f=j3b.prototype;f.getAssignmentBounds=function(){return X(this,qD,1)};f.setAssignmentBounds=function(a){hj(this,qD,1,a)};f.hasAssignmentBounds=function(){return Nj(this,qD,1)};f.getResponseBounds=function(){return X(this,qD,2)};f.setResponseBounds=function(a){hj(this,qD,2,a)};f.hasResponseBounds=function(){return Nj(this,qD,2)};f.getClosureBounds=function(){return X(this,qD,3)};f.setClosureBounds=function(a){hj(this,qD,3,a)};
f.hasClosureBounds=function(){return Nj(this,qD,3)};f.toObject=function(){return k3b(this)};var k3b=function(a){if(null!=a)return r(a),{assignmentBounds:i3b(a.getAssignmentBounds()),responseBounds:i3b(a.getResponseBounds()),closureBounds:i3b(a.getClosureBounds())}};var rD=function(a){this.internalArray_=m(a)};T(rD,p);rD.prototype.getAccessLevel=function(){return Zi(this,1,0)};rD.prototype.setAccessLevel=function(a){return Yi(this,1,a)};rD.prototype.toObject=function(){return l3b(this)};var l3b=function(a){if(null!=a)return r(a),{accessLevel:Zi(a,1,0)}};var m3b=function(a){this.internalArray_=m(a)};T(m3b,p);f=m3b.prototype;f.getType=function(){return Zi(this,1,0)};f.setType=function(a){return Yi(this,1,a)};f.getPriority=function(){return Zi(this,2,0)};f.setPriority=function(a){return Yi(this,2,a)};f.getSeverity=function(){return Zi(this,3,0)};f.setSeverity=function(a){return Yi(this,3,a)};f.getStatus=function(){return Zi(this,4,0)};f.setStatus=function(a){return Yi(this,4,a)};f.getSloStatus=function(){return X(this,j3b,20)};
f.setSloStatus=function(a){hj(this,j3b,20,a)};f.hasSloStatus=function(){return Nj(this,j3b,20)};f.getIsStarred=function(){return Tj(this,8)};f.getComponentId=function(){return qj(this,11)};f.setComponentId=function(a){return Jb(this,11,a)};f.getVersion=function(){return Rh(this,16)};f.setVersion=function(a){return Ib(this,16,a)};f.getAssignedToMe=function(){return Tj(this,13)};f.getAccessLimit=function(){return X(this,rD,21)};f.setAccessLimit=function(a){return hj(this,rD,21,a)};
f.getBlockingIssueIdsList=function(){return rl(this,22)};f.getCommentsList=function(){return kj(this,g3b,10)};m3b.repeatedFields_=[7,22,10];m3b.prototype.toObject=function(){return n3b(this)};
var n3b=function(a){if(null!=a)return r(a),{type:Zi(a,1,0),priority:Zi(a,2,0),severity:Zi(a,3,0),status:Zi(a,4,0),sloStatus:k3b(a.getSloStatus()),reporterEmail:U(a,5),assigneeEmail:U(a,6),verifierEmail:U(a,14),ccEmailsList:n(Th(a,7)),isStarred:Tj(a,8),lastModifiedByUserEmail:U(a,9),componentId:qj(a,11),canonicalIssueId:qj(a,18),version:Rh(a,16),majorModifiedTimestampMs:qj(a,19),reportedByMe:Tj(a,12),assignedToMe:Tj(a,13),ccIncludesMe:Tj(a,17),bugjugglerInCcList:Tj(a,15),accessLimit:l3b(a.getAccessLimit()),
blockingIssueIdsList:n(rl(a,22)),commentsList:Ub(a.getCommentsList(),h3b),isOwnedByMyTeams:Tj(a,23)}};var sD=function(a){this.internalArray_=m(a)};T(sD,p);sD.prototype.getType=function(){return Zi(this,1,0)};sD.prototype.setType=function(a){return Yi(this,1,a)};sD.prototype.getState=function(){return Zi(this,5,0)};sD.repeatedFields_=[3];sD.prototype.toObject=function(){return o3b(this)};var o3b=function(a){if(null!=a)return r(a),{type:Zi(a,1,0),approverEmailsList:n(Th(a,3)),reasonMessage:U(a,4),state:Zi(a,5,0)}};var tD=function(a){this.internalArray_=m(a)};T(tD,p);tD.prototype.getAuthorEmail=function(){return U(this,3)};tD.prototype.getContent=function(){return U(this,4)};tD.prototype.setContent=function(a){return wj(this,4,a)};tD.prototype.toObject=function(){return p3b(this)};var p3b=function(a){if(null!=a)return r(a),{publishTimestamp:qj(a,2),authorEmail:U(a,3),content:U(a,4),resolved:Tj(a,8)}};var q3b=function(a){this.internalArray_=m(a)};T(q3b,p);f=q3b.prototype;f.getAuthorEmail=function(){return U(this,2)};f.getContent=function(){return U(this,3)};f.setContent=function(a){return wj(this,3,a)};f.getRepliesList=function(){return kj(this,tD,5)};f.getExternalLink=function(){return U(this,6)};q3b.repeatedFields_=[5];q3b.prototype.toObject=function(){return r3b(this)};
var r3b=function(a){if(null!=a)return r(a),{publishTimestamp:qj(a,1),authorEmail:U(a,2),content:U(a,3),resolved:Tj(a,4),repliesList:Ub(a.getRepliesList(),p3b),externalLink:U(a,6)}};var fn=function(a){this.internalArray_=m(a)};T(fn,p);f=fn.prototype;f.getDescription=function(){return U(this,1)};f.setDescription=function(a){return wj(this,1,a)};f.getCategory=function(){return Zi(this,2,0)};f.getStatus=function(){return Zi(this,3,0)};f.setStatus=function(a){return Yi(this,3,a)};f.getIsStarred=function(){return Tj(this,4)};f.getReviewerEmailsList=function(){return Th(this,6)};f.getCommentsList=function(){return kj(this,q3b,7)};f.getAuthorEmail=function(){return U(this,10)};
f.getNeedsAttention=function(){return Tj(this,12)};f.getChangeSize=function(){return Zi(this,18,0)};fn.repeatedFields_=[5,6,7,11,17,13,14];fn.prototype.toObject=function(){return s3b(this)};
var s3b=function(a){if(null!=a)return r(a),{description:U(a,1),descriptionUsesMarkdown:Tj(a,16),category:Zi(a,2,0),status:Zi(a,3,0),isStarred:Tj(a,4),approvalStatesList:Ub(kj(a,sD,5),o3b),reviewerEmailsList:n(Th(a,6)),commentsList:Ub(a.getCommentsList(),r3b),externalLinkToCider:U(a,8),needsAttentionFromReviewer:Tj(a,9),authorEmail:U(a,10),isAuthorFromMyTeams:Tj(a,19),ccEmailsList:n(Th(a,11)),needsAttention:Tj(a,12),attentionSetUsersList:n(Th(a,17)),bugsList:n(Th(a,13)),fixedBugsList:n(Th(a,14)),workspaceName:U(a,
15),changeSize:Zi(a,18,0)}};var uD=function(a){this.internalArray_=m(a)};T(uD,p);uD.prototype.getContent=function(){return U(this,3)};uD.prototype.setContent=function(a){return wj(this,3,a)};uD.prototype.getExternalLink=function(){return U(this,4)};uD.prototype.toObject=function(){return t3b(this)};var t3b=function(a){if(null!=a)return r(a),{authorDisplayName:U(a,1),authorPhotoLink:U(a,2),content:U(a,3),externalLink:U(a,4),modifiedTimestamp:qj(a,5),action:Zi(a,6,0)}};var u3b=function(a){this.internalArray_=m(a)};T(u3b,p);f=u3b.prototype;f.getCommentId=function(){return U(this,1)};f.getAssignedToMe=function(){return Tj(this,2)};f.getContent=function(){return U(this,8)};f.setContent=function(a){return wj(this,8,a)};f.getExternalLink=function(){return U(this,12)};f.getRepliesList=function(){return kj(this,uD,14)};f.getDueDate=function(){return X(this,Lh,18)};u3b.repeatedFields_=[14];u3b.prototype.toObject=function(){return v3b(this)};
var v3b=function(a){if(null!=a)return r(a),{commentId:U(a,1),assignedToMe:Tj(a,2),mentioningMe:Tj(a,3),isSuggestion:Tj(a,4),commentStatus:Zi(a,5,0),authorDisplayName:U(a,6),authorPhotoLink:U(a,7),content:U(a,8),prependQuotedContent:U(a,9),quotedContent:U(a,10),appendQuotedContent:U(a,11),externalLink:U(a,12),modifiedTimestamp:qj(a,13),repliesList:Ub(a.getRepliesList(),t3b),isDocwrapComment:Tj(a,15),assignedToMeTimestampMs:qj(a,16),mentioningMeTimestampMs:qj(a,17),dueDate:nD(a.getDueDate())}};var jn=function(a){this.internalArray_=m(a)};T(jn,p);f=jn.prototype;f.getCreatedTimestamp=function(){return qj(this,1)};f.getOwnedByMe=function(){return Tj(this,3)};f.setOwnedByMe=function(a){return Gb(this,3,a)};f.getSharedToMe=function(){return Tj(this,14)};f.getMimeType=function(){return U(this,15)};f.setMimeType=function(a){wj(this,15,a)};f.getCommentsList=function(){return kj(this,u3b,6)};f.getIsStarred=function(){return Tj(this,9)};f.getCreatorEmail=function(){return U(this,11)};
jn.repeatedFields_=[17,6];jn.prototype.toObject=function(){return w3b(this)};
var w3b=function(a){if(null!=a)return r(a),{createdTimestamp:qj(a,1),createdByMe:Tj(a,2),ownedByMe:Tj(a,3),recentlySharedWithMe:Tj(a,8),sharedWithMeTimestamp:qj(a,4),sharedToMe:Tj(a,14),sharedToMyGroups:Tj(a,18),sharedToMyTeamDrive:Tj(a,19),actionItemsChecksum:U(a,5),mimeType:U(a,15),teamDriveId:U(a,16),parentIdsList:n(Th(a,17)),openCommentsCount:Rh(a,21),commentsAssignedToMeCount:Rh(a,22),commentsMentioningMeCount:Rh(a,23),suggestionsCount:Rh(a,24),isDocwrapIncoming:Tj(a,25),isDocwrapOutgoing:Tj(a,
26),commentsList:Ub(a.getCommentsList(),v3b),lastCommentedTimestamp:qj(a,7),lastCommentedByGaiaId:qj(a,20),isStarred:Tj(a,9),ownerEmail:U(a,10),creatorEmail:U(a,11),lastModifiedByUserEmail:U(a,12),lastCommentedByUserDisplayName:U(a,13)}};var x3b=function(a){this.internalArray_=m(a)};T(x3b,p);x3b.prototype.getTitle=function(){return U(this,2)};x3b.prototype.setTitle=function(a){return wj(this,2,a)};x3b.prototype.toObject=function(){return y3b(this)};var y3b=function(a){if(null!=a)return r(a),{gtaskId:U(a,1),title:U(a,2),isCompleted:Tj(a,3),details:U(a,4),dueDateTimestamp:qj(a,5)}};var z3b=function(a){this.internalArray_=m(a)};T(z3b,p);f=z3b.prototype;f.getId=function(){return U(this,1)};f.setId=function(a){return wj(this,1,a)};f.getTitle=function(){return U(this,2)};f.setTitle=function(a){return wj(this,2,a)};f.toObject=function(){return A3b(this)};var A3b=function(a){if(null!=a)return r(a),{id:U(a,1),title:U(a,2)}};var B3b=function(a){this.internalArray_=m(a)};T(B3b,p);B3b.prototype.getTaskList=function(){return X(this,z3b,8)};B3b.repeatedFields_=[5];var C3b=[9,10];B3b.prototype.toObject=function(){return D3b(this)};var D3b=function(a){if(null!=a)return r(a),{isCompleted:Tj(a,4),details:U(a,1),dueDateTimestamp:qj(a,2),emailLink:U(a,3),subtasksList:Ub(kj(a,x3b,5),y3b),isNewTask:Tj(a,7),taskList:A3b(a.getTaskList()),sourceGroup:OPb(ck(a,dv,9,C3b)),sourceDocument:NPb(ck(a,MPb,10,C3b))}};var vD=function(a){this.internalArray_=m(a)};T(vD,p);vD.prototype.getParentId=function(){return qj(this,11)};vD.prototype.setParentId=function(a){return Jb(this,11,a)};vD.prototype.toObject=function(){return E3b(this)};var E3b=function(a){if(null!=a)return r(a),{membershipId:qj(a,1),childId:qj(a,10),childName:U(a,2),childEmail:U(a,3),parentId:qj(a,11),parentName:U(a,4),parentEmail:U(a,5),createTimeMs:qj(a,6),expireTimeMs:qj(a,7),membershipType:Zi(a,8,0),getEmail:Tj(a,9)}};var F3b=function(a){this.internalArray_=m(a)};T(F3b,p);F3b.prototype.getMembership=function(){return ck(this,vD,1,G3b)};var G3b=[1];F3b.prototype.toObject=function(){return H3b(this)};var H3b=function(a){if(null!=a)return r(a),{membership:E3b(a.getMembership())}};var I3b=function(a){this.internalArray_=m(a)};T(I3b,p);I3b.prototype.getState=function(){return Zi(this,1,0)};I3b.prototype.toObject=function(){return J3b(this)};var J3b=function(a){if(null!=a)return r(a),{state:Zi(a,1,0),updaterId:qj(a,2),updaterName:U(a,3),updaterEmail:U(a,4),updateTimeMs:qj(a,5),updateReason:U(a,6)}};var wD=function(a){this.internalArray_=m(a)};T(wD,p);wD.prototype.getOriginal=function(){return X(this,F3b,2)};wD.prototype.getState=function(){return Zi(this,6,0)};wD.repeatedFields_=[7];wD.prototype.toObject=function(){return K3b(this)};var K3b=function(a){if(null!=a)return r(a),{upsert:H3b(X(a,F3b,1)),original:H3b(a.getOriginal()),changeType:Zi(a,3,0),createTimeMs:qj(a,4),state:Zi(a,6,0),proposalUpdatesList:Ub(kj(a,I3b,7),J3b)}};var L3b=function(a){this.internalArray_=m(a)};T(L3b,p);L3b.prototype.getResourceCase=function(){return Mi(this,M3b)};L3b.prototype.getMembership=function(){return ck(this,vD,2,M3b)};var M3b=[1,2];L3b.prototype.toObject=function(){return N3b(this)};var N3b=function(a){if(null!=a)return r(a),{proposal:K3b(ck(a,wD,1,M3b)),membership:E3b(a.getMembership())}};var O3b=function(a){this.internalArray_=m(a)};T(O3b,p);f=O3b.prototype;f.getCommentId=function(){return U(this,1)};f.getMessage=function(){return U(this,2)};f.setMessage=function(a){wj(this,2,a)};f.getAuthorEmail=function(){return U(this,3)};f.toObject=function(){return P3b(this)};var P3b=function(a){if(null!=a)return r(a),{commentId:U(a,1),message:U(a,2),authorEmail:U(a,3),updatedTimeMs:qj(a,4),unresolved:Tj(a,5),inReplyTo:U(a,6)}};var Q3b=function(a){this.internalArray_=m(a)};T(Q3b,p);Q3b.prototype.getValue=function(){return Rh(this,1)};Q3b.prototype.setValue=function(a){return Ib(this,1,a)};Q3b.prototype.toObject=function(){return R3b(this)};var R3b=function(a){if(null!=a)return r(a),{value:Rh(a,1),voterEmail:U(a,2)}};var S3b=function(a){this.internalArray_=m(a)};T(S3b,p);S3b.repeatedFields_=[2];S3b.prototype.toObject=function(){return T3b(this)};var T3b=function(a){if(null!=a)return r(a),{labelName:U(a,1),votesList:Ub(kj(a,Q3b,2),R3b),minVoteValue:Rh(a,3),maxVoteValue:Rh(a,4)}};var U3b=function(a){this.internalArray_=m(a)};T(U3b,p);f=U3b.prototype;f.getDescription=function(){return U(this,1)};f.setDescription=function(a){return wj(this,1,a)};f.getCategory=function(){return Zi(this,15,0)};f.getReviewerEmailsList=function(){return Th(this,6)};f.getNeedsAttention=function(){return Tj(this,18)};f.setHost=function(a){return wj(this,8,a)};f.getProject=function(){return U(this,9)};f.setProject=function(a){wj(this,9,a)};f.getChangeSize=function(){return Zi(this,11,0)};
f.getIsStarred=function(){return Tj(this,13)};f.getCommentsList=function(){return kj(this,O3b,14)};U3b.repeatedFields_=[3,6,7,17,12,14];U3b.prototype.toObject=function(){return V3b(this)};
var V3b=function(a){if(null!=a)return r(a),{description:U(a,1),category:Zi(a,15,0),ownerEmail:U(a,2),statusesList:n(cl(a,3)),submittable:Tj(a,4),assigneeEmail:U(a,5),reviewerEmailsList:n(Th(a,6)),ccEmailsList:n(Th(a,7)),attentionSetEmailsList:n(Th(a,17)),needsAttention:Tj(a,18),host:U(a,8),project:U(a,9),branch:U(a,10),changeSize:Zi(a,11,0),labelApprovalStatesList:Ub(kj(a,S3b,12),T3b),isStarred:Tj(a,13),commentsList:Ub(a.getCommentsList(),P3b),hostRepoBranchLink:U(a,16)}};var W3b=function(a){this.internalArray_=m(a)};T(W3b,p);W3b.prototype.getDescription=function(){return U(this,3)};W3b.prototype.setDescription=function(a){return wj(this,3,a)};W3b.prototype.toObject=function(){return X3b(this)};var X3b=function(a){if(null!=a)return r(a),{eventLogTimestamp:Lt(X(a,Nh,1)),updaterEmail:U(a,2),description:U(a,3)}};var Y3b=function(a){this.internalArray_=m(a)};T(Y3b,p);Y3b.prototype.getEntriesList=function(){return kj(this,W3b,1)};Y3b.repeatedFields_=[1];Y3b.prototype.toObject=function(){return Z3b(this)};var Z3b=function(a){if(null!=a)return r(a),{entriesList:Ub(a.getEntriesList(),X3b)}};var $3b=function(a){this.internalArray_=m(a)};T($3b,p);f=$3b.prototype;f.getDescription=function(){return U(this,1)};f.setDescription=function(a){return wj(this,1,a)};f.getStatus=function(){return Zi(this,2,0)};f.setStatus=function(a){return Yi(this,2,a)};f.getPriority=function(){return Zi(this,3,0)};f.setPriority=function(a){return Yi(this,3,a)};f.getAssignedToMe=function(){return Tj(this,10)};f.getDueDate=function(){return X(this,Lh,13)};$3b.repeatedFields_=[6];$3b.prototype.toObject=function(){return a4b(this)};
var a4b=function(a){if(null!=a)return r(a),{description:U(a,1),status:Zi(a,2,0),priority:Zi(a,3,0),assigneeEmail:U(a,4),requesterEmail:U(a,5),ccEmailsList:n(Th(a,6)),ticketType:U(a,7),worklog:Z3b(X(a,Y3b,8)),requestedByMe:Tj(a,9),assignedToMe:Tj(a,10),myApprovalNeeded:Tj(a,11),ccIncludesMe:Tj(a,12),dueDate:nD(a.getDueDate())}};var b4b=function(a){this.internalArray_=m(a)};T(b4b,p);f=b4b.prototype;f.getStatus=function(){return Zi(this,3,0)};f.setStatus=function(a){return Yi(this,3,a)};f.getPriority=function(){return Zi(this,4,0)};f.setPriority=function(a){return Yi(this,4,a)};f.getCreatorEmail=function(){return U(this,6)};f.getDescription=function(){return U(this,10)};f.setDescription=function(a){return wj(this,10,a)};b4b.repeatedFields_=[7,8,11];b4b.prototype.toObject=function(){return c4b(this)};
var c4b=function(a){if(null!=a)return r(a),{productName:U(a,1),productLink:U(a,2),status:Zi(a,3,0),priority:Zi(a,4,0),resolveDeadline:Lt(X(a,Nh,5)),creatorEmail:U(a,6),productEmailsList:n(Th(a,7)),privacyEmailsList:n(Th(a,8)),autoCreated:Tj(a,9),description:U(a,10),descriptionUsesMarkdown:Tj(a,13),participantEmailsList:n(Th(a,11)),bugId:qj(a,12)}};var xD=function(a){this.internalArray_=m(a)};T(xD,p);xD.prototype.getResourceCase=function(){return Mi(this,d4b)};xD.prototype.getNeedsAttention=function(){return Tj(this,5)};xD.repeatedFields_=[2];var d4b=[101];xD.prototype.toObject=function(){return e4b(this)};var e4b=function(a){if(null!=a)return r(a),{ownerEmail:U(a,1),attentionSetList:n(Th(a,2)),taskStatus:Zi(a,3,0),referenceName:U(a,4),needsAttention:Tj(a,5),trackable:c4b(ck(a,b4b,101,d4b))}};var yD=function(a){this.internalArray_=m(a)};T(yD,p);f=yD.prototype;f.getResourceCase=function(){return Mi(this,gn)};f.getResourceId=function(){return U(this,17)};f.setResourceId=function(a){wj(this,17,a)};f.getTitle=function(){return U(this,2)};f.setTitle=function(a){return wj(this,2,a)};f.getLastModifiedTimestamp=function(){return qj(this,3)};f.getIconName=function(){return U(this,10)};f.getExternalLink=function(){return U(this,16)};f.getIsDeleted=function(){return Tj(this,19)};
f.setIsDeleted=function(a){Gb(this,19,a)};var kn=function(a){return ck(a,jn,5,gn)},rp=function(a){return ck(a,m3b,6,gn)},hn=function(a){return ck(a,fn,8,gn)},mn=function(a){return ck(a,ln,9,gn)},gn=[5,6,7,8,9,18,22,23,24];yD.prototype.toObject=function(){return f4b(this)};
var f4b=function(a){if(null!=a)return r(a),{resourceId:U(a,17),taskSource:U(a,1),title:U(a,2),lastModifiedTimestamp:qj(a,3),fingerprint:U(a,4),iconName:U(a,10),itemTypeName:U(a,11),statusDescription:U(a,12),latestAction:U(a,13),latestActionTimestamp:qj(a,14),latestActionByUserEmail:U(a,20),hasDetails:Tj(a,15),externalLink:U(a,16),isDeleted:Tj(a,19),driveResource:w3b(kn(a)),buganizerResource:n3b(rp(a)),gtasksResource:D3b(ck(a,B3b,7,gn)),critiqueResource:s3b(hn(a)),arianeResource:f3b(mn(a)),gerritResource:V3b(ck(a,
U3b,18,gn)),ganpatiResource:N3b(ck(a,L3b,22,gn)),gutsResource:a4b(ck(a,$3b,23,gn)),privacyResource:e4b(ck(a,xD,24,gn))}};var g4b=function(a){this.internalArray_=m(a)};T(g4b,p);f=g4b.prototype;f.getName=function(){return U(this,1)};f.setName=function(a){return wj(this,1,a)};f.getContent=function(){return U(this,2)};f.setContent=function(a){return wj(this,2,a)};f.toObject=function(){return h4b(this)};var h4b=function(a){if(null!=a)return r(a),{name:U(a,1),content:U(a,2)}};var dn=function(a){this.internalArray_=m(a)};T(dn,p);f=dn.prototype;f.getResource=function(){return X(this,yD,6)};f.setResource=function(a){return hj(this,yD,6,a)};f.getNote=function(){return X(this,g4b,22)};f.hasNote=function(){return Nj(this,g4b,22)};f.getCreatedTimestamp=function(){return qj(this,7)};f.getUpdatedTimestamp=function(){return qj(this,8)};f.toObject=function(){return i4b(this)};
var i4b=function(a){if(null!=a)return r(a),{taskId:U(a,1),gaiaId:qj(a,2),taskStatus:Zi(a,3,0),naturallyCompleted:Tj(a,4),hasNoActionItems:Tj(a,24),naturallyCompletedDescription:U(a,11),priorityOrder:rj(a,5),priorityOrderReservedUpper:rj(a,9),priorityOrderResetTimestampMs:qj(a,16),currentStatusSince:qj(a,10),currentStatusAutoUpdated:Tj(a,17),resource:f4b(a.getResource()),snoozeUntilMs:qj(a,12),autoUnsnoozeOnUpdate:Tj(a,18),prevStatusState:L2b(X(a,K2b,13)),note:h4b(a.getNote()),readTimestampMs:qj(a,
15),createdTimestamp:qj(a,7),updatedTimestamp:qj(a,8),manuallyAdded:Tj(a,19),hasNote:Tj(a,20),dueInfo:J2b(X(a,H2b,23)),taskStatusRequiresAck:Tj(a,25),taskStatusRequiresAckReason:U(a,26)}};var j4b=function(a){this.internalArray_=m(a)};T(j4b,p);j4b.prototype.toObject=function(){return k4b(this)};var k4b=function(a){if(null!=a)return r(a),{autoArchiveInactive:Zi(a,1,0),launchDateAsDueDate:Zi(a,2,0)}};var l4b=function(a){this.internalArray_=m(a)};T(l4b,p);l4b.prototype.toObject=function(){return m4b(this)};var m4b=function(a){if(null!=a)return r(a),{autoArchiveClosed:Zi(a,1,0),sloAsDueDate:Zi(a,2,0)}};var n4b=function(a){this.internalArray_=m(a)};T(n4b,p);n4b.prototype.toObject=function(){return o4b(this)};var o4b=function(a){if(null!=a)return r(a),{autoArchiveSubmitted:Zi(a,1,0),dueAfterReceivingDays:qj(a,2),dueDateEnabled:Zi(a,3,0)}};var p4b=function(a){this.internalArray_=m(a)};T(p4b,p);p4b.prototype.toObject=function(){return q4b(this)};var q4b=function(a){if(null!=a)return r(a),{invitationUserAction:Zi(a,2,0),autoArchiveSelfOwnedAllResolved:Zi(a,3,0),autoArchiveOthersOwnedAllResolved:Zi(a,4,0),dueAfterMentionReceivingDays:qj(a,5),dueAfterAssignmentReceivingDays:qj(a,6),mentionDueDateEnabled:Zi(a,7,0),assignmentDueDateEnabled:Zi(a,8,0),dueAfterReceivingDays:qj(a,9),dueDateEnabled:Zi(a,10,0)}};var r4b=function(a){this.internalArray_=m(a)};T(r4b,p);r4b.prototype.toObject=function(){return s4b(this)};var s4b=function(a){if(null!=a)return r(a),{invitationUserAction:Zi(a,1,0),unsnoozedTasks:Zi(a,2,0)}};var t4b=function(a){this.internalArray_=m(a)};T(t4b,p);t4b.repeatedFields_=[4];t4b.prototype.toObject=function(){return u4b(this)};var u4b=function(a){if(null!=a)return r(a),{invitationUserAction:Zi(a,1,0),autoArchiveCompleted:Zi(a,2,0),completeOnArchiveOrMute:Zi(a,3,0),gtaskTaskListIdsList:n(Th(a,4))}};var v4b=function(a){this.internalArray_=m(a)};T(v4b,p);v4b.prototype.toObject=function(){return w4b(this)};var w4b=function(a){if(null!=a)return r(a),{expirationAsDue:Zi(a,4,0),autoArchiveResolved:Zi(a,3,0)}};var x4b=function(a){this.internalArray_=m(a)};T(x4b,p);x4b.repeatedFields_=[1];x4b.prototype.toObject=function(){return y4b(this)};var y4b=function(a){if(null!=a)return r(a),{gerritHostsList:n(Th(a,1)),autoArchiveSubmitted:Zi(a,2,0),invitationUserAction:Zi(a,3,0),dueAfterReceivingDays:qj(a,4),dueDateEnabled:Zi(a,5,0)}};var z4b=function(a){this.internalArray_=m(a)};T(z4b,p);z4b.prototype.toObject=function(){return A4b(this)};var A4b=function(a){if(null!=a)return r(a),{invitationUserAction:Zi(a,1,0),autoArchiveClosed:Zi(a,2,0),dueDateEnabled:Zi(a,3,0)}};var B4b=function(a){this.internalArray_=m(a)};T(B4b,p);B4b.prototype.toObject=function(){return C4b(this)};var C4b=function(a){if(null!=a)return r(a),{orderingOption:Zi(a,1,0),pinOverdueTasks:Zi(a,2,0),pinTasksDueInFiveDays:Zi(a,3,0)}};var D4b=function(a){this.internalArray_=m(a)};T(D4b,p);D4b.prototype.toObject=function(){return E4b(this)};var E4b=function(a){if(null!=a)return r(a),{autoArchiveClosed:Zi(a,1,0),trackableDueDateEnabled:Zi(a,2,0)}};var F4b=function(a){this.internalArray_=m(a)};T(F4b,p);F4b.prototype.toObject=function(){return G4b(this)};var G4b=function(a){if(null!=a)return r(a),{filterEnabled:Tj(a,1),arianeLaunches:Zi(a,2,0),arianeReviews:Zi(a,3,0)}};var H4b=function(a){this.internalArray_=m(a)};T(H4b,p);H4b.prototype.getAssignedToMe=function(){return Tj(this,2)};H4b.prototype.toObject=function(){return I4b(this)};var I4b=function(a){if(null!=a)return r(a),{filterEnabled:Tj(a,1),assignedToMe:Tj(a,2),reportedByMe:Tj(a,3),ccIncludesMe:Tj(a,6),bugjugglerInCcList:Zi(a,4,0),other:Zi(a,5,0)}};var J4b=function(a){this.internalArray_=m(a)};T(J4b,p);J4b.prototype.toObject=function(){return K4b(this)};var K4b=function(a){if(null!=a)return r(a),{filterEnabled:Tj(a,1),outgoingReviews:Tj(a,2),incomingReviews:Tj(a,3),ccedReviews:Tj(a,4),inAttentionSet:Zi(a,5,0),inPending:Zi(a,7,0),other:Zi(a,6,0)}};var L4b=function(a){this.internalArray_=m(a)};T(L4b,p);L4b.prototype.getSharedToMe=function(){return Zi(this,12,0)};L4b.prototype.toObject=function(){return M4b(this)};
var M4b=function(a){if(null!=a)return r(a),{filterEnabled:Tj(a,1),includeDocs:Tj(a,2),includeSlides:Tj(a,3),includeSheets:Tj(a,4),includeOtherTypes:Tj(a,5),commentsWithMentions:Tj(a,6),commentsWithAssignments:Tj(a,7),commentsWithSuggestions:Tj(a,8),filterBySharingAge:Tj(a,9),maxSharingAgeInDays:Rh(a,10),openComments:Tj(a,11),sharedToMe:Zi(a,12,0),sharedToMyGroups:Zi(a,13,0),sharedToMyTeamDrive:Zi(a,14,0),other:Zi(a,15,0),incomingDesignReview:Zi(a,16,0),outgoingDesignReview:Zi(a,17,0)}};var N4b=function(a){this.internalArray_=m(a)};T(N4b,p);N4b.prototype.toObject=function(){return O4b(this)};var O4b=function(a){if(null!=a)return r(a),{filterEnabled:Tj(a,1)}};var P4b=function(a){this.internalArray_=m(a)};T(P4b,p);P4b.prototype.toObject=function(){return Q4b(this)};var Q4b=function(a){if(null!=a)return r(a),{filterEnabled:Zi(a,1,0)}};var R4b=function(a){this.internalArray_=m(a)};T(R4b,p);R4b.prototype.toObject=function(){return S4b(this)};var S4b=function(a){if(null!=a)return r(a),{filterEnabled:Tj(a,1),outgoingReviews:Zi(a,2,0),incomingReviews:Zi(a,3,0),ccedReviews:Zi(a,4,0),inAttentionSet:Zi(a,5,0),other:Zi(a,6,0)}};var T4b=function(a){this.internalArray_=m(a)};T(T4b,p);T4b.prototype.toObject=function(){return U4b(this)};var U4b=function(a){if(null!=a)return r(a),{filterEnabled:Zi(a,1,0)}};var V4b=function(a){this.internalArray_=m(a)};T(V4b,p);V4b.prototype.toObject=function(){return W4b(this)};var W4b=function(a){if(null!=a)return r(a),{filterEnabled:Zi(a,1,0),inAttentionSet:Zi(a,2,0),other:Zi(a,3,0)}};var zD=function(a){this.internalArray_=m(a)};T(zD,p);zD.prototype.toObject=function(){return AD(this)};var AD=function(a){if(null!=a)return r(a),{critiqueFilter:K4b(X(a,J4b,1)),driveFilter:M4b(X(a,L4b,2)),buganizerFilter:I4b(X(a,H4b,3)),arianeFilter:G4b(X(a,F4b,4)),gtasksFilter:O4b(X(a,N4b,5)),gerritFilter:S4b(X(a,R4b,7)),ganpatiFilter:Q4b(X(a,P4b,8)),gutsFilter:U4b(X(a,T4b,10)),privacyFilter:W4b(X(a,V4b,11)),taskAgeInDays:Rh(a,6),showPrivateNoteOnly:Zi(a,9,0)}};var X4b=function(a){this.internalArray_=m(a)};T(X4b,p);X4b.prototype.toObject=function(){return Y4b(this)};
var Y4b=function(a){if(null!=a){r(a);var b=U(a,1),c=k4b(X(a,j4b,15)),d=m4b(X(a,l4b,16)),e=o4b(X(a,n4b,17)),g=q4b(X(a,p4b,3)),h=w4b(X(a,v4b,27)),l=y4b(X(a,x4b,23)),q=u4b(X(a,t4b,4)),v=A4b(X(a,z4b,29)),x=E4b(X(a,D4b,32)),A=Tj(a,5),G=Tj(a,6),M=Tj(a,7),Q=Tj(a,8),Y=Tj(a,24),W=Zi(a,28,0),ia=Tj(a,22),ja=Tj(a,9),Aa=Tj(a,30),Da=Zi(a,31,0),Oa=AD(X(a,zD,10)),Ta=AD(X(a,zD,11)),Wa=AD(X(a,zD,12)),Nb=AD(X(a,zD,13)),Eb=AD(X(a,zD,14)),cb=U(a,19),sa=qj(a,20),Ka=qj(a,21);var Qa=fk(a,25,B4b);return{mostRecentWorkspaceId:b,
arianeTaskPrefs:c,buganizerTaskPrefs:d,critiqueTaskPrefs:e,driveTaskPrefs:g,ganpatiTaskPrefs:h,gerritTaskPrefs:l,gtasksTaskPrefs:q,gutsTaskPrefs:v,privacyTaskPrefs:x,arianeEnabled:A,buganizerEnabled:G,critiqueEnabled:M,driveEnabled:Q,ganpatiEnabledDeprecated:Y,ganpatiEnabled:W,gerritEnabled:ia,gtasksEnabled:ja,gutsEnabled:Aa,privacyEnabled:Da,pinnedTaskFilter:Oa,inboxFilter:Ta,snoozedTaskFilter:Wa,completedTaskFilter:Nb,dismissedTaskFilter:Eb,viewedLaunchVersion:cb,hiringChipDismissedTimestampMs:sa,
latestVisitTimestampMs:Ka,taskOrderingPrefsMap:Wb(Qa,C4b),g3NotificationsPrefs:s4b(X(a,r4b,26))}}};var BD=function(a){this.internalArray_=m(a)};T(BD,p);BD.prototype.getCreatedTimestamp=function(){return qj(this,3)};BD.prototype.getUpdatedTimestamp=function(){return qj(this,4)};var Z4b=[2];BD.prototype.toObject=function(){return $4b(this)};var $4b=function(a){if(null!=a)return r(a),{prefsId:U(a,1),taskManagementPrefs:Y4b(ck(a,X4b,2,Z4b)),initialized:Tj(a,5),createdTimestamp:qj(a,3),updatedTimestamp:qj(a,4)}};var ij=function(a){this.internalArray_=m(a)};T(ij,p);f=ij.prototype;f.getId=function(){return U(this,1)};f.setId=function(a){return wj(this,1,a)};f.getVersion=function(){return U(this,2)};f.setVersion=function(a){return wj(this,2,a)};f.toObject=function(){return a5b(this)};var a5b=function(a){if(null!=a)return r(a),{id:U(a,1),version:U(a,2)}};var CD=function(a){this.internalArray_=m(a)};T(CD,p);CD.prototype.getName=function(){return U(this,1)};CD.prototype.setName=function(a){return wj(this,1,a)};CD.prototype.toObject=function(){if(null!=this){r(this);var a={name:U(this,1)}}else a=void 0;return a};var DD=function(a,b,c){var d=this;this.userPrefsApiPromiseClient=a;this.config=c;this.sessionIndex="0";(0,D.defer)(function(){var e=(new CD).setName("keys/2");return(0,D.from)(d.userPrefsApiPromiseClient.getUserPrefs(e,d.getHeaders()))}).pipe(C(function(e){return(e=ck(e.getUserPrefs()||new BD,X4b,2,Z4b))?12096E5>=Date.now()-qj(e,21):!1}),Xe(1))};
DD.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:Oo([])||"","X-Goog-AuthUser":this.sessionIndex}};DD.\u0275fac=function(a){return new (a||DD)(t(F2b),t(E2b),t(G2b,8))};DD.\u0275prov=yc({token:DD,factory:DD.\u0275fac,providedIn:"root"});var ED=function(){};ED.\u0275fac=function(a){return new (a||ED)};ED.\u0275mod=Qc({type:ED});ED.\u0275inj=zc({imports:[uA,hA,hA]});var FD=function(){};FD.\u0275fac=function(a){return new (a||FD)};FD.\u0275mod=Qc({type:FD});FD.\u0275inj=zc({imports:[nz,IB,ex,MB,ED,mD,gA,JB]});var b5b=function(a){this.internalArray_=m(a)};T(b5b,p);b5b.prototype.toObject=function(){if(null!=this){r(this);var a={}}else a=void 0;return a};var c5b=function(a,b,c){this.requestMessage_=a;this.methodDescriptor_=b;this.metadata_=c};c5b.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};c5b.prototype.getMetadata=function(){return this.metadata_};var d5b=function(a,b,c){c=void 0===c?{}:c;this.responseMessage_=a;this.metadata_=c;this.methodDescriptor_=b;this.status_=null};d5b.prototype.getMetadata=function(){return this.metadata_};d5b.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};d5b.prototype.getStatus=function(){return this.status_};var GD=function(a,b,c,d,e){this.name=a;this.requestType=b;this.responseType=c;this.requestSerializeFn=d;this.responseDeserializeFn=e},e5b=function(a,b,c){c=void 0===c?{}:c;return new c5b(b,a,c)};GD.prototype.getName=function(){return this.name};GD.prototype.getName=GD.prototype.getName;var f5b=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}},g5b=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 HD=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};T(HD,Error);HD.prototype.toString=function(){var a="RpcError("+(g5b(this.code)||String(this.code))+")";this.message&&(a+=": "+this.message);return a};HD.prototype.name="RpcError";var h5b=Promise;var ID=function(a){this.internalArray_=m(a)};T(ID,p);ID.prototype.getCode=function(){return Rh(this,1)};ID.prototype.setCode=function(a){return Ib(this,1,a)};ID.prototype.getMessage=function(){return U(this,2)};ID.prototype.setMessage=function(a){wj(this,2,a)};var i5b=Zb(ID);ID.repeatedFields_=[3];ID.prototype.toObject=function(){return j5b(this)};var j5b=function(a){if(null!=a)return r(a),{code:Rh(a,1),message:U(a,2),detailsList:Ub(kj(a,oD,3),a3b)}};var JD=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_&&k5b(this)},q5b=function(a,b){So(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("Ib");c=atob(c)}try{var d=
a.grpcResponseDeserializeFn_(c)}catch(g){l5b(a,new HD(13,"Error when deserializing response data; error: "+g+(", response: "+c)));return}c=f5b(a.xhr_.getStatus());m5b(a,n5b(a));0==c?o5b(a,d):l5b(a,new HD(c,"Xhr succeeded but the status code is not 200"))}else{d=a.xhr_.getResponseText();var e={};d?(e=p5b(a,d),d=e.code,c=e.details,e=e.metadata):(d=2,c="Rpc failed due to xhr error. error code: "+a.xhr_.getLastErrorCode()+", error: "+a.xhr_.getLastError());m5b(a,n5b(a));l5b(a,new HD(d,c,e))}})},k5b=function(a){a.xhrNodeReadableStream_.on("data",
function(b){if("1"in b){var c=b["1"];try{var d=a.grpcResponseDeserializeFn_(c)}catch(e){l5b(a,new HD(13,"Error when deserializing response data; error: "+e+(", response: "+c)))}d&&o5b(a,d)}if("2"in b)for(b=p5b(a,b["2"]),c=0;c<a.onStatusCallbacks_.length;c++)a.onStatusCallbacks_[c](b)});a.xhrNodeReadableStream_.on("end",function(){m5b(a,n5b(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=f5b(c);break;default:d=14}m5b(a,n5b(a));b=X_b(b)+", error: "+a.xhr_.getLastError();-1!=c&&(b+=", http status code: "+c);l5b(a,new HD(d,b))}})},n5b=function(a){var b={},c=a.xhr_.getResponseHeaders();Object.keys(c).forEach(function(d){b[d]=c[d]});return b},p5b=function(a,b){var c=2,d={};try{var e=i5b(b);c=e.getCode();var g=e.getMessage();
kj(e,oD,3).length&&(d["grpc-web-status-details-bin"]=b)}catch(h){a.xhr_&&404===a.xhr_.getStatus()?(c=5,g="Not Found: "+a.xhr_.getLastUri()):(c=14,g="Unable to parse RpcStatus: "+h)}return{code:c,details:g,metadata:d}};JD.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 r5b=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)};JD.prototype.removeListener=function(a,b){"data"==a?r5b(this.onDataCallbacks_,b):"metadata"==a?r5b(this.onMetadataCallbacks_,b):"status"==a?r5b(this.onStatusCallbacks_,b):"end"==a?r5b(this.onEndCallbacks_,b):"error"==a&&r5b(this.onErrorCallbacks_,b);return this};JD.prototype.cancel=function(){this.xhr_.abort()};
var o5b=function(a,b){for(var c=0;c<a.onDataCallbacks_.length;c++)a.onDataCallbacks_[c](b)},m5b=function(a,b){for(var c=0;c<a.onMetadataCallbacks_.length;c++)a.onMetadataCallbacks_[c](b)},l5b=function(a,b){for(var c=0;c<a.onErrorCallbacks_.length;c++)a.onErrorCallbacks_[c](b)};JD.prototype.cancel=JD.prototype.cancel;JD.prototype.removeListener=JD.prototype.removeListener;JD.prototype.on=JD.prototype.on;var KD=function(a){this.worker_=a.worker||null;this.streamBinaryChunks_=a.streamBinaryChunks||!1;this.cacheMode_=this.credentialsMode_=void 0};Ns(KD,Y_b);KD.prototype.createInstance=function(){var a=new LD(this.worker_,this.streamBinaryChunks_);this.credentialsMode_&&a.setCredentialsMode(this.credentialsMode_);this.cacheMode_&&a.setCacheMode(this.cacheMode_);return a};KD.prototype.internalGetOptions=ev({});KD.prototype.setCredentialsMode=function(a){this.credentialsMode_=a};
KD.prototype.setCacheMode=function(a){this.cacheMode_=a};var LD=function(a,b){Ro.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};
Ns(LD,Ro);LD.prototype.open=function(a,b){if(0!=this.readyState)throw this.abort(),Error("Jb");this.method_=a;this.url_=b;this.readyState=1;s5b(this)};LD.prototype.send=function(a){if(1!=this.readyState)throw this.abort(),Error("Kb");this.inProgress_=!0;var b={headers:this.requestHeaders_,method:this.method_,credentials:this.credentialsMode_,cache:this.cacheMode_};a&&(b.body=a);(this.worker_||ba).fetch(new Request(this.url_,b)).then(this.handleResponse_.bind(this),this.handleSendFailure_.bind(this))};
LD.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,t5b(this));this.readyState=0};
LD.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,s5b(this)),this.inProgress_&&(this.readyState=3,s5b(this),this.inProgress_)))if("arraybuffer"===this.responseType)a.arrayBuffer().then(this.handleResponseArrayBuffer_.bind(this),this.handleSendFailure_.bind(this));else if("undefined"!==typeof ba.ReadableStream&&
"body"in a){this.currentReader_=a.body.getReader();if(this.streamBinaryChunks_){if(this.responseType)throw Error("Lb");this.response=[]}else this.response=this.responseText="",this.textDecoder_=new TextDecoder;u5b(this)}else a.text().then(this.handleResponseText_.bind(this),this.handleSendFailure_.bind(this))};var u5b=function(a){a.currentReader_.read().then(a.handleDataFromStream_.bind(a)).catch(a.handleSendFailure_.bind(a))};
LD.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?t5b(this):s5b(this);3==this.readyState&&u5b(this)}};LD.prototype.handleResponseText_=function(a){this.inProgress_&&(this.response=this.responseText=a,t5b(this))};
LD.prototype.handleResponseArrayBuffer_=function(a){this.inProgress_&&(this.response=a,t5b(this))};LD.prototype.handleSendFailure_=function(){this.inProgress_&&t5b(this)};var t5b=function(a){a.readyState=4;a.fetchResponse_=null;a.currentReader_=null;a.textDecoder_=null;s5b(a)};f=LD.prototype;f.setRequestHeader=function(a,b){this.requestHeaders_.append(a,b)};f.getResponseHeader=function(a){return this.responseHeaders_?this.responseHeaders_.get(a.toLowerCase())||"":""};
f.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")};f.setCredentialsMode=function(a){this.credentialsMode_=a};f.setCacheMode=function(a){this.cacheMode_=a};var s5b=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};
Object.defineProperty(LD.prototype,"withCredentials",{get:function(){return"include"===this.credentialsMode_},set:function(a){this.setCredentialsMode(a?"include":"same-origin")}});var v5b=function(a){if(a.getCount&&"function"==typeof a.getCount)a=a.getCount();else if(va(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(va(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Nca(a)},w5b=
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(va(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}}},x5b=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(va(a)||"string"===typeof a)Array.prototype.forEach.call(a,
b,c);else for(var d=w5b(a),e=MD(a),g=e.length,h=0;h<g;h++)b.call(c,e[h],d&&d[h],a)},y5b=function(a,b,c){if("function"==typeof a.every)return a.every(b,c);if(va(a)||"string"===typeof a)return Array.prototype.every.call(a,b,c);for(var d=w5b(a),e=MD(a),g=e.length,h=0;h<g;h++)if(!b.call(c,e[h],d&&d[h],a))return!1;return!0};var Wo=function(a,b){this.domain_=this.userInfo_=this.scheme_="";this.port_=null;this.fragment_=this.path_="";this.ignoreCase_=!1;var c;a instanceof Wo?(this.ignoreCase_=void 0!==b?b:a.ignoreCase_,ND(this,a.scheme_),this.setUserInfo(a.getUserInfo()),this.setDomain(a.getDomain()),OD(this,a.port_),this.setPath(a.getPath()),z5b(this,a.queryData_.clone()),A5b(this,a.fragment_)):a&&(c=String(a).match(b0b))?(this.ignoreCase_=!!b,ND(this,c[1]||"",!0),this.setUserInfo(c[2]||"",!0),this.setDomain(c[3]||"",
!0),OD(this,c[4]),this.setPath(c[5]||"",!0),z5b(this,c[6]||"",!0),A5b(this,c[7]||"",!0)):(this.ignoreCase_=!!b,this.queryData_=new PD(null,this.ignoreCase_))};
Wo.prototype.toString=function(){var a=[],b=this.scheme_;b&&a.push(B5b(b,C5b,!0),":");var c=this.getDomain();if(c||"file"==b)a.push("//"),(b=this.getUserInfo())&&a.push(B5b(b,C5b,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.port_,null!=c&&a.push(":",String(c));if(c=this.getPath())this.hasDomain()&&"/"!=c.charAt(0)&&a.push("/"),a.push(B5b(c,"/"==c.charAt(0)?D5b:E5b,!0));(c=this.queryData_.toString())&&a.push("?",c);(c=this.fragment_)&&a.push("#",B5b(c,
F5b));return a.join("")};
Wo.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.hasDomain();c?b.setDomain(a.getDomain()):c=null!=a.port_;var d=a.getPath();if(c)OD(b,a.port_);else if(c=a.hasPath()){if("/"!=d.charAt(0))if(this.hasDomain()&&!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(fa(e,"./")||fa(e,"/.")){d=di(e,"/");e=e.split("/");for(var g=[],h=
0;h<e.length;){var l=e[h++];"."==l?d&&h==e.length&&g.push(""):".."==l?((1<g.length||1==g.length&&""!=g[0])&&g.pop(),d&&h==e.length&&g.push("")):(g.push(l),d=!0)}d=g.join("/")}else d=e}c?b.setPath(d):c=a.hasQuery();c?z5b(b,a.queryData_.clone()):c=!!a.fragment_;c&&A5b(b,a.fragment_);return b};Wo.prototype.clone=function(){return new Wo(this)};var ND=function(a,b,c){a.scheme_=c?QD(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a};f=Wo.prototype;f.getUserInfo=function(){return this.userInfo_};
f.setUserInfo=function(a,b){this.userInfo_=b?QD(a):a;return this};f.hasUserInfo=function(){return!!this.userInfo_};f.getDomain=function(){return this.domain_};f.setDomain=function(a,b){this.domain_=b?QD(a,!0):a;return this};f.hasDomain=function(){return!!this.domain_};var OD=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Mb`"+b);a.port_=b}else a.port_=null;return a};Wo.prototype.getPath=function(){return this.path_};Wo.prototype.setPath=function(a,b){this.path_=b?QD(a,!0):a;return this};
Wo.prototype.hasPath=function(){return!!this.path_};Wo.prototype.hasQuery=function(){return""!==this.queryData_.toString()};var z5b=function(a,b,c){b instanceof PD?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=B5b(b,G5b)),a.queryData_=new PD(b,a.ignoreCase_));return a};Wo.prototype.setQuery=function(a){return z5b(this,a)};Wo.prototype.getQuery=function(){return this.queryData_.toString()};
var RD=function(a,b,c){a.queryData_.set(b,c);return a},SD=function(a,b){return a.queryData_.get(b)},A5b=function(a,b,c){a.fragment_=c?QD(b):b;return a},H5b=function(a){RD(a,"zx",mv());return a};Wo.prototype.removeParameter=function(a){this.queryData_.remove(a);return this};Wo.prototype.isReadOnly=function(){return!1};Wo.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)};
var TD=function(a,b){return a instanceof Wo?a.clone():new Wo(a,b)},I5b=function(a,b,c,d,e){var g=new Wo(null);a&&ND(g,a);b&&g.setUserInfo(b);c&&g.setDomain(c);d&&OD(g,d);e&&g.setPath(e);return g},QD=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},B5b=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,J5b),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},J5b=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},
C5b=/[#\/\?@]/g,E5b=/[#\?:]/g,D5b=/[#\?]/g,G5b=/[#\?@]/g,F5b=/#/g,PD=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},UD=function(a){a.keyMap_||(a.keyMap_=new Map,a.count_=0,a.encodedQuery_&&c0b(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};f=PD.prototype;f.getCount=function(){UD(this);return this.count_};
f.add=function(a,b){UD(this);this.encodedQuery_=null;a=VD(this,a);var c=this.keyMap_.get(a);c||this.keyMap_.set(a,c=[]);c.push(b);this.count_+=1;return this};f.remove=function(a){UD(this);a=VD(this,a);return this.keyMap_.has(a)?(this.encodedQuery_=null,this.count_-=this.keyMap_.get(a).length,this.keyMap_.delete(a)):!1};f.clear=function(){this.keyMap_=this.encodedQuery_=null;this.count_=0};f.isEmpty=function(){UD(this);return 0==this.count_};f.containsKey=function(a){UD(this);a=VD(this,a);return this.keyMap_.has(a)};
f.containsValue=function(a){var b=this.getValues();return qa(b,a)};f.forEach=function(a,b){UD(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};f.getKeys=function(){UD(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],g=0;g<e.length;g++)c.push(b[d]);return c};
f.getValues=function(a){UD(this);var b=[];if("string"===typeof a)this.containsKey(a)&&(b=b.concat(this.keyMap_.get(VD(this,a))));else{a=Array.from(this.keyMap_.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};f.set=function(a,b){UD(this);this.encodedQuery_=null;a=VD(this,a);this.containsKey(a)&&(this.count_-=this.keyMap_.get(a).length);this.keyMap_.set(a,[b]);this.count_+=1;return this};f.get=function(a,b){if(!a)return b;a=this.getValues(a);return 0<a.length?String(a[0]):b};
f.setValues=function(a,b){this.remove(a);0<b.length&&(this.encodedQuery_=null,this.keyMap_.set(VD(this,a),ua(b)),this.count_+=b.length)};f.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 g=0;g<d.length;g++){var h=e;""!==d[g]&&(h+="="+encodeURIComponent(String(d[g])));a.push(h)}}return this.encodedQuery_=a.join("&")};
f.clone=function(){var a=new PD;a.encodedQuery_=this.encodedQuery_;this.keyMap_&&(a.keyMap_=new Map(this.keyMap_),a.count_=this.count_);return a};var VD=function(a,b){b=String(b);a.ignoreCase_&&(b=b.toLowerCase());return b};PD.prototype.setIgnoreCase=function(a){a&&!this.ignoreCase_&&(UD(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};
PD.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)x5b(arguments[b],function(c,d){this.add(d,c)},this)};var K5b=function(a){var b="";$b(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b},L5b=function(a,b,c){if(bc(c))return a;c=K5b(c);if("string"===typeof a)return CC(a,encodeURIComponent(String(b)),c);RD(a,b,c);return a};var uq=function(a){QB.call(this);this.handler_=a;this.keys_={}};Ns(uq,QB);var M5b=[];uq.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(M5b[0]=b.toString()),b=M5b);for(var e=0;e<b.length;e++){var g=So(a,b[e],c||this.handleEvent,d||!1,this.handler_||this);if(!g)break;this.keys_[g.key]=g}return this};uq.prototype.listenOnce=function(a,b,c,d){return N5b(this,a,b,c,d)};
var N5b=function(a,b,c,d,e,g){if(Array.isArray(c))for(var h=0;h<c.length;h++)N5b(a,b,c[h],d,e,g);else{b=WB(b,c,d||a.handleEvent,e,g||a.handler_||a);if(!b)return a;a.keys_[b.key]=b}return a};
uq.prototype.unlisten=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)this.unlisten(a,b[g],c,d,e);else c=c||this.handleEvent,d=wa(d)?!!d.capture:!!d,e=e||this.handler_||this,c=ZYb(c),d=!!d,b=UB(a)?a.getListener(b,c,d,e):a?(a=XB(a))?a.getListener(b,c,d,e):null:null,b&&(ZB(b),delete this.keys_[b.key]);return this};uq.prototype.removeAll=function(){$b(this.keys_,function(a,b){this.keys_.hasOwnProperty(b)&&ZB(a)},this);this.keys_={}};
uq.prototype.disposeInternal=function(){uq.superClass_.disposeInternal.call(this);this.removeAll()};uq.prototype.handleEvent=function(){throw Error("Ob");};var O5b=function(){this.isInputValid_=!0;this.streamPos_=0;this.leftoverInput_=""};O5b.prototype.error_=function(a,b){this.isInputValid_=!1;throw Error("Pb`"+this.streamPos_+"`"+b+"`"+a);};
O5b.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=xKb(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 Eh=function(){this.errorMessage_=null;this.result_=[];this.countLengthBytes_=this.length_=this.tag_=this.state_=this.streamPos_=0;this.messageBuffer_=null;this.countMessageBytes_=0};Eh.prototype.getErrorMessage=function(){return this.errorMessage_};Eh.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_);};Eh.prototype.acceptsBinaryInput=function(){return!0};
Eh.prototype.parse=function(a){function b(q){q&128&&g.error_(h,l,"invalid tag");2!=(q&7)&&g.error_(h,l,"invalid wire type");g.tag_=q>>>3;1!=g.tag_&&2!=g.tag_&&15!=g.tag_&&g.error_(h,l,"unexpected tag");g.state_=1;g.length_=0;g.countLengthBytes_=0}function c(q){g.countLengthBytes_++;5==g.countLengthBytes_&&q&240&&g.error_(h,l,"message length too long");g.length_|=(q&127)<<7*(g.countLengthBytes_-1);q&128||(g.state_=2,g.countMessageBytes_=0,"undefined"!==typeof Uint8Array?g.messageBuffer_=new Uint8Array(g.length_):
g.messageBuffer_=Array(g.length_),0==g.length_&&e())}function d(q){g.messageBuffer_[g.countMessageBytes_++]=q;g.countMessageBytes_==g.length_&&e()}function e(){if(15>g.tag_){var q={};q[g.tag_]=g.messageBuffer_;g.result_.push(q)}g.state_=0}for(var g=this,h=a instanceof Array?a:new Uint8Array(a),l=0;l<h.length;){switch(g.state_){case 3:g.error_(h,l,"stream already broken");break;case 0:b(h[l]);break;case 1:c(h[l]);break;case 2:d(h[l]);break;default:throw Error("Qb`"+g.state_);}g.streamPos_++;l++}a=
g.result_;g.result_=[];return 0<a.length?a:null};var Fh=function(){this.errorMessage_=null;this.streamPos_=0;this.base64Decoder_=new O5b;this.pbParser_=new Eh};Fh.prototype.getErrorMessage=function(){return this.errorMessage_};Fh.prototype.error_=function(a,b){this.errorMessage_="The stream is broken @"+this.streamPos_+". Error: "+b+". With input:\n"+a;throw Error(this.errorMessage_);};Fh.prototype.acceptsBinaryInput=function(){return!1};
Fh.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 WD=function(a){return"\r"==a||"\n"==a||" "==a||"\t"==a};var Fpa=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)},P5b={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};f=Fpa.prototype;f.getErrorMessage=function(){return this.errorMessage_};f.done=function(){return 2===this.streamState_};f.error_=function(a,b){this.streamState_=3;this.errorMessage_="The stream is broken @"+this.pos_+"/"+b+". With input:\n"+a;throw Error(this.errorMessage_);};f.acceptsBinaryInput=function(){return!1};
f.parse=function(a){function b(){for(;G<a.length;)if(WD(a[G]))G++,g.pos_++;else break;return G<v}function c(){for(var Q;;){Q=a[G++];if(!Q)break;g.pos_++;switch(g.state_){case q.INIT:"{"===Q?g.state_=q.OBJECT_OPEN:"["===Q?g.state_=q.ARRAY_OPEN:WD(Q)||g.error_(a,G);continue;case q.KEY_START:case q.OBJECT_OPEN:if(WD(Q))continue;if(g.state_===q.KEY_START)h.push(q.KEY_END);else if("}"===Q){e("{}");g.state_=d();continue}else h.push(q.OBJECT_END);'"'===Q?g.state_=q.STRING:g.error_(a,G);continue;case q.KEY_END:case q.OBJECT_END:if(WD(Q))continue;
":"===Q?(g.state_===q.OBJECT_END&&(h.push(q.OBJECT_END),g.depth_++),g.state_=q.VALUE):"}"===Q?(g.depth_--,e(),g.state_=d()):","===Q?(g.state_===q.OBJECT_END&&h.push(q.OBJECT_END),g.state_=q.KEY_START):g.error_(a,G);continue;case q.ARRAY_OPEN:case q.VALUE:if(WD(Q))continue;if(g.state_===q.ARRAY_OPEN)if(g.depth_++,g.state_=q.VALUE,"]"===Q){g.depth_--;if(0===g.depth_){g.state_=q.ARRAY_END;return}e("[]");g.state_=d();continue}else h.push(q.ARRAY_END);'"'===Q?g.state_=q.STRING:"{"===Q?g.state_=q.OBJECT_OPEN:
"["===Q?g.state_=q.ARRAY_OPEN:"t"===Q?g.state_=q.TRUE1:"f"===Q?g.state_=q.FALSE1:"n"===Q?g.state_=q.NULL1:"-"!==Q&&(-1!=="0123456789".indexOf(Q)?g.state_=q.NUM_DIGIT:g.error_(a,G));continue;case q.ARRAY_END:if(","===Q)h.push(q.ARRAY_END),g.state_=q.VALUE,1===g.depth_&&(A=G);else if("]"===Q){g.depth_--;if(0===g.depth_)return;e();g.state_=d()}else if(WD(Q))continue;else g.error_(a,G);continue;case q.STRING:var Y=G;a:for(;;){for(;0<g.unicodeCount_;)if(Q=a[G++],4===g.unicodeCount_?g.unicodeCount_=0:g.unicodeCount_++,
!Q)break a;if('"'===Q&&!g.slashed_){g.state_=d();break}if("\\"===Q&&!g.slashed_&&(g.slashed_=!0,Q=a[G++],!Q))break;if(g.slashed_)if(g.slashed_=!1,"u"===Q&&(g.unicodeCount_=1),Q=a[G++])continue;else break;l.lastIndex=G;Q=l.exec(a);if(!Q){G=a.length+1;break}G=Q.index+1;Q=a[Q.index];if(!Q)break}g.pos_+=G-Y;continue;case q.TRUE1:if(!Q)continue;"r"===Q?g.state_=q.TRUE2:g.error_(a,G);continue;case q.TRUE2:if(!Q)continue;"u"===Q?g.state_=q.TRUE3:g.error_(a,G);continue;case q.TRUE3:if(!Q)continue;"e"===Q?
g.state_=d():g.error_(a,G);continue;case q.FALSE1:if(!Q)continue;"a"===Q?g.state_=q.FALSE2:g.error_(a,G);continue;case q.FALSE2:if(!Q)continue;"l"===Q?g.state_=q.FALSE3:g.error_(a,G);continue;case q.FALSE3:if(!Q)continue;"s"===Q?g.state_=q.FALSE4:g.error_(a,G);continue;case q.FALSE4:if(!Q)continue;"e"===Q?g.state_=d():g.error_(a,G);continue;case q.NULL1:if(!Q)continue;"u"===Q?g.state_=q.NULL2:g.error_(a,G);continue;case q.NULL2:if(!Q)continue;"l"===Q?g.state_=q.NULL3:g.error_(a,G);continue;case q.NULL3:if(!Q)continue;
"l"===Q?g.state_=d():g.error_(a,G);continue;case q.NUM_DECIMAL_POINT:"."===Q?g.state_=q.NUM_DIGIT:g.error_(a,G);continue;case q.NUM_DIGIT:if(-1!=="0123456789.eE+-".indexOf(Q))continue;else G--,g.pos_--,g.state_=d();continue;default:g.error_(a,G)}}}function d(){var Q=h.pop();return null!=Q?Q:q.VALUE}function e(Q){1<g.depth_||(Q||(Q=-1===A?g.buffer_+a.substring(x,G):a.substring(A,G)),g.deliverMessageAsRawString_?g.result_.push(Q):g.result_.push(JSON.parse(Q)),A=G)}for(var g=this,h=g.stack_,l=g.stringInputPattern_,
q=P5b,v=a.length,x=0,A=-1,G=0;G<v;)switch(g.streamState_){case 3:return g.error_(a,G),null;case 2:return b()&&g.error_(a,G),null;case 0:if(b()){var M=a[G++];g.pos_++;if("["===M){g.streamState_=1;x=G;g.state_=q.ARRAY_OPEN;continue}else g.error_(a,G)}return null;case 1:return c(),0===g.depth_&&g.state_==q.ARRAY_END?(g.streamState_=2,g.buffer_=a.substring(G)):g.buffer_=-1===A?g.buffer_+a.substring(x):a.substring(A),0<g.result_.length?(M=g.result_,g.result_=[],M):null}return null};var Epa=function(){this.errorMessage_=this.jsonStreamParser_=null;this.state_=this.streamPos_=0;this.result_=[];this.statusParsed_=!1};Epa.prototype.getErrorMessage=function(){return this.errorMessage_};Epa.prototype.acceptsBinaryInput=function(){return!1};
Epa.prototype.parse=function(a){function b(q){g.state_=6;g.errorMessage_="The stream is broken @"+g.streamPos_+"/"+h+". Error: "+q+". With input:\n";throw Error(g.errorMessage_);}function c(){g.jsonStreamParser_=new Fpa({allowCompactJsonArrayFormat:!0,deliverMessageAsRawString:!0})}function d(q){if(q)for(var v=0;v<q.length;v++){var x={};x[1]=q[v];g.result_.push(x)}}function e(q){if(q){(g.statusParsed_||1<q.length)&&b("extra status: "+q);g.statusParsed_=!0;var v={};v[2]=q[0];g.result_.push(v)}}for(var g=
this,h=0;h<a.length;){var l;if(l=2!==g.state_){a:{for(;h<a.length;){if(!WD(a[h])){l=!0;break a}h++;g.streamPos_++}l=!1}l=!l}if(l)return null;switch(g.state_){case 6:b("stream already broken");break;case 0:"["===a[h]?(g.state_=1,h++,g.streamPos_++):b("unexpected input token");break;case 1:"["===a[h]?(g.state_=2,c()):","===a[h]||"null,"==a.slice(h,h+5)?g.state_=3:"]"===a[h]?(g.state_=5,h++,g.streamPos_++):b("unexpected input token");break;case 2:l=g.jsonStreamParser_.parse(a.substring(h));d(l);g.jsonStreamParser_.done()?
(g.state_=3,l=g.jsonStreamParser_.buffer_,g.streamPos_+=a.length-h-l.length,a=l,h=0):(g.streamPos_+=a.length-h,h=a.length);break;case 3:","===a[h]||"null,"==a.slice(h,h+5)?(g.state_=4,c(),g.jsonStreamParser_.parse("["),h+=","===a[h]?1:5,g.streamPos_++):"]"===a[h]&&(g.state_=5,h++,g.streamPos_++);break;case 4:l=g.jsonStreamParser_.parse(a.substring(h));e(l);g.jsonStreamParser_.done()?(g.state_=5,l=g.jsonStreamParser_.buffer_,g.streamPos_+=a.length-h-l.length,a=l,h=0):(g.streamPos_+=a.length-h,h=a.length);
break;case 5:b("extra input after stream end")}}return 0<g.result_.length?(a=g.result_,g.result_=[],a):null};var Q5b=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 uq(this);this.eventHandler_.listen(this.xhr_,"readystatechange",this.readyStateChangeHandler_)};Q5b.prototype.getXhr=function(){return this.xhr_};
var XD=function(a,b){a.status_!=b&&(a.status_=b,a.statusHandler_&&a.statusHandler_())},R5b=function(a){a.eventHandler_.removeAll();if(a.xhr_){var b=a.xhr_;a.xhr_=null;b.abort();b.dispose()}};Q5b.prototype.getStatus=function(){return this.status_};
Q5b.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 g=this.xhr_.getResponse();0<g.length&&g[0]instanceof Uint8Array&&(this.hasStreamingResponseData_=!0,a=g)}if(!(3>b||3==b&&!e&&0==a.length))if(d=200==d||206==d,4==b&&(8==c?XD(this,7):7==c?XD(this,8):d||XD(this,3)),this.parser_||(this.parser_=Gpa(this.xhr_),
null==this.parser_&&XD(this,5)),2<this.status_)R5b(this);else{if(a.length>this.pos_){var h=a.length;c=[];try{if(this.parser_.acceptsBinaryInput())for(var l=0;l<h;l++){var q=this.parser_.parse(Array.from(a[l]));q&&(c=c.concat(q))}else{q="";if(!this.textDecoder_){if("undefined"===typeof TextDecoder)throw Error("Rb");this.textDecoder_=new TextDecoder}for(l=0;l<h;l++)q+=this.textDecoder_.decode(a[l],{stream:4==b&&l==h-1});c=this.parser_.parse(q)}a.splice(0,h);c&&this.dataHandler_(c)}catch(x){XD(this,
5);R5b(this);break a}}else if(e.length>this.pos_){l=e.slice(this.pos_);this.pos_=e.length;try{var v=this.parser_.parse(l);null!=v&&this.dataHandler_&&this.dataHandler_(v)}catch(x){XD(this,5);R5b(this);break a}}4==b?(0!=e.length||this.hasStreamingResponseData_?XD(this,2):XD(this,4),R5b(this)):XD(this,1)}}}catch(x){XD(this,6),R5b(this)}};var S5b=function(a){this.xhrReader_=a;a=Ls(this.onData_,this);this.xhrReader_.dataHandler_=a;a=Ls(this.onStatusChange_,this);this.xhrReader_.statusHandler_=a;this.callbackMap_={};this.callbackOnceMap_={}};f=S5b.prototype;f.on=function(a,b){var c=this.callbackMap_[a];c||(c=[],this.callbackMap_[a]=c);c.push(b);return this};f.addListener=function(a,b){this.on(a,b);return this};f.removeListener=function(a,b){var c=this.callbackMap_[a];c&&ra(c,b);(a=this.callbackOnceMap_[a])&&ra(a,b);return this};
f.once=function(a,b){var c=this.callbackOnceMap_[a];c||(c=[],this.callbackOnceMap_[a]=c);c.push(b);return this};f.onData_=function(a){var b=this.callbackMap_.data;b&&T5b(this,a,b);(b=this.callbackOnceMap_.data)&&T5b(this,a,b);this.callbackOnceMap_.data=[]};
var T5b=function(a,b,c){for(var d={},e=0;e<b.length;d={$jscomp$loop$prop$message$2297:d.$jscomp$loop$prop$message$2297},e++)d.$jscomp$loop$prop$message$2297=b[e],c.forEach(function(g){return function(h){try{h(g.$jscomp$loop$prop$message$2297)}catch(l){a.handleError_("message-callback exception (ignored) "+l)}}}(d))};
S5b.prototype.onStatusChange_=function(){switch(this.xhrReader_.getStatus()){case 1:U5b(this,"readable");break;case 5:case 6:case 4:case 7:case 3:U5b(this,"error");break;case 8:U5b(this,"close");break;case 2:U5b(this,"end")}};var U5b=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]=[]};S5b.prototype.handleError_=function(){};var YD=function(a){a=void 0===a?{}:a;this.suppressCorsPreflight_=a.suppressCorsPreflight||No("suppressCorsPreflight",a)||!1;this.withCredentials_=a.withCredentials||No("withCredentials",a)||!1;this.streamInterceptors_=a.streamInterceptors||[];this.unaryInterceptors_=a.unaryInterceptors||[];this.workerScope_=a.workerScope;this.chunkedServerStreaming_=a.useFetchDownloadStreams||!1},X5b=function(a,b,c,d,e){var g=b.substr(0,b.length-e.name.length);return V5b(function(h){return new h5b(function(l,q){var v=
{},x=W5b(a,h,g);x.on("error",function(A){return q(A)});x.on("metadata",function(A){v=A});x.on("data",function(A){var G=v;G=void 0===G?{}:G;l(new d5b(A,h.getMethodDescriptor(),G))})})},a.unaryInterceptors_).call(a,e5b(e,c,d)).then(function(h){return h.responseMessage_})},ZD=function(a,b,c,d,e){return X5b(a,b,c,d,e)};
YD.prototype.serverStreaming=function(a,b,c,d){var e=this,g=a.substr(0,a.length-d.name.length);return V5b(function(h){var l=h.getMethodDescriptor(),q=h.getMetadata(),v=Y5b(e,!1);q=Z5b(e,q,v,g+l.getName());var x=$5b(v,l.responseDeserializeFn,!0);h=l.requestSerializeFn(h.requestMessage_);v.send(q,"POST",h);return x},this.streamInterceptors_).call(this,e5b(d,b,c))};
var W5b=function(a,b,c){var d=b.getMethodDescriptor(),e=b.getMetadata(),g=Y5b(a,!0);a=Z5b(a,e,g,c+d.getName());c=$5b(g,d.responseDeserializeFn,!1);q5b(c,"base64"==e["X-Goog-Encode-Response-If-Executable"]);b=d.requestSerializeFn(b.requestMessage_);g.send(a,"POST",b);return c},Y5b=function(a,b){b=a.chunkedServerStreaming_&&!b;return a.workerScope_||b?new DC(new KD({worker:a.workerScope_,streamBinaryChunks:b})):new DC},Z5b=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=L5b(d,"$httpHeaders",b);else for(var g in b)c.headers.set(g,b[g]);return d},$5b=function(a,b,c){if(c)if(!Ps||10<=Number(Ts)){c=new Q5b(a);var d=new S5b(c)}else d=null;return new JD({xhr:a,nodeReadableStream:d},b)},V5b=function(a,b){var c=a;b.forEach(function(d){var e=c;c=function(g){return d.intercept(g,
e)}});return c};var a6b=function(a){this.client_=new YD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};var b6b=function(a){this.internalArray_=m(a)};T(b6b,p);b6b.prototype.getUserPrefs=function(){return X(this,BD,1)};var c6b=Zb(b6b);b6b.prototype.toObject=function(){if(null!=this){r(this);var a={userPrefs:$4b(this.getUserPrefs())}}else a=void 0;return a};var d6b=new GD("/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",CD,b6b,function(a){return a.serialize()},c6b);var $D=function(a){this.internalArray_=m(a)};T($D,p);$D.repeatedFields_=[1];$D.prototype.toObject=function(){return aE(this)};var aE=function(a){if(null!=a)return r(a),{pathsList:n(Th(a,1))}};var e6b=function(a){this.client_=new YD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};e6b.prototype.getUserPrefs=function(a,b){return ZD(this.client_,this.hostname_+"/$rpc/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",a,b||{},d6b)};var f6b=function(a,b){this.target=a;this.targetElement=b;this.value=this.target.value},bE=function(a,b,c){var d=this;this._elementRef=a;this._dateAdapter=b;this._dateFormats=c;this.dateChange=new kw;this.dateInput=new kw;this.stateChanges=new D.Subject;this._onTouched=function(){};this._validatorOnChange=function(){};this._cvaOnChange=function(){};this._localeSubscription=this._valueChangesSubscription=D.Subscription.EMPTY;this._parseValidator=function(){return d._lastValueValid?null:{matDatepickerParse:{text:d._elementRef.nativeElement.value}}};
this._filterValidator=function(e){e=kA(d._dateAdapter,d._dateAdapter.deserialize(e.value));return!e||d._matchesFilter(e)?null:{matDatepickerFilter:!0}};this._minValidator=function(e){e=kA(d._dateAdapter,d._dateAdapter.deserialize(e.value));var g=d._rangeInput.min;return!g||!e||0>=lA(d._dateAdapter,g,e)?null:{matDatepickerMin:{min:g,actual:e}}};this._maxValidator=function(e){e=kA(d._dateAdapter,d._dateAdapter.deserialize(e.value));var g=d._rangeInput.max;return!g||!e||0<=lA(d._dateAdapter,g,e)?null:
{matDatepickerMax:{max:g,actual:e}}};this._lastValueValid=!1;this._localeSubscription=b.localeChanges.subscribe(function(){d._assignValueProgrammatically(d.value)})};f=bE.prototype;f._getValidators=function(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]};
f._registerModel=function(a){var b=this;this._model=a;this._valueChangesSubscription.unsubscribe();this._pendingValue&&this._assignValue(this._pendingValue);this._valueChangesSubscription=this._model.selectionChanged.subscribe(function(c){b._shouldHandleChangeEvent(c)&&(c=b._getValueFromModel(c.selection),b._lastValueValid=b._isValidValue(c),b._cvaOnChange(c),b._onTouched(),b._formatValue(c),b.dateInput.emit(new f6b(b,b._elementRef.nativeElement)),b.dateChange.emit(new f6b(b,b._elementRef.nativeElement)))})};
f.ngAfterViewInit=function(){this._isInitialized=!0};f.ngOnChanges=function(a){a:{var b=this._dateAdapter,c=Object.keys(a);c=k(c);for(var d=c.next();!d.done;d=c.next()){var e=a[d.value];d=e.previousValue;e=e.currentValue;if(jA(d)&&jA(e)){if(!b.sameDate(d,e)){a=!0;break a}}else{a=!0;break a}}a=!1}a&&this.stateChanges.next(void 0)};f.ngOnDestroy=function(){this._valueChangesSubscription.unsubscribe();this._localeSubscription.unsubscribe();this.stateChanges.complete()};
f.registerOnValidatorChange=function(a){this._validatorOnChange=a};f.validate=function(a){return this._validator?this._validator(a):null};f.writeValue=function(a){this._assignValueProgrammatically(a)};f.registerOnChange=function(a){this._cvaOnChange=a};f.registerOnTouched=function(a){this._onTouched=a};f.setDisabledState=function(a){this.disabled=a};
f._onKeydown=function(a){var b=["ctrlKey","shiftKey","metaKey"];Jg(a,"altKey")&&40===a.keyCode&&b.every(function(c){return!Jg(a,c)})&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),a.preventDefault())};
f._onInput=function(a){var b=this._lastValueValid,c=this._dateAdapter.parse(a,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(c);c=kA(this._dateAdapter,c);var d=!this._dateAdapter.sameDate(c,this.value);!c||d?this._cvaOnChange(c):(a&&!this.value&&this._cvaOnChange(c),b!==this._lastValueValid&&this._validatorOnChange());d&&(this._assignValue(c),this.dateInput.emit(new f6b(this,this._elementRef.nativeElement)))};f._onChange=function(){this.dateChange.emit(new f6b(this,this._elementRef.nativeElement))};
f._onBlur=function(){this.value&&this._formatValue(this.value);this._onTouched()};f._formatValue=function(a){this._elementRef.nativeElement.value=null!=a?this._dateAdapter.format(a,this._dateFormats.display.dateInput):""};f._assignValue=function(a){this._model?(this._assignValueToModel(a),this._pendingValue=null):this._pendingValue=a};f._isValidValue=function(a){return!a||this._dateAdapter.isValid(a)};f._parentDisabled=function(){return!1};
f._assignValueProgrammatically=function(a){a=this._dateAdapter.deserialize(a);this._lastValueValid=this._isValidValue(a);a=kA(this._dateAdapter,a);this._assignValue(a);this._formatValue(a)};f._matchesFilter=function(a){var b=this._rangeInput.dateFilter;return!b||b(a)};
sh.Object.defineProperties(bE.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue},set:function(a){this._assignValueProgrammatically(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return!!this._disabled||this._parentDisabled()},set:function(a){a=Fg(a);var b=this._elementRef.nativeElement;this._disabled!==a&&(this._disabled=a,this.stateChanges.next(void 0));a&&this._isInitialized&&b.blur&&b.blur()}}});
bE.\u0275fac=function(a){return new (a||bE)(B(Dd),B(iA,8),B(mA,8))};bE.\u0275dir=Sc({type:bE,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[gd]});var g6b=new ad("MAT_DATE_RANGE_INPUT_PARENT"),cE=function(a,b,c,d,e,g,h,l){bE.call(this,b,h,l);this._rangeInput=a;this._elementRef=b;this._defaultErrorStateMatcher=c;this._injector=d;this._parentForm=e;this._parentFormGroup=g;this._dir=Jc(Cz,{optional:!0})};T(cE,bE);f=cE.prototype;f.ngOnInit=function(){var a=this._injector.get(rx,null,{optional:!0,self:!0});a&&(this.ngControl=a)};f.ngDoCheck=function(){this.ngControl&&this.updateErrorState()};f.isEmpty=function(){return 0===this._elementRef.nativeElement.value.length};
f._getPlaceholder=function(){return this._elementRef.nativeElement.placeholder};f.focus=function(){this._elementRef.nativeElement.focus()};f._onInput=function(a){bE.prototype._onInput.call(this,a);this._rangeInput._handleChildValueChange()};f._openPopup=function(){this._rangeInput._openDatepicker()};f._getMinDate=function(){return this._rangeInput.min};f._getMaxDate=function(){return this._rangeInput.max};f._getDateFilter=function(){return this._rangeInput.dateFilter};f._parentDisabled=function(){return this._rangeInput._groupDisabled};
f._shouldHandleChangeEvent=function(a){a=a.source;return a!==this._rangeInput._startInput&&a!==this._rangeInput._endInput};f._assignValueProgrammatically=function(a){bE.prototype._assignValueProgrammatically.call(this,a);var b;null==(b=this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)||b._validatorOnChange()};f._getAccessibleName=function(){return Hpa(this._elementRef.nativeElement,!0)};
cE.\u0275fac=function(a){return new (a||cE)(B(g6b),B(Dd),B(nA),B(sv),B(yx,8),B(Hx,8),B(iA,8),B(mA,8))};cE.\u0275dir=Sc({type:cE,features:[kf]});Eoa(cE);var h6b={provide:new ad("mat-datepicker-scroll-strategy"),deps:[dA],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};th(function(a){this._elementRef=a});var i6b=new ad("mat-mdc-fab-default-options",{providedIn:"root",factory:Ipa});[].concat(cd(["disabled","disableRipple","color","tabIndex"]),["extended"]);var dE=function(){};dE.\u0275fac=function(a){return new (a||dE)};dE.\u0275mod=Qc({type:dE});dE.\u0275inj=zc({imports:[hA,uA,hA]});var eE=function(){};eE.\u0275fac=function(a){return new (a||eE)};eE.\u0275mod=Qc({type:eE});eE.\u0275inj=zc({providers:[EA,h6b],imports:[ex,dE,gA,nz,ly,hA,Tz]});var fE=function(){};fE.\u0275fac=function(a){return new (a||fE)};fE.\u0275mod=Qc({type:fE});fE.\u0275inj=zc({providers:[A2b],imports:[nz,ex,gA,hA,hA,Tz]});var gE=function(){};gE.\u0275fac=function(a){return new (a||gE)};gE.\u0275mod=Qc({type:gE});gE.\u0275inj=zc({providers:[{provide:F2b,useFactory:function(a){return new e6b(Jpa(a))},deps:[G2b]},{provide:E2b,useFactory:function(a){return new a6b(Jpa(a))},deps:[G2b]},DD],imports:[ex,FD,ED,eE,jB,mD,yB,eD,fE]});var j6b=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"})};j6b.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};j6b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var k6b=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"})};k6b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};k6b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var l6b=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"})};l6b.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};l6b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var m6b="alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");var n6b=function(a){this.servicePromise_=a;a.then(Ls(function(){},this),function(){},this)},o6b=function(a,b,c){return a.servicePromise_.then(function(d){var e=d[b];if(!e)throw Error("Tb`"+b);return e.apply(d,c)})},q6b=function(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];e=p6b(a,b).then(function(g){return g.apply(null,d)});return new n6b(e)},r6b={},p6b=function(a,b){var c=r6b[b];if(c)return c;c=(c=No(b))?oC(c):(new nC(function(d,e){var g=(new aC(document)).createElement("SCRIPT");
g.async=!0;Hh(g,Xn(a));g.onload=g.onreadystatechange=function(){g.readyState&&"loaded"!=g.readyState&&"complete"!=g.readyState||d()};g.onerror=e;(document.head||document.getElementsByTagName("head")[0]).appendChild(g)})).then(function(){var d=No(b);if(!d)throw Error("Ub`"+b+"`"+a);return d});return r6b[b]=c};var s6b=function(a){this.loader_=a};s6b.prototype.startFeedback=function(a){o6b(this.loader_,"startFeedback",arguments)};s6b.prototype.requestSurvey=function(a){o6b(this.loader_,"requestSurvey",arguments).thenCatch(function(){},this)};s6b.prototype.presentSurvey=function(a){o6b(this.loader_,"presentSurvey",arguments).thenCatch(function(){},this)};var t6b=Yn("https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");p6b(t6b,"help.service.Lazy.create").thenCatch(function(){});var hE=function(){},iE=function(){};var jE=function(a){this.internalArray_=m(a,0,jE.messageId)};T(jE,p);f=jE.prototype;f.getAuthor=function(){return U(this,1)};f.setAuthor=function(a){sk(this,1,a)};f.getDescription=function(){return U(this,2)};f.setDescription=function(a){return sk(this,2,a)};f.hasDescription=function(){return Hk(this,2)};f.getPending=function(){return Tj(this,3)};f.getTimestamp=function(){return qj(this,4)};f.setTimestamp=function(a){return V(this,4,a)};f.hasTimestamp=function(){return Yk(this,4)};
jE.repeatedFields_=[5];jE.prototype.toObject=function(){if(null!=this){r(this);var a={author:n(Z(this,1)),description:n(Z(this,2)),pending:n(vr(this,3)),timestamp:n(Yb(this,4)),affectedFilesList:n(Th(this,5))}}else a=void 0;return a};jE.messageId="b.ChangelistDetailsResponse";var kE=function(a){this.internalArray_=m(a)};T(kE,p);kE.prototype.getIssueIdsList=function(){return Sh(this,1)};kE.prototype.setIssueIdsList=function(a){return uj(this,1,a)};kE.prototype.addIssueIds=function(a){Cb(this,1,a)};kE.prototype.getAuthorEmail=function(){return U(this,3)};kE.repeatedFields_=[1];kE.prototype.toObject=function(){return u6b(this)};
var u6b=function(a){if(null!=a)return r(a),{issueIdsList:n(Sh(a,1)),changelistStatus:n(Er(a,2)),authorEmail:n(Z(a,3)),reviewerEmail:n(Z(a,4)),ccEmail:n(Z(a,5))}};var v6b=function(a){this.internalArray_=m(a,0,v6b.messageId)};T(v6b,p);f=v6b.prototype;f.getQuery=function(){return X(this,kE,1)};f.setQuery=function(a){return hj(this,kE,1,a)};f.clearQuery=function(){ct(this,1)};f.hasQuery=function(){return Nj(this,kE,1)};f.getNextPageToken=function(){return U(this,2)};f.toObject=function(){if(null!=this){r(this);var a={query:u6b(this.getQuery()),nextPageToken:n(Z(this,2))}}else a=void 0;return a};v6b.messageId="b.ListChangelistsRequest";var w6b=function(a){this.internalArray_=m(a)};T(w6b,p);f=w6b.prototype;f.getAuthor=function(){return U(this,1)};f.setAuthor=function(a){sk(this,1,a)};f.getPending=function(){return Tj(this,3)};f.getTimestamp=function(){return X(this,Nh,4)};f.setTimestamp=function(a){return hj(this,Nh,4,a)};f.hasTimestamp=function(){return Nj(this,Nh,4)};f.getIssueIdsList=function(){return Sh(this,5)};f.setIssueIdsList=function(a){return uj(this,5,a)};f.addIssueIds=function(a){Cb(this,5,a)};
w6b.repeatedFields_=[5,6];w6b.prototype.toObject=function(){return x6b(this)};var x6b=function(a){if(null!=a)return r(a),{author:n(Z(a,1)),changelistNumber:n(ft(a,2)),pending:n(vr(a,3)),timestamp:Lt(a.getTimestamp()),issueIdsList:n(Sh(a,5)),fixedIssueIdsList:n(Sh(a,6))}};var lE=function(a){this.internalArray_=m(a,0,lE.messageId)};T(lE,p);lE.prototype.getChangelistsList=function(){return kj(this,w6b,1)};lE.prototype.getNextPageToken=function(){return U(this,2)};lE.repeatedFields_=[1];lE.prototype.toObject=function(){if(null!=this){r(this);var a={changelistsList:Ub(this.getChangelistsList(),x6b),nextPageToken:n(Z(this,2))}}else a=void 0;return a};lE.messageId="b.ListChangelistsResponse";var mE=function(a){this.internalArray_=m(a,0,mE.messageId)};T(mE,p);mE.repeatedFields_=[1];mE.prototype.toObject=function(){if(null!=this){r(this);var a={changelistNumbersList:n(Qh(this,1))}}else a=void 0;return a};mE.messageId="b.PendingChangelistsResponse";var nE=function(a){this.executor=a};nE.prototype.getPendingChangelistsForIssue=function(a){return this.executor.get({url:"action/issues/"+a+"/pending_changelists",responseConstructor:mE}).pipe(C(Upa))};nE.prototype.getChangelistDetails=function(a){return this.executor.get({url:"/action/changelists/"+a,responseConstructor:jE}).pipe(C(Xpa))};
var y6b=function(a,b){var c=new v6b,d=c.setQuery;b=(new kE).setIssueIdsList(b);b=V(b,2,2);c=d.call(c,b);return a.executor.post({url:"action/changelists/list",body:c,responseConstructor:lE}).pipe(C(Wpa))};nE.\u0275fac=function(a){return new (a||nE)(t(hE))};nE.\u0275prov=yc({token:nE,factory:nE.\u0275fac,providedIn:"root"});var oE=function(a){this.changelistResources=a};oE.prototype.getPendingChangelistsForIssue=function(a){return(0,D.firstValueFrom)(this.changelistResources.getPendingChangelistsForIssue(a))};
oE.prototype.getChangelistDetails=function(a){return(0,D.firstValueFrom)(this.changelistResources.getChangelistDetails(a))};oE.\u0275fac=function(a){return new (a||oE)(t(nE))};oE.\u0275prov=yc({token:oE,factory:oE.\u0275fac,providedIn:"root"});var z6b={ACCESS_LEVEL_UNSPECIFIED:"ACCESS_LEVEL_UNSPECIFIED",INTERNAL:"INTERNAL",EXTERNAL_PARTNER:"EXTERNAL_PARTNER",EXTERNAL_PUBLIC:"EXTERNAL_PUBLIC"},zqa={0:"ACCESS_LEVEL_UNSPECIFIED",1:"INTERNAL",2:"EXTERNAL_PARTNER",3:"EXTERNAL_PUBLIC"},Bqa={ACCESS_LEVEL_UNSPECIFIED:0,INTERNAL:1,EXTERNAL_PARTNER:2,EXTERNAL_PUBLIC:3},asa={0:"ACCESS_LEVEL_UNSPECIFIED",1:"LIMIT_NONE",2:"LIMIT_VIEW",3:"LIMIT_APPEND",4:"LIMIT_VIEW_TRUSTED"},jsa={ACCESS_LEVEL_UNSPECIFIED:0,LIMIT_NONE:1,LIMIT_VIEW:2,LIMIT_APPEND:3,LIMIT_VIEW_TRUSTED:4},
tsa={ACTION_TYPE_UNSPECIFIED:0,ADD:1,REMOVE:2},Pra={0:"OFF",1:"ON"},Qra={OFF:0,ON:1},bGa={0:"CONFIDENCE_LEVEL_UNSPECIFIED",1:"VERY_HIGH",2:"HIGH",3:"MEDIUM",4:"LOW"},A6b={CONFIDENCE_LEVEL_UNSPECIFIED:0,VERY_HIGH:1,HIGH:2,MEDIUM:3,LOW:4},bra={0:"UNKNOWN",1:"TEXT",2:"DATE",3:"ENUM",4:"NUMERIC",5:"REPEATED_TEXT",6:"REPEATED_DATE",7:"REPEATED_ENUM",8:"REPEATED_NUMERIC"},hra={UNKNOWN:0,TEXT:1,DATE:2,ENUM:3,NUMERIC:4,REPEATED_TEXT:5,REPEATED_DATE:6,REPEATED_ENUM:7,REPEATED_NUMERIC:8},Kra={0:"DAY_TYPE_UNSPECIFIED",
1:"CALENDAR",2:"BUSINESS"},Nra={DAY_TYPE_UNSPECIFIED:0,CALENDAR:1,BUSINESS:2},Wra={0:"DELETION_REASON_UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"PII",4:"RETENTION"},hsa={DELETION_REASON_UNSPECIFIED:0,USER_REQUEST:1,ABUSE:2,PII:3,RETENTION:4},Tta={1:"COMFORTABLE",2:"COZY",3:"COMPACT"},gua={COMFORTABLE:1,COZY:2,COMPACT:3},eAa={0:"NO_DETAILED_TYPE",1:"UNRESTRICTED_GOOGLER",2:"TVC",3:"EXTERNAL",4:"PUBLIC",5:"ISSUE_CREATION_ONLY"},jta={0:"UNKNOWN_DIFF_TYPE",1:"SINGLE_VALUE",2:"COLLECTION",5:"USER_COLLECTION",
3:"LINKED_COLLECTION",4:"CUSTOM_FIELD",6:"STATUS_UPDATE"},dra={0:"UNKNOWN",1:"SILENT",2:"MINOR",3:"MAJOR",4:"BULK",5:"CLOSING"},ira={UNKNOWN:0,SILENT:1,MINOR:2,MAJOR:3,BULK:4,CLOSING:5},Rk={0:"UNKNOWN_PRIORITY",4:"CLOSURE_ONLY",1:"MINIMAL",2:"IMPORTANT",3:"ALL"},gl={UNKNOWN_PRIORITY:0,CLOSURE_ONLY:4,MINIMAL:1,IMPORTANT:2,ALL:3},Sta={0:"DEFAULT",1:"ASSIGNMENT",2:"RESPONSE",3:"CLOSURE"},fua={DEFAULT:0,ASSIGNMENT:1,RESPONSE:2,CLOSURE:3},knb={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"},Zsa={0:"FIELD_ORDERING_UNSPECIFIED",1:"INHERITED",2:"CUSTOMIZED"},B6b={FIELD_ORDERING_UNSPECIFIED:0,INHERITED:1,CUSTOMIZED:2},cra={0:"UNSPECIFIED",1:"INHERIT",2:"DISABLED",
3:"ENABLED"},C6b={UNSPECIFIED_FORMATTING_AUDIENCE:0,INTERNAL_AUDIENCE:1,EXTERNAL_AUDIENCE:2},D6b={UNSPECIFIED_FORMATTING_MODE:"UNSPECIFIED_FORMATTING_MODE",PLAIN:"PLAIN",MARKDOWN:"MARKDOWN",LITERAL:"LITERAL"},Cta={0:"UNSPECIFIED_FORMATTING_MODE",1:"PLAIN",2:"MARKDOWN",3:"LITERAL"},fsa={UNSPECIFIED_FORMATTING_MODE:0,PLAIN:1,MARKDOWN:2,LITERAL:3},Lqa={0:"IMPLICIT_ACCESS_UNSPECIFIED",1:"ALLOW",2:"DENY"},E6b={IMPLICIT_ACCESS_UNSPECIFIED:0,ALLOW:1,DENY:2},ll={ISSUE_ID:"ISSUE_ID",COMPONENT_PATH:"COMPONENT_PATH",
TYPE:"TYPE",STATUS:"STATUS",PRIORITY:"PRIORITY",SEVERITY:"SEVERITY",REPORTER:"REPORTER",ASSIGNEE:"ASSIGNEE",VERIFIER:"VERIFIER",CC:"CC",COLLABORATOR:"COLLABORATOR",CHANGELIST:"CHANGELIST",POSTMORTEM:"POSTMORTEM",BLOCKING_ISSUE_ID:"BLOCKING_ISSUE_ID",BLOCKED_BY_ISSUE_ID:"BLOCKED_BY_ISSUE_ID",CREATED_TIME:"CREATED_TIME",MODIFIED_TIME:"MODIFIED_TIME",RESOLVED_TIME:"RESOLVED_TIME",VERIFIED_TIME:"VERIFIED_TIME",DELETION_TIME:"DELETION_TIME",TITLE:"TITLE",FOUND_IN_VERSION:"FOUND_IN_VERSION",TARGETED_TO_VERSION:"TARGETED_TO_VERSION",
VERIFIED_IN_VERSION:"VERIFIED_IN_VERSION",IN_PROD:"IN_PROD",CANONICAL_ISSUE_ID:"CANONICAL_ISSUE_ID",CUSTOM_FIELD:"CUSTOM_FIELD",POSITION:"POSITION",VOTE_COUNT:"VOTE_COUNT",DUPLICATE_COUNT:"DUPLICATE_COUNT",CC_COUNT:"CC_COUNT",COLLABORATOR_COUNT:"COLLABORATOR_COUNT",MODIFIED_BY:"MODIFIED_BY",LAST_MODIFIER:"LAST_MODIFIER",ARCHIVED:"ARCHIVED",MIN_SLO:"MIN_SLO",ASSIGNMENT_SLO:"ASSIGNMENT_SLO",RESPONSE_SLO:"RESPONSE_SLO",CLOSURE_SLO:"CLOSURE_SLO",TEAM:"TEAM",ESTIMATE:"ESTIMATE",ESTIMATE_TOTAL_OPEN:"ESTIMATE_TOTAL_OPEN",
ESTIMATE_TOTAL_COMPLETE:"ESTIMATE_TOTAL_COMPLETE"},aua={1:ll.ISSUE_ID,2:ll.COMPONENT_PATH,3:ll.TYPE,4:ll.STATUS,5:ll.PRIORITY,6:ll.SEVERITY,7:ll.REPORTER,8:ll.ASSIGNEE,9:ll.VERIFIER,10:ll.CC,43:ll.COLLABORATOR,11:ll.CHANGELIST,32:ll.POSTMORTEM,12:ll.BLOCKING_ISSUE_ID,13:ll.BLOCKED_BY_ISSUE_ID,14:ll.CREATED_TIME,15:ll.MODIFIED_TIME,16:ll.RESOLVED_TIME,17:ll.VERIFIED_TIME,38:ll.DELETION_TIME,18:ll.TITLE,19:ll.FOUND_IN_VERSION,20:ll.TARGETED_TO_VERSION,21:ll.VERIFIED_IN_VERSION,22:ll.IN_PROD,23:ll.CANONICAL_ISSUE_ID,
24:ll.CUSTOM_FIELD,25:ll.POSITION,26:ll.VOTE_COUNT,27:ll.DUPLICATE_COUNT,28:ll.CC_COUNT,44:ll.COLLABORATOR_COUNT,29:ll.MODIFIED_BY,30:ll.LAST_MODIFIER,31:ll.ARCHIVED,33:ll.MIN_SLO,35:ll.ASSIGNMENT_SLO,36:ll.RESPONSE_SLO,37:ll.CLOSURE_SLO,39:ll.TEAM,40:ll.ESTIMATE,41:ll.ESTIMATE_TOTAL_OPEN,42:ll.ESTIMATE_TOTAL_COMPLETE},oua={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},zsa={ISSUE_RELATION_UNSPECIFIED:0,BLOCKING:1,
BLOCKED_BY:2,DUPLICATE:3,CANONICAL:4},Xra={0:"TYPE_UNSPECIFIED",1:"BUG",2:"FEATURE_REQUEST",3:"CUSTOMER_ISSUE",4:"INTERNAL_CLEANUP",5:"PROCESS",6:"VULNERABILITY",7:"PRIVACY_ISSUE",8:"PROJECT",9:"FEATURE",10:"MILESTONE",11:"EPIC",12:"STORY",13:"TASK"},csa={TYPE_UNSPECIFIED:0,BUG:1,FEATURE_REQUEST:2,CUSTOMER_ISSUE:3,INTERNAL_CLEANUP:4,PROCESS:5,VULNERABILITY:6,PRIVACY_ISSUE:7,PROJECT:8,FEATURE:9,MILESTONE:10,EPIC:11,STORY:12,TASK:13},jnb={0:"NODE_JOIN_TYPE_UNSPECIFIED",1:"AND",2:"OR",3:"ERR",4:"NIL"},
F6b={UNKNOWN_SUBSCRIPTION:"UNKNOWN_SUBSCRIPTION",UNSUBSCRIBED:"UNSUBSCRIBED",SUBSCRIBED_CLOSURE_ONLY:"SUBSCRIBED_CLOSURE_ONLY",SUBSCRIBED_MAJOR_UPDATES:"SUBSCRIBED_MAJOR_UPDATES",SUBSCRIBED_ALL_UPDATES:"SUBSCRIBED_ALL_UPDATES"},ota={0:"UNKNOWN_SUBSCRIPTION",1:"UNSUBSCRIBED",2:"SUBSCRIBED_CLOSURE_ONLY",3:"SUBSCRIBED_MAJOR_UPDATES",4:"SUBSCRIBED_ALL_UPDATES"},wsa={UNKNOWN_SUBSCRIPTION:0,UNSUBSCRIBED:1,SUBSCRIBED_CLOSURE_ONLY:2,SUBSCRIBED_MAJOR_UPDATES:3,SUBSCRIBED_ALL_UPDATES:4},lnb={0:"OPERATOR_UNSPECIFIED",
1:"EQ",2:"GT",3:"LT",4:"GE",5:"LE"},sDb={0:"UNKNOWN_PERMISSION",1:"OPEN_TO_JOIN"},G6b={PII_SEVERITY_UNSPECIFIED:"PII_SEVERITY_UNSPECIFIED",NONE_DETECTED:"NONE_DETECTED",PII:"PII",SPII:"SPII"},xra={0:"PII_SEVERITY_UNSPECIFIED",1:"NONE_DETECTED",2:"PII",3:"SPII"},dAa={0:"PRINCIPAL_TYPE_UNSPECIFIED",1:"NON_GAIA",2:"USER",3:"GROUP",4:"ALIAS"},H6b={PRIORITY_UNSPECIFIED:"PRIORITY_UNSPECIFIED",P0:"P0",P1:"P1",P2:"P2",P3:"P3",P4:"P4"},Yra={0:"PRIORITY_UNSPECIFIED",1:"P0",2:"P1",3:"P2",4:"P3",5:"P4"},dsa=
{PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5},I6b={REACTION_TYPE_UNSPECIFIED:"REACTION_TYPE_UNSPECIFIED",UPVOTE:"UPVOTE"},Fta={0:"REACTION_TYPE_UNSPECIFIED",1:"UPVOTE"},J6b={REACTION_TYPE_UNSPECIFIED:0,UPVOTE:1},Ksa={0:"UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"PII",4:"RETENTION"},YFa={REJECTION_REASON_UNSPECIFIED:0,REVERSED:1,SIMILAR:2,NOT_SIMILAR:3,OTHER:4},Aya={0:"UNKNOWN",1:"HOTLIST",2:"BOOKMARK_GROUP",3:"SAVED_SEARCH"},K6b={UNKNOWN:0,HOTLIST:1,BOOKMARK_GROUP:2,SAVED_SEARCH:3},L6b={RETENTION_UNSPECIFIED:"RETENTION_UNSPECIFIED",
COMPONENT_DEFAULT:"COMPONENT_DEFAULT",INDEFINITE:"INDEFINITE"},Vra={0:"RETENTION_UNSPECIFIED",1:"COMPONENT_DEFAULT",2:"INDEFINITE"},gsa={RETENTION_UNSPECIFIED:0,COMPONENT_DEFAULT:1,INDEFINITE:2},M6b={UNSPECIFIED_RETENTION:"UNSPECIFIED_RETENTION",BUGANIZER_DEFAULT:"BUGANIZER_DEFAULT",CUSTOM_PERIOD:"CUSTOM_PERIOD",INDEFINITE_RETENTION:"INDEFINITE_RETENTION"},sra={0:"UNSPECIFIED_RETENTION",1:"BUGANIZER_DEFAULT",2:"CUSTOM_PERIOD",3:"INDEFINITE_RETENTION"},ura={UNSPECIFIED_RETENTION:0,BUGANIZER_DEFAULT:1,
CUSTOM_PERIOD:2,INDEFINITE_RETENTION:3},Zra={0:"SEVERITY_UNSPECIFIED",1:"S0",2:"S1",3:"S2",4:"S3",5:"S4"},esa={SEVERITY_UNSPECIFIED:0,S0:1,S1:2,S2:3,S3:4,S4:5},N6b={SIGNAL_TYPE_UNKNOWN:"SIGNAL_TYPE_UNKNOWN",NEAR_SLO:"NEAR_SLO",MENTIONED:"MENTIONED",REPLIED_TO_MENTION:"REPLIED_TO_MENTION",NEWLY_BLOCKING:"NEWLY_BLOCKING",UNBLOCKED:"UNBLOCKED",ASSIGNED:"ASSIGNED",NEEDS_REPORTER_INPUT:"NEEDS_REPORTER_INPUT"},bua={0:"SIGNAL_TYPE_UNKNOWN",1:"NEAR_SLO",2:"MENTIONED",6:"REPLIED_TO_MENTION",7:"NEWLY_BLOCKING",
3:"UNBLOCKED",5:"ASSIGNED",4:"NEEDS_REPORTER_INPUT"},qua={SIGNAL_TYPE_UNKNOWN:0,NEAR_SLO:1,MENTIONED:2,REPLIED_TO_MENTION:6,NEWLY_BLOCKING:7,UNBLOCKED:3,ASSIGNED:5,NEEDS_REPORTER_INPUT:4},enb={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"},rDb={0:"UNKNOWN",1:"NORMAL",2:"LARGE",3:"HUGE",4:"ENORMOUS"},Jra={0:"METRIC_UNSPECIFIED",1:"ASSIGNMENT",2:"RESPONSE",
3:"CLOSURE"},Mra={METRIC_UNSPECIFIED:0,ASSIGNMENT:1,RESPONSE:2,CLOSURE:3},$ra={0:"SLO_SNOOZE_TYPE_UNSPECIFIED",1:"STARTS_ON",2:"ASSIGNMENT_ETA",3:"RESPONSE_ETA",4:"CLOSURE_ETA"},isa={SLO_SNOOZE_TYPE_UNSPECIFIED:0,STARTS_ON:1,ASSIGNMENT_ETA:2,RESPONSE_ETA:3,CLOSURE_ETA:4},Ysa={0:"SLO_SOURCE_UNSPECIFIED",1:"USER",2:"BUGSCOPE"},Cra={SLO_SOURCE_UNSPECIFIED:0,USER:1,BUGSCOPE:2},Wqa={0:"UNSPECIFIED",1:"REPORTER",2:"ASSIGNEE",3:"VERIFIER",4:"CC",5:"TYPE",6:"STATUS",7:"PRIORITY",8:"SEVERITY",9:"CHANGELISTS",
10:"PENDING_CHANGELISTS",11:"POSTMORTEMS",12:"FOUND_IN",13:"TARGETED_TO",14:"VERIFIED_IN",15:"IN_PRODUCTION",16:"SLO_STATUS",17:"TEAM",18:"COLLABORATORS"},Yqa={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},Iob={0:"STATE_UNSPECIFIED",1:"STATE_DISABLED",2:"STATE_ENABLED"},O6b={STATUS_UNSPECIFIED:"STATUS_UNSPECIFIED",
NEW:"NEW",ASSIGNED:"ASSIGNED",ACCEPTED:"ACCEPTED",FIXED:"FIXED",VERIFIED:"VERIFIED",NOT_REPRODUCIBLE:"NOT_REPRODUCIBLE",INTENDED_BEHAVIOR:"INTENDED_BEHAVIOR",OBSOLETE:"OBSOLETE",INFEASIBLE:"INFEASIBLE",DUPLICATE:"DUPLICATE"},oj={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"},tj={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},Lsa={0:"ACTIVE",1:"DELETED",2:"PURGED"},Kta={0:"THEME_UNSPECIFIED",1:"GOOGLE",2:"OPEN_SOURCE"},sya={0:"UNKNOWN",1:"ISSUE_ID",2:"COMPONENT_PATH",3:"TYPE",4:"STATUS",5:"PRIORITY",6:"SEVERITY",7:"REPORTER",8:"ASSIGNEE",9:"VERIFIER",10:"CC",43:"COLLABORATOR",11:"CHANGELIST",33:"POSTMORTEM",12:"BLOCKING_ISSUE_ID",13:"BLOCKED_BY_ISSUE_ID",14:"CREATED_TIME",15:"MODIFIED_TIME",16:"RESOLVED_TIME",17:"VERIFIED_TIME",38:"DELETION_TIME",18:"TITLE",19:"FOUND_IN_VERSION",20:"TARGETED_TO_VERSION",
21:"VERIFIED_IN_VERSION",22:"IN_PROD",23:"DUPLICATE_OF_ISSUE_ID",24:"CUSTOM_FIELD",25:"POSITION",26:"VOTE_COUNT",27:"DUPLICATE_COUNT",28:"CC_COUNT",44:"COLLABORATOR_COUNT",29:"MODIFIED_BY",30:"LAST_MODIFIER",31:"ARCHIVED",32:"CANONICAL_ISSUE_ID",34:"MIN_SLO",35:"ASSIGNMENT_SLO",36:"RESPONSE_SLO",37:"CLOSURE_SLO",39:"TEAM",40:"ESTIMATE",41:"ESTIMATE_TOTAL_OPEN",42:"ESTIMATE_TOTAL_COMPLETE"},uya={UNKNOWN:0,ISSUE_ID:1,COMPONENT_PATH:2,TYPE:3,STATUS:4,PRIORITY:5,SEVERITY:6,REPORTER:7,ASSIGNEE:8,VERIFIER:9,
CC:10,COLLABORATOR:43,CHANGELIST:11,POSTMORTEM:33,BLOCKING_ISSUE_ID:12,BLOCKED_BY_ISSUE_ID:13,CREATED_TIME:14,MODIFIED_TIME:15,RESOLVED_TIME:16,VERIFIED_TIME:17,DELETION_TIME:38,TITLE:18,FOUND_IN_VERSION:19,TARGETED_TO_VERSION:20,VERIFIED_IN_VERSION:21,IN_PROD:22,DUPLICATE_OF_ISSUE_ID:23,CUSTOM_FIELD:24,POSITION:25,VOTE_COUNT:26,DUPLICATE_COUNT:27,CC_COUNT:28,COLLABORATOR_COUNT:44,MODIFIED_BY:29,LAST_MODIFIER:30,ARCHIVED:31,CANONICAL_ISSUE_ID:32,MIN_SLO:34,ASSIGNMENT_SLO:35,RESPONSE_SLO:36,CLOSURE_SLO:37,
TEAM:39,ESTIMATE:40,ESTIMATE_TOTAL_OPEN:41,ESTIMATE_TOTAL_COMPLETE:42},nnb={0:"QUERY_BUILDER_RESPONSE_TYPE_UNSPECIFIED",1:"AND",2:"OR"},aGa={0:"TYPE_UNSPECIFIED",1:"ISSUE_DEDUPLICATION"},P6b={TYPE_UNSPECIFIED:0,ISSUE_DEDUPLICATION:1},XFa={TYPE_UNSPECIFIED:0,VIEWED:1,ACCEPTED:2,REJECTED:3},Gqa={0:"UNSPECIFIED",1:"ACTIVE",2:"DELETED",3:"UNAVAILABLE"},Hqa={UNSPECIFIED:0,ACTIVE:1,DELETED:2,UNAVAILABLE:3},Job={0:"USER_GROUP_UNSPECIFIED",1:"USER_GROUP_BUGANIZER_TEAM",2:"USER_GROUP_TRUSTED_TESTER"},gnb=
{0:"VALUE_TYPE_UNSPECIFIED",1:"NOT",2:"OR",3:"AND",4:"RANGE",5:"SIMPLE"},Q6b={VIEW_UNSPECIFIED:0,BASIC:1,FULL:2};var dqa=Object.prototype.hasOwnProperty;var ii=function(a){this.customFieldId=a.customFieldId;this.displayValues=a.displayValues;this.textValue=a.textValue;this.dateValue=a.dateValue;this.enumValue=a.enumValue;this.numericValue=a.numericValue;this.repeatedTextValue=a.repeatedTextValue;this.repeatedDateValue=a.repeatedDateValue;this.repeatedEnumValue=a.repeatedEnumValue;this.repeatedNumericValue=a.repeatedNumericValue};
ii.prototype.getValue=function(){return 0===this.numericValue?this.numericValue:this.textValue||this.dateValue||this.enumValue||this.numericValue||this.repeatedTextValue||this.repeatedDateValue||this.repeatedEnumValue||this.repeatedNumericValue||null};ii.prototype.isEmpty=function(){var a=this.getValue();return null==a?!0:"string"===typeof a?""===a:"number"===typeof a?!1:null!=a.values?0===a.values.length:!a||!a.day||!a.month||!a.year};var vqa={UNSPECIFIED:0,INHERIT:1,DISABLED:2,ENABLED:3};var Li=function(a){this.internalArray_=m(a,0,Li.messageId)};T(Li,p);f=Li.prototype;f.getCustomFieldId=function(){return qj(this,Go(this,pE,1))};f.setCustomFieldId=function(a){return so(this,1,pE,a)};f.hasCustomFieldId=function(){return null!=pt(this,1,pE)};f.getStandardField=function(){return Zi(this,Go(this,pE,2),0)};f.setStandardField=function(a){so(this,2,pE,a)};var pE=[1,2];Li.prototype.toObject=function(){return R6b(this)};
var R6b=function(a){if(null!=a)return r(a),{customFieldId:n(pt(a,1,pE)),standardField:n(qt(a,2,pE))}};Li.messageId="b.FieldId";var qE=function(a){this.internalArray_=m(a,0,qE.messageId)};T(qE,p);f=qE.prototype;f.getFieldId=function(){return X(this,Li,1)};f.setFieldId=function(a){hj(this,Li,1,a)};f.getStateOnIssues=function(){return Zi(this,2,0)};f.setStateOnIssues=function(a){V(this,2,a)};f.getEnabledOnIssues=function(){return Tj(this,3)};f.setEnabledOnIssues=function(a){Vj(this,3,a)};
f.toObject=function(){if(null!=this){r(this);var a={fieldId:R6b(this.getFieldId()),stateOnIssues:n(Er(this,2)),enabledOnIssues:n(vr(this,3))}}else a=void 0;return a};qE.messageId="b.FieldConfig";var hi=function(){this.required=!1;this.allowedValue=null;this.stateOnIssues=1;this.shared=!1;this.type="TEXT";this.fieldSignificance="MINOR"};hi.prototype.isDate=function(){return"DATE"===this.type};hi.prototype.isText=function(){return"TEXT"===this.type};hi.prototype.isNumeric=function(){return"NUMERIC"===this.type};hi.prototype.isRepeated=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var yDb=new Set([{alias:"googlers_unrestricted"},{alias:"google_domain"}].map(function(a){return"ALIAS:"+a.alias})),S6b={AGGREGATION_TYPE_UNSPECIFIED:"AGGREGATION_TYPE_UNSPECIFIED",SUM:"SUM",MAX:"MAX"};var ki=function(a){this.internalArray_=m(a,0,ki.messageId)};T(ki,p);ki.prototype.getAccessLevel=function(){return Zi(this,1,0)};ki.prototype.setAccessLevel=function(a){return V(this,1,a)};ki.prototype.toObject=function(){return T6b(this)};var T6b=function(a){if(null!=a)return r(a),{accessLevel:n(Er(a,1))}};ki.messageId="b.AccessLimit";var ej=function(a){this.internalArray_=m(a)};T(ej,p);f=ej.prototype;f.getEmailAddress=function(){return U(this,1)};f.setEmailAddress=function(a){wj(this,1,a)};f.getObfuscatedEmailAddress=function(){return U(this,2)};f.setObfuscatedEmailAddress=function(a){wj(this,2,a)};f.getUserGaiaStatus=function(){return Zi(this,3,0)};f.setUserGaiaStatus=function(a){Yi(this,3,a)};f.getAliasesList=function(){return Th(this,4)};f.setAliasesList=function(a){Pi(this,4,a)};ej.repeatedFields_=[4];
ej.prototype.toObject=function(){return rE(this)};var rE=function(a){if(null!=a)return r(a),{emailAddress:U(a,1),obfuscatedEmailAddress:U(a,2),userGaiaStatus:Zi(a,3,0),aliasesList:n(Th(a,4))}};var ri=function(a){this.internalArray_=m(a)};T(ri,p);f=ri.prototype;f.getEmailAddress=function(){return U(this,1)};f.setEmailAddress=function(a){sk(this,1,a)};f.getObfuscatedEmailAddress=function(){return U(this,2)};f.setObfuscatedEmailAddress=function(a){sk(this,2,a)};f.getUserGaiaStatus=function(){return Zi(this,3,0)};f.setUserGaiaStatus=function(a){V(this,3,a)};f.getAliasesList=function(){return Th(this,4)};f.setAliasesList=function(a){Pi(this,4,a)};ri.repeatedFields_=[4];
ri.prototype.toObject=function(){return sE(this)};var sE=function(a){if(null!=a)return r(a),{emailAddress:n(Z(a,1)),obfuscatedEmailAddress:n(Z(a,2)),userGaiaStatus:n(Er(a,3)),aliasesList:n(Th(a,4))}};var Bi=function(a){this.internalArray_=m(a)};T(Bi,p);f=Bi.prototype;f.getUser=function(){return ck(this,ri,1,tE)};f.setUser=function(a){Ao(this,1,tE,a)};f.hasUser=function(){return ak(this,ri,1,tE)};f.getGroup=function(){return ck(this,ri,2,tE)};f.setGroup=function(a){Ao(this,2,tE,a)};f.getAlias=function(){return ot(this,3,tE)};f.setAlias=function(a){yo(this,3,tE,a)};var tE=[1,2,3];Bi.prototype.toObject=function(){return uE(this)};
var uE=function(a){if(null!=a)return r(a),{user:sE(a.getUser()),group:sE(a.getGroup()),alias:n(Io(a,3,tE))}};var vE=function(a){this.internalArray_=m(a,0,vE.messageId)};T(vE,p);f=vE.prototype;f.getAdminsList=function(){return kj(this,Bi,2)};f.setAdminsList=function(a){nj(this,2,a)};f.getInheritedAdminsList=function(){return kj(this,Bi,3)};f.getEditorsList=function(){return kj(this,Bi,4)};f.setEditorsList=function(a){nj(this,4,a)};f.getImplicitEditorsList=function(){return kj(this,Bi,5)};f.getAppendersList=function(){return kj(this,Bi,6)};f.setAppendersList=function(a){nj(this,6,a)};
f.getImplicitAppendersList=function(){return kj(this,Bi,7)};f.getReadersList=function(){return kj(this,Bi,8)};f.setReadersList=function(a){nj(this,8,a)};f.getImplicitReadersList=function(){return kj(this,Bi,9)};f.getRestrictedReadersList=function(){return kj(this,Bi,11)};f.setRestrictedReadersList=function(a){nj(this,11,a)};f.getRestrictedPlusReadersList=function(){return kj(this,Bi,12)};f.setRestrictedPlusReadersList=function(a){nj(this,12,a)};f.getImplicitAccess=function(){return Zi(this,10,0)};
f.setImplicitAccess=function(a){return V(this,10,a)};vE.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];
vE.prototype.toObject=function(){if(null!=this){r(this);var a={adminsList:Ub(this.getAdminsList(),uE),inheritedAdminsList:Ub(this.getInheritedAdminsList(),uE),editorsList:Ub(this.getEditorsList(),uE),implicitEditorsList:Ub(this.getImplicitEditorsList(),uE),appendersList:Ub(this.getAppendersList(),uE),implicitAppendersList:Ub(this.getImplicitAppendersList(),uE),readersList:Ub(this.getReadersList(),uE),implicitReadersList:Ub(this.getImplicitReadersList(),uE),restrictedReadersList:Ub(this.getRestrictedReadersList(),
uE),restrictedPlusReadersList:Ub(this.getRestrictedPlusReadersList(),uE),implicitAccess:n(Er(this,10))}}else a=void 0;return a};vE.messageId="b.AccessPolicy";var Ji=function(a){this.internalArray_=m(a,0,Ji.messageId)};T(Ji,p);f=Ji.prototype;f.getResourcePath=function(){return U(this,2)};f.setResourcePath=function(a){return sk(this,2,a)};f.hasResourcePath=function(){return Hk(this,2)};f.getSeverity=function(){return Zi(this,3,0)};f.setSeverity=function(a){return V(this,3,a)};f.hasSeverity=function(){return pj(this,3)};f.getJudgementReason=function(){return U(this,4)};f.setJudgementReason=function(a){return sk(this,4,a)};f.toObject=function(){return wE(this)};
var wE=function(a){if(null!=a)return r(a),{contentJudgementId:n(Yb(a,1)),resourcePath:n(Z(a,2)),severity:n(Er(a,3)),judgementReason:n(Z(a,4)),contentJudge:n(Z(a,5))}};Ji.messageId="b.ContentJudgement";var Si=function(a){this.internalArray_=m(a)};T(Si,p);Si.prototype.getValuesList=function(){return kj(this,Lh,1)};Si.prototype.setValuesList=function(a){nj(this,1,a)};Si.prototype.setValues=function(a,b){$s(this,1,Lh,a,b)};Si.repeatedFields_=[1];Si.prototype.toObject=function(){return U6b(this)};var U6b=function(a){if(null!=a)return r(a),{valuesList:Ub(a.getValuesList(),nD)}};var Ri=function(a){this.internalArray_=m(a)};T(Ri,p);Ri.prototype.getValuesList=function(){return at(this,1)};Ri.prototype.setValuesList=function(a){Ab(this,1,a,oba)};Ri.prototype.getValues=function(a){return YKb(this,a)};Ri.prototype.setValues=function(a,b){Db(this,1,a,nba(b),at)};Ri.repeatedFields_=[1];Ri.prototype.toObject=function(){return V6b(this)};var V6b=function(a){if(null!=a)return r(a),{valuesList:n(at(a,1))}};var Qi=function(a){this.internalArray_=m(a)};T(Qi,p);Qi.prototype.getValuesList=function(){return Th(this,1)};Qi.prototype.setValuesList=function(a){Pi(this,1,a)};Qi.prototype.getValues=function(a){return kt(this,1,a)};Qi.prototype.setValues=function(a,b){nt(this,1,a,b)};Qi.repeatedFields_=[1];Qi.prototype.toObject=function(){return W6b(this)};var W6b=function(a){if(null!=a)return r(a),{valuesList:n(Th(a,1))}};var Oi=function(a){this.internalArray_=m(a)};T(Oi,p);f=Oi.prototype;f.getCustomFieldId=function(){return Ii(this,1)};f.setCustomFieldId=function(a){return V(this,1,a)};f.hasCustomFieldId=function(){return Hi(this,1)};f.getDisplayValues=function(){return kt(this,12)};f.setDisplayValues=function(a,b){nt(this,12,a,b)};f.getTextValue=function(){return ot(this,4,Ni)};f.setTextValue=function(a){yo(this,4,Ni,a)};f.getDateValue=function(){return ck(this,Lh,5,Ni)};f.setDateValue=function(a){Ao(this,5,Ni,a)};
f.getEnumValue=function(){return ot(this,6,Ni)};f.setEnumValue=function(a){yo(this,6,Ni,a)};f.getNumericValue=function(){return rj(this,Go(this,Ni,7))};f.setNumericValue=function(a){so(this,7,Ni,Xa(a))};f.getRepeatedTextValue=function(){return ck(this,Qi,8,Ni)};f.setRepeatedTextValue=function(a){Ao(this,8,Ni,a)};f.getRepeatedDateValue=function(){return ck(this,Si,9,Ni)};f.setRepeatedDateValue=function(a){Ao(this,9,Ni,a)};f.getRepeatedEnumValue=function(){return ck(this,Qi,10,Ni)};
f.setRepeatedEnumValue=function(a){Ao(this,10,Ni,a)};f.getRepeatedNumericValue=function(){return ck(this,Ri,11,Ni)};f.setRepeatedNumericValue=function(a){Ao(this,11,Ni,a)};Oi.repeatedFields_=[12];var Ni=[4,5,6,7,8,9,10,11];Oi.prototype.toObject=function(){return X6b(this)};
var X6b=function(a){if(null!=a)return r(a),{customFieldId:n(Yb(a,1)),displayValuesList:n(Th(a,12)),textValue:n(Io(a,4,Ni)),dateValue:nD(a.getDateValue()),enumValue:n(Io(a,6,Ni)),numericValue:n(Ho(a,Go(a,Ni,7))),repeatedTextValue:W6b(a.getRepeatedTextValue()),repeatedDateValue:U6b(a.getRepeatedDateValue()),repeatedEnumValue:W6b(a.getRepeatedEnumValue()),repeatedNumericValue:V6b(a.getRepeatedNumericValue())}};var Ti=function(a){this.internalArray_=m(a)};T(Ti,p);f=Ti.prototype;f.getCustomFieldId=function(){return Ii(this,1)};f.setCustomFieldId=function(a){return V(this,1,a)};f.hasCustomFieldId=function(){return Hi(this,1)};f.getComponentId=function(){return Ii(this,2)};f.setComponentId=function(a){return V(this,2,a)};f.hasComponentId=function(){return Hi(this,2)};f.getType=function(){return Zi(this,3,0)};f.setType=function(a){return V(this,3,a)};f.hasType=function(){return pj(this,3)};
f.getRequired=function(){return Tj(this,4)};f.setRequired=function(a){Vj(this,4,a)};f.getName=function(){return U(this,5)};f.setName=function(a){return sk(this,5,a)};f.hasName=function(){return Hk(this,5)};f.getNameOrUndefined=function(){return tt(this,5)};f.getDescription=function(){return U(this,6)};f.setDescription=function(a){return sk(this,6,a)};f.hasDescription=function(){return Hk(this,6)};f.getTypedDefaultValue=function(){return X(this,Oi,10)};
f.setTypedDefaultValue=function(a){hj(this,Oi,10,a)};f.getFieldSignificance=function(){return Zi(this,9,0)};f.setFieldSignificance=function(a){return V(this,9,a)};f.getStateOnIssues=function(){return Zi(this,11,0)};f.setStateOnIssues=function(a){V(this,11,a)};f.getEnabledOnIssues=function(){return Tj(this,12)};f.setEnabledOnIssues=function(a){Vj(this,12,a)};f.getShared=function(){return Tj(this,13)};f.setShared=function(a){Vj(this,13,a)};Ti.repeatedFields_=[8];Ti.prototype.toObject=function(){return Y6b(this)};
var Y6b=function(a){if(null!=a)return r(a),{customFieldId:n(Yb(a,1)),componentId:n(Yb(a,2)),type:n(Er(a,3)),required:n(vr(a,4)),name:n(Z(a,5)),description:n(Z(a,6)),typedDefaultValue:X6b(a.getTypedDefaultValue()),allowedValueList:n(Th(a,8)),fieldSignificance:n(Er(a,9)),stateOnIssues:n(Er(a,11)),enabledOnIssues:n(vr(a,12)),shared:n(vr(a,13))}};var Xi=function(a){this.internalArray_=m(a)};T(Xi,p);f=Xi.prototype;f.getLabel=function(){return U(this,1)};f.setLabel=function(a){return wj(this,1,a)};f.getValue=function(){return rj(this,2)};f.setValue=function(a){return Bb(this,2,Xa(a),0)};f.toObject=function(){return Z6b(this)};var Z6b=function(a){if(null!=a)return r(a),{label:U(a,1),value:rj(a,2)}};var Wi=function(a){this.internalArray_=m(a)};T(Wi,p);Wi.prototype.getOptionsList=function(){return kj(this,Xi,1)};Wi.prototype.setOptionsList=function(a){return nj(this,1,a)};Wi.prototype.setOptions=function(a){$s(this,1,Xi,a)};Wi.repeatedFields_=[1];Wi.prototype.toObject=function(){return $6b(this)};var $6b=function(a){if(null!=a)return r(a),{optionsList:Ub(a.getOptionsList(),Z6b)}};var Vi=function(a){this.internalArray_=m(a)};T(Vi,p);var lra=function(a,b){return Bb(a,1,Xa(b),0)};Vi.prototype.toObject=function(){return a7b(this)};var a7b=function(a){if(null!=a)return r(a),{multiplier:rj(a,1)}};var Ui=function(a){this.internalArray_=m(a)};T(Ui,p);f=Ui.prototype;f.getInherit=function(){return Tj(this,1)};f.setInherit=function(a){Gb(this,1,a)};f.getId=function(){return qj(this,2)};f.setId=function(a){return Jb(this,2,a)};f.getName=function(){return U(this,3)};f.setName=function(a){return wj(this,3,a)};var kra=function(a,b){Ao(a,4,bk,b)},mra=function(a,b){Ao(a,5,bk,b)};Ui.prototype.getCustomFieldId=function(){return qj(this,100)};
Ui.prototype.setCustomFieldId=function(a){return Jb(this,100,a)};var bk=[4,5];Ui.prototype.toObject=function(){return b7b(this)};var b7b=function(a){if(null!=a)return r(a),{inherit:Tj(a,1),id:qj(a,2),name:U(a,3),numericSpec:a7b(ck(a,Vi,4,bk)),enumSpec:$6b(ck(a,Wi,5,bk)),aggregationType:Zi(a,6,0),customFieldId:qj(a,100)}};var vj=function(a){this.internalArray_=m(a)};T(vj,p);vj.prototype.toObject=function(){return c7b(this)};var c7b=function(a){if(null!=a)return r(a),{specId:qj(a,1),estimate:U(a,2),averageDays:rj(a,3),totalOpen:rj(a,4),totalComplete:rj(a,5)}};var xE=function(a){this.internalArray_=m(a)};T(xE,p);f=xE.prototype;f.getStartTime=function(){return X(this,Nh,1)};f.setStartTime=function(a){hj(this,Nh,1,a)};f.getEndTime=function(){return X(this,Nh,2)};f.setEndTime=function(a){hj(this,Nh,2,a)};f.getTargetTime=function(){return X(this,Nh,3)};f.setTargetTime=function(a){hj(this,Nh,3,a)};f.getObjective=function(){return X(this,Ph,4)};f.setObjective=function(a){return hj(this,Ph,4,a)};f.getBusinessDays=function(){return Rh(this,5)};
f.setBusinessDays=function(a){return Ib(this,5,a)};f.getDayType=function(){return Zi(this,6,0)};f.setDayType=function(a){return Yi(this,6,a)};f.toObject=function(){return d7b(this)};var d7b=function(a){if(null!=a)return r(a),{startTime:Lt(a.getStartTime()),endTime:Lt(a.getEndTime()),targetTime:Lt(a.getTargetTime()),objective:zu(a.getObjective()),businessDays:Rh(a,5),dayType:Zi(a,6,0)}};var e7b=function(a){this.internalArray_=m(a)};T(e7b,p);f=e7b.prototype;f.getAssignmentBounds=function(){return X(this,xE,1)};f.setAssignmentBounds=function(a){hj(this,xE,1,a)};f.hasAssignmentBounds=function(){return Nj(this,xE,1)};f.getResponseBounds=function(){return X(this,xE,2)};f.setResponseBounds=function(a){hj(this,xE,2,a)};f.hasResponseBounds=function(){return Nj(this,xE,2)};f.getClosureBounds=function(){return X(this,xE,3)};f.setClosureBounds=function(a){hj(this,xE,3,a)};
f.hasClosureBounds=function(){return Nj(this,xE,3)};f.toObject=function(){return f7b(this)};var f7b=function(a){if(null!=a)return r(a),{assignmentBounds:d7b(a.getAssignmentBounds()),responseBounds:d7b(a.getResponseBounds()),closureBounds:d7b(a.getClosureBounds())}};var Jj=function(a){this.internalArray_=m(a)};T(Jj,p);Jj.prototype.getSourceIssueIdsList=function(){return rl(this,1)};Jj.prototype.setSourceIssueIdsList=function(a){return Ab(this,1,a,gb)};Jj.repeatedFields_=[1];Jj.prototype.toObject=function(){return g7b(this)};var g7b=function(a){if(null!=a)return r(a),{sourceIssueIdsList:n(rl(a,1))}};var h7b=function(a){this.internalArray_=m(a)};T(h7b,p);h7b.prototype.getBlobRef=function(){return Qj(this,2)};h7b.prototype.toObject=function(){return i7b(this)};var i7b=function(a){if(null!=a)return r(a),{resourceName:U(a,1),blobRef:Xb(a.getBlobRef())}};var j7b=function(a){this.internalArray_=m(a)};T(j7b,p);j7b.prototype.getSeverity=function(){return Zi(this,1,0)};j7b.prototype.setSeverity=function(a){return Yi(this,1,a)};j7b.prototype.toObject=function(){return k7b(this)};var k7b=function(a){if(null!=a)return r(a),{severity:Zi(a,1,0)}};var l7b=function(a){this.internalArray_=m(a)};T(l7b,p);l7b.prototype.toObject=function(){return m7b(this)};var m7b=function(a){if(null!=a)return r(a),{restrictionVerdict:k7b(X(a,j7b,1))}};var yE=function(a){this.internalArray_=m(a)};T(yE,p);f=yE.prototype;f.getStatus=function(){return Zi(this,1,0)};f.setStatus=function(a){return Yi(this,1,a)};f.getReason=function(){return Zi(this,2,0)};f.setReason=function(a){Yi(this,2,a)};f.toObject=function(){return n7b(this)};var n7b=function(a){if(null!=a)return r(a),{status:Zi(a,1,0),reason:Zi(a,2,0)}};var zE=function(a){this.internalArray_=m(a)};T(zE,p);f=zE.prototype;f.getRetentionPeriod=function(){return X(this,Ph,1)};f.setRetentionPeriod=function(a){hj(this,Ph,1,a)};f.getScheduledDeletionTime=function(){return X(this,Nh,2)};f.setScheduledDeletionTime=function(a){hj(this,Nh,2,a)};f.toObject=function(){return o7b(this)};var o7b=function(a){if(null!=a)return r(a),{retentionPeriod:zu(a.getRetentionPeriod()),scheduledDeletionTime:Lt(a.getScheduledDeletionTime())}};var p7b=function(a){this.internalArray_=m(a)};T(p7b,p);f=p7b.prototype;f.getAttachmentId=function(){return qj(this,1)};f.setAttachmentId=function(a){Jb(this,1,a)};f.getContentType=function(){return U(this,2)};f.getLength=function(){return qj(this,3)};f.getFilename=function(){return U(this,4)};f.setFilename=function(a){wj(this,4,a)};f.getEntityStatus=function(){return X(this,yE,6)};f.getEtag=function(){return Qj(this,7)};f.setEtag=function(a){UKb(this,7,a)};
f.getContentVerdict=function(){return X(this,l7b,10)};f.getRestrictedRetentionState=function(){return X(this,zE,11)};f.toObject=function(){return q7b(this)};var q7b=function(a){if(null!=a)return r(a),{attachmentId:qj(a,1),contentType:U(a,2),length:qj(a,3),filename:U(a,4),attachmentDataRef:i7b(X(a,h7b,5)),entityStatus:n7b(a.getEntityStatus()),etag:Xb(a.getEtag()),contentVerdict:m7b(a.getContentVerdict()),restrictedRetentionState:o7b(a.getRestrictedRetentionState()),restrictedRetention:Zi(a,12,0)}};var AE=function(a){this.internalArray_=m(a)};T(AE,p);AE.prototype.getValuesList=function(){return kj(this,Lh,1)};AE.prototype.setValuesList=function(a){nj(this,1,a)};AE.prototype.setValues=function(a,b){$s(this,1,Lh,a,b)};AE.repeatedFields_=[1];AE.prototype.toObject=function(){return r7b(this)};var r7b=function(a){if(null!=a)return r(a),{valuesList:Ub(a.getValuesList(),nD)}};var BE=function(a){this.internalArray_=m(a)};T(BE,p);BE.prototype.getValuesList=function(){return at(this,1)};BE.prototype.setValuesList=function(a){Ab(this,1,a,oba)};BE.prototype.getValues=function(a){return YKb(this,a)};BE.prototype.setValues=function(a,b){Db(this,1,a,nba(b),at)};BE.repeatedFields_=[1];BE.prototype.toObject=function(){return s7b(this)};var s7b=function(a){if(null!=a)return r(a),{valuesList:n(at(a,1))}};var CE=function(a){this.internalArray_=m(a)};T(CE,p);CE.prototype.getValuesList=function(){return Th(this,1)};CE.prototype.setValuesList=function(a){Pi(this,1,a)};CE.prototype.getValues=function(a){return kt(this,1,a)};CE.prototype.setValues=function(a,b){nt(this,1,a,b)};CE.repeatedFields_=[1];CE.prototype.toObject=function(){return t7b(this)};var t7b=function(a){if(null!=a)return r(a),{valuesList:n(Th(a,1))}};var DE=function(a){this.internalArray_=m(a)};T(DE,p);f=DE.prototype;f.getValueCase=function(){return Mi(this,EE)};f.getCustomFieldId=function(){return qj(this,1)};f.setCustomFieldId=function(a){return Jb(this,1,a)};f.getTextValue=function(){return ot(this,2,EE)};f.setTextValue=function(a){yo(this,2,EE,a)};f.getDateValue=function(){return ck(this,Lh,3,EE)};f.setDateValue=function(a){Ao(this,3,EE,a)};f.getEnumValue=function(){return ot(this,4,EE)};f.setEnumValue=function(a){yo(this,4,EE,a)};
f.getNumericValue=function(){return rj(this,Go(this,EE,5))};f.setNumericValue=function(a){so(this,5,EE,Xa(a))};f.getRepeatedTextValue=function(){return ck(this,CE,6,EE)};f.setRepeatedTextValue=function(a){Ao(this,6,EE,a)};f.getRepeatedDateValue=function(){return ck(this,AE,7,EE)};f.setRepeatedDateValue=function(a){Ao(this,7,EE,a)};f.getRepeatedEnumValue=function(){return ck(this,CE,8,EE)};f.setRepeatedEnumValue=function(a){Ao(this,8,EE,a)};
f.getRepeatedNumericValue=function(){return ck(this,BE,9,EE)};f.setRepeatedNumericValue=function(a){Ao(this,9,EE,a)};f.getDisplayString=function(){return U(this,10)};var EE=[2,3,4,5,6,7,8,9];DE.prototype.toObject=function(){return u7b(this)};
var u7b=function(a){if(null!=a)return r(a),{customFieldId:qj(a,1),textValue:n(Io(a,2,EE)),dateValue:nD(a.getDateValue()),enumValue:n(Io(a,4,EE)),numericValue:n(Ho(a,Go(a,EE,5))),repeatedTextValue:t7b(a.getRepeatedTextValue()),repeatedDateValue:r7b(a.getRepeatedDateValue()),repeatedEnumValue:t7b(a.getRepeatedEnumValue()),repeatedNumericValue:s7b(a.getRepeatedNumericValue()),displayString:U(a,10)}};var v7b=function(a){this.internalArray_=m(a)};T(v7b,p);f=v7b.prototype;f.getCustomFieldId=function(){return qj(this,1)};f.setCustomFieldId=function(a){return Jb(this,1,a)};f.getComponentId=function(){return qj(this,2)};f.setComponentId=function(a){return Jb(this,2,a)};f.getType=function(){return Zi(this,3,0)};f.setType=function(a){return Yi(this,3,a)};f.getRequired=function(){return Tj(this,4)};f.setRequired=function(a){Gb(this,4,a)};f.getName=function(){return U(this,5)};
f.setName=function(a){return wj(this,5,a)};f.getDescription=function(){return U(this,6)};f.setDescription=function(a){return wj(this,6,a)};f.getTypedDefaultValue=function(){return X(this,DE,10)};f.setTypedDefaultValue=function(a){hj(this,DE,10,a)};f.getEnumValues=function(a){return kt(this,8,a)};f.getFieldSignificance=function(){return Zi(this,9,0)};f.setFieldSignificance=function(a){return Yi(this,9,a)};f.getShared=function(){return Tj(this,11)};f.setShared=function(a){Gb(this,11,a)};
v7b.repeatedFields_=[8];v7b.prototype.toObject=function(){return w7b(this)};var w7b=function(a){if(null!=a)return r(a),{customFieldId:qj(a,1),componentId:qj(a,2),type:Zi(a,3,0),required:Tj(a,4),name:U(a,5),description:U(a,6),defaultValue:U(a,7),typedDefaultValue:u7b(a.getTypedDefaultValue()),enumValuesList:n(Th(a,8)),fieldSignificance:Zi(a,9,0),shared:Tj(a,11)}};var x7b=function(a){this.internalArray_=m(a)};T(x7b,p);f=x7b.prototype;f.getCustomFieldId=function(){return qj(this,Go(this,FE,1))};f.setCustomFieldId=function(a){return so(this,1,FE,a)};f.hasCustomFieldId=function(){return null!=pt(this,1,FE)};f.getStandardField=function(){return Zi(this,Go(this,FE,2),0)};f.setStandardField=function(a){so(this,2,FE,a)};var FE=[1,2];x7b.prototype.toObject=function(){return y7b(this)};
var y7b=function(a){if(null!=a)return r(a),{customFieldId:n(pt(a,1,FE)),standardField:n(qt(a,2,FE))}};var GE=function(a){this.internalArray_=m(a)};T(GE,p);f=GE.prototype;f.getHasReacted=function(){return Tj(this,1)};f.setHasReacted=function(a){return Gb(this,1,a)};f.getCount=function(){return qj(this,2)};f.setCount=function(a){return Jb(this,2,a)};f.getRecentRespondersList=function(){return kj(this,ej,3)};f.getType=function(){return Zi(this,4,0)};f.setType=function(a){return Yi(this,4,a)};GE.repeatedFields_=[3];GE.prototype.toObject=function(){return z7b(this)};
var z7b=function(a){if(null!=a)return r(a),{hasReacted:Tj(a,1),count:qj(a,2),recentRespondersList:Ub(a.getRecentRespondersList(),rE),type:Zi(a,4,0)}};var HE=function(a){this.internalArray_=m(a)};T(HE,p);HE.prototype.getReactionStatesList=function(){return kj(this,GE,2)};HE.prototype.addReactionStates=function(a){return Co(this,2,GE,a)};HE.repeatedFields_=[2];HE.prototype.toObject=function(){return A7b(this)};var A7b=function(a){if(null!=a)return r(a),{reactionStatesList:Ub(a.getReactionStatesList(),z7b)}};var rk=function(a){this.internalArray_=m(a)};T(rk,p);rk.prototype.toObject=function(){return IE(this)};var IE=function(a){if(null!=a)return r(a),{privateDoNotAccessOrElseSafeHtmlWrappedValue:n(Z(a,2))}};var JE=function(a){this.internalArray_=m(a)};T(JE,p);JE.prototype.getContent=function(){return X(this,rk,1)};JE.prototype.setContent=function(a){return hj(this,rk,1,a)};JE.prototype.hasContent=function(){return Nj(this,rk,1)};JE.prototype.toObject=function(){return B7b(this)};var B7b=function(a){if(null!=a)return r(a),{content:IE(a.getContent())}};var KE=function(a){this.internalArray_=m(a)};T(KE,p);KE.prototype.getContent=function(){return X(this,rk,1)};KE.prototype.setContent=function(a){return hj(this,rk,1,a)};KE.prototype.hasContent=function(){return Nj(this,rk,1)};KE.prototype.toObject=function(){return C7b(this)};var C7b=function(a){if(null!=a)return r(a),{content:IE(a.getContent())}};var D7b=function(a){this.internalArray_=m(a)};T(D7b,p);f=D7b.prototype;f.getIsQuoted=function(){return Tj(this,1)};f.setIsQuoted=function(a){return Gb(this,1,a)};f.getContent=function(){return X(this,rk,2)};f.setContent=function(a){return hj(this,rk,2,a)};f.hasContent=function(){return Nj(this,rk,2)};f.toObject=function(){return E7b(this)};var E7b=function(a){if(null!=a)return r(a),{isQuoted:Tj(a,1),content:IE(a.getContent())}};var LE=function(a){this.internalArray_=m(a)};T(LE,p);LE.prototype.getPlainSectionList=function(){return kj(this,D7b,1)};LE.prototype.setPlainSectionList=function(a){return nj(this,1,a)};LE.repeatedFields_=[1];LE.prototype.toObject=function(){return F7b(this)};var F7b=function(a){if(null!=a)return r(a),{plainSectionList:Ub(a.getPlainSectionList(),E7b)}};var ME=function(a){this.internalArray_=m(a)};T(ME,p);f=ME.prototype;f.getKindCase=function(){return Mi(this,NE)};f.getPlainFormat=function(){return ck(this,LE,1,NE)};f.setPlainFormat=function(a){Ao(this,1,NE,a)};f.hasPlainFormat=function(){return ak(this,LE,1,NE)};f.getMarkdownFormat=function(){return ck(this,KE,2,NE)};f.setMarkdownFormat=function(a){Ao(this,2,NE,a)};f.hasMarkdownFormat=function(){return ak(this,KE,2,NE)};f.getLiteralFormat=function(){return ck(this,JE,3,NE)};
f.setLiteralFormat=function(a){Ao(this,3,NE,a)};f.hasLiteralFormat=function(){return ak(this,JE,3,NE)};var NE=[1,2,3];ME.prototype.toObject=function(){return G7b(this)};var G7b=function(a){if(null!=a)return r(a),{plainFormat:F7b(a.getPlainFormat()),markdownFormat:C7b(a.getMarkdownFormat()),literalFormat:B7b(a.getLiteralFormat())}};var OE=function(a){this.internalArray_=m(a)};T(OE,p);OE.prototype.getMentionedUser=function(){return X(this,ej,1)};OE.prototype.getState=function(){return Zi(this,2,0)};OE.repeatedFields_=[3];OE.prototype.toObject=function(){return H7b(this)};var H7b=function(a){if(null!=a)return r(a),{mentionedUser:rE(a.getMentionedUser()),state:Zi(a,2,0),displayEmailList:n(Th(a,3))}};var PE=function(a){this.internalArray_=m(a)};T(PE,p);f=PE.prototype;f.getIssueId=function(){return qj(this,6)};f.setIssueId=function(a){return Jb(this,6,a)};f.getCommentNumber=function(){return Rh(this,7)};f.setCommentNumber=function(a){return Ib(this,7,a)};f.getComment=function(){return U(this,1)};f.setComment=function(a){wj(this,1,a)};f.getFormattedComment=function(){return X(this,ME,16)};f.hasFormattedComment=function(){return Nj(this,ME,16)};f.getMentionsList=function(){return kj(this,OE,14)};
f.getFormattingMode=function(){return Zi(this,9,0)};f.setFormattingMode=function(a){return Yi(this,9,a)};f.getAttachmentsList=function(){return kj(this,p7b,2)};f.setAttachmentsList=function(a){nj(this,2,a)};f.getModifiedTime=function(){return X(this,Nh,4)};f.getEntityStatus=function(){return X(this,yE,5)};f.getVersion=function(){return Rh(this,8)};f.setVersion=function(a){return Ib(this,8,a)};f.getContentVerdict=function(){return X(this,l7b,10)};
f.getRestrictedRetentionState=function(){return X(this,zE,11)};f.getRedacted=function(){return Tj(this,13)};f.getEtag=function(){return Qj(this,15)};f.setEtag=function(a){UKb(this,15,a)};f.getCommentReaction=function(){return X(this,HE,17)};PE.repeatedFields_=[14,2];PE.prototype.toObject=function(){return I7b(this)};
var I7b=function(a){if(null!=a)return r(a),{issueId:qj(a,6),commentNumber:Rh(a,7),comment:U(a,1),formattedComment:G7b(a.getFormattedComment()),mentionsList:Ub(a.getMentionsList(),H7b),formattingMode:Zi(a,9,0),attachmentsList:Ub(a.getAttachmentsList(),q7b),lastEditor:rE(X(a,ej,3)),modifiedTime:Lt(a.getModifiedTime()),entityStatus:n7b(a.getEntityStatus()),version:Rh(a,8),contentVerdict:m7b(a.getContentVerdict()),restrictedRetentionState:o7b(a.getRestrictedRetentionState()),restrictedRetention:Zi(a,
12,0),redacted:Tj(a,13),etag:Xb(a.getEtag()),commentReaction:A7b(a.getCommentReaction())}};var QE=function(a){this.internalArray_=m(a)};T(QE,p);QE.prototype.getAccessLevel=function(){return Zi(this,1,0)};QE.prototype.setAccessLevel=function(a){return Yi(this,1,a)};QE.prototype.toObject=function(){return J7b(this)};var J7b=function(a){if(null!=a)return r(a),{accessLevel:Zi(a,1,0)}};var K7b=function(a){this.internalArray_=m(a)};T(K7b,p);f=K7b.prototype;f.getComponentId=function(){return qj(this,1)};f.setComponentId=function(a){return Jb(this,1,a)};f.getType=function(){return Zi(this,2,0)};f.setType=function(a){return Yi(this,2,a)};f.getStatus=function(){return Zi(this,3,0)};f.setStatus=function(a){return Yi(this,3,a)};f.getPriority=function(){return Zi(this,4,0)};f.setPriority=function(a){return Yi(this,4,a)};f.getSeverity=function(){return Zi(this,5,0)};
f.setSeverity=function(a){return Yi(this,5,a)};f.getTitle=function(){return U(this,6)};f.setTitle=function(a){return wj(this,6,a)};f.getReporter=function(){return X(this,ej,7)};f.setReporter=function(a){hj(this,ej,7,a)};f.getAssignee=function(){return X(this,ej,8)};f.setAssignee=function(a){hj(this,ej,8,a)};f.clearAssignee=function(){return ct(this,8)};f.getVerifier=function(){return X(this,ej,9)};f.setVerifier=function(a){hj(this,ej,9,a)};f.clearVerifier=function(){return ct(this,9)};
f.getCcsList=function(){return kj(this,ej,10)};f.getCollaboratorsList=function(){return kj(this,ej,31)};f.setCollaborators=function(a){$s(this,31,ej,a)};f.getBlockingIssueIdsList=function(){return rl(this,13)};f.addHotlistIds=function(a,b){return Cb(this,14,a,b)};f.getCustomFieldsList=function(){return kj(this,DE,15)};f.setCustomFieldsList=function(a){nj(this,15,a)};f.getInProd=function(){return Tj(this,20)};f.setInProd=function(a){Gb(this,20,a)};f.getIsArchived=function(){return Tj(this,21)};
f.setIsArchived=function(a){return Gb(this,21,a)};f.getIsDeleted=function(){return Tj(this,23)};f.setIsDeleted=function(a){Gb(this,23,a)};f.getDeletionReason=function(){return Zi(this,24,0)};f.setDeletionReason=function(a){Yi(this,24,a)};f.getEntityStatus=function(){return X(this,yE,25)};f.getSloEndTime=function(){return X(this,Nh,34)};f.setSloEndTime=function(a){hj(this,Nh,34,a)};f.hasSloEndTime=function(){return Nj(this,Nh,34)};f.getSloSnoozeType=function(){return Zi(this,30,0)};
f.setSloSnoozeType=function(a){Yi(this,30,a)};f.getPostmortemsList=function(){return Th(this,27)};f.setPostmortemsList=function(a){Pi(this,27,a)};f.getRetention=function(){return Zi(this,28,0)};f.setRetention=function(a){Yi(this,28,a)};f.getEffort=function(){return X(this,vj,29)};f.setEffort=function(a){hj(this,vj,29,a)};f.hasEffort=function(){return Nj(this,vj,29)};f.getAccessLimit=function(){return X(this,QE,32)};f.setAccessLimit=function(a){return hj(this,QE,32,a)};
K7b.repeatedFields_=[10,31,12,13,14,15,16,17,18,19,22,27];K7b.prototype.toObject=function(){return L7b(this)};
var L7b=function(a){if(null!=a)return r(a),{componentId:qj(a,1),type:Zi(a,2,0),status:Zi(a,3,0),priority:Zi(a,4,0),severity:Zi(a,5,0),title:U(a,6),reporter:rE(a.getReporter()),assignee:rE(a.getAssignee()),verifier:rE(a.getVerifier()),ccsList:Ub(a.getCcsList(),rE),collaboratorsList:Ub(a.getCollaboratorsList(),rE),canonicalIssueId:qj(a,11),blockedByIssueIdsList:n(rl(a,12)),blockingIssueIdsList:n(rl(a,13)),hotlistIdsList:n(rl(a,14)),customFieldsList:Ub(a.getCustomFieldsList(),u7b),codeChangesList:n(Th(a,
16)),foundInVersionsList:n(Th(a,17)),targetedToVersionsList:n(Th(a,18)),verifiedInVersionsList:n(Th(a,19)),inProd:Tj(a,20),isArchived:Tj(a,21),duplicateIssueIdsList:n(rl(a,22)),isDeleted:Tj(a,23),deletionReason:Zi(a,24,0),entityStatus:n7b(a.getEntityStatus()),sloSnoozeUntil:Lt(X(a,Nh,26)),sloEndTime:Lt(a.getSloEndTime()),sloSnoozeType:Zi(a,30,0),postmortemsList:n(Th(a,27)),retention:Zi(a,28,0),effort:c7b(a.getEffort()),accessLimit:J7b(a.getAccessLimit())}};var RE=function(a){this.internalArray_=m(a)};T(RE,p);RE.prototype.getNotificationSubscription=function(){return Zi(this,4,0)};RE.prototype.setNotificationSubscription=function(a){return Yi(this,4,a)};RE.repeatedFields_=[3];RE.prototype.toObject=function(){return M7b(this)};var M7b=function(a){if(null!=a)return r(a),{hasStarred:Tj(a,1),hasUpvoted:Tj(a,2),editableCommentNumbersList:n(Qh(a,3)),notificationSubscription:Zi(a,4,0),lastViewedTime:Lt(X(a,Nh,5))}};var Ck=function(a){this.internalArray_=m(a)};T(Ck,p);Ck.prototype.getHref=function(){return U(this,1)};Ck.prototype.toObject=function(){return N7b(this)};var N7b=function(a){if(null!=a)return r(a),{href:n(Z(a,1))}};var yta=function(a){this.internalArray_=m(a)};T(yta,p);f=yta.prototype;f.getIssueId=function(){return qj(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getCommentNumber=function(){return Rh(this,2)};f.setCommentNumber=function(a){return V(this,2,a)};f.toObject=function(){return O7b(this)};var O7b=function(a){if(null!=a)return r(a),{issueId:n(Yb(a,1)),commentNumber:n(ft(a,2))}};var P7b=function(a){this.internalArray_=m(a)};T(P7b,p);var Bk=[1,2];P7b.prototype.toObject=function(){return Q7b(this)};var Q7b=function(a){if(null!=a)return r(a),{hyperlink:N7b(ck(a,Ck,1,Bk)),issueReference:O7b(ck(a,yta,2,Bk)),sourceCommentNumber:Rh(a,3)}};var R7b=function(a){this.internalArray_=m(a)};T(R7b,p);f=R7b.prototype;f.getIssueId=function(){return qj(this,1)};f.setIssueId=function(a){return Jb(this,1,a)};f.getUpdateText=function(){return U(this,2)};f.setUpdateText=function(a){wj(this,2,a)};f.getFormattingMode=function(){return Zi(this,4,0)};f.setFormattingMode=function(a){return Yi(this,4,a)};f.getAuthor=function(){return X(this,ej,5)};f.setAuthor=function(a){hj(this,ej,5,a)};f.getUpdateTime=function(){return X(this,Nh,6)};
f.setUpdateTime=function(a){hj(this,Nh,6,a)};f.getVersion=function(){return Rh(this,7)};f.setVersion=function(a){return Ib(this,7,a)};f.getEntityStatus=function(){return X(this,yE,8)};f.toObject=function(){return S7b(this)};var S7b=function(a){if(null!=a)return r(a),{issueId:qj(a,1),updateText:U(a,2),formattedUpdateText:G7b(X(a,ME,3)),formattingMode:Zi(a,4,0),author:rE(a.getAuthor()),updateTime:Lt(a.getUpdateTime()),version:Rh(a,7),entityStatus:n7b(a.getEntityStatus())}};var SE=function(a){this.internalArray_=m(a)};T(SE,p);f=SE.prototype;f.getIssueId=function(){return qj(this,2)};f.setIssueId=function(a){return Jb(this,2,a)};f.getIssueState=function(){return X(this,K7b,3)};f.getAttachmentsList=function(){return kj(this,p7b,18)};f.setAttachmentsList=function(a){nj(this,18,a)};f.getDescription=function(){return X(this,PE,44)};f.setDescription=function(a){return hj(this,PE,44,a)};f.hasDescription=function(){return Nj(this,PE,44)};
f.getStatusUpdate=function(){return X(this,R7b,43)};f.hasStatusUpdate=function(){return Nj(this,R7b,43)};f.getCreatedTime=function(){return X(this,Nh,5)};f.getModifiedTime=function(){return X(this,Nh,6)};f.getLastModifier=function(){return X(this,ej,14)};f.setLastModifier=function(a){hj(this,ej,14,a)};f.getResolvedTime=function(){return X(this,Nh,7)};f.getVerifiedTime=function(){return X(this,Nh,8)};f.getUserData=function(){return X(this,RE,9)};f.setUserData=function(a){hj(this,RE,9,a)};
f.getVoteCount=function(){return qj(this,10)};f.setVoteCount=function(a){Jb(this,10,a)};f.getParentIssueIdsList=function(){return rl(this,37)};f.setParentIssueIdsList=function(a){Ab(this,37,a,gb)};f.getAccessLimit=function(){return X(this,rD,11)};f.setAccessLimit=function(a){return hj(this,rD,11,a)};f.getVersion=function(){return Rh(this,12)};f.setVersion=function(a){return Ib(this,12,a)};f.getEtag=function(){return Qj(this,13)};f.setEtag=function(a){UKb(this,13,a)};
f.getCustomFieldsList=function(){return kj(this,v7b,15)};f.setCustomFieldsList=function(a){nj(this,15,a)};f.getVisibleFieldsList=function(){return kj(this,x7b,34)};f.setVisibleFieldsList=function(a){nj(this,34,a)};f.getSloStatus=function(){return X(this,e7b,16)};f.setSloStatus=function(a){hj(this,e7b,16,a)};f.hasSloStatus=function(){return Nj(this,e7b,16)};f.getSloId=function(){return qj(this,17)};f.setSloId=function(a){return Jb(this,17,a)};f.getTeamId=function(){return qj(this,33)};
f.setTeamId=function(a){return Jb(this,33,a)};f.getRetentionState=function(){return X(this,zE,29)};f.setRetentionState=function(a){hj(this,zE,29,a)};f.getAncestorsMap=function(){return zb(this,38,Jj,nb)};f.getChildIssueCount=function(){return Rh(this,39)};f.setChildIssueCount=function(a){Ib(this,39,a)};f.getIsArchived=function(){return Tj(this,40)};f.setIsArchived=function(a){return Gb(this,40,a)};f.getRelatedLinksList=function(){return kj(this,P7b,41)};f.getTrackerId=function(){return qj(this,42)};
f.setTrackerId=function(a){Jb(this,42,a)};SE.repeatedFields_=[18,37,31,15,34,41];SE.prototype.toObject=function(){return T7b(this)};
var T7b=function(a){if(null!=a)return r(a),{issueId:qj(a,2),issueState:L7b(a.getIssueState()),issueComment:I7b(X(a,PE,4)),attachmentsList:Ub(a.getAttachmentsList(),q7b),description:I7b(a.getDescription()),statusUpdate:S7b(a.getStatusUpdate()),createdTime:Lt(a.getCreatedTime()),modifiedTime:Lt(a.getModifiedTime()),majorModifiedTime:Lt(X(a,Nh,35)),minorModifiedTime:Lt(X(a,Nh,36)),lastModifier:rE(a.getLastModifier()),resolvedTime:Lt(a.getResolvedTime()),verifiedTime:Lt(a.getVerifiedTime()),userData:M7b(a.getUserData()),
voteCount:qj(a,10),parentIssueId:qj(a,30),parentIssueIdsList:n(rl(a,37)),incomingDependencyIdsList:n(rl(a,31)),accessLimit:l3b(a.getAccessLimit()),version:Rh(a,12),etag:Xb(a.getEtag()),customFieldsList:Ub(a.getCustomFieldsList(),w7b),visibleFieldsList:Ub(a.getVisibleFieldsList(),y7b),sloStatus:f7b(a.getSloStatus()),sloId:qj(a,17),teamId:qj(a,33),retentionState:o7b(a.getRetentionState()),ancestorsMap:Wb(a.getAncestorsMap(),g7b),childIssueCount:Rh(a,39),isArchived:Tj(a,40),relatedLinksList:Ub(a.getRelatedLinksList(),
Q7b),trackerId:qj(a,42)}};var TE=function(a){this.internalArray_=m(a)};T(TE,p);TE.prototype.getContent=function(){return X(this,rk,1)};TE.prototype.setContent=function(a){return hj(this,rk,1,a)};TE.prototype.hasContent=function(){return Nj(this,rk,1)};TE.prototype.toObject=function(){return U7b(this)};var U7b=function(a){if(null!=a)return r(a),{content:IE(a.getContent())}};var UE=function(a){this.internalArray_=m(a)};T(UE,p);UE.prototype.getContent=function(){return X(this,rk,1)};UE.prototype.setContent=function(a){return hj(this,rk,1,a)};UE.prototype.hasContent=function(){return Nj(this,rk,1)};UE.prototype.toObject=function(){return V7b(this)};var V7b=function(a){if(null!=a)return r(a),{content:IE(a.getContent())}};var qra=function(a){this.internalArray_=m(a)};T(qra,p);f=qra.prototype;f.getIsQuoted=function(){return Tj(this,1)};f.setIsQuoted=function(a){return Vj(this,1,a)};f.getContent=function(){return X(this,rk,2)};f.setContent=function(a){return hj(this,rk,2,a)};f.hasContent=function(){return Nj(this,rk,2)};f.toObject=function(){return W7b(this)};var W7b=function(a){if(null!=a)return r(a),{isQuoted:n(vr(a,1)),content:IE(a.getContent())}};var VE=function(a){this.internalArray_=m(a)};T(VE,p);VE.prototype.getPlainSectionList=function(){return kj(this,qra,1)};VE.prototype.setPlainSectionList=function(a){return nj(this,1,a)};VE.repeatedFields_=[1];VE.prototype.toObject=function(){return X7b(this)};var X7b=function(a){if(null!=a)return r(a),{plainSectionList:Ub(a.getPlainSectionList(),W7b)}};var Oj=function(a){this.internalArray_=m(a)};T(Oj,p);f=Oj.prototype;f.getKindCase=function(){return Mi(this,WE)};f.getPlainFormat=function(){return ck(this,VE,1,WE)};f.setPlainFormat=function(a){Ao(this,1,WE,a)};f.hasPlainFormat=function(){return ak(this,VE,1,WE)};f.getMarkdownFormat=function(){return ck(this,UE,2,WE)};f.setMarkdownFormat=function(a){Ao(this,2,WE,a)};f.hasMarkdownFormat=function(){return ak(this,UE,2,WE)};f.getLiteralFormat=function(){return ck(this,TE,3,WE)};
f.setLiteralFormat=function(a){Ao(this,3,WE,a)};f.hasLiteralFormat=function(){return ak(this,TE,3,WE)};var WE=[1,2,3];Oj.prototype.toObject=function(){return Y7b(this)};var Y7b=function(a){if(null!=a)return r(a),{plainFormat:X7b(a.getPlainFormat()),markdownFormat:V7b(a.getMarkdownFormat()),literalFormat:U7b(a.getLiteralFormat())}};var aj=function(a){this.internalArray_=m(a)};T(aj,p);aj.prototype.getSeverity=function(){return Zi(this,1,0)};aj.prototype.setSeverity=function(a){return V(this,1,a)};aj.prototype.hasSeverity=function(){return pj(this,1)};aj.prototype.toObject=function(){return Z7b(this)};var Z7b=function(a){if(null!=a)return r(a),{severity:n(Er(a,1))}};var Dk=function(a){this.internalArray_=m(a)};T(Dk,p);Dk.prototype.toObject=function(){return $7b(this)};var $7b=function(a){if(null!=a)return r(a),{piiVerdict:Z7b(X(a,aj,1))}};var $i=function(a){this.internalArray_=m(a)};T($i,p);$i.prototype.hasRetentionSelection=function(){return pj(this,1)};$i.prototype.toObject=function(){return a8b(this)};var a8b=function(a){if(null!=a)return r(a),{retentionSelection:n(Er(a,1)),retentionPeriodDays:n(ft(a,2)),piiRetentionSelection:n(Er(a,3)),piiRetentionPeriodDays:n(ft(a,4)),spiiRetentionPeriodDays:n(ft(a,5))}};var Hj=function(a){this.internalArray_=m(a,0,Hj.messageId)};T(Hj,p);f=Hj.prototype;f.getRetentionPeriod=function(){return X(this,Ph,1)};f.setRetentionPeriod=function(a){hj(this,Ph,1,a)};f.getScheduledDeletionTime=function(){return X(this,Nh,2)};f.setScheduledDeletionTime=function(a){hj(this,Nh,2,a)};f.toObject=function(){return b8b(this)};var b8b=function(a){if(null!=a)return r(a),{retentionPeriod:zu(a.getRetentionPeriod()),scheduledDeletionTime:Lt(a.getScheduledDeletionTime())}};Hj.messageId="b.RetentionState";var fj=function(a){this.internalArray_=m(a)};T(fj,p);f=fj.prototype;f.getHours=function(){return Rh(this,1)};f.setHours=function(a){return Ib(this,1,a)};f.getMinutes=function(){return Rh(this,2)};f.setMinutes=function(a){return Ib(this,2,a)};f.getSeconds=function(){return Rh(this,3)};f.setSeconds=function(a){return Ib(this,3,a)};f.getNanos=function(){return Rh(this,4)};f.setNanos=function(a){return Ib(this,4,a)};f.toObject=function(){return c8b(this)};
var c8b=function(a){if(null!=a)return r(a),{hours:Rh(a,1),minutes:Rh(a,2),seconds:Rh(a,3),nanos:Rh(a,4)}};var gj=function(a){this.internalArray_=m(a)};T(gj,p);f=gj.prototype;f.getId=function(){return qj(this,1)};f.setId=function(a){return V(this,1,a)};f.setFrequency=function(a){return Yi(this,3,a)};f.getTimeZone=function(){return X(this,ij,5)};f.setTimeZone=function(a){return hj(this,ij,5,a)};f.hasTimeZone=function(){return Nj(this,ij,5)};f.toObject=function(){return d8b(this)};
var d8b=function(a){if(null!=a)return r(a),{id:n(Yb(a,1)),lead:rE(X(a,ej,2)),frequency:Zi(a,3,0),ordinal:Rh(a,4),timeZone:a5b(a.getTimeZone()),timeOfDay:c8b(X(a,fj,6))}};var XE=function(a){this.internalArray_=m(a)};T(XE,p);XE.prototype.getTeamId=function(){return qj(this,1)};XE.prototype.setTeamId=function(a){return Jb(this,1,a)};XE.prototype.getEffectiveSloEditPolicy=function(){return Zi(this,3,0)};XE.prototype.toObject=function(){return e8b(this)};var e8b=function(a){if(null!=a)return r(a),{teamId:qj(a,1),sloEditPolicy:Zi(a,2,0),effectiveSloEditPolicy:Zi(a,3,0)}};var cj=function(a){this.internalArray_=m(a)};T(cj,p);f=cj.prototype;f.getInherit=function(){return Tj(this,1)};f.setInherit=function(a){Vj(this,1,a)};f.getSource=function(){return Zi(this,2,0)};f.setSource=function(a){return V(this,2,a)};f.hasSource=function(){return pj(this,2)};f.getSourceOrUndefined=function(){return Qr(this,2)};f.getId=function(){return Ii(this,3)};f.setId=function(a){return V(this,3,a)};f.getSourceTeamId=function(){return Ii(this,5)};f.setSourceTeamId=function(a){V(this,5,a)};
f.getComment=function(){return U(this,4)};f.setComment=function(a){sk(this,4,a)};f.toObject=function(){return f8b(this)};var f8b=function(a){if(null!=a)return r(a),{inherit:n(vr(a,1)),source:n(Er(a,2)),id:n(Yb(a,3)),sourceTeamId:n(Yb(a,5)),sourceComponentId:n(Yb(a,6)),comment:n(Z(a,4))}};var bj=function(a){this.internalArray_=m(a)};T(bj,p);f=bj.prototype;f.getStartTime=function(){return X(this,Nh,1)};f.setStartTime=function(a){hj(this,Nh,1,a)};f.getEndTime=function(){return X(this,Nh,2)};f.setEndTime=function(a){hj(this,Nh,2,a)};f.getTargetTime=function(){return X(this,Nh,3)};f.setTargetTime=function(a){hj(this,Nh,3,a)};f.getObjective=function(){return X(this,Ph,4)};f.setObjective=function(a){return hj(this,Ph,4,a)};f.getBusinessDays=function(){return Rh(this,5)};
f.setBusinessDays=function(a){return V(this,5,a)};f.getDayType=function(){return Zi(this,6,0)};f.setDayType=function(a){return V(this,6,a)};f.toObject=function(){return g8b(this)};var g8b=function(a){if(null!=a)return r(a),{startTime:Lt(a.getStartTime()),endTime:Lt(a.getEndTime()),targetTime:Lt(a.getTargetTime()),objective:zu(a.getObjective()),businessDays:n(ft(a,5)),dayType:n(Er(a,6))}};var jj=function(a){this.internalArray_=m(a)};T(jj,p);f=jj.prototype;f.getMetric=function(){return Zi(this,1,0)};f.getMatcher=function(){return U(this,2)};f.setMatcher=function(a){return sk(this,2,a)};f.getDayType=function(){return Zi(this,4,0)};f.setDayType=function(a){return V(this,4,a)};f.getObjective=function(){return X(this,Ph,3)};f.setObjective=function(a){return hj(this,Ph,3,a)};f.getBusinessDays=function(){return Rh(this,5)};f.setBusinessDays=function(a){return V(this,5,a)};f.toObject=function(){return h8b(this)};
var h8b=function(a){if(null!=a)return r(a),{metric:n(Er(a,1)),matcher:n(Z(a,2)),dayType:n(Er(a,4)),objective:zu(a.getObjective()),businessDays:n(ft(a,5))}};var mj=function(a){this.internalArray_=m(a,0,mj.messageId)};T(mj,p);f=mj.prototype;f.getSloId=function(){return Ii(this,1)};f.setSloId=function(a){return V(this,1,a)};f.getVersion=function(){return Rh(this,2)};f.setVersion=function(a){return V(this,2,a)};f.getVersionOrUndefined=function(){return rt(this,2)};f.getName=function(){return U(this,3)};f.setName=function(a){return sk(this,3,a)};f.hasName=function(){return Hk(this,3)};f.getNameOrUndefined=function(){return tt(this,3)};
f.getDescription=function(){return U(this,4)};f.setDescription=function(a){return sk(this,4,a)};f.hasDescription=function(){return Hk(this,4)};f.getParentId=function(){return Ii(this,5)};f.setParentId=function(a){return V(this,5,a)};f.getIsArchived=function(){return Tj(this,8)};f.setIsArchived=function(a){return Vj(this,8,a)};mj.repeatedFields_=[6,7];mj.prototype.toObject=function(){return i8b(this)};
var i8b=function(a){if(null!=a)return r(a),{sloId:n(Yb(a,1)),version:n(ft(a,2)),name:n(Z(a,3)),description:n(Z(a,4)),parentId:n(Yb(a,5)),elementsList:Ub(kj(a,jj,6),h8b),effectiveElementsList:Ub(kj(a,jj,7),h8b),isArchived:n(vr(a,8)),alertState:n(Er(a,9))}};mj.messageId="b.SloState";var Ij=function(a){this.internalArray_=m(a)};T(Ij,p);f=Ij.prototype;f.getAssignmentBounds=function(){return X(this,bj,1)};f.setAssignmentBounds=function(a){hj(this,bj,1,a)};f.hasAssignmentBounds=function(){return Nj(this,bj,1)};f.getResponseBounds=function(){return X(this,bj,2)};f.setResponseBounds=function(a){hj(this,bj,2,a)};f.hasResponseBounds=function(){return Nj(this,bj,2)};f.getClosureBounds=function(){return X(this,bj,3)};f.setClosureBounds=function(a){hj(this,bj,3,a)};
f.hasClosureBounds=function(){return Nj(this,bj,3)};f.toObject=function(){return j8b(this)};var j8b=function(a){if(null!=a)return r(a),{assignmentBounds:g8b(a.getAssignmentBounds()),responseBounds:g8b(a.getResponseBounds()),closureBounds:g8b(a.getClosureBounds())}};var k8b=function(a){this.internalArray_=m(a,0,k8b.messageId)};T(k8b,p);f=k8b.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getReason=function(){return Zi(this,2,0)};f.setReason=function(a){V(this,2,a)};f.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),reason:n(Er(this,2))}}else a=void 0;return a};k8b.messageId="b.DeleteIssueRequest";var Aj=function(a){this.internalArray_=m(a)};T(Aj,p);f=Aj.prototype;f.getFieldName=function(){return U(this,1)};f.setFieldName=function(a){sk(this,1,a)};f.getValue=function(){return U(this,2)};f.setValue=function(a){return sk(this,2,a)};f.hasValue=function(){return Hk(this,2)};f.setActionType=function(a){V(this,3,a)};f.getCustomFieldValue=function(){return X(this,Oi,5)};f.setCustomFieldValue=function(a){return hj(this,Oi,5,a)};f.clearCustomFieldValue=function(){return ct(this,5)};
f.hasCustomFieldValue=function(){return Nj(this,Oi,5)};f.toObject=function(){return l8b(this)};var l8b=function(a){if(null!=a)return r(a),{fieldName:n(Z(a,1)),value:n(Z(a,2)),actionType:n(Er(a,3)),customFieldValue:X6b(a.getCustomFieldValue())}};var yj=function(a){this.internalArray_=m(a)};T(yj,p);yj.prototype.getAccessLevel=function(){return Zi(this,1,0)};yj.prototype.setAccessLevel=function(a){return V(this,1,a)};yj.prototype.toObject=function(){return m8b(this)};var m8b=function(a){if(null!=a)return r(a),{accessLevel:n(Er(a,1))}};var xj=function(a){this.internalArray_=m(a,0,xj.messageId)};T(xj,p);f=xj.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getIssueAccessLimit=function(){return X(this,yj,2)};f.setIssueAccessLimit=function(a){hj(this,yj,2,a)};f.getAddedCollaboratorsList=function(){return kj(this,ri,3)};f.setAddedCollaboratorsList=function(a){nj(this,3,a)};f.getRemovedCollaboratorsList=function(){return kj(this,ri,4)};
f.setRemovedCollaboratorsList=function(a){nj(this,4,a)};xj.repeatedFields_=[3,4];xj.prototype.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),issueAccessLimit:m8b(this.getIssueAccessLimit()),addedCollaboratorsList:Ub(this.getAddedCollaboratorsList(),sE),removedCollaboratorsList:Ub(this.getRemovedCollaboratorsList(),sE)}}else a=void 0;return a};xj.messageId="b.GetRetainedAccessPrincipalsRequest";var Gj=function(a){this.internalArray_=m(a)};T(Gj,p);f=Gj.prototype;f.getVoteCount=function(){return qj(this,1)};f.setVoteCount=function(a){V(this,1,a)};f.getCreatedTimeMicros=function(){return qj(this,2)};f.setCreatedTimeMicros=function(a){V(this,2,a)};f.getModifiedTimeMicros=function(){return qj(this,3)};f.setModifiedTimeMicros=function(a){V(this,3,a)};f.getLastModifier=function(){return X(this,ri,10)};f.setLastModifier=function(a){hj(this,ri,10,a)};f.getSloStatus=function(){return X(this,Ij,6)};
f.setSloStatus=function(a){hj(this,Ij,6,a)};f.hasSloStatus=function(){return Nj(this,Ij,6)};f.getSloId=function(){return Ii(this,7)};f.setSloId=function(a){return V(this,7,a)};f.getTeamId=function(){return Ii(this,9)};f.setTeamId=function(a){return V(this,9,a)};f.getRetentionState=function(){return X(this,Hj,8)};f.setRetentionState=function(a){hj(this,Hj,8,a)};f.toObject=function(){return n8b(this)};
var n8b=function(a){if(null!=a)return r(a),{voteCount:n(Yb(a,1)),createdTimeMicros:n(Yb(a,2)),modifiedTimeMicros:n(Yb(a,3)),resolvedTimeMicros:n(Yb(a,4)),verifiedTimeMicros:n(Yb(a,5)),lastModifier:sE(a.getLastModifier()),sloStatus:j8b(a.getSloStatus()),sloId:n(Yb(a,7)),teamId:n(Yb(a,9)),retentionState:b8b(a.getRetentionState())}};var YE=function(a){this.internalArray_=m(a,0,YE.messageId)};T(YE,p);f=YE.prototype;f.getHasReacted=function(){return Tj(this,1)};f.setHasReacted=function(a){return Vj(this,1,a)};f.getCount=function(){return qj(this,2)};f.setCount=function(a){return V(this,2,a)};f.getRecentRespondersList=function(){return kj(this,ri,3)};f.getType=function(){return Zi(this,4,0)};f.setType=function(a){return V(this,4,a)};f.hasType=function(){return pj(this,4)};YE.repeatedFields_=[3];YE.prototype.toObject=function(){return o8b(this)};
var o8b=function(a){if(null!=a)return r(a),{hasReacted:n(vr(a,1)),count:n(Yb(a,2)),recentRespondersList:Ub(a.getRecentRespondersList(),sE),type:n(Er(a,4))}};YE.messageId="b.ReactionState";var ZE=function(a){this.internalArray_=m(a,0,ZE.messageId)};T(ZE,p);ZE.prototype.getReactionStatesList=function(){return kj(this,YE,1)};ZE.prototype.addReactionStates=function(a){return Co(this,1,YE,a)};ZE.repeatedFields_=[1];ZE.prototype.toObject=function(){return p8b(this)};var p8b=function(a){if(null!=a)return r(a),{reactionStatesList:Ub(a.getReactionStatesList(),o8b)}};ZE.messageId="b.CommentReaction";var $E=function(a){this.internalArray_=m(a)};T($E,p);f=$E.prototype;f.getStatus=function(){return Zi(this,1,0)};f.setStatus=function(a){return V(this,1,a)};f.hasStatus=function(){return pj(this,1)};f.getReason=function(){return Zi(this,2,0)};f.setReason=function(a){V(this,2,a)};f.toObject=function(){return aF(this)};var aF=function(a){if(null!=a)return r(a),{status:n(Er(a,1)),reason:n(Er(a,2))}};var bF=function(a){this.internalArray_=m(a)};T(bF,p);bF.prototype.getMentionedUser=function(){return X(this,ri,1)};bF.prototype.getState=function(){return Zi(this,2,0)};bF.repeatedFields_=[3];bF.prototype.toObject=function(){return q8b(this)};var q8b=function(a){if(null!=a)return r(a),{mentionedUser:sE(a.getMentionedUser()),state:n(Er(a,2)),displayEmailList:n(Th(a,3))}};var cF=function(a){this.internalArray_=m(a,0,cF.messageId)};T(cF,p);f=cF.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getCommentId=function(){return Rh(this,2)};f.getMentionsList=function(){return kj(this,bF,16)};f.getLastModified=function(){return qj(this,5)};f.getVersion=function(){return Rh(this,6)};f.setVersion=function(a){return V(this,6,a)};f.getVersionOrUndefined=function(){return rt(this,6)};
f.getEntityStatus=function(){return X(this,$E,9)};f.getFormattingMode=function(){return Zi(this,10,0)};f.setFormattingMode=function(a){return V(this,10,a)};f.getFormattedComment=function(){return X(this,Oj,13)};f.hasFormattedComment=function(){return Nj(this,Oj,13)};f.getPiiRetentionState=function(){return X(this,Hj,11)};f.getPiiRetention=function(){return Zi(this,12,0)};f.setPiiRetention=function(a){return V(this,12,a)};f.getRedacted=function(){return Tj(this,15)};
f.getEtag=function(){return U(this,17)};f.setEtag=function(a){sk(this,17,a)};f.hasEtag=function(){return Hk(this,17)};f.getCommentReaction=function(){return X(this,ZE,18)};cF.repeatedFields_=[16];cF.prototype.toObject=function(){return r8b(this)};
var r8b=function(a){if(null!=a)return r(a),{issueId:n(Yb(a,1)),commentId:n(ft(a,2)),mentionsList:Ub(a.getMentionsList(),q8b),commentContentVerdict:$7b(X(a,Dk,14)),lastEditorUser:sE(X(a,ri,8)),lastModified:n(Yb(a,5)),version:n(ft(a,6)),unlinkifiedComment:n(Z(a,7)),entityStatus:aF(a.getEntityStatus()),formattingMode:n(Er(a,10)),formattedComment:Y7b(a.getFormattedComment()),piiRetentionState:b8b(a.getPiiRetentionState()),piiRetention:n(Er(a,12)),redacted:n(vr(a,15)),etag:n(Z(a,17)),commentReaction:p8b(a.getCommentReaction())}};
cF.messageId="b.IssueComment";var sj=function(a){this.internalArray_=m(a)};T(sj,p);f=sj.prototype;f.getCreatedTimeMicros=function(){return qj(this,2)};f.setCreatedTimeMicros=function(a){V(this,2,a)};f.getComponentId=function(){return Ii(this,3)};f.setComponentId=function(a){return V(this,3,a)};f.hasComponentId=function(){return Hi(this,3)};f.getVersion=function(){return qj(this,4)};f.setVersion=function(a){return V(this,4,a)};f.getVersionOrUndefined=function(){return st(this,4)};f.getType=function(){return Zi(this,5,0)};
f.setType=function(a){return V(this,5,a)};f.hasType=function(){return pj(this,5)};f.getStatus=function(){return Zi(this,6,0)};f.setStatus=function(a){return V(this,6,a)};f.hasStatus=function(){return pj(this,6)};f.getPriority=function(){return Zi(this,7,0)};f.setPriority=function(a){return V(this,7,a)};f.hasPriority=function(){return pj(this,7)};f.getSeverity=function(){return Zi(this,8,0)};f.setSeverity=function(a){return V(this,8,a)};f.hasSeverity=function(){return pj(this,8)};
f.getTitle=function(){return U(this,9)};f.setTitle=function(a){return sk(this,9,a)};f.getAttachmentId=function(){return jt(this,14)};f.setAttachmentId=function(a){mt(this,14,a)};f.getPostmortemsList=function(){return Th(this,35)};f.setPostmortemsList=function(a){Pi(this,35,a)};f.setFoundInVersion=function(a){nt(this,19,a)};f.setTargetedToVersion=function(a){nt(this,20,a)};f.setVerifiedInVersion=function(a){nt(this,21,a)};f.getInProd=function(){return Tj(this,22)};
f.setInProd=function(a){Vj(this,22,a)};f.getHotlistIdList=function(){return Sh(this,23)};f.setHotlistIdList=function(a){uj(this,23,a)};f.getHotlistId=function(){return jt(this,23)};f.setHotlistId=function(a){mt(this,23,a)};f.setCustomField=function(a,b){return $s(this,24,Oi,a,b)};f.getRetention=function(){return Zi(this,42,0)};f.setRetention=function(a){V(this,42,a)};f.getIsDeleted=function(){return Tj(this,27)};f.setIsDeleted=function(a){Vj(this,27,a)};
f.getDeletionReason=function(){return Zi(this,28,0)};f.setDeletionReason=function(a){V(this,28,a)};f.getSignificanceOverride=function(){return Zi(this,29,0)};f.setSignificanceOverride=function(a){V(this,29,a)};f.getIsArchived=function(){return Tj(this,31)};f.setIsArchived=function(a){return Vj(this,31,a)};f.getComment=function(){return U(this,25)};f.setComment=function(a){sk(this,25,a)};f.getFormattingMode=function(){return Zi(this,45,0)};f.setFormattingMode=function(a){return V(this,45,a)};
f.getSloStartTime=function(){return X(this,Nh,34)};f.setSloStartTime=function(a){hj(this,Nh,34,a)};f.hasSloStartTime=function(){return Nj(this,Nh,34)};f.getSloEndTime=function(){return X(this,Nh,54)};f.setSloEndTime=function(a){hj(this,Nh,54,a)};f.hasSloEndTime=function(){return Nj(this,Nh,54)};f.getSloSnoozeType=function(){return Zi(this,52,0)};f.setSloSnoozeType=function(a){V(this,52,a)};f.getEffort=function(){return X(this,vj,50)};f.setEffort=function(a){hj(this,vj,50,a)};
f.hasEffort=function(){return Nj(this,vj,50)};f.getAccessLimitLevel=function(){return Zi(this,53,0)};f.setAccessLimitLevel=function(a){V(this,53,a)};f.hasAccessLimitLevel=function(){return pj(this,53)};sj.repeatedFields_=[40,51,14,16,17,18,35,19,20,21,23,24,30];sj.prototype.toObject=function(){return s8b(this)};
var s8b=function(a){if(null!=a)return r(a),{authorUser:sE(X(a,ri,36)),createdTimeMicros:n(Yb(a,2)),componentId:n(Yb(a,3)),version:n(Yb(a,4)),type:n(Er(a,5)),status:n(Er(a,6)),priority:n(Er(a,7)),severity:n(Er(a,8)),title:n(Z(a,9)),reporterUser:sE(X(a,ri,37)),assigneeUser:sE(X(a,ri,38)),verifierUser:sE(X(a,ri,39)),ccUsersList:Ub(kj(a,ri,40),sE),collaboratorUsersList:Ub(kj(a,ri,51),sE),attachmentIdList:n(Sh(a,14)),duplicateOfIssueId:n(Yb(a,15)),blockedByIssueIdList:n(Sh(a,16)),blockingIssueIdList:n(Sh(a,
17)),changelistList:n(Th(a,18)),postmortemsList:n(Th(a,35)),foundInVersionList:n(Th(a,19)),targetedToVersionList:n(Th(a,20)),verifiedInVersionList:n(Th(a,21)),inProd:n(vr(a,22)),hotlistIdList:n(Sh(a,23)),customFieldList:Ub(kj(a,Oi,24),X6b),retention:n(Er(a,42)),isDeleted:n(vr(a,27)),deletionReason:n(Er(a,28)),significanceOverride:n(Er(a,29)),duplicateIssueIdList:n(Sh(a,30)),isArchived:n(vr(a,31)),comment:n(Z(a,25)),formattingMode:n(Er(a,45)),sloStartTime:Lt(a.getSloStartTime()),sloEndTime:Lt(a.getSloEndTime()),
sloSnoozeType:n(Er(a,52)),effort:c7b(a.getEffort()),accessLimitLevel:n(Er(a,53))}};var Fj=function(a){this.internalArray_=m(a,0,Fj.messageId)};T(Fj,p);f=Fj.prototype;f.getStarred=function(){return Tj(this,1)};f.setStarred=function(a){Vj(this,1,a)};f.hasStarred=function(){return Ok(this,1)};f.getVoted=function(){return Tj(this,2)};f.setVoted=function(a){return Vj(this,2,a)};f.getNotificationSubscription=function(){return Zi(this,4,0)};f.setNotificationSubscription=function(a){return V(this,4,a)};f.toObject=function(){return t8b(this)};
var t8b=function(a){if(null!=a)return r(a),{starred:n(vr(a,1)),voted:n(vr(a,2)),notificationSubscription:n(Er(a,4)),lastViewedTimeMicros:n(Yb(a,5))}};Fj.messageId="b.IssueUserData";var dF=function(a){this.internalArray_=m(a,0,dF.messageId)};T(dF,p);f=dF.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getUpdateText=function(){return U(this,2)};f.setUpdateText=function(a){sk(this,2,a)};f.getFormattingMode=function(){return Zi(this,4,0)};f.setFormattingMode=function(a){return V(this,4,a)};f.getAuthor=function(){return X(this,ri,5)};f.setAuthor=function(a){hj(this,ri,5,a)};f.getUpdateTime=function(){return X(this,Nh,6)};
f.setUpdateTime=function(a){hj(this,Nh,6,a)};f.getVersion=function(){return Rh(this,7)};f.setVersion=function(a){return V(this,7,a)};f.getVersionOrUndefined=function(){return rt(this,7)};f.getEntityStatus=function(){return X(this,$E,8)};f.toObject=function(){return u8b(this)};var u8b=function(a){if(null!=a)return r(a),{issueId:n(Yb(a,1)),updateText:n(Z(a,2)),formattedText:Y7b(X(a,Oj,3)),formattingMode:n(Er(a,4)),author:sE(a.getAuthor()),updateTime:Lt(a.getUpdateTime()),version:n(ft(a,7)),entityStatus:aF(a.getEntityStatus())}};
dF.messageId="b.StatusUpdate";var Ej=function(a){this.internalArray_=m(a)};T(Ej,p);f=Ej.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.setSnapshot=function(a){$s(this,2,sj,a)};f.getUserData=function(){return X(this,Fj,3)};f.setUserData=function(a){hj(this,Fj,3,a)};f.getParentIssueIdsList=function(){return Sh(this,8)};f.setParentIssueIdsList=function(a){uj(this,8,a)};f.getAccessLimit=function(){return X(this,ki,5)};f.setAccessLimit=function(a){return hj(this,ki,5,a)};
f.getCustomFieldsList=function(){return kj(this,Ti,15)};f.setCustomFieldsList=function(a){nj(this,15,a)};f.getDescription=function(){return X(this,cF,16)};f.setDescription=function(a){return hj(this,cF,16,a)};f.hasDescription=function(){return Nj(this,cF,16)};f.getVisibleFieldsList=function(){return kj(this,Li,6)};f.setVisibleFieldsList=function(a){nj(this,6,a)};f.getAncestorsMap=function(){return zb(this,9,Jj,nb)};f.getChildIssueCount=function(){return Rh(this,10)};
f.setChildIssueCount=function(a){V(this,10,a)};f.getIsArchived=function(){return Tj(this,11)};f.setIsArchived=function(a){return Vj(this,11,a)};f.getRelatedLinksList=function(){return kj(this,P7b,12)};f.getTrackerId=function(){return Ii(this,13)};f.setTrackerId=function(a){V(this,13,a)};f.getStatusUpdate=function(){return X(this,dF,14)};f.hasStatusUpdate=function(){return Nj(this,dF,14)};Ej.repeatedFields_=[2,8,15,6,12];Ej.prototype.toObject=function(){return eF(this)};
var eF=function(a){if(null!=a)return r(a),{issueId:n(Yb(a,1)),snapshotList:Ub(kj(a,sj,2),s8b),userData:t8b(a.getUserData()),aggregatedData:n8b(X(a,Gj,4)),parentIssueIdsList:n(Sh(a,8)),accessLimit:T6b(a.getAccessLimit()),customFieldsList:Ub(a.getCustomFieldsList(),Y6b),description:r8b(a.getDescription()),visibleFieldsList:Ub(a.getVisibleFieldsList(),R6b),majorModifiedTimeMicros:n(Yb(a,7)),ancestorsMap:Wb(a.getAncestorsMap(),g7b),childIssueCount:n(ft(a,10)),isArchived:n(vr(a,11)),relatedLinksList:Ub(a.getRelatedLinksList(),
Q7b),trackerId:n(Yb(a,13)),statusUpdate:u8b(a.getStatusUpdate())}};var Dj=function(a){this.internalArray_=m(a,0,Dj.messageId)};T(Dj,p);f=Dj.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getPosition=function(){return Rh(this,2)};f.setPosition=function(a){return V(this,2,a)};f.getIssue=function(){return X(this,Ej,3)};f.setIssue=function(a){hj(this,Ej,3,a)};f.toObject=function(){return v8b(this)};var v8b=function(a){if(null!=a)return r(a),{issueId:n(Yb(a,1)),position:n(ft(a,2)),issue:eF(a.getIssue())}};
Dj.messageId="b.HotlistIssue";var Lj=function(a){this.internalArray_=m(a)};T(Lj,p);f=Lj.prototype;f.getSnapshot=function(){return X(this,sj,1)};f.setSnapshot=function(a){hj(this,sj,1,a)};f.getAttachmentsList=function(){return bt(this,2)};f.setAttachmentsList=function(a){TKb(this,2,a)};f.getAttachments=function(){return ZKb(this,2)};f.getTemplateId=function(){return Ii(this,4)};f.setTemplateId=function(a){V(this,4,a)};f.getContentJudgement=function(){return X(this,Ji,5)};f.setContentJudgement=function(a){return hj(this,Ji,5,a)};
Lj.repeatedFields_=[2,3];Lj.prototype.toObject=function(){if(null!=this){r(this);var a={snapshot:s8b(this.getSnapshot()),attachmentsList:Xb(this.getAttachmentsList()),attachmentStringsList:n(Th(this,3)),templateId:n(Yb(this,4)),contentJudgement:wE(this.getContentJudgement())}}else a=void 0;return a};var Bj=function(a){this.internalArray_=m(a)};T(Bj,p);f=Bj.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getActionsList=function(){return kj(this,Aj,2)};f.setActionsList=function(a){nj(this,2,a)};f.getAttachmentsList=function(){return bt(this,3)};f.setAttachmentsList=function(a){TKb(this,3,a)};f.getAttachments=function(){return ZKb(this,3)};f.getSignificanceOverride=function(){return U(this,4)};f.setSignificanceOverride=function(a){sk(this,4,a)};
Bj.repeatedFields_=[2,3,5];Bj.prototype.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),actionsList:Ub(this.getActionsList(),l8b),attachmentsList:Xb(this.getAttachmentsList()),significanceOverride:n(Z(this,4)),attachmentStringsList:n(Th(this,5))}}else a=void 0;return a};var w8b=function(a){this.internalArray_=m(a)};T(w8b,p);f=w8b.prototype;f.getCount=function(){return Rh(this,2)};f.setCount=function(a){return V(this,2,a)};f.setS=function(a){sk(this,3,a)};f.setP=function(a){return V(this,4,a)};f.getNextPageToken=function(){return U(this,5)};f.setTrackerIdsList=function(a){uj(this,6,a)};w8b.repeatedFields_=[6];
w8b.prototype.toObject=function(){if(null!=this){r(this);var a={q:n(Z(this,1)),count:n(ft(this,2)),s:n(Z(this,3)),p:n(ft(this,4)),nextPageToken:n(Z(this,5)),trackerIdsList:n(Sh(this,6))}}else a=void 0;return a};var qsa=function(a){this.internalArray_=m(a)};T(qsa,p);f=qsa.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getComponentId=function(){return Ii(this,2)};f.setComponentId=function(a){return V(this,2,a)};f.hasComponentId=function(){return Hi(this,2)};f.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),componentId:n(Yb(this,2))}}else a=void 0;return a};var osa=function(a){this.internalArray_=m(a)};T(osa,p);f=osa.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getComponentId=function(){return Ii(this,2)};f.setComponentId=function(a){return V(this,2,a)};f.hasComponentId=function(){return Hi(this,2)};f.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),componentId:n(Yb(this,2))}}else a=void 0;return a};var Kj=function(a){this.internalArray_=m(a)};T(Kj,p);f=Kj.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getRelation=function(){return Zi(this,3,0)};f.setRelation=function(a){V(this,3,a)};f.setActionType=function(a){V(this,4,a)};Kj.repeatedFields_=[2];Kj.prototype.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),targetIdsList:n(Sh(this,2)),relation:n(Er(this,3)),actionType:n(Er(this,4))}}else a=void 0;return a};var zj=function(a){this.internalArray_=m(a,0,zj.messageId)};T(zj,p);zj.prototype.getIssueId=function(){return Ii(this,1)};zj.prototype.setIssueId=function(a){return V(this,1,a)};zj.prototype.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1))}}else a=void 0;return a};zj.messageId="b.UnCcUserActionRequest";var fF=function(a){this.internalArray_=m(a,0,fF.messageId)};T(fF,p);fF.prototype.getIssueId=function(){return Ii(this,1)};fF.prototype.setIssueId=function(a){return V(this,1,a)};fF.prototype.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1))}}else a=void 0;return a};fF.messageId="b.UndeleteIssueRequest";var gF=function(a){this.internalArray_=m(a)};T(gF,p);gF.prototype.getAccessLevel=function(){return Zi(this,1,0)};gF.prototype.setAccessLevel=function(a){return V(this,1,a)};gF.prototype.toObject=function(){return x8b(this)};var x8b=function(a){if(null!=a)return r(a),{accessLevel:n(Er(a,1))}};var hF=function(a){this.internalArray_=m(a,0,hF.messageId)};T(hF,p);f=hF.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getIssueAccessLimit=function(){return X(this,gF,2)};f.setIssueAccessLimit=function(a){hj(this,gF,2,a)};f.getAddedCollaboratorsList=function(){return kj(this,ri,3)};f.setAddedCollaboratorsList=function(a){nj(this,3,a)};f.getRemovedCollaboratorsList=function(){return kj(this,ri,4)};
f.setRemovedCollaboratorsList=function(a){nj(this,4,a)};hF.repeatedFields_=[3,4];hF.prototype.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),issueAccessLimit:x8b(this.getIssueAccessLimit()),addedCollaboratorsList:Ub(this.getAddedCollaboratorsList(),sE),removedCollaboratorsList:Ub(this.getRemovedCollaboratorsList(),sE)}}else a=void 0;return a};hF.messageId="b.UpdateIssueAccessLimitRequest";var Cj=function(a){this.internalArray_=m(a)};T(Cj,p);Cj.prototype.setAddHotlistIdsList=function(a){uj(this,1,a)};Cj.prototype.setRemoveHotlistIdsList=function(a){uj(this,2,a)};Cj.prototype.getSignificanceOverride=function(){return Zi(this,4,0)};Cj.prototype.setSignificanceOverride=function(a){V(this,4,a)};Cj.repeatedFields_=[1,2];
Cj.prototype.toObject=function(){if(null!=this){r(this);var a={addHotlistIdsList:n(Sh(this,1)),removeHotlistIdsList:n(Sh(this,2)),hotlistIssue:v8b(X(this,Dj,3)),significanceOverride:n(Er(this,4))}}else a=void 0;return a};var Bsa=function(a){this.internalArray_=m(a)};T(Bsa,p);f=Bsa.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getRetention=function(){return Zi(this,2,0)};f.setRetention=function(a){V(this,2,a)};f.getSignificanceOverride=function(){return Zi(this,3,0)};f.setSignificanceOverride=function(a){V(this,3,a)};
f.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),retention:n(Er(this,2)),significanceOverride:n(Er(this,3))}}else a=void 0;return a};var Rj=function(a){this.internalArray_=m(a)};T(Rj,p);Rj.prototype.getContentJudgement=function(){return X(this,Ji,2)};Rj.prototype.setContentJudgement=function(a){return hj(this,Ji,2,a)};Rj.prototype.toObject=function(){return y8b(this)};var y8b=function(a){if(null!=a)return r(a),{attachment:Xb(Qj(a,1)),contentJudgement:wE(a.getContentJudgement())}};var iF=function(a){this.internalArray_=m(a)};T(iF,p);iF.prototype.getIssueId=function(){return Ii(this,1)};iF.prototype.setIssueId=function(a){return V(this,1,a)};iF.repeatedFields_=[3];iF.prototype.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),attachmentsWithJudgementsList:Ub(kj(this,Rj,3),y8b)}}else a=void 0;return a};var z8b=function(a){this.internalArray_=m(a)};T(z8b,p);f=z8b.prototype;f.getFilename=function(){return U(this,1)};f.setFilename=function(a){sk(this,1,a)};f.getMimeType=function(){return U(this,2)};f.setMimeType=function(a){sk(this,2,a)};f.getSize=function(){return qj(this,5)};f.setSize=function(a){return V(this,5,a)};f.toObject=function(){if(null!=this){r(this);var a={filename:n(Z(this,1)),mimeType:n(Z(this,2)),encryptedBlobId:n(Z(this,3)),docId:n(Z(this,4)),size:n(Yb(this,5))}}else a=void 0;return a};var Usa=function(a){this.internalArray_=m(a)};T(Usa,p);f=Usa.prototype;f.getTeamId=function(){return qj(this,1)};f.setTeamId=function(a){return Jb(this,1,a)};f.getScore=function(){return rj(this,2)};f.setScore=function(a){Bb(this,2,Xa(a),0)};f.toObject=function(){return A8b(this)};var A8b=function(a){if(null!=a)return r(a),{teamId:qj(a,1),score:rj(a,2)}};var Xj=function(a){this.internalArray_=m(a)};T(Xj,p);f=Xj.prototype;f.getInherit=function(){return Tj(this,1)};f.setInherit=function(a){Vj(this,1,a)};f.getId=function(){return Ii(this,2)};f.setId=function(a){return V(this,2,a)};f.toObject=function(){return B8b(this)};var B8b=function(a){if(null!=a)return r(a),{inherit:n(vr(a,1)),id:n(Yb(a,2))}};var Uj=function(a){this.internalArray_=m(a)};T(Uj,p);Uj.prototype.getUser=function(){return X(this,ri,1)};Uj.prototype.setUser=function(a){hj(this,ri,1,a)};Uj.prototype.hasUser=function(){return Nj(this,ri,1)};Uj.prototype.toObject=function(){return C8b(this)};var C8b=function(a){if(null!=a)return r(a),{user:sE(a.getUser()),isLead:n(vr(a,2))}};var Wj=function(a){this.internalArray_=m(a)};T(Wj,p);f=Wj.prototype;f.getInherit=function(){return Tj(this,1)};f.setInherit=function(a){Vj(this,1,a)};f.getSloId=function(){return Ii(this,2)};f.setSloId=function(a){return V(this,2,a)};f.getComment=function(){return U(this,3)};f.setComment=function(a){sk(this,3,a)};f.getSourceTeamId=function(){return Ii(this,4)};f.setSourceTeamId=function(a){V(this,4,a)};f.toObject=function(){return D8b(this)};
var D8b=function(a){if(null!=a)return r(a),{inherit:n(vr(a,1)),sloId:n(Yb(a,2)),comment:n(Z(a,3)),sourceTeamId:n(Yb(a,4))}};var jF=function(a){this.internalArray_=m(a,0,jF.messageId)};T(jF,p);f=jF.prototype;f.getTeamId=function(){return Ii(this,1)};f.setTeamId=function(a){return V(this,1,a)};f.getVersion=function(){return Rh(this,2)};f.setVersion=function(a){return V(this,2,a)};f.getVersionOrUndefined=function(){return rt(this,2)};f.getName=function(){return U(this,3)};f.setName=function(a){return sk(this,3,a)};f.hasName=function(){return Hk(this,3)};f.getNameOrUndefined=function(){return tt(this,3)};
f.getDescription=function(){return U(this,4)};f.setDescription=function(a){return sk(this,4,a)};f.hasDescription=function(){return Hk(this,4)};f.getPathNamesList=function(){return Th(this,5)};f.setPathNamesList=function(a){Pi(this,5,a)};f.getPathIdsList=function(){return rl(this,10)};f.setPathIdsList=function(a){Ab(this,10,a,gb)};f.getMembersList=function(){return kj(this,Uj,7)};f.setMembersList=function(a){nj(this,7,a)};f.getDeleted=function(){return Tj(this,8)};
f.setDeleted=function(a){Vj(this,8,a)};f.getSlo=function(){return X(this,Wj,11)};f.setSlo=function(a){hj(this,Wj,11,a)};f.hasSlo=function(){return Nj(this,Wj,11)};jF.repeatedFields_=[5,10,6,7];jF.prototype.toObject=function(){return E8b(this)};
var E8b=function(a){if(null!=a)return r(a),{teamId:n(Yb(a,1)),version:n(ft(a,2)),name:n(Z(a,3)),description:n(Z(a,4)),pathNamesList:n(Th(a,5)),pathIdsList:n(rl(a,10)),collapsedPathNamesList:n(Th(a,6)),membersList:Ub(a.getMembersList(),C8b),deleted:n(vr(a,8)),estimatedComponentCount:n(Yb(a,9)),slo:D8b(a.getSlo()),sloLead:sE(X(a,ri,12)),defaultSloLead:sE(X(a,ri,13))}};jF.messageId="b.TeamState";var F8b=function(a){this.internalArray_=m(a)};T(F8b,p);f=F8b.prototype;f.getPathIdsList=function(){return Sh(this,1)};f.setPathIdsList=function(a){uj(this,1,a)};f.getPathNamesList=function(){return Th(this,2)};f.setPathNamesList=function(a){Pi(this,2,a)};f.getId=function(){return Ii(this,3)};f.setId=function(a){return V(this,3,a)};f.getName=function(){return U(this,4)};f.setName=function(a){return sk(this,4,a)};f.hasName=function(){return Hk(this,4)};
f.getNameOrUndefined=function(){return tt(this,4)};f.getDescription=function(){return U(this,5)};f.setDescription=function(a){return sk(this,5,a)};f.hasDescription=function(){return Hk(this,5)};F8b.repeatedFields_=[1,2];F8b.prototype.toObject=function(){return G8b(this)};var G8b=function(a){if(null!=a)return r(a),{pathIdsList:n(Sh(a,1)),pathNamesList:n(Th(a,2)),id:n(Yb(a,3)),name:n(Z(a,4)),description:n(Z(a,5))}};var H8b=function(a){this.internalArray_=m(a)};T(H8b,p);f=H8b.prototype;f.getId=function(){return Ii(this,1)};f.setId=function(a){return V(this,1,a)};f.getName=function(){return U(this,2)};f.setName=function(a){return sk(this,2,a)};f.hasName=function(){return Hk(this,2)};f.getNameOrUndefined=function(){return tt(this,2)};f.getDescription=function(){return U(this,3)};f.setDescription=function(a){return sk(this,3,a)};f.hasDescription=function(){return Hk(this,3)};f.toObject=function(){return I8b(this)};
var I8b=function(a){if(null!=a)return r(a),{id:n(Yb(a,1)),name:n(Z(a,2)),description:n(Z(a,3))}};var Zj=function(a){this.internalArray_=m(a)};T(Zj,p);Zj.repeatedFields_=[1,2,4];Zj.prototype.toObject=function(){return J8b(this)};var J8b=function(a){if(null!=a)return r(a),{componentPathIdList:n(Sh(a,1)),componentPathNameList:n(Th(a,2)),allCustomFieldList:Ub(kj(a,Ti,4),Y6b)}};var dk=function(a){this.internalArray_=m(a,0,dk.messageId)};T(dk,p);f=dk.prototype;f.getComponentId=function(){return Ii(this,1)};f.setComponentId=function(a){return V(this,1,a)};f.hasComponentId=function(){return Hi(this,1)};f.getName=function(){return U(this,3)};f.setName=function(a){return sk(this,3,a)};f.hasName=function(){return Hk(this,3)};f.getNameOrUndefined=function(){return tt(this,3)};f.getDescription=function(){return U(this,4)};f.setDescription=function(a){return sk(this,4,a)};
f.hasDescription=function(){return Hk(this,4)};f.getArchived=function(){return Tj(this,5)};f.setArchived=function(a){Vj(this,5,a)};f.getCustomFieldId=function(){return jt(this,7)};f.setCustomFieldId=function(a){return mt(this,7,a)};f.getHotlistIdList=function(){return Sh(this,8)};f.setHotlistIdList=function(a){uj(this,8,a)};f.getHotlistId=function(){return jt(this,8)};f.setHotlistId=function(a){mt(this,8,a)};f.getTemplateId=function(){return jt(this,9)};f.setTemplateId=function(a){mt(this,9,a)};
f.getAccessLimit=function(){return X(this,ki,12)};f.setAccessLimit=function(a){return hj(this,ki,12,a)};f.setCommentEditState=function(a){return V(this,15,a)};f.getSlo=function(){return X(this,cj,19)};f.setSlo=function(a){hj(this,cj,19,a)};f.hasSlo=function(){return Nj(this,cj,19)};f.getRetentionSettings=function(){return X(this,$i,21)};f.setRetentionSettings=function(a){hj(this,$i,21,a)};f.hasRetentionSettings=function(){return Nj(this,$i,21)};f.getTeam=function(){return X(this,Xj,22)};
f.setTeam=function(a){hj(this,Xj,22,a)};f.hasTeam=function(){return Nj(this,Xj,22)};f.getEffortSpec=function(){return X(this,Ui,24)};f.getTeamSuggestionsList=function(){return kj(this,Usa,25)};f.setTeamSuggestionsList=function(a){nj(this,25,a)};f.getTrackerId=function(){return Ii(this,26)};f.setTrackerId=function(a){V(this,26,a)};dk.repeatedFields_=[6,7,8,9,25];dk.prototype.toObject=function(){return kF(this)};
var kF=function(a){if(null!=a)return r(a),{componentId:n(Yb(a,1)),parentComponentId:n(Yb(a,2)),name:n(Z(a,3)),description:n(Z(a,4)),archived:n(vr(a,5)),codenameList:n(Th(a,6)),customFieldIdList:n(Sh(a,7)),hotlistIdList:n(Sh(a,8)),templateIdList:n(Sh(a,9)),componentPathInfo:J8b(X(a,Zj,10)),accessLimit:T6b(a.getAccessLimit()),emailAlias:n(Z(a,13)),userHasEditAccess:n(vr(a,14)),commentEditState:n(Er(a,15)),defaultTemplateId:n(Yb(a,18)),slo:f8b(a.getSlo()),bugscopeSloId:n(Yb(a,20)),retentionSettings:a8b(a.getRetentionSettings()),
team:B8b(a.getTeam()),fieldOrdering:n(Er(a,23)),effortSpec:b7b(a.getEffortSpec()),teamSuggestionsList:Ub(a.getTeamSuggestionsList(),A8b),trackerId:n(Yb(a,26))}};dk.messageId="b.Component";var ek=function(a){this.internalArray_=m(a)};T(ek,p);f=ek.prototype;f.getTemplateId=function(){return qj(this,1)};f.setTemplateId=function(a){V(this,1,a)};f.getComponentId=function(){return Ii(this,2)};f.setComponentId=function(a){return V(this,2,a)};f.hasComponentId=function(){return Hi(this,2)};f.getDefault=function(){return Tj(this,6)};f.setDefault=function(a){Vj(this,6,a)};f.getName=function(){return U(this,3)};f.setName=function(a){return sk(this,3,a)};f.hasName=function(){return Hk(this,3)};
f.getNameOrUndefined=function(){return tt(this,3)};f.getDescription=function(){return U(this,4)};f.setDescription=function(a){return sk(this,4,a)};f.hasDescription=function(){return Hk(this,4)};f.getSnapshot=function(){return X(this,sj,5)};f.setSnapshot=function(a){hj(this,sj,5,a)};f.toObject=function(){return K8b(this)};var K8b=function(a){if(null!=a)return r(a),{templateId:n(Yb(a,1)),componentId:n(Yb(a,2)),pb_default:n(vr(a,6)),name:n(Z(a,3)),description:n(Z(a,4)),snapshot:s8b(a.getSnapshot())}};var lF=function(a){this.internalArray_=m(a,0,lF.messageId)};T(lF,p);lF.prototype.getSlo=function(){return X(this,cj,1)};lF.prototype.setSlo=function(a){hj(this,cj,1,a)};lF.prototype.hasSlo=function(){return Nj(this,cj,1)};lF.prototype.toObject=function(){if(null!=this){r(this);var a={slo:f8b(this.getSlo())}}else a=void 0;return a};lF.messageId="b.UpdateComponentSloRequest";var mF=function(a){this.internalArray_=m(a,0,mF.messageId)};T(mF,p);mF.prototype.getTeam=function(){return X(this,Xj,1)};mF.prototype.setTeam=function(a){hj(this,Xj,1,a)};mF.prototype.hasTeam=function(){return Nj(this,Xj,1)};mF.prototype.toObject=function(){if(null!=this){r(this);var a={team:B8b(this.getTeam())}}else a=void 0;return a};mF.messageId="b.UpdateComponentTeamRequest";var zk=function(a){this.internalArray_=m(a)};T(zk,p);f=zk.prototype;f.getActionsList=function(){return kj(this,Aj,1)};f.setActionsList=function(a){nj(this,1,a)};f.getIssueIdsList=function(){return Sh(this,2)};f.setIssueIdsList=function(a){return uj(this,2,a)};f.addIssueIds=function(a){Cb(this,2,a)};zk.repeatedFields_=[1,2];zk.prototype.toObject=function(){return L8b(this)};var L8b=function(a){if(null!=a)return r(a),{actionsList:Ub(a.getActionsList(),l8b),issueIdsList:n(Sh(a,2))}};var nF=function(a){this.internalArray_=m(a)};T(nF,p);nF.prototype.getSignificanceOverride=function(){return U(this,3)};nF.prototype.setSignificanceOverride=function(a){sk(this,3,a)};nF.repeatedFields_=[4];nF.prototype.toObject=function(){if(null!=this){r(this);var a={bulkEditOpsList:Ub(kj(this,zk,4),L8b),significanceOverride:n(Z(this,3))}}else a=void 0;return a};var M8b=function(a){this.internalArray_=m(a)};T(M8b,p);M8b.prototype.toObject=function(){return N8b(this)};var N8b=function(a){if(null!=a)return r(a),{privateDoNotAccessOrElseSafeUrlWrappedValue:n(Z(a,3))}};var tua=function(a){this.internalArray_=m(a)};T(tua,p);tua.prototype.toObject=function(){return O8b(this)};var O8b=function(a){if(null!=a)return r(a),{privateDoNotAccessOrElseTrustedResourceUrlWrappedValue:n(Z(a,4))}};var P8b=function(a){return"action/issues/"+a+"/statusUpdate"},ms={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"},Q8b={ISSUE_ID:"issueId",COMPONENT_ID:"componentId",GROUP_ID:"groupId",HOTLIST_ID:"hotlistId",SAVED_SEARCH_ID:"savedSearchId",SLO_ID:"sloId",TEAM_ID:"teamId"};var Gk=function(a){this.internalArray_=m(a,0,Gk.messageId)};T(Gk,p);Gk.prototype.getLogoUrl=function(){return U(this,1)};Gk.prototype.getTheme=function(){return Zi(this,2,0)};Gk.prototype.setTheme=function(a){return V(this,2,a)};Gk.prototype.toObject=function(){return R8b(this)};var R8b=function(a){if(null!=a)return r(a),{logoUrl:n(Z(a,1)),theme:n(Er(a,2)),cocUrl:n(Z(a,3))}};Gk.messageId="b.Branding";var ul=function(a){this.internalArray_=m(a,0,ul.messageId)};T(ul,p);f=ul.prototype;f.getTrackerId=function(){return Ii(this,1)};f.setTrackerId=function(a){V(this,1,a)};f.getComponentId=function(){return Ii(this,2)};f.setComponentId=function(a){return V(this,2,a)};f.hasComponentId=function(){return Hi(this,2)};f.getName=function(){return U(this,3)};f.setName=function(a){return sk(this,3,a)};f.hasName=function(){return Hk(this,3)};f.getNameOrUndefined=function(){return tt(this,3)};
ul.repeatedFields_=[4,8];ul.prototype.toObject=function(){return S8b(this)};var S8b=function(a){if(null!=a)return r(a),{trackerId:n(Yb(a,1)),componentId:n(Yb(a,2)),name:n(Z(a,3)),associatedTrackerIdsList:n(Sh(a,4)),internalBaseUrl:n(Z(a,6)),externalBaseUrl:n(Z(a,7)),branding:R8b(X(a,Gk,5)),collaboratorGroupsList:Ub(kj(a,ri,8),sE)}};ul.messageId="b.Tracker";var Ota={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"},T8b={},U8b=(T8b[3]="LITERAL_FORMATTING_MODE",T8b[1]="PLAIN_FORMATTING_MODE",T8b[2]="MARKDOWN_FORMATTING_MODE",T8b),V8b=U8b[2],W8b=U8b[1],oF={showFullHistory:void 0,useCodefont:void 0,resultsPerPage:void 0,displayColumns:void 0,sortColumns:void 0,notificationPreferences:{reportedPriority:"IMPORTANT",
assignedPriority:"ALL",verifiedPriority:"IMPORTANT",ccdPriority:"IMPORTANT",collaboratorPriority:"IMPORTANT",starredPriority:"IMPORTANT",excludeChangesByMe:!0,unsubscribeFromAll:!1,enableV2Prefs:!1},listViewPreferences:{showHotlists:!1,wrapTitles:!1,wrapComponents:!1,showStatusIcons:!1,rtlComponentPath:!1},layoutPreferences:{leftSidebarWidth:220,expandIssueSlo:!1},dateTimePreferences:{calendarFormat:"MMM d, yyyy",timeFormat:"hh:mma",timeZone:"",sloEtaViewAs:"DEFAULT"},themePreferences:{density:"COMFORTABLE"},
homepagePreferences:{resourceType:void 0,resourceId:void 0},keyboardPreferences:{enableAllHotkeys:!0},textDisplayPreferences:{},bugScreensaverPreferences:{announcementDismissed:!1,enableBugScreensaver:!1},g3nPreferences:{},teamWarningPreferences:{componentTeamWarnings:[]},dismissalTimestamps:{},showRecentEventsFirst:!1,commentFilterPreferences:{commentFilter:void 0},showInlineImages:!0,needsAttentionPreferences:{selectedSignals:"NEAR_SLO MENTIONED UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" ")}};var Jk=function(a){this.type=a.type;this.customFieldId=a.customFieldId||void 0;this.customFieldName=a.customFieldName||void 0};Jk.prototype.isCustomField=function(){return"CUSTOM_FIELD"===this.type};Jk.prototype.toApiUrlParam=function(){return this.isCustomField()?this.type.toLowerCase()+"."+this.customFieldId:this.type.toLowerCase()};Jk.prototype.toString=function(){return this.toApiUrlParam()};var Nk=function(a,b){this.fieldId=a;this.direction=b};Nk.prototype.toApiUrlParam=function(){return this.fieldId.toApiUrlParam()+":"+("ASCENDING"===this.direction?"asc":"desc")};Nk.prototype.toString=function(){return this.toApiUrlParam()};var Wk=function(a){this.internalArray_=m(a)};T(Wk,p);Wk.prototype.toObject=function(){return X8b(this)};var X8b=function(a){if(null!=a)return r(a),{announcementDismissed:n(vr(a,2)),enableBugScreensaver:n(vr(a,1))}};var al=function(a){this.internalArray_=m(a)};T(al,p);al.prototype.toObject=function(){return Y8b(this)};var Y8b=function(a){if(null!=a)return r(a),{commentFilter:n(Er(a,1))}};var kl=function(a){this.internalArray_=m(a)};T(kl,p);f=kl.prototype;f.getType=function(){return Zi(this,1,1)};f.setType=function(a){return V(this,1,a)};f.hasType=function(){return pj(this,1)};f.getCustomFieldId=function(){return qj(this,2)};f.setCustomFieldId=function(a){return V(this,2,a)};f.hasCustomFieldId=function(){return Yk(this,2)};f.toObject=function(){return Z8b(this)};var Z8b=function(a){if(null!=a)return r(a),{type:n(Er(a,1)),customFieldId:n(Yb(a,2))}};var il=function(a){this.internalArray_=m(a)};T(il,p);il.prototype.getTimeZone=function(){return U(this,5)};il.prototype.setTimeZone=function(a){return sk(this,5,a)};il.prototype.hasTimeZone=function(){return Hk(this,5)};il.prototype.toObject=function(){return $8b(this)};var $8b=function(a){if(null!=a)return r(a),{calendarFormat:n(Z(a,1)),timeFormat:n(Z(a,2)),calendarTimeFormat:n(Z(a,3)),fullCalendarTimeFormat:n(Z(a,4)),timeZone:n(Z(a,5)),timeZoneOffset:n(Z(a,6)),sloEtaViewAs:n(Er(a,7))}};var el=function(a){this.internalArray_=m(a)};T(el,p);el.prototype.getColumnList=function(){return kj(this,kl,1)};el.prototype.setColumnList=function(a){return nj(this,1,a)};el.prototype.setColumn=function(a){return $s(this,1,kl,a)};el.repeatedFields_=[1];el.prototype.toObject=function(){return a9b(this)};var a9b=function(a){if(null!=a)return r(a),{columnList:Ub(a.getColumnList(),Z8b)}};var hl=function(a){this.internalArray_=m(a)};T(hl,p);hl.prototype.toObject=function(){return b9b(this)};var b9b=function(a){if(null!=a)return r(a),{leftSidebarWidth:n(ft(a,1)),expandIssueSlo:n(vr(a,2)),rightSidebarWidth:n(ft(a,3))}};var Sk=function(a){this.internalArray_=m(a)};T(Sk,p);Sk.prototype.toObject=function(){return c9b(this)};var c9b=function(a){if(null!=a)return r(a),{showHotlists:n(vr(a,1)),wrapTitles:n(vr(a,2)),wrapComponents:n(vr(a,3)),showStatusIcons:n(vr(a,4)),rtlComponentPath:n(vr(a,5)),fieldStatusMap:Wb(xb(a,6,ob)),modeForFieldMap:Wb(xb(a,7,ob))}};var ml=function(a){this.internalArray_=m(a)};T(ml,p);ml.prototype.getColumn=function(){return X(this,kl,1)};ml.prototype.setColumn=function(a){return hj(this,kl,1,a)};ml.prototype.toObject=function(){return d9b(this)};var d9b=function(a){if(null!=a)return r(a),{column:Z8b(a.getColumn()),order:n(Er(a,2))}};var fl=function(a){this.internalArray_=m(a)};T(fl,p);fl.prototype.getColumnList=function(){return kj(this,ml,1)};fl.prototype.setColumnList=function(a){return nj(this,1,a)};fl.prototype.setColumn=function(a){return $s(this,1,ml,a)};fl.repeatedFields_=[1];fl.prototype.toObject=function(){return e9b(this)};var e9b=function(a){if(null!=a)return r(a),{columnList:Ub(a.getColumnList(),d9b)}};var Tk=function(a){this.internalArray_=m(a)};T(Tk,p);Tk.prototype.getDensity=function(){return Zi(this,1,1)};Tk.prototype.setDensity=function(a){return V(this,1,a)};Tk.prototype.toObject=function(){return f9b(this)};var f9b=function(a){if(null!=a)return r(a),{density:n(Er(a,1))}};var Xk=function(a){this.internalArray_=m(a)};T(Xk,p);Xk.prototype.toObject=function(){return g9b(this)};var g9b=function(a){if(null!=a)return r(a),{announcementDismissedMillis:n(Yb(a,1))}};var jl=function(a){this.internalArray_=m(a)};T(jl,p);f=jl.prototype;f.getResourceType=function(){return Zi(this,1,1)};f.setResourceType=function(a){V(this,1,a)};f.hasResourceType=function(){return pj(this,1)};f.getResourceId=function(){return Ii(this,2)};f.setResourceId=function(a){V(this,2,a)};f.hasResourceId=function(){return Hi(this,2)};f.toObject=function(){return h9b(this)};var h9b=function(a){if(null!=a)return r(a),{resourceType:n(Er(a,1)),resourceId:n(Yb(a,2))}};var Uk=function(a){this.internalArray_=m(a)};T(Uk,p);Uk.prototype.toObject=function(){return i9b(this)};var i9b=function(a){if(null!=a)return r(a),{enableAllHotkeys:Tj(a,1,!0)}};var bl=function(a){this.internalArray_=m(a)};T(bl,p);bl.repeatedFields_=[1];bl.prototype.toObject=function(){return j9b(this)};var j9b=function(a){if(null!=a)return r(a),{selectedSignalsList:n(cl(a,1))}};var Qk=function(a){this.internalArray_=m(a)};T(Qk,p);Qk.prototype.toObject=function(){return k9b(this)};var k9b=function(a){if(null!=a)return r(a),{reportedPriority:n(Er(a,1)),assignedPriority:n(Er(a,2)),verifiedPriority:n(Er(a,3)),ccdPriority:n(Er(a,4)),collaboratorPriority:n(Er(a,9)),starredPriority:n(Er(a,5)),excludeChangesByMe:n(vr(a,6)),unsubscribeFromAll:n(vr(a,7)),enableV2Prefs:n(vr(a,8))}};var $k=function(a){this.internalArray_=m(a)};T($k,p);$k.prototype.getComponentId=function(){return qj(this,1)};$k.prototype.setComponentId=function(a){return V(this,1,a)};$k.prototype.hasComponentId=function(){return Yk(this,1)};$k.prototype.toObject=function(){return l9b(this)};var l9b=function(a){if(null!=a)return r(a),{componentId:n(Yb(a,1)),dismissMillis:n(Yb(a,2))}};var Zk=function(a){this.internalArray_=m(a)};T(Zk,p);var pua=function(a,b){nj(a,1,b)};Zk.repeatedFields_=[1];Zk.prototype.toObject=function(){return m9b(this)};var m9b=function(a){if(null!=a)return r(a),{componentTeamWarningsList:Ub(kj(a,$k,1),l9b)}};var Vk=function(a){this.internalArray_=m(a)};T(Vk,p);Vk.prototype.toObject=function(){return n9b(this)};var n9b=function(a){if(null!=a)return r(a),{lastPublishMode:n(Er(a,1)),commentDisplayOverride:n(Er(a,2))}};var o9b=function(a){this.internalArray_=m(a)};T(o9b,p);o9b.repeatedFields_=[1];o9b.prototype.toObject=function(){return p9b(this)};var p9b=function(a){if(null!=a)return r(a),{recentComponentIdList:n(rl(a,1))}};var q9b=function(a){this.internalArray_=m(a)};T(q9b,p);q9b.prototype.toObject=function(){return r9b(this)};var r9b=function(a){if(null!=a)return r(a),{enableNewIssueDetailsPage:n(vr(a,1)),onboardingDialogAcknowledgedMillis:n(Yb(a,2)),newIdpOptOut:n(vr(a,3))}};var s9b=function(a){this.internalArray_=m(a)};T(s9b,p);s9b.repeatedFields_=[1];s9b.prototype.toObject=function(){return t9b(this)};var t9b=function(a){if(null!=a)return r(a),{hiddenSavedSearchList:n(rl(a,1))}};var u9b=function(a){this.internalArray_=m(a)};T(u9b,p);u9b.prototype.getValue=function(){return Tj(this,1)};u9b.prototype.setValue=function(a){return Gb(this,1,a)};u9b.prototype.toObject=function(){return v9b(this)};var v9b=function(a){if(null!=a)return r(a),{value:Tj(a,1)}};var dl=function(a){this.internalArray_=m(a)};T(dl,p);f=dl.prototype;f.getDisplayColumns=function(){return X(this,el,4)};f.getSortColumns=function(){return X(this,fl,6)};f.getLayoutPreferences=function(){return X(this,hl,10)};f.getDateTimePreferences=function(){return X(this,il,11)};f.getHomepagePreferences=function(){return X(this,jl,13)};f.clearHomepagePreferences=function(){return ct(this,13)};f.getShowInlineImages=function(){return Tj(this,29)};f.toObject=function(){return w9b(this)};
var w9b=function(a){if(null!=a)return r(a),{showFullHistory:n(vr(a,1)),useCodefont:n(vr(a,2)),notificationPreferences:k9b(X(a,Qk,3)),displayColumns:a9b(a.getDisplayColumns()),resultsPerPage:n(ft(a,5)),sortColumns:e9b(a.getSortColumns()),bannerMessageId:n(Z(a,7)),themePreferences:f9b(X(a,Tk,8)),listViewPreferences:c9b(X(a,Sk,9)),layoutPreferences:b9b(a.getLayoutPreferences()),dateTimePreferences:$8b(a.getDateTimePreferences()),sidebarPreferences:t9b(X(a,s9b,12)),homepagePreferences:h9b(a.getHomepagePreferences()),
componentPreferences:p9b(X(a,o9b,14)),keyboardPreferences:i9b(X(a,Uk,17)),termsAcknowledgedMillis:n(Yb(a,15)),newFeaturesAcknowledgedMillis:n(Yb(a,16)),autoCcOnComment:n(vr(a,18)),enableMaterialStyles:v9b(X(a,u9b,19)),textDisplayPreferences:n9b(X(a,Vk,20)),bugScreensaverPreferences:X8b(X(a,Wk,21)),newIssueDetailsPagePreferences:r9b(X(a,q9b,22)),teamWarningPreferences:m9b(X(a,Zk,23)),g3nPreferences:g9b(X(a,Xk,24)),dismissalTimestampsMap:Wb(fk(a,25,Nh),Lt),showRecentEventsFirst:n(vr(a,26)),collapsedMap:Wb(xb(a,
27,mb)),commentFilterPreferences:Y8b(X(a,al,28)),showInlineImages:n(vr(a,29)),needsAttentionPreferences:j9b(X(a,bl,30))}};var ol=function(a){this.internalArray_=m(a)};T(ol,p);f=ol.prototype;f.getAnalyticsId=function(){return U(this,1)};f.getAppName=function(){return U(this,2)};f.getDocumentationBaseUrl=function(){return U(this,3)};f.getEnvironmentType=function(){return U(this,5)};f.getMaxAccurateSearchResults=function(){return Rh(this,6)};f.getOnePickUrl=function(){return U(this,7)};f.getOnePickSecretToken=function(){return U(this,12)};f.getCommentNumberLimit=function(){return Rh(this,8)};
f.getCreateComponentRedirectDelay=function(){return rj(this,9)};f.getCreateRestrictedSubresourcesComponentWhitelist=function(){return XKb(this,13)};ol.repeatedFields_=[10,13,18];ol.prototype.toObject=function(){return x9b(this)};
var x9b=function(a){if(null!=a)return r(a),{analyticsId:n(Z(a,1)),appName:n(Z(a,2)),documentationBaseUrl:n(Z(a,3)),enabledFlagsMap:Wb(xb(a,4,mb)),environmentType:n(Z(a,5)),maxAccurateSearchResults:n(ft(a,6)),onePickUrl:n(Z(a,7)),onePickSecretToken:n(Z(a,12)),commentNumberLimit:n(ft(a,8)),createComponentRedirectDelay:n(Ho(a,9)),whitelistedWhitelistDomainPartnerComponentIdsList:n(Sh(a,10)),isDogfooder:n(vr(a,11)),createRestrictedSubresourcesComponentWhitelistList:n(rl(a,13)),issueAccessLimitsComponentAllowlistList:n(rl(a,
18))}};var ql=function(a){this.internalArray_=m(a)};T(ql,p);f=ql.prototype;f.getEmail=function(){return U(this,1)};f.setEmail=function(a){return sk(this,1,a)};f.hasEmail=function(){return Hk(this,1)};f.getSessionIdentifier=function(){return U(this,3)};f.getUserTypeLabel=function(){return U(this,5)};f.toObject=function(){return y9b(this)};var y9b=function(a){if(null!=a)return r(a),{anonymous:n(vr(a,4)),email:n(Z(a,1)),sessionIdentifier:n(Z(a,3)),userTypeLabel:n(Z(a,5))}};var sl=function(a){this.internalArray_=m(a,0,sl.messageId)};T(sl,p);sl.prototype.getId=function(){return U(this,1)};sl.prototype.setId=function(a){return sk(this,1,a)};sl.repeatedFields_=[2,4];sl.prototype.toObject=function(){return z9b(this)};var z9b=function(a){if(null!=a)return r(a),{id:n(Z(a,1)),namesList:n(Th(a,2)),stdOffset:n(ft(a,3)),transitionsList:n(Qh(a,4))}};sl.messageId="b.TimeZoneData";var tl=function(a){this.internalArray_=m(a,0,tl.messageId)};T(tl,p);tl.prototype.getMessage=function(){return U(this,1)};tl.prototype.setMessage=function(a){sk(this,1,a)};tl.prototype.getTagsList=function(){return Th(this,4)};tl.prototype.getTags=function(a){return kt(this,4,a)};tl.repeatedFields_=[4];tl.prototype.toObject=function(){return A9b(this)};var A9b=function(a){if(null!=a)return r(a),{message:n(Z(a,1)),messageId:n(Z(a,2)),dismissible:n(vr(a,3)),tagsList:n(Th(a,4))}};tl.messageId="b.Announcement";var pl=function(a){this.internalArray_=m(a)};T(pl,p);pl.prototype.getAnnouncement=function(){return X(this,tl,2)};pl.repeatedFields_=[1];pl.prototype.toObject=function(){return B9b(this)};var B9b=function(a){if(null!=a)return r(a),{timezonesList:Ub(kj(a,sl,1),z9b),announcement:A9b(a.getAnnouncement())}};var rua=function(a){this.internalArray_=m(a)};T(rua,p);f=rua.prototype;f.getUser=function(){return X(this,ql,1)};f.setUser=function(a){hj(this,ql,1,a)};f.hasUser=function(){return Nj(this,ql,1)};f.getConfig=function(){return X(this,ol,2)};f.getXsrfToken=function(){return U(this,3)};f.getCspNonce=function(){return U(this,8)};f.getFrontendAccessMode=function(){return U(this,4)};f.getMustAcknowledgeTerms=function(){return Tj(this,5)};f.getShowNewFeaturesDialog=function(){return Tj(this,6)};
f.getUserPreferences=function(){return X(this,dl,7)};f.getAppBaseHref=function(){return U(this,10)};f.getTracker=function(){return X(this,ul,11)};f.getPassiveLoginIframeUrl=function(){return X(this,tua,12)};
f.toObject=function(){if(null!=this){r(this);var a={user:y9b(this.getUser()),config:x9b(this.getConfig()),xsrfToken:n(Z(this,3)),cspNonce:n(Z(this,8)),frontendAccessMode:n(Z(this,4)),mustAcknowledgeTerms:n(vr(this,5)),showNewFeaturesDialog:n(vr(this,6)),userPreferences:w9b(this.getUserPreferences()),preload:B9b(X(this,pl,9)),appBaseHref:n(Z(this,10)),tracker:S8b(this.getTracker()),passiveLoginIframeUrl:O8b(this.getPassiveLoginIframeUrl())}}else a=void 0;return a};var sua=window,nl;var Bs=function(){this.session=vl();this.tracker=this.session.tracker||void 0};Bs.prototype.getAppBaseHref=function(){return this.session.appBaseHref};Bs.prototype.getFrontendAccessMode=function(){return this.session.frontendAccessMode||"INTERNAL"};Bs.prototype.isExternalSession=function(){return"INTERNAL"!==this.getFrontendAccessMode()};Bs.prototype.isInternalSession=function(){return"INTERNAL"===this.getFrontendAccessMode()};
var C9b=function(a){return"PARTNER"===a.getFrontendAccessMode()},D9b=function(a){return"PUBLIC"===a.getFrontendAccessMode()};Bs.prototype.isNonPublicSession=function(){return"PUBLIC"!==this.getFrontendAccessMode()};var pF=function(a,b){return!!a.session.config.enabledFlags.get(b)};f=Bs.prototype;f.isAnonymous=function(){return this.session.user.anonymous};f.getUserEmail=function(){return this.session.user.email||""};f.getSessionIdentifier=function(){return this.session.user.sessionIdentifier||"0"};
f.getTracker=function(){return this.tracker};f.getPassiveLoginIframeUrl=function(){return this.session.passiveLoginIframeUrl};f.getMustAcknowledgeTerms=function(){return this.session.mustAcknowledgeTerms};f.getShowNewFeaturesDialog=function(){return this.session.showNewFeaturesDialog};f.getEnvironmentType=function(){return this.session.config.environmentType||"QA"};
var NFa=function(a){a=a.getEnvironmentType();switch(a){case "QA":case "DEV":return!1;case "NIGHTLY":case "PROD":return!0;default:Ch(a,"Unknown environment type.")}};f=Bs.prototype;f.getAppBaseUrl=function(a){return(void 0===a?0:a)||!this.isInternalSession()?NFa(this)?"https://issuetracker.google.com/":"https://issuetracker.sandbox.google.com/":NFa(this)?"http://b/":"http://b-qa/"};f.getOnePickUrl=function(){return this.session.config.onePickUrl};f.getAppName=function(){return this.session.config.appName};
f.getCommentNumberLimit=function(){return this.session.config.commentNumberLimit};f.getCreateComponentRedirectDelay=function(){return this.session.config.createComponentRedirectDelay};f.getDocumentationBaseUrl=function(){return this.session.config.documentationBaseUrl};f.getMaxAccurateSearchResults=function(){return this.session.config.maxAccurateSearchResults};f.getAnalyticsId=function(){return this.session.config.analyticsId};f.getUserPreferences=function(){return this.session.userPreferences};
f.getXsrfToken=function(){return this.session.xsrfToken};f.getOnePickSecretToken=function(){return this.session.config.onePickSecretToken};f.getCreateRestrictedSubresourcesComponentWhitelist=function(){return this.session.config.createRestrictedSubresourcesComponentWhitelist};f.getCspNonce=function(){return this.session.cspNonce};f.getAnnouncement=function(){return this.session.preload.announcement};f.getUserTypeLabel=function(){return this.session.user.userTypeLabel||"UNKNOWN"};
Bs.\u0275fac=function(a){return new (a||Bs)};Bs.\u0275prov=yc({token:Bs,factory:Bs.\u0275fac,providedIn:"root"});var qF=new ad("buganizerWindow",{factory:function(){return window}});var rF=function(){this.destroyed$=new D.ReplaySubject(1);this.subscriptions=new D.Subscription};rF.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};rF.\u0275fac=function(a){return new (a||rF)};rF.\u0275dir=Sc({type:rF});var sF=function(a,b){rF.call(this);this.$window=a;this.activeSession=b;a=D.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)};T(sF,rF);sF.\u0275dir=rF.\u0275dir;sF.prototype.setTrackerId=function(a){this.trackerId$.next(a);this.$window.sessionStorage.setItem("buganizer.current_tracker_id",a)};sF.prototype.getTrackerId=function(){return this.trackerId$.value};
sF.\u0275fac=function(a){return new (a||sF)(t(qF),t(Bs))};sF.\u0275prov=yc({token:sF,factory:sF.\u0275fac,providedIn:"root"});var tF=function(a){this.internalArray_=m(a,0,tF.messageId)};T(tF,p);tF.prototype.toObject=function(){if(null!=this){r(this);var a={}}else a=void 0;return a};tF.messageId="f.mt";var uF=function(a){this.internalArray_=m(a,0,uF.messageId)};T(uF,p);uF.prototype.getIdsList=function(){return Sh(this,2)};uF.prototype.setIdsList=function(a){uj(this,2,a)};uF.prototype.getIds=function(){return jt(this,2)};uF.prototype.setIds=function(a){return mt(this,2,a)};uF.repeatedFields_=[2];uF.prototype.toObject=function(){if(null!=this){r(this);var a={idsList:n(Sh(this,2))}}else a=void 0;return a};uF.messageId="b.BatchGetIssuesRequest";var vF=function(a){this.internalArray_=m(a,0,vF.messageId)};T(vF,p);vF.prototype.getIssuesList=function(){return kj(this,Ej,1)};vF.repeatedFields_=[1];vF.prototype.toObject=function(){if(null!=this){r(this);var a={issuesList:Ub(this.getIssuesList(),eF)}}else a=void 0;return a};vF.messageId="b.BatchGetIssuesResponse";var Ak=function(a){this.internalArray_=m(a)};T(Ak,p);f=Ak.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getMessage=function(){return U(this,2)};f.setMessage=function(a){sk(this,2,a)};f.toObject=function(){return E9b(this)};var E9b=function(a){if(null!=a)return r(a),{issueId:n(Yb(a,1)),message:n(Z(a,2))}};var wF=function(a){this.internalArray_=m(a,0,wF.messageId)};T(wF,p);wF.prototype.setErrors=function(a,b){$s(this,2,Ak,a,b)};wF.repeatedFields_=[2];wF.prototype.toObject=function(){if(null!=this){r(this);var a={affectedIssuesMap:Wb(fk(this,1,Ej),eF),errorsList:Ub(kj(this,Ak,2),E9b),componentMapMap:Wb(fk(this,3,dk),kF)}}else a=void 0;return a};wF.messageId="b.BulkEditResponse";var xF=function(a){this.internalArray_=m(a,0,xF.messageId)};T(xF,p);xF.prototype.getReadersList=function(){return kj(this,Bi,1)};xF.prototype.setReadersList=function(a){nj(this,1,a)};xF.prototype.getAppendersList=function(){return kj(this,Bi,2)};xF.prototype.setAppendersList=function(a){nj(this,2,a)};xF.repeatedFields_=[1,2,3];
xF.prototype.toObject=function(){if(null!=this){r(this);var a={readersList:Ub(this.getReadersList(),uE),appendersList:Ub(this.getAppendersList(),uE),writersList:Ub(kj(this,Bi,3),uE)}}else a=void 0;return a};xF.messageId="b.GetRetainedAccessPrincipalsResponse";var yF=function(a){this.internalArray_=m(a,0,yF.messageId)};T(yF,p);yF.prototype.getIssueId=function(){return Ii(this,1)};yF.prototype.setIssueId=function(a){return V(this,1,a)};yF.prototype.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1))}}else a=void 0;return a};yF.messageId="b.IssueCreateResponse";var F9b=function(a){this.internalArray_=m(a)};T(F9b,p);F9b.prototype.toObject=function(){return G9b(this)};var G9b=function(a){if(null!=a)return r(a),{blobId:n(Z(a,1)),blobGeneration:n(Yb(a,5)),readToken:n(Z(a,2)),uploadMetadataContainer:Xb(Jo(a,3)),downloadReadHandle:Xb(Jo(a,4))}};var zF=function(a){this.internalArray_=m(a)};T(zF,p);zF.prototype.toObject=function(){return H9b(this)};var H9b=function(a){if(null!=a)return r(a),{bucketName:n(Z(a,1)),objectName:n(Z(a,2)),generation:n(Yb(a,7))}};var AF=function(a){this.internalArray_=m(a)};T(AF,p);f=AF.prototype;f.getLength=function(){return Yb(this,1)};f.getLength_legacyNullable=function(){return Yb(this,1)};f.getPath=function(){return Z(this,3)};f.setPath=function(a){return sk(this,3,a)};f.hasPath=function(){return Hk(this,3)};f.getBlobRef=function(){return Jo(this,4)};f.getInline=function(){return Jo(this,5)};f.getObjectId=function(){return X(this,zF,6)};f.setObjectId=function(a){hj(this,zF,6,a)};
f.getBlobstore2Info=function(){return X(this,F9b,7)};f.getCosmoBinaryReference=function(){return Jo(this,8)};f.getMd5Hash=function(){return Jo(this,10)};f.getSha1Hash=function(){return Jo(this,11)};f.toObject=function(){return BF(this)};
var BF=function(a){if(null!=a)return r(a),{length:n(Yb(a,1)),referenceType:n(Er(a,2)),path:n(Z(a,3)),blobRef:Xb(a.getBlobRef()),inline:Xb(a.getInline()),objectId:H9b(a.getObjectId()),blobstore2Info:G9b(a.getBlobstore2Info()),cosmoBinaryReference:Xb(a.getCosmoBinaryReference()),crc32cHash:n(ab(Yb(a,9))),md5Hash:Xb(a.getMd5Hash()),sha1Hash:Xb(a.getSha1Hash())}};var I9b=function(a){this.internalArray_=m(a)};T(I9b,p);I9b.prototype.toObject=function(){return J9b(this)};var J9b=function(a){if(null!=a)return r(a),{bestGuess:n(Z(a,1)),fromHeader:n(Z(a,2)),fromFileName:n(Z(a,3)),fromUrlPath:n(Z(a,4)),fromBytes:n(Z(a,5))}};var K9b=function(a){this.internalArray_=m(a)};T(K9b,p);K9b.prototype.getObjectLocation=function(){return X(this,AF,5)};K9b.prototype.toObject=function(){return L9b(this)};var L9b=function(a){if(null!=a)return r(a),{objectVersion:n(Z(a,1)),objectSizeBytes:n(Yb(a,2)),chunkSizeBytes:n(Yb(a,3)),checksumsLocation:BF(X(a,AF,4)),objectLocation:BF(a.getObjectLocation())}};var M9b=function(a){this.internalArray_=m(a)};T(M9b,p);M9b.prototype.getObjectLocation=function(){return X(this,AF,1)};M9b.prototype.toObject=function(){return N9b(this)};var N9b=function(a){if(null!=a)return r(a),{objectLocation:BF(a.getObjectLocation())}};var O9b=function(a){this.internalArray_=m(a)};T(O9b,p);O9b.prototype.toObject=function(){return P9b(this)};var P9b=function(a){if(null!=a)return r(a),{objectVersion:n(Z(a,1)),objectInfo:BF(X(a,AF,2)),checksumsInfo:BF(X(a,AF,3))}};var Q9b=function(a){this.internalArray_=m(a)};T(Q9b,p);Q9b.prototype.toObject=function(){return R9b(this)};var R9b=function(a){if(null!=a)return r(a),{objectVersion:n(Z(a,1)),originalObject:BF(X(a,AF,2))}};var S9b=function(a){this.internalArray_=m(a)};T(S9b,p);S9b.prototype.toObject=function(){return T9b(this)};var T9b=function(a){if(null!=a)return r(a),{objectVersion:n(Z(a,1)),objectSizeBytes:n(Yb(a,2))}};var U9b=function(a){this.internalArray_=m(a)};T(U9b,p);U9b.prototype.toObject=function(){return V9b(this)};var V9b=function(a){if(null!=a)return r(a),{allowGzipCompression:n(vr(a,1)),ignoreRange:n(vr(a,2))}};var Sj=function(a){this.internalArray_=m(a)};T(Sj,p);f=Sj.prototype;f.getContentType=function(){return Z(this,1)};f.getTimestamp=function(){return Yb(this,2)};f.setTimestamp=function(a){return V(this,2,a)};f.hasTimestamp=function(){return null!=Yb(this,2)};f.getToken=function(){return Z(this,3)};f.setToken=function(a){return sk(this,3,a)};f.getLength=function(){return Yb(this,4)};f.getLength_legacyNullable=function(){return Yb(this,4)};f.getFilename=function(){return Z(this,5)};
f.setFilename=function(a){sk(this,5,a)};f.getPath=function(){return Z(this,7)};f.setPath=function(a){return sk(this,7,a)};f.hasPath=function(){return Hk(this,7)};f.getBlobRef=function(){return Jo(this,8)};f.getInline=function(){return Jo(this,9)};f.getHash=function(){return Z(this,11)};f.setHash=function(a){sk(this,11,a)};f.getObjectId=function(){return X(this,zF,15)};f.setObjectId=function(a){hj(this,zF,15,a)};f.getBlobstore2Info=function(){return X(this,F9b,16)};
f.getMd5Hash=function(){return Jo(this,25)};f.getSha1Hash=function(){return Jo(this,26)};f.getCosmoBinaryReference=function(){return Jo(this,28)};Sj.repeatedFields_=[13];Sj.prototype.toObject=function(){return W9b(this)};
var W9b=function(a){if(null!=a)return r(a),{contentType:n(Z(a,1)),timestamp:n(Yb(a,2)),token:n(Z(a,3)),length:n(Yb(a,4)),filename:n(Z(a,5)),referenceType:n(Er(a,6)),path:n(Z(a,7)),blobRef:Xb(a.getBlobRef()),inline:Xb(a.getInline()),mediaId:Xb(Jo(a,10)),hash:n(Z(a,11)),algorithm:n(Z(a,12)),compositeMediaList:Ub(kj(a,AF,13),BF),bigstoreObjectRef:Xb(Jo(a,14)),objectId:H9b(a.getObjectId()),blobstore2Info:G9b(a.getBlobstore2Info()),diffVersionResponse:T9b(X(a,S9b,17)),diffChecksumsResponse:L9b(X(a,K9b,
18)),diffDownloadResponse:N9b(X(a,M9b,19)),diffUploadRequest:P9b(X(a,O9b,20)),diffUploadResponse:R9b(X(a,Q9b,21)),contentTypeInfo:J9b(X(a,I9b,22)),downloadParameters:V9b(X(a,U9b,23)),crc32cHash:n(ab(Yb(a,24))),md5Hash:Xb(a.getMd5Hash()),sha1Hash:Xb(a.getSha1Hash()),sha256Hash:Xb(Jo(a,30)),isPotentialRetry:Tj(a,27,!0),cosmoBinaryReference:Xb(a.getCosmoBinaryReference()),hashVerified:n(vr(a,29))}};var CF=function(a){this.internalArray_=m(a,0,CF.messageId)};T(CF,p);f=CF.prototype;f.getAttachmentId=function(){return Ii(this,1)};f.setAttachmentId=function(a){V(this,1,a)};f.getDescription=function(){return U(this,2)};f.setDescription=function(a){return sk(this,2,a)};f.hasDescription=function(){return Hk(this,2)};f.getContentType=function(){return U(this,4)};f.getFilename=function(){return U(this,5)};f.setFilename=function(a){sk(this,5,a)};f.getLength=function(){return qj(this,6)};
f.getEtag=function(){return U(this,8)};f.setEtag=function(a){sk(this,8,a)};f.hasEtag=function(){return Hk(this,8)};f.getContentVerdict=function(){return X(this,Dk,9)};f.getEntityStatus=function(){return X(this,$E,10)};f.getPiiRetentionState=function(){return X(this,Hj,12)};f.getPiiRetention=function(){return Zi(this,13,0)};f.setPiiRetention=function(a){return V(this,13,a)};f.toObject=function(){return X9b(this)};
var X9b=function(a){if(null!=a)return r(a),{attachmentId:n(Yb(a,1)),description:n(Z(a,2)),media:W9b(X(a,Sj,3)),contentType:n(Z(a,4)),filename:n(Z(a,5)),length:n(Yb(a,6)),filecompUrl:n(Z(a,7)),etag:n(Z(a,8)),contentVerdict:$7b(a.getContentVerdict()),entityStatus:aF(a.getEntityStatus()),piiRetentionState:b8b(a.getPiiRetentionState()),piiRetention:n(Er(a,13))}};CF.messageId="b.Attachment";var lk=function(a){this.internalArray_=m(a)};T(lk,p);f=lk.prototype;f.getOldValue=function(){return U(this,1)};f.getNewValue=function(){return U(this,2)};f.getCustomFieldId=function(){return qj(this,3)};f.setCustomFieldId=function(a){return V(this,3,a)};f.hasCustomFieldId=function(){return Yk(this,3)};f.toObject=function(){return Y9b(this)};var Y9b=function(a){if(null!=a)return r(a),{oldValue:n(Z(a,1)),newValue:n(Z(a,2)),customFieldId:n(Yb(a,3))}};var Z9b=function(a){this.internalArray_=m(a)};T(Z9b,p);f=Z9b.prototype;f.getHref=function(){return U(this,1)};f.getValue=function(){return U(this,2)};f.setValue=function(a){return sk(this,2,a)};f.hasValue=function(){return Hk(this,2)};f.toObject=function(){return $9b(this)};var $9b=function(a){if(null!=a)return r(a),{href:n(Z(a,1)),value:n(Z(a,2))}};var ok=function(a){this.internalArray_=m(a)};T(ok,p);ok.prototype.getAddedList=function(){return kj(this,Z9b,1)};ok.prototype.getRemovedList=function(){return kj(this,Z9b,2)};ok.repeatedFields_=[1,2];ok.prototype.toObject=function(){return a$b(this)};var a$b=function(a){if(null!=a)return r(a),{addedList:Ub(a.getAddedList(),$9b),removedList:Ub(a.getRemovedList(),$9b)}};var kk=function(a){this.internalArray_=m(a)};T(kk,p);kk.prototype.getOldValue=function(){return U(this,1)};kk.prototype.getNewValue=function(){return U(this,2)};kk.prototype.toObject=function(){return b$b(this)};var b$b=function(a){if(null!=a)return r(a),{oldValue:n(Z(a,1)),newValue:n(Z(a,2))}};var ik=function(a){this.internalArray_=m(a)};T(ik,p);ik.prototype.toObject=function(){return c$b(this)};var c$b=function(a){if(null!=a)return r(a),{oldUser:sE(X(a,ri,1)),newUser:sE(X(a,ri,2))}};var gk=function(a){this.internalArray_=m(a)};T(gk,p);var jk=[1,2];gk.prototype.toObject=function(){return d$b(this)};var d$b=function(a){if(null!=a)return r(a),{userDiff:c$b(ck(a,ik,1,jk)),stringDiff:b$b(ck(a,kk,2,jk))}};var pk=function(a){this.internalArray_=m(a)};T(pk,p);pk.prototype.getEntityStatus=function(){return X(this,$E,1)};pk.prototype.toObject=function(){return e$b(this)};var e$b=function(a){if(null!=a)return r(a),{entityStatus:aF(a.getEntityStatus())}};var nk=function(a){this.internalArray_=m(a)};T(nk,p);nk.prototype.getAddedList=function(){return Th(this,1)};nk.prototype.getRemovedList=function(){return Th(this,2)};nk.repeatedFields_=[1,2];nk.prototype.toObject=function(){return f$b(this)};var f$b=function(a){if(null!=a)return r(a),{addedList:n(Th(a,1)),removedList:n(Th(a,2))}};var mk=function(a){this.internalArray_=m(a)};T(mk,p);mk.prototype.getAddedList=function(){return kj(this,ri,1)};mk.prototype.getRemovedList=function(){return kj(this,ri,2)};mk.repeatedFields_=[1,2];mk.prototype.toObject=function(){return g$b(this)};var g$b=function(a){if(null!=a)return r(a),{addedList:Ub(a.getAddedList(),sE),removedList:Ub(a.getRemovedList(),sE)}};var uk=function(a){this.internalArray_=m(a,0,uk.messageId)};T(uk,p);f=uk.prototype;f.getName=function(){return U(this,1)};f.setName=function(a){return sk(this,1,a)};f.hasName=function(){return Hk(this,1)};f.getNameOrUndefined=function(){return tt(this,1)};f.getDisplayName=function(){return U(this,2)};f.setDisplayName=function(a){return sk(this,2,a)};f.getType=function(){return Zi(this,3,0)};f.setType=function(a){return V(this,3,a)};f.hasType=function(){return pj(this,3)};
f.getTimestamp=function(){return X(this,Nh,4)};f.setTimestamp=function(a){return hj(this,Nh,4,a)};f.hasTimestamp=function(){return Nj(this,Nh,4)};var hk=[6,7,8,9,10,11];uk.prototype.toObject=function(){return h$b(this)};
var h$b=function(a){if(null!=a)return r(a),{name:n(Z(a,1)),displayName:n(Z(a,2)),type:n(Er(a,3)),timestamp:Lt(a.getTimestamp()),important:n(vr(a,5)),singleValueDiff:d$b(ck(a,gk,6,hk)),collectionDiff:f$b(ck(a,nk,7,hk)),linkedCollectionDiff:a$b(ck(a,ok,8,hk)),customFieldDiff:Y9b(ck(a,lk,9,hk)),userCollectionDiff:g$b(ck(a,mk,10,hk)),statusUpdateDiff:e$b(ck(a,pk,11,hk))}};uk.messageId="b.EventDiff";var vk=function(a){this.internalArray_=m(a)};T(vk,p);vk.prototype.getTag=function(){return U(this,1)};vk.prototype.getText=function(){return U(this,2)};vk.prototype.setText=function(a){return sk(this,2,a)};vk.prototype.toObject=function(){return i$b(this)};var i$b=function(a){if(null!=a)return r(a),{tag:n(Z(a,1)),text:n(Z(a,2))}};var xk=function(a){this.internalArray_=m(a,0,xk.messageId)};T(xk,p);f=xk.prototype;f.getIssueId=function(){return Ii(this,14)};f.setIssueId=function(a){return V(this,14,a)};f.getComment=function(){return X(this,cF,6)};f.setComment=function(a){hj(this,cF,6,a)};f.getAttachmentsList=function(){return kj(this,CF,10)};f.setAttachmentsList=function(a){nj(this,10,a)};f.getVersion=function(){return qj(this,7)};f.setVersion=function(a){return V(this,7,a)};
f.getVersionOrUndefined=function(){return st(this,7)};f.getStatusUpdate=function(){return X(this,dF,13)};f.hasStatusUpdate=function(){return Nj(this,dF,13)};xk.repeatedFields_=[2,3,10,9];xk.prototype.toObject=function(){return j$b(this)};
var j$b=function(a){if(null!=a)return r(a),{issueId:n(Yb(a,14)),preDiffsList:Ub(kj(a,uk,2),h$b),postDiffsList:Ub(kj(a,uk,3),h$b),modifiedDate:Lt(X(a,Nh,4)),userPerformingAction:sE(X(a,ri,5)),isHumanAuthor:n(vr(a,11)),isCollaboratorAuthor:n(vr(a,12)),comment:r8b(a.getComment()),attachmentsList:Ub(a.getAttachmentsList(),X9b),version:n(Yb(a,7)),isMajorEvent:n(vr(a,8)),taggedSummaryList:Ub(kj(a,vk,9),i$b),statusUpdate:u8b(a.getStatusUpdate())}};xk.messageId="b.IssueEvent";var Tm=function(a){this.internalArray_=m(a,0,Tm.messageId)};T(Tm,p);Tm.prototype.getIssue=function(){return X(this,Ej,1)};Tm.prototype.setIssue=function(a){hj(this,Ej,1,a)};Tm.prototype.toObject=function(){return k$b(this)};var k$b=function(a){if(null!=a)return r(a),{issue:eF(a.getIssue()),firstEvent:j$b(X(a,xk,5))}};Tm.messageId="b.IssueFetchResponse";var DF=function(a){this.internalArray_=m(a,0,DF.messageId)};T(DF,p);DF.prototype.getIssuesList=function(){return kj(this,Ej,1)};DF.prototype.getNumTotalResults=function(){return Rh(this,2)};DF.prototype.getComponentsMap=function(){return fk(this,3,dk)};DF.prototype.getNextPageToken=function(){return U(this,5)};DF.repeatedFields_=[1];
DF.prototype.toObject=function(){if(null!=this){r(this);var a={issuesList:Ub(this.getIssuesList(),eF),numTotalResults:n(ft(this,2)),componentsMap:Wb(this.getComponentsMap(),kF),positionsMap:Wb(xb(this,4,Aba)),nextPageToken:n(Z(this,5))}}else a=void 0;return a};DF.messageId="b.IssueSearchResponse";var EF=function(a){this.internalArray_=m(a,0,EF.messageId)};T(EF,p);EF.repeatedFields_=[1];EF.prototype.toObject=function(){if(null!=this){r(this);var a={issueEventsList:Ub(kj(this,xk,1),j$b)}}else a=void 0;return a};EF.messageId="b.ListIssueEventsResponse";var l$b=function(a){this.internalArray_=m(a)};T(l$b,p);f=l$b.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getStatus=function(){return Zi(this,2,0)};f.setStatus=function(a){return V(this,2,a)};f.hasStatus=function(){return pj(this,2)};f.getTitle=function(){return U(this,3)};f.setTitle=function(a){return sk(this,3,a)};f.getVersion=function(){return Rh(this,4)};f.setVersion=function(a){return V(this,4,a)};
f.getVersionOrUndefined=function(){return rt(this,4)};f.getIsArchived=function(){return Tj(this,5)};f.setIsArchived=function(a){return Vj(this,5,a)};f.toObject=function(){return m$b(this)};var m$b=function(a){if(null!=a)return r(a),{issueId:n(Yb(a,1)),status:n(Er(a,2)),title:n(Z(a,3)),version:n(ft(a,4)),isArchived:n(vr(a,5))}};var FF=function(a){this.internalArray_=m(a,0,FF.messageId)};T(FF,p);FF.prototype.getIssueDigestsList=function(){return kj(this,l$b,1)};FF.prototype.getNumTotalResults=function(){return qj(this,2)};FF.repeatedFields_=[1];FF.prototype.toObject=function(){if(null!=this){r(this);var a={issueDigestsList:Ub(this.getIssueDigestsList(),m$b),numTotalResults:n(Yb(this,2))}}else a=void 0;return a};FF.messageId="b.RelatedIssuesResponse";var GF=function(){},HF=function(a,b){this.executor=a;this.currentTrackerId=b};f=HF.prototype;f.createIssue=function(a){var b=Dsa(a),c={};a.recaptchaToken&&(c["G-Recaptcha-Response-Token"]=a.recaptchaToken);return this.executor.post({url:"action/issues",body:b,options:{headers:c},responseConstructor:yF}).pipe(C(Esa))};
f.createIssueWithWizard=function(a){var b=Dsa(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:yF}).pipe(C(Esa))};f.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:Tm}).pipe(C(function(d){return yk(d)}))};
f.batchGetIssues=function(a){var b=new uF;b.setIdsList(a);return this.executor.post({url:"action/issues/batch",body:b,responseConstructor:vF}).pipe(C(function(c){return c.getIssuesList().map(function(d){return tk(d)})}))};f.updateIssue=function(a,b){b=vsa(b);return this.executor.post({url:"action/issues/"+a,body:b,responseConstructor:Tm}).pipe(C(function(c){return yk(c)}))};f.moveIssueExternal=function(a,b){b=rsa(b);return this.executor.post({url:"action/issues/"+a+"/external_move",body:b,responseConstructor:Tm}).pipe(C(function(c){return yk(c)}))};
f.moveIssue=function(a,b){b=psa(b);return this.executor.post({url:"action/issues/"+a+"/move",body:b,responseConstructor:Tm}).pipe(C(function(c){return yk(c)}))};f.unCcUser=function(a){var b=nsa(a);return this.executor.post({url:"action/issues/"+a+"/unccuser",body:b,responseConstructor:Tm}).pipe(C(function(c){return yk(c)}))};
f.updateAccessLimit=function(a,b,c,d){var e=(new hF).setIssueId(a);if(b){if(b=jsa[b])b=(new gF).setAccessLevel(b),e.setIssueAccessLimit(b);c&&e.setAddedCollaboratorsList(c.map(si));d&&e.setRemovedCollaboratorsList(d.map(si))}return this.executor.post({url:"action/issues/"+a+"/accessLimit",body:e,responseConstructor:tF})};
f.getRetainedAccessPrincipals=function(a,b,c,d){b=msa(a,b,c,d);return this.executor.post({url:"action/issues/"+a+"/retainedAccessPrincipals",body:b,responseConstructor:xF}).pipe(C(function(e){var g,h,l;return{readers:Di(null!=(g=e.getReadersList())?g:[]),appenders:Di(null!=(h=e.getAppendersList())?h:[]),writers:Di(null!=(l=kj(e,Bi,3))?l:[])}}))};f.relateIssue=function(a,b){b=Asa(b);return this.executor.post({url:"action/issues/"+a+"/relate",body:b,responseConstructor:Tm}).pipe(C(function(c){return yk(c)}))};
f.updateIssueHotlists=function(a,b){b=xsa(b);return this.executor.post({url:"action/issues/"+a+"/hotlists",body:b,responseConstructor:Tm}).pipe(C(function(c){return yk(c)}))};f.updateIssueRetention=function(a,b){b=Csa(b);return this.executor.post({url:"action/issues/"+a+"/update_retention",body:b,responseConstructor:Tm}).pipe(C(function(c){return yk(c)}))};
f.listIssues=function(a,b){b=void 0===b?{}:b;var c=new w8b;sk(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:DF}).pipe(C(Ita))};
f.issueBulkEdit=function(a,b){var c={};b&&(c["G-Recaptcha-Response-Token"]=b);b=new nF;var d=a.bulkEditOps.map(uta);nj(b,4,d);a.significanceOverride&&b.setSignificanceOverride(a.significanceOverride);return this.executor.post({url:"action/issues/bulk_edit",body:b,responseConstructor:wF,options:{headers:c}}).pipe(C(wta))};
f.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:FF}).pipe(C(ysa))};
var n$b=function(a,b){return a.executor.get({url:"action/issues/"+b+"/events",options:{params:{currentTrackerId:a.currentTrackerId.getTrackerId()}},responseConstructor:EF}).pipe(C(function(c){return kj(c,xk,1).map(function(d){return rta(d)})}))};HF.\u0275fac=function(a){return new (a||HF)(t(hE),t(sF))};HF.\u0275prov=yc({token:HF,factory:HF.\u0275fac,providedIn:"root"});var IF=function(a){this.observableApi=a};T(IF,GF);f=IF.prototype;f.createIssue=function(a){return(0,D.firstValueFrom)(this.observableApi.createIssue(a))};
f.createIssueWithWizard=function(a){return(0,D.firstValueFrom)(this.observableApi.createIssueWithWizard(a))};f.getIssue=function(a){return(0,D.firstValueFrom)(this.observableApi.getIssue(a))};f.batchGetIssues=function(a){return(0,D.firstValueFrom)(this.observableApi.batchGetIssues(a))};f.updateIssue=function(a,b){return(0,D.firstValueFrom)(this.observableApi.updateIssue(a,b))};f.moveIssueExternal=function(a,b){return(0,D.firstValueFrom)(this.observableApi.moveIssueExternal(a,b))};
f.moveIssue=function(a,b){return(0,D.firstValueFrom)(this.observableApi.moveIssue(a,b))};f.unCcUser=function(a){return(0,D.firstValueFrom)(this.observableApi.unCcUser(a))};f.updateAccessLimit=function(a,b,c,d){return(0,D.firstValueFrom)(this.observableApi.updateAccessLimit(a,b,c,d))};f.getRetainedAccessPrincipals=function(a,b,c,d){return(0,D.firstValueFrom)(this.observableApi.getRetainedAccessPrincipals(a,b,c,d))};
f.relateIssue=function(a,b){return(0,D.firstValueFrom)(this.observableApi.relateIssue(a,b))};f.updateIssueHotlists=function(a,b){return(0,D.firstValueFrom)(this.observableApi.updateIssueHotlists(a,b))};f.updateIssueRetention=function(a,b){return(0,D.firstValueFrom)(this.observableApi.updateIssueRetention(a,b))};f.listIssues=function(a,b){b=void 0===b?{}:b;return(0,D.firstValueFrom)(this.observableApi.listIssues(a,b))};
f.issueBulkEdit=function(a,b){return(0,D.firstValueFrom)(this.observableApi.issueBulkEdit(a,b))};f.getRelatedIssues=function(a){return(0,D.firstValueFrom)(this.observableApi.getRelatedIssues(a))};IF.\u0275fac=function(a){return new (a||IF)(t(HF))};IF.\u0275prov=yc({token:IF,factory:IF.\u0275fac,providedIn:"root"});var JF=function(a){this.internalArray_=m(a)};T(JF,p);var KF=function(a,b){return Jb(a,1,b)},o$b=function(a,b){return Jb(a,2,b)};JF.prototype.toObject=function(){return LF(this)};var LF=function(a){if(null!=a)return r(a),{targetIssueId:qj(a,1),afterIssueId:qj(a,2),targetIssue:T7b(X(a,SE,3))}};var p$b=function(a){this.internalArray_=m(a)};T(p$b,p);f=p$b.prototype;f.getIssueId=function(){return qj(this,1)};f.setIssueId=function(a){return Jb(this,1,a)};f.setRelationshipType=function(a){return Yi(this,2,a)};f.getIssueRelationship=function(){return X(this,JF,3)};f.setIssueRelationship=function(a){return hj(this,JF,3,a)};f.getSignificanceOverride=function(){return Zi(this,4,0)};f.setSignificanceOverride=function(a){Yi(this,4,a)};f.toObject=function(){return q$b(this)};
var q$b=function(a){if(null!=a)return r(a),{issueId:qj(a,1),relationshipType:Zi(a,2,0),issueRelationship:LF(a.getIssueRelationship()),significanceOverride:Zi(a,4,0)}};var MF=function(a){this.internalArray_=m(a,0,MF.messageId)};T(MF,p);f=MF.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.setRelationshipType=function(a){return V(this,2,a)};f.getRequestsList=function(){return kj(this,p$b,3)};f.setRequestsList=function(a){return nj(this,3,a)};f.addAndReturnRequests=function(){return Fb(this,3,p$b)};f.getSignificanceOverride=function(){return Zi(this,4,0)};f.setSignificanceOverride=function(a){V(this,4,a)};
MF.repeatedFields_=[3];MF.prototype.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),relationshipType:n(Er(this,2)),requestsList:Ub(this.getRequestsList(),q$b),significanceOverride:n(Er(this,4))}}else a=void 0;return a};MF.messageId="b.BatchCreateIssueRelationshipsRequest";var NF=function(a){this.internalArray_=m(a,0,NF.messageId)};T(NF,p);NF.prototype.getIssueRelationshipsList=function(){return kj(this,JF,1)};NF.repeatedFields_=[1];NF.prototype.toObject=function(){if(null!=this){r(this);var a={issueRelationshipsList:Ub(this.getIssueRelationshipsList(),LF)}}else a=void 0;return a};NF.messageId="b.BatchCreateIssueRelationshipsResponse";var OF=function(a){this.internalArray_=m(a,0,OF.messageId)};T(OF,p);f=OF.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.setRelationshipType=function(a){return V(this,2,a)};f.getSignificanceOverride=function(){return Zi(this,4,0)};f.setSignificanceOverride=function(a){V(this,4,a)};OF.repeatedFields_=[3];
OF.prototype.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),relationshipType:n(Er(this,2)),targetIssueIdsList:n(Sh(this,3)),significanceOverride:n(Er(this,4))}}else a=void 0;return a};OF.messageId="b.BatchDeleteIssueRelationshipsRequest";var PF=function(a){this.internalArray_=m(a,0,PF.messageId)};T(PF,p);PF.prototype.getSourceIssueIdsList=function(){return Sh(this,1)};PF.prototype.setSourceIssueIdsList=function(a){return uj(this,1,a)};PF.prototype.setRelationshipType=function(a){return V(this,2,a)};PF.prototype.setIncludeArchived=function(a){return Vj(this,3,a)};PF.repeatedFields_=[1];
PF.prototype.toObject=function(){if(null!=this){r(this);var a={sourceIssueIdsList:n(Sh(this,1)),relationshipType:n(Er(this,2)),includeArchived:n(vr(this,3))}}else a=void 0;return a};PF.messageId="b.BatchGetIssueRelationshipsRequest";var QF=function(a){this.internalArray_=m(a)};T(QF,p);QF.prototype.getIssueRelationshipsList=function(){return kj(this,JF,1)};QF.prototype.getTotalSize=function(){return Rh(this,2)};QF.repeatedFields_=[1];QF.prototype.toObject=function(){return r$b(this)};var r$b=function(a){if(null!=a)return r(a),{sourceIssueId:qj(a,3),issueRelationshipsList:Ub(a.getIssueRelationshipsList(),LF),totalSize:Rh(a,2)}};var RF=function(a){this.internalArray_=m(a,0,RF.messageId)};T(RF,p);RF.repeatedFields_=[1];RF.prototype.toObject=function(){if(null!=this){r(this);var a={issueRelationshipsPrefixesList:Ub(kj(this,QF,1),r$b)}}else a=void 0;return a};RF.messageId="b.BatchGetIssueRelationshipsResponse";var SF=function(a){this.internalArray_=m(a,0,SF.messageId)};T(SF,p);SF.prototype.getIssueRelationship=function(){return X(this,JF,1)};SF.prototype.setIssueRelationship=function(a){return hj(this,JF,1,a)};SF.prototype.toObject=function(){if(null!=this){r(this);var a={issueRelationship:LF(this.getIssueRelationship())}}else a=void 0;return a};SF.messageId="b.CreateIssueRelationshipResponse";var TF=function(a){this.internalArray_=m(a,0,TF.messageId)};T(TF,p);var s$b=function(a,b){return uj(a,1,b)};TF.prototype.setRelationshipType=function(a){return V(this,2,a)};TF.prototype.setIncludeArchived=function(a){return Vj(this,3,a)};var t$b=function(a,b){return V(a,4,b)},u$b=function(a,b){return V(a,5,b)};TF.repeatedFields_=[1];
TF.prototype.toObject=function(){if(null!=this){r(this);var a={rootIssueIdsList:n(Sh(this,1)),relationshipType:n(Er(this,2)),includeArchived:n(vr(this,3)),depthLimit:n(ft(this,4)),prefixSizeLimit:n(ft(this,5))}}else a=void 0;return a};TF.messageId="b.GetIssueDescendantsRequest";var v$b=function(a){this.internalArray_=m(a,0,v$b.messageId)};T(v$b,p);v$b.prototype.toObject=function(){if(null!=this){r(this);var a={issueRelationshipsPrefixesMap:Wb(zb(this,1,QF,nb),r$b)}}else a=void 0;return a};v$b.messageId="b.GetIssueDescendantsResponse";var UF=function(a){this.internalArray_=m(a,0,UF.messageId)};T(UF,p);UF.prototype.getIssueRelationshipsList=function(){return kj(this,JF,1)};UF.repeatedFields_=[1];UF.prototype.toObject=function(){if(null!=this){r(this);var a={issueRelationshipsList:Ub(this.getIssueRelationshipsList(),LF)}}else a=void 0;return a};UF.messageId="b.ListIssueRelationshipsResponse";var VF=function(a){this.internalArray_=m(a,0,VF.messageId)};T(VF,p);VF.prototype.getIssueRelationship=function(){return X(this,JF,1)};VF.prototype.setIssueRelationship=function(a){return hj(this,JF,1,a)};VF.prototype.toObject=function(){if(null!=this){r(this);var a={issueRelationship:LF(this.getIssueRelationship())}}else a=void 0;return a};VF.messageId="b.UpdateIssueRelationshipResponse";var WF=function(a){this.executor=a};f=WF.prototype;f.list=function(a,b){return this.executor.get({url:"action/issues/"+a+"/relationships?relationshipType="+b,responseConstructor:UF}).pipe(C(function(c){return c.getIssueRelationshipsList()}))};f.create=function(a,b,c){return this.executor.post({url:"action/issues/"+a+"/relationships?relationshipType="+b,body:c,responseConstructor:SF}).pipe(C(function(d){var e;return null!=(e=d.getIssueRelationship())?e:new JF}))};
f.update=function(a,b,c){return this.executor.put({url:"action/issues/"+a+"/relationships/"+qj(c,1)+"?relationshipType="+b,body:c,responseConstructor:VF}).pipe(C(function(d){var e;return null!=(e=d.getIssueRelationship())?e:new JF}))};f.delete=function(a,b,c){return this.executor.delete({url:"action/issues/"+a+"/relationships/"+c+"?relationshipType="+b,responseConstructor:null})};
f.batchGet=function(a,b,c){a=(new PF).setSourceIssueIdsList(a).setRelationshipType(b).setIncludeArchived(c);return this.executor.post({url:"action/issues/batch_relationships",body:a,responseConstructor:RF}).pipe(C(function(d){return kj(d,QF,1)}))};
var w$b=function(a,b,c){c=c.map(function(d){return(new p$b).setIssueRelationship(d)});b=(new MF).setIssueId(b).setRelationshipType(1).setRequestsList(c);return a.executor.post({url:"action/issues/relationships_batchCreate",body:b,responseConstructor:NF}).pipe(C(function(d){return d.getIssueRelationshipsList()}))},x$b=function(a,b,c){b=(new OF).setIssueId(b).setRelationshipType(1);c=uj(b,3,c);return a.executor.post({url:"action/issues/relationships_batchDelete",body:c,responseConstructor:null})};
WF.prototype.getDescendants=function(a){var b=a.issueIds,c=a.relationshipType,d=a.includeArchived,e=a.depthLimit;a=a.prefixSizeLimit;b=u$b(t$b(s$b(new TF,b).setRelationshipType(c).setIncludeArchived(d),e),a);return this.executor.post({url:"action/issues/descendants",body:b,responseConstructor:v$b}).pipe(C(function(g){var h=new Map;g=k(zb(g,1,QF,nb).entries());for(var l=g.next();!l.done;l=g.next()){var q=k(l.value);l=q.next().value;q=q.next().value;h.set(String(l),q)}return h}))};
WF.\u0275fac=function(a){return new (a||WF)(t(hE))};WF.\u0275prov=yc({token:WF,factory:WF.\u0275fac,providedIn:"root"});var XF=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,""]]),YF=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 ZF={},$F=(ZF[0]=YF.get(0),ZF[1]=YF.get(1),ZF[2]=YF.get(2),ZF[3]=YF.get(3),ZF[4]=YF.get(4),ZF[5]=YF.get(5),ZF[10]=YF.get(10),ZF[9]=YF.get(9),ZF[6]=YF.get(6),ZF[8]=YF.get(8),ZF[7]=YF.get(7),ZF),y$b=xua($F,oj),aG={},hva=(aG.STATUS_UNSPECIFIED=0,aG.NEW=10,aG.ASSIGNED=20,aG.ACCEPTED=30,aG.FIXED=40,aG.VERIFIED=50,aG.DUPLICATE=60,aG.INFEASIBLE=70,aG.NOT_REPRODUCIBLE=80,aG.OBSOLETE=90,aG.INTENDED_BEHAVIOR=100,aG),bG={},z$b=(bG.ASSIGNED=!0,bG.ACCEPTED=!0,bG.FIXED=!0,bG.VERIFIED=!0,bG.DUPLICATE=!0,bG.INFEASIBLE=
!0,bG.NOT_REPRODUCIBLE=!0,bG.OBSOLETE=!0,bG.INTENDED_BEHAVIOR=!0,bG),cG={},dG=(cG[0]=XF.get(0),cG[1]=XF.get(1),cG[2]=XF.get(2),cG[3]=XF.get(3),cG[4]=XF.get(4),cG[5]=XF.get(5),cG[10]=XF.get(10),cG[9]=XF.get(9),cG[6]=XF.get(6),cG[8]=XF.get(8),cG[7]=XF.get(7),cG),xl=xua(dG,oj),eG={},A$b=(eG.P0="P0",eG.P1="P1",eG.P2="P2",eG.P3="P3",eG.P4="P4",eG.PRIORITY_UNSPECIFIED="--",eG),fG={},B$b=(fG.S0="S0",fG.S1="S1",fG.S2="S2",fG.S3="S3",fG.S4="S4",fG.SEVERITY_UNSPECIFIED="--",fG),gG={},C$b=(gG[0]="",gG[1]="Bug",
gG[2]="Feature Request",gG[3]="Customer Issue",gG[4]="Internal Cleanup",gG[5]="Process",gG[6]="Vulnerability",gG[7]="Privacy Issue",gG[8]="Project",gG[9]="Feature",gG[10]="Milestone",gG[11]="Epic",gG[12]="Story",gG[13]="Task",gG),D$b=xua(C$b,Xra),hG={},E$b=(hG[0]="issue-status-wont-fix",hG[1]="issue-status-new",hG[2]="issue-status-assigned",hG[3]="issue-status-accepted",hG[4]="issue-status-fixed",hG[5]="issue-status-verified",hG[10]="issue-status-duplicate",hG[9]="issue-status-wont-fix",hG[6]="issue-status-wont-fix",
hG[8]="issue-status-wont-fix",hG[7]="issue-status-wont-fix",hG),F$b=xua(E$b,oj);var yua=function(a,b,c,d,e){this.status=a;this.displayValue=b;this.open=c;this.assigneeRequirement=d;this.sortOrder=e},iG={},Bl=(iG.NEW=yl("NEW",!0,"FORBIDDEN",10),iG.ASSIGNED=yl("ASSIGNED",!0,"REQUIRED",20),iG.ACCEPTED=yl("ACCEPTED",!0,"REQUIRED",30),iG.FIXED=yl("FIXED",!1,"REQUIRED",40),iG.VERIFIED=yl("VERIFIED",!1,"REQUIRED",50),iG.DUPLICATE=yl("DUPLICATE",!1,"ALLOWED",60),iG.INFEASIBLE=yl("INFEASIBLE",!1,"ALLOWED",70),iG.NOT_REPRODUCIBLE=yl("NOT_REPRODUCIBLE",!1,"ALLOWED",80),iG.OBSOLETE=yl("OBSOLETE",
!1,"ALLOWED",90),iG.INTENDED_BEHAVIOR=yl("INTENDED_BEHAVIOR",!1,"ALLOWED",100),iG),G$b=[Bl.NEW,Bl.ASSIGNED,Bl.ACCEPTED,Bl.FIXED,Bl.VERIFIED,Bl.NOT_REPRODUCIBLE,Bl.INTENDED_BEHAVIOR,Bl.OBSOLETE,Bl.INFEASIBLE,Bl.DUPLICATE],H$b=G$b.map(function(a){return{value:a.status,displayText:a.displayValue}}),I$b=new Set(Object.values(ac(Bl,function(a){return"REQUIRED"===a.assigneeRequirement})));var Nua=new Set(["blockedById","blockingId","duplicateId","parentIssueIds","childIssueIds"]);var J$b=function(a,b){this.data=a;this.cfg=b;this.lastValidated=Date.now()};f=J$b.prototype;f.age=function(){return Date.now()-this.lastValidated};f.isFresh=function(){return this.age()<this.cfg.freshUntil};f.isAncient=function(){return this.age()>this.cfg.ancientAfter};f.getStatus=function(){return this.isFresh()?"fresh":this.isAncient()?"ancient":"uncertain"};f.toString=function(){var a=String(this.data);return Math.ceil(this.age()/1E3)+"s old -- "+a};
var K$b=function(a){this.cfg=a;this.cache=new Map},L$b=function(a,b){a=jG(a,b);return null==a?Infinity:a},jG=function(a,b){var c;return null==(c=a.get(b,!0))?void 0:c.age()};K$b.prototype.isFresh=function(a){return L$b(this,a)<this.cfg.freshUntil};var M$b=function(a,b){return L$b(a,b)<=a.cfg.ancientAfter};f=K$b.prototype;f.isAncient=function(){var a=jG(this);return a?a>this.cfg.ancientAfter:!1};f.getStatus=function(a){a=this.get(a,!0);if(null!=a)return a.getStatus()};
f.has=function(a,b){return!!this.get(a,void 0===b?!1:b)};f.get=function(a,b){b=void 0===b?!1:b;var c=this.cache.get(a);if(null!=c)return c.age()>this.cfg.ancientAfter&&!b&&this.cache.delete(a),this.cache.get(a)};f.getData=function(a,b){var c;return null==(c=this.get(a,void 0===b?!1:b))?void 0:c.data};f.set=function(a,b){this.cache.set(a,new J$b(b,this.cfg))};f.touch=function(a){var b=this.cache.get(a);b&&this.cache.set(a,new J$b(b.data,this.cfg))};
f.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)};f.debug=function(){return Object.assign({},this.cfg,{count:this.cache.size,keys:this.cache.keys()})};f.toString=function(){return Array.from(this.cache,function(a){a=k(a);var b=a.next().value;a=a.next().value;b=String(b).slice(-16);var c=a.toString();return a.getStatus()+"  "+b+": "+c}).join("\n")};var N$b={trustMemory:!0},O$b=function(){},hqa=["startIndex","totalSize","curPageToken","nextPageToken","prevPageToken"],P$b=function(a){this.ids=[];Object.assign(this,a)};T(P$b,O$b);P$b.prototype.toString=function(){return JSON.stringify(Object.assign({},this,{ids:"["+this.ids.join(",")+"]"}))};
var Q$b={freshUntil:1E4,ancientAfter:792E5},kG=function(a){var b=this;a=void 0===a?{}:a;this.error$=new D.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("ec`"+b.idKey+"`"+c);throw Error("fc`"+c);};this.valsById=new Map;this.collectionsById=new Map;this.setsByLabel=new Map;this.inFlightGets$=new D.BehaviorSubject(Object.freeze({}));
this.inFlightSaves$=new D.BehaviorSubject(Object.freeze({}));this.getting$=this.inFlightGets$.pipe(C(uva));this.saving$=this.inFlightSaves$.pipe(C(uva));this.thinking$=(0,D.combineLatest)(this.getting$,this.saving$).pipe(C(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c||d}),Ne());this.gotOne=function(c){return function(d,e){e=void 0===e?{}:e;e=e.doNotTrack?tva:R$b({label:c,value:jG(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 g=b.valsById.get(c);e("one-isChanged");g?g.next(d):Jh(b.recordType+"::gotOne("+c+") !isEqual. Nobody's listening")}}};this.gotSet=function(c){return function(d){for(var e=k(d),g=e.next();!g.done;g=e.next()){g=g.value;var h=b.idForRecord(g);b.gotOne(h)(g,{doNotTrack:!0})}(e=S$b(b,c))?e.next(d):Kh("gotSet("+c+"), but no channel is set up")}};this.gotAll=function(c){return function(d){var e=R$b({label:c,value:jG(b.collectiveMemory,c)});if(b.normalizeQueryResponses)for(var g=k(d.results),h=g.next();!h.done;h=
g.next()){h=h.value;var l=b.idForRecord(h);b.gotOne(l)(h,{doNotTrack:!0})}g=b.normalize(d);b.collectiveMemory.validate(c,g,gqa);b.collectiveMemory.set(c,g);e("all-isChanged");(e=b.collectionsById.get(c))?(d=b.dereference(g,d.results),e.next(d)):Opa(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(g){return b.idForRecord(g)===d});null==e&&Kh("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=k(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),inFlightSaves:Object.entries(b.inFlightSaves).map(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),records:b.memory.debug(),lists:b.collectiveMemory.debug()}};this.implementsFn=function(){return function(){try{b.doSave()}catch(d){var c=d;if((void 0===c.message?"":
c.message).match("Default no-op for Fridge"))return!1}return!0}};this.canSave=this.implementsFn();this.isThinking=function(c){return b.isSaving(c)||b.isGetting(c)};this.isSaving=function(c){return null==c?uva(b.inFlightSaves):!!b.inFlightSaves[c]};this.isSaving$=function(c){return b.inFlightSaves$.pipe(C(function(d){return!!d[c]}),Ne())};this.isGetting=function(c){return null==c?uva(b.inFlightGets):!!b.inFlightGets[c]};this.watchOne=this.watch=function(c,d){d=void 0===d?N$b:d;"number"===typeof d&&
(d=N$b);if(null==c)return(0,D.of)();"number"===typeof c&&(c=String(c));var e=T$b(b,c);U$b(b,c,d).catch(function(){});return Iv(e)};this.watchSet=function(c,d){d=void 0===d?N$b:d;"number"===typeof d&&(d=N$b);if(0===c.length)return(0,D.of)([]);c=c.map(function(g){return"number"===typeof g?String(g):g});var e=S$b(b,c);V$b(b,c,d);return e};this.watchMany=function(c){var d=void 0===d?N$b:d;c=Object.assign({},b.defaultQuery,c);var e=W$b(b,c);b.getAll(c,d);return Iv(e)};this.save=function(c){var d=b.idForRecord(c);
if(null==d)throw Error("gc");c=b.doSave(c).pipe(Me(0,D.asapScheduler),gja(),me());b.setIsSaving(d);c.subscribe(b.gotOne(d),b.gotErr(d,b.inFlightSaves$),X$b(d,b.inFlightSaves$));return c};this.setIsSaving=function(c){var d={};vva(b.inFlightSaves$,(d[c]=!0,d))};this.clearIsSaving=function(c){wva(b.inFlightSaves$,c)};this.setIsGetting=function(c){var d={};vva(b.inFlightGets$,(d[c]=!0,d))};this.clearIsGetting=function(c){wva(b.inFlightGets$,c)};this.poke=function(c,d){return null==c?Dva():U$b(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("hc");b.gotOne(e)(c,Object.assign({},{doNotTrack:!0},d))}};this.memory=new K$b(Object.assign({},Q$b,a));this.collectiveMemory=new K$b(Object.assign({},Q$b,a))};f=kG.prototype;f.fetchOne=function(){throw Error("ic");};f.fetchAll=function(){throw Error("jc");};
f.fetchSet=function(){throw Error("kc");};f.doSave=function(){throw Error("lc");};f.copy=function(){throw Error("mc");};f.isEqual=function(a,b){return gqa(a,b,100)};
var U$b=function(a,b,c){c=void 0===c?{}:c;var d=c.trustMemory,e=c.trustUncertainMemory;c=R$b({label:b,value:jG(a.memory,b)});d=d&&a.memory.isFresh(b);e=e&&M$b(a.memory,b);if(d||e)return c("one-trustMemory"),c=a.memory.getData(b),Cva(c);if(a.inFlightGets[b])return c("one-inFlight"),c=T$b(a,b),Bva(c).then(Cva);c("one-fetch");var g=a.fetchOne(b).pipe(Me(0,D.asapScheduler));a.setIsGetting(b);return new Promise(function(h,l){g.subscribe(function(q){a.gotOne(b)(q);h(q)},function(q){a.gotErr(b,a.inFlightGets$)(q);
l(q)},X$b(b,a.inFlightGets$))})},V$b=function(a,b,c){c=(void 0===c?{}:c).trustMemory;var d="["+[].concat(cd(b)).sort().join("-")+"]",e=R$b({label:d});if(c&&Y$b(a,b))Z$b(a,b),e("set-trustMemory");else if(a.inFlightGets[d])e("set-inFlight");else{e("set-fetch");c=a.fetchSet(b).pipe(Me(0,D.asapScheduler));e={};e=(e[d]=!0,e);for(var g=k(b),h=g.next();!h.done;h=g.next())e[h.value]=!0;vva(a.inFlightGets$,e);c.subscribe(a.gotSet(b),function(l){xva(a.inFlightGets$,b);a.gotErr(d,a.inFlightGets$)(l)},function(){xva(a.inFlightGets$,
[d].concat(cd(b)))})}},Y$b=function(a,b){return b.every(function(c){return a.memory.isFresh(c)})},Z$b=function(a,b){var c=$$b(a,b).filter(Ai);S$b(a,b).next(c)};
kG.prototype.getAll=function(a,b){var c=(void 0===b?{}:b).trustMemory;b=yva(a);var d=R$b({label:b,value:jG(this.collectiveMemory,b)});if(c&&this.collectiveMemory.isFresh(b))return d("all-trustMemory"),a=this.collectiveMemory.getData(b),b=$$b(this,a.ids).filter(Ai),a=this.dereference(a,b),Promise.resolve(a);if(this.inFlightGets[b])return d("all-inFlight"),a=W$b(this,a),Bva(a);d("all-fetch");c=this.fetchAll(a).pipe(Me(0,D.asapScheduler));this.setIsGetting(b);c.subscribe(this.gotAll(b),this.gotErr(b,
this.inFlightGets$),X$b(b,this.inFlightGets$));a=W$b(this,a);return Bva(a)};kG.prototype.gotErr=function(a,b){var c=this;return function(d){d=Object.assign({},{idOrKey:a},d);Ppa(a+" gotErr()",d);wva(b,a);JSON.stringify(d,null,2);c.error$.next(d)}};var X$b=function(a,b){return function(){wva(b,a)}};kG.prototype.normalize=function(a){var b=a.results.map(this.idForRecord);return new P$b(Object.assign({},Ava(a),{ids:b}))};
kG.prototype.dereference=function(a,b){b=a.ids.map(this.dereferenceOne(b)).filter(Boolean);return Object.assign({},Ava(a),{results:b})};
var $$b=function(a,b){return b.map(function(c){return a.memory.getData(c)})},W$b=function(a,b){b=yva(b);return zva(a.collectionsById,b,new D.ReplaySubject(1))},S$b=function(a,b){b="["+[].concat(cd(b)).sort().join("-")+"]";return zva(a.setsByLabel,b,new D.ReplaySubject(1))},T$b=function(a,b){var c=new D.ReplaySubject(1),d=a.memory.getData(b);null!=d&&c.next(d);return zva(a.valsById,b,c)},aac=function(a,b){return["string","number"].includes(typeof b)?a.memory.getStatus(String(b)):a.collectiveMemory.getStatus(yva(b))};
kG.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(yva(a))};var lG=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)};
sh.Object.defineProperties(kG.prototype,{inFlightGets:{configurable:!0,enumerable:!0,get:function(){return this.inFlightGets$.getValue()}},inFlightSaves:{configurable:!0,enumerable:!0,get:function(){return this.inFlightSaves$.getValue()}}});var R$b=function(a){for(var b=k(Object.keys(a)),c=b.next();!c.done;c=b.next())c=c.value,null==a[c]&&delete a[c];return function(){}},mG=function(){kG.apply(this,arguments);this.defaultQuery={}};T(mG,kG);var nG=function(a){mG.call(this);this.observableIssueResources=a;this.recordType="eventsForIssue"};T(nG,mG);nG.prototype.isEqual=function(a,b){return(null==a?void 0:a.id)!==(null==b?void 0:b.id)?!1:eva(null==a?void 0:a.events,null==b?void 0:b.events)};nG.prototype.copy=function(a){return a&&Yh(a)};nG.prototype.fetchOne=function(a){return n$b(this.observableIssueResources,a).pipe(C(function(b){return{id:a,events:b}}))};nG.prototype.fetchSet=function(a){var b=this;return(0,D.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(C(function(c){return c.filter(Ai)}))};
nG.\u0275fac=function(a){return new (a||nG)(t(HF))};nG.\u0275prov=yc({token:nG,factory:nG.\u0275fac,providedIn:"root"});var Eva=RegExp("^https?:\\/\\/((?:screenshot.googleplex.com|screenshot.corp.google.com|screen.corp.google.com|screenshot|screen)\\/([\\w-]+)(?:\\.png)?$)"),Hva=RegExp("^(https?:\\/\\/)(www\\.)?(go|goto|goto\\.google\\.com)\\/([A-Za-z0-9-]+$)");var oG=function(a,b,c,d){this.issueApi=a;this.issueRelationshipApi=b;this.changelistApi=c;this.eventsForIssueFridge=d},dac=function(a,b){var c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da,Oa,Ta,Wa,Nb;return pe(function(Eb){switch(Eb.nextAddress){case 1:return b=Al(b),d=c=0,e=[],g=[],h=[],l=[],q=[],v=[],x=[],A=[],null==b||0===b.length?Eb.return({totalCount:c,openCount:d,clIds:e,pendingChangeLists:g,hyperLinks:h,issueLinks:l,screenshots:q,goLinks:v,contributors:x,comments:A}):Eb.yield(bac(a,b),2);case 2:return G=
Eb.yieldResult,M=[].concat(cd(b)),Object.values(G).forEach(function(cb){M.push.apply(M,cd(cb))}),M=Al(M),Eb.yield(a.getIssues(M),3);case 3:Q=Eb.yieldResult;Y={};W=k(Q);for(ia=W.next();!ia.done;ia=W.next())ja=ia.value,Y[ja.issueId]=ja;c=M.length-b.length;Aa=k(b);Da=Aa.next();case 4:if(Da.done){Eb.jumpTo(6);break}Oa=Da.value;return Eb.yield(cac(a,Oa,G,Y),7);case 7:Ta=Eb.yieldResult;d+=Ta.openCount;e.push.apply(e,cd(Ta.clIds));g.push.apply(g,cd(Ta.pendingChangeLists));h.push.apply(h,cd(Ta.hyperLinks));
l.push.apply(l,cd(Ta.issueLinks));q.push.apply(q,cd(Ta.screenshots));v.push.apply(v,cd(Ta.goLinks));x.push.apply(x,cd(Ta.contributors));A.push.apply(A,cd(Ta.comments));Da=Aa.next();Eb.jumpTo(4);break;case 6:return A.sort(function(cb,sa){var Ka,Qa,fb,$a;return(null==(Ka=sa.comments)?NaN:null==(Qa=Ka[0])?NaN:Qa.modifiedTime)-(null==(fb=cb.comments)?NaN:null==($a=fb[0])?NaN:$a.modifiedTime)}),Wa=g.map(function(cb){return cb.fixedIssueIds}).flat(),Nb=g.map(function(cb){return cb.issueIds}).flat(),Eb.return({totalCount:c,
openCount:d,clIds:Al(e),pendingChangeLists:zl(g,function(cb){return cb.changelistNumber}),bugToPendingCl:new Map(Nb.map(function(cb){return[cb,g.find(function(sa){return sa.issueIds.includes(cb)})]})),bugToPendingFixCl:new Map(Wa.map(function(cb){return[cb,g.find(function(sa){return sa.fixedIssueIds.includes(cb)})]})),hyperLinks:Al(h),issueLinks:Al(l),screenshots:Al(q),goLinks:Al(v),contributors:Al(x),comments:A})}})},iac=function(a,b){var c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da,Oa,Ta,Wa,Nb,Eb,
cb,sa,Ka;return pe(function(Qa){switch(Qa.nextAddress){case 1:return b=Al(b),c=b.length,d=0,e=[],g=[],h=[],l=[],q=[],v=[],x=[],null==b||0===b.length?Qa.return({totalCount:c,openCount:d,clIds:e,pendingChangeLists:[],hyperLinks:g,issueLinks:h,screenshots:l,goLinks:q,contributors:v,comments:x}):Qa.yield(Promise.all([a.getIssues(b),eac(a,b)]),2);case 2:A=Qa.yieldResult,G=k(A),M=G.next().value,Q=G.next().value,Y=M,W=Q,Y.sort(function(fb,$a){return $a.majorModifiedTimeMicros-fb.majorModifiedTimeMicros}),
ia=10,ja=0,Aa=k(Y),Da=Aa.next();case 3:if(Da.done){Qa.jumpTo(5);break}Oa=Da.value;Il(Oa)&&(d+=1);Ta=fac(Oa);e.push.apply(e,cd(Ta));Wa=gac(Oa);g.push.apply(g,cd(Wa.hyperLinks));h.push.apply(h,cd(Wa.issueLinks));q.push.apply(q,cd(Wa.goLinks));l.push.apply(l,cd(Wa.screenshots));Nb=ava(Oa);null!=Nb&&v.push(Nb);if(!(ja<ia)){Qa.jumpTo(4);break}qe(Qa,7);return Qa.yield(hac(a,Oa.issueId),9);case 9:Eb=Qa.yieldResult;0<Eb.comments.length&&x.push(Eb);ja+=1;Hs(Qa,4);break;case 7:cb=te(Qa),console.warn("fetch comments",
cb);case 4:Da=Aa.next();Qa.jumpTo(3);break;case 5:return e.sort(function(fb,$a){return Number($a)-Number(fb)}),sa=W.map(function(fb){return fb.fixedIssueIds}).flat(),Ka=W.map(function(fb){return fb.issueIds}).flat(),Qa.return({totalCount:c,openCount:d,clIds:Al(e),pendingChangeLists:zl(W,function(fb){return fb.changelistNumber}),bugToPendingCl:new Map(Ka.map(function(fb){return[fb,W.find(function($a){return $a.issueIds.includes(fb)})]})),bugToPendingFixCl:new Map(sa.map(function(fb){return[fb,W.find(function($a){return $a.fixedIssueIds.includes(fb)})]})),
hyperLinks:Al(g),issueLinks:Al(h),screenshots:Al(l),goLinks:Al(q),contributors:Al(v),comments:x})}})},cac=function(a,b,c,d){var e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da,Oa,Ta,Wa,Nb,Eb;return pe(function(cb){switch(cb.nextAddress){case 1:return g=e=0,h=[],l=[],q=[],v=[],x=[],A=[],G=[],M=jac(a,d[b],c,d),Q=M.map(function(sa){return sa.issueId}),cb.yield(eac(a,Q),2);case 2:Y=cb.yieldResult,M.sort(function(sa,Ka){return Ka.majorModifiedTimeMicros-sa.majorModifiedTimeMicros}),W=10,ia=0,ja=k(M),Aa=ja.next();
case 3:if(Aa.done){cb.jumpTo(5);break}Da=Aa.value;Da.issueId!==b&&Il(Da)&&(g+=1);Oa=fac(Da);h.push.apply(h,cd(Oa));Ta=gac(Da);l.push.apply(l,cd(Ta.hyperLinks));q.push.apply(q,cd(Ta.issueLinks));x.push.apply(x,cd(Ta.goLinks));v.push.apply(v,cd(Ta.screenshots));Wa=ava(Da);null!=Wa&&A.push(Wa);if(!(ia<W)){cb.jumpTo(4);break}qe(cb,7);return cb.yield(hac(a,Da.issueId),9);case 9:Nb=cb.yieldResult;0<Nb.comments.length&&G.push(Nb);ia+=1;Hs(cb,4);break;case 7:Eb=te(cb),console.warn("fetch comments",Eb);case 4:Aa=
ja.next();cb.jumpTo(3);break;case 5:return h.sort(function(sa,Ka){return Number(Ka)-Number(sa)}),cb.return({totalCount:e,openCount:g,clIds:h,pendingChangeLists:Y,hyperLinks:l,issueLinks:q,screenshots:v,goLinks:x,contributors:A,comments:G})}})},jac=function(a,b,c,d){if(null==b)return console.warn("getIssueAndDescendants() missing an issue"),[];var e=[b];b=k(c[b.issueId]);for(var g=b.next();!g.done;g=b.next())g=jac(a,d[g.value],c,d),e.push.apply(e,cd(g));return e},fac=function(a){var b=[],c,d;a=null==
(c=a.snapshot)?void 0:null==(d=c[0])?void 0:d.changelist;null!=a&&b.push.apply(b,cd(a));return b},eac=function(a,b){var c;return pe(function(d){if(1==d.nextAddress)return d.yield((0,D.firstValueFrom)(y6b(a.changelistApi,b)),2);c=d.yieldResult;return d.return(c.changelists)})},bac=function(a,b){var c,d,e,g,h,l,q,v,x,A;return pe(function(G){if(1==G.nextAddress)return c={},G.yield((0,D.firstValueFrom)(a.issueRelationshipApi.getDescendants({issueIds:b,relationshipType:1,includeArchived:!1,depthLimit:10,
prefixSizeLimit:100})),2);d=G.yieldResult;e=k(d.entries());for(g=e.next();!g.done;g=e.next())h=g.value,l=k(h),q=l.next().value,v=l.next().value,x=q,A=v,c[String(x)]=A.getIssueRelationshipsList().map(function(M){return String(qj(M,1))});return G.return(c)})},gac=function(a){var b=[],c=[],d=[],e=[];a=k(a.relatedLinks||[]);for(var g=a.next();!g.done;g=a.next())g=g.value,"hyperlink"===g.type?(Fva(g.href)?d.push(g.href):b.push(g.href),Iva(g)&&e.push(g.href)):"issueReference"===g.type&&c.push(g.issueId);
return{hyperLinks:b,issueLinks:c,goLinks:e,screenshots:d}},hac=function(a,b){var c,d,e,g,h,l,q,v,x,A;return pe(function(G){if(1==G.nextAddress)return c=3,d=new Set,e=[],G.yield((0,D.firstValueFrom)(a.eventsForIssueFridge.watchOne(b)),2);g=G.yieldResult;if(void 0===g)return G.return({issueId:b,comments:e});h=k(g.events.reverse());for(l=h.next();!l.done&&!(q=l.value,Fl(q)&&q.isHumanAuthor&&(v=q.commentNumber,null!==v&&!d.has(v)&&(d.add(v),x=q.unlinkifiedComment,A=q.commentLastModifiedAtDate,null!=x&&
0<x.length&&null!=A&&e.push({commentNumber:v,content:x,modifiedTime:A}),d.size>=c)));l=h.next());return G.return({issueId:b,comments:e})})};
oG.prototype.getIssues=function(a){var b=this,c,d,e,g,h;return pe(function(l){switch(l.nextAddress){case 1:c=[],d=0;case 2:if(!(d<a.length)){l.jumpTo(4);break}e=a.slice(d,d+100);g=[];qe(l,5);return l.yield(b.issueApi.batchGetIssues(e),7);case 7:g=l.yieldResult;Hs(l,6);break;case 5:h=te(l),console.warn("fetch issues",h);case 6:c.push.apply(c,cd(g));d+=100;l.jumpTo(2);break;case 4:return l.return(c)}})};oG.\u0275fac=function(a){return new (a||oG)(t(IF),t(WF),t(nE),t(nG))};
oG.\u0275prov=yc({token:oG,factory:oG.\u0275fac,providedIn:"root"});var kac=["needs-attention-table","needs-attention-cards","mvp-needs-attention"],lac="tp-my-work team-activity-stream large-activity-stream assigned-to-me recent-stuff-i-follow my-tasks-area mvp-my-tasks".split(" "),mac=["my-projects-as-cards","recently-viewed-i-own","suggested-issues","work-areas-wrapper-card"];[].concat(cd(kac),cd(mac),cd(lac));var nac=["children","immersed"];cd(nac);
var Zva=["assigned-to-me","recent-stuff-i-follow"],oac={collapsed:{},projectFilters:[]},pac={layout:"layout-b",showHiddenSettings:!1,sectionA:"",sectionW:"my-projects-as-cards",sectionT:"tp-my-work",collapsed:{},projectFilters:["OPEN"],pinned:[],issuesThisWeek:{issues:[],weekNumber:0}},qac={"2022-may":pac,a1:{layout:"layout-a",sectionA:"needs-attention-table",sectionW:"my-projects-as-cards",sectionT:"tp-my-work"},b1:{layout:"layout-b",sectionA:"needs-attention-table",sectionW:"my-projects-as-cards",
sectionT:"tp-my-work"},c1:{layout:"layout-c",sectionA:"needs-attention-table",sectionT:"assigned-to-me",sectionW:"my-projects-as-tabs"},study:{layout:"layout-c",sectionA:"mvp-needs-attention",sectionW:"",sectionT:"mvp-my-tasks mvp-my-work"}},rac="title assignee status id modifiedTime menu".split(" ");var sac=vl(),Ul=Wl(sac.user.email);var tac=function(a){this.internalArray_=m(a,0,tac.messageId)};T(tac,p);f=tac.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.setPageSize=function(a){return V(this,2,a)};f.setPageToken=function(a){return sk(this,3,a)};f.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),pageSize:n(ft(this,2)),pageToken:n(Z(this,3))}}else a=void 0;return a};tac.messageId="b.AggregateIssueDescendantsRequest";var pG=function(a){this.internalArray_=m(a)};T(pG,p);f=pG.prototype;f.getStatus=function(){return Zi(this,1,0)};f.setStatus=function(a){return V(this,1,a)};f.hasStatus=function(){return pj(this,1)};f.getIssueIdsList=function(){return Sh(this,2)};f.setIssueIdsList=function(a){return uj(this,2,a)};f.addIssueIds=function(a){Cb(this,2,a)};pG.repeatedFields_=[2];pG.prototype.toObject=function(){return uac(this)};var uac=function(a){if(null!=a)return r(a),{status:n(Er(a,1)),issueIdsList:n(Sh(a,2))}};var qG=function(a){this.internalArray_=m(a)};T(qG,p);f=qG.prototype;f.getIssueIdsList=function(){return Sh(this,1)};f.setIssueIdsList=function(a){return uj(this,1,a)};f.addIssueIds=function(a){Cb(this,1,a)};f.getCollaboratorsList=function(){return kj(this,ri,6)};f.setCollaborators=function(a){$s(this,6,ri,a)};f.getChangelistsList=function(){return Th(this,7)};qG.repeatedFields_=[1,2,3,4,5,6,7];qG.prototype.toObject=function(){return vac(this)};
var vac=function(a){if(null!=a)return r(a),{issueIdsList:n(Sh(a,1)),aggregatedStatusList:Ub(kj(a,pG,2),uac),reportersList:Ub(kj(a,ri,3),sE),assigneesList:Ub(kj(a,ri,4),sE),verifiersList:Ub(kj(a,ri,5),sE),collaboratorsList:Ub(a.getCollaboratorsList(),sE),changelistsList:n(Th(a,7))}};var rG=function(a){this.internalArray_=m(a,0,rG.messageId)};T(rG,p);rG.prototype.getNextPageToken=function(){return U(this,2)};rG.prototype.toObject=function(){if(null!=this){r(this);var a={aggregatedIssueMetadata:vac(X(this,qG,1)),nextPageToken:n(Z(this,2))}}else a=void 0;return a};rG.messageId="b.AggregateIssueDescendantsResponse";var sG=function(a){this.executor=a};
sG.prototype.get=function(a){var b=new tac;b.setIssueId(a);return this.executor.post({url:"action/issues/aggregateIssueDescendants",body:b,responseConstructor:rG}).pipe(C(function(c){var d=X(c,qG,1);if(d){var e;c={_rootId:a,issueIds:d.getIssueIdsList(),aggregatedStatus:null!=(e=kj(d,pG,2).map(bwa).filter(Ai))?e:[],reporters:qi(kj(d,ri,3)),assignees:qi(kj(d,ri,4)),verifiers:qi(kj(d,ri,5)),collaborators:qi(d.getCollaboratorsList()),changelists:d.getChangelistsList()}}else c=void 0;return c}))};
sG.\u0275fac=function(a){return new (a||sG)(t(hE))};sG.\u0275prov=yc({token:sG,factory:sG.\u0275fac,providedIn:"root"});var tG=function(a){mG.call(this);this.api=a;this.recordType="AggregatedIssueMetadata";this.idKey="_rootId"};T(tG,mG);tG.prototype.fetchOne=function(a){return this.api.get(a)};tG.\u0275fac=function(a){return new (a||tG)(t(sG))};tG.\u0275prov=yc({token:tG,factory:tG.\u0275fac,providedIn:"root"});var uG=function(a){kG.call(this);this.api=a;this.defaultQuery={};this.recordType="Changelist";this.idKey="changelistNumber"};T(uG,kG);uG.prototype.fetchAll=function(a){if(a=a.pendingForIssues)return 0===a.length?(0,D.of)({results:[]}):y6b(this.api,a).pipe(C(function(b){var c;return{results:null!=(c=b.changelists)?c:[]}}));throw Error("nc");};uG.\u0275fac=function(a){return new (a||uG)(t(nE))};uG.\u0275prov=yc({token:uG,factory:uG.\u0275fac,providedIn:"root"});var vG=function(){};vG.prototype.adapt=function(a){var b,c=new wac(a.call.bind(a),a.split.bind(a),null!=(b=a.bufferTimeMs)?b:500,a.maxBatchSize||100);return c.get.bind(c)};vG.\u0275fac=function(a){return new (a||vG)};vG.\u0275prov=yc({token:vG,factory:vG.\u0275fac,providedIn:"root"});
var wac=function(a,b,c,d){var e=this;this.batchCall=a;this.batchSplit=b;this.bufferTimeMs=c;this.maxBatchSize=d;this.inputSubject=new D.Subject;this.inputs$=this.inputSubject.pipe(Eia(this.inputSubject.pipe(Je(this.bufferTimeMs,D.asapScheduler))));this.removeDuplicates=C(function(g){return[].concat(cd(new Set(g)))});this.limitInputSize=C(function(g){for(var h=k(g.slice(e.maxBatchSize)),l=h.next();!l.done;l=h.next())e.inputSubject.next(l.value);return new Set(g.slice(0,e.maxBatchSize))});this.makeBatchCalls=
(0,D.pipe)(ze(function(g){try{return e.batchCall(g).pipe(Oe(),C(function(h){return{inputs:g,batchResponse:h,error:void 0}}),Ke(function(h){return(0,D.of)({inputs:g,batchResponse:void 0,error:h})}))}catch(h){return(0,D.of)({inputs:g,batchResponse:void 0,error:h})}}),We());this.batchResults$=this.inputs$.pipe(this.removeDuplicates,this.limitInputSize,this.makeBatchCalls)};
wac.prototype.get=function(a){var b=this;return new D.Observable(function(c){c=b.batchResults$.pipe(Ge(function(d){return d.inputs.has(a)}),Oe(),C(function(d){if(!d.error&&d.batchResponse)return b.batchSplit(a,d.batchResponse);throw d.error;})).subscribe(c);b.inputSubject.next(a);return c})};var xac=function(a){this.internalArray_=m(a,0,xac.messageId)};T(xac,p);xac.prototype.toObject=function(){if(null!=this){r(this);var a={component:kF(X(this,dk,1))}}else a=void 0;return a};xac.messageId="b.CreateComponentResponse";var wG=function(a){this.internalArray_=m(a,0,wG.messageId)};T(wG,p);wG.repeatedFields_=[1];wG.prototype.toObject=function(){if(null!=this){r(this);var a={componentList:Ub(kj(this,dk,1),kF)}}else a=void 0;return a};wG.messageId="b.ListComponentsResponse";var hta=function(a){this.internalArray_=m(a)};T(hta,p);f=hta.prototype;f.getComponentPath=function(){return U(this,1)};f.getRetentionSettings=function(){return X(this,$i,2)};f.setRetentionSettings=function(a){hj(this,$i,2,a)};f.hasRetentionSettings=function(){return Nj(this,$i,2)};f.toObject=function(){return yac(this)};var yac=function(a){if(null!=a)return r(a),{componentPath:n(Z(a,1)),retentionSettings:a8b(a.getRetentionSettings())}};var xG=function(a){this.internalArray_=m(a,0,xG.messageId)};T(xG,p);xG.repeatedFields_=[2];xG.prototype.toObject=function(){if(null!=this){r(this);var a={descendantsList:Ub(kj(this,hta,2),yac)}}else a=void 0;return a};xG.messageId="b.SubcomponentsResponse";var zac=function(){},Aac=function(){},yG=function(a,b){this.executor=a;this.currentTrackerId=b};T(yG,Aac);f=yG.prototype;f.get=function(a){return this.query({id:[a]}).pipe(C(function(b){return b.length?b[0]:null}))};f.getChildren=function(a,b){a={parentId:String(a)};if(void 0===b?0:b)a.includearchived=!0;return this.query(a)};f.getDescendants=function(a){return this.executor.get({url:"action/components/"+a+"/descendants",responseConstructor:xG}).pipe(C(ita))};
f.fetchComponent=function(a,b){var c={};b.checkEditAccess&&(c.checkEditAccess="true");return this.executor.get({url:"action/components/"+a,options:{params:c},responseConstructor:dk}).pipe(C(Yj))};
f.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();Xl(a)||(b.currentTrackerId=a);return this.executor.get({url:"action/components",options:{params:b},responseConstructor:wG}).pipe(C(fta))};
f.create=function(a){a=$sa(a);return this.executor.post({url:"action/components",body:a,responseConstructor:xac}).pipe(C(function(b){return Yj(X(b,dk,1))}))};
f.update=function(a){var b=a.componentId,c=new dk;c.setComponentId(String(a.componentId));V(c,2,String(a.parentComponentId));c.setName(a.name);c.setDescription(a.description);c.setArchived(a.archived);if(a.customFieldId){var d=a.customFieldId.map(String);uj(c,7,d)}if(a.componentPathInfo){var e=a.componentPathInfo;d=new Zj;if(e.componentPathId){var g=e.componentPathId.map(String);uj(d,1,g)}e.componentPathName&&(g=e.componentPathName.map(String),Pi(d,2,g));e.allCustomField&&(e=e.allCustomField.map(jra),
nj(d,4,e));hj(c,Zj,10,d)}a.accessLimit&&c.setAccessLimit(Cqa(a.accessLimit));sk(c,13,a.emailAlias);a.userHasEditAccess&&Vj(c,14,a.userHasEditAccess);a.commentEditState&&c.setCommentEditState("ENABLED"===a.commentEditState?1:2);V(c,18,String(a.defaultTemplateId));a.slo&&c.setSlo(Dra(a.slo));V(c,20,a.bugscopeSloId);a.retentionSettings&&c.setRetentionSettings(vra(a.retentionSettings));a.fieldOrdering&&V(c,23,B6b[a.fieldOrdering]);a.effortSpec&&(d=nra(a.effortSpec),hj(c,Ui,24,d));a.team&&c.setTeam(Rsa(a.team));
var h;c.setTeamSuggestionsList((null!=(h=a.teamSuggestions)?h:[]).map(Vsa));return this.executor.post({url:"action/components/"+b,body:c,responseConstructor:dk}).pipe(C(Yj))};f.move=function(a,b){return this.executor.post({url:"action/components/"+a+"/move",body:null,options:{params:{parentId:String(b)}},responseConstructor:dk}).pipe(C(Yj))};f.updateSlo=function(a,b){var c=new lF;c.setSlo(Dra(b));return this.executor.post({url:"action/components/"+a+"/updateSlo",body:c,responseConstructor:dk}).pipe(C(Yj))};
f.updateTeam=function(a,b){var c=new mF;c.setTeam(Rsa(b));return this.executor.post({url:"action/components/"+a+"/updateTeam",body:c,responseConstructor:dk}).pipe(C(Yj))};yG.\u0275fac=function(a){return new (a||yG)(t(hE),t(sF))};yG.\u0275prov=yc({token:yG,factory:yG.\u0275fac,providedIn:"root"});var zG=function(a){this.observableApi=a};T(zG,zac);f=zG.prototype;f.get=function(a){return(0,D.firstValueFrom)(this.observableApi.get(a))};
f.getChildren=function(a,b){return(0,D.firstValueFrom)(this.observableApi.getChildren(a,void 0===b?!1:b))};f.getDescendants=function(a){return(0,D.firstValueFrom)(this.observableApi.getDescendants(a))};f.fetchComponent=function(a,b){return(0,D.firstValueFrom)(this.observableApi.fetchComponent(a,b))};f.query=function(a){return(0,D.firstValueFrom)(this.observableApi.query(a))};f.create=function(a){return(0,D.firstValueFrom)(this.observableApi.create(a))};f.update=function(a){return(0,D.firstValueFrom)(this.observableApi.update(a))};
f.move=function(a,b){return(0,D.firstValueFrom)(this.observableApi.move(a,b))};f.updateSlo=function(a,b){return(0,D.firstValueFrom)(this.observableApi.updateSlo(a,b))};f.updateTeam=function(a,b){return(0,D.firstValueFrom)(this.observableApi.updateTeam(a,b))};zG.\u0275fac=function(a){return new (a||zG)(t(yG))};zG.\u0275prov=yc({token:zG,factory:zG.\u0275fac,providedIn:"root"});var AG=function(a){mG.call(this,{freshUntil:12E4,ancientAfter:6048E5});this.batchedComponentApi=a;this.recordType="component";this.idKey="componentId"};T(AG,mG);AG.prototype.fetchOne=function(a){return this.batchedComponentApi.get(a).pipe(Ke(function(){return(0,D.of)(void 0)}))};AG.prototype.fetchSet=function(a){var b=this;return(0,D.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(C(function(c){return c.filter(Ai)}))};AG.\u0275fac=function(a){return new (a||AG)(t(BG))};
AG.\u0275prov=yc({token:AG,factory:AG.\u0275fac,providedIn:"root"});var BG=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)}})};
BG.prototype.call=function(a){return 1===a.size?this.observableComponentApi.fetchComponent([].concat(cd(a))[0],{}).pipe(C(function(b){return new Map(b?[[b.componentId,b]]:[])})):this.observableComponentApi.query({id:[].concat(cd(a))}).pipe(C(function(b){return new Map(b.map(function(c){return[c.componentId,c]}))}))};BG.prototype.splitBatch=function(a,b){return b.get(Number(a))};BG.\u0275fac=function(a){return new (a||BG)(t(Aac),t(vG))};BG.\u0275prov=yc({token:BG,factory:BG.\u0275fac,providedIn:"root"});var CG=function(a){this.internalArray_=m(a,0,CG.messageId)};T(CG,p);CG.prototype.getSnapshot=function(){return X(this,sj,1)};CG.prototype.setSnapshot=function(a){hj(this,sj,1,a)};CG.prototype.toObject=function(){if(null!=this){r(this);var a={snapshot:s8b(this.getSnapshot()),customFieldMapMap:Wb(fk(this,2,Ti),Y6b)}}else a=void 0;return a};CG.messageId="b.IssueTemplateResponse";var DG=function(a){this.internalArray_=m(a,0,DG.messageId)};T(DG,p);DG.repeatedFields_=[1];DG.prototype.toObject=function(){if(null!=this){r(this);var a={templatesList:Ub(kj(this,ek,1),K8b)}}else a=void 0;return a};DG.messageId="b.ListTemplatesResponse";var EG=function(a){this.internalArray_=m(a,0,EG.messageId)};T(EG,p);EG.prototype.toObject=function(){if(null!=this){r(this);var a={template:K8b(X(this,ek,1))}}else a=void 0;return a};EG.messageId="b.TemplateResponse";var Bac=function(){},FG=function(a){this.executor=a};f=FG.prototype;f.get=function(a,b){return this.executor.get({url:"action/components/"+a+"/templates/"+b,responseConstructor:EG}).pipe(C(cwa))};f.query=function(a){return this.executor.get({url:"action/components/"+a+"/templates",responseConstructor:DG}).pipe(C(dwa))};f.create=function(a,b){b=dta(b);return this.executor.post({url:"action/components/"+a+"/templates",responseConstructor:EG,body:b}).pipe(C(cwa))};
f.update=function(a,b,c){c=dta(c);return this.executor.post({url:"action/components/"+a+"/templates/"+b,responseConstructor:EG,body:c}).pipe(C(cwa))};f.delete=function(a,b){return this.executor.delete({url:"action/components/"+a+"/templates/"+b,responseConstructor:null})};f.getIssueTemplate=function(a,b){return this.executor.get({url:"action/components/"+a+"/issue_template",responseConstructor:CG,options:{params:{templateId:String(b)}}}).pipe(C(eta))};FG.\u0275fac=function(a){return new (a||FG)(t(hE))};
FG.\u0275prov=yc({token:FG,factory:FG.\u0275fac,providedIn:"root"});var GG=function(a){this.observableApi=a};T(GG,Bac);f=GG.prototype;f.get=function(a,b){return(0,D.firstValueFrom)(this.observableApi.get(a,b))};f.query=function(a){return(0,D.firstValueFrom)(this.observableApi.query(a))};f.create=function(a,b){return(0,D.firstValueFrom)(this.observableApi.create(a,b))};f.update=function(a,b,c){return(0,D.firstValueFrom)(this.observableApi.update(a,b,c))};
f.delete=function(a,b){return(0,D.firstValueFrom)(this.observableApi.delete(a,b))};f.getIssueTemplate=function(a,b){return(0,D.firstValueFrom)(this.observableApi.getIssueTemplate(a,b))};GG.\u0275fac=function(a){return new (a||GG)(t(FG))};GG.\u0275prov=yc({token:GG,factory:GG.\u0275fac,providedIn:"root"});var ewa=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var Cac=Symbol("oc"),Dac=Symbol("pc"),Eac=Symbol("qc"),HG=function(){};HG.prototype.schedule=function(a,b){b=void 0===b?0:b;var c=Yl(),d=c.promise;b=setTimeout(function(){try{var e=a()}catch(g){c.reject(g);d[Eac]=!0;return}c.resolve(e);d[Eac]=!0},b);d[Cac]=b;d[Dac]=c.reject;d[Eac]=!1;return c.promise};HG.prototype.cancel=function(a){var b=a[Cac];if(null==b||a[Eac])return!1;clearTimeout(b);var c;null==(c=a[Dac])||c.call(a,Error("rc"));return a[Eac]=!0};HG.\u0275fac=function(a){return new (a||HG)};
HG.\u0275prov=yc({token:HG,factory:HG.\u0275fac,providedIn:"root"});var IG=function(a){this.timeout=a};IG.prototype.adapt=function(a){return new Fac(this.timeout,a)};IG.\u0275fac=function(a){return new (a||IG)(t(HG))};IG.\u0275prov=yc({token:IG,factory:IG.\u0275fac,providedIn:"root"});var Fac=function(a,b){this.timeout=a;this.bulkGet=b;this.batchedInputs=[[]];this.batchedDeferreds=[[]];this.isBatchScheduled=!1};
Fac.prototype.get=function(a){var b=Yl(),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||Gac(this);return b.promise};
var Gac=function(a){a.isBatchScheduled=!0;a.timeout.schedule(function(){for(var b={},c=0;c<a.batchedInputs.length;b={$jscomp$loop$prop$batchedDeferred$2302:b.$jscomp$loop$prop$batchedDeferred$2302},c++){var d=a.batchedInputs[c];b.$jscomp$loop$prop$batchedDeferred$2302=a.batchedDeferreds[c];a.bulkGet(d).then(function(e){return function(g){for(var h=0;h<e.$jscomp$loop$prop$batchedDeferred$2302.length;h++)e.$jscomp$loop$prop$batchedDeferred$2302[h].resolve(g[h])}}(b),function(e){return function(g){for(var h=
k(e.$jscomp$loop$prop$batchedDeferred$2302),l=h.next();!l.done;l=h.next())l.value.reject(g)}}(b))}a.batchedInputs=[[]];a.batchedDeferreds=[[]];a.isBatchScheduled=!1})};var Zl=function(a){this.internalArray_=m(a,0,Zl.messageId)};T(Zl,p);f=Zl.prototype;f.getResource=function(){return U(this,1)};f.setResource=function(a){return sk(this,1,a)};f.getRelation=function(){return Zi(this,2,0)};f.setRelation=function(a){V(this,2,a)};f.toObject=function(){return Hac(this)};var Hac=function(a){if(null!=a)return r(a),{resource:n(Z(a,1)),relation:n(Er(a,2))}};Zl.messageId="b.ResourceRelation";var JG=function(a){this.internalArray_=m(a,0,JG.messageId)};T(JG,p);JG.repeatedFields_=[1];JG.prototype.toObject=function(){if(null!=this){r(this);var a={grantedList:Ub(kj(this,Zl,1),Hac)}}else a=void 0;return a};JG.messageId="b.UserAccessBatchResponse";var KG=function(){this.resourceNamePattern=RegExp("^((components|issues|hotlists|savedSearches|bookmarkGroups|templates|slos|teams)\\/\\d+|components\\/\\d+\\/slo|components\\/\\d+\\/issueDefaults|teams\\/\\d+\\/slo|issues\\/\\d+\\/(attachments|comments)\\/\\d+)$")};KG.prototype.validate=function(a){return this.resourceNamePattern.test(a)};KG.\u0275fac=function(a){return new (a||KG)};KG.\u0275prov=yc({token:KG,factory:KG.\u0275fac,providedIn:"root"});
var LG=function(a,b,c){var d=this;this.rawUserAccess=a;this.resourceNameValidator=b;this.accesses={};this.accessGetter=c.adapt(function(e){return Iac(d,e)})},Iac=function(a,b){return Jac(a,b).then(function(c){return gwa(b,c)})},MG=function(a,b,c){return a.resourceNameValidator.validate(c)?Kac(a,b,c):Promise.reject("invalid resource name: "+c)},Lac=function(a,b){return a.resourceNameValidator.validate(b)?Promise.all([Kac(a,"admin",b),Kac(a,"writer",b),Kac(a,"appender",b),Kac(a,"reader",b)]).then(function(c){var d=
k(c);c=d.next().value;var e=d.next().value,g=d.next().value;d=d.next().value;return{admin:c,writer:e,appender:g,reader:d}}):Promise.reject("invalid resource name: "+b)},Jac=function(a,b){var c=[],d=[];b=k(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c.push(e.relation),d.push(e.resourceName);return(0,D.firstValueFrom)(a.rawUserAccess.executor.get({url:"action/user_access",options:{params:{relations:c.join(","),resourceNames:d.join(",")}},responseConstructor:JG}).pipe(C(fwa)))},Kac=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(g){return null==g?!1:g});a.accesses[d]=b;b.then(function(){delete a.accesses[d]});return b};LG.\u0275fac=function(a){return new (a||LG)(t(NG),t(KG),t(IG))};LG.\u0275prov=yc({token:LG,factory:LG.\u0275fac,providedIn:"root"});var NG=function(a){this.executor=a};NG.\u0275fac=function(a){return new (a||NG)(t(hE))};NG.\u0275prov=yc({token:NG,factory:NG.\u0275fac,providedIn:"root"});var OG=function(){};OG.\u0275fac=function(a){return new (a||OG)};OG.\u0275mod=Qc({type:OG});OG.\u0275inj=zc({imports:[ex,mD]});var Mac=new ad("MatSnackBarData"),Nac=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var Oac=Math.pow(2,31)-1,PG=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new D.Subject;this._afterOpened=new D.Subject;this._onAction=new D.Subject;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};PG.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit();clearTimeout(this._durationTimeoutId)};
var lwa=function(a){a._onAction.closed||(a._dismissedByAction=!0,a._onAction.next(),a._onAction.complete(),a.dismiss());clearTimeout(a._durationTimeoutId)};f=PG.prototype;f._dismissAfter=function(a){var b=this;this._durationTimeoutId=setTimeout(function(){return b.dismiss()},Math.min(a,Oac))};f._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())};
f._finishDismiss=function(){this._overlayRef.dispose();this._onAction.closed||this._onAction.complete();this._afterDismissed.next({dismissedByAction:this._dismissedByAction});this._afterDismissed.complete();this._dismissedByAction=!1};f.afterOpened=function(){return this.containerInstance._onEnter};f.onAction=function(){return this._onAction};var Pac=Tg("state",[Wg("void, hidden",Vg({transform:"scale(0.8)",opacity:0})),Wg("visible",Vg({transform:"scale(1)",opacity:1})),Xg("* => visible",Ug("150ms cubic-bezier(0, 0, 0.2, 1)")),Xg("* => void, * => hidden",Ug("75ms cubic-bezier(0.4, 0.0, 1, 1)",Vg({opacity:0})))]);var Qac=0,QG=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=Jc(qh);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new D.Subject;this._onExit=new D.Subject;this._onEnter=new D.Subject;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+Qac++;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"))};T(QG,hy);QG.prototype.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._afterPortalAttached();return a};QG.prototype.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._afterPortalAttached();return a};
var Rac=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()})}};f=QG.prototype;f.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())};
f.exit=function(){var a=this;this._ngZone.run(function(){a._animationState="hidden";a._elementRef.nativeElement.setAttribute("mat-exit","");clearTimeout(a._announceTimeoutId)});return this._onExit};f.ngOnDestroy=function(){this._destroyed=!0;this._clearFromModals();this._completeExit()};f._completeExit=function(){var a=this;this._ngZone.onMicrotaskEmpty.pipe(Oe()).subscribe(function(){a._ngZone.run(function(){a._onExit.next();a._onExit.complete()})})};
f._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()};
f._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)}};
f._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()};f._assertNotAttached=function(){};
f._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)})};QG.\u0275fac=function(a){return new (a||QG)(B(df),B(Dd),B(Kw),B(Rx),B(Nac))};QG.\u0275dir=Sc({type:QG,viewQuery:function(a,b){a&1&&bg(ky,7);if(a&2){var c;ag(c=dg())&&(b._portalOutlet=c.first)}},features:[kf]});var Sac=new ad("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new Nac}}),RG=function(a,b,c,d,e,g){this._overlay=a;this._live=b;this._injector=c;this._breakpointObserver=d;this._parentSnackBar=e;this._defaultConfig=g;this._snackBarRefAtThisLevel=null};f=RG.prototype;
f.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)};f.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()};f.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()};
f._attachSnackBarContainer=function(a,b){var c=gf({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:Nac,useValue:b}]});a=a.attach(new fy(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
f._attach=function(a,b){var c=this,d=Object.assign({},new Nac,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var g=new PG(b,e);if(a instanceof Yf)g.instance=b.attachTemplatePortal(new gy(a,null,{$implicit:d.data,snackBarRef:g}));else{var h=this._createInjector(d,g);a=b.attachComponentPortal(new fy(a,void 0,h));g.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(af(e._detachments)).subscribe(function(l){e.overlayElement.classList.toggle(c.handsetCssClass,
l.matches)});d.announcementMessage&&b._onAnnounce.subscribe(function(){c._live.announce(d.announcementMessage,d.politeness)});this._animateSnackBar(g,d);return this._openedSnackBarRef=g};
f._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)})};
f._createOverlay=function(a){var b=new Wz;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"):DWb(c);"top"===a.verticalPosition?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
f._createInjector=function(a,b){return gf({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:PG,useValue:b},{provide:Mac,useValue:a.data}]})};sh.Object.defineProperties(RG.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}}});
RG.\u0275fac=function(a){return new (a||RG)(t(dA),t(mz),t(sv),t(gz),t(RG,12),t(Sac))};RG.\u0275prov=yc({token:RG,factory:RG.\u0275fac});var SG=function(a,b){this.snackBarRef=a;this.data=b};SG.prototype.action=function(){lwa(this.snackBarRef)};sh.Object.defineProperties(SG.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});SG.\u0275fac=function(a){return new (a||SG)(B(PG),B(Mac))};
SG.\u0275cmp=Oc({type:SG,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(a,b){a&1&&(F(0,"span",0),P(1),H(),O(2,hwa,3,1,"div",1));a&2&&(z(1),Mf(b.data.message),z(1),E("ngIf",b.hasAction))},dependencies:[Rw,QA],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 TG=function(){QG.apply(this,arguments)};T(TG,QG);TG.\u0275dir=QG.\u0275dir;TG.prototype._afterPortalAttached=function(){QG.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")};TG.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(TG)))(b||TG)}}();
TG.\u0275cmp=Oc({type:TG,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(a,b){a&1&&uka("@state.done",function(c){return Rac(b,c)});a&2&&Ef("@state",b._animationState)},features:[kf],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(F(0,"div",0),O(1,iwa,0,0,"ng-template",1),H(),I(2,"div"));a&2&&(z(2),of("aria-live",b._live)("role",b._role)("id",b._liveElementId))},dependencies:[ky],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:[Pac]}});var UG=function(){};UG.\u0275fac=function(a){return new (a||UG)};UG.\u0275mod=Qc({type:UG});UG.\u0275inj=zc({imports:[gA,ly,ex,ED,hA,hA]});var VG=function(a,b,c,d,e,g){RG.call(this,a,b,c,d,e,g);this.simpleSnackBarComponent=SG;this.snackBarContainerComponent=TG;this.handsetCssClass="mat-snack-bar-handset"};T(VG,RG);VG.\u0275fac=function(a){return new (a||VG)(t(dA),t(mz),t(sv),t(gz),t(VG,12),t(Sac))};VG.\u0275prov=yc({token:VG,factory:VG.\u0275fac,providedIn:UG});var WG=function(a){this.snackBar=a};WG.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(Tac,b)};WG.\u0275fac=function(a){return new (a||WG)(t(VG))};WG.\u0275prov=yc({token:WG,factory:WG.\u0275fac,providedIn:"root"});
var Tac=function(a,b){this.data=a;this.snackBarRef=b};Tac.\u0275fac=function(a){return new (a||Tac)(B(Mac),B(PG))};
Tac.\u0275cmp=Oc({type:Tac,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&&(F(0,"div",0),O(1,jwa,2,1,"span",1),
O(2,kwa,1,1,"span",2),F(3,"div",3),O(4,mwa,2,1,"button",4),O(5,nwa,2,1,"button",4),O(6,owa,2,0,"button",5),H()());a&2&&(z(1),E("ngIf",!b.data.htmlMessage),z(1),E("ngIf",b.data.htmlMessage),z(2),E("ngIf",b.data.actionLabel),z(1),E("ngIf",b.data.dismissLabel),z(1),E("ngIf",!b.data.dismissLabel))},dependencies:[Rw,HB,QA],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 XG=function(a){this.snackbar=a};XG.prototype.dismiss=function(){this.lastSnackbar&&this.lastSnackbar.dismiss()};var YG=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})},Uac=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})},ZG=function(a,b,c){a.open({message:b,duration:void 0===c?0:c,snackbarType:"ERROR"})};XG.prototype.open=function(a){return this.lastSnackbar=a=this.snackbar.open(a)};XG.\u0275fac=function(a){return new (a||XG)(t(WG))};
XG.\u0275prov=yc({token:XG,factory:XG.\u0275fac,providedIn:"root"});var $G=function(){};f=$G.prototype;f.debug=function(){Jh.apply(null,cd(Zc.apply(0,arguments)))};f.error=function(){Ppa.apply(null,cd(Zc.apply(0,arguments)))};f.info=function(){Npa.apply(null,cd(Zc.apply(0,arguments)))};f.log=function(){Opa.apply(null,cd(Zc.apply(0,arguments)))};f.warn=function(){Kh.apply(null,cd(Zc.apply(0,arguments)))};$G.\u0275fac=function(a){return new (a||$G)};$G.\u0275prov=yc({token:$G,factory:$G.\u0275fac,providedIn:"root"});var aH=function(a,b,c,d){this.butterBar=a;this.activeSession=b;this.$log=c;this.timeout=d};
aH.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.":am(b)?am(b):404===b.status?"Invalid ID.":"Unknown HTTP error "+b.status+". Please copy your data and refresh the page.";c.$log.error(d,b);ZG(c.butterBar,d)})};
var bH=function(a,b){a.$log.warn(b);ZG(a.butterBar,b)},cH=function(a,b){if($l(b))a.errorHandler(null,b);else throw b;};aH.\u0275fac=function(a){return new (a||aH)(t(XG),t(Bs),t($G),t(HG))};aH.\u0275prov=yc({token:aH,factory:aH.\u0275fac,providedIn:"root"});var dH=function(a,b,c,d){this.issueApi=a;this.templatesApi=b;this.errorHandler=c;this.userAccess=d},Wac=function(a,b){b=a.issueApi.getIssue(b).then(function(c){var d=Object,e=d.assign,g=oa(c.issue.snapshot),h=c.firstEvent.unlinkifiedComment;g.comment=h?h.trim():"";g.status="NEW";g.createdTimeMicros=null;g.version=null;g.changelist=null;g.significanceOverride=null;g.duplicateIssueId=null;g.duplicateOfIssueId=null;return e.call(d,{},{snapshot:g,customFieldMap:{}},{trackerId:c.issue.trackerId})}).then(function(c){return Vac(a,
c)});b.catch(function(c){a.errorHandler.errorHandler(null,c)});return b},Vac=function(a,b){var c=b.snapshot.hotlistId;if(!c)return b;var d=c.map(function(e){return MG(a.userAccess,"appender","hotlists/"+e)});return Promise.all(d).then(function(e){b.snapshot.hotlistId=c.filter(function(g,h){return e[h]});return b})};dH.\u0275fac=function(a){return new (a||dH)(t(GF),t(Bac),t(aH),t(LG))};dH.\u0275prov=yc({token:dH,factory:dH.\u0275fac,providedIn:"root"});var eH=function(){this.bookmarkGroupModified=new D.Subject;this.commentSubmitted=new D.Subject;this.commentRendered=new D.Subject;this.componentModified=new D.Subject;this.contactChipsRevertChanges=new D.Subject;this.customFieldsModified=new D.Subject;this.dashboardPanels={moveDown:new D.Subject,moveUp:new D.Subject,moveToTop:new D.Subject,moveToBottom:new D.Subject,remove:new D.Subject};this.favoritesModified=new D.Subject;this.hotlistCreated=new D.Subject;this.onClickAppMenuIcon=new D.Subject;this.openEditField=
new D.Subject;this.sidebarWidthChanged=new D.Subject;this.hotlistChanged=new D.Subject;this.savedSearchModified=new D.Subject;this.sidebarUpdated=new D.Subject;this.topBarEvents={browseComponents:new D.Subject,manageHotlists:new D.Subject,manageSlos:new D.Subject,setDensity:new D.Subject,openSettings:new D.Subject};this.templateModified=new D.Subject;this.issueViewed=new D.Subject;this.issueEdited=new D.Subject;this.focusCommentBox=new D.Subject;this.scrollToCommentBox=new D.Subject;this.needsAttentionIssueCount=
new D.Subject;this.recaptchaSubmitted=new D.Subject};eH.\u0275fac=function(a){return new (a||eH)};eH.\u0275prov=yc({token:eH,factory:eH.\u0275fac,providedIn:"root"});var fH=function(a,b){mG.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(Ge(Ai),C(function(e){return e.templates}),C(function(e){var g;return null!=(g=e.find(function(h){return h.default}))?g:e[0]}))};this.appEvents.templateModified.pipe(Ge(function(d){return!!d&&"0"!==d})).subscribe(function(d){c.poke(d)})};T(fH,mG);
fH.prototype.fetchOne=function(a){return(0,D.from)(this.template.templatesApi.query(Number(a)).then(function(b){return{componentId:a,templates:b}}))};fH.\u0275fac=function(a){return new (a||fH)(t(dH),t(eH))};fH.\u0275prov=yc({token:fH,factory:fH.\u0275fac,providedIn:"root"});var gH=function(a){this.internalArray_=m(a,0,gH.messageId)};T(gH,p);gH.prototype.getCustomField=function(){return X(this,Ti,1)};gH.prototype.setCustomField=function(a){return hj(this,Ti,1,a)};gH.prototype.toObject=function(){if(null!=this){r(this);var a={customField:Y6b(this.getCustomField())}}else a=void 0;return a};gH.messageId="b.CustomFieldResponse";var hH=function(){},iH=function(a){this.executor=a};T(iH,hH);f=iH.prototype;f.get=function(a){return this.executor.get({url:"action/custom_fields/"+Number(a),responseConstructor:gH}).then(gra)};f.getResource=function(a){return this.executor.get({url:"action/custom_fields/"+a,responseConstructor:gH}).then(function(b){return $qa(b.getCustomField())})};f.create=function(a,b){b=jra(b);return this.executor.post({url:"action/custom_fields",options:{params:{componentId:String(a)}},body:b,responseConstructor:gH}).then(gra)};
f.update=function(a,b,c){b=Number(b);c=jra(c);return this.executor.post({url:"action/custom_fields/"+b,options:{params:{componentId:String(a)}},body:c,responseConstructor:gH}).then(gra)};f.delete=function(a,b){return this.executor.delete({url:"action/custom_fields/"+Number(b),options:{params:{componentId:String(a)}},responseConstructor:null})};iH.\u0275fac=function(a){return new (a||iH)(t(iE))};iH.\u0275prov=yc({token:iH,factory:iH.\u0275fac,providedIn:"root"});var jH=function(a){mG.call(this,{freshUntil:18E5,ancientAfter:2592E6});this.api=a;this.recordType="customFieldResource";this.idKey="customFieldId"};T(jH,mG);jH.prototype.fetchOne=function(a){var b=this;return(0,D.defer)(function(){return b.api.getResource(a)}).pipe(Ke(function(c){console.error("error fetching custom field "+a,c);return(0,D.of)(void 0)}))};jH.\u0275fac=function(a){return new (a||jH)(t(hH))};jH.\u0275prov=yc({token:jH,factory:jH.\u0275fac,providedIn:"root"});var kH=function(a){this.internalArray_=m(a,0,kH.messageId)};T(kH,p);kH.prototype.getIssueId=function(){return qj(this,1)};kH.prototype.setIssueId=function(a){return V(this,1,a)};kH.prototype.setCurrentTrackerId=function(a){V(this,3,a)};kH.repeatedFields_=[2];kH.prototype.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),commentNumbersList:n(Qh(this,2)),currentTrackerId:n(Yb(this,3))}}else a=void 0;return a};kH.messageId="b.BatchGetIssueCommentsRequest";var lH=function(a){this.internalArray_=m(a,0,lH.messageId)};T(lH,p);lH.prototype.getIssueCommentsList=function(){return kj(this,cF,1)};lH.repeatedFields_=[1];lH.prototype.toObject=function(){if(null!=this){r(this);var a={issueCommentsList:Ub(this.getIssueCommentsList(),r8b)}}else a=void 0;return a};lH.messageId="b.BatchGetIssueCommentsResponse";var mH=function(a,b){this.jspbExecutor=a;this.currentTrackerId=b};mH.prototype.batchGet=function(a,b){a=(new kH).setIssueId(Number(a));b=Ab(a,2,b,eb);(a=this.currentTrackerId.getTrackerId())&&b.setCurrentTrackerId(a);return this.jspbExecutor.post({url:"action/comments/batch",responseConstructor:lH,body:b}).pipe(C(xta))};mH.\u0275fac=function(a){return new (a||mH)(t(hE),t(sF))};mH.\u0275prov=yc({token:mH,factory:mH.\u0275fac,providedIn:"root"});var nH=function(a,b){mG.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)}})};T(nH,mG);
nH.prototype.fetchSet=function(a){var b=this,c=a[0].split("-")[0];return(0,D.combineLatest)(a.map(function(d){return b.get(d)})).pipe(C(function(d){var e=[];d=k(d);for(var g=d.next();!g.done;g=d.next())if(g=g.value){var h=void 0,l={issueId:c,commentId:null!=(h=g.commentNumber)?h:0};e.push({id:l,formattedComment:g})}return e}))};
nH.prototype.call=function(a){var b="",c=[];a=k(a);for(var d=a.next();!d.done;d=a.next()){var e=k(d.value.split("-"));d=e.next().value;e=e.next().value;""!==b&&b===d?c.push(Number(e)):""===b&&(b=d,c.push(Number(e)))}return this.issueCommentsBatchApi.batchGet(b,c).pipe(C(function(g){var h=b,l=new Map;g=k(g);for(var q=g.next();!q.done;q=g.next()){q=q.value;var v=void 0,x=Number(h)+"-"+(null!=(v=q.commentNumber)?v:0);l.set(x,q)}return l}))};nH.prototype.splitBatch=function(a,b){return b.get(a)};
nH.\u0275fac=function(a){return new (a||nH)(t(mH),t(vG))};nH.\u0275prov=yc({token:nH,factory:nH.\u0275fac,providedIn:"root"});var oH=function(a){this.internalArray_=m(a,0,oH.messageId)};T(oH,p);oH.repeatedFields_=[1,2];oH.prototype.toObject=function(){if(null!=this){r(this);var a={noAccessEmailsList:n(Th(this,1)),unknownEmailsList:n(Th(this,2))}}else a=void 0;return a};oH.messageId="b.CheckPermissionResponse";var pH=function(){},qH=function(a){this.executor=a};f=qH.prototype;f.get=function(a,b){a=bm(cm(a,b));return this.executor.get({url:"action/access_policies/"+a,responseConstructor:vE}).pipe(C(Mqa))};
f.update=function(a,b,c){a=bm(cm(a,b));b=new vE;var d;b.setAdminsList((null!=(d=c.admins)?d:[]).map(Ci));var e;b.setAppendersList((null!=(e=c.appenders)?e:[]).map(Ci));var g;b.setEditorsList((null!=(g=c.editors)?g:[]).map(Ci));var h;b.setReadersList((null!=(h=c.readers)?h:[]).map(Ci));var l;b.setRestrictedReadersList((null!=(l=c.restrictedReaders)?l:[]).map(Ci));var q;b.setRestrictedPlusReadersList((null!=(q=c.restrictedPlusReaders)?q:[]).map(Ci));c.implicitAccess&&b.setImplicitAccess(E6b[c.implicitAccess]);
return this.executor.post({url:"action/access_policies/"+a,body:b,responseConstructor:vE}).pipe(C(Mqa))};f.checkPermission=function(a,b,c,d){a=bm(a.join(","));b=bm(b);c=bm(cm(c,d));return this.executor.get({url:"action/check_permission/"+a+"/"+b+"/"+c,responseConstructor:oH}).pipe(C(Jqa))};f.setAccessLimit=function(a,b,c){a=bm(cm(a,b));c=Cqa(c);return this.executor.post({url:"action/access_limits/"+a,body:c,responseConstructor:ki}).pipe(C(Aqa))};
f.checkComponentImplicitAccessEnabled=function(a){return this.get("COMPONENT",a).pipe(C(function(b){return"ALLOW"===b.implicitAccess}))};qH.\u0275fac=function(a){return new (a||qH)(t(hE))};qH.\u0275prov=yc({token:qH,factory:qH.\u0275fac,providedIn:"root"});var rH=function(a){this.observableApi=a};T(rH,pH);f=rH.prototype;f.get=function(a,b){return(0,D.firstValueFrom)(this.observableApi.get(a,b))};f.update=function(a,b,c){return(0,D.firstValueFrom)(this.observableApi.update(a,b,c))};
f.checkPermission=function(a,b,c,d){return(0,D.firstValueFrom)(this.observableApi.checkPermission(a,b,c,d))};f.setAccessLimit=function(a,b,c){return(0,D.firstValueFrom)(this.observableApi.setAccessLimit(a,b,c))};f.checkComponentImplicitAccessEnabled=function(a){return(0,D.firstValueFrom)(this.observableApi.checkComponentImplicitAccessEnabled(a))};rH.\u0275fac=function(a){return new (a||rH)(t(qH))};rH.\u0275prov=yc({token:rH,factory:rH.\u0275fac,providedIn:"root"});var sH=function(a){mG.call(this);this.accessPolicyApi=a;this.recordType="hotlistAccessPolicy";this.isEqual=Xh};T(sH,mG);sH.prototype.fetchOne=function(a){return this.accessPolicyApi.get("HOTLIST",a).pipe(C(function(b){return Object.assign({},{id:a},b)}))};sH.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("HOTLIST",b,a).pipe(C(function(c){return Object.assign({},{id:b},c)}))};sH.\u0275fac=function(a){return new (a||sH)(t(qH))};
sH.\u0275prov=yc({token:sH,factory:sH.\u0275fac,providedIn:"root"});var Xac=function(a){this.allowExecution=a;this.queue=[]};Xac.prototype.addTask=function(a){this.queue.push(a);Yac(this)};var Yac=function(a){if(0!==a.queue.length)if(a.allowExecution()){var b=k(a.queue),c=b.next().value;a.queue=Fe(b);c();Yac(a)}else setTimeout(function(){Yac(a)},0)};var Hm=Symbol("tc"),tH=function(a){this.params=a||{}};tH.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this.params,a)};tH.prototype.get=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a[0]:a):null};tH.prototype.getAll=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a:[a]):[]};sh.Object.defineProperties(tH.prototype,{keys:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.params)}}});var Dwa={exact:Iwa,subset:Lwa},Ewa={exact:Gwa,subset:Jwa,ignored:function(){return!0}},om=function(a,b,c){a=void 0===a?new nm([],{}):a;b=void 0===b?{}:b;this.root=a;this.queryParams=b;this.fragment=void 0===c?null:c};om.prototype.toString=function(){return Zac.serialize(this)};sh.Object.defineProperties(om.prototype,{queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=new tH(this.queryParams));return this._queryParamMap}}});
var nm=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})};nm.prototype.hasChildren=function(){return 0<this.numberOfChildren};nm.prototype.toString=function(){return Qwa(this)};sh.Object.defineProperties(nm.prototype,{numberOfChildren:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.children).length}}});var sm=function(a,b){this.path=a;this.parameters=b};
sm.prototype.toString=function(){return Owa(this.path)+Pwa(this.parameters)};var uH=function(){};uH.\u0275fac=function(a){return new (a||uH)};uH.\u0275prov=yc({token:uH,factory:function(){return new $ac},providedIn:"root"});var $ac=function(){};$ac.prototype.parse=function(a){a=new abc(a);vH(a,"/");var b=""===a.remaining||a.remaining.startsWith("?")||a.remaining.startsWith("#")?new nm([],{}):new nm([],bbc(a));return new om(b,a.parseQueryParams(),vH(a,"#")?decodeURIComponent(a.remaining):null)};
$ac.prototype.serialize=function(a){var b="/"+mm(a.root,!0),c=Twa(a.queryParams);a="string"===typeof a.fragment?"#"+encodeURI(a.fragment):"";return b+c+a};var Zac=new $ac,Uwa=/^[^\/()?;#]+/,cbc=/^[^\/()?;=#]+/,dbc=/^[^=?&#]+/,ebc=/^[^&#]+/,abc=function(a){this.remaining=this.url=a};
abc.prototype.parseQueryParams=function(){var a={};if(vH(this,"?")){do{var b,c=this.remaining.match(dbc);if(b=c?c[0]:""){this.capture(b);c="";if(vH(this,"=")){var d;if(d=(d=this.remaining.match(ebc))?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(vH(this,"&"))}return a};
var bbc=function(a){if(""===a.remaining)return{};vH(a,"/");var b=[];for(a.remaining.startsWith("(")||b.push(fbc(a));a.remaining.startsWith("/")&&!a.remaining.startsWith("//")&&!a.remaining.startsWith("/(");)a.capture("/"),b.push(fbc(a));var c={};a.remaining.startsWith("/(")&&(a.capture("/"),c=gbc(a,!0));var d={};a.remaining.startsWith("(")&&(d=gbc(a,!1));if(0<b.length||0<Object.keys(c).length)d.primary=new nm(b,c);return d},fbc=function(a){var b=Vwa(a.remaining);if(""===b&&a.remaining.startsWith(";"))throw new Cc(4009,
!1);a.capture(b);b=decodeURIComponent(b);for(var c={};vH(a,";");){var d,e=a;if(d=(d=e.remaining.match(cbc))?d[0]:""){e.capture(d);var g="";if(vH(e,"=")){var h=Vwa(e.remaining);h&&(g=h,e.capture(g))}c[decodeURIComponent(d)]=decodeURIComponent(g)}}return new sm(b,c)},gbc=function(a,b){var c={};for(a.capture("(");!vH(a,")")&&0<a.remaining.length;){var d=Vwa(a.remaining),e=a.remaining[d.length];if("/"!==e&&")"!==e&&";"!==e)throw new Cc(4010,!1);e=void 0;-1<d.indexOf(":")?(e=d.slice(0,d.indexOf(":")),
a.capture(e),a.capture(":")):b&&(e="primary");d=bbc(a);c[e]=1===Object.keys(d).length?d.primary:new nm([],d);vH(a,"//")}return c},vH=function(a,b){return a.remaining.startsWith(b)?(a.remaining=a.remaining.substring(b.length),!0):!1};abc.prototype.capture=function(a){if(!vH(this,a))throw new Cc(4011,!1);};var fxa=function(a,b,c){this.isAbsolute=a;this.numberOfDoubleDots=b;this.commands=c;if(a&&0<c.length&&bxa(c[0]))throw new Cc(4003,!1);if((a=c.find(rm))&&a!==(0<c.length?c[c.length-1]:null))throw new Cc(4004,!1);},axa=function(a,b,c){this.segmentGroup=a;this.processChildren=b;this.index=c};var wH=function(a,b){this.id=a;this.url=b},bn=function(a,b,c,d){c=void 0===c?"imperative":c;d=void 0===d?null:d;wH.call(this,a,b);this.type=0;this.navigationTrigger=c;this.restoredState=d};T(bn,wH);bn.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"};var Im=function(a,b,c){wH.call(this,a,b);this.urlAfterRedirects=c;this.type=1};T(Im,wH);
Im.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"};var Jm=function(a,b,c,d){wH.call(this,a,b);this.reason=c;this.code=d;this.type=2};T(Jm,wH);Jm.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"};var Lm=function(a,b,c,d){wH.call(this,a,b);this.reason=c;this.code=d;this.type=16};T(Lm,wH);
var Km=function(a,b,c,d){wH.call(this,a,b);this.error=c;this.target=d;this.type=3};T(Km,wH);Km.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"};var hbc=function(a,b,c,d){wH.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=4};T(hbc,wH);hbc.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var ibc=function(a,b,c,d){wH.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=7};T(ibc,wH);ibc.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var jbc=function(a,b,c,d,e){wH.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.shouldActivate=e;this.type=8};T(jbc,wH);
jbc.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"};var kbc=function(a,b,c,d){wH.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=5};T(kbc,wH);kbc.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var lbc=function(a,b,c,d){wH.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=6};T(lbc,wH);lbc.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var mbc=function(a){this.route=a;this.type=9};mbc.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"};var nbc=function(a){this.route=a;this.type=10};
nbc.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"};var Nxa=function(a){this.snapshot=a;this.type=11};Nxa.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var obc=function(a){this.snapshot=a;this.type=12};obc.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};
var Oxa=function(a){this.snapshot=a;this.type=13};Oxa.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var pbc=function(a){this.snapshot=a;this.type=14};pbc.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var qbc=function(a,b){this.position=a;this.anchor=b;this.type=15};
qbc.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"};var rbc=function(){this.injector=this.route=this.outlet=null;this.children=new xH;this.attachRef=null},xH=function(){this.contexts=new Map},sbc=function(a,b){if(a=a.getContext(b))a.outlet=null,a.attachRef=null},tbc=function(a,b){var c=a.getContext(b);c||(c=new rbc,a.contexts.set(b,c));return c};xH.prototype.getContext=function(a){return this.contexts.get(a)||null};xH.\u0275fac=function(a){return new (a||xH)};xH.\u0275prov=yc({token:xH,factory:xH.\u0275fac,providedIn:"root"});var yH=function(a){this._root=a};yH.prototype.parent=function(a){a=this.pathFromRoot(a);return 1<a.length?a[a.length-2]:null};yH.prototype.children=function(a){return(a=kxa(a,this._root))?a.children.map(function(b){return b.value}):[]};yH.prototype.firstChild=function(a){return(a=kxa(a,this._root))&&0<a.children.length?a.children[0].value:null};yH.prototype.pathFromRoot=function(a){return lxa(a,this._root).map(function(b){return b.value})};
sh.Object.defineProperties(yH.prototype,{root:{configurable:!0,enumerable:!0,get:function(){return this._root.value}}});var um=function(a,b){this.value=a;this.children=b};um.prototype.toString=function(){return"TreeNode("+this.value+")"};var nxa=function(a,b){this._root=a;this.snapshot=b;rxa(this,a)};T(nxa,yH);nxa.prototype.toString=function(){return this.snapshot.toString()};
var xm=function(a,b,c,d,e,g,h,l){this.urlSubject=a;this.paramsSubject=b;this.queryParamsSubject=c;this.fragmentSubject=d;this.dataSubject=e;this.outlet=g;this.component=h;this._futureSnapshot=l;var q,v;this.title=null!=(v=null==(q=this.dataSubject)?void 0:q.pipe(C(function(x){return x[Hm]})))?v:(0,D.of)(void 0);this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e};xm.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"};
sh.Object.defineProperties(xm.prototype,{routeConfig:{configurable:!0,enumerable:!0,get:function(){return this._futureSnapshot.routeConfig}},root:{configurable:!0,enumerable:!0,get:function(){return this._routerState.root}},parent:{configurable:!0,enumerable:!0,get:function(){return this._routerState.parent(this)}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this._routerState.firstChild(this)}},children:{configurable:!0,enumerable:!0,get:function(){return this._routerState.children(this)}},
pathFromRoot:{configurable:!0,enumerable:!0,get:function(){return this._routerState.pathFromRoot(this)}},paramMap:{configurable:!0,enumerable:!0,get:function(){this._paramMap||(this._paramMap=this.params.pipe(C(function(a){return new tH(a)})));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(C(function(a){return new tH(a)})));return this._queryParamMap}}});
var wm=function(a,b,c,d,e,g,h,l,q){this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e;this.outlet=g;this.component=h;this.routeConfig=l;this._resolve=q};wm.prototype.toString=function(){return"Route(url:'"+this.url.map(function(a){return a.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"};
sh.Object.defineProperties(wm.prototype,{title:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a[Hm]}},root:{configurable:!0,enumerable:!0,get:function(){return this._routerState.root}},parent:{configurable:!0,enumerable:!0,get:function(){return this._routerState.parent(this)}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this._routerState.firstChild(this)}},children:{configurable:!0,enumerable:!0,get:function(){return this._routerState.children(this)}},
pathFromRoot:{configurable:!0,enumerable:!0,get:function(){return this._routerState.pathFromRoot(this)}},paramMap:{configurable:!0,enumerable:!0,get:function(){this._paramMap||(this._paramMap=new tH(this.params));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=new tH(this.queryParams));return this._queryParamMap}}});var mxa=function(a,b){this._root=b;this.url=a;rxa(this,b)};T(mxa,yH);mxa.prototype.toString=function(){return sxa(this._root)};var zH=function(){this._activatedRoute=this.activated=null;this.name="primary";this.activateEvents=new kw;this.deactivateEvents=new kw;this.attachEvents=new kw;this.detachEvents=new kw;this.parentContexts=Jc(xH);this.location=Jc(Zf);this.changeDetector=Jc(Kw);this.environmentInjector=Jc(nv);this.inputBinder=Jc(ubc,{optional:!0})};zH.prototype.ngOnChanges=function(a){if(a.name){a=a.name;var b=a.previousValue;a.firstChange||(vbc(this,b)&&(this.deactivate(),sbc(this.parentContexts,b)),wbc(this))}};
zH.prototype.ngOnDestroy=function(){vbc(this,this.name)&&sbc(this.parentContexts,this.name);var a;null==(a=this.inputBinder)||xbc(a,this)};var vbc=function(a,b){var c;return(null==(c=a.parentContexts.getContext(b))?void 0:c.outlet)===a};zH.prototype.ngOnInit=function(){wbc(this)};
var wbc=function(a){var b=a.parentContexts,c=a.name,d=tbc(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):ybc(a,b.route,b.injector))};zH.prototype.detach=function(){if(!this.activated)throw new Cc(4012,!1);this.location.detach();var a=this.activated;this._activatedRoute=this.activated=null;this.detachEvents.emit(a.instance);return a};
zH.prototype.attach=function(a,b){this.activated=a;this._activatedRoute=b;this.location.insert(a.hostView);null!=(b=this.inputBinder)&&(xbc(b,this),zbc(b,this));this.attachEvents.emit(a.instance)};zH.prototype.deactivate=function(){if(this.activated){var a=this.component;this.activated.destroy();this._activatedRoute=this.activated=null;this.deactivateEvents.emit(a)}};
var ybc=function(a,b,c){if(a.isActivated)throw new Cc(4013,!1);a._activatedRoute=b;var d=a.location,e=b.snapshot.component,g=tbc(a.parentContexts,a.name).children;a.activated=d.createComponent(e,{index:d.length,injector:new Abc(b,g,d.injector),environmentInjector:null!=c?c:a.environmentInjector});a.changeDetector.markForCheck();null!=(b=a.inputBinder)&&(xbc(b,a),zbc(b,a));a.activateEvents.emit(a.activated.instance)};
sh.Object.defineProperties(zH.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 Cc(4012,!1);return this.activated.instance}},activatedRoute:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new Cc(4012,!1);return this._activatedRoute}}});
zH.\u0275fac=function(a){return new (a||zH)};zH.\u0275dir=Sc({type:zH,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[gd]});var Abc=function(a,b,c){this.route=a;this.childContexts=b;this.parent=c};Abc.prototype.get=function(a,b){return a===xm?this.route:a===xH?this.childContexts:this.parent.get(a,b)};
var ubc=new ad(""),AH=function(){this.outletDataSubscriptions=new Map},xbc=function(a,b){var c;null==(c=a.outletDataSubscriptions.get(b))||c.unsubscribe();a.outletDataSubscriptions.delete(b)},zbc=function(a,b){var c=b.activatedRoute,d=(0,D.combineLatest)([c.queryParams,c.params,c.data]).pipe($e(function(e,g){var h=k(e);e=h.next().value;var l=h.next().value;h=h.next().value;h=Object.assign({},e,l,h);return 0===g?(0,D.of)(h):Promise.resolve(h)})).subscribe(function(e){if(b.isActivated&&b.activatedComponentRef&&
b.activatedRoute===c&&null!==c.component){var g=fla(c.component);if(g){g=k(g.inputs);for(var h=g.next();!h.done;h=g.next())h=h.value.templateName,b.activatedComponentRef.setInput(h,e[h])}else xbc(a,b)}else xbc(a,b)});a.outletDataSubscriptions.set(b,d)};AH.\u0275fac=function(a){return new (a||AH)};AH.\u0275prov=yc({token:AH,factory:AH.\u0275fac});var ym=function(){};ym.\u0275fac=function(a){return new (a||ym)};ym.\u0275cmp=Oc({type:ym,selectors:[["ng-component"]],standalone:!0,features:[Hka],decls:1,vars:0,template:function(a){a&1&&I(0,"router-outlet")},dependencies:[zH],encapsulation:2});var Cbc=function(a,b,c,d){return C(function(e){(new Bbc(b,e.targetRouterState,e.currentRouterState,c,d)).activate(a);return e})},Bbc=function(a,b,c,d,e){this.routeReuseStrategy=a;this.futureState=b;this.currState=c;this.forwardEvent=d;this.inputBindingEnabled=e};Bbc.prototype.activate=function(a){var b=this.futureState._root,c=this.currState?this.currState._root:null;Dbc(this,b,c,a);txa(this.futureState.root);Ebc(this,b,c,a)};
var Dbc=function(a,b,c,d){var e=tm(c);b.children.forEach(function(g){var h=g.value.outlet,l=e[h],q=g.value,v=l?l.value:null;q===v?q.component?(q=d.getContext(q.outlet))&&Dbc(a,g,l,q.children):Dbc(a,g,l,d):v&&Fbc(a,l,d);delete e[h]});Object.values(e).forEach(function(g){Fbc(a,g,d)})},Fbc=function(a,b,c){var d=c.getContext(b.value.outlet);c=d&&b.value.component?d.children:c;b=tm(b);for(var e=k(Object.keys(b)),g=e.next();!g.done;g=e.next())Fbc(a,b[g.value],c);d&&(d.outlet&&(d.outlet.deactivate(),d.children.contexts=
new Map),d.attachRef=null,d.route=null)},Ebc=function(a,b,c,d){var e=tm(c);b.children.forEach(function(g){var h=e[g.value.outlet],l=g.value,q=h?h.value:null;txa(l);l===q?l.component?(l=tbc(d,l.outlet),Ebc(a,g,h,l.children)):Ebc(a,g,h,d):l.component?(h=tbc(d,l.outlet),q=Am(l.snapshot),h.attachRef=null,h.route=l,h.injector=q,h.outlet&&ybc(h.outlet,l,h.injector),Ebc(a,g,null,h.children)):Ebc(a,g,null,d);a.forwardEvent(new pbc(g.value.snapshot))});b.children.length&&a.forwardEvent(new obc(b.value.snapshot))};var Exa=Symbol("vc");var Gxa=function(a){this.path=a;this.route=this.path[this.path.length-1]},Hxa=function(a,b){this.component=a;this.route=b};var Uxa=function(a){this.segmentGroup=a||null},Gbc=function(a){this.urlTree=a},Hbc=function(a,b){this.urlSerializer=a;this.urlTree=b},Ibc=function(a){var b=[];for(a=a.root;;){b=b.concat(a.segments);if(0===a.numberOfChildren)return(0,D.of)(b);if(1<a.numberOfChildren||!a.children.primary)return(0,D.throwError)(new Cc(4E3,!1));a=a.children.primary}},Lbc=function(a,b,c,d){var e=a.urlSerializer.parse(c);b=Jbc(a,c,e.root,b,d);return new om(b,Kbc(e.queryParams,a.urlTree.queryParams),e.fragment)},Kbc=function(a,
b){var c={};Object.entries(a).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;c[d]="string"===typeof e&&e.startsWith(":")?b[e.substring(1)]:e});return c},Jbc=function(a,b,c,d,e){var g=Mbc(c.segments,d,e),h={};Object.entries(c.children).forEach(function(l){var q=k(l);l=q.next().value;q=q.next().value;h[l]=Jbc(a,b,q,d,e)});return new nm(g,h)},Mbc=function(a,b,c){return a.map(function(d){if(d.path.startsWith(":")){if(d=c[d.path.substring(1)],!d)throw new Cc(4001,!1);}else a:for(var e=
0,g=k(b),h=g.next();!h.done;h=g.next()){h=h.value;if(h.path===d.path){b.splice(e);d=h;break a}e++}return d})};var Wxa={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};var eya=function(a,b,c,d,e,g,h){this.injector=a;this.configLoader=b;this.rootComponentType=c;this.config=d;this.urlTree=e;this.paramsInheritanceStrategy=g;this.urlSerializer=h;this.allowRedirects=!0;this.applyRedirects=new Hbc(this.urlSerializer,this.urlTree)};
eya.prototype.recognize=function(){var a=this,b=aya(this.urlTree.root,[],[],this.config).segmentGroup;return Nbc(this,this.injector,this.config,b,"primary").pipe(Ke(function(c){if(c instanceof Gbc)return a.allowRedirects=!1,a.urlTree=c.urlTree,a.match(c.urlTree);if(c instanceof Uxa)throw new Cc(4002,!1);throw c;}),C(function(c){var d=new wm([],Object.freeze({}),Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,{},"primary",a.rootComponentType,null,{});c=new mxa("",new um(d,
c));var e=a.urlTree.queryParams,g=a.urlTree.fragment;e=void 0===e?null:e;g=void 0===g?null:g;d=Ywa(d);d=dxa(d,[],e,g);d.queryParams=a.urlTree.queryParams;c.url=a.urlSerializer.serialize(d);Obc(a,c._root);return{state:c,tree:d}}))};eya.prototype.match=function(a){return Nbc(this,this.injector,this.config,a.root,"primary").pipe(Ke(function(b){if(b instanceof Uxa)throw new Cc(4002,!1);throw b;}))};
var Obc=function(a,b){var c=b.value,d=qxa(c,a.paramsInheritanceStrategy);c.params=Object.freeze(d.params);c.data=Object.freeze(d.data);b.children.forEach(function(e){return Obc(a,e)})},Nbc=function(a,b,c,d,e){return 0===d.segments.length&&d.hasChildren()?a.processChildren(b,c,d):Pbc(a,b,c,d,d.segments,e,!0)};
eya.prototype.processChildren=function(a,b,c){for(var d=this,e=[],g=k(Object.keys(c.children)),h=g.next();!h.done;h=g.next())h=h.value,"primary"===h?e.unshift(h):e.push(h);return(0,D.from)(e).pipe(ze(function(l){var q=c.children[l],v=Dxa(b,l);return Nbc(d,a,v,q,l)},1),Te(function(l,q){l.push.apply(l,cd(q));return l}),Qia(null),bja(),ze(function(l){if(null===l)return Gm(c);l=dya(l);bya(l);return(0,D.of)(l)}))};
var Pbc=function(a,b,c,d,e,g,h){return(0,D.from)(c).pipe(ze(function(l){var q;return Qbc(a,null!=(q=l._injector)?q:b,c,l,d,e,g,h).pipe(Ke(function(v){if(v instanceof Uxa)return(0,D.of)(null);throw v;}))},1),Re(function(l){return!!l}),Ke(function(l){if(Ixa(l))return 0!==e.length||d.children[g]?Gm(d):(0,D.of)([]);throw l;}))},Qbc=function(a,b,c,d,e,g,h,l){if((zm(d)===h||"primary"!==h&&$xa(e,g,d))&&("**"===d.path||Vxa(e,d,g).matched))if(void 0===d.redirectTo)a=Rbc(a,b,e,d,g,h);else{var q;l&&a.allowRedirects?
q="**"===d.path?Sbc(a,b,c,d,h):Tbc(a,b,e,c,d,g,h):q=Gm(e);a=q}else a=Gm(e);return a},Sbc=function(a,b,c,d,e){var g=Lbc(a.applyRedirects,[],d.redirectTo,{});return d.redirectTo.startsWith("/")?(0,D.throwError)(new Gbc(g)):Ibc(g).pipe(ze(function(h){var l=new nm(h,{});return Pbc(a,b,c,l,h,e,!1)}))},Tbc=function(a,b,c,d,e,g,h){g=Vxa(c,e,g);var l=g.consumedSegments,q=g.remainingSegments,v=g.positionalParamSegments;if(!g.matched)return Gm(c);g=Lbc(a.applyRedirects,l,e.redirectTo,v);return e.redirectTo.startsWith("/")?
(0,D.throwError)(new Gbc(g)):Ibc(g).pipe(ze(function(x){return Pbc(a,b,d,c,x.concat(q),h,!1)}))},Rbc=function(a,b,c,d,e,g){var h;if("**"===d.path){var l,q=new wm(e,0<e.length?(0<e.length?e[e.length-1]:null).parameters:{},Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,d.data||{},zm(d),null!=(l=null!=(h=d.component)?h:d._loadedComponent)?l:null,d,d.resolve||{});h=(0,D.of)({snapshot:q,consumedSegments:[],remainingSegments:[]});c.children={}}else h=Xxa(c,d,e,b).pipe(C(function(v){var x=
v.consumedSegments,A=v.remainingSegments;if(!v.matched)return null;var G,M;return{snapshot:new wm(x,v.parameters,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,d.data||{},zm(d),null!=(M=null!=(G=d.component)?G:d._loadedComponent)?M:null,d,d.resolve||{}),consumedSegments:x,remainingSegments:A}}));return h.pipe($e(function(v){if(null===v)return Gm(c);var x;b=null!=(x=d._injector)?x:b;return Ubc(a,b,d,e).pipe($e(function(A){A=A.routes;var G,M=null!=(G=d._loadedInjector)?G:
b,Q=v.snapshot,Y=aya(c,v.consumedSegments,v.remainingSegments,A);G=Y.segmentGroup;Y=Y.slicedSegments;return 0===Y.length&&G.hasChildren()?a.processChildren(M,A,G).pipe(C(function(W){return null===W?null:[new um(Q,W)]})):0===A.length&&0===Y.length?(0,D.of)([new um(Q,[])]):Pbc(a,M,A,G,Y,zm(d)===g?"primary":g,!0).pipe(C(function(W){return[new um(Q,W)]}))}))}))},Ubc=function(a,b,c,d){return c.children?(0,D.of)({routes:c.children,injector:b}):c.loadChildren?void 0!==c._loadedRoutes?(0,D.of)({routes:c._loadedRoutes,
injector:c._loadedInjector}):Sxa(b,c,d).pipe(ze(function(e){return e?a.configLoader.loadChildren(b,c).pipe(bf(function(g){c._loadedRoutes=g.routes;c._loadedInjector=g.injector})):(0,D.throwError)(yxa(3))})):(0,D.of)({routes:[],injector:b})};var Vbc=new ad("ROUTES"),BH=function(){this.componentLoaders=new WeakMap;this.childrenLoaders=new WeakMap;Jc(jw)};
BH.prototype.loadComponent=function(a){var b=this;if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,D.of)(a._loadedComponent);if(this.onLoadStartListener)this.onLoadStartListener(a);var c=km(a.loadComponent()).pipe(C(mya),bf(function(d){if(b.onLoadEndListener)b.onLoadEndListener(a);a._loadedComponent=d}),Qe(function(){b.componentLoaders.delete(a)}));c=(new D.ConnectableObservable(c,function(){return new D.Subject})).pipe(me());this.componentLoaders.set(a,
c);return c};
BH.prototype.loadChildren=function(a,b){var c=this;if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,D.of)({routes:b._loadedRoutes,injector:b._loadedInjector});if(this.onLoadStartListener)this.onLoadStartListener(b);var d=Wbc(b.loadChildren).pipe(C(function(e){if(c.onLoadEndListener)c.onLoadEndListener(b);if(!Array.isArray(e)){var g=e.create(a).injector;e=g.get(Vbc,[],10).flat()}return{routes:e.map(Cxa),injector:g}}),Qe(function(){c.childrenLoaders.delete(b)}));d=
(new D.ConnectableObservable(d,function(){return new D.Subject})).pipe(me());this.childrenLoaders.set(b,d);return d};var Wbc=function(a){return km(a()).pipe(C(mya),ze(function(b){return b instanceof TQb||Array.isArray(b)?(0,D.of)(b):(0,D.from)(Promise.resolve(new rRb(b)))}))};BH.\u0275fac=function(a){return new (a||BH)};BH.\u0275prov=yc({token:BH,factory:BH.\u0275fac,providedIn:"root"});var CH=function(){var a=this;this.lastSuccessfulNavigation=this.currentNavigation=null;this.events=new D.Subject;this.configLoader=Jc(BH);this.environmentInjector=Jc(nv);this.urlSerializer=Jc(uH);this.rootContexts=Jc(xH);this.inputBindingEnabled=null!==Jc(ubc,{optional:!0});this.navigationId=0;this.afterPreactivation=function(){return(0,D.of)(void 0)};this.rootComponentType=null;this.configLoader.onLoadEndListener=function(b){return a.events.next(new nbc(b))};this.configLoader.onLoadStartListener=
function(b){return a.events.next(new mbc(b))}};CH.prototype.complete=function(){var a;null==(a=this.transitions)||a.complete()};
var Xbc=function(a,b){var c=++a.navigationId,d;null==(d=a.transitions)||d.next(Object.assign({},a.transitions.value,b,{id:c}))},bcc=function(a,b){a.transitions=new D.BehaviorSubject({id:0,currentUrlTree:b.currentUrlTree,currentRawUrl:b.currentUrlTree,extractedUrl:b.urlHandlingStrategy.extract(b.currentUrlTree),urlAfterRedirects:b.urlHandlingStrategy.extract(b.currentUrlTree),rawUrl:b.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,
currentSnapshot:b.routerState.snapshot,targetSnapshot:null,currentRouterState:b.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null});return a.transitions.pipe(Ge(function(c){return 0!==c.id}),C(function(c){return Object.assign({},c,{extractedUrl:b.urlHandlingStrategy.extract(c.rawUrl)})}),$e(function(c){var d=!1,e=!1;return(0,D.of)(c).pipe(bf(function(g){a.currentNavigation={id:g.id,initialUrl:g.rawUrl,extractedUrl:g.extractedUrl,trigger:g.source,
extras:g.extras,previousNavigation:a.lastSuccessfulNavigation?Object.assign({},a.lastSuccessfulNavigation,{previousNavigation:null}):null}}),$e(function(g){var h=b.browserUrlTree.toString();h=!b.navigated||g.extractedUrl.toString()!==h||h!==b.currentUrlTree.toString();var l,q=null!=(l=g.extras.onSameUrlNavigation)?l:b.onSameUrlNavigation;if(!h&&"reload"!==q)return a.events.next(new Lm(g.id,b.urlSerializer.serialize(c.rawUrl),"",0)),b.rawUrlTree=g.rawUrl,g.resolve(null),D.EMPTY;"imperative"!==g.source&&
(b.browserUrlTree=g.extractedUrl);return(0,D.of)(g).pipe($e(function(v){var x,A=null==(x=a.transitions)?void 0:x.getValue();a.events.next(new bn(v.id,a.urlSerializer.serialize(v.extractedUrl),v.source,v.restoredState));var G;return A!==(null==(G=a.transitions)?void 0:G.getValue())?D.EMPTY:Promise.resolve(v)}),fya(a.environmentInjector,a.configLoader,a.rootComponentType,b.config,a.urlSerializer,b.paramsInheritanceStrategy),bf(function(v){c.targetSnapshot=v.targetSnapshot;c.urlAfterRedirects=v.urlAfterRedirects;
a.currentNavigation=Object.assign({},a.currentNavigation,{finalUrl:v.urlAfterRedirects});if("eager"===b.urlUpdateStrategy){if(!v.extras.skipLocationChange){var x=b.urlHandlingStrategy.merge(v.urlAfterRedirects,v.rawUrl);Ybc(b,x,v)}b.browserUrlTree=v.urlAfterRedirects}v=new hbc(v.id,a.urlSerializer.serialize(v.extractedUrl),a.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);a.events.next(v)}))}),bf(function(g){g=new ibc(g.id,a.urlSerializer.serialize(g.extractedUrl),a.urlSerializer.serialize(g.urlAfterRedirects),
g.targetSnapshot);a.events.next(g)}),C(function(g){var h=Object,l=h.assign;var q=g.currentSnapshot;var v=g.targetSnapshot._root;q=Dm(v,q?q._root:null,a.rootContexts,[v.value]);return c=l.call(h,{},g,{guards:q})}),Lxa(a.environmentInjector,function(g){return a.events.next(g)}),bf(function(g){c.guardsResult=g.guardsResult;if(pm(g.guardsResult))throw zxa(g.guardsResult);g=new jbc(g.id,a.urlSerializer.serialize(g.extractedUrl),a.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot,!!g.guardsResult);
a.events.next(g)}),Ge(function(g){return g.guardsResult?!0:(Zbc(b,g),$bc(a,g,3),!1)}),lya(function(g){if(g.guards.canActivateChecks.length)return(0,D.of)(g).pipe(bf(function(h){h=new kbc(h.id,a.urlSerializer.serialize(h.extractedUrl),a.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);a.events.next(h)}),$e(function(h){var l=!1;return(0,D.of)(h).pipe(hya(b.paramsInheritanceStrategy,a.environmentInjector),bf({next:function(){return l=!0},complete:function(){l||(Zbc(b,h),$bc(a,h,2))}}))}),
bf(function(h){h=new lbc(h.id,a.urlSerializer.serialize(h.extractedUrl),a.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);a.events.next(h)}))}),lya(function(g){var h=function(l){var q=[],v;(null==(v=l.routeConfig)?0:v.loadComponent)&&!l.routeConfig._loadedComponent&&q.push(a.configLoader.loadComponent(l.routeConfig).pipe(bf(function(A){l.component=A}),C(function(){})));v=k(l.children);for(var x=v.next();!x.done;x=v.next())q.push.apply(q,cd(h(x.value)));return q};return(0,D.combineLatest)(h(g.targetSnapshot.root)).pipe(Qia(),
Oe())}),lya(function(){return a.afterPreactivation()}),C(function(g){var h=g.targetSnapshot;var l=g.currentRouterState;l=xxa(b.routeReuseStrategy,h._root,l?l._root:void 0);h=new nxa(l,h);return c=Object.assign({},g,{targetRouterState:h})}),bf(function(g){b.currentUrlTree=g.urlAfterRedirects;b.rawUrlTree=b.urlHandlingStrategy.merge(g.urlAfterRedirects,g.rawUrl);b.routerState=g.targetRouterState;"deferred"===b.urlUpdateStrategy&&(g.extras.skipLocationChange||Ybc(b,b.rawUrlTree,g),b.browserUrlTree=g.urlAfterRedirects)}),
Cbc(a.rootContexts,b.routeReuseStrategy,function(g){return a.events.next(g)},a.inputBindingEnabled),Oe(),bf({next:function(g){d=!0;a.lastSuccessfulNavigation=a.currentNavigation;b.navigated=!0;a.events.next(new Im(g.id,a.urlSerializer.serialize(g.extractedUrl),a.urlSerializer.serialize(b.currentUrlTree)));var h;null==(h=b.titleStrategy)||h.updateTitle(g.targetRouterState.snapshot);g.resolve(!0)},complete:function(){d=!0}}),Qe(function(){d||e||$bc(a,c,1);var g;(null==(g=a.currentNavigation)?void 0:
g.id)===c.id&&(a.currentNavigation=null)}),Ke(function(g){e=!0;if(Axa(g)){Axa(g)&&pm(g.url)||(b.navigated=!0,Zbc(b,c,!0));var h=new Jm(c.id,a.urlSerializer.serialize(c.extractedUrl),g.message,g.cancellationCode);a.events.next(h);Axa(g)&&pm(g.url)?(g=b.urlHandlingStrategy.merge(g.url,b.rawUrlTree),acc(b,g,"imperative",null,{skipLocationChange:c.extras.skipLocationChange,replaceUrl:"eager"===b.urlUpdateStrategy||"imperative"!==c.source},{resolve:c.resolve,reject:c.reject,promise:c.promise})):c.resolve(!1)}else{Zbc(b,
c,!0);var l=new Km(c.id,a.urlSerializer.serialize(c.extractedUrl),g,null!=(h=c.targetSnapshot)?h:void 0);a.events.next(l);try{c.resolve(b.errorHandler(g))}catch(q){c.reject(q)}}return D.EMPTY}))}))},$bc=function(a,b,c){c=new Jm(b.id,a.urlSerializer.serialize(b.extractedUrl),"",c);a.events.next(c);b.resolve(!1)};sh.Object.defineProperties(CH.prototype,{hasRequestedNavigation:{configurable:!0,enumerable:!0,get:function(){return 0!==this.navigationId}}});CH.\u0275fac=function(a){return new (a||CH)};
CH.\u0275prov=yc({token:CH,factory:CH.\u0275fac,providedIn:"root"});var DH=function(){},ccc=function(a){for(a=a.root;void 0!==a;){var b=void 0;var c=null!=(b=a.data[Hm])?b:c;a=a.children.find(function(d){return"primary"===d.outlet})}return c};DH.\u0275fac=function(a){return new (a||DH)};DH.\u0275prov=yc({token:DH,factory:function(){return Jc(EH)},providedIn:"root"});var EH=function(a){this.title=a};T(EH,DH);EH.prototype.updateTitle=function(a){a=ccc(a);void 0!==a&&this.title.setTitle(a)};EH.\u0275fac=function(a){return new (a||EH)(t(xy))};
EH.\u0275prov=yc({token:EH,factory:EH.\u0275fac,providedIn:"root"});var FH=function(){};FH.\u0275fac=function(a){return new (a||FH)};FH.\u0275prov=yc({token:FH,factory:function(){return Jc(GH)},providedIn:"root"});var dcc=function(){};dcc.prototype.store=function(){};dcc.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig};var GH=function(){};T(GH,dcc);GH.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(GH)))(b||GH)}}();GH.\u0275prov=yc({token:GH,factory:GH.\u0275fac,providedIn:"root"});var ecc=new ad("",{providedIn:"root",factory:function(){return{}}});var fcc=function(){};fcc.\u0275fac=function(a){return new (a||fcc)};fcc.\u0275prov=yc({token:fcc,factory:function(){return Jc(HH)},providedIn:"root"});var HH=function(){};HH.prototype.extract=function(a){return a};HH.prototype.merge=function(a){return a};HH.\u0275fac=function(a){return new (a||HH)};HH.\u0275prov=yc({token:HH,factory:HH.\u0275fac,providedIn:"root"});var gcc={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},hcc={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},IH=function(){var a=this;this.disposed=!1;this.currentPageId=0;this.console=Jc(Dv);this.options=Jc(ecc,{optional:!0})||{};this.pendingTasks=Jc(iw);this.errorHandler=this.options.errorHandler||oya;this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||pya;this.navigated=!1;this.lastSuccessfulId=-1;this.urlHandlingStrategy=
Jc(fcc);this.routeReuseStrategy=Jc(FH);this.titleStrategy=Jc(DH);this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";var b,c;this.config=null!=(c=null==(b=Jc(Vbc,{optional:!0}))?void 0:b.flat())?c:[];this.navigationTransitions=Jc(CH);this.urlSerializer=
Jc(uH);this.location=Jc(mx);Jc(ubc,{optional:!0});Jc(df)instanceof df&&Aja();this.config=this.config.map(Cxa);this.navigated=!1;this.lastSuccessfulId=-1;this.browserUrlTree=this.rawUrlTree=this.currentUrlTree=new om;this.routerState=oxa();bcc(this.navigationTransitions,this).subscribe(function(d){a.lastSuccessfulId=d.id;var e;a.currentPageId=null!=(e=a.browserPageId)?e:0},function(d){a.console.warn("Unhandled Navigation Error: "+d)})};
IH.prototype.initialNavigation=function(){icc(this);if(!this.navigationTransitions.hasRequestedNavigation){var a=this.location.getState();jcc(this,this.location.path(!0),"imperative",a)}};
var icc=function(a){a.locationSubscription||(a.locationSubscription=a.location.subscribe(function(b){var c="popstate"===b.type?"popstate":"hashchange";"popstate"===c&&setTimeout(function(){jcc(a,b.url,c,b.state)},0)}))},jcc=function(a,b,c,d){var e={replaceUrl:!0},g=(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=kcc(a,b);acc(a,b,c,g,e)};IH.prototype.ngOnDestroy=function(){this.dispose()};
IH.prototype.dispose=function(){this.navigationTransitions.complete();this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0);this.disposed=!0};
var JH=function(a,b,c){var d=c=void 0===c?{}:c;c=d.relativeTo;var e=d.queryParams,g=d.fragment;g=d.preserveFragment?a.currentUrlTree.fragment:g;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=lcc(d));try{var h=Ywa(c?c.snapshot:a.routerState.snapshot.root)}catch(l){"string"===typeof b[0]&&b[0].startsWith("/")||(b=[]),h=a.currentUrlTree.root}return dxa(h,b,d,null!=
g?g:null)},ls=function(a,b,c){c=void 0===c?{skipLocationChange:!1}:c;b=pm(b)?b:kcc(a,b);b=a.urlHandlingStrategy.merge(b,a.rawUrlTree);return acc(a,b,"imperative",null,c)};IH.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 Cc(4008,!1);return ls(this,JH(this,a,b),b)};var kcc=function(a,b){try{var c=a.urlSerializer.parse(b)}catch(d){c=a.malformedUriErrorHandler(d,a.urlSerializer,b)}return c};
IH.prototype.isActive=function(a,b){var c;!0===b?c=Object.assign({},gcc):!1===b?c=Object.assign({},hcc):c=b;if(pm(a))return Fwa(this.currentUrlTree,a,c);a=kcc(this,a);return Fwa(this.currentUrlTree,a,c)};
var lcc=function(a){return Object.keys(a).reduce(function(b,c){var d=a[c];null!==d&&void 0!==d&&(b[c]=d);return b},{})},acc=function(a,b,c,d,e,g){if(a.disposed)return Promise.resolve(!1);if(g){var h=g.resolve;var l=g.reject;g=g.promise}else g=new Promise(function(v,x){h=v;l=x});var q=a.pendingTasks.add();nya(a,function(){queueMicrotask(function(){return a.pendingTasks.remove(q)})});Xbc(a.navigationTransitions,{source:c,restoredState:d,currentUrlTree:a.currentUrlTree,currentRawUrl:a.currentUrlTree,
rawUrl:b,extras:e,resolve:h,reject:l,promise:g,currentSnapshot:a.routerState.snapshot,currentRouterState:a.routerState});return g.catch(function(v){return Promise.reject(v)})},Ybc=function(a,b,c){b=a.urlSerializer.serialize(b);var d=a.location;var e=void 0===e?"":e;if(d.path()==d.normalize(b+tg(e))||c.extras.replaceUrl){var g=Object.assign({},c.extras.state,mcc(a,c.id,a.browserPageId));a.location.replaceState(b,"",g)}else c=Object.assign({},c.extras.state,mcc(a,c.id,(null!=(g=a.browserPageId)?g:0)+
1)),a.location.go(b,"",c)},Zbc=function(a,b,c){c=void 0===c?!1:c;if("computed"===a.canceledNavigationResolution){var d;c=null!=(d=a.browserPageId)?d:a.currentPageId;d=a.currentPageId-c;if(0!==d)a.location.historyGo(d);else{var e;a.currentUrlTree===(null==(e=a.navigationTransitions.currentNavigation)?void 0:e.finalUrl)&&0===d&&(a.resetState(b),a.browserUrlTree=b.currentUrlTree,ncc(a))}}else"replace"===a.canceledNavigationResolution&&(c&&a.resetState(b),ncc(a))};
IH.prototype.resetState=function(a){this.routerState=a.currentRouterState;this.currentUrlTree=a.currentUrlTree;this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)};var ncc=function(a){a.location.replaceState(a.urlSerializer.serialize(a.rawUrlTree),"",mcc(a,a.lastSuccessfulId,a.currentPageId))},mcc=function(a,b,c){return"computed"===a.canceledNavigationResolution?{navigationId:b,"\u0275routerPageId":c}:{navigationId:b}};
sh.Object.defineProperties(IH.prototype,{navigationId:{configurable:!0,enumerable:!0,get:function(){return this.navigationTransitions.navigationId}},browserPageId:{configurable:!0,enumerable:!0,get:function(){if("computed"===this.canceledNavigationResolution){var a;return null==(a=this.location.getState())?void 0:a.\u0275routerPageId}}},events:{configurable:!0,enumerable:!0,get:function(){return this.navigationTransitions.events}},url:{configurable:!0,enumerable:!0,get:function(){return this.urlSerializer.serialize(this.currentUrlTree)}},
lastSuccessfulNavigation:{configurable:!0,enumerable:!0,get:function(){return this.navigationTransitions.lastSuccessfulNavigation}}});IH.\u0275fac=function(a){return new (a||IH)};IH.\u0275prov=yc({token:IH,factory:IH.\u0275fac,providedIn:"root"});var KH=function(a,b,c,d,e,g){var h=this;this.router=a;this.route=b;this.tabIndexAttribute=c;this.renderer=d;this.el=e;this.locationStrategy=g;this.commands=this.href=null;this.onChanges=new D.Subject;this.replaceUrl=this.skipLocationChange=this.preserveFragment=!1;var l;b=null==(l=e.nativeElement.tagName)?void 0:l.toLowerCase();(this.isAnchorElement="a"===b||"area"===b)?this.subscription=a.events.subscribe(function(q){q instanceof Im&&occ(h)}):pcc(this,"0")},pcc=function(a,b){null!=a.tabIndexAttribute||
a.isAnchorElement||qcc(a,"tabindex",b)};KH.prototype.ngOnChanges=function(){this.isAnchorElement&&occ(this);this.onChanges.next(this)};KH.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;ls(this.router,this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state});return!this.isAnchorElement};
KH.prototype.ngOnDestroy=function(){var a;null==(a=this.subscription)||a.unsubscribe()};var occ=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?Ega:Ud)(a.href));qcc(a,"href",b)},qcc=function(a,b,c){var d=a.renderer;a=a.el.nativeElement;null!==c?d.setAttribute(a,b,c):d.removeAttribute(a,b)};
sh.Object.defineProperties(KH.prototype,{routerLink:{configurable:!0,enumerable:!0,set:function(a){null!=a?(this.commands=Array.isArray(a)?a:[a],pcc(this,"0")):(this.commands=null,pcc(this,null))}},urlTree:{configurable:!0,enumerable:!0,get:function(){return null===this.commands?null:JH(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})}}});
KH.\u0275fac=function(a){return new (a||KH)(B(IH),B(xm),wd("tabindex"),B(yv),B(Dd),B(jx))};
KH.\u0275dir=Sc({type:KH,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(a,b){a&1&&L("click",function(c){return b.onClick(c.button,c.ctrlKey,c.shiftKey,c.altKey,c.metaKey)});a&2&&of("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",ig],skipLocationChange:["skipLocationChange","skipLocationChange",ig],replaceUrl:["replaceUrl",
"replaceUrl",ig],routerLink:"routerLink"},standalone:!0,features:[function(a){var b=a.inputConfig,c={},d;for(d in b)if(b.hasOwnProperty(d)){var e=b[d];Array.isArray(e)&&e[2]&&(c[d]=e[2])}a.inputTransforms=c},gd]});var LH=function(a,b,c,d,e){var g=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 kw;this.routerEventsSubscription=a.events.subscribe(function(h){h instanceof Im&&g.update()})};LH.prototype.ngAfterContentInit=function(){var a=this;(0,D.of)(this.links.changes,(0,D.of)(null)).pipe(Be()).subscribe(function(){a.update();rcc(a)})};
var rcc=function(a){var b;null==(b=a.linkInputChangesSubscription)||b.unsubscribe();b=[].concat(cd(a.links.toArray()),[a.link]).filter(function(c){return!!c}).map(function(c){return c.onChanges});a.linkInputChangesSubscription=(0,D.from)(b).pipe(Be()).subscribe(function(c){a._isActive!==scc(a,a.router)(c)&&a.update()})};LH.prototype.ngOnChanges=function(){this.update()};
LH.prototype.ngOnDestroy=function(){this.routerEventsSubscription.unsubscribe();var a;null==(a=this.linkInputChangesSubscription)||a.unsubscribe()};
LH.prototype.update=function(){var a=this;this.links&&this.router.navigated&&queueMicrotask(function(){var b=tcc(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 scc=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}},tcc=function(a){var b=scc(a,a.router);return a.link&&b(a.link)||a.links.some(b)};
sh.Object.defineProperties(LH.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})}}});LH.\u0275fac=function(a){return new (a||LH)(B(IH),B(Dd),B(yv),B(Kw),B(KH,8))};
LH.\u0275dir=Sc({type:LH,selectors:[["","routerLinkActive",""]],contentQueries:function(a,b,c){a&1&&cg(c,KH,5);if(a&2){var d;ag(d=dg())&&(b.links=d)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[gd]});var ucc=function(){},MH=function(a,b,c,d,e){this.router=a;this.injector=c;this.preloadingStrategy=d;this.loader=e},vcc=function(a){a.subscription=a.router.events.pipe(Ge(function(b){return b instanceof Im}),ze(function(){return a.preload()},1)).subscribe(function(){})};MH.prototype.preload=function(){return wcc(this,this.injector,this.router.config)};MH.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};
var wcc=function(a,b,c){var d=[];c=k(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;e.providers&&!e._injector&&(e._injector=nha(e.providers,b,"Route: "+e.path));var g=void 0,h=null!=(g=e._injector)?g:b,l=void 0;g=null!=(l=e._loadedInjector)?l:h;(e.loadChildren&&!e._loadedRoutes&&void 0===e.canLoad||e.loadComponent&&!e._loadedComponent)&&d.push(xcc(a,h,e));if(e.children||e._loadedRoutes)h=void 0,d.push(wcc(a,g,null!=(h=e.children)?h:e._loadedRoutes))}return(0,D.from)(d).pipe(Be())},xcc=function(a,
b,c){return a.preloadingStrategy.preload(c,function(){var d=(c.loadChildren&&void 0===c.canLoad?a.loader.loadChildren(b,c):(0,D.of)(null)).pipe(ze(function(g){if(null===g)return(0,D.of)(void 0);c._loadedRoutes=g.routes;c._loadedInjector=g.injector;var h;return wcc(a,null!=(h=g.injector)?h:b,g.routes)}));if(c.loadComponent&&!c._loadedComponent){var e=a.loader.loadComponent(c);return(0,D.from)([d,e]).pipe(Be())}return d})};MH.\u0275fac=function(a){return new (a||MH)(t(IH),t(jw),t(nv),t(ucc),t(BH))};
MH.\u0275prov=yc({token:MH,factory:MH.\u0275fac,providedIn:"root"});var ycc=new ad(""),NH=function(a,b,c,d,e){e=void 0===e?{}:e;this.urlSerializer=a;this.transitions=b;this.viewportScroller=c;this.zone=d;this.options=e;this.lastId=0;this.lastSource="imperative";this.restoredId=0;this.store={};e.scrollPositionRestoration=e.scrollPositionRestoration||"disabled";e.anchorScrolling=e.anchorScrolling||"disabled"};
NH.prototype.init=function(){if("disabled"!==this.options.scrollPositionRestoration){var a=this.viewportScroller;try{if(nTb(a)){var b=Object.getOwnPropertyDescriptor(a.window.history,"scrollRestoration")||Object.getOwnPropertyDescriptor(Object.getPrototypeOf(a.window.history),"scrollRestoration");var c=!!b&&!(!b.writable&&!b.set)}else c=!1}catch(d){c=!1}c&&(a=a.window.history)&&a.scrollRestoration&&(a.scrollRestoration="manual")}this.routerEventsSubscription=zcc(this);this.scrollEventsSubscription=
Acc(this)};
var zcc=function(a){return a.transitions.events.subscribe(function(b){b instanceof bn?(a.store[a.lastId]=a.viewportScroller.getScrollPosition(),a.lastSource=b.navigationTrigger,a.restoredId=b.restoredState?b.restoredState.navigationId:0):b instanceof Im?(a.lastId=b.id,Bcc(a,a.urlSerializer.parse(b.urlAfterRedirects).fragment)):b instanceof Lm&&0===b.code&&(a.lastSource=void 0,a.restoredId=0,Bcc(a,a.urlSerializer.parse(b.url).fragment))})},Acc=function(a){return a.transitions.events.subscribe(function(b){if(b instanceof qbc)if(b.position)"top"===
a.options.scrollPositionRestoration?oTb(a.viewportScroller,[0,0]):"enabled"===a.options.scrollPositionRestoration&&oTb(a.viewportScroller,b.position);else if(b.anchor&&"enabled"===a.options.anchorScrolling){var c=a.viewportScroller;if(nTb(c)){a:{var d=c.document;b=b.anchor;var e=d.getElementById(b)||d.getElementsByName(b)[0];if(e)b=e;else{if("function"===typeof d.createTreeWalker&&d.body&&"function"===typeof d.body.attachShadow)for(d=d.createTreeWalker(d.body,NodeFilter.SHOW_ELEMENT),e=d.currentNode;e;){if(e=
e.shadowRoot)if(e=e.getElementById(b)||e.querySelector('[name="'+b+'"]')){b=e;break a}e=d.nextNode()}b=null}}if(b){e=b.getBoundingClientRect();d=e.left+c.window.pageXOffset;e=e.top+c.window.pageYOffset;var g=c.offset();c.window.scrollTo(d-g[0],e-g[1]);b.focus()}}}else"disabled"!==a.options.scrollPositionRestoration&&oTb(a.viewportScroller,[0,0])})},Bcc=function(a,b){a.zone.runOutsideAngular(function(){setTimeout(function(){a.zone.run(function(){a.transitions.events.next(new qbc("popstate"===a.lastSource?
a.store[a.restoredId]:null,b))})},0)})};NH.prototype.ngOnDestroy=function(){var a;null==(a=this.routerEventsSubscription)||a.unsubscribe();var b;null==(b=this.scrollEventsSubscription)||b.unsubscribe()};NH.\u0275fac=function(){Hd()};NH.\u0275prov=yc({token:NH,factory:NH.\u0275fac});new ad("",{providedIn:"root",factory:function(){return!1}});var Ccc=new ad("",{factory:function(){return new D.Subject}}),Dcc=new ad("",{providedIn:"root",factory:function(){return 1}}),Ecc=new ad("");var Fcc=new ad("ROUTER_FORROOT_GUARD"),Gcc=[mx,{provide:uH,useClass:$ac},IH,xH,{provide:xm,useFactory:function(a){return a.routerState.root},deps:[IH]},BH,[]],OH=function(){};OH.\u0275fac=function(a){return new (a||OH)(t(Fcc,8))};OH.\u0275mod=Qc({type:OH});OH.\u0275inj=zc({});var Hcc=new ad("");new Av;var PH=function(a,b,c,d){var e=this;this.location=a;this.platformLocation=b;this.activatedRoute=c;this.router=d;this.scheduler=new Xac(function(){return!e.router.navigationTransitions.currentNavigation})};f=PH.prototype;f.absUrl=function(){return this.platformLocation.href};f.hash=function(a,b){"undefined"!==typeof a&&this.setHash(null!=a?a:"",b);return this.getHash()};f.getHash=function(){var a;return null!=(a=this.activatedRoute.snapshot.fragment)?a:""};
f.setHash=function(a,b){var c=this;a=void 0===a?"":a;b=void 0===b?!1:b;this.addTask(function(){c.router.navigate([],{fragment:a,replaceUrl:b})})};f.path=function(a,b){"undefined"!==typeof a&&this.setPath(a,b);return this.getPath()};var Icc=function(a,b){a.path(b,!0)};f=PH.prototype;f.getPath=function(){var a=k(this.location.path().split("?")).next().value;return k(a.split("#")).next().value};
f.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};f.search=function(a,b,c){"undefined"!==typeof a&&this.setSearch(a,b,c);return this.getSearch()};f.getSearch=function(){return rya(this.activatedRoute.snapshot.queryParamMap)};
f.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})})};f.url=function(a,b){return"undefined"===typeof a?this.getUrl():this.setUrl(a,b)};f.replaceUrl=function(a){return this.url(a,!0)};f.setUrl=function(a,b){var c=this;b=void 0===b?!1:b;return new Promise(function(d,e){c.addTask(function(){ls(c.router,a,{replaceUrl:b}).then(d).catch(e)})})};
f.getUrl=function(){return this.location.path(!0)};f.addTask=function(a){this.scheduler.addTask(a)};PH.\u0275fac=function(a){return new (a||PH)(t(mx),t(hx),t(xm),t(IH))};PH.\u0275prov=yc({token:PH,factory:PH.\u0275fac,providedIn:"root"});var QH=function(a){this.bLocation=a};f=QH.prototype;f.createIssue=function(a){return gm("issues/new",{params:a})};f.editIssue=function(a,b){return em(a,b)};f.listIssues=function(a){return hm(a)};f.needsAttention=function(){return"attention"};f.viewSavedSearch=function(a){return dm("savedsearches/:savedSearchId",{id:a,params:void 0})};
var Jcc=function(a,b){b="/"!==b.charAt(0)?"/"+b:b;return a.bLocation.path()===b},Kcc=function(a,b){b="/"!==b.charAt(0)?"/"+b:b;a=a.bLocation.url();a=new Wo(a);b=new Wo(b);return a.getPath()===b.getPath()&&QD(a.queryData_.toString())===QD(b.queryData_.toString())};f=QH.prototype;f.viewHotlist=function(a){return dm("hotlists/:hotlistId",{id:a})};f.editHotlist=function(a){return gm("hotlists/:hotlistId/edit",{id:a,tab:void 0})};f.createHotlist=function(){return"hotlists/new"};f.createBookmarkGroup=function(){return"bookmark-groups/new"};
f.viewBookmarkGroup=function(a){return dm("bookmark-groups/:groupId",{id:a})};f.editBookmarkGroup=function(a){return gm("bookmark-groups/:groupId/edit",{id:a})};f.editSavedSearch=function(a){return gm("savedsearches/:savedSearchId/edit",{id:a})};f.dashboard=function(a){return gm("dashboard/:groupId",{id:a})};f.issuesCsvAction=function(a,b,c,d,e){c=rwa(c);d=swa(d);return BC("action/issues/csv","q",a,"trackerIds",b,"s",c,"c",d,"h",e)};
f.hotlistIssuesCsvAction=function(a,b,c,d,e){a="action/hotlists/"+a+"/issues/csv";c=rwa(c);(d=swa(d))&&(d="position,"+d);return BC(a,"trackerIds",b,"s",c,"c",d,"h",e)};f.toApiSortParamValue=function(a){return rwa(a)};f.getAttachmentAction=function(a,b){return"action/issues/"+a.toString()+"/attachments/"+b.toString()};f.listComponents=function(){return gm("components",{params:void 0})};f.viewComponent=function(a,b){return dm("components/:componentId",{id:a,tab:b})};
f.manageComponent=function(a,b){return twa(a,b)};f.createComponent=function(a){return gm("components/new",{params:a})};f.editComponent=function(a,b){return gm("components/:componentId/edit",{id:a,tab:b})};f.createSlo=function(){return gm("slos/new",{params:void 0})};f.editSlo=function(a){return Awa(a).path};f.listSlos=function(){return gm("slos",{params:void 0})};
f.getBaseUrl=function(){var a=this.bLocation.absUrl();a=a.slice(0,a.length-this.bLocation.url().length);"/"===a.charAt(a.length-1)&&(a=a.slice(0,a.length-1));return a};f.listHotlists=function(){return"hotlists"};f.settings=function(a){return uwa(a)};QH.\u0275fac=function(a){return new (a||QH)(t(PH))};QH.\u0275prov=yc({token:QH,factory:QH.\u0275fac,providedIn:"root"});var Lcc=function(a,b){this.childIterator_=a[ba.Symbol.iterator]();this.mapFn_=b};Lcc.prototype[Symbol.iterator]=function(){return this};Lcc.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 Mcc=function(a,b){return new Lcc(a,b)};var RH=function(){};RH.prototype.next=function(){return Ncc};var Ncc={done:!0,value:void 0};RH.prototype.__iterator__=function(){return this};var Occ=function(a){if(a instanceof SH||a instanceof TH||a instanceof UH)return a;if("function"==typeof a.next)return new SH(function(){return a});if("function"==typeof a[Symbol.iterator])return new SH(function(){return a[Symbol.iterator]()});if("function"==typeof a.__iterator__)return new SH(function(){return a.__iterator__()});throw Error("wc");},SH=function(a){this.func_=a};SH.prototype.__iterator__=function(){return new TH(this.func_())};SH.prototype[Symbol.iterator]=function(){return new UH(this.func_())};
SH.prototype.toEs6=function(){return new UH(this.func_())};var TH=function(a){this.iter_=a};T(TH,RH);TH.prototype.next=function(){return this.iter_.next()};TH.prototype[Symbol.iterator]=function(){return new UH(this.iter_)};TH.prototype.toEs6=function(){return new UH(this.iter_)};var UH=function(a){SH.call(this,function(){return a});this.iter_=a};T(UH,SH);UH.prototype.next=function(){return this.iter_.next()};var VH=function(a,b){this.map_={};this.keys_=[];this.version_=this.size=0;var c=arguments.length;if(1<c){if(c%2)throw Error("aa");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};f=VH.prototype;f.getCount=function(){return this.size};f.getValues=function(){WH(this);for(var a=[],b=0;b<this.keys_.length;b++)a.push(this.map_[this.keys_[b]]);return a};f.getKeys=function(){WH(this);return this.keys_.concat()};f.containsKey=function(a){return this.has(a)};
f.has=function(a){return XH(this.map_,a)};f.containsValue=function(a){for(var b=0;b<this.keys_.length;b++){var c=this.keys_[b];if(XH(this.map_,c)&&this.map_[c]==a)return!0}return!1};f.equals=function(a,b){if(this===a)return!0;if(this.size!=a.getCount())return!1;b=b||Pcc;WH(this);for(var c,d=0;c=this.keys_[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Pcc=function(a,b){return a===b};VH.prototype.isEmpty=function(){return 0==this.size};
VH.prototype.clear=function(){this.map_={};this.keys_.length=0;this.setSizeInternal_(0);this.version_=0};VH.prototype.remove=function(a){return this.delete(a)};VH.prototype.delete=function(a){return XH(this.map_,a)?(delete this.map_[a],this.setSizeInternal_(this.size-1),this.version_++,this.keys_.length>2*this.size&&WH(this),!0):!1};
var WH=function(a){if(a.size!=a.keys_.length){for(var b=0,c=0;b<a.keys_.length;){var d=a.keys_[b];XH(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],XH(e,d)||(a.keys_[c++]=d,e[d]=1),b++;a.keys_.length=c}};f=VH.prototype;f.get=function(a,b){return XH(this.map_,a)?this.map_[a]:b};f.set=function(a,b){XH(this.map_,a)||(this.setSizeInternal_(this.size+1),this.keys_.push(a),this.version_++);this.map_[a]=b};
f.addAll=function(a){if(a instanceof VH)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])};f.forEach=function(a,b){for(var c=this.getKeys(),d=0;d<c.length;d++){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};f.clone=function(){return new VH(this)};f.transpose=function(){for(var a=new VH,b=0;b<this.keys_.length;b++){var c=this.keys_[b];a.set(this.map_[c],c)}return a};
f.toObject=function(){WH(this);for(var a={},b=0;b<this.keys_.length;b++){var c=this.keys_[b];a[c]=this.map_[c]}return a};f.keys=function(){return Occ(this.__iterator__(!0)).toEs6()};f.values=function(){return Occ(this.__iterator__(!1)).toEs6()};f.entries=function(){var a=this;return Mcc(this.keys(),function(b){return[b,a.get(b)]})};
f.__iterator__=function(a){WH(this);var b=0,c=this.version_,d=this,e=new RH;e.next=function(){if(c!=d.version_)throw Error("xc");if(b>=d.keys_.length)return Ncc;var g=d.keys_[b++];return{value:a?g:d.map_[g],done:!1}};return e};f.setSizeInternal_=function(a){this.size=a};var XH=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var YH=function(a,b,c){this.maxCount_=a||null;this.cache_=!!b;this.evictionCallback_=c;this.map_=new VH;this.head_=new Qcc("");this.head_.next=this.head_.prev=this.head_},Scc=function(a,b){(b=a.map_.get(b))&&a.cache_&&(b.remove(),Rcc(a,b));return b};YH.prototype.get=function(a,b){return(a=Scc(this,a))?a.value:b};var Tcc=function(a,b){return(a=a.map_.get(b))?a.value:void 0};f=YH.prototype;f.set=function(a,b){var c=Scc(this,a);c?c.value=b:(c=new Qcc(a,b),this.map_.set(a,c),Rcc(this,c))};
f.shift=function(){return Ucc(this,this.head_.next)};f.pop=function(){return Ucc(this,this.head_.prev)};f.remove=function(a){return(a=this.map_.get(a))?(this.removeNode(a),!0):!1};f.removeNode=function(a){a.remove();this.map_.remove(a.key)};f.getCount=function(){return this.map_.getCount()};f.isEmpty=function(){return this.map_.isEmpty()};f.getKeys=function(){return this.map(function(a,b){return b})};f.getValues=function(){return this.map(function(a){return a})};
f.contains=function(a){return this.some(function(b){return b==a})};f.containsKey=function(a){return this.map_.containsKey(a)};f.clear=function(){Vcc(this,0)};f.forEach=function(a,b){for(var c=this.head_.next;c!=this.head_;c=c.next)a.call(b,c.value,c.key,this)};f.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};f.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};
f.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 Rcc=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_&&Vcc(a,a.maxCount_)},Vcc=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)}},Ucc=function(a,b){a.head_!=b&&a.removeNode(b);return b.value},Qcc=function(a,b){this.key=a;this.value=b};
Qcc.prototype.remove=function(){this.prev.next=this.next;this.next.prev=this.prev;delete this.prev;delete this.next};var ZH=function(){this.caches=new Map};ZH.prototype.create=function(a,b){if(this.caches.has(a))throw Error("yc`"+a);b=new Wcc(null==b?void 0:b.capacity);this.caches.set(a,b);return b};ZH.prototype.get=function(a){return this.caches.get(a)};ZH.\u0275fac=function(a){return new (a||ZH)};ZH.\u0275prov=yc({token:ZH,factory:ZH.\u0275fac,providedIn:"root"});var Wcc=function(a){this.lruCache=new YH(a,!0)};Wcc.prototype.get=function(a){return this.lruCache.get(a)};
Wcc.prototype.put=function(a,b){void 0!==b&&this.lruCache.set(a,b);return b};Wcc.prototype.remove=function(a){this.lruCache.remove(a)};Wcc.prototype.removeAll=function(){this.lruCache.clear()};var Mm=function(a){this.internalArray_=m(a)};T(Mm,p);f=Mm.prototype;f.getType=function(){return Zi(this,1,0)};f.setType=function(a){return V(this,1,a)};f.hasType=function(){return pj(this,1)};f.getCustomFieldId=function(){return Ii(this,2)};f.setCustomFieldId=function(a){return V(this,2,a)};f.hasCustomFieldId=function(){return Hi(this,2)};f.getCustomFieldName=function(){return U(this,3)};f.toObject=function(){return Xcc(this)};
var Xcc=function(a){if(null!=a)return r(a),{type:n(Er(a,1)),customFieldId:n(Yb(a,2)),customFieldName:n(Z(a,3))}};var Nm=function(a){this.internalArray_=m(a)};T(Nm,p);f=Nm.prototype;f.getField=function(){return X(this,Mm,1)};f.setField=function(a){hj(this,Mm,1,a)};f.getDirection=function(){return Zi(this,2,0)};f.setDirection=function(a){return V(this,2,a)};f.toObject=function(){return Ycc(this)};var Ycc=function(a){if(null!=a)return r(a),{field:Xcc(a.getField()),direction:n(Er(a,2))}};var Om=function(a){this.internalArray_=m(a,0,Om.messageId)};T(Om,p);f=Om.prototype;f.getHotlistId=function(){return Ii(this,1)};f.setHotlistId=function(a){V(this,1,a)};f.getName=function(){return U(this,3)};f.setName=function(a){return sk(this,3,a)};f.hasName=function(){return Hk(this,3)};f.getNameOrUndefined=function(){return tt(this,3)};f.getDescription=function(){return U(this,4)};f.setDescription=function(a){return sk(this,4,a)};f.hasDescription=function(){return Hk(this,4)};
f.getArchived=function(){return Tj(this,6)};f.setArchived=function(a){Vj(this,6,a)};f.getDisplayColumnList=function(){return kj(this,Mm,8)};f.setDisplayColumnList=function(a){nj(this,8,a)};f.getSortOrderList=function(){return kj(this,Nm,9)};f.setSortOrderList=function(a){nj(this,9,a)};f.getCreatedTimeMicros=function(){return qj(this,10)};f.setCreatedTimeMicros=function(a){V(this,10,a)};f.getModifiedTimeMicros=function(){return qj(this,11)};f.setModifiedTimeMicros=function(a){V(this,11,a)};
f.getAdminUsersList=function(){return kj(this,ri,14)};f.setAdminUsersList=function(a){nj(this,14,a)};f.getEtag=function(){return U(this,15)};f.setEtag=function(a){sk(this,15,a)};f.hasEtag=function(){return Hk(this,15)};Om.repeatedFields_=[8,9,14];Om.prototype.toObject=function(){return Zcc(this)};
var Zcc=function(a){if(null!=a)return r(a),{hotlistId:n(Yb(a,1)),name:n(Z(a,3)),description:n(Z(a,4)),archived:n(vr(a,6)),displayColumnList:Ub(a.getDisplayColumnList(),Xcc),sortOrderList:Ub(a.getSortOrderList(),Ycc),createdTimeMicros:n(Yb(a,10)),modifiedTimeMicros:n(Yb(a,11)),adminUsersList:Ub(a.getAdminUsersList(),sE),etag:n(Z(a,15))}};Om.messageId="b.Hotlist";var $cc=RegExp("action/issues/([0-9]+)/"),adc=new ad("ETAG_URL_TRANSFORMERS"),bdc=["POST","PUT","DELETE"],$H=function(a){this.etagStore=a};$H.prototype.intercept=function(a,b){var c;if(bdc.includes(a.method)){var d=this.etagStore.getEtag(a);d&&a.headers&&(a=a.clone({headers:a.headers.set("If-Match",d)}))}(d=$cc.exec(a.url))&&(c=d[1]);return cdc(this,a,b,c)};
var cdc=function(a,b,c,d){return c.handle(b).pipe(bf(function(e){if(e instanceof Cy){var g=e.headers;g.has("etag")&&a.etagStore.setEtag(b,g.get("etag"));e=e.body;if(e instanceof EF&&d)for(e=k(kj(e,xk,1)),g=e.next();!g.done;g=e.next()){g=k(g.value.getAttachmentsList());for(var h=g.next();!h.done;h=g.next())if(h=h.value,h.hasEtag()){var l=h.getAttachmentId();l=new Ay("GET","action/issues/"+d+"/attachments/"+l);a.etagStore.setEtag(l,h.getEtag())}}}}))};$H.\u0275fac=function(a){return new (a||$H)(t(aI))};
$H.\u0275prov=yc({token:$H,factory:$H.\u0275fac,providedIn:"root"});var aI=function(a){this.transformers=a;this.etagStore={}};aI.prototype.setEtag=function(a,b){null!=b&&(a=ddc(this,a.url),this.etagStore[a]=b)};aI.prototype.getEtag=function(a){a=ddc(this,a.url);return this.etagStore[a]};var ddc=function(a,b){var c;a=k(null!=(c=a.transformers)?c:[]);for(c=a.next();!c.done;c=a.next())if(c=c.value,(c=c(b))&&c!==b)return c;return b};aI.\u0275fac=function(a){return new (a||aI)(t(adc,8))};
aI.\u0275prov=yc({token:aI,factory:aI.\u0275fac,providedIn:"root"});var edc={provide:Ey,useClass:$H,multi:!0};var bI=function(a){this.internalArray_=m(a,0,bI.messageId)};T(bI,p);bI.prototype.getHotlistsList=function(){return kj(this,Om,1)};bI.repeatedFields_=[1];bI.prototype.toObject=function(){if(null!=this){r(this);var a={hotlistsList:Ub(this.getHotlistsList(),Zcc)}}else a=void 0;return a};bI.messageId="b.ListHotlistsResponse";var cI=function(a,b){this.hotlistApi=b;this.hotlistCache=a.get("hotlists-second-level-cache")||a.create("hotlists-second-level-cache",{capacity:1E3})};f=cI.prototype;f.get=function(a){var b=this.hotlistCache.get(String(a))||this.hotlistApi.get(a);return this.hotlistCache.put(String(a),b)};f.repositionHotlistIssue=function(a,b,c){return this.hotlistApi.repositionHotlistIssue(a,b,c)};f.createHotlist=function(a,b){return this.hotlistApi.createHotlist(a,b)};f.queryHotlists=function(a){return this.hotlistApi.queryHotlists(a)};
f.archiveHotlist=function(a,b){return this.hotlistApi.archiveHotlist(a,b)};f.updateMetadata=function(a,b){return this.hotlistApi.updateMetadata(a,b)};f.getPagedHotlistContent=function(a,b,c,d,e){return this.hotlistApi.getPagedHotlistContent(a,b,c,d,e)};cI.\u0275fac=function(a){return new (a||cI)(t(ZH),t(dI))};cI.\u0275prov=yc({token:cI,factory:cI.\u0275fac,providedIn:"root"});var eI=function(a,b){this.executor=a;this.etagStore=b;this.bufferTimeMs=50};
eI.prototype.call=function(a){a=Array.from(a).map(String);return 0===a.length?(0,D.of)(new Map):1===a.length?this.executor.get({url:"action/hotlists/"+a[0],responseConstructor:Om}).pipe(C(function(b){var c=new Map;c.set(b.getHotlistId(),b);return c})):this.executor.get({url:"action/hotlists",responseConstructor:bI,options:{params:{id:a}}}).pipe(C(function(b){var c=new Map;b=k(b.getHotlistsList());for(var d=b.next();!d.done;d=b.next())d=d.value,c.set(d.getHotlistId(),d);return c}))};
eI.prototype.split=function(a,b){if(b=b.get(a)){var c=b.getEtag();if(c){var d=this.etagStore;null!=c&&(a=ddc(d,"action/hotlists/"+a),d.etagStore[a]=c)}}return b};eI.\u0275fac=function(a){return new (a||eI)(t(hE),t(aI))};eI.\u0275prov=yc({token:eI,factory:eI.\u0275fac,providedIn:"root"});var fI=function(a,b,c,d){this.paths=a;this.executor=b;this.batchApiConfig=c;this.batchApiAdapter=d;this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};f=fI.prototype;
f.get=function(a){return this.adaptedGet(String(a)).pipe(C(function(b){if(!b)throw new GUb({url:"action/hotlists",status:404,statusText:"Hotlist "+a+" does not exist."});return b}),C(Pm))};f.bulkLoad=function(a){var b=this;return 0===a.length?(0,D.of)([]):(0,D.forkJoin)(a.map(function(c){return b.adaptedGet(String(c)).pipe(C(function(d){if(d)return Pm(d)}))})).pipe(C(function(c){return c.filter(Ai)}))};
f.repositionHotlistIssue=function(a,b,c){var d=new Dj;d.setIssueId(b);d.setPosition(c);return this.executor.put({url:"action/hotlists/"+a+"/issues",body:d,responseConstructor:null})};f.createHotlist=function(a,b){var c=new Om;c.setName(a);b&&c.setDescription(b);return this.executor.post({url:"action/hotlists",body:c,responseConstructor:Om}).pipe(C(Pm))};
f.queryHotlists=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:bI,options:{params:{q:a}}}).pipe(C(function(b){var c;return(null!=(c=b.getHotlistsList())?c:[]).map(Pm)}))};f.archiveHotlist=function(a,b){return this.executor.post({url:"action/hotlists/"+a+"/archive",body:yya(b),responseConstructor:Om}).pipe(C(Pm))};
f.updateMetadata=function(a,b){var c={};b.etag&&(c["If-Match"]=String(b.etag));return this.executor.post({url:"action/hotlists/"+a,body:yya(b),options:{headers:c},responseConstructor:Om}).pipe(C(Pm))};f.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:DF}).pipe(C(Ita))};
fI.\u0275fac=function(a){return new (a||fI)(t(QH),t(hE),t(eI),t(vG))};fI.\u0275prov=yc({token:fI,factory:fI.\u0275fac,providedIn:"root"});var dI=function(a){this.observableApi=a};f=dI.prototype;f.get=function(a){return(0,D.firstValueFrom)(this.observableApi.get(a))};f.bulkLoad=function(a){return(0,D.firstValueFrom)(this.observableApi.bulkLoad(a))};f.repositionHotlistIssue=function(a,b,c){return(0,D.firstValueFrom)(this.observableApi.repositionHotlistIssue(a,b,c))};
f.createHotlist=function(a,b){return(0,D.firstValueFrom)(this.observableApi.createHotlist(a,b))};f.queryHotlists=function(a){return(0,D.firstValueFrom)(this.observableApi.queryHotlists(a))};f.archiveHotlist=function(a,b){return(0,D.firstValueFrom)(this.observableApi.archiveHotlist(a,b))};f.updateMetadata=function(a,b){return(0,D.firstValueFrom)(this.observableApi.updateMetadata(a,b))};
f.getPagedHotlistContent=function(a,b,c,d,e){return(0,D.firstValueFrom)(this.observableApi.getPagedHotlistContent(a,b,c,d,e))};dI.\u0275fac=function(a){return new (a||dI)(t(fI))};dI.\u0275prov=yc({token:dI,factory:dI.\u0275fac,providedIn:"root"});var fdc=function(a){this.internalArray_=m(a)};T(fdc,p);f=fdc.prototype;f.getUser=function(){return X(this,ri,5)};f.setUser=function(a){hj(this,ri,5,a)};f.hasUser=function(){return Nj(this,ri,5)};f.getResourceType=function(){return Zi(this,2,0)};f.setResourceType=function(a){V(this,2,a)};f.hasResourceType=function(){return pj(this,2)};f.getResourceId=function(){return Ii(this,3)};f.setResourceId=function(a){V(this,3,a)};f.hasResourceId=function(){return Hi(this,3)};
f.getName=function(){return U(this,4)};f.setName=function(a){return sk(this,4,a)};f.hasName=function(){return Hk(this,4)};f.getNameOrUndefined=function(){return tt(this,4)};f.toObject=function(){return gdc(this)};var gdc=function(a){if(null!=a)return r(a),{user:sE(a.getUser()),resourceType:n(Er(a,2)),resourceId:n(Yb(a,3)),name:n(Z(a,4))}};var Qm=function(a){this.internalArray_=m(a)};T(Qm,p);f=Qm.prototype;f.getName=function(){return U(this,3)};f.setName=function(a){return sk(this,3,a)};f.hasName=function(){return Hk(this,3)};f.getNameOrUndefined=function(){return tt(this,3)};f.getDescription=function(){return U(this,4)};f.setDescription=function(a){return sk(this,4,a)};f.hasDescription=function(){return Hk(this,4)};f.getQuery=function(){return U(this,7)};f.setQuery=function(a){return sk(this,7,a)};f.clearQuery=function(){ct(this,7)};
f.hasQuery=function(){return Hk(this,7)};f.getSortOrderList=function(){return kj(this,Nm,8)};f.setSortOrderList=function(a){nj(this,8,a)};f.getDisplayColumnList=function(){return kj(this,Mm,6)};f.setDisplayColumnList=function(a){nj(this,6,a)};f.getAdminUsersList=function(){return kj(this,ri,11)};f.setAdminUsersList=function(a){nj(this,11,a)};Qm.repeatedFields_=[8,6,11];Qm.prototype.toObject=function(){return hdc(this)};
var hdc=function(a){if(null!=a)return r(a),{searchId:n(Yb(a,1)),name:n(Z(a,3)),description:n(Z(a,4)),query:n(Z(a,7)),sortOrderList:Ub(a.getSortOrderList(),Ycc),displayColumnList:Ub(a.getDisplayColumnList(),Xcc),adminUsersList:Ub(a.getAdminUsersList(),sE)}};var gI=function(a){this.internalArray_=m(a,0,gI.messageId)};T(gI,p);gI.prototype.getFavorite=function(){return X(this,fdc,1)};gI.prototype.toObject=function(){if(null!=this){r(this);var a={favorite:gdc(this.getFavorite())}}else a=void 0;return a};gI.messageId="b.Favorite";var hI=function(a){this.internalArray_=m(a,0,hI.messageId)};T(hI,p);hI.prototype.addHotlist=function(a){Co(this,1,Om,a)};hI.repeatedFields_=[1];hI.prototype.toObject=function(){if(null!=this){r(this);var a={hotlistList:Ub(kj(this,Om,1),Zcc)}}else a=void 0;return a};hI.messageId="b.HotlistBatchResponse";var Rm=function(a){this.internalArray_=m(a)};T(Rm,p);f=Rm.prototype;f.getId=function(){return Ii(this,1)};f.setId=function(a){return V(this,1,a)};f.getName=function(){return U(this,2)};f.setName=function(a){return sk(this,2,a)};f.hasName=function(){return Hk(this,2)};f.getNameOrUndefined=function(){return tt(this,2)};f.getDescription=function(){return U(this,3)};f.setDescription=function(a){return sk(this,3,a)};f.hasDescription=function(){return Hk(this,3)};
f.getAdminUsersList=function(){return kj(this,ri,8)};f.setAdminUsersList=function(a){nj(this,8,a)};f.getStarred=function(){return Tj(this,5)};f.setStarred=function(a){Vj(this,5,a)};f.hasStarred=function(){return Ok(this,5)};f.getResourceType=function(){return U(this,6)};f.setResourceType=function(a){sk(this,6,a)};f.hasResourceType=function(){return Hk(this,6)};Rm.repeatedFields_=[8];Rm.prototype.toObject=function(){return idc(this)};
var idc=function(a){if(null!=a)return r(a),{id:n(Yb(a,1)),name:n(Z(a,2)),description:n(Z(a,3)),adminUsersList:Ub(a.getAdminUsersList(),sE),starred:n(vr(a,5)),resourceType:n(Z(a,6))}};var Sm=function(a){this.internalArray_=m(a)};T(Sm,p);f=Sm.prototype;f.getId=function(){return Ii(this,1)};f.setId=function(a){return V(this,1,a)};f.getName=function(){return U(this,2)};f.setName=function(a){return sk(this,2,a)};f.hasName=function(){return Hk(this,2)};f.getNameOrUndefined=function(){return tt(this,2)};f.getDescription=function(){return U(this,3)};f.setDescription=function(a){return sk(this,3,a)};f.hasDescription=function(){return Hk(this,3)};
f.getAdminUsersList=function(){return kj(this,ri,8)};f.setAdminUsersList=function(a){nj(this,8,a)};f.getStarred=function(){return Tj(this,5)};f.setStarred=function(a){Vj(this,5,a)};f.hasStarred=function(){return Ok(this,5)};Sm.repeatedFields_=[8,6];Sm.prototype.toObject=function(){return jdc(this)};var jdc=function(a){if(null!=a)return r(a),{id:n(Yb(a,1)),name:n(Z(a,2)),description:n(Z(a,3)),adminUsersList:Ub(a.getAdminUsersList(),sE),starred:n(vr(a,5)),sublinksList:Ub(kj(a,Rm,6),idc)}};var iI=function(a){this.internalArray_=m(a,0,iI.messageId)};T(iI,p);iI.prototype.getHotlistsList=function(){return kj(this,Rm,1)};iI.prototype.getBookmarkGroupsList=function(){return kj(this,Sm,2)};iI.repeatedFields_=[1,2,3,4];iI.prototype.toObject=function(){if(null!=this){r(this);var a={hotlistsList:Ub(this.getHotlistsList(),idc),bookmarkGroupsList:Ub(this.getBookmarkGroupsList(),jdc),archivedHotlistsList:Ub(kj(this,Rm,3),idc),archivedBookmarkGroupsList:Ub(kj(this,Sm,4),jdc)}}else a=void 0;return a};
iI.messageId="b.SidebarInfo";var jI=function(a){this.internalArray_=m(a,0,jI.messageId)};T(jI,p);jI.repeatedFields_=[1];jI.prototype.toObject=function(){if(null!=this){r(this);var a={componentsList:Ub(kj(this,dk,1),kF)}}else a=void 0;return a};jI.messageId="b.UserRecentComponentResponse";var kI=function(a){this.internalArray_=m(a,0,kI.messageId)};T(kI,p);kI.repeatedFields_=[1];kI.prototype.toObject=function(){if(null!=this){r(this);var a={searchesList:Ub(kj(this,Qm,1),hdc)}}else a=void 0;return a};kI.messageId="b.UserSavedSearchesResponse";var lI=function(){},mI=function(){};mI.\u0275fac=function(a){return new (a||mI)};mI.\u0275prov=yc({token:mI,factory:mI.\u0275fac,providedIn:"root"});var nI=function(a){this.executor=a};T(nI,mI);f=nI.prototype;f.getUserHotlists=function(){return this.executor.get({url:"action/current_user/hotlists",responseConstructor:hI}).pipe(C(zya))};f.getUserSidebar=function(){return this.executor.get({url:"action/current_user/sidebar",responseConstructor:iI}).pipe(C(Gya))};
f.getRecentComponents=function(){return this.executor.get({url:"action/current_user/recent_components",responseConstructor:jI}).pipe(C(ata))};f.getUserSavedSearches=function(){return this.executor.get({url:"action/current_user/searches",responseConstructor:kI}).pipe(C(Dya))};f.getFavorite=function(a,b){return this.executor.get({url:"action/favorites/"+a+"/"+b,responseConstructor:gI}).pipe(C(Bya))};
f.saveFavorite=function(a){var b=new fdc;b.setResourceType(K6b[a.resourceType]);b.setResourceId(String(a.resourceId));return this.executor.post({url:"action/favorites",body:b,responseConstructor:gI}).pipe(C(Bya))};f.deleteFavorite=function(a){return this.executor.delete({url:"action/favorites/"+a.resourceType+"/"+a.resourceId,responseConstructor:null})};
var kdc=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})};nI.\u0275fac=function(a){return new (a||nI)(t(hE))};nI.\u0275prov=yc({token:nI,factory:nI.\u0275fac,providedIn:"root"});var oI=function(a){this.observableApi=a};
T(oI,lI);f=oI.prototype;f.getUserHotlists=function(){return(0,D.firstValueFrom)(this.observableApi.getUserHotlists())};f.getUserSidebar=function(){return(0,D.firstValueFrom)(this.observableApi.getUserSidebar())};f.getRecentComponents=function(){return(0,D.firstValueFrom)(this.observableApi.getRecentComponents())};f.getUserSavedSearches=function(){return(0,D.firstValueFrom)(this.observableApi.getUserSavedSearches())};
f.getFavorite=function(a,b){return(0,D.firstValueFrom)(this.observableApi.getFavorite(a,b))};f.saveFavorite=function(a){return(0,D.firstValueFrom)(this.observableApi.saveFavorite(a))};f.deleteFavorite=function(a){return(0,D.firstValueFrom)(this.observableApi.deleteFavorite(a))};oI.\u0275fac=function(a){return new (a||oI)(t(nI))};oI.\u0275prov=yc({token:oI,factory:oI.\u0275fac,providedIn:"root"});var ldc={parent:"me"},pI=function(a,b,c){mG.call(this,{freshUntil:3E5});var d=this;this.observableHotlistResources=a;this.observableUserResources=b;this.appEvents=c;this.recordType="hotlist";this.idKey="hotlistId";(0,D.merge)(this.appEvents.hotlistChanged,this.appEvents.hotlistCreated,this.appEvents.bookmarkGroupModified).subscribe(function(){d.pokeMany(ldc)})};T(pI,mG);
pI.prototype.fetchOne=function(a){return this.observableHotlistResources.get(a).pipe(Ke(function(b){return 403===b.status?(0,D.of)(void 0):(0,D.throwError)(b)}))};pI.prototype.fetchAll=function(a){if("me"===a.parent)return this.observableUserResources.getUserHotlists().pipe(C(function(b){return{results:b}}));Kh("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,D.of)({results:[]})};
pI.prototype.fetchSet=function(a){return this.observableHotlistResources.bulkLoad(a).pipe(C(function(b){return(null!=b?b:[]).filter(Ai)}))};pI.prototype.doSave=function(a){return this.observableHotlistResources.updateMetadata(a.hotlistId,a)};var mdc=function(a){return a.watchMany(ldc).pipe(C(function(b){return b.results}))};pI.\u0275fac=function(a){return new (a||pI)(t(fI),t(mI),t(eH))};pI.\u0275prov=yc({token:pI,factory:pI.\u0275fac,providedIn:"root"});var Hya=function(a){this.internalArray_=m(a)};T(Hya,p);Hya.repeatedFields_=[1];Hya.prototype.toObject=function(){if(null!=this){r(this);var a={issueDetailsList:Ub(kj(this,Tm,1),k$b),noIndex:n(vr(this,2))}}else a=void 0;return a};var ndc=!1;var ao={ADD_USER_WITHOUT_ACCESS:"addUserWithoutAccess",COMPONENT_PICKER:"componentPicker",CREATE_ISSUE:"createIssue",EDIT_ISSUE:"editIssue",EDIT_SLO:"editSlo",EXPERIMENTAL_HOMEPAGE:"experimentalHomepage",FIELD_ORDERING:"fieldOrdering",G3C_WIDGET:"g3cWidget",G3N:"g3n",GLOBAL_SEARCH:"global-search",ISSUE:"issue",ISSUE_ACCESS_LIMITS:"issueAccessLimits",ISSUE_CARD:"issueCard",ISSUE_EVENT_DETAIL:"issueEventDetail",ISSUE_PICKER:"issuePicker",ISSUE_SLO:"issueSlo",JOURNEY:"journey",LINK_FIELD:"linkField",
LIST_ISSUES:"listIssues",MAGIC_BOX:"magicBox",MANAGE_COMPONENT:"component",NEEDS_ATTENTION:"needsAttention",PERSON_CARD:"personCard",PUSH_UPDATE:"pushUpdate",RECAPTCHA_TOKEN:"recaptchaToken",RESTRICTED_CONTENT:"restrictedContent",ROLE_BASED_PERMISSIONS:"roleBasedPermissions",SEARCH:"search",SIDEBAR:"sidebar",SLO_REPORTS:"sloReports",TEAM_CARD:"teamCard",TEAM_WARNING:"teamWarning",UPDATE_HISTORY_MODAL:"updateHistoryModal",WHATS_NEW:"whatsNew"};var qI=function(){var a=new e2b(852,"0");a.setComponentId("");a.useSendBeaconForFinalFlush();a.useGetRequestForFinalFlush();a.sendBeaconApiEnabled=!0;a=new f2b(852,void 0,void 0,void 0,void 0,a.build());a=this.service=new d_b(a);a.flushInterval=3E3;a.flushTimer.setInterval(3E3)};qI.\u0275fac=function(a){return new (a||qI)};qI.\u0275prov=yc({token:qI,factory:qI.\u0275fac,providedIn:"root"});var odc={clear:function(){},getItem:function(){},removeItem:function(){},setItem:function(){}},Um=window.localStorage||odc,pdc=function(a){return function(){var b=Um.getItem(a);if(null!=b)return b=Number(b),isNaN(b)?void 0:b}},qdc=function(a){return function(){var b=Um.getItem(a);if(null!=b)return String(b)}},rdc=function(a){return function(b){null==b?Um.removeItem(a):Um.setItem(a,String(b))}},sdc=function(a){return function(b){null==b?Um.removeItem(a):Um.setItem(a,b)}},tdc=function(a){return function(){var b=
Vm(a)();Jya(a)(!b);return!b}},rI=function(a){return function(){var b=Um.getItem(a);if(null!=b)try{return JSON.parse(b)}catch(c){console.warn("JSON.parse("+a+")"),console.warn(c)}}},ip=function(a){return function(b){null==b?Um.removeItem(a):Um.setItem(a,JSON.stringify(b))}};var udc=Vm("debug-logging")(),sI=function(a,b){this.activeSession=a;this.streamz=b;this.pageLoadTime=new j6b(this.streamz.service);this.userLatency=new l6b(this.streamz.service);this.userActionCounter=new k6b(this.streamz.service);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType()};
sI.prototype.timePageLoad=function(a,b){this.pageLoadTime.record(a,b,this.frontendAccessMode,this.environmentType);udc&&console.log("Clearcut stub",{action:b,duration:a})};var tI=function(a,b,c){a.userLatency.record(b,c,a.frontendAccessMode,a.environmentType);udc&&console.log("Clearcut stub",{action:c,duration:b})},uI=function(a,b){a.userActionCounter.increment(b,a.frontendAccessMode,a.environmentType);udc&&console.log("Clearcut stub",{action:b})};
sI.\u0275fac=function(a){return new (a||sI)(t(Bs),t(qI))};sI.\u0275prov=yc({token:sI,factory:sI.\u0275fac,providedIn:"root"});var Kya=window,Yya=function(){return{count:0,duration:0,transferSize:0,cacheHits:0,cacheHitRate:0}},vdc=function(a){if(Wm())try{window.performance.mark(a)}catch(b){console.warn("route_performance",b)}};var Zya=Vm("debug-logging")(),$m=window,wdc,Xya=!1;var xdc=ao.GLOBAL_SEARCH,ydc=ao.JOURNEY,zdc=ip("journey-log"),Adc=rI("journey-log"),vI={},Bdc=(vI.ssue__edit="edit",vI.ssue__addComment="comment",vI["ssue__light-ixn"]="ixn",vI.ssue__copyIssueId="ixn",vI[xdc+"__.*__.*text"]="ilp-search",vI[xdc+"__.*__filters"]="ilp-filter",vI),wI={startEvents:["ilp-search"],successEvents:["edit","ixn","comment"],abortEvents:["ilp-filter","idle"],successMarker:"SUCCESS-search",count:["nav"]},xI=function(a){this.clearcut=a},Cdc=function(a,b){var c=void 0===c?Date.now():
c;var d,e=null!=(d=Adc())?d:[];e.push([b,c]);100<e.length&&(e=e.slice(-100));zdc(e);if(wI.successEvents.includes(b)){b=e;c=wI.abortEvents;d=wI.successEvents;e=wI.startEvents;for(var g=wI.successMarker,h,l=b.length-1;0<=l;l--){var q=k(b[l]),v=q.next().value;q=q.next().value;if(c.includes(v))break;if(g===v)break;if(d.includes(v)){if(h&&x)break;var x=q}else x&&e.includes(v)&&(h=q)}x=h&&x?[h,x]:void 0;x&&(x=k(x),h=x.next().value,x=x.next().value-h,tI(a.clearcut,x,$ya(ydc,"global-search-text")),Xm({hitType:"event",
eventCategory:ydc,eventAction:"global-search-text",eventLabel:"duration",eventValue:x}),Cdc(a,wI.successMarker))}};xI.\u0275fac=function(a){return new (a||xI)(t(sI))};xI.\u0275prov=yc({token:xI,factory:xI.\u0275fac,providedIn:"root"});var yI=function(a){var b=this;this.clearcut=a;this.onMeasurement=function(c){c.getEntries().forEach(b.sendToClearcut)};this.sendToClearcut=function(c){var d=c.name;c=Math.round(c.duration);null!=d&&(isNaN(c)||b.clearcut.timePageLoad&&b.clearcut.timePageLoad(c,d))}},Ddc=function(a){Wm()&&(null!=a.observer&&a.observer.disconnect(),a.observer=new Kya.PerformanceObserver(a.onMeasurement),a.observer.observe({entryTypes:["measure"]}))};yI.\u0275fac=function(a){return new (a||yI)(t(sI))};
yI.\u0275prov=yc({token:yI,factory:yI.\u0275fac,providedIn:"root"});var an={},Edc={logInfo:function(){console.log(cza());console.log("\nDuplicate Requests:");console.table(aza())},getCounts:function(){return an},getDupes:aza,getAggregates:cza};var Fdc={attributes:!1,childList:!0,subtree:!0},zI=function(a,b,c){var d=this;this.ngZone=a;this.router=b;this.activatedRoute=c;this.dom$=new D.Subject;this.cdr$=this.ngZone.onStable;this.xhr$=new D.Subject;this.render$=(0,D.merge)(this.dom$,this.cdr$);this.renderSettled$=this.render$.pipe(Le(200));this.navigatedTo$=this.router.events.pipe(Ge(eza),C(function(){return dza(d.activatedRoute.snapshot)}));this.navigatedTo$.pipe($e(function(e){return d.renderSettled$.pipe(Oe(),C(function(){return e}))}),
Xe(1));this.domObserver=new MutationObserver(function(){return void d.dom$.next()})},Gdc=function(a){a.domObserver.disconnect();a.domObserver.observe(document.body,Fdc)};zI.prototype.intercept=function(a,b){var c=a.method+" "+a.urlWithParams;an[c]=~~an[c]+1;this.xhr$.next(c);return b.handle(a)};zI.\u0275fac=function(a){return new (a||zI)(t(df),t(IH),t(xm))};zI.\u0275prov=yc({token:zI,factory:zI.\u0275fac,providedIn:"root"});var Hdc={provide:Ey,useExisting:zI,multi:!0};var AI=function(a,b){this.cdr=a;this.zone=b;this.destroyed=!1};AI.prototype.ngOnDestroy=function(){this.destroyed=!0};AI.prototype.detectChanges=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.detectChanges()})};AI.prototype.markForCheck=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.markForCheck()})};AI.\u0275fac=function(a){return new (a||AI)(t(Kw),t(df))};AI.\u0275prov=yc({token:AI,factory:AI.\u0275fac});var BI=function(a){rF.call(this);var b=this;this.ngZone=a;this.activeSubject$=new D.BehaviorSubject(!1);this.active$=this.activeSubject$.pipe(Ne(),af(this.destroyed$),gza(this.ngZone));this.onUserEvent=RPb(function(){b.activeSubject$.next(!0);Idc(b)},200);this.onVisibilityChange=function(){"hidden"===document.visibilityState?(b.activeSubject$.next(!1),clearTimeout(b.activeTimeoutId)):(b.activeSubject$.next(!0),Idc(b))}};T(BI,rF);BI.\u0275dir=rF.\u0275dir;
BI.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)};
BI.prototype.ngOnDestroy=function(){rF.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 Idc=function(a){clearTimeout(a.activeTimeoutId);a.activeTimeoutId=setTimeout(function(){a.activeSubject$.next(!1)},3E3)};BI.\u0275fac=function(a){return new (a||BI)(t(df))};BI.\u0275prov=yc({token:BI,factory:BI.\u0275fac,providedIn:"root"});var Jdc=[Im,Km,Jm],DI=function(a,b){rF.call(this);var c=this;this.router=a;this.activatedRoute=b;this.routeChangeStart=new D.Subject;this.routeChangeSuccess=new D.Subject;this.locationChangeStart=new D.Subject;this.locationChangeSuccess=new D.Subject;this.routeUpdate=new D.Subject;this.viewContentLoaded=new D.Subject;this.navigationEnd$=this.router.events.pipe(Ge(eza));this.navigationOver$=this.router.events.pipe(Ge(function(d){return Jdc.some(function(e){return d instanceof e})}));CI(this,Oxa).subscribe(function(d){c.routeChangeStart.next({params:Object.assign({},
d.snapshot.queryParams,d.snapshot.params)})});a=CI(this,pbc);(0,D.merge)(this.navigationOver$.pipe(Se(D.NEVER)),this.routeChangeStart.pipe(Se(a))).pipe($e(ge),af(this.destroyed$),Ge(function(d){return d.snapshot.routeConfig.isRootRoute}),C(function(d){return{params:Object.assign({},d.snapshot.queryParams,d.snapshot.params)}})).subscribe(function(d){c.routeChangeSuccess.next(d)});CI(this,bn).pipe(C(function(d){return d.url}),Ne()).subscribe(function(){c.locationChangeStart.next()});CI(this,Im).pipe(C(function(d){return d.url}),
Ne()).subscribe(function(){c.locationChangeSuccess.next()});a=this.activatedRoute.queryParams.pipe(cf(CI(this,hbc)));(0,D.merge)(this.routeChangeStart.pipe(Se(D.NEVER)),this.navigationOver$.pipe(Se(a))).pipe($e(ge),af(this.destroyed$)).subscribe(function(d){d=k(d);d.next();d=d.next().value;c.routeUpdate.next({params:d.state.root.params})});CI(this,Im).subscribe(function(){c.viewContentLoaded.next()})};T(DI,rF);DI.\u0275dir=rF.\u0275dir;
var CI=function(a,b){return a.router.events.pipe(Ge(function(c){return c instanceof b}),C(function(c){return c}),af(a.destroyed$))};DI.\u0275fac=function(a){return new (a||DI)(t(IH),t(xm))};DI.\u0275prov=yc({token:DI,factory:DI.\u0275fac,providedIn:"root"});var hza=pdc("last-visit"),iza=pdc("last-visit-count"),kza=rdc("last-visit"),jza=rdc("last-visit-count");null==Date.now&&(Date.now=function(){return(new Date).getTime()});var Kdc=Vm("onedev-darkmode"),Ldc=Vm("hasClickedCommentSortBtn"),EI=function(a,b,c,d){rF.call(this);var e=this;this.journeyTracker=d;this.preapply=function(){var x=Mdc;return function(A){return function(G,M){e.trackEvent(x,A,G,M)}}};lza();Zm("dimension13",b.getUserTypeLabel());d=b.getUserPreferences();var g=d.needsAttentionPreferences,h;g=null==g?"default":null==g?void 0:null==(h=g.selectedSignals)?void 0:h.length;Zm("dimension1",g);Zm("dimension7",Kdc()?"dark":"default");var l;Zm("dimension3",null==
(l=d.themePreferences)?void 0:l.density);Zm("dimension6",pF(b,"readUnreadOptOut"));Zm("dimension8",pF(b,"enableEnhancedCommentThread"));Zm("dimension9",Ldc());h=d.showFullHistory?"fh":"comments";var q;if(pF(b,"enableCommentFiltering")&&(null==(q=d.commentFilterPreferences)?0:q.commentFilter)){var v;h=null==(v=d.commentFilterPreferences)?void 0:v.commentFilter}Zm("dimension2",h);Zm("dimension5",d.showRecentEventsFirst?"newestFirst":"oldestFirst");Zm("dimension11",pF(b,"enableHomepageVariantA"));this.subscriptions.add(a.viewContentLoaded.pipe(Ze(void 0)).subscribe(function(){var x=
dza(c.snapshot);Zm("page",x);Xm({hitType:"pageview",page:x})}))};T(EI,rF);EI.\u0275dir=rF.\u0275dir;EI.prototype.trackEvent=function(a,b,c,d){Ym(a,b,c,"boolean"===typeof d?d?1:0:d);d=this.journeyTracker;a=$ya(a,b,c);b=k(Object.entries(Bdc));for(c=b.next();!c.done;c=b.next()){var e=k(c.value);c=e.next().value;e=e.next().value;if(a.match(new RegExp(c))){Cdc(d,e);break}}};
var Ndc=function(a,b,c){Xm(Object.assign({},{hitType:"timing",timingCategory:"userAction",timingVar:a,timingValue:b},void 0!==c?{timingLabel:c}:{}))};EI.\u0275fac=function(a){return new (a||EI)(t(DI),t(Bs),t(xm),t(xI))};EI.\u0275prov=yc({token:EI,factory:EI.\u0275fac,providedIn:"root"});var Odc=function(a){this.internalArray_=m(a)};T(Odc,p);f=Odc.prototype;f.getComponentId=function(){return qj(this,1)};f.setComponentId=function(a){return V(this,1,a)};f.hasComponentId=function(){return Yk(this,1)};f.getType=function(){return Zi(this,2,0)};f.setType=function(a){return V(this,2,a)};f.hasType=function(){return pj(this,2)};f.getPriority=function(){return Zi(this,3,0)};f.setPriority=function(a){return V(this,3,a)};f.hasPriority=function(){return pj(this,3)};
f.getSeverity=function(){return Zi(this,4,0)};f.setSeverity=function(a){return V(this,4,a)};f.hasSeverity=function(){return pj(this,4)};f.getStatus=function(){return Zi(this,5,0)};f.setStatus=function(a){return V(this,5,a)};f.hasStatus=function(){return pj(this,5)};f.getReporter=function(){return X(this,ri,6)};f.setReporter=function(a){hj(this,ri,6,a)};f.getAssignee=function(){return X(this,ri,7)};f.setAssignee=function(a){hj(this,ri,7,a)};f.clearAssignee=function(){return ct(this,7)};
f.getVerifier=function(){return X(this,ri,8)};f.setVerifier=function(a){hj(this,ri,8,a)};f.clearVerifier=function(){return ct(this,8)};f.getCcsList=function(){return kj(this,ri,9)};f.addHotlistIds=function(a,b){return Cb(this,10,a,b)};f.getBlockingIssueIdsList=function(){return rl(this,12)};f.getInProd=function(){return Tj(this,15)};f.setInProd=function(a){Vj(this,15,a)};f.getSloStartTime=function(){return X(this,Nh,16)};f.setSloStartTime=function(a){hj(this,Nh,16,a)};
f.hasSloStartTime=function(){return Nj(this,Nh,16)};f.getSloEndTime=function(){return X(this,Nh,20)};f.setSloEndTime=function(a){hj(this,Nh,20,a)};f.hasSloEndTime=function(){return Nj(this,Nh,20)};f.getRetention=function(){return Zi(this,17,0)};f.setRetention=function(a){V(this,17,a)};f.getEntityStatus=function(){return X(this,$E,18)};f.getIsArchived=function(){return Tj(this,19)};f.setIsArchived=function(a){return Vj(this,19,a)};f.getAccessLimitLevel=function(){return Zi(this,21,0)};
f.setAccessLimitLevel=function(a){V(this,21,a)};f.hasAccessLimitLevel=function(){return pj(this,21)};Odc.repeatedFields_=[9,10,11,12,14];Odc.prototype.toObject=function(){return Pdc(this)};
var Pdc=function(a){if(null!=a)return r(a),{componentId:n(Yb(a,1)),type:n(Er(a,2)),priority:n(Er(a,3)),severity:n(Er(a,4)),status:n(Er(a,5)),reporter:sE(a.getReporter()),assignee:sE(a.getAssignee()),verifier:sE(a.getVerifier()),ccsList:Ub(a.getCcsList(),sE),hotlistIdsList:n(rl(a,10)),blockedByIssueIdsList:n(rl(a,11)),blockingIssueIdsList:n(rl(a,12)),canonicalIssueId:n(Yb(a,13)),duplicateIssueIdsList:n(rl(a,14)),inProd:n(vr(a,15)),sloStartTime:Lt(a.getSloStartTime()),sloEndTime:Lt(a.getSloEndTime()),
retention:n(Er(a,17)),entityStatus:aF(a.getEntityStatus()),isArchived:n(vr(a,19)),accessLimitLevel:n(Er(a,21))}};var Qdc=function(a){this.internalArray_=m(a,0,Qdc.messageId)};T(Qdc,p);f=Qdc.prototype;f.getIssueId=function(){return qj(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getIssueState=function(){return X(this,Odc,2)};f.getVersion=function(){return Rh(this,3)};f.setVersion=function(a){return V(this,3,a)};f.getVersionOrUndefined=function(){return rt(this,3)};f.getCreatedTime=function(){return X(this,Nh,4)};f.getModifiedTime=function(){return X(this,Nh,5)};
f.getResolvedTime=function(){return X(this,Nh,6)};f.getVerifiedTime=function(){return X(this,Nh,7)};f.getSloId=function(){return qj(this,9)};f.setSloId=function(a){return V(this,9,a)};f.getSloStatus=function(){return X(this,Ij,10)};f.setSloStatus=function(a){hj(this,Ij,10,a)};f.hasSloStatus=function(){return Nj(this,Ij,10)};f.getRetentionState=function(){return X(this,Hj,11)};f.setRetentionState=function(a){hj(this,Hj,11,a)};f.getAccessLimit=function(){return X(this,ki,12)};
f.setAccessLimit=function(a){return hj(this,ki,12,a)};f.getTeamId=function(){return qj(this,13)};f.setTeamId=function(a){return V(this,13,a)};
f.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),issueState:Pdc(this.getIssueState()),version:n(ft(this,3)),createdTime:Lt(this.getCreatedTime()),modifiedTime:Lt(this.getModifiedTime()),resolvedTime:Lt(this.getResolvedTime()),verifiedTime:Lt(this.getVerifiedTime()),sloId:n(Yb(this,9)),sloStatus:j8b(this.getSloStatus()),retentionState:b8b(this.getRetentionState()),accessLimit:T6b(this.getAccessLimit()),teamId:n(Yb(this,13))}}else a=void 0;return a};Qdc.messageId="b.IssueMetadata";var FI=function(a){this.internalArray_=m(a)};T(FI,p);FI.prototype.getIssueIdsList=function(){return rl(this,1)};FI.prototype.setIssueIdsList=function(a){return Ab(this,1,a,gb)};FI.prototype.addIssueIds=function(a){Cb(this,1,a)};FI.repeatedFields_=[1];FI.prototype.toObject=function(){if(null!=this){r(this);var a={issueIdsList:n(rl(this,1)),read:n(vr(this,2))}}else a=void 0;return a};var Rdc=function(a){this.internalArray_=m(a,0,Rdc.messageId)};T(Rdc,p);Rdc.prototype.toObject=function(){if(null!=this){r(this);var a={readTimestamp:n(Yb(this,1))}}else a=void 0;return a};Rdc.messageId="b.UpdateIssueReadTimestampResponse";var GI=function(a){this.executor=a};GI.prototype.delete=function(a,b){var c=new k8b;c.setIssueId(String(a));c.setReason(hsa[b]);return this.executor.post({url:"action/issues/"+a+"/delete",body:c,responseConstructor:null})};GI.prototype.undelete=function(a){var b=new fF;b.setIssueId(String(a));return this.executor.post({url:"action/issues/"+a+"/undelete",body:b,responseConstructor:null})};GI.prototype.getMetadata=function(a){return this.executor.get({url:"action/issues/"+a+"/metadata",responseConstructor:Qdc}).then(Ata)};
GI.prototype.markRead=function(a,b){b=void 0===b?!0:b;var c=new FI;c.setIssueIdsList(a.map(Number));Vj(c,2,b);return this.executor.post({url:"action/issues/read_timestamp",body:c,responseConstructor:Rdc}).then(zta)};GI.\u0275fac=function(a){return new (a||GI)(t(iE))};GI.\u0275prov=yc({token:GI,factory:GI.\u0275fac,providedIn:"root"});var HI=function(){this.refreshRequest=new D.Subject};HI.prototype.getObservable=function(){return this.refreshRequest};var Sdc=function(a,b){return a.getObservable().pipe(Ze(void 0)).pipe($e(function(){return b}))};HI.\u0275fac=function(a){return new (a||HI)};HI.\u0275prov=yc({token:HI,factory:HI.\u0275fac,providedIn:"root"});var II=ao.ISSUE,JI=function(a,b,c,d,e,g,h,l){mG.call(this);var q=this;this.batchApiAdapter=a;this.issueResources=b;this.userResources=c;this.refreshMonitor=d;this.issueService=e;this.activeSession=g;this.hotlistFridge=h;this.analytics=l;this.recordType="issue";this.normalizeQueryResponses=!1;this.idForRecord=function(v){return String(v.issueId)};this.isEqual=Xh;this.issueFetchResponse$=new D.Subject;this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(v){return q.call(v)},split:function(v,
x){return q.splitBatch(v,x)}});this.refreshMonitor.getObservable().subscribe(function(){q.invalidate()})};T(JI,mG);JI.prototype.fetchOne=function(a){return this.get(a).pipe(Ke(function(){return(0,D.of)(void 0)}))};JI.prototype.fetchSet=function(a){var b=this;return(0,D.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(C(function(c){return c.filter(Ai)}))};
JI.prototype.fetchAll=function(a){var b=a.filter;a={s:a.sort,count:a.pageSize};if(b)return this.issueResources.listIssues(b,a).pipe(C(function(c){return{results:c.issues,totalSize:c.numTotalResults}}));throw Error("Gc");};JI.prototype.copy=function(a){return a&&Yh(a)};
var Tdc=function(a,b,c){a.analytics.trackEvent(II,"light-ixn","star");var d={starred:c,voted:null,notificationSubscription:null};D9b(a.activeSession)&&(d.voted=c);return kdc(a.userResources,b,d).pipe(bf(function(){lG(a,b,function(e){e.userData&&(e.userData.starred=c,D9b(a.activeSession)&&(e.userData.voted=c))})}))};
JI.prototype.setVoted=function(a,b){var c=this;this.analytics.trackEvent(II,"light-ixn","vote",b);return kdc(this.userResources,a,{voted:b,starred:null,notificationSubscription:null}).pipe(bf(function(){lG(c,a,function(d){d.userData&&(d.userData.voted=b)})}))};
JI.prototype.setNotificationSubscription=function(a,b){var c=this,d;return pe(function(e){if(1==e.nextAddress)return c.analytics.trackEvent(II,"light-ixn","notifs",Number(b)),d={voted:null,starred:null,notificationSubscription:b},e.yield((0,D.firstValueFrom)(kdc(c.userResources,a,d)),2);lG(c,a,function(g){g.userData&&(g.userData.notificationSubscription=b)});ue(e)})};
var Udc=function(a,b,c){a.analytics.trackEvent(II,"edit","title");var d={issueId:b,actions:[{fieldName:"title",value:c}]};lG(a,b,function(e){e.snapshot[0].title=c});return a.issueResources.updateIssue(b,d).pipe(bf(function(e){e&&a.announce(e.issue)}))},Vdc=function(a,b,c,d){var e,g,h,l,q,v,x;return pe(function(A){if(1==A.nextAddress){a.analytics.trackEvent(II,"edit","hotlists");e={removeHotlistIds:d,addHotlistIds:c,hotlistIssue:{issueId:b}};g=k([].concat(cd(c),cd(d)));for(h=g.next();!h.done;h=g.next())l=
h.value,a.hotlistFridge.setIsSaving(l);qe(A,2);return A.yield((0,D.firstValueFrom)(a.issueResources.updateIssueHotlists(b,e)).finally(function(){for(var G=k([].concat(cd(c),cd(d))),M=G.next();!M.done;M=G.next())a.hotlistFridge.clearIsSaving(M.value)}),4)}if(2!=A.nextAddress)return(q=A.yieldResult)&&a.announce(q.issue),A.return(null==(v=q)?void 0:v.issue);x=te(A);a.poke(b);throw x;})},Wdc=function(a,b,c){return KI(a,"ADD","DUPLICATE",c,[b]).then(function(){return a.poke(b)})};
JI.prototype.removeDuplicate=function(a,b){var c=this;return KI(this,"REMOVE","DUPLICATE",b,[a]).then(function(){return c.poke(a)})};
var KI=function(a,b,c,d,e){if(0===e.length||null==d)return Promise.resolve(void 0);a.analytics.trackEvent(II,"edit","relation",Number(c));b={relation:c,issueId:d,targetIds:e,actionType:b};Xdc(a,b);var g=[d].concat(cd(e));e=k(g);for(c=e.next();!c.done;c=e.next())a.setIsSaving(c.value);return(0,D.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=k(g),l=h.next();!l.done;l=h.next())a.clearIsSaving(l.value)})},
LI=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,g,h,l,q;return pe(function(v){if(1==v.nextAddress)return a.activeSession.isAnonymous()?v.return():v.yield(a.issueService.markRead(b,d),2);g=v.yieldResult;if(e)for(h=k(b),l=h.next();!l.done;l=h.next())q=l.value,lG(a,String(q),function(x){x.userData&&(x.userData.lastViewedTimeMicros=g.readTimestamp)});return v.return(g.readTimestamp?Math.round(g.readTimestamp/1E3):void 0)})},Xdc=function(a,
b){lG(a,b.issueId,function(c){switch(b.relation){case "BLOCKED_BY":if("ADD"===b.actionType){var d;c.snapshot[0].blockedByIssueId=[].concat(cd(null!=(d=c.snapshot[0].blockedByIssueId)?d:[]),cd(b.targetIds.map(String)))}else if("REMOVE"===b.actionType){var e,g;c.snapshot[0].blockedByIssueId=null!=(g=null==(e=c.snapshot[0].blockedByIssueId)?void 0:e.filter(function(h){return!b.targetIds.includes(String(h))}))?g:[]}}})};
JI.prototype.call=function(a){var b=this;if(1===a.size){var c=[].concat(cd(a))[0];return this.issueResources.getIssue(c).pipe(bf(function(d){b.issueFetchResponse$.next(d)}),C(function(d){return new Map([[c,d.issue]])}))}return this.issueResources.batchGetIssues([].concat(cd(a))).pipe(C(function(d){return new Map(d.map(function(e){return[e.issueId,e]}))}))};JI.prototype.splitBatch=function(a,b){return b.get(a)};JI.\u0275fac=function(a){return new (a||JI)(t(vG),t(HF),t(mI),t(HI),t(GI),t(Bs),t(pI),t(EI))};
JI.\u0275prov=yc({token:JI,factory:JI.\u0275fac,providedIn:"root"});var MI=function(a,b){mG.call(this);this.observableIssueResources=a;this.issueFridge=b;this.recordType="issue-fr";this.idForRecord=function(c){return c.issueId};this.isEqual=Xh;this.destroyed$=new D.ReplaySubject(1);ndc?a=void 0:(ndc=!0,a=Iya());a&&Ydc(this,a);this.issueFridge.issueFetchResponse$.pipe(Ge(Ai),C(nza),af(this.destroyed$)).subscribe(this.announce)};T(MI,mG);
var NI=function(a,b){return a.watch(b).pipe($e(function(c){return a.issueFridge.watch(b).pipe(C(function(d){return c&&d&&Object.assign({},c,{issue:d})}))}))},OI=function(a,b,c){return a.poke(b,c).then(function(){return(0,D.firstValueFrom)(NI(a,b))})},Ydc=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)};
MI.prototype.fetchOne=function(a){var b=this;this.issueFridge.setIsGetting(a);return this.observableIssueResources.getIssue(a).pipe(bf(function(c){(null==c?0:c.issue)&&b.issueFridge.announce(c.issue);b.issueFridge.clearIsGetting(a)}),C(function(c){return c&&nza(c)}),Ke(function(c){b.issueFridge.clearIsGetting(a);return(0,D.throwError)(c)}))};MI.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};MI.prototype.copy=function(a){return a&&Object.assign({},a)};
MI.\u0275fac=function(a){return new (a||MI)(t(HF),t(JI))};MI.\u0275prov=yc({token:MI,factory:MI.\u0275fac,providedIn:"root"});var PI={},Zdc=(PI.BUG="BUG",PI.FEATURE_REQUEST="FEATURE_REQUEST",PI.CUSTOMER_ISSUE="CUSTOMER_ISSUE",PI.INTERNAL_CLEANUP="INTERNAL_CLEANUP",PI.PROCESS="PROCESS",PI.VULNERABILITY="VULNERABILITY",PI.PRIVACY_ISSUE="PRIVACY_ISSUE",PI.EPIC="STORY",PI.STORY="TASK",PI.TASK="TASK",PI.PROJECT="TASK",PI.FEATURE="TASK",PI.MILESTONE="TASK",PI);var QI=function(a,b,c){kG.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=Xh;this.activeMoveOperation$=new D.BehaviorSubject(new Set);this.defaultQuery={type:"descendants",depth:1};this.assignParentToIssues=pza(function(e,g){return $dc(d,e,g)});this.assignParentToOneIssue=function(e,g){return $dc(d,String(e),[{issueId:g}])};
this.moveChildrenInAPI=oza(function(e){return d.moveChildrenInAPISequentially(e)});this.moveChildrenInAPISequentially=pza(function(e){var g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da,Oa,Ta,Wa,Nb,Eb,cb,sa,Ka,Qa,fb;return pe(function($a){switch($a.nextAddress){case 1:h=wza(e);if(0===h.length)return $a.return();l=h.map(function(Yc){return Yc.issues.map(function(hb){return hb.parentId})}).flat();q=h.map(function(Yc){return Yc.newParentId});v=Al([].concat(cd(l),cd(q)));x=k(v);for(A=x.next();!A.done;A=x.next())G=
A.value,d.setIsSaving(G);qe($a,2);M=k(h);Q=M.next();case 4:if(Q.done){Hs($a,3);break}Y=Q.value;W=k(Y.newRelations);ia=W.next();ja={};case 7:if(ia.done){Q=M.next();$a.jumpTo(4);break}ja.$jscomp$loop$prop$newRelation$2306=ia.value;Aa=Y.issues.find(function(Yc){return function(hb){return hb.issueId===Yc.$jscomp$loop$prop$newRelation$2306.targetIssueId}}(ja)).parentId;if(Y.newParentId===Aa)return Oa=void 0,$a.yield((0,D.firstValueFrom)(d.issueRelationshipService.update(Y.newParentId,1,KF(o$b(new JF,null!=
(Oa=ui(ja.$jscomp$loop$prop$newRelation$2306.afterIssueId))?Oa:0),Number(ja.$jscomp$loop$prop$newRelation$2306.targetIssueId)))),8);Da=void 0;return $a.yield((0,D.firstValueFrom)(d.issueRelationshipService.create(Y.newParentId,1,KF(o$b(new JF,null!=(Da=ui(ja.$jscomp$loop$prop$newRelation$2306.afterIssueId))?Da:0),Number(ja.$jscomp$loop$prop$newRelation$2306.targetIssueId)))).catch(function(Yc){var hb,yb;if(!(null==Yc?0:null==(hb=Yc.error)?0:null==(yb=hb.details)?0:yb.includes("ALREADY_EXISTS")))throw Yc;
}),12);case 12:return $a.yield((0,D.firstValueFrom)(d.issueRelationshipService.delete(Aa,1,ja.$jscomp$loop$prop$newRelation$2306.targetIssueId)),8);case 8:ja={$jscomp$loop$prop$newRelation$2306:ja.$jscomp$loop$prop$newRelation$2306};ia=W.next();$a.jumpTo(7);break;case 2:g=Ta=te($a);case 3:Wa=d.activeMoveOperation$.value;Nb=k(e.map(function(Yc){return Yc.eventTimestamps}).flat());for(Eb=Nb.next();!Eb.done;Eb=Nb.next())cb=Eb.value,Wa.delete(cb);d.activeMoveOperation$.next(Wa);sa=k(v);for(A=sa.next();!A.done;A=
sa.next())Ka=A.value,d.clearIsSaving(Ka);Promise.all(v.map(function(Yc){return d.poke(Yc)}));Qa=k(h);for(Q=Qa.next();!Q.done;Q=Qa.next())fb=Q.value,g&&fb.done.reject(g),fb.done.resolve();ue($a)}})});this.refreshMonitor.getObservable().subscribe(function(){d.invalidate()})};T(QI,kG);
QI.prototype.fetchOne=function(a){var b=this;return aec(this,function(){return b.issueRelationshipService.list(a,1).pipe(C(function(c){return{issueId:a,relatedChildren:c.map(lsa),totalChildCount:c.length}}),Ke(function(c){return $l(c)&&403===c.status?(0,D.of)(void 0):(0,D.throwError)(c)}))})};
QI.prototype.fetchAll=function(a){var b=this;switch(a.type){case "descendants":var c,d=[].concat(cd(null!=(c=a.ids)?c:[]));return 0===d.length?(0,D.of)({results:[]}):aec(this,function(){return b.issueRelationshipService.getDescendants({issueIds:d,relationshipType:1,includeArchived:!!a.includeArchived,depthLimit:a.depth,prefixSizeLimit:500}).pipe(C(tta),C(function(e){return{results:e}}))});default:Ch(a.type)}};QI.prototype.copy=function(a){return a&&Yh(a)};
var aec=function(a,b){var c=function(){return a.activeMoveOperation$.pipe(Ge(function(d){return 0===d.size}),$e(function(){return b()}),$e(function(d){return 0===a.activeMoveOperation$.value.size?(0,D.of)(d):c()}),Oe())};return c()},bec=function(a,b){return a.watch(b).pipe($e(function(c){return c&&c.totalChildCount===c.relatedChildren.length?(0,D.of)(c):a.watch(b,{trustMemory:!1})}))},cec=function(a,b,c){return a.watchMany({type:"descendants",ids:new Set([b]),depth:void 0===c?100:c})},dec=function(a,
b){return a.pokeMany({type:"descendants",ids:new Set([b]),depth:3})};
QI.prototype.unlinkFromParent=function(a,b,c){c=void 0===c?!1:c;var d=this,e;return pe(function(g){switch(g.nextAddress){case 1:lG(d.issueFridge,b,function(h){--h.childIssueCount});lG(d.issueFridge,a,function(h){h.parentIssueIds=h.parentIssueIds.filter(function(l){return l!==b})});lG(d,b,function(h){var l=h.relatedChildren;h.relatedChildren=vza(l,a);h.totalChildCount-=l.length-h.relatedChildren.length});if(c)return g.return();qe(g,2);return g.yield((0,D.firstValueFrom)(d.issueRelationshipService.delete(b,
1,a)),4);case 4:Hs(g,0);break;case 2:return e=te(g),g.yield(Promise.all([d.poke(b),d.issueFridge.poke(b),d.issueFridge.poke(a)]),5);case 5:throw e;}})};
var $dc=function(a,b,c){var d,e,g,h,l,q,v,x,A,G;return pe(function(M){switch(M.nextAddress){case 1:d=[];e=[];g=[];if(0===c.length)return M.return({added:d,notAdded:e});h=eec(a,b);l=c.map(function(Q,Y){var W="-1"===Q.afterIssueId?h:Q.afterIssueId;return{targetIssueId:Q.issueId,afterIssueId:Y?c[Y-1].issueId:W}});fec(a,b,l);q=k(l);v=q.next();case 2:if(v.done){M.jumpTo(4);break}x=v.value;qe(M,5);A=void 0;return M.yield((0,D.firstValueFrom)(a.issueRelationshipService.create(b,1,KF(o$b(new JF,null!=(A=
ui(x.afterIssueId))?A:0),Number(x.targetIssueId)))),7);case 7:d.push(x.targetIssueId);Hs(M,3);break;case 5:G=te(M);if(!$l(G))throw G;g.push(G);e.push(x.targetIssueId);case 3:v=q.next();M.jumpTo(2);break;case 4:return Promise.all([a.poke(b),a.issueFridge.poke(b)]),M.return(Object.assign({},{added:d,notAdded:e},g.length?{errors:g}:{}))}})},fec=function(a,b,c){var d=0;lG(a,b,function(e){var g=uza(e.relatedChildren,c);d=g.length-e.relatedChildren.length;e.relatedChildren=g;e.totalChildCount+=d},{evenWhenInFlight:!0});
lG(a.issueFridge,b,function(e){e.childIssueCount+=d},{evenWhenInFlight:!0})},gec=function(a,b,c){var d,e,g,h,l,q,v,x,A,G,M,Q;return pe(function(Y){if(1==Y.nextAddress)return d=[],e=[],g=[],0===c.length?Y.return({added:d,notAdded:e}):Y.yield(Promise.allSettled(c.map(function(W){return(0,D.firstValueFrom)(a.issueRelationshipService.create(W,1,KF(o$b(new JF,Number(eec(a,W))),Number(b))))})),2);h=Y.yieldResult;l=k(h.entries());for(q=l.next();!q.done;q=l.next())v=q.value,x=k(v),A=x.next().value,G=x.next().value,
M=A,Q=G,"fulfilled"===Q.status&&d.push(c[M]),"rejected"===Q.status&&(e.push(c[M]),g.push(Q.reason));Promise.all(c.map(function(W){return a.poke(W)}));return Y.return({added:d,notAdded:e,errors:g})})},hec=function(a,b,c){var d=b.parentId,e=Date.now();a.activeMoveOperation$.next(a.activeMoveOperation$.value.add(e));for(var g=k(c),h=g.next(),l={};!h.done;l={$jscomp$loop$prop$issue$2308:l.$jscomp$loop$prop$issue$2308},h=g.next())l.$jscomp$loop$prop$issue$2308=h.value,lG(a,l.$jscomp$loop$prop$issue$2308.parentId,
function(ia){return function(ja){ja.relatedChildren=vza(ja.relatedChildren,ia.$jscomp$loop$prop$issue$2308.issueId);--ja.totalChildCount}}(l));var q=void 0,v;if(null==(v=b.position)?0:v.issueId){var x;if("after"===(null==(x=b.position)?void 0:x.position))q=b.position.issueId;else{var A;if("before"===(null==(A=b.position)?void 0:A.position)){var G,M;g=null!=(M=null==(G=a.memory.getData(d))?void 0:G.relatedChildren)?M:[];G=k(g.entries());for(M=G.next();!M.done;M=G.next())if(h=k(M.value),M=h.next().value,
h=h.next().value,h.targetIssueId===b.position.issueId){b=void 0;q=null==(b=g[M-1])?void 0:b.targetIssueId;break}}}}var Q=c.map(function(ia,ja){return{targetIssueId:ia.issueId,afterIssueId:ja?c[ja-1].issueId:q}});void 0!==aac(a,d)?lG(a,d,function(ia){ia.relatedChildren=uza(ia.relatedChildren,Q);ia.totalChildCount+=Q.length},{evenWhenInFlight:!0}):a.announce({issueId:d,relatedChildren:uza([],Q),totalChildCount:Q.length});b=new ewa;var Y,W;a.moveChildrenInAPI({newParentId:d,newRelations:Q,issues:c,eventTimestamps:[e],
newParentChildrenSnapshot:null!=(W=null==(Y=a.memory.getData(d))?void 0:Y.relatedChildren)?W:[],done:b});return b.promise},eec=function(a,b){var c;a=null==(c=a.memory.getData(b))?void 0:c.relatedChildren;var d,e;return null!=(e=null==a?void 0:null==(d=a[(null==a?NaN:a.length)-1])?void 0:d.targetIssueId)?e:"0"};QI.\u0275fac=function(a){return new (a||QI)(t(WF),t(JI),t(HI))};QI.\u0275prov=yc({token:QI,factory:QI.\u0275fac,providedIn:"root"});var RI=function(a){mG.call(this);this.userAccess=a;this.recordType="permissions"};T(RI,mG);RI.prototype.fetchOne=function(a){return this.fetchSet([a]).pipe(C(function(b){return k(b).next().value}))};RI.prototype.fetchSet=function(a){var b=this;return(0,D.combineLatest)(a.map(function(c){return(0,D.defer)(function(){return Lac(b.userAccess,c).then(function(d){return Object.assign({},d,{id:c})})})}))};RI.\u0275fac=function(a){return new (a||RI)(t(LG))};
RI.\u0275prov=yc({token:RI,factory:RI.\u0275fac,providedIn:"root"});var iec={results:[]},SI=function(a){mG.call(this);this.savedSearchResources=a;this.recordType="savedSearch";this.idKey="searchId"};T(SI,mG);SI.prototype.fetchAll=function(a){if("me"===a.parent)return this.savedSearchResources.getUserSavedSearches().pipe(C(function(b){return{results:b}}));Kh("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,D.of)(iec)};SI.\u0275fac=function(a){return new (a||SI)(t(mI))};SI.\u0275prov=yc({token:SI,factory:SI.\u0275fac,providedIn:"root"});var jec=function(a){this.internalArray_=m(a)};T(jec,p);var kec=function(a){var b=new jec;return Ab(b,1,a,db)};jec.repeatedFields_=[1];jec.prototype.toObject=function(){if(null!=this){r(this);var a={taskSourcesList:n(cl(this,1)),maxTaskAgeDays:Rh(this,2)}}else a=void 0;return a};var lec=function(a){this.internalArray_=m(a)};T(lec,p);var mec=[1,2,3,5];lec.prototype.toObject=function(){return nec(this)};var nec=function(a){if(null!=a)return r(a),{issueSignal:n(qt(a,1,mec)),clSignal:n(qt(a,2,mec)),driveSignal:n(qt(a,3,mec)),launchSignal:n(qt(a,5,mec)),suggestedAction:U(a,4)}};var oec=function(a){this.internalArray_=m(a)};T(oec,p);f=oec.prototype;f.getValueCase=function(){return Mi(this,pec)};f.getResourceId=function(){return U(this,1)};f.setResourceId=function(a){wj(this,1,a)};f.getTimestamp=function(){return X(this,Nh,3)};f.setTimestamp=function(a){return hj(this,Nh,3,a)};f.hasTimestamp=function(){return Nj(this,Nh,3)};f.getUrl=function(){return ck(this,M8b,4,pec)};f.setUrl=function(a){return Ao(this,4,pec,a)};f.hasUrl=function(){return ak(this,M8b,4,pec)};
f.getDuration=function(){return ck(this,Ph,5,pec)};var pec=[4,5];oec.prototype.toObject=function(){return qec(this)};var qec=function(a){if(null!=a)return r(a),{resourceId:U(a,1),spec:nec(X(a,lec,2)),timestamp:Lt(a.getTimestamp()),url:N8b(a.getUrl()),duration:zu(a.getDuration())}};var rec=function(a){this.internalArray_=m(a)};T(rec,p);var sec=Zb(rec);rec.repeatedFields_=[1,2];rec.prototype.toObject=function(){if(null!=this){r(this);var a={tasksList:Ub(kj(this,dn,1),i4b),prioritySignalsList:Ub(kj(this,oec,2),qec)}}else a=void 0;return a};var tec=new GD("/google.internal.devopsconsole.v1.TaskPrioritizationService/StreamGetPriorityTasks",jec,rec,function(a){return a.serialize()},sec);var uec=function(a){this.client_=new YD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")},vec=function(a,b,c){return a.client_.serverStreaming(a.hostname_+"/$rpc/google.internal.devopsconsole.v1.TaskPrioritizationService/StreamGetPriorityTasks",b,c||{},tec)};var TI=function(a,b){this.activeSession=a;this.clientFactory=b;this.environmentType=this.activeSession.getEnvironmentType();this.client=this.clientFactory.create(this.getServiceEndpoint())};TI.prototype.fetchTasks=function(){var a=vec(this.client,kec([3,1,4]),this.getHeaders());return qwa(a).pipe(C(yza))};
TI.prototype.getServiceEndpoint=function(){switch(this.environmentType){case "NIGHTLY":return"https://stagingcorp-devopsconsole-pa-googleapis.corp.google.com";case "PROD":return"https://devopsconsole-pa-googleapis.corp.google.com";default:return"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com"}};
TI.prototype.getHeaders=function(){switch(this.environmentType){case "NIGHTLY":var a="AIzaSyCYqhU0fWA9T487wYfx1ogB9z2mNJ9AQco";break;case "PROD":a="AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk";break;default:a="AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM"}return{"X-Goog-Api-Key":a,Authorization:Oo([])||"","X-Goog-AuthUser":"0"}};TI.\u0275fac=function(a){return new (a||TI)(t(Bs),t(UI))};TI.\u0275prov=yc({token:TI,factory:TI.\u0275fac,providedIn:"root"});var UI=function(){};UI.prototype.create=function(a){return new uec(a)};
UI.\u0275fac=function(a){return new (a||UI)};UI.\u0275prov=yc({token:UI,factory:UI.\u0275fac,providedIn:"root"});var VI=function(a){mG.call(this);this.api=a;this.recordType="Task";this.idKey="taskId"};T(VI,mG);VI.prototype.fetchAll=function(){return this.api.fetchTasks().pipe(C(function(a){a=void 0===a?[]:a;return{results:a}}))};VI.\u0275fac=function(a){return new (a||VI)(t(TI))};VI.\u0275prov=yc({token:VI,factory:VI.\u0275fac,providedIn:"root"});var wec=function(a,b){this.rawGet=a;this.cacheSize=b;this.lruCache=new YH(this.cacheSize,!0,function(c,d){d.subscription.unsubscribe()})};wec.prototype.get=function(a){var b=this;return new D.Observable(function(c){var d=b.lruCache.get(a);d||(d=xec(b,a));return d.obs$.subscribe(c)})};
var xec=function(a,b){var c=a.rawGet(b).pipe(Xe({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 yec(c,d);a.lruCache.set(b,c);return c},yec=function(a,b){this.obs$=a;this.subscription=b};var WI=function(a){this.internalArray_=m(a,0,WI.messageId)};T(WI,p);WI.prototype.setTeamIdsList=function(a){return uj(this,1,a)};WI.repeatedFields_=[1];WI.prototype.toObject=function(){if(null!=this){r(this);var a={teamIdsList:n(Sh(this,1))}}else a=void 0;return a};WI.messageId="b.BatchChildTeamsRequest";var zec=function(a){this.internalArray_=m(a)};T(zec,p);zec.repeatedFields_=[1];zec.prototype.toObject=function(){return Aec(this)};var Aec=function(a){if(null!=a)return r(a),{teamSummariesList:Ub(kj(a,H8b,1),I8b)}};var Bec=function(a){this.internalArray_=m(a,0,Bec.messageId)};T(Bec,p);Bec.prototype.toObject=function(){if(null!=this){r(this);var a={childTeamsMap:Wb(fk(this,1,zec),Aec)}}else a=void 0;return a};Bec.messageId="b.BatchChildTeamsResponse";var XI=function(a){this.internalArray_=m(a,0,XI.messageId)};T(XI,p);XI.prototype.toObject=function(){if(null!=this){r(this);var a={teamsMap:Wb(fk(this,1,jF),E8b)}}else a=void 0;return a};XI.messageId="b.BatchGetTeamsResponse";var YI=function(a){this.internalArray_=m(a,0,YI.messageId)};T(YI,p);YI.prototype.getTeamSuggestionsList=function(){return kj(this,F8b,1)};YI.prototype.setTeamSuggestionsList=function(a){nj(this,1,a)};YI.repeatedFields_=[1];YI.prototype.toObject=function(){if(null!=this){r(this);var a={teamSuggestionsList:Ub(this.getTeamSuggestionsList(),G8b)}}else a=void 0;return a};YI.messageId="b.TeamSuggestionResult";var ZI=function(a){this.internalArray_=m(a,0,ZI.messageId)};T(ZI,p);ZI.prototype.getTeamId=function(){return Ii(this,1)};ZI.prototype.setTeamId=function(a){return V(this,1,a)};ZI.prototype.toObject=function(){if(null!=this){r(this);var a={teamId:n(Yb(this,1)),sloMetadata:D8b(X(this,Wj,2))}}else a=void 0;return a};ZI.messageId="b.UpdateTeamSloRequest";var $I=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 wec(function(e){return d.batchAdaptedGet(e)},100)};$I.prototype.get=function(a){return this.executor.get({url:"action/teams/"+a,responseConstructor:jF}).pipe(C(Osa))};$I.prototype.getTeam=function(a){return this.memoizingTeamStateMap.get(a)};
var aJ=function(a,b){return a.getTeam(b).pipe(C(function(c){return null!=c?c:Cza(b)}),Ke(function(){return(0,D.of)(Cza(b))}))},Cec=function(a,b){b=b.filter(function(c){return"0"!==c}).map(function(c){return a.getTeam(c)});return(0,D.forkJoin)(b).pipe(C(function(c){var d=new Map;c=k(c);for(var e=c.next();!e.done;e=c.next())(e=e.value)&&d.set(e.teamId,e);return d}))};
$I.prototype.getChildTeams=function(a){a=(new WI).setTeamIdsList(a);return this.executor.post({url:"action/child_teams",body:a,responseConstructor:Bec}).pipe(C(function(b){b=[].concat(cd(fk(b,1,zec).entries()));return new Map(b.map(function(c){var d=k(c);c=d.next().value;d=d.next().value;return[c,kj(d,H8b,1).map(Msa)]}))}))};
var bJ=function(a,b){return a.executor.get({url:"action/suggest_teams",options:{params:{query:b}},responseConstructor:YI}).pipe(C(function(c){return c.getTeamSuggestionsList().map(Ssa)}))},Dec=function(a,b,c){return"0"===b?(0,D.of)(!1):a.memoizingTeamStateMap.get(b).pipe(C(function(d){return void 0!==(null==d?void 0:d.members.find(function(e){return e&&pi(e.user)===c}))}))},Eec=function(a,b){return a.executor.get({url:"action/teams",options:{params:{teamIds:b.join(","),view:"full"}},responseConstructor:XI}).pipe(Ke(function(){return(0,D.of)(new XI)}),
C(function(c){return new Map(Array.from(fk(c,1,jF).entries()).map(function(d){var e=k(d);d=e.next().value;e=e.next().value;return[d,qj(e,9)]}))}))};
$I.prototype.updateTeam=function(a){var b=new jF;b.setTeamId(a.teamId);b.setVersion(a.version);b.setName(a.name);b.setDescription(a.description);b.setPathNamesList(a.pathNames);var c;b.setPathIdsList(null==(c=a.pathIds)?void 0:c.map(ui).filter(Ai));Pi(b,6,a.collapsedPathNames);var d;b.setMembersList(null==(d=a.members)?void 0:d.map(Psa));b.setDeleted(a.deleted);V(b,9,a.estimatedComponentCount);b.setSlo(Qsa(a.slo));null!=a.sloLead&&(c=si(a.sloLead),hj(b,ri,12,c));null!=a.defaultSloLead&&(c=si(a.defaultSloLead),
hj(b,ri,13,c));return this.executor.post({url:"action/teams/"+a.teamId,body:b,responseConstructor:jF}).pipe(C(Osa))};$I.\u0275fac=function(a){return new (a||$I)(t(hE),t(cJ),t(vG))};$I.\u0275prov=yc({token:$I,factory:$I.\u0275fac,providedIn:"root"});var cJ=function(a){this.executor=a};cJ.prototype.call=function(a){return this.executor.get({url:"action/teams",options:{params:{teamIds:[].concat(cd(a)).join(",")}},responseConstructor:XI}).pipe(Ke(function(){return(0,D.of)(new XI)}))};
cJ.prototype.split=function(a,b){return(a=fk(b,1,jF).get(a))?Osa(a):void 0};cJ.\u0275fac=function(a){return new (a||cJ)(t(hE))};cJ.\u0275prov=yc({token:cJ,factory:cJ.\u0275fac,providedIn:"root"});var dJ=function(a){kG.call(this);this.teamsApi=a;this.defaultQuery={};this.recordType="TeamDigest";this.idForRecord=function(b){var c;return null!=(c=b.teamId)?c:"NO_ID"}};T(dJ,kG);dJ.prototype.fetchAll=function(a){if(a.myTeams)return bJ(this.teamsApi,"").pipe(C(function(b){b=void 0===b?[]:b;return{results:b}}));throw Error("Ic");};dJ.\u0275fac=function(a){return new (a||dJ)(t($I))};dJ.\u0275prov=yc({token:dJ,factory:dJ.\u0275fac,providedIn:"root"});var eJ=function(a){mG.call(this);this.teamsApi=a;this.recordType="team";this.idForRecord=function(b){return b.teamId}};T(eJ,mG);eJ.prototype.fetchOne=function(a){return"0"===a?(0,D.of)(void 0):this.teamsApi.getTeam(a).pipe(Ke(function(){return(0,D.of)(void 0)}))};eJ.prototype.fetchSet=function(a){var b=this;return(0,D.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(C(function(c){return c.filter(Ai)}))};eJ.\u0275fac=function(a){return new (a||eJ)(t($I))};
eJ.\u0275prov=yc({token:eJ,factory:eJ.\u0275fac,providedIn:"root"});var fJ=function(a){this.internalArray_=m(a,0,fJ.messageId)};T(fJ,p);fJ.prototype.getTrackersList=function(){return kj(this,ul,1)};fJ.repeatedFields_=[1];fJ.prototype.toObject=function(){if(null!=this){r(this);var a={trackersList:Ub(this.getTrackersList(),S8b)}}else a=void 0;return a};fJ.messageId="b.BatchGetTrackersResponse";var gJ=function(a){this.internalArray_=m(a,0,gJ.messageId)};T(gJ,p);gJ.prototype.getTrackersList=function(){return kj(this,ul,1)};gJ.prototype.getNextPageToken=function(){return U(this,2)};gJ.prototype.getTotalSize=function(){return Rh(this,3)};gJ.repeatedFields_=[1];gJ.prototype.toObject=function(){if(null!=this){r(this);var a={trackersList:Ub(this.getTrackersList(),S8b),nextPageToken:n(Z(this,2)),totalSize:n(ft(this,3))}}else a=void 0;return a};gJ.messageId="b.ListTrackersResponse";var hJ=function(a){this.jspbExecutor=a};hJ.prototype.get=function(a){return this.jspbExecutor.get({url:"action/trackers/"+a,responseConstructor:ul}).pipe(C(Lta))};hJ.prototype.batchGet=function(a){return this.jspbExecutor.get({url:"action/trackers/batch",responseConstructor:fJ,options:{params:{trackerIds:a}}}).pipe(C(Mta))};
hJ.prototype.query=function(a,b,c){return this.jspbExecutor.get({url:"action/trackers",responseConstructor:gJ,options:{params:{query:a,pageSize:String(b),pageToken:void 0===c?"":c}}}).pipe(C(Nta))};hJ.\u0275fac=function(a){return new (a||hJ)(t(hE))};hJ.\u0275prov=yc({token:hJ,factory:hJ.\u0275fac,providedIn:"root"});var iJ=function(a,b){mG.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)};T(iJ,mG);iJ.prototype.fetchOne=function(a){return this.trackerApi.get(a)};iJ.prototype.fetchSet=function(a){return this.trackerApi.batchGet(a)};
iJ.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(C(function(d){var e;return{results:null!=(e=null==d?void 0:d.trackers)?e:[]}}))};iJ.\u0275fac=function(a){return new (a||iJ)(t(hJ),t(Bs))};iJ.\u0275prov=yc({token:iJ,factory:iJ.\u0275fac,providedIn:"root"});var jJ=function(a){this.issueFridge=a},Fec=function(a,b,c){c=void 0===c?!1:c;if(null==b)return(0,D.of)([]);var d="(assignee:"+b+" OR reporter:"+b+") t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process) modified:90d status:open";c&&(d="(assignee:"+b+" OR reporter:"+b+") t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process)\n      modified:90d status:(open | fixed | verified)");return a.issueFridge.watchMany({filter:d,
pageSize:50,sort:"modified_time:desc"}).pipe(C(function(e){return e.results}))},Gec=function(a){var b=Vl();return a.issueFridge.watchMany({filter:Tl()!==Ul?"(assignee:"+b+" OR reporter:"+b+" OR commenter:"+b+") status:open modified:30d":"(assignee:"+b+" OR reporter:"+b+" OR commenter:"+b+" OR star:true) status:open modified:30d",pageSize:50,sort:"modified_time:desc"}).pipe(C(function(c){return c.results}))},Hec=function(a){return a.issueFridge.watchMany({filter:"assignee:"+Vl()+" status:open modified:30d",
pageSize:50,sort:"modified_time:desc"}).pipe(C(function(b){return b.results}))};jJ.\u0275fac=function(a){return new (a||jJ)(t(JI))};jJ.\u0275prov=yc({token:jJ,factory:jJ.\u0275fac,providedIn:"root"});var kJ=function(a){var b=this;this.queryIssuesService=a;this.issuesFromQuery$=(0,D.defer)(function(){return Fec(b.queryIssuesService,Vl(),!0)});this.suggestedHotlists$=this.issuesFromQuery$.pipe(C(this.fetchHotlistsFromIssues.bind(this)))};
kJ.prototype.fetchHotlistsFromIssues=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0,e=void 0,g=null!=(e=null==(d=c.snapshot[0])?void 0:d.hotlistId)?e:[];d=k(g);for(e=d.next();!e.done;e=d.next())if(e=e.value,b.has(e)){g=void 0;var h=null!=(g=b.get(e))?g:{count:0,confidence:0};h.count++;h.confidence+=this.calculateConfidence(c);b.set(e,h)}else g=this.calculateConfidence(c),b.set(e,{count:1,confidence:g})}return Iec(b)};
var Iec=function(a){return new Map([].concat(cd(a.entries())).sort(function(b,c){return c[1].confidence-b[1].confidence}))};kJ.prototype.calculateConfidence=function(a){var b=0,c=Vl(),d,e,g,h=(null==(d=a.snapshot[0])?void 0:null==(e=d.assigneeUser)?void 0:null==(g=e.emailAddress)?void 0:g.split("@")[0])===c,l,q,v;d=(null==(l=a.snapshot[0])?void 0:null==(q=l.reporterUser)?void 0:null==(v=q.emailAddress)?void 0:v.split("@")[0])===c;h&&(b+=5);d&&(b+=3);return b=Il(a)?b+2:b+1};
kJ.\u0275fac=function(a){return new (a||kJ)(t(jJ))};kJ.\u0275prov=yc({token:kJ,factory:kJ.\u0275fac,providedIn:"root"});var Jec=function(a){this.internalArray_=m(a)};T(Jec,p);f=Jec.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getComment=function(){return U(this,2)};f.setComment=function(a){sk(this,2,a)};f.getFormattingMode=function(){return Zi(this,3,0)};f.setFormattingMode=function(a){return V(this,3,a)};f.getContentJudgement=function(){return X(this,Ji,4)};f.setContentJudgement=function(a){return hj(this,Ji,4,a)};
f.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),comment:n(Z(this,2)),formattingMode:n(Er(this,3)),contentJudgement:wE(this.getContentJudgement())}}else a=void 0;return a};var Kec=function(a){this.internalArray_=m(a,0,Kec.messageId)};T(Kec,p);f=Kec.prototype;f.getType=function(){return Zi(this,1,0)};f.setType=function(a){return V(this,1,a)};f.hasType=function(){return pj(this,1)};f.setPageSize=function(a){return V(this,2,a)};f.setPageToken=function(a){return sk(this,3,a)};f.toObject=function(){if(null!=this){r(this);var a={type:n(Er(this,1)),pageSize:n(ft(this,2)),pageToken:n(Z(this,3))}}else a=void 0;return a};Kec.messageId="b.ListCommentReactionRespondersRequest";var Ek=function(a){this.internalArray_=m(a,0,Ek.messageId)};T(Ek,p);Ek.prototype.getCreatedTime=function(){return X(this,Nh,2)};Ek.prototype.toObject=function(){return Lec(this)};var Lec=function(a){if(null!=a)return r(a),{responder:sE(X(a,ri,1)),createdTime:Lt(a.getCreatedTime())}};Ek.messageId="b.CommentReactionResponder";var lJ=function(a){this.internalArray_=m(a,0,lJ.messageId)};T(lJ,p);lJ.prototype.getNextPageToken=function(){return U(this,2)};lJ.prototype.getTotalSize=function(){return Rh(this,3)};lJ.repeatedFields_=[1];lJ.prototype.toObject=function(){if(null!=this){r(this);var a={respondersList:Ub(kj(this,Ek,1),Lec),nextPageToken:n(Z(this,2)),totalSize:n(ft(this,3))}}else a=void 0;return a};lJ.messageId="b.ListCommentReactionRespondersResponse";var mJ=function(a){this.internalArray_=m(a,0,mJ.messageId)};T(mJ,p);mJ.prototype.getIssueCommentsList=function(){return kj(this,cF,1)};mJ.repeatedFields_=[1];mJ.prototype.toObject=function(){if(null!=this){r(this);var a={issueCommentsList:Ub(this.getIssueCommentsList(),r8b)}}else a=void 0;return a};mJ.messageId="b.ListIssueCommentHistoryResponse";var Mec=function(a){this.internalArray_=m(a)};T(Mec,p);f=Mec.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getCommentNumber=function(){return Rh(this,2)};f.setCommentNumber=function(a){return V(this,2,a)};f.getComment=function(){return U(this,3)};f.setComment=function(a){sk(this,3,a)};f.getFormattingMode=function(){return Zi(this,4,0)};f.setFormattingMode=function(a){return V(this,4,a)};
f.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),commentNumber:n(ft(this,2)),comment:n(Z(this,3)),formattingMode:n(Er(this,4))}}else a=void 0;return a};var Nec=function(a){this.internalArray_=m(a)};T(Nec,p);f=Nec.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getCommentNumber=function(){return Rh(this,2)};f.setCommentNumber=function(a){return V(this,2,a)};f.getPiiRetention=function(){return Zi(this,3,0)};f.setPiiRetention=function(a){return V(this,3,a)};
f.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),commentNumber:n(ft(this,2)),piiRetention:n(Er(this,3))}}else a=void 0;return a};var nJ=function(){};nJ.\u0275fac=function(a){return new (a||nJ)};nJ.\u0275prov=yc({token:nJ,factory:nJ.\u0275fac,providedIn:"root"});var oJ=function(a){this.executor=a};f=oJ.prototype;f.get=function(a,b,c){var d={};c&&(d["X-Restricted-Content-Limit"]=String(Rqa(c)));return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:d},responseConstructor:cF}).pipe(C(wk))};
f.create=function(a,b,c,d,e){var g={};e&&(g["G-Recaptcha-Response-Token"]=e);e=new Jec;e.setIssueId(a);e.setComment(b);e.setFormattingMode(Bta(c));d&&e.setContentJudgement(Uqa(d));return this.executor.post({url:"action/issues/"+a+"/comment",body:e,responseConstructor:null,options:{headers:g}})};
f.update=function(a,b,c,d,e){var g={};e&&(g["G-Recaptcha-Response-Token"]=e);e=new Mec;e.setIssueId(a);e.setCommentNumber(b);e.setComment(c);e.setFormattingMode(Bta(d));return this.executor.post({url:"action/issues/"+a+"/updateComment",body:e,options:{headers:g},responseConstructor:null})};f.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})};
f.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:cF}).pipe(C(wk))};f.listHistory=function(a,b){return this.executor.get({url:"action/issues/"+a+"/comment/"+b+"/history",responseConstructor:mJ}).pipe(C(Eta))};
f.updateCommentReaction=function(a){var b=a.issueId,c=a.commentId,d=a.reactionType;a=a.hasReacted;var e;d=(new ZE).addReactionStates((new YE).setType(null!=(e=J6b[d])?e:0).setHasReacted(a));return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/updateReaction",body:d,responseConstructor:ZE}).pipe(C(Dta))};
f.listCommentReactionResponders=function(a){var b=a.issueId,c=a.commentId,d=a.reactionType,e=a.pageToken;a=void 0===a.pageSize?500:a.pageSize;var g;d=(new Kec).setType(null!=(g=J6b[d])?g:0).setPageSize(a);e&&d.setPageToken(e);return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/listReactionResponders",body:d,responseConstructor:lJ}).pipe(C(Hta))};
f.updateRetention=function(a,b,c){c=(new Nec).setIssueId(a).setCommentNumber(b).setPiiRetention(gsa[c]);return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/update_retention",body:c,responseConstructor:cF}).pipe(C(wk))};oJ.\u0275fac=function(a){return new (a||oJ)(t(hE))};oJ.\u0275prov=yc({token:oJ,factory:oJ.\u0275fac,providedIn:"root"});var pJ=function(a){this.observableApi=a};T(pJ,nJ);f=pJ.prototype;f.get=function(a,b,c){return(0,D.firstValueFrom)(this.observableApi.get(a,b,c))};
f.create=function(a,b,c,d,e){return(0,D.firstValueFrom)(this.observableApi.create(a,b,c,d,e))};f.update=function(a,b,c,d,e){return(0,D.firstValueFrom)(this.observableApi.update(a,b,c,d,e))};f.delete=function(a,b,c,d){return(0,D.firstValueFrom)(this.observableApi.delete(a,b,c,d))};f.undelete=function(a,b,c){return(0,D.firstValueFrom)(this.observableApi.undelete(a,b,c))};f.listHistory=function(a,b){return(0,D.firstValueFrom)(this.observableApi.listHistory(a,b))};f.updateCommentReaction=function(a){return(0,D.firstValueFrom)(this.observableApi.updateCommentReaction(a))};
f.listCommentReactionResponders=function(a){return(0,D.firstValueFrom)(this.observableApi.listCommentReactionResponders(a))};f.updateRetention=function(a,b,c){return(0,D.firstValueFrom)(this.observableApi.updateRetention(a,b,c))};pJ.\u0275fac=function(a){return new (a||pJ)(t(oJ))};pJ.\u0275prov=yc({token:pJ,factory:pJ.\u0275fac,providedIn:"root"});var qJ=function(a,b){this.teamDigestFridge=a;this.activeSession=b;this.destroyed$=new D.Subject;this.email=this.activeSession.getUserEmail();this.user=ti(this.activeSession.getUserEmail());this.isInternal=this.activeSession.isInternalSession();this.teams$=this.teamDigestFridge.watchMany({myTeams:!0}).pipe(C(function(c){return c.results}));this.teams$.pipe(C(function(c){return c.map(function(d){return d.teamId})}));this.allTeamIds$=this.teams$.pipe(C(function(c){return c.flatMap(function(d){return d.pathIds})}),
C(function(c){return[].concat(cd(new Set(c))).filter(Ai)}));this.allTeamIdsSubject$=nn(this.allTeamIds$.pipe(af(this.destroyed$)),[])};qJ.prototype.ngOnDestroy=function(){this.destroyed$.next()};sh.Object.defineProperties(qJ.prototype,{allTeamIds:{configurable:!0,enumerable:!0,get:function(){return this.allTeamIdsSubject$.value}}});qJ.\u0275fac=function(a){return new (a||qJ)(t(dJ),t(Bs))};qJ.\u0275prov=yc({token:qJ,factory:qJ.\u0275fac,providedIn:"root"});var Oec="QA"===vl().config.environmentType?412808:1294964,Cua=[9019942154,9327443891,1953099861400,1292819114016,1525660445733],rJ=function(a,b,c,d,e){var g=this;this.issueApi=a;this.issueCommentsApi=b;this.currentUser=c;this.issueRelationshipsFridge=d;this.issueRelationshipService=e;this.prefs$=new D.BehaviorSubject(void 0);this.issue$=new D.BehaviorSubject(void 0);this.projectIds$=this.prefs$.pipe(C(function(h){return null==h?void 0:h.id}),$e(this.issueRelationshipsFridge.watch),C(function(h){var l;
return null!=(l=null==h?void 0:h.relatedChildren.map(function(q){return q.targetIssueId}))?l:[]}));this.onSaveError=function(h){400===h.status?(console.log("Couldn't save hackypref, resetting the backing pref",h),Pec(g)):console.error("UNHANDLED: Couldn't save hackypref",h)}};rJ.prototype.init=function(a,b){a=void 0===a?Ul:a;var c=this;return pe(function(d){c.ldap=a;c.pendingCfgBundleName=b;return d.yield(Qec(c),0)})};var Qec=function(a){return pe(function(b){return b.yield(Rec(a),0)})};
rJ.prototype.save=function(a){var b=this,c=a.id;null==c?console.error("Can't save, missing config issue id"):(a.hasUserEdits=!0,this.prefs$.next(a),a=JSON.stringify(a,null,2),this.issueCommentsApi.update(c,1,a,"PLAIN").then(function(){Sec(b,c)}).catch(this.onSaveError))};
var tp=function(a,b){a.save(Object.assign({},a.prefs,b))},Pec=function(a){var b,c,d,e,g;pe(function(h){if(1==h.nextAddress){b=a.prefs.id;if(null==b)return h.return();d=null!=(c=on(a.projectIds$))?c:[];return h.yield(Tec(a),2)}e=h.yieldResult;a.prefs.id=e;a.save(a.prefs);g=d.map(Number).map(function(l){return KF(new JF,l)});w$b(a.issueRelationshipService,e,g).subscribe();return h.yield(Uec(a,b),0)})},Uec=function(a,b){b=void 0===b?a.prefs.id:b;return null==b?Promise.reject():a.issueApi.updateIssue(b,
{issueId:b,actions:[{fieldName:"status",value:"OBSOLETE"}]})};rJ.prototype.toggleCollapsed=function(a){this.prefs.collapsed[a]=!this.prefs.collapsed[a];this.save(this.prefs)};
var Sec=function(a,b){var c;return pe(function(d){if(1==d.nextAddress)return d.yield(a.issueApi.getIssue(b),2);c=d.yieldResult;Vec(a,c);ue(d)})},Vec=function(a,b){var c,d,e,g,h,l,q,v;pe(function(x){if(1==x.nextAddress){c=b.issue.issueId;e=null==(d=b.firstEvent)?void 0:d.unlinkifiedComment;a.configVersionNumber=(null==(g=b.firstEvent)?void 0:g.commentVersion)||0;h={};try{h=JSON.parse(null!=(l=e)?l:"")}catch(M){console.warn("unable to parse as json: `"+e+"`"),console.error(M)}return x.yield(Wec(a),
2)}q=x.yieldResult;v=Object.assign({},q,h,{id:c});a.prefs$.next(v);var A=a.pendingCfgBundleName;if(null!=A){var G=qac[A];a.pendingCfgBundleName=void 0;null==G?console.error('No config bundle found named "'+A+'"'):tp(a,G)}ue(x)})},Rec=function(a){var b;return pe(function(c){switch(c.nextAddress){case 1:return c.yield(Xec(a),2);case 2:b=c.yieldResult;if(null!=b){c.jumpTo(3);break}return c.yield(Tec(a),4);case 4:b=c.yieldResult;case 3:return c.yield(Sec(a,b),0)}})},Xec=function(a){var b,c,d,e;return pe(function(g){if(1==
g.nextAddress)return c=null!=(b=a.ldap)?b:Ul,null==c?g.return():g.yield(Yec(a,c),2);d=g.yieldResult;return g.return(null==(e=d)?void 0:e.issueId)})},Yec=function(a,b){var c,d,e,g;return pe(function(h){if(1==h.nextAddress)return c='title:"__experimental config__ for '+b+'" status:open archived:all',h.yield(a.issueApi.listIssues(c,{count:1,s:"created_time:desc"}),2);d=h.yieldResult;return h.return(null==(e=d)?void 0:null==(g=e.issues)?void 0:g[0])})},Tec=function(a){var b,c,d,e,g,h;return pe(function(l){if(1==
l.nextAddress){c=null!=(b=a.ldap)?b:Ul;if(null==c)return console.error("createConfigIssue() needs an ldap to make an issue"),l.return("");d={snapshot:{title:"__experimental config__ for "+c,componentId:Oec,comment:'{ "README": "This issue is a temporary config container. For more info, see go/task-mission-control" }'}};return l.yield(a.issueApi.createIssue(d),2)}return 3!=l.nextAddress?(e=l.yieldResult,g=e.issueId,h=[{fieldName:"isArchived",value:"true"}],l.yield(a.issueApi.updateIssue(g,{issueId:g,
actions:h}),3)):l.return(e.issueId)})},Wec=function(a){var b;return pe(function(c){0<a.currentUser.allTeamIds.length?(b=a.currentUser.allTeamIds.map(Number),b=Dua(b)):console.warn("No team ids found on currentUser");return c.return(Object.assign({},pac,{teamIds:b}))})},sp=function(a){var b;return null!=(b=a.prefs.pinned)?b:[]},Kn=function(a,b){var c=a.prefs;if(a.prefs.pinned){if(a.prefs.pinned.includes(b))return;a.prefs.pinned.unshift(b)}else a.prefs.pinned=[b];a.save(c)},bp=function(a,b){if(null!=
b){var c=a.prefs;c.pinned&&c.pinned.includes(b)&&c.pinned.splice(c.pinned.indexOf(b),1);a.save(c)}},ap=function(a,b,c){var d=a.prefs;if(null!=d.pinned&&cp(a,b,c)){b=d.pinned.indexOf(b);var e=d.pinned.splice(b,1)[0];d.pinned.splice(b+c,0,e);a.save(d)}},cp=function(a,b,c){a=a.prefs;if(null==a.pinned)return!1;b=a.pinned.indexOf(b);if(0>b)return!1;c=b+c;return 0<=c&&c<a.pinned.length},Zec=function(a){var b=a.prefs;var c=void 0===c?new Date:c;c=new Date(c.getTime());c.setHours(0,0,0,0);c.setDate(c.getDate()+
3-(c.getDay()+6)%7);var d=new Date(c.getFullYear(),0,4);c=1+Math.round(((c.getTime()-d.getTime())/864E5-3+(d.getDay()+6)%7)/7);var e,g;d=null!=(g=null==(e=b.issuesThisWeek)?void 0:e.weekNumber)?g:0;if(!b.issuesThisWeek||c>d||52===d&&c<d)b.issuesThisWeek={issues:[],weekNumber:c},a.save(b)};sh.Object.defineProperties(rJ.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this.prefs$.value)?a:oac}}});
rJ.\u0275fac=function(a){return new (a||rJ)(t(IF),t(nJ),t(qJ),t(QI),t(WF))};rJ.\u0275prov=yc({token:rJ,factory:rJ.\u0275fac,providedIn:"root"});var sJ=function(a,b,c,d){var e=this;this.issueFridge=a;this.hackyPrefs=b;this.eventsForIssueFridge=c;this.teamFridge=d;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map;var g;this.currTeamIds=null!=(g=this.hackyPrefs.prefs.teamIds)?g:[];this.currTeamIssuesFilter="("+Dza(this.currTeamIds)+") (created<"+Eza()+") -status:(duplicate | infeasible | intended_behavior | not_reproducible | obsolete)";this.recentTeamIssues$=(0,D.timer)(1,11E3).pipe($e(function(){return e.issueFridge.watchMany({filter:e.currTeamIssuesFilter,
sort:"modified_time:desc",pageSize:20})}),C(function(h){return h.results}));this.teamObjects$=this.teamFridge.watchSet(this.currTeamIds);this.noChangeEvents$=this.recentTeamIssues$.pipe(C(function(h){return e.getNoChangeEvents(h)}));this.changedIssues$=this.recentTeamIssues$.pipe(C(function(h){return Pva(h,e.lastModifiedIssueTimestampMap)}));this.eventsForUpdatedIssues$=this.changedIssues$.pipe(C(function(h){return h.map(function(l){return l.issueId})}),$e(this.eventsForIssueFridge.watchSet));this.allRecentTeamEvents$=
(0,D.combineLatest)([this.noChangeEvents$,this.eventsForUpdatedIssues$]).pipe(C(function(h){var l=k(h);h=l.next().value;l=l.next().value;for(var q=k(l),v=q.next();!v.done;v=q.next())v=v.value,e.issuesToEventsMap.set(v.id,v);return[].concat(cd(h),cd(l))}),Ge(Ai));this.interestingEventsForTeamActivity$=(0,D.combineLatest)([this.teamObjects$,this.allRecentTeamEvents$]).pipe(C(function(h){var l=k(h);h=l.next().value;l=l.next().value;return e.filterAllEventsToRecentActivity(h,l)}))};
sJ.prototype.getInterestingEventType=function(a,b){if(b.modifiedDate<(new Date(Date.now()-3456E5)).getTime())return"";if($ec(a,b.userPerformingActionUser)&&(0<b.preDiffs.length||0<b.postDiffs.length)){a=[].concat(cd(b.preDiffs),cd(b.postDiffs));a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;if("priority"===c.name)return"priority";if("status"===c.name)return"status"}}return Ml(b)?"changelist":Fl(b)&&b.isHumanAuthor?"comment":""};
var $ec=function(a,b){if(!b||!b.emailAddress||0===a.length)return!1;a=k(a);for(var c=a.next();!c.done;c=a.next())if(c.value.members.find(function(d){return d&&pi(d.user)===pi(b)}))return!0;return!1};
sJ.prototype.filterAllEventsToRecentActivity=function(a,b){var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;if(e){d=e.id;e=k(e.events);for(var g=e.next();!g.done;g=e.next()){g=g.value;var h=this.getInterestingEventType(a,g);""!==h&&c.push({issueId:d,event:g,eventType:h})}c.sort(function(l,q){return q.event.modifiedDate-l.event.modifiedDate})}}return c};
sJ.prototype.getNoChangeEvents=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0;this.lastModifiedIssueTimestampMap.has(c.issueId)&&this.lastModifiedIssueTimestampMap.get(c.issueId)===(null==(d=c.aggregatedData)?void 0:d.modifiedTimeMicros)&&b.push(this.issuesToEventsMap.get(c.issueId))}return b};sJ.\u0275fac=function(a){return new (a||sJ)(t(JI),t(rJ),t(nG),t(eJ))};sJ.\u0275prov=yc({token:sJ,factory:sJ.\u0275fac,providedIn:"root"});var tJ=function(a,b){var c=this;this.queryIssuesService=a;this.eventsForIssueFridge=b;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map;this.ldap=Vl();this.issuesFromQuery$=(0,D.defer)(function(){return Fec(c.queryIssuesService,c.ldap)});this.changedIssues$=this.issuesFromQuery$.pipe(C(function(d){return Pva(d,c.lastModifiedIssueTimestampMap)}));this.eventsForUpdatedIssues$=this.changedIssues$.pipe(C(function(d){return d.map(function(e){return e.issueId})}),$e(function(d){return(0,D.combineLatest)(d.map(function(e){return c.eventsForIssueFridge.watch(e,
{trustUncertainMemory:!0})}))}),Ge(Ai));this.suggestedIssues$=(0,D.combineLatest)([this.issuesFromQuery$,this.eventsForUpdatedIssues$]).pipe($e(function(d){d=k(d);var e=d.next().value;d=d.next().value;d=k(d);for(var g=d.next();!g.done;g=d.next())g=g.value,null!=g&&c.issuesToEventsMap.set(g.id,g);d=D.of;var h=e;if(h&&0!==h.length&&null!=c.ldap){50<h.length&&(console.warn("truncating search to the first SUGGESTED_ISSUE_LIMIT issues"),h=h.slice(0,50));e=c.ldap;if(h&&0!==h.length){g=[];h=k(h);for(var l=
h.next();!l.done;l=h.next()){var q=l.value,v=q.snapshot[0].reporterUser,x=q.snapshot[0].assigneeUser;l=g;var A=l.push,G=q.issueId;v=null===v?0:c.getLdapFromUser(v)===e?1:0;x=null===x?0:c.getLdapFromUser(x)===e?1:0;var M=q.majorModifiedTimeMicros,Q=c.getPriority(q);var Y=void 0;var W=e;var ia=0,ja=new Set,Aa=null==(Y=c.issuesToEventsMap.get(q.issueId))?void 0:Y.events;if(void 0!==Aa)for(Y=k(Aa),Aa=Y.next();!Aa.done;Aa=Y.next()){var Da=Aa.value;if(Fl(Da)&&Da.isHumanAuthor){var Oa=Da.commentNumber;null===
Oa||ja.has(Oa)||(Aa=Da.lastCommentEditorUser,null!=Aa&&(ja.add(Oa),Da=Da.unlinkifiedComment,Aa=c.getLdapFromUser(Aa),null!=Da&&0<Da.length&&Aa===W&&(ia+=1)))}}W=ia;Aa=void 0;ia=e;ja=0;Y=new Set;q=null==(Aa=c.issuesToEventsMap.get(q.issueId))?void 0:Aa.events;if(void 0!==q)for(q=k(q),Aa=q.next();!Aa.done;Aa=q.next())Aa=Aa.value,Ml(Aa)&&(Da=Aa.commentNumber,null==Da||Y.has(Da)||(Y.add(Da),Ol(Aa)===ia&&(ja+=1)));q=ja;A.call(l,{issueId:G,reporterStatus:v,assigneeStatus:x,lastModifiedTime:M,priority:Q,
commentCountByUser:W,clCountByUser:q})}}else g=[];e=[];g=k(g);for(A=g.next();!A.done;A=g.next())h=e,l=h.push,A=A.value,G=5-A.priority,v=A.lastModifiedTime,v=Math.abs(1E3*Date.now()-v)/864E8,l.call(h,{issueId:A.issueId,interest:G+(1>=v?4:7>=v?3:14>=v?2:30>=v?1:0)+2*A.commentCountByUser+2*A.clCountByUser+2*A.assigneeStatus+A.reporterStatus,priority:A.priority});g=[];afc(e);for(h=0;10>h;++h)g.push(e[h].issueId);e=g}else e=[];return d.call(D,e)}),Xe({refCount:!0,bufferSize:1}))};
tJ.prototype.getLdapFromUser=function(a){return null!=a&&null!=a.emailAddress?a.emailAddress.split("@")[0]:null};tJ.prototype.getPriority=function(a){switch(a.snapshot[0].priority){case "P0":return 0;case "P1":return 1;case "P2":return 2;case "P3":return 3;case "P4":return 4;default:return console.warn("cannot find issue priority"),null}};var afc=function(a){a.sort(function(b,c){return b.interest===c.interest?b.priority-c.priority:c.interest-b.interest})};
tJ.\u0275fac=function(a){return new (a||tJ)(t(jJ),t(nG))};tJ.\u0275prov=yc({token:tJ,factory:tJ.\u0275fac,providedIn:"root"});var uJ=function(a,b,c){this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistApi=c;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map},cfc=function(a,b){var c=(0,D.timer)(1,11E3).pipe($e(function(){return a.issueFridge.watchMany({filter:"parentid:"+b+"+ OR id:"+b,sort:"modified_time:desc",pageSize:20})}),C(function(e){return e.results})),d=c.pipe(C(function(e){return a.getNoChangeEvents(e)}));c=c.pipe(C(function(e){return bfc(a,e)})).pipe(C(function(e){return e.map(function(g){return g.issueId})}),
$e(a.eventsForIssueFridge.watchSet));return(0,D.combineLatest)([d,c]).pipe(C(function(e){var g=k(e);e=g.next().value;g=g.next().value;for(var h=k(g),l=h.next();!l.done;l=h.next())l=l.value,a.issuesToEventsMap.set(l.id,l);return[].concat(cd(e),cd(g))}),Ge(Ai),C(function(e){return a.filterAllEventsToRecentActivity(e)}))},dfc=function(a,b){var c=(0,D.timer)(1,11E3).pipe($e(function(){return a.hotlistApi.getPagedHotlistContent(b,1,20,[])}),C(function(e){return e.issues})),d=c.pipe(C(function(e){return a.getNoChangeEvents(e)}));
c=c.pipe(C(function(e){return bfc(a,e)})).pipe(C(function(e){return e.map(function(g){return g.issueId})}),$e(a.eventsForIssueFridge.watchSet));return(0,D.combineLatest)([d,c]).pipe(C(function(e){var g=k(e);e=g.next().value;g=g.next().value;for(var h=k(g),l=h.next();!l.done;l=h.next())l=l.value,a.issuesToEventsMap.set(l.id,l);return[].concat(cd(e),cd(g))}),Ge(Ai),C(function(e){return a.filterAllEventsToRecentActivity(e)}))},efc=function(a,b){var c=(0,D.timer)(1,11E3).pipe($e(function(){return a.issueFridge.watchMany({filter:"savedsearchid:"+
b,sort:"modified_time:desc",pageSize:20})}),C(function(e){return e.results})),d=c.pipe(C(function(e){return a.getNoChangeEvents(e)}));c=c.pipe(C(function(e){return bfc(a,e)})).pipe(C(function(e){return e.map(function(g){return g.issueId})}),$e(a.eventsForIssueFridge.watchSet));return(0,D.combineLatest)([d,c]).pipe(C(function(e){var g=k(e);e=g.next().value;g=g.next().value;for(var h=k(g),l=h.next();!l.done;l=h.next())l=l.value,a.issuesToEventsMap.set(l.id,l);return[].concat(cd(e),cd(g))}),Ge(Ai),C(function(e){return a.filterAllEventsToRecentActivity(e)}))};
uJ.prototype.getNoChangeEvents=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0;this.lastModifiedIssueTimestampMap.has(c.issueId)&&this.lastModifiedIssueTimestampMap.get(c.issueId)===(null==(d=c.aggregatedData)?void 0:d.modifiedTimeMicros)&&b.push(this.issuesToEventsMap.get(c.issueId))}return b};
var bfc=function(a,b){var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=void 0;if(!a.lastModifiedIssueTimestampMap.has(d.issueId)||a.lastModifiedIssueTimestampMap.get(d.issueId)!==(null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)){c.push(d);var g=e=void 0;a.lastModifiedIssueTimestampMap.set(d.issueId,null!=(g=null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)?g:0)}}return c};
uJ.prototype.filterAllEventsToRecentActivity=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d){c=d.id;d=k(d.events);for(var e=d.next();!e.done;e=d.next()){e=e.value;var g=this.getInterestingEventType(e);""!==g&&b.push({issueId:c,event:e,eventType:g})}b.sort(function(h,l){return l.event.modifiedDate-h.event.modifiedDate})}}return b};
uJ.prototype.getInterestingEventType=function(a){if(a.modifiedDate<Date.now()-12096E5)return"";if(0<a.preDiffs.length||0<a.postDiffs.length){var b=[].concat(cd(a.preDiffs),cd(a.postDiffs));b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;if(!c.oldValue&&("priority"===c.name||"status"===c.name))return"newIssue";if("priority"===c.name)return"priority";if("status"===c.name)return Ml(a)?"changelistFixed":"status"}}return Ml(a)?"changelist":Fl(a)&&a.isHumanAuthor?"comment":""};
uJ.\u0275fac=function(a){return new (a||uJ)(t(JI),t(nG),t(fI))};uJ.\u0275prov=yc({token:uJ,factory:uJ.\u0275fac,providedIn:"root"});var ffc={issueId:"0",issueIdChain:[],isArchived:!1,confidence:0,issueNumAssignedOrReported:0,issueNumCls:0,issueNumRecentlyModified:0,issueChildrenCount:0,issueNumOpen:0,issueNumClosed:0,directChildrenNumAssignedOrReported:0,directChildrenNumCls:0,directChildrenNumRecentlyModified:0,directChildrenCount:0,directChildrenNumOpen:0,directChildrenNumClosed:0,rollupNumAssignedOrReported:0,rollupNumCls:0,rollupNumRecentlyModified:0,rollupChildrenCount:0,rollupNumOpen:0,rollupNumClosed:0},gfc={issueNumAssignedOrReported:1,
issueNumCls:1,issueNumRecentlyModified:1,issueChildrenCount:1,issueNumOpen:1,issueNumClosed:-500,directChildrenNumAssignedOrReported:10,directChildrenNumCls:1.25,directChildrenNumRecentlyModified:5,directChildrenCount:1.25,directChildrenNumOpen:20,directChildrenNumClosed:-20,rollupNumAssignedOrReported:10,rollupNumCls:.75,rollupNumRecentlyModified:1,rollupChildrenCount:.75,rollupNumOpen:2,rollupNumClosed:-2},vJ=function(a,b){this.issueFridge=a;this.issueRelationshipApi=b;this.parentToChildIssueIds=
new Map},hfc=function(a){return a.issueFridge.watchMany({filter:"(assignee:"+Vl()+") t:(feature | feature_request | story | task | internal_cleanup | process) modified:90d parentId:any",pageSize:50,sort:"modified_time:desc"}).pipe(C(function(b){var c;return null!=(c=b.results)?c:[]}),ze(a.findPossibleProjectIssueIds.bind(a)))};
vJ.prototype.findPossibleProjectIssueIds=function(a){var b=this,c,d,e,g,h,l,q,v,x,A,G,M;return pe(function(Q){switch(Q.nextAddress){case 1:if(!a||0===a.length)return Q.return([]);c=[a[0]];for(d={$jscomp$loop$prop$g$2316:1};d.$jscomp$loop$prop$g$2316<a.length;d={$jscomp$loop$prop$g$2316:d.$jscomp$loop$prop$g$2316},d.$jscomp$loop$prop$g$2316++)c.some(function(Y){return function(W){return W.parentIssueIds[0]===a[Y.$jscomp$loop$prop$g$2316].parentIssueIds[0]}}(d))||c.push(a[d.$jscomp$loop$prop$g$2316]);
return Q.yield(ifc(b,c),2);case 2:e=[],g=0;case 3:if(!(g<c.length)){Q.jumpTo(5);break}return Q.yield(jfc(b,c[g]),6);case 6:h=Q.yieldResult;e.push.apply(e,cd(h));g++;Q.jumpTo(3);break;case 5:l=new Map;q=k(e);for(v=q.next();!v.done;v=q.next())x=v.value,x.isArchived||(x.confidence=b.calculateConfidence(x),l.has(x.issueId)&&(A=l.get(x.issueId),G=x,x.confidence=A.confidence>G.confidence?A.confidence:G.confidence),l.set(x.issueId,x));M=Array.from(l.values());M.sort(function(Y,W){return W.confidence-Y.confidence});
return Q.return(M.filter(function(Y){return 0<Y.confidence}).map(function(Y){return Y.issueId}).slice(0,10))}})};
var ifc=function(a,b){var c,d,e,g,h,l,q,v,x;return pe(function(A){if(1==A.nextAddress)return c=b.filter(function(G){return G.parentIssueIds&&0<G.parentIssueIds.length}).map(function(G){return G.parentIssueIds[0]}),d=[].concat(cd(c)),A.yield((0,D.firstValueFrom)(a.issueRelationshipApi.batchGet(c,1,!1)),2);if(3!=A.nextAddress){e=A.yieldResult;g=[];h=k(e);for(l=h.next();!l.done;l=h.next())q=l.value,g=q.getIssueRelationshipsList().map(function(G){return String(qj(G,1))}),a.parentToChildIssueIds.set(String(qj(q,
3)),g),d.push.apply(d,cd(g));return A.yield((0,D.firstValueFrom)(a.issueFridge.watchSet(d)),3)}v=A.yieldResult;x=v.filter(function(G){return c.includes(G.issueId)});return 0<x.length?A.yield(ifc(a,x),0):A.jumpTo(0)})},jfc=function(a,b,c){c=void 0===c?[]:c;var d,e,g,h,l,q,v,x,A,G,M,Q;return pe(function(Y){switch(Y.nextAddress){case 1:var W=Object,ia=W.assign,ja=b.issueId,Aa=b.isArchived,Da=kfc(a,b)?1:0,Oa=(null!=(d=b.snapshot[0].changelist)?d:[]).length;var Ta=2592E9>1E3*Date.now()-b.majorModifiedTimeMicros;
e=ia.call(W,{},ffc,{issueId:ja,issueIdChain:[],isArchived:Aa,issueNumAssignedOrReported:Da,issueNumCls:Oa,issueNumRecentlyModified:Ta?1:0,issueChildrenCount:b.childIssueCount||0,issueNumOpen:Il(b)?1:0,issueNumClosed:Il(b)?0:1});g=a.parentToChildIssueIds.get(b.issueId)||[];if(!(0<g.length)){Y.jumpTo(2);break}l=k(g);q=l.next();case 3:if(q.done){Y.jumpTo(2);break}v=q.value;return Y.yield((0,D.firstValueFrom)(a.issueFridge.watchOne(v)),6);case 6:h=Y.yieldResult;if(!h){Y.jumpTo(4);break}e.directChildrenNumAssignedOrReported+=
kfc(a,h)?1:0;x=void 0;e.directChildrenNumCls+=(null!=(x=h.snapshot[0].changelist)?x:[]).length;W=e.directChildrenNumRecentlyModified;ia=h;ia=2592E9>1E3*Date.now()-ia.majorModifiedTimeMicros;e.directChildrenNumRecentlyModified=W+(ia?1:0);e.directChildrenCount+=1;e.directChildrenNumOpen+=Il(h)?1:0;e.directChildrenNumClosed+=Il(h)?0:1;case 4:q=l.next();Y.jumpTo(3);break;case 2:A=k(c);for(G=A.next();!G.done;G=A.next())M=G.value,e.issueIdChain.unshift(M.issueId),e.rollupNumAssignedOrReported+=M.issueNumAssignedOrReported+
M.directChildrenNumAssignedOrReported,e.rollupNumCls+=M.issueNumCls+M.directChildrenNumCls,e.rollupNumRecentlyModified+=M.issueNumRecentlyModified+M.directChildrenNumRecentlyModified,e.rollupChildrenCount+=M.issueChildrenCount+M.directChildrenCount,e.rollupNumOpen+=M.issueNumOpen+M.directChildrenNumOpen,e.rollupNumClosed+=M.issueNumClosed+M.directChildrenNumClosed;e.issueIdChain.unshift(b.issueId);c.push(e);return b.parentIssueIds&&0<b.parentIssueIds.length?Y.yield((0,D.firstValueFrom)(a.issueFridge.watchOne(b.parentIssueIds[0])),
8):Y.return(c);case 8:return(Q=Y.yieldResult)?Y.return(jfc(a,Q,c)):Y.return(c)}})};
vJ.prototype.calculateConfidence=function(a){var b=void 0===b?gfc:b;var c=a.issueNumAssignedOrReported*b.issueNumAssignedOrReported;c+=a.issueNumCls*b.issueNumCls;c+=a.issueNumRecentlyModified*b.issueNumRecentlyModified;c+=a.issueChildrenCount*b.issueChildrenCount;c+=a.issueNumOpen*b.issueNumOpen;c+=a.directChildrenNumAssignedOrReported*b.directChildrenNumAssignedOrReported;c+=a.directChildrenNumCls*b.directChildrenNumCls;c+=a.directChildrenNumRecentlyModified*b.directChildrenNumRecentlyModified;
c+=a.directChildrenCount*b.directChildrenCount;c+=a.directChildrenNumOpen*b.directChildrenNumOpen;c+=a.rollupNumAssignedOrReported*b.rollupNumAssignedOrReported;c+=a.rollupNumCls*b.rollupNumCls;c+=a.rollupNumRecentlyModified*b.rollupNumRecentlyModified;c+=a.rollupChildrenCount*b.rollupChildrenCount;c+=a.rollupNumOpen*b.rollupNumOpen;c+=a.issueNumClosed*b.issueNumClosed;c+=a.directChildrenNumClosed*b.directChildrenNumClosed;c+=a.rollupNumClosed*b.rollupNumClosed;0===a.directChildrenNumAssignedOrReported&&
(c-=10*a.directChildrenCount);b=a.directChildrenNumAssignedOrReported/a.directChildrenCount;.5>b?(a=100<a.directChildrenCount?1.5:1,c=.25>b?.1>b?c-300*a:c-200*a:c-50*a):c=.75<b?c+200:c+150;return c};var kfc=function(a,b){var c=Vl(),d=a.getLdapFromUser(b.snapshot[0].assigneeUser);return a.getLdapFromUser(b.snapshot[0].reporterUser)===c||d===c};vJ.prototype.getLdapFromUser=function(a){return null!=a&&null!=a.emailAddress?a.emailAddress.split("@")[0]:null};
vJ.\u0275fac=function(a){return new (a||vJ)(t(JI),t(WF))};vJ.\u0275prov=yc({token:vJ,factory:vJ.\u0275fac,providedIn:"root"});var wJ=function(){},lfc=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""}};wJ.\u0275fac=function(a){return new (a||wJ)};
wJ.\u0275cmp=Oc({type:wJ,selectors:[["b-issue-priority-display"]],inputs:{issuePriority:"issuePriority"},decls:2,vars:2,consts:[[1,"p-chip",3,"ngClass"]],template:function(a,b){a&1&&(F(0,"span",0),P(1),H());a&2&&(E("ngClass",lfc(b)),z(1),a=b.issuePriority,Lf(" ",null==a?"--":A$b[a]," "))},dependencies:[Pw],styles:["/*# sourceMappingURL=issue_priority_display.css.map */"],changeDetection:0});var xJ=function(a){this.internalArray_=m(a)};T(xJ,p);xJ.prototype.getDisplayName=function(){return U(this,1)};xJ.prototype.setDisplayName=function(a){return sk(this,1,a)};xJ.prototype.getPhotoUrl=function(){return U(this,2)};xJ.prototype.toObject=function(){return mfc(this)};var mfc=function(a){if(null!=a)return r(a),{displayName:n(Z(a,1)),photoUrl:n(Z(a,2)),highResolutionPhotoUrl:n(Z(a,3))}};var yJ=function(a){this.internalArray_=m(a,0,yJ.messageId)};T(yJ,p);yJ.prototype.toObject=function(){if(null!=this){r(this);var a={userProfileMap:Wb(fk(this,1,xJ),mfc)}}else a=void 0;return a};yJ.messageId="b.UserProfileBatchResponse";var zJ=function(a,b){var c=this;this.userProfilesBatchApiConfig=a;this.batchApiAdapter=b;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.userProfilesBatchApiConfig);this.memoizingUserProfileMap=new wec(function(d){return c.batchAdaptedGet(d)},100)};zJ.prototype.get=function(a){return this.memoizingUserProfileMap.get(a)};zJ.\u0275fac=function(a){return new (a||zJ)(t(AJ),t(vG))};zJ.\u0275prov=yc({token:zJ,factory:zJ.\u0275fac,providedIn:"root"});var AJ=function(a){this.executor=a};
AJ.prototype.call=function(a){return this.executor.get({url:"action/user_profiles",options:{params:{usernames:[].concat(cd(a)).join(",")}},responseConstructor:yJ}).pipe(Ke(function(){return(0,D.of)(new yJ)}))};AJ.prototype.split=function(a,b){return(a=fk(b,1,xJ).get(a))?{photoUrl:a.getPhotoUrl(),highResolutionPhotoUrl:U(a,3),displayName:a.getDisplayName()}:void 0};AJ.\u0275fac=function(a){return new (a||AJ)(t(hE))};AJ.\u0275prov=yc({token:AJ,factory:AJ.\u0275fac,providedIn:"root"});var BJ=function(a,b,c){rF.call(this);this.templateRef=a;this.viewContainer=b;this.cdr=c;this.viewContainer.createEmbeddedView(this.templateRef)};T(BJ,rF);sh.Object.defineProperties(BJ.prototype,{refreshable:{configurable:!0,enumerable:!0,set:function(a){var b=this;a.pipe(af(this.destroyed$)).subscribe(function(){b.viewContainer.clear();b.viewContainer.createEmbeddedView(b.templateRef);b.cdr.detectChanges()})}}});BJ.\u0275fac=function(a){return new (a||BJ)(B(Yf),B(Zf),B(Kw))};
BJ.\u0275dir=Sc({type:BJ,selectors:[["","refreshable",""]],inputs:{refreshable:"refreshable"},features:[kf]});var nfc=function(){};var qn=function(){this.Serializable$values={}},pn=function(a,b){return a.Serializable$values.hasOwnProperty(b)?a.Serializable$values[b]:null},CJ=function(a,b){return null!=a.Serializable$values[b]};var ofc=function(){};var pfc=function(a,b){this.requestService=a;this.hookFactory=void 0===b?null:b};T(pfc,ofc);
var qfc=function(a,b,c){var d=Fza(a.hookFactory,b);return null==d?c:D.EMPTY.pipe(bf({complete:function(){d.onBeforeSend()}}),Iia(c.pipe(bf(function(e){d.onSuccess(e)},function(e){d.onError(e)}))))},rfc=function(a,b){var c=b.responseCtor||void 0,d=a.requestService,e=d.send,g=b.body instanceof qn?Kza(b.body,Hza,Iza,Jza):b.body;return qfc(a,b,e.call(d,{path:b.path,httpMethod:b.httpMethod,methodId:b.methodId,body:g,queryParams:b.queryParams,streamingType:b.streamingType&&b.streamingType},c))};var sfc=function(){};sfc.prototype.send=function(a,b){Sza(a);return this.makeRequest(a).pipe(C(function(c){return b?Oza(b,c):c}))};var tfc=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};T(tfc,qn);tfc.prototype.getPartialClassMetadata=function(){return{keys:["dayOfWeek","periodEndMinutes","periodStartMinutes"]}};
sh.Object.defineProperties(tfc.prototype,{dayOfWeek:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"dayOfWeek")?pn(this,"dayOfWeek"):0},set:function(a){this.Serializable$values.dayOfWeek=a}},periodEndMinutes:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"periodEndMinutes")?pn(this,"periodEndMinutes"):0},set:function(a){this.Serializable$values.periodEndMinutes=a}},periodStartMinutes:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"periodStartMinutes")?pn(this,
"periodStartMinutes"):0},set:function(a){this.Serializable$values.periodStartMinutes=a}}});var lp=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};T(lp,qn);lp.prototype.getPartialClassMetadata=function(){return{arrays:{userIds:kp},keys:["debugOptions","userIds"],objects:{debugOptions:ufc}}};
sh.Object.defineProperties(lp.prototype,{debugOptions:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"debugOptions")?pn(this,"debugOptions"):this.debugOptions=new ufc},set:function(a){this.Serializable$values.debugOptions=a}},userIds:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"userIds")?pn(this,"userIds"):this.userIds=[]},set:function(a){this.Serializable$values.userIds=a}}});
var vfc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.results=null==a.results?null:a.results};T(vfc,qn);vfc.prototype.getPartialClassMetadata=function(){return{arrays:{results:wfc},keys:["results"]}};
sh.Object.defineProperties(vfc.prototype,{hasResults:{configurable:!0,enumerable:!0,get:function(){return null!==pn(this,"results")}},results:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"results")?pn(this,"results"):this.results=[]},set:function(a){this.Serializable$values.results=a}}});
var xfc=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};T(xfc,qn);
xfc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","nextAvailable","occupiedUntil"]}};
sh.Object.defineProperties(xfc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"committedUntil")?pn(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"eventSummary")?pn(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"nextAvailable")?pn(this,
"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"occupiedUntil")?pn(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});
var yfc=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};T(yfc,qn);yfc.prototype.getPartialClassMetadata=function(){return{keys:["geoCoordinates","label","location"],objects:{geoCoordinates:zfc}}};
sh.Object.defineProperties(yfc.prototype,{geoCoordinates:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"geoCoordinates")?pn(this,"geoCoordinates"):this.geoCoordinates=new zfc},set:function(a){this.Serializable$values.geoCoordinates=a}},label:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"label")?pn(this,"label"):""},set:function(a){this.Serializable$values.label=a}},location:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"location")?pn(this,"location"):
""},set:function(a){this.Serializable$values.location=a}}});var Afc=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};T(Afc,qn);Afc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","nextAvailable","occupiedUntil"]}};
sh.Object.defineProperties(Afc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"committedUntil")?pn(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"nextAvailable")?pn(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"occupiedUntil")?pn(this,
"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var Bfc=function(){this.Serializable$values={}};T(Bfc,qn);Bfc.prototype.getPartialClassMetadata=function(){return{keys:[]}};
var Cfc=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};T(Cfc,qn);
Cfc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","inMeetingsUntil","nextAvailable","occupiedUntil"]}};
sh.Object.defineProperties(Cfc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"committedUntil")?pn(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"eventSummary")?pn(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},inMeetingsUntil:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"inMeetingsUntil")?pn(this,
"inMeetingsUntil"):""},set:function(a){this.Serializable$values.inMeetingsUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"nextAvailable")?pn(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"occupiedUntil")?pn(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var Dfc=function(){this.Serializable$values={}};T(Dfc,qn);
Dfc.prototype.getPartialClassMetadata=function(){return{keys:[]}};var zfc=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};T(zfc,qn);zfc.prototype.getPartialClassMetadata=function(){return{keys:["latitude","longitude"]}};
sh.Object.defineProperties(zfc.prototype,{latitude:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"latitude")?pn(this,"latitude"):0},set:function(a){this.Serializable$values.latitude=a}},longitude:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"longitude")?pn(this,"longitude"):0},set:function(a){this.Serializable$values.longitude=a}}});var Efc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeZone=null==a.timeZone?null:a.timeZone};
T(Efc,qn);Efc.prototype.getPartialClassMetadata=function(){return{keys:["timeZone"]}};sh.Object.defineProperties(Efc.prototype,{timeZone:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"timeZone")?pn(this,"timeZone"):""},set:function(a){this.Serializable$values.timeZone=a}}});
var Ffc=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};T(Ffc,qn);
Ffc.prototype.getPartialClassMetadata=function(){return{keys:["experimentalBuildingId","experimentalDeskId","experimentalFloorId","label"]}};
sh.Object.defineProperties(Ffc.prototype,{experimentalBuildingId:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"experimentalBuildingId")?pn(this,"experimentalBuildingId"):""},set:function(a){this.Serializable$values.experimentalBuildingId=a}},experimentalDeskId:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"experimentalDeskId")?pn(this,"experimentalDeskId"):""},set:function(a){this.Serializable$values.experimentalDeskId=a}},experimentalFloorId:{configurable:!0,enumerable:!0,
get:function(){return CJ(this,"experimentalFloorId")?pn(this,"experimentalFloorId"):""},set:function(a){this.Serializable$values.experimentalFloorId=a}},label:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"label")?pn(this,"label"):""},set:function(a){this.Serializable$values.label=a}}});
var Gfc=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};T(Gfc,qn);Gfc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime","committedUntil","eventSummary"]}};
sh.Object.defineProperties(Gfc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"comeBackTime")?pn(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}},committedUntil:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"committedUntil")?pn(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"eventSummary")?pn(this,"eventSummary"):
""},set:function(a){this.Serializable$values.eventSummary=a}}});var Hfc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=null==a.comeBackTime?null:a.comeBackTime};T(Hfc,qn);Hfc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime"]}};
sh.Object.defineProperties(Hfc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"comeBackTime")?pn(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}}});var Ifc=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};T(Ifc,qn);
Ifc.prototype.getPartialClassMetadata=function(){return{keys:["code","details","message"],objectMaps:{details:{ctor:null,isPropertyArray:!0,isSerializable:!1,isValueArray:!1}}}};
sh.Object.defineProperties(Ifc.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"code")?pn(this,"code"):0},set:function(a){this.Serializable$values.code=a}},hasDetails:{configurable:!0,enumerable:!0,get:function(){return null!==pn(this,"details")}},details:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"details")?pn(this,"details"):this.details=[]},set:function(a){this.Serializable$values.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return CJ(this,
"message")?pn(this,"message"):""},set:function(a){this.Serializable$values.message=a}}});var DJ=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};T(DJ,qn);DJ.prototype.getPartialClassMetadata=function(){return{keys:["endTime","startTime"]}};
sh.Object.defineProperties(DJ.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"endTime")?pn(this,"endTime"):""},set:function(a){this.Serializable$values.endTime=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"startTime")?pn(this,"startTime"):""},set:function(a){this.Serializable$values.startTime=a}}});
var Jfc=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};T(Jfc,qn);Jfc.prototype.getPartialClassMetadata=function(){return{keys:["computationDuration","overrideCurrentTime"]}};
sh.Object.defineProperties(Jfc.prototype,{computationDuration:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"computationDuration")?pn(this,"computationDuration"):""},set:function(a){this.Serializable$values.computationDuration=a}},overrideCurrentTime:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"overrideCurrentTime")?pn(this,"overrideCurrentTime"):""},set:function(a){this.Serializable$values.overrideCurrentTime=a}}});
var Kfc=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};T(Kfc,qn);Kfc.prototype.getPartialClassMetadata=function(){return{keys:["nextCommitmentStatus","nextCommitmentTime"],objects:{nextCommitmentStatus:EJ}}};
sh.Object.defineProperties(Kfc.prototype,{nextCommitmentStatus:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"nextCommitmentStatus")?pn(this,"nextCommitmentStatus"):this.nextCommitmentStatus=new EJ},set:function(a){this.Serializable$values.nextCommitmentStatus=a}},nextCommitmentTime:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"nextCommitmentTime")?pn(this,"nextCommitmentTime"):""},set:function(a){this.Serializable$values.nextCommitmentTime=a}}});
var Lfc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=null==a.timeRange?null:a.timeRange};T(Lfc,qn);Lfc.prototype.getPartialClassMetadata=function(){return{keys:["timeRange"],objects:{timeRange:DJ}}};sh.Object.defineProperties(Lfc.prototype,{timeRange:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"timeRange")?pn(this,"timeRange"):this.timeRange=new DJ},set:function(a){this.Serializable$values.timeRange=a}}});
var Mfc=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};T(Mfc,qn);Mfc.prototype.getPartialClassMetadata=function(){return{arrays:{availabilities:Nfc},keys:["availabilities","nextPollTime","workingHours"],objects:{workingHours:Ofc}}};
sh.Object.defineProperties(Mfc.prototype,{availabilities:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"availabilities")?pn(this,"availabilities"):this.availabilities=[]},set:function(a){this.Serializable$values.availabilities=a}},nextPollTime:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"nextPollTime")?pn(this,"nextPollTime"):""},set:function(a){this.Serializable$values.nextPollTime=a}},workingHours:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"workingHours")?
pn(this,"workingHours"):this.workingHours=new Ofc},set:function(a){this.Serializable$values.workingHours=a}}});var ufc=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};T(ufc,qn);ufc.prototype.getPartialClassMetadata=function(){return{keys:["forceEnableUserStatusCache","timeSettings"],objects:{timeSettings:Jfc}}};
sh.Object.defineProperties(ufc.prototype,{forceEnableUserStatusCache:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"forceEnableUserStatusCache")?pn(this,"forceEnableUserStatusCache"):!1},set:function(a){this.Serializable$values.forceEnableUserStatusCache=a}},timeSettings:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"timeSettings")?pn(this,"timeSettings"):this.timeSettings=new Jfc},set:function(a){this.Serializable$values.timeSettings=a}}});
var wfc=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};T(wfc,qn);wfc.prototype.getPartialClassMetadata=function(){return{keys:["status","userAvailabilities","userId"],objects:{status:Ifc,userAvailabilities:Mfc,userId:kp}}};
sh.Object.defineProperties(wfc.prototype,{hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==pn(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"status")?pn(this,"status"):this.status=new Ifc},set:function(a){this.Serializable$values.status=a}},hasUserAvailabilities:{configurable:!0,enumerable:!0,get:function(){return null!==pn(this,"userAvailabilities")}},userAvailabilities:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"userAvailabilities")?
pn(this,"userAvailabilities"):this.userAvailabilities=new Mfc},set:function(a){this.Serializable$values.userAvailabilities=a}},hasUserId:{configurable:!0,enumerable:!0,get:function(){return null!==pn(this,"userId")}},userId:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"userId")?pn(this,"userId"):this.userId=new kp},set:function(a){this.Serializable$values.userId=a}}});
var Nfc=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};T(Nfc,qn);Nfc.prototype.getPartialClassMetadata=function(){return{keys:["contexts","status","timeRange"],objects:{contexts:Pfc,status:EJ,timeRange:DJ}}};
sh.Object.defineProperties(Nfc.prototype,{contexts:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"contexts")?pn(this,"contexts"):this.contexts=new Pfc},set:function(a){this.Serializable$values.contexts=a}},hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==pn(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"status")?pn(this,"status"):this.status=new EJ},set:function(a){this.Serializable$values.status=a}},timeRange:{configurable:!0,
enumerable:!0,get:function(){return CJ(this,"timeRange")?pn(this,"timeRange"):this.timeRange=new DJ},set:function(a){this.Serializable$values.timeRange=a}}});
var Pfc=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};T(Pfc,qn);
Pfc.prototype.getPartialClassMetadata=function(){return{keys:["localTime","upcomingCommitmentContext","upcomingOoo","workingElsewhere"],objects:{localTime:Efc,upcomingCommitmentContext:Kfc,upcomingOoo:Lfc,workingElsewhere:Qfc}}};
sh.Object.defineProperties(Pfc.prototype,{localTime:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"localTime")?pn(this,"localTime"):this.localTime=new Efc},set:function(a){this.Serializable$values.localTime=a}},upcomingCommitmentContext:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"upcomingCommitmentContext")?pn(this,"upcomingCommitmentContext"):this.upcomingCommitmentContext=new Kfc},set:function(a){this.Serializable$values.upcomingCommitmentContext=a}},upcomingOoo:{configurable:!0,
enumerable:!0,get:function(){return CJ(this,"upcomingOoo")?pn(this,"upcomingOoo"):this.upcomingOoo=new Lfc},set:function(a){this.Serializable$values.upcomingOoo=a}},workingElsewhere:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"workingElsewhere")?pn(this,"workingElsewhere"):this.workingElsewhere=new Qfc},set:function(a){this.Serializable$values.workingElsewhere=a}}});
var kp=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};T(kp,qn);kp.prototype.getPartialClassMetadata=function(){return{keys:["email","obfuscatedGaiaId"]}};
sh.Object.defineProperties(kp.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"email")?pn(this,"email"):""},set:function(a){this.Serializable$values.email=a}},obfuscatedGaiaId:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"obfuscatedGaiaId")?pn(this,"obfuscatedGaiaId"):""},set:function(a){this.Serializable$values.obfuscatedGaiaId=a}}});
var Rfc=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};T(Rfc,qn);Rfc.prototype.getPartialClassMetadata=function(){return{keys:["customLocation","homeLocation","officeLocation"],objects:{customLocation:yfc,homeLocation:Bfc,officeLocation:Ffc}}};
sh.Object.defineProperties(Rfc.prototype,{customLocation:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"customLocation")?pn(this,"customLocation"):this.customLocation=new yfc},set:function(a){this.Serializable$values.customLocation=a}},homeLocation:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"homeLocation")?pn(this,"homeLocation"):this.homeLocation=new Bfc},set:function(a){this.Serializable$values.homeLocation=a}},officeLocation:{configurable:!0,enumerable:!0,get:function(){return CJ(this,
"officeLocation")?pn(this,"officeLocation"):this.officeLocation=new Ffc},set:function(a){this.Serializable$values.officeLocation=a}}});
var EJ=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};T(EJ,qn);EJ.prototype.getPartialClassMetadata=function(){return{keys:"calendarBusy doNotDisturb inMeeting inactive outOfOffice outsideWorkingHours".split(" "),objects:{calendarBusy:xfc,doNotDisturb:Afc,inMeeting:Cfc,inactive:Dfc,outOfOffice:Gfc,outsideWorkingHours:Hfc}}};
sh.Object.defineProperties(EJ.prototype,{calendarBusy:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"calendarBusy")?pn(this,"calendarBusy"):this.calendarBusy=new xfc},set:function(a){this.Serializable$values.calendarBusy=a}},doNotDisturb:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"doNotDisturb")?pn(this,"doNotDisturb"):this.doNotDisturb=new Afc},set:function(a){this.Serializable$values.doNotDisturb=a}},inMeeting:{configurable:!0,enumerable:!0,get:function(){return CJ(this,
"inMeeting")?pn(this,"inMeeting"):this.inMeeting=new Cfc},set:function(a){this.Serializable$values.inMeeting=a}},inactive:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"inactive")?pn(this,"inactive"):this.inactive=new Dfc},set:function(a){this.Serializable$values.inactive=a}},hasOutOfOffice:{configurable:!0,enumerable:!0,get:function(){return null!==pn(this,"outOfOffice")}},outOfOffice:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"outOfOffice")?pn(this,"outOfOffice"):
this.outOfOffice=new Gfc},set:function(a){this.Serializable$values.outOfOffice=a}},hasOutsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return null!==pn(this,"outsideWorkingHours")}},outsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"outsideWorkingHours")?pn(this,"outsideWorkingHours"):this.outsideWorkingHours=new Hfc},set:function(a){this.Serializable$values.outsideWorkingHours=a}}});
var Qfc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.location=null==a.location?null:a.location};T(Qfc,qn);Qfc.prototype.getPartialClassMetadata=function(){return{keys:["location"],objects:{location:Rfc}}};sh.Object.defineProperties(Qfc.prototype,{location:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"location")?pn(this,"location"):this.location=new Rfc},set:function(a){this.Serializable$values.location=a}}});
var Ofc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.availableTime=null==a.availableTime?null:a.availableTime};T(Ofc,qn);Ofc.prototype.getPartialClassMetadata=function(){return{arrays:{availableTime:tfc},keys:["availableTime"]}};
sh.Object.defineProperties(Ofc.prototype,{availableTime:{configurable:!0,enumerable:!0,get:function(){return CJ(this,"availableTime")?pn(this,"availableTime"):this.availableTime=[]},set:function(a){this.Serializable$values.availableTime=a}}});var Sfc=new ad("API_VERSION"),Tfc=new ad("REQUEST_SERVICE"),FJ=function(){};FJ.\u0275fac=function(a){return new (a||FJ)};FJ.\u0275mod=Qc({type:FJ});FJ.\u0275inj=zc({});
var Ufc={$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"},GJ=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v1alpha":a;this.$apiClient=new pfc(b,c)},Vfc=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;return rfc(a.$apiClient,{body:b,httpMethod:"POST",methodId:"waldo_service_api_from_stubby_sandbox.useravailabilities.batchget",
path:"/"+a.gapiVersion+"/useravailabilities:batchget",queryParams:Tza(c,Ufc,d),responseCtor:vfc})};GJ.\u0275fac=function(a){return new (a||GJ)(t(Sfc,8),t(Tfc),t(nfc,8))};GJ.\u0275prov=yc({token:GJ,factory:GJ.\u0275fac});var HJ=function(){};HJ.\u0275fac=function(a){return new (a||HJ)};HJ.\u0275prov=yc({token:HJ,factory:function(a){return GJ.\u0275fac(a)},providedIn:FJ});var IJ=function(a){var b=this;this.apiStub=a;this.result=new D.Subject;this.destroyed=new D.ReplaySubject(1);this.trigger=new D.Subject;this.batchedTrigger=this.trigger.pipe(Eia(this.trigger.pipe(Je(200))));this.responseHandler=function(c){if(c.hasResults){c=k(c.results);for(var d=c.next();!d.done;d=c.next()){var e=d.value;d="";e.hasUserId&&e.userId.email&&(d=e.userId.email);if(d)if(e.hasUserAvailabilities){e=e.userAvailabilities.availabilities[0];if(e.hasStatus&&e.status.hasOutOfOffice){e=e.status.outOfOffice;
if(e.comeBackTime){var g=e=new Date(e.comeBackTime),h=new Date;e=h.getFullYear()===g.getFullYear()&&h.getMonth()===g.getMonth()&&h.getDate()===g.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(af(this.destroyed)).subscribe(function(c){c=[].concat(cd(new Set(c)));var d=c.slice(0,100);Wfc(b,d);c=k(c.slice(100));for(d=c.next();!d.done;d=c.next())b.trigger.next(d.value)})},Wfc=function(a,b){var c,d;pe(function(e){for(var g=new lp,h=[],l=k(b),q=l.next();!q.done;q=l.next()){q=q.value;var v=new kp;v.email=q;h.push(v)}g.userIds=h;c=g;d=Vfc(a.apiStub,c);d.pipe(af(a.destroyed)).subscribe(a.responseHandler);
ue(e)})},Xfc=function(a,b){if(!b)return(0,D.of)("");a.trigger.next(b);return a.result.pipe(Ge(function(c){return c.emailAddress===b})).pipe(C(function(c){return c.availability}))};IJ.prototype.ngOnDestroy=function(){this.destroyed.next()};IJ.\u0275fac=function(a){return new (a||IJ)(t(HJ))};IJ.\u0275prov=yc({token:IJ,factory:IJ.\u0275fac});var JJ=function(a){var b=this;this.waldoAvailabilityService=a;this.user="";this.userSubject=new D.ReplaySubject(1);this.availability=this.userSubject.pipe($e(function(c){return Xfc(b.waldoAvailabilityService,c)}))};JJ.prototype.ngOnChanges=function(){this.userSubject.next(this.user)};JJ.\u0275fac=function(a){return new (a||JJ)(B(IJ))};
JJ.\u0275cmp=Oc({type:JJ,selectors:[["waldo-availability-chip"]],inputs:{user:"user"},features:[gd],decls:2,vars:3,consts:[["class","chip__container",4,"ngIf"],[1,"chip__container"],["preserveAspectRatio","xMidYMid meet","width","100%","height","100%","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","0 0 24 24","aria-hidden","true",1,"chip__icon"],["d","M9.31 17l2.44-2.44L14.19 17l1.06-1.06-2.44-2.44 2.44-2.44L14.19 10l-2.44 2.44L9.31 10l-1.06 1.06 2.44 2.44-2.44 2.44L9.31 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"],
["aria-hidden","true",1,"chip__text"]],template:function(a,b){a&1&&(O(0,Uza,6,3,"div",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.availability))},dependencies:[Rw,Xw],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 KJ=function(a){this.refreshMonitor=a;this.user="";this.coinonly=null};KJ.\u0275fac=function(a){return new (a||KJ)(B(HI))};KJ.\u0275cmp=Oc({type:KJ,selectors:[["b-availability-chip"]],inputs:{user:"user",coinonly:"coinonly"},decls:1,vars:1,consts:[[3,"refreshable"],[3,"user"]],template:function(a,b){a&1&&O(0,Vza,1,2,"ng-template",0);a&2&&E("refreshable",b.refreshMonitor.getObservable())},dependencies:[JJ,BJ],styles:["waldo-availability-chip[_ngcontent-%COMP%] { margin-left: 5px; }"],changeDetection:0});var Yfc=function(){this.issueId="";this.customFieldMap={};this.currentUserEmail="";this.createdTimeMicros=this.authorUser=this.user=this.originalModelData=null;this.componentId=0;this.severity=this.priority=this.type=this.version=null;this.title="";this.verifierUser=this.verifier=this.assigneeUser=this.assignee=this.reporterUser=this.reporter=null;this.cc=[];this.ccUsers=[];this.collaborators=[];this.collaboratorsUsers=[];this.hotlistId=this.verifiedInVersion=this.targetedToVersion=this.foundInVersion=
this.postmortems=this.changelist=this.blockingIssueId=this.blockedByIssueId=this.duplicateOfIssueId=this.attachmentId=null;this.customField=[];this.duplicateIssueId=this.significanceOverride=this.deletionReason=this.isDeleted=null;this.isArchived=this.inProd=!1;this.effortEstimate=this.sloSnoozeType=this.sloEndTime=this.sloStartTime=null;this.status="NEW"};
Yfc.prototype.setData=function(a,b,c){this.issueId=b;a=Yh(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=Yh(a);this.assignee=li(a.assigneeUser);this.assigneeUser=a.assigneeUser;this.authorUser=a.authorUser;this.attachmentId=a.attachmentId;this.blockedByIssueId=a.blockedByIssueId;this.blockingIssueId=a.blockingIssueId;this.cc=ni(a.ccUsers)||[];this.ccUsers=a.ccUsers||[];this.collaborators=ni(a.collaboratorsUsers)||[];this.collaboratorsUsers=a.collaboratorsUsers||[];this.changelist=a.changelist;this.componentId=a.componentId||
0;this.createdTimeMicros=a.createdTimeMicros;this.deletionReason=a.deletionReason;this.duplicateIssueId=a.duplicateIssueId;this.duplicateOfIssueId=a.duplicateOfIssueId;this.foundInVersion=a.foundInVersion;this.hotlistId=a.hotlistId;this.inProd=a.inProd;this.isArchived=a.isArchived;this.isDeleted=a.isDeleted;this.postmortems=a.postmortems;this.priority=a.priority;this.reporter=li(a.reporterUser);this.reporterUser=a.reporterUser;this.severity=a.severity;this.significanceOverride=a.significanceOverride;
this.status=a.status||"NEW";this.targetedToVersion=a.targetedToVersion;this.title=a.title;this.type=a.type;this.user=li(a.authorUser);this.verifiedInVersion=a.verifiedInVersion;this.verifier=li(a.verifierUser);this.verifierUser=a.verifierUser;this.version=a.version;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(g){return g}).map(function(g){return new Zfc(g)}));c=k(c);e=c.next();for(d={};!e.done;d={$jscomp$loop$prop$fieldResource$2323:d.$jscomp$loop$prop$fieldResource$2323},e=c.next())d.$jscomp$loop$prop$fieldResource$2323=e.value,e=d.$jscomp$loop$prop$fieldResource$2323.allowedValue?d.$jscomp$loop$prop$fieldResource$2323.allowedValue.map(function(g){return{value:g,displayText:g}}):null,(a=this.customField.find(function(g){return function(h){return h.customFieldId===g.$jscomp$loop$prop$fieldResource$2323.customFieldId}}(d)))?
(a.type=d.$jscomp$loop$prop$fieldResource$2323.type,a.customFieldName=d.$jscomp$loop$prop$fieldResource$2323.name,a.choices=e,this.customFieldMap[String(d.$jscomp$loop$prop$fieldResource$2323.customFieldId)]=a):(a=new Zfc({customFieldId:d.$jscomp$loop$prop$fieldResource$2323.customFieldId}),a.type=d.$jscomp$loop$prop$fieldResource$2323.type,a.customFieldName=d.$jscomp$loop$prop$fieldResource$2323.name,a.choices=e,this.customFieldMap[String(d.$jscomp$loop$prop$fieldResource$2323.customFieldId)]=a)};
var agc=function(a){for(var b=[],c=k(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next()){d=d.value;var e=$fc(a,d.customFieldId);e=e?e.getValue():null;var g=d.getValue();if(!Xh(e,g)){if(e=d.isEmpty())d.textValue="";b.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}}if(a.originalModelData){LJ(li(a.originalModelData.assigneeUser),a.assignee,"assignee",b);LJ(a.originalModelData.componentId,a.componentId,"componentId",b);LJ(a.originalModelData.createdTimeMicros,
a.createdTimeMicros,"createdTimeMicros",b);LJ(a.originalModelData.deletionReason,a.deletionReason,"deletionReason",b);LJ(a.originalModelData.duplicateOfIssueId,a.duplicateOfIssueId,"duplicateOfIssueId",b);LJ(a.originalModelData.inProd,a.inProd,"inProd",b);LJ(a.originalModelData.isArchived,a.isArchived,"isArchived",b);LJ(a.originalModelData.isDeleted,a.isDeleted,"isDeleted",b);LJ(a.originalModelData.priority,a.priority,"priority",b);LJ(li(a.originalModelData.reporterUser),a.reporter,"reporter",b);
LJ(a.originalModelData.severity,a.severity,"severity",b);LJ(a.originalModelData.significanceOverride,a.significanceOverride,"significanceOverride",b);LJ(a.originalModelData.status,a.status,"status",b);LJ(a.originalModelData.title,a.title,"title",b);LJ(a.originalModelData.type,a.type,"type",b);LJ(li(a.originalModelData.authorUser),a.user,"user",b);LJ(li(a.originalModelData.verifierUser),a.verifier,"verifier",b);LJ(a.originalModelData.version,a.version,"version",b);var h,l,q,v;LJ(null!=(q=null==(h=
a.originalModelData.sloStartTime)?void 0:h.seconds)?q:null,null!=(v=null==(l=a.sloStartTime)?void 0:l.seconds)?v:null,"sloStartTime",b);var x,A,G,M;LJ(null!=(G=null==(x=a.originalModelData.sloEndTime)?void 0:x.seconds)?G:null,null!=(M=null==(A=a.sloEndTime)?void 0:A.seconds)?M:null,"sloEndTime",b);LJ(a.originalModelData.sloSnoozeType,a.sloSnoozeType,"sloSnoozeType",b);var Q,Y;LJ(null!=(Y=null==(Q=a.originalModelData.effort)?void 0:Q.estimate)?Y:null,a.effortEstimate,"effortEstimate",b);MJ(a.originalModelData.attachmentId,
a.attachmentId,"attachmentId",b);MJ(ni(a.originalModelData.ccUsers),a.cc,"ccs",b);MJ(ni(a.originalModelData.collaboratorsUsers),a.collaborators,"collaborators",b);MJ(a.originalModelData.changelist,a.changelist,"changelists",b);MJ(a.originalModelData.blockedByIssueId,a.blockedByIssueId,"blockedByIssueId",b);MJ(a.originalModelData.blockingIssueId,a.blockingIssueId,"blockingIssueId",b);MJ(a.originalModelData.foundInVersion,a.foundInVersion,"foundInVersion",b);MJ(a.originalModelData.targetedToVersion,
a.targetedToVersion,"targetedToVersion",b);MJ(a.originalModelData.verifiedInVersion,a.verifiedInVersion,"verifiedInVersion",b);MJ(a.originalModelData.hotlistId,a.hotlistId,"hotlists",b)}return b.length?{issueId:a.issueId,actions:b}:null},LJ=function(a,b,c,d){a!==b&&d.push({fieldName:c,value:null!=b?String(b):void 0})},MJ=function(a,b,c,d){var e=pqa(b||[],new Set(a));a=pqa(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"})};f=Yfc.prototype;
f.setCustomField=function(a,b){a=String(a);if(this.customFieldMap[a]){var c=this.customFieldMap[a].type;if(c)switch(c){case "UNKNOWN":break;case "TEXT":this.customFieldMap[a].textValue=b||"";break;case "DATE":this.customFieldMap[a].dateValue=b||void 0;break;case "ENUM":this.customFieldMap[a].enumValue=b||"";break;case "NUMERIC":this.customFieldMap[a].numericValue=b;break;case "REPEATED_TEXT":this.customFieldMap[a].repeatedTextValue={values:b};break;case "REPEATED_DATE":this.customFieldMap[a].repeatedDateValue={values:b};
break;case "REPEATED_ENUM":this.customFieldMap[a].repeatedEnumValue={values:b};break;case "REPEATED_NUMERIC":this.customFieldMap[a].repeatedNumericValue={values:b};break;default:Ch(c,"Unexpected custom field type: "+c)}}};f.setIsDeleted=function(a){this.isDeleted=a};f.setIsArchived=function(a){this.isArchived=a};f.setDeletionReason=function(a){this.deletionReason=a};f.setReporter=function(a){this.reporter=a};f.setType=function(a){this.type=a};f.setPriority=function(a){this.priority=a};
f.setSeverity=function(a){this.severity=a};f.setAssignee=function(a){this.assignee=a;a=Bl[this.status];!this.assignee&&this.originalModelData&&li(this.originalModelData.assigneeUser)&&"REQUIRED"===(null==a?void 0:a.assigneeRequirement)?this.status="NEW":this.assignee&&"FIXED"!==this.status&&"VERIFIED"!==this.status&&(this.status="ASSIGNED")};
f.setVerifier=function(a){this.verifier=a;!this.verifier&&this.originalModelData&&li(this.originalModelData.verifierUser)&&"VERIFIED"===this.originalModelData.status&&(this.status="FIXED")};
f.setStatus=function(a){this.status=a;a=Bl[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)};f.setInProd=function(a){this.inProd=a};f.setCollaborators=function(a){this.collaborators=a};f.setFoundInVersion=function(a){this.foundInVersion=a};
f.setTargetedToVersion=function(a){this.targetedToVersion=a};f.setVerifiedInVersion=function(a){this.verifiedInVersion=a};f.setSloStartTime=function(a){this.sloStartTime=a};f.setSloEndTime=function(a){this.sloEndTime=a};f.setSloSnoozeType=function(a){this.sloSnoozeType=a};
var $fc=function(a,b){return a.originalModelData?(a=(a.originalModelData.customField||[]).find(function(c){return c.customFieldId===b}))?new ii(a):null:null},Zfc=function(a){ii.call(this,a);this.choices=this.customFieldName=this.type=null};T(Zfc,ii);Zfc.prototype.isRepeated=function(){return null==this.type?!1:["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var bgc=new Map([["assignee",function(a,b){a.assigneeUser=ti(b.assignee)}],["ccs",function(a,b){a.ccUsers=b.cc.map(ti).filter(Ai)}],["changelists",function(a,b){a.changelist=b.changelist}],["hotlists",function(a,b){a.hotlistId=b.hotlistId}],["reporter",function(a,b){a.reporterUser=ti(b.reporter)}],["verifier",function(a,b){a.verifierUser=ti(b.verifier)}],["componentId",function(a,b){a.componentId=b.componentId}],["createdTimeMicros",function(a,b){a.createdTimeMicros=b.createdTimeMicros}],["deletionReason",
function(a,b){a.deletionReason=b.deletionReason}],["duplicateOfIssueId",function(a,b){a.duplicateOfIssueId=b.duplicateOfIssueId}],["inProd",function(a,b){a.inProd=b.inProd}],["isArchived",function(a,b){a.isArchived=b.isArchived}],["isDeleted",function(a,b){a.isDeleted=b.isDeleted}],["priority",function(a,b){a.priority=b.priority}],["severity",function(a,b){a.severity=b.severity}],["significanceOverride",function(a,b){a.significanceOverride=b.significanceOverride}],["status",function(a,b){a.status=
b.status}],["title",function(a,b){a.title=b.title}],["type",function(a,b){a.type=b.type}],["user",function(a,b){a.authorUser=b.authorUser}],["version",function(a,b){a.version=b.version}],["attachmentId",function(a,b){a.attachmentId=b.attachmentId}],["blockedByIssueId",function(a,b){a.blockedByIssueId=b.blockedByIssueId}],["blockingIssueId",function(a,b){a.blockingIssueId=b.blockingIssueId}],["foundInVersion",function(a,b){a.foundInVersion=b.foundInVersion}],["targetedToVersion",function(a,b){a.targetedToVersion=
b.targetedToVersion}],["verifiedInVersion",function(a,b){a.verifiedInVersion=b.verifiedInVersion}]]);var NJ=function(a){this.$window=a};NJ.prototype.setDraft=function(a,b){this.$window.sessionStorage.setItem(sn(a),b)};NJ.\u0275fac=function(a){return new (a||NJ)(t(qF))};NJ.\u0275prov=yc({token:NJ,factory:NJ.\u0275fac,providedIn:"root"});var OJ=function(a){this.session=a;this.baseDocumentationUrl=a.getDocumentationBaseUrl()},$n=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control":a.baseDocumentationUrl+"/concepts/access-control"},cgc=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"};
OJ.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 dgc=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/automation-access":$n(a)},egc=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/public-access":"http://go/buganizer-public-access"},fgc=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"},Qsb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/guides/manage-component#enabling-comment-editing"},
ggc=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/external-access":"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-dos-donts#creating-moving-issues"},ws=function(){return"http://go/buganizer-retention"};OJ.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"};OJ.prototype.getDisablingFieldsHelpLink=function(){return nFb()+"#hiding-inherited-fields"};var hgc=function(a){return a.session.isInternalSession()?"http://go/delete-comments-attachments":""};OJ.\u0275fac=function(a){return new (a||OJ)(t(Bs))};OJ.\u0275prov=yc({token:OJ,factory:OJ.\u0275fac,providedIn:"root"});var igc=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};igc.\u0275fac=function(a){return new (a||igc)(B(bB),B(dB))};
igc.\u0275cmp=Oc({type:igc,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&&(F(0,"h1",0),P(1),H(),I(2,"div",1),F(3,"div",2),O(4,Yza,2,1,"button",3),F(5,"button",4),
L("click",function(){return b.dialogRef.close(!0)}),P(6),H()());a&2&&(z(1),Mf(b.data.title),z(1),E("innerHTML",b.data.content,Td),z(2),E("ngIf",b.showCancelButton),z(1),E("color",b.confirmButtonTheme),z(1),Lf(" ",b.confirmButtonText," "))},dependencies:[Rw,QA,gB,hB,iB],encapsulation:2});var PJ=function(a){this.dialog=a},QJ=function(a,b){return new Promise(function(c){a.open(Object.assign({},b,{onConfirm:function(){c(!0)},onDismiss:function(){c(!1)}}))})};
PJ.prototype.open=function(a){var b=a.onConfirm,c=a.onDismiss;$A(this.dialog.open(igc,{data:{title:a.title,content:a.content,isDestructive:a.isDestructive,cancelButtonText:a.cancelButtonText,confirmButtonText:a.confirmButtonText,showCancelButton:a.showCancelButton},maxWidth:"500px"})).subscribe(function(d){d?null==b||b():null==c||c()})};PJ.\u0275fac=function(a){return new (a||PJ)(t(eB))};PJ.\u0275prov=yc({token:PJ,factory:PJ.\u0275fac,providedIn:"root"});var RJ=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.confirmationDialogService=c},kgc=function(a,b){return new Promise(function(c){jgc(a,b,function(){c(!0)},function(){c(!1)})})},jgc=function(a,b,c,d){if(a.activeSession.isExternalSession())c&&c();else{var e="",g=yn("");if("VULNERABILITY"===b)e="Set the issue type to \u201cVulnerability\u201d?",b={},g=Bn(kv('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'),
An("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={};g={};var h={};g=Bn(kv('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. '),An("A",(b.href="http://goto.google.com/pib-slo",b.target="_blank",b),"Learn more"),kv(".\n\nDO NOT use this type to file "),
An("A",(g.href="http://goto.google.com/incident-response-policy",g.target="_blank",g),"privacy incidents"),kv(". Incidents should be filed at "),An("A",(h.href="http://goto.google.com/privacy-incidents",h.target="_blank",h),"go/privacy-incidents"),kv(".\n\nDO NOT use this type unless you are on one of the following teams or have been specifically requested by one of these teams to file a Privacy Issue bug: Privacy Incident Management, Privacy Investigations, Privacy Remediation."))}a.confirmationDialogService.open({title:e,
content:g,onConfirm:null!=c?c:function(){},onDismiss:null!=d?d:function(){}})}};RJ.\u0275fac=function(a){return new (a||RJ)(t(Bs),t(OJ),t(PJ))};RJ.\u0275prov=yc({token:RJ,factory:RJ.\u0275fac,providedIn:"root"});var SJ=function(a){this.internalArray_=m(a,0,SJ.messageId)};T(SJ,p);SJ.repeatedFields_=[1];SJ.prototype.toObject=function(){if(null!=this){r(this);var a={zonesList:Ub(kj(this,sl,1),z9b)}}else a=void 0;return a};SJ.messageId="b.TimeZoneDataList";var TJ=function(a,b){var c=this;this.executor=a;this.activeSession=b;this.memoized=new wec(function(d){a:{var e=k(c.activeSession.session.preload.timezones);for(var g=e.next();!g.done;g=e.next())if(g=g.value,d===g.timeZoneId_){e=g;break a}e=void 0}return e?(0,D.of)(e):c.executor.get({url:"action/timezone/"+encodeURIComponent(d),responseConstructor:sl}).pipe(C(Jta))},10)};TJ.prototype.get=function(a){return this.memoized.get(a)};
var lgc=function(a){return a.executor.get({url:"action/timezone",responseConstructor:SJ}).pipe(C(function(b){return null==b?void 0:kj(b,sl,1).map(function(c){c=Jta(c);var d=sYb(c.getOffset(new Date));return{id:c.timeZoneId_,displayName:"("+d+") - "+c.timeZoneId_,gmt:d}})}))};TJ.\u0275fac=function(a){return new (a||TJ)(t(hE),t(Bs))};TJ.\u0275prov=yc({token:TJ,factory:TJ.\u0275fac,providedIn:"root"});var UJ=function(a){this.executor=a},mgc=function(a,b){return a.executor.post({url:"action/current_user/preferences",responseConstructor:dl,body:mua(b)}).pipe(C(function(c){return $ta(c)}))};UJ.\u0275fac=function(a){return new (a||UJ)(t(hE))};UJ.\u0275prov=yc({token:UJ,factory:UJ.\u0275fac,providedIn:"root"});var VJ=function(a){this.userPreferencesManagerBase=a;this.destroyed$=new D.ReplaySubject(1);this.preferencesSubject$=this.userPreferencesManagerBase.preferences$;this.preferences$=this.preferencesSubject$.pipe(C(Yh));this.textDisplayPreferences$=this.preferences$.pipe(C(function(b){return b.textDisplayPreferences||{}}));this.textDisplayPreferencesSubject$=nn(this.textDisplayPreferences$.pipe(af(this.destroyed$)),{});this.lastPublishMode$=this.textDisplayPreferences$.pipe(C(function(b){return b.lastPublishMode}),
Ne());this.lastPublishModeProto$=this.lastPublishMode$.pipe(C(Ik));this.themePreferences$=this.preferences$.pipe(C(function(b){var c;return null!=(c=b.themePreferences)?c:Yh(oF.themePreferences)}),tn());this.listViewPreferences$=this.preferences$.pipe(C(function(b){var c;return null!=(c=b.listViewPreferences)?c:Yh(oF.listViewPreferences)}),tn());this.layoutPreferences$=this.preferences$.pipe(C(this.getLayoutPreferences),tn());this.dateTimePreferences$=this.preferences$.pipe(C(function(b){var c;return null!=
(c=b.dateTimePreferences)?c:Yh(oF.dateTimePreferences)}),tn());this.homepagePreferences$=this.preferences$.pipe(C(this.getHomepagePreferences),tn());this.keyboardPrefs$=this.preferences$.pipe(C(function(b){var c;return null!=(c=b.keyboardPreferences)?c:Yh(oF.keyboardPreferences)}),tn());this.displayColumnsPreferences$=this.preferences$.pipe(C(function(b){var c,d;return null!=(d=null==(c=b.displayColumns)?void 0:c.column)?d:[]}),tn());this.sortColumnsPreferences$=this.preferences$.pipe(C(function(b){var c,
d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}),tn());this.needsAttentionPreferences$=this.preferences$.pipe(C(function(b){var c;return null!=(c=b.needsAttentionPreferences)?c:Yh(oF.needsAttentionPreferences)}),tn());this.bugScreensaverPreferences$=this.preferences$.pipe(C(function(b){var c;return null!=(c=b.bugScreensaverPreferences)?c:Yh(oF.bugScreensaverPreferences)}),tn());this.bugScreensaverSubject$=nn(this.bugScreensaverPreferences$.pipe(af(this.destroyed$)),oF.bugScreensaverPreferences);
this.g3nPreferences$=this.preferences$.pipe(C(function(b){var c;return null!=(c=b.g3nPreferences)?c:Yh(oF.g3nPreferences)}),tn());nn(this.g3nPreferences$.pipe(af(this.destroyed$)),oF.g3nPreferences);this.teamWarningPreferences$=this.preferences$.pipe(C(function(b){var c;return null!=(c=b.teamWarningPreferences)?c:Yh(oF.teamWarningPreferences)}),tn());this.teamWarningPreferencesSubject$=nn(this.teamWarningPreferences$.pipe(af(this.destroyed$)),oF.teamWarningPreferences);this.commentFilterPreferences$=
this.preferences$.pipe(C(function(b){var c;return null!=(c=b.commentFilterPreferences)?c:Yh(oF.commentFilterPreferences)}),tn());nn(this.commentFilterPreferences$.pipe(af(this.destroyed$)),oF.commentFilterPreferences);this.codeFont$=this.preferences$.pipe(C(function(b){return!!b.useCodefont}),Ne());this.autoCcOnComment$=this.preferences$.pipe(C(function(b){var c;return null!=(c=b.autoCcOnComment)?c:!1}),Ne());this.showFullHistory$=this.preferences$.pipe(C(function(b){return!!b.showFullHistory}),Ne());
this.showRecentEventsFirst$=this.preferences$.pipe(C(function(b){return!!b.showRecentEventsFirst}),Ne());this.showInlineImages$=this.preferences$.pipe(C(function(b){var c;return null!=(c=b.showInlineImages)?c:oF.showInlineImages}),Ne())};VJ.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};VJ.prototype.save=function(a){return this.userPreferencesManagerBase.save(a)};
var ngc=function(a,b){b=Object.assign({},a.getLayoutPreferences(a.preferencesSubject$.value),b);return a.save({layoutPreferences:b}).pipe(C(a.getLayoutPreferences))},ogc=function(a,b){return a.save({homepagePreferences:b}).pipe(C(a.getHomepagePreferences))};VJ.prototype.getDateTimePreferences=function(){var a;return null!=(a=(void 0).dateTimePreferences)?a:Yh(oF.dateTimePreferences)};
var pgc=function(a,b){b=Object.assign({},a.preferencesSubject$.value.collapsed,b);return a.save({collapsed:b})},qgc=function(a,b){var c;return null==(c=a.preferencesSubject$.value.collapsed)?void 0:c[b]};VJ.prototype.clearHomepagePreferences=function(){return ogc(this,{})};var rgc=function(a,b){return a.save({displayColumns:{column:b}}).pipe(C(function(c){var d,e;return null!=(e=null==(d=c.displayColumns)?void 0:d.column)?e:[]}))};
VJ.prototype.saveSortColumns=function(a){return this.save({sortColumns:{column:a}}).pipe(C(function(b){var c,d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}))};var sgc=function(a,b){return a.save({teamWarningPreferences:b}).pipe(C(function(c){var d;return null!=(d=c.teamWarningPreferences)?d:Yh(oF.teamWarningPreferences)}))};VJ.prototype.getLayoutPreferences=function(a){var b;return null!=(b=a.layoutPreferences)?b:Yh(oF.layoutPreferences)};
VJ.prototype.getHomepagePreferences=function(a){var b;return null!=(b=a.homepagePreferences)?b:Yh(oF.homepagePreferences)};var WJ=function(a){return Yh(a.preferencesSubject$.getValue())};VJ.\u0275fac=function(a){return new (a||VJ)(t(XJ))};VJ.\u0275prov=yc({token:VJ,factory:VJ.\u0275fac,providedIn:"root"});
var XJ=function(a,b){this.activeSession=a;this.userPreferencesResources=b;this.preferences$=new D.BehaviorSubject(Yh(oF));a=this.preferences$.value;if(b=this.activeSession.getUserPreferences())a=Object.assign({},a,b),tgc(a);this.preferences$.next(a)};XJ.prototype.save=function(a){var b=this;return this.activeSession.isAnonymous()?(0,D.of)(ugc(this,a)):mgc(this.userPreferencesResources,a).pipe(C(function(){return ugc(b,a)}))};
var ugc=function(a,b){var c=Yh(a.preferences$.value);c=Object.assign({},c,b);tgc(c);a.preferences$.next(c);return c},tgc=function(a){a.dateTimePreferences&&(a.dateTimePreferences.calendarFormat||(a.dateTimePreferences.calendarFormat=oF.dateTimePreferences.calendarFormat),a.dateTimePreferences.timeFormat||(a.dateTimePreferences.timeFormat=oF.dateTimePreferences.timeFormat),a.dateTimePreferences.sloEtaViewAs||(a.dateTimePreferences.sloEtaViewAs=oF.dateTimePreferences.sloEtaViewAs));!a.notificationPreferences||
a.notificationPreferences.collaboratorPriority&&"UNKNOWN_PRIORITY"!==a.notificationPreferences.collaboratorPriority||(a.notificationPreferences.collaboratorPriority=oF.notificationPreferences.collaboratorPriority)};XJ.\u0275fac=function(a){return new (a||XJ)(t(Bs),t(UJ))};XJ.\u0275prov=yc({token:XJ,factory:XJ.\u0275fac,providedIn:"root"});var vgc=bAa({PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5}),wgc=bAa({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}),xgc=bAa({TYPE_UNSPECIFIED:0,BUG:1,FEATURE_REQUEST:2,CUSTOMER_ISSUE:3,INTERNAL_CLEANUP:4,PROCESS:5,VULNERABILITY:6,PRIVACY_ISSUE:7,PROJECT:8,FEATURE:9,MILESTONE:10,EPIC:11,STORY:12,TASK:13});var YJ={},ZJ=(YJ.BUG="Unintended behavior",YJ.FEATURE_REQUEST="Request for new functionality",YJ.CUSTOMER_ISSUE="Issue affecting a 3rd party",YJ.INTERNAL_CLEANUP="Maintenance work",YJ.PROCESS="Miscellaneous non-feature work",YJ.VULNERABILITY="A security concern",YJ.PRIVACY_ISSUE="A privacy concern",YJ.PROJECT="Goal-driven effort",YJ.FEATURE="A collection of work",YJ.MILESTONE="An important achievement",YJ.EPIC="A large collection of work",YJ.STORY="A small collection of work",YJ.TASK="A small unit of work",
YJ.TYPE_UNSPECIFIED="Unspecified",YJ),ygc="PRIORITY_UNSPECIFIED P0 P1 P2 P3 P4".split(" ").slice(1),zgc="STATUS_UNSPECIFIED NEW ASSIGNED ACCEPTED FIXED VERIFIED NOT_REPRODUCIBLE INTENDED_BEHAVIOR OBSOLETE INFEASIBLE DUPLICATE".split(" ").slice(1),$J="TYPE_UNSPECIFIED BUG FEATURE_REQUEST CUSTOMER_ISSUE INTERNAL_CLEANUP PROCESS VULNERABILITY PRIVACY_ISSUE PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" ").slice(1),Agc=["S0","S1","S2","S3","S4"],aK={},Bgc=(aK.PRIORITY_UNSPECIFIED="(Unspecified Priority)",
aK.P0="P0",aK.P1="P1",aK.P2="P2",aK.P3="P3",aK.P4="P4",aK),bK={},Cgc=(bK.TYPE_UNSPECIFIED="(Unspecified Issue Type)",bK.BUG="Bug",bK.FEATURE_REQUEST="Feature Request",bK.CUSTOMER_ISSUE="Customer Issue",bK.INTERNAL_CLEANUP="Internal Cleanup",bK.PROCESS="Process",bK.VULNERABILITY="Vulnerability",bK.PRIVACY_ISSUE="Privacy Issue",bK.PROJECT="Project",bK.FEATURE="Feature",bK.MILESTONE="Milestone",bK.EPIC="Epic",bK.STORY="Story",bK.TASK="Task",bK),Dgc=ygc.map(function(a){return Bgc[a]}),Egc=$J.map(function(a){return Cgc[a]}),
Fgc=new Map([["BUG",ZJ.BUG],["FEATURE_REQUEST",ZJ.FEATURE_REQUEST],["CUSTOMER_ISSUE",ZJ.CUSTOMER_ISSUE],["INTERNAL_CLEANUP",ZJ.INTERNAL_CLEANUP],["PROCESS",ZJ.PROCESS],["VULNERABILITY",ZJ.VULNERABILITY],["PRIVACY_ISSUE",ZJ.PRIVACY_ISSUE],["PROJECT",ZJ.PROJECT],["FEATURE",ZJ.FEATURE],["MILESTONE",ZJ.MILESTONE],["EPIC",ZJ.EPIC],["STORY",ZJ.STORY],["TASK",ZJ.TASK]]),Ggc=new Set("PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" ")),Hgc=$J.map(function(a){return{value:a,displayText:wua(a),altText:Fgc.get(a)}}),
cK=function(){un(xgc,$J);un(wgc,zgc);this.priorities=ygc;this.severities=Agc;this.editIssueTypes=$J;this.editIssueTypeChoices=Hgc;this.issueTypesDisplayNames=un($J,Egc);un(vgc,Dgc);un(xgc,Egc);this.issueTypesShortDescriptions=Fgc;this.issuePrioritiesDisplayNames=un(ygc,Dgc);this.supportedTimeZones=[{name:"Local time",id:""},{name:"UTC",id:"UTC"},{name:"America/Los_Angeles",id:"America/Los_Angeles"}]};cK.\u0275fac=function(a){return new (a||cK)};cK.\u0275prov=yc({token:cK,factory:cK.\u0275fac,providedIn:"root"});var dK=function(a,b,c,d){rF.call(this);var e=this;this.errorHandler=d;this.cachedFormatters=new Map;this.formatPrefChange$=new D.Subject;this.userTimeZone=null;this.timeZones={};this.userPrefs=oF.dateTimePreferences;Promise.all(c.supportedTimeZones.map(function(g){if(""===g.id)return Promise.resolve({name:"",timeZone:null});var h=b.get(g.id).pipe(af(e.destroyed$));return(0,D.firstValueFrom)(h).then(function(l){return{name:g.name,timeZone:l}})})).then(function(g){g=k(g);for(var h=g.next();!h.done;h=
g.next())h=h.value,e.timeZones[h.name]=h.timeZone;a.preferences$.pipe(af(e.destroyed$)).subscribe(function(l){l.dateTimePreferences&&(l=l.dateTimePreferences,e.userPrefs=l,e.userTimeZone=e.timeZones[l.timeZone],e.formatPrefChange$.next())})}).catch(function(g){e.errorHandler.errorHandler(null,g)})};T(dK,rF);dK.\u0275dir=rF.\u0275dir;dK.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d||(d=new BB(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};
var Igc=function(a,b){return a.formatPrefChange$.subscribe(b)};dK.prototype.formatUserCalendar=function(a){return this.format(this.userPrefs.calendarFormat,this.userTimeZone,a)};dK.prototype.formatUserTime=function(a){return this.format(this.userPrefs.timeFormat,this.userTimeZone,a)};dK.\u0275fac=function(a){return new (a||dK)(t(VJ),t(TJ),t(cK),t(aH))};dK.\u0275prov=yc({token:dK,factory:dK.\u0275fac,providedIn:"root"});var eK=function(a){this.dateFormatter=a};
eK.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(Vh(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(Vh(c))}).join(", ");if(a.repeatedEnumValue)return a.repeatedEnumValue.values.join(", ");
if(a.repeatedNumericValue)return a.repeatedNumericValue.values.join(", ")}return""};eK.\u0275fac=function(a){return new (a||eK)(t(dK))};eK.\u0275prov=yc({token:eK,factory:eK.\u0275fac,providedIn:"root"});var fK=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"]},Lgc=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?"":d;var e;b.bulkEditOps&&(e=$za(b.bulkEditOps));var g=b.actions||[];!g.length&&b.bulkEditOps&&(g=Zza(b.bulkEditOps));b=Jgc(g).map(function(h){return Kgc(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+"."},Jgc=function(a){var b=
[],c=[];a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,"status"===d.fieldName?c.push(d):b.push(d);return b.concat(c)},Kgc=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,g=b.value||"<none>";b.customFieldValue?(d=new ii(b.customFieldValue),e=c[d.customFieldId].name||c[d.customFieldId].customFieldName,g=a.customFieldFormatter.format(d)||"<none>"):e="effortEstimate"===b.fieldName&&d?d:a.FIELD_TEXT_MAP[b.fieldName]||b.fieldName;"hotlists"===
b.fieldName?g=b.value.split(",").map(function(h){var l,q;return(l=null==(q=on(a.hotlistFridge.watch(String(h),{trustUncertainMemory:!0})))?void 0:q.name)?"'"+l+"'":h}).join(","):a.ENUM_FIELDS.includes(b.fieldName)&&(g=g?ji(g.replace(/_/g," ").toLowerCase()):"");return"ADD"===b.actionType&&"hotlists"===b.fieldName?(g=g.replace(/,/g,", "),"Added issue to Hotlist ["+g+"]"):"REMOVE"===b.actionType&&"hotlists"===b.fieldName?(g=g.replace(/,/g,", "),"Removed issue from Hotlist ["+g+"]"):"ADD"===b.actionType&&
"parentId"===b.fieldName?"Added child issue(s) to parent ["+g+"]":"REMOVE"===b.actionType&&"parentId"===b.fieldName?"Unlinked child issue(s) from parent ["+g+"]":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 "'+g+'"':(g=g.replace(/,/g,", "),'"'+g+'" removed from '+e):(g=g.replace(/,/g,", "),'"'+g+'" 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 "'+Bl[b.value].displayValue+'"'};fK.\u0275fac=function(a){return new (a||fK)(t(eK),t(pI))};fK.\u0275prov=yc({token:fK,factory:fK.\u0275fac,providedIn:"root"});var gK=function(a){this.internalArray_=m(a,0,gK.messageId)};T(gK,p);gK.prototype.getAttachmentsList=function(){return kj(this,CF,1)};gK.prototype.setAttachmentsList=function(a){nj(this,1,a)};gK.repeatedFields_=[1];gK.prototype.toObject=function(){if(null!=this){r(this);var a={attachmentsList:Ub(this.getAttachmentsList(),X9b)}}else a=void 0;return a};gK.messageId="b.CreateAttachmentsResponse";var hK=function(a){this.internalArray_=m(a,0,hK.messageId)};T(hK,p);hK.prototype.getErrorMessage=function(){return U(this,2)};hK.prototype.setErrorMessage=function(a){sk(this,2,a)};hK.prototype.toObject=function(){if(null!=this){r(this);var a={encryptedMedia:Xb(Qj(this,1)),errorMessage:n(Z(this,2))}}else a=void 0;return a};hK.messageId="b.EncryptedMediaResponse";var Mgc=function(){},iK=function(a){this.executor=a};T(iK,Mgc);var Ngc=function(a,b){var c=new z8b;c.setFilename(b.filename);c.setMimeType(b.mimeType);null!=b.encryptedBlobId&&sk(c,3,b.encryptedBlobId);sk(c,4,b.docId);null!=b.size&&c.setSize(b.size);return a.executor.post({url:"action/issues/drive_attachment",body:c,responseConstructor:hK}).then(Fsa)};iK.\u0275fac=function(a){return new (a||iK)(t(iE))};iK.\u0275prov=yc({token:iK,factory:iK.\u0275fac,providedIn:"root"});var jK=function(){};jK.\u0275fac=function(a){return new (a||jK)};jK.\u0275prov=yc({token:jK,factory:jK.\u0275fac,providedIn:"root"});var kK=function(a){this.executor=a};T(kK,jK);kK.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})};
kK.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:CF}).then(Hsa)};kK.\u0275fac=function(a){return new (a||kK)(t(iE))};kK.\u0275prov=yc({token:kK,factory:kK.\u0275fac,providedIn:"root"});var cAa=function(a){this.internalArray_=m(a)};T(cAa,p);cAa.prototype.toObject=function(){return Ogc(this)};var Ogc=function(a){if(null!=a)return r(a),{principalType:n(Er(a,1)),detailedUserType:n(Er(a,2))}};var Pgc=function(a){this.internalArray_=m(a,0,Pgc.messageId)};T(Pgc,p);Pgc.prototype.toObject=function(){if(null!=this){r(this);var a={principalTypeInfoMap:Wb(fk(this,1,cAa),Ogc)}}else a=void 0;return a};Pgc.messageId="b.PrincipalTypeInfoBatchResponse";var lK=function(a,b){this.principalResources=a;this.principalTypeGetter=b.adapt(Qgc(this,!1));this.principalTypeWithDetailGetter=b.adapt(Qgc(this,!0))},Qgc=function(a,b){return function(c){return Rgc(a.principalResources,c,b).then(function(d){return gAa(c,d)})}};lK.prototype.get=function(a){return mK(this,a,!1)};var mK=function(a,b,c){return(c?a.principalTypeWithDetailGetter.get(b):a.principalTypeGetter.get(b)).then(function(d){return null!=d?d:hAa()})};
lK.\u0275fac=function(a){return new (a||lK)(t(nK),t(IG))};lK.\u0275prov=yc({token:lK,factory:lK.\u0275fac,providedIn:"root"});var nK=function(a){this.executor=a},Rgc=function(a,b,c){var d={};d.email=Al(b);c&&(d.includeDetailedUserType="true");return a.executor.get({url:"action/principal_types",options:{params:d},responseConstructor:Pgc}).then(fAa).then(function(e){for(var g={},h=k(b),l=h.next();!l.done;l=h.next()){l=l.value;var q=void 0;g[l]=null!=(q=e[l])?q:hAa()}return g})};
nK.\u0275fac=function(a){return new (a||nK)(t(iE))};nK.\u0275prov=yc({token:nK,factory:nK.\u0275fac,providedIn:"root"});var oK=function(a,b,c){this.dialogRef=a;this.data=c;this.readMoreLink=b.baseDocumentationUrl+"/concepts/access-control#explicit_access_warnings";this.userEmails=c.userEmails};oK.prototype.close=function(a){this.dialogRef.close(a)};oK.\u0275fac=function(a){return new (a||oK)(B(bB),B(OJ),B(dB))};
oK.\u0275cmp=Oc({type:oK,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&&(F(0,"div",0)(1,"h1",1),P(2,"User may not have access"),H(),F(3,"section",2)(4,"p"),P(5," The following user(s) may not be able to edit, interact with, or get notifications about this issue: "),
H(),F(6,"ul"),O(7,iAa,2,1,"li",3),H(),F(8,"section"),P(9,"Continue anyway?"),H()(),F(10,"footer",4)(11,"div",5)(12,"a",6),P(13,"Learn more"),H()(),F(14,"button",7),L("click",function(){return b.close(!0)}),P(15,"Continue"),H(),F(16,"button",8),L("click",function(){return b.close(!1)}),P(17,"Cancel"),H()()());a&2&&(z(7),E("ngForOf",b.userEmails),z(5),E("href",b.readMoreLink,Ud))},dependencies:[Qw,QA,gB,hB,iB],styles:["ul[_ngcontent-%COMP%]{list-style:disc;margin-bottom:10px}"]});var pK=function(a,b,c,d,e){this.matDialogService=a;this.analytics=b;this.butterBar=c;this.logger=d;this.accessPolicy=e},Tgc=function(a,b){var c=b.componentId,d=b.userEmails,e=b.relation,g=b.analyticsEventLabel,h,l,q;return pe(function(v){switch(v.nextAddress){case 1:if(d.every(function(x){return 0===x.length}))return v.return(!0);qe(v,2);return v.yield(Sgc(a,c,d,e),4);case 4:h=v.yieldResult;if(0===h.length)return v.return(!0);a.analytics.trackEvent(ao.ADD_USER_WITHOUT_ACCESS,"warn",g);return v.yield(a.confirm(h,
e),5);case 5:l=v.yieldResult;if(!l)return YG(a.butterBar,"Save cancelled.",4E3),a.analytics.trackEvent(ao.ADD_USER_WITHOUT_ACCESS,"cancel",g),v.return(!1);a.analytics.trackEvent(ao.ADD_USER_WITHOUT_ACCESS,"proceed",g);return v.return(!0);case 2:return q=te(v),a.logger.error(q),v.return(!1)}})},Sgc=function(a,b,c,d){var e;return pe(function(g){if(1==g.nextAddress)return g.yield(a.accessPolicy.checkPermission(c,d,"ISSUE_DEFAULTS",b),2);e=g.yieldResult;return g.return([].concat(cd(e.noAccessEmails||
[]),cd(e.unknownEmails||[])))})};pK.prototype.confirm=function(a,b){var c=this,d,e,g;return pe(function(h){if(1==h.nextAddress)return d={userEmails:a,relation:b},e=c.matDialogService.open(oK,{width:"400px",data:d}),h.yield((0,D.firstValueFrom)($A(e)),2);g=h.yieldResult;return h.return(!!g)})};pK.\u0275fac=function(a){return new (a||pK)(t(eB),t(EI),t(XG),t($G),t(pH))};pK.\u0275prov=yc({token:pK,factory:pK.\u0275fac,providedIn:"root"});var Ugc=function(a,b){this.size=a;this.name=b;this.transferredBytes=0;this.errorMessage="";this.blobRef=null;this.state=1};Ugc.prototype.cancel=function(){this.state=4};var Vgc={UPLOADING:1,COMPLETE:2,ERROR:3,CANCELLED:4,1:"UPLOADING",2:"COMPLETE",3:"ERROR",4:"CANCELLED"};var qK=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};qK.prototype.reset=function(){this.value="";Wgc(this)};var Wgc=function(a){for(var b=k(a.uploads),c=b.next();!c.done;c=b.next())c.value.cancel();a.uploads=[]},Xgc=function(a){return a.fromTemplate&&a.initialComment===a.value};
qK.prototype.getAttachments=function(){for(var a=[],b=k(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,2===c.state&&c.blobRef&&a.push(Yh(c.blobRef));return a};qK.prototype.hasContent=function(){return!(!this.value&&!this.uploads.length)};var Ygc=function(a){return!a.isEmpty()&&!Ltb(a)};qK.prototype.isEmpty=function(){return!this.value&&!Zgc(this)};
var Ltb=function(a){return a.uploads.some(function(b){return 1===b.state||3===b.state})},Zgc=function(a){return a.uploads.some(function(b){return 2===b.state})};var rK=function(a,b){rF.call(this);this.router=a;this.activatedRoute=b;this.params={};this.routeParams$=new D.BehaviorSubject({});this.issueId$=this.routeParams$.pipe(C(function(c){return c.issueId}),Ne())};T(rK,rF);rK.\u0275dir=rF.\u0275dir;
var ahc=function(a){a.activatedRoute.queryParams.pipe(af(a.destroyed$)).subscribe(function(b){$gc(a,a.routeParams$.value,b)});a.router.events.pipe(Ge(function(b){return b instanceof Oxa}),C(function(b){return b}),af(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);$gc(a,c,b.queryParams)})},bhc=function(a,b){return a.routeParams$.pipe(C(function(c){return c[b]}))},$gc=function(a,b,c){for(var d=k(Object.keys(a.params)),
e=d.next();!e.done;e=d.next())delete a.params[jAa(e.value)];a.routeParams$.next(b);c=k(Object.entries(c));for(d=c.next();!d.done;d=c.next())e=k(d.value),d=e.next().value,e=e.next().value,a.params[jAa(d)]=e;b=k(Object.entries(b));for(c=b.next();!c.done;c=b.next())d=k(c.value),c=d.next().value,d=d.next().value,a.params[jAa(c)]=d};rK.\u0275fac=function(a){return new (a||rK)(t(IH),t(xm))};rK.\u0275prov=yc({token:rK,factory:rK.\u0275fac,providedIn:"root"});var sK=new ad("routeParams",{factory:function(){return Jc(rK).params}});var tK=function(a,b,c,d){this.routeParams=a;this.issueComments=b;this.draftStore=c;this.errorHandler=d};tK.prototype.get=function(a){var b=this;if(this.routeParams.comment)return(0,D.of)(this.routeParams.comment);var c=this.routeParams.template_issue;if(c){var d=bi(this.routeParams.template_comment)||1;return(0,D.defer)(function(){return chc(b,c,d,b.routeParams.do_attribution)})}return a?(0,D.of)(this.draftStore.$window.sessionStorage.getItem(sn(a))||""):(0,D.of)("")};
var chc=function(a,b,c,d){var e,g,h,l,q;return pe(function(v){if(1==v.nextAddress)return qe(v,2),v.yield(a.issueComments.get(b,c),4);if(2!=v.nextAddress)return e=v.yieldResult,g=e.unlinkifiedComment,h=(new Date(Number(e.lastModified)/1E3)).toLocaleDateString(),d?(l="> From issue "+b+" on "+h+":",v.return(l+"\n\n"+g)):v.return(g);q=te(v);cH(a.errorHandler,q);return v.return("")})};tK.\u0275fac=function(a){return new (a||tK)(t(sK),t(nJ),t(NJ),t(aH))};
tK.\u0275prov=yc({token:tK,factory:tK.\u0275fac,providedIn:"root"});var dhc=function(a,b,c,d,e){var g=this;this.issueId=a;this.defaultCommentSource=b;this.issueFetchResponseFridge=c;this.activeSession=d;this.userPreferencesManager=e;this.issueFr$=NI(this.issueFetchResponseFridge,this.issueId);this.issue$=this.issueFr$.pipe(C(function(h){return null==h?void 0:h.issue}));this.componentId$=this.issue$.pipe(C(function(h){return null==h?void 0:h.snapshot[0].componentId}),Ne());this.comment$=this.defaultCommentSource.get(this.issueId).pipe(Ze(""),Ne(),cf(this.userPreferencesManager.lastPublishModeProto$),
C(function(h){var l=k(h);h=l.next().value;l=l.next().value;h=new qK(h);h.formattingMode=l;return h}),Xe({bufferSize:1,refCount:!0}));this.comment=function(){return on(g.comment$)};this.createRestrictedResourcesComponentWhitelist=this.activeSession.getCreateRestrictedSubresourcesComponentWhitelist();this.componentJudgementForNewContent$=this.componentId$.pipe(C(function(h){if(h&&g.createRestrictedResourcesComponentWhitelist.includes(h))return{severity:"PII",judgementReason:"None Specified"}}),Xe({bufferSize:1,
refCount:!0}));this.userDefinedJudgementForNewContent$=new D.BehaviorSubject(void 0);this.judgementForNewContent$=(0,D.combineLatest)([this.componentJudgementForNewContent$.pipe(Ze(void 0)),this.userDefinedJudgementForNewContent$]).pipe(C(function(h){var l=k(h);h=l.next().value;l=l.next().value;return null!=l?l:h}),Xe({bufferSize:1,refCount:!1}));this.judgementForNewContent=function(){return on(g.judgementForNewContent$)}},ehc=function(a){var b=a.comment(),c,d="NONE_DETECTED"===(null==(c=a.judgementForNewContent())?
void 0:c.severity)?void 0:a.judgementForNewContent();a=b.value;c=b.formattingMode;var e=[];b=k(b.uploads);for(var g=b.next();!g.done;g=b.next())g=g.value,2===g.state&&g.blobRef&&(g=Yh({attachment:g.blobRef}),d&&(g.contentJudgement={severity:d.severity,judgementReason:d.judgementReason}),e.push(g));return{judgementForNewContent:d,commentText:a,formattingMode:c,attachmentsWithJudgements:e}},fhc=function(a){var b=ehc(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},uK=function(a,b,c,d){this.defaultCommentSource=a;this.issueFetchResponseFridge=b;this.activeSession=c;this.userPreferencesManager=d};uK.prototype.create=function(a){return new dhc(a,this.defaultCommentSource,this.issueFetchResponseFridge,this.activeSession,this.userPreferencesManager)};uK.\u0275fac=function(a){return new (a||uK)(t(tK),t(MI),t(Bs),t(VJ))};uK.\u0275prov=yc({token:uK,factory:uK.\u0275fac,providedIn:"root"});var vK=function(){};vK.prototype.isSloStartTimeApplied=function(a){return!!a&&a.seconds>Date.now()/1E3};
var wK=function(a){return!!a&&!!a.targetTime&&0!==a.targetTime.seconds},ghc=function(a){return wK(a.assignmentBounds)||wK(a.responseBounds)||wK(a.closureBounds)},hhc=function(a,b){switch(b){case "ASSIGNMENT":return wK(a.assignmentBounds);case "RESPONSE":return wK(a.responseBounds);case "CLOSURE":return wK(a.closureBounds);default:return ghc(a)}},ihc=function(a){if(!a)return null;var b=[],c=[];a.assignmentBounds&&kAa(b,c,a.assignmentBounds,"ASSIGNMENT");a.responseBounds&&kAa(b,c,a.responseBounds,"RESPONSE");
a.closureBounds&&kAa(b,c,a.closureBounds,"CLOSURE");return 0<b.length?(b.sort(lAa),b[0]):0<c.length?(c.sort(lAa),{sloBounds:c[0].sloBounds,sloMetric:""}):null};vK.\u0275fac=function(a){return new (a||vK)};vK.\u0275prov=yc({token:vK,factory:vK.\u0275fac,providedIn:"root"});var jhc=function(a,b,c,d,e){var g=this;this.issueId=a;this.issueFetchResponseFridge=b;this.constants=c;this.activeSession=d;this.sloStatusHelpersService=e;this.enableNonWtdmFieldPerTypeVisibility=pF(this.activeSession,"enableNonWtdmFieldPerTypeVisibility")||!1;this.showSloStatus=this.activeSession.isInternalSession();this.showChangelists=!this.activeSession.isExternalSession();this.issueFetchResponse$=NI(this.issueFetchResponseFridge,this.issueId);this.issue$=this.issueFetchResponse$.pipe(C(function(h){return null==
h?void 0:h.issue}));this.issueSnapshot$=this.issue$.pipe(C(function(h){return null==h?void 0:h.snapshot[0]}));this.hasSloDefined$=this.issue$.pipe(C(function(h){var l;return null==h?void 0:null==(l=h.aggregatedData)?void 0:l.sloStatus}),C(function(h){return!!h&&ghc(h)}));this.isWtdmType$=this.issueSnapshot$.pipe(C(function(h){return null!=(null==h?void 0:h.type)&&Ggc.has(h.type)}));this.isForgottenFourPrimary$=this.isWtdmType$.pipe(C(function(h){return!h&&!g.enableNonWtdmFieldPerTypeVisibility}));
this.isSloStatusPrimary$=(0,D.combineLatest)([this.hasSloDefined$,this.isWtdmType$]).pipe(C(function(h){var l=k(h);h=l.next().value;l=l.next().value;return h||!l}));this.isSeverityPrimary$=this.isWtdmType$.pipe(C(function(h){return!h}));this.isChangelistPrimary$=(0,D.combineLatest)([this.isWtdmType$,this.issueSnapshot$]).pipe(C(function(h){var l=k(h);h=l.next().value;l=l.next().value;return!h||"STORY"===(null==l?void 0:l.type)||"TASK"===(null==l?void 0:l.type)}));this.customFields$=this.issueFetchResponse$.pipe(C(function(h){var l;
return null!=(l=null==h?void 0:h.issue.customFields)?l:[]}));this.visibleFields$=this.issue$.pipe(C(function(h){var l;return null!=(l=null==h?void 0:h.visibleFields)?l:[]}));this.visibleFieldIds$=this.visibleFields$.pipe(C(function(h){return h.map(function(l){return l.customFieldId}).filter(Ai)}),C(function(h){return new Set(h)}),Xe({refCount:!0,bufferSize:1}));this.visibleCustomFields$=(0,D.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(C(function(h){h=k(h);var l=h.next().value;
return h.next().value.filter(function(q){return l.has(q.customFieldId)})}),Xe({refCount:!0,bufferSize:1}));this.hiddenCustomFields$=(0,D.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(C(function(h){h=k(h);var l=h.next().value;return h.next().value.filter(function(q){return!l.has(q.customFieldId)})}),Xe({refCount:!0,bufferSize:1}));this.hiddenFieldCount$=(0,D.combineLatest)([this.isForgottenFourPrimary$,this.isSeverityPrimary$,this.isSloStatusPrimary$,this.isChangelistPrimary$,this.hiddenCustomFields$]).pipe(C(function(h){var l=
k(h);h=l.next().value;var q=l.next().value,v=l.next().value,x=l.next().value;l=l.next().value;return(h?0:4)+(q?0:1)+(!g.showSloStatus||v?0:1)+(!g.showChangelists||x?0:2)+l.length}),Xe({refCount:!0,bufferSize:1}));this.hasHiddenFields$=this.hiddenFieldCount$.pipe(C(function(h){return 0<h}));this.showHiddenFieldsLabel$=this.hiddenFieldCount$.pipe(C(function(h){return 1===h?"Show 1 additional field":"Show "+h+" additional fields"}))},xK=function(a,b,c,d){this.issueFetchResponseFridge=a;this.constants=
b;this.activeSession=c;this.sloStatusHelpersService=d};xK.prototype.create=function(a){return new jhc(a,this.issueFetchResponseFridge,this.constants,this.activeSession,this.sloStatusHelpersService)};xK.\u0275fac=function(a){return new (a||xK)(t(MI),t(cK),t(Bs),t(vK))};xK.\u0275prov=yc({token:xK,factory:xK.\u0275fac,providedIn:"root"});var Mdc=ao.EDIT_ISSUE,yK=function(a,b){rF.call(this);this.analytics=a;this.clearcut=b;this.issueToTrackingState=new Map;this.getState=vn(this.issueToTrackingState,oAa);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")};T(yK,rF);yK.\u0275dir=rF.\u0275dir;
var lhc=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),khc(a,c,"idp-time-to-action",b.variations),d.firstActionSeen=!0)},$o=function(a,b,c){a.getState(b).variations.add(c)},khc=function(a,b,c,d){tI(a.clearcut,b,c);d=k(d);for(var e=d.next();!e.done;e=d.next())tI(a.clearcut,b,c+"-"+e.value)};yK.prototype.resetState=function(a){this.issueToTrackingState.delete(a)};
yK.\u0275fac=function(a){return new (a||yK)(t(EI),t(sI))};yK.\u0275prov=yc({token:yK,factory:yK.\u0275fac,providedIn:"root"});var zK=function(a,b,c){rF.call(this);var d=this;this.paramsService=b;this.issueFetchResponseFridge=c;this.componentIdOverride$=new D.BehaviorSubject(null);this.hotlistIdOverride$=new D.BehaviorSubject(null);this.issueIdOverride$=new D.BehaviorSubject(null);this.routeIssueId$=this.paramsService.issueId$.pipe(C(qAa),Xe({refCount:!0,bufferSize:1}));this.routeComponentId$=bhc(this.paramsService,"componentId").pipe(Ne());this.routeHotlistId$=bhc(this.paramsService,"hotlistId").pipe(Ne());this.issueId$=
(0,D.combineLatest)([this.issueIdOverride$,this.routeIssueId$]).pipe(C(function(e){var g=k(e);e=g.next().value;g=g.next().value;return e||g}),C(qAa),Ne(),Xe({refCount:!0,bufferSize:1}));this.componentIdFromIssueId$=this.issueId$.pipe($e(function(e){return e?NI(d.issueFetchResponseFridge,e):(0,D.of)(void 0)}),C(function(e){var g;return null==e?void 0:null==(g=e.issue)?void 0:g.snapshot[0].componentId}));this.componentId$=(0,D.combineLatest)([this.componentIdOverride$,this.routeComponentId$,this.componentIdFromIssueId$]).pipe(C(function(e){var g=
k(e);e=g.next().value;var h=g.next().value;g=g.next().value;return e||h||g}),C(pAa),Ne(),Xe({refCount:!0,bufferSize:1}));this.hotlistId$=(0,D.combineLatest)([this.hotlistIdOverride$,this.routeHotlistId$]).pipe(C(function(e){var g=k(e);e=g.next().value;g=g.next().value;return e||g}),C(pAa),Ne(),Xe({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){Zm("dimension4",
e)}))};T(zK,rF);zK.\u0275dir=rF.\u0275dir;zK.prototype.getComponentId=function(){return this.componentId$};zK.prototype.getIssueId=function(){return this.issueId$};zK.prototype.getHotlistId=function(){return this.hotlistId$};zK.\u0275fac=function(a){return new (a||zK)(t(DI),t(rK),t(MI))};zK.\u0275prov=yc({token:zK,factory:zK.\u0275fac,providedIn:"root"});var AK=function(a,b,c,d,e,g,h){var l=this;this.issueFetchResponseFridge=a;this.issueFridge=b;this.teamFridge=c;this.componentFridge=d;this.eventsForIssue=e;this.activatedRoute=g;this.contextSensitiveRegistry=h;this.id$=this.contextSensitiveRegistry.getIssueId().pipe(C(function(q){return q||void 0}));this.urlComment$=this.activatedRoute.fragment.pipe(C(aBa),Xe({refCount:!0,bufferSize:1}));this.issueJs$=this.id$.pipe($e(function(q){return NI(l.issueFetchResponseFridge,q)}),Xe({refCount:!0,bufferSize:1}));
this.issueJs$.pipe(C(function(q){return null==q?void 0:q.firstEvent}));this.eventsJs$=this.id$.pipe($e(this.eventsForIssue.watch),C(function(q){var v;return null!=(v=null==q?void 0:q.events)?v:[]}));this.starred$=this.issueJs$.pipe(C(rAa));this.lastViewedTimeMicros$=this.issueJs$.pipe(C(sAa));this.lastViewedTimeMicros$.pipe(C(function(q){return!q}));this.issueJs$.pipe(C(tAa));this.issueJs$.pipe(C(KAa));this.accessLimitLevel$=this.issueJs$.pipe(C(BAa));this.voted$=this.issueJs$.pipe(C(LAa));this.status$=
this.issueJs$.pipe(C(uAa));this.priority$=this.issueJs$.pipe(C(vAa));this.assignee$=this.issueJs$.pipe(C(wAa));this.issueJs$.pipe(C(xAa));this.teamId$=this.issueJs$.pipe(C(yAa));this.team$=this.teamId$.pipe($e(this.teamFridge.watch),Xe({refCount:!0,bufferSize:1}));this.ccUsers$=this.issueJs$.pipe(C(AAa));this.collaboratorsUsers$=this.issueJs$.pipe(C(CAa));this.issueJs$.pipe(C(function(q){var v,x;return null!=(x=null==(v=Ll(q))?void 0:v.severity)?x:void 0}));this.type$=this.issueJs$.pipe(C(DAa));this.issueJs$.pipe(C(EAa));
this.issueJs$.pipe(C(FAa));this.issueJs$.pipe(C(GAa));this.postmortems$=this.issueJs$.pipe(C(HAa));this.postmortems$.pipe(C(function(q){return 0<q.length}));this.issueJs$.pipe(C(IAa));this.effort$=this.issueJs$.pipe(C(JAa));this.isDeleted$=this.issueJs$.pipe(C(NAa));this.accessLevel$=this.issueJs$.pipe(C(PAa));this.modifiedTime$=this.issueJs$.pipe(C(QAa));this.retention$=this.issueJs$.pipe(C(SAa));this.retention=function(){return on(l.retention$)};this.retentionState$=this.issueJs$.pipe(C(VAa));this.retentionState=
function(){return on(l.retentionState$)};this.canonicalIssueId$=this.issueJs$.pipe(C(TAa));this.canonicalIssue$=this.canonicalIssueId$.pipe($e(this.issueFridge.watch));this.sloStatus$=this.issueJs$.pipe(C(function(q){var v;return null==q?void 0:null==(v=q.issue.aggregatedData)?void 0:v.sloStatus}));this.sloId$=this.issueJs$.pipe(C(WAa));this.createdTimeMicros$=this.issueJs$.pipe(C(XAa));this.componentId$=this.issueJs$.pipe(C(zAa));this.component$=this.componentId$.pipe($e(this.componentFridge.watch));
this.teamSuggestions$=this.component$.pipe(C(function(q){var v;return null!=(v=null==q?void 0:q.teamSuggestions)?v:[]}));this.effortSpec$=this.component$.pipe(C(YAa));this.isEffortEnabled$=this.component$.pipe(C(ZAa));this.component$.pipe(C($Aa));this.thinking$=this.issueFetchResponseFridge.thinking$};AK.\u0275fac=function(a){return new (a||AK)(t(MI),t(JI),t(eJ),t(AG),t(nG),t(xm),t(zK))};AK.\u0275prov=yc({token:AK,factory:AK.\u0275fac,providedIn:"root"});var mhc={admin:!1,writer:!0,appender:!0,reader:!0},CK=function(a,b,c,d,e,g){var h=this;this.issueDetailsBrain=a;this.permissionsFridge=b;this.activeSession=c;this.accessPolicyApi=d;this.errorHandler=e;this.userAccess=g;this.currentUserEmail=this.activeSession.getUserEmail();this.currentUserEmailPattern=new RegExp("^"+zn(this.currentUserEmail).replace("@","(\\+.*)?@")+"$");this.issueId$=this.issueDetailsBrain.id$;this.issuePermissions$=this.issueId$.pipe($e(function(l){return l?h.permissionsFridge.watchOne("issues/"+
l):(0,D.of)(void 0)}),C(function(l){return null!=l?l:mhc}),Ze(mhc),Xe({bufferSize:1,refCount:!1}));this.hasAclToEdit$=this.issuePermissions$.pipe(C(function(l){return!!l.writer}));this.hasAclToEdit=function(){return!!on(h.hasAclToEdit$)};this.hasAclToComment$=this.issuePermissions$.pipe(C(function(l){return!!l.appender}));this.hasAclToComment=function(){return!!on(h.hasAclToComment$)};this.hasAclToAdmin$=this.issuePermissions$.pipe(C(function(l){return!!l.admin}));this.hasAclToAdmin=function(){return!!on(h.hasAclToAdmin$)};
this.isCurrentUserCCd$=this.issueDetailsBrain.ccUsers$.pipe(C(function(l){return l.some(function(q){return BK(h,q.emailAddress)})}));this.isCurrentUserCCd=function(){return!!on(h.isCurrentUserCCd$)};this.isCurrentUserCollaborator$=this.issueDetailsBrain.collaboratorsUsers$.pipe(C(function(l){return l.some(function(q){return BK(h,q.emailAddress)})}));this.isCurrentUserCollaborator=function(){return!!on(h.isCurrentUserCollaborator$)};this.isAllowedToEditCC$=this.hasAclToEdit$;(0,D.combineLatest)([this.hasAclToEdit$,
this.isCurrentUserCCd$]).pipe(C(function(l){var q=k(l);l=q.next().value;q=q.next().value;return l?q?"Un-CC yourself in order to change this setting.":"":"Edit issue permission is required to modify the CC list."}));this.isImplicitAccessEnabled$=this.issueDetailsBrain.componentId$.pipe(Ne(),$e(function(l){return l?h.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(l)):(0,D.of)(!1)}),Ke(function(l){if(403===l.status)return(0,D.of)(!0);h.errorHandler.errorHandler(null,l);return(0,D.of)(!1)}),
Xe({bufferSize:1,refCount:!1}));this.isImplicitAccessEnabled=function(){return!!on(h.isImplicitAccessEnabled$)};this.canDeleteIssue$=this.hasAclToAdmin$;this.canUndeleteIssue$=(0,D.combineLatest)([this.issueDetailsBrain.isDeleted$,this.canDeleteIssue$]).pipe(C(function(l){var q=k(l);l=q.next().value;q=q.next().value;return l&&q}));this.userIsComponentAdmin$=this.issueDetailsBrain.componentId$.pipe(Ne(),$e(function(l){return l?MG(h.userAccess,"admin","components/"+l):(0,D.of)(!1)}),Ke(function(l){h.errorHandler.errorHandler(null,
l);return(0,D.of)(!1)}),Xe({bufferSize:1,refCount:!1}));this.accessLevel$=this.issueDetailsBrain.accessLevel$;this.accessLevel=function(){return on(h.accessLevel$)};this.isWithinExternalComponent$=this.accessLevel$.pipe(C(function(l){return!(!l||"INTERNAL"===l)}));this.audience$=this.isWithinExternalComponent$.pipe(C(function(l){return l?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE"}));this.audience=function(){return on(h.audience$)};this.canChangeCommentRetention$=this.hasAclToEdit$;this.canChangeCommentRetention=
function(){return on(h.canChangeCommentRetention$)}},BK=function(a,b){return 0===(null==b?void 0:b.search(a.currentUserEmailPattern))},nhc=function(a,b){return Fl(b)&&"DELETED"===b.commentDeletionStatus?a.hasAclToAdmin()||li(b.lastCommentEditorUser)===a.activeSession.getUserEmail()&&a.hasAclToComment()?!0:!1:!1},ohc=function(a,b){return Fl(b)&&"ACTIVE"===b.commentDeletionStatus?pi(b.userPerformingActionUser)===a.activeSession.getUserEmail()?!0:a.hasAclToAdmin():!1};
CK.prototype.canEditComment$=function(a){var b=this;return(0,D.combineLatest)([this.issueDetailsBrain.component$,this.hasAclToEdit$,this.hasAclToComment$]).pipe(C(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return void 0!==c&&"ENABLED"===c.commentEditState&&"DELETED"!==a.commentDeletionStatus&&"PURGED"!==a.commentDeletionStatus&&a.commentNumber?1===a.commentNumber?e:d&&pi(a.userPerformingActionUser)===b.activeSession.getUserEmail():!1}))};
CK.\u0275fac=function(a){return new (a||CK)(t(AK),t(RI),t(Bs),t(pH),t(aH),t(LG))};CK.\u0275prov=yc({token:CK,factory:CK.\u0275fac,providedIn:"root"});var phc={type:"TAKE",displayText:"Assign to me",description:"Assign issue to yourself"},qhc={type:"DEFAULT_ASSIGNEE",displayText:"Assign to default",description:"Use the component's default assignee"},rhc={type:"START",displayText:"Start work",description:"Change issue status to '"+xl.ACCEPTED+"'"},shc={type:"FIX",displayText:"Mark fixed",description:"Change issue status to '"+xl.FIXED+"'"},thc={type:"VERIFY",displayText:"Verify",description:"Change issue status to '"+xl.VERIFIED+"'"},uhc={type:"REOPEN",
displayText:"Re-open",description:"Change issue status back to '"+xl.ASSIGNED+"'"};var whc=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(Xe({bufferSize:1,refCount:!0}));this.issueSnapshot$=this.issue$.pipe(C(function(g){return null==g?void 0:g.snapshot[0]}));this.currentAssignee$=this.issueSnapshot$.pipe(C(function(g){return(null==g?void 0:g.assigneeUser)&&pi(g.assigneeUser)}),C(vi));
this.defaultAssigneeForComponent$=this.issueSnapshot$.pipe(C(function(g){return null==g?void 0:g.componentId}),Ne(),$e(function(g){return g?e.componentTemplatesFridge.defaultTemplate$(String(g)):(0,D.of)(void 0)}),C(function(g){return g&&pi(g.snapshot.assigneeUser)}),Xe({bufferSize:1,refCount:!0}));this.defaultAssigneeForComponent=function(){return on(e.defaultAssigneeForComponent$)};this.issueAssigneeQuickAction$=(0,D.combineLatest)([this.currentAssignee$,this.defaultAssigneeForComponent$]).pipe(C(function(g){var h=
k(g);g=h.next().value;h=h.next().value;return e.defaultAssigneeQuickActionEnabled&&h&&g!==h?qhc:void 0}));this.issueStatusQuickAction$=this.issueSnapshot$.pipe(C(function(g){return g&&vhc(e,g)}))},vhc=function(a,b){var c=a.activeSession.getUserEmail();a=pi(b.assigneeUser)===c;c=pi(b.verifierUser)===c;b=b.status;if(c&&"FIXED"===b)return thc;if(a)switch(b){case "ASSIGNED":return rhc;case "ACCEPTED":return shc;default:return uhc}switch(b){case "NEW":return phc;case "ASSIGNED":return phc;case "ACCEPTED":return phc;
default:return uhc}},DK=function(a,b,c){this.activeSession=a;this.issueFridge=b;this.componentTemplatesFridge=c};DK.prototype.create=function(a){return new whc(a,this.activeSession,this.issueFridge,this.componentTemplatesFridge)};DK.\u0275fac=function(a){return new (a||DK)(t(Bs),t(JI),t(fH))};DK.\u0275prov=yc({token:DK,factory:DK.\u0275fac,providedIn:"root"});var cBa=RegExp("^[^\\.\\s]{2}\\.{3}@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$"),bBa=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])?$"),fBa=["@twosync.google.com","@twosync-src.google.com","@twosync-loas.google.com"];var xhc=function(){this.transform=gBa};xhc.\u0275fac=function(a){return new (a||xhc)};xhc.\u0275pipe=Uc({name:"toNewEmailPreference",type:xhc,pure:!0});var EK=function(){this.transform=hBa};EK.\u0275fac=function(a){return new (a||EK)};EK.\u0275pipe=Uc({name:"enumToHuman",type:EK,pure:!0});var FK=function(){this.transform=iBa};FK.\u0275fac=function(a){return new (a||FK)};FK.\u0275pipe=Uc({name:"arrayToHuman",type:FK,pure:!0});var GK=function(){};
GK.prototype.transform=function(a,b){return qk(jBa(a,b)).toString()};GK.\u0275fac=function(a){return new (a||GK)};GK.\u0275pipe=Uc({name:"boldPrefixMatches",type:GK,pure:!0});var HK=function(){this.transform=kBa};HK.\u0275fac=function(a){return new (a||HK)};HK.\u0275pipe=Uc({name:"yesNo",type:HK,pure:!0});var yhc=function(){this.transform=lBa};yhc.\u0275fac=function(a){return new (a||yhc)};yhc.\u0275pipe=Uc({name:"teamPath",type:yhc,pure:!0});var zhc=function(){this.transform=mBa};
zhc.\u0275fac=function(a){return new (a||zhc)};zhc.\u0275pipe=Uc({name:"humanFileSize",type:zhc,pure:!0});var IK=function(){this.transform=Cn};IK.\u0275fac=function(a){return new (a||IK)};IK.\u0275pipe=Uc({name:"omitObfuscatedEmail",type:IK,pure:!0});var Ahc=function(){this.transform=Dn};Ahc.\u0275fac=function(a){return new (a||Ahc)};Ahc.\u0275pipe=Uc({name:"toString",type:Ahc,pure:!0});var Bhc=function(){this.transform=nBa};Bhc.\u0275fac=function(a){return new (a||Bhc)};
Bhc.\u0275pipe=Uc({name:"csv",type:Bhc,pure:!0});var Chc=new Map([["(",")"],[")","("],["{","}"],["}","{"],["[","]"],["]","["],["<",">"],[">","<"]]),JK=function(){};JK.prototype.transform=function(a){return null==a?void 0:a.split("").reverse().map(function(b){var c;return null!=(c=Chc.get(b))?c:b}).join("")};JK.\u0275fac=function(a){return new (a||JK)};JK.\u0275pipe=Uc({name:"reverse",type:JK,pure:!0});var KK=function(){};KK.\u0275fac=function(a){return new (a||KK)};KK.\u0275mod=Qc({type:KK});
KK.\u0275inj=zc({});var MK=function(a){a=void 0===a?[]:a;this.internalValue$=new D.BehaviorSubject(new Set);this.value$=Iv(this.internalValue$).pipe(C(function(b){return new Set(b)}),Ne(Xh),Xe({refCount:!0,bufferSize:1}));this.reset(a)};f=MK.prototype;f.reset=function(a){this.value.clear();a=k(a);for(var b=a.next();!b.done;b=a.next())this.value.add(b.value);this.internalValue$.next(this.value)};
f.add=function(){for(var a=k(Zc.apply(0,arguments)),b=a.next();!b.done;b=a.next())this.value.add(b.value);this.internalValue$.next(this.value);return this};f.clear=function(){this.value.clear();this.internalValue$.next(this.value)};f.delete=function(a){a=this.value.delete(a);this.internalValue$.next(this.value);return a};f.has=function(a){return this.value.has(a)};var Vn=function(a,b){return a.internalValue$.pipe(C(function(c){return c.has(b)}),Ne())};MK.prototype[Symbol.iterator]=function(){return this.value.values()};
MK.prototype.toString=function(){return"[ReactiveSet](["+[].concat(cd(this.value.values())).join(", ")+"])"};MK.prototype.indexOf=function(a){return[].concat(cd(this.value.values())).indexOf(a)};
sh.Object.defineProperties(MK.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.internalValue$.value}},size:{configurable:!0,enumerable:!0,get:function(){return this.value.size}},size$:{configurable:!0,enumerable:!0,get:function(){return this.internalValue$.pipe(C(function(a){return a.size}),Ne())}}});var Dhc=function(){this.propertiesBeingSaved=new MK};Dhc.prototype.get=function(a){return this.propertiesBeingSaved.has(Dn(a))};var NK=function(a,b){a.propertiesBeingSaved.add(Dn(b))},OK=function(a,b){a.propertiesBeingSaved.delete(Dn(b))};Dhc.prototype.properties=function(){return[].concat(cd(this.propertiesBeingSaved))};var PK=function(){};PK.prototype.transform=function(a){return En(a)};PK.\u0275fac=function(a){return new (a||PK)};PK.\u0275pipe=Uc({name:"appendDomain",type:PK,pure:!0});var rBa={"\u2705":"good","\u26a0\ufe0f":"warn","\u26a0":"warn","\u26d4":"bad","\u274c":"bad","\ud83d\uded1":"bad","\ud83d\udeab":"bad"};var QK=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da,Oa,Ta,Wa,Nb,Eb,cb){var sa=this;this.issueFetchResponseFridge=a;this.activeSession=b;this.butterBar=c;this.issueInteractionsTracking=d;this.issueApi=e;this.componentFridge=g;this.permissionsFridge=h;this.eventsForIssueFridge=l;this.statusMessages=q;this.errorHandler=v;this.confirmationDialogService=x;this.principalTypes=A;this.issuePermissionService=G;this.accessPolicy=M;this.issueTypeDialog=Q;this.logger=Y;this.issueFridge=W;this.confirmNoAccessService=
ia;this.issueService=ja;this.attachmentsMember=Aa;this.userPreferencesManager=Da;this.issueComments=Oa;this.draftStore=Ta;this.attachmentApi=Wa;this.issueFieldsFactory=Nb;this.issueQuickActionsFactory=Eb;this.issueCommentDraftFactory=cb;this.isSavingMap=new Map;this.savingState=vn(this.isSavingMap,function(){return new Dhc});this.issueFieldsMap=new Map;this.issueFields=vn(this.issueFieldsMap,function(Ka){return sa.issueFieldsFactory.create(Ka)});this.issueQuickActionsMap=new Map;this.issueQuickActions=
vn(this.issueQuickActionsMap,function(Ka){return sa.issueQuickActionsFactory.create(Ka)});this.editableIssueMap=new Map;this.editableIssue$=vn(this.editableIssueMap,function(Ka){return Ehc(sa,Ka)});this.editableIssue=function(Ka){return sa.editableIssue$(Ka).value};this.subscriptions=new Map;this.getSubscription=vn(this.subscriptions,function(){return new D.Subscription});this.issueCommentDraftMap=new Map;this.issueCommentDraft=vn(this.issueCommentDraftMap,function(Ka){return sa.issueCommentDraftFactory.create(Ka)});
this.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY={saveCommentDraft:this.saveCommentDraft.bind(this)}};QK.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()};
QK.prototype.updateComponent=function(a,b,c){var d=this,e,g,h,l,q;return pe(function(v){if(1==v.nextAddress)return e=d.editableIssue(a),e.componentId=b,(g=Fhc(d,e))&&g.actions&&g.actions.length?v.yield(d.getRetentionState(a),2):v.return();h=v.yieldResult;Ghc(d,g);l={issueId:a,componentId:b};q=c?d.issueApi.moveIssueExternal(a,l):d.issueApi.moveIssue(a,l);return v.return(Hhc(d,q,g,{originalRetentionState:h}))})};
var fab=function(a,b,c){var d;return pe(function(e){if(!c)return ZG(a.butterBar,"Reporter can't be empty."),e.return();a.editableIssue(b).setReporter(c);return e.return(null!=(d=a.updateIssue(b))?d:Promise.resolve())})},Cbb=function(a,b,c){var d,e,g,h;return pe(function(l){if(1==l.nextAddress){d=uua(c);if(!d)return a.logger.warn("unknown issue type: "+c),l.return();e=a.editableIssue(b);return"VULNERABILITY"!==d&&"PRIVACY_ISSUE"!==d?l.jumpTo(2):l.yield(kgc(a.issueTypeDialog,d),3)}if(2!=l.nextAddress&&
(g=l.yieldResult,!g))return l.return();e.setType(d);return l.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())})},Dbb=function(a,b,c){var d,e,g;return pe(function(h){d=wl(c);if(!d)return a.logger.warn("unknown priority: "+c),h.return();e=a.editableIssue(b);e.setPriority(d);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},Jhc=function(a,b,c){var d,e,g;return pe(function(h){d=a.editableIssue(b);d.duplicateOfIssueId=c;d.status="DUPLICATE";e=Fhc(a,d);return e?(g=e.actions.find(function(l){return"duplicateOfIssueId"===
l.fieldName&&!Mk(l.value||"")}))&&g.value?h.return(Ihc(a,b,{actionIssueId:g.value,implicitAppenders:d.cc,implicitEditors:[],isDeduping:!0,isRemovingSelfFromCc:!1,requestData:e})):h.return():h.return()})},Khc=function(a,b,c){var d,e;return pe(function(g){d=a.editableIssue(b);d.setStatus(c);return g.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},Lhc=function(a,b,c){var d,e,g;return pe(function(h){if(!c)return h.return();d=a.editableIssue(b);e=a.issueQuickActions(b);switch(c.type){case "TAKE":"NEW"===
d.status&&(d.status="ASSIGNED");d.assignee=e.activeSession.getUserEmail();break;case "DEFAULT_ASSIGNEE":var l=e.defaultAssigneeForComponent();l&&("NEW"===d.status&&(d.status="ASSIGNED"),d.assignee=l);break;case "START":d.status="ACCEPTED";break;case "FIX":d.status="FIXED";break;case "VERIFY":d.status="VERIFIED";break;case "REOPEN":d.status=d.assignee?"ASSIGNED":"NEW";break;default:Ch(c.type)}return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},mab=function(a,b,c){var d,e;return pe(function(g){d=
a.editableIssue(b);var h;d.effortEstimate=null!=(h=null==c?void 0:c.estimate)?h:null;return g.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},nbb=function(a,b,c){var d,e,g;return pe(function(h){d=a.editableIssue(b);e=rqa(c,!1);d.setFoundInVersion(e);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},rbb=function(a,b,c){var d,e,g;return pe(function(h){d=a.editableIssue(b);e=rqa(c,!1);d.setVerifiedInVersion(e);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},
pbb=function(a,b,c){var d,e,g;return pe(function(h){d=a.editableIssue(b);e=rqa(c,!1);d.setTargetedToVersion(e);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},tbb=function(a,b,c){var d,e;return pe(function(g){d=a.editableIssue(b);d.setInProd(c);return g.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},ibb=function(a,b,c){var d,e,g;return pe(function(h){d=vua(c);if(!d)return a.logger.warn("unknown severity: "+c),h.return();e=a.editableIssue(b);e.setSeverity(d);return h.return(null!=
(g=a.updateIssue(b))?g:Promise.resolve())})};QK.prototype.updateSloStartTime=function(a,b){var c=this,d,e;return pe(function(g){d=c.editableIssue(a);d.setSloStartTime(b);return g.return(null!=(e=c.updateIssue(a))?e:Promise.resolve())})};QK.prototype.updateSloEndTime=function(a,b){var c=this,d,e;return pe(function(g){d=c.editableIssue(a);d.setSloEndTime(b);return g.return(null!=(e=c.updateIssue(a))?e:Promise.resolve())})};
var lbb=function(a,b,c){var d,e,g;return pe(function(h){d=a.editableIssue(b);d.changelist=null!=(e=c)?e:[];return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},Abb=function(a,b,c,d){var e,g;return pe(function(h){e=a.editableIssue(b);e.setCustomField(c,d);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},Cab=function(a,b,c){var d,e,g,h;return pe(function(l){switch(l.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?l.yield(Mhc(a,
b,"verifier",[c]),5):l.yield(Tgc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"verifier"}),4);case 4:e=l.yieldResult;if(!e)return l.return();l.jumpTo(3);break;case 5:if(g=l.yieldResult,!g)return l.return();case 3:return d.setVerifier(c),l.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())}})},vab=function(a,b,c){var d,e,g,h;return pe(function(l){switch(l.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?
l.yield(Mhc(a,b,"assignee",[c]),5):l.yield(Tgc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"assignee"}),4);case 4:e=l.yieldResult;if(!e)return l.return();l.jumpTo(3);break;case 5:if(g=l.yieldResult,!g)return l.return();case 3:return d.setAssignee(c),l.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())}})},Nhc=function(a,b,c){var d,e,g,h,l,q;return pe(function(v){switch(v.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return v.yield(Mhc(a,
b,"CC",c),5);e=Fua(d.cc,c);g=e.added;return v.yield(Tgc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:g,relation:"reader",analyticsEventLabel:"cc"}),4);case 4:h=v.yieldResult;if(!h)return v.return();v.jumpTo(3);break;case 5:if(l=v.yieldResult,!l)return v.return();case 3:return d.cc=c,v.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})},Ohc=function(a,b,c){var d,e,g,h,l,q;return pe(function(v){switch(v.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return v.yield(Mhc(a,
b,"collaborators",c),5);e=Fua(d.collaborators,c);g=e.added;return v.yield(Tgc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:g,relation:"reader",analyticsEventLabel:"collaborators"}),4);case 4:h=v.yieldResult;if(!h)return v.return();v.jumpTo(3);break;case 5:if(l=v.yieldResult,!l)return v.return();case 3:return d.setCollaborators(c),v.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})};
QK.prototype.unarchive=function(a){var b=this,c,d;return pe(function(e){c=b.editableIssue(a);c.setIsArchived(!1);return e.return(null!=(d=b.updateIssue(a))?d:Promise.resolve())})};
QK.prototype.updateIssueRetention=function(a,b){var c=this,d,e,g;return pe(function(h){switch(h.nextAddress){case 1:return d={issueId:a,retention:b},e=c.savingState(a),NK(e,"retention"),qe(h,2,3),h.yield(c.issueApi.updateIssueRetention(a,d),5);case 5:return h.yield(c.issueFridge.poke(a),6);case 6:YG(c.butterBar,"Issue retention updated to "+b+".",4E3);case 3:re(h);OK(e,"retention");se(h,0);break;case 2:g=te(h),cH(c.errorHandler,g),h.jumpTo(3)}})};
var Phc=function(a,b){var c,d,e;return pe(function(g){c=a.editableIssue(b);c.setIsDeleted(!0);c.setDeletionReason("ABUSE");d=Fhc(a,c);if(!d||!d.actions)return g.jumpTo(0);Ghc(a,d);e=a.issueService.delete(b,"ABUSE");return g.yield(Hhc(a,e,d),0)})},Nyb=function(a,b){var c,d,e;return pe(function(g){c=a.editableIssue(b);c.setIsDeleted(!1);c.setDeletionReason(null);d=Fhc(a,c);if(!d||!d.actions)return g.jumpTo(0);Ghc(a,d);e=a.issueService.undelete(b);return g.yield(Hhc(a,e,d),0)})};
QK.prototype.updateSubscription=function(a,b){var c=this,d,e,g,h,l;return pe(function(q){switch(q.nextAddress){case 1:return d=c.savingState(a),q.yield((0,D.firstValueFrom)(c.issueFridge.watch(a,{trustUncertainMemory:!0})),2);case 2:e=q.yieldResult;h=null==(g=e)?void 0:g.userData;if(null==h||d.get("subscribe"))return q.return();qe(q,3,4);NK(d,"subscribe");return q.yield(c.issueFridge.setNotificationSubscription(a,b),4);case 4:re(q);OK(d,"subscribe");se(q,0);break;case 3:l=te(q),cH(c.errorHandler,
l),q.jumpTo(4)}})};
var Qhc=function(a,b,c){var d,e;pe(function(g){switch(g.nextAddress){case 1:d=a.savingState(b);if(!c.attachmentId||d.get("undeleteAttachment"))return g.return();qe(g,2,3);YG(a.butterBar,"Restoring attachment...");NK(d,"undeleteAttachment");return g.yield(a.attachmentsMember.undelete(b.toString(),c),5);case 5:YG(a.butterBar,"Attachment restored."),OI(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:re(g);OK(d,"undeleteAttachment");se(g,0);break;case 2:e=te(g),cH(a.errorHandler,e),
g.jumpTo(3)}})},Rhc=function(a,b,c,d){var e,g;return pe(function(h){switch(h.nextAddress){case 1:e=a.savingState(b);if(!c.attachmentId||e.get("deleteAttachment"))return h.return();qe(h,2,3);YG(a.butterBar,"Deleting attachment...");NK(e,"deleteAttachment");return h.yield(a.attachmentsMember.delete(b,c,d),5);case 5:YG(a.butterBar,"Attachment deleted."),OI(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:re(h);OK(e,"deleteAttachment");se(h,0);break;case 2:g=te(h),cH(a.errorHandler,
g),h.jumpTo(3)}})};
QK.prototype.saveCommentDraft=function(a,b){var c=this,d=this.issueCommentDraft(a),e=d.comment(),g=ehc(d);if(!g.commentText&&!g.attachmentsWithJudgements.length)return Promise.resolve();var h=fhc(d);Ghc(this,h);return Hhc(this,function(){return pe(function(l){switch(l.nextAddress){case 1:return l.yield(Shc(c,a),2);case 2:if(!g.commentText){l.jumpTo(3);break}return l.yield(c.issueComments.create(String(a),g.commentText,g.formattingMode,g.judgementForNewContent,b),4);case 4:e.reset(),c.draftStore.$window.sessionStorage.removeItem(sn(a));
case 3:if(!g.attachmentsWithJudgements.length){l.jumpTo(5);break}var q=l.yield;var v=c.attachmentApi;var x=g.attachmentsWithJudgements,A=new iF;A.setIssueId(String(a));void 0!==x&&(x=x.map(Gsa),nj(A,3,x));v=v.executor.post({url:"action/issues/"+a+"/attachments",body:A,responseConstructor:gK}).then(Isa);return q.call(l,v,6);case 6:e.reset();case 5:return d.userDefinedJudgementForNewContent$.next(void 0),l.return(OI(c.issueFetchResponseFridge,a))}})}(),h)};
var Shc=function(a,b){var c,d;return pe(function(e){if(!WJ(a.userPreferencesManager).autoCcOnComment||!a.issuePermissionService.hasAclToEdit()||a.issuePermissionService.isCurrentUserCCd())return e.return();c=a.editableIssue(b);var g=[].concat(cd(c.cc),[a.activeSession.getUserEmail()]);c.cc=g;d={issueId:b,actions:[{fieldName:"ccs",value:a.activeSession.getUserEmail(),actionType:"ADD"}]};return e.yield(a.issueApi.updateIssue(b,d),0)})},Ehc=function(a,b){var c=NI(a.issueFetchResponseFridge,b).pipe(C(function(e){var g=
new Yfc;if(e){var h=Thc(a,b,Yh(oa(e.issue.snapshot))),l=a.activeSession.getUserEmail();g.currentUserEmail=l;g.setData(h,b,e.issue.customFields)}return g})),d=new D.BehaviorSubject(new Yfc);a.getSubscription(b).add(c.subscribe(d));return d};
QK.prototype.updateIssue=function(a){var b=this.editableIssue(a),c=Fhc(this,b);if(!c)return null;for(var d=!1,e=[],g=[],h=a,l=k(c.actions),q=l.next();!q.done;q=l.next()){q=q.value;var v=q.value||"";if("REMOVE"!==q.actionType)switch(q.fieldName){case "ccs":e=v.split(",").filter(Boolean);break;case "verifier":case "assignee":case "collaborators":g=v.split(",").filter(Boolean);break;case "duplicateOfIssueId":Mk(v)||(e=b.cc,h=String(v),d=!0)}}b=1===c.actions.length&&"ccs"===c.actions[0].fieldName&&"REMOVE"===
c.actions[0].actionType&&this.activeSession.getUserEmail()===c.actions[0].value;return Ihc(this,a,{actionIssueId:h,implicitAppenders:e,implicitEditors:g,isDeduping:d,isRemovingSelfFromCc:b,requestData:c})};
var Ihc=function(a,b,c){var d=c.actionIssueId,e=c.implicitAppenders,g=c.implicitEditors,h=c.isDeduping,l=c.isRemovingSelfFromCc,q=c.requestData,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da,Oa,Ta;return pe(function(Wa){switch(Wa.nextAddress){case 1:return Wa.yield(Promise.all([Uhc(a,e,"appender",d),Uhc(a,g,"writer",d)]),2);case 2:v=Wa.yieldResult;x=k(v);A=x.next().value;G=x.next().value;M=A;Q=G;Y=M.noAccessEmails||[];W=Q.noAccessEmails||[];ia=[].concat(cd(Y),cd(W));if(0===ia.length)return Wa.return(Vhc(a,q,h,l));qe(Wa,
3);return Wa.yield(Promise.all(ia.map(function(Nb){return Whc(a,Nb)})),5);case 5:return ja=Wa.yieldResult,Aa=sva({userPrincipals:ja,newEditors:W,newImplicitUsers:ia,isExternalSession:a.activeSession.isExternalSession(),issueId:b,actionIssueId:d}),Da=Aa.title,Oa=Aa.content,Wa.yield(QJ(a.confirmationDialogService,{title:Da,content:yn(Oa),confirmButtonText:"Allow"}),6);case 6:if(Ta=Wa.yieldResult)return Wa.return(Vhc(a,q,h,l));a.permissionsFridge.poke("issues/"+b);OI(a.issueFetchResponseFridge,b);Hs(Wa,
0);break;case 3:te(Wa),ZG(a.butterBar,"Could not determine email type."),ue(Wa)}})},Vhc=function(a,b,c,d){Ghc(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 Hhc(a,e,b)},Uhc=function(a,b,c,d,e,g){e=void 0===e?!1:e;g=void 0===g?null:g;if(e&&!g)throw Error("Nc");var h=e?"ISSUE_DEFAULTS":"ISSUE";d=e?g:d;e={noAccessEmails:[]};
return 0!==b.length&&a.issuePermissionService.isImplicitAccessEnabled()?a.accessPolicy.checkPermission(b.map(En),c,h,d):Promise.resolve(e)},Thc=function(a,b,c){var d=a.isSavingMap.get(b);a=(a=a.editableIssueMap.get(b))&&on(a);if(!a||!d)return c;d=d.properties();d=k(d);var e=d.next();for(b={};!e.done;b={$jscomp$loop$prop$customFieldId$2327:b.$jscomp$loop$prop$customFieldId$2327},e=d.next())if(e=e.value,e.match(/^\d+$/)){b.$jscomp$loop$prop$customFieldId$2327=bi(e);var g=(c.customField||[]).find(function(h){return function(l){return l.customFieldId===
h.$jscomp$loop$prop$customFieldId$2327}}(b));e=a.customFieldMap[e];g&&e&&(g.textValue=e.textValue,g.dateValue=e.dateValue,g.enumValue=e.enumValue,g.numericValue=e.numericValue)}else g=void 0,null==(g=bgc.get(e))||g(c,a);return c},Fhc=function(a,b){var c=agc(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(uBa(e)))});return c.actions.length?c:null},Ghc=function(a,b){var c=String(b.issueId);YG(a.butterBar,"Saving...",0);var d=
b.actions.map(function(e){return e.fieldName}).join(",");lhc(a.issueInteractionsTracking,c,{label:d});a=a.savingState(c);b=k(b.actions);for(c=b.next();!c.done;c=b.next())NK(a,uBa(c.value))},Hhc=function(a,b,c,d){var e,g;return pe(function(h){switch(h.nextAddress){case 1:return qe(h,2),h.yield(b,4);case 4:return e=h.yieldResult,LI(a.issueFridge,[c.issueId],{eagerUpdate:!1}).then(function(){var l=String(c.issueId);OI(a.issueFetchResponseFridge,l);a.eventsForIssueFridge.poke(l)}),h.yield(Xhc(a,c,e,d),
5);case 5:Hs(h,0);break;case 2:g=te(h),Yhc(a,c,g),ue(h)}})},Xhc=function(a,b,c,d){var e=(void 0===d?{}:d).originalRetentionState,g,h,l,q;return pe(function(v){g=a.savingState(String(b.issueId));h=k(b.actions);for(l=h.next();!l.done;l=h.next())q=l.value,OK(g,uBa(q));return c?v.yield(Zhc(a,b,e),0):v.jumpTo(0)})},Yhc=function(a,b,c){var d=String(b.issueId),e=a.savingState(d);b=k(b.actions);for(var g=b.next();!g.done;g=b.next())OK(e,uBa(g.value));a.permissionsFridge.poke("issues/"+d);OI(a.issueFetchResponseFridge,
d);$l(c)&&403===c.status&&am(c)?bH(a.errorHandler,am(c)):cH(a.errorHandler,c)},Zhc=function(a,b,c){var d,e,g,h,l,q,v,x,A,G,M;return pe(function(Q){switch(Q.nextAddress){case 1:return Q.yield(a.getEffortSpec(String(b.issueId)),2);case 2:d=Q.yieldResult;e=a.editableIssue(String(b.issueId));l=Lgc(a.statusMessages,b,e.customFieldMap,null!=(h=null==(g=d)?void 0:g.name)?h:"");if(!c){Q.jumpTo(3);break}return Q.yield(Promise.all([a.getRetentionState(String(b.issueId)),a.getRetention(String(b.issueId))]),
4);case 4:q=Q.yieldResult;v=k(q);x=v.next().value;A=v.next().value;G=x;M=A;var Y=l;if("INDEFINITE"!==M&&c&&G){var W=Xza(c);var ia=Xza(G);W=W===ia?"":" Issue retention period changed from "+W+" to "+ia+"."}else W="";l=Y+W;case 3:YG(a.butterBar,l),ue(Q)}})},Mhc=function(a,b,c,d){return pe(function(e){if(1==e.nextAddress){var g=a.editableIssue(b);var h=a.activeSession.getUserEmail();g=new Map([["CC",g.cc],["collaborators",g.collaborators],["assignee",g.assignee?[g.assignee]:[]],["verifier",g.verifier?
[g.verifier]:[]]]);(new Set([].concat(cd(g.values())).flat())).has(h)?(g.set(c,d),h=!(new Set([].concat(cd(g.values())).flat())).has(h)):h=!1;e=h?e.yield($hc(a,b,a.editableIssue(b).componentId,c),2):e.return(!0)}else e=e.return(e.yieldResult);return e})},$hc=function(a,b,c,d){var e;return pe(function(g){if(1==g.nextAddress)return g.yield(Uhc(a,[a.activeSession.getUserEmail()],"reader",b,!0,c),2);e=g.yieldResult;return e.noAccessEmails&&0!==e.noAccessEmails.length?g.return(QJ(a.confirmationDialogService,
{title:"Removing yourself from "+d+" may revoke your access to the issue",content:yn("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?")})):g.return(!0)})};QK.prototype.getRetentionState=function(a){return(0,D.firstValueFrom)(NI(this.issueFetchResponseFridge,a).pipe(C(VAa)))};
QK.prototype.getRetention=function(a){return(0,D.firstValueFrom)(NI(this.issueFetchResponseFridge,a).pipe(C(SAa)))};QK.prototype.getEffortSpec=function(a){return(0,D.firstValueFrom)(NI(this.issueFetchResponseFridge,a).pipe(C(zAa),$e(this.componentFridge.watch),C(YAa)))};var Whc=function(a,b){return pe(function(c){return a.activeSession.isExternalSession()?c.return({principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}):c.return(mK(a.principalTypes,b,!0))})};
QK.prototype.ngOnDestroy=function(){this.isSavingMap.clear();this.issueFieldsMap.clear();this.issueQuickActionsMap.clear();this.editableIssueMap.clear();for(var a=k(this.subscriptions.values()),b=a.next();!b.done;b=a.next())b.value.unsubscribe();this.subscriptions.clear()};QK.\u0275fac=function(a){return new (a||QK)(t(MI),t(Bs),t(XG),t(yK),t(GF),t(AG),t(RI),t(nG),t(fK),t(aH),t(PJ),t(lK),t(CK),t(pH),t(RJ),t($G),t(JI),t(pK),t(GI),t(jK),t(VJ),t(nJ),t(NJ),t(Mgc),t(xK),t(DK),t(uK))};
QK.\u0275prov=yc({token:QK,factory:QK.\u0275fac,providedIn:"root"});var RK=function(a,b,c){rF.call(this);this.issueDetailsBrain=a;this.issuePermissionService=b;this.editIssueService=c;this.assigneeInProgress$=new D.ReplaySubject(1);this.ccInProgress$=new D.ReplaySubject(1);this.id$=this.issueDetailsBrain.id$;this.assigneeUpdate$=this.issueDetailsBrain.issueJs$.pipe(C(function(d){var e;return li(null==(e=$ua(d))?void 0:e.assigneeUser)||""}));this.ccUpdate$=this.issueDetailsBrain.issueJs$.pipe(C(function(d){var e;return mi(null==(e=$ua(d))?void 0:e.ccUsers)||[]}));
this.assignee$=this.assigneeUpdate$.pipe(Xe({refCount:!0,bufferSize:1}));this.cc$=this.ccUpdate$.pipe(Xe({refCount:!0,bufferSize:1}));this.assigneeUpdating$=this.assigneeInProgress$;this.ccUpdating$=this.ccInProgress$;this.editAccess$=this.issuePermissionService.hasAclToEdit$};T(RK,rF);RK.\u0275dir=rF.\u0275dir;
var aic=function(a,b){var c,d,e;return pe(function(g){switch(g.nextAddress){case 1:c=on(a.id$);if(!c)return g.return();a.assigneeInProgress$.next(!0);d="remove_user"===b.action?"":b.email;qe(g,2,3);return g.yield(vab(a.editIssueService,c,d),5);case 5:return g.yield((0,D.firstValueFrom)(a.assigneeUpdate$.pipe(Ge(function(h){h=b.email===h;return"set_user"===b.action?h:!h}),Ie(6E4))),3);case 3:re(g);a.assigneeInProgress$.next(!1);se(g,0);break;case 2:throw e=te(g),e;}})},bic=function(a,b){var c,d,e,
g,h;return pe(function(l){switch(l.nextAddress){case 1:c=on(a.id$);if(!c)return l.return();d=a.editIssueService.editableIssue(c);e=d.cc.includes(b.email);g=void 0;"set_user"!==b.action||e?"remove_user"===b.action&&e&&(g=Nhc(a.editIssueService,c,d.cc.filter(function(q){return q!==b.email}))):g=Nhc(a.editIssueService,c,[].concat(cd(d.cc),[b.email]));if(!g)return l.return();qe(l,2,3);a.ccInProgress$.next(!0);return l.yield(g,5);case 5:return l.yield((0,D.firstValueFrom)(a.ccUpdate$.pipe(Ge(function(q){q=
q.includes(b.email);return"set_user"===b.action?q:!q}),Ie(6E4))),3);case 3:re(l);a.ccInProgress$.next(!1);se(l,0);break;case 2:throw h=te(l),h;}})};RK.\u0275fac=function(a){return new (a||RK)(t(AK),t(CK),t(QK))};RK.\u0275prov=yc({token:RK,factory:RK.\u0275fac});var vBa;var SK=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new kw;this.clickHandler=function(c){if(c instanceof MouseEvent){var d=c.target;d&&(b.elementRef.nativeElement.contains(d)||b.clickOutside.emit(c))}}};SK.prototype.ngOnInit=function(){this.getRoot().addEventListener(this.eventType,this.clickHandler,!0)};SK.prototype.ngOnDestroy=function(){this.getRoot().removeEventListener(this.eventType,this.clickHandler,!0)};
SK.prototype.getRoot=function(){var a;return null!=(a=wBa(this.elementRef.nativeElement))?a:document};SK.\u0275fac=function(a){return new (a||SK)(B(Dd))};SK.\u0275dir=Sc({type:SK,selectors:[["","clickOutside",""]],inputs:{eventType:["clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var TK=function(){};TK.\u0275fac=function(a){return new (a||TK)};TK.\u0275mod=Qc({type:TK});TK.\u0275inj=zc({});var cic,dic=Symbol("Oc"),eic=Symbol("Pc"),UK=function(a){this.viewContainerRef=a;this.className="onedev-hovercard";this.onHide=new kw;this[cic]=new D.ReplaySubject(1);this.wasTriggeredByKeyboard=!1;this.isOnHover$=new D.BehaviorSubject(!1);this.closeHovercard$=new D.Subject};UK.prototype.ngOnInit=function(){};var fic=function(a){var b=a[eic];return b?(b.loaded||(b.viewContainerRef.createEmbeddedView(b.templateRef),b.cdr.detectChanges(),b.loaded=!0),a[dic].pipe(Me(0))):(0,D.of)(void 0)};cic=dic;
UK.\u0275fac=function(a){return new (a||UK)(B(Zf))};
UK.\u0275cmp=Oc({type:UK,selectors:[["onedev-hovercard"]],viewQuery:function(a,b){a&1&&bg(Yf,7);if(a&2){var c;ag(c=dg())&&(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&&(Ff(),O(0,xBa,2,3,"ng-template"))},dependencies:[Xx,SK],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 VK=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.cdr=c;this.loaded=!1;d[eic]=this};VK.\u0275fac=function(a){return new (a||VK)(B(Yf),B(Zf),B(Kw),B(UK))};VK.\u0275dir=Sc({type:VK,selectors:[["","onedevHovercardLazyBody",""]]});var WK=function(a){this.hovercard=a;this.destroyed$=new D.ReplaySubject(1)};WK.prototype.ngOnDestroy=function(){this.destroyed$.next()};WK.prototype.ngOnInit=function(){this.isHovercardReady$.pipe(af(this.destroyed$)).subscribe(this.hovercard[dic])};
WK.\u0275fac=function(a){return new (a||WK)(B(UK))};WK.\u0275dir=Sc({type:WK,selectors:[["","onedevIsHovercardReady",""]],inputs:{isHovercardReady$:["onedevIsHovercardReady","isHovercardReady$"]}});var gic={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-10},hic={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-10},iic=[{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:10},{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:10},hic,{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 XK=function(){this.delay=600;this.position=iic;this.triggerKey=[]},YK=function(a,b){var c=this;this.overlay=a;this.origin=b;this.waitFor$=void 0;this.enabled=!0;this.config=new XK;this.active=!1;this.hovercardShown$=new D.ReplaySubject(1);this.hide$=new D.Subject;this.hovercard$=new D.BehaviorSubject(null);this.isHovered$=new D.BehaviorSubject(!1);this.isKeyboardActivated$=new D.BehaviorSubject(!1);this.destroyed$=new D.ReplaySubject(1);this.onDocumentKeyDown=function(d){"Escape"===d.key&&(jic(c),
d.stopPropagation(),d.preventDefault())};kic(this);this.handleClose()},kic=function(a){lic(a).pipe(af(a.destroyed$)).subscribe(function(b){(a.active=b)?a.show():a.hide()})};YK.prototype.handleClose=function(){var a=this;this.hovercard$.pipe($e(function(b){return(null==b?void 0:b.closeHovercard$)||D.NEVER}),af(this.destroyed$)).subscribe(function(){jic(a)})};YK.prototype.dispose=function(){mic(this);var a;null==(a=this.overlayRef)||a.dispose();this.destroyed$.next();this.destroyed$.complete()};
YK.prototype.isExpanded=function(){return this.hovercard$.getValue()?this.active:void 0};YK.prototype.toggle=function(a){this.isHovered$.next(a)};var jic=function(a){a.isKeyboardActivated$.next(!1);a.isHovered$.next(!1);var b;null==(b=a.hovercard$.getValue())||b.isOnHover$.next(!1)};
YK.prototype.show=function(){var a=this;this.enabled&&this.overlayRef&&!this.overlayRef.hasAttached()&&this.hovercard$.getValue()&&(this.hovercard$.getValue().wasTriggeredByKeyboard=this.isKeyboardActivated$.value,fic(this.hovercard$.getValue()).pipe(Oe(),af(this.destroyed$)).subscribe(function(){a.overlayRef&&a.templatePortal&&a.overlayRef.attach(a.templatePortal);document.addEventListener("keydown",a.onDocumentKeyDown);a.hovercardShown$.next()}))};YK.prototype.hide=function(){mic(this);this.hide$.next()};
var mic=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()}};YK.prototype.getPositionStrategy=function(){return Zz($z(aA(cA(this.overlay.position(),this.origin)),8),this.config.position)};
var lic=function(a){return(0,D.combineLatest)([nic(a).pipe(Ze(!1)),a.isKeyboardActivated$]).pipe(Ye(1),C(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b||c}),$e(function(b){var c;return(null==(c=a.waitFor$)?void 0:c.pipe(Se(b)))||(0,D.of)(b)}))},nic=function(a){return a.hovercard$.pipe($e(function(b){return(0,D.combineLatest)([a.isHovered$,(null==b?void 0:b.isOnHover$)||(0,D.of)(!1)]).pipe(C(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c||d}),Le(a.config.delay),
af(a.destroyed$))}))};var oic=new ad("onedevHovercardLoggingOn"),ZK=function(a,b,c,d,e){var g=this;this.viewContainerRef=c;this.injector=e;this.config=new XK;this.destroyed$=new D.ReplaySubject(1);this.triggerControl=new YK(a,b);this.triggerControl.hovercardShown$.pipe(cf(d||(0,D.of)(!1)),af(this.destroyed$)).subscribe(function(h){h=k(h);h.next();h.next().value&&(g.clientStreamzService||(g.clientStreamzService=g.injector.get(TC)),g.clientStreamzService.logUsageMetric("hovercardShown",!0))})};f=ZK.prototype;
f.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 gy(a.templateRef,c);b.hovercard$.next(a)}}};f.ngOnDestroy=function(){this.triggerControl.dispose();this.destroyed$.next();this.destroyed$.complete()};
f.isExpanded=function(){return this.triggerControl.isExpanded()};f.onKeyDown=function(a){if(this.config.triggerKey.includes(a.key)){var b=this.triggerControl;a.stopPropagation();a.preventDefault();b.isKeyboardActivated$.next(!0)}};f.toggle=function(a){this.triggerControl.toggle(a)};f.hide=function(){this.triggerControl.hide()};sh.Object.defineProperties(ZK.prototype,{enabled:{configurable:!0,enumerable:!0,set:function(a){this.triggerControl.enabled=a}}});
ZK.\u0275fac=function(a){return new (a||ZK)(B(dA),B(Dd),B(Zf),B(oic,8),B(sv))};
ZK.\u0275dir=Sc({type:ZK,selectors:[["","onedevHovercardTrigger",""]],hostVars:2,hostBindings:function(a,b){a&1&&L("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&&of("aria-haspopup",b.hovercard?"true":void 0)("aria-expanded",b.isExpanded())},inputs:{hovercard:["onedevHovercardTrigger",
"hovercard"],enabled:["onedevHovercardActive","enabled"],config:["onedevHovercardConfig","config"]},features:[gd]});var pic=function(a){return["chip","gmat-caption",a]},$K=function(){this.variant="grey";this.isTall=!1};$K.\u0275fac=function(a){return new (a||$K)};
$K.\u0275cmp=Oc({type:$K,selectors:[["onedev-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&xf("tall",b.isTall)},inputs:{variant:"variant",isTall:"isTall"},ngContentSelectors:["*"],decls:3,vars:3,consts:[[3,"ngClass"],[1,"centering"]],template:function(a,b){a&1&&(Ff(),F(0,"div",0)(1,"div",1),Gf(2),H()());a&2&&E("ngClass",Rf(1,pic,b.variant))},dependencies:[Pw],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 qic=function(a){this.chip=a};qic.\u0275fac=function(a){return new (a||qic)(B($K))};qic.\u0275dir=Sc({type:qic,selectors:[["","onedevChipIcon",""]],hostVars:10,hostBindings:function(a,b){a&2&&wf("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 ric=function(){};ric.\u0275fac=function(a){return new (a||ric)};ric.\u0275cmp=Oc({type:ric,selectors:[["","onedevDot",""]],hostVars:1,hostBindings:function(a){a&2&&of("aria-hidden",!0)},attrs:["onedevDot",""],decls:1,vars:0,template:function(a){a&1&&P(0,"\u00a0\u00b7\u00a0")},encapsulation:2});var sic=[[["","onedev-additional-content",""]],[["onedev-hovercard-action"]]],tic=function(a){return{"with-avatar":a}},aL=function(){};aL.prototype.ngOnInit=function(){};aL.\u0275fac=function(a){return new (a||aL)};
aL.\u0275cmp=Oc({type:aL,selectors:[["onedev-person-hovercard-body"]],inputs:{person:"person",outOfOfficeDescription:"outOfOfficeDescription"},ngContentSelectors:["[onedev-additional-content]","onedev-hovercard-action"],decls:14,vars:10,consts:[["role","dialog","aria-label","Person hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"contact-info",3,"ngClass"],["aria-hidden","true","class","avatar",3,"src","alt",4,"ngIf"],[1,"name","gmat-headline-4"],["class","email gmat-body-3",
4,"ngIf"],["class","chips gmat-caption",4,"ngIf"],[1,"content","gmat-body-3"],[4,"ngIf"],["aria-hidden","true",1,"avatar",3,"src","alt"],[1,"email","gmat-body-3"],[1,"chips","gmat-caption"],["variant","yellow"],["onedevChipIcon","","svgIcon","event_busy_24px"],["svgIcon","work_outline_24px"],[1,"detail"],[1,"dot-separated-list"],["onedevDot","",4,"ngIf"],["onedevDot",""],["svgIcon","location_pin_24px"],["svgIcon","link_24px"],["target","_blank","rel","noopener noreferrer",3,"href"]],template:function(a,
b){a&1&&(Ff(sic),F(0,"div",0)(1,"div",1)(2,"div",2),O(3,yBa,1,2,"img",3),F(4,"div",4),P(5),H(),O(6,zBa,2,1,"div",5),H(),O(7,ABa,4,1,"div",6),F(8,"div",7),O(9,EBa,7,3,"ng-container",8),O(10,FBa,4,1,"ng-container",8),O(11,IBa,21,6,"ng-container",8),Gf(12),H()(),Gf(13,1),H());a&2&&(z(2),E("ngClass",Rf(8,tic,b.person.imageUrl)),z(1),E("ngIf",b.person.imageUrl),z(2),Lf(" ",b.person.name||b.person.email," "),z(1),E("ngIf",b.person.name),z(1),E("ngIf",b.outOfOfficeDescription),z(2),E("ngIf",b.person.title||
b.person.department),z(1),E("ngIf",b.person.location),z(1),E("ngIf",b.person.ldap))},dependencies:[$K,qic,Pw,Rw,ric,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}.avatar{border-radius:50%;object-fit:cover;height:48px;width:48px}"],
encapsulation:2,changeDetection:0});var uic=new ad("API_VERSION"),vic=new ad("REQUEST_SERVICE"),bL=function(){};bL.\u0275fac=function(a){return new (a||bL)};bL.\u0275mod=Qc({type:bL});bL.\u0275inj=zc({});
var wic={$Xgafv:"$.xgafv",access_token:"access_token",affinityType:"affinityType",alt:"alt",authDelegationContextContactsEncryptedOwnerId:"authDelegationContext.contacts.encryptedOwnerId",authDelegationContextDelegationType:"authDelegationContext.delegationType",authDelegationContextObfuscatedOwnerId:"authDelegationContext.obfuscatedOwnerId",authDelegationContextUnicornObfuscatedOwnerId:"authDelegationContext.unicorn.obfuscatedOwnerId",blockDirection:"blockDirection",callback:"callback",client:"client",
clientId:"client.id",clientVersionClientAgent:"clientVersion.clientAgent",clientVersionClientType:"clientVersion.clientType",clientVersionClientVersion:"clientVersion.clientVersion",clientVersionGmsCoreContextAppManagementContext:"clientVersion.gmsCoreContext.appManagementContext",clientVersionGmsCoreContextIsFirstParty:"clientVersion.gmsCoreContext.isFirstParty",clientVersionGmsCoreContextPackageName:"clientVersion.gmsCoreContext.packageName",clientVersionGmsCoreContextPackageSignature:"clientVersion.gmsCoreContext.packageSignature",
consentOptionsStrategy:"consentOptions.strategy",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",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",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",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",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",getPeopleRequestMergedPersonSourceOptionsConnectedSitesOptionsConnectedSiteType:"getPeopleRequest.mergedPersonSourceOptions.connectedSitesOptions.connectedSiteType",getPeopleRequestMergedPersonSourceOptionsDataJoinParamsProfileJoinType:"getPeopleRequest.mergedPersonSourceOptions.dataJoinParams.profileJoinType",
getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterFilterType:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.filterType",getPeopleRequestMergedPersonSourceOptionsIncludeAccountLocale:"getPeopleRequest.mergedPersonSourceOptions.includeAccountLocale",getPeopleRequestMergedPersonSourceOptionsIncludeAffinity:"getPeopleRequest.mergedPersonSourceOptions.includeAffinity",
getPeopleRequestMergedPersonSourceOptionsIncludedContactDeletionStates:"getPeopleRequest.mergedPersonSourceOptions.includedContactDeletionStates",getPeopleRequestMergedPersonSourceOptionsIncludedProfileStates:"getPeopleRequest.mergedPersonSourceOptions.includedProfileStates",getPeopleRequestMergedPersonSourceOptionsPersonModelParamsPersonModel:"getPeopleRequest.mergedPersonSourceOptions.personModelParams.personModel",getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPhotoTypes",
getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPlaces:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPlaces",getPeopleRequestPersonId:"getPeopleRequest.personId",getPeopleRequestRequestConfigContextConfigKey:"getPeopleRequest.requestConfigContext.configKey",getPeopleRequestRequestConfigContextVersion:"getPeopleRequest.requestConfigContext.version",getPeopleRequestRequestMaskCustomRequestMask:"getPeopleRequest.requestMask.customRequestMask",getPeopleRequestRequestMaskImageUrlType:"getPeopleRequest.requestMask.imageUrlType",
getPeopleRequestRequestMaskIncludeContainer:"getPeopleRequest.requestMask.includeContainer",getPeopleRequestRequestMaskIncludeField:"getPeopleRequest.requestMask.includeField",getPeopleRequestRequestMaskIncludePeopleInCommon:"getPeopleRequest.requestMask.includePeopleInCommon",getPeopleRequestRequestMaskPersonAttribute:"getPeopleRequest.requestMask.personAttribute",getPeopleRequestRequestMaskPhotoOptionsPrivateUrlFormat:"getPeopleRequest.requestMask.photoOptions.privateUrlFormat",graphRestricts:"graphRestricts",
groupExtensionSetExtensionNames:"groupExtensionSet.extensionNames",groupId:"groupId",id:"id",includeAllAvailableSources:"includeAllAvailableSources",includeAllReachablePeople:"includeAllReachablePeople",includeBlocks:"includeBlocks",includeContent:"includeContent",includeFieldAcl:"includeFieldAcl",includeLinkedPeople:"includeLinkedPeople",includeOthers:"includeOthers",includedProfileStates:"includedProfileStates",key:"key",listFilterParamsContainer:"listFilterParams.container",listFilterParamsExcludeUnreachablePeople:"listFilterParams.excludeUnreachablePeople",
matchType:"matchType",maxContacts:"maxContacts",mergedPersonSourceOptionsCertificateParamsRequestCertificates:"mergedPersonSourceOptions.certificateParams.requestCertificates",mergedPersonSourceOptionsConnectedSitesOptionsConnectedSiteType:"mergedPersonSourceOptions.connectedSitesOptions.connectedSiteType",mergedPersonSourceOptionsDataJoinParamsProfileJoinType:"mergedPersonSourceOptions.dataJoinParams.profileJoinType",mergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",
mergedPersonSourceOptionsDeviceContactFilterFilterType:"mergedPersonSourceOptions.deviceContactFilter.filterType",mergedPersonSourceOptionsIncludeAccountLocale:"mergedPersonSourceOptions.includeAccountLocale",mergedPersonSourceOptionsIncludeAffinity:"mergedPersonSourceOptions.includeAffinity",mergedPersonSourceOptionsIncludedContactDeletionStates:"mergedPersonSourceOptions.includedContactDeletionStates",mergedPersonSourceOptionsIncludedProfileStates:"mergedPersonSourceOptions.includedProfileStates",
mergedPersonSourceOptionsPersonModelParamsPersonModel:"mergedPersonSourceOptions.personModelParams.personModel",mergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"mergedPersonSourceOptions.placeParams.requestPhotoTypes",mergedPersonSourceOptionsPlaceParamsRequestPlaces:"mergedPersonSourceOptions.placeParams.requestPlaces",oauth_token:"oauth_token",objectTypesRestricts:"objectTypesRestricts",options:"options",orderBy:"orderBy",pageSize:"pageSize",pageToken:"pageToken",pagingOptionsPageSize:"pagingOptions.pageSize",
pagingOptionsPageToken:"pagingOptions.pageToken",peopleType:"peopleType",personAttribute:"personAttribute",personExpansion:"personExpansion",personId:"personId",photoOptionsMaxHeight:"photoOptions.maxHeight",photoOptionsMaxWidth:"photoOptions.maxWidth",placeParamsRequestPlaces:"placeParams.requestPlaces",postPhotoMutateReadOption:"postPhotoMutateReadOption",prefixQuery:"prefixQuery",prettyPrint:"prettyPrint",profileId:"profileId",profileLookupOptionsEmailLookupOption:"profileLookupOptions.emailLookupOption",
profileLookupOptionsExcludeGaiaAccountTypes:"profileLookupOptions.excludeGaiaAccountTypes",profileLookupOptionsUseTrustedClientPhoneLookupQuota:"profileLookupOptions.useTrustedClientPhoneLookupQuota",query:"query",quotaFilterType:"quotaFilterType",quotaLimitBehavior:"quotaLimitBehavior",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"},cL=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new pfc(b,c)};
cL.prototype.list=function(a,b){a=void 0===a?{}:a;b=void 0===b?{}:b;return rfc(this.$apiClient,{body:null,httpMethod:"GET",methodId:"people_pa.people.lookup.list",path:"/"+this.gapiVersion+"/people/lookup",queryParams:Tza(a,wic,b)})};cL.\u0275fac=function(a){return new (a||cL)(t(uic,8),t(vic),t(nfc,8))};cL.\u0275prov=yc({token:cL,factory:cL.\u0275fac});var xic=function(){};xic.\u0275fac=function(a){return new (a||xic)};xic.\u0275prov=yc({token:xic,factory:function(a){return cL.\u0275fac(a)},providedIn:bL});
var dL=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new pfc(b,c)};dL.\u0275fac=function(a){return new (a||dL)(t(uic,8),t(vic),t(nfc,8))};dL.\u0275prov=yc({token:dL,factory:dL.\u0275fac});var yic=function(){};yic.\u0275fac=function(a){return new (a||yic)};yic.\u0275prov=yc({token:yic,factory:function(a){return dL.\u0275fac(a)},providedIn:bL});var JBa=/.*@google.com/,zic=new ad("onedevPeopleServiceConfig"),Aic={},eL=function(a,b,c){var d=this;this.lookupApiClient=a;this.destroy$=new D.Subject;this.config=Aic;c&&c.pipe(bf(function(e){window.gapi&&e.accessToken&&window.gapi.auth.setToken({access_token:e.accessToken})}),af(this.destroy$)).subscribe({next:function(e){d.config=e}})},Cic=function(a,b){return Bic(a,[b]).pipe(C(function(c){return c[0]}))},Bic=function(a,b){return a.lookupApiClient.list({id:b,type:"EMAIL",matchType:"EXACT",requestMaskIncludeField:"person.email,person.name,person.photo,person.organization",
requestMaskIncludeContainer:["PROFILE","DOMAIN_PROFILE","CONTACT","DOMAIN_CONTACT","GOOGLE_GROUP"],sources:["PROFILE_SOURCE"],access_token:a.config.accessToken}).pipe(C(function(c){return NBa(b,c)}))};eL.prototype.ngOnDestroy=function(){this.destroy$.next()};eL.\u0275fac=function(a){return new (a||eL)(t(xic),t(yic),t(zic,8))};eL.\u0275prov=yc({token:eL,factory:eL.\u0275fac});var Dic=function(a){this.internalArray_=m(a)};T(Dic,p);f=Dic.prototype;f.getSize=function(){return ft(this,1)};f.setSize=function(a){return V(this,1,a)};f.getWidth=function(){return ft(this,12)};f.setWidth=function(a){return V(this,12,a)};f.getHeight=function(){return ft(this,13)};f.setHeight=function(a){return V(this,13,a)};f.setStretch=function(a){return Vj(this,33,a)};f.setCrop=function(a){return Vj(this,2,a)};f.setCircleCrop=function(a){return Vj(this,51,a)};
f.setImageCrop=function(a){return Vj(this,32,a)};f.setSmartCrop=function(a){return Vj(this,19,a)};f.setSmartCropNoClip=function(a){return Vj(this,52,a)};f.setSmartCropUseFace=function(a){return Vj(this,67,a)};f.setDetectFaces=function(a){Vj(this,80,a)};f.setCenterCrop=function(a){return Vj(this,20,a)};f.setPad=function(a){return Vj(this,60,a)};f.getDownload=function(){return Tj(this,3,!1)};f.setDownload=function(a){Vj(this,3,a)};f.setHtml=function(a){Vj(this,4,a)};
f.getObjectId=function(){return Yb(this,7)};f.setObjectId=function(a){V(this,7,a)};f.setLooseFaceCrop=function(a){return Vj(this,65,a)};f.setFaceCropVersion=function(a){V(this,94,a)};f.setFrameId=function(a){V(this,29,a)};f.setTileX=function(a){V(this,9,a)};f.setTileY=function(a){V(this,10,a)};f.setTileZoom=function(a){V(this,11,a)};f.setTileGeneration=function(a){Vj(this,14,a)};f.setForceTileGeneration=function(a){Vj(this,34,a)};f.setTilePyramidAsProto=function(a){Vj(this,72,a)};
f.setExpirationTime=function(a){V(this,15,a)};f.setImageFilter=function(a){return sk(this,16,a)};f.setKillAnimation=function(a){return Vj(this,17,a)};f.setUnfiltered=function(a){Vj(this,18,a)};f.setUnfilteredWithTransforms=function(a){Vj(this,45,a)};f.setIncludeMetadata=function(a){Vj(this,22,a)};f.setIncludePublicMetadata=function(a){Vj(this,54,a)};f.setStripGoogleData=function(a){Vj(this,82,a)};f.setPreserveGoogleData=function(a){Vj(this,83,a)};f.setStripMetadata=function(a){Vj(this,93,a)};
f.setStripGeoinfo=function(a){Vj(this,95,a)};f.setEsPortraitApprovedOnly=function(a){return Vj(this,21,a)};f.setBypassTakedown=function(a){Vj(this,23,a)};f.getToken=function(){return Z(this,24)};f.setToken=function(a){return sk(this,24,a)};f.setVersionedToken=function(a){sk(this,36,a)};f.setSkipRefererCheck=function(a){Vj(this,6,a)};f.getRotate=function(){return ft(this,26)};f.setRotate=function(a){return V(this,26,a)};f.setHorizontalFlip=function(a){Vj(this,30,a)};
f.setVerticalFlip=function(a){Vj(this,31,a)};f.getOverlay=function(){return vr(this,27)};f.setOverlay=function(a){return Vj(this,27,a)};f.setQueryString=function(a){sk(this,28,a)};f.setRequestJpeg=function(a){return Vj(this,57,a)};f.setRequestPng=function(a){return Vj(this,58,a)};f.setRequestGif=function(a){Vj(this,59,a)};f.setRequestAvif=function(a){Vj(this,103,a)};f.setRequestWebp=function(a){return Vj(this,35,a)};f.setRequestWebpUnlessMaybeTransparent=function(a){Vj(this,41,a)};
f.setRequestAnimatedWebp=function(a){Vj(this,64,a)};f.setNoWebp=function(a){Vj(this,48,a)};f.setRequestH264=function(a){return Vj(this,49,a)};f.setLossy=function(a){Vj(this,97,a)};f.setNoOverlay=function(a){return Vj(this,37,a)};f.setBorderSize=function(a){V(this,38,a)};f.setBorderRadius=function(a){V(this,86,a)};f.setBorderColor=function(a){V(this,39,a)};f.getBackgroundColor=function(){return ft(this,87)};f.setBackgroundColor=function(a){V(this,87,a)};f.setPadColor=function(a){V(this,88,a)};
f.setSubstitutionColor=function(a){V(this,89,a)};f.setNoSilhouette=function(a){Vj(this,40,a)};f.setFocusBlur=function(a){V(this,42,a)};f.setFocalPlane=function(a){V(this,43,a)};f.setQualityLevel=function(a){return V(this,44,a)};f.setQualityBucket=function(a){return V(this,62,a)};f.setNoUpscale=function(a){Vj(this,46,a)};f.setPreserveAspectRatio=function(a){Vj(this,61,a)};f.setForceTransformation=function(a){Vj(this,50,a)};f.setNoDefaultImage=function(a){Vj(this,53,a)};
f.setNoCorrectExifOrientation=function(a){Vj(this,55,a)};f.setSelectFrameNumber=function(a){V(this,56,a)};f.setVideoFormat=function(a){V(this,63,a)};f.setVideoMultiFormat=function(a){sk(this,81,a)};f.setVideoManifest=function(a){Vj(this,98,a)};f.setDownloadVideo=function(a){Vj(this,90,a)};f.setVideoBegin=function(a){V(this,68,a)};f.setVideoLength=function(a){V(this,69,a)};f.setMatchVersion=function(a){Vj(this,66,a)};f.setImageDigest=function(a){Vj(this,70,a)};
f.setInternalClient=function(a){V(this,71,a)};f.setMonogram=function(a){Vj(this,73,a)};f.setForceMonogram=function(a){return Vj(this,84,a)};f.setMonogramDogfood=function(a){Vj(this,91,a)};f.setIgnoreLowResProfilePhoto=function(a){Vj(this,96,a)};f.setAutoloop=function(a){Vj(this,74,a)};f.getImageVersion=function(){return Yb(this,75)};f.setImageVersion=function(a){V(this,75,a)};f.setPitchDegrees=function(a){V(this,76,Xa(a))};f.setYawDegrees=function(a){V(this,77,Xa(a))};
f.setRollDegrees=function(a){V(this,78,Xa(a))};f.setFovDegrees=function(a){V(this,79,Xa(a))};f.setBadge=function(a){V(this,85,a)};f.setColorProfile=function(a){V(this,92,a)};f.setDeepCrop=function(a){sk(this,99,a)};f.setRequestVideoFast=function(a){Vj(this,100,a)};f.setVideoFormatFilters=function(a){sk(this,102,a)};f.setDummyCacheKeyModifier=function(a){Vj(this,104,a)};f.setGainMap=function(a){Vj(this,105,a)};
f.toObject=function(){if(null!=this){r(this);var a={size:n(ft(this,1)),width:n(ft(this,12)),height:n(ft(this,13)),stretch:n(vr(this,33)),crop:Tj(this,2,!1),circleCrop:n(vr(this,51)),imageCrop:n(vr(this,32)),smartCrop:Tj(this,19,!1),smartCropNoClip:Tj(this,52,!1),smartCropUseFace:Tj(this,67,!1),detectFaces:n(vr(this,80)),centerCrop:Tj(this,20,!1),pad:n(vr(this,60)),download:Tj(this,3,!1),html:Tj(this,4,!1),objectId:n(Yb(this,7)),looseFaceCrop:n(vr(this,65)),faceCropVersion:n(ft(this,94)),frameId:n(Yb(this,
29)),imageUrlDomain:Rh(this,8,0),tileX:n(ft(this,9)),tileY:n(ft(this,10)),tileZoom:n(ft(this,11)),tileGeneration:Tj(this,14,!1),forceTileGeneration:Tj(this,34,!1),tilePyramidAsProto:Tj(this,72,!1),expirationTime:n(ft(this,15)),imageFilter:n(Z(this,16)),killAnimation:n(vr(this,17)),unfiltered:n(vr(this,18)),unfilteredWithTransforms:n(vr(this,45)),includeMetadata:n(vr(this,22)),includePublicMetadata:n(vr(this,54)),stripGoogleData:n(vr(this,82)),preserveGoogleData:n(vr(this,83)),stripMetadata:n(vr(this,
93)),stripGeoinfo:n(vr(this,95)),esPortraitApprovedOnly:n(vr(this,21)),bypassTakedown:Tj(this,23,!1),token:n(Z(this,24)),versionedToken:n(Z(this,36)),skipRefererCheck:Tj(this,6,!1),rotate:n(ft(this,26)),horizontalFlip:n(vr(this,30)),verticalFlip:n(vr(this,31)),overlay:n(vr(this,27)),queryString:n(Z(this,28)),requestJpeg:n(vr(this,57)),requestPng:n(vr(this,58)),requestGif:n(vr(this,59)),requestAvif:Tj(this,103,!1),requestWebp:Tj(this,35,!1),requestWebpUnlessMaybeTransparent:Tj(this,41,!1),requestAnimatedWebp:Tj(this,
64,!1),noWebp:Tj(this,48,!1),requestH264:Tj(this,49,!1),lossy:n(vr(this,97)),noOverlay:Tj(this,37,!1),borderSize:n(ft(this,38)),borderRadius:n(ft(this,86)),borderColor:n(ft(this,39)),backgroundColor:n(ft(this,87)),padColor:n(ft(this,88)),substitutionColor:n(ft(this,89)),noSilhouette:n(vr(this,40)),focusBlur:n(ft(this,42)),focalPlane:n(ft(this,43)),qualityLevel:n(ft(this,44)),qualityBucket:n(ft(this,62)),noUpscale:n(vr(this,46)),preserveAspectRatio:n(vr(this,61)),forceTransformation:n(vr(this,50)),
noDefaultImage:n(vr(this,53)),noCorrectExifOrientation:n(vr(this,55)),selectFrameNumber:n(ft(this,56)),videoFormat:n(ft(this,63)),videoMultiFormat:n(Z(this,81)),videoManifest:n(vr(this,98)),downloadVideo:n(vr(this,90)),videoBegin:n(Yb(this,68)),videoLength:n(Yb(this,69)),matchVersion:n(vr(this,66)),imageDigest:n(vr(this,70)),internalClient:n(ft(this,71)),monogram:n(vr(this,73)),forceMonogram:n(vr(this,84)),monogramDogfood:n(vr(this,91)),ignoreLowResProfilePhoto:n(vr(this,96)),autoloop:n(vr(this,74)),
imageVersion:n(Yb(this,75)),pitchDegrees:n(Ho(this,76)),yawDegrees:n(Ho(this,77)),rollDegrees:n(Ho(this,78)),fovDegrees:n(Ho(this,79)),badge:n(ft(this,85)),colorProfile:n(ft(this,92)),deepCrop:n(Z(this,99)),requestVideoFast:n(vr(this,100)),videoFormatFilters:n(Z(this,102)),dummyCacheKeyModifier:n(vr(this,104)),gainMap:n(vr(this,105))}}else a=void 0;return a};var fL=function(a){this.value_=void 0;this.childNodes_={};a&&this.setAll(a)};fL.prototype.set=function(a,b){Eic(this,a,b,!1)};fL.prototype.add=function(a,b){Eic(this,a,b,!0)};var Eic=function(a,b,c,d){for(var e=0;e<b.length;e++){var g=b.charAt(e);a.childNodes_[g]||(a.childNodes_[g]=new fL);a=a.childNodes_[g]}if(d&&void 0!==a.value_)throw Error("Qc`"+b);a.value_=c};fL.prototype.setAll=function(a){var b=w5b(a);a=MD(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};
var Fic=function(a,b){for(var c=0;c<b.length;c++)if(a=a.childNodes_[b.charAt(c)],!a)return;return a};fL.prototype.get=function(a){return(a=Fic(this,a))?a.value_:void 0};fL.prototype.getValues=function(){var a=[];Gic(this,a);return a};var Gic=function(a,b){void 0!==a.value_&&b.push(a.value_);for(var c in a.childNodes_)Gic(a.childNodes_[c],b)};
fL.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]}Hic(c,a,b)}else Hic(this,"",b);return b};var Hic=function(a,b,c){void 0!==a.value_&&c.push(b);for(var d in a.childNodes_)Hic(a.childNodes_[d],b+d,c)};f=fL.prototype;f.containsKey=function(a){return void 0!==this.get(a)};
f.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};f.clear=function(){this.childNodes_={};this.value_=void 0};f.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("Rc`"+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};
f.clone=function(){return new fL(this)};f.getCount=function(){return v5b(this.getValues())};f.isEmpty=function(){return void 0===this.value_&&bc(this.childNodes_)};var Kic=function(){if(!Iic){var a=Iic=new fL,b;for(b in Jic)a.add(b,Jic[b])}},Iic,gL=function(a,b){this.types=a;this.setters=b},Jic={a:new gL([3,0],[function(a,b){a.setEsPortraitApprovedOnly(b)},function(a,b){a.setSelectFrameNumber(b)}]),al:new gL([3],[function(a,b){a.setAutoloop(b)}]),b:new gL([3,0],[function(a,b){a.setBypassTakedown(b)},function(a,b){a.setBorderSize(b)}]),ba:new gL([0],[function(a,b){a.setBadge(b)}]),bc:new gL([0],[function(a,b){a.setBackgroundColor(b)}]),br:new gL([0],[function(a,
b){a.setBorderRadius(b)}]),c:new gL([3,0],[function(a,b){a.setCrop(b)},function(a,b){a.setBorderColor(b)}]),cc:new gL([3],[function(a,b){a.setCircleCrop(b)}]),ci:new gL([3],[function(a,b){a.setImageCrop(b)}]),ckm:new gL([3],[function(a,b){a.setDummyCacheKeyModifier(b)}]),cp:new gL([0],[function(a,b){a.setColorProfile(b)}]),cv:new gL([0],[function(a,b){a.setFaceCropVersion(b)}]),d:new gL([3],[function(a,b){a.setDownload(b)}]),dc:new gL([5],[function(a,b){a.setDeepCrop(b)}]),df:new gL([3],[function(a,
b){a.setDetectFaces(b)}]),dv:new gL([3],[function(a,b){a.setDownloadVideo(b)}]),e:new gL([0],[function(a,b){a.setExpirationTime(b)}]),f:new gL([4],[function(a,b){a.setImageFilter(b)}]),fg:new gL([3],[function(a,b){a.setForceTileGeneration(b)}]),fh:new gL([3],[function(a,b){a.setHorizontalFlip(b)}]),fm:new gL([3],[function(a,b){a.setForceMonogram(b)}]),fo:new gL([2],[function(a,b){a.setFovDegrees(b)}]),ft:new gL([3],[function(a,b){a.setForceTransformation(b)}]),fv:new gL([3],[function(a,b){a.setVerticalFlip(b)}]),
g:new gL([3],[function(a,b){a.setTileGeneration(b)}]),gd:new gL([3],[function(a,b){a.setPreserveGoogleData(b)}]),gm:new gL([3],[function(a,b){a.setGainMap(b)}]),h:new gL([3,0],[function(a,b){a.setHtml(b)},function(a,b){a.setHeight(b)}]),i:new gL([3],[function(a,b){a.setIncludeMetadata(b)}]),ic:new gL([0],[function(a,b){a.setInternalClient(b)}]),id:new gL([3],[function(a,b){a.setImageDigest(b)}]),il:new gL([3],[function(a,b){a.setIgnoreLowResProfilePhoto(b)}]),ip:new gL([3],[function(a,b){a.setIncludePublicMetadata(b)}]),
iv:new gL([0],[function(a,b){a.setImageVersion(b)}]),j:new gL([1],[function(a,b){a.setFrameId(b)}]),k:new gL([3,0],[function(a,b){a.setKillAnimation(b)},function(a,b){a.setFocusBlur(b)}]),l:new gL([0],[function(a,b){a.setQualityLevel(b)}]),lf:new gL([3],[function(a,b){a.setLooseFaceCrop(b)}]),lo:new gL([3],[function(a,b){a.setLossy(b)}]),m:new gL([0],[function(a,b){a.setVideoFormat(b)}]),md:new gL([3],[function(a,b){a.setMonogramDogfood(b)}]),mm:new gL([4],[function(a,b){a.setVideoMultiFormat(b)}]),
mo:new gL([3],[function(a,b){a.setMonogram(b)}]),mv:new gL([3],[function(a,b){a.setMatchVersion(b)}]),n:new gL([3],[function(a,b){a.setCenterCrop(b)}]),nc:new gL([3],[function(a,b){a.setNoCorrectExifOrientation(b)}]),nd:new gL([3],[function(a,b){a.setNoDefaultImage(b)}]),ng:new gL([3],[function(a,b){a.setStripGeoinfo(b)}]),no:new gL([3],[function(a,b){a.setNoOverlay(b)}]),ns:new gL([3],[function(a,b){a.setNoSilhouette(b)}]),nt0:new gL([4],[function(a,b){a.setVersionedToken(b)}]),nu:new gL([3],[function(a,
b){a.setNoUpscale(b)}]),nw:new gL([3],[function(a,b){a.setNoWebp(b)}]),o:new gL([1,3],[function(a,b){a.setObjectId(b)},function(a,b){a.setOverlay(b)}]),p:new gL([3,0],[function(a,b){a.setSmartCrop(b)},function(a,b){a.setFocalPlane(b)}]),pa:new gL([3],[function(a,b){a.setPreserveAspectRatio(b)}]),pc:new gL([0],[function(a,b){a.setPadColor(b)}]),pd:new gL([3],[function(a,b){a.setPad(b)}]),pf:new gL([3],[function(a,b){a.setSmartCropUseFace(b)}]),pg:new gL([3],[function(a,b){a.setTilePyramidAsProto(b)}]),
pi:new gL([2],[function(a,b){a.setPitchDegrees(b)}]),pp:new gL([3],[function(a,b){a.setSmartCropNoClip(b)}]),q:new gL([4],[function(a,b){a.setQueryString(b)}]),r:new gL([3,0],[function(a,b){a.setSkipRefererCheck(b)},function(a,b){a.setRotate(b)}]),ra:new gL([3],[function(a,b){a.setRequestAvif(b)}]),rf:new gL([3],[function(a,b){a.setRequestVideoFast(b)}]),rg:new gL([3],[function(a,b){a.setRequestGif(b)}]),rh:new gL([3],[function(a,b){a.setRequestH264(b)}]),rj:new gL([3],[function(a,b){a.setRequestJpeg(b)}]),
ro:new gL([2],[function(a,b){a.setRollDegrees(b)}]),rp:new gL([3],[function(a,b){a.setRequestPng(b)}]),rw:new gL([3],[function(a,b){a.setRequestWebp(b)}]),rwa:new gL([3],[function(a,b){a.setRequestAnimatedWebp(b)}]),rwu:new gL([3],[function(a,b){a.setRequestWebpUnlessMaybeTransparent(b)}]),s:new gL([3,0],[function(a,b){a.setStretch(b)},function(a,b){a.setSize(b)}]),sc:new gL([0],[function(a,b){a.setSubstitutionColor(b)}]),sg:new gL([3],[function(a,b){a.setStripGoogleData(b)}]),sm:new gL([3],[function(a,
b){a.setStripMetadata(b)}]),t:new gL([4],[function(a,b){a.setToken(b)}]),u:new gL([3],[function(a,b){a.setUnfiltered(b)}]),ut:new gL([3],[function(a,b){a.setUnfilteredWithTransforms(b)}]),v:new gL([0],[function(a,b){a.setQualityBucket(b)}]),vb:new gL([0],[function(a,b){a.setVideoBegin(b)}]),vf:new gL([4],[function(a,b){a.setVideoFormatFilters(b)}]),vl:new gL([0],[function(a,b){a.setVideoLength(b)}]),vm:new gL([3],[function(a,b){a.setVideoManifest(b)}]),w:new gL([0],[function(a,b){a.setWidth(b)}]),
x:new gL([0],[function(a,b){a.setTileX(b)}]),y:new gL([0],[function(a,b){a.setTileY(b)}]),ya:new gL([2],[function(a,b){a.setYawDegrees(b)}]),z:new gL([0],[function(a,b){a.setTileZoom(b)}])};
Kic.prototype.parse=function(a){var b=new Dic,c=new Dic;if(""==a)a=!0;else{a=a.split("-");for(var d=!0,e=0;e<a.length;e++){var g=a[e];if(0==g.length)d=!1;else{var h=g,l=!1;var q=h;var v=h.charAt(0);v!=v.toLowerCase()&&(l=!0,q=h.charAt(0).toLowerCase()+h.substring(1));var x=Iic;for(v=1;v<=q.length;++v){var A=x,G=q.substring(0,v);if(0==G.length?A.isEmpty():!Fic(A,G))break}q=1==v?null:(q=x.get(q.substring(0,v-1)))?{option:h.substring(0,v-1),value:h.substring(v-1),signed:l,attributes:q}:null;if(q){h=
[];l=[];v=!1;for(x=0;x<q.attributes.types.length;x++){A=q.attributes.types[x];var M=q.value;G=e;if(q.signed&&1==A)for(var Q=M.length;12>Q&&G<a.length-1;)M+="-"+a[G+1],Q=M.length,++G;else if(2==A)for(;G<a.length-1&&a[G+1].match(/^[\d\.]/);)M+="-"+a[G+1],++G;Q=q.attributes.setters[x];M=Lic(this,A)(q.option,M,b,c,Q);if(null===M){v=!0;e=G;break}else h.push(A),l.push(M)}if(!v)for(q=0;q<l.length;q++)x=h[q],M=l[q],Mic(this,x)(g,M);d=d&&v}else d=!1}}a=d}return new Nic(b,c,a)};
var Oic=function(a,b,c,d,e,g){e(c,b);a=a.charAt(0);g=g(a==a.toUpperCase());e(d,g)};f=Kic.prototype;f.parseAndSetIntOption_=function(a,b,c,d,e){if(""==b)return 0;b=bi(b);if(isNaN(b))return 1;Oic(a,b,c,d,e,Number);return null};f.logIntParseError_=function(){};f.parseAndSetFloatOption_=function(a,b,c,d,e){if(""==b)return 0;b=gi(b);if(isNaN(b))return 1;Oic(a,b,c,d,e,Number);return null};f.logFloatParseError_=function(){};
f.parseAndSetBoolOption_=function(a,b,c,d,e){if(""!=b)return 2;Oic(a,!0,c,d,e,Boolean);return null};f.logBoolParseError_=function(){};f.parseAndSetStringOption_=function(a,b,c,d,e){if(""==b)return 0;Oic(a,b,c,d,e,function(g){return g?"1":""});return null};f.logStringParseError_=function(){};f.parseAndSetUint64Base64Option_=function(a,b,c,d,e){if(""==b)return 0;Oic(a,b,c,d,e,function(g){return g?1:0});return null};
var Lic=function(a,b){switch(b){case 0:return Ls(a.parseAndSetIntOption_,a);case 2:return Ls(a.parseAndSetFloatOption_,a);case 3:return Ls(a.parseAndSetBoolOption_,a);case 4:return Ls(a.parseAndSetStringOption_,a);case 1:return Ls(a.parseAndSetUint64Base64Option_,a);default:return function(){}}},Mic=function(a,b){switch(b){case 0:return Ls(a.logIntParseError_,a);case 2:return Ls(a.logFloatParseError_,a);case 3:return Ls(a.logBoolParseError_,a);case 4:case 1:return Ls(a.logStringParseError_,a);default:return function(){}}},
Nic=function(a,b,c){this.valueProto_=a;this.signatureFlagProto_=b;this.valid_=c};Nic.prototype.isValid=function(){return this.valid_};var Pic=function(a,b){null!=a&&this.append.apply(this,arguments)};f=Pic.prototype;f.buffer_="";f.set=function(a){this.buffer_=""+a};f.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};f.clear=function(){this.buffer_=""};f.getLength=function(){return this.buffer_.length};f.toString=function(){return this.buffer_};var Ric=function(a){this.parser_=null;this.components_=[];this.parsedOptions_=null;Qic(this,a)};Ric.prototype.getParsedOptions=function(){return this.parsedOptions_};var Sic=function(a){null==a.parser_&&(a.parser_=new Kic);return a.parser_},Qic=function(a,b){a.parsedOptions_=b?"string"===typeof b?Sic(a).parse(b):b:Sic(a).parse("")},hL=function(a,b){return a==b?!1:!0};f=Ric.prototype;
f.setEsPortraitApprovedOnly=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,21),vr(b.signatureFlagProto_,21))&&c.setEsPortraitApprovedOnly(a);return this};f.setSelectFrameNumber=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,56),ft(b.signatureFlagProto_,56))&&c.setSelectFrameNumber(a)};f.setAutoloop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,74),vr(b.signatureFlagProto_,74))&&c.setAutoloop(a)};
f.setBypassTakedown=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,23,!1),Tj(b.signatureFlagProto_,23,!1))&&c.setBypassTakedown(a)};f.setBorderSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,38),ft(b.signatureFlagProto_,38))&&c.setBorderSize(a)};f.setBadge=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,85),ft(b.signatureFlagProto_,85))&&c.setBadge(a)};
f.setBackgroundColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,c.getBackgroundColor(),b.signatureFlagProto_.getBackgroundColor())&&c.setBackgroundColor(a)};f.setBorderRadius=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,86),ft(b.signatureFlagProto_,86))&&c.setBorderRadius(a)};f.setCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,2,!1),Tj(b.signatureFlagProto_,2,!1))&&c.setCrop(a);return this};
f.setBorderColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,39),ft(b.signatureFlagProto_,39))&&c.setBorderColor(a)};f.setCircleCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,51),vr(b.signatureFlagProto_,51))&&c.setCircleCrop(a);return this};f.setImageCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,32),vr(b.signatureFlagProto_,32))&&c.setImageCrop(a);return this};
f.setDummyCacheKeyModifier=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,104),vr(b.signatureFlagProto_,104))&&c.setDummyCacheKeyModifier(a)};f.setColorProfile=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,92),ft(b.signatureFlagProto_,92))&&c.setColorProfile(a)};f.setFaceCropVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,94),ft(b.signatureFlagProto_,94))&&c.setFaceCropVersion(a)};
f.setDownload=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,c.getDownload(),b.signatureFlagProto_.getDownload())&&c.setDownload(a)};f.setDeepCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Z(c,99),Z(b.signatureFlagProto_,99))&&c.setDeepCrop(a)};f.setDetectFaces=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,80),vr(b.signatureFlagProto_,80))&&c.setDetectFaces(a)};
f.setDownloadVideo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,90),vr(b.signatureFlagProto_,90))&&c.setDownloadVideo(a)};f.setExpirationTime=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,15),ft(b.signatureFlagProto_,15))&&c.setExpirationTime(a)};f.setImageFilter=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Z(c,16),Z(b.signatureFlagProto_,16))&&c.setImageFilter(a);return this};
f.setForceTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,34,!1),Tj(b.signatureFlagProto_,34,!1))&&c.setForceTileGeneration(a)};f.setHorizontalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,30),vr(b.signatureFlagProto_,30))&&c.setHorizontalFlip(a)};f.setForceMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,84),vr(b.signatureFlagProto_,84))&&c.setForceMonogram(a);return this};
f.setFovDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,Ho(c,79),Ho(b.signatureFlagProto_,79))&&c.setFovDegrees(a)};f.setForceTransformation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,50),vr(b.signatureFlagProto_,50))&&c.setForceTransformation(a)};f.setVerticalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,31),vr(b.signatureFlagProto_,31))&&c.setVerticalFlip(a)};
f.setTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,14,!1),Tj(b.signatureFlagProto_,14,!1))&&c.setTileGeneration(a)};f.setPreserveGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,83),vr(b.signatureFlagProto_,83))&&c.setPreserveGoogleData(a)};f.setGainMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,105),vr(b.signatureFlagProto_,105))&&c.setGainMap(a)};
f.setHtml=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,4,!1),Tj(b.signatureFlagProto_,4,!1))&&c.setHtml(a)};f.setHeight=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,c.getHeight(),b.signatureFlagProto_.getHeight())&&c.setHeight(a);return this};f.setIncludeMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,22),vr(b.signatureFlagProto_,22))&&c.setIncludeMetadata(a)};
f.setInternalClient=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,71),ft(b.signatureFlagProto_,71))&&c.setInternalClient(a)};f.setImageDigest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,70),vr(b.signatureFlagProto_,70))&&c.setImageDigest(a)};f.setIgnoreLowResProfilePhoto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,96),vr(b.signatureFlagProto_,96))&&c.setIgnoreLowResProfilePhoto(a)};
f.setIncludePublicMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,54),vr(b.signatureFlagProto_,54))&&c.setIncludePublicMetadata(a)};f.setImageVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,c.getImageVersion(),b.signatureFlagProto_.getImageVersion())&&c.setImageVersion(a)};f.setFrameId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Yb(c,29),Yb(b.signatureFlagProto_,29))&&c.setFrameId(a)};
f.setKillAnimation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,17),vr(b.signatureFlagProto_,17))&&c.setKillAnimation(a);return this};f.setFocusBlur=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,42),ft(b.signatureFlagProto_,42))&&c.setFocusBlur(a)};f.setQualityLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,44),ft(b.signatureFlagProto_,44))&&c.setQualityLevel(a);return this};
f.setLooseFaceCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,65),vr(b.signatureFlagProto_,65))&&c.setLooseFaceCrop(a);return this};f.setLossy=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,97),vr(b.signatureFlagProto_,97))&&c.setLossy(a)};f.setVideoFormat=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,63),ft(b.signatureFlagProto_,63))&&c.setVideoFormat(a)};
f.setMonogramDogfood=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,91),vr(b.signatureFlagProto_,91))&&c.setMonogramDogfood(a)};f.setVideoMultiFormat=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Z(c,81),Z(b.signatureFlagProto_,81))&&c.setVideoMultiFormat(a)};f.setMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,73),vr(b.signatureFlagProto_,73))&&c.setMonogram(a)};
f.setMatchVersion=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,66),vr(b.signatureFlagProto_,66))&&c.setMatchVersion(a)};f.setCenterCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,20,!1),Tj(b.signatureFlagProto_,20,!1))&&c.setCenterCrop(a);return this};f.setNoCorrectExifOrientation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,55),vr(b.signatureFlagProto_,55))&&c.setNoCorrectExifOrientation(a)};
f.setNoDefaultImage=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,53),vr(b.signatureFlagProto_,53))&&c.setNoDefaultImage(a)};f.setStripGeoinfo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,95),vr(b.signatureFlagProto_,95))&&c.setStripGeoinfo(a)};f.setNoOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,37,!1),Tj(b.signatureFlagProto_,37,!1))&&c.setNoOverlay(a);return this};
f.setNoSilhouette=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,40),vr(b.signatureFlagProto_,40))&&c.setNoSilhouette(a)};f.setVersionedToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Z(c,36),Z(b.signatureFlagProto_,36))&&c.setVersionedToken(a)};f.setNoUpscale=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,46),vr(b.signatureFlagProto_,46))&&c.setNoUpscale(a)};
f.setNoWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,48,!1),Tj(b.signatureFlagProto_,48,!1))&&c.setNoWebp(a)};f.setObjectId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,c.getObjectId(),b.signatureFlagProto_.getObjectId())&&c.setObjectId(a)};f.setOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,c.getOverlay(),b.signatureFlagProto_.getOverlay())&&c.setOverlay(a);return this};
f.setSmartCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,19,!1),Tj(b.signatureFlagProto_,19,!1))&&c.setSmartCrop(a);return this};f.setFocalPlane=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,43),ft(b.signatureFlagProto_,43))&&c.setFocalPlane(a)};f.setPreserveAspectRatio=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,61),vr(b.signatureFlagProto_,61))&&c.setPreserveAspectRatio(a)};
f.setPadColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,88),ft(b.signatureFlagProto_,88))&&c.setPadColor(a)};f.setPad=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,60),vr(b.signatureFlagProto_,60))&&c.setPad(a);return this};f.setSmartCropUseFace=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,67,!1),Tj(b.signatureFlagProto_,67,!1))&&c.setSmartCropUseFace(a);return this};
f.setTilePyramidAsProto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,72,!1),Tj(b.signatureFlagProto_,72,!1))&&c.setTilePyramidAsProto(a)};f.setPitchDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,Ho(c,76),Ho(b.signatureFlagProto_,76))&&c.setPitchDegrees(a)};f.setSmartCropNoClip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,52,!1),Tj(b.signatureFlagProto_,52,!1))&&c.setSmartCropNoClip(a);return this};
f.setQueryString=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Z(c,28),Z(b.signatureFlagProto_,28))&&c.setQueryString(a)};f.setSkipRefererCheck=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,6,!1),Tj(b.signatureFlagProto_,6,!1))&&c.setSkipRefererCheck(a)};f.setRotate=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,c.getRotate(),b.signatureFlagProto_.getRotate())&&c.setRotate(a);return this};
f.setRequestAvif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,103,!1),Tj(b.signatureFlagProto_,103,!1))&&c.setRequestAvif(a)};f.setRequestVideoFast=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,100),vr(b.signatureFlagProto_,100))&&c.setRequestVideoFast(a)};f.setRequestGif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,59),vr(b.signatureFlagProto_,59))&&c.setRequestGif(a)};
f.setRequestH264=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,49,!1),Tj(b.signatureFlagProto_,49,!1))&&c.setRequestH264(a);return this};f.setRequestJpeg=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,57),vr(b.signatureFlagProto_,57))&&c.setRequestJpeg(a);return this};f.setRollDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,Ho(c,78),Ho(b.signatureFlagProto_,78))&&c.setRollDegrees(a)};
f.setRequestPng=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,58),vr(b.signatureFlagProto_,58))&&c.setRequestPng(a);return this};f.setRequestWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,35,!1),Tj(b.signatureFlagProto_,35,!1))&&c.setRequestWebp(a);return this};f.setRequestAnimatedWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,64,!1),Tj(b.signatureFlagProto_,64,!1))&&c.setRequestAnimatedWebp(a)};
f.setRequestWebpUnlessMaybeTransparent=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Tj(c,41,!1),Tj(b.signatureFlagProto_,41,!1))&&c.setRequestWebpUnlessMaybeTransparent(a)};f.setStretch=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,33),vr(b.signatureFlagProto_,33))&&c.setStretch(a);return this};f.setSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,c.getSize(),b.signatureFlagProto_.getSize())&&c.setSize(a);return this};
f.setSubstitutionColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,89),ft(b.signatureFlagProto_,89))&&c.setSubstitutionColor(a)};f.setStripGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,82),vr(b.signatureFlagProto_,82))&&c.setStripGoogleData(a)};f.setStripMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,93),vr(b.signatureFlagProto_,93))&&c.setStripMetadata(a)};
f.setToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,c.getToken(),b.signatureFlagProto_.getToken())&&c.setToken(a);return this};f.setUnfiltered=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,18),vr(b.signatureFlagProto_,18))&&c.setUnfiltered(a)};f.setUnfilteredWithTransforms=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,45),vr(b.signatureFlagProto_,45))&&c.setUnfilteredWithTransforms(a)};
f.setQualityBucket=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,62),ft(b.signatureFlagProto_,62))&&c.setQualityBucket(a);return this};f.setVideoBegin=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,Yb(c,68),Yb(b.signatureFlagProto_,68))&&c.setVideoBegin(a)};f.setVideoFormatFilters=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,Z(c,102),Z(b.signatureFlagProto_,102))&&c.setVideoFormatFilters(a)};
f.setVideoLength=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,Yb(c,69),Yb(b.signatureFlagProto_,69))&&c.setVideoLength(a)};f.setVideoManifest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;hL(a,vr(c,98),vr(b.signatureFlagProto_,98))&&c.setVideoManifest(a)};f.setWidth=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,c.getWidth(),b.signatureFlagProto_.getWidth())&&c.setWidth(a);return this};
f.setTileX=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,9),ft(b.signatureFlagProto_,9))&&c.setTileX(a)};f.setTileY=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,10),ft(b.signatureFlagProto_,10))&&c.setTileY(a)};f.setYawDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,Ho(c,77),Ho(b.signatureFlagProto_,77))&&c.setYawDegrees(a)};f.setTileZoom=function(a){var b=this.parsedOptions_,c=b.valueProto_;hL(a,ft(c,11),ft(b.signatureFlagProto_,11))&&c.setTileZoom(a)};
f.setOptions=function(a){Qic(this,a)};
f.build=function(){this.components_.length=0;var a=this.parsedOptions_,b=a.valueProto_;a=a.signatureFlagProto_;iL(this,"s",b.getSize(),a.getSize());iL(this,"w",b.getWidth(),a.getWidth());jL(this,"c",Tj(b,2,!1),Tj(a,2,!1));jL(this,"d",b.getDownload(),a.getDownload());iL(this,"h",b.getHeight(),a.getHeight());jL(this,"s",vr(b,33),vr(a,33));jL(this,"h",Tj(b,4,!1),Tj(a,4,!1));jL(this,"p",Tj(b,19,!1),Tj(a,19,!1));jL(this,"pp",Tj(b,52,!1),Tj(a,52,!1));jL(this,"pf",Tj(b,67,!1),Tj(a,67,!1));jL(this,"n",Tj(b,
20,!1),Tj(a,20,!1));iL(this,"r",b.getRotate(),a.getRotate());jL(this,"r",Tj(b,6,!1),Tj(a,6,!1));jL(this,"o",b.getOverlay(),a.getOverlay());var c=b.getObjectId();kL(this,"o",c,a.getObjectId());c=Yb(b,29);kL(this,"j",c,Yb(a,29));iL(this,"x",ft(b,9),ft(a,9));iL(this,"y",ft(b,10),ft(a,10));iL(this,"z",ft(b,11),ft(a,11));jL(this,"g",Tj(b,14,!1),Tj(a,14,!1));iL(this,"e",ft(b,15),ft(a,15));kL(this,"f",Z(b,16),Z(a,16));jL(this,"k",vr(b,17),vr(a,17));jL(this,"u",vr(b,18),!0);jL(this,"ut",vr(b,45),!0);jL(this,
"i",vr(b,22),!0);jL(this,"a",vr(b,21),vr(a,21));jL(this,"b",Tj(b,23,!1),Tj(a,23,!1));iL(this,"b",ft(b,38),ft(a,38));iL(this,"c",ft(b,39),ft(a,39),16,8);kL(this,"q",Z(b,28),Z(a,28));jL(this,"fh",vr(b,30),vr(a,30));jL(this,"fv",vr(b,31),vr(a,31));jL(this,"fg",Tj(b,34,!1),Tj(a,34,!1));jL(this,"ci",vr(b,32),vr(a,32));kL(this,"t",b.getToken(),a.getToken());kL(this,"nt0",Z(b,36),Z(a,36));jL(this,"rw",Tj(b,35,!1),Tj(a,35,!1));jL(this,"rwu",Tj(b,41,!1),Tj(a,41,!1));jL(this,"rwa",Tj(b,64,!1),Tj(a,64,!1));
jL(this,"nw",Tj(b,48,!1),Tj(a,48,!1));jL(this,"rh",Tj(b,49,!1),Tj(a,49,!1));jL(this,"no",Tj(b,37,!1),Tj(a,37,!1));jL(this,"ns",vr(b,40),vr(a,40));iL(this,"k",ft(b,42),ft(a,42));iL(this,"p",ft(b,43),ft(a,43));iL(this,"l",ft(b,44),ft(a,44));iL(this,"v",ft(b,62),ft(a,62));jL(this,"nu",vr(b,46),vr(a,46));jL(this,"ft",vr(b,50),vr(a,50));jL(this,"cc",vr(b,51),vr(a,51));jL(this,"nd",vr(b,53),vr(a,53));jL(this,"ip",vr(b,54),vr(a,54));jL(this,"nc",vr(b,55),vr(a,55));iL(this,"a",ft(b,56),ft(a,56));jL(this,
"rj",vr(b,57),vr(a,57));jL(this,"rp",vr(b,58),vr(a,58));jL(this,"rg",vr(b,59),vr(a,59));jL(this,"pd",vr(b,60),vr(a,60));jL(this,"pa",vr(b,61),vr(a,61));iL(this,"m",ft(b,63),ft(a,63));iL(this,"vb",Yb(b,68),Yb(a,68));iL(this,"vl",Yb(b,69),Yb(a,69));jL(this,"lf",vr(b,65),vr(a,65));jL(this,"mv",vr(b,66),vr(a,66));jL(this,"id",vr(b,70),vr(a,70));iL(this,"ic",ft(b,71),!0);jL(this,"pg",Tj(b,72,!1),Tj(a,72,!1));jL(this,"mo",vr(b,73),vr(a,73));jL(this,"al",vr(b,74),vr(a,74));iL(this,"iv",b.getImageVersion(),
a.getImageVersion());iL(this,"pi",Ho(b,76),Ho(a,76));iL(this,"ya",Ho(b,77),Ho(a,77));iL(this,"ro",Ho(b,78),Ho(a,78));iL(this,"fo",Ho(b,79),Ho(a,79));jL(this,"df",vr(b,80),vr(a,80));kL(this,"mm",Z(b,81),Z(a,81));jL(this,"sg",vr(b,82),vr(a,82));jL(this,"gd",vr(b,83),vr(a,83));jL(this,"fm",vr(b,84),vr(a,84));iL(this,"ba",ft(b,85),ft(a,85));iL(this,"br",ft(b,86),ft(a,86));iL(this,"bc",b.getBackgroundColor(),a.getBackgroundColor(),16,8);iL(this,"pc",ft(b,88),ft(a,88),16,8);iL(this,"sc",ft(b,89),ft(a,89),
16,8);jL(this,"dv",vr(b,90),vr(a,90));jL(this,"md",vr(b,91),vr(a,91));iL(this,"cp",ft(b,92),ft(a,92));jL(this,"sm",vr(b,93),vr(a,93));iL(this,"cv",ft(b,94),ft(a,94));jL(this,"ng",vr(b,95),vr(a,95));jL(this,"il",vr(b,96),vr(a,96));jL(this,"lo",vr(b,97),vr(a,97));jL(this,"vm",vr(b,98),vr(a,98));kL(this,"dc",Z(b,99),Z(a,99));jL(this,"rf",vr(b,100),vr(a,100));kL(this,"vf",Z(b,102),Z(a,102));jL(this,"ra",Tj(b,103,!1),Tj(a,103,!1));jL(this,"ckm",vr(b,104),vr(a,104));jL(this,"gm",vr(b,105),vr(a,105));return this.components_.join("-")};
var iL=function(a,b,c,d,e,g){if(null!=c){var h=void 0==e||10!=e&&16!=e?10:e;c=c.toString(h);e=new Pic;e.append(16==h?"0x":"");h=e.append;void 0==g?g="":(g-=c.length,g=0>=g?"":tQb("0",g));h.call(e,g);e.append(c);Tic(a,b,e.toString(),!!d)}},jL=function(a,b,c,d){c&&Tic(a,b,"",!!d)},kL=function(a,b,c,d){c&&Tic(a,b,c,!!d)},Tic=function(a,b,c,d){d&&(b=b.charAt(0).toUpperCase()+b.substring(1));a.components_.push(b+c)};var lL=function(a){Ric.call(this,a)};Ns(lL,Ric);f=lL.prototype;f.setCrop=function(a){a&&mL(this);return lL.superClass_.setCrop.call(this,a)};f.setHeight=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return lL.superClass_.setHeight.call(this,a)};f.setStretch=function(a){a&&mL(this);return lL.superClass_.setStretch.call(this,a)};f.setQualityLevel=function(a){return lL.superClass_.setQualityLevel.call(this,a)};
f.setImageFilter=function(a){a&&(a=a.replace(";",":"));return lL.superClass_.setImageFilter.call(this,a)};f.setImageCrop=function(a){a&&mL(this);return lL.superClass_.setImageCrop.call(this,a)};f.setCircleCrop=function(a){a&&mL(this);return lL.superClass_.setCircleCrop.call(this,a)};f.setSize=function(a){wa(a)&&(a=Math.max(a.width,a.height));a=null==a||0>a?void 0:a;null!=a&&(this.setWidth(),this.setHeight());return lL.superClass_.setSize.call(this,a)};
f.setSmartCrop=function(a){a&&mL(this);return lL.superClass_.setSmartCrop.call(this,a)};f.setSmartCropNoClip=function(a){a&&mL(this);return lL.superClass_.setSmartCropNoClip.call(this,a)};f.setSmartCropUseFace=function(a){a&&mL(this);return lL.superClass_.setSmartCropUseFace.call(this,a)};f.setCenterCrop=function(a){a&&mL(this);return lL.superClass_.setCenterCrop.call(this,a)};f.setPad=function(a){a&&mL(this);return lL.superClass_.setPad.call(this,a)};
f.setWidth=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return lL.superClass_.setWidth.call(this,a)};var mL=function(a){a.setCenterCrop();a.setCircleCrop();a.setCrop();a.setImageCrop();a.setPad();a.setSmartCrop();a.setSmartCropNoClip();a.setSmartCropUseFace()};
lL.prototype.build=function(){var a=this.getParsedOptions().valueProto_;vr(a,18)||vr(a,45)?a.getSize()||this.setSize(0):(a=this.getParsedOptions().valueProto_,a.getSize()||a.getWidth()||a.getHeight()||(this.setSize(),this.setHeight(),this.setWidth(),mL(this)));return lL.superClass_.build.call(this)};var Uic=/^[^\/]*\/\//,nL=function(a,b){b=void 0===b?!1:b;this.original_=a;this.originalPrefix_="";(a=this.original_.match(Uic))&&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_=TD(a,!0);this.isFreeformUrl_=b;this.valid_=!0;this.obfuscated_=!1},Vic=function(a,b){a.pathPrefix_=a.pathPrefix_?a.pathPrefix_+("/"+b):b},oL=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]&&(Vic(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)Vic(a,
a.components_[0]);else if("image"==a.components_[0])Vic(a,a.components_[0]);else if(7==b||3==b)return a.valid_=!1,a.components_;if(3>=b){a.obfuscated_=!0;3==b&&(Vic(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_};nL.prototype.isValid=function(){oL(this);return this.valid_};var Wic=function(a){oL(a);return a.obfuscated_},Xic=function(a){oL(a);return a.isFreeformUrl_};
nL.prototype.getDomain=function(){var a=this.uri_.port_;return this.uri_.getDomain()+(a?":"+a:"")};nL.prototype.getQuery=function(){return this.uri_.queryData_.toString()};var pL=function(a){oL(a);void 0==a.pathPrefix_&&(a.pathPrefix_=null);return a.pathPrefix_};nL.prototype.hasOptions=function(){switch(oL(this).length){case 7:return!0;case 6:return null==pL(this);case 5:return!1;case 3:return!0;case 2:return null==pL(this);case 1:return!1;default:return!1}};
var qL=function(a,b){if(Xic(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=oL(a)[b]}else if(Wic(a))a:{var c=null!=pL(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=oL(a)[b]}else a:{c=null!=pL(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=oL(a)[b]}return a};f=nL.prototype;f.getOriginal=function(){return this.original_};f.getObfuscatedGaiaId=function(){void 0==this.obfuscatedGaiaId_&&(this.obfuscatedGaiaId_=qL(this,0));return this.obfuscatedGaiaId_};f.getPhotoId=function(){void 0==this.photoId_&&(this.photoId_=qL(this,1));return this.photoId_};f.getImageVersion=function(){void 0==this.imageVersion_&&(this.imageVersion_=qL(this,2));return this.imageVersion_};
f.getOptions=function(){void 0==this.options_&&(this.options_=qL(this,4));return this.options_};f.getFilename=function(){void 0==this.filename_&&(this.filename_=qL(this,5));return this.filename_};var Yic=function(){};Yic.prototype.parse=function(a,b){return new Zic(a,void 0===b?!1:b)};var Zic=function(a,b){nL.call(this,a,void 0===b?!1:b)};T(Zic,nL);Zic.prototype.getParsedOptions=function(){if(void 0==this.parsedOptions_){var a=this.getOptions();a||(a="");this.parsedOptions_=(new Kic).parse(a)}return this.parsedOptions_};var rL=function(a,b){b=void 0===b?!1:b;this.parsedImageUrl_=null;a instanceof Zic||(void 0==$ic&&($ic=new Yic),a=$ic.parse(a.toString(),b));this.parsedImageUrl_=a;a=this.parsedImageUrl_.getParsedOptions();Ric.call(this,a);this.protocolPrefix_=this.parsedImageUrl_.originalPrefix_;this.domain_=this.parsedImageUrl_.getDomain();this.query_=this.parsedImageUrl_.getQuery()},$ic;Ns(rL,lL);rL.prototype.isValid=function(){return this.parsedImageUrl_.isValid()};
rL.prototype.build=function(){if(!this.parsedImageUrl_.isValid())return this.parsedImageUrl_.getOriginal();var a=rL.superClass_.build.call(this),b=[];null!=pL(this.parsedImageUrl_)&&b.push(pL(this.parsedImageUrl_));var c=Xic(this.parsedImageUrl_);if(Wic(this.parsedImageUrl_)){var d=this.parsedImageUrl_;void 0==d.obfuscatedData_&&(d.obfuscatedData_=qL(d,6));b.push(d.obfuscatedData_+(a?"="+a:""))}else if(c){d=b.push;var e=this.parsedImageUrl_;void 0===e.freeformUrlPath_&&(e.freeformUrlPath_=qL(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_=qL(e,3)),d.call(b,e.signature_),a&&b.push(a),b.push(this.parsedImageUrl_.getFilename());a=c?b.join("="):b.join("/");a=TD(this.protocolPrefix_+this.domain_+"/"+a+(this.query_?"?"+this.query_:"")).toString();a.startsWith("%3a//")&&(a=a.replace("%3a//",
"://"));return a};var ajc=[[["onedev-hovercard-action"]],[["","onedev-additional-content",""]]],sL=function(a,b){var c=this;this.peopleService=a;this.waldoService=b;this.enableWaldo=!1;this.providedEmail$=new D.ReplaySubject(1);this.person$=this.providedEmail$.pipe($e(function(d){return Cic(c.peopleService,d)}),C(function(d){if(d){var e=Object,g=e.assign;if(d.imageUrl){var h=d.imageUrl;var l=new rL(h);l.setSize(48);h=l.build()||h}else h=d.imageUrl;d=g.call(e,{},d,{imageUrl:h})}return d}),Xe(1));this.outOfOfficeDescription$=
new D.ReplaySubject;this.init=new D.ReplaySubject(1);this.destroyed$=new D.ReplaySubject(1)};sL.prototype.ngOnInit=function(){var a=this;this.person$.pipe(Oe(),af(this.destroyed$)).subscribe(function(){a.init.next()});this.enableWaldo&&bjc(this)};var bjc=function(a){a.waldoService&&a.person$.pipe($e(function(b){return b?Xfc(a.waldoService,b.email):(0,D.of)("")}),af(a.destroyed$)).subscribe(function(b){a.outOfOfficeDescription$.next(b)})};
sh.Object.defineProperties(sL.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.emailInternal},set:function(a){this.emailInternal=a;this.providedEmail$.next(a)}}});sL.\u0275fac=function(a){return new (a||sL)(B(eL),B(IJ,8))};
sL.\u0275cmp=Oc({type:sL,selectors:[["onedev-person-hovercard"]],inputs:{email:"email",enableWaldo:"enableWaldo"},outputs:{init:"init"},ngContentSelectors:["onedev-hovercard-action","[onedev-additional-content]"],decls:2,vars:3,consts:[[3,"person","outOfOfficeDescription",4,"ngIf"],[3,"person","outOfOfficeDescription"]],template:function(a,b){a&1&&(Ff(ajc),O(0,OBa,4,4,"onedev-person-hovercard-body",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.person$))},dependencies:[Rw,aL,Xw],encapsulation:2,changeDetection:0});var cjc=[[["onedev-hovercard-action"],["",8,"actions"]]],tL=function(){};tL.prototype.ngOnInit=function(){};tL.\u0275fac=function(a){return new (a||tL)};
tL.\u0275cmp=Oc({type:tL,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&&(Ff(cjc),O(0,PBa,3,3,"onedev-person-hovercard",0))},dependencies:[sL,VK,WK],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 uL=function(){this.isNonObfuscatedEmail=xn};uL.\u0275fac=function(a){return new (a||uL)};
uL.\u0275cmp=Oc({type:uL,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&&(Ff(),O(0,RBa,6,4,"ng-container",0),O(1,SBa,1,0,"ng-template",null,1,gg));if(a&2){var c=Kf(2);E("ngIf",!!b.email&&b.isNonObfuscatedEmail(b.email))("ngIfElse",
c)}},dependencies:[Rw,Ww,UK,ZK,tL],encapsulation:2,changeDetection:0});var vL=function(a){this.window=a};vL.prototype.openInNewTab=function(a){a=Sg(a);Mpa(this.window,a,"_blank")};var Zn=function(a,b){b=Sg(b);Mpa(a.window,b)},djc=function(a,b){a=a.window.location;b=Sg(b);b=ina(b);void 0!==b&&(a.href=b)};vL.\u0275fac=function(a){return new (a||vL)(t(qF))};vL.\u0275prov=yc({token:vL,factory:vL.\u0275fac,providedIn:"root"});var wL=function(){this.onAction=new kw;this.disabled=!1};wL.prototype.handleClick=function(){this.onAction.emit()};wL.\u0275fac=function(a){return new (a||wL)};
wL.\u0275cmp=Oc({type:wL,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&&(Ff(),F(0,"button",0),L("click",function(){return b.handleClick()}),Gf(1),H());a&2&&E("disabled",b.disabled)},dependencies:[QA],styles:[".onedev-hovercard-action[_ngcontent-%COMP%]{--onedev-card-action-background:var(--surface-default,#fff);--onedev-card-action-border:var(--hairline,#dadce0)}button.onedev-hovercard-action[_ngcontent-%COMP%]{background-color:var(--onedev-card-action-background);border-radius:0;border:none;border-top:1px solid var(--onedev-card-action-border);font-size:14px;height:40px;padding:0 20px;text-align:left;width:100%}"]});var xL=function(a,b,c){rF.call(this);this.domSafe=a;this.cdr=b;this.actionService=c;this.currentAssignee="";this.currentCc=[];this.ccActionDisabled=this.assigneeActionDisabled=!1};T(xL,rF);xL.\u0275dir=rF.\u0275dir;
xL.prototype.ngOnInit=function(){var a=this;if(this.actionService){var b;null==(b=this.actionService)||b.assignee$.pipe(af(this.destroyed$)).subscribe(function(d){a.currentAssignee=d;a.cdr.detectChanges()});var c;null==(c=this.actionService)||c.cc$.pipe(af(this.destroyed$)).subscribe(function(d){a.currentCc=d;a.cdr.detectChanges()})}};
var TBa=function(a){if(a.actionService&&!a.assigneeActionDisabled){a.assigneeActionDisabled=!0;var b=a.email===a.currentAssignee?"remove_user":"set_user";Ym(ao.PERSON_CARD,"assigneeAction",b);aic(a.actionService,{email:a.email,action:b}).finally(function(){a.assigneeActionDisabled=!1})}},UBa=function(a){if(a.actionService&&!a.ccActionDisabled){a.ccActionDisabled=!0;var b=a.currentCc.includes(a.email)?"remove_user":"set_user";Ym(ao.PERSON_CARD,"ccAction",b);bic(a.actionService,{email:a.email,action:b}).finally(function(){a.ccActionDisabled=
!1})}};xL.\u0275fac=function(a){return new (a||xL)(B(vL),B(AI,2),B(RK,8))};
xL.\u0275cmp=Oc({type:xL,selectors:[["b-issue-person-card"]],inputs:{email:"email"},features:[Of([AI]),kf],decls:6,vars:4,consts:[[3,"email"],["class","actions",4,"ngIf"],[3,"click"],[1,"actions"],[3,"disabled","onAction"]],template:function(a,b){a&1&&(F(0,"b-person-card",0),O(1,VBa,9,8,"ng-container",1),R(2,"async"),F(3,"onedev-hovercard-action",2),L("click",function(c){Ym(ao.PERSON_CARD,"showAssignedIssuesAction");var d=hm({q:"assignee:"+b.email+" status:open"});c.ctrlKey||c.metaKey?b.domSafe.openInNewTab(d):
djc(b.domSafe,d)}),F(4,"span"),P(5,"Show assigned issues"),H()()());a&2&&(E("email",b.email),z(1),E("ngIf",b.actionService&&S(2,2,b.actionService.editAccess$)))},dependencies:[Rw,wL,tL,Xw],encapsulation:2,changeDetection:0});var yL=function(a,b){var c=this;this.session=a;this.userProfiles=b;this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1;this.email$=new D.ReplaySubject(1);this.showEmail$=new D.BehaviorSubject(!1);this.isNonObfuscatedEmail=xn;this.userProfile$=this.email$.pipe($e(function(d){return c.userProfiles.get(d)})).pipe(Ze(void 0));this.content$=(0,D.combineLatest)([this.email$,this.userProfile$,this.showEmail$]).pipe(C(function(d){var e=k(d);d=e.next().value;var g=e.next().value;
e=e.next().value;return(g=null==g?void 0:g.displayName)?e?d+" ("+g+")":g:d}));this.vars$=(0,D.combineLatest)([this.email$,this.content$]).pipe(C(function(d){var e=k(d);d=e.next().value;e=e.next().value;return{email:d,content:e}}));this.enableWaldoAvailability=pF(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};sh.Object.defineProperties(yL.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)}}});
yL.\u0275fac=function(a){return new (a||yL)(B(Bs),B(zJ))};
yL.\u0275cmp=Oc({type:yL,selectors:[["b-user-display-name"]],inputs:{availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled",email:"email",showEmail:"showEmail"},decls:2,vars:3,consts:[[4,"ngIf"],["displayName",""],[4,"ngIf","ngIfElse"],["coinonly","",3,"user"],["role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"]],template:function(a,b){a&1&&(O(0,$Ba,4,2,"ng-container",
0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.vars$))},dependencies:[Rw,Ww,KJ,xL,UK,ZK,Xw],encapsulation:2,changeDetection:0});var cCa={"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/release/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","spur-workflows@prod.google.com":"https://g3doc.corp.google.com/security/spur/g3doc/spur_logo.jpg?cl=head"};var zL=function(a,b){var c=this;this.userProfiles=a;this.activeSession=b;this.email$=new D.ReplaySubject(1);this.isNonObfuscatedEmail=xn;this.userProfile$=this.email$.pipe($e(function(d){return d?c.userProfiles.get(d).pipe(Ze(void 0)):(0,D.of)(void 0)}));this.vars$=(0,D.combineLatest)([this.email$,this.userProfile$]).pipe(C(function(d){var e=k(d);d=e.next().value;e=e.next().value;if(!e)return{email:d,showImage:!1,src:void 0,srcset:void 0};var g=!e.photoUrl,h=g?void 0:e.photoUrl,l;g?l=void 0:l=e.highResolutionPhotoUrl?
e.highResolutionPhotoUrl+" 2x":e.photoUrl+" 1x";return{email:d,showImage:!g,src:h,srcset:l}}))},gCa=function(a,b){return!b||a.activeSession.isExternalSession()?!1:void 0!==cCa[b]};sh.Object.defineProperties(zL.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){xn(a)?this.email$.next(a):this.email$.next(void 0)}}});zL.\u0275fac=function(a){return new (a||zL)(B(zJ),B(Bs))};
zL.\u0275cmp=Oc({type:zL,selectors:[["b-user-image"]],inputs:{email:"email"},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&&(O(0,iCa,4,2,"ng-container",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.vars$))},dependencies:[Rw,Ww,xL,UK,ZK,Xw],styles:['.user-avatar.anonymous[_ngcontent-%COMP%]{border:1px solid;border-color:#bdc1c6;border-color:var(--c400);border-radius:18px;background-image:url("https://www.gstatic.com/buganizer/img/v0/logo_avatar_anonymous.svg");background-repeat:no-repeat;background-position:center}.material.user-avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .material.user-avatar.anonymous[_ngcontent-%COMP%]{border-radius:50%}.material.user-avatar.robo-avatar[_ngcontent-%COMP%]{border-radius:0;object-fit:contain}[_nghost-%COMP%]{display:inline-flex;vertical-align:middle}'],
changeDetection:0});var AL=function(){this.onlyTitle=this.disableDismiss=!1;this.onDismiss=new kw;this.STATUS_TERSE=$F;this.STATUS_FULL_TEXT=dG};AL.prototype.convertIssueStatusStrToTag=function(a){return tj[a]};AL.\u0275fac=function(a){return new (a||AL)};
AL.\u0275cmp=Oc({type:AL,selectors:[["issue-card-compact"]],hostAttrs:[1,"carded"],inputs:{issue:"issue",dismissIcon:"dismissIcon",dismissTooltip:"dismissTooltip",disableDismiss:"disableDismiss",moreInfoIcon:"moreInfoIcon",moreInfoIconSvg:"moreInfoIconSvg",moreInfoMessage:"moreInfoMessage",moreInfoAccentColor:"moreInfoAccentColor",onlyTitle:"onlyTitle"},outputs:{onDismiss:"onDismiss"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"title","line-clamp-3"],[1,"subtle-link",3,"href"],["class","dismiss",4,"ngIf"],
["class","assignee",4,"ngIf"],["class","meta",4,"ngIf"],[1,"dismiss"],["mat-icon-button","",1,"small",3,"matTooltip","disabled","click"],["inline","true",1,"google-material-icons"],[1,"assignee"],["class","margin-xs-right",3,"email",4,"ngIf"],[3,"email",4,"ngIf"],[1,"margin-xs-right",3,"email"],[3,"email"],[1,"meta"],[3,"issuePriority",4,"ngIf"],[3,"issuePriority"],["class","icon-s",3,"svgIcon",4,"ngIf"],["inline","true","class","google-material-icons icon-s",4,"ngIf"],[1,"line-clamp-2"],[1,"icon-s",
3,"svgIcon"],["inline","true",1,"google-material-icons","icon-s"]],template:function(a,b){a&1&&O(0,vCa,8,7,"ng-container",0);a&2&&E("ngIf",b.issue)},dependencies:[Rw,HB,zL,yL,wJ,QA,lD,EK],styles:['[_nghost-%COMP%]{background-color:#fff;background-color:var(--surface-default);display:grid;gap:8px;width:220px;grid-template-rows:minmax(1fr,60px) 1fr 1fr 1fr 1fr;grid-template-areas:"title dismiss" "title dismiss" "assignee assignee" "meta meta" "more-info more-info"}.title[_ngcontent-%COMP%]{grid-area:title}.dismiss[_ngcontent-%COMP%]{grid-area:dismiss;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.assignee[_ngcontent-%COMP%]{grid-area:assignee}[_nghost-%COMP%]     .user-avatar img{max-height:24px}.meta[_ngcontent-%COMP%]{grid-area:meta;place-self:center start;width:100%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.more-info[_ngcontent-%COMP%]{grid-area:more-info;color:#5f6368;color:var(--muted);box-shadow:inset 0 1px 0 0 #dadce0;box-shadow:inset 0 1px 0 0 var(--divider);font-style:italic;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:8px}.orange[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);box-shadow:inset 0 1px 0 0 #bd4800;box-shadow:inset 0 1px 0 0 var(--orange-text)}.pink[_ngcontent-%COMP%]{color:#d01884;color:var(--pink-text);box-shadow:inset 0 1px 0 0 #d01884;box-shadow:inset 0 1px 0 0 var(--pink-text)}.cyan[_ngcontent-%COMP%]{color:#34989d;color:var(--cyan-text);box-shadow:inset 0 1px 0 0 #34989d;box-shadow:inset 0 1px 0 0 var(--cyan-text)}.purple[_ngcontent-%COMP%]{color:#9334e6;color:var(--purple-text);box-shadow:inset 0 1px 0 0 #9334e6;box-shadow:inset 0 1px 0 0 var(--purple-text)}\n/*# sourceMappingURL=issue_card_compact.css.map */']});var ejc={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"}}},fjc=ejc;fjc=ejc;var gjc={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 hjc={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"},BL=hjc;BL=hjc;var CL=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_=BL.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)};
CL.prototype.applyPattern_=function(a){this.pattern_=a.replace(/ /g,"\u00a0");var b=[0];this.positivePrefix_=ijc(this,a,b);for(var c=b[0],d=-1,e=0,g=0,h=0,l=-1,q=a.length,v=!0;b[0]<q&&v;b[0]++)switch(a.charAt(b[0])){case "#":0<g?h++:e++;0<=l&&0>d&&l++;break;case "0":if(0<h)throw Error("ad`"+a);g++;0<=l&&0>d&&l++;break;case ",":0<l&&this.groupingArray_.push(l);l=0;break;case ".":if(0<=d)throw Error("bd`"+a);d=e+g+h;break;case "E":if(this.useExponentialNotation_)throw Error("cd`"+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+g||1>this.minExponentDigits_)throw Error("dd`"+a);v=!1;break;default:b[0]--,v=!1}0==g&&0<e&&0<=d&&(g=d,0==g&&g++,h=e-g,e=g-1,g=1);if(0>d&&0<h||0<=d&&(d<e||d>e+g)||0==l)throw Error("ed`"+a);h=e+g+h;this.maximumFractionDigits_=0<=d?h-d:0;0<=d&&(this.minimumFractionDigits_=e+g-d,0>this.minimumFractionDigits_&&(this.minimumFractionDigits_=
0));this.minimumIntegerDigits_=(0<=d?d:h)-e;this.useExponentialNotation_&&(this.maximumIntegerDigits_=e+this.minimumIntegerDigits_,0==this.maximumFractionDigits_&&0==this.minimumIntegerDigits_&&(this.minimumIntegerDigits_=1));this.groupingArray_.push(Math.max(0,l));this.decimalSeparatorAlwaysShown_=0==d||d==h;c=b[0]-c;this.positiveSuffix_=ijc(this,a,b);b[0]<a.length&&";"==a.charAt(b[0])?(b[0]++,1!=this.multiplier_&&(this.negativePercentSignExpected_=!0),this.negativePrefix_=ijc(this,a,b),b[0]+=c,
this.negativeSuffix_=ijc(this,a,b)):(this.negativePrefix_+=this.positivePrefix_,this.negativeSuffix_+=this.positiveSuffix_)};
CL.prototype.applyStandardPattern_=function(a){switch(a){case 1:this.applyPattern_(BL.DECIMAL_PATTERN);break;case 2:this.applyPattern_(BL.SCIENTIFIC_PATTERN);break;case 3:this.applyPattern_(BL.PERCENT_PATTERN);break;case 4:a=this.applyPattern_;var b=BL.CURRENCY_PATTERN;var c=["0"],d=gjc[BL.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:jjc(this,1);break;case 6:jjc(this,2);break;default:throw Error("Vc");
}};var jjc=function(a,b){a.compactStyle_=b;a.applyPattern_(BL.DECIMAL_PATTERN);a.minimumFractionDigits_=0;a.maximumFractionDigits_=2;if(0<a.minimumFractionDigits_)throw Error("Tc");a.significantDigits_=2};
CL.prototype.parse=function(a,b){b=b||[0];if(0!==this.compactStyle_)throw Error("Wc");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(BL.INFINITY,b[0])==b[0]){b[0]+=BL.INFINITY.length;var e=Infinity}else{e=
a;var g=!1,h=!1,l=!1,q=-1,v=1,x=BL.DECIMAL_SEP,A=BL.GROUP_SEP,G=BL.EXP_SYMBOL;if(0!=this.compactStyle_)throw Error("Xc");A=A.replace(/\u202f/g,"\u00a0");for(var M="";b[0]<e.length;b[0]++){var Q=e.charAt(b[0]),Y=kjc(Q);if(0<=Y&&9>=Y)M+=Y,l=!0;else if(Q==x.charAt(0)){if(g||h)break;M+=".";g=!0}else if(Q==A.charAt(0)&&("\u00a0"!=A.charAt(0)||b[0]+1<e.length&&0<=kjc(e.charAt(b[0]+1)))){if(g||h)break}else if(Q==G.charAt(0)){if(h)break;M+="E";h=!0;q=b[0]}else if("+"==Q||"-"==Q){if(l&&q!=b[0]-1)break;M+=
Q}else if(1==this.multiplier_&&Q==BL.PERCENT.charAt(0)){if(1!=v)break;v=100;if(l){b[0]++;break}}else if(1==this.multiplier_&&Q==BL.PERMILL.charAt(0)){if(1!=v)break;v=1E3;if(l){b[0]++;break}}else break}1!=this.multiplier_&&(v=this.multiplier_);e=parseFloat(M)/v}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};
CL.prototype.format=function(a){if(this.minimumFractionDigits_>this.maximumFractionDigits_)throw Error("Yc");if(isNaN(a))return BL.NAN;var b=[];var c=a;if(0==this.compactStyle_)c=ljc;else{c=Math.abs(c);var d=mjc(this,1>=c?0:njc(c)).divisorBase;c=mjc(this,d+njc(ojc(this,DL(c,-d)).intValue))}a=DL(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)pjc(this,e,this.minimumIntegerDigits_,b),qjc(this,0,b);else{var g=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=DL(e,-g);var h=this.minimumIntegerDigits_;1<this.maximumIntegerDigits_&&this.maximumIntegerDigits_>this.minimumIntegerDigits_?(h=g%this.maximumIntegerDigits_,0>h&&(h=this.maximumIntegerDigits_+h),e=DL(e,h),g-=h,h=1):1>this.minimumIntegerDigits_?(g++,e=DL(e,-1)):(g-=this.minimumIntegerDigits_-1,e=DL(e,this.minimumIntegerDigits_-
1));pjc(this,e,h,b);qjc(this,g,b)}}else pjc(this,a,this.minimumIntegerDigits_,b);else b.push(BL.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 ojc=function(a,b){var c=DL(b,a.maximumFractionDigits_);0<a.significantDigits_&&(c=rjc(c,a.significantDigits_,a.maximumFractionDigits_));c=Math.round(c);isFinite(c)?(b=Math.floor(DL(c,-a.maximumFractionDigits_)),a=Math.floor(c-DL(b,a.maximumFractionDigits_))):a=0;return{intValue:b,fracValue:a}},pjc=function(a,b,c,d){if(a.minimumFractionDigits_>a.maximumFractionDigits_)throw Error("Yc");d||(d=[]);b=ojc(a,b);var e=b.intValue,g=b.fracValue,h=0<a.minimumFractionDigits_||0<g||!1;b=a.minimumFractionDigits_;
h&&(b=a.minimumFractionDigits_);for(var l="",q=e;1E20<q;)l="0"+l,q=Math.round(DL(q,-1));l=q+l;var v=BL.DECIMAL_SEP;q=BL.ZERO_DIGIT.charCodeAt(0);var x=l.length,A=0;if(0<e||0<c){for(e=x;e<c;e++)d.push(String.fromCharCode(q));if(2<=a.groupingArray_.length)for(c=1;c<a.groupingArray_.length;c++)A+=a.groupingArray_[c];c=x-A;if(0<c){e=a.groupingArray_;A=x=0;for(var G,M=BL.GROUP_SEP,Q=l.length,Y=0;Y<Q;Y++)if(d.push(String.fromCharCode(q+Number(l.charAt(Y)))),1<Q-Y)if(G=e[A],Y<c){var W=c-Y;(1===G||0<G&&1===
W%G)&&d.push(M)}else A<e.length&&(Y===c?A+=1:G===Y-c-x+1&&(d.push(M),x+=G,A+=1))}else{c=l;l=a.groupingArray_;e=BL.GROUP_SEP;G=c.length;M=[];for(x=l.length-1;0<=x&&0<G;x--){A=l[x];for(Q=0;Q<A&&0<=G-Q-1;Q++)M.push(String.fromCharCode(q+Number(c.charAt(G-Q-1))));G-=A;0<G&&M.push(e)}d.push.apply(d,M.reverse())}}else h||d.push(String.fromCharCode(q));(a.decimalSeparatorAlwaysShown_||h)&&d.push(v);g=String(g);h=g.split("e+");2==h.length&&(g=String(rjc(parseFloat(h[0]),a.significantDigits_,1)),g=g.replace(".",
""),g+=tQb("0",parseInt(h[1],10)-g.length+1));a.maximumFractionDigits_+1>g.length&&(g="1"+tQb("0",a.maximumFractionDigits_-g.length)+g);for(a=g.length;"0"==g.charAt(a-1)&&a>b+1;)a--;for(b=1;b<a;b++)d.push(String.fromCharCode(q+Number(g.charAt(b))))},qjc=function(a,b,c){c.push(BL.EXP_SYMBOL);0>b?(b=-b,c.push(BL.MINUS_SIGN)):a.useSignForPositiveExponent_&&c.push(BL.PLUS_SIGN);b=""+b;for(var d=BL.ZERO_DIGIT,e=b.length;e<a.minExponentDigits_;e++)c.push(d);c.push(b)},kjc=function(a){a=a.charCodeAt(0);
if(48<=a&&58>a)return a-48;var b=BL.ZERO_DIGIT.charCodeAt(0);return b<=a&&a<b+10?a-b:-1},ijc=function(a,b,c){for(var d="",e=!1,g=b.length;c[0]<g;c[0]++){var h=b.charAt(c[0]);if("'"==h)c[0]+1<g&&"'"==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<g&&"\u00a4"==b.charAt(c[0]+1)?(c[0]++,d+=BL.DEF_CURRENCY_CODE):(h=BL.DEF_CURRENCY_CODE,d+=h in gjc?gjc[h][1]:h);break;case "%":if(!a.negativePercentSignExpected_&&
1!=a.multiplier_)throw Error("Zc");if(a.negativePercentSignExpected_&&100!=a.multiplier_)throw Error("$c");a.multiplier_=100;a.negativePercentSignExpected_=!1;d+=BL.PERCENT;break;case "\u2030":if(!a.negativePercentSignExpected_&&1!=a.multiplier_)throw Error("Zc");if(a.negativePercentSignExpected_&&1E3!=a.multiplier_)throw Error("$c");a.multiplier_=1E3;a.negativePercentSignExpected_=!1;d+=BL.PERMILL;break;default:d+=h}}return d},ljc={divisorBase:0,negative_prefix:"",negative_suffix:"",prefix:"",suffix:""},
mjc=function(a,b){a=1==a.compactStyle_?fjc.COMPACT_DECIMAL_SHORT_PATTERN:fjc.COMPACT_DECIMAL_LONG_PATTERN;null==a&&(a=fjc.COMPACT_DECIMAL_SHORT_PATTERN);if(3>b)return ljc;b=Math.min(14,b);var c=a[DL(1,b)];for(--b;!c&&3<=b;)c=a[DL(1,b)],b--;if(!c)return ljc;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]}:ljc:ljc},njc=function(a){if(!isFinite(a))return 0<a?a:0;for(var b=0;1<=(a/=10);)b++;return b},DL=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))},sjc=function(a,b){return a&&isFinite(a)?DL(Math.round(DL(a,b)),-b):a},rjc=function(a,b,c){if(!a)return a;b=b-njc(a)-1;return b<-c?sjc(a,-c):sjc(a,b)};var tjc=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"},ujc=tjc;ujc=tjc;var vjc=function(a,b){var c=a|0;if(void 0===b){b=Math;var d=b.min,e=a+"",g=e.indexOf(".");b=d.call(b,-1===g?0:e.length-g-1,3)}d=Math.pow(10,b);a={v:b,f:(a*d|0)%d};return 1==c&&0==a.v?"one":"other"},wjc=vjc;wjc=vjc;var Ajc=function(a){this.pattern_=a;this.parsedPattern_=this.literals_=this.initialLiterals_=null;a=BL;var b=fjc;if(xjc!==a||yjc!==b)xjc=a,yjc=b,zjc=new CL(1);this.numberFormatter_=zjc},xjc=null,yjc=null,zjc=null,Bjc=RegExp("'([{}#].*?)'","g"),Cjc=RegExp("''","g");Ajc.prototype.format=function(a){return this.format_(a,!1)};
Ajc.prototype.format_=function(a,b){if(this.pattern_){this.initialLiterals_=[];var c=Djc(this,this.pattern_);this.parsedPattern_=Ejc(this,c);this.pattern_=null}if(!this.parsedPattern_||0==this.parsedPattern_.length)return"";this.literals_=ua(this.initialLiterals_);c=[];Fjc(this,this.parsedPattern_,a,b,c);for(a=c.join("");0<this.literals_.length;)a=a.replace(this.buildPlaceholder_(this.literals_),this.literals_.pop());return a};
var Fjc=function(a,b,c,d,e){for(var g=0;g<b.length;g++)switch(b[g].type){case 4:e.push(b[g].value);break;case 3:var h=b[g].value,l=a,q=e,v=c[h];void 0===v?q.push("Undefined parameter - "+h):(l.literals_.push(v),q.push(l.buildPlaceholder_(l.literals_)));break;case 2:h=b[g].value;l=a;q=c;v=d;var x=e,A=h.argumentIndex;void 0===q[A]?x.push("Undefined parameter - "+A):(A=h[q[A]],void 0===A&&(A=h.other),Fjc(l,A,q,v,x));break;case 0:h=b[g].value;Gjc(a,h,c,wjc,d,e);break;case 1:h=b[g].value,Gjc(a,h,c,ujc,
d,e)}},Gjc=function(a,b,c,d,e,g){var h=b.argumentIndex,l=b.argumentOffset,q=+c[h];isNaN(q)?g.push("Undefined or invalid parameter - "+h):(l=q-l,h=b[c[h]],void 0===h&&(d=d(Math.abs(l)),h=b[d],void 0===h&&(h=b.other)),b=[],Fjc(a,h,c,e,b),c=b.join(""),e?g.push(c):(a=a.numberFormatter_.format(l),g.push(c.replace(/#/g,a))))},Djc=function(a,b){var c=a.initialLiterals_,d=Ls(a.buildPlaceholder_,a);b=b.replace(Cjc,function(){c.push("'");return d(c)});return b=b.replace(Bjc,function(e,g){c.push(g);return d(c)})},
Hjc=function(a){var b=0,c=[],d=[],e=/[{}]/g;e.lastIndex=0;for(var g;g=e.exec(a);){var h=g.index;"}"==g[0]?(c.pop(),0==c.length&&(g={type:1},g.value=a.substring(b,h),d.push(g),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},Ijc=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,Jjc=/^\s*(\w+)\s*,\s*selectordinal\s*,/,Kjc=/^\s*(\w+)\s*,\s*select\s*,/,Ejc=function(a,b){var c=[];b=Hjc(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 g=b[d].value;switch(Ijc.test(g)?0:Jjc.test(g)?1:Kjc.test(g)?2:/^\s*\w+\s*/.test(g)?3:5){case 2:e.type=2;e.value=Ljc(a,b[d].value);break;case 0:e.type=0;e.value=Mjc(a,b[d].value);break;case 1:e.type=1;e.value=Njc(a,b[d].value);break;case 3:e.type=3,e.value=b[d].value}}c.push(e)}return c},Ljc=function(a,b){var c="";b=b.replace(Kjc,function(l,q){c=q;return""});var d={};d.argumentIndex=c;b=Hjc(b);for(var e=0;e<
b.length;){var g=b[e].value;e++;var h;1==b[e].type&&(h=Ejc(a,b[e].value));d[g.replace(/\s/g,"")]=h;e++}return d},Mjc=function(a,b){var c="",d=0;b=b.replace(Ijc,function(q,v,x){c=v;x&&(d=parseInt(x,10));return""});var e={};e.argumentIndex=c;e.argumentOffset=d;b=Hjc(b);for(var g=0;g<b.length;){var h=b[g].value;g++;var l;1==b[g].type&&(l=Ejc(a,b[g].value));e[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=l;g++}return e},Njc=function(a,b){var c="";b=b.replace(Jjc,function(l,q){c=q;return""});var d={};d.argumentIndex=
c;d.argumentOffset=0;b=Hjc(b);for(var e=0;e<b.length;){var g=b[e].value;e++;if(1==b[e].type)var h=Ejc(a,b[e].value);d[g.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;e++}return d};Ajc.prototype.buildPlaceholder_=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};var Pjc=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=xYb(b),g=xYb(c),h=xYb(d);a=b*(c+d)?" ":"";var l=c*d?" ":"";b=Ojc("{COUNT, plural, =0 {}=1 {{TEXT} day}other {{TEXT} days}}",b,e);c=Ojc("{COUNT, plural, =0 {}=1 {{TEXT} hour}other {{TEXT} hours}}",c,g);d=Ojc("{COUNT, plural, =0 {}=1 {{TEXT} minute}other {{TEXT} minutes}}",d,h);return b+a+c+l+d},Ojc=function(a,b,c){return(new Ajc(a)).format({COUNT:b,TEXT:c})};var EL=function(a,b){var c=this;this.userPreferencesManager=a;this.timeZonesApi=b;this.cachedFormatters=new YH(100,!0);this.userDatePrefs$=this.userPreferencesManager.dateTimePreferences$;this.userCalendarFormat$=this.userDatePrefs$.pipe(C(function(d){return d.calendarFormat||"MMM d, yyyy"}));this.userTimeFormat$=this.userDatePrefs$.pipe(C(function(d){return d.timeFormat||"hh:mma"}));this.userTimeZone$=this.userDatePrefs$.pipe($e(function(d){return d.timeZone?c.timeZonesApi.get(d.timeZone):(0,D.of)(void 0)}))};
EL.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);void 0===d&&(d=new BB(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};EL.prototype.formatUserCalendar=function(a){var b=this;return(0,D.combineLatest)([this.userCalendarFormat$,this.userTimeZone$]).pipe(C(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
EL.prototype.formatUserTime=function(a){var b=this;return(0,D.combineLatest)([this.userTimeFormat$,this.userTimeZone$]).pipe(C(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
var Qjc=function(a,b){return(0,D.combineLatest)([a.userCalendarFormat$,a.userTimeFormat$,a.userTimeZone$]).pipe(C(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return a.format(c+" "+e,d,b)}))},Rjc=function(a,b,c){return c?a.timeZonesApi.get(c).pipe(C(function(d){return a.format("yyyy-MM-dd HH:mm:ss Z",d,b)})):(0,D.of)(a.format("yyyy-MM-dd HH:mm:ss Z",void 0,b))},lLa=function(a,b){var c=void 0;c=void 0===c?0:c;b=void 0===b?!1:b;var d=new Uh;c&&d.setTime(c);c=new Uh;
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 AB("m",a)),e=Math.floor((c.getTime()-d.getTime())/864E5));d=new AB(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"};EL.\u0275fac=function(a){return new (a||EL)(t(VJ),t(TJ))};EL.\u0275prov=yc({token:EL,factory:EL.\u0275fac,providedIn:"root"});var Sjc=[["year",31536E3],["month",2592E3],["week",604800],["day",86400],["hour",3600],["minute",60],["second",1]];var Tjc,Ujc,Vjc=[{name:"local",id:""},{name:"UTC",id:"UTC"},{name:"MTV",id:"America/Los_Angeles"}],Wjc=Symbol("fd"),Xjc=Symbol("fd"),FL=function(a){var b=this;this.dateFormatter=a;this.paddingLeftPx=5;this.timestampMs$=new D.ReplaySubject(1);this.timestampIso$=this.timestampMs$.pipe(C(function(c){return c?(new Date(c)).toISOString():""}));this.timestampDate$=this.timestampMs$.pipe(C(function(c){if(void 0!==c)return new Date(c)}));this[Tjc]=this.timestampDate$.pipe($e(function(c){if(void 0===c)return(0,D.of)("");
switch(b.mode){case "date":return b.dateFormatter.formatUserCalendar(c);case "time":return b.dateFormatter.formatUserTime(c);case "datetime":return Qjc(b.dateFormatter,c);case "relativepast":a:if(c=Math.floor((new Date).getTime()/1E3-c.getTime()/1E3),300>c)c="just now";else{for(var d=k(Sjc),e=d.next();!e.done;e=d.next()){var g=k(e.value);e=g.next().value;g=g.next().value;g=Math.floor(c/g);if(1===g){c=g+" "+e+" ago";break a}if(1<g){c=g+" "+e+"s ago";break a}}c=void 0}return(0,D.of)(c);default:return Ch(b.mode)}}));
this[Ujc]=this.timestampDate$.pipe($e(function(c){return void 0===c?(0,D.of)(""):(0,D.combineLatest)(Vjc.map(function(d){return Rjc(b.dateFormatter,c,d.id).pipe(C(function(e){return{formatted:e,tzName:d.name}}))})).pipe(Yjc)}));this.vars$=(0,D.combineLatest)([this[Wjc],this[Xjc]]).pipe(C(function(c){var d=k(c);c=d.next().value;d=d.next().value;return{formatted:c,title:d}}))};FL.prototype.ngOnInit=function(){};
sh.Object.defineProperties(FL.prototype,{timestamp:{configurable:!0,enumerable:!0,set:function(a){var b=this.timestampMs$,c=b.next;a=null!=a?"number"===typeof a?a:"string"===typeof a?Date.parse(a):a instanceof Nh?1E3*a.getSeconds():1E3*a.seconds:void 0;a=null==a||isNaN(a)?void 0:a;c.call(b,a)}},date:{configurable:!0,enumerable:!0,set:function(a){a&&this.timestampMs$.next(a.valueOf())}}});Tjc=Wjc;Ujc=Xjc;FL.\u0275fac=function(a){return new (a||FL)(B(EL))};
FL.\u0275cmp=Oc({type:FL,selectors:[["b-formatted-date-time"]],inputs:{timestamp:"timestamp",date:"date",mode:"mode",paddingLeftPx:"paddingLeftPx"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"title"]],template:function(a,b){a&1&&(O(0,wCa,4,8,"ng-container",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.vars$))},dependencies:[Rw,Xw],encapsulation:2,changeDetection:0});
var Yjc=(0,D.pipe)(C(function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=b.get(c.formatted);d?d.tzNames.push(c.tzName):(d={formatted:c.formatted,tzNames:[c.tzName]},b.set(c.formatted,d))}return Array.from(b.values()).map(function(e){return e.formatted+" ("+e.tzNames.join("/")+")"}).join("\n")}));var GL=function(){};GL.\u0275fac=function(a){return new (a||GL)};GL.\u0275cmp=Oc({type:GL,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&&(Ff(),O(0,xCa,1,0,"div",0),O(1,yCa,2,0,"ng-container",1));a&2&&(E("ngIf",!b.isReady),z(1),E("ngIf",b.isReady))},dependencies:[Rw],encapsulation:2});var HL=function(){this.issue=null;this.isDataLoaded=!1};HL.prototype.ngOnChanges=function(){var a;this.assignee=Cn(pi(null==(a=this.issue)?void 0:a.snapshot[0].assigneeUser)||void 0);this.isDataLoaded=null!==this.issue};HL.\u0275fac=function(a){return new (a||HL)};
HL.\u0275cmp=Oc({type:HL,selectors:[["b-issue-assignee-cell"]],inputs:{issue:"issue"},features:[gd],decls:4,vars:3,consts:[[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],["noData",""],[3,"email"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",0),O(1,zCa,2,2,"b-person-hovercard",1),O(2,ACa,1,0,"ng-template",null,2,gg),H());if(a&2){var c=Kf(3);E("isReady",b.isDataLoaded);z(1);E("ngIf",b.assignee)("ngIfElse",c)}},dependencies:[GL,Rw,uL],encapsulation:2,changeDetection:0});var IL=function(){this.mode="datetime";this.isDataLoaded=!1};IL.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};IL.\u0275fac=function(a){return new (a||IL)};
IL.\u0275cmp=Oc({type:IL,selectors:[["b-issue-created-time-cell"]],inputs:{issue:"issue",mode:"mode"},features:[gd],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[3,"mode","timestamp",4,"ngIf","ngIfElse"],["noData",""],[3,"mode","timestamp"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",0),O(1,BCa,1,2,"b-formatted-date-time",1),H(),O(2,CCa,1,0,"ng-template",null,2,gg));if(a&2){var c=Kf(3);E("isReady",b.isDataLoaded);z(1);E("ngIf",b.createdTime)("ngIfElse",c)}},dependencies:[GL,Rw,
FL],encapsulation:2,changeDetection:0});var JL=function(){this.issue=null;this.isDataLoaded=!1};JL.prototype.ngOnChanges=function(){var a;this.reporter=Cn(pi(null==(a=this.issue)?void 0:a.snapshot[0].reporterUser)||void 0);this.isDataLoaded=null!==this.issue};JL.\u0275fac=function(a){return new (a||JL)};
JL.\u0275cmp=Oc({type:JL,selectors:[["b-issue-reporter-cell"]],inputs:{issue:"issue"},features:[gd],decls:4,vars:3,consts:[[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],["noData",""],[3,"email"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",0),O(1,DCa,2,2,"b-person-hovercard",1),O(2,ECa,1,0,"ng-template",null,2,gg),H());if(a&2){var c=Kf(3);E("isReady",b.isDataLoaded);z(1);E("ngIf",b.reporter)("ngIfElse",c)}},dependencies:[GL,Rw,uL],encapsulation:2,changeDetection:0});var KL=function(){this.STATUS_FULL_TEXT=dG;this.STATUS_TERSE=$F;this.issue=null;this.isDataLoaded=!1};KL.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};KL.prototype.convertIssueStatusStrToTag=function(a){return tj[a]};KL.\u0275fac=function(a){return new (a||KL)};
KL.\u0275cmp=Oc({type:KL,selectors:[["b-issue-status-cell"]],inputs:{issue:"issue"},features:[gd],decls:4,vars:3,consts:[[3,"isReady"],[3,"class","title",4,"ngIf","ngIfElse"],["noData",""],[3,"title"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",0),O(1,FCa,2,5,"div",1),O(2,GCa,1,0,"ng-template",null,2,gg),H());if(a&2){var c=Kf(3);E("isReady",b.isDataLoaded);z(1);E("ngIf",b.convertIssueStatusStrToTag(b.status))("ngIfElse",c)}},dependencies:[GL,Rw],encapsulation:2,changeDetection:0});var Zjc=0,LL=function(a,b){rF.call(this);var c=this;this.teamsService=b;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.linkFocused=new kw;this.linkBlurred=new kw;this.teamName=this.teamId;this.teamLogoUrl=this.teamDescription="";this.providedTeamId$=new D.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+Zjc;this.fetchedTeam$=this.providedTeamId$.pipe(Ne(),Ge(function(d){return"0"!==d}),$e(function(d){return aJ(c.teamsService,d)}));this.isTeamFetched$=this.fetchedTeam$.pipe(C(function(){return!0}),
Ze(!1));this.fetchedTeam$.pipe(af(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});Zjc++};T(LL,rF);LL.\u0275dir=rF.\u0275dir;f=LL.prototype;f.ngOnInit=function(){};f.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};f.trackClick=function(a){Ym(ao.TEAM_CARD,"click",a,1)};f.manageComponentLink=function(){return twa(this.componentId,"basic")};
f.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};LL.\u0275fac=function(a){return new (a||LL)(B(Bs),B($I))};
LL.\u0275cmp=Oc({type:LL,selectors:[["b-team-card"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},outputs:{linkFocused:"linkFocused",linkBlurred:"linkBlurred"},features:[kf,gd],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&&(F(0,"div",0)(1,"div",1)(2,"div",2),I(3,"img",3),F(4,"div",4)(5,"div",5),I(6,"mat-icon",6),P(7),H(),F(8,"div",7),P(9),H()()(),F(10,"p",8),P(11),H(),F(12,"div",9)(13,"a",10),L("click",function(){return b.trackClick("viewTeamSettingsPage")}),F(14,"button",11),P(15,"View team settings"),H()(),F(16,"a",12),L("click",function(){return b.trackClick("viewTeamInMoma")}),F(17,"button",11),P(18,"View team in Moma "),I(19,"mat-icon",13),H()(),O(20,HCa,3,1,"a",14),
H()()());a&2&&(z(3),of("src",b.teamLogoUrl,Ud),z(4),Lf(" Team: ",b.teamName," "),z(2),Lf("Team ID: ",b.teamId,""),z(2),Mf(b.teamDescription),z(2),Hf("routerLink","/teams/",b.teamId,"/edit"),z(3),Hf("href","https://moma.corp.google.com/team/",b.teamId,"",Ud),z(4),E("ngIf",b.componentId))},dependencies:[Rw,HB,KH,QA],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 $jc=0,ML=function(a){rF.call(this);var b=this;this.teamsService=a;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.providedTeamId$=new D.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+$jc;this.teamName=this.teamId;this.fetchedTeam$=this.providedTeamId$.pipe(Ne(),Ge(function(c){return"0"!==c}),$e(function(c){return aJ(b.teamsService,c)}));this.isTeamFetched$=this.fetchedTeam$.pipe(C(function(){return!0}),Ze(!1));this.fetchedTeam$.pipe(af(this.destroyed$)).subscribe(function(c){b.teamName=
c.name});$jc++};T(ML,rF);ML.\u0275dir=rF.\u0275dir;ML.prototype.ngOnInit=function(){};ML.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};ML.prototype.trackClick=function(a){Ym(ao.TEAM_CARD,"click",a,1)};ML.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};ML.\u0275fac=function(a){return new (a||ML)(B($I))};
ML.\u0275cmp=Oc({type:ML,selectors:[["b-team-display"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},features:[kf,gd],decls:8,vars:6,consts:[[4,"ngIf","ngIfElse"],["card","onedevHovercard"],[3,"componentId","teamId"],["loading",""],["target","_blank","class","card-anchor keep-focus-ring",3,"href","onedevHovercardTrigger","click",4,"ngIf"],[3,"onedevHovercardTrigger",4,"ngIf"],["target",
"_blank",1,"card-anchor","keep-focus-ring",3,"href","onedevHovercardTrigger","click"],["svgIcon","pop-out",1,"icon-xs"],[3,"onedevHovercardTrigger"],["class","animated-loading-bar",4,"ngIf"],[4,"ngIf"],[1,"animated-loading-bar"]],template:function(a,b){a&1&&(O(0,KCa,3,2,"ng-container",0),R(1,"async"),F(2,"onedev-hovercard",null,1),J(4),I(5,"b-team-card",2),K(),H(),O(6,NCa,2,2,"ng-template",null,3,gg));if(a&2){var c=Kf(7);E("ngIf","0"!=b.teamId&&S(1,4,b.isTeamFetched$))("ngIfElse",c);z(5);E("componentId",
null==b.componentId?null:b.componentId.toString())("teamId",b.teamId.toString())}},dependencies:[Rw,HB,UK,ZK,LL,Xw]});var NL=function(){this.issue=null;this.componentId=this.teamId="";this.isDataLoaded=!1};NL.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};NL.\u0275fac=function(a){return new (a||NL)};
NL.\u0275cmp=Oc({type:NL,selectors:[["b-issue-team-cell"]],inputs:{issue:"issue"},features:[gd],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&&(F(0,"b-async-data-placeholder",0),O(1,OCa,1,3,"b-team-display",1),O(2,PCa,1,0,"ng-template",null,2,gg),H());if(a&2){var c=Kf(3);E("isReady",b.isDataLoaded);
z(1);E("ngIf",b.teamId)("ngIfElse",c)}},dependencies:[GL,Rw,ML],encapsulation:2,changeDetection:0});var akc=Es(["https://www.gstatic.com/buganizer/gfx/","/",""]),OL=Es(["https://www.gstatic.com/buganizer/img/v2/",""]),bkc=Og(akc,"2023-06-09-4f7d961a","all-icons.svg"),ckc=Og(OL,"empty_blocker_light.png"),dkc=Og(OL,"empty_blocker_dark.png"),ekc=Og(OL,"empty_child_light.png"),fkc=Og(OL,"empty_child_dark.png"),gkc=Og(OL,"robot_sleeping.png"),hkc=Og(OL,"tea_light.png"),ikc=Og(OL,"tea_dark.png"),jkc=Og(OL,"space_empty_state.png");var PL=function(a,b,c,d){rF.call(this);var e=this;this.currentTrackerId=a;this.activeSession=b;this.trackerFridge=c;this.errorHandler=d;this.handleTrackerError=function(g){e.errorHandler.errorHandler(null,g)};this.enableTrackersComponentPathTruncation=pF(this.activeSession,"enableTrackersComponentPathTruncation");this.trackerId$=this.currentTrackerId.trackerId$;this.tracker$=this.trackerId$.pipe($e(function(g){return""===g?(0,D.of)(void 0):e.trackerFridge.watch(g).pipe(Ze(void 0))}));this.inTracker$=
this.tracker$.pipe(C(function(g){return!!g}));this.inTracker=!1;this.associatedTrackers$=this.tracker$.pipe(C(function(g){var h;return null!=(h=null==g?void 0:g.associatedTrackerIds)?h:[]}),$e(this.trackerFridge.watchSet));this.availableTrackers$=this.associatedTrackers$.pipe(cf(this.tracker$),C(function(g){var h=k(g);g=h.next().value;return(h=h.next().value)?[h].concat(cd(g)):[]}));this.trackerFridge.error$.pipe(af(this.destroyed$)).subscribe(this.handleTrackerError);this.tracker$.pipe(af(this.destroyed$)).subscribe(function(g){e.tracker=
g});this.inTracker$.pipe(af(this.destroyed$)).subscribe(function(g){e.inTracker=g})};T(PL,rF);PL.\u0275dir=rF.\u0275dir;PL.prototype.getTrackerId=function(){return this.currentTrackerId.getTrackerId()};var kkc=function(a){a=a.getTrackerId();if(""!==a&&"0"!==a)return[a]};PL.prototype.setTrackerId=function(a){this.currentTrackerId.setTrackerId(a)};
var QL=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:lkc(a,b,!0,c.trackerId,d)):a=lkc(a,b,!1,"",d);return a},lkc=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},ds=function(a,b){if(!a.enableTrackersComponentPathTruncation||!b||!a.tracker)return b;var c,
d=null!=(c=b.componentPathId)?c:[],e;b=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:b.slice(a)}};PL.\u0275fac=function(a){return new (a||PL)(t(sF),t(Bs),t(iJ),t(aH))};PL.\u0275prov=yc({token:PL,factory:PL.\u0275fac,providedIn:"root"});var RL=function(a,b){this.activeSession=a;this.currentTracker=b;this.compactMode=!1;this.showHovercard=!0;this.isGlobalBuganizer=!1;this.logoDark=this.logoLight=this.extendedName=this.name=this.redirectUrl=""};
RL.prototype.ngOnChanges=function(a){if(a.tracker||a.isGlobalBuganizer){this.redirectUrl=QL(this.currentTracker,"",this.tracker);this.name=this.getName();this.extendedName=this.isGlobalBuganizer?this.name:"the "+this.name+" Tracker";if(this.isGlobalBuganizer)a="https://www.gstatic.com/buganizer/img/v3/logo_light.svg";else{var b,c;if(null==(b=this.tracker)?0:null==(c=b.branding)?0:c.logoUrl){var d,e,g;a=null!=(g=null==(d=this.tracker)?void 0:null==(e=d.branding)?void 0:e.logoUrl)?g:""}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}};RL.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:""};RL.\u0275fac=function(a){return new (a||RL)(B(Bs),B(PL))};
RL.\u0275cmp=Oc({type:RL,selectors:[["b-tracker-chip"]],inputs:{tracker:"tracker",compactMode:"compactMode",showHovercard:"showHovercard",isGlobalBuganizer:"isGlobalBuganizer"},features:[gd],decls:1,vars:1,consts:[[4,"ngIf"],[1,"chippy","rounded",3,"onedevHovercardTrigger","onedevHovercardActive"],["alt","",1,"logo","light-only",3,"src"],["alt","",1,"logo","dark-only",3,"src"],[1,"name"],["card","onedevHovercard"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],[1,"flex-kids-y",
"padded-s-top","actions"],["mat-button","","target","_blank",1,"gmat-button","primary",3,"href"],["mat-button","","class","gmat-button primary","href","http://go/chrome-buganizer#trackers","target","_blank",4,"ngIf"],["mat-button","","href","http://go/chrome-buganizer#trackers","target","_blank",1,"gmat-button","primary"]],template:function(a,b){a&1&&O(0,SCa,17,12,"ng-container",0);a&2&&E("ngIf",b.tracker||b.isGlobalBuganizer)},dependencies:[Rw,UK,ZK,RA],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 SL=function(a,b){var c=this;this.currentTracker=a;this.trackerFridge=b;this.compactMode=!1;this.showHovercard=!0;this.trackerId$=new D.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(ze(function(d){return Xl(d)?(0,D.of)(void 0):c.trackerFridge.watch(d)}));this.isCurrentTracker$=(0,D.combineLatest)([this.currentTracker.trackerId$,this.trackerId$]).pipe(C(function(d){var e=k(d);d=e.next().value;e=e.next().value;return Xl(d)?Xl(e):d===e}))};
SL.prototype.ngOnChanges=function(a){a.trackerId&&this.trackerId$.next(this.trackerId||"")};sh.Object.defineProperties(SL.prototype,{isGlobalBuganizer:{configurable:!0,enumerable:!0,get:function(){return Xl(this.trackerId)}}});SL.\u0275fac=function(a){return new (a||SL)(B(PL),B(iJ))};
SL.\u0275cmp=Oc({type:SL,selectors:[["b-tracker-chip-smart"]],inputs:{trackerId:"trackerId",compactMode:"compactMode",showHovercard:"showHovercard"},features:[gd],decls:2,vars:3,consts:[[3,"tracker","compactMode","showHovercard","isGlobalBuganizer",4,"ngIf"],[3,"tracker","compactMode","showHovercard","isGlobalBuganizer"]],template:function(a,b){a&1&&(O(0,TCa,2,6,"b-tracker-chip",0),R(1,"async"));a&2&&E("ngIf",!1===S(1,1,b.isCurrentTracker$))},dependencies:[Rw,RL,Xw],encapsulation:2,changeDetection:0});var TL=function(){this.issue=null;this.useButtonToNavigate=!1;this.anchorTarget=void 0;this.title="";this.isDataLoaded=!1;this.link=""};TL.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:"")};TL.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):em(a)};
TL.\u0275fac=function(a){return new (a||TL)};
TL.\u0275cmp=Oc({type:TL,selectors:[["b-issue-title-cell"]],hostAttrs:[1,"flex-kids-x","line-clamp-3"],inputs:{issue:"issue",issueUrlFactory:"issueUrlFactory",useButtonToNavigate:"useButtonToNavigate",anchorTarget:"anchorTarget"},features:[gd],decls:5,vars:5,consts:[[1,"title","title-location","gap-xs",3,"isReady"],[3,"trackerId","compactMode"],[4,"ngIf","ngIfElse"],["useLinkToNavigate",""],[1,"line-clamp-3"],["mat-icon-button","","tabindex","0","title","Open issue in a new tab","aria-label","Open issue",
1,"small","visible-on-row-active",3,"routerLink","target","keydown","click"],["svgIcon","pop-out",1,"icon-s"],[1,"hover-link","line-clamp-3",3,"routerLink","target","keydown","click"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",0),I(1,"b-tracker-chip-smart",1),O(2,UCa,5,3,"ng-container",2),O(3,VCa,2,3,"ng-template",null,3,gg),H());if(a&2){var c=Kf(4);E("isReady",b.isDataLoaded);z(1);E("trackerId",null==b.issue?null:b.issue.trackerId)("compactMode",!0);z(1);E("ngIf",b.useButtonToNavigate)("ngIfElse",
c)}},dependencies:[GL,Rw,HB,RA,KH,SL],styles:[".title[_ngcontent-%COMP%]{margin-left:4px;padding:7px 0 6px;display:flex;flex-direction:row;align-items:center}a[_ngcontent-%COMP%]{color:inherit}"],changeDetection:0});var UL=function(){this.type=this.issue=null;this.isDataLoaded=!1};UL.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};UL.\u0275fac=function(a){return new (a||UL)};
UL.\u0275cmp=Oc({type:UL,selectors:[["b-issue-type-cell"]],inputs:{issue:"issue"},features:[gd],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"],["noData",""]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",0),O(1,WCa,3,3,"ng-container",1),O(2,XCa,1,0,"ng-template",null,2,gg),H());if(a&2){var c=Kf(3);E("isReady",b.isDataLoaded);z(1);E("ngIf",b.type)("ngIfElse",c)}},dependencies:[GL,Rw,EK],encapsulation:2,changeDetection:0});var mkc=["actionsMenuIconButton"],VL=function(){this.buttonLabel="";this.buttonIcon="more-settings-vertical"};VL.prototype.trackByIndex=function(a){return a};VL.prototype.onAction=function(a,b){return pe(function(c){if("mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button)return c.return();"action"!==b.type&&"select"!==b.type||b.action(a);ue(c)})};VL.prototype.ngOnInit=function(){};VL.\u0275fac=function(a){return new (a||VL)};
VL.\u0275cmp=Oc({type:VL,selectors:[["b-actions-menu"]],viewQuery:function(a,b){a&1&&bg(mkc,5);if(a&2){var c;ag(c=dg())&&(b.actionsMenuIconButton=c.first)}},inputs:{menuItems:"menuItems",buttonLabel:"buttonLabel",buttonIcon:"buttonIcon",header:"header"},decls:6,vars:4,consts:[["mat-icon-button","","class","gmat-button medium","aria-haspopup","true",3,"matTooltip","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],[1,"b-actions-menu-panel"],["class","bv2-menu-header",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],
["mat-icon-button","","aria-haspopup","true",1,"gmat-button","medium",3,"matTooltip","matMenuTriggerFor"],["actionsMenuIconButton",""],[1,"icon-s",3,"svgIcon"],[1,"bv2-menu-header"],[4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["class","icon-s",3,"svgIcon",4,"ngIf"],["class","hint",4,"ngIf"],["submenu","matMenu"],[1,"hint"],["mat-menu-item","",3,"disabled","ngClass","click","mouseup",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled","ngClass","click",
"mouseup",4,"ngIf"],["mat-menu-item","",3,"disabled","ngClass","click","mouseup"],["mat-menu-item","","role","menuitemcheckbox",3,"disabled","ngClass","click","mouseup"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"]],template:function(a,b){a&1&&(O(0,YCa,3,4,"button",0),F(1,"mat-menu",null,1)(3,"div",2),O(4,ZCa,2,1,"div",3),O(5,mDa,3,2,"ng-container",4),H()());a&2&&(E("ngIf",0<b.menuItems.length),z(4),E("ngIf",b.header),z(1),E("ngForOf",b.menuItems)("ngForTrackBy",b.trackByIndex))},dependencies:[dD,
bD,cD,Pw,Qw,Rw,HB,QA,lD],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 WL=function(){};WL.prototype.onClick=function(a,b){nkc(b)&&a.preventDefault()};var nkc=function(a){if(window.getSelection){var b=window.getSelection();if(b&&!b.isCollapsed&&a.contains(b.focusNode))return!0}return!1};WL.\u0275fac=function(a){return new (a||WL)};WL.\u0275dir=Sc({type:WL,selectors:[["","selectionPreventsClick",""]],hostBindings:function(a,b){a&1&&L("click",function(c){return b.onClick(c,c.target)})}});var okc=new ad("CDK_DRAG_PARENT");var pkc=new ad("CdkDragHandle"),XL=function(a,b){this.element=a;this._stateChanges=new D.Subject;this._disabled=!1;this._parentDrag=b};XL.prototype.ngOnDestroy=function(){this._stateChanges.complete()};sh.Object.defineProperties(XL.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Fg(a);this._stateChanges.next(this)}}});XL.\u0275fac=function(a){return new (a||XL)(B(Dd),B(okc,12))};
XL.\u0275dir=Sc({type:XL,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},standalone:!0,features:[Of([{provide:pkc,useExisting:XL}])]});var qkc=new ad("CdkDragPlaceholder");var rkc=new ad("CdkDragPreview"),YL=function(a){this.templateRef=a;this._matchSize=!1};sh.Object.defineProperties(YL.prototype,{matchSize:{configurable:!0,enumerable:!0,get:function(){return this._matchSize},set:function(a){this._matchSize=Fg(a)}}});YL.\u0275fac=function(a){return new (a||YL)(B(Yf))};YL.\u0275dir=Sc({type:YL,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:"matchSize"},standalone:!0,features:[Of([{provide:rkc,useExisting:YL}])]});var skc=new ad("CDK_DRAG_CONFIG");var tkc=Ag({passive:!1,capture:!0}),ZL=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 D.Subject;this.pointerUp=new D.Subject;this.scroll=new D.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},ukc=function(a,b){a._dropInstances.has(b)||a._dropInstances.add(b)},vkc=function(a,b){a._dragInstances.add(b);1===a._dragInstances.size&&a._ngZone.runOutsideAngular(function(){a._document.addEventListener("touchmove",a._persistentTouchmoveListener,tkc)})},xkc=function(a,b){a._dragInstances.delete(b);wkc(a,b);0===a._dragInstances.size&&a._document.removeEventListener("touchmove",a._persistentTouchmoveListener,
tkc)};
ZL.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:tkc}),a||this._globalListeners.set("mousemove",{handler:function(d){return c.pointerMove.next(d)},
options:tkc}),this._ngZone.runOutsideAngular(function(){c._globalListeners.forEach(function(d,e){c._document.addEventListener(e,d.handler,d.options)})})))};var wkc=function(a,b){b=a._activeDragInstances.indexOf(b);-1<b&&(a._activeDragInstances.splice(b,1),0===a._activeDragInstances.length&&a._clearGlobalListeners())};ZL.prototype.isDragging=function(a){return-1<this._activeDragInstances.indexOf(a)};
ZL.prototype.scrolled=function(a){var b=this,c=[this.scroll];a&&a!==this._document&&c.push(new D.Observable(function(d){return b._ngZone.runOutsideAngular(function(){var e=function(g){b._activeDragInstances.length&&d.next(g)};a.addEventListener("scroll",e,!0);return function(){a.removeEventListener("scroll",e,!0)}})}));return D.merge.apply(null,cd(c))};
ZL.prototype.ngOnDestroy=function(){var a=this;this._dragInstances.forEach(function(b){return xkc(a,b)});this._dropInstances.forEach(function(b){a._dropInstances.delete(b)});this._clearGlobalListeners();this.pointerMove.complete();this.pointerUp.complete()};ZL.prototype._clearGlobalListeners=function(){var a=this;this._globalListeners.forEach(function(b,c){a._document.removeEventListener(c,b.handler,b.options)});this._globalListeners.clear()};ZL.\u0275fac=function(a){return new (a||ZL)(t(df),t(qh))};
ZL.\u0275prov=yc({token:ZL,factory:ZL.\u0275fac,providedIn:"root"});var uDa=0;var ykc=function(a){this._document=a;this.positions=new Map};ykc.prototype.clear=function(){this.positions.clear()};ykc.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:nDa(c)})})};
var zkc=function(a,b){var c=Dg(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 g=b.top-e,h=b.left-d;a.positions.forEach(function(l,q){l.clientRect&&c!==q&&c.contains(q)&&Fn(l.clientRect,g,h)});b.top=e;b.left=d;return{top:g,left:h}};ykc.prototype.getViewportScrollPosition=function(){return{top:window.scrollY,left:window.scrollX}};var Akc=Ag({passive:!0}),Bkc=Ag({passive:!1}),wDa=new Set(["position"]),Ekc=function(a,b,c,d,e,g){var h=this;this._config=b;this._document=c;this._ngZone=d;this._viewportRuler=e;this._dragDropRegistry=g;this._passiveTransform={x:0,y:0};this._activeTransform={x:0,y:0};this._hasStartedDragging=!1;this._moveEvents=new D.Subject;this._resizeSubscription=this._scrollSubscription=this._pointerUpSubscription=this._pointerMoveSubscription=D.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 D.Subject;this.started=new D.Subject;this.released=new D.Subject;this.ended=new D.Subject;this.entered=new D.Subject;this.exited=new D.Subject;this.dropped=new D.Subject;this.moved=this._moveEvents;this._pointerDown=function(l){h.beforeStarted.next();if(h._handles.length){var q=h._getTargetHandle(l);!q||h._disabledHandles.has(q)||h.disabled||h._initializeDragSequence(q,
l)}else h.disabled||h._initializeDragSequence(h._rootElement,l)};this._pointerMove=function(l){var q=h._getPointerPositionOnPage(l);if(h._hasStartedDragging){l.preventDefault();var v=h._getConstrainedPointerPosition(q);h._hasMoved=!0;h._lastKnownPointerPosition=q;h._updatePointerDirectionDelta(v);if(h._dropContainer)h._updateActiveDropContainer(v,q);else{q=h.constrainPosition?h._initialClientRect:h._pickupPositionOnPage;var x=h._activeTransform;x.x=v.x-q.x+h._passiveTransform.x;x.y=v.y-q.y+h._passiveTransform.y;
h._applyRootElementTransform(x.x,x.y)}h._moveEvents.observers.length&&h._ngZone.run(function(){h._moveEvents.next({source:h,pointerPosition:v,event:l,distance:h._getDragDistance(v),delta:h._pointerDirectionDelta})})}else Math.abs(q.x-h._pickupPositionOnPage.x)+Math.abs(q.y-h._pickupPositionOnPage.y)>=h._config.dragStartThreshold&&((q=Date.now()>=h._dragStartTime+h._getDragStartDelay(l),x=h._dropContainer,q)?x&&(x.isDragging()||0<x._activeSiblings.size)||(l.preventDefault(),h._hasStartedDragging=!0,
h._ngZone.run(function(){return h._startDragSequence(l)})):h._endDragSequence(l))};this._pointerUp=function(l){h._endDragSequence(l)};this._nativeDragStart=function(l){if(h._handles.length){var q=h._getTargetHandle(l);!q||h._disabledHandles.has(q)||h.disabled||l.preventDefault()}else h.disabled||l.preventDefault()};Ckc(Dkc(this,a),b.parentDragRef||null);this._parentPositions=new ykc(c);vkc(g,this)};Ekc.prototype.getPlaceholderElement=function(){return this._placeholder};
Ekc.prototype.getRootElement=function(){return this._rootElement};
var Fkc=function(a){return a.isDragging()?a.getPlaceholderElement():a.getRootElement()},Gkc=function(a,b){a._handles=b.map(function(d){return Hg(d)});a._handles.forEach(function(d){return Gn(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},Dkc=function(a,b){var c=Hg(b);c!==a._rootElement&&(a._rootElement&&a._removeRootElementListeners(a._rootElement),a._ngZone.runOutsideAngular(function(){c.addEventListener("mousedown",
a._pointerDown,Bkc);c.addEventListener("touchstart",a._pointerDown,Akc);c.addEventListener("dragstart",a._nativeDragStart,Bkc)}),a._initialTransform=void 0,a._rootElement=c);"undefined"!==typeof SVGElement&&a._rootElement instanceof SVGElement&&(a._ownerSVGElement=a._rootElement.ownerSVGElement);return a},Hkc=function(a,b){a._boundaryElement=b?Hg(b):null;a._resizeSubscription.unsubscribe();b&&(a._resizeSubscription=a._viewportRuler.change(10).subscribe(function(){return a._containInsideBoundaryOnResize()}));
return a},Ckc=function(a,b){a._parentDragRef=b};f=Ekc.prototype;
f.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();xkc(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};f.isDragging=function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)};
f.reset=function(){this._rootElement.style.transform=this._initialTransform||"";this._activeTransform={x:0,y:0};this._passiveTransform={x:0,y:0}};f.withDirection=function(a){this._direction=a;return this};f._withDropContainer=function(a){this._dropContainer=a};f.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)};
f._sortFromLastPointerPosition=function(){var a=this._lastKnownPointerPosition;a&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(a),a)};f._removeSubscriptions=function(){this._pointerMoveSubscription.unsubscribe();this._pointerUpSubscription.unsubscribe();this._scrollSubscription.unsubscribe()};f._destroyPreview=function(){var a;null==(a=this._preview)||a.remove();var b;null==(b=this._previewRef)||b.destroy();this._preview=this._previewRef=null};
f._destroyPlaceholder=function(){var a;null==(a=this._placeholder)||a.remove();var b;null==(b=this._placeholderRef)||b.destroy();this._placeholder=this._placeholderRef=null};
f._endDragSequence=function(a){var b=this;if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),wkc(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();
wkc(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();wkc(this._dragDropRegistry,this)}};
f._startDragSequence=function(a){Hn(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(),g=this._anchor=this._anchor||this._document.createComment(""),h=this._getShadowRoot();d.insertBefore(g,c);this._initialTransform=c.style.transform||"";this._preview=this._createPreviewElement();xDa(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:[])};
f._initializeDragSequence=function(a,b){var c=this;this._parentDragRef&&b.stopPropagation();var d=this.isDragging(),e=Hn(b),g=!e&&0!==b.button,h=this._rootElement,l=Dg(b),q=!e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();e=e?Pma(b):Oma(b);l&&l.draggable&&"mousedown"===b.type&&b.preventDefault();d||g||q||e||(this._handles.length&&(d=h.style,this._rootElementTapHighlight=d.webkitTapHighlightColor||"",d.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=
!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(v){return c._updateOnScroll(v)}),this._boundaryElement&&(this._boundaryRect=nDa(this._boundaryElement)),this._pickupPositionInElement=
(d=this._previewTemplate)&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,a,b),a=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(b),this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:a.x,y:a.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,b))};
f._cleanupDragArtifacts=function(a){var b=this;xDa(this._rootElement,!0);this._anchor.parentNode.replaceChild(this._rootElement,this._anchor);this._destroyPreview();this._destroyPlaceholder();this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0;this._ngZone.run(function(){var c=b._dropContainer,d=c.getItemIndex(b),e=b._getPointerPositionOnPage(a),g=b._getDragDistance(e),h=c._isOverContainer(e.x,e.y);b.ended.next({source:b,distance:g,dropPoint:e,event:a});b.dropped.next({item:b,
currentIndex:d,previousIndex:b._initialIndex,container:c,previousContainer:b._initialContainer,isPointerOverContainer:h,distance:g,dropPoint:e,event:a});c.drop(b,d,b._initialIndex,b._initialContainer,h,g,e,a);b._dropContainer=b._initialContainer})};
f._updateActiveDropContainer=function(a,b){var c=this,d=a.x,e=a.y;a=b.x;b=b.y;var g=this._initialContainer._getSiblingContainerFromPosition(this,d,e);!g&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(d,e)&&(g=this._initialContainer);g&&g!==this._dropContainer&&this._ngZone.run(function(){c.exited.next({item:c,container:c._dropContainer});c._dropContainer.exit(c);c._dropContainer=g;c._dropContainer.enter(c,d,e,g===c._initialContainer&&g.sortingDisabled?c._initialIndex:
void 0);c.entered.next({item:c,container:g,currentIndex:g.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))};
f._createPreviewElement=function(){var a=this._previewTemplate,b=this.previewClass,c=a?a.template:null;if(c&&a){var d=a.matchSize?this._initialClientRect:null;c=a.viewContainer.createEmbeddedView(c,a.context);c.detectChanges();var e=DDa(c,this._document);this._previewRef=c;a.matchSize?EDa(e,d):e.style.transform=CDa(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else e=tDa(this._rootElement),EDa(e,this._initialClientRect),this._initialTransform&&(e.style.transform=this._initialTransform);
vDa(e.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":""+(this._config.zIndex||1E3)},wDa);Gn(e,!1);e.classList.add("cdk-drag-preview");e.setAttribute("dir",this._direction);b&&(Array.isArray(b)?b.forEach(function(g){return e.classList.add(g)}):e.classList.add(b));return e};
f._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=BDa(this._preview);return 0===c?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(d){var e=function(h){if(!h||Dg(h)===a._preview&&"transform"===h.propertyName){var l;null==(l=a._preview)||l.removeEventListener("transitionend",
e);d();clearTimeout(g)}},g=setTimeout(e,1.5*c);a._preview.addEventListener("transitionend",e)})})};f._createPlaceholderElement=function(){var a=this._placeholderTemplate,b=a?a.template:null;b?(this._placeholderRef=a.viewContainer.createEmbeddedView(b,a.context),this._placeholderRef.detectChanges(),a=DDa(this._placeholderRef,this._document)):a=tDa(this._rootElement);a.style.pointerEvents="none";a.classList.add("cdk-drag-placeholder");return a};
f._getPointerPositionInElement=function(a,b,c){b=(b=b===this._rootElement?null:b)?b.getBoundingClientRect():a;c=Hn(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)}};
f._getPointerPositionOnPage=function(a){var b=this._getViewportScrollPosition(),c=Hn(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}};
f._getConstrainedPointerPosition=function(a){var b=this._dropContainer?this._dropContainer.lockAxis:null,c=this.constrainPosition?this.constrainPosition(a,this,this._initialClientRect,this._pickupPositionInElement):a;a=c.x;c=c.y;if("x"===this.lockAxis||"x"===b)c=this._pickupPositionOnPage.y;else if("y"===this.lockAxis||"y"===b)a=this._pickupPositionOnPage.x;if(this._boundaryRect){var d=this._pickupPositionInElement;b=d.x;var e=d.y;d=this._boundaryRect;var g=this._getPreviewRect(),h=d.top+e;e=d.bottom-
(g.height-e);a=Math.max(d.left+b,Math.min(d.right-(g.width-b),a));c=Math.max(h,Math.min(e,c))}return{x:a,y:c}};f._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};
f._toggleNativeDragInteractions=function(){if(this._rootElement&&this._handles){var a=0<this._handles.length||!this.isDragging();a!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=a,Gn(this._rootElement,a))}};f._removeRootElementListeners=function(a){a.removeEventListener("mousedown",this._pointerDown,Bkc);a.removeEventListener("touchstart",this._pointerDown,Akc);a.removeEventListener("dragstart",this._nativeDragStart,Bkc)};
f._applyRootElementTransform=function(a,b){a=CDa(a,b);b=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=b.transform&&"none"!=b.transform?b.transform:"");b.transform=yDa(a,this._initialTransform)};f._applyPreviewTransform=function(a,b){var c,d=(null==(c=this._previewTemplate)?0:c.template)?void 0:this._initialTransform;this._preview.style.transform=yDa(CDa(a,b),d)};f._getDragDistance=function(a){var b=this._pickupPositionOnPage;return b?{x:a.x-b.x,y:a.y-b.y}:{x:0,y:0}};
f._cleanupCachedDimensions=function(){this._boundaryRect=this._previewRect=void 0;this._parentPositions.clear()};
f._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,g=c.right-d.right,h=d.top-c.top,l=c.bottom-d.bottom;d.width>c.width?(0<e&&(b+=e),0<g&&(b-=g)):b=0;d.height>c.height?(0<h&&(a+=h),0<l&&(a-=l)):a=0;b===this._passiveTransform.x&&a===
this._passiveTransform.y||this.setFreeDragPosition({y:a,x:b})}}};f._getDragStartDelay=function(a){var b=this.dragStartDelay;return"number"===typeof b?b:Hn(a)?b.touch:b?b.mouse:0};
f._updateOnScroll=function(a){var b=zkc(this._parentPositions,a);b&&(a=Dg(a),this._boundaryRect&&a!==this._boundaryElement&&a.contains(this._boundaryElement)&&Fn(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)))};
f._getViewportScrollPosition=function(){var a;return(null==(a=this._parentPositions.positions.get(this._document))?void 0:a.scrollPosition)||this._parentPositions.getViewportScrollPosition()};f._getShadowRoot=function(){void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Jma(this._rootElement));return this._cachedShadowRoot};
f._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):Hg(c)};f._getPreviewRect=function(){this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect);return this._previewRect};
f._getTargetHandle=function(a){return this._handles.find(function(b){return a.target&&(a.target===b||b.contains(a.target))})};sh.Object.defineProperties(Ekc.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(a){var b=Fg(a);b!==this._disabled&&(this._disabled=b,this._toggleNativeDragInteractions(),this._handles.forEach(function(c){return Gn(c,b)}))}}});var $L=function(a,b){this._element=a;this._dragDropRegistry=b;this._itemPositions=[];this.orientation="vertical";this._previousSwap={drag:null,delta:0,overlaps:!1}};$L.prototype.start=function(a){this.withItems(a)};
$L.prototype.sort=function(a,b,c,d){var e=this._itemPositions,g=this._getItemIndexFromPointerPosition(a,b,c,d);if(-1===g&&0<e.length)return null;var h="horizontal"===this.orientation,l=e.findIndex(function(Q){return Q.drag===a}),q=e[g],v=q.clientRect,x=l>g?1:-1,A=this._getItemOffsetPx(e[l].clientRect,v,x),G=this._getSiblingOffsetPx(l,e,x),M=e.slice();In(e,l,g);e.forEach(function(Q,Y){if(M[Y]!==Q){var W=Q.drag===a;Y=W?A:G;W=W?a.getPlaceholderElement():Q.drag.getRootElement();Q.offset+=Y;h?(W.style.transform=
yDa("translate3d("+Math.round(Q.offset)+"px, 0, 0)",Q.initialTransform),Fn(Q.clientRect,0,Y)):(W.style.transform=yDa("translate3d(0, "+Math.round(Q.offset)+"px, 0)",Q.initialTransform),Fn(Q.clientRect,Y,0))}});this._previousSwap.overlaps=oDa(v,b,c);this._previousSwap.drag=q.drag;this._previousSwap.delta=h?d.x:d.y;return{previousIndex:l,currentIndex:g}};
$L.prototype.enter=function(a,b,c,d){d=null==d||0>d?this._getItemIndexFromPointerPosition(a,b,c):d;var e=this._activeDraggables,g=e.indexOf(a),h=a.getPlaceholderElement(),l=e[d];l===a&&(l=e[d+1]);!l&&(null==d||-1===d||d<e.length-1)&&this._shouldEnterAsFirstChild(b,c)&&(l=e[0]);-1<g&&e.splice(g,1);l&&!this._dragDropRegistry.isDragging(l)?(b=l.getRootElement(),b.parentElement.insertBefore(h,b),e.splice(d,0,a)):(Hg(this._element).appendChild(h),e.push(a));h.style.transform="";this._cacheItemPositions()};
$L.prototype.withItems=function(a){this._activeDraggables=a.slice();this._cacheItemPositions()};var Ikc=function(a,b){a._sortPredicate=b};
$L.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(g){return g.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};
$L.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 Jkc=function(a,b,c){a._itemPositions.forEach(function(d){Fn(d.clientRect,b,c)});a._itemPositions.forEach(function(d){d=d.drag;a._dragDropRegistry.isDragging(d)&&d._sortFromLastPointerPosition()})};f=$L.prototype;
f._cacheItemPositions=function(){var a="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(function(b){var c=Fkc(b);return{drag:b,offset:0,initialTransform:c.style.transform||"",clientRect:nDa(c)}}).sort(function(b,c){return a?b.clientRect.left-c.clientRect.left:b.clientRect.top-c.clientRect.top})};f._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};
f._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 g=d?"left":"top";d=d?"right":"bottom";b=-1===c?b-(a.clientRect[g]-e[d]):b+(e[g]-a.clientRect[d])}return b};
f._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};
f._getItemIndexFromPointerPosition=function(a,b,c,d){var e=this,g="horizontal"===this.orientation,h=this._itemPositions.findIndex(function(l){var q=l.drag;l=l.clientRect;if(q===a)return!1;if(d){var v=g?d.x:d.y;if(q===e._previousSwap.drag&&e._previousSwap.overlaps&&v===e._previousSwap.delta)return!1}return g?b>=Math.floor(l.left)&&b<Math.floor(l.right):c>=Math.floor(l.top)&&c<Math.floor(l.bottom)});return-1!==h&&this._sortPredicate(h,a)?h:-1};var Lkc=function(a,b,c,d,e){var g=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 D.Subject;this.entered=new D.Subject;this.exited=new D.Subject;this.dropped=new D.Subject;this.sorted=new D.Subject;this.receivingStarted=new D.Subject;this.receivingStopped=new D.Subject;this._isDragging=!1;this._draggables=
[];this._siblings=[];this._activeSiblings=new Set;this._viewportScrollSubscription=D.Subscription.EMPTY;this._horizontalScrollDirection=this._verticalScrollDirection=0;this._stopScrollTimers=new D.Subject;this._cachedShadowRoot=null;this._startScrollInterval=function(){g._stopScrolling();(0,D.interval)(0,D.animationFrameScheduler).pipe(af(g._stopScrollTimers)).subscribe(function(){var h=g._scrollNode,l=g.autoScrollStep;1===g._verticalScrollDirection?h.scrollBy(0,-l):2===g._verticalScrollDirection&&
h.scrollBy(0,l);1===g._horizontalScrollDirection?h.scrollBy(-l,0):2===g._horizontalScrollDirection&&h.scrollBy(l,0)})};this.element=Hg(a);this._document=c;Kkc(this,[this.element]);ukc(b,this);this._parentPositions=new ykc(c);this._sortStrategy=new $L(this.element,b);Ikc(this._sortStrategy,function(h,l){return g.sortPredicate(h,l,g)})};f=Lkc.prototype;
f.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)};f.isDragging=function(){return this._isDragging};
f.start=function(){this._draggingStarted();this._notifyReceivingSiblings()};f.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)})};f.exit=function(a){this._reset();this.exited.next({item:a,container:this})};
f.drop=function(a,b,c,d,e,g,h,l){l=void 0===l?{}:l;this._reset();this.dropped.next({item:a,currentIndex:b,previousIndex:c,container:this,previousContainer:d,isPointerOverContainer:e,distance:g,dropPoint:h,event:l})};f.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))};
f.withDirection=function(a){this._sortStrategy.direction=a;return this};f.connectedTo=function(a){this._siblings=a.slice();return this};var Mkc=function(a,b){a._sortStrategy.orientation=b},Kkc=function(a,b){var c=Hg(a.element);a._scrollableElements=-1===b.indexOf(c)?[c].concat(cd(b)):b.slice()};f=Lkc.prototype;f.getItemIndex=function(a){return this._isDragging?this._sortStrategy.getItemIndex(a):this._draggables.indexOf(a)};
f._sortItem=function(a,b,c,d){!this.sortingDisabled&&this._clientRect&&pDa(this._clientRect,b,c)&&(b=this._sortStrategy.sort(a,b,c,d))&&this.sorted.next({previousIndex:b.previousIndex,currentIndex:b.currentIndex,container:this,item:a})};
f._startScrollingIfNecessary=function(a,b){var c=this;if(!this.autoScrollDisabled){var d=0,e=0;this._parentPositions.positions.forEach(function(q,v){if(v!==c._document&&q.clientRect&&!l&&pDa(q.clientRect,a,b)){var x=q.clientRect;q=FDa(x,b);x=GDa(x,a);var A=0,G=0;if(q){var M=v.scrollTop;1===q?0<M&&(A=1):v.scrollHeight-M>v.clientHeight&&(A=2)}x&&(q=v.scrollLeft,1===x?0<q&&(G=1):v.scrollWidth-q>v.clientWidth&&(G=2));q=k([A,G]);d=q.next().value;e=q.next().value;if(d||e)l=v}});if(!d&&!e){var g=this._viewportRuler.getViewportSize(),
h=g.width;g=g.height;h={width:h,height:g,top:0,right:h,bottom:g,left:0};d=FDa(h,b);e=GDa(h,a);var l=window}!l||d===this._verticalScrollDirection&&e===this._horizontalScrollDirection&&l===this._scrollNode||(this._verticalScrollDirection=d,this._horizontalScrollDirection=e,this._scrollNode=l,(d||e)&&l?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}};f._stopScrolling=function(){this._stopScrollTimers.next()};
f._draggingStarted=function(){var a=Hg(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()};f._cacheParentPositions=function(){var a=Hg(this.element);this._parentPositions.cache(this._scrollableElements);this._clientRect=this._parentPositions.positions.get(a).clientRect};
f._reset=function(){var a=this;this._isDragging=!1;var b=Hg(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()};f._isOverContainer=function(a,b){return null!=this._clientRect&&oDa(this._clientRect,a,b)};
f._getSiblingContainerFromPosition=function(a,b,c){return this._siblings.find(function(d){return d._canReceive(a,b,c)})};f._canReceive=function(a,b,c){if(!this._clientRect||!oDa(this._clientRect,b,c)||!this.enterPredicate(a,this))return!1;a=this._getShadowRoot().elementFromPoint(b,c);if(!a)return!1;b=Hg(this.element);return a===b||b.contains(a)};
f._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}))};f._stopReceiving=function(a){this._activeSiblings.delete(a);this._viewportScrollSubscription.unsubscribe();this.receivingStopped.next({initiator:a,receiver:this})};
f._listenToScrollEvents=function(){var a=this;this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(b){a.isDragging()?(b=zkc(a._parentPositions,b))&&Jkc(a._sortStrategy,b.top,b.left):0<a._activeSiblings.size&&a._cacheParentPositions()})};f._getShadowRoot=function(){this._cachedShadowRoot||(this._cachedShadowRoot=Jma(Hg(this.element))||this._document);return this._cachedShadowRoot};
f._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 Nkc={dragStartThreshold:5,pointerDirectionChangeThreshold:5},aM=function(a,b,c,d){this._document=a;this._ngZone=b;this._viewportRuler=c;this._dragDropRegistry=d};aM.prototype.createDrag=function(a,b){b=void 0===b?Nkc:b;return new Ekc(a,b,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)};aM.\u0275fac=function(a){return new (a||aM)(t(qh),t(df),t(Qz),t(ZL))};aM.\u0275prov=yc({token:aM,factory:aM.\u0275fac,providedIn:"root"});var Okc=new ad("CdkDropList"),bM=function(a,b,c,d,e,g,h,l,q,v,x){var A=this;this.element=a;this.dropContainer=b;this._ngZone=d;this._viewContainerRef=e;this._dir=h;this._changeDetectorRef=q;this._selfHandle=v;this._parentDrag=x;this._destroyed=new D.Subject;this.started=new kw;this.released=new kw;this.ended=new kw;this.entered=new kw;this.exited=new kw;this.dropped=new kw;this.moved=new D.Observable(function(G){var M=A._dragRef.moved.pipe(C(function(Q){return{source:A,pointerPosition:Q.pointerPosition,
event:Q.event,delta:Q.delta,distance:Q.distance}})).subscribe(G);return function(){M.unsubscribe()}});this._dragRef=l.createDrag(a,{dragStartThreshold:g&&null!=g.dragStartThreshold?g.dragStartThreshold:5,pointerDirectionChangeThreshold:g&&null!=g.pointerDirectionChangeThreshold?g.pointerDirectionChangeThreshold:5,zIndex:null==g?void 0:g.zIndex});this._dragRef.data=this;Pkc.push(this);g&&this._assignDefaults(g);b&&(this._dragRef._withDropContainer(b._dropListRef),b.addItem(this));this._syncInputs(this._dragRef);
this._handleEvents(this._dragRef)};f=bM.prototype;f.getPlaceholderElement=function(){return this._dragRef.getPlaceholderElement()};f.getRootElement=function(){return this._dragRef.getRootElement()};f.reset=function(){this._dragRef.reset()};f.setFreeDragPosition=function(a){this._dragRef.setFreeDragPosition(a)};
f.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.pipe(Oe(),af(a._destroyed)).subscribe(function(){a._updateRootElement();a._setupHandlesListener();a.freeDragPosition&&a._dragRef.setFreeDragPosition(a.freeDragPosition)})})};f.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)};
f.ngOnDestroy=function(){var a=this;this.dropContainer&&this.dropContainer.removeItem(this);var b=Pkc.indexOf(this);-1<b&&Pkc.splice(b,1);this._ngZone.runOutsideAngular(function(){a._destroyed.next();a._destroyed.complete();a._dragRef.dispose()})};f._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)}Dkc(this._dragRef,b||a)};
f._getBoundaryElement=function(){var a=this.boundaryElement;return a?"string"===typeof a?this.element.nativeElement.closest(a):Hg(a):null};
f._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,g=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:Ig(d);a.constrainPosition=b.constrainPosition;a.previewClass=b.previewClass;d=Hkc(a,b._getBoundaryElement());d._placeholderTemplate=e;d._previewTemplate=g;d._previewContainer=b.previewContainer||"global";c&&a.withDirection(c.value)}});a.beforeStarted.pipe(Oe()).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;Ckc(a,(null==(d=Pkc.find(function(e){return e.element.nativeElement===
c}))?void 0:d._dragRef)||null);break}c=c.parentElement}})};
f._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})})};
f._assignDefaults=function(a){var b=a.lockAxis,c=a.dragStartDelay,d=a.constrainPosition,e=a.previewClass,g=a.boundaryElement,h=a.draggingDisabled,l=a.rootElementSelector;a=a.previewContainer;this.disabled=null==h?!1:h;this.dragStartDelay=c||0;b&&(this.lockAxis=b);d&&(this.constrainPosition=d);e&&(this.previewClass=e);g&&(this.boundaryElement=g);l&&(this.rootElementSelector=l);a&&(this.previewContainer=a)};
f._setupHandlesListener=function(){var a=this;this._handles.changes.pipe(Ze(this._handles),bf(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);Gkc(a._dragRef,b)}),$e(function(b){return D.merge.apply(null,cd(b.map(function(c){return c._stateChanges.pipe(Ze(c))})))}),af(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),Gn(d,!0)):c._disabledHandles.has(d)&&(c._disabledHandles.delete(d),Gn(d,c.disabled))})};sh.Object.defineProperties(bM.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(a){this._disabled=Fg(a);this._dragRef.disabled=this._disabled}}});var Pkc=[];bM.\u0275fac=function(a){return new (a||bM)(B(Dd),B(Okc,12),B(qh),B(df),B(Zf),B(skc,8),B(Cz,8),B(aM),B(Kw),B(pkc,10),B(okc,12))};
bM.\u0275dir=Sc({type:bM,selectors:[["","cdkDrag",""]],contentQueries:function(a,b,c){a&1&&(cg(c,rkc,5),cg(c,qkc,5),cg(c,pkc,5));if(a&2){var d;ag(d=dg())&&(b._previewTemplate=d.first);ag(d=dg())&&(b._placeholderTemplate=d.first);ag(d=dg())&&(b._handles=d)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(a,b){a&2&&xf("cdk-drag-disabled",b.disabled)("cdk-drag-dragging",b._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement",
"rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",
entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[Of([{provide:okc,useExisting:bM}]),gd]});var Qkc=new ad("CdkDropListGroup"),cM=function(){this._items=new Set;this._disabled=!1};cM.prototype.ngOnDestroy=function(){this._items.clear()};sh.Object.defineProperties(cM.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Fg(a)}}});cM.\u0275fac=function(a){return new (a||cM)};
cM.\u0275dir=Sc({type:cM,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],standalone:!0,features:[Of([{provide:Qkc,useExisting:cM}])]});var Rkc=0,dM=function(a,b,c,d,e,g,h){var l=this;this.element=a;this._changeDetectorRef=c;this._scrollDispatcher=d;this._dir=e;this._group=g;this._destroyed=new D.Subject;this.connectedTo=[];this.id="cdk-drop-list-"+Rkc++;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.dropped=new kw;this.entered=new kw;this.exited=new kw;this.sorted=new kw;this._unsortedItems=new Set;this._dropListRef=new Lkc(a,b._dragDropRegistry,b._document,b._ngZone,b._viewportRuler);this._dropListRef.data=
this;h&&this._assignDefaults(h);this._dropListRef.enterPredicate=function(q,v){return l.enterPredicate(q.data,v.data)};this._dropListRef.sortPredicate=function(q,v,x){return l.sortPredicate(q,v.data,x.data)};this._setupInputSyncSubscription(this._dropListRef);this._handleEvents(this._dropListRef);Skc.push(this);g&&g._items.add(this)};dM.prototype.addItem=function(a){this._unsortedItems.add(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};
dM.prototype.removeItem=function(a){this._unsortedItems.delete(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};var Tkc=function(a){return Array.from(a._unsortedItems).sort(function(b,c){return Fkc(b._dragRef).compareDocumentPosition(Fkc(c._dragRef))&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})};f=dM.prototype;
f.ngOnDestroy=function(){var a=Skc.indexOf(this);-1<a&&Skc.splice(a,1);this._group&&this._group._items.delete(this);this._unsortedItems.clear();this._dropListRef.dispose();this._destroyed.next();this._destroyed.complete()};
f._setupInputSyncSubscription=function(a){var b=this;this._dir&&this._dir.change.pipe(Ze(this._dir.value),af(this._destroyed)).subscribe(function(c){return a.withDirection(c)});a.beforeStarted.subscribe(function(){var c=Eg(b.connectedTo).map(function(e){return"string"===typeof e?Skc.find(function(g){return g.id===e}):e});b._group&&b._group._items.forEach(function(e){-1===c.indexOf(e)&&c.push(e)});if(!b._scrollableParentsResolved){var d=nWb(b._scrollDispatcher,b.element).map(function(e){return e.elementRef.nativeElement});
Kkc(b._dropListRef,d);b._scrollableParentsResolved=!0}a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.sortingDisabled=Fg(b.sortingDisabled);a.autoScrollDisabled=Fg(b.autoScrollDisabled);a.autoScrollStep=Ig(b.autoScrollStep,2);Mkc(a.connectedTo(c.filter(function(e){return e&&e!==b}).map(function(e){return e._dropListRef})),b.orientation)})};
f._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,D.merge)(a.receivingStarted,a.receivingStopped).subscribe(function(){return b._changeDetectorRef.markForCheck()})};
f._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)};f._syncItemsWithRef=function(){this._dropListRef.withItems(Tkc(this).map(function(a){return a._dragRef}))};
sh.Object.defineProperties(dM.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(a){this._dropListRef.disabled=this._disabled=Fg(a)}}});var Skc=[];dM.\u0275fac=function(a){return new (a||dM)(B(Dd),B(aM),B(Kw),B(Mz),B(Cz,8),B(Qkc,12),B(skc,8))};
dM.\u0275dir=Sc({type:dM,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(a,b){a&2&&(of("id",b.id),xf("cdk-drop-list-disabled",b.disabled)("cdk-drop-list-dragging",b._dropListRef.isDragging())("cdk-drop-list-receiving",0<b._dropListRef._activeSiblings.size))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis",
"lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},
exportAs:["cdkDropList"],standalone:!0,features:[Of([{provide:Qkc,useValue:void 0},{provide:Okc,useExisting:dM}])]});var eM=function(){};eM.\u0275fac=function(a){return new (a||eM)};eM.\u0275mod=Qc({type:eM});eM.\u0275inj=zc({providers:[aM],imports:[Tz]});var fM=new ad("CDK_TABLE");new ad("text-column-options");var gM=function(a){this.template=a};gM.\u0275fac=function(a){return new (a||gM)(B(Yf))};gM.\u0275dir=Sc({type:gM,selectors:[["","cdkCellDef",""]]});var hM=function(a){this.template=a};hM.\u0275fac=function(a){return new (a||hM)(B(Yf))};hM.\u0275dir=Sc({type:hM,selectors:[["","cdkHeaderCellDef",""]]});var Ukc=function(a){this.template=a};Ukc.\u0275fac=function(a){return new (a||Ukc)(B(Yf))};Ukc.\u0275dir=Sc({type:Ukc,selectors:[["","cdkFooterCellDef",""]]});
var Vkc=HDa(function(){}),iM=function(a){var b=Vkc.call(this)||this;b._table=a;b._stickyEnd=!1;return b};T(iM,Vkc);iM.prototype._updateColumnCssClassName=function(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]};iM.prototype._setNameInput=function(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())};
sh.Object.defineProperties(iM.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}},stickyEnd:{configurable:!0,enumerable:!0,get:function(){return this._stickyEnd},set:function(a){var b=this._stickyEnd;this._stickyEnd=Fg(a);this._hasStickyChanged=b!==this._stickyEnd}}});iM.\u0275fac=function(a){return new (a||iM)(B(fM,8))};
iM.\u0275dir=Sc({type:iM,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,b,c){a&1&&(cg(c,gM,5),cg(c,hM,5),cg(c,Ukc,5));if(a&2){var d;ag(d=dg())&&(b.cell=d.first);ag(d=dg())&&(b.headerCell=d.first);ag(d=dg())&&(b.footerCell=d.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Of([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:iM}]),kf]});
var Wkc=function(a,b){b.nativeElement.classList.add.apply(b.nativeElement.classList,cd(a._columnCssClassName))},jM=function(a,b){Wkc.call(this,a,b)};T(jM,Wkc);jM.\u0275fac=function(a){return new (a||jM)(B(iM),B(Dd))};jM.\u0275dir=Sc({type:jM,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[kf]});
var kM=function(a,b){Wkc.call(this,a,b);var c;1===(null==(c=a._table)?void 0:c._elementRef.nativeElement.nodeType)&&(a=a._table._elementRef.nativeElement.getAttribute("role"),b.nativeElement.setAttribute("role","grid"===a||"treegrid"===a?"gridcell":"cell"))};T(kM,Wkc);kM.\u0275fac=function(a){return new (a||kM)(B(iM),B(Dd))};kM.\u0275dir=Sc({type:kM,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[kf]});var Xkc=function(){this.tasks=[];this.endTasks=[]},Ykc=new ad("_COALESCED_STYLE_SCHEDULER"),lM=function(a){this._ngZone=a;this._currentSchedule=null;this._destroyed=new D.Subject};lM.prototype.schedule=function(a){this._createScheduleIfNeeded();this._currentSchedule.tasks.push(a)};lM.prototype.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};
lM.prototype._createScheduleIfNeeded=function(){var a=this;this._currentSchedule||(this._currentSchedule=new Xkc,this._getScheduleObservable().pipe(af(this._destroyed)).subscribe(function(){for(;a._currentSchedule.tasks.length||a._currentSchedule.endTasks.length;){var b=a._currentSchedule;a._currentSchedule=new Xkc;for(var c=k(b.tasks),d=c.next();!d.done;d=c.next())d=d.value,d();b=k(b.endTasks);for(d=b.next();!d.done;d=b.next())c=d.value,c()}a._currentSchedule=null}))};
lM.prototype._getScheduleObservable=function(){return this._ngZone.isStable?(0,D.from)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Oe())};lM.\u0275fac=function(a){return new (a||lM)(t(df))};lM.\u0275prov=yc({token:lM,factory:lM.\u0275fac});var mM=function(a,b){this.template=a;this._differs=b};mM.prototype.ngOnChanges=function(a){this._columnsDiffer||(a=a.columns&&a.columns.currentValue||[],this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a))};mM.\u0275fac=function(a){return new (a||mM)(B(Yf),B(Nw))};mM.\u0275dir=Sc({type:mM,features:[gd]});var Zkc=function(){mM.apply(this,arguments)};T(Zkc,mM);Zkc.\u0275dir=mM.\u0275dir;Zkc.\u0275fac=mM.\u0275fac;
var $kc=HDa(Zkc),nM=function(a,b,c){a=$kc.call(this,a,b)||this;a._table=c;return a};T(nM,$kc);nM.prototype.ngOnChanges=function(a){$kc.prototype.ngOnChanges.call(this,a)};nM.\u0275fac=function(a){return new (a||nM)(B(Yf),B(Nw),B(fM,8))};nM.\u0275dir=Sc({type:nM,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[kf,gd]});var alc=function(){mM.apply(this,arguments)};T(alc,mM);alc.\u0275dir=mM.\u0275dir;
alc.\u0275fac=mM.\u0275fac;var blc=HDa(alc),oM=function(a,b,c){a=blc.call(this,a,b)||this;a._table=c;return a};T(oM,blc);oM.prototype.ngOnChanges=function(a){blc.prototype.ngOnChanges.call(this,a)};oM.\u0275fac=function(a){return new (a||oM)(B(Yf),B(Nw),B(fM,8))};oM.\u0275dir=Sc({type:oM,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[kf,gd]});var pM=function(a,b,c){mM.call(this,a,b);this._table=c};T(pM,mM);
pM.\u0275fac=function(a){return new (a||pM)(B(Yf),B(Nw),B(fM,8))};pM.\u0275dir=Sc({type:pM,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[kf]});var qM=function(a){this._viewContainer=a;clc=this};qM.prototype.ngOnDestroy=function(){clc===this&&(clc=null)};var clc=null;qM.\u0275fac=function(a){return new (a||qM)(B(Zf))};qM.\u0275dir=Sc({type:qM,selectors:[["","cdkCellOutlet",""]]});var rM=function(){};
rM.\u0275fac=function(a){return new (a||rM)};rM.\u0275cmp=Oc({type:rM,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Cf(0,0)},dependencies:[qM],encapsulation:2});var sM=function(){};sM.\u0275fac=function(a){return new (a||sM)};
sM.\u0275cmp=Oc({type:sM,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Cf(0,0)},dependencies:[qM],encapsulation:2});var dlc=function(a){this.templateRef=a;this._contentClassName="cdk-no-data-row"};dlc.\u0275fac=function(a){return new (a||dlc)(B(Yf))};dlc.\u0275dir=Sc({type:dlc,selectors:[["ng-template","cdkNoDataRow",""]]});var elc=new ad("CDK_SPL");var flc=["top","bottom","left","right"],glc=function(a,b,c,d,e,g,h){e=void 0===e?!0:e;g=void 0===g?!0:g;this._isNativeHtmlTable=a;this._stickCellCss=b;this.direction=c;this._coalescedStyleScheduler=d;this._isBrowser=e;this._needsPositionStickyOnElement=g;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"}},hlc=function(a,b,c){var d=[];b=k(b);for(var e=b.next();!e.done;e=
b.next())if(e=e.value,e.nodeType===e.ELEMENT_NODE){d.push(e);for(var g=0;g<e.children.length;g++)d.push(e.children[g])}a._coalescedStyleScheduler.schedule(function(){for(var h=k(d),l=h.next();!l.done;l=h.next())a._removeStickyStyle(l.value,c)})},ilc=function(a,b,c,d,e){e=void 0===e?!0:e;if(b.length&&a._isBrowser&&(c.some(function(G){return G})||d.some(function(G){return G}))){var g=b[0],h=g.children.length,l=a._getCellWidths(g,e),q=a._getStickyStartColumnPositions(l,c),v=a._getStickyEndColumnPositions(l,
d),x=c.lastIndexOf(!0),A=d.indexOf(!0);a._coalescedStyleScheduler.schedule(function(){var G="rtl"===a.direction,M=G?"right":"left";G=G?"left":"right";for(var Q=k(b),Y=Q.next();!Y.done;Y=Q.next()){Y=Y.value;for(var W=0;W<h;W++){var ia=Y.children[W];c[W]&&a._addStickyStyle(ia,M,q[W],W===x);d[W]&&a._addStickyStyle(ia,G,v[W],W===A)}}a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:-1===x?[]:l.slice(0,x+1).map(function(ja,Aa){return c[Aa]?ja:null})}),a._positionListener.stickyEndColumnsUpdated({sizes:-1===
A?[]:l.slice(A).map(function(ja,Aa){return d[Aa+A]?ja:null}).reverse()}))})}else a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:[]}),a._positionListener.stickyEndColumnsUpdated({sizes:[]}))},jlc=function(a,b,c,d){if(a._isBrowser){var e="bottom"===d?b.slice().reverse():b,g="bottom"===d?c.slice().reverse():c,h=[],l=[],q=[];for(c=b=0;b<e.length;b++)if(g[b]){h[b]=c;var v=e[b];q[b]=a._isNativeHtmlTable?Array.from(v.children):[v];v=v.getBoundingClientRect().height;c+=v;l[b]=v}var x=
g.lastIndexOf(!0);a._coalescedStyleScheduler.schedule(function(){for(var A=0;A<e.length;A++)if(g[A])for(var G=h[A],M=A===x,Q=k(q[A]),Y=Q.next();!Y.done;Y=Q.next())a._addStickyStyle(Y.value,d,G,M);if("top"===d){var W;null==(W=a._positionListener)||W.stickyHeaderRowsUpdated({sizes:l,offsets:h,elements:q})}else{var ia;null==(ia=a._positionListener)||ia.stickyFooterRowsUpdated({sizes:l,offsets:h,elements:q})}})}},klc=function(a,b,c){if(a._isNativeHtmlTable){var d=b.querySelector("tfoot");a._coalescedStyleScheduler.schedule(function(){c.some(function(e){return!e})?
a._removeStickyStyle(d,["bottom"]):a._addStickyStyle(d,"bottom",0,!1)})}};f=glc.prototype;f._removeStickyStyle=function(a,b){for(var c=k(b),d=c.next();!d.done;d=c.next())d=d.value,a.style[d]="",a.classList.remove(this._borderCellCss[d]);flc.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))};
f._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; ")};f._getCalculatedZIndex=function(a){for(var b={top:100,bottom:10,left:1,right:1},c=0,d=k(flc),e=d.next();!e.done;e=d.next())e=e.value,a.style[e]&&(c+=b[e]);return c?""+c:""};
f._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};f._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};f._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 llc=[[["caption"]],[["colgroup"],["col"]]],tM=function(a,b){this.viewContainer=a;this.elementRef=b};tM.\u0275fac=function(a){return new (a||tM)(B(Zf),B(Dd))};tM.\u0275dir=Sc({type:tM,selectors:[["","rowOutlet",""]]});var uM=function(a,b){this.viewContainer=a;this.elementRef=b};uM.\u0275fac=function(a){return new (a||uM)(B(Zf),B(Dd))};uM.\u0275dir=Sc({type:uM,selectors:[["","headerRowOutlet",""]]});var vM=function(a,b){this.viewContainer=a;this.elementRef=b};
vM.\u0275fac=function(a){return new (a||vM)(B(Zf),B(Dd))};vM.\u0275dir=Sc({type:vM,selectors:[["","footerRowOutlet",""]]});var wM=function(a,b){this.viewContainer=a;this.elementRef=b};wM.\u0275fac=function(a){return new (a||wM)(B(Zf),B(Dd))};wM.\u0275dir=Sc({type:wM,selectors:[["","noDataRowOutlet",""]]});
var xM=function(a,b,c,d,e,g,h,l,q,v,x,A){this._differs=a;this._changeDetectorRef=b;this._elementRef=c;this._dir=e;this._platform=h;this._viewRepeater=l;this._coalescedStyleScheduler=q;this._viewportRuler=v;this._stickyPositioningListener=x;this._ngZone=A;this._onDestroy=new D.Subject;this._columnDefsByName=new Map;this._customColumnDefs=new Set;this._customRowDefs=new Set;this._customHeaderRowDefs=new Set;this._customFooterRowDefs=new Set;this._forceRecalculateCellWidths=this._stickyColumnStylesNeedReset=
this._footerRowDefChanged=this._headerRowDefChanged=!0;this._cachedRenderRowsMap=new Map;this.stickyCssClass="cdk-table-sticky";this.needsPositionStickyOnElement=!0;this._fixedLayout=this._multiTemplateDataRows=this._isShowingNoDataRow=!1;this.contentChanged=new kw;d||this._elementRef.nativeElement.setAttribute("role","table");this._document=g;this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName};
xM.prototype.ngOnInit=function(){var a=this;this._setupStickyStyler();this._isNativeHtmlTable&&this._applyNativeTableSections();this._dataDiffer=this._differs.find([]).create(function(b,c){return a.trackBy?a.trackBy(c.dataIndex,c.data):c});this._viewportRuler.change().pipe(af(this._onDestroy)).subscribe(function(){a._forceRecalculateCellWidths=!0})};
xM.prototype.ngAfterContentChecked=function(){this._cacheRowDefs();this._cacheColumnDefs();var a=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||a;this._forceRecalculateCellWidths=a;this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1);this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1);this.dataSource&&0<this._rowDefs.length&&
!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&yM(this);this._checkStickyStates()};
xM.prototype.ngOnDestroy=function(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(function(a){a.clear()});this._headerRowDefs=[];this._footerRowDefs=[];this._defaultRowDef=null;this._onDestroy.next();this._onDestroy.complete();Aoa(this.dataSource)&&this.dataSource.disconnect(this)};
xM.prototype.renderRows=function(){var a=this;this._renderRows=this._getAllRenderRows();var b=this._dataDiffer.diff(this._renderRows);if(b){var c=this._rowOutlet.viewContainer;pWb(b,c,function(d,e,g){return a._getEmbeddedViewArgs(d.item,g)},function(d){1===d.operation&&d.context&&a._renderCellTemplateForItem(d.record.item.rowDef,d.context)});this._updateRowIndexContext();KSb(b,function(d){c.get(d.currentIndex).context.$implicit=d.item.data});this._updateNoDataRow();this._ngZone&&Aja()?this._ngZone.onStable.pipe(Oe(),
af(this._onDestroy)).subscribe(function(){yM(a)}):yM(this)}else this._updateNoDataRow();this.contentChanged.next()};
var mlc=function(a){var b=a._getRenderedRows(a._headerRowOutlet),c=a._elementRef.nativeElement.querySelector("thead");c&&(c.style.display=b.length?"":"none");c=a._headerRowDefs.map(function(d){return d.sticky});hlc(a._stickyStyler,b,["top"]);jlc(a._stickyStyler,b,c,"top");a._headerRowDefs.forEach(function(d){return d.resetStickyChanged()})},nlc=function(a){var b=a._getRenderedRows(a._footerRowOutlet),c=a._elementRef.nativeElement.querySelector("tfoot");c&&(c.style.display=b.length?"":"none");c=a._footerRowDefs.map(function(d){return d.sticky});
hlc(a._stickyStyler,b,["bottom"]);jlc(a._stickyStyler,b,c,"bottom");klc(a._stickyStyler,a._elementRef.nativeElement,c);a._footerRowDefs.forEach(function(d){return d.resetStickyChanged()})},yM=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)hlc(a._stickyStyler,[].concat(cd(b),cd(c),cd(d)),["left","right"]),a._stickyColumnStylesNeedReset=!1;b.forEach(function(e,
g){a._addStickyColumnStyles([e],a._headerRowDefs[g])});a._rowDefs.forEach(function(e){for(var g=[],h=0;h<c.length;h++)a._renderRows[h].rowDef===e&&g.push(c[h]);a._addStickyColumnStyles(g,e)});d.forEach(function(e,g){a._addStickyColumnStyles([e],a._footerRowDefs[g])});Array.from(a._columnDefsByName.values()).forEach(function(e){return e.resetStickyChanged()})};f=xM.prototype;
f._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 g=e[d],h=this._cachedRenderRowsMap.get(g.data);h.has(g.rowDef)?h.get(g.rowDef).push(g):h.set(g.rowDef,[g]);a.push(g)}}return a};
f._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}})};f._cacheColumnDefs=function(){var a=this;this._columnDefsByName.clear();IDa(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(function(b){a._columnDefsByName.has(b.name);a._columnDefsByName.set(b.name,b)})};
f._cacheRowDefs=function(){this._headerRowDefs=IDa(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs);this._footerRowDefs=IDa(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs);this._rowDefs=IDa(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);this._defaultRowDef=this._rowDefs.filter(function(a){return!a.when})[0]};
f._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};
f._switchDataSource=function(a){this._data=[];Aoa(this.dataSource)&&this.dataSource.disconnect(this);this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null);a||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear());this._dataSource=a};
f._observeRenderChanges=function(){var a=this;if(this.dataSource){var b;Aoa(this.dataSource)?b=this.dataSource.connect(this):(0,D.isObservable)(this.dataSource)?b=this.dataSource:Array.isArray(this.dataSource)&&(b=(0,D.of)(this.dataSource));this._renderChangeSubscription=b.pipe(af(this._onDestroy)).subscribe(function(c){a._data=c||[];a.renderRows()})}};
f._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)});mlc(this)};f._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)});nlc(this)};
f._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});ilc(this._stickyStyler,a,b,d,!this._fixedLayout||this._forceRecalculateCellWidths)};f._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};
f._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};f._getEmbeddedViewArgs=function(a,b){return{templateRef:a.rowDef.template,context:{$implicit:a.data},index:b}};
f._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};f._renderCellTemplateForItem=function(a,b){a=k(this._getCellTemplates(a));for(var c=a.next();!c.done;c=a.next())c=c.value,clc&&clc._viewContainer.createEmbeddedView(c,b);this._changeDetectorRef.markForCheck()};
f._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}};
f._getCellTemplates=function(a){var b=this;return a&&a.columns?Array.from(a.columns,function(c){c=b._columnDefsByName.get(c);return a instanceof nM?c.headerCell.template:a instanceof oM?c.footerCell.template:c.cell.template}):[]};
f._applyNativeTableSections=function(){for(var a=this._document.createDocumentFragment(),b=k([{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}]),c=b.next();!c.done;c=b.next()){var d=c.value;c=this._document.createElement(d.tag);c.setAttribute("role","rowgroup");d=k(d.outlets);for(var e=d.next();!e.done;e=d.next())c.appendChild(e.value.elementRef.nativeElement);a.appendChild(c)}this._elementRef.nativeElement.appendChild(a)};
f._forceRenderDataRows=function(){this._dataDiffer.diff([]);this._rowOutlet.viewContainer.clear();this.renderRows()};f._checkStickyStates=function(){var a=function(b,c){return b||c.hasStickyChanged()};this._headerRowDefs.reduce(a,!1)&&mlc(this);this._footerRowDefs.reduce(a,!1)&&nlc(this);Array.from(this._columnDefsByName.values()).reduce(a,!1)&&(this._stickyColumnStylesNeedReset=!0,yM(this))};
f._setupStickyStyler=function(){var a=this;this._stickyStyler=new glc(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,D.of)()).pipe(af(this._onDestroy)).subscribe(function(b){a._stickyStyler.direction=b;yM(a)})};f._getOwnDefs=function(a){var b=this;return a.filter(function(c){return!c._table||c._table===b})};
f._updateNoDataRow=function(){var a=this._customNoDataRow||this._noDataRow;if(a){var b=0===this._rowOutlet.viewContainer.length;if(b!==this._isShowingNoDataRow){var c=this._noDataRowOutlet.viewContainer;b?(a=c.createEmbeddedView(a.templateRef),c=a.rootNodes[0],1===a.rootNodes.length&&(null==c?void 0:c.nodeType)===this._document.ELEMENT_NODE&&(c.setAttribute("role","row"),c.classList.add("cdk-no-data-row"))):c.clear();this._isShowingNoDataRow=b}}};
sh.Object.defineProperties(xM.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=Fg(a);this._rowOutlet&&this._rowOutlet.viewContainer.length&&
(this._forceRenderDataRows(),yM(this))}},fixedLayout:{configurable:!0,enumerable:!0,get:function(){return this._fixedLayout},set:function(a){this._fixedLayout=Fg(a);this._stickyColumnStylesNeedReset=this._forceRecalculateCellWidths=!0}}});xM.\u0275fac=function(a){return new (a||xM)(B(Nw),B(Kw),B(Dd),wd("role"),B(Cz,8),B(qh),B(Rx),B(qWb),B(Ykc),B(Qz),B(elc,12),B(df,8))};
xM.\u0275cmp=Oc({type:xM,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,b,c){a&1&&(cg(c,dlc,5),cg(c,iM,5),cg(c,pM,5),cg(c,nM,5),cg(c,oM,5));if(a&2){var d;ag(d=dg())&&(b._noDataRow=d.first);ag(d=dg())&&(b._contentColumnDefs=d);ag(d=dg())&&(b._contentRowDefs=d);ag(d=dg())&&(b._contentHeaderRowDefs=d);ag(d=dg())&&(b._contentFooterRowDefs=d)}},viewQuery:function(a,b){a&1&&(bg(tM,7),bg(uM,7),bg(vM,7),bg(wM,7));if(a&2){var c;ag(c=dg())&&(b._rowOutlet=c.first);ag(c=dg())&&(b._headerRowOutlet=
c.first);ag(c=dg())&&(b._footerRowOutlet=c.first);ag(c=dg())&&(b._noDataRowOutlet=c.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(a,b){a&2&&xf("cdk-table-fixed-layout",b.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Of([{provide:fM,useExisting:xM},{provide:qWb,useClass:oWb},{provide:Ykc,useClass:lM},
{provide:elc,useValue:null}])],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a){a&1&&(Ff(llc),Gf(0),Gf(1,1),Cf(2,0)(3,1)(4,2)(5,3))},dependencies:[tM,uM,vM,wM],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2});var zM=function(){};zM.\u0275fac=function(a){return new (a||zM)};zM.\u0275mod=Qc({type:zM});zM.\u0275inj=zc({imports:[Uz]});var AM=function(){gM.apply(this,arguments)};T(AM,gM);AM.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(AM)))(b||AM)}}();AM.\u0275dir=Sc({type:AM,selectors:[["","matCellDef",""]],features:[Of([{provide:gM,useExisting:AM}]),kf]});var BM=function(){hM.apply(this,arguments)};T(BM,hM);BM.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(BM)))(b||BM)}}();BM.\u0275dir=Sc({type:BM,selectors:[["","matHeaderCellDef",""]],features:[Of([{provide:hM,useExisting:BM}]),kf]});
var CM=function(){return iM.apply(this,arguments)||this};T(CM,iM);CM.prototype._updateColumnCssClassName=function(){iM.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};sh.Object.defineProperties(CM.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});CM.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(CM)))(b||CM)}}();
CM.\u0275dir=Sc({type:CM,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Of([{provide:iM,useExisting:CM},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:CM}]),kf]});var DM=function(){jM.apply(this,arguments)};T(DM,jM);DM.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(DM)))(b||DM)}}();DM.\u0275dir=Sc({type:DM,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[kf]});
var EM=function(){kM.apply(this,arguments)};T(EM,kM);EM.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(EM)))(b||EM)}}();EM.\u0275dir=Sc({type:EM,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[kf]});var FM=function(){return nM.apply(this,arguments)||this};T(FM,nM);FM.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(FM)))(b||FM)}}();FM.\u0275dir=Sc({type:FM,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Of([{provide:nM,useExisting:FM}]),kf]});var GM=function(){pM.apply(this,arguments)};T(GM,pM);GM.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(GM)))(b||GM)}}();
GM.\u0275dir=Sc({type:GM,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Of([{provide:pM,useExisting:GM}]),kf]});var HM=function(){};T(HM,rM);HM.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(HM)))(b||HM)}}();
HM.\u0275cmp=Oc({type:HM,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[Of([{provide:rM,useExisting:HM}]),kf],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Cf(0,0)},dependencies:[qM],encapsulation:2});var IM=function(){};T(IM,sM);IM.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(IM)))(b||IM)}}();
IM.\u0275cmp=Oc({type:IM,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[Of([{provide:sM,useExisting:IM}]),kf],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Cf(0,0)},dependencies:[qM],encapsulation:2});var olc=[[["caption"]],[["colgroup"],["col"]]],JM=function(){xM.apply(this,arguments);this.stickyCssClass="mat-table-sticky";this.needsPositionStickyOnElement=!1};T(JM,xM);JM.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(JM)))(b||JM)}}();
JM.\u0275cmp=Oc({type:JM,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-table"],hostVars:2,hostBindings:function(a,b){a&2&&xf("mat-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],features:[Of([{provide:qWb,useClass:oWb},{provide:xM,useExisting:JM},{provide:fM,useExisting:JM},{provide:Ykc,useClass:lM},{provide:elc,useValue:null}]),kf],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",
""],["footerRowOutlet",""]],template:function(a){a&1&&(Ff(olc),Gf(0),Gf(1,1),Cf(2,0)(3,1)(4,2)(5,3))},dependencies:[tM,uM,vM,wM],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],
encapsulation:2});var sEa=function(a){return{row:a}},zEa=function(){return["pinnedIssues"]},plc=new Map([["title","Title"],["id","ID"],["priority","Priority"],["type","Type"],["status","Status"],["team","Team"],["assignee","Assignee"],["reporter","Reporter"],["createdTime","Created Time"],["menu","More Options"],["alert","Alert"],["action",""],["pin",""],["modifiedTime","Last Modified"]]),KM=function(a,b,c,d){this.issueFridge=a;this.domSafe=b;this.router=c;this.hackyPrefs=d;this.getUserInvolvement=awa;this.ldapOnly=
Wl;this.viewCellTemplates={};this.COLUMN_TITLES=plc;this.issueIds$=new D.BehaviorSubject([]);this.defaultColumns=["title","priority","type","id","status"];this.displayedColumns=[];this.customColumns=[];this.displayedIssues$=this.issueIds$.pipe($e(this.issueFridge.watchSet))};f=KM.prototype;f.ngOnChanges=function(a){!a.displayedColumns||0!==this.displayedColumns.length&&this.displayedColumns.every(function(b){return plc.has(b)})||(this.displayedColumns=this.defaultColumns)};
f.navigateToIssue=function(a,b){a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=em(b.issueId),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Zn(this.domSafe,b):ls(this.router,b))};
f.getMenuItems=function(a){var b=this,c=[{type:"action",label:"Add to My Projects",action:function(){Kn(b.hackyPrefs,a.issueId)},title:"Add to My Projects",icon:"add"}],d,e;((null==(d=this.hackyPrefs.prefs.sectionA)?0:d.includes("working-on-this-week"))||(null==(e=this.hackyPrefs.prefs.sectionW)?0:e.includes("working-on-this-week")))&&c.push({type:"action",label:"Add to this week",action:function(){var g=b.hackyPrefs,h=a.issueId,l=g.prefs;l.issuesThisWeek&&!l.issuesThisWeek.issues.includes(h)&&(l.issuesThisWeek.issues.unshift(h),
g.save(l))},title:"Add to this week",icon:"add"});return c};f.getViewCellTemplate=function(a){if(null!=a)return this.viewCellTemplates[a]||void 0};f.getAssigneeString=function(a){var b,c;return Cn(pi(null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.assigneeUser)||void 0)};f.isInProgress=function(a){return"ACCEPTED"===(null==a?void 0:a.snapshot[0].status)};f.trackByIssueLastModified=function(a,b){return b.issueId+"-"+b.majorModifiedTimeMicros};
sh.Object.defineProperties(KM.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(null!=a?a:[])}}});KM.\u0275fac=function(a){return new (a||KM)(B(JI),B(vL),B(IH),B(rJ))};
KM.\u0275cmp=Oc({type:KM,selectors:[["flat-issues-table"]],inputs:{issueIds:"issueIds",displayedColumns:"displayedColumns",customColumns:"customColumns",assigneeMode:"assigneeMode"},features:[gd],decls:2,vars:3,consts:[[4,"ngIf"],["mat-table","","cdkDropList","","cdkDropListSortingDisabled","",1,"full-width",3,"dataSource","trackBy","cdkDropListConnectedTo","cdkDropListData"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","priority"],
["matColumnDef","title"],["matColumnDef","type"],["matColumnDef","status"],["matColumnDef","team"],["matColumnDef","assignee"],["mat-header-cell","","mat-sort-header","assignee",4,"matHeaderCellDef"],["matColumnDef","reporter"],["mat-header-cell","","mat-sort-header","reporter",4,"matHeaderCellDef"],["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime",4,"matHeaderCellDef"],["matColumnDef","modifiedTime"],["mat-header-cell","","mat-sort-header","modifiedTime",4,"matHeaderCellDef"],
["matColumnDef","menu"],[4,"ngFor","ngForOf"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","","class","clickable",3,"highlighted","click","mouseup",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[3,"issuePriority"],[1,"break-word",3,"issue"],[3,"issue"],["mat-header-cell","","mat-sort-header","assignee"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"issue",4,"ngSwitchDefault"],[3,"email"],[3,"email",4,"ngIf"],["mat-header-cell","","mat-sort-header",
"reporter"],["mat-header-cell","","mat-sort-header","createdTime"],["mat-header-cell","","mat-sort-header","modifiedTime"],["mode","relativepast",3,"timestamp",4,"ngIf","ngIfElse"],["noData",""],["mode","relativepast",3,"timestamp"],["buttonLabel","More options",3,"menuItems","click"],[3,"matColumnDef",4,"ngIf"],[3,"matColumnDef"],["mat-header-cell","","class","first-letter-capitalized",4,"matHeaderCellDef"],["mat-header-cell","",1,"first-letter-capitalized"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],
["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"click","mouseup"],[3,"issue",4,"cdkDragPreview"]],template:function(a,b){a&1&&(O(0,AEa,38,8,"ng-container",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.displayedIssues$))},dependencies:[Qw,Rw,Ww,Sw,Tw,Uw,JM,BM,FM,CM,AM,GM,DM,EM,HM,IM,HL,IL,JL,KL,NL,TL,UL,wJ,VL,dM,YL,AL,zL,uL,WL,FL,Xw],styles:[".mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}[_nghost-%COMP%]{display:block;overflow-x:auto}[_nghost-%COMP%]     .mat-column-assignee b-user-image img{max-width:24px;vertical-align:middle}[_nghost-%COMP%]     .mat-column-modifiedTime{min-width:98px}"],
changeDetection:0});var LM=function(a,b){this.templateRef=a;this.flatIssuesTable=b};LM.prototype.ngOnInit=function(){this.forViewCell&&(this.flatIssuesTable.viewCellTemplates[this.forViewCell]=this.templateRef)};LM.\u0275fac=function(a){return new (a||LM)(B(Yf),B(KM))};LM.\u0275dir=Sc({type:LM,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var qlc=new ad("IssueCard");var MM=function(){};MM.prototype.visit=function(){};MM.\u0275fac=function(a){return new (a||MM)};MM.\u0275prov=yc({token:MM,factory:MM.\u0275fac,providedIn:"root"});var rlc=["el"],NM=function(a){this.viewContainerRef=a};NM.\u0275fac=function(a){return new (a||NM)(B(Zf))};NM.\u0275dir=Sc({type:NM,selectors:[["","issueCardHost",""]]});var OM=function(a,b){rF.call(this);this.issueReferenceResolver=a;this.issueCard=b;this.hovercardReady=new D.ReplaySubject(1)};T(OM,rF);OM.\u0275dir=rF.\u0275dir;OM.prototype.ngOnInit=function(){};
OM.prototype.ngAfterViewInit=function(){var a=this;this.issueCardHost.changes.pipe(af(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(Oe(),af(a.destroyed$)).subscribe(a.hovercardReady),b.changeDetectorRef.detectChanges())})};
OM.prototype.visit=function(a){if(!EEa(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})}};OM.\u0275fac=function(a){return new (a||OM)(B(MM),B(qlc,8))};
OM.\u0275cmp=Oc({type:OM,selectors:[["b-issue-reference-widget"]],viewQuery:function(a,b){a&1&&(bg(rlc,7),bg(NM,5));if(a&2){var c;ag(c=dg())&&(b.el=c.first);ag(c=dg())&&(b.issueCardHost=c)}},inputs:{href:"href",issueId:"issueId",commentNumber:"commentNumber"},features:[kf],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&&(Ff(),F(0,"onedev-hovercard",null,0),O(2,FEa,2,1,"div",1),H(),F(3,"a",2,3),L("click",function(d){return b.visit(d)}),Gf(5),H());if(a&2){var c=Kf(1);z(3);E("onedevHovercardTrigger",c)("onedevHovercardActive",!!b.issueCard)("href",b.href,Ud)}},dependencies:[UK,VK,ZK,WK,NM],encapsulation:2,changeDetection:0});var PM=function(a){rF.call(this);var b=this;this.changelistApi=a;this.providedChangelistId$=new D.ReplaySubject(1);this.changelist$=this.providedChangelistId$.pipe($e(function(c){return b.changelistApi.getChangelistDetails(c)}),Xe({refCount:!0,bufferSize:1}));this.init=new D.ReplaySubject(1)};T(PM,rF);PM.\u0275dir=rF.\u0275dir;PM.prototype.ngOnInit=function(){var a=this;this.changelist$.pipe(Oe(),af(this.destroyed$)).subscribe(function(){a.init.next()})};
PM.prototype.ngOnChanges=function(a){a.changelistId&&this.providedChangelistId$.next(this.changelistId)};PM.\u0275fac=function(a){return new (a||PM)(B(nE))};
PM.\u0275cmp=Oc({type:PM,selectors:[["b-changelist-card"]],inputs:{changelistId:"changelistId"},outputs:{init:"init"},features:[kf,gd],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&&(F(0,"div",0)(1,"div",1),O(2,JEa,16,6,"ng-container",2),R(3,"async"),H()());a&2&&(z(2),E("ngIf",S(3,1,b.changelist$)))},dependencies:[Qw,Rw,yL,FL,Xw],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 QM=function(){this.config=Object.assign({},new XK,{delay:400,position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-20}]})};QM.prototype.ngOnInit=function(){};QM.\u0275fac=function(a){return new (a||QM)};
QM.\u0275cmp=Oc({type:QM,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&&(F(0,"a",0),P(1),H(),F(2,"onedev-hovercard",null,1),O(4,KEa,2,2,"b-changelist-card",2),H());if(a&
2){var c=Kf(3);E("href","http://critique.corp.google.com/"+b.changelistId,Ud)("onedevHovercardTrigger",c)("onedevHovercardConfig",b.config);of("aria-label","Changelist"+b.changelistId);z(1);Lf(" ",b.changelistId,"\n")}},dependencies:[UK,VK,ZK,WK,PM],encapsulation:2});var RM=function(){this.model={};this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1};RM.prototype.getDisplayString=function(){return li(this.model)};var slc=function(a){var b=a.model;return(b&&b.getUserGaiaStatus?Dqa(oi(b)):Dqa(b))&&!!a.getEmailAddress()};RM.prototype.getEmailAddress=function(){return pi(this.model)||""};RM.\u0275fac=function(a){return new (a||RM)};
RM.\u0275cmp=Oc({type:RM,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&&(J(0),O(1,LEa,1,4,"b-user-display-name",0),O(2,MEa,2,1,"span",
1),K());a&2&&(z(1),E("ngIf",slc(b)),z(1),E("ngIf",!slc(b)))},dependencies:[Rw,yL],styles:[".b-user-display-span[_ngcontent-%COMP%]{margin-right:2px;margin-top:-1px;font-family:Roboto,Arial,sans-serif;font-size:.8125rem}"],changeDetection:0});var SM=function(){this.toIssuePriority=wl;this.clAuthorToUser=Qva;this.getClNumber=Rva;this.clEventToClDescription=Sva;this.getPreviousDiffValue=Tva;this.getNewDiffValue=Uva;this.getIssueDetailsUrl=Vva;this.numEventsDisplayed=3;this.activityEvents=null;this.title="Recent Activity"},WEa=function(a){return a.activityEvents&&0!==a.activityEvents.length?3<=a.activityEvents.length-a.numEventsDisplayed?3:a.activityEvents.length-a.numEventsDisplayed:0};
SM.prototype.trackByEventModifiedTime=function(a,b){return b.issueId+"-"+b.event.modifiedDate};SM.\u0275fac=function(a){return new (a||SM)};
SM.\u0275cmp=Oc({type:SM,selectors:[["activity-stream"]],inputs:{activityEvents:"activityEvents",title:"title"},decls:3,vars:6,consts:[[4,"ngIf"],[1,"heading-xs","margin-s-y"],[1,"events"],["class","flex-kids-x",3,"margin-xs-bottom",4,"ngFor","ngForOf","ngForTrackBy"],[1,"flex-kids-x"],[1,"bv2-profile-avatar",3,"email"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"type-m","event-heading"],[3,"model"],[3,"changelistId"],[3,"href","issueId"],["mode","relativepast",3,"timestamp"],[1,"line-clamp-2",
"type-s","muted","break-word"],[1,"type-s","muted"],[3,"issuePriority"],["mat-button","","color","primary",1,"gmat-button","margin-s-top","small",3,"click"]],template:function(a,b){a&1&&(O(0,VEa,5,3,"ng-container",0),R(1,"slice"),O(2,XEa,3,1,"ng-container",0));a&2&&(E("ngIf",Vf(1,2,b.activityEvents,0,b.numEventsDisplayed)),z(2),E("ngIf",0<WEa(b)))},dependencies:[Qw,Rw,Sw,Tw,Uw,QA,zL,RM,wJ,QM,OM,FL,dx],styles:["[_nghost-%COMP%]     b-user-display-name{font-weight:500;color:#202124;color:var(--text)}[_nghost-%COMP%]     .bv2-profile-avatar{margin-top:-8px;margin-bottom:-26px}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar{background-size:103%;display:inline-block;margin-right:6px;height:28px;width:28px}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img{background-color:#f1f3f4;background-color:var(--c100);height:28px;width:28px}.events[_ngcontent-%COMP%]   b-user-image[_ngcontent-%COMP%]{margin-right:0}.event-heading[_ngcontent-%COMP%]{font-size:.875rem}\n/*# sourceMappingURL=activity_stream.css.map */"]});var tlc=["determinateSpinner"],ulc=th(function(a){this._elementRef=a},"primary"),vlc=new ad("mat-progress-spinner-default-options",{providedIn:"root",factory:ZEa}),TM=function(a,b,c){a=ulc.call(this,a)||this;a.mode="mat-spinner"===a._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate";a._value=0;a._diameter=100;a._noopAnimations="NoopAnimations"===b&&!!c&&!c._forceAnimations;c&&(c.color&&(a.color=a.defaultColor=c.color),c.diameter&&(a.diameter=c.diameter),c.strokeWidth&&
(a.strokeWidth=c.strokeWidth));return a};T(TM,ulc);f=TM.prototype;f._circleRadius=function(){return(this.diameter-10)/2};f._viewBox=function(){var a=2*this._circleRadius()+this.strokeWidth;return"0 0 "+a+" "+a};f._strokeCircumference=function(){return 2*Math.PI*this._circleRadius()};f._strokeDashOffset=function(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null};f._circleStrokeWidth=function(){return this.strokeWidth/this.diameter*100};
sh.Object.defineProperties(TM.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return"determinate"===this.mode?this._value:0},set:function(a){this._value=Math.max(0,Math.min(100,Ig(a)))}},diameter:{configurable:!0,enumerable:!0,get:function(){return this._diameter},set:function(a){this._diameter=Ig(a)}},strokeWidth:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this._strokeWidth)?a:this.diameter/10},set:function(a){this._strokeWidth=Ig(a)}}});
TM.\u0275fac=function(a){return new (a||TM)(B(Dd),B(wv,8),B(vlc))};
TM.\u0275cmp=Oc({type:TM,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(a,b){a&1&&bg(tlc,5);if(a&2){var c;ag(c=dg())&&(b._determinateCircle=c.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(a,b){a&2&&(of("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===b.mode?b.value:null)("mode",b.mode),wf("width",b.diameter,"px")("height",b.diameter,"px")("--mdc-circular-progress-size",
b.diameter+"px")("--mdc-circular-progress-active-indicator-width",b.diameter+"px"),xf("_mat-animation-noopable",b._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===b.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[kf],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg",
"focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg",
"focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(a,b){a&1&&(O(0,YEa,2,8,"ng-template",null,0,gg),F(2,"div",1,2),rd(),F(4,"svg",3),I(5,"circle",4),H()(),sd(),F(6,"div",5)(7,"div",6)(8,"div",7),Cf(9,8),H(),F(10,"div",9),Cf(11,8),H(),F(12,"div",10),Cf(13,8),H()()());if(a&2){var c=Kf(1);z(4);of("viewBox",b._viewBox());z(1);wf("stroke-dasharray",b._strokeCircumference(),"px")("stroke-dashoffset",b._strokeDashOffset(),"px")("stroke-width",
b._circleStrokeWidth(),"%");of("r",b._circleRadius());z(4);E("ngTemplateOutlet",c);z(2);E("ngTemplateOutlet",c);z(2);E("ngTemplateOutlet",c)}},dependencies:[Ww],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-active-indicator-width:4px;--mdc-circular-progress-size:48px}.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 UM=function(){};UM.\u0275fac=function(a){return new (a||UM)};UM.\u0275mod=Qc({type:UM});UM.\u0275inj=zc({imports:[ex,hA]});var wlc=th(function(a){this._elementRef=a},"primary"),VM=function(a,b,c,d,e,g,h,l,q){var v=wlc.call(this,a)||this;v._document=c;v._nonce=q;v._diameter=100;v._value=0;v._resizeSubscription=D.Subscription.EMPTY;v.mode="determinate";v._spinnerAnimationLabel=v._getSpinnerAnimationLabel();xlc.has(c.head)||xlc.set(c.head,new Set([100]));v._noopAnimations="NoopAnimations"===d&&!!e&&!e._forceAnimations;"mat-spinner"===a.nativeElement.nodeName.toLowerCase()&&(v.mode="indeterminate");e&&(e.color&&(v.color=
v.defaultColor=e.color),e.diameter&&(v.diameter=e.diameter),e.strokeWidth&&(v.strokeWidth=e.strokeWidth));b.isBrowser&&b.SAFARI&&h&&g&&l&&(v._resizeSubscription=h.change(150).subscribe(function(){"indeterminate"===v.mode&&l.run(function(){return g.markForCheck()})}));return v};T(VM,wlc);f=VM.prototype;f.ngOnInit=function(){var a=this._elementRef.nativeElement;this._styleRoot=Jma(a)||this._document.head;this._attachStyleNode();a.classList.add("mat-progress-spinner-indeterminate-animation")};
f.ngOnDestroy=function(){this._resizeSubscription.unsubscribe()};f._getCircleRadius=function(){return(this.diameter-10)/2};f._getViewBox=function(){var a=2*this._getCircleRadius()+this.strokeWidth;return"0 0 "+a+" "+a};f._getStrokeCircumference=function(){return 2*Math.PI*this._getCircleRadius()};f._getStrokeDashOffset=function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null};f._getCircleStrokeWidth=function(){return this.strokeWidth/this.diameter*100};
f._getCircleTransformOrigin=function(a){var b;a=50*(null!=(b=a.currentScale)?b:1);return a+"% "+a+"%"};f._attachStyleNode=function(){var a=this._styleRoot,b=this._diameter,c=xlc.get(a);if(!c||!c.has(b)){var d=this._document.createElement("style");this._nonce&&(d.nonce=this._nonce);d.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel);d.textContent=this._getAnimationText();a.appendChild(d);c||(c=new Set,xlc.set(a,c));c.add(b)}};
f._getAnimationText=function(){var a=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,
""+.95*a).replace(/END_VALUE/g,""+.2*a).replace(/DIAMETER/g,this._spinnerAnimationLabel)};f._getSpinnerAnimationLabel=function(){return this.diameter.toString().replace(".","_")};
sh.Object.defineProperties(VM.prototype,{diameter:{configurable:!0,enumerable:!0,get:function(){return this._diameter},set:function(a){this._diameter=Ig(a);this._spinnerAnimationLabel=this._getSpinnerAnimationLabel();this._styleRoot&&this._attachStyleNode()}},strokeWidth:{configurable:!0,enumerable:!0,get:function(){return this._strokeWidth||this.diameter/10},set:function(a){this._strokeWidth=Ig(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,Ig(a)))}}});var xlc=new WeakMap;VM.\u0275fac=function(a){return new (a||VM)(B(Dd),B(Rx),B(qh,8),B(wv,8),B(vlc),B(Kw),B(Qz),B(df),B(VQb,8))};
VM.\u0275cmp=Oc({type:VM,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(a,b){a&2&&(of("aria-valuemin","determinate"===b.mode?0:null)("aria-valuemax","determinate"===b.mode?100:null)("aria-valuenow","determinate"===b.mode?b.value:null)("mode",b.mode),wf("width",b.diameter,"px")("height",b.diameter,"px"),xf("_mat-animation-noopable",b._noopAnimations))},inputs:{color:"color",
diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[kf],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx",
"50%","cy","50%"]],template:function(a,b){a&1&&(rd(),F(0,"svg",0,1),O(2,$Ea,1,11,"circle",2),O(3,aFa,1,9,"circle",3),H());a&2&&(wf("width",b.diameter,"px")("height",b.diameter,"px"),E("ngSwitch","indeterminate"===b.mode),of("viewBox",b._getViewBox()),z(2),E("ngSwitchCase",!0),z(1),E("ngSwitchCase",!1))},dependencies:[Sw,Tw],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],
encapsulation:2,changeDetection:0});var WM=function(){};WM.\u0275fac=function(a){return new (a||WM)};
WM.\u0275cmp=Oc({type:WM,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&&(O(0,bFa,1,2,"mat-spinner",0),O(1,cFa,1,3,"mat-spinner",1));a&2&&(E("ngIf",b.large),z(1),E("ngIf",!b.large))},dependencies:[Rw,VM],styles:[".muted[_nghost-%COMP%]     .mat-progress-spinner circle, .muted[_nghost-%COMP%]     .mat-spinner circle{stroke:rgba(0,0,0,.4)}[_nghost-%COMP%]     .mat-progress-spinner circle, [_nghost-%COMP%]     .mat-spinner circle{stroke:var(--text-primary)}.large[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;margin-left:-18px;margin-top:-18px}[_nghost-%COMP%]{animation-delay:150ms;animation-duration:200ms;animation-name:_ngcontent-%COMP%_fade-in;animation-timing-function:linear;animation-fill-mode:both;display:inline-block;vertical-align:middle}[_nghost-%COMP%]     mat-spinner.small{margin-top:-2px}@keyframes _ngcontent-%COMP%_fade-in{0%{opacity:0}100%{opacity:1}}/*# sourceMappingURL=spinner.css.map */"]});var XM=function(){this._inset=this._vertical=!1};sh.Object.defineProperties(XM.prototype,{vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=Fg(a)}},inset:{configurable:!0,enumerable:!0,get:function(){return this._inset},set:function(a){this._inset=Fg(a)}}});XM.\u0275fac=function(a){return new (a||XM)};
XM.\u0275cmp=Oc({type:XM,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,b){a&2&&(of("aria-orientation",b.vertical?"vertical":"horizontal"),xf("mat-divider-vertical",b.vertical)("mat-divider-horizontal",!b.vertical)("mat-divider-inset",b.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],
encapsulation:2,changeDetection:0});var iFa=function(){return[]},YM=function(a,b,c,d,e,g){rF.call(this);var h=this;this.hotlistFridge=a;this.hackyPrefs=b;this.data=c;this.projectActivity=d;this.hotlistApi=e;this.issueFridge=g;this.makeCritiqueUrl=Nva;this.makePie=Ova;this.hotlistId$=new D.ReplaySubject(1);this.hotlist$=this.hotlistId$.pipe($e(this.hotlistFridge.watchOne));this.orderedByHotlistPositionIssueIds$=this.hotlistId$.pipe($e(function(l){return h.hotlistApi.getPagedHotlistContent(l,1,50,[])}),C(function(l){return l.issues}),
C(function(l){return l.map(function(q){return q.issueId})}));this.openIssueIds$=this.hotlistId$.pipe($e(function(l){return h.issueFridge.watchMany({filter:"hotlistid:"+l+" status:open",pageSize:25,sort:"modified_time:desc"})}),C(function(l){return l.results}),C(function(l){return l.map(function(q){return q.issueId})}));this.hotlistIssueIds$=(0,D.combineLatest)([this.openIssueIds$,this.orderedByHotlistPositionIssueIds$]).pipe(C(function(l){l=k(l);var q=l.next().value,v=l.next().value;l=[];q=new Set(q);
v=k(v);for(var x=v.next();!x.done&&(x=x.value,q.has(x)&&l.push(x),25!==l.length);x=v.next());return l}),af(this.destroyed$));this.projectData$=this.orderedByHotlistPositionIssueIds$.pipe($e(function(l){return iac(h.data,[].concat(cd(l)))}),Xe({refCount:!0,bufferSize:1}));this.hotlistActivityEvents$=this.hotlistId$.pipe($e(function(l){return dfc(h.projectActivity,l)}));this.columnsToDisplay=["title","assignee","status","id","menu"]};T(YM,rF);YM.\u0275dir=rF.\u0275dir;
YM.prototype.isCollapsed=function(a){a=a.hotlistId;return!0===this.neverCollapse?!1:this.addMode||this.prefs.collapsed["hotlist-"+a]};YM.prototype.removeHotlist=function(a){bp(this.hackyPrefs,Ql(a))};YM.prototype.reorder=function(a,b){ap(this.hackyPrefs,Ql(a),b)};YM.prototype.canMove=function(a,b){return cp(this.hackyPrefs,Ql(a),b)};
sh.Object.defineProperties(YM.prototype,{hotlistId:{configurable:!0,enumerable:!0,set:function(a){this.hotlistId$.next(String(a))}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});YM.\u0275fac=function(a){return new (a||YM)(B(pI),B(rJ),B(oG),B(uJ),B(fI),B(JI))};
YM.\u0275cmp=Oc({type:YM,selectors:[["hotlist-as-project-card"]],inputs:{addMode:"addMode",neverCollapse:"neverCollapse",hotlistId:"hotlistId"},features:[kf],decls:2,vars:3,consts:[["class","carded bg-main",3,"collapsed","never-collapse-mode","add-mode",4,"ngIf"],[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"edit-controls","gap","shrink-0"],[1,"margin-right"],["mat-button","","title","Save this to your homepage",1,"gmat-button","add",3,"click"],[1,"header-left"],[1,"type-l","line-clamp-3"],[1,"subtle-link",
3,"href"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[4,"ngIf"],["class","main-content",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"disabled","click"],["svgIcon","arrow-upward",1,"icon-s"],[1,"type-button"],["svgIcon","arrow-downward",1,"icon-s"],["mat-menu-item","",3,"click"],["svgIcon","delete",1,"icon-s"],["mat-menu-item","",3,"href"],[1,"icon-s"],["class","margin-left-auto flex-kids-x align-items-center",
4,"ngIf"],[1,"margin-left-auto","flex-kids-x","align-items-center"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],["class","contributor-avatar",3,"email",4,"ngFor","ngForOf"],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",
2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[1,"contributor-avatar",3,"email"],["class","flex-kids-x align-items-center gap stats",4,"ngIf"],[1,"flex-kids-x","align-items-center","gap","stats"],["class","flex-kids-x align-items-center",3,"title",4,"ngIf"],[1,"flex-kids-x","align-items-center",3,"title"],[1,"pie","margin-s-right"],["target","_blank","class","subtle-link","style","color: var(--text-good)",3,"href",4,"ngIf"],[1,"main-content"],[1,"margin-s-top"],
[3,"href"],[3,"issueIds","displayedColumns","assigneeMode"],[4,"ngIf","ngIfElse"],["loading",""],[3,"activityEvents"]],template:function(a,b){a&1&&(O(0,sFa,35,15,"div",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.hotlist$))},dependencies:[Qw,Rw,HB,QA,zL,KM,WM,dD,bD,cD,XM,SM,Xw,dx,cx],styles:['[_nghost-%COMP%]{display:block}.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:8px}.collapsed.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:0}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed-stats[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .collapsed-stats[_ngcontent-%COMP%]{display:block}.header-left[_ngcontent-%COMP%]{margin-top:-3px}b-user-image[_ngcontent-%COMP%]{margin-right:-8px;-webkit-transition:margin .1s ease-in-out;transition:margin .1s ease-in-out}[_ngcontent-%COMP%]:focus   b-user-image[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]     .user-avatar img{box-shadow:0 0 0 1px var(--divider),0 0 0 3px var(--surface-default)}[_nghost-%COMP%]     .contributor-avatar .user-avatar{display:inline-block;height:32px;width:32px}[_nghost-%COMP%]     .contributor-avatar .user-avatar img{max-height:100%;max-width:100%}b-user-image[_ngcontent-%COMP%]:has(img[src="https://lh3.googleusercontent.com/a/default-user=s32-p-k"]){display:none}.edit-controls[_ngcontent-%COMP%]{overflow:hidden;max-width:0;-webkit-transition:max-width .2s ease-out;transition:max-width .2s ease-out}.add-mode[_ngcontent-%COMP%]   .edit-controls[_ngcontent-%COMP%]{max-width:100%}.edit-controls[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:none}.add-mode[_ngcontent-%COMP%]   button.add[_ngcontent-%COMP%]{display:inline-block}.add-mode[_ngcontent-%COMP%]   button.remove[_ngcontent-%COMP%]{display:none!important}.card-overflow[_ngcontent-%COMP%]{margin-left:12px;margin-right:-4px}\n/*# sourceMappingURL=hotlist_as_project_card.css.map */',
".never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .type-l[_ngcontent-%COMP%]{display:none}.never-collapse-mode[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%]{margin-top:-24px}.add-mode[_ngcontent-%COMP%]   .collapse-btn[_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[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}\n/*# sourceMappingURL=all_work_cards.css.map */"]});var ZM=function(a,b){rF.call(this);var c=this;this.hackyPrefs=a;this.hotlists=b;this.log=console.log.bind(console);this.suggestionCount=3;this.suggestedHotlists$=this.hotlists.suggestedHotlists$;this.suggestedHotlistIds$=this.suggestedHotlists$.pipe(C(function(d){return[].concat(cd(d.keys())).filter(function(e){return!sp(c.hackyPrefs).includes(Ql(e))})}));this.skipFirstSuggestion=!1;this.suggestedHotlists$.pipe(af(this.destroyed$)).subscribe(function(d){var e=Array.from(d)[0][0];d=Array.from(d)[0][1];
0===sp(c.hackyPrefs).length&&!c.hackyPrefs.prefs.hasUserEdits&&(5<d.confidence||3<d.count)&&(Kn(c.hackyPrefs,Ql(e)),c.skipFirstSuggestion=!0,c.suggestionCount++)})};T(ZM,rF);ZM.\u0275dir=rF.\u0275dir;ZM.\u0275fac=function(a){return new (a||ZM)(B(rJ),B(kJ))};
ZM.\u0275cmp=Oc({type:ZM,selectors:[["suggested-hotlists"]],inputs:{disableShowMore:"disableShowMore",suggestionCount:"suggestionCount"},features:[kf],decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["loading",""],[1,"flex-kids-y","gap"],[1,"muted"],["mat-icon-button","","href","http://go/b-learn-hotlist-suggestions","target","_blank","title","Learn more","aria-label","Learn more",1,"small"],["svgIcon","info",1,"icon-s"],[4,"ngFor","ngForOf"],["class","muted",4,"ngIf"],["mat-button","","class","gmat-button",
3,"click",4,"ngIf"],[3,"hotlistId","addMode"],["mat-button","",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(O(0,wFa,10,7,"ng-container",0),R(1,"async"),O(2,xFa,3,0,"ng-template",null,1,gg));if(a&2){var c=Kf(3);E("ngIf",S(1,2,b.suggestedHotlistIds$))("ngIfElse",c)}},dependencies:[Qw,Rw,HB,QA,RA,YM,WM,Xw,dx],styles:["[_nghost-%COMP%] { display: block; }"]});var ylc=El(function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.voteCount)?c:0},Xua),$M=function(a){this.issueFridge=a;this.componentIdToRecentCanonicals=new Map};
$M.prototype.search=function(a,b,c,d){var e=this;if(!a.trim())return(0,D.of)(void 0);if("canonical"===b){b=zlc(this,a,d);d=Alc(this,d).pipe($e(function(h){return e.issueFridge.watchMany({filter:yFa(a,Ln("-id",null==c?void 0:c.id),Ln("status","open"),Ln("componentid",h)),pageSize:10})}),C(function(h){return null==h?void 0:h.results}));var g=this.issueFridge.watchMany({filter:yFa(a,Ln("-id",null==c?void 0:c.id)),pageSize:10,sort:"modified_time:desc"}).pipe(C(function(h){return null==h?void 0:h.results}),
Ze([]));return(0,D.combineLatest)([b,d,g]).pipe(C(function(h){return zl(h.flat(),function(l){return l.issueId})}),C(function(h){return h.slice(0,10)}),C(function(h){return ylc(h,"desc")}))}return this.issueFridge.watchMany({filter:a,pageSize:10}).pipe(C(function(h){return null==h?void 0:h.results}))};
var zlc=function(a,b,c){return c?Blc(a,c).pipe($e(function(d){return 0===d.length?(0,D.of)([]):a.issueFridge.watchMany({filter:yFa(b,Ln("id",d),Ln("status","open")),pageSize:10}).pipe(C(function(e){return null==e?void 0:e.results}))})):(0,D.of)([])},Blc=function(a,b){if(!b)return(0,D.of)([]);if(a.componentIdToRecentCanonicals.has(b))return a.componentIdToRecentCanonicals.get(b);var c=a.issueFridge.watchMany({filter:yFa(Ln("componentid",b,!0),Ln("status","duplicate")),sort:"modified_time:desc",pageSize:250}).pipe(C(function(d){return null==
d?void 0:d.results}),C(function(d){return d.map(function(e){return e.snapshot[0].duplicateOfIssueId})}),C(function(d){return Al(d.filter(Ai))}),Xe({bufferSize:1,refCount:!0}));a.componentIdToRecentCanonicals.set(b,c);return c},Alc=function(a,b){return b?Blc(a,b).pipe($e(function(c){return a.issueFridge.watchSet(c)}),C(function(c){return c.map(function(d){return d.snapshot[0].componentId})}),C(function(c){return[b].concat(cd(c.filter(Ai)))}),C(Al),Xe({bufferSize:1,refCount:!0})):(0,D.of)([])};
$M.\u0275fac=function(a){return new (a||$M)(t(JI))};$M.\u0275prov=yc({token:$M,factory:$M.\u0275fac,providedIn:"root"});/*

 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(Q,Y,W){Q.addEventListener?Q.addEventListener(Y,W,!1):Q.attachEvent("on"+Y,W)}function e(Q){if("keypress"==Q.type){var Y=String.fromCharCode(Q.which);Q.shiftKey||(Y=Y.toLowerCase());return Y}return v[Q.which]?v[Q.which]:x[Q.which]?x[Q.which]:String.fromCharCode(Q.which).toLowerCase()}function g(Q){return"shift"==Q||"ctrl"==Q||"alt"==Q||"meta"==Q}function h(Q,Y){var W,ia=[];"+"===Q?Q=["+"]:(Q=Q.replace(/\+{2}/g,"+plus"),Q=Q.split("+"));for(W=0;W<Q.length;++W){var ja=Q[W];
G[ja]&&(ja=G[ja]);Y&&"keypress"!=Y&&A[ja]&&(ja=A[ja],ia.push("shift"));g(ja)&&ia.push(ja)}Q=ja;W=Y;if(!W){if(!M){M={};for(var Aa in v)95<Aa&&112>Aa||v.hasOwnProperty(Aa)&&(M[v[Aa]]=Aa)}W=M[Q]?"keydown":"keypress"}"keypress"==W&&ia.length&&(W="keydown");return{key:ja,modifiers:ia,action:W}}function l(Q,Y){return null===Q||Q===b?!1:Q===Y?!0:l(Q.parentNode,Y)}function q(Q){function Y(sa){sa=sa||{};var Ka=!1,Qa;for(Qa in Ta)sa[Qa]?Ka=!0:Ta[Qa]=0;Ka||(cb=!1)}function W(sa,Ka,Qa,fb,$a,Yc){var hb,yb,bb=
[],Hb=Qa.type;if(!Oa._callbacks[sa])return[];"keyup"==Hb&&g(sa)&&(Ka=[sa]);for(hb=0;hb<Oa._callbacks[sa].length;++hb)if(yb=Oa._callbacks[sa][hb],(fb||!yb.seq||Ta[yb.seq]==yb.level)&&Hb==yb.action){var ib;(ib="keypress"==Hb&&!Qa.metaKey&&!Qa.ctrlKey)||(ib=yb.modifiers,ib=Ka.sort().join(",")===ib.sort().join(","));ib&&(ib=fb&&yb.seq==fb&&yb.level==Yc,(!fb&&yb.combo==$a||ib)&&Oa._callbacks[sa].splice(hb,1),bb.push(yb))}return bb}function ia(sa,Ka,Qa,fb){Oa.stopCallback(Ka,Ka.target||Ka.srcElement,Qa,
fb)||!1!==sa(Ka,Qa)||(Ka.preventDefault?Ka.preventDefault():Ka.returnValue=!1,Ka.stopPropagation?Ka.stopPropagation():Ka.cancelBubble=!0)}function ja(sa){"number"!==typeof sa.which&&(sa.which=sa.keyCode);var Ka=e(sa);if(Ka)if("keyup"==sa.type&&Nb===Ka)Nb=!1;else{var Qa=Oa,fb=Qa.handleKey,$a=[];sa.shiftKey&&$a.push("shift");sa.altKey&&$a.push("alt");sa.ctrlKey&&$a.push("ctrl");sa.metaKey&&$a.push("meta");fb.call(Qa,Ka,$a,sa)}}function Aa(sa,Ka,Qa,fb){function $a(bb){return function(){cb=bb;++Ta[sa];
clearTimeout(Wa);Wa=setTimeout(Y,1E3)}}function Yc(bb){ia(Qa,bb,sa);"keyup"!==fb&&(Nb=e(bb));setTimeout(Y,10)}for(var hb=Ta[sa]=0;hb<Ka.length;++hb){var yb=hb+1===Ka.length?Yc:$a(fb||h(Ka[hb+1]).action);Da(Ka[hb],yb,fb,sa,hb)}}function Da(sa,Ka,Qa,fb,$a){Oa._directMap[sa+":"+Qa]=Ka;sa=sa.replace(/\s+/g," ");var Yc=sa.split(" ");1<Yc.length?Aa(sa,Yc,Ka,Qa):(Qa=h(sa,Qa),Oa._callbacks[Qa.key]=Oa._callbacks[Qa.key]||[],W(Qa.key,Qa.modifiers,{type:Qa.action},fb,sa,$a),Oa._callbacks[Qa.key][fb?"unshift":
"push"]({callback:Ka,modifiers:Qa.modifiers,action:Qa.action,seq:fb,level:$a,combo:sa}))}var Oa=this;Q=Q||b;if(!(Oa instanceof q))return new q(Q);Oa.target=Q;Oa._callbacks={};Oa._directMap={};var Ta={},Wa,Nb=!1,Eb=!1,cb=!1;Oa._handleKey=function(sa,Ka,Qa){var fb=W(sa,Ka,Qa),$a;Ka={};var Yc=0,hb=!1;for($a=0;$a<fb.length;++$a)fb[$a].seq&&(Yc=Math.max(Yc,fb[$a].level));for($a=0;$a<fb.length;++$a)fb[$a].seq?fb[$a].level==Yc&&(hb=!0,Ka[fb[$a].seq]=1,ia(fb[$a].callback,Qa,fb[$a].combo,fb[$a].seq)):hb||
ia(fb[$a].callback,Qa,fb[$a].combo);fb="keypress"==Qa.type&&Eb;Qa.type!=cb||g(sa)||fb||Y(Ka);Eb=hb&&"keydown"==Qa.type};Oa._bindMultiple=function(sa,Ka,Qa){for(var fb=0;fb<sa.length;++fb)Da(sa[fb],Ka,Qa)};d(Q,"keypress",ja);d(Q,"keydown",ja);d(Q,"keyup",ja)}if(a){var v={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},
x={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},A={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},G={option:"alt",command:"meta","return":"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},M;for(c=1;20>c;++c)v[111+c]="f"+c;for(c=0;9>=c;++c)v[c+96]=c;q.prototype.bind=
function(Q,Y,W){Q=Q instanceof Array?Q:[Q];this._bindMultiple.call(this,Q,Y,W);return this};q.prototype.unbind=function(Q,Y){return this.bind.call(this,Q,function(){},Y)};q.prototype.trigger=function(Q,Y){if(this._directMap[Q+":"+Y])this._directMap[Q+":"+Y]({},Q);return this};q.prototype.reset=function(){this._callbacks={};this._directMap={};return this};q.prototype.stopCallback=function(Q,Y){return-1<(" "+Y.className+" ").indexOf(" mousetrap ")||l(Y,this.target)?!1:"INPUT"==Y.tagName||"SELECT"==
Y.tagName||"TEXTAREA"==Y.tagName||Y.isContentEditable};q.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)};q.addKeycodes=function(Q){for(var Y in Q)Q.hasOwnProperty(Y)&&(v[Y]=Q[Y]);M=null};q.init=function(){var Q=q(b),Y;for(Y in Q)"_"!==Y.charAt(0)&&(q[Y]=function(W){return function(){return Q[W].apply(Q,arguments)}}(Y))};q.init();a.Mousetrap=q;"undefined"!==typeof module&&module.exports&&(module.exports=q);"function"===typeof define&&define.amd&&define(function(){return q})}})("undefined"!==
typeof window?window:null,"undefined"!==typeof window?document:null);var Mn=function(a,b){this.char=a;this.modifiers=b};/*

 The MIT License (MIT)

 Copyright (c) 2016 Nick Richardson

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

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

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.
*/
var Clc=function(a,b,c,d,e,g){this.combo=a;this.callback=b;this.allowIn=c;this.description=d;this.action=e;this.persistent=g;this.combo=Array.isArray(a)?a:[a];this.allowIn=c||[];this.description=d||""};
sh.Object.defineProperties(Clc.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++){var c=b;var d={command:"\u2318",shift:"\u21e7",left:"\u2190",right:"\u2192",up:"\u2191",down:"\u2193","return":"\u23ce",backspace:"\u232b"};for(var e=a[b].split("+"),g=0;g<e.length;g++)"mod"===e[g]&&(window.navigator&&0<=window.navigator.platform.indexOf("Mac")?e[g]="command":e[g]="ctrl"),e[g]=d[e[g]]||e[g];d=e.join(" + ");
a[c]=d}this._formatted=a}return this._formatted}}});var Dlc=new ad("HotkeyOptions");var aN=function(a){this.options=a;this.hotkeys=[];this.pausedHotkeys=[];this.cheatSheetToggle=new D.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 Clc(this.options.cheatSheetHotkey||"?",function(){this.cheatSheetToggle.next()}.bind(this),[],this.options.cheatSheetDescription||
"Show / hide this help menu"));this.options.cheatSheetCloseEsc&&this.add(new Clc("esc",function(){this.cheatSheetToggle.next(!1)}.bind(this),["HOTKEYS-CHEATSHEET"],this.options.cheatSheetCloseEscDescription||"Hide this help menu"))};f=aN.prototype;
f.add=function(a,b){var c=this;if(Array.isArray(a)){for(var d=[],e=k(a),g=e.next();!g.done;g=e.next())d.push(this.add(g.value,b));return d}this.remove(a);this.hotkeys.push(a);this.mousetrap.bind(a.combo,function(h,l){var q=!0;if(h){var v=h.target,x=v.nodeName.toUpperCase();-1<(" "+v.className+" ").indexOf(" mousetrap ")?q=!0:-1<c.preventIn.indexOf(x)&&-1===a.allowIn.map(function(A){return A.toUpperCase()}).indexOf(x)&&(q=!1)}if(q)return a.callback.apply(c,[h,l])},b);return a};
f.remove=function(a){var b=[];if(!a){var c=k(this.hotkeys);for(a=c.next();!a.done;a=c.next())b.push(this.remove(a.value));return b}if(Array.isArray(a)){c=k(a);for(a=c.next();!a.done;a=c.next())b.push(this.remove(a.value));return b}b=this.hotkeys.indexOf(a);return-1<b?(this.hotkeys.splice(b,1),this.mousetrap.unbind(a.combo),a):null};
f.get=function(a){if(!a)return this.hotkeys;if(Array.isArray(a)){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())b.push(this.get(c.value));return b}for(b=0;b<this.hotkeys.length;b++)if(-1<this.hotkeys[b].combo.indexOf(a))return this.hotkeys[b];return null};f.pause=function(a){if(!a)return this.pause(this.hotkeys);if(Array.isArray(a)){var b=[];a=k(a.slice());for(var c=a.next();!c.done;c=a.next())b.push(this.pause(c.value));return b}this.remove(a);this.pausedHotkeys.push(a);return a};
f.unpause=function(a){if(!a)return this.unpause(this.pausedHotkeys);if(Array.isArray(a)){var b=[];a=k(a.slice());for(var c=a.next();!c.done;c=a.next())b.push(this.unpause(c.value));return b}b=this.pausedHotkeys.indexOf(a);return-1<b?(this.add(a),this.pausedHotkeys.splice(b,1)):null};f.reset=function(){this.mousetrap.reset()};aN.\u0275fac=function(a){return new (a||aN)(t(Dlc))};aN.\u0275prov=yc({token:aN,factory:aN.\u0275fac});var bN=function(){};bN.\u0275fac=function(a){return new (a||bN)};bN.\u0275mod=Qc({type:bN});bN.\u0275inj=zc({imports:[ex]});var Elc;Vca("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));
var Flc="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" "),cN=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")},dN=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(Elc||(c={},Elc=(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=Elc,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)},Glc=function(a,b){a=a.getAttribute("aria-"+b);return null==a||void 0==a?"":String(a)},eN=function(a,b){var c="";b&&(c=b.id);dN(a,"activedescendant",c)},Hlc=function(a,b){dN(a,"label",b)};var fN=function(a,b,c,d){rF.call(this);var e=this;this.rawHotkeysService=c;this.ngZone=d;this.enabled=!0;this.paused=!1;this.hotkeyGroups=new Map;this.stopCallback=function(g,h){if(!e.enabled||e.paused)h=!0;else if(-1<(" "+h.className+" ").indexOf(" mousetrap ")||h.classList.contains("has-hotkey"))h=!1;else{if(g=h.getAttribute)g=h.getAttribute("role")||null,g=qa(Flc,g);h=g||"true"===h.contentEditable||"INPUT"===h.tagName&&"text"===h.type||"SELECT"===h.tagName||"TEXTAREA"===h.tagName||Ilc(h)?!0:!1}return h};
b.keyboardPrefs$.pipe(af(this.destroyed$)).subscribe(function(g){g&&(e.enabled=!!g.enableAllHotkeys)});a.routeChangeStart.pipe(af(this.destroyed$)).subscribe(function(){e.unpause()});this.rawHotkeysService.mousetrap.stopCallback=this.stopCallback;this.destroyed$.subscribe(function(){Jlc(e)})};T(fN,rF);fN.\u0275dir=rF.\u0275dir;fN.prototype.isEnabled=function(){return this.enabled};fN.prototype.isPaused=function(){return this.paused};
var gN=function(a,b){var c=b.title,d=b.hotkeys,e;b=null!=(e=a.hotkeyGroups.get(c))?e:[];a.hotkeyGroups.set(c,[].concat(cd(b),cd(d)));Klc(a);return function(){var g=new Set(d.map(function(q){return q.onPress})),h,l=(null!=(h=a.hotkeyGroups.get(c))?h:[]).filter(function(q){return!g.has(q.onPress)});l.length?a.hotkeyGroups.set(c,l):a.hotkeyGroups.delete(c);Klc(a)}},Jlc=function(a){var b=[].concat(cd(a.rawHotkeysService.hotkeys));b=k(b);for(var c=b.next();!c.done;c=b.next())a.rawHotkeysService.remove(c.value);
a.rawHotkeysService.reset()},Klc=function(a){Jlc(a);for(var b=k(a.hotkeyGroups.values()),c=b.next();!c.done;c=b.next()){c=Llc(a,c.value);c=k(c);for(var d=c.next(),e={};!d.done;e={$jscomp$loop$prop$binding$2329:e.$jscomp$loop$prop$binding$2329},d=c.next())e.$jscomp$loop$prop$binding$2329=d.value,d=new Clc(DFa(e.$jscomp$loop$prop$binding$2329.key),function(g){return function(h){a.ngZone.run(function(){g.$jscomp$loop$prop$binding$2329.command()});h.stopPropagation();return!1}}(e),e.$jscomp$loop$prop$binding$2329.allowIn),
a.rawHotkeysService.add(d)}},Ilc=function(a){return[].concat(cd(document.getElementsByClassName("cdk-overlay-pane"))).filter(function(b){return"static"===b.style.position}).some(function(b){return b.contains(a)})},Llc=function(a,b){var c=[];b=k(b);for(var d=b.next(),e={};!d.done;e={$jscomp$loop$prop$hotkeySpec$2331:e.$jscomp$loop$prop$hotkeySpec$2331},d=b.next()){e.$jscomp$loop$prop$hotkeySpec$2331=d.value;d=k(e.$jscomp$loop$prop$hotkeySpec$2331.keys.entries());for(var g=d.next(),h={};!g.done;h={$jscomp$loop$prop$index$2333:h.$jscomp$loop$prop$index$2333},
g=d.next()){var l=k(g.value);g=l.next().value;l=l.next().value;h.$jscomp$loop$prop$index$2333=g;c.push(new Mlc(l,function(q,v){return function(){a.ngZone.run(function(){q.$jscomp$loop$prop$hotkeySpec$2331.onPress(v.$jscomp$loop$prop$index$2333)})}}(e,h),e.$jscomp$loop$prop$hotkeySpec$2331.allowIn))}}Gaa(c,function(q,v){return q.strokeLength>v.strokeLength?-1:q.strokeLength<v.strokeLength?1:0});return c};fN.prototype.pause=function(){this.paused=!0};fN.prototype.unpause=function(){this.paused=!1};
var Nlc=function(a){return[].concat(cd(a.hotkeyGroups.entries())).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return{title:b,hotkeys:zl(c,EFa)}})};fN.\u0275fac=function(a){return new (a||fN)(t(DI),t(VJ),t(aN),t(df))};fN.\u0275prov=yc({token:fN,factory:fN.\u0275fac,providedIn:"root"});var Mlc=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 hN=function(a,b){rF.call(this);this.hotkeys=a;this.tooltip=b;this.hotkeyEnabled=!0;this.onHotkey=new kw;this.hasHotkey=!0};T(hN,rF);hN.prototype.ngOnChanges=function(a){if("matTooltip"in a&&this.tooltip&&this.hotkeyEnabled){var b;a=null!=(b=this.hotkey.displayAs)?b:this.hotkey.keys.join("+");this.tooltip.message=this.matTooltip+" (Shortcut: "+a+")"}};
hN.prototype.ngOnInit=function(){var a=this;this.hotkeyEnabled&&this.subscriptions.add(gN(this.hotkeys,{title:this.hotkey.category,hotkeys:[Object.assign({},this.hotkey,{onPress:function(b){a.onHotkey.next(b)}})]}))};hN.\u0275fac=function(a){return new (a||hN)(B(fN),B(lD,8))};
hN.\u0275dir=Sc({type:hN,selectors:[["","hotkey",""]],hostVars:2,hostBindings:function(a,b){a&2&&xf("has-hotkey",b.hasHotkey)},inputs:{hotkey:"hotkey",hotkeyEnabled:"hotkeyEnabled",matTooltip:"matTooltip"},outputs:{onHotkey:"onHotkey"},features:[kf,gd]});var Olc={category:"Edit Issue Page",keys:[Nn("r")],displayAs:"Shift+r",description:"Refresh"},Plc={category:"Issue List",keys:["u",Nn("r")],displayAs:"u / Shift+r",description:"Refresh search results"},iN={ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE:{category:"Edit Issue Page",keys:[Nn("a")],displayAs:"Shift+a",description:"Assign issue to the default assignee for this component"},CHANGE_ASSIGNEE:{category:"Edit Issue Page",keys:["a"],displayAs:"a",description:"Change assignee"},CHANGE_ISSUE_PRIORITY:{category:"Edit Issue Page",
keys:[On("p","0"),On("p","1"),On("p","2"),On("p","3"),On("p","4")],displayAs:"p <n>",description:"Mark issue as priority [0-4]"},COPY_ISSUE_EMAIL_ADDRESS:{category:"Issue Id Picker",keys:["e"],displayAs:"i - e",description:"Copy issue email address",allowIn:["input"]},COPY_ISSUE_ID:{category:"Issue Id Picker",keys:["d"],displayAs:"i - d",description:"Copy issue ID",allowIn:["input"]},COPY_ISSUE_SHORTLINK:{category:"Issue Id Picker",keys:["l"],displayAs:"i - l",description:"Copy issue shortlink",allowIn:["input"]},
COPY_ISSUE_TITLE:{category:"Issue Id Picker",keys:["t"],displayAs:"i - t",description:"Copy issue url and title",allowIn:["input"]},COPY_ISSUE_TODO:{category:"Issue Id Picker",keys:["o"],displayAs:"i - o",description:"Copy issue TODO comment",allowIn:["input"]},COPY_ISSUE_URL:{category:"Issue Id Picker",keys:["u"],displayAs:"i - u",description:"Copy issue url",allowIn:["input"]},FOCUS_COMMENT_BOX:{category:"Edit Issue Page",keys:["r"],displayAs:"r",description:"Focus the comment box"},GO_TO_NEXT_ISSUE:{category:"Edit Issue Page",
keys:["j"],displayAs:"j",description:"Move to the next issue"},GO_TO_PREVIOUS_ISSUE:{category:"Edit Issue Page",keys:["k"],displayAs:"k",description:"Move to the previous issue"},GO_UP_TO_LIST:{category:"Edit Issue Page",keys:["u"],displayAs:"u",description:"Up to issue list"},HIGHLIGHT_ISSUE_ID:{category:"Edit Issue Page",keys:["i"],displayAs:"i",description:"Highlight issue ID"},OPEN_HOTLIST_PICKER:{category:"Edit Issue Page",keys:["h"],displayAs:"h",description:"Edit hotlists"},OPEN_ISSUE_ACCESS_LIMITS_DIALOG:{category:"Edit Issue Page",
keys:["m"],displayAs:"m",description:"Manage issue access limits"},REFRESH_ISSUE:Olc,REFRESH_ISSUE_LIST:Plc,TOGGLE_MARK_AS_DUPLICATE:{category:"Edit Issue Page",keys:["d"],displayAs:"d",description:"Mark/unmark issue as duplicate"},TOGGLE_STAR:{category:"Edit Issue Page",keys:["s"],displayAs:"s",description:"Star/Unstar this issue"}};var jN=function(){};jN.\u0275fac=function(a){return new (a||jN)};jN.\u0275mod=Qc({type:jN});jN.\u0275inj=zc({});var kN=function(){this.relayOnly=!1;this.keydown$=new D.Subject};kN.prototype.onKeydown=function(a){this.relayOnly||this.keydown$.next(a)};sh.Object.defineProperties(kN.prototype,{tabindex:{configurable:!0,enumerable:!0,get:function(){return this.relayOnly?null:"0"}}});kN.\u0275fac=function(a){return new (a||kN)};
kN.\u0275dir=Sc({type:kN,selectors:[["","onedevKeyEventReceiver",""]],hostVars:1,hostBindings:function(a,b){a&1&&L("keydown",function(c){return b.onKeydown(c)});a&2&&of("tabindex",b.tabindex)},inputs:{relayOnly:"relayOnly"}});var Qlc=0,lN=function(a){this.keyEventReceiver=a;this.id="onedev-popup-panel-"+Qlc;this.closePanel$=new D.ReplaySubject(1);Qlc++};lN.prototype.processKeydown=function(a){this.keyEventReceiver&&this.keyEventReceiver.keydown$.next(a);var b=a.code;("Escape"===b||a.altKey&&"ArrowUp"===b)&&this.closePanel$.next()};lN.\u0275fac=function(a){return new (a||lN)(B(kN,8))};
lN.\u0275cmp=Oc({type:lN,selectors:[["onedev-popup-panel"]],viewQuery:function(a,b){a&1&&bg(Yf,7);if(a&2){var c;ag(c=dg())&&(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&&(Ff(),O(0,FFa,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 mN=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 kw;this.closed=new kw;this.isOpen=!1;this.destroyed$=new D.ReplaySubject(1);this.closingActionsSubscription=D.Subscription.EMPTY};mN.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
mN.prototype.open=function(){var a=this;this.disabled||this.isOpen||(this.overlayRef=this.createOverlay(),this.templatePortal=new gy(this.popupPanel.templateRef,this.viewContainerRef),this.overlayRef.attach(this.templatePortal),this.closingActionsSubscription=Rlc(this).pipe(af(this.destroyed$)).subscribe(function(){a.close()}),this.trapFocus(),this.isOpen=!0,this.opened.emit())};
mN.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()}};
mN.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 Rlc=function(a){var b=a.overlayRef.backdropClick(),c=a.overlayRef._detachments,d=a.popupPanel.closePanel$;return a.closeOnBackdropClick?(0,D.merge)(b,c,d):(0,D.merge)(c,d)};
mN.prototype.trapFocus=function(){this.overlayRef&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.hostElement),this.focusTrap.focusInitialElement())};
mN.prototype.getPositionStrategy=function(){return Zz($z(aA(cA(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"}])};mN.prototype.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
sh.Object.defineProperties(mN.prototype,{onedevPopupPanelTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.popupPanel},set:function(a){this.popupPanel=a}}});mN.\u0275fac=function(a){return new (a||mN)(B(dA),B(Dd),B(Zf),B(sz),B(Kw))};
mN.\u0275dir=Sc({type:mN,selectors:[["","onedevPopupPanelTrigger",""]],hostAttrs:["aria-haspopup","true"],hostVars:3,hostBindings:function(a,b){a&2&&of("aria-disabled",b.disabled)("aria-expanded",b.isOpen||null)("aria-controls",b.isOpen?b.popupPanel.id:null)},inputs:{onedevPopupPanelTriggerFor:"onedevPopupPanelTriggerFor",disabled:["onedevPopupPanelTriggerDisabled","disabled"],closeOnBackdropClick:["onedevPopupPanelTriggerCloseOnBackdropClick","closeOnBackdropClick"]},outputs:{opened:"onedevPopupPanelTriggerOpened",
closed:"onedevPopupPanelTriggerClosed"},exportAs:["onedevPopupPanelTrigger"],standalone:!0});var nN=function(){};nN.\u0275fac=function(a){return new (a||nN)};nN.\u0275mod=Qc({type:nN});nN.\u0275inj=zc({imports:[ex,gA,ly,ED,fE,nz,TK]});var Slc=function(a,b){this._document=b;var c=this._textarea=this._document.createElement("textarea"),d=c.style;d.position="fixed";d.top=d.opacity="0";d.left="-999em";c.setAttribute("aria-hidden","true");c.value=a;c.readOnly=!0;this._document.body.appendChild(c)};Slc.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};
Slc.prototype.destroy=function(){var a=this._textarea;a&&(a.remove(),this._textarea=void 0)};var oN=function(a){this._document=a};oN.prototype.copy=function(a){a=new Slc(a,this._document);var b=a.copy();a.destroy();return b};oN.\u0275fac=function(a){return new (a||oN)(t(qh))};oN.\u0275prov=yc({token:oN,factory:oN.\u0275fac,providedIn:"root"});new ad("CDK_COPY_TO_CLIPBOARD_CONFIG");var pN=function(a,b,c,d){rF.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=iN};T(pN,rF);pN.\u0275dir=rF.\u0275dir;var Pn=function(a,b){a.clipboard.copy(b.value);a.trigger.close()};pN.prototype.getIssueUrl=function(){return this.getAppBaseUrl(this.isExternalIssue)};
pN.prototype.getAppBaseUrl=function(a){return QL(this.currentTracker,this.issueId,void 0,void 0===a?!1:a)};pN.\u0275fac=function(a){return new (a||pN)(B(Bs),B(PL),B(oN),B(XG))};
pN.\u0275cmp=Oc({type:pN,selectors:[["b-issue-id-picker"]],viewQuery:function(a,b){a&1&&bg(mN,5);if(a&2){var c;ag(c=dg())&&(b.trigger=c.first)}},inputs:{componentId:"componentId",issueId:"issueId",issueTitle:"issueTitle",isExternalIssue:"isExternalIssue",disabled:"disabled",enableHotkeys:"enableHotkeys",showCopyOptions:"showCopyOptions"},features:[kf],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&&(F(0,"button",0),L("click",function(){b.clipboard.copy(b.issueId);YG(b.butterBar,"Issue ID copied",2E3)}),P(1),O(2,GFa,1,0,"mat-icon",1),H(),O(3,SFa,7,5,"ng-container",2));a&2&&(xf("square-right",b.showCopyOptions),of("aria-label",
"Copy issue number "+b.issueId),z(1),Lf(" ",b.issueId," "),z(1),E("ngIf",!b.showCopyOptions),z(1),E("ngIf",b.showCopyOptions))},dependencies:[Xx,Rw,HB,hN,QA,lD,lN,mN],styles:["[_nghost-%COMP%]{border-radius:4px;font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;display:inline-block;user-select:none;white-space:nowrap;line-height:22px}button[_ngcontent-%COMP%], mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.issue-id[_ngcontent-%COMP%]{padding:0 3px}.shortcut[_ngcontent-%COMP%]{font-family:WorkAroundWebKitAndMozilla,monospace;padding-left:8px;white-space:nowrap}button.issue-id[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%], button.issue-id[_ngcontent-%COMP%]:focus   mat-icon[_ngcontent-%COMP%]{visibility:visible}button[_ngcontent-%COMP%]{cursor:pointer;border-radius:4px;user-select:text}button[_ngcontent-%COMP%]:hover, button[_ngcontent-%COMP%]:focus{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}button.square-left[_ngcontent-%COMP%]{border-left:1px solid;border-left-color:#fff;border-left-color:var(--background)}mat-icon[_ngcontent-%COMP%]{margin-top:-2px;color:#3c4043;color:var(--gfx)}  .onedev-popup-panel .issue-id-picker-popup{padding:10px}  .onedev-popup-panel .issue-id-picker-popup .id-details-row{display:flex;flex-direction:row;align-items:center}  .onedev-popup-panel .issue-id-picker-popup .id-details-row label{flex-basis:110px;font-family:Roboto,Arial,sans-serif;font-size:.8125rem;color:#5f6368;color:var(--text-muted)}  .onedev-popup-panel .issue-id-picker-popup .id-details-row .value{flex-grow:1;font-family:Roboto,Arial,sans-serif;display:inline-block;width:345px;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:4px;outline:none;padding:5px;margin-left:5px}  .onedev-popup-panel .issue-id-picker-popup .id-details-row .value:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}  .onedev-popup-panel .issue-id-picker-popup .id-details-row button.copy{cursor:pointer;color:#1a73e8;color:var(--link)}"],
changeDetection:0});var qN=function(){};qN.prototype.ngOnInit=function(){};qN.prototype.onClick=function(a){a.stopPropagation()};qN.\u0275fac=function(a){return new (a||qN)};
qN.\u0275cmp=Oc({type:qN,selectors:[["b-issue-id-cell"]],hostBindings:function(a,b){a&1&&L("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&&(F(0,"b-async-data-placeholder",0),O(1,TFa,1,2,"b-issue-id-picker",1),H());a&2&&(E("isReady",!!b.id),z(1),E("ngIf",b.id))},dependencies:[GL,Rw,pN],encapsulation:2,changeDetection:0});var rN=function(){this.priority=this.issue=null;this.isDataLoaded=!1};rN.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};rN.\u0275fac=function(a){return new (a||rN)};
rN.\u0275cmp=Oc({type:rN,selectors:[["b-issue-priority-cell"]],inputs:{issue:"issue"},features:[gd],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"],["noData",""],[3,"issuePriority"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",0),O(1,UFa,2,1,"ng-container",1),O(2,VFa,1,0,"ng-template",null,2,gg),H());if(a&2){var c=Kf(3);E("isReady",b.isDataLoaded);z(1);E("ngIf",b.priority)("ngIfElse",c)}},dependencies:[GL,Rw,wJ],encapsulation:2,changeDetection:0});var sN=function(a){this.internalArray_=m(a,0,sN.messageId)};T(sN,p);f=sN.prototype;f.getName=function(){return U(this,1)};f.setName=function(a){return sk(this,1,a)};f.hasName=function(){return Hk(this,1)};f.getNameOrUndefined=function(){return tt(this,1)};f.toObject=function(){if(null!=this){r(this);var a={name:n(Z(this,1)),duplicateAssistanceEnabled:n(vr(this,2)),assistiveSettingsUiEnabled:n(vr(this,3)),optOutDataCollection:n(vr(this,4))}}else a=void 0;return a};sN.messageId="b.ComponentRecommendationSettings";var Rn=function(a){this.internalArray_=m(a,0,Rn.messageId)};T(Rn,p);Rn.prototype.getType=function(){return Zi(this,2,0)};Rn.prototype.setType=function(a){return V(this,2,a)};Rn.prototype.hasType=function(){return pj(this,2)};Rn.prototype.toObject=function(){return Tlc(this)};var Tlc=function(a){if(null!=a)return r(a),{type:n(Er(a,2)),rejectionReason:n(Er(a,3))}};Rn.messageId="b.UserEngagement";var Qn=function(a){this.internalArray_=m(a,0,Qn.messageId)};T(Qn,p);Qn.prototype.getParent=function(){return U(this,1)};Qn.prototype.setParent=function(a){return sk(this,1,a)};Qn.prototype.toObject=function(){return Ulc(this)};var Ulc=function(a){if(null!=a)return r(a),{parent:n(Z(a,1)),userEngagement:Tlc(X(a,Rn,2))}};Qn.messageId="b.BatchCreateUserEngagementsRequest";var Vlc=function(a){this.internalArray_=m(a,0,Vlc.messageId)};T(Vlc,p);f=Vlc.prototype;f.getResource=function(){return U(this,1)};f.setResource=function(a){return sk(this,1,a)};f.getType=function(){return Zi(this,2,0)};f.setType=function(a){return V(this,2,a)};f.hasType=function(){return pj(this,2)};f.setPageSize=function(a){return V(this,4,a)};f.setPageToken=function(a){return sk(this,5,a)};
f.toObject=function(){if(null!=this){r(this);var a={resource:n(Z(this,1)),type:n(Er(this,2)),minConfidence:n(Er(this,3)),pageSize:n(ft(this,4)),pageToken:n(Z(this,5)),view:n(Er(this,6))}}else a=void 0;return a};Vlc.messageId="b.LookupRecommendationsRequest";var Sn=function(a){this.internalArray_=m(a)};T(Sn,p);f=Sn.prototype;f.getName=function(){return U(this,1)};f.setName=function(a){return sk(this,1,a)};f.hasName=function(){return Hk(this,1)};f.getNameOrUndefined=function(){return tt(this,1)};f.getSource=function(){return U(this,2)};f.setSource=function(a){return sk(this,2,a)};f.hasSource=function(){return Hk(this,2)};f.getSourceOrUndefined=function(){return tt(this,2)};f.getResource=function(){return U(this,3)};
f.setResource=function(a){return sk(this,3,a)};f.getType=function(){return Zi(this,4,0)};f.setType=function(a){return V(this,4,a)};f.hasType=function(){return pj(this,4)};f.getScore=function(){return rj(this,6)};f.setScore=function(a){V(this,6,Xa(a))};f.getConfidence=function(){return Zi(this,7,0)};var $Fa=[9];Sn.prototype.toObject=function(){return Wlc(this)};
var Wlc=function(a){if(null!=a)return r(a),{name:n(Z(a,1)),source:n(Z(a,2)),resource:n(Z(a,3)),type:n(Er(a,4)),recommendation:n(Z(a,5)),score:n(Ho(a,6)),confidence:n(Er(a,7)),createTime:Lt(X(a,Nh,8)),recommendedIssue:eF(ck(a,Ej,9,$Fa))}};var tN=function(a){this.internalArray_=m(a,0,tN.messageId)};T(tN,p);tN.prototype.getRequestsList=function(){return kj(this,Qn,1)};tN.prototype.setRequestsList=function(a){return nj(this,1,a)};tN.prototype.addAndReturnRequests=function(){return Fb(this,1,Qn)};tN.repeatedFields_=[1];tN.prototype.toObject=function(){if(null!=this){r(this);var a={requestsList:Ub(this.getRequestsList(),Ulc)}}else a=void 0;return a};tN.messageId="b.BatchCreateUserEngagementsRequest";var uN=function(a){this.internalArray_=m(a,0,uN.messageId)};T(uN,p);uN.prototype.getNextPageToken=function(){return U(this,2)};uN.prototype.getTotalSize=function(){return qj(this,3)};uN.repeatedFields_=[1];uN.prototype.toObject=function(){if(null!=this){r(this);var a={recommendationsList:Ub(kj(this,Sn,1),Wlc),nextPageToken:n(Z(this,2)),totalSize:n(Yb(this,3))}}else a=void 0;return a};uN.messageId="b.LookupRecommendationsResponse";var vN=function(a){this.executor=a},Xlc=function(a,b){var c=(new Vlc).setResource(b.resource).setType(P6b[b.type]).setPageSize(b.pageSize).setPageToken(b.pageToken);c=V(c,6,Q6b[b.view]);void 0!==b.minConfidence&&V(c,3,A6b[b.minConfidence]);return a.executor.post({url:"action/recommendations/lookup",body:c,responseConstructor:uN}).pipe(C(dGa))},Ylc=function(a,b){a=a.executor;var c=a.put,d="action/components/"+b.componentId+"/recommendationSettings";var e=(new sN).setName("components/"+b.componentId+
"/recommendationSettings");e=Vj(e,2,b.duplicateAssistanceEnabled);e=Vj(e,4,b.optedOutFromDataCollection);b=Vj(e,3,b.showSettings);return c.call(a,{url:d,body:b,responseConstructor:sN}).pipe(C(WFa))};vN.\u0275fac=function(a){return new (a||vN)(t(hE))};vN.\u0275prov=yc({token:vN,factory:vN.\u0275fac,providedIn:"root"});var wN=function(a){mG.call(this);this.recommendationsService=a;this.recordType="issueRecommendations";this.idForRecord=function(b){return b.issueId+"-"+b.recommendationType};this.isEqual=Xh};T(wN,mG);wN.prototype.fetchOne=function(a){a=Zlc(a);var b=a.issueId,c=a.recommendationType;return Xlc(this.recommendationsService,{resource:"issues/"+b,type:c,minConfidence:"MEDIUM",pageSize:5,view:"FULL"}).pipe(C(function(d){return{issueId:b,recommendationType:c,recommendations:d.recommendations}}),Ke(function(){return(0,D.of)(void 0)}))};
wN.prototype.copy=function(a){return a&&Yh(a)};var Zlc=function(a){var b=k(a.split("-"));a=b.next().value;b=b.next().value;return{issueId:a,recommendationType:b}};wN.\u0275fac=function(a){return new (a||wN)(t(vN))};wN.\u0275prov=yc({token:wN,factory:wN.\u0275fac,providedIn:"root"});new Promise(function(){});var xN=function(a,b){this.checker=a;this.document=b};xN.prototype.focusFirstFocusableElement=function(a){(a=$lc(this,a,!0))&&a.focus()};var $lc=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?$lc(a,b[c]):null;if(d)return d}return null};xN.\u0275fac=function(a){return new (a||xN)(t(Sx),t(qh))};xN.\u0275prov=yc({token:xN,factory:xN.\u0275fac,providedIn:"root"});var yN=function(a,b){this.elementRef=a;this.interactivityHelper=b};yN.prototype.ngOnInit=function(){};yN.prototype.focus=function(){this.interactivityHelper.focusFirstFocusableElement(this.elementRef.nativeElement)};sh.Object.defineProperties(yN.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this.elementRef.nativeElement}}});yN.\u0275fac=function(a){return new (a||yN)(B(Dd),B(xN))};yN.\u0275dir=Sc({type:yN,selectors:[["tr","row",""]],inputs:{row:"row"}});var zN=function(){};zN.\u0275fac=function(a){return new (a||zN)};zN.\u0275mod=Qc({type:zN});zN.\u0275inj=zc({});var amc=function(a,b){Bz.call(this,a);this.directives=a;this.isEqual=b};T(amc,Bz);var Wn=function(a,b){var c;return pe(function(d){if(1==d.nextAddress)return d.yield((0,D.firstValueFrom)(a.directives.changes.pipe(Ze(a.directives.toArray()),C(function(e){return e.find(function(g){return a.isEqual(g.row,b)})}),Ge(Boolean),Ie(3E3))),2);c=d.yieldResult;zz(a,c);ue(d)})};var bmc=new ad("GMAT_LEGACY_TABS_OPTION");var cmc=new ad("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(a){return{left:a?(a.offsetLeft||0)+"px":"0",width:a?(a.offsetWidth||0)+"px":"0"}}}});var dmc=Tg("translateTab",[Wg("center, void, left-origin-center, right-origin-center",Vg({transform:"none"})),Wg("left",Vg({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Wg("right",Vg({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Xg("* => left, * => right, left => center, right => center",Ug("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Xg("void => left-origin-center",[Vg({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),
Ug("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Xg("void => right-origin-center",[Vg({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Ug("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])]);var emc=function(a){return{animationDuration:a}},fmc=function(a,b){return{value:a,params:b}},AN=function(a,b,c,d){ky.call(this,a,b,d);this._host=c;this._leavingSub=this._centeringSub=D.Subscription.EMPTY};T(AN,ky);
AN.prototype.ngOnInit=function(){var a=this;ky.prototype.ngOnInit.call(this);this._centeringSub=this._host._beforeCentering.pipe(Ze(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()})};AN.prototype.ngOnDestroy=function(){ky.prototype.ngOnDestroy.call(this);this._centeringSub.unsubscribe();this._leavingSub.unsubscribe()};
AN.\u0275fac=function(a){return new (a||AN)(B(tv),B(Zf),B(Ec(function(){return BN})),B(qh))};AN.\u0275dir=Sc({type:AN,selectors:[["","matTabBodyHost",""]],features:[kf]});
var CN=function(a,b,c){var d=this;this._elementRef=a;this._dir=b;this._dirChangeSubscription=D.Subscription.EMPTY;this._translateTabComplete=new D.Subject;this._onCentering=new kw;this._beforeCentering=new kw;this._afterLeavingCenter=new kw;this._onCentered=new kw(!0);this.animationDuration="500ms";this.preserveContent=!1;b&&(this._dirChangeSubscription=b.change.subscribe(function(e){d._computePositionAnimationState(e);c.markForCheck()}));this._translateTabComplete.pipe(Ne(function(e,g){return e.fromState===
g.fromState&&e.toState===g.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()})};f=CN.prototype;f.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))};f.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe();this._translateTabComplete.complete()};
f._onTranslateTabStarted=function(a){a=this._isCenterPosition(a.toState);this._beforeCentering.emit(a);a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)};f._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};f._isCenterPosition=function(a){return"center"==a||"left-origin-center"==a||"right-origin-center"==a};
f._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"};f._computePositionFromOrigin=function(a){var b=this._getLayoutDirection();return"ltr"==b&&0>=a||"rtl"==b&&0<a?"left-origin-center":"right-origin-center"};sh.Object.defineProperties(CN.prototype,{position:{configurable:!0,enumerable:!0,set:function(a){this._positionIndex=a;this._computePositionAnimationState()}}});
CN.\u0275fac=function(a){return new (a||CN)(B(Dd),B(Cz,8),B(Kw))};CN.\u0275dir=Sc({type:CN,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}});var BN=function(a,b,c){CN.call(this,a,b,c)};T(BN,CN);BN.\u0275dir=CN.\u0275dir;
BN.\u0275fac=function(a){return new (a||BN)(B(Dd),B(Cz,8),B(Kw))};
BN.\u0275cmp=Oc({type:BN,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&bg(ky,5);if(a&2){var c;ag(c=dg())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[kf],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(a,b){a&1&&(F(0,"div",0,1),L("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",function(c){return b._translateTabComplete.next(c)}),O(2,fGa,
0,0,"ng-template",2),H());a&2&&E("@translateTab",Sf(3,fmc,b._position,Rf(1,emc,b.animationDuration)))},dependencies:[AN],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:[dmc]}});var gmc=new ad("MatTabContent");var hmc=new ad("MAT_TABS_CONFIG");var imc=Ag({passive:!0}),DN=function(a,b,c,d,e,g,h){var l=this;this._elementRef=a;this._changeDetectorRef=b;this._viewportRuler=c;this._dir=d;this._ngZone=e;this._platform=g;this._animationMode=h;this._scrollDistance=0;this._selectedIndexChanged=!1;this._destroyed=new D.Subject;this._showPaginationControls=!1;this._disableScrollBefore=this._disableScrollAfter=!0;this._stopScrolling=new D.Subject;this._disablePagination=!1;this._selectedIndex=0;this.selectFocusedIndex=new kw;this.indexFocused=new kw;
e.runOutsideAngular(function(){(0,D.fromEvent)(a.nativeElement,"mouseleave").pipe(af(l._destroyed)).subscribe(function(){l._stopInterval()})})};f=DN.prototype;f.ngAfterViewInit=function(){var a=this;(0,D.fromEvent)(this._previousPaginator.nativeElement,"touchstart",imc).pipe(af(this._destroyed)).subscribe(function(){a._handlePaginatorPress("before")});(0,D.fromEvent)(this._nextPaginator.nativeElement,"touchstart",imc).pipe(af(this._destroyed)).subscribe(function(){a._handlePaginatorPress("after")})};
f.ngAfterContentInit=function(){var a=this,b=this._dir?this._dir.change:(0,D.of)("ltr"),c=this._viewportRuler.change(150),d=function(){a.updatePagination();a._alignInkBarToSelectedTab()};this._keyManager=uz(vz(yz(xz(new Bz(this._items),this._getLayoutDirection()))),function(){return!1});zz(this._keyManager,this._selectedIndex);this._ngZone.onStable.pipe(Oe()).subscribe(d);(0,D.merge)(b,c,this._items.changes,this._itemsResized()).pipe(af(this._destroyed)).subscribe(function(){a._ngZone.run(function(){Promise.resolve().then(function(){a._scrollDistance=
Math.max(0,Math.min(a._getMaxScrollDistance(),a._scrollDistance));d()})});xz(a._keyManager,a._getLayoutDirection())});this._keyManager.change.subscribe(function(e){a.indexFocused.emit(e);a._setTabFocus(e)})};
f._itemsResized=function(){var a=this;return"function"!==typeof ResizeObserver?D.EMPTY:this._items.changes.pipe(Ze(this._items),$e(function(b){return new D.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()}})})}),Ye(1),Ge(function(b){return b.some(function(c){return 0<c.contentRect.width&&0<c.contentRect.height})}))};
f.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())};
f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._destroyed.next();this._destroyed.complete();this._stopScrolling.complete()};f._handleKeydown=function(a){if(!Jg(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)}};
f._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()}))};f.updatePagination=function(){this._checkPaginationEnabled();this._checkScrollingControls();this._updateTabScrollPosition()};f._isValidIndex=function(a){return this._items?!!this._items.toArray()[a]:!0};
f._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)};f._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};
f._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}};f._scrollHeader=function(a){return this._scrollTo(this._scrollDistance+("before"==a?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)};
f._handlePaginatorClick=function(a){this._stopInterval();this._scrollHeader(a)};
f._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))}}};
f._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}};
f._checkScrollingControls=function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())};f._getMaxScrollDistance=function(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0};
f._alignInkBarToSelectedTab=function(){var a=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null;(a=a?a.elementRef.nativeElement:null)?jmc(this._inkBar,a):this._inkBar.hide()};f._stopInterval=function(){this._stopScrolling.next()};
f._handlePaginatorPress=function(a,b){var c=this;b&&null!=b.button&&0!==b.button||(this._stopInterval(),(0,D.timer)(650,100).pipe(af((0,D.merge)(this._stopScrolling,this._destroyed))).subscribe(function(){var d=c._scrollHeader(a),e=d.maxScrollDistance;d=d.distance;(0===d||d>=e)&&c._stopInterval()}))};
f._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}};
sh.Object.defineProperties(DN.prototype,{disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=Fg(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){a=Ig(a);this._selectedIndex!=a&&(this._selectedIndexChanged=!0,this._selectedIndex=a,this._keyManager&&zz(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)}}});DN.\u0275fac=function(a){return new (a||DN)(B(Dd),B(Kw),B(Qz),B(Cz,8),B(df),B(Rx),B(wv,8))};DN.\u0275dir=Sc({type:DN,inputs:{disablePagination:"disablePagination"}});var kmc=vh(function(){}),EN=function(a){var b=kmc.call(this)||this;b.elementRef=a;return b};T(EN,kmc);EN.prototype.focus=function(){this.elementRef.nativeElement.focus()};EN.\u0275fac=function(a){return new (a||EN)(B(Dd))};EN.\u0275dir=Sc({type:EN,features:[kf]});eGa(EN);var FN=function(a,b,c,d,e,g,h){DN.call(this,a,b,c,d,e,g,h);this._disableRipple=!1};T(FN,DN);FN.prototype._itemSelected=function(a){a.preventDefault()};sh.Object.defineProperties(FN.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=Fg(a)}}});FN.\u0275fac=function(a){return new (a||FN)(B(Dd),B(Kw),B(Qz),B(Cz,8),B(df),B(Rx),B(wv,8))};FN.\u0275dir=Sc({type:FN,inputs:{disableRipple:"disableRipple"},features:[kf]});var lmc=new ad("MatTabLabel"),mmc=new ad("MAT_TAB"),GN=function(a,b,c){gy.call(this,a,b);this._closestTab=c};T(GN,jy);GN.\u0275fac=function(a){return new (a||GN)(B(Yf),B(Zf),B(mmc,8))};GN.\u0275dir=Sc({type:GN,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Of([{provide:lmc,useExisting:GN}]),kf]});var nmc=vh(function(){}),omc=new ad("MAT_TAB_GROUP"),HN=function(a,b){var c=nmc.call(this)||this;c._viewContainerRef=a;c._closestTabGroup=b;c.textLabel="";c._contentPortal=null;c._stateChanges=new D.Subject;c.position=null;c.origin=null;c.isActive=!1;return c};T(HN,nmc);HN.prototype.ngOnChanges=function(a){(a.hasOwnProperty("textLabel")||a.hasOwnProperty("disabled"))&&this._stateChanges.next()};HN.prototype.ngOnDestroy=function(){this._stateChanges.complete()};
HN.prototype.ngOnInit=function(){this._contentPortal=new gy(this._explicitContent||this._implicitContent,this._viewContainerRef)};HN.prototype._setTemplateLabelInput=function(a){a&&a._closestTab===this&&(this._templateLabel=a)};sh.Object.defineProperties(HN.prototype,{content:{configurable:!0,enumerable:!0,get:function(){return this._contentPortal}}});HN.\u0275fac=function(a){return new (a||HN)(B(Zf),B(omc,8))};
HN.\u0275dir=Sc({type:HN,viewQuery:function(a,b){a&1&&bg(Yf,7);if(a&2){var c;ag(c=dg())&&(b._implicitContent=c.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[kf,gd]});var pmc=0,qmc=th(uh(function(a){this._elementRef=a}),"primary"),IN=function(a,b,c,d){a=qmc.call(this,a)||this;a._changeDetectorRef=b;a._animationMode=d;a._tabs=new eg;a._indexToSelect=0;a._lastFocusedTabIndex=null;a._tabBodyWrapperHeight=0;a._tabsSubscription=D.Subscription.EMPTY;a._tabLabelSubscription=D.Subscription.EMPTY;a._dynamicHeight=!1;a._selectedIndex=null;a.headerPosition="above";a._disablePagination=!1;a._preserveContent=!1;a.selectedIndexChange=new kw;a.focusChange=new kw;a.animationDone=
new kw;a.selectedTabChange=new kw(!0);a._groupId=pmc++;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};T(IN,qmc);f=IN.prototype;
f.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,g){return e.isActive=g===b});c||(a.selectedIndexChange.emit(b),a._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(e,
g){e.position=g-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())};
f.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()})};
f._subscribeToAllTabChanges=function(){var a=this;this._allTabs.changes.pipe(Ze(this._allTabs)).subscribe(function(b){a._tabs.reset(b.filter(function(c){return c._closestTabGroup===a||!c._closestTabGroup}));$f(a._tabs)})};f.ngOnDestroy=function(){this._tabs.destroy();this._tabsSubscription.unsubscribe();this._tabLabelSubscription.unsubscribe()};f.updatePagination=function(){this._tabHeader&&this._tabHeader.updatePagination()};f._focusChanged=function(a){this._lastFocusedTabIndex=a;this.focusChange.emit(this._createChangeEvent(a))};
f._createChangeEvent=function(a){var b=new rmc;b.index=a;this._tabs&&this._tabs.length&&(b.tab=this._tabs.toArray()[a]);return b};f._subscribeToTabLabels=function(){var a=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe();this._tabLabelSubscription=D.merge.apply(null,cd(this._tabs.map(function(b){return b._stateChanges}))).subscribe(function(){return a._changeDetectorRef.markForCheck()})};f._clampTabIndex=function(a){return Math.min(this._tabs.length-1,Math.max(a||0,0))};
f._getTabLabelId=function(a){return"mat-tab-label-"+this._groupId+"-"+a};f._getTabContentId=function(a){return"mat-tab-content-"+this._groupId+"-"+a};f._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")}};
f._removeTabBodyWrapperHeight=function(){var a=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=a.clientHeight;a.style.height="";this.animationDone.emit()};f._handleClick=function(a,b,c){b.focusIndex=c;a.disabled||(this.selectedIndex=c)};f._getTabIndex=function(a){var b,c=null!=(b=this._lastFocusedTabIndex)?b:this.selectedIndex;return a===c?0:-1};f._tabFocusChanged=function(a,b){a&&"mouse"!==a&&"touch"!==a&&(this._tabHeader.focusIndex=b)};
sh.Object.defineProperties(IN.prototype,{dynamicHeight:{configurable:!0,enumerable:!0,get:function(){return this._dynamicHeight},set:function(a){this._dynamicHeight=Fg(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){this._indexToSelect=Ig(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=Ig(a,null)}},disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=Fg(a)}},preserveContent:{configurable:!0,enumerable:!0,get:function(){return this._preserveContent},set:function(a){this._preserveContent=Fg(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}}});IN.\u0275fac=function(a){return new (a||IN)(B(Dd),B(Kw),B(hmc,8),B(wv,8))};
IN.\u0275dir=Sc({type:IN,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:[kf]});var rmc=function(){};var smc=0,JN=function(a,b,c,d,e,g,h){DN.call(this,a,d,e,b,c,g,h);this._disableRipple=!1;this.color="primary"};T(JN,DN);JN.prototype._itemSelected=function(){};JN.prototype.ngAfterContentInit=function(){var a=this;this._items.changes.pipe(Ze(null),af(this._destroyed)).subscribe(function(){tmc(a)});DN.prototype.ngAfterContentInit.call(this)};
var tmc=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()}};JN.prototype._getRole=function(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")};
sh.Object.defineProperties(JN.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=Fg(a)}}});
JN.\u0275fac=function(a){return new (a||JN)(B(Dd),B(Cz,8),B(df),B(Kw),B(Qz),B(Rx),B(wv,8))};JN.\u0275dir=Sc({type:JN,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[kf]});
var umc=wh(uh(vh(function(){}))),KN=function(a,b,c,d,e,g){var h=umc.call(this)||this;h._tabNavBar=a;h.elementRef=b;h._focusMonitor=e;h._isActive=!1;h.id="mat-tab-link-"+smc++;h.rippleConfig=c||{};h.tabIndex=parseInt(d)||0;"NoopAnimations"===g&&(h.rippleConfig.animation={enterDuration:0,exitDuration:0});return h};T(KN,umc);f=KN.prototype;f.focus=function(){this.elementRef.nativeElement.focus()};f.ngAfterViewInit=function(){this._focusMonitor.monitor(this.elementRef)};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this.elementRef)};
f._handleFocus=function(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)};f._handleKeydown=function(a){!this.disabled||32!==a.keyCode&&13!==a.keyCode?this._tabNavBar.tabPanel&&32===a.keyCode&&this.elementRef.nativeElement.click():a.preventDefault()};f._getAriaControls=function(){var a;return this._tabNavBar.tabPanel?null==(a=this._tabNavBar.tabPanel)?void 0:a.id:this.elementRef.nativeElement.getAttribute("aria-controls")};
f._getAriaSelected=function(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")};f._getAriaCurrent=function(){return this.active&&!this._tabNavBar.tabPanel?"page":null};f._getRole=function(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")};f._getTabIndex=function(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex};
sh.Object.defineProperties(KN.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return this._isActive},set:function(a){a=Fg(a);a!==this._isActive&&(this._isActive=a,tmc(this._tabNavBar))}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}});KN.\u0275fac=function(a){return new (a||KN)(B(JN),B(Dd),B(qA,8),wd("tabindex"),B(by),B(wv,8))};
KN.\u0275dir=Sc({type:KN,inputs:{active:"active",id:"id"},features:[kf]});eGa(KN);var LN=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._inkBarPositioner=c;this._animationMode=d},jmc=function(a,b){a.show();a._ngZone.run(function(){a._ngZone.onStable.pipe(Oe()).subscribe(function(){var c=a._inkBarPositioner(b),d=a._elementRef.nativeElement;d.style.left=c.left;d.style.width=c.width})})};LN.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"};LN.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"};
LN.\u0275fac=function(a){return new (a||LN)(B(Dd),B(df),B(cmc),B(wv,8))};LN.\u0275dir=Sc({type:LN,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(a,b){a&2&&xf("_mat-animation-noopable","NoopAnimations"===b._animationMode)}});var vmc=function(a){return{animationDuration:a}},wmc=function(a,b){return{value:a,params:b}},MN=function(a,b,c,d){AN.call(this,a,b,c,d)};T(MN,AN);MN.\u0275fac=function(a){return new (a||MN)(B(tv),B(Zf),B(Ec(function(){return NN})),B(qh))};MN.\u0275dir=Sc({type:MN,selectors:[["","matTabBodyHost",""]],features:[kf]});var NN=function(a,b,c){CN.call(this,a,b,c)};T(NN,CN);NN.\u0275dir=CN.\u0275dir;NN.\u0275fac=function(a){return new (a||NN)(B(Dd),B(Cz,8),B(Kw))};
NN.\u0275cmp=Oc({type:NN,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&bg(ky,5);if(a&2){var c;ag(c=dg())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-tab-body"],features:[kf],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(a,b){a&1&&(F(0,"div",0,1),L("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",function(c){return b._translateTabComplete.next(c)}),O(2,gGa,0,0,"ng-template",
2),H());a&2&&E("@translateTab",Sf(3,wmc,b._position,Rf(1,vmc,b.animationDuration)))},dependencies:[MN],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:[dmc]}});var ON=function(){return EN.apply(this,arguments)||this};T(ON,EN);ON.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(ON)))(b||ON)}}();ON.\u0275dir=Sc({type:ON,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(a,b){a&2&&(of("aria-disabled",!!b.disabled),xf("mat-tab-disabled",b.disabled))},inputs:{disabled:"disabled"},features:[kf]});var xmc=["tabListContainer"],ymc=["tabList"],zmc=["tabListInner"],Amc=["nextPaginator"],Bmc=["previousPaginator"],PN=function(a,b,c,d,e,g,h){FN.call(this,a,b,c,d,e,g,h)};T(PN,FN);PN.\u0275dir=FN.\u0275dir;PN.\u0275fac=function(a){return new (a||PN)(B(Dd),B(Kw),B(Qz),B(Cz,8),B(df),B(Rx),B(wv,8))};
PN.\u0275cmp=Oc({type:PN,selectors:[["mat-tab-header"]],contentQueries:function(a,b,c){a&1&&cg(c,ON,4);if(a&2){var d;ag(d=dg())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(bg(LN,7),bg(xmc,7),bg(ymc,7),bg(zmc,7),bg(Amc,5),bg(Bmc,5));if(a&2){var c;ag(c=dg())&&(b._inkBar=c.first);ag(c=dg())&&(b._tabListContainer=c.first);ag(c=dg())&&(b._tabList=c.first);ag(c=dg())&&(b._tabListInner=c.first);ag(c=dg())&&(b._nextPaginator=c.first);ag(c=dg())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-header"],
hostVars:4,hostBindings:function(a,b){a&2&&xf("mat-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-tab-header-rtl","rtl"==b._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[kf],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&&(Ff(),F(0,"button",0,1),L("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),I(2,"div",2),H(),F(3,"div",3,4),L("keydown",function(c){return b._handleKeydown(c)}),F(5,"div",5,6),L("cdkObserveContent",function(){return b._onContentChanges()}),F(7,"div",7,8),Gf(9),H(),I(10,"mat-ink-bar"),H()(),F(11,"button",
9,10),L("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),I(13,"div",2),H());a&2&&(xf("mat-tab-header-pagination-disabled",b._disableScrollBefore),E("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),z(5),xf("_mat-animation-noopable","NoopAnimations"===b._animationMode),z(6),xf("mat-tab-header-pagination-disabled",b._disableScrollAfter),
E("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[rA,kz,LN],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 QN=function(){var a=HN.apply(this,arguments)||this;a._explicitContent=void 0;return a};T(QN,HN);QN.\u0275dir=HN.\u0275dir;sh.Object.defineProperties(QN.prototype,{templateLabel:{configurable:!0,enumerable:!0,get:function(){return this._templateLabel},set:function(a){this._setTemplateLabelInput(a)}}});QN.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(QN)))(b||QN)}}();
QN.\u0275cmp=Oc({type:QN,selectors:[["mat-tab"]],contentQueries:function(a,b,c){a&1&&(cg(c,lmc,5),cg(c,gmc,7,Yf));if(a&2){var d;ag(d=dg())&&(b.templateLabel=d.first);ag(d=dg())&&(b._explicitContent=d.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[Of([{provide:mmc,useExisting:QN}]),kf],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Ff(),O(0,hGa,1,0,"ng-template"))},encapsulation:2});var Cmc=["tabBodyWrapper"],Dmc=["tabHeader"],RN=function(a,b,c,d){return IN.call(this,a,b,c,d)||this};T(RN,IN);RN.\u0275dir=IN.\u0275dir;RN.\u0275fac=function(a){return new (a||RN)(B(Dd),B(Kw),B(hmc,8),B(wv,8))};
RN.\u0275cmp=Oc({type:RN,selectors:[["mat-tab-group"]],contentQueries:function(a,b,c){a&1&&cg(c,QN,5);if(a&2){var d;ag(d=dg())&&(b._allTabs=d)}},viewQuery:function(a,b){a&1&&(bg(Cmc,5),bg(Dmc,5));if(a&2){var c;ag(c=dg())&&(b._tabBodyWrapper=c.first);ag(c=dg())&&(b._tabHeader=c.first)}},hostAttrs:["ngSkipHydration","",1,"mat-tab-group"],hostVars:4,hostBindings:function(a,b){a&2&&xf("mat-tab-group-dynamic-height",b.dynamicHeight)("mat-tab-group-inverted-header","below"===b.headerPosition)},inputs:{color:"color",
disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[Of([{provide:omc,useExisting:RN}]),kf],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&&(F(0,"mat-tab-header",0,1),L("indexFocused",function(c){return b._focusChanged(c)})("selectFocusedIndex",function(c){return b.selectedIndex=c}),O(2,lGa,5,15,"div",2),H(),F(3,"div",3,4),O(5,mGa,1,11,"mat-tab-body",5),H());a&2&&(E("selectedIndex",b.selectedIndex||0)("disableRipple",b.disableRipple)("disablePagination",b.disablePagination),z(2),E("ngForOf",b._tabs),
z(1),xf("_mat-animation-noopable","NoopAnimations"===b._animationMode),z(2),E("ngForOf",b._tabs))},dependencies:[Pw,Qw,Rw,ky,rA,dy,ON,NN,PN],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 SN=function(){GN.apply(this,arguments)};T(SN,GN);SN.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(SN)))(b||SN)}}();SN.\u0275dir=Sc({type:SN,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Of([{provide:lmc,useExisting:SN}]),kf]});var Emc=["tabListContainer"],Fmc=["tabList"],Gmc=["tabListInner"],Hmc=["nextPaginator"],Imc=["previousPaginator"],TN=function(a,b,c,d,e,g,h){JN.call(this,a,b,c,d,e,g,h)};T(TN,JN);TN.\u0275dir=JN.\u0275dir;TN.\u0275fac=function(a){return new (a||TN)(B(Dd),B(Cz,8),B(df),B(Kw),B(Qz),B(Rx),B(wv,8))};
TN.\u0275cmp=Oc({type:TN,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(a,b,c){a&1&&cg(c,UN,5);if(a&2){var d;ag(d=dg())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(bg(LN,7),bg(Emc,7),bg(Fmc,7),bg(Gmc,7),bg(Hmc,5),bg(Imc,5));if(a&2){var c;ag(c=dg())&&(b._inkBar=c.first);ag(c=dg())&&(b._tabListContainer=c.first);ag(c=dg())&&(b._tabList=c.first);ag(c=dg())&&(b._tabListInner=c.first);ag(c=dg())&&(b._nextPaginator=c.first);ag(c=dg())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-nav-bar",
"mat-tab-header"],hostVars:11,hostBindings:function(a,b){a&2&&(of("role",b._getRole()),xf("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:[kf],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&&(Ff(),F(0,"button",0,1),L("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),I(2,"div",2),H(),F(3,"div",3,4),L("keydown",function(c){return b._handleKeydown(c)}),F(5,"div",5,6),L("cdkObserveContent",function(){return b._onContentChanges()}),
F(7,"div",7,8),Gf(9),H(),I(10,"mat-ink-bar"),H()(),F(11,"button",9,10),L("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),I(13,"div",2),H());a&2&&(xf("mat-tab-header-pagination-disabled",b._disableScrollBefore),E("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),z(5),xf("_mat-animation-noopable","NoopAnimations"===b._animationMode),
z(6),xf("mat-tab-header-pagination-disabled",b._disableScrollAfter),E("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[rA,kz,LN],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 UN=function(a,b,c,d,e,g,h,l){a=KN.call(this,a,b,e,g,h,l)||this;a._tabLinkRipple=new VWb(a,c,b,d);YWb(a._tabLinkRipple,b.nativeElement);return a};T(UN,KN);UN.prototype.ngOnDestroy=function(){KN.prototype.ngOnDestroy.call(this);this._tabLinkRipple._removeTriggerEvents()};UN.\u0275fac=function(a){return new (a||UN)(B(TN),B(Dd),B(df),B(Rx),B(qA,8),wd("tabindex"),B(by),B(wv,8))};
UN.\u0275dir=Sc({type:UN,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(a,b){a&1&&L("focus",function(){return b._handleFocus()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(of("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()),xf("mat-tab-disabled",
b.disabled)("mat-tab-label-active",b.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[kf]});var VN=function(){};VN.\u0275fac=function(a){return new (a||VN)};VN.\u0275mod=Qc({type:VN});VN.\u0275inj=zc({imports:[ex,hA,ly,uA,lz,nz,hA]});var WN=function(a){this.inkBarPositioner=a};WN.prototype.isEnabled=function(){return this.inkBarPositioner===nGa};WN.\u0275fac=function(a){return new (a||WN)(B(cmc))};WN.\u0275dir=Sc({type:WN,selectors:[["","gmat-tabs",""],["mat-tab-group"],["","mat-tab-nav-bar",""]],hostVars:2,hostBindings:function(a,b){a&2&&xf("gmat-tabs",b.isEnabled())},features:[Of([{provide:cmc,useFactory:function(a,b,c){return a.nativeElement.hasAttribute("gmat-tabs")||c&&c.enabled?nGa:b},deps:[Dd,[new pv,cmc],[new ov,bmc]]}])]});var XN=function(a,b){this.context={};b.createEmbeddedView(a,this.context)};sh.Object.defineProperties(XN.prototype,{xapLet:{configurable:!0,enumerable:!0,set:function(a){var b=new Set(oGa(a));if(void 0!==this.context)for(var c=k(oGa(this.context).filter(function(e){return!b.has(e)})),d=c.next();!d.done;d=c.next())delete this.context[d.value];c=k(b);for(d=c.next();!d.done;d=c.next())d=d.value,this.context[d]=a[d];this.context.$implicit=a;this.context.xapLet=a}}});
XN.\u0275fac=function(a){return new (a||XN)(B(Yf),B(Zf))};XN.\u0275dir=Sc({type:XN,selectors:[["","xapLet",""]],inputs:{xapLet:"xapLet"},standalone:!0});var YN=function(){};YN.\u0275fac=function(a){return new (a||YN)};YN.\u0275mod=Qc({type:YN});YN.\u0275inj=zc({});var Jmc=["input"],Kmc=0,Lmc=function(a,b){this.source=a;this.value=b},Mmc=new ad("MatRadioGroup"),Nmc=new ad("mat-radio-default-options",{providedIn:"root",factory:pGa}),ZN=function(a){this._changeDetector=a;this._value=null;this._name="mat-radio-group-"+Kmc++;this._selected=null;this._isInitialized=!1;this._labelPosition="after";this._required=this._disabled=!1;this._controlValueAccessorChangeFn=function(){};this.onTouched=function(){};this.change=new kw};f=ZN.prototype;
f._checkSelectedRadioButton=function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)};f.ngAfterContentInit=function(){this._isInitialized=!0};f._touch=function(){if(this.onTouched)this.onTouched()};f._updateRadioButtonNames=function(){var a=this;this._radios&&this._radios.forEach(function(b){b.name=a.name;b._markForCheck()})};
f._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)}))};f._emitChangeEvent=function(){this._isInitialized&&this.change.emit(new Lmc(this._selected,this._value))};f._markRadiosForCheck=function(){this._radios&&this._radios.forEach(function(a){return a._markForCheck()})};f.writeValue=function(a){this.value=a;this._changeDetector.markForCheck()};
f.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};f.registerOnTouched=function(a){this.onTouched=a};f.setDisabledState=function(a){this.disabled=a;this._changeDetector.markForCheck()};
sh.Object.defineProperties(ZN.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=Fg(a);this._markRadiosForCheck()}},required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=Fg(a);this._markRadiosForCheck()}}});
ZN.\u0275fac=function(a){return new (a||ZN)(B(Kw))};ZN.\u0275dir=Sc({type:ZN,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}});
var Omc=uh(wh(function(a){this._elementRef=a})),$N=function(a,b,c,d,e,g,h,l){b=Omc.call(this,b)||this;b._changeDetector=c;b._focusMonitor=d;b._radioDispatcher=e;b._providerOverride=h;b._uniqueId="mat-radio-"+ ++Kmc;b.id=b._uniqueId;b.change=new kw;b._checked=!1;b._value=null;b._removeUniqueSelectionListener=function(){};b.radioGroup=a;b._noopAnimations="NoopAnimations"===g;l&&(b.tabIndex=Ig(l,0));return b};T($N,Omc);f=$N.prototype;
f.focus=function(a,b){b?cy(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};f._markForCheck=function(){this._changeDetector.markForCheck()};f.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)})};f.ngDoCheck=function(){this._updateTabIndex()};
f.ngAfterViewInit=function(){var a=this;this._updateTabIndex();this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){!b&&a.radioGroup&&a.radioGroup._touch()})};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._removeUniqueSelectionListener()};f._emitChangeEvent=function(){this.change.emit(new Lmc(this,this._value))};f._isRippleDisabled=function(){return this.disableRipple||this.disabled};f._onInputClick=function(a){a.stopPropagation()};
f._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()))};f._onTouchTargetClick=function(a){this._onInputInteraction(a);this.disabled||this._inputElement.nativeElement.focus()};f._setDisabled=function(a){this._disabled!==a&&(this._disabled=a,this._changeDetector.markForCheck())};
f._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)}};
sh.Object.defineProperties($N.prototype,{checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a=Fg(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(Fg(a))}},
required:{configurable:!0,enumerable:!0,get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(a){this._required=Fg(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"}}});$N.\u0275fac=function(){Hd()};
$N.\u0275dir=Sc({type:$N,viewQuery:function(a,b){a&1&&bg(Jmc,5);if(a&2){var c;ag(c=dg())&&(b._inputElement=c.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[kf]});var Pmc=function(a){return{enterDuration:a}},Qmc={provide:gx,useExisting:Ec(function(){return aO}),multi:!0},aO=function(){ZN.apply(this,arguments)};T(aO,ZN);aO.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(aO)))(b||aO)}}();
aO.\u0275dir=Sc({type:aO,selectors:[["mat-radio-group"]],contentQueries:function(a,b,c){a&1&&cg(c,bO,5);if(a&2){var d;ag(d=dg())&&(b._radios=d)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[Of([Qmc,{provide:Mmc,useExisting:aO}]),kf]});var bO=function(a,b,c,d,e,g,h,l){return $N.call(this,a,b,c,d,e,g,h,l)||this};T(bO,$N);bO.\u0275dir=$N.\u0275dir;bO.\u0275fac=function(a){return new (a||bO)(B(Mmc,8),B(Dd),B(Kw),B(by),B(Pz),B(wv,8),B(Nmc,8),wd("tabindex"))};
bO.\u0275cmp=Oc({type:bO,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(a,b){a&1&&L("focus",function(){return b._inputElement.nativeElement.focus()});a&2&&(of("tabindex",null)("id",b.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),xf("mat-radio-checked",b.checked)("mat-radio-disabled",b.disabled)("_mat-animation-noopable",b._noopAnimations)("mat-primary","primary"===b.color)("mat-accent","accent"===b.color)("mat-warn","warn"===
b.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[kf],ngContentSelectors:["*"],decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered",
"matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(a,b){a&1&&(Ff(),F(0,"label",0,1)(2,"span",2),I(3,"span",3)(4,"span",4),F(5,"input",5,6),L("change",function(d){return b._onInputInteraction(d)})("click",function(d){return b._onInputClick(d)}),H(),F(7,"span",7),I(8,"span",8),H()(),F(9,"span",9)(10,"span",10),P(11,"\u00a0"),H(),Gf(12),H()());if(a&2){var c=Kf(1);of("for",b.inputId);z(5);
E("id",b.inputId)("checked",b.checked)("disabled",b.disabled)("required",b.required);of("name",b.name)("value",b.value)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby);z(2);E("matRippleTrigger",c)("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Rf(17,Pmc,b._noopAnimations?0:150));z(2);xf("mat-radio-label-before","before"==b.labelPosition)}},dependencies:[rA],styles:['.mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.mat-radio-input:focus~.mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n'],
encapsulation:2,changeDetection:0});var Rmc=["searchInput"],sGa=function(a,b){return{issues:a,tab:b}},Smc={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1},Tmc={SIMILAR_ISSUES:"Similar issues",SEARCH_RESULTS:"Search results",ISSUE_IDS:"Issue IDs"},cO=function(a,b,c,d,e,g,h,l){rF.call(this);var q=this;this.dialogRef=a;this.initialData=b;this.issueFridge=c;this.issueRecommendationsFridge=d;this.issuePickerSearchService=e;this.analytics=g;this.activeSession=h;this.liveAnnouncer=l;this.data=Object.assign({},Smc,this.initialData);
var v;this.currentComponent=null!=(v=this.data.componentId)?v:void 0;this.currentIssueId$=(0,D.defer)(function(){var x;return"issue"===(null==(x=q.data.currentResource)?void 0:x.type)?(0,D.of)(q.data.currentResource.id):D.NEVER});this.selectedIssues=new MK;this.tableColumns="single-selection title id priority status duplicateCount votes createdTime".split(" ");this.issueUrlFactory=em;this.trackByIssueId=function(x,A){return A.issueId};this.issues$=this.issueFridge.watchSet([]);this.similarIssues$=
this.currentIssueId$.pipe(Ge(function(){return pF(q.activeSession,"enableSimilarIssuesTabInIssuePicker")}),$e(function(x){return q.issueRecommendationsFridge.watch(x+"-ISSUE_DEDUPLICATION",void 0)}),C(function(x){var A;return null==x?void 0:null==(A=x.recommendations)?void 0:A.map(function(G){var M;return null==(M=G.content)?void 0:M.recommendedIssue})}),C(function(x){var A;return null!=(A=null==x?void 0:x.filter(Ai))?A:[]}));this.searchText$=new D.BehaviorSubject("");this.searchTextTrimmed$=this.searchText$.pipe(C(function(x){return x.trim()}),
Ne());this.idsInSearchText$=this.searchTextTrimmed$.pipe(C(tBa),C(Al),Ne(Xh));this.issuesWithIdMatches$=this.idsInSearchText$.pipe($e(function(x){return q.issueFridge.watchSet(x)}));this.searchResults$=this.searchTextTrimmed$.pipe(Le(200),$e(function(x){return q.issuePickerSearchService.search(x,q.data.edgeType,q.data.currentResource,q.currentComponent)}),Ze(void 0),Xe({bufferSize:1,refCount:!0}));this.idsToAutoSelect$=this.issuesWithIdMatches$.pipe(C(function(x){return 1!==x.length||4>x[0].issueId.length?
[]:[x[0].issueId]}),Ne(Xh));this.TABS=Tmc;this.visibleTabs$=(0,D.combineLatest)([this.similarIssues$.pipe(Ze([])),this.issuesWithIdMatches$.pipe(Ze([])),this.searchTextTrimmed$.pipe(Ze(void 0))]).pipe(C(function(x){var A=k(x);x=A.next().value;var G=A.next().value;A=A.next().value;return[].concat(cd(x.length?["Similar issues"]:[]),cd(A?["Search results"]:[]),cd(G.length?["Issue IDs"]:[]))}),Ne());this.automaticallySelectedTab$=(0,D.combineLatest)([this.searchTextTrimmed$,this.idsToAutoSelect$,this.similarIssues$.pipe(Ze([]))]).pipe(C(function(x){x=
k(x);var A=x.next().value,G=x.next().value;x.next();return G.length?"Issue IDs":A?"Search results":"Similar issues"}),Ne());this.automaticallySelectedTabIndex$=this.automaticallySelectedTab$.pipe(cf(this.visibleTabs$),C(function(x){x=k(x);var A=x.next().value;return x.next().value.indexOf(A)}),Ne());this.correctedDisplayedRows=new eg;this.lastSelectionTab="none"};T(cO,rF);cO.\u0275dir=rF.\u0275dir;
cO.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.idsToAutoSelect$.subscribe(function(b){a.selectedIssues.reset(b);a.lastSelectionTab="Issue IDs"}));this.subscriptions.add(this.automaticallySelectedTab$.subscribe(function(b){a.liveAnnouncer.announce(b+" tab is active")}));"canonical"===this.data.edgeType&&this.subscriptions.add(Blc(this.issuePickerSearchService,this.currentComponent).subscribe())};
cO.prototype.ngAfterViewInit=function(){this.focusManager=yz(new amc(this.correctedDisplayedRows,function(a,b){return a.issueId===b.issueId}))};var YGa=function(a,b){var c,d;return pe(function(e){if(1==e.nextAddress)return e.yield(Un(),2);c=new Map(a.displayedRows.toArray().map(function(g){return[g.row.issueId,g]}));d=b.map(function(g){return c.get(g.issueId)}).filter(Ai);a.correctedDisplayedRows.reset(d);$f(a.correctedDisplayedRows);ue(e)})};
cO.prototype.onPressConfirm=function(){var a=this,b,c,d,e,g,h;return pe(function(l){if(1==l.nextAddress){if(!a.selectedIssues.size)return l.return();b=[].concat(cd(a.selectedIssues));c={selectedIssueIds:b};a.dialogRef.close(c);d=a.analytics;e=d.trackEvent;g="picked-"+a.data.edgeType;h=a.lastSelectionTab;return l.yield(Umc(a,b[0]),2)}e.call(d,"assistive-issue-picker",g,h,l.yieldResult);ue(l)})};cO.prototype.onPressCancel=function(){this.dialogRef.close()};
cO.prototype.selectIssue=function(a,b){this.selectedIssues.reset([a]);this.lastSelectionTab=b};cO.prototype.onRowKeydown=function(a,b,c){if(0===a&&"ArrowUp"===c.key)this.inputEl.nativeElement.focus(),c.preventDefault();else this.focusManager.onKeydown(c)};
var Umc=function(a,b){var c,d;return pe(function(e){if(1==e.nextAddress){if("canonical"!==a.data.edgeType)return e.return(0);c=Set;return e.yield((0,D.firstValueFrom)(Blc(a.issuePickerSearchService,a.currentComponent)),2)}d=new c(e.yieldResult);return e.return(d.has(b)?1:0)})};cO.\u0275fac=function(a){return new (a||cO)(B(bB),B(dB),B(JI),B(wN),B($M),B(EI),B(Bs),B(mz))};
cO.\u0275cmp=Oc({type:cO,selectors:[["assistive-issue-picker-dialog"]],viewQuery:function(a,b){a&1&&(bg(Rmc,5),bg(yN,5));if(a&2){var c;ag(c=dg())&&(b.inputEl=c.first);ag(c=dg())&&(b.displayedRows=c)}},hostBindings:function(a,b){a&1&&L("keydown.control.enter",function(){return b.onPressConfirm()})("keydown.meta.enter",function(){return b.onPressConfirm()})("keydown.escape",function(){return b.onPressCancel()})},features:[kf],decls:26,vars:19,consts:[["mat-dialog-title",""],[1,"heading","flex-kids-x",
"gap-xxs","align-items-center","padded-s-y"],["svgIcon","merge_type_24px",1,"rotate-180","green"],[1,"search-field","margin-bottom"],["svgIcon","search",1,"icon-m"],["type","search","placeholder","Search by title, contents, or id",3,"keydown.arrowdown","input"],["searchInput",""],["gmat-tabs","",3,"selectedIndex"],["label","Similar issues",4,"ngIf"],["label","Search results",4,"ngIf"],["label","Issue IDs",4,"ngIf"],["issuesTable",""],["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"],["label","Similar issues"],["tab","matTab"],[4,"xapLet"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["label","Search results"],["label","Issue IDs"],["mat-dialog-content",""],["mat-table","","class","full-width",3,"dataSource","trackBy","contentChanged",4,"ngIf"],["class","center-text padded",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,"center-text","padded"],["ariaLabel","Loading results",1,"margined","inline-block"],[1,"margined","inline-block"]],template:function(a,b){if(a&1){var c=u();F(0,"div",0)(1,"div",
1);I(2,"mat-icon",2);F(3,"span");P(4,"Close as duplicate of:");H()();F(5,"header",3);I(6,"mat-icon",4);F(7,"input",5,6);L("keydown.arrowdown",function(){return b.focusManager.setActiveItem(0)})("input",function(){w(c);var l=Kf(8);return y(b.searchText$.next(l.value))});H()()();F(9,"mat-tab-group",7);R(10,"async");R(11,"async");O(12,vGa,4,3,"mat-tab",8);R(13,"async");O(14,AGa,4,3,"mat-tab",9);R(15,"async");O(16,FGa,4,3,"mat-tab",10);R(17,"async");H();O(18,bHa,4,3,"ng-template",null,11,gg);F(20,"div",
12)(21,"button",13);L("click",function(){return b.onPressCancel()});P(22," Cancel ");H();F(23,"button",14);L("click",function(){return b.onPressConfirm()});R(24,"async");P(25," Close as duplicate ");H()()}if(a&2){var d,e,g,h;z(9);xf("hidden",!(null==(d=S(10,7,b.visibleTabs$))?0:d.length));E("selectedIndex",S(11,9,b.automaticallySelectedTabIndex$));z(3);E("ngIf",null==(e=S(13,11,b.visibleTabs$))?null:e.includes(b.TABS.SIMILAR_ISSUES));z(2);E("ngIf",null==(g=S(15,13,b.visibleTabs$))?null:g.includes(b.TABS.SEARCH_RESULTS));
z(2);E("ngIf",null==(h=S(17,15,b.visibleTabs$))?null:h.includes(b.TABS.ISSUE_IDS));z(7);E("disabled",!S(24,17,b.selectedIssues.size$))}},dependencies:[Rw,Ww,HB,WN,IL,qN,rN,KL,TL,QA,gB,hB,iB,aO,bO,JM,BM,FM,CM,AM,GM,DM,EM,HM,IM,RN,QN,lD,WM,yN,XN,Xw],styles:[".mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.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[type=search][_ngcontent-%COMP%]{height:40px;width:100%;min-width:320px;background-color:#f1f3f4;background-color:var(--main-search-bg);color:#202124;color:var(--text-high-contrast);border-radius:8px;border:none;padding:0 16px;padding-left:40px}.search-field[_ngcontent-%COMP%]   input[type=search][_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px #1a73e8;box-shadow:inset 0 0 0 2px var(--primary);outline:none}[_nghost-%COMP%]     .mat-tab-group .mat-tab-label-content{font-size:.8125rem}[_nghost-%COMP%]     .mat-dialog-content{margin:unset;padding:unset;max-height:46vh}.mat-table[_ngcontent-%COMP%]{background-color:inherit;margin:4px 0}.mat-table[_ngcontent-%COMP%]   .mat-column-title[_ngcontent-%COMP%]{min-width:250px;max-width:24vw}.mat-table[_ngcontent-%COMP%]   .mat-column-id[_ngcontent-%COMP%]{margin-right:-8px}.mat-table[_ngcontent-%COMP%]   .mat-column-single-selection[_ngcontent-%COMP%]{padding-left:6px}.mat-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 Vmc=function(a,b){return[a,b]},dO=function(){this.size=this.name=""};dO.prototype.ngOnInit=function(){};dO.\u0275fac=function(a){return new (a||dO)};
dO.\u0275cmp=Oc({type:dO,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&&E("svgIcon",b.name)("ngClass",Sf(2,Vmc,b.name,b.size))},dependencies:[Pw,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 eO=function(){this.expandable=this.issue=null;this.expanded=!1;this.level=0;this.expansionChange=new kw;this.title=""};eO.prototype.ngOnChanges=function(){var a,b;this.title=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.title)||""};eO.\u0275fac=function(a){return new (a||eO)};
eO.\u0275cmp=Oc({type:eO,selectors:[["b-expandable-issue-title-cell"]],inputs:{issue:"issue",expandable:"expandable",expanded:"expanded",level:"level"},outputs:{expansionChange:"expansionChange"},features:[gd],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&&(F(0,"div",0),O(1,cHa,2,3,"button",1),O(2,dHa,1,0,"div",2),I(3,"b-issue-title-cell",3),H());a&2&&(wf("margin-left",24*b.level,"px"),z(1),E("ngIf",b.expandable),z(1),E("ngIf",!b.expandable),z(1),E("issue",b.issue))},dependencies:[Rw,dO,QA,TL],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 fO=function(){};fO.\u0275fac=function(a){return new (a||fO)};fO.\u0275mod=Qc({type:fO});fO.\u0275inj=zc({imports:[OG]});var gO=function(){};gO.\u0275fac=function(a){return new (a||gO)};gO.\u0275mod=Qc({type:gO});gO.\u0275inj=zc({imports:[nz,TK,ex,ED,gA]});var hO=function(){};hO.\u0275fac=function(a){return new (a||hO)};hO.\u0275mod=Qc({type:hO});hO.\u0275inj=zc({imports:[ex]});var iO=function(){};iO.\u0275fac=function(a){return new (a||iO)};iO.\u0275mod=Qc({type:iO});iO.\u0275inj=zc({});var jO=function(){};jO.\u0275fac=function(a){return new (a||jO)};jO.\u0275mod=Qc({type:jO});jO.\u0275inj=zc({imports:[hO,ex,iO,mD]});var kO=function(){};kO.\u0275fac=function(a){return new (a||kO)};kO.\u0275mod=Qc({type:kO});kO.\u0275inj=zc({providers:[eL],imports:[bL]});/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
var lO=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};Ns(lO,eHa);
lO.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof lO&&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_||this.errback(new Wmc(this))}};lO.prototype.continue_=function(a,b){this.blocked_=!1;Xmc(this,a,b)};
var Xmc=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;Ymc(a)},$mc=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new Zmc(a);a.silentlyCanceled_=!1}};lO.prototype.callback=function(a){$mc(this);Xmc(this,!0,a)};lO.prototype.errback=function(a){$mc(this);Xmc(this,!1,a)};lO.prototype.addCallback=function(a,b){return anc(this,a,null,b)};var anc=function(a,b,c,d){a.sequence_.push([b,c,d]);a.fired_&&Ymc(a);return a};
lO.prototype.then=function(a,b,c){var d,e,g=new nC(function(h,l){e=h;d=l});anc(this,e,function(h){h instanceof Wmc?g.cancel():d(h);return bnc},this);return g.then(a,b,c)};lO.prototype.$goog_Thenable=!0;lO.prototype.branch=function(a){var b=new lO;anc(this,b.callback,b.errback,b);a&&(b.parent_=this,this.branches_++);return b};lO.prototype.isError=function(a){return a instanceof Error};
var cnc=function(a){return TJb(a.sequence_,function(b){return"function"===typeof b[1]})},bnc={},Ymc=function(a){if(a.unhandledErrorId_&&a.fired_&&cnc(a)){var b=a.unhandledErrorId_,c=dnc[b];c&&(ba.clearTimeout(c.id_),delete dnc[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(),g=e[0],h=e[1];e=e[2];if(g=a.hadError_?h:g)try{var l=g.call(e||a.defaultScope_,b);l===bnc&&(l=void 0);void 0!==
l&&(a.hadError_=a.hadError_&&(l==b||a.isError(l)),a.result_=b=l);if(GZb(b)||"function"===typeof ba.Promise&&b instanceof ba.Promise)d=!0,a.blocked_=!0}catch(q){b=q,a.hadError_=!0,cnc(a)||(c=!0)}}a.result_=b;d&&(l=Ls(a.continue_,a,!0),d=Ls(a.continue_,a,!1),b instanceof lO?(anc(b,l,d),b.blocking_=!0):b.then(l,d));c&&(b=new enc(b),dnc[b.id_]=b,a.unhandledErrorId_=b.id_)},Zmc=function(){aa.call(this)};Ns(Zmc,aa);Zmc.prototype.message="Deferred has already fired";Zmc.prototype.name="AlreadyCalledError";
var Wmc=function(){aa.call(this)};Ns(Wmc,aa);Wmc.prototype.message="Deferred was canceled";Wmc.prototype.name="CanceledError";var enc=function(a){this.id_=ba.setTimeout(Ls(this.throwError,this),0);this.error_=a};enc.prototype.throwError=function(){delete dnc[this.id_];throw this.error_;};var dnc={};var jHa=function(a,b){var c=b||{};b=c.document||document;var d=Gh(a).toString(),e=(new aC(b)).createElement("SCRIPT"),g={script_:e,timeout_:void 0},h=new lO(fnc,g),l=null,q=null!=c.timeout?c.timeout:5E3;0<q&&(l=window.setTimeout(function(){gnc(e,!0);h.errback(new hnc(1,"Timeout reached for loading script "+d))},q),g.timeout_=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(gnc(e,c.cleanupWhenDone||!1,l),h.callback(null))};e.onerror=function(){gnc(e,
!0,l);h.errback(new hnc(0,"Error while loading script "+d))};g=c.attributes||{};Uca(g,{type:"text/javascript",charset:"UTF-8"});iZb(e,g);oQb(e,a);inc(b).appendChild(e);return h},inc=function(a){var b=dC("HEAD",a);return b&&0!==b.length?b[0]:a.documentElement},fnc=function(){if(this&&this.script_){var a=this.script_;a&&"SCRIPT"==a.tagName&&gnc(a,!0,this.timeout_)}},gnc=function(a,b,c){null!=c&&ba.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){iC(a)},
0)},hnc=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);aa.call(this,c);this.code=a};Ns(hnc,aa);var fHa=null,lHa=new WeakMap;var mO=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,D.defer)(function(){return hHa().then(function(g){g=g||window.gapi;e.setGapiConfig(g);return nHa(g,{apiKey:e.gapiKey,clientId:e.gapiAuthParams.clientId,scope:e.gapiAuthParams.scope}).then(function(){return g})})})};T(mO,sfc);
mO.prototype.makeRequest=function(a){var b=this;return this.gapi.pipe(ze(function(c){var d=(0,D.of)(void 0);void 0!==b.gapiAuthParams.minAuthTokenTimeRemaining&&(d=(0,D.from)(mHa(c,b.gapiAuthParams.minAuthTokenTimeRemaining)));return d.pipe(ze(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}))}))}))};
mO.prototype.parseResponse=function(a){return new D.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)})})};mO.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&kHa(a,b,this.gapiConfigUpdates[b])};var jnc=function(a,b,c,d,e){d=void 0===d?{}:d;e=void 0===e?{}:e;mO.call(this,a,c,d,e);this.waldoApiKey=b};T(jnc,mO);jnc.prototype.makeRequest=function(a){var b=mO.prototype.makeRequest,c=b.call;(a.queryParams||(a.queryParams={})).key=this.waldoApiKey;return c.call(b,this,a)};var cJb=function(a){this.proxiedService=a};T(cJb,sfc);cJb.prototype.makeRequest=function(a){var b=this;return(0,D.defer)(function(){return b.proxiedService.makeRequest(a)})};var knc=new ad("environment"),lnc={"client/cors":!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0},nO=function(){};nO.\u0275fac=function(a){return new (a||nO)};nO.\u0275mod=Qc({type:nO});nO.\u0275inj=zc({imports:[ex,FJ]});var oO=function(){};oO.\u0275fac=function(a){return new (a||oO)};oO.\u0275mod=Qc({type:oO});oO.\u0275inj=zc({imports:[ex,kO,jO,nO]});var pO=function(){};pO.\u0275fac=function(a){return new (a||pO)};pO.\u0275mod=Qc({type:pO});pO.\u0275inj=zc({imports:[OG,oO,gO]});var qO=function(){};qO.\u0275fac=function(a){return new (a||qO)};qO.\u0275mod=Qc({type:qO});qO.\u0275inj=zc({imports:[OG]});var rO=function(){};rO.\u0275fac=function(a){return new (a||rO)};rO.\u0275mod=Qc({type:rO});rO.\u0275inj=zc({imports:[nz,OG,jN,ED,fE,nN]});var mnc=["theInput"],sO=function(){this.placeholder=this.value="";this.readonly=!1;this.autoFocus=!0;this.valueChange=new kw;this.commit=new kw};sO.prototype.ngAfterViewInit=function(){this.autoFocus&&this.input.nativeElement.focus()};sO.\u0275fac=function(a){return new (a||sO)};
sO.\u0275cmp=Oc({type:sO,selectors:[["b-text-input-cell"]],viewQuery:function(a,b){a&1&&bg(mnc,5);if(a&2){var c;ag(c=dg())&&(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&&(F(0,"input",0,1),L("keydown.enter",function(c){b.readonly||b.commit.emit(c)})("ngModelChange",
function(c){return b.valueChange.emit(c)}),H());a&2&&(xf("readonly",b.readonly)("override",b.readonly),E("placeholder",b.placeholder)("disabled",b.readonly)("ngModel",b.value))},dependencies:[wg,tx,Ax],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 tO=function(){};tO.\u0275fac=function(a){return new (a||tO)};tO.\u0275mod=Qc({type:tO});tO.\u0275inj=zc({imports:[OG,OH,ED]});var uO=function(){};uO.\u0275fac=function(a){return new (a||uO)};uO.\u0275mod=Qc({type:uO});uO.\u0275inj=zc({imports:[OG,gO,tO]});var vO=function(){};vO.\u0275fac=function(a){return new (a||vO)};vO.\u0275mod=Qc({type:vO});vO.\u0275inj=zc({imports:[OG,gO,ED]});var wO=function(){KH.apply(this,arguments)};T(wO,KH);sh.Object.defineProperties(wO.prototype,{routerLinkObj:{configurable:!0,enumerable:!0,set:function(a){this.queryParams=a.queryParams;this.routerLink=a.path;this.fragment=a.fragment}}});wO.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(wO)))(b||wO)}}();wO.\u0275dir=Sc({type:wO,selectors:[["a","routerLinkObj",""],["area","routerLinkObj",""]],inputs:{routerLinkObj:"routerLinkObj"},features:[kf]});var xO=function(){};
xO.\u0275fac=function(a){return new (a||xO)};xO.\u0275mod=Qc({type:xO});xO.\u0275inj=zc({imports:[OG,OH]});var yO=function(){};yO.\u0275fac=function(a){return new (a||yO)};yO.\u0275mod=Qc({type:yO});yO.\u0275inj=zc({imports:[OG]});var zO=function(){};zO.\u0275fac=function(a){return new (a||zO)};zO.\u0275mod=Qc({type:zO});zO.\u0275inj=zc({imports:[OG]});var AO=function(){};AO.\u0275fac=function(a){return new (a||AO)};AO.\u0275mod=Qc({type:AO});AO.\u0275inj=zc({imports:[yO,KK,OG,fO,Px,zO,rO,qO,ED,pO,xO,OH,uO,vO]});var BO=function(){};BO.\u0275fac=function(a){return new (a||BO)};BO.\u0275mod=Qc({type:BO});BO.\u0275inj=zc({imports:[hA,ex,hA]});var CO=function(){};CO.\u0275fac=function(a){return new (a||CO)};CO.\u0275mod=Qc({type:CO});CO.\u0275inj=zc({imports:[OG,BO]});var DO=function(){};DO.\u0275fac=function(a){return new (a||DO)};DO.\u0275mod=Qc({type:DO});DO.\u0275inj=zc({imports:[ex,VN]});var EO=function(){};EO.\u0275fac=function(a){return new (a||EO)};EO.\u0275mod=Qc({type:EO});EO.\u0275inj=zc({imports:[uA,hA,hA]});var FO=function(){gM.apply(this,arguments)};T(FO,gM);FO.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(FO)))(b||FO)}}();FO.\u0275dir=Sc({type:FO,selectors:[["","matCellDef",""]],features:[Of([{provide:gM,useExisting:FO}]),kf]});var GO=function(){hM.apply(this,arguments)};T(GO,hM);GO.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(GO)))(b||GO)}}();GO.\u0275dir=Sc({type:GO,selectors:[["","matHeaderCellDef",""]],features:[Of([{provide:hM,useExisting:GO}]),kf]});
var HO=function(){return iM.apply(this,arguments)||this};T(HO,iM);HO.prototype._updateColumnCssClassName=function(){iM.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};sh.Object.defineProperties(HO.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});HO.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(HO)))(b||HO)}}();
HO.\u0275dir=Sc({type:HO,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Of([{provide:iM,useExisting:HO},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:HO}]),kf]});var IO=function(){jM.apply(this,arguments)};T(IO,jM);IO.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(IO)))(b||IO)}}();
IO.\u0275dir=Sc({type:IO,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[kf]});var JO=function(){kM.apply(this,arguments)};T(JO,kM);JO.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(JO)))(b||JO)}}();JO.\u0275dir=Sc({type:JO,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[kf]});var KO=function(){return nM.apply(this,arguments)||this};T(KO,nM);KO.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(KO)))(b||KO)}}();KO.\u0275dir=Sc({type:KO,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Of([{provide:nM,useExisting:KO}]),kf]});var LO=function(){pM.apply(this,arguments)};T(LO,pM);LO.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(LO)))(b||LO)}}();
LO.\u0275dir=Sc({type:LO,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Of([{provide:pM,useExisting:LO}]),kf]});var MO=function(){};T(MO,rM);MO.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(MO)))(b||MO)}}();
MO.\u0275cmp=Oc({type:MO,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Of([{provide:rM,useExisting:MO}]),kf],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Cf(0,0)},dependencies:[qM],encapsulation:2});var NO=function(){};T(NO,sM);NO.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(NO)))(b||NO)}}();
NO.\u0275cmp=Oc({type:NO,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Of([{provide:sM,useExisting:NO}]),kf],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Cf(0,0)},dependencies:[qM],encapsulation:2});var nnc=[[["caption"]],[["colgroup"],["col"]]],OO=function(){xM.apply(this,arguments);this.stickyCssClass="mat-mdc-table-sticky";this.needsPositionStickyOnElement=!1};T(OO,xM);OO.prototype.ngOnInit=function(){xM.prototype.ngOnInit.call(this);this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")};OO.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(OO)))(b||OO)}}();
OO.\u0275cmp=Oc({type:OO,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(a,b){a&2&&xf("mdc-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],features:[Of([{provide:xM,useExisting:OO},{provide:fM,useExisting:OO},{provide:Ykc,useClass:lM},{provide:qWb,useClass:oWb},{provide:elc,useValue:null}]),kf],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",
""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a){a&1&&(Ff(nnc),Gf(0),Gf(1,1),Cf(2,0)(3,1)(4,2)(5,3))},dependencies:[tM,uM,vM,wM],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{--mat-table-row-item-outline-width:1px;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 PO=function(){};PO.\u0275fac=function(a){return new (a||PO)};PO.\u0275mod=Qc({type:PO});PO.\u0275inj=zc({imports:[hA,zM,hA]});var QO=function(){};QO.\u0275fac=function(a){return new (a||QO)};QO.\u0275mod=Qc({type:QO});QO.\u0275inj=zc({imports:[zM,hA,hA]});var RO=function(){};RO.\u0275fac=function(a){return new (a||RO)};RO.\u0275mod=Qc({type:RO});RO.\u0275inj=zc({providers:[{provide:bmc,useValue:{enabled:!0}}],imports:[OG,DO,AO,ED,jB,EO,QO,VN,fE,CO,zN,YN]});var SO=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new kw;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))}};SO.prototype.ngOnInit=function(){document.addEventListener(this.eventType,this.clickHandler,!0)};
SO.prototype.ngOnDestroy=function(){document.removeEventListener(this.eventType,this.clickHandler,!0)};SO.\u0275fac=function(a){return new (a||SO)(B(Dd))};SO.\u0275dir=Sc({type:SO,selectors:[["","clickOutside",""]],inputs:{eventType:["clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var TO=function(){};TO.\u0275fac=function(a){return new (a||TO)};TO.\u0275mod=Qc({type:TO});TO.\u0275inj=zc({});var UO=function(){};UO.\u0275fac=function(a){return new (a||UO)};UO.\u0275cmp=Oc({type:UO,selectors:[["b-glue"]],ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"no-wrapping"]],template:function(a){a&1&&(Ff(),F(0,"span",0),Gf(1),H())},styles:['.no-wrapping[_ngcontent-%COMP%] {\n  white-space: nowrap;\n}\n\n.no-wrapping[_ngcontent-%COMP%]::after {\n  content: "\\002060"\n}'],changeDetection:0});var onc=["el"],VO=function(a,b,c){this.clipboard=a;this.snackBar=b;this.domSafe=c;this.opened=!1};VO.prototype.getNgContentParentEl=function(){return this.el.nativeElement};VO.prototype.hide=function(){this.opened=!1};VO.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};VO.\u0275fac=function(a){return new (a||VO)(B(oN),B(VG),B(vL))};
VO.\u0275cmp=Oc({type:VO,selectors:[["b-broken-link"]],viewQuery:function(a,b){a&1&&bg(onc,7);if(a&2){var c;ag(c=dg())&&(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&&(Ff(),F(0,"a",0,1),L("click",function(d){d.preventDefault();d.stopPropagation();b.opened=!b.opened}),F(2,"b-glue"),I(3,"mat-icon",2),H(),F(4,"span",null,3),Gf(6),H()(),O(7,oHa,11,3,"ng-template",4));if(a&2){var c=Kf(1);z(7);E("cdkConnectedOverlayPush",
!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[HB,fA,eA,SO,UO,QA,lD],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 pnc=new ad("mat-checkbox-default-options",{providedIn:"root",factory:pHa});var qnc=["input"],rnc=["label"],snc={provide:gx,useExisting:Ec(function(){return WO}),multi:!0},tnc=function(){},unc=0,vnc=pHa(),wnc=wh(th(uh(vh(function(a){this._elementRef=a})))),XO=function(a,b,c,d,e,g,h){b=wnc.call(this,b)||this;b._changeDetectorRef=c;b._ngZone=d;b._animationMode=g;b._options=h;b.ariaLabel="";b.ariaLabelledby=null;b.labelPosition="after";b.name=null;b.change=new kw;b.indeterminateChange=new kw;b._onTouched=function(){};b._currentAnimationClass="";b._currentCheckState=0;b._controlValueAccessorChangeFn=
function(){};b._checked=!1;b._disabled=!1;b._indeterminate=!1;b._options=b._options||vnc;b.color=b.defaultColor=b._options.color||vnc.color;b.tabIndex=parseInt(e)||0;b.id=b._uniqueId=a+ ++unc;return b};T(XO,wnc);f=XO.prototype;f.ngAfterViewInit=function(){this._syncIndeterminate(this._indeterminate)};f._isRippleDisabled=function(){return this.disableRipple||this.disabled};f._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};f.writeValue=function(a){this.checked=!!a};
f.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};f.registerOnTouched=function(a){this._onTouched=a};f.setDisabledState=function(a){this.disabled=a};
f._transitionCheckState=function(a){var b=this._currentCheckState,c=this._getAnimationTargetElement();if(b!==a&&c&&(this._currentAnimationClass&&c.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(b,a),this._currentCheckState=a,0<this._currentAnimationClass.length)){c.classList.add(this._currentAnimationClass);var d=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){c.classList.remove(d)},
1E3)})}};f._emitChangeEvent=function(){this._controlValueAccessorChangeFn(this.checked);this.change.emit(this._createChangeEvent(this.checked));this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)};f.toggle=function(){this.checked=!this.checked;this._controlValueAccessorChangeFn(this.checked)};
f._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())};
f._onInteractionEvent=function(a){a.stopPropagation()};f._onBlur=function(){var a=this;Promise.resolve().then(function(){a._onTouched();a._changeDetectorRef.markForCheck()})};
f._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""};f._syncIndeterminate=function(a){var b=this._inputElement;b&&(b.nativeElement.indeterminate=a)};
sh.Object.defineProperties(XO.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=Fg(a)}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a=Fg(a);a!=this.checked&&(this._checked=a,this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},
set:function(a){a=Fg(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=Fg(a);b&&(this._indeterminate?this._transitionCheckState(3):this._transitionCheckState(this.checked?1:2),this.indeterminateChange.emit(this._indeterminate));this._syncIndeterminate(this._indeterminate)}}});XO.\u0275fac=function(){Hd()};
XO.\u0275dir=Sc({type:XO,viewQuery:function(a,b){a&1&&(bg(qnc,5),bg(rnc,5),bg(rA,5));if(a&2){var c;ag(c=dg())&&(b._inputElement=c.first);ag(c=dg())&&(b._labelElement=c.first);ag(c=dg())&&(b.ripple=c.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},
outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[kf]});
var WO=function(a,b,c,d,e,g){a=XO.call(this,"mat-mdc-checkbox-",a,b,c,d,e,g)||this;a._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};return a};
T(WO,XO);WO.\u0275dir=XO.\u0275dir;f=WO.prototype;f.focus=function(){this._inputElement.nativeElement.focus()};f._createChangeEvent=function(a){var b=new tnc;b.source=this;b.checked=a;return b};f._getAnimationTargetElement=function(){var a;return null==(a=this._inputElement)?void 0:a.nativeElement};f._onInputClick=function(){XO.prototype._handleInputClick.call(this)};f._onTouchTargetClick=function(){XO.prototype._handleInputClick.call(this);this.disabled||this._inputElement.nativeElement.focus()};
f._preventBubblingFromLabel=function(a){a.target&&this._labelElement.nativeElement.contains(a.target)&&a.stopPropagation()};WO.\u0275fac=function(a){return new (a||WO)(B(Dd),B(Kw),B(df),wd("tabindex"),B(wv,8),B(pnc,8))};
WO.\u0275cmp=Oc({type:WO,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&(Df("id",b.id),of("tabindex",null)("aria-label",null)("aria-labelledby",null),xf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mdc-checkbox--disabled",b.disabled)("mat-mdc-checkbox-disabled",b.disabled)("mat-mdc-checkbox-checked",b.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[Of([snc]),
kf],ngContentSelectors:["*"],decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",
1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(a,b){a&1&&(Ff(),F(0,"div",0),L("click",function(d){return b._preventBubblingFromLabel(d)}),F(1,"div",1,2)(3,"div",3),L("click",function(){return b._onTouchTargetClick()}),H(),F(4,"input",4,5),L("blur",function(){return b._onBlur()})("click",function(){return b._onInputClick()})("change",
function(d){return b._onInteractionEvent(d)}),H(),I(6,"div",6),F(7,"div",7),rd(),F(8,"svg",8),I(9,"path",9),H(),sd(),I(10,"div",10),H(),I(11,"div",11),H(),F(12,"label",12,13),Gf(14),H()());if(a&2){var c=Kf(2);xf("mdc-form-field--align-end","before"==b.labelPosition);z(4);xf("mdc-checkbox--selected",b.checked);E("checked",b.checked)("indeterminate",b.indeterminate)("disabled",b.disabled)("id",b.inputId)("required",b.required)("tabIndex",b.tabIndex);of("aria-label",b.ariaLabel||null)("aria-labelledby",
b.ariaLabelledby)("aria-describedby",b.ariaDescribedby)("name",b.name)("value",b.value);z(7);E("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0);z(1);E("for",b.inputId)}},dependencies:[rA],styles:['@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-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-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var YO=function(){};YO.\u0275fac=function(a){return new (a||YO)};YO.\u0275mod=Qc({type:YO});YO.\u0275inj=zc({});var ZO=function(){};ZO.\u0275fac=function(a){return new (a||ZO)};ZO.\u0275mod=Qc({type:ZO});ZO.\u0275inj=zc({imports:[hA,uA,YO,hA,YO]});var xnc=function(a){return{enterDuration:a}},ync=function(){},znc={provide:gx,useExisting:Ec(function(){return $O}),multi:!0},$O=function(a,b,c,d,e,g,h){a=XO.call(this,"mat-checkbox-",a,b,d,e,g,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};T($O,XO);$O.\u0275dir=XO.\u0275dir;f=$O.prototype;f._createChangeEvent=function(a){var b=new ync;b.source=this;b.checked=a;return b};f._getAnimationTargetElement=function(){return this._elementRef.nativeElement};f.ngAfterViewInit=function(){var a=this;XO.prototype.ngAfterViewInit.call(this);this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b||a._onBlur()})};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};
f._onInputClick=function(a){a.stopPropagation();XO.prototype._handleInputClick.call(this)};f.focus=function(a,b){a?cy(this._focusMonitor,this._inputElement,a,b):this._inputElement.nativeElement.focus(b)};$O.\u0275fac=function(a){return new (a||$O)(B(Dd),B(Kw),B(by),B(df),wd("tabindex"),B(wv,8),B(pnc,8))};
$O.\u0275cmp=Oc({type:$O,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(a,b){a&2&&(Df("id",b.id),of("tabindex",null)("aria-label",null)("aria-labelledby",null),xf("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:[Of([znc]),kf],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&&(Ff(),F(0,"label",0,1)(2,"span",2)(3,"input",3,4),L("change",
function(e){return b._onInteractionEvent(e)})("click",function(e){return b._onInputClick(e)}),H(),F(5,"span",5),I(6,"span",6),H(),I(7,"span",7),F(8,"span",8),rd(),F(9,"svg",9),I(10,"path",10),H(),sd(),I(11,"span",11),H()(),F(12,"span",12,13),L("cdkObserveContent",function(){return b._onLabelTextChange()}),F(14,"span",14),P(15,"\u00a0"),H(),Gf(16),H()());if(a&2){var c=Kf(1),d=Kf(13);of("for",b.inputId);z(2);xf("mat-checkbox-inner-container-no-side-margin",!d.textContent||!d.textContent.trim());z(1);
E("id",b.inputId)("required",b.required)("checked",b.checked)("disabled",b.disabled)("tabIndex",b.tabIndex);of("value",b.value)("name",b.name)("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby);z(2);E("matRippleTrigger",c)("matRippleDisabled",b._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Rf(18,xnc,"NoopAnimations"===b._animationMode?0:150))}},dependencies:[rA,kz],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var Anc=function(){this.checked=!1};Anc.\u0275fac=function(a){return new (a||Anc)};Anc.\u0275cmp=Oc({type:Anc,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&&E("disabled",!0)("checked",b.checked)},dependencies:[$O],encapsulation:2,changeDetection:0});var Bnc=["el"],aP=function(a,b,c){rF.call(this);this.domSafe=a;this.clipboard=b;this.snackBar=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.opened=!1};T(aP,rF);aP.\u0275dir=rF.\u0275dir;aP.prototype.ngOnInit=function(){};aP.prototype.ngAfterViewInit=function(){var a=this;this.cdkConnectedOverlay.attach.pipe(af(this.destroyed$)).subscribe(function(){var b=a.cdkConnectedOverlay.overlayRef.overlayElement;b&&(b=b.querySelector("a"))&&b.focus()})};aP.prototype.getNgContentParentEl=function(){return this.el.nativeElement};
var Cnc=function(a){var b=a.getNgContentParentEl(),c,d;if(d=DEa(b))a=a.originalHref,b=null!=(c=b.textContent)?c:"",d=b===a||a.startsWith("mailto:")&&a.substring(7)===b?!0:!1;return!d};aP.prototype.hide=function(){this.opened=!1};var rHa=function(a,b){EEa(b)||(b.preventDefault(),b.stopPropagation(),Zn(a.domSafe,a.href))};aP.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};
var tHa=function(a,b){b.preventDefault();if(a=a.cdkConnectedOverlay.overlayRef.overlayElement){var c=a.querySelector("a");c&&setTimeout(function(){c.focus()})}},sHa=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()})}};aP.\u0275fac=function(a){return new (a||aP)(B(vL),B(oN),B(VG))};
aP.\u0275cmp=Oc({type:aP,selectors:[["b-external-hyperlink-widget"]],viewQuery:function(a,b){a&1&&(bg(Bnc,7),bg(fA,7));if(a&2){var c;ag(c=dg())&&(b.el=c.first);ag(c=dg())&&(b.cdkConnectedOverlay=c.first)}},inputs:{originalHref:"originalHref",href:"href"},features:[kf],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&&(Ff(),F(0,"a",0,1),L("click",function(d){EEa(d)||(d.preventDefault(),d.stopPropagation(),Cnc(b)?
b.opened=!b.opened:rHa(b,d))}),O(2,qHa,2,0,"b-glue",2),F(3,"span",null,3),Gf(5),H()(),O(6,uHa,6,3,"ng-template",4));if(a&2){var c=Kf(1);xf("needs-user-confirm",Cnc(b));E("href",b.originalHref,Ud)("rel",b.EXTERNAL_LINK_REL);z(2);E("ngIf",Cnc(b));z(4);E("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[Rw,HB,fA,eA,SO,UO,QA,lD],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 bP=function(a){this.codefont$=a.codeFont$};bP.\u0275fac=function(a){return new (a||bP)(t(VJ))};bP.\u0275prov=yc({token:bP,factory:bP.\u0275fac,providedIn:"root"});var Dnc=["child"],cP=function(a){this.codefont=a};cP.prototype.ngOnInit=function(){};cP.prototype.ngOnChanges=function(){CEa(this.child.nativeElement,this.content.content)};cP.\u0275fac=function(a){return new (a||cP)(B(bP))};
cP.\u0275cmp=Oc({type:cP,selectors:[["b-literal-format-presenter"]],viewQuery:function(a,b){a&1&&bg(Dnc,7);if(a&2){var c;ag(c=dg())&&(b.child=c.first)}},inputs:{content:"content"},features:[gd],decls:3,vars:4,consts:[[1,"type-m","child"],["child",""]],template:function(a,b){a&1&&(F(0,"div",0,1),R(2,"async"),H());a&2&&xf("codefont",S(2,2,b.codefont.codefont$))},dependencies:[Xw],styles:[".child[_ngcontent-%COMP%] { white-space: pre-wrap; }"],changeDetection:0});var dP=function(a,b){this.session=a;this.userPreferencesManager=b;this.textDisplayPreferences$=this.userPreferencesManager.preferences$.pipe(C(function(c){return c.textDisplayPreferences?c.textDisplayPreferences:{}}),Ne());this.textDisplayPreferences$.pipe(C(function(c){return c.lastPublishMode===V8b}),Ne());this.commentDisplayOverride$=this.textDisplayPreferences$.pipe(C(function(c){return c.commentDisplayOverride}),Ne())};dP.\u0275fac=function(a){return new (a||dP)(t(Bs),t(VJ))};
dP.\u0275prov=yc({token:dP,factory:dP.\u0275fac,providedIn:"root"});var eP=function(){this.isMentioningMe=!1};eP.prototype.ngOnInit=function(){this.username=this.email.replace(/@google.com$/,"")};eP.\u0275fac=function(a){return new (a||eP)};
eP.\u0275cmp=Oc({type:eP,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&&(F(0,"span",0,1),P(2),H(),F(3,"onedev-hovercard",null,2),I(5,"b-issue-person-card",3),H());if(a&2){var c=Kf(4);xf("me",b.isMentioningMe);E("onedevHovercardTrigger",c);z(2);Lf("@",b.username,"");z(3);E("email",b.email)}},dependencies:[xL,UK,ZK],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 fP=function(a){this.internalArray_=m(a,0,fP.messageId)};T(fP,p);fP.prototype.getUrl=function(){return U(this,1)};fP.prototype.setUrl=function(a){return sk(this,1,a)};fP.prototype.hasUrl=function(){return Hk(this,1)};fP.prototype.toObject=function(){if(null!=this){r(this);var a={url:n(Z(this,1))}}else a=void 0;return a};fP.messageId="b.ImageRedirectRequest";var gP=function(a){this.internalArray_=m(a,0,gP.messageId)};T(gP,p);gP.prototype.getUrl=function(){return U(this,1)};gP.prototype.setUrl=function(a){return sk(this,1,a)};gP.prototype.hasUrl=function(){return Hk(this,1)};gP.prototype.toObject=function(){if(null!=this){r(this);var a={url:n(Z(this,1))}}else a=void 0;return a};gP.messageId="b.ImageRedirectResponse";var hP=function(a){this.executor=a},Enc=function(a,b){var c=new fP;c.setUrl(b);return a.executor.post({url:"action/imageRedirect",body:c,responseConstructor:gP}).pipe(C(function(d){return d.getUrl()}))};hP.\u0275fac=function(a){return new (a||hP)(t(hE))};hP.\u0275prov=yc({token:hP,factory:hP.\u0275fac,providedIn:"root"});var iP=function(a){var b=this;this.imageRedirector=a;this.src$=new D.BehaviorSubject("");this.showImage$=new D.BehaviorSubject(!1);this.error$=new D.BehaviorSubject(!1);this.srcTruncated$=this.src$.pipe(C(function(c){var d=c;d=void 0===d?"":d;var e=void 0===e?48:e;c=[].concat(cd(d));c.length<=e?c=d:(d=Math.floor(e/2),e=d-(0!==e%2?1:2),d=c.slice(0,d-1).join(""),c=c.slice(-e).join(""),null!=String.prototype.trimEnd&&null!=String.prototype.trimStart&&(d=d.trimEnd(),c=c.trimStart()),c=d+"..."+c);return c}));
this.srcRedirected$=(0,D.combineLatest)([this.src$,this.showImage$]).pipe(Ge(function(c){c=k(c);c.next();return c.next().value}),$e(function(c){var d=k(c).next().value;return(c=Jva(d))?(0,D.of)(c):Enc(b.imageRedirector,d).pipe(Ke(function(){b.error$.next(!0);return d}))}))};iP.prototype.trigger=function(a){a.preventDefault();a.stopPropagation();this.showImage$.next(!0)};
sh.Object.defineProperties(iP.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}}});iP.\u0275fac=function(a){return new (a||iP)(B(hP))};
iP.\u0275cmp=Oc({type:iP,selectors:[["b-secure-image-widget"]],inputs:{showByDefault:"showByDefault",src:"src",alt:"alt"},decls:6,vars:4,consts:[[4,"ngIf","ngIfElse"],["widget",""],["error",""],[3,"src"],["tabindex","0",1,"normal-link",3,"href","title","click","keydown.enter"],["svgIcon","image",1,"icon-s"],["svgIcon","broken-image",1,"icon-l",3,"matTooltip"]],template:function(a,b){a&1&&(O(0,wHa,3,4,"ng-container",0),R(1,"async"),O(2,xHa,8,9,"ng-template",null,1,gg),O(4,yHa,2,3,"ng-template",null,
2,gg));if(a&2){var c=Kf(5);E("ngIf",!1===S(1,2,b.error$))("ngIfElse",c)}},dependencies:[Rw,HB,lD,UO,Xw],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 Fnc={HIDE:"HIDE",COLLAPSE:"COLLAPSE",SHOW:"SHOW"},jP=function(a,b){var c=this;this.activeSession=a;this.userPreferencesManager=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.DisplayMode=Fnc;this.src$=new D.BehaviorSubject("");this.isMarkdownImage$=new D.BehaviorSubject(!1);this.displayMode$=(0,D.combineLatest)([this.src$,this.userPreferencesManager.showInlineImages$,this.isMarkdownImage$]).pipe(C(function(d){var e=k(d);d=e.next().value;var g=e.next().value;e=e.next().value;return d&&
pF(c.activeSession,"enableImageSummary")&&c.activeSession.isInternalSession()?!g&&e?"COLLAPSE":g?"SHOW":"HIDE":"HIDE"}),Ze("HIDE"))};sh.Object.defineProperties(jP.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}}});jP.\u0275fac=function(a){return new (a||jP)(B(Bs),B(VJ))};
jP.\u0275cmp=Oc({type:jP,selectors:[["b-snipit-image"]],inputs:{src:"src",isMarkdownImage:"isMarkdownImage",alt:"alt"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"src","alt","showByDefault",4,"ngSwitchCase"],["target","_blank",3,"href","rel"],[1,"thumbnail",3,"src","alt","showByDefault"],[3,"src","alt","showByDefault"]],template:function(a,b){a&1&&(O(0,BHa,5,5,"ng-container",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.src$))},dependencies:[Rw,Sw,Tw,iP,Xw],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 Gnc=Symbol(),Hnc=Symbol(),Inc=Symbol(),Jnc=Symbol(),Knc=Symbol(),Lnc=Symbol(),kP=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=[]},Onc=function(a,b,c){for(var d=b.querySelectorAll("*"),e=0;e<d.length;e++){var g=d[e],h=g.dataset.bId;h&&(g.id=h)}d=k(b.querySelectorAll("a"));for(e=d.next();!e.done;e=
d.next())if(e=e.value,(h=e.getAttribute("href"))&&Fva(h)&&e&&DEa(e)&&h===e.textContent&&(g=e.nextSibling,Mnc(a,e,h,void 0,c),h=void 0,null!=(h=g)&&h.textContent&&(h=g.textContent.match(/(^[^\w]+)/))))h=h[1],g.textContent=g.textContent.substring(h.length),g=document.createElement("span"),g.textContent=h,e.insertAdjacentElement("afterend",g);d=b.querySelectorAll("*[data-b-widget]");for(e=0;e<d.length;e++)switch(g=d[e],g.dataset.bWidget){case "image":h=a;var l=c,q=g.dataset.bImgSrc,v=g.dataset.bImgRedirectedSrc;
CHa(g);if(q){var x=g.dataset.bImgAlt;if(Fva(q))Mnc(h,g,q,x,l,!0);else if(pF(h.flags.session,"enableMarkdownInlineImages"))g=h.createComponent(iP,g,l),l=g.instance,l.src=q,x&&(l.alt=x),h.secureImageRefs.push(g);else{var A=document.createElement("a");x?A.appendChild(document.createTextNode(x)):A.appendChild(document.createTextNode(q));g.appendChild(A);Nnc(h,A,q,v||q,l)}}break;case "checkbox":h=a;x=c;q=null!=g.dataset.bCheckboxChecked;CHa(g);g=h.createComponent(Anc,g,x);g.instance.checked=q;h.checkboxRefs.push(g);
break;case "url":h=a;q=c;x=g.dataset.bOriginalHref;l=g.dataset.bRedirectedHref;x&&l&&(g.removeAttribute("href"),Nnc(h,g,x,l,q));break;case "broken-url":h=a;l=c;if(x=g.dataset.bOriginalHref){q=Array.from(g.childNodes);g=h.createComponent(VO,g,l);l=g.instance;l.originalHref=x;x=l.getNgContentParentEl();q=k(q);for(l=q.next();!l.done;l=q.next())x.appendChild(l.value);h.brokenLinkRefs.push(g)}break;case "mention":a.session.isInternalSession()&&(x=void 0,h=a,l=c,q="","@"===(null==(x=g.textContent)?void 0:
x[0])&&(q=g.textContent.slice(1)),CHa(g),g=h.createComponent(eP,g,l),x=g.instance,x.email=q,x.isMentioningMe=h.session.getUserEmail()===q,h.mentionChipRefs.push(g));break;case "issue-reference":A=void 0;h=a;var G=c;q=g.href;x=g.dataset.bIssueId;l=g.dataset.bCommentNumber;if(q&&x){v=Number(l);l=Array.from(g.childNodes);var M=document.createElement("span");null==(A=g.parentNode)||A.insertBefore(M,g);A=h.createComponent(OM,M,G);G=A.instance;G.href=q;G.issueId=x;G.commentNumber=v;q=G.el.nativeElement;
x=k(l);for(l=x.next();!l.done;l=x.next())q.appendChild(l.value);g.remove();h.issueReferenceRefs.push(A)}}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))};kP.prototype.ngOnDestroy=function(){Pnc(this)};
var Mnc=function(a,b,c,d,e,g){g=void 0===g?!1:g;var h=b;b instanceof HTMLAnchorElement&&(h=document.createElement("span"),b.insertAdjacentElement("afterend",h));b=a.createComponent(jP,h,e);e=b.instance;e.src=c;e.alt=d;e.isMarkdownImage=g;a.snipItImageRefs.push(b)},Nnc=function(a,b,c,d,e){var g=Array.from(b.childNodes);b=a.createComponent(aP,b,e);e=b.instance;e.originalHref=c;e.href=d;c=e.getNgContentParentEl();g=k(g);for(d=g.next();!d.done;d=g.next())c.appendChild(d.value);a.externalHyperlinkRefs.push(b)};
kP.prototype.createComponent=function(a,b,c){c={environmentInjector:this.appRef.injector,elementInjector:c.injector};a=a[Pc]||null;var d=c.elementInjector||Pea();c=(new kg(a)).create(d,c.projectableNodes,c.hostElement,c.environmentInjector);b.appendChild(c.location.nativeElement);ASb(this.appRef,c.hostView);this.allComponentRefs.push(c);return c};
var Pnc=function(a){for(var b=k(a.allComponentRefs),c=b.next();!c.done;c=b.next())c.value.destroy();a.allComponentRefs=[];a.secureImageRefs=[];a.snipItImageRefs=[];a.mentionChipRefs=[];a.checkboxRefs=[];a.externalHyperlinkRefs=[];a.brokenLinkRefs=[];a.issueReferenceRefs=[]};kP.prototype[Gnc]=function(){return this.secureImageRefs.slice()};kP.prototype[Hnc]=function(){return this.snipItImageRefs.slice()};kP.prototype[Inc]=function(){return this.checkboxRefs.slice()};kP.prototype[Jnc]=function(){return this.externalHyperlinkRefs.slice()};
kP.prototype[Knc]=function(){return this.brokenLinkRefs.slice()};kP.prototype[Lnc]=function(){return this.issueReferenceRefs.slice()};kP.\u0275fac=function(a){return new (a||kP)(t(Iw),t(dP),t(Bs))};kP.\u0275prov=yc({token:kP,factory:kP.\u0275fac});var Qnc=["child"],Rnc=Symbol(),lP=function(a,b,c){this.dynamicComponents=a;this.codefont=b;this.viewContainerRef=c};lP.prototype.ngOnInit=function(){};lP.prototype.ngOnChanges=function(){Pnc(this.dynamicComponents);var a=this.child.nativeElement;CEa(a,this.content.content);Onc(this.dynamicComponents,a,this.viewContainerRef)};lP.prototype.ngOnDestroy=function(){Pnc(this.dynamicComponents)};lP.prototype[Rnc]=function(){return this.dynamicComponents};
lP.\u0275fac=function(a){return new (a||lP)(B(kP,2),B(bP),B(Zf))};
lP.\u0275cmp=Oc({type:lP,selectors:[["b-markdown-format-presenter"]],viewQuery:function(a,b){a&1&&bg(Qnc,7);if(a&2){var c;ag(c=dg())&&(b.child=c.first)}},inputs:{content:"content"},features:[Of([{provide:kP,useClass:kP}]),gd],decls:3,vars:4,consts:[[1,"type-m","markdown-display"],["child",""]],template:function(a,b){a&1&&(F(0,"div",0,1),R(2,"async"),H());a&2&&xf("codefont",S(2,2,b.codefont.codefont$))},dependencies:[Xw],styles:[':root{--blue-50: #e8f0fe;--blue-100: #d2e3fc;--blue-200: #aecbfa;--blue-300: #8ab4f8;--blue-400: #669df6;--blue-500: #4285f4;--blue-600: #1a73e8;--blue-700: #1967d2;--blue-800: #185abc;--blue-900: #174ea6;--blue: var(--blue-600);--red-50: #fce8e6;--red-100: #fad2cf;--red-200: #f6aea9;--red-300: #f28b82;--red-400: #ee675c;--red-500: #ea4335;--red-600: #d93025;--red-700: #c5221f;--red-800: #b31412;--red-900: #a50e0e;--red: var(--red-600);--yellow-50: #fef7e0;--yellow-100: #feefc3;--yellow-200: #fde293;--yellow-300: #fdd663;--yellow-400: #fcc934;--yellow-500: #fbbc04;--yellow-600: #f9ab00;--yellow-700: #f29900;--yellow-800: #ea8600;--yellow-900: #e37400;--yellow: var(--yellow-600);--green-50: #e6f4ea;--green-100: #ceead6;--green-200: #a8dab5;--green-300: #81c995;--green-400: #5bb974;--green-500: #34a853;--green-600: #1e8e3e;--green-700: #188038;--green-800: #137333;--green-900: #0d652d;--green: var(--green-600);--white: #fff;--grey-50: #f8f9fa;--grey-100: #f1f3f4;--grey-200: #e8eaed;--grey-300: #dadce0;--grey-400: #bdc1c6;--grey-500: #9aa0a6;--grey-600: #80868b;--grey-700: #5f6368;--grey-800: #3c4043;--grey-900: #202124;--black: var(--grey-900);--orange-50: #feefe3;--orange-100: #fedfc8;--orange-200: #fdc69c;--orange-300: #fcad70;--orange-400: #fa903e;--orange-500: #fa7b17;--orange-600: #e8710a;--orange-700: #d56e0c;--orange-800: #c26401;--orange-900: #b06000;--pink-50: #fde7f3;--pink-100: #fdcfe8;--pink-200: #fba9d6;--pink-300: #ff8bcb;--pink-400: #ff63b8;--pink-500: #f439a0;--pink-600: #e52592;--pink-700: #c92786;--pink-800: #b80672;--pink-900: #9c166b;--purple-50: #f3e8fd;--purple-100: #e9d2fd;--purple-200: #d7aefb;--purple-300: #c58af9;--purple-400: #af5cf7;--purple-500: #a142f4;--purple-600: #9334e6;--purple-700: #8430ce;--purple-800: #7627bb;--purple-900: #681da8;--cyan-50: #e4f7fb;--cyan-100: #cbf0f8;--cyan-200: #a1e4f2;--cyan-300: #78d9ec;--cyan-400: #4ecde6;--cyan-500: #24c1e0;--cyan-600: #12b5cb;--cyan-700: #129eaf;--cyan-800: #098591;--cyan-900: #007b83}.markdown-display{word-break:break-word;overflow-wrap:break-word}.markdown-display p{word-break:break-word}.markdown-display hr{height:0;border:0;border-top:1px solid var(--hairline)}.markdown-display h1,.markdown-display h2,.markdown-display h3,.markdown-display h4,.markdown-display h5{font-weight:500}.markdown-display h1{font-size:160%;font-weight:700}.markdown-display h2{font-size:160%}.markdown-display h3{font-size:140%}.markdown-display h4{font-size:120%}.markdown-display h5{font-size:100%}.markdown-display h1,.markdown-display h2,.markdown-display h3,.markdown-display h4,.markdown-display h5{margin:0;margin-block-start:.8em;margin-block-end:.8em}.markdown-display p,.markdown-display blockquote,.markdown-display hr,.markdown-display ul,.markdown-display ol{margin:0;margin-block-start:.8em;margin-block-end:.8em}.markdown-display>*:first-child{margin-block-start:0}.markdown-display ul,.markdown-display ol{padding-inline-start:2rem}.markdown-display blockquote{background-color:var(--markdown-blockquote-background);border-left:4px solid var(--markdown-blockquote-border);color:var(--text-secondary);overflow:hidden;padding-left:8px}.markdown-display ul{list-style:initial}.markdown-display ul ul{list-style:circle}.markdown-display ul ul ul{list-style:square}.markdown-display ul ul,.markdown-display ol ol,.markdown-display ul ol,.markdown-display ol ul{margin:0}.markdown-display li{margin-block-end:.2em}.markdown-display code,.markdown-display pre{background-color:var(--surface-secondary);border-radius:2px;font-family:WorkAroundWebKitAndMozilla,monospace}.markdown-display pre{border:1px solid var(--hairline);overflow-x:auto}.markdown-display code{color:var(--markdown-code);padding:0 2px}.markdown-display pre code{color:var(--text-high-contrast);padding:0}.markdown-display pre{padding:8px 16px}.markdown-display pre,.markdown-display pre code{line-height:1.5}.markdown-display img{max-width:100%}.markdown-display a,.markdown-display a code{color:var(--primary-default);text-decoration:none}.markdown-display a:visited,.markdown-display a code:visited{color:var(--markdown-link-visited)}.markdown-display pre code a{color:inherit;text-decoration:underline}.markdown-display a:hover{text-decoration:underline}.markdown-display a:focus{outline:-webkit-focus-ring-color auto 1px}.markdown-display table{border-collapse:collapse;margin:1em 0}.markdown-display td,.markdown-display th{background-color:var(--surface-default);border:1px solid var(--hairline);padding:4px 8px;vertical-align:top}.markdown-display th{text-align:left;vertical-align:bottom;word-break:keep-all}.markdown-display div.table-overflow{overflow-x:auto}.markdown-display input[type=checkbox]{vertical-align:middle}.markdown-display section.footnotes{font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;margin-top:2.5em;border-top:1px solid #dadce0}.markdown-display sup.footnote-ref::before{content:"["}.markdown-display sup.footnote-ref::after{content:"]"}.markdown-display .footnote-backref{text-decoration:none}.markdown-display .footnote-backref>a{text-decoration:none}.markdown-display .align-left{text-align:left}.markdown-display .align-right{text-align:right}.markdown-display .align-center{text-align:center}.markdown-display .align-justify{text-align:justify}.markdown-display .g3mark-callout{position:relative}.markdown-display .g3mark-callout .g3mark-callout__icon{display:none}body:not(.dark-mode) .markdown-display .stx-plain{color:inherit}body:not(.dark-mode) .markdown-display .stx-keyword{color:#708}body:not(.dark-mode) .markdown-display .stx-keyword-strong{color:inherit}body:not(.dark-mode) .markdown-display .stx-string{color:#080}body:not(.dark-mode) .markdown-display .stx-comment{color:#800}body:not(.dark-mode) .markdown-display .stx-number{color:#164}body:not(.dark-mode) .markdown-display .stx-macro{color:#555}body:not(.dark-mode) .markdown-display .stx-class{color:inherit}body:not(.dark-mode) .markdown-display .stx-const{color:inherit}body:not(.dark-mode) .markdown-display .stx-escape-sequence{color:inherit}body:not(.dark-mode) .markdown-display .stx-deprecated{text-decoration:inherit}body:not(.dark-mode) .markdown-display .stx-doc-tag{text-decoration:inherit}body:not(.dark-mode) .markdown-display .stx-task-tag{font-weight:inherit}body:not(.dark-mode) .markdown-display .stx-atom{color:#219}body:not(.dark-mode) .markdown-display .stx-definition{color:blue}body:not(.dark-mode) .markdown-display .stx-type-id{color:#085}body:not(.dark-mode) .markdown-display .stx-qualifier{color:#555}body:not(.dark-mode) .markdown-display .stx-local-ref{color:#05a}body:not(.dark-mode) .markdown-display .stx-md-entity{color:#708}body:not(.dark-mode) .markdown-display .stx-md-bold{font-weight:bold}body:not(.dark-mode) .markdown-display .stx-md-italic{font-style:italic}body:not(.dark-mode) .markdown-display .stx-md-link{color:#080}body:not(.dark-mode) .markdown-display .stx-md-code{color:#555}body:not(.dark-mode) .markdown-display .stx-comment .stx-md-link,body:not(.dark-mode) .markdown-display .stx-comment .stx-md-code{color:#800}body:not(.dark-mode) .markdown-display 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 Snc=["child"],Tnc=function(){return"[_nghost-%COMP%]     a:visited{color:#7627bb;color:var(--link-visited)}"},mP=function(a){this.codefont=a};mP.prototype.ngOnInit=function(){};mP.\u0275fac=function(a){return new (a||mP)(B(bP))};
mP.\u0275cmp=Oc({type:mP,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&&(F(0,"div",0),R(1,"async"),O(2,DHa,2,1,"ng-container",1),H());a&2&&(xf("codefont",S(1,3,b.codefont.codefont$)),z(2),E("ngForOf",b.content.plainSection))},dependencies:function(){return[Qw,nP,Xw]},styles:[Tnc()],changeDetection:0});var nP=function(){};nP.prototype.ngOnInit=function(){};
nP.\u0275fac=function(a){return new (a||nP)};nP.\u0275cmp=Oc({type:nP,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&&(J(0),O(1,EHa,1,1,"b-plain-format-quoted-section",0),O(2,FHa,1,1,"b-plain-format-unquoted-section",0),K());a&2&&(z(1),E("ngIf",b.section.isQuoted),z(1),E("ngIf",!b.section.isQuoted))},dependencies:function(){return[Rw,oP,pP]},encapsulation:2,changeDetection:0});
var oP=function(){this.showQuote=!1;Unc++;this.childId="plainFormatQuotedSection"+Unc};oP.prototype.ngOnInit=function(){};oP.prototype.ngOnChanges=function(){GHa(this)};var GHa=function(a){var b=a.child.nativeElement;a.showQuote?CEa(b,a.section.content):BEa(b)};oP.\u0275fac=function(a){return new (a||oP)};
oP.\u0275cmp=Oc({type:oP,selectors:[["b-plain-format-quoted-section"]],viewQuery:function(a,b){a&1&&bg(Snc,7);if(a&2){var c;ag(c=dg())&&(b.child=c.first)}},inputs:{section:"section"},features:[gd],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&&(F(0,"div"),O(1,HHa,2,1,"a",0),O(2,IHa,2,1,"a",1),I(3,"div",2,3),H());a&2&&(z(1),E("ngIf",!b.showQuote),z(1),E("ngIf",b.showQuote),z(1),E("id",b.childId))},dependencies:[Rw],styles:[Tnc()],changeDetection:0});var Unc=0,pP=function(a,b){this.dynamicComponents=a;this.viewContainerRef=b};pP.prototype.ngOnInit=function(){};
pP.prototype.ngOnChanges=function(){Pnc(this.dynamicComponents);var a=this.child.nativeElement;CEa(a,this.section.content);Onc(this.dynamicComponents,a,this.viewContainerRef)};pP.\u0275fac=function(a){return new (a||pP)(B(kP,2),B(Zf))};
pP.\u0275cmp=Oc({type:pP,selectors:[["b-plain-format-unquoted-section"]],viewQuery:function(a,b){a&1&&bg(Snc,7);if(a&2){var c;ag(c=dg())&&(b.child=c.first)}},inputs:{section:"section"},features:[Of([{provide:kP,useClass:kP}]),gd],decls:2,vars:0,consts:[[1,"child"],["child",""]],template:function(a){a&1&&I(0,"div",0,1)},encapsulation:2,changeDetection:0});var qP=function(){};qP.prototype.ngOnInit=function(){};qP.\u0275fac=function(a){return new (a||qP)};
qP.\u0275cmp=Oc({type:qP,selectors:[["b-formatted-comment-presenter"]],inputs:{formattedComment:"formattedComment"},decls:3,vars:3,consts:[[4,"ngIf"],[3,"content"]],template:function(a,b){a&1&&(O(0,JHa,2,1,"ng-container",0),O(1,KHa,2,1,"ng-container",0),O(2,LHa,2,1,"ng-container",0));a&2&&(E("ngIf",b.formattedComment.literalFormat),z(1),E("ngIf",b.formattedComment.markdownFormat),z(1),E("ngIf",b.formattedComment.plainFormat))},dependencies:[Rw,cP,lP,mP],encapsulation:2,changeDetection:0});var rP=function(a){this.internalArray_=m(a,0,rP.messageId)};T(rP,p);f=rP.prototype;f.getFormattingMode=function(){return Zi(this,1,0)};f.setFormattingMode=function(a){return V(this,1,a)};f.getSource=function(){return U(this,2)};f.setSource=function(a){return sk(this,2,a)};f.hasSource=function(){return Hk(this,2)};f.getSourceOrUndefined=function(){return tt(this,2)};f.getIssueId=function(){return qj(this,3)};f.setIssueId=function(a){return V(this,3,a)};f.getIdPrefix=function(){return U(this,4)};
f.setIdPrefix=function(a){return sk(this,4,a)};f.setCurrentTrackerId=function(a){V(this,7,a)};f.toObject=function(){if(null!=this){r(this);var a={formattingMode:n(Er(this,1)),source:n(Z(this,2)),issueId:n(Yb(this,3)),idPrefix:n(Z(this,4)),audience:n(Er(this,6)),currentTrackerId:n(Yb(this,7))}}else a=void 0;return a};rP.messageId="b.FormatCommentRequest";var sP=function(a){this.internalArray_=m(a,0,sP.messageId)};T(sP,p);sP.prototype.getFormattedComment=function(){return X(this,Oj,1)};sP.prototype.hasFormattedComment=function(){return Nj(this,Oj,1)};sP.prototype.getMentionsList=function(){return kj(this,bF,2)};sP.repeatedFields_=[2];sP.prototype.toObject=function(){if(null!=this){r(this);var a={formattedComment:Y7b(this.getFormattedComment()),mentionsList:Ub(this.getMentionsList(),q8b)}}else a=void 0;return a};sP.messageId="b.FormatCommentResponse";var tP=function(a,b){this.executor=a;this.currentTrackerId=b};tP.prototype.format=function(a){return"LITERAL"===a.formattingMode||""===a.comment.trim()?MHa(a):Vnc(this,a).pipe(C(function(b){return b.hasFormattedComment()?pra(b.getFormattedComment()):{}}))};
var Wnc=function(a,b){if("LITERAL"===b.formattingMode||""===b.comment.trim())return(0,D.of)([]);var c=new rP;c.setSource(b.comment);var d;c.setIssueId(null!=(d=ui(b.issueId))?d:0);V(c,6,C6b[b.audience]);c.setFormattingMode(Bta(b.formattingMode));c.setIdPrefix(b.idPrefix);return Vnc(a,b).pipe(C(function(e){return e.getMentionsList().map(function(g){return pi(g.getMentionedUser())||""})}))},Vnc=function(a,b){var c,d=(new rP).setSource(b.comment).setIssueId(null!=(c=ui(b.issueId))?c:0);b=V(d,6,C6b[b.audience]).setFormattingMode(Bta(b.formattingMode)).setIdPrefix(b.idPrefix);
(c=a.currentTrackerId.getTrackerId())&&b.setCurrentTrackerId(c);return a.executor.post({url:"action/formatComment",body:b,responseConstructor:sP})};tP.\u0275fac=function(a){return new (a||tP)(t(hE),t(sF))};tP.\u0275prov=yc({token:tP,factory:tP.\u0275fac,providedIn:"root"});var uP=function(a){rF.call(this);var b=this;this.formatter=a;this.issueId="";this.audience="EXTERNAL_AUDIENCE";this.formattingMode="LITERAL";this.params$=new D.ReplaySubject(1);this.formattedResult$=this.params$.pipe(Le(200),$e(function(c){return b.formatter.format(c).pipe(Xnc,Ke(function(){var d={literalFormat:{content:mta(Mg(c.comment))}};return(0,D.of)({formattedComment:d,isFallback:!0})}))}))};T(uP,rF);uP.\u0275dir=rF.\u0275dir;
uP.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()})}))};uP.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()})};
uP.prototype.getIdPrefix=function(){return this.idPrefix||"b"+this.issueId+"-draft"};uP.\u0275fac=function(a){return new (a||uP)(B(tP))};
uP.\u0275cmp=Oc({type:uP,selectors:[["b-live-preview"]],inputs:{comment:"comment",comment$:"comment$",issueId:"issueId",audience:"audience",formattingMode:"formattingMode",idPrefix:"idPrefix"},features:[kf,gd],decls:2,vars:3,consts:[[4,"ngIf"],[1,"md-preview"],[3,"formattedComment"]],template:function(a,b){a&1&&(O(0,NHa,3,5,"ng-container",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.formattedResult$))},dependencies:[Rw,qP,Xw],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 Xnc=C(function(a){return{formattedComment:a,isFallback:!1}});var vP=function(a,b,c){rF.call(this);var d=this;this.prefs=a;this.flags=b;this.links=c;this.change=new kw;this.checkedSubject=new D.BehaviorSubject(!1);this.mdHelpLink=this.links.session.isInternalSession()?"http://go/buganizer-markdown-quickstart":"https://commonmark.org/help/";this.flags.textDisplayPreferences$.pipe(af(this.destroyed$)).subscribe(function(e){d.currentTextDisplayPreferences=e});this.flags.commentDisplayOverride$.pipe(af(this.destroyed$)).subscribe(function(e){d.currentCommentDisplayOverride=
e})};T(vP,rF);vP.\u0275dir=rF.\u0275dir;vP.prototype.ngOnInit=function(){this.checkedSubject.next("MARKDOWN"===this.initialValue)};vP.prototype.ngOnChanges=function(){null!=this.initialValue&&this.checkedSubject.next("MARKDOWN"===this.initialValue)};vP.prototype.save=function(a){a=Object.assign({},this.currentTextDisplayPreferences,a);this.prefs.save({textDisplayPreferences:a}).pipe(af(this.destroyed$)).subscribe()};vP.\u0275fac=function(a){return new (a||vP)(B(VJ),B(dP),B(OJ))};
vP.\u0275cmp=Oc({type:vP,selectors:[["b-markdown-toggle"]],inputs:{initialValue:"initialValue"},outputs:{change:"change"},features:[kf,gd],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&&(F(0,"mat-checkbox",0),L("change",function(d){var e=b.currentCommentDisplayOverride;d=d.checked?V8b:e?e:W8b;b.save({lastPublishMode:d});b.change.emit(Ik(d))}),R(1,"async"),P(2," Markdown "),H(),O(3,OHa,2,2,"a",1));if(a&2){var c;E("checked",null!==(c=S(1,2,b.checkedSubject))&&void 0!==c?c:!1);z(3);E("ngIf",b.mdHelpLink)}},dependencies:[$O,Rw,HB,RA,lD,Xw],
encapsulation:2,changeDetection:0});var wP=function(a,b){rF.call(this);var c=this;this.appEvents=b;this.init=new kw;this.FormattingMode=D6b;a.textDisplayPreferencesSubject$.pipe(af(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:Ch(d.commentDisplayOverride)}})};
T(wP,rF);wP.\u0275dir=rF.\u0275dir;wP.prototype.ngOnInit=function(){};wP.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)};wP.prototype.ngAfterViewInit=function(){this.appEvents.commentRendered.next([this.issueId,this.note.commentNumber]);this.init.next(this)};
wP.\u0275fac=function(a){return new (a||wP)(B(VJ),B(eH))};
wP.\u0275cmp=Oc({type:wP,selectors:[["b-note-container"]],inputs:{note:"note",issueAccessLevel:"issueAccessLevel",formattingMode:"formattingMode",issueId:"issueId"},outputs:{init:"init"},features:[kf,gd],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&&(F(0,"div",0)(1,"div",1),
O(2,PHa,1,1,"b-formatted-comment-presenter",2),H()(),O(3,QHa,1,5,"ng-template",null,3,gg));if(a&2){var c=Kf(4);z(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;E("ngIf",a)("ngIfElse",c)}},dependencies:[Rw,qP,uP],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 xP=function(){};xP.\u0275fac=function(a){return new (a||xP)};xP.\u0275mod=Qc({type:xP});xP.\u0275inj=zc({imports:[OG,gO,pO]});var yP=function(){this.segments=[];this.clickMain=new kw;this.clickSegment=new kw};yP.prototype.ngOnInit=function(){};sh.Object.defineProperties(yP.prototype,{showMoreButton:{configurable:!0,enumerable:!0,get:function(){return 0<this.segments.length}}});yP.\u0275fac=function(a){return new (a||yP)};
yP.\u0275cmp=Oc({type:yP,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&&(F(0,"span",0)(1,"a",1),L("click",function(){return b.clickMain.emit(b.label)}),I(2,"mat-icon",2),P(3),H(),O(4,SHa,6,2,"ng-container",3),H());a&2&&(z(1),xf("square-right",b.showMoreButton),of("href",b.href||void 0,Ud),z(1),E("svgIcon",b.icon),z(1),Lf(" ",b.label," "),z(1),E("ngIf",b.showMoreButton))},dependencies:[Qw,Rw,HB,QA,RA,dD,bD,cD],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 Ync=[yP],zP=function(){};zP.\u0275fac=function(a){return new (a||zP)};zP.\u0275mod=Qc({type:zP});zP.\u0275inj=zc({imports:[OG,ED,eD,fE]});var AP=function(){};AP.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};AP.\u0275fac=function(a){return new (a||AP)};
AP.\u0275cmp=Oc({type:AP,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&&(F(0,"section",0)(1,"button",1),L("click",function(){return b.onPressBack()}),I(2,"mat-icon",2),H()())},dependencies:[HB,QA,lD],styles:[".button-bar[_ngcontent-%COMP%] {\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var BP=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 kw;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=gv(function(e){d.widthChanged.emit(e);d.events.sidebarWidthChanged.next(e)},400);this.trackKeyboardResizing=gv(function(){Ym(ao.SIDEBAR,"resizeKeyboard")},2E3)};BP.prototype.ngOnInit=function(){var a=this;this.ngZone.runOutsideAngular(function(){document.addEventListener("mousemove",a.onMousemove)});document.addEventListener("mouseup",this.onMouseup,!0)};
BP.prototype.ngOnDestroy=function(){document.removeEventListener("mousemove",this.onMousemove);document.removeEventListener("mouseup",this.onMouseup,!0)};var Znc=function(a,b){var c=a.width+b;c<a.minSnapWidth&&(c=0>b?0:a.minSnapWidth);a.setWidth(c);a.trackKeyboardResizing()};BP.prototype.toggle=function(){this.setWidth(this.isClosed?this.lastOpenPosition:0)};
BP.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)};
sh.Object.defineProperties(BP.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}}});BP.\u0275fac=function(a){return new (a||BP)(B(AI,2),B(eH),B(df))};
BP.\u0275cmp=Oc({type:BP,selectors:[["b-resizable-sidebar"]],hostVars:2,hostBindings:function(a,b){a&2&&yf(b.direction)},inputs:{minWidth:"minWidth",disableToggleBtn:"disableToggleBtn",hideToggleBtnOnOpen:"hideToggleBtnOnOpen",direction:"direction",size:"size"},outputs:{widthChanged:"widthChanged"},features:[Of([AI])],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&&(Ff(),F(0,"div",0)(1,"div",1),Gf(2),H(),F(3,"div",2),L("mousedown",function(c){return b.startDragging(c.pageX)})("keyup.arrowleft",
function(){return Znc(b,-10)})("keyup.arrowright",function(){return Znc(b,10)})("keyup.space",function(){return b.toggle()})("keyup.enter",function(){return b.toggle()})("dblclick",function(){return b.toggle()}),H()(),O(4,THa,2,6,"button",3));a&2&&(wf("width",b.width+"px"),xf("isDragging",b.isDragging)("isClosed",b.isClosed),E("ngClass",b.direction),z(1),wf("width",b.lastOpenPosition+"px"),z(2),of("aria-valuenow",b.width)("aria-valuetext",b.width+" pixels"),z(1),E("ngIf",!b.disableToggleBtn&&!(b.hideToggleBtnOnOpen&&
!b.isClosed)))},dependencies:[Pw,Rw,HB,QA,lD,Nz],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 $nc=new ad("intersectionObserverFactory",{factory:function(){return function(a,b){return new IntersectionObserver(a,b)}}}),aoc=new ad("isScrolledOnScreen",{factory:function(){return{fully:UHa,partially:VHa}}}),CP=function(a,b){this.intersectionObserverBuilder=a;this.isScrolledOnScreen=b};CP.prototype.getObservable=function(a,b){b=void 0===b?!1:b;return null!=window.IntersectionObserver?WHa(a,this.intersectionObserverBuilder,this.isScrolledOnScreen,b):XHa(a,this.isScrolledOnScreen,b)};
var boc=function(a,b){var c={durationOnScreenMs:5E3},d=void 0===c?{}:c;c=void 0===d.emitOnPartial?!1:d.emitOnPartial;var e=void 0===d.durationOnScreenMs?0:d.durationOnScreenMs;d={cumulativeTime:0,wasPreviouslyOnScreen:!1,lastTimestamp:Date.now()};return a.getObservable(b,c).pipe(Te(function(g,h){return{cumulativeTime:g.cumulativeTime+(g.wasPreviouslyOnScreen?Date.now()-g.lastTimestamp:0),wasPreviouslyOnScreen:h,lastTimestamp:Date.now()}},d),$e(function(g){if(0===e&&g.wasPreviouslyOnScreen)return(0,D.of)(void 0);
var h=e-g.cumulativeTime;return 0>h?(0,D.of)(void 0):g.wasPreviouslyOnScreen?(0,D.of)(void 0).pipe(Me(h)):D.NEVER}),C(function(){}),Oe())};CP.\u0275fac=function(a){return new (a||CP)(t($nc),t(aoc))};CP.\u0275prov=yc({token:CP,factory:CP.\u0275fac,providedIn:"root"});[].concat(cd(Ync),[BP,UO]);var DP=function(){};DP.\u0275fac=function(a){return new (a||DP)};DP.\u0275mod=Qc({type:DP});DP.\u0275inj=zc({imports:[OG,ED,fE,Tz,zP]});var EP=function(){};EP.\u0275fac=function(a){return new (a||EP)};EP.\u0275mod=Qc({type:EP});EP.\u0275inj=zc({imports:[uA,hA,lz,YO,hA,YO]});var coc=Tg("transformPanelWrap",[Xg("* => void",Zg("@transformPanel",[Yg()]))]),doc=Tg("transformPanel",[Wg("void",Vg({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Wg("showing",Vg({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Wg("showing-multiple",Vg({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Xg("void => *",Ug("120ms cubic-bezier(0, 0, 0.2, 1)")),Xg("* => void",Ug("100ms 25ms linear",Vg({opacity:0})))]);var eoc=["trigger"],foc=["panel"],goc=0,hoc=new ad("mat-select-scroll-strategy"),ioc=new ad("MAT_SELECT_CONFIG"),joc={provide:hoc,deps:[dA],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},koc=new ad("MatSelectTrigger"),loc=uh(wh(vh(Eoa(function(a,b,c,d,e){this._elementRef=a;this._defaultErrorStateMatcher=b;this._parentForm=c;this._parentFormGroup=d;this.ngControl=e;this.stateChanges=new D.Subject})))),FP=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M){var Q=loc.call(this,
e,d,h,l,v)||this;Q._viewportRuler=a;Q._changeDetectorRef=b;Q._ngZone=c;Q._dir=g;Q._parentFormField=q;Q._liveAnnouncer=G;Q._defaultOptions=M;Q._panelOpen=!1;Q._compareWith=function(ja,Aa){return ja===Aa};Q._uid="mat-select-"+goc++;Q._triggerAriaLabelledBy=null;Q._destroy=new D.Subject;Q._onChange=function(){};Q._onTouched=function(){};Q._valueId="mat-select-value-"+goc++;Q._panelDoneAnimatingStream=new D.Subject;var Y;Q._overlayPanelClass=(null==(Y=Q._defaultOptions)?void 0:Y.overlayPanelClass)||"";
Q._focused=!1;Q.controlType="mat-select";Q._multiple=!1;var W,ia;Q._disableOptionCentering=null!=(ia=null==(W=Q._defaultOptions)?void 0:W.disableOptionCentering)?ia:!1;Q.ariaLabel="";Q.optionSelectionChanges=(0,D.defer)(function(){var ja=Q.options;return ja?ja.changes.pipe(Ze(ja),$e(function(){return D.merge.apply(null,cd(ja.map(function(Aa){return Aa.onSelectionChange})))})):Q._ngZone.onStable.pipe(Oe(),$e(function(){return Q.optionSelectionChanges}))});Q.openedChange=new kw;Q._openedStream=Q.openedChange.pipe(Ge(function(ja){return ja}),
C(function(){}));Q._closedStream=Q.openedChange.pipe(Ge(function(ja){return!ja}),C(function(){}));Q.selectionChange=new kw;Q.valueChange=new kw;Q._trackedModal=null;Q.ngControl&&(Q.ngControl.valueAccessor=Q);null!=(null==M?void 0:M.typeaheadDebounceInterval)&&(Q._typeaheadDebounceInterval=M.typeaheadDebounceInterval);Q._scrollStrategyFactory=A;Q._scrollStrategy=Q._scrollStrategyFactory();Q.tabIndex=parseInt(x)||0;Q.id=Q.id;return Q};T(FP,loc);f=FP.prototype;
f.ngOnInit=function(){var a=this;this._selectionModel=new Oz(this.multiple);this.stateChanges.next();this._panelDoneAnimatingStream.pipe(Ne(),af(this._destroy)).subscribe(function(){return a._panelDoneAnimating(a.panelOpen)})};
f.ngAfterContentInit=function(){var a=this;this._initKeyManager();this._selectionModel.changed.pipe(af(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(Ze(null),af(this._destroy)).subscribe(function(){a._resetOptions();a._initializeSelection()})};
f.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())};
f.ngOnChanges=function(a){(a.disabled||a.userAriaDescribedBy)&&this.stateChanges.next();a.typeaheadDebounceInterval&&this._keyManager&&eWb(this._keyManager,this._typeaheadDebounceInterval)};f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._destroy.next();this._destroy.complete();this.stateChanges.complete();this._clearFromModal()};f.toggle=function(){this.panelOpen?this.close():this.open()};
f.open=function(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,xz(this._keyManager,null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())};f._applyModalPanelOwnership=function(){var a=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(a){var b=this.id+"-panel";this._trackedModal&&ph(this._trackedModal,"aria-owns",b);toa(a,"aria-owns",b);this._trackedModal=a}};
f._clearFromModal=function(){this._trackedModal&&(ph(this._trackedModal,"aria-owns",this.id+"-panel"),this._trackedModal=null)};f.close=function(){this._panelOpen&&(this._panelOpen=!1,xz(this._keyManager,this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())};f.writeValue=function(a){this._assignValue(a)};f.registerOnChange=function(a){this._onChange=a};f.registerOnTouched=function(a){this._onTouched=a};
f.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck();this.stateChanges.next()};f._isRtl=function(){return this._dir?"rtl"===this._dir.value:!1};f._handleKeydown=function(a){this.disabled||(this.panelOpen?this._handleOpenKeydown(a):this._handleClosedKeydown(a))};
f._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||Jg(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))};
f._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||Jg(a))if(!e&&this._multiple&&65===c&&a.ctrlKey){a.preventDefault();var g=this.options.some(function(h){return!h.disabled&&!h.selected});this.options.forEach(function(h){h.disabled||(g?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()};f._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())};f._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())};
f._onAttached=function(){var a=this;this._overlayDir.positionChange.pipe(Oe()).subscribe(function(){a._changeDetectorRef.detectChanges();a._positioningSettled()})};f._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""};f._initializeSelection=function(){var a=this;Promise.resolve().then(function(){a.ngControl&&(a._value=a.ngControl.value);a._setSelectionByValue(a._value);a.stateChanges.next()})};
f._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))?zz(this._keyManager,a):this.panelOpen||zz(this._keyManager,-1);this._changeDetectorRef.markForCheck()};
f._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};f._assignValue=function(a){return a!==this._value||this._multiple&&Array.isArray(a)?(this.options&&this._setSelectionByValue(a),this._value=a,!0):!1};f._skipPredicate=function(a){return a.disabled};
f._initKeyManager=function(){var a=this;this._keyManager=uz(dWb(fWb(yz(xz(wz(eWb(new Az(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()})};f._resetOptions=function(){var a=this,b=(0,D.merge)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(af(b)).subscribe(function(c){a._onSelect(c.source,c.isUserInput);c.isUserInput&&!a.multiple&&a._panelOpen&&(a.close(),a.focus())});D.merge.apply(null,cd(this.options.map(function(c){return c._stateChanges}))).pipe(af(b)).subscribe(function(){a._changeDetectorRef.detectChanges();a.stateChanges.next()})};
f._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()};
f._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()}};f._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()};
f._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])};f._canOpen=function(){var a;return!this._panelOpen&&!this.disabled&&0<(null==(a=this.options)?void 0:a.length)};f.focus=function(a){this._elementRef.nativeElement.focus(a)};
f._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};f._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null};
f._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};f._panelDoneAnimating=function(a){this.openedChange.emit(a)};f.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};
f.onContainerClick=function(){this.focus();this.open()};
sh.Object.defineProperties(FP.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:tTb(b))?d:!1},set:function(a){this._required=Fg(a);
this.stateChanges.next()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=Fg(a)}},disableOptionCentering:{configurable:!0,enumerable:!0,get:function(){return this._disableOptionCentering},set:function(a){this._disableOptionCentering=Fg(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=Ig(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}}});FP.\u0275fac=function(a){return new (a||FP)(B(Qz),B(Kw),B(df),B(nA),B(Dd),B(Cz,8),B(yx,8),B(Hx,8),B(pB,8),B(rx,10),wd("tabindex"),B(hoc),B(mz),B(ioc,8))};
FP.\u0275dir=Sc({type:FP,viewQuery:function(a,b){a&1&&(bg(eoc,5),bg(foc,5),bg(fA,5));if(a&2){var c;ag(c=dg())&&(b.trigger=c.first);ag(c=dg())&&(b.panel=c.first);ag(c=dg())&&(b._overlayDir=c.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby",
"ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[kf,gd]});var moc=[[["mat-select-trigger"]],"*"],noc=function(a,b){this.source=a;this.value=b},GP=function(){};GP.\u0275fac=function(a){return new (a||GP)};GP.\u0275dir=Sc({type:GP,selectors:[["mat-select-trigger"]],features:[Of([{provide:koc,useExisting:GP}])]});
var HP=function(){var a=FP.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};T(HP,FP);HP.\u0275dir=FP.\u0275dir;f=HP.prototype;f._calculateOverlayScroll=function(a,b,c){var d=this._getItemHeight();return Math.min(Math.max(0,d*a-b+d/2),c)};
f.ngOnInit=function(){var a=this;FP.prototype.ngOnInit.call(this);this._viewportRuler.change().pipe(af(this._destroy)).subscribe(function(){a.panelOpen&&(a._triggerRect=a.trigger.nativeElement.getBoundingClientRect(),a._changeDetectorRef.markForCheck())})};
f.open=function(){var a=this;FP.prototype._canOpen.call(this)&&(FP.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(Oe()).subscribe(function(){a._triggerFontSize&&a._overlayDir.overlayRef&&a._overlayDir.overlayRef.overlayElement&&(a._overlayDir.overlayRef.overlayElement.style.fontSize=a._triggerFontSize+
"px")}))};f._scrollOptionIntoView=function(a){var b=Joa(a,this.options,this.optionGroups),c=this._getItemHeight();this.panel.nativeElement.scrollTop=0===a&&1===b?0:Koa((a+b)*c,c,this.panel.nativeElement.scrollTop,256)};f._positioningSettled=function(){this._calculateOverlayOffsetX();this.panel.nativeElement.scrollTop=this._scrollTop};
f._panelDoneAnimating=function(a){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck());FP.prototype._panelDoneAnimating.call(this,a)};f._getChangeEvent=function(a){return new noc(this,a)};f._getOverlayMinWidth=function(){var a;return null==(a=this._triggerRect)?void 0:a.width};
f._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 g=-(a.left+e-(c?d:0));a=a.right+e-b.width+(c?0:d);0<g?e+=g+8:0<a&&(e-=a+8);this._overlayDir.offsetX=Math.round(e);this._overlayDir.overlayRef.updatePosition()};
f._calculateOverlayOffsetY=function(a,b,c){var d=this._getItemHeight(),e=(d-this._triggerRect.height)/2,g=Math.floor(256/d);return this.disableOptionCentering?0:Math.round(-1*(0===this._scrollTop?a*d:this._scrollTop===c?(a-(this._getItemCount()-g))*d+(d-(this._getItemCount()*d-256)%d):b-d/2)-e)};
f._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()};
f._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")};f._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")};
f._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+=Joa(b,this.options,this.optionGroups);c/=2;this._scrollTop=this._calculateOverlayScroll(b,c,a);this._offsetY=this._calculateOverlayOffsetY(b,c,a);this._checkOverlayWithinViewport(a)};
f._getOriginBasedOnOption=function(){var a=this._getItemHeight();return"50% "+(Math.abs(this._offsetY)-(a-this._triggerRect.height)/2+a/2)+"px 0px"};f._getItemHeight=function(){return 3*this._triggerFontSize};f._getItemCount=function(){return this.options.length+this.optionGroups.length};HP.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(HP)))(b||HP)}}();
HP.\u0275cmp=Oc({type:HP,selectors:[["mat-select"]],contentQueries:function(a,b,c){a&1&&(cg(c,koc,5),cg(c,SA,5),cg(c,MWb,5));if(a&2){var d;ag(d=dg())&&(b.customTrigger=d.first);ag(d=dg())&&(b.options=d);ag(d=dg())&&(b.optionGroups=d)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(a,b){a&1&&L("keydown",function(c){return b._handleKeydown(c)})("focus",function(){return b._onFocus()})("blur",function(){return b._onBlur()});
a&2&&(of("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()),xf("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:[Of([{provide:oB,useExisting:HP},{provide:LWb,useExisting:HP}]),kf],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&&(Ff(moc),F(0,"div",0,1),L("click",function(){return b.toggle()}),F(3,"div",2),O(4,YHa,2,1,"span",3),O(5,aIa,3,2,"span",4),H(),F(6,"div",5),I(7,"div",6),H()(),O(8,bIa,4,14,"ng-template",7),L("backdropClick",function(){return b.close()})("attach",function(){return b._onAttached()})("detach",
function(){return b.close()}));if(a&2){var c=Kf(1);of("aria-owns",b.panelOpen?b.id+"-panel":null);z(3);E("ngSwitch",b.empty);of("id",b._valueId);z(1);E("ngSwitchCase",!0);z(1);E("ngSwitchCase",!1);z(3);E("cdkConnectedOverlayPanelClass",b._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",b._scrollStrategy)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.panelOpen)("cdkConnectedOverlayPositions",b._positions)("cdkConnectedOverlayMinWidth",b._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",
b._offsetY)}},dependencies:[Pw,Sw,Tw,Uw,fA,eA],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:[coc,doc]},changeDetection:0});var IP=function(){};IP.\u0275fac=function(a){return new (a||IP)};IP.\u0275mod=Qc({type:IP});IP.\u0275inj=zc({providers:[joc],imports:[ex,gA,TA,hA,Tz,vB,TA,hA]});var JP=function(){};JP.\u0275fac=function(a){return new (a||JP)};JP.\u0275mod=Qc({type:JP});JP.\u0275inj=zc({imports:[EP,UG,OG,gA,TO,DP,IP,VN,ED,fE,pO,xP,gO]});var KP=function(){};KP.prototype.transform=function(a,b){switch(a){case "EXTERNAL_PARTNER":return b?"Partners":"Visible to Partners";case "EXTERNAL_PUBLIC":return b?"Public":"Visible to Public";default:return""}};KP.\u0275fac=function(a){return new (a||KP)};KP.\u0275pipe=Uc({name:"toAccessLevelLabel",type:KP,pure:!0});var ooc=Vg({opacity:"0"}),poc=Ge(function(a){return a}),qoc=(0,D.pipe)(Ne(),poc,Se()),roc=new ad("xap-bubble UX style"),LP=function(a){var b=this;this.activity=new D.Subject;this.openedSubject=new D.BehaviorSubject(!1);this.destroy=new D.ReplaySubject;this.overlayPositions=[];this.overlayPanelClass="";this.hoverDelayMs=50;this.beforeShow=this.beforeOpened=new kw;this.onOpened=new kw;this.bubbleStyle=a||"xap-bubble-md1";this.opened=this.openedSubject.pipe(Cia(function(){return b.activity.pipe(Le(b.hoverDelayMs))}));
a=af(this.destroy);this.opened.pipe(qoc,a).subscribe(this.onOpened);this.openedSubject.pipe(poc,sja(function(){return b.opened.pipe(Ge(function(c){return!c}))}),a).subscribe(function(){b.beforeOpened.emit()})};LP.prototype.ngOnDestroy=function(){this.destroy.next();this.destroy.complete()};LP.prototype.toggle=function(a){this.openedSubject.next(a);this.activity.next()};LP.\u0275fac=function(a){return new (a||LP)(B(roc,8))};
LP.\u0275cmp=Oc({type:LP,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&&(Ff(),F(0,"span",0,1),L("mouseenter",function(){return b.toggle(!0)})("mouseleave",function(){return b.toggle(!1)})("mousemove",function(){b.activity.next()}),Gf(2),H(),O(3,dIa,2,3,"ng-template",2),R(4,"async"));if(a&2){var c=Kf(1);E("ngClass",b.bubbleStyle);
z(3);E("cdkConnectedOverlayPanelClass",b.overlayPanelClass)("cdkConnectedOverlayPositions",b.overlayPositions)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",S(4,5,b.opened))}},dependencies:[Pw,Ww,fA,eA,Xw],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:[Tg("fade",[Xg(":enter",[ooc,Ug("225ms")]),Xg(":leave",[Ug("195ms",ooc)])])]}});var MP=function(a,b){this.activeSession=a;this.documentationLinks=b;this.labelOnlyMode=this.compactMode=!1;this.bubbleText=this.chipClass=""};
MP.prototype.ngOnChanges=function(){if(this.accessLevel)switch(this.accessLevel){case "EXTERNAL_PARTNER":this.chipClass="partner";this.bubbleText=' Components and issues designated as "Visible to Partners" can be shared with specific external partners listed in the component\'s access control settings.';break;case "EXTERNAL_PUBLIC":this.chipClass="public";this.bubbleText='Components and issues designated as "Visible to Public" can be \n              shared with any external user.';break;default:this.bubbleText=
this.chipClass=""}};MP.\u0275fac=function(a){return new (a||MP)(B(Bs),B(OJ))};
MP.\u0275cmp=Oc({type:MP,selectors:[["b-access-level-indicator"]],inputs:{accessLevel:"accessLevel",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode"},features:[gd],decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["withBubble",""],[1,"chippy","rounded",3,"ngClass"],[3,"panelTemplate"],[1,"chippy","rounded","nowrap",3,"ngClass"],["popup",""],[1,"bubble"],["target","_blank",3,"href"]],template:function(a,b){a&1&&O(0,hIa,4,2,"ng-container",0);if(a&2){if(a=b.accessLevel)a=b.activeSession.isInternalSession()?
"EXTERNAL_PARTNER"===b.accessLevel||"EXTERNAL_PUBLIC"===b.accessLevel:C9b(b.activeSession)?"EXTERNAL_PUBLIC"===b.accessLevel:!1;E("ngIf",a)}},dependencies:[Pw,Rw,LP,KP],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 soc={UNKNOWN:"Unknown",TEXT:"Text",DATE:"Date",ENUM:"Enum",NUMERIC:"Numeric",REPEATED_TEXT:"Repeated Text",REPEATED_DATE:"Repeated Date",REPEATED_ENUM:"Repeated Enum",REPEATED_NUMERIC:"Repeated Numeric"},NP=function(){};NP.prototype.transform=function(a){return soc[a]};NP.\u0275fac=function(a){return new (a||NP)};NP.\u0275pipe=Uc({name:"toCustomFieldTypeDisplayValue",type:NP,pure:!0});var OP=function(){};OP.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+"@"};OP.\u0275fac=function(a){return new (a||OP)};OP.\u0275pipe=Uc({name:"shortenEmail",type:OP,pure:!0});var PP=function(){};PP.\u0275fac=function(a){return new (a||PP)};PP.\u0275mod=Qc({type:PP});PP.\u0275inj=zc({imports:[OG]});var QP=function(){};QP.\u0275fac=function(a){return new (a||QP)};QP.\u0275mod=Qc({type:QP});QP.\u0275inj=zc({imports:[ex,gA]});var RP=function(){};RP.\u0275fac=function(a){return new (a||RP)};RP.\u0275mod=Qc({type:RP});RP.\u0275inj=zc({imports:[OG,PP,QP]});var SP=function(a,b,c,d){this.activeSession=a;this.issueApi=b;this.analytics=c;this.errorHandler=d;this.onCc=new kw};SP.prototype.ngOnInit=function(){};
SP.prototype.toggle=function(){var a=this;this.analytics.trackEvent("issueCard","click","cc "+(this.ccState?"REMOVE":"ADD"));this.onCc.emit(!this.ccState);if(this.ccState)this.ccState=!1,this.issueApi.unCcUser(this.issueId).then(function(){}).catch(function(c){a.ccState=!0;a.errorHandler.errorHandler(null,c)});else{this.ccState=!0;var b={issueId:this.issueId,actions:[{fieldName:"ccs",value:this.activeSession.getUserEmail(),actionType:"ADD"}]};this.issueApi.updateIssue(this.issueId,b).then(function(){}).catch(function(c){a.ccState=
!1;a.errorHandler.errorHandler(null,c)})}};SP.\u0275fac=function(a){return new (a||SP)(B(Bs),B(GF),B(EI),B(aH))};
SP.\u0275cmp=Oc({type:SP,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&&(F(0,"button",0),L("click",function(){return b.toggle()}),O(1,iIa,2,0,"ng-container",1),P(2,"CC me\n"),H());a&2&&(z(1),E("ngIf",b.ccState))},dependencies:[Rw,QA],encapsulation:2});var TP=function(a,b){rF.call(this);this.errorHandler=a;this.issueFridge=b;this.upvoted=!1;this.voteCount=0;this.onVote=new kw;this.tooltip="Indicate that you are affected by this issue";this.isSaving=!1};T(TP,rF);TP.\u0275dir=rF.\u0275dir;
TP.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(Oe(),af(this.destroyed$)).subscribe(function(){a.isSaving=!1},function(c){a.isSaving=!1;a.errorHandler.errorHandler(null,c);a.upvoted=!a.upvoted;a.voteCount-=b})}};TP.\u0275fac=function(a){return new (a||TP)(B(aH),B(JI))};
TP.\u0275cmp=Oc({type:TP,selectors:[["b-app-vote-button"]],hostVars:2,hostBindings:function(a,b){a&2&&xf("no-votes",0>=b.voteCount)},inputs:{issueId:"issueId",upvoted:"upvoted",voteCount:"voteCount"},outputs:{onVote:"onVote"},features:[kf],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&&(F(0,"button",0),L("click",function(){return b.onClick()}),I(1,"mat-icon",1),F(2,"output",
2),P(3),H()());a&2&&(E("matTooltip",b.upvoted?"Remove vote: I am not impacted":"Vote: I am impacted"),of("aria-pressed",b.upvoted)("aria-label","Vote count "+b.voteCount),z(2),Hf("title","",b.voteCount," votes on this issue"),z(1),Lf(" ",9999<b.voteCount?"9999+":b.voteCount," "))},dependencies:[HB,QA,lD],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 wIa=function(){return[]},UP=function(a,b,c,d,e,g,h){rF.call(this);var l=this;this.issuesApi=a;this.cdr=b;this.activeSession=c;this.analytics=d;this.relationshipService=e;this.issueFridge=g;this.butterBar=h;this.STATUS_JS_FULL_TEXT=xl;this.ISSUE_PRIORITY_TEXT_JS=A$b;this.ISSUE_PRIORITY_ENUM=H6b;this.providedIssueId$=new D.ReplaySubject(1);this.issueFetchResponse$=this.providedIssueId$.pipe($e(function(q){return l.issuesApi.getIssue(q)}));this.editIssue=em;this.FormattingMode=D6b;this.init=new D.ReplaySubject(1)};
T(UP,rF);UP.\u0275dir=rF.\u0275dir;UP.prototype.ngOnInit=function(){var a=this;this.providedIssueId$.next(this.issueId);this.issueFetchResponse$.pipe(af(this.destroyed$)).subscribe(function(b){a.issue=b.issue;a.firstEvent=b.firstEvent;a.cdr.markForCheck();a.init.next()})};UP.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};
UP.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 vIa=function(a,b){return mi(b).includes(a.activeSession.getUserEmail())},qIa=function(a,b){var c;return pe(function(d){if(1==d.nextAddress)return c=a.issueId,lG(a.issueFridge,b,function(e){var g=e.parentIssueIds.indexOf(c);0>g||(e.parentIssueIds.splice(g,1),Object.assign({},e))}),qe(d,2,3),d.yield((0,D.firstValueFrom)(a.relationshipService.delete(c,1,b)),3);if(2!=d.nextAddress)return re(d),a.issueFridge.poke(b),se(d,0);te(d);ZG(a.butterBar,"Error removing the parent issue.");return d.jumpTo(3)})};
UP.\u0275fac=function(a){return new (a||UP)(B(HF),B(AI,2),B(Bs),B(EI),B(WF),B(JI),B(XG))};
UP.\u0275cmp=Oc({type:UP,selectors:[["b-issue-card"]],inputs:{issueId:"issueId",location:"location",childContextId:"childContextId"},outputs:{init:"init"},features:[Of([AI]),kf],decls:2,vars:1,consts:[["role","dialog","aria-label","Issue Hovercard",1,"onedev-hovercard-content"],[4,"ngIf"],[1,"bv2-hovercard-wide"],[3,"href"],[1,"bv2-issue-card-title"],[1,"issue-card-id-snippets"],[3,"labelOnlyMode","accessLevel"],[1,"priority-status"],[1,"bv2-priority",3,"ngClass"],[3,"ngSwitch",4,"ngIf"],[1,"issue-card-buttons",
"margin-y"],[3,"issueId","ccState","onCc"],["class","bv2-issue-card-comment",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"model","hovercardEnabled"],[3,"issueId","voteCount","upvoted"],["mat-button","","matTooltip","Remove the parent/child relationship with this issue",1,"gmat-button","medium",3,"click"],["mode","date",1,"float-right",3,"timestamp"],[1,"bv2-issue-card-comment"],[3,"issueId","issueAccessLevel","formattingMode","note"]],template:function(a,b){a&1&&(F(0,"div",
0),O(1,xIa,23,16,"ng-container",1),H());a&2&&(z(1),E("ngIf",b.issue&&b.issue.snapshot[0]))},dependencies:[Pw,Rw,Sw,Tw,Uw,MP,QA,lD,RM,FL,wP,TP,SP],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 VP=function(){};VP.\u0275fac=function(a){return new (a||VP)};VP.\u0275mod=Qc({type:VP});VP.\u0275inj=zc({imports:[nO,OG,DP]});var WP=function(){};WP.prototype.transform=function(a){if(xn(a))return a};WP.\u0275fac=function(a){return new (a||WP)};WP.\u0275pipe=Uc({name:"omitObfuscatedEmail",type:WP,pure:!0});var toc=function(a){this.session=a;this.isNonObfuscatedEmail=xn;this.email="";this.withProfile=!0;this.enableWaldoAvailability=pF(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};toc.\u0275fac=function(a){return new (a||toc)(B(Bs))};
toc.\u0275cmp=Oc({type:toc,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&&(F(0,"span",0),O(1,yIa,1,1,"b-user-image",1),O(2,AIa,6,3,"ng-container",2),O(3,BIa,2,1,"ng-template",null,3,gg),O(5,CIa,2,1,"span",4),H());if(a&2){var c=Kf(4);z(1);E("ngIf",b.withProfile);z(1);E("ngIf",b.isNonObfuscatedEmail(b.email))("ngIfElse",c);z(3);E("ngIf",b.enableWaldoAvailability)}},dependencies:[Rw,Ww,KJ,xL,UK,ZK,zL],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 uoc=0,XP=function(a,b,c){rF.call(this);var d=this;this.teamsService=a;this.session=b;this.principalTypes=c;this.teamId="";this.enableGroupIcon=this.enableSmallChip=!1;this.providedTeamId$=new D.ReplaySubject(1);this.providedUser$=new D.ReplaySubject(1);this.providedEmail$=new D.ReplaySubject(1);this.isNonObfuscatedEmail=xn;this.isGroup=!1;this.fetchedTeam$=this.providedTeamId$.pipe($e(function(e){return aJ(d.teamsService,e)}));this.detailedUserType$=this.providedUser$.pipe(C(function(e){e=e?e&&
e.getUserGaiaStatus?e.getAliasesList():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"}),Ze("NO_DETAILED_TYPE"));this.isTeamMember$=(0,D.combineLatest)([this.providedTeamId$,this.providedEmail$]).pipe($e(function(e){var g=k(e);e=g.next().value;g=g.next().value;return Dec(d.teamsService,
e,g)}),Ze(!1),Ke(function(){return(0,D.of)(!1)}));this.teamUser$=this.fetchedTeam$.pipe(C(function(e){return"Member of "+e.name}));this.groupMembershipType$=(0,D.combineLatest)([this.detailedUserType$,this.isTeamMember$]).pipe(C(function(e){var g=k(e);e=g.next().value;g=g.next().value;if(d.enableExternalAnnotations){if("PUBLIC"===e)return"PUBLIC_USER";if("EXTERNAL"===e)return"PARTNER_USER"}return g?"INTERNAL_TEAM_MEMBER":"INTERNAL_NON_TEAM_MEMBER"}));this.enableExternalAnnotations=pF(this.session,
"enableExternalAnnotations");this.enableQuickAddCollaborators=pF(this.session,"enableQuickAddCollaborators");this.enableWaldoAvailability=pF(this.session,"enableWaldoAvailability")&&this.session.isInternalSession();this.userTypeClass$=this.groupMembershipType$.pipe(C(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(C(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(C(function(e){return e&&"INTERNAL_NON_TEAM_MEMBER"!==e}));this.iconName$=this.groupMembershipType$.pipe(C(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(cf(this.teamUser$),C(function(e){var g=k(e);e=g.next().value;g=g.next().value;if(e&&"INTERNAL_NON_TEAM_MEMBER"!==e){if("INTERNAL_TEAM_MEMBER"===e)return g;if("PARTNER_USER"===e)return"Partner user";if("PUBLIC_USER"===e)return"Public user"}return""}));uoc++};T(XP,rF);XP.\u0275dir=rF.\u0275dir;
XP.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.providedEmail$.subscribe(function(){a.enableGroupIcon&&a.enableQuickAddCollaborators&&mK(a.principalTypes,a.email,!1).then(function(b){a.isGroup="GROUP"===b.principalType})}))};XP.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)};
XP.\u0275fac=function(a){return new (a||XP)(B($I),B(Bs),B(lK))};
XP.\u0275cmp=Oc({type:XP,selectors:[["b-user-membership-chip"]],inputs:{user:"user",email:"email",teamId:"teamId",enableSmallChip:"enableSmallChip",enableGroupIcon:"enableGroupIcon"},features:[kf,gd],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"],
[1,"bv2-profile-avatar",3,"email"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled"],[4,"ngIf","ngIfElse"],["emailDisplay",""],["tabindex","0","role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],[1,"user-chip-name"],[3,"svgIcon","matTooltip"],["coinonly","",3,"user"]],template:function(a,b){a&1&&(F(0,"span",0),R(1,"async"),F(2,"span",0),R(3,"async"),O(4,FIa,4,2,"ng-container",1),O(5,GIa,1,3,"b-user-display-name",2),O(6,KIa,3,2,
"ng-template",null,3,gg),O(8,LIa,3,6,"mat-icon",4),R(9,"async"),H()(),O(10,MIa,2,1,"ng-container",1));if(a&2){var c=Kf(7),d,e;E("ngClass",null!==(d=S(1,7,b.userTypeClass$))&&void 0!==d?d:"");z(2);E("ngClass",null!==(e=S(3,9,b.userChipType$))&&void 0!==e?e:"");z(2);E("ngIf",b.enableSmallChip);z(1);E("ngIf",!b.enableSmallChip)("ngIfElse",c);z(3);E("ngIf",S(9,11,b.shouldShowIcon$));z(2);E("ngIf",b.enableWaldoAvailability&&!b.enableSmallChip)}},dependencies:[Pw,Rw,Ww,HB,KJ,dO,lD,xL,UK,ZK,zL,yL,Xw],styles:[".user-chip-without-icon[_ngcontent-%COMP%]{display:inline-block;height:1.75em;white-space:nowrap}.user-chip-without-icon[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:bold;height:20px;letter-spacing:.2px;line-height:20px}.user-chip-without-icon[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]{align-items:center;display:flex;height:1.75em;line-height:1.75em;padding:0 8px}.user-chip[_ngcontent-%COMP%]{display:inline-block;height:1.75em;white-space:nowrap}.user-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{flex-shrink:0;height:16px;margin-left:3%;padding:0 14px 0 0;position:relative;width:16px}.user-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:bold;height:20px;letter-spacing:.2px;line-height:20px;padding:0 0 0 8px}.team-member-chip[_ngcontent-%COMP%]{background-color:#e8f0fe;background-color:var(--team-member-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.team-member-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1967d2;color:var(--team-member-gfx)}.partner-chip[_ngcontent-%COMP%]{background-color:#ffdeb5;background-color:var(--partner-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.partner-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#202124;color:var(--partner-text)}.partner-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%], .partner-chip[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--partner-text)}.public-chip[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.public-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#202124;color:var(--public-text)}.public-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%], .public-chip[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--public-text)}.user-chip-small[_ngcontent-%COMP%]{display:flex;height:1.25em}.user-chip-small[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{flex-shrink:0;height:11px;padding:0 0 1px 2px;width:11px}.user-chip-small[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px;min-width:0}.user-chip-small[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.12);background-color:var(--user-bg-focus)}.user-chip-small[_ngcontent-%COMP%]   .team-member-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-small[_ngcontent-%COMP%]   .partner-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-small[_ngcontent-%COMP%]   .public-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:normal;height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;letter-spacing:.3px;line-height:16px;padding:0 0 0 2px}[_nghost-%COMP%]{min-width:0}[_nghost-%COMP%]     b-icon{width:12px}[_nghost-%COMP%]     b-icon mat-icon{width:inherit}[_nghost-%COMP%]     b-icon mat-icon svg{width:12px;height:16px}[_nghost-%COMP%]     span.bv2-profile-avatar, [_nghost-%COMP%]     .bv2-profile-avatar .user-avatar{background-size:103%;display:inline-block;height:12px;vertical-align:middle;width:12px}[_nghost-%COMP%]     span.bv2-profile-avatar img, [_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img{background-color:#f1f3f4;background-color:var(--c100);height:12px;width:12px}"],
changeDetection:0});var YP=function(){};YP.\u0275fac=function(a){return new (a||YP)};YP.\u0275mod=Qc({type:YP});YP.\u0275inj=zc({imports:[OG,VP,zO,fE,pO,xP,gO]});var ZP=function(){};ZP.\u0275fac=function(a){return new (a||ZP)};ZP.\u0275mod=Qc({type:ZP});ZP.\u0275inj=zc({imports:[OG,ED,fE]});var $P=function(){};$P.\u0275fac=function(a){return new (a||$P)};$P.\u0275mod=Qc({type:$P});$P.\u0275inj=zc({providers:[{provide:qlc,useValue:UP}],imports:[OG,RP,ED,fE,YP,fO,JP,ZP]});var aQ=function(a){this.issuesApi=a};aQ.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})};aQ.\u0275fac=function(a){return new (a||aQ)(t(GF))};aQ.\u0275prov=yc({token:aQ,factory:aQ.\u0275fac,providedIn:"root"});var voc=["panel"],woc=0,xoc=function(a,b){this.source=a;this.option=b},yoc=uh(function(){}),zoc=new ad("mat-autocomplete-default-options",{providedIn:"root",factory:NIa}),bQ=function(a,b,c,d){var e=yoc.call(this)||this;e._changeDetectorRef=a;e._elementRef=b;e._defaults=c;e._activeOptionChanges=D.Subscription.EMPTY;e.showPanel=!1;e._isOpen=!1;e.displayWith=null;e.optionSelected=new kw;e.opened=new kw;e.closed=new kw;e.optionActivated=new kw;e._classList={};e.id="mat-autocomplete-"+woc++;e.inertGroups=
(null==d?void 0:d.SAFARI)||!1;e._autoActiveFirstOption=!!c.autoActiveFirstOption;e._autoSelectActiveOption=!!c.autoSelectActiveOption;return e};T(bQ,yoc);f=bQ.prototype;f._setColor=function(a){this._color=a;this._setThemeClasses(this._classList)};
f.ngAfterContentInit=function(){var a=this;this._keyManager=uz(vz(new Az(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()};f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._activeOptionChanges.unsubscribe()};f._setScrollTop=function(a){this.panel&&(this.panel.nativeElement.scrollTop=a)};
f._getScrollTop=function(){return this.panel?this.panel.nativeElement.scrollTop:0};f._setVisibility=function(){this.showPanel=!!this.options.length;this._setVisibilityClasses(this._classList);this._changeDetectorRef.markForCheck()};f._emitSelectEvent=function(a){this.optionSelected.emit(new xoc(this,a))};f._getPanelAriaLabelledby=function(a){return this.ariaLabel?null:this.ariaLabelledby?(a?a+" ":"")+this.ariaLabelledby:a};
f._setVisibilityClasses=function(a){a[this._visibleClass]=this.showPanel;a[this._hiddenClass]=!this.showPanel};f._setThemeClasses=function(a){a["mat-primary"]="primary"===this._color;a["mat-warn"]="warn"===this._color;a["mat-accent"]="accent"===this._color};f._skipPredicate=function(a){return a.disabled};
sh.Object.defineProperties(bQ.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=Fg(a)}},autoSelectActiveOption:{configurable:!0,enumerable:!0,get:function(){return this._autoSelectActiveOption},set:function(a){this._autoSelectActiveOption=Fg(a)}},classList:{configurable:!0,enumerable:!0,set:function(a){a&&
a.length?this._classList=Nma(a).reduce(function(b,c){b[c]=!0;return b},{}):this._classList={};this._setVisibilityClasses(this._classList);this._setThemeClasses(this._classList);this._elementRef.nativeElement.className=""}}});bQ.\u0275fac=function(a){return new (a||bQ)(B(Kw),B(Dd),B(zoc),B(Rx))};
bQ.\u0275dir=Sc({type:bQ,viewQuery:function(a,b){a&1&&(bg(Yf,7),bg(voc,5));if(a&2){var c;ag(c=dg())&&(b.template=c.first);ag(c=dg())&&(b.panel=c.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",
optionActivated:"optionActivated"},features:[kf]});var Aoc=new ad("mat-autocomplete-scroll-strategy"),Boc={provide:Aoc,deps:[dA],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},cQ=function(a,b,c,d,e,g,h,l,q,v,x){var A=this;this._element=a;this._overlay=b;this._viewContainerRef=c;this._zone=d;this._changeDetectorRef=e;this._dir=h;this._formField=l;this._document=q;this._viewportRuler=v;this._defaults=x;this._manuallyFloatingLabel=this._autocompleteDisabled=this._componentDestroyed=!1;this._viewportSubscription=D.Subscription.EMPTY;
this._canOpenOnNextFocus=!0;this._closeKeyEventStream=new D.Subject;this._windowBlurHandler=function(){A._canOpenOnNextFocus=A._document.activeElement!==A._element.nativeElement||A.panelOpen};this._onChange=function(){};this._onTouched=function(){};this.position="auto";this.autocompleteAttribute="off";this._overlayAttached=!1;this.optionSelections=(0,D.defer)(function(){var G=A.autocomplete?A.autocomplete.options:null;return G?G.changes.pipe(Ze(G),$e(function(){return D.merge.apply(null,cd(G.map(function(M){return M.onSelectionChange})))})):
A._zone.onStable.pipe(Oe(),$e(function(){return A.optionSelections}))});this._trackedModal=null;this._scrollStrategy=g};cQ.prototype.ngAfterViewInit=function(){var a=this,b=this._getWindow();"undefined"!==typeof b&&this._zone.runOutsideAngular(function(){return b.addEventListener("blur",a._windowBlurHandler)})};cQ.prototype.ngOnChanges=function(a){a.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())};
cQ.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 rnb=function(a){a._resetLabel();a._overlayAttached&&(a.panelOpen&&a._zone.run(function(){a.autocomplete.closed.emit()}),a.autocomplete._isOpen=a._overlayAttached=!1,a._pendingAutoselectedOption=null,a._overlayRef&&a._overlayRef.hasAttached()&&(a._overlayRef.detach(),a._closingActionsSubscription.unsubscribe()),a._componentDestroyed||a._changeDetectorRef.detectChanges())};f=cQ.prototype;f.updatePosition=function(){this._overlayAttached&&this._overlayRef.updatePosition()};
f._getOutsideClickStream=function(){var a=this;return(0,D.merge)((0,D.fromEvent)(this._document,"click"),(0,D.fromEvent)(this._document,"auxclick"),(0,D.fromEvent)(this._document,"touchend")).pipe(Ge(function(b){b=Dg(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)}))};f.writeValue=function(a){var b=this;Promise.resolve(null).then(function(){return b._assignOptionValue(a)})};f.registerOnChange=function(a){this._onChange=a};f.registerOnTouched=function(a){this._onTouched=a};f.setDisabledState=function(a){this._element.nativeElement.disabled=a};
f._handleKeydown=function(a){var b=a.keyCode,c=Jg(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))}};
f._handleInput=function(a){var b=a.target,c=b.value;"number"===b.type&&(c=""==c?null:parseFloat(c));this._previousValue!==c&&(this._previousValue=c,this._pendingAutoselectedOption=null,this._onChange(c),this._canOpen()&&this._document.activeElement===a.target&&(this._attachOverlay(),this._floatLabel()))};f._handleFocus=function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0};
f._handleClick=function(){this._canOpen()&&!this.panelOpen&&(this._attachOverlay(),this._floatLabel())};f._floatLabel=function(a){this._formField&&"auto"===this._formField.floatLabel&&((void 0===a?0:a)?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)};f._resetLabel=function(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)};
f._subscribeToClosingActions=function(){var a=this,b=this._zone.onStable.pipe(Oe()),c=this.autocomplete.options.changes.pipe(bf(function(){return wWb(a._positionStrategy)}),Me(0));return(0,D.merge)(b,c).pipe($e(function(){a._zone.run(function(){var d=a.panelOpen;a._resetActiveItem();a.autocomplete._setVisibility();a._changeDetectorRef.detectChanges();a.panelOpen&&a._overlayRef.updatePosition();d!==a.panelOpen&&(a.panelOpen?a.autocomplete.opened.emit():a.autocomplete.closed.emit())});return a.panelClosingActions}),
Oe()).subscribe(function(d){return a._setValueAndClose(d)})};f._destroyPanel=function(){this._overlayRef&&(rnb(this),this._overlayRef.dispose(),this._overlayRef=null)};f._assignOptionValue=function(a){a=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(a):a;this._updateNativeInputValue(null!=a?a:"")};f._updateNativeInputValue=function(a){this._formField?this._formField._control.value=a:this._element.nativeElement.value=a;this._previousValue=a};
f._setValueAndClose=function(a){if(a=a?a.source:this._pendingAutoselectedOption)this._clearPreviousSelectedOption(a),this._assignOptionValue(a.value),this._onChange(a.value),this.autocomplete._emitSelectEvent(a),this._element.nativeElement.focus();rnb(this)};f._clearPreviousSelectedOption=function(a){this.autocomplete.options.forEach(function(b){b!==a&&b.selected&&b.deselect()})};
f._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 gy(this.autocomplete.template,this._viewContainerRef,{id:null==(c=this._formField)?void 0:c.getLabelId()});this._overlayRef=b=this._overlay.create(this._getOverlayConfig());this._handleOverlayEvents(b);this._viewportSubscription=this._viewportRuler.change().subscribe(function(){a.panelOpen&&b&&b.updateSize({width:a._getPanelWidth()})})}b&&
!b.hasAttached()&&(b.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());c=this.panelOpen;this.autocomplete._setVisibility();this.autocomplete._isOpen=this._overlayAttached=!0;var d;this.autocomplete._setColor(null==(d=this._formField)?void 0:d.color);this._applyModalPanelOwnership();this.panelOpen&&c!==this.panelOpen&&this.autocomplete.opened.emit()};
f._getOverlayConfig=function(){var a,b;return new Wz({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})};f._getOverlayPosition=function(){var a=zWb(aA(cA(this._overlay.position(),this._getConnectedElement()),!1),!1);this._setStrategyPositions(a);return this._positionStrategy=a};
f._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(cd(b),cd(c));Zz(a,b)};
f._getConnectedElement=function(){if(this.connectedTo)var a=this.connectedTo.elementRef;else this._formField?(a=this._formField,a=a._connectionContainerRef||a._elementRef):a=this._element;return a};f._getPanelWidth=function(){return this.autocomplete.panelWidth||this._getHostWidth()};f._getHostWidth=function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width};
f._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)};f._canOpen=function(){var a=this._element.nativeElement;return!a.readOnly&&!a.disabled&&!this._autocompleteDisabled};f._getWindow=function(){var a;return(null==(a=this._document)?void 0:a.defaultView)||window};
f._scrollToOption=function(a){var b=this.autocomplete,c=Joa(a,b.options,b.optionGroups);0===a&&1===c?b._setScrollTop(0):b.panel&&(a=b.options.toArray()[a])&&(a=a._getHostElement(),b._setScrollTop(Koa(a.offsetTop,a.offsetHeight,b._getScrollTop(),b.panel.nativeElement.offsetHeight)))};
f._handleOverlayEvents=function(a){var b=this;a.keydownEvents().subscribe(function(c){if(27===c.keyCode&&!Jg(c)||38===c.keyCode&&Jg(c,"altKey")){if(b._pendingAutoselectedOption){var d;b._updateNativeInputValue(null!=(d=b._valueBeforeAutoSelection)?d:"");b._pendingAutoselectedOption=null}b._closeKeyEventStream.next();b._resetActiveItem();c.stopPropagation();c.preventDefault()}});a.outsidePointerEvents().subscribe()};
f._applyModalPanelOwnership=function(){var a=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(a){var b=this.autocomplete.id;this._trackedModal&&ph(this._trackedModal,"aria-owns",b);toa(a,"aria-owns",b);this._trackedModal=a}};f._clearFromModal=function(){this._trackedModal&&(ph(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)};
sh.Object.defineProperties(cQ.prototype,{autocompleteDisabled:{configurable:!0,enumerable:!0,get:function(){return this._autocompleteDisabled},set:function(a){this._autocompleteDisabled=Fg(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,D.merge)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Ge(function(){return a._overlayAttached})),
this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef._detachments.pipe(Ge(function(){return a._overlayAttached})):(0,D.of)()).pipe(C(function(b){return b instanceof aXb?b:null}))}},activeOption:{configurable:!0,enumerable:!0,get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}});cQ.\u0275fac=function(a){return new (a||cQ)(B(Dd),B(dA),B(Zf),B(df),B(Kw),B(Aoc),B(Cz,8),B(pB,9),B(qh,8),B(Qz),B(zoc,8))};
cQ.\u0275dir=Sc({type:cQ,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[gd]});var Coc={provide:gx,useExisting:Ec(function(){return dQ}),multi:!0},dQ=function(){cQ.apply(this,arguments);this._aboveClass="mat-autocomplete-panel-above"};T(dQ,cQ);dQ.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(dQ)))(b||dQ)}}();
dQ.\u0275dir=Sc({type:dQ,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(a,b){a&1&&L("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&&of("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:[Of([Coc]),kf]});var eQ=function(){var a=bQ.apply(this,arguments)||this;a._visibleClass="mat-autocomplete-visible";a._hiddenClass="mat-autocomplete-hidden";return a};T(eQ,bQ);eQ.\u0275dir=bQ.\u0275dir;eQ.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(eQ)))(b||eQ)}}();
eQ.\u0275cmp=Oc({type:eQ,selectors:[["mat-autocomplete"]],contentQueries:function(a,b,c){a&1&&(cg(c,MWb,5),cg(c,SA,5));if(a&2){var d;ag(d=dg())&&(b.optionGroups=d);ag(d=dg())&&(b.options=d)}},hostAttrs:["ngSkipHydration","",1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[Of([{provide:LWb,useExisting:eQ}]),kf],ngContentSelectors:["*"],decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(a){a&
1&&(Ff(),O(0,OIa,3,4,"ng-template"))},dependencies:[Pw],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 fQ=function(){};fQ.\u0275fac=function(a){return new (a||fQ)};fQ.\u0275mod=Qc({type:fQ});fQ.\u0275inj=zc({providers:[Boc],imports:[gA,TA,hA,ex,Tz,TA,hA]});var gQ=function(a,b,c,d,e,g,h){rF.call(this);var l=this;this.cdr=a;this.paths=b;this.issueFridge=c;this.relatedIssues=d;this.errorHandler=e;this.domSafe=g;this.currentTracker=h;this.STATUS_ICON=F$b;this.entrySelect=new kw;this.selectedIssues=[];this.asyncChoices=[];this.choices=[];this.currentQuery="";this.hasLoadedResults=!0;this.searchingForSelf=!1;this.queryInternal="";this.queryChange=new kw;this.getTextToPutInInputOnSelect=function(){return l.query}};T(gQ,rF);gQ.\u0275dir=rF.\u0275dir;
gQ.prototype.ngOnInit=function(){var a=this;this.queryChange.pipe(Le(250),af(this.destroyed$)).subscribe(function(b){a.doSearch(b)})};gQ.prototype.ngOnChanges=function(a){a.defaultChoices&&(this.choices=[].concat(cd(this.defaultChoices),cd(this.asyncChoices)))};gQ.prototype.selectIssue=function(a){Doc(this,[a])};
var Foc=function(a){var b=a.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});if(Eoc(b))return b;b=a;a.startsWith("b/")?b=a.substring(2):a.startsWith("http://b/")&&(b=a.substring(9));return/[^0-9]/.test(b)?[]:[b]},Eoc=function(a){return!a.some(function(b){return!!/[^0-9]/.test(b)})};gQ.prototype.search=function(a){"string"===typeof a&&(this.query=a)};
gQ.prototype.doSearch=function(a){this.currentQuery=a;this.searchingForSelf=!1;if(""===a)Goc(this);else{var b=Foc(a);1===b.length||1<b.length&&this.allowMultipleIds?(this.lastSearchType="id",Hoc(this,b,a)):(this.lastSearchType="query",this.searchAsync(a))}};
var Goc=function(a){a.choices=a.defaultChoices;a.asyncChoices=[];a.hasLoadedResults=!0;Doc(a,[])},Doc=function(a,b){a.selectedIssues=b;a.entrySelect.emit(a.selectedIssues);var c;null==(c=a.autocomplete)||rnb(c)},Hoc=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,Goc(a)):(a.choices=Ioc(a,b),a.hasLoadedResults=!1,a.issueFridge.watchSet(b).pipe(Oe(),af(a.destroyed$)).subscribe(function(e){if(a.currentQuery===
c){var g=e.reduce(function(h,l){var q=oa(l.snapshot);return h.set(l.issueId,{resourceId:l.issueId,displayText:q.title,status:q.status,relations:[]})},new Map);Daa(b);e=b.map(function(h){return g.get(h)});e.includes(void 0)?a.asyncChoices=[]:a.asyncChoices=e;a.choices=[].concat(cd(a.choices),cd(a.asyncChoices));Doc(a,a.asyncChoices);a.hasLoadedResults=!0;a.cdr.detectChanges()}},function(){a.asyncChoices=[];a.hasLoadedResults=!0;a.cdr.detectChanges()}))};
gQ.prototype.searchAsync=function(a){var b=this;this.choices=Joc(this,a);this.hasLoadedResults=!1;if(Mk(a))this.hasLoadedResults=!0;else{var c=Koc(a,this.defaultChoices),d,e;this.relatedIssues.get({query:c,trackerId:this.currentTracker.getTrackerId(),resourceType:null==(d=this.currentResource)?void 0:d.type,resourceId:ui(null==(e=this.currentResource)?void 0:e.id),nonParallelRequest:!0}).then(function(g){b.currentQuery===a&&(g=g.issueDigests.map(function(h){return{resourceId:h.issueId,displayText:h.title,
status:h.status,relations:[]}}),b.choices=[].concat(cd(b.choices),cd(g)),b.cdr.detectChanges())},function(g){b.errorHandler.errorHandler(null,g)}).finally(function(){b.hasLoadedResults=!0})}};var Ioc=function(a,b){return a.defaultChoices.filter(function(c){return c.resourceId.toString().startsWith(b[0])})},Joc=function(a,b){return Mk(b)?a.defaultChoices:a.defaultChoices.filter(function(c){return c.displayText.toLowerCase().startsWith(b.toLowerCase())})};gQ.prototype.getIssueLink=function(a){return this.paths.editIssue(a.resourceId)};
var UIa=function(a){return a.relations.map(function(b){return Loc.get(b)}).filter(function(b){return!!b}).join("/")},Koc=function(a,b){if(0===b.length)return a;b=b.map(function(c){return c.resourceId}).join("|");return a+" -id:("+b+")"};gQ.prototype.onEnter=function(a){var b;(null==(b=this.autocomplete)?0:b.panelOpen)&&a.stopPropagation()};sh.Object.defineProperties(gQ.prototype,{query:{configurable:!0,enumerable:!0,get:function(){return this.queryInternal},set:function(a){this.queryInternal=a;this.queryChange.emit(a)}}});
gQ.\u0275fac=function(a){return new (a||gQ)(B(AI,2),B(QH),B(JI),B(aQ),B(aH),B(vL),B(PL))};
gQ.\u0275cmp=Oc({type:gQ,selectors:[["b-simple-issue-picker"]],viewQuery:function(a,b){a&1&&bg(dQ,5);if(a&2){var c;ag(c=dg())&&(b.autocomplete=c.first)}},inputs:{defaultChoices:"defaultChoices",currentResource:"currentResource",allowMultipleIds:"allowMultipleIds"},outputs:{entrySelect:"entrySelect",queryChange:"queryChange"},features:[Of([aQ,AI]),kf,gd],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&&(F(0,"div",0),O(1,PIa,3,0,"div",1),F(2,"div",2)(3,"input",3),L("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))}),H(),F(4,"mat-autocomplete",4,5),L("optionActivated",function(d){b.activeChoice=null==d.option?null:d.option.value})("optionSelected",function(d){return b.selectIssue(d.option.value)}),O(6,QIa,3,1,"mat-option",6),O(7,RIa,2,0,"mat-option",7),O(8,VIa,14,13,"mat-option",8),H()()());if(a&2){var c=Kf(5);z(1);E("ngIf",b.searchingForSelf);z(2);E("ngModel",b.query)("matAutocomplete",
c);of("aria-label",0<b.selectedIssues.length?"issue "+b.selectedIssues[0].resourceId+" selected. Change.":"Choose issue");z(1);E("displayWith",b.getTextToPutInInputOnSelect);z(2);E("ngIf",""!==b.query&&!b.hasLoadedResults);z(1);E("ngIf",""!==b.query&&!!b.hasLoadedResults&&0===b.choices.length);z(1);E("ngForOf",b.choices)}},dependencies:[Qw,Rw,HB,wg,tx,Ax,UK,VK,ZK,WK,UP,eQ,dQ,SA,RA,WM,GK],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 Loc=new Map([["BLOCKED_BY","blocked"],["BLOCKING","blocking"],["DUPLICATE","duplicate"],["CANONICAL","canonical"]]);var hQ=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+"+":""},ZIa=function(a){if(""!==a.queryRestriction&&null!=a.issuePicker){var b=a.issuePicker.query;a.issuePicker.query=a.isQueryRestricted?b.replace(new RegExp(zn(a.queryRestriction)+" ?"),""):a.queryRestriction+
" "+b}};f=hQ.prototype;f.onQueryChange=function(a){this.isQueryRestricted=""!==this.queryRestriction&&a.includes(this.queryRestriction)};f.onEnter=function(){if(0!==this.selectedIssues.length)this.onPressConfirm()};f.onEscape=function(){this.dialogRef.close()};f.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)};f.onPressCancel=function(){this.dialogRef.close()};
hQ.\u0275fac=function(a){return new (a||hQ)(B(bB),B(dB),B(rK))};
hQ.\u0275cmp=Oc({type:hQ,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&bg(gQ,5);if(a&2){var c;ag(c=dg())&&(b.issuePicker=c.first)}},hostBindings:function(a,b){a&1&&L("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&&(F(0,"h2",0),P(1),H(),F(2,"div",1)(3,"div",2),O(4,XIa,2,1,"div",3),O(5,YIa,6,2,"div",3),H(),F(6,"div",4)(7,"div",5),O(8,$Ia,2,2,"div",6),F(9,"b-simple-issue-picker",
7),L("keydown.enter",function(){return b.onEnter()})("entrySelect",function(c){b.selectedIssues=c})("queryChange",function(c){return b.onQueryChange(c)}),H()()()(),F(10,"div",8)(11,"button",9),L("click",function(){return b.onPressCancel()}),P(12," Cancel "),H(),F(13,"button",10),L("click",function(){return b.onPressConfirm()}),P(14," Confirm "),H()());a&2&&(z(1),Lf(" ",b.data.title,"\n"),z(3),E("ngIf",1<b.selectedIssues.length),z(1),E("ngIf",1===b.selectedIssues.length),z(3),E("ngIf",!!b.queryRestriction),
z(1),xf("bv2-rel-issue-issue-picker-full-width",!!b.queryRestriction),E("defaultChoices",b.data.defaultChoices)("currentResource",b.data.currentResource)("allowMultipleIds",b.data.allowMultipleIds),z(4),E("disabled",!b.selectedIssues.length))},dependencies:[Qw,Rw,HB,QA,gB,hB,iB,lD,gQ],encapsulation:2});var iQ=function(){};iQ.\u0275fac=function(a){return new (a||iQ)};iQ.\u0275mod=Qc({type:iQ});iQ.\u0275inj=zc({imports:[KK,OG,Px,gO,$P,fQ,ED,jB,fE,CO]});var Moc=new ad("XapHatsSurveyApiKey"),Noc=new ad("XapHatsSurveyLocale"),Ooc=new ad("XapHatsSurveyWindow"),Poc=new ad("XapHatsSurveyListnrProductId");var Qoc=new Map([[0,1],[1,2]]),jQ=function(a,b,c,d,e){var g=function(){var h={apiKey:a,locale:null!=c?c:"en-US",window:d};h=q6b(t6b,"help.service.Lazy.create",b,{apiKey:h.apiKey||h.apiKey,environment:h.environment||h.environment,helpCenterPath:h.helpCenterPath||h.helpCenterPath,locale:h.locale||h.locale||"en-US".replace(/-/g,"_"),nonce:h.nonce||h.nonce,productData:h.productData||h.productData,receiverUri:h.receiverUri||h.receiverUri,renderApiUri:h.renderApiUri||h.renderApiUri,theme:h.theme||h.theme,
window:h.window||h.window});return new s6b(h)};this.helpService=e?e.runOutsideAngular(g):g()},Roc=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 D.Observable(function(g){a.helpService.requestSurvey({triggerId:b,enableTestingMode:d.enableTestingMode,nonProd:d.nonProd,callback:function(h){null!=h.surveyData&&g.next(h.surveyData);g.complete()},authuser:e})})).pipe($e(function(g){return new D.Observable(function(h){var l;a.helpService.presentSurvey({surveyData:g,
colorScheme:d.theme?Qoc.get(d.theme):1,authuser:e,customZIndex:null!=(l=d.zIndex)?l:1E4,customLogoUrl:d.customLogoUrl,productData:c,listener:{surveyClosed:function(){h.complete()}}});h.next(g.surveyMetadata)})}))};jQ.\u0275fac=function(a){return new (a||jQ)(t(Moc),t(Poc),t(Noc,8),t(Ooc,8),t(df,8))};jQ.\u0275prov=yc({token:jQ,factory:jQ.\u0275fac,providedIn:"any"});var Soc=ao.ISSUE_PICKER,kQ=function(a,b,c,d){this.dialog=a;this.analytics=b;this.hatsService=c;this.activeSession=d};
kQ.prototype.open=function(a,b){var c=this,d=Toc(this,a),e=d.dialog,g=d.config;return new Promise(function(h){$A(c.dialog.open(e,g)).subscribe(function(l){var q,v=null!=(q=null==l?void 0:l.selectedIssueIds)?q:[],x;l=null!=(x=null==l?void 0:l.lastSearchType)?x:"";x=[a.originIsBulk?"bulk":void 0,1<v.length?"search-multi":"search",a.edgeType].filter(Boolean).join("-");c.analytics.trackEvent(Soc,x,l);null==b||b(v);h(v);c.activeSession.isInternalSession()&&"id"===l&&Roc(c.hatsService,"etC5mMepi0g6pPHSLo10TaNs15gn").pipe(Oe()).subscribe()})})};
var Toc=function(a,b){var c={panelClass:"no-jitter",data:b};return pF(a.activeSession,"enableIDPCanonicalIssuePicker")&&"canonical"===b.edgeType?(c.width="60vw",c.minWidth="800px",{dialog:cO,config:c}):{dialog:hQ,config:c}};kQ.\u0275fac=function(a){return new (a||kQ)(t(eB),t(EI),t(jQ),t(Bs))};kQ.\u0275prov=yc({token:kQ,factory:kQ.\u0275fac,providedIn:"root"});var lQ=function(){};lQ.\u0275fac=function(a){return new (a||lQ)};lQ.\u0275mod=Qc({type:lQ});lQ.\u0275inj=zc({imports:[iQ,RO]});var bo={ASSIGNED_TO_ME:{key:"ASSIGNED_TO_ME",displayAs:"Assigned to me",check:function(a){var b;return!!vl().user.email&&vl().user.email===(null==(b=a.snapshot[0].assigneeUser)?void 0:b.emailAddress)},queryFragment:"assignee:me"},OPEN:{key:"OPEN",displayAs:"Open",check:function(a){return Il(a)},queryFragment:"status:open"},FIXED:{key:"FIXED",displayAs:"Fixed",check:function(a){return gva(a,"FIXED")},queryFragment:"status:fixed"},BROAD_IN_PROGRESS:{key:"BROAD_IN_PROGRESS",displayAs:"Assigned",check:function(a){return gva(a,
"ASSIGNED")||gva(a,"ACCEPTED")},queryFragment:"status:(assigned | accepted)"}};var mQ=function(a){this.pathToAncestor=a},eo=function(a){return new mQ(a.split(">"))},nQ=function(a,b){return new mQ([].concat(cd(a.pathToAncestor),[b]))};mQ.prototype.hash=function(){return this.pathToAncestor.join(">")};mQ.prototype.equals=function(a){return!!a&&Xh(this.pathToAncestor,a.pathToAncestor)};var Uoc=function(a,b){a=k(a.pathToAncestor.entries());for(var c=a.next();!c.done;c=a.next()){c=k(c.value);var d=c.next().value;if(c.next().value!==b.pathToAncestor[d])return!1}return!0};
mQ.prototype.contains=function(a){return this.pathToAncestor.join(",").includes(a.pathToAncestor.join(","))};mQ.prototype.some=function(a){return this.pathToAncestor.some(a)};mQ.prototype.toString=function(){return this.hash()};
sh.Object.defineProperties(mQ.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 mQ(this.pathToAncestor.slice(0,this.size-1))}},root:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[0]}}});var oQ=function(){var a=this;this.draftRows=new Map;this.changed$=new D.Subject;this.counter=0;this.createId=function(){return String(a.counter++)}};oQ.prototype.create=function(a,b,c){var d=this.createId();b={type:"draft-issue",title:"",ancestorChain:nQ(a,d),level:a.size-1,issue$:(0,D.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};
oQ.prototype.get=function(a){var b;return null!=(b=this.draftRows.get(a.hash()))?b:[]};oQ.prototype.remove=function(a){var b=a.ancestorChain.parentChain,c=this.get(b),d=c.filter(function(g){return g.id!==a.id});if(c.length!==d.length){c=k(d);for(var e=c.next();!e.done;e=c.next())e=e.value,e.afterDraftId===a.id&&(e.afterDraftId=a.afterDraftId);this.draftRows.set(b.hash(),d);this.changed$.next(this.draftRows)}};
var Voc=function(a,b){return pe(function(c){return c.return((0,D.firstValueFrom)(a.changed$.pipe(Ze(a.draftRows),C(function(d){return![].concat(cd(d.values())).flat().some(function(e){return e.issueId===b||e.id===b})}),Ge(Boolean),C(function(){}))))})},Woc=function(a,b,c){b.issueId=c;for(var d=k(a.draftRows.values()),e=d.next();!e.done;e=d.next()){e=k(e.value);for(var g=e.next();!g.done;g=e.next())g=g.value,g.afterDraftId===b.id&&(g.afterIssueId=c)}a.changed$.next(a.draftRows)};
oQ.prototype.isSaving=function(){return[].concat(cd(this.draftRows.values())).flat().some(function(a){return a.saving})};oQ.prototype.set=function(a,b){var c=this.get(a);this.draftRows.set(a.hash(),[].concat(cd(c),[b]));this.changed$.next(this.draftRows)};var Xoc={defaultExpandedChildren:0,defaultExpansionLevel:0,maxExpansion:Infinity},Yoc=function(a){var b={defaultExpansionLevel:3,defaultExpandedChildren:10,maxExpansion:500};b=void 0===b?Xoc:b;a=void 0===a?{}:a;this.config=b;this.expansionState=this.initialState=a;this.changed$=new D.ReplaySubject(1)},pQ=function(a,b){b=b.hash();return a.expansionState[b]},qQ=function(a,b,c){b=b.hash();void 0===c?delete a.expansionState[b]:a.expansionState[b]=c;a.changed$.next(a.expansionState)},Zoc=function(a,b,
c){var d=!1;c=k(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;var g=nQ(b,e.nodeId);e.size<=a.config.defaultExpansionLevel&&void 0===pQ(a,e)&&(a.expansionState[g.hash()]=a.config.defaultExpandedChildren,d=!0);for(var h=k(Object.entries(a.expansionState)),l=h.next();!l.done;l=h.next()){l=k(l.value);var q=l.next().value;l=l.next().value;q=eo(q);q.contains(e)&&(d=q.pathToAncestor.join(",").replace(e.pathToAncestor.join(","),g.pathToAncestor.join(",")).split(","),d=new mQ(d),delete a.expansionState[q.hash()],
a.expansionState[d.hash()]=l,d=!0)}}if(!pQ(a,b)){var v;a.expansionState[b.hash()]=null!=(v=a.config.defaultExpandedChildren)?v:a.config.maxExpansion;d=!0}d&&a.changed$.next(a.expansionState)},$oc=function(a){var b=new Map;a=k(Object.entries(a.expansionState));for(var c=a.next();!c.done;c=a.next()){c=k(c.value);var d=c.next().value;c=c.next().value;d=eo(d).nodeId;var e=void 0;c=Math.max(c,null!=(e=b.get(d))?e:0);b.set(d,c)}return b};var rQ=function(a,b,c,d,e){this.issueApi=a;this.activeSession=b;this.issueFridge=c;this.componentFridge=d;this.componentTemplatesFridge=e;this.currentUser=ti(this.activeSession.getUserEmail())},bpc=function(a,b){var c,d,e;return pe(function(g){if(1==g.nextAddress)return g.yield(apc(a,b),2);c=g.yieldResult;d=c.component;e=c.defaultTemplate;return g.return(Mua(d,e))})},dpc=function(a,b){var c;return pe(function(d){if(1==d.nextAddress)return d.yield(cpc(a,b),2);c=d.yieldResult;return d.return({snapshot:[c],
issueId:"",userData:void 0,aggregatedData:void 0,accessLimit:void 0,customFields:[],visibleFields:[],majorModifiedTimeMicros:0,parentIssueIds:[],ancestors:new Map,childIssueCount:0,isArchived:!1,relatedLinks:[]})})},epc=function(a,b,c){var d;return pe(function(e){if(1==e.nextAddress)return e.yield(cpc(a,b),2);d=e.yieldResult;d.title=c;return e.return(a.create(d))})};
rQ.prototype.create=function(a){var b=this,c,d;return pe(function(e){return 1==e.nextAddress?e.yield(b.issueApi.createIssue({snapshot:a}),2):3!=e.nextAddress?(c=e.yieldResult,d=c.issueId,e.yield(b.issueFridge.poke(String(d)),3)):e.return({issueId:String(d)})})};
var cpc=function(a,b){var c,d,e,g,h;return pe(function(l){if(1==l.nextAddress)return l.yield((0,D.firstValueFrom)(a.issueFridge.watch(b).pipe(Ge(Ai))),2);if(3!=l.nextAddress)return c=l.yieldResult,l.yield(apc(a,String(c.snapshot[0].componentId)),3);d=l.yieldResult;e=d.component;g=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=Zdc[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,fpc(g),gpc(e,g));h.assigneeUser&&(h.status="ASSIGNED");return l.return(h)})},fpc=function(a){if(!a)return{};a=ac(a.snapshot,function(b){return null==b||"string"===typeof b&&Mk(b)?!1:!0});delete a.componentId;return a},gpc=function(a,b){var c=[],d,e;a=k(null!=(e=null==(d=a.componentPathInfo)?
void 0:d.allCustomField)?e:[]);e=a.next();for(d={};!e.done;d={$jscomp$loop$prop$customField$2335:d.$jscomp$loop$prop$customField$2335},e=a.next())if(d.$jscomp$loop$prop$customField$2335=e.value,d.$jscomp$loop$prop$customField$2335.required){var g=void 0;e=null!=(g=d.$jscomp$loop$prop$customField$2335.typedDefaultValue)?g:new ii({customFieldId:d.$jscomp$loop$prop$customField$2335.customFieldId});var h=g=void 0,l=void 0,q=null!=(l=null==(g=b)?void 0:null==(h=g.snapshot.customField)?void 0:h.find(function(v){return function(x){return x.customFieldId===
v.$jscomp$loop$prop$customField$2335.customFieldId}}(d)))?l:e;q&&c.push(Object.assign({},q))}return 0===c.length?{}:{customField:c}},apc=function(a,b){var c,d,e,g,h,l;return pe(function(q){if(1==q.nextAddress)return q.yield(Promise.all([(0,D.firstValueFrom)(a.componentTemplatesFridge.defaultTemplate$(b)),(0,D.firstValueFrom)(a.componentFridge.watch(b).pipe(Ge(Ai)))]),2);c=q.yieldResult;d=k(c);e=d.next().value;g=d.next().value;h=e;l=g;return q.return({component:l,defaultTemplate:h})})};
rQ.\u0275fac=function(a){return new (a||rQ)(t(GF),t(Bs),t(JI),t(AG),t(fH))};rQ.\u0275prov=yc({token:rQ,factory:rQ.\u0275fac,providedIn:"root"});var sQ=function(a,b,c,d,e,g,h,l,q,v,x,A,G){rF.call(this);var M=this;this.rootIssueId=a;this.quickFilters=b;this.saveExpansionAtKey=c;this.analytics=d;this.butterBar=e;this.issueFridge=g;this.issuePicker=h;this.issueRelationshipsFridge=l;this.paths=q;this.router=v;this.issueCreationService=x;this.clearcut=A;this.refreshMonitor=G;var Q;this.recallExpansion=rI(null!=(Q=this.saveExpansionAtKey)?Q:"");var Y;this.saveExpansion=ip(null!=(Y=this.saveExpansionAtKey)?Y:"");this.expansion=new Yoc(this.recallExpansion());
this.draftRows=new oQ;this.refetchingAll$=new D.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe($e(function(){M.refetchingAll$.next(!0);var W=on(M.rows$),ia=[];if(!W)return Promise.resolve();ia.push(dec(M.issueRelationshipsFridge,M.rootIssueId));W=k(W);for(var ja=W.next();!ja.done;ja=W.next())ja=ja.value,"data"===ja.type&&ia.push(M.issueFridge.poke(ja.id)),1<ja.level&&ia.push(M.issueRelationshipsFridge.poke(ja.id));return Promise.all(ia).then(function(){M.refetchingAll$.next(!1)})}));
this.rows$=(0,D.merge)(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,(0,D.scheduled)((0,D.of)({}),D.asapScheduler)).pipe($e(function(){return cec(M.issueRelationshipsFridge,M.rootIssueId,3)}),$e(function(){var W=new Set([].concat(cd($oc(M.expansion).keys())));return M.getParentToChildrenMap(W)}),$e(function(W){return M.quickFilters.value$.pipe($e(function(ia){return M.applyFilters(W,[].concat(cd(ia)))}))}),C(function(W){return M.calculateDisplayedRows(W)}),Xe({refCount:!0,
bufferSize:1}));this.filteredRowCount$=new D.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(Ge(Ai));this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new mQ([this.rootIssueId]),expandedCount:500,issue$:D.NEVER,hasChildren$:D.NEVER};this.supportsOneLineCreation=(0,D.firstValueFrom)(this.rootIssue$).then(function(W){return Dn(W.snapshot[0].componentId)}).then(function(W){return bpc(M.issueCreationService,W)});this.isOneLineCreationSupported=function(){return M.supportsOneLineCreation};
this.saveExpansionAtKey&&this.subscriptions.add(this.expansion.changed$.pipe(Le(100)).subscribe(function(W){M.saveExpansion(W)}))};T(sQ,rF);sQ.\u0275dir=rF.\u0275dir;sQ.\u0275fac=rF.\u0275fac;f=sQ.prototype;
f.createChildOrDraft=function(a,b){a=void 0===a?this.ROOT_ROW.ancestorChain:a;var c=this,d,e,g,h,l,q,v;pe(function(x){switch(x.nextAddress){case 1:return d=a.nodeId,x.yield((0,D.firstValueFrom)(c.issueFridge.watch(d)),2);case 2:return(e=x.yieldResult)?x.yield(c.supportsOneLineCreation,3):x.return();case 3:g=x.yieldResult;if(!g){x.jumpTo(4);break}return x.yield(dpc(c.issueCreationService,d),5);case 5:return h=x.yieldResult,x.return(c.draftRows.create(a,h,b));case 4:return l=e.snapshot[0].componentId,
v={},x.yield(ls(c.router,c.paths.createIssue((v.component=l?String(l):void 0,v.parentIssueId=e.issueId,v.redirectUrl=fm(c.rootIssueId),v.afterIssueId=null==(q=b)?void 0:q.afterIssueId,v))),6);case 6:return x.return()}})};
f.addExistingChild=function(a){var b=this,c,d,e,g;pe(function(h){if(1==h.nextAddress)return h.yield((0,D.firstValueFrom)(null!=(d=null==(c=a)?void 0:c.issue$)?d:b.rootIssue$),2);e=h.yieldResult;if(!e)return h.return();g=String(e.issueId);return h.yield(b.issuePicker.open({title:"Add Children of b/"+g,allowMultipleIds:!0,edgeType:"child"},function(l){return pe(function(q){if(1==q.nextAddress){if(0===l.length)return q.return();b.assignParentToIssues(g,l);b.analytics.trackEvent(ao.EXPERIMENTAL_HOMEPAGE,
"add","existing-child-issue");return q.yield(Un(),2)}a&&qQ(b.expansion,a.ancestorChain,500);ue(q)})}),0)})};f.deleteDraftRow=function(a){this.draftRows.remove(a)};f.saveDraft=function(a){var b=this,c;return pe(function(d){if(1==d.nextAddress){if(a.saving||!a.title)return d.return();a.saving=!0;return d.yield(b.createIssueFromDraft(a),2)}return(c=d.yieldResult)?d.return(b.assignParentToIssue(a,c)):d.return()})};
f.createIssueFromDraft=function(a){var b=this,c,d,e,g;return pe(function(h){switch(h.nextAddress){case 1:return c=a.ancestorChain.parentNodeId,qe(h,2),h.yield(epc(b.issueCreationService,c,a.title),4);case 4:e=h.yieldResult;d=e.issueId;Hs(h,3);break;case 2:return g=te(h),ZG(b.butterBar,"Could not create issue. Error: "+JSON.stringify(g)),b.deleteDraftRow(a),h.return();case 3:return b.trackIssueCreationTime(a),qQ(b.expansion,a.ancestorChain.parentChain,500),Woc(b.draftRows,a,d),h.return(d)}})};
f.assignParentToIssue=function(a,b){var c=this,d,e,g,h,l,q;return pe(function(v){if(1==v.nextAddress)return d=a.ancestorChain.parentNodeId,g=null!=(e=a.afterIssueId)?e:a.afterDraftId,void 0===g||"-1"===g?v.jumpTo(2):v.yield(Voc(c.draftRows,g),2);if(4!=v.nextAddress)return v.yield(c.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:b,afterIssueId:a.afterIssueId}]),4);h=v.yieldResult;l=h.errors;(null==(q=l)?0:q.length)&&ZG(c.butterBar,"Could not create issue relationship. Error: "+JSON.stringify(l));
c.deleteDraftRow(a);ue(v)})};
f.getParentToChildrenMap=function(a,b){var c=this;b=void 0===b?0:b;return(0,D.combineLatest)([this.rootIssueId].concat(cd(a.keys())).map(function(d){return c.refetchingAll$.pipe(Ge(function(e){return!e}),$e(function(){return bec(c.issueRelationshipsFridge,d)}))})).pipe(C(function(d){return d.filter(Boolean)}),$e(function(d){var e=new Map(d.map(function(g){return[g.issueId,g]}));if(1===b)return(0,D.of)(e);d=c.getIdsAtLevel(e,b);return c.getParentToChildrenMap(d,b+1).pipe(C(function(g){return mAa(e,g)}))}))};
f.getIdsAtLevel=function(a,b){for(var c=new Set,d=[{id:this.rootIssueId,level:-1}],e={};0<d.length;){e.$jscomp$loop$prop$current$2337=d.pop();e.$jscomp$loop$prop$current$2337.level===b&&c.add(e.$jscomp$loop$prop$current$2337.id);if(!(e.$jscomp$loop$prop$current$2337.level>b)){var g=void 0,h=void 0,l=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$current$2337.id))?void 0:g.relatedChildren)?h:[];d.push.apply(d,cd(l.map(function(q){return function(v){return{id:v.targetIssueId,level:q.$jscomp$loop$prop$current$2337.level+
1}}}(e))))}e={$jscomp$loop$prop$current$2337:e.$jscomp$loop$prop$current$2337}}return c};
f.calculateDisplayedRows=function(a){for(var b=this,c=[],d=[this.ROOT_ROW],e={};0<d.length;){e.$jscomp$loop$prop$parentRow$2339=d.pop();if("load-more-children"===e.$jscomp$loop$prop$parentRow$2339.type||"draft-issue"===e.$jscomp$loop$prop$parentRow$2339.type)c.push(e.$jscomp$loop$prop$parentRow$2339);else{e.$jscomp$loop$prop$parentRow$2339.id!==this.rootIssueId&&c.push(e.$jscomp$loop$prop$parentRow$2339);var g=void 0,h=void 0,l=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$parentRow$2339.id))?void 0:
g.relatedChildren)?h:[];g=l.slice(0,e.$jscomp$loop$prop$parentRow$2339.expandedCount);g.length&&(e.$jscomp$loop$prop$parentRow$2339.hasChildren$=(0,D.of)(!0));e.$jscomp$loop$prop$childrenLevel$2340=e.$jscomp$loop$prop$parentRow$2339.level+1;e.$jscomp$loop$prop$parentRow$2339.expandedCount&&g.length<l.length&&(h=nQ(e.$jscomp$loop$prop$parentRow$2339.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.$jscomp$loop$prop$childrenLevel$2340,parentIssue$:e.$jscomp$loop$prop$parentRow$2339.issue$,
ancestorChain:h,truncatedSiblingCount:l.length-g.length}));l=g.map(function(q){return function(v){var x=nQ(q.$jscomp$loop$prop$parentRow$2339.ancestorChain,v.targetIssueId);return{type:"data",id:v.targetIssueId,level:q.$jscomp$loop$prop$childrenLevel$2340,hasChildren$:hpc(b,v.targetIssueId),ancestorChain:x,expandedCount:b.getExpandedCount(x,q.$jscomp$loop$prop$childrenLevel$2340,a),issue$:b.issueFridge.watch(v.targetIssueId)}}}(e));d.push.apply(d,cd(this.interpolateDraftRows(l,e.$jscomp$loop$prop$parentRow$2339.ancestorChain).reverse()))}e=
{$jscomp$loop$prop$parentRow$2339:e.$jscomp$loop$prop$parentRow$2339,$jscomp$loop$prop$childrenLevel$2340:e.$jscomp$loop$prop$childrenLevel$2340}}return c};
var hpc=function(a,b){return a.issueRelationshipsFridge.watch(b).pipe($e(function(c){return c&&c.relatedChildren.length?a.quickFilters.value$.pipe($e(function(d){return 0===d.size?(0,D.of)(!0):a.issueFridge.watchSet(c.relatedChildren.map(function(e){return e.targetIssueId})).pipe(C(function(e){return e.some(function(g){return aJa(g,[].concat(cd(d)))})}))})):(0,D.of)(!1)}))};f=sQ.prototype;
f.interpolateDraftRows=function(a,b){var c=[].concat(cd(a));b=this.draftRows.get(b);b=k(b);for(var d=b.next(),e={};!d.done;e={$jscomp$loop$prop$draft$2343:e.$jscomp$loop$prop$draft$2343},d=b.next())e.$jscomp$loop$prop$draft$2343=d.value,a.some(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$2343.issueId}}(e))||(d=c.findIndex(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$2343.afterDraftId||h.id===g.$jscomp$loop$prop$draft$2343.afterIssueId}}(e)),c.splice(-1===
d?c.length:d+1,0,e.$jscomp$loop$prop$draft$2343));return c};f.getExpandedCount=function(a,b,c){var d=a.nodeId;a=pQ(this.expansion,a);if(void 0!==a)return a;if(1>b){var e,g;return Math.min(10,null!=(g=null==(e=c.get(d))?void 0:e.relatedChildren.length)?g:0)}return 0};
f.assignParentToIssues=function(a,b){var c=this,d,e,g,h;return pe(function(l){if(1==l.nextAddress)return 0===b.length?l.return():l.yield(c.issueRelationshipsFridge.assignParentToIssues(a,b.map(function(q){return{issueId:q,afterIssueId:"-1"}})),2);d=l.yieldResult;e=d.notAdded;g=d.errors;if(e.length)return ZG(c.butterBar,"Could not add "+e+" as child of b/"+a+". "+(null==(h=g)?void 0:h.map(function(q){return am(q)}))),l.return();ue(l)})};
f.trackIssueCreationTime=function(a){a=(new Date).getTime()-a.draftStartedAt.getTime();if(0<a){var b=Math.min(a,108E5);Ndc("createIssue",b,"from-tree");this.analytics.trackEvent(ao.CREATE_ISSUE,"createIssue","time-to-create-from-tree",b);tI(this.clearcut,a,"createIssue-fromTree")}};
f.getAllIssues=function(a){var b=this,c,d,e,g,h,l,q,v,x,A,G,M;return pe(function(Q){if(1==Q.nextAddress){c=new Set;d=k(a.keys());for(e=d.next();!e.done;e=d.next())g=e.value,c.add(g);h=k(a.values());for(l=h.next();!l.done;l=h.next())for(q=l.value,v=q.relatedChildren.map(function(Y){return Y.targetIssueId}),x=k(v),A=x.next();!A.done;A=x.next())G=A.value,c.add(G);return Q.yield(Promise.all([].concat(cd(c)).map(function(Y){return(0,D.firstValueFrom)(b.issueFridge.watch(Y))})),2)}M=Q.yieldResult;return Q.return(zl(M.filter(Ai),
function(Y){return Y.issueId}))})};
f.applyFilters=function(a,b){function c(q){if(!q)return!1;var v=e.get(q),x=h.get(q);if(!v||0===v.relatedChildren.length)return x;var A=v.relatedChildren.filter(function(G){return c(G.targetIssueId)});l+=v.relatedChildren.length-A.length;e.set(q,Object.assign({},v,{relatedChildren:A}));return 0!==A.length||x}var d=this,e,g,h,l;return pe(function(q){if(1==q.nextAddress){if(0===b.length)return d.filteredRowCount$.next(0),q.return(a);e=new Map(a.entries());return q.yield(d.getAllIssues(e),2)}g=q.yieldResult;
h=new Map(g.map(function(v){return[v.issueId,aJa(v,b)]}));l=0;c(d.rootIssueId);d.filteredRowCount$.next(l);return q.return(e)})};var tQ=function(a,b,c,d,e,g,h,l,q,v){this.analytics=a;this.butterBar=b;this.issueFridge=c;this.issuePicker=d;this.issueRelationshipsFridge=e;this.paths=g;this.router=h;this.issueCreationService=l;this.clearcut=q;this.refreshMonitor=v};
tQ.prototype.create=function(a,b,c){b=void 0===b?new MK:b;return new sQ(a,b,c,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};tQ.\u0275fac=function(a){return new (a||tQ)(t(EI),t(XG),t(JI),t(kQ),t(QI),t(QH),t(IH),t(rQ),t(sI),t(HI))};tQ.\u0275prov=yc({token:tQ,factory:tQ.\u0275fac,providedIn:"root"});var uQ=function(a){this.clApi=a};uQ.prototype.transform=function(a){var b=this;return a.pipe($e(function(c){if(null==c)return(0,D.of)(c);var d,e=oa(null!=(d=c.snapshot[0].changelist)?d:[]);return e?b.clApi.getChangelistDetails(e).pipe(C(function(g){return Object.assign({},g,{changelistNumber:Number(e)})})):(0,D.of)(void 0)}),Xe({bufferSize:1,refCount:!0}))};uQ.\u0275fac=function(a){return new (a||uQ)(B(nE,16))};uQ.\u0275pipe=Uc({name:"mostRecentCL$",type:uQ,pure:!0});var ipc=["button"],vQ=function(){this.color="primary";this.format="hairline";this.disabled=!1;this.size="medium";this.onAction=new kw};vQ.prototype.onClick=function(a){this.onAction.emit(a)};vQ.prototype.focus=function(){this.nativeButton.focus()};vQ.\u0275fac=function(a){return new (a||vQ)};
vQ.\u0275cmp=Oc({type:vQ,selectors:[["b-button"]],viewQuery:function(a,b){a&1&&bg(ipc,5);if(a&2){var c;ag(c=dg())&&(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&&(Ff(),O(0,cJa,1,0,"ng-template",null,0,gg),J(2,1),O(3,eJa,3,7,"button",2),O(4,gJa,3,7,"button",3),O(5,iJa,3,7,"button",4),O(6,kJa,3,7,"button",5),O(7,mJa,3,7,"button",6),K());a&2&&(z(2),E("ngSwitch",b.format),z(1),E("ngSwitchCase","hairline"),z(1),E("ngSwitchCase","flat"),z(1),E("ngSwitchCase","fill"),z(1),E("ngSwitchCase","icon"))},dependencies:[QA,lD,Pw,Ww,Sw,Tw,Uw],encapsulation:2,changeDetection:0});var jpc={CANCEL:"CANCEL",ARCHIVE_ALL:"ARCHIVE_ALL",ARCHIVE_ONE:"ARCHIVE_ONE"},kpc=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=jpc};kpc.\u0275fac=function(a){return new (a||kpc)(B(dB),B(QH))};
kpc.\u0275cmp=Oc({type:kpc,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&&(F(0,"h1",0),P(1,"Archive with all descendant issues?"),
H(),F(2,"div",1),P(3),I(4,"br")(5,"br"),F(6,"a",2),P(7,"View all descendant issues"),H(),I(8,"br"),F(9,"a",3),P(10,"Learn more"),H()(),F(11,"div",4)(12,"button",5),P(13,"Cancel"),H(),F(14,"button",5),P(15," Just this one "),H(),F(16,"button",6),P(17," Archive all "),H()());a&2&&(z(3),Lf(" This issue has ",b.numberOfDescendants," descendant issues. Archiving only this issue may make it difficult to find them later. Do you want to archive this issue with all descendant issues? "),z(3),If("href",b.descendantIssuesUrl,
Ud),z(6),E("matDialogClose",b.ActionType.CANCEL),z(2),E("matDialogClose",b.ActionType.ARCHIVE_ONE),z(2),E("matDialogClose",b.ActionType.ARCHIVE_ALL))},dependencies:[QA,fB,gB,hB,iB],encapsulation:2});var wQ=function(a,b,c,d,e,g,h,l,q){this.issueApi=a;this.dialog=b;this.confirmationDialogService=c;this.issueRelationshipsFridge=d;this.issueFridge=e;this.eventsForIssueFridge=g;this.paths=h;this.butterBar=l;this.editIssueService=q};
wQ.prototype.submitArchivalState=function(a,b){var c=this;return pe(function(d){if(1==d.nextAddress)return b?d.yield(c.archive(a),5):d.yield(c.editIssueService.unarchive(a),0);c.issueFridge.poke(a);c.eventsForIssueFridge.poke(a);ue(d)})};
wQ.prototype.archive=function(a){var b=this,c,d,e,g,h,l,q,v,x,A;return pe(function(G){if(1==G.nextAddress)return G.yield(Promise.all([b.getDescendants(a),(0,D.firstValueFrom)(b.issueFridge.watch(a))]),2);c=G.yieldResult;d=k(c);e=d.next().value;g=d.next().value;h=e;l=g;q=h;v=q.childToParents;x=q.completeResult;A=[].concat(cd(v.keys()));v.set(a,l.parentIssueIds||[]);return 0===A.length?G.return(lpc(b,a,v)):x?G.return(mpc(b,a,A,v)):G.return(npc(b,a,v))})};
var mpc=function(a,b,c,d){var e,g,h;return pe(function(l){if(1==l.nextAddress)return e={numberOfDescendants:c.length,issueId:b},g={data:e,width:"500px"},l.yield((0,D.firstValueFrom)($A(a.dialog.open(kpc,g))),2);h=l.yieldResult;switch(h){case "ARCHIVE_ALL":return l.return(opc(a,[b].concat(cd(c)),d));case "ARCHIVE_ONE":return l.return(lpc(a,b,d));case "CANCEL":return l.return();default:return l.return(Ch(h))}})},opc=function(a,b,c){var d=[{issueIds:b,actions:[{fieldName:"isArchived",value:"true"}]}];
ppc(a,c);YG(a.butterBar,"Archiving "+b.length+" issues...");return a.issueApi.issueBulkEdit({bulkEditOps:d}).then(function(){YG(a.butterBar,"Archived "+b.length+" issues successfully.")}).catch(function(e){ZG(a.butterBar,e);qpc(a,c)})},lpc=function(a,b,c){ppc(a,c);return a.issueApi.updateIssue(b,{issueId:b,actions:[{fieldName:"isArchived",value:"true"}]}).then(function(){YG(a.butterBar,"Archived successfully.")}).catch(function(d){ZG(a.butterBar,d);qpc(a,c)})},npc=function(a,b,c){return new Promise(function(d){a.confirmationDialogService.open({title:"Archive issue with descendant issues?",
content:Bn(yn("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."),An("BR",{}),An("BR",{}),An("A",{href:a.paths.listIssues({q:"parentId:"+b+"+"}),target:"_blank"},"View all descendant issues"),An("BR",{}),An("A",{href:"http://go/b-issue-archive",target:"_blank"},"Learn more")),cancelButtonText:"Cancel",confirmButtonText:"Just this one",onConfirm:function(){lpc(a,
b,c).then(d)},onDismiss:d})})},ppc=function(a,b){b=k(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;d=k(d);for(var e=d.next();!e.done;e=d.next())a.issueRelationshipsFridge.unlinkFromParent(c,e.value,!0)}},qpc=function(a,b){b=[].concat(cd(b.values())).flat();b=k(b);for(var c=b.next();!c.done;c=b.next())a.issueRelationshipsFridge.poke(c.value)};
wQ.prototype.getDescendants=function(a){var b=this,c,d,e,g,h,l,q,v,x,A,G,M;return pe(function(Q){if(1==Q.nextAddress)return Q.yield((0,D.firstValueFrom)(cec(b.issueRelationshipsFridge,a)),2);c=Q.yieldResult;d=c.results;e=!0;g=new Map;h=k(d);for(l=h.next();!l.done;l=h.next()){q=l.value;v=k(q.relatedChildren);for(x=v.next();!x.done;x=v.next())A=x.value,G=void 0,M=null!=(G=g.get(A.targetIssueId))?G:[],M.push(q.issueId),g.set(A.targetIssueId,M);q.totalChildCount===q.relatedChildren.length||(e=!1)}return Q.return({childToParents:g,
completeResult:e})})};wQ.\u0275fac=function(a){return new (a||wQ)(t(GF),t(eB),t(PJ),t(QI),t(JI),t(nG),t(QH),t(XG),t(QK))};wQ.\u0275prov=yc({token:wQ,factory:wQ.\u0275fac,providedIn:"root"});var xQ=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)};xQ.prototype.ngOnDestroy=function(){this.checks=[];window.removeEventListener("beforeunload",this.beforeUnloadEventHandler)};
var yQ=function(a,b,c){var d={dataChanged:b,triggerOnSearch:c};a.checks.push(d);return new D.Subscription(function(){a.checks=a.checks.filter(function(e){return e!==d})})};xQ.prototype.canDeactivate=function(a,b,c,d){a:{a=TD(c.url).getPath()===TD(d.url).getPath();b=k(this.checks);for(c=b.next();!c.done;c=b.next())if(c=c.value,a){if(c.triggerOnSearch&&c.dataChanged()){a=!0;break a}}else if(c.dataChanged()){a=!0;break a}a=!1}return a?rpc()?(this.checks=[],!0):!1:!0};var rpc=function(){return window.confirm("You have unsaved changes; are you sure you want to navigate away without saving?")};
xQ.\u0275fac=function(a){return new (a||xQ)};xQ.\u0275prov=yc({token:xQ,factory:xQ.\u0275fac,providedIn:"root"});var spc=function(a,b,c,d,e,g,h,l,q,v,x,A){var G=this;this.rootIssueId=a;this.quickFilters=b;this.analytics=c;this.butterBar=d;this.issueFridge=e;this.issuePicker=g;this.issueRelationshipsFridge=h;this.paths=l;this.router=q;this.issueCreationService=v;this.clearcut=x;this.refreshMonitor=A;this.expansion=new Yoc;this.draftRows=new oQ;this.refetchingAll$=new D.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe($e(function(){G.refetchingAll$.next(!0);var M=on(G.rows$),
Q=[];if(!M)return Promise.resolve();Q.push(dec(G.issueRelationshipsFridge,G.rootIssueId));M=k(M);for(var Y=M.next();!Y.done;Y=M.next())Y=Y.value,"data"===Y.type&&Q.push(G.issueFridge.poke(Y.id)),1<Y.level&&Q.push(G.issueRelationshipsFridge.poke(Y.id));return Promise.all(Q).then(function(){G.refetchingAll$.next(!1)})}));this.rows$=(0,D.merge)(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,(0,D.scheduled)((0,D.of)({}),D.asapScheduler)).pipe($e(function(){return cec(G.issueRelationshipsFridge,
G.rootIssueId,3)}),$e(function(){var M=$oc(G.expansion);return G.getParentToChildrenMap(M)}),Hia(this.quickFilters.value$),$e(function(M){M=k(M);var Q=M.next().value,Y=M.next().value;return 0===Y.size?(G.filteredRowCount$.next(0),(0,D.of)(Q)):G.getAllIssues(Q).pipe(C(function(W){return G.applyFilters(Q,Y,W)}))}),C(function(M){return G.calculateDisplayedRows(M)}),Xe({refCount:!0,bufferSize:1}));this.filteredRowCount$=new D.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(Ge(Ai));
this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new mQ([this.rootIssueId]),expandedCount:500,issue$:D.NEVER,hasChildren$:D.NEVER};this.supportsOneLineCreation=(0,D.firstValueFrom)(this.rootIssue$).then(function(M){return Dn(M.snapshot[0].componentId)}).then(function(M){return bpc(G.issueCreationService,M)});this.isOneLineCreationSupported=function(){return G.supportsOneLineCreation}};f=spc.prototype;
f.createChildOrDraft=function(a,b){a=void 0===a?this.ROOT_ROW.ancestorChain:a;var c=this,d,e,g,h,l,q,v;pe(function(x){switch(x.nextAddress){case 1:return d=a.nodeId,x.yield((0,D.firstValueFrom)(c.issueFridge.watch(d)),2);case 2:return(e=x.yieldResult)?x.yield(c.supportsOneLineCreation,3):x.return();case 3:g=x.yieldResult;if(!g){x.jumpTo(4);break}return x.yield(dpc(c.issueCreationService,d),5);case 5:return h=x.yieldResult,x.return(c.draftRows.create(a,h,b));case 4:return l=e.snapshot[0].componentId,
v={},x.yield(ls(c.router,c.paths.createIssue((v.component=l?String(l):void 0,v.parentIssueId=e.issueId,v.redirectUrl=fm(c.rootIssueId),v.afterIssueId=null==(q=b)?void 0:q.afterIssueId,v))),6);case 6:return x.return()}})};
f.addExistingChild=function(a){var b=this,c,d,e,g;pe(function(h){if(1==h.nextAddress)return h.yield((0,D.firstValueFrom)(null!=(d=null==(c=a)?void 0:c.issue$)?d:b.rootIssue$),2);e=h.yieldResult;if(!e)return h.return();g=String(e.issueId);return h.yield(b.issuePicker.open({title:"Add Children of b/"+g,allowMultipleIds:!0,edgeType:"child"},function(l){return pe(function(q){if(1==q.nextAddress){if(0===l.length)return q.return();b.assignParentToIssues(g,l);b.analytics.trackEvent(ao.EDIT_ISSUE,"add","existing-child-issue");
return q.yield(Un(),2)}a&&qQ(b.expansion,a.ancestorChain,500);ue(q)})}),0)})};f.deleteDraftRow=function(a){this.draftRows.remove(a)};f.saveDraft=function(a){var b=this,c;return pe(function(d){if(1==d.nextAddress){if(a.saving||!a.title)return d.return();a.saving=!0;return d.yield(b.createIssueFromDraft(a),2)}return(c=d.yieldResult)?d.return(b.assignParentToIssue(a,c)):d.return()})};
f.createIssueFromDraft=function(a){var b=this,c,d,e,g;return pe(function(h){switch(h.nextAddress){case 1:return c=a.ancestorChain.parentNodeId,qe(h,2),h.yield(epc(b.issueCreationService,c,a.title),4);case 4:e=h.yieldResult;d=e.issueId;Hs(h,3);break;case 2:return g=te(h),ZG(b.butterBar,"Could not create issue. Error: "+JSON.stringify(g)),b.deleteDraftRow(a),h.return();case 3:return b.trackIssueCreationTime(a),qQ(b.expansion,a.ancestorChain.parentChain,500),Woc(b.draftRows,a,d),h.return(d)}})};
f.assignParentToIssue=function(a,b){var c=this,d,e,g,h,l,q;return pe(function(v){if(1==v.nextAddress)return d=a.ancestorChain.parentNodeId,g=null!=(e=a.afterIssueId)?e:a.afterDraftId,void 0===g||"-1"===g?v.jumpTo(2):v.yield(Voc(c.draftRows,g),2);if(4!=v.nextAddress)return v.yield(c.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:b,afterIssueId:a.afterIssueId}]),4);h=v.yieldResult;l=h.errors;(null==(q=l)?0:q.length)&&ZG(c.butterBar,"Could not create issue relationship. Error: "+JSON.stringify(l));
c.deleteDraftRow(a);ue(v)})};
f.getParentToChildrenMap=function(a,b){var c=this;b=void 0===b?0:b;return(0,D.combineLatest)([this.rootIssueId].concat(cd(a.keys())).map(function(d){return c.refetchingAll$.pipe(Ge(function(e){return!e}),$e(function(){return bec(c.issueRelationshipsFridge,d)}))})).pipe(C(function(d){return d.filter(Boolean)}),$e(function(d){var e=new Map(d.map(function(g){return[g.issueId,g]}));if(1===b)return(0,D.of)(e);d=c.getIdsAtLevel(e,b);d=new Map(d.map(function(g){return[g,10]}));return c.getParentToChildrenMap(d,
b+1).pipe(C(function(g){return mAa(e,g)}))}))};
f.getIdsAtLevel=function(a,b){for(var c=[],d=[{id:this.rootIssueId,level:-1}],e={};0<d.length;){e.$jscomp$loop$prop$current$2345=d.pop();e.$jscomp$loop$prop$current$2345.level===b&&c.push(e.$jscomp$loop$prop$current$2345.id);if(!(e.$jscomp$loop$prop$current$2345.level>b)){var g=void 0,h=void 0,l=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$current$2345.id))?void 0:g.relatedChildren)?h:[];d.push.apply(d,cd(l.map(function(q){return function(v){return{id:v.targetIssueId,level:q.$jscomp$loop$prop$current$2345.level+
1}}}(e))))}e={$jscomp$loop$prop$current$2345:e.$jscomp$loop$prop$current$2345}}return c};
f.calculateDisplayedRows=function(a){for(var b=this,c=[],d=[this.ROOT_ROW],e={};0<d.length;){e.$jscomp$loop$prop$parentRow$2347=d.pop();if("load-more-children"===e.$jscomp$loop$prop$parentRow$2347.type||"draft-issue"===e.$jscomp$loop$prop$parentRow$2347.type)c.push(e.$jscomp$loop$prop$parentRow$2347);else{e.$jscomp$loop$prop$parentRow$2347.id!==this.rootIssueId&&c.push(e.$jscomp$loop$prop$parentRow$2347);var g=void 0,h=void 0,l=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$parentRow$2347.id))?void 0:
g.relatedChildren)?h:[];g=l.slice(0,e.$jscomp$loop$prop$parentRow$2347.expandedCount);e.$jscomp$loop$prop$childrenLevel$2348=e.$jscomp$loop$prop$parentRow$2347.level+1;e.$jscomp$loop$prop$parentRow$2347.expandedCount&&g.length<l.length&&(h=nQ(e.$jscomp$loop$prop$parentRow$2347.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.$jscomp$loop$prop$childrenLevel$2348,parentIssue$:e.$jscomp$loop$prop$parentRow$2347.issue$,ancestorChain:h,truncatedSiblingCount:l.length-
g.length}));l=g.map(function(q){return function(v){var x=nQ(q.$jscomp$loop$prop$parentRow$2347.ancestorChain,v.targetIssueId);return{type:"data",id:v.targetIssueId,level:q.$jscomp$loop$prop$childrenLevel$2348,hasChildren$:b.issueRelationshipsFridge.watch(v.targetIssueId).pipe(C(sza)),ancestorChain:x,expandedCount:b.getExpandedCount(x,q.$jscomp$loop$prop$childrenLevel$2348,a),issue$:b.issueFridge.watch(v.targetIssueId)}}}(e));d.push.apply(d,cd(this.interpolateDraftRows(l,e.$jscomp$loop$prop$parentRow$2347.ancestorChain).reverse()))}e=
{$jscomp$loop$prop$parentRow$2347:e.$jscomp$loop$prop$parentRow$2347,$jscomp$loop$prop$childrenLevel$2348:e.$jscomp$loop$prop$childrenLevel$2348}}return c};
f.interpolateDraftRows=function(a,b){var c=[].concat(cd(a));b=this.draftRows.get(b);b=k(b);for(var d=b.next(),e={};!d.done;e={$jscomp$loop$prop$draft$2351:e.$jscomp$loop$prop$draft$2351},d=b.next())e.$jscomp$loop$prop$draft$2351=d.value,a.some(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$2351.issueId}}(e))||(d=c.findIndex(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$2351.afterDraftId||h.id===g.$jscomp$loop$prop$draft$2351.afterIssueId}}(e)),c.splice(-1===
d?c.length:d+1,0,e.$jscomp$loop$prop$draft$2351));return c};f.getExpandedCount=function(a,b,c){var d=a.nodeId;a=pQ(this.expansion,a);if(void 0!==a)return a;if(1>b){var e,g;return Math.min(10,null!=(g=null==(e=c.get(d))?void 0:e.relatedChildren.length)?g:0)}return 0};
f.assignParentToIssues=function(a,b){var c=this,d,e,g,h;return pe(function(l){if(1==l.nextAddress)return 0===b.length?l.return():l.yield(c.issueRelationshipsFridge.assignParentToIssues(a,b.map(function(q){return{issueId:q,afterIssueId:"-1"}})),2);d=l.yieldResult;e=d.notAdded;g=d.errors;if(e.length)return ZG(c.butterBar,"Could not add "+e+" as child of b/"+a+". "+(null==(h=g)?void 0:h.map(function(q){return am(q)}))),l.return();ue(l)})};
f.trackIssueCreationTime=function(a){a=(new Date).getTime()-a.draftStartedAt.getTime();if(0<a){var b=Math.min(a,108E5);Ndc("createIssue",b,"from-tree");this.analytics.trackEvent(ao.CREATE_ISSUE,"createIssue","time-to-create-from-tree",b);tI(this.clearcut,a,"createIssue-fromTree")}};
f.getAllIssues=function(a){for(var b=this,c=new Set,d=k(a.keys()),e=d.next();!e.done;e=d.next())c.add(e.value);a=k(a.values());for(d=a.next();!d.done;d=a.next())for(d=d.value.relatedChildren.map(function(g){return g.targetIssueId}),d=k(d),e=d.next();!e.done;e=d.next())c.add(e.value);return(0,D.combineLatest)([].concat(cd(c)).map(function(g){return b.issueFridge.watch(g)})).pipe(C(function(g){return g.filter(Ai)}))};
f.applyFilters=function(a,b,c){function d(l){if(!l)return!1;var q=e.get(l),v=g.get(l);if(!q||0===q.relatedChildren.length)return v;var x=q.relatedChildren.filter(function(A){return d(A.targetIssueId)});h+=q.relatedChildren.length-x.length;e.set(l,Object.assign({},q,{relatedChildren:x}));return 0!==x.length||v}var e=new Map(a.entries()),g=new Map(c.map(function(l){return[l.issueId,aJa(l,b)]})),h=0;d(this.rootIssueId);this.filteredRowCount$.next(h);return e};
var zQ=function(a,b,c,d,e,g,h,l,q,v){this.analytics=a;this.butterBar=b;this.issueFridge=c;this.issuePicker=d;this.issueRelationshipsFridge=e;this.paths=g;this.router=h;this.issueCreationService=l;this.clearcut=q;this.refreshMonitor=v};zQ.prototype.create=function(a,b){b=void 0===b?new MK:b;return new spc(a,b,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};
zQ.\u0275fac=function(a){return new (a||zQ)(t(EI),t(XG),t(JI),t(kQ),t(QI),t(QH),t(IH),t(rQ),t(sI),t(HI))};zQ.\u0275prov=yc({token:zQ,factory:zQ.\u0275fac,providedIn:"root"});var $rb=function(a){return!!a&&("object"===typeof a||"function"===typeof a)};var AQ=function(a,b,c,d){var e=this;this.rootElement=a;this.rows=b;this.ngZone=c;this.rowSelectionModel=d;this.onLongHover$=new D.Subject;this.onRowsMoved$=new D.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=RPb(function(g,h){if(e.activeDrag){var l=g||0,q=h.getBoundingClientRect();g=q.height;l-=q.top;
g=pJa(l<=.25*g?"top":l>=.75*g?"bottom":"middle",h);h=g.position;g=g.rowElement;switch(h){case "current":e.placeholder.style.display="block";e.insertionBar.style.display="none";e.placeholder.style.left=g.offsetLeft+"px";e.placeholder.style.top=g.offsetTop+"px";e.placeholder.style.height=g.offsetHeight+"px";break;case "before":case "after":var v=(l=null==(v=g.querySelector(".title-location"))?void 0:v.getBoundingClientRect().left)?l-g.getBoundingClientRect().left:0;v=g.offsetLeft+v;l="after"===h?g.offsetTop+
g.offsetHeight:g.offsetTop;q=g.getBoundingClientRect().width;e.insertionBar.style.display="block";e.placeholder.style.display="none";e.insertionBar.style.left=v+"px";e.insertionBar.style.top=l-1+"px";e.insertionBar.style.width=q-v+"px";break;case "none":e.placeholder.style.display="none",e.insertionBar.style.display="none"}e.currentReorderingGuide={rowElement:g,position:h};tpc(e,g,h)}},10);this.ngZone.runOutsideAngular(function(){a.addEventListener("dragover",function(g){var h,l=null==(h=g.target)?
void 0:h.closest("tr");if(l&&(e.onDragOver(g.clientY,l),l.classList.contains("dragging")||l.classList.contains("nodrop")))return!0;var q;if("none"===(null==(q=e.currentReorderingGuide)?void 0:q.position))return!0;g.preventDefault();return!1});a.addEventListener("dragend",function(){upc(e)});a.addEventListener("drop",function(){e.reorder(e.currentReorderingGuide,vpc(e.rowSelectionModel),"mouse",4);upc(e)})})};
AQ.prototype.handleDragStart=function(a){var b=this;this.activeDrag=!0;var c=a.target.closest("tr");this.rowSelectionModel.select(qJa(c));wpc(this.rowSelectionModel);xpc(this);this.dragPreview=this.dragPreviewTemplate.cloneNode(!0);document.body.appendChild(this.dragPreview);this.dragPreview.style.display="block";this.dragPreview.style.top="-1000px";this.dragPreview.innerText=1===this.rowSelectionModel.selectedCount?"Moving 1 issue":"Moving "+this.rowSelectionModel.selectedCount+" issues";a.dataTransfer.setDragImage(this.dragPreview,
0,0);a.dataTransfer.dropEffect="move";a=this.rows.toArray().filter(function(d){return b.rowSelectionModel.isSelected(d.row.ancestorChain)});a=k(a);for(c=a.next();!c.done;c=a.next())c.value.element.classList.add("dragging")};
var ypc=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)},zpc=function(a,b){var c=a.rows.toArray(),d=c.findIndex(function(g){return g.row.ancestorChain.equals(b.row.ancestorChain)});if(-1!==d&&0!==d){c=c.slice(0,d).reverse();c=k(c);for(d=c.next();!d.done;d=c.next()){d=d.value;if("load-more-children"===d.row.type){d=d.element.previousElementSibling;
if(!d)continue;var e={position:"before",rowElement:d};break}if(d.row.ancestorChain.parentChain.parentChain.equals(b.row.ancestorChain.parentChain)){e={position:"after",rowElement:d.element};break}if(d.row.ancestorChain.parentChain.equals(b.row.ancestorChain.parentChain)){e={position:"current",rowElement:d.element};break}}a.reorder(e,[b.row.ancestorChain],"keyboard",2)}};
AQ.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)}};
AQ.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?ypc(this,a):(b=c&&b.row.level<oJa(c)?{position:"before",rowElement:c}:{position:"after",rowElement:b.element},this.reorder(b,[a.row.ancestorChain],"keyboard",1))}};
AQ.prototype.onKeydown=function(a){if(a.ctrlKey){var b,c=null==(b=a.target)?void 0:b.closest("tr");if(c){var d=qJa(c);if(b=this.rows.toArray().find(function(e){return e.row.ancestorChain.equals(d)}))switch(a.key){case "ArrowLeft":ypc(this,b);break;case "ArrowRight":zpc(this,b);break;case "ArrowUp":this.moveUp(b);break;case "ArrowDown":this.moveDown(b)}}}};
AQ.prototype.reorder=function(a,b,c,d){var e=this;if(a){var g=qJa(a.rowElement),h=void 0,l=g;switch(a.position){case "current":l=g;h={parentId:g.nodeId};break;case "before":case "after":l=g.parentChain,h={parentId:g.parentNodeId,position:{issueId:g.nodeId,position:a.position}}}this.ngZone.run(function(){b.length&&h&&e.onRowsMoved$.next({movedRows:b,insertAt:h,parentAncestorChain:l,origin:c,actionMessage:nJa(d)})})}};
var upc=function(a){for(var b=k(a.rootElement.querySelectorAll("tr.dragging")),c=b.next();!c.done;c=b.next())c.value.classList.remove("dragging");b=k(a.rootElement.querySelectorAll("tr.nodrop"));for(c=b.next();!c.done;c=b.next())c.value.classList.remove("nodrop");a.rowSelectionModel.clear();a.placeholder.style.display="none";a.insertionBar.style.display="none";var d;null==(d=a.updatingNoDropRows)||d.unsubscribe();var e,g;null==(e=a.dragPreview)||null==(g=e.parentElement)||g.removeChild(a.dragPreview);
a.activeDrag=!1},tpc=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 qJa(b).equals(e.row.ancestorChain)});d&&(a.ngZone.run(function(){a.onLongHover$.next(d)}),a.longHoveredRow.emitted=!0)}},xpc=function(a){var b;
null==(b=a.updatingNoDropRows)||b.unsubscribe();a.updatingNoDropRows=a.rows.changes.pipe(Ze(null)).subscribe(function(){var c=a.rows.toArray(),d=new Set(a.rowSelectionModel.selectedRows.map(function(g){return g.nodeId}));c=k(c);for(var e=c.next();!e.done;e=c.next())e=e.value,e.row.ancestorChain.some(function(g){return d.has(g)})&&e.element.classList.add("nodrop")})};var BQ=function(a){rF.call(this);var b=this;this.analytics=a;this.dragStarted$=new D.Subject;this.onRowsMoved$=new D.Subject;(0,D.merge)(this.dragStarted$,this.onRowsMoved$).pipe(aAa(),af(this.destroyed$)).subscribe(function(c){var d=c[c.length-1].timestamp-c[0].timestamp;c=Al(c.map(function(e){return e.event.origin}));c=1===c.length?c[0]:"mixed";b.analytics.trackEvent(ao.EDIT_ISSUE,"reorderChildren",c);Ndc("reorderChildren",d,c)})};T(BQ,rF);BQ.\u0275dir=rF.\u0275dir;
BQ.\u0275fac=function(a){return new (a||BQ)(t(EI))};BQ.\u0275prov=yc({token:BQ,factory:BQ.\u0275fac,providedIn:"root"});var CQ=function(){this.changed$=new D.Subject;this.selectedRowHashes=new Set;this.isSelectedObservableMap=new Map};CQ.prototype.init=function(a){this.visibleRows=a};CQ.prototype.isSelected=function(a){return this.selectedRowHashes.has(a.hash())};var mKa=function(a,b){var c=b.hash(),d,e=null!=(d=a.isSelectedObservableMap.get(c))?d:a.changed$.pipe(Ze(a.selectedRowHashes),C(function(g){return g.has(b.hash())}),Ne(),Xe({refCount:!0,bufferSize:1}));a.isSelectedObservableMap.set(c,e);return e};
CQ.prototype.select=function(a){this.selectedRowHashes.add(a.hash());this.changed$.next(this.selectedRowHashes)};CQ.prototype.clear=function(){this.selectedRowHashes.clear();this.changed$.next(this.selectedRowHashes)};
var wpc=function(a){for(var b=a.visibleRows.toArray().map(function(l){return l.row.ancestorChain}),c=!1,d=k(a.selectedRowHashes.values()),e=d.next();!e.done;e=d.next()){e=eo(e.value);for(var g=k(b),h=g.next();!h.done;h=g.next())h=h.value,Uoc(e,h)&&(a.selectedRowHashes.add(h.hash()),c=!0)}c&&a.changed$.next(a.selectedRowHashes)},vpc=function(a){var b=a.visibleRows.toArray().map(function(g){return g.row});b=new Map(b.filter(function(g){return"data"===g.type}).map(function(g){return[g.ancestorChain.hash(),
g]}));var c=new Set([].concat(cd(a.selectedRowHashes.values())).map(function(g){return eo(g)}).map(function(g){return g.nodeId})),d=[];a=k(a.selectedRowHashes.values());for(var e=a.next();!e.done;e=a.next())(e=b.get(e.value))&&(e.ancestorChain.parentChain.some(function(g){return c.has(g)})||d.push(e.ancestorChain));return d};
sh.Object.defineProperties(CQ.prototype,{selectedRows:{configurable:!0,enumerable:!0,get:function(){return[].concat(cd(this.selectedRowHashes)).map(function(a){return eo(a)})}},selectedCount:{configurable:!0,enumerable:!0,get:function(){return this.selectedRowHashes.size}}});var aKa=function(a){return{cl:a}},Apc=function(){return["focus-indicator","load-more-children"]},Bpc=ao.EXPERIMENTAL_HOMEPAGE,Cpc={type:"data",id:"",issue$:D.NEVER,hasChildren$:D.NEVER,ancestorChain:new mQ([]),level:0,expandedCount:0},DQ=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q){rF.call(this);var Y=this;this.issueRelationshipsFridge=a;this.router=b;this.butterBar=c;this.analytics=d;this.issueArchiveService=e;this.ngZone=g;this.elementRef=h;this.domSafe=q;this.reorderingSessionTracker=v;this.cdr=x;this.expandableIssuesTableModelFactory=
A;this.liveAnnouncer=G;this.clearcut=M;this.paths=Q;this.getUserInvolvement=awa;this.quickFilters=new MK;this.tableColumns="focus-indicator drag-handle title type id assignee status cls menu".split(" ");this.options={};this.trackBy=function(W,ia){return ia.ancestorChain.hash()+ia.type};this.isLoadMoreRow=function(W,ia){return"load-more-children"===ia.type};this.isDataRow=function(W,ia){return"data"===ia.type};this.isDraftRow=function(W,ia){return"draft-issue"===ia.type};this.selectionModel=new CQ;
this.hasLogged=!1;this.correctedDisplayedRows=new eg;this.TITLE_FIXED_OFFSET_PX=42;this.rowDirectiveMap=new Map;this.getRowIndex=function(W){var ia;return(null!=(ia=on(Y.rows$))?ia:[]).findIndex(function(ja){return co(ja,W)})};this.showError=function(W){return function(ia){ZG(Y.butterBar,W+". "+($l(ia)?am(ia):ia))}};this.subscriptions.add(yQ(l,function(){return Y.tableModel.draftRows.isSaving()||Y.issueRelationshipsFridge.isSaving()},!1))};T(DQ,rF);DQ.\u0275dir=rF.\u0275dir;
var TJa=function(a,b){if(null==b)return!1;var c,d;return!!(null==(c=a.projectData)?0:null==(d=c.bugToPendingFixCl)?0:d.has(b))};f=DQ.prototype;f.isClosed=function(a){if(this.options.showPendingFixCls){var b=TJa(this,null==a?void 0:a.issueId);return fva(a)||b}return fva(a)};f.getAssigneeString=function(a){var b,c;return Cn(pi(null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.assigneeUser)||void 0)};f.isInProgress=function(a){return"ACCEPTED"===(null==a?void 0:a.snapshot[0].status)};
f.ldapOnly=function(a){return null==a?void 0:a.split("@")[0]};
f.ngOnInit=function(){var a=this;this.tableModel=this.expandableIssuesTableModelFactory.create(this.rootIssueId,this.quickFilters,this.saveExpansionAtKey);this.destroyed$.subscribe(function(){a.tableModel.ngOnDestroy()});this.rows$=(0,D.scheduled)([this.tableModel.rows$,(0,D.of)([Cpc])],D.asyncScheduler).pipe(Be(1),Xe({refCount:!0,bufferSize:1}));var b=this.rows$.pipe($e(function(c){return(0,D.combineLatest)(c.filter(function(d){return"data"===d.type}).map(function(d){return d.issue$}))}),Le(0,D.asapScheduler));
this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();a.trackRelationsData(c)}));this.rowReorderingModel=new AQ(this.elementRef.nativeElement,this.correctedDisplayedRows,this.ngZone,this.selectionModel);this.subscriptions.add(this.rowReorderingModel.onLongHover$.subscribe(function(c){var d=c.row;"load-more-children"===d.type?a.displayAllSiblings(d):"data"===d.type&&(c=a.tableModel.expansion,d=d.ancestorChain,pQ(c,d)||qQ(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;
return pe(function(e){if(1==e.nextAddress)return hec(a.issueRelationshipsFridge,c.insertAt,c.movedRows.map(function(g){return{issueId:g.nodeId,parentId:g.parentNodeId}})).then(function(){return a.liveAnnouncer.announce(c.actionMessage+" successfully.")}).catch(a.showError("Unable to reorder issues")),Zoc(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),e.yield((0,D.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(C(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.ancestorChain.nodeId===
c.movedRows[0].nodeId&&h.row.ancestorChain.parentNodeId===c.insertAt.parentId})}),Ge(Boolean),Ie(6E4))),2);d=e.yieldResult;d.focus();ue(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
f.trackRelationsData=function(a){if(!this.hasLogged&&0!==a.length){this.hasLogged=!0;var b=a.length,c=0===document.querySelectorAll("b-issue-relations-table b-expandable-issue-title-cell .collapsed").length+document.querySelectorAll('b-issue-relations-table [data-type="load-more-children"]').length;uI(this.clearcut,"view-relations-"+(c?"all-loaded":"some-loaded"));this.analytics.trackEvent(Bpc,"view-relations","visible-count",b);c&&(a=a.filter(function(d){var e;return null!=(null==d?void 0:null==
(e=d.snapshot[0])?void 0:e.effort)}).length/b,uI(this.clearcut,"view-relations-"+(.5<a?"most-estimated":"most-unestimated")),this.analytics.trackEvent(Bpc,"view-relations","ratio-estimated",a))}};
f.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);(0,D.combineLatest)([this.rows$,this.displayedRows.changes]).pipe(af(this.destroyed$)).subscribe(function(b){b=k(b).next().value;a.rowDirectiveMap=new Map(a.displayedRows.map(function(c){return[c.row.ancestorChain.hash(),c]}));b=b.map(function(c){return a.rowDirectiveMap.get(c.ancestorChain.hash())}).filter(Boolean);a.correctedDisplayedRows.reset(b);$f(a.correctedDisplayedRows)});this.focusManager=yz(new amc(this.correctedDisplayedRows,
co))};f.toggleExpansion=function(a){qQ(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};f.navigateToIssue=function(a,b){!b.id||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(this.analytics.trackEvent(Bpc,"navigate","to-child-issue"),b=em(b.id),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Zn(this.domSafe,b):ls(this.router,b))};
f.displayAllSiblings=function(a){var b=this,c;return pe(function(d){if(1==d.nextAddress)return c=b.getRowIndex(a),qQ(b.tableModel.expansion,a.ancestorChain.parentChain,500),d.yield(Un(),2);b.focusManager.setActiveItem(c);ue(d)})};f.getMenuItemsForDraft=function(a){var b=this;return[{type:"action",label:"Continue on the create issue page",action:function(c){return b.navigateToCreateIssuePage(c,a)},title:"Continue on the create issue page",icon:"arrow-forward"}]};
f.getMenuItems=function(a){var b=this,c=[{type:"action",label:"Go to issue",action:function(g){b.navigateToIssue(g,a)},title:"Go to issue",icon:"arrow-forward"},{type:"action",label:"View Children",disabled:!on(a.hasChildren$),action:function(){var g=hm({q:"parentid:"+a.id});b.domSafe.openInNewTab(g)},title:"View the children of this issue on the main search page",icon:"pop-out"},{type:"action",label:"Create child",action:function(){return pe(function(g){if(1==g.nextAddress)return g.yield(Un(),2);
b.createChildIssue(a);ue(g)})},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 pe(function(g){if(1==g.nextAddress)return g.yield(Un(),2);b.createSiblingIssue(a);ue(g)})},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(){zpc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},
{type:"action",label:"Unindent",action:function(){ypc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Unindent",icon:"arrow-left",hintText:"shift+ctrl+left"}]},{type:"action",label:"Unlink from parent",action:function(){b.unlinkFromParent(a)},title:"Unlink from parent",icon:"link-off"},{type:"action",label:"Archive",action:function(){b.archiveRow(a)},title:"Archive issue",icon:"archive_24px"}],d,e;return null!=(e=null==(d=this.modifyMenuItems)?void 0:d.call(this,a,c))?
e:c};f.saveDraft=function(a){var b=this,c,d;return pe(function(e){if(1==e.nextAddress){if(!a.title)return e.return();b.tableModel.saveDraft(a);b.focusManager.setActiveItem(b.getRowIndex(a));return e.yield((0,D.firstValueFrom)(b.displayedRows.changes.pipe(C(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.id===a.issueId})}),Ge(Boolean),Ie(6E4))),2)}c=e.yieldResult;co(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);ue(e)})};
f.cancelDraft=function(a){if(!a.saving){this.tableModel.deleteDraftRow(a);var b;co(null==(b=this.focusManager.activeItem)?void 0:b.row,a)&&this.focusManager.setPreviousItemActive()}};f.createChildIssue=function(a){this.tableModel.createChildOrDraft(null==a?void 0:a.ancestorChain,{afterIssueId:"-1"})};f.createSiblingIssue=function(a){"data"===a.type?this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterIssueId:a.id}):this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterDraftId:a.id})};
f.addExistingChild=function(a){this.tableModel.addExistingChild(a)};f.getDraftColumns=function(){return this.tableColumns.map(function(a){return"title"===a?"editable-title":"menu"===a?"save":"id"===a?"empty-id":a})};f.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
f.onRowKeydown=function(a,b){var c=this,d;return pe(function(e){if(1==e.nextAddress){c.focusManager.onKeydown(b);c.rowReorderingModel.onKeydown(b);switch(b.keyCode){case 39:case 37:if(b.ctrlKey)return e.return();"data"===a.type&&(c.toggleExpansion(a),b.preventDefault());"load-more-children"===a.type&&(c.displayAllSiblings(a),b.preventDefault());break;case 13:return e.jumpTo(2)}return e.jumpTo(0)}if(4!=e.nextAddress)return"BUTTON"!==b.target.tagName||b.shiftKey||b.metaKey?e.yield(c.tableModel.isOneLineCreationSupported(),
4):e.return();d=e.yieldResult;if(!d)return e.return();"data"===a.type&&(b.shiftKey?c.createChildIssue(a):c.createSiblingIssue(a));"draft-issue"===a.type&&a.saving&&c.createSiblingIssue(a);b.preventDefault();return e.jumpTo(0)})};
f.navigateToCreateIssuePage=function(a,b){var c=this,d,e,g,h,l,q,v,x;return pe(function(A){if(1==A.nextAddress)return a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button?A.return():A.yield((0,D.firstValueFrom)(b.issue$),2);d=A.yieldResult;v={};x=c.paths.createIssue((v.component=String(null==(e=d)?void 0:e.snapshot[0].componentId),v.parentIssueId=b.ancestorChain.parentChain.nodeId,v.redirectUrl=fm(c.rootIssueId),v.afterIssueId=b.afterIssueId,v.title=b.title,v.priority=null!=
(l=null==(g=d)?void 0:g.snapshot[0].priority)?l:void 0,v.type=null!=(q=null==(h=d)?void 0:h.snapshot[0].type)?q:void 0,v));if(a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button)return c.cancelDraft(b),c.domSafe.openInNewTab(x),A.return();if(a&&a.shiftKey)return c.cancelDraft(b),Zn(c.domSafe,x),A.return();ls(c.router,x);ue(A)})};
f.archiveRow=function(a){var b=this,c,d;pe(function(e){if(1==e.nextAddress)return b.analytics.trackEvent(Bpc,"update","archive-child-issue"),c=b.getRowIndex(a),b.issueArchiveService.archive(a.id),e.yield((0,D.firstValueFrom)(b.rows$.pipe(C(function(g){return!g.find(function(h){return"data"===h.type&&h.id===a.id})}),Ge(Boolean),Ie(6E4))),2);co(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);ue(e)})};
f.unlinkFromParent=function(a){var b=this,c,d;return pe(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent(Bpc,"update","unlink-child-issue");return e.yield(b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){YG(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};
sh.Object.defineProperties(DQ.prototype,{filters:{configurable:!0,enumerable:!0,set:function(a){this.quickFilters.reset(a)},get:function(){return[].concat(cd(this.quickFilters))}},model:{configurable:!0,enumerable:!0,get:function(){return this.tableModel}}});DQ.\u0275fac=function(a){return new (a||DQ)(B(QI),B(IH),B(XG),B(EI),B(wQ),B(df),B(Dd),B(xQ),B(vL),B(BQ),B(AI),B(tQ),B(mz),B(sI),B(QH))};
DQ.\u0275cmp=Oc({type:DQ,selectors:[["expandable-issues-table"]],viewQuery:function(a,b){a&1&&bg(yN,5);if(a&2){var c;ag(c=dg())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",filters:"filters",saveExpansionAtKey:"saveExpansionAtKey",projectData:"projectData",modifyMenuItems:"modifyMenuItems",tableColumns:"tableColumns",options:"options"},features:[Of([AI]),kf],decls:49,vars:10,consts:[["mat-table","","multiTemplateDataRows","",1,"full-width",3,"dataSource","trackBy"],["matColumnDef","focus-indicator"],
["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","drag-handle"],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","empty-id"],["matColumnDef","title"],["matColumnDef","type"],["matColumnDef","assignee"],["matColumnDef","status"],["matColumnDef","team"],["matColumnDef","menu"],["matColumnDef","cls"],["matColumnDef","save"],["mat-cell",
"","class","text-center",4,"matCellDef"],["matColumnDef","load-more-children"],["mat-cell","",3,"padding-left",4,"matCellDef"],["matColumnDef","editable-title"],[4,"ngIf"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","selected","closed","highlighted","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","",3,"row","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","","class","draft","cdkTrapFocus",
"",3,"row","keydown","keydown.escape","keydown.backspace","focusin",4,"matRowDef","matRowDefColumns","matRowDefWhen"],[1,"drag-preview"],[1,"placeholder"],[1,"insertion-bar"],["mat-header-cell",""],["tabindex","-1","mat-cell","",3,"click"],["focusIndicator",""],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart"],["dragHandle",""],["svgIcon","drag-indicator",1,"icon-s"],["mat-cell",""],[3,"id"],[3,"issue","expandable","expanded","level","expansionChange"],[3,"issue"],[3,"ngSwitch"],
[4,"ngSwitchCase"],[3,"issue",4,"ngSwitchDefault"],[3,"email"],[3,"email",4,"ngIf"],[4,"ngIf","ngIfElse"],["normalStatusChip",""],["target","_blank",1,"chippy","status-4","pending-fix-msg",3,"href","matTooltip"],["buttonLabel","More options",3,"menuItems","click"],[3,"isReady",4,"ngIf"],[3,"isReady"],["target","_blank",1,"hover-link","nowrap",3,"href","matTooltip","click"],["mode","relativepast",3,"paddingLeftPx","timestamp"],["mat-cell","",1,"text-center"],["buttonLabel","More options",3,"menuItems",
"click",4,"ngIf","ngIfElse"],["saving",""],["format","flat",3,"onAction"],[1,"title-location"],[1,"flex-kids-x","align-items-center","gap-s"],["placeholder","Start typing the title...",1,"grow-1",3,"value","readonly","valueChange","commit"],["color","primary","format","fill","size","small","title","Create issue","matTooltip","(Shortcut: Enter)",3,"disabled","onAction"],["format","flat","size","small","title","Cancel","matTooltip","(Shortcut: Esc)",3,"disabled","onAction"],["mat-header-row","",4,"matHeaderRowDef"],
["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"row","click","mouseup","focusin","keydown"],["mat-row","",3,"row","focusin","keydown"],["mat-row","","cdkTrapFocus","",1,"draft",3,"row","keydown","keydown.escape","keydown.backspace","focusin"]],template:function(a,b){a&1&&(F(0,"table",0),J(1,1),O(2,rJa,1,0,"th",2),O(3,sJa,2,0,"td",3),K(),J(4,4),O(5,tJa,1,0,"th",2),O(6,uJa,3,0,"td",5),K(),J(7,6),O(8,vJa,2,0,"th",2),O(9,wJa,2,1,"td",7),K(),J(10,8),O(11,xJa,2,0,"th",2),
O(12,yJa,2,0,"td",7),K(),J(13,9),O(14,zJa,2,0,"th",2),O(15,AJa,4,8,"td",7),K(),J(16,10),O(17,BJa,2,0,"th",2),O(18,CJa,3,3,"td",7),K(),J(19,11),O(20,DJa,2,0,"th",2),O(21,OJa,6,4,"td",7),K(),J(22,12),O(23,PJa,2,0,"th",2),O(24,UJa,4,2,"td",7),K(),J(25,13),O(26,VJa,2,0,"th",2),O(27,WJa,3,3,"td",7),K(),J(28,14),O(29,XJa,1,0,"th",2),O(30,YJa,2,1,"td",7),K(),J(31,15),O(32,ZJa,2,0,"th",2),O(33,cKa,2,1,"td",7),K(),J(34,16),O(35,dKa,1,0,"th",2),O(36,gKa,4,2,"td",17),K(),J(37,18),O(38,hKa,6,7,"td",19),K(),J(39,
20),O(40,iKa,2,0,"th",2),O(41,jKa,7,6,"td",19),K(),O(42,lKa,2,1,"ng-container",21),O(43,nKa,4,16,"tr",22),O(44,oKa,1,4,"tr",23),O(45,pKa,1,2,"tr",24),H(),I(46,"div",25)(47,"div",26)(48,"div",27));a&2&&(E("dataSource",b.rows$)("trackBy",b.trackBy),z(42),E("ngIf",!b.options.hideHeader),z(1),E("matRowDefColumns",b.tableColumns)("matRowDefWhen",b.isDataRow),z(1),E("matRowDefColumns",Qf(9,Apc))("matRowDefWhen",b.isLoadMoreRow),z(1),E("matRowDefColumns",b.getDraftColumns())("matRowDefWhen",b.isDraftRow))},
dependencies:[Xx,Rw,Sw,Tw,Uw,HB,JM,BM,FM,CM,AM,GM,DM,EM,HM,IM,lD,VL,GL,vQ,FL,eO,HL,qN,KL,NL,UL,sO,uL,WL,WM,yN,zL,Xw,uQ],styles:['.mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]{box-sizing:border-box;cursor:move;outline-width:0;padding:0px;width:18px}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:32px;opacity:.2}.mat-header-cell.mat-column-title[_ngcontent-%COMP%]{padding-left:36px;min-width:250px}.insertion-bar[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);display:none;height:2px;pointer-events:none;position:absolute}.insertion-bar[_ngcontent-%COMP%]::before{content:"";border-bottom:5px solid rgba(0,0,0,0);border-left:8px solid;border-left-color:#1a73e8;border-left-color:var(--primary-btn-bg);border-top:5px solid rgba(0,0,0,0);display:block;height:0;position:relative;top:-4px;width:0}a.pending-fix-msg[_ngcontent-%COMP%], [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:hover, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:focus, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:active, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]{color:var(--b-status-fixed-text)}.placeholder[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);border-radius:4px;box-sizing:border-box;display:none;opacity:.7;pointer-events:none;position:absolute;top:0;width:100%}.drag-preview[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--inverse-text);border-radius:4px;display:none;padding:7px 13px;position:absolute}tr.dragging[_ngcontent-%COMP%], tr.nodrop[_ngcontent-%COMP%]{opacity:.5}tr.closed[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--row-fixed-bg)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#1a73e8;color:var(--link)}[_nghost-%COMP%]{display:block;position:relative;padding-bottom:5px;overflow-y:hidden;overflow-x:auto}[_nghost-%COMP%]     .mat-column-assignee b-user-image img{max-width:24px;vertical-align:middle}/*# sourceMappingURL=expandable_issues_table.css.map */'],
changeDetection:0});var EQ=function(a){this.internalArray_=m(a)};T(EQ,p);f=EQ.prototype;f.getComponentId=function(){return qj(this,Go(this,FQ,1))};f.setComponentId=function(a){return so(this,1,FQ,a)};f.hasComponentId=function(){return null!=pt(this,1,FQ)};f.getHotlistId=function(){return qj(this,Go(this,FQ,2))};f.setHotlistId=function(a){so(this,2,FQ,a)};f.getTeamId=function(){return ot(this,5,FQ)};f.setTeamId=function(a){return yo(this,5,FQ,a)};var FQ=[1,2,5];EQ.prototype.toObject=function(){return Dpc(this)};
var Dpc=function(a){if(null!=a)return r(a),{componentId:n(pt(a,1,FQ)),hotlistId:n(pt(a,2,FQ)),teamId:n(Io(a,5,FQ)),syncStartTime:Lt(X(a,Nh,3)),syncEndTime:Lt(X(a,Nh,4))}};var Epc=function(a){this.internalArray_=m(a)};T(Epc,p);Epc.prototype.getSourceSyncStateList=function(){return kj(this,EQ,2)};Epc.repeatedFields_=[1,2];Epc.prototype.toObject=function(){return Fpc(this)};var Fpc=function(a){if(null!=a)return r(a),{componentIdsList:n(rl(a,1)),sourceSyncStateList:Ub(a.getSourceSyncStateList(),Dpc)}};var Gpc=function(a){this.internalArray_=m(a)};T(Gpc,p);Gpc.prototype.getHotlistId=function(){return qj(this,1)};Gpc.prototype.setHotlistId=function(a){Jb(this,1,a)};Gpc.prototype.toObject=function(){return Hpc(this)};var Hpc=function(a){if(null!=a)return r(a),{hotlistId:qj(a,1),sourceSyncState:Dpc(X(a,EQ,2))}};var Ipc=function(a){this.internalArray_=m(a)};T(Ipc,p);Ipc.prototype.getEmail=function(){return U(this,1)};Ipc.prototype.setEmail=function(a){return wj(this,1,a)};Ipc.prototype.toObject=function(){return Jpc(this)};var Jpc=function(a){if(null!=a)return r(a),{email:U(a,1),isGroup:Tj(a,2)}};var GQ=function(a){this.internalArray_=m(a)};T(GQ,p);GQ.prototype.setTeamIdsList=function(a){return Pi(this,1,a)};GQ.prototype.getSourceSyncStateList=function(){return kj(this,EQ,2)};GQ.repeatedFields_=[1,2];GQ.prototype.toObject=function(){return Kpc(this)};var Kpc=function(a){if(null!=a)return r(a),{teamIdsList:n(Th(a,1)),sourceSyncStateList:Ub(a.getSourceSyncStateList(),Dpc)}};var Lpc=function(a){this.internalArray_=m(a)};T(Lpc,p);var Mpc=[1,2];Lpc.prototype.toObject=function(){return Npc(this)};var Npc=function(a){if(null!=a)return r(a),{buganizerStatus:n(qt(a,1,Mpc)),customStatusId:n(pt(a,2,Mpc))}};var HQ=function(a){this.internalArray_=m(a)};T(HQ,p);HQ.prototype.getName=function(){return U(this,1)};HQ.prototype.setName=function(a){return wj(this,1,a)};HQ.repeatedFields_=[2];HQ.prototype.toObject=function(){return Opc(this)};var Opc=function(a){if(null!=a)return r(a),{name:U(a,1),buganizerOrCustomStatusesList:Ub(kj(a,Lpc,2),Npc),itemLimit:qj(a,3)}};var Ppc=function(a){this.internalArray_=m(a)};T(Ppc,p);f=Ppc.prototype;f.getCustomFieldId=function(){return qj(this,1)};f.setCustomFieldId=function(a){return Jb(this,1,a)};f.getCustomFieldValue=function(){return U(this,2)};f.setCustomFieldValue=function(a){return wj(this,2,a)};f.clearCustomFieldValue=function(){return ct(this,2)};f.toObject=function(){return Qpc(this)};var Qpc=function(a){if(null!=a)return r(a),{customFieldId:qj(a,1),customFieldValue:U(a,2)}};var Rpc=function(a){this.internalArray_=m(a)};T(Rpc,p);f=Rpc.prototype;f.getId=function(){return qj(this,1)};f.setId=function(a){return Jb(this,1,a)};f.getName=function(){return U(this,2)};f.setName=function(a){return wj(this,2,a)};f.setColor=function(a){return wj(this,4,a)};f.clearColor=function(){return ct(this,4)};f.getCustomField=function(){return X(this,Ppc,6)};f.setCustomField=function(a){return hj(this,Ppc,6,a)};f.toObject=function(){return Spc(this)};
var Spc=function(a){if(null!=a)return r(a),{id:qj(a,1),name:U(a,2),color:U(a,4),buganizerStatus:Zi(a,5,0),customField:Qpc(a.getCustomField())}};var Tpc=function(a){this.internalArray_=m(a)};T(Tpc,p);Tpc.prototype.getId=function(){return qj(this,1)};Tpc.prototype.setId=function(a){return Jb(this,1,a)};Tpc.prototype.toObject=function(){return Upc(this)};var Upc=function(a){if(null!=a)return r(a),{id:qj(a,1)}};var Vpc=function(a){this.internalArray_=m(a)};T(Vpc,p);Vpc.prototype.setWorkItemId=function(a){return wj(this,1,a)};Vpc.prototype.toObject=function(){return Wpc(this)};var Wpc=function(a){if(null!=a)return r(a),{workItemId:U(a,1)}};var Xpc=function(a){this.internalArray_=m(a)};T(Xpc,p);Xpc.prototype.toObject=function(){return Ypc(this)};var Ypc=function(a){if(null!=a)return r(a),{}};var Zpc=function(a){this.internalArray_=m(a)};T(Zpc,p);Zpc.prototype.toObject=function(){return $pc(this)};var $pc=function(a){if(null!=a)return r(a),{}};var aqc=function(a){this.internalArray_=m(a)};T(aqc,p);aqc.prototype.getId=function(){return qj(this,Go(this,bqc,1))};aqc.prototype.setId=function(a){return so(this,1,bqc,a)};var bqc=[1,2,3];aqc.prototype.toObject=function(){return cqc(this)};var cqc=function(a){if(null!=a)return r(a),{id:n(pt(a,1,bqc)),iterationType:n(qt(a,2,bqc)),iterationTag:n(qt(a,3,bqc))}};var dqc=function(a){this.internalArray_=m(a)};T(dqc,p);dqc.prototype.getId=function(){return qj(this,1)};dqc.prototype.setId=function(a){return Jb(this,1,a)};dqc.prototype.toObject=function(){return eqc(this)};var eqc=function(a){if(null!=a)return r(a),{id:qj(a,1)}};var IQ=function(a){this.internalArray_=m(a)};T(IQ,p);IQ.prototype.getQuery=function(){return U(this,1)};IQ.prototype.setQuery=function(a){return wj(this,1,a)};IQ.prototype.clearQuery=function(){ct(this,1)};IQ.prototype.toObject=function(){return fqc(this)};var fqc=function(a){if(null!=a)return r(a),{query:U(a,1)}};var gqc=function(a){this.internalArray_=m(a)};T(gqc,p);gqc.prototype.getId=function(){return U(this,1)};gqc.prototype.setId=function(a){return wj(this,1,a)};gqc.prototype.toObject=function(){return hqc(this)};var hqc=function(a){if(null!=a)return r(a),{id:U(a,1)}};var iqc=function(a){this.internalArray_=m(a)};T(iqc,p);var JQ=[1,2,3,4,5,6,7,8];iqc.prototype.toObject=function(){return jqc(this)};var jqc=function(a){if(null!=a)return r(a),{backlogScope:Upc(ck(a,Tpc,1,JQ)),drillinScope:Wpc(ck(a,Vpc,2,JQ)),goalsScope:Ypc(ck(a,Xpc,3,JQ)),inboxScope:$pc(ck(a,Zpc,4,JQ)),iterationScope:cqc(ck(a,aqc,5,JQ)),searchScope:fqc(ck(a,IQ,6,JQ)),tagScope:hqc(ck(a,gqc,7,JQ)),savedQueryScope:eqc(ck(a,dqc,8,JQ))}};var kqc=function(a){this.internalArray_=m(a)};T(kqc,p);kqc.prototype.getScope=function(){return X(this,iqc,2)};kqc.prototype.toObject=function(){return lqc(this)};var lqc=function(a){if(null!=a)return r(a),{savedViewId:U(a,1),scope:jqc(a.getScope())}};var KQ=function(a){this.internalArray_=m(a)};T(KQ,p);KQ.prototype.getPriority=function(a){return lt(this,1,a)};KQ.prototype.setPriority=function(a,b){return Db(this,1,a,b,cl)};KQ.repeatedFields_=[1,2];KQ.prototype.toObject=function(){return mqc(this)};var mqc=function(a){if(null!=a)return r(a),{priorityList:n(cl(a,1)),itemTypesList:n(cl(a,2))}};var nqc=function(a){this.internalArray_=m(a)};T(nqc,p);nqc.prototype.toObject=function(){return oqc(this)};var oqc=function(a){if(null!=a)return r(a),{defaultStartAsBlank:n(vr(a,1)),estimateAndDependenciesMax:n(vr(a,2))}};var pqc=function(a){this.internalArray_=m(a)};T(pqc,p);pqc.prototype.toObject=function(){return qqc(this)};var qqc=function(a){if(null!=a)return r(a),{parentIssueType:Zi(a,1,0),childIssueType:Zi(a,2,0)}};var LQ=function(a){this.internalArray_=m(a)};T(LQ,p);LQ.prototype.getType=function(){return Zi(this,1,0)};LQ.prototype.setType=function(a){return Yi(this,1,a)};LQ.prototype.getScope=function(){return X(this,iqc,2)};LQ.prototype.toObject=function(){return rqc(this)};var rqc=function(a){if(null!=a)return r(a),{type:Zi(a,1,0),scope:jqc(a.getScope())}};var sqc=function(a){this.internalArray_=m(a)};T(sqc,p);sqc.repeatedFields_=[1,2];sqc.prototype.toObject=function(){return tqc(this)};var tqc=function(a){if(null!=a)return r(a),{rootLevelItemDefaultsList:Ub(kj(a,LQ,1),rqc),preferredParentChildIssueTypesList:Ub(kj(a,pqc,2),qqc),inheritedParentFields:aE(X(a,$D,3)),inheritedSiblingFields:aE(X(a,$D,4))}};var uqc=function(a){this.internalArray_=m(a)};T(uqc,p);uqc.repeatedFields_=[1];uqc.prototype.toObject=function(){return vqc(this)};var vqc=function(a){if(null!=a)return r(a),{workspaceIdsList:n(rl(a,1))}};var MQ=function(a){this.internalArray_=m(a)};T(MQ,p);MQ.prototype.getAssignee=function(){return U(this,2)};MQ.prototype.setAssignee=function(a){wj(this,2,a)};MQ.prototype.clearAssignee=function(){return ct(this,2)};MQ.prototype.toObject=function(){return wqc(this)};var wqc=function(a){if(null!=a)return r(a),{promptUser:Tj(a,1),assignee:U(a,2),removeAssignee:Tj(a,3)}};var xqc=function(a){this.internalArray_=m(a)};T(xqc,p);xqc.repeatedFields_=[2,3];xqc.prototype.toObject=function(){return yqc(this)};var yqc=function(a){if(null!=a)return r(a),{promptUser:Tj(a,1),addCcsList:n(Th(a,2)),removeCcsList:n(Th(a,3))}};var zqc=function(a){this.internalArray_=m(a)};T(zqc,p);zqc.prototype.getComment=function(){return U(this,2)};zqc.prototype.setComment=function(a){wj(this,2,a)};zqc.prototype.toObject=function(){return Aqc(this)};var Aqc=function(a){if(null!=a)return r(a),{promptUser:Tj(a,1),comment:U(a,2)}};var Bqc=function(a){this.internalArray_=m(a)};T(Bqc,p);Bqc.prototype.getComponentId=function(){return qj(this,1)};Bqc.prototype.setComponentId=function(a){return Jb(this,1,a)};Bqc.prototype.toObject=function(){return Cqc(this)};var Cqc=function(a){if(null!=a)return r(a),{componentId:qj(a,1),promptUser:Tj(a,2)}};var Dqc=function(a){this.internalArray_=m(a)};T(Dqc,p);f=Dqc.prototype;f.getCustomFieldValue=function(){return X(this,DE,2)};f.setCustomFieldValue=function(a){return hj(this,DE,2,a)};f.clearCustomFieldValue=function(){return ct(this,2)};f.hasCustomFieldValue=function(){return Nj(this,DE,2)};f.toObject=function(){return Eqc(this)};var Eqc=function(a){if(null!=a)return r(a),{promptUser:Tj(a,1),customFieldValue:u7b(a.getCustomFieldValue())}};var Fqc=function(a){this.internalArray_=m(a)};T(Fqc,p);Fqc.repeatedFields_=[2,3];Fqc.prototype.toObject=function(){return Gqc(this)};var Gqc=function(a){if(null!=a)return r(a),{promptUser:Tj(a,1),addGoalIdsList:n(rl(a,2)),removeGoalIdsList:n(rl(a,3))}};var NQ=function(a){this.internalArray_=m(a)};T(NQ,p);NQ.prototype.setAddHotlistIdsList=function(a){Ab(this,2,a,gb)};NQ.prototype.setRemoveHotlistIdsList=function(a){Ab(this,3,a,gb)};NQ.repeatedFields_=[2,3];NQ.prototype.toObject=function(){return Hqc(this)};var Hqc=function(a){if(null!=a)return r(a),{promptUser:Tj(a,1),addHotlistIdsList:n(rl(a,2)),removeHotlistIdsList:n(rl(a,3))}};var OQ=function(a){this.internalArray_=m(a)};T(OQ,p);OQ.prototype.getIterationId=function(){return qj(this,2)};OQ.prototype.setIterationId=function(a){return Jb(this,2,a)};OQ.prototype.getIteration=function(){return U(this,3)};OQ.prototype.toObject=function(){return Iqc(this)};var Iqc=function(a){if(null!=a)return r(a),{promptUser:Tj(a,1),iterationId:qj(a,2),iteration:U(a,3),removeIteration:Tj(a,4)}};var Jqc=function(a){this.internalArray_=m(a)};T(Jqc,p);Jqc.prototype.getPriority=function(){return Zi(this,1,0)};Jqc.prototype.setPriority=function(a){return Yi(this,1,a)};Jqc.prototype.toObject=function(){return Kqc(this)};var Kqc=function(a){if(null!=a)return r(a),{priority:Zi(a,1,0)}};var Lqc=function(a){this.internalArray_=m(a)};T(Lqc,p);Lqc.prototype.getSeverity=function(){return Zi(this,1,0)};Lqc.prototype.setSeverity=function(a){return Yi(this,1,a)};Lqc.prototype.toObject=function(){return Mqc(this)};var Mqc=function(a){if(null!=a)return r(a),{severity:Zi(a,1,0)}};var Nqc=function(a){this.internalArray_=m(a)};T(Nqc,p);Nqc.prototype.getStatus=function(){return Zi(this,1,0)};Nqc.prototype.setStatus=function(a){return Yi(this,1,a)};Nqc.prototype.toObject=function(){return Oqc(this)};var Oqc=function(a){if(null!=a)return r(a),{status:Zi(a,1,0)}};var Pqc=function(a){this.internalArray_=m(a)};T(Pqc,p);Pqc.repeatedFields_=[2,3];Pqc.prototype.toObject=function(){return Qqc(this)};var Qqc=function(a){if(null!=a)return r(a),{promptUser:Tj(a,1),addTagsList:n(Th(a,2)),removeTagsList:n(Th(a,3))}};var Rqc=function(a){this.internalArray_=m(a)};T(Rqc,p);Rqc.prototype.toObject=function(){return Sqc(this)};var Sqc=function(a){if(null!=a)return r(a),{itemType:Zi(a,1,0)}};var Tqc=function(a){this.internalArray_=m(a)};T(Tqc,p);var PQ=[1,2,3,4,5,6,7,8,9,10,11,12,13];Tqc.prototype.toObject=function(){return Uqc(this)};
var Uqc=function(a){if(null!=a)return r(a),{goalAction:Gqc(ck(a,Fqc,1,PQ)),iterationsBacklogsAction:Iqc(ck(a,OQ,2,PQ)),tagsAction:Qqc(ck(a,Pqc,3,PQ)),hotlistsAction:Hqc(ck(a,NQ,4,PQ)),componentsAction:Cqc(ck(a,Bqc,5,PQ)),statusAction:Oqc(ck(a,Nqc,6,PQ)),priorityAction:Kqc(ck(a,Jqc,7,PQ)),severityAction:Mqc(ck(a,Lqc,8,PQ)),assigneeAction:wqc(ck(a,MQ,9,PQ)),ccAction:yqc(ck(a,xqc,10,PQ)),commentAction:Aqc(ck(a,zqc,11,PQ)),typeAction:Sqc(ck(a,Rqc,12,PQ)),customFieldAction:Eqc(ck(a,Dqc,13,PQ))}};var QQ=function(a){this.internalArray_=m(a)};T(QQ,p);QQ.prototype.getName=function(){return U(this,1)};QQ.prototype.setName=function(a){return wj(this,1,a)};QQ.prototype.getDescription=function(){return U(this,2)};QQ.prototype.setDescription=function(a){return wj(this,2,a)};QQ.repeatedFields_=[3];QQ.prototype.toObject=function(){return Vqc(this)};var Vqc=function(a){if(null!=a)return r(a),{name:U(a,1),description:U(a,2),subActionsList:Ub(kj(a,Tqc,3),Uqc)}};var RQ=function(a){this.internalArray_=m(a)};T(RQ,p);f=RQ.prototype;f.getUser=function(){return ck(this,ej,1,SQ)};f.setUser=function(a){Ao(this,1,SQ,a)};f.hasUser=function(){return ak(this,ej,1,SQ)};f.getGroup=function(){return ck(this,ej,2,SQ)};f.setGroup=function(a){Ao(this,2,SQ,a)};f.getAlias=function(){return ot(this,3,SQ)};f.setAlias=function(a){yo(this,3,SQ,a)};var SQ=[1,2,3];RQ.prototype.toObject=function(){return TQ(this)};
var TQ=function(a){if(null!=a)return r(a),{user:rE(a.getUser()),group:rE(a.getGroup()),alias:n(Io(a,3,SQ))}};var Wqc=function(a){this.internalArray_=m(a)};T(Wqc,p);f=Wqc.prototype;f.getAdminsList=function(){return kj(this,RQ,2)};f.setAdminsList=function(a){nj(this,2,a)};f.getInheritedAdminsList=function(){return kj(this,RQ,3)};f.getEditorsList=function(){return kj(this,RQ,4)};f.setEditorsList=function(a){nj(this,4,a)};f.getImplicitEditorsList=function(){return kj(this,RQ,5)};f.getAppendersList=function(){return kj(this,RQ,6)};f.setAppendersList=function(a){nj(this,6,a)};
f.getImplicitAppendersList=function(){return kj(this,RQ,7)};f.getReadersList=function(){return kj(this,RQ,8)};f.setReadersList=function(a){nj(this,8,a)};f.getImplicitReadersList=function(){return kj(this,RQ,9)};f.getImplicitAccess=function(){return Zi(this,10,0)};f.setImplicitAccess=function(a){return Yi(this,10,a)};f.getRestrictedReadersList=function(){return kj(this,RQ,11)};f.setRestrictedReadersList=function(a){nj(this,11,a)};f.getRestrictedPlusReadersList=function(){return kj(this,RQ,12)};
f.setRestrictedPlusReadersList=function(a){nj(this,12,a)};Wqc.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];Wqc.prototype.toObject=function(){return Xqc(this)};
var Xqc=function(a){if(null!=a)return r(a),{inheritance:Zi(a,1,0),adminsList:Ub(a.getAdminsList(),TQ),inheritedAdminsList:Ub(a.getInheritedAdminsList(),TQ),editorsList:Ub(a.getEditorsList(),TQ),implicitEditorsList:Ub(a.getImplicitEditorsList(),TQ),appendersList:Ub(a.getAppendersList(),TQ),implicitAppendersList:Ub(a.getImplicitAppendersList(),TQ),readersList:Ub(a.getReadersList(),TQ),implicitReadersList:Ub(a.getImplicitReadersList(),TQ),implicitAccess:Zi(a,10,0),restrictedReadersList:Ub(a.getRestrictedReadersList(),
TQ),restrictedPlusReadersList:Ub(a.getRestrictedPlusReadersList(),TQ)}};var fo=function(a){this.internalArray_=m(a)};T(fo,p);f=fo.prototype;f.getWorkspaceId=function(){return qj(this,1)};f.getName=function(){return U(this,2)};f.setName=function(a){return wj(this,2,a)};f.getTimeZone=function(){return X(this,ij,8)};f.setTimeZone=function(a){return hj(this,ij,8,a)};f.hasTimeZone=function(){return Nj(this,ij,8)};f.getMembersList=function(){return kj(this,Ipc,9)};f.setMembersList=function(a){nj(this,9,a)};f.getUpdateTime=function(){return X(this,Nh,12)};
f.setUpdateTime=function(a){hj(this,Nh,12,a)};f.getBookmarkGroupId=function(){return qj(this,14)};f.setBookmarkGroupId=function(a){Jb(this,14,a)};f.getTeamId=function(){return U(this,20)};f.setTeamId=function(a){return wj(this,20,a)};var Yqc=Zb(fo);fo.repeatedFields_=[5,9,13,15,17,18];var Zqc=[6,7,21];fo.prototype.toObject=function(){return $qc(this)};
var $qc=function(a){if(null!=a)return r(a),{workspaceId:qj(a,1),name:U(a,2),defaultComponentId:ht(a,3),inboxQuery:U(a,4),componentIdsList:n(wb(a,5,jb)),componentBased:Fpc(ck(a,Epc,6,Zqc)),hotlistBased:Hpc(ck(a,Gpc,7,Zqc)),teamBased:Kpc(ck(a,GQ,21,Zqc)),inclusionCriteria:vqc(X(a,uqc,24)),exclusionCriteria:mqc(X(a,KQ,25)),timeZone:a5b(a.getTimeZone()),membersList:Ub(a.getMembersList(),Jpc),trashComponentId:qj(a,10),defaultHotlistAcls:Xqc(X(a,Wqc,11)),updateTime:Lt(a.getUpdateTime()),triageActionsList:Ub(kj(a,
QQ,13),Vqc),bookmarkGroupId:qj(a,14),defaultSavedViewsList:Ub(kj(a,kqc,15),lqc),customStatusesList:Ub(kj(a,Rpc,17),Spc),boardColumnsList:Ub(kj(a,HQ,18),Opc),teamId:U(a,20),workspaceType:Zi(a,22,0),itemDefaultsConfig:tqc(X(a,sqc,23)),ganttDateStrategyConfig:oqc(X(a,nqc,26)),iterationRecurrenceId:qj(a,27)}};var arc=function(a){this.internalArray_=m(a)};T(arc,p);arc.prototype.getWorkspaceId=function(){return qj(this,1)};arc.prototype.toObject=function(){if(null!=this){r(this);var a={workspaceId:qj(this,1)}}else a=void 0;return a};var brc=new GD("/google.corp.devtools.worktracker.v1.WorkspaceService/Get",arc,fo,function(a){return a.serialize()},Yqc);var crc=function(a){this.internalArray_=m(a)};T(crc,p);crc.prototype.toObject=function(){return drc(this)};var drc=function(a){if(null!=a)return r(a),{}};var UQ=function(a){this.internalArray_=m(a)};T(UQ,p);UQ.prototype.setWorkItemId=function(a){return yo(this,1,erc,a)};var frc=function(){var a=new UQ,b=new crc;return Ao(a,2,erc,b)};UQ.repeatedFields_=[3];var erc=[1,2];UQ.prototype.toObject=function(){if(null!=this){r(this);var a={workItemId:n(Io(this,1,erc)),userWorkspacesRequest:drc(ck(this,crc,2,erc)),workspaceTypesList:n(cl(this,3))}}else a=void 0;return a};var grc=function(a){this.internalArray_=m(a)};T(grc,p);var hrc=Zb(grc);grc.repeatedFields_=[1];grc.prototype.toObject=function(){if(null!=this){r(this);var a={workspacesList:Ub(kj(this,fo,1),$qc)}}else a=void 0;return a};var irc=new GD("/google.corp.devtools.worktracker.v1.WorkspaceService/List",UQ,grc,function(a){return a.serialize()},hrc);var jrc=function(a,b){b=b||{};b.format="jspb";this.client_=new YD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};jrc.prototype.get=function(a,b){return ZD(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/Get",a,b||{},brc)};jrc.prototype.list=function(a,b){return ZD(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/List",a,b||{},irc)};var krc={},lrc;krc.Authorization=null!=(lrc=Oo([]))?lrc:"";krc["X-Goog-Api-Key"]="AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c";krc["X-Goog-AuthUser"]="0";var VQ=function(a,b){this.activeSession=a;this.clientFactory=b;this.environmentType=this.activeSession.getEnvironmentType();this.client=this.clientFactory.create(this.getServiceEndpoint())},mrc=function(a,b){return a.activeSession.isExternalSession()?(0,D.of)([]):(0,D.from)(a.client.list((new UQ).setWorkItemId("b/"+b),krc)).pipe(C(qKa(b)),Ke(function(){return(0,D.of)([])}))};
VQ.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"}};VQ.\u0275fac=function(a){return new (a||VQ)(t(Bs),t(WQ))};VQ.\u0275prov=yc({token:VQ,factory:VQ.\u0275fac,providedIn:"root"});var WQ=function(){};
WQ.prototype.create=function(a){return new jrc(a,{withCredentials:!0,suppressCorsPreflight:!0})};WQ.\u0275fac=function(a){return new (a||WQ)};WQ.\u0275prov=yc({token:WQ,factory:WQ.\u0275fac,providedIn:"root"});var XQ=function(a){var b=this;this.injector=a;this.clientDarkmode$=this.clientDarkmodeSubject=new D.BehaviorSubject(!1);this.localDarkmode=!1;this.clientStreamzService=null;this.loadLocalDarkmode=function(){b.localDarkmode=null!=window.localStorage.getItem("onedev-darkmode");nrc(b,b.localDarkmode);b.clientStreamzService&&b.clientStreamzService.logUsageMetric("loadDarkmode",b.clientDarkmodeSubject.getValue())};this.setLocalDarkmode=function(c){b.localDarkmode=c;b.localDarkmode?window.localStorage.setItem("onedev-darkmode",
b.localDarkmode.toString()):window.localStorage.removeItem("onedev-darkmode")}};XQ.prototype.enableUsageTracking=function(){this.clientStreamzService=this.injector.get(TC)};var nrc=function(a,b){a.clientDarkmodeSubject.next(b);document.body.classList.toggle("dark-mode",b)};XQ.\u0275fac=function(a){return new (a||XQ)(t(sv))};XQ.\u0275prov=yc({token:XQ,factory:XQ.\u0275fac});var orc=Es(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback-dark-mode.md"]),prc=Es(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback.md"]),qrc=function(a,b){this.dialogRef=a;this.darkmodeService=b;this.contentLoaded=!1;this.docUrl$=this.darkmodeService.clientDarkmode$.pipe(C(function(c){return c?Og(orc):Og(prc)}))};qrc.\u0275fac=function(a){return new (a||qrc)(B(bB),B(XQ))};
qrc.\u0275cmp=Oc({type:qrc,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&&(F(0,"div",0),O(1,rKa,2,3,"ng-container",1),R(2,"async"),O(3,sKa,
1,0,"mat-spinner",2),H(),F(4,"div",3)(5,"button",4),L("click",function(){return b.dialogRef.close(!1)}),P(6," Cancel "),H(),F(7,"button",5),L("click",function(){return b.dialogRef.close(!0)}),P(8," File a new issue "),H()());a&2&&(z(1),E("ngIf",S(2,2,b.docUrl$)),z(2),E("ngIf",!b.contentLoaded))},dependencies:[Rw,hB,iB,QA,VM,Xw],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 ho=function(a){this.internalArray_=m(a)};T(ho,p);f=ho.prototype;f.getEnableSsEngine=function(){return Tj(this,2)};f.getEnableAwr=function(){return Tj(this,3)};f.getEnableHelpSuggestions=function(){return Tj(this,4)};f.getAlohaAutoGaRollout=function(){return Tj(this,5)};f.getEnableConfigurator=function(){return Tj(this,6)};f.getEnableMweb=function(){return Tj(this,7)};f.getEnableCtlConsentCheckbox=function(){return Tj(this,8)};f.getEnableIframe=function(){return Tj(this,9)};
var JKa=function(){var a=new ho;a=Gb(a,5,!0);a=Gb(a,2,!0);a=Gb(a,4,!1);a=Gb(a,8,!0);return Gb(a,9,!0)};f=ho.prototype;f.getEnableScreenshotNudge=function(){return Tj(this,10)};f.getEnableWebStartupConfigEndpoint=function(){return Tj(this,11)};f.getEnableJunkNudge=function(){return Tj(this,12)};f.getEnableConfiguratorLocale=function(){return Tj(this,13)};f.getEnableTinyNoPointer=function(){return Tj(this,14)};f.getEnableSupportSessionLogging=function(){return Tj(this,15)};
f.getEnableFileUploadForScreenshot=function(){return Tj(this,16)};f.getEnableDirectDeflectionForSingleCategory=function(){return Tj(this,17)};f.getEnableImageSanitization=function(){return Tj(this,18)};f.getEnableAlohaBinarySplit=function(){return Tj(this,19)};f.getEnableDbFeedbackIntents=function(){return Tj(this,20)};f.getEnableMarkMandatoryFieldsWithRequired=function(){return Tj(this,21)};f.getEnableFeedbackCategoryCustomUi=function(){return Tj(this,22)};f.toObject=function(){return rrc(this)};
var rrc=function(a){if(null!=a)return r(a),{alohaLaunch:Tj(a,1),enableSsEngine:Tj(a,2),enableAwr:Tj(a,3),enableHelpSuggestions:Tj(a,4),alohaAutoGaRollout:Tj(a,5),enableConfigurator:Tj(a,6),enableMweb:Tj(a,7),enableCtlConsentCheckbox:Tj(a,8),enableIframe:Tj(a,9),enableScreenshotNudge:Tj(a,10),enableWebStartupConfigEndpoint:Tj(a,11),enableJunkNudge:Tj(a,12),enableConfiguratorLocale:Tj(a,13),enableTinyNoPointer:Tj(a,14),enableSupportSessionLogging:Tj(a,15),enableFileUploadForScreenshot:Tj(a,16),enableDirectDeflectionForSingleCategory:Tj(a,
17),enableImageSanitization:Tj(a,18),enableAlohaBinarySplit:Tj(a,19),enableDbFeedbackIntents:Tj(a,20),enableMarkMandatoryFieldsWithRequired:Tj(a,21),enableFeedbackCategoryCustomUi:Tj(a,22)}};var IKa=function(a){this.internalArray_=m(a)};T(IKa,p);IKa.prototype.toObject=function(){if(null!=this){r(this);var a={alohaFlags:rrc(X(this,ho,1))}}else a=void 0;return a};var tKa=[/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 wKa="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 xKa=Es(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),yKa=Es(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);var AKa,CKa;var src=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||ba,e=d.document,g=a.nonce||nQb(d);g&&!a.nonce&&(a.nonce=g);if("help"==a.flow){var h=No("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var l=JSON.stringify(b);(h=1200>=l.length)&&(a.psdJson=l)}h||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(h=d.GOOGLE_FEEDBACK_START)h.apply(d,
b);else{d=c+"/load.js?";for(var q in a)b=a[q],null==b||wa(b)||(d+=encodeURIComponent(q)+"="+encodeURIComponent(b)+"&");a=Uo(e).createElement("SCRIPT");g&&a.setAttribute("nonce",g);g=Ng(d);Hh(a,g);e.body.appendChild(a)}},trc=function(a,b,c,d){var e,g;pe(function(h){e=c||ba;var l=["web_answers"].includes(a.triggerId)?"en":a.locale,q="DEV"===a.serverEnvironment,v=c||ba;v=a.nonce||nQb(v);l={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,
onLoad:a.onLoadCallback},formContent:{locale:l,disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,userEmail:void 0,defaultFormInputValues:void 0,defaultFormInputValuesString:void 0,abuseLink:a.abuseLink},initializationData:{isLocalServer:q,nonce:v,useNightlyRelease:q,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,
submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(q=new Map(Object.entries(b)),l.extraData.productSpecificData=q);g=l;return h.yield(GKa(g,d,e),0)})},urc=function(a,b,c){try{if("help"===a.flow){var d=a.helpCenterPath.replace(/^\//,
"");Mpa(c||window,Sg("https://support.google.com/"+d))}else"submit"===a.flow?src(a,b,c):KKa(a.productId,a.feedbackServerUri).then(function(e){e=X(e,ho,1);var g=!XJb||(null==e?void 0:e.getEnableMweb()),h=!a.tinyNoPointer||(null==e?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&g&&h?trc(a,b,c,e):src(a,b,c)},function(e){e&&"DuplicateFormError"!==e.name&&src(a,b,c)})}catch(e){trc(a,b,c,null)}};CJb("userfeedback.api.startFeedback",urc);var YQ=function(a,b,c){this.activeSession=a;this.matDialog=b;this.currentTracker=c};YQ.prototype.startFeedback=function(){var a=this;this.activeSession.isInternalSession()?$A(this.matDialog.open(qrc,{width:"500px",maxHeight:"80vh",height:"640px",autoFocus:!1})).subscribe(function(b){b&&i_a(a)}):i_a(this)};
var i_a=function(a){var b={productId:92912,nonce:a.activeSession.getCspNonce(),productVersion:"buganizer.frontend_20230626.03_p0"};b.bucket=a.currentTracker.inTracker?"buganizer-trackers-feedback":"buganizer3-feedback";for(var c=[],d=c.concat,e=cd([]),g=[],h=k(a.activeSession.session.config.enabledFlags),l=h.next();!l.done;l=h.next()){var q=k(l.value);l=q.next().value;(q=q.next().value)&&g.push(l)}c=d.call(c,e,cd(g)).join(", ");c={userType:a.activeSession.getUserTypeLabel(),flags:c};a.currentTracker.inTracker&&
(c.trackerId=a.currentTracker.getTrackerId());urc(b,c)};YQ.\u0275fac=function(a){return new (a||YQ)(t(Bs),t(eB),t(PL))};YQ.\u0275prov=yc({token:YQ,factory:YQ.\u0275fac,providedIn:"root"});var ZQ=function(a,b,c,d,e,g,h){var l=this;this.cdr=a;this.codefont=b;this.location=e;this.paths=g;this.userFeedback=h;this.commentVersion=-1;this.history=[];this.diffView=this.isLoading=!0;this.issueId=c.issueId;this.commentNumber=c.commentNumber;this.commentVersion=c.commentVersion;c.commentHistory.then(function(q){l.history=q}).catch(function(q){d.errorHandler(null,q)}).finally(function(){l.isLoading=!1;l.cdr.detectChanges()})};ZQ.prototype.trackByIndex=function(a){return a};
ZQ.prototype.startFeedback=function(){this.userFeedback.startFeedback()};ZQ.\u0275fac=function(a){return new (a||ZQ)(B(AI,2),B(bP),B(dB),B(aH),B(mx),B(QH),B(YQ))};
ZQ.\u0275cmp=Oc({type:ZQ,selectors:[["comment-history-dialog"]],features:[Of([AI])],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&&(F(0,"h2",0),P(1),H(),F(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),L("change",function(c){return b.diffView=c.checked}),P(5," Show Diff "),H()(),F(6,"a",3),L("click",function(){return b.startFeedback()}),P(7,"Feedback"),H(),I(8,"br",4),O(9,LKa,2,0,"div",5),O(10,$Ka,2,2,"ul",6),H(),F(11,"mat-dialog-actions")(12,"button",7),P(13,"Close"),H()());a&2&&(z(1),Lf("History for Comment #",b.commentNumber,""),z(3),E("checked",b.diffView),z(5),E("ngIf",b.isLoading),z(1),E("ngIf",!b.isLoading))},dependencies:[Qw,Rw,FL,$O,QA,fB,gB,hB,iB,uL,WM,zL,RM,Xw,PK,WP],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 aLa=function(){},io=function(a,b,c,d,e){"undefined"==typeof e&&(e=(new Date).getTime()+1E3);if(null==b||null==c)throw Error("jd");if(b==c)return b?[[0,b]]:[];"undefined"==typeof d&&(d=!0);var g=vrc(b,c),h=b.substring(0,g);b=b.substring(g);c=c.substring(g);g=wrc(b,c);var l=b.substring(b.length-g);b=b.substring(0,b.length-g);c=c.substring(0,c.length-g);b=xrc(a,b,c,d,e);h&&b.unshift([0,h]);l&&b.push([0,l]);yrc(a,b);return b},xrc=function(a,b,c,d,e){if(!b)return[[1,c]];if(!c)return[[-1,b]];var g=
b.length>c.length?b:c,h=b.length>c.length?c:b,l=g.indexOf(h);if(-1!=l)return a=[[1,g.substring(0,l)],[0,h],[1,g.substring(l+h.length)]],b.length>c.length&&(a[0][0]=a[2][0]=-1),a;if(1==h.length)return[[-1,b],[1,c]];if(g=zrc(b,c))return c=g[1],h=g[3],b=g[4],g=io(a,g[0],g[2],d,e),a=io(a,c,h,d,e),g.concat([[0,b]],a);if(d&&100<b.length&&100<c.length){b=Arc(b,c);c=b.lineArray;b=io(a,b.chars1,b.chars2,!1,e);for(d=0;d<b.length;d++){g=b[d][1];h=[];for(l=0;l<g.length;l++)h[l]=c[g.charCodeAt(l)];b[d][1]=h.join("")}bLa(a,
b);b.push([0,""]);g=d=c=0;for(l=h="";c<b.length;){switch(b[c][0]){case 1:g++;l+=b[c][1];break;case -1:d++;h+=b[c][1];break;case 0:if(1<=d&&1<=g){b.splice(c-d-g,d+g);c=c-d-g;d=io(a,h,l,!1,e);for(g=d.length-1;0<=g;g--)b.splice(c,0,d[g]);c+=d.length}d=g=0;l=h=""}c++}b.pop();a=b}else a:{d=b.length;g=c.length;h=Math.ceil((d+g)/2);l=2*h;for(var q=Array(l),v=Array(l),x=0;x<l;x++)q[x]=-1,v[x]=-1;q[h+1]=0;v[h+1]=0;x=d-g;for(var A=0!=x%2,G=0,M=0,Q=0,Y=0,W=0;W<h&&!((new Date).getTime()>e);W++){for(var ia=-W+
G;ia<=W-M;ia+=2){var ja=h+ia;var Aa=ia==-W||ia!=W&&q[ja-1]<q[ja+1]?q[ja+1]:q[ja-1]+1;for(var Da=Aa-ia;Aa<d&&Da<g&&b.charAt(Aa)==c.charAt(Da);)Aa++,Da++;q[ja]=Aa;if(Aa>d)M+=2;else if(Da>g)G+=2;else if(A&&(ja=h+x-ia,0<=ja&&ja<l&&-1!=v[ja])){var Oa=d-v[ja];if(Aa>=Oa){a=Brc(a,b,c,Aa,Da,e);break a}}}for(ia=-W+Q;ia<=W-Y;ia+=2){ja=h+ia;Oa=ia==-W||ia!=W&&v[ja-1]<v[ja+1]?v[ja+1]:v[ja-1]+1;for(Aa=Oa-ia;Oa<d&&Aa<g&&b.charAt(d-Oa-1)==c.charAt(g-Aa-1);)Oa++,Aa++;v[ja]=Oa;if(Oa>d)Y+=2;else if(Aa>g)Q+=2;else if(!A&&
(ja=h+x-ia,0<=ja&&ja<l&&-1!=q[ja]&&(Aa=q[ja],Da=h+Aa-ja,Oa=d-Oa,Aa>=Oa))){a=Brc(a,b,c,Aa,Da,e);break a}}}a=[[-1,b],[1,c]]}return a},Brc=function(a,b,c,d,e,g){var h=b.substring(d),l=c.substring(e);b=io(a,b.substring(0,d),c.substring(0,e),!1,g);a=io(a,h,l,!1,g);return b.concat(a)},Arc=function(a,b){function c(h){for(var l="",q=0,v=-1,x=d.length;v<h.length-1;){v=h.indexOf("\n",q);-1==v&&(v=h.length-1);var A=h.substring(q,v+1);(e.hasOwnProperty?e.hasOwnProperty(A):void 0!==e[A])?l+=String.fromCharCode(e[A]):
(x==g&&(A=h.substring(q),v=h.length),l+=String.fromCharCode(x),e[A]=x,d[x++]=A);q=v+1}return l}var d=[],e={};d[0]="";var g=4E4;a=c(a);g=65535;b=c(b);return{chars1:a,chars2:b,lineArray:d}},vrc=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,g=0;c<e;)a.substring(g,e)==b.substring(g,e)?g=c=e:d=e,e=Math.floor((d-c)/2+c);return e},wrc=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,g=0;c<e;)a.substring(a.length-e,a.length-g)==b.substring(b.length-e,b.length-g)?g=c=e:d=e,e=Math.floor((d-c)/2+c);return e},Crc=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 g=b.indexOf(a.substring(c-e));if(-1==g)return d;e+=g;if(0==g||a.substring(c-e)==b.substring(0,e))d=e,e++}},zrc=function(a,b){function c(l,q,v){for(var x=l.substring(v,v+Math.floor(l.length/4)),A=-1,G="",
M,Q,Y,W;-1!=(A=q.indexOf(x,A+1));){var ia=vrc(l.substring(v),q.substring(A)),ja=wrc(l.substring(0,v),q.substring(0,A));G.length<ja+ia&&(G=q.substring(A-ja,A)+q.substring(A,A+ia),M=l.substring(0,v-ja),Q=l.substring(v+ia),Y=q.substring(0,A-ja),W=q.substring(A+ia))}return 2*G.length>=l.length?[M,Q,Y,W,G]:null}var d=a.length>b.length?a:b,e=a.length>b.length?b:a;if(4>d.length||2*e.length<d.length)return null;var g=c(d,e,Math.ceil(d.length/4));d=c(d,e,Math.ceil(d.length/2));var h;if(g||d)d?h=g?g[4].length>
d[4].length?g:d:d:h=g;else return null;a.length>b.length?(a=h[0],b=h[1],g=h[2],d=h[3]):(g=h[0],d=h[1],a=h[2],b=h[3]);return[a,b,g,d,h[4]]},bLa=function(a,b){for(var c=!1,d=[],e=0,g=null,h=0,l=0,q=0,v=0,x=0;h<b.length;)0==b[h][0]?(d[e++]=h,l=v,q=x,x=v=0,g=b[h][1]):(1==b[h][0]?v+=b[h][1].length:x+=b[h][1].length,g&&g.length<=Math.max(l,q)&&g.length<=Math.max(v,x)&&(b.splice(d[e-1],0,[-1,g]),b[d[e-1]+1][0]=1,e--,e--,h=0<e?d[e-1]:-1,x=v=q=l=0,g=null,c=!0)),h++;c&&yrc(a,b);Drc(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=Crc(a,c);e=Crc(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++}},Drc=function(a){function b(A,G){if(!A||!G)return 6;var M=A.charAt(A.length-1),Q=G.charAt(0),Y=M.match(Erc),W=Q.match(Erc),
ia=Y&&M.match(Frc),ja=W&&Q.match(Frc);M=ia&&M.match(Grc);Q=ja&&Q.match(Grc);A=M&&A.match(Hrc);G=Q&&G.match(Irc);return A||G?5:M||Q?4:Y&&!ia&&ja?3:ia||ja?2:Y||W?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],g=a[c+1][1],h=wrc(d,e);if(h){var l=e.substring(e.length-h);d=d.substring(0,d.length-h);e=l+e.substring(0,e.length-h);g=l+g}h=d;l=e;for(var q=g,v=b(d,e)+b(e,g);e.charAt(0)===g.charAt(0);){d+=e.charAt(0);e=e.substring(1)+g.charAt(0);g=g.substring(1);var x=
b(d,e)+b(e,g);x>=v&&(v=x,h=d,l=e,q=g)}a[c-1][1]!=h&&(h?a[c-1][1]=h:(a.splice(c-1,1),c--),a[c][1]=l,q?a[c+1][1]=q:(a.splice(c+1,1),c--))}c++}},Erc=/[^a-zA-Z0-9]/,Frc=/\s/,Grc=/[\r\n]/,Hrc=/\n\r?\n$/,Irc=/^\r?\n\r?\n/,yrc=function(a,b){b.push([0,""]);for(var c=0,d=0,e=0,g="",h="",l;c<b.length;)switch(b[c][0]){case 1:e++;h+=b[c][1];c++;break;case -1:d++;g+=b[c][1];c++;break;case 0:1<d+e?(0!==d&&0!==e&&(l=vrc(h,g),0!==l&&(0<c-d-e&&0==b[c-d-e-1][0]?b[c-d-e-1][1]+=h.substring(0,l):(b.splice(0,0,[0,h.substring(0,
l)]),c++),h=h.substring(l),g=g.substring(l)),l=wrc(h,g),0!==l&&(b[c][1]=h.substring(h.length-l)+b[c][1],h=h.substring(0,h.length-l),g=g.substring(0,g.length-l))),0===d?b.splice(c-e,d+e,[1,h]):0===e?b.splice(c-d,d+e,[-1,g]):b.splice(c-d-e,d+e,[-1,g],[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=g=""}""===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&&yrc(a,b)};var $Q=function(a,b,c){this.analytics=a;this.issueComments=b;this.dialogManager=c};$Q.prototype.show=function(a,b,c){var d=this,e;return pe(function(g){if(d.dialog&&2!==d.dialog.getState())return g.return();d.analytics.trackEvent("commentHistoryModal","open");e={issueId:a,commentNumber:b,commentVersion:c,commentHistory:Jrc(d,a,b,c)};d.dialog=d.dialogManager.open(ZQ,{data:e,width:"50vw"});return g.return((0,D.firstValueFrom)($A(d.dialog)))})};
var Jrc=function(a,b,c,d){return a.issueComments.listHistory(b,c).then(function(e){var g=0<e.length?e[0].unlinkifiedComment:"",h=0<e.length?e[0].formattingMode:"",l=!1,q=[];e=k(e);for(var v=e.next();!v.done;v=e.next()){v=v.value;var x=dLa(v);x||l?(g=Krc(v.unlinkifiedComment),h=Krc(v.formattingMode)):(g=cLa(g,v.unlinkifiedComment),l=v.formattingMode,h=h===l?Krc(l):Bn(Krc(h,"diff-removed"),Krc(l,"diff-added")));l=void 0===v.unlinkifiedComment?"":v.unlinkifiedComment;var A=v.version,G=v.commentContentVerdict;
q.push({unlinkifiedComment:l,lastEditorUser:v.lastEditorUser,version:A,formattingMode:v.formattingMode,formattingModeDiff:h,lastModified:Number(v.lastModified)/1E3,open:25>A,preview:48>=l.length?l:l.substring(0,45)+"...",diff:g,restricted:G&&G.piiVerdict&&"NONE_DETECTED"!==G.piiVerdict.severity||!1,deleted:dLa(v)});g=v.unlinkifiedComment;h=v.formattingMode;l=x}-1<d?q[d].open=!0:q[0].open=!0;return q})},Krc=function(a,b){return An("SPAN",b?{"class":b}:null,a)};
$Q.\u0275fac=function(a){return new (a||$Q)(t(EI),t(nJ),t(eB))};$Q.\u0275prov=yc({token:$Q,factory:$Q.\u0275fac,providedIn:"root"});var aR=function(a){this.internalArray_=m(a,0,aR.messageId)};T(aR,p);aR.prototype.getUrl=function(){return U(this,1)};aR.prototype.setUrl=function(a){return sk(this,1,a)};aR.prototype.hasUrl=function(){return Hk(this,1)};aR.prototype.toObject=function(){if(null!=this){r(this);var a={url:n(Z(this,1))}}else a=void 0;return a};aR.messageId="b.AttachmentUrlResponse";var bR=function(a){this.executor=a};bR.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(Rqa(d)));return this.executor.get({url:"action/issues/"+a+"/attachments/"+b+"/url",options:{headers:e,params:{download:String(c)}},responseConstructor:aR}).then(function(g){return g.getUrl()})};bR.\u0275fac=function(a){return new (a||bR)(t(iE))};bR.\u0275prov=yc({token:bR,factory:bR.\u0275fac,providedIn:"root"});var cR=function(a,b,c){this.templateRef=b;this.viewContainer=c;this.isInternal=!1;this.isInternal=a.isInternalSession()};cR.prototype.ngOnInit=function(){this.isInternal&&this.viewContainer.createEmbeddedView(this.templateRef)};cR.\u0275fac=function(a){return new (a||cR)(B(Bs),B(Yf),B(Zf))};cR.\u0275dir=Sc({type:cR,selectors:[["","internalOnly",""]]});var dR=function(a,b,c,d,e,g,h,l){this.dialogRef=b;this.userAccess=c;this.attachmentsUrl=d;this.butterBar=e;this.domSafe=g;this.documentationLinks=h;this.changeDetectorRef=l;this.isLoading=!0;this.download=this.hasViewAccess=!1;this.attachment=a.attachment;this.issueId=a.issueId;this.download=a.download};dR.prototype.ngOnInit=function(){this.changeDetectorRef.detectChanges();this.setHasViewAccess()};
dR.prototype.setHasViewAccess=function(){var a=this;this.isLoading=!0;fLa(this)?(this.hasViewAccess=!1,MG(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)};dR.prototype.getPiiSeverity=function(){var a=this.attachment.contentVerdict;if(a&&(a=a.piiVerdict))return a.severity};
var fLa=function(a){return(a=a.getPiiSeverity())?"NONE_DETECTED"!==a:!1},Lrc=function(a){var b=a.download&&nqa(a.attachment.contentType);a.attachmentsUrl.get(a.issueId,a.attachment.attachmentId,b,a.getPiiSeverity()).then(function(c){b?djc(a.domSafe,c):a.domSafe.openInNewTab(c);a.close()},function(){ZG(a.butterBar,"Failed to load attachment. Please refresh and try again.");a.close()})};dR.prototype.close=function(){this.dialogRef.close();this.changeDetectorRef.detectChanges()};
dR.prototype.getRestrictedAccessHelpLink=function(){return this.documentationLinks.getRestrictedAccessHelpLink()};dR.\u0275fac=function(a){return new (a||dR)(B(dB),B(bB),B(LG),B(bR),B(XG),B(vL),B(OJ),B(AI,2))};
dR.\u0275cmp=Oc({type:dR,selectors:[["b-attachment-download-dialog"]],features:[Of([AI])],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&&(F(0,"h1",0),P(1,"Access Attachment"),H(),F(2,"div",1)(3,"div",2),P(4," Are you sure you would like to access the following attachment? "),H(),I(5,"br"),F(6,"div",3)(7,"div",4),I(8,"mat-icon",5),H(),F(9,"div",6),P(10),H()(),I(11,"br"),O(12,gLa,2,1,"ng-container",
7),O(13,hLa,3,0,"div",8),H(),O(14,iLa,1,0,"mat-spinner",9),F(15,"div",10)(16,"button",11),L("click",function(){return b.close()}),P(17," Cancel "),H(),F(18,"button",12),L("click",function(){return Lrc(b)}),P(19," Continue "),H()());a&2&&(z(10),Lf(" ",b.attachment.filename," "),z(3),E("ngIf",!b.isLoading&&!b.hasViewAccess),z(1),E("ngIf",b.isLoading),z(4),E("disabled",!b.hasViewAccess))},dependencies:[Rw,HB,gB,hB,iB,QA,VM,cR],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 Mrc=function(a){this.internalArray_=m(a)};T(Mrc,p);f=Mrc.prototype;f.getIssueId=function(){return Ii(this,1)};f.setIssueId=function(a){return V(this,1,a)};f.getAttachmentId=function(){return Ii(this,2)};f.setAttachmentId=function(a){V(this,2,a)};f.getPiiRetention=function(){return Zi(this,3,0)};f.setPiiRetention=function(a){return V(this,3,a)};f.toObject=function(){if(null!=this){r(this);var a={issueId:n(Yb(this,1)),attachmentId:n(Yb(this,2)),piiRetention:n(Er(this,3))}}else a=void 0;return a};var eR=function(a){this.executor=a};eR.prototype.updateRetention=function(a,b,c){var d=new Mrc;d.setIssueId(a);d.setAttachmentId(String(b));d.setPiiRetention(gsa[c]);return this.executor.post({url:"action/issues/"+a+"/attachments/"+b+"/update_retention",body:d,responseConstructor:CF}).pipe(C(Hsa))};eR.\u0275fac=function(a){return new (a||eR)(t(hE))};eR.\u0275prov=yc({token:eR,factory:eR.\u0275fac,providedIn:"root"});var fR=function(){this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.isGreyedOut=!0;this.linkUrl=this.displayName="";this.useCustomHandler=this.linkEnabled=!1;this.customHandler=new kw};fR.prototype.handleClick=function(a){this.useCustomHandler&&(a.preventDefault(),this.customHandler.emit())};fR.\u0275fac=function(a){return new (a||fR)};
fR.\u0275cmp=Oc({type:fR,selectors:[["b-conditional-link"]],inputs:{isGreyedOut:"isGreyedOut",displayName:"displayName",linkUrl:"linkUrl",linkEnabled:"linkEnabled",useCustomHandler:"useCustomHandler"},outputs:{customHandler:"customHandler"},decls:2,vars:2,consts:[[3,"muted",4,"ngIf"],["class","normal-link","target","_blank",3,"href","rel","click",4,"ngIf"],["target","_blank",1,"normal-link",3,"href","rel","click"]],template:function(a,b){a&1&&(O(0,jLa,2,3,"span",0),O(1,kLa,2,3,"a",1));a&2&&(E("ngIf",
b.isGreyedOut||!b.linkEnabled),z(1),E("ngIf",!b.isGreyedOut&&b.linkEnabled))},dependencies:[Rw],encapsulation:2,changeDetection:0});var gR=function(a,b){this.documentationLinks=a;this.dateFormatter=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.retentionModel=L6b;this.label="Restricted";this.contentType="item"};gR.prototype.getRetentionPeriod=function(){if(!this.retentionState||!this.retentionState.retentionPeriod)return"";var a=Wza(this.retentionState.retentionPeriod);return a?Sua(Math.floor(1E3*a.getSeconds()/864E5)):""};
var mLa=function(a){var b=new Date(864E13);if(!a.retentionState||!a.retentionState.scheduledDeletionTime)return b;a=Cl(rn(a.retentionState.scheduledDeletionTime));return new Date(a||b)},Nrc=function(a){return a.retentionState&&a.retentionState.scheduledDeletionTime?12096E5>Cl(rn(a.retentionState.scheduledDeletionTime))-Date.now():!1};gR.\u0275fac=function(a){return new (a||gR)(B(OJ),B(EL))};
gR.\u0275cmp=Oc({type:gR,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();F(0,"xap-bubble",0,1)(2,"div",2);L("focus",function(){w(c);var e=Kf(1);return y(e.toggle(!0))})("blur",function(){w(c);var e=Kf(1);return y(e.toggle(!1))});I(3,"mat-icon",3);P(4);H();O(5,rLa,8,4,"ng-template",null,4,gg);O(7,sLa,3,1,"ng-template",null,5,gg);O(9,tLa,8,5,"ng-template",null,6,gg);H()}if(a&2){var d=Kf(6);E("panelTemplate",d);z(2);xf("warning",Nrc(b));z(1);E("svgIcon",Nrc(b)?"delete-alert":
"delete-clock");z(1);Lf(" ",b.label," ")}},dependencies:[Rw,Sw,Tw,HB,LP,$w],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 hR=function(){this.warningChunks=[]};hR.prototype.ngOnInit=function(){var a=this.warningText,b=yLa(a,"EXTERNAL_PUBLIC")||yLa(a,"EXTERNAL_PARTNER");this.warningChunks=b?[{text:a.substring(0,b.startOfMatch)},{accessLevel:b.accessLevel},{text:a.substring(b.endOfMatch)}]:[{text:a}]};hR.prototype.isText=function(a){return void 0!==a.text};hR.\u0275fac=function(a){return new (a||hR)};
hR.\u0275cmp=Oc({type:hR,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&&(F(0,"div"),O(1,wLa,3,2,"span",0),H());a&2&&(z(1),E("ngForOf",b.warningChunks))},dependencies:[Qw,Rw,MP],encapsulation:2});var xLa=new Map([["EXTERNAL_PUBLIC","visible to public users"],["EXTERNAL_PARTNER","visible to external partners"]]);var iR=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=ggc(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};
iR.prototype.allow=function(){var a;null==(a=this.dialogRef)||a.close();this.isAllowed&&this.acknowledged&&this.callbacks.allow()};iR.prototype.cancel=function(){var a;null==(a=this.dialogRef)||a.close();this.callbacks.cancel()};iR.\u0275fac=function(a){return new (a||iR)(B(dB),B(OJ),B(bB))};
iR.\u0275cmp=Oc({type:iR,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&&(F(0,"h1",0),P(1),H(),F(2,"div",1)(3,"div",2),I(4,"b-component-move-warning-content",3),H(),I(5,"br"),F(6,"a",4),P(7,"Learn more"),H(),O(8,zLa,5,1,"div",5),H(),F(9,"mat-dialog-actions")(10,"button",6),L("click",function(){return b.cancel()}),P(11," Cancel "),H(),O(12,ALa,2,1,"button",7),H());a&2&&(z(1),Mf(b.header),z(3),E("warningText",b.warning),z(2),of("href",b.learnMore,Ud),z(2),E("ngIf",b.isExternalMove&&b.isAllowed),z(4),E("ngIf",b.isAllowed))},
dependencies:[Rw,tx,Ax,QA,$O,fB,gB,hB,iB,hR],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-right: 8px;\n    }"],changeDetection:0});var Orc=function(a){this.internalArray_=m(a,0,Orc.messageId)};T(Orc,p);Orc.prototype.toObject=function(){if(null!=this){r(this);var a={warningHeader:n(Z(this,1)),warning:n(Z(this,2)),isAllowed:n(vr(this,3)),isExternalMove:n(vr(this,4))}}else a=void 0;return a};Orc.messageId="b.CompareComponentAccessResponse";var jR=function(a){this.executor=a};jR.prototype.check=function(a,b,c){return this.executor.get({url:"action/compare_component_access/"+a+"/"+b,options:{params:{issueId:c}},responseConstructor:Orc}).then(bta)};jR.\u0275fac=function(a){return new (a||jR)(t(iE))};jR.\u0275prov=yc({token:jR,factory:jR.\u0275fac,providedIn:"root"});var kR=function(a,b,c,d,e,g){this.issueInteractionsTracking=a;this.issueFridge=b;this.butterBar=c;this.compareComponentAccess=d;this.matDialogService=e;this.editIssueService=g},o9a=function(a,b,c){var d,e,g,h,l;pe(function(q){switch(q.nextAddress){case 1:return b=String(b),lhc(a.issueInteractionsTracking,b,{label:"changeComponent"}),c?q.yield((0,D.firstValueFrom)(a.issueFridge.watch(b)),2):q.return();case 2:d=q.yieldResult;if(!d)return ZG(a.butterBar,"Could not load issue "+b),q.return();e=d.snapshot[0].componentId;
g=c.componentId;return e===g?q.return():q.yield(a.compareComponentAccess.check(String(e),String(g),b),3);case 3:h=q.yieldResult;if(!h.warning){q.jumpTo(4);break}return q.yield(Prc(a,h),5);case 5:if(l=q.yieldResult,!l)return q.return();case 4:return q.return(a.editIssueService.updateComponent(b,g,h.isExternalMove))}})},Prc=function(a,b){return new Promise(function(c){$A(a.matDialogService.open(iR,{width:"580px",data:{response:b,callbacks:{allow:function(){c(!0)},cancel:function(){c(!1)}}}})).subscribe(function(){c(!1)})})};
kR.\u0275fac=function(a){return new (a||kR)(t(yK),t(JI),t(XG),t(jR),t(eB),t(QK))};kR.\u0275prov=yc({token:kR,factory:kR.\u0275fac,providedIn:"root"});var Qrc=function(a){this.documentationLinks=a};Qrc.\u0275fac=function(a){return new (a||Qrc)(B(OJ))};
Qrc.\u0275cmp=Oc({type:Qrc,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&&(F(0,"h1",0),P(1,"Apply component retention settings?"),H(),F(2,
"div",1)(3,"p"),P(4," This issue is currently retained indefinitely. If you select this option, this issue will be scheduled for deletion based on the component retention settings. "),H(),F(5,"a",2),P(6,"Learn more"),H()(),F(7,"div",3)(8,"button",4),P(9," Cancel "),H(),F(10,"button",5),P(11," OK "),H()());a&2&&(z(5),E("href",ws(),Ud),z(3),E("mat-dialog-close",!1),z(2),E("mat-dialog-close",!0))},dependencies:[fB,gB,hB,iB,QA],encapsulation:2});var Rrc=function(a,b){this.documentationLinks=b;this.deletionReasons=a.deletionReasons;this.attachmentId=a.attachmentId};Rrc.\u0275fac=function(a){return new (a||Rrc)(B(dB),B(OJ))};
Rrc.\u0275cmp=Oc({type:Rrc,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&&(F(0,"h1",0),P(1),H(),F(2,"div",1)(3,"span"),P(4," Please select the reason for deleting this attachment. "),F(5,"a",2),P(6," \u00a0Learn more "),H()(),F(7,"mat-radio-group",3),L("ngModelChange",function(c){return b.selectedReason=c}),O(8,CLa,3,4,"mat-radio-button",4),H()(),F(9,"div",5)(10,"button",6),P(11," Cancel "),H(),F(12,"button",7),P(13," Delete "),H()());a&2&&(z(1),Lf("Delete attachment ",b.attachmentId,""),z(4),E("href",
hgc(b.documentationLinks),Ud),z(2),E("ngModel",b.selectedReason),z(1),E("ngForOf",b.deletionReasons),z(4),E("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[Qw,Rw,fB,gB,hB,iB,QA,tx,Ax,aO,bO],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var Src=function(a,b){this.documentationLinks=b;this.commentNumber=a.commentNumber;this.issueId=a.issueId;this.deletionReasons=a.deletionReasons};Src.\u0275fac=function(a){return new (a||Src)(B(dB),B(OJ))};
Src.\u0275cmp=Oc({type:Src,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&&(F(0,"h1",0),P(1),H(),F(2,"div",1)(3,"label"),P(4,"Please select the reason for deleting this comment."),H(),F(5,"a",2),P(6," \u00a0Learn more "),H(),F(7,"mat-radio-group",3),L("ngModelChange",function(c){return b.selectedReason=c}),O(8,ELa,3,4,"mat-radio-button",4),H()(),F(9,"div",5)(10,"button",6),P(11," Cancel "),H(),F(12,"button",7),P(13," Delete "),H()());a&2&&(z(1),Nf("Delete Comment #",b.commentNumber," of Issue ",b.issueId,
""),z(4),E("href",hgc(b.documentationLinks),Ud),z(2),E("ngModel",b.selectedReason),z(1),E("ngForOf",b.deletionReasons),z(4),E("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[Qw,Rw,fB,gB,hB,iB,QA,tx,Ax,aO,bO],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var Trc=function(a,b){this.documentationLinks=a;this.activeSession=b;this.REMOVAL_URL=FLa(this.activeSession.isInternalSession())};Trc.\u0275fac=function(a){return new (a||Trc)(B(OJ),B(Bs))};
Trc.\u0275cmp=Oc({type:Trc,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&&(F(0,"h1",0),P(1,"Report spam?"),H(),F(2,"div",1)(3,
"p"),P(4," This will remove the issue from search results, and it will be deleted after 30 days. For more information on remediating spam at scale, "),F(5,"a",2),P(6,"see here"),H(),P(7,". "),H(),I(8,"p"),F(9,"p"),P(10," To delete PII or other sensitive content, "),F(11,"a",2),P(12,"file a support request"),H(),P(13,". "),H()(),F(14,"div",3)(15,"button",4),P(16," Cancel "),H(),F(17,"button",5),P(18," Report spam "),H()());a&2&&(z(5),E("href",fgc(b.documentationLinks),Ud),z(6),E("href",b.REMOVAL_URL,
Ud),z(4),E("mat-dialog-close",!1),z(2),E("mat-dialog-close",!0))},dependencies:[fB,gB,hB,iB,QA],encapsulation:2});var Urc=function(a){this.documentationLinks=a;this.indefiniteRetentionAcknowledged=!1};Urc.\u0275fac=function(a){return new (a||Urc)(B(OJ))};
Urc.\u0275cmp=Oc({type:Urc,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&&(F(0,"h1",0),P(1,"Retain issue indefinitely?"),
H(),F(2,"div",1)(3,"p"),P(4," Are you sure you want to override any component retention settings, and retain this issue indefinitely? "),H(),F(5,"p")(6,"b"),P(7,"Please note indefinite retention is not appropriate in many circumstances."),H(),I(8,"br"),P(9," Before selecting this option, you should make sure at least one of the following is true: "),H(),F(10,"ul")(11,"li"),P(12," There is no personal data, user data, or any other forms of sensitive data being stored in this issue. "),H(),F(13,"li"),
P(14," You have a process in place to manually delete this issue within an approved period of time. "),H(),F(15,"li"),P(16," Legal and Privacy have approved this non-standard retention period. "),H()(),I(17,"p"),F(18,"p")(19,"a",2),P(20,"Learn more"),H()(),F(21,"mat-checkbox",3),L("change",function(c){return b.indefiniteRetentionAcknowledged=c.checked}),P(22," I acknowledge "),H()(),F(23,"div",4)(24,"button",5),P(25," Cancel "),H(),F(26,"button",6),P(27," OK "),H()());a&2&&(z(19),E("href",ws(),Ud),
z(2),E("checked",b.indefiniteRetentionAcknowledged),z(3),E("mat-dialog-close",!1),z(2),E("mat-dialog-close",!0)("disabled",!b.indefiniteRetentionAcknowledged))},dependencies:[fB,gB,hB,iB,QA,$O],styles:[".mat-dialog-content[_ngcontent-%COMP%] { max-height: unset; overflow: unset; }","ul[_ngcontent-%COMP%] { list-style: disc }"]});var ps=function(a,b,c,d){var e=this;this.issueComments=b;this.errorHandler=c;this.dialogRef=d;this.allResponders=[];this.loadingResponders=!0;this.commentNumber=a.commentNumber;this.reactionType=a.reactionType;this.issueComments.listCommentReactionResponders({issueId:a.issueId,reactionType:a.reactionType,commentId:a.commentNumber}).then(function(g){e.loadingResponders=!1;e.allResponders=g.responders}).catch(function(g){e.loadingResponders=!1;bH(e.errorHandler,"Fetching comment reaction responders failed\n "+
g.message);e.dialogRef.close()})};ps.\u0275fac=function(a){return new (a||ps)(B(dB),B(nJ),B(aH),B(bB))};
ps.\u0275cmp=Oc({type:ps,selectors:[["b-issue-comment-reaction-responders-dialog"]],decls:11,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["appearance","primary"],["mat-tab-label",""],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close"],[1,"icon-xs",3,"svgIcon"],[4,"ngFor","ngForOf"],[1,"margin-xs-top","margin-xs-bottom","type-m"]],template:function(a,b){a&1&&(F(0,"h1",0),P(1),H(),F(2,
"div",1)(3,"mat-tab-group",2)(4,"mat-tab"),O(5,GLa,1,1,"ng-template",3),O(6,HLa,1,0,"b-spinner",4),O(7,JLa,2,1,"ng-container",4),H()()(),F(8,"div",5)(9,"button",6),P(10," OK "),H()());a&2&&(z(1),Lf("View Reactions for Comment #",b.commentNumber,""),z(5),E("ngIf",b.loadingResponders),z(1),E("ngIf",!b.loadingResponders),z(2),E("mat-dialog-close",!0))},dependencies:[Qw,Rw,HB,fB,gB,hB,iB,QA,WM,RN,SN,QN],styles:["[_nghost-%COMP%]     .mat-tab-label {\n      height: 32px;\n    }\n    [_nghost-%COMP%]     .mat-tab-body-wrapper {\n      margin-top: 8px;\n    }"]});var lR=function(){};lR.\u0275fac=function(a){return new (a||lR)};lR.\u0275mod=Qc({type:lR});lR.\u0275inj=zc({imports:[OG,jB,ED,yB,Px,vB,EO,CO,VN,EP]});var Vrc=function(a){this.internalArray_=m(a,0,Vrc.messageId)};T(Vrc,p);f=Vrc.prototype;f.getResourcePath=function(){return U(this,1)};f.setResourcePath=function(a){return sk(this,1,a)};f.hasResourcePath=function(){return Hk(this,1)};f.getSeverity=function(){return Zi(this,2,0)};f.setSeverity=function(a){return V(this,2,a)};f.hasSeverity=function(){return pj(this,2)};f.getJudgementReason=function(){return U(this,3)};f.setJudgementReason=function(a){return sk(this,3,a)};
f.toObject=function(){if(null!=this){r(this);var a={resourcePath:n(Z(this,1)),severity:n(Er(this,2)),judgementReason:n(Z(this,3))}}else a=void 0;return a};Vrc.messageId="b.CreateContentJudgementRequest";var mR=function(a){this.internalArray_=m(a,0,mR.messageId)};T(mR,p);mR.repeatedFields_=[1];mR.prototype.toObject=function(){if(null!=this){r(this);var a={contentJudgementsList:Ub(kj(this,Ji,1),wE)}}else a=void 0;return a};mR.messageId="b.ListContentJudgementsResponse";var nR=function(a){this.internalArray_=m(a,0,nR.messageId)};T(nR,p);nR.prototype.getContentJudgement=function(){return X(this,Ji,1)};nR.prototype.setContentJudgement=function(a){return hj(this,Ji,1,a)};nR.prototype.toObject=function(){if(null!=this){r(this);var a={contentJudgement:wE(this.getContentJudgement())}}else a=void 0;return a};nR.messageId="b.UpdateContentJudgementRequest";var oR=function(a){this.executor=a};oR.prototype.create=function(a,b,c){a=(new Vrc).setResourcePath(a).setSeverity(Qqa(b)).setJudgementReason(c);return this.executor.post({url:"action/content_judgements",body:a,responseConstructor:Ji}).pipe(C(Tqa))};
oR.prototype.update=function(a){var b=a.contentJudgementId,c=new nR,d=c.setContentJudgement,e=new Ji;e=V(e,1,a.contentJudgementId).setResourcePath(a.resourcePath).setSeverity(Qqa(a.severity)).setJudgementReason(a.judgementReason);a=sk(e,5,a.contentJudge);c=d.call(c,a);return this.executor.post({url:"action/content_judgements/"+b,body:c,responseConstructor:Ji}).pipe(C(Tqa))};
oR.prototype.list=function(a){return this.executor.get({url:"action/content_judgements",options:{params:{resource_path:a}},responseConstructor:mR}).pipe(C(function(b){var c;return(null!=(c=kj(b,Ji,1))?c:[]).map(Tqa)}))};oR.\u0275fac=function(a){return new (a||oR)(t(hE))};oR.\u0275prov=yc({token:oR,factory:oR.\u0275fac,providedIn:"root"});var qR=function(a,b,c,d,e){var g=this;this.dialogRef=a;this.documentationLinks=b;this.contentJudgements=c;this.activeSession=d;this.data=e;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.piiSeverity=G6b;this.loaded=!1;this.minimumSeverity="PII_SEVERITY_UNSPECIFIED";this.severity="NONE_DETECTED";this.severity=e.severity;e.resourcePath?c.list(e.resourcePath).subscribe(function(h){var l="PII_SEVERITY_UNSPECIFIED";h=k(h);for(var q=h.next();!q.done;q=h.next())q=q.value,q.contentJudge===
g.activeSession.getUserEmail()?Wrc(g,q):pR(q.severity,l)&&(l=q.severity);g.minimumSeverity=l;pR(g.minimumSeverity,g.severity)&&(g.severity=g.minimumSeverity);g.loaded=!0}):(Wrc(this,e.contentJudgement),this.loaded=!0)};qR.prototype.canInteract=function(){return this.loaded&&(this.data.hasAclToCreate||!!this.judgement)};
var pR=function(a,b){return KLa(a)>KLa(b)},Wrc=function(a,b){if(a.judgement=b)a.severity=b.severity},Xrc=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.";
pR(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};qR.prototype.getContentJudgement=function(){var a;this.judgement?a=Object.assign({},this.judgement):a={contentJudge:"",contentJudgementId:void 0,resourcePath:void 0,severity:"PII_SEVERITY_UNSPECIFIED",judgementReason:""};a.severity=this.severity;a.judgementReason="None specified";return a};
qR.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()})};qR.prototype.onNoClick=function(){this.dialogRef.close(null)};qR.\u0275fac=function(a){return new (a||qR)(B(bB),B(OJ),B(oR),B(Bs),B(dB))};
qR.\u0275cmp=Oc({type:qR,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&&(F(0,"header",0)(1,"h1"),I(2,"mat-icon",1),F(3,"div"),P(4," Set restriction "),H()()(),F(5,"section",2)(6,"label",3),P(7),F(8,"a",4),P(9," Learn More "),H()(),
F(10,"mat-radio-group",5),L("ngModelChange",function(c){return b.severity=c}),F(11,"mat-radio-button",6),P(12," No restriction "),F(13,"div"),P(14,' Users with "View issues" can access. '),H()(),F(15,"mat-radio-button",7),P(16," Restricted "),F(17,"div"),P(18,' Users with "View restricted content" can access. '),H()(),F(19,"mat-radio-button",8),P(20," Restricted+ "),F(21,"div"),P(22,' Users with "View restricted+ content" can access. '),H()()()(),F(23,"mat-dialog-actions")(24,"button",9),L("click",
function(){return b.onNoClick()}),P(25," Cancel "),H(),F(26,"button",10),L("click",function(){return b.onSaveClick()}),P(27," Set "),H()());a&2&&(z(7),Lf(" ",Xrc(b)," "),z(1),E("rel",b.EXTERNAL_LINK_REL),of("href",b.documentationLinks.getRestrictedAccessHelpLink(),Ud),z(2),E("ngModel",b.severity),z(1),E("value",b.piiSeverity.NONE_DETECTED)("disabled",!b.canInteract()||pR(b.minimumSeverity,b.piiSeverity.NONE_DETECTED)),z(4),E("value",b.piiSeverity.PII)("disabled",!b.canInteract()||pR(b.minimumSeverity,
b.piiSeverity.PII)),z(4),E("value",b.piiSeverity.SPII)("disabled",!b.canInteract()||pR(b.minimumSeverity,b.piiSeverity.SPII)),z(7),E("disabled",!b.canInteract()))},dependencies:[HB,QA,gB,hB,iB,aO,bO,tx,Ax],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 rR=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};rR.prototype.canInteract=function(){return!sR(this)||this.acknowledgeToMatchIssueRetention};var sR=function(a){return"INDEFINITE"===a.piiRetention};rR.prototype.onSaveClick=function(){this.dialogRef.close(1)};rR.prototype.onNoClick=function(){this.dialogRef.close(0)};
rR.\u0275fac=function(a){return new (a||rR)(B(bB),B(OJ),B(dB))};
rR.\u0275cmp=Oc({type:rR,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&&(F(0,"h1",0),I(1,"mat-icon",1),F(2,"div"),O(3,LLa,2,1,"span",2),O(4,MLa,2,0,"span",2),H()(),F(5,"div",3),O(6,NLa,8,1,"span",2),O(7,OLa,3,2,"span",2),F(8,"span")(9,"a",4),P(10," Learn More "),H()()(),F(11,"div")(12,"span"),O(13,PLa,2,1,"mat-checkbox",5),H()(),F(14,"div",6)(15,"button",7),L("click",function(){return b.onNoClick()}),P(16," Cancel "),H(),F(17,"button",8),L("click",
function(){return b.onSaveClick()}),P(18," Save "),H()());a&2&&(z(3),E("ngIf",sR(b)),z(1),E("ngIf",!sR(b)),z(2),E("ngIf",sR(b)),z(1),E("ngIf",!sR(b)),z(2),E("rel",b.EXTERNAL_LINK_REL),of("href",ws(),Ud),z(4),E("ngIf",sR(b)),z(4),E("disabled",!b.canInteract()))},dependencies:[Rw,HB,QA,gB,hB,iB,$O,tx,Ax],styles:["h1[_ngcontent-%COMP%]{text-align:center}.mat-dialog-content[_ngcontent-%COMP%]{overflow:inherit}/*# sourceMappingURL=update_retention_dialog.css.map */"]});var tR=function(a,b,c,d,e,g,h){this.errorHandler=a;this.eventsForIssueFridge=b;this.issueFetchResponseFridge=c;this.issueCommentsService=d;this.issueInteractionsTracking=e;this.butterBar=g;this.editIssueService=h},Yrc=function(a,b){var c=b.issueId,d=b.newCommentId,e=b.newComment,g=b.newCommentFormattingMode,h=b.recaptchaToken,l,q;pe(function(v){switch(v.nextAddress){case 1:l=a.editIssueService.savingState(c);if(!e.trim())return ZG(a.butterBar,"New comment cannot be empty."),v.return();NK(l,"commentEdit");
YG(a.butterBar,"Saving comment edit...",0);lhc(a.issueInteractionsTracking,c,{label:1===d?"description":"comment"});qe(v,2,3);return v.yield(a.issueCommentsService.update(c,d,e,g,h),5);case 5:YG(a.butterBar,"Comment edit successful.",4E3),OI(a.issueFetchResponseFridge,c),lG(a.eventsForIssueFridge,c,function(x){x.events=Zua(x.events,d,{formattedComment:void 0,unlinkifiedComment:e,formattingMode:g})}),a.eventsForIssueFridge.poke(c);case 3:re(v);OK(l,"commentEdit");se(v,0);break;case 2:q=te(v),cH(a.errorHandler,
q),v.jumpTo(3)}})};tR.\u0275fac=function(a){return new (a||tR)(t(aH),t(nG),t(MI),t(nJ),t(yK),t(XG),t(QK))};tR.\u0275prov=yc({token:tR,factory:tR.\u0275fac,providedIn:"root"});var Zrc=function(a,b,c){this.objectId=a;this.version=b;this.payload=c},$rc=function(){},asc=function(a){this.timestampMicros=a};QLa.prototype.reset=function(){this.currentMaxDelayMs_=this.initialMaxDelayMs_;this.inRetryMode_=!1};var bsc=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 ro=function(a){this.internalArray_=m(a)};T(ro,p);var to=[1,2,3,15];ro.prototype.toObject=function(){return csc(this)};var csc=function(a){if(null!=a)return r(a),{isPublic:n(vr(a,Go(a,to,1))),isPrivateToUser:n(vr(a,Go(a,to,2))),privateUserGaiaIdForTest:n(pt(a,3,to)),isEnd:n(vr(a,Go(a,to,15)))}};var vo=function(a){this.internalArray_=m(a)};T(vo,p);var xo=[1,2,3,4,5,6,7,8,9,10,11,12];vo.prototype.toObject=function(){return dsc(this)};
var dsc=function(a){if(null!=a)return r(a),{bytesDecreasing:Xb(Jo(a,Go(a,xo,5))),signedNumDecreasing:n(Fo(a,Go(a,xo,4))),stringDecreasing:n(Io(a,3,xo)),numDecreasing:n(ZLa(a,6)),bytes:Xb(Jo(a,Go(a,xo,7))),signedNumIncreasing:n(Fo(a,Go(a,xo,2))),string:n(Io(a,1,xo)),numIncreasing:n(ZLa(a,8)),doubleDecreasing:n(Ho(a,Go(a,xo,9))),doubleIncreasing:n(Ho(a,Go(a,xo,10))),timestampDecreasing:Lt(ck(a,Nh,11,xo)),timestampIncreasing:Lt(ck(a,Nh,12,xo))}};var uo=function(a){this.internalArray_=m(a)};T(uo,p);uo.repeatedFields_=[1];uo.prototype.toObject=function(){return uR(this)};var uR=function(a){if(null!=a)return r(a),{partsList:Ub(kj(a,vo,1),dsc)}};var qo=function(a){this.internalArray_=m(a)};T(qo,p);qo.prototype.getName=function(){return Io(this,1,vR)};qo.prototype.setName=function(a){return yo(this,1,vR,a)};qo.prototype.hasName=function(){return null!=Io(this,1,vR)};qo.prototype.getNameOrUndefined=function(){return tt(this,Go(this,vR,1))};var vR=[1,2];qo.prototype.toObject=function(){return esc(this)};var esc=function(a){if(null!=a)return r(a),{name:n(Io(a,1,vR)),isEnd:n(vr(a,Go(a,vR,2)))}};var fsc=function(a){this.internalArray_=m(a)};T(fsc,p);f=fsc.prototype;f.getProject=function(){return X(this,qo,1)};f.setProject=function(a){hj(this,qo,1,a)};f.getOwner=function(){return X(this,ro,2)};f.setOwner=function(a){return hj(this,ro,2,a)};f.getPath=function(){return X(this,uo,3)};f.setPath=function(a){return hj(this,uo,3,a)};f.hasPath=function(){return Nj(this,uo,3)};f.toObject=function(){return gsc(this)};
var gsc=function(a){if(null!=a)return r(a),{project:esc(a.getProject()),owner:csc(a.getOwner()),path:uR(a.getPath())}};var hsc=function(a){this.internalArray_=m(a)};T(hsc,p);f=hsc.prototype;f.getProject=function(){return X(this,qo,1)};f.setProject=function(a){hj(this,qo,1,a)};f.getOwner=function(){return X(this,ro,2)};f.setOwner=function(a){return hj(this,ro,2,a)};f.getPrefix=function(){return X(this,uo,3)};f.setPrefix=function(a){hj(this,uo,3,a)};f.toObject=function(){return isc(this)};var isc=function(a){if(null!=a)return r(a),{project:esc(a.getProject()),owner:csc(a.getOwner()),prefix:uR(a.getPrefix())}};var wR=function(a){this.internalArray_=m(a)};T(wR,p);f=wR.prototype;f.getVersion=function(){return ft(this,1)};f.getVersion_legacyNullable=function(){return ft(this,1)};f.setVersion=function(a){return V(this,1,a)};f.getVersionOrUndefined=function(){return rt(this,1)};f.toObject=function(){return jsc(this)};var jsc=function(a){if(null!=a)return r(a),{version:n(ft(a,1)),library:n(Er(a,2)),buildBaselineChangelist:n(Yb(a,3))}};var ksc=function(a){this.internalArray_=m(a)};T(ksc,p);f=ksc.prototype;f.getProject=function(){return X(this,qo,3)};f.setProject=function(a){hj(this,qo,3,a)};f.getOwner=function(){return X(this,ro,4)};f.setOwner=function(a){return hj(this,ro,4,a)};f.toObject=function(){return lsc(this)};var lsc=function(a){if(null!=a)return r(a),{project:esc(a.getProject()),owner:csc(a.getOwner()),minPath:uR(X(a,uo,5)),maxPath:uR(X(a,uo,6))}};var xR=function(a){this.internalArray_=m(a)};T(xR,p);f=xR.prototype;f.getHeader=function(){return X(this,wR,4)};f.setHeader=function(a){return hj(this,wR,4,a)};f.hasHeader=function(){return Nj(this,wR,4)};f.getPrefix=function(){return ck(this,hsc,6,msc)};f.setPrefix=function(a){Ao(this,6,msc,a)};var msc=[2,3,6];xR.prototype.toObject=function(){return nsc(this)};
var nsc=function(a){if(null!=a)return r(a),{header:jsc(a.getHeader()),startTimeMicros:n(Yb(a,1)),point:gsc(ck(a,fsc,2,msc)),range:lsc(ck(a,ksc,3,msc)),prefix:isc(a.getPrefix()),monitoringTag:n(Z(a,5)),startTimeChosenByPunctual:n(vr(a,8)),streamInitiationReason:n(Er(a,9))}};var osc=function(a){this.internalArray_=m(a)};T(osc,p);osc.prototype.toObject=function(){if(null!=this){r(this);var a={watchRequest:nsc(X(this,xR,1))}}else a=void 0;return a};var psc=function(a){this.internalArray_=m(a)};T(psc,p);psc.prototype.setAffinitization=function(a){V(this,2,a)};psc.prototype.getAffinitizationOrUndefined=function(){return Qr(this,2)};psc.prototype.toObject=function(){if(null!=this){r(this);var a={gsessionid:n(Z(this,1)),affinitization:n(Er(this,2)),initialConnectionDelayMillis:n(ft(this,3))}}else a=void 0;return a};var qsc=function(a){this.internalArray_=m(a)};T(qsc,p);qsc.prototype.toObject=function(){return rsc(this)};var rsc=function(a){if(null!=a)return r(a),{}};var ssc=function(a){this.internalArray_=m(a)};T(ssc,p);f=ssc.prototype;f.getStreamId_legacyNullable=function(){return Yb(this,1)};f.setStreamId=function(a){V(this,1,a)};f.getClose=function(){return ck(this,qsc,3,tsc)};f.setClose=function(a){Ao(this,3,tsc,a)};f.hasClose=function(){return ak(this,qsc,3,tsc)};f.setAffinitization=function(a){V(this,4,a)};f.getAffinitizationOrUndefined=function(){return Qr(this,4)};var tsc=[2,3];ssc.prototype.toObject=function(){return usc(this)};
var usc=function(a){if(null!=a)return r(a),{streamId:n(Yb(a,1)),open:nsc(ck(a,xR,2,tsc)),close:rsc(a.getClose()),affinitization:n(Er(a,4))}};var yR=function(a){this.internalArray_=m(a)};T(yR,p);yR.prototype.getRequestsList=function(){return kj(this,ssc,1)};yR.prototype.setRequestsList=function(a){return nj(this,1,a)};yR.prototype.addAndReturnRequests=function(){return Fb(this,1,ssc)};yR.repeatedFields_=[1];yR.prototype.toObject=function(){if(null!=this){r(this);var a={requestsList:Ub(this.getRequestsList(),usc)}}else a=void 0;return a};var zR=function(a){this.internalArray_=m(a)};T(zR,p);zR.prototype.setAffinitization=function(a){V(this,4,a)};zR.prototype.getAffinitizationOrUndefined=function(){return Qr(this,4)};zR.repeatedFields_=[3];zR.prototype.toObject=function(){return vsc(this)};var vsc=function(a){if(null!=a)return r(a),{int64SliceKey:n(Yb(a,1)),rangeSliceKey:Xb(Jo(a,2)),behavior:n(Er(a,5)),weaverAddressesList:n(Th(a,3)),affinitization:n(Er(a,4))}};var wsc=function(a){this.internalArray_=m(a)};T(wsc,p);wsc.repeatedFields_=[1];wsc.prototype.toObject=function(){return xsc(this)};var xsc=function(a){if(null!=a)return r(a),{sliceKeyHintsList:Ub(kj(a,zR,1),vsc)}};var AR=function(a){this.internalArray_=m(a)};T(AR,p);AR.prototype.getCode=function(){return Er(this,1)};AR.prototype.getCode_legacyNullable=function(){return Er(this,1)};AR.prototype.setCode=function(a){return V(this,1,a)};AR.prototype.toObject=function(){return ysc(this)};var ysc=function(a){if(null!=a)return r(a),{code:n(Er(a,1)),reconnectHints:xsc(X(a,wsc,2))}};var BR=function(a){this.internalArray_=m(a)};T(BR,p);BR.prototype.getReason=function(){return Zi(this,1,0)};BR.prototype.setReason=function(a){V(this,1,a)};BR.prototype.toObject=function(){return zsc(this)};var zsc=function(a){if(null!=a)return r(a),{reason:n(Er(a,1))}};Ft[376010773]=Tb(376010773,{messageSetExtension:0},BR,zsc);var Asc=function(a){this.internalArray_=m(a)};T(Asc,p);Asc.prototype.toObject=function(){return Bsc(this)};var Bsc=function(a){if(null!=a)return r(a),{timestampMicros:n(Yb(a,1))}};var Csc=function(a){this.internalArray_=m(a)};T(Csc,p);f=Csc.prototype;f.getPayload=function(){return Jo(this,2)};f.getVersion=function(){return Yb(this,3)};f.getVersion_legacyNullable=function(){return Yb(this,3)};f.setVersion=function(a){return V(this,3,a)};f.getVersionOrUndefined=function(){var a=Yb(this,3);return null==a?void 0:a};f.toObject=function(){return Dsc(this)};
var Dsc=function(a){if(null!=a)return r(a),{objectPath:uR(X(a,uo,6)),payload:Xb(a.getPayload()),version:n(Yb(a,3)),changeTimeMicros:n(Yb(a,4))}};var Esc=function(a){this.internalArray_=m(a)};T(Esc,p);Esc.repeatedFields_=[1];Esc.prototype.toObject=function(){return Fsc(this)};var Fsc=function(a){if(null!=a)return r(a),{changesList:Ub(kj(a,Csc,1),Dsc)}};var Gsc=function(a){this.internalArray_=m(a)};T(Gsc,p);Gsc.prototype.getPayload=function(){return X(this,BR,1)};Gsc.prototype.toObject=function(){return Hsc(this)};var Hsc=function(a){if(null!=a)return r(a),{payload:zsc(a.getPayload())}};var Isc=function(a){this.internalArray_=m(a)};T(Isc,p);Isc.prototype.toObject=function(){return Jsc(this)};var Jsc=function(a){if(null!=a)return r(a),{}};var CR=function(a){this.internalArray_=m(a)};T(CR,p);CR.prototype.getStart=function(){return ck(this,Isc,1,DR)};CR.prototype.setStart=function(a){return Ao(this,1,DR,a)};CR.prototype.getChanges=function(){return ck(this,Esc,2,DR)};CR.prototype.hasChanges=function(){return ak(this,Esc,2,DR)};var DR=[1,2,3,5];CR.prototype.toObject=function(){return Ksc(this)};
var Ksc=function(a){if(null!=a)return r(a),{start:Jsc(a.getStart()),changes:Fsc(a.getChanges()),advance:Bsc(ck(a,Asc,3,DR)),resync:Hsc(ck(a,Gsc,5,DR))}};var ER=function(a){this.internalArray_=m(a)};T(ER,p);f=ER.prototype;f.getCode=function(){return ft(this,1)};f.getCode_legacyNullable=function(){return ft(this,1)};f.setCode=function(a){return V(this,1,a)};f.getMessage=function(){return Z(this,3)};f.setMessage=function(a){sk(this,3,a)};f.toObject=function(){return Lsc(this)};var Lsc=function(a){if(null!=a)return r(a),{code:n(ft(a,1)),space:n(Z(a,2)),message:n(Z(a,3)),canonicalCode:n(ft(a,6)),messageSet:CLb(X(a,BLb,5))}};Ft[10071]=Tb(10071,{messageSetExtension:0},ER,Lsc);var FR=function(a){this.internalArray_=m(a)};T(FR,p);FR.prototype.getStatus=function(){return X(this,ER,1)};FR.prototype.setStatus=function(a){return hj(this,ER,1,a)};FR.prototype.hasStatus=function(){return Nj(this,ER,1)};FR.prototype.toObject=function(){return Msc(this)};var Msc=function(a){if(null!=a)return r(a),{status:Lsc(a.getStatus())}};var Nsc=function(a){this.internalArray_=m(a)};T(Nsc,p);f=Nsc.prototype;f.getStreamId_legacyNullable=function(){return Yb(this,1)};f.setStreamId=function(a){V(this,1,a)};f.getClose=function(){return ck(this,FR,3,Osc)};f.setClose=function(a){Ao(this,3,Osc,a)};f.hasClose=function(){return ak(this,FR,3,Osc)};var Osc=[2,3];Nsc.prototype.toObject=function(){return Psc(this)};var Psc=function(a){if(null!=a)return r(a),{streamId:n(Yb(a,1)),watchResponse:Ksc(ck(a,CR,2,Osc)),close:Msc(a.getClose())}};var GR=function(a){this.internalArray_=m(a)};T(GR,p);GR.prototype.getStatus=function(){return X(this,AR,2)};GR.prototype.setStatus=function(a){return hj(this,AR,2,a)};GR.prototype.hasStatus=function(){return Nj(this,AR,2)};GR.repeatedFields_=[1];GR.prototype.toObject=function(){if(null!=this){r(this);var a={responsesList:Ub(kj(this,Nsc,1),Psc),status:ysc(this.getStatus())}}else a=void 0;return a};var Qsc=function(){SB.call(this,"d")};Ns(Qsc,SB);var Rsc=function(){SB.call(this,"c")};Ns(Rsc,SB);var Ssc=function(a,b){this.path=a;this.authMethod=b},Tsc=function(a,b,c,d,e){this.channelMessageHandler=a;this.channelStatusHandler=b;this.config=c;this.channelCreator=d;this.state=0;this.channelHandler=new uq;this.channel=this.createWebChannel(e)};
Tsc.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,"a",function(){b.channelStatusHandler.onOpen()});this.channelHandler.listen(a,
"b",function(){b.channelStatusHandler.onClose((new Usc(b.channel.channel_)).getLastStatusCode());b.state=2;b.channel.removeAllListeners();b.channelHandler.removeAll()});this.channelHandler.listen(a,"d",function(c){(c=c.data)&&1===c.length&&b.channelMessageHandler(new GR(c[0]))});this.channelHandler.listen(a,"c",function(c){b.channelStatusHandler.onError(c,(new Usc(b.channel.channel_)).getLastStatusCode());0!==c.status&&(b.state=2)});return a};
Tsc.prototype.open=function(){0===this.state&&(this.state=1,this.channel.open())};Tsc.prototype.close=function(){2!==this.state&&this.channel.close()};Tsc.prototype.send=function(a){a=a.serialize();this.channel.send(a)};var Vsc,Wsc=(new wR).setVersion(7);Vsc=V(Wsc,2,5);var Bo=function(a){this.rep=a};Bo.prototype.equals=function(a){return this.rep===a.rep};var Xsc=function(){var a=8;a=void 0===a?1:a;this.max=8;this.lastAddedTimestampMs=Date.now();this.tokens=a};Xsc.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 zo=function(a,b){this.seconds=a;this.nanos=b},WLa=function(a){var b=new Nh;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},aMa=function(a){try{var b=a.getSeconds(),c=a.getNanos();if(-62135596800>b)throw Error("md`"+b);if(253402300800<=b)throw Error("nd`"+b);if(0>c)throw Error("od`"+c);if(1E9<=c)throw Error("pd`"+c);if(!Number.isInteger(b))throw Error("qd`"+b);if(!Number.isInteger(c))throw Error("rd`"+c);return new zo(b,c)}catch(d){return null}};
zo.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var wo=function(a,b){this.low_=a|0;this.high_=b|0};f=wo.prototype;f.toNumber=function(){return 4294967296*this.high_+(this.low_>>>0)};f.isSafeInteger=function(){var a=this.high_>>21;return 0==a||-1==a&&!(0==this.low_&&-2097152==this.high_)};
f.toString=function(a){a=a||10;if(2>a||36<a)throw Error("sd`"+a);if(this.isSafeInteger()){var b=this.toNumber();return 10==a?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=HR(c,c/4294967296);c=IR(this,d);d=Math.abs(this.subtract(c.multiply(d)).toNumber());var e=10==a?""+d:d.toString(a);e.length<b&&(e="0000000000000".slice(e.length-b)+e);d=c.toNumber();return(10==a?d:d.toString(a))+e};f.isZero=function(){return 0==this.low_&&0==this.high_};f.isNegative=function(){return 0>this.high_};
f.equals=function(a){return this.low_==a.low_&&this.high_==a.high_};f.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 JR=function(a){var b=~a.low_+1|0;return HR(b,~a.high_+!b|0)};
wo.prototype.add=function(a){var b=this.high_>>>16,c=this.high_&65535,d=this.low_>>>16,e=a.high_>>>16,g=a.high_&65535,h=a.low_>>>16;a=(this.low_&65535)+(a.low_&65535);h=(a>>>16)+(d+h);d=h>>>16;d+=c+g;return HR((h&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};wo.prototype.subtract=function(a){return this.add(JR(a))};
wo.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,g=a.high_>>>16,h=a.high_&65535,l=a.low_>>>16;a=a.low_&65535;var q=e*a;var v=(q>>>16)+d*a;var x=v>>>16;v=(v&65535)+e*l;x+=v>>>16;x+=c*a;var A=x>>>16;x=(x&65535)+d*l;A+=x>>>16;x=(x&65535)+e*h;A=A+(x>>>16)+(b*a+c*l+d*h+e*g)&65535;return HR((v&65535)<<16|q&65535,A<<16|x&65535)};
var IR=function(a,b){if(b.isZero())throw Error("td");if(a.isNegative()){if(a.equals(Ysc)){if(b.equals(Zsc)||b.equals($sc))return Ysc;if(b.equals(Ysc))return Zsc;var c=a.high_;c=HR(a.low_>>>1|c<<31,c>>1);c=IR(c,b).shiftLeft(1);if(c.equals(KR))return b.isNegative()?Zsc:$sc;a=a.subtract(b.multiply(c));return c.add(IR(a,b))}return b.isNegative()?IR(JR(a),JR(b)):JR(IR(JR(a),b))}if(a.isZero())return KR;if(b.isNegative())return b.equals(Ysc)?KR:JR(IR(a,JR(b)));for(var d=KR;0<=a.compare(b);){c=Math.max(1,
Math.floor(a.toNumber()/b.toNumber()));var e=Math.ceil(Math.log(c)/Math.LN2);e=48>=e?1:Math.pow(2,e-48);for(var g=LR(c),h=g.multiply(b);h.isNegative()||0<h.compare(a);)c-=e,g=LR(c),h=g.multiply(b);g.isZero()&&(g=Zsc);d=d.add(g);a=a.subtract(h)}return d};f=wo.prototype;f.not=function(){return HR(~this.low_,~this.high_)};f.and=function(a){return HR(this.low_&a.low_,this.high_&a.high_)};f.or=function(a){return HR(this.low_|a.low_,this.high_|a.high_)};
f.xor=function(a){return HR(this.low_^a.low_,this.high_^a.high_)};f.shiftLeft=function(a){a&=63;if(0==a)return this;var b=this.low_;return 32>a?HR(b<<a,this.high_<<a|b>>>32-a):HR(0,b<<a-32)};
var LR=function(a){return 0<a?0x7fffffffffffffff<=a?atc:new wo(a,a/4294967296):0>a?-0x7fffffffffffffff>=a?Ysc:JR(new wo(-a,-a/4294967296)):KR},HR=function(a,b){return new wo(a,b)},Eo=function(a,b){if("-"==a.charAt(0))return JR(Eo(a.substring(1),b));var c=parseInt(a,b||10);if(9007199254740991>=c)return new wo(c%4294967296|0,c/4294967296|0);if(0==a.length)throw Error("ud");if(0<=a.indexOf("-"))throw Error("vd`"+a);b=b||10;if(2>b||36<b)throw Error("sd`"+b);c=LR(Math.pow(b,8));for(var d=KR,e=0;e<a.length;e+=
8){var g=Math.min(8,a.length-e),h=parseInt(a.substring(e,e+g),b);8>g?d=d.multiply(LR(Math.pow(b,g))).add(LR(h)):(d=d.multiply(c),d=d.add(LR(h)))}return d},KR=HR(0,0),Zsc=HR(1,0),$sc=HR(-1,-1),atc=HR(4294967295,2147483647),Ysc=HR(0,2147483648);var jo=function(a,b){this.value=a;this.isDecreasing=!!b};
jo.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 wo)b=a.value instanceof wo?this.value.equals(a.value):!1;else if(this.value instanceof Bo)b=a.value instanceof Bo?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 zo?a.value instanceof zo?this.value.equals(a.value):!1:!1;return b};var Do=function(a,b){this.parts=a;this.isPrivate=b},YLa=function(){for(var a=[],b=k(Zc.apply(0,arguments)),c=b.next();!c.done;c=b.next())c=c.value,c instanceof jo?a.push(c):a.push(new jo(c));return new Do(a,!1)};Do.prototype.isPrivateToUser=function(){return this.isPrivate};
Do.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 btc=function(){},no=function(a,b){this.apiKey=a;this.authUser=b};no.prototype.getHeaders=function(){var a={},b;(b=Oo([]))?(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};no.prototype.getQueryParameters=function(){return{key:this.apiKey}};no.prototype.domainType=function(){return 0};no.prototype.usesCredentialedRequests=function(){return!0};var lo=function(a){this.oauthTokens=a};
lo.prototype.getHeaders=function(){var a={};a.Authorization="OAuth "+this.oauthTokens.getValue();return a};lo.prototype.getQueryParameters=function(){return{}};lo.prototype.domainType=function(){return 1};lo.prototype.usesCredentialedRequests=function(){return!0};var mo=function(a,b){this.apiKey=a;this.appAuthTokens=b};mo.prototype.getHeaders=function(){return{}};mo.prototype.getQueryParameters=function(){return{key:this.apiKey}};mo.prototype.domainType=function(){return 1};
mo.prototype.usesCredentialedRequests=function(){return!1};var ctc={send:function(a,b,c,d,e,g,h){Bh(a,b,c,d,e,g,h)}};var dtc=function(a,b,c){this.code=a;this.message=b;this.status=c},etc=function(a){var b=void 0===b?ctc:b;this.baseUri=a;this.xhrIo=b};etc.prototype.post=function(a,b,c,d){d=void 0===d?{}:d;return this.request("POST",a,b,c,d)};
etc.prototype.request=function(a,b,c,d,e){var g=this,h=new Wo(this.baseUri);h.setPath(b);if(e.queryParams){b=k(Object.entries(e.queryParams));for(var l=b.next();!l.done;l=b.next()){var q=k(l.value);l=q.next().value;q=q.next().value;RD(h,l,q)}}var v={"Content-type":"application/json+protobuf"};Object.assign(v,e.extraHeaders);var x=c.serialize();return new Promise(function(A,G){var M;g.xhrIo.send(h,function(){var Q=-1===this.getStatus()?void 0:this.getStatus();if(this.isSuccess())try{A(Kca(d,this.getResponseText()))}catch(Y){G(new dtc(4,
"Failed to deserialize response from "+h+": "+this.getResponseText(),Q))}else G(new dtc(this.getLastErrorCode(),this.getLastError(),Q))},a,x,v,null!=(M=e.timeoutMs)?M:2E4,e.withCredentials)})};var ftc=function(a,b,c){QB.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};T(ftc,QB);f=ftc.prototype;f.fire=function(a){this.args_=arguments;this.timer_||this.pauseCount_?this.shouldFire_=!0:this.doAction_()};f.stop=function(){this.timer_&&(po(this.timer_),this.timer_=null,this.shouldFire_=!1,this.args_=null)};f.pause=function(){this.pauseCount_++};
f.resume=function(){this.pauseCount_--;this.pauseCount_||!this.shouldFire_||this.timer_||(this.shouldFire_=!1,this.doAction_())};f.disposeInternal=function(){QB.prototype.disposeInternal.call(this);this.stop()};f.onTimer_=function(){this.timer_=null;this.shouldFire_&&!this.pauseCount_&&(this.shouldFire_=!1,this.doAction_())};f.doAction_=function(){var a=this;this.timer_=oo(function(){return a.onTimer_()},this.interval_);var b=this.args_;this.args_=null;this.listener_.apply(null,b)};var gtc=null,htc=function(){return gtc=gtc||new Ro},itc=function(a){SB.call(this,"serverreachability",a)};Ns(itc,SB);var jtc=function(a){var b=htc();b.dispatchEvent(new itc(b,a))},ktc=function(a,b){SB.call(this,"statevent",a);this.stat=b};Ns(ktc,SB);var MR=function(a){var b=htc();b.dispatchEvent(new ktc(b,a))},ltc=function(a,b,c){SB.call(this,"timingevent",a);this.size=b;this.rtt=c};Ns(ltc,SB);
var mtc=function(a,b,c){var d=htc();d.dispatchEvent(new ltc(d,a,b,c))},ntc=function(a,b){if("function"!==typeof a)throw Error("xd");return ba.setTimeout(function(){a()},b)};var NR=function(){this.redactEnabled_=!0};NR.prototype.disableRedact=function(){this.redactEnabled_=!1};
var otc=function(a,b,c,d,e,g){a.info(function(){if(a.redactEnabled_)if(g){var h="";for(var l=g.split("&"),q=0;q<l.length;q++){var v=l[q].split("=");if(1<v.length){var x=v[0];v=v[1];var A=x.split("_");h=2<=A.length&&"type"==A[1]?h+(x+"="+v+"&"):h+(x+"=redacted&")}}}else h=null;else h=g;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+h})},ptc=function(a,b,c,d,e,g,h){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+g+" "+h})},OR=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+qtc(a,c)+(d?" "+d:"")})},rtc=function(a,b){a.info(function(){return"TIMEOUT: "+b})};NR.prototype.debug=function(){};NR.prototype.info=function(){};NR.prototype.warning=function(){};
var qtc=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 g=e[1];if(Array.isArray(g)&&!(1>g.length)){var h=g[0];if("noop"!=h&&"stop"!=h&&"close"!=h)for(var l=1;l<g.length;l++)g[l]=""}}}return S_b(c)}catch(q){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};var PR=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 uq(this);this.timeout_=45E3;a=up?125:void 0;this.pollingTimer_=new qC(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 stc},stc=function(){this.textDecoder=null;this.responseBuffer="";this.responseArrivedForFetch=!1},ttc=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"}},
utc={},vtc={};PR.prototype.setExtraHeaders=function(a){this.extraHeaders_=a};PR.prototype.setTimeout=function(a){this.timeout_=a};PR.prototype.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};PR.prototype.getPendingMessages=function(){return this.pendingMessages_};
var xtc=function(a,b,c){a.type_=1;a.baseUri_=H5b(b.clone());a.postData_=c;a.decodeChunks_=!0;wtc(a,null)},wtc=function(a,b){a.requestStartTime_=Date.now();ytc(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 stc;a.xmlHttp_=ztc(a.channel_,c?b:null,!a.postData_);0<a.readyStateChangeThrottleMs_&&(a.readyStateChangeThrottle_=new ftc(Ls(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));jtc(1);otc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,a.postData_)};
PR.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)};PR.prototype.xmlHttpHandler_=function(a){try{a==this.xmlHttp_?Atc(this):this.channelDebug_.warning("Called back with an unexpected xmlhttp")}catch(b){this.channelDebug_.debug("Failed call to OnXmlHttpReadyStateChanged_"),Btc(this)}finally{}};
var Atc=function(a){var b=a.xmlHttp_.getReadyState(),c=a.xmlHttp_.getLastErrorCode(),d=a.xmlHttp_.getStatus();if(!(3>b||3==b&&!up&&!Btc(a))){a.cancelled_||4!=b||7==c||(8==c||0>=d?jtc(3):jtc(2));Ctc(a);var e=a.xmlHttp_.getStatus();a.lastStatusCode_=e;c=Dtc(a);Btc(a)||a.channelDebug_.debug(function(){return"No response text for uri "+a.requestUri_+" status "+e});a.successful_=200==e;ptc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,b,e);if(a.successful_){if(a.decodeInitialResponse_&&!a.initialResponseDecoded_)if(d=
Etc(a))OR(a.channelDebug_,a.rid_,d,"Initial handshake response via X-HTTP-Initial-Response"),a.initialResponseDecoded_=!0,Ftc(a,d);else{a.successful_=!1;a.lastError_=3;MR(12);a.channelDebug_.warning("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+a.rid_+")");QR(a);Gtc(a);return}a.decodeChunks_?(Htc(a,b,c),up&&a.successful_&&3==b&&Itc(a)):(OR(a.channelDebug_,a.rid_,c,null),Ftc(a,c));4==b&&QR(a);a.successful_&&!a.cancelled_&&(4==b?Jtc(a.channel_,a):(a.successful_=!1,ytc(a)))}else a.xmlHttp_.getResponseHeaders(),
400==e&&0<c.indexOf("Unknown SID")?(a.lastError_=3,MR(12),a.channelDebug_.warning("XMLHTTP Unknown SID ("+a.rid_+")")):(a.lastError_=0,MR(13),a.channelDebug_.warning("XMLHTTP Bad status "+e+" ("+a.rid_+")")),QR(a),Gtc(a)}},Etc=function(a){return a.xmlHttp_&&(a=Dh(a.xmlHttp_,"X-HTTP-Initial-Response"))&&!Mk(a)?a:null},Dtc=function(a){if(!Ktc(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 QR(a),Gtc(a),"";a.fetchResponseState_.textDecoder=new ba.TextDecoder}for(var g=0;g<d;g++)a.fetchResponseState_.responseArrivedForFetch=!0,c+=a.fetchResponseState_.textDecoder.decode(b[g],{stream:e&&g==d-1});b.splice(0,d);a.fetchResponseState_.responseBuffer+=c;a.xmlHttpChunkStart_=0;return a.fetchResponseState_.responseBuffer},Btc=function(a){return a.xmlHttp_?a.fetchResponseState_.responseArrivedForFetch?!0:!(!a.xmlHttp_.getResponseText()&&!a.xmlHttp_.getResponse()):!1},
Ktc=function(a){return a.xmlHttp_?"GET"==a.verb_&&2!=a.type_&&a.channel_.usesFetchStreams_:!1},Htc=function(a,b,c){for(var d=!0,e;!a.cancelled_&&a.xmlHttpChunkStart_<c.length;)if(e=Ltc(a,c),e==vtc){4==b&&(a.lastError_=4,MR(14),d=!1);OR(a.channelDebug_,a.rid_,null,"[Incomplete Response]");break}else if(e==utc){a.lastError_=4;MR(15);OR(a.channelDebug_,a.rid_,c,"[Invalid Chunk]");d=!1;break}else OR(a.channelDebug_,a.rid_,e,null),Ftc(a,e);Ktc(a)&&e!=vtc&&e!=utc&&(a.fetchResponseState_.responseBuffer=
"",a.xmlHttpChunkStart_=0);4!=b||0!=c.length||a.fetchResponseState_.responseArrivedForFetch||(a.lastError_=1,MR(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),Mtc(b),b.bpDetectionDone_=!0,MR(11))):(OR(a.channelDebug_,a.rid_,c,"[Invalid Chunked Response]"),QR(a),Gtc(a))};
PR.prototype.pollResponse_=function(){if(this.xmlHttp_){var a=this.xmlHttp_.getReadyState(),b=this.xmlHttp_.getResponseText();this.xmlHttpChunkStart_<b.length&&(Ctc(this),Htc(this,a,b),this.successful_&&4!=a&&ytc(this))}};
var Itc=function(a){a.eventHandler_.listen(a.pollingTimer_,"tick",a.pollResponse_);a.pollingTimer_.start()},Ltc=function(a,b){var c=a.xmlHttpChunkStart_,d=b.indexOf("\n",c);if(-1==d)return vtc;c=Number(b.substring(c,d));if(isNaN(c))return utc;d+=1;if(d+c>b.length)return vtc;b=b.slice(d,d+c);a.xmlHttpChunkStart_=d+c;return b};PR.prototype.cancel=function(){this.cancelled_=!0;QR(this)};
var ytc=function(a){a.watchDogTimeoutTime_=Date.now()+a.timeout_;Ntc(a,a.timeout_)},Ntc=function(a,b){if(null!=a.watchDogTimerId_)throw Error("yd");a.watchDogTimerId_=ntc(Ls(a.onWatchDogTimeout_,a),b)},Ctc=function(a){a.watchDogTimerId_&&(ba.clearTimeout(a.watchDogTimerId_),a.watchDogTimerId_=null)};
PR.prototype.onWatchDogTimeout_=function(){this.watchDogTimerId_=null;var a=Date.now();0<=a-this.watchDogTimeoutTime_?(rtc(this.channelDebug_,this.requestUri_),2!=this.type_&&(jtc(3),MR(17)),QR(this),this.lastError_=2,Gtc(this)):(this.channelDebug_.warning("WatchDog timer called too early"),Ntc(this,this.watchDogTimeoutTime_-a))};
var Gtc=function(a){a.channel_.isClosed()||a.cancelled_||Jtc(a.channel_,a)},QR=function(a){Ctc(a);Ah(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()}};PR.prototype.getLastError=function(){return this.lastError_};PR.prototype.getLastStatusCode=function(){return this.lastStatusCode_};PR.prototype.getRequestId=function(){return this.rid_};PR.prototype.getXhr=function(){return this.xmlHttp_};
var Ftc=function(a,b){try{var c=a.channel_;if(0!=c.state_&&(c.backChannelRequest_==a||Otc(c.forwardChannelRequestPool_,a)))if(!a.initialResponseDecoded_&&Otc(c.forwardChannelRequestPool_,a)&&3==c.state_){try{var d=c.wireCodec_.parser_.parse(b)}catch(ja){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_)Ptc(c),Qtc(c);else break a;else c.channelDebug_.warning("We do not have a BackChannel established");Rtc(c);MR(18)}else{c.lastPostResponseArrayId_=e[1];var g=c.lastPostResponseArrayId_-c.lastArrayId_;if(0<g){var h=e[2];c.channelDebug_.debug(h+" bytes (in "+g+" arrays) are outstanding on the BackChannel");37500>h&&c.enableStreaming_&&0==c.backChannelRetryCount_&&!c.deadBackChannelTimerId_&&(c.deadBackChannelTimerId_=ntc(Ls(c.onBackChannelDead_,c),6E3))}}if(1>=c.forwardChannelRequestPool_.getRequestCount()&&
c.forwardChannelFlushedCallback_){try{c.forwardChannelFlushedCallback_()}catch(ja){}c.forwardChannelFlushedCallback_=void 0}}else c.channelDebug_.debug("Bad POST response data returned"),RR(c,11)}else if((a.initialResponseDecoded_||c.backChannelRequest_==a)&&Ptc(c),!Mk(b))for(e=c.wireCodec_.parser_.parse(b),g=0;g<e.length;g++){var l=e[g];c.lastArrayId_=l[0];l=l[1];if(2==c.state_)if("c"==l[0]){c.sid_=l[1];c.hostPrefix_=c.correctHostPrefix(l[2]);var q=l[3];null!=q&&(c.channelVersion_=q,c.channelDebug_.info("VER="+
c.channelVersion_));var v=l[4];null!=v&&(c.serverVersion_=v,c.channelDebug_.info("SVER="+c.serverVersion_));var x=l[5];null!=x&&"number"===typeof x&&0<x&&(h=1.5*x,c.backChannelRequestTimeoutMs_=h,c.channelDebug_.info("backChannelRequestTimeoutMs_="+h));h=c;var A=a.getXhr();if(A){var G=Dh(A,"X-Client-Wire-Protocol");if(G){var M=h.forwardChannelRequestPool_;b=G;!M.requestPool_&&(fa(b,"spdy")||fa(b,"quic")||fa(b,"h2"))&&(M.maxSize_=M.maxPoolSizeConfigured_,M.requestPool_=new Set,M.request_&&(M.addRequest(M.request_),
M.request_=null))}if(h.httpSessionIdParam_){var Q=Dh(A,"X-HTTP-Session-Id");Q?(h.httpSessionId_=Q,RD(h.forwardChannelUri_,h.httpSessionIdParam_,Q)):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 Y=d=h,W=Stc(Y,Y.supportsCrossDomainXhrs_?h.hostPrefix_:null,h.path_);Y.channelDebug_.debug("GetBackChannelUri: "+
W);d.backChannelUri_=W;if(b.initialResponseDecoded_){h.channelDebug_.debug("Upgrade the handshake request to a backchannel.");Ttc(h.forwardChannelRequestPool_,b);d=b;var ia=h.backChannelRequestTimeoutMs_;ia&&d.setTimeout(ia);d.watchDogTimerId_&&(Ctc(d),ytc(d));h.backChannelRequest_=b}else Utc(h);0<c.outgoingMaps_.length&&Vtc(c)}else"stop"!=l[0]&&"close"!=l[0]||RR(c,7);else 3==c.state_&&("stop"==l[0]||"close"==l[0]?"stop"==l[0]?RR(c,7):c.disconnect():"noop"!=l[0]&&c.handler_&&c.handler_.channelHandleArray(l),
c.backChannelRetryCount_=0)}jtc(4)}catch(ja){}};var Wtc=function(a,b){this.mapId=a;this.map=b;this.context=null};var Xtc=function(a){this.maxPoolSizeConfigured_=a||10;ba.PerformanceNavigationTiming?(a=ba.performance.getEntriesByType("navigation"),a=0<a.length&&("hq"==a[0].nextHopProtocol||"h2"==a[0].nextHopProtocol)):a=!!(ba.chrome&&ba.chrome.loadTimes&&ba.chrome.loadTimes()&&ba.chrome.loadTimes().wasFetchedViaSpdy);this.maxSize_=a?this.maxPoolSizeConfigured_:1;this.requestPool_=null;1<this.maxSize_&&(this.requestPool_=new Set);this.request_=null;this.pendingMessages_=[]},Ytc=function(a){return a.request_?!0:
a.requestPool_?a.requestPool_.size>=a.maxSize_:!1};Xtc.prototype.getRequestCount=function(){return this.request_?1:this.requestPool_?this.requestPool_.size:0};var Otc=function(a,b){return a.request_?a.request_==b:a.requestPool_?a.requestPool_.has(b):!1};Xtc.prototype.addRequest=function(a){this.requestPool_?this.requestPool_.add(a):this.request_=a};var Ttc=function(a,b){a.request_&&a.request_==b?a.request_=null:a.requestPool_&&a.requestPool_.has(b)&&a.requestPool_.delete(b)};
Xtc.prototype.cancel=function(){this.pendingMessages_=this.getPendingMessages();if(this.request_)this.request_.cancel(),this.request_=null;else if(this.requestPool_&&0!==this.requestPool_.size){for(var a=k(this.requestPool_.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.requestPool_.clear()}};
Xtc.prototype.getPendingMessages=function(){if(null!=this.request_)return this.pendingMessages_.concat(this.request_.getPendingMessages());if(null!=this.requestPool_&&0!==this.requestPool_.size){for(var a=this.pendingMessages_,b=k(this.requestPool_.values()),c=b.next();!c.done;c=b.next())a=a.concat(c.value.getPendingMessages());return a}return ua(this.pendingMessages_)};var Ztc=function(a,b){a.pendingMessages_=a.pendingMessages_.concat(b)};var auc=function(a,b){var c=new NR;c.debug("TestLoadImage: loading "+a);if(ba.Image){var d=new Image;d.onload=Ms($tc,c,d,"TestLoadImage: loaded",!0,b);d.onerror=Ms($tc,c,d,"TestLoadImage: error",!1,b);d.onabort=Ms($tc,c,d,"TestLoadImage: abort",!1,b);d.ontimeout=Ms($tc,c,d,"TestLoadImage: timeout",!1,b);ba.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)},$tc=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(g){}};var buc=function(){this.replacer_=void 0};buc.prototype.stringify=function(a){return ba.JSON.stringify(a,this.replacer_)};buc.prototype.parse=function(a){return ba.JSON.parse(a,void 0)};var cuc=function(){this.parser_=new buc},duc=function(a,b,c){var d=c||"";try{x5b(a,function(e,g){var h=e;wa(e)&&(h=S_b(e));b.push(d+g+"="+encodeURIComponent(h))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}};var euc=function(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b},SR=function(a){this.clientVersion_=22;this.serverVersion_=0;this.outgoingMaps_=[];this.channelDebug_=new NR;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_=euc("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_=euc("baseRetryDelayMs",5E3,a);this.retryDelaySeedMs_=euc("retryDelaySeedMs",1E4,a);this.forwardChannelMaxRetries_=euc("forwardChannelMaxRetries",2,a);this.forwardChannelRequestTimeoutMs_=
euc("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 Xtc(a&&a.concurrentRequestLimit);this.wireCodec_=new cuc;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};SR.prototype.channelVersion_=8;SR.prototype.state_=1;
SR.prototype.connect=function(a,b,c,d){this.channelDebug_.debug("connect()");MR(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=Stc(this,null,this.path_);this.channelDebug_.debug("GetForwardChannelUri: "+a);this.forwardChannelUri_=a;Vtc(this)};
SR.prototype.disconnect=function(){this.channelDebug_.debug("disconnect()");fuc(this);if(3==this.state_){var a=this.nextRid_++,b=this.forwardChannelUri_.clone();RD(b,"SID",this.sid_);RD(b,"RID",a);RD(b,"TYPE","terminate");guc(this,b);a=new PR(this,this.channelDebug_,this.sid_,a);a.type_=2;a.baseUri_=H5b(b.clone());b=!1;if(ba.navigator&&ba.navigator.sendBeacon)try{b=ba.navigator.sendBeacon(a.baseUri_.toString(),"")}catch(c){}!b&&ba.Image&&((new Image).src=a.baseUri_,b=!0);b||(a.xmlHttp_=ztc(a.channel_,
null),a.xmlHttp_.send(a.baseUri_));a.requestStartTime_=Date.now();ytc(a)}huc(this)};var Qtc=function(a){a.backChannelRequest_&&(Mtc(a),a.backChannelRequest_.cancel(),a.backChannelRequest_=null)},fuc=function(a){Qtc(a);a.backChannelTimerId_&&(ba.clearTimeout(a.backChannelTimerId_),a.backChannelTimerId_=null);Ptc(a);a.forwardChannelRequestPool_.cancel();a.forwardChannelTimerId_&&("number"===typeof a.forwardChannelTimerId_&&ba.clearTimeout(a.forwardChannelTimerId_),a.forwardChannelTimerId_=null)};
f=SR.prototype;f.setExtraHeaders=function(a){this.extraHeaders_=a};f.getHttpSessionId=function(){return this.httpSessionId_};f.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};f.getHandler=function(){return this.handler_};f.isClosed=function(){return 0==this.state_};f.getState=function(){return this.state_};f.getLastStatusCode=function(){return this.errorResponseStatusCode_};
var Vtc=function(a){Ytc(a.forwardChannelRequestPool_)||a.forwardChannelTimerId_||(a.forwardChannelTimerId_=!0,lC(a.onStartForwardChannelTimer_,a),a.forwardChannelRetryCount_=0)},juc=function(a,b){if(a.forwardChannelRequestPool_.getRequestCount()>=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_=ntc(Ls(a.onStartForwardChannelTimer_,a,b),iuc(a,a.forwardChannelRetryCount_));a.forwardChannelRetryCount_++;return!0};
SR.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 PR(this,this.channelDebug_,"",a),c=this.extraHeaders_;this.initHeaders_&&(c?(c=dc(c),Uca(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 g=this.outgoingMaps_[e];if("__data__"in g.map&&(g=g.map.__data__,"string"===typeof g)){g=g.length;break b}g=void 0}if(void 0===g)break;d+=g;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=kuc(this,b,d);e=this.forwardChannelUri_.clone();RD(e,"RID",a);0<this.clientVersion_&&RD(e,"CVER",this.clientVersion_);this.httpSessionIdParam_&&
RD(e,"X-HTTP-Session-Id",this.httpSessionIdParam_);guc(this,e);c&&(this.encodeInitMessageHeaders_?d="headers="+encodeURIComponent(String(K5b(c)))+"&"+d:this.httpHeadersOverwriteParam_&&L5b(e,this.httpHeadersOverwriteParam_,c));this.forwardChannelRequestPool_.addRequest(b);this.blockingHandshake_&&RD(e,"TYPE","init");this.fastHandshake_?(RD(e,"$req",d),RD(e,"SID","null"),b.decodeInitialResponse_=!0,xtc(b,e,null)):xtc(b,e,d);this.state_=2}}else 3==this.state_&&(a?luc(this,a):0==this.outgoingMaps_.length?
this.channelDebug_.debug("startForwardChannel_ returned: nothing to send"):Ytc(this.forwardChannelRequestPool_)||(luc(this),this.channelDebug_.debug("startForwardChannel_ finished, sent request")))};
var luc=function(a,b){var c;b?c=b.getRequestId():c=a.nextRid_++;var d=a.forwardChannelUri_.clone();RD(d,"SID",a.sid_);RD(d,"RID",c);RD(d,"AID",a.lastArrayId_);guc(a,d);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&L5b(d,a.httpHeadersOverwriteParam_,a.extraHeaders_);c=new PR(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=kuc(a,c,1E3);c.setTimeout(Math.round(.5*
a.forwardChannelRequestTimeoutMs_)+Math.round(.5*a.forwardChannelRequestTimeoutMs_*Math.random()));a.forwardChannelRequestPool_.addRequest(c);xtc(c,d,b)},guc=function(a,b){a.extraParams_&&$b(a.extraParams_,function(c,d){RD(b,d,c)});a.handler_&&x5b({},function(c,d){RD(b,d,c)})},kuc=function(a,b,c){c=Math.min(a.outgoingMaps_.length,c);var d=a.handler_?Ls(a.handler_.badMapError,a.handler_,a):null;a:for(var e=a.outgoingMaps_,g=-1;;){var h=["count="+c];-1==g?0<c?(g=e[0].mapId,h.push("ofs="+g)):g=0:h.push("ofs="+
g);for(var l=!0,q=0;q<c;q++){var v=e[q].mapId,x=e[q].map;v-=g;if(0>v)g=Math.max(0,e[q].mapId-100),l=!1;else try{duc(x,h,"req"+v+"_")}catch(A){d&&d(x)}}if(l){d=h.join("&");break a}}a=a.outgoingMaps_.splice(0,c);b.pendingMessages_=a;return d},Utc=function(a){a.backChannelRequest_||a.backChannelTimerId_||(a.backChannelAttemptId_=1,lC(a.onStartBackChannelTimer_,a),a.backChannelRetryCount_=0)},Rtc=function(a){if(a.backChannelRequest_||a.backChannelTimerId_||3<=a.backChannelRetryCount_)return!1;a.channelDebug_.debug("Going to retry GET");
a.backChannelAttemptId_++;a.backChannelTimerId_=ntc(Ls(a.onStartBackChannelTimer_,a),iuc(a,a.backChannelRetryCount_));a.backChannelRetryCount_++;return!0};
SR.prototype.onStartBackChannelTimer_=function(){this.backChannelTimerId_=null;muc(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_=ntc(Ls(this.onBpDetectionTimer_,this),a)}};
SR.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;MR(10);Qtc(this);muc(this)}else this.channelDebug_.warning("Invalid operation.")};
var Mtc=function(a){null!=a.bpDetectionTimerId_&&(a.channelDebug_.debug("Cancel the BP detection timer."),ba.clearTimeout(a.bpDetectionTimerId_),a.bpDetectionTimerId_=null)},muc=function(a){a.channelDebug_.debug("Creating new HttpRequest");a.backChannelRequest_=new PR(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();RD(b,"RID","rpc");RD(b,"SID",a.sid_);RD(b,"AID",a.lastArrayId_);RD(b,"CI",a.enableStreaming_?"0":"1");!a.enableStreaming_&&a.longPollingTimeout_&&RD(b,"TO",a.longPollingTimeout_);RD(b,"TYPE","xmlhttp");guc(a,b);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&L5b(b,a.httpHeadersOverwriteParam_,a.extraHeaders_);a.backChannelRequestTimeoutMs_&&a.backChannelRequest_.setTimeout(a.backChannelRequestTimeoutMs_);var c=a.backChannelRequest_,d=a.hostPrefix_;c.type_=1;c.baseUri_=H5b(b.clone());
c.postData_=null;c.decodeChunks_=!0;wtc(c,d);a.channelDebug_.debug("New Request created")};SR.prototype.correctHostPrefix=function(a){return this.handler_?this.handler_.correctHostPrefix(a):a};SR.prototype.onBackChannelDead_=function(){null!=this.deadBackChannelTimerId_&&(this.deadBackChannelTimerId_=null,Qtc(this),Rtc(this),MR(19))};
var Ptc=function(a){null!=a.deadBackChannelTimerId_&&(ba.clearTimeout(a.deadBackChannelTimerId_),a.deadBackChannelTimerId_=null)},Jtc=function(a,b){a.channelDebug_.debug("Request complete");var c=null;if(a.backChannelRequest_==b){Ptc(a);Mtc(a);a.backChannelRequest_=null;var d=2}else if(Otc(a.forwardChannelRequestPool_,b))c=b.getPendingMessages(),Ttc(a.forwardChannelRequestPool_,b),d=1;else return;if(0!=a.state_)if(b.successful_)1==d?(mtc(b.postData_?b.postData_.length:0,Date.now()-b.requestStartTime_,
a.forwardChannelRetryCount_),Vtc(a)):Utc(a);else{var e=b.getLastStatusCode(),g=b.getLastError();if(3==g||0==g&&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: "+ttc(g,a.errorResponseStatusCode_)});if(1==d&&juc(a,b)||2==d&&Rtc(a))return;a.channelDebug_.debug("Exceeded max number of retries")}c&&0<c.length&&Ztc(a.forwardChannelRequestPool_,c);a.channelDebug_.debug("Error: HTTP request failed");
switch(g){case 1:RR(a,5);break;case 4:RR(a,10);break;case 3:RR(a,6);break;default:RR(a,2)}}},iuc=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},RR=function(a,b){a.channelDebug_.info("Error code "+b);if(2==b){var c=null;a.handler_&&(c=null);var d=Ls(a.testNetworkCallback_,a);c||(c=new Wo("//www.google.com/images/cleardot.gif"),ba.location&&"http"==ba.location.protocol||ND(c,"https"),H5b(c));
auc(c.toString(),d)}else MR(2);a.onError_(b)};SR.prototype.testNetworkCallback_=function(a){a?(this.channelDebug_.info("Successfully pinged google.com"),MR(2)):(this.channelDebug_.info("Failed to ping google.com"),MR(1))};SR.prototype.onError_=function(a){this.channelDebug_.debug("HttpChannel: error - "+a);this.state_=0;this.handler_&&this.handler_.channelError(a);huc(this);fuc(this)};
var huc=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}),Aaa(a.nonAckedMapsAtChannelClose_,b),Aaa(a.nonAckedMapsAtChannelClose_,a.outgoingMaps_),a.forwardChannelRequestPool_.pendingMessages_.length=0,ua(a.outgoingMaps_),a.outgoingMaps_.length=0;a.handler_.channelClosed()}},
Stc=function(a,b,c){var d=TD(c);""!=d.getDomain()?(b&&d.setDomain(b+"."+d.getDomain()),OD(d,d.port_)):(d=ba.location,d=I5b(d.protocol,null,b?b+"."+d.hostname:d.hostname,+d.port,c));b=a.httpSessionIdParam_;c=a.getHttpSessionId();b&&c&&RD(d,b,c);RD(d,"VER",a.channelVersion_);guc(a,d);return d},ztc=function(a,b,c){if(b&&!a.supportsCrossDomainXhrs_)throw Error("zd");b=c&&a.usesFetchStreams_&&!a.xmlHttpFactory_?new DC(new KD({streamBinaryChunks:!0})):new DC(a.xmlHttpFactory_);b.withCredentials_=a.supportsCrossDomainXhrs_;
return b};SR.prototype.isActive=function(){return!!this.handler_&&this.handler_.isActive(this)};var nuc=function(){};f=nuc.prototype;f.channelOpened=function(){};f.channelHandleArray=function(){};f.channelError=function(){};f.channelClosed=function(){};f.isActive=function(){return!0};f.badMapError=function(){};f.correctHostPrefix=function(a){return a};var ouc=function(){if(Ps&&!(10<=Number(Ts)))throw Error("Ad");};ouc.prototype.createWebChannel=function(a,b){return new TR(a,b)};
var TR=function(a,b){Ro.call(this);this.channel_=new SR(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)&&!Mk(a)&&(this.channel_.httpHeadersOverwriteParam_=a);this.supportsCrossDomainXhr_=b&&b.supportsCrossDomainXhr||!1;this.sendRawJson_=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!Mk(b)&&(this.channel_.httpSessionIdParam_=b,Oca(this.messageUrlParams_,b)&&cc(this.messageUrlParams_,b));this.channelHandler_=new UR(this)};Ns(TR,Ro);
TR.prototype.open=function(){this.channel_.handler_=this.channelHandler_;this.supportsCrossDomainXhr_&&(this.channel_.supportsCrossDomainXhrs_=!0);this.channel_.connect(this.url_,this.messageUrlParams_||void 0)};TR.prototype.close=function(){this.channel_.disconnect()};TR.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__=S_b(a),a=c);b.outgoingMaps_.push(new Wtc(b.nextMapId_++,a));3==b.state_&&Vtc(b)};
TR.prototype.disposeInternal=function(){this.channel_.handler_=null;delete this.channelHandler_;this.channel_.disconnect();delete this.channel_;TR.superClass_.disposeInternal.call(this)};var puc=function(a){Qsc.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)?Sca(b,this.metadataKey):b}else this.data=a};Ns(puc,Qsc);
var quc=function(a){Rsc.call(this);this.status=1;this.errorCode=a};Ns(quc,Rsc);var UR=function(a){this.channel_=a};Ns(UR,nuc);UR.prototype.channelOpened=function(){this.channel_.dispatchEvent("a")};UR.prototype.channelHandleArray=function(a){this.channel_.dispatchEvent(new puc(a))};UR.prototype.channelError=function(a){this.channel_.dispatchEvent(new quc(a))};UR.prototype.channelClosed=function(){this.channel_.dispatchEvent("b")};var Usc=function(a){this.channel_=a};
Usc.prototype.getHttpSessionId=function(){return this.channel_.getHttpSessionId()};Usc.prototype.commit=function(a){this.channel_.forwardChannelFlushedCallback_=a};Usc.prototype.getLastStatusCode=function(){return this.channel_.getLastStatusCode()};var ruc=function(){this.changeList=[]};ruc.prototype.add=function(a){this.changeList.push(a)};
var suc=function(a,b){this.authMethod=b;this.jspbClient=new etc(a)},tuc=function(a,b){var c,d,e,g,h;return pe(function(l){if(1==l.nextAddress){c=new osc;hj(c,xR,1,b);var q=l.yield,v=a.jspbClient,x=v.post;var A=a.authMethod;A={queryParams:A.getQueryParameters(),extraHeaders:A.getHeaders(),withCredentials:A.usesCredentialedRequests()};return q.call(l,x.call(v,"/punctual/v1/chooseServer",c,psc,A),2)}d=l.yieldResult;e=Z(d,1);if(null==e)throw Error("Bd");return l.return({gsessionid:e,affinitization:null!=
(g=d.getAffinitizationOrUndefined())?g:0,initialConnectionDelayMillis:null!=(h=ft(d,3))?h:0})})},uuc=function(a,b,c){this.project=a;this.interestSet=b;this.knowledgeTimestamp=c;this.hasRecurred=!1;this.resyncMillis=Date.now()},VR=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 D.Subject;this.streamNumber=0;this.rawStatus=new D.Subject;this.status=new D.BehaviorSubject(new ID);this.skipBackoff=
new Xsc;this.recentResyncs=[];this.hasConnected=!1;this.rawStatus.pipe(Lia(function(d){return 0===d.getCode()?Promise.resolve():new Promise(function(e){oo(e,500)})})).subscribe(this.status);this.delayGenerator=new QLa;this.reconnectHint=b?b.pipe(Ke(function(){return D.NEVER}),Jia(D.NEVER)):D.NEVER;vuc(this)},wuc=function(a,b,c,d){b=b.then(function(e){switch(e.domainType()){case 2:case 0:var g=a.firstPartyUri;break;case 1:g=a.thirdPartyUri;break;default:g=new Wo}var h=g.clone().setPath("/punctual/multi-watch/channel"),
l=new Ssc(h.toString(),e);return{serverChooser:new suc(g,e),channelCreator:function(q,v,x){q=new Tsc(q,v,l,function(A,G){return(new ouc).createWebChannel(A,G)},x);q.open();return q}}});return new VR(d,c,b)};VR.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 xuc=function(a){for(var b=0,c=Date.now();b<a.recentResyncs.length;)c>=a.recentResyncs[b].resyncMillis+6E4?a.recentResyncs.splice(b):++b},yuc=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 Do&&d instanceof Do?c.equals(d):!1;return d})};VR.prototype.onOpen=function(){var a=new ID;a.setCode(0);try{this.rawStatus.next(a)}catch(b){}};VR.prototype.onClose=function(){this.channelState=void 0;vuc(this)};
VR.prototype.onError=function(a,b){a=new ID;a.setCode(SLa(b));try{this.rawStatus.next(a)}catch(c){}a=k(this.causalStreams.values());for(b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2;a=k(this.nonCausalStreams.values());for(b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2};
var Buc=function(a,b,c){if(a.channelState){var d=zuc(c.project,c.interestSet);c instanceof Auc&&(V(d,1,c.knowledgeTimestamp.toString()),Vj(d,8,c.knowledgeTimestampChosenByPunctual));V(d,9,c.streamInitiationReason);c.streamInitiationReason=0;c=new yR;var e=c.addAndReturnRequests();e.setStreamId(b.toString());Ao(e,2,tsc,d);e.setAffinitization(a.channelState.affinitization);a.channelState.channel.send(c)}},zuc=function(a,b){var c=(new xR).setHeader(Vsc);if(b instanceof Do){var d=new fsc;null!=a&&d.setProject(ULa(a));
d.setOwner(VLa(b));d.setPath(XLa(b));Ao(c,2,msc,d)}else d=new hsc,null!=a&&d.setProject(ULa(a)),d.setOwner(VLa(b.root)),d.setPrefix(XLa(b.root)),c.setPrefix(d);return c},Cuc=function(a,b){var c=new yR,d=c.addAndReturnRequests();d.setStreamId(b.toString());d.setClose(new qsc);a.channelState&&a.channelState.channel.send(c);a.causalStreams.delete(b);a.limboStreams.delete(b);a.nonCausalStreams.delete(b)},vuc=function(a){var b=bsc(a.delayGenerator);TLa(b).pipe(hja(a.reconnectHint.pipe(Re(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){Duc(a,c.serverChooser).then(function(d){oo(function(){a.hasConnected=!0;Euc(a,c.channelCreator,d)},a.hasConnected?0:d.initialConnectionDelayMillis)},function(){vuc(a)})},function(c){var d=new ID;d.setCode(13);d.setMessage(c.toString());a.rawStatus.next(d)})})},Duc=function(a,b){var c,d,e,g,h,l;return pe(function(q){if(1==q.nextAddress)return q.yield(Fuc(a),2);c=q.yieldResult;
d=k(c);e=d.next().value;g=d.next().value;h=e;l=g;return q.return(tuc(b,zuc(h,l)))})},Fuc=function(a){var b,c,d,e,g,h,l;return pe(function(q){b=[a.causalStreams,a.limboStreams,a.nonCausalStreams];c=k(b);for(d=c.next();!d.done;d=c.next())for(e=d.value,g=k(e.values()),h=g.next();!h.done;)return l=h.value,q.return([l.project,l.interestSet]);return q.yield(yRb(Iv(a.newStreamSubject).pipe(Re())),1)})},Euc=function(a,b,c){a.channelState={channel:b(function(g){for(var h=k(kj(g,Nsc,1)),l=h.next();!l.done;l=
h.next()){var q=l.value;if(l=q.getStreamId_legacyNullable())if(l=Number(l),q.hasClose()){a:{if(q=q.getClose())if(q=q.getStatus())break a;q=void 0}q&&a.handleClose(l,q)}else{var v=ck(q,CR,2,Osc);if(v)switch(Mi(v,DR)){case 1:q=a;if(v=q.causalStreams.get(l)){try{v.observer.next(new $rc)}catch(Y){}q.causalStreams.delete(l);q.limboStreams.set(l,v.start())}break;case 3:a:{if(q=ck(v,Asc,3,DR))if(q=Yb(q,1)){var x=new asc(Eo(q));break a}x=void 0}if(x&&(q=a,v=l,l=x,(x=q.limboStreams.get(v))?(x=x.advance(l.timestampMicros),
q.limboStreams.delete(v),q.nonCausalStreams.set(v,x),q=x):q=q.nonCausalStreams.get(v),q)){v=q;x=l.timestampMicros;x>v.knowledgeTimestamp&&(v.knowledgeTimestamp=x,v.knowledgeTimestampChosenByPunctual=!0);try{q.observer.next(l)}catch(Y){}}break;case 2:l=a.nonCausalStreams.get(l)||a.limboStreams.get(l);if(!l)break;q=l.interestSet;if(x=v.getChanges()){v=new ruc;x=k(kj(x,Csc,1));for(var A=x.next();!A.done;A=x.next()){var G=A.value,M=X(G,uo,6);A=G.getVersion_legacyNullable();if(M&&A){var Q=void 0;G=null==
(Q=G.getPayload())?void 0:$La(Q);Q=null===G?void 0:G;(M=bMa(q,M))&&v.add(new Zrc(M,Eo(A),Q))}}q=v}else q=void 0;if(q)for(q=k(q.changeList),v=q.next();!v.done;v=q.next()){v=v.value;v=new Zrc(v.objectId,v.version,v.payload);try{l.observer.next(v)}catch(Y){}}break;case 5:if(q=a,l=q.causalStreams.get(l)||q.limboStreams.get(l)||q.nonCausalStreams.get(l)){l instanceof Auc&&(xuc(q),(v=yuc(q,l))?(v.hasRecurred=!0,v.knowledgeTimestamp=l.knowledgeTimestamp,v.resyncMillis=Date.now()):q.recentResyncs.push(new uuc(l.project,
l.interestSet,l.knowledgeTimestamp)));try{l.observer.complete()}catch(Y){}}}}}if(g.hasStatus())switch(g.getStatus().getCode_legacyNullable()){case 1:h=k(a.causalStreams.values());for(g=h.next();!g.done;g=h.next())g.value.streamInitiationReason=3;h=k(a.nonCausalStreams.values());for(g=h.next();!g.done;g=h.next())g.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(g,h){return g[0]-h[0]});b=k(b);for(c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;Buc(a,c,d)}b=k(a.limboStreams);for(c=b.next();!c.done;c=b.next())c=k(c.value),c.next(),c.next().value.observer.complete();a.limboStreams.clear();var e=a.channelState;oo(function(){a.channelState===e&&a.delayGenerator.reset()},45E3)};
VR.prototype.watch=function(a,b){var c=this;b=void 0===b?{}:b;return new D.Observable(function(d){var e=++c.streamNumber,g,h=null!=(g=b.projectOverride)?g:c.defaultProject;d=new Guc(d,h,a);c.causalStreams.set(e,d);c.newStreamSubject.next({});Buc(c,e,d);return function(){Cuc(c,e)}})};
VR.prototype.watchWithStartTime=function(a,b,c){var d=this;c=void 0===c?{}:c;return new D.Observable(function(e){var g=++d.streamNumber,h,l=null!=(h=c.projectOverride)?h:d.defaultProject,q=new Auc(e,l,a,b,!1);xuc(d);if((e=yuc(d,q))&&(e.hasRecurred||0>=b.compare(e.knowledgeTimestamp))){var v=!0;oo(function(){v&&q.observer.complete()},6E4);return function(){v=!1}}d.nonCausalStreams.set(g,q);d.newStreamSubject.next({});Buc(d,g,q);return function(){Cuc(d,g)}})};
var Guc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c;this.streamInitiationReason=1};Guc.prototype.start=function(){return new Huc(this.observer,this.project,this.interestSet)};var Huc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};Huc.prototype.advance=function(a){return new Auc(this.observer,this.project,this.interestSet,a,!0)};
var Auc=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 Iuc={firstPartyUri:new Wo("https://signaler-pa.clients6.google.com"),thirdPartyUri:new Wo("https://signaler-pa.googleapis.com")},Juc={firstPartyUri:new Wo("https://punctual-dev.corp.google.com"),thirdPartyUri:new Wo("https://signaler-staging.sandbox.google.com")},Kuc=new Map(Object.entries({prod:Iuc,ytprod:{firstPartyUri:new Wo("https://signaler-pa.youtube.com"),thirdPartyUri:new Wo("https://signaler-pa.googleapis.com")},dev:Juc}));var Luc=function(a){this.projectPath=a;this.authParams=new btc};Luc.prototype.setApiKey=function(a){this.authParams.apiKey=a;return this};
Luc.prototype.build=function(){var a=RLa(this.authParams),b=this.projectPath;if(!b.startsWith("/punctual/"))throw Error("Cd`"+b);var c=b.substring(10).split("/");if(2!==c.length)throw Error("Dd`"+b);b=k(c);c=b.next().value;b=b.next().value;if(c.startsWith("custom:"))c=new Wo(decodeURIComponent(c.substring(7))),c={firstPartyUri:c,thirdPartyUri:c};else{var d=Kuc.get(c);if(!d)throw Error("Ed`"+c);c=d}return wuc(c,a,this.reconnectHint,b)};var Muc={watch:function(){return(0,D.of)()},watchWithStartTime:function(){return(0,D.of)()},status:(0,D.of)()},WR=function(a){this.activeSession=a;if(pF(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 Luc(b)).setApiKey(a).build()}else this.punctualClient=Muc},Nuc=function(a,b){return a.punctualClient.watch(YLa("new-comment-issue",b)).pipe(Ge(function(c){return c instanceof Zrc}))};WR.\u0275fac=function(a){return new (a||WR)(t(Bs))};WR.\u0275prov=yc({token:WR,factory:WR.\u0275fac,providedIn:"root"});var YR=function(a){this.punctualService=a;this.stream=new D.Subject;this.isPaused=!1;this.closeStream$=new D.Subject};YR.prototype.resume=function(){this.isPaused=!1};var Ouc=function(a,b){a.issueId!==b&&(a.closeStream$.next(),a.stream=new D.Subject,a.issueId=b,a.resume(),a.watch(b).subscribe(a.stream));return a.stream};YR.prototype.watch=function(a){var b=this;return Nuc(this.punctualService,a).pipe(Ge(function(){var c=!b.isPaused;b.resume();return c}),Le(1E3),af(this.closeStream$))};
YR.\u0275fac=function(a){return new (a||YR)(t(WR))};YR.\u0275prov=yc({token:YR,factory:YR.\u0275fac,providedIn:"root"});var Puc=function(a,b){this.displayText=a;this.value=b;this.enabled=!0;this.disabledReason=""};var ZR=function(a,b,c){rF.call(this);this.window=b;this.scrolledOnScreenService=c;this.onAutoResize=new kw;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)};T(ZR,rF);ZR.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.scrolledOnScreenService.getObservable(this.el,!0).subscribe(function(b){b&&Quc(a,0)}));this.autoResize&&this.subscriptions.add(this.autoResize.subscribe(function(){Quc(a,2)}))};ZR.prototype.onInput=function(){Quc(this,1)};
var Quc=function(a,b){for(var c=a.window.getComputedStyle(a.el),d=k("width max-height min-height font-family text-decoration letter-spacing".split(" ")),e=d.next();!e.done;e=d.next())e=e.value,a.cloneEl.style.setProperty(e,c.getPropertyValue(e));a.cloneEl.value=a.el.value;d=a.window.getComputedStyle(a.cloneEl);c=a.cloneEl;c=Jn(d.getPropertyValue("border-top-width"))+Jn(d.getPropertyValue("padding-top"))+c.scrollHeight+Jn(d.getPropertyValue("padding-bottom"))+Jn(d.getPropertyValue("border-bottom-width"))+
24;Number.isNaN(c)||(e=Jn(d.getPropertyValue("max-height")),d=Jn(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})))};ZR.prototype.ngOnDestroy=function(){this.cloneEl.parentElement&&this.cloneEl.parentElement.removeChild(this.cloneEl);rF.prototype.ngOnDestroy.call(this)};ZR.\u0275fac=function(a){return new (a||ZR)(B(Dd),B(qF),B(CP))};
ZR.\u0275dir=Sc({type:ZR,selectors:[["textarea","autoResize",""]],hostBindings:function(a,b){a&1&&L("input",function(){return b.onInput()})},inputs:{autoResize:"autoResize"},outputs:{onAutoResize:"onAutoResize"},features:[kf]});var $R=function(a){this.$log=a;this.accessPolicyPrincipalToString=Ei;this.stringToAccessPolicyPrincipal=Nqa},aS=function(){return{admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null}},bS=function(a){return{admins:Ko(a.admins),editors:Ko(a.editors),appenders:Ko(a.appenders),readers:Ko(a.readers),restrictedReaders:Ko(a.restrictedReaders),restrictedPlusReaders:Ko(a.restrictedPlusReaders),inheritedAdmins:Ko(a.inheritedAdmins),
implicitAccess:a.implicitAccess||null}},cS=function(a){return{admins:Lo(a.admins),editors:Lo(a.editors),appenders:Lo(a.appenders),readers:Lo(a.readers),restrictedReaders:Lo(a.restrictedReaders),restrictedPlusReaders:Lo(a.restrictedPlusReaders),implicitAccess:a.implicitAccess}};$R.\u0275fac=function(a){return new (a||$R)(t($G))};$R.\u0275prov=yc({token:$R,factory:$R.\u0275fac,providedIn:"root"});
var Ruc=new RegExp("ALIAS:("+Object.values({GOOGLERS_UNRESTRICTED:"googlers_unrestricted",GOOGLE_DOMAIN:"google_domain",PUBLIC_NON_GOOGLE:"public_non_google",PUBLIC:"public"}).join("|")+")");var dS=function(a){this.activeSession=a;this.createIframe=QPb(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})},Suc=function(a){var b,c;pe(function(d){if(1==d.nextAddress){if(a.activeSession.isAnonymous()||!a.activeSession.getPassiveLoginIframeUrl())return d.return();qe(d,2);b=a.createIframe();return d.yield(new Promise(function(e,
g){var h=function(){try{var q,v,x;if(null==(q=b.contentWindow)?0:null==(v=q.location)?0:null==(x=v.href)?0:x.includes("/action/yes"))b.removeEventListener("load",h),clearTimeout(l),e()}catch(A){}},l=setTimeout(function(){b.removeEventListener("load",h);g(Error("Gd"))},5E3);b.addEventListener("load",h);Lpa(b,a.activeSession.getPassiveLoginIframeUrl())}),4)}if(2!=d.nextAddress)return Hs(d,0);c=te(d);console.log("first party auth passive login "+c);ue(d)})};dS.\u0275fac=function(a){return new (a||dS)(t(Bs))};
dS.\u0275prov=yc({token:dS,factory:dS.\u0275fac,providedIn:"root"});var Tuc=function(a){this.internalArray_=m(a)};T(Tuc,p);f=Tuc.prototype;f.getSocialApplication=function(){return Zi(this,3,0)};f.getSocialApplicationOrUndefined=function(){return Qr(this,3)};f.getAffinityType=function(){return U(this,12,"CONTACT_STORE_DEFAULT_AFFINITY")};f.setAffinityType=function(a){return sk(this,12,a)};f.toObject=function(){return Uuc(this)};
var Uuc=function(a){if(null!=a)return r(a),{gapiApiKey:n(Z(a,1)),gapiApiKeyTest:n(Z(a,2)),socialApplication:n(Er(a,3)),papiClientId:n(Z(a,4)),papiClientName:n(Z(a,5)),papiClientVersion:n(Z(a,6)),requestTimeoutMillis:Rh(a,8,3E4),includeDomainAddressBook:n(vr(a,10)),includeDomainGroups:n(vr(a,11)),affinityType:U(a,12,"CONTACT_STORE_DEFAULT_AFFINITY"),autocompletePageSize:Rh(a,13,15),rankedTargetsPageSize:Rh(a,14,500),peopleContainerMask:U(a,15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),
peopleFieldMask:U(a,16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),includeOnlyNames:Tj(a,17,!1)}};var eS=function(a){this.internalArray_=m(a)};T(eS,p);eS.prototype.getExperimentIdsList=function(){return Qh(this,4)};eS.prototype.setExperimentIdsList=function(a){return Ab(this,4,a,eb)};eS.prototype.getExperimentIds=function(){return it(this,4)};eS.prototype.setExperimentIds=function(a){Db(this,4,a,void 0,Qh)};eS.repeatedFields_=[4];eS.prototype.toObject=function(){return Vuc(this)};
var Vuc=function(a){if(null!=a)return r(a),{enablePapiClearcutLogging:Tj(a,1,!0),enableOzClearcutLogging:Tj(a,2,!0),enableApiClearcutLogging:Tj(a,3,!0),experimentIdsList:n(Qh(a,4)),enablePapi:Tj(a,5,!0),enableCacheFiltering:Tj(a,6,!0)}};var Wuc=function(a){this.internalArray_=m(a)};T(Wuc,p);f=Wuc.prototype;f.getClientInfo=function(){return X(this,Tuc,1)};f.getMutableClientInfo=function(){return dt(this,Tuc,1)};f.setClientInfo=function(a){hj(this,Tuc,1,a)};f.getExperiments=function(){return X(this,eS,2)};f.setExperiments=function(a){hj(this,eS,2,a)};f.hasExperiments=function(){return Nj(this,eS,2)};
f.toObject=function(){if(null!=this){r(this);var a={clientInfo:Uuc(this.getClientInfo()),experiments:Vuc(this.getExperiments())}}else a=void 0;return a};var Xuc=Jca(Wuc);var Yuc;var Zuc=function(a){this.internalArray_=m(a)};T(Zuc,p);f=Zuc.prototype;f.getDelegatorId=function(){return U(this,2)};f.getEnvType=function(){return Zi(this,5,0)};f.getEnvType_legacyNullable=function(){return Er(this,5)};f.setEnvType=function(a){V(this,5,a)};f.getCacheSize=function(){return Rh(this,7)};f.setCacheSize=function(a){V(this,7,a)};f.hasCacheSize=function(){return Pk(this,7)};
f.toObject=function(){if(null!=this){r(this);var a={delegatorId:n(Z(this,2)),envType:n(Er(this,5)),releaseEnvType:n(Er(this,6)),cacheSize:n(ft(this,7))}}else a=void 0;return a};var eMa=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,cMa=/([#].*?&|[#])authuser=([^&#]*)\b/,dMa=/([?][^#]*?&|[?])authuser=([^&#]*)\b/;var fS=function(){this.config_=sb(Yuc||(Yuc=Xuc('[["AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc","ANVavNLWozk6oXyP9qguyx4QAuef5j_qQw4Y3Rw",740,"MINIMAL_DOMAIN","BUGANIZER",null,null,null,null,true,true],[]]')));this.userInfo_=new Zuc;this.onAuthError_=this.gapiClientThenable_=null};fS.prototype.getClientInfo=function(){return this.config_.getClientInfo()};fS.prototype.getExperiments=function(){return this.config_.getExperiments()};fS.prototype.getUserInfo=function(){return this.userInfo_};
var $uc=function(a){a.gapiClientThenable_||(a.gapiClientThenable_=jMa(10,5E3).then(function(b){return b.client}));return a.gapiClientThenable_};fS.prototype.getAuthErrorHandler=function(){return this.onAuthError_};fS.prototype.setAuthErrorHandler=function(a){this.onAuthError_=a};var avc=function(){};var bvc=[];bvc.push=function(){throw Error("Hd");};var gS={cancel:function(){},isPending:function(){return!1}};var cvc=function(a){this.response_=a||function(){};this.timer_=oo(this.onTimer_,0,this);this.addressBookId_=""};f=cvc.prototype;f.setResponse=function(a){this.response_=a};f.setAddressBookId=function(a){this.addressBookId_=a};f.getAddressBookId=function(){return this.addressBookId_};f.cancel=function(){po(this.timer_);this.timer_=null};f.isPending=function(){return!!this.timer_};f.onTimer_=function(){this.timer_=null;this.response_()};f.setQuery=function(a){this.query_=a};f.getQuery=function(){return this.query_};var dvc=new Map([["personal",2],["domain",4],["pcab",3]]);var Po=function(a){this.internalArray_=m(a)};T(Po,p);f=Po.prototype;f.getEventType=function(){return Zi(this,1,0)};f.setEventType=function(a){return V(this,1,a)};f.getApiType=function(){return Zi(this,2,0)};f.setApiType=function(a){return V(this,2,a)};f.getCacheStatus=function(){return Zi(this,3,0)};f.setCacheStatus=function(a){return V(this,3,a)};f.getAddressBook=function(){return Zi(this,4,0)};f.setAddressBook=function(a){return V(this,4,a)};f.getRpcType=function(){return Zi(this,5,0)};
f.setRpcType=function(a){return V(this,5,a)};f.getLookupType=function(){return Zi(this,6,0)};f.setLookupType=function(a){return V(this,6,a)};f.getToken=function(){return U(this,7,"")};f.setToken=function(a){return sk(this,7,a)};
f.toObject=function(){if(null!=this){r(this);var a={eventType:Zi(this,1,0),apiType:Zi(this,2,0),cacheStatus:Zi(this,3,0),addressBook:Zi(this,4,0),rpcType:Zi(this,5,0),lookupType:Zi(this,6,0),token:U(this,7,""),isCountRecorded:Tj(this,8,!1),isStatusRecorded:Tj(this,9,!1)}}else a=void 0;return a};var hS=function(a){this.internalArray_=m(a)};T(hS,p);f=hS.prototype;f.setDevice=function(a){return V(this,1,a)};f.getApplication=function(){return Zi(this,2,0)};f.setApplication=function(a){return V(this,2,a)};f.getApplicationOrUndefined=function(){return Qr(this,2)};f.toObject=function(){return evc(this)};var evc=function(a){if(null!=a)return r(a),{device:n(Er(a,1)),application:n(Er(a,2)),platform:n(Er(a,3)),trafficType:n(Er(a,4))}};var iS=function(a){this.internalArray_=m(a)};T(iS,p);f=iS.prototype;f.setEventSource=function(a){V(this,2,a)};f.getEventSourceOrUndefined=function(){return Qr(this,2)};f.getSocialClient=function(){return X(this,hS,3)};f.setSocialClient=function(a){return hj(this,hS,3,a)};f.setVersionName=function(a){return sk(this,5,a)};f.getBaselineCl=function(){return Yb(this,7)};f.setBaselineCl=function(a){return V(this,7,a)};f.hasBaselineCl=function(){return Yk(this,7)};
f.getBaselineClOrUndefined=function(){return st(this,7)};f.setClientAgent=function(a){return V(this,9,a)};f.getClientAgentOrUndefined=function(){return Qr(this,9)};f.getPeoplekitEntryPoint=function(){return Er(this,11)};f.setPeoplekitEntryPoint=function(a){return V(this,11,a)};f.getPeoplekitEntryPointOrUndefined=function(){return Qr(this,11)};f.setEnvironment=function(a){return V(this,13,a)};f.getEnvironmentOrUndefined=function(){return Qr(this,13)};iS.repeatedFields_=[6];iS.prototype.toObject=function(){return fvc(this)};
var fvc=function(a){if(null!=a)return r(a),{eventSource:n(Er(a,2)),socialClient:evc(a.getSocialClient()),versionName:n(Z(a,5)),applicationIdentifies:n(Z(a,10)),baselineCl:n(Yb(a,7)),enabledExperimentsFlagsList:n(Th(a,6)),sendkitEntryPoint:n(ft(a,8)),clientAgent:n(Er(a,9)),peoplekitEntryPoint:n(Er(a,11)),environment:n(Er(a,13)),sharekitEntryPoint:n(Er(a,14))}};var gvc=function(a){this.internalArray_=m(a)};T(gvc,p);f=gvc.prototype;f.getApiType=function(){return Zi(this,1,0)};f.setApiType=function(a){return V(this,1,a)};f.getItemCount=function(){return Rh(this,2)};f.setItemCount=function(a){return V(this,2,a)};f.hasItemCount=function(){return Pk(this,2)};f.toObject=function(){return hvc(this)};var hvc=function(a){if(null!=a)return r(a),{apiType:n(Er(a,1)),itemCount:n(ft(a,2))}};var ivc=function(a){this.internalArray_=m(a)};T(ivc,p);f=ivc.prototype;f.getApiType=function(){return Zi(this,1,0)};f.setApiType=function(a){return V(this,1,a)};f.getItemCount=function(){return Rh(this,2)};f.setItemCount=function(a){return V(this,2,a)};f.hasItemCount=function(){return Pk(this,2)};f.getStatus=function(){return Zi(this,4,2)};f.setStatus=function(a){return V(this,4,a)};f.hasStatus=function(){return pj(this,4)};f.setTotalUsec=function(a){return V(this,5,a)};
f.setBlockedUsec=function(a){return V(this,6,a)};f.setNetworkUsec=function(a){V(this,7,a)};f.getCacheStatus=function(){return Zi(this,8,0)};f.setCacheStatus=function(a){return V(this,8,a)};f.getAddressBook=function(){return Zi(this,9,0)};f.setAddressBook=function(a){return V(this,9,a)};f.toObject=function(){return jvc(this)};
var jvc=function(a){if(null!=a)return r(a),{apiType:n(Er(a,1)),itemCount:n(ft(a,2)),notFoundCount:n(ft(a,3)),status:Zi(a,4,2),totalUsec:n(Yb(a,5)),blockedUsec:n(Yb(a,6)),networkUsec:n(Yb(a,7)),cacheStatus:n(Er(a,8)),addressBook:n(Er(a,9))}};var kvc=function(a){this.internalArray_=m(a)};T(kvc,p);f=kvc.prototype;f.getStatus=function(){return Zi(this,1,2)};f.setStatus=function(a){return V(this,1,a)};f.hasStatus=function(){return pj(this,1)};f.setTotalUsec=function(a){return V(this,2,a)};f.toObject=function(){return lvc(this)};var lvc=function(a){if(null!=a)return r(a),{status:Zi(a,1,2),totalUsec:n(Yb(a,2)),scriptLoadUsec:n(Yb(a,3)),papiLoadUsec:n(Yb(a,4)),transportType:n(Er(a,5))}};var mvc=function(a){this.internalArray_=m(a)};T(mvc,p);f=mvc.prototype;f.getRpcType=function(){return Zi(this,1,0)};f.setRpcType=function(a){return V(this,1,a)};f.getLookupType=function(){return Zi(this,2,0)};f.setLookupType=function(a){return V(this,2,a)};f.toObject=function(){return nvc(this)};var nvc=function(a){if(null!=a)return r(a),{rpcType:n(Er(a,1)),lookupType:n(Er(a,2))}};var ovc=function(a){this.internalArray_=m(a)};T(ovc,p);f=ovc.prototype;f.getRpcType=function(){return Zi(this,1,0)};f.setRpcType=function(a){return V(this,1,a)};f.getLookupType=function(){return Zi(this,2,0)};f.setLookupType=function(a){return V(this,2,a)};f.getStatus=function(){return Zi(this,3,2)};f.setStatus=function(a){return V(this,3,a)};f.hasStatus=function(){return pj(this,3)};f.setTotalUsec=function(a){return V(this,4,a)};f.setBlockedUsec=function(a){return V(this,5,a)};
f.setNetworkUsec=function(a){V(this,6,a)};f.toObject=function(){return pvc(this)};var pvc=function(a){if(null!=a)return r(a),{rpcType:n(Er(a,1)),lookupType:n(Er(a,2)),status:Zi(a,3,2),totalUsec:n(Yb(a,4)),blockedUsec:n(Yb(a,5)),networkUsec:n(Yb(a,6))}};var jS=function(a){this.internalArray_=m(a)};T(jS,p);f=jS.prototype;f.getEnvType=function(){return Zi(this,1,0)};f.getEnvType_legacyNullable=function(){return Er(this,1)};f.setEnvType=function(a){V(this,1,a)};f.getCacheSize=function(){return Rh(this,2)};f.setCacheSize=function(a){V(this,2,a)};f.hasCacheSize=function(){return Pk(this,2)};f.toObject=function(){return qvc(this)};
var qvc=function(a){if(null!=a)return r(a),{envType:n(Er(a,1)),cacheSize:n(ft(a,2)),cacheSizeBucket:n(ft(a,3)),gmailDelegation:n(vr(a,4))}};var kS=function(a){this.internalArray_=m(a)};T(kS,p);f=kS.prototype;f.getClientInterface=function(){return X(this,iS,1)};f.setClientInterface=function(a){return hj(this,iS,1,a)};f.getSource=function(){return Zi(this,2,0)};f.setSource=function(a){return V(this,2,a)};f.hasSource=function(){return pj(this,2)};f.getSourceOrUndefined=function(){return Qr(this,2)};f.getEventType=function(){return Zi(this,3,0)};f.getEventType_legacyNullable=function(){return Er(this,3)};
f.setEventType=function(a){return V(this,3,a)};f.getRpcRequest=function(){return ck(this,mvc,5,lS)};f.setRpcRequest=function(a){return Ao(this,5,lS,a)};f.getRpcResponse=function(){return ck(this,ovc,6,lS)};f.setRpcResponse=function(a){return Ao(this,6,lS,a)};f.getApiCall=function(){return ck(this,gvc,7,lS)};f.setApiCall=function(a){return Ao(this,7,lS,a)};f.getApiResult=function(){return ck(this,ivc,8,lS)};f.setApiResult=function(a){return Ao(this,8,lS,a)};
f.getUserInfo=function(){return X(this,jS,9)};f.setUserInfo=function(a){return hj(this,jS,9,a)};f.hasUserInfo=function(){return Nj(this,jS,9)};var lS=[4,5,6,7,8];
kS.prototype.toObject=function(){if(null!=this){r(this);var a={clientInterface:fvc(this.getClientInterface()),source:n(Er(this,2)),eventType:n(Er(this,3)),gapiInit:lvc(ck(this,kvc,4,lS)),rpcRequest:nvc(this.getRpcRequest()),rpcResponse:pvc(this.getRpcResponse()),apiCall:hvc(this.getApiCall()),apiResult:jvc(this.getApiResult()),userInfo:qvc(this.getUserInfo())}}else a=void 0;return a};var rvc=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]]),svc=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]]),tvc=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]]),uvc=function(a){return svc.has(a)?svc.get(a):1},vvc=function(a){return tvc.has(a)?tvc.get(a):2};var wvc=function(a){this.request_=a;this.errorCode_=0},xvc=function(a,b){b=new wvc(b);b.errorCode_=a;b.errorMessage_="A server error has occurred.";return b};f=wvc.prototype;f.hasChanges=function(){return this.mutateResponse_&&this.mutateResponse_.getOperation()?this.mutateResponse_.getOperation().hasChanges():!1};f.getError=function(){return this.errorCode_};f.getErrorCode=function(){return this.errorCode_};f.getRequest=function(){return this.request_};f.getQuery=function(){return this.request_.getQuery()};
f.getConfiguration=function(){return this.queryResponse_.getConfiguration()};f.getUserData=function(){return this.queryResponse_?this.queryResponse_.getUserData():null};var mS=function(a){this.map_=new VH;this.size=0;a&&this.addAll(a)},yvc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+xa(a):b.charAt(0)+a};f=mS.prototype;f.getCount=function(){return this.map_.size};f.add=function(a){this.map_.set(yvc(a),a);this.setSizeInternal_(this.map_.size)};f.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)};f.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)};
f.delete=function(a){a=this.map_.remove(yvc(a));this.setSizeInternal_(this.map_.size);return a};f.remove=function(a){return this.delete(a)};f.clear=function(){this.map_.clear();this.setSizeInternal_(0)};f.isEmpty=function(){return 0===this.map_.size};f.has=function(a){return this.map_.containsKey(yvc(a))};f.contains=function(a){return this.map_.containsKey(yvc(a))};f.intersection=function(a){var b=new mS;a=MD(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};
f.getValues=function(){return this.map_.getValues()};f.values=function(){return this.map_.values()};f.clone=function(){return new mS(this)};f.equals=function(a){return this.getCount()==v5b(a)&&zvc(this,a)};
var zvc=function(a,b){var c=v5b(b);if(a.getCount()>c)return!1;!(b instanceof mS)&&5<c&&(b=new mS(b));return y5b(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(va(e)||"string"===typeof e)d=qa(e,d);else a:{for(var g in e)if(e[g]==d){d=!0;break a}d=!1}return d})};mS.prototype.__iterator__=function(){return this.map_.__iterator__(!1)};mS.prototype[Symbol.iterator]=function(){return this.values()};
mS.prototype.setSizeInternal_=function(a){this.size=a};var nS=function(a,b,c){this.fields_=a;this.name_=b;this.contains_=new mS(c);this.extraFields_=[]};nS.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 Avc=function(a){a.fieldSet_||(a.fieldSet_=new mS(a.fields_));return a.fieldSet_};
nS.prototype.contains=function(a){if(this.contains_.contains(a))return!0;this.doesntContain_||(this.doesntContain_=new mS);if(this.doesntContain_.has(a))return!1;var b=Avc(this),c=Avc(a);if(y5b(c,b.contains,b))return this.contains_.add(a),!0;this.doesntContain_.add(a);return!1};var Bvc=new nS(["6","12"],"1"),Cvc=new nS("2 1f 1c 12 16 13 14 1d 22 1b 20".split(" "),"4",[Bvc]);new nS("6 12 16 17 18 1a".split(" "),"3",[Bvc]);
new nS("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",[Bvc,Cvc]);new nS([]);var Dvc={token:"",addressBookId:"personal",matchType:1,includeContacts:!0,includeGroups:!0,isAutoCompleteMode:!0,delayMillis:5E3,maxMatches:-1,maxTries:10,name:"Load All Contacts"};var Evc=function(a,b,c){QB.call(this);this.scheduler=a;this.runFunction_=b;this.group=c||a.createGroup()};T(Evc,QB);f=Evc.prototype;f.getGroup=function(){return this.group};f.setGroup=function(a){this.group=a};f.isSuccess=function(){return this.getState().isSuccess()};f.setSuccess=function(a){this.getState().setSuccess(a)};f.getMaxNumRetries=function(){this.getState().getMaxNumRetries()};f.setMaxNumRetries=function(a){this.getState().setMaxNumRetries(a)};f.reset=function(){this.getState().reset()};
f.getNumTriesLeft=function(){return this.getState().getNumTriesLeft()};f.setRunState=function(a){this.getState().setRunState(a)};f.setRunTime=function(a){this.getState().setRunTime(a)};f.setRunTimerId=function(a){this.getState().setRunTimerId(a)};f.incNumSuccesses=function(){this.getState().incNumSuccesses()};f.incNumFailures=function(){this.getState().incNumFailures()};f.incNumExecutions=function(){this.getState().incNumExecutions()};f.decNumTriesLeft=function(){this.getState().decNumTriesLeft()};
f.isPending=function(){return this.getState().isPending()};f.cancel=function(){this.scheduler.cancel(this.getState())};f.getState=function(){return this.scheduler.getState(this.group)};f.run=function(){this.incNumExecutions();this.runFunction_(this)};f.isDone=function(a){return this.scheduler.isDone(this,a)};var Fvc=function(a){QB.call(this);this.scheduler=a;this.maxNumRetries_=0;this.reset()};T(Fvc,QB);f=Fvc.prototype;f.reset=function(){this.numTriesLeft=this.maxNumRetries_;this.success=!1;this.runState=1;this.runTimerId=this.runTime=-1};f.isSuccess=function(){return this.success};f.setSuccess=function(a){this.success=a};f.getMaxNumRetries=function(){return this.maxNumRetries_};f.setRunState=function(a){this.runState=a};f.setRunTime=function(a){this.runTime=a};
f.setRunTimerId=function(a){this.runTimerId=a};f.setMaxNumRetries=function(a){this.maxNumRetries_=a};f.getNumTriesLeft=function(){return this.numTriesLeft};f.decNumTriesLeft=function(){--this.numTriesLeft};f.incNumSuccesses=function(){};f.incNumFailures=function(){};f.incNumExecutions=function(){};f.isPending=function(){return!(4==this.runState||5==this.runState)};f.disposeInternal=function(){QB.prototype.disposeInternal.call(this);this.scheduler=null};var Gvc=function(){QB.call(this);this.states={};this.currentGroup=1};T(Gvc,QB);Gvc.prototype.schedule=function(a,b,c,d){b=b||0;var e=Date.now()+b,g=this.states[a.getGroup()];g||(g=new Fvc(this),this.states[a.getGroup()]=g);g.setMaxNumRetries(Math.max(c||1,g.getMaxNumRetries()));switch(g.runState){case 1:case 5:g.reset();Hvc(a,b,e);break;case 6:Hvc(a,b,e);break;case 4:d&&(g.reset(),Hvc(a,b,e));break;case 2:e<g.runTime?(this.cancel(g),g.reset(),Hvc(a,b,e)):g.numTriesLeft=g.maxNumRetries_}};
var Hvc=function(a,b,c){0==b?(a.setRunState(3),a.run()):(a.setRunState(2),a.setRunTime(c),a.setRunTimerId(oo(a.run,b,a)))};f=Gvc.prototype;f.getState=function(a){return this.states[a]};f.createGroup=function(){return""+this.currentGroup++};f.disposeInternal=function(){QB.prototype.disposeInternal.call(this);for(var a in this.states){var b=this.states[a];this.cancel(b);Ah(b)}this.states={}};f.cancel=function(a){2==a.runState&&po(a.runTimerId)};
f.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 Ivc={SOMETHING_CHANGED:"e",ERROR:"f"},Jvc=function(a,b){SB.call(this,a&&a[0].getError()?"f":"e");this.responses_=a;this.source_=b||"h"};T(Jvc,SB);Jvc.prototype.getChanges=function(){if(!this.changes_){if(!this.responses_)return null;var a=[];pa(this.responses_,function(b){b=b.getOperation().getChanges();a&&b?a=a.concat(b):a=null});this.changes_=a}return this.changes_};Jvc.prototype.getSource=function(){return this.source_};var Kvc=function(a,b){this.fn_=a;this.handler_=b};Kvc.prototype.execute=function(a){this.fn_&&(this.fn_.call(this.handler_||null,a),this.fn_=this.handler_=null)};Kvc.prototype.abort=function(){this.handler_=this.fn_=null};NYb(function(a){Kvc.prototype.execute=a(Kvc.prototype.execute)});var Lvc=[];var oS=function(a,b){var c=c||[];this.serviceId_=a;this.moduleId_=b||null;this.dependencies_=[];this.addDependencies(c,!1)};oS.prototype.toString=function(){return this.serviceId_};oS.prototype.getModuleId=function(){return this.moduleId_};
oS.prototype.addDependencies=function(a,b){var c=this;b=void 0===b?!1:b;this.dependencies_=this.dependencies_.concat(a);if(b){if(!this.moduleId_)throw Error("Id`"+this.serviceId_);a.map(function(d){return d.getModuleId()}).forEach(function(d){Lvc.push(function(e){e.addExtraEdge(c.moduleId_,d)})})}};new oS("ZtVrH");new oS("rJmJrc","rJmJrc");new oS("fJuxOc");new oS("NGntwf");new oS("ofuapc");new oS("BWETze");new oS("ZmXAm");new oS("n73qwf","n73qwf");new oS("Bgf0ib");new oS("MpJwZc","MpJwZc");new oS("UUJqVe","UUJqVe");new oS("GHAeAc","GHAeAc");new oS("Wt6vjf","Wt6vjf");new oS("byfTOb","byfTOb");new oS("LEikZe","LEikZe");new oS("lsjVmc","lsjVmc");new oS("pVbxBc");new oS("klpyYe");new oS("OPbIxb");new oS("pg9hFd");new oS("IaqD3e");new oS("Xpw1of");new oS("v5BQle");new oS("tdUkaf");new oS("WSziFf");new oS("UBSgGf");new oS("zZa4xc");new oS("o1bZcd");new oS("WwG67d");new oS("z72MOc");new oS("JccZRe");new oS("amY3Td");new oS("ABma3e");new oS("gSshPb");new oS("yu4DA");new oS("vk3Wc");new oS("IykvEf");new oS("J5K1Ad");new oS("IW8Usd");new oS("jbDgG");new oS("b8xKu");new oS("d0RAGb");new oS("AzG0ke");new oS("J4QWB");new oS("TuDsZ");new oS("hdXIif");new oS("mITR5c");new oS("DFElXb");new oS("FENZqe");new oS("tLnxq");var Mvc=function(){QB.call(this);this.eventTarget_=new Ro;this.updateCacheEventTarget_=new Ro;this.mutationIdMap_=new YH};T(Mvc,QB);Mvc.prototype.dispatchEvent=function(a){this.updateCacheEventTarget_.dispatchEvent(a);this.eventTarget_.dispatchEvent(a)};Mvc.prototype.getEventTarget=function(){return this.eventTarget_};
Mvc.prototype.disposeInternal=function(){QB.prototype.disposeInternal.call(this);this.eventTarget_.dispose();this.eventTarget_=null;this.updateCacheEventTarget_.dispose();this.updateCacheEventTarget_=null};var Nr=function(a){this.internalArray_=m(a)};T(Nr,p);var Mr=function(a,b){return sk(a,1,b)};f=Nr.prototype;f.setLogSource=function(a){return V(this,2,a)};f.getApplication=function(){return Zi(this,3,0)};f.setApplication=function(a){return V(this,3,a)};f.getApplicationOrUndefined=function(){return Qr(this,3)};f.getVersion=function(){return U(this,4)};f.getVersion_legacyNullable=function(){return Z(this,4)};f.setVersion=function(a){return sk(this,4,a)};
f.getVersionOrUndefined=function(){return tt(this,4)};f.getBaselineCl=function(){return Rh(this,5)};f.setBaselineCl=function(a){return V(this,5,a)};f.hasBaselineCl=function(){return Pk(this,5)};f.getBaselineClOrUndefined=function(){return rt(this,5)};f.getEnableClearcut=function(){return Tj(this,6)};f.setEnableClearcut=function(a){return Vj(this,6,a)};var Pmb=function(a,b){return Ab(a,7,b,eb)};f=Nr.prototype;f.getExperimentId=function(){return it(this,7)};
f.setClientAgent=function(a){return V(this,8,a)};f.getClientAgentOrUndefined=function(){return Qr(this,8)};f.setEventSource=function(a){V(this,9,a)};f.getEventSourceOrUndefined=function(){return Qr(this,9)};f.getClearcutUrl=function(){return U(this,10)};f.setClearcutUrl=function(a){sk(this,10,a)};f.setEnvironment=function(a){return V(this,11,a)};f.getEnvironmentOrUndefined=function(){return Qr(this,11)};f.getPeoplekitEntryPoint=function(){return Zi(this,12,0)};
f.setPeoplekitEntryPoint=function(a){return V(this,12,a)};f.getPeoplekitEntryPointOrUndefined=function(){return Qr(this,12)};Nr.repeatedFields_=[7];
Nr.prototype.toObject=function(){if(null!=this){r(this);var a={logName:n(Z(this,1)),logSource:n(Er(this,2)),application:n(Er(this,3)),version:n(Z(this,4)),baselineCl:n(ft(this,5)),enableClearcut:n(vr(this,6)),experimentIdList:n(Qh(this,7)),clientAgent:n(Er(this,8)),eventSource:n(Er(this,9)),clearcutUrl:n(Z(this,10)),environment:n(Er(this,11)),peoplekitEntryPoint:n(Er(this,12))}}else a=void 0;return a};var Nvc=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 Ovc=function(a){this.start_=a;this.end_=NaN};Ovc.prototype.duration=function(){return this.end_-this.start_};Ovc.prototype.stop=function(a){this.end_=a;return this.duration()};var pS=function(a){var b=void 0===b?Nvc:b;this.source_=a;this.nowFn_=b;this.durations_=new Map;this.lastLabel_="_"};pS.prototype.source=function(){return this.source_};var Pvc=function(a,b){b&&(a.lastLabel_=b);return a.lastLabel_};f=pS.prototype;
f.duration=function(a){a=Pvc(this,void 0===a?"":a);return this.durations_.has(a)?this.durations_.get(a).duration():NaN};f.durationUsec=function(a){return nMa(this.duration(void 0===a?"":a))};f.toString=function(a,b){b=void 0===b?1:b;return this.duration(void 0===a?"":a).toFixed(b)};f.start=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=Pvc(this,a);this.durations_.set(a,new Ovc(b));return this};
f.stop=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=Pvc(this,a);this.durations_.has(a)&&this.durations_.get(a).stop(b);return this};f.clear=function(){this.durations_.clear();return this};var Qvc=function(a){this.internalArray_=m(a)};T(Qvc,p);Qvc.prototype.toObject=function(){return Rvc(this)};var Rvc=function(a){if(null!=a)return r(a),{applicationPackageName:n(Z(a,1)),widgetName:n(Z(a,2))}};var Svc=function(a){this.internalArray_=m(a)};T(Svc,p);Svc.prototype.toObject=function(){return Tvc(this)};var Tvc=function(a){if(null!=a)return r(a),{hadValidCache:n(vr(a,1)),timeSinceCacheRefreshUsec:n(Yb(a,2)),cacheRefreshUsec:n(Yb(a,3)),hadDeviceContactPermissions:n(vr(a,4))}};var qS=function(a){this.internalArray_=m(a)};T(qS,p);f=qS.prototype;f.getQueryId=function(){return Yb(this,1)};f.setQueryId=function(a){V(this,1,a)};f.setSelectionId=function(a){V(this,2,a)};f.getInstanceId=function(){return Z(this,4)};f.setInstanceId=function(a){return sk(this,4,a)};f.clearInstanceId=function(){ct(this,4)};f.hasInstanceId=function(){return Hk(this,4)};f.getInstanceIdOrUndefined=function(){return tt(this,4)};f.getAffinityVersion=function(){return ft(this,5)};
f.setAffinityVersion=function(a){V(this,5,a)};f.getAffinityVersionOrUndefined=function(){return rt(this,5)};f.toObject=function(){return Uvc(this)};var Uvc=function(a){if(null!=a)return r(a),{queryId:n(Yb(a,1)),selectionId:n(Yb(a,2)),submissionId:n(Yb(a,3)),instanceId:n(Z(a,4)),affinityVersion:n(ft(a,5))}};var Vvc=function(a){this.internalArray_=m(a)};T(Vvc,p);f=Vvc.prototype;f.getQueryLength=function(){return ft(this,1)};f.setQueryLength=function(a){return V(this,1,a)};f.hasQueryLength=function(){return Pk(this,1)};f.getQuery=function(){return Z(this,2)};f.setQuery=function(a){return sk(this,2,a)};f.clearQuery=function(){ct(this,2)};f.hasQuery=function(){return Hk(this,2)};f.toObject=function(){return Wvc(this)};
var Wvc=function(a){if(null!=a)return r(a),{queryLength:n(ft(a,1)),query:n(Z(a,2)),sessions:Uvc(X(a,qS,3))}};var Xvc=function(a){this.internalArray_=m(a)};T(Xvc,p);Xvc.prototype.toObject=function(){return Yvc(this)};var Yvc=function(a){if(null!=a)return r(a),{mobileNetworkCountry:n(Z(a,1)),simCountry:n(Z(a,2)),localeCountry:n(Z(a,3))}};var Zvc=function(a){this.internalArray_=m(a)};T(Zvc,p);Zvc.prototype.toObject=function(){return $vc(this)};var $vc=function(a){if(null!=a)return r(a),{canonicalCode:n(Er(a,1))}};var awc=function(a){this.internalArray_=m(a)};T(awc,p);awc.prototype.toObject=function(){return bwc(this)};var bwc=function(a){if(null!=a)return r(a),{attributedSharingEnabled:n(vr(a,1)),sharePanelVersion:n(Z(a,2))}};var rS=function(a){this.internalArray_=m(a)};T(rS,p);rS.prototype.setLatencyUsec=function(a){V(this,1,a)};rS.prototype.toObject=function(){return cwc(this)};var cwc=function(a){if(null!=a)return r(a),{latencyUsec:n(ft(a,1)),dataLatencyUsec:n(ft(a,2))}};var sS=function(a){this.internalArray_=m(a)};T(sS,p);f=sS.prototype;f.getColumn=function(){return ft(this,2)};f.setColumn=function(a){return V(this,2,a)};f.getType=function(){return Er(this,3)};f.setType=function(a){return V(this,3,a)};f.hasType=function(){return pj(this,3)};f.toObject=function(){return dwc(this)};var dwc=function(a){if(null!=a)return r(a),{row:n(ft(a,1)),column:n(ft(a,2)),type:n(Er(a,3))}};var ewc=function(a){this.internalArray_=m(a)};T(ewc,p);f=ewc.prototype;f.getExistingSelectionsCount=function(){return ft(this,1)};f.setExistingSelectionsCount=function(a){V(this,1,a)};f.getPosition=function(){return X(this,sS,2)};f.setPosition=function(a){return hj(this,sS,2,a)};f.toObject=function(){return fwc(this)};
var fwc=function(a){if(null!=a)return r(a),{existingSelectionsCount:n(ft(a,1)),position:dwc(a.getPosition()),replacementOriginEmailAddress:n(Z(a,3)),replacementDestinationEmailAddress:n(Z(a,4))}};var tS=function(a){this.internalArray_=m(a)};T(tS,p);f=tS.prototype;f.getType=function(){return Er(this,5)};f.setType=function(a){return V(this,5,a)};f.hasType=function(){return pj(this,5)};f.getEmail=function(){return Z(this,1)};f.getEmail_legacyNullable=function(){return Z(this,1)};f.setEmail=function(a){return sk(this,1,a)};f.hasEmail=function(){return Hk(this,1)};f.getPhone=function(){return Z(this,2)};f.getPhone_legacyNullable=function(){return Z(this,2)};
f.setPhone=function(a){return sk(this,2,a)};f.hasPhone=function(){return Hk(this,2)};f.getObfuscatedGaiaId=function(){return Z(this,3)};f.getObfuscatedGaiaId_legacyNullable=function(){return Z(this,3)};f.setObfuscatedGaiaId=function(a){sk(this,3,a)};f.getContactId=function(){return Yb(this,4)};f.setContactId=function(a){V(this,4,a)};f.getGroupId=function(){return Z(this,6)};f.setGroupId=function(a){sk(this,6,a)};f.hasGroupId=function(){return Hk(this,6)};f.toObject=function(){return gwc(this)};
var gwc=function(a){if(null!=a)return r(a),{type:n(Er(a,5)),email:n(Z(a,1)),phone:n(Z(a,2)),obfuscatedGaiaId:n(Z(a,3)),contactId:n(Yb(a,4)),groupId:n(Z(a,6))}};var hwc=function(a){this.internalArray_=m(a)};T(hwc,p);f=hwc.prototype;f.getName=function(){return Z(this,1)};f.setName=function(a){return sk(this,1,a)};f.hasName=function(){return Hk(this,1)};f.getNameOrUndefined=function(){return tt(this,1)};f.toObject=function(){return iwc(this)};var iwc=function(a){if(null!=a)return r(a),{name:n(Z(a,1))}};var uS=function(a){this.internalArray_=m(a)};T(uS,p);f=uS.prototype;f.getPosition=function(){return X(this,sS,1)};f.setPosition=function(a){return hj(this,sS,1,a)};f.getProfile=function(){return X(this,hwc,2)};f.getProvenance=function(){return lt(this,3)};f.setProvenance=function(a){return Db(this,3,a,void 0,cl)};f.getIsPlaceholder=function(){return vr(this,7)};f.setIsPlaceholder=function(a){Vj(this,7,a)};f.getIsSelf=function(){return vr(this,11)};f.getQueryId=function(){return Yb(this,15)};
f.setQueryId=function(a){V(this,15,a)};f.setSelectionId=function(a){V(this,16,a)};uS.repeatedFields_=[4,3];uS.prototype.toObject=function(){return jwc(this)};
var jwc=function(a){if(null!=a)return r(a),{position:dwc(a.getPosition()),additionalPositionList:Ub(kj(a,sS,4),dwc),profile:iwc(a.getProfile()),provenanceList:n(cl(a,3)),hasAvatar:n(vr(a,5)),isBoosted:n(vr(a,6)),isPlaceholder:n(vr(a,7)),smartAddressEntityMetadata:fwc(X(a,ewc,8)),uiSurface:n(Er(a,9)),isSelf:n(vr(a,11)),isOutOfDomain:n(vr(a,12)),rankType:n(Er(a,13)),rank:n(ft(a,14)),queryId:n(Yb(a,15)),selectionId:n(Yb(a,16))}};var kwc=function(a){this.internalArray_=m(a)};T(kwc,p);f=kwc.prototype;f.getLoggingId=function(){return Z(this,1)};f.setLoggingId=function(a){sk(this,1,a)};f.getMetadata=function(){return X(this,uS,3)};f.setMetadata=function(a){hj(this,uS,3,a)};f.toObject=function(){return lwc(this)};var lwc=function(a){if(null!=a)return r(a),{loggingId:n(Z(a,1)),entityId:gwc(X(a,tS,4)),metadata:jwc(a.getMetadata())}};var vS=function(a){this.internalArray_=m(a)};T(vS,p);vS.prototype.getAffinityVersion=function(){return ft(this,2)};vS.prototype.setAffinityVersion=function(a){V(this,2,a)};vS.prototype.getAffinityVersionOrUndefined=function(){return rt(this,2)};vS.prototype.toObject=function(){return mwc(this)};
var mwc=function(a){if(null!=a)return r(a),{autocompleteMetadata:Wvc(X(a,Vvc,1)),affinityVersion:n(ft(a,2)),showMetadata:cwc(X(a,rS,6)),queryErrorMetadata:$vc(X(a,Zvc,7)),autocompleteClientMetadata:Tvc(X(a,Svc,3)),reactrMetadata:bwc(X(a,awc,4)),apdlMetadata:Rvc(X(a,Qvc,5)),phoneRegionHints:Yvc(X(a,Xvc,8))}};var nwc=function(a){this.internalArray_=m(a)};T(nwc,p);nwc.prototype.toObject=function(){return owc(this)};var owc=function(a){if(null!=a)return r(a),{scoreVersion:n(Yb(a,1)),sessionId:n(Yb(a,2))}};var pwc=function(a){this.internalArray_=m(a)};T(pwc,p);f=pwc.prototype;f.getEventType=function(){return Er(this,1)};f.getEventType_legacyNullable=function(){return Er(this,1)};f.setEventType=function(a){return V(this,1,a)};f.getMetadata=function(){return X(this,vS,4)};f.setMetadata=function(a){hj(this,vS,4,a)};f.getClientInterface=function(){return X(this,iS,5)};f.setClientInterface=function(a){return hj(this,iS,5,a)};pwc.repeatedFields_=[2];
pwc.prototype.toObject=function(){if(null!=this){r(this);var a={eventType:n(Er(this,1)),entityList:Ub(kj(this,kwc,2),lwc),scoringInfo:owc(X(this,nwc,3)),metadata:mwc(this.getMetadata()),clientInterface:fvc(this.getClientInterface()),eventTimestampUsec:n(Yb(this,6))}}else a=void 0;return a};var qwc=new Map([[1,4],[2,2],[3,1],[4,7]]),rwc=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=Tj(a.getExperiments(),1,!0);break;case 2:b="ppl.store.ppl.store.ozcontactstore";c=Tj(a.getExperiments(),2,!0);break;default:b="ppl.store",c=!1}var d=qwc.get(a.getUserInfo().getEnvType_legacyNullable())||0;this.logContext_=Cb(Pmb(Mr(new Nr,b).setLogSource(932).setApplication(a.getClientInfo().getSocialApplicationOrUndefined()).setEnvironment(d).setVersion("1013").setBaselineCl(336195648).setClientAgent(3).setEnableClearcut(c),
a.getExperiments().getExperimentIdsList()),7,20090307)};f=rwc.prototype;f.getLogContext=function(){return this.logContext_};
f.createCountMetric=function(a,b){b=b.source();var c=swc(this);switch(b.getEventType()){case 2:case 3:return(new kS).setClientInterface(a).setUserInfo(c).setSource(2).setEventType(2).setRpcRequest((new mvc).setRpcType(b.getRpcType()).setLookupType(b.getLookupType()));case 4:case 5:return(new kS).setClientInterface(a).setUserInfo(c).setEventType(4).setApiCall((new gvc).setApiType(b.getApiType()));default:return null}};
f.createStatusMetric=function(a,b,c){var d=b.source(),e=swc(this);switch(d.getEventType()){case 1:d=(new kS).setClientInterface(a).setUserInfo(e).setSource(1).setEventType(1);a=this.transportType_;e=(new kvc).setStatus(c);if(0==c||4==c)c=e.setTotalUsec(b.durationUsec("total")),b=b.durationUsec("blocked"),b=V(c,3,b),V(b,5,a);return Ao(d,4,lS,e);case 2:case 3:return a=(new kS).setClientInterface(a).setUserInfo(e).setSource(2).setEventType(3),e=a.setRpcResponse,d=(new ovc).setRpcType(d.getRpcType()).setLookupType(d.getLookupType()).setStatus(c),
0!=c&&4!=c||d.setTotalUsec(b.durationUsec("total")).setBlockedUsec(b.durationUsec("blocked")).setNetworkUsec(b.durationUsec("network")),e.call(a,d);case 4:case 5:a=(new kS).setClientInterface(a).setUserInfo(e).setEventType(5);e=a.setApiResult;var g=new ivc;g.setApiType(d.getApiType()).setCacheStatus(d.getCacheStatus()).setAddressBook(d.getAddressBook()).setStatus(c);0!==c&&4!==c||g.setTotalUsec(b.durationUsec("total"));return e.call(a,g);default:return null}};f.createErrorMetric=function(){return null};
f.createLatencyMetric=function(){return null};var swc=function(a){a=a.clientConfig_.getUserInfo();var b=new jS;var c=!!a.getDelegatorId();b=Vj(b,4,c);a.hasCacheSize()&&b.setCacheSize(a.getCacheSize());b.setEnvType(Zi(a,6,0)||0);return b};var cr=function(a){this.internalArray_=m(a)};T(cr,p);cr.repeatedFields_=[1,2,3,4];cr.prototype.toObject=function(){if(null!=this){r(this);var a={byGaiaList:n(Qh(this,1)),byPseudonymousList:n(Qh(this,2)),alwaysList:n(Qh(this,3)),byOtherList:n(Qh(this,4))}}else a=void 0;return a};var wS=function(a,b){this.name_=b||"";this.address=a||""},twc=/"/g,uwc=/\\"/g,vwc=/\\/g,wwc=/\\\\/g,xwc=RegExp("^[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~-]+@([a-zA-Z0-9-]+\\.)+[a-zA-Z0-9]{2,63}$"),ywc=new RegExp("["+Nca({LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"}).join("")+"]","g");wS.prototype.getName=function(){return this.name_};wS.prototype.getAddress=function(){return this.address};wS.prototype.setName=function(a){this.name_=a};wS.prototype.toString=function(){return zwc(this,'()<>@:\\".[],;')};
var zwc=function(a,b){var c=a.getName();c=c.replace(twc,"");a:{for(var d=c,e=0;e<b.length;e++)if(fa(d,b[e])){b=!0;break a}b=!1}b&&(c='"'+c.replace(vwc,"\\\\")+'"');return""==c?a.address:""==a.address?c:c+" <"+a.address+">"};wS.prototype.isValid=function(){return xwc.test(this.address)};
var Cwc=function(a){var b=Awc;a=a.replace(ywc,"");for(var c="",d="",e=0;e<a.length;){var g=a;var h=e,l=g.charAt(h),q='"<(['.indexOf(l);if(-1==q||Bwc(g,h))g=l;else{q='">)]'.charAt(q);for(var v=g.indexOf(q,h+1);0<=v&&Bwc(g,v);)v=g.indexOf(q,v+1);g=0<=v?g.substring(h,v+1):l}"<"==g.charAt(0)&&-1!=g.indexOf(">")?(d=g.indexOf(">"),d=g.substring(1,d)):""==d&&(c+=g);e+=g.length}""==d&&-1!=c.indexOf("@")&&(d=c,c="");c=rQb(c);c=sQb(c,"'");c=sQb(c,'"');c=c.replace(uwc,'"');c=c.replace(wwc,"\\");d=rQb(d);return new b(d,
c)},Bwc=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 Awc=function(a,b){wS.call(this,a,b)};Ns(Awc,wS);var Dwc=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}$");Awc.prototype.isValid=function(){return Ewc(this.address)};var Ewc=function(a){return null==a?!1:Dwc.test(a)};Awc.prototype.toString=function(){return zwc(this,'()<>@:\\".[],;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a')};var Fwc=/[^a-z0-9]+/ig,Gwc=[9,11,10,12,13,14,15,16,19],Hwc=[9,19,11],Iwc=[1,6],Jwc=[2,7],Kwc=[3,8],Lwc=[1,2,6,7,8,9,11,10,12,13,14,15,16,18,19],vlb=[3,4,5,17,20],rr=function(a,b,c){this.type_=a;this.value_=Qo(b);this.originalValue_=Qo(void 0===c?b:c)};rr.prototype.getType=function(){return this.type_};rr.prototype.getValue=function(){return this.value_};rr.prototype.getOriginalValue=function(){return this.originalValue_};
var Tq=function(a){return Gwc.includes(a.getType())},Uq=function(a){return Hwc.includes(a.getType())},lr=function(a,b){switch(a){case 1:return or(b);case 6:return new rr(6,Qo(b).toLowerCase(),b);case 2:return Hlb(b);case 7:return Ilb(b);case 3:return slb(b);case 8:return new rr(8,Qo(b).toLowerCase(),b);case 5:return new rr(5,Qo(b).toLowerCase(),b);case 4:return tlb(b);case 9:return Mwc(b);case 12:return new rr(12,Qo(b),b);case 13:return new rr(13,Qo(b),b);case 14:return new rr(14,Qo(b),b);case 15:return new rr(15,
Qo(b),b);case 16:return new rr(16,Qo(b),b);case 10:return new rr(10,Qo(b),b);case 11:return new rr(11,Qo(b),b);case 18:return ulb(b);case 19:return new rr(19,Qo(b),b);case 20:return new rr(20,Qo(b),b);case 17:return Nwc;default:return new rr(0,b)}},or=function(a){return new rr(1,Qo(a).toLowerCase(),a)},Hlb=function(a){var b=Qo(a).toLowerCase().replace(Fwc,"");return new rr(2,b,a)},slb=function(a){var b=Qo(a).toLowerCase();return"me"===b?Nwc:new rr(3,b,a)},tlb=function(a){return new rr(4,Qo(a).toLowerCase(),
a)},Ilb=function(a){var b=Qo(a).toLowerCase().replace(Fwc,"");return new rr(7,b,a)},Mwc=function(a){return new rr(9,Qo(a).toLowerCase(),a)},ulb=function(a){return new rr(18,Qo(a),a)},Owc=function(a){var b=a.indexOf(":");return lr(0<b?parseInt(a.substring(0,b),10):0,a.substring(b+1))};rr.prototype.toString=function(){return this.getType()+":"+this.getValue()};rr.prototype.equals=function(a){return a?this===a?!0:this.getType()===a.getType()&&this.getValue()===a.getValue():!1};
var Pwc=function(a){switch(a.getType()){case 1:case 6:return Ewc(a.getValue().trim());case 2:case 7:return a=a.getValue().replace(Fwc,""),3<=a.length&&"0"<=a[0]&&"9">=a[0];case 3:case 8:return!!a.getValue().trim();default:return!0}},tr=lr(0,""),Nwc=new rr(17,"me");var Qwc=function(a,b){this.apiEnv_=a;this.experimentsConfig_=b};var Rwc=function(a){this.profileId_=a};Rwc.prototype.getProfileId=function(){return this.profileId_};var Swc=Object.freeze({userProfileId:"",apiEnv:4,userEmail:""});var Twc=function(){return da&&ea?!ea.mobile&&(ha("iPad")||ha("Android")||ha("Silk")):ha("iPad")||ha("Android")&&!ha("Mobile")||ha("Silk")};var Uwc=function(a,b,c,d,e,g,h){RC.call(this,{logSource:a,getAuthHeaderValue:Oo,sessionIndex:b,networkIOSend:ypa,urlOverride:c,isServiceWorkerScope:d,disableAutomaticFlush:e,pageId:g,backgroundJobDeferrer:h})};T(Uwc,RC);var Vwc=function(a,b){this.clearcut_=a;this.logContextFactory_=b;this.device_=paa()||ha("iPod")?4:ha("iPad")?5:oaa()?Twc()?3:2:(da&&ea?ea.mobile:!Twc()&&(ha("iPod")||ha("iPhone")||ha("Android")||ha("IEMobile")))||Twc()?0:1},Wwc=function(a){var b=a.getLogContext(),c=null;if(b.getEnableClearcut()&&(c=new Uwc(Er(b,2),fMa(),b.getClearcutUrl()||void 0),(b=Qh(b,7))&&b.length)){var d=new cr;Ab(d,3,b,eb);c.setClearExperimentIds(d)}return new Vwc(c,a)},Xwc=function(a){var b=a.logContextFactory_.getLogContext(),
c=new hS;c.setApplication(b.getApplicationOrUndefined());c.setDevice(a.device_);a=new iS;a.setSocialClient(c);a.setVersionName(b.getVersionOrUndefined());a.setClientAgent(b.getClientAgentOrUndefined());a.setEventSource(b.getEventSourceOrUndefined());a.setEnvironment(b.getEnvironmentOrUndefined());a.setPeoplekitEntryPoint(b.getPeoplekitEntryPointOrUndefined());b.hasBaselineCl()&&(b=Math.round(b.getBaselineCl()),isFinite(b)&&a.setBaselineCl(b));return a},Ywc=function(a,b){var c=new NC;r1b(c,b.serialize());
a.clearcut_&&a.clearcut_.log(c)};var Zwc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};Zwc.prototype.logError=function(a){var b=Xwc(this.clearcut_);(a=this.logEventFactory_.createErrorMetric(b,a))&&Ywc(this.clearcut_,a)};var $wc=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 axc=function(){this.logContext_=Mr(new Nr,"ppl.store")};f=axc.prototype;f.getLogContext=function(){return this.logContext_};f.createCountMetric=function(){return null};f.createStatusMetric=function(){return null};f.createErrorMetric=function(){return null};f.createLatencyMetric=function(){return null};var bxc=function(a){this.clearcut_=a},hr=function(a){a=new Zwc(Wwc(a),a);return new bxc(a)};f=bxc.prototype;f.start=function(a,b){a.start(b);return this};f.stop=function(a,b){a.stop(b);return this};
f.count=function(a,b){var c=this.clearcut_;b=void 0===b?1:b;var d=Xwc(c.clearcut_);(a=c.logEventFactory_.createCountMetric(d,a,b))&&Ywc(c.clearcut_,a);return this};f.status=function(a,b){var c=this.clearcut_,d=Xwc(c.clearcut_);(a=c.logEventFactory_.createStatusMetric(d,a,b))&&Ywc(c.clearcut_,a);return this};f.latency=function(a){var b=this.clearcut_,c=Xwc(b.clearcut_);(a=b.logEventFactory_.createLatencyMetric(c,a))&&Ywc(b.clearcut_,a);return this};f.error=function(a){this.clearcut_.logError(a);return this};
f.logError=function(){};f.logInfo=function(){return this};var xS=function(a,b){this.addressBookMap_={};this.addressBooks=[];this.ownedAddressBooks_=[];this.scheduler_=new Gvc;this.eventHandler_=new uq(this);this.ownsContactNotificationService_=!a;this.queryFilters_=[];this.contactNotificationService_=a||new Mvc;(a=b)||(a=hr(new axc));this.metrics=a;this.queryFilters_.push(this.contactNotificationService_)};Ns(xS,QB);f=xS.prototype;
f.addAddressBook=function(a,b){this.addressBooks.push(a);b&&this.ownedAddressBooks_.push(a);this.addressBookMap_[a.getId()]=a;this.eventHandler_.listen(a,Nca(Ivc),Ls(this.forwardEvent_,this))};f.forwardEvent_=function(a){this.contactNotificationService_.dispatchEvent(a)};f.getEventTarget=function(){return this.contactNotificationService_.getEventTarget()};f.invalidate=function(){this.contactNotificationService_.dispatchEvent(new Jvc(null,"g"))};
f.loadContactRows=function(a,b){var c=this,d=(new Po).setEventType(4).setApiType(2),e=new pS(d);this.metrics.count(e);this.metrics.start(e,"total");return cxc(this,a,function(g){return g.loadContactRows},function(g,h,l,q,v){dxc(function(x,A,G,M){var Q=A===gS||A instanceof cvc?2:1;e.source().setCacheStatus(Q);e.source().setAddressBook(G?dvc.get(G)||1:1);c.metrics.stop(e,"total");c.metrics.status(e,vvc(v||0));b&&b(x,A,G,M,v)},g,h,l,q)})};
var cxc=function(a,b,c,d){var e=new exc(d,a.metrics),g;if(b.addressBookId){var h=a.addressBookMap_[b.addressBookId];0<b.delayMillis||1<b.maxTries?g=fxc(a,h,c(h),b,d):g=c(h).call(h,b,d);g&&e.add(g)}else for(var l=0;l<a.addressBooks.length;l++)h=a.addressBooks[l],0<b.delayMillis||1<b.maxTries?g=fxc(a,h,c(h),b,d):g=c(h).call(h,b,d),g&&e.add(g);return e};
xS.prototype.execute=function(a){var b=this,c=(new Po).setEventType(4).setApiType(1),d=new pS(c);this.metrics.count(d);this.metrics.start(d,"total");gxc(this,a);a.addSuccessOrFailureCallback(function(e){var g=e?vvc(e.getErrorCode()):2;e=(e=e?e.getRequest():null)?e.getAddressBookId():"";d.source().setCacheStatus(e?1:2);d.source().setAddressBook(e?e?dvc.get(e)||1:1:0);b.metrics.stop(d,"total");b.metrics.status(d,g)});return this.cache_&&(c=a.executeFromCache(this.cache_,function(e){return hxc(b,e,d)}))?
c:hxc(this,a,d)};
var gxc=function(a,b){pa(a.queryFilters_,function(){});b.isMutate()&&(b=b.getOperation())&&(b=b.getQueryAfterMutate())&&gxc(a,b)},hxc=function(a,b,c){if(b.isMutate()){var d=b.getOperation();d&&(d=d.getMutationId())&&a.contactNotificationService_.mutationIdMap_.set(d,Date.now())}if(d=b.getAddressBookId())if(d=a.addressBookMap_[d])return d.execute(b);c=new exc(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},fxc=function(a,
b,c,d,e){b=Ls(a.runScheduledQuery_,a,b,c,d,e);b=new Evc(a.scheduler_,b,d.name);a.scheduler_.schedule(b,d.delayMillis,d.maxTries,d.force);return new ixc(b)};xS.prototype.runScheduledQuery_=function(a,b,c,d,e){e.request=b.call(a,c,function(g,h,l,q,v){e.isDone(!v)&&d&&d(g,h,l,q,v)})};
var dxc=function(a,b,c,d,e){a&&(b&&(e.filter&&(b=e.filter(b,e.token)),jxc(b)),a(b||[],c,d,e))},jxc=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)}};
xS.prototype.disposeInternal=function(){xS.superClass_.disposeInternal.call(this);Ah(this.scheduler_);this.scheduler_=null;pa(this.ownedAddressBooks_,Ah);this.ownedAddressBooks_=this.addressBookMap_=this.addressBooks=null;Ah(this.eventHandler_);this.eventHandler_=null;pa(this.queryFilters_,function(a){a!=this.contactNotificationService_&&Ah(a)},this);this.queryFilters_=null;this.ownsContactNotificationService_&&(Ah(this.contactNotificationService_),this.contactNotificationService_=null)};
var kxc=function(a){var b=new rwc(a,0);Mr(b.getLogContext(),"ppl.store");b.getLogContext().setEnableClearcut(Tj(a.getExperiments(),3,!0));return hr(b)},exc=function(a,b,c){this.requests_=[];this.handler=a;this.metrics_=b;this.state_=c;this.addressBookId_=""};f=exc.prototype;f.setAddressBookId=function(a){this.addressBookId_=a};f.getAddressBookId=function(){return this.addressBookId_};f.add=function(a){this.requests_.push(a)};f.isEmpty=function(){return 0==this.requests_.length};
f.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()};f.isPending=function(){for(var a=0;a<this.requests_.length;a++)if(this.requests_[a].isPending())return!0;return!1};f.getQuery=function(){return this.query_};f.setQuery=function(a){this.query_=a};var ixc=function(a){this.op=a;this.request=null};ixc.prototype.cancel=function(){this.op.cancel();this.request&&this.request.cancel()};
ixc.prototype.isPending=function(){return this.op.isPending()||this.op.request&&this.op.request.isPending()};var lxc=function(a,b){this.text=a;this.specialRowHandler=b};Ns(lxc,avc);f=lxc.prototype;f.getName=function(){return null};f.getEmail=function(){return null};f.getPhoneNumber=function(){return null};f.getType=function(){return"sr"};f.getPriority=function(){return 0};f.getLoggingId=function(){return"sr"};var mxc=function(a,b){xS.call(this,a,b)};T(mxc,xS);mxc.prototype.addAddressBook=function(a,b){1==this.addressBooks.length&&(this.combiner_=new nxc(this.metrics),this.combiner_.addAddressBook(this.addressBooks[0]));xS.prototype.addAddressBook.call(this,a,b);this.combiner_&&this.combiner_.addAddressBook(a)};mxc.prototype.loadContactRows=function(a,b){return this.combiner_&&a.isAutoCompleteMode&&!a.addressBookId?this.combiner_.loadContactRows(a,b):xS.prototype.loadContactRows.call(this,a,b)};
var nxc=function(a){this.addrBooks_=[];this.rowSets_=null;this.metrics_=a};nxc.prototype.addAddressBook=function(a){this.addrBooks_.push(new oxc(this,this.addrBooks_.length,a))};nxc.prototype.loadContactRows=function(a,b){a=new pxc(a,this.metrics_,b);qxc(this,a);return a};
var qxc=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 g=[];e=!1;for(var h,l=0;l<d.length&&g.length<c.maxMatches;l++)if(d[l]){h=g.length;e=!0;var q=d[l],v=c.maxMatches,x=g.length;if(0==x)g=q.length>v?q.slice(0,v):q;else for(var A=0;A<q.length;A++){for(var G=null,M=0;M<x&&!(G=rxc(g[M],q[A]));M++);if(G)G===q[A]&&(g[M]=G);else if(g.length==
x?g=g.concat(q[A]):g.push(q[A]),g.length==v)break}0<h&&g.length>h&&(g[h].flags|=1)}e?(jxc(g),c=g):c=null;c&&b.handler&&a.addrBooks_[0]&&a.addrBooks_[0].madeCallback_&&b.handler(c,b,null,b.query);a.rowSets_=null},rxc=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},sxc=function(a,b,c,d){a.rowSets_?a.rowSets_[c]=d:qxc(a,b,c,d)};
nxc.prototype.handleSpecialRow=function(){};var oxc=function(a,b,c){this.combiner_=a;this.id_=b;this.addrBook_=c;this.lastAsyncLatency_=0;this.isSynchronous_=!1};
oxc.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(g,h,l,q,v){b.matchListener_(a,d,g,v)});a.addRequest(this.id_,e);this.isSynchronous_=!1;this.madeCallback_||a.query.isAutoCompleteMode&&300<this.lastAsyncLatency_&&(c=[txc(this)])}c&&sxc(this.combiner_,a,this.id_,c)};
var txc=function(a){var b=a.addrBook_.title_;return new lxc(b?"Searching for matches from "+b:"Searching for more matches.",a.combiner_.handleSpecialRow)};
oxc.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;sxc(this.combiner_,a,this.id_,c)};oxc.prototype.dispose=function(){this.combiner_=this.matcher_=null};
var pxc=function(a,b,c){var d=this;this.query=a;this.activeRequests_={};this.storedResults_={};this.addressBooksToReport_=[];this.storedErrorCodes_=[];var e=new pS((new Po).setEventType(4).setApiType(2));b.count(e);b.start(e,"total");this.handler=function(g,h,l,q){d.addressBooksToReport_.forEach(function(v,x){var A=d.activeRequests_[x];A=A===gS||A instanceof cvc?2:1;e.source().setCacheStatus(A);e.source().setAddressBook(v?dvc.get(v)||1:1);b.stop(e,"total");b.status(e,vvc(d.storedErrorCodes_[x]))});
d.addressBooksToReport_=[];c&&c(g,h,l,q)}};pxc.prototype.cancel=function(){for(var a in this.activeRequests_)this.activeRequests_[a].cancel();this.activeRequests_={}};pxc.prototype.isPending=function(){for(var a in this.activeRequests_)if(this.activeRequests_[a].isPending())return!0;return!1};pxc.prototype.addRequest=function(a,b){this.activeRequests_[a]=b};var uxc={198:"AE",230:"ae",306:"IJ",307:"ij",338:"AE",339:"ae"},kr=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 g=uxc[e];g?e=g:(g="AAAAAA*CEEEEIIIIDNOOOOOx0UUUUYpBaaaaaa*ceeeeiiiionooooo^ouuuuypyAaAaAaCcCcCcCcDdDdEeEeEeEeEeGgGgGgGgHhHhIiIiIiIiIi**JjKkkLlLlLLLlllNnNnNnnNnOoOoOo**RrRrRrSsSsSsSsTtTtttUuUuUuUuUuUuWwYyYZzZzZz"[e-192],e="^"==g?null:g)}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 yS=function(a,b,c,d,e,g){Ro.call(this);this.cacheMaxSize_=e||0;this.rowMatchingFunction_=g||vxc;this.cache_=new YH(this.cacheMaxSize_,!0);this.cacheSize_=a||0;this.cacheMinExpiryAge_=b||0;this.cacheMaxExpiryAge_=c||0;this.cacheByType_=!!d};Ns(yS,Ro);yS.prototype.disposeInternal=function(){yS.superClass_.disposeInternal.call(this);this.cache_=null};yS.prototype.clear=function(){this.cache_.clear()};
var vxc=function(a){var b=zn(kr(a.token));return function(c){var d=new RegExp("(^|\\W+)"+b,"i");(d=null!=kr(String(c[1])).match(d))||(d=c[0],d=null!=c[2].match(new RegExp("^"+b,"i"))&&"cl"!=String(d));return d}},wxc=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},xxc=function(a,b,c){a.cache_.set(wxc(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_)}},yxc=function(a,b,c){c=c?a.cache_.get(b):Tcc(a.cache_,b);return a.isStale(c)?(a.cache_.remove(b),null):c},zxc=function(a,b,c){c=b.length-c.length;for(var d=b.length;d>=c;d--){var e=yxc(a,b,!1);if(e)return e;b=b.substr(0,d-1)}return null},Axc=function(a,b){if(b.isContactAutoComplete)return null;var c=wxc(b,a.cacheByType_),
d=zxc(a,c,b.token);return d?d:a.cacheByType_&&!di(c,"^")?(c=wxc(b,!1),zxc(a,c,b.token)):null};yS.prototype.isStale=function(a){return!!a&&!!this.cacheMaxExpiryAge_&&a.created+this.cacheMaxExpiryAge_<Date.now()};yS.prototype.invalidateCache=function(a){for(var b=this.cache_.getKeys(),c=0;c<b.length;c++){var d=b[c],e={token:Tcc(this.cache_,d).token};this.rowMatchingFunction_(e)(a)&&this.cache_.remove(d)}};
var Bxc=function(a,b,c){this.token=a;this.matches_=b;this.partialResult_=!!c;this.count=1;this.created=Date.now()};Bxc.prototype.getMatches=function(a){a&&this.count++;return this.matches_};Bxc.prototype.isComplete=function(a){return!this.partialResult_||0<=a&&a<=this.matches_.length};Ns(To,Ro);f=To.prototype;f.configure=function(a,b){this.title_=b;this.initialized_||(this.initialized_=!0)};f.getId=function(){return this.id_};
f.loadContactRows=function(a,b){if(this.initialized_){var c=this.cache_;if(Mk(a.token)&&!c.allowEmptyQueries_)var d=bvc;else{d=a.maxMatches;var e=yxc(c,wxc(a,c.cacheByType_),!0);(d=e&&d&&!e.isComplete(d)?null:e)?d=d.getMatches():(d=Axc(c,a))&&0==d.getMatches().length?(xxc(c,a,new Bxc(a.token,bvc)),d=bvc):d&&!d.partialResult_&&c.clientFilteringOk_?(d=d.getMatches(),d=RJb(d,c.rowMatchingFunction_(a),c),xxc(c,a,new Bxc(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,gS,this.getId(),a),gS):this.transport_.loadContactRows(a,this.getId(),Ls(this.cacheContactRowsAndInvokeHandler_,this,b))}b&&b(bvc,gS,this.getId(),a,4);return gS};f.cacheContactRowsAndInvokeHandler_=function(a,b,c,d,e,g){g||xxc(this.cache_,e,new Bxc(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,g))};f.onContactsChange_=function(){this.cache_.clear()};
f.disposeInternal=function(){To.superClass_.disposeInternal.call(this);this.cache_.dispose();this.cache_=null;Cxc(this.transport_,this.id_);this.transport_=null};var Exc=function(a,b,c){yS.call(this,100,18E5,432E5,!0,0,c||Dxc);this.clientFilteringOk_=a;this.allowEmptyQueries_=b};T(Exc,yS);var Dxc=function(a){return function(b){var c=b.getType(),d;if(d=Fxc(a,c)){d=new RegExp("(^|\\W+)"+zn(kr(a.token)),"i");var e=kr(b.getName()||"");(d=d.test(e))||(d=a.token,d=((b=b.getEmail())?(new RegExp("^"+zn(kr(d)),"i")).test(b):!1)&&"cl"!=c)}return d}},Fxc=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 Hxc=function(a,b,c){this.includeDomainGroups_=!!c;b=b||new Exc(!0,!1,Gxc);To.call(this,a,b,"domain")};Ns(Hxc,To);Hxc.prototype.loadContactRows=function(a,b){a.includeGroups&&!this.includeDomainGroups_&&(a=dc(a),a.includeGroups=!1);return Hxc.superClass_.loadContactRows.call(this,a,b)};
var Gxc=function(a){for(var b=rQb(a.token).toLowerCase().split(/\s+/),c=[],d=[],e=0;e<b.length;e++){var g=zn(b[e]),h=new RegExp("^"+g,"i");c.push(new RegExp("(^|\\W+)"+g,"i"));d.push(h)}return function(l){if(Fxc(a,l.getType())){for(var q=0;q<c.length;q++)if(!l.getName().match(c[q])&&!l.getEmail().match(d[q]))return!1;return!0}return!1}};Hxc.prototype.execute=function(a){a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};var Ixc=function(a,b){this.personId=a;this.contactId=b.CONTACT||"";this.syntheticId=b.DOMAIN_CONTACT||"";this.profileId=b.PROFILE||b.DOMAIN_PROFILE||"";this.loggingId=""},Kxc=function(a){if(!a)return Jxc;var b=pMa(No("metadata.identityInfo.sourceIds",a)),c=No("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 Ixc(a.personId||"",b)},Jxc=new Ixc("",{});var Lxc=function(a,b){this.isLocal_=a;this.edgeIndex_=b};Lxc.prototype.toString=function(){return""};var zS=function(a,b){this.metadata_=a||{};this.edgeCollection_=b};zS.prototype.toString=function(){return""};var Nxc=function(a){return Mxc(a).some(function(b){return!b.isLocal_})};zS.prototype.getSource=function(a){return Mxc(this)[a]};zS.prototype.hasSource=function(){return void 0<Mxc(this).length};var Mxc=function(a){return a.edgeCollection_?a.edgeCollection_.getSources(a.metadata_.encodedContainerId,a.metadata_.containerType):[]};zS.prototype.getCause=function(a){return Oxc(this)[a]};
var Oxc=function(a){return a.edgeCollection_?Pxc(a.edgeCollection_,a.metadata_.edgeKeyInfo):[]};zS.prototype.getContainerType=function(){return this.metadata_.containerType};var Qxc=new zS({},null);var Rxc=function(a,b){this.email_=a;this.edgeCollection_=b;this.metadata_=null};f=Rxc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new zS(this.email_.metadata,this.edgeCollection_):Qxc);return this.metadata_};f.hasMetaData=function(){return"metadata"in this.email_};f.getValue=function(){return this.email_.value||""};f.hasValue=function(){return!!this.getValue()};
f.getPrimary=function(){var a=this.email_.metadata;return!(!a||!a.primary)};f.getDisplayName=function(){return""};var Sxc=new Rxc({},null);var Txc=function(a,b){this.emails_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.emails_.push(new Rxc(c.value,b))};f=Txc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.emails_[a]||Sxc};f.getFieldLength=function(){return this.emails_.length};var Uxc=new Txc([],null);var Vxc=function(a,b){this.name_=a||{};this.edgeCollection_=b;this.metadata_=null};f=Vxc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=new zS(this.name_.metadata,this.edgeCollection_));return this.metadata_};f.hasMetaData=function(){return!!this.getMetaData()};f.getValue=function(){return this.name_.displayName||this.name_.formattedName||this.name_.formattedValue||this.name_.value||""};f.hasValue=function(){return!!this.getValue()};
f.getFamilyName=function(){return this.name_.familyName||""};f.hasFamilyName=function(){return!!this.getFamilyName()};f.getGivenName=function(){return this.name_.givenName||""};f.hasGivenName=function(){return!!this.getGivenName()};var Wxc=new Vxc({},null);var Xxc=function(a){this.field_=a};f=Xxc.prototype;f.toString=function(){return""};f.getField=function(){return this.field_};f.getMetaData=function(){return this.field_.getMetaData()};f.hasMetaData=function(){return this.field_.hasMetaData()};f.getValue=function(){return this.field_.getValue()};f.hasValue=function(){return this.field_.hasValue()};f.getFamilyName=function(){return this.field_.getFamilyName()};f.hasFamilyName=function(){return this.field_.hasFamilyName()};f.getGivenName=function(){return this.field_.getGivenName()};
f.hasGivenName=function(){return this.field_.hasGivenName()};var Yxc=new Xxc(Wxc);var Zxc=["CONTACT","PROFILE","DOMAIN_PROFILE"],$xc=function(a,b){this.names_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.names_.push(new Vxc(c.value,b))};f=$xc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.names_[a]||Wxc};f.getFieldLength=function(){return this.names_.length};var ayc=new $xc([],null);var byc=function(a,b){this.phone_=a;this.edgeCollection_=b;this.metadata_=null};f=byc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new zS(this.phone_.metadata,this.edgeCollection_):Qxc);return this.metadata_};f.hasMetaData=function(){return"metadata"in this.phone_};f.getValue=function(){return this.phone_.value||""};f.hasValue=function(){return!!this.getValue()};
f.getPrimary=function(){var a=this.phone_.metadata;return!(!a||!a.primary)};var cyc=new byc({},null);var dyc=function(a,b){this.phones_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.phones_.push(new byc(c.value,b))};f=dyc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.phones_[a]||cyc};f.getFieldLength=function(){return this.phones_.length};var eyc=new dyc([],null);var fyc=function(a,b){this.photo_=a;this.edgeCollection_=b;this.metadata_=null};f=fyc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new zS(this.photo_.metadata,this.edgeCollection_):Qxc);return this.metadata_};f.hasMetaData=function(){return"metadata"in this.photo_};f.getUrl=function(){return this.photo_.url||""};f.hasUrl=function(){return!!this.getUrl()};var gyc=new fyc({},null);var hyc=function(a,b){this.photos_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.isMonogram||c.isDefault||this.photos_.push(new fyc(c,b))};f=hyc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.photos_[a]||gyc};f.getFieldLength=function(){return this.photos_.length};var iyc=new hyc([],null);var AS=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};
AS.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_?qMa(this.getName().getValue(),this.getEmail().getField(this.emailIndex_).getValue()):"";this.text_=a}return this.text_};AS.prototype.hasName=function(){return!!this.getName()};
AS.prototype.getName=function(){if(!this.name_){a:{var a=vMa(this);if(a.names_.length){for(var b=k(Zxc),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=k(a.names_),e=d.next();!e.done;e=d.next())if(e=e.value,e.getMetaData().getContainerType()===c){a=new Xxc(e);break a}}a=new Xxc(a.names_[0])}else a=Yxc}this.name_=a}return this.name_};
var vMa=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 $xc(b,a.edgeCollection_):ayc}return a.nameRepeated_};f=AS.prototype;f.hasEmail=function(){return!!this.getEmail().getField(0).getValue()};
f.getEmail=function(){if(!this.email_){var a=null;this.person_?a=this.person_.email:this.googleGroup_?a=this.googleGroup_.emails:this.contactLabel_&&(a=[{value:rMa(this.contactLabel_)}]);this.email_=a?new Txc(a,this.edgeCollection_):Uxc}return this.email_};f.hasPhone=function(){return!!this.getPhone().getField(0).getValue()};f.getPhone=function(){if(!this.phone_){var a;this.person_?a=this.person_.phone:this.googleGroup_&&(a=this.googleGroup_.phones);this.phone_=a?new dyc(a,this.edgeCollection_):eyc}return this.phone_};
f.hasPhoto=function(){return!!this.getPhoto().getField(0).getUrl()};f.getPhoto=function(){if(!this.photo_){var a;this.person_&&(a=this.person_.photo);this.photo_=a?new hyc(a,this.edgeCollection_):iyc}return this.photo_};f.getAddress=function(){return null};f.getStatus=function(){return null};f.hasStatus=function(){return!!this.getStatus()};f.hasAttribute=function(a){return!!this.getAttribute(a)};f.getAttribute=function(){return null};f.getLocation=function(){return null};f.getDisplayName=function(){return null};
f.getRelation=function(){return null};f.getEvent=function(){return null};var qMa=function(a,b){return a?b&&a!=b?'"'+a.replace(/[\\"]/g,"\\$&")+'" <'+b+">":a:b||""},jyc=new AS(null,null,null,null);var kyc=function(){this.keyToIndex_=new Map},lyc=function(a,b,c){return c.map(function(d){return a.get(b,d)}).filter(function(d){return null!=d})};kyc.prototype.get=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.contains(a,b)?this.keyToIndex_.get(this.getKey_(a,b)):null};kyc.prototype.set=function(a,b,c){"DOMAIN_PROFILE"===b&&(b="PROFILE");this.keyToIndex_.set(this.getKey_(a,b),c)};
kyc.prototype.contains=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.keyToIndex_.has(this.getKey_(a,b))};kyc.prototype.getKey_=function(a,b){return a+"="+b};var tMa=function(a){this.evergreenProfile_=a?new AS(a,null,null,null):jyc};tMa.prototype.toString=function(){return""};var myc=new tMa(null);var nyc=new Lxc(!0,null),BS=function(a){this.edgeIndexResolver_=new kyc;this.sourcesCache_=new Map;this.encodedContainerIds_=[];this.readonlyOutgoingEdges_=uMa(a,this.edgeIndexResolver_,this.encodedContainerIds_)};BS.prototype.get=function(a){return this.readonlyOutgoingEdges_[a]||myc};var Pxc=function(a,b){return b?b.map(function(c){return a.edgeIndexResolver_.get(c.containerId,c.containerType)}).filter(function(c){return null!=c}):[]};BS.prototype.getSize=function(){return this.readonlyOutgoingEdges_.length};
BS.prototype.getSources=function(a,b){if(!a||!b)return[];if("CONTACT"===b)return[nyc];var c=a+"="+b;this.sourcesCache_.has(c)||this.sourcesCache_.set(c,lyc(this.edgeIndexResolver_,a,[b]).map(function(d){return new Lxc(!1,d)}));return this.sourcesCache_.get(c)};var oyc=new BS(null);var pyc=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 BS(this.person_);this.emailIndex_=b;this.profile_=new AS(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()};T(pyc,avc);f=pyc.prototype;
f.toString=function(){return"cl"===this.getType()?this.getEmail()||"":this.text};f.getAllIds_=function(){if(!this.allIds_){if(this.person_)var a=Kxc(this.person_);else if(this.googleGroup_)if(a=this.googleGroup_){var b=pMa(a.sourceIds);a=new Ixc(a.personId||"",b)}else a=Jxc;else this.contactLabel_?(a=this.contactLabel_)?(b={},b.CONTACT=No("id.id",a)||"",a=new Ixc("",b)):a=Jxc:a=Jxc;this.allIds_=a}return this.allIds_};f.getId=function(){return this.getAllIds_().contactId};
f.getName=function(){null===this.name_&&(this.name_=wMa(this.profile_,function(a){return!!a&&!Nxc(a)}),null===this.name_&&(this.name_=qyc(this,wMa)));return this.name_};f.getEmail=function(){return this.profile_.getEmail().getField(this.emailIndex_).getValue()};f.getPhoneNumber=function(){null===this.phone_&&(this.phone_=xMa(this.profile_,function(a){return!!a&&!Nxc(a)}),null===this.phone_&&(this.phone_=qyc(this,xMa)));return this.phone_};
f.getType=function(){var a=this.profile_;return a.contactLabel_?"cl":a.googleGroup_?"li":!a.hasEmail()&&a.hasPhone()?"pt":"ct"};f.getPriority=function(){return 0};f.getPhotoUrl=function(){null===this.photoUrl_&&(this.photoUrl_=yMa(this.profile_,function(a){return!!a&&!Nxc(a)}),null===this.photoUrl_&&(this.photoUrl_=qyc(this,yMa)));return this.photoUrl_};f.getLoggingId=function(){return this.getAllIds_().loggingId};
var qyc=function(a,b){for(var c=a.profile_.getEmail().getField(a.emailIndex_).getMetaData(),d=0;d<Oxc(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<Mxc(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""},ryc=function(a,b,c){c=void 0===c?!1:c;if(void 0===b?0:b)return a.map(function(q){return new pyc(q,void 0,!0)});b=new Set;var d=
[];a=k(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var g=No("person.email",e)||No("googleGroup.emails",e)||[];if(c||g&&g.length)for(var h=0;h<g.length;h++){var l=(No("value",g[h])||"").trim().toLowerCase();if(c){if(b.has(l))continue;b.add(l)}d.push(new pyc(e,h))}else d.push(new pyc(e))}return d};var syc=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y){Q=void 0===Q?new eS:Q;Y=void 0===Y?!1:Y;this.metrics=a;this.peopleRoot=b;this.gapiApiKey=c;this.clientId=d;this.clientName=e;this.clientVersion=g||"contact_store_336195648";this.affinityType=h;this.delegatorId=l;this.timeoutMs=q;this.onAuthError=v?v:function(){};this.autocompletePageSize=x;this.rankedTargetsPageSize=A;this.peopleContainerMask=G.split(/[\s,]+/).filter(function(W){return!!W});this.peopleFieldMask=M;this.experiments=Q;this.includeOnlyNames=
Y};syc.prototype.setTimeout=function(a){var b=this.timeoutMs;0<a&&(this.timeoutMs=a);return b};var tyc=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};T(tyc,Error);var CS=function(a,b,c){this.config=a;this.onAuthError_=a.onAuthError;this.timeoutMs_=a.timeoutMs;this.metrics_=a.metrics;this.metric_=new pS(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")};f=CS.prototype;f.setAddressBookId=function(a){this.addressBookId_=a};f.getAddressBookId=function(){return this.addressBookId_};f.isPending=function(){return 1==this.state_};f.getQuery=function(){return this.query_};
f.setQuery=function(a){this.query_=a};f.cancel=function(){switch(this.state_){case 1:this.promise_.cancel();break;case 0:this.state_=2,this.promise_=KZb(new pC),uyc(this,null,11)}};
f.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&&!gMa()&&(c.params=c.params||{},c.params.key=d);c.headers=hMa(d);c.root=this.config.peopleRoot;c.authType="auto";a=a.request(c)}else a=Promise.resolve({result:{}});return this.promise_=UZb(NZb([a,c_b(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)})};f.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{uyc(this,c,0)}finally{this.metrics_.stop(this.metric_,"total"),this.metrics_.status(this.metric_,0)}}}};
f.onError_=function(a){var b=!1,c=2,d=1;try{if("TIMEOUT"===a)c=4,d=10;else if(a instanceof pC)c=1,d=11;else if(a instanceof tyc)c=a.code,d=uvc(c);else if(a&&"object"===typeof a){var e=No("result.error.code",a)||a.status,g=e;g=Number(g);c=rvc.has(g)?rvc.get(g):200<=g&&300>g?0:400<=g&&500>g?9:500<=g&&600>g?13:2;d=uvc(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),uyc(this,null,d,b)}};
var uyc=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 vyc=function(a,b,c){var d=(new Po).setEventType(2).setRpcType(1).setToken(b);CS.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};T(vyc,CS);
vyc.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}};
vyc.prototype.processResponse=function(a){var b=a.status;if(b){if(b.personalResultsNotReady)throw new tyc(14,"PersonalResultsNotReady");if(b.requestThrottled)throw new tyc(8,"RequestThrottled");if(b.containsPartialResults)throw new tyc(8,"ContainsPartialResults");}return ryc(a.results||[],this.config.includeOnlyNames)};var wyc=function(a,b){this.person_=a;this.allIds_=null;this.edgeCollection_=b;this.profile_=this.person_?new AS(this.person_,null,null,this.edgeCollection_):jyc};f=wyc.prototype;f.toString=function(){return""};f.getAllIds_=function(){this.allIds_||(this.allIds_=Kxc(this.person_));return this.allIds_};f.getId=function(){return this.getAllIds_().contactId||this.getAllIds_().profileId||this.getAllIds_().syntheticId};f.hasAttribute=function(a){return!!this.getAttribute(a)};f.getAttribute=function(){return null};
f.getProfile=function(){return this.profile_};f.getAffinity=function(){return null};f.hasAffinity=function(){return!!this.getAffinity()};f.getDeleted=function(){return!1};var xyc=new wyc(null,oyc);var yyc=function(a){a=void 0===a?null:a;this.edgeCollection_=new BS(a);this.contact_=a?new wyc(a,this.edgeCollection_):xyc};f=yyc.prototype;f.toString=function(){return""};f.getId=function(){return this.contact_.getId()};f.getAttribute=function(a){return this.contact_.getAttribute(a)};f.hasAttribute=function(a){return this.contact_.hasAttribute(a)};f.getProfile=function(){return this.contact_.getProfile()};f.getAffinity=function(){return this.contact_.getAffinity()};f.hasAffinity=function(){return this.contact_.hasAffinity()};
f.getDeleted=function(){return this.contact_.getDeleted()};var zyc=function(a,b,c){CS.call(this,a,(new Po).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};T(zyc,CS);
zyc.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}};zyc.prototype.processResponse=function(a){return(a.personResponse||[]).filter(function(b){return"SUCCESS"==b.status}).map(function(b){return new yyc(b.person)})};var DS=function(a,b,c,d){CS.call(this,a,mMa(b),d);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.lookupType_=Ayc(b);this.knownIds_=c.filter(function(e){return!!e});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};T(DS,CS);
DS.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}};
DS.prototype.processResponse=function(a){var b=a.matches,c=a.people,d=[];b&&c&&b.forEach(function(e){e=k(e.personId);for(var g=e.next();!g.done;g=e.next())(g=c[g.value])&&d.push(new yyc(g))});return d};var Ayc=function(a){switch(a){case 1:return"EMAIL";case 2:return"PHONE";case 3:return"CONTACT";case 5:return"SYNTHETIC";default:return""}};var Byc=function(a,b){CS.call(this,a,(new Po).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_=[];Tj(a.experiments,6,!0)&&this.peopleExtensionNames_.push("FILTER_TO_PRIMARY")};T(Byc,CS);
Byc.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}};Byc.prototype.processResponse=function(a){return ryc(a.rankedTarget||[],this.config.includeOnlyNames,!0)};f=zMa.prototype;f.getQuery=function(){return this.query_};f.setQuery=function(a){this.query_=a};f.getError=function(){return this.error_};f.setError=function(a){this.error_=a};f.getConfiguration=function(){return this.config_};f.setConfiguration=function(a){this.config_=a};f.getUserData=function(){return this.userData_};f.setUserData=function(a){this.userData_=a};var Cyc=new Map([[1,4],[2,2],[3,1],[4,7]]),Fyc=function(a,b){QB.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 pS((new Po).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?Dyc(c,d):Eyc(c,5)},function(d){c.metrics_.logError("gapi.client failed to load: "+d,d);Eyc(c,5)})};
T(Fyc,QB);var Dyc=function(a,b){b&&b.request?(lMa(),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 Gyc(a,d,e)})})):Eyc(a,9)};Fyc.prototype.disposeInternal=function(){for(var a=k(this.queuedRequests_.keys()),b=a.next();!b.done;b=a.next())Cxc(this,b.value)};
var Eyc=function(a,b){a.metrics_.status(a.gapiMetric_,b);a.gapiFailed_=!0;a.disposeInternal()},Cxc=function(a,b){b=b||"";a.queuedRequests_.has(b)&&(Hyc(a.queuedRequests_.get(b)),a.queuedRequests_.delete(b))},Iyc=function(a,b,c){a.gapiFailed_?c.cancel():(oMa(a,b).push(c),Gyc(a,b,c))},Gyc=function(a,b,c){a.gapiClient_&&UZb(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)}})},oMa=function(a,b){b=b||"";if(a.queuedRequests_.has(b))return a.queuedRequests_.get(b);
var c=[];a.queuedRequests_.set(b,c);return c},Hyc=function(a){a&&a.length&&(a.forEach(function(b){return b.cancel()}),a.length=0)};Fyc.prototype.loadContactRows=function(a,b,c){var d=a&&a.token||"",e=function(h,l){return c(h,g,b,a,l)},g=d?new vyc(this.config_,d,e):new Byc(this.config_,e);Iyc(this,b,g);return g};
Fyc.prototype.execute=function(a){if(a.isMutate())return this.metrics_.status(new pS((new Po).setEventType(2).setRpcType(4)),12),Jyc(a);var b=a.getQueryParameters&&a.getQueryParameters()||{},c=b.addressBookId,d=function(x,A){if(A)a.setResponse(xvc(A,h));else{A=new zMa(b);A.contacts_=x;x=a.setResponse;var G=new wvc(h);G.queryResponse_=A;G.errorCode_=A.getError();x.call(a,G)}},e=this.config_.setTimeout(Kyc(a));try{var g=b.emailAddresses||[];if(g.length)var h=new DS(this.config_,1,g,d);else{var l=b.contactIds||
[];if(l.length)h=new DS(this.config_,3,l,d);else{var q=b.profileIds||[];if(q.length)h=new zyc(this.config_,q,d);else{var v=b.syntheticIds||[];if(v.length)h=new DS(this.config_,5,v,d);else return this.metrics_.status(new pS((new Po).setEventType(2)),12),Jyc(a)}}}}finally{this.config_.setTimeout(e)}h.setQuery(a);Iyc(this,c,h);return h};var Jyc=function(a){var b=new cvc(function(){return a.setResponse(xvc(5,b))});b.setQuery(a);return b};var Lyc=function(a,b,c,d){To.call(this,a,b,c,d)};T(Lyc,To);Lyc.prototype.execute=function(a){a.isMutate()&&a.addSuccessCallback(Ls(this.handleExecuteResponse_,this,a));a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};Lyc.prototype.handleExecuteResponse_=function(a,b){if(b.hasChanges()){var c=b.mutateResponse_;if(a.getNotifyOnChange()||c&&c.getError())a=new Jvc([b.mutateResponse_],"g"),this.dispatchEvent(a)}};var Myc=function(a,b,c){b=b||new Exc(!0,!0);To.call(this,a,b,"personal",c)};T(Myc,Lyc);Myc.prototype.configure=function(a,b){Lyc.prototype.configure.call(this,a,b)};var Nyc=function(){throw Error("Jd");};var Oyc={},Pyc={},Qyc={},Ryc={},Syc={},ES=function(){throw Error("Ld");};ES.prototype.contentDir=null;ES.prototype.getContent=function(){return this.content};ES.prototype.toString=function(){return this.content};ES.prototype.toSafeHtml=function(){if(this.contentKind!==Oyc)throw Error("Md");return Lg(this.toString())};var Tyc=function(){ES.call(this)};Ns(Tyc,ES);Tyc.prototype.contentKind=Oyc;var Uyc=function(){ES.call(this)};Ns(Uyc,ES);Uyc.prototype.contentKind=Pyc;Uyc.prototype.contentDir=1;var FS=function(a,b){return null!=a&&a.contentKind===b};var Vyc=function(a){if(null!=a)switch(a.contentDir){case 1:return 1;case -1:return-1;case 0:return 0}return null},Jq=function(a){return FS(a,Oyc)?a:a instanceof Kg?Fq(qk(a).toString()):a instanceof Kg?Fq(qk(a).toString()):Fq(String(String(a)).replace(Wyc,Xyc),Vyc(a))},Fq=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}}(Tyc),Yyc=function(a){if(null==a)throw Error("Nd");return a},GS=function(a){function b(c){this.content=
c}b.prototype=a.prototype;return function(c,d){c=String(c);if(!c)return"";c=new b(c);void 0!==d&&(c.contentDir=d);return c}}(Tyc),Zyc=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return(c=String(c))?new b(c):""}}(Uyc),Kq=function(a){return FS(a,Oyc)?a:Fq($yc(a,azc),Vyc(a))},bzc=RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b"),$yc=function(a,b){if(!b)return String(a).replace(czc,"").replace(dzc,"&lt;");a=String(a).replace(/\[/g,
"&#91;");var c=[],d=[];a=a.replace(czc,function(g,h){if(h&&(h=h.toLowerCase(),b.hasOwnProperty(h)&&b[h])){var l=c.length,q="</",v="";if("/"!=g.charAt(1)){q="<";for(var x;x=ezc.exec(g);)if(x[1]&&"dir"==x[1].toLowerCase()){if(g=x[2]){if("'"==g.charAt(0)||'"'==g.charAt(0))g=g.substr(1,g.length-2);g=g.toLowerCase();if("ltr"==g||"rtl"==g||"auto"==g)v=' dir="'+g+'"'}break}ezc.lastIndex=0}c[l]=q+h+">";d[l]=v;return"["+l+"]"}return""});a=String(a).replace(fzc,Xyc);var e=gzc(c);a=a.replace(/\[(\d+)\]/g,function(g,
h){return d[h]&&c[h]?c[h].substr(0,c[h].length-1)+d[h]+">":c[h]});return a+e},hzc=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},gzc=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]="":bzc.test(e)||b.push("</"+e.substring(1))}return b.reverse().join("")},Iq=function(a){return FS(a,Oyc)?String($yc(a.getContent())).replace(fzc,
Xyc):String(a).replace(Wyc,Xyc)},lzc=function(a){FS(a,Pyc)||FS(a,Qyc)?a=HS(a):a instanceof ec?a=HS(fc(a)):a instanceof ec?a=HS(fc(a)):a instanceof hv?a=HS(Gh(a).toString()):a instanceof hv?a=HS(Gh(a).toString()):(a=String(a),a=izc.test(a)?a.replace(jzc,kzc):"about:invalid#zSoyz");return a},nzc=function(a){FS(a,Pyc)||FS(a,Qyc)?a=HS(a):a instanceof ec?a=HS(fc(a)):a instanceof ec?a=HS(fc(a)):a instanceof hv?a=HS(Gh(a).toString()):a instanceof hv?a=HS(Gh(a).toString()):(a=String(a),a=mzc.test(a)?a.replace(jzc,
kzc):"about:invalid#zSoyz");return a},IS=function(a){FS(a,Syc)?a=hzc(a.getContent()):null==a?a="":a instanceof iv?a=hzc(dQb(a)):a instanceof iv?a=hzc(dQb(a)):a instanceof jv?a=hzc(fQb(a)):a instanceof jv?a=hzc(fQb(a)):(a=String(a),a=ozc.test(a)?a:"zSoyz");return a},pzc={"\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;"},Xyc=function(a){return pzc[a]},qzc={"\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"},kzc=function(a){return qzc[a]},Wyc=/[\x00\x22\x26\x27\x3c\x3e]/g,fzc=/[\x00\x22\x27\x3c\x3e]/g,jzc=/[\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,ozc=/^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:calc|cubic-bezier|hsl|hsla|hue-rotate|invert|linear-gradient|max|min|rgb|rgba|rotate|rotateZ|translate|translate3d|translateX|translateY)\((?:[-\u0020\t,+.!#%_0-9a-zA-Z]|(?:calc|cubic-bezier|hsl|hsla|hue-rotate|invert|linear-gradient|max|min|rgb|rgba|rotate|rotateZ|translate|translate3d|translateX|translateY)\([-\u0020\t,+.!#%_0-9a-zA-Z]+\))+\)|[-+]?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:e-?[0-9]+)?(?:[a-z]{1,4}|%)?|!important)(?:\s*[,\u0020]\s*|$))*$/i,
izc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,mzc=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,rzc=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,HS=function(a){return String(a).replace(jzc,kzc)},czc=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,dzc=/</g,azc={b:!0,br:!0,em:!0,i:!0,s:!0,strong:!0,sub:!0,sup:!0,u:!0},
ezc=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;var AMa={};var JS=function(a,b,c){Ro.call(this);this.matcher_=a;this.selectionHandler_=c;this.renderer_=b;So(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_={}};Ns(JS,Ro);f=JS.prototype;f.maxMatches_=10;f.getMatcher=function(){return this.matcher_};f.setMatcher=function(a){this.matcher_=a};f.getToken=function(){return this.token_};
f.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_[szc(this,a)];c=!!d&&b.isRowDisabled&&b.isRowDisabled(d);d&&!c&&this.hiliteId_!=a&&this.hiliteId(a)}c||this.selectHilited();break;case "canceldismiss":tzc(this);break;case "dismiss":uzc(this)}};
f.setToken=function(a){this.token_!=a&&(this.token_=a,this.matcher_.requestMatchingRows(this.token_,this.maxMatches_,Ls(this.matchListener_,this)),tzc(this))};f.getTarget=function(){return this.target_};f.setTarget=function(a){this.target_=a};f.isOpen=function(){return this.renderer_.isVisible()};var vzc=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}};
JS.prototype.hiliteId=function(a){var b=szc(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)};
JS.prototype.selectHilited=function(){var a=szc(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=wzc(c,c.getValue(),c.getCursorPosition()),g=xzc(c,c.getValue());c.separatorCheck_&&!c.separatorCheck_.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.defaultSeparator_);0==e||Mk(g[e-1])||(d=" "+d);e==g.length-1&&(d+=" ");if(d!=g[e]){g[e]=d;d=c.activeElement_;(Rs||Ps)&&d.blur();d.value=g.join("");for(var h=0,l=0;l<=e;l++)h+=
g[l].length;d.focus();e=h;g=c.activeElement_;yzc(g)&&(g.selectionStart=e);g=c.activeElement_;yzc(g)&&(g.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};
JS.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 uzc=function(a){a.dismissTimer_||(a.dismissTimer_=window.setTimeout(Ls(a.dismiss,a),100))};
JS.prototype.immediatelyCancelDelayedDismiss_=function(){return this.dismissTimer_?(window.clearTimeout(this.dismissTimer_),this.dismissTimer_=null,!0):!1};var tzc=function(a){a.immediatelyCancelDelayedDismiss_()||window.setTimeout(Ls(a.immediatelyCancelDelayedDismiss_,a),10)};JS.prototype.disposeInternal=function(){JS.superClass_.disposeInternal.call(this);delete this.inputToAnchorMap_;this.renderer_.dispose();this.selectionHandler_.dispose();this.matcher_=null};
JS.prototype.matchListener_=function(a,b,c){this.token_==a&&this.renderRows(b,c)};
JS.prototype.renderRows=function(a,b){var c="object"==Ya(b)&&b;b=(c?c.getPreserveHilited():b)?szc(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_[xa(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):vzc(this));this.dispatchEvent("suggestionsupdate")};var szc=function(a,b){b-=a.firstRowId_;return 0>b||b>=a.rows_.length?-1:b};JS.prototype.attachInputs=function(a){var b=this.selectionHandler_;b.attachInputs.apply(b,arguments)};JS.prototype.detachInputs=function(a){var b=this.selectionHandler_;b.detachInputs.apply(b,arguments);Array.prototype.forEach.call(arguments,function(c){cc(this.inputToAnchorMap_,xa(c))},this)};
JS.prototype.update=function(a){this.selectionHandler_.update(a)};var zzc=function(a,b){var c=0,d=0;yzc(a)&&(c=a.selectionStart,d=b?-1:a.selectionEnd);return[c,d]},yzc=function(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};var Czc=function(a,b,c,d,e,g){if(qq&&e)return Azc(a);if(e&&!d)return!1;if(!Rs){"number"===typeof b&&(b=Bzc(b));var h=17==b||18==b||qq&&91==b;if((!c||qq)&&h||qq&&16==b&&(d||g))return!1}if((Ss||Qs)&&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(Ps&&d&&b==a)return!1;switch(a){case 13:return Rs?g||e?!1:!(c&&d):!0;case 27:return!(Ss||Qs||Rs)}return Rs&&(d||e||g)?!1:Azc(a)},Azc=function(a){if(48<=a&&57>=a||96<=a&&106>=
a||65<=a&&90>=a||(Ss||Qs)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:case 163:case 58:return!0;case 173:return Rs;default:return!1}},Bzc=function(a){if(Rs)a=Dzc(a);else if(qq&&Ss)switch(a){case 93:a=91}return a},Dzc=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 Ezc=function(a,b,c,d){TB.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};Ns(Ezc,TB);var Fzc=function(a,b){Ro.call(this);a&&this.attach(a,b)};Ns(Fzc,Ro);f=Fzc.prototype;f.element_=null;f.keyPressKey_=null;f.keyDownKey_=null;f.keyUpKey_=null;f.lastKey_=-1;f.keyCode_=-1;f.altKey_=!1;
var Gzc={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},Hzc={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},Izc=qq&&Rs;f=Fzc.prototype;
f.handleKeyDown_=function(a){(Ss||Qs)&&(17==this.lastKey_&&!a.ctrlKey||18==this.lastKey_&&!a.altKey||qq&&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));Czc(a.keyCode,this.lastKey_,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.keyCode_=Bzc(a.keyCode),Izc&&(this.altKey_=a.altKey)):this.handleEvent(a)};
f.resetState=function(){this.keyCode_=this.lastKey_=-1};f.handleKeyup_=function(a){this.resetState();this.altKey_=a.altKey};
f.handleEvent=function(a){var b=a.event_,c=b.altKey;if(Ps&&"keypress"==a.type){var d=this.keyCode_;var e=13!=d&&27!=d?b.keyCode:0}else(Ss||Qs)&&"keypress"==a.type?(d=this.keyCode_,e=0<=b.charCode&&63232>b.charCode&&Azc(d)?b.charCode:0):("keypress"==a.type?(Izc&&(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),qq&&63==e&&224==d&&(d=191));var g=d=Bzc(d);d?63232<=
d&&d in Gzc?g=Gzc[d]:25==d&&a.shiftKey&&(g=9):b.keyIdentifier&&b.keyIdentifier in Hzc&&(g=Hzc[b.keyIdentifier]);if(!Rs||"keypress"!=a.type||Czc(g,this.lastKey_,a.shiftKey,a.ctrlKey,c,a.metaKey))a=g==this.lastKey_,this.lastKey_=g,b=new Ezc(g,e,a,b),b.altKey=c,this.dispatchEvent(b)};f.getElement=function(){return this.element_};
f.attach=function(a,b){this.keyUpKey_&&this.detach();this.element_=a;this.keyPressKey_=So(this.element_,"keypress",this,b);this.keyDownKey_=So(this.element_,"keydown",this.handleKeyDown_,b,this);this.keyUpKey_=So(this.element_,"keyup",this.handleKeyup_,b,this)};f.detach=function(){this.keyPressKey_&&(ZB(this.keyPressKey_),ZB(this.keyDownKey_),ZB(this.keyUpKey_),this.keyUpKey_=this.keyDownKey_=this.keyPressKey_=null);this.element_=null;this.keyCode_=this.lastKey_=-1};
f.disposeInternal=function(){Fzc.superClass_.disposeInternal.call(this);this.detach()};var KS=function(a,b,c,d){QB.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 qC(d):null;this.eh_=new uq(this);this.activateHandler_=new uq(this);this.keyHandler_=new Fzc;this.lastKeyCode_=-1};
Ns(KS,QB);f=KS.prototype;f.activeElement_=null;f.lastValue_="";f.waitingForIme_=!1;f.rowJustSelected_=!1;f.getValue=function(){return this.activeElement_.value};f.setValue=function(a){this.activeElement_.value=a};f.getCursorPosition=function(){return zzc(this.activeElement_,!0)[0]};
f.attachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];jC(c)&&(cN(c,"combobox"),dN(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_),jC(c))){var d=bC(c);try{var e=d&&d.activeElement;var g=e&&e.nodeName?e:null}catch(h){g=null}g==c&&Jzc(this,c)}}};
f.detachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];jC(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_)}};
f.disposeInternal=function(){KS.superClass_.disposeInternal.call(this);this.eh_.dispose();delete this.eh_;this.activateHandler_.dispose();this.keyHandler_.dispose();Ah(this.timer_)};
var Lzc=function(a,b){switch(b.keyCode){case 40:if(a.ac_.isOpen()){vzc(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}}Kzc(a,b)},Kzc=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()};KS.prototype.handleKeyUp=function(){return!1};KS.prototype.handleFocus=function(a){Jzc(this,a.target||null)};
var Jzc=function(a,b){a.activateHandler_.removeAll();a.ac_&&tzc(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_),Ps&&a.eh_.listen(a.activeElement_,"keypress",a.onIeKeyPress_))};f=KS.prototype;
f.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_),Ps&&this.eh_.unlisten(this.activeElement_,"keypress",this.onIeKeyPress_),this.waitingForIme_&&Mzc(this),this.activeElement_=null,this.timer_&&(this.timer_.stop(),this.eh_.unlisten(this.timer_,"tick",this.onTick_)),this.ac_&&uzc(this.ac_))};
f.onTick_=function(){this.update()};f.onKeyDownOnInactiveElement_=function(a){this.handleFocus(a)};f.onKey_=function(a){this.lastKeyCode_=a.keyCode;this.ac_&&Lzc(this,a)};f.onKeyPress_=function(){this.waitingForIme_&&229!=this.lastKeyCode_&&Mzc(this)};f.onKeyUp_=function(a){this.waitingForIme_&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&Mzc(this)};f.onMouseDown_=function(){};
var Mzc=function(a){a.waitingForIme_&&(a.waitingForIme_=!1,a.eh_.unlisten(a.activeElement_,"keypress",a.onKeyPress_),a.eh_.unlisten(a.activeElement_,"keyup",a.onKeyUp_))};KS.prototype.onIeKeyPress_=function(a){Kzc(this,a)};
KS.prototype.update=function(a){if(this.activeElement_&&(a||this.getValue()!=this.lastValue_)){if(a||!this.rowJustSelected_){a=this.getCursorPosition();var b=this.getValue();a=xzc(this,b)[wzc(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 wzc=function(a,b,c){a=xzc(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},xzc=function(a,b){if(!a.multi_)return[b];b=String(b).split("");for(var c=[],d=[],e=0,g=!1;e<b.length;e++)a.literals_&&-1!=a.literals_.indexOf(b[e])?(g||(c.push(d.join("")),d.length=0),d.push(b[e]),g=!g):g||-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 Nzc=function(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""},Ozc=function(a){return a.classList?a.classList:Nzc(a).match(/\S+/g)||[]},Pzc=function(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)},Qzc=function(a,b){return a.classList?a.classList.contains(b):qa(Ozc(a),b)},Rzc=function(a,b){if(a.classList)a.classList.add(b);else if(!Qzc(a,b)){var c=Nzc(a);Pzc(a,c+(0<c.length?" "+b:b))}},Szc=function(a,b){if(a.classList)Array.prototype.forEach.call(b,
function(e){Rzc(a,e)});else{var c={};Array.prototype.forEach.call(Ozc(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;Pzc(a,b)}},Tzc=function(a,b){a.classList?a.classList.remove(b):Qzc(a,b)&&Pzc(a,Array.prototype.filter.call(Ozc(a),function(c){return c!=b}).join(" "))},Uzc=function(a,b){a.classList?Array.prototype.forEach.call(b,function(c){Tzc(a,c)}):Pzc(a,Array.prototype.filter.call(Ozc(a),function(c){return!qa(b,c)}).join(" "))};var Vzc=function(a,b,c){QB.call(this);this.listener_=a;this.interval_=b||0;this.handler_=c;this.callback_=Ls(this.doAction_,this)};Ns(Vzc,QB);f=Vzc.prototype;f.id_=0;f.disposeInternal=function(){Vzc.superClass_.disposeInternal.call(this);this.stop();delete this.listener_;delete this.handler_};f.start=function(a){this.stop();this.id_=oo(this.callback_,void 0!==a?a:this.interval_)};f.stop=function(){this.isActive()&&po(this.id_);this.id_=0};f.fire=function(){this.stop();this.doAction_()};
f.isActive=function(){return 0!=this.id_};f.doAction_=function(){this.id_=0;this.listener_&&this.listener_.call(this.handler_)};var Wzc=function(a,b){if(b&&a in b)return a;var c=Ss?"Webkit":Rs?"Moz":Ps?"ms":null;return c?(c=c.toLowerCase(),a=c+ji(a),void 0===b||a in b?a:null):null};var LS=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};f=LS.prototype;f.getWidth=function(){return this.right-this.left};f.getHeight=function(){return this.bottom-this.top};f.clone=function(){return new LS(this.top,this.right,this.bottom,this.left)};f.contains=function(a){return this&&a?a instanceof LS?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};
f.expand=function(a,b,c,d){wa(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};f.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};
f.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};f.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};
f.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};f.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 MS=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};MS.prototype.clone=function(){return new MS(this.left,this.top,this.width,this.height)};var Gib=function(a){return new MS(a.left,a.top,a.right-a.left,a.bottom-a.top)};
MS.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 Xzc=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 MS(c,e,d-c,a-e)}return null};
f=MS.prototype;f.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};f.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)};f.getSize=function(){return new $B(this.width,this.height)};
f.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};f.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};f.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};
f.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};f.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 NS=function(a,b){var c=bC(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},Jp=function(a,b){return NS(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},Bq=function(a,b,c){if(b instanceof yq){var d=b.x;b=b.y}else d=b,b=c;a.style.left=OS(d,!1);a.style.top=OS(b,!1)},Yzc=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},Zzc=function(a){if(Ps&&!(8<=
Number(Ts)))return a.offsetParent;var b=bC(a),c=Jp(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=Jp(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 LS(0,Infinity,Infinity,0),c=Uo(a),d=c.document_.body,e=c.document_.documentElement,g=fC(c.document_);a=
Zzc(a);)if(!(Ps&&0==a.clientWidth||Ss&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=Jp(a,"overflow")){var h=PS(a),l=new yq(a.clientLeft,a.clientTop);h.x+=l.x;h.y+=l.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=g.scrollLeft;g=g.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,g);c=c.getViewportSize();b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,g+c.height);return 0<=
b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null},bAc=function(a,b){b=b||fC(document);var c=b||fC(document);var d=PS(a),e=PS(c);if(!Ps||9<=Number(Ts)){h=NS(c,"borderLeftWidth");var g=NS(c,"borderRightWidth");l=NS(c,"borderTopWidth");q=NS(c,"borderBottomWidth");g=new LS(parseFloat(l),parseFloat(g),parseFloat(q),parseFloat(h))}else{var h=$zc(c,"borderLeft");g=$zc(c,"borderRight");var l=$zc(c,"borderTop"),q=$zc(c,"borderBottom");g=new LS(l,g,q,h)}c==fC(document)?(h=d.x-c.scrollLeft,d=d.y-c.scrollTop,
!Ps||10<=Number(Ts)||(h+=g.left,d+=g.top)):(h=d.x-e.x-g.left,d=d.y-e.y-g.top);a=aAc(a);e=c.clientHeight-a.height;g=c.scrollLeft;l=c.scrollTop;g+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));l+=Math.min(d,Math.max(d-e,0));c=new yq(g,l);b.scrollLeft=c.x;b.scrollTop=c.y},PS=function(a){var b=bC(a),c=new yq(0,0);var d=b?bC(b):document;d=!Ps||9<=Number(Ts)||jZb(Uo(d).document_)?d.documentElement:d.body;if(a==d)return c;a=Yzc(a);b=gC(Uo(b).document_);c.x=a.left+b.x;c.y=a.top+b.y;return c},Hib=function(a,
b,c){if(b.document_!=c.document_){var d=b.document_.body;c=c.getWindow();var e=new yq(0,0),g=hC(bC(d));if(VJb(g,"parent")){var h=d;do{if(g==c)var l=PS(h);else l=Yzc(h),l=new yq(l.left,l.top);e.x+=l.x;e.y+=l.y}while(g&&g!=c&&g!=g.parent&&(h=g.frameElement)&&(g=g.parent))}d=zq(e,PS(d));!Ps||9<=Number(Ts)||jZb(b.document_)||(d=zq(d,gC(b.document_)));a.left+=d.x;a.top+=d.y}},cAc=function(a,b,c){if(b instanceof $B)c=b.height,b=b.width;else if(void 0==c)throw Error("Qd");a.style.width=OS(b,!0);a.style.height=
OS(c,!0)},OS=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a},Aq=function(a){var b=aAc;if("none"!=Jp(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,g=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=g;c.visibility=e;return a},aAc=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=Ss&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Yzc(a),new $B(a.right-a.left,a.bottom-a.top)):new $B(b,c)},wq=
function(a){var b=PS(a);a=Aq(a);return new MS(b.x,b.y,a.width,a.height)},dAc=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)+")")},QS=function(a,b){a.style.display=b?"":"none"},RS=function(a){return"rtl"==Jp(a,"direction")},eAc=Rs?"MozUserSelect":Ss||Qs?"WebkitUserSelect":null,fAc=function(a){var b=a.getElementsByTagName("*");if(eAc){var c="none";a.style&&(a.style[eAc]=c);if(b){a=0;for(var d;d=b[a];a++)d.style&&
(d.style[eAc]=c)}}else if(Ps&&(c="on",a.setAttribute("unselectable",c),b))for(a=0;d=b[a];a++)d.setAttribute("unselectable",c)},Mib=function(a,b){a=a.style;Rs?a.MozBoxSizing="border-box":Ss?a.WebkitBoxSizing="border-box":a.boxSizing="border-box";a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"},gAc=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},hAc=function(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?gAc(a,b):0},iAc=function(a){if(Ps){var b=hAc(a,"marginLeft"),c=hAc(a,"marginRight"),d=hAc(a,"marginTop");a=hAc(a,"marginBottom");return new LS(d,c,a,b)}b=NS(a,"marginLeft");c=NS(a,"marginRight");d=NS(a,"marginTop");a=NS(a,"marginBottom");return new LS(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))},jAc={thin:2,medium:4,thick:6},$zc=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 jAc?jAc[b]:gAc(a,b)};var kAc=function(){if(YJb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(ca()))?a[1]:"0"}return qq?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(ca()))?a[0].replace(/_/g,"."):"10"):aKb?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(ca()))?a[1]:""):bKb||cKb||dKb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(ca()))?a[1].replace(/_/g,"."):""):""}();var SS=function(a){return(a=a.exec(ca()))?a[1]:""},lAc=function(){if(nKb)return SS(/Firefox\/([0-9.]+)/);if(Ps||Qs||WJb)return kKb;if(rKb){if(ma()||qaa()){var a=SS(/CriOS\/([0-9.]+)/);if(a)return a}return SS(/Chrome\/([0-9.]+)/)}if(sKb&&!ma())return SS(/Version\/([0-9.]+)/);if(oKb||pKb){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(ca()))return a[1]+"."+a[2]}else if(qKb)return(a=SS(/Android\s+([0-9.]+)/))?a:SS(/Version\/([0-9.]+)/);return""}();var Fib=function(a){if(a=a.offsetParent){var b="HTML"==a.tagName||"BODY"==a.tagName;if(!b||"static"!=Jp(a,"position")){var c=PS(a);if(!b){b=RS(a);var d;if(d=b){d=sKb&&0<=taa(lAc,10);var e;if(e=eKb)e=0<=taa(kAc,10);var g=rKb&&0<=taa(lAc,85);d=Rs||d||e||g}b=d?-a.scrollLeft:b&&!up&&"visible"!=Jp(a,"overflowX")?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=zq(c,new yq(b,a.scrollTop))}}}return c||new yq},Jib=function(a,b,c,d,e,g){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(g){if(e){h=a;c=b;d=0;65==(g&65)&&(h.x<e.left||h.x>=e.right)&&(g&=-2);132==(g&132)&&(h.y<e.top||h.y>=e.bottom)&&(g&=-5);h.x<e.left&&g&1&&(h.x=e.left,d|=1);if(g&16){var l=h.x;h.x<e.left&&(h.x=e.left,d|=4);h.x+c.width>e.right&&(c.width=Math.min(e.right-h.x,l+c.width-e.left),c.width=Math.max(c.width,0),d|=4)}h.x+c.width>e.right&&g&1&&(h.x=Math.max(e.right-c.width,e.left),d|=1);g&2&&(d|=(h.x<e.left?16:0)|
(h.x+c.width>e.right?32:0));h.y<e.top&&g&4&&(h.y=e.top,d|=2);g&32&&(l=h.y,h.y<e.top&&(h.y=e.top,d|=8),h.y+c.height>e.bottom&&(c.height=Math.min(e.bottom-h.y,l+c.height-e.top),c.height=Math.max(c.height,0),d|=8));h.y+c.height>e.bottom&&g&4&&(h.y=Math.max(e.bottom-c.height,e.top),d|=2);g&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 MS(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}},Iib=function(a,b){return(b&8&&RS(a)?b^4:b)&
-9};var rq=function(){};rq.instance_=void 0;rq.getInstance=function(){return rq.instance_?rq.instance_:rq.instance_=new rq};rq.prototype.nextId_=0;rq.prototype.idPrefix_="";rq.prototype.setIdPrefix=function(a){this.idPrefix_=a};var gq=function(a){return a.idPrefix_+":"+(a.nextId_++).toString(36)};var TS=function(a,b,c,d){Ro.call(this);this.parent_=a||document.body;this.dom_=Uo(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};Ns(TS,Ro);TS.prototype.getElement=function(){return this.element_};
TS.prototype.renderRows=function(a,b,c){this.token_=b;this.rows_=a;this.hilitedRow_=-1;this.startRenderingRows_=Date.now();this.target_=c;this.rowDivs_=[];mAc(this)};TS.prototype.dismiss=function(){this.visible_&&(this.visible_=!1,nAc(this,!1),QS(this.element_,!1))};TS.prototype.show=function(){this.visible_||(this.visible_=!0,nAc(this,!0),QS(this.element_,!0))};
var nAc=function(a,b){a.target_&&(dN(a.target_,"haspopup",b),dN(a.element_,"expanded",b),dN(a.target_,"expanded",b),b?dN(a.target_,"owns",a.element_.id):(a.target_.removeAttribute("aria-owns"),eN(a.target_,null)))};TS.prototype.isVisible=function(){return this.visible_};
var oAc=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_&&Uzc(a.rowDivs_[a.hilitedRow_],["ac-active","active"]),a.hilitedRow_=b,d&&(Szc(d,["ac-active","active"]),a.target_&&eN(a.target_,d),bAc(d,a.element_)))};TS.prototype.hiliteId=function(a){if(-1==a)oAc(this,-1);else for(var b=0;b<this.rows_.length;b++)if(this.rows_[b].id==a){oAc(this,b);break}};
var pAc=function(a){if(!a.element_){var b=a.dom_.createDom("DIV",{style:"display:none"});a.element_=b;Szc(b,fi(a.className).split(" "));cN(b,"listbox");b.id=gq(rq.getInstance());a.dom_.appendChild(a.parent_,b);So(b,"click",a.handleClick_,!1,a);So(b,"mousedown",a.handleMouseDown_,!1,a);So(b,"mouseover",a.handleMouseOver_,!1,a)}},mAc=function(a){pAc(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:gq(rq.getInstance())});cN(d,"option");this.customRenderer_&&this.customRenderer_.renderRow?this.customRenderer_.renderRow(b,c,d):kC(d,b.data.toString());c&&this.useStandardHighlighting_&&(this.wasHighlightedAtLeastOnce_=!1,qAc(this,d,c));Rzc(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(),fAc(a.element_))};
TS.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=Fib(c),g=wq(a),h=xq(a);h&&g.intersection(Gib(h));Hib(g,Uo(a),Uo(c));a=Iib(a,b);b=g.left;a&4?b+=g.width:a&2&&(b+=g.width/2);a=new yq(b,g.top+(a&1?g.height:0));a=zq(a,e);if(g=xq(c))g.top-=e.y,g.right-=e.x,g.bottom-=e.y,g.left-=e.x;e=a.clone();a=Iib(c,d);d=Aq(c);b=d.clone();e=Jib(e,b,a,null,g,65);e.status&496||(g=e.rect,Bq(c,new yq(g.left,
g.top)),b=e.rect.getSize(),Lib(d,b)||Mib(c,b))}};TS.prototype.getTarget=function(){return this.target_||null};TS.prototype.disposeInternal=function(){this.element_&&(YB(this.element_,"click",this.handleClick_,!1,this),YB(this.element_,"mousedown",this.handleMouseDown_,!1,this),YB(this.element_,"mouseover",this.handleMouseOver_,!1,this),this.dom_.removeNode(this.element_),this.element_=null,this.visible_=!1);Ah(this.animation_);this.parent_=null;TS.superClass_.disposeInternal.call(this)};
var qAc=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=rAc(a,c);if(0!=c.length){var e=b.nodeValue,g=new RegExp("\\b(?:"+c+")","gi");c=[];for(var h=0,l=g.exec(e),q=0;l;)q++,c.push(e.substring(h,l.index)),c.push(e.substring(l.index,g.lastIndex)),h=g.lastIndex,l=g.exec(e);c.push(e.substring(h));if(1<c.length){d=a.highlightAllTokens_?q:1;for(e=0;e<d;e++)g=2*e,b.nodeValue=c[g],h=
a.dom_.createElement("B"),h.className=a.highlightedClassName,a.dom_.appendChild(h,a.dom_.createTextNode(c[g+1])),h=b.parentNode.insertBefore(h,b.nextSibling),b.parentNode.insertBefore(a.dom_.createTextNode(""),h.nextSibling),b=h.nextSibling;c=c.slice(2*d);b.nodeValue=c.join("");a.wasHighlightedAtLeastOnce_=!0}else d&&qAc(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,qAc(a,b,c),b=d},rAc=function(a,b){var c="";if(!b)return c;Array.isArray(b)&&(b=b.filter(function(d){return!Mk(Lk(d))}));a.highlightAllTokens_?
Array.isArray(b)?c=b.map(zn).join("|"):(c=rQb(b),c=zn(c),c=c.replace(/ /g,"|")):Array.isArray(b)?c=0<b.length?zn(b[0]):"":/^\W/.test(b)||(c=zn(b));return c},sAc=function(a,b){for(;b&&b!=a.element_&&!Qzc(b,"ac-row");)b=b.parentNode;return b?a.rowDivs_.indexOf(b):-1};TS.prototype.handleClick_=function(a){var b=sAc(this,a.target);0<=b&&this.dispatchEvent({type:"select",row:this.rows_[b].id});a.stopPropagation()};TS.prototype.handleMouseDown_=function(a){a.stopPropagation();a.preventDefault()};
TS.prototype.handleMouseOver_=function(a){a=sAc(this,a.target);0<=a&&!(300>Date.now()-this.startRenderingRows_)&&this.dispatchEvent({type:"hilite",row:this.rows_[a].id})};var US=function(a,b,c,d,e,g,h,l,q,v){g=g||new KS(",;",'"');h=new TS(h||null,q||this,v);h.reposition_=!0;h.className=b;h.highlightAllTokens_=!0;JS.call(this,this,h,g);this.inputHandler_=this.selectionHandler_;this.inputHandler_.ac_=this;this.contactStore_=a;this.addressBookId_=c;this.filter_=d||null;this.maxMatches_=e||15;this.ownsContactStore_=!!l};Ns(US,JS);
var uAc=function(a,b,c,d,e,g,h){b=new US(null,b,void 0,g,c,d,e,void 0,void 0,h);TD(a);Ls(tAc,null,b,!0);throw Error("Kd");},vAc=function(a,b,c,d,e,g,h){b=new US(null,b,void 0,g,c,d,e,void 0,void 0,h);c=tAc;e=a.getClientInfo();d=(g=Tj(e,10)||Tj(a.getExperiments(),5,!0))?new mxc(void 0,kxc(a)):new xS(void 0,kxc(a));h=hr(new rwc(a,1));var l=a.getUserInfo().getEnvType()||1;var q=Cyc.get(l)||4;q=iMa("people-pa",void 0===q?0:q);l=4===l?U(a.getClientInfo(),2)||"":U(a.getClientInfo(),1)||"";var v=U(a.getClientInfo(),
4),x=U(a.getClientInfo(),5),A=U(a.getClientInfo(),6)||"",G=a.getClientInfo().getAffinityType()||"",M=Z(a.getUserInfo(),2),Q=a.getAuthErrorHandler(),Y=Rh(a.getClientInfo(),8,3E4),W=Tj(a.getClientInfo(),17,!1);h=new syc(h,q,l,v,x,A,G,M,Y,Q,Rh(a.getClientInfo(),13,15),Rh(a.getClientInfo(),14,500),U(a.getClientInfo(),15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),U(a.getClientInfo(),16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),a.getExperiments(),
W);a=new Fyc(h,$uc(a));h=new Myc(a);h.configure(null,"Personal Contacts");d.addAddressBook(h,!0);g&&(a=new Hxc(a,null,!!Tj(e,11)),a.configure(null,"Domain Contacts"),d.addAddressBook(a,!0));c(b,!0,d);return b},tAc=function(a,b,c){b&&c.loadContactRows(Dvc,function(){});wAc(a,c)};US.prototype.disposeInternal=function(){this.inputHandler_.dispose();this.contactStore_&&this.ownsContactStore_&&Ah(this.contactStore_);US.superClass_.disposeInternal.call(this)};
var wAc=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)};f=US.prototype;f.savedQuery_=null;f.savedHandler_=null;f.inputHandler_=null;f.includeGroups_=!0;f.isRowDisabled=function(a){return!!a.rowDisabled};
f.requestMatchingRows=function(a,b,c){a={token:a,maxMatches:b,includeContacts:!0,includeGroups:this.includeGroups_,matchType:1,matchFieldList:Bvc,addressBookId:this.addressBookId_,filter:this.filter_,isAutoCompleteMode:!0,isContactAutoComplete:!!this.returnFullContacts,includeEvergreenData:!1};b=Ls(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,
b)):(this.savedQuery_=a,this.savedHandler_=b);else{c=new cvc;var d=[];this.filter_&&(d=this.filter_(d,a.token));a=Ms(b,d,c,null,a);c.setResponse(a)}};f.handleAutoCompleteContacts_=function(a,b,c,d,e){a(e.token,b)};f.renderRows=function(a,b){US.superClass_.renderRows.call(this,a,b)};f.dismiss=function(){US.superClass_.dismiss.call(this)};
f.renderRow=function(a,b,c){b=b={displayName:a.data.text,newSection:!!(a.data.flags&1)};a=b.displayName;b=b.newSection;(a=Fq('<div class="'+Iq("goog-contacts-ui-autocomplete-name-nochat")+(b?" "+Iq("goog-contacts-ui-autocomplete-new-section"):"")+'">'+Jq(a)+"</div>"))&&a.renderElement&&c?a.renderElement(c):(a=BMa(a),CMa(c,a))};f.selectHilited=function(){var a=szc(this,this.hiliteId_);return-1!=a&&(a=this.rows_[a],a.specialRowHandler)?(a.specialRowHandler(),!0):US.superClass_.selectHilited.call(this)};
f.fireSelectionEvent=function(a){this.dispatchEvent(new xAc(a))};var xAc=function(a){SB.call(this,"k");this.row=a};Ns(xAc,SB);CJb("createAutoComplete",function(a,b,c,d,e,g,h,l,q,v){d&&(b=b+d+"/");b=Nyc(TD(b));g&&b.loadContactRows(Dvc,function(){});c=new US(b,c,void 0,q,e,l,v,!0);c.attachInputs(cC(document,a));return c});var VS=function(){this.eventHandler_=new uq(this);VS.prototype.addInput=VS.prototype.addInput;VS.prototype.removeInput=VS.prototype.removeInput;VS.prototype.setTarget=VS.prototype.setTarget},yAc=function(a,b){var c=new VS;c.create(a,b);return c};f=VS.prototype;
f.create=function(a,b){a=cC(document,a);this.acWidget_=b.contactStoreConfig?vAc(b.contactStoreConfig,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign):uAc(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(ba,d.target.getTarget())});
this.addInput(a)};f.dispose=function(){wpa(this.acWidget_,this.eventHandler_)};f.setTarget=function(a){this.acWidget_.setTarget(a)};f.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)};f.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)};f.acWidget_=null;
ba._EmailAc_create=yAc;var zAc=function(a,b){return new Xo("/",a,void 0,void 0,void 0,void 0,b)};Xo.prototype.setLocale=function(){};var AAc=function(a){this.params=a;this.pendingInputs=new Set;this.emailac=null};AAc.prototype.setTarget=function(a){this.emailac&&this.emailac.setTarget(a)};
Xo.prototype.initAutocomplete=function(a){if(this.emailAcInitialized_)throw Error("Sd");this.emailAcInitialized_=!0;this.commonAcParams_=a||{};for(var b in this.acWrappers_)BAc(this,this.acWrappers_[b]);this.focusedElement_&&(a=xa(this.focusedElement_),(a=this.inputToAcWrapper_[a])&&a.setTarget(this.focusedElement_));for(var c in this.acWrappers_)for(a=[].concat(cd(this.acWrappers_[c].pendingInputs.values())),b=1;b<a.length;b++)YB(a[b],"focus",this.onTargetFocus_,!1,this)};
var BAc=function(a,b){var c=b.params;c.serverBase=a.serverBase_;c.onComplete=Ls(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(cd(b.pendingInputs.values()));b.emailac=yAc(a[0],c);for(c=1;c<a.length;c++)b.emailac.addInput(a[c]);b.pendingInputs.clear()};f=Xo.prototype;
f.attachAutocomplete=function(a,b,c){a=cC(document,a);var d=b||{};b=xa(a);this.onAcCompleteListeners_[b]=c;c="";for(var e in d)c+=e+"="+d[e]+";";e=this.acWrappers_[c];e||(e=new AAc(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_?BAc(this,e):So(a,"focus",this.onTargetFocus_,!1,this))};f.onTargetFocus_=function(a){this.focusedElement_=a.target;this.emailAcInitialized_||this.initAutocomplete()};
f.onCompleteCallback_=function(a){var b=this.onAcCompleteListeners_[xa(a)];b&&b(a)};f.detachAutocomplete=function(a){a=cC(document,a);YB(a,"focus",this.onTargetFocus_,!1,this);var b=xa(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])};f.attachAutocompleteTo=function(a,b){this.initAutocomplete(b);this.attachAutocomplete(a,b)};CJb("goog.NewContactTools",Xo);
CJb("goog.NewContactTools.create",zAc);Xo.prototype.setLocale=Xo.prototype.setLocale;Xo.prototype.attachAutocompleteTo=Xo.prototype.attachAutocompleteTo;Xo.prototype.initAutocomplete=Xo.prototype.initAutocomplete;Xo.prototype.attachAutocomplete=Xo.prototype.attachAutocomplete;Xo.prototype.detachAutocomplete=Xo.prototype.detachAutocomplete;var GMa=function(a){this.rows_=a||[]};GMa.prototype.requestMatchingRows=function(a,b,c){var d=this.rows_;var e=[];if(""!=a)for(var g=new RegExp("(^|\\W+)"+zn(a),"i"),h=0;h<d.length&&e.length<b;h++){var l=d[h];String(l).match(g)&&e.push(l)}0==e.length&&(e=CAc(a,b,d));c(a,e)};
var FMa=function(a,b,c){return CAc(b,c,a.rows_)},CAc=function(a,b,c){for(var d=[],e=0;e<c.length;e++){var g=c[e],h=a.toLowerCase(),l=String(g).toLowerCase(),q=0;if(-1!=l.indexOf(h))q=parseInt((l.indexOf(h)/4).toString(),10);else for(var v=h.split(""),x=-1,A=10,G=0,M;M=v[G];G++)M=l.indexOf(M),M>x?(x=M-x-1,x>A-5&&(x=A-5),q+=x,x=M):(q+=A,A+=5);q<6*h.length&&d.push({str:g,score:q,index:e})}d.sort(function(Q,Y){var W=Q.score-Y.score;return 0!=W?W:Q.index-Y.index});a=[];for(G=0;G<b&&G<d.length;G++)a.push(d[G].str);
return a};var WS=function(a,b,c,d,e){var g=this;this.activeSession=c;this.firstPartyAuthHelper=e;this.contactTools=null;this.subscription=new D.Subscription;this.acReadyDeferred=Yl();if(a.gapi){var h=a.gapi;h.load("client",function(){h.config.update("googleapis.config/auth/useFirstPartyAuth",!0);h.config.update("googleapis.config/auth/useFirstPartyAuthV2",!0);var l="QA"===g.activeSession.getEnvironmentType();l&&h.config.update("googleapis.config/root-1p","https://content-googleapis-test.sandbox.google.com");
var q="0",v=/\/u\/(\d+)\//.exec(b.absUrl());v&&(q=v[1]);h.config.update("googleapis.config/sessionIndex",q);g.acReadyDeferred.resolve(void 0);g.contactTools=d.create(l,function(){Suc(g.firstPartyAuthHelper)});g.contactTools.initAutocomplete()})}};WS.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};
WS.prototype.attach=function(a,b,c){var d=this,e=function(h,l){return HMa(h,l,d.activeSession.getUserEmail(),c)},g=new D.Subscription;this.acReadyDeferred.promise.then(function(){d.contactTools&&(d.contactTools.attachAutocomplete(a,{ac2:!0,groups:!0,extendedInterface:!1,filter:e,cacheBusting:[c]},b),g.add(function(){var h;null==(h=d.contactTools)||h.detachAutocomplete(a)}))});return g};WS.\u0275fac=function(a){return new (a||WS)(t(qF),t(PH),t(Bs),t(XS),t(dS))};
WS.\u0275prov=yc({token:WS,factory:WS.\u0275fac,providedIn:"root"});var XS=function(){};XS.prototype.create=function(a,b){var c=new fS,d=c.getUserInfo();V(d,6,a?5:1);a=c.getExperiments();a=Vj(a,5,!0);a=Vj(a,1,!0);a=Vj(a,3,!0);Vj(a,2,!0);c.setAuthErrorHandler(b);return zAc("xapi",c)};XS.\u0275fac=function(a){return new (a||XS)};XS.\u0275prov=yc({token:XS,factory:XS.\u0275fac,providedIn:"root"});var YS=function(a,b,c,d){rF.call(this);this.element=a;this.accessPolicyConverter=b;this.focusContacts=c;this.activeSession=d;this.autocompleteActive=new kw;this.additionalContactsCallback=function(){return[]};this.$element=this.element.nativeElement};T(YS,rF);
YS.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-"+mv());if(!this.activeSession.isAnonymous()){if("SINGLE"===this.fieldType)var b=function(){a.$element.value=DAc(EAc(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=[],g=a.$element,h=k(g.value.split(",")),l=h.next();!l.done;l=h.next())d+=l.value.trim(),d.match(/^[a-z0-9@\-\._\+]+$/i)?(e.push(DAc(d)),d=""):Ruc.test(d)?(e.push(d),d=""):d.match(/(".+" )?<.+>/)&&(d=DAc(EAc(d)),e.push(d),d="");g.value=e.join(", ")+", ";a.autocompleteActive.emit(!1);a.$element.dispatchEvent(new Event("change"));a.$element.dispatchEvent(new Event("input"))};else throw Error("Td`"+
this.fieldType);var c=this.additionalContactsCallback();c=FAc(c);this.subscriptions.add(this.focusContacts.attach(this.$element,b,c))}};
var GAc=function(a){(0,D.timer)(150).pipe(af(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)})},FAc=function(a){return a.map(function(b){return{text:b.text,getEmail:function(){return b.text},toString:function(){return b.id},getPriority:function(){}}})},EAc=function(a){var b=Math.max(0,a.lastIndexOf("<"));return a.substr(b).trim().replace(/[<>]/g,"")},DAc=function(a){a=
a.trim();","===oa(a)&&(a=a.slice(0,-1));a=En(a);var b=a.split("@");return 2===b.length?b[0]+"@"+b[1].toLowerCase():a};YS.\u0275fac=function(a){return new (a||YS)(B(Dd),B($R),B(WS),B(Bs))};
YS.\u0275dir=Sc({type:YS,selectors:[["","bContactAutocomplete",""]],hostBindings:function(a,b){a&1&&L("keydown",function(){return GAc(b)},!1,Gd)("mousedown",function(){return GAc(b)})},inputs:{fieldType:["bContactAutocomplete","fieldType"],additionalContactsCallback:"additionalContactsCallback"},outputs:{autocompleteActive:"autocompleteActive"},features:[kf]});var ZS=function(){};ZS.\u0275fac=function(a){return new (a||ZS)};ZS.\u0275mod=Qc({type:ZS});ZS.\u0275inj=zc({imports:[OG]});var HAc=["textarea"],IAc=["hiddenInput"],JAc=["autocompleteUnderlay"],KAc=Symbol(),$S=function(a,b,c){rF.call(this);this.codefont=a;this.activeSession=b;this.window=c;this.textareaClass=[];this.disabled=!1;this.contentChange=new kw;this.focus=new kw;this.blur=new kw;this.autoResize=new kw;this.manualResize$=new kw;this.autocompleteUserName="";this.scrollPosition=this.autocompleteLeft=this.autocompleteTop=0;this.taggingInProgress=!1;this.wordInfo={wordStart:0,wordEnd:0,word:""};this.textAreaLastAtSymbolLocation=
this.textAreaLastCursorLocation=0};T($S,rF);$S.\u0275dir=rF.\u0275dir;$S.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.codefont.codefont$.subscribe(function(b){b?Yo(a).classList.add("codefont"):Yo(a).classList.remove("codefont")}))};$S.prototype.ngOnDestroy=function(){rF.prototype.ngOnDestroy.call(this);this.focus.complete();this.blur.complete();this.manualResize$.complete()};$S.prototype.setValue=function(a){Yo(this).value!==a&&(Yo(this).value=a,this.manualResize$.next())};
$S.prototype.getValue=function(){return Yo(this).value};var Yo=function(a){return a.textareaRef.nativeElement},Zo=function(a){var b;return null==(b=a.hiddenInputRef)?void 0:b.nativeElement},IMa=function(a){return a.activeSession.isInternalSession()&&"INTERNAL_AUDIENCE"===a.audience},LAc=function(a){var b;return null==(b=a.autocompleteUnderlayRef)?void 0:b.nativeElement},MAc=function(a){var b=Yo(a).selectionStart;a.wordInfo=a.findWord(a.getValue(),b)};
$S.prototype.findWord=function(a,b){var c=a.slice(0,b).search(/(?!(.*\s))/);b+=a.slice(b).search(/(\s|$)/);a=a.slice(c,b);return{wordStart:c,wordEnd:b,word:a}};
var NAc=function(a){return"ArrowDown"===a.key||"ArrowUp"===a.key||"Enter"===a.key||"Escape"===a.key||"Tab"===a.key},OAc=function(a){var b=LAc(a);a=Yo(a);b&&a&&(b.scrollTop=a.scrollTop)},JMa=function(a){a.taggingInProgress=!1;a.autocompleteUserName=""},KMa=function(a,b){b=void 0===b?!1:b;var c=Yo(a),d=Yo(a).value,e,g=null==(e=Zo(a))?void 0:e.value;e=null==g?void 0:g.length;MAc(a);var h=a.wordInfo.word,l=d.slice(0,a.textAreaLastAtSymbolLocation+1);d=h.slice(1)===g?d.slice(a.textAreaLastAtSymbolLocation+
g.length+1):d.slice(a.textAreaLastCursorLocation);e&&(a.textAreaLastCursorLocation=l.length+e);b?(b=l+g+" "+d,a.textAreaLastCursorLocation+=1):b=l+g+d;c.value=b};$S.prototype[KAc]=function(){return this.findWord};$S.\u0275fac=function(a){return new (a||$S)(B(bP),B(Bs),B(qF))};
$S.\u0275cmp=Oc({type:$S,selectors:[["b-comment-draft-textarea"]],viewQuery:function(a,b){a&1&&(bg(HAc,7),bg(IAc,5),bg(JAc,5));if(a&2){var c;ag(c=dg())&&(b.textareaRef=c.first);ag(c=dg())&&(b.hiddenInputRef=c.first);ag(c=dg())&&(b.autocompleteUnderlayRef=c.first)}},hostBindings:function(a,b){a&1&&L("click",function(){JMa(b)},!1,Pfa)("keyup",function(c){var d=c.key;c=c.target.classList.contains("autocomplete-hidden-input");"Escape"===d&&c&&(JMa(b),Yo(b).focus())},!1,Pfa)},inputs:{textareaClass:"textareaClass",
disabled:"disabled",placeholder:"placeholder",idForAriaLabel:"idForAriaLabel",audience:"audience"},outputs:{contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize"},features:[kf],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&&(F(0,
"div",0,1),L("keydown",function(c){"Escape"===c.key&&(JMa(b),Yo(b).focus())}),F(2,"textarea",2,3),L("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(IMa(b)&&NAc(c)&&b.taggingInProgress){null==c||c.preventDefault();var d;null==(d=Zo(b))||d.focus();d=c.code;var e=c.key,g=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:g,which:"Enter"===e?9:h});var l;null==(l=Zo(b))||l.dispatchEvent(c)}})("keyup",function(c){if(IMa(b)){var d=Yo(b),e=null==d?void 0:d.value;b.textAreaLastCursorLocation=d.selectionStart;b.textAreaLastAtSymbolLocation=e.slice(0,b.textAreaLastCursorLocation).lastIndexOf("@");if(!NAc(c)){c=c.target;b.scrollPosition=c.scrollTop;MAc(b);var g=b.wordInfo.word;d="@"===g;e=g.startsWith("@");var h=g.slice(g.length-
1).match(/[a-z]/i);g=bBa.test(g.slice(1));if(d||e&&h&&!g){c=c.selectionStart;if(!b.taggingInProgress){if(d=LAc(b)){d.textContent=b.getValue();e=LAc(b);h=Yo(b);g="height width font-family margin line-height padding border".split(" ");if(e&&h){h=b.window.getComputedStyle(h);g=k(g);for(var l=g.next();!l.done;l=g.next()){l=l.value;var q=h.getPropertyValue(l);e.style.setProperty(l,q)}}OAc(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 v;null==(v=Zo(b))||v.dispatchEvent(new KeyboardEvent("keydown"))}}}})("scroll",function(){return OAc(b)}),H(),F(4,"span",4),O(5,LMa,2,1,"input",5),H(),O(6,MMa,2,0,"div",6),H());a&2&&(z(2),E("autoResize",b.manualResize$)("ngClass",
b.textareaClass)("disabled",b.disabled),of("placeholder",b.placeholder)("id",b.idForAriaLabel),z(2),wf("top",b.autocompleteTop+"px")("left",b.autocompleteLeft+"px"),z(1),E("ngIf",b.taggingInProgress),z(1),E("ngIf",IMa(b)))},dependencies:[Pw,Rw,YS,ZR],encapsulation:2,changeDetection:0});var PAc=function(a){return{"draft-markdown":a}},aT=function(a,b,c){rF.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()}};T(aT,rF);aT.\u0275dir=rF.\u0275dir;aT.prototype.ngOnInit=function(){this.subscriptions.add(this.events.commentSubmitted.subscribe(this.onCommentSubmitted))};
aT.prototype.synchronizeHeight=function(a){this.ref.nativeElement.querySelector("mat-tab-group").style.height=a+56+"px"};aT.\u0275fac=function(a){return new (a||aT)(B(AI,2),B(Dd),B(eH))};
aT.\u0275cmp=Oc({type:aT,selectors:[["b-comment-draft-tab-group"]],viewQuery:function(a,b){a&1&&bg(RN,7);if(a&2){var c;ag(c=dg())&&(b.matTabGroup=c.first)}},inputs:{editArea:"editArea",previewArea:"previewArea",previewDisabled:"previewDisabled"},features:[Of([AI]),kf],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&&(F(0,"mat-tab-group",
0),L("animationDone",function(){setTimeout(b.render,2E3)})("selectedIndexChange",function(c){return b.selectedIndex=c}),F(1,"mat-tab",1),O(2,NMa,1,0,"ng-container",2),H(),F(3,"mat-tab",3),O(4,OMa,1,0,"ng-container",2),H()());a&2&&(E("dynamicHeight",!1)("selectedIndex",b.selectedIndex),z(2),E("ngTemplateOutlet",b.editArea),z(1),E("disabled",b.previewDisabled),z(1),E("ngTemplateOutlet",b.previewArea))},dependencies:[Ww,RN,QN],styles:["[_nghost-%COMP%]     mat-tab-header{margin-left:8px;margin-bottom:16px}/*# sourceMappingURL=comment_draft_tab_group.css.map */"],
changeDetection:0});var bT=function(a,b,c,d){rF.call(this);this.codefont=a;this.ngZone=b;this.prefs=c;this.hotkeys=d;this.isMarkdown$=this.prefs.lastPublishMode$.pipe(C(function(e){return e===V8b}));this.idPrefix="b-draft";this.content="";this.textareaClass=[];this.disabled=!1;this.audience="EXTERNAL_AUDIENCE";this.init=new kw;this.contentChange=new kw;this.focus=new kw;this.blur=new kw;this.autoResize=new kw;this.onSubmit=new kw};T(bT,rF);bT.\u0275dir=rF.\u0275dir;
bT.prototype.ngOnChanges=function(){this.commentDraftTextarea&&this.commentDraftTextarea.setValue(this.content)};
bT.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 QAc=function(a){a.ngZone.run(function(){if(a.commentDraftTabGroup){var b=a.commentDraftTabGroup;b.selectedIndex=0;b.render()}a.commentDraftTextarea&&Yo(a.commentDraftTextarea).focus()})};bT.prototype.synchronizeHeight=function(a){this.commentDraftTabGroup&&this.commentDraftTabGroup.synchronizeHeight(a.newHeight)};bT.\u0275fac=function(a){return new (a||bT)(B(bP),B(df),B(VJ),B(fN))};
bT.\u0275cmp=Oc({type:bT,selectors:[["b-comment-draft"]],viewQuery:function(a,b){a&1&&(bg($S,5),bg(aT,5));if(a&2){var c;ag(c=dg())&&(b.commentDraftTextarea=c.first);ag(c=dg())&&(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:[kf,
gd],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&&(F(0,"b-comment-draft-textarea",0),L("autoResize",function(c){return b.synchronizeHeight(c)})("keydown.control.enter",function(){b.hotkeys.isEnabled()&&b.onSubmit.emit()})("keydown.meta.enter",function(){b.hotkeys.isEnabled()&&b.onSubmit.emit()}),R(1,"async"),H());a&2&&E("textareaClass",b.textareaClass)("ngClass",
Rf(8,PAc,S(1,6,b.isMarkdown$)))("disabled",b.disabled)("placeholder",b.placeholder)("idForAriaLabel",b.idForAriaLabel)("audience",b.audience)},dependencies:[Pw,$S,Xw],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 RAc=["captchaContainer"],cT=function(a,b,c,d,e){this.ngZone=a;this.window=b;this.darkmodeService=c;this.appEvents=d;this.analytics=e;this.onUpdate=new kw;this.destroyed$=new D.ReplaySubject(1)};cT.prototype.ngOnInit=function(){var a=this;this.appEvents.recaptchaSubmitted.pipe(af(this.destroyed$)).subscribe(function(){a.reset();a.onUpdate.emit("")})};
cT.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);a.analytics.trackEvent(ao.RECAPTCHA_TOKEN,"create")})},"expired-callback":function(){a.ngZone.run(function(){a.onUpdate.emit("");a.analytics.trackEvent(ao.RECAPTCHA_TOKEN,
"expire")})},theme:d?"dark":"light"})})};cT.prototype.ngOnDestroy=function(){this.reset();this.destroyed$.next()};cT.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)})}};cT.\u0275fac=function(a){return new (a||cT)(B(df),B(qF),B(XQ),B(eH),B(EI))};
cT.\u0275cmp=Oc({type:cT,selectors:[["b-recaptcha"]],viewQuery:function(a,b){a&1&&bg(RAc,5);if(a&2){var c;ag(c=dg())&&(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 dT=function(a){this.matDialog=a};dT.prototype.show=function(a,b,c){this.dialog=this.matDialog.open(eT,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{issueId:a,audience:b,id:null!=c.unlinkifiedComment?c.commentNumber:1,text:c.unlinkifiedComment||"",formattingMode:c.formattingMode||"PLAIN"}});return(0,D.firstValueFrom)($A(this.dialog))};dT.\u0275fac=function(a){return new (a||dT)(t(eB))};dT.\u0275prov=yc({token:dT,factory:dT.\u0275fac,providedIn:"root"});
var eT=function(a,b,c,d,e){rF.call(this);var g=this;this.activeSession=a;this.origComment=b;this.dialogService=c;this.dialogRef=d;this.MARKDOWN="MARKDOWN";this.contentRemovalRequestLink=this.activeSession.isInternalSession()?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202";this.enableRecaptcha=pF(this.activeSession,"enableRecaptcha");this.recaptchaResponse="";this.newComment=Object.assign({},this.origComment);this.subscriptions.add(yQ(e,
function(){return g.isModified()},!1))};T(eT,rF);eT.\u0275dir=rF.\u0275dir;f=eT.prototype;f.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(af(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(af(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};f.closeIfUnmodified=function(){if(!this.isModified()){var a;null==(a=this.dialogService.dialog)||a.close()}};
f.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};f.isModified=function(){return!Xh(this.newComment,this.origComment)};f.closeDialogForSave=function(){if(this.isModified()){this.enableRecaptcha&&(this.newComment.recaptchaToken=this.recaptchaResponse);var a;null==(a=this.dialogService.dialog)||a.close(this.newComment)}};eT.\u0275fac=function(a){return new (a||eT)(B(Bs),B(dB),B(dT),B(bB),B(xQ))};
eT.\u0275cmp=Oc({type:eT,selectors:[["ng-component"]],features:[kf],decls:18,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"content","audience","contentChange","onSubmit"],[1,"inline-block",3,"initialValue","change"],[3,"comment","issueId","audience","formattingMode",4,"ngIf"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-flat-button","",1,"gmat-button",3,"disabled",
"click"],[3,"comment","issueId","audience","formattingMode"],[1,"recaptcha-container"],[3,"onUpdate"]],template:function(a,b){a&1&&(F(0,"h1",0),P(1),H(),F(2,"section",1)(3,"p",2),P(4," Editing comments will not permanently remove old ones from database history. "),I(5,"br"),P(6," For deletion of PII or other sensitive content, please "),F(7,"a",3),P(8," file a support request."),H()(),F(9,"b-comment-draft",4),L("contentChange",function(c){return b.newComment.text=c})("onSubmit",function(){return b.closeDialogForSave()}),
H(),F(10,"b-markdown-toggle",5),L("change",function(c){return b.newComment.formattingMode=c}),H(),O(11,PMa,1,4,"b-live-preview",6),H(),O(12,QMa,3,0,"section",7),F(13,"footer",8)(14,"button",9),P(15," Cancel "),H(),F(16,"button",10),L("click",function(){return b.closeDialogForSave()}),P(17," Save "),H()());a&2&&(z(1),Nf("Editing Comment #",b.origComment.id," of Issue ",b.origComment.issueId,""),z(6),E("href",b.contentRemovalRequestLink,Ud),z(2),E("content",b.newComment.text)("audience",b.origComment.audience),
z(1),xf("margin-bottom",(null==b.newComment?null:b.newComment.formattingMode)!==b.MARKDOWN),E("initialValue",b.origComment.formattingMode),z(1),E("ngIf",(null==b.newComment?null:b.newComment.formattingMode)===b.MARKDOWN),z(1),E("ngIf",b.enableRecaptcha),z(2),E("mat-dialog-close",void 0),z(2),E("disabled",!b.isModified()||!b.isCaptchaValid()))},dependencies:[fB,gB,hB,iB,Rw,QA,vP,uP,bT,cT],styles:[".recaptcha-container[_ngcontent-%COMP%]{float:right;padding-top:8px}\n/*# sourceMappingURL=edit_comment_dialog.css.map */"],
changeDetection:0});var fT=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da,Oa,Ta){this.editIssueService=a;this.butterBar=b;this.issuePermissionService=c;this.issueCommentService=d;this.editCommentDialogService=e;this.issueFridge=g;this.matDialogService=h;this.paths=l;this.analytics=q;this.domSafe=v;this.confirmationDialogService=x;this.issueComments=A;this.errorHandler=G;this.issueFetchResponseFridge=M;this.eventsForIssueFridge=Q;this.componentFridge=Y;this.commentFormatter=W;this.confirmNoAccessService=ia;this.activeSession=
ja;this.appEvents=Aa;this.issuePicker=Da;this.eventsForIssueWatcher=Oa;this.issueInteractionsTracking=Ta},qs=function(a,b,c){var d,e,g,h;return pe(function(l){if(1==l.nextAddress){d=a.editIssueService.savingState(b);if(d.get("commentEdit"))return l.return();a.butterBar.dismiss();g=null!=(e=a.issuePermissionService.audience())?e:"EXTERNAL_AUDIENCE";return l.yield(a.editCommentDialogService.show(b,g,c),2)}h=l.yieldResult;if(null==h)return l.return();Yrc(a.issueCommentService,{issueId:b,newCommentId:h.id,
newComment:h.text,newCommentFormattingMode:h.formattingMode,recaptchaToken:h.recaptchaToken});ue(l)})},TAc=function(a,b,c){var d,e,g;return pe(function(h){if(1==h.nextAddress)return c?h.yield(SAc(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"},h.yield(a.issuePicker.open(d),3);e=h.yieldResult;if(null==(g=e)?0:g.length){var l=a.paths.editIssue(e[0],{template_issue:b,
template_comment:c,do_attribution:!0});a.analytics.trackEvent(ao.EDIT_ISSUE,"copyComment");a.domSafe.openInNewTab(l)}ue(h)})},SAc=function(a,b){function c(ia){return A.get(ia)}var d,e,g,h,l,q,v,x,A,G,M,Q,Y,W;return pe(function(ia){if(1==ia.nextAddress)return ia.yield((0,D.firstValueFrom)(a.issueFridge.watch(b)),2);if(3!=ia.nextAddress){d=ia.yieldResult;if(!d)return ia.return([]);g=null!=(e=d.snapshot[0].duplicateIssueId)?e:[];l=null!=(h=d.snapshot[0].blockingIssueId)?h:[];v=null!=(q=d.snapshot[0].blockedByIssueId)?
q:[];return ia.yield((0,D.firstValueFrom)(a.issueFridge.watchSet(Al([].concat(cd(g),cd(l),cd(v))))),3)}x=ia.yieldResult;A=new Map(x.map(function(ja){return[ja.issueId,ja]}));G=v.map(c).filter(Ai).map(RMa("BLOCKED_BY"));M=l.map(c).filter(Ai).map(RMa("BLOCKING"));Q=g.map(c).filter(Ai).map(RMa("DUPLICATE"));Y=[].concat(cd(G),cd(M),cd(Q));W=SMa(Y);return ia.return(W)})},VAc=function(a,b,c){var d;return pe(function(e){return 1==e.nextAddress?c?e.yield(QJ(a.confirmationDialogService,{title:"Restore comment # "+
c+"?",content:yn("Are you sure you want to restore this comment?")}),2):e.return():(d=e.yieldResult)?e.yield(UAc(a,b,c),0):e.return()})},UAc=function(a,b,c){var d,e;return pe(function(g){switch(g.nextAddress){case 1:d=a.editIssueService.savingState(b);if(d.get("commentUndelete"))return g.return();YG(a.butterBar,"Restoring comment...",0);qe(g,2,3);NK(d,"commentUndelete");return g.yield(a.issueComments.undelete(b,c),5);case 5:YG(a.butterBar,"Comment restored successfully.");case 3:re(g);OK(d,"commentUndelete");
OI(a.issueFetchResponseFridge,b);a.eventsForIssueFridge.poke(b);se(g,0);break;case 2:e=te(g),YG(a.butterBar,"Comment restoration failed."),cH(a.errorHandler,e),g.jumpTo(3)}})},YAc=function(a,b,c,d){var e,g,h,l;return pe(function(q){if(1==q.nextAddress){if(!c)return q.return();e=a.editIssueService.savingState(b);return e.get("commentDelete")?q.return():q.yield(WAc(a,b),2)}return 3!=q.nextAddress?(g=q.yieldResult,a.butterBar.dismiss(),q.yield((0,D.firstValueFrom)($A(a.matDialogService.open(Src,{width:"560px",
data:{commentNumber:c,issueId:b,deletionReasons:g}}))),3)):(h=q.yieldResult)?q.yield(XAc(a,b,c,h.value,null!=(l=d)?l:""),0):q.jumpTo(0)})},XAc=function(a,b,c,d,e){var g,h;return pe(function(l){switch(l.nextAddress){case 1:g=a.editIssueService.savingState(b);if(g.get("commentDelete"))return l.return();qe(l,2,3);YG(a.butterBar,"Deleting comment...",0);NK(g,"commentDelete");return l.yield(a.issueComments.delete(b,c,d,e),5);case 5:YG(a.butterBar,"Comment deleted. Deleted items may be restored within 30 days."),
a.eventsForIssueFridge.poke(b);case 3:re(l);OK(g,"commentDelete");OI(a.issueFetchResponseFridge,b);se(l,0);break;case 2:h=te(l),YG(a.butterBar,"Comment deletion failed."),cH(a.errorHandler,h),l.jumpTo(3)}})},WAc=function(a,b){var c,d,e,g,h,l,q,v;return pe(function(x){switch(x.nextAddress){case 1:return x.yield((0,D.firstValueFrom)(a.issueFridge.watch(b,{trustUncertainMemory:!0})),2);case 2:c=x.yieldResult;e=(null==(d=c)?void 0:d.snapshot[0].componentId)||void 0;if(!e){g=void 0;x.jumpTo(3);break}return x.yield((0,D.firstValueFrom)(a.componentFridge.watch(e)),
4);case 4:g=x.yieldResult;case 3:return h=g,l=new Puc("Other","USER_REQUEST"),h&&"DISABLED"!==h.commentEditState||(l.enabled=!1,l.disabledReason="comment editing must be enabled"),q=new Puc("Spam or Abuse","ABUSE"),"EXTERNAL_PUBLIC"!==a.issuePermissionService.accessLevel()&&(q.enabled=!1,q.disabledReason="available on Public components"),v=new Puc("Personally Identifiable Information","PII"),x.return([v,q,l])}})},ZAc=function(a,b,c){var d,e;return pe(function(g){if(1==g.nextAddress)return d=BK(a.issuePermissionService,
pi(c.userPerformingActionUser)),a.analytics.trackEvent(ao.RESTRICTED_CONTENT,"updateContentJudgement","comment"),g.yield(a.showContentJudgementDialog({severity:Gi(c.commentContentVerdict),resourcePath:"issues/"+b+"/comments/"+c.commentNumber,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||d}),2);if(e=g.yieldResult)c.commentContentVerdict={piiVerdict:{severity:e.contentJudgement.severity}},OI(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),LI(a.issueFridge,[b],{markRead:!0});
ue(g)})};fT.prototype.showContentJudgementDialog=function(a){return(0,D.firstValueFrom)($A(this.matDialogService.open(qR,{panelClass:"no-jitter",width:"500px",data:a})))};
var $Ac=function(a,b,c){var d;return pe(function(e){if(1==e.nextAddress)return e.yield((0,D.firstValueFrom)($A(a.matDialogService.open(rR,{width:"500px",data:{resource:b,piiRetention:c}}))),2);d=e.yieldResult;return e.return(1===d)})},aBc=function(a,b,c,d){var e;pe(function(g){if(1==g.nextAddress){if(null==d)return g.return();a.analytics.trackEvent(ao.RESTRICTED_CONTENT,"updateContentJudgement","attachment");return g.yield(a.showContentJudgementDialog({severity:Gi(d.contentVerdict),resourcePath:"issues/"+
b+"/attachments/"+d.attachmentId,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||c}),2)}if(e=g.yieldResult)d.contentVerdict={piiVerdict:{severity:e.contentJudgement.severity}},OI(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),LI(a.issueFridge,[b],{markRead:!0});ue(g)})};
fT.prototype.showDeleteAttachmentDialog=function(a,b){var c=this,d,e,g,h,l,q,v;pe(function(x){if(1==x.nextAddress){d=c.editIssueService.savingState(a);if(d.get("deleteAttachment")||!b.attachmentId)return x.return();e=D;g=e.firstValueFrom;h=c.matDialogService;l=h.open;q=Rrc;return x.yield(WAc(c,a),3)}return 2!=x.nextAddress?x.yield(g.call(e,$A(l.call(h,q,{width:"560px",data:{deletionReasons:x.yieldResult,attachmentId:b.attachmentId}}))),2):(v=x.yieldResult)?x.yield(Rhc(c.editIssueService,a,b,v.value),
0):x.jumpTo(0)})};
var bBc=function(a,b){var c=b.issueId,d=b.componentId,e=b.comment,g,h,l;return pe(function(q){if(1==q.nextAddress){if("INTERNAL"!==a.issuePermissionService.accessLevel()||a.issuePermissionService.hasAclToEdit()&&a.issuePermissionService.isImplicitAccessEnabled())return q.return(!0);qe(q,2);return q.yield((0,D.firstValueFrom)(Wnc(a.commentFormatter,{comment:e.value,issueId:c,audience:null!=(g=a.issuePermissionService.audience())?g:"EXTERNAL_AUDIENCE",formattingMode:e.formattingMode,idPrefix:"b"+c+
"-draft"})),4)}if(2!=q.nextAddress)return h=q.yieldResult,q.return(Tgc(a.confirmNoAccessService,{componentId:d,userEmails:h,relation:"reader",analyticsEventLabel:"mention"}));l=te(q);cH(a.errorHandler,l);return q.return(!1)})},cBc=function(a,b){b=void 0===b?"comment":b;var c,d;return pe(function(e){if((c=a.issuePermissionService.accessLevel())&&"INTERNAL"===c||a.issuePermissionService.hasAclToEdit()||a.activeSession.isInternalSession()||C9b(a.activeSession))return e.return(!0);switch(b){case "comment":d=
yn("Commenting on this bug report means your email address will be shared with the team that works on this product.");break;case "reaction":d=yn("Reacting to this comment means your email address will be shared with the team that works on this product.");break;default:Ch(b)}return e.return(QJ(a.confirmationDialogService,{title:"",content:d}))})};
fT.prototype.submitCommentBox=function(a,b){var c=this,d,e,g,h,l,q;return pe(function(v){if(1==v.nextAddress){d=c.editIssueService.issueCommentDraft(a).comment();e=c.editIssueService.savingState(a);g=c.editIssueService.editableIssue(a);if(!c.issuePermissionService.hasAclToComment()||!Ygc(d)||e.get("comment"))return v.return();NK(e,"comment");h=function(){OK(e,"comment")};return v.yield(bBc(c,{issueId:a,componentId:String(g.componentId),comment:d}),2)}if(3!=v.nextAddress)return l=v.yieldResult,l?v.yield(cBc(c),
3):(h(),v.return());q=v.yieldResult;if(!q)return h(),v.return();c.analytics.trackEvent(ao.EDIT_ISSUE,"addComment","MARKDOWN"===d.formattingMode?"markdown":"non markdown");lhc(c.issueInteractionsTracking,a);c.eventsForIssueWatcher.isPaused=!0;return v.return(c.editIssueService.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY.saveCommentDraft(a,b).finally(function(){h();c.appEvents.commentSubmitted.next(a);c.appEvents.scrollToCommentBox.next()}))})};
fT.prototype.showNewContentJudgementDialog=function(a){var b=this,c,d,e,g,h,l;return pe(function(q){if(1==q.nextAddress)return c=b.editIssueService.issueCommentDraft(a),d=c.judgementForNewContent(),h=null!=(g=null==(e=d)?void 0:e.severity)?g:"NONE_DETECTED",q.yield(b.showContentJudgementDialog({severity:h,contentJudgement:void 0,hasAclToCreate:!0}),2);(l=q.yieldResult)&&c.userDefinedJudgementForNewContent$.next(l.contentJudgement);ue(q)})};
fT.prototype.updateCommentReaction=function(a){var b=this,c;return pe(function(d){return 1==d.nextAddress?a.hasReacted?d.yield(cBc(b,"reaction"),3):d.jumpTo(2):2==d.nextAddress||(c=d.yieldResult,c)?d.return(b.issueComments.updateCommentReaction(a)):d.return(void 0)})};fT.\u0275fac=function(a){return new (a||fT)(t(QK),t(XG),t(CK),t(tR),t(dT),t(JI),t(eB),t(QH),t(EI),t(vL),t(PJ),t(nJ),t(aH),t(MI),t(nG),t(AG),t(tP),t(pK),t(Bs),t(eH),t(kQ),t(YR),t(yK))};
fT.\u0275prov=yc({token:fT,factory:fT.\u0275fac,providedIn:"root"});var gT=function(a,b,c){this.editIssueService=a;this.issuePicker=b;this.analytics=c},dBc=function(a,b){var c,d,e,g,h,l,q;return pe(function(v){if(1==v.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"},g=(new Date).getTime(),v.yield(a.issuePicker.open(e),2);h=v.yieldResult;if(null==(l=h)||!l.length)return c.status=
d,v.return();q=(new Date).getTime()-g;a.analytics.trackEvent(ao.ISSUE_PICKER,"duplicate duration","<"+Math.min(2*Math.ceil(q/2E3),600)+"s",q);a.analytics.trackEvent(ao.EDIT_ISSUE,"setCanonicalIssue");return v.return(Jhc(a.editIssueService,b,h[0]))})};gT.\u0275fac=function(a){return new (a||gT)(t(QK),t(kQ),t(EI))};gT.\u0275prov=yc({token:gT,factory:gT.\u0275fac,providedIn:"root"});var hT=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y){rF.call(this);this.activeSession=a;this.documentationLinks=b;this.domSafe=c;this.matDialogService=d;this.attachmentService=e;this.cdr=g;this.differs=h;this.paths=l;this.userAccess=q;this.butterBar=v;this.errorHandler=x;this.analytics=A;this.issueCommentDialogsService=G;this.issuePermissionService=M;this.editIssueService=Q;this.routeParams=Y;this.isInternalSession=this.activeSession.isInternalSession();this.hasViewAccess=!1;this.actionMenuItems=[];this.attachmentRetentionSaveInProgress=
!1};T(hT,rF);hT.\u0275dir=rF.\u0275dir;hT.prototype.ngOnInit=function(){this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create());var a;this.attachmentRetentionOverride=null==(a=this.attachment)?void 0:a.piiRetention;eBc(this);fBc(this)};hT.prototype.ngDoCheck=function(){this.attachmentDiffer&&this.attachmentDiffer.diff(this.attachment)&&(eBc(this),this.cdr.markForCheck())};
hT.prototype.ngOnChanges=function(a){this.setHasViewAccess();a.attachment&&this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create())};
var eBc=function(a){a.actionMenuItems=[];gBc(a)&&a.actionMenuItems.push({type:"action",action:function(){a.showDeleteAttachmentDialog()},label:"Delete attachment..."});hBc(a)&&a.actionMenuItems.push({type:"action",action:function(){Qhc(a.editIssueService,a.issueId,a.attachment)},label:"Restore attachment"});a.isInternalSession&&a.actionMenuItems.push({type:"action",action:function(){aBc(a.issueCommentDialogsService,a.issueId,a.attachmentUploader===a.activeSession.getUserEmail(),a.attachment)},label:"Restriction settings..."});
if(a.isInternalSession&&a.isRestricted()&&a.isActive()){var b="COMPONENT_DEFAULT"===a.attachmentRetentionOverride;a.actionMenuItems.push({type:"action",action:function(){var c=b?"INDEFINITE":"COMPONENT_DEFAULT";$Ac(a.issueCommentDialogsService,"attachment",c).then(function(d){d&&iBc(a,c)})},label:b?"Match issue retention...":"Revert to component retention..."})}};
hT.prototype.setHasViewAccess=function(){var a=this;this.isRestricted()?null==this.attachment?this.hasViewAccess=!1:(this.hasViewAccess=!1,MG(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b;a.cdr.detectChanges()})):this.hasViewAccess=!0};hT.prototype.getFilename=function(){var a;return(null==(a=this.attachment)?void 0:a.filename)||""};
hT.prototype.getSize=function(){var a;return(null==(a=this.attachment)?void 0:a.length)||0};var WMa=function(a,b){b=void 0===b?!0:b;var c;if(null==(c=a.attachment)||!c.attachmentId)throw Error("Ud");c=a.paths.getAttachmentAction(a.issueId,a.attachment.attachmentId);a=a.paths.getBaseUrl()+"/"+c;return CC(a,"download",b)};hT.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)};
hT.prototype.isRestricted=function(){return"NONE_DETECTED"!==this.getPiiSeverity()};hT.prototype.getPiiSeverity=function(){var a;return Gi(null==(a=this.attachment)?void 0:a.contentVerdict)};hT.prototype.getRestrictedLabel=function(){return Sqa(this.getPiiSeverity())};
var XMa=function(a){return(a=a.getPiiSeverity())?"bv2-restricted-content-limit-"+Rqa(a):""},VMa=function(a,b){a.analytics.trackEvent(ao.RESTRICTED_CONTENT,"viewRestrictedContent","attachment");a.matDialogService.open(dR,{width:"400px",data:{attachment:a.attachment,issueId:a.issueId,download:b}})},gBc=function(a){var b;if(null!=(b=a.attachment)&&b.attachmentId){b=a.issuePermissionService;var c=a.attachment;a=a.attachmentUploader;b=c?(c=c.entityStatus)&&"ACTIVE"===c.status?b.hasAclToAdmin()||BK(b,a)?
!0:!1:!1:!1}else b=!1;return b},hBc=function(a){var b;if(null!=(b=a.attachment)&&b.attachmentId){b=a.issuePermissionService;var c=a.attachment;a=a.attachmentUploader;b=c?(c=c.entityStatus)&&"DELETED"===c.status?b.hasAclToAdmin()||BK(b,a)?!0:!1:!1:!1}else b=!1;return b};hT.prototype.showDeleteAttachmentDialog=function(){var a;null!=(a=this.attachment)&&a.attachmentId&&this.issueCommentDialogsService.showDeleteAttachmentDialog(this.issueId,this.attachment)};
var iBc=function(a,b){var c;null!=(c=a.attachment)&&c.attachmentId?(a.analytics.trackEvent(ao.RESTRICTED_CONTENT,"updateRetention","attachment"),a.attachmentRetentionSaveInProgress=!0,a.attachmentService.updateRetention(a.issueId,a.attachment.attachmentId||0,b).pipe(af(a.destroyed$)).subscribe({next:function(d){a.attachmentRetentionSaveInProgress=!1;a.attachment&&(a.attachment.piiRetention=d.piiRetention,a.attachment.piiRetentionState=d.piiRetentionState);YG(a.butterBar,"Attachment retention updated",
4E3);a.attachmentRetentionOverride="INDEFINITE"===b?"INDEFINITE":"COMPONENT_DEFAULT";eBc(a);a.cdr.detectChanges()},error:function(){a.attachmentRetentionSaveInProgress=!1;bH(a.errorHandler,"Attachment retention update failed")}})):bH(a.errorHandler,"Attachment id is missing")},fBc=function(a){var b,c,d;pe(function(e){(b=Number(a.routeParams.downloadAttachment))&&b===(null==(c=a.attachment)?void 0:c.attachmentId)&&(d="true"===a.routeParams.download,VMa(a,d));ue(e)})};
hT.\u0275fac=function(a){return new (a||hT)(B(Bs),B(OJ),B(vL),B(eB),B(eR),B(AI,2),B(Ow),B(QH),B(LG),B(XG),B(aH),B(EI),B(fT),B(CK),B(QK),B(sK))};
hT.\u0275cmp=Oc({type:hT,selectors:[["b-attachment-viewer"]],inputs:{attachment:"attachment",issueId:"issueId",attachmentUploader:"attachmentUploader"},features:[Of([AI]),kf,gd],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&&(F(0,"div",0),I(1,"b-icon",1),H(),F(2,"div")(3,"div",2),P(4),F(5,"span",3),O(6,TMa,1,3,"b-restricted-chip",4),O(7,UMa,2,3,"span",5),H()(),F(8,"div"),P(9),O(10,YMa,2,8,"span",6),O(11,ZMa,2,8,"span",6),F(12,"xap-bubble",7),O(13,$Ma,3,3,"span",8),O(14,aNa,4,1,"ng-template",null,9,gg),H()()());if(a&2){var c=Kf(15);z(4);Lf(" ",b.getFilename()," ");z(2);E("ngIf",b.isRestricted());
z(1);E("ngIf",0<b.actionMenuItems.length);z(2);Lf(" ",mBa(b.getSize())," ");z(1);var d;a=b.isActive()&&nqa(null==(d=b.attachment)?void 0:d.contentType);E("ngIf",a);z(1);E("ngIf",b.isActive());z(1);E("panelTemplate",c);z(1);E("ngIf",b.isRestricted()&&!b.hasViewAccess)}},dependencies:[Rw,HB,VL,fR,dO,RA,lD,gR,LP],encapsulation:2,changeDetection:0});var iT=function(a,b,c){this.dialogRef=a;this.documentationLinks=b;this.data=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc"};iT.prototype.onNoClick=function(){this.dialogRef.close(!1)};iT.\u0275fac=function(a){return new (a||iT)(B(bB),B(OJ),B(dB))};
iT.\u0275cmp=Oc({type:iT,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&&(F(0,"h1",0),P(1),H(),F(2,"div",1)(3,"p"),P(4),F(5,"a",2),P(6," Learn More "),H()()(),F(7,"div",3)(8,"button",4),L("click",function(){return b.onNoClick()}),P(9," Cancel "),H(),F(10,"button",5),P(11," Confirm "),H()());a&2&&(z(1),Mf(b.data.title),z(3),Lf(" ",b.data.content," "),z(1),E("rel",b.EXTERNAL_LINK_REL),of("href",b.documentationLinks.getRestrictedAccessHelpLink(),Ud),z(5),E("mat-dialog-close",!0))},dependencies:[QA,fB,gB,hB,iB],encapsulation:2});var jT=function(a,b){this.dialog=a;this.documentationLinks=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.disabled=!1;this.onConfirm=new kw};
jT.prototype.openDialog=function(){var a=this;$A(this.dialog.open(iT,{width:"500px",data:{title:"Access Restricted Content",content:"You are about to access a comment marked as restricted.\n                    Access will be logged and audited. You must delete any\n                    data used locally when finished with business use."}})).subscribe(function(b){b&&a.onConfirm.emit()})};jT.\u0275fac=function(a){return new (a||jT)(B(eB),B(OJ))};
jT.\u0275cmp=Oc({type:jT,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&&(F(0,"span")(1,"button",0),L("click",function(){return b.openDialog()}),P(2," Show Restricted Content "),H(),F(3,"a",1),P(4,
" Learn More "),H()());a&2&&(z(1),E("disabled",b.disabled),z(2),E("rel",b.EXTERNAL_LINK_REL),of("href",b.documentationLinks.getRestrictedAccessHelpLink(),Ud))},dependencies:[QA],styles:[".mat-stroked-button[_ngcontent-%COMP%]{margin-right:1em}/*# sourceMappingURL=restricted_comment_placeholder.css.map */"],changeDetection:0});var kT=function(){};kT.\u0275fac=function(a){return new (a||kT)};kT.\u0275mod=Qc({type:kT});kT.\u0275inj=zc({imports:[eD,OG,ED,fE]});var jBc=["commentActionsMenu"],kBc=["editDescription"],vNa=function(){return[]},lT=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q){rF.call(this);var Y=this;this.eventsForIssue=a;this.userPreferencesManager=b;this.issueFridge=c;this.issueReferenceResolver=d;this.activeSession=e;this.commentService=g;this.errorHandler=h;this.analytics=l;this.butterBar=q;this.userAccess=v;this.issueCommentDialogsService=x;this.issuePermissionService=A;this.commentHistoryDialogService=G;this.dateFormatter=M;this.issueFetchResponseFridge=
Q;this.id$=new D.ReplaySubject(1);this.accessLevel$=this.id$.pipe($e(this.issueFridge.watch),C(function(W){var ia;return null==W?void 0:null==(ia=W.accessLimit)?void 0:ia.accessLevel}));this.firstEvent$=new D.ReplaySubject(1);this.firstNote$=this.firstEvent$.pipe(C(function(W){return W}));this.commentActionMenuItems$=new D.BehaviorSubject([]);this.isFormattingOverrideEnabled=!1;this.formattingMode="PLAIN";this.formattingMode$=nn(this.firstEvent$.pipe(Ge(Ai),C(function(W){return W.formattingMode})),
"PLAIN");this.isRedacted$=this.firstEvent$.pipe(Ge(Ai),C(function(W){return W.commentRedacted}));this.isDeleted$=this.firstEvent$.pipe(Ge(Ai),C(function(W){return"DELETED"===W.commentDeletionStatus}));this.shouldShowRestrictedPlaceholder$=(0,D.combineLatest)([this.isRedacted$,this.isDeleted$]).pipe(C(function(W){var ia=k(W);W=ia.next().value;ia=ia.next().value;return!(!W||ia)}));this.isRestricted$=this.firstEvent$.pipe(Ge(Ai),C(function(W){return Gi(W.commentContentVerdict)}),C(function(W){if(!Y.isInternalSession)return!1;
switch(W){case "NONE_DETECTED":case "PII_SEVERITY_UNSPECIFIED":return!1;case "PII":case "SPII":return!0;default:Ch(W)}}));this.commentRetentionOverride$=this.firstEvent$.pipe(Ge(Ai),C(function(W){return W.commentRetention}));this.commentHistoryEnabled=pF(this.activeSession,"enableCommentHistoryUi");this.isShowCommentHistoryActionInMenu$=(0,D.combineLatest)([this.firstEvent$,this.isRedacted$]).pipe(C(function(W){var ia=k(W);W=ia.next().value;ia=ia.next().value;return!(!(pF(Y.activeSession,"enableCommentHistoryUi")&&
0<((null==W?void 0:W.commentVersion)||0))||ia)}));this.canEditComment$=this.firstEvent$.pipe($e(function(W){return W?Y.issuePermissionService.canEditComment$(W):(0,D.of)(!1)}),Xe({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!on(Y.canEditComment$)};this.isInternalSession=this.activeSession.isInternalSession();this.mayReadPii$=this.isRestricted$.pipe($e(function(W){return W?Y.mayReadPii():(0,D.of)(void 0)}));this.reporterUser$=this.id$.pipe($e(function(W){return Y.issueFridge.watch(W)}),
C(function(W){var ia;return null==W?void 0:null==(ia=W.snapshot[0])?void 0:ia.reporterUser}));this.reporterUserEmailAddress$=this.reporterUser$.pipe(C(yNa));this.firstEventReporterEmail$=this.firstEvent$.pipe(C(function(W){W=k((null==W?void 0:W.postDiffs)||[]);for(var ia=W.next();!ia.done;ia=W.next())if(ia=ia.value,"reporter"===ia.name)return ia.newValue||"";return""}));this.onBehalfOfEmail$=(0,D.combineLatest)([this.firstEventReporterEmail$,this.reporterUserEmailAddress$]).pipe(C(function(W){var ia=
k(W);W=ia.next().value;ia=ia.next().value;return W||ia}));this.isAuthorNotReporter$=(0,D.combineLatest)([this.onBehalfOfEmail$,this.firstEvent$]).pipe(C(function(W){var ia=k(W);W=ia.next().value;ia=ia.next().value;return W!==yNa(null==ia?void 0:ia.userPerformingActionUser)}))};T(lT,rF);lT.\u0275dir=rF.\u0275dir;
lT.prototype.mayReadPii=function(){var a=this;return this.id$.pipe($e(function(b){return(0,D.defer)(function(){return MG(a.userAccess,"reader","issues/"+b+"/comments/1").catch(function(c){Kh("error: ",c);return!1})})}))};
lT.prototype.ngOnInit=function(){var a=this;lBc(this,"PLAIN");this.id$.pipe($e(this.issueFetchResponseFridge.watch),C(function(b){return null==b?void 0:b.firstEvent}),af(this.destroyed$)).subscribe(function(b){a.firstEvent$.next(b)});this.canEditComment$.pipe(af(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(af(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=null!=b.commentDisplayOverride;a.initializeActionsMenu()});
this.formattingMode$.pipe(af(this.destroyed$)).subscribe(function(b){a.formattingMode=null!=b?b:"PLAIN";lBc(a,null!=b?b:"PLAIN")});this.issuePermissionService.canChangeCommentRetention$.pipe(af(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
lT.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=on(this.firstEvent$);this.canEditComment()&&c&&b.push({type:"action",action:function(){qs(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Edit description...",disabled:on(this.isRedacted$)});
on(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&&ohc(this.issuePermissionService,c)&&b.push({type:"action",action:function(){c.commentEtag&&YAc(a.issueCommentDialogsService,a.id,1,c.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete description"});c&&nhc(this.issuePermissionService,
c)&&b.push({type:"action",action:function(){VAc(a.issueCommentDialogsService,a.id,1).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore description"});this.isInternalSession&&c&&b.push({type:"action",action:function(){ZAc(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restriction settings..."});if(this.isInternalSession&&on(this.isRestricted$)&&this.issuePermissionService.canChangeCommentRetention()&&
!on(this.isDeleted$)){var d="COMPONENT_DEFAULT"===on(this.commentRetentionOverride$);b.push({type:"action",action:function(){var e=d?"INDEFINITE":"COMPONENT_DEFAULT";$Ac(a.issueCommentDialogsService,"comment",e).then(function(g){a.commentActionsMenu.actionsMenuIconButton.focus();g&&a.updateCommentRetention(e)})},label:d?"Match issue retention...":"Revert to component retention..."})}this.commentActionMenuItems$.next(b)};
var lBc=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)};
lT.prototype.updateCommentRetention=function(a){var b=this,c=on(this.firstEvent$),d=on(this.id$);c&&!c.commentNumber&&bH(this.errorHandler,"Comment number is missing");this.analytics.trackEvent(ao.RESTRICTED_CONTENT,"updateRetention","comment");d&&c&&this.commentService.updateRetention(d,c.commentNumber||0,a).pipe(af(this.destroyed$)).subscribe({next:function(){b.eventsForIssue.poke(d);YG(b.butterBar,"Comment retention updated",4E3);b.initializeActionsMenu()},error:function(){bH(b.errorHandler,"Comment retention update failed")}})};
lT.prototype.loadRestrictedComment=function(a,b){var c=this;this.analytics.trackEvent(ao.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var d=(null==b?void 0:b.commentNumber)||0;b=Gi(null==b?void 0:b.commentContentVerdict);a&&this.commentService.get(a,d,b).pipe(Oe(),af(this.destroyed$)).subscribe(function(e){e=sta(e);e=Object.assign({},on(c.firstEvent$),e);c.firstEvent$.next(e);c.initializeActionsMenu()},function(e){var g;ZG(c.butterBar,"Error showing comment "+d+": "+(null==(g=e.error)?void 0:
g.message))})};lT.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.id,a,-1)};lT.prototype.getUserEmailIfAvailable=function(){var a;return pi(null==(a=on(this.firstEvent$))?void 0:a.userPerformingActionUser)};
var bNa=function(a){var b=on(a.firstEvent$);b&&qs(a.issueCommentDialogsService,a.id,b).then(function(){a.editDescriptionButton.focus()})},gNa=function(a,b){var c="Last edited by ";0===b.version&&b.lastCommentEditorUser&&(c+=li(b.lastCommentEditorUser));b.commentLastModifiedAtDate&&(c+=" on ",Qjc(a.dateFormatter,new Date(b.commentLastModifiedAtDate)).subscribe(function(d){c+=d}));return c};
sh.Object.defineProperties(lT.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)},get:function(){return on(this.id$)}}});lT.\u0275fac=function(a){return new (a||lT)(B(nG),B(VJ),B(JI),B(MM),B(Bs),B(oJ),B(aH),B(EI),B(XG),B(LG),B(fT),B(CK),B($Q),B(EL),B(MI))};
lT.\u0275cmp=Oc({type:lT,selectors:[["b-issue-description"]],viewQuery:function(a,b){a&1&&(bg(jBc,5),bg(kBc,5));if(a&2){var c;ag(c=dg())&&(b.commentActionsMenu=c.first);ag(c=dg())&&(b.editDescriptionButton=c.first)}},inputs:{id:"id"},features:[kf],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",""],["class","margin-s-y border-top bv2-issue-event-attachments",4,"ngIf"],["mat-stroked-button","","color","primary","aria-label","Edit description",1,"gmat-button","update-button","small","margin-xs-right",3,"click"],["editDescription",""],[3,"email","showEmail"],[1,"keep-focus-ring","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"],["class","muted critical-feature",4,"ngIf"],["class","critical-feature",3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],[1,"critical-feature",3,"issueId","issueAccessLevel","note","formattingMode"],[1,"muted","critical-feature"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],["class","margin-s-y bv2-issue-event-attachment",3,"id",4,"ngFor","ngForOf"],[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,"issueId","attachment","attachmentUploader"]],
template:function(a,b){a&1&&(O(0,wNa,29,24,"div",0),R(1,"async"),O(2,xNa,1,0,"ng-template",null,1,gg));if(a&2){var c=Kf(3);E("ngIf",S(1,2,b.firstEvent$))("ngIfElse",c)}},dependencies:[VL,hT,wP,Qw,Rw,HB,FL,UK,ZK,xL,QA,lD,jT,wO,WM,yL,RM,Xw],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 mT=function(a){this.issueReferenceResolver=a;this.userToString=pi};mT.prototype.ngOnInit=function(){};mT.prototype.getCommentNumberLink=function(a){return wwa(this.issueId,{comment:a})};mT.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};mT.\u0275fac=function(a){return new (a||mT)(B(MM))};
mT.\u0275cmp=Oc({type:mT,selectors:[["comments-info"]],inputs:{issueId:"issueId",comments:"comments"},decls:1,vars:1,consts:[["class","comment-info",4,"ngFor","ngForOf"],[1,"comment-info"],[4,"ngIf"],["class","keep-focus-ring hover-link",3,"routerLinkObj","click",4,"ngIf"],[1,"ldap",3,"onedevHovercardTrigger"],["personCard",""],[3,"email",4,"ngIf"],[3,"email"],[1,"keep-focus-ring","hover-link",3,"routerLinkObj","click"]],template:function(a,b){a&1&&O(0,DNa,5,3,"span",0);a&2&&E("ngForOf",b.comments)},
dependencies:[Qw,Rw,UK,ZK,xL,wO,OP],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 nT=function(a){rF.call(this);this.ngZone=a};T(nT,rF);nT.\u0275dir=rF.\u0275dir;var mBc=function(a,b){return(new D.Observable(function(c){var d=new ResizeObserver(function(e){a.ngZone.run(function(){var g=e[0];c.next({height:g.contentRect.height,width:g.contentRect.width})})});d.observe(b);return function(){d.unobserve(b)}})).pipe(af(a.destroyed$))};nT.\u0275fac=function(a){return new (a||nT)(t(df))};nT.\u0275prov=yc({token:nT,factory:nT.\u0275fac,providedIn:"root"});var nBc=["imagesSummaryWidget"],oT=function(a,b,c){var d=this;this.resizeService=a;this.router=b;this.route=c;this.imageLinks$=new D.ReplaySubject(1);this.paginate=!1;this.container$=new D.ReplaySubject(1);this.containerResize$=this.container$.pipe(C(function(e){return e.nativeElement}),$e(function(e){return mBc(d.resizeService,e)}));this.issueId$=new D.ReplaySubject(1);this.lastRenderedImageIndex$=new D.BehaviorSubject(0);this.allImages$=this.imageLinks$.pipe(C(function(e){e=e.map(function(g){if(g.comment){var h=
Jva(g.href);if(h)return{src:h,comment:g.comment}}}).filter(Ai);return KNa(e)}));this.maxImagesInOneRow$=this.containerResize$.pipe(C(function(e){return Math.floor((e.width-16)/216)}),Xe({refCount:!0,bufferSize:1}));this.initialNumberOfImages$=this.maxImagesInOneRow$.pipe(C(function(e){return 2*e}));this.imagesToRender$=(0,D.combineLatest)([this.initialNumberOfImages$,this.allImages$,this.lastRenderedImageIndex$]).pipe(C(function(e){var g=k(e);e=g.next().value;var h=g.next().value;g=g.next().value;
return d.paginate?h.slice(0,g||e):h.slice(0,e)}),Ne())};oT.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};oT.prototype.ngOnInit=function(){this.issueId$.next(this.issueId)};oT.prototype.ngAfterContentInit=function(){this.container$.next(this.container)};sh.Object.defineProperties(oT.prototype,{imageLinks:{configurable:!0,enumerable:!0,set:function(a){this.imageLinks$.next(a)},get:function(){return on(this.imageLinks$)}}});
oT.\u0275fac=function(a){return new (a||oT)(B(nT),B(IH),B(xm))};
oT.\u0275cmp=Oc({type:oT,selectors:[["inline-images-summary"]],viewQuery:function(a,b){a&1&&bg(nBc,7);if(a&2){var c;ag(c=dg())&&(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&&(F(0,"div",null,0),O(2,JNa,3,3,"ng-container",1),R(3,"async"),H());a&2&&(z(2),E("ngIf",S(3,1,b.allImages$)))},dependencies:function(){return[mT,Qw,Rw,QA,iP,Xw,pT]},styles:['.container[_ngcontent-%COMP%]{align-items:flex-start;display:flex;flex-flow:row wrap;justify-content:flex-start;max-height:390px;overflow:hidden}.show-all-images[_ngcontent-%COMP%]{max-height:100%}.image-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-bottom:8px}.image-wrapper[_ngcontent-%COMP%]   comments-info[_ngcontent-%COMP%]{margin:0 8px;max-width:200px}[_nghost-%COMP%]   a.thumbnail[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary);border:2px solid;border-color:#e8eaed;border-color:var(--c200);border-radius:8px;margin:8px;height:150px;width:200px;position:relative;overflow:hidden}[_nghost-%COMP%]   a.thumbnail[_ngcontent-%COMP%]:focus{border-color:#185abc;border-color:var(--primary-c800)}[_nghost-%COMP%]   a.thumbnail[_ngcontent-%COMP%]     img{bottom:0;top:0;left:0;right:0;position:absolute;margin:auto;height:auto;width:auto;max-height:150%;max-width:150%}[_nghost-%COMP%]   a.thumbnail[_ngcontent-%COMP%]     img:before{content:" ";position:absolute;left:0;height:100%;width:100%;background-color:#f8f9fa;background-color:var(--surface-secondary)}[_nghost-%COMP%]   a.thumbnail[_ngcontent-%COMP%]     img:after{content:"\u274cBroken screenshot link";position:absolute;top:46%;left:0;width:100%;text-align:center}']});
var pT=function(){};pT.prototype.transform=function(a){return a.split(".png")[0]};pT.\u0275fac=function(a){return new (a||pT)};pT.\u0275pipe=Uc({name:"removePngExtension",type:pT,pure:!0});var oBc={IMAGES:"SW-images",MENTIONED_ISSUES:"SW-mentioned-bugs",LINKS:"SW-links"},POa=[].concat(cd(Object.values(oBc)));var pBc=function(a,b){var c=this;this.issueInteractionsTracking=a;this.analytics=b;this.recordInteractionOnce=qza(function(d){c.analytics.trackEvent(ao.EDIT_ISSUE,"click",d)});this.recordImpressionOnce=qza(function(){c.analytics.trackEvent(ao.EDIT_ISSUE,"view","SW")})},EOa=function(a,b,c){a.recordInteractionOnce(c);$o(a.issueInteractionsTracking,b,c+"-content-interacted");$o(a.issueInteractionsTracking,b,"SW-content-interacted")};var qT=function(a,b){this.activeSession=a;this.currentTracker=b;this.linkText=this.rightText=this.leftText="";this.isExternalLink=!1;this.issueId=this.originalHref=this.redirectedHref=""};
qT.prototype.ngOnChanges=function(){var a;a:{var b=null==(a=this.sourceComment)?void 0:a.formattedComment;if(b){if(b.markdownFormat){a=RNa(b.markdownFormat.content);break a}if(b.literalFormat){a=RNa(b.literalFormat.content);break a}if(b.plainFormat){a=document.createElement("div");b=k(b.plainFormat.plainSection);for(var c=b.next();!c.done;c=b.next())(c=c.value.content)&&a.appendChild(RNa(c));break a}}a=void 0}if(a=a&&qBc(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(rBc.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(rBc.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="",Nl(this.relatedLink)?c=b=this.relatedLink.href:Kva(this.relatedLink)&&(a=this.relatedLink.issueId,b=this.getIssueUrl(this.relatedLink.issueId),c=this.relatedLink.issueId,c=this.activeSession.isInternalSession()?sqa(QL(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 qBc=function(a,b){if(a.relatedLink){if(Kva(a.relatedLink)){var c=a.relatedLink.issueId;return[].concat(cd(b.querySelectorAll("a"))).find(function(e){return e.dataset.bIssueId===c})}if(Nl(a.relatedLink)){var d=a.relatedLink;return[].concat(cd(b.querySelectorAll("a"))).find(function(e){a:{var g=d.href;if(e.innerText===g)e=!0;else{try{g=(new URL(g)).href}catch(h){e=!1;break a}e=e.href===g||e.href.replace("https://cl.corp.google.com/","https://critique.corp.google.com/")===g?!0:!1}}return e})}}};
qT.prototype.getIssueUrl=function(a){return QL(this.currentTracker,a)};qT.\u0275fac=function(a){return new (a||qT)(B(Bs),B(PL))};
qT.\u0275cmp=Oc({type:qT,selectors:[["mentioned-link-with-context"]],inputs:{sourceComment:"sourceComment",relatedLink:"relatedLink"},features:[gd],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&&(F(0,"div",0),P(1," \u201c "),O(2,LNa,3,3,"span",1),O(3,MNa,3,3,"ng-container",2),O(4,PNa,3,2,"ng-template",null,3,gg),O(6,QNa,2,1,"span",4),P(7," \u201d\n"),H());if(a&2){var c=Kf(5);z(2);E("ngIf",b.leftText);z(1);E("ngIf",b.isExternalLink)("ngIfElse",c);z(3);E("ngIf",b.rightText)}},dependencies:[aP,OM,Rw,JK],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 rBc=new Set(["BR"]);var rT=function(a,b,c,d,e){var g=this;this.activeSession=a;this.issueFridge=b;this.router=c;this.route=d;this.issueReferenceResolver=e;this.issueReferences$=new D.ReplaySubject(1);this.currentIssueId$=new D.ReplaySubject(1);this.paginate=!1;this.lastRenderedMentionedIssueIndex$=new D.BehaviorSubject(10);this.issuesMap$=this.issueReferences$.pipe(Ge(Ai),$e(function(h){var l=Al(h.map(function(q){return q.issueId}));return g.issueFridge.watchSet(l).pipe(C(function(q){return new Map(q.map(function(v){return[null==
v?void 0:v.issueId.toString(),v]}))}),C(function(q){return new Map(l.map(function(v){return[v,q.get(v)]}))}))}));this.issueReferencesMap$=this.issueReferences$.pipe(Ge(Ai),C(function(h){var l=new Map;h=k(h);for(var q=h.next();!q.done;q=h.next()){q=q.value;var v=q.issueId.toString();l.has(v)?l.get(v).push(q):l.set(v,[q])}return l}));this.allMentionedIssues$=(0,D.combineLatest)([this.issueReferencesMap$,this.issuesMap$]).pipe(C(function(h){h=k(h);var l=h.next().value;h=h.next().value;return[].concat(cd(h)).filter(function(q){return k(q).next().value!==
g.issueId}).map(function(q){var v=k(q);q=v.next().value;v=v.next().value;var x=l.get(q),A=null==x?void 0:x.map(function(G){var M,Q,Y=null==(M=G.comment)?void 0:null==(Q=M.userPerformingActionUser)?void 0:Q.emailAddress;return{commentNumber:G.sourceCommentNumber,author:(null==Y?void 0:Y.split("@")[0])+"@",issueEvent:G.comment}});return{hasViewAccess:!!v,issueId:q,shortIssueUrl:sqa(g.activeSession.getAppBaseUrl(),q),sourceComments:A,title:null==v?void 0:v.snapshot[0].title,priority:v?v.snapshot[0].priority:
null,relatedLinks:x}})}));this.mentionedIssuesToRender$=(0,D.combineLatest)([this.allMentionedIssues$,this.lastRenderedMentionedIssueIndex$]).pipe(C(function(h){var l=k(h);h=l.next().value;l=l.next().value;return g.paginate?h.slice(0,l):h.slice(0,5)}))};rT.prototype.getCommentNumberLink=function(a){return wwa(this.issueId,{comment:a})};rT.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};
rT.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};sh.Object.defineProperties(rT.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}}});rT.\u0275fac=function(a){return new (a||rT)(B(Bs),B(JI),B(IH),B(xm),B(MM))};
rT.\u0275cmp=Oc({type:rT,selectors:[["b-mentioned-issues"]],inputs:{issueReferences:"issueReferences",currentIssueId:"currentIssueId",paginate:"paginate"},decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"matTooltip","issuePriority"],[1,"issue-title-and-link"],[1,"padded-s-sides","title",3,"matTooltip"],[3,"sourceComment","relatedLink"],[1,"margin-left-auto",3,"issueId","comments"],["mat-button","","class","gmat-button small load-more-issues",3,"click",4,"ngIf","ngIfElse"],["withoutPagination",
""],["mat-button","",1,"gmat-button","small","load-more-issues",3,"click"],["mat-button","",1,"gmat-button","small","see-all-issues",3,"click"]],template:function(a,b){a&1&&(O(0,YNa,3,3,"ng-container",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.mentionedIssuesToRender$))},dependencies:function(){return[Qw,Rw,wJ,QA,lD,qT,mT,Xw,sT]},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 sT=function(){};sT.prototype.transform=function(a){return a.map(function(b){return b.issueEvent}).filter(Ai)};sT.\u0275fac=function(a){return new (a||sT)};sT.\u0275pipe=Uc({name:"toComments",type:sT,pure:!0});var tT=function(a,b){var c=this;this.router=a;this.route=b;this.allLinks$=new D.ReplaySubject(1);this.issueId$=new D.ReplaySubject(1);this.lastRenderedRelatedLinkIndex$=new D.BehaviorSubject(10);this.paginate=!1;this.trackByHref=function(d,e){return e[0].href};this.allLinkGroups$=this.allLinks$.pipe(C(function(d){return Gua(d,function(e){return e.href})}));this.linkGroupsToRender$=(0,D.combineLatest)([this.allLinkGroups$,this.lastRenderedRelatedLinkIndex$]).pipe(C(function(d){var e=k(d);d=e.next().value;
e=e.next().value;return c.paginate?fOa(d,e):6===d.length?fOa(d,6):fOa(d,5)}))};tT.prototype.ngOnInit=function(){};tT.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};sh.Object.defineProperties(tT.prototype,{links:{configurable:!0,enumerable:!0,set:function(a){this.allLinks$.next(a)},get:function(){throw Error("bb");}},issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return on(this.issueId$)}}});
tT.\u0275fac=function(a){return new (a||tT)(B(IH),B(xm))};
tT.\u0275cmp=Oc({type:tT,selectors:[["related-links-widget"]],inputs:{links:"links",issueId:"issueId",paginate:"paginate"},decls:2,vars:3,consts:[[4,"ngIf"],["class","related-link flex-kids-x align-items-center gap-s margin-xs-bottom",4,"ngFor","ngForOf","ngForTrackBy"],[1,"related-link","flex-kids-x","align-items-center","gap-s","margin-xs-bottom"],[3,"sourceComment","relatedLink"],[1,"margin-left-auto",3,"issueId","comments"],["mat-button","","class","gmat-button small load-more-links",3,"click",
4,"ngIf","ngIfElse"],["withoutPagination",""],["mat-button","",1,"gmat-button","small","load-more-links",3,"click"],["mat-button","",1,"gmat-button","small","see-all-links",3,"click"]],template:function(a,b){a&1&&(O(0,dOa,3,3,"ng-container",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.allLinkGroups$))},dependencies:function(){return[mT,Qw,Rw,QA,qT,Xw,uT]},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 eOa=El(function(a){return Math.min.apply(Math,cd(a.map(function(b){return b.sourceCommentNumber})))},Xua),uT=function(){};uT.prototype.transform=function(a){return a.map(function(b){return b.comment}).filter(Ai)};uT.\u0275fac=function(a){return new (a||uT)};uT.\u0275pipe=Uc({name:"toComments",type:uT,pure:!0});var vT=function(){jy.apply(this,arguments)};T(vT,jy);vT.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(vT)))(b||vT)}}();vT.\u0275dir=Sc({type:vT,selectors:[["","expandable-tab-content",""]],features:[kf]});var wT=function(){jy.apply(this,arguments)};T(wT,jy);wT.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(wT)))(b||wT)}}();wT.\u0275dir=Sc({type:wT,selectors:[["","expandable-tab-header",""]],features:[kf]});var xT=function(){jy.apply(this,arguments)};T(xT,jy);
xT.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(xT)))(b||xT)}}();xT.\u0275dir=Sc({type:xT,selectors:[["","expandable-tab-icon",""]],features:[kf]});var yT=function(){};yT.prototype.ngOnInit=function(){};yT.\u0275fac=function(a){return new (a||yT)};
yT.\u0275cmp=Oc({type:yT,selectors:[["expandable-tab"]],contentQueries:function(a,b,c){a&1&&(cg(c,wT,5,Yf),cg(c,vT,5,Yf),cg(c,xT,5,Yf));if(a&2){var d;ag(d=dg())&&(b.tabHeaderTemplate=d.first);ag(d=dg())&&(b.tabContentTemplate=d.first);ag(d=dg())&&(b.tabIconTemplate=d.first)}},inputs:{key:"key",ariaLabel:"ariaLabel"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var gOa=function(a){return{tab:a}},sBc=function(a){return{allTabsExpanded:a}},zT=function(){rF.apply(this,arguments);this.internalTabKeys$=new D.ReplaySubject(1);this.ariaLabel="";this.internalExpandedTabs=new MK;this.expandedTabsChanged=new kw;this.contentShownChanged=new kw;this.tabs$=new D.BehaviorSubject([]);this.allTabsExpanded$=(0,D.combineLatest)([this.tabs$,this.internalExpandedTabs.value$]).pipe(C(function(a){a=k(a);var b=a.next().value,c=a.next().value;return b.every(function(d){return c.has(d.key)})}));
this.trackByKey=function(a,b){return b.key}};T(zT,rF);zT.\u0275dir=rF.\u0275dir;
zT.prototype.ngAfterContentInit=function(){var a=this;this.subscriptions.add(this.internalTabs.changes.pipe(Ze(void 0),C(function(){return a.internalTabs.toArray()}),C(function(b){return new Map(b.map(function(c){return[c.key,c]}))}),$e(function(b){return(0,D.combineLatest)([(0,D.of)(b),a.internalTabKeys$])}),C(function(b){b=k(b);var c=b.next().value;return b.next().value.map(function(d){return Object.assign({},{key:d},c.get(d))})})).subscribe(this.tabs$));this.subscriptions.add((0,D.combineLatest)([this.internalTabKeys$,
this.internalExpandedTabs.value$]).pipe(C(function(b){var c=k(b);b=c.next().value;c=c.next().value;return bqa(new Set(b),new Set(c))}),Ne(Xh)).subscribe(function(b){a.contentShownChanged.emit(b)}))};zT.prototype.ngOnInit=function(){};zT.prototype.showAll=function(){this.internalExpandedTabs.add.apply(this.internalExpandedTabs,cd(this.tabs$.value.map(function(a){return a.key})));this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};
zT.prototype.hideAll=function(){this.internalExpandedTabs.clear();this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};var nOa=function(a){var b;return pe(function(c){if(1==c.nextAddress)return c.yield((0,D.firstValueFrom)(a.allTabsExpanded$),2);(b=c.yieldResult)?a.hideAll():a.showAll();ue(c)})};
sh.Object.defineProperties(zT.prototype,{tabKeys:{configurable:!0,enumerable:!0,set:function(a){this.internalTabKeys$.next([].concat(cd(a)))},get:function(){var a;return null!=(a=on(this.internalTabKeys$))?a:[]}},expandedTabs:{configurable:!0,enumerable:!0,set:function(a){this.internalExpandedTabs.reset(a)},get:function(){return[].concat(cd(this.internalExpandedTabs))}}});zT.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(zT)))(b||zT)}}();
zT.\u0275cmp=Oc({type:zT,selectors:[["expandable-tabs"]],contentQueries:function(a,b,c){a&1&&cg(c,yT,5);if(a&2){var d;ag(d=dg())&&(b.internalTabs=d)}},inputs:{tabKeys:"tabKeys",ariaLabel:"ariaLabel",expandedTabs:"expandedTabs"},outputs:{expandedTabsChanged:"expandedTabsChanged",contentShownChanged:"contentShownChanged"},features:[kf],decls:11,vars:14,consts:[[1,"tabs-row","flex-kids-x","centered-inside"],["role","tablist","aria-multiselectable","true",1,"expandable-tabs","flex-kids-x","centered-inside"],
["mat-button","","class","expandable-tab keep-focus-ring","role","tab",3,"expanded","click",4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],[1,"expandable-tabs-contents"],[4,"ngFor","ngForOf","ngForTrackBy"],["headerText",""],["mat-button","","role","tab",1,"expandable-tab","keep-focus-ring",3,"click"],[4,"ngIf","ngIfElse"],["notExpanded",""],["svgIcon","done",1,"icon-s"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],["mat-button","",1,"gmat-button","small",3,"click"],["class",
"expandable-tab-content","role","tabpanel",3,"id",4,"ngIf"],["role","tabpanel",1,"expandable-tab-content",3,"id"],["noTemplate",""]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1),O(2,mOa,8,16,"button",2),R(3,"async"),H(),O(4,oOa,3,6,"ng-container",3),R(5,"async"),H(),F(6,"div",4),O(7,wOa,3,3,"ng-container",5),R(8,"async"),H(),O(9,BOa,3,2,"ng-template",null,6,gg));a&2&&(z(1),of("aria-label",b.ariaLabel),z(1),E("ngForOf",S(3,6,b.tabs$))("ngForTrackBy",b.trackByKey),z(2),E("ngIf",Rf(12,sBc,S(5,
8,b.allTabsExpanded$))),z(3),E("ngForOf",S(8,10,b.tabs$))("ngForTrackBy",b.trackByKey))},dependencies:[Qw,Rw,Ww,HB,QA,Xw],styles:[".expandable-tabs[_ngcontent-%COMP%]{gap:8px}.expandable-tab[_ngcontent-%COMP%]{padding:5px 7px;border-radius:16px;border:1px solid;border-color:#dadce0;border-color:var(--c300);color:#3c4043;color:var(--c800)}.expandable-tab.expanded[_ngcontent-%COMP%]{color:#1967d2;color:var(--primary-c700);background-color:#e8f0fe;background-color:var(--primary-c50);border-color:transparent}.expandable-tab[_ngcontent-%COMP%]:hover{-webkit-filter:brightness(95%);filter:brightness(95%)}[_nghost-%COMP%]     .expandable-tab .mat-button-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px}[_nghost-%COMP%]     .expandable-tab.mat-button{line-height:unset}.expandable-tabs-hide-all[_ngcontent-%COMP%], .expandable-tabs-show-all[_ngcontent-%COMP%]{margin-left:auto}.expandable-tab-content[_ngcontent-%COMP%]{margin-left:8px;margin-right:8px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.expandable-tab-content[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px;color:#202124;color:var(--c900);margin:16px 0}.expandable-tab-content[_ngcontent-%COMP%]:not(:last-child){padding-bottom:16px;border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}\n/*# sourceMappingURL=expandable_tabs.css.map */"],
changeDetection:0});var FOa=function(){return[]},AT=function(a,b,c,d,e,g){rF.call(this);var h=this;this.activeSession=a;this.userPreferencesManager=b;this.issueInteractionsTracking=c;this.issueFridge=d;this.analytics=e;this.eventsForIssueFridge=g;this.TabKeys=oBc;this.issueId$=new D.ReplaySubject(1);this.alwaysStartCollapsed=!1;this.issue$=this.issueId$.pipe($e(function(l){return h.issueFridge.watch(l)}),Ge(Ai));this.commentNumberToEventMap$=this.issueId$.pipe($e(function(l){return h.eventsForIssueFridge.watch(l)}),
C(function(l){var q;return null!=(q=null==l?void 0:l.events)?q:[]}),C(function(l){return new Map(l.filter(function(q){return!!q.commentNumber}).map(function(q){return[q.commentNumber,q]}))}));this.relatedLinks$=(0,D.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(C(function(l){l=k(l);var q=l.next().value,v=l.next().value,x;return(null==(x=q.relatedLinks)?void 0:x.map(function(A){return Object.assign({},A,{comment:v.get(A.sourceCommentNumber)})}))||[]}));this.imageLinks$=this.relatedLinks$.pipe(C(function(l){return l.filter(Gva)}));
this.distinctImageLinksCount$=this.imageLinks$.pipe(C(function(l){return zl(l,function(q){return Jva(q.href)})}),C(function(l){return l.length}));this.shouldShowImages$=this.imageLinks$.pipe(C(function(l){return h.activeSession.isInternalSession()&&pF(h.activeSession,"enableImageSummary")&&tBc(h,l)}));this.issues$=this.relatedLinks$.pipe(C(function(l){return l.filter(Kva)}));this.distinctIssuesCount$=this.issues$.pipe(C(function(l){return l.filter(function(q){return q.issueId!==h.issueId})}),C(function(l){return zl(l,
function(q){return q.issueId})}),C(function(l){return l.length}));this.shouldShowIssues$=this.distinctIssuesCount$.pipe(C(function(l){return pF(h.activeSession,"enableRelatedIssuesWidget")&&!!l}));this.otherLinks$=this.relatedLinks$.pipe(C(function(l){return l.filter(Lva)}));this.distinctOtherLinksCount$=this.otherLinks$.pipe(C(function(l){return zl(l,function(q){return q.href})}),C(function(l){return l.length}));this.shouldShowLinks$=this.otherLinks$.pipe(C(function(l){return pF(h.activeSession,
"enableLinksWidget")&&h.shouldShowLinks(l)}));this.tabKeys$=(0,D.combineLatest)([this.shouldShowImages$.pipe(C(function(l){return{show:l,key:"SW-images"}})),this.shouldShowIssues$.pipe(C(function(l){return{show:l,key:"SW-mentioned-bugs"}})),this.shouldShowLinks$.pipe(C(function(l){return{show:l,key:"SW-links"}}))]).pipe(C(function(l){return l.filter(function(q){return q.show}).map(function(q){return q.key})}));this.shouldShowSummaryCard$=this.tabKeys$.pipe(C(function(l){return!!l.length}),Me(0,D.asapScheduler));
this.initiallyExpandedTabs=POa.map(function(l){return qgc(h.userPreferencesManager,l)?void 0:l}).filter(Ai);this.onTabExpanded$=new kw;this.issueSummaryTracking=new pBc(this.issueInteractionsTracking,this.analytics)};T(AT,rF);AT.\u0275dir=rF.\u0275dir;
AT.prototype.ngOnInit=function(){var a=this;this.alwaysStartCollapsed&&(this.initiallyExpandedTabs=[]);this.subscriptions.add(this.onTabExpanded$.pipe(Le(1E3),$e(function(b){var c=b.expandedTabKeys;return pgc(a.userPreferencesManager,Object.fromEntries(b.allTabKeys.map(function(d){return[d,!c.has(d)]})))})).subscribe());this.subscriptions.add(this.tabKeys$.subscribe(function(b){var c=a.issueSummaryTracking,d=a.issueId;b=new Set(b);for(var e=k(b),g=e.next();!g.done;g=e.next())$o(c.issueInteractionsTracking,
d,g.value+"-available");0<b.size&&$o(c.issueInteractionsTracking,d,"SW-available")}))};AT.prototype.shouldShowLinks=function(a){return 0===a.length||a.every(function(b){return 1===b.sourceCommentNumber})?!1:!0};var tBc=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 WJ(a.userPreferencesManager).showInlineImages&&b?!1:!0};
sh.Object.defineProperties(AT.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return on(this.issueId$)}}});AT.\u0275fac=function(a){return new (a||AT)(B(Bs),B(VJ),B(yK),B(JI),B(EI),B(nG))};
AT.\u0275cmp=Oc({type:AT,selectors:[["issue-summary-card"]],inputs:{issueId:"issueId",alwaysStartCollapsed:"alwaysStartCollapsed"},features:[kf],decls:4,vars:3,consts:[[1,"a11y-only"],["ariaLabel","issue summary sections",3,"tabKeys","expandedTabs","expandedTabsChanged","contentShownChanged",4,"ngIf"],["ariaLabel","issue summary sections",3,"tabKeys","expandedTabs","expandedTabsChanged","contentShownChanged"],["ariaLabel","Toggle screenshots summary section",3,"key"],["expandable-tab-icon",""],["expandable-tab-header",
""],["expandable-tab-content",""],["ariaLabel","Toggle mentioned issues summary section",3,"key"],["ariaLabel","Toggle links summary section",3,"key"],["svgIcon","image",1,"icon-s"],[3,"issueId","imageLinks","click",4,"ngIf"],[3,"issueId","imageLinks","click"],["svgIcon","bug_report_24px",1,"icon-s"],[3,"issueReferences","currentIssueId","click",4,"ngIf"],[3,"issueReferences","currentIssueId","click"],["svgIcon","link",1,"icon-s"],[3,"links","issueId","click"]],template:function(a,b){a&1&&(F(0,"h3",
0),P(1,"Issue summary"),H(),O(2,QOa,13,5,"expandable-tabs",1),R(3,"async"));a&2&&(z(2),E("ngIf",S(3,1,b.tabKeys$)))},dependencies:[Rw,HB,yT,vT,wT,xT,zT,oT,rT,tT,Xw],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 XOa=function(){return[]},bPa=function(){return{hideHeader:!0,assigneeMode:"avatar-in-progress",showPendingFixCls:!0}},rPa="QA"===vl().config.environmentType?82860:1298542,BT=function(a,b,c,d,e,g){rF.call(this);var h=this;this.hackyPrefs=a;this.issueFridge=b;this.data=c;this.workspaceService=d;this.activeSession=e;this.projectActivity=g;this.makePie=Ova;this.getEndDate=qPa;this.Number=Number;this.makeCritiqueUrl=Nva;this.makeScreenshotViewUrl=sPa;this.log=console.log.bind(console);this.TABLE_COLUMNS=
"focus-indicator drag-handle title assignee status id menu".split(" ");this.maybeIssueId$=new D.BehaviorSubject(void 0);this.issueId$=this.maybeIssueId$.pipe(Ge(Boolean));this.issue$=this.issueId$.pipe($e(this.issueFridge.watchOne));this.projectData$=this.issueId$.pipe($e(function(l){return dac(h.data,[l])}),Xe({refCount:!0,bufferSize:1}));this.taskFlowLink$=this.issueId$.pipe($e(function(l){return h.getTaskFlowLink(l)}));this.projectActivityStream$=this.issueId$.pipe($e(function(l){return cfc(h.projectActivity,
l)}));this.environmentType=this.activeSession.getEnvironmentType()};T(BT,rF);BT.\u0275dir=rF.\u0275dir;BT.prototype.isCollapsed=function(a){return!0===this.neverCollapse?!1:null==a?!0:this.addMode||this.prefs.collapsed["project-"+a]};
BT.prototype.getTaskFlowLink=function(a){var b=this;return mrc(this.workspaceService,a).pipe($e(function(c){if(0<c.length){c=c[0];switch(b.environmentType){case "NIGHTLY":case "PROD":var d="https://taskflow.corp.google.com/workspaces";break;default:d="https://taskflow-autopush.corp.google.com/workspaces"}c=(0,D.of)(d+"/"+c.workspaceId+"/work_item/b/"+c.issueId)}else c=(0,D.of)(void 0);return c}))};
sh.Object.defineProperties(BT.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.maybeIssueId$.next(a)},get:function(){return this.maybeIssueId$.value}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});BT.\u0275fac=function(a){return new (a||BT)(B(rJ),B(JI),B(oG),B(VQ),B(Bs),B(uJ))};
BT.\u0275cmp=Oc({type:BT,selectors:[["issue-as-project-card"]],inputs:{addMode:"addMode",neverCollapse:"neverCollapse",issueId:"issueId"},features:[kf],decls:5,vars:10,consts:[[1,"carded","bg-main"],[4,"ngIf","ngIfElse"],["noIssue",""],[1,"flex-kids-x"],[1,"edit-controls","gap","shrink-0"],[1,"margin-right"],["mat-button","","title","Save this project to your homepage",1,"gmat-button","add",3,"click"],[1,"main","grow-1"],[1,"header-left"],[1,"type-l","line-clamp-3"],[1,"subtle-link",3,"href"],["mat-icon-button",
"","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"disabled","click"],["svgIcon","arrow-upward",1,"icon-s"],[1,"type-button"],["svgIcon","arrow-downward",1,"icon-s"],["mat-menu-item","",3,"click"],["svgIcon","delete",1,"icon-s"],["mat-menu-item","",3,"href"],[1,"icon-s"],["class","main-content",4,"ngIf"],["class","margin-left-auto flex-kids-x align-items-center","tabIndex",
"0",3,"click",4,"ngIf"],["tabIndex","0",1,"margin-left-auto","flex-kids-x","align-items-center",3,"click"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],["class","contributor-avatar",3,"email",4,"ngFor","ngForOf"],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","",
"src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[1,"contributor-avatar",3,"email"],["class","flex-kids-x align-items-center gap stats",3,"click",4,"ngIf"],[1,"flex-kids-x","align-items-center","gap","stats",3,"click"],["class","flex-kids-x align-items-center",3,"title",4,"ngIf"],[1,"flex-kids-x","align-items-center",3,"title"],[1,"pie","margin-s-right"],["svgIcon","release-notes-default",
1,"icon-s"],["target","_blank","class","subtle-link","style","color: var(--text-good)",3,"href",4,"ngIf"],[1,"main-content"],[3,"saveExpansionAtKey","rootIssueId","filters","tableColumns","options","projectData"],[1,"",3,"id"],[3,"issueId","alwaysStartCollapsed"],["issueSummaryCard",""],[1,"muted","margin-top"],[3,"href"],["href","https://launch.corp.google.com","target","_blank",1,"subtle-link","muted","margin-right"],["loading",""],["target","_blank",1,"subtle-link","muted","margin-right",3,"href"],
["target","_blank",1,"margin-right",3,"href"],[3,"activityEvents","title"],["loadFailed",""],[1,"muted"],["href","javascript:void(0);",1,"color-bad-text",3,"click"]],template:function(a,b){a&1&&(F(0,"div",0),O(1,lPa,37,9,"ng-container",1),R(2,"async"),O(3,oPa,3,2,"ng-template",null,2,gg),H());if(a&2){var c=Kf(4);xf("collapsed",b.isCollapsed(b.issueId))("never-collapse-mode",b.neverCollapse)("add-mode",b.addMode);z(1);E("ngIf",S(2,8,b.issue$))("ngIfElse",c)}},dependencies:[Qw,Rw,HB,DQ,QA,zL,WM,dD,
bD,cD,XM,lT,AT,SM,Xw,dx,cx],styles:['[_nghost-%COMP%]{display:block}h4[_ngcontent-%COMP%]   [mat-icon-button][_ngcontent-%COMP%]{margin-top:-4px;margin-bottom:-4px}.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:8px}.header-left[_ngcontent-%COMP%]{margin-top:-3px}b-user-image[_ngcontent-%COMP%]{margin-right:-8px;-webkit-transition:margin .1s ease-in-out;transition:margin .1s ease-in-out}[_ngcontent-%COMP%]:focus   b-user-image[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]     .user-avatar img{box-shadow:0 0 0 1px var(--divider),0 0 0 3px var(--surface-default)}[_nghost-%COMP%]     .contributor-avatar .user-avatar{display:inline-block;height:32px;width:32px}[_nghost-%COMP%]     .contributor-avatar .user-avatar img{max-height:100%;max-width:100%}b-user-image[_ngcontent-%COMP%]:has(img[src="https://lh3.googleusercontent.com/a/default-user=s32-p-k"]){display:none}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed-stats[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .collapsed-stats[_ngcontent-%COMP%]{display:block}.collapsed.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:0}.edit-controls[_ngcontent-%COMP%]{overflow:hidden;max-width:0;-webkit-transition:max-width .2s ease-out;transition:max-width .2s ease-out}.add-mode[_ngcontent-%COMP%]   .edit-controls[_ngcontent-%COMP%]{max-width:100%}.edit-controls[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:none}.add-mode[_ngcontent-%COMP%]   button.add[_ngcontent-%COMP%]{display:inline-block}.add-mode[_ngcontent-%COMP%]   button.remove[_ngcontent-%COMP%]{display:none!important}.card-overflow[_ngcontent-%COMP%]{margin-left:12px;margin-right:-4px}b-issue-description[_ngcontent-%COMP%]{max-height:400px;overflow-y:auto}\n/*# sourceMappingURL=issue_as_project_card.css.map */',
".never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .type-l[_ngcontent-%COMP%]{display:none}.never-collapse-mode[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%]{margin-top:-24px}.add-mode[_ngcontent-%COMP%]   .collapse-btn[_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[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}\n/*# sourceMappingURL=all_work_cards.css.map */"]});
var pPa=function(a){return function(b){var c,d;return(null!=(d=null==(c=b.snapshot[0])?void 0:c.customField)?d:[]).find(function(e){return e.customFieldId===a})}}(1070134);var CT=function(a,b,c,d){rF.call(this);var e=this;this.hackyPrefs=a;this.issueRelationshipsFridge=b;this.issueFridge=c;this.projectSuggestService=d;this.log=console.log.bind(console);this.projectIds$=this.issueRelationshipsFridge.watch(this.hackyPrefs.prefs.id).pipe(C(function(g){var h;return null!=(h=null==g?void 0:g.relatedChildren.map(function(l){return l.targetIssueId}))?h:[]}));this.suggestionCount=3;this.suggestedProjects$=(0,D.combineLatest)([hfc(this.projectSuggestService),cec(this.issueRelationshipsFridge,
this.hackyPrefs.prefs.id,2)]).pipe(C(function(g){g=k(g);var h=g.next().value,l=g.next().value.results.map(function(q){return q.issueId});return h.filter(function(q){return!l.includes(q)})}),$e(this.issueFridge.watchSet));this.addProject=function(g){null!=g&&Kn(e.hackyPrefs,g)}};T(CT,rF);CT.\u0275dir=rF.\u0275dir;CT.\u0275fac=function(a){return new (a||CT)(B(rJ),B(QI),B(JI),B(vJ))};
CT.\u0275cmp=Oc({type:CT,selectors:[["suggested-issue-projects"]],inputs:{disableShowMore:"disableShowMore",suggestionCount:"suggestionCount"},features:[kf],decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["loading",""],[1,"flex-kids-y","gap"],[1,"muted"],["mat-icon-button","","href","http://go/b-learn-project-suggestions","target","_blank","title","Learn more","aria-label","Learn more",1,"small"],["svgIcon","info",1,"icon-s"],[4,"ngFor","ngForOf"],["class","muted",4,"ngIf"],["mat-button","","class",
"gmat-button","title","Show more projects",3,"click",4,"ngIf"],[3,"issueId","addMode"],["mat-button","","title","Show more projects",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(O(0,wPa,10,7,"ng-container",0),R(1,"async"),O(2,xPa,3,0,"ng-template",null,1,gg));if(a&2){var c=Kf(3);E("ngIf",S(1,2,b.suggestedProjects$))("ngIfElse",c)}},dependencies:[Qw,Rw,HB,QA,RA,BT,WM,Xw,dx],styles:["[_nghost-%COMP%] { display: block; }"]});var DT=function(a,b,c){this.dialogRef=a;this.params=c;this.DEFAULTS={};this.data=Object.assign({},this.DEFAULTS,b);this.data.prefilledSearchInput&&""!==this.data.prefilledSearchInput&&(this.userSearchInput=this.data.prefilledSearchInput)};DT.prototype.onEnter=function(){this.onConfirm()};DT.prototype.onEscape=function(){this.dialogRef.close()};
DT.prototype.onConfirm=function(){var a,b=null==(a=this.userSearchInput)?void 0:a.trim();if(null==b?0:b.match(/\d{3,}/))if(null==Sl(b))this.errorMsg="That doesn't look an issue, hotlist, or saved search";else{a:{a=Wva(b);if(null!=a)switch(Sl(b)){case "hotlist":b=Ql(a);break a;case "savedsearch":b=Rl(a);break a;default:b=a;break a}b=void 0}this.dialogRef.close(b)}else this.errorMsg="Please enter an ID. (at least 3 numbers in a row)"};DT.prototype.onCancel=function(){this.dialogRef.close()};
DT.\u0275fac=function(a){return new (a||DT)(B(bB),B(dB),B(rK))};
DT.\u0275cmp=Oc({type:DT,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&L("keydown.escape",function(){return b.onEscape()})},decls:18,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["type","text","mat-input","","placeholder","Enter an ID",1,"search-field",3,"ngModel","keydown.enter","ngModelChange"],["class","color-bad-text margin-s-top",4,"ngIf"],[1,"muted","flex-kids-x","margin-top"],["mat-icon-button","","href","http://go/b-learn-project-add","target","_blank","title",
"Learn more","aria-label","Learn more",1,"small"],["svgIcon","info",1,"icon-s"],["class","suggestions margin-top",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,"color-bad-text","margin-s-top"],[1,"suggestions","margin-top"],[1,"flex-hemmed"],[1,"margin-bottom",3,"suggestionCount","disableShowMore","click"],[3,"suggestionCount","disableShowMore","click"]],
template:function(a,b){a&1&&(F(0,"h2",0),P(1," Add a Project\n"),H(),F(2,"div",1)(3,"input",2),L("keydown.enter",function(){return b.onEnter()})("ngModelChange",function(c){return b.userSearchInput=c}),H(),O(4,yPa,2,1,"p",3),F(5,"div",4)(6,"a",5),I(7,"mat-icon",6),H(),F(8,"p"),P(9,' Add "parent" tracking bugs using their ID. '),I(10,"br"),P(11,' Or, add hotlists and saved searches by URL or with syntax like "hotlist/123456" and "savedsearch-789012". '),H()(),O(12,zPa,9,4,"aside",7),H(),F(13,"div",
8)(14,"button",9),L("click",function(){return b.onCancel()}),P(15," Cancel "),H(),F(16,"button",10),L("click",function(){return b.onConfirm()}),P(17," Confirm "),H()());a&2&&(z(3),E("ngModel",b.userSearchInput),z(1),E("ngIf",b.errorMsg),z(8),E("ngIf",null==b.userSearchInput||0===(null==b.userSearchInput?null:b.userSearchInput.length)),z(4),E("disabled",null==b.userSearchInput||0===b.userSearchInput.length))},dependencies:[Rw,HB,QA,RA,gB,hB,iB,wg,tx,Ax,ZM,CT],styles:["[_nghost-%COMP%]     .suggestions{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;width:900px}[_nghost-%COMP%]     .suggestions suggested-hotlists>.gap, [_nghost-%COMP%]     .suggestions suggested-issue-projects>.gap{gap:unset}[_nghost-%COMP%]     .suggestions .gap>p:first-of-type{margin-bottom:8px}[_nghost-%COMP%]     .suggestions .carded{border:none;margin:0 -24px;padding:8px}\n/*# sourceMappingURL=project_picker_dialog.css.map */",
".search-field[_ngcontent-%COMP%] {\n      height: 32px;\n      width: 100%;\n    }"]});var ET=function(a){this.dialog=a};ET.prototype.open=function(a,b){var c=this;a=void 0===a?{}:a;var d={panelClass:"no-jitter",data:a};return new Promise(function(e){$A(c.dialog.open(DT,d)).subscribe(function(g){null==b||b(g);e(g)})})};ET.\u0275fac=function(a){return new (a||ET)(t(eB))};ET.\u0275prov=yc({token:ET,factory:ET.\u0275fac,providedIn:"root"});var FT=function(){};FT.\u0275fac=function(a){return new (a||FT)};FT.\u0275mod=Qc({type:FT});FT.\u0275inj=zc({imports:[ED,fE,OG]});var uBc=Tg("indicator",[Wg("active-asc, asc",Vg({transform:"translateY(0px)"})),Wg("active-desc, desc",Vg({transform:"translateY(10px)"})),Xg("active-asc <=> active-desc",Ug("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),vBc=Tg("leftPointer",[Wg("active-asc, asc",Vg({transform:"rotate(-45deg)"})),Wg("active-desc, desc",Vg({transform:"rotate(45deg)"})),Xg("active-asc <=> active-desc",Ug("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),wBc=Tg("rightPointer",[Wg("active-asc, asc",Vg({transform:"rotate(45deg)"})),Wg("active-desc, desc",
Vg({transform:"rotate(-45deg)"})),Xg("active-asc <=> active-desc",Ug("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),xBc=Tg("arrowOpacity",[Wg("desc-to-active, asc-to-active, active",Vg({opacity:1})),Wg("desc-to-hint, asc-to-hint, hint",Vg({opacity:.54})),Wg("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Vg({opacity:0})),Xg("* => asc, * => desc, * => active, * => hint, * => void",Ug("0ms")),Xg("* <=> *",Ug("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),yBc=Tg("arrowPosition",[Xg("* => desc-to-hint, * => desc-to-active",
Ug("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Vg({transform:"translateY(-25%)"}),Vg({transform:"translateY(0)"})]})),Xg("* => hint-to-desc, * => active-to-desc",Ug("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Vg({transform:"translateY(0)"}),Vg({transform:"translateY(25%)"})]})),Xg("* => asc-to-hint, * => asc-to-active",Ug("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Vg({transform:"translateY(25%)"}),Vg({transform:"translateY(0)"})]})),Xg("* => hint-to-asc, * => active-to-asc",
Ug("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Vg({transform:"translateY(0)"}),Vg({transform:"translateY(-25%)"})]})),Wg("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Vg({transform:"translateY(0)"})),Wg("hint-to-desc, active-to-desc, desc",Vg({transform:"translateY(-25%)"})),Wg("hint-to-asc, active-to-asc, asc",Vg({transform:"translateY(25%)"}))]),zBc=Tg("allowChildren",[Xg("* <=> *",[Zg("@*",Yg())])]);var GT=function(){this.changes=new D.Subject};GT.\u0275fac=function(a){return new (a||GT)};GT.\u0275prov=yc({token:GT,factory:GT.\u0275fac,providedIn:"root"});var ABc={provide:GT,deps:[[new ov,new pv,GT]],useFactory:function(a){return a||new GT}};var BBc=new ad("MAT_SORT_DEFAULT_OPTIONS"),CBc=Foa(vh(function(){})),HT=function(a){var b=CBc.call(this)||this;b._defaultOptions=a;b.sortables=new Map;b._stateChanges=new D.Subject;b.start="asc";b._direction="";b.sortChange=new kw;return b};T(HT,CBc);f=HT.prototype;f.register=function(a){this.sortables.set(a.id,a)};f.deregister=function(a){this.sortables.delete(a.id)};
f.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})};f.ngOnInit=function(){this._markInitialized()};
f.ngOnChanges=function(){this._stateChanges.next()};f.ngOnDestroy=function(){this._stateChanges.complete()};sh.Object.defineProperties(HT.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return this._direction},set:function(a){this._direction=a}},disableClear:{configurable:!0,enumerable:!0,get:function(){return this._disableClear},set:function(a){this._disableClear=Fg(a)}}});HT.\u0275fac=function(a){return new (a||HT)(B(BBc,8))};
HT.\u0275dir=Sc({type:HT,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[kf,gd]});var DBc=vh(function(){}),IT=function(a,b,c,d,e,g,h,l){var q=DBc.call(this)||this;q._intl=a;q._changeDetectorRef=b;q._sort=c;q._columnDef=d;q._focusMonitor=e;q._elementRef=g;q._ariaDescriber=h;q._showIndicatorHint=!1;q._viewState={};q._arrowDirection="";q._disableViewStateAnimation=!1;q.arrowPosition="after";q._sortActionDescription="Sort";if(null==l?0:l.arrowPosition)q.arrowPosition=null==l?void 0:l.arrowPosition;q._handleStateChanges();return q};T(IT,DBc);f=IT.prototype;
f.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)};
f.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())})};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._sort.deregister(this);this._rerenderSubscription.unsubscribe()};
f._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})))};f._setAnimationTransitionState=function(a){this._viewState=a||{};this._disableViewStateAnimation&&(this._viewState={toState:a.toState})};
f._toggleOnInteraction=function(){this._sort.sort(this);if("hint"===this._viewState.toState||"active"===this._viewState.toState)this._disableViewStateAnimation=!0};f._handleClick=function(){this._isDisabled()||this._sort.sort(this)};f._handleKeydown=function(a){this._isDisabled()||32!==a.keyCode&&13!==a.keyCode||(a.preventDefault(),this._toggleOnInteraction())};f._isSorted=function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)};
f._getArrowDirectionState=function(){return(this._isSorted()?"active-":"")+this._arrowDirection};f._getArrowViewState=function(){var a=this._viewState.fromState;return(a?a+"-to-":"")+this._viewState.toState};f._updateArrowDirection=function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start};f._isDisabled=function(){return this._sort.disabled||this.disabled};
f._getAriaSortAttribute=function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"};f._renderArrow=function(){return!this._isDisabled()||this._isSorted()};f._updateSortActionDescription=function(a){if(this._sortButton){var b;null==(b=this._ariaDescriber)||pz(b,this._sortButton,this._sortActionDescription);var c;null==(c=this._ariaDescriber)||c.describe(this._sortButton,a)}this._sortActionDescription=a};
f._handleStateChanges=function(){var a=this;this._rerenderSubscription=(0,D.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()})};sh.Object.defineProperties(IT.prototype,{sortActionDescription:{configurable:!0,enumerable:!0,get:function(){return this._sortActionDescription},set:function(a){this._updateSortActionDescription(a)}},disableClear:{configurable:!0,enumerable:!0,get:function(){return this._disableClear},set:function(a){this._disableClear=Fg(a)}}});
IT.\u0275fac=function(a){return new (a||IT)(B(GT),B(Kw),B(HT,8),B("MAT_SORT_HEADER_COLUMN_DEF",8),B(by),B(Dd),B(oz,8),B(BBc,8))};
IT.\u0275cmp=Oc({type:IT,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(a,b){a&1&&L("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&&(of("aria-sort",b._getAriaSortAttribute()),xf("mat-sort-header-disabled",b._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header",
"id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[kf],attrs:["mat-sort-header",""],ngContentSelectors:["*"],decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],
[1,"mat-sort-header-pointer-middle"]],template:function(a,b){a&1&&(Ff(),F(0,"div",0)(1,"div",1),Gf(2),H(),O(3,APa,6,6,"div",2),H());a&2&&(xf("mat-sort-header-sorted",b._isSorted())("mat-sort-header-position-before","before"===b.arrowPosition),of("tabindex",b._isDisabled()?null:0)("role",b._isDisabled()?null:"button"),z(3),E("ngIf",b._renderArrow()))},dependencies:[Rw],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],
encapsulation:2,data:{animation:[uBc,vBc,wBc,xBc,yBc,zBc]},changeDetection:0});var EBc="focus-indicator title type team id assignee status menu".split(" "),JT=function(a,b,c){rF.call(this);var d=this;this.issueFridge=a;this.router=b;this.domSafe=c;this.issueIds$=new D.BehaviorSubject([]);this.menuItemFactory=function(){return[]};this.internalFilters=new MK;this.tableColumns=EBc.slice();this.activeSort$=new D.BehaviorSubject(void 0);this.allRows$=this.issueIds$.pipe(tn(),C(function(e){return e.map(function(g){return{id:g,issue$:d.issueFridge.watch(g)}})}),Xe({refCount:!0,bufferSize:1}));
this.allIssuesAreLoaded$=this.allRows$.pipe($e(function(e){return(0,D.combineLatest)(e.map(function(g){return g.issue$.pipe(Ze(null))}))}),C(function(e){return e.every(function(g){return null!==g})}));this.unarchivedRows$=this.allRows$.pipe(Hia(this.allIssuesAreLoaded$),C(function(e){e=k(e);var g=e.next().value;return e.next().value?g.filter(function(h){var l;return!(null==(l=Kl(h))?0:l.isArchived)}):g}));this.sortRows=(0,D.pipe)(Hia(this.activeSort$,this.allIssuesAreLoaded$),C(function(e){e=k(e);
var g=e.next().value,h=e.next().value;return e.next().value?YPa(g,h):g}));this.filterRows=(0,D.pipe)(Hia(this.internalFilters.value$),$e(function(e){e=k(e);var g=e.next().value,h=e.next().value;return 0===h.size?(0,D.of)(g):(0,D.combineLatest)(g.map(function(l){return l.issue$})).pipe(C(function(l){return g.filter(function(q,v){return!l[v]||aJa(l[v],h)})}))}));this.rows$=this.unarchivedRows$.pipe(this.filterRows,this.sortRows);this.filteredRowCount$=(0,D.combineLatest)([this.unarchivedRows$,this.rows$]).pipe(C(function(e){var g=
k(e);e=g.next().value;g=g.next().value;return e.length-g.length}),Ne());this.trackBy=function(e,g){return g.id};this.correctedDisplayedRows=new eg};T(JT,rF);JT.\u0275dir=rF.\u0275dir;f=JT.prototype;f.getMenuItems=function(a){var b=this;return[{type:"action",label:"Go to issue",action:function(c){b.navigateToIssue(c,a)},title:"Go to issue",icon:"arrow-forward"}].concat(cd(this.menuItemFactory(a)))};f.ngOnInit=function(){this.initialSort&&this.initialSort.direction&&this.activeSort$.next(this.initialSort)};
f.ngAfterViewInit=function(){var a=this;(0,D.combineLatest)([this.rows$,this.displayedRows.changes.pipe(Ze(void 0))]).pipe(af(this.destroyed$)).subscribe(function(b){b=k(b).next().value;var c=new Map(a.displayedRows.map(function(d){return[d.row.id,d]}));b=b.map(function(d){return c.get(d.id)}).filter(Boolean);a.correctedDisplayedRows.reset(b);$f(a.correctedDisplayedRows)});this.focusManager=yz(new amc(this.correctedDisplayedRows,XPa))};
f.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?Zn(this.domSafe,b):ls(this.router,b))};f.onRowKeydown=function(a,b){this.focusManager.onKeydown(b)};f.onSortChange=function(a){this.activeSort$.next(a)};f.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):em(a)};
sh.Object.defineProperties(JT.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(null!=a?a:[])}},filters:{configurable:!0,enumerable:!0,set:function(a){this.internalFilters.reset(null!=a?a:[])}}});JT.\u0275fac=function(a){return new (a||JT)(B(JI),B(IH),B(vL))};
JT.\u0275cmp=Oc({type:JT,selectors:[["b-issues-table"]],viewQuery:function(a,b){a&1&&bg(yN,5);if(a&2){var c;ag(c=dg())&&(b.displayedRows=c)}},inputs:{issueIds:"issueIds",menuItemFactory:"menuItemFactory",initialSort:"initialSort",issueUrlFactory:"issueUrlFactory",filters:"filters",tableColumns:"tableColumns"},features:[kf],decls:35,vars:10,consts:[["mat-table","","matSort","",1,"full-width",3,"dataSource","trackBy","matSortActive","matSortDirection","matSortChange"],["matColumnDef","focus-indicator"],
["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","type"],["mat-header-cell","","mat-sort-header","type",4,"matHeaderCellDef"],["matColumnDef","assignee"],["mat-header-cell","","mat-sort-header","assignee",4,"matHeaderCellDef"],["matColumnDef","reporter"],["mat-header-cell","","mat-sort-header","reporter",4,"matHeaderCellDef"],["matColumnDef","status"],["mat-header-cell",
"","mat-sort-header","status",4,"matHeaderCellDef"],["matColumnDef","team"],["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime",4,"matHeaderCellDef"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["tabindex","-1","mat-cell",""],["mat-cell",""],[3,"id"],[3,"issue","issueUrlFactory"],
["mat-header-cell","","mat-sort-header","type"],[3,"issue"],["mat-header-cell","","mat-sort-header","assignee"],["mat-header-cell","","mat-sort-header","reporter"],["mat-header-cell","","mat-sort-header","status"],["mat-header-cell","","mat-sort-header","createdTime"],["buttonLabel","More options",3,"menuItems","click"],["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"row","click","mouseup","focusin","keydown"]],template:function(a,b){a&1&&(F(0,"table",0),L("matSortChange",
function(e){return b.onSortChange(e)}),R(1,"async"),R(2,"async"),J(3,1),O(4,BPa,1,0,"th",2),O(5,CPa,1,0,"td",3),K(),J(6,4),O(7,DPa,2,0,"th",2),O(8,EPa,2,1,"td",5),K(),J(9,6),O(10,FPa,2,0,"th",2),O(11,GPa,3,4,"td",5),K(),J(12,7),O(13,HPa,2,0,"th",8),O(14,IPa,3,3,"td",5),K(),J(15,9),O(16,JPa,2,0,"th",10),O(17,KPa,3,3,"td",5),K(),J(18,11),O(19,LPa,2,0,"th",12),O(20,MPa,3,3,"td",5),K(),J(21,13),O(22,NPa,2,0,"th",14),O(23,OPa,3,3,"td",5),K(),J(24,15),O(25,PPa,2,0,"th",2),O(26,QPa,3,3,"td",5),K(),J(27,
16),O(28,RPa,2,0,"th",17),O(29,SPa,3,3,"td",5),K(),J(30,18),O(31,TPa,1,0,"th",2),O(32,UPa,2,1,"td",5),K(),O(33,VPa,1,0,"tr",19),O(34,WPa,1,1,"tr",20),H());if(a&2){var c,d;E("dataSource",b.rows$)("trackBy",b.trackBy)("matSortActive",null!==(c=null==(c=S(1,6,b.activeSort$))?null:c.active)&&void 0!==c?c:"")("matSortDirection",null!==(d=null==(d=S(2,8,b.activeSort$))?null:d.direction)&&void 0!==d?d:"");z(33);E("matHeaderRowDef",b.tableColumns);z(1);E("matRowDefColumns",b.tableColumns)}},dependencies:[HT,
IT,JM,BM,FM,CM,AM,GM,DM,EM,HM,IM,VL,HL,IL,qN,JL,KL,NL,TL,UL,WL,yN,Xw],styles:[".mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}"],
changeDetection:0});var KT=function(){};KT.\u0275fac=function(a){return new (a||KT)};KT.\u0275mod=Qc({type:KT});KT.\u0275inj=zc({providers:[ABc],imports:[ex,hA]});var LT=function(){};LT.\u0275fac=function(a){return new (a||LT)};LT.\u0275mod=Qc({type:LT});LT.\u0275inj=zc({imports:[nz,dz,Ny,OG,Px,ED,KT,QO,VN,fE,Qx,OH,kT,yO,FT,AO,DP,CO,zN]});var FBc=["ASSIGNMENT","RESPONSE","CLOSURE"],GBc=new Map([["ASSIGNMENT","Assignment"],["RESPONSE","Response"],["CLOSURE","Closure"]]),HBc=new Map([["name","Name"],["description","Description"],["parentId","Parent ID"],["elements","SLO rules"]]),hhb=new Map([["DAY_TYPE_UNSPECIFIED","Calendar"],["CALENDAR","Calendar"],["BUSINESS","Business"]]);var dj=function(a){this.internalArray_=m(a)};T(dj,p);dj.prototype.getComponentId=function(){return qj(this,1)};dj.prototype.setComponentId=function(a){return Jb(this,1,a)};dj.prototype.getEffectiveSloEditPolicy=function(){return Zi(this,2,0)};dj.prototype.toObject=function(){return IBc(this)};var IBc=function(a){if(null!=a)return r(a),{componentId:qj(a,1),effectiveSloEditPolicy:Zi(a,2,0)}};var JBc=function(a){this.internalArray_=m(a,0,JBc.messageId)};T(JBc,p);JBc.prototype.toObject=function(){if(null!=this){r(this);var a={componentSloEditPolicy:IBc(X(this,dj,1))}}else a=void 0;return a};JBc.messageId="b.GetComponentSloEditPolicyResponse";var MT=function(a){this.internalArray_=m(a,0,MT.messageId)};T(MT,p);MT.prototype.getTeamSloEditPolicy=function(){return X(this,XE,1)};MT.prototype.toObject=function(){if(null!=this){r(this);var a={teamSloEditPolicy:e8b(this.getTeamSloEditPolicy())}}else a=void 0;return a};MT.messageId="b.GetTeamSloEditPolicyResponse";var NT=function(a){this.internalArray_=m(a,0,NT.messageId)};T(NT,p);NT.repeatedFields_=[1];NT.prototype.toObject=function(){if(null!=this){r(this);var a={slosList:Ub(kj(this,mj,1),i8b)}}else a=void 0;return a};NT.messageId="b.SloSearchResponse";var OT=function(a){this.internalArray_=m(a,0,OT.messageId)};T(OT,p);OT.prototype.getTeamSloEditPolicy=function(){return X(this,XE,1)};OT.prototype.toObject=function(){if(null!=this){r(this);var a={teamSloEditPolicy:e8b(this.getTeamSloEditPolicy())}}else a=void 0;return a};OT.messageId="b.UpdateTeamSloEditPolicyResponse";var PT=function(a,b){this.activeSession=a;this.executor=b};f=PT.prototype;f.get=function(a){return this.executor.get({url:"action/slos/"+a,responseConstructor:mj}).pipe(C(lj))};f.getOwnedSlos=function(){return this.search("owner:"+this.activeSession.getUserEmail()+" include_archived:true")};f.search=function(a){return this.executor.get({url:"action/slos",options:{params:{query:a}},responseConstructor:NT}).pipe(C(function(b){var c;return(null!=(c=kj(b,mj,1))?c:[]).map(lj)}))};
f.create=function(a){a=Rra(a);return this.executor.post({url:"action/slos",body:a,responseConstructor:mj}).pipe(C(lj))};f.update=function(a){var b=a.sloId;a=Rra(a);return this.executor.post({url:"action/slos/"+b,body:a,responseConstructor:mj}).pipe(C(lj))};PT.\u0275fac=function(a){return new (a||PT)(t(Bs),t(hE))};PT.\u0275prov=yc({token:PT,factory:PT.\u0275fac,providedIn:"root"});
var RT=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})};f=RT.prototype;f.get=function(a){var b=this.slosCache.get(a);return void 0!==b?b:this.slosCache.put(String(a),(0,D.firstValueFrom)(this.observableSlosService.get(a)))};f.getOwnedSlos=function(){return(0,D.firstValueFrom)(this.observableSlosService.getOwnedSlos())};f.search=function(a){return(0,D.firstValueFrom)(this.observableSlosService.search(a))};
f.create=function(a){return(0,D.firstValueFrom)(this.observableSlosService.create(a))};f.update=function(a){return(0,D.firstValueFrom)(this.observableSlosService.update(a))};RT.\u0275fac=function(a){return new (a||RT)(t(ZH),t(PT))};RT.\u0275prov=yc({token:RT,factory:RT.\u0275fac,providedIn:"root"});var ST=function(a,b){this.sloStatusHelpersService=a;this.dateFormatter=b;this.timeDisplayText="--";this.objectiveDisplayText=null;this.iconName="slo-status-no-data"};ST.prototype.getIconName=function(a){return KBc.has(a)?KBc.get(a):"slo-status-no-data"};
ST.prototype.setDisplayValues=function(a,b){this.iconName=this.getIconName(a);b=null!==b?Pjc(1E3*b).match(/^(\d+\s\D+)(?:\s|$)/)[1]:"";switch(a){case "COMPLETED":this.timeDisplayText="ASSIGNMENT"===this.sloMetricDescription?"Issue assigned":"RESPONSE"===this.sloMetricDescription?"Response recorded":"CLOSURE"===this.sloMetricDescription?"Issue closed":"SLO fulfilled";break;case "SNOOZED_NEAR":case "SNOOZED_HEALTHY":case "HEALTHY":case "NEAR":this.timeDisplayText="ASSIGNMENT"===this.sloMetricDescription?
b+" to assign":"RESPONSE"===this.sloMetricDescription?b+" to respond":"CLOSURE"===this.sloMetricDescription?b+" to close":b+" left";break;case "OUT_OF_SLO":this.timeDisplayText="ASSIGNMENT"===this.sloMetricDescription?b+" overdue for assignment":"RESPONSE"===this.sloMetricDescription?b+" overdue for response":"CLOSURE"===this.sloMetricDescription?b+" overdue for closure":b+" overdue";break;case "NO_DATA":this.timeDisplayText="ASSIGNMENT"===this.sloMetricDescription?"No assignment SLO":"RESPONSE"===
this.sloMetricDescription?"No response SLO":"CLOSURE"===this.sloMetricDescription?"No closure SLO":"--";break;default:Kh("unknown status type: "+a)}};
ST.prototype.ngOnChanges=function(){var a=Date.now()/1E3;if(this.sloBounds&&wK(this.sloBounds)){var b=this.sloBounds.targetTime.seconds,c=b-this.sloBounds.startTime.seconds;c?this.objectiveDisplayText=Pjc(1E3*c):this.objectiveDisplayText=null;c=this.sloBounds;wK(c)&&c.endTime&&0!==c.endTime.seconds&&c.endTime.seconds<=Date.now()/1E3?this.setDisplayValues("COMPLETED",a-this.sloBounds.endTime.seconds):b<a?this.setDisplayValues("OUT_OF_SLO",a-b):(c=this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime),
a=b-a,this.setDisplayValues(259200<a?c?"SNOOZED_HEALTHY":"HEALTHY":c?"SNOOZED_NEAR":"NEAR",a))}else this.setDisplayValues("NO_DATA",null),this.objectiveDisplayText=null};ST.\u0275fac=function(a){return new (a||ST)(B(vK),B(EL))};
ST.\u0275cmp=Oc({type:ST,selectors:[["b-slo-time-indicator"]],inputs:{sloBounds:"sloBounds",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSnoozeDetails:"includeSnoozeDetails",sloMetricDescription:"sloMetricDescription",includeObjective:"includeObjective"},features:[gd],decls:4,vars:6,consts:[[3,"ngClass","svgIcon"],["matTooltipShowDelay","250",1,"slo-time-indicator-text",3,"matTooltip","matTooltipDisabled"],[1,"slo-status-text"]],template:function(a,b){a&1&&(I(0,"mat-icon",0),F(1,"span",
1)(2,"span",2),P(3),H()());a&2&&(E("ngClass",b.iconName)("svgIcon",b.iconName),of("aria-label","--"===b.timeDisplayText?"No SLO data":""),z(1),Hf("matTooltip","",b.objectiveDisplayText," total"),E("matTooltipDisabled",!b.includeObjective||!b.objectiveDisplayText),z(2),Mf(b.timeDisplayText))},dependencies:[Pw,HB,lD],styles:[".slo-time-indicator-text[_ngcontent-%COMP%]   span.slo-status-text[_ngcontent-%COMP%]{display:inline-block}mat-icon[_ngcontent-%COMP%]{margin-right:5px;width:18px;height:18px;flex-shrink:0}mat-icon.slo-status-snoozed-near-slo[_ngcontent-%COMP%], mat-icon.slo-status-near[_ngcontent-%COMP%]{color:#fa7b17;color:var(--slo-near)}mat-icon.slo-status-snoozed-healthy[_ngcontent-%COMP%], mat-icon.slo-status-healthy[_ngcontent-%COMP%], mat-icon.slo-status-no-data[_ngcontent-%COMP%], mat-icon.slo-status-completed[_ngcontent-%COMP%]{color:#80868b;color:var(--slo-healthy)}mat-icon.slo-status-out-of-slo[_ngcontent-%COMP%]{color:#ea4335;color:var(--slo-overdue)}[_nghost-%COMP%]{display:inline-flex}"],
changeDetection:0});var KBc=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 TT=function(a){this.sloStatusHelpersService=a;this.includeNoSlo=!1};TT.prototype.ngOnInit=function(){LBc(this);this.hasSlo=!!this.sloStatus&&ghc(this.sloStatus)};TT.prototype.ngOnChanges=function(){LBc(this)};var LBc=function(a){a.sloStatus&&(a.assignmentSlo=MBc(xi(a.sloStatus.assignmentBounds)),a.responseSlo=MBc(xi(a.sloStatus.responseBounds)),a.closureSlo=MBc(xi(a.sloStatus.closureBounds)))};TT.prototype.isSloStartTimeApplied=function(){return this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime)};
var MBc=function(a){if(wK(a))return a};TT.\u0275fac=function(a){return new (a||TT)(B(vK))};
TT.\u0275cmp=Oc({type:TT,selectors:[["b-slo-status-summary"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeNoSlo:"includeNoSlo",onlyShowMetric:"onlyShowMetric"},features:[gd],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&&(O(0,ZPa,2,4,"div",0),O(1,$Pa,2,4,"div",0),O(2,aQa,2,4,"div",0));a&2&&(E("ngIf",(b.includeNoSlo||b.assignmentSlo)&&(!b.onlyShowMetric||"ASSIGNMENT"==b.onlyShowMetric)),z(1),E("ngIf",(b.includeNoSlo||b.responseSlo)&&(!b.onlyShowMetric||"RESPONSE"==b.onlyShowMetric)),z(1),E("ngIf",(b.includeNoSlo||b.closureSlo)&&(!b.onlyShowMetric||"CLOSURE"==b.onlyShowMetric)))},dependencies:[Rw,ST],encapsulation:2,changeDetection:0});var UT=function(a,b,c,d){this.sloStatusHelpersService=a;this.paths=b;this.analytics=c;this.sloApi=d};UT.prototype.ngOnInit=function(){this.hasSlo=!!this.sloStatus&&hhc(this.sloStatus,this.onlyShowMetric);"0"!==this.sloId?(this.editSloLink=this.paths.editSlo(this.sloId),NBc(this)):this.editSloLink=null};UT.prototype.trackOpenSlo=function(){this.analytics.trackEvent(ao.EDIT_SLO,"open","fromSloStatusCard")};
var NBc=function(a){a.sloApi.get(a.sloId).then(function(b){a.sloName=b.name}).catch(function(){a.sloName=null})};UT.\u0275fac=function(a){return new (a||UT)(B(vK),B(QH),B(EI),B(RT))};
UT.\u0275cmp=Oc({type:UT,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&&(Ff(),F(0,"span",0),Gf(1),H(),F(2,"onedev-hovercard",null,1)(4,"div",2)(5,"div",3)(6,"div",4),O(7,bQa,2,3,"div",5),O(8,eQa,3,2,"div",6),O(9,hQa,4,2,"span",7),H()()()());if(a&2){var c=Kf(3);E("onedevHovercardTrigger",c);z(7);E("ngIf",b.hasSlo);z(1);E("ngIf",!b.hasSlo);z(1);E("ngIf",b.editSloLink)}},dependencies:[Rw,UK,ZK,TT],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 VT=function(a){this.sloStatusHelpersService=a;this.includeObjective=this.includeSloMetric=!1;this.firstOpenSlo=null;this.firstOpenSloMetric=""};VT.prototype.ngOnInit=function(){OBc(this)};VT.prototype.ngOnChanges=function(a){(a.sloStatus||a.includeSloMetric)&&OBc(this)};var OBc=function(a){var b=ihc(a.sloStatus);b?(a.firstOpenSlo=b.sloBounds,a.includeSloMetric?a.firstOpenSloMetric=b.sloMetric:a.firstOpenSloMetric=""):(a.firstOpenSlo=null,a.firstOpenSloMetric="")};
VT.\u0275fac=function(a){return new (a||VT)(B(vK))};
VT.\u0275cmp=Oc({type:VT,selectors:[["b-aggregated-slo-status-indicator"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSloMetric:"includeSloMetric",includeObjective:"includeObjective"},features:[gd],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&&E("sloBounds",b.firstOpenSlo)("sloMetricDescription",b.firstOpenSloMetric)("sloStartTime",
b.sloStartTime)("sloEndTime",b.sloEndTime)("includeObjective",b.includeObjective)},dependencies:[ST],encapsulation:2,changeDetection:0});var WT=function(){};WT.\u0275fac=function(a){return new (a||WT)};WT.\u0275mod=Qc({type:WT});WT.\u0275inj=zc({imports:[OG,fE]});var XT=function(){};XT.\u0275fac=function(a){return new (a||XT)};XT.\u0275mod=Qc({type:XT});XT.\u0275inj=zc({imports:[OG,WT]});var YT=function(){};YT.\u0275fac=function(a){return new (a||YT)};YT.\u0275mod=Qc({type:YT});YT.\u0275inj=zc({imports:[OG,gO,XT]});var ZT=function(){};ZT.\u0275fac=function(a){return new (a||ZT)};ZT.\u0275mod=Qc({type:ZT});ZT.\u0275inj=zc({imports:[OG,WT]});var PBc=function(a,b){this.dialogRef=b;this.supportedColumns=plc;this.currentColumns=[];this.updatedColumns=this.currentColumns=a.currentColumns};PBc.\u0275fac=function(a){return new (a||PBc)(B(dB),B(bB))};
PBc.\u0275cmp=Oc({type:PBc,selectors:[["customize-columns-dialog"]],decls:9,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["class","padded-s-y",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"click"],[1,"padded-s-y"],[1,"margin-right",3,"checked","change"]],template:function(a,b){a&1&&(F(0,"h1",0),P(1,"Show or Hide Columns"),H(),F(2,"div",1)(3,"div"),O(4,iQa,3,2,"div",2),R(5,"keyvalue"),H()(),
F(6,"div",3)(7,"button",4),L("click",function(){b.dialogRef.close(b.updatedColumns)}),P(8," Save "),H()());a&2&&(z(4),E("ngForOf",S(5,1,b.supportedColumns)))},dependencies:[Qw,QA,gB,hB,iB,$O,bx],encapsulation:2});var vQa="QA"===vl().config.environmentType?82860:1298542,$T=function(a,b,c,d){var e=this;this.hackyPrefs=a;this.issueFridge=b;this.issueFrFridge=c;this.data=d;this.makePie=Ova;this.getEndDate=uQa;this.Number=Number;this.makeCritiqueUrl=Nva;this.makeScreenshotViewUrl=wQa;this.log=console.log.bind(console);this.issueId$=new D.ReplaySubject(1);this.issue$=this.issueId$.pipe($e(this.issueFridge.watchOne));this.issueFr$=this.issueId$.pipe($e(this.issueFrFridge.watchOne));this.projectData$=this.issueId$.pipe($e(function(g){return dac(e.data,
[g])}),Xe({refCount:!0,bufferSize:1}))};sh.Object.defineProperties($T.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});$T.\u0275fac=function(a){return new (a||$T)(B(rJ),B(JI),B(MI),B(oG))};
$T.\u0275cmp=Oc({type:$T,selectors:[["issue-as-immersed-card"]],inputs:{issueId:"issueId"},decls:2,vars:3,consts:[["class","carded bg-main",3,"collapsed","click",4,"ngIf"],[1,"carded","bg-main",3,"click"],[1,"flex-kids-x"],[1,"type-l","line-clamp-3"],[1,"subtle-link",3,"href"],[1,"symbol","arrow",3,"click"],[1,"muted","item-id"],["class","margin-left-auto flex-kids-x align-items-center","tabIndex","0",3,"click",4,"ngIf"],["class","flex-kids-x align-items-center gap stats margin-s-top",3,"click",4,
"ngIf"],[1,"margin-s-top"],[4,"ngIf"],["tabIndex","0",1,"margin-left-auto","flex-kids-x","align-items-center",3,"click"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],[3,"email",4,"ngFor","ngForOf"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[3,"email"],[1,"flex-kids-x",
"align-items-center","gap","stats","margin-s-top",3,"click"],[3,"issuePriority"],["href","#"],[1,"muted",3,"click"]],template:function(a,b){a&1&&(O(0,sQa,17,14,"div",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.issue$))},dependencies:[Qw,Rw,zL,wJ,Xw,dx],styles:['[_nghost-%COMP%]{display:block}h4[_ngcontent-%COMP%]   [mat-icon-button][_ngcontent-%COMP%]{margin-top:-4px;margin-bottom:-4px}b-user-image[_ngcontent-%COMP%]{margin-right:-8px;-webkit-transition:margin .1s ease-in-out;transition:margin .1s ease-in-out}[_ngcontent-%COMP%]:focus   b-user-image[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]     .user-avatar img{box-shadow:0 0 0 1px var(--divider),0 0 0 3px var(--surface-default)}b-user-image[_ngcontent-%COMP%]:has(img[src="https://lh3.googleusercontent.com/a/default-user=s32-p-k"]){display:none}.collapsed[_ngcontent-%COMP%]   .item-id[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed-stats[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .collapsed-stats[_ngcontent-%COMP%]{display:block}.symbol[_ngcontent-%COMP%]{display:inline-block;font-style:normal;vertical-align:middle}.symbol.arrow[_ngcontent-%COMP%]{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid transparent;border-top-color:#80868b;border-top-color:var(--gfx-muted)}\n/*# sourceMappingURL=issue_as_immersed_card.css.map */',
".never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .type-l[_ngcontent-%COMP%]{display:none}.never-collapse-mode[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%]{margin-top:-24px}.add-mode[_ngcontent-%COMP%]   .collapse-btn[_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[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}\n/*# sourceMappingURL=all_work_cards.css.map */"]});
var tQa=function(a){return function(b){var c,d;return(null!=(d=null==(c=b.snapshot[0])?void 0:c.customField)?d:[]).find(function(e){return e.customFieldId===a})}}(1070134);var QBc=new ad("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}});new ad("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1,hideIcon:!1}}});var RBc=0,SBc=wh(th(uh(vh(function(a){this._elementRef=a})))),aU=function(a,b,c,d,e,g,h){a=SBc.call(this,a)||this;a._focusMonitor=b;a._changeDetectorRef=c;a.defaults=e;a._onChange=function(){};a._onTouched=function(){};a._required=!1;a._checked=!1;a.name=null;a.labelPosition="after";a.ariaLabel=null;a.ariaLabelledby=null;a._hideIcon=!1;a.change=new kw;a.toggleChange=new kw;a.tabIndex=parseInt(d)||0;a.color=a.defaultColor=e.color||"accent";a._noopAnimations="NoopAnimations"===g;a.id=a._uniqueId=h+
++RBc;var l;a._hideIcon=null!=(l=e.hideIcon)?l:!1;return a};T(aU,SBc);f=aU.prototype;f.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()})})};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};
f.writeValue=function(a){this.checked=!!a};f.registerOnChange=function(a){this._onChange=a};f.registerOnTouched=function(a){this._onTouched=a};f.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck()};f.toggle=function(){this.checked=!this.checked;this._onChange(this.checked)};f._emitChangeEvent=function(){this._onChange(this.checked);this.change.emit(this._createChangeEvent(this.checked))};
sh.Object.defineProperties(aU.prototype,{required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=Fg(a)}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){this._checked=Fg(a);this._changeDetectorRef.markForCheck()}},hideIcon:{configurable:!0,enumerable:!0,get:function(){return this._hideIcon},set:function(a){this._hideIcon=Fg(a)}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+
"-input"}}});aU.\u0275fac=function(){Hd()};aU.\u0275dir=Sc({type:aU,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked",hideIcon:"hideIcon"},outputs:{change:"change",toggleChange:"toggleChange"},features:[kf]});var bU=function(){};bU.\u0275fac=function(a){return new (a||bU)};bU.\u0275mod=Qc({type:bU});bU.\u0275inj=zc({});var TBc=["input"],UBc=function(a){return{enterDuration:a}},VBc={provide:gx,useExisting:Ec(function(){return cU}),multi:!0},WBc=function(a,b){this.source=a;this.checked=b},cU=function(a,b,c,d,e,g){return aU.call(this,a,b,c,d,e,g,"mat-slide-toggle-")||this};T(cU,aU);cU.\u0275dir=aU.\u0275dir;f=cU.prototype;f._createChangeEvent=function(a){return new WBc(this,a)};
f._onChangeEvent=function(a){a.stopPropagation();this.toggleChange.emit();this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())};f._onInputClick=function(a){a.stopPropagation()};f.focus=function(a,b){b?cy(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};f._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};
cU.\u0275fac=function(a){return new (a||cU)(B(Dd),B(by),B(Kw),wd("tabindex"),B(QBc),B(wv,8))};
cU.\u0275cmp=Oc({type:cU,selectors:[["mat-slide-toggle"]],viewQuery:function(a,b){a&1&&bg(TBc,5);if(a&2){var c;ag(c=dg())&&(b._inputElement=c.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(a,b){a&2&&(Df("id",b.id),of("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),xf("mat-checked",b.checked)("mat-disabled",b.disabled)("mat-slide-toggle-label-before","before"==b.labelPosition)("_mat-animation-noopable",b._noopAnimations))},inputs:{disabled:"disabled",
disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[Of([VBc]),kf],ngContentSelectors:["*"],decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple",
"mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(a,b){a&1&&(Ff(),F(0,"label",0,1)(2,"span",2)(3,"input",3,4),L("change",function(e){return b._onChangeEvent(e)})("click",function(e){return b._onInputClick(e)}),H(),F(5,"span",5),I(6,"span",6),F(7,"span",
7),I(8,"span",8),H()()(),F(9,"span",9,10),L("cdkObserveContent",function(){return b._onLabelTextChange()}),F(11,"span",11),P(12,"\u00a0"),H(),Gf(13),H()());if(a&2){var c=Kf(1),d=Kf(10);of("for",b.inputId);z(2);xf("mat-slide-toggle-bar-no-side-margin",!d.textContent||!d.textContent.trim());z(1);E("id",b.inputId)("required",b.required)("tabIndex",b.tabIndex)("checked",b.checked)("disabled",b.disabled);of("name",b.name)("aria-checked",b.checked)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",
b.ariaDescribedby);z(4);E("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Rf(18,UBc,b._noopAnimations?0:150))}},dependencies:[rA,kz],styles:['.mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}\n'],
encapsulation:2,changeDetection:0});var dU=function(a,b){this.queryIssues=a;this.hackyPrefs=b;this.selfReference="assigned-to-me";this.hideAssignedSetting=!1;var c;this.isAssignedToMeOnly=null!=(c=this.hackyPrefs.prefs.showAssignedToMeOnly)?c:!1;this.columnsToDisplay=rac.slice();this.myWorkIssueIds$=(0,D.of)([])};
dU.prototype.ngOnInit=function(){null!=this.assignedOnly&&(this.selfReference=this.assignedOnly?"assigned-to-me":"recent-stuff-i-follow",this.isAssignedToMeOnly=this.assignedOnly,this.hideAssignedSetting=!0);this.myWorkIssueIds$=XBc(this,this.isAssignedToMeOnly).pipe(C(function(a){return a.map(function(b){return b.issueId})}))};dU.prototype.isCollapsed=function(){return this.prefs.collapsed[this.selfReference]};dU.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed(this.selfReference)};
var xQa=function(a,b){tp(a.hackyPrefs,{showAssignedToMeOnly:b});a.myWorkIssueIds$=XBc(a,b).pipe(C(function(c){return c.map(function(d){return d.issueId})}))},XBc=function(a,b){return b?Hec(a.queryIssues):Gec(a.queryIssues)},YBc=function(a){var b=Vl(),c=Tl()!==Ul?"(assignee:"+b+" OR reporter:"+b+" OR commenter:"+b+") status:open modified:30d":"(assignee:"+b+" OR reporter:"+b+" OR commenter:"+b+" OR star:true) status:open modified:30d";a.isAssignedToMeOnly&&(c="assignee:"+b+" status:open modified:30d");
return"/issues?q="+c};sh.Object.defineProperties(dU.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});dU.\u0275fac=function(a){return new (a||dU)(B(jJ),B(rJ))};
dU.\u0275cmp=Oc({type:dU,selectors:[["my-work-card"]],inputs:{assignedOnly:"assignedOnly"},decls:37,vars:18,consts:[[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"header-left"],[1,"type-l","line-clamp-3"],["mat-icon-button","",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[1,"muted","item-id"],[1,"margin-left-auto","flex-kids-x","align-items-center","card-controls"],[3,"ngModel","ngModelChange","change",4,"ngIf"],["mat-icon-button","","aria-label","More options",
"aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],["menu","matMenu"],["mat-menu-item","",3,"disabled","click"],["svgIcon","arrow-upward",1,"icon-s"],[1,"type-button"],["svgIcon","arrow-downward",1,"icon-s"],["mat-menu-item","",3,"click"],["svgIcon","delete",1,"icon-s"],[1,"main-content"],[4,"ngIf","ngIfElse"],[1,"margin-s-top"],[3,"href"],["loading",""],[3,"ngModel","ngModelChange","change"],[3,"issueIds","displayedColumns",
"assigneeMode"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),P(4),F(5,"button",4),L("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),H()(),F(7,"span",6),P(8),H()(),F(9,"div",7),O(10,yQa,2,1,"mat-slide-toggle",8),F(11,"button",9),I(12,"mat-icon",10),H(),F(13,"mat-menu",null,11)(15,"button",12),L("click",function(){return ap(b.hackyPrefs,b.selfReference,-1)}),I(16,"mat-icon",13),F(17,"span",14),P(18,"Move up"),H()(),F(19,"button",12),L("click",function(){return ap(b.hackyPrefs,
b.selfReference,1)}),I(20,"mat-icon",15),F(21,"span",14),P(22,"Move down"),H()(),I(23,"mat-divider"),F(24,"button",16),L("click",function(){return bp(b.hackyPrefs,b.selfReference)}),I(25,"mat-icon",17),F(26,"span",14),P(27,"Remove"),H()()()()(),F(28,"div",18),O(29,zQa,2,3,"ng-container",19),R(30,"slice"),R(31,"async"),F(32,"div",20)(33,"a",21),P(34,"View all issues"),H()(),O(35,AQa,1,0,"ng-template",null,22,gg),H()());if(a&2){var c=Kf(14),d=Kf(36);xf("collapsed",b.isCollapsed());z(4);Lf(" ",b.isAssignedToMeOnly?
"Assigned to me":"My related issues"," ");z(1);of("aria-label",b.isCollapsed()?"Expand card":"Collapse card");z(3);Lf(" ",b.isAssignedToMeOnly?"assigned and modified in last 30 days":"assigned, starred, commented, reported"," ");z(2);E("ngIf",!b.hideAssignedSetting);z(1);E("matMenuTriggerFor",c);z(4);E("disabled",!cp(b.hackyPrefs,b.selfReference,-1));z(4);E("disabled",!cp(b.hackyPrefs,b.selfReference,1));z(10);E("ngIf",Vf(30,12,S(31,16,b.myWorkIssueIds$),0,15))("ngIfElse",d);z(4);E("href",YBc(b),
Ud)}},dependencies:[Rw,HB,QA,KM,WM,dD,bD,cD,XM,cU,tx,Ax,Xw,dx],styles:["[_nghost-%COMP%]{display:block}.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:8px}.collapsed.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:0}.collapsed[_ngcontent-%COMP%]   .card-controls[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]     .mat-icon-button .mat-icon{margin-top:-1px}\n/*# sourceMappingURL=my_work_card.css.map */",
".never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .type-l[_ngcontent-%COMP%]{display:none}.never-collapse-mode[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%]{margin-top:-24px}.add-mode[_ngcontent-%COMP%]   .collapse-btn[_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[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}\n/*# sourceMappingURL=all_work_cards.css.map */"]});var eU=function(a){this.internalArray_=m(a,0,eU.messageId)};T(eU,p);eU.prototype.getSearch=function(){return X(this,Qm,1)};eU.prototype.setSearch=function(a){hj(this,Qm,1,a)};eU.prototype.toObject=function(){if(null!=this){r(this);var a={search:hdc(this.getSearch())}}else a=void 0;return a};eU.messageId="b.SearchResponse";var fU=function(a){this.jspbExecutor=a};fU.prototype.get=function(a){return this.jspbExecutor.get({url:"action/saved_searches/"+a,responseConstructor:eU}).pipe(C(BQa))};fU.prototype.create=function(a,b){var c=new Qm;c.setName(a);c.setQuery(b);return this.jspbExecutor.post({url:"action/saved_searches",body:c,responseConstructor:eU}).pipe(C(BQa))};
fU.prototype.update=function(a,b){var c=new Qm;V(c,1,String(b.searchId));c.setName(b.name);c.setDescription(b.description);c.setQuery(b.query);var d;c.setSortOrderList((null!=(d=b.sortOrder)?d:[]).map(xya));var e;c.setDisplayColumnList((null!=(e=b.displayColumn)?e:[]).map(vya));var g;c.setAdminUsersList((null!=(g=b.adminUsers)?g:[]).map(si));return this.jspbExecutor.post({url:"action/saved_searches/"+a,body:c,responseConstructor:eU}).pipe(C(BQa))};
fU.prototype.delete=function(a){return this.jspbExecutor.delete({url:"action/saved_searches/"+a,responseConstructor:null})};fU.\u0275fac=function(a){return new (a||fU)(t(hE))};fU.\u0275prov=yc({token:fU,factory:fU.\u0275fac,providedIn:"root"});var gU=function(a){this.observableResources=a};gU.prototype.get=function(a){return(0,D.firstValueFrom)(this.observableResources.get(a))};gU.prototype.create=function(a,b){return(0,D.firstValueFrom)(this.observableResources.create(a,b))};
gU.prototype.update=function(a,b){return(0,D.firstValueFrom)(this.observableResources.update(a,b))};gU.prototype.delete=function(a){return(0,D.firstValueFrom)(this.observableResources.delete(a))};gU.\u0275fac=function(a){return new (a||gU)(t(fU))};gU.\u0275prov=yc({token:gU,factory:gU.\u0275fac,providedIn:"root"});var GQa=function(){return[]},hU=function(a,b,c,d,e){var g=this;this.issueFridge=a;this.savedSearchesApi=b;this.data=c;this.hackyPrefs=d;this.projectActivity=e;this.makeCritiqueUrl=Nva;this.savedSearchId$=new D.ReplaySubject(1);this.savedSearchIssueIds$=this.savedSearchId$.pipe($e(function(h){return g.issueFridge.watchMany({filter:"savedsearchid:"+h+" status:open",pageSize:100,sort:"modified_time:desc"})}),C(function(h){return h.results}),C(function(h){return h.map(function(l){return l.issueId})}));
this.savedSearchMetadata$=this.savedSearchId$.pipe($e(function(h){return g.savedSearchesApi.get(h)}));this.savedSearchActivityEvents$=this.savedSearchId$.pipe($e(function(h){return efc(g.projectActivity,h)}));this.savedSearchAggregatedData$=this.savedSearchIssueIds$.pipe($e(function(h){return iac(g.data,[].concat(cd(h)))}),Xe({refCount:!0,bufferSize:1}));this.columnsToDisplay="title assignee priority status id menu".split(" ")};
hU.prototype.isCollapsed=function(a){a=a.searchId;return!0===this.neverCollapse?!1:this.addMode||this.prefs.collapsed["savedsearch-"+a]};hU.prototype.reorder=function(a,b){ap(this.hackyPrefs,Rl(a),b)};hU.prototype.canMove=function(a,b){return cp(this.hackyPrefs,Rl(a),b)};sh.Object.defineProperties(hU.prototype,{savedSearchId:{configurable:!0,enumerable:!0,set:function(a){this.savedSearchId$.next(a)}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});
hU.\u0275fac=function(a){return new (a||hU)(B(JI),B(fU),B(oG),B(rJ),B(uJ))};
hU.\u0275cmp=Oc({type:hU,selectors:[["saved-search-as-project-card"]],inputs:{addMode:"addMode",neverCollapse:"neverCollapse",savedSearchId:"savedSearchId"},decls:2,vars:3,consts:[["class","carded bg-main",3,"never-collapse-mode","collapsed",4,"ngIf"],[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"edit-controls","gap","shrink-0"],[1,"margin-right"],["mat-button","","title","Save this to your homepage",1,"gmat-button","add",3,"click"],[1,"header-left"],[1,"type-l","line-clamp-3"],[1,"subtle-link",3,
"href"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[4,"ngIf"],["class","main-content",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"disabled","click"],["svgIcon","arrow-upward",1,"icon-s"],[1,"type-button"],["svgIcon","arrow-downward",1,"icon-s"],["mat-menu-item","",3,"click"],["svgIcon","delete",1,"icon-s"],["mat-menu-item","",3,"href"],[1,"icon-s"],["class","margin-left-auto flex-kids-x align-items-center",
4,"ngIf"],[1,"margin-left-auto","flex-kids-x","align-items-center"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],["class","contributor-avatar",3,"email",4,"ngFor","ngForOf"],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",
2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[1,"contributor-avatar",3,"email"],["class","flex-kids-x align-items-center gap stats",4,"ngIf"],[1,"flex-kids-x","align-items-center","gap","stats"],["target","_blank","class","subtle-link","style","color: var(--text-good)",3,"href",4,"ngIf"],[1,"main-content"],[1,"margin-s-top"],[3,"href"],[3,"issueIds","displayedColumns","assigneeMode"],[4,"ngIf","ngIfElse"],["loading",""],[3,"activityEvents"]],template:function(a,
b){a&1&&(O(0,QQa,35,13,"div",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.savedSearchMetadata$))},dependencies:[Qw,Rw,HB,QA,zL,KM,WM,dD,bD,cD,XM,SM,Xw,dx],styles:['[_nghost-%COMP%]{display:block}.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:8px}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed-stats[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .collapsed-stats[_ngcontent-%COMP%]{display:block}.collapsed.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:0}.header-left[_ngcontent-%COMP%]{margin-top:-3px}b-user-image[_ngcontent-%COMP%]{margin-right:-8px;-webkit-transition:margin .1s ease-in-out;transition:margin .1s ease-in-out}[_ngcontent-%COMP%]:focus   b-user-image[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]     .user-avatar img{box-shadow:0 0 0 1px var(--divider),0 0 0 3px var(--surface-default)}[_nghost-%COMP%]     .contributor-avatar .user-avatar{display:inline-block;height:32px;width:32px}[_nghost-%COMP%]     .contributor-avatar .user-avatar img{max-height:100%;max-width:100%}b-user-image[_ngcontent-%COMP%]:has(img[src="https://lh3.googleusercontent.com/a/default-user=s32-p-k"]){display:none}.edit-controls[_ngcontent-%COMP%]{overflow:hidden;max-width:0;-webkit-transition:max-width .2s ease-out;transition:max-width .2s ease-out}.add-mode[_ngcontent-%COMP%]   .edit-controls[_ngcontent-%COMP%]{max-width:100%}.edit-controls[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:none}.add-mode[_ngcontent-%COMP%]   button.add[_ngcontent-%COMP%]{display:inline-block}.add-mode[_ngcontent-%COMP%]   button.remove[_ngcontent-%COMP%]{display:none!important}.card-overflow[_ngcontent-%COMP%]{margin-left:12px;margin-right:-4px}\n/*# sourceMappingURL=saved_search_as_project_card.css.map */',
".never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .type-l[_ngcontent-%COMP%]{display:none}.never-collapse-mode[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%]{margin-top:-24px}.add-mode[_ngcontent-%COMP%]   .collapse-btn[_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[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}\n/*# sourceMappingURL=all_work_cards.css.map */"]});var iU=function(){};iU.\u0275fac=function(a){return new (a||iU)};iU.\u0275mod=Qc({type:iU});iU.\u0275inj=zc({imports:[OG,YP,gO,fO]});var jU=function(){};jU.\u0275fac=function(a){return new (a||jU)};jU.\u0275mod=Qc({type:jU});jU.\u0275inj=zc({imports:[OG]});var kU=function(){};kU.\u0275fac=function(a){return new (a||kU)};kU.\u0275mod=Qc({type:kU});kU.\u0275inj=zc({imports:[hA,hA]});new ad("ListOption");new ad("MAT_LIST_CONFIG");new ad("SelectionList");new ad("MatList");new ad("MatNavList");vh(uh(function(){}));uh(function(){});var ZBc=function(){};ZBc.\u0275fac=function(a){return new (a||ZBc)};ZBc.\u0275dir=Sc({type:ZBc,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]});var $Bc=function(){};$Bc.\u0275fac=function(a){return new (a||$Bc)};$Bc.\u0275dir=Sc({type:$Bc,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]});var aCc=["text"],bCc=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],cCc=uh(function(){}),dCc=uh(function(){}),eCc={provide:gx,useExisting:Ec(function(){return lU}),multi:!0},fCc=function(a,b){this.source=a;this.options=b},mU=function(a,b,c){var d=dCc.call(this)||this;d._element=a;d._changeDetector=b;d.selectionList=c;d._selected=!1;d._disabled=!1;d._hasFocus=!1;d.selectedChange=new kw;d.checkboxPosition="after";d._inputsInitialized=!1;return d};
T(mU,dCc);f=mU.prototype;f.ngOnInit=function(){var a=this,b=this.selectionList;b._value&&b._value.some(function(d){return b.compareWith(a._value,d)})&&this._setSelected(!0);var c=this._selected;Promise.resolve().then(function(){if(a._selected||c)a.selected=!0,a._changeDetector.markForCheck()});this._inputsInitialized=!0};f.ngAfterContentInit=function(){Hoa(this._lines,this._element)};
f.ngOnDestroy=function(){var a=this;this.selected&&Promise.resolve().then(function(){a.selected=!1});var b=this._hasFocus,c=this.selectionList._removeOptionFromList(this);b&&c&&c.focus()};f.toggle=function(){this.selected=!this.selected};f.focus=function(){this._element.nativeElement.focus()};f.getLabel=function(){return this._text?this._text.nativeElement.textContent||"":""};f._isRippleDisabled=function(){return this.disabled||this.disableRipple||this.selectionList.disableRipple};
f._handleClick=function(){this.disabled||!this.selectionList.multiple&&this.selected||(this.toggle(),this.selectionList._emitChangeEvent([this]))};f._handleFocus=function(){this.selectionList._setFocusedOption(this);this._hasFocus=!0};f._handleBlur=function(){this.selectionList._onTouched();this._hasFocus=!1};f._getHostElement=function(){return this._element.nativeElement};
f._setSelected=function(a){if(a===this._selected)return!1;(this._selected=a)?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this);this.selectedChange.emit(a);this._changeDetector.markForCheck();return!0};f._markForCheck=function(){this._changeDetector.markForCheck()};
sh.Object.defineProperties(mU.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color||this.selectionList.color},set:function(a){this._color=a}},value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this.selected&&!this.selectionList.compareWith(a,this.value)&&this._inputsInitialized&&(this.selected=!1);this._value=a}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.selectionList&&this.selectionList.disabled},
set:function(a){a=Fg(a);a!==this._disabled&&(this._disabled=a,this._changeDetector.markForCheck())}},selected:{configurable:!0,enumerable:!0,get:function(){return this.selectionList.selectedOptions.isSelected(this)},set:function(a){a=Fg(a);a!==this._selected&&(this._setSelected(a),(a||this.selectionList.multiple)&&this.selectionList._reportValueChange())}}});mU.\u0275fac=function(a){return new (a||mU)(B(Dd),B(Kw),B(Ec(function(){return lU})))};
mU.\u0275cmp=Oc({type:mU,selectors:[["mat-list-option"]],contentQueries:function(a,b,c){a&1&&(cg(c,ZBc,5),cg(c,$Bc,5),cg(c,oA,5));if(a&2){var d;ag(d=dg())&&(b._avatar=d.first);ag(d=dg())&&(b._icon=d.first);ag(d=dg())&&(b._lines=d)}},viewQuery:function(a,b){a&1&&bg(aCc,5);if(a&2){var c;ag(c=dg())&&(b._text=c.first)}},hostAttrs:["role","option",1,"mat-list-item","mat-list-option","mat-focus-indicator"],hostVars:15,hostBindings:function(a,b){a&1&&L("focus",function(){return b._handleFocus()})("blur",
function(){return b._handleBlur()})("click",function(){return b._handleClick()});a&2&&(of("aria-selected",b.selected)("aria-disabled",b.disabled)("tabindex",-1),xf("mat-list-item-disabled",b.disabled)("mat-list-item-with-avatar",b._avatar||b._icon)("mat-primary","primary"===b.color)("mat-accent","primary"!==b.color&&"warn"!==b.color)("mat-warn","warn"===b.color)("mat-list-single-selected-option",b.selected&&!b.selectionList.multiple))},inputs:{disableRipple:"disableRipple",checkboxPosition:"checkboxPosition",
color:"color",value:"value",disabled:"disabled",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[kf],ngContentSelectors:["*","[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]"],decls:7,vars:5,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[3,"state","disabled",4,"ngIf"],[1,"mat-list-text"],["text",""],[3,"state","disabled"]],template:function(a,b){a&1&&(Ff(bCc),
F(0,"div",0),I(1,"div",1),O(2,RQa,1,2,"mat-pseudo-checkbox",2),F(3,"div",3,4),Gf(5),H(),Gf(6,1),H());a&2&&(xf("mat-list-item-content-reverse","after"==b.checkboxPosition),z(1),E("matRippleTrigger",b._getHostElement())("matRippleDisabled",b._isRippleDisabled()),z(1),E("ngIf",b.selectionList.multiple))},dependencies:[rA,sA,Rw],encapsulation:2,changeDetection:0});
var lU=function(a,b,c){var d=cCc.call(this)||this;d._element=a;d._changeDetector=b;d._focusMonitor=c;d._multiple=!0;d._contentInitialized=!1;d.selectionChange=new kw;d.color="accent";d.compareWith=function(e,g){return e===g};d._disabled=!1;d.selectedOptions=new Oz(d._multiple);d._tabIndex=-1;d._onChange=function(){};d._destroyed=new D.Subject;d._onTouched=function(){};return d};T(lU,cCc);f=lU.prototype;
f.ngAfterContentInit=function(){var a=this;this._contentInitialized=!0;this._keyManager=dWb(uz(yz(eWb(vz(new Bz(this.options)))),function(){return!1}));this._value&&this._setOptionsFromValues(this._value);this._keyManager.tabOut.subscribe(function(){return a._allowFocusEscape()});this.options.changes.pipe(Ze(null),af(this._destroyed)).subscribe(function(){a._updateTabIndex()});this.selectedOptions.changed.pipe(af(this._destroyed)).subscribe(function(b){if(b.added)for(var c=k(b.added),d=c.next();!d.done;d=
c.next())d.value.selected=!0;if(b.removed)for(b=k(b.removed),d=b.next();!d.done;d=b.next())d.value.selected=!1});this._focusMonitor.monitor(this._element).pipe(af(this._destroyed)).subscribe(function(b){if("keyboard"===b||"program"===b){for(var c=b=0;c<a.options.length;c++){var d=void 0;if(null==(d=a.options.get(c))?0:d.selected){b=c;break}}a._keyManager.setActiveItem(b)}})};f.ngOnChanges=function(a){var b=a.disableRipple;a=a.color;(b&&!b.firstChange||a&&!a.firstChange)&&this._markOptionsForCheck()};
f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._focusMonitor.stopMonitoring(this._element);this._destroyed.next();this._destroyed.complete();this._isDestroyed=!0};f.focus=function(a){this._element.nativeElement.focus(a)};f.selectAll=function(){this._setAllOptionsSelected(!0)};f.deselectAll=function(){return this._setAllOptionsSelected(!1)};f._setFocusedOption=function(a){zz(this._keyManager,a)};
f._removeOptionFromList=function(a){a=this._getOptionIndex(a);-1<a&&this._keyManager.activeItemIndex===a&&(0<a?zz(this._keyManager,a-1):0===a&&1<this.options.length&&zz(this._keyManager,Math.min(a+1,this.options.length-1)));return this._keyManager.activeItem};
f._keydown=function(a){var b=a.keyCode,c=this._keyManager,d=c.activeItemIndex,e=Jg(a);switch(b){case 32:case 13:e||0<c._pressedLetters.length||(this._toggleFocusedOption(),a.preventDefault());break;default:if(65!==b||!this.multiple||!Jg(a,"ctrlKey")||0<c._pressedLetters.length)c.onKeydown(a);else e=this.options.some(function(g){return!g.disabled&&!g.selected}),this._setAllOptionsSelected(e,!0,!0),a.preventDefault()}this.multiple&&(38===b||40===b)&&a.shiftKey&&c.activeItemIndex!==d&&this._toggleFocusedOption()};
f._reportValueChange=function(){if(this.options&&!this._isDestroyed){var a=this._getSelectedOptionValues();this._onChange(a);this._value=a}};f._emitChangeEvent=function(a){this.selectionChange.emit(new fCc(this,a))};f.writeValue=function(a){this._value=a;this.options&&this._setOptionsFromValues(a||[])};f.setDisabledState=function(a){this.disabled=a};f.registerOnChange=function(a){this._onChange=a};f.registerOnTouched=function(a){this._onTouched=a};
f._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)})};f._getSelectedOptionValues=function(){return this.options.filter(function(a){return a.selected}).map(function(a){return a.value})};
f._toggleFocusedOption=function(){var a=this._keyManager.activeItemIndex;null!=a&&this._isValidIndex(a)&&(!(a=this.options.toArray()[a])||a.disabled||!this._multiple&&a.selected||(a.toggle(),this._emitChangeEvent([a])))};f._setAllOptionsSelected=function(a,b,c){var d=[];this.options.forEach(function(e){b&&e.disabled||!e._setSelected(a)||d.push(e)});d.length&&(this._reportValueChange(),c&&this._emitChangeEvent(d));return d};f._isValidIndex=function(a){return 0<=a&&a<this.options.length};
f._getOptionIndex=function(a){return this.options.toArray().indexOf(a)};f._markOptionsForCheck=function(){this.options&&this.options.forEach(function(a){return a._markForCheck()})};f._allowFocusEscape=function(){var a=this;this._tabIndex=-1;setTimeout(function(){a._tabIndex=0;a._changeDetector.markForCheck()})};f._updateTabIndex=function(){this._tabIndex=0===this.options.length?-1:0};
sh.Object.defineProperties(lU.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Fg(a);this._markOptionsForCheck()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){a=Fg(a);a!==this._multiple&&(this._multiple=a,this.selectedOptions=new Oz(this._multiple,this.selectedOptions.selected))}}});lU.\u0275fac=function(a){return new (a||lU)(B(Dd),B(Kw),B(by))};
lU.\u0275cmp=Oc({type:lU,selectors:[["mat-selection-list"]],contentQueries:function(a,b,c){a&1&&cg(c,mU,5);if(a&2){var d;ag(d=dg())&&(b.options=d)}},hostAttrs:["role","listbox",1,"mat-selection-list","mat-list-base"],hostVars:3,hostBindings:function(a,b){a&1&&L("keydown",function(c){return b._keydown(c)});a&2&&of("aria-multiselectable",b.multiple)("aria-disabled",b.disabled.toString())("tabindex",b._tabIndex)},inputs:{disableRipple:"disableRipple",color:"color",compareWith:"compareWith",disabled:"disabled",
multiple:"multiple"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[Of([eCc]),kf,gd],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Ff(),Gf(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],
encapsulation:2,changeDetection:0});var nU=function(){};nU.\u0275fac=function(a){return new (a||nU)};nU.\u0275mod=Qc({type:nU});nU.\u0275inj=zc({imports:[pA,uA,hA,vA,ex,pA,hA,vA,kU]});var oU=function(){};oU.\u0275fac=function(a){return new (a||oU)};oU.\u0275mod=Qc({type:oU});oU.\u0275inj=zc({imports:[OG,eD,ED,jB,kU,vB,nU,fE,QO,EO,EP,Px,QP]});var pU=function(){};pU.\u0275fac=function(a){return new (a||pU)};pU.\u0275mod=Qc({type:pU});pU.\u0275inj=zc({imports:[OG,kT,jU,zO,ED,fE,oU,QP]});var qU=function(){};qU.\u0275fac=function(a){return new (a||qU)};qU.\u0275mod=Qc({type:qU});qU.\u0275inj=zc({imports:[kT,pU,JP,OG,fO,gO,xP,ED,fE,oU,xO,CO,YP]});var rU=function(){this.admins=[]};rU.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId;this.admins=mi(this.hotlist.adminUsers)};rU.\u0275fac=function(a){return new (a||rU)};
rU.\u0275cmp=Oc({type:rU,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&&(F(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),P(5),H()(),F(6,"ul")(7,"li"),P(8),H(),F(9,"li"),P(10),H()(),F(11,"div")(12,"p"),P(13),H()()()()());a&2&&(z(4),E("href",b.url,Ud),z(1),Mf(b.hotlist.name),z(3),Lf("ID: ",b.hotlist.hotlistId,""),z(2),Nf("",1===
b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),z(3),Mf(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 gCc={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"},hCc=new ad("routes",{providedIn:"root",factory:function(){return gCc}}),sU=function(a){this.routes=a};f=sU.prototype;f.createIssue=function(a){return dp(this.routes.CREATE_ISSUE,{params:a})};f.editIssue=function(a,b){return ep(this.routes.EDIT_ISSUE(a),{id:a,params:b})};f.listIssues=function(a){return dp(this.routes.LIST_ISSUES,{params:a})};f.viewSavedSearch=function(a){return ep(this.routes.VIEW_SAVEDSEARCH(a),{id:a,params:void 0})};
f.viewHotlist=function(a){return ep(this.routes.VIEW_HOTLIST(a),{id:a})};f.editHotlist=function(a){return dp(this.routes.EDIT_HOTLIST(a),{id:a,tab:void 0})};f.createHotlist=function(){return this.routes.CREATE_HOTLIST};f.createBookmarkGroup=function(){return this.routes.CREATE_BOOKMARK_GROUP};f.viewBookmarkGroup=function(a){return ep(this.routes.VIEW_BOOKMARK_GROUP(a),{id:a})};f.editBookmarkGroup=function(a){return dp(this.routes.EDIT_BOOKMARK_GROUP(a),{id:a})};
f.editSavedSearch=function(a){return dp(this.routes.EDIT_SAVED_SEARCH(a),{id:a})};f.dashboard=function(a){return dp(this.routes.DASHBOARD(a),{id:a})};f.issuesCsvAction=function(a,b,c,d){b=this.toApiSortParamValue(b);c=SQa(c);return BC("action/issues/csv","q",a,"s",b,"c",c,"h",d)};f.hotlistIssuesCsvAction=function(a,b,c,d){a="action/hotlists/"+a+"/issues/csv";b=this.toApiSortParamValue(b);(c=SQa(c))&&(c="position,"+c);return BC(a,"s",b,"c",c,"h",d)};
f.toApiSortParamValue=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null};f.getAttachmentAction=function(a,b){return"action/issues/"+a.toString()+"/attachments/"+b.toString()};f.listComponents=function(){return dp(this.routes.LIST_COMPONENTS,{params:void 0})};f.viewComponent=function(a,b){return ep(this.routes.VIEW_COMPONENT(a),{id:a,tab:b})};f.manageComponent=function(a,b){return ep(this.routes.MANAGE_COMPONENT(a),{id:a,tab:b})};
f.createComponent=function(a){return dp(this.routes.CREATE_COMPONENT,{params:a})};f.editComponent=function(a,b){return dp(this.routes.EDIT_COMPONENT(a),{id:a,tab:b})};f.createSlo=function(){return dp(this.routes.CREATE_SLO,{params:void 0})};f.editSlo=function(a){return dp(this.routes.EDIT_SLO(a),{id:a,tab:void 0})};f.listSlos=function(){return dp(this.routes.LIST_SLOS,{params:void 0})};f.listHotlists=function(){return this.routes.LIST_HOTLISTS};sU.\u0275fac=function(a){return new (a||sU)(t(hCc))};
sU.\u0275prov=yc({token:sU,factory:sU.\u0275fac,providedIn:"root"});var tU=function(a){this.pathBuilder=a;this.showHovercard=this.removable=!0;this.disabled=!1;this.removeHotlist=new kw};tU.prototype.getAriaLabel=function(a){return"hotlist: "+a.name};tU.\u0275fac=function(a){return new (a||tU)(B(sU))};
tU.\u0275cmp=Oc({type:tU,selectors:[["b-hotlist-chip"]],inputs:{hotlist:"hotlist",removable:"removable",showHovercard:"showHovercard",disabled:"disabled"},outputs:{removeHotlist:"removeHotlist"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"chip",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"name"],[1,"keep-focus-ring",3,"href"],["mat-icon-button","",3,"invisible","click",4,"ngIf"],["card","onedevHovercard"],[3,"hotlist"],["mat-icon-button","",3,"click"],["svgIcon","close"]],template:function(a,
b){a&1&&O(0,UQa,9,11,"ng-container",0);a&2&&E("ngIf",b.hotlist)},dependencies:[Rw,HB,UK,ZK,rU,QA],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 uU=function(a,b){this.hotlists=a;this.userAccess=b;this.id$=new D.ReplaySubject(1);this.removeHotlist=new kw;this.removable=!0;this.hotlist$=this.id$.pipe($e(this.hotlists.watch));this.isDisabled$=(0,D.combineLatest)([this.id$,this.id$.pipe($e(this.hotlists.isSaving$))]).pipe(C(function(c){var d=k(c);c=d.next().value;d=d.next().value;return null==c?!1:d?!0:!1}))};
uU.prototype.ngOnInit=function(){var a=this;this.removable$="check-acl"===this.removable?this.id$.pipe($e(function(b){return MG(a.userAccess,"appender","hotlists/"+b)})):(0,D.of)(this.removable)};sh.Object.defineProperties(uU.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.idInternal=String(a);this.id$.next(String(a))}}});uU.\u0275fac=function(a){return new (a||uU)(B(pI),B(LG))};
uU.\u0275cmp=Oc({type:uU,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&&(F(0,"b-hotlist-chip",0),L("removeHotlist",function(){null==b.idInternal?Kh("Missing id"):b.removeHotlist.emit()}),R(1,"async"),R(2,"async"),R(3,"async"),H());if(a&2){var c;E("hotlist",S(1,3,b.hotlist$))("disabled",!0===S(2,5,b.isDisabled$))("removable",null!==
(c=S(3,7,b.removable$))&&void 0!==c?c:!1)}},dependencies:[tU,Xw],encapsulation:2,changeDetection:0});var vU=function(a,b,c,d){rF.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(C(function(e){return e?"(Showing full history) Click for major events only":"(Showing major events) Click for full history"}),Ze(""))};T(vU,rF);vU.\u0275dir=rF.\u0275dir;
vU.prototype.onClick=function(){var a=this,b;return pe(function(c){if(1==c.nextAddress)return a.isSaving?c.return():c.yield((0,D.firstValueFrom)(a.on$),2);b=c.yieldResult;a.save(!b);ue(c)})};
vU.prototype.save=function(a){var b=this;this.analytics.trackEvent(ao.EDIT_ISSUE,"toggleShowFullHistory",String(a));this.isSaving=!0;var c=(0,D.firstValueFrom)(this.prefs.save({showFullHistory:a}));c.then(function(){b.isSaving=!1;b.cdr.markForCheck()});c.catch(function(){ZG(b.butterBar,'Couldn\'t save "full history" setting.');b.isSaving=!1;b.cdr.markForCheck()});this.prefs.save({commentFilterPreferences:{commentFilter:a?"FULL_HISTORY":"ALL_COMMENTS"}}).pipe(af(this.destroyed$)).subscribe()};
vU.\u0275fac=function(a){return new (a||vU)(B(VJ),B(Kw),B(EI),B(XG))};
vU.\u0275cmp=Oc({type:vU,selectors:[["smart-full-history-btn"]],features:[kf],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&&(F(0,"button",0),L("click",function(){return b.onClick()}),R(1,"async"),R(2,"async"),R(3,"async"),R(4,"async"),O(5,VQa,1,0,"mat-icon",1),O(6,WQa,1,0,"b-spinner",2),H());a&2&&(xf("on",S(1,8,b.on$)),E("matTooltip",
S(2,10,b.tooltip$))("disabled",b.isSaving),of("aria-pressed",S(3,12,b.on$))("aria-label",S(4,14,b.tooltip$)),z(5),E("ngIf",!b.isSaving),z(1),E("ngIf",b.isSaving))},dependencies:[Rw,HB,QA,lD,WM,Xw],styles:["mat-icon[_ngcontent-%COMP%] {\n      display: flex;\n      margin: 0 auto;\n    }\n    [_nghost-%COMP%]     .on .mat-spinner circle {\n      stroke: var(--text-inverse); \n\n    }"],changeDetection:0});var wU=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 kw;this.isAnonymous=this.activeSession.isAnonymous()};f=wU.prototype;f.onClick=function(a){a.stopPropagation();this.acceptInput&&(this.starClicked.emit(!!this.starred),this.cdr.detectChanges())};f.onEnter=function(a){this.onClick(a)};f.isDisabled=function(){return this.isAnonymous||this.disabled};
f.getLabel=function(){return this.isAnonymous?"Sign in to use full features.":this.starred?this.unStarMessage:this.starMessage};f.getAriaLabel=function(){return this.isAnonymous?"Sign in to use full features.":this.starMessage};wU.\u0275fac=function(a){return new (a||wU)(B(Bs),B(AI))};
wU.\u0275cmp=Oc({type:wU,selectors:[["b-star-toggle"]],inputs:{starred:"starred",disabled:"disabled",acceptInput:"acceptInput",starMessage:"starMessage",unStarMessage:"unStarMessage"},outputs:{starClicked:"starClicked"},features:[Of([AI])],decls:4,vars:7,consts:[[1,"inline-block",3,"matTooltip"],["tooltip","matTooltip"],["mat-icon-button","","role","checkbox",1,"small",3,"disabled","keydown.enter","click","focus","blur"],[1,"icon-s",3,"svgIcon"]],template:function(a,b){if(a&1){var c=u();F(0,"div",
0,1)(2,"button",2);L("keydown.enter",function(d){return b.onEnter(d)})("click",function(d){return b.onClick(d)})("focus",function(){w(c);var d=Kf(1);return y(d.show())})("blur",function(){w(c);var d=Kf(1);return y(d.hide())});I(3,"mat-icon",3);H()()}a&2&&(E("matTooltip",b.getLabel()),z(2),xf("starred",b.starred),E("disabled",b.isDisabled()),of("aria-label",b.getAriaLabel())("aria-checked",b.starred),z(1),E("svgIcon",b.starred?"star-filled":"star-empty"))},dependencies:[HB,QA,lD],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 xU=function(a,b){this.paths=a;this.activeSession=b;this.isCompact=!1;this.starClicked=new kw;this.currentUserEmail=this.activeSession.getUserEmail()};xU.prototype.ngOnInit=function(){};xU.prototype.isDirectAdmin=function(a){return a?mi(a.adminUsers).includes(this.currentUserEmail):!1};xU.prototype.shouldShowStar=function(a){return!this.isDirectAdmin(a)&&!a.archived};xU.\u0275fac=function(a){return new (a||xU)(B(QH),B(Bs))};
xU.\u0275cmp=Oc({type:xU,selectors:[["hotlist-matlist-option"]],inputs:{hotlist:"hotlist",isCompact:"isCompact",starredHotlists:"starredHotlists",isSavingStar:"isSavingStar"},outputs:{starClicked:"starClicked"},decls:1,vars:1,consts:[["class","hotlist-matlist-option",4,"ngIf"],[1,"hotlist-matlist-option"],[1,"title-line"],[1,"overflow-ellipsis"],[1,"hotlist-link-and-star","flex-kids-x","align-items-center","gap-xs"],["class","valign-middle",3,"starMessage","unStarMessage","acceptInput","starred",
"starClicked",4,"ngIf"],["matTooltip","Open hotlist in a new tab","target","_blank",1,"keep-focus-ring",3,"routerLink","click","keydown.enter"],["svgIcon","pop-out",1,"icon-s"],["class","line-clamp-2 muted type-s",4,"ngIf"],[1,"valign-middle",3,"starMessage","unStarMessage","acceptInput","starred","starClicked"],[1,"line-clamp-2","muted","type-s"]],template:function(a,b){a&1&&O(0,ZQa,9,4,"div",0);a&2&&E("ngIf",b.hotlist)},dependencies:[Rw,HB,KH,wU,lD,Xw],encapsulation:2,changeDetection:0});var iCc=function(){this.tokens=new Map};iCc.prototype.add=function(a,b){var c=this.tokens.get(a);c?c.push(b):this.tokens.set(a,[b]);return this};iCc.prototype.build=function(){var a=this,b=Array.from(this.tokens.keys()).sort();return new jCc(b.map(function(c){return{token:c,labels:a.tokens.get(c)}}))};var jCc=function(a){this.sortedEntries=a};
jCc.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};jCc.prototype.search=function(a){var b=new Set;a=k(this.match(a));for(var c=a.next();!c.done;c=a.next()){c=k(c.value.labels);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b};
var kCc=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(cd(a.search(b[d]))).filter(function(g){return c.has(g)});c=new Set(e)}return c};var lCc=function(a){this.hotlists=a;var b=new iCc,c=new iCc;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,g=(null==(e=d.name)?0:e.trim())?pBa(d.name.toLowerCase()):[];g=k(g);for(e=g.next();!e.done;e=g.next())b.add(e.value,d);e=void 0;g=(null==(e=d.description)?0:e.trim())?pBa(d.description.toLowerCase()):[];g=k(g);for(e=g.next();!e.done;e=g.next())c.add(e.value,d)}this.nameTokenMatcher=b.build();this.descriptionTokenMatcher=c.build();this.positions=new Map(this.hotlists.map(function(h,
l){return[h,l]}))};
lCc.prototype.search=function(a){a=a.toLowerCase();for(var b=new Set,c=k(this.hotlists),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0,g=null==(e=d.name)?void 0:e.toLowerCase(),h=void 0;e=null==(h=d.description)?void 0:h.toLowerCase();h=d.hotlistId;var l=void 0,q=void 0;(lqa(a)&&String(h).includes(a)||(null==(l=g)?0:l.includes(a))||(null==(q=e)?0:q.includes(a)))&&b.add(d)}c=pBa(a);d=k(kCc(this.nameTokenMatcher,c));for(a=d.next();!a.done;a=d.next())b.add(a.value);c=k(kCc(this.descriptionTokenMatcher,c));
for(a=c.next();!a.done;a=c.next())b.add(a.value);return mCc(this,b)};var mCc=function(a,b){return[].concat(cd(b)).sort(function(c,d){c=a.positions.get(c);d=a.positions.get(d);return c===d?0:c<d?-1:1})};var yU=function(){this.innerHeight$=(0,D.concat)((0,D.defer)(function(){return(0,D.of)(window.innerHeight)}),(0,D.fromEvent)(window,"resize").pipe(C(function(){return window.innerHeight})))};yU.\u0275fac=function(a){return new (a||yU)};yU.\u0275prov=yc({token:yU,factory:yU.\u0275fac,providedIn:"root"});var zU=function(a,b,c,d,e,g,h,l,q,v,x){rF.call(this);var A=this;this.dialogRef=a;this.data=b;this.paths=c;this.hotlistFridge=d;this.hotlistApi=e;this.snackBar=g;this.appEvents=h;this.errorHandler=l;this.userApi=q;this.windowHeight=v;this.permissionsFridge=x;this.NO_ACCESS_MESSAGE="You don't have permissions to add/remove issues on this hotlist.";this.showCreateNewPane=!1;this.query$=new D.BehaviorSubject("");this.debouncedQuery$=this.query$.pipe(Le(100),Ze(""));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 xx({name:new zx("",px),description:new zx("")});this.starredHotlists=new MK;this.isSavingStar=new MK;this.userHotlists$=mdc(this.hotlistFridge);this.issueHotlists$=this.hotlistFridge.watchSet(Array.from(this.data.selectedHotlistIds));
this.combineHotlistsWithPermissions=C(function(G){var M=A.permissionsFridge.watchSet(G.map(function(Q){return"hotlists/"+Q.hotlistId}));return G.map(function(Q,Y){return Object.assign({},Q,{permissions$:M.pipe(C(function(W){return W[Y]}))})})});this.hotlists$=(0,D.combineLatest)([this.issueHotlists$,this.userHotlists$]).pipe(C(function(G){var M=k(G);G=M.next().value;M=M.next().value;return[].concat(cd(G),cd(M))}),C(Aua(function(G){return G.hotlistId})),C(function(G){return G.filter(Ai)}),C(function(G){return G.sort(pRa)}),
C(function(G){return G.sort(function(M,Q){var Y=A.selectedHotlistIds;M=Y.has(M.hotlistId);Q=Y.has(Q.hotlistId);return M&&Q?0:M?-1:Q?1:0})}),this.combineHotlistsWithPermissions,Xe({bufferSize:1,refCount:!0}));this.hotlistQuerySearcher$=this.hotlists$.pipe(C(function(G){return new lCc(G)}),Xe({bufferSize:1,refCount:!0}));this.forceShowOverflow$=new D.Subject;this.matchedHotlists$=(0,D.combineLatest)([this.debouncedQuery$,this.hotlistQuerySearcher$,this.hotlists$]).pipe(C(function(G){var M=k(G);G=M.next().value;
var Q=M.next().value;M=M.next().value;return""!==G.trim()?Q.search(G):M}),Xe({bufferSize:1,refCount:!0}));this.visibleHotlists$=(0,D.combineLatest)([this.matchedHotlists$,(0,D.merge)(this.matchedHotlists$.pipe(C(function(){return!1})),this.forceShowOverflow$)]).pipe(C(function(G){var M=k(G);G=M.next().value;M=M.next().value;return 200<G.length&&!M?G.slice(0,200):G}),Xe({bufferSize:1,refCount:!0}));this.isOverflowMode$=(0,D.combineLatest)([this.matchedHotlists$,this.visibleHotlists$]).pipe(C(function(G){var M=
k(G);G=M.next().value;M=M.next().value;return G.length!==M.length}));this.showLoadById$=this.query$.pipe(C(function(G){G=G.trim();return!A.allHotlistIds.has(Number(G))&&lqa(G)}));this.showCreateNew$=(0,D.combineLatest)([this.query$,this.matchedHotlists$]).pipe(C(function(G){var M=k(G);G=M.next().value;M=M.next().value;return qRa(G,M)}));this.compactNumberOfHotlistsToShow$=this.windowHeight.innerHeight$.pipe(C(function(G){return Math.max(1,Math.floor(.5*G/24))}),Ne());this.compactNumberOfHotlistsToShow$.pipe(C(function(G){return 24*
G}));this.subscriptions.add(this.hotlists$.subscribe(function(G){A.hotlists=G;G=k(G);for(var M=G.next();!M.done;M=G.next())A.allHotlistIds.add(M.value.hotlistId)}))};T(zU,rF);zU.\u0275dir=rF.\u0275dir;zU.prototype.ngOnInit=function(){var a=this;nCc(this);this.query$.pipe(af(this.destroyed$)).subscribe(function(){a.hotlistUnderEdit.setValue({name:a.query$.value,description:""})})};
zU.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=aqa(this.originalIds,this.selectedHotlistIds);this.pristine=!a;var c=k(rRa(a));a=c.next().value;c=c.next().value;this.saveBtnLabel=a;this.saveBtnTooltip=c};
var fp=function(a){a.dialogRef.close(a.selectedHotlistIds)},eRa=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("name"))?void 0:b.value)?a:""},oCc=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("description"))?void 0:b.value)?a:""},dRa=function(a){a.snackBar.open("Saving hotlist...","dismiss",{duration:0});var b=eRa(a),c=oCc(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)})},nCc=function(a){a.userApi.getUserSidebar().then(function(b){a.starredHotlists.clear();for(var c=k(b.hotlists||[]),d=c.next();!d.done;d=c.next()){d=d.value;var e=Number(d.id);d.starred&&a.starredHotlists.add(e)}b=k(b.bookmarkGroups||[]);for(c=b.next();!c.done;c=b.next())for(c=k(c.value.sublinks||[]),d=c.next();!d.done;d=c.next())d=d.value,d.starred&&a.starredHotlists.add(Number(d.id))}).catch(function(b){a.errorHandler.errorHandler(null,
b)})};
zU.prototype.toggleStar=function(a){var b=this,c,d,e;return pe(function(g){switch(g.nextAddress){case 1:c=b.starredHotlists.has(a);d={resourceType:"HOTLIST",resourceId:a};qe(g,2,3);b.isSavingStar.add(a);if(c)return b.starredHotlists.delete(a),g.yield(b.userApi.deleteFavorite(d),3);b.starredHotlists.add(a);return g.yield(b.userApi.saveFavorite(d),3);case 3:re(g);b.isSavingStar.delete(a);se(g,4);break;case 2:e=te(g);cH(b.errorHandler,e);g.jumpTo(3);break;case 4:b.appEvents.hotlistChanged.next(),b.appEvents.favoritesModified.next(),
nCc(b),ue(g)}})};var hRa=function(a,b){a.hotlistApi.get(b).then(function(c){a.hotlists.push(c);a.selectedHotlistIds.add(c.hotlistId);fp(a)}).catch(function(c){a.errorHandler.errorHandler(null,c)})};zU.prototype.trackByHotlistId=function(a,b){return b.hotlistId};zU.\u0275fac=function(a){return new (a||zU)(B(bB),B(dB),B(QH),B(pI),B(cI),B(VG),B(eH),B(aH),B(lI),B(yU),B(RI))};
zU.\u0275cmp=Oc({type:zU,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&L("keydown.meta.enter",function(){return fp(b)})("keydown.shift.enter",function(){return fp(b)})("keydown.control.enter",function(){return fp(b)})},features:[kf],decls:13,vars:4,consts:[[4,"ngIf","ngIfElse"],["mat-button","","mat-dialog-close","","tooltip","Dismiss modal","aria-label","Dismiss modal","role","button",3,"click"],["createNewHotlistBtn",""],["applyHotlistSelectionBtn",""],["updateHotlistSelectionPane",
""],["createNewHotlistPane",""],[4,"ngTemplateOutlet"],["mat-flat-button","","color","primary","matTooltip","Create new hotlist","aria-label","Create",1,"gmat-button",3,"disabled","click"],["mat-flat-button","","color","primary",1,"gmat-button",3,"mat-dialog-close","matTooltip","disabled","click"],["mat-dialog-title",""],[1,"search-container"],["svgIcon","search"],["type","search","spellcheck","false","autocomplete","off","aria-label","Filter hotlists","placeholder","Type to filter your starred hotlists",
1,"search-box",3,"input"],["searchBox",""],["mat-dialog-content","",1,"search-results"],["content",""],["class","load-from-id-btn",3,"click",4,"ngIf"],["class","create-new-hotlist-btn",3,"click",4,"ngIf"],[4,"ngIf"],[1,"load-from-id-btn",3,"click"],[1,"muted"],[1,"create-new-hotlist-btn",3,"click"],[3,"selectionChange"],["hotlistMatList",""],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"matTooltip"],["tooltip","matTooltip"],["checkboxPosition","before",3,"selected","disabled","value","focus","blur"],[3,
"hotlist","isCompact","starredHotlists","isSavingStar","starClicked"],[1,"margin-top","kids-x"],[1,"force-show-overflow-btn",3,"click"],["mat-dialog-content",""],[1,"create-hotlist-pane"],[3,"formGroup"],["for","hotlist-name"],"type text autofocus autofocus id hotlist-name required  aria-required true formControlName name".split(" "),["for","hotlist-description",1,"margin-s-top"],["id","hotlist-description","formControlName","description"]],template:function(a,b){a&1&&(O(0,aRa,2,1,"ng-container",
0),F(1,"mat-dialog-actions")(2,"button",1),L("click",function(){b.dialogRef.close()}),P(3," Cancel "),H(),O(4,cRa,2,1,"ng-container",0),H(),O(5,fRa,2,1,"ng-template",null,2,gg),O(7,gRa,2,5,"ng-template",null,3,gg),O(9,nRa,15,9,"ng-template",null,4,gg),O(11,oRa,14,1,"ng-template",null,5,gg));if(a&2){var c=Kf(8),d=Kf(10);E("ngIf",b.showCreateNewPane)("ngIfElse",d);z(4);E("ngIf",b.showCreateNewPane)("ngIfElse",c)}},dependencies:[Qw,Rw,Ww,HB,fB,gB,hB,iB,QA,lU,mU,Bx,wg,tx,ux,Lx,Hx,Ix,lD,xU,Xw],styles:["[_nghost-%COMP%]     .mat-dialog-content{width:500px;overflow-y:overlay}[_nghost-%COMP%]     .mat-dialog-title{margin:0}[_nghost-%COMP%]     .mat-dialog-title h2{margin-top:0;margin-bottom:8px}[_nghost-%COMP%]     .search-container{background-color:#f1f3f4;background-color:var(--main-search-bg);display:flex;flex-direction:row;justify-content:center;align-items:center;border-radius:8px;width:100%;height:40px}[_nghost-%COMP%]     .search-container mat-icon{margin-left:8px}[_nghost-%COMP%]     .search-container input.search-box{color:#202124;color:var(--text-high-contrast);outline:none;border:none;background-color:rgba(0,0,0,0);margin-left:5px;height:100%;width:100%;padding-right:4px}[_nghost-%COMP%]     .search-results mat-list-option .title-line{display:flex;align-items:center;justify-content:space-between;height:24px}[_nghost-%COMP%]     .search-results mat-list-option a, [_nghost-%COMP%]     .search-results mat-list-option mat-icon{height:17px;line-height:17px}[_nghost-%COMP%]     .search-results mat-list-option p{font-size:.75rem;margin-top:-2px;line-height:1.2}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star{visibility:hidden}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star a{margin-right:2px}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star a mat-icon{margin-top:-2px}[_nghost-%COMP%]     mat-list-option:focus-within .hotlist-link-and-star, [_nghost-%COMP%]     mat-list-option:hover .hotlist-link-and-star{visibility:unset}[_nghost-%COMP%]     .create-new-hotlist-btn, [_nghost-%COMP%]     .load-from-id-btn, [_nghost-%COMP%]     .force-show-overflow-btn{background:none;border:none;text-align:left;min-height:34px;padding-left:38px}[_nghost-%COMP%]     .create-new-hotlist-btn:hover, [_nghost-%COMP%]     .load-from-id-btn:hover, [_nghost-%COMP%]     .force-show-overflow-btn:hover{cursor:pointer;background-color:rgba(0,0,0,.04);background-color:var(--hover)}[_nghost-%COMP%]     .create-hotlist-pane label{display:block;color:#5f6368;color:var(--muted);font-weight:500}[_nghost-%COMP%]     .create-hotlist-pane input, [_nghost-%COMP%]     .create-hotlist-pane textarea{width:100%;box-sizing:border-box}[_nghost-%COMP%]     mat-list-option label{font-size:.8125rem}[_nghost-%COMP%]     .mat-list-base{margin:0 -24px}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-item-content{padding:5px 0;padding-right:20px;padding-left:24px;align-items:flex-start}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-item-content .mat-pseudo-checkbox{margin-top:3px}[_nghost-%COMP%]     .mat-list-base .compact .mat-list-option .mat-list-item-content{padding-top:0}[_nghost-%COMP%]     .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-left:12px}/*# sourceMappingURL=hotlist_picker_modal.css.map */"],
changeDetection:0});var AU=function(a,b,c,d){this.dialog=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.errorHandler=d},qCc=function(a,b){var c,d,e,g,h,l,q,v;return pe(function(x){switch(x.nextAddress){case 1:return x.yield((0,D.firstValueFrom)(b),2);case 2:return c=x.yieldResult,(e=null==(d=c)?void 0:d.snapshot[0].hotlistId)&&c?x.yield(pCc(a,e),3):x.return();case 3:g=x.yieldResult;if(null==g)return x.return();h=g.added.map(String);l=g.removed.map(String);q=String(c.issueId);qe(x,4,5);return x.yield(Vdc(a.issueFridge,
q,h,l),5);case 5:re(x);a.eventsForIssueFridge.poke(q);se(x,0);break;case 4:v=te(x),cH(a.errorHandler,v),x.jumpTo(5)}})},pCc=function(a,b){var c,d,e,g;return pe(function(h){if(1==h.nextAddress)return c={panelClass:"no-jitter",data:{selectedHotlistIds:b},ariaLabel:"Search for Hotlists"},d=a.dialog.open(zU,c),h.yield((0,D.firstValueFrom)($A(d)),2);e=h.yieldResult;if(!e)return h.return(Promise.resolve());g=aqa(new Set(b),new Set(e));return h.return(Promise.resolve(g))})};
AU.\u0275fac=function(a){return new (a||AU)(t(eB),t(JI),t(nG),t(aH))};AU.\u0275prov=yc({token:AU,factory:AU.\u0275fac,providedIn:"root"});var BU=function(a,b,c,d,e,g,h){rF.call(this);var l=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistPickerService=c;this.issueInteractionsTracking=d;this.errorHandler=e;this.liveAnnouncer=g;this.activeSession=h;this.ISSUE_TYPE_JS_TEXT=D$b;this.STATUS_JS_FULL_TEXT=xl;this.STATUS_JS_TERSE=y$b;this.DUPLICATE="DUPLICATE";this.id$=new D.ReplaySubject(1);this.issue$=this.id$.pipe($e(this.issueFridge.watch));this.hotlistIds$=this.issue$.pipe(C(BRa));this.textOfHotlistBtn$=this.hotlistIds$.pipe(C(function(q){var v;
return null!=(v=null==q?void 0:q.length)?v:0}),C(function(q){return 5>=q?"Add Hotlist":""}));this.priority$=this.issue$.pipe(C(function(q){return(null==q?void 0:q.snapshot[0].priority)||void 0}));this.type$=this.issue$.pipe(C(function(q){var v;return null!=(v=null==q?void 0:q.snapshot[0].type)?v:void 0}));this.canonicalId$=this.issue$.pipe(C(function(q){return null==q?void 0:q.snapshot[0].duplicateOfIssueId}));this.status$=this.issue$.pipe(C(function(q){return(null==q?void 0:q.snapshot[0].status)||
void 0}));this.statusForChip$=this.status$.pipe(C(function(q){return z$b[q]?q:void 0}));this.statusCssClass$=this.status$.pipe(C(function(q){return l.computeStatusCssClass(q)}));this.HOTKEYS=iN;this.enableCommentFilters=pF(this.activeSession,"enableCommentFiltering")};T(BU,rF);BU.\u0275dir=rF.\u0275dir;BU.prototype.computeStatusCssClass=function(a){return null===a||void 0===a?"":"status-"+tj[a]};
var xRa=function(a){return pe(function(b){return b.yield(qCc(a.hotlistPickerService,a.issue$),0)})},vRa=function(a,b){var c,d;return pe(function(e){switch(e.nextAddress){case 1:return e.yield((0,D.firstValueFrom)(a.id$),2);case 2:c=e.yieldResult;lhc(a.issueInteractionsTracking,c,{label:"remove-hotlists",value:1});qe(e,3,4);var g=e.yield;var h=Vdc(a.issueFridge,c,[],[String(b)]);return g.call(e,h,6);case 6:return e.yield(a.liveAnnouncer.announce("Hotlist removed successfully"),4);case 4:re(e);a.eventsForIssueFridge.poke(c);
se(e,0);break;case 3:d=te(e),cH(a.errorHandler,d),e.jumpTo(4)}})};sh.Object.defineProperties(BU.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});BU.\u0275fac=function(a){return new (a||BU)(B(JI),B(nG),B(AU),B(yK),B(aH),B(mz),B(Bs))};
BU.\u0275cmp=Oc({type:BU,selectors:[["issue-description-area"]],inputs:{id:"id"},features:[kf],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&&(F(0,"div",0)(1,"div",1),O(2,tRa,6,10,"div",2),R(3,"async"),O(4,uRa,2,4,"span",3),R(5,"async"),I(6,"b-issue-priority-display",4),R(7,"async"),H(),O(8,yRa,6,5,"div",5),R(9,"async"),O(10,zRa,2,0,"div",6),H(),F(11,"onedev-hovercard",null,7),O(13,ARa,3,4,"b-issue-card",8),H());a&2&&(z(2),E("ngIf",S(3,5,b.statusForChip$)),z(2),E("ngIf",S(5,7,b.type$)),z(2),E("issuePriority",S(7,9,b.priority$)),z(2),E("ngIf",S(9,11,b.hotlistIds$)),z(2),E("ngIf",!b.enableCommentFilters))},dependencies:[Qw,
Rw,HB,hN,uU,UK,VK,ZK,WK,UP,wJ,QA,lD,KH,vU,Xw],styles:["[_nghost-%COMP%]{display:block}.add-hotlists-btn[_ngcontent-%COMP%], button.gmat-button[_ngcontent-%COMP%]:not(.mat-icon-button).add-hotlists-btn{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text);background-color:#fff;background-color:var(--surface-default);line-height:22px;height:22px;min-width:22px;padding:0 8px;border-radius:11px}.add-hotlists-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);margin:0 -2px;margin-top:-3px}.chip-container[_ngcontent-%COMP%]{-webkit-align-self:start;-ms-flex-item-align:start;align-self:start;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;line-height:22px}.hotlist-container[_ngcontent-%COMP%]{max-height:72px;overflow-y:auto;padding-bottom:5px}[_nghost-%COMP%]     .chip-container .b-chip, [_nghost-%COMP%]     .chip-container b-hotlist-chip{margin-right:0}[_nghost-%COMP%]     .chip-container .b-chip, [_nghost-%COMP%]     .chip-container .chip, [_nghost-%COMP%]     .chip-container b-access-level-indicator .label{line-height:22px;height:22px}[_nghost-%COMP%]     .chip-container b-access-level-indicator .label{border-radius:11px}[_nghost-%COMP%]     .chip-container .b-chip.status{-moz-box-sizing:border-box;box-sizing:border-box;line-height:20px}.thread-filters[_ngcontent-%COMP%]{margin-top:-9px}\n/*# sourceMappingURL=issue_description_area.css.map */"],
changeDetection:0});var CU=function(){};CU.\u0275fac=function(a){return new (a||CU)};CU.\u0275mod=Qc({type:CU});CU.\u0275inj=zc({imports:[OG]});var DU=function(){};DU.\u0275fac=function(a){return new (a||DU)};DU.\u0275mod=Qc({type:DU});DU.\u0275inj=zc({imports:[OG,gO,CU,ED]});var EU=function(){};EU.\u0275fac=function(a){return new (a||EU)};EU.\u0275mod=Qc({type:EU});EU.\u0275inj=zc({imports:[OG,zO,ED,fE]});var FU=function(){};FU.\u0275fac=function(a){return new (a||FU)};FU.\u0275mod=Qc({type:FU});FU.\u0275inj=zc({imports:[OG,kU,jB,OH,EP,ED,nU,UG,Px,Qx,EU,fE,Uz]});var rCc=["issueTitleEl"],sCc=["issueTitleInputEl"],ERa=function(a){return{"width.px":a}},GU=function(){this.disabled=!1;this.updateTitle=new kw;this.isEditMode=!1;this.editModeWidth=0};GU.prototype.ngDoCheck=function(){tCc(this)};var GRa=function(a){a.isEditMode=!a.isEditMode;a.isEditMode&&setTimeout(function(){return a.issueTitleInputEl.nativeElement.focus()},0)};
GU.prototype.saveTitle=function(a){this.isEditMode=!1;tCc(this);if(a)this.updateTitle.emit(a.trim());else{var b;a=null==(b=this.issueTitleEl)?void 0:b.nativeElement.textContent;this.updateTitle.emit(a.trim())}};
var DRa=function(a,b){if(b)"Enter"===b.key?a.saveTitle(b.target.value):("Escape"===b.key||"Esc"===b.key)&&GRa(a);else{var c;b=null==(c=a.issueTitleInputEl)?void 0:c.nativeElement.value;a.saveTitle(b)}},tCc=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};
sh.Object.defineProperties(GU.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titlePlain=a=null!=a?a:void 0;this.titleTruncated=oBa(a,300);this.isLongTitle=null==a?!1:300<=a.length}}});GU.\u0275fac=function(a){return new (a||GU)};
GU.\u0275cmp=Oc({type:GU,selectors:[["issue-title"]],viewQuery:function(a,b){a&1&&(bg(rCc,5),bg(sCc,5));if(a&2){var c;ag(c=dg())&&(b.issueTitleEl=c.first);ag(c=dg())&&(b.issueTitleInputEl=c.first)}},inputs:{title:"title",disabled:"disabled",hasAclToEdit:"hasAclToEdit"},outputs:{updateTitle:"updateTitle"},decls:3,vars:3,consts:[["class","heading-m",4,"ngIf"],[3,"ngStyle",4,"ngIf"],["mat-icon-button","","class","small","matTooltip","Edit issue title","aria-label","Edit issue title",3,"disabled","click",
4,"ngIf"],[1,"heading-m"],["issueTitleEl",""],[3,"ngStyle"],["matInput","","aria-label","Enter a new title",1,"heading-m",3,"value","keyup","blur"],["issueTitleInputEl",""],["mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",1,"small",3,"disabled","click"],["svgIcon","edit-outline",1,"icon-xxs"]],template:function(a,b){a&1&&(O(0,CRa,3,2,"h3",0),O(1,FRa,3,4,"mat-form-field",1),O(2,HRa,2,1,"button",2));a&2&&(E("ngIf",!b.isEditMode),z(1),E("ngIf",b.isEditMode),z(1),
E("ngIf",b.hasAclToEdit))},dependencies:[Rw,Vw,HB,QA,lD,uB,xB],styles:["[_nghost-%COMP%]{display:flex;align-items:center}h3[_ngcontent-%COMP%]{vertical-align:middle;margin-bottom:-1px;word-break:break-word}mat-form-field[_ngcontent-%COMP%]{min-width:200px;max-width:100%;margin-bottom:-3px}mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--c700);margin-top:-2px}[_nghost-%COMP%]     .mat-form-field-wrapper{padding:0}[_nghost-%COMP%]     .mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{padding:0;border:0}[_nghost-%COMP%]     .mat-form-field-wrapper .mat-form-field-underline{margin-bottom:-15px}"]});var HU=function(){};HU.\u0275fac=function(a){return new (a||HU)};HU.\u0275mod=Qc({type:HU});HU.\u0275inj=zc({imports:[OG,ED,fE,vB,yB]});var uCc=function(a){return{isDupe:a}},IU=function(a,b,c,d,e){rF.call(this);var g=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 D.ReplaySubject(1);this.issue$=this.issueId$.pipe($e(function(h){return g.fridge.watchOne(h)}));this.isDupe$=this.issue$.pipe(C(function(h){var l;return!!(null==
h?0:null==(l=h.snapshot[0])?0:l.duplicateOfIssueId)}));this.permissions$=this.issueId$.pipe($e(function(h){return g.permissionsFridge.watchOne("issues/"+h)}));this.canEdit$=this.permissions$.pipe(C(function(h){return!(null==h||!h.writer)}),Ze(!0));this.didChooseCanonical=function(h){return function(l){(l=l[0])&&Wdc(g.fridge,l,h).then(function(){g.eventsForIssueFridge.poke(h)}).catch(g.gotErr)}};this.gotErr=function(h){g.snackBar.open(am(h)||"Error with network request","close",{panelClass:"error"})}};
T(IU,rF);IU.\u0275dir=rF.\u0275dir;
var IRa=function(a){var b,c;return pe(function(d){if(1==d.nextAddress)return a.disabled||a.fridge.isSaving(a.internalIssueId)||!on(a.canEdit$)?d.return():d.yield((0,D.firstValueFrom)(a.isDupe$),2);if(3!=d.nextAddress)return b=d.yieldResult,d.yield((0,D.firstValueFrom)(a.issue$),3);c=d.yieldResult;if(null==c)return d.return();b?vCc(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));ue(d)})},vCc=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)};sh.Object.defineProperties(IU.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)}}});IU.\u0275fac=function(a){return new (a||IU)(B(JI),B(RI),B(kQ),B(VG),B(nG))};
IU.\u0275cmp=Oc({type:IU,selectors:[["smart-dupe-btn"]],inputs:{disabled:"disabled",issueId:"issueId"},features:[kf],decls:2,vars:5,consts:[["mat-stroked-button","","class","gmat-button small",3,"disabled","title","click",4,"ngIf"],["mat-stroked-button","",1,"gmat-button","small",3,"disabled","title","click"]],template:function(a,b){a&1&&(O(0,JRa,3,5,"button",0),R(1,"async"));a&2&&E("ngIf",Rf(3,uCc,S(1,1,b.isDupe$)))},dependencies:[Rw,QA,Xw]});var JU=function(a){rF.call(this);this.prefs=a};T(JU,rF);JU.\u0275dir=rF.\u0275dir;JU.prototype.onChange=function(a){this.prefs.save({useCodefont:a.checked}).pipe(af(this.destroyed$)).subscribe()};JU.\u0275fac=function(a){return new (a||JU)(B(VJ))};
JU.\u0275cmp=Oc({type:JU,selectors:[["b-toggle-code-font"]],features:[kf],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matTooltip","Use a monospace typeface to display all comments",3,"checked","change"]],template:function(a,b){a&1&&(Ff(),F(0,"mat-slide-toggle",0),L("change",function(c){return b.onChange(c)}),R(1,"async"),Gf(2),H());a&2&&E("checked",S(1,1,b.prefs.codeFont$))},dependencies:[cU,lD,Xw],styles:["mat-slide-toggle[_ngcontent-%COMP%] {font-size: 14px; }"],changeDetection:0});var KU=function(){};KU.\u0275fac=function(a){return new (a||KU)};KU.\u0275mod=Qc({type:KU});KU.\u0275inj=zc({imports:[bU,uA,hA,lz,bU,hA]});var LU=function(){};LU.\u0275fac=function(a){return new (a||LU)};LU.\u0275mod=Qc({type:LU});LU.\u0275inj=zc({imports:[OG,ED,EP,jB,KU,UG,fE,CO]});var MU=function(){};MU.\u0275fac=function(a){return new (a||MU)};MU.\u0275mod=Qc({type:MU});MU.\u0275inj=zc({providers:[AU],imports:[OG,RP,jN,DU,FU,gO,$P,rO,qO,HU,ED,fE,OH,EU,LU]});var NU=function(){};NU.\u0275fac=function(a){return new (a||NU)};NU.\u0275mod=Qc({type:NU});NU.\u0275inj=zc({imports:[OG,gO,xP,PP,xO]});var OU=function(){};OU.\u0275fac=function(a){return new (a||OU)};OU.\u0275mod=Qc({type:OU});OU.\u0275inj=zc({imports:[NU,OG,gO,xP,ED,PP,xO,OH,DP]});var PU=function(){};PU.\u0275fac=function(a){return new (a||PU)};PU.\u0275mod=Qc({type:PU});PU.\u0275inj=zc({imports:[JP,OG,KK]});var QU=function(){};QU.\u0275fac=function(a){return new (a||QU)};QU.\u0275mod=Qc({type:QU});QU.\u0275inj=zc({imports:[OG,qO,ED,fE,PU,pO,xO,OH,NU]});var RU=function(){};RU.\u0275fac=function(a){return new (a||RU)};RU.\u0275mod=Qc({type:RU});RU.\u0275inj=zc({imports:[NU,OG,ED,PU]});var SU=function(){};SU.\u0275fac=function(a){return new (a||SU)};SU.\u0275mod=Qc({type:SU});SU.\u0275inj=zc({imports:[OG,ED,ly]});var TU=function(){};TU.\u0275fac=function(a){return new (a||TU)};TU.\u0275mod=Qc({type:TU});TU.\u0275inj=zc({imports:[OG,SU,OU,QU,RU]});var UU=function(){};UU.\u0275fac=function(a){return new (a||UU)};UU.\u0275mod=Qc({type:UU});UU.\u0275inj=zc({imports:[EP,OG,ZS,Px,gA,TO,DP,IP,VN,ED,fE]});var VU=function(a){this.matDialog=a};VU.prototype.show=function(a,b){"LITERAL"===a.formattingMode&&(a.formattingMode="PLAIN");this.dialog=this.matDialog.open(WU,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{formattingAudience:b,statusUpdate:a}});return(0,D.firstValueFrom)($A(this.dialog))};VU.\u0275fac=function(a){return new (a||VU)(t(eB))};VU.\u0275prov=yc({token:VU,factory:VU.\u0275fac,providedIn:"root"});
var WU=function(a,b,c,d,e){rF.call(this);var g=this;this.activeSession=a;this.data=b;this.dialogService=c;this.dialogRef=d;this.CHAR_LIMIT=1E3;this.MARKDOWN="MARKDOWN";this.contentRemovalRequestLink=this.activeSession.isInternalSession()?"https://goto.corp.google.com/delete-comments-attachments":"https://issuetracker.google.com/issues/new?component=169992&template=543202";this.formattingAudience=b.formattingAudience;this.origStatusUpdate=b.statusUpdate;this.newStatusUpdate=Yh(this.origStatusUpdate);
this.subscriptions.add(yQ(e,function(){return g.isModified()},!1))};T(WU,rF);WU.\u0275dir=rF.\u0275dir;var wCc=function(a){var b,c;return null!=(c=sBa(null==(b=a.newStatusUpdate)?void 0:b.updateText))?c:""};f=WU.prototype;f.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(af(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(af(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};
f.closeIfUnmodified=function(){if(!this.isModified()){var a;null==(a=this.dialogService.dialog)||a.close()}};f.isModified=function(){return!Xh(this.newStatusUpdate,this.origStatusUpdate)};f.closeDialogForSave=function(){var a;null==(a=this.dialogService.dialog)||a.close(this.newStatusUpdate)};f.asNumber=function(a){return Number(a)};WU.\u0275fac=function(a){return new (a||WU)(B(Bs),B(dB),B(VU),B(bB),B(xQ))};
WU.\u0275cmp=Oc({type:WU,selectors:[["ng-component"]],features:[kf],decls:18,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"content","contentChange","onSubmit"],["class","char-limit-warning",4,"ngIf"],[1,"inline-block",3,"initialValue","change"],["class","clamper line-clamp-4","tabindex","0",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-flat-button","",1,"gmat-button",
"save-button",3,"mat-dialog-close","disabled"],[1,"char-limit-warning"],["tabindex","0",1,"clamper","line-clamp-4"],[3,"comment","issueId","formattingMode","audience"]],template:function(a,b){a&1&&(F(0,"h1",0),P(1,"Editing Status Update"),H(),F(2,"section",1)(3,"p",2),P(4," Editing the Status Update will not permanently remove old ones from database history. "),I(5,"br"),P(6," For deletion of PII or other sensitive content, please "),F(7,"a",3),P(8," file a support request. "),H()(),F(9,"b-comment-draft",
4),L("contentChange",function(c){return b.newStatusUpdate.updateText=c})("onSubmit",function(){return b.closeDialogForSave()}),H(),O(10,KRa,2,1,"p",5),F(11,"b-markdown-toggle",6),L("change",function(c){return b.newStatusUpdate.formattingMode=c}),H(),O(12,LRa,2,4,"div",7),H(),F(13,"footer",8)(14,"button",9),P(15," Cancel "),H(),F(16,"button",10),P(17," Save "),H()());a&2&&(z(7),E("href",b.contentRemovalRequestLink,Ud),z(2),yf(wCc(b)),E("content",b.newStatusUpdate.updateText),z(1),E("ngIf",1E3<b.newStatusUpdate.updateText.length),
z(1),xf("margin-bottom",b.newStatusUpdate.formattingMode!==b.MARKDOWN),E("initialValue",b.origStatusUpdate.formattingMode),z(1),E("ngIf",b.newStatusUpdate.formattingMode===b.MARKDOWN),z(2),E("mat-dialog-close",void 0),z(2),E("mat-dialog-close",b.newStatusUpdate)("disabled",0===b.newStatusUpdate.updateText.length||1E3<b.newStatusUpdate.updateText.length))},dependencies:[fB,gB,hB,iB,Rw,QA,vP,uP,bT],styles:['b-comment-draft[_ngcontent-%COMP%]{position:relative;display:block}b-comment-draft[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;height:100%;width:4px;border-top-left-radius:4px;border-bottom-left-radius:4px;pointer-events:none}b-comment-draft.good[_ngcontent-%COMP%]:after{background-color:#34a853;background-color:var(--good)}b-comment-draft.warn[_ngcontent-%COMP%]:after{background-color:#fcc934;background-color:var(--warn)}b-comment-draft.bad[_ngcontent-%COMP%]:after{background-color:#ea4335;background-color:var(--bad)}.clamper[_ngcontent-%COMP%]:focus, .clamper[_ngcontent-%COMP%]:focus-within{display:block;-webkit-line-clamp:none}.char-limit-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--text-bad)}\n/*# sourceMappingURL=edit_status_update_dialog.css.map */'],
changeDetection:0});var XU=function(){};XU.\u0275fac=function(a){return new (a||XU)};XU.\u0275mod=Qc({type:XU});XU.\u0275inj=zc({imports:[jB,EP,OG,gA,ED,JP,UU]});var YU=function(a){this.matDialog=a};YU.prototype.show=function(a){this.dialog=this.matDialog.open(ZU,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{statusUpdates:a}});return(0,D.firstValueFrom)($A(this.dialog))};YU.\u0275fac=function(a){return new (a||YU)(t(eB))};YU.\u0275prov=yc({token:YU,factory:YU.\u0275fac,providedIn:"root"});var ZU=function(a,b,c){rF.call(this);this.data=a;this.dialogService=b;this.dialogRef=c;this.statusUpdates=a.statusUpdates};T(ZU,rF);ZU.\u0275dir=rF.\u0275dir;
ZU.prototype.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(af(this.destroyed$)).subscribe(function(b){if("Escape"===b.key){var c;null==(c=a.dialogService.dialog)||c.close()}});this.dialogRef.backdropClick().pipe(af(this.destroyed$)).subscribe(function(){var b;null==(b=a.dialogService.dialog)||b.close()})};ZU.\u0275fac=function(a){return new (a||ZU)(B(dB),B(YU),B(bB))};
ZU.\u0275cmp=Oc({type:ZU,selectors:[["ng-component"]],features:[kf],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&&(F(0,"h1",0),P(1,"History for Status Update"),H(),F(2,"section",1)(3,"ul",2),O(4,MRa,19,12,"li",3),H()(),F(5,"footer",4)(6,"button",5),P(7," Close "),H()());a&2&&(z(4),E("ngForOf",b.statusUpdates),z(2),E("mat-dialog-close",void 0))},dependencies:[Qw,FL,QA,fB,gB,hB,iB,uL,zL,RM,PK,WP],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 $U=function(){};$U.\u0275fac=function(a){return new (a||$U)};$U.\u0275mod=Qc({type:$U});$U.\u0275inj=zc({imports:[JP,OG]});var aV=function(){};aV.\u0275fac=function(a){return new (a||aV)};aV.\u0275mod=Qc({type:aV});aV.\u0275inj=zc({imports:[OG,fO,ED,jB,gA,pO,PP,$U,YP]});var bV=function(a){this.internalArray_=m(a,0,bV.messageId)};T(bV,p);bV.repeatedFields_=[1];bV.prototype.toObject=function(){if(null!=this){r(this);var a={statusUpdatesList:Ub(kj(this,dF,1),u8b)}}else a=void 0;return a};bV.messageId="b.ListStatusUpdateHistoryResponse";var cV=function(a){this.executor=a};cV.prototype.get=function(a,b){return this.executor.get({url:P8b(a),responseConstructor:dF,options:{params:{issueCommentView:String(fsa[void 0===b?"MARKDOWN":b])}}}).pipe(C(Pj))};
cV.prototype.update=function(a){var b=this.executor,c=b.post,d=P8b(a.issueId),e=new dF;a.issueId&&e.setIssueId(a.issueId);a.updateText&&e.setUpdateText(a.updateText);if(a.formattedText){var g=a.formattedText,h=new Oj;if(g.plainFormat){var l=h.setPlainFormat;var q=g.plainFormat;q=(new VE).setPlainSectionList(q.plainSection.map(rra));l.call(h,q)}g.markdownFormat&&(l=h.setMarkdownFormat,q=g.markdownFormat,q=(new UE).setContent(q.content),l.call(h,q));g.literalFormat&&(l=h.setLiteralFormat,g=g.literalFormat,
g=(new TE).setContent(g.content),l.call(h,g));hj(e,Oj,3,h)}a.formattingMode&&e.setFormattingMode(fsa[a.formattingMode]);a.author&&e.setAuthor(si(a.author));a.updateTime&&e.setUpdateTime(Oh(a.updateTime));a.version&&e.setVersion(a.version);return c.call(b,{url:d,body:e,responseConstructor:dF}).pipe(C(Pj))};cV.prototype.delete=function(a){return this.executor.delete({url:P8b(a),responseConstructor:null})};
var xCc=function(a,b){return a.executor.get({url:"action/issues/"+b+"/statusUpdateHistory",responseConstructor:bV,options:{params:{issueCommentView:String(fsa.MARKDOWN)}}}).pipe(C(function(c){return kj(c,dF,1).map(Pj)}))};cV.\u0275fac=function(a){return new (a||cV)(t(hE))};cV.\u0275prov=yc({token:cV,factory:cV.\u0275fac,providedIn:"root"});var yCc=["noteContainer"],YRa=function(a,b){return[a,b]},zCc={FRESH:0,STALE:1,NONE:2,0:"FRESH",1:"STALE",2:"NONE"},dV=function(a,b,c,d,e,g,h,l,q){rF.call(this);var v=this;this.analytics=a;this.confirmationDialogService=b;this.currentUser=c;this.editStatusUpdateDialogService=d;this.errorHandler=e;this.issueFridge=g;this.issuePermissionService=h;this.statusUpdateService=l;this.statusUpdateHistoryDialogService=q;this.Freshness=zCc;this.UiState=ACc;this.FormattingMode=D6b;this.issueId$=new D.ReplaySubject(1);
this.issue$=this.issueId$.pipe($e(this.issueFridge.watch));this.accessLevel$=this.issue$.pipe(C(function(x){var A;return null==x?void 0:null==(A=x.accessLimit)?void 0:A.accessLevel}));this.issueTeamId$=this.issue$.pipe(C(function(x){var A;return null==x?void 0:null==(A=x.aggregatedData)?void 0:A.teamId}));this.isCollapsed=!1;this.currentUserIsAuthoritative$=(0,D.combineLatest)([this.issue$,this.issueTeamId$]).pipe(C(function(x){var A=k(x);x=A.next().value;var G=A.next().value;A=v.currentUser.email===
ava(x);G=v.currentUser.allTeamIds.includes(String(G));var M,Q,Y,W;x=(null!=(W=null==x?void 0:null==(M=x.snapshot)?void 0:null==(Q=M[0])?void 0:null==(Y=Q.collaboratorsUsers)?void 0:Y.map(li))?W:[]).includes(v.currentUser.email);return A||G||x}));this.statusUpdate$=this.issue$.pipe(C(function(x){return null==x?void 0:x.statusUpdate}));this.statusUpdateAsNote$=this.statusUpdate$.pipe(Ge(Ai),C(function(x){return{unlinkifiedComment:x.updateText,formattedComment:x.formattedText}}));this.semanticClass$=
this.statusUpdate$.pipe(C(function(x){var A;return null!=(A=sBa(null==x?void 0:x.updateText))?A:""}));this.statusIsEmpty$=this.statusUpdate$.pipe(C(function(x){return""===((null==x?void 0:x.updateText)||"").trim()}));this.freshnessIndicator$=(0,D.combineLatest)([this.statusIsEmpty$,this.statusUpdate$]).pipe(C(function(x){var A=k(x);x=A.next().value;A=A.next().value;if(x)return 2;var G;x=(null==A?void 0:null==(G=A.updateTime)?void 0:G.seconds)||0;return 86400>Date.now()/1E3-x?0:1}));this.uiState$=
(0,D.combineLatest)([this.currentUserIsAuthoritative$,this.statusIsEmpty$]).pipe(C(function(x){var A=k(x);x=A.next().value;A=A.next().value;return x&&A?2:A?1:3}),Ze(0));this.formattingModeOverride$=new D.BehaviorSubject(void 0);this.formattingMode$=(0,D.combineLatest)([this.statusUpdate$,this.formattingModeOverride$]).pipe(C(function(x){var A=k(x);x=A.next().value;return(A=A.next().value)?A:(null==x?void 0:x.formattingMode)||"PLAIN"}));this.menuItems$=(0,D.combineLatest)([this.issueId$,this.statusUpdate$,
this.issuePermissionService.hasAclToAdmin$,this.formattingMode$]).pipe(C(function(x){var A=k(x),G=A.next().value,M=A.next().value;x=A.next().value;A=A.next().value;var Q=null!=M;M=M&&""!==(null==M?void 0:M.updateText);var Y=[];M&&Y.push({type:"submenu",label:"View as",className:"view-as-format",items:[{type:"select",label:"Classic",action:function(){v.formattingModeOverride$.next("PLAIN")},selected:"PLAIN"===A},{type:"select",label:"Markdown",action:function(){v.formattingModeOverride$.next("MARKDOWN")},
selected:"MARKDOWN"===A},{type:"select",label:"Source",action:function(){v.formattingModeOverride$.next("LITERAL")},selected:"LITERAL"===A}]});Y.push({type:"action",label:"Edit Status Update",action:function(){v.editStatusUpdate()}});Q&&Y.push({type:"action",label:"Show editing history",action:function(){BCc(v,G)}});M&&x&&Y.push({type:"action",label:"Delete Status Update",action:function(){v.confirmationDialogService.open({title:"Delete Status Update?",content:yn("\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(){v.doDelete()}})}});Y.push(CCc);return Y}))};T(dV,rF);dV.\u0275dir=rF.\u0275dir;dV.prototype.ngOnInit=function(){var a=this;setTimeout(function(){var b,c;return pe(function(d){if(1==d.nextAddress)return d.yield((0,D.firstValueFrom)(a.uiState$.pipe(Ge(function(e){return 0!==e}))),2);b=d.yieldResult;c=$Ra(b);a.analytics.trackEvent(ao.ISSUE,"statusUpdateDisplay",c);ue(d)})},1E3)};
dV.prototype.ngAfterViewInit=function(){var a;84<(null==(a=this.noteContainer)?void 0:a.nativeElement.scrollHeight)&&(this.isCollapsed=!0)};
dV.prototype.editStatusUpdate=function(){var a=this,b,c,d,e,g,h,l;return pe(function(q){switch(q.nextAddress){case 1:return q.yield((0,D.firstValueFrom)(a.issueId$),2);case 2:return b=q.yieldResult,c={issueId:b,updateText:"",version:-1},e=null!=(d=on(a.statusUpdate$))?d:c,q.yield((0,D.firstValueFrom)(a.accessLevel$),3);case 3:return g=q.yieldResult,h="INTERNAL"===g?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE",q.yield(a.editStatusUpdateDialogService.show(e,h),4);case 4:l=q.yieldResult;if(null==l)return q.return();
a.statusUpdateService.update(l).subscribe(function(v){a.didSave(b,v)},function(v){a.errorHandler.errorHandler(null,v)});ue(q)}})};var ORa=function(a){var b,c;return pe(function(d){if(1==d.nextAddress)return d.yield((0,D.firstValueFrom)(a.issueId$),2);b=d.yieldResult;c=on(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)});ue(d)})};
dV.prototype.didSave=function(a,b){lG(this.issueFridge,a,function(c){c.statusUpdate=b});this.issueFridge.poke(a)};var BCc=function(a,b){var c;pe(function(d){if(1==d.nextAddress)return d.yield((0,D.firstValueFrom)(xCc(a.statusUpdateService,b)),2);c=d.yieldResult;a.statusUpdateHistoryDialogService.show(c);ue(d)})};
dV.prototype.doDelete=function(){var a=this,b;pe(function(c){if(1==c.nextAddress)return c.yield((0,D.firstValueFrom)(a.issueId$),2);b=c.yieldResult;a.statusUpdateService.delete(b).subscribe(function(){lG(a.issueFridge,b,function(d){d.statusUpdate=void 0});a.issueFridge.poke(b)});ue(c)})};sh.Object.defineProperties(dV.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});
dV.\u0275fac=function(a){return new (a||dV)(B(EI),B(PJ),B(qJ),B(VU),B(aH),B(JI),B(CK),B(cV),B(YU))};
dV.\u0275cmp=Oc({type:dV,selectors:[["status-update"]],viewQuery:function(a,b){a&1&&bg(yCc,5);if(a&2){var c;ag(c=dg())&&(b.noteContainer=c.first)}},inputs:{issueId:"issueId"},features:[kf],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"],[1,"edit-info","right"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems",4,"ngIf"],["mat-button","","aria-label","Mark Status Update as fresh","color",
"primary","class","gmat-button small margin-xs-right mark-fresh",3,"click",4,"ngIf"],["mat-button","","aria-label","Mark Status Update as fresh","color","primary",1,"gmat-button","small","margin-xs-right","mark-fresh",3,"click"],["class","fresh-checkmark","matTooltip","Last update made within 24 hours","svgIcon","check_circle_filled_24px",4,"ngIf"],[3,"onedevHovercardTrigger"],["mode","relativepast",3,"timestamp"],["userCard",""],[3,"email"],["matTooltip","Last update made within 24 hours","svgIcon",
"check_circle_filled_24px",1,"fresh-checkmark"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems"],[1,"pos-rel"],["noteContainer",""],[3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],["mat-stroked-button","","color","primary","class","gmat-button small show-more",3,"click",4,"ngIf"],[3,"issueId","issueAccessLevel","note","formattingMode"],["mat-stroked-button","","color","primary",1,"gmat-button","small","show-more",3,"click"]],template:function(a,b){a&1&&(O(0,ZRa,
5,14,"div",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.uiState$))},dependencies:[VL,wP,Rw,HB,FL,UK,ZK,xL,QA,lD,Xw,OP],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}.short-height[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}']});
var ACc={LOADING:0,HIDDEN:1,SHOW_EMPTY:2,NORMAL:3,0:"LOADING",1:"HIDDEN",2:"SHOW_EMPTY",3:"NORMAL"},CCc={type:"action",label:"Using the Status Update field...",action:function(){Mpa(window,Sg("https://developers.google.com/issue-tracker/concepts/status-update"),"_blank")},icon:"help-outline",className:"border-top"};var eV=function(){};eV.\u0275fac=function(a){return new (a||eV)};eV.\u0275mod=Qc({type:eV});eV.\u0275inj=zc({imports:[kT,JP,OG,fO,XU,gO,xP,ED,fE,PP,aV,$U]});var fV=function(a,b){this.dialogRef=a;this.userApi=b;this.userSavedSearches=[];this.selectedSavedSearches=new Set;this.pristine=!0};f=fV.prototype;f.ngOnInit=function(){this.getUserSavedSearches()};f.getUserSavedSearches=function(){var a=this;this.userApi.getUserSavedSearches().then(function(b){a.userSavedSearches=[].concat(cd(b))})};f.trackBySearchId=function(a,b){return b.searchId};f.onEnter=function(){this.onConfirm()};f.onEscape=function(){this.dialogRef.close()};f.onConfirm=function(){this.dialogRef.close(this.selectedSavedSearches)};
f.onCancel=function(){this.dialogRef.close()};f.onChangeMatList=function(a){var b=this;a.options.forEach(function(c){c.selected?b.selectedSavedSearches.add(c.value):b.selectedSavedSearches.delete(c.value)});this.pristine=!1};fV.\u0275fac=function(a){return new (a||fV)(B(bB),B(lI))};
fV.\u0275cmp=Oc({type:fV,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&L("keydown.escape",function(){return b.onEscape()})},decls:10,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"selectionChange"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-button","","mat-dialog-close","","aria-label","Dismiss modal","role","button",3,"click"],["mat-flat-button","","mat-dialog-close","","color","primary","aria-label","'Save saved search selection'",1,"gmat-button",3,"disabled",
"click"],["checkboxPosition","before",3,"selected","value"],[1,"savedsearch-name","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&&(F(0,"h2",0),P(1," Add Saved Search\n"),H(),F(2,"div",1)(3,"mat-selection-list",2),L("selectionChange",function(c){return b.onChangeMatList(c)}),O(4,bSa,6,6,"ng-container",3),H()(),F(5,"mat-dialog-actions")(6,"button",4),L("click",function(){return b.onCancel()}),
P(7," Cancel "),H(),F(8,"button",5),L("click",function(){return b.onConfirm()}),P(9," Add "),H()());a&2&&(z(4),E("ngForOf",b.userSavedSearches)("ngForTrackBy",b.trackBySearchId),z(4),E("disabled",b.pristine))},dependencies:[Qw,Rw,fB,gB,hB,iB,lU,mU,QA],styles:["[_nghost-%COMP%]     .mat-dialog-title{margin:0}[_nghost-%COMP%]     .mat-dialog-title h2{margin-top:0;margin-bottom:8px}[_nghost-%COMP%]     .mat-dialog-content{width:500px;padding:0}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-item-content{padding:5px 0;padding-right:20px;padding-left:24px}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-item-content .savedsearch-name{height:24px;font-size:.8125rem}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-text{padding-left:12px}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-text p{font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400}\n/*# sourceMappingURL=saved_search_picker_modal.css.map */"]});
var gV=function(a){this.dialog=a};gV.prototype.open=function(){var a=this,b={panelClass:"no-jitter"};return new Promise(function(c){$A(a.dialog.open(fV,b)).subscribe(function(d){c(d)})})};gV.\u0275fac=function(a){return new (a||gV)(t(eB))};gV.\u0275prov=yc({token:gV,factory:gV.\u0275fac,providedIn:"root"});var DCc=function(){this.headerOnly=!1;this.emailToUser=ti};DCc.\u0275fac=function(a){return new (a||DCc)};
DCc.\u0275cmp=Oc({type:DCc,selectors:[["b-changelist-activity-card"]],inputs:{changelistWithId:"changelistWithId",headerOnly:"headerOnly"},decls:1,vars:1,consts:[["class","container carded bg-main",4,"ngIf"],[1,"container","carded","bg-main"],[1,"header","critique"],[1,"logo"],["alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",1,"user-avatar","material","robo-avatar","ng-star-inserted"],[1,"text","line-clamp-3"],[1,"first-row","heading-xs",3,"title"],["taret","_blank",
1,"subtle-link","line-clamp-2",3,"href"],[1,"second-row","type-xs"],["target","_blank",1,"subtle-link",3,"href"],[3,"model"],[1,"menu"],["mat-icon-button","","aria-label","Show menu for this artifact",1,"gmat-button",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["artifactMenu","matMenu"],["mat-menu-item",""],["class","show-updates",4,"ngIf"],["class","updates",4,"ngIf"],["class","actions margin-s-top",4,"ngIf"],[1,"show-updates"],["mat-button","","aria-label","Show affected files",
1,"small",3,"click"],["svgIcon","arrow-down"],[1,"updates"],[1,"type-m","margin-bottom"],["mat-icon-button","","aria-label","Hide affected files",1,"small",3,"click"],["svgIcon","arrow-up",1,"icon-s"],["class","update",4,"ngFor","ngForOf"],[1,"update"],[1,"text"],[1,"actions","margin-s-top"],[1,"initiate","bordered","rounded"],["svgIcon","pop-out",1,"icon-s","margin-left"],["mat-button","","target","_blank",3,"href"]],template:function(a,b){a&1&&O(0,gSa,31,13,"div",0);a&2&&E("ngIf",null==b.changelistWithId?
null:b.changelistWithId.changelist)},dependencies:[Qw,Rw,HB,QA,RA,RM,dD,bD,cD],styles:[".container[_ngcontent-%COMP%]{padding:8px;margin-bottom:4px}.container   .d-comfort[_nghost-%COMP%]   .container[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .container[_ngcontent-%COMP%]{padding:16px;margin-bottom:8px}.header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;border-bottom:2px solid gray;padding-bottom:8px;margin-bottom:8px}.header   .d-comfort[_nghost-%COMP%]   .header[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .header[_ngcontent-%COMP%]{gap:16px}.header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:30px;width:30px}.header   .logo   img   .d-comfort[_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:40px;width:40px}.header[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img, [_nghost-%COMP%]     .bv2-profile-avatar img.user-avatar{height:32px;width:32px}[_nghost-%COMP%]     .comment .bv2-profile-avatar img.user-avatar{height:24px;width:24px}.update[_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:8px;gap:8px}.update   .d-comfort[_nghost-%COMP%]   .update[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .update[_ngcontent-%COMP%]{padding:16px;gap:16px}.update[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%], .update[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:32px;width:32px}.update[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;width:90%;overflow-wrap:anywhere}.update[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:first-child{font-style:italic}.update[_ngcontent-%COMP%]   .metadata[_ngcontent-%COMP%]{font-weight:700}.actions[_ngcontent-%COMP%]   .initiate[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.subtle-link[_ngcontent-%COMP%]{cursor:pointer}\n/*# sourceMappingURL=card_common.css.map */",
".header.critique[_ngcontent-%COMP%]{border-bottom:2px solid #1e8e3e}\n/*# sourceMappingURL=changelist_activity_card.css.map */"]});var hV=function(a){this.bFocus=!0;this.nativeElement=a.nativeElement};hV.prototype.ngOnInit=function(){this.bFocus&&this.nativeElement.focus()};hV.prototype.ngOnChanges=function(){this.bFocus&&this.nativeElement.focus()};hV.\u0275fac=function(a){return new (a||hV)(B(Dd))};hV.\u0275dir=Sc({type:hV,selectors:[["","bFocus",""]],inputs:{bFocus:"bFocus"},features:[gd]});var iV=function(){};iV.\u0275fac=function(a){return new (a||iV)};iV.\u0275mod=Qc({type:iV});iV.\u0275inj=zc({});var jV=function(a){this.currentUser=a;this.headerOnly=!1;this.STATUS_TERSE=$F;this.emailToUser=ti;this.ReactionType=I6b;this.IssueStatus=O6b;this.toIssuePriority=wl;this.showCommentBox=new Map};f=jV.prototype;f.convertIssueStatusStrToTag=function(a){return tj[a]};f.getClNumber=function(a){var b,c,d;a=null!=(d=null==(b=a.unlinkifiedComment)?void 0:null==(c=b.match(/Change (\d+)/))?void 0:c[1])?d:"0";return Number(a)};f.getUserEmailIfAvailable=function(a){return pi(a.userPerformingActionUser)};
f.clAuthorToUser=function(a){return{emailAddress:Ol(a)+"@google.com"}};f.clAuthorToEmailAddress=function(a){return Ol(a)+"@google.com"};f.clEventToClDescription=function(a){var b,c;return null!=(c=null==(b=a.unlinkifiedComment)?void 0:b.split("\n")[2])?c:""};f.getPreviousDiffValue=function(a,b){var c;return null==(c=[].concat(cd(a.preDiffs),cd(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue};
f.getNewDiffValue=function(a,b){var c;return null==(c=[].concat(cd(a.preDiffs),cd(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue};jV.\u0275fac=function(a){return new (a||jV)(B(qJ))};
jV.\u0275cmp=Oc({type:jV,selectors:[["b-issue-activity-card"]],inputs:{issueWithEvents:"issueWithEvents",headerOnly:"headerOnly"},decls:4,vars:1,consts:[[1,"container","carded","bg-main"],[4,"ngIf"],["loading",""],[1,"header","buganizer"],[1,"logo"],["alt","","src","https://www.gstatic.com/buganizer/img/v3/logo_light.svg",1,"user-avatar","material","robo-avatar","ng-star-inserted"],[1,"text","line-clamp-3","break-word"],[1,"first-row","heading-xs"],[1,"subtle-link",3,"href"],[1,"second-row","type-xs"],
[3,"issuePriority"],[3,"ngSwitch",4,"ngIf"],[1,"menu"],["mat-icon-button","","aria-label","Show menu for this artifact",1,"gmat-button",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["artifactMenu","matMenu"],["mat-menu-item",""],[4,"ngIf","ngIfElse"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"model"],["class","show-updates",4,"ngIf"],["class","updates",4,"ngIf"],["class","actions",4,"ngIf"],[1,"show-updates"],["mat-button","","aria-label","Show recent updates",1,"small",
3,"click"],["svgIcon","arrow-down",1,"icon-s"],[1,"updates"],[1,"type-m"],["mat-icon-button","","aria-label","Hide recent updates",1,"small",3,"click"],["svgIcon","arrow-up",1,"icon-s"],["class","update",4,"ngFor","ngForOf"],[1,"update"],[1,"avatar"],[1,"bv2-profile-avatar",3,"email"],[1,"text","line-clamp-3"],[1,"type-s","line-clamp-2",3,"title"],[1,"metadata","type-xs","margin-s-top"],["mode","relativepast",3,"timestamp"],["role","button",1,"subtle-link",3,"click"],[1,"type-s","line-clamp-2"],[3,
"changelistId"],[1,"actions"],["class","initiate bordered rounded",4,"ngIf"],["class","comment bordered rounded padded-s",4,"ngIf"],[1,"initiate","bordered","rounded"],["svgIcon","add_circle_outline_24px",1,"icon-s","margin-left"],["mat-button","",1,"text","line-clamp-3",3,"click"],[1,"comment","bordered","rounded","padded-s"],["matInput","","aria-label","Add a comment","placeholder","Add a comment...",1,"margin-s-left",3,"bFocus"],["mat-icon-button","","matTooltip","Post comment",1,"gmat-button"],
["svgIcon","check_circle_filled_24px",1,"icon"],["mat-icon-button","","matTooltip","Discard comment",1,"gmat-button",3,"click"],["svgIcon","close",1,"icon"],["mat-icon-button","","matTooltip","Edit comment in issue details page",1,"gmat-button"],["svgIcon","pop-out",1,"icon"]],template:function(a,b){a&1&&(F(0,"div",0),O(1,ESa,23,11,"ng-container",1),O(2,FSa,1,0,"ng-template",null,2,gg),H());a&2&&(z(1),E("ngIf",null==b.issueWithEvents?null:b.issueWithEvents.issue))},dependencies:[Qw,Rw,Sw,Tw,Uw,HB,
uB,xB,dD,bD,cD,lD,QM,wJ,zL,RM,QA,WM,hV,FL,Xw],styles:[".container[_ngcontent-%COMP%]{padding:8px;margin-bottom:4px}.container   .d-comfort[_nghost-%COMP%]   .container[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .container[_ngcontent-%COMP%]{padding:16px;margin-bottom:8px}.header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;border-bottom:2px solid gray;padding-bottom:8px;margin-bottom:8px}.header   .d-comfort[_nghost-%COMP%]   .header[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .header[_ngcontent-%COMP%]{gap:16px}.header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:30px;width:30px}.header   .logo   img   .d-comfort[_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:40px;width:40px}.header[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img, [_nghost-%COMP%]     .bv2-profile-avatar img.user-avatar{height:32px;width:32px}[_nghost-%COMP%]     .comment .bv2-profile-avatar img.user-avatar{height:24px;width:24px}.update[_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:8px;gap:8px}.update   .d-comfort[_nghost-%COMP%]   .update[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .update[_ngcontent-%COMP%]{padding:16px;gap:16px}.update[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%], .update[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:32px;width:32px}.update[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;width:90%;overflow-wrap:anywhere}.update[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:first-child{font-style:italic}.update[_ngcontent-%COMP%]   .metadata[_ngcontent-%COMP%]{font-weight:700}.actions[_ngcontent-%COMP%]   .initiate[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.subtle-link[_ngcontent-%COMP%]{cursor:pointer}\n/*# sourceMappingURL=card_common.css.map */",
".header.buganizer[_ngcontent-%COMP%]{border-bottom:2px solid #678390}.actions[_ngcontent-%COMP%]   .comment[_ngcontent-%COMP%], .actions[_ngcontent-%COMP%]   .initiate[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.actions[_ngcontent-%COMP%]   .comment[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;margin-left:8px}.actions[_ngcontent-%COMP%]   .comment[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{min-height:45px}\n/*# sourceMappingURL=issue_activity_card.css.map */"],
changeDetection:0});var ECc={QA:124156,NIGHTLY:190923,PROD:190923};var kV=function(a,b,c,d,e,g){rF.call(this);var h=this;this.componentApi=b;this.appEvents=e;this.activeSession=g;this.components=a.get("components-second-level-cache")||a.create("components-second-level-cache",{capacity:25});this.subscriptions.add(this.appEvents.componentModified.subscribe(function(l){h.components.removeAll();d.invalidate(l)}));this.componentGetter=c.adapt(function(l){var q=ua(l);Daa(q);return h.componentApi.query({id:q}).then(function(v){var x={};v=k(v);for(var A=v.next();!A.done;A=
v.next())(A=A.value)&&(x[A.componentId]=A);return l.map(function(G){return x[G]||null})})})};T(kV,rF);kV.\u0275dir=rF.\u0275dir;f=kV.prototype;f.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)};
f.create=function(a){var b=this;return this.componentApi.create(a).then(function(c){b.appEvents.componentModified.next(c.componentId);return c})};f.update=function(a){var b=this;return this.componentApi.update(a).then(function(c){b.appEvents.componentModified.next(c.componentId);return c})};f.move=function(a,b){var c=this;return this.componentApi.move(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};
f.updateSlo=function(a,b){var c=this;return this.componentApi.updateSlo(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};f.updateTeam=function(a,b){var c=this;return this.componentApi.updateTeam(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};f.getChildren=function(a,b,c){return this.componentApi.getChildren(a,void 0===b?!1:b,c)};f.getDescendants=function(a){return this.componentApi.getDescendants(a)};
f.getUncached=function(a,b){b=void 0===b?!1:b;this.components.remove(String(a));var c={};b&&(c.checkEditAccess=!0);return this.componentApi.fetchComponent(a,c)};f.search=function(a,b){var c={query:a};if(void 0===b?0:b)c.includearchived=!0;return FCc(this,a,this.componentApi.query(c))};
var FCc=function(a,b,c){if(b.match(/^\s*android\s*$/i)){var d=ECc[a.activeSession.getEnvironmentType()];if(d)return Tn({publicComponent:a.get(d),rest:c}).then(function(e){var g=[e.publicComponent];e=k(e.rest);for(var h=e.next();!h.done;h=e.next())h=h.value,h.componentId!==d&&g.push(h);return g})}return c};
kV.prototype.bulkLoad=function(a){var b=this,c=a.filter(function(g){return!b.components.get(String(g))});Daa(c);if(c.length){a=this.componentApi.query({id:c}).then(function(g){var h={};g=k(g);for(var l=g.next();!l.done;l=g.next())(l=l.value)&&(h[l.componentId]=l);return h});c=k(c);for(var d=c.next(),e={};!d.done;e={$jscomp$loop$prop$id$2358:e.$jscomp$loop$prop$id$2358},d=c.next())e.$jscomp$loop$prop$id$2358=d.value,this.components.put(String(e.$jscomp$loop$prop$id$2358),a.then(function(g){return function(h){return h[g.$jscomp$loop$prop$id$2358]?
h[g.$jscomp$loop$prop$id$2358]:Promise.reject({data:{message:"Could not load details for component "+g.$jscomp$loop$prop$id$2358}})}}(e)))}};kV.\u0275fac=function(a){return new (a||kV)(t(ZH),t(zac),t(IG),t(AG),t(eH),t(Bs))};kV.\u0275prov=yc({token:kV,factory:kV.\u0275fac,providedIn:"root"});var lV=function(){this.showFolderSpecialIcon=!1;this.mode="default";this.query="";this.selectComponentId=new kw;this.expandComponent=new kw;this.goBack=new kw};lV.prototype.ngOnInit=function(){};lV.prototype.expand=function(a,b){b.preventDefault();b.stopPropagation();this.expandComponent.emit(a)};lV.prototype.back=function(a){a.preventDefault();a.stopPropagation();this.goBack.emit()};lV.\u0275fac=function(a){return new (a||lV)};
lV.\u0275cmp=Oc({type:lV,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&&(F(0,"div",0),J(1,1),O(2,GSa,2,0,"ng-container",
2),O(3,HSa,3,0,"ng-container",2),O(4,ISa,3,3,"ng-container",3),K(),F(5,"div",4)(6,"span",5),O(7,NSa,2,1,"ng-container",6),O(8,PSa,1,1,"ng-template",null,7,gg),O(10,QSa,2,0,"span",8),H(),I(11,"b-access-level-indicator",9)(12,"b-tracker-chip-smart",10),H()());if(a&2){var c=Kf(9);z(1);E("ngSwitch",b.mode);z(1);E("ngSwitchCase","recent");z(1);E("ngSwitchCase","tree");z(4);E("ngIf","leaf"!==b.mode)("ngIfElse",c);z(3);E("ngIf",b.componentOption.archived);z(1);E("accessLevel",null==b.componentOption.accessLimit?
null:b.componentOption.accessLimit.accessLevel)("labelOnlyMode",!0);z(1);E("trackerId",b.componentOption.trackerId)("showHovercard",!1)}},dependencies:[Qw,Rw,Sw,Tw,Uw,HB,QA,lD,SL,MP,GK,Ahc],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 mV=function(a,b,c,d,e,g,h){var l=this;this.userApi=a;this.componentActions=b;this.teamsService=c;this.analytics=d;this.destroyed$=e;this.config=g;this.currentTracker=h;this.includeArchived=!1;this.searchQuery$=new D.BehaviorSubject("");this.debouncedSearchQuery$=this.searchQuery$.pipe(Le(250));this.state$=new D.BehaviorSubject("default");this.listUpdated$=new D.Subject;this.componentsLoading=this.teamsLoading=!1;this.teamScope$=new D.BehaviorSubject(void 0);this.componentOptions=[];this.childTeamsMap=
new Map;this.componentCountMap=new Map;this.recentComponents=[];this.myTeams$=new D.BehaviorSubject([]);this.showAllTeams$=new D.BehaviorSubject(!1);this.showAllTeamsDistinct$=this.showAllTeams$.pipe(Ne());this.teamOptions$=new D.BehaviorSubject([]);this.filteredTeamOptions$=(0,D.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(C(function(q){q=k(q);var v=q.next().value;return q.next().value?v:v.slice(0,5)}));this.hasHiddenTeams$=(0,D.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(C(function(q){var v=
k(q);q=v.next().value;v=v.next().value;return 5<q.length&&!v}));this.newChildTeams$=new D.BehaviorSubject([]);this.teamsDisplayed$=(0,D.merge)(this.myTeams$,this.teamOptions$,this.newChildTeams$,this.teamScope$.pipe(C(function(q){return q?[q]:[]}))).pipe(C(function(q){return q.map(function(v){return v.id})}));this.unseenTeamChildTeamsMap$=this.teamsDisplayed$.pipe(C(function(q){return q.filter(function(v){return!l.childTeamsMap.has(v)})}),Ge(function(q){return 0<q.length}),$e(function(q){return l.teamsService.getChildTeams(q)}),
C(USa));this.unseenTeamComponentCountMap$=this.teamsDisplayed$.pipe(C(function(q){return q.filter(function(v){return!l.componentCountMap.has(v)})}),Ge(function(q){return 0<q.length}),$e(function(q){return Eec(l.teamsService,q)}));this.componentIdSelected$=new D.ReplaySubject(1);this.lastProcessedIndex=-1;this.requestIndex=0};
mV.prototype.init=function(a){var b=this;a=void 0===a?!1:a;GCc(this);(0,D.combineLatest)([this.debouncedSearchQuery$.pipe(Ye(a?1:0)),this.state$]).pipe(af(this.destroyed$)).subscribe(function(c){var d=k(c);c=d.next().value;d=d.next().value;b.showAllTeams$.next(!1);"default"===d?c?b.state$.next("global"):(b.componentOptions=[],b.teamOptions$.next([]),b.listUpdated$.next()):"global"===d?c?(b.includeTeamData()&&HCc(b,c),ICc(b,c)):b.state$.next("default"):"team_scope"===d?b.teamScope$.value&&(b.teamOptions$.next([]),
ICc(b,"teamid:"+b.teamScope$.value.id+" "+c)):"component_scope"===d&&b.componentScope&&JCc(b,b.componentScope.id)});this.debouncedSearchQuery$.pipe(cf(this.state$),af(this.destroyed$)).subscribe(function(c){c=k(c);var d=c.next().value;"component_scope"===c.next().value&&b.state$.next(d?"global":"default")});this.unseenTeamChildTeamsMap$.pipe(af(this.destroyed$)).subscribe(function(c){c=k(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b.childTeamsMap.set(d,
e)}});this.unseenTeamComponentCountMap$.pipe(af(this.destroyed$)).subscribe(function(c){c=k(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b.componentCountMap.set(d,e)}})};mV.prototype.getTrackerId=function(){return this.currentTracker.getTrackerId()};mV.prototype.includeTeamData=function(){return this.config.includeTeamData&&!this.currentTracker.inTracker};
var GCc=function(a){a.componentsLoading=!0;a.userApi.getRecentComponents().then(function(b){b=b.filter(function(c){return a.filterTrackerComponents(c)});b=KCc(a,b);a.recentComponents=b;a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1});a.includeTeamData()&&(a.teamsLoading=!0,bJ(a.teamsService,"").pipe(af(a.destroyed$)).subscribe(function(b){a.myTeams$.next(b.map(RSa));a.listUpdated$.next();a.teamsLoading=!1},function(){a.teamsLoading=!1}))};
mV.prototype.filterTrackerComponents=function(a){return!this.currentTracker.inTracker||a.trackerId===this.getTrackerId()};mV.prototype.selectOption=function(a){"component"===a.type?hUa(this,a.id):"team"===a.type?nTa(this,a):console.warn("invalid option selected")};
var hUa=function(a,b){var c=LCc(a);a.analytics.trackEvent(ao.COMPONENT_PICKER,"autocomplete-select",c);a.componentIdSelected$.next(b);a.state$.next("global")},LCc=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""};
mV.prototype.expandComponent=function(a){this.componentScope=a;this.state$.next("component_scope")};
var VTa=function(a,b){a.componentActions.get(b).then(function(c){var d=ds(a.currentTracker,c.componentPathInfo);a.componentScope=TSa(c,d);a.state$.next("component_scope")})},UTa=function(a){a.componentScope=void 0;a.searchQuery$.value?a.state$.next("global"):a.state$.next("default")},nTa=function(a,b){a.teamScope$.next(Object.assign({},b,{expanded:!1}));a.state$.next("team_scope");a.searchQuery$.next("");b.pathNames||hp(a,b.id)},hp=function(a,b){a.teamsLoading=!0;bJ(a.teamsService,b).pipe(af(a.destroyed$)).subscribe(function(c){c=
c.map(RSa);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})},MCc=function(a){if(a.teamScope$.value&&a.teamScope$.value.pathIds&&!(2>a.teamScope$.value.pathIds.length)){var b=a.teamScope$.value.pathIds;hp(a,b[b.length-2])}};mV.prototype.getChildTeams=function(a){var b;return null!=(b=this.childTeamsMap.get(a))?b:[]};
mV.prototype.hasNoComponent=function(a){return this.componentCountMap.has(a)?0===this.componentCountMap.get(a):!1};
var KTa=function(a,b){b.expanded=!1;a.listUpdated$.next()},LTa=function(a,b){b.expanded=!0;a.listUpdated$.next();a.newChildTeams$.next(a.getChildTeams(b.id))},OTa=function(a){a.teamScope$.next(void 0);a.searchQuery$.next("");a.state$.next("default")},HCc=function(a,b){1<b.length&&(a.teamsLoading=!0,bJ(a.teamsService,b).pipe(af(a.destroyed$)).subscribe(function(c){a.teamOptions$.next(c.map(RSa));a.teamsLoading=!1;a.listUpdated$.next()},function(){a.teamsLoading=!1}))},ICc=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=KCc(a,d));a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1})}},JCc=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=KCc(a,d),a.listUpdated$.next())}).finally(function(){a.componentsLoading=!1})},KCc=
function(a,b){return b.map(function(c){var d=ds(a.currentTracker,c.componentPathInfo);return TSa(c,d)})};var NCc=0,nV=function(a,b){this.changeDetectorRef=a;this.elementRef=b;this.active=!1;this.id="b-component-picker-option-"+NCc;NCc+=1};nV.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};nV.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};nV.\u0275fac=function(a){return new (a||nV)(B(Kw),B(Dd))};
nV.\u0275dir=Sc({type:nV,selectors:[["","listOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Df("id",b.id),xf("active",b.active))},inputs:{data:"data",listOrder:"listOrder"}});var oV=function(){this.query="";this.hasNoComponent=this.compact=this.allowSegmentSelection=!1;this.selectTeamId=new kw};oV.prototype.getLogoUrl=function(){return"https://moma-teams-photos.corp.google.com/logo/"+this.teamOption.id};oV.prototype.ngOnInit=function(){};oV.\u0275fac=function(a){return new (a||oV)};
oV.\u0275cmp=Oc({type:oV,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&&(F(0,"div",0),O(1,VSa,1,1,"img",1),F(2,"div",2),O(3,XSa,4,5,"div",3),O(4,eTa,2,1,"div",4),H()());a&2&&(xf("no-component",b.hasNoComponent)("compact",b.compact),z(1),E("ngIf",!b.compact),z(2),E("ngIf",!b.compact),z(1),E("ngIf",b.teamOption.pathNames&&b.teamOption.pathNames.length))},dependencies:[Qw,Rw,GK],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 OCc=new ad("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),PCc=new ad("mat-progress-bar-location",{providedIn:"root",factory:fTa});th(function(a){this._elementRef=a},"primary");var QCc=["primaryValueBar"],RCc=th(function(a){this._elementRef=a},"primary"),SCc=0,pV=function(a,b,c,d,e,g){a=RCc.call(this,a)||this;a._ngZone=b;a._animationMode=c;a._changeDetectorRef=g;a._isNoopAnimation=!1;a._value=0;a._bufferValue=0;a.animationEnd=new kw;a._animationEndSubscription=D.Subscription.EMPTY;a.mode="determinate";a.progressbarId="mat-progress-bar-"+SCc++;a._rectangleFillValue="url('"+(d?d.getPathname().split("#")[0]:"")+"#"+a.progressbarId+"')";a._isNoopAnimation="NoopAnimations"===
c;e&&(e.color&&(a.color=a.defaultColor=e.color),a.mode=e.mode||a.mode);return a};T(pV,RCc);pV.prototype._primaryTransform=function(){return{transform:"scale3d("+this.value/100+", 1, 1)"}};pV.prototype._bufferTransform=function(){return"buffer"===this.mode?{transform:"scale3d("+this.bufferValue/100+", 1, 1)"}:null};
pV.prototype.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._primaryValueBar.nativeElement;a._animationEndSubscription=(0,D.fromEvent)(b,"transitionend").pipe(Ge(function(c){return c.target===b})).subscribe(function(){0!==a.animationEnd.observers.length&&("determinate"!==a.mode&&"buffer"!==a.mode||a._ngZone.run(function(){return a.animationEnd.next({value:a.value})}))})})};pV.prototype.ngOnDestroy=function(){this._animationEndSubscription.unsubscribe()};
sh.Object.defineProperties(pV.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value=Math.max(0,Math.min(100,Ig(a)||0));var b;null==(b=this._changeDetectorRef)||b.markForCheck()}},bufferValue:{configurable:!0,enumerable:!0,get:function(){return this._bufferValue},set:function(a){this._bufferValue=Math.max(0,Math.min(100,a||0));var b;null==(b=this._changeDetectorRef)||b.markForCheck()}}});
pV.\u0275fac=function(a){return new (a||pV)(B(Dd),B(df),B(wv,8),B(PCc,8),B(OCc,8),B(Kw))};
pV.\u0275cmp=Oc({type:pV,selectors:[["mat-progress-bar"]],viewQuery:function(a,b){a&1&&bg(QCc,5);if(a&2){var c;ag(c=dg())&&(b._primaryValueBar=c.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(a,b){a&2&&(of("aria-valuenow","indeterminate"===b.mode||"query"===b.mode?null:b.value)("mode",b.mode),xf("_mat-animation-noopable",b._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",
mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[kf],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],"cx 2 cy 2 r 2".split(" "),["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill",
"mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(a,b){a&1&&(F(0,"div",0),rd(),F(1,"svg",1)(2,"defs")(3,"pattern",2),I(4,"circle",3),H()(),I(5,"rect",4),H(),sd(),I(6,"div",5)(7,"div",6,7)(9,"div",8),H());a&2&&(z(3),E("id",b.progressbarId),z(2),of("fill",b._rectangleFillValue),z(1),E("ngStyle",b._bufferTransform()),z(1),E("ngStyle",b._primaryTransform()))},dependencies:[Vw],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}.mat-progress-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],
encapsulation:2,changeDetection:0});var TCc=["container"],UCc=["inputBox"],VCc=["dropdownTemplate"],WCc=["dropdown"],sTa=function(a){return{mode:"recent",$implicit:a}},xTa=function(a){return[a]},wTa=function(a,b){return{team:a,level:0,order:b}},ETa=function(a){return{mode:"default",$implicit:a}},HTa=function(a){return[0,a]},PTa=function(){return[0]},STa=function(a,b){return{mode:"default",$implicit:a,teamScope:b}},YTa=function(a){return{mode:"leaf",$implicit:a}},cUa=function(a,b,c){return{team:a,level:b,order:c}},XCc=[{originX:"start",
originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],qV=function(a,b,c,d,e,g,h,l,q,v,x){rF.call(this);this.overlay=a;this.viewContainerRef=b;this.userApi=c;this.componentActions=d;this.teamsService=e;this.userAccess=g;this.paths=h;this.analytics=l;this.activeSession=q;this.currentTracker=v;this.cdr=x;this.placeholder="";this.isRequired=!1;this.ariaLabel="";this.checkAdminAccess=!1;this.accessCheckComplete=new kw;this.shouldFocus=!1;this.touched=
new kw;this.selectedComponentChange=new kw;this.dropdownClosed=new kw;this.checkingAccess=this.hasAccess=!1;this.isExternal=this.activeSession.isExternalSession();this.searchState=new mV(this.userApi,this.componentActions,this.teamsService,this.analytics,this.destroyed$,{includeTeamData:!this.isExternal},this.currentTracker);this.componentLoading=this.isDropdownOpen=!1};T(qV,rF);qV.\u0275dir=rF.\u0275dir;
qV.prototype.ngOnInit=function(){var a=this;this.searchState.init(!!this.selectedComponent);this.searchState.componentIdSelected$.pipe(af(this.destroyed$)).subscribe(function(b){a.componentLoading=!0;a.componentActions.get(b).then(function(c){a.selectedComponent=c;YCc(a);a.componentLoading=!1;a.close(!0);a.selectedComponentChange.emit(c)})},function(){a.componentLoading=!1});(0,D.merge)(this.searchState.debouncedSearchQuery$,this.searchState.state$).pipe(af(this.destroyed$)).subscribe(function(){a.clearActiveItem()})};
qV.prototype.isLoading=function(){return this.componentLoading||this.searchState.componentsLoading||this.searchState.teamsLoading};
var YCc=function(a){if(a.selectedComponent){var b=ds(a.currentTracker,a.selectedComponent.componentPathInfo);b=TSa(a.selectedComponent,b);a.searchState.searchQuery$.next(b.componentPath.length?b.componentPath[b.componentPath.length-1].pathText:"")}else a.searchState.searchQuery$.next("")},ZCc=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}};f=qV.prototype;f.ngOnChanges=function(a){a.selectedComponent&&(YCc(this),this.checkAdminAccess&&this.selectedComponent&&$Cc(this,this.selectedComponent))};f.ngOnDestroy=function(){this.close();rF.prototype.ngOnDestroy.call(this)};
f.ngAfterViewInit=function(){var a=this;this.keyManager=vz(wz(new Az(this.listOptions)));this.searchState.listUpdated$.pipe(af(this.destroyed$)).subscribe(function(){a.cdr.markForCheck()});this.listOptions.changes.pipe(af(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(rUa);b=[].concat(cd(c),cd(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()})};f.open=function(){this.isDropdownOpen||(this.isDropdownOpen=!0,this.dropdownOverlayRef=this.createOverlay(),this.attach())};
f.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&&OTa(this.searchState),this.isDropdownOpen=!1,this.dropdownOverlayRef.dispose(),this.dropdownOverlayRef=void 0,this.clearActiveItem(),this.dropdownClosed.emit(),this.analytics.trackEvent(ao.COMPONENT_PICKER,"close",a?"with-selection":"without-selection"))};
f.clearQuery=function(){this.searchState.searchQuery$.next("");this.isDropdownOpen||this.inputBox.nativeElement.focus()};var aDc=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};
qV.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),ZCc(this)):(this.open(),setTimeout(function(){var d;null==(d=b.keyManager)||gWb(d);ZCc(b)}));break;case "ArrowDown":this.isDropdownOpen?(this.keyManager.onKeydown(a),ZCc(this)):(this.open(),setTimeout(function(){var d;null!=(d=b.keyManager)&&d._setActiveItemByIndex(0,1);ZCc(b)}));break;case "Enter":this.keyManager.activeItem&&
(this.searchState.teamScope$.value===this.keyManager.activeItem.data?OTa(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(),LTa(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?KTa(this.searchState,this.keyManager.activeItem.data):MCc(this.searchState));"component_scope"===this.searchState.state$.value&&(a.preventDefault(),UTa(this.searchState));break;case "Backspace":case "Delete":this.keyManager.activeItem&&this.searchState.teamScope$.value===this.keyManager.activeItem.data&&(OTa(this.searchState),a.preventDefault());break;default:this.touched.emit(),
this.isDropdownOpen||this.open()}};var gp=function(a){a.preventDefault();a.stopPropagation()},$Cc=function(a,b){a.checkingAccess=!0;a.hasAccess=!1;MG(a.userAccess,"admin","components/"+b.componentId).then(function(c){a.checkingAccess=!1;a.accessCheckComplete.emit(c);a.hasAccess=c})};f=qV.prototype;
f.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;return this.overlay.create(new Wz({positionStrategy:a,scrollStrategy:b,panelClass:["b-team-component-picker-dropdown","gmat-elevation-z3"],width:null==(c=this.container.nativeElement)?void 0:c.offsetWidth}))};f.attach=function(){var a=new gy(this.dropdownTemplateRef,this.viewContainerRef),b;null==(b=this.dropdownOverlayRef)||b.attach(a);var c;null==(c=this.dropdownOverlayRef)||c.updatePosition()};
f.getPositionStrategy=function(){return Zz(zWb(aA(cA(this.overlay.position(),this.container),!1),!1),XCc)};f.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};f.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&(this.keyManager.setActiveItem(-1),this.dropdown&&(this.dropdown.nativeElement.scrollTop=0))};sh.Object.defineProperties(qV.prototype,{includeArchived:{configurable:!0,enumerable:!0,set:function(a){this.searchState.includeArchived=a}}});
qV.\u0275fac=function(a){return new (a||qV)(B(dA),B(Zf),B(lI),B(kV),B($I),B(LG),B(QH),B(EI),B(Bs),B(PL),B(Kw))};
qV.\u0275cmp=Oc({type:qV,selectors:[["b-team-component-picker"]],viewQuery:function(a,b){a&1&&(bg(TCc,7),bg(UCc,7),bg(VCc,7),bg(WCc,5),bg(nV,5));if(a&2){var c;ag(c=dg())&&(b.container=c.first);ag(c=dg())&&(b.inputBox=c.first);ag(c=dg())&&(b.dropdownTemplateRef=c.first);ag(c=dg())&&(b.dropdown=c.first);ag(c=dg())&&(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:[kf,gd],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&&(F(0,"div",0,1)(2,"input",2,3),L("ngModelChange",function(d){return b.searchState.searchQuery$.next(d)})("keydown",function(d){return b.handleKeydown(d)})("click",function(){b.open();return b.touched.emit()})("focus",function(){return b.open()})("blur",function(){return b.close()}),R(4,"async"),H(),O(5,gTa,2,0,"button",4),H(),O(6,kTa,4,2,"div",5),O(7,$Ta,11,8,"ng-template",null,6,gg),O(9,fUa,5,11,"ng-template",null,
7,gg),O(11,qUa,3,2,"ng-template",null,8,gg));if(a&2){var c=Kf(3);z(2);E("ngModel",S(4,8,b.searchState.searchQuery$))("placeholder",b.placeholder)("required",b.isRequired);of("aria-label",b.ariaLabel+(b.selectedComponent?" Component selected. Change.":" Choose component"))("aria-expanded",b.isDropdownOpen)("aria-activedescendant",aDc(b));z(3);E("ngIf",c.value);z(1);E("ngIf",b.checkAdminAccess)}},dependencies:[Qw,Rw,Ww,Sw,Tw,Uw,HB,wg,tx,Lx,Ax,QA,XM,lD,pV,oV,lV,nV,Xw],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 bDc={ME:0,TEAM:1,COMPONENT:2,HOTLIST:3,SAVEDSEARCH:4,0:"ME",1:"TEAM",2:"COMPONENT",3:"HOTLIST",4:"SAVEDSEARCH"},cDc=new Map([[0,{type:0,display:"My activity",search:{atom:"assignee",value:"me"}}],[2,{type:2,display:"Component",search:{atom:"componentid",value:void 0}}],[3,{type:3,display:"Hotlist",search:{atom:"hotlistid",value:void 0}}]]),dDc=cDc.get(0),rV=function(a){var b=this;this.hotlistFridge=a;this.selectedFilter=dDc;this.isOpen=!1;this.FilterType=bDc;this.filters=cDc;this.selectedComponent=
null;this.isHotlistPanelOpen=!1;this.selectedHotlist=null;this.userHotlistQuery$=new D.BehaviorSubject("");this.userHotlists$=mdc(this.hotlistFridge);this.displayedHotlists$=this.userHotlistQuery$.pipe(Le(200),$e(function(c){c=c.toLowerCase();return b.userHotlists$.pipe(C(function(d){return d.filter(function(e){return e.name.toLowerCase().includes(c)})}))}));this.selected=new kw;this.internalSelectedFilter=Yh(this.selectedFilter);if(a=rI("streamFilterSelectedComponent")())this.selectedComponent=a,
this.filters.get(2).search.value=a.componentId+"+";if(a=rI("streamFilterSelectedHotlist")())this.selectedHotlist=a,this.filters.get(3).search.value=String(a.hotlistId)};rV.prototype.selectComponent=function(a){a&&(ip("streamFilterSelectedComponent")(a),this.selectedComponent=a,this.filters.get(2).search.value=a.componentId+"+",this.selectedFilter=this.filters.get(2))};
var eDc=function(a){var b=a.selectedFilter.display;switch(a.selectedFilter.type){case 2:if(a.selectedComponent&&a.selectedComponent.componentPathInfo&&a.selectedComponent.componentPathInfo.componentPathName)return b+": "+a.selectedComponent.componentPathInfo.componentPathName[a.selectedComponent.componentPathInfo.componentPathName.length-1];break;case 3:if(a.selectedHotlist)return b+": "+a.selectedHotlist.name}return b};rV.prototype.openMenu=function(){this.isOpen=!0};
rV.prototype.closeMenu=function(){this.selectedFilter||(this.selectedFilter=this.internalSelectedFilter);2!==this.selectedFilter.type&&3!==this.selectedFilter.type||this.selectedFilter.search.value||(this.selectedFilter=this.internalSelectedFilter);this.isOpen=!1};rV.prototype.emitSelection=function(){this.selected.emit(this.selectedFilter);this.closeMenu()};rV.\u0275fac=function(a){return new (a||rV)(B(pI))};
rV.\u0275cmp=Oc({type:rV,selectors:[["b-activity-stream-filter"]],inputs:{selectedFilter:"selectedFilter"},outputs:{selected:"selected"},decls:8,vars:5,consts:[["mat-icon-button","","aria-label","Show menu to filter stream","aria-haspopup","true","cdkOverlayOrigin","",1,"gmat-button","large",3,"click"],["trigger","cdkOverlayOrigin"],["svgIcon","filter"],[1,"chippy","rounded"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",
"cdkConnectedOverlayPanelClass","filter-stream-menu",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","detach","backdropClick"],["loading",""],["id","radio-group-label",1,"heading-s"],["aria-labelledby","radio-group-label",1,"radio-group",3,"value","change"],["class","radio-button",3,"checked","value",4,"ngIf"],[4,"ngIf"],[1,"actions","padded","flex-kids-x","justify-flex-end","gap"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary",3,"click"],[1,"radio-button",3,"checked",
"value"],[1,"bv2-search-component-picker","margined",3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["appearance","outline",1,"stream-filter-hotlist-search","margined"],["autocomplete","off","aria-label","Search hotlists","matInput","","cdkOverlayOrigin","","placeholder","Search starred hotlists",1,"margined",3,"value","input","focus"],["searchHotlistsInput","","hotlistPanelTrigger","cdkOverlayOrigin"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass",
"cdk-overlay-transparent-backdrop","cdkConnectedOverlayPanelClass","search-hotlists-menu",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","detach","backdropClick"],[3,"multiple","selectionChange"],[4,"ngIf","ngIfElse"],[3,"value",4,"ngFor","ngForOf"],[3,"value",4,"ngIf"],[3,"value"]],template:function(a,b){a&1&&(F(0,"button",0,1),L("click",function(){return b.openMenu()}),I(2,"mat-icon",2),H(),F(3,"div",3),P(4),H(),O(5,BUa,15,6,"ng-template",4),L("detach",function(){return b.closeMenu()})("backdropClick",
function(){return b.closeMenu()}),O(6,CUa,1,0,"ng-template",null,5,gg));if(a&2){var c=Kf(1);xf("menu-open",b.isOpen);z(4);Lf(" ",eDc(b),"\n");z(1);E("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isOpen)}},dependencies:[Qw,Rw,HB,QA,uB,sB,xB,lU,mU,XM,fA,eA,aO,bO,WM,qV,Xw],styles:["[_nghost-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:8px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}  .filter-stream-menu{box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15);border-radius:4px;background-color:#fff;background-color:var(--background);padding:16px;-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;min-width:500px;max-width:18rem;max-height:calc(100vh - 100px);overflow-y:auto}  .search-hotlists-menu{box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15);border-radius:4px;background-color:#fff;background-color:var(--background);max-height:20rem;overflow-y:auto;-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}  .stream-filter-hotlist-search .mat-form-field-infix{padding:8px 0}  .stream-filter-hotlist-search .mat-form-field-infix input{height:1.25rem}.stream-filter-hotlist-search[_ngcontent-%COMP%]{width:380px}.chippy[_ngcontent-%COMP%]{font-weight:500;color:#185abc;color:var(--selected-text);box-shadow:inset 0 0 0 1px #185abc;box-shadow:inset 0 0 0 1px var(--selected-text);background-color:#d2e3fc;background-color:var(--selected-bg)}.radio-group[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:15px 0;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start}.radio-button[_ngcontent-%COMP%]{margin:5px}\n/*# sourceMappingURL=stream_filter.css.map */"]});var KUa=function(){return[]},fDc={CARD_HEADER_ONLY:0,0:"CARD_HEADER_ONLY"},sV=function(a,b,c,d,e){this.issueFridge=a;this.eventsForIssueFridge=b;this.currentUser=c;this.dateFormatter=d;this.changelistApi=e;this.showCls=!1;this.issuesWithEvents$=(0,D.of)([]);this.changelistsWithIds=(0,D.of)([]);this.loadingCards=!0;this.isSettingsMenuOpen=!1;this.settings=new Map([[0,{id:0,display:"Show card headers only",value:!1}]]);this.SettingType=fDc;a=Vm("activityStreamHeaderOnly")();this.settings.get(0).value=
null!=a?a:!1;this.selectedFilter=(a=rI("activityStreamSelectedFilter")())?a:dDc;gDc(this)},gDc=function(a){a.loadingCards=!0;a.issuesWithEvents$=a.issueFridge.watchMany({filter:a.selectedFilter.search.atom+":"+a.selectedFilter.search.value+" AND modified:7d",pageSize:25,sort:"modified_time:desc"}).pipe(C(function(b){var c;return null!=(c=b.results)?c:[]}),C(a.buildIssuesWithEvents.bind(a)),bf(function(){hDc(a)}))};
sV.prototype.getDayOfYear=function(a){a=void 0===a?new Date:a;var b=new Date(a.getFullYear(),0,0);return Math.floor((a.getTime()-b.getTime()+6E4*(b.getTimezoneOffset()-a.getTimezoneOffset()))/864E5)};var hDc=function(a){setTimeout(function(){a.loadingCards=!1},500)};
sV.prototype.buildIssuesWithEvents=function(a){var b=this,c=[];a.sort(function(e,g){return g.majorModifiedTimeMicros-e.majorModifiedTimeMicros});a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c.push({issue:d,events:this.eventsForIssueFridge.watchOne(d.issueId).pipe(C(function(e){if(e){var g,h=null!=(g=e.events)?g:[];e=e.id;g=[];h=k(h);for(var l=h.next();!l.done;l=h.next())if(l=l.value){var q=b.getInterestingEventType(l);q&&g.push({issueId:e,event:l,eventType:q})}e=g}else e=[];return e}))});
return c};
sV.prototype.getInterestingEventType=function(a){if(!a||a.modifiedDate<Date.now()-12096E5)return null;if(0<a.preDiffs.length||0<a.postDiffs.length){var b=[].concat(cd(a.preDiffs),cd(a.postDiffs));b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;if(!c.oldValue&&("priority"===c.name||"status"===c.name))return"newIssue";if("priority"===c.name)return"priority";if("status"===c.name)return Ml(a)?"changelistFixed":"status";if("assignee"===c.name)return"assignee";if("statusUpdate"===c.name)return"statusUpdate"}}return Ml(a)?"changelist":
Fl(a)&&a.isHumanAuthor?"comment":null};sV.\u0275fac=function(a){return new (a||sV)(B(JI),B(nG),B(qJ),B(EL),B(nE))};
sV.\u0275cmp=Oc({type:sV,selectors:[["b-activity-stream"]],decls:11,vars:5,consts:[[1,"container","padded"],[1,"filters","margin-s-bottom","border-bottom"],[1,"flex",3,"selectedFilter","selected"],["mat-icon-button","","color","primary","aria-label","Refresh the stream",1,"gmat-button",3,"click"],["svgIcon","refresh"],["mat-icon-button","","aria-haspopup","true","cdkOverlayOrigin","","aria-label","Show settings for activity stream",1,"gmat-button",3,"click"],["settingsMenuTrigger","cdkOverlayOrigin"],
["svgIcon","more-settings-vertical"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop","cdkConnectedOverlayPanelClass","activity-stream-settings-menu",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","detach","backdropClick"],["class","card-scroll padded-x",4,"ngIf"],[4,"ngIf"],[3,"value","selected","click"],[1,"card-scroll","padded-x"],[4,"ngFor","ngForOf"],[3,"changelistWithId"],["scrollContainer",""],["class",
"padded centered-inside",4,"ngIf"],["class","carded bg-main margin-bottom the-end",4,"ngIf"],[1,"padded","centered-inside"],[3,"issueWithEvents","headerOnly"],[1,"heading-m","margin-y"],[1,"carded","bg-main","margin-bottom","the-end"],[1,"heading-s"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"b-activity-stream-filter",2),L("selected",function(d){b.selectedFilter=d;ip("activityStreamSelectedFilter")(d);gDc(b)}),H(),F(3,"button",3),
L("click",function(){return gDc(b)}),I(4,"mat-icon",4),H(),F(5,"button",5,6),L("click",function(){b.isSettingsMenuOpen=!0}),I(7,"mat-icon",7),H(),O(8,EUa,2,1,"ng-template",8),L("detach",function(){b.isSettingsMenuOpen=!1})("backdropClick",function(){b.isSettingsMenuOpen=!1}),H(),O(9,GUa,3,3,"div",9),O(10,NUa,6,5,"div",9),H());if(a&2){var c=Kf(6);z(2);E("selectedFilter",b.selectedFilter);z(6);E("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isSettingsMenuOpen);z(1);E("ngIf",b.showCls);
z(1);E("ngIf",!b.showCls)}},dependencies:[Qw,Rw,HB,QA,lU,mU,fA,eA,WM,jV,DCc,rV,Xw],styles:[".card-scroll[_ngcontent-%COMP%]{height:calc(100vh - 175px);overflow-y:scroll}.filters[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:8px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}  .activity-stream-settings-menu{box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15);border-radius:4px;background-color:#fff;background-color:var(--background);max-height:20rem;overflow-y:auto;-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}.the-end[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:8px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}\n/*# sourceMappingURL=activity_stream.css.map */"]});var tV=function(a){this.internalArray_=m(a)};T(tV,p);tV.prototype.getWorkspaceId=function(){return U(this,1)};tV.prototype.getClientTimeZone=function(){return X(this,ij,2)};tV.prototype.toObject=function(){if(null!=this){r(this);var a={workspaceId:U(this,1),clientTimeZone:a5b(this.getClientTimeZone())}}else a=void 0;return a};var uV=function(a){this.internalArray_=m(a)};T(uV,p);uV.prototype.getTaskList=function(){return kj(this,dn,1)};uV.prototype.addTask=function(a){Co(this,1,dn,a)};var iDc=Zb(uV);uV.repeatedFields_=[1];uV.prototype.toObject=function(){if(null!=this){r(this);var a={taskList:Ub(this.getTaskList(),i4b)}}else a=void 0;return a};var jDc=new GD("/google.internal.devopsconsole.v1.CritiqueTaskService/GetStreamCritiqueTasks",tV,uV,function(a){return a.serialize()},iDc);var mDc=function(){var a=kDc,b=new tV;return a.client_.serverStreaming(a.hostname_+"/$rpc/google.internal.devopsconsole.v1.CritiqueTaskService/GetStreamCritiqueTasks",b,lDc||{},jDc)};var vV=function(a){this.internalArray_=m(a)};T(vV,p);vV.prototype.getWorkspaceId=function(){return U(this,4)};vV.prototype.getClientTimeZone=function(){return X(this,ij,5)};vV.prototype.toObject=function(){if(null!=this){r(this);var a={oauthToken:U(this,1),enableDebug:Tj(this,2),autoRefresh:Tj(this,3),workspaceId:U(this,4),clientTimeZone:a5b(this.getClientTimeZone())}}else a=void 0;return a};var nDc=function(a){this.internalArray_=m(a)};T(nDc,p);nDc.prototype.toObject=function(){return oDc(this)};var oDc=function(a){if(null!=a)return r(a),{logMessage:U(a,1),relativeStartMs:rj(a,2)}};var pDc=function(a){this.internalArray_=m(a)};T(pDc,p);f=pDc.prototype;f.getName=function(){return U(this,1)};f.setName=function(a){return wj(this,1,a)};f.addRequest=function(a,b){Cb(this,2,kb(a),b)};f.getRequest=function(){return kt(this,2)};f.getRequestCount=function(){return Th(this,2,void 0,2).length};f.getResponse=function(a){return kt(this,4,a)};f.setResponse=function(a){return nt(this,4,a)};pDc.repeatedFields_=[2,3,4];pDc.prototype.toObject=function(){return qDc(this)};
var qDc=function(a){if(null!=a)return r(a),{name:U(a,1),requestList:n(Th(a,2)),responseStatusList:n(Th(a,3)),responseList:n(Th(a,4)),relativeStartMs:rj(a,5),latencyMs:rj(a,6)}};var rDc=function(a){this.internalArray_=m(a)};T(rDc,p);rDc.repeatedFields_=[1,2];rDc.prototype.toObject=function(){return sDc(this)};var sDc=function(a){if(null!=a)return r(a),{rpcInfoList:Ub(kj(a,pDc,1),qDc),logInfoList:Ub(kj(a,nDc,2),oDc)}};var wV=function(a){this.internalArray_=m(a)};T(wV,p);wV.prototype.getTaskList=function(){return kj(this,dn,1)};wV.prototype.addTask=function(a){Co(this,1,dn,a)};var tDc=Zb(wV);wV.repeatedFields_=[1];wV.prototype.toObject=function(){if(null!=this){r(this);var a={taskList:Ub(this.getTaskList(),i4b),debugInfo:sDc(X(this,rDc,4)),incrementalUpdate:Tj(this,5)}}else a=void 0;return a};var uDc=new GD("/google.internal.devopsconsole.v1.DriveTaskService/GetStreamDriveTasks",vV,wV,function(a){return a.serialize()},tDc);var wDc=function(){var a=vDc,b=new vV;return a.client_.serverStreaming(a.hostname_+"/$rpc/google.internal.devopsconsole.v1.DriveTaskService/GetStreamDriveTasks",b,lDc||{},uDc)};var xDc=new ad("GMAT_CHECKBOX_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var yDc=function(a){this.options=a};yDc.\u0275fac=function(a){return new (a||yDc)(B(xDc))};yDc.\u0275dir=Sc({type:yDc,selectors:[["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&xf("gmat-mdc-checkbox",!b.options.disableGmatStyle)}});var zDc=new ad("GMAT_CHIPS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var xV=function(a){this.options=a};xV.\u0275fac=function(a){return new (a||xV)(B(zDc))};
xV.\u0275dir=Sc({type:xV,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&&xf("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 ADc=new ad("mat-chips-default-options"),BDc=new ad("MatChipAvatar"),CDc=new ad("MatChipTrailingIcon"),DDc=new ad("MatChipRemove"),EDc=new ad("MatChip");var FDc=wh(function(){},-1),yV=function(a,b){var c=FDc.call(this)||this;c._elementRef=a;c._parentChip=b;c.isInteractive=!0;c._isPrimary=!0;c._disabled=!1;c._allowFocusWhenDisabled=!1;"BUTTON"===a.nativeElement.nodeName&&a.nativeElement.setAttribute("type","button");return c};T(yV,FDc);f=yV.prototype;f._getDisabledAttribute=function(){return this.disabled&&!this._allowFocusWhenDisabled?"":null};
f._getTabindex=function(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()};f.focus=function(){this._elementRef.nativeElement.focus()};f._handleClick=function(a){!this.disabled&&this.isInteractive&&this._isPrimary&&(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())};
f._handleKeydown=function(a){13!==a.keyCode&&32!==a.keyCode||this.disabled||!this.isInteractive||!this._isPrimary||this._parentChip._isEditing||(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())};sh.Object.defineProperties(yV.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this._parentChip.disabled},set:function(a){this._disabled=Fg(a)}}});yV.\u0275fac=function(a){return new (a||yV)(B(Dd),B(EDc))};
yV.\u0275dir=Sc({type:yV,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(a,b){a&1&&L("click",function(c){return b._handleClick(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&(of("tabindex",b._getTabindex())("disabled",b._getDisabledAttribute())("aria-disabled",b.disabled),xf("mdc-evolution-chip__action--primary",b._isPrimary)("mdc-evolution-chip__action--presentational",!b.isInteractive)("mdc-evolution-chip__action--trailing",
!b._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[kf]});var GDc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],HDc=0,IDc=wh(th(uh(vh(function(a){this._elementRef=a})),"primary"),-1),zV=function(a,b,c,d,e,g,h,l){b=IDc.call(this,b)||this;b._changeDetectorRef=a;b._ngZone=c;b._focusMonitor=d;b._globalRippleOptions=h;b._isRippleCentered=!1;b._onFocus=new D.Subject;b._onBlur=new D.Subject;b.role=null;b._hasFocusInternal=!1;b.id="mat-mdc-chip-"+HDc++;b.ariaLabel=null;b.ariaDescription=
null;b._ariaDescriptionId=b.id+"-aria-description";b._removable=!0;b._highlighted=!1;b.removed=new kw;b.destroyed=new kw;b.basicChipAttrName="mat-basic-chip";b._document=e;b._animationsDisabled="NoopAnimations"===g;if(null!=l){var q;b.tabIndex=null!=(q=parseInt(l))?q:b.defaultTabIndex}b._monitorFocus();return b};T(zV,IDc);f=zV.prototype;f._hasFocus=function(){return this._hasFocusInternal};
f.ngOnInit=function(){var a=this._elementRef.nativeElement;this._isBasicChip=a.hasAttribute(this.basicChipAttrName)||a.tagName.toLowerCase()===this.basicChipAttrName};f.ngAfterViewInit=function(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label");this._pendingFocus&&(this._pendingFocus=!1,this.focus())};f.ngAfterContentInit=function(){var a=this;this._actionChanges=(0,D.merge)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(function(){return a._changeDetectorRef.markForCheck()})};
f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);var a;null==(a=this._actionChanges)||a.unsubscribe();this.destroyed.emit({chip:this});this.destroyed.complete()};f.remove=function(){this.removable&&this.removed.emit({chip:this})};f._isRippleDisabled=function(){var a;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!(null==(a=this._globalRippleOptions)||!a.disabled)};f._hasTrailingIcon=function(){return!(!this.trailingIcon&&!this.removeIcon)};
f._handleKeydown=function(a){if(8===a.keyCode||46===a.keyCode)a.preventDefault(),this.remove()};f.focus=function(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)};f._getSourceAction=function(a){return this._getActions().find(function(b){b=b._elementRef.nativeElement;return b===a||b.contains(a)})};
f._getActions=function(){var a=[];this.primaryAction&&a.push(this.primaryAction);this.removeIcon&&a.push(this.removeIcon);this.trailingIcon&&a.push(this.trailingIcon);return a};f._handlePrimaryActionInteraction=function(){};f._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(Oe()).subscribe(function(){return a._ngZone.run(function(){return a._onBlur.next({chip:a})})}))})};
sh.Object.defineProperties(zV.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}},removable:{configurable:!0,enumerable:!0,get:function(){return this._removable},set:function(a){this._removable=Fg(a)}},highlighted:{configurable:!0,enumerable:!0,get:function(){return this._highlighted},set:function(a){this._highlighted=Fg(a)}}});
zV.\u0275fac=function(a){return new (a||zV)(B(Kw),B(Dd),B(df),B(by),B(qh),B(wv,8),B(qA,8),wd("tabindex"))};
zV.\u0275cmp=Oc({type:zV,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(a,b,c){a&1&&(cg(c,BDc,5),cg(c,CDc,5),cg(c,DDc,5),cg(c,BDc,5),cg(c,CDc,5),cg(c,DDc,5));if(a&2){var d;ag(d=dg())&&(b.leadingIcon=d.first);ag(d=dg())&&(b.trailingIcon=d.first);ag(d=dg())&&(b.removeIcon=d.first);ag(d=dg())&&(b._allLeadingIcons=d);ag(d=dg())&&(b._allTrailingIcons=d);ag(d=dg())&&(b._allRemoveIcons=d)}},viewQuery:function(a,b){a&1&&(bg(rA,5),bg(yV,5));
if(a&2){var c;ag(c=dg())&&(b.ripple=c.first);ag(c=dg())&&(b.primaryAction=c.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(a,b){a&1&&L("keydown",function(c){return b._handleKeydown(c)});a&2&&(Df("id",b.id),of("role",b.role)("tabindex",b.role?b.tabIndex:null)("aria-label",b.ariaLabel),xf("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:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",
role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Of([{provide:EDc,useExisting:zV}]),kf],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:9,vars:6,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled",
"matRippleCentered","matRippleTrigger"],[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",4,"ngIf"],[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",4,"ngIf"],[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&&(Ff(GDc),I(0,"span",0)(1,"span",1),F(2,"span",2)(3,"span",3),O(4,OUa,2,0,"span",4),F(5,"span",5),Gf(6),I(7,"span",6),H()()(),O(8,PUa,2,0,"span",7));a&2&&(E("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b._isRippleCentered)("matRippleTrigger",b._elementRef.nativeElement),z(3),E("isInteractive",!1),z(1),E("ngIf",b.leadingIcon),z(4),E("ngIf",b._hasTrailingIcon()))},dependencies:[Rw,rA,yV],
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);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.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{width: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-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 JDc=wh(function(){}),AV=function(a,b,c){var d=JDc.call(this,a)||this;d._elementRef=a;d._changeDetectorRef=b;d._dir=c;d._lastDestroyedFocusedChipIndex=null;d._destroyed=new D.Subject;d._defaultRole="presentation";d._disabled=!1;d._explicitRole=null;d._chipActions=new eg;return d};T(AV,JDc);f=AV.prototype;f.ngAfterViewInit=function(){this._setUpFocusManagement();this._trackChipSetChanges();this._trackDestroyedFocusedChip()};
f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._chipActions.destroy();this._destroyed.next();this._destroyed.complete()};f._hasFocusedChip=function(){return this._chips&&this._chips.some(function(a){return a._hasFocus()})};f._syncChipsState=function(){var a=this;this._chips&&this._chips.forEach(function(b){b.disabled=a._disabled;b._changeDetectorRef.markForCheck()})};f.focus=function(){};f._handleKeydown=function(a){if(this._originatesFromChip(a))this._keyManager.onKeydown(a)};
f._isValidIndex=function(a){return 0<=a&&a<this._chips.length};f._allowFocusEscape=function(){var a=this;if(-1!==this.tabIndex){var b=this.tabIndex;this.tabIndex=-1;setTimeout(function(){return a.tabIndex=b})}};f._getChipStream=function(a){var b=this;return this._chips.changes.pipe(Ze(null),$e(function(){return D.merge.apply(null,cd(b._chips.map(a)))}))};f._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};
f._setUpFocusManagement=function(){var a=this;this._chips.changes.pipe(Ze(this._chips)).subscribe(function(c){var d=[];c.forEach(function(e){return e._getActions().forEach(function(g){return d.push(g)})});a._chipActions.reset(d);$f(a._chipActions)});this._keyManager=uz(yz(xz(wz(new Bz(this._chipActions)),this._dir?this._dir.value:"ltr")),function(c){return a._skipPredicate(c)});this.chipFocusChanges.pipe(af(this._destroyed)).subscribe(function(c){(c=c.chip._getSourceAction(document.activeElement))&&
zz(a._keyManager,c)});var b;null==(b=this._dir)||b.change.pipe(af(this._destroyed)).subscribe(function(c){return xz(a._keyManager,c)})};f._skipPredicate=function(a){return!a.isInteractive||a.disabled};f._trackChipSetChanges=function(){var a=this;this._chips.changes.pipe(Ze(null),af(this._destroyed)).subscribe(function(){a.disabled&&Promise.resolve().then(function(){return a._syncChipsState()});a._redirectDestroyedChipFocus()})};
f._trackDestroyedFocusedChip=function(){var a=this;this.chipDestroyedChanges.pipe(af(this._destroyed)).subscribe(function(b){var c=a._chips.toArray().indexOf(b.chip);a._isValidIndex(c)&&b.chip._hasFocus()&&(a._lastDestroyedFocusedChipIndex=c)})};
f._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}};
sh.Object.defineProperties(AV.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=Fg(a);this._syncChipsState()}},empty:{configurable:!0,enumerable:!0,get:function(){return 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()}}});AV.\u0275fac=function(a){return new (a||AV)(B(Dd),B(Kw),B(Cz,8))};
AV.\u0275cmp=Oc({type:AV,selectors:[["mat-chip-set"]],contentQueries:function(a,b,c){a&1&&cg(c,zV,5);if(a&2){var d;ag(d=dg())&&(b._chips=d)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(a,b){a&1&&L("keydown",function(c){return b._handleKeydown(c)});a&2&&of("role",b.role)},inputs:{disabled:"disabled",role:"role"},features:[kf],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&
1&&(Ff(),F(0,"div",0),Gf(1),H())},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 KDc=function(a,b,c,d,e,g,h){a=AV.call(this,a,b,c)||this;a._defaultErrorStateMatcher=d;a._parentForm=e;a._parentFormGroup=g;a.ngControl=h;a.stateChanges=new D.Subject;return a};T(KDc,AV);KDc.\u0275cmp=AV.\u0275cmp;KDc.\u0275fac=AV.\u0275fac;Eoa(KDc);var LDc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],BV=function(){var a=zV.apply(this,arguments)||this;a._defaultOptions=Jc(ADc,{optional:!0});a.chipListSelectable=!0;a._chipListMultiple=!1;var b,c;a._chipListHideSingleSelectionIndicator=null!=(c=null==(b=a._defaultOptions)?void 0:b.hideSingleSelectionIndicator)?c:!1;a._selectable=!0;a._selected=!1;a.basicChipAttrName="mat-basic-chip-option";a.selectionChange=
new kw;return a};T(BV,zV);f=BV.prototype;f.ngOnInit=function(){zV.prototype.ngOnInit.call(this);this.role="presentation"};f.select=function(){this._setSelectedState(!0,!1,!0)};f.deselect=function(){this._setSelectedState(!1,!1,!0)};f._handlePrimaryActionInteraction=function(){this.selectable&&!this.disabled&&this._setSelectedState(!this.selected,!0,!0)};f._hasLeadingGraphic=function(){return this.leadingIcon?!0:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple};
f._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())};
sh.Object.defineProperties(BV.prototype,{selectable:{configurable:!0,enumerable:!0,get:function(){return this._selectable&&this.chipListSelectable},set:function(a){this._selectable=Fg(a);this._changeDetectorRef.markForCheck()}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._setSelectedState(Fg(a),!1,!0)}},ariaSelected:{configurable:!0,enumerable:!0,get:function(){return this.selectable?this.selected.toString():null}}});
BV.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(BV)))(b||BV)}}();
BV.\u0275cmp=Oc({type:BV,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&&(Df("id",b.id),of("tabindex",null)("aria-label",null)("aria-description",null)("role",b.role),xf("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:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[Of([{provide:zV,useExisting:BV},{provide:EDc,useExisting:BV}]),kf],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:11,vars:12,consts:[["matRipple","",1,"mat-mdc-chip-ripple",
3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[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",4,"ngIf"],[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",
4,"ngIf"],[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&&(Ff(LDc),I(0,"span",0)(1,"span",1),F(2,"span",
2)(3,"button",3),O(4,QUa,5,0,"span",4),F(5,"span",5),Gf(6),I(7,"span",6),H()()(),O(8,RUa,2,0,"span",7),F(9,"span",8),P(10),H());a&2&&(E("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b._isRippleCentered)("matRippleTrigger",b._elementRef.nativeElement),z(3),E("tabIndex",b.tabIndex)("_allowFocusWhenDisabled",!0),of("aria-selected",b.ariaSelected)("aria-label",b.ariaLabel)("aria-describedby",b._ariaDescriptionId),z(1),E("ngIf",b._hasLeadingGraphic()),z(4),E("ngIf",b._hasTrailingIcon()),
z(1),E("id",b._ariaDescriptionId),z(1),Mf(b.ariaDescription))},dependencies:[Rw,rA,yV],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);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.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{width: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-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 MDc=function(a,b){this.source=a;this.value=b},NDc={provide:gx,useExisting:Ec(function(){return CV}),multi:!0},CV=function(){var a=AV.apply(this,arguments)||this;a._onTouched=function(){};a._onChange=function(){};a._defaultRole="listbox";a._defaultOptions=Jc(ADc,{optional:!0});a._multiple=!1;a.ariaOrientation="horizontal";a._selectable=!0;a.compareWith=function(d,e){return d===e};a._required=!1;var b,c;a._hideSingleSelectionIndicator=null!=(c=null==(b=a._defaultOptions)?void 0:b.hideSingleSelectionIndicator)?
c:!1;a.change=new kw;a._chips=void 0;return a};T(CV,AV);f=CV.prototype;
f.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(Ze(null),af(this._destroyed)).subscribe(function(){a._syncListboxProperties()});this.chipBlurChanges.pipe(af(this._destroyed)).subscribe(function(){return a._blur()});this.chipSelectionChanges.pipe(af(this._destroyed)).subscribe(function(b){a.multiple||a._chips.forEach(function(c){c!==
b.source&&c._setSelectedState(!1,!1,!1)});b.isUserInput&&a._propagateChanges()})};f.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()}};f.writeValue=function(a){this._chips?this._setSelectionByValue(a,!1):null!=a&&(this._pendingInitialValue=a)};f.registerOnChange=function(a){this._onChange=a};f.registerOnTouched=function(a){this._onTouched=a};
f.setDisabledState=function(a){this.disabled=a};f._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)};f._blur=function(){var a=this;this.disabled||setTimeout(function(){a.focused||a._markAsTouched()})};f._keydown=function(a){9===a.keyCode&&AV.prototype._allowFocusEscape.call(this)};f._markAsTouched=function(){this._onTouched();this._changeDetectorRef.markForCheck()};
f._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 MDc(this,a));this._onChange(a);this._changeDetectorRef.markForCheck()};f._clearSelection=function(a){this._chips.forEach(function(b){b!==a&&b.deselect()})};
f._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};f._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()})})};
f._getFirstSelectedChip=function(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected};f._skipPredicate=function(a){return!a.isInteractive};
sh.Object.defineProperties(CV.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=Fg(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=Fg(a);this._syncListboxProperties()}},required:{configurable:!0,
enumerable:!0,get:function(){return this._required},set:function(a){this._required=Fg(a)}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=Fg(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}}});CV.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(CV)))(b||CV)}}();
CV.\u0275cmp=Oc({type:CV,selectors:[["mat-chip-listbox"]],contentQueries:function(a,b,c){a&1&&cg(c,BV,5);if(a&2){var d;ag(d=dg())&&(b._chips=d)}},hostAttrs:["ngSkipHydration","",1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(a,b){a&1&&L("focus",function(){return b.focus()})("blur",function(){return b._blur()})("keydown",function(c){return b._keydown(c)});a&2&&(Df("tabIndex",b.empty?-1:b.tabIndex),of("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),xf("mat-mdc-chip-list-disabled",b.disabled)("mat-mdc-chip-list-required",b.required))},inputs:{tabIndex:"tabIndex",multiple:"multiple",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",compareWith:"compareWith",required:"required",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",value:"value"},outputs:{change:"change"},features:[Of([NDc]),
kf],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(Ff(),F(0,"div",0),Gf(1),H())},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 ODc=new ad("GMAT_MENU_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var DV=function(){dA.apply(this,arguments);this.gmatPanelClasses=[]};T(DV,dA);DV.prototype.create=function(a){var b=(null==a?0:a.panelClass)?Eg(a.panelClass).concat(this.gmatPanelClasses):this.gmatPanelClasses;return dA.prototype.create.call(this,Object.assign({},a,{panelClass:b}))};DV.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(DV)))(b||DV)}}();DV.\u0275prov=yc({token:DV,factory:DV.\u0275fac});var EV=function(a,b){this.options=a;a.disableGmatStyle||b.gmatPanelClasses.push("gmat-mdc-menu")};EV.\u0275fac=function(a){return new (a||EV)(B(ODc),B(dA))};EV.\u0275dir=Sc({type:EV,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],features:[Of([{provide:dA,useClass:DV}])]});var PDc=new ad("GMAT_TABLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var FV=function(a){this.options=a};FV.\u0275fac=function(a){return new (a||FV)(B(PDc))};FV.\u0275dir=Sc({type:FV,selectors:[["table","mat-table",""],["mat-table"]],hostVars:2,hostBindings:function(a,b){a&2&&xf("gmat-mdc-table",!b.options.disableGmatStyle)}});var GV=function(){};GV.\u0275fac=function(a){return new (a||GV)};GV.\u0275mod=Qc({type:GV});GV.\u0275inj=zc({imports:[PO]});var kDc=new function(){this.client_=new YD({format:"jspb"});this.hostname_="https://devopsconsole-pa-googleapis.corp.google.com".replace(/\/+$/,"")},vDc=new function(){this.client_=new YD({format:"jspb"});this.hostname_="https://devopsconsole-pa-googleapis.corp.google.com".replace(/\/+$/,"")},lDc={"X-Goog-Api-Key":"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",Authorization:Oo([])||"","X-Goog-AuthUser":"0"},HV=function(a,b,c){this.issueFridge=a;this.hackyPrefs=b;this.currentUser=c;this.currentUserEmail=
this.currentUser.email;this.cardTitle="My tasks";this.displayedColumns=["type","title","modified","role","created"];this.mvpMyTaskTabsData$=[{label:"Owned",description:"Tasks that you own, are assigned to or have authored.",tasks:(0,D.of)([]),sources:["Buganizer","Drive","Critique"],chips:[{label:"Last 30 days",selected:!0},{label:"My teams",selected:!0},{label:"Open",selected:!0}]},{label:"Collaborating",description:"Tasks that you have contributed to, but don't own.",tasks:(0,D.of)([]),sources:["Buganizer",
"Drive","Critique"],chips:[{label:"Last 30 days",selected:!0},{label:"My teams",selected:!0},{label:"Open",selected:!0}]},{label:"Following",description:"Tasks that you frequently view or have shown interest in (e.g. starred).",tasks:(0,D.of)([]),sources:["Buganizer","Drive","Critique"],chips:[{label:"Last 30 days",selected:!0},{label:"My teams",selected:!0},{label:"Open",selected:!0}]}];this.issueTasksOwned=(0,D.of)([]);this.issueTasksCollaborating=(0,D.of)([]);this.issueTasksFollowing=(0,D.of)([]);
this.critiqueTasks=(0,D.of)([]);this.driveTasks=(0,D.of)([]);this.mergedTasks$=(0,D.of)([])};HV.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["mvp-my-tasks"]};HV.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("mvp-my-tasks")};
var QDc=function(a){return new D.Observable(function(b){a.on("data",function(c){b.next(c)});a.on("error",function(c){b.error(c)});a.on("status",function(c){b.error(c)});a.on("end",function(){b.complete()});return function(){a.cancel()}})},RDc=function(a,b){var c=b.snapshot[0]||{},d={isOwner:!1,isCollaborating:!1,isFollowing:!1,role:""},e;if((null==(e=c.assigneeUser)?void 0:e.emailAddress)===a.currentUserEmail)d.isOwner=!0,d.role="Assignee";else{var g;if(null==(g=c.collaboratorsUsers)?0:g.some(function(v){return v.emailAddress===
a.currentUserEmail}))d.isCollaborating=!0,d.role="Collaborator";else{var h;if((null==(h=c.reporterUser)?void 0:h.emailAddress)===a.currentUserEmail)d.isCollaborating=!0,d.role="Reporter";else{c=[];var l;if(null==b?0:null==(l=b.userData)?0:l.voted)d.isFollowing=!0,c.push("Upvoted");var q;if(null==(q=b.userData)?0:q.starred)d.isFollowing=!0,c.push("Starred");d.role=c.join(", ")}}}return d},SDc=function(a,b){var c=b.snapshot[0]||{},d=c.createdTimeMicros?Math.floor(c.createdTimeMicros/1E3):0;a=RDc(a,
b);return{id:b.issueId,source:"Buganizer",icon:"bug_report",title:null==c?void 0:c.title,link:"issues/"+b.issueId,creationDate:d,modifiedDate:Math.floor(b.majorModifiedTimeMicros/1E3),teams:null,isOwner:a.isOwner,isCollaborating:a.isCollaborating,isFollowing:a.isFollowing,priority:null==c?void 0:c.priority,role:a.role,open:!0,resource:b,rawObj:b}};HV.prototype.queryIssues=function(a){return this.issueFridge.watchMany({filter:a,pageSize:50,sort:"modified_time:desc"}).pipe(C(function(b){return b.results}))};
HV.prototype.ngOnInit=function(){var a=this;this.issueTasksOwned=this.queryIssues("assignee:me t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process) modified:30d status:open").pipe(C(function(b){return b.map(function(c){return SDc(a,c)})}));this.issueTasksCollaborating=this.queryIssues("(collaborator:me | reporter:me) -assignee:me modified:30d status:open").pipe(C(function(b){return b.map(function(c){return SDc(a,c)})}));this.issueTasksFollowing=this.queryIssues("star:true | (cc:me status:open)").pipe(C(function(b){return b.map(function(c){return SDc(a,
c)})}));this.critiqueTasks=QDc(mDc()).pipe(C(function(b){return b.getTaskList().map(function(c){var d=c.toObject(),e=d.resource,g=!1,h=!1,l=!1,q="",v=hn(VKb(c,yD,6)),x=null==v?void 0:v.getAuthorEmail();v=null==v?void 0:v.getCategory();x===a.currentUserEmail||2===v?(g=!0,q="Author"):1===v?(h=!0,q="Reviewer"):3===v&&(l=!0,q="CC'd");return{id:null==e?void 0:e.resourceId,source:"Critique",icon:"check_circle_filled",title:null==e?void 0:e.title,link:null==e?void 0:e.externalLink,creationDate:c.getCreatedTimestamp(),
modifiedDate:c.getUpdatedTimestamp(),teams:null,isOwner:g,isCollaborating:h,isFollowing:l,priority:null,role:q,open:!0,resource:e,rawObj:d}})}));this.driveTasks=QDc(wDc()).pipe(C(function(b){return b.getTaskList().map(function(c){var d=c.toObject(),e=d.resource,g=null==e?void 0:e.taskSource,h;switch(null==(h=et(VKb(c,yD,6),jn,5))?void 0:h.getMimeType()){case "document":h="drive_document";break;case "spreadsheet":h="drive_spreadsheet";break;case "presentation":h="drive_presentation";break;case "video/mp4":h=
"video_youtube";break;default:h="link"}var l=!1,q=!1,v=!1;var x=et(VKb(c,yD,6),jn,5);var A=null==x?void 0:x.getOwnedByMe(),G=null==x?void 0:Tj(x,26),M=null==x?void 0:Tj(x,25),Q=null==x?void 0:x.getSharedToMe();A||G?(l=!0,x="Owner"):Tj(x,2)?(l=!0,x="Creator"):M?(q=!0,x="Approver"):Q?(q=!0,x="Shared with me"):x.getIsStarred()?(v=!0,x="Starred"):(v=!0,x="Recent activity");return{id:null==e?void 0:e.resourceId,source:g,icon:h,title:null==e?void 0:e.title,link:null==e?void 0:e.externalLink,creationDate:c.getCreatedTimestamp(),
modifiedDate:c.getUpdatedTimestamp(),teams:null,isOwner:l,isCollaborating:q,isFollowing:v,priority:null,role:x,open:!0,resource:e,rawObj:d}})}));this.mergedTasks$=(0,D.merge)(this.critiqueTasks,this.driveTasks,this.issueTasksOwned,this.issueTasksCollaborating,this.issueTasksFollowing).pipe(iVa(),C(function(b){return b.sort(function(c,d){return(d.modifiedDate||d.creationDate)-(c.modifiedDate||c.creationDate)}).filter(function(c){return c.modifiedDate?c.modifiedDate>Date.now()-2592E6:c.creationDate>
Date.now()-2592E6})}));this.mvpMyTaskTabsData$[0].tasks=this.mergedTasks$.pipe(C(function(b){return b.filter(function(c){return c.isOwner})}));this.mvpMyTaskTabsData$[1].tasks=this.mergedTasks$.pipe(C(function(b){return b.filter(function(c){return c.isCollaborating})}));this.mvpMyTaskTabsData$[2].tasks=this.mergedTasks$.pipe(C(function(b){return b.filter(function(c){return c.isFollowing})}))};HV.\u0275fac=function(a){return new (a||HV)(B(JI),B(rJ),B(qJ))};
HV.\u0275cmp=Oc({type:HV,selectors:[["mvp-my-tasks"]],decls:12,vars:4,consts:[[1,"mvp-my-tasks-view"],[1,"mvp-card","carded","small-tabs"],[1,"mvp-card-header"],[1,"title"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[1,"spacer"],["mat-icon-button","","matTooltip","More actions menu","aria-label","More actions menu","aria-haspopup","true",1,"gmat-button","medium"],[1,"google-material-icons"],["class",
"card-content",4,"ngIf"],[1,"card-content"],["mat-align-tabs","start","gmat-tabs",""],[3,"label",4,"ngFor","ngForOf"],[3,"label"],[1,"mvp-tab-controls"],["mat-button","","matTooltip","Select source applications","aria-label","Select source applications","aria-haspopup","true",1,"gmat-button","medium","chip-button",3,"matMenuTriggerFor"],[1,"mvp-my-tasks-menu"],["sourceMenu","matMenu"],[1,"mvp-source-select",3,"click"],["color","primary","checked","true"],["checked","true"],["checked","false"],["multiple",
""],["appearance","hairline-suggestive",3,"selected",4,"ngFor","ngForOf"],[1,"mvp-tab-content"],[3,"dataSource"],["matColumnDef","type"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","title"],["matColumnDef","modified"],["matColumnDef","role"],["matColumnDef","created"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["loadingContrib",""],["appearance","hairline-suggestive",3,"selected"],[3,"class",4,"ngIf"],[3,"href"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"section",1)(2,
"div",2)(3,"h2",3),P(4),H(),F(5,"button",4),L("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),H(),I(7,"span",6),F(8,"button",7)(9,"mat-icon",8),P(10,"more_vert"),H()()(),O(11,hVa,3,1,"div",9),H()());a&2&&(xf("collapsed",b.isCollapsed()),z(4),Mf(b.cardTitle),z(7),E("ngIf",!b.isCollapsed()))},dependencies:[Qw,Rw,HB,yDc,WO,xV,CV,BV,EV,XC,$C,FV,OO,GO,KO,HO,FO,LO,IO,JO,MO,NO,QA,RN,QN,WM,$w],styles:['[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]{margin-top:24px;background:var(--surface-default)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_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;gap:4px}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .small-button-icon[_ngcontent-%COMP%]{font-size:1.125rem}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge[_ngcontent-%COMP%]{padding:0 .25rem;border-radius:.25rem;font-weight:500;margin-right:.5rem;border:1px solid transparent}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge.P0[_ngcontent-%COMP%]{border:1px solid var(--primary-default);background:var(--primary-default);color:var(--text-inverse)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge.P1[_ngcontent-%COMP%]{border:1px solid var(--primary-default)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.check_circle_filled[_ngcontent-%COMP%]{color:var(--green-600)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.drive_document[_ngcontent-%COMP%]{color:var(--blue-700)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.drive_spreadsheet[_ngcontent-%COMP%]{color:var(--green-600)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.drive_presentation[_ngcontent-%COMP%]{color:var(--yellow-600)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.video_youtube[_ngcontent-%COMP%]{color:var(--red-600)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-footer-row[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-header-row[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-row[_ngcontent-%COMP%]{min-height:2rem;border-bottom:1px solid var(--hairline)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-cell[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-header-cell[_ngcontent-%COMP%]{border:none}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-header-cell[_ngcontent-%COMP%]{font-weight:500}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-tab-controls[_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;gap:.5rem}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-tab-controls[_ngcontent-%COMP%]   .chip-button[_ngcontent-%COMP%]{background:var(--mvp-prototype-chip-bg);padding:0 8px 0 12px;height:1.5rem;line-height:1.5rem;margin:6px 0;border-radius:.5rem;font-weight:400}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-mdc-cell[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-mdc-header-cell[_ngcontent-%COMP%]{padding:0 .75rem}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-type[_ngcontent-%COMP%]{width:48px;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--text-default)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-modified[_ngcontent-%COMP%]{min-width:180px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-role[_ngcontent-%COMP%]{min-width:200px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-created[_ngcontent-%COMP%]{min-width:120px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}  .mvp-my-tasks-view .mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color:#212121;--mdc-chip-elevated-container-color:#e0e0e0;--mdc-chip-elevated-disabled-container-color:#e0e0e0;--mdc-chip-focus-state-layer-color:#000;--mdc-chip-focus-state-layer-opacity:0.12;--mdc-chip-label-text-color:#212121;--mdc-chip-with-icon-icon-color:#212121;--mdc-chip-with-icon-disabled-icon-color:#212121;--mdc-chip-with-icon-selected-icon-color:#212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#212121;--mdc-chip-with-trailing-icon-trailing-icon-color:#212121}  .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary,   .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary{--mdc-chip-disabled-label-text-color:#fff;--mdc-chip-elevated-container-color:#2196f3;--mdc-chip-elevated-disabled-container-color:#2196f3;--mdc-chip-focus-state-layer-color:#000;--mdc-chip-focus-state-layer-opacity:0.12;--mdc-chip-label-text-color:#fff;--mdc-chip-with-icon-icon-color:#fff;--mdc-chip-with-icon-disabled-icon-color:#fff;--mdc-chip-with-icon-selected-icon-color:#fff;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#fff;--mdc-chip-with-trailing-icon-trailing-icon-color:#fff}  .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent,   .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent{--mdc-chip-disabled-label-text-color:rgba(0,0,0,.87);--mdc-chip-elevated-container-color:#ff9800;--mdc-chip-elevated-disabled-container-color:#ff9800;--mdc-chip-focus-state-layer-color:#000;--mdc-chip-focus-state-layer-opacity:0.12;--mdc-chip-label-text-color:rgba(0,0,0,.87);--mdc-chip-with-icon-icon-color:rgba(0,0,0,.87);--mdc-chip-with-icon-disabled-icon-color:rgba(0,0,0,.87);--mdc-chip-with-icon-selected-icon-color:rgba(0,0,0,.87);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:rgba(0,0,0,.87);--mdc-chip-with-trailing-icon-trailing-icon-color:rgba(0,0,0,.87)}  .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn,   .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn{--mdc-chip-disabled-label-text-color:#fff;--mdc-chip-elevated-container-color:#f44336;--mdc-chip-elevated-disabled-container-color:#f44336;--mdc-chip-focus-state-layer-color:#000;--mdc-chip-focus-state-layer-opacity:0.12;--mdc-chip-label-text-color:#fff;--mdc-chip-with-icon-icon-color:#fff;--mdc-chip-with-icon-disabled-icon-color:#fff;--mdc-chip-with-icon-selected-icon-color:#fff;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#fff;--mdc-chip-with-trailing-icon-trailing-icon-color:#fff}  .mvp-my-tasks-view .mat-mdc-standard-chip{--mdc-chip-label-text-font:Roboto,"Helvetica Neue",sans-serif;--mdc-chip-label-text-line-height:20px;--mdc-chip-label-text-size:14px;--mdc-chip-label-text-tracking:normal;--mdc-chip-label-text-weight:400}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:16px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:16px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:16px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:0}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:18px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__graphic{height:18px;width:18px;font-size:18px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__icon--primary{height:18px;width:18px;font-size:18px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__text-label{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0178571429em;font-weight:500}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-right:0}[dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:16px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip .mdc-evolution-chip__action--primary:before{border-style:solid}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:transparent;border-color:var(--mdc-chip-flat-outline-color,transparent)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:transparent;border-color:var(--mdc-chip-flat-disabled-outline-color,transparent)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip .mdc-evolution-chip__action--primary:before{border-width:1px;border-width:var(--mdc-chip-flat-outline-width,1px)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:6px;padding-right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:auto}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:auto;right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:6px;padding-right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:auto}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:auto;right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:18px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__graphic{height:18px;width:18px;font-size:18px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__icon--primary{height:18px;width:18px;font-size:18px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__text-label{font-family:Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0178571429em;font-weight:500}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-suggestive-chip{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__ripple{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__action--primary:before{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__icon--primary{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-filter-chip{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__ripple{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__action--primary:before{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__icon--primary{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-protected-chip{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-protected-chip:hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-protected-chip:active{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-protected-chip.mat-mdc-chip-disabled{box-shadow:none}  .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon{opacity:.9}  .mvp-my-tasks-view .gmat-mdc-chip{--mdc-chip-label-text-color:#5f6368;--mdc-chip-disabled-label-text-color:rgba(60,64,67,.38);--mdc-chip-with-icon-icon-color:#5f6368;--mdc-chip-with-icon-disabled-icon-color:rgba(60,64,67,.38);--mdc-chip-with-icon-selected-icon-color:#5f6368;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#5f6368;--mdc-chip-with-trailing-icon-trailing-icon-color:#5f6368;--mdc-chip-focus-state-layer-color:#3c4043;--mdc-chip-focus-state-layer-opacity:0.12}  .mvp-my-tasks-view .gmat-mdc-chip.cdk-focused{--mdc-chip-label-text-color:#202124}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip{--mdc-chip-elevated-container-color:transparent;--mdc-chip-elevated-disabled-container-color:transparent;--mdc-chip-flat-outline-color:#dadce0;--mdc-chip-flat-disabled-outline-color:#dadce0;--mdc-chip-focus-state-layer-color:#3c4043}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-protected-chip{--mdc-chip-elevated-container-color:#fff;--mdc-chip-elevated-disabled-container-color:#fff;--mdc-chip-focus-state-layer-color:#3c4043}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#e3f2fd;--mdc-chip-elevated-disabled-container-color:#e3f2fd;--mdc-chip-label-text-color:#0d47a1;--mdc-chip-disabled-label-text-color:#0d47a1;--mdc-chip-with-icon-icon-color:#0d47a1;--mdc-chip-with-icon-disabled-icon-color:#0d47a1;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#0d47a1;--mdc-chip-with-trailing-icon-trailing-icon-color:#0d47a1;--mdc-chip-with-icon-selected-icon-color:#0d47a1;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent;--mdc-chip-focus-state-layer-color:#1976d2}  .mvp-my-tasks-view .gmat-mdc-chip.mat-accent.mat-mdc-chip-highlighted,   .mvp-my-tasks-view .gmat-mdc-chip.mat-accent.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#fff3e0;--mdc-chip-elevated-disabled-container-color:#fff3e0;--mdc-chip-label-text-color:#e65100;--mdc-chip-disabled-label-text-color:#e65100;--mdc-chip-with-icon-icon-color:#e65100;--mdc-chip-with-icon-disabled-icon-color:#e65100;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#e65100;--mdc-chip-with-trailing-icon-trailing-icon-color:#e65100;--mdc-chip-with-icon-selected-icon-color:#e65100;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent;--mdc-chip-focus-state-layer-color:#f57c00}  .mvp-my-tasks-view .gmat-mdc-chip.mat-warn.mat-mdc-chip-highlighted,   .mvp-my-tasks-view .gmat-mdc-chip.mat-warn.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#ffebee;--mdc-chip-elevated-disabled-container-color:#ffebee;--mdc-chip-label-text-color:#b71c1c;--mdc-chip-disabled-label-text-color:#b71c1c;--mdc-chip-with-icon-icon-color:#b71c1c;--mdc-chip-with-icon-disabled-icon-color:#b71c1c;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#b71c1c;--mdc-chip-with-trailing-icon-trailing-icon-color:#b71c1c;--mdc-chip-with-icon-selected-icon-color:#b71c1c;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent;--mdc-chip-focus-state-layer-color:#d32f2f}  .mvp-my-tasks-view .mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height:24px}  .mvp-my-tasks-view .gmat-mdc-chip{--mdc-ripple-color:var(--text-default);--odw-chip-background-selected:var(--blue-50);--odw-chip-assistive-background-selected:var(--blue-100)}  .mvp-my-tasks-view .gmat-mdc-chip:not([disabled]){cursor:pointer}.dark-mode[_ngcontent-%COMP%]  .mvp-my-tasks-view .gmat-mdc-chip{--odw-chip-background-selected:#3c4043;--odw-chip-assistive-background-selected:#3c4043}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover{--mdc-ripple-color:var(--odw-chip-background-selected);background-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-default);--mdc-chip-disabled-label-text-color:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-secondary);--mdc-chip-with-icon-disabled-icon-color:var(--text-secondary);--mdc-chip-with-icon-selected-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-secondary)}  .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-my-tasks-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-default);--mdc-chip-with-icon-disabled-icon-color:var(--text-default);--mdc-chip-with-icon-selected-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip:active .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-default);--mdc-chip-disabled-label-text-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-secondary);--mdc-chip-with-icon-disabled-icon-color:var(--text-secondary);--mdc-chip-with-icon-selected-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-secondary)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-default);--mdc-chip-with-icon-disabled-icon-color:var(--text-default);--mdc-chip-with-icon-selected-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-default);--mdc-chip-disabled-label-text-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--hairline);--mdc-chip-flat-disabled-outline-color:var(--hairline)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip.cdk-focused .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--text-default);--mdc-chip-flat-disabled-outline-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip.gmat-selectable-chip.mdc-evolution-chip--selected:hover{box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-mdc-chip.gmat-protected-chip{background:var(--page-bg);box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.gmat-input-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.gmat-input-chip.mdc-evolution-chip--selected .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected{--mdc-ripple-color:var(--primary-default);background-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-default);--mdc-chip-disabled-label-text-color:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-high-contrast);--mdc-chip-disabled-label-text-color:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mdc-evolution-chip__checkmark-path{stroke:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected{background-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected .mdc-evolution-chip__checkmark-path{stroke:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-high-contrast);--mdc-chip-disabled-label-text-color:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mdc-evolution-chip__checkmark-path{stroke:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay{background-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected{--mdc-chip-label-text-color:var(--text-primary);--odw-chip-background-selected:var(--mvp-prototype-chip-bg)}  .mvp-my-tasks-view .mat-tab-labels{height:28px}  .mvp-my-tasks-view .mat-tab-label{height:28px;min-width:80px}  .mvp-my-tasks-menu{background:var(--surface-default)}  .mvp-my-tasks-menu .mvp-source-select{padding:0 .75rem;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:.75rem;overflow:hidden}  .mvp-my-tasks-menu .mvp-source-select .mat-mdc-checkbox{color:var(--text-default)}  .dark-mode,   .light-mode,   :root{--mvp-prototype-chip-bg:var(--blue-50)}  .dark-mode{--mvp-prototype-chip-bg:#3c4043}.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)}\n/*# sourceMappingURL=mvp_my_tasks.css.map */']});var IV=function(){this.hotlistFull=[{type:"Buganizer",icon:"bug_report",id:15432586,priority:"P0",title:"Update the user guide to include info about the new features",date:"May 13, 2023",assignee:"ruihua@google.com"},{type:"Buganizer",icon:"bug_report",id:13548756,priority:"P0",title:"[Security] Potential vulnerability in customer login flow",date:"May 10, 2023",assignee:"judh@google.com"},{type:"Buganizer",icon:"bug_report",priority:"P0",id:11245852,title:"Performance issue - The application is very slow to launch",
date:"May 9, 2023",assignee:"--"},{type:"Buganizer",icon:"bug_report",id:12468545,priority:"P1",title:"Deployment failure - The latest release failed to build",date:"May 3, 2023",assignee:"--"},{type:"Buganizer",icon:"bug_report",id:13654855,priority:"P2",title:"There are 13 new failing unit tests in project Bananas",date:"Apr 10, 2023",assignee:"disun@google.com"},{type:"Buganizer",icon:"bug_report",id:14415474,priority:"P1",title:'Update the user guide "Getting Started" section',date:"Apr 9, 2023",
assignee:"kevinruvalcaba@google.com"},{type:"Buganizer",icon:"bug_report",id:16354846,priority:"P0",title:"The new sort feature is not working as expected",date:"Apr 7, 2023",assignee:"--"},{type:"Buganizer",icon:"bug_report",id:11419658,priority:"P1",title:"Support: A customer is having trouble with editing their profile",date:"Apr 7, 2023",assignee:"ruihmenrightua@google.com"},{type:"Buganizer",icon:"bug_report",id:13142196,priority:"P0",title:"Login button does not work on all browsers",date:"Apr 4, 2023",
assignee:"--"},{type:"Buganizer",icon:"bug_report",id:17784732,priority:"P2",title:"Add a dark mode with adjustable brightness levels",date:"Apr 1, 2023",assignee:"jessicawise@google.com"}];this.tabs="Hotlist abc;Saved search 123;Project apple;Component xyz;Backlog banana;Current iteration".split(";")};IV.\u0275fac=function(a){return new (a||IV)};IV.\u0275prov=yc({token:IV,factory:IV.\u0275fac,providedIn:"root"});var TDc=["addWorkAreaDialog"],UDc=function(a){return{collapsed:a}},JV=function(a,b,c){this.dialog=a;this.hackyPrefs=b;this.fakeData=c;this.autocompleteControl=new zx("");this.sourceTypes=[{label:"Hotlist",disabled:!1},{label:"Component",disabled:!0},{label:"Project",disabled:!0},{label:"Saved search",disabled:!0},{label:"Taskflow workspace",disabled:!0}];this.currentSourceType="Hotlist";this.cardTitle="Work areas";this.currentViewIndex=0;this.suggestions="3011695318 - High Priority Bugs;3110651874 - Low Priority Bugs;3131967663 - Upvoted issues;3142425766 - Project Bananas;3119124877 - Project Zebrafish;3136285535 - Team Jalisco open issues;3163886186 - Feature requests;3165497868 - High severity;3171679611 - To triage;3116651879 - Last quarter".split(";");
this.displayedColumns="type title id priority created assignee".split(" ")};JV.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["mvp-my-work"]};JV.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("mvp-my-work")};var jVa=function(a){$A(a.dialog.open(a.addDialog)).subscribe(function(b){"cancel"!==b&&void 0!==b&&(a.currentViewIndex=void 0===b?0:b)})};
JV.prototype.ngOnInit=function(){var a=this;this.filteredOptions=this.autocompleteControl.valueChanges.pipe(Ze(""),C(function(b){return VDc(a,b||"")}))};var VDc=function(a,b){var c=b.toLowerCase();return a.suggestions.filter(function(d){return d.toLowerCase().includes(c)})};JV.\u0275fac=function(a){return new (a||JV)(B(eB),B(rJ),B(IV))};
JV.\u0275cmp=Oc({type:JV,selectors:[["mvp-my-work"]],viewQuery:function(a,b){a&1&&bg(TDc,7);if(a&2){var c;ag(c=dg())&&(b.addDialog=c.first)}},decls:12,vars:6,consts:[[1,"mvp-work-areas-view"],[1,"mvp-card","carded","small-tabs"],[1,"mvp-card-header"],[1,"title"],["mat-icon-button","","matTooltip","Toggle card expansion",1,"gmat-button","medium","expansion-toggle",3,"ngClass","click"],[1,"google-material-icons","small-button-icon"],[1,"spacer"],["class","card-content",4,"ngIf"],["addWorkAreaDialog",
""],[1,"card-content"],[4,"ngIf"],[1,"empty-state-content"],"width;140;height;140;viewBox;0 0 210 210;fill;none;xmlns;http://www.w3.org/2000/svg".split(";"),["d","M167.329 35.096a18.29 18.29 0 00-19.002 18.279v.423c-.97-.278-1.974-.42-2.984-.423h-.02a3.373 3.373 0 01-2.71-1.269 13.066 13.066 0 00-13.053-4.792 13.063 13.063 0 108.22 24.626 10.824 10.824 0 0014.723.378 10.823 10.823 0 003.011-4.415 18.284 18.284 0 0023.643-1.225 18.296 18.296 0 005.605-15.564 18.28 18.28 0 00-17.433-16.018z","fill",
"url(#prefix__prefix__paint0_linear_12_6)"],["d","M106.377 184.435a9.92 9.92 0 00-2.29-6.34l-12.002-14.45h45.325l12.002 14.45a9.92 9.92 0 012.29 6.34v.033a9.917 9.917 0 01-2.739 6.842l-.178.19h-45.354l.172-.181a9.917 9.917 0 002.774-6.884z","fill","#F1F3F4"],"opacity;.45;d;M87.67 187.9H42.536v3.401h45.132V187.9z;fill;url(#prefix__prefix__paint1_linear_12_6)".split(";"),["d","M154.026 191.354a5.178 5.178 0 000-10.354h6.709a5.175 5.175 0 013.66 8.837 5.176 5.176 0 01-3.66 1.517h-6.709z","fill","url(#prefix__prefix__paint2_linear_12_6)"],
["d","M160.735 182.75a3.429 3.429 0 013.427 3.427 3.426 3.426 0 01-3.427 3.427v1.75a5.176 5.176 0 003.66-8.838 5.175 5.175 0 00-3.66-1.516v1.75z","fill","#E8EAED"],"opacity;.45;d;M156.82 187.9h-24.677v3.401h24.677V187.9z;fill;url(#prefix__prefix__paint3_linear_12_6)".split(";"),"fill-rule;evenodd;clip-rule;evenodd;d;M72.467 118.74a16.043 16.043 0 0111.343-4.698 4.666 4.666 0 110 9.333 6.709 6.709 0 00-6.708 6.708V178.5a4.667 4.667 0 01-9.333 0v-48.417c0-4.254 1.69-8.334 4.698-11.343z;fill;#BDC1C6".split(";"),
["d","M79.625 189.368a5.153 5.153 0 000-6.385c-.035-.044-.067-.091-.105-.134a5.176 5.176 0 00-1.584-1.266h.537V178.5H66.515v2.94a5.179 5.179 0 002.073 9.917h6.96c.35-.001.698-.036 1.04-.105a5.176 5.176 0 002.917-1.75.34.34 0 00.12-.134zm-5.6-3.191c0 .964-.272 1.909-.785 2.727a3.427 3.427 0 01-1.36-2.729 3.41 3.41 0 011.36-2.728c.517.817.792 1.763.797 2.73h-.012zm-2.383-3.661a5.234 5.234 0 00-.408.467c.13-.164.27-.32.42-.467h-.012zm0 7.321a5.84 5.84 0 01-.408-.469c.13.164.271.32.42.469h-.012z","fill",
"#BDC1C6"],["d","M118.708 184.435a9.92 9.92 0 012.29-6.34L133 163.645H87.672l-12.002 14.45a9.914 9.914 0 00-2.29 6.34v.033a9.917 9.917 0 002.745 6.842l.18.19h45.355l-.175-.181a9.919 9.919 0 01-2.777-6.884z","fill","url(#prefix__prefix__paint4_linear_12_6)"],["d","M117.23 95.078h-11.303v21h11.303v-21z","fill","#BDC1C6"],["d","M105.927 103.746l11.303-1.849v-3.005l-11.303 1.083v3.771z","fill","#9AA0A6"],["d","M55.913 18.515a18.377 18.377 0 0119.08 18.352v.425a10.907 10.907 0 013.01-.425h.018a3.4 3.4 0 002.712-1.284 13.125 13.125 0 114.85 19.918 10.868 10.868 0 01-17.805-4.054 18.374 18.374 0 11-11.866-32.932z",
"fill","url(#prefix__prefix__paint5_linear_12_6)"],["opacity",".15"],["id","prefix__a","maskUnits","userSpaceOnUse","x","79","y","158","width","67","height","13",2,"mask-type","luminance"],["d","M145.86 158.492H79.943v12.054h65.917v-12.054z","fill","#fff"],["mask","url(#prefix__a)"],["d","M149.412 178.095l-12.002-14.45H87.672l-12.002 14.45a9.914 9.914 0 00-2.29 6.34v.033a9.917 9.917 0 002.745 6.842l.18.19h72.48l.178-.19a9.917 9.917 0 002.739-6.842v-.033a9.92 9.92 0 00-2.29-6.34z","fill","#202124"],
["d","M151.699 107.619H84.365v56.292h67.334v-56.292z","fill","#F8F9FA"],["d","M149.985 122.112l-6.74-6.74-11.381 11.381 6.74 6.74 11.381-11.381z","fill","url(#prefix__prefix__paint6_linear_12_6)"],["d","M138.79 107.619H71.455v56.292h67.335v-56.292z","fill","url(#prefix__prefix__paint7_linear_12_6)"],["d","M137.494 59.85l-50.277 5.267a5.932 5.932 0 00-5.282 6.518l2.714 25.91a5.933 5.933 0 006.519 5.282l50.276-5.267a5.932 5.932 0 005.282-6.518l-2.714-25.91a5.932 5.932 0 00-6.518-5.282z","fill","#F8F9FA"],
["d","M131.404 60.49l-50.276 5.266a5.932 5.932 0 00-5.282 6.519l2.714 25.91a5.933 5.933 0 006.518 5.282l50.277-5.267a5.933 5.933 0 005.282-6.518l-2.714-25.91a5.933 5.933 0 00-6.519-5.282z","fill","url(#prefix__prefix__paint8_linear_12_6)"],["d","M129.02 70.523l-43.477 4.555a3.5 3.5 0 00-3.116 3.845l.9 8.598a3.5 3.5 0 003.846 3.117l43.477-4.555a3.5 3.5 0 003.116-3.845l-.9-8.598a3.5 3.5 0 00-3.846-3.117z","fill","#E8F0FE"],["d","M129.016 70.525L85.54 75.078a3.5 3.5 0 00-2.879 2.179 3.461 3.461 0 011.581-.584l43.476-4.553a3.5 3.5 0 013.847 3.13l.898 8.598a3.472 3.472 0 01-.236 1.666 3.506 3.506 0 001.222-1.419 3.51 3.51 0 00.315-1.845l-.901-8.598a3.502 3.502 0 00-3.847-3.127z",
"fill","#D2E3FC"],["d","M94.929 82.289l-1.645.172.172 1.645 1.645-.172-.172-1.645zm1.732.65l-1.645.172.173 1.645 1.645-.172-.173-1.645z","fill","#4285F4"],["d","M98.368 83.371l-1.645.173.173 1.644 1.644-.172-.172-1.645zm1.645-.173l-1.645.172.172 1.645 1.645-.172-.172-1.645zm1.581-.776l-1.644.172.172 1.645 1.645-.172-.173-1.645z","fill","#4285F4"],["d","M103.151 81.428l-1.645.172.172 1.645 1.645-.172-.172-1.645zm11.602-1.217l-1.645.173.172 1.644 1.645-.172-.172-1.645z","fill","#4285F4"],["d","M116.482 80.862l-1.644.172.172 1.645 1.645-.172-.173-1.645z",
"fill","#4285F4"],["d","M118.189 81.294l-1.644.172.172 1.645 1.645-.172-.173-1.645z","fill","#4285F4"],["d","M119.834 81.124l-1.645.172.172 1.645 1.645-.172-.172-1.645zm1.582-.776l-1.645.172.172 1.645 1.645-.172-.172-1.645z","fill","#4285F4"],["d","M122.972 79.351l-1.645.172.172 1.645 1.645-.172-.172-1.645z","fill","#4285F4"],["d","M105.682 93.176a.662.662 0 10-1.317.138l.394 3.76a.662.662 0 101.317-.139l-.394-3.759zm2.898-.303a.661.661 0 10-1.317.138l.394 3.76a.662.662 0 001.317-.139l-.394-3.76zm2.901-.307a.661.661 0 10-1.316.138l.393 3.76a.662.662 0 001.317-.138l-.394-3.76zm2.902-.303a.662.662 0 00-1.317.138l.394 3.76a.662.662 0 101.317-.139l-.394-3.76z",
"fill","#9AA0A6"],["d","M153.081 178.5v-48.417a6.708 6.708 0 00-6.708-6.708 4.667 4.667 0 010-9.333 16.057 16.057 0 0116.042 16.041V178.5h-9.334z","fill","#F1F3F4"],["id","prefix__b","maskUnits","userSpaceOnUse","x","141","y","114","width","22","height","65",2,"mask-type","luminance"],["d","M153.081 178.5v-48.417a6.708 6.708 0 00-6.708-6.708 4.667 4.667 0 010-9.333 16.057 16.057 0 0116.042 16.041V178.5h-9.334z","fill","#fff"],"mask url(#prefix__b) fill-rule evenodd clip-rule evenodd fill #DADCE0".split(" "),
["d","M147.819 111.11c.158.03.262.183.232.341l-2.783 14.612a.291.291 0 11-.573-.109l2.783-14.612a.29.29 0 01.341-.232zm5.088 1.11a.292.292 0 01.133.39l-6.551 13.315a.293.293 0 01-.524-.258l6.551-13.315a.291.291 0 01.391-.132zm4.458 2.355a.29.29 0 01.028.411l-9.748 11.142a.291.291 0 01-.439-.384l9.748-11.142a.291.291 0 01.411-.027zm3.625 3.374a.292.292 0 01-.077.406l-12.218 8.298a.292.292 0 01-.328-.483l12.218-8.298a.292.292 0 01.405.077zm2.636 4.206a.291.291 0 01-.178.372l-13.892 4.918a.292.292 0 01-.195-.55l13.893-4.918a.292.292 0 01.372.178zm1.471 4.843a.293.293 0 01-.268.314l-14.662 1.131a.292.292 0 11-.045-.581l14.662-1.132a.292.292 0 01.313.268zm-14.909 2.699a.292.292 0 01.328-.25l14.54 1.992a.292.292 0 01-.079.578l-14.54-1.992a.29.29 0 01-.249-.328zm-.004 3.161a.292.292 0 01.327-.252l14.53 1.852a.292.292 0 11-.073.578l-14.531-1.852a.292.292 0 01-.253-.326zm-.003 3.159a.292.292 0 01.324-.256l14.519 1.712a.292.292 0 01-.068.58l-14.519-1.713a.29.29 0 01-.256-.323zm0 3.158a.29.29 0 01.321-.258l14.505 1.575a.292.292 0 01-.063.58l-14.505-1.575a.292.292 0 01-.258-.322zm-.003 3.159a.291.291 0 01.319-.262l14.496 1.438a.292.292 0 01-.058.581l-14.496-1.438a.292.292 0 01-.261-.319zm-.004 3.161a.292.292 0 01.317-.264l14.484 1.298a.291.291 0 11-.052.581l-14.484-1.298a.293.293 0 01-.265-.317zm-.003 3.159a.292.292 0 01.314-.268l14.476 1.161a.292.292 0 01-.047.582l-14.475-1.161a.292.292 0 01-.268-.314zm-.003 3.158a.293.293 0 01.312-.27l14.464 1.024a.292.292 0 01-.042.582l-14.463-1.024a.293.293 0 01-.271-.312zm0 3.159a.291.291 0 01.309-.273l14.452.886a.293.293 0 01-.036.583l-14.452-.887a.292.292 0 01-.273-.309zm-.003 3.161a.292.292 0 01.306-.276l14.441.747a.291.291 0 11-.03.582l-14.441-.746a.293.293 0 01-.276-.307zm-.003 3.159a.292.292 0 01.304-.279l14.431.61a.29.29 0 01.279.303.29.29 0 01-.303.279l-14.432-.609a.292.292 0 01-.279-.304zm-.003 3.159a.291.291 0 01.301-.282l14.42.472a.292.292 0 11-.019.583l-14.42-.472a.292.292 0 01-.282-.301zm-.003 3.158a.292.292 0 01.298-.285l14.409.336a.29.29 0 11-.014.583l-14.408-.335a.292.292 0 01-.285-.299zm0 3.162a.292.292 0 01.295-.288l14.397.196a.292.292 0 11-.008.583l-14.396-.196a.29.29 0 01-.288-.295zm-.003 3.158a.291.291 0 01.293-.29l14.385.058a.291.291 0 11-.003.584l-14.385-.059a.29.29 0 01-.29-.293zm14.957 3.077a.292.292 0 01-.29.293l-14.377.079a.291.291 0 11-.003-.583l14.376-.079a.292.292 0 01.294.29z"],
["id","prefix__c","maskUnits","userSpaceOnUse","x","73","y","163","width","60","height","29",2,"mask-type","luminance"],["d","M118.708 184.435a9.92 9.92 0 012.29-6.34L133 163.645H87.672l-12.002 14.45a9.914 9.914 0 00-2.29 6.34v.033a9.917 9.917 0 002.745 6.842l.18.19h45.355l-.175-.181a9.919 9.919 0 01-2.777-6.884z","fill","#fff"],"mask url(#prefix__c) fill-rule evenodd clip-rule evenodd".split(" "),["d","M130.853 168.02H80.809v-1.166h50.044v1.166z","fill","#80868B"],["d","M128.698 172.2H78.07v-1.167h50.628v1.167z",
"fill","#8C9297"],["d","M126.54 176.38H75.332v-1.167h51.208v1.167z","fill","#989EA3"],["d","M124.384 180.559H72.593v-1.166h51.791v1.166z","fill","#A5A9AE"],["d","M122.229 184.739H69.851v-1.167h52.378v1.167z","fill","#B1B5BA"],["d","M120.07 188.918H67.113v-1.166h52.957v1.166z","fill","#BDC1C6"],["d","M160.484 191.354a5.178 5.178 0 010-10.354h-6.709a5.175 5.175 0 00-3.66 8.837 5.176 5.176 0 003.66 1.517h6.709z","fill","url(#prefix__prefix__paint9_linear_12_6)"],["d","M160.484 181a5.177 5.177 0 100 10.354v-1.75a3.428 3.428 0 110-6.854V181z",
"fill","#E8EAED"],["d","M163.651 178.494h-11.949v3.089h11.949v-3.089z","fill","url(#prefix__prefix__paint10_linear_12_6)"],["d","M45.5 72.295a28.154 28.154 0 0117.938-26.25 28.145 28.145 0 100 52.471A28.154 28.154 0 0145.5 72.296z","fill","url(#prefix__prefix__paint11_linear_12_6)"],"id prefix__prefix__paint0_linear_12_6 x1 152.06 y1 62.198 x2 152.06 y2 22.4 gradientUnits userSpaceOnUse".split(" "),["stop-color","#DADCE0","stop-opacity","0"],["offset","1","stop-color","#DADCE0"],"id prefix__prefix__paint1_linear_12_6 x1 42.537 y1 189.604 x2 87.669 y2 189.604 gradientUnits userSpaceOnUse".split(" "),
["stop-color","#202124","stop-opacity","0"],["offset","1","stop-color","#202124"],"id prefix__prefix__paint2_linear_12_6 x1 165.912 y1 186.177 x2 154.026 y2 186.177 gradientUnits userSpaceOnUse".split(" "),["stop-color","#BDC1C6"],"id prefix__prefix__paint3_linear_12_6 x1 132.143 y1 189.604 x2 156.82 y2 189.604 gradientUnits userSpaceOnUse".split(" "),"id prefix__prefix__paint4_linear_12_6 x1 103.189 y1 162.496 x2 103.189 y2 176.426 gradientUnits userSpaceOnUse".split(" "),"id prefix__prefix__paint5_linear_12_6 x1 71.248 y1 45.73 x2 71.248 y2 5.766 gradientUnits userSpaceOnUse".split(" "),
"id prefix__prefix__paint6_linear_12_6 x1 146.765 y1 118.596 x2 139.702 y2 125.659 gradientUnits userSpaceOnUse".split(" "),["stop-color","#DADCE0"],["offset","1","stop-color","#F1F3F4"],"id prefix__prefix__paint7_linear_12_6 x1 131.816 y1 124.623 x2 77.079 y2 147.47 gradientUnits userSpaceOnUse".split(" "),["stop-color","#F1F3F4"],"id prefix__prefix__paint8_linear_12_6 x1 134.325 y1 74.667 x2 76.767 y2 90.805 gradientUnits userSpaceOnUse".split(" "),"id prefix__prefix__paint9_linear_12_6 x1 148.598 y1 186.177 x2 160.484 y2 186.177 gradientUnits userSpaceOnUse".split(" "),
"id prefix__prefix__paint10_linear_12_6 x1 151.702 y1 180.037 x2 163.651 y2 180.037 gradientUnits userSpaceOnUse".split(" "),"id prefix__prefix__paint11_linear_12_6 x1 44.269 y1 110.066 x2 44.269 y2 38.31 gradientUnits userSpaceOnUse".split(" "),["color","primary","mat-flat-button","",3,"click"],[1,"google-material-icons"],["mat-align-tabs","start","gmat-tabs",""],["label","Hotlist ABC"],[1,"mvp-tab-controls"],[1,"mvp-big-chip"],[1,"mvp-tab-chips"],["multiple",""],["appearance","hairline-suggestive",
"selected","true"],["mat-button","",1,"gmat-button","medium"],["inline","",1,"google-material-icons"],["mat-icon-button","","matTooltip","Help","aria-label","Help","aria-haspopup","true",1,"gmat-button","medium"],[3,"dataSource"],["matColumnDef","type"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","title"],["matColumnDef","id"],["matColumnDef","priority"],["matColumnDef","created"],["matColumnDef","assignee"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[1,"mvp-bottom-controls"],
[1,"mvp-dialog"],[1,"mvp-inputs"],[1,"gmat-headline-6"],["mat-stroked-button","",1,"mvp-source-menu-button",3,"matMenuTriggerFor"],[1,"mvp-work-areas-menu"],["sourceType","matMenu"],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["appearance","outline",1,"mvp-hotlist-input"],["matInput","","type","text","placeholder","Search by name or Id","aria-label","Choose hotlist",3,"formControl","matAutocomplete"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[1,"mvp-preview"],["src",
"https://screenshot.googleplex.com/BdAt34uZXes4UDX.png","alt","image of prototype UI",2,"width","415px"],["align","end",2,"padding-right","24px"],["mat-button","","color","primary",3,"click"],["mat-flat-button","","color","primary",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"value"]],template:function(a,b){a&1&&(F(0,"main",0)(1,"section",1)(2,"div",2)(3,"h2",3),P(4),H(),F(5,"button",4),L("click",function(){return b.toggleCollapsed()}),F(6,"mat-icon",5),P(7,"expand_less"),H()(),I(8,"span",
6),H(),O(9,BVa,3,2,"div",7),H()(),O(10,EVa,30,8,"ng-template",null,8,gg));a&2&&(z(4),Mf(b.cardTitle),z(1),E("ngClass",Rf(4,UDc,b.isCollapsed())),of("aria-label",b.isCollapsed?"Expand card":"Collapse card"),z(4),E("ngIf",!b.isCollapsed()))},dependencies:[Pw,Qw,Rw,HB,wg,tx,xV,CV,BV,EV,XC,VC,$C,FV,OO,GO,KO,HO,FO,LO,IO,JO,MO,NO,eQ,dQ,SA,QA,iB,uB,xB,RN,QN,Gx,Xw,$w],styles:['[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]{margin-top:24px;background:var(--surface-default)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_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;gap:4px}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .expansion-toggle[_ngcontent-%COMP%]{-webkit-transition:rotate .3s;transition:rotate .3s}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .expansion-toggle.collapsed[_ngcontent-%COMP%]{rotate:180deg}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .small-button-icon[_ngcontent-%COMP%]{font-size:1.125rem}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-big-chip[_ngcontent-%COMP%]{font-weight:500;border:1px solid var(--hairline);border-radius:4px;cursor:pointer;padding:.5rem .75rem;min-width:64px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:.5rem}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-big-chip[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-big-chip[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-big-chip[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.25rem;fount-weight:500}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-big-chip[_ngcontent-%COMP%]:hover{border-color:var(--primary-default)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-bottom-controls[_ngcontent-%COMP%]{height:36px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge[_ngcontent-%COMP%]{padding:0 .25rem;border-radius:.25rem;font-weight:500;margin-right:.5rem;border:1px solid transparent}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge.P0[_ngcontent-%COMP%]{border:1px solid var(--primary-default);background:var(--primary-default);color:var(--text-inverse)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge.P1[_ngcontent-%COMP%]{border:1px solid var(--primary-default)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-footer-row[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-header-row[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-row[_ngcontent-%COMP%]{min-height:2rem;border-bottom:1px solid var(--hairline)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-cell[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-header-cell[_ngcontent-%COMP%]{border:none}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-header-cell[_ngcontent-%COMP%]{font-weight:500}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .empty-state-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;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:.625rem}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .empty-state-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:Google Sans;font-size:.875rem;font-weight:500;line-height:1rem}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-tab-chips[_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;gap:.5rem;padding:0;border-bottom:1px solid var(--hairline)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-tab-chips[_ngcontent-%COMP%]   .spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-tab-chips[_ngcontent-%COMP%]   .chip-button[_ngcontent-%COMP%]{background:var(--mvp-prototype-chip-bg);padding:0 8px 0 12px;height:1.5rem;line-height:1.5rem;margin:6px 0;border-radius:.5rem;font-weight:400}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-tab-controls[_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;gap:.5rem;padding:.5rem 0;border-bottom:1px solid var(--hairline)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-mdc-cell[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-mdc-header-cell[_ngcontent-%COMP%]{padding:0 .75rem}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-column-type[_ngcontent-%COMP%]{width:48px;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-column-priority[_ngcontent-%COMP%]{width:64px;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-column-assignee[_ngcontent-%COMP%]{min-width:250px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-column-created[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-column-id[_ngcontent-%COMP%]{min-width:120px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}  .mvp-work-areas-view .mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color:#212121;--mdc-chip-elevated-container-color:#e0e0e0;--mdc-chip-elevated-disabled-container-color:#e0e0e0;--mdc-chip-focus-state-layer-color:#000;--mdc-chip-focus-state-layer-opacity:0.12;--mdc-chip-label-text-color:#212121;--mdc-chip-with-icon-icon-color:#212121;--mdc-chip-with-icon-disabled-icon-color:#212121;--mdc-chip-with-icon-selected-icon-color:#212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#212121;--mdc-chip-with-trailing-icon-trailing-icon-color:#212121}  .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary,   .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary{--mdc-chip-disabled-label-text-color:#fff;--mdc-chip-elevated-container-color:#2196f3;--mdc-chip-elevated-disabled-container-color:#2196f3;--mdc-chip-focus-state-layer-color:#000;--mdc-chip-focus-state-layer-opacity:0.12;--mdc-chip-label-text-color:#fff;--mdc-chip-with-icon-icon-color:#fff;--mdc-chip-with-icon-disabled-icon-color:#fff;--mdc-chip-with-icon-selected-icon-color:#fff;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#fff;--mdc-chip-with-trailing-icon-trailing-icon-color:#fff}  .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent,   .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent{--mdc-chip-disabled-label-text-color:rgba(0,0,0,.87);--mdc-chip-elevated-container-color:#ff9800;--mdc-chip-elevated-disabled-container-color:#ff9800;--mdc-chip-focus-state-layer-color:#000;--mdc-chip-focus-state-layer-opacity:0.12;--mdc-chip-label-text-color:rgba(0,0,0,.87);--mdc-chip-with-icon-icon-color:rgba(0,0,0,.87);--mdc-chip-with-icon-disabled-icon-color:rgba(0,0,0,.87);--mdc-chip-with-icon-selected-icon-color:rgba(0,0,0,.87);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:rgba(0,0,0,.87);--mdc-chip-with-trailing-icon-trailing-icon-color:rgba(0,0,0,.87)}  .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn,   .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn{--mdc-chip-disabled-label-text-color:#fff;--mdc-chip-elevated-container-color:#f44336;--mdc-chip-elevated-disabled-container-color:#f44336;--mdc-chip-focus-state-layer-color:#000;--mdc-chip-focus-state-layer-opacity:0.12;--mdc-chip-label-text-color:#fff;--mdc-chip-with-icon-icon-color:#fff;--mdc-chip-with-icon-disabled-icon-color:#fff;--mdc-chip-with-icon-selected-icon-color:#fff;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#fff;--mdc-chip-with-trailing-icon-trailing-icon-color:#fff}  .mvp-work-areas-view .mat-mdc-standard-chip{--mdc-chip-label-text-font:Roboto,"Helvetica Neue",sans-serif;--mdc-chip-label-text-line-height:20px;--mdc-chip-label-text-size:14px;--mdc-chip-label-text-tracking:normal;--mdc-chip-label-text-weight:400}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:16px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:16px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:8px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:8px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:16px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:0}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:18px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__graphic{height:18px;width:18px;font-size:18px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__icon--primary{height:18px;width:18px;font-size:18px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__text-label{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0178571429em;font-weight:500}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-right:0}[dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:16px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip .mdc-evolution-chip__action--primary:before{border-style:solid}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:transparent;border-color:var(--mdc-chip-flat-outline-color,transparent)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:transparent;border-color:var(--mdc-chip-flat-disabled-outline-color,transparent)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip .mdc-evolution-chip__action--primary:before{border-width:1px;border-width:var(--mdc-chip-flat-outline-width,1px)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:6px;padding-right:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:auto}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:auto;right:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:6px;padding-right:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:auto}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:auto;right:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:18px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__graphic{height:18px;width:18px;font-size:18px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__icon--primary{height:18px;width:18px;font-size:18px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__text-label{font-family:Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0178571429em;font-weight:500}  .mvp-work-areas-view .gmat-mdc-chip.gmat-suggestive-chip{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__ripple{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__action--primary:before{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__icon--primary{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-filter-chip{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__ripple{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__action--primary:before{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__icon--primary{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-protected-chip{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-protected-chip:hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-protected-chip:active{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-protected-chip.mat-mdc-chip-disabled{box-shadow:none}  .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon{opacity:.9}  .mvp-work-areas-view .gmat-mdc-chip{--mdc-chip-label-text-color:#5f6368;--mdc-chip-disabled-label-text-color:rgba(60,64,67,.38);--mdc-chip-with-icon-icon-color:#5f6368;--mdc-chip-with-icon-disabled-icon-color:rgba(60,64,67,.38);--mdc-chip-with-icon-selected-icon-color:#5f6368;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#5f6368;--mdc-chip-with-trailing-icon-trailing-icon-color:#5f6368;--mdc-chip-focus-state-layer-color:#3c4043;--mdc-chip-focus-state-layer-opacity:0.12}  .mvp-work-areas-view .gmat-mdc-chip.cdk-focused{--mdc-chip-label-text-color:#202124}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip{--mdc-chip-elevated-container-color:transparent;--mdc-chip-elevated-disabled-container-color:transparent;--mdc-chip-flat-outline-color:#dadce0;--mdc-chip-flat-disabled-outline-color:#dadce0;--mdc-chip-focus-state-layer-color:#3c4043}  .mvp-work-areas-view .gmat-mdc-chip.gmat-protected-chip{--mdc-chip-elevated-container-color:#fff;--mdc-chip-elevated-disabled-container-color:#fff;--mdc-chip-focus-state-layer-color:#3c4043}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#e3f2fd;--mdc-chip-elevated-disabled-container-color:#e3f2fd;--mdc-chip-label-text-color:#0d47a1;--mdc-chip-disabled-label-text-color:#0d47a1;--mdc-chip-with-icon-icon-color:#0d47a1;--mdc-chip-with-icon-disabled-icon-color:#0d47a1;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#0d47a1;--mdc-chip-with-trailing-icon-trailing-icon-color:#0d47a1;--mdc-chip-with-icon-selected-icon-color:#0d47a1;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent;--mdc-chip-focus-state-layer-color:#1976d2}  .mvp-work-areas-view .gmat-mdc-chip.mat-accent.mat-mdc-chip-highlighted,   .mvp-work-areas-view .gmat-mdc-chip.mat-accent.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#fff3e0;--mdc-chip-elevated-disabled-container-color:#fff3e0;--mdc-chip-label-text-color:#e65100;--mdc-chip-disabled-label-text-color:#e65100;--mdc-chip-with-icon-icon-color:#e65100;--mdc-chip-with-icon-disabled-icon-color:#e65100;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#e65100;--mdc-chip-with-trailing-icon-trailing-icon-color:#e65100;--mdc-chip-with-icon-selected-icon-color:#e65100;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent;--mdc-chip-focus-state-layer-color:#f57c00}  .mvp-work-areas-view .gmat-mdc-chip.mat-warn.mat-mdc-chip-highlighted,   .mvp-work-areas-view .gmat-mdc-chip.mat-warn.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#ffebee;--mdc-chip-elevated-disabled-container-color:#ffebee;--mdc-chip-label-text-color:#b71c1c;--mdc-chip-disabled-label-text-color:#b71c1c;--mdc-chip-with-icon-icon-color:#b71c1c;--mdc-chip-with-icon-disabled-icon-color:#b71c1c;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#b71c1c;--mdc-chip-with-trailing-icon-trailing-icon-color:#b71c1c;--mdc-chip-with-icon-selected-icon-color:#b71c1c;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent;--mdc-chip-focus-state-layer-color:#d32f2f}  .mvp-work-areas-view .mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height:24px}  .mvp-work-areas-view .gmat-mdc-chip{--mdc-ripple-color:var(--text-default);--odw-chip-background-selected:var(--blue-50);--odw-chip-assistive-background-selected:var(--blue-100)}  .mvp-work-areas-view .gmat-mdc-chip:not([disabled]){cursor:pointer}.dark-mode[_ngcontent-%COMP%]  .mvp-work-areas-view .gmat-mdc-chip{--odw-chip-background-selected:#3c4043;--odw-chip-assistive-background-selected:#3c4043}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover{--mdc-ripple-color:var(--odw-chip-background-selected);background-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-default);--mdc-chip-disabled-label-text-color:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-secondary);--mdc-chip-with-icon-disabled-icon-color:var(--text-secondary);--mdc-chip-with-icon-selected-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-secondary)}  .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-work-areas-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-default);--mdc-chip-with-icon-disabled-icon-color:var(--text-default);--mdc-chip-with-icon-selected-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip:active .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-default);--mdc-chip-disabled-label-text-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-secondary);--mdc-chip-with-icon-disabled-icon-color:var(--text-secondary);--mdc-chip-with-icon-selected-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-secondary)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-default);--mdc-chip-with-icon-disabled-icon-color:var(--text-default);--mdc-chip-with-icon-selected-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-default);--mdc-chip-disabled-label-text-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--hairline);--mdc-chip-flat-disabled-outline-color:var(--hairline)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip.cdk-focused .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--text-default);--mdc-chip-flat-disabled-outline-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip.gmat-selectable-chip.mdc-evolution-chip--selected:hover{box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-mdc-chip.gmat-protected-chip{background:var(--page-bg);box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.gmat-input-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.gmat-input-chip.mdc-evolution-chip--selected .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected{--mdc-ripple-color:var(--primary-default);background-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-default);--mdc-chip-disabled-label-text-color:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-high-contrast);--mdc-chip-disabled-label-text-color:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mdc-evolution-chip__checkmark-path{stroke:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected{background-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected .mdc-evolution-chip__checkmark-path{stroke:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-high-contrast);--mdc-chip-disabled-label-text-color:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mdc-evolution-chip__checkmark-path{stroke:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay{background-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected{--mdc-chip-label-text-color:var(--text-primary);--odw-chip-background-selected:var(--mvp-prototype-chip-bg)}  .mvp-work-areas-view .mat-tab-labels{height:28px}  .mvp-work-areas-view .mat-tab-label{height:28px;min-width:80px}  .mvp-dialog{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;border-bottom:1px solid var(--hairline)}  .mvp-dialog .mvp-inputs{width:50%;padding:0 1.5rem;border-right:1px solid var(--hairline)}  .mvp-dialog .mvp-inputs p{margin:.75rem 0}  .mvp-dialog .mvp-preview{width:50%;padding:0 1.5rem}  .mvp-dialog .mvp-source-menu-button{width:350px}  .mvp-dialog .mvp-source-menu-button .mat-button-wrapper{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}  .mvp-dialog .mvp-hotlist-input{width:400px}  .mvp-dialog .mvp-hotlist-input .mat-form-field-outline{top:0}  .mvp-dialog .mvp-hotlist-input .mat-form-field-infix{border:none}  .mvp-dialog .mvp-hotlist-input input{font-size:1rem}  .mvp-work-areas-menu{background:var(--surface-default)}  .mvp-work-areas-menu .mvp-source-select{padding:0 .75rem;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:.75rem;overflow:hidden}  .mvp-work-areas-menu .mvp-source-select .mat-mdc-checkbox{color:var(--text-default)}  .mvp-dialog{margin:-24px -24px 0}\n/*# sourceMappingURL=mvp_my_work.css.map */']});var WDc=function(a){this.internalArray_=m(a)};T(WDc,p);f=WDc.prototype;f.getSignalsList=function(){return cl(this,6)};f.setSignalsList=function(a){Ab(this,6,a,db)};f.getCount=function(){return Rh(this,1)};f.setCount=function(a){return V(this,1,a)};f.setS=function(a){sk(this,2,a)};f.setP=function(a){return V(this,3,a)};f.getNextPageToken=function(){return U(this,4)};f.setTrackerIdsList=function(a){uj(this,5,a)};WDc.repeatedFields_=[6,5];
WDc.prototype.toObject=function(){if(null!=this){r(this);var a={signalsList:n(cl(this,6)),count:n(ft(this,1)),s:n(Z(this,2)),p:n(ft(this,3)),nextPageToken:n(Z(this,4)),trackerIdsList:n(Sh(this,5))}}else a=void 0;return a};var KV=function(a){this.internalArray_=m(a)};T(KV,p);KV.prototype.getTimestamp=function(){return X(this,Nh,2)};KV.prototype.setTimestamp=function(a){return hj(this,Nh,2,a)};KV.prototype.hasTimestamp=function(){return Nj(this,Nh,2)};KV.prototype.toObject=function(){return XDc(this)};var XDc=function(a){if(null!=a)return r(a),{signalType:n(Er(a,1)),timestamp:Lt(a.getTimestamp())}};var jp=function(a){this.internalArray_=m(a)};T(jp,p);jp.prototype.getIssue=function(){return X(this,Ej,1)};jp.prototype.setIssue=function(a){hj(this,Ej,1,a)};jp.prototype.getSignalsList=function(){return kj(this,KV,2)};jp.prototype.setSignalsList=function(a){nj(this,2,a)};jp.repeatedFields_=[2];jp.prototype.toObject=function(){return YDc(this)};var YDc=function(a){if(null!=a)return r(a),{issue:eF(a.getIssue()),signalsList:Ub(a.getSignalsList(),XDc)}};var LV=function(a){this.internalArray_=m(a,0,LV.messageId)};T(LV,p);LV.prototype.getNumTotalResults=function(){return Rh(this,2)};LV.prototype.getComponentsMap=function(){return fk(this,3,dk)};LV.prototype.getNextPageToken=function(){return U(this,4)};LV.repeatedFields_=[1];LV.prototype.toObject=function(){if(null!=this){r(this);var a={issuesWithSignalsList:Ub(kj(this,jp,1),YDc),numTotalResults:n(ft(this,2)),componentsMap:Wb(this.getComponentsMap(),kF),nextPageToken:n(Z(this,4))}}else a=void 0;return a};
LV.messageId="b.NeedsAttentionSearchResponse";var MV=function(a){this.internalArray_=m(a)};T(MV,p);MV.prototype.getIssueIdsList=function(){return rl(this,1)};MV.prototype.setIssueIdsList=function(a){return Ab(this,1,a,gb)};MV.prototype.addIssueIds=function(a){Cb(this,1,a)};MV.repeatedFields_=[1];MV.prototype.toObject=function(){if(null!=this){r(this);var a={issueIdsList:n(rl(this,1)),dismissed:n(vr(this,2))}}else a=void 0;return a};var ZDc=function(a){this.internalArray_=m(a,0,ZDc.messageId)};T(ZDc,p);ZDc.prototype.toObject=function(){if(null!=this){r(this);var a={dismissTimestamp:Lt(X(this,Nh,1))}}else a=void 0;return a};ZDc.messageId="b.UpdateIssueDismissTimestampResponse";var NV=function(a,b){this.executor=a;this.appEvents=b;this.COUNT=100};NV.prototype.listIssues=function(a,b,c){var d=this,e=(new WDc).setCount(this.COUNT).setP(1);a&&e.setS(a.toApiUrlParam());b&&e.setTrackerIdsList(b);c&&e.setSignalsList(c.map(JVa));return this.executor.post({url:"action/issues/attention",body:e,responseConstructor:LV}).then(GVa).then(function(g){d.appEvents.needsAttentionIssueCount.next(g.numTotalResults||0);return g})};
var $Dc=function(a,b,c){b=(new MV).setIssueIdsList(b.map(gi));c=Vj(b,2,c);return a.executor.post({url:"action/issues/dismiss_timestamp",body:c,responseConstructor:ZDc}).then(IVa)};NV.\u0275fac=function(a){return new (a||NV)(t(iE),t(eH))};NV.\u0275prov=yc({token:NV,factory:NV.\u0275fac,providedIn:"root"});var aEc=new Map([["NEAR_SLO",{color:"orange",text:"Near SLO",icon:"timelapse_24px",className:"near-slo"}],["MENTIONED",{color:"pink",text:"Mentioned me",icon:"alternate_email_24px",className:"mentioned-me"}],["UNBLOCKED",{color:"cyan",text:"Blockers closed",icon:"slo-status-no-data",className:"unblocked"}],["NEEDS_REPORTER_INPUT",{color:"purple",text:"Need reporter input",icon:"rate_review_24px",className:"needs-reporter-input"}],["NEWLY_BLOCKING",{color:"red",text:"Newly blocking",icon:"alert_24px",
className:"newly-blocking"}],["ASSIGNED",{color:"blue",text:"Newly assigned",icon:"assignment_ind_24px",className:"newly-assigned"}],["REPLIED_TO_MENTION",{color:"green",text:"Replied to mention",icon:"chat_24px",className:"replied-to-mention"}]]),pGb=new Map([["NEAR_SLO",{header:"Near SLO",body:"Issues that will go out of SLO in 2 days or less"}],["MENTIONED",{header:"Mentioned me",body:"Someone mentioned you in a comment in the past 2 weeks"}],["UNBLOCKED",{header:"Blockers closed",body:"All blockers are closed"}],
["NEEDS_REPORTER_INPUT",{header:"Needs reporter input",body:"Issue is assigned back to reporter (you) for more context"}],["REPLIED_TO_MENTION",{header:"Replied to mention",body:"Someone you mentioned replied to your comment"}],["NEWLY_BLOCKING",{header:"Newly blocking",body:"Issues that are blocking other issues"}],["ASSIGNED",{header:"Newly assigned",body:"Issues newly assigned to you"}]]);var OV=function(a){this.api=a},bEc=function(a,b){return Vfc(a.api,RVa(b)).pipe(C(function(c){c=c.results.map(function(d){var e=d.userId.email;d=d.userAvailabilities.availabilities;var g=d[0];d=d.slice(1);var h;if(h=g)h=g.status.hasOutOfOffice?"OOO - "+NVa(g.status.outOfOffice.comeBackTime):g.status.hasOutsideWorkingHours?"Outside working hours - "+NVa(g.status.outsideWorkingHours.comeBackTime):void 0;g=(g=h)?{type:"Current Availability",text:g}:void 0;d=null!=g?g:QVa(d);return[e,d]});return new Map(c)}))};
OV.\u0275fac=function(a){return new (a||OV)(t(HJ))};OV.\u0275prov=yc({token:OV,factory:OV.\u0275fac,providedIn:"root"});var cEc=new ad("Worktracker API Key");var dEc=new ad("Environment");var PV=function(a){this.internalArray_=m(a)};T(PV,p);f=PV.prototype;f.getIterationId=function(){return qj(this,1)};f.setIterationId=function(a){return Jb(this,1,a)};f.getWorkspaceId=function(){return qj(this,2)};f.getType=function(){return Zi(this,3,0)};f.setType=function(a){return Yi(this,3,a)};f.getName=function(){return U(this,4)};f.setName=function(a){return wj(this,4,a)};f.getHotlistId=function(){return qj(this,7)};f.setHotlistId=function(a){Jb(this,7,a)};
f.getStatus=function(){return Zi(this,8,0)};f.setStatus=function(a){return Yi(this,8,a)};f.getTagsList=function(){return cl(this,9)};f.getTags=function(a){return lt(this,9,a)};f.setVelocity=function(a){return Bb(this,11,Xa(a),0)};f.getStartTime=function(){return X(this,Nh,12)};f.setStartTime=function(a){hj(this,Nh,12,a)};f.getEndTime=function(){return X(this,Nh,13)};f.setEndTime=function(a){hj(this,Nh,13,a)};f.getEtag=function(){return U(this,18)};f.setEtag=function(a){wj(this,18,a)};var eEc=Zb(PV);
PV.repeatedFields_=[9];PV.prototype.toObject=function(){return fEc(this)};var fEc=function(a){if(null!=a)return r(a),{iterationId:qj(a,1),workspaceId:qj(a,2),type:Zi(a,3,0),name:U(a,4),startUsecs:WKb(a,5),endUsecs:WKb(a,6),actualStartTime:Lt(X(a,Nh,15)),actualEndTime:Lt(X(a,Nh,14)),hotlistId:qj(a,7),status:Zi(a,8,0),tagsList:n(cl(a,9)),capacity:rj(a,10),velocity:rj(a,11),startTime:Lt(a.getStartTime()),endTime:Lt(a.getEndTime()),iterationRecurrenceId:qj(a,16),etag:U(a,18)}};var QV=function(a){this.internalArray_=m(a)};T(QV,p);QV.prototype.getIterationId=function(){return ht(this,1)};QV.prototype.setIterationId=function(a){return Bb(this,1,a,0)};QV.prototype.toObject=function(){if(null!=this){r(this);var a={iterationId:ht(this,1)}}else a=void 0;return a};var gEc=new GD("/google.corp.devtools.worktracker.v1.IterationService/GetIteration",QV,PV,function(a){return a.serialize()},eEc);var hEc=function(a){this.internalArray_=m(a)};T(hEc,p);hEc.repeatedFields_=[1];hEc.prototype.toObject=function(){return iEc(this)};var iEc=function(a){if(null!=a)return r(a),{launchIdsList:n(Th(a,1))}};var jEc=function(a){this.internalArray_=m(a)};T(jEc,p);jEc.repeatedFields_=[1];jEc.prototype.toObject=function(){return kEc(this)};var kEc=function(a){if(null!=a)return r(a),{okrIdsList:n(Th(a,1))}};var lEc=function(a){this.internalArray_=m(a)};T(lEc,p);lEc.prototype.getIssue=function(){return X(this,SE,1)};lEc.prototype.setIssue=function(a){hj(this,SE,1,a)};lEc.prototype.toObject=function(){return mEc(this)};var mEc=function(a){if(null!=a)return r(a),{issue:T7b(a.getIssue()),legacyType:Zi(a,2,0)}};var nEc=function(a){this.internalArray_=m(a)};T(nEc,p);nEc.prototype.getIssue=function(){return ck(this,lEc,1,oEc)};nEc.prototype.setIssue=function(a){Ao(this,1,oEc,a)};var oEc=[1];nEc.prototype.toObject=function(){return pEc(this)};var pEc=function(a){if(null!=a)return r(a),{issue:mEc(a.getIssue())}};var RV=function(a){this.internalArray_=m(a)};T(RV,p);RV.prototype.getId=function(){return U(this,1)};RV.prototype.setId=function(a){return wj(this,1,a)};RV.prototype.getPayload=function(){return X(this,nEc,9)};var qEc=Zb(RV);RV.repeatedFields_=[11,12,7,10];RV.prototype.toObject=function(){return rEc(this)};
var rEc=function(a){if(null!=a){r(a);var b=U(a,1),c=pEc(a.getPayload()),d=n(Th(a,11)),e=Ub(kj(a,PV,12),fEc),g=n(Th(a,7)),h=Tj(a,8),l=n(Th(a,10));var q=fk(a,15,jEc);q=Wb(q,kEc);a=fk(a,16,hEc);return{id:b,payload:c,tagIdsList:d,iterationsList:e,blockerIdsList:g,inboxItem:h,parentIdsList:l,okrIdsMap:q,launchIdsMap:Wb(a,iEc)}}};var uEc=function(){var a=Jc(sEc),b=tEc;b=b||{};b.format="jspb";this.client_=new YD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};uEc.prototype.getIteration=function(a,b){return ZD(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.IterationService/GetIteration",a,b||{},gEc)};var vEc=function(a){this.internalArray_=m(a)};T(vEc,p);var wEc=function(a,b){return Pi(a,1,b)};vEc.repeatedFields_=[1];vEc.prototype.toObject=function(){if(null!=this){r(this);var a={workItemIdsList:n(Th(this,1))}}else a=void 0;return a};var xEc=function(a){this.internalArray_=m(a)};T(xEc,p);var yEc=Zb(xEc);xEc.repeatedFields_=[1];xEc.prototype.toObject=function(){if(null!=this){r(this);var a={workItemsList:Ub(kj(this,RV,1),rEc)}}else a=void 0;return a};var zEc=new GD("/google.corp.devtools.worktracker.v1.WorkItemService/BatchGetWorkItems",vEc,xEc,function(a){return a.serialize()},yEc);var AEc=function(a){this.internalArray_=m(a)};T(AEc,p);AEc.prototype.setWorkItemId=function(a){return wj(this,1,a)};AEc.prototype.toObject=function(){if(null!=this){r(this);var a={workItemId:U(this,1)}}else a=void 0;return a};var BEc=new GD("/google.corp.devtools.worktracker.v1.WorkItemService/GetWorkItem",AEc,RV,function(a){return a.serialize()},qEc);var CEc=function(){var a=Jc(sEc),b=tEc;b=b||{};b.format="jspb";this.client_=new YD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")},DEc=function(a,b,c){return ZD(a.client_,a.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkItemService/BatchGetWorkItems",b,c||{},zEc)};CEc.prototype.getWorkItem=function(a){return ZD(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkItemService/GetWorkItem",a,{},BEc)};var sEc=new ad("Worktracker API Endpoint",{factory:function(){switch(Jc(dEc)){case "Prod":return"https://worktracker-googleapis.corp.google.com";case "Staging":return"https://staging-worktracker-googleapis.corp.google.com";default:return"https://autopush-worktracker-googleapis.corp.google.com"}}}),tEc={withCredentials:!0,suppressCorsPreflight:!0},EEc=new ad("Workspaces Promise Client",{factory:function(){return new jrc(Jc(sEc),tEc)}}),FEc=new ad("Iterations Promise Client",{factory:function(){return new uEc}}),
GEc=new ad("Work Items Promise Client",{factory:function(){return new CEc}});var SV=function(){this.iterationsApi=Jc(FEc);this.idToIterationMap=new Map;this.headers=mp(Jc(cEc))};SV.prototype.getIteration=function(a){if(this.idToIterationMap.has(a))return this.idToIterationMap.get(a);var b=(new QV).setIterationId(a);b=this.iterationsApi.getIteration(b,this.headers);this.idToIterationMap.set(a,b);return b};SV.\u0275fac=function(a){return new (a||SV)};SV.\u0275prov=yc({token:SV,factory:SV.\u0275fac,providedIn:"root"});var TV=function(){var a=this;this.workItemsApi=Jc(GEc);this.headers=mp(Jc(cEc));this.task$=new D.ReplaySubject;this.taskToWorkItem$=TVa(this.task$).pipe($e(function(b){var c;return pe(function(d){if(1==d.nextAddress)return d.yield(HEc(a,b),2);c=d.yieldResult;for(var e=d.return,g=Map,h=Math.max(b.length,c.length),l=[],q=0;q<h;q++)l.push([b[q],c[q]]);return e.call(d,new g(l))})}),Xe())};
TV.prototype.getWorkItem=function(a){var b;if(null==(b=a.getResource())||!rp(b))return(0,D.of)(void 0);this.task$.next(a);return this.taskToWorkItem$.pipe(C(function(c){return c.get(a)}))};var HEc=function(a,b){var c,d;return pe(function(e){if(1==e.nextAddress)return c=wEc(new vEc,b.map(function(g){return U(g,1)})),e.yield(DEc(a.workItemsApi,c,a.headers),2);d=e.yieldResult;return e.return(kj(d,RV,1))})};TV.\u0275fac=function(a){return new (a||TV)};TV.\u0275prov=yc({token:TV,factory:TV.\u0275fac,providedIn:"root"});var UV=function(){var a=this;this.workspacesApi=Jc(EEc);this.workspaceIds$=(0,D.defer)(function(){return IEc(a)}).pipe(Xe());this.headers=mp(Jc(cEc));this.workItemFetcher=Jc(TV);this.iterationFetcher=Jc(SV)},KEc=function(a,b){return(0,D.defer)(function(){return JEc(a,b)})},JEc=function(a,b){var c,d,e,g,h,l,q,v;return pe(function(x){if(1==x.nextAddress)return x.yield(Promise.all([(0,D.firstValueFrom)(a.workItemFetcher.getWorkItem(b)),(0,D.firstValueFrom)(a.workspaceIds$)]),2);if(3!=x.nextAddress){c=
x.yieldResult;d=k(c);e=d.next().value;g=d.next().value;h=e;l=g;if(!h)return x.return(void 0);q=kj(h,PV,12).filter(function(A){return l.includes(A.getWorkspaceId())});return x.yield(Promise.all(q.map(function(A){return a.iterationFetcher.getIteration(A.getIterationId())})),3)}v=x.yieldResult;return x.return(v.some(UVa)?"Current iteration":void 0)})},IEc=function(a){var b,c;return pe(function(d){if(1==d.nextAddress)return b=frc(),d.yield(a.workspacesApi.list(b,a.headers),2);c=d.yieldResult;return d.return(kj(c,
fo,1).map(function(e){return e.getWorkspaceId()}))})};UV.\u0275fac=function(a){return new (a||UV)};UV.\u0275prov=yc({token:UV,factory:UV.\u0275fac,providedIn:"root"});var VV={},WV={},XV={},YV={},ZV={},$V={},ZVa=($V[1]=(VV[1]=4419,VV[2]=19482,VV[3]=65108,VV[4]=78715,VV[5]=80067,VV[6]=15012,VV),$V[2]=(WV[1]=9078,WV[2]=63700,WV[3]=86383,WV[4]=148526,WV[5]=161988,WV[6]=80049,WV),$V[3]=(XV[1]=37536,XV[2]=89931,XV[3]=179965,XV[4]=274704,XV[5]=351444,XV[6]=237983,XV),$V[4]=(YV[1]=72484,YV[2]=191314,YV[3]=342430,YV[4]=444537,YV[5]=528272,YV[6]=417086,YV),$V[5]=(ZV[1]=56493,ZV[2]=167140,ZV[3]=327933,ZV[4]=425290,ZV[5]=490491,ZV[6]=436116,ZV),$V);var LEc=function(a){this.internalArray_=m(a)};T(LEc,p);LEc.prototype.toObject=function(){if(null!=this){r(this);var a={changelistId:qj(this,1)}}else a=void 0;return a};var MEc=function(a){this.internalArray_=m(a)};T(MEc,p);f=MEc.prototype;f.getName=function(){return U(this,1)};f.setName=function(a){return wj(this,1,a)};f.getId=function(){return U(this,2)};f.setId=function(a){return wj(this,2,a)};f.toObject=function(){return NEc(this)};var NEc=function(a){if(null!=a)return r(a),{name:U(a,1),id:U(a,2),rolloutTime:Lt(X(a,Nh,3))}};var OEc=function(a){this.internalArray_=m(a)};T(OEc,p);OEc.prototype.toObject=function(){return PEc(this)};var PEc=function(a){if(null!=a)return r(a),{candidate:NEc(X(a,MEc,1)),containsCl:Tj(a,2),artifactCorpus:U(a,3)}};var aW=function(a){this.internalArray_=m(a)};T(aW,p);aW.prototype.getName=function(){return U(this,2)};aW.prototype.setName=function(a){return wj(this,2,a)};aW.repeatedFields_=[5];aW.prototype.toObject=function(){return QEc(this)};var QEc=function(a){if(null!=a)return r(a),{name:U(a,2),candidateRolloutInfosList:Ub(kj(a,OEc,5),PEc)}};var REc=function(a){this.internalArray_=m(a)};T(REc,p);REc.prototype.getPackageName=function(){return U(this,2)};REc.repeatedFields_=[3];REc.prototype.toObject=function(){return SEc(this)};var SEc=function(a){if(null!=a)return r(a),{packageGroup:U(a,1),packageName:U(a,2),androidTracksList:Ub(kj(a,aW,3),QEc)}};var TEc=function(a){this.internalArray_=m(a)};T(TEc,p);TEc.prototype.getName=function(){return U(this,1)};TEc.prototype.setName=function(a){return wj(this,1,a)};TEc.prototype.toObject=function(){return UEc(this)};var UEc=function(a){if(null!=a)return r(a),{name:U(a,1),cellStatus:Zi(a,2,0)}};var VEc=function(a){this.internalArray_=m(a)};T(VEc,p);f=VEc.prototype;f.getStartTime=function(){return X(this,Nh,1)};f.setStartTime=function(a){hj(this,Nh,1,a)};f.getEndTime=function(){return X(this,Nh,2)};f.setEndTime=function(a){hj(this,Nh,2,a)};f.toObject=function(){return WEc(this)};var WEc=function(a){if(null!=a)return r(a),{startTime:Lt(a.getStartTime()),endTime:Lt(a.getEndTime())}};var XEc=function(a){this.internalArray_=m(a)};T(XEc,p);f=XEc.prototype;f.getConfidence=function(){return rj(this,2)};f.getStatus=function(){return X(this,ID,3)};f.setStatus=function(a){return hj(this,ID,3,a)};f.hasStatus=function(){return Nj(this,ID,3)};f.toObject=function(){return YEc(this)};var YEc=function(a){if(null!=a)return r(a),{confidenceInterval:WEc(X(a,VEc,1)),confidence:n(Ho(a,2)),status:j5b(a.getStatus())}};var bW=function(a){this.internalArray_=m(a)};T(bW,p);bW.prototype.getName=function(){return U(this,1)};bW.prototype.setName=function(a){return wj(this,1,a)};bW.prototype.getUser=function(){return U(this,7)};bW.prototype.setUser=function(a){wj(this,7,a)};bW.repeatedFields_=[6,8];bW.prototype.toObject=function(){return ZEc(this)};
var ZEc=function(a){if(null!=a)return r(a),{name:U(a,1),user:U(a,7),changelistDeploymentStatus:Zi(a,2,0),clFirstReachedTimestamp:Lt(X(a,Nh,3)),rapidCandidate:U(a,4),isFinalStage:Tj(a,5),cellDeploymentInfosList:Ub(kj(a,TEc,6),UEc),currentRapidCandidatesList:Ub(kj(a,MEc,8),NEc),clDeploymentHistoryMessage:U(a,9),releasePrediction:YEc(X(a,XEc,10))}};var cW=function(a){this.internalArray_=m(a)};T(cW,p);cW.prototype.getName=function(){return U(this,1)};cW.prototype.setName=function(a){return wj(this,1,a)};cW.repeatedFields_=[2,5];cW.prototype.toObject=function(){return $Ec(this)};var $Ec=function(a){if(null!=a)return r(a),{name:U(a,1),environmentsList:Ub(kj(a,bW,2),ZEc),missingRapidProjectDataReason:Zi(a,3,0),androidReleaseInfosList:Ub(kj(a,REc,5),SEc)}};var aFc=function(a){this.internalArray_=m(a)};T(aFc,p);var bFc=Zb(aFc);aFc.repeatedFields_=[2];aFc.prototype.toObject=function(){if(null!=this){r(this);var a={submissionDeadlinePrediction:YEc(X(this,XEc,1)),projectReleasePredictionsList:Ub(kj(this,cW,2),$Ec)}}else a=void 0;return a};var cFc=new GD("/google.corp.devtools.developergraph.v1.ContextService/GetChangelistReleaseSchedulePrediction",LEc,aFc,function(a){return a.serialize()},bFc);var eFc=function(){var a=Jc(dFc).endpoint;this.client_=new YD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};eFc.prototype.getChangelistReleaseSchedulePrediction=function(a,b){return ZD(this.client_,this.hostname_+"/$rpc/google.corp.devtools.developergraph.v1.ContextService/GetChangelistReleaseSchedulePrediction",a,b||{},cFc)};var dFc=new ad("Deployments config",{factory:function(){switch(Jc(dEc)){case "Prod":return{endpoint:"https://developergraph-googleapis.corp.google.com",apiKey:"AIzaSyCcQkm25Zzy--16hP6gEq5iF57VSicmFPo"};case "Autopush":case "Staging":return{endpoint:"https://staging-developergraph-googleapis.corp.google.com",apiKey:"AIzaSyDSUcRr-tRwNntdpgqJSKetPwgDfFhdXh0"};default:return{endpoint:"https://autopush-developergraph-googleapis.corp.google.com",apiKey:"AIzaSyAgSldgoc7j91zBJEF4H-5KfMW3kdb0Knc"}}}}),fFc=
new ad("Context Service Promise Client",{factory:function(){return new eFc}}),dW=function(){this.headers=mp(Jc(dFc).apiKey);this.client=Jc(fFc)},hFc=function(a,b){var c;return pe(function(d){if(1==d.nextAddress)return d.yield(gFc(a,b),2);c=d.yieldResult;return d.return(c?OVa("Scheduled release in",c,12):void 0)})},gFc=function(a,b){var c,d,e,g,h;return pe(function(l){if(1==l.nextAddress){var q=new LEc;c=Jb(q,1,b);return l.yield(a.client.getChangelistReleaseSchedulePrediction(c,a.headers),2)}d=l.yieldResult;
return l.return(null==(e=X(d,XEc,1))?void 0:null==(g=X(e,VEc,1))?void 0:null==(h=g.getStartTime())?void 0:h.toDate())})};dW.\u0275fac=function(a){return new (a||dW)};dW.\u0275prov=yc({token:dW,factory:dW.\u0275fac,providedIn:"root"});var pWa=new Map;var eW=function(){var a=this;this.keyValueStore=new NB;this.initiallyHiddenTaskIds=iFc(this);this.hideEvent$=new D.Subject;this.hiddenTaskIdList$=this.hideEvent$.pipe(EWa(this.initiallyHiddenTaskIds),bf(function(b){a.keyValueStore.setValue("task_prioritization.hidden_task_ids",b)}),Xe({bufferSize:1,refCount:!1}));this.showHiddenMyWorkTasks$=new D.BehaviorSubject(!1);this.showHiddenNeedsMyInputTasks$=new D.BehaviorSubject(!1)};eW.prototype.hideTask=function(a){this.hideEvent$.next({id:a.id,type:"hidden"})};
eW.prototype.unhideTask=function(a){this.hideEvent$.next({id:a.id,type:"unhidden"})};var kFc=function(a){return(0,D.pipe)($e(function(b){return(0,D.combineLatest)(b.map(function(c){return jFc(a,c)}))}),C(function(b){return b.filter(np)}))};eW.prototype.isHidden=function(a){return this.hiddenTaskIdList$.pipe(C(function(b){return b.includes(a)}))};
var jFc=function(a,b){return(0,D.combineLatest)([b.isHidden$,b.isMyWork?a.showHiddenMyWorkTasks$:a.showHiddenNeedsMyInputTasks$]).pipe(C(function(c){c=k(c);var d=c.next().value;return c.next().value||!d?b:void 0}))},iFc=function(a){var b;return null!=(b=DWa(a.keyValueStore.getValue("task_prioritization.hidden_task_ids")))?b:[]};eW.\u0275fac=function(a){return new (a||eW)};eW.\u0275prov=yc({token:eW,factory:eW.\u0275fac,providedIn:"root"});var lFc=new ad("G3C API Keys");var mFc=new ad("Deployments config",{factory:function(){switch(Jc(dEc)){case "Prod":return{endpoint:"https://devopsconsole-pa-googleapis.corp.google.com",apiKey:Jc(lFc).prodApiKey};case "Staging":return{endpoint:"https://stagingcorp-devopsconsole-pa-googleapis.corp.google.com",apiKey:Jc(lFc).stagingApiKey};default:return{endpoint:"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com",apiKey:Jc(lFc).autopushApiKey}}}}),nFc=new ad("Task Prioritization Promise Client",{factory:function(){return new uec(Jc(mFc).endpoint)}}),
fW=function(){this.client=Jc(nFc);this.headers=mp(Jc(mFc).apiKey)};fW.prototype.fetchTasks=function(){var a=vec(this.client,kec([3,2,1,4]),this.headers);return SVa(a)};fW.\u0275fac=function(a){return new (a||fW)};fW.\u0275prov=yc({token:fW,factory:fW.\u0275fac,providedIn:"root"});var gW=function(a,b,c,d,e){var g=this;this.availability=a;this.submissionDeadline=b;this.iterations=c;this.hiddenTasks=d;this.taskFetcher=e;this.showAllMyWorkTasks$=new D.BehaviorSubject(!1);this.showAllNeedsMyInputTasks$=new D.BehaviorSubject(!1);this.tasks$=(0,D.defer)(function(){return g.taskFetcher.fetchTasks()}).pipe(ze(function(h){return oFc(g,h)}),Xe());this.allTasks$=this.tasks$.pipe(GWa());this.filteredTasks$=this.tasks$.pipe(pFc(this),GWa());this.readdedTasks$=(0,D.zip)(this.allTasks$,this.filteredTasks$).pipe(qFc(this))},
rFc=function(a){return a.readdedTasks$.pipe(kFc(a.hiddenTasks))},sFc=function(a){return a.areAllTasksLoaded().pipe(cf(rFc(a)),C(function(b){b=k(b);b.next();return b.next().value.filter(function(c){return!c.isMyWork}).length}))};gW.prototype.areAllTasksLoaded=function(){return this.tasks$.pipe(bja(void 0,[]),Se(!0))};
var oFc=function(a,b){b=kj(b,dn,1).filter(function(e){return e.getResource()});var c=b.map(IWa),d=bEc(a.availability,c).pipe(Xe());return(0,D.forkJoin)(b.map(function(e,g){var h=e.getResource(),l=U(h,1),q=U(e,1);return(0,D.forkJoin)([d.pipe(C(function(v){return v.get(c[g])})),(0,D.defer)(function(){return tFc(a,q,l)}),FWa(e),uFc(a,e),(0,D.of)($Va(e))]).pipe(C(function(v){return v.filter(np)})).pipe(C(function(v){var x=h.getTitle(),A=h.getExternalLink(),G=[],M=G.concat;v=cd(v);var Q=(Q=rp(e.getResource()))?
[3===Q.getStatus()&&{type:"Accepted",text:"Accepted"},1===Q.getPriority()&&{type:"P0",text:"P0"},XVa(Q)&&{type:"Out of SLO",text:"Out of SLO"},YVa(Q)&&{type:"Near SLO",text:"Near SLO"}].filter(np):[];Q=cd(Q);var Y=(Y=hn(e.getResource()))?[3===Y.getStatus()&&{type:"Unresolved",text:"Unresolved"},1===Y.getStatus()&&{type:"LGTM",text:"LGTM"},Y.getDescription().includes("ROLLBACK_OF=")&&{type:"Rollback",text:"Rollback"}].filter(np):[];Y=cd(Y);var W=(W=kn(e.getResource()))?[Tj(W,25)&&{type:"Docwrap Incoming",
text:"Incoming review"},Tj(W,26)&&{type:"Docwrap Outgoing",text:"Outgoing review"}].filter(np):[];return{id:q,title:x,resourceUrl:A,signals:M.call(G,v,Q,Y,cd(W)),source:l,isHidden$:a.hiddenTasks.isHidden(q),isMyWork:HWa(e),resource:h,timestamp:h.getLastModifiedTimestamp()}}))}))},uFc=function(a,b){return KEc(a.iterations,b).pipe(C(function(c){return c?{type:"Current Iteration",text:c}:void 0}))},tFc=function(a,b,c){var d,e;return pe(function(g){if(1==g.nextAddress){if("Critique"!==c)return g.return(void 0);
d=Number(b.slice(3));return g.yield(hFc(a.submissionDeadline,d),2)}e=g.yieldResult;return g.return(e?{type:"Submission Deadline",text:e,tooltipText:"Time this CL must be submitted by to make it into the next release"}:void 0)})},qFc=function(a){return(0,D.pipe)($e(function(b){b=k(b);var c=b.next().value,d=b.next().value;return(0,D.combineLatest)([a.showAllMyWorkTasks$,a.showAllNeedsMyInputTasks$]).pipe(C(function(e){var g=k(e);e=g.next().value;g=g.next().value;var h=c.filter(function(q){return!d.includes(q)}),
l=k(VVa(h,function(q){return q.isMyWork}));h=l.next().value;l=l.next().value;e=e?h:[];g=g?l:[];return[].concat(cd(d),cd(e),cd(g))}))}))},pFc=function(a){return(0,D.pipe)(C(function(b){var c=k(VVa(b,function(d){return a.hiddenTasks.initiallyHiddenTaskIds.includes(d.id)}));b=c.next().value;c=c.next().value;return[].concat(cd(CWa(c)),cd(b))}))};gW.\u0275fac=function(a){return new (a||gW)(t(OV),t(dW),t(UV),t(eW),t(fW))};gW.\u0275prov=yc({token:gW,factory:gW.\u0275fac,providedIn:"root"});var hW=function(a,b,c,d,e,g){rF.call(this);var h=this;this.hackyPrefs=a;this.needsAttentionApi=b;this.tasksService=c;this.currentUser=d;this.domSafe=e;this.router=g;this.currentUserEmail=this.currentUser.email;this.allAlerts=[];this.areAllTasksLoaded$=this.tasksService.areAllTasksLoaded();this.displayedColumns="selection type description timestamp signal action dismiss".split(" ");this.selection=new Oz(!0,[]);this.needsAttentionApi.listIssues(void 0,void 0,KVa()).then(function(l){l=k(l.issuesWithSignals);
for(var q=l.next();!q.done;q=l.next()){q=q.value;var v=void 0,x=void 0,A=(null!=(x=null==(v=q.issue)?void 0:v.majorModifiedTimeMicros)?x:0)/1E3,G=x=v=void 0,M=void 0;h.allAlerts=h.allAlerts.concat({type:"Buganizer",description:null!=(G=null==(v=q.issue)?void 0:null==(x=v.snapshot[0])?void 0:x.title)?G:"",signal:null!=(M=q.signals[0].signalType)?M:"SIGNAL_TYPE_UNKNOWN",timestamp:A,fullObject:q})}vFc(h)});this.areAllTasksLoaded$.pipe(cf(rFc(this.tasksService)),af(this.destroyed$)).subscribe(function(l){l=
k(l);l.next();l=l.next().value.filter(function(M){return"Buganizer"!==M.source});l=k(l);for(var q=l.next();!q.done;q=l.next()){q=q.value;var v=void 0,x=void 0,A=void 0,G=null!=(A=null==(v=q.signals[0])?void 0:null==(x=v.type)?void 0:x.toString())?A:"";v=void 0;x=Number(null!=(v=q.timestamp)?v:0);h.allAlerts.push({type:q.source,description:q.title,signal:G,timestamp:x,fullObject:q})}vFc(h)})};T(hW,rF);hW.\u0275dir=rF.\u0275dir;hW.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["mvp-needs-attention"]};
hW.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("mvp-needs-attention")};
var KWa=function(a){return a.selection.selected.length===a.allAlerts.length},vFc=function(a){a.allAlerts.sort(function(b,c){return c.timestamp-b.timestamp})},OWa=function(a){switch(a.type){case "Buganizer":return"bug_report";case "Critique":return"check_circle_filled";case "Drive":if("resource"in a.fullObject){var b;switch(null==(b=et(a.fullObject.resource,jn,5))?void 0:b.getMimeType()){case "document":return"drive_document";case "spreadsheet":return"drive_spreadsheet";case "presentation":return"drive_presentation";
case "video/mp4":return"video_youtube"}}return"link";case "Ariane":return"https://fonts.gstatic.com/s/i/productlogos/launch/v1/192px.svg";default:return"bug_report"}},aXa=function(a){if("Buganizer"===a.type){var b;return null==(b=aEc.get(a.signal))?void 0:b.text}return"Critique"===a.type&&""===a.signal?"In attention set":"Ariane"===a.type&&""===a.signal?(a=et(a.fullObject.resource,ln,9),a.getOwnedByMe()?"Launch owner":Tj(a,8)?"Launch bit approver":"Launch collaborator"):"Drive"===a.type&&""===a.signal?
(a=a.fullObject,b=et(a.resource,jn,5),b.getOwnedByMe()?wFc(a)+" owner":b.getSharedToMe()?wFc(a)+" shared with me":wFc(a)+" collaborator"):a.signal},wFc=function(a){var b;switch(null==(b=et(a.resource,jn,5))?void 0:b.getMimeType()){case "document":return"Docs";case "spreadsheet":return"Sheets";case "presentation":return"Slides";default:return"File"}},dXa=function(a,b){if("Buganizer"===b.type)switch(b.signal){case "MENTIONED":return"Reply to @mention";case "UNBLOCKED":return"View recently unblocked issue";
case "ASSIGNED":return"View recently assigned issue";case "NEWLY_BLOCKING":return"View newly blocking issue";default:return"View issue"}else{var c=b.fullObject;if("Critique"===b.type)return b=et(c.resource,fn,8),b.getNeedsAttention()&&b.getReviewerEmailsList().includes(a.currentUserEmail)?"Review CL":"View CL";if("Ariane"===b.type)return Tj(et(c.resource,ln,9),8)?"Review launch":"Open Launch";if("Drive"===b.type)return"View "+wFc(c)}return"Review"},$Wa=function(a){if("Buganizer"===a.type)switch(a.signal){case "MENTIONED":return"most-urgent";
case "REPLIED_TO_MENTION":case "NEAR_SLO":case "ASSIGNED":return"less-urgent"}else{if("Critique"===a.type)return""===a.signal?"most-urgent":"less-urgent";if("Ariane"===a.type){if(Tj(et(a.fullObject.resource,ln,9),8))return"less-urgent"}else if("Drive"===a.type&&Tj(et(a.fullObject.resource,jn,5),25))return"less-urgent"}return""},TWa=function(a){var b;return null==(b=a.fullObject.issue)?void 0:b.snapshot[0].priority},iXa=function(a,b,c){if(!(b.defaultPrevented||"mouseup"===b.type&&b instanceof MouseEvent&&
1!==b.button||"A"===b.target.tagName))if("Buganizer"===c.type){var d;c=em(null==(d=c.fullObject.issue)?void 0:d.issueId);b.ctrlKey||b.metaKey||b instanceof MouseEvent&&1===b.button?a.domSafe.openInNewTab(c):b&&b.shiftKey?Zn(a.domSafe,c):ls(a.router,c)}else a.domSafe.openInNewTab(c.fullObject.resource.getExternalLink())};hW.prototype.trackByAlertId=function(a,b){if("Buganizer"===b.type){var c;return"b/"+(null==(c=b.fullObject.issue)?void 0:c.issueId)}return b.fullObject.id};
hW.\u0275fac=function(a){return new (a||hW)(B(rJ),B(NV),B(gW),B(qJ),B(vL),B(IH))};
hW.\u0275cmp=Oc({type:hW,selectors:[["mvp-needs-attention"]],features:[kf],decls:18,vars:9,consts:[[1,"carded","bg-main","margin-top"],[1,"flex-kids-x","margin-s-bottom"],[1,"header-left"],[1,"heading-s","line-clamp-3"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],["class","alert-count-badge b-chip",4,"ngIf"],[1,"margin-left-auto","flex-kids-x","align-items-center","card-controls"],["mat-icon-button",
"","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],["menu","matMenu"],[1,"muted"],["class","main-content",4,"ngIf"],[1,"alert-count-badge","b-chip"],[1,"alert-count"],[1,"main-content"],[1,"flex-kids-x","gap-s","align-items-center"],["mat-button","","matTooltip","Select source applications","aria-label","Select source applications","aria-haspopup","true",1,"gmat-button","medium","source-filter",
3,"matMenuTriggerFor"],[1,"google-material-icons"],[1,"mvp-my-tasks-menu"],["sourceMenu","matMenu"],[1,"mvp-source-select",3,"click"],["color","primary","checked","true"],["checked","true"],["aria-label","Table filters","multiple",""],["appearance","hairline-filter","selected",""],["mat-table","","aria-label","Table of alerts",1,"full-width",3,"dataSource","trackBy"],["matColumnDef","selection"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef",
"description"],["matColumnDef","timestamp"],["matColumnDef","signal"],["matColumnDef","action"],["matColumnDef","dismiss"],["mat-header-cell","","class","border-bottom",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"click","mouseup",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["aria-label","Select all alerts",3,"checked","indeterminate","change"],["mat-cell",""],["aria-label","Select alert",3,"checked","click","change"],[3,"class",
4,"ngIf","ngIfElse"],["launchIcon",""],["alt","product icon",1,"product-icon","center-text",3,"src"],[1,"alert-description"],[3,"issuePriority","class",4,"ngIf"],[3,"issuePriority"],[1,"google-material-icons","sort-column-icon"],["mode","datetime",3,"timestamp",4,"ngIf"],["mode","datetime",3,"timestamp"],["mat-button","",1,"gmat-button","primary","action-button"],["mat-header-cell","",1,"border-bottom"],[1,"google-material-icons","dismiss-icon"],["mat-header-row",""],["mat-row","",1,"clickable",3,
"click","mouseup"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),P(4," Needs attention "),F(5,"button",4),L("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),H(),O(7,JWa,3,1,"div",6),R(8,"async"),H()(),F(9,"div",7)(10,"button",8),I(11,"mat-icon",9),H(),F(12,"mat-menu",null,10)(14,"p",11),P(15,"WIP"),H()()()(),O(16,kXa,44,5,"div",12),R(17,"async"),H());if(a&2){var c=Kf(13);xf("collapsed",b.isCollapsed());z(7);E("ngIf",S(8,5,b.areAllTasksLoaded$)&&0<
b.allAlerts.length);z(3);E("matMenuTriggerFor",c);z(6);E("ngIf",S(17,7,b.areAllTasksLoaded$))}},dependencies:[Rw,HB,QA,RA,dD,cD,JM,BM,FM,CM,AM,GM,DM,EM,HM,IM,$O,xV,CV,BV,FL,wJ,Xw],styles:[".mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}[_nghost-%COMP%]{display:block}.card-controls[_ngcontent-%COMP%]{margin-top:-8px;margin-bottom:-8px}.small-button-icon[_ngcontent-%COMP%]{font-size:1.125rem}.alert-count-badge[_ngcontent-%COMP%]{display:none;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}.product-icon[_ngcontent-%COMP%]{margin-top:4px;height:24px;width:24px}.product-icon.check_circle_filled[_ngcontent-%COMP%]{color:#1e8e3e}.product-icon.drive_document[_ngcontent-%COMP%]{color:#1967d2}.product-icon.drive_spreadsheet[_ngcontent-%COMP%]{color:#1e8e3e}.product-icon.drive_presentation[_ngcontent-%COMP%]{color:#f9ab00}.product-icon.video_youtube[_ngcontent-%COMP%]{color:#d93025}.main-content[_ngcontent-%COMP%]   button.source-filter[_ngcontent-%COMP%]{background-color:#e8f0fe;background-color:var(--selected-bg-muted);border-radius:8px;height:24px;line-height:24px;padding:0 8px 0 12px;margin:6px 0}.mat-column-dismiss[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%]{color:#fff;color:var(--background);padding-top:6px}.main-content[_ngcontent-%COMP%]   .mat-row[_ngcontent-%COMP%]:hover   .mat-column-dismiss[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}.mvp-my-tasks-menu[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--input-field-bg)}.mvp-my-tasks-menu[_ngcontent-%COMP%]   .mvp-source-select[_ngcontent-%COMP%]{padding:0 .75rem;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:.75rem;overflow:hidden}.alert-description[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.mat-column-action[_ngcontent-%COMP%], .mat-column-signal[_ngcontent-%COMP%]{min-width:125px}.priority-badge-P2[_ngcontent-%COMP%]{font-weight:500}td[_ngcontent-%COMP%]   a.action-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}td[_ngcontent-%COMP%]   a.action-button[_ngcontent-%COMP%]:active, td[_ngcontent-%COMP%]   a.action-button[_ngcontent-%COMP%]:focus, td[_ngcontent-%COMP%]   a.action-button[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link)}.mat-header-cell.mat-column-action[_ngcontent-%COMP%]{padding-left:12px}.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}.signal-chip.most-urgent[_ngcontent-%COMP%]{border:1px solid;border-color:#d42521;border-color:var(--red-text);color:#d42521;color:var(--red-text)}.signal-chip.less-urgent[_ngcontent-%COMP%]{border:1px solid;border-color:#9334e6;border-color:var(--purple-text);color:#9334e6;color:var(--purple-text)}.mat-header-cell.mat-column-timestamp[_ngcontent-%COMP%]{line-height:38px}.sort-column-icon[_ngcontent-%COMP%]{font-size:1rem;line-height:38px;text-align:center}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .alert-count-badge[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.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)}.main-content[_ngcontent-%COMP%]   mat-chip-option[_ngcontent-%COMP%]{height:24px;line-height:18px}"]});var tXa=function(a){return{count:a}},iW=function(a,b,c,d,e,g){var h=this;this.activeSession=a;this.hackyPrefs=b;this.issuePermissionService=c;this.issueRelationshipsFridge=d;this.projectSuggestService=e;this.issueFridge=g;this.SECTION_SLUG="my-projects-tree-table";this.isNonPublicSession=this.activeSession.isNonPublicSession();this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.projectIds$=this.issueRelationshipsFridge.watch(this.hackyPrefs.prefs.id).pipe(C(function(l){var q;return null!=
(q=null==l?void 0:l.relatedChildren.map(function(v){return v.targetIssueId}))?q:[]}));this.unarchivedProjectsCount$=this.projectIds$.pipe(C(function(l){return l.length}));this.rowCreated$=new D.Subject;this.showSuggestedProjects=!1;this.suggestLimit=4;this.suggestedProjects$=(0,D.combineLatest)([hfc(this.projectSuggestService),cec(this.issueRelationshipsFridge,this.hackyPrefs.prefs.id,2)]).pipe(C(function(l){l=k(l);var q=l.next().value,v=l.next().value.results.map(function(x){return x.issueId});return q.filter(function(x){return!v.includes(x)})}),
$e(this.issueFridge.watchSet));this.modifyMenuItems=function(l,q){if(l.ancestorChain.parentNodeId===h.hackyPrefs.prefs.id){if(l=q.find(function(v){return"Unlink from parent"===v.label}))l.label="Remove project";if(l=q.find(function(v){return"Archive"===v.label}))l.label="Archive project";if(l=q.find(function(v){return"Create sibling"===v.label}))l.label="Create project"}return q}};iW.prototype.addChild=function(){this.rowCreated$.next();var a;null==(a=this.table)||a.addExistingChild()};
iW.prototype.createChild=function(){this.rowCreated$.next();var a;null==(a=this.table)||a.createChildIssue()};var oXa=function(a,b){a.hackyPrefs.prefs.projectFilters=b;a.hackyPrefs.save(a.hackyPrefs.prefs)};iW.prototype.addProject=function(a){this.hackyPrefs.prefs.id&&this.issueRelationshipsFridge.assignParentToOneIssue(this.hackyPrefs.prefs.id,a)};iW.\u0275fac=function(a){return new (a||iW)(B(Bs),B(rJ),B(CK),B(QI),B(vJ),B(JI))};
iW.\u0275cmp=Oc({type:iW,selectors:[["my-projects"]],viewQuery:function(a,b){a&1&&bg(DQ,5);if(a&2){var c;ag(c=dg())&&(b.table=c.first)}},decls:10,vars:5,consts:[[1,"table-header","child-issue-header","flex-kids-x","align-items-center"],[1,"margin-s-y","flex-kids-x","align-items-center"],["role","status","tabindex","0","matTooltip","Display different projects and each project can be further broken down into smaller tasks.",1,"b-chip","nowrap","squared","xs","keep-focus-ring"],["svgIcon","account_tree_24px",
1,"icon-xxs"],[4,"ngTemplateOutlet"],[3,"collapsed",4,"ngIf"],["class","highlighted-left padded-s-left",4,"ngIf"],["addProjects",""],["saveExpansionAtKey","my-projects",3,"rootIssueId","modifyMenuItems","filters"],["table",""],[4,"ngIf"],[1,"muted"],["href","#","class","keep-focus-ring",3,"click",4,"ngIf"],["class","muted",4,"ngIf"],["href","#",1,"keep-focus-ring",3,"click"],[1,"highlighted-left","padded-s-left"],[1,"margin-s-y"],[4,"ngIf","ngIfElse"],["loading",""],[1,"suggested"],[4,"ngFor","ngForOf"],
["title","Show more projects",3,"onAction",4,"ngIf"],["dismissIcon","add","dismissTooltip","Add project",3,"issue","onlyTitle","onDismiss",4,"ngIf"],["dismissIcon","add","dismissTooltip","Add project",3,"issue","onlyTitle","onDismiss"],["href","http://go/wtdm-home#parent-child-relationship","target","_blank"],["svgIcon","pop-out",1,"icon-xs"],["title","Show more projects",3,"onAction"],["class","add","size","small","title","Create an issue as a project.",3,"disabled","onAction",4,"ngIf"],["size",
"small","title","Add an existing issue as a project.",1,"add",3,"disabled","onAction"],["size","small","title","Show project suggestions",1,"add",3,"disabled","onAction"],["size","small","title","Create an issue as a project.",1,"add",3,"disabled","onAction"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"h2",1)(2,"div",2),I(3,"mat-icon",3),H(),P(4," My projects "),H(),O(5,lXa,1,0,"ng-container",4),H(),O(6,vXa,8,15,"section",5),O(7,CXa,7,4,"div",6),O(8,EXa,7,8,"ng-template",null,7,gg));if(a&2){var c=
Kf(9);xf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(5);E("ngTemplateOutlet",c);z(1);E("ngIf",b.hackyPrefs.prefs.id);z(1);E("ngIf",b.showSuggestedProjects)}},dependencies:[Qw,Rw,Ww,vQ,HB,lD,DQ,AL,WM,Xw],styles:['[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     h4 button{margin:-8px 0}[_nghost-%COMP%]     h4 button.gmat-button.mat-stroked-button.small{line-height:21px}.table-header[_ngcontent-%COMP%]{margin-top:0;margin-bottom:4px}.status[_ngcontent-%COMP%]   b-spinner[_ngcontent-%COMP%]{margin-top:4px}.status[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-1px}b-button.add[_ngcontent-%COMP%]{margin-left:16px}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.table-header.collapsed[_ngcontent-%COMP%]{text-decoration:underline}.table-header.collapsed[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin:0}.table-header.collapsed[_ngcontent-%COMP%]   b-button[_ngcontent-%COMP%], .table-header.collapsed[_ngcontent-%COMP%]   .b-chip[_ngcontent-%COMP%]{display:none}.table-header.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid rgba(0,0,0,0);border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}.suggested[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px}/*# sourceMappingURL=my_projects.css.map */']});var xFc=function(){return[]},yFc=ao.EXPERIMENTAL_HOMEPAGE,jW=function(a,b,c,d,e,g){rF.call(this);var h=this;this.hackyPrefs=a;this.projectPicker=b;this.analytics=c;this.hotlistPicker=d;this.savedSearchPicker=e;this.hotlistSuggest=g;this.SECTION_SLUG="my-projects-as-cards";this.IMMERSED=nac[1];this.SPACE_EMPTY_STATE=jkc;this.log=console.log.bind(console);this.extractHotlistId=Pl;this.inferEntityType=Sl;this.extractSavedSearchId=Xva;this.suggestedHotlists$=this.hotlistSuggest.suggestedHotlists$;this.addProject=
function(l){null!=l&&Kn(h.hackyPrefs,l)};a=sp(this.hackyPrefs).length;this.analytics.trackEvent(yFc,"display","selected-projects-"+a,a)};T(jW,rF);jW.\u0275dir=rF.\u0275dir;jW.prototype.ngOnInit=function(){var a=this;1===sp(this.hackyPrefs).length&&this.suggestedHotlists$.pipe(Oe()).subscribe(function(b){var c=sp(a.hackyPrefs);if("hotlist"===Sl(c[0])){var d=Pl(c[0]);Array.from(b)[0][0].toString()===d&&1===(a.hackyPrefs.configVersionNumber||0)&&(a.hackyPrefs.prefs.collapsed[c[0]]=!0,a.hackyPrefs.save(a.hackyPrefs.prefs))}})};
jW.prototype.onClickAdd=function(){this.projectPicker.open().then(this.addProject)};jW.prototype.onClickAddHotlist=function(){var a=this,b,c,d,e,g,h,l;return pe(function(q){if(1==q.nextAddress)return q.yield(pCc(a.hotlistPicker,[]),2);b=q.yieldResult;e=null!=(d=null==(c=b)?void 0:c.added)?d:[];g=k(e.map(Ql));for(h=g.next();!h.done;h=g.next())l=h.value,Kn(a.hackyPrefs,l);ue(q)})};
jW.prototype.onClickAddSavedSearch=function(){var a=this;this.savedSearchPicker.open().then(function(b){if(b){b=k(b);for(var c=b.next();!c.done;c=b.next())Kn(a.hackyPrefs,Rl(c.value))}})};sh.Object.defineProperties(jW.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});jW.\u0275fac=function(a){return new (a||jW)(B(rJ),B(ET),B(EI),B(AU),B(gV),B(kJ))};
jW.\u0275cmp=Oc({type:jW,selectors:[["my-projects-as-cards"]],features:[kf],decls:9,vars:8,consts:[["mat-icon-button","","title","Add a project","aria-label","Add a project","data-project-add","true",1,"gmat-button","margin-left",3,"click"],["svgIcon","add","color","primary"],[1,"card-container"],[4,"ngFor","ngForOf"],[4,"ngIf"],["class","flex-kids-x gap margin-top",4,"ngIf"],[3,"ngSwitch"],[3,"assignedOnly",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"assignedOnly"],[3,"hotlistId",
4,"ngIf"],[3,"hotlistId"],[3,"issueId",4,"ngSwitchCase"],[3,"issueId",4,"ngSwitchDefault"],[3,"issueId"],[3,"savedSearchId",4,"ngIf"],[3,"savedSearchId"],[1,"muted"],["href","javascript:void(0);",1,"color-bad-text",3,"click"],["href","http://go/b-learn-project-add"],[1,"empty-state"],["aria-hidden","true","alt","",3,"src"],["mat-button","","title","Add a project",1,"gmat-button","margin-left",3,"click"],["mat-icon-button","","href","http://go/b-learn-project-view","target","_blank","title","Learn more",
"aria-label","Learn more",1,"small"],["svgIcon","info",1,"icon-s"],[1,"flex-kids-x","gap","margin-top"],["mat-button","","title","Add a parent/container/tracking issue","data-project-add","true",1,"mega-add","gmat-button","carded",3,"click"],["svgIcon","add"],["mat-button","","data-project-add","true",1,"mega-add","gmat-button","carded",3,"click"]],template:function(a,b){a&1&&(F(0,"h2"),P(1," My projects "),F(2,"button",0),L("click",function(){return b.onClickAdd()}),I(3,"mat-icon",1),H()(),F(4,"section",
2),O(5,SXa,9,7,"ng-container",3),O(6,TXa,11,1,"ng-container",4),O(7,UXa,6,0,"ng-container",4),H(),O(8,VXa,8,0,"aside",5));if(a&2){var c;z(5);E("ngForOf",b.prefs.pinned||Qf(4,xFc));z(1);E("ngIf",0===(b.prefs.pinned||Qf(5,xFc)).length);z(1);E("ngIf",0===(b.prefs.pinned||Qf(6,xFc)).length);z(1);E("ngIf",0<(null!==(c=b.prefs.pinned)&&void 0!==c?c:Qf(7,xFc)).length)}},dependencies:[Qw,Rw,Sw,Tw,Uw,HB,QA,RA,BT,$T,YM,hU,dU,ZM,CT],styles:["[_nghost-%COMP%]{display:block}img[_ngcontent-%COMP%]{max-width:100%}.empty-state[_ngcontent-%COMP%]{text-align:center}.empty-state[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-bottom:16px;max-width:150px;opacity:.8;-webkit-filter:saturate(.8);filter:saturate(.8)}button.mega-add[_ngcontent-%COMP%], button.mega-add.gmat-button.mat-button[_ngcontent-%COMP%]:not([disabled]){background-color:#fff;background-color:var(--base-bg);min-height:40px;padding:0 16px;-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start}[_nghost-%COMP%]     issue-as-project-card expandable-issues-table{max-height:60vh;overflow-y:auto}.card-container[_ngcontent-%COMP%]{-webkit-column-count:1;-moz-column-count:1;column-count:1;-webkit-column-gap:24px;-moz-column-gap:24px;column-gap:24px;-webkit-column-fill:balance;-moz-column-fill:balance;column-fill:balance}.card-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{-webkit-column-break-inside:avoid;break-inside:avoid-column;margin-bottom:24px}[_nghost-%COMP%]{container-type:inline-size}@container (min-width: 1200px){.card-container[_ngcontent-%COMP%]{-webkit-column-count:2;-moz-column-count:2;column-count:2}}@container (min-width: 1800px){.card-container[_ngcontent-%COMP%]{-webkit-column-count:3;-moz-column-count:3;column-count:3}}@container (min-width: 2400px){.card-container[_ngcontent-%COMP%]{-webkit-column-count:4;-moz-column-count:4;column-count:4}}\n/*# sourceMappingURL=my_projects_as_cards.css.map */"]});var zFc=function(){return[]},AFc=ao.EXPERIMENTAL_HOMEPAGE,kW=function(a,b,c,d,e,g,h,l){rF.call(this);var q=this;this.hackyPrefs=a;this.projectPicker=b;this.analytics=c;this.hotlistPicker=d;this.savedSearchPicker=e;this.issueFridge=g;this.hotlistFridge=h;this.savedSearchFridge=l;this.SECTION_SLUG="my-projects-as-tabs";this.IMMERSED=nac[1];this.SPACE_EMPTY_STATE=jkc;this.log=console.log.bind(console);this.extractHotlistId=Pl;this.inferEntityType=Sl;this.extractSavedSearchId=Xva;this.extractIssueId=
Yva;this.addProject=function(v){null!=v&&Kn(q.hackyPrefs,v)};a=sp(this.hackyPrefs).length;this.analytics.trackEvent(AFc,"display","selected-projects-"+a,a)};T(kW,rF);kW.\u0275dir=rF.\u0275dir;
var fYa=function(a,b){function c(v,x){var A,G,M,Q;return null==v?void 0:null==(A=v.memory)?void 0:null==(G=A.cache)?void 0:null==(M=G.get)?void 0:null==(Q=M.call(G,x))?void 0:Q.data}switch(Sl(b)){case "assigned-to-me":return"Assigned to me";case "recent-stuff-i-follow":return"Recent Issues";case "plain-id":var d,e;return null==(d=c(a.issueFridge,b))?void 0:null==(e=d.snapshot[0])?void 0:e.title;case "issue":b=Yva(b);var g,h;return null==(g=c(a.issueFridge,b))?void 0:null==(h=g.snapshot[0])?void 0:
h.title;case "hotlist":b=Pl(b);var l;return null==(l=c(a.hotlistFridge,b))?void 0:l.name;case "savedsearch":b=Xva(b);var q;return null==(q=c(a.savedSearchFridge,b))?void 0:q.name;default:console.warn("unknown reference type",b)}};f=kW.prototype;f.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["my-projects-as-tabs"]};f.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("my-projects-as-tabs")};f.onClickAdd=function(){this.projectPicker.open().then(this.addProject)};
f.onClickAddHotlist=function(){var a=this,b,c,d,e,g,h,l;return pe(function(q){if(1==q.nextAddress)return q.yield(pCc(a.hotlistPicker,[]),2);b=q.yieldResult;e=null!=(d=null==(c=b)?void 0:c.added)?d:[];g=k(e.map(Ql));for(h=g.next();!h.done;h=g.next())l=h.value,Kn(a.hackyPrefs,l);ue(q)})};f.onClickAddSavedSearch=function(){var a=this;this.savedSearchPicker.open().then(function(b){if(b){b=k(b);for(var c=b.next();!c.done;c=b.next())Kn(a.hackyPrefs,Rl(c.value))}})};
sh.Object.defineProperties(kW.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});kW.\u0275fac=function(a){return new (a||kW)(B(rJ),B(ET),B(EI),B(AU),B(gV),B(JI),B(pI),B(SI))};
kW.\u0275cmp=Oc({type:kW,selectors:[["my-projects-as-tabs"]],features:[kf],decls:19,vars:7,consts:[[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"header-left"],[1,"type-l","line-clamp-3"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[1,"margin-left-auto","flex-kids-x","align-items-center","card-controls"],["mat-icon-button","","title","Add a project","aria-label","Add a project","data-project-add","true",
1,"gmat-button","margin-left",3,"click"],["svgIcon","add","color","primary"],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],["menu","matMenu"],[1,"muted"],["gmat-tabs","",1,"no-cards-inside","main-content","margin-top",3,"selectedIndex","selectedIndexChange"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngSwitch"],[3,"label"],[3,"assignedOnly",4,"ngSwitchCase"],[4,"ngSwitchCase"],
[4,"ngSwitchDefault"],[3,"assignedOnly"],[3,"hotlistId","neverCollapse",4,"ngIf"],[3,"hotlistId","neverCollapse"],[3,"issueId","neverCollapse"],[3,"issueId","neverCollapse",4,"ngIf"],[3,"savedSearchId","neverCollapse",4,"ngIf"],[3,"savedSearchId","neverCollapse"],["href","javascript:void(0);",1,"color-bad-text",3,"click"],["href","http://go/b-learn-project-add"],["class","flex-kids-x gap bottom-buttons",4,"ngIf"],[1,"flex-kids-x","gap","bottom-buttons"],["mat-button","","title","Add a parent/container/tracking issue",
"data-project-add","true",1,"mega-add","gmat-button","carded",3,"click"],["svgIcon","add"],["mat-button","","data-project-add","true",1,"mega-add","gmat-button","carded",3,"click"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),P(4," My projects "),F(5,"button",4),L("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),H()()(),F(7,"div",6)(8,"button",7),L("click",function(){return b.onClickAdd()}),I(9,"mat-icon",8),H(),F(10,"button",9),I(11,"mat-icon",
10),H(),F(12,"mat-menu",null,11)(14,"p",12),P(15,"WIP"),H()()()(),F(16,"mat-tab-group",13),L("selectedIndexChange",function(d){return tp(b.hackyPrefs,{chosenTabForWork:d})}),O(17,gYa,10,8,"ng-container",14),H()(),O(18,iYa,2,1,"ng-container",15));if(a&2){var c=Kf(13);xf("collapsed",b.isCollapsed());z(10);E("matMenuTriggerFor",c);z(6);E("selectedIndex",b.prefs.chosenTabForWork);z(1);E("ngForOf",b.prefs.pinned||Qf(6,zFc));z(1);E("ngIf",b.prefs.pinned)}},dependencies:[Qw,Rw,Sw,Tw,Uw,HB,QA,RN,QN,BT,YM,
hU,dU,WN,dD,cD],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     .no-cards-inside .carded{border:none;padding-left:0}.bottom-buttons[_ngcontent-%COMP%]{margin-top:16px}.bottom-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--surface-default)}.card-controls[_ngcontent-%COMP%]{margin-top:-8px;margin-bottom:-8px}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_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[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}\n/*# sourceMappingURL=my_projects_as_tabs.css.map */"]});var lW=function(a,b){this.hackyPrefs=a;this.queryIssues=b;this.DEFAULT_COLUMNS=rac;this.assignedIssues$=Hec(this.queryIssues);this.assignedIds$=this.assignedIssues$.pipe(C(function(c){return c.map(function(d){return d.issueId})}))};lW.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed.MY_TASKS_AREA};lW.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("MY_TASKS_AREA")};sh.Object.defineProperties(lW.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});
lW.\u0275fac=function(a){return new (a||lW)(B(rJ),B(jJ))};
lW.\u0275cmp=Oc({type:lW,selectors:[["my-tasks-area"]],decls:28,vars:11,consts:[[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"header-left"],[1,"type-l","line-clamp-3"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[1,"margin-left-auto","flex-kids-x","align-items-center","card-controls"],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],
["svgIcon","more-settings-vertical",1,"icon-m"],["menu","matMenu"],[1,"muted"],["gmat-tabs","",1,"main-content","margin-top"],["label","Things I own"],[4,"ngIf","ngIfElse"],["loading",""],["label","Collaborating on"],["label","Vested in"],[1,"margin-top"],["href","/issues?q=assignee:me status:open modified:30d",1,"subtle-link"],[1,"margin-top",3,"issueIds","displayedColumns","assigneeMode"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),P(4," My tasks "),F(5,"button",
4),L("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),H()()(),F(7,"div",6)(8,"button",7),I(9,"mat-icon",8),H(),F(10,"mat-menu",null,9)(12,"p",10),P(13,"WIP"),H()()()(),F(14,"mat-tab-group",11)(15,"mat-tab",12),O(16,jYa,2,3,"ng-container",13),R(17,"slice"),R(18,"async"),O(19,kYa,1,0,"ng-template",null,14,gg),H(),F(21,"mat-tab",15),P(22,"WIP. bar"),H(),F(23,"mat-tab",16),P(24,"WIP. baz"),H()(),F(25,"footer",17)(26,"a",18),P(27,"View all"),H()()());if(a&2){var c=Kf(11),d=Kf(20);xf("collapsed",
b.isCollapsed());z(8);E("matMenuTriggerFor",c);z(8);E("ngIf",Vf(17,5,S(18,9,b.assignedIds$),0,15))("ngIfElse",d)}},dependencies:[Rw,HB,KM,QA,RN,QN,WM,dD,cD,WN,Xw,dx],styles:["[_nghost-%COMP%]{display:block}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_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[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.card-controls[_ngcontent-%COMP%]{margin-top:-8px;margin-bottom:-8px}\n/*# sourceMappingURL=my_tasks_area.css.map */"]});var BFc="NEAR_SLO MENTIONED UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" "),mW=function(a,b,c,d,e){rF.call(this);this.needsAttentionApi=a;this.snackbar=b;this.hackyPrefs=c;this.dateFormatter=d;this.cdr=e;this.SECTION_SLUG="needs-attention";this.needsAttentionIssues=[];this.issueToSignalsMap=new Map;this.dismissInProgress={};a={};this.SIGNAL_MAPPING=(a.NEAR_SLO={color:"orange",text:"Near SLO",icon:"timelapse_24px",className:"near-slo"},a.MENTIONED={color:"pink",
text:"Mentioned me",icon:"alternate_email_24px",className:"mentioned-me"},a.UNBLOCKED={color:"cyan",text:"Blockers closed",icon:"slo-status-no-data",className:"unblocked"},a.NEEDS_REPORTER_INPUT={color:"purple",text:"Need reporter input",icon:"rate_review_24px",className:"needs-reporter-input"},a.ASSIGNED={color:"",className:"",text:"",icon:""},a.REPLIED_TO_MENTION={color:"",className:"",text:"",icon:""},a.NEWLY_BLOCKING={color:"",className:"",text:"",icon:""},a.SIGNAL_TYPE_UNKNOWN={color:"",text:"",
icon:"",className:""},a);this.ALL_SIGNAL_TYPES=Object.values(N6b).filter(function(g){return"SIGNAL_TYPE_UNKNOWN"!==g&&"ASSIGNED"!==g&&"REPLIED_TO_MENTION"!==g&&"NEWLY_BLOCKING"!==g});this.selectedSignals=[].concat(cd(this.ALL_SIGNAL_TYPES));a={};this.signalCounts=(a.NEAR_SLO=0,a.MENTIONED=0,a.UNBLOCKED=0,a.NEEDS_REPORTER_INPUT=0,a.ASSIGNED=0,a.REPLIED_TO_MENTION=0,a.NEWLY_BLOCKING=0,a.SIGNAL_TYPE_UNKNOWN=0,a)};T(mW,rF);mW.\u0275dir=rF.\u0275dir;
mW.prototype.ngOnInit=function(){var a=this;CFc(this);this.destroyed$.pipe(Oe()).subscribe(function(){var b;null==(b=a.snackbarRef)||b.dismiss()})};
var CFc=function(a){var b={};a.signalCounts=(b.NEAR_SLO=0,b.MENTIONED=0,b.UNBLOCKED=0,b.NEEDS_REPORTER_INPUT=0,b.ASSIGNED=0,b.REPLIED_TO_MENTION=0,b.NEWLY_BLOCKING=0,b.SIGNAL_TYPE_UNKNOWN=0,b);a.needsAttentionApi.listIssues(void 0,void 0,BFc).then(function(c){c=k(c.issuesWithSignals);for(var d=c.next();!d.done;d=c.next())d=d.value,a.needsAttentionIssues.push(d.issue),a.issueToSignalsMap.set(d.issue.issueId,d.signals),d.signals.forEach(function(e){a.signalCounts[e.signalType]++});a.cdr.detectChanges()})},
DFc=function(a){return a.needsAttentionIssues.filter(function(b){var c,d=(null!=(c=a.issueToSignalsMap.get(b.issueId))?c:[]).some(function(g){return a.selectedSignals.includes(g.signalType)}),e;return(null==(e=a.lastDismissedIssue)?void 0:e.issueId)!==b.issueId&&d})};
mW.prototype.dismissIssue=function(a){var b=this;this.dismissInProgress[a]=!0;$Dc(this.needsAttentionApi,[a],!0).then(function(){for(var c=0;c<b.needsAttentionIssues.length;c++)if(b.needsAttentionIssues[c].issueId===a){b.lastDismissedIssue=b.needsAttentionIssues[c];b.lastDismissedIssueIndex=c;b.needsAttentionIssues.splice(c,1);break}b.cdr.detectChanges();b.dismissInProgress[a]=!1;b.snackbarRef=b.snackbar.open({message:"Issue dismissed",actionLabel:"Undo"});b.snackbarRef._afterDismissed.pipe(Oe()).subscribe(function(d){d.dismissedByAction&&
EFc(b,a)})})};var EFc=function(a,b){$Dc(a.needsAttentionApi,[b],!1).then(function(){a.needsAttentionIssues.splice(a.lastDismissedIssueIndex,0,a.lastDismissedIssue);a.cdr.detectChanges();a.snackbar.open({message:"Issue un-dismissed"})})};mW.prototype.selectAllSignals=function(){this.selectedSignals=[].concat(cd(this.ALL_SIGNAL_TYPES))};mW.prototype.toggleSignal=function(a){var b=this.selectedSignals.indexOf(a);-1===b?this.selectedSignals.push(a):this.selectedSignals.splice(b,1)};
var pYa=function(a,b){return(a.issueToSignalsMap.get(b)||[]).find(function(c){return a.selectedSignals.includes(c.signalType)})||null};
mW.prototype.getSignalTypeTooltip=function(a){a=pYa(this,a);if(!a)return"";var b,c=(null==(b=a.timestamp)?0:b.seconds)?this.dateFormatter.format("MMM dd",void 0,new Date(1E3*a.timestamp.seconds)):null;switch(a.signalType){case "NEAR_SLO":return c?"SLO violation occurs on "+c:"This issue is near or past an SLO deadline";case "MENTIONED":return c?"You were mentioned on "+c:"You were mentioned on this issue recently";case "UNBLOCKED":return c?"The last blocking issue was closed on "+c:"The last blocking issue was closed recently";
case "NEEDS_REPORTER_INPUT":return c?"Issue was assigned back to reporter (you) on "+c:"Issue was assigned back to reporter (you) recently";default:return"This issue requires your attention"}};
var lYa=function(a){switch(a){case "NEAR_SLO":return"Issues which have less than 20% of SLO time remaining";case "MENTIONED":return"Someone mentioned you in a comment";case "NEEDS_REPORTER_INPUT":return"Issue is assigned back to reporter (you) for more context";case "UNBLOCKED":return"All blocking issues are closed";default:return""}};mW.\u0275fac=function(a){return new (a||mW)(B(NV),B(WG),B(rJ),B(EL),B(AI,2))};
mW.\u0275cmp=Oc({type:mW,selectors:[["needs-attention-widget"]],features:[Of([AI]),kf],decls:10,vars:11,consts:[[1,"muted"],[1,"padded-left","signal-chips","hidden"],[1,"chippy","rounded","margin-s-right","select-all-signals",3,"click"],[4,"ngFor","ngForOf"],[1,"issues","padded-s-bottom"],["matTooltipShowDelay","750",3,"matTooltip","selected","class","click",4,"ngIf"],["matTooltipShowDelay","750",3,"matTooltip","click"],[3,"svgIcon"],[4,"ngIf"],["dismissIcon","close","dismissTooltip","Dismiss issue",
3,"issue","moreInfoIconSvg","moreInfoMessage","moreInfoAccentColor","disableDismiss","onDismiss"]],template:function(a,b){a&1&&(F(0,"h2"),P(1," Needs attention "),F(2,"span",0),P(3),H()(),F(4,"section",1)(5,"span",2),L("click",function(){return b.selectAllSignals()}),P(6," All "),H(),O(7,nYa,2,1,"ng-container",3),H(),F(8,"section",4),O(9,qYa,2,1,"ng-container",3),H());a&2&&(xf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(3),Lf("(",b.needsAttentionIssues.length,")"),z(1),xf("collapsed",
b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(1),xf("selected",b.selectedSignals.length===b.ALL_SIGNAL_TYPES.length),z(2),E("ngForOf",b.ALL_SIGNAL_TYPES),z(1),xf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(1),E("ngForOf",DFc(b)))},dependencies:[AL,Qw,Rw,HB,lD],styles:['[_nghost-%COMP%]{display:block}.signal-chips[_ngcontent-%COMP%]   .chippy[_ngcontent-%COMP%]{cursor:pointer;padding:0 12px 0 4px}.signal-chips[_ngcontent-%COMP%]   .chippy.needs-reporter-input[_ngcontent-%COMP%]{padding-left:8px}.signal-chips[_ngcontent-%COMP%]   .chippy.select-all-signals[_ngcontent-%COMP%]{padding:0 10px 0 8px}.select-all-signals.selected[_ngcontent-%COMP%]{color:#185abc;color:var(--selected-text);box-shadow:inset 0 0 0 1px #185abc;box-shadow:inset 0 0 0 1px var(--selected-text);background-color:#d2e3fc;background-color:var(--selected-bg)}.empty-state-img[_ngcontent-%COMP%]{max-width:320px}.chippy.selected[_ngcontent-%COMP%]{font-weight:500}.chippy.selected.near-slo[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);box-shadow:inset 0 0 0 1px #bd4800;box-shadow:inset 0 0 0 1px var(--orange-text);background-color:#fff3e9;background-color:var(--orange-bg)}.chippy.selected.mentioned-me[_ngcontent-%COMP%]{color:#d01884;color:var(--pink-text);box-shadow:inset 0 0 0 1px #d01884;box-shadow:inset 0 0 0 1px var(--pink-text);background-color:#fff2f9;background-color:var(--pink-bg)}.chippy.selected.unblocked[_ngcontent-%COMP%]{color:#34989d;color:var(--cyan-text);box-shadow:inset 0 0 0 1px #34989d;box-shadow:inset 0 0 0 1px var(--cyan-text);background-color:#ebfcfe;background-color:var(--cyan-bg)}.chippy.selected.needs-reporter-input[_ngcontent-%COMP%]{color:#9334e6;color:var(--purple-text);box-shadow:inset 0 0 0 1px #9334e6;box-shadow:inset 0 0 0 1px var(--purple-text);background-color:#f9f3ff;background-color:var(--purple-bg)}.issues[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;max-height:450px;overflow-y:scroll}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}h4.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:8px 0;border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:16px;background-color:#fff;background-color:var(--surface-default)}h4.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}\n/*# sourceMappingURL=needs_attention.css.map */'],
changeDetection:0});var nW=function(a){this.dateFormatter=a;this.SIGNAL_MAPPING=new Map([["NEAR_SLO",{color:"orange",text:"Near SLO",icon:"timelapse_24px",className:"near-slo"}],["MENTIONED",{color:"pink",text:"Mentioned me",icon:"alternate_email_24px",className:"mentioned-me"}],["UNBLOCKED",{color:"cyan",text:"Blockers closed",icon:"slo-status-no-data",className:"unblocked"}],["NEEDS_REPORTER_INPUT",{color:"purple",text:"Need reporter input",icon:"rate_review_24px",className:"needs-reporter-input"}],["ASSIGNED",{color:"",
text:"",icon:"",className:""}],["REPLIED_TO_MENTION",{color:"",text:"",icon:"",className:""}],["NEWLY_BLOCKING",{color:"",text:"",icon:"",className:""}],["SIGNAL_TYPE_UNKNOWN",{color:"",text:"",icon:"",className:""}]])};
nW.prototype.getSignalTypeTooltip=function(){var a,b=(null==(a=this.signal.timestamp)?0:a.seconds)?this.dateFormatter.format("MMM dd",void 0,new Date(1E3*this.signal.timestamp.seconds)):null;switch(this.signal.signalType){case "NEAR_SLO":return b?"SLO violation occurs on "+b:"This issue is near or past an SLO deadline";case "MENTIONED":return b?"You were mentioned on "+b:"You were mentioned on this issue recently";case "UNBLOCKED":return b?"The last blocking issue was closed on "+b:"The last blocking issue was closed recently";
case "NEEDS_REPORTER_INPUT":return b?"Issue was assigned back to reporter (you) on "+b:"Issue was assigned back to reporter (you) recently";default:return"This issue requires your attention"}};nW.\u0275fac=function(a){return new (a||nW)(B(EL))};
nW.\u0275cmp=Oc({type:nW,selectors:[["b-signal-chip"]],inputs:{signal:"signal"},decls:1,vars:1,consts:[[3,"matTooltip","class",4,"ngIf"],[3,"matTooltip"],[3,"svgIcon"]],template:function(a,b){a&1&&O(0,rYa,2,5,"span",0);a&2&&E("ngIf",b.SIGNAL_MAPPING.get(b.signal.signalType))},dependencies:[Rw,HB,lD],styles:[".chippy.near-slo[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);box-shadow:inset 0 0 0 1px #bd4800;box-shadow:inset 0 0 0 1px var(--orange-text);background-color:#fff3e9;background-color:var(--orange-bg)}.chippy.mentioned-me[_ngcontent-%COMP%]{color:#d01884;color:var(--pink-text);box-shadow:inset 0 0 0 1px #d01884;box-shadow:inset 0 0 0 1px var(--pink-text);background-color:#fff2f9;background-color:var(--pink-bg)}.chippy.unblocked[_ngcontent-%COMP%]{color:#34989d;color:var(--cyan-text);box-shadow:inset 0 0 0 1px #34989d;box-shadow:inset 0 0 0 1px var(--cyan-text);background-color:#ebfcfe;background-color:var(--cyan-bg)}.chippy.needs-reporter-input[_ngcontent-%COMP%]{color:#9334e6;color:var(--purple-text);box-shadow:inset 0 0 0 1px #9334e6;box-shadow:inset 0 0 0 1px var(--purple-text);background-color:#f9f3ff;background-color:var(--purple-bg)}\n/*# sourceMappingURL=signal_chip.css.map */"]});var oW=function(a,b,c,d,e,g,h){mW.call(this,a,b,c,d,h);this.needsAttentionApi=a;this.snackbar=b;this.hackyPrefs=c;this.dateFormatter=d;this.domSafe=e;this.router=g;this.cdr=h;this.SECTION_SLUG="needs-attention-table";this.columnsToDisplay=["alert","title","priority","action"];this.customColumns=["alert","action"]};T(oW,mW);oW.\u0275dir=mW.\u0275dir;oW.prototype.getIssueIdsToDisplay=function(){return DFc(this).map(function(a){return a.issueId})};
oW.prototype.navigateToIssue=function(a,b,c){"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=em(c.issueId),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Zn(this.domSafe,b):ls(this.router,b))};oW.\u0275fac=function(a){return new (a||oW)(B(NV),B(WG),B(rJ),B(EL),B(vL),B(IH),B(AI,2))};
oW.\u0275cmp=Oc({type:oW,selectors:[["needs-attention-table"]],features:[Of([AI]),kf],decls:9,vars:5,consts:[[1,"flex-kids-x","justify-space-between"],[1,"muted","type-s"],[1,"carded","bg-main"],[3,"collapsed","issueIds","displayedColumns","customColumns",4,"ngIf","ngIfElse"],["emptyState",""],[3,"issueIds","displayedColumns","customColumns"],[4,"forViewCell"],[4,"ngIf"],[3,"signal"],["mat-button","","color","primary",1,"small",3,"click"],[1,"muted"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"h2"),
P(2," Needs attention "),F(3,"span",1),P(4),H()()(),F(5,"div",2),O(6,wYa,3,7,"flat-issues-table",3),O(7,xYa,2,0,"ng-template",null,4,gg),H());if(a&2){var c=Kf(8);z(1);xf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(3);Lf("(",b.needsAttentionIssues.length,")");z(2);E("ngIf",0<b.getIssueIdsToDisplay().length)("ngIfElse",c)}},dependencies:[Rw,QA,KM,LM,nW],styles:["h2[_ngcontent-%COMP%] {\n      min-height: 40px; \n\n      line-height: 40px;\n    }"],changeDetection:0});var FFc=function(){return[]},GFc=function(a,b,c){this.hackyPrefs=a;this.issueFridge=b;this.refreshMonitor=c;this.SECTION_SLUG="pinned-issues";this.pinnedIssues$=this.hackyPrefs.prefs$.pipe(C(function(d){var e;return null!=(e=null==d?void 0:d.pinned)?e:[]}),$e(this.issueFridge.watchSet))};GFc.\u0275fac=function(a){return new (a||GFc)(B(rJ),B(JI),B(HI))};
GFc.\u0275cmp=Oc({type:GFc,selectors:[["pinned-issues"]],decls:10,vars:14,consts:[[1,"muted"],[1,"issues"],[4,"ngFor","ngForOf"],[4,"ngIf"],["dismissIcon","keep_off","dismissTooltip","Un-pin issue",3,"issue","onDismiss"]],template:function(a,b){a&1&&(F(0,"h4"),P(1," Pinned "),F(2,"span",0),P(3),R(4,"async"),H()(),F(5,"section",1),O(6,yYa,2,1,"ng-container",2),R(7,"async"),O(8,zYa,2,0,"ng-container",3),R(9,"async"),H());if(a&2){var c,d;xf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(3);
Lf(" (",(null!==(c=S(4,7,b.pinnedIssues$))&&void 0!==c?c:Qf(13,FFc)).length,")");z(2);xf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(1);E("ngForOf",S(7,9,b.pinnedIssues$));z(2);E("ngIf",0===(null==(d=S(9,11,b.pinnedIssues$))?null:d.length))}},dependencies:[AL,Qw,Rw,Xw],styles:['[_nghost-%COMP%]{display:block}.issues[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:scroll;max-height:225px;gap:8px}h4[_ngcontent-%COMP%]{margin-top:0}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}h4.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:8px 0;border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:16px;background-color:#fff;background-color:var(--surface-default)}h4.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]     .cdk-drag-placeholder{display:none}\n/*# sourceMappingURL=pinned_issues.css.map */']});var HFc=sdc("edited-ids"),IFc=qdc("edited-ids"),JFc=sdc("viewed-ids"),KFc=qdc("viewed-ids"),pW=function(a){var b=this;this.appEvents=a;this.stop$=new D.Subject;this.edited=new Map;this.viewed=new Map;this.addViewed=function(c){AYa(b.viewed,c);JFc(Array.from(b.viewed.keys()).join(","))};this.addEdited=function(c){AYa(b.edited,c);HFc(Array.from(b.edited.keys()).join(","))}};pW.\u0275fac=function(a){return new (a||pW)(t(eH))};pW.\u0275prov=yc({token:pW,factory:pW.\u0275fac,providedIn:"root"});var EYa=function(){return[]},qW=function(a,b,c,d,e,g){rF.call(this);this.activeSession=a;this.issueFridge=b;this.issueLru=c;this.hackyPrefs=d;this.matDialogService=e;this.refreshMonitor=g;this.SECTION_SLUG="recently-viewed-i-own";this.recentIds=[];this.columnsToDisplay="pin id title priority type status menu".split(" ");this.customColumns=["pin"];this.isRecentIssues=!0;this.currentUserEmailAddress=this.activeSession.getUserEmail();this.pinnedIssues$=this.hackyPrefs.prefs$.pipe(C(function(h){var l;
return null!=(l=null==h?void 0:h.pinned)?l:[]}),$e(this.issueFridge.watchSet))};T(qW,rF);qW.\u0275dir=rF.\u0275dir;
qW.prototype.getIssueIdsToDisplay=function(){var a=this,b=0,c=sp(this.hackyPrefs).length;b=0===c?20:3>c?10:5;this.recentIds=Array.from(this.issueLru.viewed.keys());c=Tl();5>this.recentIds.length||c&&c!==Ul?(c||(c=Ul),this.isRecentIssues=!1,this.issueIdsToDisplay$=this.issueFridge.watchMany({filter:"(assignee:"+c+" OR reporter:"+c+") t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process) modified:90d",pageSize:20,sort:"modified_time:desc"}).pipe(af(this.destroyed$),
C(function(d){return d.results}),C(function(d){return d.filter(function(e){return LFc(a,e)}).map(function(e){return e.issueId})}))):this.issueIdsToDisplay$=this.issueFridge.watchSet(this.recentIds).pipe(Oe(),af(this.destroyed$),C(function(d){return d.filter(function(e){return LFc(a,e)}).map(function(e){return e.issueId}).reverse().slice(0,b)}))};qW.prototype.ngOnInit=function(){var a=this;this.getIssueIdsToDisplay();this.refreshMonitor.getObservable().pipe(af(this.destroyed$)).subscribe(function(){a.getIssueIdsToDisplay()})};
var LFc=function(a,b){var c=b.snapshot[0],d,e=null!=(d=a.hackyPrefs.prefs.id)?d:"";if(sp(a.hackyPrefs).includes(b.issueId))return!1;if(Mva(b.ancestors).includes(e))return!0;if(!Il(b))return!1;var g,h;return a.isRecentIssues&&(null==(g=c.assigneeUser)?void 0:g.emailAddress)!==a.currentUserEmailAddress&&(null==(h=c.reporterUser)?void 0:h.emailAddress)!==a.currentUserEmailAddress?!1:!0},MFc=function(a){$A(a.matDialogService.open(PBc,{data:{currentColumns:a.columnsToDisplay},width:"500px"})).subscribe(function(b){a.columnsToDisplay=
[].concat(cd(b))})};sh.Object.defineProperties(qW.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});qW.\u0275fac=function(a){return new (a||qW)(B(Bs),B(JI),B(pW),B(rJ),B(eB),B(HI))};
qW.\u0275cmp=Oc({type:qW,selectors:[["recently-viewed-i-own"]],features:[kf],decls:11,vars:11,consts:[[1,"carded","bg-main"],[4,"ngIf"],[1,"flex-kids-x","justify-space-between","align-items-center"],[1,"table-heading"],["mat-icon-button","","matTooltip","Customize columns","aria-label","Customize columns","aria-haspopup","true",1,"gmat-button","medium",3,"click"],[1,"google-material-icons"],[3,"issueIds","displayedColumns","customColumns"],[4,"forViewCell"],["class","margin-bottom",4,"ngIf"],[1,"issues",
"margin-bottom"],[4,"ngFor","ngForOf"],[1,"margin-bottom"],["dismissIcon","keep_off","dismissTooltip","Un-pin issue",3,"issue","onDismiss"],["mat-icon-button","","matTooltip","Unpin issue","aria-label","Unpin issue",1,"gmat-button","medium","pin-button",3,"click"],["inline","true",1,"google-material-icons"],["mat-icon-button","","matTooltip","Pin issue","aria-label","Pin issue",1,"gmat-button","medium","pin-button",3,"click"]],template:function(a,b){a&1&&(F(0,"section",0),O(1,FYa,6,7,"ng-container",
1),F(2,"div",2)(3,"h4",3),P(4," Recent issues "),H(),F(5,"button",4),L("click",function(){return MFc(b)}),F(6,"mat-icon",5),P(7,"view_column"),H()()(),F(8,"flat-issues-table",6),R(9,"async"),O(10,IYa,3,2,"span",7),H()());a&2&&(z(1),E("ngIf",!(null==b.prefs.sectionW?0:b.prefs.sectionW.includes("pinned-issues"))&&!(null==b.prefs.sectionA?0:b.prefs.sectionA.includes("pinned-issues"))),z(2),xf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(5),xf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),
E("issueIds",S(9,9,b.issueIdsToDisplay$))("displayedColumns",b.columnsToDisplay)("customColumns",b.customColumns),z(2),E("forViewCell","pin"))},dependencies:[Qw,Rw,HB,KM,LM,QA,AL,Xw],styles:['[_nghost-%COMP%]{display:block}.table-heading[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.table-heading[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.table-heading.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:0}.table-heading.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}flat-issues-table[_ngcontent-%COMP%]{display:block;overflow-x:auto}flat-issues-table.collapsed[_ngcontent-%COMP%]{display:none}.pin-button[_ngcontent-%COMP%]{margin-left:4px}.pin-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-bottom:3px;color:#80868b;color:var(--gfx-muted);opacity:.5}.pin-button[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%]{color:#3c4043;color:var(--gfx);opacity:1}.issues[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:scroll;max-height:350px;gap:8px}[_nghost-%COMP%]     .issues{max-height:none}\n/*# sourceMappingURL=recently_viewed_owned.css.map */']});var rW=function(a,b){this.issueSuggestService=a;this.hackyPrefs=b;this.SECTION_SLUG="suggested-issues";this.columnsToDisplay="id title priority type status menu".split(" ");this.issueIdsToDisplay$=this.issueSuggestService.suggestedIssues$};rW.prototype.ngOnInit=function(){};rW.\u0275fac=function(a){return new (a||rW)(B(tJ),B(rJ))};
rW.\u0275cmp=Oc({type:rW,selectors:[["suggested-issues"]],decls:8,vars:6,consts:[[1,"flex-kids-x","justify-space-between","align-items-center"],[1,"table-heading",3,"click"],[2,"overflow","auto"],[4,"ngIf","ngIfElse"],["loading",""],[3,"issueIds","displayedColumns"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"h2",1),L("click",function(){return b.hackyPrefs.toggleCollapsed(b.SECTION_SLUG)}),P(2," Suggested Issues "),H()(),F(3,"div",2),O(4,JYa,2,4,"ng-container",3),R(5,"async"),H(),O(6,KYa,1,0,"ng-template",
null,4,gg));if(a&2){var c=Kf(7);z(1);xf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(3);E("ngIf",S(5,4,b.issueIdsToDisplay$))("ngIfElse",c)}},dependencies:[Rw,KM,WM,Xw],styles:['.table-heading[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.table-heading[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.table-heading.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:0}.table-heading.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}flat-issues-table.collapsed[_ngcontent-%COMP%]{display:none}\n/*# sourceMappingURL=suggested_issues.css.map */']});var sW=function(a){this.teamsService=a;this.onTeamLoaded=new D.ReplaySubject(1);this.teamName$=new D.BehaviorSubject("");this.isTeamLoaded=!1};sW.prototype.ngOnChanges=function(a){var b=this;a.teamId&&null!==this.teamId&&(0===this.teamId?(this.isTeamLoaded=!0,this.onTeamLoaded.next(this.isTeamLoaded)):aJ(this.teamsService,String(this.teamId)).pipe(Oe(),C(function(c){return c.name})).subscribe(function(c){b.teamName$.next(c);b.isTeamLoaded=!0;b.onTeamLoaded.next(b.isTeamLoaded)}))};
sW.\u0275fac=function(a){return new (a||sW)(B($I))};
sW.\u0275cmp=Oc({type:sW,selectors:[["b-team-chip"]],inputs:{componentId:"componentId",teamId:"teamId"},outputs:{onTeamLoaded:"onTeamLoaded"},features:[gd],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&&(F(0,"b-async-data-placeholder",0),O(1,LYa,4,4,"div",1),
R(2,"async"),H(),F(3,"onedev-hovercard",null,2),J(5),I(6,"b-team-card",3),K(),H());if(a&2){var c;E("isReady",b.isTeamLoaded);z(1);E("ngIf",S(2,4,b.teamName$));z(5);E("componentId",null==b.componentId?null:b.componentId.toString())("teamId",null!==(c=null==b.teamId?null:b.teamId.toString())&&void 0!==c?c:"0")}},dependencies:[Rw,HB,GL,UK,ZK,LL,Xw],styles:["[_nghost-%COMP%]{min-height:22px}mat-icon[_ngcontent-%COMP%]{margin-right:4px;vertical-align:middle}"],changeDetection:0});var tW=function(a,b){rF.call(this);this.teamActivity=a;this.hackyPrefs=b;this.toIssuePriority=wl;this.teamInfoHidden=!0};T(tW,rF);tW.\u0275dir=rF.\u0275dir;f=tW.prototype;f.ngOnInit=function(){var a=this;this.teamActivity.interestingEventsForTeamActivity$.pipe(af(this.destroyed$)).subscribe(function(b){a.teamActivityEvents=b.slice(0,10)})};f.getClNumber=function(a){var b,c,d;a=null!=(d=null==(b=a.unlinkifiedComment)?void 0:null==(c=b.match(/Change (\d+)/))?void 0:c[1])?d:"0";return Number(a)};
f.getUserEmailIfAvailable=function(a){return pi(a.userPerformingActionUser)};f.clAuthorToUser=function(a){return{emailAddress:Ol(a)+"@google.com"}};f.clAuthorToEmailAddress=function(a){return Ol(a)+"@google.com"};f.clEventToClDescription=function(a){var b,c;return null!=(c=null==(b=a.unlinkifiedComment)?void 0:b.split("\n")[2])?c:""};f.getPreviousDiffValue=function(a,b){var c;return null==(c=[].concat(cd(a.preDiffs),cd(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue};
f.getNewDiffValue=function(a,b){var c;return null==(c=[].concat(cd(a.preDiffs),cd(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue};f.getIssueDetailsUrl=function(a){return"http://b/issues/"+a};sh.Object.defineProperties(tW.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});tW.\u0275fac=function(a){return new (a||tW)(B(sJ),B(rJ))};
tW.\u0275cmp=Oc({type:tW,selectors:[["team-activity-stream"]],features:[kf],decls:17,vars:5,consts:[["mat-icon-button","","title","Show info about your calculated team membership","aria-label","Show info about your calculated team membership",1,"small",3,"click"],["svgIcon","info",1,"icon-s"],[1,"muted"],["href","https://g3doc.corp.google.com/google/corp/teams/graph/api/g3doc/gen_teamsgraph_docs.md#suggestteamsrequestcs","target","_blank"],[3,"teamId",4,"ngFor","ngForOf"],["target","_blank",1,"type-m",
3,"href"],["class","events carded bg-main",4,"ngIf"],[3,"teamId"],[1,"events","carded","bg-main"],["class","type-m",3,"margin-bottom",4,"ngFor","ngForOf"],[1,"type-m"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"bv2-profile-avatar",3,"email"],[3,"model"],[3,"changelistId"],[3,"href","issueId"],["mode","relativepast",3,"timestamp"],[1,"line-clamp-2","type-s"],[1,"type-s"],[3,"issuePriority"]],template:function(a,b){a&1&&(F(0,"h2"),P(1," Team activity "),F(2,"button",0),L("click",function(){return b.teamInfoHidden=
!b.teamInfoHidden}),I(3,"mat-icon",1),H(),F(4,"aside")(5,"p",2),P(6,"Our use of the Teams API returns a "),F(7,"a",3),P(8,"large set"),H(),P(9," of suggested teams via "),F(10,"code"),P(11,"collapsed_parent_chain"),H(),P(12,"."),H(),O(13,MYa,1,1,"b-team-chip",4),F(14,"a",5),P(15,"edit"),H()()(),O(16,TYa,2,1,"div",6));a&2&&(xf("teamInfoHidden",b.teamInfoHidden),z(13),E("ngForOf",b.prefs.teamIds),z(1),Hf("href","/issues/",b.prefs.id,"",Ud),z(2),E("ngIf",b.teamActivityEvents))},dependencies:[Qw,Rw,Sw,
Tw,Uw,HB,zL,RM,QM,OM,FL,wJ,QA,sW],styles:["[_nghost-%COMP%]{display:block}.teamInfoHidden[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]     b-user-display-name{font-weight:500;color:#202124;color:var(--text)}[_nghost-%COMP%]     .bv2-profile-avatar{margin-top:-8px;margin-bottom:-26px}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar{background-size:103%;display:inline-block;margin-right:4px}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img{background-color:#f1f3f4;background-color:var(--c100);height:24px;width:24px}.events[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{padding-left:29px}"]});var XYa=function(a){return{$implicit:a}},uW=function(a,b){this.issueFridge=a;this.hackyPrefs=b;this.STATUS_TERSE=$F;this.encodeURIComponent=encodeURIComponent;this.teamInfoHidden=!0;this.highPriorityFilter="("+iZa(this.prefs.teamIds)+") priority:(p0 | p1) type:(bug | customer_issue) status:open";this.highPriority$=this.issueFridge.watchMany({filter:this.highPriorityFilter,sort:"priority:desc modified_time:desc",pageSize:15});this.feedbackFilter="("+iZa(this.prefs.teamIds)+") -priority:(p0 | p1) modified:7d status:open";
this.feedback$=this.issueFridge.watchMany({filter:this.feedbackFilter,sort:"created_time:desc",pageSize:10})};sh.Object.defineProperties(uW.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});uW.\u0275fac=function(a){return new (a||uW)(B(JI),B(rJ))};
uW.\u0275cmp=Oc({type:uW,selectors:[["team-inbox"]],decls:39,vars:26,consts:[["mat-icon-button","","title","Show info about your calculated team membership","aria-label","Show info about your calculated team membership",1,"small",3,"click"],["svgIcon","info",1,"icon-s"],[1,"muted"],["href","https://g3doc.corp.google.com/google/corp/teams/graph/api/g3doc/gen_teamsgraph_docs.md#suggestteamsrequestcs","target","_blank"],[3,"teamId",4,"ngFor","ngForOf"],["target","_blank",1,"type-m",3,"href"],[1,"carded",
"bg-main"],["tabindex","0",1,"margin-s-bottom",3,"click"],["target","_blank",1,"subtle-link",3,"href"],[4,"ngIf"],["tabindex","0",1,"margin-top",3,"click"],["issueRow",""],[3,"teamId"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[1,"padded-s-bottom","display-block","flex-kids-x","align-items-start"],[1,"nowrap"],[1,"margin-right","issue-id"],[1,"type-m","issue-title",
"margin-s-right","break-word","subtle-link",3,"href","onedevHovercardTrigger"],["class","type-s margin-right muted",4,"ngIf"],[1,"margin-left-auto"],[3,"class",4,"ngIf"],[3,"onedevIsHovercardReady","issueId"],["cardBody",""],[1,"type-s","margin-right","muted"]],template:function(a,b){a&1&&(F(0,"h2"),P(1," My team "),F(2,"button",0),L("click",function(){return b.teamInfoHidden=!b.teamInfoHidden}),I(3,"mat-icon",1),H(),F(4,"aside")(5,"p",2),P(6,"Our use of the Teams API returns a "),F(7,"a",3),P(8,
"large set"),H(),P(9," of suggested teams via "),F(10,"code"),P(11,"collapsed_parent_chain"),H(),P(12,"."),H(),O(13,UYa,1,1,"b-team-chip",4),F(14,"a",5),P(15,"edit"),H()()(),F(16,"section",6)(17,"div")(18,"header")(19,"h4",7),L("click",function(){b.hackyPrefs.toggleCollapsed("team-high-priority")}),P(20," High Priority "),H(),F(21,"a",8),P(22),R(23,"number"),R(24,"async"),H()(),O(25,ZYa,3,1,"div",9),R(26,"async"),H(),F(27,"div")(28,"header")(29,"h4",10),L("click",function(){b.hackyPrefs.toggleCollapsed("team-recent")}),
P(30," Recent Feedback "),H(),F(31,"a",8),P(32),R(33,"number"),R(34,"async"),H()(),O(35,cZa,3,1,"div",9),R(36,"async"),H()(),O(37,hZa,16,11,"ng-template",null,11,gg));if(a&2){var c,d;xf("teamInfoHidden",b.teamInfoHidden);z(13);E("ngForOf",b.prefs.teamIds);z(1);Hf("href","/issues/",b.prefs.id,"",Ud);z(3);xf("collapsed",b.prefs.collapsed["team-high-priority"]);z(4);Hf("href","/issues?q=",b.encodeURIComponent(b.highPriorityFilter),"",Ud);z(1);Lf("(",S(23,14,null==(c=S(24,16,b.highPriority$))?null:c.totalSize),
")");z(3);E("ngIf",S(26,18,b.highPriority$));z(2);xf("collapsed",b.prefs.collapsed["team-recent"]);z(4);Hf("href","/issues?q=",b.encodeURIComponent(b.feedbackFilter),"",Ud);z(1);Lf("(",S(33,20,null==(d=S(34,22,b.feedback$))?null:d.totalSize),")");z(3);E("ngIf",S(36,24,b.feedback$))}},dependencies:[Qw,Rw,Ww,HB,UK,VK,ZK,WK,UP,QA,sW,Xw,cx],styles:["[_nghost-%COMP%] {\n      display: block;\n    }\n    h4[_ngcontent-%COMP%] {\n      display: inline-block;\n      margin-bottom: 4px;\n      margin-right: 4px;\n    }\n    ol[_ngcontent-%COMP%] {\n      list-style: none;\n      margin: 0;\n      padding: 0;\n    }\n    .collapsed[_ngcontent-%COMP%]    > div[_ngcontent-%COMP%] {\n      display: none;\n    }\n    .teamInfoHidden[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%] {\n      display: none;\n    }"]});var NFc=function(){return[]},vW=function(a,b){rF.call(this);this.hackyPrefs=a;this.issueFridge=b;this.SECTION_SLUG="working-on-this-week";this.weekIssues$=(0,D.of)([]);Zec(a);this.weekIssues$=this.hackyPrefs.prefs$.pipe(af(this.destroyed$),C(function(c){var d,e;return null!=(e=null==c?void 0:null==(d=c.issuesThisWeek)?void 0:d.issues)?e:[]}),$e(this.issueFridge.watchSet))};T(vW,rF);vW.\u0275dir=rF.\u0275dir;vW.\u0275fac=function(a){return new (a||vW)(B(rJ),B(JI))};
vW.\u0275cmp=Oc({type:vW,selectors:[["working-on-this-week"]],features:[kf],decls:9,vars:11,consts:[[1,"margined"],[3,"click"],[1,"muted"],[1,"issues"],[4,"ngFor","ngForOf"],["dismissIcon","close","dismissTooltip","Remove issue",3,"issue","onlyTitle","onDismiss"]],template:function(a,b){a&1&&(F(0,"h4",0)(1,"span",1),L("click",function(){return b.hackyPrefs.toggleCollapsed(b.SECTION_SLUG)}),P(2,"Working on this week "),F(3,"span",2),P(4),R(5,"async"),H()()(),F(6,"section",3),O(7,jZa,2,2,"ng-container",
4),R(8,"async"),H());if(a&2){var c;xf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(4);Lf(" (",(null!==(c=S(5,6,b.weekIssues$))&&void 0!==c?c:Qf(10,NFc)).length,")");z(2);xf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(1);E("ngForOf",S(8,8,b.weekIssues$))}},dependencies:[AL,Qw,Xw],styles:['.issues[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:scroll;max-height:225px;gap:8px}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}h4.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:8px 0;border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:16px;background-color:#fff;background-color:var(--surface-default)}h4.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}\n/*# sourceMappingURL=working_on_this_week.css.map */']});var wW=function(a,b,c){rF.call(this);var d=this;this.$window=a;this.activeSession=b;this.currentTracker=c;var e,g;this.trackerName=null!=(g=null==(e=this.activeSession.getTracker())?void 0:e.name)?g:"";this.subscriptions.add(this.currentTracker.tracker$.pipe(af(this.destroyed$)).subscribe(function(h){var l;d.trackerName=null!=(l=null==h?void 0:h.name)?l:""}))};T(wW,rF);wW.\u0275dir=rF.\u0275dir;
wW.prototype.setTitle=function(a){var b=this.trackerName?this.trackerName:this.activeSession.getAppName();this.$window.document.title=a?a+" - "+b:b};wW.\u0275fac=function(a){return new (a||wW)(t(qF),t(Bs),t(PL))};wW.\u0275prov=yc({token:wW,factory:wW.\u0275fac,providedIn:"root"});var OFc=function(){this.emails=[]};OFc.\u0275fac=function(a){return new (a||OFc)};OFc.\u0275cmp=Oc({type:OFc,selectors:[["avatar-bunch"]],inputs:{emails:"emails"},decls:2,vars:5,consts:[["class","margin-s-right",3,"email",4,"ngFor","ngForOf"],[1,"margin-s-right",3,"email"]],template:function(a,b){a&1&&(O(0,kZa,1,1,"b-user-image",0),R(1,"slice"));a&2&&E("ngForOf",Vf(1,1,b.emails,0,8))},dependencies:[Qw,zL,dx],styles:["\n\n    b-user-image[_ngcontent-%COMP%] {\n      width: 32px;\n      height: 32px; \n\n    }"]});var PFc=function(){this.makeCritiqueUrl=nZa;this.pending=[]};PFc.\u0275fac=function(a){return new (a||PFc)};
PFc.\u0275cmp=Oc({type:PFc,selectors:[["cl-counts"]],inputs:{submitted:"submitted",pending:"pending"},decls:1,vars:1,consts:[["class","flex-kids-x align-items-center","title","Number of total CLs and pending CLs associated with issues in this work area (recursive)",4,"ngIf"],["title","Number of total CLs and pending CLs associated with issues in this work area (recursive)",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",1,"subtle-link",3,"href"],["target","_blank","class","subtle-link",3,"href",4,"ngIf"]],template:function(a,b){a&1&&O(0,mZa,7,3,"div",0);a&2&&E("ngIf",b.submitted.length+b.pending.length)},dependencies:[Rw],styles:[".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 xW=function(){this.joinerStr=""};sh.Object.defineProperties(xW.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){if(null!=a){var b=pva(1049928)(a);this.startDate=Uua(null==b?void 0:b.dateValue);a=pva(1049953)(a);this.endDate=Uua(null==a?void 0:a.dateValue);this.startDateShortStr=Vua(this.startDate);this.endDateShortStr=Vua(this.endDate);this.joinerStr=this.endDate?"\u2192":""}}}});xW.\u0275fac=function(a){return new (a||xW)};
xW.\u0275cmp=Oc({type:xW,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&&O(0,qZa,4,2,"div",
0);a&2&&E("ngIf",b.startDate||b.endDate)},dependencies:[Rw,HB,$w],styles:[".date[_ngcontent-%COMP%] {\n      display: inline-block;\n    }"],changeDetection:0});var QFc=function(){this.makePie=sZa;this.useXofYLabel=!1};QFc.\u0275fac=function(a){return new (a||QFc)};
QFc.\u0275cmp=Oc({type:QFc,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&&O(0,rZa,7,13,"div",0);a&2&&E("ngIf",0<b.total&&b.closed/b.total*100)},dependencies:[Rw,cx],encapsulation:2,changeDetection:0});var uZa=function(){return[]},yW=function(a,b,c){var d=this;this.metadataFridge=a;this.issueFridge=b;this.changelistFridge=c;this.id$=new D.ReplaySubject(1);this.issue$=this.id$.pipe($e(this.issueFridge.watchOne));this.metadata$=this.id$.pipe($e(this.metadataFridge.watchOne));this.closedAndTotal$=this.metadata$.pipe(C(Iua));this.metadata$.pipe(C(Kua));this.emails$=this.metadata$.pipe(C(Lua));this.pendingCls$=this.metadata$.pipe($e(function(e){var g;return d.changelistFridge.watchMany({pendingForIssues:null!=
(g=null==e?void 0:e.issueIds)?g:[]})}),C(function(e){return e.results}))};sh.Object.defineProperties(yW.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});yW.\u0275fac=function(a){return new (a||yW)(B(tG),B(JI),B(uG))};
yW.\u0275cmp=Oc({type:yW,selectors:[["rollups-project"]],inputs:{id:"id"},decls:12,vars:12,consts:[[1,"flex-kids-x","align-items-center","gap"],[3,"closed","total",4,"ngIf"],[1,"divider"],[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&&(F(0,"section",0),O(1,tZa,1,2,"progress-pie",1),R(2,"async"),I(3,"span",2)(4,"issue-timeframe",3),R(5,"async"),I(6,"span",2),O(7,vZa,2,5,"cl-counts",4),R(8,
"async"),I(9,"span",2),O(10,wZa,1,1,"avatar-bunch",5),R(11,"async"),H());a&2&&(z(1),E("ngIf",S(2,4,b.closedAndTotal$)),z(3),E("issue",S(5,6,b.issue$)),z(3),E("ngIf",S(8,8,b.metadata$)),z(3),E("ngIf",S(11,10,b.emails$)))},dependencies:[Rw,OFc,PFc,QFc,xW,Xw],styles:["[_nghost-%COMP%]{display:block}.divider[_ngcontent-%COMP%]{width:1px;height:20px;background-color:#dadce0;background-color:var(--divider)}\n/*# sourceMappingURL=rollups_project.css.map */"],changeDetection:0});var zW=function(a){var b=this;this.hackyPrefs=a;this.isActive=function(){var c;return null==(c=b.hackyPrefs.prefs.projectFilters)?void 0:c.includes(b.filter.key)};this.active$=this.hackyPrefs.prefs$.pipe(C(function(c){var d,e;return null==c?void 0:null==(e=c.projectFilters)?void 0:e.includes(null==(d=b.filter)?void 0:d.key)}),C(Boolean))};zW.prototype.onClick=function(){var a=!this.isActive(),b=new Set;a?b.add(this.filter.key):b.delete(this.filter.key);tp(this.hackyPrefs,{projectFilters:[].concat(cd(b))})};
sh.Object.defineProperties(zW.prototype,{metadata:{configurable:!0,enumerable:!0,set:function(a){if(null!=a)if("OPEN"===this.filter.key){if(null==a)var b=0;else{b=0;a=k(a.aggregatedStatus);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0===c.issueIds?[]:c.issueIds,e=void 0;if(null==(e=Bl[c.status])?0:e.open)b+=d.length}}this.countDisplay=""+b;this.countTooltip=b+" open issues"}else if("BROAD_IN_PROGRESS"===this.filter.key)b=Jua(a,"ASSIGNED"),a=Jua(a,"ACCEPTED"),b+=a,this.countDisplay=
""+b,this.countTooltip=b+" issues either in progress or assigned";else throw Error("Wd`"+this.filter.key);}},key:{configurable:!0,enumerable:!0,set:function(a){this.filter=bo[a]}}});zW.\u0275fac=function(a){return new (a||zW)(B(rJ))};
zW.\u0275cmp=Oc({type:zW,selectors:[["qif-stat"]],hostBindings:function(a,b){a&1&&L("click",function(){return b.onClick()})},inputs:{metadata:"metadata",key:"key"},decls:6,vars:6,consts:[[1,"unstyled-button","stat-card"],[1,"big-number",3,"title"]],template:function(a,b){a&1&&(F(0,"button",0),R(1,"async"),F(2,"label"),P(3),H(),F(4,"div",1),P(5),H()());a&2&&(of("aria-pressed",S(1,4,b.active$)),z(3),Mf(b.filter.displayAs),z(1),E("title",b.countTooltip),z(1),Mf(b.countDisplay||"\u00a0"))},dependencies:[Xw],
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)}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, 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 AW=function(a){this.metadataFridge=a;this.id$=new D.ReplaySubject(1);this.metadata$=this.id$.pipe($e(this.metadataFridge.watchOne))};sh.Object.defineProperties(AW.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});AW.\u0275fac=function(a){return new (a||AW)(B(tG))};
AW.\u0275cmp=Oc({type:AW,selectors:[["stat-cards-project"]],inputs:{id:"id"},decls:5,vars:6,consts:[[1,"flex-kids-x","gap"],["key","OPEN",3,"metadata"],["key","BROAD_IN_PROGRESS",3,"metadata"]],template:function(a,b){a&1&&(F(0,"div",0),I(1,"qif-stat",1),R(2,"async"),I(3,"qif-stat",2),R(4,"async"),H());a&2&&(z(1),E("metadata",S(2,2,b.metadata$)),z(2),E("metadata",S(4,4,b.metadata$)))},dependencies:[zW,Xw],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_project.css.map */"],
changeDetection:0});var xZa=function(){return{hideHeader:!0,assigneeMode:"avatar-in-progress",showPendingFixCls:!1}},RFc="focus-indicator drag-handle title assignee status id menu".split(" "),SFc=function(a){this.hackyPrefs=a;this.TABLE_COLUMNS=RFc};SFc.\u0275fac=function(a){return new (a||SFc)(B(rJ))};
SFc.\u0275cmp=Oc({type:SFc,selectors:[["one-work-area"]],inputs:{rootIssueId:"rootIssueId"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"margin-bottom",3,"id"],[3,"saveExpansionAtKey","rootIssueId","filters","tableColumns","options"]],template:function(a,b){a&1&&O(0,yZa,4,8,"ng-container",0);a&2&&E("ngIf",b.rootIssueId)},dependencies:[Rw,yW,AW,DQ],styles:["[_nghost-%COMP%] { display: block; }"]});var TFc=function(){return[]},BW=function(a){this.prefsService=a;this.SECTION_SLUG="work-areas-wrapper-card"};BW.prototype.isCollapsed=function(){var a;return!(null==(a=this.prefsService.prefs.collapsed)||!a["work-areas-wrapper-card"])};BW.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("work-areas-wrapper-card")};sh.Object.defineProperties(BW.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.prefsService.prefs}}});
BW.\u0275fac=function(a){return new (a||BW)(B(rJ))};
BW.\u0275cmp=Oc({type:BW,selectors:[["work-areas-wrapper-card"]],decls:10,vars:5,consts:[[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"header-left"],[1,"type-l","line-clamp-3"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[1,"main-content"],["gmat-tabs","",1,"main-content","margin-top",3,"selectedIndex","selectedIndexChange"],[4,"ngFor","ngForOf"],[3,"label"],[1,"margin-top",3,"rootIssueId"]],template:function(a,
b){a&1&&(F(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),P(4," Work areas "),F(5,"button",4),L("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),H()()()(),F(7,"div",6)(8,"mat-tab-group",7),L("selectedIndexChange",function(c){return tp(b.prefsService,{chosenTabForWork:c})}),O(9,zZa,3,2,"ng-container",8),H()()());a&2&&(xf("collapsed",b.isCollapsed()),z(8),E("selectedIndex",b.prefs.chosenTabForWork),z(1),E("ngForOf",b.prefs.pinned||Qf(4,TFc)))},dependencies:[Qw,HB,RN,QN,QA,SFc],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     issue-as-project-card>.carded{border:none;padding-left:0}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_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[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}"]});var UFc=new ad("Analytics");var CW=function(a){this.clientStreamzService=a;this.analytics=Jc(UFc,{optional:!0})};CW.prototype.logTaskOpenedMetric=function(a){VFc(this,"task_opened",a);var b;null==(b=this.analytics)||b.logTaskOpened()};CW.prototype.logUsageMetric=function(a,b){this.clientStreamzService.logUsageMetric("task_prioritization."+a,b)};
var VFc=function(a,b,c){var d=U(c.resource,1).toLowerCase();a.logUsageMetric(b,!0);a.logUsageMetric(b+"_"+d,!0);c=k(c.signals);for(var e=c.next();!e.done;e=c.next()){e=e.value.type;var g={};e=(g["Future Availability"]="future_availability",g["Current Availability"]="current_availability",g["Submission Deadline"]="submission_deadline",g.Blocking="blocking",g["Current Iteration"]="current_iteration",g["Slow CL"]="slow_cl",g["Near SLO"]="near_slo",g["Out of SLO"]="out_of_slo",g.Accepted="accepted",g.P0=
"p0",g.Rollback="rollback",g.LGTM="lgtm",g.Unresolved="unresolved",g["Docwrap Outgoing"]="docwrap_outgoing",g["Docwrap Incoming"]="docwrap_incoming",g)[e];a.logUsageMetric(b+"_"+d+"_"+e,!0)}};CW.\u0275fac=function(a){return new (a||CW)(t(TC))};CW.\u0275prov=yc({token:CW,factory:CW.\u0275fac,providedIn:"root"});var WFc=new ad("GMAT_BUTTON_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var DW=function(a,b){this.elementRef=a;this.options=b};DW.prototype.ngOnInit=function(){this.elementRef.nativeElement.querySelector(".mat-icon, .material-icons")&&this.elementRef.nativeElement.classList.add("gmat-mdc-button-with-prefix")};DW.\u0275fac=function(a){return new (a||DW)(B(Dd),B(WFc))};
DW.\u0275dir=Sc({type:DW,selectors:[["button","mat-button",""],["a","mat-button",""],["button","mat-raised-button",""],["a","mat-raised-button",""],["button","mat-flat-button",""],["a","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-stroked-button",""],["button","mat-icon-button",""],["a","mat-icon-button",""],[""]],hostVars:2,hostBindings:function(a,b){a&2&&xf("gmat-mdc-button",!b.options.disableGmatStyle)}});var EW=function(){};EW.\u0275fac=function(a){return new (a||EW)};EW.\u0275mod=Qc({type:EW});EW.\u0275inj=zc({providers:[{provide:i6b,useValue:{color:"primary"}}],imports:[dE]});var XFc=new ad("GMAT_TOOLTIP_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var YFc=function(a,b){a.disableGmatStyle||b.gmatPanelClasses.push("gmat-mdc-tooltip")};YFc.\u0275fac=function(a){return new (a||YFc)(B(XFc),B(dA))};YFc.\u0275dir=Sc({type:YFc,selectors:[["","matTooltip",""]],features:[Of([{provide:dA,useClass:DV}])]});var FW=function(){};FW.\u0275fac=function(a){return new (a||FW)};FW.\u0275mod=Qc({type:FW});FW.\u0275inj=zc({imports:[jD]});var FZa=function(){return[]},GZa=function(){return["zero-state"]},GW=function(a,b){this.hiddenTasks=a;this.metrics=b;this.tasks=[];this.areTasksHidden=this.showZeroState=!1;this.showHiddenTasks=new kw;this.displayedColumns=["title","signals","actions"]};GW.prototype.hideTask=function(a){this.hiddenTasks.hideTask(a);this.metrics.logUsageMetric("task_hidden",!0)};GW.prototype.unhideTask=function(a){this.hiddenTasks.unhideTask(a);this.metrics.logUsageMetric("task_hidden",!1)};
GW.prototype.logTaskOpenedMetric=function(a){this.metrics.logTaskOpenedMetric(a)};GW.\u0275fac=function(a){return new (a||GW)(B(eW),B(CW))};
GW.\u0275cmp=Oc({type:GW,selectors:[["tp-task-table"]],inputs:{tasks:"tasks",showZeroState:"showZeroState",areTasksHidden:"areTasksHidden"},outputs:{showHiddenTasks:"showHiddenTasks"},decls:3,vars:2,consts:[[3,"dataSource",4,"ngIf","ngIfElse"],["taskTable",""],[3,"dataSource"],["matColumnDef","zero-state"],["class","zero-state-cell",4,"matHeaderCellDef"],[4,"matCellDef"],["class","zero-state-row",4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[1,"zero-state-cell"],["src","https://www.gstatic.com/devnotify/tp-empty.svg",
"alt",""],[4,"ngIf"],[3,"click"],[1,"zero-state-row"],["matColumnDef","title"],[4,"matHeaderCellDef"],["matColumnDef","signals"],["matColumnDef","actions"],[4,"matHeaderRowDef"],[3,"hidden-task",4,"matRowDef","matRowDefColumns"],[1,"tp-title-cell"],[3,"svgIcon"],[1,"tp-task-name"],["target","_blank",1,"task-link",3,"href","click"],["class","tp-signal","matTooltipClass","tp-tooltip",3,"matTooltip","matTooltipDisabled",4,"ngFor","ngForOf"],["matTooltipClass","tp-tooltip",1,"tp-signal",3,"matTooltip",
"matTooltipDisabled"],["mat-icon-button","","class","hide-button","matTooltip","Unhide this task","matTooltipClass","tp-tooltip","aria-label","unhide task",3,"click",4,"ngIf","ngIfElse"],["hide",""],["mat-icon-button","","matTooltip","Unhide this task","matTooltipClass","tp-tooltip","aria-label","unhide task",1,"hide-button",3,"click"],["mat-icon-button","","matTooltip","Hide this task","matTooltipClass","tp-tooltip","aria-label","hide task",1,"hide-button",3,"click"]],template:function(a,b){a&1&&
(O(0,HZa,6,6,"mat-table",0),O(1,TZa,12,3,"ng-template",null,1,gg));if(a&2){var c=Kf(2);E("ngIf",b.showZeroState)("ngIfElse",c)}},dependencies:function(){return[Qw,Rw,DW,BA,FV,OO,GO,KO,HO,FO,LO,IO,JO,MO,NO,YFc,hD,HB,Xw,HW]},styles:['html[_ngcontent-%COMP%]{--mat-table-background-color:#fff;--mat-table-header-headline-color:rgba(0,0,0,.87);--mat-table-row-item-label-text-color:rgba(0,0,0,.87);--mat-table-row-item-outline-color:rgba(0,0,0,.12)}html[_ngcontent-%COMP%]{--mat-table-header-container-height:56px;--mat-table-footer-container-height:52px;--mat-table-row-item-container-height:52px}html[_ngcontent-%COMP%]{--mat-table-header-headline-font:Roboto,"Helvetica Neue",sans-serif;--mat-table-header-headline-line-height:24px;--mat-table-header-headline-size:14px;--mat-table-header-headline-weight:500;--mat-table-header-headline-tracking:normal;--mat-table-row-item-label-text-font:Roboto,"Helvetica Neue",sans-serif;--mat-table-row-item-label-text-line-height:20px;--mat-table-row-item-label-text-size:14px;--mat-table-row-item-label-text-weight:400;--mat-table-row-item-label-text-tracking:normal;--mat-table-footer-supporting-text-font:Roboto,"Helvetica Neue",sans-serif;--mat-table-footer-supporting-text-line-height:20px;--mat-table-footer-supporting-text-size:14px;--mat-table-footer-supporting-text-weight:400;--mat-table-footer-supporting-text-tracking:normal}.gmat-mdc-table[_ngcontent-%COMP%]{background-color:#fff;border-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{background-color:#fff}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{color:#202124}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-label[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-total[_ngcontent-%COMP%]{color:#3c4043}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row--selected[_ngcontent-%COMP%]{background-color:#e3f2fd}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__leading[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__notch[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__trailing[_ngcontent-%COMP%]{border-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{border-bottom-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination[_ngcontent-%COMP%]{border-top-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:rgba(32,33,36,.04)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]{color:#5f6368}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{background-color:var(--mdc-ripple-color,#5f6368)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-surface--hover[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:hover   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{opacity:var(--mdc-ripple-hover-opacity,.04)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):focus   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-focus-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded)   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):active   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-press-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded[_ngcontent-%COMP%]{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity,0.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]{color:#202124}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{background-color:var(--mdc-ripple-color,#202124)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-surface--hover[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:hover   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{opacity:var(--mdc-ripple-hover-opacity,.04)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):focus   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-focus-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded)   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):active   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-press-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded[_ngcontent-%COMP%]{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity,0.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:inherit}.gmat-mdc-table[_ngcontent-%COMP%]{--odw-mdc-row-hover:rgba(60,64,67,.04);--odw-mdc-row-selected:var(--blue-50);--odw-mdc-row-selected-hover:rgba(232,240,254,.5)}.dark-mode[_ngcontent-%COMP%]   .gmat-mdc-table[_ngcontent-%COMP%]{--odw-mdc-row-hover:rgba(232,234,237,.04);--odw-mdc-row-selected:rgba(138,180,248,.24);--odw-mdc-row-selected-hover:rgba(138,180,248,.12)}.gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]{background-color:var(--page-bg)}.gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{background-color:var(--page-bg)}.gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%], .gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-label[_ngcontent-%COMP%], .gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-total[_ngcontent-%COMP%]{color:var(--text-default)}.gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{border-bottom-color:var(--hairline)}.gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:hover, .gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:var(--odw-mdc-row-hover)}.gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row.mdc-data-table__row.mdc-data-table__row--selected[_ngcontent-%COMP%]{background-color:var(--odw-mdc-row-selected)}.gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row.mdc-data-table__row.mdc-data-table__row--selected[_ngcontent-%COMP%]:hover{background-color:var(--odw-mdc-row-selected-hover)}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-container-color:#616161;--mdc-plain-tooltip-supporting-text-color:#fff}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-supporting-text-font:Roboto,"Helvetica Neue",sans-serif;--mdc-plain-tooltip-supporting-text-size:12px;--mdc-plain-tooltip-supporting-text-weight:400;--mdc-plain-tooltip-supporting-text-tracking:normal}.gmat-mdc-tooltip[_ngcontent-%COMP%]   .mat-mdc-tooltip[_ngcontent-%COMP%]:not(boost-specificity){--mdc-plain-tooltip-container-color:var(--tooltip-bg);--mdc-plain-tooltip-supporting-text-color:var(\n    --tooltip-text,var(--text-inverse)\n  )}  .tp-tooltip :not(.boost-specificity){--mdc-plain-tooltip-container-color:var(--tooltip-bg);--mdc-plain-tooltip-supporting-text-color:var(--text-inverse)}  .dark-mode .tp-tooltip :not(.boost-specificity){--mdc-plain-tooltip-container-color:hsla(0,0%,100%,.9);--mdc-plain-tooltip-supporting-text-color:var(--text-inverse)}[_nghost-%COMP%]   mat-table.gmat-mdc-table[_ngcontent-%COMP%]{background:var(--surface-default);border-radius:.25rem;margin:0 0 .75rem;overflow:hidden;box-shadow:0 1px 2px 0 rgba(0,0,0,.16),0 2px 6px 2px rgba(0,0,0,.08);border:none}[_nghost-%COMP%]   mat-header-row.mat-mdc-header-row.mat-mdc-header-row[_ngcontent-%COMP%]:not(.zero-state-row), [_nghost-%COMP%]   mat-row.mat-mdc-row.mat-mdc-row[_ngcontent-%COMP%]:not(.zero-state-row){height:unset;min-height:2rem}[_nghost-%COMP%]   mat-header-row.mat-mdc-header-row.mat-mdc-header-row.zero-state-row[_ngcontent-%COMP%], [_nghost-%COMP%]   mat-row.mat-mdc-row.mat-mdc-row.zero-state-row[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}[_nghost-%COMP%]   .mat-column-title[_ngcontent-%COMP%]{width:45%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mat-column-title[_ngcontent-%COMP%]   .tp-title-cell[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden}[_nghost-%COMP%]   .mat-column-title[_ngcontent-%COMP%]   .tp-title-cell[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{width:1.125rem;min-width:1.125rem;margin-right:.5rem;-webkit-box-flex:0;-webkit-flex:0 0 auto;-moz-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}[_nghost-%COMP%]   .mat-column-title[_ngcontent-%COMP%]   .tp-title-cell[_ngcontent-%COMP%]   .tp-task-name[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}[_nghost-%COMP%]   .mat-column-signal[_ngcontent-%COMP%]{width:45%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]{-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;-ms-flex:0 0 100px;flex:0 0 100px;-webkit-box-pack:end;-webkit-justify-content:end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:end}[_nghost-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]   .hide-button[_ngcontent-%COMP%]{height:2rem;padding:.25rem}.tp-signal[_ngcontent-%COMP%]{border-radius:.25rem;padding:.125rem .5rem;margin:0 .25rem;background:var(--tonal-fill-grey);border:1px solid var(--tonal-grey);font-size:.8125rem;white-space:nowrap;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.tp-signal[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin:0}.task-link[_ngcontent-%COMP%]{color:unset;text-decoration:none}.zero-state-cell[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;font-weight:400;gap:8px;padding:8px}.zero-state-cell[_ngcontent-%COMP%]:not(.boost-specificy){-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.zero-state-cell[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:70px;text-align:center}.zero-state-cell[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:contents}.hidden-task[_ngcontent-%COMP%]{-webkit-filter:grayscale(80%);filter:grayscale(80%);background:var(--tonal-fill-grey)}']});
var HW=function(){};HW.prototype.transform=function(a){var b={};return(b.Ariane="launch",b.Buganizer="buganizer",b.Critique="critique",b.Drive="docs",b)[a.source]};HW.\u0275fac=function(a){return new (a||HW)};HW.\u0275pipe=Uc({name:"taskIcon",type:HW,pure:!0});var IW=function(){};IW.\u0275fac=function(a){return new (a||IW)};IW.\u0275mod=Qc({type:IW});IW.\u0275inj=zc({imports:[ex,EW,GV,FW,mD]});var ZFc=new CL(3);var $Fc=new ad("GMAT_PROGRESS_SPINNER_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var JW=function(a,b){var c=this;this.options=a;this.progressSpinner=b;this.destroyed=new D.Subject;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-spinner-accessible-label");UZa(b._elementRef.nativeElement).pipe(af(this.destroyed)).subscribe(function(d){aGc(c,d[0],d[1])})};
JW.prototype.ngOnInit=function(){this.progressSpinner._elementRef.nativeElement.insertAdjacentElement("afterend",this.labelElement);var a=this.progressSpinner._elementRef.nativeElement.getAttribute("aria-label");aGc(this,null!=a?a:"","indeterminate"===this.progressSpinner.mode?"indeterminate":this.progressSpinner.value.toString())};JW.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};
var aGc=function(a,b,c){b="indeterminate"===c?b:b+" "+ZFc.format(Number(c)/100);a.labelElement.textContent=b};JW.\u0275fac=function(a){return new (a||JW)(B($Fc),B(TM,10))};JW.\u0275dir=Sc({type:JW,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(of("tabindex",null),xf("gmat-mdc-progress-spinner",!b.options.disableGmatStyle))}});var KW=function(){};KW.\u0275fac=function(a){return new (a||KW)};KW.\u0275mod=Qc({type:KW});KW.\u0275inj=zc({imports:[UM]});var bGc=Es(["https://fonts.gstatic.com/s/i/productlogos/buganizer/v1/192px.svg"]),cGc=Es(["https://fonts.gstatic.com/s/i/productlogos/critique/v1/192px.svg"]),dGc=Es(["https://fonts.gstatic.com/s/i/productlogos/docs_2020q4/v12/192px.svg"]),eGc=Es(["https://fonts.gstatic.com/s/i/productlogos/launch/v1/192px.svg"]),fGc=Es(["https://fonts.gstatic.com/s/i/productlogos/taskflow/v1/192px.svg"]),gGc=Es(["//googledata/icons/vf/material_next/svg/block/googlesymbols:default_48px.svg"]),hGc=Es(["//googledata/icons/vf/material_next/svg/alternate_email/googlesymbols:default_48px.svg"]),
iGc=Es(["//googledata/icons/vf/material_next/svg/schedule/googlesymbols:default_48px.svg"]),jGc=Es(["//googledata/icons/vf/material_next/svg/unblock_flipped/googlesymbols:default_48px.svg"]),kGc=Es(["https://fonts.gstatic.com/s/i/googlematerialicons/visibility/v16/24px.svg"]),lGc=Es(["https://fonts.gstatic.com/s/i/googlematerialicons/visibility_off/v12/24px.svg"]),e_a=function(a,b){return{showHidden:a,viewAll:b}},mGc=function(a,b){return{areAllTasksLoaded:a,tasks:b}},LW=function(a,b,c,d){this.tasksService=
b;this.hiddenTasks=c;this.metrics=d;this.tasks$=rFc(this.tasksService).pipe(nGc(this));this.areAllTasksLoaded$=this.tasksService.areAllTasksLoaded();this.areTasksFiltered$=oGc(this);this.areTasksHidden$=this.areTasksHidden();this.destroyed$=new D.Subject;a.setDefaultFontSetClass("google-material-icons","mat-ligature-font");GB(a,"buganizer",Og(bGc));GB(a,"critique",Og(cGc));GB(a,"docs",Og(dGc));GB(a,"launch",Og(eGc));GB(a,"taskflow",Og(fGc));GB(a,"blocking",Og(gGc));GB(a,"mention",Og(hGc));GB(a,"time",
Og(iGc));GB(a,"unblocked",Og(jGc));GB(a,"hide_task",Og(kGc));GB(a,"show_task",Og(lGc))};LW.prototype.ngOnInit=function(){this.viewAll$=this.isMyWork?this.tasksService.showAllMyWorkTasks$:this.tasksService.showAllNeedsMyInputTasks$;this.showHidden$=this.isMyWork?this.hiddenTasks.showHiddenMyWorkTasks$:this.hiddenTasks.showHiddenNeedsMyInputTasks$;this.metrics.logUsageMetric(this.isMyWork?"my_work_loaded":"needs_my_attention_loaded",!0);pGc(this)};
LW.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};LW.prototype.setShowHidden=function(a){this.showHidden$.next(a);this.metrics.logUsageMetric("toggle_show_hidden",a)};
var pGc=function(a){a.areAllTasksLoaded$.pipe(cf(a.tasks$),af(a.destroyed$)).subscribe(function(b){b=k(b);b.next();var c=b.next().value;a.metrics.logUsageMetric(a.isMyWork?"my_work_all_tasks_loaded":"needs_my_attention_all_tasks_loaded",!0);b=a.metrics;c=k(c);for(var d=c.next();!d.done;d=c.next())VFc(b,"task_shown",d.value)})};
LW.prototype.areTasksHidden=function(){var a=this.tasksService.readdedTasks$.pipe(nGc(this)),b=this.tasks$.pipe($e(function(c){return(0,D.combineLatest)(c.map(function(d){return d.isHidden$}))}),C(function(c){return c.filter(function(d){return!d})}),Ze([]));return(0,D.combineLatest)([a,b]).pipe(C(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c.length!==d.length}))};
var oGc=function(a){var b=a.tasksService.allTasks$.pipe(nGc(a));a=a.tasksService.filteredTasks$.pipe(nGc(a));return(0,D.zip)(b,a).pipe(C(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c.length!==d.length}))},nGc=function(a){return(0,D.pipe)(C(function(b){return b.filter(function(c){return a.isMyWork===c.isMyWork})}))};sh.Object.defineProperties(LW.prototype,{reccTasks:{configurable:!0,enumerable:!0,get:function(){return this.isMyWork}},needsInput:{configurable:!0,enumerable:!0,get:function(){return!this.isMyWork}}});
LW.\u0275fac=function(a){return new (a||LW)(B(FB),B(gW),B(eW),B(CW))};
LW.\u0275cmp=Oc({type:LW,selectors:[["tp-task-section"]],hostVars:2,hostBindings:function(a,b){a&2&&of("data-recc-tasks",b.reccTasks)("data-needs-input",b.needsInput)},inputs:{isMyWork:"isMyWork"},standalone:!0,features:[Of([FB]),Hka],ngContentSelectors:["*"],decls:11,vars:14,consts:[[1,"tp-table-title"],[1,"gmat-subhead-1"],[4,"ngIf"],["mode","indeterminate",3,"diameter",4,"ngIf","ngIfElse"],["controls",""],["mode","indeterminate",3,"diameter"],["mat-button","","color","primary",3,"click",4,"ngIf"],
["mat-button","","color","primary","class","show-hidden",3,"click",4,"ngIf"],["mat-button","","color","primary",3,"click"],["mat-button","","color","primary",1,"show-hidden",3,"click"],[3,"tasks","showZeroState","areTasksHidden","showHiddenTasks"]],template:function(a,b){a&1&&(Ff(),F(0,"div",0)(1,"h2",1),O(2,VZa,2,0,"ng-container",2),O(3,WZa,2,0,"ng-container",2),H(),O(4,XZa,1,1,"mat-progress-spinner",3),R(5,"async"),O(6,f_a,4,8,"ng-template",null,4,gg),H(),O(8,h_a,2,1,"ng-container",2),R(9,"async"),
R(10,"async"));if(a&2){var c=Kf(7);z(2);E("ngIf",b.isMyWork);z(1);E("ngIf",!b.isMyWork);z(1);E("ngIf",!S(5,5,b.areAllTasksLoaded$))("ngIfElse",c);z(4);E("ngIf",Sf(11,mGc,S(9,7,b.areAllTasksLoaded$),S(10,9,b.tasks$)))}},dependencies:[ex,Rw,Xw,EW,DW,zA,KW,JW,TM,mD,IW,GW],styles:['.mat-mdc-progress-spinner[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#2196f3}.mat-mdc-progress-spinner.mat-accent[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#ff9800}.mat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#f44336}.gmat-mdc-progress-spinner.mat-primary[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#2196f3}.gmat-mdc-progress-spinner.mat-accent[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#ff9800}.gmat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#f44336}.gmat-mdc-progress-spinner.mat-primary[_ngcontent-%COMP%]   .mdc-circular-progress__determinate-circle[_ngcontent-%COMP%], .gmat-mdc-progress-spinner.mat-primary[_ngcontent-%COMP%]   .mdc-circular-progress__indeterminate-circle-graphic[_ngcontent-%COMP%]{stroke:var(--primary-default)}.gmat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]   .mdc-circular-progress__determinate-circle[_ngcontent-%COMP%], .gmat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]   .mdc-circular-progress__indeterminate-circle-graphic[_ngcontent-%COMP%]{stroke:var(--warn-default)}.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#000}.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#2196f3}.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#ff9800}.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#f44336}.mat-mdc-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-text-button-label-text-color:rgba(0,0,0,.38)}.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#000}.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#2196f3;--mdc-filled-button-label-text-color:#fff}.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#ff9800;--mdc-filled-button-label-text-color:#000}.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#f44336;--mdc-filled-button-label-text-color:#fff}.mat-mdc-unelevated-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-container-color:rgba(0,0,0,.12);--mdc-filled-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-filled-button-container-color:rgba(0,0,0,.12);--mdc-filled-button-label-text-color:rgba(0,0,0,.38)}.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#000}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#2196f3;--mdc-protected-button-label-text-color:#fff}.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#ff9800;--mdc-protected-button-label-text-color:#000}.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#f44336;--mdc-protected-button-label-text-color:#fff}.mat-mdc-raised-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-container-color:rgba(0,0,0,.12);--mdc-protected-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-protected-button-container-color:rgba(0,0,0,.12);--mdc-protected-button-label-text-color:rgba(0,0,0,.38);--mdc-protected-button-container-elevation:0}.mat-mdc-outlined-button[_ngcontent-%COMP%]{--mdc-outlined-button-outline-color:rgba(0,0,0,.12)}.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#000}.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#2196f3}.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#ff9800}.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#f44336}.mat-mdc-outlined-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:rgba(0,0,0,.38);--mdc-outlined-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-outlined-button-outline-color:rgba(0,0,0,.12);--mdc-outlined-button-disabled-outline-color:rgba(0,0,0,.12)}.mat-mdc-button[_ngcontent-%COMP%], .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#2196f3;--mat-mdc-button-ripple-color:rgba(33,150,243,.1)}.mat-mdc-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#ff9800;--mat-mdc-button-ripple-color:rgba(255,152,0,.1)}.mat-mdc-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#f44336;--mat-mdc-button-ripple-color:rgba(244,67,54,.1)}.mat-mdc-raised-button[_ngcontent-%COMP%], .mat-mdc-unelevated-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-raised-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-raised-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-raised-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:28px;margin-top:0;margin-bottom:0}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%]{height:100%}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mdc-button[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-button-font-size,14px);line-height:var(--mdc-typography-button-line-height,14px);font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:var(--mdc-typography-button-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration,none);-moz-text-decoration:var(--mdc-typography-button-text-decoration,none);text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:var(--mdc-typography-button-text-transform,none)}.mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:inherit;--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-icon-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-icon-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-icon-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#6200ee;--mat-mdc-button-ripple-color:rgba(98,0,238,.1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#018786;--mat-mdc-button-ripple-color:rgba(1,135,134,.1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#b00020;--mat-mdc-button-ripple-color:rgba(176,0,32,.1)}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#2196f3;--mat-mdc-button-persistent-ripple-color:#2196f3;--mat-mdc-button-ripple-color:rgba(33,150,243,.1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#ff9800;--mat-mdc-button-persistent-ripple-color:#ff9800;--mat-mdc-button-ripple-color:rgba(255,152,0,.1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#f44336;--mat-mdc-button-persistent-ripple-color:#f44336;--mat-mdc-button-ripple-color:rgba(244,67,54,.1)}.mat-mdc-icon-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color:rgba(0,0,0,.38);--mdc-icon-button-disabled-icon-color:rgba(0,0,0,.38)}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size:40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-fab[_ngcontent-%COMP%], .mat-mdc-mini-fab[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-fab[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-fab.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-fab.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.mat-mdc-fab.mat-unthemed[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-unthemed[_ngcontent-%COMP%]{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#000;--mat-mdc-fab-color:#000}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mdc-fab-container-color:#2196f3;--mdc-fab-icon-color:#fff;--mat-mdc-fab-color:#fff}.mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mdc-fab-container-color:#ff9800;--mdc-fab-icon-color:#000;--mat-mdc-fab-color:#000}.mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mdc-fab-container-color:#f44336;--mdc-fab-icon-color:#fff;--mat-mdc-fab-color:#fff}.mat-mdc-fab[disabled][disabled][_ngcontent-%COMP%], .mat-mdc-mini-fab[disabled][disabled][_ngcontent-%COMP%]{--mdc-fab-container-color:rgba(0,0,0,.12);--mdc-fab-icon-color:rgba(0,0,0,.38);--mat-mdc-fab-color:rgba(0,0,0,.38)}.mdc-fab--extended[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-button-font-size,14px);line-height:var(--mdc-typography-button-line-height,14px);font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:var(--mdc-typography-button-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration,none);-moz-text-decoration:var(--mdc-typography-button-text-decoration,none);text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:var(--mdc-typography-button-text-transform,none)}.gmat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;text-transform:none}.gmat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__ripple[_ngcontent-%COMP%]{height:100%;position:absolute;overflow:hidden;width:100%;z-index:0}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.16}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:focus   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:focus   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.24}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.2}.gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):hover{color:var(--mdc-text-button-hover-label-text-color,#202124)}.gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{color:var(--mdc-text-button-focus-label-text-color,#202124)}.gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-text-button-label-text-color:#5f6368}.gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mdc-text-button-label-text-color:#1e88e5;--mdc-text-button-focus-label-text-color:#0d47a1;--mdc-text-button-hover-label-text-color:#0d47a1}.gmat-mdc-button.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mdc-text-button-label-text-color:#fb8c00;--mdc-text-button-focus-label-text-color:#e65100;--mdc-text-button-hover-label-text-color:#e65100}.gmat-mdc-button.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mdc-text-button-label-text-color:#e53935;--mdc-text-button-focus-label-text-color:#b71c1c;--mdc-text-button-hover-label-text-color:#b71c1c}.gmat-mdc-button.mat-mdc-button[disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-text-button-label-text-color:rgba(60,64,67,.38)}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1)}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 24px 0 24px}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):active{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#5f6368}.gmat-mdc-button.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#1e88e5;--mdc-filled-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#fb8c00;--mdc-filled-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#e53935;--mdc-filled-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-unelevated-button[disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-filled-button-label-text-color:rgba(60,64,67,.38);--mdc-filled-button-disabled-container-color:rgba(60,64,67,.12);--mdc-filled-button-container-color:rgba(60,64,67,.12)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 24px 0 24px}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]){box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):active, .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):focus{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#5f6368}.gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#1e88e5;--mdc-protected-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#fb8c00;--mdc-protected-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#e53935;--mdc-protected-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-raised-button[disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-protected-button-label-text-color:rgba(60,64,67,.38);--mdc-protected-button-disabled-container-color:rgba(60,64,67,.12);--mdc-protected-button-container-color:rgba(60,64,67,.12)}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-outlined-button-outline-color:#dadce0;--mdc-outlined-button-label-text-color:#5f6368}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):hover{color:var(--mdc-outlined-button-hover-label-text-color,#202124)}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{color:var(--mdc-outlined-button-focus-label-text-color,#202124)}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{border-color:var(--mdc-outlined-button-focus-outline-color,#202124)}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 23px 0 23px;border-width:1px}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix).mdc-button--icon-trailing{padding:0 11px 0 23px}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix).mdc-button--icon-leading{padding:0 23px 0 11px}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .mdc-button__ripple[_ngcontent-%COMP%]{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:1px}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .mdc-button__touch[_ngcontent-%COMP%]{left:-1px;width:calc(100% + 2px)}.gmat-mdc-button.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mdc-outlined-button-label-text-color:#1e88e5;--mdc-outlined-button-focus-label-text-color:#0d47a1;--mdc-outlined-button-hover-label-text-color:#0d47a1;--mdc-outlined-button-focus-outline-color:#0d47a1}.gmat-mdc-button.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mdc-outlined-button-label-text-color:#fb8c00;--mdc-outlined-button-focus-label-text-color:#e65100;--mdc-outlined-button-hover-label-text-color:#e65100;--mdc-outlined-button-focus-outline-color:#e65100}.gmat-mdc-button.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mdc-outlined-button-label-text-color:#e53935;--mdc-outlined-button-focus-label-text-color:#b71c1c;--mdc-outlined-button-hover-label-text-color:#b71c1c;--mdc-outlined-button-focus-outline-color:#b71c1c}.gmat-mdc-button.mat-mdc-outlined-button[disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:rgba(60,64,67,.38);--mdc-outlined-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-outlined-button-outline-color:rgba(60,64,67,.12);--mdc-outlined-button-disabled-outline-color:rgba(60,64,67,.12)}.gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#3c4043;--mat-mdc-button-persistent-ripple-color:#3c4043;--mat-mdc-button-ripple-color:rgba(60,64,67,.1)}.gmat-mdc-button.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#1e88e5;--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1)}.gmat-mdc-button.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#fb8c00;--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1)}.gmat-mdc-button.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#e53935;--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1)}.gmat-mdc-button.mat-mdc-icon-button[disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color:rgba(60,64,67,.38);--mdc-icon-button-disabled-icon-color:rgba(60,64,67,.38)}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]{padding-left:24px;padding-right:24px}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:16px}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[dir=rtl][_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:-8px}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:-8px}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[dir=rtl][_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:16px}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]), .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]), .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 2px 3px 0 rgba(60,64,67,.3),0 6px 10px 4px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus:active{box-shadow:0 4px 4px 0 rgba(60,64,67,.3),0 8px 12px 6px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-unthemed.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-unthemed.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mat-mdc-button-persistent-ripple-color:#3c4043;--mat-mdc-button-ripple-color:rgba(60,64,67,.1)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill{--mdc-fab-container-color:#1e88e5;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#1e88e5;--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mat-mdc-fab-color:#1e88e5}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-fill, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-fill{--mdc-fab-container-color:#fb8c00;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#fb8c00;--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mat-mdc-fab-color:#fb8c00}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-fill, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-fill{--mdc-fab-container-color:#e53935;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#e53935;--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mat-mdc-fab-color:#e53935}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#424242;--mat-mdc-button-persistent-ripple-color:#1a73e8;--mat-mdc-button-ripple-color:rgba(26,115,232,.1);--mat-mdc-fab-color:#424242;padding-top:2px;padding-right:24px;padding-bottom:2px;padding-left:24px}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus{border-style:solid;border-width:2px;padding-top:2px;padding-right:22px;padding-bottom:2px;padding-left:22px}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus{border-color:#4285f4}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:focus, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:hover{--mat-mdc-fab-color:#174ea6}.gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--text-default);--mdc-text-button-label-text-color:var(--text-default);--mdc-text-button-focus-label-text-color:var(--text-default);--mdc-text-button-hover-label-text-color:var(--text-default)}.gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--primary-default);--mdc-text-button-label-text-color:var(--primary-default);--mdc-text-button-focus-label-text-color:var(--primary-default);--mdc-text-button-hover-label-text-color:var(--primary-default)}.gmat-mdc-button.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--warn-default);--mdc-text-button-label-text-color:var(--warn-default);--mdc-text-button-focus-label-text-color:var(--warn-default);--mdc-text-button-hover-label-text-color:var(--warn-default)}.gmat-mdc-button.mat-mdc-button[disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-text-button-label-text-color:var(--button-disabled-text)}.gmat-mdc-button.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--text-default);--mdc-outlined-button-focus-label-text-color:var(--text-default);--mdc-outlined-button-hover-label-text-color:var(--text-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--text-default)}.gmat-mdc-button.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--primary-default);--mdc-outlined-button-label-text-color:var(--primary-default);--mdc-outlined-button-focus-label-text-color:var(--primary-default);--mdc-outlined-button-hover-label-text-color:var(--primary-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--primary-default)}.gmat-mdc-button.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--warn-default);--mdc-outlined-button-label-text-color:var(--warn-default);--mdc-outlined-button-focus-label-text-color:var(--warn-default);--mdc-outlined-button-hover-label-text-color:var(--warn-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--warn-default)}.gmat-mdc-button.mat-mdc-outlined-button[disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--button-disabled-text);--mdc-outlined-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-outlined-button-outline-color:var(--button-disabled-text);--mdc-outlined-button-disabled-outline-color:var(\n    --button-disabled-text\n  )}.gmat-mdc-button.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--button-raised-bg);--mdc-filled-button-label-text-color:var(--text-default)}.gmat-mdc-button.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--primary-default);--mdc-filled-button-label-text-color:var(--text-inverse)}.gmat-mdc-button.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--warn-default);--mdc-filled-button-label-text-color:var(--text-inverse)}.gmat-mdc-button.mat-mdc-unelevated-button[disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-filled-button-label-text-color:var(--button-disabled-text);--mdc-filled-button-disabled-container-color:var(--button-disabled-bg);--mdc-filled-button-container-color:var(--button-disabled-bg)}.gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--button-raised-bg);--mdc-protected-button-label-text-color:var(--text-default)}.gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--primary-default);--mdc-protected-button-label-text-color:var(--text-inverse)}.gmat-mdc-button.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--warn-default);--mdc-protected-button-label-text-color:var(--text-inverse)}.gmat-mdc-button.mat-mdc-raised-button[disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-protected-button-label-text-color:var(--button-disabled-text);--mdc-protected-button-disabled-container-color:var(\n    --button-disabled-bg\n  );--mdc-protected-button-container-color:var(--button-disabled-bg)}.gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]:not([disabled]), .gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]:not([disabled]), .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]){box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}.gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--text-default)}.gmat-mdc-button.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--primary-default)}.gmat-mdc-button.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--warn-default)}.gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]:disabled   .mat-icon[_ngcontent-%COMP%]{color:var(--button-disabled-text)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline{color:var(--primary-default);background-color:var(--button-raised-bg);box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:hover, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:hover{box-shadow:0 2px 3px 0 var(--elevation),0 6px 10px 4px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:not(.gm-focus-hidden):focus, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:not(.gm-focus-hidden):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab{color:var(--text-inverse);background-color:var(--primary-default);box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:hover, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:hover{box-shadow:0 2px 3px 0 var(--elevation),0 6px 10px 4px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:not(.gm-focus-hidden):focus, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered{box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:hover{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:not(.gm-focus-hidden):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:var(--primary-high-contrast);--mdc-text-button-hover-label-text-color:var(--primary-high-contrast);--mat-mdc-button-ripple-color:var(--primary-high-contrast);--mat-mdc-button-persistent-ripple-color:var(--primary-high-contrast)}.mat-mdc-button-persistent-ripple.mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.5}.tp-table-title[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:12px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin:.83rem 0;height:2.5rem}.tp-table-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .tp-table-title[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:0}.show-hidden[_ngcontent-%COMP%]{margin-left:auto}']});var qGc=[[["","needsInputBadge",""]]],MW=function(a){this.route=a};MW.prototype.ngOnInit=function(){};MW.\u0275fac=function(a){return new (a||MW)(B(xm))};
MW.\u0275cmp=Oc({type:MW,selectors:[["tp-needs-attention"]],ngContentSelectors:["[needsInputBadge]"],decls:6,vars:2,consts:[[1,"tp-needs-attention"],[1,"tp-scrolling-pane"],[1,"tp-content"],[3,"isMyWork"]],template:function(a){a&1&&(Ff(qGc),F(0,"div",0)(1,"div",1)(2,"div",2),I(3,"tp-task-section",3),F(4,"tp-task-section",3),Gf(5),H()()()());a&2&&(z(3),E("isMyWork",!0),z(1),E("isMyWork",!1))},dependencies:[LW],styles:[".tp-toolbar[_ngcontent-%COMP%]{padding:.5rem .75rem;border-bottom:1px solid var(--hairline);height:1.8125rem;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.tp-content[_ngcontent-%COMP%]{padding:0 .75rem .75rem}.tp-scrolling-pane[_ngcontent-%COMP%]{background:var(--surface-secondary)}"]});var rGc=["button"],sGc=new ad("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),tGc=new ad("MatButtonToggleGroup"),uGc={provide:gx,useExisting:Ec(function(){return NW}),multi:!0},vGc=0,wGc=function(a,b){this.source=a;this.value=b},NW=function(a,b){this._changeDetector=a;this._disabled=this._multiple=this._vertical=!1;this._controlValueAccessorChangeFn=function(){};this._onTouched=function(){};this._name="mat-button-toggle-group-"+vGc++;this.valueChange=new kw;this.change=new kw;this.appearance=b&&b.appearance?
b.appearance:"legacy"};f=NW.prototype;f.ngOnInit=function(){this._selectionModel=new Oz(this.multiple,void 0,!1)};f.ngAfterContentInit=function(){this._selectionModel.select.apply(this._selectionModel,cd(this._buttonToggles.filter(function(a){return a.checked})))};f.writeValue=function(a){this.value=a;this._changeDetector.markForCheck()};f.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};f.registerOnTouched=function(a){this._onTouched=a};
f.setDisabledState=function(a){this.disabled=a};f._emitChangeEvent=function(a){a=new wGc(a,this.value);this._controlValueAccessorChangeFn(a.value);this.change.emit(a)};
f._syncButtonToggle=function(a,b,c,d){var e=this;c=void 0===c?!1:c;d=void 0===d?!1:d;this.multiple||!this.selected||a.checked||(this.selected.checked=!1);this._selectionModel?b?this._selectionModel.select(a):this._selectionModel.deselect(a):d=!0;d?Promise.resolve().then(function(){return e._updateModelValue(a,c)}):this._updateModelValue(a,c)};f._isSelected=function(a){return this._selectionModel&&this._selectionModel.isSelected(a)};
f._isPrechecked=function(a){return"undefined"===typeof this._rawValue?!1:this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(function(b){return null!=a.value&&b===a.value}):a.value===this._rawValue};f._setSelectionByValue=function(a){var b=this;this._rawValue=a;this._buttonToggles&&(this.multiple&&a?(Array.isArray(a),this._clearSelection(),a.forEach(function(c){return b._selectValue(c)})):(this._clearSelection(),this._selectValue(a)))};
f._clearSelection=function(){this._selectionModel.clear();this._buttonToggles.forEach(function(a){return a.checked=!1})};f._selectValue=function(a){var b=this._buttonToggles.find(function(c){return null!=c.value&&c.value===a});b&&(b.checked=!0,this._selectionModel.select(b))};f._updateModelValue=function(a,b){b&&this._emitChangeEvent(a);this.valueChange.emit(this.value)};f._markButtonsForCheck=function(){var a;null==(a=this._buttonToggles)||a.forEach(function(b){return b._markForCheck()})};
sh.Object.defineProperties(NW.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._name=a;this._markButtonsForCheck()}},vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=Fg(a)}},value:{configurable:!0,enumerable:!0,get:function(){var a=this._selectionModel?this._selectionModel.selected:[];return this.multiple?a.map(function(b){return b.value}):a[0]?a[0].value:void 0},set:function(a){this._setSelectionByValue(a);
this.valueChange.emit(this.value)}},selected:{configurable:!0,enumerable:!0,get:function(){var a=this._selectionModel?this._selectionModel.selected:[];return this.multiple?a:a[0]||null}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=Fg(a);this._markButtonsForCheck()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Fg(a);this._markButtonsForCheck()}}});
NW.\u0275fac=function(a){return new (a||NW)(B(Kw),B(sGc,8))};
NW.\u0275dir=Sc({type:NW,selectors:[["mat-button-toggle-group"]],contentQueries:function(a,b,c){a&1&&cg(c,OW,5);if(a&2){var d;ag(d=dg())&&(b._buttonToggles=d)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(a,b){a&2&&(of("aria-disabled",b.disabled),xf("mat-button-toggle-vertical",b.vertical)("mat-button-toggle-group-appearance-standard","standard"===b.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",
disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[Of([uGc,{provide:tGc,useExisting:NW}])]});var xGc=uh(function(){}),OW=function(a,b,c,d,e,g){var h=xGc.call(this)||this;h._changeDetectorRef=b;h._elementRef=c;h._focusMonitor=d;h._checked=!1;h.ariaLabelledby=null;h._disabled=!1;h.change=new kw;e=Number(e);h.tabIndex=e||0===e?e:null;h.buttonToggleGroup=a;h.appearance=g&&g.appearance?g.appearance:"legacy";return h};T(OW,xGc);f=OW.prototype;
f.ngOnInit=function(){var a=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+vGc++;a&&(a._isPrechecked(this)?this.checked=!0:a._isSelected(this)!==this._checked&&a._syncButtonToggle(this,this._checked))};f.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};f.ngOnDestroy=function(){var a=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef);a&&a._isSelected(this)&&a._syncButtonToggle(this,!1,!1,!0)};f.focus=function(a){this._buttonElement.nativeElement.focus(a)};
f._onButtonClick=function(){var a=this._isSingleSelector()?!0:!this._checked;a!==this._checked&&(this._checked=a,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched()));this.change.emit(new wGc(this,this.value))};f._markForCheck=function(){this._changeDetectorRef.markForCheck()};f._getButtonName=function(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null};
f._isSingleSelector=function(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple};
sh.Object.defineProperties(OW.prototype,{buttonId:{configurable:!0,enumerable:!0,get:function(){return this.id+"-button"}},appearance:{configurable:!0,enumerable:!0,get:function(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance},set:function(a){this._appearance=a}},checked:{configurable:!0,enumerable:!0,get:function(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked},set:function(a){a=Fg(a);a!==this._checked&&(this._checked=a,this.buttonToggleGroup&&
this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled},set:function(a){this._disabled=Fg(a)}}});OW.\u0275fac=function(a){return new (a||OW)(B(tGc,8),B(Kw),B(Dd),B(by),wd("tabindex"),B(sGc,8))};
OW.\u0275cmp=Oc({type:OW,selectors:[["mat-button-toggle"]],viewQuery:function(a,b){a&1&&bg(rGc,5);if(a&2){var c;ag(c=dg())&&(b._buttonElement=c.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(a,b){a&1&&L("focus",function(){return b.focus()});a&2&&(of("aria-label",null)("aria-labelledby",null)("id",b.id)("name",null),xf("mat-button-toggle-standalone",!b.buttonToggleGroup)("mat-button-toggle-checked",b.checked)("mat-button-toggle-disabled",b.disabled)("mat-button-toggle-appearance-standard",
"standard"===b.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[kf],ngContentSelectors:["*"],decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,
"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(a,b){a&1&&(Ff(),F(0,"button",0,1),L("click",function(){return b._onButtonClick()}),F(2,"span",2),Gf(3),H()(),I(4,"span",3)(5,"span",4));if(a&2){var c=Kf(1);E("id",b.buttonId)("disabled",b.disabled||null);of("tabindex",b.disabled?-1:b.tabIndex)("aria-pressed",b.checked)("name",b._getButtonName())("aria-label",b.ariaLabel)("aria-labelledby",
b.ariaLabelledby);z(5);E("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)}},dependencies:[rA],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}\n"],
encapsulation:2,changeDetection:0});var S_a=function(){return{standalone:!0}},yGc=qdc("bhome-layout"),zGc=ao.EXPERIMENTAL_HOMEPAGE,PW=function(a,b,c,d,e,g,h){var l=this;this.hackyPrefs=a;this.refreshMonitor=b;this.pageTitle=c;this.analytics=d;this.hostElement=e;this.userFeedback=g;this.tasks=h;this.isCurrentUserHomepage=!0;yGc();this.announcement=vl().preload.announcement;this.VALID_WIDGETS_A=kac;this.VALID_WIDGETS_W=mac;this.VALID_WIDGETS_T=lac;this.log=console.log.bind(console);this.showSettings=!1;this.ldapOverride=Tl();this.taskPrioritizationTasksCount$=
(0,D.defer)(function(){return sFc(l.tasks)});this.onAnyClick=function(q){q=$va(q);for(var v=k(Object.entries(AGc)),x=v.next();!x.done;x=v.next()){var A=k(x.value);x=A.next().value;A=A.next().value;if(q.includes(x)){l.analytics.trackEvent(zGc,"click",A);break}}}};
PW.prototype.ngOnInit=function(){this.pageTitle.setTitle("Home");var a;var b=null!=(a=(new URLSearchParams(document.location.search)).get("cfg"))?a:void 0;this.hackyPrefs.init(this.ldapOverride,b);this.isCurrentUserHomepage=null==this.ldapOverride?!0:Tl()===Ul;this.hostElement.nativeElement.addEventListener("click",this.onAnyClick,!0)};PW.prototype.ngOnDestroy=function(){this.hostElement.nativeElement.removeEventListener("click",this.onAnyClick,!0)};
var R_a=function(a){return pe(function(b){if(1==b.nextAddress)return b.yield(Uec(a.hackyPrefs),2);window.location.reload();ue(b)})};sh.Object.defineProperties(PW.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});PW.\u0275fac=function(a){return new (a||PW)(B(rJ),B(HI),B(wW),B(EI),B(Dd),B(YQ),B(gW))};
PW.\u0275cmp=Oc({type:PW,selectors:[["homepage-wrapper"]],decls:3,vars:3,consts:[["href","https://fonts.googleapis.com/css2?family=Google+Material+Icons:wght@400;500;700","rel","stylesheet"],["class","flex-kids-y pos-fill bg-off-main overflow overflow-on-print-media",3,"settings-open","show-hidden-settings",4,"ngIf"],[1,"flex-kids-y","pos-fill","bg-off-main","overflow","overflow-on-print-media"],[1,"grid-header","padded-left","padded-s-right","flex-kids-x","align-items-center","justify-flex-end"],
["class","announcement-banner carded",4,"ngIf","ngIfElse"],["noFeedbackMsg",""],[1,"hidden-settings",3,"submit"],["type","text","placeholder","Show Dashboard for user",2,"width","180px",3,"ngModel","ngModelOptions","ngModelChange"],["type","submit",1,"display-none"],["mat-icon-button","","matTooltip","Configure home page","aria-label","Configure home page",1,"gmat-button","large",3,"click"],["svgIcon","settings","size","large"],[1,"settings","bg-muted","border-bottom"],[1,"padded","margin-top"],[1,
"hidden-settings"],[1,"mat-elevation-z0",3,"change"],["aria-label","Alerts Above","matTooltip","Alerts Above","value","layout-a",3,"checked"],[1,"google-material-icons","rotate-icon"],["aria-label","Side-by-side","matTooltip","Side-by-side","value","layout-b",3,"checked"],["aria-label","Tab Layout","matTooltip","Tab Layout","value","layout-c",3,"checked"],["svgIcon","child-components-24px",1,"small"],[1,"mat-elevation-z0","bordered",3,"change"],["aria-label","true",1,"padded-s-x",3,"value","checked"],
["aria-label","false",1,"padded-s-x",3,"value","checked"],[3,"submit"],[1,"flex-kids-x","gap","margin-bottom"],[1,"flex-1"],[1,"row"],["type","text",3,"ngModel","ngModelOptions","ngModelChange"],[1,"muted","type-xs"],["type","button","mat-button","","color","primary","class","xs display-block",3,"click",4,"ngFor","ngForOf"],["type","submit","mat-flat-button","",1,"gmat-button"],[1,"subtle-link","muted","margin-x",3,"href"],["type","button","mat-button","","color","warn","title","This will reset all your dashboard settings to the default",
1,"gmat-button","margin-left",3,"click"],["mat-icon-button","","color","primary","title","Refresh","aria-label","Refresh","type","button",1,"gmat-button","large",3,"click"],["svgIcon","refresh","size","large"],["cdkDropListGroup",""],["class","a",4,"ngIf"],[1,"w"],["class","carded bg-main margin-s-bottom",4,"ngIf"],[4,"ngIf"],["class","margin-top",4,"ngIf"],["class","carded bg-main","style","margin-bottom: 24px;","cdkDropList","",3,"cdkDropListDropped",4,"ngIf"],["class","margin-top",3,"assignedOnly",
4,"ngIf"],["class","t",4,"ngIf"],[1,"announcement-banner","carded"],[3,"innerHtml"],["mat-flat-button","","matTooltip","Every voice counts; only ~1000 people can see the homepage.",1,"gmat-button","small","margin-s-left",3,"click"],["mat-stroked-button","","matTooltip","Every voice counts; only ~1000 people can see the homepage.",1,"gmat-button","medium","plain-announcement-btn","margin-s-right",3,"click"],["type","button","mat-button","","color","primary",1,"xs","display-block",3,"click"],[1,"a"],
[1,"carded","bg-main","margin-s-bottom"],[1,"margin-top"],["cdkDropList","",1,"carded","bg-main",2,"margin-bottom","24px",3,"cdkDropListDropped"],["pinnedIssues","cdkDropList"],[1,"margin-top",3,"assignedOnly"],[1,"t"],["class","margin-bottom",4,"ngIf"],[1,"margin-bottom"],["class","needs-input-badge","needsInputBadge","",4,"ngIf"],["needsInputBadge","",1,"needs-input-badge"]],template:function(a,b){a&1&&(I(0,"link",0),O(1,T_a,82,50,"article",1),R(2,"async"));a&2&&(z(1),E("ngIf",S(2,1,b.hackyPrefs.prefs$)))},
dependencies:[sV,Qw,Rw,HB,dM,cM,Bx,wg,tx,ux,Ax,yx,NW,OW,QA,lD,HV,JV,jW,kW,iW,mW,oW,GFc,qW,rW,MW,tW,uW,dU,vW,lW,hW,BW,Xw],styles:['[_nghost-%COMP%]{display:block}.grid[_ngcontent-%COMP%]{display:grid;-webkit-column-gap:24px;-moz-column-gap:24px;column-gap:24px;grid-template:-webkit-min-content 1fr/1fr 1fr;grid-template:min-content 1fr/1fr 1fr;grid-template-areas:"a a" "w t"}.grid[_ngcontent-%COMP%] > section[_ngcontent-%COMP%]{min-width:0}button.mat-icon-button.active[_ngcontent-%COMP%], button.mat-icon-button.active[_ngcontent-%COMP%]:not(.mat-primary):not([disabled]){color:#1a73e8;color:var(--primary)}.grid-header[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:100%;-moz-box-sizing:border-box;box-sizing:border-box;z-index:1}.settings[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{margin-bottom:8px}.settings[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:inline-block;min-width:16rem}.settings[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .settings[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{vertical-align:middle;margin-right:4px;width:300px}.a[_ngcontent-%COMP%]{grid-area:a}.w[_ngcontent-%COMP%]{grid-area:w}.t[_ngcontent-%COMP%]{grid-area:t}.layout-a[_ngcontent-%COMP%]{grid-template-areas:"a a" "w t"}.layout-b[_ngcontent-%COMP%]{grid-template-areas:"w a" "w t"}.layout-c[_ngcontent-%COMP%]{grid-template-areas:"a a" "t t" "w w"}@media (max-width:1400px){.grid[_ngcontent-%COMP%], .layout-a[_ngcontent-%COMP%], .layout-b[_ngcontent-%COMP%]{grid-template-areas:"a a" "w w" "t t"}.layout-c[_ngcontent-%COMP%]{grid-template-areas:"a a" "t t" "w w"}}mat-button-toggle-group[_ngcontent-%COMP%]{box-shadow:none}mat-button-toggle-group[_ngcontent-%COMP%]   .mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#d2e3fc;background-color:var(--selected-bg)}[_nghost-%COMP%]     .mat-button-toggle-label-content{padding:0}.rotate-icon[_ngcontent-%COMP%]{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.plain-announcement-btn[_ngcontent-%COMP%]{top:1px}.announcement-banner[_ngcontent-%COMP%]{background-color:#e8f0fe;background-color:var(--primary-c50);position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);top:2px;padding:4px;padding-left:8px}[mat-button].xs[_ngcontent-%COMP%]{height:16px;line-height:16px;padding:0 2px;font-weight:400;font-size:.6875rem;font-family:Roboto,Arial,sans-serif}[_nghost-%COMP%]     .carded{box-shadow:0 1px 2px 0 hsla(0,0%,50%,.3),0 2px 6px 2px hsla(0,0%,50%,.15);border:none}.dark-mode   [_nghost-%COMP%]     .carded{box-shadow:0 2px 3px 0 rgba(0,0,0,.3),0 6px 10px 4px rgba(0,0,0,.15)}[_nghost-%COMP%]     .carded .carded{border:1px solid;border-color:#dadce0;border-color:var(--divider);box-shadow:none}.hidden-settings[_ngcontent-%COMP%]{display:none}.show-hidden-settings[_ngcontent-%COMP%]   .hidden-settings[_ngcontent-%COMP%]{display:revert}[_nghost-%COMP%]     h2{font-weight:500}[_nghost-%COMP%]     .tp-needs-attention .bv2-view{position:relative;top:auto}[_nghost-%COMP%]     .tp-needs-attention .tp-content{padding:0}[_nghost-%COMP%]     .tp-needs-attention .tp-toolbar{display:none}[_nghost-%COMP%]     .tp-needs-attention .tp-table-title{padding-left:0}[_nghost-%COMP%]     .tp-needs-attention .tp-scrolling-pane{background:transparent}.needs-input-badge[_ngcontent-%COMP%]{background:#d93025;border-radius:50%;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-size:.625rem;font-weight:600;height:20px;line-height:20px;margin-left:-4px;overflow:hidden;text-align:center;width:20px}[_nghost-%COMP%]     .cdk-drop-list-dragging:not(table[cdkdroplistsortingdisabled]), [_nghost-%COMP%]     .cdk-drop-list-receiving:not(table[cdkdroplistsortingdisabled]){box-shadow:0 1px 3px 0 rgba(0,0,0,.3),0 4px 8px 3px rgba(0,0,0,.15);border:2px dashed;border-color:#1a73e8;border-color:var(--primary)}.settings[_ngcontent-%COMP%]{overflow:hidden;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;max-height:100%;-webkit-transition:max-height .4s ease-in-out;transition:max-height .4s ease-in-out}.settings.collapsed[_ngcontent-%COMP%]{max-height:0;border-bottom-color:transparent}article.bg-off-main[_ngcontent-%COMP%]{-webkit-transition:background-color .2s ease-out;transition:background-color .2s ease-out}article.settings-open.bg-off-main[_ngcontent-%COMP%]{background-color:#e8eaed;background-color:var(--c200)}[_nghost-%COMP%]     my-projects-as-cards .edit-controls{overflow:hidden;max-width:0;-webkit-transition:max-width .2s ease-out;transition:max-width .2s ease-out;-webkit-transition-delay:.2s;transition-delay:.2s}[_nghost-%COMP%]     .settings-open my-projects-as-cards button.remove{display:inline-block}[_nghost-%COMP%]     .settings-open my-projects-as-cards .edit-controls{max-width:100%}[_nghost-%COMP%]     .needs-input-badge{background-color:#5f6368;background-color:var(--icon);color:#fff;color:var(--text-inverse)}\n/*# sourceMappingURL=homepage_wrapper.css.map */']});
var AGc={"BUTTON[projectAdd]":"project-add-btn","HOTLIST-AS-PROJECT-CARD":"project-hotlist","ISSUE-AS-PROJECT-CARD":"project-issue","SAVED-SEARCH-AS-PROJECT-CARD":"project-savedsearch","MY-WORK-CARD":"project-mywork","TP-TASK-SECTION[reccTasks]":"tasks-recommended","TP-TASK-SECTION[needsInput]":"tasks-needs-input"};var QW=function(){};QW.\u0275fac=function(a){return new (a||QW)};QW.\u0275mod=Qc({type:QW});QW.\u0275inj=zc({imports:[ex,hA,hA]});var RW=function(){};RW.\u0275fac=function(a){return new (a||RW)};RW.\u0275mod=Qc({type:RW});RW.\u0275inj=zc({imports:[OG,Px,ED,kU,fE,QW,gA,ly,vO,nz,KK,RP]});var SW=function(){};SW.\u0275fac=function(a){return new (a||SW)};SW.\u0275mod=Qc({type:SW});SW.\u0275inj=zc({imports:[OG,yO,gO,tO]});var BGc=function(a){this.internalArray_=m(a)};T(BGc,p);f=BGc.prototype;f.getReason=function(){return Zi(this,1,0)};f.setReason=function(a){Yi(this,1,a)};f.getMessage=function(){return U(this,2)};f.setMessage=function(a){sk(this,2,a)};f.toObject=function(){return CGc(this)};var CGc=function(a){if(null!=a)return r(a),{reason:Zi(a,1,0),message:n(Z(a,2))}};var DGc=function(a){this.internalArray_=m(a)};T(DGc,p);DGc.prototype.getCategory=function(){return Zi(this,3,0)};DGc.prototype.toObject=function(){return EGc(this)};var EGc=function(a){if(null!=a)return r(a),{category:Zi(a,3,0),probability:Zi(a,4,0)}};var FGc=function(a){this.internalArray_=m(a)};T(FGc,p);FGc.prototype.getCategory=function(){return Zi(this,3,0)};FGc.prototype.toObject=function(){return GGc(this)};var GGc=function(a){if(null!=a)return r(a),{category:Zi(a,3,0),threshold:Zi(a,4,0)}};var HGc=function(a){this.internalArray_=m(a)};T(HGc,p);HGc.prototype.toObject=function(){return IGc(this)};var IGc=function(a){if(null!=a)return r(a),{rating:EGc(X(a,DGc,1)),setting:GGc(X(a,FGc,2))}};var JGc=function(a){this.internalArray_=m(a)};T(JGc,p);JGc.prototype.setUri=function(a){return sk(this,3,a)};JGc.prototype.toObject=function(){return KGc(this)};var KGc=function(a){if(null!=a)return r(a),{startIndex:n(ft(a,1)),endIndex:n(ft(a,2)),uri:n(Z(a,3)),license:n(Z(a,4))}};var LGc=function(a){this.internalArray_=m(a)};T(LGc,p);LGc.repeatedFields_=[1];LGc.prototype.toObject=function(){return MGc(this)};var MGc=function(a){if(null!=a)return r(a),{citationSourcesList:Ub(kj(a,JGc,1),KGc)}};var NGc=function(a){this.internalArray_=m(a)};T(NGc,p);NGc.repeatedFields_=[2];NGc.prototype.toObject=function(){return OGc(this)};var OGc=function(a){if(null!=a)return r(a),{output:U(a,1),safetyRatingsList:Ub(kj(a,DGc,2),EGc),citationMetadata:MGc(X(a,LGc,3))}};var TW=function(a){this.internalArray_=m(a,0,TW.messageId)};T(TW,p);TW.repeatedFields_=[1,3,4];TW.prototype.toObject=function(){if(null!=this){r(this);var a={candidatesList:Ub(kj(this,NGc,1),OGc),filtersList:Ub(kj(this,BGc,3),CGc),safetyFeedbackList:Ub(kj(this,HGc,4),IGc)}}else a=void 0;return a};TW.messageId="b.GenerateTextResponse";var UW=function(a){this.executor=a};UW.prototype.generate=function(a){return this.executor.post({url:"/action/palm/generate",body:a,responseConstructor:TW})};UW.\u0275fac=function(a){return new (a||UW)(t(iE))};UW.\u0275prov=yc({token:UW,factory:UW.\u0275fac,providedIn:"root"});var VW=function(a){this.internalArray_=m(a)};T(VW,p);VW.prototype.getText=function(){return U(this,1)};VW.prototype.setText=function(a){return wj(this,1,a)};VW.prototype.toObject=function(){return PGc(this)};var PGc=function(a){if(null!=a)return r(a),{text:U(a,1)}};var WW=function(a){this.internalArray_=m(a)};T(WW,p);WW.prototype.setModel=function(a){return wj(this,1,a)};WW.prototype.getPrompt=function(){return X(this,VW,2)};WW.prototype.setPrompt=function(a){return hj(this,VW,2,a)};WW.repeatedFields_=[8,9];
WW.prototype.toObject=function(){if(null!=this){r(this);var a={model:U(this,1),prompt:PGc(this.getPrompt()),temperature:n(Ho(this,3)),candidateCount:n(ft(this,4)),maxOutputTokens:n(ft(this,5)),topP:n(Ho(this,6)),topK:n(ft(this,7)),safetySettingsList:Ub(kj(this,FGc,8),GGc),stopSequencesList:n(Th(this,9))}}else a=void 0;return a};var XW=function(a,b,c){var d=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.palmApi=c;this.summarizeCommentThread=rza(function(e){var g,h,l,q,v,x,A,G;return pe(function(M){if(1==M.nextAddress)return M.yield(QGc(d,e),2);if(3!=M.nextAddress){g=M.yieldResult;if(!g)return M.return(void 0);h="Please provide a brief summary of the following conversation using 3 lines. \n\n"+[g.description].concat(cd(g.comments)).join("\n");return M.yield(RGc(d,h),3)}l=M.yieldResult;x=k(null!=(v=null==(q=l)?void 0:
q.split("\n\n"))?v:[]);x.next();G=A=x.next().value;return M.return(G||l)})})},RGc=function(a,b){var c,d,e;return pe(function(g){if(1==g.nextAddress)return c=(new WW).setModel("models/text-bison-001").setPrompt((new VW).setText(b)),g.yield(a.palmApi.generate(c),2);d=g.yieldResult;return g.return(null==(e=kj(d,NGc,1)[0])?void 0:U(e,1).replace(/\\n/,"\n"))})},QGc=function(a,b){var c,d,e,g,h,l,q,v,x;return pe(function(A){if(1==A.nextAddress)return A.yield(Promise.all([(0,D.firstValueFrom)(a.issueFridge.watch(b,
{trustUncertainMemory:!0})),(0,D.firstValueFrom)(a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}))]),2);c=A.yieldResult;d=k(c);e=d.next().value;g=d.next().value;h=e;l=g;if(!h||!l)return A.return(void 0);q=l.events;v=q.filter(function(G){return G.userPerformingAction.includes("@google.com")}).filter(function(G){return G.unlinkifiedComment}).map(function(G){return G.userPerformingAction.split("@")[0]+": "+G.unlinkifiedComment}).filter(Ai);x=q[0].userPerformingAction.includes("@google.com")&&
q[0].unlinkifiedComment||void 0;return A.return({title:h.snapshot[0].title,description:x,comments:v})})};XW.\u0275fac=function(a){return new (a||XW)(t(JI),t(nG),t(UW))};XW.\u0275prov=yc({token:XW,factory:XW.\u0275fac,providedIn:"root"});var YW=function(){this.roundCorners=this.showDividers=!1};YW.\u0275fac=function(a){return new (a||YW)};
YW.\u0275cmp=Oc({type:YW,selectors:[["b-button-group"]],hostVars:4,hostBindings:function(a,b){a&2&&xf("show-dividers",b.showDividers)("round-corners",b.roundCorners)},inputs:{showDividers:"showDividers",roundCorners:"roundCorners"},ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Ff(),Gf(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 ZW=function(a,b){this.constants=a;this.activeSession=b;this.STATUS_JS_FULL_TEXT=xl;this.ISSUE_TYPES=$J;this.STATUSES=zgc;this.SEVERITIES_VALUES=Agc;this.PRIORITIES_VALUES=ygc;this.enableBulkEstimatedEffortOption=!1;this.onBulkEdit=new kw;this.onQuickBulkEdit=new kw;this.onBulkEditIssueRelation=new kw;this.onBulkMarkIssueRead=new kw;this.isAnonymous=this.activeSession.isAnonymous();this.enableBulkEditUi=pF(this.activeSession,"enableBulkEditUi")};ZW.prototype.bulkEdit=function(a){this.onBulkEdit.emit(a)};
ZW.prototype.quickBulkEdit=function(a,b){this.onQuickBulkEdit.emit({field:a,newValue:b})};ZW.prototype.bulkEditIssueRelation=function(a,b){this.onBulkEditIssueRelation.emit({issueRelation:a,isMarking:void 0===b?!0:b})};ZW.prototype.bulkMarkIssueRead=function(){this.onBulkMarkIssueRead.emit()};ZW.\u0275fac=function(a){return new (a||ZW)(B(cK),B(Bs))};
ZW.\u0275cmp=Oc({type:ZW,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&&(F(0,"b-button-group"),O(1,U_a,4,2,"button",0),F(2,"button",1),L("click",function(){return b.bulkMarkIssueRead()}),P(3),H(),O(4,V_a,4,2,"button",0),O(5,W_a,4,2,"button",0),H(),F(6,"mat-menu",null,2)(8,"button",3),L("click",function(){return b.bulkEdit("ASSIGNEE")}),P(9,"Assignee"),H(),F(10,"button",3),L("click",function(){return b.bulkEdit("COMPONENT")}),
P(11,"Component"),H(),F(12,"button",4),P(13,"Priority"),H(),F(14,"button",4),P(15,"Severity"),H(),F(16,"button",4),P(17,"Status"),H(),F(18,"button",4),P(19,"Type"),H(),F(20,"button",3),L("click",function(){return b.bulkEdit("VERIFIER")}),P(21,"Verifier"),H(),F(22,"button",3),L("click",function(){return b.bulkEdit("REPORTER")}),P(23,"Reporter"),H(),F(24,"button",3),L("click",function(){return b.bulkEdit("CHANGELIST")}),P(25,"Changelist"),H(),F(26,"button",3),L("click",function(){return b.bulkEdit("CUSTOM_FIELDS")}),
P(27,"Custom Fields"),H(),F(28,"button",4),P(29," Archival state "),H(),F(30,"button",3),L("click",function(){return b.bulkEdit("FOUND_IN")}),P(31,"Found In"),H(),F(32,"button",3),L("click",function(){return b.bulkEdit("SLO_START_TIME")}),P(33,"SLO Start Time"),H(),O(34,X_a,2,0,"button",5),F(35,"button",3),L("click",function(){return b.bulkEdit("VERIFIED_IN")}),P(36,"Verified In"),H(),F(37,"button",3),L("click",function(){return b.bulkEdit("TARGETED_TO")}),P(38,"Targeted To"),H(),F(39,"button",4),
P(40,"In Prod"),H(),I(41,"mat-divider"),F(42,"button",3),L("click",function(){return b.bulkEdit("COMMENT")}),P(43,"Add Comment"),H()(),F(44,"mat-menu",null,6),O(46,Y_a,2,1,"button",7),H(),F(47,"mat-menu",null,8),O(49,Z_a,2,1,"button",7),H(),F(50,"mat-menu",null,9),O(52,$_a,2,1,"button",7),H(),F(53,"mat-menu",null,10),O(55,a0a,2,2,"button",11),H(),F(56,"mat-menu",null,12)(58,"button",3),L("click",function(){return b.quickBulkEdit("IS_ARCHIVED",!0)}),P(59,"Archive"),H(),F(60,"button",3),L("click",function(){return b.quickBulkEdit("IS_ARCHIVED",
!1)}),P(61,"Unarchive"),H()(),F(62,"mat-menu",null,13)(64,"button",3),L("click",function(){return b.quickBulkEdit("IN_PROD",!0)}),P(65,"In Prod"),H(),F(66,"button",3),L("click",function(){return b.quickBulkEdit("IN_PROD",!1)}),P(67,"Not in Prod"),H()(),F(68,"mat-menu",null,14)(70,"button",3),L("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!0)}),P(71,"Mark as Blocked By"),H(),F(72,"button",3),L("click",function(){return b.bulkEditIssueRelation("BLOCKING",!0)}),P(73,"Mark as Blocking"),
H(),F(74,"button",3),L("click",function(){return b.bulkEditIssueRelation("PARENT",!0)}),P(75,"Add Parent"),H(),F(76,"button",3),L("click",function(){return b.bulkEditIssueRelation("DUPLICATE")}),P(77,"Duplicate"),H(),F(78,"button",3),L("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!1)}),P(79,"Unmark as Blocked By"),H(),F(80,"button",3),L("click",function(){return b.bulkEditIssueRelation("BLOCKING",!1)}),P(81,"Unmark as Blocking"),H(),F(82,"button",3),L("click",function(){return b.bulkEditIssueRelation("PARENT",
!1)}),P(83,"Remove Parent"),H()(),F(84,"mat-menu",null,15)(86,"button",3),L("click",function(){return b.quickBulkEdit("CC",!0)}),P(87,"CC me"),H(),F(88,"button",3),L("click",function(){return b.quickBulkEdit("CC",!1)}),P(89,"Un-CC me"),H(),F(90,"button",3),L("click",function(){return b.bulkEdit("CC")}),P(91,"Edit CC"),H()());if(a&2){var c=Kf(45),d=Kf(48),e=Kf(51),g=Kf(54),h=Kf(57),l=Kf(63);z(1);E("ngIf",b.enableBulkEditUi);z(1);E("disabled",b.isAnonymous);z(1);Lf(" ",b.readStatePrompt," ");z(1);E("ngIf",
b.enableBulkEditUi);z(1);E("ngIf",b.enableBulkEditUi);z(7);E("matMenuTriggerFor",c);z(2);E("matMenuTriggerFor",d);z(2);E("matMenuTriggerFor",e);z(2);E("matMenuTriggerFor",g);z(10);E("matMenuTriggerFor",h);z(6);E("ngIf",b.enableBulkEstimatedEffortOption);z(5);E("matMenuTriggerFor",l);z(7);E("ngForOf",b.PRIORITIES_VALUES);z(3);E("ngForOf",b.SEVERITIES_VALUES);z(3);E("ngForOf",b.STATUSES);z(3);E("ngForOf",b.ISSUE_TYPES)}},dependencies:[dD,bD,cD,Qw,Rw,dO,YW,QA,XM,lD],encapsulation:2,changeDetection:0});var $W=function(a){this.activeSession=a;this.showFlagIssuesAsSpam=this.showExportCsv=!1;this.exportCsvClicked=new kw;this.flagAsSpamClicked=new kw;this.isAnonymous=this.activeSession.isAnonymous()};$W.\u0275fac=function(a){return new (a||$W)(B(Bs))};
$W.\u0275cmp=Oc({type:$W,selectors:[["b-app-bar-more-menu"]],inputs:{showExportCsv:"showExportCsv",showFlagIssuesAsSpam:"showFlagIssuesAsSpam"},outputs:{exportCsvClicked:"exportCsvClicked",flagAsSpamClicked:"flagAsSpamClicked"},decls:1,vars:1,consts:[[4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"disabled","matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["moreMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(a,b){a&1&&
O(0,d0a,9,4,"ng-container",0);a&2&&E("ngIf",b.showExportCsv||b.showFlagIssuesAsSpam)},dependencies:[dD,bD,cD,Rw,dO,QA],encapsulation:2,changeDetection:0});var aX=function(){};aX.\u0275fac=function(a){return new (a||aX)};aX.\u0275mod=Qc({type:aX});aX.\u0275inj=zc({imports:[OG]});var bX=function(){};bX.\u0275fac=function(a){return new (a||bX)};bX.\u0275mod=Qc({type:bX});bX.\u0275inj=zc({imports:[eD,OG,zO,aX,ED,kU,fE]});var cX=function(a,b,c){var d=this;this.activeSession=a;this.connectionChecker=b;this.ssoInterceptorState=c;this.notifyUserAndWaitForGoodConnection$=new D.Observable(function(e){d.ssoInterceptorState.showRefreshSso$.next(!0);var g=d.watchForRestoredConnection$.subscribe(e),h=new D.ReplaySubject(1);d.watchForRestoredConnection$.pipe(af(h)).subscribe(function(){d.ssoInterceptorState.showRefreshSso$.next(!1)});return function(){h.next();g.unsubscribe()}});this.watchForRestoredConnection$=(0,D.fromEvent)(window,
"focus").pipe($e(function(){return d.connectionChecker.ok$}),Ge(function(e){return e}),Oe(),C(function(){}),We())};cX.prototype.intercept=function(a,b){return pF(this.activeSession,"enableRefreshSsoPopup")&&a.url&&a.url.startsWith("action/")?SGc(this,b,a):b.handle(a)};
var SGc=function(a,b,c){return new D.Observable(function(d){var e=b.handle(c).subscribe({next:function(h){d.next(h)},complete:function(){d.complete()},error:function(h){TGc(a,b,c,h).pipe(af(g)).subscribe(d)}}),g=new D.ReplaySubject(1);return function(){g.next();e.unsubscribe()}})},TGc=function(a,b,c,d){return 403===d.status||404===d.status||429===d.status?(0,D.throwError)(d):a.connectionChecker.ok$.pipe($e(function(e){return e?(0,D.throwError)(d):a.notifyUserAndWaitForGoodConnection$.pipe($e(function(){return b.handle(c)}))}))};
cX.\u0275fac=function(a){return new (a||cX)(t(Bs),t(dX),t(eX))};cX.\u0275prov=yc({token:cX,factory:cX.\u0275fac,providedIn:"root"});var eX=function(){this.showRefreshSso$=new D.BehaviorSubject(!1)};eX.\u0275fac=function(a){return new (a||eX)};eX.\u0275prov=yc({token:eX,factory:eX.\u0275fac,providedIn:"root"});
var dX=function(a){var b=this;this.ngZone=a;this.ok$=new D.Observable(function(c){var d=Bh("action/yes",function(){b.ngZone.run(function(){d.isSuccess()?c.next("yes"===d.getResponseText()):c.next(!1);c.complete()})});return function(){d.dispose()}})};dX.\u0275fac=function(a){return new (a||dX)(t(df))};dX.\u0275prov=yc({token:dX,factory:dX.\u0275fac,providedIn:"root"});var UGc={provide:Ey,useClass:cX,multi:!0};var VGc=function(a,b){return[a,b]},WGc=[[["b-callout-body"]],[["b-callout-actions"]]],fX=function(){this.messageType="info";this.format="default"};fX.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"}};fX.\u0275fac=function(a){return new (a||fX)};
fX.\u0275cmp=Oc({type:fX,selectors:[["b-callout"]],hostVars:5,hostBindings:function(a,b){a&2&&yf(Sf(2,VGc,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&&(Ff(WGc),F(0,"div",0),I(1,"mat-icon",1),F(2,"div",2),Gf(3),H(),F(4,"div",3),Gf(5,1),H()());a&2&&(z(1),
E("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 gX=function(){};gX.\u0275fac=function(a){return new (a||gX)};gX.\u0275dir=Sc({type:gX,selectors:[["b-callout-body"],["b-callout-actions"]]});var XGc=function(a,b){this.activeSession=a;this.isAnonymous=this.activeSession.isAnonymous();this.showRefreshSsoMessage$=b.showRefreshSso$};XGc.\u0275fac=function(a){return new (a||XGc)(B(Bs),B(eX))};
XGc.\u0275cmp=Oc({type:XGc,selectors:[["b-sso-expired-callout-outlet"]],decls:2,vars:3,consts:[["format","app",3,"messageType",4,"ngIf"],["format","app",3,"messageType"],[4,"ngIf","ngIfElse"],["signedInMessage",""],["mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","",3,"click"]],template:function(a,b){a&1&&(O(0,j0a,7,4,"b-callout",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.showRefreshSsoMessage$))},dependencies:[Rw,fX,gX,QA,Xw],encapsulation:2,changeDetection:0});var YGc=function(a,b,c){var d=this;this.session=a;this.principalTypes=b;this.cdr=c;this.showHiringBanner=!1;pF(this.session,"weAreHiring")&&mK(this.principalTypes,this.session.getUserEmail(),!0).then(function(e){d.showHiringBanner="UNRESTRICTED_GOOGLER"===e.detailedUserType;d.cdr.detectChanges()}).catch(function(){})};YGc.\u0275fac=function(a){return new (a||YGc)(B(Bs),B(lK),B(AI,2))};
YGc.\u0275cmp=Oc({type:YGc,selectors:[["b-hiring-banner"]],features:[Of([AI])],decls:1,vars:1,consts:[["class","hiring-banner","title","See jobs related to Buganizer","href","http://goto.google.com/buganizer-hiring","target","_blank",4,"ngIf"],["title","See jobs related to Buganizer","href","http://goto.google.com/buganizer-hiring","target","_blank",1,"hiring-banner"]],template:function(a,b){a&1&&O(0,k0a,2,0,"a",0);a&2&&E("ngIf",b.showHiringBanner)},dependencies:[Rw],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 hX=function(){};hX.\u0275fac=function(a){return new (a||hX)};hX.\u0275mod=Qc({type:hX});hX.\u0275inj=zc({imports:[OG]});var iX=function(a){this.hotkeys=a};iX.prototype.ngOnInit=function(){this.hotkeys.pause()};iX.prototype.ngOnDestroy=function(){this.hotkeys.unpause()};iX.\u0275fac=function(a){return new (a||iX)(B(fN))};
iX.\u0275cmp=Oc({type:iX,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&&(F(0,"h1",0),P(1,"Keyboard shortcuts"),H(),F(2,"mat-dialog-content")(3,"table"),O(4,m0a,6,2,"thead",1),H()(),F(5,"mat-dialog-actions")(6,"button",2),P(7,"Close"),H()());
a&2&&(z(4),E("ngForOf",Nlc(b.hotkeys)))},dependencies:[Qw,QA,fB,gB,hB,iB],encapsulation:2});var jX=function(){};jX.\u0275fac=function(a){return new (a||jX)};jX.\u0275mod=Qc({type:jX});jX.\u0275inj=zc({imports:[OG,ED,jB]});var n0a=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=[]};var kX=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 D.BehaviorSubject(this)},ZGc=function(a,b){var c=b.positionMap||{},d=b.issues.map(function(e){var g=p0a(e,b.componentMap[oa(e.snapshot).componentId||0]);c&&c[e.issueId]&&(g.position=c[e.issueId]);return g});return new kX(d,a,b.numTotalResults)},$Gc=function(a,b){var c=b.issuesWithSignals.map(function(d){var e,g=p0a(d.issue,null!=(e=b.components[oa(d.issue.snapshot).componentId||0])?e:null);g.signals=d.signals;return g});return new kX(c,
a,b.numTotalResults)};kX.prototype.hasPreviousPage=function(){return 1<this.params.page};kX.prototype.hasNextPage=function(){return this.params.page<this.numPages};var lX=function(a,b){var c=a.issues.findIndex(function(d){return d.issueId===b});return-1!==c?c+a.startIndex:-1};kX.prototype.getIssueIdFromIndex=function(a){if(a>=this.startIndex&&a<=this.endIndex&&(a-=this.startIndex,a<this.issues.length))return this.issues[a].issueId};
var aHc=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=d.issue;d=d.component;var e=lX(a,c.issueId);-1!==e&&(e-=a.startIndex,o0a(a.issues[e],c,d),a.issues[e].selected=!1)}a.changed$.next(a)},bHc=function(a,b,c,d){b=lX(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)};kX.prototype.clone=function(){var a=new kX(this.internalIssues,this.params,this.numTotalResults);a.changed$.next(a);return a};kX.prototype.getTotalText=function(a,b,c,d){return a<=b*c?a.toString():d?"many":a.toString()};sh.Object.defineProperties(kX.prototype,{issues:{configurable:!0,enumerable:!0,get:function(){return this.internalIssues},set:function(a){this.internalIssues=a;this.changed$.next(this)}}});var cHc=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};
cHc.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?$Gc(a.params,e):ZGc(a.params,e));return a.searchResultsPage},function(e){return Promise.reject(e)})};
var dHc=function(a){return a.searchResultsPage?a.searchResultsPage.hasNextPage():!0};var mX=function(a,b,c,d,e){this.$window=a;this.issueApi=b;this.hotlistApi=c;this.needsAttentionApi=d;this.paths=e;this.previousResultsFetcher_=this.nextResultsFetcher_=this.currentResultsFetcher_=null;this.focusedIssueIndex_=-1},gHc=function(a,b){var c=Yl();eHc(b.page)?(fHc(a,b),a.currentResultsFetcher_.fetchIssues().then(function(d){d.getIssueIdFromIndex&&(d.numPages&&b.page>d.numPages?c.reject(d.numPages):c.resolve(d))},function(d){c.reject(d)})):c.reject(1);return c.promise},iHc=function(a){var b=
Yl(),c=null;a.currentResultsFetcher_?c=a.currentResultsFetcher_.params:c=hHc(a);c?(fHc(a,c),a.currentResultsFetcher_.fetchIssues().then(function(d){d.getIssueIdFromIndex?b.resolve(d):b.reject(d)},function(d){b.reject(d)})):b.reject("No related search results available.");return b.promise},nX=function(a){a.currentResultsFetcher_=null;a.nextResultsFetcher_=null;a.previousResultsFetcher_=null;a.focusedIssueIndex_=-1},jHc=function(a,b){var c=Yl();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=Yh(a.currentResultsFetcher_.params);e.page=d;fHc(a,e);a.currentResultsFetcher_.fetchIssues().then(function(g){g.getIssueIdFromIndex&&((g=g.getIssueIdFromIndex(b))?(a.focusedIssueIndex_=b,c.resolve(g)):c.reject("No issue available at index "+b))},function(g){c.reject(g)});return c.promise};
mX.prototype.getFocusedIssue=function(){return this.focusedIssueIndex_};
var kHc=function(a){a.currentResultsFetcher_?a.currentResultsFetcher_.fetchIssues().then(function(b){b.getIssueIdFromIndex&&(a.focusedIssueIndex_=b.endIndex>=b.startIndex?b.startIndex:-1)}).catch(function(b){Kh("unexpected error fetching:",b)}):a.focusedIssueIndex_=-1},hHc=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 Nk(new Jk(b.fieldId),
b.direction)}));return a}return null},lHc=function(a,b,c){b=Yh(b);b.page=c;return new cHc(a.issueApi,a.hotlistApi,a.needsAttentionApi,a.paths,b)},mHc=function(a,b){a.currentResultsFetcher_||(a.currentResultsFetcher_=lHc(a,b,b.page),a.currentResultsFetcher_.fetchIssues().catch(function(c){Kh("unexpected error fetching:",c)}));!a.previousResultsFetcher_&&1<b.page&&(a.previousResultsFetcher_=lHc(a,b,b.page-1),a.previousResultsFetcher_.fetchIssues().catch(function(c){Kh("unexpected error fetching:",c)}));
!a.nextResultsFetcher_&&dHc(a.currentResultsFetcher_)&&(a.nextResultsFetcher_=lHc(a,b,b.page+1),a.nextResultsFetcher_.fetchIssues().catch(function(c){Kh("unexpected error fetching:",c)}))},fHc=function(a,b){b.page=bi(b.page);if(!b.resultsPerPage||isNaN(b.resultsPerPage))throw Error("Yd");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&&Xh(b.sortColumns,c.sortColumns)&&b.resultsPerPage===c.resultsPerPage&&Xh(b.trackerIds,c.trackerIds)?a.currentResultsFetcher_.params.returnUrl=b.returnUrl:nX(a)}mHc(a,b);b=JSON.stringify(a.currentResultsFetcher_.params);a.$window.sessionStorage.setItem("buganizer.searchParams",
b)},eHc=function(a){var b=bi(""+a);return isNaN(b)||b!=Number(a)||1>b||2147483647<b?!1:!0};mX.\u0275fac=function(a){return new (a||mX)(t(qF),t(GF),t(cI),t(NV),t(QH))};mX.\u0275prov=yc({token:mX,factory:mX.\u0275fac,providedIn:"root"});var oX=function(a,b,c,d){rF.call(this);var e=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.pageTitle=c;this.issuePermissionService=d;this.handlers$=this.paramsService.routeParams$.pipe(Ne(Xh),$e(function(g){return e.onRouteParamsChanged(g)}));this.init=function(){e.subscriptions.add(e.handlers$.subscribe(function(){}))};this.initOnce=qza(this.init)};T(oX,rF);oX.\u0275dir=rF.\u0275dir;oX.prototype.onRouteParamsChanged=function(a){return a.issueId?nHc(this,a.issueId):(0,D.of)()};
var nHc=function(a,b){return(0,D.combineLatest)([NI(a.issueFetchResponseFridge,b),a.issuePermissionService.accessLevel$]).pipe(Ze([]),C(function(c){c=k(c);var d=c.next().value;c=c.next().value;var e;if(d=null==(e=null==d?void 0:d.issue)?void 0:e.snapshot[0].title){e=d+" ["+b+"]";if(c){a:switch(c){case "EXTERNAL_PARTNER":c="Visible to Partners";break a;case "EXTERNAL_PUBLIC":c="Visible to Public";break a;default:c=""}c&&(e=e+" - "+c)}a.pageTitle.setTitle(e)}else a.pageTitle.setTitle("View issue")}))};
oX.\u0275fac=function(a){return new (a||oX)(t(rK),t(MI),t(wW),t(CK))};oX.\u0275prov=yc({token:oX,factory:oX.\u0275fac,providedIn:"root"});var rHc=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(oHc(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(),
pHc(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);oHc(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();pHc(this);qHc(this)};rHc.prototype.start=function(){this.parentElement.appendChild(this.element);requestAnimationFrame(this.animate)};
rHc.prototype.stop=function(){this.state=2;pHc(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 qHc=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)}};
rHc.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 pHc=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"},oHc=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};rHc.prototype.transform=function(){this.element.style.transform="translate("+this.x+"px,"+this.y+"px) rotate("+(this.direction+90)%360+"deg) scaleX("+this.flip};var sHc=function(a){this.element=a;this.bugs=[]};sHc.prototype.start=function(){for(var a=this,b=0;3>b;b++)tHc(this);this.intervalSubscription=(0,D.interval)(1E4).subscribe(function(){tHc(a);10<=a.bugs.length&&a.intervalSubscription&&a.intervalSubscription.unsubscribe()})};sHc.prototype.stop=function(){this.intervalSubscription&&this.intervalSubscription.unsubscribe();for(var a=k(this.bugs),b=a.next();!b.done;b=a.next())b.value.stop();this.bugs=[]};
var tHc=function(a){var b=new rHc(a.element);b.start();a.bugs.push(b)};var pX=function(a,b,c,d){var e=this;this.ngZone=a;this.userPreferencesManager=b;this.snackBar=c;this.destroyed$=new D.ReplaySubject(1);this.active$=new D.BehaviorSubject(!0);this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY;this.bugAnimation=new sHc(d.nativeElement);this.active$.pipe(af(this.destroyed$),Ne()).subscribe(function(g){g?uHc(e):vHc(e)})};pX.prototype.ngOnInit=function(){"visible"===document.visibilityState&&wHc(this)};pX.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var wHc=function(a){a.timeoutId=setTimeout(function(){a.active$.next(!1)},18E4)};pX.prototype.onUserEvent=function(){var a=Date.now();a<this.lastTimeoutResetTimestamp+1E4||(this.lastTimeoutResetTimestamp=a,this.active$.next(!0),clearTimeout(this.timeoutId),wHc(this))};pX.prototype.onVisibilityChange=function(){this.onUserEvent();switch(document.visibilityState){case "hidden":clearTimeout(this.timeoutId),this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY}};
var vHc=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()})},uHc=function(a){a.ngZone.runOutsideAngular(function(){a.bugAnimation.stop()})};
pX.\u0275fac=function(a){return new (a||pX)(B(df),B(VJ),B(VG),B(Dd))};
pX.\u0275cmp=Oc({type:pX,selectors:[["bug-screensaver"]],hostBindings:function(a,b){a&1&&L("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,Pfa)},decls:0,vars:0,template:function(){},
encapsulation:2});var xHc=function(a,b){var c=b.isInternalSession();this.isEnabled$=a.bugScreensaverSubject$.pipe(C(function(d){return(d.enableBugScreensaver||!1)&&c}))};xHc.\u0275fac=function(a){return new (a||xHc)(B(VJ),B(Bs))};xHc.\u0275cmp=Oc({type:xHc,selectors:[["bug-screensaver-manager"]],decls:2,vars:3,consts:[[4,"ngIf"]],template:function(a,b){a&1&&(O(0,q0a,1,0,"bug-screensaver",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.isEnabled$))},dependencies:[Rw,pX,Xw],encapsulation:2});var qX=function(){};qX.\u0275fac=function(a){return new (a||qX)};qX.\u0275mod=Qc({type:qX});qX.\u0275inj=zc({imports:[OG]});var rX=function(){};rX.\u0275fac=function(a){return new (a||rX)};rX.\u0275mod=Qc({type:rX});rX.\u0275inj=zc({imports:[OG,UG,FT,qX]});var yHc=function(a){this.currentTracker=a;this.trackerName$=this.currentTracker.tracker$.pipe(C(function(b){var c;return null!=(c=null==b?void 0:b.name)?c:""}));this.trackerLogo$=this.currentTracker.tracker$.pipe(C(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(C(function(b){var c,d;return null!=(d=null==b?void 0:null==(c=b.branding)?void 0:c.cocUrl)?d:""}))};
yHc.\u0275fac=function(a){return new (a||yHc)(B(PL))};
yHc.\u0275cmp=Oc({type:yHc,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&&(O(0,s0a,17,9,"footer",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.currentTracker.inTracker$))},dependencies:[Rw,Xw],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 sX=function(){};sX.\u0275fac=function(a){return new (a||sX)};sX.\u0275mod=Qc({type:sX});sX.\u0275inj=zc({imports:[OG]});var zHc=function(){};zHc.\u0275fac=function(a){return new (a||zHc)};zHc.\u0275cmp=Oc({type:zHc,selectors:[["b-ng2-router-outlet"]],decls:1,vars:0,template:function(a){a&1&&I(0,"router-outlet")},dependencies:[zH],encapsulation:2});var AHc=function(){};AHc.\u0275fac=function(a){return new (a||AHc)};AHc.\u0275cmp=Oc({type:AHc,selectors:[["b-router-outlet"]],decls:1,vars:0,template:function(a){a&1&&I(0,"b-ng2-router-outlet")},dependencies:[zHc],encapsulation:2});var tX=function(){};tX.\u0275fac=function(a){return new (a||tX)};tX.\u0275mod=Qc({type:tX});tX.\u0275inj=zc({imports:[OG,OH]});var uX=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($e(function(g){return g?e.componentFridge.watch(g):(0,D.of)(void 0)}),C(function(g){return g&&!g.archived?g:void 0}));this.visibleOptions$=(0,D.combineLatest)([this.currentTracker.tracker$,this.component$,this.context.getIssueId(),this.context.getHotlistId()]).pipe(Me(0),C(function(g){var h=k(g);
g=h.next().value;var l=h.next().value,q=h.next().value;h=h.next().value;return BHc(e,null!=g?g:void 0,l,q,h)}));this.buttonLabel$=this.visibleOptions$.pipe(C(function(g){return g.length?"Create":"Create Issue"}));this.buttonIcon$=this.currentTracker.tracker$.pipe(C(function(g){var h;return"OPEN_SOURCE"===(null==g?void 0:null==(h=g.branding)?void 0:h.theme)?"create-open-source-36px":"create-color-36px"}))};uX.prototype.ngOnInit=function(){};uX.prototype.trackClick=function(a){Ym("create","click",a)};
var BHc=function(a,b,c,d,e){var g=new Map;b=b&&c&&!Xl(b.trackerId)&&b.trackerId!==c.trackerId;c=(null==c?0:c.componentId)?String(c.componentId):void 0;if(null!==e){var h={};g.set("in_same_hotlist",a.paths.createIssue((h.hotlistIds=String(e),h)))}b||void 0===c||(e={},g.set("in_same_component",a.paths.createIssue((e.component=c,e))));b||null===d||(e={},g.set("similar_to_current_issue",a.paths.createIssue((e.template_issue=d,e))),e={},g.set("blocked_by_current_issue",a.paths.createIssue((e.blockedByIssueIds=
d,e.component=c,e))),e={},g.set("blocking_current_issue",a.paths.createIssue((e.blockingIssueIds=d,e.component=c,e))),e={},g.set("parent_of_current_issue",a.paths.createIssue((e.childrenIssueIds=d,e.component=c,e))),e={},g.set("child_of_current_issue",a.paths.createIssue((e.parentIssueId=d,e.component=c,e))));return[].concat(cd(g.entries())).map(function(l){var q=k(l);l=q.next().value;q=q.next().value;return{name:hBa(l),path:q}})};uX.\u0275fac=function(a){return new (a||uX)(B(QH),B(zK),B(PL),B(AG))};
uX.\u0275cmp=Oc({type:uX,selectors:[["b-create-issue-button"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"label","icon","href","segments","clickMain","clickSegment"]],template:function(a,b){a&1&&(O(0,v0a,3,3,"ng-container",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.visibleOptions$))},dependencies:[Rw,yP,Xw],encapsulation:2,changeDetection:0});var xp=function(a){this.internalArray_=m(a)};T(xp,p);f=xp.prototype;f.getHotlistId=function(){return Ii(this,Go(this,wp,1))};f.setHotlistId=function(a){so(this,1,wp,a)};f.getName=function(){return U(this,2)};f.setName=function(a){return sk(this,2,a)};f.hasName=function(){return Hk(this,2)};f.getNameOrUndefined=function(){return tt(this,2)};f.getDescription=function(){return U(this,3)};f.setDescription=function(a){return sk(this,3,a)};f.hasDescription=function(){return Hk(this,3)};var wp=[1,4];
xp.prototype.toObject=function(){return CHc(this)};var CHc=function(a){if(null!=a)return r(a),{hotlistId:n(Fo(a,Go(a,wp,1))),savedSearchId:n(Fo(a,Go(a,wp,4))),name:n(Z(a,2)),description:n(Z(a,3))}};var vX=function(a){this.internalArray_=m(a,0,vX.messageId)};T(vX,p);f=vX.prototype;f.getBookmarkGroupId=function(){return Ii(this,1)};f.setBookmarkGroupId=function(a){V(this,1,a)};f.getName=function(){return U(this,2)};f.setName=function(a){return sk(this,2,a)};f.hasName=function(){return Hk(this,2)};f.getNameOrUndefined=function(){return tt(this,2)};f.getDescription=function(){return U(this,3)};f.setDescription=function(a){return sk(this,3,a)};f.hasDescription=function(){return Hk(this,3)};
f.getArchived=function(){return Tj(this,5)};f.setArchived=function(a){Vj(this,5,a)};f.getItemList=function(){return kj(this,xp,6)};f.setItemList=function(a){nj(this,6,a)};f.addItem=function(a,b){return Co(this,6,xp,a,b)};f.setItem=function(a,b){return $s(this,6,xp,a,b)};f.getItemCount=function(){return Zs(this,xp,6)};f.getAdminUsersList=function(){return kj(this,ri,9)};f.setAdminUsersList=function(a){nj(this,9,a)};vX.repeatedFields_=[6,9];vX.prototype.toObject=function(){return DHc(this)};
var DHc=function(a){if(null!=a)return r(a),{bookmarkGroupId:n(Yb(a,1)),name:n(Z(a,2)),description:n(Z(a,3)),archived:n(vr(a,5)),itemList:Ub(a.getItemList(),CHc),adminUsersList:Ub(a.getAdminUsersList(),sE)}};vX.messageId="b.BookmarkGroup";var wX=function(a){this.internalArray_=m(a,0,wX.messageId)};T(wX,p);wX.prototype.getBookmarkGroupsList=function(){return kj(this,vX,1)};wX.repeatedFields_=[1];wX.prototype.toObject=function(){if(null!=this){r(this);var a={bookmarkGroupsList:Ub(this.getBookmarkGroupsList(),DHc)}}else a=void 0;return a};wX.messageId="b.BookmarkGroupListResponse";var xX=function(a){this.executor=a};xX.prototype.get=function(a){return this.executor.get({url:"action/bookmark_groups/"+a,responseConstructor:vX}).then(z0a).then(w0a)};xX.prototype.query=function(a){return this.executor.get({url:"action/bookmark_groups",options:{params:{q:a}},responseConstructor:wX}).then(B0a).then(x0a)};xX.prototype.create=function(a){var b=new vX;b.setName(a.name);a.description&&b.setDescription(a.description);return this.executor.post({url:"action/bookmark_groups",body:b,responseConstructor:vX}).then(z0a).then(w0a)};
xX.prototype.update=function(a){var b=new vX;b.setBookmarkGroupId(String(a.bookmarkGroupId));b.setName(a.name);a.description&&b.setDescription(a.description);b.setArchived(a.archived);var c;b.setItemList((null!=(c=a.item)?c:[]).map(A0a));var d;b.setAdminUsersList((null!=(d=a.adminUsers)?d:[]).map(si));return this.executor.post({url:"action/bookmark_groups/"+a.bookmarkGroupId,body:b,responseConstructor:vX}).then(z0a).then(w0a)};xX.\u0275fac=function(a){return new (a||xX)(t(iE))};
xX.\u0275prov=yc({token:xX,factory:xX.\u0275fac,providedIn:"root"});var yX=function(a,b){this.router=a;this.location=b},Iub=function(a){var b=a.location.url();ls(a.router,"/",{skipLocationChange:!0}).then(function(){return ls(a.router,b,{skipLocationChange:!0})})};yX.\u0275fac=function(a){return new (a||yX)(t(IH),t(PH))};yX.\u0275prov=yc({token:yX,factory:yX.\u0275fac,providedIn:"root"});var zX=function(a,b,c,d,e,g,h,l,q,v){rF.call(this);var x=this;this.reloadService=a;this.activeSession=b;this.userApi=c;this.errorHandler=d;this.bLocation=e;this.paths=g;this.issuePagination=h;this.sidebarItemFactory=l;this.appEvents=q;this.analytics=v;this.sidebarData={hotlists:[],bookmarkGroups:[],archivedHotlists:[],archivedBookmarkGroups:[],userSearches:[]};this.userSavedSearches=[];this.userHotlists=[];EHc(this);FHc(this);this.fetchUserHotlists();a=function(){EHc(x)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(a));
this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(a));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(a));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(a));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){FHc(x)}));a=function(){x.fetchUserHotlists()};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(a));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(a))};T(zX,rF);zX.\u0275dir=rF.\u0275dir;
var EHc=function(a){a.userApi.getUserSidebar().then(function(b){a.sidebarData.hotlists=GHc(a,b.hotlists);a.sidebarData.bookmarkGroups=HHc(a,b.bookmarkGroups);a.sidebarData.archivedHotlists=GHc(a,b.archivedHotlists);a.sidebarData.archivedBookmarkGroups=HHc(a,b.archivedBookmarkGroups);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})},FHc=function(a){a.userApi.getUserSavedSearches().then(function(b){b=IHc(a,b);a.sidebarData.userSearches=b;yaa(a.userSavedSearches);
Aaa(a.userSavedSearches,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};zX.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){JHc(a,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var GHc=function(a,b){return(b||[]).map(function(c){return KHc(a.sidebarItemFactory,c)}).sort(function(c,d){return c.name.localeCompare(d.name)})},HHc=function(a,b){return(b||[]).map(function(c){var d=a.sidebarItemFactory;return new LHc(c,d.activeSession,d.analytics,d.userApi,d.bookmarkGroupsApi,d.butterBar,d.paths,d.userPreferencesManager,d.errorHandler,d,d.confirmationDialogService,d.appEvents)})},IHc=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 MHc(a.sidebarItemFactory,c)})},JHc=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 KHc(a.sidebarItemFactory,c)});yaa(a.userHotlists);Aaa(a.userHotlists,b)};
zX.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,"");this.analytics.trackEvent("nav","click",d.trim());b.metaKey||b.ctrlKey||b.shiftKey||0!==b.button||(nX(this.issuePagination),Kcc(this.paths,a)&&Iub(this.reloadService),this.bLocation.url(a),b.preventDefault(),b.stopPropagation())};zX.\u0275fac=function(a){return new (a||zX)(t(yX),t(Bs),t(lI),t(aH),t(PH),t(QH),t(mX),t(AX),t(eH),t(EI))};
zX.\u0275prov=yc({token:zX,factory:zX.\u0275fac,providedIn:"root"});var BX=function(a,b,c,d,e,g,h,l){this.analytics=c;this.userApi=d;this.bookmarkGroupsApi=e;this.butterBar=g;this.paths=h;this.userPreferencesManager=l;this.id=a.id;this.name=a.name;this.description=a.description;this.adminUsers=a.adminUsers;this.starred=a.starred;this.userEmail=b.getUserEmail()};BX.prototype.isEditable=function(){return NHc(this)};BX.prototype.isSelected=function(){return Jcc(this.paths,this.href)};
BX.prototype.isUnstarable=function(){return!NHc(this)&&this.starred};
var NHc=function(a){return a.adminUsers.some(function(b){return b.emailAddress===a.userEmail})},OHc=function(a,b){var c=WJ(a.userPreferencesManager).homepagePreferences;return(null==c?void 0:c.resourceId)===a.id&&c.resourceType===b},PHc=function(a,b){YG(a.butterBar,"Updating homepage...",0);ogc(a.userPreferencesManager,{resourceType:b,resourceId:a.id}).pipe(Oe()).subscribe(function(){YG(a.butterBar,"Homepage updated")})},QHc=function(a,b,c,d,e,g,h,l,q,v,x,A){BX.call(this,a,b,c,d,e,h,l,q);this.hotlistApi=
g;this.errorHandler=v;this.confirmationDialogService=x;this.appEvents=A;this.href=l.viewHotlist(a.id);this.type="HOTLIST"};T(QHc,BX);f=QHc.prototype;f.isPreferredHomepage=function(){return OHc(this,"HOTLIST")};f.setAsPreferredHomepage=function(){PHc(this,"HOTLIST")};
f.archive=function(){var a=this;YG(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});YG(a.butterBar,'Archived hotlist "'+a.name+'".');a.analytics.trackEvent("sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.unarchive=function(){var a=this;YG(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});YG(a.butterBar,'Unarchived hotlist "'+a.name+'".');a.analytics.trackEvent("sidebarItem","unarchived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.unstar=function(){var a=this;this.confirmationDialogService.open({title:"Unstar hotlist: "+this.name,content:yn("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()}})};
f.doUnstar=function(){var a=this;YG(this.butterBar,"Unstarring hotlist ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:this.id}).then(function(){YG(a.butterBar,"Unstarred hotlist ID "+a.id);a.appEvents.hotlistChanged.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};var CX=function(a,b,c,d,e,g,h,l){BX.call(this,a,b,c,d,e,g,h,l);this.href=h.viewSavedSearch(a.id);this.type="SAVED_SEARCH"};T(CX,BX);CX.prototype.isUnstarable=function(){return!1};
CX.prototype.unstar=function(){};CX.prototype.isPreferredHomepage=function(){return OHc(this,"SAVED_SEARCH")};CX.prototype.setAsPreferredHomepage=function(){PHc(this,"SAVED_SEARCH")};
var LHc=function(a,b,c,d,e,g,h,l,q,v,x,A){BX.call(this,a,b,c,d,e,g,h,l);this.errorHandler=q;this.sidebarItemFactory=v;this.confirmationDialogService=x;this.appEvents=A;this.items=[];a=k(a.sublinks||[]);for(b=a.next();!b.done;b=a.next())switch(b=b.value,b.resourceType){case "HOTLIST":this.items.push(KHc(this.sidebarItemFactory,b));break;case "SAVED_SEARCH":this.items.push(MHc(this.sidebarItemFactory,b))}this.items.sort(function(G,M){return G.name.localeCompare(M.name)})};T(LHc,BX);f=LHc.prototype;
f.isPreferredHomepage=function(){return OHc(this,"BOOKMARK_GROUP")};f.setAsPreferredHomepage=function(){PHc(this,"BOOKMARK_GROUP")};
f.archive=function(){var a=this;YG(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});YG(a.butterBar,'Archived bookmark group "'+a.name+'".');a.analytics.trackEvent("sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.unarchive=function(){var a=this;YG(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});YG(a.butterBar,'Unarchived bookmark group "'+a.name+'".');a.analytics.trackEvent("sidebarItem","unarchived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.unstar=function(){var a=this;this.confirmationDialogService.open({title:"Unstar bookmark group: "+this.name,content:yn("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()}})};
f.doUnstar=function(){var a=this;YG(this.butterBar,"Unstarring bookmark group ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.id}).then(function(){YG(a.butterBar,"Unstarred bookmark group ID "+a.id);a.appEvents.bookmarkGroupModified.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var AX=function(a,b,c,d,e,g,h,l,q,v,x){this.activeSession=a;this.userApi=b;this.bookmarkGroupsApi=c;this.hotlistApi=d;this.errorHandler=e;this.paths=g;this.analytics=h;this.butterBar=l;this.userPreferencesManager=q;this.confirmationDialogService=v;this.appEvents=x},KHc=function(a,b){return new QHc(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.hotlistApi,a.butterBar,a.paths,a.userPreferencesManager,a.errorHandler,a.confirmationDialogService,a.appEvents)},MHc=function(a,b){return new CX(b,
a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.butterBar,a.paths,a.userPreferencesManager)};AX.\u0275fac=function(a){return new (a||AX)(t(Bs),t(lI),t(xX),t(cI),t(aH),t(QH),t(EI),t(XG),t(VJ),t(PJ),t(eH))};AX.\u0275prov=yc({token:AX,factory:AX.\u0275fac,providedIn:"root"});var DX=function(a){this.prefs=a;this.expanded=!0;this.content=this.header=null};DX.prototype.ngOnInit=function(){this.prefKey&&(this.expanded=!qgc(this.prefs,this.prefKey))};DX.prototype.onClick=function(){var a=this,b,c;return pe(function(d){b=!a.expanded;a.expanded=b;if(!a.prefKey)return d.jumpTo(0);c={};return d.yield((0,D.firstValueFrom)(pgc(a.prefs,(c[a.prefKey]=!b,c))),0)})};DX.\u0275fac=function(a){return new (a||DX)(B(VJ))};
DX.\u0275cmp=Oc({type:DX,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&&(F(0,"div",0),L("click",function(){return b.onClick()})("keydown.enter",function(c){b.onClick();return c.stopPropagation()})("keydown.space",function(c){b.onClick();return c.preventDefault()}),
O(1,C0a,1,0,"ng-container",1),H(),O(2,E0a,2,1,"ng-container",2));a&2&&(xf("opened",b.expanded)("closed",!b.expanded),of("aria-expanded",b.expanded),z(1),E("ngTemplateOutlet",b.header),z(1),E("ngIf",b.expanded))},dependencies:[Rw,Ww],encapsulation:2});var EX=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[];this.hotlists=[]};f=EX.prototype;f.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarArchived","open");this.location.url(this.paths.viewBookmarkGroup(a))};f.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarArchived","dashboard");this.location.url(this.paths.dashboard(a))};f.openEditHotlist=function(a){this.location.url(this.paths.editHotlist(a))};
f.openEditBookmarkGroup=function(a){this.location.url(this.paths.editBookmarkGroup(a))};f.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};EX.\u0275fac=function(a){return new (a||EX)(B(PH),B(EI),B(QH),B(zX))};
EX.\u0275cmp=Oc({type:EX,selectors:[["sidebar-archived"]],inputs:{bookmarkGroups:"bookmarkGroups",hotlists:"hotlists"},decls:1,vars:1,consts:[[4,"ngIf"],["prefKey","nav-archived",3,"header","content"],["zippyHeader",""],["zippyContent",""],[1,"archived-list"],[3,"title",4,"ngFor","ngForOf"],["class","bv2-nav-item bv2-user-hotlists-hotlist-item",3,"selected","id","title",4,"ngFor","ngForOf"],[3,"title"],[3,"header","content"],["bgZippyHeader",""],["bgZippyContent",""],[1,"bv2-nav-item","bv2-nav-bookmark-group"],
[1,"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions","class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor","click",4,"ngIf"],["groupMenu",""],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor","click"],["svgIcon","more-settings-vertical"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["mat-menu-item",
"","class","bv2-user-hotlists-edit-menuitem",3,"click",4,"ngIf"],[1,"bv2-nav-links-no-indent","bookmark-group-content-list"],["class","bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented",3,"href","click"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"id","title"],[3,"href","click"],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions",
"class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor",4,"ngIf"],["hotlistMenu",""],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor"]],template:function(a,b){a&1&&O(0,U0a,7,2,"div",0);a&2&&E("ngIf",b.hotlists.length||b.bookmarkGroups.length)},dependencies:[Qw,Rw,HB,QA,dD,bD,cD,aD,DX],encapsulation:2,changeDetection:0});var FX=function(){this.admins=[]};FX.prototype.ngOnInit=function(){this.url="bookmark-groups/"+this.bookmarkGroup.bookmarkGroupId;this.admins=mi(this.bookmarkGroup.adminUsers)};FX.\u0275fac=function(a){return new (a||FX)};
FX.\u0275cmp=Oc({type:FX,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&&(F(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),P(5),H()(),F(6,"ul")(7,"li"),P(8),H(),F(9,"li"),P(10),H()(),F(11,"div")(12,"p"),P(13),H()()()()());a&2&&(z(4),E("href",b.url,
Ud),z(1),Mf(b.bookmarkGroup.name),z(3),Lf("ID: ",b.bookmarkGroup.bookmarkGroupId,""),z(2),Nf("",1===b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),z(3),Mf(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 RHc=["searchBox"],GX=function(a,b,c,d,e,g,h,l,q){this.cdr=a;this.userApi=c;this.bookmarkGroupsApi=d;this.hotlistApi=e;this.paths=g;this.analytics=h;this.errorHandler=l;this.appEvents=q;this.allowStarring=this.showHotlists=this.showGroups=!0;this.focusOnInit=!1;this.itemSelect=new kw;this.lastProcessedIndex=-1;this.nextRequestIndex=0;this.favoriteBookmarkGroups=new Set;this.favoriteHotlists=new Set;this.query="";this.matches=[];this.currentUserEmail=b.getUserEmail()};
GX.prototype.ngOnInit=function(){this.allowStarring&&SHc(this)};
var SHc=function(a){a.favoriteBookmarkGroups.clear();a.favoriteHotlists.clear();a.userApi.getUserSidebar().then(function(b){if(a.showGroups){var c,d=k(null!=(c=b.bookmarkGroups)?c:[]);for(c=d.next();!c.done;c=d.next()){c=c.value;c.starred&&a.favoriteBookmarkGroups.add(c.id);var e=void 0;c=k(null!=(e=c.sublinks)?e:[]);for(e=c.next();!e.done;e=c.next())e=e.value,e.starred&&a.favoriteHotlists.add(e.id)}}if(a.showHotlists){var g;b=k(null!=(g=b.hotlists)?g:[]);for(e=b.next();!e.done;e=b.next())g=e.value,
g.starred&&a.favoriteHotlists.add(g.id)}a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};f=GX.prototype;f.reset=function(){this.query="";this.matches=[]};f.isLoading=function(){return this.lastProcessedIndex+1!==this.nextRequestIndex};f.onQueryChange=function(){this.matches=[];this.query&&"string"!==typeof this.query&&(this.query="");this.search()};
f.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 g=k(e);e=g.next().value;g=g.next().value;if(b===a.nextRequestIndex-1){for(var h=k(e),l=h.next();!l.done;l=h.next()){l=l.value;var q=l.bookmarkGroupId;l.href=a.paths.viewBookmarkGroup(q);l.isGroup=!0;l.isStarred=a.favoriteBookmarkGroups.has(q)}h=
k(g);for(l=h.next();!l.done;l=h.next())l=l.value,q=l.hotlistId,l.href=a.paths.viewHotlist(q),l.isGroup=!1,l.isStarred=a.favoriteHotlists.has(q);a.matches=[].concat(cd(e),cd(g));a.lastProcessedIndex=b;a.cdr.detectChanges()}})}else this.lastProcessedIndex=b};f.shouldShowStar=function(a){return this.allowStarring&&!mi(a.adminUsers).includes(this.currentUserEmail)};
f.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();SHc(b);b.cdr.detectChanges()};c={resourceId:c,resourceType:d};a.isStarred?(this.analytics.trackEvent("hotlistSearch","starItem"),this.userApi.saveFavorite(c).then(e)):(this.analytics.trackEvent("hotlistSearch","unstarItem"),this.userApi.deleteFavorite(c).then(e))};
GX.\u0275fac=function(a){return new (a||GX)(B(AI,2),B(Bs),B(lI),B(xX),B(cI),B(QH),B(EI),B(aH),B(eH))};
GX.\u0275cmp=Oc({type:GX,selectors:[["b-hotlist-search"]],viewQuery:function(a,b){a&1&&(bg(RHc,5),bg(dQ,5));if(a&2){var c;ag(c=dg())&&(b.searchBoxEl=c.first);ag(c=dg())&&(b.autocomplete=c.first)}},hostAttrs:[1,"'bv2-hotlist-search'"],inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",focusOnInit:"focusOnInit"},outputs:{itemSelect:"itemSelect"},features:[Of([AI])],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&&(F(0,"div",0)(1,"input",1,2),L("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()}),H(),O(3,V0a,1,0,"b-spinner",3),F(4,"mat-autocomplete",4,5),L("optionSelected",function(d){b.itemSelect.emit(d.option.value)}),O(6,Z0a,9,8,"mat-option",6),H(),F(7,"div",7),P(8,' e.g., "foo bar admin:user@google.com" '),I(9,"br"),P(10,' or "foo bar admin:group@google.com" '),I(11,"br"),P(12," Only identities directly listed as Admins can be searched. "),H()());if(a&2){var c=Kf(5);z(1);E("ngModel",b.query)("matAutocomplete",c);of("autofocus",b.focusOnInit)("aria-label",
"Add query for searching "+(b.showGroups?"bookmark groups":"hotlists"));z(2);E("ngIf",b.isLoading());z(3);E("ngForOf",b.matches)}},dependencies:[Qw,Rw,FX,rU,UK,ZK,WM,wU,wg,tx,Ax,eQ,dQ,SA],encapsulation:2});var THc=[[["xap-dialog-layout-title"]],[["xap-dialog-layout-subtitle"]],[["xap-dialog-layout-content"]],[["xap-dialog-layout-actions"]]],UHc=function(){};UHc.\u0275fac=function(a){return new (a||UHc)};UHc.\u0275dir=Sc({type:UHc,selectors:[["xap-dialog-layout-subtitle"]]});var HX=function(a,b,c){this.el=a;this.cdRef=b;this.ngZone=c;this.destroyed=new D.ReplaySubject;this.internalScrollable=!1;this.internalScrollPosition="bottom"};
HX.prototype.ngOnInit=function(){var a=this;this.internalScrollPosition=this.getScrollPosition(this.el.nativeElement);this.ngZone.runOutsideAngular(function(){VHc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollable=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})});WHc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollPosition=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})})})};HX.prototype.ngOnDestroy=function(){this.destroyed.next();this.destroyed.complete()};
var VHc=function(a){if(!window.ResizeObserver)return(0,D.of)(XHc(a.el.nativeElement));var b;return(0,D.fromEventPattern)(function(c){b=new ResizeObserver(function(){c(XHc(a.el.nativeElement))});b.observe(a.el.nativeElement)},function(){b.disconnect()}).pipe(Ne(),af(a.destroyed))},WHc=function(a){return(0,D.fromEvent)(a.el.nativeElement,"scroll").pipe($0a(),C(function(){return a.getScrollPosition(a.el.nativeElement)}),Ne(),af(a.destroyed))},XHc=function(a){return a.offsetHeight+a.scrollTop<=a.scrollHeight};
HX.prototype.getScrollPosition=function(a){return 0===a.scrollTop?"top":a.offsetHeight+a.scrollTop>=a.scrollHeight?"bottom":"center"};sh.Object.defineProperties(HX.prototype,{scrollable:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollable}},scrollPosition:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollPosition}}});HX.\u0275fac=function(a){return new (a||HX)(B(Dd),B(Kw),B(df))};
HX.\u0275dir=Sc({type:HX,selectors:[["xap-dialog-layout-content"]],hostAttrs:[1,"xap-dialog-layout-content"],hostVars:6,hostBindings:function(a,b){a&2&&xf("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 IX=function(){};IX.\u0275fac=function(a){return new (a||IX)};
IX.\u0275cmp=Oc({type:IX,selectors:[["xap-dialog-layout"]],contentQueries:function(a,b,c){a&1&&cg(c,UHc,4);if(a&2){var d;ag(d=dg())&&(b.subtitle=d)}},hostAttrs:[1,"xap-dialog-layout"],hostVars:2,hostBindings:function(a,b){a&2&&xf("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&&(Ff(THc),
F(0,"header",0),Gf(1),Gf(2,1),H(),Gf(3,2),Gf(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 YHc=Vg({opacity:0}),ZHc=Vg({opacity:1}),$Hc=Tg("dialogContainer",[Wg("void, hidden",YHc),Wg("visible",ZHc),Xg("void => *, * => visible",Ug("200ms cubic-bezier(0.0,0.0,0.2,1)",ZHc)),Xg("* => void, * => hidden",Ug("200ms cubic-bezier(0.4,0.0,0.2,1)",YHc))]);var aIc=new ad("XAP_IDCO"),JX=function(a){this._isDisposed=!1;this.options=a;this.animationState="hidden"};T(JX,hy);JX.prototype.ngAfterViewInit=function(){};JX.prototype.attachComponentPortal=function(a){return this.portalOutlet.attachComponentPortal(a)};JX.prototype.attachTemplatePortal=function(a){return this.portalOutlet.attachTemplatePortal(a)};JX.\u0275fac=function(a){return new (a||JX)(B(aIc))};
JX.\u0275cmp=Oc({type:JX,selectors:[["xap-inline-dialog-container"]],viewQuery:function(a,b){a&1&&bg(ky,7);if(a&2){var c;ag(c=dg())&&(b.portalOutlet=c.first)}},hostAttrs:["role","dialog",1,"xap-inline-dialog-container","gmat-body-2"],hostVars:3,hostBindings:function(a,b){a&2&&(of("aria-label",b.options.dialogLabel)("tabindex",b.options.dialogTabIndex),Ef("@dialogContainer",b.animationState))},features:[kf],decls:2,vars:0,consts:[["cdkPortalOutlet",""],["cdkFocusInitial","","tabindex","0"]],template:function(a){a&
1&&(F(0,"div"),O(1,a1a,1,0,"ng-template",0),H())},dependencies:[ky],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:[$Hc]},changeDetection:0});var bIc=[{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}],cIc={minWidth:220,maxWidth:420,minHeight:64,maxHeight:420},KX=function(a,b,c,d,e,g,h,l){var q=this;this.ngZone=a;this.overlay=b;this.elementRef=c;this.viewContainerRef=d;this.document=e;this.focusTrapFactory=
g;this.ariaDescriber=h;this.injector=l;this.disabledInternal=!1;this.dialogLabel=null;this.dialogTabIndex=-1;this.overlayDimensions=cIc;this.triggerDescription="Press space for more information.";this.disableAutoFocusInternal=!1;this.scrollStrategy="close";this.stackLocation=0;this.beforeOpened=new kw;this.opened=new kw;this.closed=new kw;this.destroyed=new D.ReplaySubject;this.openStatusChange=new D.BehaviorSubject(!1);this.openings=this.openStatusChange.pipe(Ge(function(v){return v&&!q.disabled}));
this.elementFocusedBeforeDialogWasOpened=void 0;dIc(this,c.nativeElement);this.attachKeyboardCloseEventListeners(c.nativeElement);eIc(this,c.nativeElement)};KX.prototype.ngOnInit=function(){var a=this.elementRef.nativeElement;a.hasAttribute("aria-haspopup")||a.setAttribute("aria-haspopup","dialog");a.hasAttribute("aria-describedby")||this.ariaDescriber.describe(a,this.triggerDescription)};
KX.prototype.ngOnDestroy=function(){this.closeDialog();this.openStatusChange.complete();this.destroyed.next();this.destroyed.complete();this.overlayRef&&this.overlayRef.dispose()};
var dIc=function(a,b){a.ngZone.runOutsideAngular(function(){(0,D.fromEvent)(b,"keydown").pipe(af(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 13:a.openDialog();c.preventDefault();break;case 32:c.preventDefault()}});(0,D.fromEvent)(b,"keyup").pipe(af(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 32:a.openDialog()}})})},eIc=function(a,b){a.ngZone.runOutsideAngular(function(){(0,D.fromEvent)(b,"focus").pipe(Ge(function(){return 0<a.beforeOpened.observers.length}),af(a.destroyed)).subscribe(function(){a.ngZone.run(function(){a.beforeOpened.emit()})})})};
f=KX.prototype;
f.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=fIc(a);a.dialogContainerRef.instance.attach(c);var d=a.dialogContainerRef.location.nativeElement;a.attachMouseEventListeners(d);a.attachKeyboardCloseEventListeners(d);a.trapFocus(d);a.dialogContainerRef.instance.animationState="visible";a.opened.observers.length&&
setTimeout(function(){a.opened.emit()},200)}))}}};
f.closeDialog=function(){var a=this,b;null==(b=this.overlayRef)||!b.hasAttached()||this.stackManager&&!this.stackManager.tryUnregister(this.stackLocation)||(this.dialogContainerRef.instance.animationState="hidden",setTimeout(function(){a.ngZone.run(function(){a.overlayRef&&a.overlayRef.detach();a.focusTrap&&(a.focusTrap.destroy(),a.focusTrap=void 0);a.restoreFocus();a.dialogContainerRef&&(a.dialogContainerRef.destroy(),a.dialogContainerRef=void 0);a.closed.emit()})},200))};
f.trapFocus=function(a){var b=this.document.activeElement,c=this.elementRef.nativeElement;b&&b===c&&(this.document&&(this.elementFocusedBeforeDialogWasOpened=this.document.activeElement),this.focusTrap=this.focusTrapFactory.create(a),Ux(this.focusTrap),this.disableAutoFocus||this.focusInitialElement())};f.focusInitialElement=function(){this.focusTrap&&OTb(this.focusTrap)};
f.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)}};f.createPositionStrategy=function(a){var b,c;return Zz(cA(this.overlay.position(),null!=(b=this.attachedTo)?b:this.elementRef),a).setOrigin(null!=(c=this.attachedTo)?c:this.elementRef)};
var gIc=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()}},fIc=function(a){var b=gf({parent:a.injector,providers:[{provide:aIc,useValue:{dialogLabel:a.dialogLabel,dialogTabIndex:a.dialogTabIndex}}]});b=new fy(JX,null,b);null==a.overlayRef&&(a.overlayRef=a.overlay.create(a.createOverlayConfig(bIc)));a.overlaySize&&a.overlayRef.updateSize(a.overlaySize);if(a.overlayPositions&&
0<a.overlayPositions.length){var c=a.overlayRef,d=a.createPositionStrategy(a.overlayPositions);d!==c._positionStrategy&&(c._positionStrategy&&c._positionStrategy.dispose(),c._positionStrategy=d,c.hasAttached()&&(d.attach(c),c.updatePosition()))}return a.overlayRef.attach(b)};
sh.Object.defineProperties(KX.prototype,{dialog:{configurable:!0,enumerable:!0,set:function(a){a&&(this.portal=a instanceof Yf?new gy(a,this.viewContainerRef):new fy(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=Fg(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}}}});KX.\u0275fac=function(a){return new (a||KX)(B(df),B(dA),B(Dd),B(Zf),B(Document),B(sz),B(oz),B(sv))};
KX.\u0275dir=Sc({type:KX,hostVars:1,hostBindings:function(a,b){a&2&&of("data-disabled",b.disabled)},inputs:{attachedTo:"attachedTo",dialogLabel:"dialogLabel",dialogTabIndex:"dialogTabIndex",overlaySize:"overlaySize",overlayPositions:"overlayPositions",overlayDimensions:"overlayDimensions",triggerDescription:"triggerDescription",disableAutoFocus:"disableAutoFocus",panelClass:"panelClass",scrollStrategy:"scrollStrategy",stackManager:"stackManager"},outputs:{beforeOpened:"beforeOpened",opened:"opened",
closed:"closed"}});var LX=function(a,b,c,d,e,g,h,l){KX.call(this,a,b,c,d,e,g,h,l);this.attachMouseEventListeners(c.nativeElement)};T(LX,KX);f=LX.prototype;f.ngOnInit=function(){KX.prototype.ngOnInit.call(this);this.listenForOpenEvents()};f.listenForOpenEvents=function(){var a=this;this.openStatusChange.pipe(af(this.destroyed)).subscribe(function(b){b?a.openDialog():a.closeDialog()});this.openings.pipe(Ge(function(b){return b&&0<a.beforeOpened.observers.length}),sja(function(){return a.openStatusChange.pipe(Ge(function(b){return!b}))}))};
f.attachMouseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,D.fromEvent)(a,"mouseenter").pipe(af(b.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})});(0,D.fromEvent)(a,"click").pipe(af(b.destroyed)).subscribe(function(d){d.target.closest("[xapInlineDialogClose]")?b.closingDialog():b.openingDialog()});var c;null==(c=b.overlayRef)||c.backdropClick().pipe(af(b.destroyed)).subscribe(function(){b.closingDialog()})})};
f.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,D.fromEvent)(a,"keyup").pipe(af(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,D.fromEvent)(a,"keydown").pipe(af(b.destroyed)).subscribe(function(c){var d=c.target;switch(c.keyCode){case 13:d.closest("[xapInlineDialogClose]")&&b.closingDialog()}})})};
f.openingDialog=function(){this.disabled||this.openStatusChange.next(!0)};f.closingDialog=function(){this.openStatusChange.next(!1)};f.createOverlayConfig=function(a){return new Wz(Object.assign({},this.overlayDimensions,{positionStrategy:KX.prototype.createPositionStrategy.call(this,a),scrollStrategy:gIc(this),hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop",panelClass:this.panelClassInternal}))};
LX.\u0275fac=function(a){return new (a||LX)(B(df),B(dA),B(Dd),B(Zf),B(qh),B(sz),B(oz),B(sv))};LX.\u0275dir=Sc({type:LX,selectors:[["","xapInlineDialogClick",""]],hostAttrs:[1,"xap-inline-dialog-click"],inputs:{dialog:["xapInlineDialogClick","dialog"],disabled:["xapInlineDialogDisabled","disabled"]},exportAs:["xapInlineDialogClick"],features:[kf]});var hIc=["*"],iIc=function(){return".xap-icon-trigger,.xap-text-trigger{pointer-events:auto}.xap-text-trigger{-webkit-text-decoration:underline dashed #80868b;-moz-text-decoration:underline dashed #80868b;text-decoration:underline dashed #80868b;text-underline-position:under;text-underline-offset:1px;text-underline-thickness:1px}"},jIc=function(){this.disabled=!1};jIc.\u0275fac=function(a){return new (a||jIc)};
jIc.\u0275cmp=Oc({type:jIc,selectors:[["xap-text-trigger"]],hostAttrs:["role","button"],hostVars:3,hostBindings:function(a,b){a&2&&(of("tabindex",b.disabled?-1:0),xf("xap-text-trigger",!b.disabled))},inputs:{disabled:["xapInlineDialogDisabled","disabled"]},ngContentSelectors:hIc,decls:1,vars:0,template:function(a){a&1&&(Ff(),Gf(0))},styles:[iIc()],encapsulation:2});var MX=function(){this.disabled=!1};MX.\u0275fac=function(a){return new (a||MX)};
MX.\u0275cmp=Oc({type:MX,selectors:[["xap-icon-trigger"]],hostAttrs:["role","button","tabindex","0",1,"xap-icon-trigger"],inputs:{disabled:["xapInlineDialogDisabled","disabled"]},ngContentSelectors:hIc,decls:1,vars:0,template:function(a){a&1&&(Ff(),Gf(0))},styles:[iIc()],encapsulation:2});var NX=function(){this.allowStarring=this.showHotlists=this.showGroups=!0;this.ariaLabel="";this.itemSelect=new kw};NX.\u0275fac=function(a){return new (a||NX)};
NX.\u0275cmp=Oc({type:NX,selectors:[["b-hotlist-search-popup"]],viewQuery:function(a,b){a&1&&bg(LX,5);if(a&2){var c;ag(c=dg())&&(b.dialog=c.first)}},inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",ariaLabel:["aria-label","ariaLabel"]},outputs:{itemSelect:"itemSelect"},decls:4,vars:2,consts:[["matTooltip","Search",3,"xapInlineDialogClick"],["svgIcon","search"],["popup",""],[3,"showGroups","showHotlists","allowStarring","focusOnInit","itemSelect"]],template:function(a,
b){a&1&&(F(0,"xap-icon-trigger",0),I(1,"mat-icon",1),H(),O(2,b1a,3,4,"ng-template",null,2,gg));if(a&2){var c=Kf(3);E("xapInlineDialogClick",c);of("aria-label",b.ariaLabel)}},dependencies:[HB,IX,HX,lD,LX,MX,GX],styles:["xap-dialog-layout[_ngcontent-%COMP%] { padding: 16px; }","xap-dialog-layout-content[_ngcontent-%COMP%] { padding: 0; }"]});var OX=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[]};OX.prototype.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","open");this.location.url(this.paths.viewBookmarkGroup(a))};OX.prototype.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","dashboard");this.location.url(this.paths.dashboard(a))};OX.prototype.editBookmarkGroup=function(a){this.location.url(this.paths.editBookmarkGroup(a))};
OX.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};OX.\u0275fac=function(a){return new (a||OX)(B(PH),B(EI),B(QH),B(zX))};
OX.\u0275cmp=Oc({type:OX,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&&(F(0,"div",0),I(1,"hr"),F(2,"sidebar-zippy",1),O(3,c1a,3,1,"ng-template",null,2,gg),O(5,r1a,1,1,"ng-template",null,3,gg),H()());if(a&2){var b=Kf(4),c=Kf(6);z(2);E("header",b)("content",c)}},dependencies:[Qw,Rw,HB,NX,QA,dD,bD,cD,aD,DX],encapsulation:2,changeDetection:0});var PX=function(a,b,c,d,e){this.location=a;this.analytics=c;this.sidebar=d;this.paths=e;this.userEmail=b.getUserEmail()};PX.prototype.getUserEmail=function(){return this.userEmail};PX.prototype.openEditHotlist=function(a){this.location.url(this.paths.editHotlist(a))};PX.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};PX.\u0275fac=function(a){return new (a||PX)(B(PH),B(Bs),B(EI),B(zX),B(QH))};
PX.\u0275cmp=Oc({type:PX,selectors:[["sidebar-hotlists"]],inputs:{hotlists:"hotlists"},decls:7,vars:2,consts:[[1,"bv2-nav-section"],["prefKey","nav-hotlists",3,"header","content"],["zippyHeader",""],["zippyContent",""],["aria-label","Search for hotlists",3,"showGroups","itemSelect","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","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["mat-menu-item",
"","class","bv2-user-hotlists-edit-menuitem",3,"click",4,"ngIf"]],template:function(a){a&1&&(F(0,"div",0),I(1,"hr"),F(2,"sidebar-zippy",1),O(3,s1a,3,1,"ng-template",null,2,gg),O(5,z1a,1,1,"ng-template",null,3,gg),H()());if(a&2){var b=Kf(4),c=Kf(6);z(2);E("header",b)("content",c)}},dependencies:[Qw,Rw,HB,NX,QA,dD,bD,cD,aD,DX],encapsulation:2,changeDetection:0});var QX=function(a,b,c,d,e,g,h,l,q,v){this.cdr=a;this.location=b;this.savedSearchApi=c;this.paths=d;this.butterBar=e;this.analytics=g;this.sidebar=h;this.errorHandler=l;this.confirmationDialogService=q;this.appEvents=v;this.searches=[]};QX.prototype.isSelected=function(a){return Jcc(this.paths,a.href)};QX.prototype.openEditSavedSearch=function(a){this.location.url(this.paths.editSavedSearch(a))};
var C1a=function(a,b){a.confirmationDialogService.open({title:"Deleting saved search: "+b.name,content:yn("Are you sure you want to delete this search?"),onConfirm:function(){kIc(a,b)}})},kIc=function(a,b){var c=b.id;YG(a.butterBar,'Deleting saved search "'+b.name+'"...');a.savedSearchApi.delete(c).then(function(){a.appEvents.savedSearchModified.next({savedSearchId:c,action:"delete"});YG(a.butterBar,'Deleted saved search "'+b.name+'".');a.analytics.trackEvent("sidebarSavedSearches","deleted");a.cdr.detectChanges()}).catch(function(d){a.errorHandler.errorHandler(null,
d)})};QX.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};QX.\u0275fac=function(a){return new (a||QX)(B(AI,2),B(PH),B(gU),B(QH),B(XG),B(EI),B(zX),B(aH),B(PJ),B(eH))};
QX.\u0275cmp=Oc({type:QX,selectors:[["sidebar-saved-searches"]],inputs:{searches:"searches"},features:[Of([AI])],decls:7,vars:2,consts:[[1,"bv2-nav-section","bv2-nav-section-savedsearches"],["prefKey","nav-ss",3,"header","content"],["zippyHeader",""],["zippyContent",""],["class","saved-search-list",4,"ngIf"],[1,"saved-search-list"],["class","bv2-nav-item",3,"selected","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-item-link",3,"href","click"],[1,"bv2-nav-item-text"],["mat-icon-button",
"","disableRipple","true","aria-label","Saved search actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["menu",""],["matMenuContent",""],["mat-menu-item","",1,"bv2-user-saved-searches-edit-menuitem",3,"click"],["mat-menu-item","","class","bv2-user-saved-searches-edit-menuitem",3,"click",4,"ngIf"]],template:function(a){a&1&&(F(0,"div",0),I(1,"hr"),F(2,"sidebar-zippy",1),O(3,A1a,2,0,"ng-template",null,2,gg),O(5,G1a,1,1,"ng-template",null,3,gg),H()());if(a&
2){var b=Kf(4),c=Kf(6);z(2);E("header",b)("content",c)}},dependencies:[Qw,Rw,HB,QA,dD,bD,cD,aD,DX],encapsulation:2,changeDetection:0});var lIc=/^\s*hotlistid:(\d+)\s*$/i,mIc=/(?:\s|^)componentid:(\d+)\s*/i,nIc=/^\s*savedsearchid:(\d+)\s*$/i,RX=function(a,b,c,d){rF.call(this);var e=this;this.$log=a;this.currentTracker=b;this.contextSensitiveRegistry=c;this.analytics=d;this.currentQuery="";this.currentTrackerScope=[];this.queryState$=new D.BehaviorSubject({query:"",cursorPosition:void 0,setViaInteraction:!1});this.currentTrackerIdList$=this.currentTracker.trackerId$.pipe(C(function(g){return g?[g]:[]}));this.selectedTrackerIds$=new D.Subject;
this.trackerScope$=(0,D.merge)(this.currentTrackerIdList$,this.selectedTrackerIds$);this.searchHandlerStack=[];this.searchTriggered$=new D.Subject;this.subscriptions.add(this.queryState$.pipe(af(this.destroyed$)).subscribe(function(g){e.currentQuery=g.query;(g=e.currentQuery.match(mIc))?e.contextSensitiveRegistry.componentIdOverride$.next(Number(g[1])):e.contextSensitiveRegistry.componentIdOverride$.next(null);(g=e.currentQuery.match(lIc))?e.contextSensitiveRegistry.hotlistIdOverride$.next(Number(g[1])):
e.contextSensitiveRegistry.hotlistIdOverride$.next(null)}));this.subscriptions.add(this.trackerScope$.pipe(af(this.destroyed$)).subscribe(function(g){e.currentTrackerScope=g}))};T(RX,rF);RX.\u0275dir=rF.\u0275dir;RX.prototype.clear=function(){SX(this,"")};var SX=function(a,b){a.queryState$.next({query:b,cursorPosition:void 0,setViaInteraction:!1})},oIc=function(a){return"assignee:"+a+" status:open"};RX.prototype.getStarred=function(){return"star:true"};
RX.prototype.isStarred=function(){return this.currentQuery===this.getStarred()};RX.prototype.getVoted=function(){return"vote:true"};var W1a=function(a){return a.currentQuery===a.getVoted()},pIc=function(a){return"verifier:"+a+" status:open | status:fixed"},qIc=function(a){return(a=a.currentQuery.match(lIc))?Number(a[1]):0},rIc=function(a){return(a=a.currentQuery.match(nIc))?Number(a[1]):0};RX.prototype.track=function(a,b,c){this.analytics.trackEvent("global-search",a,b,c)};
var sIc=function(a,b){a.searchHandlerStack.push(b);return function(){ra(a.searchHandlerStack,b)}};RX.\u0275fac=function(a){return new (a||RX)(t($G),t(PL),t(zK),t(EI))};RX.\u0275prov=yc({token:RX,factory:RX.\u0275fac,providedIn:"root"});var tIc=0,uIc=vh(function(){}),TX=function(a,b,c,d,e){var g=uIc.call(this)||this;g._ngZone=a;g._elementRef=b;g._ariaDescriber=c;g._renderer=d;g._animationMode=e;g._color="primary";g._overlap=!0;g.position="above after";g.size="medium";g._id=tIc++;g._isInitialized=!1;g._interactivityChecker=Jc(Sx);g._document=Jc(qh);return g};T(TX,uIc);f=TX.prototype;
f.ngOnInit=function(){this._clearExistingBadges();this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content));this._isInitialized=!0};f.ngOnDestroy=function(){if(this._renderer.destroyNode){this._renderer.destroyNode(this._badgeElement);var a;null==(a=this._inlineBadgeDescription)||a.remove()}pz(this._ariaDescriber,this._elementRef.nativeElement,this.description)};
f._isHostInteractive=function(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})};
f._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};f._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};
f._updateDescription=function(a){pz(this._ariaDescriber,this._elementRef.nativeElement,this.description);a&&!this._isHostInteractive()||this._removeInlineDescription();this._description=a;this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,a):this._updateInlineDescription()};
f._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)};f._removeInlineDescription=function(){var a;null==(a=this._inlineBadgeDescription)||a.remove();this._inlineBadgeDescription=void 0};
f._setColor=function(a){var b=this._elementRef.nativeElement.classList;b.remove("mat-badge-"+this._color);a&&b.add("mat-badge-"+a)};f._clearExistingBadges=function(){for(var a=k(Array.from(this._elementRef.nativeElement.querySelectorAll(":scope > .mat-badge-content"))),b=a.next();!b.done;b=a.next())b=b.value,b!==this._badgeElement&&b.remove()};
sh.Object.defineProperties(TX.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color},set:function(a){this._setColor(a);this._color=a}},overlap:{configurable:!0,enumerable:!0,get:function(){return this._overlap},set:function(a){this._overlap=Fg(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)}},
hidden:{configurable:!0,enumerable:!0,get:function(){return this._hidden},set:function(a){this._hidden=Fg(a)}}});TX.\u0275fac=function(a){return new (a||TX)(B(df),B(Dd),B(oz),B(yv),B(wv,8))};
TX.\u0275dir=Sc({type:TX,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(a,b){a&2&&xf("mat-badge-overlap",b.overlap)("mat-badge-above",-1===b.position.indexOf("below"))("mat-badge-below",-1!==b.position.indexOf("below"))("mat-badge-before",-1!==b.position.indexOf("before"))("mat-badge-after",-1===b.position.indexOf("before"))("mat-badge-small","small"===b.size)("mat-badge-medium","medium"===b.size)("mat-badge-large","large"===b.size)("mat-badge-hidden",b.hidden||
!b.content)("mat-badge-disabled",b.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[kf]});var UX=function(a,b,c,d,e,g,h,l,q,v,x,A){var G=this;this.cdr=a;this.activeSession=b;this.butterBar=c;this.appSearchState=d;this.paths=e;this.userPreferencesManager=g;this.sidebar=h;this.location=l;this.issueLru=q;this.appEvents=v;this.needsAttentionApi=x;this.currentTracker=A;this.EXPERIMENTAL_HOMEPAGE="EXPERIMENTAL_HOMEPAGE";this.needsAttentionIssueCount$=new D.Subject;this.experimentalHomepagePath=gm("dash",{params:void 0});this.enableHomepageVariantA=pF(this.activeSession,"enableHomepageVariantA");
this.enabledVotedNav=pF(this.activeSession,"enableUpvotedInNav")&&this.activeSession.isInternalSession();this.votedPath=this.paths.listIssues({q:this.appSearchState.getVoted()});this.recentlyViewedPath=vIc(this)?"recent":void 0;this.showNeedsAttentionUI=pF(this.activeSession,"showNeedsAttentionUI")&&this.activeSession.isInternalSession()&&!this.currentTracker.inTracker;this.destroyed$=new kw;this.hasPreferredHomepage$=this.userPreferencesManager.preferences$.pipe(C(function(M){M=(M||oF).homepagePreferences;
return!(!M||!M.resourceType)}),Ne());this.isHomepageNeedsAttention$=this.userPreferencesManager.preferences$.pipe(C(function(M){M=(M||oF).homepagePreferences;return!(!M||"NEEDS_ATTENTION"!==M.resourceType)}),Ne());this.appName=b.getAppName();this.userEmail=b.getUserEmail();this.environmentType=b.getEnvironmentType();this.needsAttentionPath=e.needsAttention();this.assignedPath=e.listIssues({q:oIc(this.userEmail)});this.starredPath=e.listIssues({q:d.getStarred()});this.ccdPath=e.listIssues({q:"cc:"+
this.userEmail});this.verifiedPath=e.listIssues({q:pIc(this.userEmail)});this.reportedPath=e.listIssues({q:"reporter:"+this.userEmail});this.componentsPath=e.listComponents();this.createHotlistPath=e.createHotlist();this.createBookmarkGroupPath=e.createBookmarkGroup();this.sidebarData=this.sidebar.sidebarData;this.needsAttentionIssueCount$=this.appEvents.needsAttentionIssueCount;pF(b,"runQueryForSidebarIssueCount")&&setTimeout(function(){G.userPreferencesManager.needsAttentionPreferences$.pipe(af(G.destroyed$)).subscribe(function(M){var Q=
kkc(G.currentTracker),Y;G.needsAttentionApi.listIssues(null,Q,null!=(Y=M.selectedSignals)?Y:[])})},1E3)};UX.prototype.ngOnInit=function(){var a=this;this.hasPreferredHomepage$.pipe(af(this.destroyed$)).subscribe(function(){setTimeout(function(){a.cdr.detectChanges()})})};UX.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var U1a=function(a){YG(a.butterBar,"Updating homepage...",0);a.userPreferencesManager.clearHomepagePreferences().pipe(af(a.destroyed$)).subscribe(function(){YG(a.butterBar,"Homepage updated")})},L1a=function(a,b){YG(a.butterBar,"Updating homepage...",0);ogc(a.userPreferencesManager,{resourceType:b}).subscribe(function(){YG(a.butterBar,"Homepage updated")})};UX.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};
var vIc=function(a){var b=pF(a.activeSession,"enableRecentlyViewedInNav");a=0<Array.from(a.issueLru.viewed.keys()).length;return b&&a};UX.\u0275fac=function(a){return new (a||UX)(B(AI,2),B(Bs),B(XG),B(RX),B(QH),B(VJ),B(zX),B(mx),B(pW),B(eH),B(NV),B(PL))};
UX.\u0275cmp=Oc({type:UX,selectors:[["b-sidebar"]],features:[Of([AI])],decls:48,vars:30,consts:[[1,"bv2-nav-header"],[1,"bv2-nav-bar"],["role","region",1,"bv2-nav-links"],["aria-label","Canned searches",1,"canned-searches"],[4,"ngIf"],["class","bv2-nav-item","id","needs-attention-sidebar-link",3,"selected",4,"ngIf"],["id","canned-searches-assign",1,"bv2-nav-item"],[3,"href","click"],["svgIcon","issue-status-accepted",1,"canned-search-icon"],["menu",""],["matMenuContent",""],["svgIcon","star-filled",
1,"canned-search-icon"],["svgIcon","person-add-18px",1,"canned-search-icon"],["svgIcon","user-attributes",1,"canned-search-icon"],[3,"selected",4,"ngIf"],["svgIcon","issue-status-fixed",1,"canned-search-icon"],[3,"bookmarkGroups"],[3,"searches"],[3,"hotlists"],[3,"hotlists","bookmarkGroups"],[1,"bv2-nav-manage-link"],[3,"href"],[1,"bv2-nav-item"],["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"],["homepageMenu",""],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["mat-menu-item","","title","Experimental feature. See go/task-mission-control for more.",1,"informational-only","border-top","flush-bottom"],["href","http://go/task-mission-control"],["id","needs-attention-sidebar-link",1,"bv2-nav-item"],["class","canned-search-icon","svgIcon","crisis_alert_24px","matBadgeColor","warn","matBadgeSize","small",3,"matBadge","matBadgeHidden","matBadgeDescription",
4,"ngIf","ngIfElse"],["noBadge",""],["needsAttentionMenu",""],["svgIcon","crisis_alert_24px","matBadgeColor","warn","matBadgeSize","small",1,"canned-search-icon",3,"matBadge","matBadgeHidden","matBadgeDescription"],["svgIcon","crisis_alert_24px",1,"canned-search-icon"],["mat-icon-button","","disableRipple","true","aria-label","Needs attention actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["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&&(F(0,"div",0),I(1,"b-create-issue-button"),H(),F(2,"div",1)(3,"div",2)(4,"ul",3),O(5,N1a,10,4,"ng-container",4),O(6,S1a,12,10,"li",5),F(7,"li",6)(8,"a",7),L("click",function(c){return b.onAnchorClick(b.assignedPath,c)}),I(9,"mat-icon",8),P(10," Assigned to me "),H(),O(11,T1a,3,1,"ng-container",4),R(12,"async"),F(13,"mat-menu",null,9),O(15,V1a,
2,0,"ng-template",10),H()(),F(16,"li")(17,"a",7),L("click",function(c){return b.onAnchorClick(b.starredPath,c)}),I(18,"mat-icon",11),P(19," Starred by me "),H()(),F(20,"li")(21,"a",7),L("click",function(c){return b.onAnchorClick(b.ccdPath,c)}),I(22,"mat-icon",12),P(23," CC'd to me "),H()(),F(24,"li")(25,"a",7),L("click",function(c){return b.onAnchorClick(b.reportedPath,c)}),I(26,"mat-icon",13),P(27," Reported by me "),H()(),O(28,X1a,4,3,"li",14),F(29,"li")(30,"a",7),L("click",function(c){return b.onAnchorClick(b.verifiedPath,
c)}),I(31,"mat-icon",15),P(32," To be verified "),H()(),O(33,Y1a,4,3,"li",14),H(),I(34,"sidebar-bookmark-groups",16)(35,"sidebar-saved-searches",17)(36,"sidebar-hotlists",18)(37,"sidebar-archived",19)(38,"hr"),F(39,"div",20)(40,"a",21),P(41," Create hotlist "),H()(),F(42,"div",20)(43,"a",21),P(44," Create bookmark group "),H()(),F(45,"div",20)(46,"a",21),P(47," Browse components "),H()()()());a&2&&(z(5),E("ngIf",b.enableHomepageVariantA),z(1),E("ngIf",b.showNeedsAttentionUI),z(1),xf("selected",b.appSearchState.currentQuery===
oIc(b.userEmail)),z(1),E("href",b.assignedPath,Ud),z(3),E("ngIf",S(12,28,b.hasPreferredHomepage$)),z(5),xf("selected",b.appSearchState.isStarred()),z(1),E("href",b.starredPath,Ud),z(3),xf("selected",b.appSearchState.currentQuery==="cc:"+b.userEmail),z(1),E("href",b.ccdPath,Ud),z(3),xf("selected",b.appSearchState.currentQuery==="reporter:"+b.userEmail),z(1),E("href",b.reportedPath,Ud),z(3),E("ngIf",b.enabledVotedNav),z(1),xf("selected",b.appSearchState.currentQuery===pIc(b.userEmail)),z(1),E("href",
b.verifiedPath,Ud),z(3),E("ngIf",b.recentlyViewedPath),z(1),E("bookmarkGroups",b.sidebarData.bookmarkGroups),z(1),E("searches",b.sidebarData.userSearches),z(1),E("hotlists",b.sidebarData.hotlists),z(1),E("hotlists",b.sidebarData.archivedHotlists)("bookmarkGroups",b.sidebarData.archivedBookmarkGroups),z(3),E("href",b.createHotlistPath,Ud),z(3),E("href",b.createBookmarkGroupPath,Ud),z(3),E("href",b.componentsPath,Ud))},dependencies:[uX,Rw,HB,QA,dD,bD,cD,aD,TX,EX,OX,PX,QX,Xw],encapsulation:2});var VX=function(){};VX.\u0275fac=function(a){return new (a||VX)};VX.\u0275mod=Qc({type:VX});VX.\u0275inj=zc({imports:[OG]});var WX=function(){};WX.\u0275fac=function(a){return new (a||WX)};WX.\u0275mod=Qc({type:WX});WX.\u0275inj=zc({imports:[ex]});var XX=function(a,b,c,d,e,g,h,l){KX.call(this,a,b,c,d,e,g,h,l);this.hoverDelayMs=500;this.activity=new D.Subject;this.attachMouseEventListeners(c.nativeElement)};T(XX,KX);f=XX.prototype;f.ngOnInit=function(){KX.prototype.ngOnInit.call(this);this.listenForOpenEvents(this.hoverDelayMs)};
f.listenForOpenEvents=function(a){var b=this,c=this.openStatusChange.pipe(Cia(function(){return b.activity.pipe(Le(a))}));c.pipe(af(this.destroyed)).subscribe(function(d){d?b.openDialog():b.closeDialog()});this.openings.pipe(Ge(function(d){return d&&0<b.beforeOpened.observers.length}),sja(function(){return c.pipe(Ge(function(d){return!d}))}),af(this.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})})};
f.attachMouseEventListeners=function(a){var b=this;this.stackManager&&this.stackManager.unregisterEvent().pipe(Le(this.hoverDelayMs),af(this.destroyed)).subscribe(function(){a.matches(":hover")||b.viewContainerRef.element.nativeElement.matches(":hover")?b.openingDialog():b.closingDialog()});this.ngZone.runOutsideAngular(function(){(0,D.fromEvent)(a,"mouseenter").pipe(af(b.destroyed)).subscribe(function(){b.openingDialog()});(0,D.fromEvent)(a,"click").pipe(af(b.destroyed)).subscribe(function(c){c.target.closest("[xapInlineDialogClose]")?
b.closingDialog():(b.openingDialog(),b.openDialog())});(0,D.fromEvent)(a,"mouseleave").pipe(af(b.destroyed)).subscribe(function(){b.closingDialog()});(0,D.fromEvent)(a,"mousemove").pipe(af(b.destroyed)).subscribe(function(){b.activity.next()})})};
f.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,D.fromEvent)(a,"keydown").pipe(af(b.destroyed)).subscribe(function(c){switch(c.keyCode){case 27:var d;(null==(d=b.overlayRef)?0:d.hasAttached())&&c.stopPropagation();b.closeDialog()}})})};f.openingDialog=function(){this.disabled||(this.openStatusChange.next(!0),this.activity.next())};f.closingDialog=function(){this.openStatusChange.next(!1);this.activity.next()};
f.createOverlayConfig=function(a){return new Wz(Object.assign({},this.overlayDimensions,{positionStrategy:KX.prototype.createPositionStrategy.call(this,a),scrollStrategy:gIc(this),panelClass:this.panelClassInternal}))};XX.\u0275fac=function(a){return new (a||XX)(B(df),B(dA),B(Dd),B(Zf),B(qh),B(sz),B(oz),B(sv))};
XX.\u0275dir=Sc({type:XX,selectors:[["","xapInlineDialog",""]],hostAttrs:[1,"xap-inline-dialog"],inputs:{dialog:["xapInlineDialog","dialog"],disabled:["xapInlineDialogDisabled","disabled"],hoverDelayMs:"hoverDelayMs"},exportAs:["xapInlineDialog"],features:[kf]});[].concat(cd([XX,LX,MX,jIc]),[JX]);var YX=function(){};YX.\u0275fac=function(a){return new (a||YX)};YX.\u0275mod=Qc({type:YX});YX.\u0275inj=zc({imports:[nz,ex,gA,ly]});var ZX=function(){};ZX.\u0275fac=function(a){return new (a||ZX)};ZX.\u0275mod=Qc({type:ZX});ZX.\u0275inj=zc({imports:[OG,VX,CU,gO,CO,EU,WX,fE,Px,YX,fQ]});var $X=function(){};$X.\u0275fac=function(a){return new (a||$X)};$X.\u0275mod=Qc({type:$X});$X.\u0275inj=zc({imports:[OG,zP]});var aY=function(){};aY.\u0275fac=function(a){return new (a||aY)};aY.\u0275mod=Qc({type:aY});aY.\u0275inj=zc({imports:[nz,hA,hA]});var bY=function(){};bY.\u0275fac=function(a){return new (a||bY)};bY.\u0275mod=Qc({type:bY});bY.\u0275inj=zc({imports:[$X,OG,ZX,ED,eD,aY,FD]});var cY=function(){};cY.\u0275fac=function(a){return new (a||cY)};cY.\u0275prov=yc({token:cY,factory:cY.\u0275fac,providedIn:"root"});var dY=function(a){this.executor=a};T(dY,cY);dY.\u0275fac=function(a){return new (a||dY)(t(hE))};dY.\u0275prov=yc({token:dY,factory:dY.\u0275fac,providedIn:"root"});var eY=function(a,b){rF.call(this);this.dialogRef=a;this.tosApi=b;this.ackChecked=!1};T(eY,rF);eY.\u0275dir=rF.\u0275dir;eY.prototype.accept=function(){var a=this;this.tosApi.executor.post({url:"action/terms_ack",body:null,responseConstructor:null}).pipe(af(this.destroyed$)).subscribe(function(){a.dialogRef.close()})};eY.\u0275fac=function(a){return new (a||eY)(B(bB),B(cY))};
eY.\u0275cmp=Oc({type:eY,selectors:[["b-terms-of-service-dialog"]],features:[kf],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&&(F(0,"h1",0),P(1,"Google IssueTracker Terms of Service"),H(),F(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),L("ngModelChange",function(c){return b.ackChecked=c}),H(),F(5,"span"),P(6," I acknowledge and agree to the "),F(7,"a",3),P(8,"Google Terms of Service"),H(),P(9," and the "),F(10,"a",4),P(11,"Google IssueTracker Conduct Policy"),H(),P(12,". "),H()()(),F(13,"mat-dialog-actions")(14,"button",5),L("click",function(){return b.accept()}),P(15," OK "),H()());a&2&&(z(4),E("ngModel",b.ackChecked),z(10),E("disabled",!b.ackChecked))},dependencies:[tx,Ax,QA,$O,gB,hB,iB],styles:[".b-tos-content[_ngcontent-%COMP%]{padding-top:1em}.b-tos-content[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]{padding-right:8px}"]});var fY=function(a,b){rF.call(this);this.activeSession=a;this.matDialogService=b};T(fY,rF);fY.\u0275dir=rF.\u0275dir;fY.prototype.ngOnInit=function(){this.activeSession.getMustAcknowledgeTerms()&&$A(this.matDialogService.open(eY,{width:"400px",disableClose:!0})).pipe(af(this.destroyed$))};fY.\u0275fac=function(a){return new (a||fY)(B(Bs),B(eB))};fY.\u0275cmp=Oc({type:fY,selectors:[["b-terms-of-service"]],features:[kf],decls:0,vars:0,template:function(){},encapsulation:2});var gY=function(){};gY.\u0275fac=function(a){return new (a||gY)};gY.\u0275mod=Qc({type:gY});gY.\u0275inj=zc({imports:[Px,OG,ED,EP,jB]});var hY=function(){};hY.\u0275fac=function(a){return new (a||hY)};hY.\u0275mod=Qc({type:hY});hY.\u0275inj=zc({imports:[OG,gY]});var a2a=0;var wIc=Jya("blinkers-activated"),xIc=Vm("blinkers-activated"),yIc=b2a("debug-dom-mutation","var(--c400)"),zIc=b2a("debug-ng-zone","var(--red-400)"),AIc=b2a("debug-xhr","var(--green-500)",1200),BIc=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;a2a++;var d=156;d+=12*(a2a-1);return function(e,g){g=void 0===g?b:g;var h,l=null!=(h=document.getElementById(a))?h:Z1a(a,d);l.style.transition="opacity "+c+"ms";l.style.backgroundColor=g;l.style.opacity=e?"1":"0"}}("active-user","var(--yellow-500)"),
iY=function(a,b){this.activityMonitor=a;this.userActivity=b;this.destroyed$=new D.Subject;this.publicApi={isEnabled:this.isEnabled.bind(this),enable:this.enable.bind(this),disable:this.disable.bind(this)};this.isEnabled()&&CIc(this)};iY.prototype.ngOnDestroy=function(){this.destroyed$.next();this.activityMonitor.domObserver.disconnect()};iY.prototype.isEnabled=function(){return xIc()};iY.prototype.enable=function(){this.isEnabled()||(wIc(!0),CIc(this))};
iY.prototype.disable=function(){wIc(!1);this.destroyed$.next();this.activityMonitor.domObserver.disconnect()};var CIc=function(a){a.activityMonitor.dom$.pipe(af(a.destroyed$)).subscribe(function(){return void yIc()});Gdc(a.activityMonitor);a.activityMonitor.cdr$.pipe(af(a.destroyed$)).subscribe(function(){return void zIc()});a.activityMonitor.xhr$.pipe(af(a.destroyed$)).subscribe(function(){return void AIc()});a.userActivity.active$.pipe(af(a.destroyed$)).subscribe(function(b){return void BIc(b)})};
iY.\u0275fac=function(a){return new (a||iY)(t(zI),t(BI))};iY.\u0275prov=yc({token:iY,factory:iY.\u0275fac,providedIn:"root"});var jY=function(a,b,c,d,e,g,h,l,q,v,x,A,G){var M=this;this.activeSession=a;this.appEvents=b;this.ngZone=c;this.window=d;this.buganizerBlinkers=e;this.currentUser=g;this.routeParamsService=h;this.issueFridge=l;this.eventsForIssueFridge=q;this.customFieldFridge=v;this.changelistFridge=x;this.aggregatedIssueMetadataFridge=A;this.taskFridge=G;this.getCurrentIssueId=function(){var Q;return null==(Q=M.routeParamsService.routeParams$.value)?void 0:Q.issueId};this.getCurrentIssue=function(){var Q=M.getCurrentIssueId();
if(null!=Q)return M.issueFridge.memory.getData(Q)};this.getCurrentIssueEvents=function(){var Q=M.getCurrentIssueId();if(null!=Q)return M.eventsForIssueFridge.memory.getData(Q)}};
jY.prototype.install=function(){if(this.activeSession.isInternalSession()){var a=this;this.window.bedbug={ngZone:this.ngZone,appEvents:this.appEvents,requestKeeper:Edc,activeSession:this.activeSession,blinkers:this.buganizerBlinkers.publicApi,toggleDebugLogging:tdc("debug-logging"),toggleOptOutExperiments:tdc("opt-out-experiments"),currentUser:this.currentUser,fridges:{issueFridge:this.issueFridge,eventsForIssueFridge:this.eventsForIssueFridge,customFieldFridge:this.customFieldFridge,changelistFridge:this.changelistFridge,
aggregatedIssueMetadataFridge:this.aggregatedIssueMetadataFridge,taskFridge:this.taskFridge},get initialSession(){return vl()},get prefs(){return vl().userPreferences},get currentIssue(){return a.getCurrentIssue()},get currentIssueEvents(){return a.getCurrentIssueEvents()},get flags(){return vl().config.enabledFlags}}}};jY.\u0275fac=function(a){return new (a||jY)(t(Bs),t(eH),t(df),t(qF),t(iY),t(qJ),t(rK),t(JI),t(nG),t(jH),t(uG),t(tG),t(VI))};jY.\u0275prov=yc({token:jY,factory:jY.\u0275fac,providedIn:"root"});var DIc=function(a){this.delegate_=a};DIc.prototype.getDelegate=function(){return this.delegate_};var EIc=function(a,b){this.delegate_=a;this.currentTarget_=b;this.target_=null};T(EIc,DIc);EIc.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=FIc(b,a.pop());return this.target_=b};EIc.prototype.getType=function(){return this.getDelegate().xa};var GIc=function(a){this.delegate_=a};T(GIc,DIc);f=GIc.prototype;f.listen=function(a,b,c,d){var e=this;return this.getDelegate().za(a,function(g){return b.call(d||ba,new EIc(g,e))},c)};f.listenOnce=function(){throw Error("Zd");};f.unlisten=function(){throw Error("Zd");};f.unlistenByKey=function(){throw Error("Zd");};f.dispatchEvent=function(){throw Error("Zd");};f.removeAllListeners=function(){throw Error("Zd");};f.getParentEventTarget=function(){throw Error("Zd");};
f.fireListeners=function(){throw Error("Zd");};f.getListener=function(){throw Error("Zd");};f.hasListener=function(){throw Error("Zd");};GIc.prototype[QYb]=!0;var kY=function(a){this.delegate_=a};T(kY,GIc);kY.prototype.getHeight=function(){return this.getDelegate().pa()};kY.prototype.setPageTitle=function(){this.getDelegate().pb(void 0)};kY.prototype.setBackgroundColor=function(a){this.getDelegate().pd(a)};kY.prototype.getBackgroundColor=function(){return this.getDelegate().pn()};var HIc=function(a,b){this.delegate_=a;this.wrapperConstructor_=b||null};T(HIc,DIc);HIc.prototype.then=function(a,b,c){var d;a&&(d=IIc(this,a));this.getDelegate().aa(d,b,c)};var IIc=function(a,b){var c=a.wrapperConstructor_;return c?function(d){b.call(this,new c(d))}:b};var lY=function(a){this.delegate_=a||gbar.a;this.gapiPromise_=this.barPromise_=null};T(lY,DIc);lY.prototype.getGapi=function(){this.gapiPromise_||(this.gapiPromise_=new HIc(this.getDelegate().bh()));return this.gapiPromise_};lY.getInstance=function(){if(lY.instance_&&lY.hasOwnProperty("instance_"))var a=lY.instance_;else a=new lY,lY.instance_=a;return a};var mY=function(a,b){rF.call(this);this.router=a;this.window=b};T(mY,rF);mY.\u0275dir=rF.\u0275dir;mY.prototype.start=function(){var a=this;return(new Promise(function(b,c){var d=lY.getInstance();d.barPromise_||(d.barPromise_=new HIc(d.getDelegate().bf(),kY));d.barPromise_.then(b,c)})).then(function(b){JIc(a,b)})};var JIc=function(a,b){a.router.events.pipe(Ge(eza),af(a.destroyed$)).subscribe(function(){b.getDelegate().pl(a.window.location.href)})};
mY.\u0275fac=function(a){return new (a||mY)(t(IH),t(qF))};mY.\u0275prov=yc({token:mY,factory:mY.\u0275fac,providedIn:"root"});var nY=function(a,b,c){rF.call(this);var d=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.eventsForIssueFridge=c;this.handlers$=this.paramsService.routeParams$.pipe(Ne(Xh),$e(function(e){return d.onRouteParamsChanged(e)}));this.init=function(){d.subscriptions.add(d.handlers$.subscribe(function(){}))};this.initOnce=qza(this.init)};T(nY,rF);nY.\u0275dir=rF.\u0275dir;
nY.prototype.onRouteParamsChanged=function(a){var b=this,c,d;return pe(function(e){if(1==e.nextAddress){c={trustUncertainMemory:!0};if(!a.issueId)return e.jumpTo(2);d=a.issueId;return e.yield(Promise.all([OI(b.issueFetchResponseFridge,d,c),b.eventsForIssueFridge.poke(d,c)]),3)}return e.return()})};nY.\u0275fac=function(a){return new (a||nY)(t(rK),t(MI),t(nG))};nY.\u0275prov=yc({token:nY,factory:nY.\u0275fac,providedIn:"root"});var oY=function(a){rF.call(this);var b=this;this.scrollTimingMap=new Map;a.routeChangeSuccess.pipe(af(this.destroyed$)).subscribe(function(){b.scrollTimingMap.clear()})};T(oY,rF);oY.\u0275dir=rF.\u0275dir;oY.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)};oY.\u0275fac=function(a){return new (a||oY)(t(DI))};
oY.\u0275prov=yc({token:oY,factory:oY.\u0275fac,providedIn:"root"});var pY=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da,Oa,Ta){rF.call(this);var Wa=this;this.bLocation=a;this.reloadService=b;this.timeout=c;this.activeSession=d;this.hotkeys=e;this.paths=g;this.userPrefs=h;this.issuePagination=l;this.userFeedback=A;this.ngZone=G;this.matDialogService=M;this.renderer=W;this.announcement=this.dismissedMessageId=null;this.matSidebarWidth=220;this.isAnonymous=this.activeSession.isAnonymous();this.sidebarDragSaver=this.sidebarDragOffset=null;Oa.install();Ta.install();
Ddc(x);this.subscriptions.add(v.onClickAppMenuIcon.subscribe(function(){Wa.matSidebarWidth=185>Wa.matSidebarWidth?"open":0}));h.homepagePreferences$.pipe(af(this.destroyed$)).subscribe(function($a){Q.homepagePreferences=$a});this.densityClass="d-comfort";this.renderer.addClass(document.body,this.densityClass);this.userPrefs.themePreferences$.pipe(af(this.destroyed$)).subscribe(function($a){$a=i2a($a.density);$a!==Wa.densityClass&&(Wa.renderer.addClass(document.body,$a),Wa.renderer.removeClass(document.body,
Wa.densityClass),Wa.densityClass=$a)});this.subscriptions.add(sIc(q,function($a){Wa.doSearch($a)}));var Nb=g.createIssue(),Eb=g.listIssues({q:oIc(d.getUserEmail())}),cb=g.listIssues({q:"cc:"+d.getUserEmail()}),sa=g.listIssues({q:pIc(d.getUserEmail())}),Ka=g.listIssues({q:"reporter:"+d.getUserEmail()}),Qa=g.listIssues({q:q.getStarred()}),fb=g.listIssues({q:q.getVoted()});this.subscriptions.add(gN(this.hotkeys,{title:"General",hotkeys:[{keys:["/","F3"],displayAs:"/ or F3",description:"Search",onPress:function(){var $a=
document.querySelector(".search-box-container .search-box");null==$a||$a.focus();null==$a||$a.select()}},{keys:[Nn("2"),BFa()],displayAs:"@ or Alt+Shift+f",description:"Send feedback",onPress:function(){Wa.startFeedback()}},{keys:["c"],displayAs:"c",description:"Create issue",onPress:function(){a.url(Nb)}},{keys:[On("g","n")],displayAs:"g then n",description:'Go to "Needs attention"',onPress:function(){a.url(g.needsAttention())}},{keys:[On("g","a")],displayAs:"g then a",description:'Go to "Assigned to me"',
onPress:function(){a.url(Eb)}},{keys:[On("g","c")],displayAs:"g then c",description:'Go to "CC\'d to me"',onPress:function(){a.url(cb)}},{keys:[On("g","r")],displayAs:"g then r",description:'Go to "Reported by me"',onPress:function(){a.url(Ka)}},{keys:[On("g","s")],displayAs:"g then s",description:'Go to "Starred by me"',onPress:function(){a.url(Qa)}},{keys:[On("g","1")],displayAs:"g then 1",description:'Go to "Upvoted by me"',onPress:function(){a.url(fb)}},{keys:[On("g","v")],displayAs:"g then v",
description:'Go to "To be verified"',onPress:function(){a.url(sa)}},{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($a){if(0===$a&&20<Wa.sidebarDragPosition||1===$a&&!(20<Wa.sidebarDragPosition))20<Wa.sidebarDragPosition?KIc(Wa,20,1):KIc(Wa,Wa.lastOpenPosition,
1);Wa.matSidebarWidth=0===$a?0:"open"}},{keys:["?",AFa("F1")],displayAs:"? or Ctrl+F1",description:"Display the keyboard shortcuts pop-up",onPress:function(){Wa.matDialogService.open(iX,{minWidth:512})}}]}));this.lastOpenPosition=this.sidebarDragPosition=220;this.announcement=this.activeSession.getAnnouncement();this.userPrefs.preferences$.pipe(Oe(),af(this.destroyed$)).subscribe(function($a){Wa.dismissedMessageId=$a.bannerMessageId||"";$a=($a.layoutPreferences||{}).leftSidebarWidth;Wa.matSidebarWidth=
$a||220;if(void 0===$a)Wa.sidebarDragPosition=220;else if(90>$a)Wa.sidebarDragPosition=20;else{if(220<$a){var Yc=LIc();$a>Yc&&($a=Yc)}185>$a&&($a=185);Wa.sidebarDragPosition=$a}});(0,D.fromEvent)(document,"mouseup",{capture:!0}).pipe(af(this.destroyed$)).subscribe(function(){Wa.sidebarDragOffset&&(Wa.sidebarDragOffset=null,KIc(Wa,Wa.sidebarDragPosition,1))});(0,D.fromEvent)(Q,"resize").pipe(af(this.destroyed$)).subscribe(function(){if(220<Wa.sidebarDragPosition){var $a=LIc();Wa.sidebarDragPosition>
$a&&KIc(Wa,$a,3E3)}});this.ngZone.runOutsideAngular(function(){(0,D.fromEvent)(document,"mousemove").pipe(af(Wa.destroyed$)).subscribe(function($a){if(Wa.sidebarDragOffset){$a=$a.pageX-Wa.sidebarDragOffset;if(90>$a)$a=20;else if(185>$a)$a=185;else{var Yc=LIc();$a>Yc&&($a=Yc)}KIc(Wa,$a,0)}})});ia.start();Wm()&&(null!=wdc&&wdc.disconnect(),wdc=new $m.PerformanceObserver(Wya),wdc.observe({entryTypes:["measure"]}));setTimeout(c2a,6E4);ja.start();Aa.initOnce();Da.initOnce();Q.emergencyBugjugglerWorkaround=
{session:d,issueComments:Y}};T(pY,rF);pY.\u0275dir=rF.\u0275dir;pY.prototype.startDragging=function(a){this.sidebarDragOffset=a.pageX-this.sidebarDragPosition;a.preventDefault()};pY.prototype.isDragging=function(){return null!==this.sidebarDragOffset};
var LIc=function(){var a=window.innerWidth;return 1075<=a?a-855:220},g2a=function(a,b){a.userPrefs.layoutPreferences$.pipe($e(function(c){return a.userPrefs.save({layoutPreferences:Object.assign({},c,{leftSidebarWidth:b})})})).pipe(Oe(),af(a.destroyed$)).subscribe()},KIc=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(){g2a(a,20===a.sidebarDragPosition?
0:a.sidebarDragPosition);a.sidebarDragSaver=null},c).catch(function(){}))};pY.prototype.doSearch=function(a){a=this.paths.listIssues({q:a});var b=Kcc(this.paths,a);nX(this.issuePagination);b&&Iub(this.reloadService);this.bLocation.url(a)};var d2a=function(a){null!==a.announcement&&(a.dismissedMessageId=a.announcement.messageId,a.userPrefs.save({bannerMessageId:a.dismissedMessageId}).pipe(Oe(),af(a.destroyed$)).subscribe())};pY.prototype.startFeedback=function(){this.userFeedback.startFeedback()};
pY.\u0275fac=function(a){return new (a||pY)(B(PH),B(yX),B(HG),B(Bs),B(fN),B(QH),B(VJ),B(mX),B(RX),B(eH),B(yI),B(YQ),B(df),B(eB),B(qF),B(nJ),B(yv),B(mY),B(oY),B(oX),B(nY),B(jY),B(BI))};
pY.\u0275cmp=Oc({type:pY,selectors:[["app-root"]],features:[kf],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","tabindex","0",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"),O(2,f2a,4,2,"div",0),I(3,"b-sso-expired-callout-outlet"),F(4,"div",1),O(5,h2a,2,2,"b-resizable-sidebar",2),F(6,"div",3),I(7,"b-router-outlet"),H()(),I(8,"b-footer")(9,"bug-screensaver-manager"));if(a&2){z(2);var c;a=b.announcement;
a=void 0===a?b.announcement:a;if(null!=(c=a)&&c.message){var d;c=0<(null==(d=a.tags)?void 0:d.length)?!1:a.dismissible?null==b.dismissedMessageId?!1:a.messageId!==b.dismissedMessageId:!0}else c=!1;E("ngIf",c);z(3);E("ngIf",!b.isAnonymous)}},dependencies:function(){return[Rw,AHc,BP,UX,fY,YGc,xHc,yHc,XGc]},encapsulation:2});var qY=function(){};qY.\u0275fac=function(a){return new (a||qY)};qY.\u0275mod=Qc({type:qY});qY.\u0275inj=zc({imports:[OG,tX,DP,bY,hY,hX,rX,sX,qX,ED,jX]});var rY=function(){};rY.\u0275fac=function(a){return new (a||rY)};rY.\u0275mod=Qc({type:rY});rY.\u0275inj=zc({imports:[OG]});var MIc=Object.assign({},new MXb,{backdropClass:"gmat-dialog-backdrop",panelClass:"gmat-dialog-panel",hasBackdrop:!0}),sY=function(){};sY.\u0275fac=function(a){return new (a||sY)};sY.\u0275mod=Qc({type:sY});sY.\u0275inj=zc({providers:[{provide:NXb,useValue:MIc}],imports:[jB,jB]});var tY=function(){};tY.\u0275fac=function(a){return new (a||tY)};tY.\u0275mod=Qc({type:tY});tY.\u0275inj=zc({imports:[OG,sY,ED,jB,BO,FT,aX,rY]});var NIc=function(a,b,c,d){Vx.call(this,a,b,c,d,!0);var e=this;this.escapeSubject$=new D.Subject;this.startAnchorListener=function(){e.escapeSubject$.next(0);return!0};this.endAnchorListener=function(){e.escapeSubject$.next(1);return!0};Ux(this)};T(NIc,Vx);var uY=function(a,b,c){this.checker=a;this.ngZone=b;this.document=c};uY.prototype.create=function(a){return new NIc(a,this.checker,this.ngZone,this.document)};uY.\u0275fac=function(a){return new (a||uY)(t(Sx),t(df),t(qh))};
uY.\u0275prov=yc({token:uY,factory:uY.\u0275fac,providedIn:"root"});var OIc=["content"],vY=function(a){rF.call(this);this.focusEscapeNotifierFactory=a;this.trapFocus=this.required=!1;this.renderPanel=this.noneButtonEnabled=this.todayButtonEnabled=!0;this.dateChange=new kw;this.cancelClicked=new kw;this.saveClicked=new kw;this.dateSelectionChange=new kw;this.focusEscaped=new kw};T(vY,rF);vY.\u0275dir=rF.\u0275dir;
vY.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){j2a(a,a.date);a.calendar._getCurrentViewComponent()._focusActiveCell(!1)});this.focusEscapeNotifier=this.focusEscapeNotifierFactory.create(this.content.nativeElement);this.focusEscapeNotifier.escapeSubject$.pipe(af(this.destroyed$)).subscribe(function(b){if(a.trapFocus)if(0===b){var c;null==(c=a.focusEscapeNotifier)||NTb(c)}else{var d;null==(d=a.focusEscapeNotifier)||Tx(d)}else a.focusEscaped.emit(b)})};
var j2a=function(a,b){if(b=b instanceof Dl?b:Tua(b))a.calendar.activeDate=b};vY.\u0275fac=function(a){return new (a||vY)(B(uY))};
vY.\u0275cmp=Oc({type:vY,selectors:[["b-date-time-picker-content"]],viewQuery:function(a,b){a&1&&(bg(PA,7),bg(OIc,7));if(a&2){var c;ag(c=dg())&&(b.calendar=c.first);ag(c=dg())&&(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:[kf],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&&(Ff(),F(0,"div",null,0)(2,"div",1),Gf(3),H(),F(4,"mat-calendar",2),L("selectedChange",function(c){b.date=c;b.dateSelectionChange.emit(c)}),R(5,"toDateTime"),R(6,"toDateTime"),H(),F(7,"div",3),O(8,m2a,4,2,"div",4),F(9,"div",5)(10,"button",6),L("click",function(){return b.cancelClicked.emit()}),P(11,"Cancel"),H(),F(12,"button",7),L("click",function(){b.dateChange.emit(b.date);return b.saveClicked.emit()}),P(13,"Save"),H()()()());a&2&&(xf("container",b.renderPanel),z(4),E("selected",
S(5,5,b.date))("startAt",S(6,7,b.date)),z(4),E("ngIf",b.todayButtonEnabled||b.noneButtonEnabled))},dependencies:function(){return[Rw,QA,PA,XM,wY]},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 wY=function(){};wY.prototype.transform=function(a){var b;return null!=(b=Tua(a))?b:void 0};wY.\u0275fac=function(a){return new (a||wY)};wY.\u0275pipe=Uc({name:"toDateTime",type:wY,pure:!0});var PIc=[{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"}],xY=function(a,b,c){rF.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 kw;this.dateSelectionChange=new kw;this.onClose=
new kw;this.opened=!1;this.destroyed$.subscribe(function(){var e;null==(e=d.overlayRef)||e.dispose()})};T(xY,rF);f=xY.prototype;f.open=function(){this.opened||(this.overlayRef=this.createOverlay(),this.attach(),this.opened=!0)};f.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()}};
f.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};f.attach=function(){var a=this,b=new fy(vY),c;this.pickerContent=null==(c=this.overlayRef)?void 0:c.attach(b).instance;var d;null==(d=this.overlayRef)||d.updatePosition();setTimeout(function(){QIc(a)})};
f.getPositionStrategy=function(){return Zz($z(aA(cA(this.overlay.position(),this.element)),8),PIc)};f.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
var QIc=function(a){if(a.pickerContent&&a.overlayRef){var b=(0,D.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(af(b)).subscribe(function(){setTimeout(function(){return a.element.nativeElement.focus()})});a.pickerContent.dateChange.pipe(af(b)).subscribe(function(c){a.selectedChange.emit(c)});a.pickerContent.dateSelectionChange.pipe(af(b)).subscribe(function(c){a.dateSelectionChange.emit(c)});
(0,D.merge)(a.pickerContent.saveClicked,a.pickerContent.cancelClicked,a.overlayRef.backdropClick(),a.overlayRef.keydownEvents().pipe(Ge(function(c){return"Escape"===c.code}))).pipe(af(b)).subscribe(function(){a.close()})}};xY.\u0275fac=function(a){return new (a||xY)(B(dA),B(Dd),B(Dd))};
xY.\u0275dir=Sc({type:xY,selectors:[["","bDateTimePickerToggle",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(a,b){a&1&&L("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&&(Tx(b.pickerContent.focusEscapeNotifier),c.preventDefault())})("keydown.shift.tab",
function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(NTb(b.pickerContent.focusEscapeNotifier),c.preventDefault())});a&2&&of("aria-expanded",b.opened||void 0)},inputs:{openOnClick:"openOnClick",openOnEnter:"openOnEnter",focusTrapHost:["bDateTimePickerToggleFocusTrapHost","focusTrapHost"],required:["bDateTimePickerToggleRequired","required"],selected:["bDateTimePickerToggleSelected","selected"]},outputs:{selectedChange:"bDateTimePickerToggleSelectedChange",dateSelectionChange:"bDateTimePickerToggleDateSelectionChange",
onClose:"bDateTimePickerToggleOnClose"},exportAs:["bDateTimePickerToggle"],features:[kf]});var RIc=["pickerToggle"],yY=function(){this.customAriaLabelledBy=this.customFormId=void 0;this.required=!1;this.valueChange=new kw};yY.\u0275fac=function(a){return new (a||yY)};
yY.\u0275cmp=Oc({type:yY,selectors:[["b-date-time-input"]],viewQuery:function(a,b){a&1&&bg(RIc,7);if(a&2){var c;ag(c=dg())&&(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&&(F(0,"button",0,1),L("bDateTimePickerToggleSelectedChange",function(c){b.value=c;b.valueChange.emit(c)}),O(2,n2a,1,1,"b-formatted-date-time",2),O(3,o2a,2,0,"ng-container",3),H());a&2&&(E("id",b.customFormId)("bDateTimePickerToggleRequired",b.required)("bDateTimePickerToggleSelected",b.value)("bDateTimePickerToggleFocusTrapHost",
!1),of("aria-labelledby",b.customAriaLabelledBy),z(2),E("ngIf",b.value),z(1),E("ngIf",!b.value))},dependencies:[xY,FL,QA,Rw],styles:["/*# sourceMappingURL=date_time_input.css.map */"]});var SIc=["filterInput"],zY=function(a){rF.call(this);this.dateFormatter=a;this.enumChoices=[];this.onSave=new kw;this.valueMap=new Map;this.sortedValues=[];this.filterValue=null;this.currentSelectedDate=void 0};T(zY,rF);zY.\u0275dir=rF.\u0275dir;f=zY.prototype;f.ngOnInit=function(){this.initValues()};f.ngOnChanges=function(a){a.originalValueMap&&this.initValues()};f.ngAfterViewInit=function(){var a=this,b;null==(b=this.trigger)||b.menuOpened.pipe($e(function(){return(0,D.timer)(0)}),af(this.destroyed$)).subscribe(function(){a.focusFilterBox()})};
f.showMenu=function(){this.trigger.openMenu()};f.closeMenu=function(){this.trigger.closeMenu()};f.focusFilterBox=function(){var a;null==(a=this.filterElement)||a.nativeElement.focus()};var TIc=function(a){return a.filterValue&&"REPEATED_DATE"!==a.type?a.sortedValues.filter(function(b){return a.getDisplayString(b).includes(String(a.filterValue))}):a.sortedValues};
zY.prototype.addValue=function(){var a=this.filterValue;this.filterValue=null;a&&!this.valueMap.get(a)&&(this.valueMap.set(a,!0),UIc(this),this.onSave.emit({valueMap:this.valueMap,valueChanged:this.valueChanged()}))};zY.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})};
zY.prototype.initValues=function(){this.valueMap=new Map(this.originalValueMap||[]);this.enumChoices=this.enumChoices||[];for(var a=k(this.enumChoices),b=a.next();!b.done;b=a.next())b=b.value,this.valueMap.has(b)||this.valueMap.set(b,!1);UIc(this)};
var UIc=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)})},q2a=function(a){return!!a.filterValue&&"REPEATED_ENUM"!==a.type&&"REPEATED_DATE"!==a.type};zY.prototype.getDisplayString=function(a){return"REPEATED_DATE"===this.type?this.dateFormatter.formatUserCalendar(ci(a)):a};zY.prototype.getLabel=function(){return this.valueChanged()?"Changed":"Unchanged"};
zY.\u0275fac=function(a){return new (a||zY)(B(dK))};
zY.\u0275cmp=Oc({type:zY,selectors:[["b-bulk-repeated-field-picker"]],viewQuery:function(a,b){a&1&&(bg(cD,5),bg(SIc,5));if(a&2){var c;ag(c=dg())&&(b.trigger=c.first);ag(c=dg())&&(b.filterElement=c.first)}},inputs:{type:"type",originalValueMap:"originalValueMap",enumChoices:"enumChoices"},outputs:{onSave:"onSave"},features:[kf,gd],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&&(F(0,"button",0)(1,"span"),P(2),H(),I(3,"b-icon",1),H(),F(4,"mat-menu",null,2),O(6,p2a,3,4,"div",3),I(7,"mat-divider"),F(8,"div",4),O(9,r2a,2,3,"input",5),H(),O(10,s2a,1,0,"mat-divider",6),O(11,t2a,2,0,"div",7),O(12,u2a,4,1,"div",6),H());if(a&2){var c=Kf(5);E("matMenuTriggerFor",c);z(2);Mf(b.getLabel());z(4);E("ngForOf",TIc(b));z(3);E("ngIf","REPEATED_DATE"!==
b.type);z(1);E("ngIf",q2a(b));z(1);E("ngIf",q2a(b));z(1);E("ngIf","REPEATED_DATE"===b.type)}},dependencies:[Qw,Rw,dD,bD,cD,XM,dO,QA,$O,wg,tx,Ax,yY],styles:[".multi-edit-menuitem[_ngcontent-%COMP%]{padding:0 5px}.filter[_ngcontent-%COMP%]{padding:0 5px}/*# sourceMappingURL=bulk_repeated_field_picker.css.map */"]});var VIc=0,AY=function(a){this.changeDetectorRef=a;this.active=!1;this.id="b-list-option-"+VIc;VIc+=1};AY.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};AY.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};AY.\u0275fac=function(a){return new (a||AY)(B(Kw))};
AY.\u0275dir=Sc({type:AY,selectors:[["","onedevListOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Df("id",b.id),xf("active",b.active))},inputs:{option:"option"},exportAs:["onedevListOption"]});var BY=function(){};BY.\u0275fac=function(a){return new (a||BY)};BY.\u0275mod=Qc({type:BY});BY.\u0275inj=zc({});var w2a=function(){return{$implicit:void 0}},z2a=function(a){return{$implicit:a}},CY=function(a){this.includeEmptyOption=this.disabled=!1;this.valueChange=new kw;this.selected=new kw;this.destroyed$=new D.ReplaySubject(1);a&&this.handleKeydown(a.keydown$)};f=CY.prototype;f.ngOnInit=function(){};f.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};f.ngAfterViewInit=function(){this.keyManager=wz(vz(new Az(this.viewOptions)))};f.ngOnChanges=function(a){a.value&&WIc(this)};
f.isSelected=function(a){return this.value===a};f.select=function(a){this.disabled||(this.isSelected(a)||this.valueChange.emit(a),this.selected.emit())};var WIc=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),XIc(a))}};CY.prototype.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&this.keyManager.setActiveItem(-1)};
CY.prototype.handleKeydown=function(a){var b=this;a.pipe(af(this.destroyed$)).subscribe(function(c){if(!b.disabled&&b.keyManager){var d=c.code;"ArrowUp"===d||"ArrowDown"===d?(c.preventDefault(),b.keyManager.onKeydown(c),XIc(b)):"Home"===d||"End"===d?(c.preventDefault(),"Home"===d?b.keyManager._setActiveItemByIndex(0,1):gWb(b.keyManager),XIc(b)):"Enter"!==d&&"Space"!==d||!b.keyManager.activeItem||(c.preventDefault(),b.select(b.keyManager.activeItem.option))}})};
var XIc=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"})}};CY.\u0275fac=function(a){return new (a||CY)(B(kN,8))};
CY.\u0275cmp=Oc({type:CY,selectors:[["onedev-selectable-list"]],viewQuery:function(a,b){a&1&&bg(AY,5);if(a&2){var c;ag(c=dg())&&(b.viewOptions=c)}},hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(a,b){a&1&&L("focus",function(){return WIc(b)})("blur",function(){return b.clearActiveItem()});a&2&&(a=b.keyManager&&b.keyManager.activeItem?b.keyManager.activeItem.id:void 0,of("aria-activedescendant",a)("aria-disabled",b.disabled)("aria-label",b.label))},inputs:{value:"value",options:"options",
optionTemplate:"optionTemplate",disabled:"disabled",includeEmptyOption:"includeEmptyOption",label:"label"},outputs:{valueChange:"valueChange",selected:"selected"},features:[gd],decls:4,vars:2,consts:[["role","option","onedevListOption","",3,"option","click",4,"ngIf"],[4,"ngFor","ngForOf"],["optionDisplay",""],["role","option","onedevListOption","",3,"option","click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],["customOptionDisplay",""],["emptyOption",""],["aria-label",
"empty"]],template:function(a,b){a&1&&(O(0,x2a,2,5,"div",0),O(1,B2a,2,1,"ng-container",1),O(2,H2a,3,2,"ng-template",null,2,gg));a&2&&(E("ngIf",b.includeEmptyOption),z(1),E("ngForOf",b.options))},dependencies:[Qw,Rw,Ww,AY],styles:["[role=option][_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;font-size:13px;padding:6px 8px;font-weight:400;letter-spacing:.185714px;line-height:normal;color:var(--text-default)}[role=option][_ngcontent-%COMP%]:hover{cursor:pointer}[role=option].active[_ngcontent-%COMP%], [role=option][_ngcontent-%COMP%]:active{background-color:var(--option-active-bg,#e8f0fe)}[role=option][aria-selected=true][_ngcontent-%COMP%]{background-color:var(--option-selected-bg,#d2e3fc)}"],
changeDetection:0});var DY=function(){};var YIc=["trigger"],J2a=function(a){return{$implicit:a}},ZIc=0,EY=function(a){this.includeEmptyOption=this.disabled=!1;this.label="";this.valueChange=new kw;this.displayArrowIcon=!0;this.focused=this.required=this.openPopupOnInit=!1;this.contentId="onedev-single-select-"+ZIc;this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0;ZIc++};T(EY,DY);f=EY.prototype;f.ngOnInit=function(){};
f.ngAfterViewInit=function(){this.openPopupOnInit&&(this.popupTrigger.open(),this.focused=!0)};f.writeValue=function(a){this.val=a};f.onSelectionChange=function(a){a!==this.val&&(this.onChange(a),this.value=a,this.valueChange.emit(a))};f.isActive=function(){return this.popupTrigger.isOpen||this.focused};f.contentAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.contentId};f.registerOnChange=function(a){this.onChange=a};
f.registerOnTouched=function(a){this.onTouched=a};var $Ic=function(a){var b="";a.label&&(b+=a.label+", ");a.required&&(b+="required, ");return b};EY.prototype.setDisabledState=function(a){this.disabled=a};sh.Object.defineProperties(EY.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});EY.\u0275fac=function(a){return new (a||EY)(wd("required"))};
EY.\u0275cmp=Oc({type:EY,selectors:[["onedev-single-select"]],viewQuery:function(a,b){a&1&&bg(YIc,7);if(a&2){var c;ag(c=dg())&&(b.popupTrigger=c.first)}},inputs:{value:"value",options:"options",disabled:"disabled",includeEmptyOption:"includeEmptyOption",label:"label",labelledById:"labelledById",valueTemplate:"valueTemplate",optionTemplate:"optionTemplate",displayArrowIcon:"displayArrowIcon",openPopupOnInit:"openPopupOnInit"},outputs:{valueChange:"valueChange"},features:[Of([{provide:gx,useExisting:Ec(function(){return EY}),
multi:!0},{provide:DY,useExisting:Ec(function(){return EY}),multi:!0}]),kf],decls:13,vars:17,consts:[["onedevPopupPanelTrigger","",3,"onedevPopupPanelTriggerDisabled","disabled","onedevPopupPanelTriggerFor","focus","blur","click","closed"],["trigger","onedevPopupPanelTrigger"],[1,"cdk-visually-hidden"],[4,"ngIf","ngIfElse"],["optionTemplateOrTextLabel",""],["textLabel",""],["class","arrow-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],["onedevKeyEventReceiver","",3,"relayOnly"],
["panel","onedevPopupPanel"],["tabindex","0",1,"single-select-panel",3,"value","includeEmptyOption","options","optionTemplate","label","valueChange","selected"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["emptyValue",""],["aria-label","empty"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"arrow-icon"],["d","M7 10l5 5 5-5H7z"]],template:function(a,b){if(a&1){var c=u();F(0,"button",0,1);L("focus",function(){return b.focused=!0})("blur",function(){return b.focused=!1})("click",
function(){w(c);var g=Kf(1);return y(g.open())})("closed",function(){b.onTouched()});F(2,"span",2);P(3);H();O(4,K2a,2,4,"ng-container",3);O(5,N2a,1,2,"ng-template",null,4,gg);O(7,Q2a,3,2,"ng-template",null,5,gg);O(9,R2a,2,0,"svg",6);H();F(10,"onedev-popup-panel",7,8)(12,"onedev-selectable-list",9);L("valueChange",function(g){return b.onSelectionChange(g)})("selected",function(){w(c);var g=Kf(1);return y(g.close())});H()()}if(a&2){var d=Kf(6),e=Kf(11);xf("active",b.isActive());E("onedevPopupPanelTriggerDisabled",
b.disabled)("disabled",b.disabled)("onedevPopupPanelTriggerFor",e);of("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());z(3);Mf($Ic(b));z(1);E("ngIf",b.valueTemplate)("ngIfElse",d);z(5);E("ngIf",b.displayArrowIcon);z(1);E("relayOnly",!0);z(2);E("value",b.value)("includeEmptyOption",b.includeEmptyOption)("options",b.options)("optionTemplate",b.optionTemplate)("label",b.label)}},dependencies:[Rw,Ww,kN,CY,lN,mN],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 Y2a=function(){return[]},FY=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};f=FY.prototype;
f.ngOnInit=function(){for(var a=new Map,b=null,c=k(this.issues),d=c.next();!d.done;d=c.next()){var e=d.value;d=e.customFieldMap;e=e.customFieldValueMap;if(!b){b=new Map;for(var g=k(Object.keys(d)),h=g.next();!h.done;h=g.next())h=h.value,b.set(bi(h),e[h]||void 0)}g=k(b);for(h=g.next();!h.done;h=g.next()){var l=k(h.value);h=l.next().value;l=l.next().value;var q=d[h],v=e[h],x=void 0,A=null==(x=q)?void 0:x.type;if(q)if("REPEATED_DATE"===A||"REPEATED_ENUM"===A||"REPEATED_NUMERIC"===A||"REPEATED_TEXT"===
A){l=this.repeatedCustomFieldsMap.get(h)||new Map;q=0===l.size;v=aJc(v);x=Array.from(l.keys()).concat(v);x=k(x);for(A=x.next();!A.done;A=x.next())A=A.value,v.includes(A)?l.has(A)||l.set(A,q||null):l.set(A,null);this.repeatedCustomFieldsMap.set(h,l)}else(!v&&void 0!==l||v&&!Xh(v,l))&&b.set(h,null);else b.delete(h)}d=k(Object.entries(d));for(e=d.next();!e.done;e=d.next())g=k(e.value),e=g.next().value,g=g.next().value,a.set(Number(e),Yh(g))}this.customFields=Array.from(b.keys()).map(function(G){return a.get(G)}).filter(function(G){return G});
this.customFields=this.customFields.map(function(G){var M=b.get(G.customFieldId);G.hasMultipleValues=null===M;M?G=Object.assign(M,G):G.hasMultipleValues||"ENUM"!==G.type||(G.enumValue="");return G});c=k(this.customFields);for(d=c.next();!d.done;d=c.next())d=d.value,this.originalCustomFields.set(d.customFieldId,Yh(d))};
f.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}};f.getCustomFieldName=function(a){return a.name};f.isCustomFieldRequired=function(a){return a.required};f.getCustomFieldAllowedValues=function(a){return a.allowedValue};f.getCustomFieldType=function(a){return a.type};
var yp=function(a){return"bv2-custom-field-"+a.customFieldId+"-label"},aJc=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()}):[]},W2a=function(a){return a?Vh(a):null},$2a=function(a,b,c){for(var d=k(a.bulkEditOps),e=d.next();!e.done;e=d.next())e=e.value,e.actions=e.actions.filter(function(x){return x.customFieldValue.customFieldId!==
b});a.bulkEditOps=a.bulkEditOps.filter(function(x){return x.actions.length});if(c.valueChanged){d=k(a.issues);var g=d.next();for(e={};!g.done;e={$jscomp$loop$prop$issueValues$2360:e.$jscomp$loop$prop$issueValues$2360,$jscomp$loop$prop$action$2361:e.$jscomp$loop$prop$action$2361},g=d.next()){g=g.value;var h=Qca(g.customFieldValueMap,function(x){return x.customFieldId===b});e.$jscomp$loop$prop$issueValues$2360=aJc(h);c.valueMap.forEach(function(x){return function(A,G){A&&!x.$jscomp$loop$prop$issueValues$2360.includes(G)?
x.$jscomp$loop$prop$issueValues$2360.push(G):!1===A&&(x.$jscomp$loop$prop$issueValues$2360=x.$jscomp$loop$prop$issueValues$2360.filter(function(M){return M!==G}))}}(e));h=a.originalCustomFields.get(b).type;var l=[],q=[];"REPEATED_DATE"==h?l=e.$jscomp$loop$prop$issueValues$2360.map(function(x){return Wh(ci(x))}):"REPEATED_NUMERIC"==h&&(q=e.$jscomp$loop$prop$issueValues$2360.map(function(x){return Number(x)}));var v=new ii({customFieldId:b});switch(h){case "REPEATED_TEXT":v.repeatedTextValue={values:e.$jscomp$loop$prop$issueValues$2360};
break;case "REPEATED_DATE":v.repeatedDateValue={values:l};break;case "REPEATED_ENUM":v.repeatedEnumValue={values:e.$jscomp$loop$prop$issueValues$2360};break;case "REPEATED_NUMERIC":v.repeatedNumericValue={values:q}}e.$jscomp$loop$prop$action$2361={fieldName:"customField",customFieldValue:v,actionType:v.isEmpty()?"REMOVE":"ADD"};h=a.bulkEditOps.findIndex(function(x){return function(A){return A.actions.some(function(G){return Xh(x.$jscomp$loop$prop$action$2361,G)})}}(e));-1!==h?a.bulkEditOps[h].issueIds.push(g.issueId):
a.bulkEditOps.push({actions:[e.$jscomp$loop$prop$action$2361],issueIds:[g.issueId]})}}},bJc=function(a){var b=a.customFields.filter(function(l){return!l.type.includes("REPEATED")&&!Xh(l,a.originalCustomFields.get(l.customFieldId))}),c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d=new ii({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 g=
void 0;d.numericValue=null!=(g=e.numericValue)?g:void 0}if(e=d.isEmpty())d.textValue="";c.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}if(c.length){var h=a.issues.map(function(l){return l.issueId});b=a.bulkEditOps.findIndex(function(l){a:if(l=l.issueIds,va(h)&&va(l)&&h.length==l.length){for(var q=h.length,v=0;v<q;v++)if(h[v]!==l[v]){l=!1;break a}l=!0}else l=!1;return l});-1!==b?a.bulkEditOps[b].actions=a.bulkEditOps[b].actions.concat(c):a.bulkEditOps.push({actions:c,
issueIds:h})}};FY.\u0275fac=function(a){return new (a||FY)(B(dB),B(bB))};
FY.\u0275cmp=Oc({type:FY,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&&(F(0,"h2",0),P(1,"Update custom fields"),H(),F(2,"mat-dialog-content"),O(3,S2a,2,0,"div",1),O(4,d3a,8,6,"div",2),H(),F(5,"mat-dialog-actions")(6,"button",3),L("class",function(){return b.dialogRef.close()}),P(7,"Cancel"),H(),F(8,"button",4),L("click",
function(){bJc(b);b.bulkEditOps.length?b.dialogRef.close(b.bulkEditOps):b.dialogRef.close()}),P(9," Save "),H()());a&2&&(z(3),E("ngIf",0===b.customFields.length),z(1),E("ngForOf",b.customFields))},dependencies:[Qw,Rw,Sw,Tw,Uw,fB,gB,hB,iB,EY,zY,wg,Cx,tx,Ax,yY,QA,lD],encapsulation:2});var cJc=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/,dJc=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/,eJc=function(a){this.patternParts_=[];this.dateTimeSymbols_=zB;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)};
eJc.prototype.applyPattern_=function(a){for(var b=!1,c="",d=0;d<a.length;d++){var e=a.charAt(d);if(cJc.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 g=a.charAt(d),h=d+1;h<a.length&&a.charAt(h)==g;)h++;g=h-d;0>=g?h=!1:(h="MydhHmsSDkK".indexOf(e),h=0<h||0==h&&3>g);this.patternParts_.push({text:e,count:g,abutStart:!1,numeric:h});d+=g-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};eJc.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)};
eJc.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 g=this.patternParts_[c];if(0<g.count&&(0>"abBhHkKm".indexOf(g.text.charAt(0))||2<g.count||g.abutStart))throw Error("$d`"+g.text.charAt(0));}g=new fJc;c=[0];g.dayPeriodIndex=-1;for(var h=0;h<this.patternParts_.length&&!(d&&c[0]>=a.length);h++){if(0==this.patternParts_[h].count){a:{var l=a;var q=this.patternParts_[h],v=d;if(null!=q.text.match(cJc)){if(q=c[0],gJc(l,
c),c[0]>q){l=!0;break a}}else{if(l.indexOf(q.text,c[0])==c[0]){c[0]+=q.text.length;l=!0;break a}if(v&&0==q.text.indexOf(l.substring(c[0]))){c[0]+=l.length-c[0];l=!0;break a}}l=!1}if(l)continue;return 0}if(this.patternParts_[h].abutStart){a:{q=a;v=h;var x=c[0],A=0;for(l=v;l<this.patternParts_.length;l++){var G=this.patternParts_[l],M=G.count;if(0===M)break;if(l==v&&(M-=A,A++,0==M)){l=0;break a}var Q=l>v&&G.numeric,Y=c[0];if(!hJc(this,q,c,G,M,g,!1)||Q&&c[0]-Y<M)l=v-1,c[0]=x}l-=v}if(0>=l)return 0;h+=
l-1}else if(!hJc(this,a,c,this.patternParts_[h],0,g,d))return 0}a:{a=e;if(null==b)throw Error("ae");void 0!=g.era&&void 0!=g.year&&0==g.era&&0<g.year&&(g.year=-(g.year-1));void 0!=g.year&&b.setFullYear(g.year);d=b.getDate();b.setDate(1);void 0!=g.month&&b.setMonth(g.month);void 0!=g.day?b.setDate(g.day):(e=nYb(b.getFullYear(),b.getMonth()),b.setDate(d>e?e:d));"function"===typeof b.setHours&&(void 0==g.hours&&(g.hours=b.getHours()),12>g.hours&&(void 0!=g.ampm&&0<g.ampm?g.hours+=12:void 0!==g.dayPeriodName&&
("isPm noon afternoon1 afternoon2 evening1 evening2".split(" ").includes(g.dayPeriodName)||["night1","night2"].includes(g.dayPeriodName)&&6<=g.hours)&&(g.hours+=12)),b.setHours(g.hours));"function"===typeof b.setMinutes&&void 0!=g.minutes&&b.setMinutes(g.minutes);"function"===typeof b.setSeconds&&void 0!=g.seconds&&b.setSeconds(g.seconds);"function"===typeof b.setMilliseconds&&void 0!=g.milliseconds&&b.setMilliseconds(g.milliseconds);if(a&&(g.year&&g.year!=b.getFullYear()||g.month&&g.month!=b.getMonth()||
g.day&&g.day!=b.getDate()||g.hours&&24<=g.hours||g.minutes&&60<=g.minutes||g.seconds&&60<=g.seconds||g.milliseconds&&1E3<=g.milliseconds))b=!1;else{void 0!=g.tzOffset&&b.setTime(b.getTime()+6E4*(g.tzOffset-b.getTimezoneOffset()));g.ambiguousYear&&(a=new Date,a.setFullYear(a.getFullYear()-80),b.getTime()<a.getTime()&&b.setFullYear(a.getFullYear()+100));if(void 0!=g.dayOfWeek)if(void 0==g.day)g=(7+g.dayOfWeek-b.getDay())%7,3<g&&(g-=7),a=b.getMonth(),b.setDate(b.getDate()+g),b.getMonth()!=a&&b.setDate(b.getDate()+
(0<g?-7:7));else if(g.dayOfWeek!=b.getDay()){b=!1;break a}b=!0}}return b?c[0]:0};
var hJc=function(a,b,c,d,e,g,h){gJc(b,c);if(d.numeric&&0<e&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return GY(b,c,[a.dateTimeSymbols_.ERAS],function(l){return g.era=l}),!0;case "M":case "L":return iJc(a,b,c,e,d,g);case "E":return GY(b,c,[a.dateTimeSymbols_.WEEKDAYS,a.dateTimeSymbols_.SHORTWEEKDAYS],function(l){return g.dayOfWeek=l});case "B":case "b":return e=[],a=[[].concat(a.dateTimeSymbols_.AMPMS)],e.push("isAm"),e.push("isPm"),b=GY(b,c,a,function(l){return g.dayPeriodIndex=
l},h),g.dayPeriodName=e[g.dayPeriodIndex],h?b:!0;case "a":return b=GY(b,c,[a.dateTimeSymbols_.AMPMS],function(l){return g.ampm=l},h),h?b:!0;case "y":return jJc(a,b,c,d,e,g);case "Q":return GY(b,c,[a.dateTimeSymbols_.QUARTERS,a.dateTimeSymbols_.SHORTQUARTERS],function(l){g.month=3*l;g.day=1});case "d":return kJc(a,b,c,d,e,function(l){g.day=l}),!0;case "S":return lJc(a,b,c,e,g);case "h":case "K":case "H":case "k":return b=kJc(a,b,c,d,e,function(l){g.hours="h"===d.text.charAt(0)&&12===l?0:l},h),h?b:
!0;case "m":return b=kJc(a,b,c,d,e,function(l){g.minutes=l},h),h?b:!0;case "s":return kJc(a,b,c,d,e,function(l){g.seconds=l}),!0;case "z":case "Z":case "v":return mJc(a,b,c,g);default:return!1}},jJc=function(a,b,c,d,e,g){var h=c[0];e=HY(a,b,c,e);null===e&&(e=HY(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,g.ambiguousYear=a==c,a+=100*Math.floor(b/100)+(a<c?100:0),g.year=a):g.year=e;return!0},iJc=function(a,b,c,d,e,g){return e.numeric&&kJc(a,
b,c,e,d,function(h){g.month=h-1})?!0:GY(b,c,[a.dateTimeSymbols_.MONTHS,a.dateTimeSymbols_.STANDALONEMONTHS,a.dateTimeSymbols_.SHORTMONTHS,a.dateTimeSymbols_.STANDALONESHORTMONTHS],function(h){g.month=h})},lJc=function(a,b,c,d,e){var g=c[0];a=HY(a,b,c,d);if(null===a)return!1;c=c[0]-g;e.milliseconds=3>c?a*Math.pow(10,3-c):Math.round(a/Math.pow(10,c-3));return!0},mJc=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],g=HY(a,b,c,0,!0);if(null===
g)return!1;if(c[0]<b.length&&":"==b.charAt(c[0])){var h=60*g;c[0]++;g=HY(a,b,c,0);if(null===g)return!1;h+=g}else h=g,h=24>h&&3>=c[0]-e?60*h:h%100+h/100*60;d.tzOffset=-h;return!0},kJc=function(a,b,c,d,e,g,h){h=h||!1;var l=c[0];a=HY(a,b,c,e);if(null===a)return!1;if(h&&c[0]-l<d.count){if(c[0]<b.length)return!1;a*=Math.pow(10,d.count-(c[0]-l))}g(a);return!0},GY=function(a,b,c,d,e){e=e||!1;for(var g,h=0;h<c.length;h++){g=b;for(var l=c[h],q=e,v=0,x=null,A=a.substring(g[0]).toLowerCase(),G=0;G<l.length;G++){var M=
l[G].toLowerCase();if(q&&0==M.indexOf(A)){v=A.length;x=G;break}l[G].length>v&&0==A.indexOf(M)&&(v=l[G].length,x=G)}null!==x&&(g[0]+=v);g=x;if(null!==g)return d(g),!0}return!1},gJc=function(a,b){(a=a.substring(b[0]).match(dJc))&&(b[0]+=a[0].length)},HY=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 g=c[0];g<b.length;g++){var h=b.charCodeAt(g)-a.dateTimeSymbols_.ZERODIGIT;d.push(0<=h&&9>=h?String.fromCharCode(h+48):b.charAt(g))}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)},fJc=function(){};fJc.prototype.ambiguousYear=!1;var vXb=Array(31).fill(0).map(function(a,b){return""+(b+1)}),IY=function(){var a=iA.apply(this,arguments)||this;a.locale=zB;return a};T(IY,iA);f=IY.prototype;f.setLocale=function(){throw Error("be");};f.getYear=function(a){return a.getYear()};f.getMonth=function(a){return a.getMonth()};f.getDate=function(a){return a.getDate()};f.getDayOfWeek=function(a){return a.getDay()};var uXb=function(a,b){switch(b){case "long":return a.locale.WEEKDAYS;case "narrow":return a.locale.NARROWWEEKDAYS;default:return a.locale.SHORTWEEKDAYS}};
IY.prototype.getFirstDayOfWeek=function(){return(this.locale.FIRSTDAYOFWEEK+1)%7};IY.prototype.clone=function(a){return a.clone()};var LA=function(a,b,c){return new Dl(a,b,c)};IY.prototype.parse=function(a,b){if(""===a)return null;b=new eJc(a.match(/\d{3,}/)?b:b.replace("yyyy","yy"));var c=new Dl(new Date(a));b.parse(a,c);return c};IY.prototype.format=function(a,b){if(!this.isValid(a))throw Error("ce");return(new BB(b)).format(a)};
var JA=function(a,b){a=a.clone();a.add(new AB(b));return a},KA=function(a,b){a=a.clone();a.add(new AB(0,b));return a},IA=function(a,b){a=a.clone();a.add(new AB(0,0,b));return a},jA=function(a){return a instanceof Dl};IY.prototype.isValid=function(a){return!isNaN(a.getTime())};IY.prototype.invalid=function(){return new Dl(NaN)};IY.prototype.sameDate=function(a,b){return a&&b?(new Uh(a)).equals(b):!1};IY.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(IY)))(b||IY)}}();
IY.\u0275prov=yc({token:IY,factory:IY.\u0275fac});var nJc={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"},JY=nJc;JY=nJc;var KY=zB.DATEFORMATS[3];KY=KY.replace(/yyyy/,"yy").replace(/yy/,"yyyy");"M/d/yyyy"===KY&&(KY="MM/dd/yyyy");var oJc={parse:{dateInput:KY},display:{dateInput:KY,monthYearLabel:JY.YEAR_MONTH_ABBR,dateA11yLabel:JY.MONTH_DAY_YEAR_MEDIUM,monthYearA11yLabel:JY.YEAR_MONTH_FULL}};var LY=function(){};LY.\u0275fac=function(a){return new (a||LY)};LY.\u0275mod=Qc({type:LY});LY.\u0275inj=zc({providers:[{provide:iA,useClass:IY},{provide:mA,useValue:oJc}],imports:[OG,ED,eE,kU,nz]});var MY=function(){};MY.\u0275fac=function(a){return new (a||MY)};MY.\u0275mod=Qc({type:MY});MY.\u0275inj=zc({imports:[LY,fO,ED,OG]});var NY=function(){};NY.\u0275fac=function(a){return new (a||NY)};NY.\u0275mod=Qc({type:NY});NY.\u0275inj=zc({imports:[OG,eD,kU,nU,zO,ED,yB,EP,Px,MY]});var OY=function(){};OY.\u0275fac=function(a){return new (a||OY)};OY.\u0275mod=Qc({type:OY});OY.\u0275inj=zc({imports:[ex]});var PY=function(){};PY.\u0275fac=function(a){return new (a||PY)};PY.\u0275mod=Qc({type:PY});PY.\u0275inj=zc({imports:[ex,ED,BY]});var QY=function(){};QY.\u0275fac=function(a){return new (a||QY)};QY.\u0275mod=Qc({type:QY});QY.\u0275inj=zc({imports:[ex,mD,ED,Px,OY,PY,nN]});var RY=function(){};RY.\u0275fac=function(a){return new (a||RY)};RY.\u0275mod=Qc({type:RY});RY.\u0275inj=zc({imports:[OG,jB,QY,NY,Px,MY,ED,fE]});var SY=function(){};SY.\u0275fac=function(a){return new (a||SY)};SY.\u0275mod=Qc({type:SY});SY.\u0275inj=zc({imports:[OG,fO,EP,ED,jB,pO,PP,CO,YP]});var pJc=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"]]),qJc=new Map([["ENABLED","Enabled"],["DISABLED","Disabled"]]),g3a=new Map([["BUGANIZER_DEFAULT","Default (10 years)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Indefinite"]]),h3a=new Map([["BUGANIZER_DEFAULT",
"Default (60 days)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Match Issue Retention"]]),TY=function(a,b){this.$log=a;this.sessionIsInternal=b.isInternalSession()};TY.\u0275fac=function(a){return new (a||TY)(t($G),t(Bs))};TY.\u0275prov=yc({token:TY,factory:TY.\u0275fac,providedIn:"root"});var j3a=new Map([["SLO_SOURCE_UNSPECIFIED","--"],["USER","User"],["BUGSCOPE","Bugscope"]]);var UY=function(a,b){rF.call(this);this.componentFridge=a;this.activeSession=b;this.providedComponentId$=new D.ReplaySubject(1);this.component$=this.providedComponentId$.pipe($e(this.componentFridge.watch),Xe({refCount:!0,bufferSize:1}));this.init=new D.ReplaySubject(1);this.isAnonymous=this.activeSession.isAnonymous()};T(UY,rF);UY.\u0275dir=rF.\u0275dir;
UY.prototype.ngOnInit=function(){var a=this;this.providedComponentId$.next(this.componentId);this.recentIssuesUrl=hm({q:"status:open componentid:"+this.componentId,s:"created_time:desc"});this.createIssueUrl=gm("issues/new",{params:void 0})+"?component="+this.componentId;this.viewComponentUrl=twa(this.componentId,"basic");this.component$.pipe(Oe(),af(this.destroyed$)).subscribe(function(){a.init.next()})};UY.\u0275fac=function(a){return new (a||UY)(B(AG),B(Bs))};
UY.\u0275cmp=Oc({type:UY,selectors:[["b-component-card"]],inputs:{componentId:"componentId"},outputs:{init:"init"},features:[kf],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&&(F(0,"div",0)(1,"div",1),O(2,n3a,16,8,"ng-container",2),R(3,"async"),H()());a&2&&(z(2),E("ngIf",S(3,1,b.component$)))},
dependencies:[Rw,MP,Xw],styles:["[_nghost-%COMP%]{max-width:400px}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0}"]});var VY=function(){this.changes=new D.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}};VY.\u0275fac=function(a){return new (a||VY)};VY.\u0275prov=yc({token:VY,factory:VY.\u0275fac,providedIn:"root"});
var rJc={provide:VY,deps:[[new ov,new pv,VY]],useFactory:function(a){return a||new VY}};new ad("MAT_PAGINATOR_DEFAULT_OPTIONS");
var sJc=vh(Foa(function(){})),WY=function(a,b,c){var d=sJc.call(this)||this;d._intl=a;d._changeDetectorRef=b;d._pageIndex=0;d._length=0;d._pageSizeOptions=[];d._hidePageSize=!1;d._showFirstLastButtons=!1;d.selectConfig={};d.page=new kw;d._intlChanges=a.changes.subscribe(function(){return d._changeDetectorRef.markForCheck()});if(c){var e=c.pageSize,g=c.pageSizeOptions,h=c.hidePageSize;c=c.showFirstLastButtons;null!=e&&(d._pageSize=e);null!=g&&(d._pageSizeOptions=g);null!=h&&(d._hidePageSize=h);null!=
c&&(d._showFirstLastButtons=c)}return d};T(WY,sJc);f=WY.prototype;f.ngOnInit=function(){this._initialized=!0;this._updateDisplayedPageSizeOptions();this._markInitialized()};f.ngOnDestroy=function(){this._intlChanges.unsubscribe()};f.nextPage=function(){if(this.hasNextPage()){var a=this.pageIndex;this.pageIndex+=1;this._emitPageEvent(a)}};f.hasPreviousPage=function(){return 1<=this.pageIndex&&0!=this.pageSize};
f.hasNextPage=function(){return this.pageIndex<(this.pageSize?Math.ceil(this.length/this.pageSize):0)-1&&0!=this.pageSize};f._changePageSize=function(a){var b=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/a)||0;this.pageSize=a;this._emitPageEvent(b)};f._nextButtonsDisabled=function(){return this.disabled||!this.hasNextPage()};f._previousButtonsDisabled=function(){return this.disabled||!this.hasPreviousPage()};
f._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())};
f._emitPageEvent=function(a){this.page.emit({previousPageIndex:a,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})};
sh.Object.defineProperties(WY.prototype,{pageIndex:{configurable:!0,enumerable:!0,get:function(){return this._pageIndex},set:function(a){this._pageIndex=Math.max(Ig(a),0);this._changeDetectorRef.markForCheck()}},length:{configurable:!0,enumerable:!0,get:function(){return this._length},set:function(a){this._length=Ig(a);this._changeDetectorRef.markForCheck()}},pageSize:{configurable:!0,enumerable:!0,get:function(){return this._pageSize},set:function(a){this._pageSize=Math.max(Ig(a),0);this._updateDisplayedPageSizeOptions()}},
pageSizeOptions:{configurable:!0,enumerable:!0,get:function(){return this._pageSizeOptions},set:function(a){this._pageSizeOptions=(a||[]).map(function(b){return Ig(b)});this._updateDisplayedPageSizeOptions()}},hidePageSize:{configurable:!0,enumerable:!0,get:function(){return this._hidePageSize},set:function(a){this._hidePageSize=Fg(a)}},showFirstLastButtons:{configurable:!0,enumerable:!0,get:function(){return this._showFirstLastButtons},set:function(a){this._showFirstLastButtons=Fg(a)}}});
WY.\u0275fac=function(){Hd()};WY.\u0275dir=Sc({type:WY,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[kf]});var tJc=new ad("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS"),XY=function(a,b,c){a=WY.call(this,a,b,c)||this;c&&null!=c.formFieldAppearance&&(a._formFieldAppearance=c.formFieldAppearance);return a};T(XY,WY);XY.\u0275dir=WY.\u0275dir;XY.\u0275fac=function(a){return new (a||XY)(B(VY),B(Kw),B(tJc,8))};
XY.\u0275cmp=Oc({type:XY,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[kf],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition",
"disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],
["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","panelClass","disableOptionCentering","aria-label","selectionChange"],
[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],
template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1),O(2,r3a,5,3,"div",2),F(3,"div",3)(4,"div",4),P(5),H(),O(6,s3a,3,5,"button",5),F(7,"button",6),L("click",function(){if(b.hasPreviousPage()){var c=b.pageIndex;--b.pageIndex;b._emitPageEvent(c)}}),rd(),F(8,"svg",7),I(9,"path",8),H()(),sd(),F(10,"button",9),L("click",function(){return b.nextPage()}),rd(),F(11,"svg",7),I(12,"path",10),H()(),O(13,t3a,3,5,"button",11),H()()());a&2&&(z(2),E("ngIf",!b.hidePageSize),z(3),Lf(" ",b._intl.getRangeLabel(b.pageIndex,
b.pageSize,b.length)," "),z(1),E("ngIf",b.showFirstLastButtons),z(1),E("matTooltip",b._intl.previousPageLabel)("matTooltipDisabled",b._previousButtonsDisabled())("matTooltipPosition","above")("disabled",b._previousButtonsDisabled()),of("aria-label",b._intl.previousPageLabel),z(3),E("matTooltip",b._intl.nextPageLabel)("matTooltipDisabled",b._nextButtonsDisabled())("matTooltipPosition","above")("disabled",b._nextButtonsDisabled()),of("aria-label",b._intl.nextPageLabel),z(3),E("ngIf",b.showFirstLastButtons))},
dependencies:[Qw,Rw,QA,uB,HP,SA,lD],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],
encapsulation:2,changeDetection:0});var YY=function(a){this.paths=a;this.children=[];this.onVisit=new kw;this.pageSize=25;this.pageSizeOptions=[10,25,100];this.childrenOnPage=[]};YY.prototype.ngOnInit=function(){this.childrenOnPage=this.children.slice(0,this.pageSize)};YY.\u0275fac=function(a){return new (a||YY)(B(QH))};
YY.\u0275cmp=Oc({type:YY,selectors:[["b-component-children-list"]],inputs:{children:"children"},outputs:{onVisit:"onVisit"},decls:3,vars:2,consts:[[3,"length","pageSize","pageSizeOptions","page",4,"ngIf"],[1,"component-children"],[4,"ngFor","ngForOf"],[3,"length","pageSize","pageSizeOptions","page"],[1,"keep-underline","keep-focus-ring",3,"onedevHovercardTrigger","href","click"],["card","onedevHovercard"],[3,"componentId"]],template:function(a,b){a&1&&(O(0,u3a,1,3,"mat-paginator",0),F(1,"ul",1),O(2,
v3a,6,4,"li",2),H());a&2&&(E("ngIf",b.children.length>b.pageSize),z(2),E("ngForOf",b.childrenOnPage))},dependencies:[Qw,Rw,UK,ZK,UY,XY],encapsulation:2});var ZY=function(){};ZY.\u0275fac=function(a){return new (a||ZY)};ZY.\u0275mod=Qc({type:ZY});ZY.\u0275inj=zc({imports:[OG,RP]});var $Y=function(){};$Y.\u0275fac=function(a){return new (a||$Y)};$Y.\u0275mod=Qc({type:$Y});$Y.\u0275inj=zc({providers:[rJc],imports:[ex,ED,IP,fE,hA]});var aZ=function(){};aZ.\u0275fac=function(a){return new (a||aZ)};aZ.\u0275mod=Qc({type:aZ});aZ.\u0275inj=zc({imports:[OG,gO,ZY,$Y]});var bZ=function(){this.shouldShowCopyIssueShortLinks=!1;this.shortLinkPrefix="b/";this.onClickCopyIssueIds=new kw;this.onClickCopyIssueShortLinks=new kw;this.onClickCopyAsIssueSearch=new kw};bZ.\u0275fac=function(a){return new (a||bZ)};
bZ.\u0275cmp=Oc({type:bZ,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&&(F(0,"b-button-group")(1,"button",0),L("click",function(){return b.onClickCopyIssueIds.emit()}),I(2,"b-icon",1),H(),F(3,"button",2),I(4,"b-icon",3),H(),F(5,"mat-menu",null,4),O(7,w3a,2,1,"button",5),F(8,"button",6),L("click",function(){return b.onClickCopyAsIssueSearch.emit()}),
P(9," Copy as issue search "),H()()());if(a&2){var c=Kf(6);z(3);E("matMenuTriggerFor",c);z(4);E("ngIf",b.shouldShowCopyIssueShortLinks)}},dependencies:[Rw,dD,bD,cD,QA,YW,dO],encapsulation:2,changeDetection:0});new ad("xap-clipboard-snackbar-options");var cZ=function(){};cZ.\u0275fac=function(a){return new (a||cZ)};cZ.\u0275mod=Qc({type:cZ});cZ.\u0275inj=zc({imports:[ex,ED,mD,UG]});var dZ=function(){};dZ.\u0275fac=function(a){return new (a||dZ)};dZ.\u0275mod=Qc({type:dZ});dZ.\u0275inj=zc({imports:[OG,eD,ED,aX,zO,cZ]});var eZ=function(a,b,c,d,e){this.clipboard=a;this.analytics=c;this.butterBar=d;this.window=e;this.shortLinkPrefix=NFa(b)?"b/":"b-qa/"},t7a=function(a,b){a.clipboard.copy(b.join(", "));YG(a.butterBar,"Issue IDs copied.",2E3);a.analytics.trackEvent(ao.LIST_ISSUES,"copyIssueId","IDs")},u7a=function(a,b){a.clipboard.copy(b.map(function(c){return a.shortLinkPrefix+c}).join(", "));YG(a.butterBar,"'"+a.shortLinkPrefix+"' links copied.",2E3);a.analytics.trackEvent(ao.LIST_ISSUES,"copyIssueId","b/ links")},
v7a=function(a,b){b=hm({q:"id:("+b.join("|")+")"});a.clipboard.copy(a.window.location.origin+"/"+b);YG(a.butterBar,"Issue search link copied.",2E3);a.analytics.trackEvent(ao.LIST_ISSUES,"copyIssueId","Issue search link")};eZ.\u0275fac=function(a){return new (a||eZ)(t(oN),t(Bs),t(EI),t(XG),t(qF))};eZ.\u0275prov=yc({token:eZ,factory:eZ.\u0275fac,providedIn:"root"});var fZ=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)};fZ.prototype.onInput=function(){this.resize(this.el.nativeElement.value)};
fZ.prototype.ngOnDestroy=function(){document.body.removeChild(this.shadowInput)};fZ.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"};fZ.\u0275fac=function(a){return new (a||fZ)(B(Dd))};
fZ.\u0275dir=Sc({type:fZ,selectors:[["","b-adaptive-width-input",""]],hostBindings:function(a,b){a&1&&L("input",function(){return b.onInput()})},inputs:{minWidth:"minWidth",maxWidth:"maxWidth"}});var gZ=function(){};gZ.\u0275fac=function(a){return new (a||gZ)};gZ.\u0275mod=Qc({type:gZ});gZ.\u0275inj=zc({});var hZ=function(a){this.currentTracker=a;this.componentPath=[];this.isArchived=!1;this.label="Component";this.openTab=""};sh.Object.defineProperties(hZ.prototype,{componentPathInfo:{configurable:!0,enumerable:!0,set:function(a){a=ds(this.currentTracker,a);this.componentPath="settings"===this.componentPathsLinkTo?Bp(a,ywa):Bp(a)}}});hZ.\u0275fac=function(a){return new (a||hZ)(B(PL))};
hZ.\u0275cmp=Oc({type:hZ,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&&(F(0,"div",0)(1,"p",1),P(2),H(),F(3,"span",2),O(4,x3a,6,4,"span",3),O(5,y3a,2,0,"span",4),H()());a&2&&(z(2),Lf("",b.label,":"),z(2),E("ngForOf",b.componentPath),z(1),E("ngIf",b.isArchived))},dependencies:[Qw,Rw,UK,ZK,UY,wO],encapsulation:2});var iZ=function(){};iZ.\u0275fac=function(a){return new (a||iZ)};iZ.\u0275mod=Qc({type:iZ});iZ.\u0275inj=zc({imports:[OG,gO,ZY,xO]});var jZ=function(){};jZ.\u0275fac=function(a){return new (a||jZ)};jZ.\u0275mod=Qc({type:jZ});jZ.\u0275inj=zc({imports:[OG,Px,ED,EP,jB,RP]});var uJc=function(a,b,c){this.componentActions=a;this.errorHandler=b;this.cdr=c};uJc.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 kZ=function(a,b){a.selectedId&&vJc(a,a.selectedId);a.selectedId=b;if(a=wJc(a.selectedId))a.focus(),a.setAttribute("aria-selected","true")},lZ=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},xJc=function(a){return!a.selectedId||1>a.selectedId?-1:a.components.findIndex(function(b){return b.componentId==a.selectedId})},vJc=function(a,b){b&&(a=wJc(a.selectedId))&&a.setAttribute("aria-selected",
"false")},wJc=function(a){return a?document.getElementById("component-"+a):null},yJc=function(a){for(a=a.target;;){if(!a)return!1;if("A"===a.tagName)return!0;a=a.parentNode}};var B3a=function(a){return{q:a}},mZ=function(a,b,c,d){uJc.call(this,a,c,d);this.paths=b;this.includeArchived=!1;this.childClosed=new kw;this.selectedId=null};T(mZ,uJc);mZ.prototype.ngOnInit=function(){};mZ.prototype.ngOnDestroy=function(){this.parentComponent.focusOnChildren=void 0};mZ.prototype.ngOnChanges=function(a){a.components&&zJc(this)};mZ.prototype.onSubtreeChildClosed=function(a){this.selectedId=a;kZ(this,a);this.rootController.selectionChanged(this,a)};
var zJc=function(a){a.parentComponent.focusOnChildren||(a.parentComponent.focusOnChildren=function(){return a.selectNext()})};f=mZ.prototype;
f.selectNext=function(){if(this.components)if(this.selectedId){var a=xJc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(vJc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(kZ(this,this.components[a+1].componentId),this.rootController.selectionChanged(this,this.selectedId))}else kZ(this,this.components[0].componentId),this.rootController.selectionChanged(this,this.selectedId)};
f.selectPrevious=function(){var a=xJc(this);0==a?(this.selectedId=null,this.childClosed.emit(this.parentComponent.componentId)):(kZ(this,this.components[a-1].componentId),this.rootController.selectionChanged(this,this.selectedId))};f.closeSubtree=function(){if(this.selectedId){var a=lZ(this);a.showChildren?a.showChildren=!1:(this.selectedId=null,this.parentComponent.showChildren=!1,this.childClosed.emit(this.parentComponent.componentId));this.cdr.detectChanges()}};
f.showChildrenForSelectedId=function(){var a=lZ(this);a&&this.showChildren(a)};f.setSelected=function(a,b){yJc(b)||(kZ(this,a),this.rootController.selectionChanged(this,a),b.preventDefault(),b.stopPropagation())};f.toggleChildrenForSelectedId=function(){var a=lZ(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};mZ.\u0275fac=function(a){return new (a||mZ)(B(kV),B(QH),B(aH),B(AI,2))};
mZ.\u0275cmp=Oc({type:mZ,selectors:[["component-subtree-list"]],inputs:{parentComponent:"parentComponent",rootController:"rootController",components:"components",includeArchived:"includeArchived"},outputs:{childClosed:"childClosed"},features:[Of([AI]),kf,gd],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&&(F(0,"ol",0),O(1,J3a,19,12,"li",1),H());a&2&&(z(1),E("ngForOf",b.components))},dependencies:[Qw,Rw,HB,lD,RA,WM,MP,SL,mZ],encapsulation:2});var M3a=function(a){return{q:a}},nZ=function(a,b,c,d,e,g){uJc.call(this,a,d,g);this.paths=b;this.selectedId=null;this.includeArchived=!1;this.init=new kw;this.subscriptions=new D.Subscription;this.destroyed$=new D.ReplaySubject(1);this.scrollArea=e.nativeElement.parentElement;this.registerKeys(c)};T(nZ,uJc);f=nZ.prototype;
f.ngOnInit=function(){var a=this;this.rootController=this;(0,D.timer)(0).pipe(af(this.destroyed$)).subscribe(function(){AJc(a)&&!a.selectedId&&kZ(a,a.components[0].componentId)});this.init.emit(this)};f.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};f.ngOnChanges=function(a){a.components&&BJc(this)};f.onSubtreeChildClosed=function(a){var b=this;kZ(this,a);this.focusedController=void 0;(0,D.timer)(0).pipe(af(this.destroyed$)).subscribe(function(){oZ(b)})};
f.fireSelectionEvent=function(a){var b=wJc(a);b&&b.click();oZ(this,a)};var BJc=function(a){(0,D.timer)(0).pipe(af(a.destroyed$)).subscribe(function(){AJc(a)&&!a.selectedId&&kZ(a,a.components[0].componentId)})};f=nZ.prototype;f.selectionChanged=function(a,b){b&&oZ(this,b);a!==this.focusedController&&(this.focusedController&&(b=this.focusedController,b.selectedId&&vJc(b,b.selectedId),b.selectedId=null),this.focusedController=a||void 0)};
f.setSelected=function(a,b){yJc(b)||(kZ(this,a),this.selectionChanged(null),oZ(this),b.preventDefault(),b.stopPropagation())};
f.registerKeys=function(a){var b=this;this.subscriptions.add(gN(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()}}]}))};f.showChildrenForSelectedId=function(){if(this.focusedController)this.focusedController.showChildrenForSelectedId();else{var a=lZ(this);a&&this.showChildren(a)}};
f.toggleChildrenForSelectedId=function(){this.focusedController&&this.focusedController.toggleChildrenForSelectedId();var a=lZ(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};f.closeSubtree=function(){this.focusedController?this.focusedController.closeSubtree():this.selectedId&&(lZ(this).showChildren=!1,this.cdr.detectChanges())};
f.selectPrevious=function(){if(this.focusedController)this.focusedController.selectPrevious();else{var a=xJc(this);AJc(this)&&1<=a&&(kZ(this,this.components[a-1].componentId),oZ(this))}};
f.selectNext=function(){if(AJc(this))if(this.focusedController)this.focusedController.selectNext();else if(this.selectedId){var a=xJc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(vJc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(kZ(this,this.components[a+1].componentId),oZ(this))}else kZ(this,this.components[0].componentId),oZ(this)};
var oZ=function(a,b){var c=CJc(a.scrollArea),d=c+a.scrollArea.offsetHeight;if(a=wJc(b||a.selectedId)){b=CJc(a);var e=b+a.offsetHeight;b<c?a.scrollIntoView(!1):e>d&&a.scrollIntoView(!0)}},CJc=function(a){for(var b=0;a&&a instanceof HTMLElement;)b+=a.offsetTop,a=a.offsetParent;return b},AJc=function(a){return!!(a.components&&0<a.components.length)};nZ.\u0275fac=function(a){return new (a||nZ)(B(kV),B(QH),B(fN),B(aH),B(Dd),B(AI,2))};
nZ.\u0275cmp=Oc({type:nZ,selectors:[["component-tree-list"]],inputs:{components:"components",includeArchived:"includeArchived"},outputs:{init:"init"},features:[Of([AI]),kf,gd],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&&(F(0,"ol",0),O(1,U3a,19,12,"li",1),H());a&2&&(z(1),E("ngForOf",b.components))},dependencies:[Qw,Rw,HB,lD,RA,WM,MP,SL,mZ],encapsulation:2});var pZ=function(){};pZ.\u0275fac=function(a){return new (a||pZ)};pZ.\u0275mod=Qc({type:pZ});pZ.\u0275inj=zc({imports:[OG,fE,ED,CO,RP,vO]});var DJc=0,qZ=function(){this.id="b-slide-toggle-"+ ++DJc;this.ariaLabel=this.label="";this.labelPosition="before";this.model=!1;this.tooltip=void 0;this.disabled=!1;this.modelChange=new kw};qZ.\u0275fac=function(a){return new (a||qZ)};
qZ.\u0275cmp=Oc({type:qZ,selectors:[["b-slide-toggle"]],hostAttrs:[1,"vertical-centered"],inputs:{id:"id",label:"label",ariaLabel:["aria-label","ariaLabel"],labelPosition:"labelPosition",model:"model",tooltip:"tooltip",disabled:"disabled"},outputs:{modelChange:"modelChange"},decls:2,vars:7,consts:[[3,"id","disabled","checked","aria-label","matTooltip","labelPosition","change"]],template:function(a,b){a&1&&(F(0,"mat-slide-toggle",0),L("change",function(d){b.model=d.checked;b.modelChange.emit(d.checked)}),
P(1),H());if(a&2){var c;E("id",b.id)("disabled",b.disabled)("checked",b.model)("aria-label",b.ariaLabel||b.label)("matTooltip",null!==(c=b.tooltip)&&void 0!==c?c:"")("labelPosition",b.label?b.labelPosition:"after");z(1);Mf(b.label)}},dependencies:[cU,lD],styles:["mat-slide-toggle[_ngcontent-%COMP%] { vertical-align: middle; }"],changeDetection:0});var rZ=function(){};rZ.\u0275fac=function(a){return new (a||rZ)};rZ.\u0275mod=Qc({type:rZ});rZ.\u0275inj=zc({imports:[KU,fE]});var EJc=["spanElement"],sZ=function(){this.modelValue="";this.maxWidth=0;this.disabled=!1;this.displayString=""};sZ.prototype.ngOnChanges=function(a){if(a.modelValue||a.disabled)this.displayString=this.modelValue||""};sZ.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)+"...")};
sZ.prototype.getTooltip=function(){return this.displayString!==this.modelValue?this.modelValue:""};sZ.\u0275fac=function(a){return new (a||sZ)};
sZ.\u0275cmp=Oc({type:sZ,selectors:[["b-truncated-span"]],viewQuery:function(a,b){a&1&&bg(EJc,5);if(a&2){var c;ag(c=dg())&&(b.spanElement=c.first)}},inputs:{modelValue:"modelValue",maxWidth:"maxWidth",disabled:"disabled"},features:[gd],decls:2,vars:2,consts:[[3,"matTooltip","innerHtml"],["spanElement",""]],template:function(a,b){a&1&&I(0,"span",0,1);a&2&&E("matTooltip",b.getTooltip())("innerHtml",b.displayString,Td)},dependencies:[lD],encapsulation:2});var tZ=function(){};tZ.\u0275fac=function(a){return new (a||tZ)};tZ.\u0275mod=Qc({type:tZ});tZ.\u0275inj=zc({imports:[OG,fE]});var FJc=["popupField"],GJc=["fieldContent"],HJc=["popupOverlay"],IJc=["overlayContent"],q4a=function(a,b){return{"bv2-disabled":a,"bv2-readonly":b}},JJc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"}],uZ=function(a,b,c,d,e,g,h,l){rF.call(this);this.cdr=a;this.element=b;this.overlay=c;this.viewContainerRef=d;this.dateFormatter=e;this.activeSession=g;this.constants=h;this.appEvents=l;this.STATUS_FULL_TEXT=dG;this.googDateValue=null;this.autocompleteActive=!1;this.readonlyTooltip=
this.displayValue=null;this.textBuffer="";this.isActive=this.multiline=this.enableWaldoAvailability=!1;this.title=this.name="";this.displayValueOverride=this.value=null;this.isUser=!1;this.teamId="";this.clearable=!1;this.choices=[];this.showEnumTitle=!1;this.valueChange=new kw;this.disabled=this.readonly=!1;this.tooltip="";this.showAvailability=this.truncate=!1;this.enableTeamAnnotations=g.isInternalSession()};T(uZ,rF);uZ.\u0275dir=rF.\u0275dir;f=uZ.prototype;
f.ngOnInit=function(){var a=this;this.enableWaldoAvailability=pF(this.activeSession,"enableWaldoAvailability")&&this.activeSession.isInternalSession()&&this.showAvailability;this.subscriptions.add(this.appEvents.openEditField.subscribe(function(b){b!==a&&a.isActive&&(a.isActive=!1,KJc(a),a.cdr.detectChanges())}));this.subscriptions.add(Igc(this.dateFormatter,function(){LJc(a);a.cdr.detectChanges()}));this.destroyed$.subscribe(function(){KJc(a)})};
f.ngOnDestroy=function(){rF.prototype.ngOnDestroy.call(this);this.overlayRef&&this.overlayRef.dispose()};f.ngOnChanges=function(a){["value","type","displayValueOverride","choices"].some(function(b){return b in a})&&LJc(this)};f.ngAfterViewInit=function(){this.popupField&&(this.overlayRef=this.overlay.create({positionStrategy:this.getPositionStrategy(),scrollStrategy:this.overlay.scrollStrategies.reposition()}))};
f.getPositionStrategy=function(){return Zz($z(aA(cA(this.overlay.position(),this.fieldContent).setOrigin(this.fieldContent),!1),5),JJc)};f.convertIssueStatusStrToTag=function(a){return tj[a]};
var KJc=function(a){var b;(null==(b=a.overlayRef)?0:b.hasAttached())&&a.overlayRef.detach()},C4a=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:b.stopPropagation();I4a(a);break;case 27:b.stopPropagation(),Cp(a,b,!1,!0)}},A4a=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:if(b.ctrlKey||b.metaKey)b.stopPropagation(),I4a(a);break;case 27:b.stopPropagation(),Cp(a,b,!1,!0)}},m4a=function(a,b){switch(b.keyCode){case 13:case 32:b.stopPropagation();b.preventDefault();Cp(a,
b,!0,!1);break;case 27:b.stopPropagation(),Cp(a,b,!1,!0)}},Cp=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,KJc(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?Vh(c):null),"ENUM"===
a.type&&a.enumMenuTrigger.openMenu(),"ENUM"!==a.type){MJc(a);var g=a.element.nativeElement;(0,D.fromEvent)(document,"click").pipe(Ge(function(h){return!g.contains(h.target)}),Oe(),af(a.overlayRef._detachments),af(a.destroyed$)).subscribe(function(){Cp(a,null,!1,!1)})}null==b||b.stopPropagation();a.cdr.detectChanges()}};uZ.prototype.schedule=function(a){var b=D.asyncScheduler.schedule(a);this.destroyed$.subscribe(function(){b.unsubscribe()})};
uZ.prototype.getDisplayValue=function(a){return null===this.displayValue?a:this.displayValue};
var LJc=function(a){var b=a.value;switch(a.type){case "ENUM":if("Type"===a.title&&b&&Ggc.has(b)){a.displayValue=wua(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(Vh(b)):a.displayValue=null;a.readonlyTooltip=null;break;default:a.displayValueOverride?
a.displayValue=a.displayValueOverride:a.displayValue=b?String(b):null,a.readonlyTooltip=null}};uZ.prototype.setFieldValue=function(a){this.disabled||this.readonly||("DATE"===this.type&&a&&(a=Wh(a)),"NUMERIC"===this.type&&""===a&&(a=null),Xh(this.value,a)?"ENUM"===this.type&&Cp(this,null,!1,!0):(Cp(this,null,!1,!0),this.value=a,this.valueChange.emit(this.value)))};
var I4a=function(a){if(void 0===a.type)throw Error("de");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("ee");default:Ch(a.type,"FieldType")}};
uZ.prototype.clearFieldValue=function(){this.value=null;this.valueChange.emit(this.value);Cp(this,null,!1,!0)};var MJc=function(a){KJc(a);var b=a.overlayRef.attach(new gy(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()})};
uZ.prototype.getTooltip=function(){return this.readonly?this.readonlyTooltip||"":this.tooltip?this.tooltip:this.title?"Set "+this.title:""};uZ.prototype.isBoolean=function(){return"BOOL"===this.type};uZ.prototype.getPriority=function(a){return"string"===typeof a?a.toLowerCase():""};uZ.\u0275fac=function(a){return new (a||uZ)(B(AI,2),B(Dd),B(dA),B(Zf),B(dK),B(Bs),B(cK),B(eH))};
uZ.\u0275cmp=Oc({type:uZ,selectors:[["b-edit-field"]],viewQuery:function(a,b){a&1&&(bg(cD,5),bg(FJc,5),bg(GJc,5),bg(HJc,5),bg(IJc,5));if(a&2){var c;ag(c=dg())&&(b.enumMenuTrigger=c.first);ag(c=dg())&&(b.popupField=c.first);ag(c=dg())&&(b.fieldContent=c.first);ag(c=dg())&&(b.popupOverlay=c.first);ag(c=dg())&&(b.overlayContent=c.first)}},inputs:{multiline:"multiline",name:"name",title:"title",type:"type",value:"value",user:"user",displayValueOverride:"displayValueOverride",isUser:"isUser",teamId:"teamId",
clearable:"clearable",choices:"choices",showEnumTitle:"showEnumTitle",readonly:"readonly",disabled:"disabled",tooltip:"tooltip",truncate:"truncate",showAvailability:"showAvailability"},outputs:{valueChange:"valueChange"},features:[Of([AI]),kf,gd],decls:11,vars:5,consts:[[1,"bv2-issue-metadata-field"],["class","keep-focus-ring","role","button","tabindex","0","aria-haspopup","true",3,"class","bv2-disabled","bv2-readonly","matTooltip","click","keydown",4,"ngIf"],[3,"class","ngClass","matTooltip",4,"ngIf"],
[4,"ngIf"],[1,"bv2-issue-metadata-footer"],["enumMenu","matMenu"],["matMenuContent",""],["popupOverlay",""],["role","button","tabindex","0","aria-haspopup","true",1,"keep-focus-ring",3,"matTooltip","click","keydown"],["popupField",""],[3,"class",4,"ngIf"],["class","bv2-editable-value",3,"matMenuTriggerFor","menuClosed",4,"ngIf"],["class","bv2-editable-value",4,"ngIf"],["field",""],[1,"bv2-editable-value",3,"matMenuTriggerFor","menuClosed"],[4,"ngTemplateOutlet"],[1,"bv2-editable-value"],[1,"bv2-editable-value",
3,"keydown","click"],["fieldContent",""],["class","issue-metadata-field-edit-icon",4,"ngIf"],["class","issue-metadata-field-dropdown-icon",4,"ngIf"],[1,"flex-kids-x","flex-cross-axis-centered"],[3,"user","email","teamId","enableSmallChip",4,"ngIf"],["class","bv2-editfield-avatar",3,"email",4,"ngIf"],["class","bv2-metadata-field-value",4,"ngIf"],[3,"user","email","teamId","enableSmallChip"],[1,"bv2-editfield-avatar",3,"email"],[1,"bv2-metadata-field-value"],[3,"email"],["class","bv2-metadata-field-value",
3,"maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-metadata-field-value",3,"ngClass","maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-metadata-field-value",3,"class","maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-edit-button",4,"ngIf"],[1,"bv2-metadata-field-value",3,"maxWidth","modelValue","disabled"],[1,"bv2-metadata-field-value",3,"ngClass","maxWidth","modelValue","disabled"],[1,"bv2-edit-button"],[1,"issue-metadata-field-edit-icon"],["svgIcon","edit-outline"],[1,
"issue-metadata-field-dropdown-icon"],["svgIcon","arrow-dropdown"],[3,"ngClass","matTooltip"],[3,"class","click",4,"ngIf"],[1,"keep-focus-ring",3,"disabled","aria-label","model","modelChange"],[3,"click"],[3,"user",4,"ngIf"],[3,"user"],["mat-menu-item","","role","menuitemcheckbox","aria-label","Clear",3,"b-menu-item-checked","disabled","click",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled","matTooltip","click",4,"ngFor","ngForOf"],["mat-menu-item","","role",
"menuitemcheckbox","aria-label","Clear",3,"disabled","click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],["mat-menu-item","","role","menuitemcheckbox",3,"disabled","matTooltip","click"],["role","dialog",3,"ngSwitch"],["overlayContent",""],[4,"ngSwitchCase"],[3,"click",4,"ngSwitchCase"],["class","bv2-text-field-edit",3,"click",4,"ngSwitchDefault"],[3,"required","date","dateSelectionChange","saveClicked","cancelClicked"],[1,"bv2-text-field-edit",3,"click"],[1,"bv2-text-edit-dialog-buttons"],
["mat-flat-button","","color","primary",1,"gmat-button","medium","field-popup-button",3,"disabled","matTooltip","click"],["svgIcon","done"],["mat-stroked-button","","color","primary",1,"gmat-button","medium","field-popup-button",3,"matTooltip","click"],["svgIcon","close"],["spellcheck","false",3,"ngModel","ngModelChange","keydown",4,"ngIf"],["step","any","spellcheck","false",3,"ngModel","ngModelChange","keydown",4,"ngIf"],["spellcheck","false",3,"ngModel","ngModelChange","keydown"],["step","any",
"spellcheck","false",3,"ngModel","ngModelChange","keydown"],["spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive",4,"ngIf"],["step","any","spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive",4,"ngIf"],["spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive"],["step","any","spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown",
"autocompleteActive"]],template:function(a,b){a&1&&(F(0,"div")(1,"div",0),O(2,o4a,7,14,"div",1),O(3,r4a,3,13,"div",2),O(4,t4a,2,1,"ng-container",3),I(5,"div",4),H(),F(6,"mat-menu",null,5),O(8,w4a,2,2,"ng-template",6),H(),O(9,K4a,6,7,"ng-template",null,7,gg),H());a&2&&(z(1),xf("active",b.isActive&&!b.readonly&&!b.disabled),z(1),E("ngIf","BOOL"!==b.type),z(1),E("ngIf",b.isBoolean(b.value)),z(1),E("ngIf",b.isUser))},dependencies:[KJ,Pw,Qw,Rw,Ww,Sw,Tw,Uw,HB,YS,vY,wg,tx,Ax,QA,dD,bD,cD,aD,lD,qZ,uL,sZ,zL,
XP,Yw],styles:[".bv2-issue-metadata-field-edit[_ngcontent-%COMP%] { position: relative; }"]});var NJc={ENUM:"ENUM",BOOL:"BOOL",DATE:"DATE",TEXT:"TEXT",NUMERIC:"NUMERIC"},vZ=function(){};vZ.\u0275fac=function(a){return new (a||vZ)};vZ.\u0275mod=Qc({type:vZ});vZ.\u0275inj=zc({imports:[VP,FT,OG,ZS,LY,Px,ED,eD,fE,rZ,pO,KK,tZ,YP]});var OJc=0,wZ=function(a){this.elementRef=a;this.titleWhenExpanded=this.titleWhenCollapsed="";this.isExpanded=!1;this.iconName="";this.hasCompactTitleBar=!1;this.headerId="b-collapsible-panel-header-"+OJc;this.id="b-collapsible-panel-"+OJc;OJc++};wZ.prototype.toggleExpansion=function(){var a=this;this.isExpanded||setTimeout(function(){return a.elementRef.nativeElement.scrollIntoView({behavior:"smooth",block:"nearest"})},200);this.isExpanded=!this.isExpanded};
sh.Object.defineProperties(wZ.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"}}});wZ.\u0275fac=function(a){return new (a||wZ)(B(Dd))};
wZ.\u0275cmp=Oc({type:wZ,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&&(Ff(),F(0,"div",0)(1,"button",1),L("click",function(){return b.toggleExpansion()})("mouseup",function(){b.elementRef.nativeElement.querySelector(".title-bar").blur()}),O(2,M4a,1,1,"b-icon",2),O(3,N4a,2,1,"span",3),O(4,O4a,2,0,"div",4),I(5,"mat-icon",5),H(),F(6,"div",6),Gf(7),H()());a&2&&(z(1),xf("compact",
b.hasCompactTitleBar),of("id",b.headerId)("aria-expanded",b.isExpanded)("aria-controls",b.id),z(1),E("ngIf",b.iconName),z(1),E("ngIf",!b.hasCompactTitleBar||!b.isExpanded),z(1),E("ngIf",b.hasCompactTitleBar),z(1),E("@expandCollapseIcon",b.expandedState),z(1),E("@expandCollapseContent",b.expandedState),of("id",b.id)("aria-labelledby",b.headerId))},dependencies:[Rw,HB,dO],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:[Tg("expandCollapseContent",[Wg("expanded",Vg({height:"*",visibility:"visible"})),Wg("collapsed",Vg({height:"0",visibility:"hidden"})),Xg("expanded <=> collapsed",[Ug("200ms")])]),Tg("expandCollapseIcon",[Wg("expanded",Vg({transform:"rotate(-180deg)"})),Wg("collapsed",Vg({transform:"*"})),Xg("expanded <=> collapsed",[Ug("200ms")])])]}});var xZ=function(){};xZ.\u0275fac=function(a){return new (a||xZ)};xZ.\u0275mod=Qc({type:xZ});xZ.\u0275inj=zc({imports:[OG,zO]});var PJc=["addLink"],QJc=["showFewer"],RJc=["showMore"],SJc=["removeButton"],TJc=["userChip"],Q4a=function(a,b){return{item:a,$index:b}},UJc=[[["",8,"title-action"]],[["",8,"value-action"]]],VJc=[Object.assign({},Ep("start","bottom"),Fp("start","top"),{offsetY:8}),Object.assign({},Ep("center","bottom"),Fp("center","top"),{offsetY:8}),Object.assign({},Ep("end","bottom"),Fp("end","top"),{offsetY:8}),Object.assign({},Ep("start","top"),Fp("start","bottom"),{offsetY:-8}),Object.assign({},Ep("end","top"),
Fp("end","bottom"),{offsetY:-8})],yZ=function(a,b,c,d){rF.call(this);this.cdr=a;this.dateFormatter=b;this.analytics=c;this.OVERLAY_POSITION_LIST=VJc;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 kw;this.showingAll=this.listFieldDisabled=!1;this.tooltip=this.title=
"";this.truncate=!1;this.additionAllowed=!0;this.isExpanded=this.isCollapsible=!1;this.collapsiblePanelTitle=this.iconName="";this.inputValidator=null;this.toggleAccessLimits=new kw;this.teamId=this.invalidMessage="";this.isString=Zh;this.enableTeamAnnotations=d.isInternalSession();this.environmentType=d.getEnvironmentType()};T(yZ,rF);yZ.\u0275dir=rF.\u0275dir;
yZ.prototype.ngOnChanges=function(a){var b;if(null==(b=a.users)?0:b.currentValue)for(a=k(a.users.currentValue),b=a.next();!b.done;b=a.next()){b=b.value;var c=pi(b);c&&this.userMap.set(c,Yh(b))}};yZ.prototype.ngOnInit=function(){W4a(this)};yZ.prototype.ngAfterViewInit=function(){var a=this,b;null==(b=this.userChips)||b.changes.subscribe(function(){a.cdr.detectChanges()})};
var W4a=function(a){a.sortedEnumChoices=[].concat(cd(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})},X4a=function(a){var b=a.values||[],c=[].concat(cd(a.enumPendingValues)),d=c.filter(function(g){return!b.includes(g)}),e=b.filter(function(g){return!c.includes(g)});if(d.length||e.length)a.values=c,a.valuesChange.emit({values:a.values,added:d,removed:e})};
yZ.prototype.isCustomField=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};
yZ.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,g,h;null==(e=b.removeButtons)||null==(g=e.get(d))||null==(h=g.nativeElement)||h.focus()}else{var l,q;null==(l=b.addLinkEl)||null==(q=l.nativeElement)||q.focus()}})};
yZ.prototype.addItems=function(a){var b=[];this.values=this.values||[];if(a)if("REPEATED_DATE"===this.type){var c=Wh(a);this.preventDuplicates&&this.values.find(function(g){return Xh(g,c)})||b.push(c)}else if("REPEATED_NUMERIC"===this.type&&kqa(this.values)&&kqa(b))a=Number(a),this.preventDuplicates&&this.values.includes(a)||b.push(a);else if($h(this.values)&&$h(b))if(this.isCustomField())this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(!this.isCustomField()){a=k(a.split(/[,; ]/));
for(var d=a.next();!d.done;d=a.next()){var e=d=d.value;"CHANGELISTS"===this.type&&(e=F5a(d));e&&!this.values.includes(e)&&b.push(e)}}this.isDefaultOrAllowedValues&&"REPEATED_DATE"!==this.type||B5a(this,!0);0!==b.length&&(this.values=[].concat(cd(this.values),cd(b)),this.valuesChange.emit({values:this.values,added:b}))};yZ.prototype.onDrop=function(a){In(this.values,a.previousIndex,a.currentIndex);this.valuesChange.emit({values:this.values})};
var B5a=function(a,b){var c,d=k(null!=(c=a.menuTriggers)?c:[]);for(c=d.next();!c.done;c=d.next())c.value.closeMenu();var e;d=k(null!=(e=a.popupTriggers)?e:[]);for(c=d.next();!c.done;c=d.next())e=c.value,e.disabled||(e.disabled=!0,e.disabled=!1);b&&a.addLinkEl&&a.addLinkEl.nativeElement.focus()},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,g;null==(d=null!=(g=a.showFewer)?g:a.showMore)||null==(e=d.nativeElement)||
e.focus()})};yZ.prototype.getDisplayValues=function(){var a=this;return this.values&&"REPEATED_DATE"===this.type?this.values.map(function(b){return a.dateFormatter.formatUserCalendar(Vh(b))}):this.values&&"TEAM"===this.type?this.values:this.values&&"WORKSPACES"===this.type?this.values:this.displayValuesOverride||(this.values||[]).map(function(b){return Zh(b)?b:jqa(b)?""+b:a.dateFormatter.formatUserCalendar(Vh(b))})};
var A5a=function(a,b,c){var d,e,g;return pe(function(h){if(1==h.nextAddress)return a.inputValidator?h.yield(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==(g=c.querySelector("input"))||g.focus();a.addItems(d);ue(h)})};f=yZ.prototype;f.trackClick=function(a){this.analytics.trackEvent(ao.LINK_FIELD,"click",a)};f.getUser=function(a){return this.userMap.get(a)};
f.schedule=function(a){this.subscriptions.add(D.asyncScheduler.schedule(a))};f.trackByIndex=function(a){return a};f.getTaskFlowLink=function(a){switch(this.environmentType){case "NIGHTLY":case "PROD":var b="https://taskflow.corp.google.com/workspaces";break;default:b="https://taskflow-autopush.corp.google.com/workspaces"}return b+"/"+a.workspaceId+"/work_item/b/"+a.issueId+"?edit=b/"+a.issueId};f.asNumber=function(a){return Number(a)};
f.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};yZ.\u0275fac=function(a){return new (a||yZ)(B(AI,2),B(dK),B(EI),B(Bs))};
yZ.\u0275cmp=Oc({type:yZ,selectors:[["b-list-field"]],viewQuery:function(a,b){a&1&&(bg(PJc,5),bg(QJc,5),bg(RJc,5),bg(SJc,5),bg(TJc,5),bg(cD,5),bg(LX,5));if(a&2){var c;ag(c=dg())&&(b.addLinkEl=c.first);ag(c=dg())&&(b.showFewer=c.first);ag(c=dg())&&(b.showMore=c.first);ag(c=dg())&&(b.removeButtons=c);ag(c=dg())&&(b.userChips=c);ag(c=dg())&&(b.menuTriggers=c);ag(c=dg())&&(b.popupTriggers=c)}},inputs:{defaultLineCount:"defaultLineCount",readonly:"readonly",preventDuplicates:"preventDuplicates",isDefaultOrAllowedValues:"isDefaultOrAllowedValues",
values:"values",users:"users",displayValuesOverride:"displayValuesOverride",enumChoices:"enumChoices",isUser:"isUser",listFieldDisabled:"listFieldDisabled",showingAll:"showingAll",title:"title",type:"type",tooltip:"tooltip",truncate:"truncate",additionAllowed:"additionAllowed",isCollapsible:"isCollapsible",isExpanded:"isExpanded",iconName:"iconName",collapsiblePanelTitle:"collapsiblePanelTitle",inputValidator:"inputValidator",teamId:"teamId"},outputs:{valuesChange:"valuesChange",toggleAccessLimits:"toggleAccessLimits"},
features:[Of([AI]),kf,gd],ngContentSelectors:[".title-action",".value-action"],decls:23,vars:18,consts:[[1,"bv2-issue-metadata-list-field","bv2-issue-metadata-field"],["tabindex","0",1,"bv2-issue-metadata-field-inner",3,"matTooltip","matTooltipPosition"],[1,"bv2-editable-title"],[4,"ngIf"],["cdkDropList","",1,"list-field-content",3,"cdkDropListDisabled","cdkDropListDropped"],[3,"isExpanded","iconName","hasCompactTitleBar","title",4,"ngIf"],[1,"bv2-field-user-action-footer"],["addLink",""],[3,"ngSwitch",
4,"ngIf"],["itemRenderer",""],["metadataTools",""],["enumPopup","matMenu"],["matMenuContent",""],["textPopup",""],["datePopup",""],[3,"isExpanded","iconName","hasCompactTitleBar","title"],["cdkDrag","",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngTemplateOutlet"],["cdkDrag",""],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[3,"ngSwitch"],["mat-button","","aria-haspopup","true","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Select items in the list","tabindex","0",3,"matMenuTriggerFor",
"menuOpened","menuClosed",4,"ngSwitchCase"],["mat-button","","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Add a new item to the list","tabindex","0",3,"xapInlineDialogClick","overlayPositions",4,"ngSwitchCase"],["mat-button","","panelClass","bv2-add-item-bubble","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","tabindex","0",3,"xapInlineDialogClick","overlayPositions","matTooltip","beforeOpened",4,"ngSwitchDefault"],["mat-button","","aria-haspopup","true",
"matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"matMenuTriggerFor","menuOpened","menuClosed"],["mat-button","","matTooltip","Add a new item to the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions"],["mat-button","","panelClass","bv2-add-item-bubble","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick",
"overlayPositions","matTooltip","beforeOpened"],["class","flex-kids-x flex-cross-axis-centered flex-wrappable",4,"ngIf"],[1,"flex-kids-x","flex-cross-axis-centered","flex-wrappable"],[1,"bv2-issue-metadata-list-item"],[4,"ngIf","ngIfElse"],["checkIfWorkspaces",""],["checkIfTeam",""],["checkIfPostMortems",""],["default",""],["tabindex","0","aria-label","Open issue access dialog.","class","issue-metadata-field-edit-icon","size","small","name","edit_24px",3,"click",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","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"],["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"]],template:function(a,b){a&1&&(Ff(UJc),F(0,"div",0)(1,"div",1)(2,"div",2),O(3,P4a,2,1,"label",3),Gf(4),H(),F(5,"div",4),L("cdkDropListDropped",
function(c){return b.onDrop(c)}),O(6,S4a,3,7,"collapsible-panel",5),O(7,V4a,4,4,"ng-container",3),F(8,"div",6,7),O(10,a5a,4,3,"ng-container",8),Gf(11,1),H()()(),O(12,r5a,1,1,"ng-template",null,9,gg),O(14,u5a,2,2,"ng-template",null,10,gg),F(16,"mat-menu",null,11),O(18,w5a,1,2,"ng-template",12),H(),O(19,C5a,13,6,"ng-template",null,13,gg),O(21,D5a,1,2,"ng-template",null,14,gg),H());a&2&&(xf("empty-list-field-indication",!(null==b.values?0:b.values.length))("active",b.isActive&&!b.listFieldDisabled&&
!b.readonly),z(1),xf("bv2-disabled",b.listFieldDisabled)("bv2-readonly",b.readonly),E("matTooltip",b.tooltip)("matTooltipPosition","left"),of("aria-label",b.getAriaLabel()),z(2),E("ngIf",b.title),z(2),xf("draggable",(null==b.values?null:b.values.length)&&b.isDefaultOrAllowedValues),E("cdkDropListDisabled",!b.isDefaultOrAllowedValues),z(1),E("ngIf",b.isCollapsible),z(1),E("ngIf",!b.isCollapsible),z(3),E("ngIf",!b.readonly&&b.additionAllowed))},dependencies:[Qw,Rw,Ww,Sw,Tw,Uw,HB,dO,qB,QM,vY,Bx,wg,tx,
ux,Lx,Ax,yx,QA,lD,uL,sZ,XP,dM,bM,IX,HX,LX,dD,bD,cD,aD,YS,wZ,ML],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 WJc={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"},zZ=function(){};zZ.\u0275fac=function(a){return new (a||zZ)};zZ.\u0275mod=Qc({type:zZ});zZ.\u0275inj=zc({imports:[OG,zO,yB,iU,LY,Px,ED,fE,pO,tO,tZ,YP,eM,WX,YX,eD,ZS,xZ,YX,uO]});var H5a=function(){return[]},AZ=function(){this.disabled=this.readonly=!1;this.save=new kw},XJc=function(a){return a.issue.customFieldMap[a.field.customFieldId]};AZ.prototype.getDisplayValue=function(){var a,b,c=null!=(b=null==(a=XJc(this).displayValues)?void 0:a[0])?b:null;"0.0"===c&&(c="0");return c};AZ.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 G5a=function(a){return(a=XJc(a).getValue())&&void 0===a.values?a:null},J5a=function(a){return(a=XJc(a).getValue())&&void 0!==a.values?a.values:null};sh.Object.defineProperties(AZ.prototype,{isShared:{configurable:!0,enumerable:!0,get:function(){return this.field.shared}}});AZ.\u0275fac=function(a){return new (a||AZ)};
AZ.\u0275cmp=Oc({type:AZ,selectors:[["b-custom-field-editor"]],viewQuery:function(a,b){a&1&&bg(uZ,5);if(a&2){var c;ag(c=dg())&&(b.editField=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&xf("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","valueChange",
4,"ngIf"],[3,"readonly","defaultLineCount","title","type","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled","valuesChange",4,"ngIf"],[3,"readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","valueChange"],[3,"readonly","defaultLineCount","title","type","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled","valuesChange"]],template:function(a,b){a&1&&O(0,L5a,3,2,"ng-container",0);
a&2&&E("ngIf",XJc(b))},dependencies:[Rw,yZ,uZ],encapsulation:2});var BZ=function(){};BZ.\u0275fac=function(a){return new (a||BZ)};BZ.\u0275mod=Qc({type:BZ});BZ.\u0275inj=zc({imports:[OG,zZ,vZ]});var CZ=function(){this.customFields=this.selectedComponent=null;this.fieldSelected=new kw;this.filter=function(){return!0}};CZ.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};CZ.\u0275fac=function(a){return new (a||CZ)};
CZ.\u0275cmp=Oc({type:CZ,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&&(F(0,"div",0)(1,"div",1),P(2," First, select a component that contains the custom field. "),H(),F(3,"b-team-component-picker",2),L("selectedComponentChange",function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)}),H(),O(4,Q5a,4,3,"div",3),H());a&2&&(z(3),E("selectedComponent",b.selectedComponent)("placeholder","Choose Component")("isRequired",!0),z(1),E("ngIf",b.selectedComponent))},dependencies:[Qw,Rw,uB,sB,HP,SA,
qV],encapsulation:2});var DZ=function(){};DZ.\u0275fac=function(a){return new (a||DZ)};DZ.\u0275mod=Qc({type:DZ});DZ.\u0275inj=zc({imports:[OG,IP,RW]});var YJc=function(a){return{value:a}},EZ=function(){this.isNonemptyJsonDateValue=Ypa};EZ.prototype.toDate=function(a){return Vh(a)};EZ.\u0275fac=function(a){return new (a||EZ)};
EZ.\u0275cmp=Oc({type:EZ,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&&(F(0,"span",0),O(1,R5a,1,0,"ng-container",1),H(),O(2,S5a,0,0,"ng-template",null,2,gg),O(4,e6a,8,8,"ng-template",null,3,gg));if(a&2){var c=Kf(5);z(1);E("ngTemplateOutlet",
null==b.customFieldValue?null:c)("ngTemplateOutletContext",Rf(2,YJc,b.customFieldValue))}},dependencies:[Qw,Rw,Ww,FL],encapsulation:2});var FZ=function(){};FZ.\u0275fac=function(a){return new (a||FZ)};FZ.\u0275mod=Qc({type:FZ});FZ.\u0275inj=zc({imports:[OG,fO]});var aKc=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 qK;this.selectedVerifiersStatus=this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";ZJc(this,b);$Jc(this,b)},ZJc=function(a,b){var c=b[0],d=Bl[c.status],
e=c.duplicateOfIssueId;if(d)for(b.every(function(g){return"DUPLICATE"===g.status&&e===g.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},bKc=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||xn(c)})?b?"MULTIPLE":"IDENTICAL_EMAILS":"POSSIBLY_MULTIPLE"},$Jc=function(a,b){var c=
b.map(function(d){return d.assigneeEmail});b=b.map(function(d){return d.verifierEmail});a.selectedAssigneesStatus=bKc(c);a.selectedVerifiersStatus=bKc(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])};
aKc.prototype.clearAssignee=function(){this.commonAssignee="";this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteAssignee=!0;N6a(this)};aKc.prototype.clearVerifier=function(){this.commonVerifier="";this.selectedVerifiersStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteVerifier=!0};
var Kp=function(a){return a.origIssues.every(function(b){return!!b.verifierEmail})},J6a=function(a,b){(a.origCommonIssueState=b)?("NEW"===b.status?cKc(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||cKc(a.selectedAssigneesStatus)||(a.commonAssignee=a.lastCommonAssignee?
a.lastCommonAssignee:a.userEmail),cKc(a.selectedVerifiersStatus)||a.commonVerifier||"VERIFIED"!==b.status||(a.commonVerifier=a.userEmail)),a.issueState=a.origCommonIssueState):a.issueState=void 0},cKc=function(a){return"MULTIPLE"===a||"POSSIBLY_MULTIPLE"===a},N6a=function(a){var b=Bl.NEW,c=Bl.ASSIGNED;a.issueState===b&&a.commonAssignee?a.issueState=a.origCommonIssueState===b?c:a.origCommonIssueState:a.commonAssignee||a.issueState&&!I$b.has(a.issueState)||(a.issueState=b)},dKc=function(a){var b=a.issueState;
return b?a.origIssues.some(function(c){return b.status!==c.status}):!1},Y6a=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);dKc(a)&&b.set("status",a.issueState.status);a.comment.value&&b.set("comment",a.comment.value);return b};var eKc=function(a){this.uploadUrl_=a};eKc.prototype.getUploadUrl=function(){return this.uploadUrl_};var fKc=function(){Ro.call(this)};Ns(fKc,Ro);var GZ=function(a){SB.call(this,a)};Ns(GZ,SB);var HZ=function(a){SB.call(this,a)};Ns(HZ,SB);var gKc=function(a,b){this.name_=a;this.inputElement_=b};gKc.prototype.getName=function(){return this.name_};var hKc=function(){this.maxChunkSize_=1073741824;this.retryOnHttpClientErrorEnabled_=!1};var IZ=function(){Ro.call(this);this.name_="closure_frame"+iKc++;this.iframesForDisposal_=[];jKc[this.name_]=this},JZ;Ns(IZ,Ro);var jKc={},iKc=0,kKc=function(a,b){var c=Uo(a);x5b(b,function(d,e){Array.isArray(d)||(d=[d]);pa(d,function(g){g=c.createDom("INPUT",{type:"hidden",name:e,value:g});a.appendChild(g)})})};f=IZ.prototype;f.form_=null;f.iframe_=null;f.iframeName_=null;f.nextIframeId_=0;f.active_=!1;f.complete_=!1;f.success_=!1;f.lastUri_=null;f.lastContent_=null;f.lastErrorCode_=0;
f.iframeDisposalTimer_=null;f.send=function(a,b,c,d){if(this.active_)throw Error("fe");this.lastUri_=a=new Wo(a);b=b?b.toUpperCase():"GET";c&&H5b(a);JZ||(JZ=lZb("FORM"),JZ.acceptCharset="utf-8",c=JZ.style,c.position="absolute",c.visibility="hidden",c.top=c.left="-10px",c.width=c.height="10px",c.overflow="hidden",document.body.appendChild(JZ));this.form_=JZ;"GET"==b&&kKc(this.form_,a.queryData_);d&&kKc(this.form_,d);mQb(this.form_,Qg(a.toString()));this.form_.method=b;lKc(this);mKc(this)};
f.abort=function(a){if(this.active_){var b=nKc(this);if(b)if(UB(b))b.removeAllListeners(void 0);else if(b=XB(b)){var c=0,d;for(d in b.listeners)for(var e=b.listeners[d].concat(),g=0;g<e.length;++g)ZB(e[g])&&++c}this.success_=this.active_=this.complete_=!1;this.lastErrorCode_=a||7;this.dispatchEvent("abort");oKc(this)}};
f.disposeInternal=function(){this.active_&&this.abort();IZ.superClass_.disposeInternal.call(this);this.iframe_&&pKc(this);mKc(this);delete this.errorChecker_;this.lastUri_=this.lastContent_=this.form_=null;this.lastErrorCode_=0;delete jKc[this.name_]};f.isComplete=function(){return this.complete_};f.isSuccess=function(){return this.success_};f.isActive=function(){return this.active_};f.getResponseText=function(){return this.lastContent_};f.getResponseJson=function(){return Q_b(this.lastContent_)};
f.getLastUri=function(){return this.lastUri_};f.getLastErrorCode=function(){return this.lastErrorCode_};f.getLastError=function(){return X_b(this.lastErrorCode_)};
var lKc=function(a){a.active_=!0;a.complete_=!1;a.lastErrorCode_=0;a.iframeName_=a.name_+"_"+(a.nextIframeId_++).toString(36);a.iframe_=Uo(a.form_).createDom("IFRAME",{name:a.iframeName_,id:a.iframeName_});Ps&&7>Number(kKb)&&mQb(a.iframe_,Qg(ic(Yn('javascript:""'))));var b=a.iframe_.style;b.visibility="hidden";b.width=b.height="10px";b.display="none";Ss?b.marginTop=b.marginLeft="-10px":(b.position="absolute",b.top=b.left="-10px");Uo(a.form_).document_.body.appendChild(a.iframe_);b=a.iframeName_+"_inner";
var c=pZb(a.iframe_);if(document.baseURI){var d=vp(b);d=Lg('<head><base href="'+vp(document.baseURI)+'"></head><body><iframe id="'+d+'" name="'+d+'"></iframe>')}else d=vp(b),d=Lg('<body><iframe id="'+d+'" name="'+d+'"></iframe>');c.write(qk(d));So(c.getElementById(b),"load",a.onIframeLoaded_,!1,a);d=dC("TEXTAREA",a.form_);for(var e=0,g=d.length;e<g;e++){var h=d[e].value,l=[];tZb(d[e],l,!1);l.join("")!=h&&(kC(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=dC("SELECT",a.form_);g=dC("SELECT",d);h=0;for(l=e.length;h<l;h++)for(var q=dC("OPTION",e[h]),v=dC("OPTION",g[h]),x=0,A=q.length;x<A;x++)v[x].selected=q[x].selected;e=dC("INPUT",a.form_);g=dC("INPUT",d);h=0;for(l=e.length;h<l;h++)if("file"==e[h].type&&e[h].value!=g[h].value){a.form_.target=b;d=a.form_;break}try{a.errorHandled_=!1,d.submit(),c.close(),Rs&&oo(a.testForFirefoxSilentError_,250,a)}catch(G){YB(c.getElementById(b),"load",a.onIframeLoaded_,!1,a),c.close(),a.handleError_(2)}};
IZ.prototype.onIframeLoaded_=function(){YB(nKc(this),"load",this.onIframeLoaded_,!1,this);try{var a=this.iframe_?pZb(nKc(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"),oKc(this))}catch(e){this.handleError_(1)}};
IZ.prototype.handleError_=function(a){this.errorHandled_||(this.active_=this.success_=!1,this.complete_=!0,this.lastErrorCode_=a,this.dispatchEvent("complete"),this.dispatchEvent("error"),oKc(this),this.errorHandled_=!0)};
var oKc=function(a){pKc(a);mKc(a);a.form_=null;a.dispatchEvent("ready")},pKc=function(a){var b=a.iframe_;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.iframesForDisposal_.push(b));a.iframeDisposalTimer_&&(po(a.iframeDisposalTimer_),a.iframeDisposalTimer_=null);Rs?a.iframeDisposalTimer_=oo(a.disposeIframes_,2E3,a):a.disposeIframes_();a.iframe_=null;a.iframeName_=null};
IZ.prototype.disposeIframes_=function(){this.iframeDisposalTimer_&&(po(this.iframeDisposalTimer_),this.iframeDisposalTimer_=null);for(;0!=this.iframesForDisposal_.length;){var a=this.iframesForDisposal_.pop();iC(a)}};var mKc=function(a){a.form_&&a.form_==JZ&&oZb(a.form_)},nKc=function(a){return a.iframe_?pZb(a.iframe_).getElementById(a.iframeName_+"_inner"):null};
IZ.prototype.testForFirefoxSilentError_=function(){if(this.active_){var a=this.iframe_?pZb(nKc(this)):null;a&&!VJb(a,"documentUri")?(YB(nKc(this),"load",this.onIframeLoaded_,!1,this),navigator.onLine?this.handleError_(3):this.handleError_(9)):oo(this.testForFirefoxSilentError_,250,this)}};var qKc=function(a,b,c,d,e){Ro.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 Wo(a);RD(a,"upload_protocol","multipart");this.url_=a.toString();this.request_=new IZ;this.state_="Ready";this.errorDescription_=
null;this.eventHandler_=new uq(this);RB(this,this.eventHandler_);this.eventHandler_.listen(this.request_,"success",this.onTransferSuccess_);this.eventHandler_.listen(this.request_,"error",this.onTransferError_)};T(qKc,fKc);f=qKc.prototype;f.run=function(){this.state_="Transferring";var a=this.request_,b=this.form_;if(a.active_)throw Error("fe");var c=new Wo(this.url_||b.action);a.lastUri_=c;a.form_=b;mQb(a.form_,c.toString());lKc(a)};f.getBytesTransferred=function(){return null};
f.getResponseCode=function(){return null};f.getResponseHeaders=function(){return null};f.getResponseText=function(){return this.request_&&this.request_.getResponseText()||null};f.getErrorDescription=function(){return this.errorDescription_};f.cancel=function(){this.request_&&this.request_.abort();this.state_="Cancelled";this.dispatchEvent(new GZ("q"))};f.pause=function(){};f.unpause=function(){};f.onTransferSuccess_=function(){this.state_="Complete";this.dispatchEvent(new GZ("n"))};
f.onTransferError_=function(){this.errorDescription_="Transfer failed.";this.state_="Error";this.dispatchEvent(new GZ("p"))};var tKc=function(a,b){void 0!==a.name?(this.name=a.name,this.code=rKc[a.name]):(this.code=a=a.code,this.name=sKc(a));aa.call(this,qQb("%s %s",this.name,b))};Ns(tKc,aa);
var sKc=function(a){var b=Pca(rKc,function(c){return a==c});if(void 0===b)throw Error("ge`"+a);return b},KZ={},rKc=(KZ.AbortError=3,KZ.EncodingError=5,KZ.InvalidModificationError=9,KZ.InvalidStateError=7,KZ.NotFoundError=1,KZ.NotReadableError=4,KZ.NoModificationAllowedError=6,KZ.PathExistsError=12,KZ.QuotaExceededError=10,KZ.SecurityError=2,KZ.SyntaxError=8,KZ.TypeMismatchError=11,KZ);var uKc=function(a,b){SB.call(this,a.type,b);this.event_=a};Ns(uKc,SB);var vKc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};var g6a=new WeakMap,f6a=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")};Gp(function(){if(!ba.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 wKc=Gp(function(){if(!ba.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return null===vKc(b,0,1)?!1:!0});var xKc=function(){Ro.call(this);this.reader_=new FileReader;this.reader_.onloadstart=Ls(this.dispatchProgressEvent_,this);this.reader_.onprogress=Ls(this.dispatchProgressEvent_,this);this.reader_.onload=Ls(this.dispatchProgressEvent_,this);this.reader_.onabort=Ls(this.dispatchProgressEvent_,this);this.reader_.onerror=Ls(this.dispatchProgressEvent_,this);this.reader_.onloadend=Ls(this.dispatchProgressEvent_,this)};Ns(xKc,Ro);f=xKc.prototype;
f.abort=function(){try{this.reader_.abort()}catch(a){throw new tKc(a,"aborting read");}};f.getReadyState=function(){return this.reader_.readyState};f.getError=function(){return this.reader_.error&&new tKc(this.reader_.error,"reading file")};f.dispatchProgressEvent_=function(a){this.dispatchEvent(new uKc(a,this))};f.disposeInternal=function(){xKc.superClass_.disposeInternal.call(this);delete this.reader_};f.readAsBinaryString=function(a){this.reader_.readAsBinaryString(a)};f.readAsArrayBuffer=function(a){this.reader_.readAsArrayBuffer(a)};
f.readAsText=function(a,b){this.reader_.readAsText(a,b)};var yKc=function(a){var b=new lO;a.listen("loadend",Ms(function(c,d){var e=d.reader_.result,g=d.getError();null==e||g?c.errback(g):c.callback(e);d.dispose()},b,a));return b};var LZ=function(){DC.call(this)};T(LZ,DC);LZ.prototype.createXhr=function(){var a=DC.prototype.createXhr.call(this);a.upload&&(a.upload.onprogress=Ls(this.onProgress_,this));return a};LZ.prototype.onProgress_=function(a){this.dispatchEvent(a)};var zKc=function(){this.attempt_=-1;this.delayCallId_=null;this.maxDelayMs_=6E4;this.maxAttempts_=-1},BKc=function(a,b){var c=a.attempt_+1;if(0<a.maxAttempts_&&c>a.maxAttempts_)return!1;0==c?b():a.delayCallId_=oo(function(){a.delayCallId_=null;b()},AKc(a),a);a.attempt_=c;return!0};zKc.prototype.reset=function(){this.delayCallId_&&po(this.delayCallId_);this.attempt_=-1};var AKc=function(a){var b=250*Math.pow(2,a.attempt_);0<=a.maxDelayMs_&&(b=Math.min(b,a.maxDelayMs_));return b};var i6a=["Content-Length","Content-Type","Content-Encoding","Transfer-Encoding"];var CKc=function(a){Ro.call(this);a=a||new hKc;this.request_=this.state_=null;this.withCredentials_=!1;this.transferHandle_=null;this.offset_=this.bytesTransferred_=0;this.retryIterator_=new zKc;this.retryIterator_.maxAttempts_=6;this.retryIterator_.maxDelayMs_=6E4;this.errorDescription_=null;this.eventHandler_=new uq(this);RB(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};Ns(CKc,fKc);f=CKc.prototype;f.run=function(){MZ(this)};f.getBytesTransferred=function(){return this.bytesTransferred_};f.getResponseCode=function(){return this.responseCode_};f.getResponseHeaders=function(){return this.responseHeaders_};
f.getResponseText=function(){return this.responseText_};f.getErrorDescription=function(){return this.errorDescription_};
f.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 LZ,a.withCredentials_=this.withCredentials_,a.send(this.transferHandle_.getUploadUrl(),"POST","",{"X-Goog-Upload-Command":"cancel"});this.state_="Cancel";this.bytesTransferred_=0;this.dispatchEvent(new GZ("q"))}};
f.pause=function(){this.pauseRequested_=!0};f.unpause=function(){this.pauseRequested_=!1;"Paused"===this.state_&&(this.state_=this.stateAfterUnpausing_,this.stateAfterUnpausing_=null,DKc(this))};
var MZ=function(a){var b=a.state_;a.pauseRequested_?(a.pauseRequested_=!1,a.stateAfterUnpausing_=b,a.state_="Paused"):BKc(a.retryIterator_,function(){return DKc(a)})||NZ(a,"Transfer encountered too many consecutive failures.")},DKc=function(a){switch(a.state_){case "Start":a.start_();break;case "Upload":var b=a.transferHandle_.getUploadUrl(),c=a.blob_.size;if(wKc()){var d=a.chunkSize_;var e=a.offset_+d>=c;c=vKc(a.blob_,a.offset_,e?c:a.offset_+d)}else a.offset_=0,c=a.blob_,e=!0;a.request_=new LZ;a.request_.withCredentials_=
a.withCredentials_;a.eventHandler_.removeAll();a.eventHandler_.listen(a.request_,"progress",a.onUploadProgress_);d=Ls(a.onUploadComplete_,a,a.offset_+c.size,e);a.eventHandler_.listen(a.request_,"complete",d);a.lastCommandResponseCode_=null;a.dispatchEvent(new HZ("s"));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("he");}},NZ=function(a,
b){a.state_="Error";a.errorDescription_=b;a.dispatchEvent(new GZ("p"))};f=CKc.prototype;
f.start_=function(){this.request_=new LZ;var a=dc(this.headers_);null!=this.blob_.size&&(a["Content-Length"]=this.blob_.size);a=j6a(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 HZ("s"))};
f.onStartComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new HZ("t"));if(EKc(b))FKc(this,b);else if(GKc(b)){a=Hp(a.target.getAllResponseHeaders());for(var c in a)di(c.toLowerCase(),"x-goog-upload-header-");this.dispatchEvent(new GZ("o"));c=Ip(a,"X-Goog-Upload-URL");a=(a=Ip(a,"X-Goog-Upload-Chunk-Granularity"))?parseInt(a,10):1;void 0===c||isNaN(a)||0>=a?NZ(this,"Server returned invalid headers."):(this.chunkSize_=Math.floor(this.maxChunkSize_/a)*
a,this.transferHandle_=new eKc(c),this.dispatchEvent(new GZ("r")),this.state_="Upload",this.retryIterator_.reset(),MZ(this))}else MZ(this)};f.onUploadProgress_=function(a){this.bytesTransferred_=this.offset_+a.loaded;this.dispatchEvent(new GZ("m"))};
f.onUploadComplete_=function(a,b,c){var d=this,e,g;return pe(function(h){switch(h.nextAddress){case 1:e=c.target;d.lastCommandResponseCode_=e.getStatus();d.dispatchEvent(new HZ("t"));if(d.retryOnHttpClientErrorEnabled_?HKc(e)||404==e.getStatus():EKc(e))return d.bytesTransferred_=a,FKc(d,e),h.return();if(GKc(e)){h.jumpTo(2);break}if(!(g=d.detectCorruptedBlobEnabled_)){h.jumpTo(3);break}return h.yield(IKc(d),4);case 4:g=h.yieldResult;case 3:if(g)return NZ(d,"Blob has been modified or corrupted."),h.return();
d.requireUploadRequestModification_=400==e.getStatus();d.state_="Query";MZ(d);return h.return();case 2:if(b)return NZ(d,"Got a non-final success response after issuing a finalize command."),h.return();d.bytesTransferred_=a;d.offset_=a;d.retryIterator_.reset();MZ(d);return h.return()}})};
f.query_=function(){this.request_=new LZ;this.eventHandler_.removeAll();this.eventHandler_.listen(this.request_,"complete",this.onQueryComplete_);var a=Object.assign({},this.headers_||{},{"X-Goog-Upload-Command":"query"});this.request_.send(this.transferHandle_.getUploadUrl(),"POST","",a);this.lastCommandResponseCode_=null;this.dispatchEvent(new HZ("s"))};
f.onQueryComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new HZ("t"));EKc(b)?(200===b.getStatus()&&(this.bytesTransferred_=this.blob_.size),FKc(this,b)):GKc(b)?(a=Hp(a.target.getAllResponseHeaders()),a=parseInt(Ip(a,"X-Goog-Upload-Size-Received"),10),isNaN(a)?NZ(this,"Server did not respond with current offset."):a<this.offset_?NZ(this,"Server lost bytes! Expected an offset of at least "+this.offset_+", but got an offset of "+a+"."):this.requireUploadRequestModification_&&
this.offset_===a?NZ(this,"Server returned the same offset as the last failed upload attempt."):(this.requireUploadRequestModification_=!1,this.offset_<a&&this.retryIterator_.reset(),this.offset_=this.bytesTransferred_=a,this.state_="Upload",MZ(this))):MZ(this)};
var FKc=function(a,b){a.responseCode_=b.getStatus();var c=Hp(b.getAllResponseHeaders());a.responseHeaders_=k6a(c);a.responseText_=b.getResponseText();a.state_="Response received";a.dispatchEvent(new GZ("n"))},GKc=function(a){var b=a.getStatus();a=Hp(a.getAllResponseHeaders());a=Ip(a,"X-Goog-Upload-Status");return 200===b&&"active"===a},HKc=function(a){a=Hp(a.getAllResponseHeaders());return"final"===Ip(a,"X-Goog-Upload-Status")},EKc=function(a){if(HKc(a))return!0;a=a.getStatus();return 400<=a&&500>
a},IKc=function(a){var b;return pe(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);qe(c,2);if(b=vKc(a.blob_,0,1)){var d=c.yield,e=new xKc,g=yKc(e);e.readAsBinaryString(b);c=d.call(c,g,4)}else c=c.return(!0);return c}if(2!=c.nextAddress)return c.return(a.blob_.size!==a.originalBlobSize_);te(c);return c.return(!0)})};var JKc=function(a,b,c,d,e,g){Ro.call(this);this.payload_=d;this.url_=a;this.method_=b;this.headers_=c;this.metadata_=e;this.metadataOverhead_=0;this.encoding_=g||"binary";a=new Uh;this.boundary_="uploader-"+mv()+"-"+a.toIsoString();this.transferRequest_=null;this.bytesTransferred_=0;this.responseText_=this.responseHeaders_=this.responseCode_=null;this.state_="Ready";this.errorDescription_=null;this.eventHandler_=new uq(this);RB(this,this.eventHandler_)};T(JKc,fKc);f=JKc.prototype;
f.run=function(){var a=dc(this.headers_);null!=this.payload_.length&&(a["Content-Length"]=this.payload_.length);a=j6a(a);a["X-Goog-Upload-Protocol"]="multipart";a["Content-Type"]="multipart/related; boundary="+this.boundary_;this.state_="Transferring";this.transferRequest_=new LZ;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_,g="--"+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_=g.length-this.payload_.length;c.call(b,d,e,g,a)};f.getBytesTransferred=function(){return this.bytesTransferred_};f.getResponseCode=function(){return this.responseCode_};
f.getResponseHeaders=function(){return this.responseHeaders_};f.getResponseText=function(){return this.responseText_};f.getErrorDescription=function(){return this.errorDescription_};f.cancel=function(){"Complete"!=this.state_&&"Error"!=this.state_&&(this.eventHandler_.removeAll(),this.transferRequest_&&this.transferRequest_.abort(),this.state_="Cancel",this.dispatchEvent(new GZ("q")))};f.pause=function(){};f.unpause=function(){};
f.onTransferProgress_=function(a){this.bytesTransferred_=Math.max(0,a.loaded-this.metadataOverhead_);this.dispatchEvent(new GZ("m"))};f.onTransferComplete_=function(a){var b=a.target.getStatus();void 0===b||-1===b?(this.errorDescription_="Connection broken before response was received.",this.state_="Error",this.dispatchEvent(new GZ("p"))):(this.responseCode_=b,a=a.target,b=Hp(a.getAllResponseHeaders()),this.responseHeaders_=k6a(b),this.responseText_=a.getResponseText(),this.state_="Complete",this.dispatchEvent(new GZ("n")))};var KKc=function(){},LKc=function(a,b,c,d,e){e=void 0===e?!1:e;if(c instanceof gKc)return new qKc(a,"POST",b,c.inputElement_,d);if("string"===typeof c||c instanceof String)return new JKc(a,"POST",b,c,d);var g=new CKc(void 0);g.url_=a;g.method_="POST";g.headers_=b;g.blob_=c;g.originalBlobSize_=c.size;g.metadata_=d;e&&(g.withCredentials_=e);g.state_="Start";return g};var MKc=new ad("ScottyUploaderConfigFactory"),NKc=new ad("ScottyUploader",{factory:function(){return new KKc}}),OZ=function(a,b){this.uploader=a;this.configFactory=b;this.internalTransferStatus=new D.Subject;this.transferStatus=Iv(this.internalTransferStatus)};
OZ.prototype.upload=function(a,b){var c=this;b=void 0===b?this.configFactory.create(a):b;a=LKc(b.url,b.headers||{},a,b.metadata||"",!!b.withCredentials);this.transferSubscription&&!b.allowSimultaneousUpload&&this.transferSubscription.unsubscribe();this.transferSubscription=(0,D.merge)((0,D.fromEvent)(a,"o"),(0,D.fromEvent)(a,"m"),(0,D.fromEvent)(a,"r"),(0,D.fromEvent)(a,"p"),(0,D.fromEvent)(a,"n"),(0,D.fromEvent)(a,"q")).pipe(af((0,D.fromEvent)(a,"n").pipe(Me(0)))).subscribe(function(d){c.internalTransferStatus.next(d)});
a.run()};OZ.\u0275fac=function(a){return new (a||OZ)(t(NKc),t(MKc))};OZ.\u0275prov=yc({token:OZ,factory:OZ.\u0275fac});var OKc=function(a){this.name_=a;this.files_=[];this.directories_=[];this.directoryMap_={}};OKc.prototype.getDirectory=function(a){return this.directoryMap_[a]};OKc.prototype.getName=function(){return this.name_};var QKc=function(a,b,c){b=void 0===b?"single_file":b;c=void 0===c?[]:c;Ro.call(this);this.overlayTarget_=a;this.parentOverlay_=null!=a?a.parentNode:go(document,"scotty-overlay-parent");this.selectorType_=b;this.acceptTypes_=c;this.overlay_=PKc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};T(QKc,Ro);
var PKc=function(a,b,c,d){var e=document.createElement("input");e.setAttribute("type","file");e.setAttribute("name","Filedata");So(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),Bq(e,new yq(b.offsetLeft,b.offsetTop)),e;a.parentOverlay_.appendChild(e);return e};QKc.prototype.click=function(){this.overlay_.click()};
QKc.prototype.onFilesSelected_=function(a){a:{try{var b=void 0!==(new XMLHttpRequest).upload;break a}catch(v){}b=!1}if(b){a=a.target.files;b=[];if("single_directory"===this.selectorType_&&(Ss||Qs)){b=new OKc("");if(File.prototype.hasOwnProperty("webkitRelativePath"))for(var c=0;c<a.length;c++)for(var d=a[c],e=d.webkitRelativePath.split("/"),g=b,h=0;h<e.length;h++){var l=e[h];if(h==e.length-1){"."!=l&&g.files_.push(d);break}var q=g.getDirectory(l);void 0==q&&(l=q=new OKc(l),g.directoryMap_[l.getName()]=
l,g.directories_.push(l));g=q}b=b.directories_}this.dispatchEvent(new RKc(a,b,null))}else a=a.target.value,a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12)),this.dispatchEvent(new RKc([],[],new gKc(a,this.overlay_)));this.parentOverlay_.removeChild(this.overlay_);this.overlay_=PKc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};
var SKc={SINGLE_FILE_SELECTION:"single_file",MULTIPLE_FILE_SELECTION:"multiple_file",SINGLE_DIRECTORY_SELECTION:"single_directory"},RKc=function(a,b){SB.call(this,"y");this.files=a;this.directories=b};T(RKc,SB);var PZ=function(a,b){this.elementRef=a;this.ngZone=b;this.destroyed=new D.ReplaySubject(1);this.supportedFileExtensions=null;this.fileExtensionRejected=new kw;this.maxFileSize=null;this.fileSizeRejected=new kw;this.fileSelected=new kw;this.fileNameLengthRejected=new kw};
PZ.prototype.ngAfterViewInit=function(){var a=this;this.getOverlay().pipe($e(function(b){return(0,D.merge)((0,D.fromEvent)(b,"u"),(0,D.fromEvent)(b,"y"))}),af(this.destroyed)).subscribe(function(b){a.ngZone.run(function(){a:{if(a.supportedFileExtensions){var c=k(b.files);for(var d=c.next();!d.done;d=c.next()){var e=a.supportedFileExtensions,g=e.includes;d=d.value.name;var h=d.lastIndexOf(".");if(!g.call(e,-1!==h?d.substr(h+1).toLowerCase():"")){c=!1;break a}}}c=!0}if(c){a:{if(a.maxFileSize)for(c=
k(b.files),e=c.next();!e.done;e=c.next())if(e.value.size>a.maxFileSize){c=!1;break a}c=!0}if(c){a:{if(a.maxFileNameLength)for(c=k(b.files),e=c.next();!e.done;e=c.next())if(e.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,D.fromEvent)(b,"w").subscribe(function(){a.ngZone.run(function(){})})});this.getOverlay().subscribe(function(b){(0,D.fromEvent)(b,
"x").subscribe(function(){a.ngZone.run(function(){})})})};PZ.prototype.ngOnDestroy=function(){this.destroyed.next(!0);this.destroyed.complete()};PZ.\u0275fac=function(a){return new (a||PZ)(B(Dd),B(df))};PZ.\u0275dir=Sc({type:PZ,inputs:{supportedFileExtensions:"supportedFileExtensions",maxFileSize:"maxFileSize",maxFileNameLength:"maxFileNameLength"},outputs:{fileExtensionRejected:"fileExtensionRejected",fileSizeRejected:"fileSizeRejected",fileSelected:"fileSelected",fileNameLengthRejected:"fileNameLengthRejected"}});var QZ=function(a,b){PZ.call(this,a,b);this.overlay=this.fileSelectorOverlay=null};T(QZ,PZ);
QZ.prototype.getOverlay=function(){var a=this;this.overlay||(this.overlay=this.ngZone.runOutsideAngular(function(){return(0,D.merge)((0,D.fromEvent)(a.elementRef.nativeElement,"mouseover"),(0,D.fromEvent)(a.elementRef.nativeElement,"focus")).pipe(Re(),af(a.destroyed),C(function(){a.fileSelectorOverlay=new QKc(a.elementRef.nativeElement,a.selectorType,TKc(a));a.fileSelectorOverlay.overlay_.style.display="none";return a.fileSelectorOverlay}),Xe(1))}));return this.overlay};
QZ.prototype.onClick=function(){this.fileSelectorOverlay&&this.fileSelectorOverlay.click()};var TKc=function(a){return(a.supportedFileExtensions||[]).map(function(b){return"."+b})};QZ.\u0275fac=function(a){return new (a||QZ)(B(Dd),B(df))};QZ.\u0275dir=Sc({type:QZ,hostBindings:function(a,b){a&1&&L("click",function(){return b.onClick()})},inputs:{selectorType:"selectorType"},features:[kf]});var RZ=function(a,b,c){QZ.call(this,a,b);this.uploader=c;this.disableAutoUploadInternal=!1};T(RZ,QZ);
RZ.prototype.ngOnInit=function(){var a=this;this.fileSelected.pipe(af(this.destroyed),Ge(function(){return!a.disableAutoUpload})).subscribe(function(b){b=k(b.files);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;null==(d=a.uploader)||d.upload(c)}})};sh.Object.defineProperties(RZ.prototype,{disableAutoUpload:{configurable:!0,enumerable:!0,get:function(){return this.disableAutoUploadInternal},set:function(a){this.disableAutoUploadInternal=Fg(a)}}});
RZ.\u0275fac=function(a){return new (a||RZ)(B(Dd),B(df),B(OZ,8))};RZ.\u0275dir=Sc({type:RZ,selectors:[["","xapUploaderTrigger",""],["","xapScottyUploaderTrigger",""]],inputs:{disableAutoUpload:"disableAutoUpload"},features:[kf]});var SZ=function(){this.SelectorType=SKc;this.includeTextLabel=this.disabled=!1;this.onSelect=new kw},l6a=function(a,b){if(b=b.files){b=k(b);for(var c=b.next();!c.done;c=b.next())a.onSelect.emit(c.value)}};SZ.\u0275fac=function(a){return new (a||SZ)};
SZ.\u0275cmp=Oc({type:SZ,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&&(F(0,"div",0),O(1,m6a,2,3,"button",1),H(),O(2,n6a,3,3,"ng-template",null,2,gg));if(a&2){var c=Kf(3);z(1);E("ngIf",!b.includeTextLabel)("ngIfElse",c)}},dependencies:[Rw,HB,QA,lD,
RZ],encapsulation:2});var UKc=function(a,b){Ugc.call(this,a.size,a.name);var c=this;this.destroyed$=new D.Subject;this.onTransferEventUpdate=function(d){var e=d.target;c.transfer=e;switch(d.type){case "m":case "o":case "r":c.state=1;c.transferredBytes=e.getBytesTransferred()||0;break;case "p":c.handleError(e);break;case "n":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 "q":c.state=4;c.transferredBytes=e.getBytesTransferred()||0;break;default:c.transferredBytes=e.getBytesTransferred()||0}};b.pipe(af(this.destroyed$)).subscribe(function(d){c.onTransferEventUpdate(d)})};T(UKc,Ugc);UKc.prototype.handleError=function(a){this.transferredBytes=a.getBytesTransferred()||0;this.state=3;if(a=a.getErrorDescription())this.errorMessage=a;this.errorMessage||(this.errorMessage="Error while uploading.")};
UKc.prototype.cancel=function(){var a,b;null==(a=this.transfer)||null==(b=a.cancel)||b.call(a);this.unsubscribe()};UKc.prototype.unsubscribe=function(){this.destroyed$.next();this.destroyed$.complete()};var TZ=function(a){this.activeSession=a};
TZ.prototype.create=function(a){for(var b=a.name,c=[],d=0,e=0;e<b.length;e++){var g=b.charCodeAt(e);128>g?c[d++]=g:(2048>g?c[d++]=g>>6|192:(55296==(g&64512)&&e+1<b.length&&56320==(b.charCodeAt(e+1)&64512)?(g=65536+((g&1023)<<10)+(b.charCodeAt(++e)&1023),c[d++]=g>>18|240,c[d++]=g>>12&63|128):c[d++]=g>>12|224,c[d++]=g>>6&63|128),c[d++]=g&63|128)}b=Kaa(c);a=qBa(a.name)?a.name:b;return{url:RD(I5b().setPath("/upload/"),"authuser",this.activeSession.getSessionIdentifier()).toString(),headers:{"X-Bv2-Encoded-Upload-File-Name":b,
"X-Goog-Upload-File-Name":a},withCredentials:!0}};TZ.\u0275fac=function(a){return new (a||TZ)(t(Bs))};TZ.\u0275prov=yc({token:TZ,factory:TZ.\u0275fac,providedIn:"root"});var UZ=function(a,b){this.uploader=a;this.uploaderConfigFactory=b};UZ.prototype.create=function(){return new OZ(this.uploader,this.uploaderConfigFactory)};UZ.\u0275fac=function(a){return new (a||UZ)(t(NKc),t(TZ))};UZ.\u0275prov=yc({token:UZ,factory:UZ.\u0275fac,providedIn:"root"});var r6a=function(a){return{"attachment-error":a}},VZ=function(a){rF.call(this);this.scottyUploaderFactory=a;this.uploads=[];this.onUploadCancel=new kw;this.onUploadComplete=new kw;this.uploadStates=Vgc};T(VZ,rF);VZ.\u0275dir=rF.\u0275dir;VZ.prototype.ngOnDestroy=function(){rF.prototype.ngOnDestroy.call(this);for(var a=k(this.uploads),b=a.next();!b.done;b=a.next())b.value.cancel()};
VZ.prototype.upload=function(a){var b=this,c=this.scottyUploaderFactory.create();c.upload(a);a=new UKc(a,c.transferStatus);c.transferStatus.pipe(af(this.destroyed$)).subscribe(function(d){"n"===d.type&&b.onUploadComplete.emit()});return a};VZ.prototype.cancel=function(a){a.cancel();this.onUploadCancel.emit(a)};VZ.\u0275fac=function(a){return new (a||VZ)(B(UZ))};
VZ.\u0275cmp=Oc({type:VZ,selectors:[["b-attachment-uploader"]],inputs:{uploads:"uploads"},outputs:{onUploadCancel:"onUploadCancel",onUploadComplete:"onUploadComplete"},features:[kf],decls:1,vars:1,consts:[["class","attachments",4,"ngIf"],[1,"attachments"],["class","attachment",3,"ngClass",4,"ngFor","ngForOf"],[1,"attachment",3,"ngClass"],[1,"attachment-title"],["svgIcon","file-present"],[1,"issue-attachment-filename",3,"matTooltip"],[1,"attachment-filesize"],[4,"ngIf"],["role","alert","aria-live",
"assertive",4,"ngIf"],[1,"bv2-remove-icon","keep-focus-ring","attachment-cancel-button",3,"matTooltip","click"],["role","alert","aria-live","assertive"]],template:function(a,b){a&1&&O(0,t6a,2,1,"div",0);a&2&&E("ngIf",0<b.uploads.length)},dependencies:[Pw,Qw,Rw,HB,lD,zhc],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 VKc=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 WKc=function(a){Ugc.call(this,a.size,a.name);this.attachment=a};T(WKc,Ugc);
var XKc=function(a,b){a.attachment.encryptedBlobId?(a.state=1,Ngc(b,{filename:a.attachment.name,mimeType:a.attachment.mimeType,encryptedBlobId:a.attachment.encryptedBlobId,docId:a.attachment.docId,size:a.attachment.size}).then(function(c){a.attachment.size&&(a.transferredBytes=a.attachment.size);a.blobRef=c.encryptedMedia;a.state=2}).catch(function(c){a.state=3;a.errorMessage=$l(c)?am(c):"Error while uploading."})):(a.state=3,a.errorMessage="Error while uploading.")};var WZ=function(a){this.id_=a;this.opts={}};f=WZ.prototype;f.setLabel=function(a){this.label_=a||void 0;return this};f.setOptions=function(a){this.opts=a};f.setQuery=function(a){this.opts.query=a;return this};f.setParent=function(a){this.opts.parent=a;return this};f.toArray=function(){var a=ac(this.opts,function(c){return null!==c});a=bc(a)?null:a;a=[this.id_,this.label_,a];var b=waa(a,PPb);return a=a.slice(0,b+1)};
f.toString=function(){var a=this.toArray();return"("+SJb(a,function(b){return JSON.stringify(b)}).join(",")+")"};f.getId=function(){return this.id_};f.getLabel=function(){return this.label_};f.getOptions=function(){return dc(this.opts)};f.getQuery=function(){return this.opts.query};var XZ=function(a){WZ.call(this,a||"all")};Ns(XZ,WZ);var YKc=function(){var a=(new XZ("all")).setOwnedByMe(!0);a.opts.drdis=!0;a.opts.includeFolders=!0;a.opts.sortKey=7;a.opts.ff=!0;return a};f=XZ.prototype;f.setMode=function(a){this.opts.mode=a;return this};f.setOwnedByMe=function(a){void 0!==a?this.opts.ownedByMe=a:delete this.opts.ownedByMe;return this};f.setStarred=function(a){this.opts.starred=a};f.setLabel=function(a){XZ.superClass_.setLabel.call(this,a);return this};
f.setQuery=function(a){XZ.superClass_.setQuery.call(this,a);return this};f.setParent=function(a){XZ.superClass_.setParent.call(this,a);return this};var ZKc=function(){WZ.call(this,"image-search")};T(ZKc,WZ);f=ZKc.prototype;f.setType=function(a){this.opts.type=a;return this};f.setSize=function(a){this.opts.imgsz=a;return this};f.setColor=function(a){this.opts.imgcolor=a;return this};f.setLabel=function(a){WZ.prototype.setLabel.call(this,a);return this};f.setQuery=function(a){WZ.prototype.setQuery.call(this,a);return this};f.setParent=function(a){WZ.prototype.setParent.call(this,a);return this};var YZ=function(){WZ.call(this,"maps")};T(YZ,WZ);YZ.prototype.setMode=function(a){this.opts.mode=a;return this};YZ.prototype.setLabel=function(a){WZ.prototype.setLabel.call(this,a);return this};YZ.prototype.setQuery=function(a){WZ.prototype.setQuery.call(this,a);return this};YZ.prototype.setParent=function(a){WZ.prototype.setParent.call(this,a);return this};var $Kc=function(){WZ.call(this,"photos")};T($Kc,WZ);f=$Kc.prototype;f.setMode=function(a){this.opts.mode=a;return this};f.setType=function(a){this.opts.type=a;return this};f.setLabel=function(a){WZ.prototype.setLabel.call(this,a);return this};f.setQuery=function(a){WZ.prototype.setQuery.call(this,a);return this};f.setParent=function(a){WZ.prototype.setParent.call(this,a);return this};f.removeDuplicates=function(){this.opts.rdv=!0;return this};var ZZ=function(){WZ.call(this,"url")};T(ZZ,WZ);ZZ.prototype.setType=function(a){this.opts.type=a;return this};ZZ.prototype.setLabel=function(a){WZ.prototype.setLabel.call(this,a);return this};ZZ.prototype.setQuery=function(a){WZ.prototype.setQuery.call(this,a);return this};ZZ.prototype.setParent=function(a){WZ.prototype.setParent.call(this,a);return this};var aLc=function(){WZ.call(this,"video-search")};T(aLc,WZ);aLc.prototype.setLabel=function(a){WZ.prototype.setLabel.call(this,a);return this};aLc.prototype.setQuery=function(a){WZ.prototype.setQuery.call(this,a);return this};aLc.prototype.setParent=function(a){WZ.prototype.setParent.call(this,a);return this};var bLc=function(){WZ.call(this,"web")};T(bLc,WZ);bLc.prototype.setLabel=function(a){WZ.prototype.setLabel.call(this,a);return this};bLc.prototype.setQuery=function(a){WZ.prototype.setQuery.call(this,a);return this};bLc.prototype.setParent=function(a){WZ.prototype.setParent.call(this,a);return this};var $Z=function(){this.root_=void 0;this.items_=[];this.opts={}},cLc=function(a){switch(a){case "image-search":return new ZKc;case "maps":return new YZ;case "photos":return new $Kc;case "url":return new ZZ;case "video-search":return new aLc;case "web":return new bLc}return new WZ(a)};$Z.prototype.addView=function(a){this.items_.push("string"===typeof a?cLc(a):a);return this};
var dLc=function(a){return"("+SJb(a.items_,function(b){return b.toString()}).join(",")+")"},eLc=function(a){a=ac(a.opts,function(b){return null!==b});return(a=bc(a)?null:a)?JSON.stringify(Lca(a,function(b){return b.toString()})):""};$Z.prototype.toString=function(){if(this.root_){var a=["{root:",this.root_.toString(),",items:",dLc(this)],b=eLc(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return dLc(this)};
$Z.prototype.toObject=function(){var a=SJb(this.items_,function(b){return b instanceof $Z?b.toObject():b.toArray()});return this.root_?{root:this.root_.toArray(),items:a,options:this.getOptions()}:a};$Z.prototype.getOptions=function(){return dc(this.opts)};var fLc=function(a){this.basePickerUrl_=a||"https://docs.google.com/picker";this.nav_=new $Z};f=fLc.prototype;f.nav_=null;f.domHelper_=null;f.addView=function(a){this.nav_.addView(a);return this};f.getAppId=function(){return this.appId_};f.getBaseUrl=function(){return this.basePickerUrl_};f.getDomHelper=function(){return this.domHelper_};f.setAppId=function(a){this.appId_=a};f.setCallback=function(a){this.callback_=a;return this};var gLc=function(a){fLc.call(this,a)};Ns(gLc,fLc);var a_=function(a){Ro.call(this);this.dom_=a||Uo();this.rightToLeft_=hLc;this.id_=null;this.inDocument_=!1;this.element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.parent_=null};Ns(a_,Ro);a_.prototype.idGenerator_=rq.getInstance();var hLc=!1;f=a_.prototype;f.getId=function(){return this.id_||(this.id_=gq(this.idGenerator_))};
f.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("$`"+a);b[a]=this}this.id_=a};f.getElement=function(){return this.element_};f.getHandler=function(){this.googUiComponentHandler_||(this.googUiComponentHandler_=new uq(this));return this.googUiComponentHandler_};
f.setParent=function(a){if(this==a)throw Error("ie");if(a&&this.parent_&&this.id_&&FIc(this.parent_,this.id_)&&this.parent_!=a)throw Error("ie");this.parent_=a;a_.superClass_.setParentEventTarget.call(this,a)};f.getParent=function(){return this.parent_};f.setParentEventTarget=function(a){if(this.parent_&&this.parent_!=a)throw Error("je");a_.superClass_.setParentEventTarget.call(this,a)};f.getDomHelper=function(){return this.dom_};f.createDom=function(){this.element_=this.dom_.createElement("DIV")};
f.render=function(a){if(this.inDocument_)throw Error("ke");this.element_||this.createDom();a?a.insertBefore(this.element_,null):this.dom_.document_.body.appendChild(this.element_);this.parent_&&!this.parent_.inDocument_||this.enterDocument()};f.enterDocument=function(){this.inDocument_=!0;iLc(this,function(a){!a.inDocument_&&a.getElement()&&a.enterDocument()})};
f.exitDocument=function(){iLc(this,function(a){a.inDocument_&&a.exitDocument()});this.googUiComponentHandler_&&this.googUiComponentHandler_.removeAll();this.inDocument_=!1};f.disposeInternal=function(){this.inDocument_&&this.exitDocument();this.googUiComponentHandler_&&(this.googUiComponentHandler_.dispose(),delete this.googUiComponentHandler_);iLc(this,function(a){a.dispose()});this.element_&&iC(this.element_);this.parent_=this.element_=this.childIndex_=this.children_=null;a_.superClass_.disposeInternal.call(this)};
f.setModel=function(){};
f.addChild=function(){var a=this.children_?this.children_.length:0;if((void 0).inDocument_&&!this.inDocument_)throw Error("ke");if(0>a||a>(this.children_?this.children_.length:0))throw Error("le");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;ra(this.children_)}else{b=this.childIndex_;c=(void 0).getId();if(null!==b&&c in b)throw Error("$`"+c);b[c]=void 0}(void 0).setParent(this);Caa(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()};f.getContentElement=function(){return this.element_};
f.isRightToLeft=function(){null==this.rightToLeft_&&(this.rightToLeft_=RS(this.inDocument_?this.element_:this.dom_.document_.body));return this.rightToLeft_};f.hasChildren=function(){return!!this.children_&&0!=this.children_.length};var FIc=function(a,b){return a.childIndex_&&b?Sca(a.childIndex_,b)||null:null},iLc=function(a,b){a.children_&&a.children_.forEach(b,void 0)};
a_.prototype.removeChild=function(a,b){if(a){var c="string"===typeof a?a:a.getId();a=FIc(this,c);c&&a&&(cc(this.childIndex_,c),ra(this.children_,a),b&&(a.exitDocument(),a.element_&&iC(a.element_)),a.setParent(null))}if(!a)throw Error("me");return a};a_.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};Ns(v6a,u6a);var jLc=function(a){u6a.call(this,"visibility");this.visible=a};Ns(jLc,u6a);var kLc=Xn(Yn("//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick")),lLc=Xn(Yn("//apis.google.com/js/rpc.js")),x6a=null;var mLc=function(a){Ro.call(this);this.element_=a;a=Ps?"focusout":"blur";this.listenKeyIn_=So(this.element_,Ps?"focusin":"focus",this,!Ps);this.listenKeyOut_=So(this.element_,a,this,!Ps)};Ns(mLc,Ro);mLc.prototype.handleEvent=function(a){var b=new TB(a.event_);b.type="focusin"==a.type||"focus"==a.type?"focusin":"focusout";this.dispatchEvent(b)};mLc.prototype.disposeInternal=function(){mLc.superClass_.disposeInternal.call(this);ZB(this.listenKeyIn_);ZB(this.listenKeyOut_);delete this.element_};var nLc=new Map;nLc.set("application/vnd.google-apps.document","application/vnd.google-gsuite.document-blob");nLc.set("application/vnd.google-apps.spreadsheet","application/vnd.google-gsuite.spreadsheet-blob");nLc.set("application/vnd.google-apps.presentation","application/vnd.google-gsuite.presentation-blob");var oLc=new Set;oLc.add("application/vnd.google-apps.kix");oLc.add("application/vnd.google-apps.ritz");oLc.add("application/vnd.google-apps.punch");var yLc=function(a,b,c){var d=c&&U(c,1);if(c){var e=U(c,3);e=e&&JSON.parse(e)||{};c={0:U(c,1),1:c.getLabel(),2:e}}else c={};switch(a[0].getId().getSourceId()){case 13:return pLc(a,b,d,c);case 3:return qLc(a,b,d,c);case 10:return rLc(a,b,d,c);case 12:return sLc(a,b);case 2:return tLc(a,b,d,c);case 5:return uLc(a,b,d,c);case 9:return vLc(a,b,d,c);case 6:return wLc(a,b,d,c);case 1:return Nj(a[0],wOb,26)?xLc(a,b,d,c):rLc(a,b,d,c);default:return{}}},wLc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),
serviceId:"youtube",name:e.getName(),description:e.getDescription(),type:b_(e),lastEditedUtc:X(e,Nh,16).toDate().getTime(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:U(e,13),thumbnails:c_(Ou(e))}});return{action:b,docs:a,viewToken:d,view:c||"youtube",v2Translated:!0}},tLc=function(a,b,c,d){var e=a.map(function(g){var h={id:g.getId().getId(),serviceId:"docs",mimeType:g.getMimeType(),name:g.getName(),type:b_(g),lastEditedUtc:g.getLastModifiedTimestamp().toDate().getTime(),
url:g.getUrl(),sizeBytes:ht(g,23),description:g.getDescription(),iconUrl:g.getIconUrl(),thumbnails:c_(Ou(g)),isShared:Pu(g).getShared(),downloadUrl:Pu(g).getDownloadUrl(),embedUrl:U(g,13),copyable:Tj(Pu(g),9),resourceKey:Pu(g).getResourceKey()};Tj(Pu(g),12)&&(h.uploadState="success");if(Pu(g).hasVideoMetadata()){g=Pu(g).getVideoMetadata();var l=g.getDuration().getSeconds()+g.getDuration().getNanos()/1E9;h.duration=l;h.aspectRatio=rj(g,1)}return h});return{action:b,docs:e,viewToken:d,view:c||"all",
extraUserInputs:zLc(a),v2Translated:!0}},uLc=function(a,b,c,d){a=a.map(function(e){var g=X(X(e,YOb,15),Au,1);Co(e,10,Au,g);return{id:e.getId().getId(),serviceId:"web",mimeType:e.getMimeType(),name:e.getName(),type:b_(e),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:c_(Ou(e))}});return{action:b,docs:a,viewToken:d,view:c||"image-search",v2Translated:!0}},vLc=function(a,b,c,d){a=a.map(function(e){return{serviceId:"url",
name:Ou(e)[0].getUrl().split("/").pop(),type:b_(e),mimeType:e.getMimeType(),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:c_(Ou(e))}});return{action:b,docs:a,viewToken:d,view:c||"url",v2Translated:!0}},xLc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"picasa",name:e.getName(),type:b_(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",
thumbnails:c_(Ou(e))}});return{action:b,docs:a,viewToken:d,view:c||"webcam",v2Translated:!0}},rLc=function(a,b,c,d){return{action:b,docs:a.map(ALc),viewToken:d,view:BLc(c||"upload",a),extraUserInputs:zLc(a),v2Translated:!0}},BLc=function(a,b){return b.some(function(c){var d;return 9===(null==(d=X(c,Ku,30))?void 0:d.getAgentId())})?a+"/gmailphotos":a},qLc=function(a,b,c,d){var e=a.map(function(g){var h={id:g.getId().getId(),serviceId:"picasa",mimeType:g.getMimeType(),name:g.getName(),type:b_(g),lastEditedUtc:g.getLastModifiedTimestamp().toDate().getTime(),
url:g.getUrl(),sizeBytes:ht(g,23),description:g.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:c_(Ou(g)),mediaKey:g.getId().getId(),parentId:g.getParentId()},l;if(g=null==(l=X(g,Iu,18))?void 0:X(l,Hu,3))h.latitude=g.getLatitude(),h.longitude=g.getLongitude();return h});return{action:b,docs:e,viewToken:d,view:c||"photos",extraUserInputs:zLc(a),v2Translated:!0}},pLc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"et",
name:Ou(e)[0].getUrl().split("/").pop(),description:e.getDescription(),type:"et",iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:c_(Ou(e),"etjpg")}});return{action:b,docs:a,viewToken:d,view:c||"et",v2Translated:!0}},sLc=function(a,b){a=a.map(function(c){var d=X(c,Fu,27).getEmailList()[0];return{id:c.getId().getId(),serviceId:"contacts",mimeType:c.getMimeType(),name:c.getName(),description:c.getDescription(),url:"mailto:"+d,thumbnail:[{url:c.getIconUrl()}],
email:d}});return{action:b,docs:a,view:"contacts",v2Translated:!0}},c_=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}})},zLc=function(a){return{isAttachment:a.some(function(b){return Tj(b,31)})}},ALc=function(a){var b={id:a.getId().getId(),serviceId:CLc(a),mimeType:a.getMimeType(),name:a.getName(),type:b_(a),sizeBytes:ht(a,
23),description:a.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:c_(Ou(a)),isNew:!0},c=X(a,Ku,30);if(c){b.dataUrl=U(c,1)||null;a:{var d=X(a,Ku,30);switch(d.getAgentId()){case 9:d=ck(d,NOb,2,Lu);d={remoteRefs:d&&U(d,1)};break a;case 10:case 15:d=ck(d,Ju,4,Lu);var e=Ou(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&&ck(c,Ju,4,Lu))&&(b.id=d.getPhotoId());(d=c&&ck(c,POb,5,Lu))&&(b.contentId=U(d,1));(d=c&&ck(c,KOb,6,Lu))&&(b.contentId=U(d,1));1===(null==c?void 0:c.getAgentId())&&(b.mediaKey=a.getId().getId());return b},CLc=function(a){var b;switch((null==(b=X(a,Ku,30))?void 0:b.getAgentId())||0){case 1:return"picasa";case 2:case 3:case 4:case 8:case 12:return"photo";case 10:case 15:return"dragonflyphotos";case 11:return"mapspro";case 13:return"books";case 14:return"cultural"}return null},
b_=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 DLc=function(a){this.obj_=a};f=DLc.prototype;f.value=function(){return this.obj_};f.setWidth=function(a){this.obj_.width=a;return this};f.getWidth=function(){return this.obj_.width};f.setHeight=function(a){this.obj_.height=a;return this};f.getHeight=function(){return this.obj_.height};f.setStyle=function(a){this.obj_.style=a;return this};f.getStyle=function(){return this.obj_.style};var ELc=function(a){this.obj_=a||{}};f=ELc.prototype;f.value=function(){return this.obj_};f.setUrl=function(a){this.obj_.url=a;return this};f.getUrl=function(){return this.obj_.url};f.setStyle=function(a){this.obj_.style=a;return this};f.getStyle=function(){return this.obj_.style};f.setId=function(a){this.obj_.id=a;return this};f.getId=function(){return this.obj_.id};f.getContext=function(){return this.obj_.context};
var FLc=function(a){a.obj_.attributes=a.obj_.attributes||{};return new DLc(a.obj_.attributes)},Kyc=function(a){return(a=a.obj_.timeout)?a:null};var GLc=function(){ELc.apply(this,arguments)};T(GLc,ELc);var HLc=Xn(Yn("https://apis.google.com/js/api.js")),LLc=function(a,b){var c=!1,d=ILc(a,b).then(function(g){c=!0;return g}),e=c_b(5E3).then(function(){return c?ILc(a,b):JLc(b).then(function(g){return KLc(g,a)})});return PZb([d,e])},ILc=function(a,b){return MLc(b).then(function(c){return KLc(c,a)})},KLc=function(a,b){var c=di(b,"gapi.")?b.slice(5):b;return a[c]?oC(a[c]):new nC(function(d,e){var g=oo(function(){e(Error("ne"))},3E4);a.load(b,{callback:function(){po(g);d(a[c])},onerror:function(h){po(g);
e(h)}})})},MLc=function(a){return a.gapi&&a.gapi.load?oC(a.gapi):JLc(a)},JLc=function(a){return jHa(HLc,{document:a.document}).then(function(){return a.gapi})},NLc=function(){};NLc.prototype.load=function(a,b){b=void 0===b?window:b;var c=Date.now();return LLc(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 OLc=function(){QB.call(this);this.gapiLoader_=new NLc;this.origin_=null;this.gapiPickerIframeResolver_=RZb();this.gapiIframesResolver_=RZb();this.gapiIframesResolver_.promise.then(null,function(){});this.gapiPickerIframeResolver_.promise.then(null,function(){});this.hostMessageHandlerInternal_={}};T(OLc,QB);
var PLc=function(a,b){var c=No("gapi.iframes",b);return c?(a=Date.now(),oC({library:c,loadStartMs:a,loadEndMs:a})):a.gapiLoader_.load("gapi.iframes",b)},QLc=function(a,b,c,d,e,g){var h=!0;h=void 0===h?!1:h;PLc(a,hC(b.ownerDocument)).then(function(l){var q=l.library;a.gapiIframesResolver_.resolve(q);l=a.gapiPickerIframeResolver_;var v=l.resolve,x=h;x=void 0===x?!1:x;var A={};A["host-message-handler"]=c;a.hostMessageHandlerInternal_=A;var G=TD(d);G=TD(G);G=OD(ND(new Wo,G.scheme_).setDomain(G.getDomain()),
G.port_).toString();a.origin_=G;G=(new GLc).setUrl(d);G.obj_.where=b;G.obj_.allowPost=x;G.obj_.messageHandlers=A;x=No("makeWhiteListIframesFilter",q)([a.origin_]);G.obj_.messageHandlersFilter=x;null!=e&&G.setId(e);null!=g&&(G.obj_.rpctoken=g);FLc(G).setStyle({display:"block","min-width":"100%",width:"1px"}).setHeight("100%");FLc(G).value().allow="camera 'src' "+a.origin_;q=q.getContext().openChild(G.value());v.call(l,q)},function(l){a.gapiIframesResolver_.reject(l);a.gapiPickerIframeResolver_.reject(l)});
return a.gapiPickerIframeResolver_.promise},RLc=function(a,b){return OZb([a.gapiIframesResolver_.promise,a.gapiPickerIframeResolver_.promise]).then(function(c){var d=k(c);c=d.next().value;return(d=d.next().value)?d.send("picker-message-handler",b,void 0,No("makeWhiteListIframesFilter",c)([a.origin_])):KZb(Error("oe"))})};OLc.prototype.disposeInternal=function(){SLc(this);QB.prototype.disposeInternal.call(this)};
var SLc=function(a){a.gapiPickerIframeResolver_.promise.then(function(b){b&&(b.unregister("host-message-handler"),delete a.hostMessageHandlerInternal_["host-message-handler"])})};var TLc=function(){this.nextId_=0};TLc.prototype.getUniqueId=function(){return":"+(this.nextId_++).toString(36)};var VLc=function(a,b){switch(a.action){case "select-contacts":a=ULc(a.contacts);break;case "visibility":a=a.visible;a=(new bv).setCommand(7).setVisible(a);var c={};c["iframe-command"]=a.serialize();a=c;break;default:a=null}return a?RLc(b,a):oC()},ULc=function(a){if(!a||0==a.length)return null;var b=new bv;b.setCommand(11);var c=new TLc;a.forEach(function(d){if(d.email){var e=(new Nu).setName(d.name?d.name:d.email);d=(new Fu).addEmail(d.email);e=hj(e,Fu,27,d).setId((new yu).setId(c.getUniqueId()).setSourceId(12))}else e=
null;e&&b.addItem(e)});a={};a["iframe-command"]=b.serialize();return a};var d_=function(a,b,c){Ro.call(this);this.target=a;this.handle=b||a;this.limits=c||new MS(NaN,NaN,NaN,NaN);this.document_=bC(a);this.eventHandler_=new uq(this);RB(this,this.eventHandler_);this.deltaY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this.clientX=0;this.dragging_=!1;So(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.useSetCapture_=WLc};Ns(d_,Ro);
var WLc=ba.document&&ba.document.documentElement&&!!ba.document.documentElement.setCapture&&!!ba.document.releaseCapture;f=d_.prototype;f.getHandler=function(){return this.eventHandler_};f.disposeInternal=function(){d_.superClass_.disposeInternal.call(this);YB(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.handle=this.target=null};
f.startDrag=function(a){var b="mousedown"==a.type;if(this.dragging_||b&&(0!=a.event_.button||qq&&a.ctrlKey))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new e_("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(hC(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=gC(Uo(this.document_).document_)}};
f.endDrag=function(a,b){this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.dragging_?(this.dragging_=!1,this.dispatchEvent(new e_("end",this,a.clientX,a.clientY,a,XLc(this,this.deltaX),YLc(this,this.deltaY),b||"touchcancel"==a.type))):this.dispatchEvent("earlycancel")};
f.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 e_("start",this,a.clientX,a.clientY,a)))this.dragging_=!0;else{this.isDisposed()||this.endDrag(a);return}}c=ZLc(this,b,c);b=c.x;c=c.y;this.dragging_&&this.dispatchEvent(new e_("beforedrag",this,a.clientX,a.clientY,
a,b,c))&&($Lc(this,a,b,c),a.preventDefault())};var ZLc=function(a,b,c){var d=gC(Uo(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(XLc(a,a.deltaX),YLc(a,a.deltaY))};d_.prototype.onScroll_=function(a){var b=ZLc(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;$Lc(this,a,b.x,b.y)};
var $Lc=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new e_("drag",a,b.clientX,b.clientY,b,c,d))},XLc=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))},YLc=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))};d_.prototype.isDragging=function(){return this.dragging_};
var e_=function(a,b,c,d,e,g,h){SB.call(this,a);this.clientX=c;this.clientY=d;this.left=void 0!==g?g:b.deltaX;this.top=void 0!==h?h:b.deltaY};Ns(e_,SB);var f_=function(a){this.map_=new Map;var b=arguments.length;if(1<b){if(b%2)throw Error("aa");for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.addAll(a)};f=f_.prototype;f.getCount=function(){return this.map_.size};f.getValues=function(){return Array.from(this.map_.values())};f.getKeys=function(){return Array.from(this.map_.keys())};f.containsKey=function(a){return this.map_.has(a)};f.containsValue=function(a){return this.getValues().some(function(b){return b==a})};
f.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))})};f.isEmpty=function(){return 0==this.map_.size};f.clear=function(){this.map_.clear()};f.remove=function(a){return this.map_.delete(a)};f.get=function(a,b){return this.map_.has(a)?this.map_.get(a):b};f.set=function(a,b){this.map_.set(a,b);return this};
f.addAll=function(a){if(a instanceof f_){a=k(a.map_);for(var b=a.next();!b.done;b=a.next()){var c=k(b.value);b=c.next().value;c=c.next().value;this.map_.set(b,c)}}else if(a)for(a=k(Object.entries(a)),b=a.next();!b.done;b=a.next())c=k(b.value),b=c.next().value,c=c.next().value,this.map_.set(b,c)};f.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)})};f.clone=function(){return new f_(this)};
f.toObject=function(){for(var a={},b=k(this.map_),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a[c]=d}return a};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!ba.requestAnimationFrame;++c)ba.requestAnimationFrame=ba[b+"RequestAnimationFrame"],ba.cancelAnimationFrame=ba[b+"CancelAnimationFrame"]||ba[b+"CancelRequestAnimationFrame"];if(!ba.requestAnimationFrame){var d=0;ba.requestAnimationFrame=function(e){var g=(new Date).getTime(),h=Math.max(0,16-(g-d));d=g+h;return ba.setTimeout(function(){e(g+h)},h)};ba.cancelAnimationFrame||(ba.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
var aMc=[[],[]],bMc=0,cMc=!1,dMc=0,fMc=function(a,b){var c=dMc++,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,aMc[bMc].push(d));cMc||(cMc=!0,window.requestAnimationFrame(eMc))}},eMc=
function(){cMc=!1;var a=aMc[bMc],b=a.length;bMc=(bMc+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 gMc=Ps?Xn(Yn('javascript:""')):Xn(Yn("about:blank"));Gh(gMc);var hMc=Ps?Xn(Yn('javascript:""')):Xn(Yn("javascript:undefined"));Gh(hMc);var iMc=function(a,b){this.element_=a;this.dom_=b};var g_=function(a,b){a_.call(this,b);this.useIframeMask_=!!a;this.lastFocus_=null;this.resizeBackgroundTask_=fMc({mutate:this.resizeBackground_},this);fMc({mutate:this.updateModalAndBackground_},this)};Ns(g_,a_);f=g_.prototype;f.focusHandler_=null;f.visible_=!1;f.bgEl_=null;f.bgIframeEl_=null;f.tabCatcherElement_=null;f.backwardTabWrapInProgress_=!1;f.getCssClass=function(){return"goog-modalpopup"};f.getBackgroundElement=function(){return this.bgEl_};
f.createDom=function(){g_.superClass_.createDom.call(this);var a=this.getElement();Szc(a,fi(this.getCssClass()).split(" "));a.tabIndex=0;QS(a,!1);this.useIframeMask_&&!this.bgIframeEl_&&(a=this.getDomHelper().createDom("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"}),a.src=Gh(gMc).toString(),this.bgIframeEl_=a,this.bgIframeEl_.className=this.getCssClass()+"-bg",QS(this.bgIframeEl_,!1),dAc(this.bgIframeEl_,0));this.bgEl_||(this.bgEl_=this.getDomHelper().createDom("DIV",this.getCssClass()+
"-bg"),QS(this.bgEl_,!1));this.tabCatcherElement_||(this.tabCatcherElement_=this.getDomHelper().createElement("SPAN"),QS(this.tabCatcherElement_,!1),this.tabCatcherElement_.tabIndex=0,this.tabCatcherElement_.style.position="absolute")};f.resetBackwardTabWrap_=function(){this.backwardTabWrapInProgress_=!1};
f.enterDocument=function(){if(this.bgIframeEl_){var a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.bgIframeEl_,a)}a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.bgEl_,a);g_.superClass_.enterDocument.call(this);a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.tabCatcherElement_,a.nextSibling);this.focusHandler_=new mLc(this.getDomHelper().document_);this.getHandler().listen(this.focusHandler_,"focusin",this.onFocus);jMc(this,!1)};
f.exitDocument=function(){this.isVisible()&&this.setVisible(!1);Ah(this.focusHandler_);g_.superClass_.exitDocument.call(this);iC(this.bgIframeEl_);iC(this.bgEl_);iC(this.tabCatcherElement_)};
f.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_&&jMc(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_);kMc(this,!0);this.focus();this.visible_=!0;if(this.popupShowTransition_&&this.bgShowTransition_)WB(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_)WB(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 jMc=function(a,b){a.modalAriaVisibilityHelper_||(a.modalAriaVisibilityHelper_=new iMc(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_||Glc(d,"hidden")||(dN(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}};
g_.prototype.updateModalAndBackground_=function(){this.resizeBackground_();this.reposition()};var kMc=function(a,b){a.bgIframeEl_&&QS(a.bgIframeEl_,b);a.bgEl_&&QS(a.bgEl_,b);QS(a.getElement(),b);QS(a.tabCatcherElement_,b)};f=g_.prototype;f.onShow=function(){this.dispatchEvent("show")};f.onHide=function(){kMc(this,!1);this.dispatchEvent("hide")};f.isVisible=function(){return this.visible_};f.focus=function(){this.focusElement_()};
f.resizeBackground_=function(){this.bgIframeEl_&&QS(this.bgIframeEl_,!1);this.bgEl_&&QS(this.bgEl_,!1);var a=this.getDomHelper().document_;var b=lMc(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_&&(QS(this.bgIframeEl_,!0),cAc(this.bgIframeEl_,c,a));this.bgEl_&&(QS(this.bgEl_,!0),cAc(this.bgEl_,c,a))};
f.reposition=function(){if("fixed"==Jp(this.getElement(),"position"))var a=0,b=0;else b=gC(this.getDomHelper().document_),a=b.x,b=b.y;var c=Aq(this.getElement());var d=lMc(this);a=Math.max(a+d.width/2-c.width/2,0);b=Math.max(b+d.height/2-c.height/2,0);Bq(this.getElement(),a,b);Bq(this.tabCatcherElement_,a,b)};f.onFocus=function(a){this.backwardTabWrapInProgress_?this.resetBackwardTabWrap_():a.target==this.tabCatcherElement_&&oo(this.focusElement_,0,this)};
f.focusElement_=function(){try{Ps&&this.getDomHelper().document_.body.focus(),this.getElement().focus()}catch(a){}};var lMc=function(a){a=a.getDomHelper().document_;return eC(hC(a)||window)};g_.prototype.disposeInternal=function(){Ah(this.popupShowTransition_);this.popupShowTransition_=null;Ah(this.popupHideTransition_);this.popupHideTransition_=null;Ah(this.bgShowTransition_);this.bgShowTransition_=null;Ah(this.bgHideTransition_);this.bgHideTransition_=null;g_.superClass_.disposeInternal.call(this)};var j_=function(a,b,c){g_.call(this,b,c);this.class_=a||"modal-dialog";this.buttons_=h_(h_(new i_,mMc,!0),nMc,!1,!0)};Ns(j_,g_);f=j_.prototype;f.escapeToCancel_=!0;f.hasTitleCloseButton_=!0;f.modal_=!0;f.backgroundElementOpacity_=.5;f.title_="";f.dragger_=null;f.disposeOnHide_=!1;f.titleEl_=null;f.titleTextEl_=null;f.titleTextId_=null;f.titleCloseEl_=null;f.contentEl_=null;f.buttonEl_=null;f.getCssClass=function(){return this.class_};
f.setTitle=function(a){this.title_=a;this.titleTextEl_&&kC(this.titleTextEl_,a)};f.getTitle=function(){return this.title_};f.getContent=function(){return""};f.getContentElement=function(){this.getElement()||this.render();return this.contentEl_};var oMc=function(a){a.getElement()||a.render();return a.getElement()};j_.prototype.getBackgroundElement=function(){this.getElement()||this.render();return j_.superClass_.getBackgroundElement.call(this)};j_.prototype.handleDrag=function(){};
var pMc=function(a,b){var c=fi(a.class_+"-title-draggable").split(" ");a.getElement()&&(b?Szc(a.titleEl_,c):Uzc(a.titleEl_,c));b&&!a.dragger_?(b=new d_(a.getElement(),a.titleEl_),a.dragger_=b,Szc(a.titleEl_,c),So(a.dragger_,"start",a.setDraggerLimits_,!1,a),So(a.dragger_,"drag",a.handleDrag,!1,a)):!b&&a.dragger_&&(a.dragger_.dispose(),a.dragger_=null)};f=j_.prototype;
f.createDom=function(){j_.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"));nZb(a,this.titleEl_,this.contentEl_=b.createDom("DIV",{className:this.class_+"-content",id:c}),this.buttonEl_=
b.createDom("DIV",this.class_+"-buttons"));cN(this.titleTextEl_,"heading");cN(this.titleCloseEl_,"button");this.titleCloseEl_.tabIndex=0;Hlc(this.titleCloseEl_,"Close");cN(a,"dialog");dN(a,"labelledby",this.titleTextId_||"");QS(this.titleCloseEl_,this.hasTitleCloseButton_);this.buttons_&&(a=this.buttons_,a.element_=this.buttonEl_,a.render());QS(this.buttonEl_,!!this.buttons_);this.backgroundElementOpacity_=this.backgroundElementOpacity_;this.getElement()&&(a=this.getBackgroundElement())&&dAc(a,this.backgroundElementOpacity_)};
f.enterDocument=function(){j_.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_);pMc(this,!0);this.getHandler().listen(this.titleCloseEl_,"click",this.onTitleCloseClick_);var a=this.getElement();cN(a,"dialog");""!==this.titleTextEl_.id&&dN(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()&&jMc(this,!1)}};f.exitDocument=function(){this.isVisible()&&this.setVisible(!1);pMc(this,!1);j_.superClass_.exitDocument.call(this)};f.setVisible=function(a){a!=this.isVisible()&&(this.inDocument_||this.render(),j_.superClass_.setVisible.call(this,a))};f.onShow=function(){j_.superClass_.onShow.call(this);this.dispatchEvent("aftershow")};
f.onHide=function(){j_.superClass_.onHide.call(this);this.dispatchEvent("afterhide");this.disposeOnHide_&&this.dispose()};f.setDraggerLimits_=function(){var a=this.getDomHelper().document_,b=eC(hC(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=Aq(this.getElement());"fixed"==Jp(this.getElement(),"position")?this.dragger_.limits=new MS(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height)):this.dragger_.limits=new MS(0,0,c-d.width,a-d.height)};
f.onTitleCloseClick_=function(){qMc(this)};var qMc=function(a){if(a.hasTitleCloseButton_){var b=a.buttons_,c=b&&b.cancelButton_;c?(b=b.get(c),a.dispatchEvent(new rMc(c,b))&&a.setVisible(!1)):a.setVisible(!1)}},sMc=function(a){a.hasTitleCloseButton_=!1;a.titleCloseEl_&&QS(a.titleCloseEl_,a.hasTitleCloseButton_)};j_.prototype.setDisposeOnHide=function(a){this.disposeOnHide_=a};j_.prototype.disposeInternal=function(){this.buttonEl_=this.titleCloseEl_=null;j_.superClass_.disposeInternal.call(this)};
j_.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 rMc(a,b))&&this.setVisible(!1)}};
j_.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 g=d&&d.cancelButton_;e="SELECT"==e.tagName&&!e.disabled;g&&!e?(c=!0,b=d.get(g),b=this.dispatchEvent(new rMc(g,b))):e||(b=!0)}else{if(9==a.keyCode&&a.shiftKey&&e==this.getElement()){this.backwardTabWrapInProgress_=!0;try{this.tabCatcherElement_.focus()}catch(x){}oo(this.resetBackwardTabWrap_,0,this)}}else if(13==a.keyCode){if("BUTTON"==e.tagName&&!e.disabled)g=e.name;
else if(e==this.titleCloseEl_)qMc(this);else if(d){var h=d.getDefault(),l;if(l=h)a:{l=dC("BUTTON",d.element_);for(var q=0,v;v=l[q];q++)if(v.name==h||v.id==h){l=v;break a}l=null}e=("TEXTAREA"==e.tagName||"SELECT"==e.tagName||"A"==e.tagName)&&!e.disabled;!l||l.disabled||e||(g=h)}g&&d&&(c=!0,b=this.dispatchEvent(new rMc(g,String(d.get(g)))))}else e!=this.titleCloseEl_||32!=a.keyCode&&" "!=a.key||qMc(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};
var rMc=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};Ns(rMc,SB);var i_=function(a){f_.call(this);this.dom_=a||Uo();this.class_="goog-buttonset";this.cancelButton_=this.element_=this.defaultButton_=null};Ns(i_,f_);i_.prototype.clear=function(){f_.prototype.clear.call(this);this.defaultButton_=this.cancelButton_=null};i_.prototype.set=function(a,b,c,d){f_.prototype.set.call(this,a,b);c&&(this.defaultButton_=a);d&&(this.cancelButton_=a);return this};
var h_=function(a,b,c,d){return a.set(b.key,b.caption,c,d)};f=i_.prototype;f.render=function(){if(this.element_){CMa(this.element_,ts);var a=Uo(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)}};f.getElement=function(){return this.element_};f.getDomHelper=function(){return this.dom_};f.setDefault=function(a){this.defaultButton_=a};f.getDefault=function(){return this.defaultButton_};
var mMc={key:"ok",caption:"OK"},nMc={key:"cancel",caption:"Cancel"},tMc={key:"yes",caption:"Yes"},uMc={key:"no",caption:"No"},vMc={key:"save",caption:"Save"},wMc={key:"continue",caption:"Continue"};"undefined"!=typeof document&&(h_(new i_,mMc,!0,!0),h_(h_(new i_,mMc,!0),nMc,!1,!0),h_(h_(new i_,tMc,!0),uMc,!1,!0),h_(h_(h_(new i_,tMc),uMc,!0),nMc,!1,!0),h_(h_(h_(new i_,wMc),vMc),nMc,!0,!0));var xMc=function(a,b,c){j_.call(this,a,b,c)};Ns(xMc,j_);var yMc=function(a,b){Ro.call(this);this.element_=a;a=jC(this.element_)?this.element_:this.element_?this.element_.body:null;this.isRtl_=!!a&&RS(a);this.listenKey_=So(this.element_,Rs?"DOMMouseScroll":"mousewheel",this,b)};Ns(yMc,Ro);
yMc.prototype.handleEvent=function(a){var b=0,c=0,d=a.event_;"mousewheel"==d.type?(a=zMc(-d.wheelDelta),void 0!==d.wheelDeltaX?(b=zMc(-d.wheelDeltaX),c=zMc(-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 AMc(a,d,b,c);this.dispatchEvent(b)};
var zMc=function(a){return Ss&&(qq||ZJb)&&0!=a%40?a:a/40};yMc.prototype.disposeInternal=function(){yMc.superClass_.disposeInternal.call(this);ZB(this.listenKey_);this.listenKey_=null};var AMc=function(a,b,c,d){TB.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};Ns(AMc,TB);var BMc;var k_=function(a,b,c,d,e,g,h,l,q){l=void 0===l?!1:l;q=void 0===q?!1:q;j_.call(this,g?g+" picker modal-dialog":"picker modal-dialog",!0,c);j0b(a,"protocol");this.iframeManager_=new OLc;this.targetId_=mv();this.rpcToken_=mv();this.useGapi_=!q&&!0;a=TD(a);SD(a,"hostId");l||RD(a,"v2","true");this.setUrl(a.toString());this.preferredDialogWidth_=d;this.preferredDialogHeight_=e;void 0!==d||void 0!==e?d=!0:(d=SD(TD(a.toString()),"hostId"),BMc||(BMc=new Set("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" "))),
d=!BMc.has(d));this.autoSizeDialog_=d;this.gadgetsDomHelper_=h||this.getDomHelper();b&&(b="true"==SD(TD(this.url_),"grugl")?lLc:kLc,h=this.gadgetsDomHelper_,w6a(h)||(h=h||Uo(document),d=h.createElement("SCRIPT"),Hh(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):Os(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()):CMa(this.buttonEl_,ts),QS(this.buttonEl_,!!this.buttons_))};Ns(k_,xMc);f=k_.prototype;f.url_="";f.iframe_=null;f.iframeLoaded_=!1;f.loadedFired_=!1;f.callback_=function(){};f.enterDocument=function(){k_.superClass_.enterDocument.call(this);var a=this.getBackgroundElement(),b=this.getHandler(),c=new yMc(a);RB(b,c);b.listen(c,"mousewheel",Ls(A6a,void 0,a)).listen(a,"scroll",Ls(A6a,void 0,a))};
f.render=function(a){var b=this;k_.superClass_.render.call(this,a);this.useGapi_?PLc(this.iframeManager_,window).then(function(){return CMc(b)}).then(null,function(c){return void b.handleError_(c)}):DMc(this)};
var CMc=function(a){var b=a.getDomHelper().createDom("div",["picker-dialog-content","picker-frame"]);QS(b,!1);a.getContentElement().appendChild(b);return QLc(a.iframeManager_,b,function(c){var d=LPb(c["iframe-command"]);switch(d.getCommand()){case 1:c=a.callback_;d=X(d,Su,2);var e="";switch(d.getStatus()){case 2:e="cancel";break;case 1:e="picked";break;case 3:e="error"}var g=d.getItemList();d=0===g.length?{action:e}:yLc(g,e,d.getInternalOnlyV1ViewInfo());c.call(a,d);a.setVisible(!1);break;case 4:sMc(a),
a.callback_({action:"loaded"})}},a.url_,a.targetId_,a.rpcToken_).then(function(c){a.iframe_=c.getIframeEl();EMc(a);QS(a.iframe_.parentElement,!0);Rzc(a.getElement(),"picker-dialog");FMc(a);return c})},DMc=function(a){a.iframe_=a.dom_.createDom("IFRAME",{id:a.targetId_,name:a.targetId_,"class":"picker-frame",frameBorder:"0",allow:"camera"});Lpa(a.iframe_,GMc(a));Rzc(a.getElement(),"picker-dialog");a.getContentElement().appendChild(a.iframe_);a.getHandler().listen(a.iframe_,"load",function(){return void EMc(a)});
a.iframe_.src=a.url_;FMc(a)},IMc=function(a){HMc(a,Ls(function(b){b.setAuthToken(this.targetId_,this.rpcToken_)},a))},FMc=function(a){var b=SD(TD(a.url_),"title");b&&a.setTitle(b)},GMc=function(a){return 7<=naa("Internet Explorer")&&di(a.url_,"https")?Xn(Yn("https://about:blank")):Ps?Xn(Yn('javascript:""')):Xn(Yn("about:blank"))},EMc=function(a){IMc(a);a.iframeLoaded_=!0;a.iframe_.tabIndex=0;a.isVisible()&&a.focus()};
k_.prototype.handleKeydown_=function(a){27==a.keyCode&&(this.setVisible(!1),this.callback_({action:"cancel"}),a.stopPropagation(),a.preventDefault())};var HMc=function(a,b){var c=a.gadgetsDomHelper_;y6a(function(){b(c.getWindow().gadgets.rpc)},c)};k_.prototype.setUrl=function(a){a=RD(new Wo(a),"rpcService",this.targetId_);RD(a,"rpctoken",this.rpcToken_);A5b(a,"rpctoken="+this.rpcToken_);ND(a,"https");this.url_=a.toString();this.iframe_&&(this.iframe_.src=this.url_)};
k_.prototype.setAppId=function(a){this.appId_=a;this.loadedFired_&&JMc(this)};k_.prototype.setCallback=function(a){this.callback_=a;HMc(this,Ls(function(b){b.register(this.targetId_,Ls(this.handlePickerAction_,this))},this))};
k_.prototype.handlePickerAction_=function(a){var b=a.action;"loaded"==b&&(this.loadedFired_=!0,this.sendCommand(new jLc(this.isVisible())),JMc(this),sMc(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 JMc=function(a){a.appId_&&a.sendCommand(new v6a(a.appId_,window.location.protocol+"//"+window.location.host))};f=k_.prototype;
f.setRelayUrl=function(a){HMc(this,Ls(function(b){b.setRelayUrl(this.targetId_,a)},this))};f.sendCommand=function(a){var b=this;this.useGapi_&&VLc(a,this.iframeManager_).then(null,function(c){return void b.handleError_(c)});HMc(this,Ls(function(c){c.call(this.targetId_,"picker",null,a)},this))};
f.resizePicker_=function(){var a=this.getDomHelper().document_;a=hC(a)||window;if("true"==SD(TD(this.url_),"ignoreLimits"))a=new $B(this.preferredDialogWidth_,this.preferredDialogHeight_);else if("true"==SD(TD(this.url_),"shadeDialog")){var b=iAc(oMc(this)),c=eC(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 $B(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=eC(a),c=.85*c.height);var d=Math.max(480,Math.min(650,c))}else c=eC(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=eC(a);b=Math.min(b,Math.max(c.width,320));d=Math.min(d,Math.max(c.height,480));a=new $B(b,d)}cAc(this.getContentElement(),a);this.reposition()};
f.reposition=function(){if("true"==SD(TD(this.url_),"shadeDialog")){var a=Aq(this.getElement()),b=eC(this.getDomHelper().getWindow());a=Math.floor(b.width/2-a.width/2);if(b=iAc(oMc(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=gC(this.getDomHelper().document_).y;Bq(this.getElement(),a,b)}else k_.superClass_.reposition.call(this)};
f.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_))}k_.superClass_.setVisible.call(this,a);this.sendCommand(new jLc(a))};
f.focus=function(){k_.superClass_.focus.call(this);if(this.iframe_&&this.iframeLoaded_&&this.loadedFired_)try{this.iframe_.focus()}catch(a){}};f.handleError_=function(){this.callback_({action:"error"})};var l_=function(a){fLc.call(this,a);this.urlParamMap_=new Map;this.urlParamMap_.set("protocol","gadgets");(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);this.setOrigin(a);this.postProcessors_=[];this.gadgetsDomHelper_=void 0};Ns(l_,gLc);l_.prototype.disposeOnHide_=!1;
l_.prototype.build=function(){this.urlParamMap_.get("parent")||this.setRelayUrl(A5b(z5b(TD(window.location.href)),"").setPath("/favicon.ico").toString());this.urlParamMap_.set("ifls",Date.now());if(this.urlParamMap_.get("minimal"))throw Error("pe");var a=new k_(KMc(this).toString(),!0,this.getDomHelper(),this.dialogWidth_,this.dialogHeight_,"",this.gadgetsDomHelper_,!1,!1);a.setDisposeOnHide(this.disposeOnHide_);a.setAppId(this.getAppId());a.setCallback(this.callback_);return a};
var LMc=function(a,b){a.urlParamMap_.set(b,"true");return a};f=l_.prototype;f.getHeight=function(){return this.dialogHeight_};f.getLocale=function(){return this.urlParamMap_.get("hl")};f.getProtocol=function(){return this.urlParamMap_.get("protocol")};f.getTitle=function(){return this.urlParamMap_.get("title")};f.getWidth=function(){return this.dialogWidth_};f.setDisposeOnHide=function(a){this.disposeOnHide_=a};f.setGroupId=function(a){this.urlParamMap_.set("groupId",a)};
var MMc=function(a){a.urlParamMap_.set("hostId","buganizer-drive");return a};f=l_.prototype;f.setOrigin=function(a){a&&this.urlParamMap_.set("origin",a);return this};f.setLocale=function(a){this.urlParamMap_.set("hl",a);return this};f.setRelayUrl=function(a){this.urlParamMap_.set("parent",a)};f.setSize=function(a,b){this.dialogWidth_=a;this.dialogHeight_=b;return this};f.setTitle=function(a){this.urlParamMap_.set("title",a);return this};
var KMc=function(a){a.postProcessors_.length&&a.urlParamMap_.set("pp",JSON.stringify(a.postProcessors_));a.urlParamMap_.set("nav",dLc(a.nav_));var b=new Wo(a.getBaseUrl());a.urlParamMap_.forEach(function(c,d){RD(b,d,c)});return b};var m_=function(a,b){this.activeSession=a;this.attachmentsApi=b;this.disabled=!1;this.onPickDoc=new kw;this.onCloneBlob=new kw;this.onePickUrl=a.getOnePickUrl();this.onePickSecretToken=a.getOnePickSecretToken()};
m_.prototype.showDialog=function(){var a=this;if(!this.drivePicker){var b=window.location.origin||window.location.protocol+"//"+window.location.host;this.drivePicker=MMc(LMc(LMc(LMc(LMc((new l_(this.onePickUrl)).addView(YKc().setMode("list")),"navHidden"),"multiselectEnabled"),"edbe"),"showAttach").setCallback(function(c){if(c&&"picked"===c.action)for(var d=k(c.docs),e=d.next();!e.done;e=d.next())e=new VKc(e.value),c.extraUserInputs.isAttachment?(e=new WKc(e),XKc(e,a.attachmentsApi),a.onCloneBlob.emit(e)):
a.onPickDoc.emit(e)}).setOrigin(b)).build()}this.drivePicker.setVisible(!0)};m_.\u0275fac=function(a){return new (a||m_)(B(Bs),B(Mgc))};
m_.\u0275cmp=Oc({type:m_,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&&(F(0,"div",0)(1,"button",1),L("click",function(){return b.showDialog()}),I(2,"mat-icon",2),H()());a&2&&(z(1),E("disabled",
b.disabled))},dependencies:[HB,QA,lD],encapsulation:2});var n_=function(a,b,c){rF.call(this);this.issueDetailsBrain=a;this.userResources=b;this.analytics=c;this.isPlusOneText=!1;this.onSubmitComment=new kw};T(n_,rF);n_.\u0275dir=rF.\u0275dir;n_.prototype.ngOnChanges=function(a){a.isPlusOneText&&this.isPlusOneText&&this.analytics.trackEvent(ao.EDIT_ISSUE,"view","commentAndVoteBanner")};
n_.prototype.onClick=function(){var a=on(this.issueDetailsBrain.id$);this.onSubmitComment.emit();null!=a&&(kdc(this.userResources,a,{voted:!0,starred:null,notificationSubscription:null}).pipe(af(this.destroyed$)).subscribe(),this.analytics.trackEvent(ao.EDIT_ISSUE,"click","commentAndVote"))};n_.\u0275fac=function(a){return new (a||n_)(B(AK),B(mI),B(EI))};
n_.\u0275cmp=Oc({type:n_,selectors:[["b-plus-one-comment-callout"]],inputs:{isPlusOneText:"isPlusOneText"},outputs:{onSubmitComment:"onSubmitComment"},features:[kf,gd],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&&O(0,B6a,7,1,"div",0);a&2&&E("ngIf",b.isPlusOneText)},dependencies:[Rw,HB,QA,lD],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 NMc=["commentBoxContainer"],OMc=[[["","recaptchaContainer",""]],[["","additionalToolbarItems",""]]],PMc=function(a){return{focused:a}},o_=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 kw;this.disabled=this.supportsPreview=!1;this.showToolbar=!0;this.attachmentsDisabled=!1;this.showRestrictionOptions=!0;this.isPlusOneCalloutEnabled=!1;this.onPlusOneTextEntered=new kw;this.onChange=
new kw;this.onFocusEvent=new kw;this.onSubmit=new kw;this.onRestrict=new kw;this.focused=!1;this.commentRebound$=new D.ReplaySubject(1);this.destroyed$=new D.ReplaySubject(1);this.createRestrictedResourcesComponentWhitelist=this.activeSession.getCreateRestrictedSubresourcesComponentWhitelist()};f=o_.prototype;f.ngOnDestroy=function(){var a;null==(a=this.comment)||Wgc(a);this.destroyed$.next()};
f.ngOnInit=function(){var a=this;this.appEvents.focusCommentBox.pipe(af(this.destroyed$)).subscribe(function(b){YBb(a,b)});this.appEvents.scrollToCommentBox.pipe(af(this.destroyed$)).subscribe(function(){a.scrollIntoView()})};f.ngOnChanges=function(a){a.comment&&this.commentRebound$.next()};f.getRestrictedLabel=function(){var a,b,c=null!=(b=null==(a=this.judgementForNewContent)?void 0:a.severity)?b:"NONE_DETECTED";return Sqa(c)};
f.isRestricted=function(){var a,b;return"NONE_DETECTED"!==(null!=(b=null==(a=this.judgementForNewContent)?void 0:a.severity)?b:"NONE_DETECTED")};var YBb=function(a,b){(b=void 0===b?"":b)&&a.analytics.trackEvent("commentBox","takeFocus",b);a.scrollIntoView();var c;null==(c=a.commentDraftComponent)||QAc(c)};f=o_.prototype;f.uploadFile=function(a){a=this.attachmentUploader.upload(a);this.addUpload(a)};f.addUpload=function(a){this.comment&&this.comment.uploads.push(a)};
f.removeUpload=function(a){this.comment&&ra(this.comment.uploads,a)};f.scrollIntoView=function(){var a;null==(a=this.commentBoxContainer)||a.nativeElement.scrollIntoView({behavior:"smooth"})};f.onFocus=function(){this.focused=!0;this.onFocusEvent.emit()};f.onBlur=function(){this.focused=!1};f.onKeydown=function(a){this.hotkeys.isEnabled()&&("Enter"!==a.key||!a.ctrlKey&&!a.metaKey||this.disabled||this.onSubmit.emit(a.shiftKey))};o_.\u0275fac=function(a){return new (a||o_)(B(EI),B(fN),B(Bs),B(eH),B(PL))};
o_.\u0275cmp=Oc({type:o_,selectors:[["b-comment-box"]],viewQuery:function(a,b){a&1&&(bg(bT,5),bg(NMc,5),bg(VZ,5));if(a&2){var c;ag(c=dg())&&(b.commentDraftComponent=c.first);ag(c=dg())&&(b.commentBoxContainer=c.first);ag(c=dg())&&(b.attachmentUploader=c.first)}},inputs:{issueId:"issueId",comment:"comment",supportsPreview:"supportsPreview",componentId:"componentId",placeholder:"placeholder",judgementForNewContent:"judgementForNewContent",audience:"audience",disabled:"disabled",showToolbar:"showToolbar",
idForAriaLabel:"idForAriaLabel",attachmentsDisabled:"attachmentsDisabled",showRestrictionOptions:"showRestrictionOptions",isPlusOneCalloutEnabled:"isPlusOneCalloutEnabled"},outputs:{commentChange:"commentChange",onPlusOneTextEntered:"onPlusOneTextEntered",onChange:"onChange",onFocusEvent:"onFocusEvent",onSubmit:"onSubmit",onRestrict:"onRestrict"},features:[gd],ngContentSelectors:["[recaptchaContainer]","[additionalToolbarItems]"],decls:9,vars:13,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&&(Ff(OMc),F(0,"div",0,1)(2,"div",2)(3,"b-comment-draft",3),L("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,g=!1,h=0,l=0;l<d.types.length;l++)"text/plain"===d.types[l]?e=!0:"Files"===d.types[l]&&(g=!0,h=l);g&&d.items&&d.files?(g=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:g,filename:d}):d=void 0;d&&(c.preventDefault(),c=new File([d.file],d.filename,{type:d.file.type}),b.uploadFile(c))}}),H(),O(4,C6a,2,1,"ng-container",4),H(),F(5,"b-attachment-uploader",5),L("onUploadCancel",
function(c){b.removeUpload(c);return b.onChange.emit()})("onUploadComplete",function(){return b.onChange.emit()}),H(),Gf(6),O(7,H6a,6,5,"div",6),H(),O(8,I6a,2,4,"div",4));a&2&&(E("ngClass",Rf(11,PMc,b.focused)),z(3),E("content",b.comment.value)("placeholder",b.placeholder)("disabled",b.disabled)("textareaClass",b.disabled?"bv2-disabled":"")("audience",b.audience)("idForAriaLabel",b.idForAriaLabel),z(1),E("ngIf",b.isPlusOneCalloutEnabled),z(1),E("uploads",b.comment.uploads),z(2),E("ngIf",b.showToolbar),
z(1),E("ngIf",b.supportsPreview&&b.comment.formattingMode===b.MARKDOWN))},dependencies:[Pw,Rw,HB,bT,lD,uP,m_,SZ,VZ,QA,n_,Xw],encapsulation:2});var QMc=["dialog"],p_=function(a,b,c,d){rF.call(this);this.matDialog=a;this.activeSession=b;this.hotkeys=c;this.save=new kw;this.close=new kw;this.externalWarnings=[];this.issueEditBuilder=null;this.FocusableField=RMc;this.enableRecaptcha=pF(this.activeSession,"enableRecaptcha")&&pF(this.activeSession,"enableBulkEditCaptchaUi");this.comment=new qK;var e;this.comment.formattingMode=Ik(null==(e=WJ(d).textDisplayPreferences)?void 0:e.lastPublishMode);this.issueStates=G$b};T(p_,rF);p_.\u0275dir=rF.\u0275dir;
p_.prototype.showDialog=function(a,b,c){var d=this;this.issueEditBuilder=new aKc(this.activeSession.getUserEmail(),a);this.issueEditBuilder.comment=this.comment;b&&J6a(this.issueEditBuilder,b);this.focus=c;this.hotkeys.pause();this.matDialogRef=this.matDialog.open(this.dialog,{minWidth:512,maxWidth:512});$A(this.matDialogRef).pipe(af(this.destroyed$)).subscribe(function(e){d.hotkeys.unpause();e&&d.save.emit();d.close.emit()})};p_.\u0275fac=function(a){return new (a||p_)(B(eB),B(Bs),B(fN),B(VJ))};
p_.\u0275cmp=Oc({type:p_,selectors:[["b-state-modal"]],viewQuery:function(a,b){a&1&&bg(QMc,5);if(a&2){var c;ag(c=dg())&&(b.dialog=c.first)}},inputs:{externalWarnings:"externalWarnings"},outputs:{save:"save",close:"close"},features:[kf],decls:2,vars:0,consts:[["dialog",""],["statusForm","ngForm"],["mat-dialog-title",""],["mat-dialog-content",""],["class","bv2-modal-form",4,"ngIf"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-dialog-actions",""],["type","button","mat-button","",1,"gmat-button",
"medium",3,"mat-dialog-close"],["type","submit","color","primary","mat-flat-button","",1,"gmat-button","medium","confirm",3,"mat-dialog-close","disabled"],[1,"bv2-modal-form"],["type","button","mat-button","",1,"gmat-button","medium","primary","status-select",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["statusMenu",""],["mat-menu-item","","type","button",3,"disabled","click"],["mat-menu-item","","type","button",3,"disabled","click",4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"],
["class","bv2-modal-text-field",4,"ngSwitchDefault"],["placeholder","Add a comment (optional)",3,"comment","showToolbar","onSubmit"],[1,"float-clear"],["class","bv2-external-component-modal-warning",4,"ngIf"],[1,"bv2-modal-text-field"],["for","bv2-state-modal-assignee",1,"bv2-top-field-label"],["class","bv2-multiple-user-chip",4,"ngSwitchCase"],[4,"ngSwitchDefault"],["for","bv2-state-modal-verifier",1,"bv2-top-field-label"],["class","bv2-multiple-user-chip",3,"bv2-invalid-multiple-user-chip",4,"ngSwitchCase"],
[1,"bv2-multiple-user-chip"],["title","Clear assignees",3,"click"],["type","text","name","assignee",3,"ngModel","bContactAutocomplete","ngModelChange"],["title","Clear verifiers",3,"click"],["type","text","name","verifier",3,"ngModel","required","bContactAutocomplete","ngModelChange"],["for","bv2-state-modal-issue-id",1,"bv2-top-field-label"],["type","text","name","duplicateOf",3,"ngModel","ngModelChange"],[1,"bv2-external-component-modal-warning"],[4,"ngFor","ngForOf"],[3,"accessLevel"],[1,"flex-kids-x",
"justify-flex-end"],[3,"onUpdate"]],template:function(a){a&1&&O(0,Z6a,14,5,"ng-template",null,0,gg)},dependencies:[Qw,Rw,Sw,Tw,Uw,fB,gB,hB,iB,MP,Bx,wg,tx,ux,Lx,Ax,yx,QA,dO,dD,bD,cD,YS,o_,cT],encapsulation:2});var RMc={ASSIGNEE:0,VERIFIER:1,COMMENT:2,DUPE_ID:3,0:"ASSIGNEE",1:"VERIFIER",2:"COMMENT",3:"DUPE_ID"};var q_=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};q_.prototype.ngOnInit=function(){SMc(this,this.issuesToFlag)};
var SMc=function(a,b){0>=b.length?a.permissionsCheckComplete=!0:MG(a.userAccess,"admin","components/"+b[0].componentId).then(function(c){a.issuesChecked++;c||a.protectedIssues.push(b[0]);SMc(a,b.slice(1))},function(c){a.errorHandler.errorHandler(null,c)})};q_.\u0275fac=function(a){return new (a||q_)(B(OJ),B(LG),B(aH),B(dB))};
q_.\u0275cmp=Oc({type:q_,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&&(F(0,"h1",0),P(1,"Flag Issues as Spam"),H(),F(2,"div",1)(3,"div",2)(4,"p"),P(5),F(6,"a",3),P(7,"see here"),H(),P(8,". "),H(),F(9,"p"),P(10," This operation cannot be undone in bulk. "),H()(),F(11,"div",4),O(12,c7a,3,2,"div",5),O(13,e7a,5,2,"div",5),H()(),F(14,"div",6)(15,"button",7),P(16," Close "),H(),F(17,"button",8),P(18," Flag as Spam "),H()());a&2&&(z(5),Lf(" Flagging these ",b.issuesToFlag.length," issues as spam will cause them to drop out of regular search results, and they will be deleted after 30 days. For more information on remediating spam at scale, "),
z(1),E("href",fgc(b.documentationLinks),Ud),z(6),E("ngIf",!b.permissionsCheckComplete),z(1),E("ngIf",b.permissionsCheckComplete&&0<b.protectedIssues.length),z(4),E("disabled",!b.permissionsCheckComplete)("mat-dialog-close",!0))},dependencies:[Qw,Rw,QA,fB,gB,hB,iB],encapsulation:2});var r_=function(a,b){this.cdr=a;this.dialogRef=b;this.component=null};r_.prototype.updateComponent=function(a){this.component=a;this.cdr.detectChanges()};r_.prototype.save=function(){this.dialogRef.close(this.component)};r_.prototype.cancel=function(){this.dialogRef.close()};r_.\u0275fac=function(a){return new (a||r_)(B(AI,2),B(bB))};
r_.\u0275cmp=Oc({type:r_,selectors:[["b-bulk-move-dialog"]],features:[Of([AI])],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&&(F(0,"h1",0),P(1,"Change Component"),H(),F(2,"mat-dialog-content")(3,"p"),P(4,"Choose new component for these issues."),H(),F(5,"p",1),
P(6," Warning: If these issues have custom fields, their values will be lost if you move the issues outside the component subtree that defines those custom fields. "),H(),F(7,"b-team-component-picker",2),L("selectedComponentChange",function(c){return b.updateComponent(null!==c&&void 0!==c?c:null)}),H()(),F(8,"mat-dialog-actions")(9,"button",3),L("click",function(){return b.cancel()}),P(10," Cancel "),H(),F(11,"button",4),L("click",function(){return b.save()}),P(12," Save "),H()());a&2&&(z(7),E("selectedComponent",
b.component)("placeholder","Choose Component")("isRequired",!0),z(4),E("disabled",null==b.component))},dependencies:[QA,gB,hB,iB,qV],styles:[".bv2-bulk-move-warning[_ngcontent-%COMP%]{font-weight:bold}"]});var s_=function(){this.renderPanel=!0;this.sloEditCommit=new kw;this.closePicker=new kw};s_.prototype.ngOnChanges=function(a){if(a.sloEditTime){var b;if(a=this.sloEditTime){a=null!=a&&a.getSeconds?a.getSeconds():a.seconds;var c=new Dl;c.setTime(1E3*a);a=c}else a=null;this.currentPickerDate=null!=(b=a)?b:void 0}};s_.prototype.setDate=function(a){this.currentPickerDate=a};s_.\u0275fac=function(a){return new (a||s_)};
s_.\u0275cmp=Oc({type:s_,selectors:[["slo-edit-date-time-picker"]],inputs:{sloEditTime:"sloEditTime",sloStatus:"sloStatus",renderPanel:"renderPanel"},outputs:{sloEditCommit:"sloEditCommit",closePicker:"closePicker"},features:[Of([AI]),gd],decls:2,vars:2,consts:[[3,"clickOutside"],[3,"renderPanel","date","dateSelectionChange","saveClicked","cancelClicked"]],template:function(a,b){a&1&&(F(0,"div",0),L("clickOutside",function(){b.closePicker.emit()}),F(1,"b-date-time-picker-content",1),L("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()}),H()());a&2&&(z(1),E("renderPanel",b.renderPanel)("date",b.currentPickerDate))},dependencies:[SO,vY],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 t_=function(a,b){this.data=a;this.dialogRef=b;this.commitEvent=void 0;this.fieldDisplayName=a.fieldDisplayName};t_.prototype.close=function(){this.dialogRef.close(this.commitEvent)};t_.\u0275fac=function(a){return new (a||t_)(B(dB),B(bB))};
t_.\u0275cmp=Oc({type:t_,selectors:[["b-edit-calendar-modal"]],decls:3,vars:2,consts:[["mat-dialog-title",""],[3,"renderPanel","sloEditCommit","closePicker"]],template:function(a,b){a&1&&(F(0,"h1",0),P(1),H(),F(2,"slo-edit-date-time-picker",1),L("sloEditCommit",function(c){b.commitEvent=c})("closePicker",function(){return b.close()}),H());a&2&&(z(1),Lf("Edit ",b.fieldDisplayName,""),z(1),E("renderPanel",!1))},dependencies:[s_],encapsulation:2});var u_=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(g){return g.label})};
u_.prototype.enableSubmit=function(){return this.isEnumSpec&&""!==this.currentEnumLabel||!this.isEnumSpec};u_.prototype.cancel=function(){this.dialogRef.close(void 0)};u_.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)};u_.\u0275fac=function(a){return new (a||u_)(B(dB),B(bB))};
u_.\u0275cmp=Oc({type:u_,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&&(F(0,"h1",0),P(1),H(),O(2,f7a,5,2,"mat-dialog-content",1),O(3,
g7a,4,4,"div",2),F(4,"mat-dialog-actions")(5,"button",3),L("click",function(){return b.cancel()}),P(6," Cancel "),H(),F(7,"button",4),L("click",function(){return b.save()}),P(8," Save "),H()());a&2&&(z(1),Lf("Edit ",b.fieldDisplayName,""),z(1),E("ngIf",!b.isEnumSpec),z(1),E("ngIf",b.isEnumSpec),z(4),E("disabled",!b.enableSubmit()))},dependencies:[Rw,wg,tx,Ax,QA,gB,hB,iB,uB,sB,xB,EY],encapsulation:2});var v_=function(a,b){this.data=a;this.dialogRef=b;this.fieldDisplayName=this.removeItems=this.addItems="";this.fieldDisplayName=a.fieldDisplayName};v_.prototype.save=function(){this.dialogRef.close({addItems:this.addItems,removeItems:this.removeItems})};v_.prototype.close=function(){this.dialogRef.close()};v_.\u0275fac=function(a){return new (a||v_)(B(dB),B(bB))};
v_.\u0275cmp=Oc({type:v_,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&&(F(0,"h1",0),P(1),H(),F(2,"mat-dialog-content")(3,"p"),P(4),H(),F(5,"div",1)(6,"mat-form-field")(7,"mat-label"),P(8),H(),F(9,"input",2),L("ngModelChange",function(c){return b.addItems=c}),H()(),
I(10,"br"),F(11,"mat-form-field")(12,"mat-label"),P(13),H(),F(14,"input",2),L("ngModelChange",function(c){return b.removeItems=c}),H()()()(),F(15,"mat-dialog-actions")(16,"button",3),L("click",function(){return b.close()}),P(17," Cancel "),H(),F(18,"button",4),L("click",function(){return b.save()}),P(19," Save "),H()());a&2&&(z(1),Lf("Edit ",b.fieldDisplayName,""),z(3),Lf("Enter ",b.fieldDisplayName," to add or remove"),z(4),Lf(" ",b.fieldDisplayName," to Add "),z(1),E("ngModel",b.addItems),z(4),
Lf(" ",b.fieldDisplayName," to Remove "),z(1),E("ngModel",b.removeItems))},dependencies:[wg,tx,Ax,QA,uB,sB,xB,gB,hB,iB],encapsulation:2});var TMc=["hotlistFilterInput"],UMc=["hotlistCreate"],VMc=["hotlistApply"],WMc=["hotlistLoad"],XMc=["menuitem"],w_=function(a,b,c,d,e,g){rF.call(this);this.liveAnnouncer=a;this.butterBar=b;this.userAccess=c;this.analytics=d;this.activeSession=e;this.cdr=g;this.selectedHotlistIds=[[]];this.choices=[];this.checkEditAcl=!0;this.onCreate=new kw;this.onApply=new kw;this.onLoad=new kw;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()};T(w_,rF);w_.\u0275dir=rF.\u0275dir;w_.prototype.ngAfterViewInit=function(){var a=this,b;null==(b=this.trigger)||b.menuOpened.pipe(af(this.destroyed$)).subscribe(function(){(0,D.timer)(0).pipe(af(a.destroyed$)).subscribe(function(){a.focusFilterBox()})});var c;null==(c=this.trigger)||c.menuClosed.pipe(af(this.destroyed$)).subscribe(function(){YMc(a)})};
w_.prototype.focusFilterBox=function(){this.filterElement.nativeElement.focus()};w_.prototype.ngOnChanges=function(){ZMc(this);this.oldSelectedHotlistMap=Object.assign({},this.selectedHotlistMap);this.pendingChanges=this.canCreate=!1;$Mc(this)};
var ZMc=function(a){var b={};Rca(a.selectedHotlistMap);if(a.choices){a.validHotlistIds.clear();for(var c=k(a.choices),d=c.next();!d.done;d=c.next())d=d.value,b[d.hotlistId]=0,a.validHotlistIds.add(d.hotlistId);if(a.selectedHotlistIds){c=a.selectedHotlistIds.length;d=k(a.selectedHotlistIds);for(var e=d.next();!e.done;e=d.next())if(e=e.value){e=k(e);for(var g=e.next();!g.done;g=e.next())b[g.value]++}d=k(Object.entries(b));for(e=d.next();!e.done;e=d.next())g=k(e.value),e=g.next().value,g=g.next().value,
a.selectedHotlistMap[Number(e)]=g?g===c?!0:null:!1;Faa(a.choices,function(h,l){var q=b[h.hotlistId],v=b[l.hotlistId];return q>v?-1:q<v?1:eq(h.name,l.name)})}}};w_.prototype.open=function(){this.trigger.openMenu();this.cdr.detectChanges()};w_.prototype.close=function(){this.trigger.closeMenu()};
w_.prototype.hasAclToEdit=function(a){var b=this;if(Oca(this.hotlistEditAcls,a.hotlistId))return this.hotlistEditAcls[a.hotlistId];MG(this.userAccess,"appender","hotlists/"+a.hotlistId).then(function(c){b.hotlistEditAcls[a.hotlistId]=c})};
var h7a=function(a,b){if(!a.checkEditAcl)return!1;a=a.hasAclToEdit(b);return void 0===a?!0:!a},Np=function(a,b){var c=a.selectedHotlistMap[b.hotlistId];a.selectedHotlistMap[b.hotlistId]=null===c?!0:!c;o7a(a);a.close()},o7a=function(a){a.onApply.emit({oldSelectionMap:a.oldSelectedHotlistMap,newSelectionMap:a.selectedHotlistMap})},$Mc=function(a){for(var b=a.filterText,c=!1,d=k(a.choices),e=d.next();!e.done;e=d.next())e=e.value,a.shouldShowHotlist[e.hotlistId]=na(e.name,b),e.name===b&&(c=!0);a.canCreate=
!(!b||c);a.canLoad=!/[^0-9]/.test(fi(b))&&!!b&&!!a.onLoad},YMc=function(a){a.trigger.menuOpen||(ZMc(a),a.filterText="",$Mc(a),a.pendingChanges=!1,a.focusedRowIndex=-1)},aNc=function(a){var b=a.selectedHotlistIds;return b&&1===b.length?"Hotlists ("+vaa(b[0],function(c){return a.validHotlistIds.has(c)})+")":"Hotlists"};
w_.prototype.createHotlist=function(){var a=this,b=this.filterText;this.canCreate&&(this.filterText="",$Mc(this),this.onCreate.emit({name:b,successCallback:function(c){Np(a,c)},errorCallback:function(){ZG(a.butterBar,"Failed to create hotlist "+b)}}))};
w_.prototype.loadHotlist=function(){var a=this,b=this.filterText;if(this.canLoad){this.analytics.trackEvent("hotlistPicker","loadHotlist");YG(this.butterBar,"Loading hotlist "+b.toString());this.filterText="";$Mc(this);for(var c=bi(b),d=k(this.choices),e=d.next();!e.done;e=d.next())if(e=e.value,c===e.hotlistId){Np(this,e);return}this.onLoad.emit({hotlistId:c,successCallback:function(g){Np(a,g)},errorCallback:function(){ZG(a.butterBar,"Failed to load hotlist "+b)}})}};
var i7a=function(a,b){h7a(a,b)||(a.selectedHotlistMap[b.hotlistId]=!a.selectedHotlistMap[b.hotlistId],a.focusFilterBox(),a.pendingChanges=!Xh(a.oldSelectedHotlistMap,a.selectedHotlistMap))},hNc=function(a,b){b=void 0===b?0:b;var c=bNc(a).filter(function(e,g){return g>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=xaa(bNc(a),b),cNc(a),dNc(a,b)):a.focusedRowIndex<d&&a.canCreate?eNc(a,d):a.focusedRowIndex<
d+1&&a.canLoad?fNc(a,d):a.focusedRowIndex<d+2&&a.pendingChanges&&gNc(a,d)},bNc=function(a){return a.menuItems.map(function(b){return b.nativeElement})},iNc=function(a,b){b=void 0===b?0:b;if(a.focusedRowIndex===a.choices.length+1&&a.canCreate)eNc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canLoad)fNc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canCreate)eNc(a,a.choices.length);else{var c=bNc(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=xaa(bNc(a),b),cNc(a),dNc(a,b)):(a.focusedRowIndex=-1,dNc(a,null))}},dNc=function(a,b){a.filterElement&&eN(a.filterElement.nativeElement,b);a.focusFilterBox()},eNc=function(a,b){a.focusedRowIndex=b;eN(a.filterElement.nativeElement,null);var c;null==(c=a.createElement)||c.focus();a.liveAnnouncer.announce("Create new hotlist "+a.filterText);a.focusFilterBox()},fNc=function(a,b){a.focusedRowIndex=b+1;eN(a.filterElement.nativeElement,null);
var c;null==(c=a.loadElement)||c.focus();a.liveAnnouncer.announce("Load hotlist "+a.filterText);a.focusFilterBox()},gNc=function(a,b){a.focusedRowIndex=b+2;eN(a.filterElement.nativeElement,null);var c;null==(c=a.applyElement)||c.focus();a.liveAnnouncer.announce("Apply");a.focusFilterBox()},cNc=function(a){-1===a.focusedRowIndex||a.focusedRowIndex>=a.choices.length||(a=bNc(a)[a.focusedRowIndex],a.scrollIntoViewIfNeeded?a.scrollIntoViewIfNeeded():a.scrollIntoView({block:"end"}))},j7a=function(a){return null==
a?"mixed":a.toString()},k7a=function(a){return null==a?"indeterminate":a?"checked":"unchecked"};w_.\u0275fac=function(a){return new (a||w_)(B(mz),B(XG),B(LG),B(EI),B(Bs),B(AI,2))};
w_.\u0275cmp=Oc({type:w_,selectors:[["b-hotlist-picker"]],viewQuery:function(a,b){a&1&&(bg(cD,5),bg(TMc,5),bg(UMc,5),bg(VMc,5),bg(WMc,5),bg(XMc,5));if(a&2){var c;ag(c=dg())&&(b.trigger=c.first);ag(c=dg())&&(b.filterElement=c.first);ag(c=dg())&&(b.createElement=c.first);ag(c=dg())&&(b.applyElement=c.first);ag(c=dg())&&(b.loadElement=c.first);ag(c=dg())&&(b.menuItems=c)}},inputs:{selectedHotlistIds:"selectedHotlistIds",choices:"choices",checkEditAcl:"checkEditAcl"},outputs:{onCreate:"onCreate",onApply:"onApply",
onLoad:"onLoad"},features:[Of([AI]),kf,gd],decls:13,vars:4,consts:[["mat-button","","id","hotlist-picker-button","aria-describedby","hotlist-picker-label-text",1,"gmat-button","medium","primary",3,"matMenuTriggerFor","disabled"],["id","hotlist-picker-label-text"],["name","arrow-dropdown","size","small"],["hotlistMenu","matMenu"],[1,"menu"],[1,"menu-control"],[1,"hotlist-filter"],["mat-input","","type","text","id","hotlist-filter-input","maxlength","255","role","combobox","aria-autocomplete","list",
"aria-expanded","true","placeholder","Type to filter your starred hotlists","autocomplete","off",3,"ngModel","ngModelChange","mousedown","blur","click","keydown"],["hotlistFilterInput",""],["matMenuContent",""],["role","listbox",1,"multi-edit-scrollarea"],["hotlistChoices",""],["class","multi-edit-menuitem","role","option",3,"display","focused","title","click",4,"ngFor","ngForOf"],["mat-menu-item","","matTooltip","Type a new name to create a hotlist","matTooltipPosition","right","title","Type a new hotlist name above and then click here to create a new hotlist.",
1,"hotlist-create",3,"disabled","click","keydown.enter"],["hotlistCreate",""],[4,"ngIf"],["mat-menu-item","","matTooltip","Type a hotlist id number to load a hotlist by id.","matTooltipPosition","right",3,"focused","click","keydown.enter",4,"ngIf"],["mat-menu-item","","class","hotlist-apply","id","hotlist-apply","aria-label","apply",3,"focused","click","keydown.enter",4,"ngIf"],["role","option",1,"multi-edit-menuitem",3,"title","click"],["menuitem",""],["role","checkbox",3,"state","disabled","click"],
["mat-menu-item","","matTooltip","Type a hotlist id number to load a hotlist by id.","matTooltipPosition","right",3,"click","keydown.enter"],["hotlistLoad",""],["mat-menu-item","","id","hotlist-apply","aria-label","apply",1,"hotlist-apply",3,"click","keydown.enter"],["hotlistApply",""]],template:function(a,b){a&1&&(F(0,"button",0)(1,"span",1),P(2),H(),I(3,"b-icon",2),H(),F(4,"mat-menu",null,3)(6,"div",4)(7,"div",5)(8,"div",6)(9,"input",7,8),L("ngModelChange",function(d){return b.filterText=d})("ngModelChange",
function(){return $Mc(b)})("mousedown",function(d){return d.stopPropagation()})("blur",function(){return YMc(b)})("click",function(d){return d.stopPropagation()})("keydown",function(d){d.stopImmediatePropagation();"Escape"===d.key?b.close():"ArrowDown"===d.key?(hNc(b),d.preventDefault()):"ArrowUp"===d.key?(iNc(b),d.preventDefault()):"PageUp"===d.key?iNc(b,11):"PageDown"===d.key?hNc(b,11):" "===d.key?-1===b.focusedRowIndex||b.focusedRowIndex>=b.choices.length||(i7a(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(),o7a(b)):0<=b.focusedRowIndex&&b.focusedRowIndex<b.choices.length&&b.hasAclToEdit(b.choices[b.focusedRowIndex])&&Np(b,b.choices[b.focusedRowIndex]))}),H()()(),I(11,"mat-divider"),O(12,q7a,11,8,"ng-template",9),H()());if(a&2){var c=Kf(5);E("matMenuTriggerFor",c)("disabled",b.isAnonymous);z(2);Mf(aNc(b));z(7);E("ngModel",b.filterText)}},
dependencies:[Qw,Rw,dD,bD,cD,aD,QA,wg,tx,Mx,Ax,sA,lD,XM,dO],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 x_=function(a){this.dialogRef=a;this.reporter="";this.autocompleteActive=!1};x_.prototype.enableSubmit=function(){return""!==this.reporter};x_.prototype.cancel=function(){this.dialogRef.close()};x_.prototype.save=function(){this.dialogRef.close(this.reporter)};x_.\u0275fac=function(a){return new (a||x_)(B(bB))};
x_.\u0275cmp=Oc({type:x_,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&&(F(0,"h1",0),P(1,"Change Reporter"),H(),F(2,"mat-dialog-content")(3,"mat-form-field")(4,"mat-label"),P(5," Reporter "),H(),F(6,"input",1),L("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()}),H()()(),F(7,"mat-dialog-actions")(8,"button",2),L("click",function(){return b.cancel()}),P(9," Cancel "),H(),F(10,"button",3),L("click",function(){return b.save()}),P(11," Save "),H()());a&2&&(z(6),E("bContactAutocomplete","SINGLE")("ngModel",b.reporter),z(4),E("disabled",!b.enableSubmit()))},dependencies:[wg,
tx,Ax,QA,gB,hB,iB,uB,sB,xB,YS],encapsulation:2});var jNc=["addCommentDialog"],y_=function(a,b,c,d,e,g,h,l,q,v,x,A){rF.call(this);var G=this;this.componentFridge=a;this.cdr=b;this.activeSession=c;this.analytics=d;this.hotkeys=e;this.componentActions=g;this.issueTypeDialog=h;this.copyIssueIdService=l;this.matDialog=q;this.$log=v;this.issuePicker=x;this.userPreferencesManager=A;this.currentUserEmail=this.activeSession.getUserEmail();this.uniqueComponentIds$=new D.Subject;this.effortSpec$=this.uniqueComponentIds$.pipe($e(function(M){return G.componentFridge.watchSet(M)}),
C(function(M){return G.getCommonEffortSpec(M)}),Xe({bufferSize:1,refCount:!0}));this.enableBulkEstimatedEffortOption$=this.effortSpec$.pipe(C(function(M){return void 0!==M}));this.hotlistIdMatrix=[];this.hotlistChoices=[];this.onSave=new kw;this.onCreateHotlist=new kw;this.onLoadHotlist=new kw;this.externalWarnings=[];this.enableRecaptcha=pF(this.activeSession,"enableRecaptcha")&&pF(this.activeSession,"enableBulkEditCaptchaUi");this.recaptchaResponse="";this.controllerName="baseControls"};T(y_,rF);
var kNc=function(a){var b=new qK,c;b.formattingMode=Ik(null==(c=WJ(a.userPreferencesManager).textDisplayPreferences)?void 0:c.lastPublishMode);return b};y_.prototype.hasSelectedIssues=function(){return 0<this.getSelectedIssues().length};var lNc=function(a){return a.getSelectedIssues().some(function(b){return!b.isRead})},r7a=function(a){return lNc(a)?"Mark as read":"Mark as unread"},Op=function(a){return a.getSelectedIssues().map(function(b){return b.issueId})};
y_.prototype.onSelectionChange=function(){for(var a=this.getSelectedIssues(),b=k(a),c=b.next();!c.done;c=b.next()){var d=void 0;null!=(d=c.value).hotlistId||(d.hotlistId=[])}this.hotlistIdMatrix=a.map(function(e){return e.hotlistId});this.cdr.detectChanges();a=mNc(a);this.uniqueComponentIds$.next(a)};
var mNc=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b.includes(c.componentId)||b.push(c.componentId);return b},nNc=function(a){if(!D9b(a.activeSession)){a.externalWarnings=[];var b=new Set(a.getSelectedIssues().map(function(e){return e.componentId}));b=k(b);for(var c=b.next(),d={};!c.done;d={$jscomp$loop$prop$id$2363:d.$jscomp$loop$prop$id$2363},c=b.next())d.$jscomp$loop$prop$id$2363=c.value,a.componentActions.get(d.$jscomp$loop$prop$id$2363).then(function(e){if(a.activeSession.isInternalSession()&&
Lp(e)||C9b(a.activeSession)&&Mp(e)){var g,h=a7a(null==(g=e.componentPathInfo)?void 0:g.componentPathName,e.componentId);a.externalWarnings.push({path:h,accessLevel:e.accessLimit.accessLevel});a.cdr.detectChanges()}}).catch(function(e){return function(){a.$log.warn("Could not retrieve component "+e.$jscomp$loop$prop$id$2363+".")}}(d))}};f=y_.prototype;
f.getCommonEffortSpec=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;if(!b.effortSpec)return;b=b.effortSpec;var c=b.id;if(!d){var d=c;var e=b}else if(d!==c)return}return e};
f.bulkEdit=function(a){switch(a){case "ASSIGNEE":z_(this,null,0);break;case "COMPONENT":oNc(this);break;case "VERIFIER":z_(this,null,1);break;case "REPORTER":pNc(this);break;case "CHANGELIST":qNc(this,"changelists","Changelists",!0);break;case "CUSTOM_FIELDS":rNc(this);break;case "FOUND_IN":qNc(this,"foundInVersion","Found In");break;case "VERIFIED_IN":qNc(this,"verifiedInVersion","Verified In");break;case "TARGETED_TO":qNc(this,"targetedToVersion","Targeted To");break;case "COMMENT":sNc(this);break;
case "SLO_START_TIME":tNc(this);break;case "ESTIMATED_EFFORT":uNc(this);break;case "CC":qNc(this,"ccs","CCs");break;default:this.$log.error("unsupported bulk edit field: "+a)}};
f.quickBulkEdit=function(a){switch(a.field){case "PRIORITY":(a=a.newValue)&&A_(this,"priority",a);break;case "SEVERITY":(a=a.newValue)&&A_(this,"severity",a);break;case "STATUS":(a=a.newValue)&&z_(this,Bl[a],"DUPLICATE"===a?3:void 0);break;case "TYPE":(a=a.newValue)&&A_(this,"type",a);break;case "IS_ARCHIVED":A_(this,"isArchived",""+a.newValue);break;case "IN_PROD":A_(this,"inProd",""+a.newValue);break;case "CC":A_(this,"ccs",this.currentUserEmail,a.newValue?"ADD":"REMOVE");break;default:this.$log.error("unsupported bulk edit field: "+
a.field)}};
f.bulkEditIssueRelation=function(a){switch(a.issueRelation){case "BLOCKED_BY":a.isMarking?B_(this,{actionType:"ADD",fieldName:"blockedByIssueId",title:"Mark all selected issues as blocked by:",edgeType:"blocker"}):B_(this,{actionType:"REMOVE",fieldName:"blockedByIssueId",title:"Unmark all selected issues as blocked by:",edgeType:"un-blocker"});break;case "BLOCKING":a.isMarking?B_(this,{actionType:"ADD",fieldName:"blockingIssueId",title:"Mark all selected issues as blocking:",edgeType:"blocking"}):B_(this,
{actionType:"REMOVE",fieldName:"blockingIssueId",title:"Unmark all selected issues as blocking:",edgeType:"un-blocking"});break;case "PARENT":a.isMarking?B_(this,{actionType:"ADD",fieldName:"parentId",title:"Mark all selected issues as children of:",edgeType:"child"}):B_(this,{actionType:"REMOVE",fieldName:"parentId",title:"Unlink all selected issues from this parent:",edgeType:"un-parent"});break;case "DUPLICATE":z_(this,Bl.DUPLICATE,3);break;default:this.$log.error("unsupported issue relation: "+
a.issueRelation)}};f.bulkMarkIssueRead=function(){var a=lNc(this);A_(this,"readState",a?"true":"")};
var A_=function(a,b,c,d){var e={fieldName:b,value:c};void 0!==d&&(e.actionType=d);var g=Op(a),h=[e];"deletionReason"===b&&h.push({fieldName:"isDeleted",value:"true"});d=function(){var l={bulkEditOps:[{issueIds:g,actions:h}]};a.enableRecaptcha&&""!==a.recaptchaResponse&&(l.recaptchaToken=a.recaptchaResponse);a.onSave.emit(l)};"type"!==b||"VULNERABILITY"!==c&&"PRIVACY_ISSUE"!==c?d():("VULNERABILITY"===c&&jgc(a.issueTypeDialog,"VULNERABILITY",d,function(){}),"PRIVACY_ISSUE"===c&&jgc(a.issueTypeDialog,
"PRIVACY_ISSUE",d,function(){}))},z_=function(a,b,c){a.hasSelectedIssues()&&(nNc(a),a.stateModal.showDialog(a.getSelectedIssues(),b,c))},vNc=function(a){var b=a.onSave,c=b.emit,d=Op(a),e=a.stateModal.issueEditBuilder,g=[];e.issueState||J6a(e);e=k(Y6a(e));for(var h=e.next();!h.done;h=e.next()){var l=k(h.value);h=l.next().value;l=l.next().value;void 0!==l&&g.push({fieldName:h,value:l})}c.call(b,{bulkEditOps:[{issueIds:d,actions:g}],recaptchaToken:a.stateModal.issueEditBuilder.recaptchaResponse})},pNc=
function(a){a.hasSelectedIssues()&&(nNc(a),$A(a.matDialog.open(x_,{width:"400px"})).pipe(af(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&A_(a,"reporter",b)}),a.hotkeys.pause())},qNc=function(a,b,c,d){d=void 0===d?!1:d;a.hasSelectedIssues()&&($A(a.matDialog.open(v_,{width:"400px",data:{fieldDisplayName:c}})).pipe(af(a.destroyed$)).subscribe(function(e){a.hotkeys.unpause();e&&wNc(a,b,e.addItems,e.removeItems,d)}),a.hotkeys.pause())},tNc=function(a){a.hasSelectedIssues()&&($A(a.matDialog.open(t_,
{width:"330px",data:{fieldDisplayName:"SLO Start Time"}})).pipe(af(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:Op(a),actions:c}]})}}),a.hotkeys.pause())},uNc=function(a){var b=on(a.effortSpec$);a.hasSelectedIssues()&&void 0!==b&&($A(a.matDialog.open(u_,{width:"400px",data:{fieldDisplayName:"Estimated Effort",effortSpec:b}})).pipe(af(a.destroyed$)).subscribe(function(c){a.hotkeys.unpause();
if(c){var d=[];d.push({fieldName:"effortEstimate",value:c.estimate});a.onSave.emit({bulkEditOps:[{issueIds:Op(a),actions:d}]})}}),a.hotkeys.pause())},wNc=function(a,b,c,d,e){e=void 0===e?!1:e;c=Lk(c);d=Lk(d);var g=[],h=!["foundInVersion","targetedToVersion","verifiedInVersion"].includes(b),l=function(q){return rqa(q,h).map(function(v){return v.trim()})};Mk(c)||(c=l(c),e&&(c=c.filter(function(q){return!isNaN(q)})),g.push.apply(g,cd(c.map(function(q){return{fieldName:b,value:q,actionType:"ADD"}}))));
Mk(d)||(d=l(d),g.push.apply(g,cd(d.map(function(q){return{fieldName:b,value:q,actionType:"REMOVE"}}))));g.length&&a.onSave.emit({bulkEditOps:[{issueIds:Op(a),actions:g}]})},oNc=function(a){a.hasSelectedIssues()&&($A(a.matDialog.open(r_,{width:"600px",position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(af(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.onSave.emit({bulkEditOps:[{issueIds:Op(a),actions:[{fieldName:"componentId",value:String(b.componentId)}]}]}),
a.analytics.trackEvent(a.controllerName,"bulkMove"))}),a.hotkeys.pause())},xNc=function(a){a.hasSelectedIssues()&&($A(a.matDialog.open(q_,{width:"600px",data:{issuesToFlag:a.getSelectedIssues()}})).pipe(af(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.analytics.trackEvent(a.controllerName,"bulkFlagAsSpam"),A_(a,"deletionReason","ABUSE"))}),a.hotkeys.pause())},sNc=function(a){a.hasSelectedIssues()&&a.addCommentDialog&&(a.comment||(a.comment=kNc(a)),a.addCommentDialogRef=a.matDialog.open(a.addCommentDialog,
{panelClass:"no-jitter",minWidth:512,maxWidth:512}),$A(a.addCommentDialogRef).pipe(af(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();a.comment&&(b&&Ygc(a.comment)&&A_(a,"comment",a.comment.value),a.comment.reset())}),a.hotkeys.pause(),nNc(a))},y7a=function(a){var b;null==(b=a.addCommentDialogRef)||b.close(!0)},rNc=function(a){a.hasSelectedIssues()&&$A(a.matDialog.open(FY,{data:a.getSelectedIssues(),width:"500px"})).pipe(af(a.destroyed$)).subscribe(function(b){b&&(a.onSave.emit({bulkEditOps:b}),
a.analytics.trackEvent(a.controllerName,"bulkCustomField"))})};
y_.prototype.handleHotlistPickerSave=function(a){var b=a.oldSelectionMap,c=[],d=[],e=0;Object.entries(a.newSelectionMap).forEach(function(g){var h=k(g);g=h.next().value;h=h.next().value;h!==b[g]&&(h?c.push(g):d.push(g),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:Op(this),actions:a}]}),this.analytics.trackEvent(this.controllerName,
"applyHotlists","numHotlists",e))};var B_=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:Op(a),actions:[{fieldName:d,value:e,actionType:c}]}]}))});a.hotkeys.pause()};y_.\u0275fac=function(a){return new (a||y_)(B(AG),B(AI),B(Bs),B(EI),B(fN),B(kV),B(RJ),B(eZ),B(eB),B($G),B(kQ),B(VJ))};
y_.\u0275dir=Sc({type:y_,viewQuery:function(a,b){a&1&&(bg(jNc,5),bg(w_,5),bg(p_,5));if(a&2){var c;ag(c=dg())&&(b.addCommentDialog=c.first);ag(c=dg())&&(b.hotlistPicker=c.first);ag(c=dg())&&(b.stateModal=c.first)}},inputs:{hotlistChoices:"hotlistChoices"},outputs:{onSave:"onSave",onCreateHotlist:"onCreateHotlist",onLoadHotlist:"onLoadHotlist"},features:[kf]});var C_=function(){};C_.\u0275fac=function(a){return new (a||C_)};C_.\u0275mod=Qc({type:C_});C_.\u0275inj=zc({providers:[{provide:NKc,useFactory:function(){return new KKc}}]});var D_=function(){};D_.\u0275fac=function(a){return new (a||D_)};D_.\u0275mod=Qc({type:D_});D_.\u0275inj=zc({imports:[ex,C_]});var E_=function(){};E_.\u0275fac=function(a){return new (a||E_)};E_.\u0275mod=Qc({type:E_});E_.\u0275inj=zc({providers:[{provide:MKc,useFactory:TZ}],imports:[OG,ED,fE,D_,KK]});var F_=function(){};F_.\u0275fac=function(a){return new (a||F_)};F_.\u0275mod=Qc({type:F_});F_.\u0275inj=zc({imports:[OG,ED,fE]});var G_=function(){};G_.\u0275fac=function(a){return new (a||G_)};G_.\u0275mod=Qc({type:G_});G_.\u0275inj=zc({imports:[OG,UU,zO,fE,FT,JP,E_,ED,F_]});var H_=function(){};H_.\u0275fac=function(a){return new (a||H_)};H_.\u0275mod=Qc({type:H_});H_.\u0275inj=zc({});var I_=function(){};I_.\u0275fac=function(a){return new (a||I_)};I_.\u0275mod=Qc({type:I_});I_.\u0275inj=zc({imports:[OG,jB,RP,Px,ED,zO,eD,ZS,G_,H_]});var J_=function(){};J_.\u0275fac=function(a){return new (a||J_)};J_.\u0275mod=Qc({type:J_});J_.\u0275inj=zc({imports:[OG,eD,ED,yB,Px,vA,fE,kU,nU,zO]});var K_=function(a,b,c,d,e,g,h,l,q,v,x,A){y_.call(this,a,b,c,d,e,g,h,l,q,v,x,A);this.panels=[];this.isNonPublicSession=this.activeSession.isNonPublicSession();this.enableBulkEditUi=pF(this.activeSession,"enableBulkEditUi");this.controllerName="dashboardControls";this.onSelectionChange.bind(this);this.getCommonEffortSpec.bind(this)};T(K_,y_);K_.\u0275dir=y_.\u0275dir;K_.prototype.ngOnChanges=function(a){if(a.panels)this.onSelectionChange()};
K_.prototype.getSelectedIssues=function(){var a=this.panels.flatMap(function(b){return b.selectedIssues});Daa(a,null,function(b){return b.issueId.toString()});return a};K_.\u0275fac=function(a){return new (a||K_)(B(AG),B(AI,2),B(Bs),B(EI),B(fN),B(kV),B(RJ),B(eZ),B(eB),B($G),B(kQ),B(VJ))};
K_.\u0275cmp=Oc({type:K_,selectors:[["b-dashboard-controls"]],inputs:{panels:"panels"},features:[Of([AI]),kf,gd],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"],["class","bv2-external-component-modal-warning",4,"ngIf"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium","primary",3,"disabled","mat-dialog-close"],[3,"comment","showToolbar","commentChange","onSubmit"],[1,"bv2-external-component-modal-warning"],[4,"ngFor","ngForOf"],[3,"accessLevel"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,
b){a&1&&(O(0,s7a,2,4,"b-app-bar-bulk-edit-menus",0),O(1,w7a,1,2,"b-copy-issue-id-button",1),O(2,x7a,2,2,"div",2),F(3,"b-app-bar-more-menu",3),L("flagAsSpamClicked",function(){return xNc(b)}),H(),F(4,"b-state-modal",4),L("save",function(){return vNc(b)})("close",function(){return b.hotkeys.unpause()}),H(),O(5,D7a,11,6,"ng-template",null,5,gg));a&2&&(E("ngIf",b.hasSelectedIssues()),z(1),E("ngIf",b.hasSelectedIssues()),z(1),E("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),z(1),E("showFlagIssuesAsSpam",
b.isNonPublicSession&&b.hasSelectedIssues()),z(1),E("externalWarnings",b.externalWarnings))},dependencies:[$W,ZW,o_,Qw,Rw,MP,bZ,w_,QA,fB,gB,hB,iB,p_,cT,Xw],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var L_=function(){};L_.\u0275fac=function(a){return new (a||L_)};L_.\u0275mod=Qc({type:L_});L_.\u0275inj=zc({imports:[bX,FT,G_,OG,RP,dZ,J_,zO,ED,jB,I_,H_]});var yNc=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)},zNc=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)},ANc=function(a,b){this.dirty=!1;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=pi(c.assigneeUser)||"";this.verifier=pi(c.verifierUser)||"";this.collaborators=ni(c.collaboratorsUsers)||[];this.cc=ni(c.ccUsers)||[];this.title=
c.title||"";this.comment=c.comment||"";this.formattingMode=c.formattingMode?c.formattingMode:"PLAIN";this.hotlistId=c.hotlistId||[];this.inProd=c.inProd||!1;this.issueAccessLimitLevel=c.issueAccessLimitLevel||"LIMIT_NONE";this.customFieldValues=Object.create(null);a=k(c.customField||[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.customFieldValues[b.customFieldId.toString()]=new ii(b);a=k(Object.entries(this.customFields));for(b=a.next();!b.done;b=a.next())c=k(b.value),b=c.next().value,c=c.next().value,
b=Number(b),this.customFieldValues[b]||(this.customFieldValues[b]=null!=c.typedDefaultValue?new ii(c.typedDefaultValue):new ii({customFieldId:b}))},CNc=function(a,b){b.name=a.name;b.description=a.description;var c=b.snapshot||{};c.componentId=a.componentId;BNc(a.type)?delete c.type:c.type=a.type;BNc(a.priority)?delete c.priority:c.priority=a.priority;BNc(a.severity)?delete c.severity:c.severity=a.severity;c.assigneeUser=ti(a.assignee);c.verifierUser=ti(a.verifier);c.collaboratorsUsers=a.collaborators.map(function(g){return ti(g)});
c.ccUsers=a.cc.map(function(g){return ti(g)});c.comment=a.comment;c.formattingMode=a.formattingMode;c.title=a.title;c.hotlistId=a.hotlistId;c.inProd=a.inProd;c.customField=[];c.issueAccessLimitLevel=a.issueAccessLimitLevel;for(var d=k(Object.keys(a.customFields)),e=d.next();!e.done;e=d.next())(e=a.customFieldValues[e.value])&&!e.isEmpty()&&c.customField.push(e);b.snapshot=c};
ANc.prototype.setCustomField=function(a,b){a=String(a);if(this.customFieldValues[a]){var c=this.customFields[a].type;if(!c)return;switch(c){case "UNKNOWN":break;case "TEXT":this.customFieldValues[a].textValue=b;break;case "DATE":this.customFieldValues[a].dateValue=b;break;case "ENUM":this.customFieldValues[a].enumValue=b;break;case "NUMERIC":this.customFieldValues[a].numericValue=b;break;case "REPEATED_TEXT":this.customFieldValues[a].repeatedTextValue={values:b||[]};break;case "REPEATED_DATE":this.customFieldValues[a].repeatedDateValue=
{values:b||[]};break;case "REPEATED_ENUM":this.customFieldValues[a].repeatedEnumValue={values:b||[]};break;case "REPEATED_NUMERIC":this.customFieldValues[a].repeatedNumericValue={values:b||[]};break;default:Ch(c,"Unexpected custom field type: "+c)}}this.dirty=!0};ANc.prototype.isDirty=function(){return this.dirty};ANc.prototype.setFormattingMode=function(a){this.formattingMode=a;this.dirty=!0};ANc.prototype.onAccessLimitLevelSelected=function(a){this.issueAccessLimitLevel=a;this.dirty=!0};
var BNc=function(a){return Mk(a)||"--"===a},f8a=function(a,b){a.collaborators=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},g8a=function(a,b){a.cc=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},DNc={value:"--",displayText:"--"};var ENc=new BB("M/d/yyyy"),M_=function(a){this.dateFormatter=a;this.boundValueChange=new kw;this.textValue="";this.ariaLabelledBy=this.inputId=void 0;this.isRequired=!1};M_.prototype.ngOnInit=function(){if(this.boundValue){if(this.boundValue)if("string"===typeof this.boundValue)var a=ci(this.boundValue);else{var b;a=null!=(b=Vh(this.boundValue))?b:void 0}else a=void 0;this.googDate=a;this.change(this.googDate,!0)}};
M_.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=ENc.format(a);else{var d;a=null!=(d=tqa(ENc.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):""}};M_.\u0275fac=function(a){return new (a||M_)(B(dK))};
M_.\u0275cmp=Oc({type:M_,selectors:[["bv2-input-date-picker"]],inputs:{boundValue:"boundValue",inputId:["bv2Id","inputId"],ariaLabelledBy:["bv2AriaLabelledby","ariaLabelledBy"],isRequired:"isRequired"},outputs:{boundValueChange:"boundValueChange"},decls:1,vars:4,consts:[[3,"required","value","customFormId","customAriaLabelledBy","valueChange"]],template:function(a,b){a&1&&(F(0,"b-date-time-input",0),L("valueChange",function(c){return b.change(c)}),H());a&2&&E("required",b.isRequired)("value",b.googDate)("customFormId",
b.inputId)("customAriaLabelledBy",b.ariaLabelledBy)},dependencies:[yY],encapsulation:2});var Pp={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"},FNc={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"},E7a=[Pp,{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"},FNc];var N_=function(){rF.apply(this,arguments);var a=this;this.defaultAccessLimitLevel$=new D.ReplaySubject(1);this.disabled=!0;this.implicitAccessEnabled=!1;this.updatedAccessLimitLevel=new kw;this.selectedDisplay$=new D.BehaviorSubject(null);this.displays=E7a;this.disabledDropdownTooltip="Only users with Issue Admin permission can adjust restriction levels.";this.currentIssueAccessLimitLevelDisplay$=(0,D.combineLatest)([this.selectedDisplay$,this.defaultAccessLimitLevel$]).pipe(C(function(b){b=k(b);
var c=b.next().value;b=b.next().value;if(c)return c;c=k(a.displays);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.accessLevel===b)return d;return Pp}));this.issueAccessLimitLevelDisplayTitle$=this.currentIssueAccessLimitLevelDisplay$.pipe(C(function(b){return b.title}))};T(N_,rF);N_.\u0275dir=rF.\u0275dir;sh.Object.defineProperties(N_.prototype,{defaultAccessLimitLevel:{configurable:!0,enumerable:!0,set:function(a){this.defaultAccessLimitLevel$.next(a)}}});
N_.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(N_)))(b||N_)}}();
N_.\u0275cmp=Oc({type:N_,selectors:[["b-issue-access-limits-dropdown"]],inputs:{defaultAccessLimitLevel:"defaultAccessLimitLevel",disabled:"disabled",implicitAccessEnabled:"implicitAccessEnabled"},outputs:{updatedAccessLimitLevel:"updatedAccessLimitLevel"},features:[kf],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&&(F(0,"div",0)(1,"button",1),R(2,"async"),F(3,"span",2),I(4,"mat-icon",3),F(5,"span",4),P(6),R(7,"async"),H()(),I(8,"mat-icon",5),H(),O(9,G7a,1,1,"mat-icon",6),F(10,"mat-menu",7,8),O(12,H7a,7,3,"button",9),H()());if(a&2){var c=Kf(11),d;z(1);E("matMenuTriggerFor",
c)("disabled",b.disabled);of("aria-label","Issue Access level, "+(null!==(d=null==(d=S(2,6,b.selectedDisplay$))?null:d.title)&&void 0!==d?d:"Default access"));z(5);Lf(" ",S(7,8,b.issueAccessLimitLevelDisplayTitle$)," ");z(3);E("ngIf",b.disabled);z(3);E("ngForOf",b.displays)}},dependencies:[Qw,Rw,HB,QA,dD,bD,cD,lD,Xw],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 .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-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 GNc=["saveBeforeClosingDialog"],HNc=["deleteDialog"],$7a=function(){return[]},O_=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M){rF.call(this);this.matDialogService=a;this.cdr=b;this.userApi=c;this.templatesApi=d;this.hotlistApi=e;this.constants=g;this.paths=h;this.butterBar=l;this.analytics=q;this.issueTypeDialog=v;this.componentActions=x;this.documentationLinks=A;this.appEvents=G;this.accessPolicyApi=M;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=NJc;this.customFieldIds=Object.create(null);this.issueTypeChoices=INc(this);this.priorityChoices=JNc(this);this.severityChoices=KNc(this)};T(O_,rF);O_.\u0275dir=rF.\u0275dir;f=O_.prototype;
f.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(){LNc(a);
a.cdr.detectChanges()})};f.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)});Faa(this.selectedHotlists,function(c,d){return eq(c.name,d.name)})};f.removeHotlist=function(a){ra(this.templateHotlistIds[this.hotlistPickerIndex],a);this.currentTemplate.dirty=!0;this.updateSelectedHotlists()};
f.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent("editTemplate","createHotlist");YG(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){YG(b.butterBar,"Hotlist "+c+" created successfully.");b.addHotlist(e);b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
f.handleHotlistPickerSave=function(a){var b=this,c=a.oldSelectionMap;$b(a.newSelectionMap,function(d,e){e=bi(e);if(d!==c[e]){b.currentTemplate.dirty=!0;var g=b.selectedHotlistIds[0].includes(e);d&&!g?(d=b.templateHotlistIds[b.hotlistPickerIndex],qa(d,e)||d.push(e)):!d&&g&&ra(b.templateHotlistIds[b.hotlistPickerIndex],e)}},this);this.updateSelectedHotlists()};
f.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)};f.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);a.cdr.detectChanges()})};f.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&ra(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};
var INc=function(a){var b=a.constants.editIssueTypes.map(function(c){return{value:c,displayText:wua(c),altText:a.constants.issueTypesShortDescriptions.get(c)}});return[DNc].concat(b)};O_.prototype.getDateValue=function(a){return a};O_.prototype.getListFieldType=function(a){return a};
var c8a=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},S7a=function(a){"VULNERABILITY"===a.currentTemplateRow.issueType||"PRIVACY_ISSUE"===a.currentTemplateRow.issueType?jgc(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)},JNc=function(a){return[DNc].concat(a.constants.priorities.map(function(b){return{value:b,displayText:b}}))},KNc=function(a){return[DNc].concat(a.constants.severities.map(function(b){return{value:b,displayText:b}}))};O_.prototype.setCustomField=function(a,b,c){a.editableTemplate.setCustomField(b,null!==c?c:void 0)};
var i8a=function(a){a.currentTemplate=null;a.currentTemplateRow=null;a.currentIndex=-1;MNc(a)},L7a=function(a,b){var c=a.currentIndex;NNc(a,function(){b.index===c?i8a(a):a.openEditor(b.index)})},ONc=function(a){a.templateHotlistIds.push([]);NNc(a,function(){a.openEditor()})},N7a=function(a,b){return 0<=b.index&&b.index===a.currentIndex},h8a=function(a){if(!a.currentTemplate)return Promise.resolve();if(0>a.currentIndex){var b="creating";var c={componentId:a.componentId,default:!1};var d=function(l){YG(a.butterBar,
l.name?'Template "'+l.name+'" created.':"Template created.");a.analytics.trackEvent("template","create");PNc(a,"create",l.snapshot);a.templates.push(l);a.openEditor(a.templates.length-1)}}else{b="updating";var e=a.currentIndex;c=a.templates[e];d=function(l){YG(a.butterBar,l.name?'Template "'+l.name+'" updated.':"Template updated.");a.analytics.trackEvent("template","update");PNc(a,"update",l.snapshot);a.templates[e]=l;i8a(a)}}a.currentTemplate.hotlistId=a.templateHotlistIds[a.hotlistPickerIndex];
CNc(a.currentTemplate,c);YG(a.butterBar,"Saving template...");var g=c.componentId,h=c.templateId;return(h&&"0"!==String(h)?a.templatesApi.update(g,h,c):a.templatesApi.create(g,c)).then(function(l){a.appEvents.templateModified.next(String(a.componentId));d(l);a.cdr.detectChanges()}).catch(function(l){l=am(l);ZG(a.butterBar,l?"Error "+b+" template: "+l:"There was an error "+b+" the template.",0)})},M7a=function(a,b){$A(a.matDialogService.open(a.deleteDialog,{data:b})).pipe(af(a.destroyed$)).subscribe(function(c){c&&
QNc(a,b)})},QNc=function(a,b){var c=b.index;zaa(a.templateHotlistIds,c);b=a.templates[c];0>c||b.default?Promise.resolve():(YG(a.butterBar,"Deleting..."),a.templatesApi.delete(b.componentId,b.templateId).then(function(){a.appEvents.templateModified.next(String(a.componentId));YG(a.butterBar,"Deleted template");a.analytics.trackEvent("template","delete");a.templates.splice(c,1);a.currentIndex===c?i8a(a):MNc(a);a.cdr.detectChanges()}).catch(function(){ZG(a.butterBar,"Error while deleting template")}))},
SNc=function(a,b){b?h8a(a).then(function(){RNc(a);a.cdr.detectChanges()}):RNc(a)},O7a=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};
O_.prototype.openEditor=function(a){var b=this;this.currentIndex=void 0===a?-1:a;if(0>this.currentIndex){this.currentTemplate=TNc(this,{componentId:this.componentId,default:!1,name:"New Template"});this.currentTemplate.dirty=!0;this.updateSelectedHotlists();MNc(this);this.cdr.detectChanges();var c;null==(c=document.getElementById("template-name"))||c.focus()}else UNc(this,this.templates[this.currentIndex]).then(function(d){b.currentTemplate=TNc(b,d);b.hotlistPickerIndex=b.currentIndex;b.updateSelectedHotlists();
MNc(b);b.cdr.detectChanges();var e;null==(e=document.getElementById("template-name"))||e.focus()})};
var UNc=function(a,b){return a.templatesApi.get(b.componentId,b.templateId||0)},NNc=function(a,b){a.currentTemplate&&a.currentTemplate.isDirty()?(a.afterSaveCheckFunc=b,VNc(a)):b()},PNc=function(a,b,c){c&&c.issueAccessLimitLevel&&"LIMIT_NONE"!==c.issueAccessLimitLevel&&a.analytics.trackEvent(ao.ISSUE_ACCESS_LIMITS,b,"template:"+c.issueAccessLimitLevel)},VNc=function(a){$A(a.matDialogService.open(a.saveBeforeClosingDialog,{data:a.currentTemplateRow})).pipe(af(a.destroyed$)).subscribe(function(b){void 0!==
b&&SNc(a,b)})},RNc=function(a){var b=a.afterSaveCheckFunc;a.afterSaveCheckFunc=null;b&&b()},TNc=function(a,b){return new ANc(a.customFieldIds,b)};
O_.prototype.loadCustomFields=function(){var a=this;this.customFieldRows=[];this.customFieldIds={};return this.supportCustomFields?this.componentActions.get(this.componentId).then(function(b){b=k(b.componentPathInfo.allCustomField||[]);for(var c=b.next();!c.done;c=b.next()){c=c.value;if(!c.enabledOnIssues)return;a.customFieldIds[c.customFieldId.toString()]=c;a.customFieldRows.push(new zNc(c,"TEXT"===c.type?"1":"2"))}a.cdr.detectChanges()}).catch(function(){ZG(a.butterBar,"Unable to load custom fields")}):
Promise.resolve()};O_.prototype.loadTemplates=function(){var a=this;this.templates=[];return this.templatesApi.query(this.componentId).then(function(b){a.templates=b;b=k(a.templates);for(var c=b.next();!c.done;c=b.next())c=c.value,c.snapshot.hotlistId?a.templateHotlistIds.push(c.snapshot.hotlistId):a.templateHotlistIds.push([]);a.cdr.detectChanges()}).catch(function(){ZG(a.butterBar,"Unable to load templates")})};
var LNc=function(a){MNc(a);a.defaultIndex=a.templates.findIndex(function(b){return b.default})},MNc=function(a){if(0>a.currentIndex)a.templateRows=a.templates.map(function(e,g){return new yNc(g,e)}),a.currentTemplate&&(a.currentTemplateRow=new yNc(-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,g){return new yNc(g,e)}));a.currentTemplate&&(a.currentTemplateRow=
new yNc(b,a.currentTemplate),c.push(a.currentTemplateRow));d=a.templates.slice(b+1);c=c.concat(d.map(function(e,g){return new yNc(b+g+1,e)}));a.templateRows=c;a.hotlistPickerIndex=a.currentIndex}},WNc=function(a,b,c){return UNc(a,b).then(function(d){c(d);return a.templatesApi.update(d.componentId,d.templateId,d)}).then(function(d){a.appEvents.templateModified.next(String(a.componentId));return d})},K7a=function(a,b){if(a.defaultIndex!==b){a.defaultIndex=b;var c="(no template)";0<=b&&(b=a.templates[b],
c=b.name,Mk(Lk(c))&&(c="(unnamed template)"),b.default||(b=WNc(a,b,function(d){d.default=!0}),YG(a.butterBar,"Changing default template..."),b.then(function(){YG(a.butterBar,"Changed default template to "+c)},function(d){ZG(a.butterBar,"Error while changing default message"+($l(d)?": "+am(d):"."))}),a.analytics.trackEvent("template","changeDefault")))}};O_.\u0275fac=function(a){return new (a||O_)(B(eB),B(AI,2),B(lI),B(Bac),B(cI),B(cK),B(QH),B(XG),B(EI),B(RJ),B(kV),B(OJ),B(eH),B(pH))};
O_.\u0275cmp=Oc({type:O_,selectors:[["b-edit-templates"]],viewQuery:function(a,b){a&1&&(bg(GNc,5),bg(HNc,5));if(a&2){var c;ag(c=dg())&&(b.saveBeforeClosingDialog=c.first);ag(c=dg())&&(b.deleteDialog=c.first)}},inputs:{componentId:"componentId",supportCustomFields:"supportCustomFields"},features:[Of([AI]),kf],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(";"),["for","template-issue-access-limits-dropdown"],["id","template-issue-access-limits-dropdown",3,"disabled",
"defaultAccessLimitLevel","implicitAccessEnabled","updatedAccessLimitLevel"],["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"],["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&&(F(0,"div")(1,"div",0),P(2," A template is a set of default values for new issues created in this component. "),F(3,"a",1),P(4,"Learn more"),H()(),F(5,"table",2)(6,"tr")(7,"th"),P(8,"TEMPLATE"),H(),F(9,"th",3),P(10,"DEFAULT"),H(),I(11,"th",3)(12,"th",3),H(),
O(13,k8a,3,2,"tr",4),H(),F(14,"div",5)(15,"b-button",6),L("onAction",function(){return ONc(b)}),P(16," Create New Template "),H()(),O(17,l8a,7,3,"ng-template",null,7,gg),O(19,m8a,9,4,"ng-template",null,8,gg),H());a&2&&(z(3),E("href","https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/templates",Ud),z(10),E("ngForOf",b.templateRows))},dependencies:[vQ,Qw,Rw,Sw,Tw,Uw,HB,vP,uZ,wg,Cx,tx,Ax,tU,w_,M_,yZ,QA,fB,hB,iB,bO,qZ,YS,lD,dO,dD,bD,cD,N_],styles:[".buttons-row[_ngcontent-%COMP%]   b-button[_ngcontent-%COMP%]{ margin-right: 10px;}"]});var P_=function(){};P_.\u0275fac=function(a){return new (a||P_)};P_.\u0275mod=Qc({type:P_});P_.\u0275inj=zc({imports:[OG,MY]});var Q_=function(){};Q_.\u0275fac=function(a){return new (a||Q_)};Q_.\u0275mod=Qc({type:Q_});Q_.\u0275inj=zc({imports:[OG,ED,eD,fE,zO]});var R_=function(){};R_.\u0275fac=function(a){return new (a||R_)};R_.\u0275mod=Qc({type:R_});R_.\u0275inj=zc({imports:[FT,OG,JP,vZ,Px,DU,J_,P_,zZ,ED,jB,EO,rZ,KK,ZS,IP,TA,fE,zO,eD,Q_]});var S_=function(a,b,c,d,e){this.appSearchState=b;this.analytics=c;this.domSafe=d;this.currentTracker=e;this.enableEstado=pF(a,"enableEstado")};S_.prototype.openInEstado=function(){this.analytics.trackEvent("listIssues","addOns","Estado");this.domSafe.openInNewTab("http://go/estado/dashboard-lite/buganizer?buganizer-query="+encodeURIComponent(this.appSearchState.currentQuery))};S_.\u0275fac=function(a){return new (a||S_)(t(Bs),t(RX),t(EI),t(vL),t(PL))};
S_.\u0275prov=yc({token:S_,factory:S_.\u0275fac,providedIn:"root"});var XNc=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};XNc.\u0275fac=function(a){return new (a||XNc)(B(dB))};
XNc.\u0275cmp=Oc({type:XNc,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&&(F(0,"h1",0),P(1),H(),F(2,"mat-dialog-content")(3,"b-custom-field-picker",1),L("fieldSelected",function(c){return b.selectedCustomField=
c}),H()(),F(4,"mat-dialog-actions")(5,"button",2),P(6," Cancel "),H(),F(7,"button",3),P(8," Add "),H()());a&2&&(z(1),Lf("Insert custom field column next to ",b.column.fullLabel,""),z(2),E("filter",b.isLegalColumn),z(4),E("disabled",!b.selectedCustomField)("mat-dialog-close",b.selectedCustomField))},dependencies:[QA,fB,gB,hB,iB,CZ],encapsulation:2});var n8a="issueId componentPath type status priority severity reporter assignee verifier cc collaborator changelist postmortem blockingIssueId blockedByIssueId createdTime modifiedTime resolvedTime verifiedTime title foundInVersion targetedToVersion verifiedInVersion inProd duplicateOfIssueId voteCount duplicateCount ccCount collaboratorCount lastModifier archived minSlo assignmentSlo responseSlo closureSlo deletionTime team estimate estimateTotalOpen estimateTotalComplete".split(" ");var Qp=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)};Qp.prototype.toString=function(){return this.isCustomField?"customfield:"+this.name+"["+this.fullLabel+"]":this.name};
var s8a={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"},magic:{label:"MAGIC NUMBER"},createdTime:{defaultSortDirection:"DESC",label:"CREATED"},verifiedTime:{defaultSortDirection:"DESC",label:"VERIFIED"},resolvedTime:{defaultSortDirection:"DESC",label:"RESOLVED"},
blockedByIssueId:{sortable:!1,label:"BLOCKED BY"},foundInVersion:{label:"FOUND IN"},targetedToVersion:{label:"TARGETED TO"},verifiedInVersion:{label:"VERIFIED IN"},inProd:{label:"IN PROD"},duplicateOfIssueId:{sortable:!1,label:"DUPLICATE OF"},componentPath:{label:"COMPONENT",moreOptions:[{name:"wrapComponents",menuItem:"Wrap components"},{name:"rtlComponentPath",menuItem:"Prefer right alignment"}]},cc:{sortable:!1},collaborator:{sortable:!1},changelist:{sortable:!1},postmortem:{sortable:!1},blockingIssueId:{sortable:!1,
label:"BLOCKING"},title:{moreOptions:[{name:"showHotlists",menuItem:"Show hotlists"},{name:"wrapTitles",menuItem:"Wrap titles"}]},status:{moreOptions:[{name:"showStatusIcons",menuItem:"Icons only"},{name:"status-plain",menuItem:"Plain text (no colors)"}]},voteCount:{defaultSortDirection:"DESC",label:"VOTES",fullLabel:"Vote Count"},duplicateCount:{defaultSortDirection:"DESC",label:"DUPE COUNT",tooltip:"Duplicate Count"},ccCount:{defaultSortDirection:"DESC",label:"CC COUNT"},collaboratorCount:{defaultSortDirection:"DESC",
label:"COLLABORATOR COUNT"},lastModifier:{label:"LAST MODIFIED BY"},minSlo:{defaultSortDirection:"ASC",label:"NEAREST SLO",fullLabel:"Nearest SLO",parentLabel:"SLO"},assignmentSlo:{label:"ASSIGNMENT SLO",fullLabel:"Assignment SLO",parentLabel:"SLO",sortable:!0},responseSlo:{label:"RESPONSE SLO",fullLabel:"Response SLO",parentLabel:"SLO",sortable:!0},closureSlo:{label:"CLOSURE SLO",fullLabel:"Closure SLO",parentLabel:"SLO",sortable:!0},deletionTime:{label:"DELETION DATE",fullLabel:"Deletion Date",
sortable:!0},team:{label:"TEAM",sortable:!0},estimate:{label:"ESTIMATE",fullLabel:"Estimate",parentLabel:"Estimates",sortable:!0},estimateTotalOpen:{label:"TOTAL DAYS OPEN",fullLabel:"Total days open",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are open in number of days"},estimateTotalComplete:{label:"TOTAL DAYS COMPLETE",fullLabel:"Total days complete",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are complete (fixed or won\u2019t fix) in number of days"}};var YNc=function(a,b,c){this.target=a;this.eventType=b;this.listener=c;this.target.addEventListener(this.eventType,this.listener)};YNc.prototype.off=function(){this.target.removeEventListener(this.eventType,this.listener)};var ZNc=function(){this.bindings=[]};ZNc.prototype.off=function(){for(var a=k(this.bindings),b=a.next();!b.done;b=a.next())b.value.off()};
var $Nc=function(a){var b=this;this.params=a;this.mask=document.createElement("div");this.element=this.params.nativeElement;this.eventBindings=new ZNc;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()}};
$Nc.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(){aOc(a,"dragstart",a.onDragTargetDragstart);aOc(a,"dragenter",a.onDragTargetDragenter);aOc(a,"dragend",a.onDragTargetDragend);aOc(a,"selectstart",a.onDragTargetSelectstart);a.eventBindings.bindings.push(new YNc(a.mask,"dragleave",a.onMaskDragLeave));
a.eventBindings.bindings.push(new YNc(a.mask,"dragover",a.onMaskDragover));a.eventBindings.bindings.push(new YNc(a.mask,"drop",a.onMaskDrop))})};var aOc=function(a,b,c){a.eventBindings.bindings.push(new YNc(a.element,b,Sp("th.drag-target",c)))};$Nc.prototype.tearDown=function(){this.eventBindings.off()};var bOc=["table"],cOc=["defaultHeaderCellTemplate"],dOc=["defaultViewCellTemplate"],eOc=["dataRows"],x8a=function(a){return{column:a}},A8a=function(a,b,c){return{row:a,column:b,index:c}},T_=function(a,b){var c=this;this.activeSession=a;this.ngZone=b;this.headerCellTemplates={};this.viewCellTemplates={};this.list=[];this.columns=[];this.columnsChange=new kw;this.rowClick=new kw;this.rowLabelRenderer=function(d,e){return"Row "+e};this.sortChange=new kw;this.focusedRowIndexChange=new kw;this.afterViewInit=
new kw;this.enableDragDropHeader=!0;this.readUnreadOptOut=pF(this.activeSession,"readUnreadOptOut");this.onDragDropColumn=function(d,e){var g=[].concat(cd(c.columns));d=g.splice(d,1)[0];g.splice(e,0,d);c.columns=g;c.columnsChange.emit([].concat(cd(c.columns)))};this.onTdClickableClick=Sp("td.clickable",function(d,e){if(("mouseup"!==d.type||1===d.button)&&!nkc(e)&&(e=e.closest("tr"))){var g,h=null!=(g=e.dataset.rowId)?g:"";c.rowClick.emit({id:h,isRead:!!e.dataset.isRead,event:d})}})};
T_.prototype.ngOnInit=function(){this.enableDragDropHeader&&fOc(this);this.tableElement.nativeElement.addEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.addEventListener("mouseup",this.onTdClickableClick)};var fOc=function(a){a.dragDropHeaderLogic=new $Nc({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()};
T_.prototype.ngOnChanges=function(a){if(a=a.focusedRowIndex){var b=a.currentValue;null!=b&&b!==a.previousValue&&this.dataRows&&(a=this.dataRows.toArray()[b])&&(UHa(a.nativeElement)||a.nativeElement.scrollIntoView({block:"center"}),this.focus())}};T_.prototype.ngAfterViewInit=function(){this.afterViewInit.emit(this)};
T_.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)};T_.prototype.getViewCellTemplate=function(a){return null!=a?this.viewCellTemplates[a]||this.defaultViewCellTemplate:this.defaultViewCellTemplate};var gOc=function(a){return a.columns.map(function(b){return a.getViewCellTemplate(b.name)})};
T_.prototype.renderRowLabel=function(a,b){return this.rowLabelRenderer(a,b)};T_.prototype.focus=function(){if(null!=this.focusedRowIndex&&null!=this.dataRows){var a=this.dataRows.toArray()[this.focusedRowIndex];a&&a.nativeElement.focus()}};T_.prototype.getColumnIndexForElement=function(a){var b=a.dataset.dragTargetColumnName;return this.columns.findIndex(function(c){return c.name===b})};T_.\u0275fac=function(a){return new (a||T_)(B(Bs),B(df))};
T_.\u0275cmp=Oc({type:T_,selectors:[["pop-grid"]],viewQuery:function(a,b){a&1&&(bg(bOc,7),bg(cOc,7),bg(dOc,7),bg(eOc,5,Dd));if(a&2){var c;ag(c=dg())&&(b.tableElement=c.first);ag(c=dg())&&(b.defaultHeaderCellTemplate=c.first);ag(c=dg())&&(b.defaultViewCellTemplate=c.first);ag(c=dg())&&(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:[gd],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&&(F(0,"table",0,1),L("mousedown",function(c){c.shiftKey&&window.getSelection().removeAllRanges()}),F(2,"colgroup"),O(3,v8a,1,3,"col",2),H(),F(4,"thead")(5,"tr",3),O(6,y8a,2,4,"ng-container",4),H()(),F(7,"tbody"),O(8,D8a,2,1,"ng-container",5),H()(),O(9,E8a,2,1,"ng-template",null,6,gg),O(11,F8a,2,2,"ng-template",null,7,gg));a&2&&(z(3),E("ngForOf",b.columns),z(3),
E("ngForOf",b.columns),z(2),E("ngIf",gOc(b)))},encapsulation:2});var U_=function(a,b){this.templateRef=a;this.popGrid=b};U_.prototype.ngOnInit=function(){this.forHeaderCell&&(this.popGrid.headerCellTemplates[this.forHeaderCell]=this.templateRef)};U_.\u0275fac=function(a){return new (a||U_)(B(Yf),B(T_))};U_.\u0275dir=Sc({type:U_,selectors:[["","forHeaderCell",""]],inputs:{forHeaderCell:"forHeaderCell"}});var V_=function(a,b){this.templateRef=a;this.popGrid=b};
V_.prototype.ngOnInit=function(){this.forViewCell&&(this.popGrid.viewCellTemplates[this.forViewCell]=this.templateRef)};V_.\u0275fac=function(a){return new (a||V_)(B(Yf),B(T_))};V_.\u0275dir=Sc({type:V_,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var W_=function(a,b){this.templateRef=a;this.popGrid=b};W_.prototype.ngOnInit=function(){this.popGrid.defaultHeaderCellTemplate=this.templateRef};W_.\u0275fac=function(a){return new (a||W_)(B(Yf),B(T_))};
W_.\u0275dir=Sc({type:W_,selectors:[["","forHeaderCellDefault",""]]});var X_=function(){this.columnLabel=this.columnName="";this.defaultSortDirection="ASC";this.sortChanged=new kw};X_.prototype.ariaLabel=function(){var a=this.columnLabel+", sortable";return this.isActive()?"ASC"===this.sort.direction?a+", sorted ascending":a+", sorted descending":a};X_.prototype.isActive=function(){return!!this.sort&&this.sort.field===this.columnName};
X_.prototype.activate=function(){var a=this.defaultSortDirection;this.isActive()&&(a="ASC"===this.sort.direction?"DESC":"ASC");this.sortChanged.emit({field:this.columnName,direction:a})};X_.\u0275fac=function(a){return new (a||X_)};
X_.\u0275cmp=Oc({type:X_,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&&(F(0,"div",0),L("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),P(2),H());a&2&&(xf("current-sort",b.isActive())("direction-asc",b.isActive()&&"ASC"===b.sort.direction)("direction-desc",b.isActive()&&"DESC"===b.sort.direction),of("aria-label",b.ariaLabel()),z(2),Lf(" ",b.columnLabel," "))},encapsulation:2});var Y_=function(a,b){this.elementRef=a;this.grid=b};Y_.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}}};Y_.prototype.ngOnDestroy=function(){this.cellParent&&delete this.cellParent.dataset.dragTargetColumnName};
Y_.\u0275fac=function(a){return new (a||Y_)(B(Dd),B(T_,8))};
Y_.\u0275cmp=Oc({type:Y_,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&&(F(0,"div",0),O(1,G8a,1,5,"b-sortable-header",1),O(2,I8a,3,3,"div",2),H());a&2&&(z(1),E("ngIf",b.column.sortable),z(1),E("ngIf",!b.column.sortable))},dependencies:[Rw,lD,X_],encapsulation:2});var P8a=function(a,b){return{columns:a,before:b}},hOc=function(){return{before:!1}},iOc=function(){return{before:!0}},Z_=function(a,b,c,d,e,g){rF.call(this);var h=this;this.matDialog=a;this.userPreferencesManager=b;this.butterBar=c;this.analytics=d;this.hotkeys=e;this.activeSession=g;this.selectedColumnsChange=new kw;this.onAddTeamColumn=new kw;this.currentAvailableItems=[];this.isRemovable=!0;this.menuOpen=!1;this.listViewPrefs=oF.listViewPreferences;b.preferences$.pipe(af(this.destroyed$)).subscribe(function(l){h.listViewPrefs=
l.listViewPreferences||oF.listViewPreferences})};T(Z_,rF);Z_.\u0275dir=rF.\u0275dir;Z_.prototype.ngOnChanges=function(a){a.selectedColumns&&jOc(this)};
var kOc=function(a){a.selectedColumnsChange.emit([].concat(cd(a.selectedColumns)));jOc(a)},K8a=function(a,b){var c=Object.assign({},a.listViewPrefs),d=L8a(b),e=d.get;d=d.set;d(c,!e(c));a.activeSession.isAnonymous()||YG(a.butterBar,"Saving display preference...",0);a.userPreferencesManager.save({listViewPreferences:c}).pipe(Oe(),af(a.destroyed$)).subscribe(function(){a.analytics.trackEvent("preferences","setListViewPref:"+b,e(c).toString());a.listViewPrefs=c;a.activeSession.isAnonymous()||YG(a.butterBar,
"Display preference saved.",4E3)},function(){a.activeSession.isAnonymous()||ZG(a.butterBar,"Display preference could not be saved.")})},S8a=function(a,b){a.hotkeys.pause();$A(a.matDialog.open(XNc,{data:{column:a.column,columns:a.selectedColumns},position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(af(a.destroyed$)).subscribe({next:function(c){c&&a.add(c,b)},error:function(){a.hotkeys.unpause()},complete:function(){a.hotkeys.unpause()}})},jOc=function(a){for(var b={},c=k(a.selectedColumns),
d=c.next();!d.done;d=c.next())b[d.value.name]=!0;var e=a.availableColumns.filter(function(g){return!Oca(b,g.name)});c=[].concat(cd(new Set(e.filter(function(g){return g.parentLabel}).map(function(g){return g.parentLabel})))).map(function(g){return{label:g,columns:e.filter(function(h){return h.parentLabel===g})}});d=e.filter(function(g){return!g.parentLabel});a.currentAvailableItems=[].concat(cd(d),cd(c));a.currentAvailableItems.sort(function(g,h){return eq(g instanceof Qp?g.fullLabel:g.label,h instanceof
Qp?h.fullLabel:h.label)});a.isRemovable=lOc(a)};Z_.prototype.isIssueGridColumn=function(a){return a instanceof Qp};Z_.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,kOc(this),!0}return!1};
Z_.prototype.add=function(a,b){var c=this;this.menuTrigger.closeMenu();a="customFieldId"in a&&a.customFieldId?new Qp({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(cd(this.selectedColumns));this.selectedColumns.splice(b,0,a);kOc(this);return!0};
var lOc=function(a){return 1<a.selectedColumns.filter(function(b){return!b.isMetadata}).length};Z_.\u0275fac=function(a){return new (a||Z_)(B(eB),B(VJ),B(XG),B(EI),B(fN),B(Bs))};
Z_.\u0275cmp=Oc({type:Z_,selectors:[["b-column-picker"]],viewQuery:function(a,b){a&1&&bg(cD,5);if(a&2){var c;ag(c=dg())&&(b.menuTrigger=c.first)}},inputs:{column:"column",availableColumns:"availableColumns",selectedColumns:"selectedColumns"},outputs:{selectedColumnsChange:"selectedColumnsChange",onAddTeamColumn:"onAddTeamColumn"},features:[kf,gd],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&&(F(0,"div",0)(1,"div",1),I(2,"pop-grid-default-th",2),H(),O(3,J8a,2,4,"div",3),F(4,"mat-menu",4,5),O(6,M8a,4,3,"button",6),O(7,N8a,1,0,"mat-divider",7),F(8,"button",8),L("click",function(){return b.remove()}),P(9," Remove column "),H(),F(10,"button",9),P(11," Add column right "),H(),F(12,
"button",9),P(13," Add column left "),H()(),F(14,"mat-menu",null,10),O(16,T8a,4,1,"ng-template",11),H(),F(17,"mat-menu",null,12),O(19,V8a,1,1,"ng-template",11),H()());if(a&2){var c=Kf(15);z(2);E("column",b.column);z(1);E("ngIf",!0);z(3);E("ngForOf",b.column.moreOptions);z(1);E("ngIf",b.column.moreOptions.length);z(1);E("disabled",!b.isRemovable);z(2);E("matMenuTriggerFor",c)("matMenuTriggerData",Qf(9,hOc));z(2);E("matMenuTriggerFor",c)("matMenuTriggerData",Qf(10,iOc))}},dependencies:[Qw,Rw,dD,bD,
cD,aD,XM,lD,dO,Y_],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 oOc=function(a){var b=this;this.params=a;this.element=this.params.nativeElement;this.dropzone=document.createElement("div");this.onTdDragStart=Sp("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=Sp("tr",function(c,d){if(b.draggedRow&&b.dragTargetRow!==d&&d.closest("tbody")&&
d!==b.draggedRow){mOc(b.dragTargetRow);b.dragTargetRow=d;var e;b.draggedIssueIndex=b.params.rowFinder(null!=(e=b.draggedRow.dataset.rowId)?e:void 0);var g;b.dragTargetIndex=b.params.rowFinder(null!=(g=b.dragTargetRow.dataset.rowId)?g: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=Sp("tr",function(){b.draggedRow&&(mOc(b.draggedRow),mOc(b.dragTargetRow),b.draggedRow.setAttribute("aria-grabbed",
"false"),b.draggedRow=b.dragTargetRow=void 0)});this.onTrDragLeave=Sp("tr",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragEnter=Sp(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragLeave=Sp(".row-dropzone",function(c){mOc(b.dragTargetRow);nOc(b);c.stopPropagation();c.preventDefault()});this.onDropzoneDragOver=Sp(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDrop=Sp(".row-dropzone",function(c){nOc(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()})};
oOc.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");nOc(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)})};
oOc.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 mOc=function(a){a&&(a.classList.remove("drag-over"),a.classList.remove("above"),a.classList.remove("below"),a.classList.remove("dragging"))},nOc=function(a){a.dropzone.style.display="none"};var a0=function(){};a0.\u0275fac=function(a){return new (a||a0)};a0.\u0275cmp=Oc({type:a0,selectors:[["archived-issue-indicator"]],decls:3,vars:0,consts:[["aria-hidden","true","svgIcon","archive_24px"]],template:function(a){a&1&&(F(0,"span"),I(1,"mat-icon",0),P(2,"Archived "),H())},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 b0=function(){};b0.\u0275fac=function(a){return new (a||b0)};b0.\u0275mod=Qc({type:b0});b0.\u0275inj=zc({imports:[OG]});var pOc=[[["",8,"value-action"]]],c0=function(a){rF.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 kw;this.toggleAccessLimits=new kw;this.additionAllowed=!0;this.ListFieldType=WJc;this.userPrincipalValidator=function(c){var d,e,g;return pe(function(h){if(1==h.nextAddress){if(!c)return h.return("This field is required");d=c.split(",").map(function(l){return l.trim()}).filter(Boolean);
return h.yield(Rgc(b.jspbPrincipalTypes,d,!1),2)}e=h.yieldResult;g=d.find(function(l){var q;return"USER"!==(null==(q=e[l])?void 0:q.principalType)});return h.return(g?"You can only add users to collaborators.":"")})}};T(c0,rF);c0.\u0275dir=rF.\u0275dir;c0.\u0275fac=function(a){return new (a||c0)(B(nK))};
c0.\u0275cmp=Oc({type:c0,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:[Of([AI]),kf],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&&(Ff(pOc),F(0,"b-list-field",0),L("valuesChange",function(c){return b.valuesChange.emit(c)})("toggleAccessLimits",function(){return b.toggleAccessLimits.emit()}),F(1,"div",1),Gf(2),H()());a&2&&(Jf("collapsiblePanelTitle",
"",b.collaborators.length," ",1===b.collaborators.length?"user":"users",""),E("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:[yZ],
encapsulation:2});var d0=function(){};d0.\u0275fac=function(a){return new (a||d0)};d0.\u0275mod=Qc({type:d0});d0.\u0275inj=zc({imports:[zZ,OG,fE]});var qOc=function(){var a=this;this.pressed=new kw;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"}};qOc.\u0275fac=function(a){return new (a||qOc)};
qOc.\u0275cmp=Oc({type:qOc,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&&(F(0,"button",0),L("click",function(){return b.pressed.emit()}),P(1,"Insights "),rd(),F(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),H()()());a&2&&(E("title",b.getTooltip())("disabled",b.disabled),of("aria-label",b.getTooltip()))},dependencies:[QA],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 e0=function(a,b){rF.call(this);var c=this;this.componentFridge=a;this.currentTracker=b;this.componentId$=new D.ReplaySubject(1);this.hidePath=!1;this.error$=this.componentFridge.error$.pipe(Ge(function(d){return String(d.idOrKey)===c.componentIdInternal}));this.rawComponent$=this.componentId$.pipe(Ge(Ai),$e(this.componentFridge.watch),Ge(Ai));this.component$=(0,D.merge)(this.error$,this.rawComponent$).pipe(C(function(d){return d.componentId&&d.name?d:{componentId:Number(d.idOrKey),name:"(unknown)"}}));
this.isArchived$=this.component$.pipe(C(function(d){return d.archived}));this.componentPath$=this.component$.pipe(C(function(d){d=ds(c.currentTracker,d.componentPathInfo);return Bp(d)}));this.init=new D.ReplaySubject(1);this.routes$=this.componentId$.pipe(C(function(d){return{createIssue:xwa(d),componentSettings:ywa(d),recentIssues:im(d)}}))};T(e0,rF);e0.\u0275dir=rF.\u0275dir;e0.prototype.ngOnInit=function(){var a=this;this.component$.pipe(Oe(),af(this.destroyed$)).subscribe(function(){a.init.next()})};
sh.Object.defineProperties(e0.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentIdInternal=a=String(a);this.componentId$.next(a)}}});e0.\u0275fac=function(a){return new (a||e0)(B(AG),B(PL))};
e0.\u0275cmp=Oc({type:e0,selectors:[["b-component-path-card"]],inputs:{componentId:"componentId",hidePath:"hidePath"},outputs:{init:"init"},features:[kf],decls:7,vars:7,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["class","component-path squared b-chip s margin-s-bottom",4,"ngIf"],[4,"ngIf"],["class","flex-kids-y padded-s-top actions",4,"ngIf"],[1,"component-path","squared","b-chip","s","margin-s-bottom"],[4,"ngFor","ngForOf"],
[3,"routerLinkObj"],[1,"flex-kids-x"],["svgIcon","folder",1,"icon-xs"],[1,"type-s"],[1,"type-s","id-text"],[1,"flex-kids-y","padded-s-top","actions"],["aria-label","View recent open issues","mat-button","",1,"gmat-button","primary",3,"routerLinkObj"],["aria-label","View component settings","mat-button","",1,"gmat-button","primary",3,"routerLinkObj"],["aria-label","Create issue in this component","mat-button","",1,"gmat-button","primary",3,"routerLinkObj"]],template:function(a,b){a&1&&(F(0,"div",0)(1,
"div",1),O(2,Z8a,5,6,"div",2),O(3,$8a,9,3,"ng-container",3),R(4,"async"),O(5,a9a,7,3,"div",4),R(6,"async"),H()());a&2&&(z(2),E("ngIf",!b.hidePath),z(1),E("ngIf",S(4,3,b.component$)),z(2),E("ngIf",S(6,5,b.routes$)))},dependencies:[Qw,Rw,HB,RA,wO,Xw],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 f0=function(a,b,c){var d=this;this.componentFridge=a;this.issueEditComponentService=b;this.currentTracker=c;this.componentId$=new D.ReplaySubject(1);this.viewOnly=!1;this.compactMode$=new D.BehaviorSubject(!1);this.editing=!1;this.component$=this.componentId$.pipe($e(function(e){return d.componentFridge.watch(e).pipe(Ze(void 0))}));this.isArchived$=this.component$.pipe(C(function(e){return null==e?void 0:e.archived}));this.componentPath$=(0,D.combineLatest)([this.componentId$,this.component$,
this.compactMode$]).pipe(C(function(e){var g=k(e);e=g.next().value;var h=g.next().value;g=g.next().value;if(null==h)return Bp({componentPathId:[Number(e)]});e=ds(d.currentTracker,h.componentPathInfo);e=Bp(e);if(g){g=[];h=0;for(var l=e.length-1;0<=l;l--){var q=e[l],v=l===e.length-1?48:32;if(h>=v)break;var x=String(q.name),A=void 0;if(h+[].concat(cd(x)).length>v){var G=v-h;v="";x=void 0===x?"":x;G=void 0===G?48:G;v=void 0===v?"...":v;A=[].concat(cd(x));A.length<=G||(x=G-[].concat(cd(v)).length,x=A.slice(-x).join(""),
null!=String.prototype.trimStart&&(x=x.trimStart()),x=v+x);A=!0}h+=[].concat(cd(x)).length;g.unshift(Object.assign({},q,{name:x,isTruncated:A}));if(A)break}e.length>g.length&&(g[0].isSpliced=!0);e=g}return e}));this.isEmpty$=this.component$.pipe(C(function(e){return!e}));this.isThinkingAndEmpty$=(0,D.combineLatest)([this.componentFridge.thinking$,this.isEmpty$]).pipe(C(function(e){var g=k(e);e=g.next().value;g=g.next().value;return e&&g}));this.isReady$=this.isThinkingAndEmpty$.pipe(C(function(e){return!e}))};
f0.prototype.ngOnInit=function(){};sh.Object.defineProperties(f0.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)}}});f0.\u0275fac=function(a){return new (a||f0)(B(AG),B(kR),B(PL))};
f0.\u0275cmp=Oc({type:f0,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"],["title","Component folder path",1,"icon-xs",3,"svgIcon"],["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"],[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&&(O(0,n9a,10,12,"b-async-data-placeholder",0),O(1,p9a,2,5,"ng-template",null,1,gg));if(a&2){var c=Kf(2);E("ngIf",!b.editing)("ngIfElse",c)}},dependencies:[GL,Qw,Rw,HB,QA,RA,qV,UK,VK,ZK,WK,lD,e0,wO,Xw],styles:["[_nghost-%COMP%]     b-async-data-placeholder{display:inline-block;height:22px}a[_ngcontent-%COMP%], .view-only-component[_ngcontent-%COMP%], mat-icon[_ngcontent-%COMP%], .edit-btn[_ngcontent-%COMP%], .pop-out-btn[_ngcontent-%COMP%]{vertical-align:middle}mat-icon[_ngcontent-%COMP%]:first-of-type{margin-right:3px}.b-chip[_ngcontent-%COMP%]{margin-right:0}.edit-btn[_ngcontent-%COMP%], .pop-out-btn[_ngcontent-%COMP%]{height:22px;width:22px;line-height:22px;margin-right:-4px;margin-left:4px;border-radius:4px;border-top-left-radius:0;border-bottom-left-radius:0;border-left:1px solid;border-left-color:#fff;border-left-color:var(--background)}.edit-btn[_ngcontent-%COMP%]:hover, .pop-out-btn[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}.edit-btn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%], .pop-out-btn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-top:-3px}.issue-editor-false   [_nghost-%COMP%]     .edit-btn{display:none}"],
changeDetection:0});var rOc=["multiUserInput"],g0=function(a,b,c,d,e,g,h){rF.call(this);var l=this;this.element=a;this.accessPolicyConverter=b;this.principalTypes=c;this.activeSession=d;this.documentationLinks=e;this.appEvents=g;this.usersChange=new kw(!0);this.includeViewAliases=this.includeAliases=!1;this.maxUserAllowed=-1;this.customValidators={};this.detailedUserValidators={};this.ariaLabel="";this.isValid=new kw;this.typedText="";this.items=[];this.chipifyFn=function(){sOc(l)};this.additionalContactsFn=function(){return tOc(l)};
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(){l.typedText=""}));this.subscriptions.add(gN(h,{title:"Manage Component Page",hotkeys:[{keys:[],displayAs:"Right Arrow (>)",description:"Move the Cursor to Input Field",onPress:function(){}}]}))};T(g0,rF);g0.\u0275dir=rF.\u0275dir;
g0.prototype.ngOnInit=function(){var a=this;this.validators=Object.assign({},{validateGaia:function(b,c){return uOc(c)},validateInternalAccessLevel:function(b,c){return vOc(a,c)},validateExternalAccessLevel:function(b,c){return wOc(a,c)}},this.customValidators)};g0.prototype.ngOnChanges=function(a){if(a.users||a.containerChips)this.items=xOc(this,this.users),h0(this)};
var h0=function(a){var b=[].concat(cd(a.items)),c=yOc(b),d=zOc(b);b=a.validate(c,d,b);a.isValid.emit(b);a.users&&Xh(a.users,c)||(a.users=c,b&&a.usersChange.emit(c))};
g0.prototype.validate=function(a,b,c){for(var d=new Set,e=k(Object.entries(this.validators)),g=e.next();!g.done;g=e.next()){var h=k(g.value);g=h.next().value;h=h.next().value;h(a,c)||d.add(g)}a=k(Object.entries(this.detailedUserValidators));for(c=a.next();!c.done;c=a.next())e=k(c.value),c=e.next().value,e=e.next().value,e(b)||d.add(c);this.violations=d;return 0===this.violations.size};
var s9a=function(a){!a.isWidgetDisabled()&&AOc(a)&&(a.isFocused=!0,a.textInputElement.nativeElement.focus())},q9a=function(a){Tp(a,a.selectedChipIndex)&&(a.items[a.selectedChipIndex].isSelected=!1);a.selectedChipIndex=-1};g0.prototype.isWidgetDisabled=function(){return this.$element.classList.contains("disabled")||!!this.$element.hasAttribute("disabled")};var AOc=function(a){var b,c;return 0>a.maxUserAllowed||(null!=(c=null==(b=a.users)?void 0:b.length)?c:0)<a.maxUserAllowed};
g0.prototype.removeItem=function(a){this.isWidgetDisabled()||!Tp(this,a)||this.items[a].isReadonly||(q9a(this),this.items.splice(a,1),h0(this))};g0.prototype.setAccessLevel=function(a){this.accessLevel=a};
var tOc=function(a){return BOc(a).map(function(b){return{text:yqa(b),id:a.accessPolicyConverter.accessPolicyPrincipalToString({alias:b})}})},BOc=function(a){if(!a.includeAliases||D9b(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},sOc=function(a){setTimeout(function(){a.typedText&&fa(a.typedText,",")&&t9a(a,a.typedText.split(",")[0].trim())})},t9a=function(a,
b){b&&(b=Ruc.test(b)?COc(a,b):DOc(a,b),a.items.push(b));a.typedText="";h0(a)},Tp=function(a,b){return 0<=b&&b<a.items.length},COc=function(a,b){var c=void 0===c?!1:c;var d=Nqa(b);if(void 0===d.alias)throw Error("Fd`"+b);b=d.alias;d=yqa(b);return new i0("ALIAS",b,d,null,c,a)},EOc=function(a,b){b=En(b);var c=new i0("GROUP",b,b,null,!1,a);mK(a.principalTypes,b,!0).then(function(d){c.detailedUserType=d.detailedUserType;h0(a)});return c},FOc=function(a,b){var c=void 0===c?!1:c;b=En(b);var d=new i0("USER",
b,b,null,c,a);mK(a.principalTypes,b,!0).then(function(e){d.detailedUserType=e.detailedUserType;h0(a)});return d},DOc=function(a,b){var c=void 0===c?!1:c;b=En(b);var d=new i0("PRINCIPAL_TYPE_UNSPECIFIED",b,b,null,c,a);mK(a.principalTypes,b,!0).then(function(e){d.principalType=e.principalType;d.detailedUserType=e.detailedUserType;h0(a)});return d},GOc=function(a,b,c){return new i0("PRINCIPAL_TYPE_UNSPECIFIED","",b,c,!0,a)};g0.prototype.getAccessLevel=function(){return this.accessLevel};
g0.prototype.getAppName=function(){return this.activeSession.getAppName()};g0.prototype.onKeyDown=function(a){8===a.keyCode?Tp(this,this.selectedChipIndex)?(Tp(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?Tp(this,this.selectedChipIndex)&&Tp(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex):39===a.keyCode&&s9a(this)};
var xOc=function(a,b){b=(b||[]).map(function(d){return HOc(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 GOc(a,d.displayText,d.values.map(function(e){return HOc(a,e)}))});return[].concat(cd(c),cd(b))}return b},HOc=function(a,b){var c=b.split(":");if(2!==c.length)throw Error("re`"+b);var d=c[0];if("USER"!==d&&"GROUP"!==d&&"ALIAS"!==d)throw Error("re`"+b);return"ALIAS"===d?COc(a,b):
"USER"===d?FOc(a,c[1]):EOc(a,c[1])},yOc=function(a){return(a||[]).filter(function(b){return"PRINCIPAL_TYPE_UNSPECIFIED"!==b.principalType}).map(function(b){return b.principalType+":"+b.value})},zOc=function(a){return(a||[]).filter(function(b){return"NO_DETAILED_TYPE"!==b.detailedUserType}).map(function(b){return b.detailedUserType+":"+b.value})},uOc=function(a){return!a.some(function(b){return b.isNonGaiaChip()})},vOc=function(a,b){return"INTERNAL"!==a.accessLevel?!0:!b.some(function(c){return c.isInternalAccessViolated()})},
wOc=function(a,b){return"EXTERNAL_PARTNER"!==a.accessLevel?!0:!b.some(function(c){return c.isExternalPartnerAccessViolated()})};g0.\u0275fac=function(a){return new (a||g0)(B(Dd),B($R),B(lK),B(Bs),B(OJ),B(eH),B(fN))};
g0.\u0275cmp=Oc({type:g0,selectors:[["b-multi-user-input"]],viewQuery:function(a,b){a&1&&bg(rOc,5);if(a&2){var c;ag(c=dg())&&(b.textInputElement=c.first)}},hostBindings:function(a,b){a&1&&L("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:[kf,gd],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&&(F(0,"div",0),L("click",function(){return s9a(b)}),F(1,"div",1),P(2," Press tab to navigate through users and right arrow to go to input section "),H(),F(3,"div"),O(4,r9a,2,9,"div",2),O(5,u9a,2,4,"input",3),H()(),F(6,"div",4),O(7,v9a,4,1,"span",5),O(8,w9a,2,0,"span",5),O(9,x9a,2,0,"span",5),O(10,y9a,2,0,"span",5),O(11,z9a,2,0,"span",5),O(12,A9a,2,0,"span",5),H());a&2&&(xf("focused",
b.isFocused),of("aria-label",b.idForInputBox),z(4),E("ngForOf",b.items),z(1),E("ngIf",AOc(b)),z(1),of("aria-hidden",0===b.violations.size),z(1),E("ngIf",b.violations.has("noRestrictedPlusGroups")),z(1),E("ngIf",b.violations.has("validateGaia")),z(1),E("ngIf",b.violations.has("validateInternalAccessLevel")),z(1),E("ngIf",b.violations.has("validateExternalAccessLevel")),z(1),E("ngIf",b.violations.has("sloLeadNotUser")),z(1),E("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 i0=function(a,b,c,d,e,g){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=g};f=i0.prototype;
f.getTooltip=function(){if("ALIAS"!==this.principalType)return"";switch(this.value){case "googlers_unrestricted":return"Full time employees and other users with access to view most "+this.parentController.getAppName()+" issues.";case "google_domain":return"All users associated with the google.com domain.";case "public_non_google":return"All logged in users, excluding the google.com domain.";case "public":return"All logged in users.";default:throw Error("se`"+this.value);}};
f.isGroupChip=function(){return"GROUP"===this.principalType};f.isPublicChip=function(){return"ALIAS"===this.principalType&&["public_non_google","public"].includes(this.value)};f.isDomainChip=function(){return"ALIAS"===this.principalType&&["googlers_unrestricted","google_domain"].includes(this.value)};f.isExternalChip=function(){return"EXTERNAL"===this.detailedUserType||"PUBLIC"===this.detailedUserType||this.isPublicChip()};f.isNonGaiaChip=function(){return"NON_GAIA"===this.principalType};
f.isContainerChip=function(){return null!==this.nestedChips};f.isInternalAccessViolated=function(){return"INTERNAL"===this.parentController.getAccessLevel()&&(this.isExternalChip()||this.isPublicChip())};f.isExternalPartnerAccessViolated=function(){return"EXTERNAL_PARTNER"===this.parentController.getAccessLevel()&&this.isPublicChip()};f.isUserChip=function(){return"USER"===this.principalType};var j0=function(a,b,c,d,e,g,h,l,q,v,x,A,G){rF.call(this);var M=this;this.errorHandler=a;this.issueApi=b;this.issueFridge=c;this.componentFridge=d;this.trackerFridge=e;this.issuePermissionService=g;this.snackBar=h;this.dialogRef=l;this.data=q;this.analytics=v;this.confirmationDialogService=A;this.jspbPrincipalTypes=G;this.defaultAccessLimitLevel="LIMIT_NONE";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(C(function(Q){var Y;return null!=(Y=null==Q?void 0:Q.snapshot[0].issueAccessLimitLevel)?Y:M.defaultAccessLimitLevel}));this.updatedAccessLimitLevel$=new D.BehaviorSubject(this.defaultAccessLimitLevel);this.hasAccessLimitLevelSelectionChanged$=(0,D.combineLatest)([this.currentAccessLimitLevel$,this.updatedAccessLimitLevel$]).pipe(C(function(Q){var Y=
k(Q);Q=Y.next().value;Y=Y.next().value;return Q!==Y}));this.componentId=this.data.componentId;this.component$=this.componentFridge.watch(this.componentId);this.trackerId$=this.component$.pipe(C(function(Q){return null==Q?void 0:Q.trackerId}));this.tracker$=this.trackerId$.pipe($e(function(Q){return Xl(Q)?(0,D.of)(void 0):M.trackerFridge.watch(Q)}));this.collaboratorGroupsEmailToDetailsMap=new Map;this.addedCollaboratorGroups=new Set;this.removedCollaboratorGroups=new Set;this.expandedAccessTooltip$=
this.isImplicitAccessEnabled$.pipe(C(function(Q){return Q?"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.didSave=function(){M.snackBar.open("Successfully saved access level",void 0,{duration:2500});M.issueFridge.poke(M.issueId)};this.currentUserEmail=x.getUserEmail();this.enableQuickAddCollaborators=
pF(x,"enableQuickAddCollaborators")};T(j0,rF);j0.\u0275dir=rF.\u0275dir;j0.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.currentAccessLimitLevel$.subscribe(function(b){a.updatedAccessLimitLevel$.next(b);B9a(a,b)}));this.subscriptions.add((0,D.combineLatest)([this.tracker$,this.issue$]).subscribe(function(b){var c=k(b);b=c.next().value;c=c.next().value;IOc(a,b,c)}));this.analytics.trackEvent(ao.ISSUE_ACCESS_LIMITS,"view","issue_access_limits_dialog:"+this.issueId)};
var IOc=function(a,b,c){var d,e,g,h;pe(function(l){if(1==l.nextAddress){a.collaboratorGroupsEmailToDetailsMap.clear();a.addedCollaboratorGroups.clear();a.removedCollaboratorGroups.clear();if(b&&b.collaboratorGroups)for(d=k(b.collaboratorGroups),e=d.next();!e.done;e=d.next())g=e.value,g.emailAddress&&a.collaboratorGroupsEmailToDetailsMap.set(g.emailAddress,{user:g,specifiedOnIssue:!1});return c&&c.snapshot&&c.snapshot[0].collaboratorsUsers?l.yield(JOc(a,c.snapshot[0].collaboratorsUsers),3):l.jumpTo(0)}h=
l.yieldResult;h.forEach(function(q){a.collaboratorGroupsEmailToDetailsMap.set(q.emailAddress,{user:q,specifiedOnIssue:!0})});ue(l)})},JOc=function(a,b){var c,d;return pe(function(e){if(1==e.nextAddress)return c=b.map(function(g){return g.emailAddress}).filter(Ai),e.yield(Rgc(a.jspbPrincipalTypes,c,!1),2);d=e.yieldResult;return e.return(b.filter(function(g){if(!g.emailAddress)return!1;var h;return"GROUP"===(null==(h=d[g.emailAddress])?void 0:h.principalType)}))})},KOc=function(a){return a?"Expanded access on":
"Expanded access off"},E9a=function(a,b){return 0<a.addedCollaboratorGroups.size||0<a.removedCollaboratorGroups.size||!0===b},B9a=function(a,b){0<a.addedCollaboratorGroups.size&&a.analytics.trackEvent(ao.ISSUE_ACCESS_LIMITS,"update","idp_added_dryrun:"+a.issueId);0<a.removedCollaboratorGroups.size&&a.analytics.trackEvent(ao.ISSUE_ACCESS_LIMITS,"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=
Fi(c.writers);a.appenders=Fi(c.appenders);a.readers=Fi(c.readers)},function(c){cH(a.errorHandler,c)})};f=j0.prototype;f.manageComponentAccessRouterLink=function(a){return{path:"/components/"+a+"/manage",fragment:"access"}};f.closeDialog=function(){this.dialogRef.close()};f.onEnter=function(){this.onPressSave()};f.onEscape=function(){this.dialogRef.close()};
f.onPressSave=function(){var a=this,b=Ei({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:yn(c),onConfirm:function(){a.save()}})}};
f.save=function(){var a=this;this.dialogRef.close();this.issueApi.updateAccessLimit(this.issueId,xi(this.updatedAccessLimitLevel$.value),Array.from(this.addedCollaboratorGroups),Array.from(this.removedCollaboratorGroups)).then(function(b){a.didSave(b);a.analytics.trackEvent(ao.ISSUE_ACCESS_LIMITS,"update","issue_access_limits_dialog:"+a.updatedAccessLimitLevel$.value);0<a.addedCollaboratorGroups.size&&a.analytics.trackEvent(ao.ISSUE_ACCESS_LIMITS,"update","idp_added:"+a.issueId);0<a.removedCollaboratorGroups.size&&
a.analytics.trackEvent(ao.ISSUE_ACCESS_LIMITS,"update","idp_removed:"+a.issueId)},function(b){cH(a.errorHandler,b)})};f.onPressCancel=function(){this.dialogRef.close()};j0.\u0275fac=function(a){return new (a||j0)(B(aH),B(GF),B(JI),B(AG),B(iJ),B(CK),B(VG),B(bB),B(dB),B(EI),B(Bs),B(PJ),B(nK))};
j0.\u0275cmp=Oc({type:j0,selectors:[["b-issue-access-limits-dialog"]],hostBindings:function(a,b){a&1&&L("keydown.escape",function(){return b.onEscape()})},features:[kf],decls:37,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,"limit-users-title"],["idForInputBox","Issue Editors","ariaLabel","Issue Editors",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Issue Contributors","ariaLabel","Issue Contributors",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Issue Viewers","ariaLabel","Issue Viewers",3,"users","includeAliases",
"includeViewAliases"],["mat-dialog-actions",""],[4,"ngIf","ngIfElse"],["closeButton",""],[1,"trusted-groups-title"],["svgIcon","help-outline","tabindex","0","aria-hidden","false","matTooltip","Collaborator groups are configured by Tracker admins",1,"icon-s","valign-middle"],[1,"trusted-groups-checkboxes"],[4,"ngFor","ngForOf"],[1,"trusted-group-checkbox",3,"id","name","checked","click","change"],[1,"trusted-groups-email"],["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&&(F(0,"div",0)(1,"span",1),I(2,"mat-icon",2),H(),F(3,"h1",3),P(4,"Issue access level"),H()(),F(5,"div"),I(6,"b-component-breadcrumb-chip",4),F(7,"span",5),R(8,"async"),F(9,"span",6),P(10),R(11,"async"),H(),I(12,"mat-icon",7),R(13,"async"),H()(),F(14,"b-issue-access-limits-dropdown",8),L("updatedAccessLimitLevel",function(l){b.updatedAccessLimitLevel$.next(l);
B9a(b,l)}),R(15,"async"),R(16,"async"),R(17,"async"),H(),O(18,D9a,8,3,"ng-container",9),R(19,"async"),F(20,"div")(21,"div",10),P(22,"Users who can edit, comment, and view"),H(),I(23,"b-multi-user-input",11),H(),F(24,"div")(25,"div",10),P(26,"Users who can comment and view"),H(),I(27,"b-multi-user-input",12),H(),F(28,"div")(29,"div",10),P(30,"Users who can only view"),H(),I(31,"b-multi-user-input",13),H(),F(32,"div",14),O(33,F9a,6,3,"ng-container",15),R(34,"async"),O(35,G9a,2,0,"ng-template",null,
16,gg),H());if(a&2){var c=Kf(36),d,e,g,h;z(6);E("issueId",b.issueId)("componentId",b.data.componentId)("compactMode",!0)("popoutLink",b.manageComponentAccessRouterLink)("viewOnly",!0);z(1);xf("expanded-access-on",S(8,27,b.isImplicitAccessEnabled$));z(3);Mf(KOc(null!==(d=S(11,29,b.isImplicitAccessEnabled$))&&void 0!==d?d:!1));z(2);E("matTooltip",null!==(e=S(13,31,b.expandedAccessTooltip$))&&void 0!==e?e:"");z(2);E("disabled",!S(15,33,b.hasAclToAdmin$))("defaultAccessLimitLevel",null!==(g=S(16,35,b.currentAccessLimitLevel$))&&
void 0!==g?g:b.defaultAccessLimitLevel)("implicitAccessEnabled",null!==(h=S(17,37,b.isImplicitAccessEnabled$))&&void 0!==h?h:!1);z(4);E("ngIf",b.enableQuickAddCollaborators&&0<b.collaboratorGroupsEmailToDetailsMap.size&&S(19,39,b.hasAclToAdmin$));z(5);E("users",b.writers)("includeAliases",!1)("includeViewAliases",!1);of("disabled",!0);z(4);E("users",b.appenders)("includeAliases",!1)("includeViewAliases",!1);of("disabled",!0);z(4);E("users",b.readers)("includeAliases",!1)("includeViewAliases",!1);
of("disabled",!0);z(2);E("ngIf",S(34,41,b.hasAclToAdmin$))("ngIfElse",c)}},dependencies:[N_,Qw,Rw,HB,f0,QA,iB,lD,g0,$O,Xw,bx],styles:[".issue-limits-dialog-title-txt[_ngcontent-%COMP%]{padding:0 20px;font-size:1.4rem;line-height:2rem}.limit-users-title[_ngcontent-%COMP%]{font-weight:400;color:#202124;color:var(--text-default);padding-bottom:5px}.bv2-issue-limits-title[_ngcontent-%COMP%]{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}.trusted-groups-title[_ngcontent-%COMP%]{padding:0 5px 5px 0}.trusted-groups-checkboxes[_ngcontent-%COMP%]{padding:5px 10px 20px 0}div.disabled[_ngcontent-%COMP%]{color:var(--text-disabled)}.trusted-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 k0=function(a){this.dialog=a};k0.prototype.open=function(a){this.dialog.open(j0,{panelClass:"no-jitter",data:a,ariaLabel:"Issue access level"})};k0.\u0275fac=function(a){return new (a||k0)(t(eB))};k0.\u0275prov=yc({token:k0,factory:k0.\u0275fac,providedIn:"root"});var l0=function(){this.isReady=!1};l0.\u0275fac=function(a){return new (a||l0)};l0.\u0275cmp=Oc({type:l0,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&&(Ff(),O(0,H9a,1,0,"div",0),O(1,I9a,2,0,"ng-container",1));a&2&&(E("ngIf",!b.isReady),z(1),E("ngIf",b.isReady))},dependencies:[Rw],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 LOc=function(){this.warning=""};LOc.\u0275fac=function(a){return new (a||LOc)};
LOc.\u0275cmp=Oc({type:LOc,selectors:[["onedev-warning-icon"]],hostVars:2,hostBindings:function(a,b){a&2&&xf("is-present",b.warning)},inputs:{warning:"warning"},decls:1,vars:1,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"matTooltip",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"matTooltip"],["d","M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"]],template:function(a,b){a&1&&O(0,J9a,2,1,"svg",0);a&
2&&E("ngIf",b.warning)},dependencies:[Rw,lD],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 MOc=["*",[["","actions",""]]],NOc=[[["onedev-field-label"]],[["onedev-field-value"]]],OOc=0,m0=function(){this.thinking=!1;this.warning=this.labelTooltip="";this.id="onedev-field-label-"+OOc;OOc++};m0.\u0275fac=function(a){return new (a||m0)};
m0.\u0275cmp=Oc({type:m0,selectors:[["onedev-field-label"]],hostVars:1,hostBindings:function(a,b){a&2&&of("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&&(Ff(),F(0,"onedev-async-data-placeholder",0)(1,"span",1),Gf(2),H(),I(3,"onedev-warning-icon",2),H());a&2&&(E("isReady",!b.thinking),z(1),E("matTooltip",b.labelTooltip),z(2),E("warning",
b.warning))},dependencies:[l0,lD,LOc],styles:["[_nghost-%COMP%]{line-height:29px;font-size:13px}span.label[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]});var n0=function(){this.thinking=!1};n0.\u0275fac=function(a){return new (a||n0)};
n0.\u0275cmp=Oc({type:n0,selectors:[["onedev-field-value"]],inputs:{thinking:"thinking"},ngContentSelectors:["*","[actions]"],decls:3,vars:1,consts:[[3,"isReady"]],template:function(a,b){a&1&&(Ff(MOc),F(0,"onedev-async-data-placeholder",0),Gf(1),Gf(2,1),H());a&2&&E("isReady",!b.thinking)},dependencies:[l0],encapsulation:2});var o0=function(){this.labelPosition="left"};o0.prototype.ngAfterContentInit=function(){var a=this;setTimeout(function(){a.field&&a.label&&(a.field.labelledById=a.label.id)})};
o0.\u0275fac=function(a){return new (a||o0)};
o0.\u0275cmp=Oc({type:o0,selectors:[["onedev-edit-field"]],contentQueries:function(a,b,c){a&1&&(cg(c,DY,5),cg(c,m0,7));if(a&2){var d;ag(d=dg())&&(b.field=d.first);ag(d=dg())&&(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&&(Ff(NOc),F(0,"div",0),Gf(1),Gf(2,1),H());a&2&&xf("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 POc=["popOverContent"],p0=function(a,b){this.overlay=a;this.viewContainerRef=b;this.newlineWithEnterKey=this.displayUnder=!1;this.hasBackdrop=!0;this.fitToViewport=!1;this.minWidth=null;this.closedWithAction=new kw;this.isOpen=!1;this.destroyed$=new D.ReplaySubject(1);this.backdropClickSubscription=D.Subscription.EMPTY};p0.prototype.ngOnInit=function(){};p0.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
p0.prototype.open=function(){var a=this;this.isOpen||(this.overlayRef=this.createOverlay(),this.attach(),this.isOpen=!0,this.backdropClickSubscription=this.overlayRef.backdropClick().pipe(af(this.destroyed$)).subscribe(function(){M9a(a)}))};p0.prototype.close=function(){this.isOpen&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=void 0,this.isOpen=!1,this.backdropClickSubscription.unsubscribe())};
var L9a=function(a){a.closedWithAction.emit(0);a.close()},M9a=function(a){a.closedWithAction.emit(1);a.close()};f=p0.prototype;f.processKeydown=function(a){switch(a.key){case "Escape":M9a(this);a.stopPropagation();break;case "Enter":if(this.newlineWithEnterKey){if(a.metaKey||a.ctrlKey)L9a(this),a.stopPropagation(),a.preventDefault()}else a.shiftKey||(L9a(this),a.stopPropagation(),a.preventDefault())}};
f.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};
f.attach=function(){var a=new gy(this.contentTemplateRef,this.viewContainerRef),b;null==(b=this.overlayRef)||b.attach(a);var c;null==(c=this.overlayRef)||c.updatePosition()};f.getPositionStrategy=function(){var a=zWb(aA(cA(this.overlay.position(),this.anchor),this.fitToViewport),this.fitToViewport);a._offsetX=-4;a._offsetY=this.displayUnder?this.anchor.offsetHeight:-4;return Zz(a,QOc)};f.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
p0.\u0275fac=function(a){return new (a||p0)(B(dA),B(Zf))};
p0.\u0275cmp=Oc({type:p0,selectors:[["onedev-pop-over-edit-panel"]],viewQuery:function(a,b){a&1&&bg(POc,7);if(a&2){var c;ag(c=dg())&&(b.contentTemplateRef=c.first)}},inputs:{anchor:"anchor",editorTemplate:"editorTemplate",displayUnder:"displayUnder",newlineWithEnterKey:"newlineWithEnterKey",hasBackdrop:"hasBackdrop",fitToViewport:"fitToViewport",minWidth:"minWidth"},outputs:{closedWithAction:"closedWithAction"},exportAs:["onedevPopOverEditPanel"],decls:2,vars:0,consts:[["popOverContent",""],["cdkTrapFocus",
"",1,"content","gmat-elevation-z2",3,"cdkTrapFocusAutoCapture","keydown"],[1,"edit-field"],[4,"ngTemplateOutlet"],[1,"actions"],["mat-button","","color","primary",1,"save",3,"click"],["mat-button","","color","primary",1,"cancel",3,"click"]],template:function(a){a&1&&O(0,N9a,8,2,"ng-template",null,0,gg)},dependencies:[Ww,Xx,QA],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 QOc=[{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 ROc=["popOver"],P9a=function(a){return{$implicit:a}},q0=function(a){this.disabled=!1;this.displayEditIcon=!0;this.openPopOverOnInit=!1;this.valueChange=new kw;this.required=this.editing=this.headerFocused=!1;this.editingValue="";this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0};T(q0,DY);f=q0.prototype;f.ngOnInit=function(){};f.ngAfterViewInit=function(){var a=this;this.openPopOverOnInit&&setTimeout(function(){a.startEditing()})};
f.valueChanged=function(){return U9a(this.editingValue)!==this.value};f.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue=null!=this.value?String(this.value):"",this.popOver.open())};f.stopEditing=function(a){this.editing=!1;0===a&&(this.onChange(this.editingValue),this.value=a=U9a(this.editingValue),this.valueChange.emit(a))};f.writeValue=function(a){var b=U9a(a);if(null!=a||this.val!==b)this.val=b,this.editingValue=null!=a?a:""};
f.isActive=function(){return this.headerFocused||this.editing};f.registerOnChange=function(a){this.onChange=a};f.registerOnTouched=function(a){this.onTouched=a};f.setDisabledState=function(a){this.disabled=a};sh.Object.defineProperties(q0.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(null!=a?String(a):null)}}});q0.\u0275fac=function(a){return new (a||q0)(wd("required"))};
q0.\u0275cmp=Oc({type:q0,selectors:[["onedev-numeric-field"]],viewQuery:function(a,b){a&1&&bg(ROc,7);if(a&2){var c;ag(c=dg())&&(b.popOver=c.first)}},inputs:{value:"value",disabled:"disabled",displayEditIcon:"displayEditIcon",labelledById:"labelledById",openPopOverOnInit:"openPopOverOnInit",valueTemplate:"valueTemplate"},outputs:{valueChange:"valueChange"},features:[Of([{provide:gx,useExisting:Ec(function(){return q0}),multi:!0},{provide:DY,useExisting:Ec(function(){return q0}),multi:!0}]),kf],decls:11,
vars:6,consts:[[3,"disabled","click","focus","blur"],["anchor",""],[4,"ngIf","ngIfElse"],["standardValueDisplay",""],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],[3,"anchor","editorTemplate","closedWithAction"],["popOver","onedevPopOverEditPanel"],["inputTemplate",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"edit-icon"],["d","M20.71,5.63l-2.34-2.34C18.18,3.1,17.92,3,17.67,3c-0.26,0-0.51,0.1-0.71,0.29L3,17.25L3,21h3.75L20.71,7.04 C21.1,6.65,21.1,6.02,20.71,5.63z M5.92,19H5l0-0.92L15.54,7.53l0.92,0.92L5.92,19z"],
["type","number",3,"ngModel","ngModelChange"]],template:function(a,b){a&1&&(F(0,"button",0,1),L("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),F(2,"span"),O(3,Q9a,2,4,"ng-container",2),O(4,R9a,1,1,"ng-template",null,3,gg),H(),O(6,S9a,2,0,"svg",4),H(),F(7,"onedev-pop-over-edit-panel",5,6),L("closedWithAction",function(g){return b.stopEditing(g)}),H(),O(9,T9a,1,1,"ng-template",null,7,gg));if(a&2){var c=Kf(1),
d=Kf(5),e=Kf(10);E("disabled",b.disabled);z(3);E("ngIf",b.valueTemplate)("ngIfElse",d);z(3);E("ngIf",!b.disabled&&b.displayEditIcon);z(1);E("anchor",c)("editorTemplate",e)}},dependencies:[Rw,Ww,wg,Cx,tx,Ax,p0],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 $9a=function(){return[]},r0=function(){this.disabled=this.thinking=!1;this.effortChange=new kw;this.isCompatibleValue=!0;this.fieldName="";this.fieldType="UNKNOWN";this.isNaN=isNaN};
r0.prototype.ngOnChanges=function(){if("DROPDOWN"===this.getFieldType()){var a;this.effortSpec&&null!=(a=this.effortSpec.enumSpec)&&a.options&&this.effort&&this.effort.estimate?(a=SOc(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=TOc(this)};r0.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=TOc(this);this.effortChange.emit(this.effort)};r0.prototype.getFieldName=function(){return this.effortSpec?this.effortSpec.name||"":this.effort?"Estimate "+this.effort.specId:"Estimate"};
r0.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 TOc=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"===SOc(a))return!1;var e,g;return"NUMERIC"===a.getFieldType()&&isNaN(Number(null!=(g=null==(e=a.effort)?void 0:e.estimate)?g:""))?!1:!0},SOc=function(a){var b;if(null==(b=a.effort)?0:b.estimate){var c,d,e,g;return null!=(g=null==(c=a.effortSpec)?void 0:null==(d=c.enumSpec)?void 0:null==(e=d.options)?
void 0:e.find(function(h){var l;return h.label===(null==(l=a.effort)?void 0:l.estimate)}))?g:"incompatible"}};r0.\u0275fac=function(a){return new (a||r0)};
r0.\u0275cmp=Oc({type:r0,selectors:[["b-estimated-effort-row"]],inputs:{thinking:"thinking",effort:"effort",effortSpec:"effortSpec",disabled:"disabled"},outputs:{effortChange:"effortChange"},features:[gd],decls:3,vars:1,consts:[[4,"ngIf"],["rawNumericValueTemplate",""],["labelTooltip","Estimated effort",3,"thinking"],["svgIcon","error","aria-hidden","false","aria-label","This estimate was made under a different configuration and needs to be \n                          updated.","class","icon-xs effort-warning align-items-center",
3,"onedevHovercardTrigger",4,"ngIf"],["warningHovercard","onedevHovercard"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["href","http://go/buganizer/user-guide/concepts/wtdm-home.md?cl=head#stale-effort","target","_blank"],[3,"thinking"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["svgIcon","error","aria-hidden","false","aria-label","This estimate was made under a different configuration and needs to be \n                          updated.",1,"icon-xs",
"effort-warning","align-items-center",3,"onedevHovercardTrigger"],[1,"flex-kids-x",3,"value","valueTemplate","disabled","displayEditIcon","valueChange"],[3,"value","options","includeEmptyOption","optionTemplate","disabled","displayArrowIcon","valueChange"],["optionTemplate",""],[4,"ngIf","ngIfElse"],["emptyOption",""],["regularNumeric",""]],template:function(a,b){a&1&&(O(0,c$a,16,7,"onedev-edit-field",0),O(1,f$a,3,2,"ng-template",null,1,gg));a&2&&E("ngIf",b.effortSpec)},dependencies:[Rw,Sw,Tw,Uw,
HB,m0,n0,o0,EY,q0,UK,ZK],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 wr=function(a){this.internalArray_=m(a,1)};T(wr,p);var UOc={};wr.prototype.toObject=function(){if(null!=this){r(this);var a={};Vb(this,a,UOc)}else a=void 0;return a};var dr=function(){this.filter_=null;this.boostIds_=[];this.primingTimeoutMillis_=1E3;this.searchFormat_=this.suggestFormat_=this.queryScope_=0;this.slots_=[];this.entryPoint_=0};f=dr.prototype;f.getFilter=function(){return this.filter_};f.setFilter=function(a){this.filter_=a;return this};f.setQueryScope=function(a){this.queryScope_=a;return this};f.getQueryScope=function(){return this.queryScope_};f.getEntryPoint=function(){return this.entryPoint_};f.setEntryPoint=function(a){this.entryPoint_=a;return this};
f.getSuggestFormat=function(){return this.suggestFormat_};f.getSearchFormat=function(){return this.searchFormat_};f.clone=function(){var a=new dr;a.filter_=this.filter_;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_;return a};var Pr=function(a){this.internalArray_=m(a)};T(Pr,p);Pr.prototype.getEntryPoint=function(){return Zi(this,5,0)};Pr.prototype.setEntryPoint=function(a){return V(this,5,a)};Pr.prototype.toObject=function(){return s0(this)};var s0=function(a){if(null!=a)return r(a),{autocompleteField:n(Er(a,1)),autocompletePerson:n(Er(a,2)),suggestionField:n(Er(a,3)),suggestionPerson:n(Er(a,4)),entryPoint:Zi(a,5,0)}};var Rr=function(a){this.internalArray_=m(a)};T(Rr,p);Rr.prototype.getEntryPoint=function(){return Zi(this,1,0)};Rr.prototype.setEntryPoint=function(a){return V(this,1,a)};Rr.prototype.toObject=function(){return VOc(this)};var VOc=function(a){if(null!=a)return r(a),{entryPoint:Zi(a,1,0),additionEventSources:s0(X(a,Pr,2)),replacementEventSources:s0(X(a,Pr,3))}};var t0=function(a){this.internalArray_=m(a)};T(t0,p);t0.prototype.getQuery=function(){return U(this,1,"")};t0.prototype.setQuery=function(a){return sk(this,1,a)};t0.prototype.clearQuery=function(){ct(this,1)};t0.prototype.hasQuery=function(){return Hk(this,1)};var WOc=function(a,b){V(a,3,b)};t0.prototype.getAffinityVersion=function(){return Rh(this,7)};t0.prototype.setAffinityVersion=function(a){V(this,7,a)};t0.prototype.getAffinityVersionOrUndefined=function(){return rt(this,7)};
var XOc=function(a){var b=Nvc();V(a,8,Xa(b))};f=t0.prototype;f.getSources=function(){return X(this,Pr,10)};f.getInstanceId=function(){return U(this,11,"")};f.setInstanceId=function(a){return sk(this,11,a)};f.clearInstanceId=function(){ct(this,11)};f.hasInstanceId=function(){return Hk(this,11)};f.getInstanceIdOrUndefined=function(){return tt(this,11)};f.toObject=function(){return YOc(this)};
var YOc=function(a){if(null!=a)return r(a),{query:U(a,1,""),querySessionId:qj(a,3,0),selectSessionId:qj(a,4,0),submitSessionId:qj(a,5,0),cacheUpdatedTimestamp:qj(a,6,0),affinityVersion:n(ft(a,7)),callTimestampMs:rj(a,8,0),resultTimestampMs:rj(a,9,0),sources:s0(a.getSources()),instanceId:U(a,11,""),contextualSources:VOc(X(a,Rr,12))}};var Jr=function(a){this.internalArray_=m(a)};T(Jr,p);f=Jr.prototype;f.getPersonLoggingId=function(){return U(this,1)};f.setPersonLoggingId=function(a){sk(this,1,a)};f.getFieldLoggingId=function(){return U(this,2)};f.setFieldLoggingId=function(a){sk(this,2,a)};f.setFieldValue=function(a){return sk(this,3,a)};f.clearFieldValue=function(){return ct(this,3)};f.getName=function(){return U(this,4)};f.setName=function(a){return sk(this,4,a)};f.hasName=function(){return Hk(this,4)};
f.getNameOrUndefined=function(){return tt(this,4)};f.getContactId=function(){return U(this,5)};f.setContactId=function(a){sk(this,5,a)};f.getProfileId=function(){return U(this,6)};f.getProfileId_legacyNullable=function(){return Z(this,6)};f.setProfileId=function(a){return sk(this,6,a)};f.hasProfileId=function(){return Hk(this,6)};f.getFieldType=function(){return Zi(this,7,0)};f.getFieldType_legacyNullable=function(){return Er(this,7)};f.setFieldType=function(a){V(this,7,a)};
f.getFieldTypeOrUndefined=function(){return Qr(this,7)};f.getIsPlaceholder=function(){return Tj(this,10,!1)};f.setIsPlaceholder=function(a){Vj(this,10,a)};f.getGroupId=function(){return U(this,11)};f.setGroupId=function(a){sk(this,11,a)};f.hasGroupId=function(){return Hk(this,11)};f.toObject=function(){return ZOc(this)};
var ZOc=function(a){if(null!=a)return r(a),{personLoggingId:n(Z(a,1)),fieldLoggingId:n(Z(a,2)),fieldValue:n(Z(a,3)),name:n(Z(a,4)),contactId:n(Z(a,5)),profileId:n(Z(a,6)),fieldType:n(Er(a,7)),personType:n(Er(a,8)),isFlattened:Tj(a,9,!0),isPlaceholder:Tj(a,10,!1),groupId:n(Z(a,11))}};var Ir=function(a){this.internalArray_=m(a)};T(Ir,p);f=Ir.prototype;f.getProvenance=function(){return Zi(this,3,0)};f.setProvenance=function(a){return V(this,3,a)};f.getContext=function(){return Zi(this,5,0)};f.getExistingSelectionsCount=function(){return Rh(this,6,0)};f.setExistingSelectionsCount=function(a){V(this,6,a)};f.toObject=function(){return $Oc(this)};
var $Oc=function(a){if(null!=a)return r(a),{fieldPosition:Rh(a,1,0),personPosition:Rh(a,2,0),provenance:Zi(a,3,0),valueOriginator:Zi(a,4,0),context:Zi(a,5,0),existingSelectionsCount:Rh(a,6,0)}};var Hr=function(a){this.internalArray_=m(a)};T(Hr,p);var Oq=function(a){return X(a,Ir,2)};Hr.prototype.getSessionState=function(){return X(this,t0,3)};Hr.prototype.setSessionState=function(a){hj(this,t0,3,a)};Hr.prototype.hasSessionState=function(){return Nj(this,t0,3)};Hr.prototype.toObject=function(){return aPc(this)};var aPc=function(a){if(null!=a)return r(a),{info:ZOc(X(a,Jr,1)),targetState:$Oc(Oq(a)),sessionState:YOc(a.getSessionState()),isClosed:Tj(a,4,!1)}};var Fr=function(a){this.internalArray_=m(a)};T(Fr,p);f=Fr.prototype;f.getType=function(){return Zi(this,1,0)};f.setType=function(a){return V(this,1,a)};f.hasType=function(){return pj(this,1)};f.getValue=function(){return U(this,2,"")};f.setValue=function(a){return sk(this,2,a)};f.hasValue=function(){return Hk(this,2)};f.toObject=function(){if(null!=this){r(this);var a={type:Zi(this,1,0),value:U(this,2,"")}}else a=void 0;return a};var bPc=function(a){this.delegate_=a};f=bPc.prototype;f.getDelegate=function(){return this.delegate_};f.getId=function(){return this.delegate_.getId()};f.getTargetType=function(){return this.delegate_.getTargetType()};f.getValue=function(){return this.delegate_.getValue()};f.getDisplayValue=function(){return this.delegate_.getDisplayValue()};f.getDescription=function(){return this.delegate_.getDescription()};f.getName=function(){return this.delegate_.getName()};f.getPhoto=function(){return this.delegate_.getPhoto()};
f.getTagList=function(){return this.delegate_.getTagList()};f.getSourceIdList=function(){return this.delegate_.getSourceIdList()};f.getProfileId=function(){return this.delegate_.getProfileId()};f.getContactId=function(){return this.delegate_.getContactId()};f.getLoggingToken=function(){return this.delegate_.getLoggingToken()};f.getIsMe=function(){return this.delegate_.getIsMe()};f.getIsPersonalResult=function(){return this.delegate_.getIsPersonalResult()};f.getOrgState=function(){return this.delegate_.getOrgState()};
f.getDataSource=function(){return this.delegate_.getDataSource()};f.getOriginatingField=function(){return this.delegate_.getOriginatingField()};f.getExtendedData=function(){return this.delegate_.getExtendedData()};var Alb=function(){this.familyName_=this.givenName_=this.displayName_="";this.sourceType_=0};f=Alb.prototype;f.getDisplayName=function(){return this.displayName_};f.setDisplayName=function(a){this.displayName_=a||"";return this};f.getGivenName=function(){return this.givenName_};f.setGivenName=function(a){this.givenName_=a||"";return this};f.getFamilyName=function(){return this.familyName_};f.setFamilyName=function(a){this.familyName_=a||"";return this};f.getSourceType=function(){return this.sourceType_};
f.setSourceType=function(a){this.sourceType_=a||0;return this};var cPc=function(a,b){this.delegate_=a;this.name_=b};T(cPc,bPc);cPc.prototype.getName=function(){return this.name_};var u0=function(a){this.delegate_=a};f=u0.prototype;f.getDelegate=function(){return this.delegate_};f.getResultType=function(){return this.delegate_.getResultType()};f.getTargetList=function(){return this.delegate_.getTargetList()};f.getMemberList=function(){return this.delegate_.getMemberList()};f.getTotalMemberCount=function(){return this.delegate_.getTotalMemberCount()};f.getPrimaryTarget=function(){return this.delegate_.getPrimaryTarget()};f.getDisplayName=function(){return this.delegate_.getDisplayName()};
f.getDisplayValue=function(){return this.delegate_.getDisplayValue()};f.getDescription=function(){return this.delegate_.getDescription()};f.getPhotoUrl=function(){return this.delegate_.getPhotoUrl()};f.getMatchInfo=function(){return this.delegate_.getMatchInfo()};f.getExtendedData=function(){return this.delegate_.getExtendedData()};var Up=function(a){this.delegate_=a};T(Up,u0);f=Up.prototype;f.getPrimaryTarget=function(){return this.getTargetList()[0]};f.getDisplayName=function(){var a=this.getPrimaryTarget();return a?(a=a.getName())?a.getDisplayName():"":""};f.getPhotoUrl=function(){var a=this.getPrimaryTarget();return a?(a=a.getPhoto())?a.getUrl():"":""};f.getDisplayValue=function(){var a=this.getPrimaryTarget();return a?a.getDisplayValue():""};
f.getDescription=function(){var a=this.getPrimaryTarget();return a?a.getDescription():""};var g$a=function(a,b){this.delegate_=a;this.targets_=b};T(g$a,u0);g$a.prototype.getTargetList=function(){return this.targets_};var dPc=function(){};dPc.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 Up(new g$a(a,c))};dPc.prototype.reset=function(){};var i$a=function(a){this.types_=a};T(i$a,dPc);i$a.prototype.shouldRemove=function(a){return!this.types_.includes(a.getTargetType())};i$a.prototype.reset=function(){};var k$a=function(a){this.sourceIds_=a.filter(function(b){return vlb.includes(b.getType())}).map(String);this.targetIds_=a.filter(function(b){return Lwc.includes(b.getType())}).map(String)};T(k$a,dPc);k$a.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 m$a=function(a){this.filters_=a};m$a.prototype.filterResult=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())if(a=c.value.filterResult(a),!a)return null;return a};m$a.prototype.reset=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var ePc=n$a();var fPc=new ad("PeoplekitClientConfig"),gPc=function(a){this.matcher=a};gPc.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};gPc.prototype.reset=function(){};var hPc=function(a){this.internalArray_=m(a)};T(hPc,p);f=hPc.prototype;f.setMaxResults=function(a){return V(this,1,a)};f.getQuery=function(){return U(this,2,"")};f.setQuery=function(a){return sk(this,2,a)};f.clearQuery=function(){ct(this,2)};f.hasQuery=function(){return Hk(this,2)};f.toObject=function(){if(null!=this){r(this);var a={maxResults:Rh(this,1,0),query:U(this,2,"")}}else a=void 0;return a};var iPc=function(){this.dynamicDataProviders_=[];this.staticDataProviders_=[]};var jPc=function(a){this.internalArray_=m(a,1)};T(jPc,p);var kPc={};jPc.prototype.toObject=function(){if(null!=this){r(this);var a={};Vb(this,a,kPc)}else a=void 0;return a};var lPc=function(a){this.internalArray_=m(a)};T(lPc,p);f=lPc.prototype;f.getExperimentIdsList=function(){return Qh(this,1)};f.setExperimentIdsList=function(a){return Ab(this,1,a,eb)};f.getExperimentIds=function(){return it(this,1)};f.setExperimentIds=function(a){Db(this,1,a,void 0,Qh)};f.getProfileId=function(){return U(this,2)};f.getProfileId_legacyNullable=function(){return Z(this,2)};f.setProfileId=function(a){return sk(this,2,a)};f.hasProfileId=function(){return Hk(this,2)};
lPc.repeatedFields_=[1];lPc.prototype.toObject=function(){if(null!=this){r(this);var a={experimentIdsList:n(Qh(this,1)),profileId:n(Z(this,2))}}else a=void 0;return a};var mPc=function(){},nPc=function(){return!1},oPc=function(){this.experiments_=(new lPc).setProfileId(Swc.userProfileId);this.peopleApiEnv_=Swc.apiEnv;this.userEmail_=Swc.userEmail;this.delegatorId_="";this.onAuthError_=mPc;this.offlineStorage_=null;this.apiKey_=this.clearcutUrl_="";this.isOffline_=nPc;this.customDataConfig_=null;this.isOrgStateEnabled_=!1};f=oPc.prototype;f.getUserEmail=function(){return this.userEmail_};f.getDelegatorId=function(){return this.delegatorId_};f.getPeopleApiEnv=function(){return this.peopleApiEnv_};
f.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};f.getExperiments=function(){return this.experiments_};f.getAuthErrorHandler=function(){return this.onAuthError_};f.setClearcutUrl=function(a){this.clearcutUrl_=a};f.getClearcutUrl=function(){return this.clearcutUrl_};f.setAuthErrorHandler=function(a){this.onAuthError_=a||mPc};f.getApiKey=function(){return this.apiKey_};f.setApiKey=function(a){this.apiKey_=a;return this};var v0=function(a,b){null!=b||(b=Jc(df));var c=new oPc;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 iPc;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 Qwc(c.getPeopleApiEnv(),new Rwc(""))}});this.peopleStore=b.peopleStore;this.environmentConfig=b.environmentConfig};v0.\u0275fac=function(a){return new (a||v0)(t(fPc),t(df))};v0.\u0275prov=yc({token:v0,factory:v0.\u0275fac});var w0=function(a,b,c,d,e,g){this.clientConfig=a;this.document=b;this.peopleKitService=c;this.inputEl=d;this.zone=e;this.renderer=g;this.selectionChange=new kw;this.sessionOptions=(new dr).setFilter(pPc);this.inputSearchDelay=200;this.destroyed$=new D.ReplaySubject(1);this.inputChanged$=new D.ReplaySubject(1)};w0.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.autocomplete.dispose()};
w0.prototype.ngOnInit=function(){var a=this,b=this.clientConfig.autocompleteFactory.createConfig(this.peopleKitService.environmentConfig);o$a(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 g;(null!=(g=wBa(a.inputEl.nativeElement))?
g:a.document.body).append(e)}c=d.call(c,a.peopleKitService.autocompleteAnchor,a.inputEl.nativeElement,a.peopleKitService.peopleStore,b,a.sessionOptions)}a.autocomplete=c});qPc(this.autocomplete,function(c){a.selectionChange.emit(c);a.autocomplete.report(4)});this.inputChanged$.pipe(Le(this.inputSearchDelay)).subscribe(function(){a.search()})};w0.prototype.search=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.search(a.inputEl.nativeElement.value,a.inputEl.nativeElement)})};
w0.prototype.cancel=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.cancel()})};w0.\u0275fac=function(a){return new (a||w0)(B(fPc),B(qh),B(v0),B(Dd),B(df),B(yv))};
w0.\u0275dir=Sc({type:w0,selectors:[["input","peoplekitAutocomplete",""]],hostBindings:function(a,b){a&1&&L("input",function(){return b.inputChanged$.next()})("focus",function(){return b.search()})("blur",function(){return b.cancel()})},inputs:{config:["peoplekitAutocompleteConfig","config"],sessionOptions:["peoplekitSearchSessionOptions","sessionOptions"],inputSearchDelay:["peoplekitAutocompleteInputSearchDelay","inputSearchDelay"]},outputs:{selectionChange:"peoplekitAutocompleteSelectionChange"},
exportAs:["peoplekitAutocomplete"]});var pPc=j$a(1);var rPc=["popOver"],sPc=["inputBox"],x0=function(a){this.defaultAutocompleteConfig=a;this.mergedAutocompleteConfig=Object.assign({},tPc,this.defaultAutocompleteConfig);this.displayUnder=!1;this.initialInputValue="";this.openPopOverOnInit=!1;this.closed=new kw;this.inputValue="";this.sessionOptions=uPc};x0.prototype.ngAfterViewInit=function(){this.openPopOverOnInit&&this.openPopOver(this.initialInputValue)};
x0.prototype.ngOnChanges=function(a){a.autocompleteConfig&&(this.mergedAutocompleteConfig=Object.assign({},tPc,this.defaultAutocompleteConfig,this.autocompleteConfig))};x0.prototype.openPopOver=function(a){var b=this;this.inputValue=a;this.popOver.open();setTimeout(function(){var c;null==(c=b.inputBox)||c.nativeElement.select()})};x0.prototype.onPopOverClose=function(a){this.closed.emit(0===a?this.inputValue:void 0);this.inputValue=""};x0.\u0275fac=function(a){return new (a||x0)(B(vPc,8))};
x0.\u0275cmp=Oc({type:x0,selectors:[["onedev-user-picker-panel","anchor",""]],viewQuery:function(a,b){a&1&&(bg(rPc,7),bg(sPc,5));if(a&2){var c;ag(c=dg())&&(b.popOver=c.first);ag(c=dg())&&(b.inputBox=c.first)}},inputs:{anchor:"anchor",autocompleteConfig:"autocompleteConfig",displayUnder:"displayUnder",initialInputValue:"initialInputValue",openPopOverOnInit:"openPopOverOnInit"},outputs:{closed:"closed"},features:[gd],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&&(F(0,"onedev-pop-over-edit-panel",0,1),L("closedWithAction",function(d){return b.onPopOverClose(d)}),H(),O(2,p$a,2,3,"ng-template",null,2,gg));if(a&2){var c=Kf(3);E("anchor",b.anchor)("displayUnder",b.displayUnder)("editorTemplate",
c)}},dependencies:[wg,tx,Ax,p0,w0],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 vPc=new ad("user-picker-autocomplete-config"),tPc={showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2},uPc=(new dr).setFilter(n$a(j$a(1),new gPc(function(a){return 0<=a.indexOf("-pager")||0<=a.indexOf("+pager")||0<=a.indexOf("lifeguard-ng")})));var r$a=function(a){return{$implicit:a}},wPc=0,y0=function(){this.val="";this.disabled=!1;this.emailChange=new kw;this.popOverOpen=this.active=!1;this.contentId="onedev-user-picker-"+wPc;this.onChange=function(){};this.onTouched=function(){};wPc++};T(y0,DY);f=y0.prototype;f.openPopOver=function(){this.disabled||(this.onTouched(),this.popOver.openPopOver(this.email),this.popOverOpen=!0)};
f.onPopOverClose=function(a){null!=a&&a!==this.email&&(this.onChange(a),this.emailChange.emit(a),this.email=a);this.popOverOpen=!1};f.contentAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.contentId};f.writeValue=function(a){null!=a&&(this.val=a)};f.isActive=function(){return this.active||this.popOverOpen};f.registerOnChange=function(a){this.onChange=a};f.registerOnTouched=function(a){this.onTouched=a};f.setDisabledState=function(a){this.disabled=a};
sh.Object.defineProperties(y0.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});y0.\u0275fac=function(a){return new (a||y0)};
y0.\u0275cmp=Oc({type:y0,selectors:[["onedev-user-picker"]],viewQuery:function(a,b){a&1&&bg(x0,7);if(a&2){var c;ag(c=dg())&&(b.popOver=c.first)}},inputs:{email:"email",disabled:"disabled",labelledById:"labelledById",selectedUserTemplate:"selectedUserTemplate",autocompleteConfig:"autocompleteConfig"},outputs:{emailChange:"emailChange"},exportAs:["onedevUserPicker"],features:[Of([{provide:DY,useExisting:Ec(function(){return y0}),multi:!0},{provide:gx,useExisting:Ec(function(){return y0}),multi:!0}]),
kf],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&&(F(0,"button",0,1),L("focus",function(){return b.active=!0})("blur",function(){return b.active=!1})("click",function(){return b.openPopOver()}),O(2,s$a,2,4,"ng-container",2),O(3,t$a,1,1,"ng-template",null,3,gg),O(5,u$a,2,0,"svg",4),H(),F(6,"onedev-user-picker-panel",5),L("closed",function(e){return b.onPopOverClose(e)}),H());if(a&2){var c=Kf(1),d=Kf(4);xf("active",b.isActive());of("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());z(2);E("ngIf",b.selectedUserTemplate)("ngIfElse",
d);z(3);E("ngIf",!b.disabled);z(1);E("anchor",c)("autocompleteConfig",b.autocompleteConfig)}},dependencies:[Rw,Ww,x0],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 xPc=["picker"],z0=function(){this.disabled=!1;this.emailChange=new kw;this.userEmail=""};T(z0,DY);z0.prototype.openPopOver=function(){this.picker.openPopOver()};z0.prototype.isActive=function(){return this.picker.isActive()};sh.Object.defineProperties(z0.prototype,{user:{configurable:!0,enumerable:!0,set:function(a){this.userEmail=pi(a)||""}}});z0.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(z0)))(b||z0)}}();
z0.\u0275cmp=Oc({type:z0,selectors:[["b-user-picker"]],viewQuery:function(a,b){a&1&&bg(xPc,7);if(a&2){var c;ag(c=dg())&&(b.picker=c.first)}},inputs:{user:"user",teamId:"teamId",disabled:"disabled",labelledById:"labelledById"},outputs:{emailChange:"emailChange"},exportAs:["bUserPicker"],features:[Of([{provide:DY,useExisting:Ec(function(){return z0}),multi:!0}]),kf],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&&(F(0,"onedev-user-picker",0,1),L("emailChange",function(d){return b.emailChange.emit(d)}),H(),O(2,w$a,1,1,"ng-template",null,2,gg));if(a&2){var c=Kf(3);E("email",b.userEmail)("disabled",b.disabled)("labelledById",b.labelledById)("selectedUserTemplate",c)}},dependencies:[Rw,XP,y0],styles:["b-user-membership-chip[_ngcontent-%COMP%]     .user-chip-small, b-user-membership-chip[_ngcontent-%COMP%]     .internal-non-team-member-chip{width:100%}  .peoplekit-autocomplete-anchor{z-index:1001}/*# sourceMappingURL=user_picker.css.map */"]});var A0=function(a){mG.call(this);this.observableSlosService=a;this.recordType="slo";this.idForRecord=function(b){return b.sloId}};T(A0,mG);f=A0.prototype;f.fetchOne=function(a){return this.observableSlosService.get(a)};f.getOwnedSlos=function(){return this.observableSlosService.getOwnedSlos()};f.search=function(a){return this.observableSlosService.search(a)};f.create=function(a){return this.observableSlosService.create(a)};f.update=function(a){return this.observableSlosService.update(a)};
A0.\u0275fac=function(a){return new (a||A0)(t(PT))};A0.\u0275prov=yc({token:A0,factory:A0.\u0275fac,providedIn:"root"});var B0=function(a,b,c,d,e){rF.call(this);var g=this;this.session=a;this.userPreferencesManager=b;this.sloStatusHelpersService=c;this.paths=d;this.sloFridge=e;this.onSloStartTimeChange=new kw;this.onSloEndTimeChange=new kw;this.providedSloId$=new D.ReplaySubject(1);this.slo$=this.providedSloId$.pipe($e(function(h){return g.sloFridge.watchOne(h)}));this.hasClosureSlo=this.isSloEndEditTimePickerOpen=this.isSloStartEditTimePickerOpen=this.enableSloEndTime=this.hasSloEndTime=this.hasSloStartTime=this.isAccordionExpanded=
!1};T(B0,rF);B0.\u0275dir=rF.\u0275dir;B0.prototype.ngOnInit=function(){var a=this;yPc(this);this.userPreferencesManager.layoutPreferences$.pipe(af(this.destroyed$)).subscribe(function(b){a.isAccordionExpanded=!!b.expandIssueSlo})};B0.prototype.ngOnChanges=function(){this.sloId&&this.providedSloId$.next(this.sloId);yPc(this)};
var yPc=function(a){a.hasSlo=!!a.sloStatus&&ghc(a.sloStatus);a.hasClosureSlo=a.hasSlo&&hhc(a.sloStatus,"CLOSURE");a.enableSloEndTime=pF(a.session,"enableSloEndTime");var b,c;(c=a.sloStatus)?(c=c.closureBounds,c=wK(xi(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},zPc=function(a){a.isAccordionExpanded=!a.isAccordionExpanded;ngc(a.userPreferencesManager,{expandIssueSlo:a.isAccordionExpanded}).pipe(af(a.destroyed$)).subscribe();Ym(ao.ISSUE_SLO,"toggle",a.isAccordionExpanded?"open":"close")};B0.prototype.updateSloStartTime=function(a){this.onSloStartTimeChange.next(a)};B0.prototype.updateSloEndTime=function(a){this.onSloEndTimeChange.next(a)};
B0.prototype.trackOpenSlo=function(){Ym(ao.EDIT_SLO,"open","fromIssueSloBox")};B0.\u0275fac=function(a){return new (a||B0)(B(Bs),B(VJ),B(vK),B(QH),B(A0))};
B0.\u0275cmp=Oc({type:B0,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:[kf,gd],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&&(F(0,
"span",0),L("click",function(){return zPc(b)}),F(1,"label"),P(2,"SLO Status"),H()(),F(3,"div",1)(4,"div",2)(5,"div",3),I(6,"b-aggregated-slo-status-indicator",4),H(),F(7,"div",3),I(8,"b-slo-status-summary",5),H(),F(9,"button",6),L("click",function(){return zPc(b)}),O(10,x$a,1,0,"mat-icon",7),O(11,y$a,1,0,"mat-icon",8),H()(),F(12,"div",9),O(13,C$a,9,4,"div",10),O(14,H$a,10,5,"div",11),O(15,J$a,4,3,"div",12),O(16,K$a,3,1,"div",12),H()());a&2&&(z(5),E("hidden",b.isAccordionExpanded),z(1),E("sloStatus",
b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeSloMetric",!0)("includeObjective",!0),z(1),E("hidden",!b.isAccordionExpanded),z(1),E("sloStatus",b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeNoSlo",!0),z(1),of("aria-expanded",b.isAccordionExpanded),z(1),E("ngIf",!b.isAccordionExpanded),z(1),E("ngIf",b.isAccordionExpanded),z(1),E("hidden",!b.isAccordionExpanded),z(1),E("ngIf",b.isEditable),z(1),E("ngIf",b.enableSloEndTime&&b.isEditable),
z(1),E("ngIf",b.editSloLink),z(1),E("ngIf",!b.editSloLink&&b.componentSloLink))},dependencies:[Rw,HB,lD,QA,VT,FL,TT,s_,fA,eA,Xw],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 APc={MISSING:"MISSING",DELETED:"DELETED",VALID:"VALID"};var C0=function(a,b,c,d,e,g,h,l,q,v){rF.call(this);var x=this;this.data=a;this.dialogRef=b;this.pathBuilder=c;this.teamsService=d;this.componentActions=e;this.userPreferencesManager=g;this.snackBar=h;this.analytics=l;this.errorHandler=q;this.componentFridge=v;this.teamSuggestionIds=[];this.header="";this.teamOptions=[];this.teamAction="CHANGE";this.WarningType=APc;this.warningType=a.warningType;this.componentId=a.componentId;this.parentComponentId=a.parentComponentId;this.teamSuggestionIds=a.teamSuggestionIds;
this.selectedTeam=new BPc(this.teamSuggestionIds[0]||"0",[]);this.componentSetting=this.pathBuilder.editComponent(this.componentId,"basic");this.suggestedTeams$=Cec(this.teamsService,this.teamSuggestionIds).pipe(C(function(A){for(var G=[],M=k(x.teamSuggestionIds),Q=M.next();!Q.done;Q=M.next()){Q=Q.value;var Y=A.get(Q);Y&&G.push(new BPc(Q,Y.collapsedPathNames))}return G}),Ze([]));this.myTeams$=bJ(this.teamsService,"").pipe(C(function(A){return A.map(function(G){return new BPc(G.teamId,G.pathNames)})}));
(0,D.combineLatest)([this.suggestedTeams$,this.myTeams$]).pipe(C(function(A){var G=k(A);A=G.next().value;G=G.next().value;return[].concat(cd(A),cd(G))}),C(Aua(function(A){return A.teamId})),af(this.destroyed$)).subscribe(function(A){x.teamOptions=A;x.selectedTeam=A[0]})};T(C0,rF);C0.\u0275dir=rF.\u0275dir;C0.prototype.ngOnInit=function(){"MISSING"===this.warningType?this.header="Add team to the component":"DELETED"===this.warningType&&(this.header="Change team mapping for this component")};
C0.prototype.confirm=function(){var a=this;if("CHANGE"===this.teamAction)0<this.parentComponentId?this.componentActions.get(this.parentComponentId).then(function(c){var d;CPc(a,(null==(d=c.team)?void 0:d.id)||"0",a.selectedTeam.teamId)}):CPc(this,"0",this.selectedTeam.teamId);else{var b=Yh(this.userPreferencesManager.teamWarningPreferencesSubject$.value);b.componentTeamWarnings.push({componentId:this.componentId,dismissMillis:(new Date).getTime()});sgc(this.userPreferencesManager,b).pipe(af(this.destroyed$)).subscribe(function(){a.analytics.trackEvent(ao.TEAM_WARNING,
"dismiss","componentId",a.componentId);var c;null==(c=a.dialogRef)||c.close()},function(){})}};var CPc=function(a,b,c){a.componentActions.updateTeam(a.componentId,{inherit:c===b,id:c}).then(function(d){a.componentFridge.announce(d);a.analytics.trackEvent(ao.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)})};
C0.prototype.selectOption=function(a){this.selectedTeam=a};C0.prototype.trackClick=function(a){this.analytics.trackEvent(ao.TEAM_WARNING,"click",a)};C0.prototype.getMomaTeamLink=function(){return"https://moma.corp.google.com/team/"+this.selectedTeam.teamId};C0.\u0275fac=function(a){return new (a||C0)(B(dB),B(bB),B(sU),B($I),B(kV),B(VJ),B(VG),B(EI),B(aH),B(AG))};
C0.\u0275cmp=Oc({type:C0,selectors:[["b-team-warning-dialog"]],features:[kf],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&&(F(0,"h1",0),P(1),H(),O(2,M$a,5,1,"div",1),
O(3,N$a,5,1,"div",1),O(4,O$a,7,1,"mat-radio-group",2),O(5,S$a,6,6,"div",3),F(6,"mat-dialog-actions")(7,"button",4),P(8," Cancel "),H(),F(9,"button",5),L("click",function(){return b.confirm()}),P(10," Confirm "),H()());a&2&&(z(1),Mf(b.header),z(1),E("ngIf",b.warningType===b.WarningType.MISSING),z(1),E("ngIf",b.warningType===b.WarningType.DELETED),z(1),E("ngIf",b.warningType===b.WarningType.MISSING),z(1),E("ngIf",0<b.teamOptions.length))},dependencies:[Rw,HB,tx,Ax,QA,RA,fB,gB,hB,iB,aO,bO,lD,EY],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 BPc=function(a,b){this.teamId=a;this.teamPath=b.join(" > ")};var D0=function(a,b){rF.call(this);this.matDialogService=a;this.analytics=b;this.teamSuggestions=[];this.messageOnly=!1;this.updateTeam=new kw};T(D0,rF);D0.\u0275dir=rF.\u0275dir;D0.prototype.ngOnInit=function(){};D0.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")};
D0.prototype.openDialog=function(){var a=this;this.analytics.trackEvent(ao.TEAM_WARNING,"open");$A(this.matDialogService.open(C0,{width:"580px",data:{warningType:this.warningType,componentId:this.componentId,parentComponentId:this.parentComponentId,teamSuggestionIds:this.teamSuggestions.map(function(b){return String(b.teamId)})}})).pipe(af(this.destroyed$)).subscribe(function(b){b&&a.updateTeam.emit(b)})};D0.\u0275fac=function(a){return new (a||D0)(B(eB),B(EI))};
D0.\u0275cmp=Oc({type:D0,selectors:[["b-team-warning"]],inputs:{warningType:"warningType",componentId:"componentId",parentComponentId:"parentComponentId",teamSuggestions:"teamSuggestions",messageOnly:"messageOnly"},outputs:{updateTeam:"updateTeam"},features:[kf,gd],decls:4,vars:2,consts:[["messageType","caution","format","app"],[4,"ngIf"],["format","fill","mat-button","",3,"click"]],template:function(a,b){a&1&&(F(0,"b-callout",0)(1,"b-callout-body"),P(2),H(),O(3,T$a,3,1,"b-callout-actions",1),H());
a&2&&(z(2),Lf(" ",b.warningMessage," "),z(1),E("ngIf",!b.messageOnly))},dependencies:[vQ,fX,gX,Rw],encapsulation:2});var DPc=new ad("DevopsGraphLogger",{providedIn:"root",factory:function(){return Kh}}),EPc=new ad("DEV_GRAPH",{providedIn:"root",factory:function(){var a;return pe(function(b){switch(b.nextAddress){case 1:return qe(b,2),b.yield(U$a(),4);case 4:a=b.yieldResult;Hs(b,3);break;case 2:return te(b),b.return();case 3:return qe(b,5),b.yield(a.loadGraph(),7);case 7:Hs(b,6);break;case 5:return te(b),b.return();case 6:return b.return(google.corp.devops.tools.graph)}})}});var E0=function(a,b,c,d){var e=this;this.session=a;this.theme=b;this.logger=c;this.graphBuilder=d;this.open$=new D.Subject;this.close$=new D.Subject;this.getContainer=function(){return document.getElementById("graph-sidebar-host")};this.onGraphClose=function(){var g=e.getContainer();null!=g&&(g.classList.remove("open"),e.close$.next())};this.onGraphOpen=function(){var g=e.getContainer();null!=g&&(g.classList.add("open"),e.open$.next())};this.init()};
E0.prototype.init=function(){var a=this,b,c,d,e,g;return pe(function(h){if(1==h.nextAddress)return b=a.getContainer(),!b||a.graphService&&a.graphController?h.return():h.yield(a.graphBuilder,2);c=h.yieldResult;d=V$a(a.session.getEnvironmentType());if(e=c.createService({environment:d}))g=a.theme.clientDarkmodeSubject.getValue(),a.graphService=e,a.graphController=e.createController({element:b,onClose:a.onGraphClose,onOpen:a.onGraphOpen,theme:g?"dark":void 0}),a.theme.clientDarkmode$.subscribe(function(l){var q;
null==(q=a.graphController)||q.setTheme(l?"dark":"light")});ue(h)})};var FPc=function(a,b){var c;return pe(function(d){switch(d.nextAddress){case 1:return qe(d,2),d.yield(a.init(),4);case 4:return null==a.graphService?d.return(new Set):d.yield(a.graphService.getAvailableIssueContexts(Number(b)),6);case 6:return d.return(d.yieldResult);case 5:Hs(d,0);break;case 2:return c=te(d),a.logger(c),d.return(new Set)}})};
E0.prototype.openSidebar=function(a,b){var c=this,d;return pe(function(e){switch(e.nextAddress){case 1:return e.yield(c.init(),2);case 2:if(!c.graphController)return e.return();qe(e,3);return e.yield(c.graphController.openIssueContext(Number(a),b),5);case 5:Hs(e,0);break;case 3:d=te(e),c.logger(d),ue(e)}})};
E0.prototype.close=function(){var a=this,b;return pe(function(c){switch(c.nextAddress){case 1:return c.yield(a.init(),2);case 2:if(!a.graphController)return c.return();qe(c,3);return c.yield(a.graphController.close(),5);case 5:Hs(c,0);break;case 3:b=te(c),a.logger(b),ue(c)}})};E0.\u0275fac=function(a){return new (a||E0)(t(Bs),t(XQ),t(DPc),t(EPc))};E0.\u0275prov=yc({token:E0,factory:E0.\u0275fac,providedIn:"root"});var F0=function(a,b,c,d,e,g,h,l){rF.call(this);var q=this;this.devopsGraph=a;this.paramsService=b;this.analytics=c;this.butterBar=d;this.router=e;this.route=g;this.activeSession=h;this.contextSensitiveRegistry=l;this.id$=this.contextSensitiveRegistry.getIssueId().pipe(C(function(v){return v||void 0}));this.contexts$=this.id$.pipe($e(function(v){return pe(function(x){return null!=q.devopsGraph.getContainer()&&v?x.return(FPc(q.devopsGraph,v).then(function(A){return{issueId:v,availablePanels:A}})):x.return(void 0)})}),
Xe({refCount:!1,bufferSize:1}));this.availablePanels$=this.contexts$.pipe(C(function(v){return v?v.availablePanels:new Set}));this.shouldShowInsightsGraphMenu$=this.contexts$.pipe(C(function(v){return!!v&&0<v.availablePanels.size&&q.activeSession.isInternalSession()&&null!=q.devopsGraph.getContainer()}));this.shouldShowInsightsGraphButton$=this.contexts$.pipe(C(function(v){return!!v&&0<v.availablePanels.size&&q.activeSession.isInternalSession()&&null!=q.devopsGraph.getContainer()&&v.availablePanels.has("deployments")}));
this.openSidebar.bind(this);this.subscriptions.add(this.contexts$.subscribe(function(v){if(v){v=v.availablePanels;q.track("ingress-view-"+(0<v.size?"enabled":"disabled"));v.has("deployments")&&q.track("ingress-view-deployments-enabled");var x=q.paramsService.params.showInsights;x&&("default"===x?0<v.size?q.openSidebar():ZG(q.butterBar,"Could not open Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."):v.has(x)?q.openSidebar(x):ZG(q.butterBar,"Could not open "+x+" Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."))}else q.devopsGraph.close()}));
this.subscriptions.add(this.devopsGraph.close$.subscribe(function(){GPc(q,null)}))};T(F0,rF);F0.\u0275dir=rF.\u0275dir;F0.prototype.openSidebar=function(a){var b=this,c,d,e,g;return pe(function(h){c=on(b.contexts$);if(!c)return h.return();d=c;e=d.issueId;GPc(b,null!=(g=a)?g:"default");return h.return(b.devopsGraph.openSidebar(e,{panel:a}))})};F0.prototype.track=function(a){this.analytics.trackEvent("sidebar",a)};
var GPc=function(a,b){a.router.navigate([],{relativeTo:a.route,queryParams:{showInsights:b},queryParamsHandling:"merge",replaceUrl:!0,preserveFragment:!0})};F0.\u0275fac=function(a){return new (a||F0)(t(E0),t(rK),t(EI),t(XG),t(IH),t(xm),t(Bs),t(zK))};F0.\u0275prov=yc({token:F0,factory:F0.\u0275fac,providedIn:"root"});var Y$a=function(a){return[a]},aab=function(){return[]},Rab=function(a){return{$implicit:a}},G0=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q){var Y=this;this.activeSession=a;this.editIssueService=b;this.issueFridge=c;this.issuePermissionService=d;this.issueDetailsBrain=e;this.constants=g;this.refreshMonitor=h;this.userPreferencesManager=l;this.documentationLinks=q;this.workspaceService=v;this.changelistApi=x;this.issueMarkAsDuplicateDialogService=A;this.analytics=G;this.issueInsightsSidebarService=M;this.issueLimits=
Q;this.issueId$=new D.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Ne());this.issue$=this.distinctIssueId$.pipe($e(function(W){return Y.editIssueService.editableIssue$(W)}));this.enablePeoplekitAc=pF(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=iN;this.trackCustomField=function(W,ia){return"{"+ia.componentId+", "+ia.customFieldId+"}"};this.FieldType=NJc;this.ListFieldType=WJc;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(C(function(W){return!Y.activeSession.isExternalSession()&&!W}));this.teamSuggestions$=this.issueDetailsBrain.teamSuggestions$;this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;this.canonicalIssueId$=
this.issueDetailsBrain.canonicalIssueId$;this.sloId$=this.issueDetailsBrain.sloId$;this.sloStatus$=this.issueDetailsBrain.sloStatus$;this.createdTimeMicros$=this.issueDetailsBrain.createdTimeMicros$;this.teamId$=this.issueDetailsBrain.teamId$;this.teamWarningType$=this.issueDetailsBrain.team$.pipe(C(L$a));this.component$=this.issueDetailsBrain.component$;this.effort$=this.issueDetailsBrain.effort$;this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.issueFields$=this.distinctIssueId$.pipe(C(function(W){return Y.editIssueService.issueFields(W)}),
Xe({refCount:!0,bufferSize:1}));this.isForgottenFourPrimary$=this.issueFields$.pipe($e(function(W){return W.isForgottenFourPrimary$}));this.showHiddenFieldsLabel$=this.issueFields$.pipe($e(function(W){return W.showHiddenFieldsLabel$}));this.hasHiddenFields$=this.issueFields$.pipe($e(function(W){return W.hasHiddenFields$}));this.isChangelistPrimary$=this.issueFields$.pipe($e(function(W){return W.isChangelistPrimary$}));this.isSeverityPrimary$=this.issueFields$.pipe($e(function(W){return W.isSeverityPrimary$}));
this.isSloStatusPrimary$=this.issueFields$.pipe($e(function(W){return W.isSloStatusPrimary$}));this.hiddenCustomFields$=this.issueFields$.pipe($e(function(W){return W.hiddenCustomFields$}));this.visibleCustomFields$=this.issueFields$.pipe($e(function(W){return W.visibleCustomFields$}));this.issueQuickActions$=this.distinctIssueId$.pipe(C(function(W){return Y.editIssueService.issueQuickActions(W)}),Xe({refCount:!0,bufferSize:1}));this.issueAssigneeQuickAction$=this.issueQuickActions$.pipe($e(function(W){return W.issueAssigneeQuickAction$}));
this.issueStatusQuickAction$=this.issueQuickActions$.pipe($e(function(W){return W.issueStatusQuickAction$}));this.priorityChoices=this.constants.priorities.map(function(W){return{value:W,displayText:W}});this.severityChoices=this.constants.severities.map(function(W){return{value:W,displayText:W}});this.typeChoices=this.constants.editIssueTypeChoices;this.teamHovercardInputs$=(0,D.combineLatest)([this.issueDetailsBrain.componentId$,this.teamId$]).pipe(C(function(W){var ia=k(W);W=ia.next().value;ia=
ia.next().value;return{teamId:ia?String(ia):"0",componentId:W?String(W):"0"}}));this.isTeamWarningDismissed$=(0,D.combineLatest)([this.issue$,this.userPreferencesManager.preferences$]).pipe(C(function(W){W=k(W);var ia=W.next().value,ja,Aa;return null==(ja=W.next().value.teamWarningPreferences)?void 0:null==(Aa=ja.componentTeamWarnings)?void 0:Aa.some(function(Da){return Da.componentId===ia.componentId})}));this.shouldDisplayTeamSuggestions$=(0,D.combineLatest)([this.issuePermissionService.userIsComponentAdmin$,
this.isTeamWarningDismissed$,this.teamWarningType$]).pipe(C(function(W){var ia=k(W);W=ia.next().value;var ja=ia.next().value;ia=ia.next().value;return pF(Y.activeSession,"enableTeamSuggestions")&&W&&!ja&&("MISSING"===ia||"DELETED"===ia)}));this.statusChoices$=this.canonicalIssueId$.pipe(C(function(W){return[].concat(cd(H$b.filter(function(ia){return"DUPLICATE"!==ia.value})),[{value:"DUPLICATE",displayText:W?"Duplicate of "+W:"Duplicate"}])}));this.workspaces$=this.distinctIssueId$.pipe($e(function(W){return mrc(Y.workspaceService,
W)}),Xe({refCount:!0,bufferSize:1}));this.pendingChangelists$=Sdc(this.refreshMonitor,this.distinctIssueId$).pipe($e(function(W){return Y.changelistApi.getPendingChangelistsForIssue(W)}),C(function(W){return W.changelistNumbers}),C(function(W){return{cls:W,hasError:!1}}),Ke(function(){return(0,D.of)({cls:[],hasError:!0})}),Xe({refCount:!0,bufferSize:1}));this.COLLABORATORS_HOVERCARD_CONFIG=Object.assign({},new XK,{position:[gic]});this.ACCESS_LIMITS_HOVERCARD_CONFIG=Object.assign({},new XK,{position:[{originX:"start",
originY:"center",overlayX:"end",overlayY:"center",offsetX:-30}]});this.reconcileView={assignee:function(W){var ia,ja;W.value=null!=(ja=null==(ia=on(Y.issue$))?void 0:ia.assignee)?ja:""},reporter:function(W){var ia,ja;W.value=null!=(ja=null==(ia=on(Y.issue$))?void 0:ia.reporter)?ja:""},verifier:function(W){var ia,ja;W.value=null!=(ja=null==(ia=on(Y.issue$))?void 0:ia.verifier)?ja:""},ccs:function(W){var ia,ja;W.values=null!=(ja=null==(ia=on(Y.issue$))?void 0:ia.cc)?ja:[]},collaborators:function(W){var ia,
ja;W.collaborators=null!=(ja=null==(ia=on(Y.issue$))?void 0:ia.collaborators)?ja:[]}}};G0.prototype.ngOnChanges=function(){this.issueId$.next(this.issueId)};
var Kab=function(a){var b=a.issuePermissionService.isCurrentUserCCd();a.analytics.trackEvent(ao.EDIT_ISSUE,"toggleCC (appbar)",(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.cc.filter(function(e){return!BK(a.issuePermissionService,e)}):[].concat(cd(c.cc),[a.activeSession.getUserEmail()]);return Nhc(a.editIssueService,a.issueId,d)},Gab=function(a){var b=a.issuePermissionService.isCurrentUserCollaborator();a.analytics.trackEvent(ao.EDIT_ISSUE,"toggleCollaborators (appbar)",
(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.collaborators.filter(function(e){return!BK(a.issuePermissionService,e)}):[].concat(cd(c.collaborators),[a.activeSession.getUserEmail()]);return Ohc(a.editIssueService,a.issueId,d)};G0.prototype.toggleAccessLimits=function(){var a=this;return pe(function(b){a.issueLimits.open({componentId:Number(on(a.issueDetailsBrain.componentId$)),issueId:a.issueId});ue(b)})};
G0.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};
var tab=function(a,b,c){return vab(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.assignee(b)})},dab=function(a,b,c){return fab(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.reporter(b)})},Aab=function(a,b,c){return Cab(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.verifier(b)})},Gbb=function(a,b,c){return Nhc(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.ccs(b)})},Fbb=function(a,b,c){return Ohc(a.editIssueService,
a.issueId,c).finally(function(){a.reconcileView.collaborators(b)})},Vp=function(a,b){a.analytics.trackEvent(ao.EDIT_ISSUE,"quickAction (sidebar)",null==b?void 0:b.displayText);return Lhc(a.editIssueService,a.issueId,b)},Ebb=function(a,b){var c;return pe(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(dBc(a.issueMarkAsDuplicateDialogService,a.issueId)):d.return(Khc(a.editIssueService,a.issueId,c)):d.return()})};G0.prototype.isSaving$=function(a){var b=this;return this.distinctIssueId$.pipe(C(function(c){return b.editIssueService.savingState(c)}),$e(function(c){return Vn(c.propertiesBeingSaved,Dn(String(a)))}))};G0.prototype.getAccessLimitLevelDisplay=function(a){return F7a(a)};
G0.\u0275fac=function(a){return new (a||G0)(B(Bs),B(QK),B(JI),B(CK),B(AK),B(cK),B(HI),B(VJ),B(OJ),B(VQ),B(oE),B(gT),B(EI),B(F0),B(k0))};
G0.\u0275cmp=Oc({type:G0,selectors:[["edit-issue-metadata"]],inputs:{issueId:"issueId"},features:[gd],decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["peoplekitReporter",""],[3,"name","title","type","value","choices","readonly","disabled","valueChange"],[1,"flex-wrappable","flex-kids-y"],[1,"flex-1",3,"name","title","type","tooltip","value","choices","hotkey","readonly","disabled","onHotkey","valueChange"],[1,"status-field-row"],[3,"name","title","type","value","choices","readonly","disabled",
"onedevHovercardActive","onedevHovercardTrigger","valueChange"],["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","collapsiblePanelTitle","teamId","valuesChange"],["ccsField",""],[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&&(O(0,Hbb,126,156,"ng-container",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.issue$))},dependencies:[wZ,Qw,Rw,Ww,HB,AZ,uZ,r0,m0,n0,o0,hN,UK,VK,ZK,WK,qOc,UP,B0,yZ,c0,lD,BJ,D0,z0,LP,MX,Bhc,Xw],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 H0=function(a,b,c,d,e,g,h){rF.call(this);var l=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.editStatusUpdateDialogService=c;this.statusUpdateService=d;this.issueCommentDialogsService=e;this.contextSensitiveRegistry=g;this.issuePermissionService=h;this.closeSidebar=new kw;this.navigateToNextIssue=new kw;this.navigateToPreviousIssue=new kw;this.issueId$=new D.ReplaySubject(1);this.issue$=this.issueId$.pipe(af(this.destroyed$),$e(this.issueFridge.watch));this.accessLevel$=this.issue$.pipe(C(function(q){var v;
return null==q?void 0:null==(v=q.accessLimit)?void 0:v.accessLevel}));this.events$=this.issueId$.pipe(af(this.destroyed$),$e(this.eventsForIssueFridge.watch),C(function(q){return(null==q?void 0:q.events)||[]}));this.firstEvent$=this.events$.pipe(C(function(q){return 0<q.length?q[0]:void 0}));this.statusUpdate$=this.issue$.pipe(C(function(q){return null==q?void 0:q.statusUpdate}));this.statusUpdateNote$=this.statusUpdate$.pipe(Ge(Ai),C(function(q){return{unlinkifiedComment:q.updateText,formattedComment:q.formattedText}}));
this.userCanEditStatusUpdate$=this.issuePermissionService.hasAclToEdit$;this.firstNote$=this.events$.pipe(af(this.destroyed$),C(function(q){if(q&&0<q.length&&q[0].commentNumber&&-1<q[0].commentNumber)return{commentNumber:q[0].commentNumber,unlinkifiedComment:q[0].unlinkifiedComment||"",formattedComment:q[0].formattedComment}}));this.userCanEditDescription$=this.firstEvent$.pipe($e(function(q){return q?l.issuePermissionService.canEditComment$(q):(0,D.of)(!1)}));this.isDescriptionEmpty$=this.events$.pipe(af(this.destroyed$),
C(function(q){return q&&0<q.length&&""===q[0].unlinkifiedComment}));this.isFieldsExpanded=this.isDescriptionExpanded=this.isStatusUpdateExpanded=!0;this.editTitleMode=!1;this.draftTitle="";this.isSavingTitle=!1;this.FormattingMode=D6b;this.destroyed$.subscribe(function(){Wp(l)});this.issueId$.pipe(af(this.destroyed$)).subscribe(function(){Wp(l)})};T(H0,rF);H0.\u0275dir=rF.\u0275dir;
H0.prototype.editStatusUpdate=function(){var a=this,b,c,d,e,g;return pe(function(h){switch(h.nextAddress){case 1:return h.yield((0,D.firstValueFrom)(a.issueId$),2);case 2:return b=h.yieldResult,(c=on(a.statusUpdate$))?h.yield((0,D.firstValueFrom)(a.accessLevel$),3):h.return();case 3:return e=(d=h.yieldResult)&&"INTERNAL"===d?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE",h.yield(a.editStatusUpdateDialogService.show(c,e),4);case 4:g=h.yieldResult;if(!g)return h.return();a.statusUpdateService.update(g).subscribe(function(l){lG(a.issueFridge,
b,function(q){q.statusUpdate=l});a.issueFridge.poke(b)});ue(h)}})};
var Ubb=function(a){var b,c;return pe(function(d){return 1==d.nextAddress?d.yield((0,D.firstValueFrom)(a.issueId$),2):3!=d.nextAddress?(b=d.yieldResult,(c=on(a.firstEvent$))?d.yield(qs(a.issueCommentDialogsService,b,c),3):d.return()):d.yield(a.eventsForIssueFridge.poke(b),0)})},Ibb=function(a){var b;return pe(function(c){if(1==c.nextAddress)return c.yield((0,D.firstValueFrom)(a.issue$),2);b=c.yieldResult;if(!b)return c.return();a.draftTitle=b.snapshot[0].title;a.editTitleMode=!0;ue(c)})},Wp=function(a){a.isSavingTitle||
(a.draftTitle="",a.editTitleMode=!1)};H0.prototype.saveTitle=function(){var a=this,b;return pe(function(c){if(1==c.nextAddress)return c.yield((0,D.firstValueFrom)(a.issue$),2);b=c.yieldResult;if(!b||b.snapshot[0].title===a.draftTitle)return Wp(a),c.return();a.isSavingTitle=!0;Udc(a.issueFridge,b.issueId,a.draftTitle).subscribe(function(){a.isSavingTitle=!1;Wp(a)});ue(c)})};
sh.Object.defineProperties(H0.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){a?(this.issueId$.next(String(a)),this.contextSensitiveRegistry.issueIdOverride$.next(String(a))):this.contextSensitiveRegistry.issueIdOverride$.next(null)}}});H0.\u0275fac=function(a){return new (a||H0)(B(JI),B(nG),B(VU),B(cV),B(fT),B(zK),B(CK))};
H0.\u0275cmp=Oc({type:H0,selectors:[["issue-sidebar"]],inputs:{issueId:"issueId"},outputs:{closeSidebar:"closeSidebar",navigateToNextIssue:"navigateToNextIssue",navigateToPreviousIssue:"navigateToPreviousIssue"},features:[kf],decls:14,vars:4,consts:[[1,"container","flex-kids-x"],[1,"details","flex-kids-y","padded-s-sides"],[1,"top-actions","flex-kids-x","space-between","border-bottom"],[1,"gap"],["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"],[4,"ngIf","ngIfElse"],["spinner",""],[1,"title","heading-m","padded-s-y","padded-s-left","flex-kids-x","align-items-center"],[1,"flex"],[4,"ngIf"],["mat-icon-button","","color","primary",
"class","gmat-button align-self-center","matTooltip","View full issue details","matTooltipPosition","below",3,"routerLink",4,"ngIf"],[1,"bv2-issue-metadata","padded-x","rounded","bordered","padded-s-y"],[1,"type-xs","muted","flex-kids-x","space-between","margin-x","padded-xs-y"],[1,"flex-kids-x","space-between","align-items-center","gap-s"],["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",
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 flex-kids-y",4,"ngIf"],["mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",1,"edit-icon","gmat-button","small",3,"matTooltipShowDelay","click"],["svgIcon","edit-outline",1,"icon-s"],[1,"full-width"],["matInput","","type","text","aria-label","Edit issue title",1,"padded-s",3,"cdkTextareaAutosize",
"cdkAutosizeMinRows","ngModel","bFocus","ngModelChange"],[1,"flex-kids-x","gap","margin-s-top","justify-flex-end"],["mat-stroked-button","",3,"click",4,"ngIf"],["mat-flat-button","","color","primary",3,"disabled","click"],["mat-stroked-button","",3,"click"],["mat-icon-button","","color","primary","matTooltip","View full issue details","matTooltipPosition","below",1,"gmat-button","align-self-center",3,"routerLink"],["svgIcon","arrow-forward"],[1,"status-update","padded-x","rounded","bordered","margin-s-bottom"],
[1,"type-xs","muted","flex-kids-x","space-between","padded-xs-y"],["svgIcon","group","color","primary",1,"icon-s"],["mat-icon-button","","class","gmat-button small edit-status-update","aria-label","Edit the status update","matTooltip","Edit the status update",3,"matTooltipShowDelay","click",4,"ngIf"],["mat-icon-button","","aria-label","Toggle the status update view for this issue","matTooltip","Toggle the status update view for this issue",1,"gmat-button","small",3,"matTooltipShowDelay","click"],
["mat-icon-button","","aria-label","Edit the status update","matTooltip","Edit the status update",1,"gmat-button","small","edit-status-update",3,"matTooltipShowDelay","click"],["svgIcon","arrow-down",1,"icon-s"],["svgIcon","arrow-up",1,"icon-s"],[1,"status-update-area"],[3,"issueId","note","issueAccessLevel","formattingMode",4,"ngIf"],[3,"issueId","note","issueAccessLevel","formattingMode"],[1,"description","padded-x","rounded","bordered","margin-s-bottom"],["svgIcon","description_24px","color","primary",
1,"icon-s"],["mat-icon-button","","class","gmat-button small edit-description","aria-label","Edit the description","matTooltip","Edit the description",3,"matTooltipShowDelay","click",4,"ngIf"],["mat-icon-button","","aria-label","Toggle the description view for this issue","matTooltip","Toggle the description view for this issue",1,"gmat-button","small",3,"matTooltipShowDelay","click"],["mat-icon-button","","aria-label","Edit the description","matTooltip","Edit the description",1,"gmat-button","small",
"edit-description",3,"matTooltipShowDelay","click"],[1,"description-area"],["emptyDescription",""],[1,"bv2-event-note","margin-s-bottom","italic"],[1,"fields-area","flex-kids-y"],[3,"issueId"],[1,"text-center"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"button",4),L("click",function(){return b.navigateToPreviousIssue.emit()}),I(5,"mat-icon",5),H(),F(6,"button",6),L("click",function(){return b.navigateToNextIssue.emit()}),I(7,"mat-icon",7),H()(),F(8,"button",8),
L("click",function(){return b.closeSidebar.emit()}),I(9,"mat-icon",9),H()(),O(10,fcb,20,19,"ng-container",10),R(11,"async"),H()(),O(12,gcb,2,0,"ng-template",null,11,gg));if(a&2){var c=Kf(13);z(10);E("ngIf",S(11,2,b.issue$))("ngIfElse",c)}},dependencies:[QA,lD,wg,tx,Ax,uB,lB,xB,KH,Rw,HB,WM,G0,wP,hV,Xw],styles:[".container[_ngcontent-%COMP%]{width:400px;height:100%;min-height:700px}.title[_ngcontent-%COMP%]{overflow-wrap:anywhere}.title[_ngcontent-%COMP%]   .edit-icon[_ngcontent-%COMP%]{vertical-align:bottom;opacity:0}.title[_ngcontent-%COMP%]   .edit-icon[_ngcontent-%COMP%]:focus{opacity:1}.title[_ngcontent-%COMP%]:hover   .edit-icon[_ngcontent-%COMP%]{opacity:1}.title[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0;font-weight:400;padding:8px}.details[_ngcontent-%COMP%]{width:-webkit-fill-available;width:-moz-fill-available;width:-moz-available;width:fill-available}.description[_ngcontent-%COMP%], .status-update[_ngcontent-%COMP%]{max-height:25%;overflow-wrap:anywhere}.description.area-expanded[_ngcontent-%COMP%], .status-update.area-expanded[_ngcontent-%COMP%]{padding-bottom:32px}.bv2-issue-metadata[_ngcontent-%COMP%]{padding:0;overflow-y:hidden}.bv2-issue-metadata.area-expanded[_ngcontent-%COMP%]{height:100%}.description-area[_ngcontent-%COMP%], .fields-area[_ngcontent-%COMP%], .status-update-area[_ngcontent-%COMP%]{overflow-y:scroll;overflow-x:hidden;height:90%;min-height:80px}.card-expanded[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);margin-bottom:8px}.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 HPc=[[["",8,"tooltip-content"]],[["",8,"chip-content"]]],I0=function(){this.compactMode=this.labelOnlyMode=!1};I0.prototype.ngOnInit=function(){};I0.\u0275fac=function(a){return new (a||I0)};
I0.\u0275cmp=Oc({type:I0,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&&(Ff(HPc),F(0,"span",0)(1,"onedev-hovercard",null,1)(3,"div",2)(4,"div",3),Gf(5),H()()(),F(6,"div",4)(7,"span",5),Gf(8,1),H()()());if(a&2){var c=Kf(2),d;z(3);of("aria-label",b.hovercardAriaLabel);z(3);E("onedevHovercardTrigger",c)("onedevHovercardActive",!b.labelOnlyMode);z(1);xf("compact-chip",b.compactMode);E("ngClass",null!==(d=b.labelClass)&&void 0!==d?d:"")}},dependencies:[Pw,UK,ZK],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 J0=function(a){this.documentationLinks=a;this.documentationLink=ws()};J0.prototype.ngOnChanges=function(){this.retentionState?this.retentionExpireTime=Cl(rn(this.retentionState.scheduledDeletionTime)):this.retentionExpireTime=void 0};J0.\u0275fac=function(a){return new (a||J0)(B(OJ))};
J0.\u0275cmp=Oc({type:J0,selectors:[["retention-help-text"]],inputs:{retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[gd],decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["indefinite",""],["target","_blank",3,"href"],[3,"mode","timestamp"]],template:function(a,b){a&1&&O(0,jcb,6,3,"ng-container",0);a&2&&E("ngIf",b.retentionState&&b.modifiedTime)},dependencies:[Rw,FL],encapsulation:2});var K0=function(a){this.dateFormatter=a;this.compactMode=!1;this.text=""};K0.prototype.ngOnChanges=function(){var a;null!=(null==(a=this.retentionState)?void 0:a.scheduledDeletionTime)?(a=Cl(rn(this.retentionState.scheduledDeletionTime)),this.text=lLa(a,!this.compactMode)):this.text="Indefinite"};K0.\u0275fac=function(a){return new (a||K0)(B(EL))};
K0.\u0275cmp=Oc({type:K0,selectors:[["retention-text"]],inputs:{retentionState:"retentionState",compactMode:"compactMode"},features:[gd],decls:1,vars:1,template:function(a,b){a&1&&P(0);a&2&&Mf(b.text)},encapsulation:2});var L0=function(){this.showRetentionInfo=this.dangerZone=this.labelOnlyMode=this.compactMode=this.showOnlyInDangerZone=!1};L0.prototype.ngOnChanges=function(){this.retentionState&&this.retentionState.retentionPeriod&&this.retentionState.scheduledDeletionTime?(this.dangerZone=lcb(this.retentionState),this.showRetentionInfo=this.showOnlyInDangerZone&&this.dangerZone||!this.showOnlyInDangerZone):this.showRetentionInfo=!1};L0.\u0275fac=function(a){return new (a||L0)(B(OJ))};
L0.\u0275cmp=Oc({type:L0,selectors:[["b-retention-chip"]],inputs:{showOnlyInDangerZone:"showOnlyInDangerZone",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode",retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[gd],decls:1,vars:1,consts:[["hovercardAriaLabel","Retention Chip Hovercard",3,"compactMode","labelClass","labelOnlyMode",4,"ngIf"],["hovercardAriaLabel","Retention Chip Hovercard",3,"compactMode","labelClass","labelOnlyMode"],[1,"chip-content"],[3,"retentionState",
"compactMode"],[1,"tooltip-content"],[3,"retentionState","modifiedTime"]],template:function(a,b){a&1&&O(0,kcb,5,7,"b-base-chip",0);a&2&&E("ngIf",b.showRetentionInfo)},dependencies:[Rw,I0,K0,J0],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 IPc=Tg("transform",[Wg("open, open-instant",Vg({transform:"none",visibility:"visible"})),Wg("void",Vg({"box-shadow":"none",visibility:"hidden"})),Xg("void => open-instant",Ug("0ms")),Xg("void <=> open, open-instant => void",Ug("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))]);var JPc=["*"],KPc=["content"],LPc=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],MPc=new ad("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:ocb}),NPc=new ad("MAT_DRAWER_CONTAINER"),M0=function(a,b,c,d,e){Nz.call(this,c,d,e);this._changeDetectorRef=a;this._container=b};T(M0,Nz);M0.\u0275dir=Nz.\u0275dir;M0.prototype.ngAfterContentInit=function(){var a=this;this._container._contentMarginChanges.subscribe(function(){a._changeDetectorRef.markForCheck()})};
M0.\u0275fac=function(a){return new (a||M0)(B(Kw),B(Ec(function(){return N0})),B(Dd),B(Mz),B(df))};
M0.\u0275cmp=Oc({type:M0,selectors:[["mat-drawer-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content"],hostVars:4,hostBindings:function(a,b){a&2&&wf("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px")},features:[Of([{provide:Nz,useExisting:M0}]),kf],ngContentSelectors:JPc,decls:1,vars:0,template:function(a){a&1&&(Ff(),Gf(0))},encapsulation:2,changeDetection:0});
var O0=function(a,b,c,d,e,g,h,l){var q=this;this._elementRef=a;this._focusTrapFactory=b;this._focusMonitor=c;this._platform=d;this._ngZone=e;this._interactivityChecker=g;this._doc=h;this._container=l;this._elementFocusedBeforeDrawerWasOpened=null;this._enableAnimations=!1;this._position="start";this._mode="over";this._opened=this._disableClose=!1;this._animationStarted=new D.Subject;this._animationEnd=new D.Subject;this._animationState="void";this.openedChange=new kw(!0);this._openedStream=this.openedChange.pipe(Ge(function(v){return v}),
C(function(){}));this.openedStart=this._animationStarted.pipe(Ge(function(v){return v.fromState!==v.toState&&0===v.toState.indexOf("open")}),Se());this._closedStream=this.openedChange.pipe(Ge(function(v){return!v}),C(function(){}));this.closedStart=this._animationStarted.pipe(Ge(function(v){return v.fromState!==v.toState&&"void"===v.toState}),Se());this._destroyed=new D.Subject;this.onPositionChanged=new kw;this._modeChanged=new D.Subject;this.openedChange.subscribe(function(v){v?(q._doc&&(q._elementFocusedBeforeDrawerWasOpened=
q._doc.activeElement),q._takeFocus()):q._isFocusWithinDrawer()&&q._restoreFocus(q._openedVia||"program")});this._ngZone.runOutsideAngular(function(){(0,D.fromEvent)(q._elementRef.nativeElement,"keydown").pipe(Ge(function(v){return 27===v.keyCode&&!q.disableClose&&!Jg(v)}),af(q._destroyed)).subscribe(function(v){return q._ngZone.run(function(){q.close();v.stopPropagation();v.preventDefault()})})});this._animationEnd.pipe(Ne(function(v,x){return v.fromState===x.fromState&&v.toState===x.toState})).subscribe(function(v){var x=
v.fromState;v=v.toState;(0===v.indexOf("open")&&"void"===x||"void"===v&&0===x.indexOf("open"))&&q.openedChange.emit(q._opened)})};f=O0.prototype;f._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)};
f._focusByCssSelector=function(a,b){(a=this._elementRef.nativeElement.querySelector(a))&&this._forceFocus(a,b)};f._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":OTb(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)}}};
f._restoreFocus=function(a){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?cy(this._focusMonitor,this._elementFocusedBeforeDrawerWasOpened,a):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)};f._isFocusWithinDrawer=function(){var a=this._doc.activeElement;return!!a&&this._elementRef.nativeElement.contains(a)};
f.ngAfterViewInit=function(){this._isAttached=!0;this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement);this._updateFocusTrapState();"end"===this._position&&this._updatePositionInParent("end")};f.ngAfterContentChecked=function(){this._platform.isBrowser&&(this._enableAnimations=!0)};
f.ngOnDestroy=function(){this._focusTrap&&this._focusTrap.destroy();var a;null==(a=this._anchor)||a.remove();this._anchor=null;this._animationStarted.complete();this._animationEnd.complete();this._modeChanged.complete();this._destroyed.next();this._destroyed.complete()};f.open=function(a){return this.toggle(!0,a)};f.close=function(){return this.toggle(!1)};f._closeViaBackdropClick=function(){return this._setOpen(!1,!0,"mouse")};
f.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};f._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(Oe()).subscribe(function(g){return e(g?"open":"close")})})};
f._getWidth=function(){return this._elementRef.nativeElement?this._elementRef.nativeElement.offsetWidth||0:0};f._updateFocusTrapState=function(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)};f._updatePositionInParent=function(a){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)};
sh.Object.defineProperties(O0.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=Fg(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=Fg(a);this._autoFocus=a}},opened:{configurable:!0,enumerable:!0,get:function(){return this._opened},set:function(a){this.toggle(Fg(a))}}});O0.\u0275fac=function(a){return new (a||O0)(B(Dd),B(Wx),B(by),B(Rx),B(df),B(Sx),B(qh,8),B(NPc,8))};
O0.\u0275cmp=Oc({type:O0,selectors:[["mat-drawer"]],viewQuery:function(a,b){a&1&&bg(KPc,5);if(a&2){var c;ag(c=dg())&&(b._content=c.first)}},hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer"],hostVars:12,hostBindings:function(a,b){a&1&&uka("@transform.start",function(c){return b._animationStarted.next(c)})("@transform.done",function(c){return b._animationEnd.next(c)});a&2&&(of("align",null),Ef("@transform",b._animationState),xf("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"],ngContentSelectors:JPc,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],
["content",""]],template:function(a){a&1&&(Ff(),F(0,"div",0,1),Gf(2),H())},dependencies:[Nz],encapsulation:2,data:{animation:[IPc]},changeDetection:0});
var N0=function(a,b,c,d,e,g,h){var l=this;g=void 0===g?!1:g;this._dir=a;this._element=b;this._ngZone=c;this._changeDetectorRef=d;this._animationMode=h;this._drawers=new eg;this.backdropClick=new kw;this._destroyed=new D.Subject;this._doCheckSubject=new D.Subject;this._contentMargins={left:null,right:null};this._contentMarginChanges=new D.Subject;a&&a.change.pipe(af(this._destroyed)).subscribe(function(){l._validateDrawers();P0(l)});e.change().pipe(af(this._destroyed)).subscribe(function(){return P0(l)});
this._autosize=g};
N0.prototype.ngAfterContentInit=function(){var a=this;this._allDrawers.changes.pipe(Ze(this._allDrawers),af(this._destroyed)).subscribe(function(b){a._drawers.reset(b.filter(function(c){return!c._container||c._container===a}));$f(a._drawers)});this._drawers.changes.pipe(Ze(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))&&P0(a);
a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._doCheckSubject.pipe(Le(10),af(a._destroyed)).subscribe(function(){return P0(a)})})};N0.prototype.ngOnDestroy=function(){this._contentMarginChanges.complete();this._doCheckSubject.complete();this._drawers.destroy();this._destroyed.next();this._destroyed.complete()};N0.prototype.open=function(){this._drawers.forEach(function(a){return a.open()})};N0.prototype.close=function(){this._drawers.forEach(function(a){return a.close()})};
var P0=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)})};
f=N0.prototype;f.ngDoCheck=function(){var a=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return a._doCheckSubject.next()})};
f._watchDrawerToggle=function(a){var b=this;a._animationStarted.pipe(Ge(function(c){return c.fromState!==c.toState}),af(this._drawers.changes)).subscribe(function(c){"open-instant"!==c.toState&&"NoopAnimations"!==b._animationMode&&b._element.nativeElement.classList.add("mat-drawer-transition");P0(b);b._changeDetectorRef.markForCheck()});"side"!==a.mode&&a.openedChange.pipe(af(this._drawers.changes)).subscribe(function(){return b._setContainerClass(a.opened)})};
f._watchDrawerPosition=function(a){var b=this;a&&a.onPositionChanged.pipe(af(this._drawers.changes)).subscribe(function(){b._ngZone.onMicrotaskEmpty.pipe(Oe()).subscribe(function(){b._validateDrawers()})})};f._watchDrawerMode=function(a){var b=this;a&&a._modeChanged.pipe(af((0,D.merge)(this._drawers.changes,this._destroyed))).subscribe(function(){P0(b);b._changeDetectorRef.markForCheck()})};
f._setContainerClass=function(a){var b=this._element.nativeElement.classList;a?b.add("mat-drawer-container-has-open"):b.remove("mat-drawer-container-has-open")};f._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)};
f._isPushed=function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode};f._onBackdropClicked=function(){this.backdropClick.emit();this._closeModalDrawersViaBackdrop()};f._closeModalDrawersViaBackdrop=function(){var a=this;[this._start,this._end].filter(function(b){return b&&!b.disableClose&&a._canHaveBackdrop(b)}).forEach(function(b){return b._closeViaBackdropClick()})};
f._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)};f._canHaveBackdrop=function(a){return"side"!==a.mode||!!this._backdropOverride};f._isDrawerOpen=function(a){return null!=a&&a.opened};
sh.Object.defineProperties(N0.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=Fg(a)}},hasBackdrop:{configurable:!0,enumerable:!0,get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(a){this._backdropOverride=
null==a?null:Fg(a)}},scrollable:{configurable:!0,enumerable:!0,get:function(){return this._userContent||this._content}}});N0.\u0275fac=function(a){return new (a||N0)(B(Cz,8),B(Dd),B(df),B(Kw),B(Qz),B(MPc),B(wv,8))};
N0.\u0275cmp=Oc({type:N0,selectors:[["mat-drawer-container"]],contentQueries:function(a,b,c){a&1&&(cg(c,M0,5),cg(c,O0,5));if(a&2){var d;ag(d=dg())&&(b._content=d.first);ag(d=dg())&&(b._allDrawers=d)}},viewQuery:function(a,b){a&1&&bg(M0,5);if(a&2){var c;ag(c=dg())&&(b._userContent=c.first)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container"],hostVars:2,hostBindings:function(a,b){a&2&&xf("mat-drawer-container-explicit-backdrop",b._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},
outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Of([{provide:NPc,useExisting:N0}])],ngContentSelectors:["mat-drawer","mat-drawer-content","*"],decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(a,b){a&1&&(Ff(LPc),O(0,mcb,1,2,"div",0),Gf(1),Gf(2,1),O(3,ncb,2,0,"mat-drawer-content",1));a&2&&(E("ngIf",b.hasBackdrop),z(3),E("ngIf",!b._content))},dependencies:[Rw,
M0],styles:['.mat-drawer-container{position:relative;z-index:1;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}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;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)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display: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 OPc=["*"],PPc=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Q0=function(a,b,c,d,e){M0.call(this,a,b,c,d,e)};T(Q0,M0);Q0.\u0275dir=M0.\u0275dir;Q0.\u0275fac=function(a){return new (a||Q0)(B(Kw),B(Ec(function(){return R0})),B(Dd),B(Mz),B(df))};
Q0.\u0275cmp=Oc({type:Q0,selectors:[["mat-sidenav-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(a,b){a&2&&wf("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px")},features:[Of([{provide:Nz,useExisting:Q0}]),kf],ngContentSelectors:OPc,decls:1,vars:0,template:function(a){a&1&&(Ff(),Gf(0))},encapsulation:2,changeDetection:0});
var S0=function(){O0.apply(this,arguments);this._fixedInViewport=!1;this._fixedBottomGap=this._fixedTopGap=0};T(S0,O0);
sh.Object.defineProperties(S0.prototype,{fixedInViewport:{configurable:!0,enumerable:!0,get:function(){return this._fixedInViewport},set:function(a){this._fixedInViewport=Fg(a)}},fixedTopGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedTopGap},set:function(a){this._fixedTopGap=Ig(a)}},fixedBottomGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedBottomGap},set:function(a){this._fixedBottomGap=Ig(a)}}});
S0.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(S0)))(b||S0)}}();
S0.\u0275cmp=Oc({type:S0,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(a,b){a&2&&(of("align",null),wf("top",b.fixedInViewport?b.fixedTopGap:null,"px")("bottom",b.fixedInViewport?b.fixedBottomGap:null,"px"),xf("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"],features:[kf],ngContentSelectors:OPc,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(a){a&1&&(Ff(),F(0,"div",0,1),Gf(2),H())},dependencies:[Nz],encapsulation:2,data:{animation:[IPc]},changeDetection:0});var R0=function(){N0.apply(this,arguments);this._content=this._allDrawers=void 0};T(R0,N0);
R0.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(R0)))(b||R0)}}();
R0.\u0275cmp=Oc({type:R0,selectors:[["mat-sidenav-container"]],contentQueries:function(a,b,c){a&1&&(cg(c,Q0,5),cg(c,S0,5));if(a&2){var d;ag(d=dg())&&(b._content=d.first);ag(d=dg())&&(b._allDrawers=d)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(a,b){a&2&&xf("mat-drawer-container-explicit-backdrop",b._backdropOverride)},exportAs:["matSidenavContainer"],features:[Of([{provide:NPc,useExisting:R0}]),kf],ngContentSelectors:["mat-sidenav",
"mat-sidenav-content","*"],decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(a,b){a&1&&(Ff(PPc),O(0,pcb,1,2,"div",0),Gf(1),Gf(2,1),O(3,qcb,2,0,"mat-sidenav-content",1));a&2&&(E("ngIf",b.hasBackdrop),z(3),E("ngIf",!b._content))},dependencies:[Rw,Q0],styles:['.mat-drawer-container{position:relative;z-index:1;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}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;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)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display: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 T0=function(){};T0.\u0275fac=function(a){return new (a||T0)};T0.\u0275mod=Qc({type:T0});T0.\u0275inj=zc({imports:[ex,hA,Tz,Tz,hA]});var QPc=["issueSidenavContainer"],bdb=function(a,b,c){return{low:a,high:b,p0:c}},Idb=function(a){return{id:a}},neb=function(a,b){return{"bv2-grid-cell-variable-height":a,"rtl-component-path":b}},RPc=function(){return[]},U0=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q){var Y=this;this.activeSession=a;this.cdr=b;this.elementRef=c;this.teamsService=d;this.ngZone=e;this.userPreferencesManager=g;this.hotlistFridge=h;this.issueFridge=l;this.bLocation=q;this.issuePagination=v;this.paths=x;this.errorHandler=A;
this.$log=G;this.domSafe=M;this.currentTracker=Q;this.STATUS_ICON=E$b;this.STATUS_FULL_TEXT=dG;this.STATUS_TERSE=$F;this.lastCheckedIndex=null;this.focusedRowIndexChange=new kw;this.columns=[];this.columnsChange=new kw;this.enableColumnSaving=!1;this.sort=null;this.enableSidebar=!1;this.sortChange=new kw;this.rowClick=new kw;this.init=new kw;this.onRowDragDrop=new kw;this.onNextPage=new kw;this.onPrevPage=new kw;this.selectionCallbacks=[];this.isLoadingTeams=!0;this.isTotalEstimatesEnabled=pF(this.activeSession,
"enableAggregationRules");this.isIssueSidebarOpen=this.isIssueSidebarEnabled=!1;this.destroyed$=new D.ReplaySubject(1);this.starInProgress={};this.readUnreadOptOut=pF(this.activeSession,"readUnreadOptOut");b=ua(n8a);a.isInternalSession()||(ra(b,"minSlo"),ra(b,"responseSlo"),ra(b,"assignmentSlo"),ra(b,"closureSlo"),ra(b,"deletionTime"),ra(b,"team"),ra(b,"estimate"),ra(b,"estimateTotalOpen"),ra(b,"estimateTotalComplete"));this.availableColumns=b.map(Rp);this.dragDropLogic=new oOc({ngZone:this.ngZone,
nativeElement:this.elementRef.nativeElement,rowFinder:function(W){return SPc(Y,W)},onRowDragDrop:function(W){Y.onRowDragDrop.emit(W)}})};f=U0.prototype;f.ngOnInit=function(){var a=this;this.dragDropLogic.setup();this.userPreferencesManager.listViewPreferences$.pipe(af(this.destroyed$)).subscribe(function(b){a.listViewPrefs=b;a.cdr.detectChanges()});this.isIssueSidebarEnabled=this.enableSidebar&&pF(this.activeSession,"enableIssueSidebar")||!1;this.init.emit(this)};
f.ngOnChanges=function(a){if(a.searchResults){var b,c=$pa((null==(b=this.searchResults)?void 0:b.issues.map(function(e){return new Set([].concat(cd(e.hotlistId||[])))}))||[]);this.hotlistFridge.watchSet([].concat(cd(c)))}if(a.searchResults||a.columns)for(b=k(this.columns),c=b.next();!c.done;c=b.next())"TEAM"===c.value.label&&TPc(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}))||[]);qqa(a,d)||V0(this)}};f.ngOnDestroy=function(){this.dragDropLogic.tearDown();this.destroyed$.next()};f.focus=function(){this.grid.focus()};f.convertIssueStatusStrToTag=function(a){return tj[a]};f.selectAll=function(){if(this.searchResults){for(var a=k(this.searchResults.issues),b=a.next();!b.done;b=a.next())b.value.selected=!0;this.cdr.detectChanges()}V0(this)};
var UPc=function(a){if(a.searchResults){for(var b=k(a.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.cdr.detectChanges()}V0(a)};U0.prototype.hasSelectedIssues=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};var ycb=function(a){return a.searchResults?a.searchResults.issues.every(function(b){return b.selected}):!1};
U0.prototype.someIssuesSelected=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};U0.prototype.getHeaderCheckboxState=function(){if(!this.searchResults)return"unchecked";for(var a=!0,b=!1,c=k(this.searchResults.issues),d=c.next();!d.done;d=c.next())d.value.selected?b=!0:a=!1;return a?"checked":b?"indeterminate":"unchecked"};
U0.prototype.getSelectedIssues=function(){return this.searchResults?this.searchResults.issues.filter(function(a){return a.selected}):[]};var WPc=function(a){if(VPc(a)&&null!=a.focusedRowIndex&&a.searchResults){var b=a.searchResults.issues[a.focusedRowIndex];b&&(b.selected=!b.selected,a.cdr.detectChanges(),V0(a))}};
U0.prototype.toggleAllIssueSelection=function(){if(this.searchResults){for(var a=!this.someIssuesSelected(),b=k(this.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=a;this.cdr.detectChanges();V0(this)}};
var rcb=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()&&jHc(a.issuePagination,a.searchResults.endIndex+1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onNextPage.emit()})},scb=function(a){null!=a.focusedRowIndex&&0<a.focusedRowIndex?(a.focusedRowIndex--,a.focusedRowIndexChange.emit(a.focusedRowIndex),
a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasPreviousPage()&&jHc(a.issuePagination,a.searchResults.startIndex-1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onPrevPage.emit()})},XPc=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.url(a.paths.editIssue(c.issueId)))};
U0.prototype.getFocusedIssue=function(){return VPc(this)&&null!=this.focusedRowIndex&&this.searchResults?this.searchResults.issues[this.focusedRowIndex]:null};var YPc=function(a,b){a.selectionCallbacks.push(b);b()};
U0.prototype.onCheckboxClicked=function(a,b,c){if(a.shiftKey&&(a=c.selected,null!==this.lastCheckedIndex&&this.searchResults)){if(b<this.lastCheckedIndex){var d=b+1;var e=this.lastCheckedIndex+1}else d=this.lastCheckedIndex,e=b;d=this.searchResults.issues.slice(d,e);d=k(d);for(e=d.next();!e.done;e=d.next())e.value.selected=!a;V0(this)}c.selected=!c.selected;this.lastCheckedIndex=b;V0(this)};
var V0=function(a){a=k(a.selectionCallbacks);for(var b=a.next();!b.done;b=a.next())b=b.value,b()},ZPc=function(a){VPc(a)&&null!=a.focusedRowIndex&&a.searchResults&&a.toggleStar(a.searchResults.issues[a.focusedRowIndex])},$Pc=function(a,b){b=void 0===b?!0:b;var c=a.getSelectedIssues();if(0!==c.length){for(var d=k(c),e=d.next();!e.done;e=d.next())e.value.isRead=b;a.cdr.detectChanges();LI(a.issueFridge,c.map(function(g){return g.issueId}),{markRead:b}).then(function(g){for(var h=k(c),l=h.next();!l.done;l=
h.next()){var q=void 0;l.value.lastViewedTime=null!=(q=g)?q:null}}).catch(function(){for(var g=k(c),h=g.next();!h.done;h=g.next())h=h.value,h.isRead=!!h.lastViewedTime&&h.lastViewedTime>=h.majorModifiedTime}).finally(function(){a.cdr.detectChanges()})}};
U0.prototype.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,Tdc(this.issueFridge,String(a.issueId),a.starred).pipe(Oe(),af(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()}))};
U0.prototype.issueDescription=function(a){return(a.isClosed?"Closed ":this.readUnreadOptOut||a.isRead?"":"Unread ")+"Issue ID "+a.id+" titled: "+a.title};
var VPc=function(a){return null!=a.searchResults&&null!=a.focusedRowIndex&&0<=a.focusedRowIndex&&a.focusedRowIndex<a.searchResults.issues.length},SPc=function(a,b){return b?a.searchResults?a.searchResults.issues.findIndex(function(c){return c.id===b}):-1:-1},TPc=function(a){if(a.searchResults){for(var b=new Set,c=k(a.searchResults.issues),d=c.next();!d.done;d=c.next())d=String(d.value.teamId),"0"!==d&&b.add(d);0<b.size?(a.isLoadingTeams=!0,Cec(a.teamsService,[].concat(cd(b))).pipe(af(a.destroyed$)).subscribe(function(e){if(a.searchResults)for(var g=
k(a.searchResults.issues),h=g.next();!h.done;h=g.next()){h=h.value;var l=String(h.teamId);"0"!==l&&(l=e.get(l))&&(h.team=l.name)}a.isLoadingTeams=!1;a.cdr.detectChanges()})):a.isLoadingTeams=!1}};f=U0.prototype;f.isIssueGridColumn=function(){return!0};f.isLowPriority=function(a){return 2<=Number(a.priority)};f.isHighPriority=function(a){return 2>Number(a.priority)};f.isP0Priority=function(a){return 0===Number(a.priority)};
f.getComponentPath=function(a){return $h(a)?a.join(" > "):(a=ds(this.currentTracker,a))&&a.componentPathName?a.componentPathName.join(" > "):""};U0.\u0275fac=function(a){return new (a||U0)(B(Bs),B(AI,2),B(Dd),B($I),B(df),B(VJ),B(pI),B(JI),B(PH),B(mX),B(QH),B(aH),B($G),B(vL),B(PL))};
U0.\u0275cmp=Oc({type:U0,selectors:[["b-issues-grid"]],viewQuery:function(a,b){a&1&&(bg(T_,7),bg(QPc,5));if(a&2){var c;ag(c=dg())&&(b.grid=c.first);ag(c=dg())&&(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:[Of([AI]),gd],decls:53,vars:54,consts:[["hasBackdrop","false"],["issueSidenavContainer",""],["mode","side","position","end",3,"opened",4,"ngIf"],[1,"keep-focus-ring",3,"list","columns","focusedRowIndex","scrollContainer","sort","rowLabelRenderer","columnsChange","focusedRowIndexChange","sortChange","rowClick"],["class","focus-indicator",4,"forHeaderCell"],["class","drag-handle",4,"forHeaderCell"],["class","selected-box",
4,"forHeaderCell"],[4,"forHeaderCell"],[4,"forHeaderCellDefault"],["class","focus-indicator",4,"forViewCell"],["class","drag-handle","draggable","true",4,"forViewCell"],["class","selected-box",4,"forViewCell"],["class","star-cell",4,"forViewCell"],[4,"forViewCell"],["data-template","issueId","class","clickable",4,"forViewCell"],["class","clickable title-cell",3,"bv2-grid-cell-variable-height",4,"forViewCell"],["class","priority-cell clickable",4,"forViewCell"],["class","severity-cell clickable",4,
"forViewCell"],["data-stable-cell","status","class","clickable",4,"forViewCell"],["data-stable-cell","type","class","clickable",4,"forViewCell"],["class","clickable",4,"forViewCell"],["class","clickable datetime-cell",4,"forViewCell"],["class","componentPath-cell clickable",3,"ngClass",4,"forViewCell"],["class","clickable first-letter-capitalized",4,"forViewCell"],["issueWithHovercard",""],["mode","side","position","end",3,"opened"],[3,"issueId","closeSidebar","navigateToNextIssue","navigateToPreviousIssue"],
[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"],[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,"accessLevel","compactMode"],[3,"trackerId","compactMode"],[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],
[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href"],["class","bv2-hotlist-chips",4,"ngIf"],[1,"bv2-hotlist-chips"],[3,"id","removable",4,"ngFor","ngForOf"],[3,"id","removable"],[1,"priority-cell","clickable"],[1,"bv2-priority",3,"ngClass"],[1,"severity-cell","clickable"],["data-stable-cell","status",1,"clickable"],[3,"ngSwitch","title"],["class","icon-s",3,"svgIcon",4,"ngSwitchCase"],[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&&(F(0,"div")(1,"mat-sidenav-container",0,1),O(3,tcb,2,
2,"mat-sidenav",2),F(4,"mat-sidenav-content")(5,"pop-grid",3),L("columnsChange",function(c){b.columns=c;b.columnsChange.emit(c);b.cdr.detectChanges()})("focusedRowIndexChange",function(c){b.focusedRowIndex=c;return b.focusedRowIndexChange.emit(b.focusedRowIndex)})("sortChange",function(c){return b.sortChange.emit(c)})("rowClick",function(c){b.isIssueSidebarEnabled?b.isIssueSidebarOpen=!0:b.rowClick.emit(c)}),O(6,vcb,2,2,"th",4),O(7,xcb,2,2,"th",5),O(8,Acb,2,2,"th",6),O(9,Ccb,2,2,"th",7),O(10,Ecb,
2,2,"th",7),O(11,Icb,2,2,"th",8),O(12,Kcb,2,1,"td",9),O(13,Mcb,2,1,"td",10),O(14,Ocb,2,1,"td",11),O(15,Qcb,2,1,"td",12),O(16,Scb,2,1,"td",13),O(17,Wcb,2,1,"td",14),O(18,adb,2,3,"td",15),O(19,ddb,2,1,"td",16),O(20,fdb,2,1,"td",17),O(21,ldb,2,1,"td",18),O(22,ndb,2,1,"td",19),O(23,rdb,2,1,"td",20),O(24,vdb,2,1,"td",20),O(25,zdb,2,1,"td",20),O(26,Bdb,2,1,"td",20),O(27,Ddb,2,1,"td",20),O(28,Fdb,2,1,"td",20),O(29,Ldb,2,1,"td",20),O(30,Qdb,2,1,"td",20),O(31,Udb,2,1,"td",20),O(32,Wdb,2,1,"td",21),O(33,Ydb,
2,1,"td",21),O(34,$db,2,1,"td",21),O(35,beb,2,1,"td",21),O(36,deb,2,1,"td",20),O(37,feb,2,1,"td",20),O(38,heb,2,1,"td",20),O(39,jeb,2,1,"td",20),O(40,leb,2,1,"td",20),O(41,oeb,2,5,"td",22),O(42,reb,2,1,"td",23),O(43,ueb,2,1,"td",23),O(44,xeb,2,1,"td",23),O(45,Aeb,2,1,"td",23),O(46,Deb,2,1,"td",20),O(47,Heb,2,1,"td",20),O(48,Jeb,2,1,"td",20),O(49,Leb,2,1,"td",20),O(50,Neb,2,1,"td",20),H()()()(),O(51,Peb,5,2,"ng-template",null,24,gg));a&2&&(z(1),xf("sidebar-enabled",b.isIssueSidebarEnabled),z(2),E("ngIf",
b.isIssueSidebarEnabled),z(2),E("list",(null==b.searchResults?null:b.searchResults.issues)||Qf(53,RPc))("columns",b.columns)("focusedRowIndex",b.focusedRowIndex)("scrollContainer",".bv2-view")("sort",b.sort)("rowLabelRenderer",b.issueDescription),z(1),E("forHeaderCell","focused"),z(1),E("forHeaderCell","draghandle"),z(1),E("forHeaderCell","selected"),z(1),E("forHeaderCell","starred"),z(1),E("forHeaderCell","position"),z(2),E("forViewCell","focused"),z(1),E("forViewCell","draghandle"),z(1),E("forViewCell",
"selected"),z(1),E("forViewCell","starred"),z(1),E("forViewCell","position"),z(1),E("forViewCell","issueId"),z(1),E("forViewCell","title"),z(1),E("forViewCell","priority"),z(1),E("forViewCell","severity"),z(1),E("forViewCell","status"),z(1),E("forViewCell","type"),z(1),E("forViewCell","reporter"),z(1),E("forViewCell","assignee"),z(1),E("forViewCell","verifier"),z(1),E("forViewCell","cc"),z(1),E("forViewCell","changelist"),z(1),E("forViewCell","postmortem"),z(1),E("forViewCell","blockingIssueId"),
z(1),E("forViewCell","blockedByIssueId"),z(1),E("forViewCell","duplicateOfIssueId"),z(1),E("forViewCell","createdTime"),z(1),E("forViewCell","modifiedTime"),z(1),E("forViewCell","resolvedTime"),z(1),E("forViewCell","verifiedTime"),z(1),E("forViewCell","foundInVersion"),z(1),E("forViewCell","targetedToVersion"),z(1),E("forViewCell","verifiedInVersion"),z(1),E("forViewCell","inProd"),z(1),E("forViewCell","archived"),z(1),E("forViewCell","componentPath"),z(1),E("forViewCell","minSlo"),z(1),E("forViewCell",
"responseSlo"),z(1),E("forViewCell","assignmentSlo"),z(1),E("forViewCell","closureSlo"),z(1),E("forViewCell","deletionTime"),z(1),E("forViewCell","team"),z(1),E("forViewCell","estimate"),z(1),E("forViewCell","estimateTotalOpen"),z(1),E("forViewCell","estimateTotalComplete"))},dependencies:[a0,Pw,Qw,Rw,Ww,Sw,Tw,Uw,HB,sA,S0,R0,Q0,T_,Y_,U_,V_,W_,ST,UT,FL,VT,uL,uU,L0,SL,MP,wU,UK,VK,ZK,WK,UP,H0,ML,pN,Z_,FK,EK,IK,HK],styles:["mat-sidenav-container.sidebar-enabled[_ngcontent-%COMP%]{height:calc(100vh - 100px)}/*# sourceMappingURL=issues_grid.css.map */"],
changeDetection:0});var W0=new Qp({name:"focused",sortable:!1,draggable:!1,isMetadata:!0}),aQc=new Qp({name:"draghandle",sortable:!1,draggable:!1,isMetadata:!0}),X0=new Qp({name:"selected",sortable:!1,draggable:!1,isMetadata:!0}),Y0=new Qp({name:"starred",sortable:!1,draggable:!1,isMetadata:!0}),bQc=new Qp({name:"position",sortable:!0,draggable:!1,fullLabel:"Position",label:"POS",isMetadata:!0});var Z0=function(a,b,c){rF.call(this);var d=this;this.snackBar=a;this.issuePicker=b;this.issueApi=c;this.issueAddedToHotlist=new kw;this.onCloseIssuePicker=function(e){e=void 0===e?[]:e;if(0!==e.length&&null!=d.id){var g=e.join(", ");d.snackBar.open(1===e.length?"Adding issue "+g+" to this hotlist":"Adding multiple issues to this hotlist: "+g,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 g,h,l,q,v=null!=(q=null!=(l=null==e?void 0:null==(g=e.error)?void 0:g.message)?l:null==e?void 0:null==(h=e.data)?void 0:h.message)?q:"Error adding issues to the hotlist";d.snackBar.open(v,"close",{panelClass:"error"})}};T(Z0,rF);Z0.\u0275dir=rF.\u0275dir;Z0.\u0275fac=function(a){return new (a||Z0)(B(VG),B(kQ),B(GF))};
Z0.\u0275cmp=Oc({type:Z0,selectors:[["hotlist-add-issue-btn"]],inputs:{id:["hotlistId","id"]},outputs:{issueAddedToHotlist:"issueAddedToHotlist"},features:[kf],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&&(F(0,"button",0),L("click",function(){b.issuePicker.open({title:"Add Issues to this Hotlist",allowMultipleIds:!0},b.onCloseIssuePicker)}),P(1," Add Issue(s) "),H())},dependencies:[QA,lD],encapsulation:2});var a1=function(a,b,c,d){rF.call(this);var e=this;this.fridge=a;this.snackBar=b;this.dialog=c;this.events=d;this.id$=new D.ReplaySubject(1);this.hotlist$=this.id$.pipe($e(function(g){return e.fridge.watchOne(g)}),Xe({refCount:!0,bufferSize:1}));this.archived$=this.hotlist$.pipe(C(function(g){return!(null==g||!g.archived)}),Ne());this.archiveActionLabel$=this.archived$.pipe(C(function(g){return g?"Unarchive":"Archive"}));this.archiveActionTooltip$=this.archived$.pipe(C(function(g){return g?"Unarchive this hotlist":
"Archive this hotlist, hiding it from most searches"}));this.didSave=function(g){return function(){e.snackBar.open(g?"Hotlist was archived":"Hotlist was unarchived",void 0,{duration:2500});e.events.hotlistChanged.next()}};this.gotErr=function(g){return function(h){var l=g?"archiving":"unarchiving";e.snackBar.open(am(h)||"Error "+l+" the hotlist","close",{panelClass:"error"})}};this.hotlist$.pipe(af(this.destroyed$)).subscribe(function(g){e.latestHotlist=g})};T(a1,rF);a1.\u0275dir=rF.\u0275dir;
a1.prototype.isThinking=function(a){return this.fridge.isThinking(a)};a1.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};var dQc=function(a){if(null!=a.latestHotlist){var b=!a.latestHotlist.archived;b?a.dialog.open({title:"Archive Hotlist",content:yn("Do you want to archive this hotlist?"),isDestructive:!0,onConfirm:function(){cQc(a,b)}}):cQc(a,b)}},cQc=function(a,b){a.fridge.save(Object.assign({},a.latestHotlist,{archived:b})).subscribe({next:a.didSave(b),error:a.gotErr(b)})};
a1.\u0275fac=function(a){return new (a||a1)(B(pI),B(VG),B(PJ),B(eH))};
a1.\u0275cmp=Oc({type:a1,selectors:[["hotlist-archive-btn"]],inputs:{id:["hotlistId","id"]},features:[kf,gd],decls:4,vars:7,consts:[["mat-button","",1,"gmat-button","medium",3,"disabled","matTooltip","click"]],template:function(a,b){a&1&&(F(0,"button",0),L("click",function(){return dQc(b)}),R(1,"async"),P(2),R(3,"async"),H());if(a&2){var c;E("disabled",b.isThinking(b.id))("matTooltip",null!==(c=S(1,3,b.archiveActionTooltip$))&&void 0!==c?c:"");z(2);Lf(" ",S(3,5,b.archiveActionLabel$)," ")}},dependencies:[QA,
lD,Xw],encapsulation:2});var b1=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M){y_.call(this,a,b,c,d,e,g,h,l,q,v,G,M);this.estadoService=x;this.refreshMonitor=A;this.init=new kw;this.onRefresh=new kw;this.isHotlistAdmin=!1;this.onExportCsv=new kw;this.showHotlistButtons=!1;this.isNonPublicSession=this.activeSession.isNonPublicSession();a=this.estadoService;this.enableEstadoInAppBar=a.enableEstado&&!a.currentTracker.inTracker;this.enableBulkEditUi=pF(this.activeSession,"enableBulkEditUi");this.controllerName="gridControls"};T(b1,y_);
b1.\u0275dir=y_.\u0275dir;f=b1.prototype;f.ngOnInit=function(){this.init.emit(this)};f.ngOnChanges=function(a){var b=this;a.grid&&this.grid&&YPc(this.grid,function(){b.onSelectionChange()})};f.getSelectedIssues=function(){var a,b;return null!=(b=null==(a=this.grid)?void 0:a.getSelectedIssues())?b:[]};f.refresh=function(){this.refreshMonitor.refreshRequest.next();this.onRefresh.emit()};f.openInEstado=function(){this.estadoService.openInEstado()};var eQc=function(a){return a.hasSelectedIssues()&&a.isNonPublicSession};
b1.\u0275fac=function(a){return new (a||b1)(B(AG),B(AI,2),B(Bs),B(EI),B(fN),B(kV),B(RJ),B(eZ),B(eB),B($G),B(S_),B(HI),B(kQ),B(VJ))};
b1.\u0275cmp=Oc({type:b1,selectors:[["b-grid-controls"]],inputs:{grid:"grid",isHotlistAdmin:"isHotlistAdmin",currentHotlistId:"currentHotlistId",showHotlistButtons:"showHotlistButtons"},outputs:{init:"init",onRefresh:"onRefresh",onExportCsv:"onExportCsv"},features:[Of([AI]),kf,gd],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"],["class","bv2-external-component-modal-warning",4,"ngIf"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","cdkFocusInitial",
"",1,"gmat-button","medium","primary",3,"disabled","mat-dialog-close"],[3,"comment","showToolbar","commentChange","onSubmit"],[1,"bv2-external-component-modal-warning"],[4,"ngFor","ngForOf"],[3,"accessLevel"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,b){a&1&&(F(0,"b-button",0),L("onAction",function(){return b.refresh()}),I(1,"b-icon",1),H(),O(2,Qeb,2,4,"b-app-bar-bulk-edit-menus",2),O(3,Reb,1,2,"b-copy-issue-id-button",3),O(4,Seb,2,2,"div",4),O(5,Veb,3,2,"ng-container",
5),O(6,Xeb,3,3,"b-button",6),F(7,"b-app-bar-more-menu",7),L("exportCsvClicked",function(){return b.onExportCsv.emit()})("flagAsSpamClicked",function(){return xNc(b)}),H(),F(8,"b-state-modal",8),L("save",function(){return vNc(b)})("close",function(){return b.hotkeys.unpause()}),H(),O(9,bfb,11,6,"ng-template",null,9,gg));a&2&&(z(2),E("ngIf",b.hasSelectedIssues()),z(1),E("ngIf",b.hasSelectedIssues()),z(1),E("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),z(1),E("ngIf",b.showHotlistButtons&&!b.hasSelectedIssues()),
z(1),E("ngIf",b.enableEstadoInAppBar),z(1),E("showExportCsv",b.isNonPublicSession)("showFlagIssuesAsSpam",eQc(b)),z(1),E("externalWarnings",b.externalWarnings))},dependencies:[$W,ZW,vQ,o_,Qw,Rw,MP,bZ,a1,Z0,w_,dO,QA,fB,gB,hB,iB,p_,cT,Xw],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var fQc=function(a){return{displayText:"Admins",values:a}},gQc=function(a){return[a]},hQc=function(a){return{displayText:"Appenders",values:a}},iQc=yn("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?"),c1=function(a,b,c,d,e,g,h,l,q){rF.call(this);var v=this;this.hotlistAccessPolicyFridge=a;this.links=b;this.snackBar=
c;this.events=d;this.dialog=g;this.permissions=h;this.userApi=l;this.activeSession=q;this.id$=new D.ReplaySubject(1);this.idSubject$=nn(this.id$.pipe(af(this.destroyed$)));this.acl$=this.id$.pipe($e(function(x){return v.hotlistAccessPolicyFridge.watchOne(x)}));this.latestCompactPolicy={};this.admins=[];this.appenders=[];this.readers=[];this.accessControlLink=cgc(this.links);this.validity={};this.isValid=function(){return Object.values(v.validity).every(Boolean)};this.isInvalid=function(){return!v.isValid()};
this.allAppenders=[];this.onPressSave=function(){v.isRevokingAdmin()?v.dialog.open({title:"Change Hotlist Admins",content:iQc,isDestructive:!0,onConfirm:v.doSave}):v.doSave()};this.doSave=function(){var x=v.idSubject$.value;if(null!=x){var A=v.isRevokingAdmin();x={id:x,admins:Oqa(v.admins),appenders:Oqa(v.appenders),editors:null,readers:Oqa(v.readers),implicitAccess:null,restrictedReaders:null,restrictedPlusReaders:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null};
v.hotlistAccessPolicyFridge.save(x).subscribe({next:v.didSave(A,x.id),error:v.gotErr})}};this.didSave=function(x,A){return function(){v.snackBar.open("Access control saved",void 0,{duration:2500});v.events.hotlistChanged.next();v.permissions.poke(A);x&&v.doStar()}};this.gotErr=function(x){v.snackBar.open(am(x)||"Error saving the hotlist access policy","close",{panelClass:"error"})};this.doStar=function(){var x=v.idSubject$.value;if(x){var A=v.activeSession.getUserEmail();v.userApi.saveFavorite({resourceType:"HOTLIST",
resourceId:x,userLogin:A}).then(function(){v.events.hotlistChanged.next()})}};this.onPressRevert=function(){v.resetEdits()};this.gotAcl=function(x){v.latestPolicy=x;var A,G,M;v.latestCompactPolicy={admins:Fi(null==(A=v.latestPolicy)?void 0:A.admins),appenders:Fi(null==(G=v.latestPolicy)?void 0:G.appenders),readers:Fi(null==(M=v.latestPolicy)?void 0:M.readers)};v.resetEdits()};this.isChanged=function(){var x=v.latestCompactPolicy,A;if(!Xh(null!=(A=x.admins)?A:[],v.admins))return!0;var G;if(!Xh(null!=
(G=x.appenders)?G:[],v.appenders))return!0;var M;return Xh(null!=(M=x.readers)?M:[],v.readers)?!1:!0};this.hasNoChanges=function(){return!v.isChanged()};this.acl$.pipe(af(this.destroyed$)).subscribe(this.gotAcl);this.subscriptions.add(yQ(e,this.isChanged,!1))};T(c1,rF);c1.\u0275dir=rF.\u0275dir;var jQc=function(a){return[].concat(cd(new Set([].concat(cd(a.admins),cd(a.appenders)))))};c1.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};
c1.prototype.resetEdits=function(){var a;this.admins=[].concat(cd(null!=(a=this.latestCompactPolicy.admins)?a:[]));var b;this.appenders=[].concat(cd(null!=(b=this.latestCompactPolicy.appenders)?b:[]));var c;this.readers=[].concat(cd(null!=(c=this.latestCompactPolicy.readers)?c:[]));this.allAppenders=jQc(this)};c1.prototype.isRevokingAdmin=function(){var a=this.admins,b,c=null!=(b=this.latestCompactPolicy.admins)?b:[];b=this.activeSession.getUserEmail();return this.isRevokingDirectAdmin(a,c,b)};
c1.prototype.isRevokingDirectAdmin=function(a,b,c){c=void 0===c?"":c;if(Eua(a,b))return!1;c="USER:"+c;b=b.includes(c);a=!a.includes(c);return b&&a};c1.\u0275fac=function(a){return new (a||c1)(B(sH),B(OJ),B(VG),B(eH),B(xQ),B(PJ),B(RI),B(lI),B(Bs))};
c1.\u0275cmp=Oc({type:c1,selectors:[["b-edit-hotlist-acl"]],inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[kf,gd],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&&(F(0,"form",0)(1,"label"),P(2,"Admins"),H(),F(3,"p",1),P(4,"Edit access controls, edit name and description, reorder hotlist, add/remove issues"),H(),F(5,"b-multi-user-input",2),L("usersChange",function(c){b.admins=c;b.allAppenders=jQc(b)})("isValid",
function(c){return b.validity.admins=c}),H(),F(6,"label"),P(7,"View and append"),H(),F(8,"p",1),P(9,"Reorder hotlist, add/remove issues"),H(),F(10,"b-multi-user-input",3),L("usersChange",function(c){b.appenders=c;b.allAppenders=jQc(b)})("isValid",function(c){return b.validity.appenders=c}),H(),F(11,"label"),P(12,"View only"),H(),F(13,"p",1),P(14,"View the hotlist"),H(),F(15,"b-multi-user-input",4),L("usersChange",function(c){b.readers=c})("isValid",function(c){return b.validity.readers=c}),H()(),
F(16,"p"),P(17," Users can see which issues are in a hotlist, even when they don't have view access to the hotlist. See "),F(18,"a",5),P(19,"access control documentation"),H(),P(20," for an explanation of the settings.\n"),H(),O(21,cfb,5,4,"div",6));a&2&&(z(5),xf("disabled",b.isReadOnly),E("users",b.admins),z(5),xf("disabled",b.isReadOnly),E("users",b.appenders)("includeAliases",!0)("containerChips",Rf(18,gQc,Rf(16,fQc,b.admins))),z(5),xf("disabled",b.isReadOnly),E("users",b.readers)("includeAliases",
!0)("includeViewAliases",!0)("containerChips",Rf(22,gQc,Rf(20,hQc,b.allAppenders))),z(3),E("href",b.accessControlLink,Ud),z(3),E("ngIf",!b.isReadOnly))},dependencies:[Rw,Bx,ux,yx,QA,lD,g0],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 kQc=["hotlistName"],d1=function(a,b,c,d){rF.call(this);var e=this;this.fridge=a;this.snackBar=b;this.events=c;this.isReadOnly=!1;this.id$=new D.ReplaySubject(1);this.hotlist$=this.id$.pipe($e(function(g){return e.fridge.watchOne(g)}));this.isArchived=!1;this.localEdits={};this.gotHotlist=function(g){e.latestHotlist=g;var h;e.isArchived=null!=(h=null==g?void 0:g.archived)?h:!1;e.resetEdits(g)};this.gotErr=function(g){e.snackBar.open(am(g)||"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 g,h=null!=(g=e.latestHotlist)?g:{};return!Xh(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(af(this.destroyed$)).subscribe(function(g){e.gotHotlist(g)});this.subscriptions.add(yQ(d,
this.isChanged,!1))};T(d1,rF);d1.\u0275dir=rF.\u0275dir;d1.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){var b;null==(b=a.hotlistName)||b.nativeElement.focus()})};d1.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};d1.prototype.resetEdits=function(a){var b;this.localEdits=null!=(b=Yh(a))?b:{}};d1.\u0275fac=function(a){return new (a||d1)(B(pI),B(VG),B(eH),B(xQ))};
d1.\u0275cmp=Oc({type:d1,selectors:[["b-edit-hotlist-basic"]],viewQuery:function(a,b){a&1&&bg(kQc,5);if(a&2){var c;ag(c=dg())&&(b.hotlistName=c.first)}},inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[kf,gd],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&&(F(0,"form",0)(1,"label",1),P(2,"Name"),H(),F(3,"input",
2,3),L("ngModelChange",function(c){return b.localEdits.name=c}),H(),F(5,"label",4),P(6,"Description"),H(),F(7,"textarea",5),L("ngModelChange",function(c){return b.localEdits.description=c}),P(8,"  "),H(),O(9,dfb,7,7,"div",6),H());a&2&&(z(3),E("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.name),z(4),E("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.description),z(2),E("ngIf",!b.isReadOnly))},dependencies:[Rw,Bx,wg,tx,ux,Lx,Ax,yx,QA,lD,a1,Xw],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 e1=function(a,b){rF.call(this);var c=this;this.hotlists=a;this.acls=b;this.id$=new D.ReplaySubject(1);this.hotlist$=this.id$.pipe($e(function(d){return c.hotlists.watchOne(d)}))};T(e1,rF);e1.\u0275dir=rF.\u0275dir;e1.prototype.isThinking=function(a){var b=a?"hotlists/"+a:void 0;return this.hotlists.isThinking(a)||this.acls.isThinking(b)};e1.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};e1.\u0275fac=function(a){return new (a||e1)(B(pI),B(sH))};
e1.\u0275cmp=Oc({type:e1,selectors:[["b-edit-hotlist-header"]],inputs:{id:["hotlistId","id"]},features:[kf,gd],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&&(F(0,"header",0)(1,"h2")(2,"span",1),P(3),H(),O(4,efb,2,1,"ng-container",2),R(5,"async"),H(),O(6,ffb,2,0,"strong",3),R(7,"async"),O(8,gfb,1,0,"b-spinner",2),H());if(a&2){var c;z(3);Lf(" Hotlist ",b.id,
": ");z(1);E("ngIf",S(5,4,b.hotlist$));z(2);E("ngIf",null==(c=S(7,6,b.hotlist$))?null:c.archived);z(2);E("ngIf",b.isThinking(b.id))}},dependencies:[Rw,WM,Xw],styles:["[_nghost-%COMP%] {\n      display: block;\n    }"]});var f1=function(a){rF.call(this);this.activeSession=a;this.URLS=ms;this.id$=new D.ReplaySubject(1);this.enableBulkEditUi=pF(this.activeSession,"enableBulkEditUi")};T(f1,rF);f1.\u0275dir=rF.\u0275dir;f1.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};f1.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};f1.\u0275fac=function(a){return new (a||f1)(B(Bs))};
f1.\u0275cmp=Oc({type:f1,selectors:[["b-edit-hotlist-toolbar"]],inputs:{id:["hotlistId","id"]},features:[kf,gd],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&&(F(0,"section",0)(1,"b-button",1),L("onAction",function(){return b.onPressBack()}),I(2,"b-icon",2),H(),F(3,"a",3),P(4," View Issues "),H(),O(5,hfb,2,3,"hotlist-add-issue-btn",4),H());a&2&&(z(3),E("href",b.URLS.HOTLIST_VIEW(b.id),Ud),z(2),E("ngIf",b.enableBulkEditUi))},dependencies:[Rw,RA,lD,vQ,dO,Z0,Xw],styles:[".button-bar[_ngcontent-%COMP%] {\n      display: flex;\n      align-items: center;\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var lQc={403:"You do not have permission to view this Hotlist.",404:"This Hotlist does not exist."},g1=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(C(function(e){return null==e?void 0:e.admin}));this.hotlistErrorMsg$=this.hotlists.error$.pipe(C(function(e){var g;return null!=(g=e.status)?g:-1}),C(function(e){var g;return null!=
(g=lQc[e])?g:"unknown error"}),Ze(void 0));this.tabIndex=0};g1.prototype.ngOnInit=function(){this.pageTitle.setTitle("Edit Hotlist "+this.id);window.location.hash.includes("access")&&(this.tabIndex=1)};g1.\u0275fac=function(a){return new (a||g1)(B(sK),B(wW),B(RI),B(pI))};
g1.\u0275cmp=Oc({type:g1,selectors:[["edit-hotlist"]],decls:4,vars:6,consts:[[4,"ngIf"],[3,"hotlistId"],[1,"bv2-view"],["gmat-tabs","",3,"selectedIndex"],["label","Basic Information"],[3,"hotlistId","isReadOnly"],["label","Access Control"],["class","muted padded-x",4,"ngIf"],[1,"muted","padded-x"],[1,"padded-x"]],template:function(a,b){a&1&&(O(0,jfb,13,14,"ng-container",0),R(1,"async"),O(2,kfb,7,1,"ng-container",0),R(3,"async"));a&2&&(E("ngIf",void 0===S(1,2,b.hotlistErrorMsg$)),z(2),E("ngIf",S(3,
4,b.hotlistErrorMsg$)))},dependencies:[Rw,RN,QN,WN,AP,c1,d1,e1,f1,Xw],encapsulation:2});var h1=function(){};h1.\u0275fac=function(a){return new (a||h1)};h1.\u0275cmp=Oc({type:h1,selectors:[["b-error-banner"]],inputs:{error:"error"},decls:1,vars:1,consts:[["messageType","error",4,"ngIf"],["messageType","error"]],template:function(a,b){a&1&&O(0,lfb,3,1,"b-callout",0);a&2&&E("ngIf",b.error)},dependencies:[Rw,fX,gX],encapsulation:2});var i1=function(){};i1.\u0275fac=function(a){return new (a||i1)};i1.\u0275mod=Qc({type:i1});i1.\u0275inj=zc({imports:[OG,qX]});var j1=function(a){this.activeSession=a;this.sessionIsExternal=a.isExternalSession()};j1.prototype.shouldShowLinks=function(){return!this.sessionIsExternal&&!!xn(this.email)};j1.prototype.getName=function(){return void 0===this.email?"":this.email.split("@")[0]};j1.\u0275fac=function(a){return new (a||j1)(B(Bs))};
j1.\u0275cmp=Oc({type:j1,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&&(Ff(),O(0,rfb,17,5,"ng-container",0),O(1,sfb,1,0,"ng-template",null,1,gg));if(a&2){var c=Kf(2);E("ngIf",!!xn(b.email))("ngIfElse",c)}},dependencies:[Rw,Ww,HB,UK,ZK],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 k1=function(){};k1.\u0275fac=function(a){return new (a||k1)};k1.\u0275mod=Qc({type:k1});k1.\u0275inj=zc({imports:[OG,gO]});var Lka=function(a,b,c,d,e,g){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:g}},l1=function(a){rF.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 kw;this.chipClear=new kw;this.chipRemove=new kw};T(l1,rF);
l1.\u0275dir=rF.\u0275dir;f=l1.prototype;f.isPublicChip=function(){return"ALIAS"===this.principalType&&["public_non_google","public"].includes(this.value)};f.isNonGaiaChip=function(){return"NON_GAIA"===this.principalType};f.isContainerChip=function(){return null!==this.nestedChips};f.isUserChip=function(){return"USER"===this.principalType};f.isGroupChip=function(){return"GROUP"===this.principalType};f.isDomainChip=function(){return"ALIAS"===this.principalType&&["googlers_unrestricted","google_domain"].includes(this.value)};
f.isExternalChip=function(){return"EXTERNAL"===this.detailedUserType||"PUBLIC"===this.detailedUserType||this.isPublicChip()};f.isExternalPartnerAccessViolated=function(){return"EXTERNAL_PARTNER"===this.accessLevel&&this.isPublicChip()};f.isInternalAccessViolated=function(){return"INTERNAL"===this.accessLevel&&(this.isExternalChip()||this.isPublicChip())};
f.getTooltip=function(){if("ALIAS"!==this.principalType)return"";switch(this.value){case "googlers_unrestricted":return"Full time employees and other users with access to view most "+this.activeSession.getAppName()+" issues.";case "google_domain":return"All users associated with the google.com domain.";case "public_non_google":return"All logged in users, excluding the google.com domain.";case "public":return"All logged in users.";default:throw Error("se`"+this.value);}};
var mQc=function(a){if(a.isGroupChip())return"group";if(a.isDomainChip())return"acl-alias-domain";if(a.isPublicChip())return"public"};l1.\u0275fac=function(a){return new (a||l1)(B(Bs))};
l1.\u0275cmp=Oc({type:l1,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:[kf],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&&(F(0,"span",0),L("focus",function(){return b.chipSelection.emit()})("blur",function(){return b.chipClear.emit()}),F(1,"span",1),O(2,tfb,1,1,"mat-icon",2),H(),F(3,"div",3),O(4,ufb,2,2,"b-person-hovercard",4),O(5,vfb,2,2,"b-group-email-card",
4),O(6,wfb,2,1,"div",5),H(),O(7,xfb,2,2,"div",6),O(8,zfb,7,1,"div",7),H());a&2&&(E("ngClass",Mka(b.isExternalChip(),b.isNonGaiaChip(),b.isInternalAccessViolated()||b.isExternalPartnerAccessViolated(),b.isContainerChip(),b.isSelected,b.isReadonly))("matTooltip",b.getTooltip()),z(2),E("ngIf",mQc(b)),z(2),E("ngIf",b.isUserChip()),z(1),E("ngIf",b.isGroupChip()),z(1),E("ngIf",!b.isUserChip()&&!b.isGroupChip()),z(1),E("ngIf",!b.isReadonly&&!b.isWidgetDisabled),z(1),E("ngIf",b.isContainerChip()))},dependencies:[Pw,
Qw,Rw,HB,lD,uL,j1,l1],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 m1=function(){};m1.\u0275fac=function(a){return new (a||m1)};m1.\u0275mod=Qc({type:m1});m1.\u0275inj=zc({imports:[OG,Px,fE,pO,k1,KK,ZS,gZ]});sea(g0,[Qw,Rw,wg,tx,Ax,YS,fZ,l1]);var n1=function(){};n1.\u0275fac=function(a){return new (a||n1)};n1.\u0275mod=Qc({type:n1});n1.\u0275inj=zc({providers:[{provide:bmc,useValue:{enabled:!0}}],imports:[OG,Px,ED,fE,VN,FT,UG,DO,zO,CO,i1,m1,DP]});var o1=function(){};o1.\u0275fac=function(a){return new (a||o1)};o1.\u0275mod=Qc({type:o1});o1.\u0275inj=zc({imports:[bX,FT,G_,OG,RP,dZ,n1,J_,zO,ED,jB,fE,I_,H_]});var p1=function(a,b,c,d,e){rF.call(this);this.element=a;this.bLocation=b;this.paths=c;this.hotkeys=d;this.cdr=e;this.focusedIndex=0;this.convertUserToString=pi;this.hotlists=[];this.registerKeys()};T(p1,rF);p1.\u0275dir=rF.\u0275dir;f=p1.prototype;f.setFocusOnIndex=function(a){this.focusedIndex=a};f.isFocused=function(a){return this.focusedIndex===a};f.selectNext=function(){this.focusedIndex+1>=this.hotlists.length||(this.focusedIndex++,this.scrollToFocusedIndex())};
f.selectPrevious=function(){0>this.focusedIndex-1||(this.focusedIndex--,this.scrollToFocusedIndex())};
f.registerKeys=function(){var a=this,b=gN(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)};f.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)}}};f.renderRowLabel=function(a){return this.hotlists[a].name};f.editHotlist=function(a){this.bLocation.path(this.paths.editHotlist(a.hotlistId))};
p1.\u0275fac=function(a){return new (a||p1)(B(Dd),B(PH),B(QH),B(fN),B(AI,2))};
p1.\u0275cmp=Oc({type:p1,selectors:[["b-hotlist-grid"]],inputs:{hotlists:"hotlists"},features:[Of([AI]),kf],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&&(F(0,"table",0)(1,"thead")(2,"tr",1),I(3,"th",2),F(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),P(8," Hotlist name "),H()()()(),F(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),P(13," Description "),H()()()(),F(14,"th")(15,
"div",3)(16,"div",4)(17,"div",5),P(18," Admins "),H()()()(),F(19,"th")(20,"div",3)(21,"div",4)(22,"div",5),P(23," ID "),H()()()()()(),F(24,"tbody"),O(25,Cfb,11,9,"tr",6),H()());a&2&&(z(25),E("ngForOf",b.hotlists))},dependencies:[Qw,Rw],encapsulation:2});var q1=function(){};q1.\u0275fac=function(a){return new (a||q1)};q1.\u0275mod=Qc({type:q1});q1.\u0275inj=zc({imports:[OG]});var r1=function(a,b){this.bLocation=a;this.butterBar=b},nQc=function(a,b){var c=a.bLocation.search()[b];return null!=c?Array.isArray(c)?(ZG(a.butterBar,"Given multiple values for parameter "+b+"; using the first."),c[0]):"boolean"===typeof c?"":c:null};r1.prototype.getCount=function(){var a=nQc(this,"c");return a?bi(a):null};var oQc=function(a){return(a=nQc(a,"p"))?bi(a):null};r1.prototype.getQuery=function(){return nQc(this,"q")};
r1.prototype.getDisplayColumns=function(){var a=this.bLocation.search().d;return a?(Array.isArray(a)?a:[a]).map(Kk).filter(Ai):null};r1.prototype.getSortColumns=function(){var a=this.bLocation.search().s;return a?(Array.isArray(a)?a:[a]).map(Pta).filter(Ai):null};
var s1=function(a,b,c){c=void 0===c?!1:c;var d=function(e,g){c?a.bLocation.search(e,g,!0):a.bLocation.search(e,g)};void 0!==b.displayColumns&&d("d",null==b.displayColumns?null:(b.displayColumns||[]).map(function(e){return pQc(e)}));void 0!==b.sortColumns&&d("s",null==b.sortColumns?null:(b.sortColumns||[]).map(function(e){var g="ASCENDING"==e.direction?"asc":"desc";return pQc(e.fieldId)+":"+g}));void 0!==b.page&&d("p",b.page);void 0!==b.resultsPerPage&&d("c",b.resultsPerPage);void 0!==b.query&&d("q",
b.query)},pQc=function(a){return a.isCustomField()?String(a.customFieldId):a.type.toLowerCase()};r1.\u0275fac=function(a){return new (a||r1)(t(PH),t(XG))};r1.\u0275prov=yc({token:r1,factory:r1.\u0275fac,providedIn:"root"});var t1=function(a,b,c){this.urlPreferences=a;this.userPreferencesManager=b;this.customFieldApi=c};t1.prototype.fetch=function(a,b){a=this.getParameters(a,void 0===b?null:b);return{searchPreferences:Tn({page:a.page,query:a.query,resultsPerPage:a.resultsPerPage,sortColumns:a.sortColumns}),displayColumns:a.displayColumns}};
t1.prototype.getParameters=function(a,b){var c=this,d=b?function(){return qQc(b)}:function(){return rQc(c)},e=b?function(){return sQc(b)}:function(){return tQc(c)};d=Promise.resolve(this.urlPreferences.getDisplayColumns()).then(function(l){return u1(l)}).then(null,d).then(function(l){return u1(l)}).then(null,ev(a.displayColumns)).then(function(l){return uQc(c,l)});e=Promise.resolve(this.urlPreferences.getSortColumns()).then(function(l){return u1(l)}).then(null,e).then(function(l){return u1(l)}).then(null,
ev(a.sortColumns));var g=Promise.resolve(this.urlPreferences.getCount()).then(function(l){return u1(l)}).then(null,function(){return vQc(c)}).then(function(l){return u1(l)}).then(null,ev(a.resultsPerPage)),h=Promise.resolve(this.urlPreferences.getQuery()).then(function(l){return u1(l)}).then(null,function(){return wQc(b,function(l){return l.query})}).then(null,ev(a.query));a=oQc(this.urlPreferences)||a.page;return{displayColumns:d,sortColumns:e,resultsPerPage:g,query:h,page:a}};
var u1=function(a){return null==a?Promise.reject(null):a},qQc=function(a){return wQc(a,function(b){return b.displayColumn}).then(function(b){return xQc(b)})},sQc=function(a){return wQc(a,function(b){return b.sortOrder}).then(function(b){return yQc(b)})},tQc=function(a){return(0,D.firstValueFrom)(a.userPreferencesManager.sortColumnsPreferences$).then(function(b){return u1(b)}).then(function(b){return yQc(b)})},rQc=function(a){return(0,D.firstValueFrom)(a.userPreferencesManager.displayColumnsPreferences$).then(function(b){return u1(b)}).then(function(b){return xQc(b)})},
vQc=function(a){return(0,D.firstValueFrom)(a.userPreferencesManager.preferences$.pipe(C(function(b){var c;return null!=(c=b.resultsPerPage)?c:null}))).then(function(b){return u1(b)})},wQc=function(a,b){return a?a.then(function(c){c=b(c);return null==c?Promise.reject(null):c}):Promise.reject(null)},xQc=function(a){if(!a||!a.length)return null;a=zl(a,function(b){return b.customFieldId||b.customFieldName||b.type});return a.map(function(b){return new Jk({customFieldId:b.customFieldId||void 0,customFieldName:b.customFieldName||
void 0,type:"CANONICAL_ISSUE_ID"===b.type?"DUPLICATE_OF_ISSUE_ID":b.type})})},yQc=function(a){return a&&a.length?a.map(function(b){return void 0!==b.column?new Nk(new Jk(b.column),b.order):new Nk(new Jk(b.field),b.direction)}).filter(function(b){return"CUSTOM_FIELD"!=b.fieldId.type||null!=b.fieldId.customFieldId}):null},uQc=function(a,b){function c(){for(var l=k(b),q=l.next();!q.done;q=l.next())if(q=q.value,q.isCustomField()&&!q.customFieldName){var v=d[q.customFieldId];q.customFieldName=v?v:"Custom field "+
q.customFieldId}return b}if(!b)return Promise.resolve([]);for(var d={},e=[],g=k(b),h=g.next();!h.done;h=g.next())h=h.value,h.customFieldId&&h.isCustomField()&&(h.customFieldName?d[h.customFieldId]=h.customFieldName:e.push(a.customFieldApi.get(h.customFieldId).then(function(l){d[l.customFieldId]=l.name})));return Promise.all(e).then(c,c)};t1.\u0275fac=function(a){return new (a||t1)(t(r1),t(VJ),t(hH))};t1.\u0275prov=yc({token:t1,factory:t1.\u0275fac,providedIn:"root"});var v1=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q){rF.call(this);var Y=this;this.cdr=a;this.bLocation=b;this.$log=c;this.butterBar=e;this.analytics=g;this.issuePagination=h;this.gridPreferencesFetcher=l;this.paths=q;this.errorHandler=v;this.domSafe=x;this.timeout=A;this.hotkeys=G;this.appSearchState=Q;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 kw;this.resultsLoaded=new kw;this.selectionChange=new kw;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 W;null==(W=Y.issuesGrid)||rcb(W)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue in the current panel",
onPress:function(){var W;null==(W=Y.issuesGrid)||scb(W)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var W;null==(W=Y.issuesGrid)||WPc(W)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var W;null==(W=Y.issuesGrid)||ZPc(W)}},{keys:[Nn("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var W;null==(W=Y.issuesGrid)||$Pc(W,!0)}},{keys:[Nn("u")],displayAs:"Shift+u",description:"Mark as unread",
onPress:function(){var W;null==(W=Y.issuesGrid)||$Pc(W,!1)}},{keys:[On("*","a")],displayAs:"* then a",description:"Select all issues in the current panel",onPress:function(){var W;null==(W=Y.issuesGrid)||W.selectAll()}},{keys:[On("*","n")],displayAs:"* then n",description:"Deselect all issues in the current panel",onPress:function(){var W;null==(W=Y.issuesGrid)||UPc(W)}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(W){var ia=M.document.activeElement;
if(1===W&&"A"===(null==ia?void 0:ia.tagName))if(ia.href)W=Y.paths.getBaseUrl(),di(ia.href,W)?b.url(ia.href.slice(W.length)):Y.domSafe.openInNewTab(ia.href);else{var ja;null==(ja=Y.issuesGrid)||XPc(ja)}else{var Aa;null==(Aa=Y.issuesGrid)||XPc(Aa)}}}];this.destroyed$.subscribe(function(){var W;null==(W=Y.unregisterHotkeys)||W.call(Y)})};T(v1,rF);v1.prototype.columnsChange=function(a){this.issueColumns=a};v1.prototype.ngOnInit=function(){this.getIssues();zQc(this)};
var zQc=function(a){var b;null==(b=a.unregisterHotkeys)||b.call(a);a.isFocused?a.unregisterHotkeys=gN(a.hotkeys,{title:"Bookmark Group Dashboard",hotkeys:a.BASE_HOTKEYS}):a.unregisterHotkeys=void 0},Zfb=function(a,b){a.issuesGrid=b;YPc(a.issuesGrid,function(){var c,d={panelId:a.panel.panelId,selectedIssues:null==(c=a.issuesGrid)?void 0:c.getSelectedIssues()};a.selectionChange.emit(d)})};f=v1.prototype;
f.setSort=function(a,b,c){c=void 0===c?!0:c;var d=Kk(a);if(null==d)this.$log.warn("WARNING: Invalid column name: "+a);else{var e=new Nk(d,"ASC"==b?"ASCENDING":"DESCENDING");ta(this.sortPreferences,function(g){return Xh(g.fieldId,e.fieldId)});this.sortPreferences=c?[e].concat(this.sortPreferences.slice(0,2)):[e];this.page=1;this.refreshResults()}};
f.getSort=function(){if(!this.sortPreferences.length)return null;var a=this.sortPreferences[0];a={field:"CUSTOM_FIELD"==a.fieldId.type?String(a.fieldId.customFieldId):ai(a.fieldId.type),direction:"ASCENDING"==a.direction?"ASC":"DESC"};Xh(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};f.initColumns=function(a,b){this.displayColumns=a;this.issueColumnsInternal=[].concat(cd(b),cd(q8a(a)));this.initialIssueColumns=Yh(this.issueColumns);this.isColumnSaveEnabled=!0};
f.goToIssue=function(a,b,c){c&&"A"===c.target.tagName||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"viewIssue",b?"read":"unread"),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):this.bLocation.url(a))};f.goToPage=function(a){this.page=a;this.getIssues()};f.refreshResults=function(){nX(this.issuePagination);this.getIssues()};f.exportCsv=function(){djc(this.domSafe,this.getCsvUrl())};
f.getCsvUrl=function(){this.$log.warn("WARNING: Method getCsvUrl() not implemented.");return""};f.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()})};
f.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 gHc(b.issuePagination,e)});a.catch(function(e){"number"===typeof e?
b.goToPage(e):e&&b.errorHandler.errorHandler(null,e)});return Tn({searchResultsPage:a,displayColumns:d.displayColumns}).then(function(e){var g=e.searchResultsPage;b.searchResults=g;b.page=g.params.page;b.sortPreferences=g.params.sortColumns||[];b.initialSortPreferences||(b.initialSortPreferences=Yh(b.sortPreferences));d.displayColumns.then(function(h){b.initColumns(h,b.getMetaColumns(g))});b.resultsLoaded.emit(b.searchResults.issues);b.timeout.schedule(function(){var h=b.issuePagination.getFocusedIssue();
-1!=h&&(b.focusedRowIndex=h-g.startIndex)})})};f.getGridPreferencesDefaults=function(){return{page:this.page,displayColumns:AQc,sortColumns:[],query:"",resultsPerPage:25}};
f.save=function(){var a=this,b=this.issueColumns.slice((this.searchResults?this.getMetaColumns(this.searchResults):BQc).length);b=r8a(b).map(function(c){return new Jk(c)});this.resource.displayColumn=b;b=this.sortPreferences.map(function(c){return{direction:c.direction,field:c.fieldId}});this.resource.sortOrder=b;YG(this.butterBar,"Saving changes to panel...");this.saveResource().then(function(){a.initialIssueColumns=Yh(a.issueColumns);a.initialSortPreferences=Yh(a.sortPreferences);a.cdr.detectChanges()})};
f.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");this.issueColumns=[].concat(cd(this.initialIssueColumns||[]));if(this.initialSortPreferences&&!Xh(this.initialSortPreferences,this.sortPreferences)){yaa(this.sortPreferences);var a=this.initialSortPreferences;Ms(Caa,this.sortPreferences,void 0,0).apply(null,a);this.refreshResults()}};
f.hasParamChanges=function(){return this.resource&&this.isEditable()?this.initialIssueColumns&&!Xh(this.initialIssueColumns,this.issueColumns)?!0:!!this.initialSortPreferences&&!Xh(this.initialSortPreferences,this.sortPreferences):!1};f.isEditable=function(){var a=this;return!!this.resource&&this.resource.adminUsers.some(function(b){return b.emailAddress===a.currentUserEmail})};f.getMetaColumns=function(){return BQc};
f.getSearchParams=function(a){a=Yh(a);a.resultsPerPage=10;a.page=this.page;this.sortPreferences.length&&(a.sortColumns=this.sortPreferences);a.returnUrl=this.bLocation.url();return a};
sh.Object.defineProperties(v1.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){Xh(a,this.issueColumnsInternal)||(this.issueColumnsInternal=a,this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"columnModification"))}},focusedRowIndex:{configurable:!0,enumerable:!0,set:function(a){var b=this.isFocused;this.focusedRowIndexInternal!==a&&(this.focusedRowIndexInternal=a,this.focusedRowIndexChange.emit(a));this.isFocused!==b&&zQc(this)},
get:function(){return this.focusedRowIndexInternal}},isFocused:{configurable:!0,enumerable:!0,get:function(){return null!==this.focusedRowIndex}}});var BQc=[W0,X0,Y0],AQc="priority type title assignee status issueId modifiedTime".split(" ").map(Kk);v1.\u0275fac=function(a){return new (a||v1)(B(AI),B(PH),B($G),B(Bs),B(XG),B(EI),B(mX),B(t1),B(QH),B(aH),B(vL),B(HG),B(fN),B(Window),B(RX))};
v1.\u0275dir=Sc({type:v1,viewQuery:function(a,b){a&1&&bg(U0,5);if(a&2){var c;ag(c=dg())&&(b.issuesGrid=c.first)}},inputs:{panel:"panel",isDashboardEditable:"isDashboardEditable",first:"first",last:"last",focusedRowIndex:"focusedRowIndex"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",resultsLoaded:"resultsLoaded",selectionChange:"selectionChange"},features:[kf]});var w1=function(a,b){this.dialog=a;this.appEvents=b;this.last=this.first=!1};w1.prototype.removePanel=function(){var a=this;this.dialog.open({title:"Remove Item?",content:yn("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)}})};w1.\u0275fac=function(a){return new (a||w1)(B(PJ),B(eH))};
w1.\u0275cmp=Oc({type:w1,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&&(F(0,
"div")(1,"button",0),I(2,"mat-icon",1),H(),F(3,"mat-menu",null,2),O(5,Hfb,6,4,"ng-template",3),H()());if(a&2){var b=Kf(4);z(1);E("matMenuTriggerFor",b)}},dependencies:[Rw,HB,dD,bD,cD,aD,QA],encapsulation:2});var x1=function(){};x1.\u0275fac=function(a){return new (a||x1)};x1.\u0275mod=Qc({type:x1});x1.\u0275inj=zc({imports:[OG,eD,ED]});var CQc=function(){this.availablePanels=new Set;this.iconOnly=!1;this.buttonClassname="";this.openSidebar=new kw};CQc.\u0275fac=function(a){return new (a||CQc)};
CQc.\u0275cmp=Oc({type:CQc,selectors:[["b-insights-graph-menu"]],inputs:{availablePanels:"availablePanels",iconOnly:"iconOnly",buttonClassname:"buttonClassname"},outputs:{openSidebar:"openSidebar"},decls:14,vars:5,consts:[["mat-button","",1,"main-button","gmat-button","square-right",3,"ngClass","disabled","click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 18 22"],["fill","none","fill-rule","evenodd"],"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-opacity;.4;d;M17.5 5.41l-8-3.91m0 7.82l-8-3.91".split(";"),
"stroke;currentColor;stroke-opacity;.4;d;M9.5 9.32v10".split(";"),"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-width;1.5;d;M9.5 1.5l-8 3.91v10.01l8 3.91 8-3.91V5.41l-8 3.91".split(";"),"cx 1.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 9.32 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 1.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),
"cx 9.5 cy 19.33 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 1.5 r 1.5 fill currentColor fill-rule nonzero".split(" "),[4,"ngIf"]],template:function(a,b){a&1&&(F(0,"button",0),L("click",function(){b.openSidebar.emit({panel:void 0})}),rd(),F(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),H()(),O(13,Ifb,2,0,"ng-container",13),H());a&2&&(xf("icon-only-mode",b.iconOnly),
E("ngClass",b.buttonClassname)("disabled",0===b.availablePanels.size),z(13),E("ngIf",!b.iconOnly))},dependencies:[Pw,Rw,QA],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 y1=function(a){this.issueInsightsSidebarService=a;this.iconOnly=!1;this.buttonClassname="";this.availablePanels$=this.issueInsightsSidebarService.availablePanels$;this.shouldShowInsightsGraphMenu$=this.issueInsightsSidebarService.shouldShowInsightsGraphMenu$};y1.prototype.openSidebar=function(a){this.issueInsightsSidebarService.openSidebar(a)};y1.\u0275fac=function(a){return new (a||y1)(B(F0))};
y1.\u0275cmp=Oc({type:y1,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&&(O(0,Kfb,3,3,"ng-container",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.availablePanels$))},dependencies:[Rw,CQc,Xw],encapsulation:2,changeDetection:0});var z1=function(){};z1.\u0275fac=function(a){return new (a||z1)};z1.\u0275mod=Qc({type:z1});z1.\u0275inj=zc({imports:[OG,ED,eD,OH]});var A1=function(){};A1.\u0275fac=function(a){return new (a||A1)};A1.\u0275mod=Qc({type:A1});A1.\u0275inj=zc({imports:[ex]});var B1=function(){};B1.\u0275fac=function(a){return new (a||B1)};B1.\u0275mod=Qc({type:B1});B1.\u0275inj=zc({imports:[ex,fE]});var C1=function(){};C1.\u0275fac=function(a){return new (a||C1)};C1.\u0275mod=Qc({type:C1});C1.\u0275inj=zc({imports:[A1,ex,fE,B1]});var D1=function(){};D1.\u0275fac=function(a){return new (a||D1)};D1.\u0275mod=Qc({type:D1});D1.\u0275inj=zc({imports:[ex,nz,gA,ly,ED]});var E1=function(){};E1.\u0275fac=function(a){return new (a||E1)};E1.\u0275mod=Qc({type:E1});E1.\u0275inj=zc({imports:[ex,Px,D1]});var F1=function(){};F1.\u0275fac=function(a){return new (a||F1)};F1.\u0275mod=Qc({type:F1});F1.\u0275inj=zc({imports:[OG,fE,C1,QY,E1,gO]});var G1=function(){};G1.\u0275fac=function(a){return new (a||G1)};G1.\u0275mod=Qc({type:G1});G1.\u0275inj=zc({imports:[ex]});var H1=function(){};H1.\u0275fac=function(a){return new (a||H1)};H1.\u0275mod=Qc({type:H1});H1.\u0275inj=zc({imports:[ex,Px,D1,G1]});var I1=function(){};I1.\u0275fac=function(a){return new (a||I1)};I1.\u0275mod=Qc({type:I1});I1.\u0275inj=zc({imports:[OG,YP,H1]});var J1=function(){};J1.\u0275fac=function(a){return new (a||J1)};J1.\u0275mod=Qc({type:J1});J1.\u0275inj=zc({imports:[OG,TO,LY,Qx,IP]});var K1=function(){};K1.\u0275fac=function(a){return new (a||K1)};K1.\u0275mod=Qc({type:K1});K1.\u0275inj=zc({imports:[OG,fE,ED,ZT,fO,XT,J1,gA]});var L1=function(){};L1.\u0275fac=function(a){return new (a||L1)};L1.\u0275mod=Qc({type:L1});L1.\u0275inj=zc({imports:[FT,qX,OG,Px,ED,jB,EO,UG,fE,QY]});var DQc={},EQc=(DQc.COMFORTABLE=330,DQc.COZY=300,DQc.COMPACT=270,DQc),M1=function(a){rF.call(this);var b=this;this.userPreferencesManager=a;this.RIGHT_SIDEBAR_MIN_WIDTH=245;this.density$=this.userPreferencesManager.preferences$.pipe(C(function(c){var d;return null==(d=c.themePreferences)?void 0:d.density}));this.sidebarWidthPreference$=this.userPreferencesManager.preferences$.pipe(C(function(c){var d;return null==(d=c.layoutPreferences)?void 0:d.rightSidebarWidth}));this.rightSidebarWidthChanged$=
new D.Subject;this.currentSidebarWidth$=(0,D.combineLatest)([this.density$,this.sidebarWidthPreference$,this.rightSidebarWidthChanged$.pipe(Ze(void 0))]).pipe(C(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return null!=d?d:null!=e?e:EQc[null!=c?c:"COMFORTABLE"]}));(0,D.combineLatest)([this.rightSidebarWidthChanged$.pipe(Ne()),this.sidebarWidthPreference$]).pipe(Ge(function(c){c=k(c);var d=c.next().value;return c.next().value!==d}),$e(function(c){c=k(c);var d=c.next().value;
c.next();return ngc(b.userPreferencesManager,{rightSidebarWidth:d})}),af(this.destroyed$)).subscribe()};T(M1,rF);M1.\u0275dir=rF.\u0275dir;M1.prototype.ngOnInit=function(){};M1.\u0275fac=function(a){return new (a||M1)(B(VJ))};
M1.\u0275cmp=Oc({type:M1,selectors:[["issue-metadata-sidebar"]],inputs:{issueId:"issueId"},features:[kf],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&&(F(0,"h3",0),P(1,"Issue metadata"),H(),F(2,"b-resizable-sidebar",1),L("widthChanged",function(d){return b.rightSidebarWidthChanged$.next(d)}),R(3,"async"),
F(4,"div",2)(5,"div",3),O(6,Lfb,1,1,"edit-issue-metadata",4),H()()());if(a&2){var c;z(2);E("disableToggleBtn",!1)("hideToggleBtnOnOpen",!0)("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("size",null!==(c=S(3,5,b.currentSidebarWidth$))&&void 0!==c?c:0);z(4);E("ngIf",b.issueId)}},dependencies:[Rw,BP,G0,Xw],styles:["[_nghost-%COMP%] {\n      display: inherit;\n    }"],changeDetection:0});var N1=function(){};N1.\u0275fac=function(a){return new (a||N1)};N1.\u0275mod=Qc({type:N1});N1.\u0275inj=zc({imports:[KK,xZ,OG,BZ,vZ,F1,C1,jN,gO,z1,$P,K1,zZ,d0,fE,DP,L1,I1,QP,YX,FD]});var O1=function(){};O1.\u0275fac=function(a){return new (a||O1)};O1.\u0275mod=Qc({type:O1});O1.\u0275inj=zc({imports:[ED,fE,Px,vB,yB,OH,nB,OG,qO,YP,KK,CO,N1,JP,iV]});var P1=function(){};P1.prototype.getValue=function(){return this.row[this.column.name]||""};P1.prototype.isCustomField=function(){return this.column.isCustomField};
P1.prototype.getCustomFieldValue=function(){var a;if(!(a=this.row.customFieldValueMap[this.column.name])){a=this.row;var b=this.column.name;a.customFieldMap&&b?(b=b.toLowerCase(),a=(b=a.customFieldNameToIdMap[b])?a.customFieldValueMap[String(b)]||null:null):a=null}if(!a)return null;a=new ii(a);Xh(this.customFieldValue,a)||(this.customFieldValue=a);return this.customFieldValue};P1.\u0275fac=function(a){return new (a||P1)};
P1.\u0275cmp=Oc({type:P1,selectors:[["pop-grid-default-cell"]],inputs:{row:"row",column:"column"},decls:2,vars:2,consts:[[4,"ngIf"],[3,"customFieldValue",4,"ngIf"],[3,"customFieldValue"]],template:function(a,b){a&1&&(O(0,Mfb,2,2,"span",0),O(1,Nfb,1,1,"b-custom-field-value-display",1));a&2&&(E("ngIf",!b.isCustomField()),z(1),E("ngIf",b.isCustomField()))},dependencies:[Rw,EZ],encapsulation:2,changeDetection:0});var Q1=function(){};Q1.\u0275fac=function(a){return new (a||Q1)};Q1.\u0275mod=Qc({type:Q1});Q1.\u0275inj=zc({imports:[OG,fE,FZ]});sea(T_,[Qw,Rw,Ww,Y_,P1]);var R1=function(){};R1.\u0275fac=function(a){return new (a||R1)};R1.\u0275mod=Qc({type:R1});R1.\u0275inj=zc({imports:[OG,gO]});var S1=function(){};S1.\u0275fac=function(a){return new (a||S1)};S1.\u0275mod=Qc({type:S1});S1.\u0275inj=zc({imports:[OG,R1,fO]});var T1=function(){};T1.\u0275fac=function(a){return new (a||T1)};T1.\u0275mod=Qc({type:T1});T1.\u0275inj=zc({imports:[b0,OG,eD,kU,fE,ED,jB,vA,T0,zO,Q1,WT,YT,fO,ZT,KK,pO,DU,S1,vO,RP,EU,DZ,gO,$P,O1,uO,rO]});var U1=function(a,b,c){this.hotlistsApi=a;this.butterBar=b;this.appEvents=c};
U1.prototype.repositionIssue=function(a,b,c,d,e,g){var h=this,l=b[0].position,q=l>b[1].position,v=b[c],x=b[d].position;Iaa(b,c,d);null==g||g();YG(this.butterBar,"Saving...",0);return this.hotlistsApi.repositionHotlistIssue(a,v.issueId,x).then(function(){for(var A=l,G=k(b),M=G.next();!M.done;M=G.next())M.value.position=A,A+=q?-1:1;null==g||g();YG(h.butterBar,"Saved issue position.",4E3);h.appEvents.hotlistChanged.next({hotlistId:a,origin:e});return h.hotlistsApi.get(a)})};
U1.\u0275fac=function(a){return new (a||U1)(t(cI),t(XG),t(eH))};U1.\u0275prov=yc({token:U1,factory:U1.\u0275fac,providedIn:"root"});var V1=function(a){this.buttonRef=a;this.toRefocus=!1};V1.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}))};V1.\u0275fac=function(a){return new (a||V1)(B(Dd))};
V1.\u0275dir=Sc({type:V1,selectors:[["button","disabled","","focusBack",""]],inputs:{disabled:"disabled"},features:[gd]});var W1=function(){this.pageChange=new kw;this.resultsPerPageChange=new kw;this.resultsPerPageFixed=!1;this.resultsPerPageOptions=[10,25,50,100,250]};W1.prototype.nextPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page+1})};var FQc=function(a){a.searchResults&&a.pageChange.emit({page:a.searchResults.params.page-1})};
sh.Object.defineProperties(W1.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}})}}});W1.\u0275fac=function(a){return new (a||W1)};
W1.\u0275cmp=Oc({type:W1,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&&(F(0,"div",0),O(1,Ofb,1,1,"b-actions-menu",1),O(2,Pfb,6,3,"span",2),F(3,"button",3),L("click",function(){return FQc(b)})("keydown.enter",function(c){FQc(b);return c.stopPropagation()}),I(4,"mat-icon",4),H(),F(5,"button",5),L("click",function(){return b.nextPage()})("keydown.enter",function(c){b.nextPage();return c.stopPropagation()}),I(6,"mat-icon",6),H()());a&2&&(z(1),E("ngIf",b.searchResults&&0<b.searchResults.issues.length&&
!b.resultsPerPageFixed),z(1),E("ngIf",b.searchResults&&0<b.searchResults.issues.length),z(1),E("disabled",!(null==b.searchResults?0:b.searchResults.hasPreviousPage())),z(2),E("disabled",!(null==b.searchResults?0:b.searchResults.hasNextPage())))},dependencies:[Rw,HB,QA,VL,V1],encapsulation:2});var X1=function(){};X1.\u0275fac=function(a){return new (a||X1)};X1.\u0275mod=Qc({type:X1});X1.\u0275inj=zc({});var Y1=function(){};Y1.\u0275fac=function(a){return new (a||Y1)};Y1.\u0275mod=Qc({type:Y1});Y1.\u0275inj=zc({imports:[OG,ED,kT,X1]});var Z1=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia){v1.call(this,c,e,g,h,l,q,v,x,A,d,G,Q,Y,W,ia);this.hotlists=a;this.hotlistApi=b;this.appEvents=M;this.resource=null};T(Z1,v1);Z1.\u0275dir=v1.\u0275dir;f=Z1.prototype;f.ngOnInit=function(){v1.prototype.ngOnInit.call(this)};f.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?v1.prototype.setSort.call(this,a,b,!1):v1.prototype.setSort.call(this,a,b)};
f.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};
f.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"});YG(a.butterBar,'Saved changes to hotlist "'+b.name+'".');a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams");a.cdr.detectChanges();return b}).catch(function(b){a.errorHandler.errorHandler(null,b);return Promise.reject(b)});ZG(this.butterBar,"Hotlist is not set at this time.");
return Promise.resolve()};f.getGridPreferencesDefaults=function(){return Object.assign({},v1.prototype.getGridPreferencesDefaults.call(this),{query:"hotlistId:"+this.hotlistId})};f.getMetaColumns=function(a){a=a.params.sortColumns||[];return 0==a.length||1==a.length&&"POSITION"==a[0].fieldId.type?GQc:HQc};f.getSearchParams=function(a){a=v1.prototype.getSearchParams.call(this,a);a.hotlistId=this.hotlistId;return a};
f.repositionIssue=function(a,b){var c=this;this.searchResults&&this.hotlists.repositionIssue(this.hotlistId,this.searchResults.issues,a,b,"hotlist-panel",function(){c.searchResults&&(c.searchResults=c.searchResults.clone())}).then(function(d){c.resource=d;c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"issueDragDrop")})};Z1.\u0275fac=function(a){return new (a||Z1)(B(U1),B(cI),B(AI,2),B(aH),B(PH),B($G),B(Bs),B(XG),B(EI),B(mX),B(t1),B(QH),B(vL),B(eH),B(HG),B(fN),B(qF),B(RX))};
Z1.\u0275cmp=Oc({type:Z1,selectors:[["b-hotlist-panel"]],inputs:{hotlistId:"hotlistId"},features:[Of([AI]),kf],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&&(F(0,"div",0)(1,"div",1)(2,"div",2),O(3,Qfb,2,0,"div",3),O(4,Rfb,2,0,"div",3),O(5,Ufb,8,5,"div",3),H(),O(6,Vfb,5,0,"div",4),F(7,"b-pagination",5),
L("pageChange",function(c){return b.goToPage(c.page)}),H()(),O(8,agb,4,3,"div",3),H());a&2&&(of("aria-busy",b.isLoading),z(3),E("ngIf",!b.resource&&!b.isLoading),z(1),E("ngIf",!b.resource&&b.isLoading),z(1),E("ngIf",b.resource),z(1),E("ngIf",b.hasParamChanges()),z(1),E("searchResults",b.searchResults)("resultsPerPageFixed",!0),z(1),E("ngIf",b.resource))},dependencies:[Rw,U0,QA,lD,W1,w1,WM],encapsulation:2});var HQc=[W0,X0,Y0,bQc],GQc=[W0,aQc,X0,Y0,bQc],a2=function(){};
a2.\u0275fac=function(a){return new (a||a2)};a2.\u0275mod=Qc({type:a2});a2.\u0275inj=zc({imports:[OG,T1,ED,fE,Y1,x1,CO]});var b2=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y){v1.call(this,b,d,e,g,h,l,q,v,x,c,A,G,M,Q,Y);this.savedSearchApi=a;this.resource=null};T(b2,v1);b2.\u0275dir=v1.\u0275dir;b2.prototype.ngOnInit=function(){v1.prototype.ngOnInit.call(this)};b2.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};b2.prototype.saveResource=function(){return Promise.resolve()};
b2.\u0275fac=function(a){return new (a||b2)(B(gU),B(AI,2),B(aH),B(PH),B($G),B(Bs),B(XG),B(EI),B(mX),B(t1),B(QH),B(vL),B(HG),B(fN),B(qF),B(RX))};
b2.\u0275cmp=Oc({type:b2,selectors:[["b-saved-search-panel"]],inputs:{savedSearchId:"savedSearchId"},features:[Of([AI]),kf],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&&(F(0,"div",0)(1,"div",1)(2,"div",2),O(3,bgb,2,0,"div",3),O(4,cgb,2,0,"div",3),O(5,fgb,8,5,"div",4),H(),F(6,"b-pagination",5),L("pageChange",function(c){return b.goToPage(c.page)}),H()(),O(7,lgb,4,3,"div",3),H());a&2&&(of("aria-busy",b.isLoading),z(3),E("ngIf",!b.resource&&!b.isLoading),z(1),E("ngIf",!b.resource&&b.isLoading),z(1),E("ngIf",b.resource),z(1),E("searchResults",b.searchResults)("resultsPerPageFixed",!0),z(1),E("ngIf",b.resource))},
dependencies:[Rw,U0,lD,W1,w1,WM],encapsulation:2});var c2=function(){};c2.\u0275fac=function(a){return new (a||c2)};c2.\u0275mod=Qc({type:c2});c2.\u0275inj=zc({imports:[OG,T1,fE,Y1,x1,CO]});var d2=function(){this.label="Team"};d2.prototype.ngOnInit=function(){};d2.\u0275fac=function(a){return new (a||d2)};
d2.\u0275cmp=Oc({type:d2,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&&(F(0,"div",0)(1,"span",1),O(2,mgb,3,3,"span",2),H()());a&2&&(of("aria-label",b.label),z(2),E("ngForOf",b.teamPath))},dependencies:[Qw,KH],encapsulation:2});var e2=function(){};e2.\u0275fac=function(a){return new (a||e2)};e2.\u0275mod=Qc({type:e2});e2.\u0275inj=zc({imports:[OG,OH,tO]});var IQc=["form"],JQc=["numberInput"],KQc=/^\d+\.?\d*$/,LQc={DAYS:0,YEARS:1,0:"DAYS",1:"YEARS"},f2=function(){this.disabled=!1;this.ariaLabel="";this.durationDaysChange=new kw;this.displayUnits=0;this.timeUnitEnum=LQc};
f2.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()})};f2.prototype.ngAfterViewInit=function(){};
f2.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))};f2.prototype.ngOnDestroy=function(){this.formSubscription&&this.formSubscription.unsubscribe()};f2.\u0275fac=function(a){return new (a||f2)};
f2.\u0275cmp=Oc({type:f2,selectors:[["b-duration-picker"]],viewQuery:function(a,b){a&1&&(bg(IQc,7),bg(JQc,7));if(a&2){var c;ag(c=dg())&&(b.form=c.first);ag(c=dg())&&(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&&(F(0,"form",null,0)(2,"div",1)(3,"mat-form-field",2)(4,"mat-label"),P(5," Custom Duration "),H(),F(6,"input",3,4),L("keydown",function(c){switch(c.key){case "-":case "e":case "E":c.preventDefault()}})("paste",function(c){var d=c.clipboardData.getData("Text");KQc.test(d)||c.preventDefault()}),H()(),F(8,"mat-form-field",2)(9,"mat-select",5)(10,"mat-option",
6),P(11,"days"),H(),F(12,"mat-option",6),P(13,"year(s)"),H()()()()());a&2&&(z(6),E("ngModel",b.displayNumber)("disabled",b.disabled),of("aria-label",b.ariaLabel),z(3),E("ngModel",b.displayUnits)("disabled",b.disabled),z(1),E("value",b.timeUnitEnum.DAYS),z(2),E("value",b.timeUnitEnum.YEARS))},dependencies:[Bx,wg,Cx,tx,ux,Kx,Ax,yx,uB,sB,xB,HP,SA],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 g2=function(){};g2.\u0275fac=function(a){return new (a||g2)};g2.\u0275mod=Qc({type:g2});g2.\u0275inj=zc({imports:[OG,Px,yB,vB,IP,iV]});var h2=function(a,b,c){this.dialogRef=a;this.data=b;this.documentationLinks=c};h2.prototype.getDisablingFieldsHelpLink=function(){return this.documentationLinks.getDisablingFieldsHelpLink()};h2.prototype.onNoClick=function(){this.dialogRef.close(!1)};h2.\u0275fac=function(a){return new (a||h2)(B(bB),B(dB),B(OJ))};
h2.\u0275cmp=Oc({type:h2,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&&(F(0,"h1",0),P(1),H(),F(2,"div",1)(3,"p"),P(4,
" The "),F(5,"strong"),P(6),H(),P(7," field will change state from "),F(8,"strong"),P(9),H(),P(10," to "),F(11,"strong"),P(12),H(),P(13,". "),H(),O(14,ngb,6,2,"p",2),F(15,"p"),P(16,"Are you sure?"),H()(),F(17,"div",3)(18,"button",4),L("click",function(){return b.onNoClick()}),P(19," Cancel "),H(),F(20,"button",5),P(21," Confirm "),H()());a&2&&(z(1),Lf("Field State Change for ",b.data.fieldName,""),z(5),Mf(b.data.fieldName),z(3),Mf(b.data.oldFieldState),z(3),Mf(b.data.newFieldState),z(2),E("ngIf",
b.data.noteText),z(6),E("mat-dialog-close",!0))},dependencies:[Rw,QA,fB,gB,hB,iB],styles:[".notice[_ngcontent-%COMP%]{font-weight:bold}"]});var MQc=["fieldStateMenuButton"],NQc=function(a){return{"mat-stroked-button":a}},i2=function(a){this.dialog=a;this.fieldName="";this.fieldState=1;this.confirmationDialog=this.enabledOnParent=!0;this.disabled=!1;this.fieldStateChange=new kw;this.FieldStateProto=vqa;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."}};i2.prototype.ngOnInit=function(){this.updateMenuButton()};
i2.prototype.ngOnChanges=function(){this.updateMenuButton()};
var PQc=function(a,b){b!==a.fieldState&&(a.confirmationDialog?OQc(a,b):(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b)))},OQc=function(a,b){var c=2===b||1===b&&!a.enabledOnParent,d=1!==a.fieldState&&1===b,e=void 0;2!==a.fieldState&&(1!==a.fieldState||a.enabledOnParent)&&c?e=a.msgs.becomesHiddenWarning:d&&(e=a.msgs.becomesInheritedWarning);$A(a.dialog.open(h2,{width:"500px",data:{fieldName:a.fieldName,oldFieldState:QQc(a,a.fieldState),newFieldState:QQc(a,b),noteText:e}})).pipe(Oe()).subscribe(function(g){g?
(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b),a.disabled=!0):a.focus()})};i2.prototype.updateMenuButton=function(){this.defaultLabel="Default ("+(this.enabledOnParent?this.msgs.visibleName:this.msgs.hiddenName)+")";this.menuLabel=QQc(this,this.fieldState)};var QQc=function(a,b){switch(b){case 1:return a.defaultLabel;case 2:return a.msgs.hiddenName;case 3:return a.msgs.visibleName;default:Ch(b,"Unknown FieldState.")}};i2.prototype.focus=function(){this.disabled=!1;this.fieldStateMenuButton.nativeElement.focus()};
i2.\u0275fac=function(a){return new (a||i2)(B(eB))};
i2.\u0275cmp=Oc({type:i2,selectors:[["b-field-state-menu"]],viewQuery:function(a,b){a&1&&bg(MQc,5,Dd);if(a&2){var c;ag(c=dg())&&(b.fieldStateMenuButton=c.first)}},inputs:{fieldName:"fieldName",fieldState:"fieldState",enabledOnParent:"enabledOnParent",confirmationDialog:"confirmationDialog",disabled:"disabled"},outputs:{fieldStateChange:"fieldStateChange"},features:[gd],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&&(F(0,"div")(1,"button",0,1)(3,"div",2),I(4,"span",3)(5,"b-icon",4),H()()(),F(6,"mat-menu",null,5)(8,"div",6)(9,"div",7)(10,"button",8),L("click",function(){return PQc(b,b.FieldStateProto.INHERIT)}),I(11,"b-icon",9),F(12,"div",10),P(13),H(),F(14,"div",11),P(15),H()()(),I(16,"mat-divider"),F(17,"button",12),L("click",function(){return PQc(b,b.FieldStateProto.DISABLED)}),F(18,"div",13)(19,"div",
14),I(20,"b-icon",9),F(21,"div",10),P(22),H(),F(23,"div",11),P(24),H()()()(),F(25,"button",12),L("click",function(){return PQc(b,b.FieldStateProto.ENABLED)}),F(26,"div",13)(27,"div",14),I(28,"b-icon",9),F(29,"div",10),P(30),H(),F(31,"div",11),P(32),H()()()()()());if(a&2){var c=Kf(7);z(1);E("ngClass",Rf(16,NQc,!b.disabled))("disabled",b.disabled)("matMenuTriggerFor",c);z(3);E("innerHTML",b.menuLabel,Td);z(6);xf("b-menu-item-checked",b.fieldState===b.FieldStateProto.INHERIT);z(3);Lf(" ",b.defaultLabel,
" ");z(2);Lf(" ",b.msgs.inheritDescription," ");z(2);xf("b-menu-item-checked",b.fieldState===b.FieldStateProto.DISABLED);z(5);Lf(" ",b.msgs.hiddenName," ");z(2);Lf(" ",b.msgs.hiddenDescription," ");z(1);xf("b-menu-item-checked",b.fieldState===b.FieldStateProto.ENABLED);z(5);Lf(" ",b.msgs.visibleName," ");z(2);Lf(" ",b.msgs.visibleDescription," ")}},dependencies:[Pw,QA,XM,dD,bD,cD,dO],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 j2=function(){};j2.\u0275fac=function(a){return new (a||j2)};j2.\u0275mod=Qc({type:j2});j2.\u0275inj=zc({imports:[OG,ED,jB,kU,eD,zO,FT]});var k2=function(a,b){this.dialogRef=b;this.issueId=a.issueId;this.issueTitle=a.issueTitle};k2.prototype.close=function(){this.dialogRef.close(!1)};k2.\u0275fac=function(a){return new (a||k2)(B(dB),B(bB))};
k2.\u0275cmp=Oc({type:k2,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&&(F(0,"h1",0),P(1,"Unsubscribe From Issue"),H(),F(2,"mat-dialog-content")(3,"div",1),P(4," Are you sure you would like to unsubscribe from the following issue? "),
H(),I(5,"br"),F(6,"div",2)(7,"a",3)(8,"span"),P(9),H()(),P(10," - "),F(11,"span"),P(12),H()(),I(13,"br"),F(14,"div",1),P(15," By unsubscribing, you will no longer receive email updates about this issue. "),H()(),F(16,"mat-dialog-actions")(17,"button",4),L("click",function(){return b.close()}),P(18," Cancel "),H(),F(19,"button",5),L("click",function(){b.dialogRef.close(!0)}),P(20," Unsubscribe "),H()());a&2&&(z(7),Hf("href","/issues/",b.issueId,"",Ud),z(2),Lf("b/",b.issueId,""),z(3),Mf(b.issueTitle))},
dependencies:[gB,hB,iB,QA],encapsulation:2});var RQc=function(a,b){return{small:a,medium:b}},SQc=function(a){return{black:a}},l2=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 kw;this.showNotificationSettings=new kw;this.menuLabel="Default";this.menuIcon="notifications_none_24px";this.isAnonymous=this.activeSession.isAnonymous();this.subscriptionInternal="UNKNOWN_SUBSCRIPTION";this.NotificationSubscription=F6b;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"}]])};l2.prototype.ngOnInit=function(){TQc(this)};l2.prototype.ngOnChanges=function(){this.updateMenuButton()};l2.prototype.updateSubscription=function(a){a!==this.subscriptionInternal&&this.subscriptionChange.emit(a)};l2.prototype.updateMenuButton=function(){var a=this.subscriptions.get(this.subscriptionInternal);a&&(this.menuLabel=a.label,this.menuIcon=a.icon)};
var TQc=function(a){var b,c;pe(function(d){if(1==d.nextAddress)return"true"!==a.routeParams.unsubscribe||a.subscription&&"UNSUBSCRIBED"===a.subscription?d.return():d.yield((0,D.firstValueFrom)(a.issueFridge.watch(a.issueId)),2);if(3!=d.nextAddress){b=d.yieldResult;if(!b)return d.return();a.matDialogService.closeAll();return d.yield((0,D.firstValueFrom)($A(a.matDialogService.open(k2,{width:"400px",data:{issueId:a.issueId,issueTitle:b.snapshot[0].title}}))),3)}if(c=d.yieldResult)a.updateSubscription("UNSUBSCRIBED"),
a.analytics.trackEvent(ao.EDIT_ISSUE,"unsubscribeUsingDialog");ue(d)})};sh.Object.defineProperties(l2.prototype,{subscription:{configurable:!0,enumerable:!0,set:function(a){null!=a&&(this.subscriptionInternal=a)},get:function(){return this.subscriptionInternal}}});l2.\u0275fac=function(a){return new (a||l2)(B(Bs),B(eB),B(JI),B(EI),B(sK))};
l2.\u0275cmp=Oc({type:l2,selectors:[["b-notification-menu"]],inputs:{subscription:"subscription",iconOnly:"iconOnly",issueId:"issueId"},outputs:{subscriptionChange:"subscriptionChange",showNotificationSettings:"showNotificationSettings"},features:[gd],decls:63,vars:31,consts:[["mat-button","",1,"notification-menu-button","gmat-button",3,"ngClass","matMenuTriggerFor","disabled"],[1,"notification-menu-button-inner"],["size","small",1,"icon",3,"name","ngClass"],[4,"ngIf"],["notificationMenu","matMenu"],
[1,"notification-menu"],[1,"menu-row-container","default-container"],["mat-menu-item","",1,"default-button","notification-option",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-title","gmat-subhead-2"],[1,"item-description","gmat-caption"],[1,"default-divider",3,"vertical"],["mat-menu-item","","aria-label","Settings",1,"default-settings",3,"click"],["name","settings-outline","size","small",1,"item-icon"],[1,"menu-row-container"],["mat-menu-item","",
"aria-label","All Updates. Receive emails for major and minor updates.","aria-describedby","all-updates-help",1,"notification-option",3,"click"],[1,"subscription-info"],["mat-menu-item","",1,"subscription-help","help-icon",3,"click","focus","blur"],[3,"panelTemplate","overlayPositions"],["allUpdates",""],["svgIcon","help-outline",1,"subscription-help","item-icon","small"],["all",""],["mat-menu-item","","aria-label","Major Updates. Receive emails for major updates only.","aria-describedby","major-updates-help",
1,"notification-option",3,"click"],["majorUpdates",""],["major",""],["mat-menu-item","",1,"notification-option",3,"click"],[1,"notification-menu-label",3,"innerHTML"],["name","arrow-dropdown","size","small",1,"notification-dropdown-icon"],["id","all-updates-help",1,"subscription-help-bubble"],[1,"subscription-help-list"],["id","major-updates-help",1,"subscription-help-bubble"]],template:function(a,b){if(a&1){var c=u();F(0,"div")(1,"button",0)(2,"div",1);I(3,"b-icon",2);O(4,ogb,3,1,"ng-container",
3);H()()();F(5,"mat-menu",null,4)(7,"div",5)(8,"div",6)(9,"button",7);L("click",function(){return b.updateSubscription(b.NotificationSubscription.UNKNOWN_SUBSCRIPTION)});I(10,"b-icon",8);F(11,"div",9);P(12," Default ");H();F(13,"div",10);P(14," receive emails based on your default settings. ");H()();I(15,"mat-divider",11);F(16,"button",12);L("click",function(h){return b.showNotificationSettings.emit(h)});I(17,"b-icon",13);H()();I(18,"mat-divider");F(19,"div",14)(20,"button",15);L("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)});
F(21,"div",16);I(22,"b-icon",8);F(23,"div",9);P(24," All Updates ");H();F(25,"div",10);P(26," receive emails for major and minor updates. ");H()()();F(27,"button",17);L("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)})("focus",function(){w(c);var h=Kf(29);return y(h.toggle(!0))})("blur",function(){w(c);var h=Kf(29);return y(h.toggle(!1))});F(28,"xap-bubble",18,19);I(30,"mat-icon",20);O(31,pgb,13,0,"ng-template",null,21,gg);H()()();F(33,"div",14)(34,
"button",22);L("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)});F(35,"div",16);I(36,"b-icon",8);F(37,"div",9);P(38," Major Updates ");H();F(39,"div",10);P(40," receive emails for major updates only. ");H()()();F(41,"button",17);L("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)})("focus",function(){w(c);var h=Kf(43);return y(h.toggle(!0))})("blur",function(){w(c);var h=Kf(43);return y(h.toggle(!1))});
F(42,"xap-bubble",18,23);I(44,"mat-icon",20);O(45,qgb,15,0,"ng-template",null,24,gg);H()()();F(47,"button",25);L("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY)});F(48,"div",14)(49,"div",16);I(50,"b-icon",8);F(51,"div",9);P(52," Closure Only ");H();F(53,"div",10);P(54," only receive emails when the issue is closed. ");H()()()();F(55,"button",25);L("click",function(){return b.updateSubscription(b.NotificationSubscription.UNSUBSCRIBED)});F(56,"div",
14)(57,"div",16);I(58,"b-icon",8);F(59,"div",9);P(60," None ");H();F(61,"div",10);P(62," unsubscribe from further email updates. ");H()()()()()()}if(a&2){var d=Kf(6),e=Kf(32),g=Kf(46);z(1);xf("icon-only",b.iconOnly);E("ngClass",Sf(26,RQc,b.iconOnly,!b.iconOnly))("matMenuTriggerFor",d)("disabled",b.isAnonymous);of("aria-label","Notifications Menu, current value is "+b.subscriptions.get(b.subscriptionInternal||"UNKNOWN_SUBSCRIPTION").label);z(2);E("name",b.menuIcon)("ngClass",Rf(29,SQc,"notifications-off"===
b.menuIcon));z(1);E("ngIf",!b.iconOnly);z(5);xf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNKNOWN_SUBSCRIPTION);z(6);E("vertical",!0);z(5);xf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES);z(7);of("aria-label","This includes emails about major updates and All title, hotlist, and status changes, Blocking, Blocked By, or Duplicate changes, Changes to Reporter, Verifier, and CCs, changes to Type, Found In, Targeted To, Verified In, In Prod, and Changes to custom fields marked as minor.");
z(1);E("panelTemplate",e)("overlayPositions",b.bubblePosition);z(6);xf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES);z(7);of("aria-label","This includes emails about New comments, Priority or Severity changes, Assignee changes, Component changes, Issue closure or reopening, and Changes to custom fields marked as major.");z(1);E("panelTemplate",g)("overlayPositions",b.bubblePosition);z(5);xf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY);
z(8);xf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNSUBSCRIBED)}},dependencies:[Pw,Rw,HB,QA,XM,dD,bD,cD,dO,LP],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 m2=function(){};m2.\u0275fac=function(a){return new (a||m2)};m2.\u0275mod=Qc({type:m2});m2.\u0275inj=zc({imports:[OG,ED,kU,eD,zO,FT,QP]});var n2=function(a,b){this.sloApi=a;this.cdr=b;this.isDisabled=!1;this.dropdownChoices=null;this.onSloSelect=new kw;this.internalBoundId=this.selectedSlo=null;this.lastProcessedIndex=-1;this.requestIndex=0},UQc=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()};
n2.prototype.displayFn=function(a){return(null==a?void 0:a.name)||(null==a?void 0:a.sloId)||""};n2.prototype.updateSelectionOnChange=function(a){if(a=a.option.value)this.boundId=a.sloId;this.onSloSelect.emit(a);this.cdr.detectChanges()};
sh.Object.defineProperties(n2.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)}}});n2.\u0275fac=function(a){return new (a||n2)(B(RT),B(AI,2))};
n2.\u0275cmp=Oc({type:n2,selectors:[["slo-picker"]],inputs:{isDisabled:["bv2Disabled","isDisabled"],placeholder:["bv2Placeholder","placeholder"],boundId:"boundId"},outputs:{onSloSelect:"onSloSelect"},features:[Of([AI])],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();F(0,"div",0)(1,"input",1,2);L("ngModelChange",function(e){return b.selectedSlo=e})("click",function(){w(c);var e=Kf(2);return y(UQc(b,e.value))})("input",function(){w(c);var e=Kf(2);return y(UQc(b,e.value))});H();F(3,"mat-autocomplete",3,4);L("optionSelected",function(e){return b.updateSelectionOnChange(e)});O(5,rgb,2,2,"mat-option",5);
H()()}if(a&2){var d=Kf(4);z(1);E("placeholder",b.placeholder)("ngModel",b.selectedSlo)("disabled",b.isDisabled)("matAutocomplete",d);z(2);E("displayWith",b.displayFn);z(2);E("ngForOf",b.dropdownChoices)}},dependencies:[Qw,eQ,dQ,SA,wg,tx,Ax],encapsulation:2});var o2=function(){};o2.\u0275fac=function(a){return new (a||o2)};o2.\u0275mod=Qc({type:o2});o2.\u0275inj=zc({imports:[OG,fQ,Px]});var VQc=function(a){return{"empty-list-field-indication":a}},p2=function(a){this.documentationLinks=a;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.issueRetentionDisabled=!1;this.modelChange=new kw;this.validChange=new kw;this.RetentionSelection=M6b};
p2.prototype.ngOnInit=function(){this.initialModel?this.model=this.initialModel:this.model={retentionSelection:"UNSPECIFIED_RETENTION",retentionPeriodDays:null,piiRetentionSelection:"UNSPECIFIED_RETENTION",piiRetentionPeriodDays:null,spiiRetentionPeriodDays:null};Xp(this)};p2.prototype.updateSelectionOnChange=function(a){this.model.retentionSelection=a;this.model.retentionPeriodDays=null;this.modelChange.emit(this.model);Xp(this)};
var Xp=function(a){var b=a.validChange,c=b.emit,d;if(d=Yp(a))d=a.hasRetentionSelection(a.model.piiRetentionSelection)&&(a.model.piiRetentionSelection!==a.RetentionSelection.BUGANIZER_DEFAULT||!WQc(a))&&(a.model.piiRetentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||XQc(a));c.call(b,d)};p2.prototype.hasRetentionSelection=function(a){return a&&a!==this.RetentionSelection.UNSPECIFIED_RETENTION};
var Yp=function(a){return a.hasRetentionSelection(a.model.retentionSelection)&&(a.model.retentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||!!a.model.retentionPeriodDays&&30<=a.model.retentionPeriodDays&&3650>=a.model.retentionPeriodDays)},tgb=function(a){return a?Sua(a):"[unset period]"},XQc=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},xgb=function(a){if(!Yp(a)||XQc(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 "+tgb(e):"Restricted+ retention must not exceed Restricted retention."},WQc=function(a){return a.model.retentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&(!a.model.retentionPeriodDays||60>a.model.retentionPeriodDays)},Agb=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};p2.\u0275fac=function(a){return new (a||p2)(B(OJ))};
p2.\u0275cmp=Oc({type:p2,selectors:[["b-retention-settings-form"]],inputs:{initialModel:"initialModel",isExternal:"isExternal",issueRetentionDisabled:"issueRetentionDisabled"},outputs:{modelChange:"modelChange",validChange:"validChange"},decls:30,vars:32,consts:[["aria-label","Retention settings form",1,"issue-retention-form",3,"ngClass","disabled","name","ngModel","ngModelChange"],[3,"value"],["aria-label","Custom retention period, must be between 30 days and 10 years",3,"value"],["class","duration-error",
4,"ngIf"],["class","custom-duration",4,"ngIf"],[3,"disabled","value"],["class","warning-box","id","indefinite-retention-warning-box",4,"ngIf"],["aria-label","PII Retention settings form",1,"pii-retention-form",3,"ngClass","disabled","name","ngModel","ngModelChange"],["target","_blank","aria-label","Learn more about restricted access",1,"keep-underline","keep-focus-ring",3,"rel"],[3,"aria-label","disabled","value"],["class","warning-box","id","indefinite-pii-retention-warning-box",4,"ngIf"],[1,"duration-error"],
[1,"custom-duration"],["ariaLabel","Custom duration",3,"disabled","durationDays","durationDaysChange"],[1,"duration-description"],["id","indefinite-retention-warning-box",1,"warning-box"],[1,"b-restricted-retention-duration-label"],["ariaLabel","Restricted retention duration",3,"disabled","durationDays","durationDaysChange"],[1,"warning-box"],["ariaLabel","Restricted+ retention duration",3,"disabled","durationDays","durationDaysChange"],["class","warning-box","id","custom-pii-retention-warning-box",
4,"ngIf"],["id","custom-pii-retention-warning-box",1,"warning-box"],["id","indefinite-pii-retention-warning-box",1,"warning-box"]],template:function(a,b){a&1&&(F(0,"mat-radio-group",0),L("ngModelChange",function(c){return b.updateSelectionOnChange(c)}),F(1,"p")(2,"b"),P(3,"Issue Retention"),H()(),F(4,"mat-radio-button",1),P(5," Buganizer default retention period (for minimal or no PII/SPII): 10 years "),H(),F(6,"mat-radio-button",2),P(7," Custom retention period "),O(8,sgb,2,0,"span",3),O(9,ugb,4,
3,"div",4),H(),F(10,"mat-radio-button",5),P(11),O(12,vgb,13,0,"div",6),H()(),F(13,"mat-radio-group",7),L("ngModelChange",function(c){b.model.piiRetentionSelection=c;b.model.piiRetentionPeriodDays=null;b.model.spiiRetentionPeriodDays=null;b.modelChange.emit(b.model);Xp(b)}),F(14,"p"),I(15,"br"),F(16,"b"),P(17,"Restricted Comments/Attachments Retention "),H(),F(18,"a",8),P(19,"Learn more "),H()(),F(20,"mat-radio-button",1),P(21," Buganizer default retention period : 60 days "),O(22,wgb,2,0,"span",3),
H(),F(23,"mat-radio-button",9),P(24," Custom retention period "),O(25,ygb,2,1,"span",3),O(26,Bgb,16,7,"div",4),H(),F(27,"mat-radio-button",5),P(28," Match Issue Retention "),O(29,Cgb,3,0,"div",10),H()());a&2&&(E("ngClass",Rf(28,VQc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","retentionForm")("ngModel",b.model.retentionSelection),z(4),E("value",b.RetentionSelection.BUGANIZER_DEFAULT),z(2),E("value",b.RetentionSelection.CUSTOM_PERIOD),
z(2),E("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!(b.model.retentionPeriodDays&&30<=b.model.retentionPeriodDays&&3650>=b.model.retentionPeriodDays)),z(1),E("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD),z(1),E("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),z(1),Lf(" Indefinite retention period ",b.isExternal?"(Internal components only)":""," "),z(1),E("ngIf",b.model.retentionSelection===b.RetentionSelection.INDEFINITE_RETENTION),
z(1),E("ngClass",Rf(30,VQc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","piiRetentionForm")("ngModel",b.model.piiRetentionSelection),z(5),E("rel",b.EXTERNAL_LINK_REL),of("href",b.documentationLinks.getRestrictedAccessHelpLink(),Ud),z(2),E("value",b.RetentionSelection.BUGANIZER_DEFAULT),z(2),E("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.BUGANIZER_DEFAULT&&WQc(b)),z(1),E("aria-label","Custom Retention Period,"+
xgb(b))("disabled",!Yp(b))("value",b.RetentionSelection.CUSTOM_PERIOD),z(2),E("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!XQc(b)),z(1),E("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD),z(1),E("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),z(2),E("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.INDEFINITE_RETENTION&&Agb(b)))},dependencies:[Pw,Rw,tx,Ax,aO,bO,f2],styles:[".mat-radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-width:588px}.duration-error[_ngcontent-%COMP%]{color:#c5221f;color:var(--text-bad);font-weight:bold}.warning-box[_ngcontent-%COMP%]{white-space:normal}.b-restricted-retention-duration-label[_ngcontent-%COMP%]{display:inline-block;width:12em}b-duration-picker[_ngcontent-%COMP%]{display:inline-block}"],
changeDetection:0});var q2=function(){};q2.\u0275fac=function(a){return new (a||q2)};q2.\u0275mod=Qc({type:q2});q2.\u0275inj=zc({imports:[OG,Px,EO,g2]});var YQc=function(){this.type="component";this.includeChildren=!1},ZQc=function(){this.type="tracker"},$Qc=function(){this.type="team";this.includeChildren=!1},aRc=function(){this.type="hotlist"},bRc=function(){this.type="savedsearch"},cRc=function(){this.type="customfield"};var dRc=function(a,b){this.query=a;this.cursorIdx=b;this.label=null;this.value={val:"",idx:0};this.value.idx=b},eRc="componentid c hotlistid h savedsearchid teamid trackerid".split(" "),fRc=eRc.concat("archived assignee attachment blockedbyid blockingid canonicalid cc cccount collaborator collaboratorcount cl comment commentcount commenter created customfield deleted deletionreason deletiontime duplicatecount effortlabel foundin inprod is lastcommenter lastmodifier mention modified modifier mute p parentid postmortem priority reporter resolved s severity star status t targetedto title type verified verifiedin verifier votecount nearestslo".split(" ")),
gRc="cl deleted deletionreason deletiontime effortlabel nearestslo postmortem teamid".split(" "),hRc="(?:\\s|^)(-?)(customfield\\d+|"+fRc.join("|")+")(:|>|<|>=|<=|=)";var r2=function(a,b,c,d,e,g,h,l,q){rF.call(this);var v=this;this.userApi=a;this.trackerFridge=b;this.currentTracker=c;this.customFieldsApi=d;this.hotlistApi=e;this.savedSearchApi=g;this.componentActions=h;this.teamsService=l;this.activeSession=q;this.query="";this.requestIndex=0;this.producers=[{match:function(x){return iRc(v,x)}},{updateHeader:function(x){return jRc(v,x)}},{updateHeader:function(x){return kRc(v,x)}},{updateHeader:function(x){return lRc(v,x)}},{updateHeader:function(x){return mRc(v,
x)}},{updateHeader:function(x){return nRc(v,x)}},{updateHeader:function(x){return oRc(v,x)}}];this.currentSearchContext=null;this.items=[];this.acHeader=null;this.acRefreshed$=new D.Subject;this.refreshRequest$=new D.Subject;this.refreshRequest$.pipe(Le(250),af(this.destroyed$)).subscribe(function(x){pRc(v,x.currentRequestIndex,x.currentSearchContext)});this.sessionIsInternal=q.isInternalSession();a=new Set(fRc);this.sessionIsInternal||a.delete("mention");if(!this.sessionIsInternal)for(b=k(gRc),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"]))};T(r2,rF);r2.\u0275dir=rF.\u0275dir;r2.prototype.isTrackerSearchEnabled=function(){return!this.currentTracker.inTracker};
var pRc=function(a,b,c){for(var d=!1,e=!1,g=[],h=k(a.producers),l=h.next();!l.done;l=h.next())l=l.value,l.match&&g.push(l.match(c).then(function(q){d||(d=!0,a.items=[]);b<a.requestIndex||a.items.push.apply(a.items,cd(q))}).catch(function(q){return q})),l.updateHeader&&g.push(l.updateHeader(c).then(function(q){e||(e=!0,a.acHeader=null);b<a.requestIndex||(a.acHeader=q)}).catch(function(q){return q}));Promise.all(g).finally(function(){d||(a.items=[]);e||(a.acHeader=null);a.acRefreshed$.next()})},iRc=
function(a,b){if(!b.value.val){var c=b.value.idx;if(c<b.query.length&&-1===b.query.charAt(c).search("\\s"))return Promise.reject(null)}if(b.label){if(b.label.customFieldId)return qRc(a,b);switch(b.label.val){case "archived":return Promise.resolve(aq(rRc,b.value,!0));case "componentid":case "c":return sRc(a,b);case "deleted":return tRc(b);case "deletionreason":return Promise.resolve(aq(uRc,b.value,!0));case "hotlistid":case "h":return vRc(a,b);case "savedsearchid":return wRc(a,b);case "status":case "is":return Promise.resolve(aq(xRc,
b.value,!0));case "trackerid":return yRc(a,b);case "teamid":return zRc(a,b);case "type":case "t":return a.matchType(b);case "priority":case "p":return Promise.resolve(aq(ARc,b.value,!0));case "severity":case "s":return Promise.resolve(aq(BRc,b.value,!0));case "inprod":case "star":case "mute":return tRc(b);default:return Promise.reject(null)}}if(!b.value.val)return Promise.reject(null);c=[];for(var d=Egb(b.value.val),e=k(a.atoms),g=e.next();!g.done;g=e.next())if(g=g.value,d.token!==g&&di(g,d.token)){var h=
b.value.idx+(d.negated?1:0);h={type:"atom",startIdx:h,endIdx:h+b.value.val.length,completionValue:g+(a.atomsWithoutOp.has(g)?"":":"),enableShadowPlaceholder:!0};h={trackId:"atom:"+g,name:g,completionCfg:h};"customfield"===g&&(h.name="customfield[id]:[value]");c.push(h)}c.sort(function(l,q){return eq(l.name,q.name)});return Promise.resolve(c)},qRc=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 aq(d,b.value,!1,!1)}):Promise.reject(null)};r2.prototype.matchType=function(a){return Promise.resolve(aq(CRc,a.value,!0))};
var tRc=function(a){if(!a.label)return Promise.reject(null);var b=a.label.val;return Promise.resolve(aq([{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))},sRc=function(a,b){var c=b.value.val;return!c||$p(c,!0)?Promise.reject(null):a.componentActions.search(c,!1).then(function(d){return a.processResponse(b,
d)})};
r2.prototype.processResponse=function(a,b){var c=a.value.val,d=[];b=k(b);for(var e=b.next(),g={};!e.done;g={$jscomp$loop$prop$paths$2365:g.$jscomp$loop$prop$paths$2365,$jscomp$loop$prop$startIdx$2366:g.$jscomp$loop$prop$startIdx$2366,$jscomp$loop$prop$endIdx$2367:g.$jscomp$loop$prop$endIdx$2367},e=b.next()){e=e.value;var h=e.componentId;g.$jscomp$loop$prop$startIdx$2366=a.value.idx;g.$jscomp$loop$prop$endIdx$2367=g.$jscomp$loop$prop$startIdx$2366+c.length;g.$jscomp$loop$prop$paths$2365=ds(this.currentTracker,e.componentPathInfo);
e={componentId:h,name:e.name,description:e.description,trackId:"component:"+h,accessLimit:e.accessLimit,trackerId:e.trackerId,completionCfg:{type:"component",startIdx:g.$jscomp$loop$prop$startIdx$2366,endIdx:g.$jscomp$loop$prop$endIdx$2367,completionValue:""+h,matchingString:c},componentPath:g.$jscomp$loop$prop$paths$2365.componentPathId.map(function(l){return function(q,v){return{trackId:"subcomponent:"+q,id:""+q,name:String(l.$jscomp$loop$prop$paths$2365.componentPathName[v]),completionCfg:{type:"component",
completionValue:String(q),startIdx:l.$jscomp$loop$prop$startIdx$2366,endIdx:l.$jscomp$loop$prop$endIdx$2367}}}}(g))};d.push(e)}return d};
var zRc=function(a,b){var c=b.value.val;if(!a.sessionIsInternal||!c||$p(c,!0))return Promise.reject(null);var d=Yl();bJ(a.teamsService,c).pipe(af(a.destroyed$)).subscribe(function(e){var g=b.value.idx,h=g+c.length,l=[];e=k(e);for(var q=e.next(),v={};!q.done;v={$jscomp$loop$prop$pathNames$2369:v.$jscomp$loop$prop$pathNames$2369},q=e.next())q=q.value,v.$jscomp$loop$prop$pathNames$2369=q.pathNames,q={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:g,endIdx:h,completionValue:String(q.teamId),matchingString:c},teamPath:q.pathIds.map(function(x){return function(A,G){return{trackId:"team:"+A,id:A,name:x.$jscomp$loop$prop$pathNames$2369[G],completionCfg:{type:"team",completionValue:String(A),startIdx:g,endIdx:h}}}}(v))},l.push(q);d.resolve(l)},function(){d.reject()});return d.promise},jRc=function(a,b){if(!b.label||"componentid"!==b.label.val&&"c"!==b.label.val)return Promise.reject(null);
var c=new YQc;b=b.value.val;return $p(b,!0)?(Os(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)},mRc=function(a,b){if(!a.isTrackerSearchEnabled()||!b.label||"trackerid"!==b.label.val)return Promise.reject(null);var c=new ZQc,d=Yl();b=b.value.val;$p(b)?a.trackerFridge.watchOne(b).pipe(af(a.destroyed$)).subscribe(function(e){c.tracker=
e;d.resolve(c)}):b&&d.resolve(c);return d.promise},oRc=function(a,b){if(!a.sessionIsInternal||!b.label||"teamid"!==b.label.val)return Promise.reject(null);var c=new $Qc,d=Yl(),e=b.value.val;$p(e,!0)?(Os(e,"+")&&(e=e.slice(0,e.length-1),c.includeChildren=!0),bJ(a.teamsService,e).pipe(af(a.destroyed$)).subscribe(function(g){0<g.length?(g=g[0],c.team={pathNames:g.pathNames,name:g.name,description:g.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},kRc=function(a,b){if(!b.label||"hotlistid"!==b.label.val&&"h"!==b.label.val)return Promise.reject(null);var c=new aRc;b=b.value.val;return $p(b)?a.hotlistApi.get(b).then(function(d){c.hotlist=d;return c}):b?Promise.reject(null):Promise.resolve(c)},lRc=function(a,b){if(!b.label||"savedsearchid"!==b.label.val)return Promise.reject(null);var c=new bRc;b=b.value.val;return $p(b)?a.savedSearchApi.get(b).then(function(d){c.savedSearch=
d;return c}):b?Promise.reject(null):Promise.resolve(c)},nRc=function(a,b){if(b.label&&b.label.customFieldId)var c=b.label.customFieldId;else if(di(b.value.val,"customfield"))(b=b.value.val.match("^customfield(\\d+)"))&&(c=b[1]),Ym("search-usage","customfield");else return Promise.reject(null);var d=new cRc;return c?a.customFieldsApi.get(c).then(function(e){d.customField=e;return d}):Promise.resolve(d)},yRc=function(a,b){var c=b.value.val;if(!a.isTrackerSearchEnabled()||!c||$p(c,!0))return Promise.reject(null);
var d=Yl();a.trackerFridge.watchMany({filter:c,pageSize:5}).pipe(af(a.destroyed$)).subscribe(function(e){var g=b.value.idx,h=g+c.length,l=[];e=k(e.results);for(var q=e.next();!q.done;q=e.next())q=q.value,l.push({trackId:"trackerid:"+q.trackerId,name:q.name,trackerId:q.trackerId,label:"Tracker "+q.trackerId,completionCfg:{type:"tracker",startIdx:g,endIdx:h,completionValue:q.trackerId,matchingString:c}});d.resolve(l)});return d.promise},vRc=function(a,b){return $p(b.value.val)?Promise.reject(null):
a.userApi.getUserHotlists().then(function(c){c=c.map(function(d){var e=d.hotlistId;return{hotlistId:e,name:d.name,trackId:"hotlist:"+e,completionCfg:{type:"hotlist",completionValue:""+e}}});return aq(c,b.value,!1,!0)})},wRc=function(a,b){return $p(b.value.val)?Promise.reject(null):a.userApi.getUserSavedSearches().then(function(c){c=c.map(function(d){var e=d.searchId;return{searchId:e,name:d.name,query:d.query,trackId:"savedsearch:"+e,completionCfg:{type:"savedsearch",completionValue:""+e}}});return aq(c,
b.value,!1,!0)})};r2.\u0275fac=function(a){return new (a||r2)(t(lI),t(iJ),t(PL),t(hH),t(cI),t(gU),t(kV),t($I),t(Bs))};r2.\u0275prov=yc({token:r2,factory:r2.\u0275fac,providedIn:"root"});
var xRc="accepted assigned closed duplicate fixed infeasible intended_behavior new not_reproducible obsolete open verified".split(" ").map(function(a){return bq(a,"status","Status","status")}),CRc="bug customer_issue feature_request internal_cleanup process vulnerability privacy_issue project feature milestone epic story task".split(" ").map(function(a){return bq(a,"bugType","Type","type")}),ARc=["p0","p1","p2","p3","p4"].map(function(a){return bq(a,"priority","Priority","priority")}),BRc=["s0","s1",
"s2","s3","s4"].map(function(a){return bq(a,"severity","Severity","severity")}),rRc=["all","true","false"].map(function(a){return bq(a,"archived","Archived","archived")}),uRc=["abuse","pii","user_request","retention"].map(function(a){return bq(a,"deletionReason","Deletion Reason","deletionreason")});var s2=function(a){this.cdr=a;this.optionsChange=new kw};s2.prototype.ngOnInit=function(){Fgb(this)};
var Fgb=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},Ggb=function(a){a.validator&&(a.errorString=a.validator(),a.cdr.detectChanges())},DRc=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);Ggb(a)},ERc=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(", ")};s2.\u0275fac=function(a){return new (a||s2)(B(AI,2))};
s2.\u0275cmp=Oc({type:s2,selectors:[["slo-element-property-picker"]],inputs:{selectAllText:"selectAllText",validator:"validator",options:"options"},outputs:{optionsChange:"optionsChange"},features:[Of([AI])],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&&(F(0,"div")(1,"button",
0)(2,"div",1)(3,"span",2),P(4),P(5," \u00a0 "),H(),I(6,"mat-icon",3),H()(),F(7,"mat-menu",null,4)(9,"div",5),L("click",function(d){return DRc(b,d)}),F(10,"mat-checkbox",6),L("change",function(d){b.selectAllValue=d.checked;return DRc(b)}),P(11),H()(),I(12,"mat-divider"),O(13,Hgb,4,3,"div",7),R(14,"keyvalue"),H(),O(15,Igb,2,1,"div",8),H());if(a&2){var c=Kf(8);z(1);xf("ng-invalid",!!b.errorString);E("matMenuTriggerFor",c);z(3);Lf(" ",ERc(b)," ");z(5);of("aria-checked",b.selectAllValue);z(1);E("checked",
!!b.selectAllValue)("indeterminate",null===b.selectAllValue);z(1);Lf(" ",b.selectAllText," ");z(2);E("ngForOf",S(14,10,b.options.propertyValues));z(2);E("ngIf",!!b.errorString)}},dependencies:[Qw,Rw,HB,$O,dD,bD,cD,XM,QA,bx],styles:["[_nghost-%COMP%]   .gmat-button[_ngcontent-%COMP%] {padding: 0 10px;}\n[_nghost-%COMP%]   .bv2-property-picker-summary-text[_ngcontent-%COMP%] {text-align: left;}"]});
var FRc=function(a,b){this.displayString=a;this.value=b},GRc=function(a){this.propertyValues=a},HRc=function(a){for(var b=k(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(a.propertyValues[c.value].value)return!0;return!1},khb=function(a){for(var b=k(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(!a.propertyValues[c.value].value)return!1;return!0};GRc.prototype.setAll=function(a){for(var b in this.propertyValues)this.propertyValues[b].value=a};var t2=function(){};t2.\u0275fac=function(a){return new (a||t2)};t2.\u0275mod=Qc({type:t2});t2.\u0275inj=zc({imports:[OG,EP,eD,kU,ED]});var IRc=function(a,b){this.name=a;this.secondsPerUnit=b},cq=new IRc("minute",60),dq=new IRc("hour",3600),Qgb=new IRc("day",86400),u2=function(){this.errorString=null;this.objectiveDurationChange=new kw;this.objectiveBusinessDaysChange=new kw;this.intervalUnit=Qgb};u2.prototype.ngOnInit=function(){JRc(this)};u2.prototype.ngOnChanges=function(a){[a.objectiveBusinessDays,a.objectiveDuration,a.dayType].some(function(b){return b&&!b.isFirstChange()})&&JRc(this)};
var Lgb=function(a,b){b=b.name;1!==bi(a.intervalString)&&(b+="s");return b},Pgb=function(a){return"BUSINESS"===a.dayType},JRc=function(a){!Pgb(a)&&KRc(a,Qgb)||KRc(a,dq)||KRc(a,cq);if(0!=a.objectiveBusinessDays||""!=a.businessDayString)a.businessDayString=""+a.objectiveBusinessDays},KRc=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):(Pgb(a)?[cq,dq]:[cq,dq,Qgb]).includes(a.intervalUnit)||
(a.intervalUnit=b),!0):!1},Jgb=function(a){a.errorString=a.validator(a.intervalString,a.businessDayString);Ngb(a);Ogb(a)},Ngb=function(a){a.objectiveDuration.seconds=a.intervalUnit.secondsPerUnit*(bi(a.intervalString)||0);a.objectiveDurationChange.emit(a.objectiveDuration)},Ogb=function(a){a.objectiveBusinessDays=bi(a.businessDayString)||0;a.objectiveBusinessDaysChange.emit(a.objectiveBusinessDays)};u2.\u0275fac=function(a){return new (a||u2)};
u2.\u0275cmp=Oc({type:u2,selectors:[["slo-objective-selector"]],inputs:{isDisabled:"isDisabled",validator:"validator",dayType:"dayType",objectiveDuration:"objectiveDuration",objectiveBusinessDays:"objectiveBusinessDays"},outputs:{objectiveDurationChange:"objectiveDurationChange",objectiveBusinessDaysChange:"objectiveBusinessDaysChange"},features:[gd],decls:2,vars:2,consts:[["class","enabled bv2-slo-objective",4,"ngIf"],["class","disabled",4,"ngIf"],[1,"enabled","bv2-slo-objective"],["class","bv2-slo-objective-interval",
4,"ngIf"],[1,"bv2-slo-objective-interval"],["type","text",3,"ngModel","ngModelChange"],[1,"bv2-slo-objective-unit",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[1,"bv2-slo-objective-unit"],[3,"value"],[1,"disabled"],["class","bv2-slo-objective-biz-day-text",4,"ngIf"],[4,"ngIf"],[1,"bv2-slo-objective-biz-day-text"]],template:function(a,b){a&1&&(O(0,Rgb,6,6,"span",0),O(1,Vgb,3,2,"span",1));a&2&&(E("ngIf",!b.isDisabled),z(1),E("ngIf",b.isDisabled))},dependencies:[Qw,
Rw,wg,tx,Ax,HP,SA],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 v2=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"]])},ORc=function(a,b){var c=new LRc,d=MRc(b,"type",function(g){var h=g.toUpperCase(),l=new NRc;a.typeStringToEnum.has(h)?l.value=h:l.error='The string "'+g+'" is not a valid type';return l});if(d.error)return c.error=d.error,c;var e=k(d.values);for(d=e.next();!d.done;d=e.next())c.types.push(a.typeStringToEnum.get(d.value));d=MRc(b,"priority",function(g){var h=g.toUpperCase(),
l=new NRc;a.priorityStringToEnum.has(h)?l.value=h:l.error='The string "'+g+'" is not a valid priority';return l});if(d.error)return c.error=d.error,c;e=k(d.values);for(d=e.next();!d.done;d=e.next())c.priorities.push(a.priorityStringToEnum.get(d.value));b=MRc(b,"postmortem",function(g){var h=g.toUpperCase(),l=new NRc;a.postmortemValuesToCanonical.has(h)?l.value=h:l.error='The string "'+g+'" is not a valid postmortem value';return l});if(b.error)c.error=b.error;else for(b=k(b.values),d=b.next();!d.done;d=
b.next())c.postmortemValues.push(a.postmortemValuesToCanonical.get(d.value));return c},MRc=function(a,b,c){var d=new PRc;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};v2.\u0275fac=function(a){return new (a||v2)(t(cK),t(Bs))};v2.\u0275prov=yc({token:v2,factory:v2.\u0275fac,providedIn:"root"});
var LRc=function(){this.types=[];this.priorities=[];this.postmortemValues=[];this.error=""},PRc=function(){this.values=[];this.error=""},NRc=function(){this.error=this.value=""};var w2=function(){};w2.prototype.validate=function(a){for(var b={},c=k(Object.entries(this.validators)),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;e(a.value)||(b[d]=!0)}return Object.keys(b).length?b:null};w2.\u0275fac=function(a){return new (a||w2)};w2.\u0275dir=Sc({type:w2,selectors:[["","customValidators",""]],inputs:{validators:["customValidators","validators"]},features:[Of([{provide:nx,useExisting:w2,multi:!0}])]});var x2=function(a,b,c){this.constants=a;this.sloParseService=b;this.confirmationDialogService=c;this.collection=[];this.boundCollection=[];this.onCollectionUpdate=new kw;this.onValidation=new kw;this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.postmortemAllSummaryValue="Either";this.canPerformActionsInternal=!1;this.openRow=null;this.metricChoices=["METRIC_UNSPECIFIED"].concat(FBc);this.dayTypes=["CALENDAR","BUSINESS"];FBc.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},Ghb=function(a,b,c){lhb(a);a=k(a.collection);for(var d=a.next();!d.done;d=a.next())d.value.canEdit=!1;b.startEditing();c&&c.stopPropagation()},Jhb=function(a,b,c){c=Mhb(a,b,c);var d=c.newOffset;
c.valid&&(lhb(a),ra(a.collection,b),ra(a.boundCollection,b.sloElement),a.collection.splice(d,0,b),a.boundCollection.splice(d,0,b.sloElement),QRc(a))},Mhb=function(a,b,c){b=a.collection.indexOf(b)+c;return{valid:0<=b&&b<a.collection.length,newOffset:b}},lhb=function(a){a=k(a.collection);for(var b=a.next();!b.done;b=a.next())b=b.value,b.stopEditing(),b.canEdit=!0},RRc=function(a,b){var c=b.map(function(d){return new y2(d,a)});a.openRow=null;a.collection=c;a.boundCollection=b;a.canPerformActions=!a.openRow},
dhb=function(a){return"METRIC_UNSPECIFIED"===a?" - ":GBc.get(a)},rhb=function(a,b){return"TYPE_UNSPECIFIED"!==b&&a.constants.issueTypesDisplayNames.has(b)?a.constants.issueTypesDisplayNames.get(b):" - "},whb=function(a,b){return"PRIORITY_UNSPECIFIED"!==b&&a.constants.issuePrioritiesDisplayNames.has(b)?a.constants.issuePrioritiesDisplayNames.get(b):" - "},mhb=function(a,b){lhb(a);ra(a.collection,b);ra(a.boundCollection,b.sloElement);QRc(a)},Ygb=function(a,b){a.confirmationDialogService.open({title:"Are you sure you'd like to clear all the rules?",
content:yn("This won't take effect until you save the changes, but any local changes will be lost."),onConfirm:function(){a.collection=[];a.boundCollection=[];QRc(a)},onDismiss:function(){}});b.stopPropagation()},Wgb=function(a,b){var c=new y2({metric:"METRIC_UNSPECIFIED",matcher:"",dayType:"DAY_TYPE_UNSPECIFIED",objective:{seconds:0,nanos:0},businessDays:0},a,!0);Ghb(a,c);a.collection.splice(b,0,c);a.boundCollection.splice(b,0,c.sloElement);QRc(a)};
x2.prototype.onDrop=function(a){Jhb(this,this.collection[a.previousIndex],a.currentIndex-a.previousIndex)};var QRc=function(a){a.onCollectionUpdate.emit(a.boundCollection)};
sh.Object.defineProperties(x2.prototype,{collectionInput:{configurable:!0,enumerable:!0,set:function(a){RRc(this,a)}},canPerformActions:{configurable:!0,enumerable:!0,set:function(a){this.canPerformActionsInternal=a;this.onValidation.emit(a)},get:function(){return this.canPerformActionsInternal}},isDisabled:{configurable:!0,enumerable:!0,set:function(a){this.isDisabledInternal=a;if(this.collection)for(var b=k(this.collection),c=b.next();!c.done;c=b.next())c=c.value,c.canEdit=!a||this.openRow===c},
get:function(){return this.isDisabledInternal}}});x2.\u0275fac=function(a){return new (a||x2)(B(cK),B(v2),B(PJ))};
x2.\u0275cmp=Oc({type:x2,selectors:[["slo-elements-picker"]],inputs:{collectionInput:["collection","collectionInput"],isDisabled:"isDisabled"},outputs:{onCollectionUpdate:"onCollectionUpdate",onValidation:"onValidation"},decls:29,vars:5,consts:[[1,"bv2-slo-elements-picker"],[1,"bv2-slo-elements-table-label","edit-field-header"],["href","http://g3doc/company/teams/buganizer/user-guide/guides/define-slo#creating-a-new-slo-rule"],["matTooltip","These ordered rules determine the objectives for each type of issue for this SLO",
1,"bv2-slo-elements-table-help-icon",3,"name","size"],["class","bv2-slo-elements-actionbar",4,"ngIf"],["cellspacing","0",1,"bv2-slo-elements-table"],[1,"header-row"],[1,"bv2-slo-elements-table-order-header"],[1,"bv2-slo-elements-table-type-header"],[1,"bv2-slo-elements-table-priority-header"],[1,"bv2-slo-elements-table-postmortem-header"],[1,"bv2-slo-elements-table-metric-header"],[1,"bv2-slo-elements-table-objective-header"],[1,"bv2-slo-elements-table-daytype-header"],[1,"bv2-slo-elements-table-actions-header"],
["cdkDropList","",3,"cdkDropListData","cdkDropListDisabled","cdkDropListDropped",4,"ngIf"],["class","bv2-slo-elements-table-empty-list-description",4,"ngIf"],[1,"bv2-slo-elements-actionbar"],[1,"slo-picker-actions"],[1,"slo-picker-icon-action-icon-container"],["class","hoverable","matTooltip","Add a new rule",3,"name","size","click",4,"ngIf"],["matTooltip","Clear all rules",1,"hoverable",3,"name","size","click"],["matTooltip","Add a new rule",1,"hoverable",3,"name","size","click"],["cdkDropList",
"",3,"cdkDropListData","cdkDropListDisabled","cdkDropListDropped"],["class","bv2-slo-element-row","cdkDrag","",3,"draggable",4,"ngFor","ngForOf"],["cdkDrag","",1,"bv2-slo-element-row"],["class","bv2-slo-element-row-counter editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-type-column bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-priority-column bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-postmortem-column bv2-editable-slo-element editable-row",
4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-metric bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-objective bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-daytype bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-action editable-row",4,"ngIf"],["class","bv2-slo-element-row-counter display-row",4,"ngIf"],["class","bv2-slo-element-type-column bv2-slo-element-picker-column display-row",
4,"ngIf"],["class","bv2-slo-element-priority-column bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-postmortem-column bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-metric bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-objective bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-daytype bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-action display-row",
4,"ngIf"],[1,"bv2-slo-element-row-counter","editable-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-type-column","bv2-editable-slo-element","editable-row"],[1,"bv2-type-property-picker",3,"selectAllText","validator","options","optionsChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-priority-column","bv2-editable-slo-element","editable-row"],[1,"bv2-priority-property-picker",3,"selectAllText","validator","options","optionsChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-postmortem-column",
"bv2-editable-slo-element","editable-row"],[1,"bv2-postmortem-property-picker",3,"selectAllText","validator","options","optionsChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-metric","bv2-editable-slo-element","editable-row"],["appearance","outline"],["required","true",1,"bv2-enum-field","bv2-slo-elements-picker-metric-selector",3,"ngModel","customValidators","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"bv2-slo-element-picker-column","bv2-slo-element-objective","bv2-editable-slo-element",
"editable-row"],["required","",3,"dayType","objectiveDuration","objectiveBusinessDays","validator","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&&(F(0,"div",0)(1,"div")(2,"div")(3,"label",1),P(4,"Rules"),H(),F(5,"a",2),I(6,"b-icon",3),H(),O(7,Zgb,6,3,"span",4),H(),F(8,"table",5)(9,"thead")(10,"tr",6)(11,"th",7),P(12,"Order"),H(),F(13,"th",8),P(14,"Type"),H(),F(15,"th",9),P(16,"Priority"),H(),F(17,"th",10),P(18,"Postmortem"),H(),F(19,"th",11),P(20,"Metric"),H(),F(21,"th",
12),P(22,"Objective"),H(),F(23,"th",13),P(24," Day Type "),H(),I(25,"th",14),H()(),O(26,Phb,2,3,"tbody",15),H(),F(27,"div"),O(28,Qhb,2,0,"div",16),H()()());a&2&&(z(6),E("name","help-outline")("size","small"),z(1),E("ngIf",!b.isDisabled),z(19),E("ngIf",b.collection&&0!=b.collection.length),z(2),E("ngIf",!b.collection||0==b.collection.length))},dependencies:[Qw,Rw,w2,dM,bM,tx,Lx,Ax,dO,uB,dD,bD,cD,HP,SA,lD,s2,u2],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 y2=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=HRc(d.priorityPickerValues)?null:"Priority can't be empty";d.priorityPickerValid=null===e;return e};this.validateTypePicker=function(){var e=HRc(d.typePickerValues)?null:"Type can't be empty";d.typePickerValid=
null===e;return e};this.validatePostmortemPicker=function(){var e=HRc(d.postmortemPickerValues)?null:"Postmortem can't be empty";d.postmortemPickerValid=null===e;return e};this.validateObjective=function(e,g){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*$/)||!g.match(/^\d*$/))return d.objectiveValid=!1,"Objective must be a positive integer";if(!(""!==e&&"0"!==e||""!==g&&"0"!==g))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=SRc(a.objective);this.selectedObjectiveBusinessDays=a.businessDays;this.canEdit=!b.isDisabled;this.metricValidators={required:function(e){return TRc(d,e)}};URc(this);this.typePickerValues=VRc(this.controllerReference.sloParseService.enumTypeToString.keys(),function(e){return 0===
d.parseResult.types.length||d.parseResult.types.includes(e)},function(e){return rhb(d.controllerReference,e)});this.priorityPickerValues=VRc(this.controllerReference.sloParseService.enumPriorityToString.keys(),function(e){return 0===d.parseResult.priorities.length||d.parseResult.priorities.includes(e)},function(e){return whb(d.controllerReference,e)});this.postmortemPickerValues=VRc(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();TRc(this,this.selectedMetric)},SRc=function(a){return a?a:{seconds:86400,nanos:0}};y2.prototype.isValid=function(){return this.priorityPickerValid&&this.typePickerValid&&this.postmortemPickerValid&&this.metricSelectorValid&&this.objectiveValid};
var TRc=function(a,b){b="METRIC_UNSPECIFIED"!==b;return a.metricSelectorValid=b};
y2.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;WRc(this);this.sloElement.metric=this.selectedMetric;this.sloElement.dayType=this.selectedDayType;this.sloElement.objective=this.selectedObjectiveDuration;this.sloElement.businessDays=this.selectedObjectiveBusinessDays;URc(this)}};
var WRc=function(a){var b=a.getEnumValues(a.typePickerValues),c=a.getEnumValues(a.priorityPickerValues),d=a.getEnumValues(a.postmortemPickerValues);b=XRc(b,function(g){return a.controllerReference.sloParseService.enumTypeToString.get(g)});c=XRc(c,function(g){return a.controllerReference.sloParseService.enumPriorityToString.get(g)});d=XRc(d,function(g){return a.controllerReference.sloParseService.canonicalGroupQueryKeywordToQueryValue.get(g)});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};y2.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 XRc=function(a,b){if(0===a.length)return"";if(1===a.length)return b(a[0]);var c=[];a=k(a);for(var d=a.next();!d.done;d=a.next())c.push(b(d.value));return"("+c.join("|")+")"};
y2.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;URc(this)}};var URc=function(a){a.parseResult=ORc(a.controllerReference.sloParseService,a.matcherText)},VRc=function(a,b,c){var d={};a=k(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var g=b(e),h=c(e);d[""+e]=new FRc(h,g)}return new GRc(d)};var z2=function(){};z2.\u0275fac=function(a){return new (a||z2)};z2.\u0275mod=Qc({type:z2});z2.\u0275inj=zc({imports:[OG,Px,IP]});var A2=function(){};A2.\u0275fac=function(a){return new (a||A2)};A2.\u0275mod=Qc({type:A2});A2.\u0275inj=zc({imports:[OG]});var B2=function(){};B2.\u0275fac=function(a){return new (a||B2)};B2.\u0275mod=Qc({type:B2});B2.\u0275inj=zc({imports:[OG,A2,eM,Px,zO,vB,eD,IP,fE,t2,z2]});var C2=function(a,b,c,d,e){rF.call(this);this.element=a;this.cdr=b;this.location=c;this.paths=d;this.hotkeys=e;this.focusedIndex=0;this.slos=[]};T(C2,rF);C2.\u0275dir=rF.\u0275dir;f=C2.prototype;f.setFocusOnIndex=function(a){this.focusedIndex=a};f.isFocused=function(a){return this.focusedIndex===a};f.selectNext=function(){this.focusedIndex+1>=this.slos.length||(this.focusedIndex++,this.scrollToFocusedIndex())};f.selectPrevious=function(){0>this.focusedIndex-1||(this.focusedIndex--,this.scrollToFocusedIndex())};
f.ngOnInit=function(){var a=this,b=gN(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)};f.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)}}};f.renderRowLabel=function(a){return this.slos[a].name};f.editSlo=function(a){this.location.path(this.paths.editSlo(a.sloId))};
C2.\u0275fac=function(a){return new (a||C2)(B(Dd),B(AI,2),B(PH),B(QH),B(fN))};
C2.\u0275cmp=Oc({type:C2,selectors:[["b-slo-grid"]],inputs:{slos:"slos"},features:[Of([AI]),kf],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&&(F(0,"table",0)(1,"thead")(2,"tr",1),I(3,"th",2),F(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),P(8," SLO name "),H()()()(),F(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),P(13," Description "),H()()()()()(),F(14,"tbody"),O(15,Rhb,7,7,"tr",6),H()());a&2&&(z(15),E("ngForOf",b.slos))},dependencies:[Qw],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 D2=function(){};D2.\u0275fac=function(a){return new (a||D2)};D2.\u0275mod=Qc({type:D2});D2.\u0275inj=zc({imports:[OG]});var E2=function(a,b){this.log=a;this.dateFormatter=b},ZRc=function(a,b){var c=e3a(b.addMask.paths),d=e3a(b.removeMask.paths),e={author:b.author||null,timestamp:b.timestamp||null,diffs:[]},g=b.add;b=b.remove;for(var h=k(new Set([].concat(cd(c),cd(d)))),l=h.next();!l.done;l=h.next()){var q=l.value;l=HBc.get(q);if("name"===q){var v=zp(d,q,b.name);q=zp(c,q,g.name);e.diffs.push(Ap(l,v,q))}else if("description"===q)v=zp(d,q,b.description),q=zp(c,q,g.description),e.diffs.push(Ap(l,v,q));else if("parentId"===
q)v=zp(d,q,String(b.parentId)),q=zp(c,q,String(g.parentId)),e.diffs.push(Ap(l,v,q));else if("elements"===q){var x=g.elements;v=f3a(d,q,b.elements.map(function(A){return YRc(A)}));q=f3a(c,q,x.map(function(A){return YRc(A)}));e.diffs.push({fieldName:l,diffType:"COLLECTION",diff:{removed:v,added:q}})}else a.log.error("Unsupported diff field.")}return e},YRc=function(a){var b=a.matcher,c=GBc.get(a.metric),d=hhb.get(a.dayType),e=[];0<a.businessDays&&e.push(a.businessDays+" day"+(1<a.businessDays?"s":""));
0<a.objective.seconds&&e.push(Pjc(1E3*a.objective.seconds));a=e.join(", ");return'("'+b+'", '+c+") - "+(d+" days - "+a)};E2.\u0275fac=function(a){return new (a||E2)(t($G),t(EL))};E2.\u0275prov=yc({token:E2,factory:E2.\u0275fac,providedIn:"root"});var F2=function(){};F2.\u0275fac=function(a){return new (a||F2)};F2.\u0275mod=Qc({type:F2});F2.\u0275inj=zc({imports:[OG,sY,ED,jB]});var bSc=function(a,b){this.$log=b;this.templateAttributes={};this.templateCustomFields={};b=k($Rc);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(g){return"string"===typeof g?fi(g):""}):e="string"===typeof d?fi(d):"";this.templateAttributes[c]=e}b=k(aSc);for(c=b.next();!c.done;c=b.next())c=c.value,a[c]&&(this.templateAttributes[c]=a[c]);if(a=a.customFields)for(a=Array.isArray(a)?a:[a],a=k(a),b=a.next();!b.done;b=a.next())c=b.value.split(":"),
b=c[0],c=c.slice(1).join(":"),Mk(c)||(this.templateCustomFields[b]=c)},dSc=function(a){return 0!==Object.keys(a.templateCustomFields||{}).length||cSc.some(function(b){return null!=a.templateAttributes[b]})},iSc=function(a,b,c){null!=c&&(eSc(a,c),fSc(a,b,c),gSc(b,c));c=k(Object.entries(a.templateAttributes));for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;hSc[d](b,e)}a.templateAttributes={};a.templateCustomFields={}},fSc=function(a,b,c){null==b.customField&&
(b.customField=[]);for(var d={},e=k(b.customField),g=e.next();!g.done;g=e.next())g=g.value,d[g.customFieldId]=g;e=k(Object.entries(a.templateCustomFields));var h=e.next();for(g={};!h.done;g={$jscomp$loop$prop$customFieldId$2371:g.$jscomp$loop$prop$customFieldId$2371},h=e.next()){var l=k(h.value);h=l.next().value;l=l.next().value;g.$jscomp$loop$prop$customFieldId$2371=bi(h);l={customFieldId:g.$jscomp$loop$prop$customFieldId$2371,value:l};h=a.getCustomFieldValue(l,c);null!=d[g.$jscomp$loop$prop$customFieldId$2371]?
(l=b.customField.findIndex(function(q){return function(v){return v.customFieldId===q.$jscomp$loop$prop$customFieldId$2371}}(g)),b.customField[l]=h):(b.customField.push(h),d[l.customFieldId]=h)}};
bSc.prototype.getCustomFieldValue=function(a,b){var c=new ii(a);if(a.value){b=this.getCustomFieldType(c,b);var d=[];switch(b){case "TEXT":c.textValue=a.value;break;case "DATE":c.dateValue=tqa(a.value)||void 0;break;case "ENUM":c.enumValue=a.value;break;case "NUMERIC":c.numericValue=uqa(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 tqa(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 uqa(e)}).filter(function(e){return null!==e});c.repeatedNumericValue={values:d};break;default:this.$log.warn("Invalid custom field type '"+b+"'.")}}return c};bSc.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=b[a.customFieldId])?void 0:c.type)?d:""};
var eSc=function(a,b){a.templateCustomFields=ac(a.templateCustomFields,function(c,d){return!!b[d]})},gSc=function(a,b){if(null!=a.customField){a=k(a.customField);for(var c=a.next(),d={};!c.done;d={$jscomp$loop$prop$allowedValues$2373:d.$jscomp$loop$prop$allowedValues$2373},c=a.next()){c=c.value;var e=b[c.customFieldId];if(e&&e.type&&e.type.includes("ENUM")){d.$jscomp$loop$prop$allowedValues$2373=e.allowedValue||[];var g=e.required&&e.typedDefaultValue;e.type.includes("REPEATED")?(c.repeatedEnumValue=
c.repeatedEnumValue||{values:[]},c.repeatedEnumValue.values=c.repeatedEnumValue.values.filter(function(h){return function(l){return h.$jscomp$loop$prop$allowedValues$2373.includes(l)}}(d)),!c.repeatedEnumValue.values.length&&g&&(c.repeatedEnumValue=e.typedDefaultValue.repeatedEnumValue)):d.$jscomp$loop$prop$allowedValues$2373.includes(c.enumValue)||(c.enumValue=g?e.typedDefaultValue.enumValue:"")}}}},$Rc="title type priority severity assignee verifier reporter collaborators cc hotlistIds blockedByIssueIds blockingIssueIds foundIn targetedTo".split(" "),
aSc=["inProd"],cSc="severity foundIn inProd reporter verifier targetedTo blockedByIssueIds blockingIssueIds".split(" "),G2={},hSc=(G2.cc=function(a,b){a.ccUsers=Vhb(b,a.ccUsers||[])},G2.collaborators=function(a,b){a.collaboratorsUsers=Vhb(b,a.collaboratorsUsers||[])},G2.title=function(a,b){"string"===typeof b&&(a.title=b)},G2.assignee=function(a,b){Uhb(b,function(c){a.assigneeUser=c})},G2.reporter=function(a,b){Uhb(b,function(c){a.reporterUser=c})},G2.verifier=function(a,b){Uhb(b,function(c){a.verifierUser=
c})},G2.hotlistIds=function(a,b){if(b=Shb(b)){a.hotlistId||(a.hotlistId=[]);b=k(b);for(var c=b.next();!c.done;c=b.next())a.hotlistId.push(c.value)}},G2.blockingIssueIds=function(a,b){if(b=Shb(b))a.blockingIssueId=b.map(String)},G2.blockedByIssueIds=function(a,b){if(b=Shb(b))a.blockedByIssueId=b.map(String)},G2.foundIn=function(a,b){"string"===typeof b&&(a.foundInVersion=b.split(","))},G2.targetedTo=function(a,b){"string"===typeof b&&(a.targetedToVersion=b.split(","))},G2.inProd=function(a,b){a.inProd=
"true"===b},G2.priority=function(a,b){if(b=Thb(ygc,b))a.priority=wl(b)},G2.severity=function(a,b){if(b=Thb(Agc,b))a.severity=vua(b)},G2.type=function(a,b){if(b=Thb($J,b))a.type=uua(b)},G2);var H2=function(a,b){this.issueRelationshipApi=a;this.issueApi=b};
H2.prototype.bulkEdit=function(a){var b=this,c,d,e,g,h,l,q,v,x,A,G,M,Q;return pe(function(Y){switch(Y.nextAddress){case 1:c=a.actions[0];d=String(c.value);e=a.issueIds;g=c.actionType;if("ADD"!==g&&"REMOVE"!==g)throw Error("ue");h={};l=[];q=[];v=Hua(e);x=k(v.reverse());A=x.next();case 2:if(A.done){Y.jumpTo(4);break}G=A.value;qe(Y,5);return"ADD"===g?(M=G.map(function(W){return KF(new JF,Number(W))}),Y.yield((0,D.firstValueFrom)(w$b(b.issueRelationshipApi,d,M)),8)):Y.yield((0,D.firstValueFrom)(x$b(b.issueRelationshipApi,
d,G)),8);case 8:return Y.yield(b.issueApi.batchGetIssues(G).then(function(W){return W.map(function(ia){return h[ia.issueId]=ia})}),11);case 11:Hs(Y,3);break;case 5:Q=te(Y);if(!$l(Q))throw Q;q.push(Q);l.push.apply(l,cd(G));case 3:A=x.next();Y.jumpTo(2);break;case 4:return Y.return({finishedIssues:h,notFinishedIssueIds:l,errors:q})}})};H2.\u0275fac=function(a){return new (a||H2)(t(WF),t(GF))};H2.\u0275prov=yc({token:H2,factory:H2.\u0275fac,providedIn:"root"});var I2=function(a,b){rF.call(this);this.routerEvents=a;this.bLocation=b;this.history=[]};T(I2,rF);I2.\u0275dir=rF.\u0275dir;I2.prototype.install=function(){var a=this;this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(function(){a.history.push(a.bLocation.url());21<a.history.length&&a.history.shift()}))};I2.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};I2.prototype.hasPreviousPage=function(){return 1<this.history.length};
var J2=function(a){if(a.hasPreviousPage()){a.history.pop();var b=a.history.pop();b?a.bLocation.url(b):a.bLocation.url("/")}else a.bLocation.url("/")};I2.\u0275fac=function(a){return new (a||I2)(t(DI),t(PH))};I2.\u0275prov=yc({token:I2,factory:I2.\u0275fac,providedIn:"root"});var K2=function(a,b,c){this.bLocation=a;this.routeParams=b;this.domSafe=c},jSc=function(a,b,c){var d=a.routeParams.redirectUrl;if(d&&d.startsWith("http")){if(c&&Os(d,"id=")||Os(d,"bugId="))d+=c;djc(a.domSafe,d)}else{var e;a.bLocation.replaceUrl(null!=(e=d)?e:b)}};K2.\u0275fac=function(a){return new (a||K2)(t(PH),t(sK),t(vL))};K2.\u0275prov=yc({token:K2,factory:K2.\u0275fac,providedIn:"root"});var L2=function(a,b){rF.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||(vdc("appNavStart"),c.mostRecentlyMeasured="")};this.onNavSuccess=function(){c.ignoringNextNav?c.ignoringNextNav=!1:c.validNavigations++}};T(L2,rF);L2.\u0275dir=rF.\u0275dir;
L2.prototype.install=function(){var a=this;Wm()&&(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(Ge(function(b){return"visible"!==b}),Oe()).subscribe(function(){a.tabWasHidden=!0})))};
var kSc=function(a,b){vdc(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)&&Wm())if(null===b)console.warn("window.performance does not support endMark `null`");else try{window.performance.measure(e,c,b)}catch(g){console.warn("route_performance",g)}}};L2.\u0275fac=function(a){return new (a||L2)(t(DI),t(M2))};
L2.\u0275prov=yc({token:L2,factory:L2.\u0275fac,providedIn:"root"});var M2=function(a){var b=this;this.window=a;this.visibilityState$=(0,D.fromEvent)(this.window.document,"visibilityChange").pipe(Ze(void 0),C(function(){return b.currentVisibility}))};sh.Object.defineProperties(M2.prototype,{currentVisibility:{configurable:!0,enumerable:!0,get:function(){return this.window.document.visibilityState}}});M2.\u0275fac=function(a){return new (a||M2)(t(qF))};
M2.\u0275prov=yc({token:M2,factory:M2.\u0275fac,providedIn:"root"});var lSc={provide:adc,useValue:function(a){return a.replace(/(action\/components\/[0-9]+)\/(move|updateSlo|updateTeam)/,"$1")},multi:!0},mSc={provide:adc,useValue:function(a){return a.replace(/(action\/hotlists\/[0-9]+)\/archive/,"$1")},multi:!0};var N2=function(a){this.activeSession=a};N2.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)};N2.\u0275fac=function(a){return new (a||N2)(t(Bs))};N2.\u0275prov=yc({token:N2,factory:N2.\u0275fac,providedIn:"root"});var nSc={provide:Ey,useClass:N2,multi:!0};var O2=function(a){this.http=a};T(O2,hE);f=O2.prototype;f.get=function(a){return this.request("get",a)};f.delete=function(a){return this.request("delete",a)};f.post=function(a){return this.request("post",a,a.body)};f.put=function(a){return this.request("put",a,a.body)};f.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(C(Whb(b.responseConstructor)))};
O2.\u0275fac=function(a){return new (a||O2)(t(Dy))};O2.\u0275prov=yc({token:O2,factory:O2.\u0275fac,providedIn:"root"});var P2=function(a){this.jspbExecutor=a};T(P2,iE);P2.prototype.get=function(a){return(0,D.firstValueFrom)(this.jspbExecutor.get(a))};P2.prototype.delete=function(a){return(0,D.firstValueFrom)(this.jspbExecutor.delete(a))};P2.prototype.post=function(a){return(0,D.firstValueFrom)(this.jspbExecutor.post(a))};P2.prototype.put=function(a){return(0,D.firstValueFrom)(this.jspbExecutor.put(a))};
P2.\u0275fac=function(a){return new (a||P2)(t(O2))};P2.\u0275prov=yc({token:P2,factory:P2.\u0275fac,providedIn:"root"});var Q2=function(){};Q2.\u0275fac=function(a){return new (a||Q2)};Q2.\u0275mod=Qc({type:Q2});Q2.\u0275inj=zc({providers:[{provide:pH,useClass:rH},{provide:Mgc,useClass:iK},{provide:jK,useClass:kK},{provide:zac,useClass:zG},{provide:Aac,useClass:yG},{provide:Bac,useClass:GG},{provide:hH,useClass:iH},{provide:nJ,useClass:pJ},{provide:GF,useClass:IF},{provide:cY,useClass:dY},{provide:lI,useClass:oI},{provide:mI,useClass:nI},{provide:hE,useClass:O2},{provide:iE,useClass:P2}],imports:[OG]});var oSc=function(a){this.lookupId_=a;this.displayName_="";this.forceDisplayNameOverride_=!1};f=oSc.prototype;f.getId=function(){return this.lookupId_};f.setDisplayName=function(a){this.displayName_=a;return this};f.getDisplayName=function(){return this.displayName_};f.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride_};
f.equals=function(a){return a?this===a?!0:this.getId().equals(a.getId())&&this.getDisplayName()===a.getDisplayName()&&this.getForceDisplayNameOverride()===a.getForceDisplayNameOverride():!1};var pSc=function(a){this.internalArray_=m(a)};T(pSc,p);pSc.prototype.setDisabled=function(a,b){Db(this,2,a,b,cl)};pSc.repeatedFields_=[1,2];pSc.prototype.toObject=function(){return qSc(this)};var qSc=function(a){if(null!=a)return r(a),{enabledList:n(cl(a,1)),disabledList:n(cl(a,2))}};var R2=function(a){this.internalArray_=m(a)};T(R2,p);f=R2.prototype;f.getEnableClearcut=function(){return Tj(this,1,!1)};f.setEnableClearcut=function(a){return Vj(this,1,a)};f.getClientId=function(){return Zi(this,2,0)};f.setClientId=function(a){return V(this,2,a)};f.getSocialApplication=function(){return Zi(this,3,0)};f.getSocialApplicationOrUndefined=function(){return Qr(this,3)};f.getComponentFlow=function(){return Zi(this,4,0)};f.setComponentFlow=function(a){return V(this,4,a)};
f.getInterfaceType=function(){return Zi(this,5,0)};f.setInterfaceType=function(a){return V(this,5,a)};f.toObject=function(){return rSc(this)};var rSc=function(a){if(null!=a)return r(a),{enableClearcut:Tj(a,1,!1),clientId:Zi(a,2,0),socialApplication:n(Er(a,3)),componentFlow:Zi(a,4,0),interfaceType:Zi(a,5,0),enableVeTracking:Tj(a,6,!0)}};var S2=function(a){this.internalArray_=m(a)};T(S2,p);var rib=function(){var a=Nq.getExperiments();return Tj(a,6,!1)},Pq=function(){var a=Nq.getExperiments();return Tj(a,7,!1)};S2.prototype.toObject=function(){return sSc(this)};var sSc=function(a){if(null!=a)return r(a),{enableDisambigForAdditionSuggestions:Tj(a,1,!1),enableSyntheticVe:Tj(a,2,!1),enableOodTag:Tj(a,3,!1),enableLegacyReplacementStyling:Tj(a,4,!0),enableRafAutocomplete:Tj(a,5,!1),enableIsolatedVe:Tj(a,6,!1),enableHide:Tj(a,7,!1)}};var T2=function(a){this.internalArray_=m(a)};T(T2,p);f=T2.prototype;f.getApplication=function(){return Zi(this,1,0)};f.setApplication=function(a){return V(this,1,a)};f.getApplicationOrUndefined=function(){return Qr(this,1)};f.getIsEnabled=function(){return Tj(this,2,!1)};f.toObject=function(){return tSc(this)};var tSc=function(a){if(null!=a)return r(a),{application:Zi(a,1,0),isEnabled:Tj(a,2,!1),overriddenExperiments:sSc(X(a,S2,3))}};var uSc=function(a){this.internalArray_=m(a)};T(uSc,p);uSc.prototype.toObject=function(){return vSc(this)};var vSc=function(a){if(null!=a)return r(a),{refreshIntervalInMs:n(ft(a,1))}};var wSc=function(a){this.internalArray_=m(a)};T(wSc,p);wSc.prototype.toObject=function(){return xSc(this)};var xSc=function(a){if(null!=a)return r(a),{refreshIntervalInMs:n(ft(a,1))}};var ySc=function(a){this.internalArray_=m(a)};T(ySc,p);ySc.prototype.toObject=function(){return zSc(this)};var zSc=function(a){if(null!=a)return r(a),{waldo:xSc(X(a,wSc,1)),hubAvailabilityDot:vSc(X(a,uSc,2))}};var ASc=function(a){this.internalArray_=m(a)};T(ASc,p);f=ASc.prototype;f.getClearcut=function(){return X(this,R2,1)};f.setClearcut=function(a){hj(this,R2,1,a)};f.hasClearcut=function(){return Nj(this,R2,1)};f.getExperiments=function(){return X(this,T2,2)};f.setExperiments=function(a){hj(this,T2,2,a)};f.hasExperiments=function(){return Nj(this,T2,2)};
f.toObject=function(){if(null!=this){r(this);var a={clearcut:rSc(this.getClearcut()),experiments:tSc(this.getExperiments()),maxUndoStackSize:gt(this,3,10),enableTargetedCopyOptions:Tj(this,4,!1),enableEmailEditing:Tj(this,5,!1),hideGroupResultMemberCount:Tj(this,6,!1),enableHideSuggestion:Tj(this,7,!1),intelligence:zSc(X(this,ySc,8)),enableResultListItemContextMenu:Tj(this,9,!1),featureSet:U(this,10,"all_features"),features:qSc(X(this,pSc,11)),featuresKey:U(this,12,"")}}else a=void 0;return a};var BSc=Jca(ASc);var CSc;var DSc=function(){this.actionListeners=new Map};DSc.prototype.subscribe=function(a,b){this.actionListeners.has(a)?this.actionListeners.get(a).push(b):this.actionListeners.set(a,[b])};DSc.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)}};
DSc.prototype.notify=function(a){var b=Zc.apply(1,arguments);if(this.actionListeners.has(a)){var c=this.actionListeners.get(a);c=k(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;try{d.apply(null,b)}catch(e){}}}};var ESc=function(){this.actionEventDispatcher=new DSc};var FSc=function(){var a=sb(CSc||(CSc=BSc("[[true,49,740,4],[7,true]]")));this.injectorService=new ESc;a.hasClearcut()||a.setClearcut(new R2);a.hasExperiments()||a.setExperiments(new T2);this.internal=a};var aib=function(a){this.root=a;this.length=0};f=aib.prototype;f.getItems=function(){return Array.from(this.root.childNodes)};f.append=function(a){this.root.appendChild(a);++this.length};f.insert=function(a,b){if(0>a||a>this.length)throw new RangeError("we");if(a===this.length)this.append(b);else{var c=this.getItems();this.root.insertBefore(b,c[a]);++this.length}};f.remove=function(a){if(0>a||a>=this.length)throw new RangeError("we");var b=this.getItems();this.root.removeChild(b[a]);--this.length};
f.clear=function(){oZb(this.root);this.length=0};f.getRoot=function(){return this.root};var Zhb=function(a){return Fq('<ul id="'+Iq(a.id)+'" peoplekit-id="'+Iq("rymPhb")+'" role="listbox" aria-multiselectable="true" class="'+Iq("peoplekitComponentsListImplList")+'"></ul>')};var $hb=rq.getInstance();var zib=function(a){this.isActive=!1;this.multiActivateAnchorIndex=this.spotlightIndex=-1;this.secondaryEventTargets=[];this.list=[].concat(cd(a));this.activeItems=new Set([]);this.hideContextMenu=function(){}};f=zib.prototype;
f.remove=function(a,b){var c=-1;a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c=this.list.indexOf(d),this.list.splice(c,1),this.activeItems.delete(d),b||(c<this.spotlightIndex?--this.spotlightIndex:c===this.spotlightIndex&&this.reset());0<=c&&b&&(this.isActive=!1,this.goToIndex(c,0))};
f.insert=function(a,b,c){this.list.splice.apply(this.list,[a,0].concat(cd(b)));c?(GSc(this),HSc(this,a,a+b.length-1),this.spotlightIndex=a,this.list[this.spotlightIndex].spotlight()):0<=a&&a<=this.spotlightIndex&&(this.spotlightIndex+=b.length)};f.size=function(){return this.list.length};f.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};
f.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};f.goToItem=function(a,b){a=this.list.indexOf(a);return this.goToIndex(a,b)};
f.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:GSc(this);ISc(this);break;case 3:ISc(this);break;case 1:a=cib(this.spotlightIndex,c,this.multiActivateAnchorIndex);b=cib(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);HSc(this,this.multiActivateAnchorIndex,this.spotlightIndex)}this.list[this.spotlightIndex].spotlight();return!0};f.getSpotlitItem=function(){return this.isActive?this.list[this.spotlightIndex]:void 0};f.getActiveItems=function(){var a=this;return this.list.filter(function(b){return a.activeItems.has(b)})};
f.getItem=function(a){for(var b=k(this.list),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.getRoot();if(d===a||d.contains(a))return c}};f.getIndexOf=function(a){return this.list.indexOf(a)};f.clear=function(){this.reset();this.list.length=0};f.reset=function(){this.hideContextMenu();GSc(this);var a=this.getSpotlitItem();a&&a.unspotlight();this.spotlightIndex=-1;this.isActive=!1};f.setSecondaryEventTargets=function(a){this.secondaryEventTargets=a};
f.onKeyDown=function(a){var b=[this.getSpotlitItem()].concat(cd(this.secondaryEventTargets));b=k(b);for(var c=b.next();!c.done;c=b.next()){var d=void 0;null==(d=c.value)||d.onKeyDown(a);if(a.hasStoppedPropagationInternal)break}};f.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 ISc=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},GSc=function(a){for(var b=k(a.activeItems),c=b.next();!c.done;c=b.next())c=c.value,c.deactivate(),c.unspotlight();a.activeItems.clear()},HSc=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 JSc=function(a){this.delegate=a};f=JSc.prototype;f.prev=function(a){a=this.delegate.prev(a);KSc(this);return a};f.next=function(a){a=this.delegate.next(a);KSc(this);return a};f.size=function(){return this.delegate.size()};f.goToItem=function(a,b){a=this.delegate.goToItem(a,b);KSc(this);return a};f.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);KSc(this);return a};f.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};f.getActiveItems=function(){return this.delegate.getActiveItems()};
f.getItem=function(a){return this.delegate.getItem(a)};f.getIndexOf=function(a){return this.delegate.getIndexOf(a)};f.clear=function(){this.delegate.clear()};f.reset=function(){this.delegate.reset()};f.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};f.onKeyDown=function(a){this.delegate.onKeyDown(a)};f.onContextMenu=function(a,b){this.delegate.onContextMenu(a,b)};f.remove=function(a,b){this.delegate.remove(a,b)};f.insert=function(a,b,c){this.delegate.insert(a,b,c)};
var KSc=function(a){if(a=a.delegate.getSpotlitItem())if(a=a.getRoot(),Ps){var b=Zzc(a);bAc(a,b)}else a.scrollIntoView({block:"nearest"})};var Qib=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};f=Qib.prototype;f.append=function(a){this.root.insertBefore(a,this.marker);++this.length};f.insert=function(a,b){if(0>a||a>this.length)throw new RangeError("we");a===this.length?this.append(b):(this.root.insertBefore(b,this.root.childNodes[a]),++this.length)};
f.remove=function(a){if(0>a||a>=this.length)throw new RangeError("we");this.removeItem(this.root.childNodes[a])};f.removeItem=function(a){try{this.root.removeChild(a),--this.length}catch(b){}};f.clear=function(){for(;this.root.firstChild&&this.root.firstChild!==this.marker;)this.root.removeChild(this.root.firstChild);this.length=0};f.getRoot=function(){return this.root};f.getItems=function(){return Array.from(this.root.childNodes)};var LSc=function(a,b,c,d){this.loggingToken=d;(new oSc(a)).setDisplayName(b).forceDisplayNameOverride_=c};LSc.prototype.getLoggingToken=function(){return this.loggingToken};var MSc=function(){};MSc.prototype.getDisplayNameMatches=function(){return[]};MSc.prototype.getDisplayValueMatches=function(){return[]};MSc.prototype.getGivenNameMatches=function(){return[]};var NSc=new MSc;var dib=function(a,b,c){this.resultType_=a;this.targets_=b;this.memberCount_=c};f=dib.prototype;f.getResultType=function(){return this.resultType_};f.getTargetList=function(){return this.targets_};f.getMemberList=function(){return[]};f.getTotalMemberCount=function(){return this.memberCount_};f.getPrimaryTarget=function(){throw Error("ye");};f.getDisplayName=function(){return""};f.getDisplayValue=function(){return""};f.getDescription=function(){return""};f.getPhotoUrl=function(){return""};
f.getMatchInfo=function(){return NSc};f.getExtendedData=function(){return null};var OSc=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 nr=function(){this.url_="";this.sourceType_=this.type_=0;this.glyph_=""};f=nr.prototype;f.getUrl=function(){return this.url_};f.setUrl=function(a){this.url_=a||"";return this};f.getType=function(){return this.type_};f.setType=function(a){this.type_=a;return this};f.getSourceType=function(){return this.sourceType_};f.setSourceType=function(a){this.sourceType_=a||0;return this};f.getGlyph=function(){return this.glyph_};f.setGlyph=function(a){this.glyph_=a||"";return this};
var PSc=(new nr).setType(1).setUrl("https://lh3.googleusercontent.com/a/default-user"),QSc=new nr;var U2=function(a){this.id_=a;this.value_=this.id_.getOriginalValue();this.description_="";this.name_=null;this.photo_=Tq(this.id_)?QSc:PSc;this.tags_=[];this.sourceIds_=vlb.includes(this.id_.getType())?[this.id_]:[];8===this.id_.getType()&&this.sourceIds_.push(slb(this.id_.getOriginalValue()));this.isMe_=17===this.id_.getType();this.dataSource_=0;this.resultType_=OSc.get(this.id_.getType())||0;this.personLoggingId_=this.fieldLoggingId_="";this.orgState_=0;this.extendedData_=this.originatingField_=
null};f=U2.prototype;f.getId=function(){return this.id_};f.getTargetType=function(){return this.id_.getType()};f.getValue=function(){return this.value_};f.setValue=function(a){this.value_=(a||"").trim();return this};f.getDisplayValue=function(){switch(this.getTargetType()){case 8:var a=this.getOriginatingField();return a&&a.getValue()||"";case 1:case 2:case 6:case 7:return this.getValue();default:return""}};f.getName=function(){return this.name_};f.setName=function(a){this.name_=a;return this};
f.getDescription=function(){return this.description_};f.setDescription=function(a){this.description_=a||"";return this};f.getPhoto=function(){return this.photo_};f.setPhoto=function(a){a&&a.getUrl()&&1!==a.getType()?this.photo_=a:this.photo_=Tq(this.id_)?QSc:PSc};f.getTagList=function(){return this.tags_};var Clb=function(a,b){a.tags_=b||[]};f=U2.prototype;f.getSourceIdList=function(){return this.sourceIds_};
f.getProfileId=function(){return this.getSourceIdList().filter(function(a){return 3===a.getType()}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};f.getContactId=function(){return this.getSourceIdList().filter(function(a){return 4===a.getType()}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};f.getLoggingToken=function(){return new Hr};f.getIsMe=function(){return this.isMe_};var ylb=function(a,b){a.isMe_=b;return a};
U2.prototype.getIsPersonalResult=function(){return 1===this.dataSource_};U2.prototype.getDataSource=function(){return this.dataSource_};U2.prototype.setDataSource=function(a){this.dataSource_=a;return this};U2.prototype.getResultType=function(){return this.resultType_};var zlb=function(a,b){a.resultType_=b};f=U2.prototype;f.getFieldLoggingId=function(){return this.fieldLoggingId_};f.setFieldLoggingId=function(a){this.fieldLoggingId_=a||""};f.getPersonLoggingId=function(){return this.personLoggingId_};
f.setPersonLoggingId=function(a){this.personLoggingId_=a||""};f.getOrgState=function(){return this.orgState_};var Blb=function(a,b){a.orgState_=b};U2.prototype.getOriginatingField=function(){return this.originatingField_};U2.prototype.setOriginatingField=function(a){this.originatingField_=a;return this};var mr=function(a){return new U2(a)};U2.prototype.getExtendedData=function(){return this.extendedData_};U2.prototype.setExtendedData=function(a){this.extendedData_=a};var RSc=function(a){this.internalId=a;this.displayNameOverride="";this.forceDisplayNameOverride=!1;a=mr(this.internalId).setDataSource(3);this.internalResult=new Up(eib(0,[a]));this.internalSelectionToken=new LSc(this.internalId,this.displayNameOverride,this.forceDisplayNameOverride,null)};f=RSc.prototype;f.id=function(){return this.internalId};f.selectionToken=function(){return this.internalSelectionToken};f.targets=function(){return this.internalResult.getTargetList()};f.result=function(){return this.internalResult};
f.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};f.getDisplayNameWithOverrideApplied=function(){return this.displayNameOverride};f.isPlaceholder=function(){return!0};var xib=function(a,b){this.root=a;this.options=b};f=xib.prototype;f.activate=function(){this.root.classList.add("isActive")};f.deactivate=function(){this.root.classList.remove("isActive")};f.spotlight=function(){};f.unspotlight=function(){};f.getRoot=function(){return this.root};f.getSelection=function(){return new RSc(ulb(this.options.id))};f.toggleSelection=function(){};f.onKeyDown=function(){};f.onContextMenu=function(){return function(){}};var wib=function(a){var b=a.keyboardShortcut,c=a.densityClass,d=a.ariaLabel,e=a.id,g=a.iconUrl;a=a.label;Array.isArray(b);b='<div role="menuitem" id="'+Iq(e)+'" peoplekit-id="'+Iq("UhZROb")+'" class="'+Iq("peoplekitComponentsContextmenuitemImplMenuItem")+" "+Iq(c)+'"'+(d?' aria-label="'+Iq(d)+'"':"")+'><div class="'+Iq("peoplekitComponentsContextmenuitemImplRow")+'">'+(g?'<img class="'+Iq("peoplekitComponentsContextmenuitemImplIcon")+" "+Iq("peoplekitComponentsContextmenuitemImplLeft")+'" src="'+
Iq(nzc(g))+'" draggable="false" alt=""/>':"")+'<div class="'+Iq("peoplekitComponentsContextmenuitemImplLabel")+" "+Iq("peoplekitComponentsContextmenuitemImplCenter")+'">'+Jq(a)+"</div>"+(0<b.length?'<div class="'+Iq("peoplekitComponentsContextmenuitemImplKeyboardShortcut")+" "+Iq("peoplekitComponentsContextmenuitemImplRight")+'"><span dir="ltr">'+Jq(Yyc(b).join("+"))+"</span></div>":"")+"</div></div>";return Fq(b)};var SSc=function(a){this.internalArray_=m(a)};T(SSc,p);SSc.prototype.toObject=function(){return TSc(this)};var TSc=function(a){if(null!=a)return r(a),{}};var USc=function(a){this.internalArray_=m(a)};T(USc,p);USc.prototype.toObject=function(){return VSc(this)};var VSc=function(a){if(null!=a)return r(a),{exampleBooleanFlag:Tj(a,1,!1),exampleIntegerFlag:Rh(a,2,42)}};var WSc=function(a){this.internalArray_=m(a)};T(WSc,p);WSc.prototype.toObject=function(){return XSc(this)};var XSc=function(a){if(null!=a)return r(a),{}};var YSc=function(a){this.internalArray_=m(a)};T(YSc,p);YSc.prototype.toObject=function(){return ZSc(this)};var ZSc=function(a){if(null!=a)return r(a),{enableProjectLean:Tj(a,1,!1),enableEmailAddressMatching:Tj(a,2,!1),enableFilterNonPrimarySignupEmail:Tj(a,3,!1),enableSmartaddressCounterfactualLogging:Tj(a,4,!1),enableExtensibleLookupcache:Tj(a,5,!1)}};var $Sc=function(a){this.internalArray_=m(a)};T($Sc,p);$Sc.prototype.toObject=function(){return aTc(this)};var aTc=function(a){if(null!=a)return r(a),{enableProjectLean:Tj(a,1,!1)}};var bTc=function(a){this.internalArray_=m(a)};T(bTc,p);bTc.prototype.toObject=function(){return cTc(this)};var cTc=function(a){if(null!=a)return r(a),{enablePopulousV2:Tj(a,1,!0)}};var dTc=function(a){this.internalArray_=m(a)};T(dTc,p);dTc.prototype.toObject=function(){return eTc(this)};var eTc=function(a){if(null!=a)return r(a),{}};var fTc=function(a){this.internalArray_=m(a)};T(fTc,p);fTc.prototype.getIsEnabled=function(){return Tj(this,1,!1)};fTc.prototype.toObject=function(){return gTc(this)};var gTc=function(a){if(null!=a)return r(a),{isEnabled:Tj(a,1,!1),answer:qj(a,2,42)}};var kq=function(a){this.internalArray_=m(a)};T(kq,p);kq.prototype.getRequestType=function(){return Zi(this,1,0)};kq.prototype.setRequestType=function(a){return V(this,1,a)};kq.prototype.toObject=function(){return hTc(this)};
var hTc=function(a){if(null!=a)return r(a),{requestType:n(Er(a,1)),testExperimentFlags:gTc(X(a,fTc,101)),hovercardExperimentsRoot:TSc(X(a,SSc,102)),peopleIntelligenceExperimentsRoot:XSc(X(a,WSc,103)),populousExperimentsRoot:ZSc(X(a,YSc,104)),sendkitExperimentsRoot:cTc(X(a,bTc,105)),integrationExampleFeature:VSc(X(a,USc,106)),peoplekitExperimentsRoot:sSc(X(a,S2,107)),populousLeanExperimentFlags:aTc(X(a,$Sc,108)),sharekitExperimentsRoot:eTc(X(a,dTc,109))}};var iTc=function(){var a=new kq,b=new S2;this.experimentFlags_=hj(a,S2,107,b)};iTc.prototype.getExperimentFlags=function(){return this.experimentFlags_};iTc.prototype.getExperimentIds=function(){return[]};var Jkb=function(a,b){this.cache=b;this.overriddenExperiments=X(a,S2,3)||new S2};Jkb.prototype.getExperiments=function(){var a,b=(null==(a=this.cache.getExperimentFlags())?void 0:X(a,S2,107))||new S2;a=this.overriddenExperiments;if(Ok(a,3)){var c=Tj(a,3,!1);Vj(b,3,c)}Ok(a,4)&&(a=Tj(a,4,!0),Vj(b,4,a));return b};Jkb.prototype.getExperimentIds=function(){return this.cache.getExperimentIds()};var jTc=function(a){this.internalArray_=m(a)};T(jTc,p);f=jTc.prototype;f.getCacheStaleSec=function(){return Rh(this,4,14400)};f.getCacheExpiredSec=function(){return Rh(this,5,1209600)};f.getRpcTimeoutSec=function(){return Rh(this,7,60)};f.getApiKey=function(){return U(this,8,"")};f.setApiKey=function(a){return sk(this,8,a)};f.getEnableClearcut=function(){return Tj(this,13,!0)};f.setEnableClearcut=function(a){return Vj(this,13,a)};
f.toObject=function(){if(null!=this){r(this);var a={minimumCacheRefreshSec:Rh(this,3,1800),cacheStaleSec:Rh(this,4,14400),cacheExpiredSec:Rh(this,5,1209600),rpcTimeoutSec:Rh(this,7,60),apiKey:U(this,8,""),apiRoot:n(Z(this,10)),cacheRefreshRateSec:Rh(this,11,14400),maxRefreshCount:Rh(this,12,18),enableClearcut:Tj(this,13,!0)}}else a=void 0;return a};var Hkb=Jca(jTc);var Gkb;var kTc=function(){};kTc.prototype.getExperimentFlags=function(){return new kq};kTc.prototype.getExperimentIds=function(){return[]};var er=function(){};er.prototype.prefetch=function(){};er.prototype.loadExperiments=function(){return new kTc};var V2=function(a){this.internalArray_=m(a)};T(V2,p);V2.prototype.getVersion=function(){return qj(this,1)};V2.prototype.setVersion=function(a){return V(this,1,a)};V2.prototype.getVersionOrUndefined=function(){return st(this,1)};V2.prototype.toObject=function(){return lTc(this)};var lTc=function(a){if(null!=a)return r(a),{version:n(Yb(a,1))}};var W2=function(a){this.internalArray_=m(a)};T(W2,p);f=W2.prototype;f.getApplication=function(){return Zi(this,1,0)};f.setApplication=function(a){return V(this,1,a)};f.getApplicationOrUndefined=function(){return Qr(this,1)};f.getVersion=function(){return qj(this,2)};f.setVersion=function(a){return V(this,2,a)};f.getVersionOrUndefined=function(){return st(this,2)};f.toObject=function(){return mTc(this)};var mTc=function(a){if(null!=a)return r(a),{application:n(Er(a,1)),version:n(Yb(a,2))}};var nTc=function(a){this.internalArray_=m(a)};T(nTc,p);f=nTc.prototype;f.getRequestType=function(){return Zi(this,1,0)};f.setRequestType=function(a){return V(this,1,a)};f.getProfileId=function(){return U(this,2)};f.getProfileId_legacyNullable=function(){return Z(this,2)};f.setProfileId=function(a){return sk(this,2,a)};f.hasProfileId=function(){return Hk(this,2)};f.getCaller=function(){return X(this,V2,3)};f.setCaller=function(a){return hj(this,V2,3,a)};f.getInstanceId=function(){return U(this,4)};
f.setInstanceId=function(a){return sk(this,4,a)};f.clearInstanceId=function(){ct(this,4)};f.hasInstanceId=function(){return Hk(this,4)};f.getInstanceIdOrUndefined=function(){return tt(this,4)};f.getClient=function(){return X(this,W2,5)};f.setClient=function(a){return hj(this,W2,5,a)};f.hasClient=function(){return Nj(this,W2,5)};
f.toObject=function(){if(null!=this){r(this);var a={requestType:Zi(this,1,0),profileId:n(Z(this,2)),caller:lTc(this.getCaller()),instanceId:n(Z(this,4)),client:mTc(this.getClient())}}else a=void 0;return a};var hq=function(a){this.internalArray_=m(a)};T(hq,p);f=hq.prototype;f.getErrorType=function(){return Zi(this,2,1)};f.setErrorType=function(a){return V(this,2,a)};f.getErrorMessage=function(){return U(this,3)};f.setErrorMessage=function(a){sk(this,3,a)};f.toObject=function(){return oTc(this)};var oTc=function(a){if(null!=a)return r(a),{errorType:Zi(a,2,1),errorMessage:n(Z(a,3))}};var jq=function(a){this.internalArray_=m(a)};T(jq,p);f=jq.prototype;f.getExperimentFlags=function(){return X(this,kq,1)};f.setExperimentFlags=function(a){return hj(this,kq,1,a)};f.hasExperimentFlags=function(){return Nj(this,kq,1)};f.getError=function(){return X(this,hq,2)};f.setError=function(a){hj(this,hq,2,a)};f.hasError=function(){return Nj(this,hq,2)};f.getSource=function(){return Zi(this,3,0)};f.setSource=function(a){return V(this,3,a)};f.hasSource=function(){return pj(this,3)};
f.getSourceOrUndefined=function(){return Qr(this,3)};f.getInstanceId=function(){return U(this,4)};f.setInstanceId=function(a){return sk(this,4,a)};f.clearInstanceId=function(){ct(this,4)};f.hasInstanceId=function(){return Hk(this,4)};f.getInstanceIdOrUndefined=function(){return tt(this,4)};f.getExperimentIdsList=function(){return Qh(this,5)};f.setExperimentIdsList=function(a){return Ab(this,5,a,eb)};f.getExperimentIds=function(){return it(this,5)};
f.setExperimentIds=function(a){Db(this,5,a,void 0,Qh)};jq.repeatedFields_=[5];jq.prototype.toObject=function(){if(null!=this){r(this);var a={experimentFlags:hTc(this.getExperimentFlags()),error:oTc(this.getError()),source:n(Er(this,3)),instanceId:n(Z(this,4)),experimentIdsList:n(Qh(this,5))}}else a=void 0;return a};var pTc=function(a,b){this.client_=a;this.runtime_=b;gib();this.apiKey_=a.getApiKey();this.apiRoot_=U(this.client_,10)||iMa("peoplestackwebexperiments-pa",this.runtime_.getPeopleApiEnv())};pTc.prototype.getClient=function(){return this.client_};pTc.prototype.getApiKey=function(){return this.apiKey_};var X2=function(a){this.internalArray_=m(a)};T(X2,p);f=X2.prototype;f.getExperimentFlags=function(){return X(this,kq,1)};f.setExperimentFlags=function(a){return hj(this,kq,1,a)};f.hasExperimentFlags=function(){return Nj(this,kq,1)};f.getObfuscatedGaiaId=function(){return Z(this,2)};f.getObfuscatedGaiaId_legacyNullable=function(){return Z(this,2)};f.setObfuscatedGaiaId=function(a){sk(this,2,a)};f.getExperimentIdsList=function(){return Qh(this,3)};
f.setExperimentIdsList=function(a){return Ab(this,3,a,eb)};f.getExperimentIds=function(){return it(this,3)};f.setExperimentIds=function(a){Db(this,3,a,void 0,Qh)};var qTc=Zb(X2);X2.repeatedFields_=[3];X2.prototype.toObject=function(){if(null!=this){r(this);var a={experimentFlags:hTc(this.getExperimentFlags()),obfuscatedGaiaId:n(Z(this,2)),experimentIdsList:n(Qh(this,3))}}else a=void 0;return a};var rTc=function(a){var b=void 0;b=void 0===b?Date.now:b;this.clientConfig_=a;this.now_=b},sTc=function(a,b,c){a=a.now_()-1E3*c;return b>a};rTc.prototype.getCacheState=function(a){var b=Rh(this.clientConfig_.getClient(),3,1800);if(sTc(this,a,b))return 1;b=this.clientConfig_.getClient().getCacheStaleSec();if(sTc(this,a,b))return 2;b=this.clientConfig_.getClient().getCacheExpiredSec();return sTc(this,a,b)?3:4};var iq=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};T(iq,Error);var tTc=function(a,b){b=void 0===b?null:b;var c=hib(a);a=a.getProfileId()||b;return c&&a?JSON.stringify([c,a]):null},uTc=new iq(6);var vTc=function(){};var Y2=function(){};Ns(Y2,vTc);Y2.prototype.getCount=function(){for(var a=0,b=k(this),c=b.next();!c.done;c=b.next())a++;return a};Y2.prototype[Symbol.iterator]=function(){return Occ(this.__iterator__(!0)).toEs6()};Y2.prototype.clear=function(){var a=Array.from(this);a=k(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};var wTc=function(a){this.storage_=a};Ns(wTc,Y2);f=wTc.prototype;f.set=function(a,b){try{this.storage_.setItem(a,b)}catch(c){if(0==this.storage_.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};f.get=function(a){a=this.storage_.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};f.remove=function(a){this.storage_.removeItem(a)};f.getCount=function(){return this.storage_.length};
f.__iterator__=function(a){var b=0,c=this.storage_,d=new RH;d.next=function(){if(b>=c.length)return Ncc;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};f.clear=function(){this.storage_.clear()};f.key=function(a){return this.storage_.key(a)};var jib=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.storage_=a};Ns(jib,wTc);var Z2=function(a,b){this.mechanism_=a;this.prefix_=b+"::"};Ns(Z2,Y2);Z2.prototype.set=function(a,b){this.mechanism_.set(this.prefix_+a,b)};Z2.prototype.get=function(a){return this.mechanism_.get(this.prefix_+a)};Z2.prototype.remove=function(a){this.mechanism_.remove(this.prefix_+a)};
Z2.prototype.__iterator__=function(a){var b=this.mechanism_[Symbol.iterator](),c=this,d=new RH;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 mq=function(a,b){var c=void 0,d=void 0;b=void 0===b?new jib:b;c=void 0===c?S_b:c;d=void 0===d?P_b:d;this.clientConfig_=a;this.transformer_=new rTc(this.clientConfig_);this.localStorage_=b;this.serializeJson_=c;this.isValidJson_=d;this.prefix_="PeopleStackExperiments";this.storage_=new Z2(this.localStorage_,this.prefix_)};
mq.prototype.set=function(a,b){var c=tTc(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw uTc;a={keyPath:c,experiments:b.serialize(),lastUpdated:Date.now(),instanceId:a.getInstanceId()};this.storage_.set(c,this.serializeJson_(a));return c};
mq.prototype.get=function(a){a=tTc(a);if(!a)return null;a=this.storage_.get(a);if(!a)return null;if((a=a&&this.isValidJson_(a)?JSON.parse(a):null)&&4!==this.transformer_.getCacheState(a.lastUpdated)){var b=this.transformer_;a={keyPath:a.keyPath,experiments:qTc(a.experiments),lastUpdated:new Date(a.lastUpdated),state:b.getCacheState(a.lastUpdated),instanceId:a.instanceId}}else a=null;return a};mq.prototype.delete=function(a){this.storage_.remove(a);return!0};
mq.prototype.clean=function(){for(var a=this.localStorage_.getCount(),b=0;b<a;b++){var c=this.localStorage_.key(b);if(c&&c.includes(this.prefix_)){var d=(d=this.localStorage_.get(c))&&this.isValidJson_(d)?JSON.parse(d):null;d=this.transformer_.getCacheState(d.lastUpdated)}else d=0;4===d&&this.localStorage_.remove(c)}};var nq=function(a){var b=void 0;b=void 0===b?new Map:b;this.clientConfig_=a;this.transformer_=new rTc(this.clientConfig_);this.cache_=b};nq.prototype.set=function(a,b){var c=tTc(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw uTc;a={keyPath:c,experiments:b,lastUpdated:new Date,state:1,instanceId:a.getInstanceId()};this.cache_.set(c,a);return c};
nq.prototype.get=function(a){a=tTc(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};nq.prototype.delete=function(a){this.cache_.delete(a);return!0};nq.prototype.clean=function(){var a=this;this.cache_.forEach(function(b,c){4===a.transformer_.getCacheState(b.lastUpdated.getTime())&&a.cache_.delete(c)})};var xTc=function(){};f=xTc.prototype;f.start=function(){};f.stop=function(){};f.count=function(){};f.latency=function(){};f.error=function(){};f.status=function(){};f.logError=function(){};var yTc=function(a){this.internalArray_=m(a)};T(yTc,p);f=yTc.prototype;f.getCaller=function(){return X(this,V2,1)};f.setCaller=function(a){return hj(this,V2,1,a)};f.getClient=function(){return X(this,W2,2)};f.setClient=function(a){return hj(this,W2,2,a)};f.hasClient=function(){return Nj(this,W2,2)};f.toObject=function(){return zTc(this)};var zTc=function(a){if(null!=a)return r(a),{caller:lTc(a.getCaller()),client:mTc(a.getClient())}};var ATc=function(a){this.internalArray_=m(a)};T(ATc,p);f=ATc.prototype;f.getRequestType=function(){return Zi(this,1,0)};f.setRequestType=function(a){return V(this,1,a)};f.setProperties=function(a){return hj(this,yTc,3,a)};f.getInstanceId=function(){return U(this,4)};f.setInstanceId=function(a){return sk(this,4,a)};f.clearInstanceId=function(){ct(this,4)};f.hasInstanceId=function(){return Hk(this,4)};f.getInstanceIdOrUndefined=function(){return tt(this,4)};
f.toObject=function(){if(null!=this){r(this);var a={requestType:n(Er(this,1)),properties:zTc(X(this,yTc,3)),instanceId:n(Z(this,4))}}else a=void 0;return a};var BTc=new GD("/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",ATc,X2,function(a){return a.serialize()},qTc);var CTc=function(a){this.client_=new YD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};CTc.prototype.getExperimentFlags=function(a,b){return ZD(this.client_,this.hostname_+"/$rpc/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",a,b||{},BTc)};var DTc=function(a,b){this.clientRequest_=a;this.rpcClient_=b;this.metric_=new xTc};DTc.prototype.getMetric=function(){return this.metric_};DTc.prototype.send=function(a){var b=this,c;return pe(function(d){var e=(new yTc).setCaller(b.clientRequest_.getCaller()).setClient(b.clientRequest_.getClient());c=(new ATc).setRequestType(b.clientRequest_.getRequestType()).setInstanceId(b.clientRequest_.getInstanceIdOrUndefined()).setProperties(e);return d.return(b.rpcClient_.getExperimentFlags(c,a))})};
DTc.prototype.close=function(){};DTc.prototype.processResponse=function(a){return a};var ETc=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var FTc=function(a,b){this.config_=a;this.request_=b;this.resolver_=new ETc;this.rpcPromise_=null;this.state_=0};f=FTc.prototype;f.resultPromise=function(){return this.resolver_.promise};f.isPending=function(){return 1===this.state_};f.cancel=function(){switch(this.state_){case 1:this.rpcPromise_.cancel();break;case 0:this.state_=2,this.rpcPromise_=KZb(new pC),this.resolver_.reject(1)}};
f.send=function(){var a=this;if(0!==this.state_)return this.resultPromise();var b=hMa(this.config_.apiKey);this.config_.customAuthHeaders&&(b=Object.assign({},b,this.config_.customAuthHeaders));this.state_=1;b=this.request_.send(b);this.rpcPromise_=UZb(NZb([b,c_b(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()};
f.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)};
f.onError_=function(a,b){b=void 0===b?0:b;if("TIMEOUT"===a)var c=4;else a instanceof pC?c=1:a&&"object"===typeof a?(c=a.code||2,2===c&&(c=No("result.error.code",a)||a.status,c=Number(c),c=$wc.has(c)?$wc.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 GTc=Symbol("ze"),HTc=function(){};HTc.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[GTc]=d)}return c})};var ITc=function(a){this.request_=a;this.metric_=this.request_.getMetric();this.metric_.start("total");this.metric_.start("blocked");this.contentLength_=0};ITc.prototype.getMetric=function(){return this.metric_};ITc.prototype.send=function(a){this.metric_.stop("blocked");this.metric_.count();this.metric_.start("network");return this.request_.send(a)};
ITc.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[GTc]||0}};ITc.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 JTc=function(a){this.config_=a;this.pendingRpcs_=new Set},LTc=function(a,b){b=new ITc(b);b=new FTc(a.config_,b);a.pendingRpcs_.add(b);KTc(a,b);return b.resultPromise()},KTc=function(a,b){pe(function(c){if(1==c.nextAddress)return qe(c,2,3),c.yield(b.send(),3);if(2!=c.nextAddress)return re(c),a.pendingRpcs_.delete(b),se(c,0);te(c);return c.jumpTo(3)})};var lib=function(a){this.clientConfig_=a;this.inflightRequests_=new Map;a={apiKey:this.clientConfig_.getApiKey(),timeoutSec:this.clientConfig_.getClient().getRpcTimeoutSec()};this.dispatcher_=new JTc(a);this.rpcClient_=new CTc(this.clientConfig_.apiRoot_)},NTc=function(a,b){var c,d,e,g;return pe(function(h){switch(h.nextAddress){case 1:var l=MTc(b);if(c=a.inflightRequests_.get(l)||null)return h.return(c);d=new DTc(b,a.rpcClient_);qe(h,2,3);e=LTc(a.dispatcher_,d);l=MTc(b);a.inflightRequests_.set(l,
e);return h.yield(e,5);case 5:return g=h.yieldResult,h.return(g);case 3:re(h);l=MTc(b);a.inflightRequests_.delete(l);se(h,0);break;case 2:throw te(h),Error("Ae");}})},MTc=function(a){a=hib(a);if(!a)throw uTc;return a};var OTc=function(a){this.internalArray_=m(a)};T(OTc,p);f=OTc.prototype;f.getInstanceId=function(){return U(this,1)};f.setInstanceId=function(a){return sk(this,1,a)};f.clearInstanceId=function(){ct(this,1)};f.hasInstanceId=function(){return Hk(this,1)};f.getInstanceIdOrUndefined=function(){return tt(this,1)};f.getRequestId=function(){return U(this,2)};f.getRequestType=function(){return Zi(this,4,0)};f.setRequestType=function(a){return V(this,4,a)};f.getSourceType=function(){return Zi(this,6,0)};
f.setSourceType=function(a){return V(this,6,a)};f.getClient=function(){return Zi(this,7,0)};f.setClient=function(a){return V(this,7,a)};f.hasClient=function(){return pj(this,7)};f.getErrorType=function(){return Zi(this,8,0)};f.setErrorType=function(a){return V(this,8,a)};
f.toObject=function(){if(null!=this){r(this);var a={instanceId:n(Z(this,1)),requestId:n(Z(this,2)),durationUsec:n(Yb(this,3)),requestType:n(Er(this,4)),requestOrigin:n(Er(this,5)),sourceType:n(Er(this,6)),client:n(Er(this,7)),errorType:n(Er(this,8))}}else a=void 0;return a};var mib=function(a){var b=a.getClient();a=a.runtime_.getPeopleApiEnv();this.logContext_=Mr(new Nr,"PeopleExperiments").setEnvironment(a).setLogSource(1250).setVersion("1.0.1").setBaselineCl(542993115).setEnableClearcut(b.getEnableClearcut())};f=mib.prototype;f.getLogContext=function(){return this.logContext_};f.createCountMetric=function(){throw Error("bb");};f.createStatusMetric=function(){throw Error("bb");};f.createErrorMetric=function(){throw Error("bb");};
f.createLatencyMetric=function(a,b){a=b.source();b=Math.round(1E3*b.duration());V(a,3,b);return a};var PTc=function(a,b){this.metrics_=a;this.state_=new pS(b);this.label_="total";this.source=b};PTc.prototype.start=function(){this.metrics_.start(this.state_,this.label_)};PTc.prototype.stop=function(){this.metrics_.stop(this.state_,this.label_);this.metrics_.latency(this.state_)};var nib=function(a,b){this.worker_=a;this.metrics_=hr(b)},QTc=function(a,b){var c=new OTc,d=gib();c=sk(c,2,d).setRequestType(a.getRequestType());return V(c,5,b).setClient(a.getClient().getApplicationOrUndefined())};
nib.prototype.updateExperimentsCache=function(a,b){b=void 0===b?2:b;var c=this,d,e,g,h;return pe(function(l){if(1==l.nextAddress)return d=QTc(a,b),e=new PTc(c.metrics_,d),e.start(),l.yield(c.worker_.updateExperimentsCache(a,b),2);g=l.yieldResult;d.setSourceType(g.getSourceOrUndefined());d.setInstanceId(g.getInstanceIdOrUndefined());(h=g.getError())&&d.setErrorType(h.getErrorType());e.stop();return l.return(g)})};
nib.prototype.getCachedExperiments=function(a,b){b=void 0===b?0:b;var c=QTc(a,b),d=new PTc(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 RTc=function(a){this.timer=a;this.count=0},pib=function(a,b){this.clientConfig_=a;this.worker_=b;this.refreshers_=new Map;this.refreshRateMs_=1E3*Rh(this.clientConfig_.getClient(),11,14400);this.eventHandler_=new uq(this)};pib.prototype.updateExperimentsCache=function(a,b){try{return STc(this,a),this.worker_.updateExperimentsCache(a,b)}catch(c){return Promise.resolve(lq(c))}};pib.prototype.getCachedExperiments=function(a,b){try{return STc(this,a),this.worker_.getCachedExperiments(a,b)}catch(c){return lq(c)}};
var STc=function(a,b){var c=hib(b);if(!c)throw new iq(6);if(a.refreshers_.has(c))a.refreshers_.get(c).count=0;else{var d=new qC(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 g=Rh(a.clientConfig_.getClient(),12,18);e.count>=g&&(e.timer.stop(),a.refreshers_.delete(c))}});d.start();a.refreshers_.set(c,new RTc(d))}a.refreshers_.get(c)};var TTc=function(){},oib=function(a,b){this.cache_=a;this.loader_=b};
oib.prototype.updateExperimentsCache=function(a,b){var c=this,d,e,g,h;return pe(function(l){if(1==l.nextAddress){e=d=null;try{d=UTc(c,a)}catch(A){e=A}if(d&&3!==d.state)return l.return(c.getCachedExperiments(a,b));qe(l,3);return l.yield(VTc(c,a),5)}if(3!=l.nextAddress){g=l.yieldResult;var q=l.return,v=e;v=void 0===v?null:v;var x=(new jq).setExperimentFlags(g.getExperimentFlags()).setExperimentIdsList(g.getExperimentIdsList()).setSource(1).setInstanceId(a.getInstanceIdOrUndefined());v&&x.setError(iib(v));
return q.call(l,x)}h=te(l);return l.return(lq(h))})};oib.prototype.getCachedExperiments=function(a){try{var b=UTc(this,a);if(b){var c=(new jq).setExperimentFlags(b.experiments.getExperimentFlags()).setExperimentIdsList(b.experiments.getExperimentIdsList()).setInstanceId(b.instanceId).setSource(2);1!==b.state&&VTc(this,a).catch(TTc);return c}VTc(this,a).catch(TTc);return lq()}catch(d){return lq(d)}};
var UTc=function(a,b){try{var c=a.cache_.get(b);return c&&c.experiments.hasExperimentFlags()?c:null}catch(d){if(d instanceof iq)throw d;throw new iq(3);}},VTc=function(a,b){var c,d;return pe(function(e){if(1==e.nextAddress)return qe(e,2),b.hasInstanceId()||b.setInstanceId(gib()),e.yield(NTc(a.loader_,b),4);if(2!=e.nextAddress)return c=e.yieldResult,a.cache_.set(b,c),e.return(c);d=te(e);if(d instanceof iq)throw d;throw new iq(2);})};var kib;var WTc=function(a){this.clientConfig_=a;this.worker_=qib(this.clientConfig_)};WTc.prototype.getCachedExperiments=function(a){return this.worker_.getCachedExperiments(a,0)};var fr=function(){this.peopleApiEnv_=4};fr.prototype.getPeopleApiEnv=function(){return this.peopleApiEnv_};fr.prototype.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};var XTc=function(a,b){this.client_=a;this.request_=b;this.response_=null};XTc.prototype.getExperimentFlags=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentFlags()};XTc.prototype.getExperimentIds=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentIdsList()};var Ikb=function(a,b){this.clientConfig_=a;this.requestType_=b;this.version_=542993115};Ikb.prototype.prefetch=function(a){var b=new pTc(this.clientConfig_,new fr);a=YTc(this,a,"");qib(b).updateExperimentsCache(a,2)};Ikb.prototype.loadExperiments=function(a,b,c){var d=new pTc(this.clientConfig_,b),e=YTc(this,a,c);qib(d).updateExperimentsCache(e,2);b=new WTc(new pTc(this.clientConfig_,b));a=YTc(this,a,c);return new XTc(b,a)};
var YTc=function(a,b,c){var d=(new V2).setVersion(a.version_);b=(new W2).setApplication(b);return(new nTc).setProfileId(c).setRequestType(a.requestType_).setCaller(d).setClient(b)};var Nq=new Jkb(new T2,new iTc);var sib=rq.getInstance();var ZTc=["pk-select","pk-deselect","pk-click","pk-input"],$Tc=new Map([["pk-select",3],["pk-deselect",3],["pk-click",3],["pk-input",15]]);var tib=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 sq=function(a,b){this.ariaParent=a;this.delegate=b};f=sq.prototype;f.update=function(){var a=this.getSpotlitItem();a?(a=a.getRoot(),eN(this.ariaParent,a)):eN(this.ariaParent,null)};f.prev=function(a){a=this.delegate.prev(a);this.update();return a};f.next=function(a){a=this.delegate.next(a);this.update();return a};f.size=function(){return this.delegate.size()};f.goToItem=function(a,b){a=this.delegate.goToItem(a,b);this.update();return a};
f.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);this.update();return a};f.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};f.getActiveItems=function(){return this.delegate.getActiveItems()};f.getItem=function(a){return this.delegate.getItem(a)};f.getIndexOf=function(a){return this.delegate.getIndexOf(a)};f.clear=function(){this.delegate.clear();this.update()};f.reset=function(){this.delegate.reset();this.update()};f.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};
f.onKeyDown=function(a){this.delegate.onKeyDown(a)};f.onContextMenu=function(a,b){var c=this;this.delegate.onContextMenu(a,function(){c.update();b()})};f.remove=function(a,b){this.delegate.remove(a,b);this.update()};f.insert=function(a,b,c){this.delegate.insert(a,b,c);this.update()};var a3=function(a){this.event=a;this.hasStoppedPropagationInternal=!1};a3.prototype.stopPropagation=function(){this.event.stopPropagation();this.hasStoppedPropagationInternal=!0};a3.prototype.preventDefault=function(){this.event.preventDefault()};var Dib=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=vq(this)};f=Dib.prototype;
f.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 a3(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(new a3(d))});this.eventHandler.listen(this.input,"blur",function(){return c.onBlur()})};f.detach=function(){this.eventHandler.removeAll();this.navigatable=this.input=null};
f.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())}};f.onClick=function(a,b){if(!this.navigatable)return!1;this.navigatable.goToItem(a,0);b.stopPropagation();return!0};f.onContextMenu=function(a){if(this.navigatable)this.navigatable.onContextMenu(a,function(){})};f.reset=function(){this.navigatable&&this.navigatable.reset()};f.onBlur=function(){this.reset()};var aUc=Object.freeze(new yq(NaN,NaN)),bUc=Object.freeze(new MS(NaN,NaN,NaN,NaN)),Cq=function(a,b,c){this.root=a;this.requestHide=b;this.options=c;this.lastPosition=aUc;this.lastBounds=bUc;this.anchorUpdateTimer=new qC(15);this.eventHandler=vq(this);this.attach()};Cq.prototype.attach=function(){var a=this;this.eventHandler.listen(this.anchorUpdateTimer,"tick",function(){return cUc(a)})};Cq.prototype.isShown=function(){return"none"!=this.root.style.display};
Cq.prototype.dispose=function(){this.hide();this.eventHandler.removeAll()};Cq.prototype.show=function(a){this.anchor=a;this.lastPosition=aUc;this.lastBounds=bUc;QS(this.root,!0);cUc(this);this.anchorUpdateTimer.start()};
var cUc=function(a){var b;if((b=a.anchor)&&!(b=!a.lastPosition.equals(PS(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)}if(b)if(c=a.anchor,b=wq(c),(c=xq(c))&&b.intersection(Gib(c))){c=a.anchor;b=a.root;var d=a.options,e=d.anchorCorner||9,g=d.popupCorner||8;d=void 0===d.moveAboveAnchorIfOffscreen?!0:d.moveAboveAnchorIfOffscreen;Bq(b,"","");b.style.height=OS("",!0);var h=Kib(c,e,b,g,d);c=Kib(c,e^1,b,g^1,d);h.height>=c.height||
!d?Nib(b,h):Nib(b,c);a.lastPosition=PS(a.anchor);a.lastBounds=wq(a.root)}else a.requestHide()};Cq.prototype.hide=function(){this.root.style.cssText="";QS(this.root,!1);this.anchorUpdateTimer.stop();this.lastPosition=aUc;this.lastBounds=bUc};var dUc=new TB;dUc.altKey=!0;dUc.keyCode=39;(new TB).keyCode=13;var eUc=function(){QB.call(this)};T(eUc,QB);eUc.prototype.init=function(){};new eUc;var fUc=!Ps&&!jaa(),gUc=function(a,b){if(/-[a-z]/.test(b))return null;if(fUc&&a.dataset){if(kaa()&&!(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 Eq=function(a,b,c,d,e){var g=this;this.root=a;this.anchor=b;this.container=d;this.appearanceConfig=e;this.popup=Oib(this.root,function(){g.hide()},{});this.navigatable=Aib(c);this.navigationEventHandler=Eib({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=vq(this);this.eventHandler.listen(this.root,"mouseover",
function(h){h.stopPropagation()});this.eventHandler.listen(this.root,"mouseout",function(h){h.stopPropagation()});this.eventHandler.listen(this.root,"mouseenter",function(h){h.stopPropagation()});this.hide()};
Eq.prototype.append=function(a){var b=this;this.contextMenuItemOptions.set(a.id,a);var c=yib(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(Dq(e))}d.stopPropagation();hUc(b,a);b.hide()});this.navigatable.insert(this.navigatable.size(),[c],!1)};
Eq.prototype.show=function(){for(var a=k(this.beforeShowCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b();this.popup.show(this.anchor);this.navigationEventHandler.attach(this.root,this.navigatable);this.navigatable.next(0)};Eq.prototype.hide=function(){this.popup.hide();this.navigatable.reset();this.navigationEventHandler.detach();for(var a=k(this.afterHideCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b()};
Eq.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(Dq(c));b=b.getSelection().id().getValue();b=this.contextMenuItemOptions.get(b);hUc(this,b);this.hide();a.stopPropagation();a.preventDefault()}}};
var iUc=function(a,b){a.itemSelectedCallbacks.add(b)},jUc=function(a,b){a.afterHideCallbacks.add(b)},hUc=function(a,b){a=k(a.itemSelectedCallbacks.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};Eq.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 Pib=function(){return Fq('<div peoplekit-id="'+Iq("xl07Ob")+'" class="'+Iq("peoplekitComponentsContextmenuImplMenu")+'" role="menu"></div>')};var Tib=function(a){var b=this;this.root=a;this.internalIsDisabled=!1;this.eventHandler=vq(this);this.eventHandler.listen(this.root,"click",function(c){var d;null==(d=b.onClick)||d.call(b,c)})};f=Tib.prototype;f.getRoot=function(){return this.root};f.enable=function(){this.root.classList.remove("isDisabled");this.root.setAttribute("aria-disabled","false");this.internalIsDisabled=!1};
f.disable=function(){this.root.classList.add("isDisabled");this.root.setAttribute("aria-disabled","true");this.internalIsDisabled=!0};f.isDisabled=function(){return this.internalIsDisabled};f.dispose=function(){this.eventHandler.removeAll();this.onClick=void 0};var Sib=function(a){a=a.label;return Fq('<button class="'+Iq("peoplekitComponentsButtonLabelLabelButton")+'">'+Jq(a)+"</button>")};var njb=function(a,b,c){var d=this;this.root=a;this.actionListeners=[];this.eventHandler=vq(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=tq(this.root,"Sx9Kwc");this.startFocusableElement=tq(this.root,"tYwGbe");this.endFocusableElement=tq(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.dialog.focus()};f=njb.prototype;f.subscribeToAction=function(a){this.actionListeners.push(a)};
f.dispatchAction=function(a){var b=this.actionButtons.get(a);if(b&&!b.isDisabled()){for(var c=k(this.actionListeners),d=c.next();!d.done;d=c.next())d=d.value,d(a);a=b.getRoot();a.dispatchEvent(Dq(a))}};f.getRoot=function(){return this.root};f.onDialogClick=function(a){a.stopPropagation()};f.onDialogKeyDown=function(a){27===a.keyCode&&(this.dispatchAction(0),a.stopPropagation())};f.onStartFocusableElementFocus=function(){var a=Bib(this.dialog);a.length&&a[a.length-1].focus()};
f.onEndFocusableElementFocus=function(){var a=Bib(this.dialog);a.length&&a[0].focus()};f.onScrimClick=function(){this.dispatchAction(0)};f.onButtonClick=function(a){this.dispatchAction(a)};f.dispose=function(){this.eventHandler.removeAll();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.actionListeners.length=0;for(var a=k(this.actionButtons.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.actionButtons.clear()};var mjb=function(a){var b=a.content;a=a.header;return Fq('<div peoplekit-id="'+Iq("GGAcbc")+'" class="'+Iq("peoplekitComponentsDialogImplScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+Iq("tYwGbe")+'" tabindex="0" role="application"></div><div peoplekit-id="'+Iq("Sx9Kwc")+'" class="'+Iq("peoplekitComponentsDialogImplDialog")+'" tabindex="-1" role="dialog">'+(a?'<div class="'+Iq("peoplekitComponentsDialogImplHeader")+'">'+Jq(a)+"</div>":"")+'<div class="'+Iq("peoplekitComponentsDialogImplContent")+
'">'+Jq(b)+'</div><div class="'+Iq("peoplekitComponentsDialogImplActions")+'">'+Fq(kUc("IbE0S"))+Fq('<div class="'+Iq("peoplekitComponentsDialogImplActionDivider")+'"></div>')+Fq(kUc("McfNlf"))+'</div></div><div peoplekit-id="'+Iq("dYgZK")+'" tabindex="0" role="application"></div></div>')},kUc=function(a){return Fq('<div peoplekit-id="'+Iq(a)+'"></div>')};var Yib=function(a,b){var c=this;this.root=a;this.closeButton=b;this.actionListeners=[];this.eventHandler=vq(this);this.dialog=tq(this.root,"Sx9Kwc");this.startFocusableElement=tq(this.root,"tYwGbe");this.endFocusableElement=tq(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()};f=Yib.prototype;f.subscribeToAction=function(a){this.actionListeners.push(a)};f.dispatchAction=function(a){if(!this.closeButton.isDisabled()&&2===a)for(var b=k(this.actionListeners),c=b.next();!c.done;c=b.next())c=c.value,c(a)};f.getRoot=function(){return this.root};
f.dispose=function(){this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.eventHandler.removeAll();this.actionListeners.length=0;this.closeButton.dispose()};f.onDialogClick=function(a){a.stopPropagation()};f.onDialogKeyDown=function(a){27===a.keyCode&&(this.dispatchAction(2),a.stopPropagation())};f.onStartFocusableElementFocus=function(){var a=Bib(this.dialog);a.length&&a[a.length-1].focus()};f.onEndFocusableElementFocus=function(){this.focusFirstFocusableElement()};
f.focusFirstFocusableElement=function(){var a=Bib(this.dialog);a.length&&a[0].focus()};f.onScrimClick=function(){this.dispatchAction(2)};var Xib=function(a){var b=a.content;a=a.header;return Fq('<div peoplekit-id="'+Iq("GGAcbc")+'" class="'+Iq("peoplekitComponentsDialogInfoScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+Iq("tYwGbe")+'" tabindex="0" role="application"></div><div peoplekit-id="'+Iq("Sx9Kwc")+'" class="'+Iq("peoplekitComponentsDialogInfoDialog")+'" tabindex="-1" role="dialog">'+(a?'<div class="'+Iq("peoplekitComponentsDialogInfoHeader")+'">'+Jq(a)+"</div>":"")+'<div class="'+Iq("peoplekitComponentsDialogInfoContent")+
'"><div class="'+Iq("peoplekitComponentsDialogInfoDescription")+'">'+Jq(b)+'</div></div><div class="'+Iq("peoplekitComponentsDialogInfoActions")+'">'+Fq('<div peoplekit-id="'+Iq("TvD9Pc")+'"></div>')+'</div></div><div peoplekit-id="'+Iq("dYgZK")+'" tabindex="0" role="application"></div></div>')},$ib=function(a){a=a.header;return Fq('<div class="'+Iq("peoplekitComponentsDialogInfoTextHeader")+'">'+Jq(a)+"</div>")},lUc=function(a){var b=a.description,c=a.learnMoreLinkUrl;a=a.learnMoreLinkText;return Fq('<div class="'+
Iq("peoplekitComponentsDialogInfoDescription")+'">'+Jq(b)+'  <a href="'+Iq(lzc(c))+'" target="_blank" class="'+Iq("peoplekitComponentsDialogInfoLearnMoreLink")+'" peoplekit-id="'+Iq("lh87ke")+'">'+Jq(a)+"</a></div>")};var Vib=new Map([[0,"peoplekitThemeLight"],[1,"peoplekitThemeDark"]]);var mUc=RegExp("^((http(s)?):)?\\/\\/((((lh[3-6](-tt|-d[a-g,z]|-testonly)?\\.((ggpht)|(googleusercontent)|(google)|(sandbox\\.google)))|(lh7\\-(eu|us)\\.googleusercontent)|((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\\-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"),nUc=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,oUc=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,pUc=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i;var qUc=/\/\/lh[3-6]\./,rUc=function(a,b,c,d){var e;(e=!a)||(e=String(a),e=!(mUc.test(e)||nUc.test(e)||oUc.test(e)||pUc.test(e)));if(e)return String(a||"");a=String(a);void 0===d&&(d=1);b=Math.ceil((b||0)*d);c=Math.ceil((c||0)*d);d=b==c;a=a.replace(qUc,"//lh3.");return(new rL(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 ejb=function(a){var b=a.imageUrls,c=a.backupUrl,d=a.size,e=a.preloadSize,g=a.pixelRatio;Array.isArray(b);a=Fq;var h='<div class="'+Iq("peoplekitComponentsAvatarImplAvatarContainer")+'" style="width: '+Iq(IS(d))+"px; height: "+Iq(IS(d))+'px"><div peoplekit-id="'+Iq("YLEF4c")+'" class="'+Iq("peoplekitComponentsAvatarImplAvatar")+'" style="width: '+Iq(IS(d))+"px; height: "+Iq(IS(d))+'px">';Array.isArray(b);1==b.length?(Array.isArray(b),b=Fq('<div class="'+Iq("peoplekitComponentsAvatarImplContainer")+
'">'+b3(b[0],c,d,e,g)+"</div>")):2==b.length?(Array.isArray(b),b=Fq('<div class="'+Iq("peoplekitComponentsAvatarImplContainer")+'"><div class="'+Iq("peoplekitComponentsAvatarImplColumn")+'">'+b3(b[0],c,d,e,g)+"</div>"+c3()+'<div class="'+Iq("peoplekitComponentsAvatarImplColumn")+'">'+b3(b[1],c,d,e,g)+"</div></div>")):3==b.length?(Array.isArray(b),b=Fq('<div class="'+Iq("peoplekitComponentsAvatarImplContainer")+'"><div class="'+Iq("peoplekitComponentsAvatarImplColumn")+'">'+b3(b[0],c,d,e,g)+"</div>"+
c3()+'<div class="'+Iq("peoplekitComponentsAvatarImplColumn")+'"><div class="'+Iq("peoplekitComponentsAvatarImplRow")+'">'+b3(b[1],c,Math.round(.5*d),e,g)+"</div>"+c3()+'<div class="'+Iq("peoplekitComponentsAvatarImplRow")+'">'+b3(b[2],c,Math.round(.5*d),e,g)+"</div></div></div>")):(Array.isArray(b),b=Fq('<div class="'+Iq("peoplekitComponentsAvatarImplContainer")+'"><div class="'+Iq("peoplekitComponentsAvatarImplColumn")+'"><div class="'+Iq("peoplekitComponentsAvatarImplRow")+'">'+b3(b[0],c,Math.round(.5*
d),e,g)+"</div>"+c3()+'<div class="'+Iq("peoplekitComponentsAvatarImplRow")+'">'+b3(b[2],c,Math.round(.5*d),e,g)+"</div></div>"+c3()+'<div class="'+Iq("peoplekitComponentsAvatarImplColumn")+'"><div class="'+Iq("peoplekitComponentsAvatarImplRow")+'">'+b3(b[1],c,Math.round(.5*d),e,g)+"</div>"+c3()+'<div class="'+Iq("peoplekitComponentsAvatarImplRow")+'">'+b3(b[3],c,Math.round(.5*d),e,g)+"</div></div></div>"));b=Fq(b);return a(h+b+'</div><div peoplekit-id="'+Iq("Btuy5e")+'" class="'+Iq("peoplekitComponentsAvatarImplAvatarBadge")+
'">'+Fq('<img class="'+Iq("peoplekitComponentsAvatarImplBadgeIconImage")+'" peoplekit-id="'+Iq("m6fZne")+'" draggable="false" alt="">')+"</div></div>")},b3=function(a,b,c,d,e){var g=lzc(rUc(a,c,c,e));g=Zyc(g);a=lzc(rUc(a,d,d,e));a=Zyc(a);b=lzc(rUc(b,c,c,e));b=Zyc(b);g='<div peoplekit-id="'+Iq("IHgMKc")+'" class="'+Iq("peoplekitComponentsAvatarImplImageRoot")+'"><img peoplekit-id="'+Iq("HiaYvf")+'" class="'+Iq("peoplekitComponentsAvatarImplImage")+'" style="width: '+Iq(IS(c))+"px; height: "+Iq(IS(c))+
'px;" data-preload-src="'+Iq(a)+'" data-src="'+Iq(g)+'" data-backup-src="'+Iq(b)+'" draggable="false" alt="">';c=Fq('<svg xmlns="http://www.w3.org/2000/svg" height="'+Iq(c)+'px" viewBox="0 0 24 24" width="'+Iq(c)+'px" class="'+Iq("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 Fq(g+c+"</div>")},c3=function(){return Fq('<div class="'+Iq("peoplekitComponentsAvatarImplDivider")+'"></div>')};var sUc=new Map([[0,"light_theme"],[1,"dark_theme"]]);var tUc=new Map([[1,"badge_active"],[2,"badge_inactive"],[3,"badge_idle"],[4,"badge_do_not_disturb"],[5,"badge_video"]]),uUc=new Map([[1,"Active."],[2,"Inactive."],[3,"Idle."],[4,"Do Not Disturb."],[5,"In Video Call."]]),gjb=function(a,b){this.appearance=b;this.root=a;vUc(this)};f=gjb.prototype;
f.setBadge=function(a){var b=tq(this.root,"Btuy5e");if(0===a.badgeType)b.classList.remove("visible");else{var c=tUc.get(a.badgeType)||"";if(c){var d=this.appearance.getTheme();c="https://www.gstatic.com/people/peoplekit/icons/"+(sUc.get(d)||"light_theme")+"/"+c+".svg"}else c="";a=uUc.get(a.badgeType)||"";d=tq(b,"m6fZne");c&&(d.src=c);d.alt=a;b.classList.add("visible")}};f.getAllIds=function(){return[]};f.updateWaldo=function(){};f.updateHubAvailabilityDot=function(){};
f.getSupportedIntelligenceFeatures=function(){return[]};f.initializeIntelligence=function(){};
var vUc=function(a){a=k(Array.from(a.root.querySelectorAll('[peoplekit-id="IHgMKc"]')));for(var b=a.next(),c={};!b.done;c={$jscomp$loop$prop$img$2378:c.$jscomp$loop$prop$img$2378,$jscomp$loop$prop$src$2376:c.$jscomp$loop$prop$src$2376,$jscomp$loop$prop$imageRoot$2380:c.$jscomp$loop$prop$imageRoot$2380,$jscomp$loop$prop$backupSrc$2379:c.$jscomp$loop$prop$backupSrc$2379},b=a.next())c.$jscomp$loop$prop$imageRoot$2380=b.value,c.$jscomp$loop$prop$img$2378=tq(c.$jscomp$loop$prop$imageRoot$2380,"HiaYvf"),
b=gUc(c.$jscomp$loop$prop$img$2378,"preloadSrc"),c.$jscomp$loop$prop$src$2376=gUc(c.$jscomp$loop$prop$img$2378,"src"),c.$jscomp$loop$prop$backupSrc$2379=gUc(c.$jscomp$loop$prop$img$2378,"backupSrc"),djb(c.$jscomp$loop$prop$src$2376)?c.$jscomp$loop$prop$img$2378.src=c.$jscomp$loop$prop$src$2376:djb(b)?(c.$jscomp$loop$prop$img$2378.src=b,oo(function(d){return function(){d.$jscomp$loop$prop$img$2378.src=d.$jscomp$loop$prop$src$2376}}(c),0)):(c.$jscomp$loop$prop$imageRoot$2380.classList.add("isLoading"),
c.$jscomp$loop$prop$img$2378.onload=function(d){return function(){d.$jscomp$loop$prop$imageRoot$2380.classList.remove("isLoading")}}(c),c.$jscomp$loop$prop$img$2378.onerror=function(d){return function(){d.$jscomp$loop$prop$img$2378.getAttribute("src")===d.$jscomp$loop$prop$backupSrc$2379?(d.$jscomp$loop$prop$img$2378.onerror=null,d.$jscomp$loop$prop$imageRoot$2380.classList.remove("isLoading"),d.$jscomp$loop$prop$imageRoot$2380.classList.add("isNotLoaded")):d.$jscomp$loop$prop$img$2378.src=d.$jscomp$loop$prop$backupSrc$2379}}(c),
c.$jscomp$loop$prop$img$2378.src=c.$jscomp$loop$prop$src$2376)};var Gq=function(){this.theme=this.density=0};Gq.prototype.getDensity=function(){return this.density};Gq.prototype.setDensity=function(a){this.density=a};Gq.prototype.getTheme=function(){return this.theme};Gq.prototype.setTheme=function(a){this.theme=a};var Lq=function(a){this.dialog=a};Lq.prototype.subscribeToAction=function(a){this.dialog.subscribeToAction(a)};Lq.prototype.dispatchAction=function(a){this.dialog.dispatchAction(a)};Lq.prototype.getRoot=function(){return this.dialog.getRoot()};Lq.prototype.dispose=function(){this.dialog.dispose()};var d3=function(a){this.delegate=a};f=d3.prototype;f.getAllIds=function(){return this.delegate.getAllIds()};f.toggleSelection=function(){this.delegate.toggleSelection()};f.activate=function(){this.delegate.activate()};f.deactivate=function(){this.delegate.deactivate()};f.spotlight=function(){this.delegate.spotlight()};f.unspotlight=function(){this.delegate.unspotlight()};f.getRoot=function(){return this.delegate.getRoot()};f.getSelection=function(){return this.delegate.getSelection()};
f.onKeyDown=function(a){this.delegate.onKeyDown(a)};f.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};f.updateWaldo=function(a,b){this.delegate.updateWaldo(a,b)};f.updateHubAvailabilityDot=function(a,b){this.delegate.updateHubAvailabilityDot(a,b)};f.getSupportedIntelligenceFeatures=function(){return this.delegate.getSupportedIntelligenceFeatures()};f.initializeIntelligence=function(){this.delegate.initializeIntelligence()};f.addTag=function(a){this.delegate.addTag(a)};
f.setMetaIcon=function(a){this.delegate.setMetaIcon(a)};f.dispose=function(){this.delegate.dispose()};var Qq=function(a,b,c,d,e){this.delegate=a;var g=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=tq(a.getRoot(),"QL45qe");this.eventHandler=vq(this);this.eventHandler.listen(document,"click",function(h){g.contextMenuContainer.contains(h.target)||wUc(g)});this.eventHandler.listen(document,"keydown",function(h){if(g.contextMenu)g.contextMenu.onKeyDown(new a3(h))})};
T(Qq,d3);Qq.prototype.onKeyDown=function(a){if(this.contextMenu)this.contextMenu.onKeyDown(a);else d3.prototype.onKeyDown.call(this,a)};
Qq.prototype.onContextMenu=function(a,b){var c=this;a.stopPropagation();a.preventDefault();this.activate();this.contextMenu&&wUc(this);this.contextMenu=Rib(this.contextMenuContainer,this.getRoot(),this.ariaParent,this.appearanceConfig);a=this.appearanceConfig.getTheme();this.contextMenu.append(uib(a));iUc(this.contextMenu,function(d){switch(d.id){case "ENOWEf":2>c.groupMembers.length?xUc(c):yUc(c);break;default:throw Error("Ce`"+d.id);}wUc(c)});jUc(this.contextMenu,function(){wUc(c);b()});this.contextMenu.show();
return function(){wUc(c)}};Qq.prototype.dispose=function(){this.eventHandler.removeAll();d3.prototype.dispose.call(this)};
var xUc=function(a){zUc(a);a.dispatcher.notify(8);a.hideConfirmationDialog=ojb(a.getRoot().ownerDocument.body,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));zUc(a)})},zUc=function(a){var b;null==(b=a.hideConfirmationDialog)||b.dispose();a.hideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())},yUc=function(a){AUc(a);
a.dispatcher.notify(8);a.hideGroupErrorDialog=bjb(a.getRoot().ownerDocument.body,a.appearanceConfig);a.hideGroupErrorDialog.subscribeToAction(function(){AUc(a)})},AUc=function(a){var b;null==(b=a.hideGroupErrorDialog)||b.dispose();a.hideGroupErrorDialog=void 0;a.dispatcher.notify(9,a.getRoot())},wUc=function(a){var b;null==(b=a.contextMenu)||b.dispose();a.contextMenu=void 0;a.dispatcher.notify(7,a.getRoot())};var ujb=function(a){a=a.memberCount;return(new Ajc("{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)},tjb=function(a){a=a.memberNames;Array.isArray(a);return Yyc(a).join(", ")};var sjb=rq.getInstance();var wjb=rq.getInstance();var e3=function(a){this.internalArray_=m(a)};T(e3,p);e3.prototype.getOccupiedUntil=function(){return X(this,Nh,2)};e3.prototype.getNextAvailable=function(){return X(this,Nh,3)};e3.prototype.getCommittedUntil=function(){return X(this,Nh,4)};e3.prototype.toObject=function(){return BUc(this)};var BUc=function(a){if(null!=a)return r(a),{eventSummary:U(a,1),occupiedUntil:Lt(a.getOccupiedUntil()),nextAvailable:Lt(a.getNextAvailable()),committedUntil:Lt(a.getCommittedUntil())}};var f3=function(a){this.internalArray_=m(a)};T(f3,p);f3.prototype.getOccupiedUntil=function(){return X(this,Nh,1)};f3.prototype.getCommittedUntil=function(){return X(this,Nh,3)};f3.prototype.getNextAvailable=function(){return X(this,Nh,2)};f3.prototype.toObject=function(){return CUc(this)};var CUc=function(a){if(null!=a)return r(a),{occupiedUntil:Lt(a.getOccupiedUntil()),committedUntil:Lt(a.getCommittedUntil()),nextAvailable:Lt(a.getNextAvailable())}};var g3=function(a){this.internalArray_=m(a)};T(g3,p);g3.prototype.getOccupiedUntil=function(){return X(this,Nh,3)};g3.prototype.getCommittedUntil=function(){return X(this,Nh,5)};g3.prototype.getNextAvailable=function(){return X(this,Nh,4)};g3.prototype.toObject=function(){return DUc(this)};var DUc=function(a){if(null!=a)return r(a),{eventSummary:U(a,1),inMeetingsUntil:Lt(X(a,Nh,2)),occupiedUntil:Lt(a.getOccupiedUntil()),committedUntil:Lt(a.getCommittedUntil()),nextAvailable:Lt(a.getNextAvailable())}};var EUc=function(a){this.internalArray_=m(a)};T(EUc,p);EUc.prototype.toObject=function(){return FUc(this)};var FUc=function(a){if(null!=a)return r(a),{}};var h3=function(a){this.internalArray_=m(a)};T(h3,p);h3.prototype.getComeBackTime=function(){return X(this,Nh,1)};h3.prototype.getCommittedUntil=function(){return X(this,Nh,3)};h3.prototype.toObject=function(){return GUc(this)};var GUc=function(a){if(null!=a)return r(a),{comeBackTime:Lt(a.getComeBackTime()),eventSummary:U(a,2),committedUntil:Lt(a.getCommittedUntil())}};var HUc=function(a){this.internalArray_=m(a)};T(HUc,p);HUc.prototype.getComeBackTime=function(){return X(this,Nh,2)};HUc.prototype.toObject=function(){return IUc(this)};var IUc=function(a){if(null!=a)return r(a),{comeBackTime:Lt(a.getComeBackTime())}};var i3=function(a){this.internalArray_=m(a)};T(i3,p);i3.prototype.hasOutsideWorkingHours=function(){return ak(this,HUc,3,j3)};i3.prototype.hasOutOfOffice=function(){return ak(this,h3,4,j3)};var j3=[2,3,4,5,6,7];i3.prototype.toObject=function(){return JUc(this)};var JUc=function(a){if(null!=a)return r(a),{inactive:FUc(ck(a,EUc,2,j3)),doNotDisturb:CUc(ck(a,f3,7,j3)),outsideWorkingHours:IUc(ck(a,HUc,3,j3)),outOfOffice:GUc(ck(a,h3,4,j3)),inMeeting:DUc(ck(a,g3,5,j3)),calendarBusy:BUc(ck(a,e3,6,j3))}};var KUc=function(a){this.internalArray_=m(a)};T(KUc,p);KUc.prototype.getTimeZone=function(){return U(this,1)};KUc.prototype.setTimeZone=function(a){return wj(this,1,a)};KUc.prototype.toObject=function(){return LUc(this)};var LUc=function(a){if(null!=a)return r(a),{timeZone:U(a,1)}};var MUc=function(a){this.internalArray_=m(a)};T(MUc,p);MUc.prototype.toObject=function(){return NUc(this)};var NUc=function(a){if(null!=a)return r(a),{nextCommitmentTime:Lt(X(a,Nh,1)),nextCommitmentStatus:JUc(X(a,i3,2))}};var OUc=function(a){this.internalArray_=m(a)};T(OUc,p);f=OUc.prototype;f.getStartTime=function(){return X(this,Nh,1)};f.setStartTime=function(a){hj(this,Nh,1,a)};f.getEndTime=function(){return X(this,Nh,2)};f.setEndTime=function(a){hj(this,Nh,2,a)};f.toObject=function(){return PUc(this)};var PUc=function(a){if(null!=a)return r(a),{startTime:Lt(a.getStartTime()),endTime:Lt(a.getEndTime())}};var QUc=function(a){this.internalArray_=m(a)};T(QUc,p);QUc.prototype.getTimeRange=function(){return X(this,OUc,1)};QUc.prototype.toObject=function(){return RUc(this)};var RUc=function(a){if(null!=a)return r(a),{timeRange:PUc(a.getTimeRange())}};var SUc=function(a){this.internalArray_=m(a)};T(SUc,p);SUc.prototype.getLatitude=function(){return rj(this,1)};SUc.prototype.getLongitude=function(){return rj(this,2)};SUc.prototype.toObject=function(){return TUc(this)};var TUc=function(a){if(null!=a)return r(a),{latitude:rj(a,1),longitude:rj(a,2)}};var k3=function(a){this.internalArray_=m(a)};T(k3,p);k3.prototype.getLocation=function(){return U(this,2)};k3.prototype.getLabel=function(){return U(this,4)};k3.prototype.setLabel=function(a){return wj(this,4,a)};k3.prototype.toObject=function(){return UUc(this)};var UUc=function(a){if(null!=a)return r(a),{location:U(a,2),geoCoordinates:TUc(X(a,SUc,3)),label:U(a,4)}};var VUc=function(a){this.internalArray_=m(a)};T(VUc,p);VUc.prototype.toObject=function(){return WUc(this)};var WUc=function(a){if(null!=a)return r(a),{}};var XUc=function(a){this.internalArray_=m(a)};T(XUc,p);XUc.prototype.getLabel=function(){return U(this,4)};XUc.prototype.setLabel=function(a){return wj(this,4,a)};XUc.prototype.toObject=function(){return YUc(this)};var YUc=function(a){if(null!=a)return r(a),{experimentalBuildingId:U(a,1),experimentalDeskId:U(a,2),experimentalFloorId:U(a,3),label:U(a,4)}};var ZUc=function(a){this.internalArray_=m(a)};T(ZUc,p);var $Uc=[1,2,3];ZUc.prototype.toObject=function(){return aVc(this)};var aVc=function(a){if(null!=a)return r(a),{homeLocation:WUc(ck(a,VUc,1,$Uc)),customLocation:UUc(ck(a,k3,2,$Uc)),officeLocation:YUc(ck(a,XUc,3,$Uc))}};var bVc=function(a){this.internalArray_=m(a)};T(bVc,p);bVc.prototype.getLocation=function(){return X(this,ZUc,2)};bVc.prototype.toObject=function(){return cVc(this)};var cVc=function(a){if(null!=a)return r(a),{location:aVc(a.getLocation())}};var dVc=function(a){this.internalArray_=m(a)};T(dVc,p);dVc.prototype.toObject=function(){return eVc(this)};var eVc=function(a){if(null!=a)return r(a),{workingElsewhere:cVc(X(a,bVc,1)),upcomingOoo:RUc(X(a,QUc,2)),localTime:LUc(X(a,KUc,3)),upcomingCommitmentContext:NUc(X(a,MUc,4))}};var fVc=function(a){this.internalArray_=m(a)};T(fVc,p);f=fVc.prototype;f.getTimeRange=function(){return X(this,OUc,1)};f.getStatus=function(){return X(this,i3,2)};f.setStatus=function(a){return hj(this,i3,2,a)};f.hasStatus=function(){return Nj(this,i3,2)};f.toObject=function(){return gVc(this)};var gVc=function(a){if(null!=a)return r(a),{timeRange:PUc(a.getTimeRange()),status:JUc(a.getStatus()),contexts:eVc(X(a,dVc,3))}};var hVc=function(a){this.internalArray_=m(a)};T(hVc,p);hVc.prototype.getDayOfWeek=function(){return Rh(this,1)};hVc.prototype.toObject=function(){return iVc(this)};var iVc=function(a){if(null!=a)return r(a),{dayOfWeek:Rh(a,1),periodStartMinutes:Rh(a,2),periodEndMinutes:Rh(a,3)}};var jVc=function(a){this.internalArray_=m(a)};T(jVc,p);jVc.repeatedFields_=[1];jVc.prototype.toObject=function(){return kVc(this)};var kVc=function(a){if(null!=a)return r(a),{availableTimeList:Ub(kj(a,hVc,1),iVc)}};var lVc=function(a){this.internalArray_=m(a)};T(lVc,p);lVc.repeatedFields_=[1];lVc.prototype.toObject=function(){return mVc(this)};var mVc=function(a){if(null!=a)return r(a),{availabilitiesList:Ub(kj(a,fVc,1),gVc),workingHours:kVc(X(a,jVc,3)),nextPollTime:Lt(X(a,Nh,2))}};var nVc=new BB(JY.WEEKDAY_MONTH_DAY_MEDIUM),oVc=new BB(7);new BB(JY.WEEKDAY_MONTH_DAY_MEDIUM);var pVc=new Map([[0,2],[1,1],[2,3],[3,4],[4,2],[5,5]]);var qVc=function(a){var b=a.iconUrl,c=a.altText,d=a.persistentText;a=a.styleClass;return Fq('<div class="'+Iq("peoplekitComponentsTagTag")+" "+(a?Iq(a):"")+'" peoplekit-id="'+Iq("mQXP")+'">'+(b?'<img class="'+Iq("peoplekitComponentsTagIcon")+'" src="'+Iq(nzc(b))+'" alt="'+Iq(c)+'"><div'+(d?"":' class="'+Iq("peoplekitComponentsTagUnrollingAltText")+'"')+'><div class="'+Iq("peoplekitComponentsTagText")+'">'+Jq(c)+"</div></div>":'<div class="'+Iq("peoplekitComponentsTagText")+'">'+Jq(c)+"</div>")+"</div>")};var yjb=function(a,b,c,d,e,g){var h=this;this.root=a;this.avatar=e;this.features=g;this.isIntelligenceInitialized=this.isOutOfOffice=!1;rVc(this,{tags:d});Xhb(a,b.getPrimaryTarget());c.getResultDecorationConfigRequestCallback()(b,function(l){rVc(h,l)})};f=yjb.prototype;f.getAllIds=function(){return[]};f.toggleSelection=function(){};f.activate=function(){this.root.classList.add("isActive")};f.deactivate=function(){this.root.classList.remove("isActive")};f.spotlight=function(){};f.unspotlight=function(){};
f.getRoot=function(){return this.root};f.getSelection=function(){throw Error("Ee");};f.onKeyDown=function(){};f.onContextMenu=function(){return function(){}};
f.updateWaldo=function(a){if(this.getSupportedIntelligenceFeatures().includes(1)){var b=tq(this.root,"Z306Oe");if(this.isOutOfOffice=4===a.getCurrentStatus()){if(4!==a.getCurrentStatus())throw Error("De");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 "+oVc.format(c):"Out of office - back on "+nVc.format(c);kC(b,String(c));this.root.classList.add("isOutOfOffice")}else kC(b,
""),this.root.classList.remove("isOutOfOffice")}};f.updateHubAvailabilityDot=function(a){this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:pVc.get(a.getType()||0)||2})};f.getSupportedIntelligenceFeatures=function(){return this.features};f.addTag=function(a){var b=tq(this.root,"x00ATb");a:switch(a.style||0){case 1:var c="isWarning";break a;default:c=""}a=Vo(qVc,Object.assign({},a,{styleClass:c}));b.appendChild(a)};
f.setMetaIcon=function(a){var b=Array.from(this.root.querySelectorAll('[peoplekit-id="SC3Htd"]'))[0];b&&(b.src=a.iconUrl,b.alt=a.altText)};var rVc=function(a,b){for(var c=k(b.tags||[]),d=c.next();!d.done;d=c.next())a.addTag(d.value);b.metaIcon&&a.setMetaIcon(b.metaIcon)};yjb.prototype.initializeIntelligence=function(){this.isIntelligenceInitialized||(this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:2}),this.isIntelligenceInitialized=!0)};yjb.prototype.dispose=function(){};var Tjb=function(a,b,c,d,e){this.delegate=zjb(a,b,c,d,e,[2]);this.root=a;this.root.setAttribute("aria-selected","true");this.id=b.getPrimaryTarget().getId();this.selection=new RSc(tr)};T(Tjb,d3);Tjb.prototype.getAllIds=function(){return[this.id]};Tjb.prototype.getSelection=function(){return this.selection};var sVc=function(a,b,c,d,e,g,h,l){d=void 0===d?"":d;e=void 0===e?!1:e;return Fq('<div role="option" class="'+Iq("peoplekitComponentsResultlistitemResultListItem")+" "+Iq(d)+'" id="'+Iq(a)+'" peoplekit-id="'+Iq(a)+'" aria-disabled="'+Iq(e)+'" aria-selected="false"><div class="'+Iq("peoplekitComponentsResultlistitemResultListItemRow")+'"><div class="'+Iq("peoplekitComponentsResultlistitemLeft")+'" data-hovercard-id="'+Iq(b)+'" data-name="'+Iq(Kq(c))+'">'+Jq(g)+'</div><div class="'+Iq("peoplekitComponentsResultlistitemCenter")+
'">'+Jq(h)+'</div><div class="'+Iq("peoplekitComponentsResultlistitemRight")+'" peoplekit-id="'+Iq("QChpEe")+'">'+Jq(l)+'</div></div><div peoplekit-id="'+Iq("Z306Oe")+'" class="'+Iq("peoplekitComponentsResultlistitemOutOfOffice")+'"></div><div peoplekit-id="'+Iq("QL45qe")+'"></div></div>')},tVc=function(a,b,c,d){return Fq('<div class="'+Iq("peoplekitComponentsResultlistitemLabelContainer")+'"><div class="'+Iq("peoplekitComponentsResultlistitemLabel")+" "+Iq("peoplekitComponentsResultlistitemLabelRow")+
'"><div class="'+Iq("peoplekitComponentsResultlistitemLabelText")+'" data-hovercard-id="'+Iq(b)+'" data-name="'+Iq(Kq(a))+'" translate="no">'+Jq(Kq(a))+'</div><div peoplekit-id="'+Iq("x00ATb")+'" class="'+Iq("peoplekitComponentsResultlistitemTags")+'"></div></div>'+(c?'<div class="'+Iq("peoplekitComponentsResultlistitemSublabel")+" "+Iq("peoplekitComponentsResultlistitemLabelRow")+'"><div class="'+Iq("peoplekitComponentsResultlistitemSublabelText")+'" data-hovercard-id="'+Iq(b)+'" data-name="'+Iq(Kq(a))+
'"'+(d?"":' translate="no"')+">"+Jq(Kq(c))+"</div></div>":"")+"</div>")},uVc=function(a){return Fq('<div class="'+Iq("peoplekitComponentsResultlistitemAvatar")+'"><div class="'+Iq("peoplekitComponentsResultlistitemAvatarContainer")+'" peoplekit-id="'+Iq("d6MZcd")+'"></div>'+(a?Jq(a):"")+"</div>")},vVc=function(){var a=Fq,b='<div class="'+Iq("peoplekitComponentsResultlistitemAvatarSelectionOverlay")+'"><div class="'+Iq("peoplekitComponentsResultlistitemWhiteCheck")+'">';var c=Fq('<svg viewBox="0 0 24 24" class="'+
(Iq("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(uVc(GS(b+c+"</div></div>")))},wVc=function(){return Fq('<img class="'+Iq("peoplekitComponentsResultlistitemMetaIcon")+'" peoplekit-id="'+Iq("SC3Htd")+'" alt="" src=""/>')};var Sjb=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.disableReason,g=a.allowSublabelTranslation;return Fq(sVc(a.id,b,c,"isDisabled "+a.densityClass,!0,GS(""+uVc()),GS(""+tVc(c,b,d,g)),GS('<div class="'+Iq("peoplekitComponentsResultlistitemDisabledDisableReasonContainer")+'">'+Jq(e)+"</div>")))};var Rq=function(a){this.delegate=a;var b=this;this.eventHandler=vq(this);this.eventHandler.listen(this.getRoot(),"click",function(c){b.onClick(c)})};T(Rq,d3);Rq.prototype.onClick=function(){this.toggleSelection()};var Ajb=function(a,b){this.internalResult=a;this.displayNameOverride=b;this.forceDisplayNameOverride=!1;a=this.internalResult.getTargetList()[0];if(!a)throw new RangeError("Fe");this.target=a;a=this.target.getLoggingToken();b=this.target.getId();this.internalSelectionToken=new LSc(b,this.displayNameOverride,this.forceDisplayNameOverride,a)};f=Ajb.prototype;f.id=function(){return this.target.getId()};f.selectionToken=function(){return this.internalSelectionToken};f.targets=function(){return[this.target]};
f.result=function(){return this.internalResult};f.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};f.getDisplayNameWithOverrideApplied=function(){return this.forceDisplayNameOverride?this.displayNameOverride:this.displayNameOverride||this.internalResult.getDisplayName()};f.isPlaceholder=function(){return!1};var xVc=function(a,b,c,d,e,g){this.delegate=zjb(a,b,d,e,g,[]);this.root=a;this.result=b;this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=new RSc(tr)};T(xVc,d3);xVc.prototype.getAllIds=function(){return[this.id]};xVc.prototype.toggleSelection=function(){for(var a=k(this.result.getMemberList()),b=a.next();!b.done;b=a.next())b=Bjb(b.value),this.selectionsState.select(b);this.root.dispatchEvent(Cib("pk-select",this.root))};xVc.prototype.getSelection=function(){return this.selection};var yVc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return Fq(sVc(a.id,b,c,a.densityClass,void 0,GS(""+uVc()),GS(""+tVc(c,b,d,e)),GS(""+wVc())))};var Sq=function(a,b){this.delegate=a;var c=this;this.selectionsState=b;this.id=a.getAllIds()[0];b.get(this.id)&&zVc(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){zVc(c,d)};AVc(this.selectionsState,this.onDeselectionCallback);BVc(this.selectionsState,this.onSelectionCallback)};T(Sq,d3);
Sq.prototype.toggleSelection=function(){if(this.selectionsState.get(this.id)){var a=this.getRoot();a=Cib("pk-deselect",a)}else a=this.getRoot(),a=Cib("pk-select",a);this.getRoot().dispatchEvent(a);this.selectionsState.toggle(this.getSelection(),1)};var zVc=function(a,b){b.id().equals(a.id)&&(a.getRoot().classList.add("isSelected"),a.getRoot().setAttribute("aria-selected","true"))};Sq.prototype.dispose=function(){this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback)};var Qjb=function(a,b,c,d,e,g){this.delegate=zjb(a,b,d,e,g,[2]);this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||Bjb(b,b.getDisplayName())};T(Qjb,d3);Qjb.prototype.getAllIds=function(){return[this.id]};Qjb.prototype.getSelection=function(){return this.selection};var Pjb=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return Fq(sVc(a.id,b,c,a.densityClass,void 0,GS(""+vVc()),GS(""+tVc(c,b,d,e)),GS(""+wVc())))};var CVc=function(a,b,c,d,e,g){this.delegate=zjb(a,b,d,e,g,[]);this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||Bjb(b)};T(CVc,d3);CVc.prototype.getAllIds=function(){return[this.id]};CVc.prototype.getSelection=function(){return this.selection};var DVc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return Fq(sVc(a.id,b,c,a.densityClass,void 0,GS(""+vVc()),GS(""+tVc(c,b,d,e)),GS(""+wVc())))};var EVc=function(a){return"To unhide this suggestion, press "+a.shortcutKey+" + Enter."};var Hjb=function(a,b,c,d,e,g){var h=this;this.root=a;this.enabledIcon=b;this.disabledIcon=c;this.tooltip=d;this.disableNavigationFocus=e;this.internalIsDisabled=!1;this.eventHandler=vq(this);this.onClick=g;this.eventHandler.listen(this.root,"click",function(l){var q;null==(q=h.onClick)||q.call(h,l)});this.disableNavigationFocus?this.root.tabIndex=-1:(this.eventHandler.listen(this.root,"focus",function(){h.activate()}),this.eventHandler.listen(this.root,"blur",function(){h.deactivate()}))};f=Hjb.prototype;
f.getRoot=function(){return this.root};f.enable=function(){this.root.disabled=!1;var a=this.root.querySelector("img");a&&(a.src=this.enabledIcon);this.internalIsDisabled=!1};f.disable=function(){this.root.disabled=!0;var a=this.root.querySelector("img");a&&this.disabledIcon&&(a.src=this.disabledIcon);this.internalIsDisabled=!0};f.isDisabled=function(){return this.internalIsDisabled};
f.dispose=function(){this.eventHandler.removeAll();this.onClick=void 0;if(this.tooltip){var a=this.tooltip;a.anchor&&(FVc(a),a.eventHandler.removeAll(),a.isDisplayedInternal=!1,a.anchor=void 0,a.showTimeout=void 0,a.hideTimeout=void 0)}};f.activate=function(){this.root.classList.add("isFocused");this.tooltip&&GVc(this.tooltip)};f.deactivate=function(){this.root.classList.remove("isFocused");this.tooltip&&FVc(this.tooltip)};f.isActive=function(){return this.root.classList.contains("isFocused")};var HVc=0;var Djb=function(a){var b=a.icon,c=a.ariaLabel,d="";c=(a=a.tooltipLabel?"tt-c"+HVc++:"")?' data-tooltip-id="'+Iq(a)+'" aria-labelledby="'+Iq(a)+'"':c?' aria-label="'+Iq(c)+'"':"";d+='<button class="'+Iq("peoplekitComponentsButtonIconIconButton")+'"'+c+">"+Fq('<span><img src="'+Iq(nzc(b))+'" draggable="false" aria-hidden="true" alt="" class="'+Iq("peoplekitComponentsButtonIconAdaptableIcon")+'"/></span>')+"</button>";return Fq(d)};var IVc=["mouseover","focusin","touchstart"],JVc=["mouseleave","blur","touchend","click"],Fjb=function(a,b,c){var d=this;this.tooltip=a;this.showDelay=void 0===b?500:b;this.hideDelay=void 0===c?300:c;this.isDisplayedInternal=!1;this.eventHandler=vq(this);this.tooltipService=Oib(this.tooltip,function(){FVc(d)},{anchorCorner:3,popupCorner:2})},Gjb=function(a,b){if(a.anchor)throw Error("Ge");a.anchor=b;for(var c=k(IVc),d=c.next();!d.done;d=c.next())a.eventHandler.listen(b,d.value,function(){KVc(a)});
LVc(a)},GVc=function(a){if(!a.anchor)throw Error("He");a.isDisplayedInternal||(a.tooltipService.show(a.anchor),window.clearTimeout(a.showTimeout),a.showTimeout=void 0,a.isDisplayedInternal=!0)},FVc=function(a){a.isDisplayedInternal&&(a.tooltipService.hide(),window.clearTimeout(a.hideTimeout),a.hideTimeout=void 0,a.isDisplayedInternal=!1)};Fjb.prototype.getRoot=function(){return this.tooltip};
var KVc=function(a){void 0===a.showTimeout&&(window.clearTimeout(a.hideTimeout),a.hideTimeout=void 0,a.showTimeout=window.setTimeout(function(){GVc(a)},a.showDelay))},MVc=function(a){void 0===a.hideTimeout&&(window.clearTimeout(a.showTimeout),a.showTimeout=void 0,a.hideTimeout=window.setTimeout(function(){FVc(a)},a.hideDelay))},LVc=function(a){if(a.anchor){for(var b=k(JVc),c=b.next();!c.done;c=b.next())a.eventHandler.listen(a.anchor,c.value,function(){MVc(a)});a.eventHandler.listen(window,"touchmove",
function(){MVc(a)});a.eventHandler.listen(window,"focus",function(d){d.target!==a.anchor&&MVc(a)});a.eventHandler.listen(window,"blur",function(d){d.target===window&&FVc(a)})}};var Ejb=function(a){var b=a.label,c=a.ariaLabel,d=a.classes,e=a.attributes,g=Fq;a='<div id="'+Iq(a.id)+'" peoplekit-id="'+Iq("suEOdc")+'" class="'+Iq("peoplekitComponentsTooltipImplTooltip")+(d?" "+Iq(d):"")+'" style="display: none;" aria-hidden="true"'+(c?' aria-label="'+Iq(c)+'"':"");e?(FS(e,Ryc)?e=e.getContent():(e=String(e),e=rzc.test(e)?e:"zSoyz"),FS(e,Ryc)&&(e=e.getContent()),e=(e&&!e.startsWith(" ")?" ":"")+e):e="";return g(a+e+">"+Jq(b)+"</div>")};var Jjb=function(a,b,c){this.delegate=a;for(var d=this,e=tq(a.getRoot(),"QChpEe");e.firstChild;)e.removeChild(e.firstChild);this.secondaryActionButton=Ijb(e,Object.assign({},{density:b.getDensity()},c));this.buttonRoot=this.secondaryActionButton.getRoot();this.buttonRoot.style.display="none";this.buttonRoot.id=a.getRoot().id+"-2ab";pq(this.buttonRoot,163534,["impression","pk-click"]);this.secondaryActionButton.onClick=function(g){var h;null==(h=c.onClick)||h.call(c,g);d.buttonRoot.dispatchEvent(Dq(d.buttonRoot))};
this.eventHandler=vq(this);this.eventHandler.listen(a.getRoot(),"mouseover",this.displaySecondaryActionButton);this.eventHandler.listen(a.getRoot(),"mouseleave",this.hideSecondaryActionButton)};T(Jjb,d3);f=Jjb.prototype;f.activate=function(){this.getRoot().classList.add("isActive");this.displaySecondaryActionButton()};f.deactivate=function(){this.getRoot().classList.remove("isActive");this.secondaryActionButton.deactivate();this.hideSecondaryActionButton()};
f.onKeyDown=function(a){var b=13===a.event.keyCode;if(b&&a.event.platformModifierKey||b&&this.secondaryActionButton.isActive())this.buttonRoot.click(),a.stopPropagation(),a.preventDefault()};f.dispose=function(){this.eventHandler.removeAll();this.secondaryActionButton.dispose();d3.prototype.dispose.call(this)};f.displaySecondaryActionButton=function(){this.buttonRoot.style.display=""};
f.hideSecondaryActionButton=function(){this.getRoot().classList.contains("isActive")||(this.buttonRoot.style.display="none")};var NVc={LIGHT_THEME:"https://www.gstatic.com/people/peoplekit/icons/light_theme/visibility_off_grey700.svg",DARK_THEME:"https://www.gstatic.com/people/peoplekit/icons/dark_theme/visibility_off_grey200.svg"},OVc=EVc({shortcutKey:"Ctrl"}),PVc=EVc({shortcutKey:"\u2318"}),Mjb=function(a,b,c,d){var e=0===b.getTheme()?NVc.LIGHT_THEME:NVc.DARK_THEME,g=qaa()?PVc:OVc;d3.call(this,Kjb(a,b,{icon:e,tooltipLabel:"Unhide suggestion",ariaLabel:g,onClick:function(l){h.onButtonClick(l)}},d));var h=this;this.appearanceConfig=
b;this.clientConfig=c;this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;cN(this.getRoot(),"button")};T(Mjb,d3);Mjb.prototype.onButtonClick=function(a){QVc(this);a.stopPropagation()};
var QVc=function(a){a.unhideConfirmationDialog&&RVc(a);a.dispatcher.notify(8);a.unhideConfirmationDialog=ojb(a.getRoot().ownerDocument.body,a.getSelection(),a.appearanceConfig,1);a.unhideConfirmationDialog.subscribeToAction(function(b){1===b&&a.dispatcher.notify(4,a.getAllIds());RVc(a)})},RVc=function(a){var b;null==(b=a.unhideConfirmationDialog)||b.dispose();a.unhideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())};var SVc=function(a){this.internalArray_=m(a)};T(SVc,p);f=SVc.prototype;f.getIdCase=function(){return Mi(this,l3)};f.getProfileId=function(){return ot(this,1,l3)};f.setProfileId=function(a){return yo(this,1,l3,a)};f.hasProfileId=function(){return null!=Io(this,1,l3)};f.getEmail=function(){return ot(this,2,l3)};f.setEmail=function(a){return yo(this,2,l3,a)};f.hasEmail=function(){return null!=Io(this,2,l3)};f.getPhone=function(){return ot(this,3,l3)};f.setPhone=function(a){return yo(this,3,l3,a)};
f.hasPhone=function(){return null!=Io(this,3,l3)};var l3=[1,2,3];SVc.prototype.toObject=function(){return TVc(this)};var TVc=function(a){if(null!=a)return r(a),{profileId:n(Io(a,1,l3)),email:n(Io(a,2,l3)),phone:n(Io(a,3,l3))}};var m3=function(a){this.internalArray_=m(a)};T(m3,p);m3.prototype.getHideType=function(){return Er(this,1)};m3.prototype.getHiddenKeysList=function(){return kj(this,SVc,3)};m3.repeatedFields_=[3];m3.prototype.toObject=function(){return UVc(this)};var UVc=function(a){if(null!=a)return r(a),{hideType:n(Er(a,1)),hiddenKeysList:Ub(a.getHiddenKeysList(),TVc),familyStatus:n(Er(a,2)),birthdayStatus:n(Er(a,4))}};var Slb=Tb(417869137,{peopleStackPersonData:0},m3,UVc);UOc[417869137]=Slb;var Ljb=function(){};Ljb.prototype.filterResult=function(a){var b,c;return 1===(null==(b=a.getExtendedData())?void 0:null==(c=b.getExtension(Slb))?void 0:c.getHideType())?a:null};Ljb.prototype.reset=function(){};var Vjb=new Map([[1,Rjb()],[4,Rjb()],[5,Ujb(1)],[6,Ujb(2)],[2,function(a){var b=a.result;var c=a.selectionsState;var d=a.resultConfig,e=a.appearanceConfig,g=a.resultCustomization,h=xjb(b,d,g,a.isRightToLeft,Tj(a.clientConfig.internal,6,!1),Mq(e.getDensity())),l=Vo(DVc,h);pq(l,25285,["impression","pk-select","pk-deselect"],[Cjb(b.getPrimaryTarget().getLoggingToken())]);var q=tq(l,"d6MZcd"),v=pjb(e.getDensity()),x;g=null!=(x=g.backupAvatarUrl)?x:"";e=Hq(q,h.photos,v,v,e,g);b=new CVc(l,b,c,d,h.tags,
e);c=new Rq(new Sq(b,c));return Ojb(Njb(c,a),a)}],[3,function(a){var b=a.result;var c=a.selectionsState,d=a.resultConfig,e=a.appearanceConfig,g=a.resultCustomization,h=xjb(b,d,g,a.isRightToLeft,Tj(a.clientConfig.internal,6,!1),Mq(e.getDensity())),l=Vo(yVc,h);pq(l,25285,["impression","pk-select","pk-deselect"],[Cjb(b.getPrimaryTarget().getLoggingToken())]);var q=tq(l,"d6MZcd"),v=pjb(e.getDensity()),x;g=null!=(x=g.backupAvatarUrl)?x:"";e=Hq(q,h.photos,v,v,e,g);b=new Rq(new xVc(l,b,c,d,h.tags,e));return Njb(b,
a)}]]);var fkb=function(a,b,c,d,e,g,h,l){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=h;this.ariaParent=l;this.results=[];this.intelligentCollection=g.create();this.navigatable=new JSc(new zib(this.results))};f=fkb.prototype;f.register=function(a){this.results.push(a);this.navigatable.insert(this.navigatable.size(),[a],!1);this.intelligentCollection.append([a])};
f.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())c=Wjb(c.value,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,RS(this.list.getRoot()),this.interactions,this.ariaParent),this.list.append(c.getRoot()),this.register(c)};f.clear=function(){this.list.clear();this.navigatable.clear();this.intelligentCollection.clear();for(var a=k(this.results),b=a.next();!b.done;b=a.next())b.value.dispose();this.results.length=0};f.reset=function(){this.navigatable.reset()};
f.getNavigatable=function(){return this.navigatable};f.getResultListItems=function(){return this.results};var n3=function(a){this.delegate=a};f=n3.prototype;f.getHeader=function(){return this.delegate.getHeader()};f.getActionItems=function(){return this.delegate.getActionItems()};f.dispose=function(){this.delegate.dispose()};f.getRoot=function(){return this.delegate.getRoot()};f.activate=function(){this.delegate.activate()};f.deactivate=function(){this.delegate.deactivate()};f.spotlight=function(){this.delegate.spotlight()};f.unspotlight=function(){this.delegate.unspotlight()};f.getSelection=function(){return this.delegate.getSelection()};
f.toggleSelection=function(){this.delegate.toggleSelection()};f.onKeyDown=function(a){this.delegate.onKeyDown(a)};f.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};var VVc=function(a){var b=a.id,c=a.groupName;a=a.classes;return Fq('<div class="'+Iq("peoplekitComponentsGroupingHeaderCollapsibleChevronContainer")+" "+(a?" "+Iq(a):"")+'" peoplekit-id="'+Iq("wgPSWd")+'" id="'+Iq(b)+'" aria-expanded="false" role="button" aria-label="'+Iq("To expand "+c+" group, press enter")+'"><svg class="'+Iq("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>')},
WVc=function(a){return"To "+a.action+" "+a.groupName+" group, press enter"};var Vq=function(a,b,c){this.delegate=a;var d=this;this.isCollapsed=b;this.interactionListener=c;this.eventHandler=vq(this);this.chevron=Vo(VVc,{id:gq(rq.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);tq(this.getRoot(),"QChpEe").appendChild(this.chevron);b||(this.chevron.classList.toggle("rotate"),dN(this.chevron,"expanded",!0),Hlc(this.chevron,WVc({groupName:this.getHeader(),action:"collapse"})))};T(Vq,n3);Vq.prototype.getActionItems=function(){return this.groupingHeaderActionItems};Vq.prototype.dispose=function(){this.eventHandler.removeAll();n3.prototype.dispose.call(this)};
Vq.prototype.toggleView=function(){this.isCollapsed=!this.isCollapsed;this.chevron.classList.toggle("rotate");this.interactionListener(this.isCollapsed);var a=this.isCollapsed?"expand":"collapse";dN(this.chevron,"expanded",!this.isCollapsed);Hlc(this.chevron,WVc({groupName:this.getHeader(),action:a}))};var XVc=function(a){var b=a.id,c=a.ariaLabel;a=a.classes;return Fq('<div class="'+Iq("peoplekitComponentsGroupingHeaderInfoInfoIconContainer")+" "+(a?" "+Iq(a):"")+'" peoplekit-id="'+Iq("CLghmc")+'" id="'+Iq(b)+'" aria-label="'+Iq(c)+'"><svg class="'+Iq("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 ZVc=function(a,b,c,d){this.delegate=a;var e=this;this.infoGroupConfig=b;this.appearanceConfig=c;this.infoGroupingHeaderVeIds=d;this.infoIcon=Vo(XVc,{id:gq(rq.getInstance()),ariaLabel:"For more information about "+this.getHeader()+", press enter.",classes:"TdcT2c"});tq(this.getRoot(),"xiK4Cd").appendChild(this.infoIcon);void 0!==this.infoGroupingHeaderVeIds.infoIconVeId&&pq(this.infoIcon,this.infoGroupingHeaderVeIds.infoIconVeId,["impression","pk-click"]);this.eventHandler=vq(this);this.eventHandler.listen(this.infoIcon,
"click",function(){YVc(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(g){13===g.event.keyCode&&(YVc(e),g.stopPropagation(),g.preventDefault())}})};T(ZVc,n3);
var YVc=function(a){a.infoIcon.dispatchEvent(Dq(a.infoIcon));var b=$ib({header:a.infoGroupConfig.infoDialogHeader}),c=lUc({description:a.infoGroupConfig.learnMoreMessage,learnMoreLinkUrl:a.infoGroupConfig.learnMoreUrl,learnMoreLinkText:a.infoGroupConfig.learnMoreLinkText}),d=a.getRoot().ownerDocument.activeElement,e=a.getRoot().closest('[class~="aU4VQc"]'),g=Zib(e,c,a.appearanceConfig,b),h=tq(g.getRoot(),"lh87ke");void 0!==a.infoGroupingHeaderVeIds.learnMoreLinkVeId&&pq(h,a.infoGroupingHeaderVeIds.learnMoreLinkVeId,
["impression","pk-click"]);a.eventHandler.listen(h,"click",function(){h.dispatchEvent(Dq(h))});g.subscribeToAction(function(l){2===l&&(g.dispose(),d&&d.focus())})};ZVc.prototype.getActionItems=function(){return this.groupingHeaderActionItems};ZVc.prototype.dispose=function(){this.eventHandler.removeAll();n3.prototype.dispose.call(this)};var Yjb=function(a,b){this.root=a;this.header=b};f=Yjb.prototype;f.getHeader=function(){return this.header};f.getActionItems=function(){return[]};f.dispose=function(){};f.getRoot=function(){return this.root};f.activate=function(){};f.deactivate=function(){};f.spotlight=function(){};f.unspotlight=function(){};f.getSelection=function(){throw Error("Ee");};f.toggleSelection=function(){};f.onKeyDown=function(){};f.onContextMenu=function(){return function(){}};var Xjb=function(a){var b=Fq;var c=a.id;a=a.header;c=Fq('<div class="'+Iq("peoplekitComponentsGroupingHeaderGroupingHeader")+'" id="'+Iq(c)+'" peoplekit-id="'+Iq("XLuqBd")+'"><div class="'+Iq("peoplekitComponentsGroupingHeaderGroupingHeaderRow")+'"><div class="'+Iq("peoplekitComponentsGroupingHeaderHeader")+'">'+Jq(a)+'</div><div class="'+Iq("peoplekitComponentsGroupingHeaderAction")+'"><div class="'+Iq("peoplekitComponentsGroupingHeaderActionRow")+'"><div class="'+Iq("peoplekitComponentsGroupingHeaderLeft")+
'" peoplekit-id="'+Iq("xiK4Cd")+'"></div><div class="'+Iq("peoplekitComponentsGroupingHeaderRight")+'" peoplekit-id="'+Iq("QChpEe")+'"></div></div></div></div></div>');return b(c)};var $Vc=function(a){this.delegate=a};T($Vc,n3);$Vc.prototype.spotlight=function(){var a=this.getActionItems();a.length&&(this.activeActionItemIndex=0,a[this.activeActionItemIndex].focus())};$Vc.prototype.unspotlight=function(){void 0!==this.activeActionItemIndex&&(this.getActionItems()[this.activeActionItemIndex].unfocus(),this.activeActionItemIndex=void 0)};
$Vc.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 o3=function(a){this.delegate=a};f=o3.prototype;f.append=function(a){this.delegate.append(a)};f.isInteractive=function(){return this.delegate.isInteractive()};f.getGroupName=function(){return this.delegate.getGroupName()};f.getHeader=function(){return this.delegate.getHeader()};f.getItems=function(){return this.delegate.getItems()};f.getRoot=function(){return this.delegate.getRoot()};f.dispose=function(){this.delegate.dispose()};var Yq=function(a,b){this.delegate=a;var c=this;this.listContainer=tq(this.getRoot(),"tjneg");a=a.getHeader();if(!a)throw Error("Je");this.collapsibleHeader=$jb(a,b.isInitiallyCollapsed,function(d){c.interactionListener(d)});b.isInitiallyCollapsed&&this.listContainer.classList.add("collapsed")};T(Yq,o3);Yq.prototype.isInteractive=function(){return!0};Yq.prototype.getHeader=function(){return this.collapsibleHeader};Yq.prototype.dispose=function(){this.collapsibleHeader.dispose();o3.prototype.dispose.call(this)};
Yq.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 Xq=function(a,b,c){this.delegate=a;a=a.getHeader();if(!a)throw Error("Ke");var d={};1===b.infoType&&(d={infoIconVeId:185198,learnMoreLinkVeId:185199});this.infoHeader=new ZVc(a,b,c,d)};T(Xq,o3);Xq.prototype.isInteractive=function(){return!0};Xq.prototype.getHeader=function(){return this.infoHeader};Xq.prototype.dispose=function(){this.infoHeader.dispose();o3.prototype.dispose.call(this)};var Wq=function(a,b){this.delegate=a;this.groupName=b;this.header=Zjb(b);tq(a.getRoot(),"Bm3u4d").appendChild(this.header.getRoot())};T(Wq,o3);Wq.prototype.getGroupName=function(){return this.groupName};Wq.prototype.getHeader=function(){return this.header};Wq.prototype.dispose=function(){this.header.dispose();o3.prototype.dispose.call(this)};var aWc=function(a){this.root=a;this.items=[];this.list=bib(tq(a,"tjneg"))};f=aWc.prototype;f.append=function(a){this.items.push(a);this.list.append(a.getRoot())};f.isInteractive=function(){return!1};f.getGroupName=function(){return""};f.getHeader=function(){};f.getItems=function(){return this.items};f.getRoot=function(){return this.root};f.dispose=function(){for(var a=k(this.items),b=a.next();!b.done;b=a.next())b.value.dispose();this.list.clear();this.items=[]};var p3=function(a,b,c){this.delegate=a;var d=this;this.resultListGroupConfig=b;this.navigatable=c;this.listContainer=tq(this.getRoot(),"tjneg");var e,g;this.isInitiallyCollapsed=null!=(g=null==(e=this.resultListGroupConfig.collapsibleGroupConfig)?void 0:e.isInitiallyCollapsed)?g:!1;(this.header=a.getHeader())&&this.header.getActionItems().length&&(this.header=new $Vc(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})};T(p3,o3);p3.prototype.append=function(a){this.isInitiallyCollapsed||this.navigatable.insert(this.navigatable.size(),[a],!1);o3.prototype.append.call(this,a)};p3.prototype.getHeader=function(){return this.header};p3.prototype.dispose=function(){this.mutationObserver.disconnect();o3.prototype.dispose.call(this)};
p3.prototype.onMutation=function(a){if(this.header){a=k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,"attributes"===b.type&&"class"===b.attributeName&&(b.target.classList.contains("collapsed")?this.navigatable.remove(this.getItems(),!1):(b=this.navigatable.getIndexOf(this.header),this.navigatable.insert(b+1,this.getItems(),!1)))}};var bWc=function(a){return Fq('<div id="'+Iq(a.id)+'" peoplekit-id="'+Iq("E9WxSb")+'"><div peoplekit-id="'+Iq("Bm3u4d")+'"></div><div class="'+Iq("peoplekitComponentsResultListGroupListContainer")+'" peoplekit-id="'+Iq("tjneg")+'"></div></div>')};var kkb=function(a,b,c,d,e,g,h,l){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=g;this.grouping=h;this.ariaParent=l;this.groups=new Map;this.navigatable=new JSc(new zib([]))};f=kkb.prototype;
f.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=this.grouping.getGroupId(d);var e=this.groups.get(c);d=Wjb(d,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,RS(this.list.getRoot()),this.interactions,this.ariaParent);if(c&&!e){e=this.grouping;var g=this.navigatable,h=this.appearanceConfig,l=[akb,ckb,dkb],q=gq(rq.getInstance()),v=Vo(bWc,{id:q});q=bkb();v=new aWc(v);l=k(l);for(var x=l.next();!x.done;x=l.next())x=x.value,v=x(v,e,c,
h);e=new p3(v,q,g);this.groups.set(c,e);this.list.append(e.getRoot())}e.append(d)}};f.clear=function(){this.list.clear();this.navigatable.clear();for(var a=k(this.groups.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.groups.clear()};f.reset=function(a){this.navigatable.reset();this.grouping.reset(a)};f.getNavigatable=function(){return this.navigatable};
f.getResultListItems=function(){for(var a=[],b=k(this.groups.values()),c=b.next();!c.done;c=b.next())a.push.apply(a,cd(c.value.getItems()));return a};var hkb=function(a,b,c){this.delegate=a;this.list=b;this.grouping=c;this.renderedGroups=new Set};f=hkb.prototype;f.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.grouping.getGroupId(c);if(d&&!this.renderedGroups.has(d)){var e=this.grouping.getGroupName(d);if(e&&(e=Zjb(e),this.list.append(e.getRoot()),e.getActionItems().length)){var g=this.getNavigatable();g.insert(g.size(),[e],!1)}this.renderedGroups.add(d)}this.delegate.append([c],b)}};
f.clear=function(){this.renderedGroups.clear();this.delegate.clear()};f.reset=function(a){this.grouping.reset(a);this.renderedGroups.clear();this.delegate.reset(a)};f.getNavigatable=function(){return this.delegate.getNavigatable()};f.getResultListItems=function(){return this.delegate.getResultListItems()};var ikb=function(a,b){this.delegate=a;this.interactions=b};f=ikb.prototype;f.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,this.delegate.append([c],b),this.interactions.display(c)};f.clear=function(){this.delegate.clear()};f.reset=function(a){this.delegate.reset(a)};f.getNavigatable=function(){return this.delegate.getNavigatable()};f.getResultListItems=function(){return this.delegate.getResultListItems()};var ekb=function(a){a=a.header;return Fq('<div peoplekit-id="'+Iq("aittld")+'">'+(0<a.length?'<div class="'+Iq("peoplekitUiResultlistHeader")+'">'+Jq(a)+"</div>":"")+'<div peoplekit-id="'+Iq("tjneg")+'"></div></div>')};var Skb=function(a){this.label=a};Skb.prototype.getGroupId=function(a){return a.getTargetList().some(function(b){return 2!==b.getDataSource()})?"non_directory":"directory"};Skb.prototype.getGroupName=function(a){switch(a){case "directory":return this.label;case "non_directory":return"";default:return a}};var bkb=function(){throw Error("Le");};Skb.prototype.reset=function(){};var Tkb=function(a){this.label=a};Tkb.prototype.getGroupId=function(a){return 7!==a.getResultType()?"suggestions":"non_suggestions"};Tkb.prototype.getGroupName=function(a){switch(a){case "suggestions":return this.label;case "non_suggestions":return"";default:return a}};Tkb.prototype.reset=function(){};var cWc=function(a){this.delegate=a};f=cWc.prototype;f.search=function(a,b,c,d){this.delegate.search(a,b,c,d)};f.attach=function(){this.delegate.attach()};f.detach=function(){this.delegate.detach()};f.isShown=function(){return this.delegate.isShown()};f.onKeyDown=function(a){this.delegate.onKeyDown(a)};f.dispose=function(){this.delegate.dispose()};f.getNavigatable=function(){return this.delegate.getNavigatable()};f.getRoot=function(){return this.delegate.getRoot()};var ir=function(a,b,c,d,e,g){this.delegate=a;var h=this;this.peopleStore=b;this.clientConfig=d;this.autocompleteConfig=e;this.navigationInput=g;this.navigatable=this.getNavigatable();this.previouslyActiveElement=null;this.hideListener=function(l){return dWc(h,l)};this.unhideListener=function(l){return eWc(h,l)};this.onContextMenuDisposedListener=function(l){if(h.navigationInput!==document.activeElement){var q;null==(q=h.navigatable.getItem(l))||q.deactivate();h.navigatable.reset()}};this.saveActiveElement=
function(){h.previouslyActiveElement=document.activeElement};this.onDialogDisposedListener=function(l){h.navigationInput===h.previouslyActiveElement&&(l=h.navigatable.getItem(l))&&h.navigatable.goToItem(l,0);var q;null==(q=h.previouslyActiveElement)||q.focus();h.previouslyActiveElement=null};this.hide=c.getHide();this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;this.dispatcher.subscribe(1,this.hideListener);this.dispatcher.subscribe(4,this.unhideListener);this.dispatcher.subscribe(7,
this.onContextMenuDisposedListener);this.dispatcher.subscribe(8,this.saveActiveElement);this.dispatcher.subscribe(9,this.onDialogDisposedListener)};T(ir,cWc);ir.prototype.search=function(a,b,c,d){this.currentSearchState={query:a,anchor:b,showSuggestions:c,listener:d};cWc.prototype.search.call(this,a,b,c,d)};
ir.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);cWc.prototype.dispose.call(this)};
var dWc=function(a,b){return pe(function(c){switch(c.nextAddress){case 1:return qe(c,2),c.yield(a.hide.hideResults(b),4);case 4:return c.yield(a.refreshResults(),5);case 5:Hs(c,0);break;case 2:te(c),fWc(a),ue(c)}})},eWc=function(a,b){return pe(function(c){switch(c.nextAddress){case 1:return qe(c,2),c.yield(a.hide.unhideResults(b),4);case 4:return c.yield(a.refreshResults(),5);case 5:Hs(c,0);break;case 2:te(c),gWc(a),ue(c)}})};
ir.prototype.refreshResults=function(){var a=this;return pe(function(b){if(1==b.nextAddress)return a.getRoot().classList.add("isLoading"),a.peopleStore.flushCache(2),b.yield(a.peopleStore.warmUpCache(),2);a.currentSearchState?cWc.prototype.search.call(a,a.currentSearchState.query,a.currentSearchState.anchor,a.currentSearchState.showSuggestions,a.currentSearchState.listener):a.getRoot().classList.remove("isLoading");ue(b)})};
var fWc=function(a){a.hideErrorDialog=ajb(a.getRoot(),a.autocompleteConfig);a.hideErrorDialog.subscribeToAction(function(){var b;null==(b=a.hideErrorDialog)||b.dispose()})},gWc=function(a){a.unhideErrorDialog=cjb(a.getRoot(),a.autocompleteConfig);a.unhideErrorDialog.subscribeToAction(function(){var b;null==(b=a.unhideErrorDialog)||b.dispose()})};var hWc=function(a,b){sq.call(this,a,b)};T(hWc,sq);hWc.prototype.onKeyDown=function(a){if(9===a.event.keyCode){var b=this.getSpotlitItem();if(b){b=b.getRoot();var c=this.ariaParent;var d=Glc(c,"activedescendant");c=bC(c).getElementById(d);(d=b.querySelector('[id="'+(b.id+'-2ab"]')))?eN(this.ariaParent,c===d?b:d):mkb(b)&&(b=Array.from(b.querySelectorAll('[class~="TdcT2c"]')),c=c?b.indexOf(c):-1,-1!==c&&eN(this.ariaParent,b[(c+1)%b.length]))}}sq.prototype.onKeyDown.call(this,a)};
hWc.prototype.next=function(a){a=sq.prototype.next.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),mkb(b)&&iWc(this,b));return a};hWc.prototype.prev=function(a){a=sq.prototype.prev.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),mkb(b)&&iWc(this,b));return a};var iWc=function(a,b){(b=b.querySelector('[class~="TdcT2c"]'))&&eN(a.ariaParent,b)};var Zkb=function(a,b,c,d,e,g,h,l){this.root=a;this.navigationInput=b;this.resultList=c;this.session=d;this.health=e;this.config=g;this.noResultsMessage=h;this.clientConfig=l;this.attached=!1;this.resultsLoadingCompleteListeners=[];this.navigatable=new hWc(this.navigationInput,this.resultList.getNavigatable());this.navigatable.setSecondaryEventTargets([this]);this.navigationEventHandler=Eib({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{shouldReactToHomeEnd:!1});this.eventHandler=
vq(this);fq(this.root,0)};f=Zkb.prototype;f.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");fq(this.root,1);if(a){var g=jWc(this.health);g.start();this.session.search(a,function(l){e.update(l,d,g,!0)})}else if(c){var h=jWc(this.health);h.start();this.session.suggest(function(l){e.update(l,d,h,!1)})}};
f.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()}),Tj(this.clientConfig.internal,9,!1)&&Pq()&&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 a3(b),function(){}))}))};
f.detach=function(){this.attached=!1;this.navigatable.reset();this.navigationEventHandler.detach();this.eventHandler.removeAll();this.session.cancel();fq(this.root,0)};f.isShown=function(){return!0};f.dispose=function(){this.detach();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};
f.update=function(a,b,c,d){var e=a.getResults();a=a.getMetadata();this.root.classList.remove("isLoading");var g=a.getQuery();this.resultList.append(e,{query:g});e=this.resultList.getResultListItems();this.attach();var h=!1;0<e.length?(h=!0,this.root.classList.remove("noResults")):a.getIsLastCallback()&&(h=this.noResultsMessage.update({query:g}),this.root.classList.add("noResults"));b({count:e.length,hasContent:h});Tj(this.clientConfig.internal,7,!1)&&Pq()&&document.activeElement!==this.navigationInput||
(d&&this.config.getAutoActivateFirstSearchResult()||!d&&this.config.getAutoActivateFirstSuggestion())&&0<e.length&&!this.navigatable.getSpotlitItem()&&this.navigatable.goToItem(e[0],0);if(a.getIsLastCallback())for(fq(this.root,0===a.getCode()?2:3,a.getCode()),b={query:g,resultCount:e.length},d=k(this.resultsLoadingCompleteListeners),a=d.next();!a.done;a=d.next())a=a.value,a(b);else fq(this.root,4);c.stop()};
f.onKeyDown=function(a){var b=9===a.event.keyCode&&!a.event.shiftKey;if(13===a.event.keyCode||b&&this.config.getUseTabForResultSelection()){if(b=this.navigatable.getActiveItems(),b.length){b=k(b);for(var c=b.next();!c.done;c=b.next())c.value.toggleSelection();a.preventDefault();a.stopPropagation()}}else 40!==a.event.keyCode||this.navigatable.getSpotlitItem()||(b=this.resultList.getResultListItems(),b.length&&(this.navigatable.goToItem(b[0],0),a.preventDefault(),a.stopPropagation()))};
f.getNavigatable=function(){return this.navigatable};f.getRoot=function(){return this.root};var Rkb=function(){var a=Fq,b='<div class="'+Iq("peoplekitComponentsAutocompleteInlineContainer")+'" peoplekit-id="'+Iq("yDHfq")+'"><div class="'+Iq("peoplekitComponentsAutocompleteInlineListContainer")+'">';var c=GS('<div peoplekit-id="'+Iq("tjneg")+'"></div>');c=Fq('<div tabindex="-1" class="'+Iq("peoplekitComponentsScrollboxScrollbar")+'" peoplekit-id="'+Iq("I8ejUe")+'">'+Jq(c)+"</div>");b=b+c+'</div><div class="'+Iq("peoplekitComponentsAutocompleteInlineCircularProgress")+'">';c='<div class="'+
Iq("peoplekitComponentsCircularprogressCircularProgress")+(" "+Iq("isActive"))+'" data-loadingmessage="'+Iq("Loading...")+'" data-active="true"><div class="'+Iq("peoplekitComponentsCircularprogressMessageContainer")+'" aria-live="polite" jsname="'+Iq("vyyg5")+'">'+Jq("Loading...")+'</div><div class="'+Iq("peoplekitComponentsCircularprogressCircularProgressContainer")+'"><div class="'+Iq("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+Iq("peoplekitComponentsCircularprogressColorOne")+
" "+Iq("exportColorOne")+'"><div class="'+Iq("peoplekitComponentsCircularprogressCircleClipper")+" "+Iq("peoplekitComponentsCircularprogressLeft")+'"><div class="'+Iq("peoplekitComponentsCircularprogressCircle")+" "+Iq("exportCircle")+'"></div></div><div class="'+Iq("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+Iq("peoplekitComponentsCircularprogressCircle")+" "+Iq("exportCircle")+'"></div></div><div class="'+Iq("peoplekitComponentsCircularprogressCircleClipper")+" "+Iq("peoplekitComponentsCircularprogressRight")+
'"><div class="'+Iq("peoplekitComponentsCircularprogressCircle")+" "+Iq("exportCircle")+'"></div></div></div><div class="'+Iq("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+Iq("peoplekitComponentsCircularprogressColorTwo")+" "+Iq("exportColorTwo")+'"><div class="'+Iq("peoplekitComponentsCircularprogressCircleClipper")+" "+Iq("peoplekitComponentsCircularprogressLeft")+'"><div class="'+Iq("peoplekitComponentsCircularprogressCircle")+" "+Iq("exportCircle")+'"></div></div><div class="'+
Iq("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+Iq("peoplekitComponentsCircularprogressCircle")+" "+Iq("exportCircle")+'"></div></div><div class="'+Iq("peoplekitComponentsCircularprogressCircleClipper")+" "+Iq("peoplekitComponentsCircularprogressRight")+'"><div class="'+Iq("peoplekitComponentsCircularprogressCircle")+" "+Iq("exportCircle")+'"></div></div></div><div class="'+Iq("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+Iq("peoplekitComponentsCircularprogressColorThree")+
" "+Iq("exportColorThree")+'"><div class="'+Iq("peoplekitComponentsCircularprogressCircleClipper")+" "+Iq("peoplekitComponentsCircularprogressLeft")+'"><div class="'+Iq("peoplekitComponentsCircularprogressCircle")+" "+Iq("exportCircle")+'"></div></div><div class="'+Iq("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+Iq("peoplekitComponentsCircularprogressCircle")+" "+Iq("exportCircle")+'"></div></div><div class="'+Iq("peoplekitComponentsCircularprogressCircleClipper")+" "+Iq("peoplekitComponentsCircularprogressRight")+
'"><div class="'+Iq("peoplekitComponentsCircularprogressCircle")+" "+Iq("exportCircle")+'"></div></div></div><div class="'+Iq("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+Iq("peoplekitComponentsCircularprogressColorFour")+" "+Iq("exportColorFour")+'"><div class="'+Iq("peoplekitComponentsCircularprogressCircleClipper")+" "+Iq("peoplekitComponentsCircularprogressLeft")+'"><div class="'+Iq("peoplekitComponentsCircularprogressCircle")+" "+Iq("exportCircle")+'"></div></div><div class="'+
Iq("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+Iq("peoplekitComponentsCircularprogressCircle")+" "+Iq("exportCircle")+'"></div></div><div class="'+Iq("peoplekitComponentsCircularprogressCircleClipper")+" "+Iq("peoplekitComponentsCircularprogressRight")+'"><div class="'+Iq("peoplekitComponentsCircularprogressCircle")+" "+Iq("exportCircle")+'"></div></div></div></div></div>';c=Fq(c);return a(b+c+"</div></div>")},Ukb=function(){return Fq('<div class="'+Iq("peoplekitComponentsAutocompleteInlineNoResultsContainer")+
'"></div>')};var Wkb=function(a){a=a||{};var b=a.primaryMessage,c=a.contextMessage,d=a.learnMoreUrl,e=a.urlText;a=a.jsname;a='<div class="'+Iq("peoplekitComponentsNoResultsMessageNoResultsMessage")+'"'+(a?' jsname="'+Iq(a)+'"':"")+'><p class="'+Iq("peoplekitComponentsNoResultsMessageHeader")+'">';a=b?a+Jq(b):a+"No results";a+="</p>";if((c instanceof ES?c.getContent():c)||(d instanceof ES?d.getContent():d))a+='<p class="'+Iq("peoplekitComponentsNoResultsMessageExplanation")+'">'+(c?Jq(c)+(d?" ":""):""),d&&(a+=
'<a jsname="'+Iq("viORvd")+'" class="'+Iq("peoplekitComponentsNoResultsMessageLearnMoreLink")+'" target="_blank" href="'+Iq(lzc(d))+'">',a=e?a+Jq(e):a+"Learn more",a+="</a>"),a+="</p>";return Fq(a+"</div>")};var Vkb=function(a,b){this.parent=a;this.config=b};Vkb.prototype.update=function(a){this.root&&this.root.remove();a=this.config.display(a);if(!a)return!1;this.root=Vo(Wkb,a);this.parent.appendChild(this.root);return!0};var Ykb=function(){};Ykb.prototype.update=function(){return!1};var Xkb=function(){};Xkb.prototype.update=function(){return!0};var $kb=function(a,b,c,d,e){var g=this;this.root=a;this.navigationInput=b;this.inlineAutocomplete=c;this.selectionsState=d;this.config=e;this.lastShowTime=0;this.popup=Oib(this.root,function(){g.hide()},{moveAboveAnchorIfOffscreen:this.config.getMoveAutocompleteAboveAnchorIfOffscreen()});this.inlineAutocomplete.getNavigatable().setSecondaryEventTargets([this.inlineAutocomplete,this]);this.eventHandler=vq(this);this.onSelectionCallback=function(){g.onSelect()};this.onSelectionAttemptedCallback=function(){g.hide()};
this.attach()};f=$kb.prototype;f.search=function(a,b,c,d){var e=this;this.hide();this.inlineAutocomplete.search(a,b,c,function(g){e.anchor=b;e.update(g);d(g)})};f.attach=function(){var a=this;BVc(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())})};f.onSelect=function(){this.hide()};
f.onKeyDown=function(a){this.isShown()&&27===a.event.keyCode&&(this.hide(),a.preventDefault(),a.stopPropagation())};f.detach=function(){this.hide()};f.isShown=function(){return this.popup.isShown()};f.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)};
f.getNavigatable=function(){return this.inlineAutocomplete.getNavigatable()};f.getRoot=function(){return this.root};f.update=function(a){a.hasContent&&this.show()};
f.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("xe`"+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("xe`"+c);}}this.root.style.width=OS(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("xe`"+a);}this.root.style.maxHeight=this.config.getAutocompleteMaxResultsBeforeScroll()*a+"px";this.root.style.minHeight=a+"px";this.popup.show(this.anchor)};f.hide=function(){this.popup.hide();this.navigationInput.setAttribute("aria-expanded","false");this.inlineAutocomplete.detach()};var Qkb=function(){return Fq('<div class="'+Iq("peoplekitComponentsAutocompletePopupContainer")+'" peoplekit-id="'+Iq("noeiCf")+'" style="display: none;"></div>')};var kWc=function(){this.batches=new Map};kWc.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 nkb=function(a,b){this.service=a;this.resolveComponents=b};
nkb.prototype.update=function(a){var b=this;a=k([].concat(cd(a.batches.values())));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.features.length){c=this.service.for(d.ids);d=k(d.features);for(var e=d.next();!e.done;e=d.next())switch(e.value){case 1:c=c.withWaldo(function(g){lWc(b,g.values,function(h,l,q){q.updateWaldo(l,h)})});break;case 2:c=c.withHubAvailabilityDot(function(g){lWc(b,g.values,function(h,l,q){q.updateHubAvailabilityDot(l,h)})})}c.execute()}}};
var lWc=function(a,b,c){b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;for(var e=d.getLookupId(),g=k(a.resolveComponents(e)),h=g.next();!h.done;h=g.next())c(e,d,h.value)}};var mWc=new Set([1,3,20]),nWc=function(a){var b=this;this.idToComponent=new Map;this.updater=okb(a,function(c){return b.resolveComponents(c)})};f=nWc.prototype;
f.append=function(a){var b=a.filter(function(g){return g.getAllIds().some(function(h){return mWc.has(h.getType())})});a=[];b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;c.initializeIntelligence();for(var d=k(c.getAllIds()),e=d.next();!e.done;e=d.next())e=e.value,a.push(e),e=String(e),this.idToComponent.has(e)||this.idToComponent.set(e,[]),this.idToComponent.get(e).push(c)}this.refresh(a)};
f.remove=function(a){a=k(a);for(var b=a.next(),c={};!b.done;c={$jscomp$loop$prop$component$2382:c.$jscomp$loop$prop$component$2382},b=a.next()){c.$jscomp$loop$prop$component$2382=b.value;b=k(c.$jscomp$loop$prop$component$2382.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(g){return function(h){return h!==g.$jscomp$loop$prop$component$2382}}(c)))}}};
f.resolveComponents=function(a){return this.idToComponent.get(String(a))||[]};f.refresh=function(a){var b=new kWc;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.resolveComponents(c);d=k(d);for(var e=d.next();!e.done;e=d.next())b.add(c,e.value.getSupportedIntelligenceFeatures())}this.updater.update(b)};f.clear=function(){this.idToComponent.clear()};var oWc=function(){};oWc.prototype.append=function(){};oWc.prototype.remove=function(){};oWc.prototype.refresh=function(){};oWc.prototype.clear=function(){};var Pkb=function(a){this.peopleIntelligence=a};Pkb.prototype.create=function(){return this.peopleIntelligence?new nWc(this.peopleIntelligence):new oWc};var pWc=function(){this.label="";this.type=0};f=pWc.prototype;f.getAutocompleteGroupingType=function(){return this.type};f.setAutocompleteGroupingType=function(a){this.type=a};f.getAutocompleteGroupingLabel=function(){return this.label};f.setAutocompleteGroupingLabel=function(a){this.label=a};f.getAutocompleteCustomGrouping=function(){return this.customGrouping};var qWc=function(){this.decorationConfigRequest=function(){};this.resultCustomizationCallback=function(){return{}}};qWc.prototype.getAllowResultDeselection=function(){return!1};qWc.prototype.getWarnForExternalSelections=function(){return!1};qWc.prototype.getResultDecorationConfigRequestCallback=function(){return this.decorationConfigRequest};qWc.prototype.getResultCustomizationCallback=function(){return this.resultCustomizationCallback};var rWc=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.environmentConfig=a;this.grouping=new pWc;this.result=new qWc;this.appearance=new Gq};f=rWc.prototype;f.getEnvironmentConfig=function(){return this.environmentConfig};f.getAutocompleteHeader=function(){return this.header};
f.setAutocompleteHeader=function(a){this.header=a};f.getShowSuggestions=function(){return this.showSuggestions};f.setShowSuggestions=function(a){this.showSuggestions=a};f.getAutocompleteMaxResultsBeforeScroll=function(){return this.maxResultsBeforeScroll};f.setAutocompleteMaxResultsBeforeScroll=function(a){this.maxResultsBeforeScroll=Math.max(Math.min(20,a),3)};f.getMoveAutocompleteAboveAnchorIfOffscreen=function(){return this.moveAutocompleteAboveAnchorIfOffscreen};
f.setMoveAutocompleteAboveAnchorIfOffscreen=function(a){this.moveAutocompleteAboveAnchorIfOffscreen=a};f.getAutoActivateFirstSuggestion=function(){return this.autoActivateFirstSuggestion};f.setAutoActivateFirstSuggestion=function(a){this.autoActivateFirstSuggestion=a};f.getAutoActivateFirstSearchResult=function(){return this.autoActivateFirstSearchResult};f.setAutoActivateFirstSearchResult=function(a){this.autoActivateFirstSearchResult=a};f.setEntryPoint=function(a){this.entryPoint=a};
f.getEntryPoint=function(){return this.entryPoint};f.getNoResultsMessage=function(){return this.noResultsMessage};f.setNoResultsMessage=function(a){this.noResultsMessage=a};f.getUseTabForResultSelection=function(){return!0};f.getAutocompleteGroupingType=function(){return this.grouping.getAutocompleteGroupingType()};f.setAutocompleteGroupingType=function(a){this.grouping.setAutocompleteGroupingType(a)};f.getAutocompleteGroupingLabel=function(){return this.grouping.getAutocompleteGroupingLabel()};
f.setAutocompleteGroupingLabel=function(a){this.grouping.setAutocompleteGroupingLabel(a)};f.getAutocompleteCustomGrouping=function(){return this.grouping.getAutocompleteCustomGrouping()};f.getAllowResultDeselection=function(){return this.result.getAllowResultDeselection()};f.getWarnForExternalSelections=function(){return this.result.getWarnForExternalSelections()};f.getResultDecorationConfigRequestCallback=function(){return this.result.getResultDecorationConfigRequestCallback()};
f.getResultCustomizationCallback=function(){return this.result.getResultCustomizationCallback()};f.getDensity=function(){return this.appearance.getDensity()};f.setDensity=function(a){this.appearance.setDensity(a)};f.getTheme=function(){return this.appearance.getTheme()};f.setTheme=function(a){this.appearance.setTheme(a)};var sWc=function(a){this.environmentConfig=a;this.autocomplete=new rWc(a)};f=sWc.prototype;f.getEnvironmentConfig=function(){return this.environmentConfig};f.getAutocompleteHeader=function(){return this.autocomplete.getAutocompleteHeader()};f.setAutocompleteHeader=function(a){this.autocomplete.setAutocompleteHeader(a)};f.getShowSuggestions=function(){return this.autocomplete.getShowSuggestions()};f.setShowSuggestions=function(a){this.autocomplete.setShowSuggestions(a)};
f.getAutocompleteMaxResultsBeforeScroll=function(){return this.autocomplete.getAutocompleteMaxResultsBeforeScroll()};f.setAutocompleteMaxResultsBeforeScroll=function(a){this.autocomplete.setAutocompleteMaxResultsBeforeScroll(a)};f.getMoveAutocompleteAboveAnchorIfOffscreen=function(){return this.autocomplete.getMoveAutocompleteAboveAnchorIfOffscreen()};f.setMoveAutocompleteAboveAnchorIfOffscreen=function(a){this.autocomplete.setMoveAutocompleteAboveAnchorIfOffscreen(a)};
f.getAutoActivateFirstSuggestion=function(){return this.autocomplete.getAutoActivateFirstSuggestion()};f.setAutoActivateFirstSuggestion=function(a){this.autocomplete.setAutoActivateFirstSuggestion(a)};f.getAutoActivateFirstSearchResult=function(){return this.autocomplete.getAutoActivateFirstSearchResult()};f.setAutoActivateFirstSearchResult=function(a){this.autocomplete.setAutoActivateFirstSearchResult(a)};f.setEntryPoint=function(a){this.autocomplete.setEntryPoint(a)};f.getEntryPoint=function(){return this.autocomplete.getEntryPoint()};
f.getNoResultsMessage=function(){return this.autocomplete.getNoResultsMessage()};f.setNoResultsMessage=function(a){this.autocomplete.setNoResultsMessage(a)};f.getUseTabForResultSelection=function(){return this.autocomplete.getUseTabForResultSelection()};f.getAutocompleteGroupingType=function(){return this.autocomplete.getAutocompleteGroupingType()};f.setAutocompleteGroupingType=function(a){this.autocomplete.setAutocompleteGroupingType(a)};f.getAutocompleteGroupingLabel=function(){return this.autocomplete.getAutocompleteGroupingLabel()};
f.setAutocompleteGroupingLabel=function(a){this.autocomplete.setAutocompleteGroupingLabel(a)};f.getAutocompleteCustomGrouping=function(){return this.autocomplete.getAutocompleteCustomGrouping()};f.getAllowResultDeselection=function(){return this.autocomplete.getAllowResultDeselection()};f.getWarnForExternalSelections=function(){return this.autocomplete.getWarnForExternalSelections()};f.getResultDecorationConfigRequestCallback=function(){return this.autocomplete.getResultDecorationConfigRequestCallback()};
f.getResultCustomizationCallback=function(){return this.autocomplete.getResultCustomizationCallback()};f.getDensity=function(){return this.autocomplete.getDensity()};f.setDensity=function(a){this.autocomplete.setDensity(a)};f.getTheme=function(){return this.autocomplete.getTheme()};f.setTheme=function(a){this.autocomplete.setTheme(a)};var tWc=Object.freeze(new Map([[5,1]]));var uWc=function(){this.entryPoint_=0};uWc.prototype.getPeoplekitEntryPoint=function(){return this.entryPoint_};uWc.prototype.setPeoplekitEntryPoint=function(a){this.entryPoint_=a;return this};uWc.prototype.serialize=function(){return[this.entryPoint_].toString()};var vWc=Object.freeze(new uWc);var wWc=function(){this.originator_=0};wWc.prototype.setOriginator=function(a){this.originator_=a;return this};wWc.prototype.getOriginator=function(){return this.originator_};var Lkb=function(a,b,c){var d=this;this.reporter=a.getReporter((new uWc).setPeoplekitEntryPoint(c));BVc(b,function(e,g,h){d.select(e,h)},0);AVc(b,function(e,g,h){d.deselect(e,h)},0);xWc(b,function(e,g,h,l){d.replace(e,l)})};f=Lkb.prototype;f.display=function(a){this.reporter.reportDisplay(pkb(a.getTargetList()))};f.select=function(a,b){if(!a.isPlaceholder())switch(b){case 1:case 12:case 5:this.reporter.reportSelect(Zq([a]),(new wWc).setOriginator(tWc.get(b)||0));break;case 6:this.reporter.reportExternalSelect(Zq([a]))}};
f.deselect=function(a,b){if(!a.isPlaceholder())switch(b){case 7:case 8:case 1:this.reporter.reportDeselect(Zq([a]))}};f.dismiss=function(a){this.reporter.reportDismiss(Zq(a))};f.save=function(a){this.reporter.reportSave(Zq(a))};f.send=function(a){this.reporter.reportSend(Zq(a))};f.replace=function(a,b){switch(b){case 5:case 6:this.select(a,b)}};var yWc=function(){this.isBatchingInternal=!1;this.timerId=this.lastBatchTime=0};yWc.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=oo(function(){b.isBatchingInternal=!1;a()},100<d?0:100)}};yWc.prototype.cancel=function(){po(this.timerId);this.isBatchingInternal=!1};var flb=function(a,b,c,d,e,g){var h=this;this.root=a;this.autocomplete=b;this.selectionsState=c;this.interactions=d;this.tracker=e;this.config=g;this.selectionChangedListeners=[];this.selectionChangedAutoBatcher=new yWc;BVc(this.selectionsState,function(){zWc(h)})};f=flb.prototype;f.search=function(a,b){this.selectionsState.clear();var c=!1;this.autocomplete.search(a,b,this.config.getShowSuggestions(),function(d){0<d.count&&!c&&(c=!0)})};f.isShown=function(){return this.autocomplete.isShown()};
f.report=function(a,b){b=void 0===b?[]:b;b=b.length?b:this.selectionsState.asArray();var c=this.interactions;switch(a){case 1:c.reporter.reportProceed(Zq(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(Zq(b))}};f.cancel=function(){this.autocomplete.detach()};
f.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 qPc=function(a,b){a.selectionChangedListeners.push(b)},zWc=function(a){a.selectionChangedAutoBatcher.call(function(){for(var b=a.selectionsState.asArray(),c=k(a.selectionChangedListeners),d=c.next();!d.done;d=c.next())d=d.value,d(b)})};var Kkb=function(a){a=a||{};a=a.classes;return Fq('<div peoplekit-id="'+Iq("nVhUhf")+'"'+(a?' class="'+Iq(a)+'"':"")+"></div>")};var q3=function(a){this.internalArray_=m(a)};T(q3,p);q3.prototype.getVersion=function(){return Zi(this,1,1)};q3.prototype.setVersion=function(a){return V(this,1,a)};q3.prototype.getVersionOrUndefined=function(){return Qr(this,1)};q3.prototype.toObject=function(){return AWc(this)};var AWc=function(a){if(null!=a)return r(a),{version:Zi(a,1,1)}};var BWc=function(a){this.internalArray_=m(a)};T(BWc,p);f=BWc.prototype;f.getClientId=function(){return Zi(this,1,0)};f.setClientId=function(a){return V(this,1,a)};f.getEntryPoint=function(){return Zi(this,5,0)};f.setEntryPoint=function(a){return V(this,5,a)};f.getSocialClient=function(){return X(this,hS,2)};f.setSocialClient=function(a){return hj(this,hS,2,a)};f.setVersionName=function(a){return sk(this,3,a)};f.getBaselineCl=function(){return qj(this,4)};
f.setBaselineCl=function(a){return V(this,4,a)};f.hasBaselineCl=function(){return Yk(this,4)};f.getBaselineClOrUndefined=function(){return st(this,4)};f.getComponentFlow=function(){return Zi(this,7,0)};f.setComponentFlow=function(a){return V(this,7,a)};f.toObject=function(){return CWc(this)};
var CWc=function(a){if(null!=a)return r(a),{clientId:n(Er(a,1)),entryPoint:n(Er(a,5)),socialClient:evc(a.getSocialClient()),versionName:n(Z(a,3)),baselineCl:n(Yb(a,4)),componentFlow:n(Er(a,7)),androidClientInfo:AWc(X(a,q3,6))}};var DWc=function(a){this.internalArray_=m(a)};T(DWc,p);DWc.prototype.toObject=function(){return EWc(this)};var EWc=function(a){if(null!=a)return r(a),{imageType:n(Er(a,1)),imageDataCached:n(Er(a,2))}};var r3=function(a){this.internalArray_=m(a)};T(r3,p);r3.prototype.toObject=function(){return FWc(this)};var FWc=function(a){if(null!=a)return r(a),{avatarMetadata:EWc(X(a,DWc,1))}};var GWc=function(a){this.internalArray_=m(a)};T(GWc,p);f=GWc.prototype;f.getLabel=function(){return Zi(this,1,0)};f.setLabel=function(a){return V(this,1,a)};f.hasLabel=function(){return pj(this,1)};f.getCause=function(){return Zi(this,2,0)};f.toObject=function(){return HWc(this)};var HWc=function(a){if(null!=a)return r(a),{label:n(Er(a,1)),cause:n(Er(a,2))}};var IWc=function(a){this.internalArray_=m(a)};T(IWc,p);f=IWc.prototype;f.getLabel=function(){return Zi(this,1,0)};f.setLabel=function(a){return V(this,1,a)};f.hasLabel=function(){return pj(this,1)};f.getValue=function(){return qj(this,2,1)};f.setValue=function(a){return V(this,2,a)};f.hasValue=function(){return Yk(this,2)};f.toObject=function(){return JWc(this)};var JWc=function(a){if(null!=a)return r(a),{label:n(Er(a,1)),value:qj(a,2,1)}};var KWc=function(a){this.internalArray_=m(a)};T(KWc,p);f=KWc.prototype;f.setLatencyUsec=function(a){V(this,2,a)};f.getQueryLength=function(){return Rh(this,3)};f.setQueryLength=function(a){return V(this,3,a)};f.hasQueryLength=function(){return Pk(this,3)};f.toObject=function(){return LWc(this)};
var LWc=function(a){if(null!=a)return r(a),{resultCount:n(ft(a,1)),latencyUsec:n(Yb(a,2)),queryLength:n(ft(a,3)),isContactsPermissionsGranted:n(vr(a,4)),isShowDeviceContactsDisplayed:n(vr(a,5)),memoryAllocatedDelta:n(Yb(a,6)),inAppResultCount:n(ft(a,7))}};var MWc=function(a){this.internalArray_=m(a)};T(MWc,p);f=MWc.prototype;f.getLabel=function(){return U(this,1)};f.setLabel=function(a){return sk(this,1,a)};f.hasLabel=function(){return Hk(this,1)};f.getCause=function(){return U(this,2)};f.toObject=function(){return NWc(this)};var NWc=function(a){if(null!=a)return r(a),{label:n(Z(a,1)),cause:n(Z(a,2))}};var OWc=function(a){this.internalArray_=m(a)};T(OWc,p);f=OWc.prototype;f.getLabel=function(){return Zi(this,1,0)};f.setLabel=function(a){return V(this,1,a)};f.hasLabel=function(){return pj(this,1)};f.setLatencyUsec=function(a){V(this,2,a)};f.getCacheStatus=function(){return Zi(this,3,0)};f.setCacheStatus=function(a){return V(this,3,a)};f.toObject=function(){return PWc(this)};var PWc=function(a){if(null!=a)return r(a),{label:n(Er(a,1)),latencyUsec:n(Yb(a,2)),cacheStatus:n(Er(a,3))}};var s3=function(a){this.internalArray_=m(a)};T(s3,p);s3.prototype.getInterfaceType=function(){return Zi(this,1,0)};s3.prototype.setInterfaceType=function(a){return V(this,1,a)};s3.prototype.toObject=function(){return QWc(this)};var QWc=function(a){if(null!=a)return r(a),{interfaceType:n(Er(a,1)),dataSourceType:n(Er(a,2)),entryIndex:n(ft(a,3))}};var RWc=function(a){this.internalArray_=m(a)};T(RWc,p);RWc.prototype.toObject=function(){return SWc(this)};var SWc=function(a){if(null!=a)return r(a),{suggestionsLoaded:n(vr(a,1)),closeType:n(Er(a,2))}};var TWc=function(a){this.internalArray_=m(a)};T(TWc,p);f=TWc.prototype;f.getEventType=function(){return Zi(this,1,0)};f.getEventType_legacyNullable=function(){return Er(this,1)};f.setEventType=function(a){return V(this,1,a)};f.setLatencyUsec=function(a){V(this,2,a)};f.toObject=function(){return UWc(this)};
var UWc=function(a){if(null!=a)return r(a),{eventType:n(Er(a,1)),latencyUsec:n(Yb(a,2)),entityCount:n(ft(a,3)),memoryAllocatedDelta:n(Yb(a,4)),animationFps:n(ft(a,5)),timeToActionMillis:n(Yb(a,6)),completionMetadata:SWc(X(a,RWc,7))}};var VWc=function(a){this.internalArray_=m(a)};T(VWc,p);f=VWc.prototype;f.getCount=function(){return X(this,IWc,3)};f.setCount=function(a){return hj(this,IWc,3,a)};f.getLatency=function(){return X(this,OWc,4)};f.setLatency=function(a){return hj(this,OWc,4,a)};f.getError=function(){return X(this,MWc,5)};f.setError=function(a){hj(this,MWc,5,a)};f.hasError=function(){return Nj(this,MWc,5)};f.toObject=function(){return WWc(this)};
var WWc=function(a){if(null!=a)return r(a),{entryType:n(Er(a,1)),sharedDimension:QWc(X(a,s3,2)),count:JWc(a.getCount()),latency:PWc(a.getLatency()),peoplekitError:HWc(X(a,GWc,8)),error:NWc(a.getError()),dataDisplay:LWc(X(a,KWc,6)),userEvent:UWc(X(a,TWc,7))}};var t3=function(a){this.internalArray_=m(a)};T(t3,p);t3.prototype.setElementIndex=function(a){V(this,2,a)};t3.prototype.setCardinalDirection=function(a){V(this,7,a)};t3.repeatedFields_=[3];t3.prototype.toObject=function(){return XWc(this)};var XWc=function(a){if(null!=a)return r(a),{elementId:n(ft(a,1)),elementIndex:n(ft(a,2)),pathToRootElementIdList:n(Qh(a,3)),userAction:n(Er(a,4)),cardinalDirection:n(Er(a,7))}};var YWc=function(a){this.internalArray_=m(a)};T(YWc,p);YWc.prototype.toObject=function(){return ZWc(this)};var ZWc=function(a){if(null!=a)return r(a),{ancestryVisualElement:XWc(X(a,t3,1)),intentClassName:n(Z(a,2)),firstInFlow:n(vr(a,3)),userInterfaceStyle:Zi(a,4,0)}};var $Wc=function(a){this.internalArray_=m(a)};T($Wc,p);f=$Wc.prototype;f.getClientInterface=function(){return X(this,BWc,3)};f.setClientInterface=function(a){return hj(this,BWc,3,a)};f.getMetadata=function(){return X(this,r3,4)};f.setMetadata=function(a){hj(this,r3,4,a)};f.toObject=function(){if(null!=this){r(this);var a={visualElementEntry:ZWc(X(this,YWc,1)),metricsDataEntry:WWc(X(this,VWc,2)),clientInterface:CWc(this.getClientInterface()),metadata:FWc(this.getMetadata())}}else a=void 0;return a};var Mkb=function(a){this.logContext=Pmb(Mr(new Nr,"PeopleKit").setLogSource(624).setApplication(a.getSocialApplicationOrUndefined()).setEnvironment(0).setVersion("1.0").setBaselineCl(542993115).setEnableClearcut(a.getEnableClearcut()),Nq.getExperimentIds());this.clientId=a.getClientId();this.componentFlow=a.getComponentFlow()};f=Mkb.prototype;f.getLogContext=function(){return this.logContext};f.createCountMetric=function(){throw Error("bb");};f.createStatusMetric=function(){throw Error("bb");};
f.createLatencyMetric=function(a,b){b=b.source();a=(new $Wc).setClientInterface((new BWc).setClientId(this.clientId).setSocialClient(a.getSocialClient()).setVersionName(this.getLogContext().getVersionOrUndefined()).setBaselineCl(this.getLogContext().getBaselineClOrUndefined()).setComponentFlow(this.componentFlow));return hj(a,VWc,2,b)};f.createErrorMetric=function(){throw Error("bb");};var aXc=function(a,b){this.count=0;this.metrics=a;this.label="total";a=new VWc;a=V(a,1,4);var c=new s3;b=V(c,2,2).setInterfaceType(b);this.dataEntry=hj(a,s3,2,b).setLatency((new OWc).setLabel(8));this.state=new pS(this.dataEntry)};aXc.prototype.start=function(){this.count=0;this.metrics.start(this.state,this.label)};
aXc.prototype.stop=function(a){a=void 0===a?function(){}:a;this.metrics.stop(this.state,this.label);var b=this.state.durationUsec(this.label),c;null==(c=this.dataEntry.getLatency())||c.setLatencyUsec(b);a(b);var d;null!=(d=X(this.dataEntry,s3,2))&&V(d,3,this.count);this.metrics.latency(this.state);++this.count};var Okb=function(a,b){this.metrics=a;this.userInterfaceType=b};var Nkb=function(a){this.trackers=a},jWc=function(a){a=a.trackers;return new aXc(a.metrics,a.userInterfaceType)};var u3=function(){this.itemsByPriority=[]};u3.prototype.add=function(a,b){this.itemsByPriority[b]||(this.itemsByPriority[b]=new Set);this.itemsByPriority[b].add(a)};u3.prototype.remove=function(a){for(var b=k(this.itemsByPriority),c=b.next();!c.done;c=b.next())(c=c.value)&&c.delete(a)};u3.prototype.asArray=function(){return this.itemsByPriority.flatMap(function(a){return[].concat(cd(a))})};var gr=function(){this.selectionCallbacks=new u3;this.deselectionCallbacks=new u3;this.selectionReplacedCallbacks=new u3;this.selectionAttemptedCallbacks=new u3;this.selectionsState=[]};
gr.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 $q(a,b,c,this.selectionAttemptedCallbacks.asArray()),!1;0<=b?(this.selectionsState.splice(b,0,a),$q(a,b,c,this.selectionCallbacks.asArray())):(this.selectionsState.push(a),$q(a,this.selectionsState.length-1,c,this.selectionCallbacks.asArray()));return!0};
gr.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),$q(a,d,b,this.deselectionCallbacks.asArray()))};gr.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 BVc=function(a,b,c){a.selectionCallbacks.add(b,void 0===c?2:c)},AVc=function(a,b,c){a.deselectionCallbacks.add(b,void 0===c?2:c)},xWc=function(a,b){a.selectionReplacedCallbacks.add(b,0)};f=gr.prototype;f.get=function(a){var b=String(a);return this.selectionsState.find(function(c){return b===String(c.id())})};f.at=function(a){return this.selectionsState[a]};
f.replace=function(a,b,c){c=void 0===c?0:c;var d=String(a),e=this.selectionsState.findIndex(function(g){return d===String(g.id())});if(0>e||!a.equals(b.id())&&this.get(b.id()))return!1;this.selectionsState[e]=b;qkb(b,e,a,c,this.selectionReplacedCallbacks.asArray());return!0};f.pop=function(a){a=void 0===a?0:a;var b=this.selectionsState.pop();if(b)return $q(b,this.selectionsState.length,a,this.deselectionCallbacks.asArray()),b};
f.indexOf=function(a){var b=String(a);return this.selectionsState.findIndex(function(c){return b===String(c.id())})};f.asArray=function(){return this.selectionsState.slice()};f.size=function(){return this.selectionsState.length};f.clear=function(){for(;0<this.selectionsState.length;)this.deselect(this.selectionsState[0])};var elb=function(){};elb.prototype.start=function(){};elb.prototype.stop=function(){};var bXc=function(a){this.userAction=a;this.interactionContext=this.cardinalDirection=void 0};var jr=function(a){this.visualElementRoot=a;this.syntheticVisualElements=new Map;a=oq(this.visualElementRoot);this.syntheticRoot=rkb(a);this.syntheticVisualElements.set(a.id,this.syntheticRoot)};
jr.prototype.insert=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=oq(b);if(c&&!this.syntheticVisualElements.has(c.id)){c=this.visualElementRoot;var d=[];if(c.contains(b)){for(;b&&b!==c;)b.hasAttribute("pk-log")&&d.push(b),b=b.parentElement;b&&b.hasAttribute("pk-log")&&d.push(b)}b=d;b.reverse();for(c=1;c<b.length;c++){var e=oq(b[c]);this.syntheticVisualElements.has(e.id)||(d=rkb(e),this.syntheticVisualElements.set(e.id,d),e=oq(b[c-1]),this.syntheticVisualElements.get(e.id).appendChild(d))}}}};
jr.prototype.remove=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=oq(b.value)){var c=this.syntheticVisualElements.get(b.id);this.syntheticVisualElements.delete(b.id);c&&c.parentElement&&c.parentElement.removeChild(c)}};jr.prototype.getRoot=function(){return this.syntheticRoot};jr.prototype.getElement=function(a){return this.syntheticVisualElements.get(a)};var blb=function(a,b){this.syntheticTree=a;this.tracker=b;this.delayedImpression=new Vzc(this.impress,15,this)};blb.prototype.impress=function(){var a=this.tracker,b=this.syntheticTree.getRoot();var c=void 0===c?!1:c;b=cXc(a.traverser_,b);dXc(a,b,new MS(0,0,0,0));c&&eXc(a,b,new MS(0,0,0,0))};blb.prototype.dispose=function(){this.delayedImpression.dispose()};var clb=function(a,b){this.root=a;this.visualElementHandler=b;this.eventHandler=vq(this)};
clb.prototype.observe=function(){var a=this;this.mutationObserver||(this.mutationObserver=new MutationObserver(function(b){a.onMutation(b)}),this.mutationObserver.observe(this.root,{childList:!0,subtree:!0}),this.eventHandler.listen(this.root,ZTc,function(b){b.stopPropagation();var c=a.visualElementHandler,d=b.type;if(b=oq(b.target))b=c.syntheticTree.getElement(b.id),d=$Tc.get(d),b&&d&&(c=c.tracker,d=new bXc(d),(b=v3(c.visualElementProvider_,b))&&b.impressionEventID&&fXc(c,b,d))}))};
clb.prototype.dispose=function(){var a;null==(a=this.mutationObserver)||a.disconnect();this.eventHandler.removeAll();this.visualElementHandler.dispose()};clb.prototype.onMutation=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,"childList"===b.type){var c=skb(b.removedNodes);c.length&&this.visualElementHandler.syntheticTree.remove(c);b=skb(b.addedNodes);b.length&&(c=this.visualElementHandler,c.syntheticTree.insert(b),c.delayedImpression.start())}};var dlb=function(a){this.visualElementObserver=a};dlb.prototype.start=function(){this.visualElementObserver.observe()};dlb.prototype.stop=function(){this.visualElementObserver.dispose()};for(var gXc={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"}},tkb=xkb(gXc),hXc=new Map,iXc=k(Object.keys(gXc)),jXc=iXc.next();!jXc.done;jXc=iXc.next()){var kXc=jXc.value;hXc.set(gXc[kXc].xid,gXc[kXc].string)}
var vkb=xkb({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 w3=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_=[]},x3=function(a,b){return b?a.tracks_.has(a.maybeXidEventLabel_(b)):0!=a.tracks_.size};f=w3.prototype;f.setIndex=function(a){this.index_=a};f.getIndex=function(){return this.index_};f.setComponentID=function(a){this.componentID_=a};f.getComponentID=function(){return this.componentID_};
f.isMutable=function(){return this.mutable_};f.setAttribute=function(a){this.attribute_=a;return this};f.getAttribute=function(){return this.attribute_};var lXc=function(a,b){for(var c=0;c<a.metadataHandlers_.length;++c)a.metadataHandlers_[c](b)};w3.prototype.maybeXidEventLabel_=function(a){return this.xidTagComponents_?ukb(a):a};w3.prototype.maybeXidPartLabel_=function(a){return this.xidTagComponents_?wkb(a):a};var mXc=function(a){w3.call(this,a)};T(mXc,w3);var y3=function(a){this.internalArray_=m(a)};T(y3,p);y3.prototype.toObject=function(){return nXc(this)};var nXc=function(a){if(null!=a)return r(a),{timeUsec:n(Yb(a,1)),serverIp:n(ab(Yb(a,2))),processId:n(ab(Yb(a,3)))}},oXc=[y3,1,$Kb,2,cLb,3,cLb];Ft[4156379]=Tb(4156379,{messageSetExtension:0},y3,nXc);var z3=function(a){this.internalArray_=m(a)};T(z3,p);z3.prototype.getBase=function(){return X(this,y3,1)};z3.prototype.setBase=function(a){return hj(this,y3,1,a)};z3.prototype.hasBase=function(){return Nj(this,y3,1)};z3.prototype.toObject=function(){return A3(this)};var A3=function(a){if(null!=a)return r(a),{base:nXc(a.getBase()),clientCounter:n(Yb(a,2))}},pXc=[z3,1,eLb,oXc,2,$Kb];var B3=function(a){this.internalArray_=m(a)};T(B3,p);B3.prototype.getBase=function(){return it(this,1)};B3.prototype.setBase=function(a){return Db(this,1,a,void 0,Qh)};B3.prototype.getOffset=function(){return Rh(this,2,0)};B3.prototype.setOffset=function(a){V(this,2,a)};B3.repeatedFields_=[1];B3.prototype.toObject=function(){return qXc(this)};var qXc=function(a){if(null!=a)return r(a),{baseList:n(Qh(a,1)),offset:Rh(a,2,0)}},rXc=[B3,1,aLb,2,ut];var C3=function(a){this.internalArray_=m(a)};T(C3,p);C3.prototype.setVeIndex=function(a){V(this,1,a)};var sXc=function(a,b){V(a,2,b)};C3.prototype.setElementIndex=function(a){V(this,5,a)};C3.prototype.getResultIndex=function(){return Rh(this,6,-1)};C3.prototype.setResultIndex=function(a){V(this,6,a)};C3.prototype.toObject=function(){return tXc(this)};
var tXc=function(a){if(null!=a)return r(a),{veIndex:Rh(a,1,-1),nonArchivalVeIndex:Rh(a,11,-1),veOffsetIdentifier:qXc(X(a,B3,15)),veType:n(ft(a,2)),odelaySeLinker:n(ft(a,8)),elementIndex:Rh(a,5,-1),resultIndex:Rh(a,6,-1),pageStart:n(ft(a,7)),resultGroupElementIndex:Rh(a,9,-1),doNotLogUrl:Tj(a,10,!1),resultFprint:n(Yb(a,12)),veEventId:A3(X(a,z3,13)),youtubeVeCounter:Rh(a,14,-1)}},uXc=[C3,1,ut,11,ut,15,eLb,rXc,2,ut,8,ut,5,ut,6,ut,7,ut,9,ut,10,dLb,12,bLb,13,eLb,pXc,14,ut],vXc=function(a){return function(b){var c=
new OKb;wca(b,c,vca(a));Dca(c,c.encoder_.end());b=new Uint8Array(c.totalLength_);for(var d=c.blocks_,e=d.length,g=0,h=0;h<e;h++){var l=d[h];b.set(l,g);g+=l.length}c.blocks_=[b];return b}}(uXc);Ft[15872052]=Tb(15872052,{messageSetExtension:0},C3,tXc);var wXc=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};wXc.prototype.getTag=function(){return this.veTag_};wXc.prototype.getElement=function(){return this.el_};var yXc=function(a){var b=xXc++;a.traversalOrder_=b};wXc.prototype.setParent=function(a){this.parent_=a};wXc.prototype.getParent=function(){return this.parent_};
var zXc=function(a){if(a.impressionEventID){var b=new C3;b.setVeIndex(a.traversalOrder_);sXc(b,a.getTag().visualElementID_);hj(b,z3,13,a.impressionEventID);a=vXc(b);return"0"+Kaa(a,4)}};var Bkb=function(a){this.internalArray_=m(a)};T(Bkb,p);f=Bkb.prototype;f.getClientId=function(){return Zi(this,1,0)};f.setClientId=function(a){return V(this,1,a)};f.getEntryPoint=function(){return Zi(this,2,0)};f.setEntryPoint=function(a){return V(this,2,a)};f.getApplication=function(){return Zi(this,3,0)};f.setApplication=function(a){return V(this,3,a)};f.getApplicationOrUndefined=function(){return Qr(this,3)};f.setVersionName=function(a){return sk(this,4,a)};
f.getBaselineCl=function(){return qj(this,5)};f.setBaselineCl=function(a){return V(this,5,a)};f.hasBaselineCl=function(){return Yk(this,5)};f.getBaselineClOrUndefined=function(){return st(this,5)};f.getMetadata=function(){return X(this,r3,6)};f.setMetadata=function(a){hj(this,r3,6,a)};
f.toObject=function(){if(null!=this){r(this);var a={clientId:n(Er(this,1)),entryPoint:n(Er(this,2)),application:n(Er(this,3)),versionName:n(Z(this,4)),baselineCl:n(Yb(this,5)),metadata:FWc(this.getMetadata())}}else a=void 0;return a};var Ckb=function(a){this.context_=a};Ckb.prototype.createNewTag=function(a){return new mXc(a)};Ckb.prototype.addEventMetadata=function(a){r1b(a,this.context_.serialize())};var AXc=function(){this.client_info=this.global_metadata=this.ve_metadata=void 0;this.testCodes=[]};var BXc=function(){};BXc.prototype.impressionEvent=function(){return[]};BXc.prototype.interactionEvent=function(){return[]};BXc.prototype.visibilityEvent=function(){return[]};var EXc=function(){if(!CXc){var a=CXc=new y3,b=1E3*Date.now();V(a,1,b);V(CXc,2,0);V(CXc,3,0)}a=(new z3).setBase(CXc);b=++DXc;return V(a,2,b)},DXc=0,CXc=void 0;var D3=function(a){this.internalArray_=m(a,1)};T(D3,p);var FXc={};D3.prototype.toObject=function(){return GXc(this)};var GXc=function(a){if(null!=a){r(a);var b={};Vb(a,b,FXc);return b}};var E3=function(a){this.internalArray_=m(a)};T(E3,p);E3.prototype.toObject=function(){return HXc(this)};var HXc=function(a){if(null!=a)return r(a),{rootEventId:A3(X(a,z3,1))}};var F3=function(a){this.internalArray_=m(a)};T(F3,p);F3.prototype.getEvent=function(){return ck(this,y3,1,IXc)};F3.prototype.setVed=function(a){return yo(this,5,JXc,a)};var IXc=[1,3,4],JXc=[2,5];F3.prototype.toObject=function(){return KXc(this)};var KXc=function(a){if(null!=a)return r(a),{event:nXc(a.getEvent()),clientEvent:A3(ck(a,z3,3,IXc)),ei:n(Io(a,4,IXc)),rootVe:tXc(ck(a,C3,2,JXc)),ved:n(Io(a,5,JXc))}};var G3=function(a){this.internalArray_=m(a,7)};T(G3,p);f=G3.prototype;f.getTarget=function(){return X(this,F3,1)};f.setTarget=function(a){return hj(this,F3,1,a)};f.getType=function(){return Zi(this,2,0)};f.setType=function(a){return V(this,2,a)};f.hasType=function(){return pj(this,2)};var LXc={};G3.prototype.toObject=function(){return MXc(this)};
var MXc=function(a){if(null!=a){r(a);var b={target:KXc(a.getTarget()),type:Zi(a,2,0),cloneTree:KXc(X(a,F3,3)),sourceTree:KXc(X(a,F3,5)),graftTimeUsec:n(Yb(a,4)),dedupe:Tj(a,6,!1)};Vb(a,b,LXc);return b}};var H3=function(a){this.internalArray_=m(a)};T(H3,p);H3.repeatedFields_=[1];H3.prototype.toObject=function(){return NXc(this)};var NXc=function(a){if(null!=a)return r(a),{graftList:Ub(kj(a,G3,1),MXc)}};var I3=function(a){this.internalArray_=m(a)};T(I3,p);I3.prototype.getOffset=function(){return Rh(this,2,0)};I3.prototype.setOffset=function(a){V(this,2,a)};I3.repeatedFields_=[1];I3.prototype.toObject=function(){return OXc(this)};var OXc=function(a){if(null!=a)return r(a),{identifierBaseList:n(Qh(a,1)),offset:Rh(a,2,0)}};var PXc=function(a){this.internalArray_=m(a)};T(PXc,p);PXc.prototype.getEventId=function(){return ck(this,y3,1,QXc)};PXc.prototype.setEventId=function(a){Ao(this,1,QXc,a)};var QXc=[1,2],RXc=[3,6];PXc.prototype.toObject=function(){return SXc(this)};var SXc=function(a){if(null!=a){r(a);var b=nXc(a.getEventId()),c=A3(ck(a,z3,2,QXc));var d=Rh(a,Go(a,RXc,3),-1);return{eventId:b,clientEventId:c,featureIndex:d,featureOffsetIdentifier:OXc(ck(a,I3,6,RXc))}}};var TXc=function(a){this.internalArray_=m(a)};T(TXc,p);TXc.prototype.toObject=function(){return UXc(this)};var UXc=function(a){if(null!=a)return r(a),{reference:KXc(X(a,F3,1))}};var J3=function(a){this.internalArray_=m(a,233)};T(J3,p);J3.prototype.setUiType=function(a){return V(this,1,a)};J3.prototype.setElementIndex=function(a){V(this,3,a)};var VXc=function(a,b){Ab(a,4,b,eb)};J3.prototype.getResultIndex=function(){return ft(this,7)};J3.prototype.setResultIndex=function(a){V(this,7,a)};J3.prototype.setVisible=function(a){return V(this,6,a)};var WXc={};J3.repeatedFields_=[4];J3.prototype.toObject=function(){return XXc(this)};
var XXc=function(a){if(null!=a){r(a);var b={uiType:n(ft(a,1)),elementIndex:Rh(a,3,-1),containsElementsList:n(Qh(a,4)),targetUrl:n(Z(a,5)),resultIndex:n(ft(a,7)),featureTreeRef:SXc(X(a,PXc,11)),visible:Zi(a,6,0),language:n(Z(a,17)),adImpressionIndex:Rh(a,149,-1),dataElement:UXc(X(a,TXc,232))};Vb(a,b,WXc);return b}};var K3=function(a){this.internalArray_=m(a,17)};T(K3,p);f=K3.prototype;f.setVed=function(a){return sk(this,11,a)};f.setUiType=function(a){return V(this,1,a)};f.setVeIndex=function(a){V(this,2,a)};f.setCardinalDirection=function(a){V(this,4,a)};f.getResultIndex=function(){return Rh(this,7,-1)};f.setResultIndex=function(a){V(this,7,a)};f.setElementIndex=function(a){V(this,8,a)};var YXc=function(a,b){nj(a,14,b)},ZXc={};K3.repeatedFields_=[14];K3.prototype.toObject=function(){return $Xc(this)};
var $Xc=function(a){if(null!=a){r(a);var b={clickTrackingCgi:tXc(X(a,C3,16)),ved:n(Z(a,11)),uiType:Rh(a,1,-1),veIndex:Rh(a,2,-1),primaryUserAction:n(ft(a,3)),cardinalDirection:n(ft(a,4)),toggleState:n(ft(a,5)),interactionContext:Rh(a,6,-1),resultIndex:Rh(a,7,-1),elementIndex:Rh(a,8,-1),imageUrl:n(Z(a,9)),imageReferrerUrl:n(Z(a,10)),thumbnailId:n(Z(a,12)),referrerId:n(Z(a,13)),ancestryList:Ub(kj(a,J3,14),XXc),clientInteractionMetadata:GXc(X(a,D3,15))};Vb(a,b,ZXc);return b}};var L3=function(a){this.internalArray_=m(a)};T(L3,p);L3.prototype.getEventId=function(){return X(this,z3,1)};L3.prototype.setEventId=function(a){hj(this,z3,1,a)};L3.repeatedFields_=[2];
L3.prototype.toObject=function(){if(null!=this){r(this);var a={eventId:A3(this.getEventId()),visualElementsList:Ub(kj(this,J3,2),XXc),parentEventId:A3(X(this,z3,3)),ephemeralParentEventId:n(Z(this,6)),snapshotParentEventId:A3(X(this,z3,8)),requestContext:$Xc(X(this,K3,4)),graftType:n(Er(this,5)),grafts:NXc(X(this,H3,7)),coreEventMetadata:HXc(X(this,E3,9))}}else a=void 0;return a};var aYc=function(){};aYc.prototype.createNewTag=function(a){return new w3(a)};aYc.prototype.addEventMetadata=function(){};var M3=function(a){this.internalArray_=m(a)};T(M3,p);var bYc=function(a,b){nj(a,1,b)};M3.prototype.addPath=function(a,b){return Co(this,1,J3,a,b)};M3.prototype.setPath=function(a,b){return $s(this,1,J3,a,b)};M3.repeatedFields_=[1];M3.prototype.toObject=function(){return cYc(this)};var cYc=function(a){if(null!=a)return r(a),{pathList:Ub(kj(a,J3,1),XXc)}};var dYc=Tb(100,{coreGraftMetadata:0},M3,cYc);LXc[100]=dYc;var N3=function(a){this.internalArray_=m(a)};T(N3,p);var eYc=function(a){var b=Date.now().toString();V(a,1,b)};N3.prototype.toObject=function(){return fYc(this)};var fYc=function(a){if(null!=a)return r(a),{clientWallClockTimestamp:n(Yb(a,1))}};var O3=function(a){this.internalArray_=m(a)};T(O3,p);O3.prototype.getTimestamp=function(){return X(this,N3,1)};O3.prototype.setTimestamp=function(a){return hj(this,N3,1,a)};O3.prototype.hasTimestamp=function(){return Nj(this,N3,1)};O3.prototype.toObject=function(){return gYc(this)};var gYc=function(a){if(null!=a)return r(a),{timestamp:fYc(a.getTimestamp())}};var hYc=Tb(126,{coreInteractionMetadata:0},O3,gYc);FXc[126]=hYc;var iYc=Tb(618,{coreVeMetadata:0},O3,gYc);WXc[618]=iYc;var jYc=function(a){this.internalArray_=m(a)};T(jYc,p);jYc.prototype.toObject=function(){return kYc(this)};var kYc=function(a){if(null!=a)return r(a),{isTracked:n(vr(a,1))}};var lYc=Tb(273,{attentionData:0},jYc,kYc);WXc[273]=lYc;var ar=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};T(ar,BXc);ar.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=mYc(this,c,b);b=this.enableBatching_?nYc(this,d,b):oYc(this,d,b);return a.concat(b)};
ar.prototype.interactionEvent=function(a,b){var c=new NC,d=new L3,e=EXc();d.setEventId(e);e=new K3;a.serverVed_?e.setVed(a.serverVed_):e.setUiType(a.getTag().visualElementID_).setVeIndex(a.traversalOrder_);YXc(V(e,3,b.userAction),this.getAncestry_(a));b.cardinalDirection&&e.setCardinalDirection(b.cardinalDirection);b.interactionContext&&V(e,6,b.interactionContext);a.getTag();this.setTimestamp(e);b=new E3;hj(b,z3,1,a.impressionEventID);hj(d,z3,3,a.impressionEventID);hj(d,K3,4,e);hj(d,E3,9,b);JSON.stringify(null,
null,1);s1b(c,d.serialize());return[c]};
ar.prototype.visibilityEvent=function(a,b){for(var c=[],d=new Map,e=0;e<a.length;++e){var g=a[e],h=g.getElement(),l=g.rootImpressionEventID,q=d.get(l);q=q?q:[];var v=new M3;this.enableAncestryLoggingForGrafts_&&bYc(v,this.getAncestry_(g));if(g.neverShown||x3(g.getTag(),"vis"))if(h=this.isVisible_(h,b),g.hidden&&h){h=new G3;h.setType(1);var x=pYc(g);h.setTarget(x);x=h;var A=Date.now();V(x,4,A);this.enableAncestryLoggingForGrafts_&&xr(h,dYc,v);q.push(h);g.hidden=!1;g.neverShown=!1}else g.hidden||h||
(h=new G3,h.setType(2),x=pYc(g),h.setTarget(x),x=h,A=Date.now(),V(x,4,A),this.enableAncestryLoggingForGrafts_&&xr(h,dYc,v),q.push(h),g.hidden=!0);d.set(l,q)}a=k(d.keys());for(b=a.next();!b.done;b=a.next())b=b.value,g=d.get(b),g.length&&(e=new H3,nj(e,1,g),g=new L3,l=EXc(),q=new E3,hj(q,z3,1,b),g.setEventId(l),hj(g,z3,3,b),hj(g,H3,7,e),hj(g,E3,9,q),b=new NC,JSON.stringify(null,null,1),s1b(b,g.serialize()),c.push(b));return c};
ar.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=Xzc(b,new MS(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};
var mYc=function(a,b,c){for(var d=[],e={},g=b.length-1;0<=g;e={$jscomp$loop$prop$impressionEventID$2384:e.$jscomp$loop$prop$impressionEventID$2384,$jscomp$loop$prop$clientVeProto$2385:e.$jscomp$loop$prop$clientVeProto$2385,$jscomp$loop$prop$testCodes$2386:e.$jscomp$loop$prop$testCodes$2386},g--){e.$jscomp$loop$prop$clientVeProto$2385=new L3;e.$jscomp$loop$prop$testCodes$2386=[];e.$jscomp$loop$prop$impressionEventID$2384=EXc();e.$jscomp$loop$prop$clientVeProto$2385.setEventId(e.$jscomp$loop$prop$impressionEventID$2384);
var h=new E3;hj(h,z3,1,e.$jscomp$loop$prop$impressionEventID$2384);hj(e.$jscomp$loop$prop$clientVeProto$2385,E3,9,h);if(h=j0b(window.location.href,"ved"))h=(new K3).setVed(h),hj(e.$jscomp$loop$prop$clientVeProto$2385,K3,4,h);b[g].forEach(function(l){return function(q,v){v.impressionEventID=l.$jscomp$loop$prop$impressionEventID$2384;v.rootImpressionEventID=l.$jscomp$loop$prop$impressionEventID$2384;var x=this.getVisualElementLiteProto_(v);q.length&&VXc(x,q);q=v.getElement();this.isVisible_(q,c)?(v.neverShown=
!1,v.hidden=!1):x.setVisible(1);this.enableAttentionLogging_&&x3(v.getTag(),"hover")&&void 0!==v.traversalOrder_&&(q.setAttribute("data-hveid",Number(v.traversalOrder_)),0===kj(l.$jscomp$loop$prop$clientVeProto$2385,J3,2).length&&zXc(v)&&(q.setAttribute("decode-data-ved","1"),q.setAttribute("data-ved",zXc(v)+"")));this.setTimestamp(x);Co(l.$jscomp$loop$prop$clientVeProto$2385,2,J3,x);l.$jscomp$loop$prop$testCodes$2386=l.$jscomp$loop$prop$testCodes$2386.concat(v.getTag().testCodes_)}}(e),a);h=new NC;
JSON.stringify(null,null,1);s1b(h,e.$jscomp$loop$prop$clientVeProto$2385.serialize());Ab(h,20,e.$jscomp$loop$prop$testCodes$2386,eb);d.push(h)}return d},nYc=function(a,b,c){for(var d=[],e=new Map,g=b.length-1;0<=g;g--){var h=b[g],l=h.keys().next().value.rootImpressionEventID,q=e.get(l)||[];q.push(h);e.set(l,q)}e.forEach(function(v,x){var A=0,G=[],M=new L3,Q=[],Y=EXc();M.setEventId(Y);hj(M,z3,3,x);var W=new E3;hj(W,z3,1,x);hj(M,E3,9,W);for(W=0;W<v.length;W++)for(var ia=v[W],ja=ia.keys(),Aa=ja.next().value,
Da=ia.get(Aa),Oa={},Ta=0;Ta<Da.length;Oa={$jscomp$loop$prop$startingOffset$2388:Oa.$jscomp$loop$prop$startingOffset$2388,$jscomp$loop$prop$cloneTreeRootIndex$2389:Oa.$jscomp$loop$prop$cloneTreeRootIndex$2389},++Ta){var Wa=Aa;Oa.$jscomp$loop$prop$cloneTreeRootIndex$2389=0;Oa.$jscomp$loop$prop$startingOffset$2388=Da[Ta];var Nb=ia.size;Ta!=Da.length-1&&(Nb=Da[Ta+1]);for(var Eb=Oa.$jscomp$loop$prop$startingOffset$2388;Eb<Nb;++Eb){var cb=ja.next().value;Eb==Oa.$jscomp$loop$prop$startingOffset$2388&&(Wa=
cb,Oa.$jscomp$loop$prop$cloneTreeRootIndex$2389=A);cb.impressionEventID=Y;cb.rootImpressionEventID=x;cb.traversalOrder_=A;var sa=ia.get(cb),Ka=this.getVisualElementLiteProto_(cb);sa.length&&VXc(Ka,sa.map(function(Qa){return function(fb){return fb-Qa.$jscomp$loop$prop$startingOffset$2388+Qa.$jscomp$loop$prop$cloneTreeRootIndex$2389}}(Oa)));sa=cb.getElement();this.isVisible_(sa,c)?(cb.neverShown=!1,cb.hidden=!1):Ka.setVisible(1);this.setTimestamp(Ka);Co(M,2,J3,Ka);Q=Q.concat(cb.getTag().testCodes_);
A++}Nb=new G3;Nb.setType(3);Eb=pYc(Aa);Nb.setTarget(Eb);Eb=new F3;cb=new C3;Ka=new M3;cb.setVeIndex(Wa.traversalOrder_);sXc(cb,Wa.getTag().visualElementID_);Ao(Eb,2,JXc,cb);hj(Nb,F3,3,Eb);this.enableAncestryLoggingForGrafts_&&(bYc(Ka,this.getAncestry_(Wa)),xr(Nb,dYc,Ka));G.push(Nb)}G.length&&(v=new H3,nj(v,1,G),hj(M,H3,7,v));G=new NC;JSON.stringify(null,null,1);s1b(G,M.serialize());Ab(G,20,Q,eb);d.push(G)},a);return d},oYc=function(a,b,c){for(var d=[],e=b.length-1;0<=e;e--)for(var g=b[e],h=g.keys(),
l=h.next().value,q=g.get(l),v={},x=0;x<q.length;v={$jscomp$loop$prop$startingOffset$2391:v.$jscomp$loop$prop$startingOffset$2391},++x){v.$jscomp$loop$prop$startingOffset$2391=q[x];var A=g.size;x!=q.length-1&&(A=q[x+1]);var G=new L3,M=[],Q=EXc(),Y=new E3;hj(Y,z3,1,l.impressionEventID);G.setEventId(Q);hj(G,z3,3,l.impressionEventID);V(G,5,3);hj(G,E3,9,Y);Y=new K3;l.serverVed_?Y.setVed(l.serverVed_):Y.setUiType(l.getTag().visualElementID_).setVeIndex(l.traversalOrder_);YXc(Y,a.getAncestry_(l));hj(G,K3,
4,Y);for(Y=v.$jscomp$loop$prop$startingOffset$2391;Y<A;++Y){var W=h.next().value;W.impressionEventID=Q;W.rootImpressionEventID=l.rootImpressionEventID;void 0!=W.traversalOrder_&&(W.traversalOrder_-=v.$jscomp$loop$prop$startingOffset$2391);var ia=g.get(W),ja=a.getVisualElementLiteProto_(W);ia.length&&VXc(ja,ia.map(function(Aa){return function(Da){return Da-Aa.$jscomp$loop$prop$startingOffset$2391}}(v)));ia=W.getElement();a.isVisible_(ia,c)?(W.neverShown=!1,W.hidden=!1):ja.setVisible(1);a.enableAttentionLogging_&&
x3(W.getTag(),"hover")&&void 0!==W.traversalOrder_&&(ia.setAttribute("data-hveid",Number(W.traversalOrder_)),0===kj(G,J3,2).length&&zXc(W)&&(ia.setAttribute("decode-data-ved","1"),ia.setAttribute("data-ved",zXc(W)+"")));a.setTimestamp(ja);Co(G,2,J3,ja);M=M.concat(W.getTag().testCodes_)}A=new NC;JSON.stringify(null,null,1);s1b(A,G.serialize());Ab(A,20,M,eb);d.push(A)}return d};
ar.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};ar.prototype.getVisualElementLiteProto_=function(a){var b=(new J3).setUiType(a.getTag().visualElementID_);null!=a.getTag().getIndex()&&b.setElementIndex(a.getTag().getIndex());lXc(a.getTag(),b);this.enableAttentionLogging_&&x3(a.getTag(),"hover")&&(a=new jYc,Vj(a,1,!0),xr(b,lYc,a));return b};
var pYc=function(a){var b=new F3;if(a.serverVed_)b.setVed(a.serverVed_);else{var c=new C3;Ao(b,3,IXc,a.impressionEventID);c.setVeIndex(a.traversalOrder_);sXc(c,a.getTag().visualElementID_);Ao(b,2,JXc,c)}return b};ar.prototype.setTimestamp=function(a){if(a instanceof K3&&(!X(a,D3,15)||!X(a,D3,15).getExtension(hYc))){var b=new O3,c=new N3,d=X(a,D3,15);d||(d=new D3);eYc(c);b.setTimestamp(c);xr(d,hYc,b);hj(a,D3,15,d)}a instanceof J3&&(b=new O3,c=new N3,eYc(c),b.setTimestamp(c),xr(a,iYc,b))};var qYc=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(),g=Math.max(0,16-(e-c));c=e+g;return window.setTimeout(function(){d(e+g)},g)};window.cancelAnimationFrame||(window.cancelAnimationFrame=
function(d){clearTimeout(d)})}})();var rYc=function(){},sYc=[[],[]],tYc=0,uYc=!1,vYc=null,wYc=0,xYc=0,yYc=0,zYc=0,AYc=0,BYc=function(a){this.mutate_=this.measure_=void 0;this.runInCurrentFrameIfPossible_=!1;this.context_=a;this.state_ctor_=rYc};BYc.prototype.measure=function(a){this.measure_=a;return this};BYc.prototype.mutate=function(a){this.mutate_=a;return this};BYc.prototype.runInCurrentFrameIfPossible=function(){this.runInCurrentFrameIfPossible_=!0;return this};
BYc.prototype.build=function(){return CYc({measure:this.measure_,mutate:this.mutate_,stateCtor:this.state_ctor_,runInCurrentFrameIfPossible:this.runInCurrentFrameIfPossible_},this.context_)};
var CYc=function(a,b){var c=AYc++,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:[]},g=e;return function(){var h=0!==g.phase;h&&(g=Object.assign({phase:0},e));b||(g.context=this);g.args=Array.prototype.slice.call(arguments);d>arguments.length&&g.args.push(new a.stateCtor);h&&(h=tYc,!a.runInCurrentFrameIfPossible||0==zYc||a.measure&&1!=zYc||(h=(h+1)%2),sYc[h].push(g));return DYc()}},EYc=function(a,b){uYc=!1;var c={};
zYc=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(g){c[d]=!0,baa(g)}}}zYc=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(g){baa(g)}}0<wYc&&1<b&&(a=b-wYc,500>a&&(qYc++,100<a&&xYc++,yYc<a&&(yYc=a)));wYc=uYc&&1<b?b:0},DYc=function(){uYc||(uYc=!0,vYc=new Promise(function(a){window.requestAnimationFrame(function(b){var c=
sYc[tYc];tYc=(tYc+1)%2;try{EYc(c,b)}finally{zYc=0,c.length=0}a()})}));return vYc};var FYc=function(a,b){this.tagPopulator_=a;this.expectXidTagComponents_=b||!1;this.componentID_=void 0},v3=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||Mk(d)||d!=c.getTag().getAttribute()));if(d)return c;d=b.getAttribute("jslog");if(!d)return null;d=GYc(a,d);if(!d||(d.getComponentID()||a.componentID_)&&
d.getComponentID()!=a.componentID_)return null;a=new wXc(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{b:{if(FKb.length){var g=FKb.pop();g.setOptions();g.decoder_.init(c,void 0,void 0,void 0);var h=g}else h=new EKb(c);try{var l=mca(uXc).ctor;var q=qca(uXc)(new l,h);break b}finally{h.free()}q=void 0}e=X(q,z3,13)}catch(v){e=
null}}e&&(a.impressionEventID=e,a.rootImpressionEventID=e)}return b.LSWHIf=a},GYc=function(a,b){if(Mk(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 g=c[e].trim();if(!Mk(g)){var h=uQb(g);if(2>h.length)return null;g=h[0].trim();h=h[1].trim();if(Mk(g)||Mk(h))return null;switch(g){case a.maybeXidPartLabel_("track"):g=h.split(",");for(h=0;h<g.length;++h){var l=g[h].trim();if(a.expectXidTagComponents_){if(!d.xidTagComponents_)throw Error("Oe");
if(!hXc.has(l))throw Error("Pe`"+l);d.tracks_.add(l)}else d.tracks_.add(d.maybeXidEventLabel_(l))}break;case a.maybeXidPartLabel_("index"):d.setIndex(Number(h));break;case a.maybeXidPartLabel_("tc"):g=h.split(",");g=g.map(Number);g=g.filter(Number.isInteger);d.testCodes_=g;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)};
FYc.prototype.maybeXidPartLabel_=function(a){return this.expectXidTagComponents_?wkb(a):a};FYc.prototype.setComponentID=function(a){this.componentID_=a};FYc.prototype.getComponentID=function(){return this.componentID_};var HYc=function(a,b){this.visualElementProvider_=a;this.traverseShadowDom_=void 0===b?!1:b},cXc=function(a,b){return IYc(a,b).filter(function(c){return null!=v3(this.visualElementProvider_,c)},a)},JYc=function(a,b){var c=a.visualElementProvider_;a=[];for(var d=void 0,e={},g=0;g<b.length;e={$jscomp$loop$prop$parent$2393:e.$jscomp$loop$prop$parent$2393},++g){var h=v3(c,b[g]);void 0==h.traversalOrder_&&void 0==h.serverVed_&&(e.$jscomp$loop$prop$parent$2393=void 0,Akb(b[g],function(l){return function(q){q=
v3(c,q);return null!=q?(l.$jscomp$loop$prop$parent$2393=q,!0):!1}}(e),!1),e.$jscomp$loop$prop$parent$2393?d&&d.has(e.$jscomp$loop$prop$parent$2393)||(d=new Map,a.unshift(d),d.set(e.$jscomp$loop$prop$parent$2393,[]),xXc=1):(d=new Map,a.unshift(d),xXc=0),yXc(h),h.setParent(e.$jscomp$loop$prop$parent$2393),d.set(h,[]),e.$jscomp$loop$prop$parent$2393&&d.get(e.$jscomp$loop$prop$parent$2393).push(h.traversalOrder_))}return a},KYc=function(a,b){var c=a.visualElementProvider_;return b.map(function(d){return v3(c,
d)})},IYc=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},xXc=0;var LYc=function(a,b){SB.call(this,"visibilitychange");this.hidden=a;this.visibilityState=b};T(LYc,SB);var MYc=function(a){Ro.call(this);this.domHelper_=a||Uo();if(this.eventType_=this.getBrowserEventType_())this.eventKey_=So(this.domHelper_.document_,this.eventType_,Ls(this.handleChange_,this))};Ns(MYc,Ro);f=MYc.prototype;f.getBrowserEventType_=Gp(function(){var a=!!this.getHiddenPropertyName_(),b="hidden"!=this.getHiddenPropertyName_();if(a){var c;b?c=(((Ss?"Webkit":Rs?"Moz":Ps?"ms":null)||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});
f.getHiddenPropertyName_=Gp(function(){return Wzc("hidden",this.domHelper_.document_)});f.getVisibilityStatePropertyName_=Gp(function(){return Wzc("visibilityState",this.domHelper_.document_)});f.isHidden=function(){return!!this.domHelper_.document_[this.getHiddenPropertyName_()]};f.handleChange_=function(){var a=this.getHiddenPropertyName_()?this.domHelper_.document_[this.getVisibilityStatePropertyName_()]:null;a=new LYc(this.isHidden(),a);this.dispatchEvent(a)};
f.disposeInternal=function(){ZB(this.eventKey_);MYc.superClass_.disposeInternal.call(this)};var P3=function(a,b,c,d,e,g,h){var l=this,q=void 0===d?{}:d,v=void 0===q.backgroundJobDeferrer?void 0:q.backgroundJobDeferrer;d=void 0===q.expectXidTagComponents?!1:q.expectXidTagComponents;q=void 0===q.traverseShadowDom?!1:q.traverseShadowDom;uq.call(this);this.eventBuilder_=a;this.expectXidTagComponents_=d;this.metadataHandler_=b||new aYc;this.visualElementProvider_=new FYc(this.metadataHandler_,this.expectXidTagComponents_);this.transport_=c;this.eventToActionMap_={click:3};this.eventToTracksLabelMap_=
{click:this.maybeXidEventLabel_("generic_click")};this.root_=this.domHelper_=this.invariantData_=this.appInfo_=void 0;this.pageVisibilityMonitor_=new MYc;this.logImpressionsTask_=(new BYc(this)).measure(v?function(){return v().then(l.handleImpressions_.bind(l))}:this.handleImpressions_).runInCurrentFrameIfPossible().build();this.logImpressionsThrottle_=new ftc(this.logImpressionsTask_,500,this);this.traverser_=h||new HYc(this.visualElementProvider_,q);this.listeners_=[];this.impressionListeners_=
[];this.eventBuilder_ instanceof BXc&&(this.eventHandler_=this.eventBuilder_);this.zwiebackId_=e;this.windowProvider_=g};Ns(P3,uq);P3.prototype.setComponentID=function(a){this.visualElementProvider_.setComponentID(a)};P3.prototype.logImpressions=function(){this.domHelper_&&this.logImpressionsThrottle_.fire()};
var OYc=function(a,b,c,d){var e=NYc(d),g=a.getIndex(c);var h=new t3;h=V(h,4,b);var l=c.getTag().visualElementID_;h=V(h,1,l);e=Ab(h,3,e,eb);null!=g&&e.setElementIndex(g);g=new AXc;g.ve_metadata=a.getMetadata(c,d);g.global_metadata=a.invariantData_;g.client_info=a.appInfo_;c=r1b(new NC,e.serialize());c=Ab(c,20,g.testCodes,eb);a.transport_&&SC(a.transport_,c);if(null!=b)for(b=new bXc(b),c=0;c<a.listeners_.length;c++)a.listeners_[c](b)};
P3.prototype.log=function(a){this.transport_&&SC(this.transport_,a)};var PYc=function(a){for(var b=0;b<a.impressionListeners_.length;b++)a.impressionListeners_[b]()};P3.prototype.getIndex=function(a){return a.getTag().getIndex()};var NYc=function(a){return a.map(function(b){return b.getTag().visualElementID_})};P3.prototype.getMetadata=function(a,b){var c=new J3;lXc(a.getTag(),c);for(a=0;a<b.length;++a)lXc(b[a].getTag(),c);return c};
var QYc=function(a,b,c){var d,e=a.visualElementProvider_,g=a.eventToTracksLabelMap_[b];Akb(c,function(h){if(!jC(h))return!1;h=v3(e,h);var l;if(l=null!=h)if(l=h.getTag(),this.expectXidTagComponents_){if(!l.xidTagComponents_)throw Error("Oe");if(!hXc.has(g))throw Error("Pe`"+g);l=l.tracks_.has(g)}else l=x3(l,g);return l?(d=h,!0):!1}.bind(a),!0);return d};
P3.prototype.getAncestry_=function(a){var b=[],c=this.visualElementProvider_;Akb(a,function(d){if(!jC(d))return!1;d=v3(c,d);null!=d&&b.push(d);return!1},!1);return b};
P3.prototype.handleImpressions_=function(){if(!this.pageVisibilityMonitor_.isHidden()&&this.root_){var a=!!(window.performance&&window.performance.mark&&window.performance.measure&&window.performance.clearMeasures&&window.performance.clearMarks);a&&(window.performance.clearMeasures("ZVwBtb"),window.performance.clearMarks("KtiTlc"),window.performance.mark("KtiTlc"));var b=cXc(this.traverser_,this.root_);if(this.eventHandler_){var c=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):
this.domHelper_.getViewportSize();c=new MS(0,0,c.width,c.height);dXc(this,b,c);eXc(this,b,c);PYc(this)}else{c=[];var d=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();d=new MS(0,0,d.width,d.height);for(var e=0;e<b.length;e++){var g=b[e];this.isVisible_(g,d)&&(g=v3(this.visualElementProvider_,g))&&x3(g.getTag(),"impression")&&c.push(g)}for(b=0;b<c.length;b++)d=c[b],d.loggedImpression_||(e=this.getAncestry_(d.getElement()),OYc(this,void 0,
d,e),PYc(this),d.loggedImpression_=!0)}a&&window.performance.measure("ZVwBtb","KtiTlc")}};P3.prototype.isVisible_=function(a,b){if(a.hasAttribute("ve-visible"))return"true"==a.getAttribute("ve-visible");a=a.getBoundingClientRect();return(b=Xzc(b,new MS(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};P3.prototype.maybeXidEventLabel_=function(a){return this.expectXidTagComponents_?ukb(a):a};
var dXc=function(a,b,c){b=JYc(a.traverser_,b);if(b.length)for(c=a.eventHandler_.impressionEvent(b,c),b=0;b<c.length;++b)a.metadataHandler_.addEventMetadata(c[b]),sk(c[b],28,a.zwiebackId_),a.transport_&&SC(a.transport_,c[b])},eXc=function(a,b,c){b=KYc(a.traverser_,b);c=a.eventHandler_.visibilityEvent(b,c);if(c.length)for(b=0;b<c.length;++b)a.metadataHandler_.addEventMetadata(c[b]),a.zwiebackId_&&sk(c[b],28,a.zwiebackId_),a.transport_&&SC(a.transport_,c[b])},fXc=function(a,b,c){b=a.eventHandler_.interactionEvent(b,
c);for(c=0;c<b.length;++c)a.metadataHandler_.addEventMetadata(b[c]),a.zwiebackId_&&sk(b[c],28,a.zwiebackId_),a.transport_&&SC(a.transport_,b[c])};var br=function(a,b,c,d,e,g,h,l,q,v,x,A){e=void 0===e?!1:e;q=void 0===q?!1:q;b=l?l:new Uwc(b,c,d,void 0,void 0,void 0,g);P3.call(this,a,h||null,b,{expectXidTagComponents:e,backgroundJobDeferrer:g,traverseShadowDom:q},v,x,A);this.clearcut_=b;this.clearcut_.setClientSideLogOnlyForDevelopment(!1);a=this.clearcut_;a.useSendBeaconForFinalFlush=a.isSendBeaconSupported;this.clearcut_.useGetRequestForFinalFlush=!0};Ns(br,P3);br.prototype.setClearcutClientInfo=function(a){this.clearcut_.setClearcutClientInfo(a)};
br.prototype.setBuildLabel=function(a){this.clearcut_.setBuildLabel(a)};br.prototype.setClientSideLogOnlyForDevelopment=function(a){this.clearcut_.setClientSideLogOnlyForDevelopment(a)};var RYc=function(a){this.tracker=a};var SYc=function(a,b){this.root=a;this.handler=b;this.eventHandler=vq(this)};SYc.prototype.observe=function(){var a=this;this.observer||(this.observer=new MutationObserver(function(b){a.onMutation(b)}),this.observer.observe(this.root,{childList:!0,subtree:!0}),this.eventHandler.listen(this.root,ZTc,function(b){var c=a.handler.tracker,d=b.type,e=c.eventToActionMap_[d];if(e&&(d=QYc(c,d,b.target)))if(c.eventHandler_)fXc(c,d,new bXc(e));else{var g=c.getAncestry_(d.getElement());OYc(c,e,d,g)}b.stopPropagation()}))};
SYc.prototype.dispose=function(){var a;null==(a=this.observer)||a.disconnect();this.eventHandler.removeAll()};SYc.prototype.onMutation=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,"childList"===b.type){b=k(b.addedNodes);for(var c=b.next();!c.done;c=b.next())c=c.value,c instanceof Element&&(c.querySelectorAll("[jsLog]").length||c.getAttribute("jsLog"))&&this.handler.tracker.logImpressions()}};var alb=function(a,b){this.root=a;this.tracker=b;this.observer=new SYc(this.root,new RYc(this.tracker))};
alb.prototype.start=function(){this.tracker.setComponentID("peopleweb");var a=this.tracker,b=this.root;a.domHelper_=new aC;a.root_=b||a.domHelper_.document_.body;b=a.domHelper_.document_;"interactive"!=b.readyState&&"complete"!=b.readyState||a.logImpressions();a.listenOnce(b,"load",a.logImpressions,!1);a.listenOnce(b,"DOMContentLoaded",a.logImpressions,!1);a.listen(a.pageVisibilityMonitor_,"visibilitychange",a.logImpressions,!1);a.listen(b,"scroll",a.logImpressions,!0);a=k($Tc);for(b=a.next();!b.done;b=
a.next()){var c=k(b.value);b=c.next().value;c=c.next().value;var d=this.tracker;d.eventToActionMap_[b]=c;d.eventToTracksLabelMap_[b]=d.maybeXidEventLabel_(b)}this.observer.observe()};alb.prototype.stop=function(){this.observer.dispose()};var Ur=function(a){this.internalArray_=m(a)};T(Ur,p);var Q3=function(a,b){return Vj(a,1,b)};f=Ur.prototype;f.getProvenance=function(){return Zi(this,2,0)};f.setProvenance=function(a){return V(this,2,a)};f.getCode=function(){return Zi(this,3,0)};f.setCode=function(a){return V(this,3,a)};f.toObject=function(){return TYc(this)};var TYc=function(a){if(null!=a)return r(a),{isLateLoaded:n(vr(a,1)),provenance:n(Er(a,2)),code:n(Er(a,3))}};var R3=function(a){this.internalArray_=m(a)};T(R3,p);R3.prototype.getSource=function(){return X(this,Ur,1)};R3.prototype.setSource=function(a){return hj(this,Ur,1,a)};R3.prototype.hasSource=function(){return Nj(this,Ur,1)};var S3=function(a,b){return V(a,2,b)},T3=function(a,b){return V(a,3,b)};R3.prototype.toObject=function(){return UYc(this)};var UYc=function(a){if(null!=a)return r(a),{source:TYc(a.getSource()),statusAtQuery:n(Er(a,2)),statusAtResult:n(Er(a,3))}};var VYc=function(){this.filter_=null};VYc.prototype.getFilter=function(){return this.filter_};VYc.prototype.setFilter=function(a){this.filter_=a;return this};var WYc=function(a){this.internalArray_=m(a)};T(WYc,p);f=WYc.prototype;f.getEnd=function(){return Rh(this,2,0)};f.setEnd=function(a){return V(this,2,a)};f.getTotalItems=function(){return Rh(this,3,0)};f.setTotalItems=function(a){return V(this,3,a)};f.getCode=function(){return Zi(this,4,2)};f.setCode=function(a){return V(this,4,a)};f.getCacheState=function(){return X(this,R3,5)};f.setCacheState=function(a){return hj(this,R3,5,a)};f.hasCacheState=function(){return Nj(this,R3,5)};
f.toObject=function(){if(null!=this){r(this);var a={begin:Rh(this,1,0),end:Rh(this,2,0),totalItems:Rh(this,3,0),code:Zi(this,4,2),cacheState:UYc(this.getCacheState())}}else a=void 0;return a};var XYc=function(a,b){this.results_=a;this.metadata_=b};XYc.prototype.getResults=function(){return this.results_};XYc.prototype.getMetadata=function(){return this.metadata_};var YYc=function(){this.filter_=null;this.originator_=this.queryScope_=0;this.useOriginalDisplayValue_=!1};f=YYc.prototype;f.getFilter=function(){return this.filter_};f.setFilter=function(a){this.filter_=a;return this};f.getQueryScope=function(){return this.queryScope_};f.setQueryScope=function(a){this.queryScope_=a;return this};f.getOriginator=function(){return this.originator_};f.setOriginator=function(a){this.originator_=a;return this};
f.clone=function(){var a=(new YYc).setFilter(this.getFilter()).setOriginator(this.getOriginator()).setQueryScope(this.getQueryScope());a.useOriginalDisplayValue_=this.useOriginalDisplayValue_;return a};var ZYc=function(){this.isLastCallback_=this.isFirstCallback_=!1;this.notFoundIdList_=[];this.code_=2;this.cacheState_=new R3};f=ZYc.prototype;f.getIsFirstCallback=function(){return this.isFirstCallback_};f.getIsLastCallback=function(){return this.isLastCallback_};f.getCode=function(){return this.code_};f.getCacheState=function(){return this.cacheState_};f.setIsFirstCallback=function(a){this.isFirstCallback_=a;return this};f.setIsLastCallback=function(a){this.isLastCallback_=a;return this};
f.setCallbackNumber=function(){return this};f.setCode=function(a){this.code_=a;return this};f.setCacheState=function(a){this.cacheState_=a;return this};var $Yc=function(a,b){this.results_=a;this.metadata_=b};$Yc.prototype.getResults=function(){return this.results_};$Yc.prototype.getMetadata=function(){return this.metadata_};var U3=function(a){this.internalArray_=m(a)};T(U3,p);f=U3.prototype;f.getQuery=function(){return U(this,1,"")};f.setQuery=function(a){return sk(this,1,a)};f.clearQuery=function(){ct(this,1)};f.hasQuery=function(){return Hk(this,1)};f.getIsFirstCallback=function(){return Tj(this,2,!1)};f.setIsFirstCallback=function(a){return Vj(this,2,a)};f.getIsLastCallback=function(){return Tj(this,3,!1)};f.setIsLastCallback=function(a){return Vj(this,3,a)};f.setCallbackNumber=function(a){return V(this,4,a)};
f.getNextPageToken=function(){return U(this,5,"")};f.getCode=function(){return Zi(this,6,2)};f.setCode=function(a){return V(this,6,a)};f.getCacheState=function(){return X(this,R3,7)};f.setCacheState=function(a){return hj(this,R3,7,a)};f.hasCacheState=function(){return Nj(this,R3,7)};
f.toObject=function(){if(null!=this){r(this);var a={query:U(this,1,""),isFirstCallback:Tj(this,2,!1),isLastCallback:Tj(this,3,!1),callbackNumber:Rh(this,4,-1),nextPageToken:U(this,5,""),code:Zi(this,6,2),cacheState:UYc(this.getCacheState())}}else a=void 0;return a};var V3=function(a,b){this.results_=a;this.metadata_=b};V3.prototype.getResults=function(){return this.results_};V3.prototype.getMetadata=function(){return this.metadata_};var aZc={create:function(a,b,c,d,e){e=void 0===e?new dr:e;return Fkb(a,b,c,d,new FSc,{sessionOptions:e})},createWith:function(a,b,c,d,e){e=void 0===e?{}:e;return Fkb(a,b,c,d,new FSc,e)},createConfig:function(a){var b;void 0===a?b=new Qwc(Swc.apiEnv,new Rwc(Swc.userProfileId)):b=a;return new sWc(b)}};var Lr=function(a){this.internalArray_=m(a)};T(Lr,p);f=Lr.prototype;f.getTimestamp=function(){return qj(this,1)};f.setTimestamp=function(a){return V(this,1,a)};f.hasTimestamp=function(){return Yk(this,1)};f.getAffinityVersion=function(){return Rh(this,2)};f.setAffinityVersion=function(a){V(this,2,a)};f.getAffinityVersionOrUndefined=function(){return rt(this,2)};f.getTotalItems=function(){return Rh(this,3)};f.setTotalItems=function(a){return V(this,3,a)};
f.getNextPageToken=function(){return U(this,4)};f.getCode=function(){return Zi(this,6,0)};f.setCode=function(a){return V(this,6,a)};f.toObject=function(){if(null!=this){r(this);var a={timestamp:n(Yb(this,1)),affinityVersion:n(ft(this,2)),totalItems:n(ft(this,3)),nextPageToken:n(Z(this,4)),skipIndexing:n(vr(this,5)),code:n(Er(this,6))}}else a=void 0;return a};var bZc=function(){this.bits_=[]};f=bZc.prototype;f.and=function(a){for(var b=new bZc,c=k(this),d=c.next();!d.done;d=c.next())d=d.value,a.bits_[d]&&(b.bits_[d]=!0);return b};f.or=function(a){for(var b=new bZc,c=k(this),d=c.next();!d.done;d=c.next())b.bits_[d.value]=!0;a=k(a);for(d=a.next();!d.done;d=a.next())b.bits_[d.value]=!0;return b};f.get=function(a){return!!this.bits_[a]};f.set=function(a){this.bits_[a]=!0};f.setAll=function(a){var b=a;for(a+=NaN;b<a;b++)this.bits_[b]=!0};
f.clear=function(a){this.bits_[a]=!1};bZc.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 ilb=RegExp("[\\s,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]+","g"),klb=/^[<"']|[>"']$/g,glb=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"),cZc=/[^a-z0-9]+/gi,jlb=String.prototype.normalize?function(a){return a.normalize("NFKC")}:function(a){return a};var dZc=function(a,b){this.key=a;this.terms=llb(b)};var W3=function(a,b,c){b=void 0===b?"":b;c=void 0===c?new bZc:c;this.items_=a;this.prefix_=b;this.matchIndices_=c;this.childNodes_={};this.isExpanded_="\u2026"===b};W3.prototype.cloneNode=function(a){for(var b=[],c=k(this.items_),d=c.next();!d.done&&(d=d.value,!a.loadOrSkip(d.key)||(b.push(d),!a.isDone()));d=c.next());return new W3(b)};
W3.prototype.getMatches=function(a){for(var b=[],c=k(this.prefix_?this.matchIndices_:nlb(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};
W3.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 g=c.charAt(e),h=d;if(!h.isExpanded_){for(var l=k(h.prefix_?h.matchIndices_:nlb(h.items_.length)),q=l.next();!q.done;q=l.next()){var v=h;q=q.value;for(var x=v.prefix_+"\ufdc7",A=k(v.items_[q].terms),G=A.next();!G.done;G=A.next())G=G.value,G.length<=v.prefix_.length||G<v.prefix_||G>x||(G=G.charAt(v.prefix_.length),v.childNodes_[G]||(v.childNodes_[G]=new W3(v.items_,v.prefix_+G)),v.childNodes_[G].matchIndices_.set(q))}h.isExpanded_=
!0}d=d.childNodes_[g]||X3;if(d===X3)break}return d}).reduce(function(c,d){return c.and(d)}):this};var eZc=function(a){a.isExpanded_=!1;for(var b=k(Object.keys(a.childNodes_)),c=b.next();!c.done;c=b.next())c=a.childNodes_[c.value],c.isExpanded_&&eZc(c)};W3.prototype.and=function(a){a=this.matchIndices_.and(a.matchIndices_);return new W3(this.items_,"\u2026",a)};W3.prototype.or=function(a){a=this.matchIndices_.or(a.matchIndices_);return new W3(this.items_,"\u2026",a)};var X3=new W3([]);
X3.isExpanded_=!0;var fZc=function(a,b,c){this.expiry_=a;this.value_=b;this.stale_=c};fZc.prototype.getExpiry=function(){return this.expiry_};fZc.prototype.getValue=function(){return this.value_};fZc.prototype.isExpired=function(){return this.expiry_<Date.now()};fZc.prototype.isStale=function(){return this.stale_<Date.now()};var gZc=function(a){this.shouldEvictItem_=a;this.items_=new Map};f=gZc.prototype;f.size=function(){return this.items_.size};f.clear=function(){this.items_.clear()};f.has=function(a){return this.items_.has(a)};f.get=function(a){var b=this.items_.get(a);this.items_.has(a)&&(this.items_.delete(a),this.items_.set(a,b));return b};
f.set=function(a,b){this.items_.has(a)&&this.items_.delete(a);this.items_.set(a,b);b=k(this.items_.entries().next().value);a=b.next().value;b=b.next().value;this.shouldEvictItem_(a,b)&&this.items_.delete(a);return this};f.delete=function(a){return this.items_.delete(a)};f.compact=function(){for(var a=0,b=k(this.items_),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;this.shouldEvictItem_(c,d)&&(this.items_.delete(c),a++)}return a};
var hZc=function(){var a=new gZc(function(){return 1E3<a.size()});return a};var iZc=function(a,b){var c=this;this.capacity_=a;this.itemFactory_=b;this.delegate_=new gZc(function(d,e){return e.isExpired()||c.delegate_.size()>c.capacity_})};f=iZc.prototype;f.get=function(a){var b=this.delegate_.get(a);if(b)if(b.isExpired())this.delegate_.delete(a);else return b.getValue()};f.set=function(a,b){b=this.itemFactory_(b);this.delegate_.set(a,b);return this};f.has=function(a){return!!this.get(a)};f.size=function(){return this.delegate_.size()};f.clear=function(){this.delegate_.clear()};
f.delete=function(a){return this.delegate_.delete(a)};f.compact=function(){return this.delegate_.compact()};var Y3=function(a,b){return new iZc(a,function(c){var d=Date.now()+b;return new fZc(d,c,d)})};var Z3=function(a){this.internalArray_=m(a)};T(Z3,p);f=Z3.prototype;f.getCacheSize=function(){return Rh(this,3,500)};f.setCacheSize=function(a){V(this,3,a)};f.hasCacheSize=function(){return Pk(this,3)};f.getCacheStaleSec=function(){return rj(this,4,86400)};f.getCacheExpiredSec=function(){return rj(this,5,1209600)};f.getRpcTimeoutSec=function(){return rj(this,12,60)};f.getSuggestFormat=function(){return Zi(this,15,1)};f.getSearchFormat=function(){return Zi(this,16,1)};Z3.repeatedFields_=[24,25];
Z3.prototype.toObject=function(){return jZc(this)};
var jZc=function(a){if(null!=a)return r(a),{suggestMaxResults:Rh(a,1,10),searchMaxResults:Rh(a,2,10),cacheSize:Rh(a,3,500),cacheStaleSec:rj(a,4,86400),cacheExpiredSec:rj(a,5,1209600),lruCacheCapacity:Rh(a,6,500),lruCacheExpiredSec:Rh(a,7,43200),autocompleteIndexCapacity:Rh(a,8,250),autocompleteIndexExpiredSec:rj(a,9,3600),notFoundCapacity:Rh(a,10,500),notFoundExpiredSec:rj(a,11,600),rpcTimeoutSec:rj(a,12,60),serverWarmupThrottleSec:rj(a,13,60),cacheFlushThrottleSec:rj(a,14,300),suggestFormat:Zi(a,
15,1),searchFormat:Zi(a,16,1),lookupFormat:Zi(a,17,1),listFormat:Zi(a,18,1),coalescedSortOrder:Zi(a,19,1),preferSource:Zi(a,20,1),enableEmailPlaceholders:Tj(a,21,!1),allowEmptyTargets:Tj(a,22,!1),singleIant:Tj(a,23,!1),iantApplicationList:n(cl(a,24)),idTypesList:n(cl(a,25)),smartAddressIndexCapacity:Rh(a,26,10),smartAddressIndexExpiredSec:rj(a,27,600),supportSmtpAddresses:Tj(a,28,!1),contextualSuggestMaxAdditionResults:Rh(a,29,3),enableBoosting:Tj(a,30,!1),boostIndexCapacity:Rh(a,31,5),boostIndexExpiredSec:rj(a,
32,3600),enableInterleavedGroups:Tj(a,33,!1),enableSlotReservations:Tj(a,34,!1)}};var plb=new Set([10,11]);var kZc=function(a){this.interleaveGroups_=Tj(a,33,!1)},lZc=function(a,b,c){return b.filter(function(d){return 8!==d.provenance}).sort(function(d,e){a:{var g=a.interleaveGroups_;switch(c){case 2:d=qlb(d,e,g,!0);break a;default:d=rlb(d,e,g)}}return d}).map(function(d){return String(d.id)})};var mZc=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new kZc(e);this.indexes_=Y3(Rh(e,8,250),1E3*rj(e,9,3600));this.maxResults_=Rh(e,2,10)};f=mZc.prototype;f.getCacheType=function(){return 3};f.flush=function(){this.indexes_.clear()};
f.fetch=function(a){var b=this,c,d;return pe(function(e){switch(e.nextAddress){case 1:c=Q3(new Ur,!0).setProvenance(7).setCode(0);if(b.canSkipFetch_(a))return e.return(Q3(c,!1));qe(e,2);return e.yield(b.adapter_.search(a.getPrefix(),b.maxResults_),4);case 4:d=e.yieldResult;Hs(e,3);break;case 2:return te(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new Lr),e.return(c)}catch(g){return e.return(c.setCode(13))}}})};
f.canSkipFetch_=function(a){return a.isSuggestQuery()?!0:3===a.queryScope()?!1:this.indexes_.has(a.getPrefix())?!0:!1};f.index=function(a,b){for(var c=lZc(this.ranker_,b,1),d=k(b),e=d.next();!e.done;e=d.next())this.targetFactory_.processItem(e.value);d=3===a.queryScope();this.storage_.storeItems(1,b,d);b=nZc(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)};f.search=function(a){return a.isSuggestQuery()||!this.indexes_.has(a.getPrefix())?[]:this.indexes_.get(a.getPrefix()).search([]).getMatches(a.getCollector())};var oZc=function(a,b,c){this.adapter_=a;this.targetFactory_=b;this.indexer_=c};oZc.prototype.getStageType=function(){return 2};oZc.prototype.index_=function(a,b){for(var c=k(a),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.indexer_.storeItems(a,b)};
oZc.prototype.lookup=function(a){var b=this,c,d,e,g,h,l,q,v,x;return pe(function(A){switch(A.nextAddress){case 1:return c=new Map,d=Q3(new Ur,!0).setProvenance(7).setCode(0),e=3===a.queryScope(),g=pZc(a),qe(A,2),A.yield(b.adapter_.lookup(g),4);case 4:h=A.yieldResult;Hs(A,3);break;case 2:return te(A),d.setCode(13),a.notify(c,[],d),A.return();case 3:b.index_(h,e);l=k(g);for(q=l.next();!q.done;q=l.next())v=q.value,(x=b.indexer_.load(v,a.getFormat(),a.getOptions().useOriginalDisplayValue_))&&c.set(v,
x);a.notify(c,[],d);ue(A)}})};var qZc=function(a,b){this.metrics_=a;this.state_=new pS(b);this.source=b;this.label_="total"};qZc.prototype.call=function(){this.metrics_.count(this.state_);this.metrics_.start(this.state_,this.label_)};qZc.prototype.result=function(a){this.metrics_.stop(this.state_,this.label_);this.metrics_.status(this.state_,a)};var rZc=function(a,b){this.metrics_=a;this.state_=new pS(b);this.source=b};rZc.prototype.increment=function(a){this.metrics_.count(this.state_,void 0===a?1:a)};var sZc=function(a,b){this.metrics_=a;this.state_=new pS(b);this.source=b};sZc.prototype.report=function(){this.metrics_.error(this.state_)};var Ar=function(a){this.internalArray_=m(a)};T(Ar,p);Ar.prototype.toObject=function(){return tZc(this)};var tZc=function(a){if(null!=a)return r(a),{phoneItemCount:n(ft(a,1)),emailItemCount:n(ft(a,2)),gaiaItemCount:n(ft(a,3)),notFoundPhoneItemCount:n(ft(a,4)),notFoundEmailItemCount:n(ft(a,5)),notFoundGaiaItemCount:n(ft(a,6)),outOfDateSelfItemCount:n(ft(a,7)),bypassCaches:n(vr(a,8))}};var zr=function(a){this.internalArray_=m(a)};T(zr,p);zr.prototype.getEventType=function(){return Zi(this,1,0)};zr.prototype.setEventType=function(a){return V(this,1,a)};var Br=function(a,b){return V(a,2,b)},Wlb=function(a,b){return V(a,3,b)};f=zr.prototype;f.getErrorType=function(){return Zi(this,6,0)};f.setErrorType=function(a){return V(this,6,a)};f.getIdType=function(){return Zi(this,8,0)};f.setIdType=function(a){V(this,8,a)};f.getResultIndex=function(){return Rh(this,9,0)};
f.setResultIndex=function(a){V(this,9,a)};f.getToken=function(){return U(this,10,"")};f.setToken=function(a){return sk(this,10,a)};f.getCacheState=function(){return X(this,R3,11)};f.setCacheState=function(a){return hj(this,R3,11,a)};f.hasCacheState=function(){return Nj(this,R3,11)};f.getQueryLength=function(){return Rh(this,14)};f.setQueryLength=function(a){return V(this,14,a)};f.hasQueryLength=function(){return Pk(this,14)};f.getItemCount=function(){return Rh(this,15)};
f.setItemCount=function(a){return V(this,15,a)};f.hasItemCount=function(){return Pk(this,15)};f.getLookupInfo=function(){return X(this,Ar,16)};f.setLookupInfo=function(a){return hj(this,Ar,16,a)};f.hasLookupInfo=function(){return Nj(this,Ar,16)};f.getQueryScope=function(){return Zi(this,17,0)};f.setQueryScope=function(a){return V(this,17,a)};f.hasQueryScope=function(){return pj(this,17)};
f.toObject=function(){if(null!=this){r(this);var a={eventType:Zi(this,1,0),apiLabel:Zi(this,2,0),rpcLabel:Zi(this,3,0),countType:Zi(this,4,0),latencyType:Zi(this,5,0),errorType:Zi(this,6,0),errorCause:Zi(this,7,0),idType:Zi(this,8,0),resultIndex:Rh(this,9,0),token:U(this,10,""),cacheState:UYc(this.getCacheState()),contentLength:Rh(this,12,0),errorHint:Zi(this,13,0),queryLength:n(ft(this,14)),itemCount:n(ft(this,15)),lookupInfo:tZc(this.getLookupInfo()),queryScope:n(Er(this,17))}}else a=void 0;return a};var uZc=function(a,b){this.delegate_=a;this.trackers_=b};uZc.prototype.search=function(a){var b=this,c,d;return pe(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(66),c.start(),qe(e,2,3),e.yield(b.delegate_.search(a),5);case 5:return e.return(e.yieldResult);case 3:re(e);c.stop();se(e,0);break;case 2:throw d=te(e),b.trackers_.error(36,11).report(),d;}})};
uZc.prototype.lookup=function(a){var b=this,c,d;return pe(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(67),c.start(),qe(e,2,3),e.yield(b.delegate_.lookup(a),5);case 5:return e.return(e.yieldResult);case 3:re(e);c.stop();se(e,0);break;case 2:throw d=te(e),b.trackers_.error(37,11).report(),d;}})};var vZc=function(a,b){this.delegate_=a;this.trackers_=b};vZc.prototype.getPosition=function(){try{return this.delegate_.getPosition()}catch(a){throw this.trackers_.error(38,11).report(),a;}};
vZc.prototype.warmUpCache=function(){var a=this,b,c;return pe(function(d){switch(d.nextAddress){case 1:return b=a.trackers_.latency(65),b.start(),qe(d,2,3),d.yield(a.delegate_.warmUpCache(),5);case 5:return d.return(d.yieldResult);case 3:re(d);b.stop();se(d,0);break;case 2:throw c=te(d),a.trackers_.error(35,11).report(),c;}})};vZc.prototype.needsWarmUp=function(){try{return this.delegate_.needsWarmUp()}catch(a){throw this.trackers_.error(38,11).report(),a;}};var wZc=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new kZc(e);this.index_=X3};f=wZc.prototype;f.getCacheType=function(){switch(this.adapter_.getPosition()){case 1:return 2;case 2:return 3;default:return 0}};f.flush=function(){this.index_=X3};
f.fetch=function(a){var b=this,c,d;return pe(function(e){switch(e.nextAddress){case 1:c=Q3(new Ur,!0).setProvenance(7).setCode(0);if(b.index_!=X3&&!b.adapter_.needsWarmUp())return e.return(Q3(c,!1));qe(e,2);return e.yield(b.adapter_.warmUpCache(),4);case 4:d=e.yieldResult;Hs(e,3);break;case 2:return te(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new Lr),e.return(c)}catch(g){return e.return(c.setCode(13))}}})};
f.index=function(a,b){a=lZc(this.ranker_,b,1);for(var c=k(b),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.storage_.storeItems(1,b);this.index_=nZc(this.trieFactory_,a)};f.search=function(a){var b=this;this.adapter_.needsWarmUp()&&Promise.resolve().then(function(){return b.fetch(a)});return this.index_.search(a.getTerms()).getMatches(a.getCollector())};var xZc=function(a,b,c){this.indexLatency_=a;this.searchLatency_=b;this.errorType_=c};xZc.prototype.getErrorType=function(){return this.errorType_};var a4=function(a,b,c){this.delegate_=a;this.trackers_=b;this.indexingLabel_=c.indexLatency_;this.searchLabel_=c.searchLatency_;this.errorLabel_=c.getErrorType()};f=a4.prototype;f.getCacheType=function(){return this.delegate_.getCacheType()};f.flush=function(){try{this.delegate_.flush()}catch(a){throw this.trackers_.error(this.errorLabel_,15).report(),a;}};f.fetch=function(a){try{return this.delegate_.fetch(a)}catch(b){throw this.trackers_.error(this.errorLabel_,14).report(),b;}};
f.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()}};f.search=function(a){var b=this.trackers_.latency(this.searchLabel_);b.start();try{return this.delegate_.search(a)}catch(c){throw this.trackers_.error(this.errorLabel_,13).report(),c;}finally{b.stop()}};var yZc=function(){},zZc=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=void 0,e=[],g=k(c.getTargetList()),h=g.next();!h.done;h=g.next())h=wlb(c,h.value,7),e.push(String(h.id)),h.coalescedKeys=e,d||(d=h),b.push(h);d&&Tq(d.id)&&(e=void 0,d.totalMemberCount=null!=(e=c.getTotalMemberCountOrUndefined())?e:void 0,d.memberKeys=c.getMemberList().map(function(l){for(var q=k(l.getTargetList()).next();!q.done;)return l=wlb(l,q.value,8),b.push(l),String(l.id)}))}return b},
AZc=function(a){a=a.getResultList();return zZc(a)};var BZc=function(a,b){this.provider_=a;this.itemFactory_=b};BZc.prototype.search=function(a,b){var c=this,d;return pe(function(e){if(1==e.nextAddress)return 1>b?e.return([]):e.yield(c.provider_.search((new hPc).setQuery(a).setMaxResults(b)),2);d=e.yieldResult;return e.return(AZc(d))})};BZc.prototype.lookup=function(a){var b=this,c;return pe(function(d){if(1==d.nextAddress)return a.length?d.yield(b.provider_.lookup(a),2):d.return([]);c=d.yieldResult;return d.return(AZc(c))})};var CZc=function(a,b){this.provider_=a;this.itemFactory_=b};CZc.prototype.getPosition=function(){return this.provider_.getPosition()};CZc.prototype.needsWarmUp=function(){return this.provider_.needsWarmUp()};CZc.prototype.warmUpCache=function(){var a=this,b;return pe(function(c){if(1==c.nextAddress)return c.yield(a.provider_.warmUpCache(),2);b=c.yieldResult;return c.return(AZc(b))})};var DZc=new xZc(68,69,38);var EZc=function(){};EZc.prototype.processItem=function(){};var FZc=new EZc;var GZc=function(){this.iconUrl_=this.altText_=""},Dlb=function(a){var b=new GZc;b.altText_=a||"";return b};GZc.prototype.getIconUrl=function(){return this.iconUrl_};GZc.prototype.setIconUrl=function(a){this.iconUrl_=a||"";return this};var HZc=function(a){this.delegate_=a};HZc.prototype.processItem=function(a){a.target=Elb(a);this.delegate_.processItem(a);a.resultData&&delete a.resultData;a.targetData&&delete a.targetData};var IZc=function(){};
IZc.prototype.configure=function(a){var b=a.clientConfig,c=a.trackers,d=a.storage,e=a.indexer,g=a.trieFactory,h=a.prefixCaches;a=a.lookupStages;var l=b.runtimeConfig_.customDataConfig_;if(l){b=b.getClient();var q=new yZc;var v=void 0===v?FZc:v;v=new HZc(v);for(var x=[],A=k(l.staticDataProviders_.reverse()),G=A.next();!G.done;G=A.next()){var M=G=G.value;M=new vZc(M,c);M=new wZc(new CZc(M,q),v,g,d,b);M=new a4(M,c,DZc);switch(G.getPosition()){case 1:x.push(M);break;case 2:h.push(M);break;default:throw Error("Qe");
}}x.length&&h.splice.apply(h,[0,0].concat(cd(x)));l=k(l.dynamicDataProviders_);for(x=l.next();!x.done;x=l.next())A=x=x.value,A=new uZc(A,c),A=new mZc(new BZc(A,q),v,g,d,b),A=new a4(A,c,DZc),h.push(A),x=new uZc(x,c),a.push(new oZc(new BZc(x,q),v,e))}};var b4=function(a){this.internalArray_=m(a)};T(b4,p);f=b4.prototype;f.getEnableClearcut=function(){return Tj(this,1,!1)};f.setEnableClearcut=function(a){return Vj(this,1,a)};f.getSocialApplication=function(){return Zi(this,2,0)};f.getSocialApplicationOrUndefined=function(){return Qr(this,2)};f.setEventSources=function(a){$s(this,5,Pr,a)};b4.repeatedFields_=[5,6];b4.prototype.toObject=function(){return JZc(this)};
var JZc=function(a){if(null!=a)return r(a),{enableClearcut:Tj(a,1,!1),socialApplication:Zi(a,2,0),affinityLogSource:Zi(a,3,41),metricLogSource:Zi(a,4,574),eventSourcesList:Ub(kj(a,Pr,5),s0),contextualEventSourcesList:Ub(kj(a,Rr,6),VOc)}};var c4=function(a){this.internalArray_=m(a)};T(c4,p);f=c4.prototype;f.getApplication=function(){return Zi(this,1,0)};f.setApplication=function(a){return V(this,1,a)};f.getApplicationOrUndefined=function(){return Qr(this,1)};f.getIsEnabled=function(){return Tj(this,2,!1)};f.toObject=function(){return KZc(this)};var KZc=function(a){if(null!=a)return r(a),{application:Zi(a,1,0),isEnabled:Tj(a,2,!1)}};var d4=function(a){this.internalArray_=m(a)};T(d4,p);d4.prototype.getApiKey=function(){return U(this,1,"")};d4.prototype.setApiKey=function(a){return sk(this,1,a)};d4.prototype.toObject=function(){return LZc(this)};var LZc=function(a){if(null!=a)return r(a),{apiKey:U(a,1,""),apiKeyTest:U(a,2,"")}};var e4=function(a){this.internalArray_=m(a)};T(e4,p);e4.repeatedFields_=[1];e4.prototype.toObject=function(){return MZc(this)};var MZc=function(a){if(null!=a)return r(a),{papiExtensionList:n(cl(a,1))}};var f4=function(a){this.internalArray_=m(a)};T(f4,p);f=f4.prototype;f.getClientId=function(){return U(this,1,"CLIENT_UNSPECIFIED")};f.setClientId=function(a){return sk(this,1,a)};f.getAffinityType=function(){return U(this,4,"AFFINITY_TYPE_UNKNOWN")};f.setAffinityType=function(a){return sk(this,4,a)};f.getContainerType=function(){return lt(this,7)};f4.repeatedFields_=[7,8];f4.prototype.toObject=function(){return NZc(this)};
var NZc=function(a){if(null!=a)return r(a),{clientId:U(a,1,"CLIENT_UNSPECIFIED"),clientName:U(a,2,"CLIENT_UNSPECIFIED"),clientVersion:U(a,3,""),affinityType:U(a,4,"AFFINITY_TYPE_UNKNOWN"),affinityTypeEnum:Zi(a,5,0),mergedPersonModel:Zi(a,6,1),containerTypeList:n(cl(a,7)),fieldMaskList:n(Th(a,8)),listRankedTargetsPapiExtensions:MZc(X(a,e4,9)),listPeopleByKnownIdPapiExtensions:MZc(X(a,e4,10)),listContactPeoplePapiExtensions:MZc(X(a,e4,11)),getPeoplePapiExtensions:MZc(X(a,e4,12)),identityAcl:Tj(a,13,
!1),offlineStoreDelayMillis:Rh(a,14,5E3),enablePrivateNames:Tj(a,15,!1),dasherAdminDisabled:Tj(a,16,!1),enableSmimeCertificate:Tj(a,17,!1)}};var OZc=function(a){this.internalArray_=m(a)};T(OZc,p);f=OZc.prototype;f.getClient=function(){return X(this,Z3,1)};f.setClient=function(a){return hj(this,Z3,1,a)};f.hasClient=function(){return Nj(this,Z3,1)};f.getGapi=function(){return X(this,d4,2)};f.getPeopleApi=function(){return X(this,f4,3)};f.getClearcut=function(){return X(this,b4,4)};f.setClearcut=function(a){hj(this,b4,4,a)};f.hasClearcut=function(){return Nj(this,b4,4)};f.getExperiments=function(){return X(this,c4,5)};
f.setExperiments=function(a){hj(this,c4,5,a)};f.hasExperiments=function(){return Nj(this,c4,5)};f.toObject=function(){if(null!=this){r(this);var a={client:jZc(this.getClient()),gapi:LZc(this.getGapi()),peopleApi:NZc(this.getPeopleApi()),clearcut:JZc(this.getClearcut()),experiments:KZc(this.getExperiments())}}else a=void 0;return a};var PZc=Jca(OZc);var QZc;var g4=function(a,b){this.delegate_=a;this.runtimeConfig_=b||new oPc;a=this.getPeopleApi();cl(a,7).length||Ab(a,7,[2,8,1,7,10,11],db);Th(a,8).length||Pi(a,8,["person.name","person.photo","person.email","person.phone","person.metadata"]);b=k(Th(a,8));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,c){case "person.name":case "person.email":case "person.phone":Cb(a,8,kb(c+".metadata.verified"))}};g4.prototype.getClient=function(){this.delegate_.hasClient()||this.delegate_.setClient(new Z3);return this.delegate_.getClient()};
g4.prototype.getGapi=function(){if(!Nj(this.delegate_,d4,2)){var a=this.delegate_,b=new d4;hj(a,d4,2,b)}return this.delegate_.getGapi()};g4.prototype.getPeopleApi=function(){if(!Nj(this.delegate_,f4,3)){var a=this.delegate_,b=new f4;hj(a,f4,3,b)}return this.delegate_.getPeopleApi()};g4.prototype.getClearcut=function(){this.delegate_.hasClearcut()||this.delegate_.setClearcut(new b4);return this.delegate_.getClearcut()};
var RZc=function(a){a.delegate_.hasExperiments()||a.delegate_.setExperiments(new c4);return a.delegate_.getExperiments()};g4.prototype.getAuthErrorHandler=function(){return this.runtimeConfig_.getAuthErrorHandler()};var SZc=function(a){a=a.getClient();return Rh(a,6,500)?Math.min(Math.round(Rh(a,6,500)/4),500):500};var TZc;var Or=null;var UZc=function(a,b){this.isOrgStateEnabled_=a.runtimeConfig_.isOrgStateEnabled_;this.delegate_=b};UZc.prototype.processItem=function(a){this.delegate_.processItem(a);a=a.target;this.isOrgStateEnabled_||(a.orgState_=0)};var h4=function(a){this.internalArray_=m(a)};T(h4,p);h4.prototype.getDescription=function(){return Z(this,6)};h4.prototype.setDescription=function(a){return sk(this,6,a)};h4.prototype.hasDescription=function(){return Hk(this,6)};h4.prototype.toObject=function(){return VZc(this)};
var VZc=function(a){if(null!=a)return r(a),{entityType:n(Er(a,4)),presence:n(Er(a,1)),memberCount:n(Yb(a,2)),avatarUrl:n(Z(a,3)),developerName:n(Z(a,5)),description:n(Z(a,6)),dndState:n(Er(a,7)),organizationInfo:gOb(X(a,eOb,8)),segmentedMembershipCounts:iOb(X(a,wu,9)),isMembershipVisibleToCaller:n(vr(a,10))}};var WZc=function(a){this.internalArray_=m(a)};T(WZc,p);WZc.prototype.toObject=function(){return XZc(this)};var XZc=function(a){if(null!=a)return r(a),{actorId:n(Z(a,1)),subtitle:n(Z(a,2))}};var ur=function(a){this.internalArray_=m(a,5)};T(ur,p);f=ur.prototype;f.getDynamiteExtendedData=function(){return X(this,h4,1)};f.getIsPlaceholder=function(){return Tj(this,2)};f.setIsPlaceholder=function(a){Vj(this,2,a)};f.getPaisaExtendedData=function(){return X(this,WZc,3)};f.getContactId=function(){return qj(this,4)};f.setContactId=function(a){V(this,4,a)};var YZc={};ur.prototype.toObject=function(){return ZZc(this)};
var ZZc=function(a){if(null!=a){r(a);var b={dynamiteExtendedData:VZc(a.getDynamiteExtendedData()),isPlaceholder:n(vr(a,2)),paisaExtendedData:XZc(a.getPaisaExtendedData()),contactId:n(Yb(a,4))};Vb(a,b,YZc);return b}};var Rlb=Tb(417869898,{clientSpecificData:0},ur,ZZc);UOc[417869898]=Rlb;var $Zc=function(a){this.internalArray_=m(a)};T($Zc,p);$Zc.prototype.toObject=function(){return a_c(this)};var a_c=function(a){if(null!=a)return r(a),{nationalNumber:n(Z(a,1)),internationalNumber:n(Z(a,2)),countryCode:n(ft(a,3)),regionCode:n(Z(a,4)),isValid:n(vr(a,5)),validationResult:n(Er(a,6))}};var b_c=function(a){this.internalArray_=m(a)};T(b_c,p);b_c.prototype.toObject=function(){return c_c(this)};var c_c=function(a){if(null!=a)return r(a),{e164:n(Z(a,1)),i18nData:a_c(X(a,$Zc,2))}};var d_c=function(a){this.internalArray_=m(a)};T(d_c,p);d_c.prototype.getCode=function(){return U(this,1)};d_c.prototype.setCode=function(a){return sk(this,1,a)};d_c.prototype.toObject=function(){return e_c(this)};var e_c=function(a){if(null!=a)return r(a),{code:n(Z(a,1)),countryCode:n(Z(a,2))}};var f_c=function(a){this.internalArray_=m(a)};T(f_c,p);f=f_c.prototype;f.getPhoneNumber=function(){return X(this,b_c,1)};f.getType=function(){return U(this,3)};f.setType=function(a){return sk(this,3,a)};f.hasType=function(){return Hk(this,3)};f.toObject=function(){return g_c(this)};var g_c=function(a){if(null!=a)return r(a),{phoneNumber:c_c(a.getPhoneNumber()),shortCode:e_c(X(a,d_c,2)),type:n(Z(a,3)),formattedType:n(Z(a,4))}};var h_c=function(a){this.internalArray_=m(a)};T(h_c,p);h_c.prototype.toObject=function(){return i_c(this)};var i_c=function(a){if(null!=a)return r(a),{structuredPhone:g_c(X(a,f_c,1))}};var yr=function(a){this.internalArray_=m(a)};T(yr,p);yr.prototype.toObject=function(){return j_c(this)};var j_c=function(a){if(null!=a)return r(a),{grammaticalGender:n(Er(a,1)),phoneExtendedData:i_c(X(a,h_c,2))}};var Ulb=Tb(417866180,{peopleStackFieldData:0},yr,j_c);UOc[417866180]=Ulb;var k_c=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},Plb=function(a){if(!a)return 0;a=Array.from(a).map(k_c);a.sort();for(var b=1,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a[c];return b};var Flb=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 i4=function(a){this.internalArray_=m(a)};T(i4,p);f=i4.prototype;f.getLoggingId=function(){return Jo(this,1)};f.setLoggingId=function(a){V(this,1,Sa(a,!1,!1))};f.getValue=function(){return Ho(this,2)};f.getValue_legacyNullable=function(){return Ho(this,2)};f.setValue=function(a){return V(this,2,Xa(a))};f.hasValue=function(){return null!=Ho(this,2)};f.toObject=function(){return l_c(this)};var l_c=function(a){if(null!=a)return r(a),{loggingId:Xb(a.getLoggingId()),value:n(Ho(a,2))}};var m_c=function(a){this.internalArray_=m(a)};T(m_c,p);f=m_c.prototype;f.getValue=function(){return Z(this,1)};f.getValue_legacyNullable=function(){return Z(this,1)};f.setValue=function(a){return sk(this,1,a)};f.hasValue=function(){return Hk(this,1)};f.getGivenName=function(){return Z(this,2)};f.setGivenName=function(a){return sk(this,2,a)};f.hasGivenName=function(){return Hk(this,2)};f.getFamilyName=function(){return Z(this,3)};f.setFamilyName=function(a){return sk(this,3,a)};
f.hasFamilyName=function(){return Hk(this,3)};f.getSourceType=function(){return Er(this,4)};f.setSourceType=function(a){return V(this,4,a)};f.toObject=function(){return n_c(this)};var n_c=function(a){if(null!=a)return r(a),{value:n(Z(a,1)),givenName:n(Z(a,2)),familyName:n(Z(a,3)),sourceType:n(Er(a,4))}};var o_c=function(a){this.internalArray_=m(a)};T(o_c,p);f=o_c.prototype;f.getUrl=function(){return Z(this,1)};f.setUrl=function(a){return sk(this,1,a)};f.hasUrl=function(){return Hk(this,1)};f.getType=function(){return Er(this,2)};f.setType=function(a){return V(this,2,a)};f.hasType=function(){return pj(this,2)};f.getGlyph=function(){return Z(this,3)};f.setGlyph=function(a){return sk(this,3,a)};f.toObject=function(){return p_c(this)};
var p_c=function(a){if(null!=a)return r(a),{url:n(Z(a,1)),type:n(Er(a,2)),glyph:n(Z(a,3))}};var j4=function(a){this.internalArray_=m(a)};T(j4,p);f=j4.prototype;f.getPhoto=function(){return X(this,o_c,1)};f.setPhoto=function(a){hj(this,o_c,1,a)};f.hasPhoto=function(){return Nj(this,o_c,1)};f.getName=function(){return X(this,m_c,2)};f.setName=function(a){return hj(this,m_c,2,a)};f.hasName=function(){return Nj(this,m_c,2)};f.getAffinity=function(){return X(this,i4,3)};f.hasAffinity=function(){return Nj(this,i4,3)};f.getPrimary=function(){return vr(this,4)};f.toObject=function(){return q_c(this)};
var q_c=function(a){if(null!=a)return r(a),{photo:p_c(a.getPhoto()),name:n_c(a.getName()),affinity:l_c(a.getAffinity()),primary:n(vr(a,4))}};var k4=function(a){this.internalArray_=m(a)};T(k4,p);k4.prototype.getStatus=function(){return Er(this,2)};k4.prototype.setStatus=function(a){return V(this,2,a)};k4.prototype.hasStatus=function(){return pj(this,2)};k4.prototype.toObject=function(){return r_c(this)};var r_c=function(a){if(null!=a)return r(a),{expirationTimestampSeconds:n(Yb(a,1)),status:n(Er(a,2)),configurationName:n(Z(a,3))}};var l4=function(a){this.internalArray_=m(a)};T(l4,p);l4.prototype.getSmtpServerSupportsTls=function(){vr(this,1)};l4.prototype.toObject=function(){return s_c(this)};var s_c=function(a){if(null!=a)return r(a),{smtpServerSupportsTls:n(vr(a,1)),usesConfusingCharacters:n(vr(a,2))}};var Dr=function(a){this.internalArray_=m(a)};T(Dr,p);Dr.prototype.getState=function(){return Er(this,2)};Dr.prototype.toObject=function(){return t_c(this)};var t_c=function(a){if(null!=a)return r(a),{contextType:n(Er(a,1)),state:n(Er(a,2))}};var m4=function(a){this.internalArray_=m(a)};T(m4,p);m4.prototype.getApplication=function(){return Zi(this,1,0)};m4.prototype.setApplication=function(a){return V(this,1,a)};m4.prototype.getApplicationOrUndefined=function(){return Qr(this,1)};m4.repeatedFields_=[2];m4.prototype.toObject=function(){return u_c(this)};var u_c=function(a){if(null!=a)return r(a),{application:Zi(a,1,0),stateStatusList:Ub(kj(a,Dr,2),t_c)}};var n4=function(a){this.internalArray_=m(a)};T(n4,p);f=n4.prototype;f.getValue=function(){return Z(this,1)};f.getValue_legacyNullable=function(){return Z(this,1)};f.setValue=function(a){return sk(this,1,a)};f.hasValue=function(){return Hk(this,1)};f.getInternalExternal=function(){return X(this,m4,4)};f.hasInternalExternal=function(){return Nj(this,m4,4)};n4.repeatedFields_=[2];n4.prototype.toObject=function(){return v_c(this)};
var v_c=function(a){if(null!=a)return r(a),{value:n(Z(a,1)),certificatesList:Ub(kj(a,k4,2),r_c),securityInfo:s_c(X(a,l4,3)),internalExternal:u_c(a.getInternalExternal())}};var pr=function(a){this.internalArray_=m(a)};T(pr,p);f=pr.prototype;f.getProfileId=function(){return Z(this,1)};f.getProfileId_legacyNullable=function(){return Z(this,1)};f.setProfileId=function(a){return sk(this,1,a)};f.hasProfileId=function(){return Hk(this,1)};f.getEmail=function(){return Io(this,2,sr)};f.getEmail_legacyNullable=function(){return Io(this,2,sr)};f.setEmail=function(a){return yo(this,2,sr,a)};f.hasEmail=function(){return null!=Io(this,2,sr)};
f.getPhone=function(){return Io(this,3,sr)};f.getPhone_legacyNullable=function(){return Io(this,3,sr)};f.setPhone=function(a){return yo(this,3,sr,a)};f.hasPhone=function(){return null!=Io(this,3,sr)};var sr=[2,3];pr.prototype.toObject=function(){return w_c(this)};var w_c=function(a){if(null!=a)return r(a),{profileId:n(Z(a,1)),email:n(Io(a,2,sr)),phone:n(Io(a,3,sr)),clientData:n(Z(a,4))}};var o4=function(a){this.internalArray_=m(a)};T(o4,p);o4.prototype.getDisplayValue=function(){return Z(this,1)};o4.prototype.getOriginalValue=function(){return Z(this,3)};o4.prototype.toObject=function(){return x_c(this)};var x_c=function(a){if(null!=a)return r(a),{displayValue:n(Z(a,1)),canonicalValue:n(Z(a,2)),originalValue:n(Z(a,3))}};var y_c=function(a){this.internalArray_=m(a)};T(y_c,p);y_c.prototype.toObject=function(){return z_c(this)};var z_c=function(a){if(null!=a)return r(a),{directUserMemberCount:n(Yb(a,1)),directGroupMemberCount:n(Yb(a,2))}};var A_c=function(a){this.internalArray_=m(a)};T(A_c,p);f=A_c.prototype;f.getIdCase=function(){return Mi(this,p4)};f.getProfileId=function(){return Io(this,1,p4)};f.getProfileId_legacyNullable=function(){return Io(this,1,p4)};f.setProfileId=function(a){return yo(this,1,p4,a)};f.hasProfileId=function(){return null!=Io(this,1,p4)};f.getContactId=function(){return Io(this,2,p4)};f.setContactId=function(a){yo(this,2,p4,a)};var p4=[1,2];A_c.prototype.toObject=function(){return B_c(this)};
var B_c=function(a){if(null!=a)return r(a),{profileId:n(Io(a,1,p4)),contactId:n(Io(a,2,p4))}};var q4=function(a){this.internalArray_=m(a)};T(q4,p);f=q4.prototype;f.getValueCase=function(){return Mi(this,qr)};f.getDisplayInfo=function(){return X(this,j4,1)};f.hasDisplayInfo=function(){return Nj(this,j4,1)};f.getEmail=function(){return ck(this,n4,2,qr)};f.setEmail=function(a){return Ao(this,2,qr,a)};f.hasEmail=function(){return ak(this,n4,2,qr)};f.getPhone=function(){return ck(this,o4,3,qr)};f.setPhone=function(a){return Ao(this,3,qr,a)};f.hasPhone=function(){return ak(this,o4,3,qr)};
f.getSourceIdsList=function(){return kj(this,A_c,5)};f.getIsSelf=function(){return vr(this,6)};f.getTypeLabel=function(){return Z(this,10)};q4.repeatedFields_=[5];var qr=[2,3,4];q4.prototype.toObject=function(){return C_c(this)};
var C_c=function(a){if(null!=a)return r(a),{displayInfo:q_c(a.getDisplayInfo()),email:v_c(a.getEmail()),phone:x_c(a.getPhone()),inAppTarget:w_c(ck(a,pr,4,qr)),sourceIdsList:Ub(a.getSourceIdsList(),B_c),isSelf:n(vr(a,6)),isGoogleGroup:n(vr(a,7)),isPersonal:n(vr(a,8)),peopleStackFieldExtendedData:j_c(X(a,yr,9)),typeLabel:n(Z(a,10)),isBlocked:n(vr(a,11)),rosterDetails:z_c(X(a,y_c,12))}};var r4=function(a){this.internalArray_=m(a)};T(r4,p);f=r4.prototype;f.getDisplayInfo=function(){return X(this,j4,1)};f.hasDisplayInfo=function(){return Nj(this,j4,1)};f.getMembersList=function(){return kj(this,q4,2)};f.setMembersList=function(a){nj(this,2,a)};f.getLabelId=function(){return Z(this,3)};r4.repeatedFields_=[2];r4.prototype.toObject=function(){return D_c(this)};
var D_c=function(a){if(null!=a)return r(a),{displayInfo:q_c(a.getDisplayInfo()),membersList:Ub(a.getMembersList(),C_c),labelId:n(Z(a,3))}};var s4=function(a){this.internalArray_=m(a)};T(s4,p);s4.prototype.getHideType=function(){return Er(this,1)};s4.prototype.getHiddenKeysList=function(){return kj(this,SVc,3)};s4.repeatedFields_=[3];s4.prototype.toObject=function(){return E_c(this)};var E_c=function(a){if(null!=a)return r(a),{hideType:n(Er(a,1)),hiddenKeysList:Ub(a.getHiddenKeysList(),TVc),familyStatus:n(Er(a,2))}};var t4=function(a){this.internalArray_=m(a)};T(t4,p);t4.prototype.getAffinity=function(){return X(this,i4,2)};t4.prototype.hasAffinity=function(){return Nj(this,i4,2)};t4.prototype.getPeopleStackExtendedData=function(){return X(this,s4,4)};t4.prototype.getPeopleStackPersonExtendedData=function(){return X(this,m3,5)};t4.repeatedFields_=[1];t4.prototype.toObject=function(){return F_c(this)};
var F_c=function(a){if(null!=a)return r(a),{affinity:l_c(a.getAffinity()),contactMethodsList:Ub(kj(a,q4,1),C_c),clientSpecificData:ZZc(X(a,ur,3)),peopleStackExtendedData:E_c(a.getPeopleStackExtendedData()),peopleStackPersonExtendedData:UVc(a.getPeopleStackPersonExtendedData())}};var G_c=function(a){this.internalArray_=m(a)};T(G_c,p);G_c.prototype.getOwnersList=function(){return kj(this,t4,2)};G_c.repeatedFields_=[2];G_c.prototype.toObject=function(){return H_c(this)};var H_c=function(a){if(null!=a)return r(a),{creator:F_c(X(a,t4,1)),ownersList:Ub(a.getOwnersList(),F_c)}};var Gr=function(a){this.internalArray_=m(a)};T(Gr,p);Gr.prototype.getIdCase=function(){return Mi(this,kmb)};var kmb=[1];Gr.prototype.toObject=function(){return I_c(this)};var I_c=function(a){if(null!=a)return r(a),{rosterEmail:n(Io(a,1,kmb))}};var J_c=function(a){this.internalArray_=m(a)};T(J_c,p);J_c.prototype.toObject=function(){return K_c(this)};var K_c=function(a){if(null!=a)return r(a),{endtimeUtc:Lt(X(a,Nh,1))}};var u4=function(a){this.internalArray_=m(a)};T(u4,p);f=u4.prototype;f.getDisplayInfo=function(){return X(this,j4,1)};f.hasDisplayInfo=function(){return Nj(this,j4,1)};f.getMembersList=function(){return kj(this,t4,2)};f.setMembersList=function(a){nj(this,2,a)};f.getGroupId=function(){return Z(this,4)};f.setGroupId=function(a){sk(this,4,a)};f.hasGroupId=function(){return Hk(this,4)};u4.repeatedFields_=[2,6];u4.prototype.toObject=function(){return L_c(this)};
var L_c=function(a){if(null!=a)return r(a),{displayInfo:q_c(a.getDisplayInfo()),membersList:Ub(a.getMembersList(),F_c),fullGroupSize:n(ft(a,3)),groupId:n(Z(a,4)),groupType:n(Z(a,5)),groupAlternateIdList:Ub(kj(a,Gr,6),I_c),groupEndtime:K_c(X(a,J_c,7)),groupAdministration:H_c(X(a,G_c,8))}};var v4=function(a){this.internalArray_=m(a)};T(v4,p);v4.prototype.getPerson=function(){return ck(this,t4,1,w4)};v4.prototype.getGroup=function(){return ck(this,u4,2,w4)};v4.prototype.setGroup=function(a){Ao(this,2,w4,a)};var w4=[1,2,3];v4.prototype.toObject=function(){return M_c(this)};var M_c=function(a){if(null!=a)return r(a),{person:F_c(a.getPerson()),group:L_c(a.getGroup()),contactLabel:D_c(ck(a,r4,3,w4))}};var Cr=function(a){this.internalArray_=m(a)};T(Cr,p);f=Cr.prototype;f.getIdCase=function(){return Mi(this,x4)};f.getEmail=function(){return Io(this,1,x4)};f.getEmail_legacyNullable=function(){return Io(this,1,x4)};f.setEmail=function(a){return yo(this,1,x4,a)};f.hasEmail=function(){return null!=Io(this,1,x4)};f.getPhone=function(){return Io(this,2,x4)};f.getPhone_legacyNullable=function(){return Io(this,2,x4)};f.setPhone=function(a){return yo(this,2,x4,a)};
f.hasPhone=function(){return null!=Io(this,2,x4)};f.getProfileId=function(){return Io(this,3,x4)};f.getProfileId_legacyNullable=function(){return Io(this,3,x4)};f.setProfileId=function(a){return yo(this,3,x4,a)};f.hasProfileId=function(){return null!=Io(this,3,x4)};var x4=[1,2,3];Cr.prototype.toObject=function(){return N_c(this)};var N_c=function(a){if(null!=a)return r(a),{email:n(Io(a,1,x4)),phone:n(Io(a,2,x4)),profileId:n(Io(a,3,x4))}};var O_c=function(a){this.internalArray_=m(a)};T(O_c,p);O_c.prototype.toObject=function(){return P_c(this)};var P_c=function(a){if(null!=a)return r(a),{featureType:Zi(a,1,0),weight:rj(a,2,0),exponent:rj(a,3,1)}};var y4=function(a){this.internalArray_=m(a)};T(y4,p);f=y4.prototype;f.getAffinityVersion=function(){return ft(this,1)};f.setAffinityVersion=function(a){V(this,1,a)};f.getAffinityVersionOrUndefined=function(){return rt(this,1)};f.getAffinityType=function(){return Z(this,4)};f.setAffinityType=function(a){return sk(this,4,a)};y4.repeatedFields_=[3];y4.prototype.toObject=function(){return Q_c(this)};
var Q_c=function(a){if(null!=a)return r(a),{affinityVersion:n(ft(a,1)),affinityThreshold:n(Ho(a,2)),featureList:Ub(kj(a,O_c,3),P_c),affinityType:n(Z(a,4))}};var z4=function(a){this.internalArray_=m(a)};T(z4,p);var R_c=Zb(z4);z4.repeatedFields_=[1];z4.prototype.toObject=function(){return S_c(this)};var S_c=function(a){if(null!=a)return r(a),{resultsList:Ub(kj(a,v4,1),M_c),affinityResponseContext:Q_c(X(a,y4,2))}};var A4=function(a){this.internalArray_=m(a)};T(A4,p);A4.prototype.getId=function(){return X(this,Cr,1)};A4.prototype.setId=function(a){return hj(this,Cr,1,a)};var T_c=[2,3];A4.prototype.toObject=function(){return U_c(this)};var U_c=function(a){if(null!=a)return r(a),{id:N_c(a.getId()),autocompletion:M_c(ck(a,v4,2,T_c)),failureType:n(qt(a,3,T_c))}};var V_c=function(a){this.internalArray_=m(a)};T(V_c,p);var W_c=Zb(V_c);V_c.repeatedFields_=[1];V_c.prototype.toObject=function(){if(null!=this){r(this);var a={matchesList:Ub(kj(this,A4,1),U_c)}}else a=void 0;return a};var X_c=function(a){this.leanResponseProcessorConfig_=a},Y_c=function(a,b,c,d){d=void 0===d?!1:d;for(var e=[],g=Tlb(b),h=[],l=k(kj(b,q4,1)),q=l.next();!q.done;q=l.next()){q=q.value;var v=Jlb(q);if(v.equals(tr)){if(!a.leanResponseProcessorConfig_.allowEmptyTargets&&!d)continue;var x=Qlb(q);if(!x)continue;v=ulb(x)}h.push(String(v));var A=x=void 0;v={id:v,containerIds:Klb(q),coalescedKeys:h,isMe:!!q.getIsSelf(),dataSource:Llb(b,q),provenance:c,isPrimary:Olb(null!=(x=q.getDisplayInfo())?x:null),itemAffinity:Nlb(b),
fieldAffinity:Mlb(null!=(A=q.getDisplayInfo())?A:null),contactMethod:q,person:b};g&&(v.resultExtendedData=g);if(q=Vlb(q))v.targetExtendedData=q;e.push(v)}e.length&&e.every(function(G){return!G.isPrimary})&&(e[0].isPrimary=!0);return e},Z_c=function(a,b,c){var d=lr(Glb(Z(b,5)),b.getGroupId()||""),e=b.getMembersList().map(function(q){return Y_c(a,q,8,!0)}),g=e.filter(function(q){return q&&q.length}).map(function(q){return String(q[0].id)}),h,l;d=[{id:d,containerIds:[d],memberKeys:g,totalMemberCount:null!=
(h=rt(b,3))?h:void 0,provenance:c,isPrimary:!0,itemAffinity:Mlb(null!=(l=b.getDisplayInfo())?l:null),fieldAffinity:-Infinity,group:b}];b=k(e);for(c=b.next();!c.done;c=b.next())d.push.apply(d,cd(c.value));return d},$_c=function(a,b){var c=Mwc(a.getLabelId()||""),d=a.getMembersList().map(function(h){if(h.hasEmail()&&h.getEmail().getValue()){var l,q;var v={id:or(h.getEmail().getValue()),containerIds:Klb(h),contactMethod:h,provenance:8,isMe:!1,dataSource:1,isPrimary:Olb(null!=(l=h.getDisplayInfo())?l:
null),itemAffinity:-Infinity,fieldAffinity:Mlb(null!=(q=h.getDisplayInfo())?q:null)};if(h=Vlb(h))v.targetExtendedData=h}else v=null;return v}).filter(Boolean),e=d.map(function(h){return String(h.id)}),g;return[{id:c,containerIds:[c],memberKeys:e,totalMemberCount:d.length,provenance:b,dataSource:1,isPrimary:!0,itemAffinity:Mlb(null!=(g=a.getDisplayInfo())?g:null),fieldAffinity:-Infinity,isMe:!1,contactLabel:a}].concat(cd(d))},a0c=function(a,b,c){switch(Mi(b,w4)){case 1:return Y_c(a,b.getPerson(),c);
case 2:return Z_c(a,b.getGroup(),c);case 3:return $_c(ck(b,r4,3,w4),c);default:return[]}},b0c=function(a,b,c){return kj(b,v4,1).flatMap(function(d){return a0c(a,d,c)})};var Ylb=new Map([[0,1],[1,2],[2,3],[3,4]]);var c0c=function(a){this.internalArray_=m(a)};T(c0c,p);f=c0c.prototype;f.getLabel=function(){return Er(this,1)};f.setLabel=function(a){return V(this,1,a)};f.hasLabel=function(){return pj(this,1)};f.getItemCount=function(){return ft(this,2)};f.setItemCount=function(a){return V(this,2,a)};f.hasItemCount=function(){return Pk(this,2)};f.getLookupInfo=function(){return X(this,Ar,3)};f.setLookupInfo=function(a){return hj(this,Ar,3,a)};f.hasLookupInfo=function(){return Nj(this,Ar,3)};
f.getQueryLength=function(){return ft(this,4)};f.setQueryLength=function(a){return V(this,4,a)};f.hasQueryLength=function(){return Pk(this,4)};f.getQueryScope=function(){return Zi(this,5,0)};f.setQueryScope=function(a){return V(this,5,a)};f.hasQueryScope=function(){return pj(this,5)};f.toObject=function(){return d0c(this)};var d0c=function(a){if(null!=a)return r(a),{label:n(Er(a,1)),itemCount:n(ft(a,2)),lookupInfo:tZc(a.getLookupInfo()),queryLength:n(ft(a,4)),queryScope:Zi(a,5,0)}};var e0c=function(a){this.internalArray_=m(a)};T(e0c,p);e0c.prototype.toObject=function(){return f0c(this)};var f0c=function(a){if(null!=a)return r(a),{cpuPeakUsageFraction:n(Ho(a,1)),cpuAverageUsageFraction:n(Ho(a,2)),memoryPeakUsageBytes:n(Yb(a,3)),memoryAverageUsageBytes:n(Yb(a,4))}};var g0c=function(a){this.internalArray_=m(a)};T(g0c,p);f=g0c.prototype;f.getLabel=function(){return Er(this,1)};f.setLabel=function(a){return V(this,1,a)};f.hasLabel=function(){return pj(this,1)};f.getStatus=function(){return Er(this,2)};f.setStatus=function(a){return V(this,2,a)};f.hasStatus=function(){return pj(this,2)};f.setLatencyUsec=function(a){V(this,3,a)};f.getResultIndex=function(){return ft(this,4)};f.setResultIndex=function(a){V(this,4,a)};f.getDataSource=function(){return Er(this,7)};
f.setDataSource=function(a){return V(this,7,a)};f.hasDataSource=function(){return pj(this,7)};f.getItemCount=function(){return ft(this,8)};f.setItemCount=function(a){return V(this,8,a)};f.hasItemCount=function(){return Pk(this,8)};f.getLookupInfo=function(){return X(this,Ar,10)};f.setLookupInfo=function(a){return hj(this,Ar,10,a)};f.hasLookupInfo=function(){return Nj(this,Ar,10)};f.setStatusCode=function(a){V(this,11,a)};f.getQueryLength=function(){return ft(this,13)};
f.setQueryLength=function(a){return V(this,13,a)};f.hasQueryLength=function(){return Pk(this,13)};f.getQueryScope=function(){return Zi(this,14,0)};f.setQueryScope=function(a){return V(this,14,a)};f.hasQueryScope=function(){return pj(this,14)};f.toObject=function(){return h0c(this)};
var h0c=function(a){if(null!=a)return r(a),{label:n(Er(a,1)),status:n(Er(a,2)),latencyUsec:n(Yb(a,3)),resultIndex:n(ft(a,4)),cacheStatusAtQuery:n(Er(a,5)),cacheStatusAtResult:n(Er(a,6)),dataSource:n(Er(a,7)),itemCount:n(ft(a,8)),duplicatesRejectedCount:n(ft(a,12)),resources:f0c(X(a,e0c,9)),lookupInfo:tZc(a.getLookupInfo()),statusCode:Zi(a,11,2),queryLength:n(ft(a,13)),queryScope:Zi(a,14,0)}};var i0c=function(a){this.internalArray_=m(a)};T(i0c,p);i0c.prototype.toObject=function(){return j0c(this)};var j0c=function(a){if(null!=a)return r(a),{topnCacheItemCount:n(ft(a,1)),iosDeviceCacheItemCount:n(ft(a,2))}};var k0c=function(a){this.internalArray_=m(a)};T(k0c,p);f=k0c.prototype;f.getDataSource=function(){return Er(this,3)};f.setDataSource=function(a){return V(this,3,a)};f.hasDataSource=function(){return pj(this,3)};f.getType=function(){return Er(this,4)};f.setType=function(a){return V(this,4,a)};f.hasType=function(){return pj(this,4)};f.getValue=function(){return qj(this,2,1)};f.setValue=function(a){return V(this,2,a)};f.hasValue=function(){return Yk(this,2)};f.getLabel=function(){return Z(this,1)};
f.setLabel=function(a){return sk(this,1,a)};f.hasLabel=function(){return Hk(this,1)};f.toObject=function(){return l0c(this)};var l0c=function(a){if(null!=a)return r(a),{dataSource:n(Er(a,3)),type:n(Er(a,4)),value:qj(a,2,1),label:n(Z(a,1))}};var m0c=function(a){this.internalArray_=m(a)};T(m0c,p);m0c.prototype.toObject=function(){return n0c(this)};var n0c=function(a){if(null!=a)return r(a),{numberOfContacts:n(Yb(a,1))}};var o0c=function(a){this.internalArray_=m(a)};T(o0c,p);o0c.prototype.toObject=function(){return p0c(this)};var p0c=function(a){if(null!=a)return r(a),{sqliteStatus:n(ft(a,1))}};var q0c=function(a){this.internalArray_=m(a)};T(q0c,p);q0c.prototype.getSqliteErrorInfo=function(){return ck(this,o0c,2,r0c)};var r0c=[2];q0c.prototype.toObject=function(){return s0c(this)};var s0c=function(a){if(null!=a)return r(a),{errorLocation:n(Er(a,1)),sqliteErrorInfo:p0c(a.getSqliteErrorInfo())}};var t0c=function(a){this.internalArray_=m(a)};T(t0c,p);t0c.prototype.getSqliteErrorInfo=function(){return ck(this,o0c,2,u0c)};var u0c=[2];t0c.prototype.toObject=function(){return v0c(this)};var v0c=function(a){if(null!=a)return r(a),{errorLocation:n(Er(a,1)),sqliteErrorInfo:p0c(a.getSqliteErrorInfo())}};var w0c=function(a){this.internalArray_=m(a)};T(w0c,p);w0c.prototype.toObject=function(){return x0c(this)};var x0c=function(a){if(null!=a)return r(a),{errorLocation:n(Er(a,1))}};var B4=function(a){this.internalArray_=m(a)};T(B4,p);f=B4.prototype;f.setStatusCode=function(a){V(this,5,a)};f.getLabel=function(){return Z(this,1)};f.setLabel=function(a){return sk(this,1,a)};f.hasLabel=function(){return Hk(this,1)};f.getCause=function(){return Z(this,2)};f.getType=function(){return Er(this,3)};f.setType=function(a){return V(this,3,a)};f.hasType=function(){return pj(this,3)};var y0c=[6,7,8];B4.prototype.toObject=function(){return z0c(this)};
var z0c=function(a){if(null!=a)return r(a),{statusCode:Zi(a,5,2),iosErrorInfo:v0c(ck(a,t0c,6,y0c)),androidErrorInfo:s0c(ck(a,q0c,7,y0c)),webErrorInfo:x0c(ck(a,w0c,8,y0c)),label:n(Z(a,1)),cause:n(Z(a,2)),type:n(Er(a,3)),causeType:n(Er(a,4))}};var C4=function(a){this.internalArray_=m(a)};T(C4,p);f=C4.prototype;f.getType=function(){return Er(this,3)};f.setType=function(a){return V(this,3,a)};f.hasType=function(){return pj(this,3)};f.setLatencyUsec=function(a){V(this,2,a)};f.getLabel=function(){return Z(this,1)};f.setLabel=function(a){return sk(this,1,a)};f.hasLabel=function(){return Hk(this,1)};f.toObject=function(){return A0c(this)};var A0c=function(a){if(null!=a)return r(a),{type:n(Er(a,3)),latencyUsec:n(Yb(a,2)),label:n(Z(a,1))}};var D4=function(a){this.internalArray_=m(a)};T(D4,p);D4.prototype.getLabel=function(){return Er(this,1)};D4.prototype.setLabel=function(a){return V(this,1,a)};D4.prototype.hasLabel=function(){return pj(this,1)};D4.prototype.toObject=function(){return B0c(this)};var B0c=function(a){if(null!=a)return r(a),{label:n(Er(a,1)),memoryUsedBytes:n(Yb(a,2)),memoryAverageUsedBytes:n(Yb(a,3))}};var E4=function(a){this.internalArray_=m(a)};T(E4,p);E4.prototype.getLabel=function(){return Er(this,1)};E4.prototype.setLabel=function(a){return V(this,1,a)};E4.prototype.hasLabel=function(){return pj(this,1)};E4.prototype.toObject=function(){return C0c(this)};var C0c=function(a){if(null!=a)return r(a),{label:n(Er(a,1)),requestProtoBytes:n(Yb(a,2)),requestBytes:n(Yb(a,3)),networkState:n(Er(a,4))}};var D0c=function(a){this.internalArray_=m(a)};T(D0c,p);f=D0c.prototype;f.getLabel=function(){return Er(this,1)};f.setLabel=function(a){return V(this,1,a)};f.hasLabel=function(){return pj(this,1)};f.getStatus=function(){return Er(this,2)};f.setStatus=function(a){return V(this,2,a)};f.hasStatus=function(){return pj(this,2)};f.setLatencyUsec=function(a){V(this,3,a)};f.getErrorCode=function(){return Yb(this,4)};f.hasErrorCode=function(){return Yk(this,4)};f.setStatusCode=function(a){V(this,7,a)};
f.setBlockedUsec=function(a){return V(this,8,a)};f.toObject=function(){return E0c(this)};var E0c=function(a){if(null!=a)return r(a),{label:n(Er(a,1)),status:n(Er(a,2)),latencyUsec:n(Yb(a,3)),errorCode:n(Yb(a,4)),responseProtoBytes:n(Yb(a,5)),responseBytes:n(Yb(a,6)),statusCode:Zi(a,7,2),blockedUsec:n(Yb(a,8)),processingUsec:n(Yb(a,9)),networkState:n(Er(a,10))}};var F4=function(a){this.internalArray_=m(a)};T(F4,p);f=F4.prototype;f.getClientInterface=function(){return X(this,iS,1)};f.setClientInterface=function(a){return hj(this,iS,1,a)};f.getEventType=function(){return Er(this,3)};f.getEventType_legacyNullable=function(){return Er(this,3)};f.setEventType=function(a){return V(this,3,a)};f.getCacheStatus=function(){return X(this,i0c,12)};f.setCacheStatus=function(a){return hj(this,i0c,12,a)};f.getCount=function(){return X(this,k0c,4)};
f.setCount=function(a){return hj(this,k0c,4,a)};f.getLatency=function(){return X(this,C4,5)};f.setLatency=function(a){return hj(this,C4,5,a)};f.getError=function(){return X(this,B4,6)};f.setError=function(a){hj(this,B4,6,a)};f.hasError=function(){return Nj(this,B4,6)};f.getRpcRequest=function(){return X(this,E4,7)};f.setRpcRequest=function(a){return hj(this,E4,7,a)};f.getRpcResponse=function(){return X(this,D0c,8)};f.setRpcResponse=function(a){return hj(this,D0c,8,a)};
f.getApiCall=function(){return X(this,c0c,9)};f.setApiCall=function(a){return hj(this,c0c,9,a)};f.getApiResult=function(){return X(this,g0c,10)};f.setApiResult=function(a){return hj(this,g0c,10,a)};
f.toObject=function(){if(null!=this){r(this);var a={clientInterface:fvc(this.getClientInterface()),autocompleteSessions:Uvc(X(this,qS,2)),eventType:n(Er(this,3)),cacheStatus:j0c(this.getCacheStatus()),deviceInfo:n0c(X(this,m0c,13)),count:l0c(this.getCount()),latency:A0c(this.getLatency()),error:z0c(this.getError()),rpcRequest:C0c(this.getRpcRequest()),rpcResponse:E0c(this.getRpcResponse()),apiCall:d0c(this.getApiCall()),apiResult:h0c(this.getApiResult()),memory:B0c(X(this,D4,11))}}else a=void 0;return a};var F0c=function(a){this.internalArray_=m(a)};T(F0c,p);F0c.prototype.toObject=function(){return G0c(this)};var G0c=function(a){if(null!=a)return r(a),{isDirectClientInteraction:n(vr(a,1))}};var H0c=function(a){this.internalArray_=m(a)};T(H0c,p);H0c.prototype.toObject=function(){return I0c(this)};var I0c=function(a){if(null!=a)return r(a),{isDeviceDataKnown:n(vr(a,1)),deviceScore:n(Ho(a,2))}};var J0c=function(a){this.internalArray_=m(a)};T(J0c,p);J0c.prototype.toObject=function(){return K0c(this)};var K0c=function(a){if(null!=a)return r(a),{cloudDeviceDataInfo:I0c(X(a,H0c,1)),clientInteractionInfo:G0c(X(a,F0c,2)),cloudScore:n(Ho(a,3))}};var L0c=function(a){this.internalArray_=m(a)};T(L0c,p);f=L0c.prototype;f.getAffinityType=function(){return Er(this,1)};f.setAffinityType=function(a){return V(this,1,a)};f.getValue=function(){return Ho(this,2)};f.getValue_legacyNullable=function(){return Ho(this,2)};f.setValue=function(a){return V(this,2,Xa(a))};f.hasValue=function(){return null!=Ho(this,2)};f.getLoggingId=function(){return Z(this,3)};f.setLoggingId=function(a){sk(this,3,a)};f.getContainerType=function(){return Er(this,4)};
f.toObject=function(){return M0c(this)};var M0c=function(a){if(null!=a)return r(a),{affinityType:n(Er(a,1)),value:n(Ho(a,2)),loggingId:n(Z(a,3)),containerType:n(Er(a,4)),containerId:n(Z(a,5)),affinityMetadata:K0c(X(a,J0c,7))}};var G4=function(a){this.internalArray_=m(a)};T(G4,p);G4.prototype.setDevice=function(a){return V(this,1,a)};G4.prototype.toObject=function(){return N0c(this)};var N0c=function(a){if(null!=a)return r(a),{device:n(Er(a,1))}};var O0c=function(a){this.internalArray_=m(a)};T(O0c,p);f=O0c.prototype;f.getAffinityType=function(){return Er(this,1)};f.setAffinityType=function(a){return V(this,1,a)};f.getQuery=function(){return Z(this,2)};f.setQuery=function(a){return sk(this,2,a)};f.clearQuery=function(){ct(this,2)};f.hasQuery=function(){return Hk(this,2)};f.getClientInformation=function(){return X(this,G4,3)};f.setClientInformation=function(a){hj(this,G4,3,a)};f.setMaxResults=function(a){return V(this,4,a)};
f.toObject=function(){if(null!=this){r(this);var a={affinityType:n(Er(this,1)),query:n(Z(this,2)),clientInformation:N0c(this.getClientInformation()),maxResults:n(ft(this,4))}}else a=void 0;return a};var P0c=new GD("/peoplestack.PeopleStackAutocompleteService/Autocomplete",O0c,z4,function(a){return a.serialize()},R_c);var Q0c=function(a){this.internalArray_=m(a)};T(Q0c,p);f=Q0c.prototype;f.getAffinityType=function(){return Er(this,1)};f.setAffinityType=function(a){return V(this,1,a)};f.getClientInformation=function(){return X(this,G4,2)};f.setClientInformation=function(a){hj(this,G4,2,a)};f.getName=function(){return Z(this,3)};f.setName=function(a){return sk(this,3,a)};f.hasName=function(){return Hk(this,3)};f.getNameOrUndefined=function(){return tt(this,3)};
f.toObject=function(){if(null!=this){r(this);var a={affinityType:n(Er(this,1)),clientInformation:N0c(this.getClientInformation()),name:n(Z(this,3)),product:n(Er(this,4)),ttl:zu(X(this,Ph,5))}}else a=void 0;return a};var H4=function(a){this.internalArray_=m(a)};T(H4,p);H4.prototype.getGroup=function(){return X(this,u4,1)};H4.prototype.setGroup=function(a){hj(this,u4,1,a)};var R0c=Zb(H4);H4.prototype.toObject=function(){if(null!=this){r(this);var a={group:L_c(this.getGroup()),tokenSecret:n(Z(this,2))}}else a=void 0;return a};var S0c=new GD("/peoplestack.PeopleStackAutocompleteService/CreateGroup",Q0c,H4,function(a){return a.serialize()},R0c);var I4=function(a){this.internalArray_=m(a)};T(I4,p);f=I4.prototype;f.getAffinityType=function(){return Er(this,1)};f.setAffinityType=function(a){return V(this,1,a)};f.getClientInformation=function(){return X(this,G4,2)};f.setClientInformation=function(a){hj(this,G4,2,a)};f.getIdsList=function(){return kj(this,Cr,3)};f.setIdsList=function(a){nj(this,3,a)};f.setIds=function(a){return $s(this,3,Cr,a)};I4.repeatedFields_=[3];
I4.prototype.toObject=function(){if(null!=this){r(this);var a={affinityType:n(Er(this,1)),clientInformation:N0c(this.getClientInformation()),idsList:Ub(this.getIdsList(),N_c)}}else a=void 0;return a};var T0c=new GD("/peoplestack.PeopleStackAutocompleteService/Lookup",I4,V_c,function(a){return a.serialize()},W_c);var U0c=function(a){this.internalArray_=m(a)};T(U0c,p);f=U0c.prototype;f.getAffinityType=function(){return Er(this,1)};f.setAffinityType=function(a){return V(this,1,a)};f.getClientInformation=function(){return X(this,G4,2)};f.setClientInformation=function(a){hj(this,G4,2,a)};f.toObject=function(){if(null!=this){r(this);var a={affinityType:n(Er(this,1)),clientInformation:N0c(this.getClientInformation())}}else a=void 0;return a};var V0c=function(a){this.internalArray_=m(a)};T(V0c,p);var W0c=Zb(V0c);V0c.prototype.toObject=function(){if(null!=this){r(this);var a={}}else a=void 0;return a};var X0c=new GD("/peoplestack.PeopleStackAutocompleteService/Warmup",U0c,V0c,function(a){return a.serialize()},W0c);var Y0c=function(a){var b={unaryInterceptors:[new HTc]};b=b||{};b.format="jspb";this.client_=new YD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};Y0c.prototype.autocomplete=function(a,b){return ZD(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Autocomplete",a,b||{},P0c)};Y0c.prototype.lookup=function(a,b){return ZD(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Lookup",a,b||{},T0c)};
Y0c.prototype.createGroup=function(a,b){return ZD(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/CreateGroup",a,b||{},S0c)};var J4=function(a,b,c,d,e){this.leanResponseProcessor_=a;this.grpcClient_=b;e?a=Xlb(e):(a=new zr,Wlb(a.setEventType(4),4));this.sourceInfo_=a;this.provenance_=e?2:1;this.trackers_=d;this.query_=e;this.affinity_=Zi(c.getPeopleApi(),5,0);this.searchMaxResults_=Rh(c.getClient(),2,10);this.cacheSize_=c.getClient().getCacheSize()};J4.prototype.getMetric=function(){return new Z0c(this.trackers_.metrics_,this.sourceInfo_)};
J4.prototype.send=function(a){var b=new O0c;b.setAffinityType(this.affinity_).setQuery(this.query_).setClientInformation((new G4).setDevice(1));this.query_.length?b.setMaxResults(this.searchMaxResults_):b.setMaxResults(this.cacheSize_);return this.grpcClient_.autocomplete(b,a)};J4.prototype.processResponse=function(a){var b=b0c(this.leanResponseProcessor_,a,this.provenance_),c=new Lr;Nj(a,y4,2)&&c.setAffinityVersion(X(a,y4,2).getAffinityVersion());return{data:b,metadata:c}};J4.prototype.close=function(){};var $0c=function(a,b,c,d,e,g){this.leanResponseProcessor_=a;this.grpcClient_=b;a=new zr;Wlb(a.setEventType(4),7).setIdType(e);this.sourceInfo_=a;this.provenance_=3;this.keys_=g;this.type_=e;this.trackers_=d;this.affinity_=Zi(c.getPeopleApi(),5,0)};$0c.prototype.getMetric=function(){return new Z0c(this.trackers_.metrics_,this.sourceInfo_)};
$0c.prototype.send=function(a){var b=this,c=new I4;c.setAffinityType(this.affinity_).setClientInformation((new G4).setDevice(1));c.setIdsList(this.keys_.map(function(d){return dmb(b.type_,d)}).filter(function(d){return!!d}));return this.grpcClient_.lookup(c,a)};
$0c.prototype.processResponse=function(a){var b=this.leanResponseProcessor_,c=this.provenance_,d=new Map;a=k(kj(a,A4,1));for(var e=a.next();!e.done;e=a.next())if(e=e.value,ak(e,v4,2,T_c)){var g=a0c(b,ck(e,v4,2,T_c),c);switch(e.getId().getIdCase()){case 1:d.set(e.getId().getEmail_legacyNullable(),g);break;case 2:d.set(e.getId().getPhone_legacyNullable(),g);break;case 3:d.set(e.getId().getProfileId_legacyNullable(),g)}}return{data:d,metadata:new Lr}};$0c.prototype.close=function(){};var a1c=function(a){this.internalArray_=m(a)};T(a1c,p);a1c.prototype.toObject=function(){return b1c(this)};var b1c=function(a){if(null!=a)return r(a),{leanAutocomplete:S_c(X(a,z4,1))}};var c1c=Tb(342338249,{leanOfflineData:0},a1c,b1c);kPc[342338249]=c1c;var d1c=function(){};d1c.prototype.write=function(a,b){var c=new a1c;b=hj(c,z4,1,b);xr(a,c1c,b)};d1c.prototype.read=function(a){return(a=a.getExtension(c1c))?X(a,z4,1):null};var e1c=function(a,b,c){this.grpcClient_=a;this.sourceInfo_=Xlb("");this.trackers_=c;this.affinity_=Zi(b.getPeopleApi(),5,0)};e1c.prototype.getMetric=function(){return new Z0c(this.trackers_.metrics_,this.sourceInfo_)};e1c.prototype.send=function(a){var b=new U0c;b.setAffinityType(this.affinity_).setClientInformation((new G4).setDevice(1));var c=this.grpcClient_;return ZD(c.client_,c.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Warmup",b,a||{},X0c)};
e1c.prototype.processResponse=function(){return{data:[],metadata:new Lr}};e1c.prototype.close=function(){};var f1c=new b5b;var K4=function(a,b,c){this.delegate_=a;this.runtimeConfig_=b;this.offlineResponse_=c};K4.prototype.send=function(a){var b=this;return pe(function(c){return b.runtimeConfig_.isOffline_()?c.return(f1c):c.return(b.delegate_.send(a))})};K4.prototype.getMetric=function(){return this.delegate_.getMetric()};K4.prototype.processResponse=function(a){return a===f1c?this.offlineResponse_:this.delegate_.processResponse(a)};K4.prototype.close=function(a){this.delegate_.close(a)};
var g1c={data:[],metadata:Vj(new Lr,5,!0).setCode(14)},h1c={data:new Map,metadata:Vj(new Lr,5,!0).setCode(14)};Vj(new Lr,5,!0).setCode(14);Vj(new Lr,5,!0).setCode(14);var i1c=function(a){this.internalArray_=m(a)};T(i1c,p);f=i1c.prototype;f.getTimestamp=function(){return qj(this,1)};f.setTimestamp=function(a){return V(this,1,a)};f.hasTimestamp=function(){return Yk(this,1)};f.getOwner=function(){return U(this,2)};f.setOwner=function(a){return sk(this,2,a)};f.toObject=function(){return j1c(this)};var j1c=function(a){if(null!=a)return r(a),{timestamp:n(Yb(a,1)),owner:n(Z(a,2))}};var k1c=Tb(342656659,{metadata:0},i1c,j1c);kPc[342656659]=k1c;var L4=function(a,b,c,d,e){this.delegate_=a;this.offlineStorage_=b;this.offlineDataTransformer_=c;this.owner_=d;this.storageTaskDelayMillis_=e;this.offlineMetadata_=null};L4.prototype.store_=function(a,b){var c=new jPc;xr(c,k1c,(new i1c).setTimestamp(b).setOwner(String(this.owner_)));this.offlineDataTransformer_.write(c,a);this.offlineStorage_.store(c)};
var l1c=function(a){var b,c;return pe(function(d){if(1==d.nextAddress)return qe(d,2),d.yield(a.offlineStorage_.fetch(),4);if(2!=d.nextAddress){b=d.yieldResult;if(!b)return d.return(null);a.offlineMetadata_=b.getExtension(k1c);c=a.offlineMetadata_?Owc(a.offlineMetadata_.getOwner()):tr;return a.owner_.equals(c)?d.return(a.offlineDataTransformer_.read(b)):d.return(null)}te(d);return d.return(null)})};
L4.prototype.send=function(a){var b=this,c,d,e,g,h;return pe(function(l){switch(l.nextAddress){case 1:return qe(l,2),l.yield(b.delegate_.send(a),4);case 4:c=l.yieldResult;d=Date.now();if(c!==f1c){l.jumpTo(5);break}return l.yield(l1c(b),6);case 6:return e=l.yieldResult,l.return(e||f1c);case 5:return setTimeout(function(){b.store_(c,d)},b.storageTaskDelayMillis_),l.return(c);case 2:return g=te(l),l.yield(l1c(b),7);case 7:return(h=l.yieldResult)?l.return(h):l.return(Promise.reject(g))}})};
L4.prototype.getMetric=function(){return this.delegate_.getMetric()};L4.prototype.processResponse=function(a){a=this.delegate_.processResponse(a);if(!a||!this.offlineMetadata_||!this.offlineMetadata_.hasTimestamp())return a;a.metadata.setTimestamp(this.offlineMetadata_.getTimestamp());return a};L4.prototype.close=function(a){this.delegate_.close(a)};var m1c=function(a,b){this.config_=a;this.trackers_=b;b=this.config_;b={apiKey:b.runtimeConfig_.getApiKey()||(7===b.runtimeConfig_.getPeopleApiEnv()?U(b.getGapi(),2,""):b.getGapi().getApiKey()),timeoutSec:a.getClient().getRpcTimeoutSec(),authErrorHandler:a.runtimeConfig_.getAuthErrorHandler(),customAuthHeaders:a.runtimeConfig_.customAuthHeaders_};this.dispatcher_=new JTc(b);b=iMa("peoplestack-pa",a.runtimeConfig_.getPeopleApiEnv());this.grpcPeopleStackClient_=new Y0c(b);this.offlineDataTransformer_=
new d1c;a=Tj(a.getClient(),22,!1);this.leanResponseProcessor_=new X_c({allowEmptyTargets:a})};f=m1c.prototype;
f.loadRankedItems=function(){var a=new J4(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,"");a=new K4(a,this.config_.runtimeConfig_,g1c);var b=this.config_,c=this.offlineDataTransformer_,d=b.runtimeConfig_.offlineStorage_;if(d){var e=b.runtimeConfig_.getUserEmail();e&&(e=or(e),b=Rh(b.getPeopleApi(),14,5E3),a=new L4(a,d,c,e,b))}return LTc(this.dispatcher_,a)};
f.warmUpServer=function(){var a=new e1c(this.grpcPeopleStackClient_,this.config_,this.trackers_);a=new K4(a,this.config_.runtimeConfig_,g1c);return LTc(this.dispatcher_,a)};f.loadAutocompleteItems=function(a){a=a.getPrefix();a=new J4(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a);a=new K4(a,this.config_.runtimeConfig_,g1c);return LTc(this.dispatcher_,a)};
f.loadLookupItems=function(a,b){a=new $0c(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a,b);a=new K4(a,this.config_.runtimeConfig_,h1c);return LTc(this.dispatcher_,a)};f.loadContactItems=function(){};var emb=new Map([[1,1],[2,2]]);var hmb=new Map([[3,3],[1,2],[2,1]]),n1c=new Map([[2,1],[4,2],[3,3],[1,4]]),o1c=function(a){this.delegate_=a};
o1c.prototype.processItem=function(a){if(a.person||a.contactMethod){switch(a.contactMethod.getValueCase()){case 2:var b=a.contactMethod.getEmail();var c=b.getValue()||"";c=mr(a.id).setValue(c);if(kj(b,k4,2).length||Nj(b,l4,3)){var d=1;if(kj(b,k4,2).length){var e=kj(b,k4,2)[0];Yb(e,1);d=n1c.get(e.getStatus())||d}Nj(b,l4,3)&&X(b,l4,3).getSmtpServerSupportsTls();4===(void 0===d?1:d)&&Date.now()}b.hasInternalExternal()&&(b=fmb(b.getInternalExternal()),c.orgState_=b);vr(a.contactMethod,7)&&(c.resultType_=
2);b=c;break;case 3:b=a.contactMethod.getPhone();b=b.getOriginalValue()||b.getDisplayValue()||Z(b,2)||"";b=mr(a.id).setValue(b);break;case 4:b=ck(a.contactMethod,pr,4,qr);b=jmb(a,b);break;default:b=mr(a.id||tr)}b.setDataSource(a.dataSource||0);a.containerIds&&(b.sourceIds_=a.containerIds||[]);ylb(b,!!a.isMe);a.person&&a.person.hasAffinity()&&b.setPersonLoggingId(gmb(Hca(Jo(a.person.getAffinity(),1))||""));a.contactMethod.hasDisplayInfo()&&imb(b,a.contactMethod.getDisplayInfo());Hk(a.contactMethod,
10)&&Clb(b,[Dlb(a.contactMethod.getTypeLabel())]);a.targetExtendedData&&b.setExtendedData(a.targetExtendedData);a.target=b}else a.group?lmb(a,a.group.getDisplayInfo()):a.contactLabel&&lmb(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 Z0c=function(a,b){this.metrics_=a;this.state_=new pS(b)};f=Z0c.prototype;f.start=function(a){this.metrics_.start(this.state_,a)};f.stop=function(a){this.metrics_.stop(this.state_,a)};f.count=function(){this.metrics_.count(this.state_)};f.latency=function(){this.metrics_.latency(this.state_)};f.error=function(){this.metrics_.error(this.state_)};
f.status=function(a,b,c){b=void 0===b?0:b;c=void 0===c?0:c;if(b){var d=this.state_.source();V(d,13,b)}c&&(b=this.state_.source(),V(b,12,c));this.metrics_.status(this.state_,a)};f.logError=function(a,b){this.metrics_.logError(a,b)};var p1c=function(a){this.metrics_=a};p1c.prototype.error=function(a,b){var c=this.metrics_,d=new zr;a=d.setEventType(3).setErrorType(a);V(a,7,b);return new sZc(c,d)};p1c.prototype.latency=function(a){var b=this.metrics_,c=new zr,d=c.setEventType(2);V(d,5,a);return new PTc(b,c)};p1c.prototype.count=function(a){var b=this.metrics_,c=new zr,d=c.setEventType(1);V(d,4,a);return new rZc(b,c)};p1c.prototype.api=function(a){return new qZc(this.metrics_,a)};var q1c=function(a,b){this.ranker_=new kZc(a.getClient());this.loader_=new m1c(a,b);b=FZc;b=void 0===b?FZc:b;this.targetFactory_=new UZc(a,new o1c(b))};var r1c=function(a){this.internalArray_=m(a)};T(r1c,p);r1c.prototype.toObject=function(){return s1c(this)};var s1c=function(a){if(null!=a)return r(a),{availabilities:mVc(X(a,lVc,1))}};var t1c=function(a){this.internalArray_=m(a)};T(t1c,p);t1c.prototype.toObject=function(){return u1c(this)};var u1c=function(a){if(null!=a)return r(a),{nicknameOption:n(Er(a,1))}};var v1c=function(a){this.internalArray_=m(a)};T(v1c,p);v1c.prototype.toObject=function(){return w1c(this)};var w1c=function(a){if(null!=a)return r(a),{redDiff:n(Ho(a,1)),greenDiff:n(Ho(a,2)),blueDiff:n(Ho(a,3))}};var x1c=function(a){this.internalArray_=m(a)};T(x1c,p);x1c.prototype.toObject=function(){return y1c(this)};var y1c=function(a){if(null!=a)return r(a),{diffData:w1c(X(a,v1c,1)),lowResUrl:n(Z(a,2)),highResUrl:n(Z(a,3)),monogramUrl:n(Z(a,7)),privateLowResAcl:n(vr(a,4)),lowResData:Xb(Jo(a,5)),inconsistentPhoto:n(vr(a,6))}};var z1c=function(a){this.internalArray_=m(a)};T(z1c,p);z1c.repeatedFields_=[1];z1c.prototype.toObject=function(){return A1c(this)};var A1c=function(a){if(null!=a)return r(a),{lockedFieldList:n(Th(a,1))}};var B1c=function(a){this.internalArray_=m(a)};T(B1c,p);B1c.prototype.toObject=function(){return C1c(this)};var C1c=function(a){if(null!=a)return r(a),{quotaEnforcementStatus:n(Er(a,5)),nameLastModified:n(Yb(a,1)),nameChangesRemaining:n(ft(a,2)),computedNameChangesRemaining:n(ft(a,6)),nicknameLastModified:n(Yb(a,3)),nicknameChangesRemaining:n(ft(a,4)),computedNicknameChangesRemaining:n(ft(a,7))}};var D1c=function(a){this.internalArray_=m(a)};T(D1c,p);D1c.prototype.toObject=function(){return E1c(this)};var E1c=function(a){if(null!=a)return r(a),{profileNameModificationHistory:C1c(X(a,B1c,1)),nameDisplayOptions:u1c(X(a,t1c,2)),profileEditability:A1c(X(a,z1c,3)),photosCompareData:y1c(X(a,x1c,4))}};var F1c=function(a){this.internalArray_=m(a)};T(F1c,p);F1c.prototype.getSourceType=function(){return Er(this,1)};F1c.prototype.setSourceType=function(a){return V(this,1,a)};F1c.prototype.toObject=function(){return G1c(this)};var G1c=function(a){if(null!=a)return r(a),{sourceType:n(Er(a,1))}};var H1c=function(a){this.internalArray_=m(a)};T(H1c,p);H1c.prototype.toObject=function(){return I1c(this)};var I1c=function(a){if(null!=a)return r(a),{callerIdSource:G1c(X(a,F1c,1))}};var M4=function(a){this.internalArray_=m(a)};T(M4,p);M4.prototype.toObject=function(){return J1c(this)};var J1c=function(a){if(null!=a)return r(a),{failureType:n(Er(a,1))}};var K1c=function(a){this.internalArray_=m(a)};T(K1c,p);K1c.prototype.getFailure=function(){return X(this,M4,3)};K1c.prototype.toObject=function(){return L1c(this)};var L1c=function(a){if(null!=a)return r(a),{maskedNumber:n(Z(a,1)),internationalNumber:n(Z(a,2)),failure:J1c(a.getFailure())}};var M1c=function(a){this.internalArray_=m(a)};T(M1c,p);M1c.prototype.toObject=function(){return N1c(this)};var N1c=function(a){if(null!=a)return r(a),{contentRestriction:n(Er(a,1)),isEnterpriseUser:n(vr(a,2))}};var O1c=function(a){this.internalArray_=m(a)};T(O1c,p);O1c.prototype.toObject=function(){return P1c(this)};var P1c=function(a){if(null!=a)return r(a),{isPinned:n(vr(a,1)),isFavorite:n(vr(a,2)),isDismissed:n(vr(a,3)),hadPastHangoutState:n(Er(a,5)),invitationStatus:n(Er(a,6)),userType:n(Er(a,7)),isBot:n(vr(a,8))}};var Q1c=function(a){this.internalArray_=m(a)};T(Q1c,p);Q1c.prototype.getFailure=function(){return X(this,M4,6)};Q1c.repeatedFields_=[4];Q1c.prototype.toObject=function(){return R1c(this)};var R1c=function(a){if(null!=a)return r(a),{profilePhotoUrl:n(Z(a,1)),userCaption:n(Z(a,2)),numContributions:n(Yb(a,3)),topicExpertiseList:n(Th(a,4)),tagline:n(Z(a,5)),failure:J1c(a.getFailure()),followeeCount:n(Yb(a,7)),followerCount:n(ft(a,8))}};var S1c=function(a){this.internalArray_=m(a)};T(S1c,p);S1c.prototype.toObject=function(){return T1c(this)};var T1c=function(a){if(null!=a)return r(a),{achievementName:n(Z(a,1)),achievementUnlockedIconUrl:n(Z(a,2)),rarityPercentage:n(Ho(a,3))}};var U1c=function(a){this.internalArray_=m(a)};T(U1c,p);U1c.prototype.getFailure=function(){return X(this,M4,8)};U1c.repeatedFields_=[5];U1c.prototype.toObject=function(){return V1c(this)};var V1c=function(a){if(null!=a)return r(a),{gamerTag:n(Z(a,1)),avatarImageUrl:n(Z(a,2)),totalUnlockedAchievements:n(Yb(a,3)),playerLevel:n(ft(a,4)),achievementsList:Ub(kj(a,S1c,5),T1c),profileVisibility:n(Er(a,6)),totalFriendsCount:n(Yb(a,7)),failure:J1c(a.getFailure())}};var W1c=function(a){this.internalArray_=m(a)};T(W1c,p);W1c.prototype.toObject=function(){return X1c(this)};var X1c=function(a){if(null!=a)return r(a),{isIncomplete:n(vr(a,1))}};var Y1c=function(a){this.internalArray_=m(a)};T(Y1c,p);f=Y1c.prototype;f.getDescription=function(){return Z(this,3)};f.setDescription=function(a){return sk(this,3,a)};f.hasDescription=function(){return Hk(this,3)};f.getTitle=function(){return Z(this,9)};f.setTitle=function(a){return sk(this,9,a)};f.toObject=function(){return Z1c(this)};
var Z1c=function(a){if(null!=a)return r(a),{channelId:n(Z(a,1)),subscriberCount:n(Yb(a,2)),description:n(Z(a,3)),videoCount:n(Yb(a,4)),playlistCount:n(Yb(a,5)),commentCount:n(Yb(a,6)),profileUrl:n(Z(a,7)),usesYoutubeNames:n(vr(a,8)),title:n(Z(a,9)),profilePictureUrl:n(Z(a,10))}};var $1c=function(a){this.internalArray_=m(a)};T($1c,p);$1c.prototype.getFailure=function(){return X(this,M4,5)};$1c.repeatedFields_=[4];$1c.prototype.toObject=function(){return a2c(this)};var a2c=function(a){if(null!=a)return r(a),{channelDataList:Ub(kj(a,Y1c,4),Z1c),failure:J1c(a.getFailure())}};var N4=function(a){this.internalArray_=m(a)};T(N4,p);f=N4.prototype;f.getDynamiteExtendedData=function(){return X(this,h4,5)};f.getIsPlaceholder=function(){return vr(this,6)};f.setIsPlaceholder=function(a){Vj(this,6,a)};f.getPaisaExtendedData=function(){return X(this,WZc,11)};f.getPeopleStackExtendedData=function(){return X(this,s4,16)};f.getPeopleStackPersonExtendedData=function(){return X(this,m3,18)};N4.repeatedFields_=[1];N4.prototype.toObject=function(){return b2c(this)};
var b2c=function(a){if(null!=a)return r(a),{domainNameList:n(Th(a,1)),hangoutsExtendedData:P1c(X(a,O1c,2)),aboutMeExtendedData:E1c(X(a,D1c,3)),tlsIsPlaceholder:n(vr(a,4)),dynamiteExtendedData:VZc(a.getDynamiteExtendedData()),isPlaceholder:n(vr(a,6)),contactsExtendedData:X1c(X(a,W1c,7)),gplusExtendedData:N1c(X(a,M1c,8)),callerIdExtendedData:I1c(X(a,H1c,9)),appsWaldoExtendedData:s1c(X(a,r1c,10)),paisaExtendedData:XZc(a.getPaisaExtendedData()),playGamesExtendedData:V1c(X(a,U1c,12)),mapsExtendedData:R1c(X(a,
Q1c,13)),youtubeExtendedData:a2c(X(a,$1c,15)),peopleStackExtendedData:E_c(a.getPeopleStackExtendedData()),peopleStackPersonExtendedData:UVc(a.getPeopleStackPersonExtendedData()),gpayExtendedData:L1c(X(a,K1c,17))}};var c2c=function(a){this.internalArray_=m(a)};T(c2c,p);c2c.prototype.getContainerType=function(){return Er(this,2)};c2c.prototype.toObject=function(){return d2c(this)};var d2c=function(a){if(null!=a)return r(a),{containerId:n(Z(a,1)),containerType:n(Er(a,2)),materialized:n(vr(a,3))}};var e2c=function(a){this.internalArray_=m(a)};T(e2c,p);e2c.prototype.getDisplayName=function(){return Z(this,3)};e2c.prototype.setDisplayName=function(a){return sk(this,3,a)};e2c.prototype.toObject=function(){return f2c(this)};var f2c=function(a){if(null!=a)return r(a),{circleId:n(Z(a,1)),circleSet:n(Er(a,2)),displayName:n(Z(a,3))}};var g2c=function(a){this.internalArray_=m(a)};T(g2c,p);g2c.prototype.getDisplayName=function(){return Z(this,2)};g2c.prototype.setDisplayName=function(a){return sk(this,2,a)};g2c.prototype.toObject=function(){return h2c(this)};var h2c=function(a){if(null!=a)return r(a),{contactGroupId:n(Z(a,1)),displayName:n(Z(a,2))}};var i2c=function(a){this.internalArray_=m(a)};T(i2c,p);i2c.prototype.getCircle=function(){return X(this,e2c,1)};i2c.prototype.toObject=function(){return j2c(this)};var j2c=function(a){if(null!=a)return r(a),{circle:f2c(a.getCircle()),contactGroup:h2c(X(a,g2c,2))}};var O4=function(a){this.internalArray_=m(a)};T(O4,p);O4.prototype.getDisplayName=function(){return Z(this,2)};O4.prototype.setDisplayName=function(a){return sk(this,2,a)};O4.prototype.getPhotoUrl=function(){return Z(this,3)};O4.prototype.toObject=function(){return k2c(this)};var k2c=function(a){if(null!=a)return r(a),{personId:n(Z(a,1)),displayName:n(Z(a,2)),photoUrl:n(Z(a,3))}};var l2c=function(a){this.internalArray_=m(a)};T(l2c,p);l2c.prototype.getPerson=function(){return X(this,O4,2)};l2c.prototype.getMembership=function(){return X(this,i2c,4)};l2c.prototype.toObject=function(){return m2c(this)};var m2c=function(a){if(null!=a)return r(a),{allUsers:n(vr(a,1)),person:k2c(a.getPerson()),domainUsers:n(vr(a,3)),membership:j2c(a.getMembership())}};var n2c=function(a){this.internalArray_=m(a)};T(n2c,p);n2c.prototype.getScope=function(){return X(this,l2c,2)};n2c.prototype.toObject=function(){return o2c(this)};var o2c=function(a){if(null!=a)return r(a),{role:n(Er(a,1)),scope:m2c(a.getScope())}};var p2c=function(a){this.internalArray_=m(a)};T(p2c,p);p2c.repeatedFields_=[1,2,3];p2c.prototype.toObject=function(){return q2c(this)};var q2c=function(a){if(null!=a)return r(a),{aclEntryList:Ub(kj(a,n2c,1),o2c),predefinedAclEntryList:n(cl(a,2)),authorizedViewersList:n(cl(a,3))}};var P4=function(a){this.internalArray_=m(a)};T(P4,p);P4.prototype.getContainerType=function(){return Er(this,15)};P4.prototype.getPrimary=function(){return vr(this,3)};P4.prototype.getVisibility=function(){return Zi(this,6,1)};P4.prototype.getAffinityList=function(){return kj(this,L0c,10)};P4.repeatedFields_=[13,10];P4.prototype.toObject=function(){return Q4(this)};
var Q4=function(a){if(null!=a)return r(a),{writeable:Tj(a,1,!1),containerType:n(Er(a,15)),containerId:n(Yb(a,8)),encodedContainerId:n(Z(a,9)),primary:n(vr(a,3)),edgeKeyInfoList:Ub(kj(a,c2c,13),d2c),visibility:Zi(a,6,1),verified:Tj(a,7,!1),affinityList:Ub(a.getAffinityList(),M0c),fieldAcl:q2c(X(a,p2c,11)),containerPrimary:n(vr(a,12))}};var r2c=function(a){this.internalArray_=m(a)};T(r2c,p);r2c.prototype.getMetadata=function(){return X(this,P4,6)};r2c.prototype.setMetadata=function(a){hj(this,P4,6,a)};r2c.prototype.toObject=function(){return s2c(this)};var s2c=function(a){if(null!=a)return r(a),{metadata:Q4(a.getMetadata()),imageUrl:n(Z(a,1)),imageId:n(Z(a,2)),imageHeight:n(ft(a,3)),imageWidth:n(ft(a,4)),isDefault:n(vr(a,5)),isAnimated:n(vr(a,7))}};var t2c=function(a){this.internalArray_=m(a)};T(t2c,p);f=t2c.prototype;f.getSmtpServerSupportsTls=function(){vr(this,1)};f.getInternalExternal=function(){return X(this,m4,3)};f.hasInternalExternal=function(){return Nj(this,m4,3)};f.getIsPlaceholder=function(){return vr(this,4)};f.setIsPlaceholder=function(a){Vj(this,4,a)};f.toObject=function(){return u2c(this)};
var u2c=function(a){if(null!=a)return r(a),{smtpServerSupportsTls:n(vr(a,1)),usesConfusingCharacters:n(vr(a,2)),internalExternal:u_c(a.getInternalExternal()),isPlaceholder:n(vr(a,4))}};var R4=function(a){this.internalArray_=m(a)};T(R4,p);R4.prototype.setStatusCode=function(a){V(this,2,a)};R4.prototype.toObject=function(){return v2c(this)};var v2c=function(a){if(null!=a)return r(a),{notAfterSec:n(Yb(a,1)),statusCode:n(Er(a,2))}};var w2c=function(a){this.internalArray_=m(a)};T(w2c,p);f=w2c.prototype;f.getMetadata=function(){return X(this,P4,1)};f.setMetadata=function(a){hj(this,P4,1,a)};f.getStatus=function(){return X(this,R4,2)};f.setStatus=function(a){return hj(this,R4,2,a)};f.hasStatus=function(){return Nj(this,R4,2)};f.toObject=function(){return x2c(this)};var x2c=function(a){if(null!=a)return r(a),{metadata:Q4(a.getMetadata()),status:v2c(a.getStatus()),configurationName:n(Z(a,3))}};var S4=function(a){this.internalArray_=m(a)};T(S4,p);S4.prototype.getType=function(){return Er(this,1)};S4.prototype.setType=function(a){return V(this,1,a)};S4.prototype.hasType=function(){return pj(this,1)};S4.prototype.toObject=function(){return y2c(this)};var y2c=function(a){if(null!=a)return r(a),{type:n(Er(a,1)),contactGroupId:n(Z(a,2))}};var z2c=function(a){this.internalArray_=m(a)};T(z2c,p);z2c.prototype.getPrimary=function(){return vr(this,1)};z2c.prototype.toObject=function(){return A2c(this)};var A2c=function(a){if(null!=a)return r(a),{primary:n(vr(a,1))}};var T4=function(a){this.internalArray_=m(a)};T(T4,p);f=T4.prototype;f.getMetadata=function(){return X(this,P4,1)};f.setMetadata=function(a){hj(this,P4,1,a)};f.getValue=function(){return Z(this,2)};f.getValue_legacyNullable=function(){return Z(this,2)};f.setValue=function(a){return sk(this,2,a)};f.hasValue=function(){return Hk(this,2)};f.getType=function(){return Z(this,3)};f.setType=function(a){return sk(this,3,a)};f.hasType=function(){return Hk(this,3)};
f.getDisplayName=function(){return Z(this,6)};f.setDisplayName=function(a){return sk(this,6,a)};f.getExtendedData=function(){return X(this,t2c,8)};f.setExtendedData=function(a){hj(this,t2c,8,a)};f.hasExtendedData=function(){return Nj(this,t2c,8)};T4.repeatedFields_=[5,7];T4.prototype.toObject=function(){return B2c(this)};
var B2c=function(a){if(null!=a)return r(a),{metadata:Q4(a.getMetadata()),value:n(Z(a,2)),type:n(Z(a,3)),formattedType:n(Z(a,4)),displayName:n(Z(a,6)),contactGroupPreferenceList:Ub(kj(a,S4,5),y2c),certificateList:Ub(kj(a,w2c,7),x2c),extendedData:u2c(a.getExtendedData()),classification:n(Er(a,9)),signupEmailMetadata:A2c(X(a,z2c,10))}};var C2c=function(a){this.internalArray_=m(a)};T(C2c,p);f=C2c.prototype;f.getMetadata=function(){return X(this,P4,1)};f.setMetadata=function(a){hj(this,P4,1,a)};f.getType=function(){return Z(this,2)};f.setType=function(a){return sk(this,2,a)};f.hasType=function(){return Hk(this,2)};f.toObject=function(){return D2c(this)};var D2c=function(a){if(null!=a)return r(a),{metadata:Q4(a.getMetadata()),type:n(Z(a,2)),formattedType:n(Z(a,3)),customType:n(Z(a,4)),addressMeAs:n(Z(a,5))}};var E2c=function(a){this.internalArray_=m(a)};T(E2c,p);E2c.prototype.toObject=function(){return F2c(this)};var F2c=function(a){if(null!=a)return r(a),{byteValue:Xb(Jo(a,1)),app:n(Er(a,2))}};var G2c=function(a){this.internalArray_=m(a)};T(G2c,p);f=G2c.prototype;f.getFieldType=function(){return Er(this,1)};f.getFieldType_legacyNullable=function(){return Er(this,1)};f.setFieldType=function(a){V(this,1,a)};f.getFieldTypeOrUndefined=function(){return Qr(this,1)};f.getValue=function(){return Z(this,3)};f.getValue_legacyNullable=function(){return Z(this,3)};f.setValue=function(a){return sk(this,3,a)};f.hasValue=function(){return Hk(this,3)};f.toObject=function(){return H2c(this)};
var H2c=function(a){if(null!=a)return r(a),{fieldType:n(Er(a,1)),fieldIndex:n(ft(a,2)),value:n(Z(a,3))}};var I2c=function(a){this.internalArray_=m(a)};T(I2c,p);f=I2c.prototype;f.getMetadata=function(){return X(this,P4,1)};f.setMetadata=function(a){hj(this,P4,1,a)};f.getType=function(){return Er(this,3)};f.setType=function(a){return V(this,3,a)};f.hasType=function(){return pj(this,3)};f.getValue=function(){return Z(this,4)};f.getValue_legacyNullable=function(){return Z(this,4)};f.setValue=function(a){return sk(this,4,a)};f.hasValue=function(){return Hk(this,4)};
f.setOriginatingField=function(a){return $s(this,5,G2c,a)};I2c.repeatedFields_=[2,5,6];I2c.prototype.toObject=function(){return J2c(this)};var J2c=function(a){if(null!=a)return r(a),{metadata:Q4(a.getMetadata()),appList:n(cl(a,2)),type:n(Er(a,3)),value:n(Z(a,4)),originatingFieldList:Ub(kj(a,G2c,5),H2c),clientDataList:Ub(kj(a,E2c,6),F2c)}};var K2c=function(a){this.internalArray_=m(a)};T(K2c,p);f=K2c.prototype;f.getSource=function(){return Zi(this,1,0)};f.setSource=function(a){return V(this,1,a)};f.hasSource=function(){return pj(this,1)};f.getSourceOrUndefined=function(){return Qr(this,1)};f.toObject=function(){return L2c(this)};var L2c=function(a){if(null!=a)return r(a),{source:n(Er(a,1))}};var M2c=function(a){this.internalArray_=m(a)};T(M2c,p);f=M2c.prototype;f.getMetadata=function(){return X(this,P4,1)};f.setMetadata=function(a){hj(this,P4,1,a)};f.getDisplayName=function(){return Z(this,2)};f.setDisplayName=function(a){return sk(this,2,a)};f.getGivenName=function(){return Z(this,4)};f.setGivenName=function(a){return sk(this,4,a)};f.hasGivenName=function(){return Hk(this,4)};f.getFamilyName=function(){return Z(this,5)};f.setFamilyName=function(a){return sk(this,5,a)};
f.hasFamilyName=function(){return Hk(this,5)};f.toObject=function(){return N2c(this)};
var N2c=function(a){if(null!=a)return r(a),{metadata:Q4(a.getMetadata()),displayName:n(Z(a,2)),displayNameSource:L2c(X(a,K2c,20)),displayNameLastFirst:n(Z(a,13)),unstructuredName:n(Z(a,16)),givenName:n(Z(a,4)),familyName:n(Z(a,5)),middleName:n(Z(a,6)),honorificPrefix:n(Z(a,7)),honorificSuffix:n(Z(a,8)),yomiFullName:n(Z(a,14)),yomiGivenName:n(Z(a,9)),yomiFamilyName:n(Z(a,10)),yomiMiddleName:n(Z(a,15)),yomiHonorificPrefix:n(Z(a,11)),yomiHonorificSuffix:n(Z(a,12)),formattedName:n(Z(a,3))}};var U4=function(a){this.internalArray_=m(a)};T(U4,p);U4.prototype.getDisplayName=function(){return Z(this,1)};U4.prototype.setDisplayName=function(a){return sk(this,1,a)};U4.prototype.getContainerType=function(){return Er(this,3)};U4.prototype.toObject=function(){return O2c(this)};var O2c=function(a){if(null!=a)return r(a),{displayName:n(Z(a,1)),displayNameLastFirst:n(Z(a,2)),containerType:n(Er(a,3))}};var P2c=function(a){this.internalArray_=m(a)};T(P2c,p);f=P2c.prototype;f.getContainerType=function(){return Er(this,6)};f.getId=function(){return Z(this,2)};f.setId=function(a){return sk(this,2,a)};f.getDeleted=function(){return vr(this,3)};f.setDeleted=function(a){Vj(this,3,a)};f.toObject=function(){return Q2c(this)};var Q2c=function(a){if(null!=a)return r(a),{containerType:n(Er(a,6)),id:n(Z(a,2)),deleted:n(vr(a,3)),sourceEtag:n(Z(a,5))}};var R2c=function(a){this.internalArray_=m(a)};T(R2c,p);R2c.prototype.getSourceIdsList=function(){return kj(this,P2c,3)};R2c.repeatedFields_=[1,2,3];R2c.prototype.toObject=function(){return S2c(this)};var S2c=function(a){if(null!=a)return r(a),{previousPersonIdList:n(Th(a,1)),originalLookupTokenList:n(Th(a,2)),sourceIdsList:Ub(a.getSourceIdsList(),Q2c)}};var V4=function(a){this.internalArray_=m(a)};T(V4,p);f=V4.prototype;f.getDeleted=function(){return vr(this,1)};f.setDeleted=function(a){Vj(this,1,a)};f.getContactId=function(){return jt(this,6)};f.setContactId=function(a){mt(this,6,a)};f.getAffinityList=function(){return kj(this,L0c,17)};V4.repeatedFields_=[6,17,8,13];V4.prototype.toObject=function(){return T2c(this)};
var T2c=function(a){if(null!=a)return r(a),{deleted:n(vr(a,1)),contactIdList:n(Sh(a,6)),affinityList:Ub(a.getAffinityList(),M0c),bestDisplayName:O2c(X(a,U4,24)),identityInfo:S2c(X(a,R2c,22)),circleIdList:n(Th(a,8)),ownerId:n(Z(a,4)),ownerUserTypeList:n(cl(a,13)),objectType:Zi(a,5,0),inViewerDomain:n(vr(a,12))}};var U2c=function(a){this.internalArray_=m(a)};T(U2c,p);f=U2c.prototype;f.getMetadata=function(){return X(this,P4,1)};f.setMetadata=function(a){hj(this,P4,1,a)};f.getValue=function(){return Z(this,2)};f.getValue_legacyNullable=function(){return Z(this,2)};f.setValue=function(a){return sk(this,2,a)};f.hasValue=function(){return Hk(this,2)};f.getType=function(){return Z(this,3)};f.setType=function(a){return sk(this,3,a)};f.hasType=function(){return Hk(this,3)};f.setUri=function(a){return sk(this,7,a)};
f.toObject=function(){return V2c(this)};var V2c=function(a){if(null!=a)return r(a),{metadata:Q4(a.getMetadata()),value:n(Z(a,2)),type:n(Z(a,3)),formattedType:n(Z(a,5)),canonicalizedForm:n(Z(a,4)),uri:n(Z(a,7))}};var W2c=function(a){this.internalArray_=m(a)};T(W2c,p);f=W2c.prototype;f.getMetadata=function(){return X(this,P4,1)};f.setMetadata=function(a){hj(this,P4,1,a)};f.getUrl=function(){return Z(this,2)};f.setUrl=function(a){return sk(this,2,a)};f.hasUrl=function(){return Hk(this,2)};f.toObject=function(){return X2c(this)};var X2c=function(a){if(null!=a)return r(a),{metadata:Q4(a.getMetadata()),url:n(Z(a,2)),isDefault:n(vr(a,3)),isMonogram:n(vr(a,7)),monogramBackground:n(Z(a,8))}};var W4=function(a){this.internalArray_=m(a)};T(W4,p);W4.prototype.getMetadata=function(){return X(this,P4,1)};W4.prototype.setMetadata=function(a){hj(this,P4,1,a)};W4.repeatedFields_=[22];W4.prototype.toObject=function(){return Y2c(this)};var Y2c=function(a){if(null!=a)return r(a),{metadata:Q4(a.getMetadata()),unjoinedEmailCertificatesList:Ub(kj(a,T4,22),B2c)}};var Z2c=function(a){this.internalArray_=m(a)};T(Z2c,p);Z2c.prototype.toObject=function(){return $2c(this)};var $2c=function(a){if(null!=a)return r(a),{personId:n(Z(a,1)),memberType:n(Er(a,2))}};var a3c=function(a){this.internalArray_=m(a)};T(a3c,p);a3c.prototype.toObject=function(){return b3c(this)};var b3c=function(a){if(null!=a)return r(a),{directUserCount:n(Yb(a,1)),directGroupCount:n(Yb(a,2))}};var X4=function(a){this.internalArray_=m(a)};T(X4,p);X4.prototype.getMetadata=function(){return X(this,P4,1)};X4.prototype.setMetadata=function(a){hj(this,P4,1,a)};X4.repeatedFields_=[3];X4.prototype.toObject=function(){return c3c(this)};var c3c=function(a){if(null!=a)return r(a),{metadata:Q4(a.getMetadata()),rosterMemberCount:b3c(X(a,a3c,2)),abridgedRosterMembershipsList:Ub(kj(a,Z2c,3),$2c)}};var d3c=function(a){this.internalArray_=m(a)};T(d3c,p);f=d3c.prototype;f.getName=function(){return Z(this,1)};f.setName=function(a){return sk(this,1,a)};f.hasName=function(){return Hk(this,1)};f.getNameOrUndefined=function(){return tt(this,1)};f.toObject=function(){return e3c(this)};var e3c=function(a){if(null!=a)return r(a),{name:n(Z(a,1)),interactionRank:n(Z(a,2)),lastName:n(Z(a,4)),nameRaw:n(Z(a,5)),lastNameRaw:n(Z(a,6))}};var f3c=function(a){this.internalArray_=m(a)};T(f3c,p);f=f3c.prototype;f.getMetadata=function(){return X(this,V4,2)};f.setMetadata=function(a){hj(this,V4,2,a)};f.setName=function(a){return $s(this,3,M2c,a)};f.setPhoto=function(a){$s(this,4,W2c,a)};f.getEmailList=function(){return kj(this,T4,10)};f.addEmail=function(a){return Co(this,10,T4,a)};f.setEmail=function(a){return $s(this,10,T4,a)};f.setPhone=function(a){return $s(this,12,U2c,a)};f.getExtendedData=function(){return X(this,N4,38)};
f.setExtendedData=function(a){hj(this,N4,38,a)};f.hasExtendedData=function(){return Nj(this,N4,38)};f3c.repeatedFields_=[48,3,4,10,12,9,46,133,31];f3c.prototype.toObject=function(){return g3c(this)};
var g3c=function(a){if(null!=a)return r(a),{personId:n(Z(a,1)),metadata:T2c(a.getMetadata()),readOnlyProfileInfoList:Ub(kj(a,W4,48),Y2c),fingerprint:n(Z(a,26)),nameList:Ub(kj(a,M2c,3),N2c),photoList:Ub(kj(a,W2c,4),X2c),emailList:Ub(a.getEmailList(),B2c),phoneList:Ub(kj(a,U2c,12),V2c),genderList:Ub(kj(a,C2c,9),D2c),inAppNotificationTargetList:Ub(kj(a,I2c,46),J2c),rosterDetailsList:Ub(kj(a,X4,133),c3c),sortKeys:e3c(X(a,d3c,25)),extendedData:b2c(a.getExtendedData()),coverPhotoList:Ub(kj(a,r2c,31),s2c)}};Ft[173194452]=Tb(173194452,{messageSetExtension:0},f3c,g3c);var h3c=function(){this.cacheConfigurators_=[];this.grpcClient_=null};var mmb=function(a){this.delegate_=a};T(mmb,u0);var i3c=function(a){this.keys_=new Set(a)};i3c.prototype.loadOrSkip=function(a){return this.keys_.delete(a)?a:null};i3c.prototype.isDone=function(){return!this.keys_.size};var j3c=function(a){this.keys_=a;this.foundKeys_=new Set;this.delegate_=new i3c(a)};j3c.prototype.loadOrSkip=function(a){return this.delegate_.loadOrSkip(a)?(this.foundKeys_.add(a),!0):!1};j3c.prototype.isDone=function(){return this.delegate_.isDone()};var k3c=function(a){return a.keys_.filter(function(b){return!a.foundKeys_.has(b)})};var l3c=new Ur,m3c=function(a,b,c){this.itemResolver_=a;this.trieFactory_=b;this.indexes_=Y3(Rh(c,31,5),1E3*rj(c,32,3600))};f=m3c.prototype;f.getCacheType=function(){return 2};f.flush=function(){this.indexes_.clear()};
f.fetch=function(a){var b=this,c,d,e,g;return pe(function(h){if(1==h.nextAddress){c=a.getBoostKey();if(!c.cacheKey||b.indexes_.get(c.cacheKey))return h.return(l3c);d=c.ids.map(function(l){if(Lwc.includes(Owc(l).getType()))return l;var q=Y4(b.itemResolver_,l);return q?String(q.id):l});e=new j3c(d);return h.yield(n3c(b.trieFactory_,e,a.getFormat(),c.primingTimeoutMillis),2)}g=h.yieldResult;b.indexes_.set(c.cacheKey,g);return h.return(l3c)})};
f.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)||X3).search(a.getTerms()).getMatches(a.getCollector()).map(nmb)};f.index=function(){};var o3c=new xZc(60,61,34);var p3c=function(){};p3c.prototype.configure=function(a){var b=a.storage,c=a.trackers,d=a.trieFactory,e=a.prefixCaches;a=a.clientConfig.getClient();Tj(a,30,!1)&&(b=new m3c(b,d,a),c=new a4(b,c,o3c),e.unshift(c))};var q3c=function(){return Date.now()},r3c=function(a,b,c){this.staleMillis_=1E3*a;this.expiredMillis_=1E3*b;this.nowFn_=c;this.timestamp_=0};f=r3c.prototype;f.isStale=function(){return this.timestamp_+this.staleMillis_<=this.nowFn_()};f.isExpired=function(){return this.timestamp_+this.expiredMillis_<=this.nowFn_()};f.getStatus=function(){return this.isExpired()?1:this.isStale()?3:2};f.getTimestamp=function(){return this.timestamp_};f.setTimestamp=function(a){this.timestamp_=a};
f.markAsFresh=function(){this.timestamp_=this.nowFn_()};f.markAsStale=function(){var a=this.nowFn_()-this.staleMillis_;a<this.timestamp_&&(this.timestamp_=a)};var pmb=new Map([[1,1],[2,2],[3,3],[8,6],[6,7],[7,5],[4,4],[9,9]]),omb=new Map([[1,7],[2,5]]);var s3c=function(a,b){this.delegate_=a;this.extendedData_=b};T(s3c,u0);s3c.prototype.getExtendedData=function(){return this.extendedData_};var t3c=function(a,b,c){this.group_=a;this.members_=b;this.totalMemberCount_=Uq(this.group_.getId())?this.members_.length:c;this.resultType_=OSc.get(this.group_.getTargetType())||0};f=t3c.prototype;f.getResultType=function(){return this.resultType_};f.getTargetList=function(){return[this.group_]};f.getMemberList=function(){return this.members_};f.getTotalMemberCount=function(){return this.totalMemberCount_};f.getPrimaryTarget=function(){throw Error("ye");};f.getDisplayName=function(){return""};
f.getDisplayValue=function(){return""};f.getDescription=function(){return""};f.getPhotoUrl=function(){return""};f.getMatchInfo=function(){return NSc};f.getExtendedData=function(){return null};var rmb=function(a,b){this.delegate_=a;this.loggingToken_=b};T(rmb,bPc);rmb.prototype.getLoggingToken=function(){return this.loggingToken_};var u3c=function(a){this.itemResolver_=a};u3c.prototype.create=function(a,b){var c=this,d=Owc(a);a=Y4(this.itemResolver_,a);if(!a)return null;if(Tq(d))return d=(a.memberKeys||[]).map(function(h){return c.create(h,b)}).filter(Boolean),this.createGroup(a,d,b);var e,g=2===b&&1<(null==(e=a.coalescedKeys)?void 0:e.length)?a.coalescedKeys.map(function(h){return Y4(c.itemResolver_,h)}).filter(Boolean):[a];return v3c(g,d,b)};
var v3c=function(a,b,c){var d=[],e=0,g=null,h=null;a=k(a);for(var l=a.next();!l.done;l=a.next()){l=l.value;var q=l.target,v=q.getId().equals(b);if(!e||v)e=q.getResultType();q=smb(q,l.provenance,c);v?(h=void 0,g=null!=(h=l.totalMemberCount)?h:null,d.unshift(q),h=l.resultExtendedData):d.push(q)}b=eib(e,d,g);return h?new s3c(b,h):b};
u3c.prototype.createGroup=function(a,b,c){c=smb(a.target,a.provenance,c);var d,e=null!=(d=a.totalMemberCount)?d:null;b=new Up(new t3c(c,null!=b?b:[],null!=e?e:null));return(a=a.resultExtendedData)?new s3c(b,a):b};var tmb=[1,2,3,4,5,6,9,7,8],w3c=function(a,b){this.targetFactory_=a;this.resultFactory_=new u3c(this);a=b.getCacheStaleSec();var c=b.getCacheExpiredSec();var d=void 0===d?q3c:d;this.expiry_=new r3c(a,c,d);this.affinityVersion_=0;this.ttlStorage_=new Map;this.lruStorage_=Y3(Rh(b,6,500),1E3*Rh(b,7,43200));this.idTypes_=new Set(cl(b,25))};w3c.prototype.load=function(a,b){var c;return null!=(c=this.resultFactory_.create(a,b))?c:null};
var Y4=function(a,b){return a.ttlStorage_.get(b)||a.lruStorage_.get(b)||null};f=w3c.prototype;f.getExpiry=function(){return this.expiry_};f.getAffinityVersion=function(){return this.affinityVersion_};f.markAsFresh=function(a){this.affinityVersion_=a.getAffinityVersion();a.hasTimestamp()?this.expiry_.setTimestamp(a.getTimestamp()):this.expiry_.markAsFresh();this.lruStorage_.compact()};f.markAsStale=function(){this.expiry_.markAsStale()};
f.flush=function(){this.ttlStorage_.clear();this.lruStorage_.clear();this.affinityVersion_=0;this.expiry_.timestamp_=0};f.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 g=b[e];b.splice(e,1);b.unshift(g)}}c&&b.reverse();b=k(b);for(e=b.next();!e.done;e=b.next())this.store_(a,e.value,c,d)};
f.store_=function(a,b,c,d){if(!this.idTypes_.size||!Lwc.includes(b.id.getType())||this.idTypes_.has(b.id.getType())){var e=!1,g=String(b.id),h=(b.containerIds||[]).map(String),l=x3c(this,a,g);y3c(this,a,g,b,c)&&(l(g,b),e=!0);h=k(h);for(var q=h.next();!q.done;q=h.next())q=q.value,y3c(this,a,q,b,c)&&(l(q,b),e=!0);b.isMe&&(h=String(Nwc),y3c(this,a,h,b,c)&&(l(h,b),e=!0));d&&g!==d&&y3c(this,a,d,b,c)&&(l(d,b),e=!0);e&&!b.target&&this.targetFactory_.processItem(b)}};
var y3c=function(a,b,c,d,e){var g=Y4(a,c);if(!g)return!0;1===b&&a.lruStorage_.has(c)&&(b=a.lruStorage_.get(c),a.ttlStorage_.set(c,b),a.lruStorage_.delete(c));return e&&(g.id.equals(d.id)||String(g.id)!==c)?!0:g.id.equals(d.id)?vmb(d)&&!vmb(g)||z3c(a,g)<z3c(a,d)||umb(d)<umb(g)||18===d.id.getType()&&18===g.id.getType()?!0:!1:String(d.id)===c},z3c=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},x3c=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 A3c=function(a){this.qos=a};A3c.prototype.getIndex=function(){return String(this.qos)};var B3c=new A3c(1),C3c=new A3c(2);var D3c=function(a,b){this.loader_=a;this.storage_=b;this.contacts_=[];this.totalItems_=0;this.pendingRequest_=null;this.requestId_=0;this.nextPageToken_="";this.isCompleted_=!1},F3c=function(a){if(a.isCompleted_)return Promise.resolve(Q3(new Ur,!1).setProvenance(5).setCode(0));a.pendingRequest_||(a.pendingRequest_=(new Promise(function(b,c){E3c(a,a.requestId_,function(d){a.isCompleted_=!0;b(d)},function(d){c(d)})})).finally(function(){a.pendingRequest_=null}));return a.pendingRequest_};
D3c.prototype.flush=function(){this.requestId_++;this.contacts_=[];this.totalItems_=0;this.nextPageToken_="";this.pendingRequest_=null;this.isCompleted_=!1};
var E3c=function(a,b,c,d){a.loader_.loadContactItems(a.nextPageToken_,C3c).then(function(e){if(b!==a.requestId_)d(Q3(new Ur,!0).setProvenance(5).setCode(1));else{var g=e.metadata;a.totalItems_=g.getTotalItems();a.nextPageToken_=g.getNextPageToken();Array.prototype.push.apply(a.contacts_,e.ids);a.storage_.storeItems(1,e.data);a.nextPageToken_?E3c(a,b,c,d):(a.totalItems_=a.contacts_.length,c(Q3(new Ur,!0).setProvenance(5).setCode(0)))}},function(e){e=isFinite(e)?e:13;d(Q3(new Ur,!0).setProvenance(5).setCode(e))})};
D3c.prototype.list=function(a,b,c,d,e){var g=this,h=e.getFilter();h&&h.reset("");var l=function(){return{results:g.contacts_.slice(a,b).map(function(q){return g.storage_.load(String(q),c)}).filter(function(q){return q&&(!h||h.filterResult(q))}),begin:a,end:b,totalItems:g.totalItems_}};this.contacts_.length>=b?d(l(),Q3(new Ur,!1).setProvenance(5).setCode(0)):F3c(this).then(function(q){d(l(),q)},function(q){q instanceof Ur||(q=(new Ur).setCode(13));d({results:[],begin:a,end:b,totalItems:0},q)})};var wmb=function(a,b){this.delegate_=a;this.displayValue_=b};T(wmb,bPc);wmb.prototype.getDisplayValue=function(){return this.displayValue_};var ymb=function(){};ymb.prototype.createFromQuery=function(a){var b=a.getPrefix();if(0!==a.getCollector().resultCount()||!a.isEmailAddress())return null;b=mr(or(b)).setValue(b).setDataSource(3);b=eib(b.getResultType(),[b],null);return(a=a.getResultFilter())?a.filterResult(b):b};ymb.prototype.createFromLookupId=function(a){if(1!==a.getType()||!Ewc(a.getValue()))return null;a=mr(a).setValue(a.getOriginalValue()).setDataSource(3);return eib(a.getResultType(),[a],null)};var G3c=function(){};G3c.prototype.createFromQuery=function(){return null};G3c.prototype.createFromLookupId=function(){return null};var zmb=new G3c;var H3c=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(g){return[String(g),g]}));this.notNotifiedIds=new Map(a.map(function(g){return[String(g),g]}));this.placeholderFactory=Amb(e.getClient())};f=H3c.prototype;f.isCancelled=function(){return!1};f.getFormat=function(){return this.format};f.getOptions=function(){return this.options};f.queryScope=function(){return this.options.getQueryScope()};
f.getResultFilter=function(){return this.options.getFilter()};f.isDone=function(){return 0===this.remainingIds.size};var pZc=function(a){return Array.from(a.remainingIds.values())};H3c.prototype.hasError=function(){return this.hasErrorCode};
H3c.prototype.notify=function(a,b,c){if(a.size||b.length||this.isDone()||Bmb(c.getCode())){var d=new Map,e=this.getResultFilter();a=k(a);for(var g=a.next();!g.done;g=a.next()){var h=k(g.value);g=h.next().value;h=h.next().value;this.notNotifiedIds.delete(String(g));if(h=e?e.filterResult(h):h)d.set(g,h),this.remainingIds.delete(String(g))}a=[];b=k(b);for(g=b.next();!g.done;g=b.next())g=g.value,this.notNotifiedIds.delete(String(g)),this.remainingIds.delete(String(g)),(h=this.placeholderFactory.createFromLookupId(g))&&
e&&(h=e.filterResult(h)),h?d.set(g,h):a.push(g);d=xmb(d,this.options);Bmb(c.getCode())&&(this.hasErrorCode=!0);e=(new ZYc).setCallbackNumber(this.callbackNumber).setIsFirstCallback(0===this.callbackNumber).setIsLastCallback(this.isDone()).setCode(c.getCode());e.notFoundIdList_=a;d=new $Yc(d,e);this.callbackNumber++;this.listener(d,c)}};var I3c=function(a,b,c){this.stages=a;this.indexer=b;this.clientConfig=c};I3c.prototype.flush=function(){this.indexer.flush()};
I3c.prototype.lookup=function(a,b,c,d){var e=this,g,h,l,q,v,x;return pe(function(A){switch(A.nextAddress){case 1:null==(g=d.getFilter())||g.reset(""),h=new H3c(a,b,c,d,e.clientConfig),l=new Set,1!==h.queryScope()&&2!==h.queryScope()||l.add(2),3===h.queryScope()&&l.add(1),q=k(e.stages),v=q.next();case 2:if(v.done){A.jumpTo(4);break}x=v.value;if(h.isDone()||h.isCancelled()){A.jumpTo(4);break}if(l.has(x.getStageType())){A.jumpTo(3);break}return A.yield(x.lookup(h),3);case 3:v=q.next();A.jumpTo(2);break;
case 4:if(!h.isDone()){if(0===h.queryScope()&&!h.hasError()){var G=e.indexer,M=Array.from(h.notNotifiedIds.values());M=k(M);for(var Q=M.next();!Q.done;Q=M.next())Q=String(Q.value),G.notFoundIds.set(Q,Q)}h.notify(new Map,pZc(h),Q3((new Ur).setProvenance(10),!1).setCode(0))}e.indexer.compact();return A.return()}})};var J3c=function(a,b){this.storage=a;a=b.getClient();this.notFoundIds=Y3(Rh(a,10,500),1E3*rj(a,11,600))};f=J3c.prototype;f.compact=function(){this.notFoundIds.compact()};f.flush=function(){this.notFoundIds.clear()};f.store=function(a,b,c,d){if(!Tj(c,5))for(Vj(c,5,!0),b=k(b),c=b.next();!c.done;c=b.next()){var e=k(c.value);c=e.next().value;e=e.next().value;c=String(lr(a,String(c)));this.storeItems(e,d,c)}};f.storeItems=function(a,b,c){this.storage.storeItems(2,a,b,c)};
f.load=function(a,b,c){b=this.storage.load(String(a),b);c&&b&&(b=l$a(a).filterResult(b));return b};var K3c={ids:[],cacheKey:"",primingTimeoutMillis:0};var L3c=function(){};L3c.prototype.loadOrSkip=function(){return null};L3c.prototype.resultCount=function(){return 0};L3c.prototype.isDone=function(){return!0};var M3c=new L3c;var N3c=function(){this.prefix_="";this.terms_=[];this.format_=0;this.collector_=M3c;this.boostKey_=K3c;this.listener_=function(){}};f=N3c.prototype;f.getPrefix=function(){return this.prefix_};f.getTerms=function(){return this.terms_};f.getFormat=function(){return this.format_};f.getCollector=function(){return this.collector_};f.getBoostKey=function(){return this.boostKey_};f.getListener=function(){return this.listener_};f.isDone=function(){return!0};f.isCancelled=function(){return!0};
f.isSuggestQuery=function(){return!0};f.isEmailAddress=function(){return!1};f.queryScope=function(){return 0};f.getResultFilter=function(){return null};var O3c=new N3c;var P3c=function(){this.fetchDone_=Promise.resolve((new Ur).setCode(0))};f=P3c.prototype;f.getCacheType=function(){return 0};f.flush=function(){};f.fetch=function(){return this.fetchDone_};f.index=function(){};f.search=function(){return[]};var Q3c=new P3c;var R3c=function(a){a=Array.from(new Set(a));this.primary_=a.find(function(b){return 1===b.getCacheType()})||Q3c;this.prefetched_=a.filter(function(b){return 2===b.getCacheType()||1===b.getCacheType()});this.lazyLoaded_=a.filter(function(b){return 3===b.getCacheType()})};
R3c.prototype.prefetch=function(a){var b=this,c,d,e,g,h;return pe(function(l){if(1==l.nextAddress)return l.yield(b.primary_.fetch(a),2);if(3!=l.nextAddress){c=l.yieldResult;if(0!==c.getCode())return l.return(c);d=k(b.lazyLoaded_);for(e=d.next();!e.done;e=d.next())g=e.value,g.flush();h=b.prefetched_.filter(function(q){return q!==b.primary_}).map(function(q){q.flush();return q.fetch(a)});return h.length?l.yield(Promise.all(h),3):l.jumpTo(3)}return l.return(c)})};
R3c.prototype.warmUpSession=function(a){var b=this;if(1===a.queryScope())return Promise.resolve([(new Ur).setProvenance(2).setCode(1)]);var c=this.prefetched_.filter(function(d){return d!==b.primary_});2!==a.queryScope()&&c.push.apply(c,cd(this.lazyLoaded_));return Promise.all(c.map(function(d){return d.fetch(a)}))};
var S3c=function(a){var b=[a.primary_].concat(cd(a.prefetched_.filter(function(d){return d!==a.primary_})),cd(a.lazyLoaded_)).reverse();b=k(b);for(var c=b.next();!c.done;c=b.next())c.value.flush()},T3c=function(a,b){var c=[];a=k(a.prefetched_);for(var d=a.next();!d.done;d=a.next()){d=d.value;if(b.isDone()||b.isCancelled())break;c.push.apply(c,cd(d.search(b)))}return c},V3c=function(a,b,c){var d,e,g,h;return pe(function(l){if(1==l.nextAddress){if(2===b.queryScope())return l.return();d=a.lazyLoaded_[a.lazyLoaded_.length-
1];e=k(a.lazyLoaded_);g=e.next()}if(3!=l.nextAddress){if(g.done)return l.jumpTo(0);h=g.value;return b.isDone()||b.isCancelled()?l.return():l.yield(U3c(h,b,c,d===h),3)}g=e.next();return l.jumpTo(2)})},U3c=function(a,b,c,d){var e,g;return pe(function(h){if(1==h.nextAddress)return 1===b.queryScope()?(e=Q3((new Ur).setProvenance(6).setCode(0),!1),h.jumpTo(2)):h.yield(a.fetch(b),3);2!=h.nextAddress&&(e=h.yieldResult);if(b.isCancelled())return h.return();g=a.search(b);c(g,e,d);ue(h)})};var W3c=function(a,b,c,d,e,g){this.clientInfo_=a.getClient();this.trackers_=b;this.storage_=g;this.lookupCache_=d;this.listCache_=e;this.prefixSearch_=c;this.sessionWarming_=this.cacheWarming_=null};f=W3c.prototype;f.getLastUpdatedTimestamp=function(){return this.storage_.getExpiry().getTimestamp()};f.getAffinityVersion=function(){return this.storage_.getAffinityVersion()};
f.warmUpCache=function(){Z4(this,O3c);return this.cacheWarming_&&this.storage_.getExpiry().isExpired()?this.cacheWarming_:Promise.resolve(T3(S3((new R3).setSource(Q3(new Ur,!1).setProvenance(1).setCode(0)),a5(this)),a5(this)))};f.flushCache=function(a){switch(a){case 2:return X3c(this),Promise.resolve(new R3);case 1:return this.storage_.markAsStale(),Promise.resolve(new R3);default:return this.warmUpCache()}};
f.warmUpSession=function(a){var b=this,c,d,e,g,h;return pe(function(l){switch(l.nextAddress){case 1:c=S3(new R3,a5(b));Z4(b,a);if(!b.cacheWarming_){l.jumpTo(2);break}return l.yield(b.cacheWarming_,2);case 2:return qe(l,4,5),b.sessionWarming_||(b.sessionWarming_=b.prefixSearch_.warmUpSession(a)),l.yield(b.sessionWarming_,7);case 7:return d=l.yieldResult,e=d.find(function(q){return 2===q.getProvenance()})||(new Ur).setProvenance(2).setCode(0),l.return(T3(c.setSource(e),a5(b)));case 5:re(l);b.sessionWarming_=
null;se(l,0);break;case 4:return g=te(l),h=g instanceof Ur?g:(new Ur).setProvenance(2).setCode(13),l.return(Promise.reject(T3(c.setSource(h),a5(b))))}})};
f.search=function(a){var b=this,c,d,e,g,h;return pe(function(l){switch(l.nextAddress){case 1:Y3c(b);qe(l,2);d=a5(b);Z4(b,a);if(!a.isSuggestQuery()){l.jumpTo(4);break}if(!b.cacheWarming_){l.jumpTo(5);break}e=b.storage_.getExpiry().isExpired();if(!e){l.jumpTo(5);break}return l.yield(b.cacheWarming_,7);case 7:c=l.yieldResult;case 5:if(!b.sessionWarming_){l.jumpTo(4);break}return l.yield(b.sessionWarming_,4);case 4:return c||(c=T3(S3((new R3).setSource(Q3(new Ur,!1).setProvenance(1).setCode(0)),d),a5(b)),
Z4(b,a)),l.yield(Z3c(b,a,c),10);case 10:Hs(l,0);break;case 2:g=te(l);if(a.isCancelled())return l.return();g instanceof R3?c=g:(h=g instanceof Ur?g:(new Ur).setCode(13),T3(c.setSource(h),a5(b)));a.getListener()(new V3([],(new U3).setQuery(a.getPrefix()).setIsLastCallback(!0).setCacheState(c).setCode(c.getSource().getCode())));ue(l)}})};
var Z3c=function(a,b,c){var d,e,g,h;return pe(function(l){if(1==l.nextAddress){if(b.isCancelled())return l.return();d=T3c(a.prefixSearch_,b);e=(new U3).setIsLastCallback(b.isSuggestQuery()).setQuery(b.getPrefix()).setCode(c.getSource().getCode()).setCacheState(c);b.getListener()(new V3(d,e));if(e.getIsLastCallback())return l.return();g=!1;return l.yield(V3c(a.prefixSearch_,b,function(q,v,x){v=(new U3).setIsLastCallback(x).setQuery(b.getPrefix()).setCode(v.getCode()).setCacheState(T3(S3((new R3).setSource(v),
Qr(c,2)),a5(a)));b.getListener()(new V3(q,v));v.getIsLastCallback()&&(g=!0)}),2)}g||b.isCancelled()||(h=(new U3).setIsLastCallback(!0).setQuery(b.getPrefix()).setCode(0).setCacheState(T3(S3((new R3).setSource((new Ur).setProvenance(10).setCode(0)),Qr(c,2)),a5(a))),b.getListener()(new V3([],h)));ue(l)})};
W3c.prototype.lookup=function(a,b,c){var d=this;Y3c(this);Z4(this,O3c);var e=S3(new R3,a5(this));this.lookupCache_.lookup(a,Zi(this.clientInfo_,17,1),function(g,h){e.setSource(h);T3(e,a5(d));g.getMetadata().setCacheState(e);b(g)},c)};
W3c.prototype.list=function(a,b,c,d){var e=this;Z4(this,O3c);var g=S3(new R3,a5(this));this.listCache_.list(a,b,Zi(this.clientInfo_,18,1),function(h,l){var q=h.results;var v=new WYc;v=V(v,1,h.begin);c(new XYc(q,v.setEnd(h.end).setTotalItems(h.totalItems).setCode(l.getCode()).setCacheState(T3(g.setSource(l),a5(e)))))},d)};
var Z4=function(a,b){if(a.storage_.getExpiry().isStale()&&(a.storage_.getExpiry().isExpired()&&a.storage_.getExpiry().getTimestamp()&&X3c(a),!a.cacheWarming_)){var c=a5(a);a.cacheWarming_=new Promise(function(d,e){var g,h,l,q;return pe(function(v){switch(v.nextAddress){case 1:return g=S3(new R3,c),qe(v,2,3),v.yield(a.prefixSearch_.prefetch(b),5);case 5:h=v.yieldResult,T3(g,a5(a)).setSource(h),d(g);case 3:re(v);a.cacheWarming_=null;se(v,0);break;case 2:l=te(v),q=l instanceof Ur?l:(new Ur).setCode(13),
T3(g,a5(a)).setSource(q),e(g),v.jumpTo(3)}})})}},a5=function(a){return a.storage_.getExpiry().getStatus()},X3c=function(a){S3c(a.prefixSearch_);a.lookupCache_.flush();a.listCache_.flush();a.storage_.flush()},Y3c=function(a){var b=1===a5(a)?1:2;a.trackers_.count(b).increment()};var $3c=function(a){this.itemResolver_=a},a4c=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 g=c.push,h=g.apply,l=e.split(cZc).filter(Boolean),q=l.length-1;if(0<q){var v=l.join("-"),x=l.join(".");l.push(v);for(l.push(x);0<q;q--)l[q-1]+=l[q]}l.push(e);l.push(e.replace(ilb,""));"+"===e[0]&&l.push("+"+l[0]);h.call(g,c,cd(l));break;default:c.push(e)}if(!c.length&&
b.memberKeys&&b.memberKeys.length&&10!==d.getTargetType())for(b=k(b.memberKeys),d=b.next();!d.done;d=b.next())(d=Y4(a.itemResolver_,d.value))&&a4c(a,d,c);return c};var b4c=new YYc,c4c=function(a,b,c){this.itemResolver_=a;this.lookupCache_=b;this.trackers_=c;this.indexer_=new $3c(a);this.trieRoots_=new Map},n3c=function(a,b,c,d){var e=(a.trieRoots_.get(c)||X3).cloneNode(b);if(b.isDone())return a.trackers_.count(120).increment(),Promise.resolve(e);var g=a.trackers_.latency(95);g.start();var h=new Promise(function(l){var q=k3c(b).map(Owc);a.lookupCache_.lookup(q,c,function(v){var x=Array.from(v.getResults().keys(),String);x=d4c(a,x);Array.prototype.push.apply(e.items_,
x);eZc(e);v.getMetadata().getIsLastCallback()&&(g.stop(),l(e))},b4c)});return Dmb(h,e,d)},nZc=function(a,b){a=d4c(a,b);return new W3(a)},d4c=function(a,b){var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=Y4(a.itemResolver_,d);e&&(e=a4c(a.indexer_,e),c.push(new dZc(d,e)))}return c};var e4c=function(){this.queryId_=0};e4c.prototype.getQueryId=function(){return this.queryId_};var f4c=function(a){this.delegate=a};f=f4c.prototype;f.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};f.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};f.warmUpCache=function(){return this.delegate.warmUpCache()};f.flushCache=function(a){return this.delegate.flushCache(a)};f.warmUpSession=function(a){var b=this;return pe(function(c){return c.return(b.delegate.warmUpSession(a))})};f.search=function(a){var b=this;return pe(function(c){return c.return(b.delegate.search(a))})};
f.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};f.list=function(a,b,c,d){this.delegate.list(a,b,c,d)};var g4c=function(){this.delegate=ePc};g4c.prototype.filterResult=function(a){return this.delegate.filterResult(a)};g4c.prototype.reset=function(a){this.delegate.reset(a)};var h4c=function(a,b){a.delegate=null!=b?b:ePc};var i4c=function(a){this.delegate=a};f=i4c.prototype;f.getPrefix=function(){return this.delegate.getPrefix()};f.getTerms=function(){return this.delegate.getTerms()};f.getFormat=function(){return this.delegate.getFormat()};f.getCollector=function(){return this.delegate.getCollector()};f.getBoostKey=function(){return this.delegate.getBoostKey()};f.getListener=function(){return this.delegate.getListener()};f.isDone=function(){return this.delegate.isDone()};f.isCancelled=function(){return this.delegate.isCancelled()};
f.isSuggestQuery=function(){return this.delegate.isSuggestQuery()};f.isEmailAddress=function(){return this.delegate.isEmailAddress()};f.queryScope=function(){return this.delegate.queryScope()};f.getResultFilter=function(){return this.delegate.getResultFilter()};var j4c=function(a,b){this.delegate_=a;this.limit_=b;this.count_=0};j4c.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);if(!a)return null;this.count_++;return a};j4c.prototype.resultCount=function(){return this.count_};j4c.prototype.isDone=function(){return this.count_>=this.limit_||this.delegate_.isDone()};var k4c=function(a,b,c,d){this.delegate=a;var e=this;this.isLastSlot=d;d=a.getCollector();0<c.limit&&(d=new j4c(d,c.limit));this.collector=d;this.listener=function(h){var l=h.getMetadata();l.getIsLastCallback()&&l.setIsLastCallback(e.isLastSlot);e.delegate.getListener()(h)};d=[];c.filter&&(d.push(c.filter),c.filter.reset(a.getPrefix()));b&&d.push(b);this.resultFilter=d.length?n$a.apply(null,cd(d)):null;var g;this.scope=null!=(g=c.scope)?g:a.queryScope()};T(k4c,i4c);f=k4c.prototype;
f.getCollector=function(){return this.collector};f.getListener=function(){return this.listener};f.isDone=function(){return this.collector.isDone()};f.getResultFilter=function(){return this.resultFilter};f.queryScope=function(){return this.scope};var l4c=function(a,b,c,d){this.delegate=a;this.slots=b;this.filterInterceptor=c;this.originalFilter=d};T(l4c,f4c);
l4c.prototype.search=function(a){var b=this,c,d,e,g,h,l;return pe(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(v){return!c.has(v.visibility)}),e=d.map(function(v,x){return new k4c(a,b.originalFilter,v,x===d.length-1)}),g=k(e),h=g.next();case 2:if(h.done){q.jumpTo(4);break}l=h.value;if(a.isCancelled()||a.isDone()){q.jumpTo(4);break}h4c(b.filterInterceptor,l.getResultFilter());return q.yield(b.delegate.search(l),
3);case 3:h=g.next();q.jumpTo(2);break;case 4:return q.return()}})};var m4c=function(a,b,c){this.delegate=a;var d=this;this.query_=b;this.terms_=llb([b]);this.id_=or(b);this.listener_=function(e){var g=e.getResults().map(function(h){if(d.id_.equals(h.getPrimaryTarget().getId())&&h.getDisplayName()!==c){var l=(new Alb).setDisplayName(c),q=h.getPrimaryTarget();h=h$a(h,new cPc(q,l))}return h});e=new V3(g,e.getMetadata());a.getListener()(e)}};T(m4c,i4c);m4c.prototype.getPrefix=function(){return this.query_};m4c.prototype.getTerms=function(){return this.terms_};
m4c.prototype.getListener=function(){return this.listener_};var n4c=function(a,b,c){this.cache_=a;this.queryFactory_=b;this.querySession_=new e4c;this.clientInfo_=c};f=n4c.prototype;f.warmUpSession=function(a){a=o4c(this.queryFactory_,"",this.querySession_,a,function(){});return this.cache_.warmUpSession(a)};f.suggest=function(a,b){a=o4c(this.queryFactory_,"",this.querySession_,b,a);this.cache_.search(a)};
f.search=function(a,b,c){a=o4c(this.queryFactory_,a,this.querySession_,c,b);Tj(this.clientInfo_,28,!1)&&(b=a.getPrefix(),b.includes("<")&&(c=Cwc(b),c.isValid()||(c=Cwc(b+">")),a=c.isValid()&&c.getName()?new m4c(a,c.getAddress(),c.getName()):a));this.cache_.search(a)};f.cancel=function(){++this.querySession_.queryId_};f.getLastUpdatedTimestamp=function(){return this.cache_.getLastUpdatedTimestamp()};f.getAffinityVersion=function(){return this.cache_.getAffinityVersion()};
f.getReporter=function(){throw Error("bb");};f.getSessionState=function(){throw Error("bb");};f.getHide=function(){throw Error("bb");};var p4c=function(a,b,c){var d=this;this.cache_=a;this.queryFactory_=b;this.clientInfo_=c;this.getSessionCache_=Tj(c,34,!1)?function(e){var g=d.cache_,h=e.slots_;if(h.length){var l=e.getFilter(),q=new g4c;e.setFilter(q);e=new l4c(g,h,q,l)}else e=g;return e}:function(){return d.cache_}};f=p4c.prototype;f.warmUpCache=function(){return this.cache_.warmUpCache()};f.flushCache=function(a){this.cache_.flushCache(a)};f.lookup=function(a,b,c){this.cache_.lookup(a,b,c)};
f.list=function(a,b,c,d){this.cache_.list(a,b,c,d)};f.beginSession=function(a){a=this.getSessionCache_(a);return new n4c(a,this.queryFactory_,this.clientInfo_)};var q4c=function(a,b,c,d,e,g,h){this.delegate_=a;this.prefix_=b;this.terms_=c;this.collector_=d;this.boostKey_=e;this.filter_=h;this.listener_=Emb(this,g);this.isEmailAddress_=null};f=q4c.prototype;f.getPrefix=function(){return this.prefix_};f.getTerms=function(){return this.terms_};f.getFormat=function(){return this.delegate_.getFormat()};f.getCollector=function(){return this.collector_};f.getBoostKey=function(){return this.boostKey_};f.getListener=function(){return this.listener_};f.isDone=function(){return this.collector_.isDone()};
f.isCancelled=function(){return this.delegate_.isCancelled()};f.isSuggestQuery=function(){return!this.prefix_};f.isEmailAddress=function(){null===this.isEmailAddress_&&(this.isEmailAddress_=Ewc(this.prefix_));return this.isEmailAddress_};f.queryScope=function(){return this.delegate_.queryScope()};f.getResultFilter=function(){return this.filter_};var r4c=function(a,b,c){this.format_=a;this.querySession_=b;this.queryScope_=c;this.id_=++this.querySession_.queryId_};r4c.prototype.getFormat=function(){return this.format_};r4c.prototype.isCancelled=function(){return this.querySession_.getQueryId()!==this.id_};r4c.prototype.queryScope=function(){return this.queryScope_};var b5=function(){this.foundKeys_=new Set};T(b5,dPc);b5.prototype.shouldRemove=function(a){return this.foundKeys_.has(String(a.getId()))};b5.prototype.has=function(a){return this.foundKeys_.has(a)};b5.prototype.add=function(a){this.foundKeys_.add(a)};b5.prototype.reset=function(){this.foundKeys_.clear()};var s4c=function(a){this.delegate_=a;this.filter_=new b5};s4c.prototype.loadOrSkip=function(a){if(this.filter_.has(a))return null;a=this.delegate_.loadOrSkip(a);if(!a)return null;a=this.filter_.filterResult(a);if(!a)return null;for(var b=k(a.getTargetList()),c=b.next();!c.done;c=b.next())this.filter_.add(String(c.value.getId()));return a};s4c.prototype.resultCount=function(){return this.delegate_.resultCount()};s4c.prototype.isDone=function(){return this.delegate_.isDone()};var t4c=function(a,b,c){this.delegate_=a;this.filter_=b;this.filter_.reset(c)};t4c.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);return a?(a=this.filter_.filterResult(a))&&a.getTargetList().length?a:null:null};t4c.prototype.resultCount=function(){return this.delegate_.resultCount()};t4c.prototype.isDone=function(){return this.delegate_.isDone()};var u4c=function(a,b){this.storage_=a;this.format_=b};u4c.prototype.loadOrSkip=function(a){return this.storage_.load(a,this.format_)||null};u4c.prototype.resultCount=function(){return 0};u4c.prototype.isDone=function(){return!1};var v4c=[198,230,306,307,338,339],w4c=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)"+zn(b),"g")})},Fmb=function(a,b){var c=[];if(!b||!a.matchers_.length)return c;var d=kr(jlb(b)).replace(klb,"").toUpperCase().toLowerCase(),e=d.indexOf("@");a=k(a.matchers_);for(var g=a.next();!g.done;g=a.next()){g=g.value;g.lastIndex=
0;for(var h=g.exec(d);h;h=g.exec(d)){h=h.index;if(0<=e&&h>e)break;c.push([h,g.lastIndex])}}c.sort(function(l,q){return l[0]-q[0]});for(e=c.length-1;0<e;e--)a=c[e-1],g=c[e],a[1]>=g[0]&&(a[1]=g[1],c.splice(e,1));if(c.length&&d.length!==b.length){d=[];e=[];for(a=0;a<b.length;a++)g=b.codePointAt(a),65535<g||768<=g&&879>=g?(d.push(a),a++):v4c.includes(g)&&e.push(a);b=k(c);for(a=b.next();!a.done;a=b.next()){a=a.value;g=k(d);for(h=g.next();!h.done;h=g.next())h=h.value,h<a[0]&&a[0]++,h<a[1]&&a[1]++;g=k(e);
for(h=g.next();!h.done;h=g.next())h=h.value,h<a[0]&&a[0]--,h<a[1]&&a[1]--}}return c};var Kr=function(a,b){this.start_=a;this.end_=b};Kr.prototype.getStart=function(){return this.start_};Kr.prototype.getEnd=function(){return this.end_};var Gmb=function(a,b,c){this.displayNameMatches_=a;this.displayValueMatches_=b;this.givenNameMatches_=c};Gmb.prototype.getDisplayNameMatches=function(){return this.displayNameMatches_};Gmb.prototype.getDisplayValueMatches=function(){return this.displayValueMatches_};Gmb.prototype.getGivenNameMatches=function(){return this.givenNameMatches_};var x4c=function(a,b){this.delegate_=a;this.matcher_=b;this.memberList_=a.getMemberList().map(function(c){return new x4c(c,b)});this.matchInfo_=null};T(x4c,u0);x4c.prototype.getMemberList=function(){return this.memberList_};x4c.prototype.getMatchInfo=function(){if(!this.matchInfo_){var a,b=(null==(a=this.getDelegate().getPrimaryTarget().getName())?void 0:a.getGivenName())||"";this.matchInfo_=Hmb(this.matcher_,this.getDelegate().getDisplayName(),this.getDelegate().getDisplayValue(),b)}return this.matchInfo_};var y4c=function(a,b){this.delegate_=a;this.matcher_=new w4c(b)};y4c.prototype.loadOrSkip=function(a){return(a=this.delegate_.loadOrSkip(a))?new x4c(a,this.matcher_):null};y4c.prototype.resultCount=function(){return this.delegate_.resultCount()};y4c.prototype.isDone=function(){return this.delegate_.isDone()};var z4c=/\s+/g,A4c=function(a,b){this.clientInfo_=a;this.storage_=b},o4c=function(a,b,c,d,e){var g=llb([b]);b=(b||"").replace(z4c," ").trim();var h=!g.length;var l=a.clientInfo_;l=h?d.getSuggestFormat()||l.getSuggestFormat():d.getSearchFormat()||l.getSearchFormat();h=h?Rh(a.clientInfo_,1,10):Rh(a.clientInfo_,2,10);var q=d.boostIds_;var v=d.primingTimeoutMillis_;if(q.length){q=q.map(String);var x=Plb(q)+":"+q.length;v={ids:q,cacheKey:x,primingTimeoutMillis:v}}else v=K3c;q=d.getFilter();a=new u4c(a.storage_,
l);q&&(a=new t4c(a,q,b));a=new s4c(a);a=new j4c(a,h);a=g.length?new y4c(a,g):a;d=d.getQueryScope();c=new r4c(l,c,d);return new q4c(c,b,g,a,v,e,q)};var B4c=function(a){this.fetcher=a};B4c.prototype.getStageType=function(){return 2};B4c.prototype.lookup=function(a){var b=this,c,d,e,g,h,l,q,v,x;return pe(function(A){switch(A.nextAddress){case 1:c=Jmb(pZc(a)),d=k(c),e=d.next();case 2:if(e.done){A.jumpTo(4);break}g=e.value;h=k(g);l=h.next().value;q=h.next().value;v=l;x=q;if(!v){A.jumpTo(3);break}return A.yield(b.fetcher.fetch(x,v,a.getFormat(),function(G,M){a.notify(G,[],M)},a.getOptions()),3);case 3:e=d.next();A.jumpTo(2);break;case 4:return A.return()}})};var C4c=function(a,b){this.delegate=a;this.maxLookupChunkSize=SZc(b)};C4c.prototype.fetch=function(a,b,c,d,e){var g=this,h,l,q;return pe(function(v){switch(v.nextAddress){case 1:var x=g.maxLookupChunkSize;if(a.length)if(a.length<=x)x=[a];else{for(var A=[],G=0;G<a.length;G+=x){var M=a.slice(G,G+x);M.length&&A.push(M)}x=A}else x=[];h=k(x);l=h.next();case 2:if(l.done){v.jumpTo(4);break}q=l.value;return v.yield(g.delegate.fetch(q,b,c,d,e),3);case 3:l=h.next();v.jumpTo(2);break;case 4:return v.return()}})};var D4c=function(a,b,c){this.trackers=a;this.loader=b;this.indexer=c};
D4c.prototype.fetch=function(a,b,c,d,e){var g=this,h,l,q,v,x,A,G,M,Q,Y,W;return pe(function(ia){switch(ia.nextAddress){case 1:return h=3===b?4:3,l=Q3((new Ur).setProvenance(h),!0).setCode(0),qe(ia,2),ia.yield(g.loader.loadLookupItems(b,a.map(function(ja){return ja.getOriginalValue()}),C3c),4);case 4:q=ia.yieldResult;q.metadata.getCode()&&l.setCode(q.metadata.getCode());v=3===e.getQueryScope();try{g.indexer.store(b,q.data,q.metadata,v)}catch(ja){g.trackers.error(21,10).report(),l.setCode(13)}Hs(ia,
3);break;case 2:x=te(ia),A=Number(x),l.setCode(isFinite(A)&&A?A:13);case 3:G=new Map;M=k(a);for(Q=M.next();!Q.done;Q=M.next())Y=Q.value,(W=g.indexer.load(Y,c,e.useOriginalDisplayValue_))&&G.set(Y,W);d(G,l);return ia.return()}})};var E4c=function(a){this.indexer=a};E4c.prototype.getStageType=function(){return 1};E4c.prototype.lookup=function(a){var b=this,c,d,e,g,h,l;return pe(function(q){c=new Map;d=[];e=k(pZc(a));for(g=e.next();!g.done;g=e.next())if(h=g.value,l=b.indexer.load(h,a.getFormat(),a.getOptions().useOriginalDisplayValue_))c.set(h,l);else{var v=b.indexer;(Pwc(h)?v.notFoundIds.get(String(h)):1)&&d.push(h)}a.notify(c,d,Q3((new Ur).setProvenance(6),!1).setCode(0));return q.return()})};var F4c=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"),G4c=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.placeholderFactory_=Amb(e);this.indexes_=Y3(Rh(e,8,250),1E3*rj(e,9,3600));this.notFound_=Y3(Rh(e,10,500),1E3*rj(e,11,600))};f=G4c.prototype;f.getCacheType=function(){return 3};f.flush=function(){this.indexes_.clear();this.notFound_.clear()};
f.fetch=function(a){var b=this,c,d,e;return pe(function(g){switch(g.nextAddress){case 1:c=Q3(new Ur,!0).setProvenance(2).setCode(0);if(a.isSuggestQuery())return b.loader_.warmUpServer(B3c).catch(function(){}),g.return(c);if(b.canSkipFetch_(a))return g.return(Q3(c,!1));qe(g,2);return g.yield(b.loader_.loadAutocompleteItems(a,C3c),4);case 4:d=g.yieldResult;Hs(g,3);break;case 2:return e=te(g),g.return(c.setCode(isFinite(e)?e:13));case 3:try{b.index(a,d.data,d.metadata)}catch(h){return g.return(c.setCode(13))}return g.return(c)}})};
f.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]:[]};f.index=function(a,b,c){if(!Tj(c,5))if(Vj(c,5,!0),b.length){c=lZc(this.ranker_,b,1);var d=3===a.queryScope();this.storage_.storeItems(1,b,d);b=nZc(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)}else this.notFound_.set(a.getPrefix(),a.getPrefix())};
f.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(F4c))break;if(this.notFound_.has(c))return!0}return!1};var H4c=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_};f=H4c.prototype;f.getCacheType=function(){return 1};f.flush=function(){this.indexes_.clear()};
f.fetch=function(a){var b=this,c,d,e,g;return pe(function(h){switch(h.nextAddress){case 1:return c=Q3(new Ur,!0).setProvenance(1).setCode(0),d=b.storage_.getExpiry().isExpired()?C3c:B3c,qe(h,2),h.yield(b.loader_.loadRankedItems(d),4);case 4:e=h.yieldResult;Hs(h,3);break;case 2:return g=te(h),h.return(c.setCode(isFinite(g)?g:13));case 3:try{b.index(a,e.data,e.metadata)}catch(l){c.setCode(13)}return h.return(c)}})};
f.search=function(a){return a.isSuggestQuery()||a.getTerms().length?(this.indexes_.get(a.getFormat())||X3).search(a.getTerms()).getMatches(a.getCollector()):[]};f.index=function(a,b,c){if(!Tj(c,5)){Vj(c,5,!0);a=1!==this.coalescedSortOrder_?lZc(this.ranker_,b,this.coalescedSortOrder_):null;var d=lZc(this.ranker_,b,1);this.storage_.flush();this.storage_.storeItems(1,b);this.storage_.markAsFresh(c);b=nZc(this.trieFactory_,d);c=a?nZc(this.trieFactory_,a):b;this.indexes_.set(1,b);this.indexes_.set(2,c)}};var I4c=new xZc(27,32,33),J4c=new xZc(24,23,20);var K4c=function(){};K4c.prototype.configure=function(a){var b=a.trackers,c=a.storage,d=a.indexer,e=a.loader,g=a.trieFactory,h=a.prefixCaches,l=a.lookupStages,q=a.loaderFactory.ranker_,v=a.clientConfig.getClient();if(0<v.getCacheSize()){var x=Zi(v,19,1);x=new H4c(e,q,g,c,x);x=new a4(x,b,J4c);h.push(x);l.push(new E4c(d))}0<Rh(v,2,10)&&(c=new G4c(e,q,g,c,v),b=new a4(c,b,I4c),h.push(b));h=new D4c(a.trackers,a.loader,a.indexer);h=new C4c(h,a.clientConfig);l.push(new B4c(h))};var L4c=function(a){this.delegate=a};f=L4c.prototype;f.warmUpSession=function(a){return this.delegate.warmUpSession(a)};f.suggest=function(a,b){this.delegate.suggest(a,b)};f.search=function(a,b,c){this.delegate.search(a,b,c)};f.cancel=function(){this.delegate.cancel()};f.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};f.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};f.getReporter=function(a){return this.delegate.getReporter(a)};
f.getSessionState=function(){return this.delegate.getSessionState()};f.getHide=function(){return this.delegate.getHide()};var M4c=function(a){this.delegate=a};f=M4c.prototype;f.warmUpCache=function(){return this.delegate.warmUpCache()};f.flushCache=function(a){this.delegate.flushCache(a)};f.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};f.list=function(a,b,c,d){this.delegate.list(a,b,c,d)};f.beginSession=function(a){return this.delegate.beginSession(a)};var N4c=function(a,b,c){this.idType_=a;this.id_=b;this.options_=c};N4c.prototype.getId=function(){return this.id_};N4c.prototype.getIndex=function(){return this.getId()+":"+this.idType_+":"+this.options_.getIndex()};var O4c=function(a,b,c){this.idType_=a;this.ids_=b;this.options_=c};f=O4c.prototype;f.getIds=function(){return this.ids_};f.getIdType=function(){return this.idType_};f.getOptions=function(){return this.options_};
f.getKeys=function(){var a=this;return this.getIds().map(function(b){return new N4c(a.getIdType(),b,a.getOptions())})};f.setIds=function(a){this.ids_=a;return this};f.setIdType=function(a){this.idType_=a};f.setOptions=function(a){this.options_=a};f.clone=function(){var a=this.getIdType(),b=this.getIds(),c=this.getOptions();return new O4c(a,b,c)};var P4c=function(a,b){this.ids_=new Set(b.getIds());this.parameters_=b.clone();this.loader_=a;this.resolver_=new ETc;this.isSent_=!1};P4c.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)}};P4c.prototype.promise=function(){return this.resolver_.promise};
P4c.prototype.merge=function(a,b){var c;(c=this.isSent_)||(c=this.parameters_,c=!(a.getIdType()===c.getIdType()&&a.getOptions()===c.getOptions()));if(c||a.getIds().length+this.ids_.size>b)return!1;a=k(a.getIds());for(b=a.next();!b.done;b=a.next())this.ids_.add(b.value);return!0};var Q4c=function(a,b,c){this.delegate_=a;this.batchedRequest_=null;this.tracker_=b;this.maxRequestSize_=SZc(c);this.lastRequestCreationTime_=0};
Q4c.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 P4c(this.delegate_,a);a=Date.now();var d=a-this.lastRequestCreationTime_;this.lastRequestCreationTime_=a;oo(function(){c===b.batchedRequest_&&(c.send(),b.batchedRequest_=null)},30<d?0:30)}return this.batchedRequest_.promise()};var R4c=function(a,b){this.delegate_=a;this.inflightRequests_=hZc();this.tracker_=b};
R4c.prototype.load=function(a){for(var b=this,c=new Set,d=[],e=k(a.getKeys()),g=e.next();!g.done;g=e.next()){g=g.value;var h=g.getIndex();this.inflightRequests_.has(h)?c.add(this.inflightRequests_.get(h)):d.push(g.getId())}d.length===a.getKeys().length?this.tracker_.count(93).increment():d.length?this.tracker_.count(92).increment():this.tracker_.count(91).increment();if(d.length){var l=a.clone().setIds(d);var q=new P4c(this.delegate_,l);q.send();c.add(q);a=k(l.getKeys());for(g=a.next();!g.done;g=
a.next())this.inflightRequests_.set(g.value.getIndex(),q);q.promise().catch(function(){}).finally(function(){for(var v=k(l.getKeys()),x=v.next();!x.done;x=v.next())b.inflightRequests_.delete(x.value.getIndex())})}c=Array.from(c);return Promise.all(c.map(function(v){return v.promise()})).then(function(v){return q?q.promise().then(function(x){return Kmb(v,x.metadata)}):Kmb(v)})};var S4c=function(a){this.peopleLoader_=a};S4c.prototype.load=function(a){return this.peopleLoader_.loadLookupItems(a.getIdType(),a.getIds(),a.getOptions())};var T4c=function(a,b,c){this.peopleLoader_=a;this.gatedLoaders_=new Map;this.tracker_=b;this.clientConfig_=c};T4c.prototype.load=function(a){if(!this.gatedLoaders_.has(a.getIdType())){var b=new S4c(this.peopleLoader_);b=new Q4c(b,this.tracker_,this.clientConfig_);b=new R4c(b,this.tracker_);this.gatedLoaders_.set(a.getIdType(),b)}return this.gatedLoaders_.get(a.getIdType()).load(a)};var U4c=function(a,b,c){this.delegate_=a;this.trackers_=b;this.searchRequests_=new Map;this.lookupLoader_=new T4c(this.delegate_,this.trackers_,c)},V4c=function(a,b,c,d){var e,g;return pe(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));g=d();a.searchRequests_.set(e,g);h.catchAddress_=0;h.finallyAddress_=2;return h.yield(g,4)}if(2!=h.nextAddress)return h.return(h.yieldResult);re(h);a.searchRequests_.delete(e);
return se(h,0)})};f=U4c.prototype;f.loadRankedItems=function(a){var b=this;return V4c(this,81,"",function(){return b.delegate_.loadRankedItems(a)})};f.warmUpServer=function(a){var b=this;return V4c(this,82,"",function(){return b.delegate_.warmUpServer(a)})};f.loadAutocompleteItems=function(a,b){var c=this;return V4c(this,82,a.getPrefix(),function(){return c.delegate_.loadAutocompleteItems(a,b)})};f.loadLookupItems=function(a,b,c){return this.lookupLoader_.load(new O4c(a,b,c))};
f.loadContactItems=function(a,b){return this.delegate_.loadContactItems(a,b)};var W4c=function(){return Date.now()},X4c=function(a,b,c){this.delegate_=a;this.nowFn_=c;this.cacheFlushRateMillis_=1E3*rj(b.getClient(),14,300);this.serverWarmupRateMillis_=1E3*rj(b.getClient(),13,60);this.lastServerWarmup_=this.lastCacheFlush_=0};f=X4c.prototype;f.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)};
f.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)};f.loadAutocompleteItems=function(a,b){return this.delegate_.loadAutocompleteItems(a,b)};f.loadLookupItems=function(a,b,c){return this.delegate_.loadLookupItems(a,b,c)};f.loadContactItems=function(a,b){return this.delegate_.loadContactItems(a,b)};var Y4c=function(a,b,c){this.delegate_=a;this.listener_=b;this.options_=c;this.delegate_.warmUpSession(c)};f=Y4c.prototype;f.suggest=function(a){a=void 0===a?this.listener_:a;this.delegate_.suggest(a,this.options_)};f.search=function(a,b){b=void 0===b?this.listener_:b;this.delegate_.search(a,b,this.options_);return this};f.cancel=function(){this.delegate_.cancel();return this};f.getReporter=function(a){a=void 0===a?vWc:a;return this.delegate_.getReporter(a)};f.getHide=function(){return this.delegate_.getHide()};var Z4c=function(a,b){this.delegate_=a;this.members_=b;this.totalMemberCount_=Uq(a.getPrimaryTarget().getId())?b.length:a.getTotalMemberCount()};T(Z4c,u0);Z4c.prototype.getMemberList=function(){return this.members_};Z4c.prototype.getTotalMemberCount=function(){return this.totalMemberCount_};var $4c=function(a){this.filter_=a};$4c.prototype.filterResult=function(a){var b=this;if(!Uq(a.getPrimaryTarget().getId()))return a;var c=a.getMemberList().map(function(d){return b.filter_.filterResult(d)}).filter(Boolean);return 0===c.length?null:a.getMemberList().every(function(d,e){return d===c[e]})?a:new Up(new Z4c(a,c))};$4c.prototype.reset=function(a){this.filter_.reset(a)};var Lmb=function(a){this.filter_=n$a(a,new $4c(a))};Lmb.prototype.filterResult=function(a){return this.filter_.filterResult(a)};
Lmb.prototype.reset=function(a){this.filter_.reset(a)};var a5c=function(a){this.delegate_=a};f=a5c.prototype;f.warmUpCache=function(){return this.delegate_.warmUpCache().then(function(){return Promise.resolve()},function(a){var b=2;a instanceof R3&&(a=a.getSource())&&(b=a.getCode());return Promise.reject(b)})};f.flushCache=function(a){this.delegate_.flushCache(a)};f.lookup=function(a,b,c){c=void 0===c?new YYc:c;c.setFilter(Mmb(c.getFilter()));this.delegate_.lookup(a,b,c);return this};
f.list=function(a,b,c,d){d=void 0===d?new VYc:d;d.setFilter(Mmb(d.getFilter()));this.delegate_.list(a,b,c,d);return this};f.beginSession=function(a,b){b=void 0===b?new dr:b;b=b.clone();b.setFilter(Mmb(b.getFilter()));var c=this.delegate_.beginSession(b);return new Y4c(c,a,b)};var b5c=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]]),c5c=new Map([[2,13],[3,6]]),d5c=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 Nmb=new Map([[1,1],[2,3],[3,5]]),e5c=new Map([[1,2],[2,4],[3,5],[4,8],[6,15],[7,19],[10,20]]),f5c=new Map([[1,2],[2,9],[3,6],[4,6],[6,15],[7,19],[10,20]]),g5c=function(a,b){this.logContext_=Qmb(a,b)};f=g5c.prototype;f.getLogContext=function(){return this.logContext_};
f.createCountMetric=function(a,b,c){var d=b.source(),e=new F4;switch(d.getEventType()){case 1:d=e.setCount;b=Zi(b.source(),4,0);var g=new k0c;g.setType(b);g.setValue(c);d.call(e,g);e.setEventType(1);break;case 4:case 5:c=e.setRpcRequest;b=Zi(b.source(),3,0);d=new E4;d.setLabel(b);c.call(e,d);e.setEventType(4);break;case 6:case 7:c=e.setApiCall;b=b.source();d=Zi(b,2,0);g=new c0c;b.hasItemCount()&&g.setItemCount(b.getItemCount());b.hasQueryLength()&&g.setQueryLength(b.getQueryLength());b.hasLookupInfo()&&
g.setLookupInfo(b.getLookupInfo());b.hasQueryScope()&&g.setQueryScope(b.getQueryScope());g.setLabel(d);c.call(e,g);e.setEventType(6);break;default:return null}e.setClientInterface(a);return e};
f.createStatusMetric=function(a,b,c){var d=b.source(),e=new F4;switch(d.getEventType()){case 4:case 5:d=e.setRpcResponse;var g=b.source(),h=Zi(g,3,0);var l=Zi(g,13,0)||0;l=c5c.get(l)||b5c.get(c)||0;var q=b.durationUsec("blocked"),v=b.durationUsec("network"),x=b.durationUsec("processed");b=new D0c;b.setLabel(h);b.setStatus(l);b.setBlockedUsec(q);b.setLatencyUsec(v);V(b,9,x);b.setStatusCode(c);Rh(g,12,0)&&(c=Rh(g,12,0),V(b,6,c));d.call(e,b);e.setEventType(5);break;case 6:case 7:d=e.setApiResult;h=b.source();
l=Zi(h,2,0);g=new g0c;g.setLabel(l);g.setStatusCode(c);h.hasItemCount()&&g.setItemCount(h.getItemCount());h.hasQueryLength()&&g.setQueryLength(h.getQueryLength());h.hasLookupInfo()&&g.setLookupInfo(h.getLookupInfo());h.hasQueryScope()&&g.setQueryScope(h.getQueryScope());0===c&&(b=b.durationUsec("total"),g.setLatencyUsec(b));c=d5c.get(c)||0;g.setStatus(c);c=h.getResultIndex();g.setResultIndex(c);if(b=h.getCacheState())c=Omb(Er(b,2)),V(g,5,c),c=Omb(Er(b,3)),V(g,6,c),c=g.setDataSource,h=b.getSource(),
b=!Tj(h,1),h=h.getProvenance(),b=(b?f5c.get(h):e5c.get(h))||0,c.call(g,b);d.call(e,g);e.setEventType(7);break;default:return null}e.setClientInterface(a);return e};
f.createLatencyMetric=function(a,b){var c=b.source();if(2!==c.getEventType())return null;var d=new F4;d.setClientInterface(a);a=d.setLatency;var e=Zi(b.source(),5,0);if(37===e||38===e||40===e){e=Zi(b.source(),5,0);var g=b.durationUsec("LATENCY_A");b=b.durationUsec("LATENCY_B");b=null!=g&&null!=b?g-b:NaN;g=new C4;g.setType(e);isFinite(b)&&g.setLatencyUsec(b);e=g}else b=b.durationUsec("total"),g=new C4,g.setType(e),g.setLatencyUsec(b),e=g;a.call(d,e);d.setEventType(c.getEventType());return d};
f.createErrorMetric=function(a,b){var c=b.source();if(3!==c.getEventType())return null;var d=new F4;d.setClientInterface(a);a=d.setError;var e=b.source();b=e.getErrorType();e=Zi(e,7,0);var g=new B4;g.setType(b);V(g,4,e);a.call(d,g);d.setEventType(c.getEventType());return d};var h5c=function(a,b){this.delegate_=a;this.trackers_=b};f=h5c.prototype;f.reportDisplay=function(a){this.delegate_.reportDisplay(a)};f.reportSelect=function(a,b){b=void 0===b?new wWc:b;this.delegate_.reportSelect(a,b)};f.reportExternalSelect=function(a){this.delegate_.reportExternalSelect(a)};f.reportDeselect=function(a){this.delegate_.reportDeselect(a)};f.reportProceed=function(a){this.delegate_.reportProceed(a)};f.reportDismiss=function(){this.delegate_.reportDismiss();i5c(this)};
f.reportSave=function(a){this.delegate_.reportSave(a);i5c(this)};f.reportSecondaryAction=function(a){this.delegate_.reportSecondaryAction(a);i5c(this)};f.reportSend=function(a){this.delegate_.reportSend(a);i5c(this)};var i5c=function(a){a=a.trackers_;var b=a.api,c=new zr;Br(c.setEventType(6),3);b.call(a,c).call()};var j5c=function(a,b){this.delegate_=this.delegate=a;this.trackers_=b};T(j5c,L4c);
j5c.prototype.suggest=function(a,b){var c=this;try{var d=!1,e=!1,g=this.trackers_.api(cmb(b.getQueryScope()));g.call();this.delegate_.suggest(function(h){var l=h.getMetadata(),q=l.getCacheState();g.source.setCacheState(q);g.source.setItemCount(h.getResults().length);g.result(q.getSource().getCode());l.getIsFirstCallback()&&(d&&0===l.getCode()&&c.trackers_.error(22,19).report(),d=!0);l.getIsLastCallback()&&(e&&0===l.getCode()&&c.trackers_.error(22,20).report(),e=!0);l=c.trackers_.latency(90);l.start();
try{a(h)}catch(v){throw c.trackers_.error(22,11).report(),v;}finally{l.stop()}},b)}catch(h){throw this.trackers_.error(22,1).report(),h;}};
j5c.prototype.search=function(a,b,c){var d=this;try{var e=!1,g=!1,h=this.trackers_.api(bmb(a,c.getQueryScope()));h.call();this.delegate_.search(a,function(l){var q=l.getMetadata(),v=q.getCacheState();h.source.setCacheState(v);h.source.setItemCount(l.getResults().length);h.result(v.getSource().getCode());q.getIsFirstCallback()&&(e&&0===q.getCode()&&d.trackers_.error(23,19).report(),e=!0);q.getIsLastCallback()&&(g&&0===q.getCode()&&d.trackers_.error(23,20).report(),g=!0);q=d.trackers_.latency(91);q.start();
try{b(l)}catch(x){throw d.trackers_.error(23,11).report(),x;}finally{q.stop()}},c)}catch(l){throw this.trackers_.error(23,1).report(),l;}};j5c.prototype.getReporter=function(a){a=this.delegate_.getReporter(a);return new h5c(a,this.trackers_)};var k5c=function(a,b){this.delegate_=this.delegate=a;a=this.trackers_=b;b=a.api;var c=new zr;Br(c.setEventType(6),1);b.call(a,c).call()};T(k5c,M4c);f=k5c.prototype;
f.warmUpCache=function(){var a=this,b=this.trackers_.api(amb());b.call();return this.delegate_.warmUpCache().then(function(c){b.source.setCacheState(c);b.result(c.getSource().getCode());return c},function(c){c instanceof R3?(b.source.setCacheState(c),b.result(c.getSource().getCode())):(a.trackers_.error(17,1).report(),c=(new R3).setSource((new Ur).setCode(2)));return Promise.reject(c)})};
f.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 zr;Br(e.setEventType(6),d);b=c.call(b,e);b.call();try{this.delegate_.flushCache(a),b.result(0)}catch(g){throw this.trackers_.error(17,1).report(),g;}};
f.lookup=function(a,b,c){var d=this;try{var e=!1,g=!1,h=this.trackers_.api(Zlb(a,c.getQueryScope()));h.call();this.delegate_.lookup(a,function(l){var q=l.getMetadata(),v=q.getCacheState();h.source.setCacheState(v);h.source.setItemCount(l.getResults().size);for(var x=0,A=0,G=0,M=k(l.getResults().keys()),Q=M.next();!Q.done;Q=M.next()){var Y=Q.value;Iwc.includes(Y.getType())?x++:Jwc.includes(Y.getType())?A++:Kwc.includes(Y.getType())&&G++}var W=0;M=Y=0;var ia=k(q.notFoundIdList_);for(Q=ia.next();!Q.done;Q=
ia.next())Q=Q.value,Iwc.includes(Q.getType())?W++:Jwc.includes(Q.getType())?Y++:Kwc.includes(Q.getType())&&M++;Q=h.source.getLookupInfo();x=V(Q,2,x);A=V(x,1,A);G=V(A,3,G);G=V(G,5,W);G=V(G,4,Y);V(G,6,M);h.result(v.getSource().getCode());q.getIsFirstCallback()&&(e&&0===q.getCode()&&d.trackers_.error(8,19).report(),e=!0);q.getIsLastCallback()&&(g&&0===q.getCode()&&d.trackers_.error(8,20).report(),g=!0);q=d.trackers_.latency(89);q.start();try{b(l)}catch(ja){throw d.trackers_.error(8,11).report(),ja;}finally{q.stop()}},
c)}catch(l){throw this.trackers_.error(8,1).report(),l;}};f.list=function(a,b,c,d){var e=this;try{var g=this.trackers_.api($lb());g.call();this.delegate_.list(a,b,function(h){var l=h.getMetadata().getCacheState();g.source.setCacheState(l);g.result(l.getSource().getCode());try{c(h)}catch(q){throw e.trackers_.error(27,11).report(),q;}},d)}catch(h){throw this.trackers_.error(27,1).report(),h;}};
f.beginSession=function(a){var b=this.trackers_,c=b.api,d=new zr;Br(d.setEventType(6),2);c.call(b,d).call();a=this.delegate_.beginSession(a);return new j5c(a,this.trackers_)};var l5c=function(a,b){this.clearcut_=a;this.logEventFactory_=b};l5c.prototype.report=function(a){var b=Xwc(this.clearcut_);a=this.logEventFactory_.eventsFactory_.create(b,a);a=k(a);for(b=a.next();!b.done;b=a.next())Ywc(this.clearcut_,b.value)};var m5c=function(a){this.clearcut_=a};m5c.prototype.report=function(a){this.clearcut_.report(a);return this};var n5c=function(a){this.writer_=a},p5c=function(a,b,c){var d=new kwc,e=a.writer_,g=d.getMetadata()||new uS;d.setMetadata(g);var h=Oq(b)||new Ir;a=X(b,Jr,1)||new Jr;e.metadataStateWriter_.write(g,h,(Tj(a,9,!0)?Rh(h,2,0):Rh(h,1,0))||0,o5c(b));e.contactInfoWriter_.write(d,a,c,h.getProvenance()||0);b=X(d,tS,4)||new tS;hj(d,tS,4,b);X(d,tS,4).setType(a.getFieldTypeOrUndefined());d.setLoggingId(tt(a,2));return d};var q5c=function(){};
q5c.prototype.create=function(a,b,c){var d=new qS;d.setQueryId(qj(b,3,0));d.setSelectionId(qj(b,4,0));var e=qj(b,5,0);V(d,3,e);d.setInstanceId(b.getInstanceId());d.setAffinityVersion(b.getAffinityVersionOrUndefined());e=new Vvc;hj(e,qS,3,d);7!==c&&b.hasQuery()&&(d=b.getQuery(),2===c&&e.setQuery(d),e.setQueryLength(d.length));var g=new rS;d=nMa(rj(b,9,0)-rj(b,8,0));V(g,2,d);d=new vS;hj(d,Vvc,1,e);hj(d,rS,6,g);e=new Svc;if(g=qj(b,6,0)){V(e,3,1E3*g);var h=1E3*(Date.now()-g);V(e,2,h)}Vj(e,1,!!g);hj(d,
Svc,3,e);d.setAffinityVersion(b.getAffinityVersionOrUndefined());b=new pwc;b.setEventType(c);b.setMetadata(d);b.setClientInterface(a.clone());return b};var r5c=function(){};r5c.prototype.extractPersonEventSource=function(a){return Er(Rmb(a),4)};r5c.prototype.extractFieldEventSource=function(a){return Er(Rmb(a),3)};var s5c=function(){};s5c.prototype.extractPersonEventSource=function(a){var b=a.getSources()||new Pr;return(a.getQuery()||"").length?Er(b,2):Er(b,4)};s5c.prototype.extractFieldEventSource=function(a){var b=a.getSources()||new Pr;return(a.getQuery()||"").length?Er(b,1):Er(b,3)};var t5c=function(){};t5c.prototype.extractPersonEventSource=function(a){return Er(Smb(a),4)};t5c.prototype.extractFieldEventSource=function(a){return Er(Smb(a),3)};var u5c=function(a,b,c){this.defaultTokenGroups_=a;this.additionTokenGroups_=b;this.replacementTokenGroups_=c};var v5c=new Map([[1,11],[2,12],[0,0]]),w5c=function(){};w5c.prototype.write=function(a,b,c){var d=new sS;V(d,1,c);c=new ewc;c.setPosition(d);c.setExistingSelectionsCount(b.getExistingSelectionsCount());hj(a,ewc,8,c);b=[v5c.get(b.getContext())];Ab(a,3,b,db)};var x5c=new Map([[1,5],[2,4],[3,6],[7,13]]),y5c=function(){};y5c.prototype.write=function(a,b,c,d){var e=new sS;V(e,1,c);a.setPosition(e);c=x5c.get(b.getProvenance())||0;d||1===Zi(b,4,0)?c=3:2===Zi(b,4,0)&&(c=10);Ab(a,3,[c],db)};var z5c=new Set([9,1,2]),A5c=function(){};
A5c.prototype.write=function(a,b,c,d){if(8===c||10===c||9===c||2===c&&z5c.has(d))c=new tS,1!==b.getFieldType_legacyNullable()&&7!==b.getFieldType_legacyNullable()||c.setEmail(tt(b,3)),2!==b.getFieldType_legacyNullable()&&5!==b.getFieldType_legacyNullable()||c.setPhone(tt(b,3)),b.hasProfileId()&&c.setObfuscatedGaiaId(b.getProfileId()),b.hasGroupId()&&c.setGroupId(b.getGroupId()),hj(a,tS,4,c),c=new hwc,c.setName(b.getNameOrUndefined()),b=a.getMetadata()||new uS,hj(b,hwc,2,c),a.setMetadata(b)};var B5c=function(a){var b=new A5c;this.metadataStateWriter_=a;this.contactInfoWriter_=b},o5c=function(a){var b;return(null==(b=X(a,Jr,1))?0:b.getIsPlaceholder())?!0:!1};var Sr=function(a){this.internalArray_=m(a)};T(Sr,p);f=Sr.prototype;f.getEventType=function(){return Zi(this,1,0)};f.getEventType_legacyNullable=function(){return Er(this,1)};f.setEventType=function(a){return V(this,1,a)};f.getSessionState=function(){return X(this,t0,2)};f.setSessionState=function(a){hj(this,t0,2,a)};f.hasSessionState=function(){return Nj(this,t0,2)};f.setEventSources=function(a){hj(this,Pr,4,a)};Sr.repeatedFields_=[3];
Sr.prototype.toObject=function(){if(null!=this){r(this);var a={eventType:n(Er(this,1)),sessionState:YOc(this.getSessionState()),tokensList:Ub(kj(this,Hr,3),aPc),eventSources:s0(X(this,Pr,4))}}else a=void 0;return a};var C5c=new Set([8]),D5c=function(){this.defaultEntityFactory_=new n5c(new B5c(new y5c));this.contextualEntityFactory_=new n5c(new B5c(new w5c));this.extensionFactory_=new q5c;this.defaultEventSourceExtractor_=new s5c;this.additionEventSourceExtractor_=new r5c;this.replacementEventSourceExtractor_=new t5c};
D5c.prototype.create=function(a,b){var c=b.getSessionState()||new t0,d=b.getEventType_legacyNullable();b=kj(b,Hr,3);var e=Tmb(b,Vmb);var g=e.get(0);b=e.get(1);e=e.get(2);g=g?[].concat(cd(Tmb(g,Umb).values())):[];b=b?[].concat(cd(Tmb(b,Umb).values())):[];e=e?[].concat(cd(Tmb(e,Umb).values())):[];g=new u5c(g,b,e);b=[];var h=k(g.defaultTokenGroups_);for(e=h.next();!e.done;e=h.next())b.push.apply(b,cd(E5c(this,a,d,e.value,c,this.defaultEventSourceExtractor_,this.defaultEntityFactory_)));h=k(g.additionTokenGroups_);
for(e=h.next();!e.done;e=h.next())b.push.apply(b,cd(E5c(this,a,d,e.value,c,this.additionEventSourceExtractor_,this.contextualEntityFactory_)));g=k(g.replacementTokenGroups_);for(e=g.next();!e.done;e=g.next())b.push.apply(b,cd(E5c(this,a,d,e.value,c,this.replacementEventSourceExtractor_,this.contextualEntityFactory_)));return b};
var E5c=function(a,b,c,d,e,g,h){var l=[];e=d[0].getSessionState()||e;var q=d.map(function(x){var A=new kwc,G=h.writer_,M=A.getMetadata()||new uS;A.setMetadata(M);var Q=Oq(x)||new Ir,Y=X(x,Jr,1)||new Jr;G.metadataStateWriter_.write(M,Q,Rh(Q,2,0)||0,o5c(x));G.contactInfoWriter_.write(A,Y,c,Q.getProvenance()||0);A.setLoggingId(tt(Y,1));x=X(A,tS,4)||new tS;hj(A,tS,4,x);x.setType(Qr(Y,8));return A});l.push(F5c(a,b,c,g.extractPersonEventSource(e),q,e));q=[];d=k(d);for(var v=d.next();!v.done;v=d.next())v=
v.value,Nj(v,Jr,1)&&C5c.has(X(v,Jr,1).getFieldType_legacyNullable())||q.push(p5c(h,v,c));q.length&&l.push(F5c(a,b,c,g.extractFieldEventSource(e),q,e));return l},F5c=function(a,b,c,d,e,g){a=a.extensionFactory_.create(b,g,c);a.getClientInterface().setEventSource(d);nj(a,2,e);return a};var G5c=function(a,b){this.logContext_=Pmb(Mr(new Nr,"PeopleStore.BigBug").setLogSource(Zi(a.getClearcut(),3,41)).setApplication(a.getClearcut().getSocialApplication()).setEnvironment(a.runtimeConfig_.getPeopleApiEnv()).setVersion("1004").setBaselineCl(542993115).setEnableClearcut(a.getClearcut().getEnableClearcut()),[].concat(cd(a.runtimeConfig_.getExperiments().getExperimentIdsList()),cd(Or?Or.getExperimentIds():[]))).setPeoplekitEntryPoint(b.getPeoplekitEntryPoint()).setClientAgent(2);this.eventsFactory_=
new D5c};G5c.prototype.getLogContext=function(){return this.logContext_};var H5c=function(a){this.clientConfig_=a;this.reportingCache_=new Map};H5c.prototype.create=function(a){var b=a.serialize();this.reportingCache_.has(a.serialize())||(a=new G5c(this.clientConfig_,a),a=new m5c(new l5c(Wwc(a),a)),this.reportingCache_.set(b,a));return this.reportingCache_.get(b)};var I5c=function(a,b){this.reporting_=a;this.sharedSessionState_=b};f=I5c.prototype;f.reportDisplay=function(a){c5(this,Tr(a,1))};f.reportSelect=function(a,b){b=void 0===b?new wWc:b;if(0!==b.getOriginator())for(var c=k(a),d=c.next();!d.done;d=c.next()){d=d.value;if(!Nj(d,Ir,2)){var e=new Ir;hj(d,Ir,2,e)}d=Oq(d);V(d,4,b.getOriginator())}b=qj(this.sharedSessionState_,4,0)+1;V(this.sharedSessionState_,4,b);c5(this,Tr(a,2,this.sharedSessionState_))};
f.reportExternalSelect=function(a){for(var b=k(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!Nj(c,Ir,2)){var d=new Ir;hj(c,Ir,2,d)}c=Oq(c);V(c,4,2)}b=qj(this.sharedSessionState_,4,0)+1;V(this.sharedSessionState_,4,b);c5(this,Tr(a,15,this.sharedSessionState_))};f.reportDeselect=function(a){c5(this,Tr(a,17,this.sharedSessionState_))};f.reportProceed=function(a){c5(this,Tr(a,10,this.sharedSessionState_))};
f.reportDismiss=function(){var a=this.sharedSessionState_,b=new Sr;a=a.clone();b.setSessionState(a);b.setEventType(7);b.setEventSources(a.getSources());c5(this,[b])};f.reportSave=function(a){c5(this,Tr(a,9,this.sharedSessionState_))};f.reportSecondaryAction=function(a){c5(this,Tr(a,19,this.sharedSessionState_))};f.reportSend=function(a){c5(this,Tr(a,8,this.sharedSessionState_,!0))};var c5=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.reporting_.report(c.value)};var d5=function(a,b,c){this.delegate_=this.delegate=a;this.sharedSessionState_=c;V(this.sharedSessionState_,5,Math.floor(9007199254740991*Math.random()));this.reportingFactory_=b};T(d5,L4c);d5.prototype.suggest=function(a,b){var c=this;WOc(this.sharedSessionState_,qj(this.sharedSessionState_,3,0)+1);var d=this.sharedSessionState_.clone();d.setQuery("");XOc(d);var e=0;this.delegate_.suggest(function(g){e=J5c(c,g.getResults(),Xmb(g),d,e);a(g)},b)};
d5.prototype.search=function(a,b,c){var d=this;WOc(this.sharedSessionState_,qj(this.sharedSessionState_,3,0)+1);var e=this.sharedSessionState_.clone();e.setQuery(a);XOc(e);var g=0;this.delegate_.search(a,function(h){g=J5c(d,h.getResults(),Xmb(h),e,g);b(h)},c)};d5.prototype.getReporter=function(a){return new I5c(this.reportingFactory_.create(a),this.sharedSessionState_)};d5.prototype.getSessionState=function(){return this.sharedSessionState_};
var J5c=function(a,b,c,d,e){var g=Nvc();V(d,9,Xa(g));g=a.delegate_.getLastUpdatedTimestamp();V(d,6,g);d.setAffinityVersion(a.delegate_.getAffinityVersion());a=k(b);for(g=a.next();!g.done;g=a.next()){b=0;g=k(g.value.getTargetList());for(var h=g.next();!h.done;h=g.next()){h=h.value.getLoggingToken();var l=Oq(h)||new Ir;7!==l.getProvenance()&&l.setProvenance(c.getProvenance());V(l,2,e);V(l,1,b);hj(h,Ir,2,l);h.setSessionState(d);b++}e++}return e};var K5c=function(a,b,c){this.delegate_=this.delegate=a;this.reportingFactory_=b;this.instanceId_=gib();this.clearcutConfig_=c};T(K5c,M4c);
K5c.prototype.lookup=function(a,b,c){this.delegate_.lookup(a,function(d){var e=Array.from(d.getResults().values()),g,h=d.getMetadata();h.getCacheState()&&(h=h.getCacheState(),h.hasSource()&&(g=h.getSource()));g=g||new Ur;h=c.getOriginator();e=k(e);for(var l=e.next();!l.done;l=e.next()){l=k(l.value.getTargetList());for(var q=l.next();!q.done;q=l.next()){q=q.value.getLoggingToken();var v=Oq(q)||new Ir;7!==v.getProvenance()&&v.setProvenance(g.getProvenance());V(v,4,h);hj(q,Ir,2,v)}}b(d)},c)};
K5c.prototype.beginSession=function(a){var b=new t0,c=L5c(this,a);hj(b,Pr,10,c);c=M5c(this,a);hj(b,Rr,12,c);b.setInstanceId(this.instanceId_);a=this.delegate_.beginSession(a);return new d5(a,this.reportingFactory_,b)};
var L5c=function(a,b){a=kj(a.clearcutConfig_,Pr,5);return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new Pr},M5c=function(a,b){a=kj(a.clearcutConfig_,Rr,6);return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new Rr};var N5c={create:function(a){var b=sb(QZc||(QZc=PZc('[[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 g4(b,a);a.runtimeConfig_.getExperiments().getProfileId()?RZc(a).getIsEnabled()?(b=sb(TZc||(TZc=Hkb('[null,null,null,null,null,null,null,"AIzaSyABqJ85_R2irnKzMtGBL0iHuyFBi6Efk1w"]'))),
b=new Ikb(b,1)):b=new er:b=new er;var c=a.runtimeConfig_.getExperiments().getProfileId_legacyNullable(),d=a.runtimeConfig_;Or=b.loadExperiments(RZc(a).getApplication(),(new fr).setPeopleApiEnv(d.getPeopleApiEnv()),c);b=new h3c;b.cacheConfigurators_.push(new IZc);c=b;c=void 0===c?new h3c:c;b=a.getClearcut();b=new g5c(b,a.runtimeConfig_);b=hr(b);b=new p1c(b);d=new q1c(a,b);var e=c;c=a.getClient();c=new w3c(d.targetFactory_,c);var g=void 0===g?W4c:g;g=new X4c(d.loader_,a,g);g=new U4c(g,b,a);var h=[new K4c,
new p3c].concat(cd(e.cacheConfigurators_)),l=[],q=[],v=new J3c(c,a);e=new I3c(q,v,a);d={clientConfig:a,trackers:b,storage:c,indexer:v,loader:g,loaderFactory:d,trieFactory:new c4c(c,e,b),prefixCaches:l,lookupStages:q};h=k(h);for(q=h.next();!q.done;q=h.next())q.value.configure(d);d=new R3c(l);g=new W3c(a,b,d,e,new D3c(g,c),c);d=a.getClient();c=new A4c(d,c);d=a.getClient();g=new p4c(g,c,d);c=new H5c(a);a=a.getClearcut();g=new K5c(g,c,a);g=new k5c(g,b);return new a5c(g)}};var e5=function(a,b){var c=this;this.fridge=a;this.userAccess=b;this.currentComponentId="";this.providedComponentId$=new D.ReplaySubject(1);this.accessCheckIsThinking$=new D.BehaviorSubject(!0);this.component$=this.providedComponentId$.pipe($e(function(d){return c.fridge.watchOne(d)}));this.userIsComponentReader$=this.providedComponentId$.pipe($e(function(d){d!==c.currentComponentId&&(c.accessCheckIsThinking$.next(!0),c.currentComponentId=d);return MG(c.userAccess,"reader","components/"+d).then(function(e){return e},
function(){return!1}).finally(function(){c.accessCheckIsThinking$.next(!1)})}));this.isReady$=(0,D.combineLatest)([this.fridge.thinking$,this.accessCheckIsThinking$]).pipe(C(function(d){var e=k(d);d=e.next().value;e=e.next().value;return!d&&!e}),Ze(!1));this.manageComponentLink=""};e5.prototype.ngOnInit=function(){this.currentComponentId=this.componentId};e5.prototype.ngOnChanges=function(){this.providedComponentId$.next(this.componentId);this.manageComponentLink="/components/"+this.componentId};
e5.\u0275fac=function(a){return new (a||e5)(B(AG),B(LG))};
e5.\u0275cmp=Oc({type:e5,selectors:[["b-async-component"]],inputs:{componentId:"componentId"},features:[gd],decls:6,vars:7,consts:[[3,"isReady"],[3,"href",4,"ngIf","ngIfElse"],["notComponentReader",""],[3,"href"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",0),R(1,"async"),O(2,Ymb,3,4,"a",1),R(3,"async"),O(4,Zmb,2,1,"ng-template",null,2,gg),H());if(a&2){var c=Kf(5);E("isReady",S(1,3,b.isReady$));z(2);E("ngIf",S(3,5,b.userIsComponentReader$))("ngIfElse",c)}},dependencies:[Rw,GL,Xw],
encapsulation:2});var f5=function(a){this.documentationLinks=a;this.showIssueMetadataContainer=!1};
sh.Object.defineProperties(f5.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=Cl(a.modifiedTime),a.teamId&&0!==a.teamId&&(this.issueTeamId=String(a.teamId)),a=a.issueState)this.issueType=D$b[a.type],this.issueStatus=xl[a.status],this.issuePriority=a.priority,this.issueSeverity=B$b[a.severity],this.issueComponentId=String(a.componentId),this.accessLimitLevel=
F7a(a.accessLimitLevel)}}});f5.\u0275fac=function(a){return new (a||f5)(B(OJ))};
f5.\u0275cmp=Oc({type:f5,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&&(F(0,"div",0)(1,"h3",1),P(2," Access is denied to this issue "),H(),O(3,bnb,40,13,
"ol",2),H());a&2&&(z(3),E("ngIf",b.showIssueMetadataContainer))},dependencies:[Rw,e5,wJ,ML,$w],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 g5=function(){};g5.\u0275fac=function(a){return new (a||g5)};g5.\u0275mod=Qc({type:g5});g5.\u0275inj=zc({imports:[OG,yO]});var h5=function(){};h5.\u0275fac=function(a){return new (a||h5)};h5.\u0275mod=Qc({type:h5});h5.\u0275inj=zc({imports:[OG,g5,qO,uO]});var O5c=Symbol("Re"),i5=function(a){this.ruleConfigService=a};i5.prototype.build=function(a){if(a.customField)var b="DATE"===a.customField.type?new j5(a,k5(this.ruleConfigService)):"ENUM"===a.customField.type?new P5c(a,k5(this.ruleConfigService)):"NUMERIC"===a.customField.type?new l5(a,k5(this.ruleConfigService)):new m5(a,k5(this.ruleConfigService));else b=a.label.field,b=k5(this.ruleConfigService)[b],b=new (b&&b.ruleCtor||n5)(a,k5(this.ruleConfigService));b[O5c](a);return b};
var Bob=function(a,b,c){return a.build({label:{field:b,customFieldId:c&&c.customFieldId||void 0},operator:"EQ",negated:!1,type:"",customField:c})};i5.\u0275fac=function(a){return new (a||i5)(t(o5))};i5.\u0275prov=yc({token:i5,factory:i5.\u0275fac,providedIn:"root"});
var Q5c=["OR","AND","NAND"],R5c=["OR","NAND"],S5c="LT GT LE GE RANGE NRANGE DURATION NDURATION OR".split(" "),T5c=["AND","OR","NAND"],U5c=["OR","LT","GT","LE","GE"],n5=function(a,b){this.ruleConfigLookup=b;this.values=[];this.type="";this.isPendingCustomField=!1;this.label=a.label};n5.prototype[O5c]=function(a){this.initType(a);this.initValues(a)};
n5.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]};n5.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){return{value:b.simpleValues[0].value}})};
var V5c=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}};
n5.prototype.toString=function(){var a=V5c(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=W5c(this);return(a.negated?"-":"")+d+(d?c[a.operator]:"")+b};var W5c=function(a){var b=a.label.field,c=a.ruleConfigLookup[b];return c&&(c=c.queryLabel,null!=c)?c:ai(b).toLowerCase()+(a.label.customFieldId||"")};n5.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value}).filter(function(a){return a})};
n5.prototype.getWidgetType=function(){return"default"};n5.prototype.isValid=function(){return this.getLegalTypes().includes(this.type)};n5.prototype.getLegalTypes=function(){return Q5c};var X5c=[],p5=function(a,b){n5.call(this,a,b);this.enumValues={}};T(p5,n5);f=p5.prototype;f.getLegalTypes=function(){return R5c};f.getWidgetType=function(){return"enum"};
f.initValues=function(a){this.enumValues={};for(var b=k(this.getOptions()),c=b.next();!c.done;c=b.next())this.enumValues[c.value.id]=!1;a=k(a.values||[]);for(b=a.next();!b.done;b=a.next())this.enumValues[cnb(b.value.simpleValues[0].value)]=!0};f.valuesToStrings=function(){return Object.keys(ac(this.enumValues,function(a){return a}))};f.getOptions=function(){return X5c};var Y5c=Haa().map(function(a){return{id:"p"+a,label:"P"+a}}),Z5c=function(a,b){p5.call(this,a,b)};T(Z5c,p5);
Z5c.prototype.getOptions=function(){return Y5c};var $5c=Haa().map(function(a){return{id:"s"+a,label:"S"+a}}),a6c=function(a,b){p5.call(this,a,b)};T(a6c,p5);a6c.prototype.getOptions=function(){return $5c};
var b6c=[{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"}],c6c=function(a,b){p5.call(this,a,b)};T(c6c,p5);c6c.prototype.getOptions=function(){return b6c};
var d6c=[{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"}],e6c=function(a,b){p5.call(this,a,b)};T(e6c,p5);e6c.prototype.getOptions=function(){return d6c};
var f6c=[{id:"abuse"},{id:"pii"},{id:"user_request",label:"user request"},{id:"retention"}],g6c=function(a,b){p5.call(this,a,b)};T(g6c,p5);g6c.prototype.getOptions=function(){return f6c};var P5c=function(a,b){p5.call(this,a,b);this.allowedValues=[]};T(P5c,p5);P5c.prototype[O5c]=function(a){this.allowedValues=a.customField.allowedValue.map(function(b){return{label:b,id:cnb(b)}});p5.prototype[O5c].call(this,a)};
P5c.prototype.valuesToStrings=function(){return Object.keys(ac(this.enumValues,function(a){return a})).map(function(a){return'"'+a+'"'})};P5c.prototype.getOptions=function(){return this.allowedValues};var cs=function(a,b){n5.call(this,a,b);this.csv=""};T(cs,n5);cs.prototype.getWidgetType=function(){return"csv"};cs.prototype.initValues=function(a){this.csv=(a.values||[]).map(function(b){return b.simpleValues[0].value}).join(",")};cs.prototype.valuesToStrings=function(){return this.csv.split(",").map(function(a){return a.trim()}).filter(function(a){return a})};
var q5=function(a,b){cs.call(this,a,b)};T(q5,cs);q5.prototype.getWidgetType=function(){return"id"};q5.prototype.valuesToStrings=function(){return cs.prototype.valuesToStrings.call(this).map(function(a){return"none"===a.toLowerCase()?"none":"any"===a.toLowerCase()?"any":String(bi(a))})};var h6c=function(a,b){cs.call(this,a,b)};T(h6c,q5);h6c.prototype.getLegalTypes=function(){return R5c};var r5=function(a,b){cs.call(this,a,b)};T(r5,cs);r5.prototype.getWidgetType=function(){return"user"};
var s5=function(a,b){cs.call(this,a,b)};T(s5,r5);s5.prototype.getLegalTypes=function(){return R5c};var j5=function(a,b){n5.call(this,a,b);this.dateTo=this.dateFrom=this.duration=""};T(j5,n5);var gob=function(a){return a&&"string"===typeof a?a:""};j5.prototype.initType=function(a){n5.prototype.initType.call(this,a);var b=a.values&&a.values[0];b&&("RANGE"===b.type?this.type=a.negated?"NRANGE":"RANGE":Os(b.simpleValues[0].value,"d")&&(this.type=a.negated?"NDURATION":"DURATION"))};
j5.prototype.getWidgetType=function(){return"date"};j5.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=i6c(b),"RANGE"===this.type||"NRANGE"===this.type)this.dateTo=i6c(a.values[0].simpleValues[1].value)}};
j5.prototype.valuesToStrings=function(){if("DURATION"===this.type||"NDURATION"===this.type){var a=bi(this.duration);return!a||isNaN(a)?[]:[a+"d"]}if("RANGE"===this.type||"NRANGE"===this.type){a=this.dateFrom&&j6c(this.dateFrom)||(new Uh).toIsoString(!0);var b=this.dateTo&&j6c(this.dateTo)||(new Uh).toIsoString(!0);return[a+".."+b]}return[this.dateFrom&&j6c(this.dateFrom)||(new Uh).toIsoString(!0)]};
var k6c=function(a){var b=String(a.getMonth()+1),c=String(a.getDate());return b+"/"+c+"/"+String(a.getFullYear())},i6c=function(a){var b=new Dl(2E3);a=fi(a);var c=-1==a.indexOf("T")?" ":"T";a=a.split(c);var d=a[0].match(kYb);if(d){var e=Number(d[2]),g=Number(d[3]),h=Number(d[4]);c=Number(d[5]);var l=Number(d[6])||1;b.setFullYear(Number(d[1]));h?(b.setDate(1),b.setMonth(0),b.add(new AB("d",h-1))):c?(b.setMonth(0),b.setDate(1),d=b.getDay()||7,b.add(new AB("d",(4>=d?1-d:8-d)+(Number(l)+7*(Number(c)-
1))-1))):(e&&(b.setDate(1),b.setMonth(e-1)),g&&b.setDate(g));c=!0}else c=!1;if(c&&!(c=2>a.length)){c=a[1];a=c.match(mYb);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(lYb)){if(a){a=b.getYear();c=b.getMonth();l=b.getDate();d=Number(h[1]);e=Number(h[2])||0;g=Number(h[3])||0;var v=h[4]?1E3*Number(h[4]):0;(h=0<=a&&100>a)&&(a+=400);a=Date.UTC(a,c,l,d,e,g,v);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 k6c(c?b:null)},j6c=function(a){a=a.split("/").map(Number);return(new Uh(a[2],a[0]-1,a[1])).toIsoString(!0)};j5.prototype.getLegalTypes=function(){return S5c};var t5=function(a,b){n5.call(this,a,b)};T(t5,n5);t5.prototype.getWidgetType=function(){return"bool"};
t5.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"};t5.prototype.toString=function(){return W5c(this)+":"+("OR"===this.type)};t5.prototype.getLegalTypes=function(){return R5c};var u5=function(a,b){n5.call(this,a,b)};T(u5,n5);u5.prototype.getWidgetType=function(){return"boolwithall"};
u5.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")};u5.prototype.toString=function(){var a=W5c(this)+":";switch(this.type){case "OR":return a+"true";case "NAND":return a+"false";default:return a+"all"}};
u5.prototype.getLegalTypes=function(){return T5c};var m5=function(a,b){n5.call(this,a,b)};T(m5,n5);m5.prototype.getWidgetType=function(){return"text"};m5.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}})};m5.prototype.valuesToStrings=function(){return this.values.map(function(a){return-1<a.value.indexOf(" ")?'"'+a.value+'"':a.value})};
var l6c=function(a,b){n5.call(this,a,b)};T(l6c,n5);l6c.prototype.getWidgetType=function(){return"component"};l6c.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};Os(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};l6c.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};
var m6c=function(a,b){n5.call(this,a,b)};T(m6c,n5);m6c.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};Os(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};m6c.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};var n6c=function(a,b){n5.call(this,a,b)};T(n6c,n5);n6c.prototype.getWidgetType=function(){return"tracker"};
var o6c=function(a,b){n5.call(this,a,b)};T(o6c,m6c);o6c.prototype.getWidgetType=function(){return"team"};var p6c=function(a,b){n5.call(this,a,b)};T(p6c,n5);p6c.prototype.getWidgetType=function(){return"hotlist"};var q6c=function(a,b){n5.call(this,a,b)};T(q6c,n5);q6c.prototype.getWidgetType=function(){return"savedsearch"};var l5=function(a,b){cs.call(this,a,b)};T(l5,cs);l5.prototype.getWidgetType=function(){return"number"};l5.prototype.getLegalTypes=function(){return U5c};
var r6c=function(a,b){j5.call(this,a,b)};T(r6c,j5);r6c.prototype.initType=function(a){j5.prototype.initType.call(this,a);a.negated&&(this.type="ERR")};
var v5={},s6c=(v5.ATTACHMENT={ruleCtor:m5,name:"Attachment name"},v5.COMMENT={ruleCtor:m5},v5.TITLE={ruleCtor:m5},v5.ASSIGNEE={ruleCtor:s5},v5.MODIFIER={ruleCtor:r5},v5.REPORTER={ruleCtor:s5},v5.VERIFIER={ruleCtor:s5},v5.CC={ruleCtor:r5},v5.COMPONENT_ID={ruleCtor:l6c,name:"Component"},v5.TRACKER_ID={ruleCtor:n6c,name:"Tracker"},v5.TYPE={ruleCtor:c6c},v5.STATUS={ruleCtor:e6c},v5.PRIORITY={ruleCtor:Z5c},v5.SEVERITY={ruleCtor:a6c},v5.BLOCKED_BY_ID={ruleCtor:q5},v5.BLOCKING_ID={ruleCtor:q5},v5.PARENT_ID=
{ruleCtor:q5},v5.CANONICAL_ID={ruleCtor:h6c},v5.ID={ruleCtor:h6c},v5.FOUND_IN={ruleCtor:cs},v5.TARGETED_TO={ruleCtor:cs},v5.VERIFIED_IN={ruleCtor:cs},v5.CL={ruleCtor:cs,name:"Changelists"},v5.MODIFIED={ruleCtor:j5},v5.RESOLVED={ruleCtor:r6c},v5.CREATED={ruleCtor:j5},v5.VERIFIED={ruleCtor:r6c},v5.DELETION_TIME={ruleCtor:j5,name:"Deletion time"},v5.SAVED_SEARCH_ID={ruleCtor:q6c,name:"Saved search"},v5.HOTLIST_ID={ruleCtor:p6c,name:"Hotlist"},v5.STAR={ruleCtor:t5,name:"Starred"},v5.MUTE={ruleCtor:t5,
name:"Muted"},v5.IN_PROD={ruleCtor:t5,name:"In production"},v5.CC_COUNT={ruleCtor:l5},v5.DUPLICATE_COUNT={ruleCtor:l5},v5.VOTE_COUNT={ruleCtor:l5},v5.COMMENT_COUNT={ruleCtor:l5},v5.LAST_MODIFIER={ruleCtor:s5,name:"Last Modified By"},v5.COMMENTER={ruleCtor:r5},v5.LAST_COMMENTER={ruleCtor:s5},v5.ARCHIVED={ruleCtor:u5},v5.IS_DELETED={ruleCtor:t5,name:"Deleted",queryLabel:"deleted"},v5.DELETION_REASON={ruleCtor:g6c,name:"Deletion reason"},v5._TEXT_={ruleCtor:m5,queryLabel:"",name:"All fields"},v5),t6c=
Object.assign({},s6c,{EFFORT_LABEL:{ruleCtor:cs},MENTION:{ruleCtor:r5},MIN_SLO_TARGET:{ruleCtor:j5,name:"Nearest SLO",queryLabel:"nearestslo"},POSTMORTEM:{ruleCtor:cs,name:"Postmortems"},TEAM_ID:{ruleCtor:o6c,name:"Team"}}),o5=function(a){this.activeSession=a},k5=function(a){return a.activeSession.isExternalSession()?s6c:t6c};o5.\u0275fac=function(a){return new (a||o5)(t(Bs))};o5.\u0275prov=yc({token:o5,factory:o5.\u0275fac,providedIn:"root"});var u6c=function(a){this.internalArray_=m(a)};T(u6c,p);f=u6c.prototype;f.getField=function(){return Zi(this,1,0)};f.setField=function(a){V(this,1,a)};f.getCustomFieldId=function(){return Ii(this,2)};f.setCustomFieldId=function(a){return V(this,2,a)};f.hasCustomFieldId=function(){return Hi(this,2)};f.toObject=function(){return v6c(this)};var v6c=function(a){if(null!=a)return r(a),{field:n(Er(a,1)),customFieldId:n(Yb(a,2))}};var inb=function(a){this.internalArray_=m(a)};T(inb,p);f=inb.prototype;f.getType=function(){return Zi(this,1,0)};f.setType=function(a){return V(this,1,a)};f.hasType=function(){return pj(this,1)};f.getValue=function(){return U(this,2)};f.setValue=function(a){return sk(this,2,a)};f.hasValue=function(){return Hk(this,2)};f.toObject=function(){return w6c(this)};var w6c=function(a){if(null!=a)return r(a),{type:n(Er(a,1)),value:n(Z(a,2))}};var w5=function(a){this.internalArray_=m(a)};T(w5,p);f=w5.prototype;f.getType=function(){return Zi(this,1,0)};f.setType=function(a){return V(this,1,a)};f.hasType=function(){return pj(this,1)};f.getValuesList=function(){return kj(this,w5,2)};f.setValuesList=function(a){nj(this,2,a)};f.setValues=function(a,b){$s(this,2,w5,a,b)};w5.repeatedFields_=[2,3];w5.prototype.toObject=function(){return x6c(this)};
var x6c=function(a){if(null!=a)return r(a),{type:n(Er(a,1)),valuesList:Ub(a.getValuesList(),x6c),simpleValuesList:Ub(kj(a,inb,3),w6c)}};var Yr=function(a){this.internalArray_=m(a)};T(Yr,p);f=Yr.prototype;f.getType=function(){return Zi(this,1,0)};f.setType=function(a){return V(this,1,a)};f.hasType=function(){return pj(this,1)};f.getValuesList=function(){return kj(this,w5,2)};f.setValuesList=function(a){nj(this,2,a)};f.setValues=function(a,b){$s(this,2,w5,a,b)};f.getLabel=function(){return X(this,u6c,4)};f.setLabel=function(a){return hj(this,u6c,4,a)};f.hasLabel=function(){return Nj(this,u6c,4)};Yr.repeatedFields_=[2];
Yr.prototype.toObject=function(){return y6c(this)};var y6c=function(a){if(null!=a)return r(a),{type:n(Er(a,1)),valuesList:Ub(a.getValuesList(),x6c),negated:n(vr(a,3)),label:v6c(a.getLabel()),operator:n(Er(a,5))}};var Xr=function(a){this.internalArray_=m(a,0,Xr.messageId)};T(Xr,p);Xr.prototype.getType=function(){return Zi(this,1,0)};Xr.prototype.setType=function(a){return V(this,1,a)};Xr.prototype.hasType=function(){return pj(this,1)};Xr.repeatedFields_=[2];Xr.prototype.toObject=function(){return z6c(this)};var z6c=function(a){if(null!=a)return r(a),{type:n(Er(a,1)),expressionsList:Ub(kj(a,Yr,2),y6c)}};Xr.messageId="b.QueryBuilderResponse";var Vr=function(a){this.internalArray_=m(a,0,Vr.messageId)};T(Vr,p);Vr.prototype.toObject=function(){return A6c(this)};var A6c=function(a){if(null!=a)return r(a),{syntaxError:n(Z(a,1))}};Vr.messageId="b.SyntaxErrorResponse";var x5=function(a){this.internalArray_=m(a,0,x5.messageId)};T(x5,p);x5.prototype.getKindCase=function(){return Mi(this,Wr)};var Wr=[1,2];x5.prototype.toObject=function(){if(null!=this){r(this);var a={queryBuilderResponse:z6c(ck(this,Xr,1,Wr)),syntaxErrorResponse:A6c(ck(this,Vr,2,Wr))}}else a=void 0;return a};x5.messageId="b.QueryBuilderResponseOrError";var y5=function(a){this.executor=a},B6c=function(a,b){b=bm(b);return a.executor.get({url:"action/issue_query_parse/"+b,responseConstructor:x5}).then(onb).then(function(c){var d;null!=(d=c.syntaxErrorResponse)?c=d:(c=c.queryBuilderResponse,c={type:c.type,expressions:c.expressions.map(dnb)});return c})};y5.\u0275fac=function(a){return new (a||y5)(t(iE))};y5.\u0275prov=yc({token:y5,factory:y5.\u0275fac,providedIn:"root"});var z5=function(a){var b=this;this.teamsService=a;this.placeholder="Choose Team";this.panelWidth="574px";this.disabled=!1;this.onTeamSelect=new kw;this.onEmptyQuery=new kw;this.searchQuery$=new D.Subject;this.teamSuggestions$=this.searchQuery$.pipe(Le(300),Ne(),$e(function(c){return bJ(b.teamsService,c)}),C(function(c){return c.map(function(d){return new qnb(d.pathIds,d.pathNames,d.description)})}))};z5.prototype.updateSelectionOnChange=function(a){this.onTeamSelect.emit(a.option.value)};
z5.prototype.search=function(a){a||this.onEmptyQuery.emit();this.searchQuery$.next(a)};z5.prototype.displayFn=function(a){return a?a.name:""};z5.prototype.ngAfterViewInit=function(){};z5.\u0275fac=function(a){return new (a||z5)(B($I))};
z5.\u0275cmp=Oc({type:z5,selectors:[["b-team-picker"]],viewQuery:function(a,b){a&1&&bg(dQ,7);if(a&2){var c;ag(c=dg())&&(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();F(0,"div",0)(1,"input",1,2);L("click",function(){w(c);var e=Kf(2);return y(b.search(e.value))})("input",
function(){w(c);var e=Kf(2);return y(b.search(e.value))});H();F(3,"mat-autocomplete",3,4);L("optionSelected",function(e){return b.updateSelectionOnChange(e)});O(5,tnb,6,8,"mat-option",5);R(6,"async");H()()}if(a&2){var d=Kf(4);z(1);If("placeholder",b.placeholder);E("ngModel",b.teamSelected)("disabled",b.disabled)("matAutocomplete",d);of("aria-disabled",b.disabled);z(2);E("panelWidth",b.panelWidth)("displayWith",b.displayFn);z(2);E("ngForOf",S(6,8,b.teamSuggestions$))}},dependencies:[Qw,Rw,eQ,dQ,SA,
lD,wg,tx,Ax,Xw,dx],styles:["input[type=text][_ngcontent-%COMP%]{width:100%}.team-search-result[_ngcontent-%COMP%]{line-height:16px;border:1px solid;border-color:#dadce0;border-color:var(--divider);.path-names-separator-color:#202124;.path-names-separator-color:var(--text);.path-names-separator-font-size:.8125rem;.path-names-separator-font-weight:500}.team-search-result[_ngcontent-%COMP%]   .path-names[_ngcontent-%COMP%]{color:#202124;color:var(--text);font-size:.8125rem;font-weight:500;overflow-wrap:break-word;white-space:pre-wrap}.team-search-result[_ngcontent-%COMP%]   .path-names[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link);text-decoration:underline}.team-search-result[_ngcontent-%COMP%]   .path-names[_ngcontent-%COMP%]:first-of-type{margin-left:0}.team-search-result[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-size:.75rem;color:#5f6368;color:var(--muted);overflow:hidden;text-overflow:ellipsis}"],
changeDetection:0});var qnb=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 C6c(a.slice(0,e+1),b.slice(0,e+1))})},C6c=function(a,b){this.pathIds=a;this.pathNames=b;this.name=0<b.length?b[b.length-1]:"";this.pathNameText=b.join(" > ")};var A5=function(a){var b=this;this.trackerFridge=a;this.placeholder="Choose Tracker";this.disabled=!1;this.onTrackerSelect=new kw;this.searchQuery$=new D.Subject;this.trackerSuggestions$=this.searchQuery$.pipe(Le(300),Ne(),$e(function(c){return b.trackerFridge.watchMany({filter:c,pageSize:5})}),C(function(c){return c.results}));this.displayFn=function(c){return c?c.name:""}};A5.prototype.ngAfterViewInit=function(){};A5.prototype.updateSelectionOnChange=function(a){this.onTrackerSelect.emit(a.option.value)};
A5.prototype.search=function(a){this.searchQuery$.next(a)};A5.\u0275fac=function(a){return new (a||A5)(B(iJ))};
A5.\u0275cmp=Oc({type:A5,selectors:[["b-tracker-picker"]],viewQuery:function(a,b){a&1&&bg(dQ,7);if(a&2){var c;ag(c=dg())&&(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();F(0,"input",0,1);L("click",function(){w(c);var e=Kf(1);return y(b.search(e.value))})("input",function(){w(c);var e=Kf(1);return y(b.search(e.value))});H();F(2,"mat-autocomplete",2,3);L("optionSelected",function(e){return b.updateSelectionOnChange(e)});O(4,unb,3,2,"mat-option",4);R(5,"async");
H()}if(a&2){var d=Kf(3);E("placeholder",b.placeholder)("ngModel",b.selectedTracker)("disabled",b.disabled)("matAutocomplete",d);of("aria-disabled",b.disabled);z(2);E("displayWith",b.displayFn);z(2);E("ngForOf",S(5,7,b.trackerSuggestions$))}},dependencies:[Qw,eQ,dQ,SA,wg,tx,Ax,Xw],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 B5=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y){rF.call(this);this.analytics=a;this.userApi=b;this.customFieldsApi=c;this.savedSearchApi=d;this.hotlistApi=e;this.trackerFridge=g;this.issueSearchResources=h;this.activeSession=l;this.elementRef=q;this.errorHandler=v;this.componentActions=x;this.teamsService=A;this.searchRuleConfigService=G;this.searchRuleFactory=M;this.cdr=Q;this.currentTracker=Y;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(W){return W};this.sessionIsInternal=this.activeSession.isInternalSession();this.typeLabels=D6c;this.globalTypeLabels=E6c;this.state="INIT"};T(B5,rF);B5.\u0275dir=rF.\u0275dir;
var F6c=function(a){var b=[];$b(k5(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,hBa(d)]))},a);b.sort(function(c,d){return Eaa(c[1],d[1])});b.push(["SAVED_SEARCH_ID","Saved search"]);b.push(["CUSTOM_FIELD","Custom field"]);return b};B5.prototype.schedule=function(a){this.subscriptions.add(D.asyncScheduler.schedule(a))};B5.prototype.ngOnInit=function(){this.cdr.detectChanges()};
B5.prototype.ngOnChanges=function(a){a.isTrackerSearchEnabled&&(this.availableLabels=F6c(this))};
var I6c=function(a,b){a.reset();b?G6c(a,b):(a.expressions=H6c.map(function(c){return Bob(a.searchRuleFactory,c)}),a.state="SUCCESS");a.userApi.getUserSavedSearches().then(function(c){a.userSavedSearches=c;c=k(a.userSavedSearches);for(var d=c.next();!d.done;d=c.next())d=d.value,a.savedSearches[d.searchId]=d;a.cdr.detectChanges()});a.userApi.getUserHotlists().then(function(c){a.userHotlists=c;c=k(a.userHotlists);for(var d=c.next();!d.done;d=c.next())d=d.value,a.hotlists[d.hotlistId]=d;a.cdr.detectChanges()});
a.cdr.detectChanges()},G6c=function(a,b){B6c(a.issueSearchResources,b).then(function(c){if(c.syntaxError)return a.state="SYNTAX_ERROR",a.analytics.trackEvent("adv-search","adv-search-syntax-error"),a.cdr.detectChanges(),null;a.expressionType=c.type;a.expressions=[];c=c.expressions.map(function(d){return J6c(a,d)});return Promise.all(c).then(function(d){if(d.every(function(g){return!!g})){a.state="SUCCESS";d=k(d);for(var e=d.next();!e.done;e=d.next())a.expressions.push(e.value)}else a.state="NOT_REPRESENTABLE",
a.analytics.trackEvent("adv-search","adv-search-not-rep-error");a.cdr.detectChanges()})}).catch(function(c){a.state="SERVER_ERROR";a.errorHandler.errorHandler(null,c);a.cdr.detectChanges()})},J6c=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?K6c(a,b.label.customFieldId).then(function(c){b.customField=
c;return L6c(a,b)}):Promise.resolve(L6c(a,b))},K6c=function(a,b){return a.customFields[b]?Promise.resolve(a.customFields[b]):a.customFieldsApi.get(b).then(function(c){return a.customFields[b]=c})},L6c=function(a,b){b="ERR"===b.type?null:a.searchRuleFactory.build(b);if(!b||b&&!b.isValid())return null;M6c(a,b);return b},M6c=function(a,b){switch(b.label.field){case "COMPONENT_ID":var c=k(b.values);for(b=c.next();!b.done;b=c.next())b=gi(b.value.value),a.components[b]||a.fetchComponent(b);break;case "TRACKER_ID":if(a.isTrackerSearchEnabled)for(c=
k(b.values),b=c.next();!b.done;b=c.next())b=b.value.value,a.trackers[b]||N6c(a,b);break;case "TEAM_ID":if(a.sessionIsInternal)for(c=k(b.values),b=c.next();!b.done;b=c.next())b=b.value.value,a.teams[b]||O6c(a,b);break;case "SAVED_SEARCH_ID":c=k(b.values);for(b=c.next();!b.done;b=c.next())b=b.value,a.savedSearches[b.value]||a.savedSearchApi.get(b.value).then(function(d){a.savedSearches[d.searchId]=d});break;case "HOTLIST_ID":for(c=k(b.values),b=c.next();!b.done;b=c.next())b=b.value,a.hotlists[b.value]||
a.hotlistApi.get(b.value).then(function(d){a.hotlists[d.hotlistId]=d})}};B5.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 N6c=function(a,b){a.trackerFridge.watch(b).pipe(af(a.destroyed$)).subscribe(function(c){c&&(a.trackers[b]=c)})},O6c=function(a,b){bJ(a.teamsService,b).pipe(Ke(function(){return(0,D.of)([])}),af(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:""}})},P6c=function(a){var b="AND"===a.expressionType?" ":" | ";return RJb(a.expressions.map(function(c){return c.label?
c.toString():""}),PPb).join(b)};B5.prototype.getState=function(){return this.state};B5.prototype.reset=function(){this.expressionType="AND";this.expressions=[];this.state="INIT"};
var Eob=function(a,b){var c=a.expressions[b],d=c.label;"CUSTOM_FIELD"===d.field?c.isPendingCustomField=!0:(a.expressions[b]=Bob(a.searchRuleFactory,d.field),Cob(a,a.expressions[b]));a.cdr.detectChanges()},Cob=function(a,b){var c=b.getWidgetType();"component"===c||"savedsearch"===c||"hotlist"===c||"text"===c||"team"===c||"tracker"===c?$r(a,b):"date"===c&&(b.dateFrom||(b.dateFrom=k6c(new Uh)),b.dateTo||(b.dateTo=k6c(new Uh)))};B5.prototype.removeExpression=function(a){ra(this.expressions,a);this.cdr.detectChanges()};
var $r=function(a,b){var c={value:""};b.values.push(c);"COMPONENT_ID"===b.label.field?Knb(a,c):"TRACKER_ID"===b.label.field?Rnb(a,c):"TEAM_ID"===b.label.field?Ynb(a,c):bs(a,c);a.cdr.detectChanges()},Zr=function(a,b,c){ra(b.values,c);b.values.length||a.removeExpression(b);a.cdr.detectChanges()},bs=function(a,b){a.chipUnderEdit=b;a.cdr.detectChanges()},Knb=function(a,b){bs(a,b);a.componentUnderEdit=b.value?Yh(a.components[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-component-picker input").focus()})},
Rnb=function(a,b){bs(a,b);a.trackerUnderEdit=b.value?Yh(a.trackers[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-tracker-picker input").focus()})},Ynb=function(a,b){bs(a,b);a.teamUnderEdit=b.value?Yh(a.teams[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})},as=function(a){a.chipUnderEdit=null;a.cdr.detectChanges()},$nb=function(a,b){a.analytics.trackEvent(ao.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;as(a);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})};B5.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]};
B5.prototype.getCustomFieldName=function(a){return(a=a.label.customFieldId)?this.customFields[a].name||a:""};B5.prototype.getComponentPath=function(a){if(!a)return"";var b=ds(this.currentTracker,a.componentPathInfo);return b&&b.componentPathName?b.componentPathName.join(" > "):a.name};
var E6c={AND:"Match all (AND)",OR:"Match any (OR)"},D6c={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"}},H6c=["COMPONENT_ID","ASSIGNEE","STATUS","_TEXT_"];B5.\u0275fac=function(a){return new (a||B5)(B(EI),B(lI),B(hH),B(gU),B(cI),B(iJ),B(y5),B(Bs),B(Dd),B(aH),B(kV),B($I),B(o5),B(i5),B(AI,2),B(PL))};
B5.\u0275cmp=Oc({type:B5,selectors:[["b-advanced-search"]],inputs:{isTrackerSearchEnabled:"isTrackerSearchEnabled"},features:[Of([AI]),kf,gd],decls:1,vars:1,consts:[["class","bv2-adv-search",4,"ngIf"],[1,"bv2-adv-search"],[1,"bv2-adv-search-title"],["appearance","outline",4,"ngIf"],["class","bv2-adv-search-rule",4,"ngFor","ngForOf","ngForTrackBy"],[1,"bv2-adv-search-rule","bv2-adv-search-rule-new"],["mat-stroked-button","","type","button",1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",
3,"matMenuTriggerFor"],[1,"mat-select-panel"],["newExpressionMenu","matMenu"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf"],["appearance","outline"],[1,"bv2-adv-search-join-type",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"bv2-adv-search-rule"],[1,"bv2-adv-search-rule-title"],[1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",3,"ngModel","ngModelChange","selectionChange"],["aria-label","Delete search rule",1,"bv2-remove-icon","keep-focus-ring",
"bv2-adv-search-rule-delete-btn",3,"click"],["class","bv2-adv-search-rule-content",4,"ngIf"],["class","bv2-adv-search-custom-field-label",4,"ngIf"],["class","bv2-adv-search-custom-field-selection",4,"ngIf"],[1,"bv2-adv-search-rule-op","bv2-adv-search-rule-jfk-select",3,"ngModel","ngModelChange"],[1,"bv2-adv-search-rule-content"],["class","bv2-adv-search-enum-rule",4,"ngIf"],[4,"ngIf"],["class","bv2-adv-search-chip-container",4,"ngIf"],[1,"bv2-adv-search-enum-rule"],["class","bv2-adv-search-enum-item",
4,"ngFor","ngForOf"],[1,"bv2-adv-search-enum-item"],[3,"checked","change"],["type","text","aria-label","Add one or more user names, separated by comma","placeholder","One or more user names, comma-separated",3,"ngModel","bContactAutocomplete","ngModelChange"],["type","text","aria-label","Add one or more values, separated by comma","placeholder","One or more values, comma-separated",3,"ngModel","ngModelChange"],["type","text","placeholder","One or more IDs, comma-separated - e.g., 1,2,3",3,"ngModel",
"ngModelChange"],["type","text","aria-label","Add the condition",3,"ngModel","ngModelChange"],[1,"bv2-adv-search-chip-container"],["class","bv2-adv-search-chip bv2-adv-search-chip-text",4,"ngFor","ngForOf"],["mat-stroked-button","","class","bv2-adv-search-chip-add-btn",3,"click",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-chip-text"],[1,"bv2-adv-search-chip-content"],["aria-label","Remove the condition",1,"bv2-adv-search-chip-delete-btn","bv2-remove-icon",3,"click"],["mat-stroked-button","",
1,"bv2-adv-search-chip-add-btn",3,"click"],[4,"ngFor","ngForOf"],["class","bv2-adv-search-chip bv2-adv-search-component-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-component-chip"],["class","bv2-adv-search-chip-content bv2-adv-search-chip-content-btn",3,"title","click",4,"ngIf"],["class","bv2-adv-search-chip-content",4,"ngIf"],["role","switch","aria-label","Include subcomponents",1,"unstyled-button",3,"title","click"],[3,"svgIcon"],["aria-label","Remove the value",1,"bv2-adv-search-chip-delete-btn",
"bv2-remove-icon",3,"click"],[1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-btn",3,"title","click"],[1,"bv2-adv-search-chip-content-text"],[1,"bv2-search-component-picker",3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["class","bv2-adv-search-chip bv2-adv-search-tracker-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-tracker-chip"],[1,"bv2-search-tracker-picker",3,"selectedTracker","onTrackerSelect"],["class","bv2-adv-search-chip bv2-adv-search-team-chip",
4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-team-chip"],["role","switch","aria-label","Include subteams",1,"unstyled-button",3,"title","click"],[1,"bv2-search-team-picker",3,"teamSelected","onTeamSelect"],[3,"boundValue","isRequired","boundValueChange"],["type","text","maxlength","3",1,"bv2-duration-field",3,"ngModel","ngModelChange"],["class","bv2-adv-search-chip bv2-adv-search-bookmark-item-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-bookmark-item-chip"],["appearance","outline",
"class","bv2-adv-search-bookmark-item-form-field",4,"ngIf"],["appearance","outline",1,"bv2-adv-search-bookmark-item-form-field"],["placeholder","Select hotlist",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModel","ngModelChange","selectionChange"],["placeholder","Select search",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModel","ngModelChange","selectionChange"],[1,"bv2-adv-search-custom-field-label"],[1,"bv2-adv-search-custom-field-selection"],
[3,"fieldSelected"],["mat-menu-item","","type","button",3,"click"]],template:function(a,b){a&1&&O(0,Hob,11,6,"div",0);a&2&&E("ngIf","SUCCESS"===b.getState())},dependencies:[Qw,Rw,HB,YS,CZ,wg,tx,Mx,Ax,M_,QA,uB,dD,bD,cD,HP,SA,$O,z5,A5,qV,bx,yhc],styles:['[_nghost-%COMP%]     .mat-form-field-infix{width:unset;min-width:105px;border:0}[_nghost-%COMP%]     .mat-select-value{max-width:unset;color:#5f6368;color:var(--muted);font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;font-weight:500;letter-spacing:0.0107142857em;font-variant-ligatures:none}[_nghost-%COMP%]     mat-select .mat-select-arrow-wrapper{transform:unset}[_nghost-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0;padding:0}[_nghost-%COMP%]     .bv2-custom-field-picker{width:unset}.mat-form-field[_ngcontent-%COMP%]{margin-right:5px;text-align:center}.bv2-adv-search-rule-type[_ngcontent-%COMP%]{min-width:105px}.bv2-adv-search-title[_ngcontent-%COMP%]{font-weight:bold;padding-left:8px;margin-right:5px;display:inline-block;min-width:254px}.bv2-adv-search-bookmark-item-chip[_ngcontent-%COMP%]{align-items:baseline}.bv2-adv-search-bookmark-item-form-field[_ngcontent-%COMP%]{text-align:left;width:100%}']});var C5=function(){};C5.\u0275fac=function(a){return new (a||C5)};C5.\u0275mod=Qc({type:C5});C5.\u0275inj=zc({imports:[OG,fQ,EP,fE,Px]});var D5=function(){};D5.\u0275fac=function(a){return new (a||D5)};D5.\u0275mod=Qc({type:D5});D5.\u0275inj=zc({imports:[OG,fQ,EP,fE,Px]});var E5=function(){};E5.\u0275fac=function(a){return new (a||E5)};E5.\u0275mod=Qc({type:E5});E5.\u0275inj=zc({imports:[OG,ZS,DZ,Px,P_,ED,vB,yB,eD,IP,EP,KK,C5,D5,RW]});var Q6c=function(a){this.internalArray_=m(a)};T(Q6c,p);f=Q6c.prototype;f.getExperimentId=function(){return Rh(this,1)};f.getState=function(){return Zi(this,2,0)};f.getTitle=function(){return U(this,4)};f.setTitle=function(a){return sk(this,4,a)};f.getDescription=function(){return U(this,5)};f.setDescription=function(a){return sk(this,5,a)};f.hasDescription=function(){return Hk(this,5)};f.toObject=function(){return R6c(this)};
var R6c=function(a){if(null!=a)return r(a),{experimentId:n(ft(a,1)),state:n(Er(a,2)),userGroup:n(Er(a,3)),title:n(Z(a,4)),description:n(Z(a,5)),learnMoreLink:n(Z(a,6))}};var F5=function(a){this.internalArray_=m(a,0,F5.messageId)};T(F5,p);F5.repeatedFields_=[1];F5.prototype.toObject=function(){if(null!=this){r(this);var a={featuresList:Ub(kj(this,Q6c,1),R6c)}}else a=void 0;return a};F5.messageId="b.ListBeapFeaturesResponse";var G5=function(a){this.executor=a};G5.prototype.fetch=function(){return this.executor.get({url:"action/experiments",responseConstructor:F5}).pipe(C(function(a){var b;return(null!=(b=kj(a,Q6c,1))?b:[]).map(Kob)}))};G5.\u0275fac=function(a){return new (a||G5)(t(hE))};G5.\u0275prov=yc({token:G5,factory:G5.\u0275fac,providedIn:"root"});var H5=function(a){mG.call(this,{freshUntil:Infinity,ancientAfter:Infinity});this.beapApi=a;this.recordType="beapFeature";this.idForRecord=function(b){return""+b.experimentId}};T(H5,mG);H5.prototype.fetchAll=function(){return this.beapApi.fetch().pipe(C(function(a){return{results:a}}))};H5.\u0275fac=function(a){return new (a||H5)(t(G5))};H5.\u0275prov=yc({token:H5,factory:H5.\u0275fac,providedIn:"root"});var I5=function(a){this.beapFridge=a};I5.prototype.getFeature=function(a){return S6c(this,"ALL").pipe(C(function(b){return b.find(function(c){return c.experimentId===a})}))};var S6c=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(C(function(e){return e.results.filter(function(g){return c?!0:g.userGroup===d})}))};I5.prototype.refresh=function(){this.beapFridge.pokeMany({})};
I5.\u0275fac=function(a){return new (a||I5)(t(H5))};I5.\u0275prov=yc({token:I5,factory:I5.\u0275fac,providedIn:"root"});var J5=function(){};J5.\u0275fac=function(a){return new (a||J5)};
J5.\u0275cmp=Oc({type:J5,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&&(J(0,0),O(1,Lob,1,0,"div",1),O(2,Mob,1,0,"div",2),K());a&2&&(E("ngSwitch",b.featureStage),z(1),E("ngSwitchCase","TEAM_FOOD"),z(1),E("ngSwitchCase","EARLY_ACCESS"))},dependencies:[Sw,Tw],styles:[".badged[_ngcontent-%COMP%]::after{margin-left:0}"]});var K5=function(a){var b=this;this.beapService=a;this.experimentId$=new D.ReplaySubject(1);this.featureState$=this.experimentId$.pipe($e(function(c){return b.beapService.getFeature(c)}));this.featureStage$=this.featureState$.pipe(C(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"}))};K5.prototype.ngOnChanges=function(){this.experimentId$.next(this.experimentId)};K5.prototype.ngOnInit=function(){};
K5.\u0275fac=function(a){return new (a||K5)(B(I5))};K5.\u0275cmp=Oc({type:K5,selectors:[["b-app-beap-state-indicator"]],inputs:{experimentId:"experimentId"},features:[gd],decls:2,vars:3,consts:[[3,"featureStage"]],template:function(a,b){a&1&&(I(0,"b-feature-stage-label",0),R(1,"async"));if(a&2){var c;E("featureStage",null!==(c=S(1,1,b.featureStage$))&&void 0!==c?c:void 0)}},dependencies:[J5,Xw],encapsulation:2});var L5=function(){};L5.\u0275fac=function(a){return new (a||L5)};L5.\u0275mod=Qc({type:L5});L5.\u0275inj=zc({imports:[OG]});var M5=function(){};M5.\u0275fac=function(a){return new (a||M5)};M5.\u0275mod=Qc({type:M5});M5.\u0275inj=zc({imports:[OG,L5]});var N5=function(a){this.domSafe=a;this.buttonLabel="";this.alertMode=this.menuMode=!1},Nob=function(a){Zn(a.domSafe,"https://g3doc.corp.google.com/company/teams/buganizer/release-notes/b3-releasenotes.md")};N5.\u0275fac=function(a){return new (a||N5)(B(vL))};
N5.\u0275cmp=Oc({type:N5,selectors:[["b-whats-new-button"]],inputs:{buttonLabel:"buttonLabel",menuMode:"menuMode",alertMode:"alertMode"},decls:2,vars:2,consts:[["mat-icon-button","","class","gmat-button","aria-label","Open release notes in a new tab",3,"matTooltip","click",4,"ngIf"],["mat-menu-item","","aria-label","Open release notes in a new tab",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Open release notes in a new tab",1,"gmat-button",3,"matTooltip","click"],[3,"svgIcon"],["mat-menu-item",
"","aria-label","Open release notes in a new tab",3,"click"]],template:function(a,b){a&1&&(O(0,Oob,3,3,"button",0),O(1,Pob,2,1,"button",1));a&2&&(E("ngIf",!b.menuMode),z(1),E("ngIf",b.menuMode))},dependencies:[Rw,HB,QA,bD,lD],styles:["[_nghost-%COMP%] { display: flex; }"]});var O5=function(a,b,c){rF.call(this);this.session=a;this.appsEvents=b;this.prefsManager=c;this.density="COMFORTABLE";this.enableWhatsNewDialog=pF(a,"enableWhatsNewDialog");this.enableBeap=pF(a,"enableBeap")};T(O5,rF);O5.\u0275dir=rF.\u0275dir;f=O5.prototype;f.ngOnInit=function(){var a=this;this.prefsManager.preferences$.pipe(af(this.destroyed$)).subscribe(function(b){if(null==b?0:b.themePreferences)a.density=b.themePreferences.density})};f.setDensity=function(a){this.appsEvents.topBarEvents.setDensity.next(a)};
f.browseComponents=function(a){this.appsEvents.topBarEvents.browseComponents.next({newTab:a.ctrlKey||a.metaKey})};f.manageHotlists=function(a){this.appsEvents.topBarEvents.manageHotlists.next({newTab:a.ctrlKey||a.metaKey})};f.manageSlos=function(a){this.appsEvents.topBarEvents.manageSlos.next({newTab:a.ctrlKey||a.metaKey})};f.showSettings=function(a){this.appsEvents.topBarEvents.openSettings.next({newTab:a.ctrlKey||a.metaKey})};O5.\u0275fac=function(a){return new (a||O5)(B(Bs),B(eH),B(VJ))};
O5.\u0275cmp=Oc({type:O5,selectors:[["b-app-settings-menu"]],features:[kf],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&&(F(0,"button",0),I(1,"mat-icon",1),H(),F(2,"mat-menu",null,2)(4,"div",3),P(5,"Display Density"),H(),F(6,"button",4),L("click",function(){return b.setDensity("COMFORTABLE")}),F(7,"span",5),I(8,"mat-icon",6),H(),P(9," Comfortable "),H(),F(10,"button",7),L("click",function(){return b.setDensity("COZY")}),F(11,"span",5),I(12,"mat-icon",6),H(),P(13," Cozy "),H(),F(14,"button",8),L("click",function(){return b.setDensity("COMPACT")}),F(15,"span",5),I(16,"mat-icon",6),H(),P(17," Compact "),H(),I(18,"mat-divider"),
F(19,"button",9),L("click",function(d){return b.browseComponents(d)}),P(20,"Browse components"),H(),F(21,"button",9),L("click",function(d){return b.manageHotlists(d)}),P(22,"Manage hotlists"),H(),O(23,Qob,2,0,"button",10),F(24,"button",9),L("click",function(d){return b.showSettings(d)}),P(25,"Settings"),H(),O(26,Rob,3,0,"a",11),O(27,Sob,3,1,"ng-container",12),H());if(a&2){var c=Kf(3);E("disabled",b.session.isAnonymous())("matMenuTriggerFor",c);z(6);xf("b-menu-item-checked","COMFORTABLE"===b.density);
of("aria-checked","COMFORTABLE"===b.density);z(4);xf("b-menu-item-checked","COZY"===b.density);of("aria-checked","COZY"===b.density);z(4);xf("b-menu-item-checked","COMPACT"===b.density);of("aria-checked","COMPACT"===b.density);z(12);E("ngIf",b.enableBeap);z(1);E("ngIf",b.enableWhatsNewDialog)}},dependencies:[Rw,HB,dD,bD,cD,QA,XM,lD,N5,cR,J5],encapsulation:2,changeDetection:0});var P5=function(a){this.theme=a;this.isDark=!1;this.iconName="brightness-4"};P5.prototype.ngOnInit=function(){this.theme.loadLocalDarkmode();T6c(this)};var T6c=function(a){a.isDark=a.theme.clientDarkmodeSubject.getValue();a.iconName=a.isDark?"brightness-high":"brightness-4"};P5.\u0275fac=function(a){return new (a||P5)(B(XQ))};
P5.\u0275cmp=Oc({type:P5,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&&(F(0,"button",0),L("click",function(){var c=b.theme;c.setLocalDarkmode(!c.clientDarkmodeSubject.getValue());c.clientStreamzService&&c.clientStreamzService.logUsageMetric("toggleDarkmode",!c.clientDarkmodeSubject.getValue());nrc(c,!c.clientDarkmodeSubject.getValue());
T6c(b)}),I(1,"mat-icon",1),H());a&2&&(z(1),E("svgIcon",b.iconName))},dependencies:[HB,QA,lD],encapsulation:2});var U6c=function(a,b,c,d){this.session=a;this.userFeedback=b;this.domSafe=c;this.docLinks=d;this.enableWhatsNewDialog=pF(a,"enableWhatsNewDialog");this.majorReleaseNotesUpdated=pF(a,"majorReleaseNotesUpdated")};U6c.\u0275fac=function(a){return new (a||U6c)(B(Bs),B(YQ),B(vL),B(OJ))};
U6c.\u0275cmp=Oc({type:U6c,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"),O(1,Tob,1,1,"b-whats-new-button",0),O(2,Uob,2,0,"button",1),F(3,"button",2),L("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),H(),I(5,"b-app-settings-menu"));a&2&&(z(1),E("ngIf",b.enableWhatsNewDialog))},
dependencies:[Rw,HB,QA,lD,N5,cR,P5,O5],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 V6c=function(a,b){this.currentTracker=a;this.appSearchState=b;this.isTrackerExpanded=!1};V6c.\u0275fac=function(a){return new (a||V6c)(B(PL),B(RX))};
V6c.\u0275cmp=Oc({type:V6c,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&&(F(0,"button",0),L("menuOpened",function(){return b.isTrackerExpanded=!0})("menuClosed",function(){return b.isTrackerExpanded=!1}),I(1,"mat-icon",1),H(),F(2,"mat-menu",2,3)(4,"span",4),P(5,"Select a tracker"),H(),O(6,Vob,4,4,"button",5),H());if(a&2){var c=Kf(3);E("matMenuTriggerFor",c);of("aria-label",b.isTrackerExpanded?"Expanded tracker menu":"Collapsed tracker menu");z(6);E("ngForOf",
b.associatedTrackers)}},dependencies:[Qw,HB,QA,dD,bD,cD,lD],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 Xob=function(a){return[a]},Yob=function(){return[]},Q5=function(a){this.activeSession=a;this.clickMenu=new kw;this.showMenu=!1;this.clickLogo=new kw;this.chips=[]};Q5.prototype.ngOnInit=function(){this.showMenu=!this.activeSession.isAnonymous()&&this.clickMenu.observed};Q5.\u0275fac=function(a){return new (a||Q5)(B(Bs))};
Q5.\u0275cmp=Oc({type:Q5,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&&(Ff(),O(0,Wob,2,0,"button",0),F(1,"a",1),L("click",function(){return b.clickLogo.emit()}),I(2,"img",2)(3,"img",3),F(4,"h1"),P(5),H()(),Gf(6),O(7,Zob,2,5,"output",4));a&2&&(E("ngIf",b.showMenu),z(1),of("href",b.href?b.href:void 0,Ud),z(1),E("src",b.imgSrc,Ud),z(1),E("src",b.imgSrcDark||b.imgSrc,Ud),z(2),Mf(b.name),z(2),E("ngForOf",b.chips))},dependencies:[Pw,Qw,Rw,HB,QA],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 W6c=function(){return[]},R5=function(a){this.events=a;this.environmentType="QA";this.frontendAccessMode="INTERNAL";this.href="/";this.chips=[];this.name="Buganizer"};R5.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"})};
R5.prototype.ngOnChanges=function(a){if(a.tracker||a.frontendAccessMode)this.name=this.getAppName()};R5.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:Ch(this.frontendAccessMode,"unknown frontend access mode.")}};
sh.Object.defineProperties(R5.prototype,{useNewLogo:{configurable:!0,enumerable:!0,get:function(){return"INTERNAL"===this.frontendAccessMode}},imgSrc:{configurable:!0,enumerable:!0,get:function(){var a=this.useNewLogo?"https://www.gstatic.com/buganizer/img/v3/logo_light.svg":"https://www.gstatic.com/buganizer/img/v0/logo.svg",b,c;return(null==(b=this.tracker)?void 0:null==(c=b.branding)?void 0:c.logoUrl)||a}},imgSrcDark:{configurable:!0,enumerable:!0,get:function(){var a,b;return(null==(a=this.tracker)?
void 0:null==(b=a.branding)?void 0:b.logoUrl)||"https://www.gstatic.com/buganizer/img/v3/logo_dark.svg"}}});R5.\u0275fac=function(a){return new (a||R5)(B(eH))};
R5.\u0275cmp=Oc({type:R5,selectors:[["b-app-logo"]],inputs:{environmentType:"environmentType",frontendAccessMode:"frontendAccessMode",tracker:"tracker",associatedTrackers:"associatedTrackers",href:"href"},features:[gd],decls:2,vars:7,consts:[[3,"name","href","chips","imgSrc","imgSrcDark","clickMenu"],[3,"associatedTrackers",4,"ngIf"],[3,"associatedTrackers"]],template:function(a,b){a&1&&(F(0,"app-logo",0),L("clickMenu",function(){return b.events.onClickAppMenuIcon.next()}),O(1,$ob,1,1,"tracker-switcher",
1),H());if(a&2){var c;E("name",b.name)("href",b.href)("chips",b.chips)("imgSrc",b.imgSrc)("imgSrcDark",b.imgSrcDark);z(1);E("ngIf",0<(null!==(c=b.associatedTrackers)&&void 0!==c?c:Qf(6,W6c)).length)}},dependencies:[Rw,Q5,V6c],encapsulation:2,changeDetection:0});var S5=function(){this.isActive=!1;this.optionClicked=new kw};S5.prototype.ngOnInit=function(){};S5.prototype.onClick=function(){this.optionClicked.emit(this.index)};S5.\u0275fac=function(a){return new (a||S5)};
S5.\u0275cmp=Oc({type:S5,selectors:[["b-app-search-auto-complete-option"]],hostVars:2,hostBindings:function(a,b){a&1&&L("click",function(){return b.onClick()});a&2&&xf("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&&(Ff(),F(0,"div",0),Gf(1),H())},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 T5=function(a,b,c){this.ref=a;this.hostElement=b;this.currentTracker=c;this.items=[];this.header=null;this.itemSelected=new kw;this.activeItemChanged=new kw;this.SPECIAL_ITEM_TYPES="issue hotlist savedsearch atom component team tracker".split(" ")};T5.prototype.ngOnChanges=function(a){a.items&&(0<this.items.length?(this.activeItemIndex=0,this.activeItemChanged.emit(this.items[0])):this.clearActiveItem(),this.ref.markForCheck())};T5.prototype.ngAfterViewInit=function(){};
var Apb=function(a){var b=N(3);Ipb(a);b.itemSelected.emit(a)};T5.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(),X6c(this))};
T5.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(),X6c(this))};var Y6c=function(a){null!=a.activeItemIndex&&a.itemSelected.emit(a.items[a.activeItemIndex])};T5.prototype.clearActiveItem=function(){this.activeItemIndex=void 0;this.activeItemChanged.emit(void 0)};
var Z6c=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}},X6c=function(a){var b=a.itemElements.find(function(c,d){return d===a.activeItemIndex});b&&bAc(b.nativeElement,a.hostElement.nativeElement)},Ipb=function(a){Ym(ao.SEARCH,"autocomplete-select",a.completionCfg.type||"unknown_type",isNaN(Number(a.id))?1:Number(a.id))};T5.\u0275fac=function(a){return new (a||T5)(B(AI,2),B(Dd),B(PL))};
T5.\u0275cmp=Oc({type:T5,selectors:[["b-app-search-auto-complete-list"]],viewQuery:function(a,b){a&1&&bg(S5,5,Dd);if(a&2){var c;ag(c=dg())&&(b.itemElements=c)}},inputs:{items:"items",header:"header"},outputs:{itemSelected:"itemSelected",activeItemChanged:"activeItemChanged"},features:[Of([AI]),gd],decls:3,vars:2,consts:[["class","header gmat-caption",4,"ngIf"],"role;listbox;aria-label;Search autocomplete list;id;b-search-box-autocomplete".split(";"),["role","option",3,"index","isActive","optionClicked",
4,"ngFor","ngForOf"],[1,"header","gmat-caption"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["noHotlistSelected",""],["noSavedSearchSelected",""],["noComponentSelected",""],[1,"margin-s-right"],[3,"accessLevel"],[3,"trackerId"],["noTrackerSelected",""],["noTeamSelected",""],["noSelectedCustomField",""],["role","option",3,"index","isActive","optionClicked"],[1,"monospaced","item-description"],[1,"item-description"],[4,"ngFor","ngForOf"],["role","button",3,"title","click"]],template:function(a,b){a&1&&(O(0,upb,
7,6,"div",0),F(1,"div",1),O(2,Jpb,9,11,"b-app-search-auto-complete-option",2),H());a&2&&(E("ngIf",b.header&&b.header.type),z(2),E("ngForOf",b.items))},dependencies:[Qw,Rw,MP,SL,S5,Yw],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;max-height:inherit;overflow-y:auto}.header[_ngcontent-%COMP%]{padding:4px 16px 4px 36px}.item-description[_ngcontent-%COMP%]{display:block;margin-top:5px}span[role=button][_ngcontent-%COMP%]{cursor:pointer}span[role=button][_ngcontent-%COMP%]:hover{text-decoration:underline}/*# sourceMappingURL=app_search_auto_complete_list.css.map */"],
changeDetection:0});var $6c=["box"],a7c=["initialFocus"],b7c=["finalFocus"],U5=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 kw;this.onAdvancedSearchClose=new kw;this.onAdvancedSearchSubmit=new kw;this.onSaveSearch=new kw;this.dropdownStatus="closed";this.searchName="";this.searchHelpLink=this.documentationLinks.baseDocumentationUrl+"/guides/search-editor";
this.destroyed$=new D.Subject;this.currentQuery$=this.appSearchState.queryState$.pipe(C(function(d){return d.query}));this.autoCompleteItemSelected$=new D.Subject;this.isAnonymous=this.activeSession.isAnonymous()};
U5.prototype.ngOnInit=function(){var a=this;this.autoCompleteItemSelected$.pipe(cf(this.currentQuery$),af(this.destroyed$)).subscribe(function(b){b=k(b);var c=b.next().value;b=b.next().value;c=c.completionCfg;var d=b.slice(0,c.startIdx);b=b.slice(c.endIdx);a.appSearchState.queryState$.next({query:d+c.completionValue+b,cursorPosition:null!=c.cursorIdx?c.cursorIdx:null==c.startIdx?c.completionValue.length:c.startIdx+c.completionValue.length,setViaInteraction:!1});a.inputBox.nativeElement.focus()})};
U5.prototype.ngAfterViewInit=function(){var a=this;this.appSearchState.queryState$.pipe(Ge(function(b){return!b.setViaInteraction}),af(this.destroyed$)).subscribe(function(b){var c=b.cursorPosition;a.inputBox.nativeElement.value=b.query;null!=c&&(b=a.inputBox.nativeElement,yzc(b)&&(b.selectionStart=c,b.selectionEnd=c))})};U5.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var c7c=function(a){a.appSearchState.searchTriggered$.next("keyboard")},d7c=function(a,b){a.dropdownStatus="auto_complete";a.acList.clearActiveItem();a.appSearchState.queryState$.next({query:b,cursorPosition:a.getCursorPosition(),setViaInteraction:!0})};
U5.prototype.handleKeydown=function(a){switch(a.key){case "Escape":if(!V5(this))return;e7c(this);break;case "ArrowUp":if(!V5(this))return;this.acList.setPreviousItemActive();break;case "ArrowDown":if(!V5(this))return;this.acList.setNextItemActive();break;case "Tab":case "ArrowRight":if(!V5(this)){d7c(this,this.inputBox.nativeElement.value);return}Y6c(this.acList);break;case "ArrowLeft":d7c(this,this.inputBox.nativeElement.value);return;case "Enter":V5(this)?null!=this.acList.activeItemIndex?Y6c(this.acList):
c7c(this):c7c(this);break;default:return}a.preventDefault();a.stopPropagation()};U5.prototype.submitAdvancedSearch=function(){this.onAdvancedSearchSubmit.emit();f7c(this)};U5.prototype.getCursorPosition=function(){var a=zzc(this.inputBox.nativeElement,!0)[0];if(a===zzc(this.inputBox.nativeElement,!1)[1])return a};
var e7c=function(a){"auto_complete"===a.dropdownStatus&&(a.dropdownStatus="closed")},f7c=function(a){"advanced_search"===a.dropdownStatus&&(a.dropdownStatus="closed",a.onAdvancedSearchClose.emit())},V5=function(a){return"auto_complete"===a.dropdownStatus&&0<a.autoCompleteItems.length},g7c=function(a){return"auto_complete"===a.dropdownStatus&&null!=a.autoCompleteHeader},h7c=function(a){return"advanced_search"===a.dropdownStatus};
U5.prototype.saveSearch=function(){this.searchName&&(this.onSaveSearch.emit(this.searchName),this.searchName="",f7c(this))};var i7c=function(a,b){b.shiftKey&&"Tab"===b.key&&a.advancedSearchFinalFocus&&setTimeout(function(){return a.advancedSearchFinalFocus.nativeElement.focus()})},Kpb=function(a){a.advancedSearchInitialFocus&&setTimeout(function(){return a.advancedSearchInitialFocus.nativeElement.focus()})};U5.\u0275fac=function(a){return new (a||U5)(B(OJ),B(RX),B(Bs))};
U5.\u0275cmp=Oc({type:U5,selectors:[["b-app-search-box"]],viewQuery:function(a,b){a&1&&(bg(T5,7),bg($6c,5),bg(a7c,7,Dd),bg(b7c,7));if(a&2){var c;ag(c=dg())&&(b.acList=c.first);ag(c=dg())&&(b.inputBox=c.first);ag(c=dg())&&(b.advancedSearchInitialFocus=c.first);ag(c=dg())&&(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();Ff();F(0,"div",0);L("clickOutside",function(){e7c(b)});F(1,"div",1)(2,"button",2);L("click",function(){return c7c(b)});I(3,"mat-icon",3);H();
F(4,"textarea",4,5);L("keydown",function(d){return b.handleKeydown(d)})("input",function(){w(c);var d=Kf(5);return y(d7c(b,d.value))})("click",function(){w(c);var d=Kf(5);return y(d7c(b,d.value))})("focus",function(){b.dropdownStatus="auto_complete"});H();F(6,"button",6);L("click",function(){b.dropdownStatus="advanced_search";b.onAdvancedSearchOpen.emit()});I(7,"mat-icon",7);H()();F(8,"aside",8)(9,"b-app-search-auto-complete-list",9);L("itemSelected",function(d){return b.autoCompleteItemSelected$.next(d)});
H();F(10,"div",10)(11,"div",11)(12,"button",12,13);L("keydown",function(d){return i7c(b,d)})("click",function(){return f7c(b)});I(14,"mat-icon",14);H()();F(15,"div",15);Gf(16);H();F(17,"div",16)(18,"button",17);L("click",function(){return b.submitAdvancedSearch()});P(19," Search ");H();F(20,"a",18);P(21,"Search help ");I(22,"mat-icon",19);H();O(23,Lpb,5,2,"div",20);H()()()()}a&2&&(xf("dropdown-opened",V5(b)||g7c(b)||h7c(b)),z(1),xf("hidden",h7c(b)),z(3),E("placeholder",b.placeholder),of("aria-activedescendant",
Z6c(b.acList))("aria-expanded",V5(b)||g7c(b)),z(4),xf("advanced-search-open",h7c(b)),z(1),xf("hidden",!(V5(b)||g7c(b))),E("items",b.autoCompleteItems)("header",b.autoCompleteHeader),z(1),xf("hidden",!h7c(b)),z(2),E("disabled",b.isSearchDisabled),z(6),E("disabled",b.isSearchDisabled),z(2),of("href",b.searchHelpLink,Ud),z(3),E("ngIf",!b.isAnonymous))},dependencies:[Rw,HB,Nz,QA,lD,wg,tx,Ax,SO,lB,T5],styles:['[_nghost-%COMP%]{display:flex;align-items:center;flex-grow:1;position:relative;min-width:320px;height:40px}.search-form-container[_ngcontent-%COMP%]{position:absolute;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:#f1f3f4;background-color:var(--main-search-bg);border-radius:8px;max-width:800px;min-width:320px;overflow:hidden;top:0;transition:all .1s ease-in-out;transition-property:box-shadow,height,max-height,overflow;width:100%}@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 j7c=function(a){this.currentTracker=a;this.logoEnvironmentType="QA";this.logoFrontendAccessMode="INTERNAL";this.isSearchDisabled=!1;this.searchBoxPlaceholder="";this.searchBoxAutoCompleteItems=[];this.searchBoxAutoCompleteHeader=null;this.searchBoxOnAdvancedSearchOpen=new kw;this.searchBoxOnAdvancedSearchClose=new kw;this.searchBoxOnAdvancedSearchSubmit=new kw;this.searchBoxOnSaveSearch=new kw},k7c=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()})};j7c.\u0275fac=function(a){return new (a||j7c)(B(PL))};
j7c.\u0275cmp=Oc({type:j7c,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&&(Ff(),I(0,"b-app-logo",0),R(1,"async"),R(2,"async"),F(3,"div",1)(4,"button",2),L("click",function(){return k7c()})("keydown.enter",function(){return k7c()}),P(5," Skip Navigation "),H()(),F(6,"b-app-search-box",3),L("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)}),
Gf(7),H(),I(8,"b-app-actions"));a&2&&(E("environmentType",b.logoEnvironmentType)("frontendAccessMode",b.logoFrontendAccessMode)("tracker",S(1,8,b.currentTracker.tracker$))("associatedTrackers",S(2,10,b.currentTracker.associatedTrackers$)),z(6),E("placeholder",b.searchBoxPlaceholder)("autoCompleteItems",b.searchBoxAutoCompleteItems)("autoCompleteHeader",b.searchBoxAutoCompleteHeader)("isSearchDisabled",b.isSearchDisabled))},dependencies:[QA,R5,U6c,U5,Xw],styles:["[_nghost-%COMP%]{display:flex;align-items:center}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 W5=function(){};W5.\u0275fac=function(a){return new (a||W5)};W5.\u0275mod=Qc({type:W5});W5.\u0275inj=zc({imports:[OG,jB,ED,BO]});var X5=function(){};X5.\u0275fac=function(a){return new (a||X5)};X5.\u0275mod=Qc({type:X5});X5.\u0275inj=zc({imports:[OG,ED,eD,fE]});var Y5=function(){};Y5.\u0275fac=function(a){return new (a||Y5)};Y5.\u0275mod=Qc({type:Y5});Y5.\u0275inj=zc({imports:[OG,ED,eD,fE]});var Z5=function(){};Z5.\u0275fac=function(a){return new (a||Z5)};Z5.\u0275mod=Qc({type:Z5});Z5.\u0275inj=zc({imports:[OG,ED,fE]});var $5=function(){};$5.\u0275fac=function(a){return new (a||$5)};$5.\u0275mod=Qc({type:$5});$5.\u0275inj=zc({providers:[XQ]});var a6=function(){};a6.\u0275fac=function(a){return new (a||a6)};a6.\u0275mod=Qc({type:a6});a6.\u0275inj=zc({imports:[OG,ED,fE,$5]});var b6=function(){};b6.\u0275fac=function(a){return new (a||b6)};b6.\u0275mod=Qc({type:b6});b6.\u0275inj=zc({imports:[OG,eD,ED,kU,fE,Uz,Px,TO,Y5,rY,Z5,RP,nB,L5,a6,W5,X5,vO]});var c6=function(){};c6.\u0275fac=function(a){return new (a||c6)};c6.\u0275mod=Qc({type:c6});c6.\u0275inj=zc({imports:[OG,ED,jB]});var d6=function(){};d6.\u0275fac=function(a){return new (a||d6)};d6.\u0275mod=Qc({type:d6});d6.\u0275inj=zc({imports:[OG,Px,ED,yB,vB,jB,RW]});var e6=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 kw;this.selectedChange=new kw;this.cardTitleChange=new kw;this.onSaveButtonClicked=new kw;this.onCancelButtonClicked=
new kw;this.isInheritedChange=new kw;this.isExpanded=!1};e6.prototype.expand=function(){this.isExpanded=!0};e6.prototype.collapse=function(){this.isExpanded=!1};e6.prototype.onSave=function(){this.collapse();this.onSaveButtonClicked.emit()};e6.prototype.onCancel=function(){this.collapse();this.onCancelButtonClicked.emit()};e6.\u0275fac=function(a){return new (a||e6)};
e6.\u0275cmp=Oc({type:e6,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&&(Ff(),F(0,"div",0)(1,"div",1)(2,"mat-checkbox",2),L("change",function(d){b.selected=d.checked;b.expand();b.selectedChange.emit(b.selected)}),H(),O(3,Mpb,3,3,"ng-container",3),F(4,"button",4),L("click",function(){b.isExpanded?b.collapse():b.expand()}),O(5,Npb,1,0,"mat-icon",5),O(6,Opb,1,0,"mat-icon",6),H(),O(7,Tpb,3,7,"ng-template",null,
7,gg),H(),O(9,Upb,2,0,"div",8),O(10,Zpb,9,6,"div",9),H());if(a&2){var c=Kf(8);of("aria-expanded",b.isExpanded);z(2);xf("expanded-checkbox",b.isExpanded);E("disabled",b.disabled)("checked",b.selected)("aria-label",b.cardTitle);z(1);E("ngIf",!b.isExpanded)("ngIfElse",c);z(1);E("ngClass",b.isExpanded?"collapse-toggle":"expand-toggle");of("aria-label",b.isExpanded?"Collapse editor":"Expand editor");z(1);E("ngIf",b.isExpanded);z(1);E("ngIf",!b.isExpanded);z(3);E("ngIf",b.isExpanded);z(1);E("ngIf",b.isExpanded)}},
dependencies:[Pw,Qw,Rw,HB,wg,tx,Lx,Mx,Ax,$O,QA,cU,uB,sB,HP,GP,SA,XM,xB,lD],styles:['.card-title[_ngcontent-%COMP%]{margin-left:10px;width:440px}.expand-toggle[_ngcontent-%COMP%]{margin-left:auto}.collapse-toggle[_ngcontent-%COMP%]{align-self:baseline}.expanded-card-container[_ngcontent-%COMP%]{padding:18px}.expanded-card-actions[_ngcontent-%COMP%]{display:flex;align-items:center;border-top:1px solid;border-top-color:#9aa0a6;border-top-color:var(--c500);padding-top:16px}.expanded-card-actions[_ngcontent-%COMP%]   .cancel-button[_ngcontent-%COMP%]{width:80px;margin-left:16px}.expanded-card-actions[_ngcontent-%COMP%]   .delete-button[_ngcontent-%COMP%]{margin-left:auto;margin-right:16px}.expanded-card-actions[_ngcontent-%COMP%]   mat-slide-toggle[_ngcontent-%COMP%]{margin-left:16px}.expanded-card-actions[_ngcontent-%COMP%]   mat-divider[_ngcontent-%COMP%]{height:40px}.expanded-card-actions[_ngcontent-%COMP%]   .inherited-toggle[_ngcontent-%COMP%]{margin-left:auto}[_nghost-%COMP%]     .mat-select-value, .ee-config-option[_ngcontent-%COMP%]{font-family:"Google Sans Display",Roboto,Arial,sans-serif;font-weight:500;color:#5f6368;color:var(--text-muted)}.type-dropdown[_ngcontent-%COMP%]{margin-left:auto;margin-right:8px}mat-select-trigger[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}mat-select-trigger[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{vertical-align:middle}.expanded-checkbox[_ngcontent-%COMP%]     .mat-checkbox-inner-container{margin-top:-10px}mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}']});var f6=function(){};f6.\u0275fac=function(a){return new (a||f6)};f6.\u0275mod=Qc({type:f6});f6.\u0275inj=zc({imports:[OG,Px,EP,ED,KU,IP,kU,yB,fE]});var g6=function(a){this.internalArray_=m(a,0,g6.messageId)};T(g6,p);g6.prototype.getFieldIdList=function(){return kj(this,Li,1)};g6.prototype.setFieldIdList=function(a){return nj(this,1,a)};g6.prototype.setFieldId=function(a){$s(this,1,Li,a)};g6.repeatedFields_=[1];g6.prototype.toObject=function(){if(null!=this){r(this);var a={fieldIdList:Ub(this.getFieldIdList(),R6b)}}else a=void 0;return a};g6.messageId="b.ReorderFieldsRequest";var h6=function(a){this.internalArray_=m(a,0,h6.messageId)};T(h6,p);h6.prototype.getFieldIdList=function(){return kj(this,Li,1)};h6.prototype.setFieldIdList=function(a){return nj(this,1,a)};h6.prototype.setFieldId=function(a){$s(this,1,Li,a)};h6.repeatedFields_=[1];h6.prototype.toObject=function(){if(null!=this){r(this);var a={fieldIdList:Ub(this.getFieldIdList(),R6b)}}else a=void 0;return a};h6.messageId="b.ReorderFieldsResponse";var i6=function(a){this.executor=a};i6.prototype.updateCustomFieldState=function(a,b,c){var d=new Li;d.setCustomFieldId(b);var e=new qE;e.setFieldId(d);e.setStateOnIssues(c);return this.executor.post({url:"action/components/"+a+"/field_configs/custom_field_id/"+b,body:e,responseConstructor:qE})};i6.prototype.reorder=function(a,b){b=(new g6).setFieldIdList(b);return this.executor.post({url:"action/components/"+a+"/reorder",body:b,responseConstructor:h6})};i6.\u0275fac=function(a){return new (a||i6)(t(hE))};
i6.\u0275prov=yc({token:i6,factory:i6.\u0275fac,providedIn:"root"});var l7c=["SILENT","MINOR","MAJOR"];var m7c=["fieldStateMenu"],cqb=function(a){return{type:a}},j6=function(a,b,c,d,e,g,h,l,q,v,x){rF.call(this);var A=this;this.customFieldsApi=a;this.checkBeforeExit=b;this.butterBar=c;this.analytics=d;this.routeParams=e;this.componentActions=g;this.fieldConfigService=h;this.documentationLinks=l;this.paths=q;this.confirmationDialog=v;this.appEvents=x;this.FieldType=NJc;this.ListFieldType=WJc;this.getSingleEditFieldType=L4a;this.getListFieldType=E5a;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=l7c;Object.keys(vqa).slice(0).filter(function(G){return"UNSPECIFIED"!==G});this.componentId=bi(this.routeParams.componentId);this.subscriptions.add(yQ(b,function(){return A.hasUnsavedChanges()},!0))};T(j6,rF);j6.\u0275dir=rF.\u0275dir;
j6.prototype.ngOnInit=function(){this.loadCustomFields()};j6.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};
j6.prototype.editField=function(a){window.scrollTo({top:0,behavior:"smooth"});if(!this.hasUnsavedChanges()||rpc())this.editableField=Yh(this.customFields[a]),this.originalEditableFieldValue=Yh(this.editableField),this.serverError=null,this.setType(this.editableField.type),gqb(this,this.editableField.allowedValue)};
var sqb=function(a,b){var c=a.customFields[b];a.confirmationDialog.open({title:"Deleting field: "+c.name,content:yn("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)}})};
j6.prototype.doDelete=function(a){var b=this;YG(this.butterBar,"Deleting field: "+a.name,2E3);this.customFieldsApi.delete(this.componentId,a.customFieldId).then(function(){b.appEvents.componentModified.next(b.componentId);b.analytics.trackEvent("customField","delete");YG(b.butterBar,"Deleted field: "+a.name,2E3);b.loadCustomFields()})};
j6.prototype.save=function(){var a=this;this.isLoading=!0;var b=function(){a.appEvents.componentModified.next(a.componentId);a.loadCustomFields();a.analytics.trackEvent("customField",d)},c=function(e){a.serverError=am(e);a.isLoading=!1};["REPEATED_ENUM","ENUM"].includes(this.editableField.type)?this.editableField.allowedValue=this.allowedValues.map(function(e){return e.value}):this.editableField.allowedValue=null;if(this.editableField.customFieldId){var d="update";this.customFieldsApi.update(this.componentId,
this.editableField.customFieldId,this.editableField).then(b).catch(c)}else d="create",this.editableField.componentId=this.componentId,this.customFieldsApi.create(this.componentId,this.editableField).then(b).catch(c)};
j6.prototype.updateCustomFieldState=function(a,b,c){var d=this;return new Promise(function(e,g){d.fieldConfigService.updateCustomFieldState(d.componentId,a.customFieldId,b).pipe(af(d.destroyed$)).subscribe(function(){a:{switch(b){case 1:var h="Inherit ("+(d.fieldsEnabledOnParentComponent.get(a.customFieldId)?"Enabled":"Disabled")+")";break a;case 2:h="Disabled";break a;case 3:h="Enabled";break a}h=void 0}d.analytics.trackEvent("customField","updateFieldConfig",h);d.componentActions.getUncached(d.componentId).then(function(){return d.loadCustomFields(!0)}).then(function(){setTimeout(function(){var l,
q;null==(l=d.fieldStateMenus)||null==(q=l.get(c))||q.focus()})}).then(function(){return e(void 0)})},function(h){d.serverError=am(h);d.isLoading=!1;g(h)})})};j6.prototype.cancel=function(){this.originalEditableFieldValue=this.editableField=null};
var jqb=function(a,b){var c=a.editableField.type,d="TEXT"===c&&Zh(b)?b:void 0,e="DATE"===c&&b&&Ypa(b)?b:void 0,g="ENUM"===c&&Zh(b)?b:void 0,h="NUMERIC"===c&&jqa(b)?b:void 0,l="REPEATED_TEXT"===c&&$h(b)?{values:b}:void 0,q;if(q="REPEATED_DATE"===c)q=Array.isArray(b)&&b.every(Ypa);q=q?{values:b}:void 0;var v="REPEATED_ENUM"===c&&$h(b)?{values:b}:void 0;b="REPEATED_NUMERIC"===c&&kqa(b)?{values:b}:void 0;a.editableField.typedDefaultValue=new ii({customFieldId:a.editableField.customFieldId,textValue:d,
dateValue:e,enumValue:g,numericValue:h,repeatedTextValue:l,repeatedDateValue:q,repeatedEnumValue:v,repeatedNumericValue:b})};
j6.prototype.setType=function(a,b){var c=this.editableField.type;if(void 0===b?0:b)switch(a){case "TEXT":this.editableField.type="REPEATED_TEXT";break;case "DATE":this.editableField.type="REPEATED_DATE";break;case "ENUM":this.editableField.type="REPEATED_ENUM";break;case "NUMERIC":this.editableField.type="REPEATED_NUMERIC"}else this.editableField.type=a;a!=c&&(this.editableField.typedDefaultValue=null)};
var gqb=function(a,b){b=null===b?null:b.map(function(c){return c.toString()});a.editableField.allowedValue=b;a.allowedValues=b?b.map(function(c){return{value:c,displayText:c}}):[]};j6.prototype.hasUnsavedChanges=function(){return this.editableField&&!Xh(this.editableField,this.originalEditableFieldValue)?!0:!1};
j6.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 g,h=(null==(g=c.componentPathInfo)?void 0:g.componentPathId)||[];for(g=0;g<h.length;g++)d.push(c.componentPathInfo.componentPathName[g]),b.componentIdsToNames[c.componentPathInfo.componentPathId[g]]=d.join(" > ");b.editableField=null;b.originalEditableFieldValue=
null;a||(b.isLoading=!1);c=function(l,q){return eq(l.name,q.name)};b.customFields=e.filter(function(l){return b.componentId===l.componentId}).sort(c);b.inheritedCustomFields=e.filter(function(l){return b.componentId!==l.componentId}).sort(c);b.appEvents.customFieldsModified.next(e)})};var yqb=function(a,b){return a.fieldsEnabledOnParentComponent.has(b)?a.fieldsEnabledOnParentComponent.get(b):!0};j6.prototype.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};
var kqb=function(a){var b,c;return null==(b=a.editableField)?void 0:null==(c=b.typedDefaultValue)?void 0:c.getValue()};j6.prototype.getListFieldValues=function(){var a,b,c,d;return null!=(d=null==(c=null==(a=this.editableField)?void 0:null==(b=a.typedDefaultValue)?void 0:b.getValue())?void 0:c.values)?d:null};j6.prototype.setFieldSignificance=function(a){this.editableField.fieldSignificance=a};
j6.\u0275fac=function(a){return new (a||j6)(B(hH),B(xQ),B(XG),B(EI),B(sK),B(kV),B(i6),B(OJ),B(QH),B(PJ),B(eH))};
j6.\u0275cmp=Oc({type:j6,selectors:[["b-component-custom-fields"]],viewQuery:function(a,b){a&1&&bg(m7c,5);if(a&2){var c;ag(c=dg())&&(b.fieldStateMenus=c)}},inputs:{editMode:"editMode",isSaving:"isSaving",component:"component",parentComponent:"parentComponent"},features:[kf,gd],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&&(F(0,"div",0),O(1,pqb,68,32,"div",1),O(2,qqb,2,1,"div",2),O(3,Eqb,26,7,"div",3),H());a&2&&(z(1),E("ngIf",b.editableField&&!b.isLoading),z(1),E("ngIf",b.isLoading),z(1),E("ngIf",!b.isLoading))},dependencies:[Pw,Qw,Rw,Bx,wg,tx,ux,Lx,Ax,yx,yZ,uZ,dO,i2,UK,VK,ZK,WK,UY,lD,
dD,bD,cD,aD,QA,hV,EZ,WM,KH,FK,EK,HK],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 k6=function(){};k6.\u0275fac=function(a){return new (a||k6)};k6.\u0275mod=Qc({type:k6});k6.\u0275inj=zc({imports:[OG,Px,zZ,vZ,zO,j2,gO,ZY,fE,eD,ED,IP,iV,FZ,KK,CO,OH]});var l6=function(){this.options=[];this.disabled=!1;this.removeAtIndex=new kw;this.addRow=new kw;this.optionsChange=new kw};l6.prototype.valueChange=function(a,b){this.options[b].value=Number(a.target.value);this.optionsChange.emit(this.options)};l6.prototype.drop=function(a){In(this.options,a.previousIndex,a.currentIndex);this.optionsChange.emit(this.options)};l6.\u0275fac=function(a){return new (a||l6)};
l6.\u0275cmp=Oc({type:l6,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&&(F(0,"div",0)(1,"div",1)(2,"span",2),P(3," Dropdown value "),H()(),F(4,"div",3)(5,"span",4),P(6," Average days "),H(),I(7,"mat-icon",5),H()(),F(8,"div",6),L("cdkDropListDropped",function(c){return b.drop(c)}),O(9,Gqb,12,13,"div",7),H(),O(10,Hqb,2,0,"button",8));a&2&&(z(2),xf("muted",b.disabled),z(3),xf("muted",b.disabled),z(2),E("matTooltip","All estimated effort types map to an average number of days."),z(2),E("ngForOf",b.options),z(1),E("ngIf",!b.disabled))},dependencies:[Qw,Rw,HB,uB,xB,
QA,lD,dM,bM,XL],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 m6=function(){this.disabled=!1;this.valueChange=new kw};m6.prototype.onValueChange=function(a){this.valueChange.emit(Number(a.target.value))};m6.\u0275fac=function(a){return new (a||m6)};
m6.\u0275cmp=Oc({type:m6,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&&(F(0,"div",0)(1,"div",1)(2,"span",2),P(3," Time "),H(),F(4,"span",3),P(5,"1"),H()(),F(6,"div",1)(7,"div",4)(8,"span",5),P(9," Average days "),H(),I(10,"mat-icon",6),H(),F(11,"mat-form-field",
7)(12,"input",8,9),L("change",function(d){return b.onValueChange(d)}),H()()()());if(a&2){var c=Kf(13);z(2);xf("muted",b.disabled);z(6);xf("muted",b.disabled);z(2);E("matTooltip","All estimated effort types map to an average number of days.");z(1);E("appearance",c.focused?"standard":"none");z(1);E("disabled",b.disabled)("value",b.value)}},dependencies:[HB,uB,xB,lD],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 o6=function(a){this.activeSession=a;this.disabled=!1;this.updateEffortSpec=new kw;this.configurationOptions=[n7c,o7c,n6];this.estimatedEffortFieldEnabled=this.inherit=!1;this.name="Estimated effort";this.numericSpecMultiplier=1;this.enumSpecOptions=[];this.aggregationRules=S6b;this.selectedAggregationRule=this.aggregationRules.SUM;this.enableAggregationRules=pF(this.activeSession,"enableAggregationRules")};
o6.prototype.ngOnInit=function(){(this.originalEffortSpec=this.effortSpec)&&this.effortSpec.numericSpec&&(this.originalSelectedEffortConfig=n6)};o6.prototype.ngOnChanges=function(a){a.effortSpec&&this.effortSpec&&(this.originalEffortSpec=Yh(this.effortSpec),this.setValues(this.effortSpec))};
o6.prototype.setValues=function(a){if(a.numericSpec){this.selectedEffortConfig=n6;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,g;this.enumSpecOptions=(null!=(g=null==(e=a.enumSpec)?void 0:e.options)?g:[]).map(function(l){return{label:l.label,value:l.value}})}var h;this.inherit=null!=(h=a.inherit)?h:!1;this.name=""===a.name?"Estimated effort":a.name||"";if(a.enumSpec||
a.numericSpec)this.estimatedEffortFieldEnabled=!0;void 0!==a.aggregationType&&a.aggregationType!==this.aggregationRules.AGGREGATION_TYPE_UNSPECIFIED&&(this.selectedAggregationRule=a.aggregationType)};
var p7c=function(a){var b,c,d;if((null==(b=a.effortSpec)?0:b.enumSpec)&&!a.selectedEffortConfig||(null==(c=a.selectedEffortConfig)?void 0:c.displayText)===n7c.displayText||(null==(d=a.selectedEffortConfig)?void 0:d.displayText)===o7c.displayText)return"enum";var e;return(null==(e=a.selectedEffortConfig)?void 0:e.displayText)===n6.displayText?"numeric":"empty"};o6.prototype.addRow=function(){this.enumSpecOptions.push({label:null,value:null})};
o6.prototype.isSaveButtonDisabled=function(){var a;if(!(a=this.disabled||void 0===this.selectedEffortConfig&&void 0===this.effortSpec&&this.estimatedEffortFieldEnabled&&!this.inherit||""===this.name)){a:{a=k(this.enumSpecOptions);for(var b=a.next();!b.done;b=a.next())if(b=b.value,!b.label||null===b.value){a=!1;break a}a=!0}a=!a}return a};var q7c=function(a){a.selectedEffortConfig=void 0;a.enumSpecOptions=[];a.effortSpec=void 0;a.name="Estimated effort"};o6.\u0275fac=function(a){return new (a||o6)(B(Bs))};
o6.\u0275cmp=Oc({type:o6,selectors:[["b-estimated-effort-config"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateEffortSpec:"updateEffortSpec"},features:[gd],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&&(F(0,"b-collapsible-card",0),L("cardTitleChange",function(c){return b.name=c})("dropdownSelectionChanged",function(c){b.selectedEffortConfig=
c;c.displayText===n7c.displayText?(b.enumSpecOptions=[].concat(cd(r7c)),b.name="Story points"):c.displayText===o7c.displayText?(b.enumSpecOptions=[].concat(cd(s7c)),b.name="T-shirt sizes"):c.displayText===n6.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)===n6.displayText)c.numericSpec={multiplier:b.numericSpecMultiplier};else if(0<b.enumSpecOptions.length){d=[];for(var e=k(b.enumSpecOptions),g=e.next();!g.done;g=e.next())g=g.value,g.label&&null!==g.value&&d.push({label:g.label,value:g.value});c.enumSpec={options:d}}b.updateEffortSpec.emit(c)}else b.updateEffortSpec.emit({name:"",inherit:!1})})("selectedChange",
function(c){b.estimatedEffortFieldEnabled=c;b.estimatedEffortFieldEnabled||q7c(b)})("onCancelButtonClicked",function(){b.effortSpec=b.originalEffortSpec;b.selectedEffortConfig=b.originalSelectedEffortConfig;b.effortSpec?b.setValues(b.effortSpec):(b.estimatedEffortFieldEnabled=!1,q7c(b))})("isInheritedChange",function(c){(c=c.checked)?(b.setValues(b.parentEffortSpec?b.parentEffortSpec:{name:"Estimated effort"}),b.effortSpec=b.parentEffortSpec,b.effortSpec||q7c(b)):b.effortSpec&&(b.setValues({}),q7c(b));
b.inherit=c}),F(1,"div",1),O(2,Jqb,2,1,"ng-container",2),O(3,Kqb,2,2,"ng-container",2),O(4,Lqb,1,0,"ng-container",2),H(),O(5,Mqb,23,13,"div",3),H(),O(6,Nqb,1,2,"ng-template",null,4,gg));a&2&&(E("cardTitle",b.name)("dropdownOptions",b.configurationOptions)("selectedOption",b.selectedEffortConfig)("disabled",b.disabled||b.inherit)("selected",b.estimatedEffortFieldEnabled)("isSaveButtonDisabled",b.isSaveButtonDisabled())("showInheritedToggle",!0)("isInherited",b.inherit)("inheritedDisabled",b.disabled),
z(1),E("ngSwitch",p7c(b)),z(1),E("ngSwitchCase","enum"),z(1),E("ngSwitchCase","numeric"),z(1),E("ngSwitchCase","empty"),z(1),E("ngIf",b.enableAggregationRules&&b.estimatedEffortFieldEnabled))},dependencies:function(){return[Rw,Ww,Sw,Tw,HB,uB,RA,e6,lD,HP,GP,SA,l6,m6,p6]},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 r7c=[{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}],s7c=[{label:"XS",value:1},{label:"S",value:3},{label:"M",value:5},{label:"L",value:10},{label:"XL",value:20}],n7c={displayText:"Story points",icon:"story-point-24px"},o7c={displayText:"T-shirt sizes",icon:"t-shirt-24px"},n6={displayText:"Time",icon:"time-24px"},p6=function(){};
p6.prototype.transform=function(a){switch(a){case "MAX":return"Max Point";default:return"Simple Sum"}};p6.\u0275fac=function(a){return new (a||p6)};p6.\u0275pipe=Uc({name:"aggregationRuleText",type:p6,pure:!0});var t7c=function(){this.disabled=!1;this.updateComponent=new kw};t7c.\u0275fac=function(a){return new (a||t7c)};
t7c.\u0275cmp=Oc({type:t7c,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&&(F(0,"div",0)(1,"div",1),P(2,"Once activated, standard fields appear in the right panel of all issues."),H(),F(3,"b-estimated-effort-config",
2),L("updateEffortSpec",function(c){b.updateComponent.emit(c)}),H()());a&2&&(z(3),E("effortSpec",b.effortSpec)("parentEffortSpec",b.parentEffortSpec)("disabled",b.disabled))},dependencies:[o6],styles:[".field-container[_ngcontent-%COMP%]{max-width:1100px}"]});var q6=function(){};q6.\u0275fac=function(a){return new (a||q6)};q6.\u0275mod=Qc({type:q6});q6.\u0275inj=zc({imports:[OG,yB,ED,EP,f6,fE,IP,eM]});var r6=function(){};r6.\u0275fac=function(a){return new (a||r6)};r6.\u0275mod=Qc({type:r6});r6.\u0275inj=zc({imports:[OG,f6,q6]});var s6=function(a){var b=this;this.teamsService=a;this.anchorTarget="_blank";this.useInternalLink=this.isTopLevel=this.isAdmin=!1;this.modelChange=new kw;this.inherit=!1;this.selectedTeam$=new D.Subject;this.teamIdChanged$=new D.ReplaySubject(1);this.placeholder$=this.teamIdChanged$.pipe(C(function(c){return"0"===c?!b.isAdmin||!b.isTopLevel&&b.inherit?"No team selected":"Type to search for a team (leave blank to disable)":""}),Ze(""));this.teamFromId$=this.teamIdChanged$.pipe($e(function(c){return"0"===
c?(0,D.of)(new qnb([c],[""],"")):aJ(b.teamsService,c).pipe(C(function(d){return new qnb([],d.collapsedPathNames,d.description)}))}));this.displayedTeam$=(0,D.merge)(this.teamFromId$,this.selectedTeam$);this.warningType$=this.teamIdChanged$.pipe($e(function(c){return"0"===c?(0,D.of)("MISSING"):b.teamsService.getTeam(c).pipe(C(function(d){return!d||d.deleted?"DELETED":"VALID"}))}))};
s6.prototype.updateSelectionOnChange=function(a){Ym(ao.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);u7c(this)};var u7c=function(a){a.inherit=a.model.inherit;a.teamIdChanged$.next(a.model.id)};s6.prototype.ngOnInit=function(){Object.assign({},this.model);u7c(this)};var Rqb=function(a){return a.model.id&&"0"!==a.model.id};
s6.prototype.getMomaTeamLink=function(){return Rqb(this)?"https://moma.corp.google.com/team/"+this.model.id:null};s6.\u0275fac=function(a){return new (a||s6)(B($I))};
s6.\u0275cmp=Oc({type:s6,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&&(F(0,"div"),O(1,Pqb,2,1,"ng-container",0),R(2,"async"),O(3,Qqb,3,2,"div",1),F(4,"div",2)(5,"label",3),P(6,"Team selection"),H(),F(7,"b-team-picker",4),L("onTeamSelect",
function(d){return b.updateSelectionOnChange(d)})("onEmptyQuery",function(){b.model.id="0";b.modelChange.emit(b.model);u7c(b)}),R(8,"async"),R(9,"async"),H(),O(10,Tqb,2,1,"ng-container",5),H()(),O(11,Vqb,1,1,"ng-template",null,6,gg));if(a&2){var c=Kf(12);z(1);E("ngIf",S(2,7,b.warningType$));z(2);E("ngIf",!b.isTopLevel);z(4);E("placeholder",S(8,9,b.placeholder$))("disabled",!b.isAdmin||!b.isTopLevel&&b.inherit)("teamSelected",S(9,11,b.displayedTeam$));z(3);E("ngIf",b.useInternalLink)("ngIfElse",c)}},
dependencies:[Rw,HB,$O,lD,z5,D0,RA,KH,Xw],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 t6=function(){};t6.\u0275fac=function(a){return new (a||t6)};t6.\u0275mod=Qc({type:t6});t6.\u0275inj=zc({imports:[OG,fQ,EP,fE,C5,L1,Px,ED,OH]});var u6=function(){};u6.\u0275fac=function(a){return new (a||u6)};u6.\u0275mod=Qc({type:u6});u6.\u0275inj=zc({imports:[OG,Px,ED,yB,vB,jB]});var v6=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},v7c=function(a){a.fields.sort(function(b,c){return b.name.localeCompare(c.name)});a.detectChanges()};v6.prototype.drop=function(a){In(this.fields,a.previousIndex,a.currentIndex);this.detectChanges()};
var Wqb=function(a,b){return 0<b?(In(a.fields,b,b-1),a.detectChanges(),!0):!1},Xqb=function(a,b){return b<a.fields.length-1?(In(a.fields,b,b+1),a.detectChanges(),!0):!1};v6.prototype.trackByFn=function(){return-1};v6.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.")};
v6.prototype.onKeyDown=function(a,b){switch(a.key){case " ":a.preventDefault();w7c(this,b);break;case "Tab":this.grabbed&&w7c(this,b);break;case "ArrowUp":x7c(this,a);break;case "ArrowDown":x7c(this,a)}};
var w7c=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."))},x7c=function(a,b){if(a.grabbed){var c=document.activeElement;if(c&&void 0!==a.grabbedIndex){if("ArrowUp"===b.key){if(Wqb(a,a.grabbedIndex)){var d=c.previousElementSibling;
a.grabbedIndex--}}else Xqb(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."))}}};v6.prototype.detectChanges=function(){this.hasChanges=!Xh(this.fields,this.originalFields)};v6.\u0275fac=function(a){return new (a||v6)(B(dB),B(bB),B(mz))};
v6.\u0275cmp=Oc({type:v6,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&&(F(0,"div",0)(1,"div",1)(2,"h1",2),P(3," Reorder custom fields "),H(),F(4,"button",3),L("click",function(){return v7c(b)}),I(5,"mat-icon",4),H()()(),F(6,"div",5)(7,"ol",6),L("cdkDropListDropped",function(c){return b.drop(c)}),O(8,Yqb,9,7,"li",7),H()(),F(9,"div",8)(10,"button",9),L("click",function(){return b.dialogRef.close()}),P(11," Cancel "),H(),F(12,"button",10),L("click",function(){return b.dialogRef.close(b.fields)}),P(13," Save "),H()());a&2&&(z(8),
E("ngForOf",b.fields)("ngForTrackBy",b.trackByFn),z(4),E("disabled","CUSTOMIZED"===b.fieldOrdering&&!b.hasChanges))},dependencies:[Qw,HB,QA,gB,hB,iB,dM,bM,XL,lD],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 w6=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 kw;this.displayedColumn=["index","name","type","required","customFieldId"]},lrb=function(a){return $A(a.matDialog.open(v6,{width:"500PX",autoFocus:!1,data:{fields:a.fields,orderingCustomized:a.fieldOrdering}})).subscribe(function(b){b&&y7c(a,b)})},mrb=function(a){a.confirmationDialog.open({title:"Reset ordering?",content:yn("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()}})},y7c=function(a,b){a.analytics.trackEvent(ao.FIELD_ORDERING,"reorderFields");var c=b.map(function(d){return(new Li).setCustomFieldId(d.customFieldId)});a.componentId?(YG(a.butterBar,"Saving...",0),a.fieldConfigService.reorder(a.componentId,c).subscribe(function(){YG(a.butterBar,"Field ordering saved",5E3);a.fields=b.concat();a.fieldOrdering="CUSTOMIZED"},function(){ZG(a.butterBar,"Saving ordering failed, please refresh the page.",5E3)})):ZG(a.butterBar,"Saving ordering failed due to the undefined component id.")};
w6.prototype.reset=function(){var a=this;this.analytics.trackEvent(ao.FIELD_ORDERING,"resetFields");this.componentId?(YG(this.butterBar,"Resetting orderings..."),this.fieldConfigService.executor.post({url:"action/components/"+this.componentId+"/unorder",body:null,responseConstructor:tF}).subscribe(function(){YG(a.butterBar,"Ordering reset");a.fieldOrdering="INHERITED";a.onReload.emit()},function(){ZG(a.butterBar,"Reset failed.")})):ZG(this.butterBar,"Reset failed due to the undefined component id.")};
w6.\u0275fac=function(a){return new (a||w6)(B(eB),B(PJ),B(i6),B(EI),B(XG))};
w6.\u0275cmp=Oc({type:w6,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&&(F(0,"div",0)(1,"div",1)(2,"table",2),J(3,3),O(4,Zqb,2,0,"th",4),O(5,$qb,2,1,"td",5),K(),J(6,6),O(7,arb,2,0,"th",
4),O(8,brb,2,1,"td",5),K(),J(9,7),O(10,crb,2,0,"th",4),O(11,drb,3,3,"td",5),K(),J(12,8),O(13,erb,2,0,"th",4),O(14,frb,2,1,"td",5),K(),J(15,9),O(16,grb,2,0,"th",4),O(17,hrb,2,1,"td",5),K(),O(18,irb,1,0,"tr",10),O(19,jrb,1,0,"tr",11),H(),O(20,krb,2,0,"div",12),H(),O(21,nrb,6,2,"div",13),H());a&2&&(z(2),E("dataSource",b.fields),z(16),E("matHeaderRowDef",b.displayedColumn),z(1),E("matRowDefColumns",b.displayedColumn),z(1),E("ngIf",0===b.fields.length),z(1),E("ngIf",b.isAdmin))},dependencies:[Rw,QA,JM,
BM,FM,CM,AM,GM,DM,EM,HM,IM,NP],styles:["th.mat-header-cell[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%]{padding:8px;text-align:left;font-size:.8125rem;border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}th[_ngcontent-%COMP%]{font-weight:bold;color:#202124;color:var(--text-high-contrast)}td[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}th.mat-header-cell[_ngcontent-%COMP%]:first-of-type, td.mat-cell[_ngcontent-%COMP%]:first-of-type{padding-left:8px}th.mat-header-cell[_ngcontent-%COMP%]:last-of-type, td.mat-cell[_ngcontent-%COMP%]:last-of-type{padding-right:8px}.no-data-row[_ngcontent-%COMP%]{padding:12px}button[_ngcontent-%COMP%]{margin-right:12px}"]});var x6=function(){};x6.\u0275fac=function(a){return new (a||x6)};x6.\u0275mod=Qc({type:x6});x6.\u0275inj=zc({providers:[PJ],imports:[OG,ED,jB]});var y6=function(){};y6.\u0275fac=function(a){return new (a||y6)};y6.\u0275mod=Qc({type:y6});y6.\u0275inj=zc({imports:[OG,ED,FT,jB,QO,eM,fE,zO,x6,PP]});var z6=function(a){this.analytics=a;this.filename=this.packageName=this.issueId="";this.lineNumbers=[];this.changeNumber=0},prb=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="+z7c+a.issueId+A7c;a.changeNumber&&(c+="&rcl="+a.changeNumber);Array.isArray(b)?c+="&l="+b.join(","):b&&(c+="&l="+b);return c}};
z6.prototype.trackClick=function(a){this.analytics.trackEvent("codeMentions","clickCodeSearchLink",a)};z6.\u0275fac=function(a){return new (a||z6)(B(EI))};
z6.\u0275cmp=Oc({type:z6,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&&(F(0,"div",0)(1,"a",1),L("click",function(){return b.trackClick("fileName")}),P(2),H(),O(3,orb,2,1,"span",2),O(4,rrb,5,1,"span",2),H());a&2&&(z(1),E("href",prb(b,b.lineNumbers),Ud),z(1),Lf(" ",b.filename," "),z(1),E("ngIf",!(10>=b.lineNumbers.length&&"wiki"!=b.packageName)),z(1),E("ngIf",10>=b.lineNumbers.length&&"wiki"!=b.packageName))},dependencies:[Qw,Rw],encapsulation:2});
var z7c=encodeURIComponent("content:(https?://)?b(uganizer)?(\\.corp(\\.google\\.com)?)?/(issues/|issue\\?id=)?"),A7c=encodeURIComponent("(\\b|$)");var A6=function(){};A6.\u0275fac=function(a){return new (a||A6)};A6.\u0275mod=Qc({type:A6});A6.\u0275inj=zc({imports:[OG]});var B7c=function(){return{width:400}},C7c=function(){return[]},B6=function(a,b,c,d,e,g,h,l,q){var v=this;this.bLocation=c;this.paths=d;this.analytics=e;this.currentTracker=h;this.componentActions=l;this.cdr=q;this.includeArchived$=new D.BehaviorSubject(!1);this.rootComponent$=this.currentTracker.tracker$.pipe($e(function(x){return x?v.componentActions.get(Number(x.componentId)):(0,D.of)(void 0)}));this.topLevelComponents$=(0,D.combineLatest)([this.rootComponent$,this.includeArchived$]).pipe($e(function(x){var A=
k(x);x=A.next().value;A=A.next().value;var G;return v.componentActions.getChildren(null!=(G=null==x?void 0:x.parentComponentId)?G:0,A,kkc(v.currentTracker))}));this.createComponentPath=ms.COMPONENT_CREATE;a.setTitle("Browse Components");b.componentId&&urb(this,Number(b.componentId),(0,D.firstValueFrom)(this.topLevelComponents$));this.isInternalSession=g.isInternalSession()};B6.prototype.viewComponent=function(a,b){b=void 0===b?null:b;a&&(b&&this.analytics.trackEvent("listComponents",b),this.bLocation.url(this.paths.manageComponent(a.componentId)))};
var urb=function(a,b,c){a.componentActions.get(b).then(function(d){for(var e=Baa(d.componentPathInfo.componentPathId,0,d.componentPathInfo.componentPathId.length-1),g={0:c},h=k(e),l=h.next();!l.done;l=h.next())l=l.value,g[l]=a.componentActions.getChildren(l,a.includeArchived);return Tn(g).then(function(q){for(var v=q[0],x=0,A=k(e),G=A.next(),M={};!G.done;M={$jscomp$loop$prop$parentId$2237$2395:M.$jscomp$loop$prop$parentId$2237$2395},G=A.next()){M.$jscomp$loop$prop$parentId$2237$2395=G.value;G=void 0;
var Q=null!=(G=v.find(function(Y){return function(W){return W.componentId===Y.$jscomp$loop$prop$parentId$2237$2395}}(M)))?G:null;Q&&(Q.children=q[M.$jscomp$loop$prop$parentId$2237$2395],Q.showChildren=!0,v=Q.children,x=Q.componentId)}d.archived&&!a.includeArchived&&(b=x);a.cdr.detectChanges();setTimeout(function(){a.componentTree.fireSelectionEvent(b)})})})};sh.Object.defineProperties(B6.prototype,{includeArchived:{configurable:!0,enumerable:!0,get:function(){return this.includeArchived$.value}}});
B6.\u0275fac=function(a){return new (a||B6)(B(wW),B(sK),B(PH),B(QH),B(EI),B(Bs),B(PL),B(kV),B(AI,2))};
B6.\u0275cmp=Oc({type:B6,selectors:[["b-list-components-page"]],features:[Of([AI])],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&&(F(0,"h2",0),P(1,"Browse Components"),H(),F(2,"div",1)(3,"div",2),
O(4,srb,2,1,"a",3),F(5,"button",4),P(6," Search Components "),H(),O(7,trb,4,6,"ng-template",null,5,gg),O(9,vrb,3,4,"div",6),H()(),F(10,"div",7),O(11,wrb,2,0,"div",8),R(12,"async"),F(13,"component-tree-list",9),L("init",function(h){return b.componentTree=h}),R(14,"async"),R(15,"async"),H()());if(a&2){var c=Kf(8),d,e,g;z(4);E("ngIf",b.isInternalSession);z(1);E("xapInlineDialogClick",c)("overlaySize",Qf(13,B7c));z(4);E("ngIf",b.isInternalSession);z(2);E("ngIf",!(null!==(d=S(12,7,b.topLevelComponents$))&&
void 0!==d&&d));z(2);E("components",null!==(e=S(14,9,b.topLevelComponents$))&&void 0!==e?e:Qf(14,C7c))("includeArchived",null!==(g=S(15,11,b.includeArchived$))&&void 0!==g?g:!1)}},dependencies:[Rw,WM,IX,HX,LX,qZ,QA,RA,nZ,qV,Xw],styles:[".component-picker-dialog[_ngcontent-%COMP%]{width:400px}.component-picker-dialog[_ngcontent-%COMP%]     input{box-sizing:border-box}"]});var C6=function(){};C6.\u0275fac=function(a){return new (a||C6)};C6.\u0275mod=Qc({type:C6});C6.\u0275inj=zc({imports:[OG,CO,EU,WX,YX,fQ,rZ,ED,pZ,RW]});var D7c=function(){this.issueId="";this.packageMentionSet={packageName:"",fileMentionSet:[]};this.displayPackageName=!1};D7c.\u0275fac=function(a){return new (a||D7c)};
D7c.\u0275cmp=Oc({type:D7c,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&&(F(0,"div",0),O(1,xrb,2,1,"p",1),F(2,"ul"),O(3,yrb,2,
5,"li",2),H()());a&2&&(z(1),E("ngIf",b.displayPackageName),z(2),E("ngForOf",b.packageMentionSet.fileMentionSet))},dependencies:[Qw,Rw,z6],encapsulation:2});var D6=function(){};D6.\u0275fac=function(a){return new (a||D6)};D6.\u0275mod=Qc({type:D6});D6.\u0275inj=zc({imports:[OG,A6]});var E6=function(){};E6.\u0275fac=function(a){return new (a||E6)};E6.\u0275mod=Qc({type:E6});E6.\u0275inj=zc({imports:[OG,Px,ED,jB,yB,ZS,vB]});var F6=function(){};F6.prototype.ngOnInit=function(){};F6.\u0275fac=function(a){return new (a||F6)};
F6.\u0275cmp=Oc({type:F6,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),F(1,"mat-menu",1,2)(3,"a",3),P(4,"Sign out or switch accounts"),H()());if(a&2){var b=Kf(2);E("matMenuTriggerFor",b);z(3);E("href","https://accounts.google.com/SignOutOptions?hl=en&continue="+encodeURIComponent(window.location.href),
Ud)}},dependencies:[dD,cD],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 G6=function(){rF.apply(this,arguments);this.trackerCheckboxValues={}};T(G6,rF);G6.\u0275dir=rF.\u0275dir;G6.prototype.ngOnChanges=function(a){if(a.currentTrackerId){this.trackerCheckboxValues={};var b;a=k(null!=(b=this.availableTrackers)?b:[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.currentTrackerId===b.trackerId?this.trackerCheckboxValues[b.trackerId]=!0:this.trackerCheckboxValues[b.trackerId]=!1}};var E7c=function(a){return Object.keys(ac(a.trackerCheckboxValues,function(b){return b}))};
G6.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(G6)))(b||G6)}}();
G6.\u0275cmp=Oc({type:G6,selectors:[["b-tracker-search"]],inputs:{currentTrackerId:"currentTrackerId",availableTrackers:"availableTrackers"},features:[kf,gd],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&&(F(0,"div",0)(1,"div",1)(2,"div",2)(3,"span"),P(4,"Select a tracker"),H(),O(5,zrb,2,0,"span",3),H(),F(6,"div",4),O(7,Arb,3,2,"div",5),H()()());a&2&&(xf("hidden",!(b.availableTrackers&&1<b.availableTrackers.length)),z(5),E("ngIf",0===E7c(b).length),z(2),E("ngForOf",b.availableTrackers))},dependencies:[Qw,Rw,$O],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 H6=function(a,b,c,d,e,g){rF.call(this);var h=this;this.analytics=b;this.location=c;this.prefsManager=e;this.domSafe=g;this.prefsManager.preferences$.pipe(af(this.destroyed$)).subscribe(function(l){h.prefs=l});a.topBarEvents.browseComponents.pipe(af(this.destroyed$)).subscribe(function(l){l=l.newTab;F7c(h,d.listComponents(),l)});a.topBarEvents.manageHotlists.pipe(af(this.destroyed$)).subscribe(function(l){F7c(h,d.listHotlists(),l.newTab)});a.topBarEvents.manageSlos.pipe(af(this.destroyed$)).subscribe(function(l){l=
l.newTab;F7c(h,d.listSlos(),l)});a.topBarEvents.setDensity.pipe(af(this.destroyed$)).subscribe(function(l){h.setDensity(l)});a.topBarEvents.openSettings.pipe(af(this.destroyed$)).subscribe(function(l){var q=l.newTab;F7c(h,d.settings(l.settingsTabName),q)})};T(H6,rF);H6.\u0275dir=rF.\u0275dir;var F7c=function(a,b,c){c?a.domSafe.openInNewTab(b):a.location.url(b)};
H6.prototype.setDensity=function(a){this.prefs.themePreferences&&(this.prefs.themePreferences.density=a,this.prefsManager.save(this.prefs).pipe(Oe(),af(this.destroyed$)).subscribe(),this.analytics.trackEvent("preferences","setDisplayDensity",a))};H6.\u0275fac=function(a){return new (a||H6)(t(eH),t(EI),t(PH),t(QH),t(VJ),t(vL))};H6.\u0275prov=yc({token:H6,factory:H6.\u0275fac,providedIn:"root"});var I6=function(a,b,c,d,e,g,h,l,q,v,x){rF.call(this);var A=this;this.activeSession=a;this.currentTracker=b;this.searchAcData=c;this.savedSearchApi=d;this.butterBar=e;this.bLocation=g;this.paths=h;this.analytics=l;this.appEvents=v;this.appSearchState=x;this.items=[];this.acHeader=null;this.currentQuery="";this.enableTrackersAccountHack=pF(this.activeSession,"enableTrackersAccountHack");this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType();
this.searchAcData.acRefreshed$.pipe(af(this.destroyed$)).subscribe(function(){A.items=A.searchAcData.items;A.acHeader=A.searchAcData.acHeader})};T(I6,rF);I6.\u0275dir=rF.\u0275dir;var G7c=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"}};
I6.prototype.ngOnInit=function(){var a=this;this.appSearchState.queryState$.pipe(af(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 g=d.query,h=d.cursorIdx;if(0>h||h>g.length)throw Error("te");e=new dRc(g,h);if(g){var l=g.slice(0,h);for(var q=!1,v=-1,x=-1;-1<(v=l.indexOf('"',v+1));)q=!q,x=v;l=q?x:-1;if(-1<l)e.value={val:g.slice(l,h),idx:l};else if(l=g.slice(0,h),q=g.slice(h),v=q.search("\\s"),
q=-1<v?q.slice(0,v):q,(l=Dgb(l+q,hRc))?(l={negated:!!l[1],val:l[2].toLowerCase(),operator:l[3],idx:l.index-l[1].length-l[2].length-l[3].length},di(l.val,"customfield")&&(l.customFieldId=l.val.slice(11),l.val="customfield")):l=null,l){q=l.idx+(l.negated?1:0)+l.val.length+l.operator.length+(l.customFieldId?l.customFieldId.length:0);g=g.slice(q);h=Math.max(h-q,0);v=l;if("("===g.charAt(0)){b:{v=[];x=/[()]/g;for(var A;null!=(A=x.exec(g));){var G=v[v.length-1];if(G&&G!==A[0]){if(v.pop(),!v.length){v=A.index>=
h;break b}}else v.push(A[0])}v=!0}v=v?2:0}else v=eRc.includes(v.val)&&-1===g.search("^\\d")?1:0;switch(v){case 2:g=eRc.includes(l.val)?Zp(g,h,"([()|]\\s*|OR\\s+|AND\\s+|NOT\\s+|-|\\b\\d+\\s+)","[()|\\s-]"):Zp(g,h,"[()|\\s-]");/(OR|AND|NOT|-)$/.test(g.val)&&(g.val="",g.idx=h);e.value=g;break;case 1:e.value=Zp(g,h,"[()|]","[()|,\\s]");break;case 0:e.value=Zp(g,h,"[\\s()|]");-1<g.slice(0,h).search("[\\s()|]")&&(l=null);break;default:Ch(v,"unknown ValueType.")}e.value.idx+=q;e.label=l}else e.value=Zp(g,
h,"[\\s()]")}d.currentSearchContext=e}d.currentSearchContext&&(e=d.currentSearchContext,h=++d.requestIndex,d.refreshRequest$.next({currentRequestIndex:h,currentSearchContext:e}));a.currentQuery=c.query});var b=this.appSearchState.queryState$.pipe(C(function(c){return c.query}));this.appSearchState.searchTriggered$.pipe(cf(b),af(this.destroyed$)).subscribe(function(c){c=k(c);var d=c.next().value;c=c.next().value;var e=a.appSearchState;d=void 0===d?"":d;var g=J1a(c),h=g.filters,l=g.text,q=g.complexSyntax,
v=g.resourceIds;g=[h,l,v].reduce(K1a);h=[h?"filters":void 0,l?"text":void 0,v?"ids":void 0].filter(Boolean).join("-");q?e.track(d,"complex"):h?e.track(d,h,g):e.track(d,"UNHANDLED");d=oa(e.searchHandlerStack);void 0===d?e.$log.warn("No search function installed."):d(c)})};I6.prototype.ngAfterViewInit=function(){I6c(this.advancedSearchCtrl,this.appSearchState.currentQuery)};var H7c=function(a){if(a.advancedSearchCtrl)return"SUCCESS"!==a.advancedSearchCtrl.getState()?a.currentQuery:P6c(a.advancedSearchCtrl).trim()};
f=I6.prototype;f.onAdvancedSearchOpen=function(){this.advancedSearchCtrl&&(H7c(this)!==this.currentQuery||"SUCCESS"!==this.advancedSearchCtrl.getState())&&I6c(this.advancedSearchCtrl,this.currentQuery)};f.onAdvancedSearchClose=function(){var a,b;this.appSearchState.selectedTrackerIds$.next(null!=(b=null==(a=this.trackerSearchCtrl)?void 0:E7c(a))?b:[]);this.advancedSearchCtrl&&(a=H7c(this),void 0!==a&&a!==this.currentQuery&&this.appSearchState.queryState$.next({query:a,cursorPosition:void 0,setViaInteraction:!1}))};
f.submitAdvancedSearch=function(){var a,b;this.appSearchState.selectedTrackerIds$.next(null!=(b=null==(a=this.trackerSearchCtrl)?void 0:E7c(a))?b:[]);this.advancedSearchCtrl&&(a=H7c(this),void 0!==a&&(this.appSearchState.queryState$.next({query:a,cursorPosition:void 0,setViaInteraction:!1}),this.appSearchState.searchTriggered$.next("ui-builder")))};
f.saveSearch=function(a){var b=this;if(this.advancedSearchCtrl){var c=H7c(this);void 0!==c&&(YG(this.butterBar,"Saving saved search.",1E3),this.savedSearchApi.create(a,c).then(function(d){b.appEvents.savedSearchModified.next();d=d.searchId;YG(b.butterBar,"Created saved search '"+a+"' ID "+d+".");b.bLocation.url(b.paths.viewSavedSearch(d));b.analytics.trackEvent("savedSearches","create")}).catch(function(d){ZG(b.butterBar,am(d))}))}};f.isSearchDisabled=function(){return this.inTracker()&&0===E7c(this.trackerSearchCtrl).length};
f.inTracker=function(){return!!this.trackerSearchCtrl};I6.\u0275fac=function(a){return new (a||I6)(B(Bs),B(PL),B(r2),B(gU),B(XG),B(PH),B(QH),B(EI),B(H6),B(eH),B(RX))};
I6.\u0275cmp=Oc({type:I6,selectors:[["b-top-bar-outlet"]],viewQuery:function(a,b){a&1&&(bg(B5,5),bg(G6,5));if(a&2){var c;ag(c=dg())&&(b.advancedSearchCtrl=c.first);ag(c=dg())&&(b.trackerSearchCtrl=c.first)}},features:[kf],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&&(F(0,"b-app-top-bar",0),L("searchBoxOnAdvancedSearchOpen",function(){return b.onAdvancedSearchOpen()})("searchBoxOnAdvancedSearchClose",
function(){return b.onAdvancedSearchClose()})("searchBoxOnAdvancedSearchSubmit",function(){return b.submitAdvancedSearch()})("searchBoxOnSaveSearch",function(d){return b.saveSearch(d)}),R(1,"async"),O(2,Brb,3,6,"b-tracker-search",1),R(3,"async"),I(4,"b-advanced-search",2),R(5,"async"),O(6,Crb,4,0,"div",3),O(7,Frb,3,2,"div",4),O(8,Grb,2,0,"div",4),H(),O(9,Hrb,1,0,"b-tracker-account-menu-hack",5),R(10,"async"));if(a&2){var c;E("logoFrontendAccessMode",b.frontendAccessMode)("logoEnvironmentType",b.environmentType)("searchBoxPlaceholder",
G7c(b,S(1,12,b.currentTracker.tracker$)))("searchBoxAutoCompleteItems",b.items)("searchBoxAutoCompleteHeader",b.acHeader)("isSearchDisabled",b.isSearchDisabled());z(2);E("ngIf",null!==(c=S(3,14,b.currentTracker.inTracker$))&&void 0!==c?c:!1);z(2);E("isTrackerSearchEnabled",!S(5,16,b.currentTracker.inTracker$));z(2);E("ngIf","INIT"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));z(1);E("ngIf","NOT_REPRESENTABLE"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState())||
"SYNTAX_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));z(1);E("ngIf","SERVER_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));z(1);E("ngIf",b.enableTrackersAccountHack&&!b.activeSession.isAnonymous()&&S(10,18,b.currentTracker.inTracker$))}},dependencies:[Rw,HB,B5,G6,j7c,WM,F6,Xw],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 J6=function(){};J6.\u0275fac=function(a){return new (a||J6)};J6.\u0275mod=Qc({type:J6});J6.\u0275inj=zc({imports:[OG,EP]});var K6=function(){};K6.\u0275fac=function(a){return new (a||K6)};K6.\u0275mod=Qc({type:K6});K6.\u0275inj=zc({imports:[OG,E5,J6,b6,CO,eD]});var L6=function(a,b){this.dialogRef=a;this.data=b;this.userToDisplay=li;this.updateDiffs=b.updateDiffs};L6.prototype.close=function(){this.dialogRef.close()};L6.\u0275fac=function(a){return new (a||L6)(B(bB),B(dB))};
L6.\u0275cmp=Oc({type:L6,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&&(F(0,"div",0)(1,"ul",1),O(2,Qrb,10,4,"li",2),H()(),F(3,"div",3)(4,"button",4),L("click",function(){return b.close()}),P(5," Close "),H()());a&2&&(z(2),E("ngForOf",b.updateDiffs))},dependencies:[Qw,Rw,QA,hB,iB,zL,yL,FL],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 M6=function(){};M6.\u0275fac=function(a){return new (a||M6)};M6.\u0275mod=Qc({type:M6});M6.\u0275inj=zc({imports:[OG,ED,jB,YP,fO]});var N6=function(a,b){rF.call(this);this.$window=a;this.currentTracker=b;this.faviconUrl=this.defaultFaviconUrl=Sg("https://www.gstatic.com/buganizer/img/v4/favicon.png")};T(N6,rF);N6.\u0275dir=rF.\u0275dir;
var I7c=function(a){var b=a.$window.document.head.querySelector('link[rel="shortcut icon"]'),c=null==b?void 0:b.href;a.faviconUrl=c?Sg(c):a.defaultFaviconUrl;a.currentTracker.tracker$.pipe(C(function(d){var e;if(null==d?0:null==(e=d.branding)?0:e.logoUrl){var g;d=Sg(null==d?void 0:null==(g=d.branding)?void 0:g.logoUrl)}else d=a.faviconUrl;return d}),af(a.destroyed$)).subscribe(function(d){if(b&&b.href!==d.toString())a:{if(d instanceof hv)b.href=Gh(d).toString();else{if(-1===m6b.indexOf("icon"))throw Error("Sb`icon");
d=ina(d);if(void 0===d)break a;b.href=d}b.rel="icon"}})};N6.\u0275fac=function(a){return new (a||N6)(t(qF),t(PL))};N6.\u0275prov=yc({token:N6,factory:N6.\u0275fac,providedIn:"root"});var J7c=/^\s*[^:/?#]+:/i,K7c=/^#/i,O6=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"))&&!J7c.test(d))if(K7c.test(d)){b.bLocation.hash(d.substring(1));var e;null==(e=document.getElementById(d.substring(1)))||e.scrollIntoView();
c.stopPropagation();c.preventDefault()}else c.preventDefault(),b.bLocation.url(d)}}};O6.prototype.install=function(){document.addEventListener("click",this.linkClickHandler)};O6.\u0275fac=function(a){return new (a||O6)(t(PH))};O6.\u0275prov=yc({token:O6,factory:O6.\u0275fac,providedIn:"root"});var L7c=[],M7c=!1,P6=function(a,b,c,d,e,g,h,l){rF.call(this);this.hatsService=a;this.iconRegistry=b;this.session=c;this.appHistory=d;this.routePerformance=e;this.linkClickHandler=g;this.issueLru=h;this.faviconService=l};T(P6,rF);P6.\u0275dir=rF.\u0275dir;P6.prototype.tearDown=function(){rF.prototype.ngOnDestroy.call(this);document.removeEventListener("click",this.linkClickHandler.linkClickHandler)};P6.\u0275fac=function(a){return new (a||P6)(t(jQ),t(FB),t(Bs),t(I2),t(L2),t(O6),t(pW),t(N6))};
P6.\u0275prov=yc({token:P6,factory:P6.\u0275fac,providedIn:"root"});
var N7c={provide:sRb,useFactory:function(a){return function(){Jh("app initializer starting");M7c||(a.iconRegistry._addSvgIconSetConfig("",new zYb(bkc)),M7c=!0);if(a.session.isInternalSession()){Roc(a.hatsService,"Y4qgAGETM0g6pPHSLo10T83aMF4T").pipe(Oe(),af(a.destroyed$)).subscribe();for(var b=k(L7c),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.hatsTriggerId;pF(a.session,c.flagName)&&Roc(a.hatsService,d).pipe(Oe(),af(a.destroyed$)).subscribe()}}a.appHistory.install();a.routePerformance.install();
a.linkClickHandler.install();b=a.issueLru;BYa(b.viewed,KFc());BYa(b.edited,IFc());b.appEvents.issueViewed.pipe(af(b.stop$)).subscribe(b.addViewed);b.appEvents.issueEdited.pipe(af(b.stop$)).subscribe(b.addEdited);I7c(a.faviconService)}},deps:[P6],multi:!0};var Q6=function(a,b){this.paths=a;this.bLocation=b};Q6.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());var b=a.elementId;a=this.paths.editIssue(a.issueId)+(b?"#"+b:"");this.bLocation.url(a)};Q6.\u0275fac=function(a){return new (a||Q6)(t(QH),t(PH))};Q6.\u0275prov=yc({token:Q6,factory:Q6.\u0275fac,providedIn:"root"});var O7c={provide:MM,useExisting:Q6};var P7c=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 R6=function(a){QB.call(this);this.errorHandlerFn_=a};Ns(R6,QB);R6.prototype.wrap=function(a){return Q7c(this,a)};var S6=function(a,b){return(b?"__wrapper_":"__protected_")+xa(a)+"__"},Q7c=function(a,b){var c=S6(a,!0);b[c]||((b[c]=R7c(a,b))[S6(a,!1)]=b);return b[c]},R7c=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[S6(a,!1)]=b;return c};
R6.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 S7c(a);};
var T7c=function(a,b){var c=ba.window||ba.globalThis,d=c[b];if(!d)throw Error("Se`"+b);c[b]=function(e,g){"string"===typeof e&&(e=Ms(BJb,e));e&&(arguments[0]=e=Q7c(a,e));if(d.apply)return d.apply(this,arguments);var h=e;if(2<arguments.length){var l=Array.prototype.slice.call(arguments,2);h=function(){e.apply(this,l)}}return d(h,g)};c[b][S6(a,!1)]=d};
R6.prototype.disposeInternal=function(){var a=ba.window||ba.globalThis;var b=a.setTimeout;b=b[S6(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[S6(this,!1)]||b;a.setInterval=b;R6.superClass_.disposeInternal.call(this)};var S7c=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)};Ns(S7c,aa);var V7c=function(a,b,c){Ro.call(this);this.contextProvider_=b||null;this.additionalArguments_={};this.xhrSender_=U7c;this.handlerUrl_=a;if(!c){this.errorHandler_=null;this.errorHandler_=new R6(Ls(this.handleException,this));T7c(this.errorHandler_,"setTimeout");T7c(this.errorHandler_,"setInterval");a=this.errorHandler_;b=ba.window||ba.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&T7c(a,
e)}a=this.errorHandler_;MYb=!0;b=Ls(a.wrap,a);for(c=0;c<KYb.length;c++)KYb[c](b);LYb.push(a)}};Ns(V7c,Ro);var W7c=function(a,b){SB.call(this,"F");this.error=a;this.context=b};Ns(W7c,SB);var U7c=function(a,b,c,d){if(d instanceof Map){var e={};d=k(d);for(var g=d.next();!g.done;g=d.next()){var h=k(g.value);g=h.next().value;h=h.next().value;e[g]=h}}else e=d;Bh(a,null,b,c,e)};
V7c.prototype.handleException=function(a,b){a=a.error||a;b=b?dc(b):{};a instanceof Error&&Uca(b,a.__closure__error__context__984382||{});var c=RUb(a);if(this.contextProvider_)try{this.contextProvider_(c,b)}catch(l){}var d=c.message.substring(0,1900);if(!(a instanceof aa)||a.reportErrorToServer){a=c.stack;try{var e=BC(this.handlerUrl_,"script",c.fileName,"error",d,"line",c.lineNumber);bc(this.additionalArguments_)||(e=vwa(e,this.additionalArguments_));d={};d.trace=a;if(b)for(var g in b)d["context."+
g]=b[g];var h=g0b(d);this.xhrSender_(e,"POST",h,this.extraHeaders_)}catch(l){}}try{this.dispatchEvent(new W7c(c,b))}catch(l){}};V7c.prototype.disposeInternal=function(){Ah(this.errorHandler_);V7c.superClass_.disposeInternal.call(this)};var T6=function(){this.jsBuild="543431260";this.buildLabel="buganizer.frontend_20230626.03_p0"};T6.\u0275fac=function(a){return new (a||T6)};T6.\u0275prov=yc({token:T6,factory:T6.\u0275fac,providedIn:"root"});var U6=function(){};U6.prototype.reportingEnabled=function(){return 4!==P7c};U6.\u0275fac=function(a){return new (a||U6)};U6.\u0275prov=yc({token:U6,factory:U6.\u0275fac,providedIn:"root"});
var V6=function(a,b){var c=this;this.appContext=b;this.context={};this.reportingExtensions=[];this.jsDebugErrorReporter=new V7c("/jserror",function(d,e){e.js_build=a.jsBuild;e.buildLabel=a.buildLabel;e["build-label"]=a.buildLabel;d=k(c.reportingExtensions);for(var g=d.next();!g.done;g=d.next())g.value.enhanceContext(e)},!0)};
V6.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=k(this.reportingExtensions);for(var b=a.next();!b.done;b=a.next())b.value.onReportedError()}};V6.\u0275fac=function(a){return new (a||V6)(t(T6),t(U6))};V6.\u0275prov=yc({token:V6,factory:V6.\u0275fac,providedIn:"root"});var W6=function(a){this._console=console;this.reporter=a};T(W6,Yd);W6.prototype.handleError=function(a){this.reporter.reportError(a)};W6.\u0275fac=function(a){return new (a||W6)(t(V6))};W6.\u0275prov=yc({token:W6,factory:W6.\u0275fac,providedIn:"root"});var X6=function(a){this.activeSession=a};T(X6,U6);X6.prototype.reportingEnabled=function(){return pF(this.activeSession,"reportErrors")};X6.\u0275fac=function(a){return new (a||X6)(t(Bs))};X6.\u0275prov=yc({token:X6,factory:X6.\u0275fac,providedIn:"root"});
var X7c={provide:Yd,useClass:W6},Y7c={provide:U6,useClass:X6},Z7c={provide:T6,useValue:{jsBuild:"543431260",buildLabel:"buganizer.frontend_20230626.03_p0"}};var Y6=function(){};Y6.\u0275fac=function(a){return new (a||Y6)};Y6.\u0275cmp=Oc({type:Y6,selectors:[["b-empty"]],decls:0,vars:0,template:function(){},encapsulation:2});var Z6=function(){};Z6.\u0275fac=function(a){return new (a||Z6)};Z6.\u0275mod=Qc({type:Z6});Z6.\u0275inj=zc({});var $6=function(){};T($6,FH);$6.prototype.store=function(){};$6.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig&&Xh(a.params,b.params)};$6.\u0275fac=function(){var a;return function(b){return(a||(a=Bd($6)))(b||$6)}}();$6.\u0275prov=yc({token:$6,factory:$6.\u0275fac,providedIn:"root"});var a7=function(a){this.router=a};
a7.prototype.canActivate=function(a,b){if(b.url.includes("#ISSUE_HistoryHeader")){var c=k(b.url.split("#ISSUE_HistoryHeader"));a=c.next().value;c=c.next().value;return JH(this.router,[a],{fragment:c&&!isNaN(Number(c))?"comment"+c:void 0})}if(a.queryParamMap.has("showInsights")&&"1"===a.queryParamMap.get("showInsights")){b=k(b.url.split("?")).next().value;var d={};return JH(this.router,[b],{queryParams:Object.assign({},rya(a.queryParamMap),(d.showInsights="deployments",d)),fragment:null!=(c=a.fragment)?
c:void 0})}return!0};a7.\u0275fac=function(a){return new (a||a7)(t(IH))};a7.\u0275prov=yc({token:a7,factory:a7.\u0275fac,providedIn:"root"});var $7c=/^(\d+)$/,b7=function(a){this.butterBar=a;this.paramNamesToCheck=new Set(Object.values(Q8b))};b7.prototype.validate=function(a){for(var b=k(Object.keys(a)),c=b.next();!c.done;c=b.next())if(c=c.value,this.paramNamesToCheck.has(c)){var d=a[c],e=gi(d);if(!$7c.test(d)||isNaN(e)||!Number.isInteger(e))return ZG(this.butterBar,"The URL parameter "+c+' has the malformed value "'+d+'".'),!1}return!0};b7.\u0275fac=function(a){return new (a||b7)(t(XG))};
b7.\u0275prov=yc({token:b7,factory:b7.\u0275fac,providedIn:"root"});var c7=function(a){this.routeParamsValidator=a};c7.prototype.canActivate=function(a){return this.routeParamsValidator.validate(a.params)};c7.\u0275fac=function(a){return new (a||c7)(t(b7))};c7.\u0275prov=yc({token:c7,factory:c7.\u0275fac,providedIn:"root"});var d7=function(a,b){this.activeSession=a;this.router=b};d7.prototype.canActivate=function(){return this.activeSession.isInternalSession()?!0:JH(this.router,["issues"])};d7.\u0275fac=function(a){return new (a||d7)(t(Bs),t(IH))};d7.\u0275prov=yc({token:d7,factory:d7.\u0275fac,providedIn:"root"});var e7=function(a,b){this.currentTracker=a;this.router=b};e7.prototype.canActivate=function(){return this.currentTracker.inTracker?JH(this.router,["issues"]):!0};e7.\u0275fac=function(a){return new (a||e7)(t(PL),t(IH))};e7.\u0275prov=yc({token:e7,factory:e7.\u0275fac,providedIn:"root"});var f7=function(a,b){this.router=a;this.activeSession=b};f7.prototype.canActivate=function(){var a=pF(this.activeSession,"enableHomepageVariantA");return JH(this.router,[Rrb(a)])};f7.\u0275fac=function(a){return new (a||f7)(t(IH),t(Bs))};f7.\u0275prov=yc({token:f7,factory:f7.\u0275fac,providedIn:"root"});var a8c={USER:"USER",DEVELOPER:"DEVELOPER",CONTRIBUTOR:"CONTRIBUTOR"},b8c={INPUT:"INPUT",TEXT:"TEXT",SELECT:"SELECT"},c8c=new ad("CustomQuestionsConfig");var d8c=function(){this.persona="USER";this.categoryChange=new kw;var a={};this.options=(a.USER=[{title:"UI",description:"Problems with the user interface (e.g. tabs, context menus, etc...)",value:"UI",componentId:422198},{title:"Network / Downloading",description:"Problems with accessing remote content",value:"NETWORK_DOWNLOADING",componentId:421924},{title:"Audio / Video",description:"Problems playing back sound or movies",value:"AUDIO_VIDEO",componentId:421886},{title:"Content",description:"Problems with webpages not working correctly",
value:"CONTENT"},{title:"Apps",description:"Issues with Webstore apps",value:"APPS",componentId:422083},{title:"Extensions / Themes",description:"Issues with Webstore extensions and themes",value:"EXTENSIONS_THEMES",componentId:422130},{title:"Webstore",description:"Problems with the Chrome Webstore itself",value:"WEBSTORE",componentId:422443},{title:"Sync",description:"Problems syncing data to a Google account",value:"SYNC",componentId:422168},{title:"Enterprise",description:"Policy configuration and deployment issues",
value:"ENTERPRISE",componentId:421726},{title:"Installation",description:"Problem installing Chrome",value:"INSTALLATION",componentId:421863},{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"},{title:"JavaScript",
description:"Problems with the JavaScript interpreter",value:"JAVASCRIPT",componentId:421442},{title:"Developer Tools",description:"Problems with the Developer tool chain/inspector",value:"DEV_TOOLS",componentId:422123}],a.CONTRIBUTOR=[],a)};d8c.\u0275fac=function(a){return new (a||d8c)};
d8c.\u0275cmp=Oc({type:d8c,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",3,"value","valueChange"],["class","multiline",3,"value",4,"ngFor","ngForOf"],[1,"multiline",3,"value"],[1,"description"]],template:function(a,b){a&1&&(F(0,"mat-form-field",0)(1,"mat-select",1),L("valueChange",function(d){b.category=
d;b.categoryChange.emit(b.category)}),F(2,"mat-select-trigger"),P(3),H(),O(4,Srb,5,3,"mat-option",2),H()());if(a&2){var c;z(1);E("value",b.category);z(2);Lf(" ",null!==(c=null==b.category?null:b.category.title)&&void 0!==c?c:""," ");z(1);E("ngForOf",b.options[b.persona])}},dependencies:[Qw,uB,HP,GP,SA],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:#9aa0a6;color:var(--c500)}mat-form-field[_ngcontent-%COMP%]{min-width:300px}\n/*# sourceMappingURL=category_select.css.map */"]});var es=function(a){return{question:a}},g7=function(a){this.config=a;this.CustomQuestionType=b8c;this.responses=new kw;this.model=Object.assign({},a)};g7.prototype.ngOnInit=function(){};var csb=function(a){var b=a.model[a.category].filter(function(c){return!!c.response});a.responses.emit(b)};g7.\u0275fac=function(a){return new (a||g7)(B(c8c))};
g7.\u0275cmp=Oc({type:g7,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&&(O(0,Trb,2,4,"ng-container",0),O(1,Xrb,4,4,"ng-template",null,1,gg),O(3,Yrb,3,3,"ng-template",null,2,gg),O(5,Zrb,4,3,"ng-template",null,3,gg),O(7,dsb,5,5,"ng-template",null,4,gg));a&2&&E("ngForOf",b.model[b.category])},dependencies:[Qw,Rw,Ww,Sw,Tw,wg,tx,Ax,uB,xB,HP,SA],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 e8c=function(){this.Persona=a8c;this.persona="USER";this.personaChange=new kw};e8c.\u0275fac=function(a){return new (a||e8c)};
e8c.\u0275cmp=Oc({type:e8c,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&&(F(0,"div")(1,"mat-radio-group",0),L("ngModelChange",function(c){b.persona=c;b.personaChange.emit(b.persona)}),F(2,"mat-radio-button",1),P(3," End User "),F(4,"div",2),P(5," I am trying to use a website. "),H()(),F(6,"mat-radio-button",
1),P(7," Web Developer "),F(8,"div",2),P(9," I am trying to build something on a website. "),H()(),F(10,"mat-radio-button",1),P(11," Chromium Contributor "),F(12,"div",2),P(13," I know about a problem in specific tests or code. "),H()()()());a&2&&(z(1),E("ngModel",b.persona),z(1),E("value",b.Persona.USER),z(4),E("value",b.Persona.DEVELOPER),z(4),E("value",b.Persona.CONTRIBUTOR))},dependencies:[tx,Ax,aO,bO],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     .mat-radio-container{top:-30px}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}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 f8c=["*",[["mat-card-footer"]]],g8c=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],h8c=function(){};h8c.\u0275fac=function(a){return new (a||h8c)};h8c.\u0275dir=Sc({type:h8c,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]});var i8c=function(a){this._animationMode=a};
i8c.\u0275fac=function(a){return new (a||i8c)(B(wv,8))};
i8c.\u0275cmp=Oc({type:i8c,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(a,b){a&2&&xf("_mat-animation-noopable","NoopAnimations"===b._animationMode)},exportAs:["matCard"],ngContentSelectors:["*","mat-card-footer"],decls:2,vars:0,template:function(a){a&1&&(Ff(f8c),Gf(0),Gf(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,
changeDetection:0});var j8c=function(){};j8c.\u0275fac=function(a){return new (a||j8c)};
j8c.\u0275cmp=Oc({type:j8c,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n      [mat-card-title], [mat-card-subtitle],\n      [matCardTitle], [matCardSubtitle]","*"],decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(a){a&1&&(Ff(g8c),Gf(0),F(1,"div",0),Gf(2,1),H(),Gf(3,2))},encapsulation:2,changeDetection:0});var h7=function(a){this._elementRef=a};h7.prototype.focus=function(){this._elementRef.nativeElement.focus()};h7.\u0275fac=function(a){return new (a||h7)(B(Dd))};h7.\u0275dir=Sc({type:h7,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]});var i7=function(a){this.template=a};i7.\u0275fac=function(a){return new (a||i7)(B(Yf))};i7.\u0275dir=Sc({type:i7,selectors:[["","cdkStepLabel",""]]});var k8c=0,l8c=new ad("STEPPER_GLOBAL_OPTIONS"),j7=function(a,b){this._stepper=a;this.interacted=!1;this.interactedStream=new kw;this._editable=!0;this._optional=!1;this._customError=this._completedOverride=null;this._stepperOptions=b?b:{};this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType};f=j7.prototype;f._getDefaultCompleted=function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted};
f._getDefaultError=function(){return this.stepControl&&this.stepControl.invalid&&this.interacted};f.select=function(){this._stepper.selected=this};f.reset=function(){this.interacted=!1;null!=this._completedOverride&&(this._completedOverride=!1);null!=this._customError&&(this._customError=!1);this.stepControl&&this.stepControl.reset()};f.ngOnChanges=function(){this._stepper._stateChanged()};f._markAsInteracted=function(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))};
f._showError=function(){var a;return null!=(a=this._stepperOptions.showError)?a:null!=this._customError};
sh.Object.defineProperties(j7.prototype,{editable:{configurable:!0,enumerable:!0,get:function(){return this._editable},set:function(a){this._editable=Fg(a)}},optional:{configurable:!0,enumerable:!0,get:function(){return this._optional},set:function(a){this._optional=Fg(a)}},completed:{configurable:!0,enumerable:!0,get:function(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride},set:function(a){this._completedOverride=Fg(a)}},hasError:{configurable:!0,enumerable:!0,
get:function(){return null==this._customError?this._getDefaultError():this._customError},set:function(a){this._customError=Fg(a)}}});j7.\u0275fac=function(a){return new (a||j7)(B(Ec(function(){return k7})),B(l8c,8))};
j7.\u0275cmp=Oc({type:j7,selectors:[["cdk-step"]],contentQueries:function(a,b,c){a&1&&cg(c,i7,5);if(a&2){var d;ag(d=dg())&&(b.stepLabel=d.first)}},viewQuery:function(a,b){a&1&&bg(Yf,7);if(a&2){var c;ag(c=dg())&&(b.content=c.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},
exportAs:["cdkStep"],features:[gd],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Ff(),O(0,esb,1,0,"ng-template"))},encapsulation:2,changeDetection:0});var k7=function(a,b,c){this._dir=a;this._changeDetectorRef=b;this._elementRef=c;this._destroyed=new D.Subject;this.steps=new eg;this._sortedHeaders=new eg;this._linear=!1;this._selectedIndex=0;this.selectionChange=new kw;this.selectedIndexChange=new kw;this._orientation="horizontal";this._groupId=k8c++};f=k7.prototype;
f.ngAfterContentInit=function(){var a=this;this._steps.changes.pipe(Ze(this._steps),af(this._destroyed)).subscribe(function(b){a.steps.reset(b.filter(function(c){return c._stepper===a}));$f(a.steps)})};
f.ngAfterViewInit=function(){var a=this;this._stepHeader.changes.pipe(Ze(this._stepHeader),af(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}));$f(a._sortedHeaders)});this._keyManager=wz(yz(vz(new Bz(this._sortedHeaders))),"vertical"===this._orientation);(this._dir?this._dir.change:(0,D.of)()).pipe(Ze(this._layoutDirection()),
af(this._destroyed)).subscribe(function(b){return xz(a._keyManager,b)});zz(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)};f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this.steps.destroy();this._sortedHeaders.destroy();this._destroyed.next();this._destroyed.complete()};
f.next=function(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)};f.previous=function(){this.selectedIndex=Math.max(this._selectedIndex-1,0)};f.reset=function(){this._updateSelectedItemIndex(0);this.steps.forEach(function(a){return a.reset()});this._stateChanged()};f._getStepLabelId=function(a){return"cdk-step-label-"+this._groupId+"-"+a};f._getStepContentId=function(a){return"cdk-step-content-"+this._groupId+"-"+a};f._stateChanged=function(){this._changeDetectorRef.markForCheck()};
f._getAnimationDirection=function(a){a-=this._selectedIndex;return 0>a?"rtl"===this._layoutDirection()?"next":"previous":0<a?"rtl"===this._layoutDirection()?"previous":"next":"current"};f._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)};
f._getDefaultIndicatorLogic=function(a,b){return a._showError()&&a.hasError&&!b?"error":!a.completed||b?"number":a.editable?"edit":"done"};f._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};f._isCurrentStep=function(a){return this._selectedIndex===a};f._getFocusIndex=function(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex};
f._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):zz(this._keyManager,a);this._selectedIndex=a;this.selectedIndexChange.emit(this._selectedIndex);this._stateChanged()};
f._onKeydown=function(a){var b=Jg(a),c=a.keyCode,d=this._keyManager;if(null==d.activeItemIndex||b||32!==c&&13!==c)hWb(d,"keyboard").onKeydown(a);else this.selectedIndex=d.activeItemIndex,a.preventDefault()};f._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};
f._layoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};f._containsFocus=function(){var a=this._elementRef.nativeElement,b=Cg();return a===b||a.contains(b)};f._isValidIndex=function(a){return-1<a&&(!this.steps||a<this.steps.length)};
sh.Object.defineProperties(k7.prototype,{linear:{configurable:!0,enumerable:!0,get:function(){return this._linear},set:function(a){this._linear=Fg(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){a=Ig(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&&wz(this._keyManager,"vertical"===a)}}});k7.\u0275fac=function(a){return new (a||k7)(B(Cz,8),B(Kw),B(Dd))};
k7.\u0275dir=Sc({type:k7,selectors:[["","cdkStepper",""]],contentQueries:function(a,b,c){a&1&&(cg(c,j7,5),cg(c,h7,5));if(a&2){var d;ag(d=dg())&&(b._steps=d);ag(d=dg())&&(b._stepHeader=d)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"]});var l7=function(a){this._stepper=a;this.type="submit"};l7.\u0275fac=function(a){return new (a||l7)(B(k7))};l7.\u0275dir=Sc({type:l7,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(a,b){a&1&&L("click",function(){return b._stepper.next()});a&2&&Df("type",b.type)},inputs:{type:"type"}});var m7=function(a){this._stepper=a;this.type="button"};m7.\u0275fac=function(a){return new (a||m7)(B(k7))};
m7.\u0275dir=Sc({type:m7,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(a,b){a&1&&L("click",function(){return b._stepper.previous()});a&2&&Df("type",b.type)},inputs:{type:"type"}});var n7=function(){};n7.\u0275fac=function(a){return new (a||n7)};n7.\u0275mod=Qc({type:n7});n7.\u0275inj=zc({imports:[Dz]});var o7=function(){l7.apply(this,arguments)};T(o7,l7);o7.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(o7)))(b||o7)}}();o7.\u0275dir=Sc({type:o7,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(a,b){a&2&&Df("type",b.type)},inputs:{type:"type"},features:[kf]});var p7=function(){m7.apply(this,arguments)};T(p7,m7);p7.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(p7)))(b||p7)}}();
p7.\u0275dir=Sc({type:p7,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(a,b){a&2&&Df("type",b.type)},inputs:{type:"type"},features:[kf]});var q7=function(a){this.templateRef=a};q7.\u0275fac=function(a){return new (a||q7)(B(Yf))};q7.\u0275dir=Sc({type:q7,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}});var m8c=function(a){this._template=a};m8c.\u0275fac=function(a){return new (a||m8c)(B(Yf))};m8c.\u0275dir=Sc({type:m8c,selectors:[["ng-template","matStepContent",""]]});var r7=function(){i7.apply(this,arguments)};T(r7,i7);r7.\u0275fac=function(){var a;return function(b){return(a||(a=Bd(r7)))(b||r7)}}();r7.\u0275dir=Sc({type:r7,selectors:[["","matStepLabel",""]],features:[kf]});var s7=function(){this.changes=new D.Subject;this.optionalLabel="Optional";this.completedLabel="Completed";this.editableLabel="Editable"};s7.\u0275fac=function(a){return new (a||s7)};s7.\u0275prov=yc({token:s7,factory:s7.\u0275fac,providedIn:"root"});var n8c={provide:s7,deps:[[new ov,new pv,s7]],useFactory:function(a){return a||new s7}};var o8c=function(a){this._elementRef=a};T(o8c,h7);o8c.\u0275dir=h7.\u0275dir;o8c.\u0275fac=h7.\u0275fac;var p8c=th(o8c,"primary"),t7=function(a,b,c,d){var e=p8c.call(this,c)||this;e._intl=a;e._focusMonitor=b;e._intlSubscription=a.changes.subscribe(function(){return d.markForCheck()});return e};T(t7,p8c);f=t7.prototype;f.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};f.ngOnDestroy=function(){this._intlSubscription.unsubscribe();this._focusMonitor.stopMonitoring(this._elementRef)};
f.focus=function(a,b){a?cy(this._focusMonitor,this._elementRef,a,b):this._elementRef.nativeElement.focus(b)};f._stringLabel=function(){return this.label instanceof r7?null:this.label};f._templateLabel=function(){return this.label instanceof r7?this.label:null};f._getHostElement=function(){return this._elementRef.nativeElement};f._getIconContext=function(){return{index:this.index,active:this.active,optional:this.optional}};
f._getDefaultTextForState=function(a){return"number"==a?""+(this.index+1):"edit"==a?"create":"error"==a?"warning":a};t7.\u0275fac=function(a){return new (a||t7)(B(s7),B(by),B(Dd),B(Kw))};
t7.\u0275cmp=Oc({type:t7,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[kf],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,
"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[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),F(1,"div")(2,"div",1),O(3,fsb,1,2,"ng-container",2),O(4,ksb,5,4,"ng-container",3),H()(),F(5,"div",4),O(6,lsb,2,1,"div",5),O(7,msb,2,1,"div",5),O(8,nsb,2,1,"div",6),O(9,osb,2,1,"div",7),H());a&2&&(E("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disableRipple),z(1),Af("mat-step-icon-state-",b.state," mat-step-icon"),xf("mat-step-icon-selected",b.selected),z(1),E("ngSwitch",
!(!b.iconOverrides||!b.iconOverrides[b.state])),z(1),E("ngSwitchCase",!0),z(2),xf("mat-step-label-active",b.active)("mat-step-label-selected",b.selected)("mat-step-label-error","error"==b.state),z(1),E("ngIf",b._templateLabel()),z(1),E("ngIf",b._stringLabel()),z(1),E("ngIf",b.optional&&"error"!=b.state),z(1),E("ngIf","error"==b.state))},dependencies:[Rw,Ww,Sw,Tw,Uw,HB,rA],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:""}.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,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.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 .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}.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}\n'],
encapsulation:2,changeDetection:0});var q8c=Tg("horizontalStepTransition",[Wg("previous",Vg({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),Wg("current",Vg({transform:"none",visibility:"inherit"})),Wg("next",Vg({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Xg("* => *",qna([Ug("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),Zg("@*",Yg())]),{params:{animationDuration:"500ms"}})]),r8c=Tg("verticalStepTransition",[Wg("previous",Vg({height:"0px",visibility:"hidden"})),Wg("next",Vg({height:"0px",visibility:"hidden"})),
Wg("current",Vg({height:"*",visibility:"inherit"})),Xg("* <=> current",qna([Ug("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),Zg("@*",Yg())]),{params:{animationDuration:"225ms"}})]);var ssb=function(a,b){return{step:a,i:b}},vsb=function(a){return{animationDuration:a}},usb=function(a,b){return{value:a,params:b}},u7=function(a,b,c,d){j7.call(this,a,d);this._errorStateMatcher=b;this._viewContainerRef=c;this._isSelected=D.Subscription.EMPTY;this.stepLabel=void 0};T(u7,j7);
u7.prototype.ngAfterContentInit=function(){var a=this;this._isSelected=this._stepper.steps.changes.pipe($e(function(){return a._stepper.selectionChange.pipe(C(function(b){return b.selectedStep===a}),Ze(a._stepper.selected===a))})).subscribe(function(b){b&&a._lazyContent&&!a._portal&&(a._portal=new gy(a._lazyContent._template,a._viewContainerRef))})};u7.prototype.ngOnDestroy=function(){this._isSelected.unsubscribe()};
u7.prototype.isErrorState=function(a,b){var c=!!(a&&a.invalid&&this.interacted);return this._errorStateMatcher.isErrorState(a,b)||c};u7.\u0275fac=function(a){return new (a||u7)(B(Ec(function(){return v7})),B(nA,4),B(Zf),B(l8c,8))};
u7.\u0275cmp=Oc({type:u7,selectors:[["mat-step"]],contentQueries:function(a,b,c){a&1&&(cg(c,r7,5),cg(c,m8c,5));if(a&2){var d;ag(d=dg())&&(b.stepLabel=d.first);ag(d=dg())&&(b._lazyContent=d.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[Of([{provide:nA,useExisting:u7},{provide:j7,useExisting:u7}]),kf],ngContentSelectors:["*"],decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(a){a&1&&(Ff(),O(0,qsb,2,1,"ng-template"))},dependencies:[ky],encapsulation:2,changeDetection:0});
var v7=function(a,b,c){k7.call(this,a,b,c);this._steps=this._stepHeader=void 0;this.steps=new eg;this.animationDone=new kw;this.labelPosition="end";this.headerPosition="top";this._iconOverrides={};this._animationDone=new D.Subject;this._animationDuration="";this.orientation="mat-vertical-stepper"===c.nativeElement.nodeName.toLowerCase()?"vertical":"horizontal"};T(v7,k7);v7.\u0275dir=k7.\u0275dir;
v7.prototype.ngAfterContentInit=function(){var a=this;k7.prototype.ngAfterContentInit.call(this);this._icons.forEach(function(b){return a._iconOverrides[b.name]=b.templateRef});this.steps.changes.pipe(af(this._destroyed)).subscribe(function(){a._stateChanged()});this._animationDone.pipe(Ne(function(b,c){return b.fromState===c.fromState&&b.toState===c.toState}),af(this._destroyed)).subscribe(function(b){"current"===b.toState&&a.animationDone.emit()})};
v7.prototype._stepIsNavigable=function(a,b){return b.completed||this.selectedIndex===a||!this.linear};v7.prototype._getAnimationDuration=function(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"};sh.Object.defineProperties(v7.prototype,{animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){this._animationDuration=/^\d+$/.test(a)?a+"ms":a}}});
v7.\u0275fac=function(a){return new (a||v7)(B(Cz,8),B(Kw),B(Dd))};
v7.\u0275cmp=Oc({type:v7,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(a,b,c){a&1&&(cg(c,u7,5),cg(c,q7,5));if(a&2){var d;ag(d=dg())&&(b._steps=d);ag(d=dg())&&(b._icons=d)}},viewQuery:function(a,b){a&1&&bg(t7,5);if(a&2){var c;ag(c=dg())&&(b._stepHeader=c)}},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(a,b){a&2&&(of("aria-orientation",b.orientation),xf("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:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},
exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[Of([{provide:k7,useExisting:v7}]),kf],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",
4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage",
"iconOverrides","disableRipple","color","click","keydown"]],template:function(a,b){a&1&&(J(0,0),O(1,xsb,5,2,"div",1),O(2,zsb,2,1,"ng-container",2),K(),O(3,Asb,1,23,"ng-template",null,3,gg));a&2&&(E("ngSwitch",b.orientation),z(1),E("ngSwitchCase","horizontal"),z(1),E("ngSwitchCase","vertical"))},dependencies:[Qw,Rw,Ww,Sw,Tw,t7],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.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}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.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}.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-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}.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}[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:[q8c,r8c]},changeDetection:0});var s8c=[ti("chrome-security@google.com")],w7=function(a,b,c,d,e,g,h,l){this.activeSession=a;this.analytics=b;this.butterBar=c;this.currentUser=d;this.issueApi=e;this.paths=g;this.redirectUrl=h;this.userAccess=l;this.Persona=a8c;var q;a=window.navigator.platform;b=window.navigator.userAgent;c=["Win32","Win64","Windows","WinCE"];d=["iPhone","iPad","iPod"];a=["Macintosh","MacIntel","MacPPC","Mac68K"].includes(a)?"Mac OS":d.includes(a)?"iOS":c.includes(a)?"Windows":/Android/.test(b)?"Android":/Linux/.test(a)?
"Linux":/\bCrOS\b/.test(b)?"Chrome OS":"Unknown/Other";b=window.navigator.userAgent.match(/chrome\/(\d|\.)+/i)||[];if(0<b.length){var v;b=null==(v=b[0])?void 0:v.split("/")[1]}else b=void 0;this.model={persona:"USER",category:void 0,os:a,channel:"Not sure",version:null!=(q=b)?q:"",summary:"",reproSteps:"1. \n2. \n3. ",description:"",regression:"N/A",comments:"",customQuestionResponses:[]};this.ackDupes=!1;this.uploads=[];this.enableRecaptcha=pF(this.activeSession,"enableRecaptcha");this.recaptchaResponse=
""},Bsb=function(a,b){switch(b){case 0:return!!a.model.category&&a.ackDupes;case 1:return""!==a.model.summary&&"1. \n2. \n3. "!==a.model.reproSteps&&""!==a.model.description;default:Ch(b)}};f=w7.prototype;f.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};f.uploadFile=function(a){a=this.attachmentUploader.upload(a);this.addUpload(a)};f.addUpload=function(a){this.uploads.push(a)};f.removeUpload=function(a){ra(this.uploads,a)};
f.getAttachments=function(){for(var a=[],b=k(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,2===c.state&&c.blobRef&&a.push(Yh(c.blobRef));return a};
f.submit=function(){var a=this,b,c,d,e,g;return pe(function(h){switch(h.nextAddress){case 1:var l=a.model,q=a.currentUser.user,v=null,x=null,A;"SECURITY"===(null==(A=l.category)?void 0:A.value)&&(v="LIMIT_VIEW",x=s8c);var G;A=(null==(G=l.category)?void 0:G.componentId)||402888;G=l.summary;var M=[{customFieldId:199900,textValue:l.os},{customFieldId:199877,textValue:l.version},{customFieldId:199876,textValue:l.channel},{customFieldId:199878,textValue:l.regression}],Q;l="\n# Steps to reproduce the problem\n"+
l.reproSteps+"\n\n# Problem Description\n"+l.description+"\n\n"+(0<l.comments.length?"\n# Additional Comments\n"+l.comments:"")+"\n\n# Summary\n"+l.summary+"\n\n"+Ksb(l.customQuestionResponses)+"\n\n# Additional Data\nCategory: "+(null==(Q=l.category)?void 0:Q.title);l=l.replace(/^\n/,"");b={componentId:A,type:"BUG",status:"NEW",priority:"P2",severity:"S2",title:G,customField:M,comment:l.replace(/\n{3,}/g,"\n\n"),formattingMode:"MARKDOWN",inProd:!0,isArchived:!1,reporterUser:q,issueAccessLimitLevel:v,
collaboratorsUsers:x,ccUsers:[q],authorUser:null,createdTimeMicros:null,version:null,assigneeUser:null,verifierUser:null,attachmentId:null,duplicateOfIssueId:null,blockedByIssueId:null,blockingIssueId:null,changelist:null,postmortems:null,foundInVersion:null,targetedToVersion:null,verifiedInVersion:null,hotlistId:null,retention:null,isDeleted:null,deletionReason:null,significanceOverride:null,duplicateIssueId:null,sloStartTime:null,sloEndTime:null,sloSnoozeType:null};YG(a.butterBar,"Saving...",0);
qe(h,2);return h.yield(a.issueApi.createIssueWithWizard({snapshot:b,attachments:a.getAttachments(),recaptchaToken:a.enableRecaptcha?a.recaptchaResponse:void 0}),4);case 4:return c=h.yieldResult,d=c.issueId,a.butterBar.dismiss(),a.analytics.trackEvent(ao.CREATE_ISSUE,"fileAndRedirect","wizard",!0),h.yield(MG(a.userAccess,"reader","issues/"+d),5);case 5:(e=h.yieldResult)?jSc(a.redirectUrl,a.paths.editIssue(d),String(d)):(YG(a.butterBar,"New issue created: "+d+" (view access not granted)",0),jSc(a.redirectUrl,
a.paths.listIssues()));Hs(h,0);break;case 2:g=te(h),YG(a.butterBar,"Failed to create issue: "+g),ue(h)}})};w7.\u0275fac=function(a){return new (a||w7)(B(Bs),B(EI),B(XG),B(qJ),B(GF),B(QH),B(K2),B(LG))};
w7.\u0275cmp=Oc({type:w7,selectors:[["chrome-wizard"]],viewQuery:function(a,b){a&1&&bg(VZ,5);if(a&2){var c;ag(c=dg())&&(b.attachmentUploader=c.first)}},decls:111,vars:22,consts:[["headerPosition","bottom","animationDuration","0","aria-label","Issue filing form","linear","",1,"bv2-view",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"],[3,"ngModel","ngModelChange"],["value","Android"],["value","Chrome OS"],["value","iOS"],["value","Linux"],["value","Mac OS"],["value","Windows"],["value","Unknown/Other"],[1,"inline-block","channel"],["appearance","outline","aria-label","Chrome Channel",1,"inline"],["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","","aria-label","One line summary",3,"ngModel","ngModelChange"],["matInput","","required","","aria-label","Steps to reproduce problem",3,"ngModel","ngModelChange"],["matInput","","required","","aria-label","Describe the problem",3,"ngModel","ngModelChange"],["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","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"],["href","#"],[3,"href"],[3,"category","responses"],[1,"wizard-recaptcha"],[3,"onUpdate"]],template:function(a,b){a&1&&(F(0,"mat-stepper",0)(1,"mat-step",1)(2,"h2"),P(3,"Report an issue with Chromium"),H(),F(4,"h3"),P(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. "),
H(),I(6,"br"),F(7,"h4",2),P(8,"Please select your following role:"),H(),F(9,"wizard-persona-picker",3),L("personaChange",function(d){return b.model.persona=d}),H(),O(10,Csb,17,4,"ng-container",4),O(11,Dsb,10,1,"ng-template",null,5,gg),H(),F(13,"mat-step",6)(14,"h2"),P(15),H(),F(16,"h3"),P(17,"Please confirm that the following version information is correct."),H(),F(18,"h4",7),P(19,"Operating System:"),H(),F(20,"mat-form-field",8)(21,"mat-select",9),L("ngModelChange",function(d){return b.model.os=
d}),F(22,"mat-option",10),P(23,"Android"),H(),F(24,"mat-option",11),P(25,"Chrome OS"),H(),F(26,"mat-option",12),P(27,"iOS"),H(),F(28,"mat-option",13),P(29,"Linux"),H(),F(30,"mat-option",14),P(31,"Mac OS"),H(),F(32,"mat-option",15),P(33,"Windows"),H(),F(34,"mat-option",16),P(35,"Unknown/Other"),H()()(),F(36,"h4",17),P(37,"Channel:"),H(),F(38,"mat-form-field",18)(39,"mat-select",9),L("ngModelChange",function(d){return b.model.channel=d}),F(40,"mat-option",19),P(41,"Not sure"),H(),F(42,"mat-option",
20),P(43,"Stable"),H(),F(44,"mat-option",21),P(45,"Beta"),H(),F(46,"mat-option",22),P(47,"Dev"),H(),F(48,"mat-option",23),P(49,"Canary"),H()()(),I(50,"br"),F(51,"h4",7),P(52,"Chrome version:"),H(),F(53,"mat-form-field",24)(54,"input",25),L("ngModelChange",function(d){return b.model.version=d}),H()(),F(55,"h4",2),P(56,"Please enter a one line summary (100 character limit)"),H(),F(57,"mat-form-field",26)(58,"textarea",27),L("ngModelChange",function(d){return b.model.summary=d}),P(59,"      "),H()(),
F(60,"h4",2),P(61,"Steps to reproduce problem (5000 character limit)"),H(),F(62,"mat-form-field",26)(63,"textarea",28),L("ngModelChange",function(d){return b.model.reproSteps=d}),P(64,"      "),H()(),F(65,"h4",2),P(66,"Please describe the problem (5000 character limit)"),H(),F(67,"mat-form-field",26)(68,"textarea",29),L("ngModelChange",function(d){return b.model.description=d}),P(69,"      "),H()(),F(70,"h4"),P(71,"Did this work before?"),H(),F(72,"mat-form-field",30)(73,"mat-select",9),L("ngModelChange",
function(d){return b.model.regression=d}),F(74,"mat-option",31),P(75,"Not applicable or don't know"),H(),F(76,"mat-option",32),P(77,"Yes - This is a regression"),H(),F(78,"mat-option",33),P(79,"No - I think it never worked"),H()()(),F(80,"div",34)(81,"button",35),I(82,"mat-icon",36),P(83," Back "),H(),F(84,"button",37),P(85," Next "),I(86,"mat-icon",38),H()()(),F(87,"mat-step",39)(88,"h2"),P(89,"Extra information about the issue"),H(),O(90,Esb,1,1,"wizard-custom-questions",40),F(91,"h4"),P(92,"Additional comments"),
H(),F(93,"mat-form-field",26)(94,"textarea",41),L("ngModelChange",function(d){return b.model.comments=d}),H()(),F(95,"h4"),P(96,"Upload any relevant screenshots"),H(),F(97,"b-attachment-uploader",42),L("onUploadCancel",function(d){return b.removeUpload(d)}),H(),F(98,"div",43)(99,"b-attachment-selector",44),L("onSelect",function(d){return b.uploadFile(d)}),H(),P(100," You can include multiple attachments. "),H(),O(101,Fsb,2,0,"div",45),F(102,"div",34)(103,"button",35),I(104,"mat-icon",36),P(105," Back "),
H(),F(106,"button",46),L("click",function(){return b.submit()}),P(107," Submit "),H()()(),O(108,Gsb,0,0,"ng-template",47),O(109,Hsb,0,0,"ng-template",48),O(110,Isb,0,0,"ng-template",49),H());if(a&2){var c=Kf(12);E("disableRipple",!0);z(1);E("completed",Bsb(b,0));z(8);E("persona",b.model.persona);z(1);E("ngIf",b.model.persona!==b.Persona.CONTRIBUTOR)("ngIfElse",c);z(3);Hf("aria-label","Details for problems with ",null==b.model.category?null:b.model.category.title,"");E("completed",Bsb(b,1));z(2);Lf("Details for problems with ",
null==b.model.category?null:b.model.category.title,"");z(6);E("ngModel",b.model.os);z(18);E("ngModel",b.model.channel);z(15);E("ngModel",b.model.version);z(4);E("ngModel",b.model.summary);z(5);E("ngModel",b.model.reproSteps);z(5);E("ngModel",b.model.description);z(5);E("ngModel",b.model.regression);z(11);E("disabled",!Bsb(b,1));z(6);E("ngIf",b.model.category);z(4);E("ngModel",b.model.comments);z(3);E("uploads",b.uploads);z(2);E("includeTextLabel",!0);z(2);E("ngIf",b.enableRecaptcha);z(5);E("disabled",
!b.isCaptchaValid())}},dependencies:[SZ,VZ,Rw,HB,wg,tx,Lx,Ax,QA,i8c,j8c,h8c,$O,uB,xB,HP,SA,u7,v7,o7,p7,q7,cT,d8c,g7,e8c],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-radio-container{margin-right:4px}[_nghost-%COMP%]     .mat-step-header .mat-step-label{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}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:85%}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 x7=function(a,b,c,d,e){var g=this;this.userResources=a;this.history=b;this.router=c;this.currentTracker=d;this.activeSession=e;this.viewIssues=im;this.createIssue=xwa;this.componentSettings=ywa;this.trackerId=this.currentTracker.getTrackerId();this.includeArchived=!1;this.isThinking=!0;this.isInternalSession=this.activeSession.isInternalSession();this.placeholder$=this.currentTracker.inTracker$.pipe(C(function(h){return h||g.activeSession.isExternalSession()?"Find components by name or id":"Find components by name, team, or id"}));
this.recentComponents$=this.userResources.getRecentComponents().then(function(h){return h.filter(function(l){return g.filterTrackerComponents(l)})}).finally(function(){g.isThinking=!1})};x7.prototype.back=function(){J2(this.history)};x7.prototype.filterTrackerComponents=function(a){return Xl(this.trackerId)||a.trackerId===this.trackerId};x7.\u0275fac=function(a){return new (a||x7)(B(lI),B(I2),B(IH),B(PL),B(Bs))};
x7.\u0275cmp=Oc({type:x7,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&&(F(0,"article",
0)(1,"header",1)(2,"div",2)(3,"button",3),L("click",function(){return b.back()}),I(4,"mat-icon",4),H(),F(5,"h2"),P(6,"Components"),H()(),F(7,"div",5),O(8,Lsb,2,0,"a",6),F(9,"b-slide-toggle",7),L("modelChange",function(e){return b.includeArchived=e}),H()()(),F(10,"section",8)(11,"h3"),P(12,"Search"),H(),F(13,"b-team-component-picker",9),L("selectedComponentChange",function(e){null!=e&&ls(b.router,ywa(e.componentId).path)}),R(14,"async"),R(15,"async"),H(),F(16,"h3",10),P(17,"Recent Components"),H(),
F(18,"div",11),O(19,Psb,4,2,"ng-container",12),R(20,"async"),H(),F(21,"p",13)(22,"a",14),P(23,"See all Components"),H()()()());if(a&2){var c,d;z(8);E("ngIf",b.isInternalSession);z(1);E("model",b.includeArchived);z(4);E("includeArchived",b.includeArchived)("placeholder",null!==(c=S(14,6,b.placeholder$))&&void 0!==c?c:"")("ariaLabel",null!==(d=S(15,8,b.placeholder$))&&void 0!==d?d:"");z(6);E("ngIf",S(20,10,b.recentComponents$))}},dependencies:[QA,RA,lD,Qw,Rw,HB,KH,wO,qV,e0,UK,VK,ZK,WK,qZ,MP,SL,Xw],
encapsulation:2});var y7=function(){};y7.\u0275fac=function(a){return new (a||y7)};y7.\u0275mod=Qc({type:y7});y7.\u0275inj=zc({imports:[OG,ED,OH,xO]});var t8c=["bookmarkGroupName"],u8c=function(a){return{"bv2-edit-resource-readonly":a}},z7=function(a,b,c,d,e,g,h,l,q,v){rF.call(this);var x=this;this.location=a;this.appHistory=b;this.snackBar=c;this.bookmarkGroupsApi=d;this.paths=e;this.analytics=g;this.errorHandler=l;this.appEvents=v;this.error="";this.isSaving=!1;this.bookmarkGroupUnderEdit=new xx({name:new zx("",px),description:new zx("")});h.setTitle("Create Bookmark Group");this.subscriptions.add(yQ(q,function(){return!(!x.name()&&!x.description())},
!1))};T(z7,rF);z7.\u0275dir=rF.\u0275dir;f=z7.prototype;f.ngAfterViewInit=function(){this.bookmarkGroupName.nativeElement.focus()};
f.save=function(){var a=this;this.validate()&&(this.snackBar.open("Saving bookmark group...","dismiss",{duration:0}),this.isSaving=!0,this.bookmarkGroupsApi.create({name:this.name(),description:this.description()}).then(function(b){a.isSaving=!1;a.snackBar.open('Bookmark group "'+b.name+'" saved.',"dismiss",{duration:2E3});a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:b.bookmarkGroupId});a.analytics.trackEvent("sidebarHotlists","createdBookmarkGroup");a.location.replaceUrl(a.paths.editBookmarkGroup(b.bookmarkGroupId));
a.revertChanges()}).catch(function(b){a.isSaving=!1;a.errorHandler.errorHandler(null,b)}))};f.validate=function(){if(""===this.name())return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};f.back=function(){J2(this.appHistory)};f.revertChanges=function(){this.bookmarkGroupUnderEdit.reset()};f.name=function(){var a,b=null==(a=this.bookmarkGroupUnderEdit.get("name"))?void 0:a.value;return b?b:""};
f.description=function(){var a,b=null==(a=this.bookmarkGroupUnderEdit.get("description"))?void 0:a.value;return b?b:""};z7.\u0275fac=function(a){return new (a||z7)(B(PH),B(I2),B(VG),B(xX),B(QH),B(EI),B(wW),B(aH),B(xQ),B(eH))};
z7.\u0275cmp=Oc({type:z7,selectors:[["b-create-bookmark-group"]],viewQuery:function(a,b){a&1&&bg(t8c,5);if(a&2){var c;ag(c=dg())&&(b.bookmarkGroupName=c.first)}},features:[kf],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&&(F(0,"div",0)(1,"div",1)(2,"button",2),L("click",function(){return b.back()}),I(3,"mat-icon",3),H(),F(4,"h2"),P(5,"Create a new bookmark group"),H()()(),F(6,"div",4)(7,"div",5)(8,"form",6),I(9,"b-error-banner",7),F(10,"div",8)(11,"label",9),P(12,"Name"),H(),I(13,"input",10,11),H(),F(15,"div",8)(16,"label",12),P(17,"Description"),H(),F(18,"textarea",13),P(19,"        "),H()(),F(20,"p",14),P(21," Advanced settings such as selected items and access controls may be defined once the bookmark group is created. "),
H(),F(22,"div",15)(23,"button",16),L("click",function(){return b.save()}),P(24," Save "),H(),F(25,"button",17),L("click",function(){return b.revertChanges()}),P(26," Revert changes "),H()()()()());a&2&&(z(8),E("formGroup",b.bookmarkGroupUnderEdit),z(1),E("error",b.error),z(1),E("ngClass",Rf(7,u8c,b.isSaving)),z(3),E("disabled",b.isSaving),z(2),E("ngClass",Rf(9,u8c,b.isSaving)),z(3),E("disabled",b.isSaving),z(5),E("disabled",b.isSaving))},dependencies:[Pw,HB,QA,lD,Bx,wg,tx,ux,Lx,Hx,Ix,h1],encapsulation:2});var v8c=["form"],A7=function(a,b,c,d,e,g,h,l,q,v){rF.call(this);this.butterBar=a;this.paths=b;this.analytics=c;this.appHistory=d;this.bLocation=e;this.activeSession=g;this.documentationLinks=h;this.componentActions=v;this.parentComponentInternal=null;this.commentEditsEnabled=this.componentIsValid=this.retentionIsValid=this.isSaving=!1;this.component={componentId:0,parentComponentId:0,name:"",description:"",archived:!1,customFieldId:null,accessLimit:{accessLevel:"ACCESS_LEVEL_UNSPECIFIED"},emailAlias:"dummyemail@google.com",
componentPathInfo:{componentPathId:null,componentPathName:null,allCustomField:null},userHasEditAccess:void 0,commentEditState:"DISABLED",defaultTemplateId:0,slo:{inherit:!0,source:"BUGSCOPE",id:"0"},bugscopeSloId:"0"};this.sessionIsExternal=g.isExternalSession();l.parentId&&this.loadParentComponent(bi(l.parentId));q.setTitle("Create component")};T(A7,rF);A7.\u0275dir=rF.\u0275dir;f=A7.prototype;f.ngAfterViewInit=function(){};
f.create=function(){var a=this;this.validate()&&(YG(this.butterBar,"Saving component...",0),this.isSaving=!0,this.component.parentComponentId=this.parentComponent.componentId,this.componentActions.create(this.component).then(function(b){YG(a.butterBar,"Component saved, redirecting in "+a.activeSession.getCreateComponentRedirectDelay()/1E3+"s.",a.activeSession.getCreateComponentRedirectDelay());a.analytics.trackEvent("component","create");a.commentEditsEnabled?a.analytics.trackEvent("component","comment edits enabled",
"create"):a.analytics.trackEvent("component","comment edits disabled","create");setTimeout(function(){a.isSaving=!1;a.bLocation.replaceUrl(a.paths.manageComponent(b.componentId))},a.activeSession.getCreateComponentRedirectDelay())}).catch(function(b){ZG(a.butterBar,am(b),0);a.isSaving=!1}))};f.back=function(){J2(this.appHistory)};
f.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};f.loadParentComponent=function(a){var b=this;this.componentActions.getUncached(a,!0).then(function(c){b.parentComponent=c})};
f.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};f.onComponentSelect=function(a){this.parentComponent=a;w8c(this)};f.accessCheckComplete=function(a){this.componentIsValid=a;w8c(this)};
var w8c=function(a){a.parentComponent?(a.component.commentEditState=a.parentComponent.commentEditState,a.commentEditsEnabled="ENABLED"===a.component.commentEditState):(a.component.commentEditState="DISABLED",a.commentEditsEnabled=!1)};sh.Object.defineProperties(A7.prototype,{parentComponent:{configurable:!0,enumerable:!0,get:function(){return this.parentComponentInternal},set:function(a){this.parentComponentInternal=a;w8c(this)}}});
A7.\u0275fac=function(a){return new (a||A7)(B(XG),B(QH),B(EI),B(I2),B(PH),B(Bs),B(OJ),B(sK),B(wW),B(kV))};
A7.\u0275cmp=Oc({type:A7,selectors:[["create-component-page"]],viewQuery:function(a,b){a&1&&bg(v8c,5);if(a&2){var c;ag(c=dg())&&(b.createComponentForm=c.first)}},features:[kf],decls:55,vars:31,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],["format","icon","size","large","tooltip","Go back","b-aria-label","Go back",3,"onAction"],["name","arrow-backward","size","large"],[1,"bv2-view"],[1,"edit-resource-header"],[1,"edit-resource-panel"],["novalidate","",1,"create-component-form"],["form","ngForm"],[3,
"error"],[1,"edit-field"],["for","component-name",1,"required"],[1,"edit-field-header"],["type","text","id","component-name","placeholder","Component name","name","componentName","aria-label","Component name",3,"bFocus","ngModel","disabled","required","ngModelChange"],["for","component-description"],["id","component-description","placeholder","Component description","name","componentDescription","aria-label","Component description",3,"ngModel","disabled","ngModelChange"],["for","parent-component",
1,"required"],["id","parent-component","ariaLabel","Parent component",3,"selectedComponent","placeholder","isRequired","checkAdminAccess","selectedComponentChange","accessCheckComplete"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],["ariaLabel","Editable comments",3,"checked","change"],[1,"edit-field-help"],[1,"permission-toggle-help","edit-field-help"],["target","_blank","class","keep-underline keep-focus-ring",3,"href",4,"ngIf"],["for","retention-settings",1,"required"],
["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["id","retention-settings"],[3,"issueRetentionDisabled","isExternal","initialModel","modelChange","validChange"],[1,"advanced-settings-info"],[1,"bv2-component-button-bar"],["format","fill",3,"disabled","onAction"],["format","hairline",3,"disabled","onAction"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"b-button",2),L("onAction",function(){return b.back()}),I(3,"b-icon",3),H()()(),F(4,"div",4)(5,"h2",5),P(6,"Create component"),
H(),F(7,"div",6)(8,"form",7,8),I(10,"b-error-banner",9),F(11,"div",10)(12,"label",11)(13,"span",12),P(14,"Name"),H()(),F(15,"input",13),L("ngModelChange",function(c){return b.component.name=c}),H()(),F(16,"div",10)(17,"label",14)(18,"span",12),P(19,"Description"),H()(),F(20,"textarea",15),L("ngModelChange",function(c){return b.component.description=c}),P(21,"        "),H()(),F(22,"div",10)(23,"label",16)(24,"span",12),P(25,"Parent Component"),H()(),F(26,"b-team-component-picker",17),L("selectedComponentChange",
function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)})("accessCheckComplete",function(c){return b.accessCheckComplete(c)}),H()(),F(27,"div",18)(28,"div",19)(29,"mat-checkbox",20),L("change",function(c){return b.setCommentEditState(c.checked)}),H()(),F(30,"div")(31,"strong",21),P(32,"Editable Comments"),H(),F(33,"div",22),P(34," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. "),O(35,Rsb,2,1,"a",23),H()()(),
F(36,"div",10)(37,"label",24)(38,"span",12),P(39,"Retention Settings"),H()(),F(40,"div",21)(41,"p"),P(42,"Please choose a period of time to retain the data stored in this component."),I(43,"br"),F(44,"a",25),P(45," Learn more "),H()()(),F(46,"div",26)(47,"b-retention-settings-form",27),L("modelChange",function(c){return b.component.retentionSettings=c})("validChange",function(c){return b.retentionIsValid=c}),H()()(),F(48,"p",28),P(49," Advanced settings such as custom field and access controls may be defined once the component is created. "),
H(),F(50,"div",29)(51,"b-button",30),L("onAction",function(){return b.create()}),P(52," Save "),H(),F(53,"b-button",31),L("onAction",function(){return b.back()}),P(54," Discard "),H()()()()());a&2&&(z(8),xf("show-errors",b.error),z(2),E("error",b.error),z(1),xf("bv2-edit-resource-readonly",b.isSaving),z(4),E("bFocus",!0)("ngModel",b.component.name)("disabled",b.isSaving)("required",!0),z(1),xf("bv2-edit-resource-readonly",b.isSaving),z(4),E("ngModel",b.component.description)("disabled",b.isSaving),
z(2),xf("bv2-edit-resource-readonly",b.isSaving),z(4),E("selectedComponent",b.parentComponent)("placeholder","Choose Component")("isRequired",!0)("checkAdminAccess",!0),z(1),xf("bv2-edit-resource-readonly",b.isSaving),z(2),E("checked",b.commentEditsEnabled),z(6),E("ngIf",!b.sessionIsExternal),z(9),E("href",ws(),Ud),z(2),xf("bv2-edit-resource-readonly",b.isSaving),z(1),E("issueRetentionDisabled",b.isSaving)("isExternal",Lp(b.parentComponent))("initialModel",b.component.retentionSettings),z(4),E("disabled",
b.isSaving||!b.componentIsValid),z(2),E("disabled",b.isSaving))},dependencies:[vQ,Rw,h1,hV,Bx,wg,tx,ux,Lx,Ax,yx,dO,$O,p2,qV],styles:["b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}\n/*# sourceMappingURL=create_component_page.css.map */"]});var x8c=["hotlistName"],y8c=function(a){return{"bv2-edit-resource-readonly":a}},B7=function(a,b,c,d,e,g,h,l,q,v){rF.call(this);var x=this;this.location=a;this.appHistory=b;this.snackBar=c;this.hotlistApi=d;this.paths=e;this.analytics=g;this.errorHandler=l;this.appEvents=v;this.error="";this.isSaving=!1;this.hotlistUnderEdit=new xx({name:new zx("",px),description:new zx("")});h.setTitle("Create Hotlist");this.subscriptions.add(yQ(q,function(){return!(!x.name()&&!x.description())},!1))};T(B7,rF);
B7.\u0275dir=rF.\u0275dir;f=B7.prototype;f.ngAfterViewInit=function(){this.hotlistName.nativeElement.focus()};
f.save=function(){var a=this;this.validate()&&(this.snackBar.open("Saving hotlist...","dismiss",{duration:0}),this.isSaving=!0,this.hotlistApi.createHotlist(this.name(),this.description()).then(function(b){a.isSaving=!1;a.snackBar.open('Hotlist "'+b.name+'" saved.',"dismiss",{duration:6E3});a.appEvents.hotlistChanged.next({hotlistId:b.hotlistId});a.analytics.trackEvent("hotlist","create");a.location.replaceUrl(a.paths.editHotlist(b.hotlistId));a.revertChanges()}).catch(function(b){a.isSaving=!1;a.errorHandler.errorHandler(null,
b)}))};f.validate=function(){if(""===this.name())return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};f.back=function(){J2(this.appHistory)};f.revertChanges=function(){this.hotlistUnderEdit.reset()};f.name=function(){var a,b=null==(a=this.hotlistUnderEdit.get("name"))?void 0:a.value;return b?b:""};f.description=function(){var a,b=null==(a=this.hotlistUnderEdit.get("description"))?void 0:a.value;return b?b:""};
B7.\u0275fac=function(a){return new (a||B7)(B(PH),B(I2),B(VG),B(cI),B(QH),B(EI),B(wW),B(aH),B(xQ),B(eH))};
B7.\u0275cmp=Oc({type:B7,selectors:[["b-create-hotlist"]],viewQuery:function(a,b){a&1&&bg(x8c,5);if(a&2){var c;ag(c=dg())&&(b.hotlistName=c.first)}},features:[kf],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&&(F(0,"div",0)(1,"div",1)(2,"button",
2),L("click",function(){return b.back()}),I(3,"mat-icon",3),H(),F(4,"h2"),P(5,"Create a new hotlist"),H()()(),F(6,"div",4)(7,"div",5)(8,"form",6),I(9,"b-error-banner",7),F(10,"div",8)(11,"label",9),P(12,"Name"),H(),I(13,"input",10,11),H(),F(15,"div",8)(16,"label",12),P(17,"Description"),H(),F(18,"textarea",13),P(19,"        "),H()(),F(20,"p",14),P(21," Advanced settings such as access controls may be defined once the hotlist is created. "),H(),F(22,"div",15)(23,"button",16),L("click",function(){return b.save()}),
P(24," Save "),H(),F(25,"button",17),L("click",function(){return b.revertChanges()}),P(26," Revert changes "),H()()()()());a&2&&(z(8),E("formGroup",b.hotlistUnderEdit),z(1),E("error",b.error),z(1),E("ngClass",Rf(7,y8c,b.isSaving)),z(3),E("disabled",b.isSaving),z(2),E("ngClass",Rf(9,y8c,b.isSaving)),z(3),E("disabled",b.isSaving),z(5),E("disabled",b.isSaving))},dependencies:[Pw,HB,QA,lD,Bx,wg,tx,ux,Lx,Hx,Ix,h1],encapsulation:2});var C7=function(a,b,c){this.analytics=a;this.activeSession=b;this.hatsService=c;this.enableDupSearchControl=pF(this.activeSession,"enableDupSearchControl");this.enableDupSearchA=pF(this.activeSession,"enableDupSearchA");this.enableDupSearchB=pF(this.activeSession,"enableDupSearchB");this.enableDupSearchC=pF(this.activeSession,"enableDupSearchC");this.enableDupSearchMoma=pF(this.activeSession,"enableDupSearchMoma");this.enableSimilarIssues=this.activeSession.isInternalSession()&&(this.enableDupSearchControl||
this.enableDupSearchA||this.enableDupSearchB||this.enableDupSearchC||this.enableDupSearchMoma)};C7.prototype.triggerSimilarIssuesSurvey=function(){return Roc(this.hatsService,"HFPx18aEL0g6pPHSLo10YtkWxxH9",z8c(this)).pipe(C(function(){}))};C7.prototype.trackTitleHoverOver=function(){this.analytics.trackEvent(ao.MAGIC_BOX,"titleHoverOver",this.getGroupName())};C7.prototype.trackTitleClick=function(){this.analytics.trackEvent(ao.MAGIC_BOX,"titleClick",this.getGroupName())};
var z8c=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};
C7.prototype.getGroupName=function(){return this.enableDupSearchControl?"BaseVariant":this.enableDupSearchA?"VariantA":this.enableDupSearchB?"VariantB":this.enableDupSearchC?"VariantC":this.enableDupSearchMoma?"VariantMoma":"Control"};C7.\u0275fac=function(a){return new (a||C7)(t(EI),t(Bs),t(jQ))};C7.\u0275prov=yc({token:C7,factory:C7.\u0275fac,providedIn:"root"});var D7=function(a){this.internalArray_=m(a,0,D7.messageId)};T(D7,p);D7.prototype.getIssueIdsList=function(){return Sh(this,1)};D7.prototype.setIssueIdsList=function(a){return uj(this,1,a)};D7.prototype.addIssueIds=function(a){Cb(this,1,a)};D7.repeatedFields_=[1];D7.prototype.toObject=function(){if(null!=this){r(this);var a={issueIdsList:n(Sh(this,1))}}else a=void 0;return a};D7.messageId="b.BatchIssueDigestRequest";var E7=function(a){this.internalArray_=m(a,0,E7.messageId)};T(E7,p);E7.prototype.getIssueDigestsList=function(){return kj(this,l$b,1)};E7.repeatedFields_=[1];E7.prototype.toObject=function(){if(null!=this){r(this);var a={issueDigestsList:Ub(this.getIssueDigestsList(),m$b)}}else a=void 0;return a};E7.messageId="b.BatchIssueDigestResponse";var F7=function(a,b){this.batchApiConfig=a;this.batchApiAdapter=b;this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};F7.prototype.get=function(a){return this.adaptedGet(a).pipe(C(ssa))};F7.prototype.getAll=function(a){return this.batchApiConfig.call(a).pipe(C(Ssb))};F7.\u0275fac=function(a){return new (a||F7)(t(G7),t(vG))};F7.\u0275prov=yc({token:F7,factory:F7.\u0275fac,providedIn:"root"});var G7=function(a){this.executor=a};
G7.prototype.call=function(a){var b=[].concat(cd(a));b.sort();a=new D7;b=k(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:E7})};G7.prototype.split=function(a,b){b=k(b.getIssueDigestsList());for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.getIssueId()===a)return c;return(new l$b).setIssueId(a)};G7.\u0275fac=function(a){return new (a||G7)(t(hE))};G7.\u0275prov=yc({token:G7,factory:G7.\u0275fac,providedIn:"root"});var A8c=function(a){this.internalArray_=m(a,0,A8c.messageId)};T(A8c,p);f=A8c.prototype;f.getTitle=function(){return U(this,1)};f.setTitle=function(a){return sk(this,1,a)};f.getComponentId=function(){return Ii(this,2)};f.setComponentId=function(a){return V(this,2,a)};f.hasComponentId=function(){return Hi(this,2)};f.toObject=function(){if(null!=this){r(this);var a={title:n(Z(this,1)),componentId:n(Yb(this,2)),isRecursive:n(vr(this,3))}}else a=void 0;return a};A8c.messageId="b.MomaIssueSearchRequest";var H7=function(a){this.internalArray_=m(a,0,H7.messageId)};T(H7,p);H7.prototype.getIssueId=function(a){return jt(this,1,a)};H7.prototype.setIssueId=function(a){return mt(this,1,a)};H7.repeatedFields_=[1];H7.prototype.toObject=function(){if(null!=this){r(this);var a={issueIdList:n(Sh(this,1))}}else a=void 0;return a};H7.messageId="b.MomaIssueSearchResponse";var I7=function(a){this.executor=a},B8c=function(a,b){b=Vj((new A8c).setTitle(b.title).setComponentId(String(b.componentId)),3,!0);return a.executor.post({url:"action/issues/momasearch",body:b,responseConstructor:H7}).pipe(C(function(c){return Sh(c,1)}))};I7.\u0275fac=function(a){return new (a||I7)(t(hE))};I7.\u0275prov=yc({token:I7,factory:I7.\u0275fac,providedIn:"root"});var J7=function(a,b,c,d,e){this.paths=a;this.relatedIssuesService=b;this.experimentSupport=c;this.momaSearchApi=d;this.issueDigests=e;this.enableDupSearchControl=this.experimentSupport.enableDupSearchControl;this.enableDupSearchA=this.experimentSupport.enableDupSearchA;this.enableDupSearchB=this.experimentSupport.enableDupSearchB;this.enableDupSearchC=this.experimentSupport.enableDupSearchC;this.enableDupSearchMoma=this.experimentSupport.enableDupSearchMoma},C8c=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)};J7.prototype.hasCustomFieldValue=function(a){return a.customField?0<a.customField.map(function(b){return new ii(b)}).filter(function(b){return!b.isEmpty()}).length:!1};
J7.prototype.searchAsync=function(a,b,c){var d=this;return(0,D.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 g,h;return{issues:(null!=(g=e.issueDigests)?g:[]).map(function(l){return{id:l.issueId,title:l.title,href:d.paths.editIssue(l.issueId)}}),numTotalResults:null!=(h=e.numTotalResults)?h:0,viewAllHref:d.paths.listIssues({q:a,s:"modified_time:desc"})}}).catch(function(){return{issues:[],
numTotalResults:0}})})};
J7.prototype.fetchIssues=function(a){if(this.enableDupSearchMoma&&a.issue.title)return D8c(this,a.issue.title,a.componentId);if(this.enableDupSearchControl||this.enableDupSearchA||this.enableDupSearchB||this.enableDupSearchC){var b=a.componentId;var c=a.customFieldMap,d=a.issue;if(C8c(this,c,d)){var e=Usb(d.title||"");e=0<e.length?"title:("+e.join(" ")+")":"";var g=xi(d.componentId);e=(g?"componentid:"+g:"")+(e?" "+e:"");if(this.enableDupSearchControl)b=e;else if(g=Usb(xi(d.comment)||""),g=0<g.length?
"comment:("+g.join(" ")+")":"",e+=g?" "+g:"",this.enableDupSearchA)b=e;else{g=xi(d.type);var h=xi(d.priority);e=e+(" "+(h?"priority:"+h:""))+(" "+(g?"type:"+g:""));this.enableDupSearchB?b=e:(g=xi(d.hotlistId),g=!g||1>(null==g?void 0:g.length)?"":"hotlistid:("+(g.join(" | ")+")"),e=e+(" "+g)+(" "+E8c(this,c,xi(d.customField))),b=this.enableDupSearchC?e:F8c(b))}}else b=F8c(b);return this.searchAsync(b,a.count,a.page)}return this.searchAsync(F8c(a.componentId),a.count,a.page)};
var F8c=function(a){return"componentid:"+a+" status:open"},E8c=function(a,b,c){return!c||1>(null==c?void 0:c.length)?"":c.map(function(d){return new ii(d)}).filter(function(d){return!d.isEmpty()}).map(function(d){return G8c(a,b,d)}).join(" ")},G8c=function(a,b,c){if(c.isEmpty())return"";var d="customfield"+c.customFieldId+":";switch(a.getCustomFieldType(b,c)){case "TEXT":var e='"'+c.textValue+'"';break;case "DATE":e=H8c(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(g){return H8c(g)}).join(" | ")+")";break;case "REPEATED_ENUM":e='("'+c.repeatedEnumValue.values.join('" | "')+'")';break;case "REPEATED_NUMERIC":e="("+c.repeatedNumericValue.values.join(" | ")+")"}return e?d+e:""},H8c=function(a){return a?a.year+"-"+("0"+a.month).slice(-2)+"-"+("0"+a.day).slice(-2):""};
J7.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=a[b.customFieldId])?void 0:c.type)?d:""};var D8c=function(a,b,c){return B8c(a.momaSearchApi,{title:b,componentId:c}).pipe($e(function(d){return a.issueDigests.getAll(new Set(d))}),C(function(d){d=d.map(function(e){return{id:e.issueId,title:e.title,href:a.paths.editIssue(e.issueId)}});return{issues:d,numTotalResults:d.length}}))};J7.\u0275fac=function(a){return new (a||J7)(t(QH),t(aQ),t(C7),t(I7),t(F7))};
J7.\u0275prov=yc({token:J7,factory:J7.\u0275fac,providedIn:"root"});var Tsb=RegExp("\\w+","g");var K7=function(a,b,c,d){rF.call(this);this.cdr=a;this.analytics=b;this.relatedIssueFetcher=c;this.experimentSupport=d;this.refreshMagicBox=!1;this.refreshMagicBoxChange=new kw;this.hideHeader=this.showInline=!1;this.issueTitle="";this.issue={};this.customFieldMap={};this.numIssues=5;this.headerChange=new kw;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 D.Subject;this.CATEGORIES=ao};T(K7,rF);K7.\u0275dir=rF.\u0275dir;f=K7.prototype;f.ngOnInit=function(){var a=this;this.fetchIssues();this.currentIssueData$.pipe(Le(750),Ne(Xh),af(this.destroyed$)).subscribe(function(){a.refresh()})};
f.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=C8c(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()}};
f.refresh=function(){this.isRefreshing=!0;this.page=1;this.magicBoxIssues=[];this.fetchIssues()};
f.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(af(this.destroyed$)).subscribe(function(c){var d=c.issues;1===b.page&&(b.magicBoxIssues=[]);b.magicBoxIssues=b.enableSimilarIssues?[].concat(cd(b.magicBoxIssues),cd(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()}))};f.getHeader=function(){return this.showSuggestedDupes?"Similar Issues":"Recent Issues"};f.getTotalText=function(a,b,c,d){return a<=b*c?a.toString():d?"many":a.toString()};f.triggerSimilarIssuesSurvey=function(){this.experimentSupport.triggerSimilarIssuesSurvey().pipe(af(this.destroyed$)).subscribe()};
f.trackTitleHoverOver=function(){this.experimentSupport.trackTitleHoverOver()};f.trackTitleClick=function(){this.experimentSupport.trackTitleClick()};f.getGroupName=function(){return this.experimentSupport.getGroupName()};K7.\u0275fac=function(a){return new (a||K7)(B(AI,2),B(EI),B(J7),B(C7))};
K7.\u0275cmp=Oc({type:K7,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:[Of([aQ,AI]),kf,gd],decls:3,vars:1,consts:[["class","bv2-magic-box",4,"ngIf"],["afterLoaded",""],[1,"bv2-magic-box"],[4,"ngIf","ngIfElse"],[4,"ngIf"],
["class","magic-box-text",4,"ngIf"],["class","magic-box-more",4,"ngIf"],["class","magic-box-load",4,"ngIf"],["class","magic-box-all",4,"ngIf"],["class","magic-box-pager",4,"ngIf"],["class","unstyled feedback-button","type","button","matTooltip","Send feedback for the suggested similar issues",3,"click",4,"ngIf"],[1,"magic-box-pager"],["class","magic-box-pagenums",4,"ngIf"],["format","icon","size","large","tooltip","Previous page","b-aria-label","Previous page",1,"left","compact",3,"disabled","onAction"],
["name","arrow-left","size","large"],["format","icon","size","large","tooltip","Next page","b-aria-label","Next page",1,"right","compact",3,"disabled","onAction"],["name","arrow-right","size","large"],[1,"magic-box-pagenums"],["type","button","matTooltip","Send feedback for the suggested similar issues",1,"unstyled","feedback-button",3,"click"],["svgIcon","feedback-outline",1,"icon-s","gfx-muted"],[1,"magic-box-text"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["issueHovercard","onedevHovercard"],
[3,"onedevIsHovercardReady","issueId","location","init",4,"onedevHovercardLazyBody"],["target","_blank",1,"magic-box-title",3,"href","onedevHovercardTrigger","click"],[3,"onedevIsHovercardReady","issueId","location","init"],["cardBody",""],[1,"magic-box-more"],["target","_blank",3,"href"],[1,"magic-box-load"],["mat-button","",1,"gmat-button",3,"click"],["svgIcon","arrow-down"],[1,"magic-box-all"],["mat-button","",1,"gmat-button","primary","hovercard-action",3,"click"],["svgIcon","pop-out"]],template:function(a,
b){a&1&&(O(0,Wsb,2,2,"div",0),O(1,jtb,9,8,"ng-template",null,1,gg));a&2&&E("ngIf",b.componentId)},dependencies:[vQ,dO,WM,Pw,Qw,Rw,HB,UP,UK,VK,ZK,WK,QA],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 I8c=["popOver"],ltb=function(a){return{$implicit:a}},ttb=function(a){return{editingValue:a}},L7=function(a){this.val="";this.allowMultipleLines=!0;this.disabled=this.centerEditIcon=this.newlineWithEnterKey=!1;this.hasBackdrop=!0;this.fitPopoverToViewport=!1;this.valueChange=new kw;this.editorOpen=new kw;this.required=this.editing=this.headerFocused=!1;this.editingValue=new zx("",{nonNullable:!0});this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=
!0};T(L7,DY);f=L7.prototype;f.ngOnInit=function(){};f.valueChanged=function(){return this.editingValue.value!==this.value};f.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue.setValue(this.value),this.popOver.open(),this.editorOpen.emit({isOpen:!0}))};f.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})};
f.writeValue=function(a){null!=a&&(this.val=a,this.editing||this.editingValue.setValue(a))};f.isActive=function(){return this.headerFocused||this.editing};f.registerOnChange=function(a){this.onChange=a};f.registerOnTouched=function(a){this.onTouched=a};f.setDisabledState=function(a){this.disabled=a};sh.Object.defineProperties(L7.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});
L7.\u0275fac=function(a){return new (a||L7)(wd("required"))};
L7.\u0275cmp=Oc({type:L7,selectors:[["onedev-text-field"]],viewQuery:function(a,b){a&1&&bg(I8c,7);if(a&2){var c;ag(c=dg())&&(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:[Of([{provide:gx,useExisting:Ec(function(){return L7}),multi:!0},{provide:DY,useExisting:Ec(function(){return L7}),multi:!0}]),kf],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&&(F(0,"button",0,1),L("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),F(2,"span"),O(3,mtb,2,4,"ng-container",
2),O(4,ntb,1,1,"ng-template",null,3,gg),H(),O(6,otb,2,2,"svg",4),H(),F(7,"onedev-pop-over-edit-panel",5,6),L("closedWithAction",function(g){return b.stopEditing(g)}),H(),O(9,vtb,2,2,"ng-template",null,7,gg));if(a&2){var c=Kf(1),d=Kf(5),e=Kf(10);of("aria-labelledby",b.labelledById);z(3);E("ngIf",b.valueTemplate)("ngIfElse",d);z(3);E("ngIf",!b.disabled);z(1);E("anchor",c)("editorTemplate",e)("newlineWithEnterKey",b.newlineWithEnterKey)("hasBackdrop",b.hasBackdrop)("fitToViewport",b.fitPopoverToViewport)}},
dependencies:[Rw,Ww,wg,tx,lB,p0,Gx],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 J8c=Tg("indicatorRotate",[Wg("collapsed, void",Vg({transform:"rotate(0deg)"})),Wg("expanded",Vg({transform:"rotate(180deg)"})),Xg("expanded <=> collapsed, void => collapsed",Ug("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),K8c=Tg("bodyExpansion",[Wg("collapsed, void",Vg({height:"0px",visibility:"hidden"})),Wg("expanded",Vg({height:"*",visibility:"visible"})),Xg("expanded <=> collapsed, void => collapsed",Ug("225ms cubic-bezier(0.4,0.0,0.2,1)"))]);var L8c=new ad("CdkAccordion");var M8c=0,M7=function(a,b,c){var d=this;this.accordion=a;this._changeDetectorRef=b;this._expansionDispatcher=c;this._openCloseAllSubscription=D.Subscription.EMPTY;this.closed=new kw;this.opened=new kw;this.destroyed=new kw;this.expandedChange=new kw;this.id="cdk-accordion-child-"+M8c++;this._disabled=this._expanded=!1;this._removeUniqueSelectionListener=function(){};this._removeUniqueSelectionListener=c.listen(function(e,g){d.accordion&&!d.accordion.multi&&d.accordion.id===g&&d.id!==e&&(d.expanded=
!1)});this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())};f=M7.prototype;f.ngOnDestroy=function(){this.opened.complete();this.closed.complete();this.destroyed.emit();this.destroyed.complete();this._removeUniqueSelectionListener();this._openCloseAllSubscription.unsubscribe()};f.toggle=function(){this.disabled||(this.expanded=!this.expanded)};f.close=function(){this.disabled||(this.expanded=!1)};f.open=function(){this.disabled||(this.expanded=!0)};
f._subscribeToOpenCloseAllActions=function(){var a=this;return this.accordion._openCloseAllActions.subscribe(function(b){a.disabled||(a.expanded=b)})};
sh.Object.defineProperties(M7.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){return this._expanded},set:function(a){a=Fg(a);this._expanded!==a&&(this._expanded=a,this.expandedChange.emit(a),a?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Fg(a)}}});
M7.\u0275fac=function(a){return new (a||M7)(B(L8c,12),B(Kw),B(Pz))};M7.\u0275dir=Sc({type:M7,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Of([{provide:L8c,useValue:void 0}])]});var N7=function(){};N7.\u0275fac=function(a){return new (a||N7)};N7.\u0275mod=Qc({type:N7});N7.\u0275inj=zc({});var N8c=new ad("MAT_ACCORDION");var O8c=new ad("MAT_EXPANSION_PANEL");var P8c=function(a,b){this._template=a;this._expansionPanel=b};P8c.\u0275fac=function(a){return new (a||P8c)(B(Yf),B(O8c,8))};P8c.\u0275dir=Sc({type:P8c,selectors:[["ng-template","matExpansionPanelContent",""]]});var Q8c=["body"],R8c=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],S8c=0,T8c=new ad("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),O7=function(a,b,c,d,e,g,h){M7.call(this,a,b,c);var l=this;this._viewContainerRef=d;this._animationMode=g;this._hideToggle=!1;this.afterExpand=new kw;this.afterCollapse=new kw;this._inputChanges=new D.Subject;this._headerId="mat-expansion-panel-header-"+S8c++;this._bodyAnimationDone=new D.Subject;this.accordion=a;this._document=e;this._bodyAnimationDone.pipe(Ne(function(q,
v){return q.fromState===v.fromState&&q.toState===v.toState})).subscribe(function(q){"void"!==q.fromState&&("expanded"===q.toState?l.afterExpand.emit():"collapsed"===q.toState&&l.afterCollapse.emit())});h&&(this.hideToggle=h.hideToggle)};T(O7,M7);O7.\u0275dir=M7.\u0275dir;f=O7.prototype;f._hasSpacing=function(){return this.accordion?this.expanded&&"default"===this.accordion.displayMode:!1};f._getExpandedState=function(){return this.expanded?"expanded":"collapsed"};
f.toggle=function(){this.expanded=!this.expanded};f.close=function(){this.expanded=!1};f.open=function(){this.expanded=!0};f.ngAfterContentInit=function(){var a=this;this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Ze(null),Ge(function(){return a.expanded&&!a._portal}),Oe()).subscribe(function(){a._portal=new gy(a._lazyContent._template,a._viewContainerRef)})};f.ngOnChanges=function(a){this._inputChanges.next(a)};
f.ngOnDestroy=function(){M7.prototype.ngOnDestroy.call(this);this._bodyAnimationDone.complete();this._inputChanges.complete()};f._containsFocus=function(){if(this._body){var a=this._document.activeElement,b=this._body.nativeElement;return a===b||b.contains(a)}return!1};
sh.Object.defineProperties(O7.prototype,{hideToggle:{configurable:!0,enumerable:!0,get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(a){this._hideToggle=Fg(a)}},togglePosition:{configurable:!0,enumerable:!0,get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(a){this._togglePosition=a}}});O7.\u0275fac=function(a){return new (a||O7)(B(N8c,12),B(Kw),B(Pz),B(Zf),B(qh),B(wv,8),B(T8c,8))};
O7.\u0275cmp=Oc({type:O7,selectors:[["mat-expansion-panel"]],contentQueries:function(a,b,c){a&1&&cg(c,P8c,5);if(a&2){var d;ag(d=dg())&&(b._lazyContent=d.first)}},viewQuery:function(a,b){a&1&&bg(Q8c,5);if(a&2){var c;ag(c=dg())&&(b._body=c.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(a,b){a&2&&xf("mat-expanded",b.expanded)("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-expansion-panel-spacing",b._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",
hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Of([{provide:N8c,useValue:void 0},{provide:O8c,useExisting:O7}]),kf,gd],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&&(Ff(R8c),Gf(0),F(1,"div",0,1),L("@bodyExpansion.done",function(c){return b._bodyAnimationDone.next(c)}),F(3,"div",2),Gf(4,1),O(5,wtb,0,0,"ng-template",3),H(),Gf(6,2),H());a&2&&(z(1),E("@bodyExpansion",b._getExpandedState())("id",b.id),of("aria-labelledby",b._headerId),z(4),E("cdkPortalOutlet",b._portal))},dependencies:[ky],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n'],
encapsulation:2,data:{animation:[K8c]},changeDetection:0});var U8c=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],V8c=wh(function(){}),P7=function(a,b,c,d,e,g,h){var l=V8c.call(this)||this;l.panel=a;l._element=b;l._focusMonitor=c;l._changeDetectorRef=d;l._animationMode=g;l._parentChangeSubscription=D.Subscription.EMPTY;var q=a.accordion?a.accordion._stateChanges.pipe(Ge(function(v){return!(!v.hideToggle&&!v.togglePosition)})):D.EMPTY;l.tabIndex=parseInt(h||"")||0;l._parentChangeSubscription=(0,D.merge)(a.opened,a.closed,q,a._inputChanges.pipe(Ge(function(v){return!!(v.hideToggle||
v.disabled||v.togglePosition)}))).subscribe(function(){return l._changeDetectorRef.markForCheck()});a.closed.pipe(Ge(function(){return a._containsFocus()})).subscribe(function(){return cy(c,b,"program")});e&&(l.expandedHeight=e.expandedHeight,l.collapsedHeight=e.collapsedHeight);return l};T(P7,V8c);f=P7.prototype;f._toggle=function(){this.disabled||this.panel.toggle()};f._isExpanded=function(){return this.panel.expanded};f._getExpandedState=function(){return this.panel._getExpandedState()};
f._getPanelId=function(){return this.panel.id};f._getTogglePosition=function(){return this.panel.togglePosition};f._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled};f._getHeaderHeight=function(){var a=this.panel.expanded;return a&&this.expandedHeight?this.expandedHeight:!a&&this.collapsedHeight?this.collapsedHeight:null};f._keydown=function(a){switch(a.keyCode){case 32:case 13:Jg(a)||(a.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(a)}};
f.focus=function(a,b){a?cy(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};f.ngAfterViewInit=function(){var a=this;this._focusMonitor.monitor(this._element).subscribe(function(b){b&&a.panel.accordion&&a.panel.accordion._handleHeaderFocus(a)})};f.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe();this._focusMonitor.stopMonitoring(this._element)};sh.Object.defineProperties(P7.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this.panel.disabled}}});
P7.\u0275fac=function(a){return new (a||P7)(B(O7,1),B(Dd),B(by),B(Kw),B(T8c,8),B(wv,8),wd("tabindex"))};
P7.\u0275cmp=Oc({type:P7,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(a,b){a&1&&L("click",function(){return b._toggle()})("keydown",function(c){return b._keydown(c)});a&2&&(of("id",b.panel._headerId)("tabindex",b.tabIndex)("aria-controls",b.panel.id)("aria-expanded",b.panel.expanded)("aria-disabled",b.panel.disabled),wf("height",b._getHeaderHeight()),xf("mat-expanded",b.panel.expanded)("mat-expansion-toggle-indicator-after",
"after"===b.panel.togglePosition)("mat-expansion-toggle-indicator-before","before"===b.panel.togglePosition)("_mat-animation-noopable","NoopAnimations"===b._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[kf],ngContentSelectors:["mat-panel-title","mat-panel-description","*"],decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(a,b){a&1&&(Ff(U8c),
F(0,"span",0),Gf(1),Gf(2,1),Gf(3,2),H(),O(4,xtb,1,1,"span",1));a&2&&(xf("mat-content-hide-toggle",!b._showToggle()),z(4),E("ngIf",b._showToggle()))},dependencies:[Rw],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],
encapsulation:2,data:{animation:[J8c]},changeDetection:0});var Q7=function(){};Q7.\u0275fac=function(a){return new (a||Q7)};Q7.\u0275dir=Sc({type:Q7,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]});var R7=function(){};R7.\u0275fac=function(a){return new (a||R7)};R7.\u0275mod=Qc({type:R7});R7.\u0275inj=zc({imports:[ex,hA,N7,ly]});var W8c=["descriptionConfirmDialog"],ztb=function(a,b){return{partner:a,"public":b}},Cub=function(a){return{required:a}},Jub=function(a){return{"bv2-upload-ongoing":a}},X8c=function(a){return{submitted:a}},S7=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da,Oa,Ta,Wa,Nb,Eb,cb,sa,Ka,Qa,fb,$a,Yc,hb,yb,bb){rF.call(this);var Hb=this;this.ngZone=a;this.$log=b;this.reloadService=c;this.paths=d;this.redirectUrl=e;this.userAccess=g;this.accessPolicy=h;this.bLocation=l;this.appHistory=q;this.issueTemplate=
v;this.issueTypeDialog=x;this.componentActions=A;this.activeSession=G;this.draftStore=M;this.pageTitle=Q;this.analytics=Y;this.issueApi=W;this.userApi=ia;this.hotlistApi=ja;this.butterBar=Aa;this.errorHandler=Da;this.matDialogService=Oa;this.appEvents=Ta;this.userPreferencesManager=Eb;this.cdr=Ka;this.confirmationDialogService=Qa;this.issueRelationshipsFridge=fb;this.issueFridge=$a;this.componentFridge=Yc;this.clearcut=hb;this.currentTracker=yb;this.jspbPrincipalTypes=bb;this.ISSUE_ID_LIST_PATTERN=
/^[\s\d,]*$/;this.ISSUE_ID_LIST_DELIMITER=/[\s,]+/;this.userEmail=this.activeSession.getUserEmail();this.sessionIsExternal=this.activeSession.isExternalSession();this.enableRecaptcha=pF(this.activeSession,"enableRecaptcha");this.hotlistMap={};this.hotlists=[];this.templateTitle=this.templateComment="";this.appliedTemplate=null;this.componentPickerTouched=this.isLoadingComponent=!1;this.availablePredefinedTemplates=[];this.preferredTemplateId=this.selectedTemplateInternal=this.availableExistingIssueTemplate=
null;this.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=wl;this.toIssueSeverity=vua;this.FieldType=NJc;this.initialized=!1;this.trackerComponent$=this.currentTracker.tracker$.pipe($e(function(ib){return ib?
Hb.componentFridge.watch(Number(ib.componentId)).pipe(Ze(void 0)):(0,D.of)(void 0)}));this.trackerCollaboratorGroups$=this.currentTracker.tracker$.pipe(C(function(ib){return ib?mi(ib.collaboratorGroups):void 0}));this.selectedCollaboratorGroups=new Set;this.getSingleEditFieldType=L4a;this.getListFieldType=E5a;this.fetchUserHotlists();this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){Hb.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(function(){Hb.fetchUserHotlists()}));
this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(){Hb.fetchUserHotlists()}));this.enableCreateIssueWithTemplate=pF(G,"enableCreateIssueWithTemplate");this.enableQuickAddCollaborators=pF(G,"enableQuickAddCollaborators");this.frontendIsInternalOrPartner=G.isInternalSession()||C9b(G);this.priorityChoices=sa.priorities.map(function(ib){return{value:ib,displayText:ib}});this.severityChoices=sa.severities.map(function(ib){return{value:ib,displayText:ib}});this.issueTypeChoices=
sa.editIssueTypes.map(function(ib){return{value:ib,displayText:wua(ib),altText:sa.issueTypesShortDescriptions.get(ib)}});this.urlTemplate=new bSc(Wa,b);this.piiWarningMessage=G.isInternalSession()?"Please be sure you don't include sensitive information/data (PII, SPII, and other sensitive user data) in unrestricted issues (either in text or through attachments). If you do need to include sensitive information, please be sure to link to a secure doc (e.g. a drive file with proper sharing settings) and share only with those that have a business need for access. Please see http://go/buganizerpuppy.":
void 0;this.descriptionBoxId="bv2-description";this.componentRequestedInUrl=Wa.component;this.templateIssueRequestedInUrl=Wa.template_issue;Wa.template&&(a=Number(Wa.template))&&(this.preferredTemplateId=a);if(a=Wa.parentIssueId)this.parentIssueIds=Array.isArray(a)?a:[a];if(a=Wa.childrenIssueIds)this.childrenIssueIds=Array.isArray(a)?a:[a];if(a=Wa.afterIssueId)this.afterIssueId=Array.isArray(a)?a[0]:a;this.issue=Yh(Pub);Nub(this.issue,this);this.audience="EXTERNAL_AUDIENCE";Wa.description?this.comment=
new qK(Wa.description,!0):(a=this.draftStore.$window.sessionStorage.getItem(sn("0"))||"",this.comment=new qK(a));this.comment.formattingMode=Y8c(this);a=Z8c(Wa);this.isFormatInRoute=null!=a;a&&(this.comment.formattingMode=a);this.selectedComponentProcessedPromise=Promise.resolve(void 0);this.subscriptions.add(Eb.preferences$.subscribe(function(ib){var Ob;Hb.useCodefont=null!=(Ob=ib.useCodefont)?Ob:Hb.useCodefont}));this.hasAdvancedFieldsInUrlTemplate=dSc(this.urlTemplate)||!!this.parentIssueIds||
!!this.childrenIssueIds;this.subscriptions.add(gN(Nb,{title:"Create Issue Page",hotkeys:[{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var ib;null==(ib=Hb.hotlistPicker)||ib.open()}},{keys:["u"],displayAs:"u",description:"Back to previous page",onPress:function(){Hb.back()}}]}));this.componentRequestedInUrl?(this.newIssueStarted=!0,$8c(this,Number(this.componentRequestedInUrl))):(iSc(this.urlTemplate,this.issue),this.updateSelectedHotlists());this.templateIssueRequestedInUrl&&
(this.newIssueStarted=!0,a9c(this));this.originalIssueCopy=Yh(this.issue);Wa.description&&(this.originalIssueCopy.comment=this.comment.value,this.issue.comment=this.comment.value);this.isFormatInRoute&&(this.issue.formattingMode=this.comment.formattingMode,this.originalIssueCopy.formattingMode=this.issue.formattingMode);this.pageTitle.setTitle("New issue");this.createRestrictedResourcesComponentWhitelist=G.getCreateRestrictedSubresourcesComponentWhitelist();this.subscriptions.add(yQ(cb,function(){return Hb.hasUnsavedChanges()},
!1))};T(S7,rF);S7.\u0275dir=rF.\u0275dir;S7.prototype.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};var Kub=function(a){return a.isSaving||a.isNavigatingAway||!a.canCreateNewIssuesInComponent||!a.isCaptchaValid()||!1};S7.prototype.ngOnDestroy=function(){rF.prototype.ngOnDestroy.call(this);b9c(this)};
S7.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||a.selectComponent(b))}))};S7.prototype.unloadPageHandler=function(){b9c(this)};var T7=function(a){a.initialized&&a.ngZone.run(function(){a.cdr.detectChanges()})};S7.prototype.back=function(){J2(this.appHistory)};
S7.prototype.onAccessLimitLevelSelected=function(a){this.selectedAccessLimitLevel=a};
S7.prototype.selectComponent=function(a){(this.selectedComponent=a)?(this.issue=Object.assign({},this.issue,{componentId:this.selectedComponent.componentId}),this.originalIssueCopy.componentId=this.selectedComponent.componentId,c9c(this),this.audience=Lp(this.selectedComponent)?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE",this.createRestrictedResourcesComponentWhitelist.includes(this.selectedComponent.componentId)?this.judgementForNewContent={severity:"PII",judgementReason:"None Specified"}:this.judgementForNewContent=
void 0):(cc(this.issue,"componentId"),this.audience="EXTERNAL_AUDIENCE");this.submitRequested=!1;d9c(this);return this.selectedComponentProcessedPromise=Promise.all([e9c(this),f9c(this)]).then(function(){})};
var g9c=function(a){a.assigneeText=a.assigneeText?a.assigneeText:null;a.verifierText=a.verifierText?a.verifierText:null;a.reporterText=a.reporterText?a.reporterText:null},Ctb=function(a){return $6a(a.selectedComponent)?"External Google partners may be able to see this issue.":Mp(a.selectedComponent)?"Public users may be able to see this issue.":""},a9c=function(a){var b=Number(a.templateIssueRequestedInUrl);Number.isNaN(b)?ZG(a.butterBar,"Invalid template_issue specified"):(a.availableExistingIssueTemplate=
new h9c(b,"issue","Issue "+b,!1),a.selectedTemplate=a.availableExistingIssueTemplate)},e9c=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 g=e.name;Mk(Lk(g))&&(g=e.default?"(default template)":"(unnamed template)");return new h9c(e.templateId,"predefined",
g,e.default)});if(a.preferredTemplateId&&!a.selectedTemplate){var c=a.preferredTemplateId;if(b=a.availablePredefinedTemplates.find(function(e){return e.id===c}))a.selectedTemplate=b,a.preferredTemplateId=null}if(!a.selectedTemplate){b=k(a.availablePredefinedTemplates);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.isDefault){a.selectedTemplate=d;break}}0<a.availablePredefinedTemplates.length&&!a.selectedTemplate&&(a.selectedTemplate=a.availablePredefinedTemplates[0]);T7(a)}).catch(function(){ZG(a.butterBar,
"Unable to load templates for this component")}):Promise.resolve(void 0)},f9c=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=MG(a.userAccess,"appender","components/"+b).then(function(g){a.canCreateNewIssuesInComponent=
g;T7(a)}),e=MG(a.userAccess,"writer",c).then(function(g){a.canEditIssuesInComponent=g;T7(a)});c=MG(a.userAccess,"reader",c).then(function(g){a.canViewIssuesInComponent=g;T7(a)});b=a.accessPolicy.checkComponentImplicitAccessEnabled(b).then(function(g){a.componentHasExpandedAccessEnabled=g;T7(a)});return Promise.all([d,e,c,b]).then(function(){i9c(a);T7(a)}).catch(function(g){a.$log.warn(g)}).finally(function(){a.createAclLoading=!1})};
S7.prototype.getIssueTemplate=function(){var a=this;if(this.selectedTemplate){var b=function(c){var d=Object.assign(Yh(Pub),c.snapshot);a.selectedComponent&&(d.componentId=a.selectedComponent.componentId);var e=Yh(d);g9c(a);Oub(a,a.issue);var g=Yh(a.issue);if(a.appliedTemplate)for(var h=k(Object.keys(a.appliedTemplate)),l=h.next();!l.done;l=h.next()){l=l.value;var q=a.appliedTemplate[l];if(Array.isArray(q)&&Array.isArray(g[l])){q=k(q);for(var v=q.next();!v.done;v=q.next())fqa(g[l],v.value)}else Xh(q,
g[l])&&delete g[l]}a.appliedTemplate=e;Qub(d,g);g=e.comment||"";a.comment.value!==a.templateComment&&(Xgc(a.comment)||""===g||a.comment.value===g||(a.templateComment=g,j9c(a,a.comment.value)),d.comment=a.comment.value,d.formattingMode=e.formattingMode);a.templateComment=g;var x;a.templateCommentFormattingMode=null!=(x=e.formattingMode)?x:void 0;a.templateTitle=e.title||"";d.reporterUser=ti(a.userEmail);a.selectedAccessLimitLevel=d.issueAccessLimitLevel||"LIMIT_NONE";a.issue=d;Nub(a.issue,a);i9c(a);
g9c(a);Oub(a,a.issue);a.comment.value=a.issue.comment||"";a.issue.comment&&a.issue.formattingMode&&(a.comment.formattingMode=a.issue.formattingMode);iSc(a.urlTemplate,a.issue,a.customFieldMap);Nub(a.issue,a);a.originalIssueCopy=Yh(a.issue);a.loadHotlists(a.issue.hotlistId).then(function(){a.updateSelectedHotlists();a.originalIssueCopy.hotlistId=Yh(a.issue.hotlistId);T7(a)});k9c(a);return a.selectedComponent?null:c.snapshot.componentId};"predefined"===this.selectedTemplate.type&&this.selectedComponent?
this.issueTemplate.templatesApi.getIssueTemplate(this.selectedComponent.componentId,this.selectedTemplate.id).then(b).then(function(){T7(a)}):"issue"===this.selectedTemplate.type&&(Wac(this.issueTemplate,String(this.selectedTemplate.id)).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("Te");return b(c)}).then(function(c){c&&($8c(a,c),T7(a))}).catch(function(c){ZG(a.butterBar,c.message)}),(0,D.firstValueFrom)(this.issueFridge.watch(String(this.selectedTemplate.id))).then(function(c){var d;
null!=(d=a.parentIssueIds)&&d.length||(a.parentIssueIds=null==c?void 0:c.parentIssueIds)}));this.selectedTemplate.id!==this.preferredTemplateId&&this.analytics.trackEvent(ao.CREATE_ISSUE,"changeTemplate");d9c(this)}};S7.prototype.isValid=function(){return!(0!==Etb(this).length||0!==Ftb(this).length)&&!!(this.isBlockedByIssueIdValid&&this.isBlockingIssueIdValid&&this.isParentIssueIdsValid&&this.isCollaboratorsValid)&&!Ltb(this.comment)&&!0};
var Etb=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})},Ftb=function(a){return(a.issue.customField||[]).filter(function(b){return a.isCustomFieldRequired(b)&&(new ii(b)).isEmpty()}).map(function(b){return'custom field "'+a.getCustomFieldName(b)+'"'})},l9c=function(a){return 0===a.collaboratorsText.length?Promise.resolve(!0):
Rgc(a.jspbPrincipalTypes,a.collaboratorsText,!1).then(function(b){a.invalidCollaboratorsInput=Object.entries(b).filter(function(c){c=k(c);c.next();c=c.next().value;return"USER"!==(null==c?void 0:c.principalType)}).map(function(c){return k(c).next().value});return 0===a.invalidCollaboratorsInput.length}).catch(function(b){ZG(a.butterBar,b.message);return!1})},oub=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)},cub=function(a){return a.split(",").map(function(b){return b.trim()}).filter(Boolean)},gs=function(a){return a?a.join(", "):""},k9c=function(a){if(Mca(a.customFieldMap,function(c){return c.required||!1})||a.hasAdvancedFieldsInUrlTemplate){var b;null==(b=a.advancedFieldsZippy)||b.open()}};f=S7.prototype;f.getCustomFieldType=function(a){var b,c;return null!=(c=null==(b=this.customFieldMap[a.customFieldId])?void 0:b.type)?c:""};
f.getCustomFieldName=function(a){return(a=this.customFieldMap[a.customFieldId])?a.name:""};f.getCustomFieldAllowedValues=function(a){return(a=this.customFieldMap[a.customFieldId])&&a.allowedValue?a.allowedValue:null};f.getCustomFieldValue=function(a){return(new ii(a)).getValue()};f.getDateValue=function(a){return a};
f.setCustomFieldValue=function(a,b){var c=this.getCustomFieldType(a),d=this.issue.customField.map(function(e){if(e.customFieldId===a.customFieldId)switch(c){case "TEXT":e.textValue=b;break;case "DATE":e.dateValue=b;break;case "ENUM":e.enumValue=b;break;case "NUMERIC":e.numericValue=b;break;case "REPEATED_TEXT":e.repeatedTextValue={values:b};break;case "REPEATED_DATE":e.repeatedDateValue={values:b};break;case "REPEATED_ENUM":e.repeatedEnumValue={values:b};break;case "REPEATED_NUMERIC":e.repeatedNumericValue=
{values:b}}return e});this.analytics.trackEvent(ao.CREATE_ISSUE,"changeCustomField",c);this.issue=Object.assign({},this.issue,{customField:d})};f.isCustomFieldRequired=function(a){return this.customFieldMap[a.customFieldId]?this.canEditIssuesInComponent&&!!this.customFieldMap[a.customFieldId].required:!1};f.getListFieldValues=function(a){var b,c;return null!=(c=null==(b=(new ii(a)).getValue())?void 0:b.values)?c:null};
f.saveCommentDraft=function(){var a=this.comment.value;a===this.templateComment&&(a="");this.draftStore.setDraft("0",a);this.issue=Object.assign({},this.issue,{comment:a})};f.handleHotlistPickerSave=function(a){var b=[];a=k(Object.entries(a.newSelectionMap));for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;(d=d.next().value)&&b.push(Number(c))}this.issue=Object.assign({},this.issue,{hotlistId:b});this.updateSelectedHotlists();this.analytics.trackEvent(ao.CREATE_ISSUE,"changeHotlists")};
f.removeHotlist=function(a){var b;ra(null!=(b=this.issue.hotlistId)?b:null,a);this.updateSelectedHotlists()};f.setTitle=function(a){this.issue=Object.assign({},this.issue,{title:a})};f.setPriority=function(a){this.issue=Object.assign({},this.issue,{priority:wl(a)});var b;this.analytics.trackEvent(ao.CREATE_ISSUE,"changePriority",null!=(b=this.issue.priority)?b:void 0)};
var fub=function(a,b){a.selectedCollaboratorGroups.has(b)?a.selectedCollaboratorGroups.delete(b):a.selectedCollaboratorGroups.add(b);a.collaboratorGroupsText=[].concat(cd(a.selectedCollaboratorGroups))},Ytb=function(a,b){a.issue=Object.assign({},a.issue,{type:uua(b)});var c;a.analytics.trackEvent(ao.CREATE_ISSUE,"changeType",null!=(c=a.issue.type)?c:void 0)};
S7.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)});Faa(this.selectedHotlists,function(b,c){return eq(b.name,c.name)})};
var m9c=function(a,b){var c,d,e,g,h,l,q,v,x,A,G;return pe(function(M){switch(M.nextAddress){case 1:c=String(b.issueId);d=a.parentIssueIds;if(!d){M.jumpTo(2);break}e=[];return 1===d.length?M.yield(a.issueRelationshipsFridge.assignParentToIssues(d[0],[{issueId:c,afterIssueId:a.afterIssueId}]),6):M.yield(gec(a.issueRelationshipsFridge,c,d),5);case 5:h=M.yieldResult;e=h.notAdded;g=h.errors;M.jumpTo(4);break;case 6:l=M.yieldResult,e=l.notAdded,g=l.errors;case 4:e.length&&ZG(a.butterBar,"Unable to add "+
e+" as parent(s). "+g);case 2:q=a.childrenIssueIds;if(null==(v=q)||!v.length){M.jumpTo(7);break}return M.yield(a.issueRelationshipsFridge.assignParentToIssues(c,q.map(function(Q){return{issueId:Q}})),8);case 8:x=M.yieldResult,A=x.notAdded,G=x.errors,A.length&&ZG(a.butterBar,"Unable to add "+A+" as children. "+G);case 7:return M.return(b)}})},Hub=function(a,b){var c,d,e,g,h,l,q;return pe(function(v){switch(v.nextAddress){case 1:return v.yield(l9c(a),2);case 2:a.isCollaboratorsValid=v.yieldResult;c=
a.issue;a.submitRequested=!0;if(!a.isValid()){if(d=document.querySelector(".bv2-view"))d.scrollTop=0;return v.return()}c.issueAccessLimitLevel=a.selectedAccessLimitLevel;c.issueAccessLimitLevel&&"LIMIT_NONE"!==c.issueAccessLimitLevel&&a.analytics.trackEvent(ao.ISSUE_ACCESS_LIMITS,"create","create_issue:"+c.issueAccessLimitLevel);c.comment=a.comment.value;c.formattingMode=a.comment.formattingMode;e={snapshot:c,attachments:a.comment.getAttachments()};a.enableRecaptcha&&(e.recaptchaToken=a.recaptchaResponse);
a.selectedTemplate&&"predefined"===a.selectedTemplate.type&&(e.templateId=a.selectedTemplate.id);a.judgementForNewContent&&"NONE_DETECTED"!==a.judgementForNewContent.severity&&(e.contentJudgement=a.judgementForNewContent);a.canEditIssuesInComponent||(g={title:e.snapshot.title,componentId:e.snapshot.componentId,comment:e.snapshot.comment,formattingMode:e.snapshot.formattingMode,cc:!a.canViewIssuesInComponent&&!a.componentHasExpandedAccessEnabled||a.enableCreateIssueWithTemplate?[]:[a.userEmail]},e.snapshot=
g);e.snapshot=ac(e.snapshot,function(x){return"string"!==typeof x||!Mk(x)});e.snapshot.customField&&(e.snapshot.customField=e.snapshot.customField.filter(function(x){return!(new ii(x)).isEmpty()}));Oub(a,e.snapshot);0<a.collaboratorGroupsText.length&&(e.snapshot.collaboratorsUsers=Iqa(a.collaboratorGroupsText).concat(e.snapshot.collaboratorsUsers||[]));e.snapshot.assigneeUser&&(e.snapshot.status="ASSIGNED");h=function(){a.isSaving=!0;a.newIssueStarted=!1;YG(a.butterBar,"Creating...",0);a.issueApi.createIssue(e).then(function(x){return m9c(a,
x)}).then(function(x){a.draftStore.$window.sessionStorage.removeItem(sn("0"));a.originalIssueCopy=Yh(a.issue);a.analytics.trackEvent(ao.CREATE_ISSUE,"create","MARKDOWN"===a.comment.formattingMode?"markdown":"non markdown");n9c(a);if(b){var A;a.analytics.trackEvent(ao.CREATE_ISSUE,"fileAndRedirect","component",null!=(A=c.componentId)?A:void 0);a.butterBar.dismiss();a.isNavigatingAway=!0;a.isSaving=!1;MG(a.userAccess,"reader","issues/"+x.issueId).then(function(Q){a.componentPickerTouched=!1;Q?jSc(a.redirectUrl,
a.paths.editIssue(x.issueId),String(x.issueId)):(YG(a.butterBar,"New issue created: "+x.issueId+" (view access not granted)",0),jSc(a.redirectUrl,a.paths.listIssues()));T7(a)}).catch(function(Q){a.errorHandler.errorHandler(null,Q);a.isNavigatingAway=!1})}else{a.componentPickerTouched=!1;var G;a.analytics.trackEvent(ao.CREATE_ISSUE,"fileAndNew","component",null!=(G=c.componentId)?G:void 0);A={};Uac(a.butterBar,Bn("New issue created: ",An("A",(A.href=a.paths.editIssue(x.issueId),A),String(x.issueId))),
0);c.title=a.templateTitle;a.comment=new qK(a.templateComment);(c.comment=a.templateComment)&&a.templateCommentFormattingMode&&(a.comment.formattingMode=a.templateCommentFormattingMode,c.formattingMode=a.templateCommentFormattingMode);a.isSaving=!1;a.submitRequested=!1;var M;A=k(null!=(M=a.magicBoxes)?M:[]);for(M=A.next();!M.done;M=A.next())M.value.refresh();a.newIssueStarted=!0;a.originalIssueCopy=Yh(a.issue)}T7(a)}).catch(function(x){403===x.status&&$l(x)?bH(a.errorHandler,am(x)):a.errorHandler.errorHandler(null,
x);a.isSaving=!1;a.submitRequested=!1;a.newIssueStarted=!1})};return v.yield(o9c(a),3);case 3:return(l=v.yieldResult)?v.yield(p9c(a),4):v.return();case 4:q=v.yieldResult;if(!q)return v.return();h();ue(v)}})},o9c=function(a){var b=Yl();!a.canEditIssuesInComponent&&!a.frontendIsInternalOrPartner&&a.selectedComponent&&a.selectedComponent.accessLimit&&"INTERNAL"!==a.selectedComponent.accessLimit.accessLevel?a.confirmationDialogService.open({title:"",content:kv("Submitting this bug report means your email address will be shared with the team that works on this product."),
onConfirm:function(){b.resolve(!0)},onDismiss:function(){b.resolve(!1)}}):b.resolve(!0);return b.promise},p9c=function(a){var b=Yl();!a.canEditIssuesInComponent||"VULNERABILITY"!==a.issue.type&&"PRIVACY_ISSUE"!==a.issue.type?b.resolve(!0):jgc(a.issueTypeDialog,a.issue.type,function(){b.resolve(!0)},function(){b.resolve(!1)});return b.promise},$8c=function(a,b){a.isLoadingComponent=!0;a.componentActions.getUncached(b).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==
c.trackerId)throw Error("Ue");a.selectComponent(c);T7(a)}).catch(function(){ZG(a.butterBar,"Component ID "+b+" does not exist or you do not have access.")}).finally(function(){a.isLoadingComponent=!1})};S7.prototype.hasUnsavedChanges=function(){var a=Rub(this.issue),b=Rub(this.originalIssueCopy);return!Xh(a,b)||this.comment.value!==this.originalIssueCopy.comment};
var Utb=function(a){a.showRecentIssuesInline=!a.showRecentIssuesInline;a.analytics.trackEvent(ao.CREATE_ISSUE,"toggleRecentIssuesInline",a.showRecentIssuesInline.toString())},j9c=function(a,b){$A(a.matDialogService.open(a.descriptionConfirmDialog,{data:b})).pipe(Re()).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="")})},d9c=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)))},Atb=function(a){return a.sessionIsExternal?!1:$6a(a.selectedComponent)},Btb=function(a){return D9b(a.activeSession)?!1:Mp(a.selectedComponent)},c9c=function(a){if(a.selectedComponent&&a.selectedComponent.componentPathInfo&&a.selectedComponent.componentPathInfo.allCustomField){for(var b=a.selectedComponent.componentPathInfo.allCustomField,c={},d=k(b),e=d.next();!e.done;e=d.next())e=e.value,c[e.customFieldId]=e;a.customFieldMap=c;a.customFieldAllowedValuesMap=
Sub(b);q9c(a)}},q9c=function(a){if(a.issue.customField){a.issue.customField=a.issue.customField.filter(function(e){return a.customFieldMap[e.customFieldId]&&a.customFieldMap[e.customFieldId].enabledOnIssues});for(var b=a.issue.customField.map(function(e){return e.customFieldId}),c=k(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next())d=d.value,!b.includes(d.customFieldId)&&d.enabledOnIssues&&a.issue.customField.push(d.typedDefaultValue||new ii({customFieldId:d.customFieldId}));a.originalIssueCopy.customField=
a.issue.customField}},i9c=function(a){if(a.canViewIssuesInComponent||a.componentHasExpandedAccessEnabled)void 0!==a.ccsText?a.ccsText.includes(a.userEmail)||(a.ccsText=[a.userEmail].concat(cd(a.ccsText))):a.ccsText=[a.userEmail]};f=S7.prototype;f.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);T7(a)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&ra(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};f.createHotlist=function(a){var b=this;this.analytics.trackEvent("baseIssue","createHotlist");YG(this.butterBar,"Creating hotlist "+a.name+"...",0);this.hotlistApi.createHotlist(a.name).then(function(c){YG(b.butterBar,"Hotlist "+a.name+" created successfully.");b.addHotlist(c);b.appEvents.hotlistCreated.next();a.successCallback(c);T7(b)}).catch(a.errorCallback)};
f.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);T7(b);return d},function(){var d=b.hotlistMap[c];cc(b.hotlistMap,c);ra(b.hotlists,d);a.errorCallback()})};f.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(){T7(b)})};
var Z8c=function(a){var b;switch((null==(b=a.format)?void 0:b.toLowerCase())||""){case "plain":return"PLAIN";case "markdown":return"MARKDOWN"}},Y8c=function(a){var b;return Ik(null==(b=WJ(a.userPreferencesManager).textDisplayPreferences)?void 0:b.lastPublishMode)||"PLAIN"};
S7.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(af(this.destroyed$)).subscribe(function(e){e&&(a.judgementForNewContent=e.contentJudgement)})};S7.prototype.showContentJudgementDialog=function(a){return $A(this.matDialogService.open(qR,{panelClass:"no-jitter",width:"500px",data:a}))};
var b9c=function(a){a.componentPickerTouched&&(a.analytics.trackEvent(ao.CREATE_ISSUE,"exit-after-component-picker-interaction","new-ui"),a.componentPickerTouched=!1);a.analytics.trackEvent(ao.CREATE_ISSUE,"creation-abandon","new-ui")},n9c=function(a){var b=(new Date).getTime()-a.startTime.getTime();if(0<b){var c=Math.min(b,108E5);Ndc("createIssue",c,"new-ui");a.analytics.trackEvent(ao.CREATE_ISSUE,"createIssue","time-to-create-new-ui",c);tI(a.clearcut,b,"createIssue-fromNewIssuePage")}a.startTime=
new Date};sh.Object.defineProperties(S7.prototype,{selectedTemplate:{configurable:!0,enumerable:!0,get:function(){return this.selectedTemplateInternal},set:function(a){var b=this;if(this.selectedTemplateInternal!==a){this.selectedTemplateInternal=a;var c;null==(c=this.selectedComponentProcessedPromise)||c.then(function(){b.getIssueTemplate()})}}}});
S7.\u0275fac=function(a){return new (a||S7)(B(df),B($G),B(yX),B(QH),B(K2),B(LG),B(pH),B(PH),B(I2),B(dH),B(RJ),B(kV),B(Bs),B(NJ),B(wW),B(EI),B(GF),B(lI),B(cI),B(XG),B(aH),B(eB),B(eH),B(sK),B(fN),B(VJ),B(xQ),B(cK),B(AI,2),B(PJ),B(QI),B(JI),B(AG),B(sI),B(PL),B(nK))};
S7.\u0275cmp=Oc({type:S7,selectors:[["b-create-issue-page"]],viewQuery:function(a,b){a&1&&(bg(w_,5),bg(o_,5),bg(W8c,5),bg(O7,5),bg(K7,5));if(a&2){var c;ag(c=dg())&&(b.hotlistPicker=c.first);ag(c=dg())&&(b.commentBox=c.first);ag(c=dg())&&(b.descriptionConfirmDialog=c.first);ag(c=dg())&&(b.advancedFieldsZippy=c.first);ag(c=dg())&&(b.magicBoxes=c)}},hostBindings:function(a,b){a&1&&L("unload",function(){return b.unloadPageHandler()},!1,Gd)},features:[Of([AI]),kf],decls:30,vars:17,consts:[[1,"a11y-only"],
[1,"kd-appbar","bv2-create-issue-scroll-header"],[1,"kd-buttonbar","ltr"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[3,"selectedHotlistIds","choices","onApply","onLoad","onCreate",4,"ngIf"],["cdkScrollable","",1,"bv2-view"],[1,"bv2-new-issue-main-content"],["novalidate","","name","createIssueForm",3,"ngClass"],["class","bv2-create-component-external-warning",3,"ngClass",4,"ngIf"],["class","bv2-validation-error-banner",
"role","alert",4,"ngIf"],["class","bv2-create-issue-hotlists",4,"ngIf"],[1,"bv2-create-issue-row"],[1,"bv2-create-field"],[1,"bv2-top-field-label"],["for","bv2-component",1,"required"],[1,"bv2-create-issue-component"],[3,"selectedComponent","shouldFocus","isRequired","selectedComponentChange","touched"],["class","bv2-create-field bv2-right-button",4,"ngIf"],["class","bv2-validation-error-banner",4,"ngIf"],[4,"ngIf"],[1,"bv2-new-issue-right-sidebar"],[3,"componentId","issueTitle","issue","customFieldMap",
"headerChange"],["descriptionConfirmDialog",""],[3,"selectedHotlistIds","choices","onApply","onLoad","onCreate"],[1,"bv2-create-component-external-warning",3,"ngClass"],[3,"name","size"],[3,"href"],["role","alert",1,"bv2-validation-error-banner"],["class","bv2-validation-error",4,"ngIf"],[1,"bv2-validation-error"],[1,"bv2-create-issue-hotlists"],["class","bv2-hotlist-chips",4,"ngFor","ngForOf"],[1,"bv2-hotlist-chips"],[3,"hotlist","removeHotlist"],[1,"bv2-create-field","bv2-right-button"],["for",
"bv2-template-chooser"],["mat-button","","color","primary","id","bv2-template-chooser","aria-label","Template","type","button",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],[3,"overlapTrigger"],["templateMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"bv2-validation-error-banner"],["class","bv2-recent-issues-inline-container",4,"ngIf"],["for","bv2-title",1,"required"],[1,"bv2-create-issue-title"],
["type","text","name","title","aria-label","Issue Title","id","bv2-title","name","title","required","","aria-required","true","autocomplete","off",3,"ngModel","bFocus","ngModelChange"],["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","commentChange","onChange","onSubmit","onRestrict"],["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","onAction"],["format","fill","id",
"bv2-issue-create-start-button",3,"disabled","onAction"],["format","hairline","id","bv2-issue-discard-button",3,"disabled","onAction"],[1,"bv2-recent-issues-inline-container"],[1,"bv2-recent-issues-toggle-container"],["tabindex","0",1,"bv2-recent-issues-toggle",3,"click","keydown.enter","keydown.space"],["class","bv2-recent-issues-inline",4,"ngIf"],[1,"bv2-recent-issues-inline"],[3,"componentId","hideHeader","showInline","issueTitle","issue","customFieldMap","headerChange"],["for","bv2-priority",
1,"required"],["mat-button","","type","button","color","primary",3,"matMenuTriggerFor"],["priorityMenu","matMenu"],["mat-menu-item","","type","button",3,"click"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf"],["for","bv2-type",1,"required"],["typeMenu","matMenu"],["mat-menu-item","","type","button",3,"title","click",4,"ngFor","ngForOf"],["mat-menu-item","","type","button",3,"title","click"],[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"],[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"],["class","bv2-create-field",4,"ngIf"],["for","bv2-collaborator-groups","title","Set collaborator groups on the issue"],["svgIcon","help-outline","tabindex","0","aria-hidden","false","matTooltip","Collaborator groups are configured by Tracker admins",1,"icon-s","valign-middle","collaborator-group-help-icon"],["mat-stroked-button","","dropdown-menu-button","","type","button",1,"gmat-button","small","collaborator-groups-button",
3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown",1,"icon-s"],[1,"multiple-check-box-menu"],["collaboratorsGroupsMenu","matMenu"],["class","collaborator-groups-checkbox",3,"checked","change","click",4,"ngFor","ngForOf"],[1,"collaborator-groups-checkbox",3,"checked","change","click"],["menuItems",""],[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,"checked","change","click",4,"ngFor","ngForOf"],[3,"checked","change","click"],[3,"id","ngClass","title"],[3,"id","value","valueChange",4,"ngIf"],[3,"value","options","includeEmptyOption","valueChange",4,"ngIf"],[3,"id","value","valueChange"],[3,"boundValue","isRequired","bv2Id","bv2AriaLabelledby","boundValueChange"],[3,
"value","options","includeEmptyOption","valueChange"],["name","customInput","tabindex","0",3,"defaultLineCount","type","values","enumChoices","truncate","valuesChange"],[1,"create-issue-recaptcha"],[3,"onUpdate"],["mat-dialog-title",""],[1,"bv2-create-issue-default-description"],["mat-button","",3,"mat-dialog-close"],["mat-button","","mat-dialog-close",""]],template:function(a,b){a&1&&(F(0,"h2",0),P(1,"Create issue"),H(),F(2,"div",1)(3,"div",2)(4,"button",3),L("click",function(){return b.back()}),
I(5,"mat-icon",4),H(),F(6,"h2"),P(7,"Create Issue"),H(),O(8,ytb,1,2,"b-hotlist-picker",5),H()(),F(9,"div",6)(10,"div")(11,"div",7)(12,"form",8),O(13,Dtb,6,8,"div",9),O(14,Mtb,4,3,"div",10),O(15,Otb,2,1,"div",11),F(16,"div",12)(17,"div",13)(18,"div",14)(19,"label",15),P(20,"Component"),H()(),F(21,"div",16)(22,"b-team-component-picker",17),L("selectedComponentChange",function(d){return b.selectComponent(null!==d&&void 0!==d?d:null)})("touched",function(){return b.componentPickerTouched=!0}),H()()(),
O(23,Rtb,11,5,"div",18),H(),O(24,Stb,3,0,"div",19),O(25,Lub,38,28,"div",20),H()(),F(26,"div",21)(27,"b-magic-box",22),L("headerChange",function(d){return b.magicBoxHeader=d}),H()()()(),O(28,Mub,11,2,"ng-template",null,23,gg));if(a&2){var c;z(8);E("ngIf",b.canEditIssuesInComponent);z(4);E("ngClass",Rf(15,X8c,b.submitRequested));z(1);E("ngIf",Atb(b)||Btb(b));z(1);E("ngIf",b.submitRequested&&!b.isValid());z(1);E("ngIf",0<b.selectedHotlists.length);z(7);E("selectedComponent",b.selectedComponent)("shouldFocus",
!b.componentRequestedInUrl&&!b.templateIssueRequestedInUrl)("isRequired",!0);z(1);E("ngIf",0<b.availablePredefinedTemplates.length||null!=b.availableExistingIssueTemplate);z(1);E("ngIf",!b.isLoadingComponent&&(null!=b.componentRequestedInUrl||null!=b.selectedComponent)&&!b.canCreateNewIssuesInComponent&&!b.createAclLoading&&b.selectedComponent);z(1);E("ngIf",b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent);z(2);E("componentId",null!==(c=b.issue.componentId)&&void 0!==c?c:
void 0)("issueTitle",b.issue.title)("issue",b.issue)("customFieldMap",b.customFieldMap)}},dependencies:[vQ,WO,o_,vP,YS,EY,q0,qB,hV,Bx,wg,tx,ux,Lx,Nx,Ax,yx,tU,w_,dO,M_,yZ,K7,QA,fB,gB,hB,iB,O7,P7,Q7,Nz,dD,bD,cD,cU,lD,L7,qV,Pw,Qw,Rw,HB,cT,N_,EK,Xw],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}button.gmat-button.small.collaborator-groups-button[_ngcontent-%COMP%]{color:#202124;color:var(--text-default);min-width:160px;margin-top:5px}button.gmat-button.small.collaborator-groups-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{float:right;padding-top:5px}button.gmat-button.small.collaborator-groups-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{overflow:hidden;float:left;max-width:270px}.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[_ngcontent-%COMP%]     svg{height:90%;margin-top:1px}[_nghost-%COMP%]   input.invalid[_ngcontent-%COMP%]{border-color:var(--bad-high-contrast)!important;border-width:2px!important}\n/*# sourceMappingURL=create_issue_page.css.map */"]});
var Pub={hotlistId:[],comment:"",severity:"S2",inProd:!1,customField:[]},h9c=function(a,b,c,d){this.id=a;this.type=b;this.name=c;this.isDefault=d};var r9c=["form"],U7=function(a,b,c,d,e,g,h,l){this.bLocation=a;this.sloApi=b;this.errorHandler=c;this.paths=d;this.analytics=e;this.butterBar=g;this.appHistory=l;this.isSaving=this.elementPickerIsValid=!1;this.createSloForm=null;this.error="";this.sloUnderEdit={sloId:"0",parentId:"0",name:"",description:"",version:0,elements:[],effectiveElements:[],alertState:"OFF",isArchived:!1};h.setTitle("Create SLO")};f=U7.prototype;f.ngAfterViewInit=function(){};
f.save=function(){var a=this;if(!this.validate())return Promise.reject("Correct the errors in the form");YG(this.butterBar,"Saving SLO...",0);this.isSaving=!0;return this.sloApi.create(this.sloUnderEdit).then(function(b){YG(a.butterBar,"SLO "+b.name+" saved.",2E3);a.analytics.trackEvent("SLO","create");a.bLocation.replaceUrl(a.paths.editSlo(b.sloId))}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isSaving=!1})};f.back=function(){J2(this.appHistory)};
f.revertChanges=function(){this.sloUnderEdit.name="";this.sloUnderEdit.description="";this.sloUnderEdit.elements=[]};f.updateCollection=function(a){this.sloUnderEdit.elements=a};f.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};U7.\u0275fac=function(a){return new (a||U7)(B(PH),B(RT),B(aH),B(QH),B(EI),B(XG),B(wW),B(I2))};
U7.\u0275cmp=Oc({type:U7,selectors:[["create-slo-page"]],viewQuery:function(a,b){a&1&&bg(r9c,5);if(a&2){var c;ag(c=dg())&&(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&&(F(0,"div",0)(1,"div",
1)(2,"b-button",2),L("onAction",function(){return b.back()}),I(3,"b-icon",3),H()()(),F(4,"div",4)(5,"h2",5)(6,"span",6),P(7,"Create a new SLO"),H()(),F(8,"div",7)(9,"form",8,9),I(11,"b-error-banner",10),F(12,"div",11)(13,"label",12),P(14,"Name"),H(),F(15,"input",13),L("ngModelChange",function(c){return b.sloUnderEdit.name=c}),H()(),F(16,"div",11)(17,"label",14),P(18,"Description"),H(),F(19,"textarea",15),L("ngModelChange",function(c){return b.sloUnderEdit.description=c}),P(20,"        "),H()(),F(21,
"div",11)(22,"slo-elements-picker",16),L("onCollectionUpdate",function(c){return b.updateCollection(c)})("onValidation",function(c){return b.elementPickerIsValid=c}),H()(),F(23,"p",17),P(24," Access controls may be defined once the slo is created. "),H(),F(25,"div",18)(26,"b-button",19),L("onAction",function(){return b.save()}),P(27," Save "),H(),F(28,"b-button",20),L("onAction",function(){return b.revertChanges()}),P(29," Revert changes "),H()()()()());a&2&&(z(9),xf("show-errors",b.error),z(2),E("error",
b.error),z(1),xf("bv2-edit-resource-readonly",b.isSaving),z(3),E("required",!0)("bFocus",!0)("ngModel",b.sloUnderEdit.name)("disabled",b.isSaving),z(1),xf("bv2-edit-resource-readonly",b.isSaving),z(3),E("ngModel",b.sloUnderEdit.description)("disabled",b.isSaving),z(3),E("isDisabled",!1)("collection",b.sloUnderEdit.elements),z(4),E("disabled",b.isSaving||(null==b.createSloForm?null:b.createSloForm.pending)||(null==b.createSloForm?null:b.createSloForm.invalid)||!b.elementPickerIsValid),z(2),E("disabled",
!(""!==b.sloUnderEdit.name||""!==b.sloUnderEdit.description||0<b.sloUnderEdit.elements.length)))},dependencies:[vQ,h1,hV,Bx,wg,tx,ux,Lx,Ax,yx,dO,x2],encapsulation:2});var V7=function(){this.nextPanelId=1};V7.\u0275fac=function(a){return new (a||V7)};V7.\u0275prov=yc({token:V7,factory:V7.\u0275fac,providedIn:"root"});var W7=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da){rF.call(this);this.cdr=a;this.paths=b;this.bLocation=c;this.$log=d;this.analytics=e;this.issueApi=g;this.userApi=h;this.bookmarkGroupsApi=l;this.hotlistApi=q;this.butterBar=v;this.pageTitle=x;this.dashboards=A;this.routeParams=G;this.appSearchState=Q;this.userAccess=Y;this.errorHandler=W;this.statusMessages=ia;this.appEvents=ja;this.hotlistFridge=Aa;this.issueFridge=Da;this.ANALYTICS_CATEGORY="dashboard";this.panels=[];this.hotlistChoices=
[];this.hotlistMap={};this.isStarred=!1;this.bookmarkGroup=null;this.isAdmin=!1;this.userEmail=M.getUserEmail();this.groupId=G.groupId||null};T(W7,rF);W7.\u0275dir=rF.\u0275dir;
W7.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){s9c(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){t9c(a,
b,function(c){return c+1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveUp.subscribe(function(b){t9c(a,b,function(c){return c-1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToTop.subscribe(function(b){t9c(a,b,function(){return 0})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToBottom.subscribe(function(b){t9c(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 Xub=function(a,b){var c=b.selectedIssues;if(a=u9c(a,b.panelId))a.selectedIssues=null!=c?c:[]},Wub=function(a,b,c){b.focusedRowIndex=c;if(null!=c)for(a=k(a.panels),c=a.next();!c.done;c=a.next())c=c.value,c!==b&&(c.focusedRowIndex=null)},u9c=function(a,b){return a.panels.find(function(c){return c.panelId===b})},v9c=function(a,b){a=a.panels.findIndex(function(c){return c.panelId===b});return-1!==a?a:void 0};f=W7.prototype;
f.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];Xh(d,c)||(d&&ra(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"createHotlist");YG(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);YG(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)};
f.loadHotlist=function(a){var b=this,c=a.hotlistId,d=a.successCallback;a=a.errorCallback;YG(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)};f.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
f.loadHotlists=function(a){var b=this,c=new Set;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=k(d.value.hotlistId||[]);for(var e=d.next();!e.done;e=d.next())e=e.value,this.hotlistMap[e]||c.has(e)||c.add(e)}c=k(c);for(e=c.next();!e.done;e=c.next())this.hotlistApi.get(e.value).then(function(g){b.hotlistFridge.announce(g);b.addHotlist(g);b.cdr.detectChanges()}).catch(function(g){403!==g.status&&b.errorHandler.errorHandler(null,g)})};
f.sendBulkEditRequest=function(a,b){var c=this;if(1===a.length&&1===a[0].actions.length&&"readState"===a[0].actions[0].fieldName){var d=!!a[0].actions[0].value;b=k(this.panels);for(var e=b.next();!e.done;e=b.next()){e=k(e.value.selectedIssues);for(var g=e.next();!g.done;g=e.next())g.value.isRead=d}this.cdr.detectChanges();YG(this.butterBar,"Marking "+a[0].issueIds.length+" issues  "+(d?"read":"unread")+"...",0);return LI(this.issueFridge,a[0].issueIds,{markRead:d}).then(function(l){YG(c.butterBar,
"Issues marked "+(d?"read":"unread")+".");for(var q=k(c.panels),v=q.next();!v.done;v=q.next()){v=k(v.value.selectedIssues);for(var x=v.next();!x.done;x=v.next()){var A=void 0;x.value.lastViewedTime=null!=(A=l)?A:null}}}).catch(function(l){for(var q=k(c.panels),v=q.next();!v.done;v=q.next()){v=k(v.value.selectedIssues);for(var x=v.next();!x.done;x=v.next())x=x.value,x.isRead=!!x.lastViewedTime&&x.lastViewedTime>=x.majorModifiedTime}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=
Zza(a).map(function(l){return l.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};YG(this.butterBar,"Saving changes...",0);return this.issueApi.issueBulkEdit(h,b).then(function(l){for(var q=k([].concat(cd(c.searchPanels),cd(c.hotlistPanels))),v=q.next();!v.done;v=q.next()){v=v.value;var x=l;if(v.searchResults){v.searchResults=v.searchResults.clone();for(var A=0,G=k(v.searchResults.issues),M=G.next();!M.done;M=G.next()){M=M.value;if(x.affectedIssues[M.issueId]){var Q=
x.affectedIssues[M.issueId];Q=p0a(Q,x.componentMap[Number(oa(Q.snapshot).componentId)]);Q.selected=M.selected;v.searchResults.issues[A]=Q;v.resultsLoaded.emit([v.searchResults.issues[A]])}A++}}}l.errors&&l.errors.length?(q=oqa(l.errors,"issueId"),ZG(c.butterBar,"Failed to update issue(s) "+q.join(", ")+"."),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(l=Lgc(c.statusMessages,h))?YG(c.butterBar,l):YG(c.butterBar,"Saved "+$za(a).length+" issue(s).")}).catch(function(l){c.errorHandler.errorHandler(null,
l)})};f.loadBookmarkGroup=function(){var a=this;return this.bookmarkGroupsApi.get(this.groupId).then(function(b){MG(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 s9c=function(a,b){a.panels=(b.item||[]).map(function(c,d){return w9c(a,c,0===d?0:void 0)})};
W7.prototype.removePanel=function(a){var b=this,c=u9c(this,a);if(null!=c){YG(this.butterBar,"Saving changes...",0);a=Yh(this.bookmarkGroup);var d;a.item=(null!=(d=a.item)?d:[]).filter(function(e){return!x9c(b,c,e)});y9c(this,a)}};
var t9c=function(a,b,c){b=v9c(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=Yh(a.bookmarkGroup);var e,g,h=null==(e=a.bookmarkGroup)?void 0:null==(g=e.item)?void 0:g.findIndex(function(l){return x9c(a,d,l)});void 0!==h&&(Iaa(b.item,h,c),y9c(a,b))}}},y9c=function(a,b){a.bookmarkGroupsApi.update(b).then(function(c){a.bookmarkGroup=c;z9c(a,a.bookmarkGroup.item);YG(a.butterBar,"Bookmark group saved.",4E3);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});
a.cdr.detectChanges()},function(c){a.errorHandler.errorHandler(null,c)})},x9c=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}},A9c=function(a,b){return a.panels.find(function(c){return x9c(a,c,b)})},w9c=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:[]}},z9c=function(a,b){a.panels=(null!=b?b:[]).map(function(c){var d;return null!=(d=A9c(a,c))?d:w9c(a,c)})};
W7.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)})};W7.prototype.editBookmarkGroup=function(){this.bLocation.url(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};
W7.\u0275fac=function(a){return new (a||W7)(B(AI),B(QH),B(PH),B($G),B(EI),B(GF),B(lI),B(xX),B(cI),B(XG),B(wW),B(V7),B(sK),B(Bs),B(RX),B(LG),B(aH),B(fK),B(eH),B(pI),B(JI))};
W7.\u0275cmp=Oc({type:W7,selectors:[["dashboard-page"]],viewQuery:function(a,b){a&1&&(bg(b2,5),bg(Z1,5));if(a&2){var c;ag(c=dg())&&(b.searchPanels=c);ag(c=dg())&&(b.hotlistPanels=c)}},features:[Of([AI]),kf],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&&(F(0,"h2",0),P(1,"Dashboard"),H(),F(2,"div",1)(3,"div",2),P(4,"Bookmark groups dashboard"),H(),F(5,"b-dashboard-controls",3),L("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)}),H()(),F(6,"div",4),O(7,Vub,8,3,"div",5),O(8,$ub,3,3,"div",6),H());a&2&&(z(5),E("hotlistChoices",b.hotlistChoices)("panels",b.panels),z(1),E("bFocus",!0),
z(1),E("ngIf",b.bookmarkGroup),z(1),E("ngForOf",b.panels))},dependencies:[K_,wU,b2,Z1,Qw,Rw,Sw,Tw,hV,lD],encapsulation:2});var X7=function(){};X7.\u0275fac=function(a){return new (a||X7)};X7.\u0275mod=Qc({type:X7});X7.\u0275inj=zc({imports:[L_,EU,c2,a2,OG,iV,fE]});var B9c=["editBookmarkGroupItemsContainer"],C9c=["bookmarkGroupName"],zvb=function(a){return{"bv2-edit-resource-readonly":a}},Bvb=function(a){return{displayText:"Admins",values:a}},Avb=function(a){return[a]},Y7=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa){rF.call(this);var Da=this;this.routeParams=a;this.location=b;this.butterBar=c;this.accessPolicyApi=d;this.userApi=e;this.bookmarkGroupsApi=g;this.hotlistApi=h;this.paths=l;this.appHistory=q;this.pageTitle=v;this.accessPolicyConverter=x;this.userAccess=
A;this.errorHandler=M;this.appEvents=Y;this.snackBar=W;this.confirmationDialog=ia;this.cdr=ja;this.documentationLinks=Aa;this.selectedTabIndex=0;this.isAdmin=this.isArchiving=this.isUpdating=this.isLoading=!1;this.isReaderFieldValid=this.isAdminsFieldValid=!0;this.error="";this.selectedHotlistIds=[[]];this.userHotlists=[];this.userSavedSearches=null;this.savedSearchChoices=[];this.currentUserEmail=Q.getUserEmail();this.accessPolicyUnderEdit=aS();this.flattenedAccessPolicy=aS();a=this.loadBookmarkGroup(this.routeParams.groupId);
b=this.loadUserAccess(this.routeParams.groupId);this.loadAccessPolicy(this.routeParams.groupId);D9c(this);E9c(this);Promise.all([a,b]).then(function(){var Oa;null==(Oa=Da.bookmarkGroupNameInput)||Oa.nativeElement.focus()});this.subscriptions.add(yQ(G,function(){return Da.hasUnsavedChanges()},!1));G=function(){D9c(Da)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(G));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(G));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){E9c(Da)}))};
T(Y7,rF);Y7.\u0275dir=rF.\u0275dir;f=Y7.prototype;f.ngOnInit=function(){"access"===this.location.hash()&&(this.selectedTabIndex=1)};f.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)};f.back=function(){J2(this.appHistory)};f.isArchived=function(){return this.bookmarkGroup?this.bookmarkGroup.archived:!1};f.isSaving=function(){return this.isUpdating||this.isArchiving};
f.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};f.hasUnsavedMetadataChanges=function(){return!Xh(this.bookmarkGroup,this.bookmarkGroupUnderEdit)};f.hasUnsavedAccessPolicyChanges=function(){return!Xh(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};f.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};
f.revertMetadataChanges=function(){this.bookmarkGroupUnderEdit=Yh(this.bookmarkGroup);this.error="";this.selectedHotlistIds=[F9c(this.bookmarkGroup.item.filter(function(a){return a.hasOwnProperty("hotlistId")}))];G9c(this)};f.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=Yh(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};f.saveMetadata=function(){this.validate()&&this.doSaveMetadata()};
f.saveAccessPolicy=function(){var a=this;this.accessPolicyUnderEdit.admins.includes("USER:"+this.currentUserEmail)?this.doSaveAccessPolicy():this.openConfirmationDialog("Change bookmark group admins",yn("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()})};
f.validate=function(){if(""===this.bookmarkGroupUnderEdit.name)return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};f.archive=function(){var a=this;this.openConfirmationDialog("Archive bookmark group",yn("Do you want to archive this bookmark group?"),function(){H9c(a,"archive")})};f.unarchive=function(){var a=this;this.openConfirmationDialog("Unarchive bookmark group",yn("Do you want to unarchive this bookmark group?"),function(){H9c(a,"unarchive")})};
f.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});I9c(a,d);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:c})}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isUpdating=
!1})};
f.doSaveAccessPolicy=function(){var a=this;try{var b=cS(this.accessPolicyUnderEdit)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);ZG(this.butterBar,b);return}this.isUpdating=!0;this.snackBar.open("Saving access settings...","dismiss",{duration:0});this.accessPolicyApi.update("BOOKMARK_GROUP",this.bookmarkGroup.bookmarkGroupId,b).then(function(c){a.snackBar.open("Access settings saved.","dismiss",{duration:0});a.flattenedAccessPolicy=bS(c);a.accessPolicyUnderEdit=Yh(a.flattenedAccessPolicy);
a.loadUserAccess(a.bookmarkGroup.bookmarkGroupId)},function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isUpdating=!1})};
var H9c=function(a,b){var c=Yh(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});I9c(a,d)}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isArchiving=!1})};
Y7.prototype.loadBookmarkGroup=function(a){var b=this;this.isLoading=!0;return this.bookmarkGroupsApi.get(a).then(function(c){I9c(b,c);b.selectedHotlistIds=[F9c(b.bookmarkGroup.item)];G9c(b);b.pageTitle.setTitle("Bookmark group: "+c.name);b.cdr.detectChanges()},function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1})};var I9c=function(a,b){a.bookmarkGroup=b;a.bookmarkGroup.item||(a.bookmarkGroup.item=[]);a.bookmarkGroupUnderEdit=Yh(a.bookmarkGroup)};
Y7.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("BOOKMARK_GROUP",a).then(function(c){b.flattenedAccessPolicy=bS(c);b.accessPolicyUnderEdit=Yh(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};Y7.prototype.loadUserAccess=function(a){var b=this;return MG(this.userAccess,"admin","bookmarkGroups/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var D9c=function(a){a.userApi.getUserHotlists().then(function(b){a.userHotlists=b;a.cdr.detectChanges()})},E9c=function(a){a.userSavedSearches=null;a.userApi.getUserSavedSearches().then(function(b){a.userSavedSearches=b;G9c(a);a.cdr.detectChanges()})},G9c=function(a){if(a.userSavedSearches&&null!=a.bookmarkGroupUnderEdit){var b=J9c(a.bookmarkGroupUnderEdit.item.filter(function(c){return c.hasOwnProperty("savedSearchId")}));a.savedSearchChoices=a.userSavedSearches.filter(function(c){return-1==b.indexOf(c.searchId)})}},
dvb=function(a,b){var c=Number(b);ta(a.bookmarkGroupUnderEdit.item,function(e){return e.hotlistId===c});K9c(a,c);var d;null==(d=a.editBookmarkGroupItemsContainer)||d.nativeElement.focus()},fvb=function(a,b){ta(a.bookmarkGroupUnderEdit.item,function(d){return d.savedSearchId===b});G9c(a);var c;null==(c=a.editBookmarkGroupItemsContainer)||c.nativeElement.focus()},svb=function(a,b){switch(b.resourceType){case "SAVED_SEARCH":return a.paths.viewSavedSearch(b.savedSearchId);case "HOTLIST":return a.paths.viewHotlist(b.hotlistId);
default:Ch(b.resourceType)}},nvb=function(a,b){for(var c=k(Object.entries(b.newSelectionMap)),d=c.next(),e={};!d.done;e={$jscomp$loop$prop$id$2398:e.$jscomp$loop$prop$id$2398},d=c.next()){var g=k(d.value);d=g.next().value;g=g.next().value;e.$jscomp$loop$prop$id$2398=bi(d);g&&!b.oldSelectionMap[e.$jscomp$loop$prop$id$2398]?(qvb(a,e.$jscomp$loop$prop$id$2398),d=a.userHotlists.find(function(h){return function(l){return l.hotlistId===h.$jscomp$loop$prop$id$2398}}(e)),a.bookmarkGroupUnderEdit.item.push({hotlistId:d.hotlistId,
name:d.name,resourceType:"HOTLIST"})):b.oldSelectionMap[e.$jscomp$loop$prop$id$2398]&&!g&&(K9c(a,e.$jscomp$loop$prop$id$2398),ta(a.bookmarkGroupUnderEdit.item,function(h){return function(l){return l.hotlistId===h.$jscomp$loop$prop$id$2398}}(e)))}},qvb=function(a,b){a.selectedHotlistIds[0].push(b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},K9c=function(a,b){ra(a.selectedHotlistIds[0],b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},jvb=function(a,b){-1===J9c(a.bookmarkGroupUnderEdit.item).indexOf(b.searchId)&&
a.bookmarkGroupUnderEdit.item.push({name:b.name,resourceType:"SAVED_SEARCH",savedSearchId:b.searchId});setTimeout(function(){G9c(a)})},J9c=function(a){return a?oqa(a,"savedSearchId"):[]},F9c=function(a){return a?oqa(a,"hotlistId"):[]},ovb=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)},
pvb=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)};Y7.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:Ch(a.resourceType)}};
Y7.prototype.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};Y7.\u0275fac=function(a){return new (a||Y7)(B(sK),B(PH),B(XG),B(pH),B(lI),B(xX),B(cI),B(QH),B(I2),B(wW),B($R),B(LG),B(xQ),B(aH),B(Bs),B(eH),B(VG),B(PJ),B(AI,2),B(OJ))};
Y7.\u0275cmp=Oc({type:Y7,selectors:[["b-edit-bookmark-group"]],viewQuery:function(a,b){a&1&&(bg(B9c,5),bg(C9c,5),bg(QN,5,Dd));if(a&2){var c;ag(c=dg())&&(b.editBookmarkGroupItemsContainer=c.first);ag(c=dg())&&(b.bookmarkGroupNameInput=c.first);ag(c=dg())&&(b.tabs=c)}},features:[Of([AI]),kf],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&&(F(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),L("click",function(){return b.back()}),I(4,"mat-icon",
4),H(),O(5,avb,2,1,"button",5),O(6,bvb,2,1,"button",5),H()()(),F(7,"div",6),O(8,Cvb,48,40,"ng-container",7),H());a&2&&(z(5),E("ngIf",b.isAdmin&&!b.isArchived()),z(1),E("ngIf",b.isAdmin&&b.isArchived()),z(2),E("ngIf",!b.isLoading&&b.bookmarkGroup.bookmarkGroupId))},dependencies:[Pw,Qw,Rw,HB,lD,QA,RN,QN,h1,uU,w_,GX,wg,tx,Lx,Ax,dD,bD,cD,aD,g0],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 L9c=["savedSearchNameInput"],Hvb=function(a){return{"bv2-edit-resource-readonly":a}},Jvb=function(a){return{displayText:"Admins",values:a}},Ivb=function(a){return[a]},Z7=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia){rF.call(this);var ja=this;this.routeParams=a;this.location=b;this.accessPolicyApi=c;this.savedSearchApi=d;this.paths=e;this.appHistory=g;this.butterBar=h;this.pageTitle=l;this.documentationLinks=v;this.userAccess=A;this.errorHandler=G;this.snackBar=M;this.confirmationDialog=Q;this.cdr=
Y;this.accessPolicyConverter=W;this.appEvents=ia;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=aS();this.flattenedAccessPolicy=aS();this.pageTitle.setTitle("Saved Search Overview");a=this.loadSavedSearch(this.routeParams.savedSearchId);b=this.loadUserAccess(this.routeParams.savedSearchId);this.loadAccessPolicy(this.routeParams.savedSearchId);
Promise.all([a,b]).then(function(){var Aa;null==(Aa=ja.savedSearchName)||Aa.nativeElement.focus()});this.subscriptions.add(yQ(x,function(){return ja.hasUnsavedChanges()},!1))};T(Z7,rF);Z7.\u0275dir=rF.\u0275dir;f=Z7.prototype;f.ngOnInit=function(){"access"===this.location.hash()&&(this.selectedTabIndex=1)};f.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)};
f.loadSavedSearch=function(a){var b=this;this.isLoading=!0;return this.savedSearchApi.get(a).then(function(c){b.savedSearch=c;b.savedSearchUnderEdit=Yh(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()})};
f.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SAVED_SEARCH",a).then(function(c){b.flattenedAccessPolicy=bS(c);b.accessPolicyUnderEdit=Yh(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};f.loadUserAccess=function(a){var b=this;return MG(this.userAccess,"admin","savedSearches/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
f.isSaving=function(){return this.isUpdating||this.isDeleting};f.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};f.back=function(){J2(this.appHistory)};f.revertMetadataChanges=function(){this.savedSearchUnderEdit=Yh(this.savedSearch);this.error=""};f.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=Yh(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};f.hasUnsavedMetadataChanges=function(){return!Xh(this.savedSearch,this.savedSearchUnderEdit)};
f.hasUnsavedAccessPolicyChanges=function(){return!Xh(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};f.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};
f.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=Yh(b);a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId})}).catch(function(b){a.errorHandler.errorHandler(null,
b)}).finally(function(){a.isUpdating=!1}))};f.validate=function(){if(""===this.savedSearchUnderEdit.name)return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};
f.saveAccessPolicy=function(){var a=this;this.accessPolicyUnderEdit.admins.includes("USER:"+this.currentUserEmail)?this.doSaveAccessPolicy():this.openConfirmationDialog("Change saved search admins",yn("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()})};
f.doSaveAccessPolicy=function(){var a=this;try{var b=cS(this.accessPolicyUnderEdit)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);ZG(this.butterBar,b);return}this.isUpdating=!0;this.snackBar.open("Saving access settings...","dismiss",{duration:0});this.accessPolicyApi.update("SAVED_SEARCH",this.savedSearch.searchId,b).then(function(c){a.snackBar.open("Access settings saved.","dismiss",{duration:0});a.flattenedAccessPolicy=bS(c);a.accessPolicyUnderEdit=Yh(a.flattenedAccessPolicy);
a.loadUserAccess(String(a.savedSearch.searchId));a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId})},function(c){a.errorHandler.errorHandler(null,c);ZG(a.butterBar,am(c),0)}).finally(function(){a.isUpdating=!1})};f.delete=function(){var a=this;this.openConfirmationDialog("Delete saved search",yn("Do you want to delete this saved search?"),function(){a.doDelete()})};
f.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"});Icc(a.location,"/")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isDeleting=!1})};
f.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};Z7.\u0275fac=function(a){return new (a||Z7)(B(sK),B(PH),B(pH),B(gU),B(QH),B(I2),B(XG),B(wW),B(Bs),B(OJ),B(xQ),B(LG),B(aH),B(VG),B(PJ),B(AI,2),B($R),B(eH))};
Z7.\u0275cmp=Oc({type:Z7,selectors:[["b-edit-saved-search"]],viewQuery:function(a,b){a&1&&(bg(L9c,5),bg(QN,5,Dd));if(a&2){var c;ag(c=dg())&&(b.savedSearchName=c.first);ag(c=dg())&&(b.tabs=c)}},features:[Of([AI]),kf],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&&(F(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),L("click",function(){return b.back()}),I(4,"mat-icon",4),H(),O(5,Dvb,2,1,"button",5),H()()(),F(6,"div",6),O(7,Evb,
4,0,"ng-container",7),O(8,Kvb,51,38,"ng-container",7),H());a&2&&(z(5),E("ngIf",b.isAdmin),z(2),E("ngIf",!b.isLoading&&!b.savedSearch),z(1),E("ngIf",!b.isLoading&&b.savedSearch))},dependencies:[Pw,Rw,HB,lD,QA,RN,QN,h1,wg,tx,Lx,Ax,g0],encapsulation:2});var M9c=function(a){this.internalArray_=m(a)};T(M9c,p);f=M9c.prototype;f.getAuthor=function(){return X(this,ri,1)};f.setAuthor=function(a){hj(this,ri,1,a)};f.getTimestamp=function(){return X(this,Nh,2)};f.setTimestamp=function(a){return hj(this,Nh,2,a)};f.hasTimestamp=function(){return Nj(this,Nh,2)};f.getAdd=function(){return X(this,mj,3)};f.getRemove=function(){return X(this,mj,4)};f.getAddMask=function(){return X(this,$D,5)};f.getRemoveMask=function(){return X(this,$D,6)};f.toObject=function(){return N9c(this)};
var N9c=function(a){if(null!=a)return r(a),{author:sE(a.getAuthor()),timestamp:Lt(a.getTimestamp()),add:i8b(a.getAdd()),remove:i8b(a.getRemove()),addMask:aE(a.getAddMask()),removeMask:aE(a.getRemoveMask())}};var $7=function(a){this.internalArray_=m(a,0,$7.messageId)};T($7,p);$7.prototype.getUpdatesList=function(){return kj(this,M9c,1)};$7.repeatedFields_=[1];$7.prototype.toObject=function(){if(null!=this){r(this);var a={updatesList:Ub(this.getUpdatesList(),N9c)}}else a=void 0;return a};$7.messageId="b.SloHistory";var a8=function(a,b){this.executor=b;this.sloHistories=a.get("slo_histories-second-level-cache")||a.create("slo_histories-second-level-cache",{capacity:25})};a8.prototype.get=function(a){var b=this.sloHistories.get(String(a));return void 0!==b?b:this.sloHistories.put(String(a),O9c(this,a))};var O9c=function(a,b){return a.executor.get({url:"action/slo_updates/"+b,responseConstructor:$7}).then(function(c){var d;return{updates:(null!=(d=c.getUpdatesList())?d:[]).map(Sra)}})};
a8.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};a8.prototype.invalidateCache=function(a){this.sloHistories.remove(String(a))};a8.\u0275fac=function(a){return new (a||a8)(t(ZH),t(iE))};a8.\u0275prov=yc({token:a8,factory:a8.\u0275fac,providedIn:"root"});var b8=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa){rF.call(this);var Da=this;this.routeParams=a;this.accessPolicyConverter=b;this.bLocation=c;this.appHistory=e;this.butterBar=g;this.pageTitle=h;this.documentationLinks=q;this.userAccess=x;this.accessPolicyApi=A;this.sloApi=G;this.sloUpdatesApi=M;this.sloUpdatesService=Q;this.errorHandler=Y;this.matDialogService=W;this.analytics=ia;this.confirmationDialogService=ja;this.appEvents=Aa;this.historyDiffs=void 0;this.isImportedFromBugScope=this.isUneditedFromBugScope=
this.elementPickerIsValid=this.isAdminInternal=this.isUpdating=this.isLoading=!1;this.selectedTabIndex=0;this.validity={};this.isInvalid=function(){return Object.values(Da.validity).some(function(Oa){return!Oa})};this.editableAccessPolicy=aS();this.flattenedAccessPolicy=aS();this.subscriptions.add(yQ(v,function(){return Da.hasUnsavedChanges()},!1));a=this.routeParams.sloId;this.resourceName=cm("SLO",bi(a));if(this.sloEnabled=l.isInternalSession())this.pageTitle.setTitle("SLO Overview"),P9c(this,a),
this.loadUserAccess(a),this.loadAccessPolicy(a),Q9c(this,a);this.alertState={getValue:function(){return Da.editableCopy?"ON"===Da.editableCopy.alertState:!1},getSavedValue:function(){return Da.slo?"ON"===Da.slo.alertState:!1},setValue:function(Oa){Da.editableCopy&&(Da.editableCopy.alertState=Oa?"ON":"OFF")}};this.currentUserEmail=l.getUserEmail()};T(b8,rF);b8.\u0275dir=rF.\u0275dir;
b8.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)};b8.prototype.ngOnInit=function(){"access"===this.bLocation.hash()&&(this.selectedTabIndex=1)};b8.prototype.updateCollection=function(a){this.editableCopy&&(this.editableCopy.elements=a)};
var P9c=function(a,b){a.isLoading=!0;a.sloApi.get(b).then(function(c){a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=Yh(a.slo);a.pageTitle.setTitle("SLO: "+c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isLoading=!1})};
b8.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SLO",Number(a)).then(function(c){b.flattenedAccessPolicy=bS(c);b.editableAccessPolicy=Yh(b.flattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)})};var R9c=function(a,b){return a.sloUpdatesApi.get(b).then(function(c){a.historyDiffs=c.updates.map(function(d){return ZRc(a.sloUpdatesService,d)})}).catch(function(c){a.errorHandler.errorHandler(null,c)})};f=b8.prototype;
f.loadUserAccess=function(a){var b=this;MG(this.userAccess,"admin",cm("SLO",bi(a))).then(function(c){b.isAdminInternal=c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};f.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};f.hasUnsavedMetadataChanges=function(){return!Xh(this.slo,this.editableCopy)};f.hasUnsavedAccessPolicyChanges=function(){return!Xh(this.flattenedAccessPolicy,this.editableAccessPolicy)};
f.saveMetadata=function(){var a=this;S9c(this.slo.elements,this.editableCopy.elements)?this.save():this.confirmationDialogService.open({title:"Save SLO changes?",content:Bn(yn("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."),An("br"),An("br"),yn("Please combine changes into as few updates as possible.")),onConfirm:function(){a.save()},onDismiss:fv})};
var Ovb=function(a,b){if(!a.hasUnsavedMetadataChanges()){var c=function(){a.editableCopy.isArchived=b;a.save()};b?a.confirmationDialogService.open({title:"Archive SLO?",content:yn("Archiving this SLO will prevent new usages of the SLO, and will hide the SLO from most searches."),onConfirm:c,onDismiss:fv}):c()}},S9c=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],g;if(g=d.metric===e.metric&&d.matcher===e.matcher)d=d.objective,e=e.objective,g=!d&&!e||!!d&&
!!e&&d.seconds===e.seconds;if(!g)return!1}return!0};
b8.prototype.save=function(){var a=this,b=this.editableCopy;YG(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.';S9c(a.slo.elements,a.editableCopy.elements)||(d+=" Propagating this change may take several hours.");YG(a.butterBar,d);a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=Yh(c);a.sloUpdatesApi.invalidateCache(a.slo.sloId);a.analytics.trackEvent(ao.EDIT_SLO,"update")}).catch(function(c){a.errorHandler.errorHandler(null,
c)}).finally(function(){a.isUpdating=!1})};b8.prototype.saveAccessPolicy=function(){var a=this;this.isRevokingAdmin()?this.confirmationDialogService.open({title:"Change SLO admins",content:yn("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:fv}):this.doSaveAccessPolicy()};
b8.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=cS(this.editableAccessPolicy)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);ZG(this.butterBar,b);return}this.isUpdating=!0;YG(this.butterBar,"Saving access settings...");this.accessPolicyApi.update("SLO",this.slo.sloId,b).then(function(c){YG(a.butterBar,"Access settings saved.");a.flattenedAccessPolicy=bS(c);a.editableAccessPolicy=Yh(a.flattenedAccessPolicy);a.loadUserAccess(a.slo.sloId);a.analytics.trackEvent(ao.EDIT_SLO,
"updateAccessPolicy")},function(c){ZG(a.butterBar,am(c),0)}).finally(function(){a.isUpdating=!1})};b8.prototype.isRevokingAdmin=function(){return this.isRevokingDirectAdmin()};var Q9c=function(a,b){R9c(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"===pi(c.author)&&(a.isImportedFromBugScope=!0);d.author&&"buganizer-system@google.com"===pi(d.author)&&(a.isUneditedFromBugScope=!0)}})};
f=b8.prototype;f.isRevokingDirectAdmin=function(){if(Xh(this.flattenedAccessPolicy.admins,this.editableAccessPolicy.admins))return!1;var a="USER:"+this.currentUserEmail;return this.flattenedAccessPolicy.admins.includes(a)&&!this.editableAccessPolicy.admins.includes(a)};
f.revertMetadataChanges=function(){var a=this;S9c(this.slo.elements,this.editableCopy.elements)?this.editableCopy=Yh(this.slo):this.confirmationDialogService.open({title:"Revert SLO changes?",content:Bn(yn("Revert all changes to this SLO?")),onConfirm:function(){a.editableCopy=Yh(a.slo)},onDismiss:fv})};f.revertAccessPolicyChanges=function(){this.editableAccessPolicy=Yh(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};f.isSaving=function(){return this.isUpdating};
f.back=function(){J2(this.appHistory)};f.isEditDisabled=function(){return!this.editableCopy||this.isSaving()||!this.isAdmin()};f.isAdmin=function(){return this.isAdminInternal};f.showUpdateHistoryModal=function(){var a=this;R9c(this,this.slo.sloId).then(function(){a.matDialogService.open(L6,{width:"600px",data:{updateDiffs:a.historyDiffs}});a.analytics.trackEvent(ao.UPDATE_HISTORY_MODAL,"open");a.analytics.trackEvent(ao.EDIT_SLO,"viewHistory")})};
b8.\u0275fac=function(a){return new (a||b8)(B(sK),B($R),B(PH),B(QH),B(I2),B(XG),B(wW),B(Bs),B(OJ),B(xQ),B(LG),B(pH),B(RT),B(a8),B(E2),B(aH),B(eB),B(EI),B(PJ),B(eH))};
b8.\u0275cmp=Oc({type:b8,selectors:[["edit-slo-page"]],viewQuery:function(a,b){a&1&&bg(QN,5,Dd);if(a&2){var c;ag(c=dg())&&(b.tabs=c)}},features:[kf],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&&(F(0,"div",0)(1,"div",1)(2,"b-button",2),L("onAction",function(){return b.back()}),I(3,"b-icon",3),H()()(),F(4,"div",4),O(5,Lvb,2,0,"div",5),O(6,Tvb,55,31,"div",6),H());a&2&&(z(5),E("ngIf",b.isLoading),z(1),E("ngIf",!b.isLoading&&b.slo&&b.slo.sloId&&b.editableCopy))},dependencies:[vQ,Rw,Bx,wg,tx,ux,Lx,Ax,yx,WN,dO,RN,QN,g0,$O,x2,WM],encapsulation:2});var c8=function(a,b,c,d){rF.call(this);var e=this;this.contextSensitiveRegistry=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.TEA_DARK=ikc;this.TEA_LIGHT=hkc;this.getStatus=function(g){return g.snapshot[0].status};this.STATUS_FULL_TEXT=dG;this.STATUS_TERSE=$F;this.id$=this.contextSensitiveRegistry.getIssueId();this.searchUrl$=this.id$.pipe(C(function(g){return{path:"/issues",params:{q:"blockedbyid:"+g}}}));this.issue$=this.id$.pipe($e(this.issues.watch));this.blockingIds$=this.issue$.pipe(C(function(g){var h;
return null!=(h=null==g?void 0:g.snapshot[0].blockingIssueId)?h:[]}));this.issuesBeingBlocked$=this.blockingIds$.pipe($e(this.issues.watchSet));this.blockedAndOpen$=this.issuesBeingBlocked$.pipe(C(function(g){return g.filter(Il)}));this.blockedAndOpenIds$=this.blockedAndOpen$.pipe(C(function(g){return g.map(function(h){return String(h.issueId)})}));this.blockedAndClosed$=this.issuesBeingBlocked$.pipe(C(function(g){return g.filter(function(h){return fva(h)})}));this.blockedAndClosedIds$=this.blockedAndClosed$.pipe(C(function(g){return g.map(function(h){return String(h.issueId)})}));
this.thinking$=this.issues.thinking$;this.getMenuItems=function(g){return[{type:"action",label:"Remove this relationship",action:function(){e.onClickRemove(g)},title:"Remove this relationship",icon:"clear"}]};this.didChooseBlocking=function(g){var h=on(e.id$);null!=h&&KI(e.issues,"ADD","BLOCKING",h,g).catch(e.gotErr)};this.gotErr=function(g){e.snackBar.open(am(g)||"Error with network request","close",{panelClass:"error"})}};T(c8,rF);c8.\u0275dir=rF.\u0275dir;
c8.prototype.convertIssueStatusStrToTag=function(a){return tj[a]};c8.prototype.onClickAdd=function(){this.issuePicker.open({title:"Add Blocking",allowMultipleIds:!0,edgeType:"blocking"},this.didChooseBlocking)};c8.prototype.onClickRemove=function(a){var b=on(this.id$);null!=b&&KI(this.issues,"REMOVE","BLOCKING",b,[String(a)]).catch(this.gotErr)};c8.\u0275fac=function(a){return new (a||c8)(B(zK),B(JI),B(kQ),B(VG))};
c8.\u0275cmp=Oc({type:c8,selectors:[["ng-component"]],features:[kf],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&&(F(0,"section",0),O(1,gwb,4,2,"ng-container",1),R(2,"async"),H(),O(3,hwb,2,0,"aside",2),R(4,"async"));a&2&&(z(1),E("ngIf",S(2,2,b.blockingIds$)),z(2),E("ngIf",S(4,4,b.thinking$)))},dependencies:[Qw,Rw,KH,QA,RA,lD,WM,JT,Xw],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 d8=function(){};d8.\u0275fac=function(a){return new (a||d8)};d8.\u0275mod=Qc({type:d8});d8.\u0275inj=zc({imports:[OG,Ny,dz,Px,Qx,OH,ED,VN,fE,$P,gO,DP,CO,LT]});var T9c="focus-indicator title type team id assignee status menu".split(" "),U9c=[].concat(cd(T9c)),V9c="focus-indicator drag-handle title type id assignee status menu".split(" ");var hs=function(a){this.internalArray_=m(a)};T(hs,p);hs.prototype.getFilename=function(){return U(this,1)};hs.prototype.setFilename=function(a){sk(this,1,a)};hs.prototype.getLineNumber=function(a){return it(this,2,a)};hs.repeatedFields_=[2];hs.prototype.toObject=function(){return W9c(this)};var W9c=function(a){if(null!=a)return r(a),{filename:n(Z(a,1)),lineNumberList:n(Qh(a,2)),changeNumber:n(Yb(a,3))}};var is=function(a){this.internalArray_=m(a)};T(is,p);is.prototype.getPackageName=function(){return U(this,1)};is.repeatedFields_=[2];is.prototype.toObject=function(){return X9c(this)};var X9c=function(a){if(null!=a)return r(a),{packageName:n(Z(a,1)),fileMentionSetList:Ub(kj(a,hs,2),W9c)}};var e8=function(a){this.internalArray_=m(a,0,e8.messageId)};T(e8,p);e8.repeatedFields_=[3];e8.prototype.toObject=function(){if(null!=this){r(this);var a={totalMentions:n(ft(this,1)),truncated:n(vr(this,2)),packageMentionSetList:Ub(kj(this,is,3),X9c)}}else a=void 0;return a};e8.messageId="b.MentionSearchResult";var f8=function(a){this.executor=a};f8.\u0275fac=function(a){return new (a||f8)(t(iE))};f8.\u0275prov=yc({token:f8,factory:f8.\u0275fac,providedIn:"root"});var g8=function(a,b,c){this.mentionsApi=a;this.refreshMonitor=b;this.analytics=c},Y9c=function(a,b){var c="https://todo.corp.google.com/?issue="+b;a.cachedId===b&&a.cachedEntry||(a.cachedId=b,a.cachedEntry=Sdc(a.refreshMonitor,(0,D.defer)(function(){return a.mentionsApi.executor.get({url:"action/issues/"+b+"/mentions",responseConstructor:e8}).then(lwb).then(function(d){return{mentions:d,loadingState:"OK",link:c}}).catch(function(){return{loadingState:"ERROR",link:c}})}).pipe(Ze({loadingState:"LOADING",
link:c}))).pipe(Xe({refCount:!0,bufferSize:1})));return a.cachedEntry};g8.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)};g8.prototype.trackSqueegeeClick=function(){this.analytics.trackEvent("codeMentions","clickSqueegeeLink")};g8.\u0275fac=function(a){return new (a||g8)(t(f8),t(HI),t(EI))};g8.\u0275prov=yc({token:g8,factory:g8.\u0275fac,providedIn:"root"});var i8=function(a,b,c,d,e,g,h){var l=this;this.paramsService=a;this.issueRelationshipsFridge=b;this.issueFridge=c;this.codeMentions=d;this.issueApi=e;this.eventsForIssue=g;this.activeSession=h;this.id$=this.paramsService.issueId$.pipe(Me(1E3));this.issue$=this.id$.pipe($e(this.issueFridge.watch));this.issueEvents$=this.id$.pipe($e(this.eventsForIssue.watch),C(function(q){var v;return null!=(v=null==q?void 0:q.events)?v:[]}));this.blockerIssueIds$=this.issue$.pipe(C(function(q){var v;return null!=
(v=null==q?void 0:q.snapshot[0].blockedByIssueId)?v:[]}),Ne(Xh));this.blockedIssueIds$=this.issue$.pipe(C(function(q){var v;return null!=(v=null==q?void 0:q.snapshot[0].blockingIssueId)?v:[]}),Ne(Xh));this.parentIds$=this.issue$.pipe(C(function(q){var v;return null!=(v=null==q?void 0:q.parentIssueIds)?v:[]}),Ne(Xh));this.childrenIds$=this.id$.pipe($e(this.issueRelationshipsFridge.watch),C(function(q){var v;return null!=(v=null==q?void 0:q.relatedChildren.map(function(x){return x.targetIssueId}))?
v:[]}));this.duplicateIssueIds$=this.issue$.pipe(C(function(q){var v;return null!=(v=null==q?void 0:q.snapshot[0].duplicateIssueId)?v:[]}),Ne(Xh));this.blockersDualCount$=(0,D.combineLatest)([this.id$,this.blockerIssueIds$]).pipe($e(function(q){var v=k(q);q=v.next().value;v=v.next().value;return h8(l,q,v,["BLOCKED_BY"])}),Xe({bufferSize:1,refCount:!0}));this.countBlockersDisplay$=this.blockersDualCount$.pipe(C(js),Xe({bufferSize:1,refCount:!0}));this.blockedDualCount$=(0,D.combineLatest)([this.id$,
this.blockedIssueIds$]).pipe($e(function(q){var v=k(q);q=v.next().value;v=v.next().value;return h8(l,q,v,["BLOCKING"])}),Xe({bufferSize:1,refCount:!0}));this.countBlockedDisplay$=this.blockedDualCount$.pipe(C(js),Xe({bufferSize:1,refCount:!0}));this.childrenDualCount$=(0,D.combineLatest)([this.id$,this.childrenIds$]).pipe($e(function(q){var v=k(q);q=v.next().value;v=v.next().value;return h8(l,q,v,["CHILDREN"])}),Xe({bufferSize:1,refCount:!0}));this.countChildrenDisplay$=this.childrenDualCount$.pipe(C(js),
Xe({bufferSize:1,refCount:!0}));this.parentsDualCount$=(0,D.combineLatest)([this.id$,this.parentIds$]).pipe($e(function(q){var v=k(q);q=v.next().value;v=v.next().value;return h8(l,q,v,["PARENT"])}),Xe({bufferSize:1,refCount:!0}));this.countParentsDisplay$=this.parentsDualCount$.pipe(C(js),Xe({bufferSize:1,refCount:!0}));this.dependenciesDualCount$=(0,D.combineLatest)([this.id$,this.blockerIssueIds$,this.childrenIds$]).pipe($e(function(q){var v=k(q);q=v.next().value;var x=v.next().value;v=v.next().value;
return h8(l,q,[].concat(cd(v),cd(x)),["CHILDREN","BLOCKED_BY"])}));this.countDependenciesDisplay$=this.dependenciesDualCount$.pipe(C(js),Xe({bufferSize:1,refCount:!0}));this.duplicatesDualCount$=(0,D.combineLatest)([this.id$,this.duplicateIssueIds$]).pipe($e(function(q){var v=k(q);q=v.next().value;v=v.next().value;return h8(l,q,v,["DUPLICATE"])}),Xe({bufferSize:1,refCount:!0}));this.countDuplicateDisplay$=this.duplicatesDualCount$.pipe(C(function(q){return q.total}),C(nwb),Xe({bufferSize:1,refCount:!0}));
this.countResourcesDisplay$=this.issue$.pipe(C(function(q){var v;return null!=(v=null==q?void 0:q.relatedLinks)?v:[]}),C(function(q){return l.activeSession.isInternalSession()?q:q.filter(function(v){return!Gva(v)})}),C(function(q){return ks(q.length)}),C(nwb),Xe({bufferSize:1,refCount:!0}));this.countTodosDisplay$=this.id$.pipe(Ge(Ai),$e(function(q){return Y9c(l.codeMentions,q)}),C(function(q){var v,x;return ks(null!=(x=null==(v=q.mentions)?void 0:v.totalMentions)?x:0)}),C(nwb),Xe({bufferSize:1,refCount:!0}));
this.countCommentsDisplay$=this.issueEvents$.pipe(C(function(q){return ks(q.filter(Fl).length)}),C(nwb),Xe({bufferSize:1,refCount:!0}))},h8=function(a,b,c,d){d=void 0===d?[]:d;c=Al(c);if(!b||0===c.length)return(0,D.of)({open:{count:0,exact:!0},total:{count:0,exact:!0}});d=d.map(function(e){return owb(b,e)}).filter(Ai).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(Il).filter(Jl).length;return{open:ks(e),
total:ks(c.length)}}):(0,D.combineLatest)(c.map(function(e){return a.issueFridge.watch(e)})).pipe(C(function(e){return{open:ks(e.filter(Ai).filter(Il).filter(Jl).length),total:ks(e.filter(function(g){return!g||Jl(g)}).length)}}))};i8.\u0275fac=function(a){return new (a||i8)(t(rK),t(QI),t(JI),t(g8),t(GF),t(nG),t(Bs))};i8.\u0275prov=yc({token:i8,factory:i8.\u0275fac,providedIn:"root"});var j8=function(a,b,c,d,e,g,h,l,q){rF.call(this);var v=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.contextSensitiveRegistry=e;this.issuePermissionService=g;this.issuePicker=h;this.errorHandler=l;this.counts=q;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe($e(this.issueFridge.watchOne));this.filters=[];this.shouldResetFilters=new kw;this.tableColumns=T9c;this.initialSort={active:"status",direction:"asc"};this.canEdit$=
this.issuePermissionService.hasAclToEdit$;this.blockerIds$=this.issue$.pipe(C(function(x){return null==x?void 0:x.snapshot[0]}),C(function(x){var A,G;return null!=(G=null==x?void 0:null==(A=x.blockedByIssueId)?void 0:A.map(String))?G:[]}));this.blockersCount$=this.blockerIds$.pipe($e(function(x){return 0===x.length?(0,D.of)(0):v.counts.blockersDualCount$.pipe(C(function(A){return A.total.count}))}));this.showBlockersTable$=this.blockersCount$.pipe(C(function(x){return 0<x}),Ze(!0));this.getMenuItems=
function(x){return[{type:"action",label:"Remove blocker",action:function(){Z9c(v,x)},title:"Remove blocker",icon:"clear"}]};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){var x=on(v.blockerIds$);if(null!=x){x=k(x);for(var A=x.next();!A.done;A=x.next())v.issueFridge.poke(A.value)}}))};T(j8,rF);j8.\u0275dir=rF.\u0275dir;
var wwb=function(a){var b;return pe(function(c){b=on(a.issueId$);if(null==b)return c.return();a.analytics.trackEvent(ao.EDIT_ISSUE,"update","add-blocker");return c.yield(a.issuePicker.open({title:"Add Blockers of "+b,allowMultipleIds:!0,edgeType:"blocker"},function(d){$9c(a,b,d)}),0)})},$9c=function(a,b,c){pe(function(d){return 0===c.length?d.return():d.yield(KI(a.issueFridge,"ADD","BLOCKED_BY",b,c).catch(function(e){cH(a.errorHandler,e)}),0)})},Z9c=function(a,b){var c,d;pe(function(e){if(1==e.nextAddress){c=
on(a.issueId$);if(null==c)return e.return();a.analytics.trackEvent(ao.EDIT_ISSUE,"update","remove-blocker");qe(e,2);var g=e.yield;var h=KI(a.issueFridge,"REMOVE","BLOCKED_BY",c,[b]);return g.call(e,h,4)}if(2!=e.nextAddress)return Hs(e,0);d=te(e);ZG(a.butterBar,"Could not remove blocker "+b+". "+($l(d)?am(d):d));ue(e)})};j8.\u0275fac=function(a){return new (a||j8)(B(JI),B(XG),B(EI),B(HI),B(zK),B(CK),B(kQ),B(aH),B(i8))};
j8.\u0275cmp=Oc({type:j8,selectors:[["b-blockers-table"]],viewQuery:function(a,b){a&1&&bg(JT,5);if(a&2){var c;ag(c=dg())&&(b.issuesTable=c.first)}},inputs:{filters:"filters"},outputs:{shouldResetFilters:"shouldResetFilters"},features:[kf],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&&(F(0,"div",0)(1,
"h4",1)(2,"div",2),I(3,"mat-icon",3),H(),P(4),R(5,"async"),H(),O(6,qwb,2,1,"ng-container",4),R(7,"async"),H(),O(8,swb,3,3,"ng-container",5),R(9,"async"),O(10,twb,4,2,"p",6),R(11,"async"),O(12,vwb,6,1,"ng-template",null,7,gg),O(14,xwb,3,3,"ng-template",null,8,gg));if(a&2){var c=Kf(13);z(4);Lf(" Blockers ",S(5,5,b.counts.countBlockersDisplay$)," ");z(2);E("ngIf",S(7,7,b.showBlockersTable$));z(2);E("ngIf",S(9,9,b.showBlockersTable$))("ngIfElse",c);z(2);E("ngIf",S(11,11,null==b.issuesTable?null:b.issuesTable.filteredRowCount$))}},
dependencies:[Rw,Ww,HB,lD,vQ,JT,Xw],styles:["[_nghost-%COMP%] {\n      display: block;\n    }\n    b-issues-table[_ngcontent-%COMP%] {\n      display: block;\n      overflow-x: auto;\n    }"],changeDetection:0});var a$c=function(){this.EMPTY_BLOCKER_LIGHT=ckc;this.EMPTY_BLOCKER_DARK=dkc;this.EMPTY_CHILD_LIGHT=ekc;this.EMPTY_CHILD_DARK=fkc};a$c.\u0275fac=function(a){return new (a||a$c)};
a$c.\u0275cmp=Oc({type:a$c,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&&(F(0,"h1",0),P(1,"About Dependencies"),H(),F(2,"div",1)(3,"div",2),I(4,"img",3)(5,"img",3)(6,"img",4)(7,"img",4),H(),F(8,"article")(9,"p",5),P(10," Children are used to separate a large work item (like a project) into smaller pieces. Blockers indicate that something prevents work from starting on this issue. "),F(11,"a",6),P(12,"Learn more"),H()()()(),F(13,"div",7)(14,
"button",8),P(15,"Ok"),H()());a&2&&(z(4),E("src",b.EMPTY_CHILD_LIGHT,Ud),z(1),E("src",b.EMPTY_BLOCKER_LIGHT,Ud),z(1),E("src",b.EMPTY_CHILD_DARK,Ud),z(1),E("src",b.EMPTY_BLOCKER_DARK,Ud))},dependencies:[QA,fB,gB,hB,iB],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 b$c=function(){return["focus-indicator","load-more-children"]},c$c=ao.EDIT_ISSUE,d$c={type:"data",id:"",issue$:D.NEVER,hasChildren$:D.NEVER,ancestorChain:new mQ([]),level:0,expandedCount:0},k8=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q){rF.call(this);var Y=this;this.issueRelationshipsFridge=a;this.router=b;this.butterBar=c;this.analytics=d;this.issueArchiveService=e;this.ngZone=g;this.elementRef=h;this.domSafe=q;this.reorderingSessionTracker=v;this.cdr=x;this.relationsTableModelFactory=A;this.liveAnnouncer=
G;this.clearcut=M;this.paths=Q;this.internalFilters=new MK;this.isClosed=fva;this.tableColumns=V9c;this.trackBy=function(W,ia){return ia.ancestorChain.hash()+ia.type};this.isLoadMoreRow=function(W,ia){return"load-more-children"===ia.type};this.isDataRow=function(W,ia){return"data"===ia.type};this.isDraftRow=function(W,ia){return"draft-issue"===ia.type};this.selectionModel=new CQ;this.hasLogged=!1;this.correctedDisplayedRows=new eg;this.TITLE_FIXED_OFFSET_PX=42;this.rowDirectiveMap=new Map;this.getRowIndex=
function(W){var ia;return(null!=(ia=on(Y.rows$))?ia:[]).findIndex(function(ja){return co(ja,W)})};this.showError=function(W){return function(ia){ZG(Y.butterBar,W+". "+($l(ia)?am(ia):ia))}};this.subscriptions.add(yQ(l,function(){return Y.tableModel.draftRows.isSaving()||Y.issueRelationshipsFridge.isSaving()},!1))};T(k8,rF);k8.\u0275dir=rF.\u0275dir;f=k8.prototype;
f.ngOnInit=function(){var a=this;this.tableModel=this.relationsTableModelFactory.create(this.rootIssueId,this.internalFilters);this.rows$=(0,D.scheduled)([this.tableModel.rows$,(0,D.of)([d$c])],D.asyncScheduler).pipe(Be(1),Xe({refCount:!0,bufferSize:1}));var b=this.rows$.pipe($e(function(c){return(0,D.combineLatest)(c.filter(function(d){return"data"===d.type}).map(function(d){return d.issue$}))}),Le(0,D.asapScheduler));this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();a.trackRelationsData(c)}));
this.rowReorderingModel=new AQ(this.elementRef.nativeElement,this.correctedDisplayedRows,this.ngZone,this.selectionModel);this.subscriptions.add(this.rowReorderingModel.onLongHover$.subscribe(function(c){var d=c.row;"load-more-children"===d.type?a.displayAllSiblings(d):"data"===d.type&&(c=a.tableModel.expansion,d=d.ancestorChain,pQ(c,d)||qQ(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;return pe(function(e){if(1==e.nextAddress)return hec(a.issueRelationshipsFridge,
c.insertAt,c.movedRows.map(function(g){return{issueId:g.nodeId,parentId:g.parentNodeId}})).then(function(){return a.liveAnnouncer.announce(c.actionMessage+" successfully.")}).catch(a.showError("Unable to reorder issues")),Zoc(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),e.yield((0,D.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(C(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.ancestorChain.nodeId===c.movedRows[0].nodeId&&h.row.ancestorChain.parentNodeId===
c.insertAt.parentId})}),Ge(Boolean),Ie(6E4))),2);d=e.yieldResult;d.focus();ue(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
f.trackRelationsData=function(a){if(!this.hasLogged&&0!==a.length){this.hasLogged=!0;var b=a.length,c=0===document.querySelectorAll("b-issue-relations-table b-expandable-issue-title-cell .collapsed").length+document.querySelectorAll('b-issue-relations-table [data-type="load-more-children"]').length;uI(this.clearcut,"view-relations-"+(c?"all-loaded":"some-loaded"));this.analytics.trackEvent(c$c,"view-relations","visible-count",b);c&&(a=a.filter(function(d){var e;return null!=(null==d?void 0:null==
(e=d.snapshot[0])?void 0:e.effort)}).length/b,uI(this.clearcut,"view-relations-"+(.5<a?"most-estimated":"most-unestimated")),this.analytics.trackEvent(c$c,"view-relations","ratio-estimated",a))}};
f.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);(0,D.combineLatest)([this.rows$,this.displayedRows.changes]).pipe(af(this.destroyed$)).subscribe(function(b){b=k(b).next().value;a.rowDirectiveMap=new Map(a.displayedRows.map(function(c){return[c.row.ancestorChain.hash(),c]}));b=b.map(function(c){return a.rowDirectiveMap.get(c.ancestorChain.hash())}).filter(Boolean);a.correctedDisplayedRows.reset(b);$f(a.correctedDisplayedRows)});this.focusManager=yz(new amc(this.correctedDisplayedRows,
co))};f.toggleExpansion=function(a){qQ(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};f.navigateToIssue=function(a,b){!b.id||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(this.analytics.trackEvent(c$c,"navigate","to-child-issue"),b=em(b.id),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Zn(this.domSafe,b):ls(this.router,b))};
f.displayAllSiblings=function(a){var b=this,c;return pe(function(d){if(1==d.nextAddress)return c=b.getRowIndex(a),qQ(b.tableModel.expansion,a.ancestorChain.parentChain,500),d.yield(Un(),2);b.focusManager.setActiveItem(c);ue(d)})};f.getMenuItemsForDraft=function(a){var b=this;return[{type:"action",label:"Continue on the create issue page",action:function(c){return b.navigateToCreateIssuePage(c,a)},title:"Continue on the create issue page",icon:"arrow-forward"}]};
f.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:!on(a.hasChildren$),action:function(){var c=hm({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 pe(function(c){if(1==c.nextAddress)return c.yield(Un(),
2);b.createChildIssue(a);ue(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 pe(function(c){if(1==c.nextAddress)return c.yield(Un(),2);b.createSiblingIssue(a);ue(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(){zpc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},
{type:"action",label:"Unindent",action:function(){ypc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Unindent",icon:"arrow-left",hintText:"shift+ctrl+left"}]},{type:"action",label:"Unlink from parent",action:function(){b.unlinkFromParent(a)},title:"Unlink from parent",icon:"link-off"},{type:"action",label:"Archive",action:function(){b.archiveRow(a)},title:"Archive issue",icon:"archive_24px"}]};
f.saveDraft=function(a){var b=this,c,d;return pe(function(e){if(1==e.nextAddress){if(!a.title)return e.return();b.tableModel.saveDraft(a);b.focusManager.setActiveItem(b.getRowIndex(a));return e.yield((0,D.firstValueFrom)(b.displayedRows.changes.pipe(C(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.id===a.issueId})}),Ge(Boolean),Ie(6E4))),2)}c=e.yieldResult;co(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);ue(e)})};
f.cancelDraft=function(a){if(!a.saving){this.tableModel.deleteDraftRow(a);var b;co(null==(b=this.focusManager.activeItem)?void 0:b.row,a)&&this.focusManager.setPreviousItemActive()}};f.createChildIssue=function(a){this.tableModel.createChildOrDraft(null==a?void 0:a.ancestorChain,{afterIssueId:"-1"})};f.createSiblingIssue=function(a){"data"===a.type?this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterIssueId:a.id}):this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterDraftId:a.id})};
f.addExistingChild=function(a){this.tableModel.addExistingChild(a)};f.getDraftColumns=function(){return this.tableColumns.map(function(a){return"title"===a?"editable-title":"menu"===a?"save":"id"===a?"empty-id":a})};f.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
f.onRowKeydown=function(a,b){var c=this,d;return pe(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&&(c.displayAllSiblings(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?e.yield(c.tableModel.isOneLineCreationSupported(),4):e.return();case 4:d=e.yieldResult;if(!d)return e.return();
"data"===a.type&&(b.shiftKey?c.createChildIssue(a):c.createSiblingIssue(a));"draft-issue"===a.type&&a.saving&&c.createSiblingIssue(a);b.preventDefault();e.jumpTo(3);break;case 3:if("INPUT"===b.target.tagName)return e.return();c.focusManager.onKeydown(b);c.rowReorderingModel.onKeydown(b);ue(e)}})};
f.navigateToCreateIssuePage=function(a,b){var c=this,d,e,g,h,l,q,v,x;return pe(function(A){if(1==A.nextAddress)return a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button?A.return():A.yield((0,D.firstValueFrom)(b.issue$),2);d=A.yieldResult;v={};x=c.paths.createIssue((v.component=String(null==(e=d)?void 0:e.snapshot[0].componentId),v.parentIssueId=b.ancestorChain.parentChain.nodeId,v.redirectUrl=fm(c.rootIssueId),v.afterIssueId=b.afterIssueId,v.title=b.title,v.priority=null!=
(l=null==(g=d)?void 0:g.snapshot[0].priority)?l:void 0,v.type=null!=(q=null==(h=d)?void 0:h.snapshot[0].type)?q:void 0,v));if(a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button)return c.cancelDraft(b),c.domSafe.openInNewTab(x),A.return();if(a&&a.shiftKey)return c.cancelDraft(b),Zn(c.domSafe,x),A.return();ls(c.router,x);ue(A)})};
f.archiveRow=function(a){var b=this,c,d;pe(function(e){if(1==e.nextAddress)return b.analytics.trackEvent(c$c,"update","archive-child-issue"),c=b.getRowIndex(a),b.issueArchiveService.archive(a.id),e.yield((0,D.firstValueFrom)(b.rows$.pipe(C(function(g){return!g.find(function(h){return"data"===h.type&&h.id===a.id})}),Ge(Boolean),Ie(6E4))),2);co(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);ue(e)})};
f.unlinkFromParent=function(a){var b=this,c,d;return pe(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent(c$c,"update","unlink-child-issue");return e.yield(b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){YG(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};
sh.Object.defineProperties(k8.prototype,{filters:{configurable:!0,enumerable:!0,set:function(a){this.internalFilters.reset(null!=a?a:[])}},filteredRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.tableModel.filteredRowCount$}}});k8.\u0275fac=function(a){return new (a||k8)(B(QI),B(IH),B(XG),B(EI),B(wQ),B(df),B(Dd),B(xQ),B(vL),B(BQ),B(AI),B(zQ),B(mz),B(sI),B(QH))};
k8.\u0275cmp=Oc({type:k8,selectors:[["b-issue-relations-table"]],viewQuery:function(a,b){a&1&&bg(yN,5);if(a&2){var c;ag(c=dg())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",filters:"filters"},features:[Of([AI]),kf],decls:46,vars:10,consts:[["mat-table","","multiTemplateDataRows","",1,"full-width",3,"dataSource","trackBy"],["matColumnDef","focus-indicator"],["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","drag-handle"],
["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","empty-id"],["matColumnDef","title"],["matColumnDef","type"],["matColumnDef","assignee"],["matColumnDef","status"],["matColumnDef","team"],["matColumnDef","menu"],["matColumnDef","save"],["mat-cell","","class","text-center",4,"matCellDef"],["matColumnDef","load-more-children"],["mat-cell","",3,"padding-left",4,"matCellDef"],["matColumnDef","editable-title"],
["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","selected","closed","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","",3,"row","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","","class","draft","cdkTrapFocus","",3,"row","keydown","keydown.escape","keydown.backspace","focusin",4,"matRowDef","matRowDefColumns","matRowDefWhen"],[1,"drag-preview"],[1,"placeholder"],
[1,"insertion-bar"],["mat-header-cell",""],["tabindex","-1","mat-cell","",3,"click"],["focusIndicator",""],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart"],["dragHandle",""],["svgIcon","drag-indicator",1,"icon-s"],["mat-cell",""],[3,"id"],[3,"issue","expandable","expanded","level","expansionChange"],[3,"issue"],["buttonLabel","More options",3,"menuItems","click"],["mat-cell","",1,"text-center"],["buttonLabel","More options",3,"menuItems","click",4,"ngIf","ngIfElse"],["saving",
""],[3,"isReady"],["format","flat",3,"onAction"],[1,"title-location"],[1,"flex-kids-x","align-items-center","gap-s"],["placeholder","Start typing the title...",1,"grow-1",3,"value","readonly","valueChange","commit"],["color","primary","format","fill","size","small","title","Create issue","matTooltip","(Shortcut: Enter)",3,"disabled","onAction"],["format","flat","size","small","title","Cancel","matTooltip","(Shortcut: Esc)",3,"disabled","onAction"],["mat-header-row",""],["mat-row","","selectionPreventsClick",
"",1,"clickable",3,"row","click","mouseup","focusin","keydown"],["mat-row","",3,"row","focusin","keydown"],["mat-row","","cdkTrapFocus","",1,"draft",3,"row","keydown","keydown.escape","keydown.backspace","focusin"]],template:function(a,b){a&1&&(F(0,"table",0),J(1,1),O(2,ywb,1,0,"th",2),O(3,zwb,2,0,"td",3),K(),J(4,4),O(5,Awb,1,0,"th",2),O(6,Bwb,3,0,"td",5),K(),J(7,6),O(8,Cwb,2,0,"th",2),O(9,Dwb,2,1,"td",7),K(),J(10,8),O(11,Ewb,2,0,"th",2),O(12,Fwb,2,0,"td",7),K(),J(13,9),O(14,Gwb,2,0,"th",2),O(15,
Hwb,4,8,"td",7),K(),J(16,10),O(17,Iwb,2,0,"th",2),O(18,Jwb,3,3,"td",7),K(),J(19,11),O(20,Kwb,2,0,"th",2),O(21,Lwb,3,3,"td",7),K(),J(22,12),O(23,Mwb,2,0,"th",2),O(24,Nwb,3,3,"td",7),K(),J(25,13),O(26,Owb,2,0,"th",2),O(27,Pwb,3,3,"td",7),K(),J(28,14),O(29,Qwb,1,0,"th",2),O(30,Rwb,2,1,"td",7),K(),J(31,15),O(32,Swb,1,0,"th",2),O(33,Vwb,4,2,"td",16),K(),J(34,17),O(35,Wwb,6,7,"td",18),K(),J(36,19),O(37,Xwb,2,0,"th",2),O(38,Ywb,7,6,"td",18),K(),O(39,Zwb,1,0,"tr",20),O(40,$wb,3,12,"tr",21),O(41,axb,1,4,"tr",
22),O(42,bxb,1,2,"tr",23),H(),I(43,"div",24)(44,"div",25)(45,"div",26));a&2&&(E("dataSource",b.rows$)("trackBy",b.trackBy),z(39),E("matHeaderRowDef",b.tableColumns),z(1),E("matRowDefColumns",b.tableColumns)("matRowDefWhen",b.isDataRow),z(1),E("matRowDefColumns",Qf(9,b$c))("matRowDefWhen",b.isLoadMoreRow),z(1),E("matRowDefColumns",b.getDraftColumns())("matRowDefWhen",b.isDraftRow))},dependencies:[Xx,Rw,HB,JM,BM,FM,CM,AM,GM,DM,EM,HM,IM,lD,VL,GL,vQ,eO,HL,qN,KL,NL,UL,sO,WL,WM,yN,Xw],styles:['.mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]{box-sizing:border-box;cursor:move;outline-width:0;padding:0px;width:18px}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:32px;opacity:.2}.mat-header-cell.mat-column-title[_ngcontent-%COMP%]{padding-left:36px;min-width:250px}.insertion-bar[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);display:none;height:2px;pointer-events:none;position:absolute}.insertion-bar[_ngcontent-%COMP%]::before{content:"";border-bottom:5px solid rgba(0,0,0,0);border-left:8px solid;border-left-color:#1a73e8;border-left-color:var(--primary-btn-bg);border-top:5px solid rgba(0,0,0,0);display:block;height:0;position:relative;top:-4px;width:0}.placeholder[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);border-radius:4px;box-sizing:border-box;display:none;opacity:.7;pointer-events:none;position:absolute;top:0;width:100%}.drag-preview[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--inverse-text);border-radius:4px;display:none;padding:7px 13px;position:absolute}tr.dragging[_ngcontent-%COMP%], tr.nodrop[_ngcontent-%COMP%]{opacity:.5}tr.closed[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--row-fixed-bg)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#1a73e8;color:var(--link)}[_nghost-%COMP%]{position:relative;padding-bottom:5px;overflow-y:hidden}'],
changeDetection:0});var l8=function(a,b,c,d,e){rF.call(this);var g=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.issueRelationshipsFridge=e;this.parentIssueIds$=new D.BehaviorSubject([]);this.filters=[];this.editIssueDependencies=fm;this.tableColumns=U9c;this.getMenuItems=function(h){return[{type:"action",label:"Unlink parent",action:function(){return e$c(g,h)},title:"Unlink parent",icon:"link"}]};this.showError=function(h){return function(l){ZG(g.butterBar,h+". "+($l(l)?am(l):
l))}};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){for(var h=k(g.parentIssueIds$.value),l=h.next();!l.done;l=h.next())g.issueFridge.poke(l.value)}))};T(l8,rF);l8.\u0275dir=rF.\u0275dir;l8.prototype.ngOnInit=function(){};
var e$c=function(a,b){var c;return pe(function(d){a.analytics.trackEvent(ao.EDIT_ISSUE,"update","remove-parent");c=a.issueId;return d.yield(a.issueRelationshipsFridge.unlinkFromParent(c,b).catch(a.showError("Failed to unlink child "+c+" from parent "+b)),0)})};sh.Object.defineProperties(l8.prototype,{parentIds:{configurable:!0,enumerable:!0,set:function(a){this.parentIssueIds$.next(null!=a?a:[])}},filteredRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.issuesTable.filteredRowCount$}}});
l8.\u0275fac=function(a){return new (a||l8)(B(JI),B(XG),B(EI),B(HI),B(QI))};
l8.\u0275cmp=Oc({type:l8,selectors:[["b-parents-table"]],viewQuery:function(a,b){a&1&&bg(JT,5);if(a&2){var c;ag(c=dg())&&(b.issuesTable=c.first)}},inputs:{parentIds:"parentIds",filters:"filters",issueId:"issueId"},features:[kf],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","tableColumns","filters","issueUrlFactory","menuItemFactory"]],template:function(a,b){a&1&&(O(0,cxb,2,5,"ng-container",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.parentIssueIds$))},dependencies:[Rw,JT,Xw],encapsulation:2,changeDetection:0});var m8=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 kw;this.onConfirm=new kw;this.onCancel=new kw;this.internalSelectedOptions=new MK};m8.prototype.confirm=function(a){this.onConfirm.emit(new Set(this.internalSelectedOptions));a.close()};m8.prototype.cancel=function(a){this.onCancel.emit();a.close()};
sh.Object.defineProperties(m8.prototype,{selectedOptions:{configurable:!0,enumerable:!0,set:function(a){this.internalSelectedOptions.reset(a)}}});m8.\u0275fac=function(a){return new (a||m8)};
m8.\u0275cmp=Oc({type:m8,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();F(0,"button",0,1);L("click",function(){w(c);var e=Kf(1),g;null!=(g=e.isOpen)&&g?e.close():e.open();return y()});R(2,"async");I(3,"mat-icon",2);O(4,exb,3,3,"ng-container",3);H();F(5,"onedev-popup-panel",
4,5)(7,"div",6);O(8,fxb,2,1,"h1",7);O(9,ixb,7,5,"div",8);O(10,jxb,7,2,"ng-container",3);H()()}if(a&2){var d=Kf(6);xf("large","large"===b.buttonSize)("small","small"===b.buttonSize);E("onedevPopupPanelTriggerFor",d)("color",b.showActiveState&&S(2,13,b.internalSelectedOptions.size$)?"primary":null)("matTooltip",b.buttonTooltip);of("aria-label",b.buttonAriaLabel);z(3);E("svgIcon",b.buttonSvgIcon);z(1);E("ngIf",b.showActiveState);z(4);E("ngIf",b.overlayTitle);z(1);E("ngForOf",b.options);z(1);E("ngIf",
b.showActionButtons)}},dependencies:[Qw,Rw,HB,QA,$O,XM,lD,lN,mN,Xw],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 pxb=function(a){return{filteredCount:a}},f$c=function(){return[]},n8=function(a,b,c,d,e,g,h,l,q,v,x,A,G){rF.call(this);var M=this;this.brain=a;this.issuePicker=b;this.issueRelationshipsFridge=c;this.issueFridge=d;this.router=e;this.routePerformance=g;this.element=h;this.analytics=l;this.issuePermissionService=q;this.activeSession=v;this.counts=x;this.matDialog=A;this.butterBar=G;this.recallFilters=rI("deps-filters");this.saveFilters=ip("deps-filters");this.isThinking$=(0,D.combineLatest)([this.issueFridge.saving$,
this.issueRelationshipsFridge.saving$]).pipe(C(function(Q){return Q.some(Boolean)}));this.issueId$=this.brain.id$.pipe(Ge(Ai),C(Dn));this.issue$=this.brain.issueJs$.pipe(Ge(Ai));this.parentIds$=this.issue$.pipe(C(function(Q){var Y;return null!=(Y=Q.issue.parentIssueIds)?Y:[]}));this.parentIssues$=this.parentIds$.pipe($e(this.issueFridge.watchSet));this.parentsCount$=this.parentIssues$.pipe(C(function(Q){return Q.filter(Jl).length}));this.childrenIds$=this.issueId$.pipe($e(this.issueRelationshipsFridge.watch),
C(function(Q){var Y;return null!=(Y=null==Q?void 0:Q.relatedChildren.map(function(W){return W.targetIssueId}))?Y:[]}));this.totalDaysOpen$=this.issue$.pipe(C(function(Q){var Y,W;return(null==(Y=$ua(Q))?void 0:null==(W=Y.effort)?void 0:W.totalOpen)||0}));this.totalDaysComplete$=this.issue$.pipe(C(function(Q){var Y,W;return(null==(Y=$ua(Q))?void 0:null==(W=Y.effort)?void 0:W.totalComplete)||0}));this.unarchivedChildIssueCount$=this.childrenIds$.pipe(C(function(Q){return Q.length}));this.isTotalEstimatesEnabled=
pF(this.activeSession,"enableAggregationRules");this.isNonPublicSession=this.activeSession.isNonPublicSession();this.totalDaysCount$=(0,D.combineLatest)([this.totalDaysOpen$,this.totalDaysComplete$]).pipe(C(function(Q){var Y=k(Q);Q=Y.next().value;Y=Y.next().value;return Q+Y}));this.totalDaysDisplayPercent$=Ixb(this.totalDaysComplete$,this.totalDaysCount$);this.progressHovercardContent$=(0,D.combineLatest)([this.totalDaysComplete$,this.totalDaysOpen$,this.totalDaysDisplayPercent$]).pipe(C(function(Q){var Y=
k(Q);Q=Y.next().value;var W=Y.next().value;Y=Y.next().value;return Jxb(Math.round(100*Q)/100)+" completed | "+Jxb(Math.round(100*W)/100)+" open | "+Y+"% completed"}));this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.rowCreated$=new D.Subject;this.issueFilters=new MK;this.ISSUE_FILTER_OPTIONS=[{key:bo.OPEN.key,title:bo.OPEN.displayAs,description:"Hides closed issues"},{key:bo.ASSIGNED_TO_ME.key,title:bo.ASSIGNED_TO_ME.displayAs,description:"Hides issues not assigned to me"}];(0,D.firstValueFrom)(u8a("b-issue-relations-table tr .mat-column-title a",
this.element.nativeElement).pipe(af((0,D.merge)(this.destroyed$,this.rowCreated$)))).then(function(){var Q=function(){kSc(M.routePerformance,"issue-details-w-tree")};requestAnimationFrame(Q);setTimeout(Q)}).catch(function(){});try{this.issueFilters.reset(this.recallFilters().filter(bJa))}catch(Q){}this.subscriptions.add(this.issueFilters.value$.subscribe(function(Q){M.saveFilters([].concat(cd(Q)))}))};T(n8,rF);n8.\u0275dir=rF.\u0275dir;
var Exb=function(a){var b,c;return pe(function(d){if(1==d.nextAddress)return a.analytics.trackEvent(ao.EDIT_ISSUE,"update","add-parent"),d.yield((0,D.firstValueFrom)(a.issue$),2);b=d.yieldResult;c=b.issue.issueId;return d.yield(a.issuePicker.open({title:"Add Parent to b/"+c,allowMultipleIds:!1,edgeType:"parent"},function(e){g$c(a,c,e)}),0)})},g$c=function(a,b,c){var d=k(c).next().value,e,g,h,l;pe(function(q){if(1==q.nextAddress)return(e=d)?q.yield(a.issueRelationshipsFridge.assignParentToOneIssue(e,
b),2):q.return();g=q.yieldResult;h=g.errors;return(null==(l=h)?0:l.length)?(ZG(a.butterBar,"Could not add parent"),q.return()):q.yield(a.issueFridge.poke(b),0)})};n8.prototype.shouldResetFilters=function(){this.issueFilters.reset([])};n8.prototype.addChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||a.addExistingChild()};n8.prototype.createChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||a.createChildIssue()};
n8.\u0275fac=function(a){return new (a||n8)(B(AK),B(kQ),B(QI),B(JI),B(IH),B(L2),B(Dd),B(EI),B(CK),B(Bs),B(i8),B(eB),B(XG))};
n8.\u0275cmp=Oc({type:n8,selectors:[["b-issue-dependencies"]],viewQuery:function(a,b){a&1&&(bg(k8,5),bg(j8,5),bg(l8,5));if(a&2){var c;ag(c=dg())&&(b.relationsTable=c.first);ag(c=dg())&&(b.blockersTable=c.first);ag(c=dg())&&(b.parentsTable=c.first)}},features:[kf],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"],[3,"rootIssueId","filters"],[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"],
["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&&(F(0,"div",0),O(1,kxb,1,0,"b-spinner",
1),R(2,"async"),F(3,"select-menu",2),L("onChange",function(d){return b.issueFilters.reset(d)}),R(4,"async"),H(),F(5,"button",3),L("click",function(){b.matDialog.open(a$c,{maxWidth:"1300px",width:"90%"})}),I(6,"mat-icon",4),H()(),O(7,Bxb,40,45,"div",5),R(8,"async"),O(9,Dxb,1,1,"ng-template",null,6,gg),O(11,Fxb,3,3,"ng-template",null,7,gg),O(13,Hxb,4,4,"ng-template",null,8,gg));if(a&2){var c;z(1);E("ngIf",S(2,6,b.isThinking$));z(2);E("options",b.ISSUE_FILTER_OPTIONS)("selectedOptions",null!==(c=S(4,
8,b.issueFilters.value$))&&void 0!==c?c:Qf(12,f$c))("showActionButtons",!1)("showActiveState",!0);z(4);E("ngIf",S(8,10,b.issueId$))}},dependencies:[Rw,Ww,HB,UK,ZK,QA,lD,vQ,m8,WM,j8,k8,l8,Xw,cx],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 o8=function(){};o8.\u0275fac=function(a){return new (a||o8)};o8.\u0275mod=Qc({type:o8});o8.\u0275inj=zc({imports:[OG,ED,EP,kU,fE,nN]});var p8=function(){};p8.\u0275fac=function(a){return new (a||p8)};p8.\u0275mod=Qc({type:p8});p8.\u0275inj=zc({imports:[nz,dz,Ny,OG,Px,gO,ED,jB,KT,QO,VN,fE,Qx,OH,kT,yO,FT,$P,LT,AO,o8,DP,CO,zN]});var h$c={BLOCKED_BY_ISSUES:"blocked_by",PARENT_ISSUES:"parent"},q8=function(a,b){rF.call(this);var c=this;this.issueFridge=a;this.router=b;this.STATUS_TERSE=$F;this.URLS=ms;this.ListIssuesHovercardMode=h$c;this.mode="blocked_by";this.currentIssueId="";this.issueIds$=new D.ReplaySubject(1);this.init=new D.ReplaySubject(1);this.issues$=this.issueIds$.pipe(Ge(Ai),$e(this.issueFridge.watchSet),C(function(d){return"parent"===c.mode?d.filter(Jl):d.filter(Il)}))};T(q8,rF);q8.\u0275dir=rF.\u0275dir;
q8.prototype.convertIssueStatusStrToTag=function(a){return tj[a]};q8.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};var Pxb=function(a){var b;null==(b=a.hovercardInstance)||b.closeHovercard$.next();a.issueIds$.subscribe(function(c){c=null!=c?c:[];for(var d="id:(",e=k(c.entries()),g=e.next();!g.done;g=e.next()){var h=k(g.value);g=h.next().value;h=h.next().value;d+=h;d=g<c.length-1?d+"|":d+")"}a.router.navigate([ms.ISSUE_LIST],{queryParams:{q:d}})})};
q8.prototype.ngOnInit=function(){var a=this;this.issues$.pipe(af(this.destroyed$)).subscribe(function(){a.init.next()})};sh.Object.defineProperties(q8.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a)}}});q8.\u0275fac=function(a){return new (a||q8)(B(JI),B(IH))};
q8.\u0275cmp=Oc({type:q8,selectors:[["b-list-issues-card"]],inputs:{mode:"mode",currentIssueId:"currentIssueId",issueIds:"issueIds",hovercardInstance:"hovercardInstance"},outputs:{init:"init"},features:[kf],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&&(F(0,"div",0),O(1,Kxb,5,3,"div",1),O(2,Lxb,5,3,"div",1),O(3,Sxb,4,3,"div",2),R(4,"async"),
H());a&2&&(z(1),E("ngIf",b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),z(1),E("ngIf",b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES),z(1),E("ngIf",S(4,3,b.issues$)))},dependencies:[Pw,Qw,Rw,HB,KH,QA,Xw],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 r8=function(a,b){this.issueDigestsApi=a;this.paths=b;this.ancestors=new Map;this.issueId="";this.ListIssuesHovercardMode=h$c;this.reorderedAncestors=[];this.issueIdToTitle=new Map;this.multiParentIssueIds=[]};r8.prototype.ngOnChanges=function(a){var b=this;a.ancestors&&i$c(this).then(function(c){b.issueIdToTitle=c})};r8.prototype.getIssueLink=function(a){return this.paths.editIssue(a)};
var i$c=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,D.firstValueFrom)(a.issueDigestsApi.getAll(new Set(a.reorderedAncestors)).pipe(C(function(c){var d=new Map;c=k(c);for(var e=c.next();!e.done;e=c.next())e=e.value,d.set(e.issueId,e.title);return d})))};
r8.\u0275fac=function(a){return new (a||r8)(B(F7),B(QH))};
r8.\u0275cmp=Oc({type:r8,selectors:[["ancestors-breadcrumbs"]],inputs:{ancestors:"ancestors",issueId:"issueId"},features:[gd],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),O(1,Vxb,7,4,"ng-container",1),O(2,Wxb,4,5,"ng-container",2));a&2&&(z(1),E("ngIf",1<b.multiParentIssueIds.length),z(1),E("ngForOf",b.reorderedAncestors))},dependencies:[Qw,Rw,HB,OM,UK,VK,ZK,WK,q8],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 s8=function(a,b,c){this.issueFridge=a;this.hotlistFridge=b;this.hotlistPicker=c;this.issueId$=new D.ReplaySubject(1);this.issue$=this.issueId$.pipe($e(this.issueFridge.watch));this.hotlistsOnIssue$=this.issue$.pipe(C(function(d){var e;return null!=(e=null==d?void 0:d.snapshot[0].hotlistId)?e:[]}));this.count$=this.hotlistsOnIssue$.pipe(C(function(d){return null==d?void 0:d.length}),Ze(0));this.label$=this.count$.pipe(C(function(d){return 0<d?"Hotlists ("+d+")":"Hotlists"}));this.isDisabled$=this.hotlistFridge.saving$;
this.HOTKEYS=iN};s8.prototype.onClick=function(){qCc(this.hotlistPicker,this.issue$)};sh.Object.defineProperties(s8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(String(a))}}});s8.\u0275fac=function(a){return new (a||s8)(B(JI),B(pI),B(AU))};
s8.\u0275cmp=Oc({type:s8,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&&(F(0,"button",0),L("onHotkey",function(){return b.onClick()})("click",function(){return b.onClick()}),R(1,"async"),P(2),R(3,"async"),H());a&2&&(E("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER)("disabled",S(1,3,b.isDisabled$)),z(2),Lf(" ",S(3,5,b.label$),"\n"))},dependencies:[hN,
QA,Xw],encapsulation:2});var j$c=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()}}}},k$c=function(a,b){return b.isInternal?{type:"action",label:"Request issue deletion...",title:"Request issue deletion",action:function(){a.requestIssueDeletion()}}:void 0},l$c=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)}}},m$c=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 t8=function(){this.label=""};t8.prototype.toggle=function(){this.hovercardTrigger&&this.hovercardTrigger.toggle(!this.hovercardTrigger.isExpanded())};t8.\u0275fac=function(a){return new (a||t8)};
t8.\u0275cmp=Oc({type:t8,selectors:[["help-hover"]],viewQuery:function(a,b){a&1&&bg(ZK,5);if(a&2){var c;ag(c=dg())&&(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&&(F(0,"onedev-hovercard",null,0)(2,"div",1)(3,"div",
2),O(4,Yxb,2,1,"ng-container",3),H()()(),I(5,"mat-icon",4));if(a&2){var c=Kf(1);z(2);of("aria-label",b.label);z(2);E("ngIf",b.content);z(1);E("onedevHovercardTrigger",c)}},dependencies:[Rw,Ww,HB,UK,ZK],encapsulation:2});var u8=function(){};u8.\u0275fac=function(a){return new (a||u8)};u8.\u0275mod=Qc({type:u8});u8.\u0275inj=zc({imports:[OG,gO]});var w8=function(a,b,c,d,e,g,h,l,q){rF.call(this);this.issueFridge=a;this.issuePermissionService=b;this.activeSession=c;this.appEvents=d;this.issueArchiveService=e;this.domSafe=g;this.editIssueService=h;this.matDialogService=l;this.analytics=q;this.issueId$=new D.ReplaySubject(1);this.retentionEnabled=this.activeSession.isInternalSession();this.HOTKEYS=iN;this.issue$=this.issueId$.pipe($e(this.issueFridge.watch));this.issueDerivedProperties$=this.issue$.pipe(C(function(v){var x,A,G,M,Q,Y,W;return{modifiedTimeMilliseconds:null!=
(null==v?void 0:null==(x=v.aggregatedData)?void 0:x.modifiedTimeMicros)?v.aggregatedData.modifiedTimeMicros/1E3:void 0,voted:null!=(Y=null==v?void 0:null==(A=v.userData)?void 0:A.voted)?Y:!1,voteCount:null!=(W=null==v?void 0:null==(G=v.aggregatedData)?void 0:G.voteCount)?W:0,notificationSubscription:xi(null==v?void 0:null==(M=v.userData)?void 0:M.notificationSubscription),retentionState:null==v?void 0:null==(Q=v.aggregatedData)?void 0:Q.retentionState}}));this.menuItems$=n$c(this);this.state$=(0,D.combineLatest)([this.issueId$,
this.issueDerivedProperties$,this.menuItems$]).pipe(C(function(v){var x=k(v);v=x.next().value;var A=x.next().value;x=x.next().value;return Object.assign({},{issueId:v},A,{menuItems:x})}))};T(w8,rF);w8.\u0275dir=rF.\u0275dir;f=w8.prototype;f.updateSubscription=function(a){var b=this,c;return pe(function(d){if(1==d.nextAddress)return(c=on(b.issueId$))?d.yield(b.editIssueService.updateSubscription(c,a),2):d.return();b.analytics.trackEvent(ao.EDIT_ISSUE,"updateSubscription",a);ue(d)})};
f.showNotificationSettings=function(a){this.appEvents.topBarEvents.openSettings.next({newTab:a.ctrlKey||a.metaKey,settingsTabName:"notifications"})};f.showIndefiniteRetentionDialog=function(a){var b=this,c;return pe(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():d.yield((0,D.firstValueFrom)($A(b.matDialogService.open(Urc,{maxWidth:560}))),2):(c=d.yieldResult)?d.yield(b.editIssueService.updateIssueRetention(a,"INDEFINITE"),0):d.jumpTo(0)})};
f.showComponentRetentionDialog=function(a){var b=this,c;return pe(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():d.yield((0,D.firstValueFrom)($A(b.matDialogService.open(Qrc,{maxWidth:560}))),2):(c=d.yieldResult)?d.yield(b.editIssueService.updateIssueRetention(a,"COMPONENT_DEFAULT"),0):d.jumpTo(0)})};
f.showFlagAsSpamDialog=function(a){var b=this,c;return pe(function(d){return 1==d.nextAddress?d.yield((0,D.firstValueFrom)($A(b.matDialogService.open(Trc,{maxWidth:560}))),2):(c=d.yieldResult)?d.yield(Phc(b.editIssueService,String(a)),0):d.jumpTo(0)})};
var n$c=function(a){var b={requestIssueDeletion:function(){a.domSafe.openInNewTab(FLa(a.activeSession.isInternalSession()))},showIndefiniteRetentionDialog:function(){var c=on(a.issueId$);c&&a.showIndefiniteRetentionDialog(c)},showComponentRetentionDialog:function(){var c=on(a.issueId$);c&&a.showComponentRetentionDialog(c)},submitArchivalState:function(c){var d=on(a.issueId$);d&&a.issueArchiveService.submitArchivalState(d,c)},showFlagAsSpamDialog:function(){var c=on(a.issueId$);c&&a.showFlagAsSpamDialog(c)}};
return(0,D.combineLatest)([a.issue$,a.issuePermissionService.userIsComponentAdmin$,a.issuePermissionService.issuePermissions$]).pipe(C(function(c){var d=k(c);c=d.next().value;var e=d.next().value,g;d={permissions:d.next().value,accessLevel:OAa(c),isArchived:null!=(g=null==c?void 0:c.isArchived)?g:!1,isDeleted:MAa(c),isInternal:a.activeSession.isInternalSession(),isComponentAdmin:e,retentionOverride:RAa(c),retentionState:UAa(c)};return[l$c(b,d),m$c(b,d),k$c(b,d),j$c(b,d)].filter(Ai)}))};
sh.Object.defineProperties(w8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});w8.\u0275fac=function(a){return new (a||w8)(B(JI),B(CK),B(Bs),B(eH),B(wQ),B(vL),B(QK),B(eB),B(EI))};
w8.\u0275cmp=Oc({type:w8,selectors:[["issue-actions"]],viewQuery:function(a,b){a&1&&bg(t8,5);if(a&2){var c;ag(c=dg())&&(b.helpHover=c.first)}},inputs:{issueId:"issueId"},features:[kf],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueId","voteCount","upvoted"],[3,"issueId"],[3,"issueId","hotkey","onHotkey"],["smartDupeBtn",""],["matTooltip","Notification menu","aria-label","Notification menu",3,"subscription","issueId","iconOnly","subscriptionChange","showNotificationSettings"],["buttonClassname","small",
3,"iconOnly"],["mat-icon-button","","aria-label","More actions",1,"medium",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],[1,"issue-actions-menu"],["menu","matMenu"],["mat-menu-item","",3,"disabled","title","click",4,"ngFor","ngForOf"],["retentionHelpContent",""],["mat-menu-item","",3,"disabled","title","click"],[1,"icon-s",3,"svgIcon"],["mat-menu-item","",1,"informational-only","border-top","flush-bottom",3,"click"],["svgIcon","",1,"icon-s"],[3,"retentionState"],["label","Learn more about retention",
3,"content"],[3,"retentionState","modifiedTime"]],template:function(a,b){a&1&&(O(0,cyb,15,13,"ng-container",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.state$))},dependencies:[TP,Qw,Rw,HB,t8,hN,y1,QA,dD,bD,cD,lD,l2,K0,J0,IU,s8,Xw],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 x8=function(a,b,c,d,e,g,h,l,q){rF.call(this);var v=this;this.issueDetailsBrain=a;this.issuePagination=b;this.issueFridge=c;this.componentFridge=d;this.issueInteractionsTracking=e;this.bLocation=g;this.paths=h;this.refreshMonitor=l;this.butterBar=q;this.internalSearchResults$=new D.BehaviorSubject(null);this.searchResults$=this.internalSearchResults$.pipe(Ne(),$e(function(x){return x?x.changed$:(0,D.of)(null)}));this.issueIds$=this.searchResults$.pipe(C(function(x){var A;return null!=(A=null==
x?void 0:x.issues.map(function(G){return G.id}).map(Dn))?A:[]}),Ne(Xh));this.issues$=this.issueIds$.pipe($e(function(x){return(0,D.combineLatest)(x.map(function(A){return v.issueFridge.watch(A,{trustUncertainMemory:!0})}))}),$e(function(x){return(0,D.combineLatest)(x.map(function(A){return v.componentFridge.watch(String(null==A?void 0:A.snapshot[0].componentId),{trustUncertainMemory:!0}).pipe(C(function(G){return{issue:A,component:G}}))}))}));this.issueId$=this.issueDetailsBrain.id$;this.totalText$=
this.searchResults$.pipe(C(function(x){var A;return null!=(A=null==x?void 0:x.totalText)?A:""}));this.backNavigationLabel$=this.searchResults$.pipe(C(function(x){return(null==x?0:x.params.returnUrl)?"Back to previous search":"Go home"}));this.issueIndex$=(0,D.combineLatest)([this.searchResults$,this.issueId$]).pipe(C(function(x){var A=k(x);x=A.next().value;A=A.next().value;var G;return null!=(G=A&&(null==x?void 0:lX(x,A)))?G:-1}));this.hasPreviousIssue$=(0,D.combineLatest)([this.searchResults$,this.issueId$]).pipe(C(function(x){var A=
k(x);x=A.next().value;A=A.next().value;var G;if(G=A)null==x?x=0:(A=lX(x,A),x=null==A||-1===A?!1:A>x.startIndex||1<x.params.page),G=x;return!!G}));this.hasNextIssue$=(0,D.combineLatest)([this.searchResults$,this.issueId$]).pipe(C(function(x){var A=k(x);x=A.next().value;A=A.next().value;var G;if(G=A)null==x?x=0:(A=lX(x,A),x=null==A||-1===A?!1:A<x.endIndex||x.params.page<x.numPages),G=x;return!!G}));this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){o$c(v)}));this.subscriptions.add(this.issueDetailsBrain.id$.subscribe(function(x){v.issueId=
x;o$c(v)}));this.subscriptions.add(this.issues$.subscribe(function(x){var A=v.internalSearchResults$.value;A&&aHc(A,x.filter(function(G){var M=G.component;return G.issue&&M}))}))};T(x8,rF);x8.\u0275dir=rF.\u0275dir;
var p$c=function(a){var b,c,d=null!=(c=null==(b=a.internalSearchResults$.value)?void 0:b.params.returnUrl)?c:"";a.issueInteractionsTracking.trackNavigation(""===d?"home":"up");a.bLocation.hash("");a.bLocation.url(d)},gyb=function(a){var b=on(a.hasNextIssue$),c=on(a.issueIndex$);b&&c&&q$c(a,c+1)},fyb=function(a){var b=on(a.hasPreviousIssue$),c=on(a.issueIndex$);b&&c&&q$c(a,c-1)},o$c=function(a){var b,c,d;pe(function(e){if(1==e.nextAddress)return e.yield(iHc(a.issuePagination).catch(dyb),2);b=e.yieldResult;
a.internalSearchResults$.next(null!=(c=b)?c:null);if(!b||!a.issueId)return e.return();d=lX(b,a.issueId);return-1===d?e.jumpTo(0):e.yield(jHc(a.issuePagination,d).catch(dyb),0)})},q$c=function(a,b){jHc(a.issuePagination,b).then(function(c){a.bLocation.url(a.paths.editIssue(c))},function(){ZG(a.butterBar,"Can't find issue id for index '"+b+"'")})};x8.\u0275fac=function(a){return new (a||x8)(t(AK),t(mX),t(JI),t(AG),t(yK),t(PH),t(QH),t(HI),t(XG))};x8.\u0275prov=yc({token:x8,factory:x8.\u0275fac,providedIn:"root"});var hyb=function(a){return{"invisible zero-width":a}},r$c=function(a){this.currentSearchResults=a;this.HOTKEYS=iN};r$c.\u0275fac=function(a){return new (a||r$c)(B(x8))};
r$c.\u0275cmp=Oc({type:r$c,selectors:[["b-pagination-one-issue"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"ngClass"],["mat-icon-button","","matTooltip","Previous Issue","aria-label","Previous Issue",1,"gmat-button","medium",3,"hotkey","disabled","onHotkey","click"],["svgIcon","arrow-left",1,"icon-l"],["mat-icon-button","","matTooltip","Next Issue","aria-label","Next Issue",1,"gmat-button","medium",3,"hotkey","disabled","onHotkey","click"],["svgIcon","arrow-right",1,"icon-l"]],template:function(a,b){a&
1&&(O(0,iyb,9,12,"ng-container",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.currentSearchResults.issueIndex$))},dependencies:[Pw,Rw,HB,hN,QA,lD,Xw],styles:["[_nghost-%COMP%]{display:inline-block;color:#5f6368;color:var(--muted);white-space:nowrap}.bv2-material   [_nghost-%COMP%]     button.mat-icon-button:not(.mat-primary):not([disabled]){color:#5f6368;color:var(--muted)}output[_ngcontent-%COMP%]{font-weight:500}[mat-icon-button][_ngcontent-%COMP%]{margin-left:-4px}[_nghost-%COMP%]   span.zero-width[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{width:0}/*# sourceMappingURL=pagination_one_issue.css.map */"],
changeDetection:0});var y8=function(a,b,c){this.documentationLinks=a;this.issueLimits=b;this.accessPolicyApi=c;this.implicitAccessEnabled=!1};y8.prototype.ngOnInit=function(){var a=this;this.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(this.componentId)).then(function(b){return a.implicitAccessEnabled=b})};y8.prototype.toggleAccessLimits=function(){var a=this;return pe(function(b){a.issueLimits.open({componentId:Number(a.componentId),issueId:a.issueId});ue(b)})};
y8.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};y8.prototype.getAccessLimitLevelDisplay=function(a){return"LIMIT_APPEND"===a?"Commenting":"LIMIT_VIEW"===a||"LIMIT_VIEW_TRUSTED"===a?"Visibility":""};
var s$c=function(a,b){if(b)a:if(a=a.implicitAccessEnabled,b===FNc.accessLevel)b=a?"Only added users + Googlers may access. The assignee, verifier and collaborators may edit. CCs can comment. Googler access is according to their component-level permissions.":"Only added users + Googlers may access. They have their normal access as defined by the component-level permissions.";else{for(var c=k(E7a),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?Pp.descriptionWithExpandedAccess:Pp.descriptionNoExpandedAccess}else b="";return b};y8.\u0275fac=function(a){return new (a||y8)(B(OJ),B(k0),B(pH))};
y8.\u0275cmp=Oc({type:y8,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&&(F(0,"button",0),L("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),F(2,"span",2),P(3),H()(),F(4,"onedev-hovercard",null,3)(6,"div",4)(7,"div",5)(8,"span",6),P(9),F(10,"a",7),P(11,
" Learn more"),H()()()()());if(a&2){var c=Kf(5);E("onedevHovercardTrigger",c);z(3);Mf(b.getAccessLimitLevelDisplay(b.accessLimitLevel));z(6);Lf(" Issue access is limited. ",s$c(b,b.accessLimitLevel)," ");z(1);E("href",b.documentationLinks.getIssueAccessLimit(),Ud)}},dependencies:[HB,lD,UK,ZK],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 t$c=function(a){this.brain=a;this.INTERNAL="INTERNAL";this.issue$=this.brain.issueJs$.pipe(C(function(b){return null==b?void 0:b.issue}),Ge(Ai));this.retentionState$=this.issue$.pipe(C(function(b){var c;return null==(c=b.aggregatedData)?void 0:c.retentionState}));this.modifiedTime$=this.issue$.pipe(C(function(b){var c;return(null==(c=b.aggregatedData)?0:c.modifiedTimeMicros)?b.aggregatedData.modifiedTimeMicros/1E3:void 0}),Ge(Ai));this.accessLevel$=this.issue$.pipe(C(function(b){var c;return null==
(c=b.accessLimit)?void 0:c.accessLevel}),Ge(Ai));this.issueAccessLimitLevel$=this.issue$.pipe(C(function(b){return b.snapshot[0].issueAccessLimitLevel}));this.issueId$=this.issue$.pipe(C(function(b){return b.issueId}));this.state$=(0,D.combineLatest)([this.retentionState$,this.issueAccessLimitLevel$,this.modifiedTime$,this.accessLevel$,this.issueId$,this.brain.componentId$]).pipe(C(function(b){var c=k(b);b=c.next().value;var d=c.next().value,e=c.next().value,g=c.next().value,h=c.next().value;c=c.next().value;
return{retentionState:b,isAccessLimited:"LIMIT_VIEW"===d||"LIMIT_APPEND"===d||"LIMIT_VIEW_TRUSTED"===d,isShowingRetention:null==(null==b?void 0:b.scheduledDeletionTime)?!1:lcb(b),isShowingPublicPartner:"INTERNAL"!==g,modifiedTime:e,accessLevel:g,issueId:h,componentId:c,issueAccessLimitLevel:d}}))};t$c.\u0275fac=function(a){return new (a||t$c)(B(AK))};
t$c.\u0275cmp=Oc({type:t$c,selectors:[["issue-chip-indicators"]],decls:2,vars:3,consts:[[4,"ngIf"],["class","flex-kids-x gap-s margin-xs-right",4,"ngIf"],[1,"flex-kids-x","gap-s","margin-xs-right"],[3,"accessLevel",4,"ngIf"],[3,"issueId","componentId","accessLimitLevel",4,"ngIf"],[3,"retentionState","compactMode","modifiedTime",4,"ngIf"],[3,"accessLevel"],[3,"issueId","componentId","accessLimitLevel"],[3,"retentionState","compactMode","modifiedTime"]],template:function(a,b){a&1&&(O(0,nyb,2,1,"ng-container",
0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.state$))},dependencies:[y8,Rw,MP,L0,Xw],encapsulation:2});var z8=function(a,b,c,d,e,g,h){rF.call(this);var l=this;this.issueFridge=a;this.issuePermissionService=b;this.router=c;this.refreshMonitor=d;this.currentSearchResults=e;this.currentTracker=g;this.eventsForIssueFridge=h;this.editTitleDisabled=this.starToggleDisabled=!1;this.issueId$=new D.ReplaySubject(1);this.internalIssueId="";this.isTeamLoaded=!1;this.ListIssuesHovercardMode=h$c;this.blockedIdsToUrlQuery=function(q){if(!(2>q.length))return{q:"blockingid:"+l.issueId}};this.HOTKEYS=iN;this.issue$=
this.issueId$.pipe($e(this.issueFridge.watch));this.issueTitle$=this.issue$.pipe(C(function(q){return null==q?void 0:q.snapshot[0].title}));this.starred$=this.issue$.pipe(C(function(q){var v;return xi(null==q?void 0:null==(v=q.userData)?void 0:v.starred)}));this.componentId$=this.issue$.pipe(C(function(q){return xi(null==q?void 0:q.snapshot[0].componentId)}));this.ancestors$=this.issue$.pipe(C(function(q){return xi(null==q?void 0:q.ancestors)}));this.hasAncestors$=this.ancestors$.pipe(C(function(q){return!!(q&&
0<q.size)}));this.teamId$=this.issue$.pipe(C(function(q){var v;return xi(null==q?void 0:null==(v=q.aggregatedData)?void 0:v.teamId)}));this.blockedByids$=this.issue$.pipe(C(function(q){var v;return null!=(v=null==q?void 0:q.snapshot[0].blockedByIssueId)?v:[]}));this.issuesBlockedByCount$=this.blockedByids$.pipe($e(this.issueFridge.watchSet),C(function(q){return q.filter(Il)}),C(function(q){return q.length}));nn(this.issuesBlockedByCount$.pipe(C(yyb),af(this.destroyed$)),"Blocked");this.blockedByids$.pipe(C(zyb));
this.blockedByids$.pipe(C(this.blockedIdsToUrlQuery));this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.status$=this.issue$.pipe(C(function(q){return(null==q?void 0:q.snapshot[0].status)||void 0}));this.statusCssClass$=this.status$.pipe(C(function(q){return l.computeStatusCssClass(q)}));this.prettyStatus$=this.status$.pipe(Ge(Ai),C(function(q){return xl[q]}));this.statusIsFeatured$=this.status$.pipe(C(function(q){return!!z$b[q]}));this.toggleStar=function(){var q=
!!on(l.starred$);l.starToggleDisabled=!0;Tdc(l.issueFridge,l.issueId,!q).pipe(Re(),af(l.destroyed$)).subscribe(function(){l.starToggleDisabled=!1})};this.toggleStarDebounced=gv(this.toggleStar,1E3)};T(z8,rF);z8.\u0275dir=rF.\u0275dir;var u$c=function(a,b){a.editTitleDisabled=!0;Udc(a.issueFridge,a.issueId,b).pipe(af(a.destroyed$)).subscribe(function(){a.editTitleDisabled=!1;a.eventsForIssueFridge.poke(a.issueId)})};
z8.prototype.computeStatusCssClass=function(a){return null===a||void 0===a?"":"status-"+tj[a]};z8.prototype.refresh=function(){this.refreshMonitor.refreshRequest.next()};sh.Object.defineProperties(z8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)},get:function(){return this.internalIssueId}}});z8.\u0275fac=function(a){return new (a||z8)(B(JI),B(CK),B(IH),B(HI),B(x8),B(PL),B(nG))};
z8.\u0275cmp=Oc({type:z8,selectors:[["issue-header"]],inputs:{issueId:"issueId"},features:[kf],decls:40,vars:46,consts:[[1,"padded-s","border-bottom",3,"ngClass"],[1,"pos-fill",2,"bottom","auto","height","6px",3,"title"],[1,"row","row-1","flex-kids-x","space-between"],[1,"left","flex-kids-x","flex-wrap","gap-s"],[4,"ngIf","ngIfElse"],["withAncestorsBreadcrumbs",""],["withoutAncestorBreadcrumbs",""],[1,"right"],[1,"row","row-2","flex-kids-x","margin-s-top"],[1,"left","flex-kids-x","align-items-center"],
[1,"nowrap"],["mat-icon-button","",1,"small","back-btn",3,"hotkey","matTooltip","onHotkey","click"],["svgIcon","arrow-backward",1,"icon-s"],["mat-icon-button","","matTooltip","Refresh","aria-label","Refresh",1,"small",3,"hotkey","onHotkey","click"],["svgIcon","refresh",1,"icon-s"],[3,"starred","disabled","hotkey","starClicked","onHotkey"],[1,"right","pos-rel"],[3,"title","disabled","hasAclToEdit","updateTitle"],["class","b-chip squared bad xs margin-xs-left",3,"onedevHovercardTrigger",4,"ngIf"],["card",
"onedevHovercard"],[4,"onedevHovercardLazyBody"],[1,"pos-br",3,"issueId"],["inert","","aria-hidden","true",3,"issueId"],[4,"ngTemplateOutlet"],[3,"componentId","teamId","onTeamLoaded"],[4,"ngIf"],[3,"componentId","compactMode","issueId"],[1,"b-chip","squared","s"],[3,"ancestors","issueId",4,"ngIf"],[2,"margin-right","-4px",3,"issueId","componentId","issueTitle","isExternalIssue"],[3,"ancestors","issueId"],[3,"componentId","issueId"],[1,"b-chip","squared","s","padding-0"],[3,"issueId","componentId",
"issueTitle","isExternalIssue"],[1,"b-chip","squared","bad","xs","margin-xs-left",3,"onedevHovercardTrigger"],["svgIcon","slo-status-no-data",1,"icon-xxs"],[3,"onedevIsHovercardReady","hovercardInstance","currentIssueId","issueIds","mode"],["cardBody",""]],template:function(a,b){a&1&&(F(0,"div",0),R(1,"async"),R(2,"async"),R(3,"async"),I(4,"aside",1),R(5,"async"),R(6,"async"),F(7,"div",2)(8,"div",3),O(9,pyb,2,1,"ng-container",4),R(10,"async"),O(11,syb,4,7,"ng-template",null,5,gg),O(13,uyb,4,7,"ng-template",
null,6,gg),H(),F(15,"div",7),I(16,"b-pagination-one-issue"),H()(),F(17,"div",8)(18,"div",9)(19,"div",10)(20,"button",11),L("onHotkey",function(){return p$c(b.currentSearchResults)})("click",function(){return p$c(b.currentSearchResults)}),R(21,"async"),R(22,"async"),I(23,"mat-icon",12),H(),F(24,"button",13),L("onHotkey",function(){return b.refresh()})("click",function(){return b.refresh()}),I(25,"mat-icon",14),H(),F(26,"b-star-toggle",15),L("starClicked",function(){return b.toggleStar()})("onHotkey",
function(){return b.toggleStarDebounced()}),R(27,"async"),H()(),I(28,"issue-chip-indicators"),H(),F(29,"div",16)(30,"issue-title",17),L("updateTitle",function(e){return u$c(b,e)}),R(31,"async"),R(32,"async"),H(),O(33,wyb,3,2,"div",18),R(34,"async"),F(35,"onedev-hovercard",null,19),O(37,xyb,4,7,"ng-container",20),H(),I(38,"issue-actions",21)(39,"issue-actions",22),H()()());if(a&2){var c=Kf(14),d;xf("overline",S(1,22,b.statusIsFeatured$))("color-field",S(2,24,b.statusIsFeatured$));If("ngClass",S(3,
26,b.statusCssClass$));z(4);Jf("title","[",S(5,28,b.prettyStatus$),"] ",S(6,30,b.issueTitle$),"");z(5);E("ngIf",S(10,32,b.hasAncestors$))("ngIfElse",c);z(11);E("hotkey",b.HOTKEYS.GO_UP_TO_LIST)("matTooltip",null!==(d=S(21,34,b.currentSearchResults.backNavigationLabel$))&&void 0!==d?d:"");of("aria-label",S(22,36,b.currentSearchResults.backNavigationLabel$));z(4);E("hotkey",b.HOTKEYS.REFRESH_ISSUE);z(2);E("starred",S(27,38,b.starred$))("disabled",b.starToggleDisabled)("hotkey",b.HOTKEYS.TOGGLE_STAR);
z(4);E("title",S(31,40,b.issueTitle$))("disabled",b.editTitleDisabled)("hasAclToEdit",S(32,42,b.issuePermissionService.hasAclToEdit$));z(3);E("ngIf",S(34,44,b.issuesBlockedByCount$));z(5);E("issueId",b.issueId);z(1);E("issueId",b.issueId)}},dependencies:[r8,Pw,Rw,Ww,HB,f0,hN,UK,VK,ZK,WK,pN,GU,q8,QA,lD,wU,sW,r$c,w8,t$c,Xw],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 A8=function(a,b){var c=this;this.currentTracker=a;this.trackerFridge=b;this.issueTrackerId$=new D.BehaviorSubject("");this.showTrackerBanner$=(0,D.combineLatest)([this.issueTrackerId$,this.currentTracker.trackerId$]).pipe(C(function(d){var e=k(d);d=e.next().value;e=e.next().value;return!!Xl(e)&&!Xl(d)}));this.tracker$=this.issueTrackerId$.pipe($e(function(d){return Xl(d)?(0,D.of)(void 0):c.trackerFridge.watch(d)}));this.trackerRedirectUrl$=this.tracker$.pipe(C(function(d){return QL(c.currentTracker,
String(c.issueId),d)}))};sh.Object.defineProperties(A8.prototype,{trackerId:{configurable:!0,enumerable:!0,set:function(a){this.issueTrackerId$.next(null!=a?a:"")}}});A8.\u0275fac=function(a){return new (a||A8)(B(PL),B(iJ))};
A8.\u0275cmp=Oc({type:A8,selectors:[["b-tracker-banner"]],inputs:{issueId:"issueId",trackerId:"trackerId"},decls:3,vars:5,consts:[["class","tracker-banner",4,"ngIf"],[1,"tracker-banner"],["alt","",3,"src"],["mat-button","",1,"mat-stroked-button","gmat-button","small",3,"href"]],template:function(a,b){a&1&&(O(0,Ayb,7,6,"div",0),R(1,"async"),R(2,"async"));a&2&&E("ngIf",S(1,1,b.showTrackerBanner$)&&S(2,3,b.tracker$))},dependencies:[Rw,RA,Xw],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 B8=function(a,b,c){var d=this;this.currentTracker=a;this.trackerFridge=b;this.activeSession=c;this.trackerId$=new D.BehaviorSubject("");this.tracker$=this.trackerId$.pipe($e(function(e){return Xl(e)?(0,D.of)(void 0):d.trackerFridge.watch(e)}));this.trackerName$=this.tracker$.pipe(C(function(e){return e?e.name:d.activeSession.getAppName()}));this.currentTrackerLogo$=this.currentTracker.tracker$.pipe(C(function(e){return d.getLogoUrl(e)}));this.trackerLogo$=this.tracker$.pipe(C(function(e){return d.getLogoUrl(e)}));
this.trackerRedirectUrl$=this.tracker$.pipe(C(function(e){var g="";d.issue&&(g=String(d.issueId));d.component&&(g="components/"+d.componentId);return e?QL(d.currentTracker,g,e):lkc(d.currentTracker,g)}))};B8.prototype.getLogoUrl=function(a){if(a){var b;if(null==(b=a.branding)||!b.logoUrl)return"https://www.gstatic.com/buganizer/img/v3/logo_light.svg"}else return"https://www.gstatic.com/buganizer/img/v3/logo_light.svg";var c,d;return null!=(d=null==(c=a.branding)?void 0:c.logoUrl)?d:""};
B8.prototype.ngOnChanges=function(a){a.issue&&this.issue&&this.trackerId$.next(this.issue.trackerId||"");a.component&&this.component&&this.trackerId$.next(this.component.trackerId||"")};
sh.Object.defineProperties(B8.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 D$b[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 xl[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}}});B8.\u0275fac=function(a){return new (a||B8)(B(PL),B(iJ),B(Bs))};
B8.\u0275cmp=Oc({type:B8,selectors:[["b-tracker-redirect"]],inputs:{issue:"issue",component:"component"},features:[gd],decls:1,vars:1,consts:[["class","carded margin-top",4,"ngIf"],[1,"carded","margin-top"],[1,"centered-inside","margin-bottom"],["alt","",1,"logo",3,"src"],["svgIcon","arrow-forward",1,"icon-l"],[1,"centered-inside","heading-l","margin-bottom"],[4,"ngIf"],[1,"centered-inside"],["mat-flat-button","","color","primary","matTooltip","Go to the issue","aria-label","Go to the issue",1,"gmat-button",
3,"href"]],template:function(a,b){a&1&&O(0,Cyb,15,13,"div",0);a&2&&E("ngIf",b.showResourceContainer)},dependencies:[Rw,HB,RA,lD,Xw],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 C8=function(){};C8.prototype.watch=function(a,b){b=void 0===b?document.documentElement:b;return(0,D.concat)((0,D.defer)(function(){return(0,D.of)(document.getElementById(a))}),t8a(b,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0}).pipe(C(function(){return document.getElementById(a)}))).pipe(Ge(Ai),Oe())};C8.\u0275fac=function(a){return new (a||C8)};C8.\u0275prov=yc({token:C8,factory:C8.\u0275fac,providedIn:"root"});var D8=function(a){this.idWatch=a},v$c=function(a,b){var c=b.scrollableContainerId,d=void 0===b.scrollPadding?0:b.scrollPadding;return a.idWatch.watch(b.elementId,b.parentElement).pipe(Oe(),C(function(e){e.scrollIntoView();if(e=document.getElementById(c))e.scrollTop-=d}))};D8.\u0275fac=function(a){return new (a||D8)(t(C8))};D8.\u0275prov=yc({token:D8,factory:D8.\u0275fac,providedIn:"root"});var E8=function(a,b,c,d){this.dynamicScrollIntoView=a;this.paths=b;this.routeParams=c;this.baseIssueReferenceResolver=d;this.destroyed$=new D.ReplaySubject(1);var e;this.issueId=null!=(e=this.routeParams.issueId)?e:""};
E8.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());a.issueId&&a.issueId!==this.issueId||!a.elementId?this.baseIssueReferenceResolver.visit(a):(v$c(this.dynamicScrollIntoView,{elementId:a.elementId,parentElement:document.body,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(af(this.destroyed$)).subscribe(),history&&history.pushState(null,"",this.paths.editIssue(this.issueId)+"#"+a.elementId))};E8.prototype.ngOnDestroy=function(){this.destroyed$.next()};
E8.\u0275fac=function(a){return new (a||E8)(t(D8),t(QH),t(sK),t(Q6))};E8.\u0275prov=yc({token:E8,factory:E8.\u0275fac});var F8=function(a,b){rF.call(this);var c=this;this.el=a;this.router=b;this.router.events.pipe(Ge(fza),af(this.destroyed$)).subscribe(function(){var d=["scrollY",c.rememberScroll,c.router.url.toString()].join("-"),e,g=null==(e=c.el.nativeElement)?void 0:e.scrollTop;g?window.sessionStorage.setItem(d,String(g)):window.sessionStorage.removeItem(d)});this.router.events.pipe(Ge(eza),af(this.destroyed$)).subscribe(function(d){d=["scrollY",c.rememberScroll,d.url].join("-");Dyb(c.el.nativeElement,d)})};
T(F8,rF);F8.\u0275fac=function(a){return new (a||F8)(B(Dd),B(IH))};F8.\u0275dir=Sc({type:F8,selectors:[["","rememberScroll",""]],inputs:{rememberScroll:"rememberScroll"},features:[kf]});var G8=function(){};G8.\u0275fac=function(a){return new (a||G8)};G8.\u0275mod=Qc({type:G8});G8.\u0275inj=zc({imports:[OG,OH]});var Ryb=function(){return{exact:!0}},H8=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da){rF.call(this);var Oa=this;this.contextSensitiveRegistry=a;this.issueFridge=b;this.activeSession=c;this.permissions=d;this.editIssueService=e;this.counts=g;this.appEvents=h;this.issueInteractionsTracking=l;this.checkBeforeExit=q;this.butterBar=v;this.routerEvents=x;this.devopsGraph=A;this.refreshMonitor=G;this.eventsForIssueFridge=M;this.issueFetchResponseFridge=Q;this.hotlistFridge=Y;this.permissionsFridge=
W;this.issueRelationshipsFridge=ia;this.issueService=ja;this.errorHandler=Aa;this.currentTracker=Da;this.id$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.id$.pipe($e(this.issueFridge.watch));this.issue404$=(0,D.combineLatest)([this.id$,this.issueFetchResponseFridge.error$]).pipe(C(function(Ta){var Wa=k(Ta);Ta=Wa.next().value;Wa=Wa.next().value;return Wa.idOrKey===Ta&&404===Wa.status}),Ze(!1));this.issueTrackerId$=this.issue$.pipe(C(function(Ta){return null==Ta?void 0:Ta.trackerId}));
this.showTrackerRedirect$=(0,D.combineLatest)([this.currentTracker.trackerId$,this.issueTrackerId$]).pipe(C(function(Ta){var Wa=k(Ta);Ta=Wa.next().value;Wa=Wa.next().value;return Oa.shouldShowTrackerRedirect(Ta,zi("")(Wa))}));this.snapshot$=this.issue$.pipe(C(function(Ta){return null==Ta?void 0:Ta.snapshot[0]}));this.archived$=this.snapshot$.pipe(C(function(Ta){return null==Ta?void 0:Ta.isArchived}));this.deleted$=this.snapshot$.pipe(C(function(Ta){return null==Ta?void 0:Ta.isDeleted}));this.undeleteButtonTooltip$=
this.permissions.canUndeleteIssue$.pipe(C(function(Ta){return Ta?void 0:"Only issue admins can undelete issues"}));this.inArchivedComponent$=this.issue$.pipe(C(function(Ta){return(null==Ta?void 0:Ta.isArchived)&&!(null==Ta?0:Ta.snapshot[0].isArchived)}));this.status$=this.issue$.pipe(C(function(Ta){return(null==Ta?void 0:Ta.snapshot[0].status)||void 0}));this.prettyStatus$=this.status$.pipe(Ge(Ai),C(function(Ta){return xl[Ta]}));this.issue$.pipe(C(function(Ta){var Wa;return null!=(Wa=null==Ta?void 0:
Ta.snapshot[0].title)?Wa:""}));this.issuesBeingBlocked$=this.issue$.pipe(C(function(Ta){var Wa;return null!=(Wa=null==Ta?void 0:Ta.snapshot[0].blockingIssueId)?Wa:[]}),Me(1E3),$e(this.issueFridge.watchSet));this.issue$.pipe(C(function(Ta){var Wa;return null!=(Wa=null==Ta?void 0:Ta.snapshot[0].duplicateIssueId)?Wa:[]}),Me(1E3),$e(this.issueFridge.watchSet));this.userHasReadAccess$=this.issueFetchResponseFridge.error$.pipe(C(function(Ta){if(403===Ta.status&&Oa.activeSession.isInternalSession())return!1;
Oa.errorHandler.errorHandler(null,Ta);return!0}),Ze(!0),Xe({refCount:!0,bufferSize:1}));this.issueMetadata$=(0,D.defer)(function(){return Oa.id$}).pipe(Ge(Ai),$e(function(Ta){return Oa.issueService.getMetadata(Ta)}),Xe({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(cd(pF(this.activeSession,"enableCodeMentionsUi")?[{link:"./todos",title:"TODOs",count$:this.counts.countTodosDisplay$}]:[]))};T(H8,rF);H8.\u0275dir=rF.\u0275dir;H8.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};
H8.prototype.ngOnInit=function(){var a=this,b,c,d;return pe(function(e){if(1==e.nextAddress)return b=KB,c=b.assertExists,e.yield((0,D.firstValueFrom)(a.id$),2);d=c.call(b,e.yieldResult);a.appEvents.issueViewed.next(d);a.issueInteractionsTracking.getState(d);a.subscriptions.add(yQ(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(Ge(Ai),
Oe()).subscribe(function(g){LI(a.issueFridge,[g.issueId])}));a.subscriptions.add(a.refreshMonitor.getObservable().subscribe(function(){a.issueInteractionsTracking.trackNavigation("refresh");a.permissionsFridge.poke("issues/"+d);a.issueRelationshipsFridge.poke(d);OI(a.issueFetchResponseFridge,d);a.eventsForIssueFridge.poke(d);a.hotlistFridge.pokeMany(ldc);LI(a.issueFridge,[d])}));a.destroyed$.subscribe(function(){a.devopsGraph.close();var g=a.issueInteractionsTracking,h=g.getState(d);g.trackDestroy("edit-count",
h.editCount);var l=Date.now()-h.startTime;khc(g,l,"idp-time-on-page",h.variations);g.resetState(d);a.editIssueService.clear(d)});ue(e)})};H8.\u0275fac=function(a){return new (a||H8)(B(zK),B(JI),B(Bs),B(CK),B(QK),B(i8),B(eH),B(yK),B(xQ),B(XG),B(DI),B(E0),B(HI),B(nG),B(MI),B(pI),B(RI),B(QI),B(GI),B(aH),B(PL))};
H8.\u0275cmp=Oc({type:H8,selectors:[["issue-details-wrapper"]],features:[Of([AI,RK,{provide:MM,useClass:E8}]),kf],decls:10,vars:8,consts:[["class","a11y-only",4,"ngIf"],[4,"ngIf","ngIfThen","ngIfElse"],["showIssueDetails",""],["showTrackerRedirect",""],["showNoAccessScreen",""],[1,"a11y-only"],[4,"ngIf"],["class","flex-kids-y pos-fill",3,"issue-editor-false",4,"ngIf","ngIfElse"],[1,"flex-kids-y","pos-fill"],["class","border-bottom",3,"messageType","format","iconOverride",4,"ngIf"],["messageType",
"caution","class","border-bottom",3,"format","iconOverride",4,"ngIf"],["messageType","error","format","app","class","border-bottom",4,"ngIf"],["class","issue-header",4,"ngIf"],[1,"flex-1","flex-kids-x","overflow","overflow-on-print-media"],["role","main","rememberScroll","center","cdkScrollable","",1,"flex-1","pos-rel","bg-off-main","overflow","overflow-on-print-media"],[3,"issueId",4,"ngIf"],[1,"border-bottom",3,"messageType","format","iconOverride"],["href","http://go/buganizer-issue-archive","target",
"_blank",4,"ngIf"],["mat-button","","aria-label","Unarchive issue",3,"click",4,"ngIf"],["href","http://go/buganizer-issue-archive","target","_blank"],["mat-button","","aria-label","Unarchive issue",3,"click"],["messageType","caution",1,"border-bottom",3,"format","iconOverride"],["href","http://go/buganizer/guides/manage-component#archiving-a-component","target","_blank",4,"ngIf"],["href","http://go/buganizer/guides/manage-component#archiving-a-component","target","_blank"],["messageType","error",
"format","app",1,"border-bottom"],["href","http://go/issue-retention","target","_blank",4,"ngIf"],["mat-button","","aria-label","Undelete issue",3,"matTooltip","disabled","click",4,"ngIf"],["href","http://go/issue-retention","target","_blank"],["mat-button","","aria-label","Undelete issue",3,"matTooltip","disabled","click"],[1,"issue-header"],[3,"issueId","trackerId"],[3,"issueId"],["mat-tab-nav-bar","","gmat-tabs",""],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions",
4,"ngFor","ngForOf"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions"],["rla","routerLinkActive"],["style","margin-left: 4px;",4,"ngIf"],[2,"margin-left","4px"],[1,"bv2-limited-issue-view"],[3,"issue"],[3,"issueMetadata"]],template:function(a,b){a&1&&(O(0,Eyb,2,1,"h2",0),R(1,"async"),O(2,Fyb,1,0,"div",1),R(3,"async"),O(4,Xyb,2,3,"ng-template",null,2,gg),O(6,Yyb,3,3,"ng-template",null,3,gg),O(8,Zyb,3,3,"ng-template",null,4,gg));if(a&2){var c=Kf(5),d=Kf(9);
E("ngIf",S(1,4,b.id$));z(2);E("ngIf",S(3,6,b.userHasReadAccess$))("ngIfThen",c)("ngIfElse",d)}},dependencies:[Qw,Rw,zH,KH,LH,QA,TN,UN,WN,Nz,lD,fX,gX,z8,f5,M1,F8,B8,A8,Xw],styles:["[mat-tab-nav-bar][_ngcontent-%COMP%]{padding-left:8px}"]});var I8=function(a,b){rF.call(this);var c=this;this.issueFridge=a;this.butterBar=b;this.duplicateIssueIds$=new D.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"}]}};T(I8,rF);I8.\u0275dir=rF.\u0275dir;I8.prototype.ngOnInit=function(){};
I8.prototype.removeDuplicate=function(a){var b=this,c;return pe(function(d){if(1==d.nextAddress)return qe(d,2),d.yield(b.issueFridge.removeDuplicate(b.issueId,a),4);if(2!=d.nextAddress)return Hs(d,0);c=te(d);ZG(b.butterBar,"Could not remove duplicate "+a+". "+c);ue(d)})};sh.Object.defineProperties(I8.prototype,{duplicateIds:{configurable:!0,enumerable:!0,set:function(a){this.duplicateIssueIds$.next((null!=a?a:[]).map(function(b){return String(b)}))}}});
I8.\u0275fac=function(a){return new (a||I8)(B(JI),B(XG))};I8.\u0275cmp=Oc({type:I8,selectors:[["b-duplicates-table"]],inputs:{duplicateIds:"duplicateIds",issueId:"issueId"},features:[kf],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","menuItemFactory","tableColumns","initialSort"]],template:function(a,b){a&1&&(O(0,$yb,2,4,"ng-container",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.duplicateIssueIds$))},dependencies:[Rw,JT,Xw],encapsulation:2,changeDetection:0});var J8=function(a,b,c,d,e){rF.call(this);var g=this;this.paramsService=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.counts=e;this.ROBOT_SLEEPING=gkc;this.id$=this.paramsService.issueId$;this.dupeUrl$=this.id$.pipe(C(function(h){return{path:"/issues",params:{q:"canonicalid:"+h}}}));this.issue$=this.id$.pipe($e(this.issues.watch));this.duplicateIds$=this.issue$.pipe(C(function(h){var l;return null!=(l=null==h?void 0:h.snapshot[0].duplicateIssueId)?l:[]}));this.duplicatesCount$=this.duplicateIds$.pipe($e(function(h){return 0===
h.length?(0,D.of)(0):g.counts.duplicatesDualCount$.pipe(C(function(l){return l.total.count}))}));this.showTable$=this.duplicatesCount$.pipe(C(function(h){return 0<h}),Ze(!0));this.didChooseDupes=function(h){var l=on(g.id$);null!=l&&Wdc(g.issues,l,h[0]).catch(g.gotErr)};this.gotErr=function(h){g.snackBar.open(am(h)||"Error with network request","close",{panelClass:"error"})}};T(J8,rF);J8.\u0275dir=rF.\u0275dir;J8.prototype.isThinking=function(){return this.issues.isThinking()};
var azb=function(a){a.issuePicker.open({title:"Add Duplicate",allowMultipleIds:!1,edgeType:"duplicate"},a.didChooseDupes)};J8.\u0275fac=function(a){return new (a||J8)(B(rK),B(JI),B(kQ),B(VG),B(i8))};
J8.\u0275cmp=Oc({type:J8,selectors:[["ng-component"]],features:[kf],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&&(F(0,"section",0),
O(1,fzb,5,4,"ng-container",1),R(2,"async"),H(),O(3,gzb,2,0,"aside",2));a&2&&(z(1),E("ngIf",S(2,2,b.duplicateIds$)),z(2),E("ngIf",b.isThinking()))},dependencies:[Rw,KH,QA,RA,lD,WM,I8,Xw],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 K8=function(){};K8.\u0275fac=function(a){return new (a||K8)};K8.\u0275mod=Qc({type:K8});K8.\u0275inj=zc({imports:[OG,Ny,dz,Px,Qx,OH,ED,VN,fE,gO,$P,DP,CO,LT]});var L8=function(a,b,c,d){rF.call(this);this.preferences=a;this.activeSession=b;this.clearcut=c;this.analytics=d;this.enableCommentFilters=pF(this.activeSession,"enableCommentFiltering");this.selectedFilter=null;a=this.activeSession.isInternalSession();ns.description=a?"Including CLs, Blunderbuss, etc.":"Including all automated comments";this.filters=w$c;this.showRecentEventsFirst=!1};T(L8,rF);L8.\u0275dir=rF.\u0275dir;
L8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Ge(Ai),af(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.preferences.commentFilterPreferences$.pipe(af(this.destroyed$)).subscribe(function(b){b.commentFilter?a.selectedFilter=ozb(b.commentFilter):(a.selectedFilter=WJ(a.preferences).showFullHistory?lzb:ns,a.preferences.save({commentFilterPreferences:{commentFilter:a.selectedFilter.commentFilterType}}).pipe(af(a.destroyed$)).subscribe())})};
L8.\u0275fac=function(a){return new (a||L8)(B(VJ),B(Bs),B(sI),B(EI))};
L8.\u0275cmp=Oc({type:L8,selectors:[["b-event-stream-header"]],features:[kf],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&&(F(0,"div",0)(1,"h4",1),P(2,"Comments"),H(),F(3,"div",2),O(4,izb,5,3,"mat-form-field",3),F(5,"button",4),L("click",function(){Jya("hasClickedCommentSortBtn")(!0);var c=!b.showRecentEventsFirst;uI(b.clearcut,"click_recentFirst_"+c);b.preferences.save({showRecentEventsFirst:c}).pipe(af(b.destroyed$)).subscribe()}),
O(6,jzb,4,0,"ng-container",5),O(7,kzb,4,0,"ng-container",5),H()()());a&2&&(z(4),E("ngIf",b.enableCommentFilters),z(2),E("ngIf",!b.showRecentEventsFirst),z(1),E("ngIf",b.showRecentEventsFirst))},dependencies:[Qw,Rw,HB,QA,uB,HP,GP,SA],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 lzb={name:"Full history",description:"Including everything with audit trail",displayName:"Full history",commentFilterType:"FULL_HISTORY"},ns={name:"All comments and updates",description:"Including CLs, Blunderbuss, etc.",displayName:"All comments",commentFilterType:"ALL_COMMENTS"},mzb={name:"Users' comments",description:"All human generated comments",displayName:"Users",commentFilterType:"HUMAN_ONLY"},nzb={name:"Team and assignee comments",description:"Issue's owning team and assignee",displayName:"Team and assignee",
commentFilterType:"TEAM_AND_ASSIGNEE"},w$c=[lzb,ns,mzb,nzb];var M8=function(a){this.matDialogService=a;this.reactionState$=new D.ReplaySubject(1);this.issueId="";this.emails$=this.reactionState$.pipe(Ge(Ai),C(function(b){return b.recentResponders.map(function(c){return c.emailAddress||c.obfuscatedEmailAddress||""}).filter(function(c){return""!==c}).slice(0,5)}));this.isOverflowReactionCount$=this.reactionState$.pipe(Ge(Ai),C(function(b){return 5<b.count}));this.overflowReactionCount$=this.reactionState$.pipe(Ge(Ai),Ge(function(b){return 5<b.count}),C(function(b){return b.count-
5}))};sh.Object.defineProperties(M8.prototype,{reactionState:{configurable:!0,enumerable:!0,set:function(a){a&&this.reactionState$.next(a)}}});M8.\u0275fac=function(a){return new (a||M8)(B(eB))};
M8.\u0275cmp=Oc({type:M8,selectors:[["b-comment-reaction-responders-card"]],inputs:{reactionState:"reactionState",issueId:"issueId",commentNumber:"commentNumber"},decls:6,vars:6,consts:[["role","dialog","tabindex","0","aria-label","Comment Reactions Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"normal-link","hover-link","unstyled-button",3,"click"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1),O(2,rzb,6,5,"ng-container",2),R(3,"async"),
O(4,szb,6,3,"span",3),R(5,"async"),H()());a&2&&(z(2),E("ngForOf",S(3,2,b.emails$)),z(2),E("ngIf",S(5,4,b.isOverflowReactionCount$)))},dependencies:[Qw,Rw,Xw],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto;max-width:400px}.normal-link.unstyled-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}"]});var x$c=function(){};x$c.\u0275fac=function(a){return new (a||x$c)};x$c.\u0275cmp=Oc({type:x$c,selectors:[["b-comment-edit-timestamp-message"]],inputs:{event:"event"},decls:1,vars:1,consts:[[4,"ngIf"],["mode","datetime",3,"timestamp"]],template:function(a,b){a&1&&O(0,uzb,7,2,"ng-container",0);a&2&&E("ngIf",b.event.commentLastModifiedAtDate)},dependencies:[Rw,FL],encapsulation:2,changeDetection:0});var N8=function(){this.texts=[]};N8.prototype.getIssueId=function(a){return a.text};N8.prototype.trackByIndex=function(a){return a};N8.\u0275fac=function(a){return new (a||N8)};
N8.\u0275cmp=Oc({type:N8,selectors:[["b-tagged-text"]],inputs:{texts:"texts"},decls:1,vars:2,consts:[[4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngSwitch"],[3,"email","withProfile",4,"ngSwitchCase"],[3,"href","issueId",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"email","withProfile"],[3,"href","issueId"]],template:function(a,b){a&1&&O(0,yzb,5,3,"ng-container",0);a&2&&E("ngForOf",b.texts)("ngForTrackBy",b.trackByIndex)},dependencies:[OM,Qw,Sw,Tw,Uw,toc],encapsulation:2,changeDetection:0});var y$c=function(a){this.hotlists=a;this.HOTLIST_SEARCH=ms.HOTLIST_SEARCH};y$c.\u0275fac=function(a){return new (a||y$c)(B(pI))};y$c.\u0275cmp=Oc({type:y$c,selectors:[["hotlist-link"]],inputs:{id:"id"},decls:3,vars:4,consts:[[3,"href"]],template:function(a,b){a&1&&(F(0,"a",0),P(1),R(2,"async"),H());if(a&2){var c;E("href",b.HOTLIST_SEARCH(b.id),Ud);z(1);Mf((null==(c=S(2,2,b.hotlists.watch(b.id)))?null:c.name)||b.id)}},dependencies:[Xw],encapsulation:2,changeDetection:0});var O8=function(a){var b=this;this.componentFridge=a;this.id$=new D.ReplaySubject(1);this.name$=this.id$.pipe(Ne(),$e(function(c){return b.componentFridge.watchOne(c).pipe(C(function(d){var e;return d?a7a(null==(e=d.componentPathInfo)?void 0:e.componentPathName,c):c}))}))};O8.prototype.ngOnChanges=function(){this.id$.next(this.id)};O8.\u0275fac=function(a){return new (a||O8)(B(AG))};
O8.\u0275cmp=Oc({type:O8,selectors:[["plain-component-path"]],inputs:{id:"id"},features:[gd],decls:6,vars:4,consts:[[3,"onedevHovercardTrigger"],["thisHovercard","onedevHovercard"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"],["cardBody",""]],template:function(a,b){a&1&&(F(0,"span",0),P(1),R(2,"async"),H(),F(3,"onedev-hovercard",null,1),O(5,zzb,3,2,"ng-container",2),H());if(a&2){var c=Kf(4);E("onedevHovercardTrigger",c);z(1);Mf(S(2,2,b.name$)||b.id)}},dependencies:[UK,
VK,ZK,WK,UY,Xw],encapsulation:2,changeDetection:0});var Xzb=function(a){return{"bv2-diff-newvalue-nextline":a}},qAb=function(a,b,c){return{diff:a,change:b,isLast:c}},P8=function(a,b){rF.call(this);this.activeSession=a;this.preferences=b;this.customFieldMap={};this.effortEnabled=!0;this.isStringArray=$h;this.isLinkedItemArray=Rua;this.isIssueDiff=Oua;this.isHotlistDiff=Pua};T(P8,rF);P8.\u0275dir=rF.\u0275dir;P8.prototype.getAccessLimitLevel=function(a){return F7a(a)};
var z$c=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)},A$c=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)};P8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Ge(Ai),af(this.destroyed$)).subscribe(function(b){2>a.internalDiffs.length||(b&&z$c(a)||!b&&A$c(a))&&a.internalDiffs.reverse()})};P8.prototype.trackByIndex=function(a){return a};
var CAb=function(a,b,c){return"<none>"===Sca(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"DATE"===a.customFieldMap[b.customFieldId].type?!0:!1},DAb=function(a,b,c){return"<none>"===Sca(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"REPEATED_DATE"===a.customFieldMap[b.customFieldId].type?!0:!1};P8.prototype.asNumber=function(a){return Number(a)};
P8.prototype.customFieldName=function(a){if(a.customFieldId){var b;return(null==(b=this.customFieldMap[a.customFieldId])?void 0:b.customFieldName)||"customfield"+a.customFieldId}return""};sh.Object.defineProperties(P8.prototype,{diffs:{configurable:!0,enumerable:!0,set:function(a){this.internalDiffs=[].concat(cd(a))}}});P8.\u0275fac=function(a){return new (a||P8)(B(Bs),B(VJ))};
P8.\u0275cmp=Oc({type:P8,selectors:[["b-issue-event-details"]],inputs:{diffs:"diffs",customFieldMap:"customFieldMap",effortSpecName:"effortSpecName",effortEnabled:"effortEnabled"},features:[kf],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&&(F(0,"div",0),O(1,TAb,2,1,"div",1),H(),O(2,bBb,1,1,"ng-template",null,2,gg),O(4,cBb,2,0,"ng-template",null,3,gg));a&2&&(z(1),E("ngForOf",b.internalDiffs)("ngForTrackBy",b.trackByIndex))},dependencies:[Pw,Qw,Rw,Ww,Sw,Tw,Uw,FL,yL,OM,y$c,O8,ax],styles:["/*# sourceMappingURL=issue_event_details.css.map */"],changeDetection:0});var Q8=function(a){rF.call(this);var b=this;a.textDisplayPreferencesSubject$.pipe(af(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:Ch(c.commentDisplayOverride)}})};T(Q8,rF);Q8.\u0275dir=rF.\u0275dir;
Q8.prototype.ngOnInit=function(){};Q8.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";B$c(this);this.audience=this.issueAccessLevel&&"INTERNAL"===this.issueAccessLevel?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE";this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber};
var B$c=function(a){if(2>a.rawComment.split("\n").slice(0,3).filter(Boolean).length)a.rawComment=oBa(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")}};Q8.\u0275fac=function(a){return new (a||Q8)(B(VJ))};
Q8.\u0275cmp=Oc({type:Q8,selectors:[["b-summarized-note-container"]],inputs:{note:"note",issueId:"issueId",formattingMode:"formattingMode",issueAccessLevel:"issueAccessLevel"},features:[kf,gd],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&&E("comment",b.rawComment)("issueId",b.issueId)("audience",b.audience)("formattingMode",b.formattingModeOverride||b.formattingMode)("idPrefix",b.idPrefix)},dependencies:[uP],
styles:["[_nghost-%COMP%]     b-live-preview .md-preview{background-color:#fff;background-color:var(--background);padding:0}"]});var C$c=["commentActionsMenu"],D$c=["commentReactionButton"],lBb=function(){return[]},BBb=function(a){return{"no-upvote-reactions":a}},R8=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja){rF.call(this);var Aa=this;this.documentationLinks=a;this.activeSession=b;this.issueReferenceResolver=c;this.commentService=d;this.el=e;this.userAccess=g;this.butterBar=h;this.errorHandler=l;this.analytics=q;this.userPreferencesManager=v;this.issueDetailsBrain=x;this.editIssueService=A;this.issuePermissionService=
G;this.commentHistoryDialogService=M;this.issueCommentDialogsService=Q;this.dateFormatter=Y;this.paths=W;this.domSafe=ia;this.eventsForIssueFridge=ja;this.isSummarized=!1;this.issueId$=new D.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Ne());this.event$=new D.ReplaySubject(1);this.isCommentEvent=Fl;this.isNonObfuscatedEmail=xn;this.commentActionMenuItems$=new D.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(){Aa.formattingMode="PLAIN";Aa.initializeActionsMenu()},label:"Classic",selected:!0},a.MARKDOWN={type:"select",action:function(){Aa.formattingMode="MARKDOWN";Aa.initializeActionsMenu()},label:"Markdown",selected:!1},a.LITERAL={type:"select",action:function(){Aa.formattingMode="LITERAL";Aa.initializeActionsMenu()},label:"Source",selected:!1},
a);this.isFormattingOverrideEnabled=!1;this.canEditComment$=this.event$.pipe($e(function(Da){return Aa.issuePermissionService.canEditComment$(Da)}),Xe({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!on(Aa.canEditComment$)};this.commentHistoryEnabled=pF(this.activeSession,"enableCommentHistoryUi");this.commentReactionsEnabled=pF(this.activeSession,"enableCommentReaction");this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;
this.teamId$=this.issueDetailsBrain.teamId$;this.issue$=this.distinctIssueId$.pipe($e(function(Da){return Aa.editIssueService.editableIssue$(Da)}));this.modifiedDateDisplay$=this.event$.pipe(C(function(Da){return new Date(Da.modifiedDate)}),$e(function(Da){return Qjc(Aa.dateFormatter,Da)}));this.ariaLabelHeading$=(0,D.combineLatest)([this.event$,this.modifiedDateDisplay$]).pipe(C(function(Da){var Oa=k(Da);Da=Oa.next().value;Oa=Oa.next().value;if(null==Da)Da="";else{var Ta=[];Da.commentNumber&&Ta.push("Comment #"+
Da.commentNumber);Da.userPerformingActionUser&&Ta.push(li(Da.userPerformingActionUser));Ta.push("Modified: "+Oa);Da=Ta.join(", ")}return Da}));this.ReactionType=I6b;this.upvoteReactionCount$=this.event$.pipe(C(function(Da){var Oa,Ta,Wa;return null!=(Wa=null==(Oa=Da.commentReactions)?void 0:null==(Ta=Oa.get("UPVOTE"))?void 0:Ta.count)?Wa:0}));this.upvoteReactionCountDisplayString$=this.upvoteReactionCount$.pipe(C(function(Da){return Da&&0!==Da?999<Da?"999+":String(Da):null}));this.noUpvoteReactions$=
this.upvoteReactionCount$.pipe(C(function(Da){return 0===Da}));this.commentReactionsHovercardConfig=Object.assign({},new XK,{position:[hic]});this.commentReactionIsSaving=!1;this.showRecentEventsFirst$=this.userPreferencesManager.showRecentEventsFirst$;this.showFullHistoryFromFiltering$=this.userPreferencesManager.commentFilterPreferences$.pipe(C(function(Da){var Oa;return null!=(Oa=Da.commentFilter)?Oa:""}));this.isFullHistoryPreference$=this.showFullHistoryFromFiltering$.pipe(C(function(Da){return"FULL_HISTORY"===
Da}));this.preEventDiffs$=(0,D.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(C(function(Da){Da=k(Da);var Oa=Da.next().value;return Da.next().value?Oa.postDiffs:Oa.preDiffs}));this.postEventDiffs$=(0,D.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(C(function(Da){Da=k(Da);var Oa=Da.next().value;return Da.next().value?Oa.preDiffs:Oa.postDiffs}));this.hasAclToUpvoteReact$=(0,D.combineLatest)([this.event$,this.issuePermissionService.hasAclToComment$]).pipe(C(function(Da){var Oa=
k(Da);Da=Oa.next().value;Oa=Oa.next().value;var Ta,Wa;return(null==(Ta=Da.commentReactions)?void 0:null==(Wa=Ta.get("UPVOTE"))?void 0:Wa.hasReacted)||Oa}));this.showCommentReactionHovercard$=(0,D.combineLatest)([this.issuePermissionService.hasAclToEdit$,this.upvoteReactionCount$]).pipe(C(function(Da){var Oa=k(Da);Da=Oa.next().value;Oa=Oa.next().value;return Da&&0<Oa&&5>=Oa}));this.isShowingCommentTimestamp$=this.isFullHistoryPreference$.pipe(C(function(Da){return Da&&JBb(Aa)&&(0<Aa.event.preDiffs.length||
0<Aa.event.postDiffs.length)}));this.getCommentNumberLink=function(Da){return wwa(Aa.issueId,{comment:Da})}};T(R8,rF);R8.\u0275dir=rF.\u0275dir;
R8.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(af(this.destroyed$)).subscribe(function(){Fl(a.event)&&a.isRestricted()?a.mayReadPii$=a.mayReadPii():a.mayReadPii$=(0,D.of)(void 0)});E$c(this);this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(af(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=
null!=b.commentDisplayOverride;a.initializeActionsMenu()});this.issueDetailsBrain.canonicalIssueId$.pipe(af(this.destroyed$)).subscribe(function(b){a.canonicalIssueId=b;a.initializeActionsMenu()});this.canEditComment$.pipe(af(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.issuePermissionService.canChangeCommentRetention$.pipe(af(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
var E$c=function(a){if(a.formattingMode){for(var b=k(Object.values(a.formattingModeMenuItems)),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.formattingModeMenuItems[a.formattingMode].selected=!0}};f=R8.prototype;
f.updateCommentRetention=function(a){var b=this;this.event.commentNumber||bH(this.errorHandler,"Comment number is missing");this.analytics.trackEvent(ao.RESTRICTED_CONTENT,"updateRetention","comment");this.commentService.updateRetention(this.issueId,this.event.commentNumber||0,a).pipe(af(this.destroyed$)).subscribe({next:function(c){var d;b.event=Object.assign({},b.event,{commentRetention:c.piiRetention,commentRetentionState:null!=(d=c.piiRetentionState)?d:null});YG(b.butterBar,"Comment retention updated",
4E3);b.commentRetentionOverride="INDEFINITE"===a?"INDEFINITE":"COMPONENT_DEFAULT";b.initializeActionsMenu()},error:function(){bH(b.errorHandler,"Comment retention update failed")}})};
f.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()};f.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};f.getRestrictedLabel=function(){return Sqa(Gi(this.event.commentContentVerdict))};f.isRestricted=function(){if(!this.isInternalSession)return!1;var a=Gi(this.event.commentContentVerdict);switch(a){case "NONE_DETECTED":case "PII_SEVERITY_UNSPECIFIED":return!1;case "PII":case "SPII":return!0;default:Ch(a)}};
f.isDeleted=function(){return"DELETED"===this.event.commentDeletionStatus};var rs=function(a){var b;return(null==(b=a.event)?void 0:b.commentRedacted)&&!a.deobfuscatedEvent};
R8.prototype.loadRestrictedComment=function(){var a=this;this.analytics.trackEvent(ao.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var b=this.event.commentNumber||0;this.commentService.get(String(this.issueId),b,Gi(this.event.commentContentVerdict)).pipe(Oe()).subscribe(function(c){a.deobfuscatedEvent=Object.assign({},a.event,sta(c));a.initializeActionsMenu()},function(c){var d;ZG(a.butterBar,"Error showing comment "+b+": "+(null==(d=c.error)?void 0:d.message))})};
R8.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]}),E$c(this)),this.canEditComment()&&b.push({type:"action",action:function(){qs(a.issueCommentDialogsService,String(a.issueId),a.deobfuscatedEvent||a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},
label:"Edit comment",disabled:rs(this)}),this.commentHistoryEnabled&&0<(this.event.commentVersion||0)&&!rs(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:rs(this)}),this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){TAc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Copy comment to",disabled:rs(this)}),ohc(this.issuePermissionService,
this.event)&&b.push({type:"action",action:function(){YAc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber,a.event.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete comment"}),nhc(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){VAc(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(){ZAc(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";$Ac(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)};R8.prototype.getUserEmailIfAvailable=function(){return pi(this.event.userPerformingActionUser)};var JBb=function(a){return Fl(a.event)&&!!a.event.unlinkifiedComment};R8.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.issueId,a,-1)};
R8.prototype.mayReadPii=function(){var a=MG(this.userAccess,"reader","issues/"+this.issueId+"/comments/"+this.event.commentNumber);a.catch(function(b){Kh("error: ",b);return!1});return(0,D.from)(a)};
var zBb=function(a){if(on(a.hasAclToUpvoteReact$)){a.commentReactionIsSaving=!0;var b=CBb(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);lG(a.eventsForIssueFridge,a.issueId,function(g){var h;g.events=Zua(g.events,null!=(h=a.event.commentNumber)?h:2,{commentReactions:d})});a.analytics.trackEvent(ao.EDIT_ISSUE,
"click",b?"removeUpvoteReaction":"addUpvoteReaction")}})}},CBb=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},ABb=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};
sh.Object.defineProperties(R8.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){this.internalEvent=a;this.event$.next(a)},get:function(){return this.internalEvent}}});R8.\u0275fac=function(a){return new (a||R8)(B(OJ),B(Bs),B(MM),B(oJ),B(Dd),B(LG),B(XG),B(aH),B(EI),B(VJ),B(AK),B(QK),B(CK),B($Q),B(fT),B(EL),B(QH),B(vL),B(nG))};
R8.\u0275cmp=Oc({type:R8,selectors:[["b-history-event"]],viewQuery:function(a,b){a&1&&(bg(C$c,5),bg(D$c,5));if(a&2){var c;ag(c=dg())&&(b.commentActionsMenu=c.first);ag(c=dg())&&(b.commentReactionButton=c.first)}},inputs:{issueId:"issueId",issueAccessLevel:"issueAccessLevel",isSummarized:"isSummarized",event:"event"},features:[kf,gd],decls:2,vars:3,consts:[[4,"ngIf"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"bv2-event-content-cell"],[1,"bv2-event-user"],[3,"user","email",
"teamId",4,"ngIf","ngIfElse"],["plainUserDisplayName",""],[4,"ngIf","ngIfElse"],["emailDisplay",""],["class","bv2-edit-comment-button","matTooltip","Edit Comment","aria-label","Edit Comment",3,"click",4,"ngIf"],[1,"bv2-event-info"],["content-type","comment",3,"label","retention","retentionState",4,"ngIf"],["mode","datetime",3,"timestamp"],["class","issue-detail-actions",3,"buttonLabel","menuItems",4,"ngIf"],[1,"float-clear"],["class","bv2-event-major-status",4,"ngIf"],[3,"diffs","customFieldMap",
"effortSpecName","effortEnabled",4,"ngIf"],[1,"bv2-event-note-container","critical-feature"],[1,"flex-kids-x","space-between"],["class","muted italic",4,"ngIf"],[3,"disabled","onConfirm",4,"ngIf"],[1,"flex-kids-y","flex-1-hemmed"],[3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],[1,"flex-kids-y","justify-space-between"],[1,"comment-timestamp"],["mode","time","class","muted type-s",3,"timestamp",4,"ngIf"],["class","align-self-flex-end",4,"ngIf"],["class","bv2-event-note-edit-timestamp",
4,"ngIf"],["class","margin-s-y border-top bv2-issue-event-attachments",4,"ngIf"],[3,"user","email","teamId"],[1,"bv2-event-user-name",3,"model"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],[1,"bv2-event-user-id"],[1,"keep-focus-ring","vertical-centered","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&&(O(0,KBb,43,33,"ng-container",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.issue$))},dependencies:[VL,hT,wP,Pw,Qw,Rw,
Ww,HB,FL,UK,ZK,P8,xL,gR,jT,wO,zL,RM,XP,lD,Q8,QA,M8,x$c,N8,Xw],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 F$c={FULL:"full",SUMMARIZED:"summarized",FOLDED:"folded",HIDDEN:"hidden"},S8=function(a,b,c,d,e,g,h,l,q,v){rF.call(this);var x=this;this.formattedCommentsForIssueFridge=a;this.preferences=b;this.eventsForIssue=c;this.editIssueService=d;this.dynamicScrollIntoView=e;this.bLocation=g;this.elementRef=h;this.activeSession=l;this.routerEvents=q;this.analytics=v;this.issueId$=new D.ReplaySubject(1);this.internalIssueId="";this.eventDisplayModes=F$c;this.internalEvents=[];this.showRecentEventsFirst=null;
this.currentFilterLevel="FULL_HISTORY";this.enableCommentFiltering=pF(this.activeSession,"enableCommentFiltering");this.issue$=this.issueId$.pipe($e(function(A){return x.editIssueService.editableIssue$(A)}));this.events$=new D.ReplaySubject(1);this.commentsToFormat$=new D.ReplaySubject(1);this.eventDisplayMode=new Map;this.commentNumbersDisplayed=new Set;this.foldedCommentsCounts=new Map;this.sendAnalytics=gv(function(){var A=[].concat(cd(document.querySelectorAll(".bv2-event-note, .bv2-event-major-status"))).map(function(G){return G.innerText}).join("").length;
x.analytics.trackEvent(ao.EDIT_ISSUE,"updateCommentThread","visibleCharCount",A)},200);this.scrollToCommentOrAttachment=gv(function(){var A=x.bLocation.hash();if(A&&x.internalEvents){var G,M=k(null!=(G=A.match(RegExp("(comment|attachment)([0-9]+)")))?G:[]);M.next();G=M.next().value;var Q=M.next().value;M=G;var Y=Q;if("lastcomment"===A){M=dva(x.internalEvents);if(-1===M)return;Y=String(M);M="comment"}M&&Y&&(A=x.internalEvents.findIndex(function(W){return W.commentNumber===Number(Y)}),G=-1<A,Q=x.internalEvents.flatMap(function(W){return W.attachments}).some(function(W){return W.attachmentId===
Number(Y)}),G||Q)&&(G&&"folded"===x.eventDisplayMode.get(A)&&(x.eventDisplayMode.set(A,"full"),G$c(x,A)),Q&&(A=x.internalEvents.findIndex(function(W){return-1<W.attachments.findIndex(function(ia){return ia.attachmentId===Number(Y)})}),x.eventDisplayMode.get(A)||(x.eventDisplayMode.set(A,"full"),G$c(x,A))),v$c(x.dynamicScrollIntoView,{elementId:M+Y,parentElement:x.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(af(x.destroyed$)).subscribe())}},
200)};T(S8,rF);S8.\u0275dir=rF.\u0275dir;
S8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Ge(Ai),af(this.destroyed$),Ne()).subscribe(function(b){a.showRecentEventsFirst!==b&&(a.showRecentEventsFirst=b,H$c(a))});(0,D.combineLatest)([this.events$,this.preferences.commentFilterPreferences$]).subscribe(function(b){b=k(b);var c=b.next().value,d=b.next().value;b=[];if(a.enableCommentFiltering&&d.commentFilter)for(a.currentFilterLevel=d.commentFilter,I$c(a,c,d.commentFilter),J$c(a),c=k(a.commentNumbersDisplayed.values()),
d=c.next();!d.done;d=c.next())b.push(a.internalIssueId+"-"+d.value);else for(c=k(c),d=c.next();!d.done;d=c.next())(d=d.value)&&d.commentNumber&&b.push(a.internalIssueId+"-"+d.commentNumber);a.commentsToFormat$.next(b)});this.commentsToFormat$.pipe(Ge(Ai),af(this.destroyed$),$e(this.formattedCommentsForIssueFridge.watchSet)).subscribe(function(b){K$c(a,b)});this.routerEvents.navigationEnd$.pipe(af(this.destroyed$)).subscribe(function(){a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()})};
var K$c=function(a,b){for(var c={$jscomp$loop$prop$i$2400:0};c.$jscomp$loop$prop$i$2400<a.internalEvents.length;c={$jscomp$loop$prop$i$2400:c.$jscomp$loop$prop$i$2400},c.$jscomp$loop$prop$i$2400++)if(PBb(a.eventDisplayMode.get(c.$jscomp$loop$prop$i$2400))&&Fl(a.internalEvents[c.$jscomp$loop$prop$i$2400])){var d=b.find(function(g){return function(h){return h.id.commentId===a.internalEvents[g.$jscomp$loop$prop$i$2400].commentNumber}}(c));if(d){var e=a.internalEvents[c.$jscomp$loop$prop$i$2400];e.formattedComment=
d.formattedComment.formattedComment;e.formattingMode=d.formattedComment.formattingMode;a.internalEvents[c.$jscomp$loop$prop$i$2400]=Object.assign({},e)}}H$c(a)},I$c=function(a,b,c){a.eventDisplayMode.clear();a.commentNumbersDisplayed.clear();a.foldedCommentsCounts.clear();switch(c){case "FULL_HISTORY":for(c=0;c<b.length;c++){var d=L$c(b[c]);a.eventDisplayMode.set(c,d?"full":"hidden");Fl(b[c])&&b[c].commentNumber&&d&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0))}break;
case "ALL_COMMENTS":for(c=0;c<b.length;c++)d=M$c(b[c]),a.eventDisplayMode.set(c,d?"full":"hidden"),Fl(b[c])&&b[c].commentNumber&&d&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0));break;case "HUMAN_ONLY":N$c(a,b,function(e){var g;return null!=(g=e.isHumanAuthor&&e.isMajorEvent)?g:!0});break;case "TEAM_AND_ASSIGNEE":N$c(a,b,function(e){var g;return null!=(g=e.isCollaboratorAuthor&&e.isMajorEvent)?g:!0});break;default:for(c=0;c<b.length;c++)a.eventDisplayMode.set(c,"full"),
Fl(b[c])&&b[c].commentNumber&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0))}a.sendAnalytics()},J$c=function(a){if("FULL_HISTORY"!==a.currentFilterLevel)for(var b=0;b<a.internalEvents.length;b++)Fl(a.internalEvents[b])&&Ml(a.internalEvents[b])&&(a.eventDisplayMode.set(b,"summarized"),G$c(a,b))},N$c=function(a,b,c){for(var d=0,e=0,g=0,h=0;h<b.length;h++){var l=c(b[h]);a.eventDisplayMode.set(h,l?"full":"folded");if(l){if(0<d||0<e)a.foldedCommentsCounts.has(g)||a.foldedCommentsCounts.set(g,
{commentFoldedCount:d,eventFoldedCount:e});e=d=0;Fl(b[h])&&b[h].commentNumber&&(l=void 0,a.commentNumbersDisplayed.add(null!=(l=b[h].commentNumber)?l:0))}else{if(Fl(b[h])&&b[h].commentNumber||Gl(b[h]))d++,g=h;e++}}if(0<d||0<e)b=1===dva(a.internalEvents)?a.showRecentEventsFirst?0:a.internalEvents.length:O$c(a),a.foldedCommentsCounts.set(b,{commentFoldedCount:d,eventFoldedCount:e})},O$c=function(a){return waa(a.internalEvents,function(b){var c;return null!=(c=b.isMajorEvent)?c:!1})},L$c=function(a){return Fl(a)&&
!!a.unlinkifiedComment||Gl(a)||0<a.preDiffs.length||0<a.postDiffs.length},M$c=function(a){var b;return(null!=(b=a.isMajorEvent)?b:!1)&&(Fl(a)&&!!a.unlinkifiedComment||Gl(a)||0<a.preDiffs.length||0<a.postDiffs.length)},H$c=function(a){if(!(2>a.internalEvents.length)){if(a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate<=P$c(a,a.internalEvents).modifiedDate||!a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate>=P$c(a,a.internalEvents).modifiedDate)if(a.internalEvents.reverse(),a.enableCommentFiltering){var b;
I$c(a,a.internalEvents,null!=(b=a.currentFilterLevel)?b:"FULL_HISTORY");J$c(a)}a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()}},P$c=function(a,b){var c;return null!=(c=b.find(function(d){return a.internalEvents[0].modifiedDate!==d.modifiedDate}))?c:b[1]};S8.prototype.isLoading=function(){return this.formattedCommentsForIssueFridge.isThinking()||this.eventsForIssue.isThinking(this.internalIssueId)};S8.prototype.trackEventByVersion=function(a,b){return b.version};
var G$c=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,g,h;c=null!=(h=null==(g=a.foldedCommentsCounts.get(b))?void 0:g.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(cd(a.foldedCommentsCounts.entries())).sort(function(l,q){return l[0]-q[0]})),e=k(e.entries()),g=e.next();!g.done;g=e.next())if(h=
k(g.value),g=h.next().value,h=h.next().value,g>b){if(0===h.commentFoldedCount-(g-b))a.foldedCommentsCounts.set(g,{commentFoldedCount:h.commentFoldedCount-1,eventFoldedCount:h.eventFoldedCount-1});else{e=0;for(c=b;c<g;c++)(Fl(a.internalEvents[c])||Gl(a.internalEvents[c]))&&e++;a.foldedCommentsCounts.set(g,{commentFoldedCount:e,eventFoldedCount:g-b});a.foldedCommentsCounts.set(b-1,{commentFoldedCount:h.commentFoldedCount-e-1,eventFoldedCount:h.eventFoldedCount-(g-b)-1});a.foldedCommentsCounts.delete(b)}break}},
PBb=function(a){return"summarized"===a||"full"===a};sh.Object.defineProperties(S8.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(cd(b));b=Object.assign({},b[0],{attachments:[],commentNumber:null,formattedComment:void 0,taggedSummary:[],isMajorEvent:!1});a[0]=b}a&&!Eua(this.internalEvents,a)&&(this.internalEvents=a,this.events$.next(a))}}});
S8.\u0275fac=function(a){return new (a||S8)(B(nH),B(VJ),B(nG),B(QK),B(D8),B(PH),B(Dd),B(Bs),B(DI),B(EI))};
S8.\u0275cmp=Oc({type:S8,selectors:[["b-event-stream"]],inputs:{issueAccessLevel:"issueAccessLevel",showFullHistory:"showFullHistory",issueId:"issueId",events:"events"},features:[kf],decls:4,vars:4,consts:[["class","padded margined",4,"ngIf"],[1,"bv2-edit-issue-history-stream"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"padded","margined"],[4,"ngIf"],["class","bv2-event",4,"ngIf"],[1,"fold-indication"],["mat-stroked-button","","color","primary",1,"gmat-button",3,"click"],[1,"horizontal-divider"],[1,
"bv2-event"],[3,"issueId","issueAccessLevel","event","isSummarized"]],template:function(a,b){a&1&&(O(0,LBb,2,0,"aside",0),F(1,"div",1),O(2,QBb,3,2,"ng-container",2),H(),O(3,RBb,2,0,"aside",0));a&2&&(E("ngIf",b.isLoading()&&b.showRecentEventsFirst),z(2),E("ngForOf",b.internalEvents)("ngForTrackBy",b.trackEventByVersion),z(1),E("ngIf",b.isLoading()&&!b.showRecentEventsFirst))},dependencies:[Qw,Rw,R8,QA,WM],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 T8=function(a,b){this.message=a;this.snackbarRef=b;this.DEFAULT_MESSAGE="New data is available. Click to refresh."};T8.prototype.onDismiss=function(a){this.snackbarRef.dismiss();a.stopPropagation()};T8.\u0275fac=function(a){return new (a||T8)(B(Mac),B(PG))};
T8.\u0275cmp=Oc({type:T8,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&&(F(0,"div",0),L("click",function(){return lwa(b.snackbarRef)}),
I(1,"mat-icon",1),F(2,"p",2),P(3),H()(),F(4,"button",3),L("click",function(c){return b.onDismiss(c)}),I(5,"mat-icon",4),H());a&2&&(z(3),Lf(" ",b.message||b.DEFAULT_MESSAGE," "))},dependencies:[HB,QA],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 U8=function(a){this.snackbar=a},Q$c=function(a){var b=iN.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(T8,c);return a.currentSnackBar};U8.\u0275fac=function(a){return new (a||U8)(t(VG))};U8.\u0275prov=yc({token:U8,factory:U8.\u0275fac,providedIn:"root"});var V8=function(a,b,c,d,e,g,h,l,q,v,x){rF.call(this);var A=this;this.eventsForIssue=a;this.issueFetchResponseFridge=b;this.preferences=c;this.activeSession=d;this.commentHistoryDialogService=e;this.issueDetailsBrain=g;this.errorHandler=h;this.refreshDataNotification=l;this.eventsForIssueWatcher=q;this.analytics=v;this.appEvents=x;this.id$=new D.ReplaySubject(1);this.events$=this.id$.pipe($e(this.eventsForIssue.watch),C(function(G){var M;return null!=(M=null==G?void 0:G.events)?M:[]}));this.issue$=
this.id$.pipe($e(function(G){return NI(A.issueFetchResponseFridge,G)}));this.accessLevel$=this.issue$.pipe(C(function(G){var M,Q;return null==G?void 0:null==(M=G.issue)?void 0:null==(Q=M.accessLimit)?void 0:Q.accessLevel}));this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(C(function(G){return G&&pF(A.activeSession,"enableImageSummary")}),Ze(!0))};T(V8,rF);V8.\u0275dir=rF.\u0275dir;
V8.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=on(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(Ouc(this.eventsForIssueWatcher,on(this.id$)).subscribe(function(){R$c(a)}));this.subscriptions.add(this.events$.subscribe(function(){var b;
null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()}));this.destroyed$.pipe(Oe()).subscribe(function(){var b;null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()})};
var R$c=function(a){a.analytics.trackEvent(ao.PUSH_UPDATE,"display","comment");Q$c(a.refreshDataNotification)._afterDismissed.subscribe(function(b){b.dismissedByAction?(a.analytics.trackEvent(ao.PUSH_UPDATE,"fetchResource","comment"),OI(a.issueFetchResponseFridge,on(a.id$)),a.eventsForIssue.poke(on(a.id$)),a.appEvents.scrollToCommentBox.next()):a.analytics.trackEvent(ao.PUSH_UPDATE,"dismiss","comment")})};sh.Object.defineProperties(V8.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});
V8.\u0275fac=function(a){return new (a||V8)(B(nG),B(MI),B(VJ),B(Bs),B($Q),B(AK),B(aH),B(U8),B(YR),B(EI),B(eH))};
V8.\u0275cmp=Oc({type:V8,selectors:[["issue-event-list"]],inputs:{id:"id"},features:[kf],decls:6,vars:15,consts:[[3,"issueId","events","issueAccessLevel","showFullHistory"]],template:function(a,b){a&1&&(I(0,"b-event-stream",0),R(1,"async"),R(2,"async"),R(3,"async"),R(4,"async"),R(5,"async"));a&2&&(E("issueId",S(2,7,b.id$))("events",S(3,9,b.events$))("issueAccessLevel",S(4,11,b.accessLevel$))("showFullHistory",S(5,13,b.preferences.showFullHistory$)),of("data-will-inline-screenshots",S(1,5,b.enableInlineScreenshots$)?
!0:null))},dependencies:[S8,Xw],styles:["[_nghost-%COMP%]     .bv2-edit-issue-history-stream {\n      padding-left: 0;\n    }"]});var $Bb=function(a,b){return{empty:a,"never-focused":b}},W8=function(a,b,c,d,e,g,h,l,q){var v=this;this.issuePermissionService=a;this.userPreferencesManager=b;this.editIssueService=c;this.analytics=d;this.draftStore=e;this.activeSession=g;this.issueDetailsBrain=h;this.issueCommentDialogsService=l;this.appEvents=q;this.issueId$=new D.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Ne());this.issue$=this.distinctIssueId$.pipe($e(function(x){return v.editIssueService.editableIssue$(x)}));this.wasFocused=
!1;this.commentButtonStyle="fill";this.enableRecaptcha=pF(this.activeSession,"enableRecaptcha");this.recaptchaResponse$=new D.BehaviorSubject("");this.commentSubmitted=new kw;this.HOTKEYS=iN;this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.hasAclToComment$=this.issuePermissionService.hasAclToComment$;this.isCurrentUserCCd$=this.issuePermissionService.isCurrentUserCCd$;this.accessLevel$=this.issuePermissionService.accessLevel$;this.audience$=this.issuePermissionService.audience$;this.autoCcOnComment$=
this.userPreferencesManager.preferences$.pipe(C(function(x){return x.autoCcOnComment}));this.issueCommentDraft$=this.issueId$.pipe(C(function(x){return v.editIssueService.issueCommentDraft(x)}));this.judgementForNewContent$=this.issueCommentDraft$.pipe($e(function(x){return x.judgementForNewContent$}));this.comment$=this.issueCommentDraft$.pipe($e(function(x){return x.comment$}));this.events$=this.issueDetailsBrain.eventsJs$;this.savingState$=this.issueId$.pipe(C(function(x){return v.editIssueService.savingState(x)}));
this.isSaving$=this.savingState$.pipe($e(function(x){return Vn(x.propertiesBeingSaved,Dn("comment"))}));this.commentLimitReached$=this.events$.pipe(C(function(x){var A=v.activeSession.getCommentNumberLimit();return dva(x)>=A}));this.commentPlaceholderText$=this.commentLimitReached$.pipe(C(function(x){return x?"The comment limit has been reached and no additional comments are permitted.":v.activeSession.isAnonymous()?"Sign in to use full features.":v.issuePermissionService.hasAclToComment()?"Add a comment.":
"You do not have access to comment on this issue."}));this.commentBoxEnabled$=(0,D.combineLatest)([this.hasAclToComment$,this.commentLimitReached$,this.isSaving$]).pipe(C(function(x){var A=k(x);x=A.next().value;var G=A.next().value;A=A.next().value;return x&&!G&&!A}));this.showRecaptcha$=(0,D.combineLatest)([this.hasAclToComment$,this.commentLimitReached$]).pipe(C(function(x){var A=k(x);x=A.next().value;A=A.next().value;return x&&!A&&v.enableRecaptcha}));this.commentDraftUpdated$=new D.BehaviorSubject(!0);
this.commentButtonEnabled$=(0,D.combineLatest)([this.hasAclToComment$,this.comment$,this.isSaving$,this.recaptchaResponse$,this.commentDraftUpdated$]).pipe(C(function(x){var A=k(x);x=A.next().value;var G=A.next().value,M=A.next().value;A=A.next().value;return x&&Ygc(G)&&!M&&(!v.enableRecaptcha||""!==A)}));this.empty$=(0,D.combineLatest)([this.comment$,this.commentDraftUpdated$]).pipe(C(function(x){var A,G;return null!=(G=null==(A=k(x).next().value)?void 0:A.value)?G:""}),C(function(x){return 0===
x.length}))},TBb=function(a){var b;return pe(function(c){b=!WJ(a.userPreferencesManager).autoCcOnComment;a.analytics.trackEvent(ao.EDIT_ISSUE,"toggleAutoCcOnComment",String(b));return c.yield((0,D.firstValueFrom)(a.userPreferencesManager.save({autoCcOnComment:b})),0)})};
W8.prototype.saveCommentDraft=function(){var a=this,b;return pe(function(c){if(1==c.nextAddress)return c.yield((0,D.firstValueFrom)(a.comment$),2);b=c.yieldResult;a.draftStore.setDraft(a.internalIssueId,b.value);a.commentDraftUpdated$.next(!0);ue(c)})};
W8.prototype.submitCommentBox=function(){var a=this,b;return pe(function(c){if(1==c.nextAddress)return b=a.enableRecaptcha?a.recaptchaResponse$.getValue():void 0,c.yield(a.issueCommentDialogsService.submitCommentBox(a.internalIssueId,b),2);a.commentSubmitted.emit();a.appEvents.recaptchaSubmitted.next();ue(c)})};W8.prototype.showNewContentJudgementDialog=function(){var a=this;return pe(function(b){return b.yield(a.issueCommentDialogsService.showNewContentJudgementDialog(a.internalIssueId),0)})};
W8.prototype.isPlusOneCalloutEnabled=function(){return this.activeSession.isInternalSession()&&pF(this.activeSession,"enableReducePlusOneComments")&&!on(this.issueDetailsBrain.voted$)};sh.Object.defineProperties(W8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a);this.internalIssueId=a},get:function(){return this.internalIssueId}}});W8.\u0275fac=function(a){return new (a||W8)(B(CK),B(VJ),B(QK),B(EI),B(NJ),B(Bs),B(AK),B(fT),B(eH))};
W8.\u0275cmp=Oc({type:W8,selectors:[["b-post-comment"]],inputs:{issueId:"issueId"},outputs:{commentSubmitted:"commentSubmitted"},decls:2,vars:3,consts:[[4,"ngIf"],[1,"a11y-only"],[1,"bv2-edit-issue-add-comment",3,"ngClass"],["id","AddCommentBox",3,"hotkey","supportsPreview","issueId","comment","componentId","placeholder","judgementForNewContent","audience","disabled","isPlusOneCalloutEnabled","onHotkey","onChange","onFocusEvent","onSubmit","onRestrict","onPlusOneTextEntered"],["commentBox",""],["recaptchaContainer",
"",4,"ngIf"],["additionalToolbarItems","",1,"goog-inline-block"],[3,"format","disabled","onAction","click"],[1,"goog-inline-block"],["class","goog-inline-block vertical-centered",4,"ngIf"],[3,"initialValue","change",4,"ngIf"],[3,"accessLevel"],["recaptchaContainer",""],[3,"onUpdate"],[3,"checked","disabled","change"],[1,"goog-inline-block","vertical-centered"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",3,"checked","disabled",4,"ngIf"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",
3,"checked","disabled"],[3,"initialValue","change"]],template:function(a,b){a&1&&(O(0,bCb,2,1,"ng-container",0),R(1,"async"));a&2&&E("ngIf",S(1,1,b.issue$))},dependencies:[vQ,o_,vP,Pw,Rw,MP,hN,$O,cT,Xw],styles:["[_nghost-%COMP%]{display:block;margin-bottom:8px}[_nghost-%COMP%]     .bv2-edit-issue-add-comment{padding-left:0;padding-right:0}textarea[_ngcontent-%COMP%]{display:block;margin:0;margin-bottom:8px;max-height:40vh;min-height:130px;resize:none;width:100%}button[_ngcontent-%COMP%], mat-checkbox[_ngcontent-%COMP%]{margin-right:8px}.recent-first   [_nghost-%COMP%]     .empty.never-focused textarea{min-height:32px;height:32px !important}.recent-first   [_nghost-%COMP%]     .empty.never-focused textarea:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.recent-first   [_nghost-%COMP%]     .empty.never-focused b-live-preview{display:none}/*# sourceMappingURL=post_comment.css.map */"]});var S$c=[[["","mainSegment",""]],[["","dropdownSegment",""]]],X8=function(){this.mainSegment=!0};X8.\u0275fac=function(a){return new (a||X8)};X8.\u0275dir=Sc({type:X8,selectors:[["button","mainSegment",""]],hostVars:2,hostBindings:function(a,b){a&2&&xf("main-segment",b.mainSegment)}});var Y8=function(){this.dropdownAriaLabel=this.dropdownTooltip="";this.disabled=!1;this.dialogClosed=new kw;this.dialogOpened=new kw};Y8.prototype.ngAfterContentInit=function(){};
Y8.prototype.ngOnChanges=function(a){a.dropdownTooltip&&!this.dropdownAriaLabel&&(this.dropdownAriaLabel=this.dropdownTooltip)};sh.Object.defineProperties(Y8.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){var a,b;return null!=(b=null==(a=this.trigger)?void 0:a.isOpen)?b:!1}}});Y8.\u0275fac=function(a){return new (a||Y8)};
Y8.\u0275cmp=Oc({type:Y8,selectors:[["split-button"]],contentQueries:function(a,b,c){a&1&&cg(c,X8,5);if(a&2){var d;ag(d=dg())&&(b.mainSegment=d.first)}},viewQuery:function(a,b){a&1&&bg(mN,5);if(a&2){var c;ag(c=dg())&&(b.trigger=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&xf("expanded",b.expanded)},inputs:{dropdownTooltip:"dropdownTooltip",dropdownAriaLabel:"dropdownAriaLabel",disabled:"disabled"},outputs:{dialogClosed:"dialogClosed",dialogOpened:"dialogOpened"},exportAs:["splitButton"],
features:[gd],ngContentSelectors:["[mainSegment]","[dropdownSegment]"],decls:8,vars:4,consts:[["mat-icon-button","","onedevPopupPanelTrigger","",1,"dropdown-button",3,"onedevPopupPanelTriggerFor","matTooltip","disabled","click","onedevPopupPanelTriggerOpened","onedevPopupPanelTriggerClosed"],["trigger","onedevPopupPanelTrigger"],["svgIcon","arrow-dropdown"],["role","region"],["contentPanel","onedevPopupPanel"],[1,"dropdown-container"]],template:function(a,b){a&1&&(Ff(S$c),Gf(0),F(1,"button",0,1),
L("click",function(){var d,e;if(null!=(e=null==(d=b.trigger)?void 0:d.isOpen)&&e){var g;null==(g=b.trigger)||g.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),H(),F(4,"onedev-popup-panel",3,4)(6,"div",5),Gf(7,1),H()());if(a&2){var c=Kf(5);z(1);E("onedevPopupPanelTriggerFor",c)("matTooltip",b.dropdownTooltip)("disabled",b.disabled);
of("aria-label",b.dropdownAriaLabel)}},dependencies:[HB,QA,lD,lN,mN],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 jCb=function(a){return{voteCount:a}},Z8={},T$c=(Z8.REJECTION_REASON_UNSPECIFIED="Unspecified",Z8.REVERSED="The relationship is reversed",Z8.SIMILAR="The issues are similar, but not duplicate",Z8.NOT_SIMILAR="The issues are not similar",Z8.OTHER="Other",Z8),U$c=new Set(["VERY_HIGH","HIGH"]),$8=function(a,b,c,d,e,g,h,l,q,v){rF.call(this);var x=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.paths=c;this.recommendationsService=d;this.errorHandler=e;this.editIssueService=g;this.analytics=
h;this.scrolledOnScreenService=l;this.elementRef=q;this.issueRecommendationsFridge=v;this.STATUS_FULL_TEXT=dG;this.STATUS_TERSE=$F;this.REJECT_REASON_TO_DISPLAY=T$c;this.currentIssueId$=new D.ReplaySubject(1);this.currentIssue$=this.currentIssueId$.pipe($e(function(A){return x.issueFridge.watch(A)}));this.isAlreadyADuplicate$=this.currentIssue$.pipe(C(function(A){return"DUPLICATE"===(null==A?void 0:A.snapshot[0].status)}));this.recommendation$=this.currentIssueId$.pipe($e(function(A){return x.issueRecommendationsFridge.watch(A+
"-ISSUE_DEDUPLICATION",void 0)}),C(function(A){return null==A?void 0:A.recommendations.filter(function(G){return U$c.has(G.confidence)})}),C(function(A){return null==A?void 0:A[0]}));this.canonicalIssue$=this.recommendation$.pipe(C(function(A){var G;return null==A?void 0:null==(G=A.content)?void 0:G.recommendedIssue}));this.canonicalIssueId$=this.canonicalIssue$.pipe(C(function(A){return null==A?void 0:A.issueId}));this.canonicalComponentId$=this.canonicalIssue$.pipe(C(function(A){var G;return null!=
(G=null==A?void 0:A.snapshot[0].componentId)?G:void 0}));this.canonicalAccessLevel$=this.canonicalIssue$.pipe(C(function(A){var G;return null==A?void 0:null==(G=A.accessLimit)?void 0:G.accessLevel}));this.isCanonicalInExternalComponent$=this.canonicalAccessLevel$.pipe(C(function(A){return!(!A||"INTERNAL"===A)}));this.canonicalTitle$=this.canonicalIssue$.pipe(C(function(A){return null==A?void 0:A.snapshot[0].title}));this.canonicalPriority$=this.canonicalIssue$.pipe(C(function(A){return null==A?void 0:
A.snapshot[0].priority}));this.canonicalVoteCount$=this.canonicalIssue$.pipe(C(function(A){var G;return null==A?void 0:null==(G=A.aggregatedData)?void 0:G.voteCount}));this.canonicalCreateMicros$=this.canonicalIssue$.pipe(C(function(A){var G;return null==A?void 0:null==(G=A.aggregatedData)?void 0:G.createdTimeMicros}));this.canonicalDuplicates$=this.canonicalIssue$.pipe(C(function(A){var G;return null!=(G=null==A?void 0:A.snapshot[0].duplicateIssueId)?G:[]}));this.statusForChip$=this.canonicalIssue$.pipe(C(function(A){return null==
A?void 0:A.snapshot[0].status}),C(function(A){return tj[A]}));this.canonicalEvents$=this.canonicalIssueId$.pipe($e(function(A){return x.eventsForIssueFridge.watch(A)}),C(function(A){var G;return null!=(G=null==A?void 0:A.events)?G:[]}));this.canonicalDescription$=this.canonicalEvents$.pipe(C(function(A){return A[0]}),C(function(A){var G;return{formattedComment:null==A?void 0:A.formattedComment,commentNumber:1,unlinkifiedComment:(null==A?void 0:A.unlinkifiedComment)||"",formattingMode:null!=(G=null==
A?void 0:A.formattingMode)?G:"UNSPECIFIED_FORMATTING_MODE"}}));this.canonicalComments$=this.canonicalEvents$.pipe(C(function(A){return A.filter(Fl)}));this.wasRejected$=new D.BehaviorSubject(!1);this.show$=(0,D.combineLatest)([this.isAlreadyADuplicate$,this.canonicalIssue$,this.wasRejected$]).pipe(C(function(A){var G=k(A);A=G.next().value;var M=G.next().value;G=G.next().value;return!A&&!!M&&!G}));this.isSaving=!1;this.REJECT_REASONS=["NOT_SIMILAR","SIMILAR","REVERSED","OTHER"]};T($8,rF);
$8.\u0275dir=rF.\u0275dir;$8.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.canonicalIssue$.subscribe(function(b){a.issueFridge.announce(b)}));this.subscriptions.add((0,D.combineLatest)([this.show$.pipe(Ge(Boolean)),boc(this.scrolledOnScreenService,this.elementRef.nativeElement)]).pipe(Oe()).subscribe(function(){a.analytics.trackEvent(ao.EDIT_ISSUE,"view","canonical-recommendation");V$c(a,"VIEWED")}))};
$8.prototype.accept=function(){var a=this,b,c;return pe(function(d){switch(d.nextAddress){case 1:return a.isSaving=!0,b=on(a.canonicalIssueId$),qe(d,2,3),d.yield(Jhc(a.editIssueService,a.currentIssueId,b),5);case 5:return a.analytics.trackEvent(ao.EDIT_ISSUE,"accept","canonical-recommendation"),d.yield(V$c(a,"ACCEPTED"),3);case 3:re(d);a.isSaving=!1;se(d,0);break;case 2:c=te(d),cH(a.errorHandler,c),d.jumpTo(3)}})};
$8.prototype.reject=function(a){var b=this;return pe(function(c){b.wasRejected$.next(!0);b.analytics.trackEvent(ao.EDIT_ISSUE,"reject","canonical-recommendation");return c.yield(V$c(b,"REJECTED",a),0)})};
var V$c=function(a,b,c){var d,e;return pe(function(g){if(1==g.nextAddress){qe(g,2);d=on(a.recommendation$).name;var h=g.yield,l=D.firstValueFrom;var q=a.recommendationsService;var v=[{parent:d,userEngagement:{type:b,rejectionReason:c}}];v=(new tN).setRequestsList(v.map(ZFa));q=q.executor.post({url:"action/recommendations/engagements/batch",body:v,responseConstructor:null});return h.call(g,l.call(D,q),4)}if(2!=g.nextAddress)return Hs(g,0);e=te(g);cH(a.errorHandler,e);ue(g)})};
$8.prototype.getIssueLink=function(a){return this.paths.editIssue(a)};sh.Object.defineProperties($8.prototype,{currentIssueId:{configurable:!0,enumerable:!0,set:function(a){this.currentIssueId$.next(a)},get:function(){return on(this.currentIssueId$)}}});$8.\u0275fac=function(a){return new (a||$8)(B(JI),B(nG),B(QH),B(vN),B(aH),B(QK),B(EI),B(CP),B(Dd),B(wN))};
$8.\u0275cmp=Oc({type:$8,selectors:[["canonical-recommendation"]],inputs:{currentIssueId:"currentIssueId"},features:[kf],decls:8,vars:3,consts:[[1,"heading","flex-kids-x","gap-xxs","align-items-center","padded-x","padded-s-y"],["svgIcon","merge_type_24px",1,"rotate-180","green"],["mat-icon-button","","href","http://go/b-duplicate-assistance-docs","target","_blank","title","Learn more","aria-label","Learn more",1,"small","align-item-right"],["svgIcon","info",1,"icon-s"],["class","flex-kids-y gap-s",
4,"ngIf"],[1,"flex-kids-y","gap-s"],[1,"flex-kids-y","gap-s","padded-x"],["target","_blank",1,"title","hover-link","flex-kids-x","align-items-center","gap-xs",3,"href"],[1,"overflow-ellipsis"],["svgIcon","pop-out",1,"icon-s","shrink-0"],[3,"issueId","issueAccessLevel","formattingMode","note",4,"ngIf"],[1,"info","flex-kids-x","gap-s","align-items-center"],[1,"muted",3,"issueId","enableHotkeys","componentId","issueTitle","isExternalIssue"],[3,"issuePriority"],[3,"class","title",4,"ngIf"],[4,"ngIf"],
[1,"actions","flex-kids-x","gap-s","align-items-center","padded-x","padded-s-bottom"],["mat-button","",1,"accept","keep-focus-ring",3,"disabled","click"],["svgIcon","done",1,"icon-s"],["dropdownTooltip","Specify reject reason",1,"reject",3,"disabled"],["splitButton",""],["mat-button","","mainSegment","",3,"disabled","click"],["svgIcon","close",1,"icon-s"],["dropdownSegment",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],[3,"issueId","issueAccessLevel","formattingMode","note"],[3,"title"],
[1,"divider"],[1,"muted","nowrap"],[1,"votes","flex-kids-x","align-items-center","gap-xs",3,"matTooltip"],[1,"muted"],["svgIcon","exposure_plus_1_24px",1,"icon-s"],[1,"flex-kids-x","align-items-center","gap-xs",3,"matTooltip"],["svgIcon","mode_comment_24px",1,"icon-s","muted"],["matTooltip","Created on","mode","date",1,"muted","nowrap",3,"timestamp"],["mat-menu-item","",3,"click"]],template:function(a,b){a&1&&(F(0,"div",0),I(1,"mat-icon",1),F(2,"span"),P(3,"Close as duplicate of:"),H(),F(4,"a",2),
I(5,"mat-icon",3),H()(),O(6,kCb,37,42,"div",4),R(7,"async"));a&2&&(z(6),E("ngIf",S(7,1,b.canonicalIssueId$)))},dependencies:[wP,Qw,Rw,HB,FL,pN,wJ,QA,RA,bD,lD,Y8,X8,Xw],styles:["[_nghost-%COMP%]{display:block;position:relative;border:none;box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 2px 6px 2px rgba(0,0,0,.15)}.heading[_ngcontent-%COMP%], .title[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-weight:500;font-size:1rem;line-height:1.5rem}.green[_ngcontent-%COMP%], .heading[_ngcontent-%COMP%]{background-color:#edfbf1;background-color:var(--green-bg);color:#137333;color:var(--green-text)}.hover-link[_ngcontent-%COMP%]{color:#202124;color:var(--text-default)}.hover-link[_ngcontent-%COMP%]:focus, .hover-link[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link);text-decoration:underline}.divider[_ngcontent-%COMP%]{height:18px;border-left:1px solid;border-left-color:#dadce0;border-left-color:var(--divider)}.votes[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-2px;color:#1a73e8;color:var(--text-primary)}.actions[_ngcontent-%COMP%]   .accept[_ngcontent-%COMP%], .actions[_ngcontent-%COMP%]   .reject[_ngcontent-%COMP%]{border-radius:13px}.actions[_ngcontent-%COMP%]   .accept[_ngcontent-%COMP%]{padding-right:12px;padding-left:8px;border:1px solid;border-color:#137333;border-color:var(--green-text);color:#137333;color:var(--green-text)}.actions[_ngcontent-%COMP%]   .reject[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--hairline);color:#5f6368;color:var(--text-muted)}.align-item-right[_ngcontent-%COMP%]{margin-left:auto}[_nghost-%COMP%]     .bv2-note-container{max-height:54px;margin:0;overflow:auto}[_nghost-%COMP%]     b-issue-id-picker{border:1px solid;border-color:#dadce0;border-color:var(--divider)}[_nghost-%COMP%]     b-issue-id-picker button.square-left{border:none}[_nghost-%COMP%]     .actions button{height:26px;line-height:unset}[_nghost-%COMP%]     .actions button .mat-button-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}[_nghost-%COMP%]     .actions button .mat-button-wrapper mat-icon{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}\n/*# sourceMappingURL=canonical_recommendation.css.map */"]});var a9=function(a,b,c,d,e,g,h,l,q,v,x,A){rF.call(this);var G=this;this.brain=a;this.preferences=b;this.scrollTiming=c;this.analytics=d;this.element=e;this.editIssueService=g;this.appEvents=h;this.routePerformance=l;this.clearcut=q;this.activeSession=v;this.issuePermissionService=x;this.llmService=A;this.id$=this.brain.id$;this.issueAndEvents$=(0,D.combineLatest)([this.brain.issueJs$.pipe(Ge(Boolean)),this.brain.eventsJs$]);this.enableSummarySection=pF(this.activeSession,"enableSummarySection");this.enableIDPCanonicalRecommendation=
pF(this.activeSession,"enableIDPCanonicalRecommendation");this.enableLamdaDemo=pF(this.activeSession,"enableLamdaDemo");this.showRecentEventsFirst=!1;this.comment$=this.id$.pipe(Ge(Ai),$e(function(M){return G.editIssueService.issueCommentDraft(M).comment$}));this.finishedRendering$=(0,D.combineLatest)([this.brain.eventsJs$.pipe(Me(0)),u8a("#AddCommentBox textarea",this.element.nativeElement)]).pipe(Oe());this.userRequestedSummary=!1;this.commentThreadSummary$=this.id$.pipe(Ge(Ai),$e(function(M){return G.llmService.summarizeCommentThread(M)}),
Xe({bufferSize:1,refCount:!0}))};T(a9,rF);a9.\u0275dir=rF.\u0275dir;
a9.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Ge(Ai),af(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.destroyed$.subscribe(function(){W$c(a)});u8a("#comment1 .critical-feature",this.element.nativeElement).pipe(af(this.destroyed$)).subscribe(function(){var b=function(){kSc(a.routePerformance,"issue-details-w-comments")};requestAnimationFrame(b);setTimeout(b)});this.subscriptions.add(this.issueAndEvents$.pipe(Re()).subscribe(function(b){var c=k(b);
b=c.next().value;c=c.next().value;X$c(a,b,c)}));this.subscriptions.add(this.finishedRendering$.pipe(cf(this.comment$)).subscribe(function(b){b=k(b);b.next();b.next().value.hasContent()&&a.appEvents.scrollToCommentBox.next()}))};
var X$c=function(a,b,c){var d=b.issue,e=c.map(function(g){return g.unlinkifiedComment});b=nva(d,c).length;d=ova(d,c);e=e.filter(Boolean).length;b=5<=b||10<=e||10<=d?"collab":"other";uI(a.clearcut,"view_idp_"+b);Zm("dimension10",b);c=c.some(function(g){var h,l,q;return 0<(null!=(q=null==(h=g.commentReactions)?void 0:null==(l=h.get("UPVOTE"))?void 0:l.count)?q:0)});a.analytics.trackEvent(ao.EDIT_ISSUE,"view",c?"hasUpvoteReaction":"noUpvoteReaction")};a9.prototype.unloadPageHandler=function(){W$c(this)};
var W$c=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,g=1;g<b.length;g++)2E3>b[g]-d||(e+=d-c,c=b[g]),d=b[g],g===b.length-1&&(e+=b[g]-c);a.analytics.trackEvent(ao.EDIT_ISSUE,"scroll","commentThread",e);tI(a.clearcut,e,"idp-time-scrolling-comments-recentFirst-"+a.showRecentEventsFirst)}};
a9.\u0275fac=function(a){return new (a||a9)(B(AK),B(VJ),B(oY),B(EI),B(Dd),B(QK),B(eH),B(L2),B(sI),B(Bs),B(CK),B(XW))};
a9.\u0275cmp=Oc({type:a9,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&L("unload",function(){return b.unloadPageHandler()},!1,Gd)},features:[kf],decls:7,vars:10,consts:[["id","bv2-edit-issue-details-scroll","tabindex","-1",3,"bFocus"],[4,"ngIf"],["class","carded margined-s bg-main",3,"issueId","hidden",4,"ngIf"],["class","carded margined-s bg-main",3,"recent-first",4,"ngIf"],[1,"margin-s-sides","margin-s-top","padded-left",3,"id"],["class","rounded margined-s",3,"hidden","currentIssueId",
4,"ngIf"],[3,"issueId"],["class","summary carded margin-s-sides margin-s-bottom flex-kids-x padded-sides",4,"ngIf"],[1,"carded","margin-s-sides","margin-s-bottom","bg-main","highlighted-left",3,"id"],[1,"rounded","margined-s",3,"currentIssueId"],["canonicalRecommendation",""],[1,"summary","carded","margin-s-sides","margin-s-bottom","flex-kids-x","padded-sides"],["svgIcon","chat_spark_24px","color","primary",1,"margin-s-right","shrink-0"],[1,"flex-kids-y","gap-s"],[1,"uppercase"],["mat-flat-button",
"","color","primary","class","gmat-button small",3,"click",4,"ngIf"],["summaryLoading",""],["mat-flat-button","","color","primary",1,"gmat-button","small",3,"click"],[4,"ngIf","ngIfElse"],[1,"white-space-pre-wrap"],[1,"flex-kids-x","gap-s"],["mat-stroked-button","","color","primary",1,"gmat-button","small"],[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&&(F(0,"div",0),O(1,rCb,7,7,"ng-container",
1),R(2,"async"),O(3,sCb,3,5,"issue-summary-card",2),R(4,"async"),O(5,vCb,5,5,"div",3),R(6,"async"),H());a&2&&(E("bFocus",!0),z(1),E("ngIf",S(2,4,b.id$)),z(2),E("ngIf",b.enableSummarySection&&S(4,6,b.id$)),z(2),E("ngIf",S(6,8,b.id$)))},dependencies:[Rw,HB,QA,$8,L8,hV,BU,lT,V8,AT,W8,dV,WM,Xw],styles:["issue-summary-card[_ngcontent-%COMP%]{padding:8px}.summary[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}"]});var b9=function(){};b9.\u0275fac=function(a){return new (a||b9)};b9.\u0275mod=Qc({type:b9});b9.\u0275inj=zc({imports:[OG,ED,vB,IP]});var c9=function(){};c9.\u0275fac=function(a){return new (a||c9)};c9.\u0275mod=Qc({type:c9});c9.\u0275inj=zc({imports:[OG]});var d9=function(){};d9.\u0275fac=function(a){return new (a||d9)};d9.\u0275mod=Qc({type:d9});d9.\u0275inj=zc({imports:[OG,gO,$P,fO,YP,ZY,JP]});var e9=function(){};e9.\u0275fac=function(a){return new (a||e9)};e9.\u0275mod=Qc({type:e9});e9.\u0275inj=zc({imports:[OG,JP]});var f9=function(){};f9.\u0275fac=function(a){return new (a||f9)};f9.\u0275mod=Qc({type:f9});f9.\u0275inj=zc({imports:[kT,pU,JP,OG,fO,gO,d9,xP,oU,xO,YP,fE,e9,ED,c9]});var g9=function(){};g9.\u0275fac=function(a){return new (a||g9)};g9.\u0275mod=Qc({type:g9});g9.\u0275inj=zc({imports:[OG,f9,d9,ED,CO]});var h9=function(){};h9.\u0275fac=function(a){return new (a||h9)};h9.\u0275mod=Qc({type:h9});h9.\u0275inj=zc({imports:[OG,ED,UG]});var i9=function(){};i9.\u0275fac=function(a){return new (a||i9)};i9.\u0275mod=Qc({type:i9});i9.\u0275inj=zc({imports:[JP,OG,g9,qU,rO,HU,ED,fE,CO,EU,h9,YP,UG]});var j9=function(){};j9.\u0275fac=function(a){return new (a||j9)};j9.\u0275mod=Qc({type:j9});j9.\u0275inj=zc({imports:[FT,G_,JP,OG,RP,Px,jN,ED,EP,H_]});var k9=function(){};k9.\u0275fac=function(a){return new (a||k9)};k9.\u0275mod=Qc({type:k9});k9.\u0275inj=zc({imports:[OG,ED,fE,nN]});var l9=function(){};l9.\u0275fac=function(a){return new (a||l9)};l9.\u0275mod=Qc({type:l9});l9.\u0275inj=zc({imports:[JP,OG,fO,rO,qO,ED,eD,fE,k9]});var m9=function(){};m9.\u0275fac=function(a){return new (a||m9)};m9.\u0275mod=Qc({type:m9});m9.\u0275inj=zc({imports:[OG,dz,Ny,Px,ED,VN,Qx,OH,l9,b9,iV,MU,qU,i9,TU,QU,j9,DP,eV,YP,CO]});var Y$c=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($e(this.issueFridge.watch),Ge(Ai));this.commentNumberToEventMap$=this.issue$.pipe(C(function(g){return g.issueId}),$e(function(g){return e.eventsForIssueFridge.watch(g)}),C(function(g){var h;return null!=(h=null==g?void 0:g.events)?h:[]}),C(function(g){return new Map(g.filter(function(h){return!!h.commentNumber}).map(function(h){return[h.commentNumber,
h]}))}));this.relatedLinks$=(0,D.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(C(function(g){g=k(g);var h=g.next().value,l=g.next().value,q;return(null==(q=h.relatedLinks)?void 0:q.map(function(v){return Object.assign({},v,{comment:l.get(v.sourceCommentNumber)})}))||[]}));this.issueReferences$=this.relatedLinks$.pipe(C(function(g){return g.filter(Kva)}));this.imageLinks$=this.relatedLinks$.pipe(C(function(g){return g.filter(Gva)}));this.otherLinks$=this.relatedLinks$.pipe(C(function(g){return g.filter(Lva)}))};
Y$c.\u0275fac=function(a){return new (a||Y$c)(B(Bs),B(JI),B(AK),B(nG))};
Y$c.\u0275cmp=Oc({type:Y$c,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&&(F(0,"section",0),O(1,DCb,7,9,"ng-container",1),R(2,"async"),H());a&2&&(z(1),E("ngIf",S(2,1,b.issue$)))},dependencies:[Rw,
HB,rT,oT,tT,Xw],styles:["[_nghost-%COMP%]{display:block;padding:8px}h4[_ngcontent-%COMP%]{margin:16px 0}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var n9=function(){};n9.\u0275fac=function(a){return new (a||n9)};n9.\u0275mod=Qc({type:n9});n9.\u0275inj=zc({imports:[OG,QU,OU,RU]});var o9=function(a,b){var c=this;this.brain=a;this.codeMentions=b;this.ROBOT_SLEEPING=gkc;this.id$=this.brain.id$.pipe(Ge(Ai));this.codeMentionsState$=this.id$.pipe($e(function(d){return Y9c(c.codeMentions,d)}))};o9.prototype.displayPackageNames=function(a){return this.codeMentions.displayPackageNames(a)};o9.prototype.trackSqueegeeClick=function(){this.codeMentions.trackSqueegeeClick()};o9.\u0275fac=function(a){return new (a||o9)(B(AK),B(g8))};
o9.\u0275cmp=Oc({type:o9,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&&(F(0,"section",0),O(1,JCb,3,3,"ng-container",1),R(2,"async"),H());a&2&&(z(1),E("ngIf",S(2,1,b.id$)))},dependencies:[Qw,Rw,D7c,Xw],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 p9=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()};p9.prototype.ngOnInit=function(){this.pageTitle.setTitle("All of my hotlists");this.fetchUserHotlists()};
p9.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)})};p9.\u0275fac=function(a){return new (a||p9)(B(AI,2),B(wW),B(lI),B(QH),B(aH))};
p9.\u0275cmp=Oc({type:p9,selectors:[["list-hotlists-page"]],features:[Of([AI])],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&&(F(0,"h2",0),P(1,"Browse Hotlists"),H(),F(2,"div",1)(3,"a",2),P(4," Create Hotlist "),H()(),F(5,"div",3),O(6,KCb,1,1,"b-spinner",4),O(7,LCb,1,1,"b-hotlist-grid",5),H());
a&2&&(z(3),E("href",b.createHotlistPath,Ud),z(3),E("ngIf",b.isLoading),z(1),E("ngIf",!b.isLoading))},dependencies:[Rw,p1,WM,RA],encapsulation:2});var Z$c=new Set(["issueId","modifiedTime","createdTime"]),q9=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da,Oa,Ta,Wa,Nb,Eb){rF.call(this);var cb=this;this.cdr=a;this.routerEvents=b;this.window=c;this.bLocation=d;this.$log=e;this.issueApi=g;this.userApi=h;this.hotlistApi=l;this.activeSession=q;this.butterBar=v;this.analytics=x;this.appSearchState=A;this.issuePagination=G;this.userPreferencesManager=M;this.urlPreferences=Q;this.gridPreferencesFetcher=Y;this.paths=W;this.timeout=ia;this.errorHandler=
ja;this.statusMessages=Aa;this.domSafe=Da;this.appEvents=Oa;this.hotlistFridge=Ta;this.issueFridge=Wa;this.batchIssueRelationshipsService=Nb;this.componentFridge=Eb;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=[];this.BASE_HOTKEYS=
[{keys:["j"],displayAs:"j",description:"Move to the next issue",onPress:function(){var sa;null==(sa=cb.resultsGrid)||rcb(sa)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue",onPress:function(){var sa;null==(sa=cb.resultsGrid)||scb(sa)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var sa;null==(sa=cb.resultsGrid)||WPc(sa)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var sa;null==(sa=cb.resultsGrid)||
ZPc(sa)}},{keys:[Nn("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var sa;null==(sa=cb.resultsGrid)||$Pc(sa,!0)}},{keys:[Nn("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var sa;null==(sa=cb.resultsGrid)||$Pc(sa,!1)}},{keys:[On("*","a")],displayAs:"* then a",description:"Select all issues on this page",onPress:function(){var sa;null==(sa=cb.resultsGrid)||sa.selectAll()}},{keys:[On("*","n")],displayAs:"* then n",description:"Deselect all issues on this page",
onPress:function(){var sa;null==(sa=cb.resultsGrid)||UPc(sa)}},{keys:["a"],displayAs:"a",description:"Change assignee",onPress:function(){var sa;null==(sa=cb.gridControls)||z_(sa,null,0)}},{keys:["d"],displayAs:"d",description:"Mark as duplicate",onPress:function(){var sa;null==(sa=cb.gridControls)||z_(sa,Bl.DUPLICATE,3)}},{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var sa;if(null!=(sa=cb.gridControls)&&sa.hasSelectedIssues()){var Ka;null==(Ka=sa.hotlistPicker)||Ka.open()}}},
{keys:["r"],displayAs:"r",description:"Add comment",onPress:function(){var sa;null==(sa=cb.gridControls)||sNc(sa)}},{keys:["u",Nn("r")],displayAs:"u / Shift+r",description:"Refresh search results",onPress:function(){return cb.refreshResults()}},{keys:[On("p","0"),On("p","1"),On("p","2"),On("p","3"),On("p","4")],displayAs:"p <n>",description:"Mark selected issues as priority n",onPress:function(sa){cb.resultsGrid&&cb.sendBulkEditRequest([{actions:[{fieldName:"priority",value:"P"+sa}],issueIds:cb.resultsGrid.getSelectedIssues().map(function(Ka){return Ka.issueId})}])}},
{keys:["o","ENTER",AFa("ENTER")],displayAs:"o / Enter",description:"Open the current issue",onPress:function(sa){var Ka=c.document.activeElement;if(1===sa&&"A"===Ka.tagName)if(Ka.href)sa=cb.paths.getBaseUrl(),di(Ka.href,sa)?cb.bLocation.url(Ka.href.slice(sa.length)):cb.domSafe.openInNewTab(Ka.href);else{var Qa;null==(Qa=cb.resultsGrid)||XPc(Qa)}else if(2===sa){var fb;null==(fb=cb.resultsGrid)||XPc(fb,{openInNewTab:!0})}else{var $a;null==($a=cb.resultsGrid)||XPc($a)}}}]};T(q9,rF);
q9.prototype.ngOnInit=function(){var a=this;$$c(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(af(this.destroyed$)).subscribe(function(){$$c(a)})};
var aad=function(a){var b=["priority","type","title","assignee","status"];a.activeSession.isInternalSession()&&b.push("minSlo");b.push("issueId","modifiedTime");return b.map(Kk)};
q9.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];Xh(d,c)||(d&&ra(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var $$c=function(a){return bad(a).then(function(){return a.getIssues()}).then(function(){return a.searchResults?(cad(a,a.searchResults.issues),dad(a,a.searchResults.startIndex,a.searchResults.endIndex)):Promise.resolve()}).finally(function(){a.cdr.detectChanges()})},cad=function(a,b){var c;null==(c=a.issueSubscriptions)||c.unsubscribe();a.issueSubscriptions=new D.Subscription;b=k(b);for(c=b.next();!c.done;c=b.next())a.issueSubscriptions.add(a.issueFridge.watch(c.value.id).pipe(Ge(Ai),af(a.destroyed$)).subscribe(function(d){var e;
return pe(function(g){if(1==g.nextAddress)return a.searchResults?g.yield((0,D.firstValueFrom)(a.componentFridge.watch(d.snapshot[0].componentId,{trustUncertainMemory:!0})),3):g.jumpTo(2);if(2!=g.nextAddress){e=g.yieldResult;if(!e)return g.return();aHc(a.searchResults,[{issue:d,component:e}]);a.searchResults=a.searchResults.clone()}a.cdr.detectChanges();ue(g)})}))},ead=function(a){return null!=a.window.document.activeElement&&a.window.document.activeElement!==a.window.document.body},fad=function(a){var b,
c;return null!=(c=null==(b=a.window.document.activeElement)?void 0:b.classList.contains("search-box"))?c:!1},bad=function(a){var b=Yl();ead(a)&&fad(a)&&a.window.document.activeElement.blur();a.timeout.schedule(function(){b.resolve()});return b.promise},dad=function(a,b,c){var d=Yl();ead(a)||gad(a,b,c);a.timeout.schedule(function(){d.resolve()});return d.promise},had=function(a,b){var c=a.activeSession.getMaxAccurateSearchResults();b.numResults>c&&!b.isPreSort&&(b=Bn("Number of search results exceeds "+
c+" ; some matching issues may be omitted.",An("BR"),"Please try to restrict your search further or change the sort column to either CREATED or LAST MODIFIED. "),c={},c=An("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=Bn(An("BR"),"See ",c," for more details."),b=a.activeSession.isInternalSession()?Bn(b,c):b,Uac(a.butterBar,b))};f=q9.prototype;
f.setSort=function(a,b,c){c=void 0===c?!0:c;var d=Kk(a);if(d){var e=new Nk(d,"ASC"===b?"ASCENDING":"DESCENDING");ta(this.sortPreferences,function(g){return Xh(g.fieldId,e.fieldId)});!c||Z$c.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)};
f.getSort=function(){if(!this.sortPreferences.length)return null;var a=this.sortPreferences[0];a={field:"CUSTOM_FIELD"===a.fieldId.type?String(a.fieldId.customFieldId):ai(a.fieldId.type),direction:"ASCENDING"===a.direction?"ASC":"DESC"};Xh(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};f.saveSortColumns=function(a){s1(this.urlPreferences,{sortColumns:a,page:1})};
f.initColumns=function(a,b){var c=this;b=void 0===b?iad:b;a.then(function(d){c.displayColumns=d;c.metaColumns=b;c.isColumnSaveEnabled=!0;c.issueColumnsInternal=[].concat(cd(b),cd(q8a(d)));c.cdr.detectChanges()})};f.saveColumns=function(a){this.displayColumns=a.map(function(b){return Kk(b.name)});s1(this.urlPreferences,{displayColumns:this.displayColumns})};
f.goToIssue=function(a,b,c){var d;c&&"A"===(null==(d=c.target)?void 0:d.tagName)||(this.analytics.trackEvent(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?Zn(this.domSafe,a):this.bLocation.url(a))};f.goToPage=function(a){this.bLocation.search("p",a)};var ss=function(a,b,c){void 0!==b&&a.goToPage(b+c)};f=q9.prototype;f.refreshResults=function(){nX(this.issuePagination);return $$c(this)};
f.hasResults=function(){return this.searchResults&&0<this.searchResults.issues.length};
f.sendBulkEditRequest=function(a,b){var c=this;if(1===a.length&&1===a[0].actions.length&&"readState"===a[0].actions[0].fieldName){var d=!!a[0].actions[0].value;b=k(a[0].issueIds);for(var e=b.next();!e.done;e=b.next()){e=e.value;var g=void 0;null==(g=this.searchResults)||bHc(g,e,d)}this.cdr.detectChanges();YG(this.butterBar,"Saving changes...",0);return LI(this.issueFridge,a[0].issueIds,{markRead:d}).then(function(l){for(var q=k(a[0].issueIds),v=q.next();!v.done;v=q.next()){v=v.value;var x=void 0,
A=void 0;null==(x=c.searchResults)||bHc(x,v,void 0,null!=(A=l)?A:null)}YG(c.butterBar,"Successfully marked issues "+(d?"read.":"unread."))}).catch(function(l){for(var q=k(a[0].issueIds),v=q.next();!v.done;v=q.next()){v=v.value;var x=void 0;null==(x=c.searchResults)||bHc(x,v)}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=Zza(a).map(function(l){return l.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};YG(this.butterBar,
"Saving changes...",0);return 1===a.length&&1===a[0].actions.length&&"parentId"===a[0].actions[0].fieldName?this.batchIssueRelationshipsService.bulkEdit(a[0]).then(function(l){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=k(c.searchResults.issues.entries()),v=q.next();!v.done;v=q.next()){var x=k(v.value);v=x.next().value;x=x.next().value;l.finishedIssues[x.issueId]&&(v=c.searchResults.issues[v],o0a(v,l.finishedIssues[x.issueId],null),c.loadHotlists(v),Object.assign(c.customFieldMap,
v.customFieldMap))}}x=a[0];q=l.notFinishedIssueIds;v=String(x.actions[0].value);x=x.actions[0].actionType;if("ADD"!==x&&"REMOVE"!==x)throw Error("ue");q.length?(l="Failed to update issue(s) "+q.join(", ")+".",ZG(c.butterBar,l),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+q.length)):YG(c.butterBar,("ADD"===x?"Added child issue(s) to parent ["+v+"]":"Removed child issue(s) from parent ["+v+"]")+" on "+String(Object.keys(l.finishedIssues).length)+" issues.");c.cdr.detectChanges()}).catch(function(l){c.errorHandler.errorHandler(null,
l)}):this.issueApi.issueBulkEdit(h,b).then(function(l){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=k(c.searchResults.issues.entries()),v=q.next();!v.done;v=q.next()){var x=k(v.value);v=x.next().value;x=x.next().value;l.affectedIssues[x.issueId]&&(x=l.affectedIssues[x.issueId],v=c.searchResults.issues[v],o0a(v,x,l.componentMap[oa(x.snapshot).componentId]),c.loadHotlists(v),Object.assign(c.customFieldMap,v.customFieldMap))}}l.errors&&l.errors.length?(q="Failed to update issue(s) "+
(oqa(l.errors,"issueId").join(", ")+"."),ZG(c.butterBar,q),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(l=Lgc(c.statusMessages,h,c.customFieldMap))?YG(c.butterBar,l):YG(c.butterBar,"Saved "+$za(h.bulkEditOps).length+" issue(s).");c.cdr.detectChanges()}).catch(function(l){c.errorHandler.errorHandler(null,l)})};
f.loadHotlists=function(a){var b=this;a=k(a?[a]:this.searchResults?this.searchResults.issues:[]);for(var c=a.next();!c.done;c=a.next()){c=c.value;if(!c.hotlistId)return;c=k(c.hotlistId);for(var d=c.next();!d.done;d=c.next())d=d.value,this.hotlistMap[d]||this.hotlistApi.get(d).then(function(e){b.hotlistFridge.announce(e);b.addHotlist(e)})}this.cdr.detectChanges()};f.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
f.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"createHotlist");YG(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);YG(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)};
f.loadHotlist=function(a){var b=this,c=a.hotlistId,d=a.successCallback;a=a.errorCallback;YG(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)};f.exportCsv=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"exportCsv");djc(this.domSafe,this.getCsvUrl())};
var jad=function(a,b){a.userPreferencesManager.save({resultsPerPage:b}).pipe(af(a.destroyed$)).subscribe(function(){a.resultsPerPage=b;s1(a.urlPreferences,{page:1});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"resultsPerPageSave",b.toString());a.refreshResults();a.cdr.detectChanges()},function(c){Jh(c)})},gad=function(a,b,c){var d=a.issuePagination.getFocusedIssue();a.timeout.schedule(function(){if(d>=b&&d<=c)a.focusedRowIndex=d-b;else{kHc(a.issuePagination);a.focusedRowIndex=0;var e=document.querySelector(".bv2-view");
e&&(e.scrollTop=0)}a.cdr.detectChanges()})},TCb=function(){setTimeout(function(){var a=document.querySelector(".b-select-all-toggle");a&&a.focus()})};
sh.Object.defineProperties(q9.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){Xh(this.issueColumnsInternal,a)||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"columnModification",mza(this.issueColumnsInternal.map(function(b){return b.toString()}),a.map(function(b){return b.toString()}))),this.issueColumnsInternal=a,a=this.issueColumns.slice(this.metaColumns.length),this.saveColumns(a))}}});var iad=[W0,X0,Y0];
q9.\u0275fac=function(a){return new (a||q9)(B(AI),B(DI),B(Window),B(PH),B($G),B(GF),B(lI),B(cI),B(Bs),B(XG),B(EI),B(RX),B(mX),B(VJ),B(r1),B(t1),B(QH),B(HG),B(aH),B(fK),B(vL),B(eH),B(pI),B(JI),B(H2),B(AG))};q9.\u0275dir=Sc({type:q9,features:[kf]});var PCb=function(){return{q:"status:open"}},r9=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da,Oa,Ta,Wa,Nb,Eb,cb,sa,Ka,Qa,fb){q9.call(this,a,b,c,d,g,h,l,q,e,v,x,A,G,M,Q,Y,W,ia,Ta,ja,Aa,Nb,cb,sa,Qa,fb);this.hotkeys=Da;this.pageTitle=Oa;this.routePerformance=Wa;this.element=Eb;this.currentTracker=Ka;this.ANALYTICS_CATEGORY=ao.LIST_ISSUES;this.isLoading=!0;this.showHotlists=!1;this.SPACE_EMPTY_STATE=jkc};T(r9,q9);r9.\u0275dir=q9.\u0275dir;f=r9.prototype;
f.ngOnInit=function(){var a=this;q9.prototype.ngOnInit.call(this);this.subscriptions.add(gN(this.hotkeys,{title:"Issue List",hotkeys:this.BASE_HOTKEYS}));this.subscriptions.add(this.userPreferencesManager.listViewPreferences$.subscribe(function(b){a.showHotlists=b.showHotlists}))};
f.getIssues=function(){var a=this,b=this.bLocation.search().warning;b&&(Array.isArray(b)&&(b=b[0]),ZG(this.butterBar,b));this.query=this.urlPreferences.getQuery();if(!this.query)return this.activeSession.isAnonymous()?(this.query="",SX(this.appSearchState,this.query),this.searchResults=null,this.setPageTitle(),this.isLoading=!1):(this.routePerformance.ignoringNextNav=!0,s1(this.urlPreferences,{query:"assignee:"+this.currentUserEmail+" status:open"},!0)),Promise.resolve(void 0);SX(this.appSearchState,
this.query);b=qIc(this.appSearchState);if(0<b)return Icc(this.bLocation,this.paths.viewHotlist(b)),s1(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);b=rIc(this.appSearchState);if(0<b)return Icc(this.bLocation,this.paths.viewSavedSearch(b)),s1(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);this.searchResults=null;this.isLoading=!0;this.setPageTitle();this.subscriptions.add((0,D.concat)((0,D.timer)(0).pipe(Zia()),u8a("b-issues-grid, #no-results",this.element.nativeElement)).subscribe(function(){var c=
function(){kSc(a.routePerformance,"issue-list-w-results")};requestAnimationFrame(c);setTimeout(c)}));return this.doSearch().finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
f.doSearch=function(){var a=this,b=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:aad(this)}),c=b.searchPreferences.then(function(g){g=Yh(g);g.query=a.computeQuery(g);g.returnUrl=a.bLocation.url();g.trackerIds=a.appSearchState.currentTrackerScope;return gHc(a.issuePagination,g)}),d;(null==(d=this.query)?0:d.includes("teamid:"))&&this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"searchByTeam");var e;(null==(e=this.query)?0:e.includes("componentid:"))&&
this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"searchByComponent");c.then(function(g){had(a,g)}).catch(function(g){"number"===typeof g?s1(a.urlPreferences,{page:g}):a.errorHandler.errorHandler(null,g)});b=b.displayColumns;this.initColumns(b);return Tn({searchResultsPage:c,displayColumns:b}).then(function(g){var h=g.searchResultsPage;a.searchResults=a.processSearchResults(h);a.page=h.params.page;a.sortPreferences=h.params.sortColumns||[];a.cdr.detectChanges();a.loadHotlists();g=g.displayColumns.join("|");
h=a.sortPreferences.join("|");a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"issueSearch",g+" ("+h+")")})};f.processSearchResults=function(a){return a};f.computeQuery=function(){return this.query};f.saveColumns=function(a){this.displayColumns=a.map(function(b){return Kk(b.name)});rgc(this.userPreferencesManager,r8a(a)).pipe(af(this.destroyed$)).subscribe()};
f.setPageTitle=function(){this.appSearchState.currentQuery===oIc(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===pIc(this.currentUserEmail)?this.pageTitle.setTitle("To be verified"):this.pageTitle.setTitle(this.query)};
f.saveSortColumns=function(a){var b=this;this.isLoading=!0;a=a.map(function(c){return{column:c.fieldId,order:c.direction}});this.userPreferencesManager.saveSortColumns(a).pipe(af(this.destroyed$)).subscribe(function(){s1(b.urlPreferences,{page:1,sortColumns:null});b.refreshResults().finally(function(){b.isLoading=!1;b.cdr.detectChanges();TCb()})})};f.getCsvUrl=function(){return this.paths.issuesCsvAction(this.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
r9.\u0275fac=function(a){return new (a||r9)(B(AI),B(DI),B(qF),B(PH),B(Bs),B($G),B(GF),B(lI),B(cI),B(XG),B(EI),B(RX),B(mX),B(VJ),B(r1),B(t1),B(QH),B(HG),B(fK),B(vL),B(fN),B(wW),B(aH),B(L2),B(eH),B(Dd),B(pI),B(JI),B(PL),B(H2),B(AG))};
r9.\u0275cmp=Oc({type:r9,selectors:[["list-issues-page"]],features:[Of([AI]),kf],decls:10,vars:7,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[3,"grid","hotlistChoices","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],["id","no-results","class","bv2-view-loading layout-centered-column gap","tabindex","-1",3,"bFocus",4,"ngIf"],["class",
"bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],["id","no-results","tabindex","-1",1,"bv2-view-loading","layout-centered-column","gap",3,"bFocus"],["aria-hidden","true","alt","",1,"empty-state-img",3,"src"],[4,"ngIf","ngIfElse"],["noQuery",""],["routerLink","/issues",3,"queryParams",4,"ngIf","ngIfElse"],["noTracker",""],["routerLink","/issues",3,"queryParams"],["href","https://developers.google.com/issue-tracker/concepts/searches","target","_blank"],[1,"bv2-grid-container"],[3,"searchResults",
"focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar","init","columnsChange","sortChange","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(F(0,"h2",0),P(1,"Issue search results"),H(),F(2,"div",1)(3,"b-grid-controls",2),L("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()}),H(),F(4,"div",3)(5,"b-pagination",4),L("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return jad(b,c.option)}),H()()(),F(6,"div",5),O(7,MCb,4,1,"div",6),O(8,SCb,9,8,"div",7),O(9,UCb,2,6,"div",8),H());a&2&&(z(3),E("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),z(2),E("searchResults",b.searchResults),z(1),of("aria-busy",b.isLoading),z(1),E("ngIf",b.isLoading),z(1),
E("ngIf",!b.isLoading&&!b.hasResults()),z(1),E("ngIf",!b.isLoading&&b.hasResults()))},dependencies:[b1,W1,U0,Rw,WM,hV,KH,Xw],styles:[".empty-state-img[_ngcontent-%COMP%]{max-width:320px;max-height:320px;padding-bottom:56px}/*# sourceMappingURL=list_issues.css.map */"]});var s9=function(){};s9.\u0275fac=function(a){return new (a||s9)};s9.\u0275mod=Qc({type:s9});s9.\u0275inj=zc({imports:[o1,Y1,T1,qX,OG,CO,iV,OH]});var t9=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da,Oa,Ta,Wa,Nb,Eb,cb,sa,Ka,Qa,fb,$a){r9.call(this,a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da,Oa,Ta,Wa,Nb,Eb,sa,Ka,Qa,fb,$a);this.issueLru=cb;this.ANALYTICS_CATEGORY="recentIssues";this.recentIds=Array.from(this.issueLru.viewed.keys());this.initialLoad=!0};T(t9,r9);t9.\u0275dir=r9.\u0275dir;
t9.prototype.ngOnInit=function(){r9.prototype.ngOnInit.call(this);this.pageTitle.setTitle("Recent Issues");this.appSearchState.clear();this.initialLoad=!0};t9.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;return 0===this.recentIds.length?(this.isLoading=!1,Promise.resolve()):this.doSearch().finally(function(){a.isLoading=!1;a.initialLoad=!1;a.cdr.detectChanges()})};
t9.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("|")};t9.prototype.processSearchResults=function(a){this.initialLoad&&(a.params.sortColumns=[]);var b;null!=(b=a.params.sortColumns)&&b.length||(a.issues=YCb(this.recentIds,a.issues));return a};
t9.\u0275fac=function(a){return new (a||t9)(B(AI),B(DI),B(qF),B(PH),B(Bs),B($G),B(GF),B(lI),B(cI),B(XG),B(EI),B(RX),B(mX),B(VJ),B(r1),B(t1),B(QH),B(HG),B(fK),B(vL),B(fN),B(wW),B(aH),B(L2),B(eH),B(Dd),B(pW),B(pI),B(JI),B(PL),B(H2),B(AG))};
t9.\u0275cmp=Oc({type:t9,selectors:[["list-issues-recent"]],features:[Of([AI]),kf],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&&(F(0,"h2",0),P(1,"Recent Issues"),H(),F(2,"div",1)(3,"b-grid-controls",2),L("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()}),H(),F(4,"div",3)(5,"b-pagination",4),L("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return jad(b,d.option)}),H()()(),F(6,"div",5),O(7,VCb,3,0,"div",6),O(8,WCb,2,0,"div",7),O(9,XCb,2,5,"div",8),H());if(a&2){var c;z(3);E("grid",null!==(c=b.resultsGrid)&&void 0!==c?c:void 0)("hotlistChoices",b.hotlistChoices);z(2);E("searchResults",
b.searchResults);z(1);of("aria-busy",b.isLoading);z(1);E("ngIf",b.isLoading);z(1);E("ngIf",!b.isLoading&&!b.hasResults());z(1);E("ngIf",!b.isLoading&&b.hasResults())}},dependencies:[WM,b1,W1,U0,Rw],encapsulation:2});var u9=function(a,b,c,d,e,g){this.cdr=a;this.pageTitle=b;this.paths=c;this.sloApi=d;this.errorHandler=e;this.activeSession=g;this.isLoading=!1;this.activeSlos=[];this.archivedSlos=[];this.createSloPath=this.paths.createSlo();this.sloEnabled=this.activeSession.isInternalSession();this.areArchivedSlosExpanded=!1};u9.prototype.ngOnInit=function(){this.sloEnabled&&(this.pageTitle.setTitle("Manage SLOs"),kad(this))};
var kad=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)})};u9.\u0275fac=function(a){return new (a||u9)(B(AI,2),B(wW),B(QH),B(RT),B(aH),B(Bs))};
u9.\u0275cmp=Oc({type:u9,selectors:[["list-slos-page"]],features:[Of([AI])],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&&(F(0,"div",0)(1,"a",1),P(2," Create SLO "),H()(),F(3,"div",2),O(4,ZCb,5,0,"div",3),O(5,$Cb,1,1,"b-spinner",4),O(6,dDb,3,2,"ng-container",5),O(7,hDb,6,5,"ng-container",5),H());a&2&&(z(1),E("href",b.createSloPath,Ud),z(3),E("ngIf",b.sloEnabled),z(1),E("ngIf",b.isLoading),z(1),E("ngIf",!b.isLoading),z(1),E("ngIf",!b.isLoading))},dependencies:[Rw,
HB,RA,C2,WM],encapsulation:2});var lad=function(a){this.internalArray_=m(a)};T(lad,p);f=lad.prototype;f.getAuthor=function(){return X(this,ri,1)};f.setAuthor=function(a){hj(this,ri,1,a)};f.getTimestamp=function(){return X(this,Nh,2)};f.setTimestamp=function(a){return hj(this,Nh,2,a)};f.hasTimestamp=function(){return Nj(this,Nh,2)};f.getAdd=function(){return X(this,dk,3)};f.getRemove=function(){return X(this,dk,4)};f.getAddMask=function(){return X(this,$D,5)};f.getRemoveMask=function(){return X(this,$D,6)};f.toObject=function(){return mad(this)};
var mad=function(a){if(null!=a)return r(a),{author:sE(a.getAuthor()),timestamp:Lt(a.getTimestamp()),add:kF(a.getAdd()),remove:kF(a.getRemove()),addMask:aE(a.getAddMask()),removeMask:aE(a.getRemoveMask())}};var v9=function(a){this.internalArray_=m(a,0,v9.messageId)};T(v9,p);v9.prototype.getUpdatesList=function(){return kj(this,lad,1)};v9.repeatedFields_=[1];v9.prototype.toObject=function(){if(null!=this){r(this);var a={updatesList:Ub(this.getUpdatesList(),mad)}}else a=void 0;return a};v9.messageId="b.ComponentHistory";var w9=function(a,b){this.executor=b;this.componentHistoriesCache=a.get("component_histories-second-level-cache")||a.create("component_histories-second-level-cache",{capacity:25})};w9.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:v9}).then(Xsa))};w9.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};
w9.prototype.invalidateCache=function(a){this.componentHistoriesCache.remove(String(a))};w9.\u0275fac=function(a){return new (a||w9)(t(ZH),t(iE))};w9.\u0275prov=yc({token:w9,factory:w9.\u0275fac,providedIn:"root"});var x9=function(){};x9.prototype.ngOnInit=function(){};x9.\u0275fac=function(a){return new (a||x9)};
x9.\u0275cmp=Oc({type:x9,selectors:[["slo-inheritance-breadcrumbs"]],inputs:{componentPath:"componentPath",teamPath:"teamPath"},decls:2,vars:2,consts:[[4,"ngIf"],[3,"teamPath"],["componentPathsLinkTo","settings",3,"componentPathInfo"]],template:function(a,b){a&1&&(O(0,iDb,4,1,"ng-container",0),O(1,jDb,4,1,"ng-container",0));a&2&&(E("ngIf",b.teamPath),z(1),E("ngIf",b.componentPath))},dependencies:[Rw,hZ,d2],styles:["b-component-breadcrumb[_ngcontent-%COMP%], b-team-breadcrumb[_ngcontent-%COMP%]{display:inline-block}"]});var y9=function(a,b,c,d){rF.call(this);var e=this;this.documentationLinks=a;this.recommendationsService=b;this.cachedUserAccess=c;this.confirmationDialogService=d;this.helpLink="http://goto.google.com/buganizer-ml";this.draftSettings$=new D.BehaviorSubject(void 0);this.hasUnsavedChanges=this.draftSettings$.pipe(C(function(g){return!!g&&!Xh(e.savedSettings,g)}),Ne());this.isSaving=new kw;this.isAdmin=!1};T(y9,rF);y9.\u0275dir=rF.\u0275dir;
y9.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.recommendationsService.executor.get({url:"action/components/"+this.componentId+"/recommendationSettings",responseConstructor:sN}).pipe(C(WFa)).subscribe(function(c){a.savedSettings=c;a.setDraft(a.savedSettings)}));var b=cm("COMPONENT",this.componentId);MG(this.cachedUserAccess,"admin",b).then(function(c){a.isAdmin=c})};
var kDb=function(a){var b,c;return pe(function(d){if(1==d.nextAddress)return b={},d.yield(QJ(a.confirmationDialogService,{title:"Opt into data collection?",content:Bn(kv("By opting in, Buganizer will collect data in this component to improve ML features.\n\nIt can take a few months for ML features to show up due to data processing time. "),An("A",(b.href=a.helpLink,b.target="_blank",b),"Learn more")),confirmButtonText:"Opt in",cancelButtonText:"Cancel"}),2);c=d.yieldResult;if(!c)return d.return();
a.setDraft({optedOutFromDataCollection:!1});return d.yield(a.save(),0)})},mDb=function(a){var b,c;return pe(function(d){if(1==d.nextAddress)return b={},d.yield(QJ(a.confirmationDialogService,{title:"Opt out from data collection?",content:Bn(kv("ML features will not be available once you opt out.\n\nIf you later decide to opt back in, it can take a few months for ML features to be available again. "),An("A",(b.href=a.helpLink,b.target="_blank",b),"Learn more")),confirmButtonText:"Opt out",cancelButtonText:"Cancel",
isDestructive:!0}),2);c=d.yieldResult;if(!c)return d.return();a.setDraft({optedOutFromDataCollection:!0,duplicateAssistanceEnabled:!1});return d.yield(a.save(),0)})};
y9.prototype.save=function(){var a=this;return pe(function(b){if(1==b.nextAddress){if(Xh(a.savedSettings,a.draftSettings))return b.return();a.isSaving.emit(!0);return b.yield((0,D.firstValueFrom)(Ylc(a.recommendationsService,a.draftSettings)).finally(function(){a.isSaving.emit(!1)}),2)}a.savedSettings=b.yieldResult;a.setDraft(a.savedSettings);ue(b)})};y9.prototype.revert=function(){this.setDraft(this.savedSettings)};
var oDb=function(a){if(!a.isAdmin)return"Only component admins can change this setting.";var b;return(null==(b=a.savedSettings)?0:b.optedOutFromDataCollection)?"Opt into data collection to enable ML features":""};y9.prototype.setDraft=function(a){a||this.draftSettings$.next(void 0);this.draftSettings$.next(Object.assign({},this.draftSettings,a))};
sh.Object.defineProperties(y9.prototype,{draftSettings:{configurable:!0,enumerable:!0,get:function(){return this.draftSettings$.value}},isSaving$:{configurable:!0,enumerable:!0,get:function(){return this.isSaving}}});y9.\u0275fac=function(a){return new (a||y9)(B(OJ),B(vN),B(LG),B(PJ))};
y9.\u0275cmp=Oc({type:y9,selectors:[["recommendation-settings"]],inputs:{componentId:"componentId"},outputs:{hasUnsavedChanges:"hasUnsavedChanges",isSaving:"isSaving"},features:[kf],decls:1,vars:1,consts:[["class","flex-kids-y gap-s",4,"ngIf"],[1,"flex-kids-y","gap-s"],[4,"ngIf","ngIfElse"],["optedIn",""],["name","duplicate-assistance",1,"duplicate-assistance",3,"disabled","checked","matTooltip","change"],["id","ml-features-subtitle",1,"muted"],[1,"link-button","keep-focus-ring",3,"disabled","click"],
[3,"matTooltip"],["target","_blank","aria-describedby","ml-features-subtitle",1,"keep-focus-ring",3,"href"]],template:function(a,b){a&1&&O(0,pDb,9,7,"div",0);a&2&&E("ngIf",null==b.savedSettings?null:b.savedSettings.showSettings)},dependencies:[Rw,cU,lD,Xw],styles:["h4[_ngcontent-%COMP%]{margin:0}\n/*# sourceMappingURL=recommendation_settings.css.map */"]});var z9=function(){};z9.\u0275fac=function(a){return new (a||z9)};z9.\u0275mod=Qc({type:z9});z9.\u0275inj=zc({imports:[OG,KU,fE]});var uDb=function(a){this.internalArray_=m(a)};T(uDb,p);uDb.prototype.toObject=function(){return nad(this)};var nad=function(a){if(null!=a)return r(a),{groupEmail:n(Z(a,1)),approximateSize:n(Yb(a,2)),sizeCategory:n(Er(a,3)),permissionCategory:n(Er(a,5))}};var A9=function(a){this.internalArray_=m(a,0,A9.messageId)};T(A9,p);A9.repeatedFields_=[1];A9.prototype.toObject=function(){if(null!=this){r(this);var a={groupMetadataList:Ub(kj(this,uDb,1),nad)}}else a=void 0;return a};A9.messageId="b.BatchGroupMetadataResult";var B9=function(a,b){var c=this;this.groupMetadataResources=a;this.bulkGetter=b.adapt(function(d){return c.groupMetadataResources.bulkGet(d).then(function(e){var g=qDb(e);return SJb(d,function(h){return g[h]||null})})})};B9.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"}})};B9.\u0275fac=function(a){return new (a||B9)(t(C9),t(IG))};
B9.\u0275prov=yc({token:B9,factory:B9.\u0275fac,providedIn:"root"});var C9=function(a){this.executor=a};C9.prototype.bulkGet=function(a){a=[].concat(cd(new Set(a)));a=bm(a.join(","));return this.executor.get({url:"action/group_metadata/"+a,responseConstructor:A9}).then(vDb)};C9.\u0275fac=function(a){return new (a||C9)(t(iE))};C9.\u0275prov=yc({token:C9,factory:C9.\u0275fac,providedIn:"root"});var wDb=[{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 D9=function(a,b,c,d,e){var g=this;this.accessPolicyConverter=a;this.activeSession=b;this.confirmationDialogService=c;this.documentationLinks=d;this.groupMetadata=e;this.componentReaders=[];this.enableComponentAutomationCheck=this.enableRostersChecks=!1;this.isPublic=function(){return Mp(g.component)};this.hasUnsavedAccessLimitChanges=function(){return g.originalComponent&&g.component?g.originalComponent.accessLimit.accessLevel!==g.component.accessLimit.accessLevel:!1};this.performAccessLimitCheck=
function(){return new Promise(function(h){g.hasUnsavedAccessLimitChanges()&&"INTERNAL"===g.component.accessLimit.accessLevel?g.confirmationDialogService.open({title:"Component Visibility Changed",content:yn("You are about to change the component visibility to Google internal for this component. Make sure your changes are correct -- if this component has any issues, you will not be able to undo this action. Do you want to proceed?"),onConfirm:function(){h(!0)},onDismiss:function(){h(!1)}}):h(!0)})};
this.performDeletedAccountsCheck=function(){return new Promise(function(h){g.componentReaders.includes("GROUP:nobody@google.com")?g.confirmationDialogService.open({title:'"nobody@google.com" is on the access policy',content:yn('"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: '+[g.componentAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?'"Component Admins"':
null,g.componentAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Create Issues"':null,g.issueDefaultAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?'"Issue Admins"':null,g.issueDefaultAccessPolicyUnderEdit.editors.includes("GROUP:nobody@google.com")?'"Edit Issues"':null,g.issueDefaultAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Comment on Issues"':null,g.issueDefaultAccessPolicyUnderEdit.readers.includes("GROUP:nobody@google.com")?'"View Issues"':
null,g.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders.includes("GROUP:nobody@google.com")?'"View restricted+ content"':null,g.issueDefaultAccessPolicyUnderEdit.restrictedReaders.includes("GROUP:nobody@google.com")?'"View restricted content"':null].filter(function(l){return!!l}).join(", ")+". Do you want to proceed?"),onConfirm:function(){h(!0)},onDismiss:function(){h(!1)}}):h(!0)})};this.performAdminAccessRemovalCheck=function(){return new Promise(function(h){var l=g.activeSession.getUserEmail();
GDb(l,g.componentFlattenedAccessPolicy,g.componentAccessPolicyUnderEdit)?g.confirmationDialogService.open({title:"Component Administrators Changed",content:yn("You are about to change the administrator privileges for this component. Make sure your changes are correct -- if you revoke your own privileges, you will not be able to undo this action or perform further edits. Do you want to proceed?"),onConfirm:function(){h(!0)},onDismiss:function(){h(!1)}}):h(!0)})};this.performRestrictedPlusGroupRemovalCheck=
function(){return new Promise(function(h){FDb(g.issueDefaultFlattenedAccessPolicy,g.issueDefaultAccessPolicyUnderEdit)?g.confirmationDialogService.open({title:"Group Removed from Restricted+ Readers",content:yn("You are about to remove Restricted+ reader permission for a group. You will not be able to undo this action. Do you want to proceed?"),onConfirm:function(){h(!0)},onDismiss:function(){h(!1)}}):h(!0)})};this.retrieveGroupMetadata=function(h){h=g.accessPolicyConverter.stringToAccessPolicyPrincipal(h);
return void 0!==h.group&&h.group.emailAddress?g.groupMetadata.get(h.group.emailAddress):Promise.resolve({approximateSize:0,groupEmail:"",sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"})};this.evaluateNewGroups=function(){var h=Al([].concat(cd(ei(g.componentAccessPolicyUnderEdit.admins,g.componentFlattenedAccessPolicy.admins)),cd(ei(g.issueDefaultAccessPolicyUnderEdit.admins,g.issueDefaultFlattenedAccessPolicy.admins)),cd(ei(g.issueDefaultAccessPolicyUnderEdit.editors,g.issueDefaultFlattenedAccessPolicy.editors)),
cd(ei(g.issueDefaultAccessPolicyUnderEdit.appenders,g.issueDefaultFlattenedAccessPolicy.appenders)),cd(ei(g.issueDefaultAccessPolicyUnderEdit.readers,g.issueDefaultFlattenedAccessPolicy.readers)),cd(ei(g.issueDefaultAccessPolicyUnderEdit.restrictedReaders,g.issueDefaultFlattenedAccessPolicy.restrictedReaders)),cd(ei(g.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders,g.issueDefaultFlattenedAccessPolicy.restrictedPlusReaders))));return Promise.all(h.map(function(l){return g.retrieveGroupMetadata(l)}))};
this.performAddedLargeOrOpenGroupCheck=function(){return g.enableRostersChecks?g.evaluateNewGroups().then(function(h){var l=ADb(h);h=EDb(h);if(0===l.size&&0===h.size)return Promise.resolve(!0);var q=BDb(l.size,h.size);l=CDb(l);h=DDb(h);var v=Bn(l,l===ts?ts:An("BR"),h);l={};v=Bn(v,An("P",{},Bn("Please review the ",An("A",(l.href=egc(g.documentationLinks)+"#fully-public-component",l.target="_blank",l),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?")));
return new Promise(function(x){g.confirmationDialogService.open({title:q,content:v,onConfirm:function(){x(!0)},onDismiss:function(){x(!1)},confirmButtonText:"Add Group"})})}):Promise.resolve(!0)};this.performAddedNewInternalAliasesCheck=function(){return new Promise(function(h){if(g.isPublic()&&zDb(g.issueDefaultAccessPolicyUnderEdit,g.issueDefaultFlattenedAccessPolicy)){var l={};l=Bn(An("P",{},"You are about to give a broad category of users permissions on a public component."),An("P",{},Bn("Please review the ",
An("A",(l.href=egc(g.documentationLinks)+"#recommended-access-settings",l.target="_blank",l),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?")));g.confirmationDialogService.open({title:"Adding an broad category of users to a public component",content:l,onConfirm:function(){h(!0)},onDismiss:function(){h(!1)},confirmButtonText:"Add Group Alias"})}else h(!0)})};this.performChangedImplicitAccessCheck=function(){g.implicitAccess={getValue:function(){return g.componentAccessPolicyUnderEdit?
"ALLOW"===g.componentAccessPolicyUnderEdit.implicitAccess:!1},getSavedValue:function(){return g.componentFlattenedAccessPolicy?"ALLOW"===g.componentFlattenedAccessPolicy.implicitAccess:!1},setValue:function(q){g.componentAccessPolicyUnderEdit&&(g.componentAccessPolicyUnderEdit=Object.assign({},g.componentAccessPolicyUnderEdit,{implicitAccess:q?"ALLOW":"DENY"}))}};var h={},l=An("A",(h.href=$n(g.documentationLinks)+"#expanded-access",h),"Learn more.");return new Promise(function(q){g.implicitAccess.getValue()===
g.implicitAccess.getSavedValue()?q(!0):g.implicitAccess.getValue()?g.confirmationDialogService.open({title:"Turn on expanded access for component "+g.component.componentId+"?",content:Bn("When expanded access is on, assignees and verifiers can edit issues in this component, and CC'd users can comment. ",l),onConfirm:function(){q(!0)},onDismiss:function(){q(!1)}}):g.confirmationDialogService.open({title:"Turn off expanded access for component "+g.component.componentId+"?",content:Bn("Some users may lose the ability to edit or comment on issues in this component. ",
l),onConfirm:function(){q(!0)},onDismiss:function(){q(!1)}})})};this.getAddedAutomationInPolicyChange=function(){var h=[].concat(cd(xDb(g.issueDefaultFlattenedAccessPolicy,g.issueDefaultAccessPolicyUnderEdit)),cd(xDb(g.componentFlattenedAccessPolicy,g.componentAccessPolicyUnderEdit))),l=new Set;h=k(h);for(var q=h.next();!q.done;q=h.next()){q=k(q.value.addedPrincipals);for(var v=q.next();!v.done;v=q.next())v=g.accessPolicyConverter.stringToAccessPolicyPrincipal(v.value),(xqa(v)?eBa(v.user.emailAddress):
void 0!==v.group&&eBa(v.group.emailAddress))&&l.add(v)}return[].concat(cd(l))};this.performAutomationUserAccessCheck=function(){if(!g.enableComponentAutomationCheck)return Promise.resolve(!0);var h=g.getAddedAutomationInPolicyChange();return new Promise(function(l){if(h.length){var q={};q=An("A",(q.href=dgc(g.documentationLinks),q)," automation account documentation");g.confirmationDialogService.open({title:"Adding automation accounts",content:Bn(yn("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"),
An("wbr"),q,yn("."),An.apply(Kg,["OL",{}].concat(cd(h.map(function(v){if(xqa(v)){var x;return An("LI",{},yn(null!=(x=v.user.emailAddress)?x:""))}if(void 0!==v.group){var A;return An("LI",{},yn(null!=(A=v.group.emailAddress)?A:""))}throw Error("Ve`"+JSON.stringify(v));})))),An("BR",{}),yn("Are you sure you wish to allow automation to access data in this component?")),onConfirm:function(){l(!0)},onDismiss:function(){l(!1)}})}else l(!0)})};this.runValidation=function(h){var l,q,v;return pe(function(x){switch(x.nextAddress){case 1:l=
k(h),q=l.next();case 2:if(q.done){x.jumpTo(4);break}v=q.value;return x.yield(v(),5);case 5:if(!x.yieldResult)return x.return(!1);q=l.next();x.jumpTo(2);break;case 4:return x.return(!0)}})};this.enableRostersChecks=pF(this.activeSession,"enableRostersChecks");this.enableComponentAutomationCheck=pF(this.activeSession,"enableComponentAutomationCheck")},oad=function(a,b){var c=b.component,d=b.originalComponent,e=b.componentReaders,g=b.componentAccessPolicyUnderEdit,h=b.componentFlattenedAccessPolicy,
l=b.issueDefaultAccessPolicyUnderEdit,q=b.issueDefaultFlattenedAccessPolicy,v,x;return pe(function(A){if(1==A.nextAddress)return a.component=c,a.originalComponent=d,a.componentReaders=e,a.componentAccessPolicyUnderEdit=g,a.componentFlattenedAccessPolicy=h,a.issueDefaultAccessPolicyUnderEdit=l,a.issueDefaultFlattenedAccessPolicy=q,v=[a.performAccessLimitCheck,a.performDeletedAccountsCheck,a.performAdminAccessRemovalCheck,a.performRestrictedPlusGroupRemovalCheck,a.performAddedLargeOrOpenGroupCheck,
a.performAddedNewInternalAliasesCheck,a.performChangedImplicitAccessCheck,a.performAutomationUserAccessCheck],A.yield(a.runValidation(v),2);x=A.yieldResult;return A.return(x)})};D9.\u0275fac=function(a){return new (a||D9)(t($R),t(Bs),t(PJ),t(OJ),t(B9))};D9.\u0275prov=yc({token:D9,factory:D9.\u0275fac});var E9=function(a){rF.call(this);this.principalTypes=a;this.componentReaders=[];this.templates=[]};T(E9,rF);E9.\u0275dir=rF.\u0275dir;
E9.prototype.ngOnChanges=function(){var a=this.componentAccessPolicy,b=this.issueAccessPolicy,c=new Set([].concat(cd(this.componentReaders))),d=new Set([].concat(cd(a.admins),cd(a.inheritedAdmins)));a=new Set([].concat(cd(d),cd(a.appenders)));var e=new Set([].concat(cd(b.admins))),g=new Set([].concat(cd(e),cd(b.editors))),h=new Set([].concat(cd(g),cd(b.appenders))),l=new Set([].concat(cd(b.restrictedPlusReaders))),q=new Set([].concat(cd(l),cd(b.restrictedReaders)));b=new Set([].concat(cd(q),cd(h),
cd(b.readers)));this.templates=[{permission:"Admin Components",principals:[].concat(cd(d)).map(us)},{permission:"Create Issues",principals:[].concat(cd(a)).map(us)},{permission:"Admin Issues",principals:[].concat(cd(e)).map(us)},{permission:"Edit Issues",principals:[].concat(cd(g)).map(us)},{permission:"Comment on Issues",principals:[].concat(cd(h)).map(us)},{permission:"View Issues",principals:[].concat(cd(b)).map(us)},{permission:"View Components",principals:[].concat(cd(c)).map(us)},{permission:"View Restricted",
principals:[].concat(cd(q)).map(us)},{permission:"View Restricted+",principals:[].concat(cd(l)).map(us)}];pad(this,this.templates)};
var pad=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next()){c=k(c.value.principals);for(var d=c.next(),e={};!d.done;e={$jscomp$loop$prop$principal$2402:e.$jscomp$loop$prop$principal$2402},d=c.next())e.$jscomp$loop$prop$principal$2402=d.value,"ALIAS"===e.$jscomp$loop$prop$principal$2402.principalType?e.$jscomp$loop$prop$principal$2402.detailedUserType="NO_DETAILED_TYPE":mK(a.principalTypes,e.$jscomp$loop$prop$principal$2402.value,!0).then(function(g){return function(h){g.$jscomp$loop$prop$principal$2402.detailedUserType=
h.detailedUserType}}(e))}};E9.\u0275fac=function(a){return new (a||E9)(B(lK))};
E9.\u0275cmp=Oc({type:E9,selectors:[["permissions-view"]],inputs:{issueAccessPolicy:"issueAccessPolicy",componentAccessPolicy:"componentAccessPolicy",componentReaders:"componentReaders",accessLevel:"accessLevel"},features:[kf,gd],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&&(F(0,"table")(1,"tr",0)(2,"th",1),P(3,"Permission"),H(),F(4,"th",1),P(5,"Users With Permission"),H()(),O(6,IDb,6,2,"ng-container",2),H());a&2&&(z(6),E("ngForOf",b.templates))},dependencies:[Qw,l1],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 qad=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"}),F9={},rad=(F9.issueAdmin=new Set(["issueEditor"]),F9.issueEditor=new Set(["issueAppender"]),F9.issueAppender=new Set(["issueReader"]),F9.issueRestrictedReader=
new Set(["issueReader"]),F9.issueRestrictedPlusReader=new Set(["issueRestrictedReader"]),F9.issueReader=new Set(["componentReader"]),F9.componentAdmin=new Set(["componentAppender"]),F9.componentAppender=new Set(["componentReader"]),F9.componentReader=new Set,F9),SDb=wn(qad,function(a){return rad[a]}),vs=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"}),G9={},sad=(G9.componentAdmin=new Set(["componentAdmin","issueAdmin"]),G9.issueAdmin=new Set(["issueAdmin","componentAppender"]),G9.issueEditor=new Set(["issueEditor","componentAppender"]),G9.issueContributor=new Set(["issueAppender","componentAppender"]),G9.componentAdminOnly=new Set(["componentAdmin"]),
G9.issueCreator=new Set(["componentAppender"]),G9.issueAdminOnly=new Set(["issueAdmin"]),G9.issueEditorExisting=new Set(["issueEditor"]),G9.issueCommenter=new Set(["issueAppender"]),G9.restrictedPlusViewer=new Set(["issueRestrictedPlusReader"]),G9.restrictedViewer=new Set(["issueRestrictedReader"]),G9.issueViewer=new Set(["issueReader"]),G9),QDb=wn(vs,function(a){return sad[a]}),tad=TDb(),PDb=wn(vs,function(a){a=[].concat(cd(QDb.get(a))).flatMap(function(b){return[].concat(cd(tad.get(b)))});return new Set(a)}),
RDb=wn(vs,function(a){return new Set(vs.filter(function(b){return b!==a&&cqa(PDb.get(b),PDb.get(a))}))});var WDb={componentAdmin:[],componentAdminOnly:[],issueAdminOnly:[],inheritedComponentAdmin:[],issueAdmin:[],editor:[],contributor:[],viewer:[],editExistingIssuesOnly:[],createIssuesOnly:[],commentOnly:[],viewRestricted:[],viewRestrictedPlus:[]},uad={admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null};var H9=function(a,b,c,d,e,g,h,l){var q=this;this.accessPolicyApi=a;this.accessPolicyConverter=b;this.errorHandler=c;this.butterBar=d;this.userAccess=e;this.componentActions=g;this.componentValidator=h;this.analytics=l;this.isAdmin=!1;this.rolesMap=WDb;this.originalComponent=this.parentComponent=this.component=null;this.isUpdatingAccessLimit=this.isUpdatingAccessPolicy=this.isSaving=!1;this.implicitAccess={getValue:function(){return q.componentAccessPolicyUnderEdit?"ALLOW"===q.componentAccessPolicyUnderEdit.implicitAccess:
!1},getSavedValue:function(){return q.componentFlattenedAccessPolicy?"ALLOW"===q.componentFlattenedAccessPolicy.implicitAccess:!1},setValue:function(v){q.componentAccessPolicyUnderEdit&&(q.componentAccessPolicyUnderEdit=Object.assign({},q.componentAccessPolicyUnderEdit,{implicitAccess:v?"ALLOW":"DENY"}))},isUpdated:function(){var v;return q.componentAccessPolicyUnderEdit.implicitAccess!==(null==(v=q.componentFlattenedAccessPolicy)?void 0:v.implicitAccess)}};this.componentReaders=[];this.issueDefaultFlattenedAccessPolicy=
this.componentFlattenedAccessPolicy=uad;this.componentAccessPolicyUnderEdit=aS();this.issueDefaultAccessPolicyUnderEdit=aS();this.restrictedPlusReadersValidators={noRestrictedPlusGroups:function(v){a:{var x=q.issueDefaultFlattenedAccessPolicy;if(v&&x){x=x.restrictedPlusReaders;v=k(v);for(var A=v.next();!A.done;A=v.next())if(A=A.value,0===A.indexOf("GROUP:")&&-1===x.indexOf(A)){x=!1;break a}}x=!0}return x}}};
H9.prototype.hasUnsavedAccessLimitChanges=function(){var a=this.originalComponent,b=this.component;return a&&b?a.accessLimit.accessLevel!==b.accessLimit.accessLevel:!1};
var vad=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;YG(a.butterBar,"Changed access level.")},function(b){a.component.accessLimit.accessLevel=a.originalComponent.accessLimit.accessLevel;
var c="Could not change access level. ";$l(b)&&(c+=am(b));ZG(a.butterBar,c)}).finally(function(){a.isUpdatingAccessLimit=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit})};H9.prototype.updateComponentAndOriginalComponent=function(a){this.component=Yh(a);this.originalComponent=Yh(a)};
H9.prototype.loadComponent=function(){var a=this;return this.componentActions.getUncached(this.componentId,!0).then(function(b){a.updateComponentAndOriginalComponent(b);0<b.parentComponentId&&a.loadParentComponent(b.parentComponentId)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};H9.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)})};
H9.prototype.initialize=function(a){var b=this;a=void 0===a?this.componentId:a;if(!a&&!this.componentId)return ZG(this.butterBar,"No component found!"),Promise.resolve();this.componentId=a;return Promise.all([this.accessPolicyApi.get("COMPONENT",this.componentId).then(function(c){b.componentFlattenedAccessPolicy=bS(c);b.componentAccessPolicyUnderEdit=Yh(b.componentFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.accessPolicyApi.get("ISSUE_DEFAULTS",this.componentId).then(function(c){b.issueDefaultFlattenedAccessPolicy=
bS(c);b.issueDefaultAccessPolicyUnderEdit=Yh(b.issueDefaultFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.loadComponent(),this.loadUserAccess(this.componentId)]).then(function(){})};
var wad=function(a){a.rolesMap=XDb({componentAccessPolicy:a.componentAccessPolicyUnderEdit,issueAccessPolicy:a.issueDefaultAccessPolicyUnderEdit})},xad=function(a,b){var c=a.issueDefaultFlattenedAccessPolicy;return c&&ZDb(c,a.issueDefaultAccessPolicyUnderEdit)?a.accessPolicyApi.update("ISSUE_DEFAULTS",a.componentId,b):Promise.resolve(void 0)},yad=function(a){var b=YDb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy),c=a.issueDefaultFlattenedAccessPolicy;a=!(!c||!ZDb(c,a.issueDefaultAccessPolicyUnderEdit));
return b||a},zad=function(a,b){return YDb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy)?a.accessPolicyApi.get("COMPONENT",a.componentId).then(function(c){var d=bS(c);if(YDb(d,a.componentAccessPolicyUnderEdit)){if(YDb(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)};H9.prototype.loadUserAccess=function(a){var b=this;return MG(this.userAccess,"admin","components/"+String(a)).then(function(c){b.isAdmin=c;return b.isAdmin?Promise.resolve(!0):MG(b.userAccess,"writer","components/"+String(a))}).catch(function(c){b.errorHandler.errorHandler(null,c);return Promise.resolve(!1)})};
H9.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=cS(this.componentAccessPolicyUnderEdit);var c=cS(this.issueDefaultAccessPolicyUnderEdit)}catch(d){return c="An unknown problem occurred",d instanceof Error&&(c=d.message),ZG(this.butterBar,c),Promise.resolve()}if(yad(this))return this.isSaving=this.isUpdatingAccessPolicy=!0,YG(this.butterBar,"Saving access settings...",0),xad(this,c).then(function(d){d&&(b.readers=[].concat(cd(d.admins||[]),cd(d.editors||[]),cd(d.appenders||[]),cd(d.readers||
[]),cd(d.restrictedPlusReaders||[]),cd(d.restrictedReaders||[])));return zad(a,b).catch(function(e){var g;return pe(function(h){if(1==h.nextAddress)return g=cS(a.issueDefaultFlattenedAccessPolicy),h.yield(xad(a,g),2);throw e;})})}).then(function(){return vad(a)}).then(function(){return a.initialize()}).then(function(){var d=a.rolesMap;wad(a);var e=a.rolesMap,g={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=$Db({componentAdmin:d.componentAdmin,issueAdmin:d.issueAdmin,editor:d.editor,contributor:d.contributor},{componentAdmin:e.componentAdmin,
issueAdmin:e.issueAdmin,editor:e.editor,contributor:e.contributor});g=$Db(g,h);switch(d&&g?2:d?0:g?1:3){case 0:a.analytics.trackEvent(ao.ROLE_BASED_PERMISSIONS,"update","roles:standard");break;case 1:a.analytics.trackEvent(ao.ROLE_BASED_PERMISSIONS,"update","roles:advanced");break;case 2:a.analytics.trackEvent(ao.ROLE_BASED_PERMISSIONS,"update","roles:both");break;default:a.analytics.trackEvent(ao.ROLE_BASED_PERMISSIONS,"update","roles:neither")}YG(a.butterBar,"Access settings saved",0)}).catch(function(d){ZG(a.butterBar,
am(d),0)}).finally(function(){return pe(function(d){if(1==d.nextAddress)return d.yield(a.loadUserAccess(a.componentId),2);a.isUpdatingAccessPolicy=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;ue(d)})});wad(this);return vad(this)};
var Aad=function(a,b){b=UDb(b);a.issueDefaultAccessPolicyUnderEdit=Object.assign({},a.issueDefaultAccessPolicyUnderEdit,b.issuesPermissions);a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,b.componentPermissions)},lEb=function(a,b){a.component&&a.originalComponent&&a.componentFlattenedAccessPolicy&&a.componentAccessPolicyUnderEdit&&a.issueDefaultFlattenedAccessPolicy&&a.issueDefaultAccessPolicyUnderEdit?(Aad(a,b),oad(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();YG(a.butterBar,"Update failed: Invalid changes to component permissions",0);return Promise.resolve()})):Promise.resolve()};
sh.Object.defineProperties(H9.prototype,{componentAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){Xh(a,this.componentAccessPolicyUnderEditInternal)||(this.componentAccessPolicyUnderEditInternal=a,this.componentReaders=VDb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.componentAccessPolicyUnderEditInternal}},issueDefaultAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){Xh(a,
this.issueDefaultAccessPolicyUnderEditInternal)||(this.issueDefaultAccessPolicyUnderEditInternal=a,this.componentReaders=VDb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.issueDefaultAccessPolicyUnderEditInternal}}});H9.\u0275fac=function(a){return new (a||H9)(t(pH),t($R),t(aH),t(XG),t(LG),t(kV),t(D9),t(EI))};H9.\u0275prov=yc({token:H9,factory:H9.\u0275fac});var I9=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.rolesEditor=c;this.AccessLevelStrings=z6b};I9.prototype.getRecentIssuesLink=function(){return im(this.rolesEditor.component.componentId,{includeArchived:this.rolesEditor.component?this.rolesEditor.component.archived:!1})};I9.prototype.isParentPartner=function(){return!(!this.rolesEditor.parentComponent||!$6a(this.rolesEditor.parentComponent))};
I9.prototype.isParentPublic=function(){return!(!this.rolesEditor.parentComponent||!Mp(this.rolesEditor.parentComponent))};I9.\u0275fac=function(a){return new (a||I9)(B(Bs),B(OJ),B(H9))};
I9.\u0275cmp=Oc({type:I9,selectors:[["access-limit-settings"]],decls:6,vars:2,consts:[["class","component-banner",4,"ngIf"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about access control","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[1,"component-banner"],[1,"component-visibility-settings"],[1,"component-visibility-header"],[1,"access-level-panel"],[1,"access-level-field"],["type","radio","id","access-level-internal","name","accessLevelInternal",
"value","INTERNAL",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for","access-level-internal"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for","access-level-external-partner"],[1,"access-level-field","bv2-edit-resource-readonly"],["type","radio","id","access-level-public","name","accessLevelPublic","value","EXTERNAL_PUBLIC",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for",
"access-level-public"],[1,"access-level-warning"],["aria-label","Learn more about access level","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["type","radio","id","access-level-internal","name","accessLevelInternal","value","INTERNAL",3,"disabled","ngModel","ngModelChange"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"disabled","ngModel","ngModelChange"],["type","radio","id","access-level-public","name","accessLevelPublic",
"value","EXTERNAL_PUBLIC",3,"disabled","ngModel","ngModelChange"]],template:function(a,b){a&1&&(O(0,dEb,20,7,"div",0),F(1,"div",1)(2,"p"),P(3," Access to issues is granted per component using the settings below. All settings provide access to view the component. "),F(4,"a",2),P(5,"Learn more"),H()()());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=Lp(b.rolesEditor.parentComponent)||
Lp(b.rolesEditor.component);break a}}else{a=!1;break a}a=void 0}E("ngIf",a);z(4);Hf("href","",$n(b.documentationLinks),"#recommended-role-based-permissions-configurations",Ud)}},dependencies:[Rw,wg,Dx,tx,Ax],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 J9=function(a,b){this.documentationLinks=a;this.rolesEditor=b};J9.prototype.isAccessEditDisabled=function(){return this.rolesEditor.isSaving||!this.rolesEditor.isAdmin};J9.prototype.setImplicitAccess=function(a){this.rolesEditor.implicitAccess.setValue(a)};J9.\u0275fac=function(a){return new (a||J9)(B(OJ),B(H9))};
J9.\u0275cmp=Oc({type:J9,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&&(F(0,"div",0)(1,"span",1)(2,"mat-checkbox",2),L("change",function(c){return b.setImplicitAccess(c.checked)}),H()(),F(3,"div",3)(4,"strong",4),P(5,"Expanded access"),H(),F(6,"div",5),P(7," When checked, assignees, verifiers, and collaborators can edit issues for this component, and CC'd users can add comments. "),F(8,"a",6),P(9,"Learn more"),H()()()());a&2&&(xf("bv2-edit-resource-readonly",b.isAccessEditDisabled()),z(2),E("checked",
b.rolesEditor.implicitAccess.getValue())("disabled",b.isAccessEditDisabled()),z(6),Hf("href","",$n(b.documentationLinks),"#expanded-access",Ud))},dependencies:[$O],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 eEb=function(){return{}},gEb=function(a,b){return{displayText:a,values:b}},fEb=function(a){return[a]},hEb=function(){return[]},K9=function(){this.rolesTableData=[];this.canEdit=!1;this.rolesMapUpdated=new kw;this.formIsValid=new kw;this.aclFormValidity=new Map};K9.prototype.getIconName=function(a,b){return a.grantedPermissions[b]?"done":"issue-status-wont-fix"};K9.prototype.updateRolesMap=function(a,b){this.rolesMapUpdated.emit({role:a,assignees:b})};K9.\u0275fac=function(a){return new (a||K9)};
K9.\u0275cmp=Oc({type:K9,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&&(F(0,"table")(1,"thead")(2,"tr")(3,"th",0),P(4,"Role Assignments"),H(),F(5,"th",0)(6,"h6"),P(7,"Admin Components"),H()(),F(8,"th",0)(9,"h6"),P(10,"Create Issues"),H()(),F(11,"th",0)(12,"h6"),P(13,"Admin Issues"),H()(),F(14,"th",0)(15,"h6"),P(16,"Edit Issues"),H()(),F(17,"th",0)(18,"h6"),P(19,"Comment on Issues"),H()(),F(20,"th",0)(21,"h6"),P(22,"View Issues"),H()(),
F(23,"th",0)(24,"h6"),P(25,"View Restricted"),H()(),F(26,"th",0)(27,"h6"),P(28,"View Restricted+"),H()()()(),F(29,"tbody"),O(30,iEb,26,29,"ng-container",1),H()());a&2&&(z(30),E("ngForOf",b.rolesTableData))},dependencies:[Qw,HB,g0,dO,QA,lD],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 Bad=function(a){this.documentationLinks=a};Bad.\u0275fac=function(a){return new (a||Bad)(B(OJ))};
Bad.\u0275cmp=Oc({type:Bad,selectors:[["use-standard-roles-banner"]],inputs:{rolesMap:"rolesMap"},decls:1,vars:1,consts:[["class","use-standard-roles-banner",4,"ngIf"],[1,"use-standard-roles-banner"],["aria-label","Learn more about roles","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"]],template:function(a,b){a&1&&O(0,jEb,5,1,"div",0);if(a&2){if(b.rolesMap){var c=b.rolesMap,d=c.issueAdmin,e=c.editor,g=c.contributor;a=c.componentAdminOnly;b=c.viewer;var h=c.editExistingIssuesOnly,
l=c.createIssuesOnly,q=c.commentOnly,v=c.viewRestricted,x=c.viewRestrictedPlus;c=[].concat(cd(c.componentAdmin),cd(d),cd(e),cd(g));a=[].concat(cd(a),cd(b),cd(h),cd(l),cd(q),cd(v),cd(x));a=0===c.length&&0<a.length}else a=!1;E("ngIf",a)}},dependencies:[Rw],styles:[".use-standard-roles-banner[_ngcontent-%COMP%]{background-color:#feefc3;background-color:var(--warn-bg);width:100%;margin:-15px 0 15px;border-radius:4px}.use-standard-roles-banner[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:4px;padding:8px}/*# sourceMappingURL=use_standard_roles_banner.css.map */"]});var L9=function(){this.rolesMap=WDb;this.isSaving=!1;this.saveRolesMap=new kw;this.rolesUnderEdit=WDb;this.formIsValid=!0;this.displayedTableColumns="role componentAdmin createIssues issueAdmin issueEditor issueCommenter issueReader restrictedReader restrictedPlusReader".split(" ");this.standardRolesTableData=[];this.advancedRolesTableData=[]},Cad=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,g;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!=(g=b.inheritedComponentAdmin)?g:[]}},{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},Dad=function(a){return a.advancedRolesTableData.some(function(b){return 0<b.users.length})},Ead=function(a){a.rolesUnderEdit=Object.assign({},a.rolesMap)};f=L9.prototype;f.ngOnInit=function(){Ead(this);Cad(this)};
f.ngOnChanges=function(a){a.rolesMap&&Ead(this);Cad(this)};f.updateRolesMap=function(a){var b={};this.rolesUnderEdit=Object.assign({},this.rolesUnderEdit,(b[a.role]=a.assignees,b))};f.getComponentAccessLevel=function(){if(this.component.accessLimit)return this.component.accessLimit.accessLevel};f.hasUnsavedAccessLimitChanges=function(){return this.rolesEditor.hasUnsavedAccessLimitChanges()};f.canEdit=function(){return!this.isSaving&&this.rolesEditor.isAdmin};
f.canSave=function(){return this.canEdit()&&(!Xh(this.rolesMap,this.rolesUnderEdit)||this.rolesEditor.implicitAccess.isUpdated()||this.hasUnsavedAccessLimitChanges())&&this.formIsValid};L9.\u0275fac=function(a){return new (a||L9)};
L9.\u0275cmp=Oc({type:L9,selectors:[["roles-view"]],inputs:{rolesMap:"rolesMap",isSaving:"isSaving",component:"component",rolesEditor:"rolesEditor"},outputs:{saveRolesMap:"saveRolesMap"},features:[gd],decls:13,vars:12,consts:[[3,"rolesMap"],[3,"rolesTableData","displayedTableColumns","canEdit","accessLevel","rolesMapUpdated","formIsValid"],["togglePosition","before",1,"mat-elevation-z0",3,"expanded"],["mat-raised-button","","aria-label","Update","color","primary",3,"disabled","click"],["mat-raised-button",
"","aria-label","Revert Changes",3,"disabled","click"]],template:function(a,b){a&1&&(I(0,"access-limit-settings")(1,"use-standard-roles-banner",0),F(2,"roles-view-table",1),L("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),H(),F(3,"mat-expansion-panel",2)(4,"mat-expansion-panel-header")(5,"mat-panel-title"),P(6," Advanced Roles "),H()(),F(7,"roles-view-table",1),L("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",
function(c){return b.formIsValid=c}),H()(),I(8,"expanded-access-settings"),F(9,"button",3),L("click",function(){b.canSave()&&b.saveRolesMap.emit(b.rolesUnderEdit)}),P(10,"Update"),H(),F(11,"button",4),L("click",function(){Ead(b);Cad(b)}),P(12," Revert Changes\n"),H());a&2&&(z(1),E("rolesMap",b.rolesMap),z(1),E("rolesTableData",b.standardRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),z(1),E("expanded",Dad(b)),z(4),
E("rolesTableData",b.advancedRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),z(2),E("disabled",!b.canSave()),z(2),E("disabled",!!Xh(b.rolesMap,b.rolesUnderEdit)))},dependencies:[O7,P7,Q7,QA,K9,I9,J9,Bad],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 M9=function(a,b){rF.call(this);this.rolesEditor=a;this.route=b};T(M9,rF);M9.\u0275dir=rF.\u0275dir;M9.prototype.ngOnInit=function(){var a=this;this.route.paramMap.pipe(C(function(b){return b.get("componentId")}),Ge(Ai),$e(function(b){return a.rolesEditor.initialize(Number(b))}),af(this.destroyed$)).subscribe(function(){wad(a.rolesEditor)})};M9.prototype.isSaving=function(){return this.rolesEditor.isSaving};M9.\u0275fac=function(a){return new (a||M9)(B(H9),B(xm))};
M9.\u0275cmp=Oc({type:M9,selectors:[["role-based-permissions"]],features:[Of([H9,D9]),kf],decls:2,vars:2,consts:[["class","bv2-view-loading",4,"ngIf"],[4,"ngIf"],[1,"bv2-view-loading"],[1,"padded"],["label","Edit Roles"],[3,"rolesMap","isSaving","component","rolesEditor","saveRolesMap"],["label","View Permissions"],[3,"componentReaders","componentAccessPolicy","issueAccessPolicy","accessLevel"]],template:function(a,b){a&1&&(O(0,kEb,2,0,"div",0),O(1,mEb,7,8,"div",1));a&2&&(E("ngIf",!(null==b.rolesEditor.component?
0:b.rolesEditor.component.componentId)),z(1),E("ngIf",null==b.rolesEditor.component?null:b.rolesEditor.component.componentId))},dependencies:[Rw,RN,QN,WM,E9,L9],styles:["/*# sourceMappingURL=role_based_permissions.css.map */"]});var Fad=new ad("GMAT_LEGACY_CHECKBOX_OPTION");var Gad=new Map([["primary","mat-primary"],["accent","mat-accent"],["warn","mat-warn"]]),N9=function(a,b){this.elementRef=a;this.gmatCheckboxOption=b;this.color="primary";this.hasGmatAttribute=a.nativeElement.hasAttribute("gmat-checkbox")};N9.prototype.ngOnInit=function(){this.isEnabled()&&(this.elementRef.nativeElement.classList.remove.apply(this.elementRef.nativeElement.classList,cd(Gad.values())),this.elementRef.nativeElement.classList.add(Gad.get(this.color)))};
N9.prototype.isEnabled=function(){return this.gmatCheckboxOption?this.hasGmatAttribute||this.gmatCheckboxOption.enabled:this.hasGmatAttribute};N9.\u0275fac=function(a){return new (a||N9)(B(Dd),B(Fad,8))};N9.\u0275dir=Sc({type:N9,selectors:[["mat-checkbox","gmat-checkbox",""],["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&xf("gmat-checkbox",b.isEnabled())},inputs:{color:"color"}});var Had=["archiveDialog"],Iad=["archiveButton"],Jad=["metadataForm"],Kad={BASIC:"basic",CUSTOM_FIELDS:"customFields",FIELD_ORDERING:"fieldOrdering",TEMPLATES:"templates",ACCESS:"access"},O9=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da,Oa,Ta,Wa,Nb){rF.call(this);var Eb=this;this.route=a;this.cdr=b;this.routeParams=c;this.bLocation=d;this.templatesApi=e;this.paths=g;this.appHistory=h;this.butterBar=l;this.pageTitle=q;this.activeSession=v;this.documentationLinks=x;this.matDialogService=A;this.analytics=
G;this.checkBeforeExit=M;this.userAccess=Q;this.componentActions=Y;this.errorHandler=W;this.componentUpdates=ia;this.componentUpdatesApi=ja;this.confirmationDialogService=Aa;this.appEvents=Da;this.teamsService=Oa;this.sloApi=Ta;this.sloService=Wa;this.currentTracker=Nb;this.componentId$=new D.ReplaySubject(1);this.Tab=Kad;this.componentListRoute=zwa;this.showSloInheritancePath=!1;this.component$=new D.BehaviorSubject(null);this.componentTrackerId$=this.component$.pipe(C(function(cb){return null==
cb?void 0:cb.trackerId}));this.showTrackerRedirect$=(0,D.combineLatest)([this.currentTracker.trackerId$,this.componentTrackerId$]).pipe(C(function(cb){var sa=k(cb);cb=sa.next().value;sa=sa.next().value;return Eb.shouldShowTrackerRedirect(cb,zi("")(sa))}));this.parentComponent$=new D.BehaviorSubject(null);this.componentTeam$=new D.BehaviorSubject(null);this.team$=this.componentTeam$.pipe($e(function(cb){return(cb=null==cb?void 0:cb.id)&&"0"!==cb?aJ(Eb.teamsService,cb):(0,D.of)(null)}));this.parentComponentTeam$=
this.parentComponent$.pipe($e(function(cb){var sa;return(cb=null==cb?void 0:null==(sa=cb.team)?void 0:sa.id)&&"0"!==cb?aJ(Eb.teamsService,cb):(0,D.of)(null)}));this.inheritedSloMetadata$=(0,D.combineLatest)([this.component$,this.parentComponent$,this.team$]).pipe(C(function(cb){var sa=k(cb);cb=sa.next().value;var Ka=sa.next().value;sa=sa.next().value;if((null==cb?0:cb.team)&&!cb.team.inherit&&"0"!==cb.team.id){var Qa,fb=null!=(Qa=null==sa?void 0:sa.slo)?Qa:null;if(fb)return{containerType:"TEAM",content:fb}}else if(Qa=
null!=(fb=null==Ka?void 0:Ka.slo)?fb:null)return{containerType:"COMPONENT",content:Qa};return null}));this.inheritedSlo$=this.inheritedSloMetadata$.pipe(Ne(),$e(function(cb){var sa="0";cb&&("TEAM"===cb.containerType?sa=cb.content.sloId:"COMPONENT"===cb.containerType&&(sa=cb.content.id));return"0"===sa?(0,D.of)({id:"0"}):Eb.sloService.get(sa).then(function(Ka){return{id:sa,slo:Ka}})}));this.sloPolicySource$=this.inheritedSloMetadata$.pipe(Ne(),$e(function(cb){if(!cb)return(0,D.of)({name:"None",type:"none"});
cb=EFb(cb);var sa=cb.sourceTeamId,Ka=cb.sourceComponentId;return sa&&"0"!==sa?Eb.teamsService.getTeam(sa).pipe(C(function(Qa){var fb;return{name:null!=(fb=null==Qa?void 0:Qa.name)?fb:sa,type:"team",link:{path:"/teams/"+sa+"/edit",fragment:"slo"}}})):Ka?Eb.componentActions.get(Number(Ka)).then(function(Qa){var fb;return{name:null!=(fb=Qa.name)?fb:Ka,type:"component",link:{path:"/components/"+Ka+"/edit"}}}):(0,D.of)(null)}));this.policySourcePath$=(0,D.combineLatest)([this.component$,this.team$,this.parentComponentTeam$,
this.inheritedSloMetadata$]).pipe(C(function(cb){var sa=k(cb);cb=sa.next().value;var Ka=sa.next().value,Qa=sa.next().value;sa=sa.next().value;if(!cb||!cb.componentPathInfo||!sa)return null;var fb=EFb(sa);sa=fb.sourceComponentId;Ka=GFb(Ka,fb.sourceTeamId,cb.team,Qa);return null===sa?{componentPath:null,teamPath:Ka}:{componentPath:FFb(cb,sa),teamPath:Ka}}));this.enableSloLockingCheck=pF(this.activeSession,"enableSloLockingCheck");this.enableRecommendationSettingsPage=pF(this.activeSession,"enableRecommendationSettingsPage");
this.component=null;this.effectiveCustomFields=[];this.parentComponent=null;this.descendants=[];this.savingRecommendationSettings=this.hasUnsavedRecommendationSettings=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=pF(this.activeSession,"enableSloLockingUi");this.enableTeamLeadSloEditingUi=pF(this.activeSession,"enableTeamLeadSloEditingUi");this.sloLocked$=this.componentId$.pipe(Ge(Boolean),$e(function(cb){return Eb.sloApi.executor.get({url:"action/components/"+cb+"/slo_edit_policy",responseConstructor:JBc}).pipe(C(Fra))}));this.getSloManagementLink=Awa};
T(O9,rF);O9.\u0275dir=rF.\u0275dir;O9.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};O9.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)};
O9.prototype.ngOnInit=function(){var a=this;this.componentId=bi(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(yQ(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));this.loadUserAccess(this.componentId);this.enableSloLockingCheck&&Lad(this);this.componentHistoryUiEnabled=this.activeSession.isInternalSession();
Mad(this);this.subscriptions.add(this.appEvents.customFieldsModified.subscribe(function(b){a.effectiveCustomFields=Nad(b)}));this.hasInitialized=!0;this.route.fragment.pipe(af(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 Mad=function(a){a=[Oad(a,a.componentId),a.loadComponent(a.componentId),a.loadTemplates(a.componentId)];return Promise.all(a).then(function(){})};O9.prototype.isAdmin=function(){return this.isAdminInternal};var xs=function(a){return a.enableSloLockingCheck?a.isComponentSloEditor:a.isAdmin()};f=O9.prototype;f.isSaving=function(){return this.isUpdating||this.isArchiving||this.savingRecommendationSettings};f.isArchived=function(){return this.component?this.component.archived:!1};f.isPublic=function(){return Mp(this.component)};
f.isExternal=function(){return Lp(this.component)};f.isParentPublic=function(){return!(!this.parentComponent||!Mp(this.parentComponent))};f.isParentPartner=function(){return!(!this.parentComponent||!$6a(this.parentComponent))};var XEb=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};
O9.prototype.hasUnsavedMetadataChanges=function(){return!(Xh(this.component,this.originalComponent)&&Xh(this.parentComponent,this.originalParentComponent)&&!this.hasUnsavedRecommendationSettings)};O9.prototype.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()};
var Pad=function(a){var b=Yl();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:yn("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},Qad=function(a){var b=Yl();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:Bn(yn('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.'),An("BR",{}),An("BR",{}),yn('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.'),
An("BR",{}),An("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};O9.prototype.saveMetadata=function(){var a=this;return Rad(this)?Qad(this).then(function(b){return b?Pad(a):Promise.resolve(!1)}).then(function(b){b&&a.doSaveMetadata().then(function(){return Mad(a)})}):Promise.resolve()};
O9.prototype.doSaveMetadata=function(){var a=this;this.isUpdating=!0;YG(this.butterBar,"Saving changes ...",0);return Sad(this).then(function(){a.parentComponent&&(a.component.parentComponentId=a.parentComponent.componentId)}).then(function(){return Tad(a)}).then(function(){return Uad(a)}).then(function(){var b;return null==(b=a.recommendationSettings)?void 0:b.save()}).then(function(){return Vad(a)}).then(function(){YG(a.butterBar,"Save complete.")}).catch(function(b){a.errorHandler.errorHandler(null,
b)}).finally(function(){a.componentUpdatesApi.invalidateCache(a.componentId);a.isUpdating=!1})};
var Sad=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)},Tad=function(a){return a.component.slo&&!Xh(a.originalComponent.slo,a.component.slo)?a.componentActions.updateSlo(a.component.componentId,a.component.slo).then(function(){a.analytics.trackEvent(ao.MANAGE_COMPONENT,
"updateSlo");return!0}).catch(function(b){a.component.slo=a.originalComponent.slo;return Promise.reject(b)}):Promise.resolve(!1)},Uad=function(a){return a.component.team&&!Xh(a.originalComponent.team,a.component.team)?a.componentActions.updateTeam(a.component.componentId,a.component.team).then(function(){a.analytics.trackEvent(ao.MANAGE_COMPONENT,"updateTeam");return!0}).catch(function(b){a.component.team=a.originalComponent.team;return Promise.reject(b)}):Promise.resolve(!1)},Vad=function(a){return Wad(a)?
a.componentActions.update(a.component).then(function(){a.analytics.trackEvent(ao.MANAGE_COMPONENT,"update");a.commentEditsEnabled?a.analytics.trackEvent("component","comment edits enabled","update"):a.analytics.trackEvent("component","comment edits disabled","update");return!0}):Promise.resolve(!1)},Wad=function(a){var b=Yh(a.component);b.team=a.originalComponent.team;b.slo=a.originalComponent.slo;b.parentComponentId=a.originalComponent.parentComponentId;return!Xh(a.originalComponent,b)},Rad=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};O9.prototype.getComponentAccessLevel=function(){if(this.component&&this.component.accessLimit)return this.component.accessLimit.accessLevel};var Oad=function(a,b){return a.componentActions.getChildren(b).then(function(c){a.childComponents=c}).catch(function(c){a.errorHandler.errorHandler(null,c)})};
O9.prototype.revertMetadataChanges=function(){this.updateComponentAndOriginalComponent(this.originalComponent);this.error="";this.parentComponent=Yh(this.originalParentComponent);this.parentComponent$.next(this.parentComponent);this.commentEditsEnabled="ENABLED"==this.component.commentEditState;var a;null==(a=this.recommendationSettings)||a.revert()};
var pFb=function(a){a.componentActions.getUncached(a.componentId).then(function(b){a.effectiveCustomFields=Nad(b.componentPathInfo.allCustomField)})},Nad=function(a){return a?a.filter(function(b){return b.enabledOnIssues}):[]};
O9.prototype.loadComponent=function(a){var b=this;this.isLoading=!0;return this.componentActions.getUncached(a,!0).then(function(c){b.updateComponentAndOriginalComponent(c);b.currentName=c.name;0<c.parentComponentId&&b.loadParentComponent(c.parentComponentId);b.effectiveCustomFields=Nad(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()})};O9.prototype.loadUserAccess=function(a){var b=this,c=cm("COMPONENT",a);MG(this.userAccess,"admin",c).then(function(d){b.isAdminInternal=d;return b.isAdminInternal?!0:MG(b.userAccess,"writer",c)}).then(function(d){b.isEditorInternal=d}).catch(function(d){b.errorHandler.errorHandler(null,d)})};
var Lad=function(a){MG(a.userAccess,"writer",cm("COMPONENT_SLO",a.componentId)).then(function(b){a.isComponentSloEditor=b})},yEb=function(a){var b,c=ds(a.currentTracker,null==(b=a.parentComponent)?void 0:b.componentPathInfo);return a.currentTracker.inTracker&&(!c||!c.componentPathId||0===c.componentPathId.length)},ys=function(a){return a.isSaving()||!a.isEditorInternal};f=O9.prototype;f.isAccessEditDisabled=function(){return this.isSaving()||!this.isAdmin()};
f.loadParentComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){b.parentComponent=c;b.parentComponent$.next(b.parentComponent);b.originalParentComponent=Yh(c);return c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};f.getRecentIssuesLink=function(){var a=this.isArchived();return im(this.componentId,{includeArchived:a})};f.componentPermissions=function(a){return{path:"/components/"+a,fragment:"access"}};
f.createIssue=function(){this.trackClick("createIssue");var a={};this.bLocation.url(this.paths.createIssue((a.component=String(this.component.componentId),a)))};f.createChild=function(){this.bLocation.url(this.paths.createComponent({parentId:this.component.componentId}))};f.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};
var nEb=function(a){a.butterBar.dismiss();a.retentionIsValid?a.hasUnsavedChanges()?ZG(a.butterBar,"You have unsaved changes on one or more tabs. Please save or revert these changes before "+a.archiveAction.slice(0,-1)+"ing."):(a.isArchiving=!0,YG(a.butterBar,"Looking up subcomponents...",0),a.componentActions.getDescendants(a.component.componentId).then(function(b){a.butterBar.dismiss();a.descendants=b;$A(a.matDialogService.open(a.confirmArchiveDialog,{restoreFocus:!1})).pipe(af(a.destroyed$)).subscribe(function(){a.archiveButton.focus()})}).catch(function(b){a.errorHandler.errorHandler(null,
b)})):ZG(a.butterBar,"Required retention settings are missing or invalid. Please set retention settings before "+a.archiveAction.slice(0,-1)+"ing.")};
O9.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 Sua(a);case "UNSPECIFIED_RETENTION":return"Retention period unspecified";default:Ch(b,"unexpected value "+b+"!")}};
O9.prototype.archive=function(){var a=this;this.isArchiving=!0;YG(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);YG(a.butterBar,a.archiveAction+'d component "'+a.component.name+'"',4E3);a.analytics.trackEvent("component","archive");b.userHasEditAccess=a.component.userHasEditAccess;a.updateComponentAndOriginalComponent(b);a.archiveAction=
b.archived?"Unarchive":"Archive";a.isArchiving=!1}).catch(function(b){a.component.archived=!a.component.archived;YG(a.butterBar,"Could not "+a.archiveAction.toLowerCase()+" component: "+($l(b)?am(b):b));a.isArchiving=!1})};
O9.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 g={};g=b.paths.getBaseUrl()+"/"+b.paths.createIssue((g.component=a?String(a):void 0,g.template=d.templateId?String(d.templateId):void 0,g));return{name:e,description:d.description||"",url:g}})}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
O9.prototype.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};
var Xad=function(a,b){return a.componentHistoryUiEnabled?a.componentUpdatesApi.get(b).then(function(c){a.updateDiffs=c.updates.map(function(d){var e=a.componentUpdates,g=e3a(d.addMask.paths),h=e3a(d.removeMask.paths),l={author:d.author||null,timestamp:d.timestamp||null,diffs:[]},q=d.add;d=d.remove;for(var v=k(new Set([].concat(cd(g),cd(h)))),x=v.next();!x.done;x=v.next()){var A=x.value;if(x=pJc.get(A))if("name"===A){var G=zp(h,A,d.name);A=zp(g,A,q.name);l.diffs.push(Ap(x,G,A))}else if("description"===
A)G=zp(h,A,d.description),A=zp(g,A,q.description),l.diffs.push(Ap(x,G,A));else if("parentComponentId"===A)G=zp(h,A,String(d.parentComponentId)),A=zp(g,A,String(q.parentComponentId)),l.diffs.push(Ap(x,G,A));else if("isArchived"===A)G=zp(h,A,String(d.archived)),A=zp(g,A,String(q.archived)),l.diffs.push(Ap(x,G,A));else if("commentEditState"===A){var M=qJc.get(d.commentEditState);G=qJc.get(q.commentEditState);M&&G&&(M=zp(h,A,M),A=zp(g,A,G),l.diffs.push(Ap(x,M,A)))}else"defaultTemplateId"===A?(G=zp(h,
A,String(d.defaultTemplateId)),A=zp(g,A,String(q.defaultTemplateId)),l.diffs.push(Ap(x,G,A))):"slo"===A?e.sessionIsInternal&&(G=zp(h,A,k3a(d.slo)),A=zp(g,A,k3a(q.slo)),l.diffs.push(Ap(x,G,A))):"team"===A?e.sessionIsInternal&&(G=zp(h,A,l3a(d.team)),A=zp(g,A,l3a(q.team)),l.diffs.push(Ap(x,G,A))):"retentionSettings"===A?(G=zp(h,A,i3a(d.retentionSettings)),A=zp(g,A,i3a(q.retentionSettings)),l.diffs.push(Ap(x,G,A))):e.$log.error("Unsupported diff field "+A)}return l}).filter(function(d){return d.diffs.length})}).catch(function(c){a.errorHandler.errorHandler(null,
c)}):Promise.reject()};O9.prototype.showUpdateHistoryModal=function(){var a=this;Xad(this,this.componentId).then(function(){a.matDialogService.open(L6,{width:"600px",data:{updateDiffs:a.updateDiffs}});a.analytics.trackEvent(ao.UPDATE_HISTORY_MODAL,"open");a.analytics.trackEvent(ao.MANAGE_COMPONENT,"viewHistory")})};O9.prototype.onSloChange=function(a){this.component.slo.id=a?a.sloId:"0";a&&Yad(this)};
var TEb=function(a){var b=!!a.parentComponent,c="0"!==a.component.team.id;return xs(a)&&(c||b)},ZEb=function(a){var b=!a.component.team||"0"===a.component.team.id,c=!a.parentComponent;return xs(a)&&(!a.component.slo.inherit||c&&b)},CEb=function(a){var b,c,d,e;pe(function(g){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?g.yield((0,D.firstValueFrom)(a.team$.pipe(C(function(h){a.component.slo.id=
h.slo.sloId;Yad(a)}))),0):(d=Zad(a),e=d.id,a.component.slo.id=e,Yad(a),g.jumpTo(0))})},YEb=function(a){var b=a.parentComponent||a.isParentComponentRequired;return"0"!==a.component.team.id||b?!0:!1},Zad=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){YG(a.butterBar,"Saving effort spec...",0);
a.component&&(a.component.effortSpec=b,a.componentActions.update(a.component).then(function(c){a.updateComponentAndOriginalComponent(c);a.analytics.trackEvent(ao.MANAGE_COMPONENT,"updateEffort");var d,e;if(null==(d=a.component)?0:null==(e=d.effortSpec)?0:e.name){var g;YG(a.butterBar,(null==(g=a.component.effortSpec)?void 0:g.name)+" saved")}else YG(a.butterBar,"Estimated Effort saved")}).catch(function(c){a.errorHandler.errorHandler(null,c)}))};
O9.prototype.updateComponentAndOriginalComponent=function(a){this.component=Yh(a);this.component$.next(this.component);this.originalComponent=Yh(a);var b;this.componentTeam$.next(null!=(b=this.component.team)?b:null);Yad(this)};O9.prototype.back=function(){J2(this.appHistory)};var Yad=function(a){var b;(null==(b=a.component)?0:b.slo)?a.isEnableSloChecked="0"!==a.component.slo.id:a.isEnableSloChecked=!1};
O9.\u0275fac=function(a){return new (a||O9)(B(xm),B(AI,2),B(sK),B(PH),B(Bac),B(QH),B(I2),B(XG),B(wW),B(Bs),B(OJ),B(eB),B(EI),B(xQ),B(LG),B(kV),B(aH),B(TY),B(w9),B(PJ),B(eH),B($I),B(PT),B(RT),B(PL))};
O9.\u0275cmp=Oc({type:O9,selectors:[["manage-component-page"]],viewQuery:function(a,b){a&1&&(bg(Had,5),bg(Iad,5),bg(y9,5),bg(Jad,5),bg(QN,5,Dd));if(a&2){var c;ag(c=dg())&&(b.confirmArchiveDialog=c.first);ag(c=dg())&&(b.archiveButton=c.first);ag(c=dg())&&(b.recommendationSettings=c.first);ag(c=dg())&&(b.metadataForm=c.first);ag(c=dg())&&(b.tabs=c)}},features:[Of([AI]),kf],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"],[3,"componentId","hasUnsavedChanges","isSaving",4,"ngIf"],[1,"edit-button-row"],["class","edit-button-group",4,"ngIf"],[1,"edit-button-group"],["format","hairline","title","View history for 'Basic Information'",3,"onAction",4,"ngIf"],[1,"edit-field","bv2-edit-resource-readonly"],[3,"children","onVisit",
4,"ngIf"],["tabindex","0","aria-label","Parent component",1,"edit-field"],["aria-describedby","edit-parent-help-bubble","for","component-parent-id",1,"help-label"],["id","edit-parent-help-bubble",1,"help-bubble","jfk-bubble"],["id","component-parent-id",3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["target","_blank","aria-label","Learn more about editable comments",1,"keep-underline","keep-focus-ring",3,"href"],["role","region","aria-label","Retention Settings",1,"edit-field"],
["for","retention-settings",1,"required"],[1,"edit-field-help"],["target","_blank","aria-label","Learn more about choosing a period of time to retain the data stored in this component.",1,"keep-underline","keep-focus-ring",3,"href"],["id","retention-settings"],[3,"issueRetentionDisabled","isExternal","initialModel","modelChange","validChange"],["role","region","tabindex","0","aria-label","Team Configuration",1,"edit-field"],["for","team-picker"],["id","team-picker",4,"ngIf"],["id","team-picker"],
[3,"isAdmin","isTopLevel","parentModel","useInternalLink","anchorTarget","model","modelChange"],["role","region","tabindex","0","aria-label","SLO Configuration",1,"edit-field"],["aria-describedby","edit-slo-help-bubble",1,"help-label"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],["class","slo-policy-link",4,"ngIf"],["class","slo-policy-source-link",4,"ngIf"],["class","slo-admins-link",4,"ngIf"],[1,"lock-state"],["class","edit-field less-margin",4,"ngIf"],[1,"slo-policy-link"],
[3,"routerLinkObj",4,"ngIf","ngIfElse"],["noInheritedSlo",""],[3,"routerLinkObj"],[1,"slo-policy-source-link"],["class","keep-focus-ring slo-inheritance-link",3,"routerLinkObj",4,"ngIf","ngIfElse"],["noPolicySource",""],["mat-stroked-button","","type","button","aria-label","Display the full SLO inheritance path below",1,"gmat-button","slo-inheritance-path","small",3,"click"],[1,"keep-focus-ring","slo-inheritance-link",3,"routerLinkObj"],["class","slo-breadcrumbs",4,"ngIf"],[1,"slo-breadcrumbs"],[3,
"componentPath","teamPath"],[1,"slo-admins-link"],["target","_blank",1,"keep-focus-ring",3,"routerLinkObj"],["unlocked",""],["svgIcon","lock-outline"],["svgIcon","lock-open"],[1,"edit-field","less-margin"],["gmat-checkbox","",1,"slo-override",3,"checked","disabled","change"],["class","edit-field component-slo-justification-text",4,"ngIf"],["name","slo-enable","labelPosition","before",1,"slo-enable",3,"ngModel","disabled","ngModelChange","change"],[1,"edit-field","component-slo-id-select"],["for",
"component-slo-id"],["id","component-slo-id","aria-describedby","edit-slo-help-bubble","tabindex","-1",1,"bv2-slo-picker","bv2-picker",3,"bv2Disabled","boundId","bv2Placeholder","onSloSelect"],["mat-icon-button","","class","gmat-button small","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",3,"routerLinkObj","target",4,"ngIf"],[1,"edit-field","component-slo-justification-text"],["for","component-slo-justification","id","component-settings-slo-justification-label",
1,"required"],["svgIcon","help-outline","tabindex","0","aria-hidden","false","matTooltip","Justification is required to override the org SLO.","aria-label","Justification is required to override the org SLO.",1,"slo-info","icon-s","valign-middle"],["name","comment","aria-labelledby","component-settings-slo-justification-label","required","",3,"ngModel","disabled","ngModelChange"],["mat-icon-button","","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",1,"gmat-button",
"small",3,"routerLinkObj","target"],["svgIcon","pop-out",1,"icon-s"],[3,"componentId","hasUnsavedChanges","isSaving"],["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"],[4,"ngFor","ngForOf"],["mat-flat-button","","mat-dialog-close","","aria-label","Click to archive the component","color","primary",3,"click"],["mat-button",
"","mat-dialog-close","","aria-label","Click to close the dialog without archiving the component",3,"click"],["aria-label","Learn more about archiving components","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["aria-label","Learn more about buganizer retention","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"b-archive-warning-indef",4,"ngIf"],[1,"bv2-limited-issue-view"],[3,"component"]],template:function(a,b){a&1&&(O(0,CFb,12,3,"ng-container",0),R(1,"async"),
O(2,DFb,2,1,"ng-template",null,1,gg));if(a&2){var c=Kf(3);E("ngIf",!S(1,2,b.showTrackerRedirect$))("ngIfElse",c)}},dependencies:[vQ,Qw,Rw,Ww,HB,MP,hZ,YY,j6,t7c,s6,O_,h1,w6,Bx,wg,tx,ux,Lx,Ax,yx,N9,WN,dO,QA,RA,$O,fB,gB,hB,iB,Nz,cU,RN,QN,lD,y9,p2,M9,wO,x9,n2,WM,qV,SL,B8,Xw,Zw],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 cGb=function(a){return[a]},dGb=function(){return[]},mGb=function(a){return{value:a}},$ad={BASIC:"basic",SLO:"slo",MAPPINGS:"componentMapping"},P9=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M){rF.call(this);var Q=this;this.activeSession=a;this.accessPolicyApi=b;this.appHistory=c;this.butterBar=d;this.checkBeforeExit=e;this.componentActions=g;this.errorHandler=h;this.location=l;this.pageTitle=q;this.routeParams=v;this.teamsService=x;this.userAccess=A;this.sloApi=G;this.sloService=M;this.originalSloLock=
!1;this.canEditSloLock=!0;this.sloJustification$=new D.BehaviorSubject("");this.error="";this.justificationRequiredText="Justification is required to override the org SLO.";this.selectedTabIndex=0;this.teamId=this.routeParams.teamId;this.team$=new D.ReplaySubject(1);this.teamSlo$=this.team$.pipe(C(function(W){return W.slo}));this.isSloLeadValid=!1;this.sloLeadEmail$=new D.BehaviorSubject("");this.sloLead$=new D.BehaviorSubject("");this.sloLeadUserValidators={sloLeadNotUser:function(W){if(W){W=k(W);
for(var ia=W.next();!ia.done;ia=W.next())if(0!==ia.value.indexOf("USER:"))return!1}return!0}};this.sloLeadGooglerValidators={sloLeadNotGoogler:function(W){if(W){W=k(W);for(var ia=W.next();!ia.done;ia=W.next())if(0!==ia.value.indexOf("UNRESTRICTED_GOOGLER:"))return!1}return!0}};this.teamAdmins$=(0,D.from)(this.accessPolicyApi.get("TEAM",this.teamId)).pipe(C(function(W){return W.admins.filter(xqa).map(Ei)}));this.teamLeads$=this.team$.pipe(C(function(W){return W.members.filter(function(ia){return ia.isLead}).map(function(ia){var ja,
Aa;return"USER:"+(null!=(Aa=null==(ja=ia.user)?void 0:ja.emailAddress)?Aa:"")})}));this.adminsAndLeads$=(0,D.combineLatest)([this.teamAdmins$,this.teamLeads$]).pipe(C(function(W){var ia=k(W);W=ia.next().value;ia=ia.next().value;var ja=new Set(W);ia=ia.filter(function(Aa){return!ja.has(Aa)});return[].concat(cd(W),cd(ia))}));this.associatedComponents$=(0,D.from)(this.componentActions.search("directteamid:"+this.teamId));this.teamPath$=this.team$.pipe(C(function(W){var ia=W.pathNames;return W.pathIds.map(function(ja,
Aa){return{id:ja,name:ia[Aa]}})}));this.isRootTeam$=this.teamPath$.pipe(C(function(W){return 1>=W.length?!0:!1}));this.parentTeam$=(0,D.combineLatest)([this.isRootTeam$,this.teamPath$]).pipe($e(function(W){var ia=k(W);W=ia.next().value;ia=ia.next().value;return W?(0,D.of)(null):Q.teamsService.getTeam(ia[ia.length-2].id)}));this.parentTeam=null;this.inheritedSlo$=this.parentTeam$.pipe($e(function(W){var ia,ja=null==W?void 0:null==(ia=W.slo)?void 0:ia.sloId;return ja&&"0"!==ja?Q.sloService.get(ja).then(function(Aa){return{id:ja,
link:Awa(ja),slo:Aa}}):(0,D.of)({id:"0"})}));this.sloPolicySource$=(0,D.combineLatest)([this.parentTeam$,this.teamPath$]).pipe(C(function(W){var ia=k(W);W=ia.next().value;ia=ia.next().value;var ja,Aa=null==W?void 0:null==(ja=W.slo)?void 0:ja.sourceTeamId;ja=ia.find(function(Da){return Da.id===Aa});return Aa&&ja?{name:ja.name,link:{path:"/teams/"+Aa+"/edit",fragment:"slo"}}:null}));this.Tab=$ad;this.enableSloLockingUi=pF(this.activeSession,"enableSloLockingUi");this.enableSloLead=pF(this.activeSession,
"enableSloLead");this.isSloInheritEnabled$=new D.BehaviorSubject(!0);this.sloId$=new D.BehaviorSubject("0");this.enableSloCheckedInternal=!1;this.sloLocked$=new D.BehaviorSubject(!1);this.hasSloReadAccess$=this.sloId$.pipe($e(function(W){return MG(Q.userAccess,"reader","slos/"+W)}),Ze(!1));this.sloPickerLink$=(0,D.combineLatest)([this.sloId$,this.hasSloReadAccess$]).pipe(C(function(W){var ia=k(W);W=ia.next().value;ia=ia.next().value;return W&&0<Number(W)&&ia?Awa(W):null}));this.hasUnsavedChanges$=
(0,D.combineLatest)([this.team$,this.sloId$,this.isSloInheritEnabled$,this.sloLocked$,this.sloJustification$,this.sloLeadEmail$]).pipe(C(function(W){var ia=k(W),ja=ia.next().value;W=ia.next().value;var Aa=ia.next().value,Da=ia.next().value,Oa=ia.next().value;ia=ia.next().value;var Ta=ja.slo,Wa,Nb;ja=null!=(Nb=null==(Wa=ja.sloLead)?void 0:Wa.emailAddress)?Nb:"";return Ta.inherit!==Aa||Ta.sloId!==W||Da!==Q.originalSloLock||Ta.comment!==Oa||ja!==ia}));this.hasEditAccess=!1;this.pageTitle.setTitle("Team Overview");
this.team$.pipe(af(this.destroyed$)).subscribe(function(W){Q.pageTitle.setTitle("Team: "+W.name)});a=pF(this.activeSession,"enableSloLockingCheck")?"teams/"+this.teamId+"/slo":"teams/"+this.teamId;MG(this.userAccess,"writer",a).then(function(W){Q.hasEditAccess=W});this.childTeams$=this.teamsService.getChildTeams([this.teamId]).pipe(C(function(W){return W.values().next().value}));this.sloLock$=this.sloApi.executor.get({url:"action/teams/"+this.teamId+"/slo_edit_policy",responseConstructor:MT}).pipe(C(Era));
var Y=nn(this.hasUnsavedChanges$.pipe(af(this.destroyed$)),!1);this.subscriptions.add(yQ(this.checkBeforeExit,function(){return Y.getValue()},!1))};T(P9,rF);P9.\u0275dir=rF.\u0275dir;
P9.prototype.ngOnInit=function(){var a=this,b,c;return pe(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),qe(d,2),d.yield((0,D.firstValueFrom)(a.teamsService.get(a.teamId)),4);case 4:c=d.yieldResult;Hs(d,3);break;case 2:return te(d),ZG(a.butterBar,"Unable to fetch team ID '"+a.teamId+"'"),d.return();case 3:return a.team$.next(c),gGb(a),d.yield((0,D.firstValueFrom)(a.parentTeam$),
5);case 5:a.parentTeam=d.yieldResult||null,ue(d)}})};P9.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)};P9.prototype.onSloChange=function(a){a&&(this.sloId=a.sloId)};
var fGb=function(a,b){var c,d,e,g,h,l;return pe(function(q){switch(q.nextAddress){case 1:if(!a.validate())return q.return();YG(a.butterBar,"Saving changes...",0);qe(q,2);if(!a.enableSloLead||(null==(c=b.sloLead)?void 0:c.emailAddress)===a.sloLeadEmail){q.jumpTo(4);break}return q.yield((0,D.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 v=
q.yield,x=D.firstValueFrom;var A=a.sloApi;var G=a.teamId,M=a.sloLocked,Q=new XE;M=Yi(Q,2,M?1:2).setTeamId(Number(G));A=A.executor.post({url:"action/teams/"+G+"/slo_edit_policy",responseConstructor:OT,body:M}).pipe(C(Era));return v.call(q,x.call(D,A),7);case 7:e=q.yieldResult,a.originalSloLock=e;case 6:g=b.slo;if(g.inherit===a.isSloInheritEnabled&&g.sloId===a.sloId&&a.originalSloLock===a.sloLocked&&g.comment===a.sloJustification){q.jumpTo(8);break}v=q.yield;x=D.firstValueFrom;M={sloId:a.sloId,inherit:a.isSloInheritEnabled,
comment:a.isSloInheritEnabled?"":a.sloJustification$.getValue(),sourceTeamId:"0"};A=a.teamsService;G=a.teamId;M=Qsa(M);Q=(new ZI).setTeamId(G);M=hj(Q,Wj,2,M);A=A.executor.post({url:"/action/teams/"+G+"/update_slo",body:M,responseConstructor:jF}).pipe(C(Osa));return v.call(q,x.call(D,A),9);case 9:h=q.yieldResult,a.team$.next(h);case 8:YG(a.butterBar,"Save complete.");Hs(q,0);break;case 2:l=te(q),cH(a.errorHandler,l),ue(q)}})};
P9.prototype.validate=function(){if(!this.isSloInheritEnabled&&""===this.sloJustification$.getValue())return this.error="Justification is required",!1;if(this.enableSloLead&&!this.isSloLeadValid)return this.error="Please provide a valid SLO lead",!1;this.error="";return!0};
var abd=function(a){(0,D.firstValueFrom)(a.team$).then(function(b){var c;b=null==(c=b.sloLead)?void 0:c.emailAddress;a.sloLead=b?"USER:"+b:""})},bbd=function(a){(0,D.firstValueFrom)(a.teamSlo$).then(function(b){a.sloId=b.sloId;a.isSloInheritEnabled=b.inherit;a.sloJustification$.next(b.comment)})},cbd=function(a){(0,D.firstValueFrom)(a.sloLock$).then(function(b){a.originalSloLock=b;a.sloLocked=b})},gGb=function(a){a.error="";abd(a);bbd(a);a.enableSloLockingUi&&cbd(a)};P9.prototype.back=function(){J2(this.appHistory)};
sh.Object.defineProperties(P9.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()}}});P9.\u0275fac=function(a){return new (a||P9)(B(Bs),B(pH),B(I2),B(XG),B(xQ),B(kV),B(aH),B(PH),B(wW),B(sK),B($I),B(LG),B(PT),B(RT))};
P9.\u0275cmp=Oc({type:P9,selectors:[["manage-team-page"]],viewQuery:function(a,b){a&1&&bg(QN,5,Dd);if(a&2){var c;ag(c=dg())&&(b.tabs=c)}},features:[kf],decls:8,vars:3,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["type","button","mat-icon-button","","aria-label","Go back","color","primary","ngClass","large","matTooltip","Go back",1,"gmat-button",3,"click"],["svgIcon","arrow-backward",1,"icon-m"],["cdkScrollable","",1,"bv2-view"],[4,"ngIf"],[1,"edit-resource-header"],["target",
"_blank",3,"href"],["svgIcon","pop-out",1,"icon-s"],["class","team-hierarchy-container",4,"ngIf"],["gmat-tabs","","mat-align-tabs","start",3,"selectedIndex","selectedIndexChange"],["label","Basic Information",3,"id"],[1,"edit-resource-panel"],[1,"edit-field"],[1,"field-label"],[1,"edit-field-header"],[1,"description"],[4,"ngIf","ngIfElse"],["emptyDescription",""],[1,"field-label-with-help"],[1,"help-label"],[1,"help-container"],[1,"help-bubble","jfk-bubble"],[1,"jfk-bubble-arrow","jfk-bubble-arrowleft"],
[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],["label","Team SLO",3,"id"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],["class","slo-policy-link",4,"ngIf"],[1,"slo-policy-source-link"],["class","slo-inheritance-link",3,"routerLinkObj",4,"ngIf","ngIfElse"],["noPolicySource",""],[1,"lock-state"],[3,"error"],["class","edit-field",4,"ngIf"],["class","edit-button-row",4,"ngIf"],["label","Component mapping",3,"id"],[1,"team-hierarchy-container"],[3,
"teamPath"],[3,"users"],["childTeamsLinks",""],[4,"ngFor","ngForOf"],[3,"routerLink"],[1,"slo-policy-link"],[3,"routerLinkObj",4,"ngIf","ngIfElse"],["noInheritedSlo",""],[3,"routerLinkObj"],[1,"slo-inheritance-link",3,"routerLinkObj"],["unlocked",""],["svgIcon","lock-outline"],["svgIcon","lock-open"],["class","edit-field less-margin",4,"ngIf"],[1,"edit-field","less-margin"],["gmat-checkbox","",1,"override-slo",3,"disabled","checked","change"],["class","edit-field slo-justification",4,"ngIf"],["name",
"slo-enable","labelPosition","before",1,"slo-enable",3,"ngModel","disabled","ngModelChange","change"],[1,"team-slo-id-select",3,"boundId","bv2Disabled","bv2Placeholder","onSloSelect"],["mat-icon-button","","class","gmat-button small slo-link","matTooltip","Go to SLO management page",3,"routerLinkObj","target",4,"ngIf"],[1,"edit-field","slo-justification"],["id","team-slo-justification-label",1,"required"],["svgIcon","help-outline",1,"icon-s","valign-middle",3,"matTooltip"],["aria-labelledby","team-slo-justification-label",
"required","",1,"slo-justification-text",3,"ngModel","disabled","ngModelChange"],["mat-icon-button","","matTooltip","Go to SLO management page",1,"gmat-button","small","slo-link",3,"routerLinkObj","target"],["gmat-checkbox","",1,"slo-lock",3,"checked","disabled","change"],["idForInputBox","team-slo-lead","ariaLabel","Team SLO lead email",3,"users","customValidators","detailedUserValidators","maxUserAllowed","usersChange","isValid"],[1,"edit-button-row"],[1,"edit-button-group"],["gmat-button","","mat-flat-button",
"","color","primary",3,"disabled","click"],["gmat-button","","mat-stroked-button","","color","primary",3,"disabled","click"],["associatedComponentLinks",""]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),L("click",function(){return b.back()}),I(4,"mat-icon",4),H()()()(),F(5,"div",5),O(6,nGb,86,39,"ng-container",6),R(7,"async"),H());a&2&&(z(6),E("ngIf",S(7,1,b.team$)))},dependencies:[Pw,Qw,Rw,HB,h1,wg,tx,Lx,Ax,N9,WN,QA,RA,$O,RN,QN,lD,Nz,cU,g0,KH,wO,n2,d2,Xw],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 Q9=function(){this.selectedSignals$=(0,D.of)([]);this.selected=new kw;this.ALL_SIGNAL_TYPES=KVa();this.isOpen=!1};Q9.prototype.openMenu=function(){this.isOpen=!0};Q9.prototype.closeMenu=function(){this.isOpen=!1};Q9.prototype.emitSelection=function(){var a=this.checkboxes.filter(function(b){return b.checked}).map(function(b){return b.value});this.selected.emit(a);this.closeMenu()};Q9.\u0275fac=function(a){return new (a||Q9)};
Q9.\u0275cmp=Oc({type:Q9,selectors:[["select-signals-menu"]],viewQuery:function(a,b){a&1&&bg($O,5);if(a&2){var c;ag(c=dg())&&(b.checkboxes=c)}},inputs:{selectedSignals$:"selectedSignals$"},outputs:{selected:"selected"},decls:4,vars:4,consts:[["mat-icon-button","","aria-label","Show menu to select signals","aria-haspopup","true","cdkOverlayOrigin","",1,"gmat-button","large",3,"click"],["trigger","cdkOverlayOrigin"],["svgIcon","filter"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","",
"cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop","cdkConnectedOverlayPanelClass","select-signals-menu",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","detach","backdropClick"],["cdkTrapFocus","","cdkTrapFocusAutoCapture",""],[1,"margin-s-y","margin-x","heading-s"],["mat-button","",1,"gmat-button","small","float-right",3,"click"],["class","signal-types",4,"ngIf"],[1,"flex-kids-x","justify-flex-end","padded-s","gap-s"],["mat-stroked-button","",3,"click"],["mat-flat-button",
"","color","primary",3,"click"],[1,"signal-types"],[4,"ngFor","ngForOf"],["class","signal flex-kids-x padded-s padded-right",4,"ngIf"],[1,"signal","flex-kids-x","padded-s","padded-right"],[1,"margin-right","margin-s-left","margin-xs-top",3,"id","aria-labelledby","value","checked"],[1,"type-l","display-block",3,"id","for"],[3,"for"]],template:function(a,b){a&1&&(F(0,"button",0,1),L("click",function(){return b.openMenu()}),I(2,"mat-icon",2),H(),O(3,sGb,13,3,"ng-template",3),L("detach",function(){return b.closeMenu()})("backdropClick",
function(){return b.closeMenu()}));if(a&2){var c=Kf(1);xf("menu-open",b.isOpen);z(3);E("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isOpen)}},dependencies:[Qw,Rw,HB,$O,QA,XM,fA,eA,Xx,Xw],styles:[".select-signals-menu{box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15);border-radius:4px;background-color:#fff;background-color:var(--background);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:18rem;max-height:calc(100vh - 100px);overflow-y:auto}.menu-open[_ngcontent-%COMP%]{background-color:#d2e3fc;background-color:var(--selected-bg)}.signal[_ngcontent-%COMP%]:hover{background-color:#e8f0fe;background-color:var(--primary-c50)}\n/*# sourceMappingURL=select_signals_menu.css.map */"]});var R9=function(a){this.dateFormatter=a;this.iconOnly=this.isSelected=this.generalDescriptionOnly=!1;this.count=-1;this.matTooltipShowDelay=0;this.removable=!1;this.onRemove=new kw};
R9.prototype.getSignalTypeTooltip=function(){var a=this;if(this.generalDescriptionOnly)return this.signal.signalType?(0,D.of)(MVa(this.signal)):(0,D.of)("");var b;return null!=(b=this.signal.timestamp)&&b.seconds?this.dateFormatter.formatUserCalendar(new Date(1E3*this.signal.timestamp.seconds)).pipe(C(function(c){return LVa(a.signal,c)})):(0,D.of)(LVa(this.signal))};R9.prototype.onClickRemove=function(){this.onRemove.emit(this.signal.signalType)};R9.\u0275fac=function(a){return new (a||R9)(B(EL))};
R9.\u0275cmp=Oc({type:R9,selectors:[["b-signal-chip"]],inputs:{signal:"signal",generalDescriptionOnly:"generalDescriptionOnly",isSelected:"isSelected",iconOnly:"iconOnly",count:"count",matTooltipShowDelay:"matTooltipShowDelay",removable:"removable"},outputs:{onRemove:"onRemove"},decls:1,vars:1,consts:[[3,"full-chip","selected","matTooltip","matTooltipShowDelay","class",4,"ngIf"],[3,"matTooltip","matTooltipShowDelay"],[3,"svgIcon"],[4,"ngIf"],["mat-icon-button","","class","gmat-button small remove-button",
"matTooltip","Remove filter","matTooltipPosition","above",3,"click",4,"ngIf"],["mat-icon-button","","matTooltip","Remove filter","matTooltipPosition","above",1,"gmat-button","small","remove-button",3,"click"],[1,"a11y-only"],["svgIcon","close"]],template:function(a,b){a&1&&O(0,wGb,5,14,"span",0);a&2&&(a=b.signal.signalType?aEc.has(b.signal.signalType)?aEc.get(b.signal.signalType):null:null,E("ngIf",a))},dependencies:[Rw,HB,QA,lD,Xw],styles:[".full-chip[_ngcontent-%COMP%]{padding:0 4px}.full-chip.needs-reporter-input[_ngcontent-%COMP%], .full-chip.newly-assigned[_ngcontent-%COMP%], .full-chip.newly-blocking[_ngcontent-%COMP%], .full-chip.replied-to-mention[_ngcontent-%COMP%]{padding-left:8px}.chippy.selected[_ngcontent-%COMP%]{font-weight:500}.chippy.selected[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{color:inherit}.chippy.selected.near-slo[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);box-shadow:inset 0 0 0 1px #bd4800;box-shadow:inset 0 0 0 1px var(--orange-text);background-color:#fff3e9;background-color:var(--orange-bg)}.chippy.selected.mentioned-me[_ngcontent-%COMP%]{color:#d01884;color:var(--pink-text);box-shadow:inset 0 0 0 1px #d01884;box-shadow:inset 0 0 0 1px var(--pink-text);background-color:#fff2f9;background-color:var(--pink-bg)}.chippy.selected.unblocked[_ngcontent-%COMP%]{color:#34989d;color:var(--cyan-text);box-shadow:inset 0 0 0 1px #34989d;box-shadow:inset 0 0 0 1px var(--cyan-text);background-color:#ebfcfe;background-color:var(--cyan-bg)}.chippy.selected.needs-reporter-input[_ngcontent-%COMP%]{color:#9334e6;color:var(--purple-text);box-shadow:inset 0 0 0 1px #9334e6;box-shadow:inset 0 0 0 1px var(--purple-text);background-color:#f9f3ff;background-color:var(--purple-bg)}.chippy.selected.newly-blocking[_ngcontent-%COMP%]{color:#d42521;color:var(--red-text);box-shadow:inset 0 0 0 1px #d42521;box-shadow:inset 0 0 0 1px var(--red-text);background-color:#fff2f1;background-color:var(--red-bg)}.chippy.selected.newly-assigned[_ngcontent-%COMP%]{color:#185abc;color:var(--blue-text);box-shadow:inset 0 0 0 1px #185abc;box-shadow:inset 0 0 0 1px var(--blue-text);background-color:#f2f6ff;background-color:var(--blue-bg)}.chippy.selected.replied-to-mention[_ngcontent-%COMP%]{color:#137333;color:var(--green-text);box-shadow:inset 0 0 0 1px #137333;box-shadow:inset 0 0 0 1px var(--green-text);background-color:#edfbf1;background-color:var(--green-bg)}\n/*# sourceMappingURL=signal_chip.css.map */"]});var yGb=function(a){return{signalType:a}},BGb=function(){return[]},S9=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q){rF.call(this);this.appSearchState=a;this.pageTitle=b;this.paths=c;this.userPreferencesManager=d;this.needsAttentionApi=e;this.cdr=g;this.analytics=h;this.bLocation=l;this.domSafe=q;this.issueFridge=v;this.errorHandler=x;this.snackbar=A;this.currentTracker=G;this.appEvents=M;this.issuePagination=Q;this.issues=[];this.columns=[W0,X0,Y0,new Qp({name:"alerts",sortable:!1,draggable:!1,fullLabel:"Alerts",
label:"ALERTS"}),Object.assign({},Rp("priority"),{draggable:!1}),Object.assign({},Rp("title"),{draggable:!1}),Object.assign({},Rp("assignee"),{draggable:!1}),Object.assign({},Rp("status"),{draggable:!1}),Object.assign({},Rp("issueId"),{draggable:!1}),new Qp({name:"dismiss",sortable:!1,draggable:!1,isMetadata:!0})];this.starInProgress={};this.dismissInProgress={};this.dismissSelectedInProgress=!1;this.lastDismissedRowIssueIds=new Set;this.listViewPrefs$=this.userPreferencesManager.listViewPreferences$;
this.lastCheckedIndex=this.focusedRowIndex=null;this.isLoading=!1;this.STATUS_ICON=E$b;this.STATUS_FULL_TEXT=dG;this.STATUS_TERSE=$F;this.ALL_SIGNAL_TYPES=KVa();this.selectedSignals$=new D.BehaviorSubject([]);this.sortConfig={field:"priority",direction:"ASC"};this.HOTKEYS=iN;this.SPACE_EMPTY_STATE=jkc};T(S9,rF);S9.\u0275dir=rF.\u0275dir;
S9.prototype.ngOnInit=function(){var a=this;this.pageTitle.setTitle("Needs attention");setTimeout(function(){a.appSearchState.clear()});this.userPreferencesManager.needsAttentionPreferences$.pipe(Oe()).subscribe(function(b){var c;a.selectedSignals$.next(null!=(c=b.selectedSignals)?c:[])});this.selectedSignals$.pipe(af(this.destroyed$)).subscribe(function(){a.fetchIssues()});this.destroyed$.pipe(Oe()).subscribe(function(){var b;null==(b=a.snackBarRefForUndo)||b.dismiss()})};
var AGb=function(a,b){a.selectedSignals$.next(b);a.userPreferencesManager.save({needsAttentionPreferences:{selectedSignals:b}}).pipe(Oe()).subscribe()};S9.prototype.convertIssueStatusStrToTag=function(a){return tj[a]};S9.prototype.hasResults=function(){return 0<this.issues.length-this.lastDismissedRowIssueIds.size};S9.prototype.issueDescription=function(a){return"Needs attention Issue ID "+a.id+" titled: "+a.title};
S9.prototype.goToIssue=function(a,b,c){var d;c&&"A"===(null==(d=c.target)?void 0:d.tagName)||(QGb(this,a),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):c&&c.shiftKey?Zn(this.domSafe,a):this.bLocation.url(a))};
var QGb=function(a,b){var c,d=null==(c=a.issues.find(function(e){return e.issueId===b}))?void 0:c.signals.map(function(e){return e.signalType}).sort().join(",");a.analytics.trackEvent(ao.NEEDS_ATTENTION,"viewIssue",d)},KGb=function(a){return 0===a.issues.length?!1:a.issues.every(function(b){return b.selected})};f=S9.prototype;f.someIssuesSelected=function(){return this.issues.some(function(a){return a.selected})};
f.getHeaderCheckboxState=function(){if(0===this.issues.length)return"unchecked";for(var a=!0,b=!1,c=k(this.issues),d=c.next();!d.done;d=c.next())d.value.selected?b=!0:a=!1;return a?"checked":b?"indeterminate":"unchecked"};f.toggleAllIssueSelection=function(){if(0!==this.issues.length){for(var a=!this.someIssuesSelected(),b=k(this.issues),c=b.next();!c.done;c=b.next())c.value.selected=a;this.cdr.detectChanges()}};
f.onCheckboxClicked=function(a,b,c){if(a.shiftKey&&(a=c.selected,null!==this.lastCheckedIndex&&0<this.issues.length)){if(b<this.lastCheckedIndex){var d=b+1;var e=this.lastCheckedIndex+1}else d=this.lastCheckedIndex,e=b;d=this.issues.slice(d,e);d=k(d);for(e=d.next();!e.done;e=d.next())e.value.selected=!a}c.selected=!c.selected;this.lastCheckedIndex=b};
f.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,Tdc(this.issueFridge,String(a.issueId),a.starred).pipe(Oe(),af(this.destroyed$)).subscribe(function(){b.starInProgress[a.issueId]=!1;b.cdr.detectChanges()},function(c){a.starred=!a.starred;b.starInProgress[a.issueId]=!1;b.errorHandler.errorHandler(null,c);b.cdr.detectChanges()}))};
var DGb=function(a){a.dismissSelectedInProgress=!0;for(var b=[],c=k(a.issues),d=c.next();!d.done;d=c.next())d=d.value,d.selected&&(b.push(d.issueId),a.dismissInProgress[d.issueId]=!0);$Dc(a.needsAttentionApi,b,!0).then(function(){return void dbd(a,b)},function(e){return void a.errorHandler.errorHandler(null,e)}).finally(function(){a.dismissSelectedInProgress=!1;for(var e=k(b),g=e.next();!g.done;g=e.next())a.dismissInProgress[g.value]=!1})};
S9.prototype.dismissIssue=function(a){var b=this;this.dismissInProgress[a.issueId]||(this.dismissInProgress[a.issueId]=!0,$Dc(this.needsAttentionApi,[a.issueId],!0).then(function(){return void dbd(b,[a.issueId])},function(c){return void b.errorHandler.errorHandler(null,c)}).finally(function(){b.dismissInProgress[a.issueId]=!1}))};
var dbd=function(a,b){a.analytics.trackEvent(ao.NEEDS_ATTENTION,"dismissIssue","numberOfIssues",b.length);for(var c=k(b),d=c.next();!d.done;d=c.next())a.lastDismissedRowIssueIds.add(d.value);c=k(a.issues);for(d=c.next();!d.done;d=c.next())d=d.value,b.includes(d.issueId)&&(d.selected=!1);a.appEvents.needsAttentionIssueCount.next(a.issues.length-b.length);a.cdr.detectChanges();a.snackBarRefForUndo=a.snackbar.open({message:1===b.length?'Issue dismissed from "Needs attention" list':'All selected issues dismissed from "Needs attention" list',
actionLabel:"Undo"});a.snackBarRefForUndo._afterDismissed.pipe(Oe()).subscribe(function(e){e.dismissedByAction&&ebd(a,b)})},ebd=function(a,b){$Dc(a.needsAttentionApi,b,!1).then(function(){a.analytics.trackEvent(ao.NEEDS_ATTENTION,"unDismissIssue","numberOfIssues",b.length);for(var c=k(b),d=c.next();!d.done;d=c.next())a.lastDismissedRowIssueIds.delete(d.value);a.appEvents.needsAttentionIssueCount.next(a.issues.length);a.cdr.detectChanges();a.snackbar.open({message:"Issue"+(1<b.length?"s":"")+' un-dismissed from "Needs attention" list'})},
function(c){return void a.errorHandler.errorHandler(null,c)})};f=S9.prototype;f.isLowPriority=function(a){return 2<=Number(a.priority)};f.isHighPriority=function(a){return 2>Number(a.priority)};f.isP0Priority=function(a){return 0===Number(a.priority)};f.selectAllSignals=function(){this.selectedSignals$.next([].concat(cd(this.ALL_SIGNAL_TYPES)))};
f.fetchIssues=function(){var a=this,b;null==(b=this.snackBarRefForUndo)||b.dismiss();this.lastDismissedRowIssueIds.clear();this.isLoading=!0;b=fbd(this);b={page:1,resultsPerPage:this.needsAttentionApi.COUNT,sortColumns:b?[b]:[],returnUrl:this.paths.needsAttention(),trackerIds:kkc(this.currentTracker),fromNeedsAttention:!0,selectedSignals:this.selectedSignals$.value};nX(this.issuePagination);gHc(this.issuePagination,b).then(function(c){a.issues=c.issues;a.isLoading=!1;a.cdr.detectChanges()})};
var iHb=function(a){var b=a.selectedSignals$.value;return a.issues.filter(function(c){var d=c.signals.some(function(e){return b.includes(e.signalType)});return!a.lastDismissedRowIssueIds.has(c.issueId)&&d})};S9.prototype.toggleSignal=function(a){var b=this.selectedSignals$.value,c=b.indexOf(a);-1===c?b.push(a):b.splice(c,1);AGb(this,[].concat(cd(b)))};var fbd=function(a){var b=Kk(a.sortConfig.field);a="ASC"===a.sortConfig.direction?"ASCENDING":"DESCENDING";return b?new Nk(b,a):null};
S9.prototype.onSortChange=function(a){this.sortConfig=a;this.fetchIssues()};S9.\u0275fac=function(a){return new (a||S9)(B(RX),B(wW),B(QH),B(VJ),B(NV),B(AI,2),B(EI),B(PH),B(vL),B(JI),B(aH),B(WG),B(PL),B(eH),B(mX))};
S9.\u0275cmp=Oc({type:S9,selectors:[["ng-component"]],features:[Of([AI]),kf],decls:9,vars:6,consts:[[1,"a11y-only"],[1,"border-bottom","padded-xs-y"],["class","applied-signals flex-kids-x",4,"ngIf"],[4,"ngIf"],[1,"needs-attention-table","overflow"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading layout-centered-column gap","tabindex","-1",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"applied-signals","flex-kids-x"],[1,"attention-actions","flex-kids-x","align-items-center"],
["mat-icon-button","","color","primary","matTooltip","Refresh","aria-label","Refresh",1,"gmat-button","large",3,"hotkey","click","onHotkey"],["svgIcon","refresh"],[1,"heading-s","margin-xs-y"],["href","http://go/b-needs-attention-guide","matTooltip","Needs attention signals guide","aria-label","Needs attention signals guide","mat-icon-button","","target","_blank",1,"small","margin-xs-x"],["svgIcon","help-outline",1,"icon-s"],[1,"padded-s-left","border-left","signal-chips","flex-kids-x","flex-wrap",
"align-items-center"],[1,"margin-s-right",3,"selectedSignals$","selected"],["class","chippy rounded",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"chippy","rounded"],[3,"removable","generalDescriptionOnly","iconOnly","isSelected","matTooltipShowDelay","signal","onRemove"],["mat-button","","color","primary",3,"disabled","click"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading","layout-centered-column","gap"],["draggable","false","aria-hidden","true","alt","",1,"empty-state-img","padded-y",3,"src"],
[1,"type-l"],["class","muted",4,"ngIf","ngIfElse"],["noResults",""],[1,"muted"],[1,"bv2-grid-container"],["scrollContainer",".needs-attention-table",1,"keep-focus-ring",3,"list","columns","focusedRowIndex","enableDragDropHeader","rowLabelRenderer","sort","focusedRowIndexChange","rowClick","sortChange"],["class","focus-indicator",4,"forHeaderCell"],["class","selected-box",4,"forHeaderCell"],[4,"forHeaderCellDefault"],["class","focus-indicator",4,"forViewCell"],["class","selected-box",4,"forViewCell"],
["class","star-cell",4,"forViewCell"],["data-template","issueId","class","clickable",4,"forViewCell"],["class","clickable signal-cell",4,"forViewCell"],[4,"forViewCell"],["class","clickable title-cell",3,"bv2-grid-cell-variable-height",4,"forViewCell"],["class","priority-cell clickable",4,"forViewCell"],["data-stable-cell","status","class","clickable",4,"forViewCell"],["class","clickable",4,"forViewCell"],[1,"focus-indicator"],[1,"selected-box"],["tabindex","0","aria-label","Select all issues","role",
"checkbox",1,"keep-focus-ring","b-select-all-toggle",3,"state","click","keydown.enter","keydown.space"],[3,"column"],["tabindex","-1","role","checkbox",3,"state","click"],[1,"star-cell"],["tabindex","-1",3,"starred","disabled","starMessage","unStarMessage","starClicked"],["data-template","issueId",1,"clickable"],["tabindex","-1",1,"row-issue-id",3,"href","click"],[1,"clickable","signal-cell"],[3,"signal","iconOnly","isSelected"],[1,"clickable","title-cell"],[1,"bv2-grid-cell-container"],[3,"accessLevel",
"compactMode"],[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href","click"],["class","bv2-hotlist-chips",4,"ngIf"],[1,"bv2-hotlist-chips"],[3,"id","removable",4,"ngFor","ngForOf"],[3,"id","removable"],[1,"priority-cell","clickable"],[1,"bv2-priority"],["data-stable-cell","status",1,"clickable"],[3,"ngSwitch","title"],["class","icon-s",3,"svgIcon",4,"ngSwitchCase"],[4,"ngSwitchCase"],[3,"class",4,"ngSwitchDefault"],[1,"icon-s",
3,"svgIcon"],[1,"clickable"],[3,"email",4,"ngIf"],[3,"email"]],template:function(a,b){a&1&&(F(0,"h2",0),P(1,"Issues which need your attention"),H(),F(2,"div",1),O(3,CGb,14,9,"div",2),O(4,EGb,3,1,"div",3),H(),F(5,"div",4),O(6,FGb,4,0,"div",5),O(7,IGb,8,6,"div",6),O(8,jHb,15,18,"div",7),H());a&2&&(z(3),E("ngIf",!b.someIssuesSelected()),z(1),E("ngIf",b.someIssuesSelected()),z(1),of("aria-busy",b.isLoading),z(1),E("ngIf",b.isLoading),z(1),E("ngIf",!b.isLoading&&!b.hasResults()),z(1),E("ngIf",!b.isLoading&&
b.hasResults()))},dependencies:[Qw,Rw,Sw,Tw,Uw,HB,sA,QA,RA,T_,Y_,U_,V_,W_,WM,wU,a0,MP,L0,uU,uL,lD,hN,R9,Q9,Xw,IK],styles:[".needs-attention-table[_ngcontent-%COMP%]{height:calc(100vh - 120px)}.applied-signals[_ngcontent-%COMP%]{padding-left:5px}.attention-actions[_ngcontent-%COMP%]{min-width:fit-content}.attention-actions[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:normal}.empty-state-img[_ngcontent-%COMP%]{max-width:320px}.select-all-signals[_ngcontent-%COMP%]{cursor:pointer;padding:0 10px 0 8px}.select-all-signals.selected[_ngcontent-%COMP%]{font-weight:500;color:#185abc;color:var(--selected-text);box-shadow:inset 0 0 0 1px #185abc;box-shadow:inset 0 0 0 1px var(--selected-text);background-color:#d2e3fc;background-color:var(--selected-bg)}/*# sourceMappingURL=needs_attention.css.map */"],
changeDetection:0});var lHb=function(a){return{feature:a}},gbd=function(a){this.beapService=a;this.beapFeaturesTF$=S6c(this.beapService,"TEAM_FOOD");this.beapFeaturesEA$=S6c(this.beapService,"EARLY_ACCESS");this.hasFeatures$=(0,D.combineLatest)([this.beapFeaturesTF$,this.beapFeaturesEA$]).pipe(C(function(b){var c=k(b);b=c.next().value;c=c.next().value;return 0<b.length+c.length}));this.hasFeaturesTF$=this.beapFeaturesTF$.pipe(C(function(b){return 0<b.length}));this.hasFeaturesEA$=this.beapFeaturesEA$.pipe(C(function(b){return 0<
b.length}));this.linkClicked={}};gbd.\u0275fac=function(a){return new (a||gbd)(B(I5))};
gbd.\u0275cmp=Oc({type:gbd,selectors:[["b-beap-settings"]],decls:6,vars:4,consts:[[4,"ngIf","ngIfElse"],["featureEmptyState",""],["featureStageContainer",""],["class","feature-stage-container",4,"ngIf"],[1,"feature-stage-container"],[1,"feature-stage-title"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"feature-empty-state-message"],[1,"feature-container"],[1,"feature-container-row"],[1,"feature-toggle-col"],[3,"checked","matTooltip","disabled"],[1,"feature-desc-col"],
[1,"feature-title"],[1,"feature-desc"],["mat-button","","color","primary","class","small no-visited-no-active","target","_blank",4,"ngIf"],[1,"feature-action-bar"],["mat-button","","color","primary","target","_blank",1,"small","no-visited-no-active",3,"click"],["svgIcon","pop-out",1,"icon-s"],["messageType","info",4,"ngIf"],[1,"feature-badge-col"],[3,"experimentId"],["mat-button","","color","primary","target","_blank",1,"small","no-visited-no-active"],["messageType","info"]],template:function(a,b){a&
1&&(O(0,rHb,5,6,"ng-container",0),R(1,"async"),O(2,sHb,2,0,"ng-template",null,1,gg),O(4,vHb,20,16,"ng-template",null,2,gg));if(a&2){var c=Kf(3);E("ngIf",S(1,2,b.hasFeatures$))("ngIfElse",c)}},dependencies:function(){return[K5,fX,gX,Qw,Rw,Ww,HB,RA,cU,lD,Xw,T9]},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 T9=function(){};T9.prototype.transform=function(a){return"STATE_ENABLED"===a?!0:!1};T9.\u0275fac=function(a){return new (a||T9)};T9.\u0275pipe=Uc({name:"featureState",type:T9,pure:!0});var U9=function(a,b){this.name=a;this.resourceType=void 0===b?null:b;this.options=[]};U9.prototype.shouldDisplay=function(){return!0};U9.prototype.hasOptions=function(){return!1};U9.prototype.getDefaultOptionId=function(){return null};var V9=function(a,b){this.name=a;this.resourceType=b;this.options=[]};V9.prototype.shouldDisplay=function(){return 0<this.options.length};V9.prototype.hasOptions=function(){return 0<this.options.length};
V9.prototype.getDefaultOptionId=function(){return this.hasOptions()?this.options[0].id:null};
var hbd=function(a,b){this.id=a;this.name=b},jbd=function(a,b,c,d,e,g){var h=this;this.butterBar=a;this.sidebar=b;this.userPreferencesManager=c;this.cdr=d;this.appEvents=e;this.activeSession=g;this.selectedOptionId=null;this.subscriptions=new D.Subscription;this.hotlistMainOption=new V9("Hotlist","HOTLIST");this.savedSearchMainOption=new V9("Saved search","SAVED_SEARCH");this.bookmarkGroupMainOption=new V9("Bookmark group","BOOKMARK_GROUP");this.needsAttentionMainOption=new U9("Needs attention","NEEDS_ATTENTION");
this.experimentalHomepageMainOption=new U9("Home","EXPERIMENTAL_HOMEPAGE");this.mainOptions=[new U9("Assigned issues"),this.hotlistMainOption,this.savedSearchMainOption,this.bookmarkGroupMainOption];pF(this.activeSession,"showNeedsAttentionUI")&&this.activeSession.isInternalSession()&&this.mainOptions.push(this.needsAttentionMainOption);pF(this.activeSession,"enableHomepageVariantA")&&this.activeSession.isInternalSession()&&this.mainOptions.push(this.experimentalHomepageMainOption);a={};this.resourceMainOptions=
(a.HOTLIST=this.hotlistMainOption,a.SAVED_SEARCH=this.savedSearchMainOption,a.BOOKMARK_GROUP=this.bookmarkGroupMainOption,a.NEEDS_ATTENTION=this.needsAttentionMainOption,a.EXPERIMENTAL_HOMEPAGE=this.experimentalHomepageMainOption,a);this.selectedMainOption=this.mainOptions[0];ibd(this);this.subscriptions.add(this.appEvents.sidebarUpdated.subscribe(function(){ibd(h);h.cdr.detectChanges()}));this.subscriptions.add(this.userPreferencesManager.preferences$.subscribe(function(l){l.homepagePreferences&&
(l=l.homepagePreferences,l.resourceType?(h.selectedMainOption=h.resourceMainOptions[l.resourceType]||h.mainOptions[0],h.selectedOptionId=l.resourceId||null,ibd(h)):(h.selectedMainOption=h.mainOptions[0],h.selectedOptionId=null))}))};jbd.prototype.destroy=function(){this.subscriptions.unsubscribe()};
var zHb=function(a){YG(a.butterBar,"Saving preferences...",0);if(null===a.selectedMainOption.resourceType||a.selectedMainOption.hasOptions()&&null===a.selectedOptionId)var b=a.userPreferencesManager.clearHomepagePreferences();else b={resourceType:a.selectedMainOption.resourceType},a.selectedMainOption.hasOptions()&&a.selectedOptionId&&(b.resourceId=a.selectedOptionId),b=ogc(a.userPreferencesManager,b);b.subscribe(function(){YG(a.butterBar,"Preferences saved.",4E3)})},ibd=function(a){function b(c){return new hbd(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 hbd(String(a.selectedOptionId),a.selectedMainOption.name+" "+a.selectedOptionId)))};var kbd=Ota[3],W9=function(a,b,c,d,e,g,h,l,q){rF.call(this);this.cdr=a;this.userPreferencesManager=b;this.butterBar=c;this.activeSession=d;this.documentationLinks=e;this.analytics=g;this.sidebar=l;this.appEvents=q;this.dateFormats=[{value:"MMM d, yyyy",label:"Dec 31, 2015"},{value:"EE MMM dd, yyyy",label:"Thu Dec 31, 2015"},{value:"yyyy-MM-dd",label:"2015-12-31"},{value:"MM/dd/yyyy",label:"12/31/2015"},{value:"dd-MM-yyyy",label:"31-12-2015"},{value:"dd.MM.yyyy",label:"31.12.2015"}];this.timeFormats=
[{value:"hh:mma",label:"01:00PM"},{value:"h:mma",label:"1:00PM"},{value:"HH:mm",label:"13:00"},{value:"HH:mm:ss",label:"13:00:01"}];this.timeZones=[];this.appName=d.getAppName();this.timeZones.push.apply(this.timeZones,cd(h.supportedTimeZones.map(function(v){return{value:v.id,label:v.name}})));this.sloEnabled=d.isInternalSession();this.showBugScreensaverSetting=d.isInternalSession();this.showShowInlineImagesSetting=d.isInternalSession()&&pF(this.activeSession,"enableImageSummary")};T(W9,rF);
W9.\u0275dir=rF.\u0275dir;W9.prototype.ngOnInit=function(){var a=this;this.destroyed$.subscribe(function(){var b;null==(b=a.preferredHomepage)||b.destroy()});this.preferredHomepage=new jbd(this.butterBar,this.sidebar,this.userPreferencesManager,this.cdr,this.appEvents,this.activeSession);this.userPreferencesManager.preferences$.pipe(af(this.destroyed$)).subscribe(function(b){a.userPreferences=b;a.cdr.detectChanges()})};
W9.prototype.save=function(a,b,c){var d=this;YG(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){YG(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};var lbd=function(a){var b;return(null==(b=a.userPreferences.textDisplayPreferences)?void 0:b.commentDisplayOverride)===kbd};W9.prototype.getShowInlineImages=function(){var a;return null!=(a=this.userPreferences.showInlineImages)?a:!1};
W9.\u0275fac=function(a){return new (a||W9)(B(AI,2),B(VJ),B(XG),B(Bs),B(OJ),B(EI),B(cK),B(zX),B(eH))};
W9.\u0275cmp=Oc({type:W9,selectors:[["b-general-settings"]],features:[Of([AI]),kf],decls:69,vars:15,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"],[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"],[4,"ngIf"],["class","bv2-settings-preferred-homepage-main-option-select-item",3,"value",4,"ngIf"],[1,"bv2-settings-preferred-homepage-main-option-select-item",3,"value"],["id","bv2-homepage-pref-suboption-selection",1,"homepage-option-select",3,"ngModel","ngModelChange","selectionChange"],["class","bv2-settings-preferred-homepage-option-select-item",3,"value",
4,"ngFor","ngForOf"],[1,"bv2-settings-preferred-homepage-option-select-item",3,"value"],[3,"value"],["id","bv2-show-inline-images",3,"checked","change"],["id","bv2-bug-screensaver",3,"checked","change"]],template:function(a,b){a&1&&(F(0,"div")(1,"div",0)(2,"div",1)(3,"p",2),P(4,"Preferred homepage"),H(),F(5,"p",3),P(6," Select your preferred homepage when first opening the app. "),F(7,"a",4),P(8," Learn more "),H()()(),F(9,"div")(10,"div")(11,"mat-form-field",5)(12,"mat-label",6),P(13," Current selection "),
H(),F(14,"mat-select",7),L("ngModelChange",function(c){return b.preferredHomepage.selectedMainOption=c})("selectionChange",function(){var c=b.preferredHomepage;c.selectedOptionId=c.selectedMainOption.getDefaultOptionId();zHb(c);c.cdr.detectChanges()}),O(15,xHb,2,1,"ng-container",8),H()(),O(16,AHb,3,2,"mat-form-field",9),H()()(),I(17,"hr",10),F(18,"div",0)(19,"div",1)(20,"p",2),P(21,"Date/time formatting settings"),H(),F(22,"p",3),P(23," Select how you want dates and times to be formatted. "),F(24,
"a",4),P(25," Learn more "),H()()(),F(26,"div")(27,"div")(28,"mat-form-field",11)(29,"mat-label",12),P(30," Dates "),H(),F(31,"mat-select",13),L("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.calendarFormat=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),O(32,BHb,2,2,"mat-option",14),H()()(),F(33,"div")(34,"mat-form-field",15)(35,"mat-label",16),P(36," Times "),H(),F(37,"mat-select",13),L("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeFormat=
c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),O(38,CHb,2,2,"mat-option",14),H()()(),F(39,"div")(40,"mat-form-field",17)(41,"mat-label",18),P(42," Time Zones "),H(),F(43,"mat-select",13),L("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeZone=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),O(44,DHb,2,2,"mat-option",14),H()()()()(),I(45,"hr",10),F(46,"div",0)(47,"div",1)(48,"p",2),P(49,"Keyboard settings"),H()(),F(50,
"div")(51,"div")(52,"mat-slide-toggle",19),L("change",function(c){b.userPreferences.keyboardPreferences.enableAllHotkeys=c.checked;return b.save("saveKeyboardPreferences")}),P(53," Enable all hotkeys "),H()()()(),I(54,"hr",10),F(55,"div",0)(56,"div",1)(57,"p",2),P(58,"Display settings"),H()(),F(59,"div")(60,"div",20)(61,"mat-slide-toggle",21),L("change",function(c){b.userPreferences.textDisplayPreferences&&(b.userPreferences.textDisplayPreferences.commentDisplayOverride=c.checked?kbd:void 0,b.save("saveTextDisplayPreferences.commentDisplayOverride"))}),
P(62," Force comments to display as plain text "),H()(),F(63,"div",20)(64,"b-toggle-code-font",22),P(65," Force comments to display with code font "),H()(),O(66,EHb,3,1,"div",23),H()(),I(67,"hr",10),O(68,FHb,9,1,"ng-container",24),H());a&2&&(z(7),E("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-a-homepage",Ud),z(7),E("ngModel",b.preferredHomepage.selectedMainOption),z(1),E("ngForOf",b.preferredHomepage.mainOptions),z(1),E("ngIf",b.preferredHomepage.selectedMainOption.hasOptions()),
z(8),E("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-date-time-formatting",Ud),z(7),E("ngModel",b.userPreferences.dateTimePreferences.calendarFormat),z(1),E("ngForOf",b.dateFormats),z(5),E("ngModel",b.userPreferences.dateTimePreferences.timeFormat),z(1),E("ngForOf",b.timeFormats),z(5),E("ngModel",b.userPreferences.dateTimePreferences.timeZone),z(1),E("ngForOf",b.timeZones),z(8),E("checked",b.userPreferences.keyboardPreferences.enableAllHotkeys),z(9),E("checked",lbd(b)),z(5),E("ngIf",
b.showShowInlineImagesSetting),z(2),E("ngIf",b.showBugScreensaverSetting))},dependencies:[Qw,Rw,tx,Ax,uB,sB,HP,SA,cU,lD,JU],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 X9=function(a,b,c,d){rF.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(af(this.destroyed$)).subscribe(function(g){e.userPreferences=g})};T(X9,rF);X9.\u0275dir=rF.\u0275dir;
X9.prototype.save=function(a,b,c){var d=this;YG(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){YG(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};X9.\u0275fac=function(a){return new (a||X9)(B(VJ),B(XG),B(OJ),B(EI))};
X9.\u0275cmp=Oc({type:X9,selectors:[["b-notification-settings"]],features:[kf],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&&(F(0,"div",0)(1,"div",1)(2,"p",2),P(3,"Notification settings"),H(),F(4,"p",3),P(5," Select the level of email you want to receive for each issue role. "),F(6,"a",4),P(7," Learn more "),H()()(),F(8,"div")(9,"div")(10,"mat-form-field",5)(11,"mat-label",6),P(12," Assignee "),H(),F(13,"mat-select",
7),L("ngModelChange",function(c){return b.userPreferences.notificationPreferences.assignedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),O(14,GHb,3,4,"mat-option",8),H()()(),F(15,"div")(16,"mat-form-field",9)(17,"mat-label",10),P(18," Reporter "),H(),F(19,"mat-select",7),L("ngModelChange",function(c){return b.userPreferences.notificationPreferences.reportedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),O(20,HHb,3,
4,"mat-option",8),H()()(),F(21,"div")(22,"mat-form-field",11)(23,"mat-label",12),P(24," Verifier "),H(),F(25,"mat-select",7),L("ngModelChange",function(c){return b.userPreferences.notificationPreferences.verifiedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),O(26,IHb,3,4,"mat-option",8),H()()(),F(27,"div")(28,"mat-form-field",13)(29,"mat-label",14),P(30," Collaborator "),H(),F(31,"mat-select",7),L("ngModelChange",function(c){return b.userPreferences.notificationPreferences.collaboratorPriority=
c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),O(32,JHb,3,4,"mat-option",8),H()()(),F(33,"div")(34,"mat-form-field",15)(35,"mat-label",16),P(36," CC'd "),H(),F(37,"mat-select",7),L("ngModelChange",function(c){return b.userPreferences.notificationPreferences.ccdPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),O(38,KHb,3,4,"mat-option",8),H()()(),F(39,"div")(40,"mat-form-field",17)(41,"mat-label",18),P(42," Starred "),H(),F(43,
"mat-select",7),L("ngModelChange",function(c){return b.userPreferences.notificationPreferences.starredPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),O(44,LHb,3,4,"mat-option",8),H()()(),F(45,"div")(46,"mat-slide-toggle",19),L("change",function(c){b.userPreferences.notificationPreferences.excludeChangesByMe=c.checked;return b.save("saveNotificationPreferences")}),P(47," Exclude edits made by you "),H()()()());a&2&&(z(6),E("href",b.documentationLinks.baseDocumentationUrl+
"/concepts/settings#email",Ud),z(7),E("ngModel",b.userPreferences.notificationPreferences.assignedPriority),z(1),E("ngForOf",b.priorities),z(5),E("ngModel",b.userPreferences.notificationPreferences.reportedPriority),z(1),E("ngForOf",b.priorities),z(5),E("ngModel",b.userPreferences.notificationPreferences.verifiedPriority),z(1),E("ngForOf",b.priorities),z(5),E("ngModel",b.userPreferences.notificationPreferences.collaboratorPriority),z(1),E("ngForOf",b.priorities),z(5),E("ngModel",b.userPreferences.notificationPreferences.ccdPriority),
z(1),E("ngForOf",b.priorities),z(5),E("ngModel",b.userPreferences.notificationPreferences.starredPriority),z(1),E("ngForOf",b.priorities),z(2),E("checked",b.userPreferences.notificationPreferences.excludeChangesByMe))},dependencies:[Qw,tx,Ax,uB,sB,HP,SA,cU,lD,xhc],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 Y9=function(a){this.internalArray_=m(a,0,Y9.messageId)};T(Y9,p);Y9.repeatedFields_=[1];Y9.prototype.toObject=function(){if(null!=this){r(this);var a={subscriptionsList:Ub(kj(this,gj,1),d8b)}}else a=void 0;return a};Y9.messageId="b.ListSloReportSubscriptionsResponse";var Z9=function(a){this.internalArray_=m(a,0,Z9.messageId)};T(Z9,p);Z9.prototype.getSubscription=function(){return X(this,gj,1)};Z9.prototype.setSubscription=function(a){return hj(this,gj,1,a)};Z9.prototype.toObject=function(){if(null!=this){r(this);var a={subscription:d8b(this.getSubscription())}}else a=void 0;return a};Z9.messageId="b.SloReportSubscriptionRequest";var $9=function(a){this.internalArray_=m(a,0,$9.messageId)};T($9,p);$9.prototype.getSubscription=function(){return X(this,gj,1)};$9.prototype.setSubscription=function(a){return hj(this,gj,1,a)};$9.prototype.toObject=function(){if(null!=this){r(this);var a={subscription:d8b(this.getSubscription())}}else a=void 0;return a};$9.messageId="b.SloReportSubscriptionResponse";var a$=function(a){this.executor=a};f=a$.prototype;f.get=function(a){return this.executor.get({url:"action/slo_report_subscriptions/"+a,responseConstructor:$9}).pipe(C(function(b){if(b=b.getSubscription())return Gra(b);throw Error("We");}))};f.list=function(){return this.executor.get({url:"action/slo_report_subscriptions",responseConstructor:Y9}).pipe(C(function(a){return kj(a,gj,1).map(Gra)}))};
f.create=function(a){if(0!==a.id)throw Error("Xe");return this.executor.post({url:"action/slo_report_subscriptions",body:(new Z9).setSubscription(Ira(a)),responseConstructor:$9}).pipe(C(function(b){if(b=b.getSubscription())return Gra(b);throw Error("Ye");}))};
f.update=function(a){if(0===a.id)throw Error("Ze");return this.executor.post({url:"action/slo_report_subscriptions/"+a.id,body:(new Z9).setSubscription(Ira(a)),responseConstructor:$9}).pipe(C(function(b){if(b=b.getSubscription())return Gra(b);throw Error("Ye");}))};f.delete=function(a){return this.executor.delete({url:"action/slo_report_subscriptions/"+a,responseConstructor:tF}).pipe(C(function(){}))};a$.\u0275fac=function(a){return new (a||a$)(t(hE))};
a$.\u0275prov=yc({token:a$,factory:a$.\u0275fac,providedIn:"root"});var mbd=function(a){this.timeZones=a;this.label="Time zone";this.timezoneId="";this.fullWidth=this.disabled=!1;this.timezoneIdChange=new kw;this.timeZoneOptions$=lgc(this.timeZones).pipe(C(function(b){return b.sort(NHb)}))};mbd.\u0275fac=function(a){return new (a||mbd)(B(TJ))};
mbd.\u0275cmp=Oc({type:mbd,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&&(F(0,"mat-form-field",0)(1,"mat-label"),P(2),H(),F(3,"mat-select",1),L("ngModelChange",function(c){b.timezoneId!==c&&
(b.timezoneId=c,b.timezoneIdChange.emit(b.timezoneId))}),O(4,MHb,2,2,"mat-option",2),R(5,"async"),H()());a&2&&(xf("full-width",b.fullWidth),z(2),Lf(" ",b.label," "),z(1),E("disabled",b.disabled)("ngModel",b.timezoneId),z(1),E("ngForOf",S(5,6,b.timeZoneOptions$)))},dependencies:[uB,sB,HP,SA,Qw,tx,Ax,Xw],styles:["[_nghost-%COMP%]     .mat-form-field-infix { width: fit-content; }","mat-form-field[_ngcontent-%COMP%] { font-size: 16px; }"]});var nbd=["sloSubscriptionDialog"],b$=function(a,b,c,d,e,g,h,l){rF.call(this);var q=this;this.dateFormatter=a;this.api=b;this.currentUser=c;this.dialog=d;this.timeZones=e;this.confirmationDialogService=g;this.principalTypes=h;this.analytics=l;this.subscriptions$=new D.BehaviorSubject([]);this.isBasicMode$=this.subscriptions$.pipe(C(function(v){return 0===v.length||1===v.length&&v[0].lead.emailAddress===q.currentUser.email}));this.userSubscription$=this.subscriptions$.pipe(C(function(v){v=k(v);for(var x=
v.next();!x.done;x=v.next())if(x=x.value,x.lead.emailAddress===q.currentUser.email)return x;return{id:0,lead:q.currentUser.user,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:obd[9].timeOfDay}}));this.isThinking$=new D.BehaviorSubject(!1);this.inputHasFocus=!1;this.frequencyOptions=pbd;this.repeatOnOptions=new Map([["daily",[]],["weekly",dIb],["monthly",qbd]]);this.DAILY="daily";this.repeatAtOptions$=(0,D.combineLatest)(obd.map(function(v){return q.dateFormatter.formatUserTime(v.date).pipe(C(function(x){return{timeOfDay:v.timeOfDay,
display:x}}))}));this.ceoSelected=this.dialogInvalidEmailFormat=!1;this.emailToUser=ti;this.columns=["scope","frequency","actions"];this.frequencyDisplayMap=new Map(pbd.map(function(v){return[v.frequency,v.display]}));this.timeZoneDisplayMap$=lgc(this.timeZones).pipe(Oe(),C(function(v){return new Map(v.map(function(x){return[x.id,x.displayName]}))}),Xe({bufferSize:1,refCount:!0}));this.hourOfDayDisplayMap$=this.repeatAtOptions$.pipe(Oe(),C(function(v){return new Map(v.map(function(x){return[x.timeOfDay.hours,
x.display]}))}),Xe({bufferSize:1,refCount:!0}));this.compareTimeOfDay=function(v,x){return v.hours===x.hours&&v.minutes===x.minutes&&v.seconds===x.seconds&&v.nanos===x.nanos}};T(b$,rF);b$.\u0275dir=rF.\u0275dir;b$.prototype.ngOnInit=function(){rbd(this)};
var XHb=function(a){a.userSubscription$.pipe(Oe(),$e(function(b){if(0===b.id)return a.analytics.trackEvent(ao.SLO_REPORTS,"enableOwnSubscription"),a.api.create(b);a.analytics.trackEvent(ao.SLO_REPORTS,"disableOwnSubscription");return a.api.delete(b.id)})).subscribe(function(){rbd(a)})},rbd=function(a){a.isThinking$.next(!0);a.api.list().pipe(Oe()).subscribe(function(b){a.isThinking$.next(!1);a.subscriptions$.next(b)})},zs=function(a,b){a.isThinking$.next(!0);a.api.update(b).subscribe(function(){a.analytics.trackEvent(ao.SLO_REPORTS,
"editSubscription");rbd(a)})},sbd=function(a,b){a.isThinking$.next(!0);a.api.delete(b.id).subscribe(function(){a.analytics.trackEvent(ao.SLO_REPORTS,"deleteSubscription");rbd(a)})},hIb=function(a,b){a.confirmationDialogService.open({title:"Delete a subscription",content:yn("You will no longer receive reports from '"+b.lead.emailAddress+"'."),confirmButtonText:"Delete",isDestructive:!0,onConfirm:function(){sbd(a,b)}})};b$.prototype.setFrequency=function(a,b){b.frequency=a;uIb(a,b);zs(this,b)};
var uIb=function(a,b){"daily"!==a?b.ordinal="weekly"===a?dIb[0].ordinal:qbd[0].ordinal:delete b.ordinal};b$.prototype.setTimeZone=function(a,b){zs(this,Object.assign({},b,{timeZone:Object.assign({},b.timeZone,{id:a})}))};
b$.prototype.openDialog=function(a){this.sloSubscriptionDialog&&(a||(a={id:0,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:obd[9].timeOfDay}),this.ceoSelected=this.dialogInvalidEmailFormat=!1,this.dialogRef=this.dialog.open(this.sloSubscriptionDialog,{data:Yh(a),panelClass:"slo-report-subscription-dialog",width:"500px"}))};
var vIb=function(a,b){return pe(function(c){if(1==c.nextAddress)return a.dialogRef&&void 0!==b.lead?c.yield(tbd(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(){a.analytics.trackEvent(ao.SLO_REPORTS,"createSubscription");rbd(a)}):zs(a,b);a.dialogRef.close();ue(c)})},tbd=function(a,
b){var c;return pe(function(d){if(1==d.nextAddress)return xn(b)?d.yield(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))})};b$.\u0275fac=function(a){return new (a||b$)(B(EL),B(a$),B(qJ),B(eB),B(TJ),B(PJ),B(lK),B(EI))};
b$.\u0275cmp=Oc({type:b$,selectors:[["b-slo-reports-settings"]],viewQuery:function(a,b){a&1&&bg(nbd,7);if(a&2){var c;ag(c=dg())&&(b.sloSubscriptionDialog=c.first)}},features:[kf],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&&(O(0,ZHb,12,3,"ng-container",0),R(1,"async"),F(2,"div",1)(3,"div",2)(4,"p",3),P(5,"Advanced settings"),H(),F(6,"p",4),P(7," Add subscriptions to receive other user's reports. "),F(8,"a",5),
P(9,"Learn more"),H()()(),F(10,"div",6)(11,"div",7)(12,"button",8),L("click",function(){return b.openDialog()}),R(13,"async"),P(14," Create subscription "),H()(),O(15,$Hb,2,0,"ng-container",0),R(16,"async"),O(17,lIb,13,3,"ng-container",0),R(18,"async"),R(19,"async"),H()(),O(20,wIb,33,15,"ng-template",null,9,gg));a&2&&(E("ngIf",S(1,4,b.isBasicMode$)),z(12),E("disabled",S(13,6,b.isThinking$)),z(3),E("ngIf",S(16,8,b.isThinking$)),z(2),E("ngIf",!S(18,10,b.isBasicMode$)&&!S(19,12,b.isThinking$)))},dependencies:[Qw,
Rw,HB,wg,tx,Lx,Ax,QA,fB,gB,hB,iB,qB,uB,rB,sB,HP,SA,xB,cU,JM,BM,FM,CM,AM,GM,DM,EM,HM,IM,dD,bD,cD,mbd,WM,YS,Xw],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-header-cell[_ngcontent-%COMP%]{font-weight:600;background-color:#f1f3f4;background-color:var(--c100)}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:40px}td.mat-cell[_ngcontent-%COMP%], td.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem}td.mat-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}.mat-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 pbd=[{frequency:"daily",display:"Daily"},{frequency:"weekly",display:"Weekly"},{frequency:"monthly",display:"Monthly"}],dIb=[{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"}],qbd=[].concat(cd(Array.from({length:31}).fill(0).keys())).map(function(a){return{ordinal:a+1,display:eIb(a+1)}}),obd=[].concat(cd(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 c$=function(a,b,c,d){this.activeSession=a;this.location=b;this.routeParams=c;this.beapEnabled=pF(this.activeSession,"enableBeap");this.enableSloReportEmail=this.activeSession.isInternalSession()&&pF(this.activeSession,"enableSloReportEmail");this.selectedTabIndex=0;d.setTitle("Settings")};c$.prototype.ngAfterViewInit=function(){this.selectedTabIndex=ubd(this,this.routeParams.settingsTab)};
c$.prototype.tabChange=function(a){var b,c,d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id;this.location.url(uwa(d))};var ubd=function(a,b){a=a.tabs.toArray().findIndex(function(c){return c.nativeElement.id===b});return 0>a?0:a};c$.\u0275fac=function(a){return new (a||c$)(B(Bs),B(PH),B(sK),B(wW))};
c$.\u0275cmp=Oc({type:c$,selectors:[["b-settings"]],viewQuery:function(a,b){a&1&&bg(QN,5,Dd);if(a&2){var c;ag(c=dg())&&(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&&(F(0,"p",0),P(1,"Settings"),H(),F(2,"mat-tab-group",1),L("selectedIndexChange",function(c){return b.tabChange(c)}),F(3,"mat-tab",2)(4,"div",3),I(5,"b-general-settings"),H()(),F(6,"mat-tab",4)(7,"div",3),I(8,"b-notification-settings"),H()(),O(9,xIb,3,0,"mat-tab",5),O(10,yIb,3,0,"mat-tab",6),H());a&2&&(z(2),E("selectedIndex",b.selectedTabIndex),z(7),E("ngIf",b.enableSloReportEmail),z(1),E("ngIf",b.beapEnabled))},dependencies:[Rw,WN,RN,QN,gbd,W9,X9,b$],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 d$=function(a,b,c,d,e,g,h,l,q){rF.call(this);this.cdr=a;this.routeParams=b;this.bLocation=c;this.pageTitle=d;this.userApi=e;this.bookmarkGroupsApi=g;this.paths=h;this.appEvents=q;this.isStarred=!1;this.bookmarkGroup=null;this.userEmail=l.getUserEmail()};T(d$,rF);d$.\u0275dir=rF.\u0275dir;f=d$.prototype;
f.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)}))};f.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)};
f.openEditBookmarkGroup=function(){this.bLocation.url(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};f.getUserEmail=function(){return this.userEmail};f.isEditable=function(){return!!this.bookmarkGroup&&!!this.userIsAdmin};f.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("$e`"+a.resourceType);}};
f.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("$e`"+a.resourceType);}};d$.\u0275fac=function(a){return new (a||d$)(B(AI,2),B(sK),B(PH),B(wW),B(lI),B(xX),B(QH),B(Bs),B(eH))};
d$.\u0275cmp=Oc({type:d$,selectors:[["view-bookmark-group-page"]],features:[Of([AI]),kf],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&&(F(0,"h2",0),P(1),H(),I(2,"div",1),F(3,"div",2),O(4,CIb,12,5,"div",3),H());a&2&&(z(1),Lf("View Bookmark Group ",null==b.bookmarkGroup?null:b.bookmarkGroup.name,""),z(2),of("aria-busy",
!b.bookmarkGroup),z(1),E("ngIf",b.bookmarkGroup))},dependencies:[Qw,Rw,wU,lD],encapsulation:2});var e$=function(){};e$.\u0275fac=function(a){return new (a||e$)};e$.\u0275mod=Qc({type:e$});e$.\u0275inj=zc({imports:[OG,EU,fE]});var f$=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da,Oa,Ta,Wa,Nb,Eb,cb,sa,Ka,Qa,fb,$a){q9.call(this,b,c,d,e,h,l,q,v,g,x,A,G,Q,Y,W,ia,ja,Aa,Nb,Da,Oa,sa,Ka,Qa,fb,$a);this.ngZone=a;this.hotlists=M;this.hotkeys=Ta;this.pageTitle=Wa;this.userAccess=cb;this.ANALYTICS_CATEGORY="hotlistIssues";this.canAppend=this.isAdmin=this.isStarred=!1;this.hotlist=null;this.isLoading=!0;this.repositioning=this.showHotlists=!1;this.hotlistId=Eb.hotlistId};T(f$,q9);f$.\u0275dir=q9.\u0275dir;
f$.prototype.ngOnInit=function(){var a=this;q9.prototype.ngOnInit.call(this);this.subscriptions.add(gN(this.hotkeys,{title:"Hotlist",hotkeys:[].concat(cd(this.BASE_HOTKEYS),[{keys:[Nn("j")],displayAs:"Shift+j",description:"Move the current issue down (when sorting by POS)",onPress:function(){vbd(a,1)}},{keys:[Nn("k")],displayAs:"Shift+k",description:"Move the current issue up (when sorting by POS)",onPress:function(){vbd(a,-1)}}])}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(b){b&&
Number(b.hotlistId)===Number(a.hotlistId)&&"view-hotlist"!==b.origin&&wbd(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)};
f$.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)}};
f$.prototype.loadUserAccess=function(a){var b=this;MG(this.userAccess,"admin","hotlists/"+a).then(function(c){b.isAdmin=c},function(c){b.errorHandler.errorHandler(null,c)});MG(this.userAccess,"appender","hotlists/"+a).then(function(c){b.canAppend=c},function(c){b.errorHandler.errorHandler(null,c)})};
f$.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;SX(this.appSearchState,"hotlistid:"+this.hotlistId);var b=this.hotlist?Promise.resolve(this.hotlist):wbd(this);return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
var wbd=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};
f$.prototype.doSearch=function(a){var b=this,c="priority type title assignee status issueId modifiedTime".split(" ").map(Kk),d="hotlistid:"+this.hotlistId,e=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,sortColumns:[],displayColumns:c,query:d},a.then(function(g){return{query:null,displayColumn:g.displayColumn,sortOrder:g.sortOrder}}));a=e.searchPreferences.then(function(g){g=Yh(g);g.query=d;g.returnUrl=b.bLocation.url();g.hotlistId=b.hotlistId;g.trackerIds=b.appSearchState.currentTrackerScope;
return gHc(b.issuePagination,g)});a.then(function(g){had(b,g)}).catch(function(g){"number"===typeof g?s1(b.urlPreferences,{page:g}):b.errorHandler.errorHandler(null,g)});return Tn({searchResultsPage:a,displayColumns:e.displayColumns}).then(function(g){g=g.searchResultsPage;b.searchResults=g;b.page=g.params.page;b.sortPreferences=g.params.sortColumns||[];b.initColumns(e.displayColumns,xbd(b)?ybd:zbd);b.loadHotlists()}).catch(function(){})};
var xbd=function(a){return 0===a.sortPreferences.length||1===a.sortPreferences.length&&"POSITION"===a.sortPreferences[0].fieldId.type};f$.prototype.getCsvUrl=function(){return this.paths.hotlistIssuesCsvAction(this.hotlistId,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
f$.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;d.analytics.trackEvent(d.ANALYTICS_CATEGORY,c?"reorderByKeyboard":"issueDragDrop")}).finally(function(){d.repositioning=!1}))};
var vbd=function(a,b){if(a.searchResults&&!a.repositioning&&xbd(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 g;null==(g=a.resultsGrid)||rcb(g)}else if(-1===b){var h;null==(h=a.resultsGrid)||scb(h)}a.repositionIssue(e,c,!0)}}};f=f$.prototype;
f.save=function(){var a=this;if(this.hotlist){var b=this.hotlist,c=this.urlPreferences.getDisplayColumns();if(c){var d=mza(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}});YG(this.butterBar,"Saving changes to hotlist...");Abd(this,b).then(function(e){YG(a.butterBar,'Saved changes to hotlist "'+
e.name+'".');s1(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams",d)})}};f.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");s1(this.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null})};f.hasParamChanges=function(){return this.hotlist&&this.isEditable()?!(!this.urlPreferences.getSortColumns()&&!this.urlPreferences.getDisplayColumns()):!1};
f.isEditable=function(){return null!=this.hotlist&&this.isAdmin};f.isDirectAdmin=function(){return this.hotlist?mi(this.hotlist.adminUsers).includes(this.currentUserEmail):!1};f.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?q9.prototype.setSort.call(this,a,b,!1):q9.prototype.setSort.call(this,a,b)};
var Abd=function(a,b){return a.hotlistApi.updateMetadata(b.hotlistId,b).then(function(c){a.hotlist=c;Bbd(a,c.hotlistId);return c},function(c){a.errorHandler.errorHandler(null,c);return Promise.reject(c)})},Bbd=function(a,b){a.appEvents.hotlistChanged.next({hotlistId:b,origin:"view-hotlist"})};
f$.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=gi(this.hotlistId),c=function(){Bbd(a,b)};this.isStarred?this.userApi.saveFavorite({resourceType:"HOTLIST",resourceId:b}).then(c):this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:b}).then(c)};f$.prototype.openEditHotlist=function(){this.bLocation.url(this.paths.editHotlist(this.hotlistId))};var zbd=[W0,X0,Y0,bQc],ybd=[W0,aQc,X0,Y0,bQc];
f$.\u0275fac=function(a){return new (a||f$)(B(df),B(AI),B(DI),B(qF),B(PH),B(Bs),B($G),B(GF),B(lI),B(cI),B(XG),B(EI),B(RX),B(U1),B(mX),B(VJ),B(r1),B(t1),B(QH),B(HG),B(fK),B(vL),B(fN),B(wW),B(aH),B(sK),B(LG),B(eH),B(pI),B(JI),B(H2),B(AG))};
f$.\u0275cmp=Oc({type:f$,selectors:[["view-hotlist-page"]],features:[Of([AI]),kf],decls:9,vars:11,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"grid","hotlistChoices","showHotlistButtons","currentHotlistId","isHotlistAdmin","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[1,"bv2-view","bv2-view-hotlist-grid"],["class","bv2-view-hotlist-title",4,"ngIf"],["class","bv2-view-loading",
4,"ngIf"],["class","bv2-view-loading","tabindex","-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-hotlist-title"],[3,"starMessage","unStarMessage","starred","starClicked","keydown.space","keydown.enter",4,"ngIf"],[3,"starMessage","unStarMessage","starred","disabled",4,"ngIf"],[1,"bv2-view-hotlist-title-text"],["tabindex","-1",3,"bFocus",4,"ngIf"],[4,"ngIf"],["class","bv2-view-hotlist-save-form",4,"ngIf"],[3,"starMessage","unStarMessage","starred","starClicked","keydown.space",
"keydown.enter"],[3,"starMessage","unStarMessage","starred","disabled"],["tabindex","-1",3,"bFocus"],["role","heading","aria-level","3"],[3,"matTooltip"],["class","hotlist-archived",4,"ngIf"],[1,"button-container"],["aria-label","Hotlist settings","matTooltip","Hotlist settings",1,"bv2-edit-button","bv2-view-resource-edit-button",3,"click"],["matTooltip","Display preferences have changed",4,"ngIf"],[1,"hotlist-archived"],["matTooltip","Display preferences have changed"],[1,"bv2-view-hotlist-save-form"],
["type","button","mat-flat-button","","matTooltip","Save changes to display preferences",1,"gmat-button","medium",3,"click"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences",1,"gmat-button","medium",3,"click"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar","init","focusedRowIndexChange","columnsChange","sortChange",
"rowClick","onRowDragDrop","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"b-grid-controls",1),L("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()}),H(),F(2,"div",2)(3,"b-pagination",3),L("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",
function(c){return jad(b,c.option)}),H()()(),F(4,"div",4),O(5,MIb,9,7,"div",5),O(6,NIb,4,1,"div",6),O(7,OIb,2,2,"div",7),O(8,PIb,2,6,"div",8),H());a&2&&(z(1),E("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices)("showHotlistButtons",b.canAppend)("currentHotlistId",b.hotlistId)("isHotlistAdmin",b.isAdmin),z(2),E("searchResults",b.searchResults),z(1),of("aria-busy",b.isLoading),z(1),E("ngIf",!b.isInitializing),z(1),E("ngIf",b.isLoading),z(1),E("ngIf",!b.isLoading&&!b.hasResults()),z(1),E("ngIf",
!b.isLoading&&b.hasResults()))},dependencies:[b1,W1,wU,U0,lD,Rw,WM,hV,QA],encapsulation:2});var g$=function(){};g$.\u0275fac=function(a){return new (a||g$)};g$.\u0275mod=Qc({type:g$});g$.\u0275inj=zc({imports:[o1,Y1,EU,T1,fE,OG,CO,iV,ED]});var h$=function(a,b,c,d,e,g,h,l,q,v,x,A,G,M,Q,Y,W,ia,ja,Aa,Da,Oa,Ta,Wa,Nb,Eb,cb,sa,Ka,Qa,fb){q9.call(this,a,b,c,d,g,h,l,v,e,x,A,G,M,Q,Y,W,ia,ja,Wa,Aa,Da,cb,sa,Ka,Qa,fb);this.savedSearchApi=q;this.hotkeys=Oa;this.pageTitle=Ta;this.userAccess=Eb;this.ANALYTICS_CATEGORY="savedSearchIssues";this.isAdmin=!1;this.savedSearch=null;this.isLoading=!0;this.showHotlists=!1;this.savedSearchId=Nb.savedSearchId};T(h$,q9);h$.\u0275dir=q9.\u0275dir;f=h$.prototype;
f.ngOnInit=function(){var a=this;q9.prototype.ngOnInit.call(this);this.subscriptions.add(gN(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(sIc(this.appSearchState,function(b){a.savedSearch?s1(a.urlPreferences,{query:b}):(b=a.paths.listIssues({q:b}),a.bLocation.url(b))}));this.loadUserAccess(this.savedSearchId)};f.loadUserAccess=function(a){var b=this;MG(this.userAccess,"admin","savedSearches/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
f.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};
f.getIssues=function(){var a=this,b=this.urlPreferences.getQuery()||"savedsearchid:"+this.savedSearchId;SX(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()})};
f.doSearch=function(a){var b=this;a=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:aad(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;SX(b.appSearchState,d.query);b.exitLink=b.paths.listIssues({q:d.query});b.cdr.detectChanges();d=Yh(d);d.returnUrl=b.bLocation.url();d.trackerIds=b.appSearchState.currentTrackerScope;
return gHc(b.issuePagination,d)});c.then(function(d){had(b,d)}).catch(function(d){"number"===typeof d?s1(b.urlPreferences,{page:d}):d&&b.errorHandler.errorHandler(null,d)});this.initColumns(a.displayColumns);return Tn({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(){})};
f.isEditable=function(){return!!this.savedSearch&&this.isAdmin};f.getCsvUrl=function(){return this.paths.issuesCsvAction(this.searchParams.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
f.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;YG(this.butterBar,"Saving changes to search...");this.savedSearchApi.update(this.savedSearch.searchId,this.savedSearch).then(function(c){YG(a.butterBar,'Saved changes to search "'+
c.name+'".');a.savedSearch=c;s1(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams");a.cdr.detectChanges()}).catch(function(c){a.errorHandler.errorHandler(null,c)})};f.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");s1(this.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null})};
f.hasParamChanges=function(){return this.savedSearch&&this.isEditable()?!!(this.urlPreferences.getQuery()&&this.urlPreferences.getQuery()!==this.savedSearch.query||this.urlPreferences.getSortColumns()||this.urlPreferences.getDisplayColumns()):!1};f.openEditSavedSearch=function(){this.bLocation.url(this.paths.editSavedSearch(this.savedSearchId))};
h$.\u0275fac=function(a){return new (a||h$)(B(AI),B(DI),B(qF),B(PH),B(Bs),B($G),B(GF),B(lI),B(gU),B(cI),B(XG),B(EI),B(RX),B(mX),B(VJ),B(r1),B(t1),B(QH),B(HG),B(fK),B(vL),B(fN),B(wW),B(aH),B(sK),B(LG),B(eH),B(pI),B(JI),B(H2),B(AG))};
h$.\u0275cmp=Oc({type:h$,selectors:[["view-saved-search-page"]],features:[Of([AI]),kf],decls:9,vars:7,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"grid","hotlistChoices","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[1,"bv2-view","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],["class","bv2-view-savedsearch-title-text",4,"ngIf"],["class","bv2-view-savedsearch-save-form",
4,"ngIf"],[4,"ngIf"],[1,"bv2-view-savedsearch-title-text"],["role","heading","aria-level","3",4,"ngIf"],["role","heading","aria-level","3"],[3,"matTooltip"],["aria-label","Saved search settings","matTooltip","Saved search settings",1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],["matTooltip","Display preferences or search query have changed",4,"ngIf"],["matTooltip","Display preferences or search query have changed"],[1,"bv2-view-savedsearch-save-form"],["type","button","mat-flat-button",
"","matTooltip","Save changes to display preferences and search query",1,"gmat-button","medium",3,"click"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences and search query",1,"gmat-button","medium",3,"click"],[1,"bv2-view-savedsearch-exit-link"],["matTooltip","Show this search with your default display preferences",3,"href","click"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",
4,"ngIf"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar","init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"b-grid-controls",1),L("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()}),H(),F(2,"div",2)(3,"b-pagination",3),L("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return jad(b,c.option)}),H()()(),F(4,"div",4)(5,"div",5),O(6,UIb,4,3,"div",6),O(7,VIb,8,1,"div",7),H(),O(8,$Ib,4,3,"div",8),H());a&2&&(z(1),E("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),z(2),E("searchResults",b.searchResults),
z(1),of("aria-busy",b.isLoading),z(2),E("ngIf",!b.isInitializing),z(1),E("ngIf",b.hasParamChanges()),z(1),E("ngIf",b.savedSearch))},dependencies:[b1,W1,U0,Rw,lD,WM,hV,QA],encapsulation:2});var i$=function(){};i$.\u0275fac=function(a){return new (a||i$)};i$.\u0275mod=Qc({type:i$});i$.\u0275inj=zc({imports:[o1,Y1,T1,OG,fE,CO,iV,ED]});var Cbd=function(){};Cbd.\u0275fac=function(a){return new (a||Cbd)};
Cbd.\u0275cmp=Oc({type:Cbd,selectors:[["tp-landing-page"]],decls:12,vars:2,consts:[[1,"tp-landing-page"],[1,"tp-title"],[1,"tp-title-text","gmat-headline-5"],[1,"tp-cta"],["href","http://go/task-mission-control","target","_blank",1,"tp-about-link"],["href","http://go/task-mission-control-feedback","mat-stroked-button","","color","primary","target","_blank",1,"tp-feedback"],[1,"tp-content"],[3,"isMyWork"]],template:function(a){a&1&&(F(0,"div",0)(1,"div",1)(2,"div",2),P(3,"My Work"),H(),F(4,"div",3)(5,
"a",4),P(6,"Learn more at go/task-mission-control"),H(),F(7,"a",5),P(8,"Give feedback"),H()()(),F(9,"div",6),I(10,"tp-task-section",7)(11,"tp-task-section",7),H()());a&2&&(z(10),E("isMyWork",!0),z(1),E("isMyWork",!1))},dependencies:[LW,DW,AA],styles:['.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#2196f3}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#ff9800}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#f44336}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-text-button-label-text-color:rgba(0,0,0,.38)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#2196f3;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#ff9800;--mdc-filled-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#f44336;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-container-color:rgba(0,0,0,.12);--mdc-filled-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-filled-button-container-color:rgba(0,0,0,.12);--mdc-filled-button-label-text-color:rgba(0,0,0,.38)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#2196f3;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#ff9800;--mdc-protected-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#f44336;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-container-color:rgba(0,0,0,.12);--mdc-protected-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-protected-button-container-color:rgba(0,0,0,.12);--mdc-protected-button-label-text-color:rgba(0,0,0,.38);--mdc-protected-button-container-elevation:0}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mdc-outlined-button-outline-color:rgba(0,0,0,.12)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#2196f3}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#ff9800}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#f44336}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:rgba(0,0,0,.38);--mdc-outlined-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-outlined-button-outline-color:rgba(0,0,0,.12);--mdc-outlined-button-disabled-outline-color:rgba(0,0,0,.12)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-primary[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#2196f3;--mat-mdc-button-ripple-color:rgba(33,150,243,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-accent[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#ff9800;--mat-mdc-button-ripple-color:rgba(255,152,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-warn[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#f44336;--mat-mdc-button-ripple-color:rgba(244,67,54,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:28px;margin-top:0;margin-bottom:0}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%]{height:100%}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.tp-landing-page[_ngcontent-%COMP%]   .mdc-button[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-button-font-size,14px);line-height:var(--mdc-typography-button-line-height,14px);font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:var(--mdc-typography-button-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration,none);-moz-text-decoration:var(--mdc-typography-button-text-decoration,none);text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:var(--mdc-typography-button-text-transform,none)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:inherit;--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#6200ee;--mat-mdc-button-ripple-color:rgba(98,0,238,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#018786;--mat-mdc-button-ripple-color:rgba(1,135,134,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#b00020;--mat-mdc-button-ripple-color:rgba(176,0,32,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#2196f3;--mat-mdc-button-persistent-ripple-color:#2196f3;--mat-mdc-button-ripple-color:rgba(33,150,243,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#ff9800;--mat-mdc-button-persistent-ripple-color:#ff9800;--mat-mdc-button-ripple-color:rgba(255,152,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#f44336;--mat-mdc-button-persistent-ripple-color:#f44336;--mat-mdc-button-ripple-color:rgba(244,67,54,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color:rgba(0,0,0,.38);--mdc-icon-button-disabled-icon-color:rgba(0,0,0,.38)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size:40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-unthemed[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-unthemed[_ngcontent-%COMP%]{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#000;--mat-mdc-fab-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mdc-fab-container-color:#2196f3;--mdc-fab-icon-color:#fff;--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mdc-fab-container-color:#ff9800;--mdc-fab-icon-color:#000;--mat-mdc-fab-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mdc-fab-container-color:#f44336;--mdc-fab-icon-color:#fff;--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab[disabled][disabled][_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab[disabled][disabled][_ngcontent-%COMP%]{--mdc-fab-container-color:rgba(0,0,0,.12);--mdc-fab-icon-color:rgba(0,0,0,.38);--mat-mdc-fab-color:rgba(0,0,0,.38)}.tp-landing-page[_ngcontent-%COMP%]   .mdc-fab--extended[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-button-font-size,14px);line-height:var(--mdc-typography-button-line-height,14px);font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:var(--mdc-typography-button-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration,none);-moz-text-decoration:var(--mdc-typography-button-text-decoration,none);text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:var(--mdc-typography-button-text-transform,none)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;text-transform:none}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__ripple[_ngcontent-%COMP%]{height:100%;position:absolute;overflow:hidden;width:100%;z-index:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.16}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:focus   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:focus   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.24}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.2}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):hover{color:var(--mdc-text-button-hover-label-text-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{color:var(--mdc-text-button-focus-label-text-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-text-button-label-text-color:#5f6368}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mdc-text-button-label-text-color:#1e88e5;--mdc-text-button-focus-label-text-color:#0d47a1;--mdc-text-button-hover-label-text-color:#0d47a1}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mdc-text-button-label-text-color:#fb8c00;--mdc-text-button-focus-label-text-color:#e65100;--mdc-text-button-hover-label-text-color:#e65100}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mdc-text-button-label-text-color:#e53935;--mdc-text-button-focus-label-text-color:#b71c1c;--mdc-text-button-hover-label-text-color:#b71c1c}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-text-button-label-text-color:rgba(60,64,67,.38)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 24px 0 24px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):active{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#5f6368}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#1e88e5;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#fb8c00;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#e53935;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-filled-button-label-text-color:rgba(60,64,67,.38);--mdc-filled-button-disabled-container-color:rgba(60,64,67,.12);--mdc-filled-button-container-color:rgba(60,64,67,.12)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 24px 0 24px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]){box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):focus{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#5f6368}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#1e88e5;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#fb8c00;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#e53935;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-protected-button-label-text-color:rgba(60,64,67,.38);--mdc-protected-button-disabled-container-color:rgba(60,64,67,.12);--mdc-protected-button-container-color:rgba(60,64,67,.12)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-outlined-button-outline-color:#dadce0;--mdc-outlined-button-label-text-color:#5f6368}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):hover{color:var(--mdc-outlined-button-hover-label-text-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{color:var(--mdc-outlined-button-focus-label-text-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{border-color:var(--mdc-outlined-button-focus-outline-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 23px 0 23px;border-width:1px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix).mdc-button--icon-trailing{padding:0 11px 0 23px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix).mdc-button--icon-leading{padding:0 23px 0 11px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .mdc-button__ripple[_ngcontent-%COMP%]{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:1px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .mdc-button__touch[_ngcontent-%COMP%]{left:-1px;width:calc(100% + 2px)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mdc-outlined-button-label-text-color:#1e88e5;--mdc-outlined-button-focus-label-text-color:#0d47a1;--mdc-outlined-button-hover-label-text-color:#0d47a1;--mdc-outlined-button-focus-outline-color:#0d47a1}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mdc-outlined-button-label-text-color:#fb8c00;--mdc-outlined-button-focus-label-text-color:#e65100;--mdc-outlined-button-hover-label-text-color:#e65100;--mdc-outlined-button-focus-outline-color:#e65100}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mdc-outlined-button-label-text-color:#e53935;--mdc-outlined-button-focus-label-text-color:#b71c1c;--mdc-outlined-button-hover-label-text-color:#b71c1c;--mdc-outlined-button-focus-outline-color:#b71c1c}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:rgba(60,64,67,.38);--mdc-outlined-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-outlined-button-outline-color:rgba(60,64,67,.12);--mdc-outlined-button-disabled-outline-color:rgba(60,64,67,.12)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#3c4043;--mat-mdc-button-persistent-ripple-color:#3c4043;--mat-mdc-button-ripple-color:rgba(60,64,67,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#1e88e5;--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#fb8c00;--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#e53935;--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button[disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color:rgba(60,64,67,.38);--mdc-icon-button-disabled-icon-color:rgba(60,64,67,.38)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]{padding-left:24px;padding-right:24px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:16px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[dir=rtl][_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:-8px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:-8px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[dir=rtl][_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:16px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]), .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]), .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 2px 3px 0 rgba(60,64,67,.3),0 6px 10px 4px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus:active{box-shadow:0 4px 4px 0 rgba(60,64,67,.3),0 8px 12px 6px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-unthemed.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-unthemed.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mat-mdc-button-persistent-ripple-color:#3c4043;--mat-mdc-button-ripple-color:rgba(60,64,67,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill{--mdc-fab-container-color:#1e88e5;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#1e88e5;--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mat-mdc-fab-color:#1e88e5}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-fill, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-fill{--mdc-fab-container-color:#fb8c00;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#fb8c00;--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mat-mdc-fab-color:#fb8c00}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-fill, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-fill{--mdc-fab-container-color:#e53935;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#e53935;--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mat-mdc-fab-color:#e53935}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#424242;--mat-mdc-button-persistent-ripple-color:#1a73e8;--mat-mdc-button-ripple-color:rgba(26,115,232,.1);--mat-mdc-fab-color:#424242;padding-top:2px;padding-right:24px;padding-bottom:2px;padding-left:24px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus{border-style:solid;border-width:2px;padding-top:2px;padding-right:22px;padding-bottom:2px;padding-left:22px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus{border-color:#4285f4}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:hover{--mat-mdc-fab-color:#174ea6}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--text-default);--mdc-text-button-label-text-color:var(--text-default);--mdc-text-button-focus-label-text-color:var(--text-default);--mdc-text-button-hover-label-text-color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--primary-default);--mdc-text-button-label-text-color:var(--primary-default);--mdc-text-button-focus-label-text-color:var(--primary-default);--mdc-text-button-hover-label-text-color:var(--primary-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--warn-default);--mdc-text-button-label-text-color:var(--warn-default);--mdc-text-button-focus-label-text-color:var(--warn-default);--mdc-text-button-hover-label-text-color:var(--warn-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-text-button-label-text-color:var(--button-disabled-text)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--text-default);--mdc-outlined-button-focus-label-text-color:var(--text-default);--mdc-outlined-button-hover-label-text-color:var(--text-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--primary-default);--mdc-outlined-button-label-text-color:var(--primary-default);--mdc-outlined-button-focus-label-text-color:var(--primary-default);--mdc-outlined-button-hover-label-text-color:var(--primary-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--primary-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--warn-default);--mdc-outlined-button-label-text-color:var(--warn-default);--mdc-outlined-button-focus-label-text-color:var(--warn-default);--mdc-outlined-button-hover-label-text-color:var(--warn-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--warn-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--button-disabled-text);--mdc-outlined-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-outlined-button-outline-color:var(--button-disabled-text);--mdc-outlined-button-disabled-outline-color:var(\n    --button-disabled-text\n  )}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--button-raised-bg);--mdc-filled-button-label-text-color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--primary-default);--mdc-filled-button-label-text-color:var(--text-inverse)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--warn-default);--mdc-filled-button-label-text-color:var(--text-inverse)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-filled-button-label-text-color:var(--button-disabled-text);--mdc-filled-button-disabled-container-color:var(--button-disabled-bg);--mdc-filled-button-container-color:var(--button-disabled-bg)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--button-raised-bg);--mdc-protected-button-label-text-color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--primary-default);--mdc-protected-button-label-text-color:var(--text-inverse)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--warn-default);--mdc-protected-button-label-text-color:var(--text-inverse)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-protected-button-label-text-color:var(--button-disabled-text);--mdc-protected-button-disabled-container-color:var(\n    --button-disabled-bg\n  );--mdc-protected-button-container-color:var(--button-disabled-bg)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]:not([disabled]), .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]:not([disabled]), .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]){box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--primary-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--warn-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]:disabled   .mat-icon[_ngcontent-%COMP%]{color:var(--button-disabled-text)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline{color:var(--primary-default);background-color:var(--button-raised-bg);box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:hover{box-shadow:0 2px 3px 0 var(--elevation),0 6px 10px 4px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:not(.gm-focus-hidden):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:not(.gm-focus-hidden):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab{color:var(--text-inverse);background-color:var(--primary-default);box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:hover{box-shadow:0 2px 3px 0 var(--elevation),0 6px 10px 4px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:not(.gm-focus-hidden):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered{box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:hover{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:not(.gm-focus-hidden):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;border-bottom:1px solid var(--hairline);height:2.25rem}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]   .tp-title-text[_ngcontent-%COMP%]{margin:0}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]   .tp-cta[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:1.5rem}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]   .tp-cta[_ngcontent-%COMP%]   .tp-about-link[_ngcontent-%COMP%]{font-size:.8125rem}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]   .tp-cta[_ngcontent-%COMP%]   .tp-feedback[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--primary-high-contrast)}.tp-landing-page[_ngcontent-%COMP%]   .tp-content[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:1rem}.tp-landing-page[_ngcontent-%COMP%]   .tp-content[_ngcontent-%COMP%]   tp-task-section[_ngcontent-%COMP%]{width:50%}']});var Dbd={path:"issues/:issueId",component:H8,children:[{path:"",pathMatch:"full",component:a9},{path:"dependencies",component:n8},{path:"dupes",component:J8},{path:"blocking",component:c8},{path:"resources",component:Y$c}].concat(cd(As("enableCodeMentionsUi",{path:"todos",component:o9})))},Ebd=[{path:"",component:Y6,canActivateGuards:[f7]},{path:"issues",component:r9},{path:"recent",component:t9}].concat(cd(As("enableTaskPrioritization",{path:"work",component:Cbd,canActivateGuards:[d7,e7]})),cd(As("showNeedsAttentionUI",
{path:"attention",component:S9,canActivateGuards:[d7,e7]})),[{path:"issues/new",component:S7}],cd(As("enableChromeWizard",{path:"issues/wizard",component:w7})),[Dbd,{path:"components/all",component:B6},{path:"components",component:x7},{path:"components/new",component:A7},{path:"components/:componentId/edit",component:O9},{path:"components/:componentId",component:O9},{path:"components/:componentId/manage",component:O9},{path:"teams/:teamId/edit",component:P9},{path:"teams/:teamId",component:P9},{path:"bookmark-groups/new",
component:z7},{path:"bookmark-groups/:groupId",component:d$},{path:"bookmark-groups/:groupId/edit",component:Y7},{path:"hotlists/new",component:B7},{path:"hotlists/:hotlistId",component:f$},{path:"hotlists/:hotlistId/edit",component:g1},{path:"slos/new",component:U7},{path:"slos/:sloId",component:b8},{path:"slos/:sloId/edit",component:b8},{path:"savedsearches/:savedSearchId/edit",component:Z7},{path:"hotlists",component:p9},{path:"slos",component:u9},{path:"savedsearches/:savedSearchId",component:h$},
{path:"dashboard/:groupId",component:W7},{path:"settings/:settingsTab?",component:c$},{path:"settings",component:c$}],cd(As("enableHomepageVariantA",{path:"dash",component:PW})),[{path:"**",component:Y6,canActivateGuards:[f7]}]);var j$=function(){};j$.\u0275fac=function(a){return new (a||j$)};j$.\u0275mod=Qc({type:j$});j$.\u0275inj=zc({imports:[OG,qO,OH,ED]});var k$=function(){};k$.\u0275fac=function(a){return new (a||k$)};k$.\u0275mod=Qc({type:k$});k$.\u0275inj=zc({imports:[OG,JP,gO,$P,j$]});var l$=function(){};l$.\u0275fac=function(a){return new (a||l$)};l$.\u0275mod=Qc({type:l$});l$.\u0275inj=zc({imports:[yO,OG,ED,RW,gO,fE,y7,OH,xO]});var m$=function(){};m$.\u0275fac=function(a){return new (a||m$)};m$.\u0275mod=Qc({type:m$});m$.\u0275inj=zc({imports:[OG,jN,ED,jB]});var n$=function(){};n$.\u0275fac=function(a){return new (a||n$)};n$.\u0275mod=Qc({type:n$});n$.\u0275inj=zc({imports:[ZP,OG,u8,jN,z1,ED,kU,eD,fE,m2,S1,LU,m$]});var o$=function(){};o$.\u0275fac=function(a){return new (a||o$)};o$.\u0275mod=Qc({type:o$});o$.\u0275inj=zc({imports:[OG,jN,ED,fE]});var p$=function(){};p$.\u0275fac=function(a){return new (a||p$)};p$.\u0275mod=Qc({type:p$});p$.\u0275inj=zc({imports:[OG,PP,fE,gO]});var q$=function(){};q$.\u0275fac=function(a){return new (a||q$)};q$.\u0275mod=Qc({type:q$});q$.\u0275inj=zc({imports:[p$,OG,fE,EP,KU,ED,CO,RP,S1]});var r$=function(){};r$.\u0275fac=function(a){return new (a||r$)};r$.\u0275mod=Qc({type:r$});r$.\u0275inj=zc({imports:[k$,yO,OG,l$,ZY,jN,gO,rO,HU,j$,ED,kU,fE,OH,EU,tO,SW,o$,n$,q$]});var s$=function(){};s$.\u0275fac=function(a){return new (a||s$)};s$.\u0275mod=Qc({type:s$});s$.\u0275inj=zc({imports:[OG,ED]});var t$=function(){};t$.\u0275fac=function(a){return new (a||t$)};t$.\u0275mod=Qc({type:t$});t$.\u0275inj=zc({imports:[OG,fO,ED,fE]});var u$=function(){};u$.\u0275fac=function(a){return new (a||u$)};u$.\u0275mod=Qc({type:u$});u$.\u0275inj=zc({imports:[OG,Ny,dz,Px,Qx,OH,ED,jB,VN,DO,Tz,fE,qX,DP,r$,h5,S1,RP,JP,N1,G8,t$,s$]});var v$=function(){};v$.\u0275fac=function(a){return new (a||v$)};v$.\u0275mod=Qc({type:v$});v$.\u0275inj=zc({imports:[OG,D6]});var w$=function(){};w$.\u0275fac=function(a){return new (a||w$)};w$.\u0275mod=Qc({type:w$});w$.\u0275inj=zc({imports:[OG,Ny,dz,Px,Qx,OH,ED,VN,DO,DP,ZP,u$,m9,p8,d8,K8,v$,n9]});var Fbd=Ebd.map(function(a){return{path:a.path,component:a.component,canDeactivate:[xQ],canActivate:[a7,c7].concat(cd(a.canActivateGuards||[])),children:a.children,isRootRoute:!0}});Fbd.push({path:"**",canActivate:["dontActivate"],component:Y6,isRootRoute:!0});var Gbd=vl().appBaseHref,Hbd,x$={initialNavigation:"disabled"},Ibd={provide:Fcc,useFactory:function(){return"guarded"},deps:[[IH,new ov,new pv]]},Jbd;
Jbd=(null==x$?0:x$.preloadingStrategy)?qya(0,[{provide:Ecc,useExisting:MH},{provide:ucc,useExisting:x$.preloadingStrategy}]).\u0275providers:[];var Kbd;
(null==x$?0:x$.initialNavigation)?Kbd=["disabled"===x$.initialNavigation?qya(3,[{provide:sRb,multi:!0,useFactory:function(){var a=Jc(IH);return function(){icc(a)}}},{provide:Dcc,useValue:2}]).\u0275providers:[],"enabledBlocking"===x$.initialNavigation?qya(2,[{provide:Dcc,useValue:0},{provide:sRb,multi:!0,deps:[sv],useFactory:function(a){var b=a.get(hTb,Promise.resolve());return function(){return b.then(function(){return new Promise(function(c){var d=a.get(IH),e=a.get(Ccc);nya(d,function(){c(!0)});
a.get(CH).afterPreactivation=function(){c(!0);return e.closed?(0,D.of)(void 0):e};d.initialNavigation()})})}}}]).\u0275providers:[]]:Kbd=[];
Hbd={ngModule:OH,providers:[Gcc,[],{provide:Vbc,multi:!0,useValue:[]},Ibd,{provide:ecc,useValue:x$?x$:{}},(null==x$?0:x$.useHash)?{provide:jx,useClass:lx}:{provide:jx,useClass:kx},{provide:ycc,useFactory:function(){var a=Jc(lTb),b=Jc(df),c=Jc(ecc),d=Jc(CH),e=Jc(uH);c.scrollOffset&&a.setOffset(c.scrollOffset);return new NH(e,d,a,b,c)}},Jbd,{provide:vSb,multi:!0,useFactory:function(){return new vSb("Router",IH)}},Kbd,(null==x$?0:x$.bindToComponentInputs)?qya(8,[AH,{provide:ubc,useExisting:AH}]).\u0275providers:
[],[{provide:Hcc,useFactory:function(){var a=Jc(sv);return function(b){var c=a.get(Iw);if(b===c.components[0]){b=a.get(IH);var d=a.get(Ccc);1===a.get(Dcc)&&b.initialNavigation();var e;null==(e=a.get(Ecc,null,8))||vcc(e);var g;null==(g=a.get(ycc,null,8))||g.init();c=c.componentTypes[0];b.routerState.root.component=c;b.navigationTransitions.rootComponentType=c;d.closed||(d.next(),d.complete(),d.unsubscribe())}}}},{provide:uSb,multi:!0,useExisting:Hcc}]]};
var y$=function(a,b){a.config=Fbd.map(Cxa);a.navigated=!1;a.lastSuccessfulId=-1;a.initialNavigation();ahc(b)};y$.\u0275fac=function(a){return new (a||y$)(t(IH),t(rK))};y$.\u0275mod=Qc({type:y$});y$.\u0275inj=zc({providers:[{provide:"dontActivate",useValue:function(){return!1}},{provide:FH,useClass:$6},{provide:kTb,useValue:Gbd},c7,a7],imports:[Hbd,Z6,w$,OH]});var z$=function(){};z$.\u0275fac=function(a){return new (a||z$)};z$.\u0275mod=Qc({type:z$});z$.\u0275inj=zc({providers:[{provide:dEc,useFactory:aJb},{provide:lFc,useValue:{prodApiKey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",stagingApiKey:"AIzaSyCYqhU0fWA9T487wYfx1ogB9z2mNJ9AQco",autopushApiKey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM"}},{provide:cEc,useValue:"AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c"}]});var A$={},Lbd=(A$.NETWORK_DOWNLOADING=[{type:"INPUT",question:"What specific URL can reproduce the problem?",answerPrefix:"Example URL: "}],A$.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"}],A$.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?"}}]}],A$.APPS=[{type:"INPUT",question:Bn(yn("What is the link to that software in "),
bJb("the Chrome Webstore","https://chrome.google.com/webstore"),yn("?")),answerPrefix:"Webstore page: "}],A$.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:Bn(yn("What is the link to that software in "),bJb("the Chrome Webstore","https://chrome.google.com/webstore"),
yn("?")),answerPrefix:"WebStore page: "}],A$.WEBSTORE=[{type:"INPUT",question:"What is the URL of the Chrome WebStore page that had the problem?",answerPrefix:"Webstore page: "}],A$.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"]}],A$.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"]}],A$.API=[{type:"SELECT",question:Bn(yn("Which "),
bJb("component","https://bugs.chromium.org/p/chromium/adminComponents"),yn(" does this fall under?")),answerPrefix:"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"}}]}],A$);var B$=function(){};B$.\u0275fac=function(a){return new (a||B$)};B$.\u0275mod=Qc({type:B$});B$.\u0275inj=zc({imports:[hA,hA]});var C$=function(){};C$.\u0275fac=function(a){return new (a||C$)};C$.\u0275mod=Qc({type:C$});C$.\u0275inj=zc({providers:[n8c,nA],imports:[hA,ex,ly,n7,mD,uA,hA]});var D$=function(){};D$.\u0275fac=function(a){return new (a||D$)};D$.\u0275mod=Qc({type:D$});D$.\u0275inj=zc({providers:[{provide:c8c,useValue:Lbd}],imports:[E_,OG,Px,ED,B$,EP,yB,EO,IP,C$,H_]});var E$=function(){};E$.\u0275fac=function(a){return new (a||E$)};E$.\u0275mod=Qc({type:E$});E$.\u0275inj=zc({imports:[OG,ED,fE,UG,Px,Qx,i1]});var F$=function(){};F$.\u0275fac=function(a){return new (a||F$)};F$.\u0275mod=Qc({type:F$});F$.\u0275inj=zc({imports:[FT,OG,i1,iV,Px,zO,fE,EP,q2,RW]});var G$=function(){};G$.\u0275fac=function(a){return new (a||G$)};G$.\u0275mod=Qc({type:G$});G$.\u0275inj=zc({imports:[OG,ED,fE,UG,Px,Qx,i1]});var H$=function(){};H$.\u0275fac=function(a){return new (a||H$)};H$.\u0275mod=Qc({type:H$});H$.\u0275inj=zc({imports:[FT,zO,CO,OG,$P,gO,ED]});var I$=function(){};I$.\u0275fac=function(a){return new (a||I$)};I$.\u0275mod=Qc({type:I$});I$.\u0275inj=zc({imports:[ex,Px,nB,D1,Qx]});var J$=function(){};J$.\u0275fac=function(a){return new (a||J$)};J$.\u0275mod=Qc({type:J$});J$.\u0275inj=zc({imports:[FT,ZO,G_,JP,ZS,QY,E1,vB,iV,Px,DU,J_,zO,P_,zZ,H$,ED,jB,R7,eD,KU,fE,E1,KK,Qx,I$,RW,OG,Uz,H_,Q_]});var K$=function(){};K$.\u0275fac=function(a){return new (a||K$)};K$.\u0275mod=Qc({type:K$});K$.\u0275inj=zc({imports:[FT,OG,i1,iV,Px,zO,fE,B2]});var L$=function(){};L$.\u0275fac=function(a){return new (a||L$)};L$.\u0275mod=Qc({type:L$});L$.\u0275inj=zc({imports:[OG,fE,ED,VN,i1,DU,J_,ZX,UG,jB,Px,Qx,eD,m1]});var M$=function(){};M$.\u0275fac=function(a){return new (a||M$)};M$.\u0275mod=Qc({type:M$});M$.\u0275inj=zc({imports:[jB,EP,OG,gA,ED,JP,UU,H_]});var N$=function(){};N$.\u0275fac=function(a){return new (a||N$)};N$.\u0275mod=Qc({type:N$});N$.\u0275inj=zc({imports:[OG,fE,ED,VN,i1,UG,jB,Px,Qx,eD,m1]});var O$=function(){};O$.\u0275fac=function(a){return new (a||O$)};O$.\u0275mod=Qc({type:O$});O$.\u0275inj=zc({imports:[FT,OG,i1,Px,DO,zO,VN,fE,m1,EP,B2,CO]});var P$=function(){};P$.\u0275fac=function(a){return new (a||P$)};P$.\u0275mod=Qc({type:P$});P$.\u0275inj=zc({imports:[OG,q1,CO,ED]});var Q$=function(){};Q$.\u0275fac=function(a){return new (a||Q$)};Q$.\u0275mod=Qc({type:Q$});Q$.\u0275inj=zc({imports:[OG,ED,D2,CO]});var R$=function(){};R$.\u0275fac=function(a){return new (a||R$)};R$.\u0275mod=Qc({type:R$});R$.\u0275inj=zc({imports:[OG,iZ,e2]});var S$=function(){};S$.\u0275fac=function(a){return new (a||S$)};S$.\u0275mod=Qc({type:S$});S$.\u0275inj=zc({imports:[OG,RP,Px,VN,YP,m1,zO,R7,ED,EP,fE,jB,xO,CO]});var T$=function(){};T$.\u0275fac=function(a){return new (a||T$)};T$.\u0275mod=Qc({type:T$});T$.\u0275inj=zc({});var U$=function(){};U$.\u0275fac=function(a){return new (a||U$)};U$.\u0275mod=Qc({type:U$});U$.\u0275inj=zc({imports:[FT,OG,RP,iZ,aZ,k6,r6,t6,R_,i1,y6,Px,T$,DO,zO,ED,EP,jB,IP,KU,VN,fE,m1,z9,q2,S$,xO,OH,Uz,R$,o2,CO,RW,vO,t$]});var V$=function(){};V$.\u0275fac=function(a){return new (a||V$)};V$.\u0275mod=Qc({type:V$});V$.\u0275inj=zc({imports:[OG,i1,Px,T$,DO,ED,EP,VN,fE,KU,m1,OH,xO,Uz,o2,e2]});var W$=function(){};W$.\u0275fac=function(a){return new (a||W$)};W$.\u0275mod=Qc({type:W$});W$.\u0275inj=zc({imports:[IP,OG,Px]});var X$=function(){};X$.\u0275fac=function(a){return new (a||X$)};X$.\u0275mod=Qc({type:X$});X$.\u0275inj=zc({providers:[{provide:bmc,useValue:{enabled:!0}}],imports:[M5,qX,OG,Px,DO,EP,ED,ED,jB,IP,yB,KU,QO,eD,VN,fE,fE,rZ,KK,LU,W$,CO,ZS]});var Y$=function(){};Y$.\u0275fac=function(a){return new (a||Y$)};Y$.\u0275mod=Qc({type:Y$});Y$.\u0275inj=zc({imports:[OG,Px,fE,vB,yB]});var Z$=function(){};Z$.\u0275fac=function(a){return new (a||Z$)};Z$.\u0275mod=Qc({type:Z$});Z$.\u0275inj=zc({imports:[OG,UG,ED]});var Mbd=function(){};Mbd.prototype.send=function(a,b){Sza(a);return this.makeRequest(a).then(function(c){return b?Oza(b,c):c})};var Cs=function(a,b,c,d,e){this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c||{};this.gapiAuthParams=d||{};this.defaultApiId=e};T(Cs,Mbd);Cs.prototype.getGapi=function(){var a=this;return hHa().then(function(b){b=b||window.gapi;a.setGapiConfig(b);return nHa(b,{apiKey:a.gapiKey,clientId:a.gapiAuthParams.clientId,scope:a.gapiAuthParams.scope,hostedDomain:a.gapiAuthParams.hostedDomain,fetchBasicProfile:a.gapiAuthParams.fetchBasicProfile}).then(function(){return b})})};
Cs.prototype.makeRequest=function(a){var b=this;return this.getGapi().then(function(c){return pe(function(d){if(1==d.nextAddress)return void 0===b.gapiAuthParams.minAuthTokenTimeRemaining?d.jumpTo(2):d.yield(mHa(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})))})})};
Cs.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)})})};Cs.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&kHa(a,b,this.gapiConfigUpdates[b])};Cs.$inject=["gapiUrl","gapiKey","gapiConfigUpdates","gapiAuthParams","defaultApiId"];var Nbd={disableCheatSheet:!0};Nbd=void 0===Nbd?{}:Nbd;
var Obd=[OG,qY,VP,Ny,dz,MY,P_,LY,hX,zO,$X,rZ,jX,q2,EU,bY,rO,FT,x1,DZ,bX,b6,K6,oU,vZ,zZ,BZ,dZ,ZP,K$,O$,Q$,P$,X7,s9,g$,i$,F$,U$,V$,e$,q1,D2,R_,A6,D6,Q1,tZ,o1,L_,M6,c6,u6,d6,E6,a2,c2,lR,Y1,I_,hY,qX,JP,UU,M$,lQ,aX,j2,ZX,xZ,m2,F2,R1,S1,C6,E5,CO,tY,kT,Y$,tO,C5,t6,Z$,y6,h5,YP,RP,fO,X$,M5,iU,pO,WT,ZT,B2,o2,XT,i1,f6,E$,G$,q6,t2,pZ,iZ,jZ,aZ,YT,T1,FZ,k1,F1,J_,z2,J1,K1,r6,NY,RY,m1,n1,G_,k6,L$,rX,N$,J$,SY,u$,Q2,z$,Iy,{ngModule:gE,providers:[{provide:G2b,useFactory:function(){var a=vl().config.environmentType||
"QA";return"PROD"===a||"NIGHTLY"===a?{apikey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",environment:"prod"}:{apikey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM",environment:"nonprod"}},deps:[sv]}]},{ngModule:nO,providers:[IJ,{provide:Tfc,useFactory:function(a){return new cJb(new jnc("https://appswaldo-pa.clients6.google.com",a.waldoApiKey,a.globalApiKey,Object.assign({},lnc,a.gapiConfig),{scope:"https://www.googleapis.com/auth/calendar.readonly"}))},deps:[knc]},{provide:knc,useFactory:function(){return{waldoApiKey:"AIzaSyDvxpDVHooCQawPUQkmQxwrtt-Xdp3Q3so",
globalApiKey:"AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc",gapiConfig:{withCredentials:!0}}}}]},{ngModule:G1,providers:[v0,{provide:fPc,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:N5c,autocompleteFactory:aZc}}}]},{ngModule:bN,providers:[aN,{provide:Dlc,useValue:Nbd}]}];vl().config.enabledFlags.get("enableChromeWizard")&&Obd.push(D$);
var Pbd=[N7c,edc,lSc,mSc,nSc,UGc,Hdc,{provide:hmc,useValue:{animationDuration:"0ms"}},{provide:l2b,useValue:{productName:"Buganizer",cooldownMilliseconds:864E5,enableUsageTracking:!0}},{provide:B2b,useValue:{disableTooltipInteractivity:!0}},{provide:Moc,useValue:"AIzaSyCBj23e6C2MNif_tvceM-CPTXcVDK3sarY"},{provide:Poc,useValue:"92912"},{provide:vic,useFactory:dJb},O7c,X7c,Y7c,Z7c],Hw=function(){};Hw.prototype.ngDoBootstrap=function(){Jh("bootstrapping AppModule")};
Hw.\u0275fac=function(a){return new (a||Hw)};Hw.\u0275mod=Qc({type:Hw,bootstrap:[pY,I6]});Hw.\u0275inj=zc({providers:[].concat(cd(Pbd)),imports:[Obd,y$,tX]});WB(document,"DOMContentLoaded",function(){ySb()});
__._ModuleManager_initialize=function(){};
__._ModuleManager_initialize('c/dSirkf/n90YA/ZGAB2e/b96Luc/M79aPc/nJ4XF',[]);
}catch(e){__._DumpException(e)}
}).call(this,this.default_b);
// Google Inc.
